diff --git a/game.data b/game.data index 01b60f1..26b1b1b 100644 Binary files a/game.data and b/game.data differ diff --git a/game.js b/game.js index 3df15dc..b1f900e 100644 --- a/game.js +++ b/game.js @@ -93,9 +93,7 @@ Module.expectedDataFileDownloads++; function assert(check, msg) { if (!check) throw msg + new Error().stack; } -Module['FS_createPath']('/', 'release-performance', true, true); -Module['FS_createPath']('/release-performance', 'Graphoon', true, true); -Module['FS_createPath']('/release-performance', 'theme', true, true); +Module['FS_createPath']('/', 'Graphoon', true, true); function DataRequest(start, end, crunched, audio) { this.start = start; @@ -175,6 +173,6 @@ Module['FS_createPath']('/release-performance', 'theme', true, true); } } - loadPackage({"files": [{"audio": 0, "start": 0, "crunched": 0, "end": 3510, "filename": "/release-performance/Camera.lua"}, {"audio": 0, "start": 3510, "crunched": 0, "end": 3714, "filename": "/release-performance/CHANGELOG.md"}, {"audio": 0, "start": 3714, "crunched": 0, "end": 7051, "filename": "/release-performance/conf.lua"}, {"audio": 0, "start": 7051, "crunched": 0, "end": 25092, "filename": "/release-performance/file.png"}, {"audio": 0, "start": 25092, "crunched": 0, "end": 25128, "filename": "/release-performance/Graphoon.lua"}, {"audio": 0, "start": 25128, "crunched": 0, "end": 28821, "filename": "/release-performance/index.html"}, {"audio": 0, "start": 28821, "crunched": 0, "end": 29886, "filename": "/release-performance/LICENSE.md"}, {"audio": 0, "start": 29886, "crunched": 0, "end": 6222155, "filename": "/release-performance/love.js"}, {"audio": 0, "start": 6222155, "crunched": 0, "end": 6842688, "filename": "/release-performance/love.js.mem"}, {"audio": 0, "start": 6842688, "crunched": 0, "end": 6850412, "filename": "/release-performance/main.lua"}, {"audio": 0, "start": 6850412, "crunched": 0, "end": 6853518, "filename": "/release-performance/README.md"}, {"audio": 0, "start": 6853518, "crunched": 0, "end": 6853750, "filename": "/release-performance/Graphoon/Edge.lua"}, {"audio": 0, "start": 6853750, "crunched": 0, "end": 6861843, "filename": "/release-performance/Graphoon/Graph.lua"}, {"audio": 0, "start": 6861843, "crunched": 0, "end": 6863369, "filename": "/release-performance/Graphoon/init.lua"}, {"audio": 0, "start": 6863369, "crunched": 0, "end": 6867278, "filename": "/release-performance/Graphoon/Node.lua"}, {"audio": 0, "start": 6867278, "crunched": 0, "end": 6874439, "filename": "/release-performance/theme/bg.png"}, {"audio": 0, "start": 6874439, "crunched": 0, "end": 6875225, "filename": "/release-performance/theme/love.css"}], "remote_package_size": 6875225, "package_uuid": "4072c68b-906f-4db6-8634-a286827f35df"}); + loadPackage({"files": [{"audio": 0, "start": 0, "crunched": 0, "end": 3510, "filename": "/Camera.lua"}, {"audio": 0, "start": 3510, "crunched": 0, "end": 3714, "filename": "/CHANGELOG.md"}, {"audio": 0, "start": 3714, "crunched": 0, "end": 7051, "filename": "/conf.lua"}, {"audio": 0, "start": 7051, "crunched": 0, "end": 25092, "filename": "/file.png"}, {"audio": 0, "start": 25092, "crunched": 0, "end": 25128, "filename": "/Graphoon.lua"}, {"audio": 0, "start": 25128, "crunched": 0, "end": 26193, "filename": "/LICENSE.md"}, {"audio": 0, "start": 26193, "crunched": 0, "end": 33917, "filename": "/main.lua"}, {"audio": 0, "start": 33917, "crunched": 0, "end": 37023, "filename": "/README.md"}, {"audio": 0, "start": 37023, "crunched": 0, "end": 37255, "filename": "/Graphoon/Edge.lua"}, {"audio": 0, "start": 37255, "crunched": 0, "end": 45348, "filename": "/Graphoon/Graph.lua"}, {"audio": 0, "start": 45348, "crunched": 0, "end": 46874, "filename": "/Graphoon/init.lua"}, {"audio": 0, "start": 46874, "crunched": 0, "end": 50783, "filename": "/Graphoon/Node.lua"}], "remote_package_size": 50783, "package_uuid": "0c1ad511-6a1f-4bff-a08e-9d5e15e5131d"}); })(); diff --git a/index.html b/index.html index d07e2b8..75f71da 100644 --- a/index.html +++ b/index.html @@ -1,90 +1,109 @@ + + - + - Game Title + Graphoon - - - - + + +
-
-

Game Title

- - -
+
+ + +
- - - - + }; + + + + + diff --git a/love.js b/love.js index 9bcb734..c81421b 100644 --- a/love.js +++ b/love.js @@ -1,27 +1,27 @@ -var Module;if(!Module)Module=(typeof Module!=="undefined"?Module:null)||{};var moduleOverrides={};for(var key in Module){if(Module.hasOwnProperty(key)){moduleOverrides[key]=Module[key]}}var ENVIRONMENT_IS_WEB=false;var ENVIRONMENT_IS_WORKER=false;var ENVIRONMENT_IS_NODE=false;var ENVIRONMENT_IS_SHELL=false;if(Module["ENVIRONMENT"]){if(Module["ENVIRONMENT"]==="WEB"){ENVIRONMENT_IS_WEB=true}else if(Module["ENVIRONMENT"]==="WORKER"){ENVIRONMENT_IS_WORKER=true}else if(Module["ENVIRONMENT"]==="NODE"){ENVIRONMENT_IS_NODE=true}else if(Module["ENVIRONMENT"]==="SHELL"){ENVIRONMENT_IS_SHELL=true}else{throw new Error("The provided Module['ENVIRONMENT'] value is not valid. It must be one of: WEB|WORKER|NODE|SHELL.")}}else{ENVIRONMENT_IS_WEB=typeof window==="object";ENVIRONMENT_IS_WORKER=typeof importScripts==="function";ENVIRONMENT_IS_NODE=typeof process==="object"&&typeof require==="function"&&!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_WORKER;ENVIRONMENT_IS_SHELL=!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_NODE&&!ENVIRONMENT_IS_WORKER}if(ENVIRONMENT_IS_NODE){if(!Module["print"])Module["print"]=console.log;if(!Module["printErr"])Module["printErr"]=console.warn;var nodeFS;var nodePath;Module["read"]=function read(filename,binary){if(!nodeFS)nodeFS=require("fs");if(!nodePath)nodePath=require("path");filename=nodePath["normalize"](filename);var ret=nodeFS["readFileSync"](filename);if(!ret&&filename!=nodePath["resolve"](filename)){filename=path.join(__dirname,"..","src",filename);ret=nodeFS["readFileSync"](filename)}if(ret&&!binary)ret=ret.toString();return ret};Module["readBinary"]=function readBinary(filename){var ret=Module["read"](filename,true);if(!ret.buffer){ret=new Uint8Array(ret)}assert(ret.buffer);return ret};Module["load"]=function load(f){globalEval(read(f))};if(!Module["thisProgram"]){if(process["argv"].length>1){Module["thisProgram"]=process["argv"][1].replace(/\\/g,"/")}else{Module["thisProgram"]="unknown-program"}}Module["arguments"]=process["argv"].slice(2);if(typeof module!=="undefined"){module["exports"]=Module}process["on"]("uncaughtException",(function(ex){if(!(ex instanceof ExitStatus)){throw ex}}));Module["inspect"]=(function(){return"[Emscripten Module object]"})}else if(ENVIRONMENT_IS_SHELL){if(!Module["print"])Module["print"]=print;if(typeof printErr!="undefined")Module["printErr"]=printErr;if(typeof read!="undefined"){Module["read"]=read}else{Module["read"]=function read(){throw"no read() available (jsc?)"}}Module["readBinary"]=function readBinary(f){if(typeof readbuffer==="function"){return new Uint8Array(readbuffer(f))}var data=read(f,"binary");assert(typeof data==="object");return data};if(typeof scriptArgs!="undefined"){Module["arguments"]=scriptArgs}else if(typeof arguments!="undefined"){Module["arguments"]=arguments}}else if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){Module["read"]=function read(url){var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);return xhr.responseText};Module["readAsync"]=function readAsync(url,onload,onerror){var xhr=new XMLHttpRequest;xhr.open("GET",url,true);xhr.responseType="arraybuffer";xhr.onload=function xhr_onload(){if(xhr.status==200||xhr.status==0&&xhr.response){onload(xhr.response)}else{onerror()}};xhr.onerror=onerror;xhr.send(null)};if(typeof arguments!="undefined"){Module["arguments"]=arguments}if(typeof console!=="undefined"){if(!Module["print"])Module["print"]=function print(x){console.log(x)};if(!Module["printErr"])Module["printErr"]=function printErr(x){console.warn(x)}}else{var TRY_USE_DUMP=false;if(!Module["print"])Module["print"]=TRY_USE_DUMP&&typeof dump!=="undefined"?(function(x){dump(x)}):(function(x){})}if(ENVIRONMENT_IS_WORKER){Module["load"]=importScripts}if(typeof Module["setWindowTitle"]==="undefined"){Module["setWindowTitle"]=(function(title){document.title=title})}}else{throw"Unknown runtime environment. Where are we?"}function globalEval(x){eval.call(null,x)}if(!Module["load"]&&Module["read"]){Module["load"]=function load(f){globalEval(Module["read"](f))}}if(!Module["print"]){Module["print"]=(function(){})}if(!Module["printErr"]){Module["printErr"]=Module["print"]}if(!Module["arguments"]){Module["arguments"]=[]}if(!Module["thisProgram"]){Module["thisProgram"]="./this.program"}Module.print=Module["print"];Module.printErr=Module["printErr"];Module["preRun"]=[];Module["postRun"]=[];for(var key in moduleOverrides){if(moduleOverrides.hasOwnProperty(key)){Module[key]=moduleOverrides[key]}}moduleOverrides=undefined;var Runtime={setTempRet0:(function(value){tempRet0=value}),getTempRet0:(function(){return tempRet0}),stackSave:(function(){return STACKTOP}),stackRestore:(function(stackTop){STACKTOP=stackTop}),getNativeTypeSize:(function(type){switch(type){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(type[type.length-1]==="*"){return Runtime.QUANTUM_SIZE}else if(type[0]==="i"){var bits=parseInt(type.substr(1));assert(bits%8===0);return bits/8}else{return 0}}}}),getNativeFieldSize:(function(type){return Math.max(Runtime.getNativeTypeSize(type),Runtime.QUANTUM_SIZE)}),STACK_ALIGN:16,prepVararg:(function(ptr,type){if(type==="double"||type==="i64"){if(ptr&7){assert((ptr&7)===4);ptr+=4}}else{assert((ptr&3)===0)}return ptr}),getAlignSize:(function(type,size,vararg){if(!vararg&&(type=="i64"||type=="double"))return 8;if(!type)return Math.min(size,8);return Math.min(size||(type?Runtime.getNativeFieldSize(type):0),Runtime.QUANTUM_SIZE)}),dynCall:(function(sig,ptr,args){if(args&&args.length){if(!args.splice)args=Array.prototype.slice.call(args);args.splice(0,0,ptr);return Module["dynCall_"+sig].apply(null,args)}else{return Module["dynCall_"+sig].call(null,ptr)}}),functionPointers:[],addFunction:(function(func){for(var i=0;i=TOTAL_MEMORY){var success=enlargeMemory();if(!success){DYNAMICTOP=ret;return 0}}return ret}),alignMemory:(function(size,quantum){var ret=size=Math.ceil(size/(quantum?quantum:16))*(quantum?quantum:16);return ret}),makeBigInt:(function(low,high,unsigned){var ret=unsigned?+(low>>>0)+ +(high>>>0)*+4294967296:+(low>>>0)+ +(high|0)*+4294967296;return ret}),GLOBAL_BASE:8,QUANTUM_SIZE:4,__dummy__:0};Module["Runtime"]=Runtime;var ABORT=false;var EXITSTATUS=0;function assert(condition,text){if(!condition){abort("Assertion failed: "+text)}}function getCFunc(ident){var func=Module["_"+ident];if(!func){try{func=eval("_"+ident)}catch(e){}}assert(func,"Cannot call unknown function "+ident+" (perhaps LLVM optimizations or closure removed it?)");return func}var cwrap,ccall;((function(){var JSfuncs={"stackSave":(function(){Runtime.stackSave()}),"stackRestore":(function(){Runtime.stackRestore()}),"arrayToC":(function(arr){var ret=Runtime.stackAlloc(arr.length);writeArrayToMemory(arr,ret);return ret}),"stringToC":(function(str){var ret=0;if(str!==null&&str!==undefined&&str!==0){ret=Runtime.stackAlloc((str.length<<2)+1);writeStringToMemory(str,ret)}return ret})};var toC={"string":JSfuncs["stringToC"],"array":JSfuncs["arrayToC"]};ccall=function ccallFunc(ident,returnType,argTypes,args,opts){var func=getCFunc(ident);var cArgs=[];var stack=0;if(args){for(var i=0;i>0]=value;break;case"i8":HEAP8[ptr>>0]=value;break;case"i16":HEAP16[ptr>>1]=value;break;case"i32":HEAP32[ptr>>2]=value;break;case"i64":tempI64=[value>>>0,(tempDouble=value,+Math_abs(tempDouble)>=+1?tempDouble>+0?(Math_min(+Math_floor(tempDouble/+4294967296),+4294967295)|0)>>>0:~~+Math_ceil((tempDouble- +(~~tempDouble>>>0))/+4294967296)>>>0:0)],HEAP32[ptr>>2]=tempI64[0],HEAP32[ptr+4>>2]=tempI64[1];break;case"float":HEAPF32[ptr>>2]=value;break;case"double":HEAPF64[ptr>>3]=value;break;default:abort("invalid type for setValue: "+type)}}Module["setValue"]=setValue;function getValue(ptr,type,noSafe){type=type||"i8";if(type.charAt(type.length-1)==="*")type="i32";switch(type){case"i1":return HEAP8[ptr>>0];case"i8":return HEAP8[ptr>>0];case"i16":return HEAP16[ptr>>1];case"i32":return HEAP32[ptr>>2];case"i64":return HEAP32[ptr>>2];case"float":return HEAPF32[ptr>>2];case"double":return HEAPF64[ptr>>3];default:abort("invalid type for setValue: "+type)}return null}Module["getValue"]=getValue;var ALLOC_NORMAL=0;var ALLOC_STACK=1;var ALLOC_STATIC=2;var ALLOC_DYNAMIC=3;var ALLOC_NONE=4;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;function allocate(slab,types,allocator,ptr){var zeroinit,size;if(typeof slab==="number"){zeroinit=true;size=slab}else{zeroinit=false;size=slab.length}var singleType=typeof types==="string"?types:null;var ret;if(allocator==ALLOC_NONE){ret=ptr}else{ret=[typeof _malloc==="function"?_malloc:Runtime.staticAlloc,Runtime.stackAlloc,Runtime.staticAlloc,Runtime.dynamicAlloc][allocator===undefined?ALLOC_STATIC:allocator](Math.max(size,singleType?1:types.length))}if(zeroinit){var ptr=ret,stop;assert((ret&3)==0);stop=ret+(size&~3);for(;ptr>2]=0}stop=ret+size;while(ptr>0]=0}return ret}if(singleType==="i8"){if(slab.subarray||slab.slice){HEAPU8.set(slab,ret)}else{HEAPU8.set(new Uint8Array(slab),ret)}return ret}var i=0,type,typeSize,previousType;while(i>0];hasUtf|=t;if(t==0&&!length)break;i++;if(length&&i==length)break}if(!length)length=i;var ret="";if(hasUtf<128){var MAX_CHUNK=1024;var curr;while(length>0){curr=String.fromCharCode.apply(String,HEAPU8.subarray(ptr,ptr+Math.min(length,MAX_CHUNK)));ret=ret?ret+curr:curr;ptr+=MAX_CHUNK;length-=MAX_CHUNK}return ret}return Module["UTF8ToString"](ptr)}Module["Pointer_stringify"]=Pointer_stringify;function AsciiToString(ptr){var str="";while(1){var ch=HEAP8[ptr++>>0];if(!ch)return str;str+=String.fromCharCode(ch)}}Module["AsciiToString"]=AsciiToString;function stringToAscii(str,outPtr){return writeAsciiToMemory(str,outPtr,false)}Module["stringToAscii"]=stringToAscii;function UTF8ArrayToString(u8Array,idx){var u0,u1,u2,u3,u4,u5;var str="";while(1){u0=u8Array[idx++];if(!u0)return str;if(!(u0&128)){str+=String.fromCharCode(u0);continue}u1=u8Array[idx++]&63;if((u0&224)==192){str+=String.fromCharCode((u0&31)<<6|u1);continue}u2=u8Array[idx++]&63;if((u0&240)==224){u0=(u0&15)<<12|u1<<6|u2}else{u3=u8Array[idx++]&63;if((u0&248)==240){u0=(u0&7)<<18|u1<<12|u2<<6|u3}else{u4=u8Array[idx++]&63;if((u0&252)==248){u0=(u0&3)<<24|u1<<18|u2<<12|u3<<6|u4}else{u5=u8Array[idx++]&63;u0=(u0&1)<<30|u1<<24|u2<<18|u3<<12|u4<<6|u5}}}if(u0<65536){str+=String.fromCharCode(u0)}else{var ch=u0-65536;str+=String.fromCharCode(55296|ch>>10,56320|ch&1023)}}}Module["UTF8ArrayToString"]=UTF8ArrayToString;function UTF8ToString(ptr){return UTF8ArrayToString(HEAPU8,ptr)}Module["UTF8ToString"]=UTF8ToString;function stringToUTF8Array(str,outU8Array,outIdx,maxBytesToWrite){if(!(maxBytesToWrite>0))return 0;var startIdx=outIdx;var endIdx=outIdx+maxBytesToWrite-1;for(var i=0;i=55296&&u<=57343)u=65536+((u&1023)<<10)|str.charCodeAt(++i)&1023;if(u<=127){if(outIdx>=endIdx)break;outU8Array[outIdx++]=u}else if(u<=2047){if(outIdx+1>=endIdx)break;outU8Array[outIdx++]=192|u>>6;outU8Array[outIdx++]=128|u&63}else if(u<=65535){if(outIdx+2>=endIdx)break;outU8Array[outIdx++]=224|u>>12;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}else if(u<=2097151){if(outIdx+3>=endIdx)break;outU8Array[outIdx++]=240|u>>18;outU8Array[outIdx++]=128|u>>12&63;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}else if(u<=67108863){if(outIdx+4>=endIdx)break;outU8Array[outIdx++]=248|u>>24;outU8Array[outIdx++]=128|u>>18&63;outU8Array[outIdx++]=128|u>>12&63;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}else{if(outIdx+5>=endIdx)break;outU8Array[outIdx++]=252|u>>30;outU8Array[outIdx++]=128|u>>24&63;outU8Array[outIdx++]=128|u>>18&63;outU8Array[outIdx++]=128|u>>12&63;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}}outU8Array[outIdx]=0;return outIdx-startIdx}Module["stringToUTF8Array"]=stringToUTF8Array;function stringToUTF8(str,outPtr,maxBytesToWrite){return stringToUTF8Array(str,HEAPU8,outPtr,maxBytesToWrite)}Module["stringToUTF8"]=stringToUTF8;function lengthBytesUTF8(str){var len=0;for(var i=0;i=55296&&u<=57343)u=65536+((u&1023)<<10)|str.charCodeAt(++i)&1023;if(u<=127){++len}else if(u<=2047){len+=2}else if(u<=65535){len+=3}else if(u<=2097151){len+=4}else if(u<=67108863){len+=5}else{len+=6}}return len}Module["lengthBytesUTF8"]=lengthBytesUTF8;function demangle(func){var hasLibcxxabi=!!Module["___cxa_demangle"];if(hasLibcxxabi){try{var buf=_malloc(func.length);writeStringToMemory(func.substr(1),buf);var status=_malloc(4);var ret=Module["___cxa_demangle"](buf,0,0,status);if(getValue(status,"i32")===0&&ret){return Pointer_stringify(ret)}}catch(e){return func}finally{if(buf)_free(buf);if(status)_free(status);if(ret)_free(ret)}}Runtime.warnOnce("warning: build with -s DEMANGLE_SUPPORT=1 to link in libcxxabi demangling");return func}function demangleAll(text){return text.replace(/__Z[\w\d_]+/g,(function(x){var y=demangle(x);return x===y?x:x+" ["+y+"]"}))}function jsStackTrace(){var err=new Error;if(!err.stack){try{throw new Error(0)}catch(e){err=e}if(!err.stack){return"(no stack trace available)"}}return err.stack.toString()}function stackTrace(){return demangleAll(jsStackTrace())}Module["stackTrace"]=stackTrace;var PAGE_SIZE=4096;function alignMemoryPage(x){if(x%4096>0){x+=4096-x%4096}return x}var HEAP;var buffer;var HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAPF64;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=false;var STACK_BASE=0,STACKTOP=0,STACK_MAX=0;var 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()}var TOTAL_STACK=Module["TOTAL_STACK"]||5242880;var TOTAL_MEMORY=Module["TOTAL_MEMORY"]||16777216;var totalMemory=64*1024;while(totalMemory0){var callback=callbacks.shift();if(typeof callback=="function"){callback();continue}var func=callback.func;if(typeof func==="number"){if(callback.arg===undefined){Runtime.dynCall("v",func)}else{Runtime.dynCall("vi",func,[callback.arg])}}else{func(callback.arg===undefined?null:callback.arg)}}}var __ATPRERUN__=[];var __ATINIT__=[];var __ATMAIN__=[];var __ATEXIT__=[];var __ATPOSTRUN__=[];var runtimeInitialized=false;var runtimeExited=false;function preRun(){if(Module["preRun"]){if(typeof Module["preRun"]=="function")Module["preRun"]=[Module["preRun"]];while(Module["preRun"].length){addOnPreRun(Module["preRun"].shift())}}callRuntimeCallbacks(__ATPRERUN__)}function ensureInitRuntime(){if(runtimeInitialized)return;runtimeInitialized=true;callRuntimeCallbacks(__ATINIT__)}function preMain(){callRuntimeCallbacks(__ATMAIN__)}function exitRuntime(){callRuntimeCallbacks(__ATEXIT__);runtimeExited=true}function postRun(){if(Module["postRun"]){if(typeof Module["postRun"]=="function")Module["postRun"]=[Module["postRun"]];while(Module["postRun"].length){addOnPostRun(Module["postRun"].shift())}}callRuntimeCallbacks(__ATPOSTRUN__)}function addOnPreRun(cb){__ATPRERUN__.unshift(cb)}Module["addOnPreRun"]=addOnPreRun;function addOnInit(cb){__ATINIT__.unshift(cb)}Module["addOnInit"]=addOnInit;function addOnPreMain(cb){__ATMAIN__.unshift(cb)}Module["addOnPreMain"]=addOnPreMain;function addOnExit(cb){__ATEXIT__.unshift(cb)}Module["addOnExit"]=addOnExit;function addOnPostRun(cb){__ATPOSTRUN__.unshift(cb)}Module["addOnPostRun"]=addOnPostRun;function intArrayFromString(stringy,dontAddNull,length){var len=length>0?length:lengthBytesUTF8(stringy)+1;var u8array=new Array(len);var numBytesWritten=stringToUTF8Array(stringy,u8array,0,u8array.length);if(dontAddNull)u8array.length=numBytesWritten;return u8array}Module["intArrayFromString"]=intArrayFromString;function intArrayToString(array){var ret=[];for(var i=0;i255){chr&=255}ret.push(String.fromCharCode(chr))}return ret.join("")}Module["intArrayToString"]=intArrayToString;function writeStringToMemory(string,buffer,dontAddNull){var array=intArrayFromString(string,dontAddNull);var i=0;while(i>0]=chr;i=i+1}}Module["writeStringToMemory"]=writeStringToMemory;function writeArrayToMemory(array,buffer){for(var i=0;i>0]=array[i]}}Module["writeArrayToMemory"]=writeArrayToMemory;function writeAsciiToMemory(str,buffer,dontAddNull){for(var i=0;i>0]=str.charCodeAt(i)}if(!dontAddNull)HEAP8[buffer>>0]=0}Module["writeAsciiToMemory"]=writeAsciiToMemory;if(!Math["imul"]||Math["imul"](4294967295,5)!==-5)Math["imul"]=function imul(a,b){var ah=a>>>16;var al=a&65535;var bh=b>>>16;var bl=b&65535;return al*bl+(ah*bl+al*bh<<16)|0};Math.imul=Math["imul"];if(!Math["clz32"])Math["clz32"]=(function(x){x=x>>>0;for(var i=0;i<32;i++){if(x&1<<31-i)return i}return 32});Math.clz32=Math["clz32"];var Math_abs=Math.abs;var Math_cos=Math.cos;var Math_sin=Math.sin;var Math_tan=Math.tan;var Math_acos=Math.acos;var Math_asin=Math.asin;var Math_atan=Math.atan;var Math_atan2=Math.atan2;var Math_exp=Math.exp;var Math_log=Math.log;var Math_sqrt=Math.sqrt;var Math_ceil=Math.ceil;var Math_floor=Math.floor;var Math_pow=Math.pow;var Math_imul=Math.imul;var Math_fround=Math.fround;var Math_min=Math.min;var Math_clz32=Math.clz32;var runDependencies=0;var runDependencyWatcher=null;var dependenciesFulfilled=null;function getUniqueRunDependency(id){return id}function addRunDependency(id){runDependencies++;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}}Module["addRunDependency"]=addRunDependency;function removeRunDependency(id){runDependencies--;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}if(runDependencies==0){if(runDependencyWatcher!==null){clearInterval(runDependencyWatcher);runDependencyWatcher=null}if(dependenciesFulfilled){var callback=dependenciesFulfilled;dependenciesFulfilled=null;callback()}}}Module["removeRunDependency"]=removeRunDependency;Module["preloadedImages"]={};Module["preloadedAudios"]={};var memoryInitializer=null;var ASM_CONSTS=[(function(){FS.syncfs(false,(function(err){if(err){console.log(err)}}))}),(function(){{return screen.width}}),(function(){{return screen.height}}),(function($0){{if(Module["canvas"]){Module["canvas"].style["cursor"]=Module["Pointer_stringify"]($0)}return 0}}),(function(){if(Module["canvas"]){Module["canvas"].style["cursor"]="none"}}),(function($0){{if(typeof Module["setWindowTitle"]!=="undefined"){Module["setWindowTitle"](Module["Pointer_stringify"]($0))}return 0}}),(function($0,$1,$2){{var w=$0;var h=$1;var pixels=$2;if(!Module["SDL2"])Module["SDL2"]={};var SDL2=Module["SDL2"];if(SDL2.ctxCanvas!==Module["canvas"]){SDL2.ctx=Module["createContext"](Module["canvas"],false,true);SDL2.ctxCanvas=Module["canvas"]}if(SDL2.w!==w||SDL2.h!==h||SDL2.imageCtx!==SDL2.ctx){SDL2.image=SDL2.ctx.createImageData(w,h);SDL2.w=w;SDL2.h=h;SDL2.imageCtx=SDL2.ctx}var data=SDL2.image.data;var src=pixels>>2;var dst=0;var num;if(typeof CanvasPixelArray!=="undefined"&&data instanceof CanvasPixelArray){num=data.length;while(dst>8&255;data[dst+2]=val>>16&255;data[dst+3]=255;src++;dst+=4}}else{if(SDL2.data32Data!==data){SDL2.data32=new Int32Array(data.buffer);SDL2.data8=new Uint8Array(data.buffer)}var data32=SDL2.data32;num=data32.length;data32.set(HEAP32.subarray(src,src+num));var data8=SDL2.data8;var i=3;var j=i+4*num;if(num%8==0){while(i>2]}}}}),(function($0,$1){{Module.printErr("bad name in getProcAddress: "+[Pointer_stringify($0),Pointer_stringify($1)])}})];function _emscripten_asm_const_ii(code,a0){return ASM_CONSTS[code](a0)}function _emscripten_asm_const_i(code){return ASM_CONSTS[code]()}function _emscripten_asm_const_iiiii(code,a0,a1,a2,a3){return ASM_CONSTS[code](a0,a1,a2,a3)}function _emscripten_asm_const_iiii(code,a0,a1,a2){return ASM_CONSTS[code](a0,a1,a2)}function _emscripten_asm_const_v(code){return ASM_CONSTS[code]()}function _emscripten_asm_const_iii(code,a0,a1){return ASM_CONSTS[code](a0,a1)}STATIC_BASE=8;STATICTOP=STATIC_BASE+1279072;__ATINIT__.push({func:(function(){__GLOBAL__I_000101()})},{func:(function(){__GLOBAL__sub_I_Shape_cpp()})},{func:(function(){__GLOBAL__sub_I_types_cpp()})},{func:(function(){__GLOBAL__sub_I_FileData_cpp()})},{func:(function(){__GLOBAL__sub_I_Graphics_cpp()})},{func:(function(){__GLOBAL__sub_I_ParticleSystem_cpp()})},{func:(function(){__GLOBAL__sub_I_Texture_cpp()})},{func:(function(){__GLOBAL__sub_I_CompressedImageData_cpp()})},{func:(function(){__GLOBAL__sub_I_Compressor_cpp()})},{func:(function(){__GLOBAL__sub_I_MathModule_cpp()})},{func:(function(){__GLOBAL__sub_I_Cursor_cpp()})},{func:(function(){__GLOBAL__sub_I_Joint_cpp()})},{func:(function(){__GLOBAL__sub_I_System_cpp()})},{func:(function(){__GLOBAL__sub_I_System_cpp_2273()})},{func:(function(){__GLOBAL__sub_I_Window_cpp()})},{func:(function(){__GLOBAL__sub_I_Memoizer_cpp()})},{func:(function(){__GLOBAL__sub_I_Audio_cpp()})},{func:(function(){__GLOBAL__sub_I_Source_cpp()})},{func:(function(){__GLOBAL__sub_I_Event_cpp()})},{func:(function(){__GLOBAL__sub_I_File_cpp()})},{func:(function(){__GLOBAL__sub_I_GlyphData_cpp()})},{func:(function(){__GLOBAL__sub_I_TrueTypeRasterizer_cpp()})},{func:(function(){__GLOBAL__sub_I_Canvas_cpp()})},{func:(function(){__GLOBAL__sub_I_Font_cpp()})},{func:(function(){__GLOBAL__sub_I_Image_cpp()})},{func:(function(){__GLOBAL__sub_I_Mesh_cpp()})},{func:(function(){__GLOBAL__sub_I_OpenGL_cpp()})},{func:(function(){__GLOBAL__sub_I_Shader_cpp()})},{func:(function(){__GLOBAL__sub_I_Volatile_cpp()})},{func:(function(){__GLOBAL__sub_I_ImageData_cpp()})},{func:(function(){__GLOBAL__sub_I_Joystick_cpp()})},{func:(function(){__GLOBAL__sub_I_Joystick_cpp_4336()})},{func:(function(){__GLOBAL__sub_I_Keyboard_cpp()})},{func:(function(){__GLOBAL__sub_I_Keyboard_cpp_4545()})},{func:(function(){__GLOBAL__sub_I_Cursor_cpp_4586()})},{func:(function(){__GLOBAL__sub_I_Channel_cpp()})},{func:(function(){__GLOBAL__sub_I_fastmix_cpp()})},{func:(function(){__GLOBAL__sub_I_Body_cpp()})},{func:(function(){__GLOBAL__sub_I_iostream_cpp()})});memoryInitializer="love.js.mem";var tempDoublePtr=STATICTOP;STATICTOP+=16;var JSEvents={keyEvent:0,mouseEvent:0,wheelEvent:0,uiEvent:0,focusEvent:0,deviceOrientationEvent:0,deviceMotionEvent:0,fullscreenChangeEvent:0,pointerlockChangeEvent:0,visibilityChangeEvent:0,touchEvent:0,previousFullscreenElement:null,previousScreenX:null,previousScreenY:null,removeEventListenersRegistered:false,registerRemoveEventListeners:(function(){if(!JSEvents.removeEventListenersRegistered){__ATEXIT__.push((function(){for(var i=JSEvents.eventHandlers.length-1;i>=0;--i){JSEvents._removeHandler(i)}}));JSEvents.removeEventListenersRegistered=true}}),findEventTarget:(function(target){if(target){if(typeof target=="number"){target=Pointer_stringify(target)}if(target=="#window")return window;else if(target=="#document")return document;else if(target=="#screen")return window.screen;else if(target=="#canvas")return Module["canvas"];if(typeof target=="string")return document.getElementById(target);else return target}else{return window}}),deferredCalls:[],deferCall:(function(targetFunction,precedence,argsList){function arraysHaveEqualContent(arrA,arrB){if(arrA.length!=arrB.length)return false;for(var i in arrA){if(arrA[i]!=arrB[i])return false}return true}for(var i in JSEvents.deferredCalls){var call=JSEvents.deferredCalls[i];if(call.targetFunction==targetFunction&&arraysHaveEqualContent(call.argsList,argsList)){return}}JSEvents.deferredCalls.push({targetFunction:targetFunction,precedence:precedence,argsList:argsList});JSEvents.deferredCalls.sort((function(x,y){return x.precedence0}),removeAllHandlersOnTarget:(function(target,eventTypeString){for(var i=0;i>2]=e.location;HEAP32[JSEvents.keyEvent+68>>2]=e.ctrlKey;HEAP32[JSEvents.keyEvent+72>>2]=e.shiftKey;HEAP32[JSEvents.keyEvent+76>>2]=e.altKey;HEAP32[JSEvents.keyEvent+80>>2]=e.metaKey;HEAP32[JSEvents.keyEvent+84>>2]=e.repeat;writeStringToMemory(e.locale?e.locale:"",JSEvents.keyEvent+88);writeStringToMemory(e.char?e.char:"",JSEvents.keyEvent+120);HEAP32[JSEvents.keyEvent+152>>2]=e.charCode;HEAP32[JSEvents.keyEvent+156>>2]=e.keyCode;HEAP32[JSEvents.keyEvent+160>>2]=e.which;var shouldCancel=Runtime.dynCall("iiii",callbackfunc,[eventTypeId,JSEvents.keyEvent,userData]);if(shouldCancel){e.preventDefault()}});var eventHandler={target:JSEvents.findEventTarget(target),allowsDeferredCalls:JSEvents.isInternetExplorer()?false:true,eventTypeString:eventTypeString,callbackfunc:callbackfunc,handlerFunc:handlerFunc,useCapture:useCapture};JSEvents.registerOrRemoveHandler(eventHandler)}),getBoundingClientRectOrZeros:(function(target){return target.getBoundingClientRect?target.getBoundingClientRect():{left:0,top:0}}),fillMouseEventData:(function(eventStruct,e,target){HEAPF64[eventStruct>>3]=JSEvents.tick();HEAP32[eventStruct+8>>2]=e.screenX;HEAP32[eventStruct+12>>2]=e.screenY;HEAP32[eventStruct+16>>2]=e.clientX;HEAP32[eventStruct+20>>2]=e.clientY;HEAP32[eventStruct+24>>2]=e.ctrlKey;HEAP32[eventStruct+28>>2]=e.shiftKey;HEAP32[eventStruct+32>>2]=e.altKey;HEAP32[eventStruct+36>>2]=e.metaKey;HEAP16[eventStruct+40>>1]=e.button;HEAP16[eventStruct+42>>1]=e.buttons;HEAP32[eventStruct+44>>2]=e["movementX"]||e["mozMovementX"]||e["webkitMovementX"]||e.screenX-JSEvents.previousScreenX;HEAP32[eventStruct+48>>2]=e["movementY"]||e["mozMovementY"]||e["webkitMovementY"]||e.screenY-JSEvents.previousScreenY;if(Module["canvas"]){var rect=Module["canvas"].getBoundingClientRect();HEAP32[eventStruct+60>>2]=e.clientX-rect.left;HEAP32[eventStruct+64>>2]=e.clientY-rect.top}else{HEAP32[eventStruct+60>>2]=0;HEAP32[eventStruct+64>>2]=0}if(target){var rect=JSEvents.getBoundingClientRectOrZeros(target);HEAP32[eventStruct+52>>2]=e.clientX-rect.left;HEAP32[eventStruct+56>>2]=e.clientY-rect.top}else{HEAP32[eventStruct+52>>2]=0;HEAP32[eventStruct+56>>2]=0}JSEvents.previousScreenX=e.screenX;JSEvents.previousScreenY=e.screenY}),registerMouseEventCallback:(function(target,userData,useCapture,callbackfunc,eventTypeId,eventTypeString){if(!JSEvents.mouseEvent){JSEvents.mouseEvent=_malloc(72)}target=JSEvents.findEventTarget(target);var handlerFunc=(function(event){var e=event||window.event;JSEvents.fillMouseEventData(JSEvents.mouseEvent,e,target);var shouldCancel=Runtime.dynCall("iiii",callbackfunc,[eventTypeId,JSEvents.mouseEvent,userData]);if(shouldCancel){e.preventDefault()}});var eventHandler={target:target,allowsDeferredCalls:eventTypeString!="mousemove"&&eventTypeString!="mouseenter"&&eventTypeString!="mouseleave",eventTypeString:eventTypeString,callbackfunc:callbackfunc,handlerFunc:handlerFunc,useCapture:useCapture};if(JSEvents.isInternetExplorer()&&eventTypeString=="mousedown")eventHandler.allowsDeferredCalls=false;JSEvents.registerOrRemoveHandler(eventHandler)}),registerWheelEventCallback:(function(target,userData,useCapture,callbackfunc,eventTypeId,eventTypeString){if(!JSEvents.wheelEvent){JSEvents.wheelEvent=_malloc(104)}target=JSEvents.findEventTarget(target);var wheelHandlerFunc=(function(event){var e=event||window.event;JSEvents.fillMouseEventData(JSEvents.wheelEvent,e,target);HEAPF64[JSEvents.wheelEvent+72>>3]=e["deltaX"];HEAPF64[JSEvents.wheelEvent+80>>3]=e["deltaY"];HEAPF64[JSEvents.wheelEvent+88>>3]=e["deltaZ"];HEAP32[JSEvents.wheelEvent+96>>2]=e["deltaMode"];var shouldCancel=Runtime.dynCall("iiii",callbackfunc,[eventTypeId,JSEvents.wheelEvent,userData]);if(shouldCancel){e.preventDefault()}});var mouseWheelHandlerFunc=(function(event){var e=event||window.event;JSEvents.fillMouseEventData(JSEvents.wheelEvent,e,target);HEAPF64[JSEvents.wheelEvent+72>>3]=e["wheelDeltaX"];HEAPF64[JSEvents.wheelEvent+80>>3]=-e["wheelDeltaY"];HEAPF64[JSEvents.wheelEvent+88>>3]=0;HEAP32[JSEvents.wheelEvent+96>>2]=0;var shouldCancel=Runtime.dynCall("iiii",callbackfunc,[eventTypeId,JSEvents.wheelEvent,userData]);if(shouldCancel){e.preventDefault()}});var eventHandler={target:target,allowsDeferredCalls:true,eventTypeString:eventTypeString,callbackfunc:callbackfunc,handlerFunc:eventTypeString=="wheel"?wheelHandlerFunc:mouseWheelHandlerFunc,useCapture:useCapture};JSEvents.registerOrRemoveHandler(eventHandler)}),pageScrollPos:(function(){if(window.pageXOffset>0||window.pageYOffset>0){return[window.pageXOffset,window.pageYOffset]}if(typeof document.documentElement.scrollLeft!=="undefined"||typeof document.documentElement.scrollTop!=="undefined"){return[document.documentElement.scrollLeft,document.documentElement.scrollTop]}return[document.body.scrollLeft|0,document.body.scrollTop|0]}),registerUiEventCallback:(function(target,userData,useCapture,callbackfunc,eventTypeId,eventTypeString){if(!JSEvents.uiEvent){JSEvents.uiEvent=_malloc(36)}if(eventTypeString=="scroll"&&!target){target=document}else{target=JSEvents.findEventTarget(target)}var handlerFunc=(function(event){var e=event||window.event;if(e.target!=target){return}var scrollPos=JSEvents.pageScrollPos();HEAP32[JSEvents.uiEvent>>2]=e.detail;HEAP32[JSEvents.uiEvent+4>>2]=document.body.clientWidth;HEAP32[JSEvents.uiEvent+8>>2]=document.body.clientHeight;HEAP32[JSEvents.uiEvent+12>>2]=window.innerWidth;HEAP32[JSEvents.uiEvent+16>>2]=window.innerHeight;HEAP32[JSEvents.uiEvent+20>>2]=window.outerWidth;HEAP32[JSEvents.uiEvent+24>>2]=window.outerHeight;HEAP32[JSEvents.uiEvent+28>>2]=scrollPos[0];HEAP32[JSEvents.uiEvent+32>>2]=scrollPos[1];var shouldCancel=Runtime.dynCall("iiii",callbackfunc,[eventTypeId,JSEvents.uiEvent,userData]);if(shouldCancel){e.preventDefault()}});var eventHandler={target:target,allowsDeferredCalls:false,eventTypeString:eventTypeString,callbackfunc:callbackfunc,handlerFunc:handlerFunc,useCapture:useCapture};JSEvents.registerOrRemoveHandler(eventHandler)}),getNodeNameForTarget:(function(target){if(!target)return"";if(target==window)return"#window";if(target==window.screen)return"#screen";return target&&target.nodeName?target.nodeName:""}),registerFocusEventCallback:(function(target,userData,useCapture,callbackfunc,eventTypeId,eventTypeString){if(!JSEvents.focusEvent){JSEvents.focusEvent=_malloc(256)}var handlerFunc=(function(event){var e=event||window.event;var nodeName=JSEvents.getNodeNameForTarget(e.target);var id=e.target.id?e.target.id:"";writeStringToMemory(nodeName,JSEvents.focusEvent+0);writeStringToMemory(id,JSEvents.focusEvent+128);var shouldCancel=Runtime.dynCall("iiii",callbackfunc,[eventTypeId,JSEvents.focusEvent,userData]);if(shouldCancel){e.preventDefault()}});var eventHandler={target:JSEvents.findEventTarget(target),allowsDeferredCalls:false,eventTypeString:eventTypeString,callbackfunc:callbackfunc,handlerFunc:handlerFunc,useCapture:useCapture};JSEvents.registerOrRemoveHandler(eventHandler)}),tick:(function(){if(window["performance"]&&window["performance"]["now"])return window["performance"]["now"]();else return Date.now()}),registerDeviceOrientationEventCallback:(function(target,userData,useCapture,callbackfunc,eventTypeId,eventTypeString){if(!JSEvents.deviceOrientationEvent){JSEvents.deviceOrientationEvent=_malloc(40)}var handlerFunc=(function(event){var e=event||window.event;HEAPF64[JSEvents.deviceOrientationEvent>>3]=JSEvents.tick();HEAPF64[JSEvents.deviceOrientationEvent+8>>3]=e.alpha;HEAPF64[JSEvents.deviceOrientationEvent+16>>3]=e.beta;HEAPF64[JSEvents.deviceOrientationEvent+24>>3]=e.gamma;HEAP32[JSEvents.deviceOrientationEvent+32>>2]=e.absolute;var shouldCancel=Runtime.dynCall("iiii",callbackfunc,[eventTypeId,JSEvents.deviceOrientationEvent,userData]);if(shouldCancel){e.preventDefault()}});var eventHandler={target:JSEvents.findEventTarget(target),allowsDeferredCalls:false,eventTypeString:eventTypeString,callbackfunc:callbackfunc,handlerFunc:handlerFunc,useCapture:useCapture};JSEvents.registerOrRemoveHandler(eventHandler)}),registerDeviceMotionEventCallback:(function(target,userData,useCapture,callbackfunc,eventTypeId,eventTypeString){if(!JSEvents.deviceMotionEvent){JSEvents.deviceMotionEvent=_malloc(80)}var handlerFunc=(function(event){var e=event||window.event;HEAPF64[JSEvents.deviceOrientationEvent>>3]=JSEvents.tick();HEAPF64[JSEvents.deviceMotionEvent+8>>3]=e.acceleration.x;HEAPF64[JSEvents.deviceMotionEvent+16>>3]=e.acceleration.y;HEAPF64[JSEvents.deviceMotionEvent+24>>3]=e.acceleration.z;HEAPF64[JSEvents.deviceMotionEvent+32>>3]=e.accelerationIncludingGravity.x;HEAPF64[JSEvents.deviceMotionEvent+40>>3]=e.accelerationIncludingGravity.y;HEAPF64[JSEvents.deviceMotionEvent+48>>3]=e.accelerationIncludingGravity.z;HEAPF64[JSEvents.deviceMotionEvent+56>>3]=e.rotationRate.alpha;HEAPF64[JSEvents.deviceMotionEvent+64>>3]=e.rotationRate.beta;HEAPF64[JSEvents.deviceMotionEvent+72>>3]=e.rotationRate.gamma;var shouldCancel=Runtime.dynCall("iiii",callbackfunc,[eventTypeId,JSEvents.deviceMotionEvent,userData]);if(shouldCancel){e.preventDefault()}});var eventHandler={target:JSEvents.findEventTarget(target),allowsDeferredCalls:false,eventTypeString:eventTypeString,callbackfunc:callbackfunc,handlerFunc:handlerFunc,useCapture:useCapture};JSEvents.registerOrRemoveHandler(eventHandler)}),screenOrientation:(function(){if(!window.screen)return undefined;return window.screen.orientation||window.screen.mozOrientation||window.screen.webkitOrientation||window.screen.msOrientation}),fillOrientationChangeEventData:(function(eventStruct,e){var orientations=["portrait-primary","portrait-secondary","landscape-primary","landscape-secondary"];var orientations2=["portrait","portrait","landscape","landscape"];var orientationString=JSEvents.screenOrientation();var orientation=orientations.indexOf(orientationString);if(orientation==-1){orientation=orientations2.indexOf(orientationString)}HEAP32[eventStruct>>2]=1<>2]=window.orientation}),registerOrientationChangeEventCallback:(function(target,userData,useCapture,callbackfunc,eventTypeId,eventTypeString){if(!JSEvents.orientationChangeEvent){JSEvents.orientationChangeEvent=_malloc(8)}if(!target){target=window.screen}else{target=JSEvents.findEventTarget(target)}var handlerFunc=(function(event){var e=event||window.event;JSEvents.fillOrientationChangeEventData(JSEvents.orientationChangeEvent,e);var shouldCancel=Runtime.dynCall("iiii",callbackfunc,[eventTypeId,JSEvents.orientationChangeEvent,userData]);if(shouldCancel){e.preventDefault()}});if(eventTypeString=="orientationchange"&&window.screen.mozOrientation!==undefined){eventTypeString="mozorientationchange"}var eventHandler={target:target,allowsDeferredCalls:false,eventTypeString:eventTypeString,callbackfunc:callbackfunc,handlerFunc:handlerFunc,useCapture:useCapture};JSEvents.registerOrRemoveHandler(eventHandler)}),fullscreenEnabled:(function(){return document.fullscreenEnabled||document.mozFullscreenEnabled||document.mozFullScreenEnabled||document.webkitFullscreenEnabled||document.msFullscreenEnabled}),fillFullscreenChangeEventData:(function(eventStruct,e){var fullscreenElement=document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement;var isFullscreen=!!fullscreenElement;HEAP32[eventStruct>>2]=isFullscreen;HEAP32[eventStruct+4>>2]=JSEvents.fullscreenEnabled();var reportedElement=isFullscreen?fullscreenElement:JSEvents.previousFullscreenElement;var nodeName=JSEvents.getNodeNameForTarget(reportedElement);var id=reportedElement&&reportedElement.id?reportedElement.id:"";writeStringToMemory(nodeName,eventStruct+8);writeStringToMemory(id,eventStruct+136);HEAP32[eventStruct+264>>2]=reportedElement?reportedElement.clientWidth:0;HEAP32[eventStruct+268>>2]=reportedElement?reportedElement.clientHeight:0;HEAP32[eventStruct+272>>2]=screen.width;HEAP32[eventStruct+276>>2]=screen.height;if(isFullscreen){JSEvents.previousFullscreenElement=fullscreenElement}}),registerFullscreenChangeEventCallback:(function(target,userData,useCapture,callbackfunc,eventTypeId,eventTypeString){if(!JSEvents.fullscreenChangeEvent){JSEvents.fullscreenChangeEvent=_malloc(280)}if(!target){target=document}else{target=JSEvents.findEventTarget(target)}var handlerFunc=(function(event){var e=event||window.event;JSEvents.fillFullscreenChangeEventData(JSEvents.fullscreenChangeEvent,e);var shouldCancel=Runtime.dynCall("iiii",callbackfunc,[eventTypeId,JSEvents.fullscreenChangeEvent,userData]);if(shouldCancel){e.preventDefault()}});var eventHandler={target:target,allowsDeferredCalls:false,eventTypeString:eventTypeString,callbackfunc:callbackfunc,handlerFunc:handlerFunc,useCapture:useCapture};JSEvents.registerOrRemoveHandler(eventHandler)}),resizeCanvasForFullscreen:(function(target,strategy){var restoreOldStyle=__registerRestoreOldStyle(target);var cssWidth=strategy.softFullscreen?window.innerWidth:screen.width;var cssHeight=strategy.softFullscreen?window.innerHeight:screen.height;var rect=target.getBoundingClientRect();var windowedCssWidth=rect.right-rect.left;var windowedCssHeight=rect.bottom-rect.top;var windowedRttWidth=target.width;var windowedRttHeight=target.height;if(strategy.scaleMode==3){__setLetterbox(target,(cssHeight-windowedCssHeight)/2,(cssWidth-windowedCssWidth)/2);cssWidth=windowedCssWidth;cssHeight=windowedCssHeight}else if(strategy.scaleMode==2){if(cssWidth*windowedRttHeight>2]=isPointerlocked;var nodeName=JSEvents.getNodeNameForTarget(pointerLockElement);var id=pointerLockElement&&pointerLockElement.id?pointerLockElement.id:"";writeStringToMemory(nodeName,eventStruct+4);writeStringToMemory(id,eventStruct+132)}),registerPointerlockChangeEventCallback:(function(target,userData,useCapture,callbackfunc,eventTypeId,eventTypeString){if(!JSEvents.pointerlockChangeEvent){JSEvents.pointerlockChangeEvent=_malloc(260)}if(!target){target=document}else{target=JSEvents.findEventTarget(target)}var handlerFunc=(function(event){var e=event||window.event;JSEvents.fillPointerlockChangeEventData(JSEvents.pointerlockChangeEvent,e);var shouldCancel=Runtime.dynCall("iiii",callbackfunc,[eventTypeId,JSEvents.pointerlockChangeEvent,userData]);if(shouldCancel){e.preventDefault()}});var eventHandler={target:target,allowsDeferredCalls:false,eventTypeString:eventTypeString,callbackfunc:callbackfunc,handlerFunc:handlerFunc,useCapture:useCapture};JSEvents.registerOrRemoveHandler(eventHandler)}),requestPointerLock:(function(target){if(target.requestPointerLock){target.requestPointerLock()}else if(target.mozRequestPointerLock){target.mozRequestPointerLock()}else if(target.webkitRequestPointerLock){target.webkitRequestPointerLock()}else if(target.msRequestPointerLock){target.msRequestPointerLock()}else{if(document.body.requestPointerLock||document.body.mozRequestPointerLock||document.body.webkitRequestPointerLock||document.body.msRequestPointerLock){return-3}else{return-1}}return 0}),fillVisibilityChangeEventData:(function(eventStruct,e){var visibilityStates=["hidden","visible","prerender","unloaded"];var visibilityState=visibilityStates.indexOf(document.visibilityState);HEAP32[eventStruct>>2]=document.hidden;HEAP32[eventStruct+4>>2]=visibilityState}),registerVisibilityChangeEventCallback:(function(target,userData,useCapture,callbackfunc,eventTypeId,eventTypeString){if(!JSEvents.visibilityChangeEvent){JSEvents.visibilityChangeEvent=_malloc(8)}if(!target){target=document}else{target=JSEvents.findEventTarget(target)}var handlerFunc=(function(event){var e=event||window.event;JSEvents.fillVisibilityChangeEventData(JSEvents.visibilityChangeEvent,e);var shouldCancel=Runtime.dynCall("iiii",callbackfunc,[eventTypeId,JSEvents.visibilityChangeEvent,userData]);if(shouldCancel){e.preventDefault()}});var eventHandler={target:target,allowsDeferredCalls:false,eventTypeString:eventTypeString,callbackfunc:callbackfunc,handlerFunc:handlerFunc,useCapture:useCapture};JSEvents.registerOrRemoveHandler(eventHandler)}),registerTouchEventCallback:(function(target,userData,useCapture,callbackfunc,eventTypeId,eventTypeString){if(!JSEvents.touchEvent){JSEvents.touchEvent=_malloc(1684)}target=JSEvents.findEventTarget(target);var handlerFunc=(function(event){var e=event||window.event;var touches={};for(var i=0;i>2]=e.ctrlKey;HEAP32[ptr+8>>2]=e.shiftKey;HEAP32[ptr+12>>2]=e.altKey;HEAP32[ptr+16>>2]=e.metaKey;ptr+=20;var canvasRect=Module["canvas"]?Module["canvas"].getBoundingClientRect():undefined;var targetRect=JSEvents.getBoundingClientRectOrZeros(target);var numTouches=0;for(var i in touches){var t=touches[i];HEAP32[ptr>>2]=t.identifier;HEAP32[ptr+4>>2]=t.screenX;HEAP32[ptr+8>>2]=t.screenY;HEAP32[ptr+12>>2]=t.clientX;HEAP32[ptr+16>>2]=t.clientY;HEAP32[ptr+20>>2]=t.pageX;HEAP32[ptr+24>>2]=t.pageY;HEAP32[ptr+28>>2]=t.changed;HEAP32[ptr+32>>2]=t.onTarget;if(canvasRect){HEAP32[ptr+44>>2]=t.clientX-canvasRect.left;HEAP32[ptr+48>>2]=t.clientY-canvasRect.top}else{HEAP32[ptr+44>>2]=0;HEAP32[ptr+48>>2]=0}HEAP32[ptr+36>>2]=t.clientX-targetRect.left;HEAP32[ptr+40>>2]=t.clientY-targetRect.top;ptr+=52;if(++numTouches>=32){break}}HEAP32[JSEvents.touchEvent>>2]=numTouches;var shouldCancel=Runtime.dynCall("iiii",callbackfunc,[eventTypeId,JSEvents.touchEvent,userData]);if(shouldCancel){e.preventDefault()}});var eventHandler={target:target,allowsDeferredCalls:false,eventTypeString:eventTypeString,callbackfunc:callbackfunc,handlerFunc:handlerFunc,useCapture:useCapture};JSEvents.registerOrRemoveHandler(eventHandler)}),fillGamepadEventData:(function(eventStruct,e){HEAPF64[eventStruct>>3]=e.timestamp;for(var i=0;i>3]=e.axes[i]}for(var i=0;i>3]=e.buttons[i].value}else{HEAPF64[eventStruct+i*8+528>>3]=e.buttons[i]}}for(var i=0;i>2]=e.buttons[i].pressed}else{HEAP32[eventStruct+i*4+1040>>2]=e.buttons[i]==1}}HEAP32[eventStruct+1296>>2]=e.connected;HEAP32[eventStruct+1300>>2]=e.index;HEAP32[eventStruct+8>>2]=e.axes.length;HEAP32[eventStruct+12>>2]=e.buttons.length;writeStringToMemory(e.id,eventStruct+1304);writeStringToMemory(e.mapping,eventStruct+1368)}),registerGamepadEventCallback:(function(target,userData,useCapture,callbackfunc,eventTypeId,eventTypeString){if(!JSEvents.gamepadEvent){JSEvents.gamepadEvent=_malloc(1432)}var handlerFunc=(function(event){var e=event||window.event;JSEvents.fillGamepadEventData(JSEvents.gamepadEvent,e.gamepad);var shouldCancel=Runtime.dynCall("iiii",callbackfunc,[eventTypeId,JSEvents.gamepadEvent,userData]);if(shouldCancel){e.preventDefault()}});var eventHandler={target:JSEvents.findEventTarget(target),allowsDeferredCalls:true,eventTypeString:eventTypeString,callbackfunc:callbackfunc,handlerFunc:handlerFunc,useCapture:useCapture};JSEvents.registerOrRemoveHandler(eventHandler)}),registerBeforeUnloadEventCallback:(function(target,userData,useCapture,callbackfunc,eventTypeId,eventTypeString){var handlerFunc=(function(event){var e=event||window.event;var confirmationMessage=Runtime.dynCall("iiii",callbackfunc,[eventTypeId,0,userData]);if(confirmationMessage){confirmationMessage=Pointer_stringify(confirmationMessage)}if(confirmationMessage){e.preventDefault();e.returnValue=confirmationMessage;return confirmationMessage}});var eventHandler={target:JSEvents.findEventTarget(target),allowsDeferredCalls:false,eventTypeString:eventTypeString,callbackfunc:callbackfunc,handlerFunc:handlerFunc,useCapture:useCapture};JSEvents.registerOrRemoveHandler(eventHandler)}),battery:(function(){return navigator.battery||navigator.mozBattery||navigator.webkitBattery}),fillBatteryEventData:(function(eventStruct,e){HEAPF64[eventStruct>>3]=e.chargingTime;HEAPF64[eventStruct+8>>3]=e.dischargingTime;HEAPF64[eventStruct+16>>3]=e.level;HEAP32[eventStruct+24>>2]=e.charging}),registerBatteryEventCallback:(function(target,userData,useCapture,callbackfunc,eventTypeId,eventTypeString){if(!JSEvents.batteryEvent){JSEvents.batteryEvent=_malloc(32)}var handlerFunc=(function(event){var e=event||window.event;JSEvents.fillBatteryEventData(JSEvents.batteryEvent,JSEvents.battery());var shouldCancel=Runtime.dynCall("iiii",callbackfunc,[eventTypeId,JSEvents.batteryEvent,userData]);if(shouldCancel){e.preventDefault()}});var eventHandler={target:JSEvents.findEventTarget(target),allowsDeferredCalls:false,eventTypeString:eventTypeString,callbackfunc:callbackfunc,handlerFunc:handlerFunc,useCapture:useCapture};JSEvents.registerOrRemoveHandler(eventHandler)}),registerWebGlEventCallback:(function(target,userData,useCapture,callbackfunc,eventTypeId,eventTypeString){if(!target){target=Module["canvas"]}var handlerFunc=(function(event){var e=event||window.event;var shouldCancel=Runtime.dynCall("iiii",callbackfunc,[eventTypeId,0,userData]);if(shouldCancel){e.preventDefault()}});var eventHandler={target:JSEvents.findEventTarget(target),allowsDeferredCalls:false,eventTypeString:eventTypeString,callbackfunc:callbackfunc,handlerFunc:handlerFunc,useCapture:useCapture};JSEvents.registerOrRemoveHandler(eventHandler)})};function _emscripten_set_visibilitychange_callback(userData,useCapture,callbackfunc){JSEvents.registerVisibilityChangeEventCallback(document,userData,useCapture,callbackfunc,21,"visibilitychange");return 0}var GL={counter:1,lastError:0,buffers:[],mappedBuffers:{},programs:[],framebuffers:[],renderbuffers:[],textures:[],uniforms:[],shaders:[],vaos:[],contexts:[],currentContext:null,currArrayBuffer:0,currElementArrayBuffer:0,byteSizeByTypeRoot:5120,byteSizeByType:[1,1,2,2,4,4,4,2,3,4,8],programInfos:{},stringCache:{},packAlignment:4,unpackAlignment:4,init:(function(){GL.createLog2ceilLookup(GL.MAX_TEMP_BUFFER_SIZE);GL.miniTempBuffer=new Float32Array(GL.MINI_TEMP_BUFFER_SIZE);for(var i=0;ipow2){pow2<<=1;++log2}GL.log2ceilLookup[i]=log2}}),generateTempBuffers:(function(quads,context){var largestIndex=GL.log2ceilLookup[GL.MAX_TEMP_BUFFER_SIZE];context.tempVertexBufferCounters1=[];context.tempVertexBufferCounters2=[];context.tempVertexBufferCounters1.length=context.tempVertexBufferCounters2.length=largestIndex+1;context.tempVertexBuffers1=[];context.tempVertexBuffers2=[];context.tempVertexBuffers1.length=context.tempVertexBuffers2.length=largestIndex+1;context.tempIndexBuffers=[];context.tempIndexBuffers.length=largestIndex+1;for(var i=0;i<=largestIndex;++i){context.tempIndexBuffers[i]=null;context.tempVertexBufferCounters1[i]=context.tempVertexBufferCounters2[i]=0;var ringbufferLength=GL.numTempVertexBuffersPerSize;context.tempVertexBuffers1[i]=[];context.tempVertexBuffers2[i]=[];var ringbuffer1=context.tempVertexBuffers1[i];var ringbuffer2=context.tempVertexBuffers2[i];ringbuffer1.length=ringbuffer2.length=ringbufferLength;for(var j=0;j>1;var quadIndexes=new Uint16Array(numIndexes);var i=0,v=0;while(1){quadIndexes[i++]=v;if(i>=numIndexes)break;quadIndexes[i++]=v+1;if(i>=numIndexes)break;quadIndexes[i++]=v+2;if(i>=numIndexes)break;quadIndexes[i++]=v;if(i>=numIndexes)break;quadIndexes[i++]=v+2;if(i>=numIndexes)break;quadIndexes[i++]=v+3;if(i>=numIndexes)break;v+=4}context.GLctx.bufferData(context.GLctx.ELEMENT_ARRAY_BUFFER,quadIndexes,context.GLctx.STATIC_DRAW);context.GLctx.bindBuffer(context.GLctx.ELEMENT_ARRAY_BUFFER,null)}}),getTempVertexBuffer:function getTempVertexBuffer(sizeBytes){var idx=GL.log2ceilLookup[sizeBytes];var ringbuffer=GL.currentContext.tempVertexBuffers1[idx];var nextFreeBufferIndex=GL.currentContext.tempVertexBufferCounters1[idx];GL.currentContext.tempVertexBufferCounters1[idx]=GL.currentContext.tempVertexBufferCounters1[idx]+1&GL.numTempVertexBuffersPerSize-1;var vbo=ringbuffer[nextFreeBufferIndex];if(vbo){return vbo}var prevVBO=GLctx.getParameter(GLctx.ARRAY_BUFFER_BINDING);ringbuffer[nextFreeBufferIndex]=GLctx.createBuffer();GLctx.bindBuffer(GLctx.ARRAY_BUFFER,ringbuffer[nextFreeBufferIndex]);GLctx.bufferData(GLctx.ARRAY_BUFFER,1<>2];if(len<0){frag=Pointer_stringify(HEAP32[string+i*4>>2])}else{frag=Pointer_stringify(HEAP32[string+i*4>>2],len)}}else{frag=Pointer_stringify(HEAP32[string+i*4>>2])}source+=frag}return source}),calcBufLength:function calcBufLength(size,type,stride,count){if(stride>0){return count*stride}var typeSize=GL.byteSizeByType[type-GL.byteSizeByTypeRoot];return size*typeSize*count},usedTempBuffers:[],preDrawHandleClientVertexAttribBindings:function preDrawHandleClientVertexAttribBindings(count){GL.resetBufferBinding=false;for(var i=0;i0){GLctx.getSupportedExtensions().forEach((function(ext){if(automaticallyEnabledExtensions.indexOf(ext)!=-1){GLctx.getExtension(ext)}}))}}),populateUniformTable:(function(program){var p=GL.programs[program];GL.programInfos[program]={uniforms:{},maxUniformLength:0,maxAttributeLength:-1};var ptable=GL.programInfos[program];var utable=ptable.uniforms;var numUniforms=GLctx.getProgramParameter(p,GLctx.ACTIVE_UNIFORMS);for(var i=0;i0){var start=Date.now();var blocker=Browser.mainLoop.queue.shift();blocker.func(blocker.arg);if(Browser.mainLoop.remainingBlockers){var remaining=Browser.mainLoop.remainingBlockers;var next=remaining%1==0?remaining-1:Math.floor(remaining);if(blocker.counted){Browser.mainLoop.remainingBlockers=next}else{next=next+.5;Browser.mainLoop.remainingBlockers=(8*remaining+next)/9}}console.log('main loop blocker "'+blocker.name+'" took '+(Date.now()-start)+" ms");Browser.mainLoop.updateStatus();if(thisMainLoopId1&&Browser.mainLoop.currentFrameNumber%Browser.mainLoop.timingValue!=0){Browser.mainLoop.scheduler();return}GL.newRenderingFrameStarted();if(Browser.mainLoop.method==="timeout"&&Module.ctx){Module.printErr("Looks like you are rendering without using requestAnimationFrame for the main loop. You should use 0 for the frame rate in emscripten_set_main_loop in order to use requestAnimationFrame, as that can greatly improve your frame rates!");Browser.mainLoop.method=""}Browser.mainLoop.runIter((function(){if(typeof arg!=="undefined"){Runtime.dynCall("vi",func,[arg])}else{Runtime.dynCall("v",func)}}));if(thisMainLoopId0)_emscripten_set_main_loop_timing(0,1e3/fps);else _emscripten_set_main_loop_timing(1,1);Browser.mainLoop.scheduler()}if(simulateInfiniteLoop){throw"SimulateInfiniteLoop"}}var Browser={mainLoop:{scheduler:null,method:"",currentlyRunningMainloop:0,func:null,arg:0,timingMode:0,timingValue:0,currentFrameNumber:0,queue:[],pause:(function(){Browser.mainLoop.scheduler=null;Browser.mainLoop.currentlyRunningMainloop++}),resume:(function(){Browser.mainLoop.currentlyRunningMainloop++;var timingMode=Browser.mainLoop.timingMode;var timingValue=Browser.mainLoop.timingValue;var func=Browser.mainLoop.func;Browser.mainLoop.func=null;_emscripten_set_main_loop(func,0,false,Browser.mainLoop.arg,true);_emscripten_set_main_loop_timing(timingMode,timingValue);Browser.mainLoop.scheduler()}),updateStatus:(function(){if(Module["setStatus"]){var message=Module["statusMessage"]||"Please wait...";var remaining=Browser.mainLoop.remainingBlockers;var expected=Browser.mainLoop.expectedBlockers;if(remaining){if(remaining=6){var curr=leftchar>>leftbits-6&63;leftbits-=6;ret+=BASE[curr]}}if(leftbits==2){ret+=BASE[(leftchar&3)<<4];ret+=PAD+PAD}else if(leftbits==4){ret+=BASE[(leftchar&15)<<2];ret+=PAD}return ret}audio.src="data:audio/x-"+name.substr(-3)+";base64,"+encode64(byteArray);finish(audio)};audio.src=url;Browser.safeSetTimeout((function(){finish(audio)}),1e4)}else{return fail()}};Module["preloadPlugins"].push(audioPlugin);var canvas=Module["canvas"];function pointerLockChange(){Browser.pointerLock=document["pointerLockElement"]===canvas||document["mozPointerLockElement"]===canvas||document["webkitPointerLockElement"]===canvas||document["msPointerLockElement"]===canvas}if(canvas){canvas.requestPointerLock=canvas["requestPointerLock"]||canvas["mozRequestPointerLock"]||canvas["webkitRequestPointerLock"]||canvas["msRequestPointerLock"]||(function(){});canvas.exitPointerLock=document["exitPointerLock"]||document["mozExitPointerLock"]||document["webkitExitPointerLock"]||document["msExitPointerLock"]||(function(){});canvas.exitPointerLock=canvas.exitPointerLock.bind(document);document.addEventListener("pointerlockchange",pointerLockChange,false);document.addEventListener("mozpointerlockchange",pointerLockChange,false);document.addEventListener("webkitpointerlockchange",pointerLockChange,false);document.addEventListener("mspointerlockchange",pointerLockChange,false);if(Module["elementPointerLock"]){canvas.addEventListener("click",(function(ev){if(!Browser.pointerLock&&canvas.requestPointerLock){canvas.requestPointerLock();ev.preventDefault()}}),false)}}}),createContext:(function(canvas,useWebGL,setInModule,webGLContextAttributes){if(useWebGL&&Module.ctx&&canvas==Module.canvas)return Module.ctx;var ctx;var contextHandle;if(useWebGL){var contextAttributes={antialias:false,alpha:false};if(webGLContextAttributes){for(var attribute in webGLContextAttributes){contextAttributes[attribute]=webGLContextAttributes[attribute]}}contextHandle=GL.createContext(canvas,contextAttributes);if(contextHandle){ctx=GL.getContext(contextHandle).GLctx}canvas.style.backgroundColor="black"}else{ctx=canvas.getContext("2d")}if(!ctx)return null;if(setInModule){if(!useWebGL)assert(typeof GLctx==="undefined","cannot set in module if GLctx is used, but we are a non-GL context that would replace it");Module.ctx=ctx;if(useWebGL)GL.makeContextCurrent(contextHandle);Module.useWebGL=useWebGL;Browser.moduleContextCreatedCallbacks.forEach((function(callback){callback()}));Browser.init()}return ctx}),destroyContext:(function(canvas,useWebGL,setInModule){}),fullScreenHandlersInstalled:false,lockPointer:undefined,resizeCanvas:undefined,requestFullScreen:(function(lockPointer,resizeCanvas,vrDevice){Browser.lockPointer=lockPointer;Browser.resizeCanvas=resizeCanvas;Browser.vrDevice=vrDevice;if(typeof Browser.lockPointer==="undefined")Browser.lockPointer=true;if(typeof Browser.resizeCanvas==="undefined")Browser.resizeCanvas=false;if(typeof Browser.vrDevice==="undefined")Browser.vrDevice=null;var canvas=Module["canvas"];function fullScreenChange(){Browser.isFullScreen=false;var canvasContainer=canvas.parentNode;if((document["webkitFullScreenElement"]||document["webkitFullscreenElement"]||document["mozFullScreenElement"]||document["mozFullscreenElement"]||document["fullScreenElement"]||document["fullscreenElement"]||document["msFullScreenElement"]||document["msFullscreenElement"]||document["webkitCurrentFullScreenElement"])===canvasContainer){canvas.cancelFullScreen=document["cancelFullScreen"]||document["mozCancelFullScreen"]||document["webkitCancelFullScreen"]||document["msExitFullscreen"]||document["exitFullscreen"]||(function(){});canvas.cancelFullScreen=canvas.cancelFullScreen.bind(document);if(Browser.lockPointer)canvas.requestPointerLock();Browser.isFullScreen=true;if(Browser.resizeCanvas)Browser.setFullScreenCanvasSize()}else{canvasContainer.parentNode.insertBefore(canvas,canvasContainer);canvasContainer.parentNode.removeChild(canvasContainer);if(Browser.resizeCanvas)Browser.setWindowedCanvasSize()}if(Module["onFullScreen"])Module["onFullScreen"](Browser.isFullScreen);Browser.updateCanvasDimensions(canvas)}if(!Browser.fullScreenHandlersInstalled){Browser.fullScreenHandlersInstalled=true;document.addEventListener("fullscreenchange",fullScreenChange,false);document.addEventListener("mozfullscreenchange",fullScreenChange,false);document.addEventListener("webkitfullscreenchange",fullScreenChange,false);document.addEventListener("MSFullscreenChange",fullScreenChange,false)}var canvasContainer=document.createElement("div");canvas.parentNode.insertBefore(canvasContainer,canvas);canvasContainer.appendChild(canvas);canvasContainer.requestFullScreen=canvasContainer["requestFullScreen"]||canvasContainer["mozRequestFullScreen"]||canvasContainer["msRequestFullscreen"]||(canvasContainer["webkitRequestFullScreen"]?(function(){canvasContainer["webkitRequestFullScreen"](Element["ALLOW_KEYBOARD_INPUT"])}):null);if(vrDevice){canvasContainer.requestFullScreen({vrDisplay:vrDevice})}else{canvasContainer.requestFullScreen()}}),nextRAF:0,fakeRequestAnimationFrame:(function(func){var now=Date.now();if(Browser.nextRAF===0){Browser.nextRAF=now+1e3/60}else{while(now+2>=Browser.nextRAF){Browser.nextRAF+=1e3/60}}var delay=Math.max(Browser.nextRAF-now,0);setTimeout(func,delay)}),requestAnimationFrame:function requestAnimationFrame(func){if(typeof window==="undefined"){Browser.fakeRequestAnimationFrame(func)}else{if(!window.requestAnimationFrame){window.requestAnimationFrame=window["requestAnimationFrame"]||window["mozRequestAnimationFrame"]||window["webkitRequestAnimationFrame"]||window["msRequestAnimationFrame"]||window["oRequestAnimationFrame"]||Browser.fakeRequestAnimationFrame}window.requestAnimationFrame(func)}},safeCallback:(function(func){return(function(){if(!ABORT)return func.apply(null,arguments)})}),allowAsyncCallbacks:true,queuedAsyncCallbacks:[],pauseAsyncCallbacks:(function(){Browser.allowAsyncCallbacks=false}),resumeAsyncCallbacks:(function(){Browser.allowAsyncCallbacks=true;if(Browser.queuedAsyncCallbacks.length>0){var callbacks=Browser.queuedAsyncCallbacks;Browser.queuedAsyncCallbacks=[];callbacks.forEach((function(func){func()}))}}),safeRequestAnimationFrame:(function(func){return Browser.requestAnimationFrame((function(){if(ABORT)return;if(Browser.allowAsyncCallbacks){func()}else{Browser.queuedAsyncCallbacks.push(func)}}))}),safeSetTimeout:(function(func,timeout){Module["noExitRuntime"]=true;return setTimeout((function(){if(ABORT)return;if(Browser.allowAsyncCallbacks){func()}else{Browser.queuedAsyncCallbacks.push(func)}}),timeout)}),safeSetInterval:(function(func,timeout){Module["noExitRuntime"]=true;return setInterval((function(){if(ABORT)return;if(Browser.allowAsyncCallbacks){func()}}),timeout)}),getMimetype:(function(name){return{"jpg":"image/jpeg","jpeg":"image/jpeg","png":"image/png","bmp":"image/bmp","ogg":"audio/ogg","wav":"audio/wav","mp3":"audio/mpeg"}[name.substr(name.lastIndexOf(".")+1)]}),getUserMedia:(function(func){if(!window.getUserMedia){window.getUserMedia=navigator["getUserMedia"]||navigator["mozGetUserMedia"]}window.getUserMedia(func)}),getMovementX:(function(event){return event["movementX"]||event["mozMovementX"]||event["webkitMovementX"]||0}),getMovementY:(function(event){return event["movementY"]||event["mozMovementY"]||event["webkitMovementY"]||0}),getMouseWheelDelta:(function(event){var delta=0;switch(event.type){case"DOMMouseScroll":delta=event.detail;break;case"mousewheel":delta=event.wheelDelta;break;case"wheel":delta=event["deltaY"];break;default:throw"unrecognized mouse wheel event: "+event.type}return delta}),mouseX:0,mouseY:0,mouseMovementX:0,mouseMovementY:0,touches:{},lastTouches:{},calculateMouseEvent:(function(event){if(Browser.pointerLock){if(event.type!="mousemove"&&"mozMovementX"in event){Browser.mouseMovementX=Browser.mouseMovementY=0}else{Browser.mouseMovementX=Browser.getMovementX(event);Browser.mouseMovementY=Browser.getMovementY(event)}if(typeof SDL!="undefined"){Browser.mouseX=SDL.mouseX+Browser.mouseMovementX;Browser.mouseY=SDL.mouseY+Browser.mouseMovementY}else{Browser.mouseX+=Browser.mouseMovementX;Browser.mouseY+=Browser.mouseMovementY}}else{var rect=Module["canvas"].getBoundingClientRect();var cw=Module["canvas"].width;var ch=Module["canvas"].height;var scrollX=typeof window.scrollX!=="undefined"?window.scrollX:window.pageXOffset;var scrollY=typeof window.scrollY!=="undefined"?window.scrollY:window.pageYOffset;if(event.type==="touchstart"||event.type==="touchend"||event.type==="touchmove"){var touch=event.touch;if(touch===undefined){return}var adjustedX=touch.pageX-(scrollX+rect.left);var adjustedY=touch.pageY-(scrollY+rect.top);adjustedX=adjustedX*(cw/rect.width);adjustedY=adjustedY*(ch/rect.height);var coords={x:adjustedX,y:adjustedY};if(event.type==="touchstart"){Browser.lastTouches[touch.identifier]=coords;Browser.touches[touch.identifier]=coords}else if(event.type==="touchend"||event.type==="touchmove"){var last=Browser.touches[touch.identifier];if(!last)last=coords;Browser.lastTouches[touch.identifier]=last;Browser.touches[touch.identifier]=coords}return}var x=event.pageX-(scrollX+rect.left);var y=event.pageY-(scrollY+rect.top);x=x*(cw/rect.width);y=y*(ch/rect.height);Browser.mouseMovementX=x-Browser.mouseX;Browser.mouseMovementY=y-Browser.mouseY;Browser.mouseX=x;Browser.mouseY=y}}),asyncLoad:(function(url,onload,onerror,noRunDep){Module["readAsync"](url,(function(arrayBuffer){assert(arrayBuffer,'Loading data file "'+url+'" failed (no arrayBuffer).');onload(new Uint8Array(arrayBuffer));if(!noRunDep)removeRunDependency("al "+url)}),(function(event){if(onerror){onerror()}else{throw'Loading data file "'+url+'" failed.'}}));if(!noRunDep)addRunDependency("al "+url)}),resizeListeners:[],updateResizeListeners:(function(){var canvas=Module["canvas"];Browser.resizeListeners.forEach((function(listener){listener(canvas.width,canvas.height)}))}),setCanvasSize:(function(width,height,noUpdates){var canvas=Module["canvas"];Browser.updateCanvasDimensions(canvas,width,height);if(!noUpdates)Browser.updateResizeListeners()}),windowedWidth:0,windowedHeight:0,setFullScreenCanvasSize:(function(){if(typeof SDL!="undefined"){var flags=HEAPU32[SDL.screen+Runtime.QUANTUM_SIZE*0>>2];flags=flags|8388608;HEAP32[SDL.screen+Runtime.QUANTUM_SIZE*0>>2]=flags}Browser.updateResizeListeners()}),setWindowedCanvasSize:(function(){if(typeof SDL!="undefined"){var flags=HEAPU32[SDL.screen+Runtime.QUANTUM_SIZE*0>>2];flags=flags&~8388608;HEAP32[SDL.screen+Runtime.QUANTUM_SIZE*0>>2]=flags}Browser.updateResizeListeners()}),updateCanvasDimensions:(function(canvas,wNative,hNative){if(wNative&&hNative){canvas.widthNative=wNative;canvas.heightNative=hNative}else{wNative=canvas.widthNative;hNative=canvas.heightNative}var w=wNative;var h=hNative;if(Module["forcedAspectRatio"]&&Module["forcedAspectRatio"]>0){if(w/h>2]=1}if(config&&config_size>0){HEAP32[config>>2]=62002}EGL.setErrorCode(12288);return 1})};function _eglWaitClient(){EGL.setErrorCode(12288);return 1}function _eglTerminate(display){if(display!=62e3){EGL.setErrorCode(12296);return 0}EGL.currentContext=0;EGL.currentReadSurface=0;EGL.currentDrawSurface=0;EGL.defaultDisplayInitialized=false;EGL.setErrorCode(12288);return 1}Module["_llvm_bswap_i32"]=_llvm_bswap_i32;function _llvm_bswap_i64(l,h){var retl=_llvm_bswap_i32(h)>>>0;var reth=_llvm_bswap_i32(l)>>>0;return(asm["setTempRet0"](reth),retl)|0}function _pthread_mutex_lock(){}function _emscripten_set_mouseleave_callback(target,userData,useCapture,callbackfunc){JSEvents.registerMouseEventCallback(target,userData,useCapture,callbackfunc,34,"mouseleave");return 0}function _emscripten_glStencilFunc(x0,x1,x2){GLctx.stencilFunc(x0,x1,x2)}var __currentFullscreenStrategy={};function _emscripten_exit_fullscreen(){if(typeof JSEvents.fullscreenEnabled()==="undefined")return-1;JSEvents.removeDeferredCalls(JSEvents.requestFullscreen);if(document.exitFullscreen){document.exitFullscreen()}else if(document.msExitFullscreen){document.msExitFullscreen()}else if(document.mozCancelFullScreen){document.mozCancelFullScreen()}else if(document.webkitExitFullscreen){document.webkitExitFullscreen()}else{return-1}if(__currentFullscreenStrategy.canvasResizedCallback){Runtime.dynCall("iiii",__currentFullscreenStrategy.canvasResizedCallback,[37,0,__currentFullscreenStrategy.canvasResizedCallbackUserData])}return 0}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};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"};function ___setErrNo(value){if(Module["___errno_location"])HEAP32[Module["___errno_location"]()>>2]=value;return value}var PATH={splitPath:(function(filename){var splitPathRe=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;return splitPathRe.exec(filename).slice(1)}),normalizeArray:(function(parts,allowAboveRoot){var up=0;for(var i=parts.length-1;i>=0;i--){var last=parts[i];if(last==="."){parts.splice(i,1)}else if(last===".."){parts.splice(i,1);up++}else if(up){parts.splice(i,1);up--}}if(allowAboveRoot){for(;up--;up){parts.unshift("..")}}return parts}),normalize:(function(path){var isAbsolute=path.charAt(0)==="/",trailingSlash=path.substr(-1)==="/";path=PATH.normalizeArray(path.split("/").filter((function(p){return!!p})),!isAbsolute).join("/");if(!path&&!isAbsolute){path="."}if(path&&trailingSlash){path+="/"}return(isAbsolute?"/":"")+path}),dirname:(function(path){var result=PATH.splitPath(path),root=result[0],dir=result[1];if(!root&&!dir){return"."}if(dir){dir=dir.substr(0,dir.length-1)}return root+dir}),basename:(function(path){if(path==="/")return"/";var lastSlash=path.lastIndexOf("/");if(lastSlash===-1)return path;return path.substr(lastSlash+1)}),extname:(function(path){return PATH.splitPath(path)[3]}),join:(function(){var paths=Array.prototype.slice.call(arguments,0);return PATH.normalize(paths.join("/"))}),join2:(function(l,r){return PATH.normalize(l+"/"+r)}),resolve:(function(){var resolvedPath="",resolvedAbsolute=false;for(var i=arguments.length-1;i>=-1&&!resolvedAbsolute;i--){var path=i>=0?arguments[i]:FS.cwd();if(typeof path!=="string"){throw new TypeError("Arguments to path.resolve must be strings")}else if(!path){return""}resolvedPath=path+"/"+resolvedPath;resolvedAbsolute=path.charAt(0)==="/"}resolvedPath=PATH.normalizeArray(resolvedPath.split("/").filter((function(p){return!!p})),!resolvedAbsolute).join("/");return(resolvedAbsolute?"/":"")+resolvedPath||"."}),relative:(function(from,to){from=PATH.resolve(from).substr(1);to=PATH.resolve(to).substr(1);function trim(arr){var start=0;for(;start=0;end--){if(arr[end]!=="")break}if(start>end)return[];return arr.slice(start,end-start+1)}var fromParts=trim(from.split("/"));var toParts=trim(to.split("/"));var length=Math.min(fromParts.length,toParts.length);var samePartsLength=length;for(var i=0;i0){result=buf.slice(0,bytesRead).toString("utf-8")}else{result=null}}else if(typeof window!="undefined"&&typeof window.prompt=="function"){result=window.prompt("Input: ");if(result!==null){result+="\n"}}else if(typeof readline=="function"){result=readline();if(result!==null){result+="\n"}}if(!result){return null}tty.input=intArrayFromString(result,true)}return tty.input.shift()}),put_char:(function(tty,val){if(val===null||val===10){Module["print"](UTF8ArrayToString(tty.output,0));tty.output=[]}else{if(val!=0)tty.output.push(val)}}),flush:(function(tty){if(tty.output&&tty.output.length>0){Module["print"](UTF8ArrayToString(tty.output,0));tty.output=[]}})},default_tty1_ops:{put_char:(function(tty,val){if(val===null||val===10){Module["printErr"](UTF8ArrayToString(tty.output,0));tty.output=[]}else{if(val!=0)tty.output.push(val)}}),flush:(function(tty){if(tty.output&&tty.output.length>0){Module["printErr"](UTF8ArrayToString(tty.output,0));tty.output=[]}})}};var MEMFS={ops_table:null,mount:(function(mount){return MEMFS.createNode(null,"/",16384|511,0)}),createNode:(function(parent,name,mode,dev){if(FS.isBlkdev(mode)||FS.isFIFO(mode)){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}if(!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 node=FS.createNode(parent,name,mode,dev);if(FS.isDir(node.mode)){node.node_ops=MEMFS.ops_table.dir.node;node.stream_ops=MEMFS.ops_table.dir.stream;node.contents={}}else if(FS.isFile(node.mode)){node.node_ops=MEMFS.ops_table.file.node;node.stream_ops=MEMFS.ops_table.file.stream;node.usedBytes=0;node.contents=null}else if(FS.isLink(node.mode)){node.node_ops=MEMFS.ops_table.link.node;node.stream_ops=MEMFS.ops_table.link.stream}else if(FS.isChrdev(node.mode)){node.node_ops=MEMFS.ops_table.chrdev.node;node.stream_ops=MEMFS.ops_table.chrdev.stream}node.timestamp=Date.now();if(parent){parent.contents[name]=node}return node}),getFileDataAsRegularArray:(function(node){if(node.contents&&node.contents.subarray){var arr=[];for(var i=0;inode.contents.length){node.contents=MEMFS.getFileDataAsRegularArray(node);node.usedBytes=node.contents.length}if(!node.contents||node.contents.subarray){var prevCapacity=node.contents?node.contents.buffer.byteLength:0;if(prevCapacity>=newCapacity)return;var CAPACITY_DOUBLING_MAX=1024*1024;newCapacity=Math.max(newCapacity,prevCapacity*(prevCapacity0)node.contents.set(oldContents.subarray(0,node.usedBytes),0);return}if(!node.contents&&newCapacity>0)node.contents=[];while(node.contents.lengthnewSize)node.contents.length=newSize;else while(node.contents.length=stream.node.usedBytes)return 0;var size=Math.min(stream.node.usedBytes-position,length);assert(size>=0);if(size>8&&contents.subarray){buffer.set(contents.subarray(position,position+size),offset)}else{for(var i=0;i0||position+lengthe2.timestamp){create.push(key);total++}}));var remove=[];Object.keys(dst.entries).forEach((function(key){var e=dst.entries[key];var e2=src.entries[key];if(!e2){remove.push(key);total++}}));if(!total){return callback(null)}var completed=0;var db=src.type==="remote"?src.db:dst.db;var transaction=db.transaction([IDBFS.DB_STORE_NAME],"readwrite");var store=transaction.objectStore(IDBFS.DB_STORE_NAME);function done(err){if(err){if(!done.errored){done.errored=true;return callback(err)}return}if(++completed>=total){return callback(null)}}transaction.onerror=(function(e){done(this.error);e.preventDefault()});create.sort().forEach((function(path){if(dst.type==="local"){IDBFS.loadRemoteEntry(store,path,(function(err,entry){if(err)return done(err);IDBFS.storeLocalEntry(path,entry,done)}))}else{IDBFS.loadLocalEntry(path,(function(err,entry){if(err)return done(err);IDBFS.storeRemoteEntry(store,path,entry,done)}))}}));remove.sort().reverse().forEach((function(path){if(dst.type==="local"){IDBFS.removeLocalEntry(path,done)}else{IDBFS.removeRemoteEntry(store,path,done)}}))})};var NODEFS={isWindows:false,staticInit:(function(){NODEFS.isWindows=!!process.platform.match(/^win/)}),mount:(function(mount){assert(ENVIRONMENT_IS_NODE);return NODEFS.createNode(null,"/",NODEFS.getMode(mount.opts.root),0)}),createNode:(function(parent,name,mode,dev){if(!FS.isDir(mode)&&!FS.isFile(mode)&&!FS.isLink(mode)){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}var node=FS.createNode(parent,name,mode);node.node_ops=NODEFS.node_ops;node.stream_ops=NODEFS.stream_ops;return node}),getMode:(function(path){var stat;try{stat=fs.lstatSync(path);if(NODEFS.isWindows){stat.mode=stat.mode|(stat.mode&146)>>1}}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}return stat.mode}),realPath:(function(node){var parts=[];while(node.parent!==node){parts.push(node.name);node=node.parent}parts.push(node.mount.opts.root);parts.reverse();return PATH.join.apply(null,parts)}),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(flags){flags&=~32768;flags&=~524288;if(flags in NODEFS.flagsToPermissionStringMap){return NODEFS.flagsToPermissionStringMap[flags]}else{throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}}),node_ops:{getattr:(function(node){var path=NODEFS.realPath(node);var stat;try{stat=fs.lstatSync(path)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}if(NODEFS.isWindows&&!stat.blksize){stat.blksize=4096}if(NODEFS.isWindows&&!stat.blocks){stat.blocks=(stat.size+stat.blksize-1)/stat.blksize|0}return{dev:stat.dev,ino:stat.ino,mode:stat.mode,nlink:stat.nlink,uid:stat.uid,gid:stat.gid,rdev:stat.rdev,size:stat.size,atime:stat.atime,mtime:stat.mtime,ctime:stat.ctime,blksize:stat.blksize,blocks:stat.blocks}}),setattr:(function(node,attr){var path=NODEFS.realPath(node);try{if(attr.mode!==undefined){fs.chmodSync(path,attr.mode);node.mode=attr.mode}if(attr.timestamp!==undefined){var date=new Date(attr.timestamp);fs.utimesSync(path,date,date)}if(attr.size!==undefined){fs.truncateSync(path,attr.size)}}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}}),lookup:(function(parent,name){var path=PATH.join2(NODEFS.realPath(parent),name);var mode=NODEFS.getMode(path);return NODEFS.createNode(parent,name,mode)}),mknod:(function(parent,name,mode,dev){var node=NODEFS.createNode(parent,name,mode,dev);var path=NODEFS.realPath(node);try{if(FS.isDir(node.mode)){fs.mkdirSync(path,node.mode)}else{fs.writeFileSync(path,"",{mode:node.mode})}}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}return node}),rename:(function(oldNode,newDir,newName){var oldPath=NODEFS.realPath(oldNode);var newPath=PATH.join2(NODEFS.realPath(newDir),newName);try{fs.renameSync(oldPath,newPath)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}}),unlink:(function(parent,name){var path=PATH.join2(NODEFS.realPath(parent),name);try{fs.unlinkSync(path)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}}),rmdir:(function(parent,name){var path=PATH.join2(NODEFS.realPath(parent),name);try{fs.rmdirSync(path)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}}),readdir:(function(node){var path=NODEFS.realPath(node);try{return fs.readdirSync(path)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}}),symlink:(function(parent,newName,oldPath){var newPath=PATH.join2(NODEFS.realPath(parent),newName);try{fs.symlinkSync(oldPath,newPath)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}}),readlink:(function(node){var path=NODEFS.realPath(node);try{path=fs.readlinkSync(path);path=NODEJS_PATH.relative(NODEJS_PATH.resolve(node.mount.opts.root),path);return path}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}})},stream_ops:{open:(function(stream){var path=NODEFS.realPath(stream.node);try{if(FS.isFile(stream.node.mode)){stream.nfd=fs.openSync(path,NODEFS.flagsToPermissionString(stream.flags))}}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}}),close:(function(stream){try{if(FS.isFile(stream.node.mode)&&stream.nfd){fs.closeSync(stream.nfd)}}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}}),read:(function(stream,buffer,offset,length,position){if(length===0)return 0;var nbuffer=new Buffer(length);var res;try{res=fs.readSync(stream.nfd,nbuffer,0,length,position)}catch(e){throw new FS.ErrnoError(ERRNO_CODES[e.code])}if(res>0){for(var i=0;i=stream.node.size)return 0;var chunk=stream.node.contents.slice(position,position+length);var ab=WORKERFS.reader.readAsArrayBuffer(chunk);buffer.set(new Uint8Array(ab),offset);return chunk.size}),write:(function(stream,buffer,offset,length,position){throw new FS.ErrnoError(ERRNO_CODES.EIO)}),llseek:(function(stream,offset,whence){var position=offset;if(whence===1){position+=stream.position}else if(whence===2){if(FS.isFile(stream.node.mode)){position+=stream.node.size}}if(position<0){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}return position})}};STATICTOP+=16;STATICTOP+=16;STATICTOP+=16;var FS={root:null,mounts:[],devices:[null],streams:[],nextInode:1,nameTable:null,currentPath:"/",initialized:false,ignorePermissions:true,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(path,opts){path=PATH.resolve(FS.cwd(),path);opts=opts||{};if(!path)return{path:"",node:null};var defaults={follow_mount:true,recurse_count:0};for(var key in defaults){if(opts[key]===undefined){opts[key]=defaults[key]}}if(opts.recurse_count>8){throw new FS.ErrnoError(ERRNO_CODES.ELOOP)}var parts=PATH.normalizeArray(path.split("/").filter((function(p){return!!p})),false);var current=FS.root;var current_path="/";for(var i=0;i40){throw new FS.ErrnoError(ERRNO_CODES.ELOOP)}}}}return{path:current_path,node:current}}),getPath:(function(node){var path;while(true){if(FS.isRoot(node)){var mount=node.mount.mountpoint;if(!path)return mount;return mount[mount.length-1]!=="/"?mount+"/"+path:mount+path}path=path?node.name+"/"+path:node.name;node=node.parent}}),hashName:(function(parentid,name){var hash=0;for(var i=0;i>>0)%FS.nameTable.length}),hashAddNode:(function(node){var hash=FS.hashName(node.parent.id,node.name);node.name_next=FS.nameTable[hash];FS.nameTable[hash]=node}),hashRemoveNode:(function(node){var hash=FS.hashName(node.parent.id,node.name);if(FS.nameTable[hash]===node){FS.nameTable[hash]=node.name_next}else{var current=FS.nameTable[hash];while(current){if(current.name_next===node){current.name_next=node.name_next;break}current=current.name_next}}}),lookupNode:(function(parent,name){var err=FS.mayLookup(parent);if(err){throw new FS.ErrnoError(err,parent)}var hash=FS.hashName(parent.id,name);for(var node=FS.nameTable[hash];node;node=node.name_next){var nodeName=node.name;if(node.parent.id===parent.id&&nodeName===name){return node}}return FS.lookup(parent,name)}),createNode:(function(parent,name,mode,rdev){if(!FS.FSNode){FS.FSNode=(function(parent,name,mode,rdev){if(!parent){parent=this}this.parent=parent;this.mount=parent.mount;this.mounted=null;this.id=FS.nextInode++;this.name=name;this.mode=mode;this.node_ops={};this.stream_ops={};this.rdev=rdev});FS.FSNode.prototype={};var readMode=292|73;var writeMode=146;Object.defineProperties(FS.FSNode.prototype,{read:{get:(function(){return(this.mode&readMode)===readMode}),set:(function(val){val?this.mode|=readMode:this.mode&=~readMode})},write:{get:(function(){return(this.mode&writeMode)===writeMode}),set:(function(val){val?this.mode|=writeMode:this.mode&=~writeMode})},isFolder:{get:(function(){return FS.isDir(this.mode)})},isDevice:{get:(function(){return FS.isChrdev(this.mode)})}})}var node=new FS.FSNode(parent,name,mode,rdev);FS.hashAddNode(node);return node}),destroyNode:(function(node){FS.hashRemoveNode(node)}),isRoot:(function(node){return node===node.parent}),isMountpoint:(function(node){return!!node.mounted}),isFile:(function(mode){return(mode&61440)===32768}),isDir:(function(mode){return(mode&61440)===16384}),isLink:(function(mode){return(mode&61440)===40960}),isChrdev:(function(mode){return(mode&61440)===8192}),isBlkdev:(function(mode){return(mode&61440)===24576}),isFIFO:(function(mode){return(mode&61440)===4096}),isSocket:(function(mode){return(mode&49152)===49152}),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(str){var flags=FS.flagModes[str];if(typeof flags==="undefined"){throw new Error("Unknown file open mode: "+str)}return flags}),flagsToPermissionString:(function(flag){var perms=["r","w","rw"][flag&3];if(flag&512){perms+="w"}return perms}),nodePermissions:(function(node,perms){if(FS.ignorePermissions){return 0}if(perms.indexOf("r")!==-1&&!(node.mode&292)){return ERRNO_CODES.EACCES}else if(perms.indexOf("w")!==-1&&!(node.mode&146)){return ERRNO_CODES.EACCES}else if(perms.indexOf("x")!==-1&&!(node.mode&73)){return ERRNO_CODES.EACCES}return 0}),mayLookup:(function(dir){var err=FS.nodePermissions(dir,"x");if(err)return err;if(!dir.node_ops.lookup)return ERRNO_CODES.EACCES;return 0}),mayCreate:(function(dir,name){try{var node=FS.lookupNode(dir,name);return ERRNO_CODES.EEXIST}catch(e){}return FS.nodePermissions(dir,"wx")}),mayDelete:(function(dir,name,isdir){var node;try{node=FS.lookupNode(dir,name)}catch(e){return e.errno}var err=FS.nodePermissions(dir,"wx");if(err){return err}if(isdir){if(!FS.isDir(node.mode)){return ERRNO_CODES.ENOTDIR}if(FS.isRoot(node)||FS.getPath(node)===FS.cwd()){return ERRNO_CODES.EBUSY}}else{if(FS.isDir(node.mode)){return ERRNO_CODES.EISDIR}}return 0}),mayOpen:(function(node,flags){if(!node){return ERRNO_CODES.ENOENT}if(FS.isLink(node.mode)){return ERRNO_CODES.ELOOP}else if(FS.isDir(node.mode)){if(FS.flagsToPermissionString(flags)!=="r"||flags&512){return ERRNO_CODES.EISDIR}}return FS.nodePermissions(node,FS.flagsToPermissionString(flags))}),MAX_OPEN_FDS:4096,nextfd:(function(fd_start,fd_end){fd_start=fd_start||0;fd_end=fd_end||FS.MAX_OPEN_FDS;for(var fd=fd_start;fd<=fd_end;fd++){if(!FS.streams[fd]){return fd}}throw new FS.ErrnoError(ERRNO_CODES.EMFILE)}),getStream:(function(fd){return FS.streams[fd]}),createStream:(function(stream,fd_start,fd_end){if(!FS.FSStream){FS.FSStream=(function(){});FS.FSStream.prototype={};Object.defineProperties(FS.FSStream.prototype,{object:{get:(function(){return this.node}),set:(function(val){this.node=val})},isRead:{get:(function(){return(this.flags&2097155)!==1})},isWrite:{get:(function(){return(this.flags&2097155)!==0})},isAppend:{get:(function(){return this.flags&1024})}})}var newStream=new FS.FSStream;for(var p in stream){newStream[p]=stream[p]}stream=newStream;var fd=FS.nextfd(fd_start,fd_end);stream.fd=fd;FS.streams[fd]=stream;return stream}),closeStream:(function(fd){FS.streams[fd]=null}),chrdev_stream_ops:{open:(function(stream){var device=FS.getDevice(stream.node.rdev);stream.stream_ops=device.stream_ops;if(stream.stream_ops.open){stream.stream_ops.open(stream)}}),llseek:(function(){throw new FS.ErrnoError(ERRNO_CODES.ESPIPE)})},major:(function(dev){return dev>>8}),minor:(function(dev){return dev&255}),makedev:(function(ma,mi){return ma<<8|mi}),registerDevice:(function(dev,ops){FS.devices[dev]={stream_ops:ops}}),getDevice:(function(dev){return FS.devices[dev]}),getMounts:(function(mount){var mounts=[];var check=[mount];while(check.length){var m=check.pop();mounts.push(m);check.push.apply(check,m.mounts)}return mounts}),syncfs:(function(populate,callback){if(typeof populate==="function"){callback=populate;populate=false}FS.syncFSRequests++;if(FS.syncFSRequests>1){console.log("warning: "+FS.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work")}var mounts=FS.getMounts(FS.root.mount);var completed=0;function doCallback(err){assert(FS.syncFSRequests>0);FS.syncFSRequests--;return callback(err)}function done(err){if(err){if(!done.errored){done.errored=true;return doCallback(err)}return}if(++completed>=mounts.length){doCallback(null)}}mounts.forEach((function(mount){if(!mount.type.syncfs){return done(null)}mount.type.syncfs(mount,populate,done)}))}),mount:(function(type,opts,mountpoint){var root=mountpoint==="/";var pseudo=!mountpoint;var node;if(root&&FS.root){throw new FS.ErrnoError(ERRNO_CODES.EBUSY)}else if(!root&&!pseudo){var lookup=FS.lookupPath(mountpoint,{follow_mount:false});mountpoint=lookup.path;node=lookup.node;if(FS.isMountpoint(node)){throw new FS.ErrnoError(ERRNO_CODES.EBUSY)}if(!FS.isDir(node.mode)){throw new FS.ErrnoError(ERRNO_CODES.ENOTDIR)}}var mount={type:type,opts:opts,mountpoint:mountpoint,mounts:[]};var mountRoot=type.mount(mount);mountRoot.mount=mount;mount.root=mountRoot;if(root){FS.root=mountRoot}else if(node){node.mounted=mount;if(node.mount){node.mount.mounts.push(mount)}}return mountRoot}),unmount:(function(mountpoint){var lookup=FS.lookupPath(mountpoint,{follow_mount:false});if(!FS.isMountpoint(lookup.node)){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}var node=lookup.node;var mount=node.mounted;var mounts=FS.getMounts(mount);Object.keys(FS.nameTable).forEach((function(hash){var current=FS.nameTable[hash];while(current){var next=current.name_next;if(mounts.indexOf(current.mount)!==-1){FS.destroyNode(current)}current=next}}));node.mounted=null;var idx=node.mount.mounts.indexOf(mount);assert(idx!==-1);node.mount.mounts.splice(idx,1)}),lookup:(function(parent,name){return parent.node_ops.lookup(parent,name)}),mknod:(function(path,mode,dev){var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;var name=PATH.basename(path);if(!name||name==="."||name===".."){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}var err=FS.mayCreate(parent,name);if(err){throw new FS.ErrnoError(err)}if(!parent.node_ops.mknod){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}return parent.node_ops.mknod(parent,name,mode,dev)}),create:(function(path,mode){mode=mode!==undefined?mode:438;mode&=4095;mode|=32768;return FS.mknod(path,mode,0)}),mkdir:(function(path,mode){mode=mode!==undefined?mode:511;mode&=511|512;mode|=16384;return FS.mknod(path,mode,0)}),mkdev:(function(path,mode,dev){if(typeof dev==="undefined"){dev=mode;mode=438}mode|=8192;return FS.mknod(path,mode,dev)}),symlink:(function(oldpath,newpath){if(!PATH.resolve(oldpath)){throw new FS.ErrnoError(ERRNO_CODES.ENOENT)}var lookup=FS.lookupPath(newpath,{parent:true});var parent=lookup.node;if(!parent){throw new FS.ErrnoError(ERRNO_CODES.ENOENT)}var newname=PATH.basename(newpath);var err=FS.mayCreate(parent,newname);if(err){throw new FS.ErrnoError(err)}if(!parent.node_ops.symlink){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}return parent.node_ops.symlink(parent,newname,oldpath)}),rename:(function(old_path,new_path){var old_dirname=PATH.dirname(old_path);var new_dirname=PATH.dirname(new_path);var old_name=PATH.basename(old_path);var new_name=PATH.basename(new_path);var lookup,old_dir,new_dir;try{lookup=FS.lookupPath(old_path,{parent:true});old_dir=lookup.node;lookup=FS.lookupPath(new_path,{parent:true});new_dir=lookup.node}catch(e){throw new FS.ErrnoError(ERRNO_CODES.EBUSY)}if(!old_dir||!new_dir)throw new FS.ErrnoError(ERRNO_CODES.ENOENT);if(old_dir.mount!==new_dir.mount){throw new FS.ErrnoError(ERRNO_CODES.EXDEV)}var old_node=FS.lookupNode(old_dir,old_name);var relative=PATH.relative(old_path,new_dirname);if(relative.charAt(0)!=="."){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}relative=PATH.relative(new_path,old_dirname);if(relative.charAt(0)!=="."){throw new FS.ErrnoError(ERRNO_CODES.ENOTEMPTY)}var new_node;try{new_node=FS.lookupNode(new_dir,new_name)}catch(e){}if(old_node===new_node){return}var isdir=FS.isDir(old_node.mode);var err=FS.mayDelete(old_dir,old_name,isdir);if(err){throw new FS.ErrnoError(err)}err=new_node?FS.mayDelete(new_dir,new_name,isdir):FS.mayCreate(new_dir,new_name);if(err){throw new FS.ErrnoError(err)}if(!old_dir.node_ops.rename){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}if(FS.isMountpoint(old_node)||new_node&&FS.isMountpoint(new_node)){throw new FS.ErrnoError(ERRNO_CODES.EBUSY)}if(new_dir!==old_dir){err=FS.nodePermissions(old_dir,"w");if(err){throw new FS.ErrnoError(err)}}try{if(FS.trackingDelegate["willMovePath"]){FS.trackingDelegate["willMovePath"](old_path,new_path)}}catch(e){console.log("FS.trackingDelegate['willMovePath']('"+old_path+"', '"+new_path+"') threw an exception: "+e.message)}FS.hashRemoveNode(old_node);try{old_dir.node_ops.rename(old_node,new_dir,new_name)}catch(e){throw e}finally{FS.hashAddNode(old_node)}try{if(FS.trackingDelegate["onMovePath"])FS.trackingDelegate["onMovePath"](old_path,new_path)}catch(e){console.log("FS.trackingDelegate['onMovePath']('"+old_path+"', '"+new_path+"') threw an exception: "+e.message)}}),rmdir:(function(path){var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;var name=PATH.basename(path);var node=FS.lookupNode(parent,name);var err=FS.mayDelete(parent,name,true);if(err){throw new FS.ErrnoError(err)}if(!parent.node_ops.rmdir){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}if(FS.isMountpoint(node)){throw new FS.ErrnoError(ERRNO_CODES.EBUSY)}try{if(FS.trackingDelegate["willDeletePath"]){FS.trackingDelegate["willDeletePath"](path)}}catch(e){console.log("FS.trackingDelegate['willDeletePath']('"+path+"') threw an exception: "+e.message)}parent.node_ops.rmdir(parent,name);FS.destroyNode(node);try{if(FS.trackingDelegate["onDeletePath"])FS.trackingDelegate["onDeletePath"](path)}catch(e){console.log("FS.trackingDelegate['onDeletePath']('"+path+"') threw an exception: "+e.message)}}),readdir:(function(path){var lookup=FS.lookupPath(path,{follow:true});var node=lookup.node;if(!node.node_ops.readdir){throw new FS.ErrnoError(ERRNO_CODES.ENOTDIR)}return node.node_ops.readdir(node)}),unlink:(function(path){var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;var name=PATH.basename(path);var node=FS.lookupNode(parent,name);var err=FS.mayDelete(parent,name,false);if(err){if(err===ERRNO_CODES.EISDIR)err=ERRNO_CODES.EPERM;throw new FS.ErrnoError(err)}if(!parent.node_ops.unlink){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}if(FS.isMountpoint(node)){throw new FS.ErrnoError(ERRNO_CODES.EBUSY)}try{if(FS.trackingDelegate["willDeletePath"]){FS.trackingDelegate["willDeletePath"](path)}}catch(e){console.log("FS.trackingDelegate['willDeletePath']('"+path+"') threw an exception: "+e.message)}parent.node_ops.unlink(parent,name);FS.destroyNode(node);try{if(FS.trackingDelegate["onDeletePath"])FS.trackingDelegate["onDeletePath"](path)}catch(e){console.log("FS.trackingDelegate['onDeletePath']('"+path+"') threw an exception: "+e.message)}}),readlink:(function(path){var lookup=FS.lookupPath(path);var link=lookup.node;if(!link){throw new FS.ErrnoError(ERRNO_CODES.ENOENT)}if(!link.node_ops.readlink){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}return PATH.resolve(FS.getPath(link.parent),link.node_ops.readlink(link))}),stat:(function(path,dontFollow){var lookup=FS.lookupPath(path,{follow:!dontFollow});var node=lookup.node;if(!node){throw new FS.ErrnoError(ERRNO_CODES.ENOENT)}if(!node.node_ops.getattr){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}return node.node_ops.getattr(node)}),lstat:(function(path){return FS.stat(path,true)}),chmod:(function(path,mode,dontFollow){var node;if(typeof path==="string"){var lookup=FS.lookupPath(path,{follow:!dontFollow});node=lookup.node}else{node=path}if(!node.node_ops.setattr){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}node.node_ops.setattr(node,{mode:mode&4095|node.mode&~4095,timestamp:Date.now()})}),lchmod:(function(path,mode){FS.chmod(path,mode,true)}),fchmod:(function(fd,mode){var stream=FS.getStream(fd);if(!stream){throw new FS.ErrnoError(ERRNO_CODES.EBADF)}FS.chmod(stream.node,mode)}),chown:(function(path,uid,gid,dontFollow){var node;if(typeof path==="string"){var lookup=FS.lookupPath(path,{follow:!dontFollow});node=lookup.node}else{node=path}if(!node.node_ops.setattr){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}node.node_ops.setattr(node,{timestamp:Date.now()})}),lchown:(function(path,uid,gid){FS.chown(path,uid,gid,true)}),fchown:(function(fd,uid,gid){var stream=FS.getStream(fd);if(!stream){throw new FS.ErrnoError(ERRNO_CODES.EBADF)}FS.chown(stream.node,uid,gid)}),truncate:(function(path,len){if(len<0){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}var node;if(typeof path==="string"){var lookup=FS.lookupPath(path,{follow:true});node=lookup.node}else{node=path}if(!node.node_ops.setattr){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}if(FS.isDir(node.mode)){throw new FS.ErrnoError(ERRNO_CODES.EISDIR)}if(!FS.isFile(node.mode)){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}var err=FS.nodePermissions(node,"w");if(err){throw new FS.ErrnoError(err)}node.node_ops.setattr(node,{size:len,timestamp:Date.now()})}),ftruncate:(function(fd,len){var stream=FS.getStream(fd);if(!stream){throw new FS.ErrnoError(ERRNO_CODES.EBADF)}if((stream.flags&2097155)===0){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}FS.truncate(stream.node,len)}),utime:(function(path,atime,mtime){var lookup=FS.lookupPath(path,{follow:true});var node=lookup.node;node.node_ops.setattr(node,{timestamp:Math.max(atime,mtime)})}),open:(function(path,flags,mode,fd_start,fd_end){if(path===""){throw new FS.ErrnoError(ERRNO_CODES.ENOENT)}flags=typeof flags==="string"?FS.modeStringToFlags(flags):flags;mode=typeof mode==="undefined"?438:mode;if(flags&64){mode=mode&4095|32768}else{mode=0}var node;if(typeof path==="object"){node=path}else{path=PATH.normalize(path);try{var lookup=FS.lookupPath(path,{follow:!(flags&131072)});node=lookup.node}catch(e){}}var created=false;if(flags&64){if(node){if(flags&128){throw new FS.ErrnoError(ERRNO_CODES.EEXIST)}}else{node=FS.mknod(path,mode,0);created=true}}if(!node){throw new FS.ErrnoError(ERRNO_CODES.ENOENT)}if(FS.isChrdev(node.mode)){flags&=~512}if(flags&65536&&!FS.isDir(node.mode)){throw new FS.ErrnoError(ERRNO_CODES.ENOTDIR)}if(!created){var err=FS.mayOpen(node,flags);if(err){throw new FS.ErrnoError(err)}}if(flags&512){FS.truncate(node,0)}flags&=~(128|512);var stream=FS.createStream({node:node,path:FS.getPath(node),flags:flags,seekable:true,position:0,stream_ops:node.stream_ops,ungotten:[],error:false},fd_start,fd_end);if(stream.stream_ops.open){stream.stream_ops.open(stream)}if(Module["logReadFiles"]&&!(flags&1)){if(!FS.readFiles)FS.readFiles={};if(!(path in FS.readFiles)){FS.readFiles[path]=1;Module["printErr"]("read file: "+path)}}try{if(FS.trackingDelegate["onOpenFile"]){var trackingFlags=0;if((flags&2097155)!==1){trackingFlags|=FS.tracking.openFlags.READ}if((flags&2097155)!==0){trackingFlags|=FS.tracking.openFlags.WRITE}FS.trackingDelegate["onOpenFile"](path,trackingFlags)}}catch(e){console.log("FS.trackingDelegate['onOpenFile']('"+path+"', flags) threw an exception: "+e.message)}return stream}),close:(function(stream){if(stream.getdents)stream.getdents=null;try{if(stream.stream_ops.close){stream.stream_ops.close(stream)}}catch(e){throw e}finally{FS.closeStream(stream.fd)}}),llseek:(function(stream,offset,whence){if(!stream.seekable||!stream.stream_ops.llseek){throw new FS.ErrnoError(ERRNO_CODES.ESPIPE)}stream.position=stream.stream_ops.llseek(stream,offset,whence);stream.ungotten=[];return stream.position}),read:(function(stream,buffer,offset,length,position){if(length<0||position<0){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}if((stream.flags&2097155)===1){throw new FS.ErrnoError(ERRNO_CODES.EBADF)}if(FS.isDir(stream.node.mode)){throw new FS.ErrnoError(ERRNO_CODES.EISDIR)}if(!stream.stream_ops.read){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}var seeking=true;if(typeof position==="undefined"){position=stream.position;seeking=false}else if(!stream.seekable){throw new FS.ErrnoError(ERRNO_CODES.ESPIPE)}var bytesRead=stream.stream_ops.read(stream,buffer,offset,length,position);if(!seeking)stream.position+=bytesRead;return bytesRead}),write:(function(stream,buffer,offset,length,position,canOwn){if(length<0||position<0){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}if((stream.flags&2097155)===0){throw new FS.ErrnoError(ERRNO_CODES.EBADF)}if(FS.isDir(stream.node.mode)){throw new FS.ErrnoError(ERRNO_CODES.EISDIR)}if(!stream.stream_ops.write){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}if(stream.flags&1024){FS.llseek(stream,0,2)}var seeking=true;if(typeof position==="undefined"){position=stream.position;seeking=false}else if(!stream.seekable){throw new FS.ErrnoError(ERRNO_CODES.ESPIPE)}var bytesWritten=stream.stream_ops.write(stream,buffer,offset,length,position,canOwn);if(!seeking)stream.position+=bytesWritten;try{if(stream.path&&FS.trackingDelegate["onWriteToFile"])FS.trackingDelegate["onWriteToFile"](stream.path)}catch(e){console.log("FS.trackingDelegate['onWriteToFile']('"+path+"') threw an exception: "+e.message)}return bytesWritten}),allocate:(function(stream,offset,length){if(offset<0||length<=0){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}if((stream.flags&2097155)===0){throw new FS.ErrnoError(ERRNO_CODES.EBADF)}if(!FS.isFile(stream.node.mode)&&!FS.isDir(node.mode)){throw new FS.ErrnoError(ERRNO_CODES.ENODEV)}if(!stream.stream_ops.allocate){throw new FS.ErrnoError(ERRNO_CODES.EOPNOTSUPP)}stream.stream_ops.allocate(stream,offset,length)}),mmap:(function(stream,buffer,offset,length,position,prot,flags){if((stream.flags&2097155)===1){throw new FS.ErrnoError(ERRNO_CODES.EACCES)}if(!stream.stream_ops.mmap){throw new FS.ErrnoError(ERRNO_CODES.ENODEV)}return stream.stream_ops.mmap(stream,buffer,offset,length,position,prot,flags)}),msync:(function(stream,buffer,offset,length,mmapFlags){if(!stream||!stream.stream_ops.msync){return 0}return stream.stream_ops.msync(stream,buffer,offset,length,mmapFlags)}),munmap:(function(stream){return 0}),ioctl:(function(stream,cmd,arg){if(!stream.stream_ops.ioctl){throw new FS.ErrnoError(ERRNO_CODES.ENOTTY)}return stream.stream_ops.ioctl(stream,cmd,arg)}),readFile:(function(path,opts){opts=opts||{};opts.flags=opts.flags||"r";opts.encoding=opts.encoding||"binary";if(opts.encoding!=="utf8"&&opts.encoding!=="binary"){throw new Error('Invalid encoding type "'+opts.encoding+'"')}var ret;var stream=FS.open(path,opts.flags);var stat=FS.stat(path);var length=stat.size;var buf=new Uint8Array(length);FS.read(stream,buf,0,length,0);if(opts.encoding==="utf8"){ret=UTF8ArrayToString(buf,0)}else if(opts.encoding==="binary"){ret=buf}FS.close(stream);return ret}),writeFile:(function(path,data,opts){opts=opts||{};opts.flags=opts.flags||"w";opts.encoding=opts.encoding||"utf8";if(opts.encoding!=="utf8"&&opts.encoding!=="binary"){throw new Error('Invalid encoding type "'+opts.encoding+'"')}var stream=FS.open(path,opts.flags,opts.mode);if(opts.encoding==="utf8"){var buf=new Uint8Array(lengthBytesUTF8(data)+1);var actualNumBytes=stringToUTF8Array(data,buf,0,buf.length);FS.write(stream,buf,0,actualNumBytes,0,opts.canOwn)}else if(opts.encoding==="binary"){FS.write(stream,data,0,data.length,0,opts.canOwn)}FS.close(stream)}),cwd:(function(){return FS.currentPath}),chdir:(function(path){var lookup=FS.lookupPath(path,{follow:true});if(!FS.isDir(lookup.node.mode)){throw new FS.ErrnoError(ERRNO_CODES.ENOTDIR)}var err=FS.nodePermissions(lookup.node,"x");if(err){throw new FS.ErrnoError(err)}FS.currentPath=lookup.path}),createDefaultDirectories:(function(){FS.mkdir("/tmp");FS.mkdir("/home");FS.mkdir("/home/web_user")}),createDefaultDevices:(function(){FS.mkdir("/dev");FS.registerDevice(FS.makedev(1,3),{read:(function(){return 0}),write:(function(stream,buffer,offset,length,pos){return length})});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));var random_device;if(typeof crypto!=="undefined"){var randomBuffer=new Uint8Array(1);random_device=(function(){crypto.getRandomValues(randomBuffer);return randomBuffer[0]})}else if(ENVIRONMENT_IS_NODE){random_device=(function(){return require("crypto").randomBytes(1)[0]})}else{random_device=(function(){return Math.random()*256|0})}FS.createDevice("/dev","random",random_device);FS.createDevice("/dev","urandom",random_device);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 node=FS.createNode("/proc/self","fd",16384|511,73);node.node_ops={lookup:(function(parent,name){var fd=+name;var stream=FS.getStream(fd);if(!stream)throw new FS.ErrnoError(ERRNO_CODES.EBADF);var ret={parent:null,mount:{mountpoint:"fake"},node_ops:{readlink:(function(){return stream.path})}};ret.parent=ret;return ret})};return node})},{},"/proc/self/fd")}),createStandardStreams:(function(){if(Module["stdin"]){FS.createDevice("/dev","stdin",Module["stdin"])}else{FS.symlink("/dev/tty","/dev/stdin")}if(Module["stdout"]){FS.createDevice("/dev","stdout",null,Module["stdout"])}else{FS.symlink("/dev/tty","/dev/stdout")}if(Module["stderr"]){FS.createDevice("/dev","stderr",null,Module["stderr"])}else{FS.symlink("/dev/tty1","/dev/stderr")}var stdin=FS.open("/dev/stdin","r");assert(stdin.fd===0,"invalid handle for stdin ("+stdin.fd+")");var stdout=FS.open("/dev/stdout","w");assert(stdout.fd===1,"invalid handle for stdout ("+stdout.fd+")");var stderr=FS.open("/dev/stderr","w");assert(stderr.fd===2,"invalid handle for stderr ("+stderr.fd+")")}),ensureErrnoError:(function(){if(FS.ErrnoError)return;FS.ErrnoError=function ErrnoError(errno,node){this.node=node;this.setErrno=(function(errno){this.errno=errno;for(var key in ERRNO_CODES){if(ERRNO_CODES[key]===errno){this.code=key;break}}});this.setErrno(errno);this.message=ERRNO_MESSAGES[errno]};FS.ErrnoError.prototype=new Error;FS.ErrnoError.prototype.constructor=FS.ErrnoError;[ERRNO_CODES.ENOENT].forEach((function(code){FS.genericErrors[code]=new FS.ErrnoError(code);FS.genericErrors[code].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(input,output,error){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=true;FS.ensureErrnoError();Module["stdin"]=input||Module["stdin"];Module["stdout"]=output||Module["stdout"];Module["stderr"]=error||Module["stderr"];FS.createStandardStreams()}),quit:(function(){FS.init.initialized=false;var fflush=Module["_fflush"];if(fflush)fflush(0);for(var i=0;ithis.length-1||idx<0){return undefined}var chunkOffset=idx%this.chunkSize;var chunkNum=idx/this.chunkSize|0;return this.getter(chunkNum)[chunkOffset]};LazyUint8Array.prototype.setDataGetter=function LazyUint8Array_setDataGetter(getter){this.getter=getter};LazyUint8Array.prototype.cacheLength=function LazyUint8Array_cacheLength(){var xhr=new XMLHttpRequest;xhr.open("HEAD",url,false);xhr.send(null);if(!(xhr.status>=200&&xhr.status<300||xhr.status===304))throw new Error("Couldn't load "+url+". Status: "+xhr.status);var datalength=Number(xhr.getResponseHeader("Content-length"));var header;var hasByteServing=(header=xhr.getResponseHeader("Accept-Ranges"))&&header==="bytes";var usesGzip=(header=xhr.getResponseHeader("Content-Encoding"))&&header==="gzip";var chunkSize=1024*1024;if(!hasByteServing)chunkSize=datalength;var doXHR=(function(from,to){if(from>to)throw new Error("invalid range ("+from+", "+to+") or no bytes requested!");if(to>datalength-1)throw new Error("only "+datalength+" bytes available! programmer error!");var xhr=new XMLHttpRequest;xhr.open("GET",url,false);if(datalength!==chunkSize)xhr.setRequestHeader("Range","bytes="+from+"-"+to);if(typeof Uint8Array!="undefined")xhr.responseType="arraybuffer";if(xhr.overrideMimeType){xhr.overrideMimeType("text/plain; charset=x-user-defined")}xhr.send(null);if(!(xhr.status>=200&&xhr.status<300||xhr.status===304))throw new Error("Couldn't load "+url+". Status: "+xhr.status);if(xhr.response!==undefined){return new Uint8Array(xhr.response||[])}else{return intArrayFromString(xhr.responseText||"",true)}});var lazyArray=this;lazyArray.setDataGetter((function(chunkNum){var start=chunkNum*chunkSize;var end=(chunkNum+1)*chunkSize-1;end=Math.min(end,datalength-1);if(typeof lazyArray.chunks[chunkNum]==="undefined"){lazyArray.chunks[chunkNum]=doXHR(start,end)}if(typeof lazyArray.chunks[chunkNum]==="undefined")throw new Error("doXHR failed!");return lazyArray.chunks[chunkNum]}));if(usesGzip||!datalength){chunkSize=datalength=1;datalength=this.getter(0).length;chunkSize=datalength;console.log("LazyFiles on gzip forces download of the whole file when length is accessed")}this._length=datalength;this._chunkSize=chunkSize;this.lengthKnown=true};if(typeof XMLHttpRequest!=="undefined"){if(!ENVIRONMENT_IS_WORKER)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var lazyArray=new LazyUint8Array;Object.defineProperties(lazyArray,{length:{get:(function(){if(!this.lengthKnown){this.cacheLength()}return this._length})},chunkSize:{get:(function(){if(!this.lengthKnown){this.cacheLength()}return this._chunkSize})}});var properties={isDevice:false,contents:lazyArray}}else{var properties={isDevice:false,url:url}}var node=FS.createFile(parent,name,properties,canRead,canWrite);if(properties.contents){node.contents=properties.contents}else if(properties.url){node.contents=null;node.url=properties.url}Object.defineProperties(node,{usedBytes:{get:(function(){return this.contents.length})}});var stream_ops={};var keys=Object.keys(node.stream_ops);keys.forEach((function(key){var fn=node.stream_ops[key];stream_ops[key]=function forceLoadLazyFile(){if(!FS.forceLoadFile(node)){throw new FS.ErrnoError(ERRNO_CODES.EIO)}return fn.apply(null,arguments)}}));stream_ops.read=function stream_ops_read(stream,buffer,offset,length,position){if(!FS.forceLoadFile(node)){throw new FS.ErrnoError(ERRNO_CODES.EIO)}var contents=stream.node.contents;if(position>=contents.length)return 0;var size=Math.min(contents.length-position,length);assert(size>=0);if(contents.slice){for(var i=0;i>2]=stat.dev;HEAP32[buf+4>>2]=0;HEAP32[buf+8>>2]=stat.ino;HEAP32[buf+12>>2]=stat.mode;HEAP32[buf+16>>2]=stat.nlink;HEAP32[buf+20>>2]=stat.uid;HEAP32[buf+24>>2]=stat.gid;HEAP32[buf+28>>2]=stat.rdev;HEAP32[buf+32>>2]=0;HEAP32[buf+36>>2]=stat.size;HEAP32[buf+40>>2]=4096;HEAP32[buf+44>>2]=stat.blocks;HEAP32[buf+48>>2]=stat.atime.getTime()/1e3|0;HEAP32[buf+52>>2]=0;HEAP32[buf+56>>2]=stat.mtime.getTime()/1e3|0;HEAP32[buf+60>>2]=0;HEAP32[buf+64>>2]=stat.ctime.getTime()/1e3|0;HEAP32[buf+68>>2]=0;HEAP32[buf+72>>2]=stat.ino;return 0}),doMsync:(function(addr,stream,len,flags){var buffer=new Uint8Array(HEAPU8.subarray(addr,addr+len));FS.msync(stream,buffer,0,len,flags)}),doMkdir:(function(path,mode){path=PATH.normalize(path);if(path[path.length-1]==="/")path=path.substr(0,path.length-1);FS.mkdir(path,mode,0);return 0}),doMknod:(function(path,mode,dev){switch(mode&61440){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-ERRNO_CODES.EINVAL}FS.mknod(path,mode,dev);return 0}),doReadlink:(function(path,buf,bufsize){if(bufsize<=0)return-ERRNO_CODES.EINVAL;var ret=FS.readlink(path);ret=ret.slice(0,Math.max(0,bufsize));writeStringToMemory(ret,buf,true);return ret.length}),doAccess:(function(path,amode){if(amode&~7){return-ERRNO_CODES.EINVAL}var node;var lookup=FS.lookupPath(path,{follow:true});node=lookup.node;var perms="";if(amode&4)perms+="r";if(amode&2)perms+="w";if(amode&1)perms+="x";if(perms&&FS.nodePermissions(node,perms)){return-ERRNO_CODES.EACCES}return 0}),doDup:(function(path,flags,suggestFD){var suggest=FS.getStream(suggestFD);if(suggest)FS.close(suggest);return FS.open(path,flags,0,suggestFD,suggestFD).fd}),doReadv:(function(stream,iov,iovcnt,offset){var ret=0;for(var i=0;i>2];var len=HEAP32[iov+(i*8+4)>>2];var curr=FS.read(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr;if(curr>2];var len=HEAP32[iov+(i*8+4)>>2];var curr=FS.write(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr}return ret}),varargs:0,get:(function(varargs){SYSCALLS.varargs+=4;var ret=HEAP32[SYSCALLS.varargs-4>>2];return ret}),getStr:(function(){var ret=Pointer_stringify(SYSCALLS.get());return ret}),getStreamFromFD:(function(){var stream=FS.getStream(SYSCALLS.get());if(!stream)throw new FS.ErrnoError(ERRNO_CODES.EBADF);return stream}),getSocketFromFD:(function(){var socket=SOCKFS.getSocket(SYSCALLS.get());if(!socket)throw new FS.ErrnoError(ERRNO_CODES.EBADF);return socket}),getSocketAddress:(function(allowNull){var addrp=SYSCALLS.get(),addrlen=SYSCALLS.get();if(allowNull&&addrp===0)return null;var info=__read_sockaddr(addrp,addrlen);if(info.errno)throw new FS.ErrnoError(info.errno);info.addr=DNS.lookup_addr(info.addr)||info.addr;return info}),get64:(function(){var low=SYSCALLS.get(),high=SYSCALLS.get();if(low>=0)assert(high===0);else assert(high===-1);return low}),getZero:(function(){assert(SYSCALLS.get()===0)})};function ___syscall118(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD();return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function _emscripten_glVertexPointer(){throw"Legacy GL function (glVertexPointer) called. If you want legacy GL emulation, you need to compile with -s LEGACY_GL_EMULATION=1 to enable legacy GL emulation."}function _emscripten_glUniform3iv(location,count,value){location=GL.uniforms[location];count*=3;value=HEAP32.subarray(value>>2,value+count*4>>2);GLctx.uniform3iv(location,value)}var _emscripten_GetProcAddress=undefined;Module["_emscripten_GetProcAddress"]=_emscripten_GetProcAddress;function _eglGetProcAddress(name_){return _emscripten_GetProcAddress(name_)}function _emscripten_glShaderSource(shader,count,string,length){var source=GL.getSource(shader,count,string,length);GLctx.shaderSource(GL.shaders[shader],source)}function _pthread_mutex_init(){}var _llvm_pow_f32=Math_pow;var _tzname=STATICTOP;STATICTOP+=16;var _daylight=STATICTOP;STATICTOP+=16;var _timezone=STATICTOP;STATICTOP+=16;function _tzset(){if(_tzset.called)return;_tzset.called=true;HEAP32[_timezone>>2]=-(new Date).getTimezoneOffset()*60;var winter=new Date(2e3,0,1);var summer=new Date(2e3,6,1);HEAP32[_daylight>>2]=Number(winter.getTimezoneOffset()!=summer.getTimezoneOffset());function extractZone(date){var match=date.toTimeString().match(/\(([A-Za-z ]+)\)$/);return match?match[1]:"GMT"}var winterName=extractZone(winter);var summerName=extractZone(summer);var winterNamePtr=allocate(intArrayFromString(winterName),"i8",ALLOC_NORMAL);var summerNamePtr=allocate(intArrayFromString(summerName),"i8",ALLOC_NORMAL);if(summer.getTimezoneOffset()>2]=winterNamePtr;HEAP32[_tzname+4>>2]=summerNamePtr}else{HEAP32[_tzname>>2]=summerNamePtr;HEAP32[_tzname+4>>2]=winterNamePtr}}function _mktime(tmPtr){_tzset();var date=new Date(HEAP32[tmPtr+20>>2]+1900,HEAP32[tmPtr+16>>2],HEAP32[tmPtr+12>>2],HEAP32[tmPtr+8>>2],HEAP32[tmPtr+4>>2],HEAP32[tmPtr>>2],0);var dst=HEAP32[tmPtr+32>>2];var guessedOffset=date.getTimezoneOffset();var start=new Date(date.getFullYear(),0,1);var summerOffset=(new Date(2e3,6,1)).getTimezoneOffset();var winterOffset=start.getTimezoneOffset();var dstOffset=Math.min(winterOffset,summerOffset);if(dst<0){HEAP32[tmPtr+32>>2]=Number(dstOffset==guessedOffset)}else if(dst>0!=(dstOffset==guessedOffset)){var nonDstOffset=Math.max(winterOffset,summerOffset);var trueOffset=dst>0?dstOffset:nonDstOffset;date.setTime(date.getTime()+(trueOffset-guessedOffset)*6e4)}HEAP32[tmPtr+24>>2]=date.getDay();var yday=(date.getTime()-start.getTime())/(1e3*60*60*24)|0;HEAP32[tmPtr+28>>2]=yday;return date.getTime()/1e3|0}function _emscripten_glIsTexture(texture){var texture=GL.textures[texture];if(!texture)return 0;return GLctx.isTexture(texture)}function _emscripten_glTexParameterf(x0,x1,x2){GLctx.texParameterf(x0,x1,x2)}var DLFCN={error:null,errorMsg:null,loadedLibs:{},loadedLibNames:{}};function _dlerror(){if(DLFCN.errorMsg===null){return 0}else{if(DLFCN.error)_free(DLFCN.error);var msgArr=intArrayFromString(DLFCN.errorMsg);DLFCN.error=allocate(msgArr,"i8",ALLOC_NORMAL);DLFCN.errorMsg=null;return DLFCN.error}}var _llvm_sqrt_f64=Math_sqrt;function _eglWaitGL(){return _eglWaitClient.apply(null,arguments)}function ___syscall54(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),op=SYSCALLS.get();switch(op){case 21505:{if(!stream.tty)return-ERRNO_CODES.ENOTTY;return 0};case 21506:{if(!stream.tty)return-ERRNO_CODES.ENOTTY;return 0};case 21519:{if(!stream.tty)return-ERRNO_CODES.ENOTTY;var argp=SYSCALLS.get();HEAP32[argp>>2]=0;return 0};case 21520:{if(!stream.tty)return-ERRNO_CODES.ENOTTY;return-ERRNO_CODES.EINVAL};case 21531:{var argp=SYSCALLS.get();return FS.ioctl(stream,op,argp)};default:abort("bad ioctl syscall "+op)}}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}var ___tm_current=STATICTOP;STATICTOP+=48;var ___tm_timezone=allocate(intArrayFromString("GMT"),"i8",ALLOC_STATIC);function _localtime_r(time,tmPtr){_tzset();var date=new Date(HEAP32[time>>2]*1e3);HEAP32[tmPtr>>2]=date.getSeconds();HEAP32[tmPtr+4>>2]=date.getMinutes();HEAP32[tmPtr+8>>2]=date.getHours();HEAP32[tmPtr+12>>2]=date.getDate();HEAP32[tmPtr+16>>2]=date.getMonth();HEAP32[tmPtr+20>>2]=date.getFullYear()-1900;HEAP32[tmPtr+24>>2]=date.getDay();var start=new Date(date.getFullYear(),0,1);var yday=(date.getTime()-start.getTime())/(1e3*60*60*24)|0;HEAP32[tmPtr+28>>2]=yday;HEAP32[tmPtr+36>>2]=-(date.getTimezoneOffset()*60);var summerOffset=(new Date(2e3,6,1)).getTimezoneOffset();var winterOffset=start.getTimezoneOffset();var dst=date.getTimezoneOffset()==Math.min(winterOffset,summerOffset)|0;HEAP32[tmPtr+32>>2]=dst;var zonePtr=HEAP32[_tzname+(dst?Runtime.QUANTUM_SIZE:0)>>2];HEAP32[tmPtr+40>>2]=zonePtr;return tmPtr}function _localtime(time){return _localtime_r(time,___tm_current)}function _eglSwapBuffers(){if(!EGL.defaultDisplayInitialized){EGL.setErrorCode(12289)}else if(!Module.ctx){EGL.setErrorCode(12290)}else if(Module.ctx.isContextLost()){EGL.setErrorCode(12302)}else{EGL.setErrorCode(12288);return 1}return 0}function _emscripten_glFrustum(){Module["printErr"]("missing function: emscripten_glFrustum");abort(-1)}function _emscripten_glGetTexParameterfv(target,pname,params){if(!params){GL.recordError(1281);return}HEAPF32[params>>2]=GLctx.getTexParameter(target,pname)}function _emscripten_glUniform4i(location,v0,v1,v2,v3){location=GL.uniforms[location];GLctx.uniform4i(location,v0,v1,v2,v3)}function _emscripten_glBindRenderbuffer(target,renderbuffer){GLctx.bindRenderbuffer(target,renderbuffer?GL.renderbuffers[renderbuffer]:null)}function _emscripten_glViewport(x0,x1,x2,x3){GLctx.viewport(x0,x1,x2,x3)}var AL={contexts:[],currentContext:null,alcErr:0,stringCache:{},alcStringCache:{},QUEUE_INTERVAL:25,QUEUE_LOOKAHEAD:100,newSrcId:1,updateSources:function updateSources(context){if(Browser.mainLoop.timingMode==1&&document["visibilityState"]!="visible")return;for(var srcId in context.src){AL.updateSource(context.src[srcId])}},updateSource:function updateSource(src){if(src.state!==4114){return}var currentTime=AL.currentContext.ctx.currentTime;var startTime=src.bufferPosition;for(var i=src.buffersPlayed;i=endTime){src.bufferPosition=endTime;src.buffersPlayed=i+1;if(src.buffersPlayed>=src.queue.length){if(src.loop){AL.setSourceState(src,4114)}else{AL.setSourceState(src,4116)}}}else if(startOffset>2]=1;break;case 4097:HEAP32[data>>2]=1;break;case 4098:if(!device){AL.alcErr=40961;return 0}HEAP32[data>>2]=1;break;case 4099:if(!device){AL.alcErr=40961;return 0}HEAP32[data>>2]=0;break;case 131075:if(!device){AL.currentContext.err=40961;return 0}HEAP32[data>>2]=1;default:AL.alcErr=40963;break}}function _dlclose(handle){if(!DLFCN.loadedLibs[handle]){DLFCN.errorMsg="Tried to dlclose() unopened handle: "+handle;return 1}else{var lib_record=DLFCN.loadedLibs[handle];if(--lib_record.refcount==0){if(lib_record.module.cleanups){lib_record.module.cleanups.forEach((function(cleanup){cleanup()}))}delete DLFCN.loadedLibNames[lib_record.name];delete DLFCN.loadedLibs[handle]}return 0}}function _emscripten_get_gamepad_status(index,gamepadState){if(!navigator.getGamepads&&!navigator.webkitGetGamepads)return-1;var gamepads;if(navigator.getGamepads){gamepads=navigator.getGamepads()}else if(navigator.webkitGetGamepads){gamepads=navigator.webkitGetGamepads()}if(index<0||index>=gamepads.length){return-5}if(!gamepads[index]){return-7}JSEvents.fillGamepadEventData(gamepadState,gamepads[index]);return 0}var _llvm_pow_f64=Math_pow;function _emscripten_glCopyTexImage2D(x0,x1,x2,x3,x4,x5,x6,x7){GLctx.copyTexImage2D(x0,x1,x2,x3,x4,x5,x6,x7)}function _emscripten_glTexParameterfv(target,pname,params){var param=HEAPF32[params>>2];GLctx.texParameterf(target,pname,param)}function _emscripten_glDepthRangef(x0,x1){GLctx.depthRange(x0,x1)}var _llvm_fabs_f32=Math_abs;function _emscripten_glUniform3f(location,v0,v1,v2){location=GL.uniforms[location];GLctx.uniform3f(location,v0,v1,v2)}function _emscripten_glGetObjectParameterivARB(){Module["printErr"]("missing function: emscripten_glGetObjectParameterivARB");abort(-1)}function _emscripten_glBlendFunc(x0,x1){GLctx.blendFunc(x0,x1)}function _emscripten_glUniform3i(location,v0,v1,v2){location=GL.uniforms[location];GLctx.uniform3i(location,v0,v1,v2)}function _emscripten_glStencilOp(x0,x1,x2){GLctx.stencilOp(x0,x1,x2)}function _alcDestroyContext(context){clearInterval(AL.contexts[context-1].interval)}function _emscripten_glBindAttribLocation(program,index,name){name=Pointer_stringify(name);GLctx.bindAttribLocation(GL.programs[program],index,name)}var PROCINFO={ppid:1,pid:42,sid:42,pgid:42};function ___syscall20(which,varargs){SYSCALLS.varargs=varargs;try{return PROCINFO.pid}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function _emscripten_glEnableVertexAttribArray(index){var cb=GL.currentContext.clientBuffers[index];cb.enabled=true;GLctx.enableVertexAttribArray(index)}Module["_memset"]=_memset;function _emscripten_glUniform1i(location,v0){location=GL.uniforms[location];GLctx.uniform1i(location,v0)}function _alDeleteBuffers(count,buffers){if(!AL.currentContext){return}if(count>AL.currentContext.buf.length){AL.currentContext.err=40963;return}for(var i=0;i>2]-1;if(bufferIdx>=AL.currentContext.buf.length||!AL.currentContext.buf[bufferIdx]){AL.currentContext.err=40961;return}var buffer=AL.currentContext.buf[bufferIdx];for(var srcId in AL.currentContext.src){var src=AL.currentContext.src[srcId];if(!src){continue}for(var k=0;k>2]-1;delete AL.currentContext.buf[bufferIdx]}}function _atexit(func,arg){__ATEXIT__.unshift({func:func,arg:arg})}function _emscripten_set_touchcancel_callback(target,userData,useCapture,callbackfunc){JSEvents.registerTouchEventCallback(target,userData,useCapture,callbackfunc,25,"touchcancel");return 0}var GLUT={initTime:null,idleFunc:null,displayFunc:null,keyboardFunc:null,keyboardUpFunc:null,specialFunc:null,specialUpFunc:null,reshapeFunc:null,motionFunc:null,passiveMotionFunc:null,mouseFunc:null,buttons:0,modifiers:0,initWindowWidth:256,initWindowHeight:256,initDisplayMode:18,windowX:0,windowY:0,windowWidth:0,windowHeight:0,requestedAnimationFrame:false,saveModifiers:(function(event){GLUT.modifiers=0;if(event["shiftKey"])GLUT.modifiers+=1;if(event["ctrlKey"])GLUT.modifiers+=2;if(event["altKey"])GLUT.modifiers+=4}),onMousemove:(function(event){var lastX=Browser.mouseX;var lastY=Browser.mouseY;Browser.calculateMouseEvent(event);var newX=Browser.mouseX;var newY=Browser.mouseY;if(newX==lastX&&newY==lastY)return;if(GLUT.buttons==0&&event.target==Module["canvas"]&&GLUT.passiveMotionFunc){event.preventDefault();GLUT.saveModifiers(event);Runtime.dynCall("vii",GLUT.passiveMotionFunc,[lastX,lastY])}else if(GLUT.buttons!=0&&GLUT.motionFunc){event.preventDefault();GLUT.saveModifiers(event);Runtime.dynCall("vii",GLUT.motionFunc,[lastX,lastY])}}),getSpecialKey:(function(keycode){var key=null;switch(keycode){case 8:key=120;break;case 46:key=111;break;case 112:key=1;break;case 113:key=2;break;case 114:key=3;break;case 115:key=4;break;case 116:key=5;break;case 117:key=6;break;case 118:key=7;break;case 119:key=8;break;case 120:key=9;break;case 121:key=10;break;case 122:key=11;break;case 123:key=12;break;case 37:key=100;break;case 38:key=101;break;case 39:key=102;break;case 40:key=103;break;case 33:key=104;break;case 34:key=105;break;case 36:key=106;break;case 35:key=107;break;case 45:key=108;break;case 16:case 5:key=112;break;case 6:key=113;break;case 17:case 3:key=114;break;case 4:key=115;break;case 18:case 2:key=116;break;case 1:key=117;break}return key}),getASCIIKey:(function(event){if(event["ctrlKey"]||event["altKey"]||event["metaKey"])return null;var keycode=event["keyCode"];if(48<=keycode&&keycode<=57)return keycode;if(65<=keycode&&keycode<=90)return event["shiftKey"]?keycode:keycode+32;if(96<=keycode&&keycode<=105)return keycode-48;if(106<=keycode&&keycode<=111)return keycode-106+42;switch(keycode){case 9:case 13:case 27:case 32:case 61:return keycode}var s=event["shiftKey"];switch(keycode){case 186:return s?58:59;case 187:return s?43:61;case 188:return s?60:44;case 189:return s?95:45;case 190:return s?62:46;case 191:return s?63:47;case 219:return s?123:91;case 220:return s?124:47;case 221:return s?125:93;case 222:return s?34:39}return null}),onKeydown:(function(event){if(GLUT.specialFunc||GLUT.keyboardFunc){var key=GLUT.getSpecialKey(event["keyCode"]);if(key!==null){if(GLUT.specialFunc){event.preventDefault();GLUT.saveModifiers(event);Runtime.dynCall("viii",GLUT.specialFunc,[key,Browser.mouseX,Browser.mouseY])}}else{key=GLUT.getASCIIKey(event);if(key!==null&&GLUT.keyboardFunc){event.preventDefault();GLUT.saveModifiers(event);Runtime.dynCall("viii",GLUT.keyboardFunc,[key,Browser.mouseX,Browser.mouseY])}}}}),onKeyup:(function(event){if(GLUT.specialUpFunc||GLUT.keyboardUpFunc){var key=GLUT.getSpecialKey(event["keyCode"]);if(key!==null){if(GLUT.specialUpFunc){event.preventDefault();GLUT.saveModifiers(event);Runtime.dynCall("viii",GLUT.specialUpFunc,[key,Browser.mouseX,Browser.mouseY])}}else{key=GLUT.getASCIIKey(event);if(key!==null&&GLUT.keyboardUpFunc){event.preventDefault();GLUT.saveModifiers(event);Runtime.dynCall("viii",GLUT.keyboardUpFunc,[key,Browser.mouseX,Browser.mouseY])}}}}),onMouseButtonDown:(function(event){Browser.calculateMouseEvent(event);GLUT.buttons|=1<0?Math.max(delta,1):Math.min(delta,-1);var button=3;if(delta<0){button=4}if(GLUT.mouseFunc){event.preventDefault();GLUT.saveModifiers(event);Runtime.dynCall("viiii",GLUT.mouseFunc,[button,0,Browser.mouseX,Browser.mouseY])}}),onFullScreenEventChange:(function(event){var width;var height;if(document["fullScreen"]||document["mozFullScreen"]||document["webkitIsFullScreen"]){width=screen["width"];height=screen["height"]}else{width=GLUT.windowWidth;height=GLUT.windowHeight;document.removeEventListener("fullscreenchange",GLUT.onFullScreenEventChange,true);document.removeEventListener("mozfullscreenchange",GLUT.onFullScreenEventChange,true);document.removeEventListener("webkitfullscreenchange",GLUT.onFullScreenEventChange,true)}Browser.setCanvasSize(width,height);if(GLUT.reshapeFunc){Runtime.dynCall("vii",GLUT.reshapeFunc,[width,height])}_glutPostRedisplay()}),requestFullScreen:(function(){var RFS=Module["canvas"]["requestFullscreen"]||Module["canvas"]["requestFullScreen"]||Module["canvas"]["mozRequestFullScreen"]||Module["canvas"]["webkitRequestFullScreen"]||(function(){});RFS.apply(Module["canvas"],[])}),cancelFullScreen:(function(){var CFS=document["exitFullscreen"]||document["cancelFullScreen"]||document["mozCancelFullScreen"]||document["webkitCancelFullScreen"]||(function(){});CFS.apply(document,[])})};function _glutDestroyWindow(name){Module.ctx=Browser.destroyContext(Module["canvas"],true,true);return 1}function _eglDestroyContext(display,context){if(display!=62e3){EGL.setErrorCode(12296);return 0}if(context!=62004){EGL.setErrorCode(12294);return 0}EGL.setErrorCode(12288);return 1}function ___lock(){}function _emscripten_glBlendFuncSeparate(x0,x1,x2,x3){GLctx.blendFuncSeparate(x0,x1,x2,x3)}function _emscripten_glGetVertexAttribPointerv(index,pname,pointer){if(!pointer){GL.recordError(1281);return}if(GL.currentContext.clientBuffers[index].enabled){Module.printErr("glGetVertexAttribPointer on client-side array: not supported, bad data returned")}HEAP32[pointer>>2]=GLctx.getVertexAttribOffset(index,pname)}function _emscripten_glVertexAttrib3f(x0,x1,x2,x3){GLctx.vertexAttrib3f(x0,x1,x2,x3)}function _clock(){if(_clock.start===undefined)_clock.start=Date.now();return(Date.now()-_clock.start)*(1e6/1e3)|0}function _emscripten_glCopyTexSubImage2D(x0,x1,x2,x3,x4,x5,x6,x7){GLctx.copyTexSubImage2D(x0,x1,x2,x3,x4,x5,x6,x7)}function _emscripten_glNormalPointer(){Module["printErr"]("missing function: emscripten_glNormalPointer");abort(-1)}function _emscripten_glTexParameteri(x0,x1,x2){GLctx.texParameteri(x0,x1,x2)}function _emscripten_get_pointerlock_status(pointerlockStatus){if(pointerlockStatus)JSEvents.fillPointerlockChangeEventData(pointerlockStatus);if(!document.body.requestPointerLock&&!document.body.mozRequestPointerLock&&!document.body.webkitRequestPointerLock&&!document.body.msRequestPointerLock){return-1}return 0}function _alSourcePlay(source){if(!AL.currentContext){return}var src=AL.currentContext.src[source];if(!src){AL.currentContext.err=40961;return}AL.setSourceState(src,4114)}function _eglSwapInterval(display,interval){if(display!=62e3){EGL.setErrorCode(12296);return 0}if(interval==0)_emscripten_set_main_loop_timing(0,0);else _emscripten_set_main_loop_timing(1,interval);EGL.setErrorCode(12288);return 1}function emscriptenWebGLGetVertexAttrib(index,pname,params,type){if(!params){GL.recordError(1281);return}if(GL.currentContext.clientBuffers[index].enabled){Module.printErr("glGetVertexAttrib*v on client-side array: not supported, bad data returned")}var data=GLctx.getVertexAttrib(index,pname);if(typeof data=="number"||typeof data=="boolean"){switch(type){case"Integer":HEAP32[params>>2]=data;break;case"Float":HEAPF32[params>>2]=data;break;case"FloatToInteger":HEAP32[params>>2]=Math.fround(data);break;default:throw"internal emscriptenWebGLGetVertexAttrib() error, bad type: "+type}}else{for(var i=0;i>2]=data[i];break;case"Float":HEAPF32[params+i>>2]=data[i];break;case"FloatToInteger":HEAP32[params+i>>2]=Math.fround(data[i]);break;default:throw"internal emscriptenWebGLGetVertexAttrib() error, bad type: "+type}}}}function _emscripten_glGetVertexAttribfv(index,pname,params){emscriptenWebGLGetVertexAttrib(index,pname,params,"Float")}function _emscripten_set_touchstart_callback(target,userData,useCapture,callbackfunc){JSEvents.registerTouchEventCallback(target,userData,useCapture,callbackfunc,22,"touchstart");return 0}function _emscripten_get_battery_status(batteryState){if(!JSEvents.battery())return-1;JSEvents.fillBatteryEventData(batteryState,JSEvents.battery());return 0}function ___cxa_guard_acquire(variable){if(!HEAP8[variable>>0]){HEAP8[variable>>0]=1;return 1}return 0}function _emscripten_glDrawArraysInstanced(mode,first,count,primcount){GLctx["drawArraysInstanced"](mode,first,count,primcount)}function _emscripten_glDeleteBuffers(n,buffers){for(var i=0;i>2];var buffer=GL.buffers[id];if(!buffer)continue;GLctx.deleteBuffer(buffer);buffer.name=0;GL.buffers[id]=null;if(id==GL.currArrayBuffer)GL.currArrayBuffer=0;if(id==GL.currElementArrayBuffer)GL.currElementArrayBuffer=0}}function _emscripten_glUniformMatrix2fv(location,count,transpose,value){location=GL.uniforms[location];var view;if(count===1){view=GL.miniTempBufferViews[3];for(var i=0;i<4;i++){view[i]=HEAPF32[value+i*4>>2]}}else{view=HEAPF32.subarray(value>>2,value+count*16>>2)}GLctx.uniformMatrix2fv(location,transpose,view)}function _emscripten_glDeleteShader(id){if(!id)return;var shader=GL.shaders[id];if(!shader){GL.recordError(1281);return}GLctx.deleteShader(shader);GL.shaders[id]=null}function ___syscall5(which,varargs){SYSCALLS.varargs=varargs;try{var pathname=SYSCALLS.getStr(),flags=SYSCALLS.get(),mode=SYSCALLS.get();var stream=FS.open(pathname,flags,mode);return stream.fd}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall4(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),buf=SYSCALLS.get(),count=SYSCALLS.get();return FS.write(stream,HEAP8,buf,count)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall6(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD();FS.close(stream);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function _getpwuid(uid){return 0}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_STATIC);Module["_llvm_cttz_i32"]=_llvm_cttz_i32;function _llvm_cttz_i64(l,h){var ret=_llvm_cttz_i32(l);if(ret==32)ret+=_llvm_cttz_i32(h);return(asm["setTempRet0"](0),ret)|0}function _alGetListenerf(pname,value){if(!AL.currentContext){return}switch(pname){case 4106:HEAPF32[value>>2]=AL.currentContext.gain.gain.value;break;default:AL.currentContext.err=40962;break}}function _emscripten_glGetVertexAttribiv(index,pname,params){emscriptenWebGLGetVertexAttrib(index,pname,params,"FloatToInteger")}function _emscripten_glUniformMatrix4fv(location,count,transpose,value){location=GL.uniforms[location];var view;if(count===1){view=GL.miniTempBufferViews[15];for(var i=0;i<16;i++){view[i]=HEAPF32[value+i*4>>2]}}else{view=HEAPF32.subarray(value>>2,value+count*64>>2)}GLctx.uniformMatrix4fv(location,transpose,view)}function _emscripten_glEnableClientState(){Module["printErr"]("missing function: emscripten_glEnableClientState");abort(-1)}function ___syscall265(which,varargs){SYSCALLS.varargs=varargs;try{return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function _emscripten_glGetPointerv(){Module["printErr"]("missing function: emscripten_glGetPointerv");abort(-1)}function _alcCaptureSamples(){Module["printErr"]("missing function: alcCaptureSamples");abort(-1)}function _eglChooseConfig(display,attrib_list,configs,config_size,numConfigs){return EGL.chooseConfig(display,attrib_list,configs,config_size,numConfigs)}function ___syscall146(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),iov=SYSCALLS.get(),iovcnt=SYSCALLS.get();return SYSCALLS.doWritev(stream,iov,iovcnt)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function _alSource3f(source,param,v1,v2,v3){if(!AL.currentContext){return}var src=AL.currentContext.src[source];if(!src){AL.currentContext.err=40961;return}switch(param){case 4100:src.position=[v1,v2,v3];break;case 4101:src.direction=[v1,v2,v3];break;case 4102:src.velocity=[v1,v2,v3];break;default:AL.currentContext.err=40962;break}}function _alSourcefv(source,param,value){_alSource3f(source,param,HEAPF32[value>>2],HEAPF32[value+4>>2],HEAPF32[value+8>>2])}function ___syscall145(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),iov=SYSCALLS.get(),iovcnt=SYSCALLS.get();return SYSCALLS.doReadv(stream,iov,iovcnt)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function _emscripten_glStencilMask(x0){GLctx.stencilMask(x0)}function _emscripten_glStencilFuncSeparate(x0,x1,x2,x3){GLctx.stencilFuncSeparate(x0,x1,x2,x3)}function _eglGetConfigAttrib(display,config,attribute,value){if(display!=62e3){EGL.setErrorCode(12296);return 0}if(config!=62002){EGL.setErrorCode(12293);return 0}if(!value){EGL.setErrorCode(12300);return 0}EGL.setErrorCode(12288);switch(attribute){case 12320:HEAP32[value>>2]=32;return 1;case 12321:HEAP32[value>>2]=8;return 1;case 12322:HEAP32[value>>2]=8;return 1;case 12323:HEAP32[value>>2]=8;return 1;case 12324:HEAP32[value>>2]=8;return 1;case 12325:HEAP32[value>>2]=24;return 1;case 12326:HEAP32[value>>2]=8;return 1;case 12327:HEAP32[value>>2]=12344;return 1;case 12328:HEAP32[value>>2]=62002;return 1;case 12329:HEAP32[value>>2]=0;return 1;case 12330:HEAP32[value>>2]=4096;return 1;case 12331:HEAP32[value>>2]=16777216;return 1;case 12332:HEAP32[value>>2]=4096;return 1;case 12333:HEAP32[value>>2]=0;return 1;case 12334:HEAP32[value>>2]=0;return 1;case 12335:HEAP32[value>>2]=12344;return 1;case 12337:HEAP32[value>>2]=4;return 1;case 12338:HEAP32[value>>2]=1;return 1;case 12339:HEAP32[value>>2]=4;return 1;case 12340:HEAP32[value>>2]=12344;return 1;case 12341:case 12342:case 12343:HEAP32[value>>2]=-1;return 1;case 12345:case 12346:HEAP32[value>>2]=0;return 1;case 12347:case 12348:HEAP32[value>>2]=1;return 1;case 12349:case 12350:HEAP32[value>>2]=0;return 1;case 12351:HEAP32[value>>2]=12430;return 1;case 12352:HEAP32[value>>2]=4;return 1;case 12354:HEAP32[value>>2]=0;return 1;default:EGL.setErrorCode(12292);return 0}}Module["_i64Add"]=_i64Add;function __ZSt18uncaught_exceptionv(){return!!__ZSt18uncaught_exceptionv.uncaught_exception}var EXCEPTIONS={last:0,caught:[],infos:{},deAdjust:(function(adjusted){if(!adjusted||EXCEPTIONS.infos[adjusted])return adjusted;for(var ptr in EXCEPTIONS.infos){var info=EXCEPTIONS.infos[ptr];if(info.adjusted===adjusted){return ptr}}return adjusted}),addRef:(function(ptr){if(!ptr)return;var info=EXCEPTIONS.infos[ptr];info.refcount++}),decRef:(function(ptr){if(!ptr)return;var info=EXCEPTIONS.infos[ptr];assert(info.refcount>0);info.refcount--;if(info.refcount===0){if(info.destructor){Runtime.dynCall("vi",info.destructor,[ptr])}delete EXCEPTIONS.infos[ptr];___cxa_free_exception(ptr)}}),clearRef:(function(ptr){if(!ptr)return;var info=EXCEPTIONS.infos[ptr];info.refcount=0})};function ___resumeException(ptr){if(!EXCEPTIONS.last){EXCEPTIONS.last=ptr}EXCEPTIONS.clearRef(EXCEPTIONS.deAdjust(ptr));throw ptr+" - Exception catching is disabled, this exception cannot be caught. Compile with -s DISABLE_EXCEPTION_CATCHING=0 or DISABLE_EXCEPTION_CATCHING=2 to catch."}function ___cxa_find_matching_catch(){var thrown=EXCEPTIONS.last;if(!thrown){return(asm["setTempRet0"](0),0)|0}var info=EXCEPTIONS.infos[thrown];var throwntype=info.type;if(!throwntype){return(asm["setTempRet0"](0),thrown)|0}var typeArray=Array.prototype.slice.call(arguments);var pointer=Module["___cxa_is_pointer_type"](throwntype);if(!___cxa_find_matching_catch.buffer)___cxa_find_matching_catch.buffer=_malloc(4);HEAP32[___cxa_find_matching_catch.buffer>>2]=thrown;thrown=___cxa_find_matching_catch.buffer;for(var i=0;i>2];info.adjusted=thrown;return(asm["setTempRet0"](typeArray[i]),thrown)|0}}thrown=HEAP32[thrown>>2];return(asm["setTempRet0"](throwntype),thrown)|0}function ___cxa_throw(ptr,type,destructor){EXCEPTIONS.infos[ptr]={ptr:ptr,adjusted:ptr,type:type,destructor:destructor,refcount:0};EXCEPTIONS.last=ptr;if(!("uncaught_exception"in __ZSt18uncaught_exceptionv)){__ZSt18uncaught_exceptionv.uncaught_exception=1}else{__ZSt18uncaught_exceptionv.uncaught_exception++}throw ptr+" - Exception catching is disabled, this exception cannot be caught. Compile with -s DISABLE_EXCEPTION_CATCHING=0 or DISABLE_EXCEPTION_CATCHING=2 to catch."}function _emscripten_set_touchend_callback(target,userData,useCapture,callbackfunc){JSEvents.registerTouchEventCallback(target,userData,useCapture,callbackfunc,23,"touchend");return 0}function __setLetterbox(element,topBottom,leftRight){if(JSEvents.isInternetExplorer()){element.style.marginLeft=element.style.marginRight=leftRight+"px";element.style.marginTop=element.style.marginBottom=topBottom+"px"}else{element.style.paddingLeft=element.style.paddingRight=leftRight+"px";element.style.paddingTop=element.style.paddingBottom=topBottom+"px"}}function _emscripten_do_request_fullscreen(target,strategy){if(typeof JSEvents.fullscreenEnabled()==="undefined")return-1;if(!JSEvents.fullscreenEnabled())return-3;if(!target)target="#canvas";target=JSEvents.findEventTarget(target);if(!target)return-4;if(!target.requestFullscreen&&!target.msRequestFullscreen&&!target.mozRequestFullScreen&&!target.mozRequestFullscreen&&!target.webkitRequestFullscreen){return-3}var canPerformRequests=JSEvents.canPerformEventHandlerRequests();if(!canPerformRequests){if(strategy.deferUntilInEventHandler){JSEvents.deferCall(JSEvents.requestFullscreen,1,[target,strategy]);return 1}else{return-2}}return JSEvents.requestFullscreen(target,strategy)}function __registerRestoreOldStyle(canvas){var oldWidth=canvas.width;var oldHeight=canvas.height;var oldCssWidth=canvas.style.width;var oldCssHeight=canvas.style.height;var oldBackgroundColor=canvas.style.backgroundColor;var oldDocumentBackgroundColor=document.body.style.backgroundColor;var oldPaddingLeft=canvas.style.paddingLeft;var oldPaddingRight=canvas.style.paddingRight;var oldPaddingTop=canvas.style.paddingTop;var oldPaddingBottom=canvas.style.paddingBottom;var oldMarginLeft=canvas.style.marginLeft;var oldMarginRight=canvas.style.marginRight;var oldMarginTop=canvas.style.marginTop;var oldMarginBottom=canvas.style.marginBottom;var oldDocumentBodyMargin=document.body.style.margin;var oldDocumentOverflow=document.documentElement.style.overflow;var oldDocumentScroll=document.body.scroll;var oldImageRendering=canvas.style.imageRendering;function restoreOldStyle(){var fullscreenElement=document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement;if(!fullscreenElement){document.removeEventListener("fullscreenchange",restoreOldStyle);document.removeEventListener("mozfullscreenchange",restoreOldStyle);document.removeEventListener("webkitfullscreenchange",restoreOldStyle);document.removeEventListener("MSFullscreenChange",restoreOldStyle);canvas.width=oldWidth;canvas.height=oldHeight;canvas.style.width=oldCssWidth;canvas.style.height=oldCssHeight;canvas.style.backgroundColor=oldBackgroundColor;if(!oldDocumentBackgroundColor)document.body.style.backgroundColor="white";document.body.style.backgroundColor=oldDocumentBackgroundColor;canvas.style.paddingLeft=oldPaddingLeft;canvas.style.paddingRight=oldPaddingRight;canvas.style.paddingTop=oldPaddingTop;canvas.style.paddingBottom=oldPaddingBottom;canvas.style.marginLeft=oldMarginLeft;canvas.style.marginRight=oldMarginRight;canvas.style.marginTop=oldMarginTop;canvas.style.marginBottom=oldMarginBottom;document.body.style.margin=oldDocumentBodyMargin;document.documentElement.style.overflow=oldDocumentOverflow;document.body.scroll=oldDocumentScroll;canvas.style.imageRendering=oldImageRendering;if(canvas.GLctxObject)canvas.GLctxObject.GLctx.viewport(0,0,oldWidth,oldHeight);if(__currentFullscreenStrategy.canvasResizedCallback){Runtime.dynCall("iiii",__currentFullscreenStrategy.canvasResizedCallback,[37,0,__currentFullscreenStrategy.canvasResizedCallbackUserData])}}}document.addEventListener("fullscreenchange",restoreOldStyle);document.addEventListener("mozfullscreenchange",restoreOldStyle);document.addEventListener("webkitfullscreenchange",restoreOldStyle);document.addEventListener("MSFullscreenChange",restoreOldStyle);return restoreOldStyle}function _emscripten_request_fullscreen_strategy(target,deferUntilInEventHandler,fullscreenStrategy){var strategy={};strategy.scaleMode=HEAP32[fullscreenStrategy>>2];strategy.canvasResolutionScaleMode=HEAP32[fullscreenStrategy+4>>2];strategy.filteringMode=HEAP32[fullscreenStrategy+8>>2];strategy.deferUntilInEventHandler=deferUntilInEventHandler;strategy.canvasResizedCallback=HEAP32[fullscreenStrategy+12>>2];strategy.canvasResizedCallbackUserData=HEAP32[fullscreenStrategy+16>>2];__currentFullscreenStrategy=strategy;return _emscripten_do_request_fullscreen(target,strategy)}function _alSourceStop(source){if(!AL.currentContext){return}var src=AL.currentContext.src[source];if(!src){AL.currentContext.err=40961;return}AL.setSourceState(src,4116)}function _emscripten_glGetProgramiv(program,pname,p){if(!p){GL.recordError(1281);return}if(pname==35716){var log=GLctx.getProgramInfoLog(GL.programs[program]);if(log===null)log="(unknown error)";HEAP32[p>>2]=log.length+1}else if(pname==35719){var ptable=GL.programInfos[program];if(ptable){HEAP32[p>>2]=ptable.maxUniformLength;return}else if(program>2]=ptable.maxAttributeLength;return}else if(program>2]=GLctx.getProgramParameter(GL.programs[program],pname)}}function _emscripten_glFinish(){GLctx.finish()}function ___syscall3(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),buf=SYSCALLS.get(),count=SYSCALLS.get();return FS.read(stream,HEAP8,buf,count)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function _emscripten_glDepthFunc(x0){GLctx.depthFunc(x0)}function _realloc(){throw"bad"}Module["_realloc"]=_realloc;Module["_saveSetjmp"]=_saveSetjmp;function _emscripten_get_num_gamepads(){if(!navigator.getGamepads&&!navigator.webkitGetGamepads)return-1;if(navigator.getGamepads){return navigator.getGamepads().length}else if(navigator.webkitGetGamepads){return navigator.webkitGetGamepads().length}}function _emscripten_glHint(x0,x1){GLctx.hint(x0,x1)}function _emscripten_glReleaseShaderCompiler(){}function _sigaction(signum,act,oldact){return 0}function _emscripten_glUniform4iv(location,count,value){location=GL.uniforms[location];count*=4;value=HEAP32.subarray(value>>2,value+count*4>>2);GLctx.uniform4iv(location,value)}function _glClear(x0){GLctx.clear(x0)}function emscriptenWebGLGetUniform(program,location,params,type){if(!params){GL.recordError(1281);return}var data=GLctx.getUniform(GL.programs[program],GL.uniforms[location]);if(typeof data=="number"||typeof data=="boolean"){switch(type){case"Integer":HEAP32[params>>2]=data;break;case"Float":HEAPF32[params>>2]=data;break;default:throw"internal emscriptenWebGLGetUniform() error, bad type: "+type}}else{for(var i=0;i>2]=data[i];break;case"Float":HEAPF32[params+i>>2]=data[i];break;default:throw"internal emscriptenWebGLGetUniform() error, bad type: "+type}}}}function _emscripten_glGetUniformiv(program,location,params){emscriptenWebGLGetUniform(program,location,params,"Integer")}function _emscripten_set_resize_callback(target,userData,useCapture,callbackfunc){JSEvents.registerUiEventCallback(target,userData,useCapture,callbackfunc,10,"resize");return 0}function _emscripten_glLoadIdentity(){throw"Legacy GL function (glLoadIdentity) called. If you want legacy GL emulation, you need to compile with -s LEGACY_GL_EMULATION=1 to enable legacy GL emulation."}var _environ=STATICTOP;STATICTOP+=16;function ___buildEnvironment(env){var MAX_ENV_VALUES=64;var TOTAL_ENV_SIZE=1024;var poolPtr;var envPtr;if(!___buildEnvironment.called){___buildEnvironment.called=true;ENV["USER"]=ENV["LOGNAME"]="web_user";ENV["PATH"]="/";ENV["PWD"]="/";ENV["HOME"]="/home/web_user";ENV["LANG"]="C";ENV["_"]=Module["thisProgram"];poolPtr=allocate(TOTAL_ENV_SIZE,"i8",ALLOC_STATIC);envPtr=allocate(MAX_ENV_VALUES*4,"i8*",ALLOC_STATIC);HEAP32[envPtr>>2]=poolPtr;HEAP32[_environ>>2]=envPtr}else{envPtr=HEAP32[_environ>>2];poolPtr=HEAP32[envPtr>>2]}var strings=[];var totalSize=0;for(var key in env){if(typeof env[key]==="string"){var line=key+"="+env[key];strings.push(line);totalSize+=line.length}}if(totalSize>TOTAL_ENV_SIZE){throw new Error("Environment size exceeded TOTAL_ENV_SIZE!")}var ptrSize=4;for(var i=0;i>2]=poolPtr;poolPtr+=line.length+1}HEAP32[envPtr+strings.length*ptrSize>>2]=0}var ENV={};function _getenv(name){if(name===0)return 0;name=Pointer_stringify(name);if(!ENV.hasOwnProperty(name))return 0;if(_getenv.ret)_free(_getenv.ret);_getenv.ret=allocate(intArrayFromString(ENV[name]),"i8",ALLOC_NORMAL);return _getenv.ret}function _emscripten_set_element_css_size(target,width,height){if(!target){target=Module["canvas"]}else{target=JSEvents.findEventTarget(target)}if(!target)return-4;target.style.setProperty("width",width+"px");target.style.setProperty("height",height+"px");return 0}function _alDistanceModel(model){if(model!==0){}}function _emscripten_glAttachShader(program,shader){GLctx.attachShader(GL.programs[program],GL.shaders[shader])}function _alSourceUnqueueBuffers(source,count,buffers){if(!AL.currentContext){return}var src=AL.currentContext.src[source];if(!src){AL.currentContext.err=40961;return}if(count>src.buffersPlayed){AL.currentContext.err=40963;return}for(var i=0;i>2]=j+1;break}}src.buffersPlayed--}AL.updateSource(src)}function _emscripten_glGetRenderbufferParameteriv(target,pname,params){if(!params){GL.recordError(1281);return}HEAP32[params>>2]=GLctx.getRenderbufferParameter(target,pname)}function _alGetSourcef(source,param,value){if(!AL.currentContext){return}var src=AL.currentContext.src[source];if(!src){AL.currentContext.err=40961;return}switch(param){case 4106:HEAPF32[value>>2]=src.gain.gain.value;break;case 4131:HEAPF32[value>>2]=src.maxDistance;break;case 4129:HEAPF32[value>>2]=src.rolloffFactor;break;case 4130:HEAPF32[value>>2]=src.coneOuterGain;break;case 4097:HEAPF32[value>>2]=src.coneInnerAngle;break;case 4098:HEAPF32[value>>2]=src.coneOuterAngle;break;case 4128:HEAPF32[value>>2]=src.refDistance;break;default:AL.currentContext.err=40962;break}}function _emscripten_request_pointerlock(target,deferUntilInEventHandler){if(!target)target="#canvas";target=JSEvents.findEventTarget(target);if(!target)return-4;if(!target.requestPointerLock&&!target.mozRequestPointerLock&&!target.webkitRequestPointerLock&&!target.msRequestPointerLock){return-1}var canPerformRequests=JSEvents.canPerformEventHandlerRequests();if(!canPerformRequests){if(deferUntilInEventHandler){JSEvents.deferCall(JSEvents.requestPointerLock,2,[target]);return 1}else{return-2}}return JSEvents.requestPointerLock(target)}function _gmtime_r(time,tmPtr){var date=new Date(HEAP32[time>>2]*1e3);HEAP32[tmPtr>>2]=date.getUTCSeconds();HEAP32[tmPtr+4>>2]=date.getUTCMinutes();HEAP32[tmPtr+8>>2]=date.getUTCHours();HEAP32[tmPtr+12>>2]=date.getUTCDate();HEAP32[tmPtr+16>>2]=date.getUTCMonth();HEAP32[tmPtr+20>>2]=date.getUTCFullYear()-1900;HEAP32[tmPtr+24>>2]=date.getUTCDay();HEAP32[tmPtr+36>>2]=0;HEAP32[tmPtr+32>>2]=0;var start=Date.UTC(date.getUTCFullYear(),0,1,0,0,0,0);var yday=(date.getTime()-start)/(1e3*60*60*24)|0;HEAP32[tmPtr+28>>2]=yday;HEAP32[tmPtr+40>>2]=___tm_timezone;return tmPtr}function _gmtime(time){return _gmtime_r(time,___tm_current)}function _eglCreateWindowSurface(display,config,win,attrib_list){if(display!=62e3){EGL.setErrorCode(12296);return 0}if(config!=62002){EGL.setErrorCode(12293);return 0}EGL.setErrorCode(12288);return 62006}function _alListenerfv(param,values){if(!AL.currentContext){return}switch(param){case 4100:var x=HEAPF32[values>>2];var y=HEAPF32[values+4>>2];var z=HEAPF32[values+8>>2];AL.currentContext.ctx.listener._position=[x,y,z];AL.currentContext.ctx.listener.setPosition(x,y,z);break;case 4102:var x=HEAPF32[values>>2];var y=HEAPF32[values+4>>2];var z=HEAPF32[values+8>>2];AL.currentContext.ctx.listener._velocity=[x,y,z];AL.currentContext.ctx.listener.setVelocity(x,y,z);break;case 4111:var x=HEAPF32[values>>2];var y=HEAPF32[values+4>>2];var z=HEAPF32[values+8>>2];var x2=HEAPF32[values+12>>2];var y2=HEAPF32[values+16>>2];var z2=HEAPF32[values+20>>2];AL.currentContext.ctx.listener._orientation=[x,y,z,x2,y2,z2];AL.currentContext.ctx.listener.setOrientation(x,y,z,x2,y2,z2);break;default:AL.currentContext.err=40962;break}}function _pthread_cond_broadcast(){return 0}function _alGetSourcei(source,param,value){if(!AL.currentContext){return}var src=AL.currentContext.src[source];if(!src){AL.currentContext.err=40961;return}AL.updateSource(src);switch(param){case 514:HEAP32[value>>2]=src.panner?1:0;break;case 4097:HEAP32[value>>2]=src.coneInnerAngle;break;case 4098:HEAP32[value>>2]=src.coneOuterAngle;break;case 4103:HEAP32[value>>2]=src.loop;break;case 4105:if(!src.queue.length){HEAP32[value>>2]=0}else{var buffer=src.queue[src.buffersPlayed].buffer;for(var i=0;i>2]=i+1;return}}HEAP32[value>>2]=0}break;case 4112:HEAP32[value>>2]=src.state;break;case 4117:HEAP32[value>>2]=src.queue.length;break;case 4118:if(src.loop){HEAP32[value>>2]=0}else{HEAP32[value>>2]=src.buffersPlayed}break;default:AL.currentContext.err=40962;break}}function _gettimeofday(ptr){var now=Date.now();HEAP32[ptr>>2]=now/1e3|0;HEAP32[ptr+4>>2]=now%1e3*1e3|0;return 0}function _emscripten_glClearStencil(x0){GLctx.clearStencil(x0)}function _emscripten_glDetachShader(program,shader){GLctx.detachShader(GL.programs[program],GL.shaders[shader])}function _emscripten_get_device_pixel_ratio(){return window.devicePixelRatio||1}function _emscripten_glDeleteVertexArrays(n,vaos){for(var i=0;i>2];GLctx["deleteVertexArray"](GL.vaos[id]);GL.vaos[id]=null}}function _alGenSources(count,sources){if(!AL.currentContext){return}for(var i=0;i>2]=AL.newSrcId;AL.newSrcId++}}function _alGetFloat(){Module["printErr"]("missing function: alGetFloat");abort(-1)}function _emscripten_get_element_css_size(target,width,height){if(!target){target=Module["canvas"]}else{target=JSEvents.findEventTarget(target)}if(!target)return-4;if(target.getBoundingClientRect){var rect=target.getBoundingClientRect();HEAPF64[width>>3]=rect.right-rect.left;HEAPF64[height>>3]=rect.bottom-rect.top}else{HEAPF64[width>>3]=target.clientWidth;HEAPF64[height>>3]=target.clientHeight}return 0}function _emscripten_glMatrixMode(){throw"Legacy GL function (glMatrixMode) called. If you want legacy GL emulation, you need to compile with -s LEGACY_GL_EMULATION=1 to enable legacy GL emulation."}function _pthread_mutex_destroy(){}function _emscripten_glGetTexParameteriv(target,pname,params){if(!params){GL.recordError(1281);return}HEAP32[params>>2]=GLctx.getTexParameter(target,pname)}function ___syscall122(which,varargs){SYSCALLS.varargs=varargs;try{var buf=SYSCALLS.get();if(!buf)return-ERRNO_CODES.EFAULT;var layout={"sysname":0,"nodename":65,"domainname":325,"machine":260,"version":195,"release":130,"__size__":390};function copyString(element,value){var offset=layout[element];writeAsciiToMemory(value,buf+offset)}copyString("sysname","Emscripten");copyString("nodename","emscripten");copyString("release","1.0");copyString("version","#1");copyString("machine","x86-JS");return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function _alDeleteSources(count,sources){if(!AL.currentContext){return}for(var i=0;i>2];delete AL.currentContext.src[sourceIdx]}}function _emscripten_glGenerateMipmap(x0){GLctx.generateMipmap(x0)}function _emscripten_glSampleCoverage(x0,x1){GLctx.sampleCoverage(x0,x1)}function _emscripten_glCullFace(x0){GLctx.cullFace(x0)}function _emscripten_glUniform4f(location,v0,v1,v2,v3){location=GL.uniforms[location];GLctx.uniform4f(location,v0,v1,v2,v3)}function _emscripten_glUseProgram(program){GLctx.useProgram(program?GL.programs[program]:null)}function _sysconf(name){switch(name){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:{if(typeof navigator==="object")return navigator["hardwareConcurrency"]||1;return 1}}___setErrNo(ERRNO_CODES.EINVAL);return-1}function ___syscall63(which,varargs){SYSCALLS.varargs=varargs;try{var old=SYSCALLS.getStreamFromFD(),suggestFD=SYSCALLS.get();if(old.fd===suggestFD)return suggestFD;return SYSCALLS.doDup(old.path,old.flags,suggestFD)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function _dlsym(handle,symbol){symbol=Pointer_stringify(symbol);if(!DLFCN.loadedLibs[handle]){DLFCN.errorMsg="Tried to dlsym() from an unopened handle: "+handle;return 0}else{var lib=DLFCN.loadedLibs[handle];symbol="_"+symbol;if(lib.cached_functions.hasOwnProperty(symbol)){return lib.cached_functions[symbol]}if(!lib.module.hasOwnProperty(symbol)){DLFCN.errorMsg='Tried to lookup unknown symbol "'+symbol+'" in dynamic lib: '+lib.name;return 0}else{var result=lib.module[symbol];if(typeof result=="function"){result=Runtime.addFunction(result);lib.cached_functions=result}return result}}}function _emscripten_glUniform2fv(location,count,value){location=GL.uniforms[location];var view;if(count===1){view=GL.miniTempBufferViews[1];view[0]=HEAPF32[value>>2];view[1]=HEAPF32[value+4>>2]}else{view=HEAPF32.subarray(value>>2,value+count*8>>2)}GLctx.uniform2fv(location,view)}function __isLeapYear(year){return year%4===0&&(year%100!==0||year%400===0)}function __arraySum(array,index){var sum=0;for(var i=0;i<=index;sum+=array[i++]);return sum}var __MONTH_DAYS_LEAP=[31,29,31,30,31,30,31,31,30,31,30,31];var __MONTH_DAYS_REGULAR=[31,28,31,30,31,30,31,31,30,31,30,31];function __addDays(date,days){var newDate=new Date(date.getTime());while(days>0){var leap=__isLeapYear(newDate.getFullYear());var currentMonth=newDate.getMonth();var daysInCurrentMonth=(leap?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR)[currentMonth];if(days>daysInCurrentMonth-newDate.getDate()){days-=daysInCurrentMonth-newDate.getDate()+1;newDate.setDate(1);if(currentMonth<11){newDate.setMonth(currentMonth+1)}else{newDate.setMonth(0);newDate.setFullYear(newDate.getFullYear()+1)}}else{newDate.setDate(newDate.getDate()+days);return newDate}}return newDate}function _strftime(s,maxsize,format,tm){var tm_zone=HEAP32[tm+40>>2];var date={tm_sec:HEAP32[tm>>2],tm_min:HEAP32[tm+4>>2],tm_hour:HEAP32[tm+8>>2],tm_mday:HEAP32[tm+12>>2],tm_mon:HEAP32[tm+16>>2],tm_year:HEAP32[tm+20>>2],tm_wday:HEAP32[tm+24>>2],tm_yday:HEAP32[tm+28>>2],tm_isdst:HEAP32[tm+32>>2],tm_gmtoff:HEAP32[tm+36>>2],tm_zone:tm_zone?Pointer_stringify(tm_zone):""};var pattern=Pointer_stringify(format);var EXPANSION_RULES_1={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S"};for(var rule in EXPANSION_RULES_1){pattern=pattern.replace(new RegExp(rule,"g"),EXPANSION_RULES_1[rule])}var WEEKDAYS=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];var MONTHS=["January","February","March","April","May","June","July","August","September","October","November","December"];function leadingSomething(value,digits,character){var str=typeof value==="number"?value.toString():value||"";while(str.length0?1:0}var compare;if((compare=sgn(date1.getFullYear()-date2.getFullYear()))===0){if((compare=sgn(date1.getMonth()-date2.getMonth()))===0){compare=sgn(date1.getDate()-date2.getDate())}}return compare}function getFirstWeekStartDate(janFourth){switch(janFourth.getDay()){case 0:return new Date(janFourth.getFullYear()-1,11,29);case 1:return janFourth;case 2:return new Date(janFourth.getFullYear(),0,3);case 3:return new Date(janFourth.getFullYear(),0,2);case 4:return new Date(janFourth.getFullYear(),0,1);case 5:return new Date(janFourth.getFullYear()-1,11,31);case 6:return new Date(janFourth.getFullYear()-1,11,30)}}function getWeekBasedYear(date){var thisDate=__addDays(new Date(date.tm_year+1900,0,1),date.tm_yday);var janFourthThisYear=new Date(thisDate.getFullYear(),0,4);var janFourthNextYear=new Date(thisDate.getFullYear()+1,0,4);var firstWeekStartThisYear=getFirstWeekStartDate(janFourthThisYear);var firstWeekStartNextYear=getFirstWeekStartDate(janFourthNextYear);if(compareByDay(firstWeekStartThisYear,thisDate)<=0){if(compareByDay(firstWeekStartNextYear,thisDate)<=0){return thisDate.getFullYear()+1}else{return thisDate.getFullYear()}}else{return thisDate.getFullYear()-1}}var EXPANSION_RULES_2={"%a":(function(date){return WEEKDAYS[date.tm_wday].substring(0,3)}),"%A":(function(date){return WEEKDAYS[date.tm_wday]}),"%b":(function(date){return MONTHS[date.tm_mon].substring(0,3)}),"%B":(function(date){return MONTHS[date.tm_mon]}),"%C":(function(date){var year=date.tm_year+1900;return leadingNulls(year/100|0,2)}),"%d":(function(date){return leadingNulls(date.tm_mday,2)}),"%e":(function(date){return leadingSomething(date.tm_mday,2," ")}),"%g":(function(date){return getWeekBasedYear(date).toString().substring(2)}),"%G":(function(date){return getWeekBasedYear(date)}),"%H":(function(date){return leadingNulls(date.tm_hour,2)}),"%I":(function(date){var twelveHour=date.tm_hour;if(twelveHour==0)twelveHour=12;else if(twelveHour>12)twelveHour-=12;return leadingNulls(twelveHour,2)}),"%j":(function(date){return leadingNulls(date.tm_mday+__arraySum(__isLeapYear(date.tm_year+1900)?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR,date.tm_mon-1),3)}),"%m":(function(date){return leadingNulls(date.tm_mon+1,2)}),"%M":(function(date){return leadingNulls(date.tm_min,2)}),"%n":(function(){return"\n"}),"%p":(function(date){if(date.tm_hour>=0&&date.tm_hour<12){return"AM"}else{return"PM"}}),"%S":(function(date){return leadingNulls(date.tm_sec,2)}),"%t":(function(){return"\t"}),"%u":(function(date){var day=new Date(date.tm_year+1900,date.tm_mon+1,date.tm_mday,0,0,0,0);return day.getDay()||7}),"%U":(function(date){var janFirst=new Date(date.tm_year+1900,0,1);var firstSunday=janFirst.getDay()===0?janFirst:__addDays(janFirst,7-janFirst.getDay());var endDate=new Date(date.tm_year+1900,date.tm_mon,date.tm_mday);if(compareByDay(firstSunday,endDate)<0){var februaryFirstUntilEndMonth=__arraySum(__isLeapYear(endDate.getFullYear())?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR,endDate.getMonth()-1)-31;var firstSundayUntilEndJanuary=31-firstSunday.getDate();var days=firstSundayUntilEndJanuary+februaryFirstUntilEndMonth+endDate.getDate();return leadingNulls(Math.ceil(days/7),2)}return compareByDay(firstSunday,janFirst)===0?"01":"00"}),"%V":(function(date){var janFourthThisYear=new Date(date.tm_year+1900,0,4);var janFourthNextYear=new Date(date.tm_year+1901,0,4);var firstWeekStartThisYear=getFirstWeekStartDate(janFourthThisYear);var firstWeekStartNextYear=getFirstWeekStartDate(janFourthNextYear);var endDate=__addDays(new Date(date.tm_year+1900,0,1),date.tm_yday);if(compareByDay(endDate,firstWeekStartThisYear)<0){return"53"}if(compareByDay(firstWeekStartNextYear,endDate)<=0){return"01"}var daysDifference;if(firstWeekStartThisYear.getFullYear()=0;off=Math.abs(off)/60;off=off/60*100+off%60;return(ahead?"+":"-")+String("0000"+off).slice(-4)}),"%Z":(function(date){return date.tm_zone}),"%%":(function(){return"%"})};for(var rule in EXPANSION_RULES_2){if(pattern.indexOf(rule)>=0){pattern=pattern.replace(new RegExp(rule,"g"),EXPANSION_RULES_2[rule](date))}}var bytes=intArrayFromString(pattern,false);if(bytes.length>maxsize){return 0}writeArrayToMemory(bytes,s);return bytes.length-1}function _strftime_l(s,maxsize,format,tm){return _strftime(s,maxsize,format,tm)}function _abort(){Module["abort"]()}function _emscripten_glVertexAttribDivisor(index,divisor){GLctx["vertexAttribDivisor"](index,divisor)}function _emscripten_glFramebufferRenderbuffer(target,attachment,renderbuffertarget,renderbuffer){GLctx.framebufferRenderbuffer(target,attachment,renderbuffertarget,GL.renderbuffers[renderbuffer])}function _alSourcePause(source){if(!AL.currentContext){return}var src=AL.currentContext.src[source];if(!src){AL.currentContext.err=40961;return}AL.setSourceState(src,4115)}function _alGenBuffers(count,buffers){if(!AL.currentContext){return}for(var i=0;i>2]=AL.currentContext.buf.length}}function _emscripten_glPolygonOffset(x0,x1){GLctx.polygonOffset(x0,x1)}function _emscripten_glIsBuffer(buffer){var b=GL.buffers[buffer];if(!b)return 0;return GLctx.isBuffer(b)}function _emscripten_glUniform2iv(location,count,value){location=GL.uniforms[location];count*=2;value=HEAP32.subarray(value>>2,value+count*4>>2);GLctx.uniform2iv(location,value)}var PTHREAD_SPECIFIC={};function _pthread_getspecific(key){return PTHREAD_SPECIFIC[key]||0}function _emscripten_glVertexAttrib1fv(index,v){v=HEAPF32.subarray(v>>2,v+4>>2);GLctx.vertexAttrib1fv(index,v)}function _alBufferData(buffer,format,data,size,freq){if(!AL.currentContext){return}if(buffer>AL.currentContext.buf.length){return}var channels,bytes;switch(format){case 4352:bytes=1;channels=1;break;case 4353:bytes=2;channels=1;break;case 4354:bytes=1;channels=2;break;case 4355:bytes=2;channels=2;break;case 65552:bytes=4;channels=1;break;case 65553:bytes=4;channels=2;break;default:return}try{AL.currentContext.buf[buffer-1]=AL.currentContext.ctx.createBuffer(channels,size/(bytes*channels),freq);AL.currentContext.buf[buffer-1].bytesPerSample=bytes}catch(e){AL.currentContext.err=40963;return}var buf=new Array(channels);for(var i=0;i>0]&255;buf[j][i]=-1+val*(2/256);break;case 2:var val=HEAP16[data+2*(i*channels+j)>>1];buf[j][i]=val/32768;break;case 4:buf[j][i]=HEAPF32[data+4*(i*channels+j)>>2];break}}}}function _eglDestroySurface(display,surface){if(display!=62e3){EGL.setErrorCode(12296);return 0}if(surface!=62006){EGL.setErrorCode(12301);return 1}if(EGL.currentReadSurface==surface){EGL.currentReadSurface=0}if(EGL.currentDrawSurface==surface){EGL.currentDrawSurface=0}EGL.setErrorCode(12288);return 1}function _emscripten_glUniform2f(location,v0,v1){location=GL.uniforms[location];GLctx.uniform2f(location,v0,v1)}function ___syscall330(which,varargs){SYSCALLS.varargs=varargs;try{var old=SYSCALLS.getStreamFromFD(),suggestFD=SYSCALLS.get(),flags=SYSCALLS.get();assert(!flags);if(old.fd===suggestFD)return-ERRNO_CODES.EINVAL;return SYSCALLS.doDup(old.path,old.flags,suggestFD)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function _emscripten_glUniform2i(location,v0,v1){location=GL.uniforms[location];GLctx.uniform2i(location,v0,v1)}function _emscripten_glDeleteRenderbuffers(n,renderbuffers){for(var i=0;i>2];var renderbuffer=GL.renderbuffers[id];if(!renderbuffer)continue;GLctx.deleteRenderbuffer(renderbuffer);renderbuffer.name=0;GL.renderbuffers[id]=null}}function ___cxa_pure_virtual(){ABORT=true;throw"Pure virtual function called!"}Module["_testSetjmp"]=_testSetjmp;function _longjmp(env,value){asm["setThrew"](env,value||1);throw"longjmp"}function _emscripten_glDepthMask(x0){GLctx.depthMask(x0)}function _emscripten_set_mousedown_callback(target,userData,useCapture,callbackfunc){JSEvents.registerMouseEventCallback(target,userData,useCapture,callbackfunc,5,"mousedown");return 0}function _emscripten_glDepthRange(x0,x1){GLctx.depthRange(x0,x1)}function _emscripten_set_fullscreenchange_callback(target,userData,useCapture,callbackfunc){if(typeof JSEvents.fullscreenEnabled()==="undefined")return-1;if(!target)target=document;else{target=JSEvents.findEventTarget(target);if(!target)return-4}JSEvents.registerFullscreenChangeEventCallback(target,userData,useCapture,callbackfunc,19,"fullscreenchange");JSEvents.registerFullscreenChangeEventCallback(target,userData,useCapture,callbackfunc,19,"mozfullscreenchange");JSEvents.registerFullscreenChangeEventCallback(target,userData,useCapture,callbackfunc,19,"webkitfullscreenchange");JSEvents.registerFullscreenChangeEventCallback(target,userData,useCapture,callbackfunc,19,"msfullscreenchange");return 0}function ___syscall140(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),offset_high=SYSCALLS.get(),offset_low=SYSCALLS.get(),result=SYSCALLS.get(),whence=SYSCALLS.get();var offset=offset_low;assert(offset_high===0);FS.llseek(stream,offset,whence);HEAP32[result>>2]=stream.position;if(stream.getdents&&offset===0&&whence===0)stream.getdents=null;return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function _emscripten_set_blur_callback(target,userData,useCapture,callbackfunc){JSEvents.registerFocusEventCallback(target,userData,useCapture,callbackfunc,12,"blur");return 0}function _emscripten_glVertexAttrib1f(x0,x1){GLctx.vertexAttrib1f(x0,x1)}function _emscripten_glGetShaderPrecisionFormat(shaderType,precisionType,range,precision){var result=GLctx.getShaderPrecisionFormat(shaderType,precisionType);HEAP32[range>>2]=result.rangeMin;HEAP32[range+4>>2]=result.rangeMax;HEAP32[precision>>2]=result.precision}function _emscripten_glUniform1fv(location,count,value){location=GL.uniforms[location];var view;if(count===1){view=GL.miniTempBufferViews[0];view[0]=HEAPF32[value>>2]}else{view=HEAPF32.subarray(value>>2,value+count*4>>2)}GLctx.uniform1fv(location,view)}var SOCKFS={mount:(function(mount){Module["websocket"]=Module["websocket"]&&"object"===typeof Module["websocket"]?Module["websocket"]:{};Module["websocket"]._callbacks={};Module["websocket"]["on"]=(function(event,callback){if("function"===typeof callback){this._callbacks[event]=callback}return this});Module["websocket"].emit=(function(event,param){if("function"===typeof this._callbacks[event]){this._callbacks[event].call(this,param)}});return FS.createNode(null,"/",16384|511,0)}),createSocket:(function(family,type,protocol){var streaming=type==1;if(protocol){assert(streaming==(protocol==6))}var sock={family:family,type:type,protocol:protocol,server:null,error:null,peers:{},pending:[],recv_queue:[],sock_ops:SOCKFS.websocket_sock_ops};var name=SOCKFS.nextname();var node=FS.createNode(SOCKFS.root,name,49152,0);node.sock=sock;var stream=FS.createStream({path:name,node:node,flags:FS.modeStringToFlags("r+"),seekable:false,stream_ops:SOCKFS.stream_ops});sock.stream=stream;return sock}),getSocket:(function(fd){var stream=FS.getStream(fd);if(!stream||!FS.isSocket(stream.node.mode)){return null}return stream.node.sock}),stream_ops:{poll:(function(stream){var sock=stream.node.sock;return sock.sock_ops.poll(sock)}),ioctl:(function(stream,request,varargs){var sock=stream.node.sock;return sock.sock_ops.ioctl(sock,request,varargs)}),read:(function(stream,buffer,offset,length,position){var sock=stream.node.sock;var msg=sock.sock_ops.recvmsg(sock,length);if(!msg){return 0}buffer.set(msg.buffer,offset);return msg.buffer.length}),write:(function(stream,buffer,offset,length,position){var sock=stream.node.sock;return sock.sock_ops.sendmsg(sock,buffer,offset,length)}),close:(function(stream){var sock=stream.node.sock;sock.sock_ops.close(sock)})},nextname:(function(){if(!SOCKFS.nextname.current){SOCKFS.nextname.current=0}return"socket["+SOCKFS.nextname.current++ +"]"}),websocket_sock_ops:{createPeer:(function(sock,addr,port){var ws;if(typeof addr==="object"){ws=addr;addr=null;port=null}if(ws){if(ws._socket){addr=ws._socket.remoteAddress;port=ws._socket.remotePort}else{var result=/ws[s]?:\/\/([^:]+):(\d+)/.exec(ws.url);if(!result){throw new Error("WebSocket URL must be in the format ws(s)://address:port")}addr=result[1];port=parseInt(result[2],10)}}else{try{var runtimeConfig=Module["websocket"]&&"object"===typeof Module["websocket"];var url="ws:#".replace("#","//");if(runtimeConfig){if("string"===typeof Module["websocket"]["url"]){url=Module["websocket"]["url"]}}if(url==="ws://"||url==="wss://"){var parts=addr.split("/");url=url+parts[0]+":"+port+"/"+parts.slice(1).join("/")}var subProtocols="binary";if(runtimeConfig){if("string"===typeof Module["websocket"]["subprotocol"]){subProtocols=Module["websocket"]["subprotocol"]}}subProtocols=subProtocols.replace(/^ +| +$/g,"").split(/ *, */);var opts=ENVIRONMENT_IS_NODE?{"protocol":subProtocols.toString()}:subProtocols;var WebSocketConstructor;if(ENVIRONMENT_IS_NODE){WebSocketConstructor=require("ws")}else if(ENVIRONMENT_IS_WEB){WebSocketConstructor=window["WebSocket"]}else{WebSocketConstructor=WebSocket}ws=new WebSocketConstructor(url,opts);ws.binaryType="arraybuffer"}catch(e){throw new FS.ErrnoError(ERRNO_CODES.EHOSTUNREACH)}}var peer={addr:addr,port:port,socket:ws,dgram_send_queue:[]};SOCKFS.websocket_sock_ops.addPeer(sock,peer);SOCKFS.websocket_sock_ops.handlePeerEvents(sock,peer);if(sock.type===2&&typeof sock.sport!=="undefined"){peer.dgram_send_queue.push(new Uint8Array([255,255,255,255,"p".charCodeAt(0),"o".charCodeAt(0),"r".charCodeAt(0),"t".charCodeAt(0),(sock.sport&65280)>>8,sock.sport&255]))}return peer}),getPeer:(function(sock,addr,port){return sock.peers[addr+":"+port]}),addPeer:(function(sock,peer){sock.peers[peer.addr+":"+peer.port]=peer}),removePeer:(function(sock,peer){delete sock.peers[peer.addr+":"+peer.port]}),handlePeerEvents:(function(sock,peer){var first=true;var handleOpen=(function(){Module["websocket"].emit("open",sock.stream.fd);try{var queued=peer.dgram_send_queue.shift();while(queued){peer.socket.send(queued);queued=peer.dgram_send_queue.shift()}}catch(e){peer.socket.close()}});function handleMessage(data){assert(typeof data!=="string"&&data.byteLength!==undefined);data=new Uint8Array(data);var wasfirst=first;first=false;if(wasfirst&&data.length===10&&data[0]===255&&data[1]===255&&data[2]===255&&data[3]===255&&data[4]==="p".charCodeAt(0)&&data[5]==="o".charCodeAt(0)&&data[6]==="r".charCodeAt(0)&&data[7]==="t".charCodeAt(0)){var newport=data[8]<<8|data[9];SOCKFS.websocket_sock_ops.removePeer(sock,peer);peer.port=newport;SOCKFS.websocket_sock_ops.addPeer(sock,peer);return}sock.recv_queue.push({addr:peer.addr,port:peer.port,data:data});Module["websocket"].emit("message",sock.stream.fd)}if(ENVIRONMENT_IS_NODE){peer.socket.on("open",handleOpen);peer.socket.on("message",(function(data,flags){if(!flags.binary){return}handleMessage((new Uint8Array(data)).buffer)}));peer.socket.on("close",(function(){Module["websocket"].emit("close",sock.stream.fd)}));peer.socket.on("error",(function(error){sock.error=ERRNO_CODES.ECONNREFUSED;Module["websocket"].emit("error",[sock.stream.fd,sock.error,"ECONNREFUSED: Connection refused"])}))}else{peer.socket.onopen=handleOpen;peer.socket.onclose=(function(){Module["websocket"].emit("close",sock.stream.fd)});peer.socket.onmessage=function peer_socket_onmessage(event){handleMessage(event.data)};peer.socket.onerror=(function(error){sock.error=ERRNO_CODES.ECONNREFUSED;Module["websocket"].emit("error",[sock.stream.fd,sock.error,"ECONNREFUSED: Connection refused"])})}}),poll:(function(sock){if(sock.type===1&&sock.server){return sock.pending.length?64|1:0}var mask=0;var dest=sock.type===1?SOCKFS.websocket_sock_ops.getPeer(sock,sock.daddr,sock.dport):null;if(sock.recv_queue.length||!dest||dest&&dest.socket.readyState===dest.socket.CLOSING||dest&&dest.socket.readyState===dest.socket.CLOSED){mask|=64|1}if(!dest||dest&&dest.socket.readyState===dest.socket.OPEN){mask|=4}if(dest&&dest.socket.readyState===dest.socket.CLOSING||dest&&dest.socket.readyState===dest.socket.CLOSED){mask|=16}return mask}),ioctl:(function(sock,request,arg){switch(request){case 21531:var bytes=0;if(sock.recv_queue.length){bytes=sock.recv_queue[0].data.length}HEAP32[arg>>2]=bytes;return 0;default:return ERRNO_CODES.EINVAL}}),close:(function(sock){if(sock.server){try{sock.server.close()}catch(e){}sock.server=null}var peers=Object.keys(sock.peers);for(var i=0;i>>0}var _htons=undefined;Module["_htons"]=_htons;function __inet_pton6_raw(str){var words;var w,offset,z;var valid6regx=/^((?=.*::)(?!.*::.+::)(::)?([\dA-F]{1,4}:(:|\b)|){5}|([\dA-F]{1,4}:){6})((([\dA-F]{1,4}((?!\3)::|:\b|$))|(?!\2\3)){2}|(((2[0-4]|1\d|[1-9])?\d|25[0-5])\.?\b){4})$/i;var parts=[];if(!valid6regx.test(str)){return null}if(str==="::"){return[0,0,0,0,0,0,0,0]}if(str.indexOf("::")===0){str=str.replace("::","Z:")}else{str=str.replace("::",":Z:")}if(str.indexOf(".")>0){str=str.replace(new RegExp("[.]","g"),":");words=str.split(":");words[words.length-4]=parseInt(words[words.length-4])+parseInt(words[words.length-3])*256;words[words.length-3]=parseInt(words[words.length-2])+parseInt(words[words.length-1])*256;words=words.slice(0,words.length-2)}else{words=str.split(":")}offset=0;z=0;for(w=0;w>8&255)+"."+(addr>>16&255)+"."+(addr>>24&255)}var _ntohs=undefined;Module["_ntohs"]=_ntohs;function __inet_ntop6_raw(ints){var str="";var word=0;var longest=0;var lastzero=0;var zstart=0;var len=0;var i=0;var parts=[ints[0]&65535,ints[0]>>16,ints[1]&65535,ints[1]>>16,ints[2]&65535,ints[2]>>16,ints[3]&65535,ints[3]>>16];var hasipv4=true;var v4part="";for(i=0;i<5;i++){if(parts[i]!==0){hasipv4=false;break}}if(hasipv4){v4part=__inet_ntop4_raw(parts[6]|parts[7]<<16);if(parts[5]===-1){str="::ffff:";str+=v4part;return str}if(parts[5]===0){str="::";if(v4part==="0.0.0.0")v4part="";if(v4part==="0.0.0.1")v4part="1";str+=v4part;return str}}for(word=0;word<8;word++){if(parts[word]===0){if(word-lastzero>1){len=0}lastzero=word;len++}if(len>longest){longest=len;zstart=word-longest+1}}for(word=0;word<8;word++){if(longest>1){if(parts[word]===0&&word>=zstart&&word>1];var port=_ntohs(HEAP16[sa+2>>1]);var addr;switch(family){case 2:if(salen!==16){return{errno:ERRNO_CODES.EINVAL}}addr=HEAP32[sa+4>>2];addr=__inet_ntop4_raw(addr);break;case 10:if(salen!==28){return{errno:ERRNO_CODES.EINVAL}}addr=[HEAP32[sa+8>>2],HEAP32[sa+12>>2],HEAP32[sa+16>>2],HEAP32[sa+20>>2]];addr=__inet_ntop6_raw(addr);break;default:return{errno:ERRNO_CODES.EAFNOSUPPORT}}return{family:family,addr:addr,port:port}}function __write_sockaddr(sa,family,addr,port){switch(family){case 2:addr=__inet_pton4_raw(addr);HEAP16[sa>>1]=family;HEAP32[sa+4>>2]=addr;HEAP16[sa+2>>1]=_htons(port);break;case 10:addr=__inet_pton6_raw(addr);HEAP32[sa>>2]=family;HEAP32[sa+8>>2]=addr[0];HEAP32[sa+12>>2]=addr[1];HEAP32[sa+16>>2]=addr[2];HEAP32[sa+20>>2]=addr[3];HEAP16[sa+2>>1]=_htons(port);HEAP32[sa+4>>2]=0;HEAP32[sa+24>>2]=0;break;default:return{errno:ERRNO_CODES.EAFNOSUPPORT}}return{}}function ___syscall102(which,varargs){SYSCALLS.varargs=varargs;try{var call=SYSCALLS.get(),socketvararg=SYSCALLS.get();SYSCALLS.varargs=socketvararg;switch(call){case 1:{var domain=SYSCALLS.get(),type=SYSCALLS.get(),protocol=SYSCALLS.get();var sock=SOCKFS.createSocket(domain,type,protocol);assert(sock.stream.fd<64);return sock.stream.fd};case 2:{var sock=SYSCALLS.getSocketFromFD(),info=SYSCALLS.getSocketAddress();sock.sock_ops.bind(sock,info.addr,info.port);return 0};case 3:{var sock=SYSCALLS.getSocketFromFD(),info=SYSCALLS.getSocketAddress();sock.sock_ops.connect(sock,info.addr,info.port);return 0};case 4:{var sock=SYSCALLS.getSocketFromFD(),backlog=SYSCALLS.get();sock.sock_ops.listen(sock,backlog);return 0};case 5:{var sock=SYSCALLS.getSocketFromFD(),addr=SYSCALLS.get(),addrlen=SYSCALLS.get();var newsock=sock.sock_ops.accept(sock);if(addr){var res=__write_sockaddr(addr,newsock.family,DNS.lookup_name(newsock.daddr),newsock.dport);assert(!res.errno)}return newsock.stream.fd};case 6:{var sock=SYSCALLS.getSocketFromFD(),addr=SYSCALLS.get(),addrlen=SYSCALLS.get();var res=__write_sockaddr(addr,sock.family,DNS.lookup_name(sock.saddr||"0.0.0.0"),sock.sport);assert(!res.errno);return 0};case 7:{var sock=SYSCALLS.getSocketFromFD(),addr=SYSCALLS.get(),addrlen=SYSCALLS.get();if(!sock.daddr){return-ERRNO_CODES.ENOTCONN}var res=__write_sockaddr(addr,sock.family,DNS.lookup_name(sock.daddr),sock.dport);assert(!res.errno);return 0};case 11:{var sock=SYSCALLS.getSocketFromFD(),message=SYSCALLS.get(),length=SYSCALLS.get(),flags=SYSCALLS.get(),dest=SYSCALLS.getSocketAddress(true);if(!dest){return FS.write(sock.stream,HEAP8,message,length)}else{return sock.sock_ops.sendmsg(sock,HEAP8,message,length,dest.addr,dest.port)}};case 12:{var sock=SYSCALLS.getSocketFromFD(),buf=SYSCALLS.get(),len=SYSCALLS.get(),flags=SYSCALLS.get(),addr=SYSCALLS.get(),addrlen=SYSCALLS.get();var msg=sock.sock_ops.recvmsg(sock,len);if(!msg)return 0;if(addr){var res=__write_sockaddr(addr,sock.family,DNS.lookup_name(msg.addr),msg.port);assert(!res.errno)}HEAPU8.set(msg.buffer,buf);return msg.buffer.byteLength};case 14:{return-ERRNO_CODES.ENOPROTOOPT};case 15:{var sock=SYSCALLS.getSocketFromFD(),level=SYSCALLS.get(),optname=SYSCALLS.get(),optval=SYSCALLS.get(),optlen=SYSCALLS.get();if(level===1){if(optname===4){HEAP32[optval>>2]=sock.error;HEAP32[optlen>>2]=4;sock.error=null;return 0}}return-ERRNO_CODES.ENOPROTOOPT};case 16:{var sock=SYSCALLS.getSocketFromFD(),message=SYSCALLS.get(),flags=SYSCALLS.get();var iov=HEAP32[message+8>>2];var num=HEAP32[message+12>>2];var addr,port;var name=HEAP32[message>>2];var namelen=HEAP32[message+4>>2];if(name){var info=__read_sockaddr(name,namelen);if(info.errno)return-info.errno;port=info.port;addr=DNS.lookup_addr(info.addr)||info.addr}var total=0;for(var i=0;i>2]}var view=new Uint8Array(total);var offset=0;for(var i=0;i>2];var iovlen=HEAP32[iov+(8*i+4)>>2];for(var j=0;j>0]}}return sock.sock_ops.sendmsg(sock,view,0,total,addr,port)};case 17:{var sock=SYSCALLS.getSocketFromFD(),message=SYSCALLS.get(),flags=SYSCALLS.get();var iov=HEAP32[message+8>>2];var num=HEAP32[message+12>>2];var total=0;for(var i=0;i>2]}var msg=sock.sock_ops.recvmsg(sock,total);if(!msg)return 0;var name=HEAP32[message>>2];if(name){var res=__write_sockaddr(name,sock.family,DNS.lookup_name(msg.addr),msg.port);assert(!res.errno)}var bytesRead=0;var bytesRemaining=msg.buffer.byteLength;for(var i=0;bytesRemaining>0&&i>2];var iovlen=HEAP32[iov+(8*i+4)>>2];if(!iovlen){continue}var length=Math.min(iovlen,bytesRemaining);var buf=msg.buffer.subarray(bytesRead,bytesRead+length);HEAPU8.set(buf,iovbase+bytesRead);bytesRead+=length;bytesRemaining-=length}return bytesRead};default:abort("unsupported socketcall syscall "+call)}}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function _emscripten_set_wheel_callback(target,userData,useCapture,callbackfunc){target=JSEvents.findEventTarget(target);if(typeof target.onwheel!=="undefined"){JSEvents.registerWheelEventCallback(target,userData,useCapture,callbackfunc,9,"wheel");return 0}else if(typeof target.onmousewheel!=="undefined"){JSEvents.registerWheelEventCallback(target,userData,useCapture,callbackfunc,9,"mousewheel");return 0}else{return-1}}function _emscripten_set_gamepaddisconnected_callback(userData,useCapture,callbackfunc){if(!navigator.getGamepads&&!navigator.webkitGetGamepads)return-1;JSEvents.registerGamepadEventCallback(window,userData,useCapture,callbackfunc,27,"gamepaddisconnected");return 0}function _emscripten_set_mouseenter_callback(target,userData,useCapture,callbackfunc){JSEvents.registerMouseEventCallback(target,userData,useCapture,callbackfunc,33,"mouseenter");return 0}function _emscripten_glBindProgramARB(){Module["printErr"]("missing function: emscripten_glBindProgramARB");abort(-1)}function _emscripten_glCheckFramebufferStatus(x0){return GLctx.checkFramebufferStatus(x0)}function _emscripten_glDeleteProgram(id){if(!id)return;var program=GL.programs[id];if(!program){GL.recordError(1281);return}GLctx.deleteProgram(program);program.name=0;GL.programs[id]=null;GL.programInfos[id]=null}function _emscripten_glDisable(x0){GLctx.disable(x0)}function _emscripten_glVertexAttrib3fv(index,v){v=HEAPF32.subarray(v>>2,v+12>>2);GLctx.vertexAttrib3fv(index,v)}function _emscripten_glGetActiveAttrib(program,index,bufSize,length,size,type,name){program=GL.programs[program];var info=GLctx.getActiveAttrib(program,index);if(!info)return;var infoname=info.name.slice(0,Math.max(0,bufSize-1));if(bufSize>0&&name){writeStringToMemory(infoname,name);if(length)HEAP32[length>>2]=infoname.length}else{if(length)HEAP32[length>>2]=0}if(size)HEAP32[size>>2]=info.size;if(type)HEAP32[type>>2]=info.type}function _emscripten_glIsFramebuffer(framebuffer){var fb=GL.framebuffers[framebuffer];if(!fb)return 0;return GLctx.isFramebuffer(fb)}function _emscripten_glLineWidth(x0){GLctx.lineWidth(x0)}function _emscripten_glGetString(name_){if(GL.stringCache[name_])return GL.stringCache[name_];var ret;switch(name_){case 7936:case 7937:case 7938:ret=allocate(intArrayFromString(GLctx.getParameter(name_)),"i8",ALLOC_NORMAL);break;case 7939:var exts=GLctx.getSupportedExtensions();var gl_exts=[];for(var i in exts){gl_exts.push(exts[i]);gl_exts.push("GL_"+exts[i])}ret=allocate(intArrayFromString(gl_exts.join(" ")),"i8",ALLOC_NORMAL);break;case 35724:var glslVersion=GLctx.getParameter(GLctx.SHADING_LANGUAGE_VERSION);if(glslVersion.indexOf("WebGL GLSL ES 1.0")!=-1)glslVersion="OpenGL ES GLSL ES 1.00 (WebGL)";ret=allocate(intArrayFromString(glslVersion),"i8",ALLOC_NORMAL);break;default:GL.recordError(1280);return 0}GL.stringCache[name_]=ret;return ret}function ___syscall195(which,varargs){SYSCALLS.varargs=varargs;try{var path=SYSCALLS.getStr(),buf=SYSCALLS.get();return SYSCALLS.doStat(FS.stat,path,buf)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function emscriptenWebGLComputeImageSize(width,height,sizePerPixel,alignment){function roundedToNextMultipleOf(x,y){return Math.floor((x+y-1)/y)*y}var plainRowSize=width*sizePerPixel;var alignedRowSize=roundedToNextMultipleOf(plainRowSize,alignment);return height<=0?0:(height-1)*alignedRowSize+plainRowSize}function emscriptenWebGLGetTexPixelData(type,format,width,height,pixels,internalFormat){var sizePerPixel;var numChannels;switch(format){case 6406:case 6409:case 6402:case 6403:numChannels=1;break;case 6410:case 33319:numChannels=2;break;case 6407:case 35904:numChannels=3;break;case 6408:case 35906:numChannels=4;break;default:GL.recordError(1280);return{pixels:null,internalFormat:0}}switch(type){case 5121:sizePerPixel=numChannels*1;break;case 5123:case 36193:sizePerPixel=numChannels*2;break;case 5125:case 5126:sizePerPixel=numChannels*4;break;case 34042:sizePerPixel=4;break;case 33635:case 32819:case 32820:sizePerPixel=2;break;default:GL.recordError(1280);return{pixels:null,internalFormat:0}}var bytes=emscriptenWebGLComputeImageSize(width,height,sizePerPixel,GL.unpackAlignment);if(type==5121){pixels=HEAPU8.subarray(pixels,pixels+bytes)}else if(type==5126){pixels=HEAPF32.subarray(pixels>>2,pixels+bytes>>2)}else if(type==5125||type==34042){pixels=HEAPU32.subarray(pixels>>2,pixels+bytes>>2)}else{pixels=HEAPU16.subarray(pixels>>1,pixels+bytes>>1)}return{pixels:pixels,internalFormat:internalFormat}}function _emscripten_glTexSubImage2D(target,level,xoffset,yoffset,width,height,format,type,pixels){var pixelData;if(pixels){pixelData=emscriptenWebGLGetTexPixelData(type,format,width,height,pixels,-1).pixels}else{pixelData=null}GLctx.texSubImage2D(target,level,xoffset,yoffset,width,height,format,type,pixelData)}function ___syscall197(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),buf=SYSCALLS.get();return SYSCALLS.doStat(FS.stat,stream.path,buf)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall196(which,varargs){SYSCALLS.varargs=varargs;try{var path=SYSCALLS.getStr(),buf=SYSCALLS.get();return SYSCALLS.doStat(FS.lstat,path,buf)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall202(which,varargs){SYSCALLS.varargs=varargs;try{return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall199(){return ___syscall202.apply(null,arguments)}function _emscripten_glRotatef(){Module["printErr"]("missing function: emscripten_glRotatef");abort(-1)}function _emscripten_glVertexAttrib2f(x0,x1,x2){GLctx.vertexAttrib2f(x0,x1,x2)}function emscriptenWebGLGet(name_,p,type){if(!p){GL.recordError(1281);return}var ret=undefined;switch(name_){case 36346:ret=1;break;case 36344:if(type!=="Integer"&&type!=="Integer64"){GL.recordError(1280)}return;case 36345:ret=0;break;case 34466:var formats=GLctx.getParameter(34467);ret=formats.length;break;case 35738:ret=5121;break;case 35739:ret=6408;break}if(ret===undefined){var result=GLctx.getParameter(name_);switch(typeof result){case"number":ret=result;break;case"boolean":ret=result?1:0;break;case"string":GL.recordError(1280);return;case"object":if(result===null){switch(name_){case 34964:case 35725:case 34965:case 36006:case 36007:case 32873:case 34068:{ret=0;break};default:{GL.recordError(1280);return}}}else if(result instanceof Float32Array||result instanceof Uint32Array||result instanceof Int32Array||result instanceof Array){for(var i=0;i>2]=result[i];break;case"Float":HEAPF32[p+i*4>>2]=result[i];break;case"Boolean":HEAP8[p+i>>0]=result[i]?1:0;break;default:throw"internal glGet error, bad type: "+type}}return}else if(result instanceof WebGLBuffer||result instanceof WebGLProgram||result instanceof WebGLFramebuffer||result instanceof WebGLRenderbuffer||result instanceof WebGLTexture){ret=result.name|0}else{GL.recordError(1280);return}break;default:GL.recordError(1280);return}}switch(type){case"Integer64":tempI64=[ret>>>0,(tempDouble=ret,+Math_abs(tempDouble)>=+1?tempDouble>+0?(Math_min(+Math_floor(tempDouble/+4294967296),+4294967295)|0)>>>0:~~+Math_ceil((tempDouble- +(~~tempDouble>>>0))/+4294967296)>>>0:0)],HEAP32[p>>2]=tempI64[0],HEAP32[p+4>>2]=tempI64[1];break;case"Integer":HEAP32[p>>2]=ret;break;case"Float":HEAPF32[p>>2]=ret;break;case"Boolean":HEAP8[p>>0]=ret?1:0;break;default:throw"internal glGet error, bad type: "+type}}function _emscripten_glGetIntegerv(name_,p){emscriptenWebGLGet(name_,p,"Integer")}function _llvm_ctpop_i32(x){var ret=0;while(x){if(x&1)ret++;x>>>=1}return ret}function _emscripten_glGetFramebufferAttachmentParameteriv(target,attachment,pname,params){var result=GLctx.getFramebufferAttachmentParameter(target,attachment,pname);HEAP32[params>>2]=result}function _emscripten_glClientActiveTexture(){Module["printErr"]("missing function: emscripten_glClientActiveTexture");abort(-1)}function _emscripten_set_focus_callback(target,userData,useCapture,callbackfunc){JSEvents.registerFocusEventCallback(target,userData,useCapture,callbackfunc,13,"focus");return 0}function _emscripten_memcpy_big(dest,src,num){HEAPU8.set(HEAPU8.subarray(src,src+num),dest);return dest}Module["_memcpy"]=_memcpy;function _emscripten_glGetShaderInfoLog(shader,maxLength,length,infoLog){var log=GLctx.getShaderInfoLog(GL.shaders[shader]);if(log===null)log="(unknown error)";log=log.substr(0,maxLength-1);if(maxLength>0&&infoLog){writeStringToMemory(log,infoLog);if(length)HEAP32[length>>2]=log.length}else{if(length)HEAP32[length>>2]=0}}function _emscripten_set_mouseup_callback(target,userData,useCapture,callbackfunc){JSEvents.registerMouseEventCallback(target,userData,useCapture,callbackfunc,6,"mouseup");return 0}function _emscripten_glStencilOpSeparate(x0,x1,x2,x3){GLctx.stencilOpSeparate(x0,x1,x2,x3)}function _glutInitDisplayMode(mode){GLUT.initDisplayMode=mode}function _glutCreateWindow(name){var contextAttributes={antialias:(GLUT.initDisplayMode&128)!=0,depth:(GLUT.initDisplayMode&16)!=0,stencil:(GLUT.initDisplayMode&32)!=0};Module.ctx=Browser.createContext(Module["canvas"],true,true,contextAttributes);return Module.ctx?1:0}function _eglCreateContext(display,config,hmm,contextAttribs){if(display!=62e3){EGL.setErrorCode(12296);return 0}var glesContextVersion=1;for(;;){var param=HEAP32[contextAttribs>>2];if(param==12440){glesContextVersion=HEAP32[contextAttribs+4>>2]}else if(param==12344){break}else{EGL.setErrorCode(12292);return 0}contextAttribs+=8}if(glesContextVersion!=2){EGL.setErrorCode(12293);return 0}_glutInitDisplayMode(178);EGL.windowID=_glutCreateWindow();if(EGL.windowID!=0){EGL.setErrorCode(12288);return 62004}else{EGL.setErrorCode(12297);return 0}}function _emscripten_glReadPixels(x,y,width,height,format,type,pixels){var data=emscriptenWebGLGetTexPixelData(type,format,width,height,pixels,format);if(!data.pixels){GL.recordError(1280);return}GLctx.readPixels(x,y,width,height,format,type,data.pixels)}function _emscripten_glCompressedTexSubImage2D(target,level,xoffset,yoffset,width,height,format,imageSize,data){var heapView;if(data){heapView=HEAPU8.subarray(data,data+imageSize)}else{heapView=null}GLctx["compressedTexSubImage2D"](target,level,xoffset,yoffset,width,height,format,heapView)}function _emscripten_glGetError(){if(GL.lastError){var error=GL.lastError;GL.lastError=0;return error}else{return GLctx.getError()}}function _eglBindAPI(api){if(api==12448){EGL.setErrorCode(12288);return 1}else{EGL.setErrorCode(12300);return 0}}function ___syscall39(which,varargs){SYSCALLS.varargs=varargs;try{var path=SYSCALLS.getStr(),mode=SYSCALLS.get();return SYSCALLS.doMkdir(path,mode)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall38(which,varargs){SYSCALLS.varargs=varargs;try{var old_path=SYSCALLS.getStr(),new_path=SYSCALLS.getStr();FS.rename(old_path,new_path);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall33(which,varargs){SYSCALLS.varargs=varargs;try{var path=SYSCALLS.getStr(),amode=SYSCALLS.get();return SYSCALLS.doAccess(path,amode)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function _pthread_cleanup_push(routine,arg){__ATEXIT__.push((function(){Runtime.dynCall("vi",routine,[arg])}));_pthread_cleanup_push.level=__ATEXIT__.length}function _emscripten_glFramebufferTexture2D(target,attachment,textarget,texture,level){GLctx.framebufferTexture2D(target,attachment,textarget,GL.textures[texture],level)}function _alSourcei(source,param,value){if(!AL.currentContext){return}var src=AL.currentContext.src[source];if(!src){AL.currentContext.err=40961;return}switch(param){case 4097:src.coneInnerAngle=value;break;case 4098:src.coneOuterAngle=value;break;case 4103:src.loop=value===1;break;case 4105:var buffer=AL.currentContext.buf[value-1];if(value==0){src.queue=[]}else{src.queue=[{buffer:buffer}]}AL.updateSource(src);break;case 514:if(value===0){if(src.panner){src.panner=null;src.gain.disconnect();src.gain.connect(AL.currentContext.gain)}}else if(value===1){if(!src.panner){var panner=src.panner=AL.currentContext.ctx.createPanner();panner.panningModel="equalpower";panner.distanceModel="linear";panner.refDistance=src.refDistance;panner.maxDistance=src.maxDistance;panner.rolloffFactor=src.rolloffFactor;panner.setPosition(src.position[0],src.position[1],src.position[2]);panner.setVelocity(src.velocity[0],src.velocity[1],src.velocity[2]);panner.connect(AL.currentContext.gain);src.gain.disconnect();src.gain.connect(panner)}}else{AL.currentContext.err=40963}break;default:AL.currentContext.err=40962;break}}function _emscripten_glIsEnabled(x0){return GLctx.isEnabled(x0)}function _alSourceQueueBuffers(source,count,buffers){if(!AL.currentContext){return}var src=AL.currentContext.src[source];if(!src){AL.currentContext.err=40961;return}for(var i=0;i>2];if(bufferIdx>AL.currentContext.buf.length){AL.currentContext.err=40961;return}}for(var i=0;i>2];var buffer=AL.currentContext.buf[bufferIdx-1];src.queue.push({buffer:buffer,src:null})}AL.updateSource(src)}function _alSourcef(source,param,value){if(!AL.currentContext){return}var src=AL.currentContext.src[source];if(!src){AL.currentContext.err=40961;return}switch(param){case 4099:break;case 4106:src.gain.gain.value=value;break;case 4131:src.maxDistance=value;break;case 4129:src.rolloffFactor=value;break;case 4130:src.coneOuterGain=value;break;case 4097:src.coneInnerAngle=value;break;case 4098:src.coneOuterAngle=value;break;case 4128:src.refDistance=value;break;default:AL.currentContext.err=40962;break}}Module["_memmove"]=_memmove;function _emscripten_glClearDepthf(x0){GLctx.clearDepth(x0)}var __sigalrm_handler=0;function _signal(sig,func){if(sig==14){__sigalrm_handler=func}else{}return 0}function _emscripten_glVertexAttrib4f(x0,x1,x2,x3,x4){GLctx.vertexAttrib4f(x0,x1,x2,x3,x4)}function ___gxx_personality_v0(){}function _pthread_cond_wait(){return 0}function _alListenerf(param,value){if(!AL.currentContext){return}switch(param){case 4106:AL.currentContext.gain.gain.value=value;break;default:AL.currentContext.err=40962;break}}function _emscripten_glClear(x0){GLctx.clear(x0)}Module["_llvm_ctlz_i64"]=_llvm_ctlz_i64;function _alGetError(){if(!AL.currentContext){return 40964}else{var err=AL.currentContext.err;AL.currentContext.err=0;return err}}function _emscripten_get_now(){if(!_emscripten_get_now.actual){if(ENVIRONMENT_IS_NODE){_emscripten_get_now.actual=function _emscripten_get_now_actual(){var t=process["hrtime"]();return t[0]*1e3+t[1]/1e6}}else if(typeof dateNow!=="undefined"){_emscripten_get_now.actual=dateNow}else if(typeof self==="object"&&self["performance"]&&typeof self["performance"]["now"]==="function"){_emscripten_get_now.actual=function _emscripten_get_now_actual(){return self["performance"]["now"]()}}else if(typeof performance==="object"&&typeof performance["now"]==="function"){_emscripten_get_now.actual=function _emscripten_get_now_actual(){return performance["now"]()}}else{_emscripten_get_now.actual=Date.now}}return _emscripten_get_now.actual()}function _emscripten_get_now_is_monotonic(){return ENVIRONMENT_IS_NODE||typeof dateNow!=="undefined"||(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)&&self["performance"]&&self["performance"]["now"]}function _clock_gettime(clk_id,tp){var now;if(clk_id===0){now=Date.now()}else if(clk_id===1&&_emscripten_get_now_is_monotonic()){now=_emscripten_get_now()}else{___setErrNo(ERRNO_CODES.EINVAL);return-1}HEAP32[tp>>2]=now/1e3|0;HEAP32[tp+4>>2]=now%1e3*1e3*1e3|0;return 0}function _alGetListenerfv(pname,values){if(!AL.currentContext){return}switch(pname){case 4100:var position=AL.currentContext.ctx.listener._position||[0,0,0];HEAPF32[values>>2]=position[0];HEAPF32[values+4>>2]=position[1];HEAPF32[values+8>>2]=position[2];break;case 4102:var velocity=AL.currentContext.ctx.listener._velocity||[0,0,0];HEAPF32[values>>2]=velocity[0];HEAPF32[values+4>>2]=velocity[1];HEAPF32[values+8>>2]=velocity[2];break;case 4111:var orientation=AL.currentContext.ctx.listener._orientation||[0,0,-1,0,1,0];HEAPF32[values>>2]=orientation[0];HEAPF32[values+4>>2]=orientation[1];HEAPF32[values+8>>2]=orientation[2];HEAPF32[values+12>>2]=orientation[3];HEAPF32[values+16>>2]=orientation[4];HEAPF32[values+20>>2]=orientation[5];break;default:AL.currentContext.err=40962;break}}function _emscripten_glBindBuffer(target,buffer){var bufferObj=buffer?GL.buffers[buffer]:null;if(target==GLctx.ARRAY_BUFFER){GL.currArrayBuffer=buffer}else if(target==GLctx.ELEMENT_ARRAY_BUFFER){GL.currElementArrayBuffer=buffer}GLctx.bindBuffer(target,bufferObj)}function _emscripten_glDisableVertexAttribArray(index){var cb=GL.currentContext.clientBuffers[index];cb.enabled=false;GLctx.disableVertexAttribArray(index)}function _alcOpenDevice(deviceName){if(typeof AudioContext!=="undefined"||typeof webkitAudioContext!=="undefined"){return 1}else{return 0}}Module["_bitshift64Shl"]=_bitshift64Shl;function _emscripten_glGetBufferParameteriv(target,value,data){if(!data){GL.recordError(1281);return}HEAP32[data>>2]=GLctx.getBufferParameter(target,value)}function _emscripten_glGetAttachedShaders(program,maxCount,count,shaders){var result=GLctx.getAttachedShaders(GL.programs[program]);var len=result.length;if(len>maxCount){len=maxCount}HEAP32[count>>2]=len;for(var i=0;i>2]=id}}function _alSourceRewind(source){if(!AL.currentContext){return}var src=AL.currentContext.src[source];if(!src){AL.currentContext.err=40961;return}AL.setSourceState(src,4116);AL.setSourceState(src,4113)}function _emscripten_glGenRenderbuffers(n,renderbuffers){for(var i=0;i>2]=0;return}var id=GL.getNewId(GL.renderbuffers);renderbuffer.name=id;GL.renderbuffers[id]=renderbuffer;HEAP32[renderbuffers+i*4>>2]=id}}function _alGetSourcefv(source,param,values){if(!AL.currentContext){return}var src=AL.currentContext.src[source];if(!src){AL.currentContext.err=40961;return}switch(param){case 4099:case 4106:case 4109:case 4110:case 4131:case 4129:case 4130:case 4097:case 4098:case 4128:case 4132:case 4133:case 4134:_alGetSourcef(source,param,values);break;case 4100:var position=src.position;HEAPF32[values>>2]=position[0];HEAPF32[values+4>>2]=position[1];HEAPF32[values+8>>2]=position[2];break;case 4101:var direction=src.direction;HEAPF32[values>>2]=direction[0];HEAPF32[values+4>>2]=direction[1];HEAPF32[values+8>>2]=direction[2];break;case 4102:var velocity=src.velocity;HEAPF32[values>>2]=velocity[0];HEAPF32[values+4>>2]=velocity[1];HEAPF32[values+8>>2]=velocity[2];break;default:AL.currentContext.err=40962;break}}function _emscripten_glFrontFace(x0){GLctx.frontFace(x0)}function _emscripten_glActiveTexture(x0){GLctx.activeTexture(x0)}function _emscripten_glUniform1iv(location,count,value){location=GL.uniforms[location];value=HEAP32.subarray(value>>2,value+count*4>>2);GLctx.uniform1iv(location,value)}function _emscripten_glGetAttribLocation(program,name){program=GL.programs[program];name=Pointer_stringify(name);return GLctx.getAttribLocation(program,name)}function _emscripten_glTexCoordPointer(){Module["printErr"]("missing function: emscripten_glTexCoordPointer");abort(-1)}function _emscripten_glGetInfoLogARB(){Module["printErr"]("missing function: emscripten_glGetInfoLogARB");abort(-1)}function __exit(status){Module["exit"](status)}function _exit(status){__exit(status)}function _pthread_setspecific(key,value){if(!(key in PTHREAD_SPECIFIC)){return ERRNO_CODES.EINVAL}PTHREAD_SPECIFIC[key]=value;return 0}function _gethostbyname(name){name=Pointer_stringify(name);var ret=_malloc(20);var nameBuf=_malloc(name.length+1);writeStringToMemory(name,nameBuf);HEAP32[ret>>2]=nameBuf;var aliasesBuf=_malloc(4);HEAP32[aliasesBuf>>2]=0;HEAP32[ret+4>>2]=aliasesBuf;var afinet=2;HEAP32[ret+8>>2]=afinet;HEAP32[ret+12>>2]=4;var addrListBuf=_malloc(12);HEAP32[addrListBuf>>2]=addrListBuf+8;HEAP32[addrListBuf+4>>2]=0;HEAP32[addrListBuf+8>>2]=__inet_pton4_raw(DNS.lookup_name(name));HEAP32[ret+16>>2]=addrListBuf;return ret}function _gethostbyaddr(addr,addrlen,type){if(type!==2){___setErrNo(ERRNO_CODES.EAFNOSUPPORT);return null}addr=HEAP32[addr>>2];var host=__inet_ntop4_raw(addr);var lookup=DNS.lookup_addr(host);if(lookup){host=lookup}var hostp=allocate(intArrayFromString(host),"i8",ALLOC_STACK);return _gethostbyname(hostp)}function _emscripten_set_keyup_callback(target,userData,useCapture,callbackfunc){JSEvents.registerKeyEventCallback(target,userData,useCapture,callbackfunc,3,"keyup");return 0}function _emscripten_glRenderbufferStorage(x0,x1,x2,x3){GLctx.renderbufferStorage(x0,x1,x2,x3)}function _emscripten_set_mousemove_callback(target,userData,useCapture,callbackfunc){JSEvents.registerMouseEventCallback(target,userData,useCapture,callbackfunc,8,"mousemove");return 0}function ___syscall10(which,varargs){SYSCALLS.varargs=varargs;try{var path=SYSCALLS.getStr();FS.unlink(path);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function _emscripten_glTexParameteriv(target,pname,params){var param=HEAP32[params>>2];GLctx.texParameteri(target,pname,param)}function _emscripten_glShaderBinary(){GL.recordError(1280)}function _emscripten_glIsProgram(program){var program=GL.programs[program];if(!program)return 0;return GLctx.isProgram(program)}function ___cxa_begin_catch(ptr){__ZSt18uncaught_exceptionv.uncaught_exception--;EXCEPTIONS.caught.push(ptr);EXCEPTIONS.addRef(EXCEPTIONS.deAdjust(ptr));return ptr}function _eglInitialize(display,majorVersion,minorVersion){if(display==62e3){if(majorVersion){HEAP32[majorVersion>>2]=1}if(minorVersion){HEAP32[minorVersion>>2]=4}EGL.defaultDisplayInitialized=true;EGL.setErrorCode(12288);return 1}else{EGL.setErrorCode(12296);return 0}}function _emscripten_glBlendColor(x0,x1,x2,x3){GLctx.blendColor(x0,x1,x2,x3)}function _emscripten_glGetShaderiv(shader,pname,p){if(!p){GL.recordError(1281);return}if(pname==35716){var log=GLctx.getShaderInfoLog(GL.shaders[shader]);if(log===null)log="(unknown error)";HEAP32[p>>2]=log.length+1}else{HEAP32[p>>2]=GLctx.getShaderParameter(GL.shaders[shader],pname)}}function _emscripten_glUniformMatrix3fv(location,count,transpose,value){location=GL.uniforms[location];var view;if(count===1){view=GL.miniTempBufferViews[8];for(var i=0;i<9;i++){view[i]=HEAPF32[value+i*4>>2]}}else{view=HEAPF32.subarray(value>>2,value+count*36>>2)}GLctx.uniformMatrix3fv(location,transpose,view)}function _emscripten_glUniform4fv(location,count,value){location=GL.uniforms[location];var view;if(count===1){view=GL.miniTempBufferViews[3];view[0]=HEAPF32[value>>2];view[1]=HEAPF32[value+4>>2];view[2]=HEAPF32[value+8>>2];view[3]=HEAPF32[value+12>>2]}else{view=HEAPF32.subarray(value>>2,value+count*16>>2)}GLctx.uniform4fv(location,view)}function _emscripten_set_keypress_callback(target,userData,useCapture,callbackfunc){JSEvents.registerKeyEventCallback(target,userData,useCapture,callbackfunc,1,"keypress");return 0}function _emscripten_glGenFramebuffers(n,ids){for(var i=0;i>2]=0;return}var id=GL.getNewId(GL.framebuffers);framebuffer.name=id;GL.framebuffers[id]=framebuffer;HEAP32[ids+i*4>>2]=id}}function ___syscall40(which,varargs){SYSCALLS.varargs=varargs;try{var path=SYSCALLS.getStr();FS.rmdir(path);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function _emscripten_exit_pointerlock(){JSEvents.removeDeferredCalls(JSEvents.requestPointerLock);if(document.exitPointerLock){document.exitPointerLock()}else if(document.msExitPointerLock){document.msExitPointerLock()}else if(document.mozExitPointerLock){document.mozExitPointerLock()}else if(document.webkitExitPointerLock){document.webkitExitPointerLock()}else{return-1}return 0}function _emscripten_glBlendEquationSeparate(x0,x1){GLctx.blendEquationSeparate(x0,x1)}function _eglWaitNative(nativeEngineId){EGL.setErrorCode(12288);return 1}function _usleep(useconds){var msec=useconds/1e3;if((ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)&&self["performance"]&&self["performance"]["now"]){var start=self["performance"]["now"]();while(self["performance"]["now"]()-start>2];var nanoseconds=HEAP32[rqtp+4>>2];if(rmtp!==0){HEAP32[rmtp>>2]=0;HEAP32[rmtp+4>>2]=0}return _usleep(seconds*1e6+nanoseconds/1e3)}function _emscripten_glBindTexture(target,texture){GLctx.bindTexture(target,texture?GL.textures[texture]:null)}function _emscripten_glDrawRangeElements(){Module["printErr"]("missing function: emscripten_glDrawRangeElements");abort(-1)}function _emscripten_glGenTextures(n,textures){for(var i=0;i>2]=0;return}var id=GL.getNewId(GL.textures);texture.name=id;GL.textures[id]=texture;HEAP32[textures+i*4>>2]=id}}function _emscripten_glVertexAttrib2fv(index,v){v=HEAPF32.subarray(v>>2,v+8>>2);GLctx.vertexAttrib2fv(index,v)}function _emscripten_glGetActiveUniform(program,index,bufSize,length,size,type,name){program=GL.programs[program];var info=GLctx.getActiveUniform(program,index);if(!info)return;var infoname=info.name.slice(0,Math.max(0,bufSize-1));if(bufSize>0&&name){writeStringToMemory(infoname,name);if(length)HEAP32[length>>2]=infoname.length}else{if(length)HEAP32[length>>2]=0}if(size)HEAP32[size>>2]=info.size;if(type)HEAP32[type>>2]=info.type}function _emscripten_glDeleteObjectARB(){Module["printErr"]("missing function: emscripten_glDeleteObjectARB");abort(-1)}function _emscripten_set_touchmove_callback(target,userData,useCapture,callbackfunc){JSEvents.registerTouchEventCallback(target,userData,useCapture,callbackfunc,24,"touchmove");return 0}function _emscripten_glUniform1f(location,v0){location=GL.uniforms[location];GLctx.uniform1f(location,v0)}function _alcCreateContext(device,attrList){if(device!=1){return 0}if(attrList){return 0}var ctx;try{ctx=new AudioContext}catch(e){try{ctx=new webkitAudioContext}catch(e){}}if(ctx){if(typeof ctx.createGain==="undefined")ctx.createGain=ctx.createGainNode;var gain=ctx.createGain();gain.connect(ctx.destination);var context={ctx:ctx,err:0,src:{},buf:[],interval:setInterval((function(){AL.updateSources(context)}),AL.QUEUE_INTERVAL),gain:gain};AL.contexts.push(context);return AL.contexts.length}else{return 0}}function _emscripten_glVertexAttribPointer(index,size,type,normalized,stride,ptr){var cb=GL.currentContext.clientBuffers[index];if(!GL.currArrayBuffer){cb.size=size;cb.type=type;cb.normalized=normalized;cb.stride=stride;cb.ptr=ptr;cb.clientside=true;return}cb.clientside=false;GLctx.vertexAttribPointer(index,size,type,normalized,stride,ptr)}function _alcCloseDevice(device){}function _emscripten_glDrawArrays(mode,first,count){GL.preDrawHandleClientVertexAttribBindings(first+count);GLctx.drawArrays(mode,first,count);GL.postDrawHandleClientVertexAttribBindings()}function _emscripten_glGenBuffers(n,buffers){for(var i=0;i>2]=0;return}var id=GL.getNewId(GL.buffers);buffer.name=id;GL.buffers[id]=buffer;HEAP32[buffers+i*4>>2]=id}}function _emscripten_glClearDepth(x0){GLctx.clearDepth(x0)}Module["_i64Subtract"]=_i64Subtract;var PTHREAD_SPECIFIC_NEXT_KEY=1;function _pthread_key_create(key,destructor){if(key==0){return ERRNO_CODES.EINVAL}HEAP32[key>>2]=PTHREAD_SPECIFIC_NEXT_KEY;PTHREAD_SPECIFIC[PTHREAD_SPECIFIC_NEXT_KEY]=0;PTHREAD_SPECIFIC_NEXT_KEY++;return 0}function _system(command){___setErrNo(ERRNO_CODES.EAGAIN);return-1}function _emscripten_glGetUniformLocation(program,name){name=Pointer_stringify(name);var arrayOffset=0;if(name.indexOf("]",name.length-1)!==-1){var ls=name.lastIndexOf("[");var arrayIndex=name.slice(ls+1,-1);if(arrayIndex.length>0){arrayOffset=parseInt(arrayIndex);if(arrayOffset<0){return-1}}name=name.slice(0,ls)}var ptable=GL.programInfos[program];if(!ptable){return-1}var utable=ptable.uniforms;var uniformInfo=utable[name];if(uniformInfo&&arrayOffset>2]);if(n==0){if(GLctx.getParameter(GLctx["DRAW_FRAMEBUFFER_BINDING"])!=0)bufArray.push(GLctx["NONE"]);else{GL.recordError(1282);return}}GLctx["drawBuffers"](bufArray)}function _pthread_mutex_unlock(){}function _emscripten_glBindFramebuffer(target,framebuffer){GLctx.bindFramebuffer(target,framebuffer?GL.framebuffers[framebuffer]:null)}function _emscripten_glBlendEquation(x0){GLctx.blendEquation(x0)}function _emscripten_glBufferSubData(target,offset,size,data){GLctx.bufferSubData(target,offset,HEAPU8.subarray(data,data+size))}function _alcCaptureStart(){Module["printErr"]("missing function: alcCaptureStart");abort(-1)}function _emscripten_set_keydown_callback(target,userData,useCapture,callbackfunc){JSEvents.registerKeyEventCallback(target,userData,useCapture,callbackfunc,2,"keydown");return 0}function _emscripten_glBufferData(target,size,data,usage){switch(usage){case 35041:case 35042:usage=35040;break;case 35045:case 35046:usage=35044;break;case 35049:case 35050:usage=35048;break}if(!data){GLctx.bufferData(target,size,usage)}else{GLctx.bufferData(target,HEAPU8.subarray(data,data+size),usage)}}function _sbrk(bytes){var self=_sbrk;if(!self.called){DYNAMICTOP=alignMemoryPage(DYNAMICTOP);self.called=true;assert(Runtime.dynamicAlloc);self.alloc=Runtime.dynamicAlloc;Runtime.dynamicAlloc=(function(){abort("cannot dynamically allocate, sbrk now has control")})}var ret=DYNAMICTOP;if(bytes!=0){var success=self.alloc(bytes);if(!success)return-1>>>0}return ret}function _alcMakeContextCurrent(context){if(context==0){AL.currentContext=null;return 0}else{AL.currentContext=AL.contexts[context-1];return 1}}function _emscripten_glVertexAttrib4fv(index,v){v=HEAPF32.subarray(v>>2,v+16>>2);GLctx.vertexAttrib4fv(index,v)}function _emscripten_glDeleteFramebuffers(n,framebuffers){for(var i=0;i>2];var framebuffer=GL.framebuffers[id];if(!framebuffer)continue;GLctx.deleteFramebuffer(framebuffer);framebuffer.name=0;GL.framebuffers[id]=null}}function ___syscall85(which,varargs){SYSCALLS.varargs=varargs;try{var path=SYSCALLS.getStr(),buf=SYSCALLS.get(),bufsize=SYSCALLS.get();return SYSCALLS.doReadlink(path,buf,bufsize)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function _emscripten_glGetShaderSource(shader,bufSize,length,source){var result=GLctx.getShaderSource(GL.shaders[shader]);if(!result)return;result=result.slice(0,Math.max(0,bufSize-1));if(bufSize>0&&source){writeStringToMemory(result,source);if(length)HEAP32[length>>2]=result.length}else{if(length)HEAP32[length>>2]=0}}function _emscripten_glBindVertexArray(vao){GLctx["bindVertexArray"](GL.vaos[vao])}function ___cxa_guard_release(){}function _emscripten_set_gamepadconnected_callback(userData,useCapture,callbackfunc){if(!navigator.getGamepads&&!navigator.webkitGetGamepads)return-1;JSEvents.registerGamepadEventCallback(window,userData,useCapture,callbackfunc,26,"gamepadconnected");return 0}function _emscripten_glGetFloatv(name_,p){emscriptenWebGLGet(name_,p,"Float")}function ___assert_fail(condition,filename,line,func){ABORT=true;throw"Assertion failed: "+Pointer_stringify(condition)+", at: "+[filename?Pointer_stringify(filename):"unknown filename",line,func?Pointer_stringify(func):"unknown function"]+" at "+stackTrace()}function _alDopplerFactor(value){Runtime.warnOnce("alDopplerFactor() is not yet implemented! Ignoring all calls to it.")}function _emscripten_glUniform3fv(location,count,value){location=GL.uniforms[location];var view;if(count===1){view=GL.miniTempBufferViews[2];view[0]=HEAPF32[value>>2];view[1]=HEAPF32[value+4>>2];view[2]=HEAPF32[value+8>>2]}else{view=HEAPF32.subarray(value>>2,value+count*12>>2)}GLctx.uniform3fv(location,view)}function _emscripten_glDrawElementsInstanced(mode,count,type,indices,primcount){GLctx["drawElementsInstanced"](mode,count,type,indices,primcount)}function _eglMakeCurrent(display,draw,read,context){if(display!=62e3){EGL.setErrorCode(12296);return 0}if(context!=0&&context!=62004){EGL.setErrorCode(12294);return 0}if(read!=0&&read!=62006||draw!=0&&draw!=62006){EGL.setErrorCode(12301);return 0}EGL.currentContext=context;EGL.currentDrawSurface=draw;EGL.currentReadSurface=read;EGL.setErrorCode(12288);return 1}function _emscripten_glDrawElements(mode,count,type,indices){var buf;if(!GL.currElementArrayBuffer){var size=GL.calcBufLength(1,type,0,count);buf=GL.getTempIndexBuffer(size);GLctx.bindBuffer(GLctx.ELEMENT_ARRAY_BUFFER,buf);GLctx.bufferSubData(GLctx.ELEMENT_ARRAY_BUFFER,0,HEAPU8.subarray(indices,indices+size));indices=0}GL.preDrawHandleClientVertexAttribBindings(count);GLctx.drawElements(mode,count,type,indices);GL.postDrawHandleClientVertexAttribBindings(count);if(!GL.currElementArrayBuffer){GLctx.bindBuffer(GLctx.ELEMENT_ARRAY_BUFFER,null)}}function _emscripten_set_main_loop_arg(func,arg,fps,simulateInfiniteLoop){_emscripten_set_main_loop(func,fps,simulateInfiniteLoop,arg)}function _emscripten_glCreateProgram(){var id=GL.getNewId(GL.programs);var program=GLctx.createProgram();program.name=id;GL.programs[id]=program;return id}function _pthread_once(ptr,func){if(!_pthread_once.seen)_pthread_once.seen={};if(ptr in _pthread_once.seen)return;Runtime.dynCall("v",func);_pthread_once.seen[ptr]=1}function _emscripten_glCompressedTexImage2D(target,level,internalFormat,width,height,border,imageSize,data){var heapView;if(data){heapView=HEAPU8.subarray(data,data+imageSize)}else{heapView=null}GLctx["compressedTexImage2D"](target,level,internalFormat,width,height,border,heapView)}function _emscripten_glClearColor(x0,x1,x2,x3){GLctx.clearColor(x0,x1,x2,x3)}function ___unlock(){}var _llvm_fabs_f64=Math_abs;function _alcCaptureStop(){Module["printErr"]("missing function: alcCaptureStop");abort(-1)}function _setenv(envname,envval,overwrite){if(envname===0){___setErrNo(ERRNO_CODES.EINVAL);return-1}var name=Pointer_stringify(envname);var val=Pointer_stringify(envval);if(name===""||name.indexOf("=")!==-1){___setErrNo(ERRNO_CODES.EINVAL);return-1}if(ENV.hasOwnProperty(name)&&!overwrite)return 0;ENV[name]=val;___buildEnvironment(ENV);return 0}Module["_bitshift64Ashr"]=_bitshift64Ashr;function _emscripten_glLoadMatrixf(){Module["printErr"]("missing function: emscripten_glLoadMatrixf");abort(-1)}function _malloc(bytes){var ptr=Runtime.dynamicAlloc(bytes+8);return ptr+8&4294967288}Module["_malloc"]=_malloc;function ___cxa_allocate_exception(size){return _malloc(size)}function ___syscall142(which,varargs){SYSCALLS.varargs=varargs;try{var nfds=SYSCALLS.get(),readfds=SYSCALLS.get(),writefds=SYSCALLS.get(),exceptfds=SYSCALLS.get(),timeout=SYSCALLS.get();assert(nfds<=64,"nfds must be less than or equal to 64");assert(!exceptfds,"exceptfds not supported");var total=0;var srcReadLow=readfds?HEAP32[readfds>>2]:0,srcReadHigh=readfds?HEAP32[readfds+4>>2]:0;var srcWriteLow=writefds?HEAP32[writefds>>2]:0,srcWriteHigh=writefds?HEAP32[writefds+4>>2]:0;var srcExceptLow=exceptfds?HEAP32[exceptfds>>2]:0,srcExceptHigh=exceptfds?HEAP32[exceptfds+4>>2]:0;var dstReadLow=0,dstReadHigh=0;var dstWriteLow=0,dstWriteHigh=0;var dstExceptLow=0,dstExceptHigh=0;var allLow=(readfds?HEAP32[readfds>>2]:0)|(writefds?HEAP32[writefds>>2]:0)|(exceptfds?HEAP32[exceptfds>>2]:0);var allHigh=(readfds?HEAP32[readfds+4>>2]:0)|(writefds?HEAP32[writefds+4>>2]:0)|(exceptfds?HEAP32[exceptfds+4>>2]:0);function check(fd,low,high,val){return fd<32?low&val:high&val}for(var fd=0;fd>2]=dstReadLow;HEAP32[readfds+4>>2]=dstReadHigh}if(writefds){HEAP32[writefds>>2]=dstWriteLow;HEAP32[writefds+4>>2]=dstWriteHigh}if(exceptfds){HEAP32[exceptfds>>2]=dstExceptLow;HEAP32[exceptfds+4>>2]=dstExceptHigh}return total}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function _emscripten_glGetProgramInfoLog(program,maxLength,length,infoLog){var log=GLctx.getProgramInfoLog(GL.programs[program]);if(log===null)log="(unknown error)";log=log.substr(0,maxLength-1);if(maxLength>0&&infoLog){writeStringToMemory(log,infoLog);if(length)HEAP32[length>>2]=log.length}else{if(length)HEAP32[length>>2]=0}}function _emscripten_glTexImage2D(target,level,internalFormat,width,height,border,format,type,pixels){var pixelData;if(pixels){var data=emscriptenWebGLGetTexPixelData(type,format,width,height,pixels,internalFormat);pixelData=data.pixels;internalFormat=data.internalFormat}else{pixelData=null}GLctx.texImage2D(target,level,internalFormat,width,height,border,format,type,pixelData)}function _emscripten_glColorPointer(){Module["printErr"]("missing function: emscripten_glColorPointer");abort(-1)}function _emscripten_glFlush(){GLctx.flush()}function ___syscall183(which,varargs){SYSCALLS.varargs=varargs;try{var buf=SYSCALLS.get(),size=SYSCALLS.get();if(size===0)return-ERRNO_CODES.EINVAL;var cwd=FS.cwd();if(size>2];var texture=GL.textures[id];if(!texture)continue;GLctx.deleteTexture(texture);texture.name=0;GL.textures[id]=null}}function _eglGetDisplay(nativeDisplayType){EGL.setErrorCode(12288);return 62e3}function _emscripten_set_canvas_size(width,height){Browser.setCanvasSize(width,height)}function _emscripten_glCompileShader(shader){GLctx.compileShader(GL.shaders[shader])}function _emscripten_glGenVertexArrays(n,arrays){for(var i=0;i>2]=0;return}var id=GL.getNewId(GL.vaos);vao.name=id;GL.vaos[id]=vao;HEAP32[arrays+i*4>>2]=id}}function _time(ptr){var ret=Date.now()/1e3|0;if(ptr){HEAP32[ptr>>2]=ret}return ret}function _pthread_self(){return 0}function _emscripten_glGetBooleanv(name_,p){emscriptenWebGLGet(name_,p,"Boolean")}function ___syscall221(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),cmd=SYSCALLS.get();switch(cmd){case 0:{var arg=SYSCALLS.get();if(arg<0){return-ERRNO_CODES.EINVAL}var newStream;newStream=FS.open(stream.path,stream.flags,0,arg);return newStream.fd};case 1:case 2:return 0;case 3:return stream.flags;case 4:{var arg=SYSCALLS.get();stream.flags|=arg;return 0};case 12:case 12:{var arg=SYSCALLS.get();var offset=0;HEAP16[arg+offset>>1]=2;return 0};case 13:case 14:case 13:case 14:return 0;case 16:case 8:return-ERRNO_CODES.EINVAL;case 9:___setErrNo(ERRNO_CODES.EINVAL);return-1;default:{return-ERRNO_CODES.EINVAL}}}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall220(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),dirp=SYSCALLS.get(),count=SYSCALLS.get();if(!stream.getdents){stream.getdents=FS.readdir(stream.path)}var pos=0;while(stream.getdents.length>0&&pos+268>2]=id;HEAP32[dirp+pos+4>>2]=stream.position;HEAP16[dirp+pos+8>>1]=268;HEAP8[dirp+pos+10>>0]=type;for(var i=0;i>0]=name.charCodeAt(i)}HEAP8[dirp+pos+(11+i)>>0]=0;pos+=268}return pos}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}var GLctx;GL.init();Module["requestFullScreen"]=function Module_requestFullScreen(lockPointer,resizeCanvas,vrDevice){Browser.requestFullScreen(lockPointer,resizeCanvas,vrDevice)};Module["requestAnimationFrame"]=function Module_requestAnimationFrame(func){Browser.requestAnimationFrame(func)};Module["setCanvasSize"]=function Module_setCanvasSize(width,height,noUpdates){Browser.setCanvasSize(width,height,noUpdates)};Module["pauseMainLoop"]=function Module_pauseMainLoop(){Browser.mainLoop.pause()};Module["resumeMainLoop"]=function Module_resumeMainLoop(){Browser.mainLoop.resume()};Module["getUserMedia"]=function Module_getUserMedia(){Browser.getUserMedia()};Module["createContext"]=function Module_createContext(canvas,useWebGL,setInModule,webGLContextAttributes){return Browser.createContext(canvas,useWebGL,setInModule,webGLContextAttributes)};FS.staticInit();__ATINIT__.unshift((function(){if(!Module["noFSInit"]&&!FS.init.initialized)FS.init()}));__ATMAIN__.push((function(){FS.ignorePermissions=false}));__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()}));if(ENVIRONMENT_IS_NODE){var fs=require("fs");var NODEJS_PATH=require("path");NODEFS.staticInit()}___buildEnvironment(ENV);__ATINIT__.push((function(){SOCKFS.root=FS.mount(SOCKFS,{},null)}));STACK_BASE=STACKTOP=Runtime.alignMemory(STATICTOP);staticSealed=true;STACK_MAX=STACK_BASE+TOTAL_STACK;DYNAMIC_BASE=DYNAMICTOP=Runtime.alignMemory(STACK_MAX);function invoke_iiiiiiii(index,a1,a2,a3,a4,a5,a6,a7){try{return Module["dynCall_iiiiiiii"](index,a1,a2,a3,a4,a5,a6,a7)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_iiiiiid(index,a1,a2,a3,a4,a5,a6){try{return Module["dynCall_iiiiiid"](index,a1,a2,a3,a4,a5,a6)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_vd(index,a1){try{Module["dynCall_vd"](index,a1)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_vid(index,a1,a2){try{Module["dynCall_vid"](index,a1,a2)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_viiiii(index,a1,a2,a3,a4,a5){try{Module["dynCall_viiiii"](index,a1,a2,a3,a4,a5)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_iiiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9){try{return Module["dynCall_iiiiiiiiii"](index,a1,a2,a3,a4,a5,a6,a7,a8,a9)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_vii(index,a1,a2){try{Module["dynCall_vii"](index,a1,a2)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_iiiiiii(index,a1,a2,a3,a4,a5,a6){try{return Module["dynCall_iiiiiii"](index,a1,a2,a3,a4,a5,a6)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_viddddddddd(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10){try{Module["dynCall_viddddddddd"](index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_ii(index,a1){try{return Module["dynCall_ii"](index,a1)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_ddddd(index,a1,a2,a3,a4){try{return Module["dynCall_ddddd"](index,a1,a2,a3,a4)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_viiiiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11){try{Module["dynCall_viiiiiiiiiii"](index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_viddii(index,a1,a2,a3,a4,a5){try{Module["dynCall_viddii"](index,a1,a2,a3,a4,a5)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_viidi(index,a1,a2,a3,a4){try{Module["dynCall_viidi"](index,a1,a2,a3,a4)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_viidddd(index,a1,a2,a3,a4,a5,a6){try{Module["dynCall_viidddd"](index,a1,a2,a3,a4,a5,a6)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_viddd(index,a1,a2,a3,a4){try{Module["dynCall_viddd"](index,a1,a2,a3,a4)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_iiiiii(index,a1,a2,a3,a4,a5){try{return Module["dynCall_iiiiii"](index,a1,a2,a3,a4,a5)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_vidi(index,a1,a2,a3){try{Module["dynCall_vidi"](index,a1,a2,a3)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_vdddddd(index,a1,a2,a3,a4,a5,a6){try{Module["dynCall_vdddddd"](index,a1,a2,a3,a4,a5,a6)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_vidd(index,a1,a2,a3){try{Module["dynCall_vidd"](index,a1,a2,a3)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_iiii(index,a1,a2,a3){try{return Module["dynCall_iiii"](index,a1,a2,a3)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_vi(index,a1){try{Module["dynCall_vi"](index,a1)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_viiiiii(index,a1,a2,a3,a4,a5,a6){try{Module["dynCall_viiiiii"](index,a1,a2,a3,a4,a5,a6)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_diiiid(index,a1,a2,a3,a4,a5){try{return Module["dynCall_diiiid"](index,a1,a2,a3,a4,a5)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_ddd(index,a1,a2){try{return Module["dynCall_ddd"](index,a1,a2)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_viid(index,a1,a2,a3){try{Module["dynCall_viid"](index,a1,a2,a3)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_di(index,a1){try{return Module["dynCall_di"](index,a1)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_vdi(index,a1,a2){try{Module["dynCall_vdi"](index,a1,a2)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_dd(index,a1){try{return Module["dynCall_dd"](index,a1)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_viiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8){try{Module["dynCall_viiiiiiii"](index,a1,a2,a3,a4,a5,a6,a7,a8)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_vidddd(index,a1,a2,a3,a4,a5){try{Module["dynCall_vidddd"](index,a1,a2,a3,a4,a5)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_iid(index,a1,a2){try{return Module["dynCall_iid"](index,a1,a2)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_dddd(index,a1,a2,a3){try{return Module["dynCall_dddd"](index,a1,a2,a3)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_viiiiiii(index,a1,a2,a3,a4,a5,a6,a7){try{Module["dynCall_viiiiiii"](index,a1,a2,a3,a4,a5,a6,a7)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_iiddd(index,a1,a2,a3,a4){try{return Module["dynCall_iiddd"](index,a1,a2,a3,a4)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_viiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9){try{Module["dynCall_viiiiiiiii"](index,a1,a2,a3,a4,a5,a6,a7,a8,a9)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_viiiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10){try{Module["dynCall_viiiiiiiiii"](index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_iii(index,a1,a2){try{return Module["dynCall_iii"](index,a1,a2)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_diii(index,a1,a2,a3){try{return Module["dynCall_diii"](index,a1,a2,a3)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_viiddddddddd(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11){try{Module["dynCall_viiddddddddd"](index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_dii(index,a1,a2){try{return Module["dynCall_dii"](index,a1,a2)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_viii(index,a1,a2,a3){try{Module["dynCall_viii"](index,a1,a2,a3)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_did(index,a1,a2){try{return Module["dynCall_did"](index,a1,a2)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_iiiiidii(index,a1,a2,a3,a4,a5,a6,a7){try{return Module["dynCall_iiiiidii"](index,a1,a2,a3,a4,a5,a6,a7)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_iiiii(index,a1,a2,a3,a4){try{return Module["dynCall_iiiii"](index,a1,a2,a3,a4)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_i(index){try{return Module["dynCall_i"](index)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_vdddd(index,a1,a2,a3,a4){try{Module["dynCall_vdddd"](index,a1,a2,a3,a4)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_vdd(index,a1,a2){try{Module["dynCall_vdd"](index,a1,a2)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_v(index){try{Module["dynCall_v"](index)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_iiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8){try{return Module["dynCall_iiiiiiiii"](index,a1,a2,a3,a4,a5,a6,a7,a8)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_viiiiiiiid(index,a1,a2,a3,a4,a5,a6,a7,a8,a9){try{Module["dynCall_viiiiiiiid"](index,a1,a2,a3,a4,a5,a6,a7,a8,a9)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_iiiiid(index,a1,a2,a3,a4,a5){try{return Module["dynCall_iiiiid"](index,a1,a2,a3,a4,a5)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_viiii(index,a1,a2,a3,a4){try{Module["dynCall_viiii"](index,a1,a2,a3,a4)}catch(e){if(typeof e!=="number"&&e!=="longjmp")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":Infinity};Module.asmLibraryArg={"abort":abort,"assert":assert,"invoke_iiiiiiii":invoke_iiiiiiii,"invoke_iiiiiid":invoke_iiiiiid,"invoke_vd":invoke_vd,"invoke_vid":invoke_vid,"invoke_viiiii":invoke_viiiii,"invoke_iiiiiiiiii":invoke_iiiiiiiiii,"invoke_vii":invoke_vii,"invoke_iiiiiii":invoke_iiiiiii,"invoke_viddddddddd":invoke_viddddddddd,"invoke_ii":invoke_ii,"invoke_ddddd":invoke_ddddd,"invoke_viiiiiiiiiii":invoke_viiiiiiiiiii,"invoke_viddii":invoke_viddii,"invoke_viidi":invoke_viidi,"invoke_viidddd":invoke_viidddd,"invoke_viddd":invoke_viddd,"invoke_iiiiii":invoke_iiiiii,"invoke_vidi":invoke_vidi,"invoke_vdddddd":invoke_vdddddd,"invoke_vidd":invoke_vidd,"invoke_iiii":invoke_iiii,"invoke_vi":invoke_vi,"invoke_viiiiii":invoke_viiiiii,"invoke_diiiid":invoke_diiiid,"invoke_ddd":invoke_ddd,"invoke_viid":invoke_viid,"invoke_di":invoke_di,"invoke_vdi":invoke_vdi,"invoke_dd":invoke_dd,"invoke_viiiiiiii":invoke_viiiiiiii,"invoke_vidddd":invoke_vidddd,"invoke_iid":invoke_iid,"invoke_dddd":invoke_dddd,"invoke_viiiiiii":invoke_viiiiiii,"invoke_iiddd":invoke_iiddd,"invoke_viiiiiiiii":invoke_viiiiiiiii,"invoke_viiiiiiiiii":invoke_viiiiiiiiii,"invoke_iii":invoke_iii,"invoke_diii":invoke_diii,"invoke_viiddddddddd":invoke_viiddddddddd,"invoke_dii":invoke_dii,"invoke_viii":invoke_viii,"invoke_did":invoke_did,"invoke_iiiiidii":invoke_iiiiidii,"invoke_iiiii":invoke_iiiii,"invoke_i":invoke_i,"invoke_vdddd":invoke_vdddd,"invoke_vdd":invoke_vdd,"invoke_v":invoke_v,"invoke_iiiiiiiii":invoke_iiiiiiiii,"invoke_viiiiiiiid":invoke_viiiiiiiid,"invoke_iiiiid":invoke_iiiiid,"invoke_viiii":invoke_viiii,"_emscripten_glGetTexParameterfv":_emscripten_glGetTexParameterfv,"___syscall221":___syscall221,"__inet_ntop6_raw":__inet_ntop6_raw,"___syscall220":___syscall220,"_emscripten_glBlendFuncSeparate":_emscripten_glBlendFuncSeparate,"_emscripten_glGetIntegerv":_emscripten_glGetIntegerv,"___assert_fail":___assert_fail,"_emscripten_glDepthFunc":_emscripten_glDepthFunc,"_emscripten_memcpy_big":_emscripten_memcpy_big,"_emscripten_glUniform1f":_emscripten_glUniform1f,"emscriptenWebGLComputeImageSize":emscriptenWebGLComputeImageSize,"_alGetFloat":_alGetFloat,"_emscripten_glUniform1i":_emscripten_glUniform1i,"_emscripten_glIsProgram":_emscripten_glIsProgram,"_gmtime_r":_gmtime_r,"_emscripten_glTexParameteriv":_emscripten_glTexParameteriv,"___syscall140":___syscall140,"_alSourcePause":_alSourcePause,"___syscall142":___syscall142,"___syscall145":___syscall145,"___syscall146":___syscall146,"_emscripten_glAttachShader":_emscripten_glAttachShader,"_emscripten_get_now_is_monotonic":_emscripten_get_now_is_monotonic,"_alcCreateContext":_alcCreateContext,"_emscripten_glTexParameterfv":_emscripten_glTexParameterfv,"__inet_ntop4_raw":__inet_ntop4_raw,"_emscripten_glUniformMatrix2fv":_emscripten_glUniformMatrix2fv,"_emscripten_glDrawArraysInstanced":_emscripten_glDrawArraysInstanced,"_alcMakeContextCurrent":_alcMakeContextCurrent,"_emscripten_glVertexAttrib2fv":_emscripten_glVertexAttrib2fv,"_emscripten_glBufferData":_emscripten_glBufferData,"_alSourcef":_alSourcef,"_emscripten_glFlush":_emscripten_glFlush,"_alSourcei":_alSourcei,"_alGenBuffers":_alGenBuffers,"_nanosleep":_nanosleep,"_pthread_once":_pthread_once,"_eglWaitClient":_eglWaitClient,"_emscripten_glTexCoordPointer":_emscripten_glTexCoordPointer,"_emscripten_set_blur_callback":_emscripten_set_blur_callback,"_emscripten_glLoadMatrixf":_emscripten_glLoadMatrixf,"_emscripten_glStencilFuncSeparate":_emscripten_glStencilFuncSeparate,"_emscripten_glVertexAttrib3f":_emscripten_glVertexAttrib3f,"_pthread_mutex_lock":_pthread_mutex_lock,"_dlerror":_dlerror,"_emscripten_get_gamepad_status":_emscripten_get_gamepad_status,"___syscall20":___syscall20,"_emscripten_glUniform1iv":_emscripten_glUniform1iv,"_alListenerfv":_alListenerfv,"emscriptenWebGLGetUniform":emscriptenWebGLGetUniform,"_emscripten_glGetBufferParameteriv":_emscripten_glGetBufferParameteriv,"_emscripten_glVertexAttrib4fv":_emscripten_glVertexAttrib4fv,"_pthread_getspecific":_pthread_getspecific,"_alListenerf":_alListenerf,"_emscripten_glDepthRange":_emscripten_glDepthRange,"_emscripten_asm_const_iii":_emscripten_asm_const_iii,"_eglMakeCurrent":_eglMakeCurrent,"_emscripten_glCopyTexImage2D":_emscripten_glCopyTexImage2D,"_emscripten_glFramebufferTexture2D":_emscripten_glFramebufferTexture2D,"_emscripten_glStencilFunc":_emscripten_glStencilFunc,"___syscall183":___syscall183,"_alDistanceModel":_alDistanceModel,"_localtime":_localtime,"_emscripten_glRenderbufferStorage":_emscripten_glRenderbufferStorage,"_emscripten_set_keydown_callback":_emscripten_set_keydown_callback,"_emscripten_glVertexPointer":_emscripten_glVertexPointer,"__read_sockaddr":__read_sockaddr,"_eglInitialize":_eglInitialize,"_emscripten_glBufferSubData":_emscripten_glBufferSubData,"_emscripten_glGetUniformfv":_emscripten_glGetUniformfv,"_emscripten_glStencilOp":_emscripten_glStencilOp,"_emscripten_glBlendEquation":_emscripten_glBlendEquation,"_pthread_self":_pthread_self,"_emscripten_glVertexAttrib1fv":_emscripten_glVertexAttrib1fv,"_dlclose":_dlclose,"_emscripten_glGetProgramInfoLog":_emscripten_glGetProgramInfoLog,"_getpwuid":_getpwuid,"___cxa_throw":___cxa_throw,"_emscripten_glUniform2fv":_emscripten_glUniform2fv,"_emscripten_glBindBuffer":_emscripten_glBindBuffer,"_emscripten_glGetFloatv":_emscripten_glGetFloatv,"_pthread_mutex_init":_pthread_mutex_init,"_emscripten_glGenRenderbuffers":_emscripten_glGenRenderbuffers,"_eglGetDisplay":_eglGetDisplay,"___syscall63":___syscall63,"_emscripten_glCullFace":_emscripten_glCullFace,"_llvm_fabs_f64":_llvm_fabs_f64,"_emscripten_glStencilMaskSeparate":_emscripten_glStencilMaskSeparate,"_emscripten_glUniform3fv":_emscripten_glUniform3fv,"_emscripten_asm_const_ii":_emscripten_asm_const_ii,"_alSource3f":_alSource3f,"___syscall265":___syscall265,"_emscripten_glDisableVertexAttribArray":_emscripten_glDisableVertexAttribArray,"_eglBindAPI":_eglBindAPI,"_eglCreateContext":_eglCreateContext,"_clock":_clock,"_emscripten_glGetBooleanv":_emscripten_glGetBooleanv,"_emscripten_glVertexAttribDivisor":_emscripten_glVertexAttribDivisor,"_emscripten_glGenBuffers":_emscripten_glGenBuffers,"_emscripten_glDeleteObjectARB":_emscripten_glDeleteObjectARB,"_emscripten_glGetShaderPrecisionFormat":_emscripten_glGetShaderPrecisionFormat,"__write_sockaddr":__write_sockaddr,"_emscripten_request_fullscreen_strategy":_emscripten_request_fullscreen_strategy,"_emscripten_glIsEnabled":_emscripten_glIsEnabled,"_alGetListenerf":_alGetListenerf,"_emscripten_glStencilOpSeparate":_emscripten_glStencilOpSeparate,"_pthread_cleanup_pop":_pthread_cleanup_pop,"_emscripten_asm_const_iiiii":_emscripten_asm_const_iiiii,"___syscall122":___syscall122,"___cxa_find_matching_catch":___cxa_find_matching_catch,"_emscripten_glClear":_emscripten_glClear,"___cxa_guard_release":___cxa_guard_release,"_emscripten_glValidateProgram":_emscripten_glValidateProgram,"_emscripten_glUniform4iv":_emscripten_glUniform4iv,"___setErrNo":___setErrNo,"_eglSwapBuffers":_eglSwapBuffers,"_emscripten_glVertexAttrib2f":_emscripten_glVertexAttrib2f,"___resumeException":___resumeException,"_mktime":_mktime,"_emscripten_glGetError":_emscripten_glGetError,"_gethostbyaddr":_gethostbyaddr,"_emscripten_glReadPixels":_emscripten_glReadPixels,"_eglCreateWindowSurface":_eglCreateWindowSurface,"_emscripten_glClearStencil":_emscripten_glClearStencil,"emscriptenWebGLGet":emscriptenWebGLGet,"_emscripten_get_device_pixel_ratio":_emscripten_get_device_pixel_ratio,"_emscripten_set_mouseup_callback":_emscripten_set_mouseup_callback,"_emscripten_glFinish":_emscripten_glFinish,"_emscripten_glClearDepth":_emscripten_glClearDepth,"_emscripten_glUniform1fv":_emscripten_glUniform1fv,"_emscripten_set_resize_callback":_emscripten_set_resize_callback,"_emscripten_glUniform4i":_emscripten_glUniform4i,"_alDopplerFactor":_alDopplerFactor,"_llvm_pow_f64":_llvm_pow_f64,"_emscripten_glUniform4f":_emscripten_glUniform4f,"_emscripten_glBlendFunc":_emscripten_glBlendFunc,"_emscripten_glStencilMask":_emscripten_glStencilMask,"_alcGetIntegerv":_alcGetIntegerv,"_localtime_r":_localtime_r,"_clock_gettime":_clock_gettime,"_strftime":_strftime,"_alcDestroyContext":_alcDestroyContext,"_emscripten_glGetVertexAttribiv":_emscripten_glGetVertexAttribiv,"_emscripten_glUniformMatrix3fv":_emscripten_glUniformMatrix3fv,"___syscall33":___syscall33,"_pthread_key_create":_pthread_key_create,"_emscripten_glDeleteFramebuffers":_emscripten_glDeleteFramebuffers,"__setLetterbox":__setLetterbox,"___syscall39":___syscall39,"___syscall38":___syscall38,"_emscripten_glUniform4fv":_emscripten_glUniform4fv,"_emscripten_glGetObjectParameterivARB":_emscripten_glGetObjectParameterivARB,"_emscripten_glGetUniformiv":_emscripten_glGetUniformiv,"_eglDestroySurface":_eglDestroySurface,"_sigaction":_sigaction,"_difftime":_difftime,"_emscripten_set_mousemove_callback":_emscripten_set_mousemove_callback,"_emscripten_glDeleteTextures":_emscripten_glDeleteTextures,"_eglDestroyContext":_eglDestroyContext,"_emscripten_exit_fullscreen":_emscripten_exit_fullscreen,"_strftime_l":_strftime_l,"__exit":__exit,"_alGetListenerfv":_alGetListenerfv,"_emscripten_glColorMask":_emscripten_glColorMask,"_pthread_mutex_unlock":_pthread_mutex_unlock,"_emscripten_glBindTexture":_emscripten_glBindTexture,"_emscripten_set_main_loop":_emscripten_set_main_loop,"_alGenSources":_alGenSources,"_emscripten_glIsShader":_emscripten_glIsShader,"_emscripten_asm_const_iiii":_emscripten_asm_const_iiii,"_alcOpenDevice":_alcOpenDevice,"_emscripten_glCompressedTexImage2D":_emscripten_glCompressedTexImage2D,"_emscripten_glGetInfoLogARB":_emscripten_glGetInfoLogARB,"_emscripten_longjmp":_emscripten_longjmp,"_atexit":_atexit,"_emscripten_glDeleteVertexArrays":_emscripten_glDeleteVertexArrays,"_emscripten_glReleaseShaderCompiler":_emscripten_glReleaseShaderCompiler,"_dlsym":_dlsym,"___cxa_guard_acquire":___cxa_guard_acquire,"_emscripten_glFrontFace":_emscripten_glFrontFace,"__ZSt18uncaught_exceptionv":__ZSt18uncaught_exceptionv,"_emscripten_glUseProgram":_emscripten_glUseProgram,"__addDays":__addDays,"_emscripten_set_touchmove_callback":_emscripten_set_touchmove_callback,"_emscripten_glUniform3iv":_emscripten_glUniform3iv,"_emscripten_set_main_loop_arg":_emscripten_set_main_loop_arg,"_sysconf":_sysconf,"_emscripten_glLineWidth":_emscripten_glLineWidth,"_emscripten_glScissor":_emscripten_glScissor,"_pthread_cleanup_push":_pthread_cleanup_push,"_emscripten_set_element_css_size":_emscripten_set_element_css_size,"_alSourcePlay":_alSourcePlay,"_emscripten_glIsBuffer":_emscripten_glIsBuffer,"_emscripten_glVertexAttrib1f":_emscripten_glVertexAttrib1f,"_emscripten_set_keyup_callback":_emscripten_set_keyup_callback,"_emscripten_glCompressedTexSubImage2D":_emscripten_glCompressedTexSubImage2D,"_emscripten_glGetAttachedShaders":_emscripten_glGetAttachedShaders,"_emscripten_glGenTextures":_emscripten_glGenTextures,"_alcCaptureSamples":_alcCaptureSamples,"_eglGetConfigAttrib":_eglGetConfigAttrib,"_alGetSourcei":_alGetSourcei,"_alGetSourcef":_alGetSourcef,"_gmtime":_gmtime,"_alSourceQueueBuffers":_alSourceQueueBuffers,"_emscripten_glGetTexParameteriv":_emscripten_glGetTexParameteriv,"___syscall330":___syscall330,"_emscripten_set_mousedown_callback":_emscripten_set_mousedown_callback,"_emscripten_glClientActiveTexture":_emscripten_glClientActiveTexture,"_emscripten_glCheckFramebufferStatus":_emscripten_glCheckFramebufferStatus,"_eglWaitGL":_eglWaitGL,"___syscall118":___syscall118,"_emscripten_glUniform3f":_emscripten_glUniform3f,"_emscripten_glUniform3i":_emscripten_glUniform3i,"_emscripten_glDeleteShader":_emscripten_glDeleteShader,"_alDeleteSources":_alDeleteSources,"_emscripten_glGetUniformLocation":_emscripten_glGetUniformLocation,"_emscripten_glEnableVertexAttribArray":_emscripten_glEnableVertexAttribArray,"_alGetError":_alGetError,"_emscripten_get_now":_emscripten_get_now,"__registerRestoreOldStyle":__registerRestoreOldStyle,"emscriptenWebGLGetTexPixelData":emscriptenWebGLGetTexPixelData,"_gettimeofday":_gettimeofday,"_eglWaitNative":_eglWaitNative,"___syscall202":___syscall202,"_emscripten_glEnableClientState":_emscripten_glEnableClientState,"_eglChooseConfig":_eglChooseConfig,"___cxa_allocate_exception":___cxa_allocate_exception,"_emscripten_get_num_gamepads":_emscripten_get_num_gamepads,"___buildEnvironment":___buildEnvironment,"_tzset":_tzset,"_emscripten_glGetAttribLocation":_emscripten_glGetAttribLocation,"_emscripten_glDisable":_emscripten_glDisable,"_emscripten_glDeleteRenderbuffers":_emscripten_glDeleteRenderbuffers,"_emscripten_glDrawElementsInstanced":_emscripten_glDrawElementsInstanced,"_emscripten_glVertexAttrib4f":_emscripten_glVertexAttrib4f,"_emscripten_glPixelStorei":_emscripten_glPixelStorei,"_llvm_fabs_f32":_llvm_fabs_f32,"_getenv":_getenv,"_emscripten_set_gamepaddisconnected_callback":_emscripten_set_gamepaddisconnected_callback,"_llvm_cttz_i64":_llvm_cttz_i64,"_gethostbyname":_gethostbyname,"_alcCloseDevice":_alcCloseDevice,"_emscripten_glFramebufferRenderbuffer":_emscripten_glFramebufferRenderbuffer,"_alcCaptureStart":_alcCaptureStart,"_llvm_ctpop_i32":_llvm_ctpop_i32,"_emscripten_glRotatef":_emscripten_glRotatef,"_emscripten_glGetShaderiv":_emscripten_glGetShaderiv,"_emscripten_get_battery_status":_emscripten_get_battery_status,"___cxa_pure_virtual":___cxa_pure_virtual,"_emscripten_glUniformMatrix4fv":_emscripten_glUniformMatrix4fv,"_emscripten_glGetPointerv":_emscripten_glGetPointerv,"_pthread_cond_wait":_pthread_cond_wait,"_emscripten_set_touchstart_callback":_emscripten_set_touchstart_callback,"_emscripten_glIsRenderbuffer":_emscripten_glIsRenderbuffer,"_emscripten_request_pointerlock":_emscripten_request_pointerlock,"___syscall40":___syscall40,"_llvm_bswap_i64":_llvm_bswap_i64,"_emscripten_set_touchcancel_callback":_emscripten_set_touchcancel_callback,"__inet_pton6_raw":__inet_pton6_raw,"_emscripten_set_focus_callback":_emscripten_set_focus_callback,"_emscripten_glGetVertexAttribfv":_emscripten_glGetVertexAttribfv,"_emscripten_glVertexAttrib3fv":_emscripten_glVertexAttrib3fv,"_emscripten_glCompileShader":_emscripten_glCompileShader,"_glClear":_glClear,"__arraySum":__arraySum,"_emscripten_glLinkProgram":_emscripten_glLinkProgram,"_alDeleteBuffers":_alDeleteBuffers,"_alGetSourcefv":_alGetSourcefv,"_emscripten_get_pointerlock_status":_emscripten_get_pointerlock_status,"_emscripten_glDrawRangeElements":_emscripten_glDrawRangeElements,"___unlock":___unlock,"_pthread_setspecific":_pthread_setspecific,"_emscripten_glClearColor":_emscripten_glClearColor,"_emscripten_glCreateProgram":_emscripten_glCreateProgram,"_emscripten_glDetachShader":_emscripten_glDetachShader,"_setenv":_setenv,"_emscripten_do_request_fullscreen":_emscripten_do_request_fullscreen,"_emscripten_set_mouseleave_callback":_emscripten_set_mouseleave_callback,"_emscripten_get_element_css_size":_emscripten_get_element_css_size,"_emscripten_set_fullscreenchange_callback":_emscripten_set_fullscreenchange_callback,"_emscripten_glVertexAttribPointer":_emscripten_glVertexAttribPointer,"_alBufferData":_alBufferData,"_emscripten_glDrawArrays":_emscripten_glDrawArrays,"_emscripten_glPolygonOffset":_emscripten_glPolygonOffset,"_longjmp":_longjmp,"_emscripten_glBlendColor":_emscripten_glBlendColor,"_signal":_signal,"_emscripten_set_main_loop_timing":_emscripten_set_main_loop_timing,"_sbrk":_sbrk,"___cxa_begin_catch":___cxa_begin_catch,"_emscripten_glGetProgramiv":_emscripten_glGetProgramiv,"_emscripten_glGetShaderSource":_emscripten_glGetShaderSource,"_emscripten_glTexImage2D":_emscripten_glTexImage2D,"__isLeapYear":__isLeapYear,"_emscripten_glBlendEquationSeparate":_emscripten_glBlendEquationSeparate,"_emscripten_glGetString":_emscripten_glGetString,"_emscripten_glIsFramebuffer":_emscripten_glIsFramebuffer,"_emscripten_glBindProgramARB":_emscripten_glBindProgramARB,"_glutCreateWindow":_glutCreateWindow,"___syscall85":___syscall85,"_alcGetError":_alcGetError,"_emscripten_glUniform2i":_emscripten_glUniform2i,"_emscripten_glUniform2f":_emscripten_glUniform2f,"_alSourcefv":_alSourcefv,"_emscripten_glTexParameterf":_emscripten_glTexParameterf,"_emscripten_glTexParameteri":_emscripten_glTexParameteri,"_glutInitDisplayMode":_glutInitDisplayMode,"_emscripten_glGenVertexArrays":_emscripten_glGenVertexArrays,"_emscripten_set_visibilitychange_callback":_emscripten_set_visibilitychange_callback,"_eglGetProcAddress":_eglGetProcAddress,"_emscripten_glBindAttribLocation":_emscripten_glBindAttribLocation,"_llvm_pow_f32":_llvm_pow_f32,"_emscripten_glDrawElements":_emscripten_glDrawElements,"_emscripten_set_canvas_size":_emscripten_set_canvas_size,"_emscripten_glTexSubImage2D":_emscripten_glTexSubImage2D,"_emscripten_asm_const_v":_emscripten_asm_const_v,"_emscripten_glClearDepthf":_emscripten_glClearDepthf,"_emscripten_set_mouseenter_callback":_emscripten_set_mouseenter_callback,"_emscripten_glMatrixMode":_emscripten_glMatrixMode,"___syscall10":___syscall10,"_emscripten_glNormalPointer":_emscripten_glNormalPointer,"_emscripten_glHint":_emscripten_glHint,"_emscripten_glEnable":_emscripten_glEnable,"___syscall3":___syscall3,"___lock":___lock,"_emscripten_glBindFramebuffer":_emscripten_glBindFramebuffer,"___syscall6":___syscall6,"___syscall5":___syscall5,"___syscall4":___syscall4,"_emscripten_glBindRenderbuffer":_emscripten_glBindRenderbuffer,"_time":_time,"_emscripten_glGetFramebufferAttachmentParameteriv":_emscripten_glGetFramebufferAttachmentParameteriv,"_exit":_exit,"_emscripten_glGetActiveAttrib":_emscripten_glGetActiveAttrib,"__inet_pton4_raw":__inet_pton4_raw,"___syscall102":___syscall102,"_emscripten_set_keypress_callback":_emscripten_set_keypress_callback,"_emscripten_glShaderBinary":_emscripten_glShaderBinary,"_emscripten_glGetShaderInfoLog":_emscripten_glGetShaderInfoLog,"_emscripten_glGetVertexAttribPointerv":_emscripten_glGetVertexAttribPointerv,"_llvm_sqrt_f64":_llvm_sqrt_f64,"_alSourceRewind":_alSourceRewind,"_emscripten_glGetActiveUniform":_emscripten_glGetActiveUniform,"emscriptenWebGLGetVertexAttrib":emscriptenWebGLGetVertexAttrib,"___syscall197":___syscall197,"___syscall196":___syscall196,"___syscall195":___syscall195,"_eglSwapInterval":_eglSwapInterval,"___syscall199":___syscall199,"_emscripten_glDeleteProgram":_emscripten_glDeleteProgram,"_glutDestroyWindow":_glutDestroyWindow,"_emscripten_glCreateShader":_emscripten_glCreateShader,"_pthread_mutex_destroy":_pthread_mutex_destroy,"_emscripten_glColorPointer":_emscripten_glColorPointer,"_emscripten_glViewport":_emscripten_glViewport,"_pthread_cond_broadcast":_pthread_cond_broadcast,"_emscripten_glDepthMask":_emscripten_glDepthMask,"_alcCaptureStop":_alcCaptureStop,"_emscripten_glDrawBuffers":_emscripten_glDrawBuffers,"_alSourceStop":_alSourceStop,"_emscripten_exit_pointerlock":_emscripten_exit_pointerlock,"_emscripten_set_gamepadconnected_callback":_emscripten_set_gamepadconnected_callback,"_abort":_abort,"_emscripten_glGenFramebuffers":_emscripten_glGenFramebuffers,"_emscripten_glLoadIdentity":_emscripten_glLoadIdentity,"_emscripten_glShaderSource":_emscripten_glShaderSource,"___gxx_personality_v0":___gxx_personality_v0,"_system":_system,"_usleep":_usleep,"_emscripten_set_touchend_callback":_emscripten_set_touchend_callback,"_emscripten_glGetRenderbufferParameteriv":_emscripten_glGetRenderbufferParameteriv,"_eglTerminate":_eglTerminate,"_emscripten_glSampleCoverage":_emscripten_glSampleCoverage,"_emscripten_glFrustum":_emscripten_glFrustum,"_emscripten_glDepthRangef":_emscripten_glDepthRangef,"_emscripten_glGenerateMipmap":_emscripten_glGenerateMipmap,"_emscripten_glIsTexture":_emscripten_glIsTexture,"_emscripten_glBindVertexArray":_emscripten_glBindVertexArray,"_emscripten_glActiveTexture":_emscripten_glActiveTexture,"_emscripten_set_wheel_callback":_emscripten_set_wheel_callback,"_emscripten_glDeleteBuffers":_emscripten_glDeleteBuffers,"___syscall54":___syscall54,"_emscripten_glUniform2iv":_emscripten_glUniform2iv,"_emscripten_asm_const_i":_emscripten_asm_const_i,"_emscripten_glCopyTexSubImage2D":_emscripten_glCopyTexSubImage2D,"_alSourceUnqueueBuffers":_alSourceUnqueueBuffers,"STACKTOP":STACKTOP,"STACK_MAX":STACK_MAX,"tempDoublePtr":tempDoublePtr,"ABORT":ABORT,"cttz_i8":cttz_i8};// EMSCRIPTEN_START_ASM +var Module;if(!Module)Module=(typeof Module!=="undefined"?Module:null)||{};var moduleOverrides={};for(var key in Module){if(Module.hasOwnProperty(key)){moduleOverrides[key]=Module[key]}}var ENVIRONMENT_IS_WEB=false;var ENVIRONMENT_IS_WORKER=false;var ENVIRONMENT_IS_NODE=false;var ENVIRONMENT_IS_SHELL=false;if(Module["ENVIRONMENT"]){if(Module["ENVIRONMENT"]==="WEB"){ENVIRONMENT_IS_WEB=true}else if(Module["ENVIRONMENT"]==="WORKER"){ENVIRONMENT_IS_WORKER=true}else if(Module["ENVIRONMENT"]==="NODE"){ENVIRONMENT_IS_NODE=true}else if(Module["ENVIRONMENT"]==="SHELL"){ENVIRONMENT_IS_SHELL=true}else{throw new Error("The provided Module['ENVIRONMENT'] value is not valid. It must be one of: WEB|WORKER|NODE|SHELL.")}}else{ENVIRONMENT_IS_WEB=typeof window==="object";ENVIRONMENT_IS_WORKER=typeof importScripts==="function";ENVIRONMENT_IS_NODE=typeof process==="object"&&typeof require==="function"&&!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_WORKER;ENVIRONMENT_IS_SHELL=!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_NODE&&!ENVIRONMENT_IS_WORKER}if(ENVIRONMENT_IS_NODE){if(!Module["print"])Module["print"]=console.log;if(!Module["printErr"])Module["printErr"]=console.warn;var nodeFS;var nodePath;Module["read"]=function read(filename,binary){if(!nodeFS)nodeFS=require("fs");if(!nodePath)nodePath=require("path");filename=nodePath["normalize"](filename);var ret=nodeFS["readFileSync"](filename);if(!ret&&filename!=nodePath["resolve"](filename)){filename=path.join(__dirname,"..","src",filename);ret=nodeFS["readFileSync"](filename)}if(ret&&!binary)ret=ret.toString();return ret};Module["readBinary"]=function readBinary(filename){var ret=Module["read"](filename,true);if(!ret.buffer){ret=new Uint8Array(ret)}assert(ret.buffer);return ret};Module["load"]=function load(f){globalEval(read(f))};if(!Module["thisProgram"]){if(process["argv"].length>1){Module["thisProgram"]=process["argv"][1].replace(/\\/g,"/")}else{Module["thisProgram"]="unknown-program"}}Module["arguments"]=process["argv"].slice(2);if(typeof module!=="undefined"){module["exports"]=Module}process["on"]("uncaughtException",(function(ex){if(!(ex instanceof ExitStatus)){throw ex}}));Module["inspect"]=(function(){return"[Emscripten Module object]"})}else if(ENVIRONMENT_IS_SHELL){if(!Module["print"])Module["print"]=print;if(typeof printErr!="undefined")Module["printErr"]=printErr;if(typeof read!="undefined"){Module["read"]=read}else{Module["read"]=function read(){throw"no read() available (jsc?)"}}Module["readBinary"]=function readBinary(f){if(typeof readbuffer==="function"){return new Uint8Array(readbuffer(f))}var data=read(f,"binary");assert(typeof data==="object");return data};if(typeof scriptArgs!="undefined"){Module["arguments"]=scriptArgs}else if(typeof arguments!="undefined"){Module["arguments"]=arguments}}else if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){Module["read"]=function read(url){var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);return xhr.responseText};Module["readAsync"]=function readAsync(url,onload,onerror){var xhr=new XMLHttpRequest;xhr.open("GET",url,true);xhr.responseType="arraybuffer";xhr.onload=function xhr_onload(){if(xhr.status==200||xhr.status==0&&xhr.response){onload(xhr.response)}else{onerror()}};xhr.onerror=onerror;xhr.send(null)};if(typeof arguments!="undefined"){Module["arguments"]=arguments}if(typeof console!=="undefined"){if(!Module["print"])Module["print"]=function print(x){console.log(x)};if(!Module["printErr"])Module["printErr"]=function printErr(x){console.warn(x)}}else{var TRY_USE_DUMP=false;if(!Module["print"])Module["print"]=TRY_USE_DUMP&&typeof dump!=="undefined"?(function(x){dump(x)}):(function(x){})}if(ENVIRONMENT_IS_WORKER){Module["load"]=importScripts}if(typeof Module["setWindowTitle"]==="undefined"){Module["setWindowTitle"]=(function(title){document.title=title})}}else{throw"Unknown runtime environment. Where are we?"}function globalEval(x){eval.call(null,x)}if(!Module["load"]&&Module["read"]){Module["load"]=function load(f){globalEval(Module["read"](f))}}if(!Module["print"]){Module["print"]=(function(){})}if(!Module["printErr"]){Module["printErr"]=Module["print"]}if(!Module["arguments"]){Module["arguments"]=[]}if(!Module["thisProgram"]){Module["thisProgram"]="./this.program"}Module.print=Module["print"];Module.printErr=Module["printErr"];Module["preRun"]=[];Module["postRun"]=[];for(var key in moduleOverrides){if(moduleOverrides.hasOwnProperty(key)){Module[key]=moduleOverrides[key]}}moduleOverrides=undefined;var Runtime={setTempRet0:(function(value){tempRet0=value}),getTempRet0:(function(){return tempRet0}),stackSave:(function(){return STACKTOP}),stackRestore:(function(stackTop){STACKTOP=stackTop}),getNativeTypeSize:(function(type){switch(type){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(type[type.length-1]==="*"){return Runtime.QUANTUM_SIZE}else if(type[0]==="i"){var bits=parseInt(type.substr(1));assert(bits%8===0);return bits/8}else{return 0}}}}),getNativeFieldSize:(function(type){return Math.max(Runtime.getNativeTypeSize(type),Runtime.QUANTUM_SIZE)}),STACK_ALIGN:16,prepVararg:(function(ptr,type){if(type==="double"||type==="i64"){if(ptr&7){assert((ptr&7)===4);ptr+=4}}else{assert((ptr&3)===0)}return ptr}),getAlignSize:(function(type,size,vararg){if(!vararg&&(type=="i64"||type=="double"))return 8;if(!type)return Math.min(size,8);return Math.min(size||(type?Runtime.getNativeFieldSize(type):0),Runtime.QUANTUM_SIZE)}),dynCall:(function(sig,ptr,args){if(args&&args.length){if(!args.splice)args=Array.prototype.slice.call(args);args.splice(0,0,ptr);return Module["dynCall_"+sig].apply(null,args)}else{return Module["dynCall_"+sig].call(null,ptr)}}),functionPointers:[],addFunction:(function(func){for(var i=0;i=TOTAL_MEMORY){var success=enlargeMemory();if(!success){DYNAMICTOP=ret;return 0}}return ret}),alignMemory:(function(size,quantum){var ret=size=Math.ceil(size/(quantum?quantum:16))*(quantum?quantum:16);return ret}),makeBigInt:(function(low,high,unsigned){var ret=unsigned?+(low>>>0)+ +(high>>>0)*+4294967296:+(low>>>0)+ +(high|0)*+4294967296;return ret}),GLOBAL_BASE:8,QUANTUM_SIZE:4,__dummy__:0};Module["Runtime"]=Runtime;var ABORT=false;var EXITSTATUS=0;function assert(condition,text){if(!condition){abort("Assertion failed: "+text)}}function getCFunc(ident){var func=Module["_"+ident];if(!func){try{func=eval("_"+ident)}catch(e){}}assert(func,"Cannot call unknown function "+ident+" (perhaps LLVM optimizations or closure removed it?)");return func}var cwrap,ccall;((function(){var JSfuncs={"stackSave":(function(){Runtime.stackSave()}),"stackRestore":(function(){Runtime.stackRestore()}),"arrayToC":(function(arr){var ret=Runtime.stackAlloc(arr.length);writeArrayToMemory(arr,ret);return ret}),"stringToC":(function(str){var ret=0;if(str!==null&&str!==undefined&&str!==0){ret=Runtime.stackAlloc((str.length<<2)+1);writeStringToMemory(str,ret)}return ret})};var toC={"string":JSfuncs["stringToC"],"array":JSfuncs["arrayToC"]};ccall=function ccallFunc(ident,returnType,argTypes,args,opts){var func=getCFunc(ident);var cArgs=[];var stack=0;if(args){for(var i=0;i>0]=value;break;case"i8":HEAP8[ptr>>0]=value;break;case"i16":HEAP16[ptr>>1]=value;break;case"i32":HEAP32[ptr>>2]=value;break;case"i64":tempI64=[value>>>0,(tempDouble=value,+Math_abs(tempDouble)>=+1?tempDouble>+0?(Math_min(+Math_floor(tempDouble/+4294967296),+4294967295)|0)>>>0:~~+Math_ceil((tempDouble- +(~~tempDouble>>>0))/+4294967296)>>>0:0)],HEAP32[ptr>>2]=tempI64[0],HEAP32[ptr+4>>2]=tempI64[1];break;case"float":HEAPF32[ptr>>2]=value;break;case"double":HEAPF64[ptr>>3]=value;break;default:abort("invalid type for setValue: "+type)}}Module["setValue"]=setValue;function getValue(ptr,type,noSafe){type=type||"i8";if(type.charAt(type.length-1)==="*")type="i32";switch(type){case"i1":return HEAP8[ptr>>0];case"i8":return HEAP8[ptr>>0];case"i16":return HEAP16[ptr>>1];case"i32":return HEAP32[ptr>>2];case"i64":return HEAP32[ptr>>2];case"float":return HEAPF32[ptr>>2];case"double":return HEAPF64[ptr>>3];default:abort("invalid type for setValue: "+type)}return null}Module["getValue"]=getValue;var ALLOC_NORMAL=0;var ALLOC_STACK=1;var ALLOC_STATIC=2;var ALLOC_DYNAMIC=3;var ALLOC_NONE=4;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;function allocate(slab,types,allocator,ptr){var zeroinit,size;if(typeof slab==="number"){zeroinit=true;size=slab}else{zeroinit=false;size=slab.length}var singleType=typeof types==="string"?types:null;var ret;if(allocator==ALLOC_NONE){ret=ptr}else{ret=[typeof _malloc==="function"?_malloc:Runtime.staticAlloc,Runtime.stackAlloc,Runtime.staticAlloc,Runtime.dynamicAlloc][allocator===undefined?ALLOC_STATIC:allocator](Math.max(size,singleType?1:types.length))}if(zeroinit){var ptr=ret,stop;assert((ret&3)==0);stop=ret+(size&~3);for(;ptr>2]=0}stop=ret+size;while(ptr>0]=0}return ret}if(singleType==="i8"){if(slab.subarray||slab.slice){HEAPU8.set(slab,ret)}else{HEAPU8.set(new Uint8Array(slab),ret)}return ret}var i=0,type,typeSize,previousType;while(i>0];hasUtf|=t;if(t==0&&!length)break;i++;if(length&&i==length)break}if(!length)length=i;var ret="";if(hasUtf<128){var MAX_CHUNK=1024;var curr;while(length>0){curr=String.fromCharCode.apply(String,HEAPU8.subarray(ptr,ptr+Math.min(length,MAX_CHUNK)));ret=ret?ret+curr:curr;ptr+=MAX_CHUNK;length-=MAX_CHUNK}return ret}return Module["UTF8ToString"](ptr)}Module["Pointer_stringify"]=Pointer_stringify;function AsciiToString(ptr){var str="";while(1){var ch=HEAP8[ptr++>>0];if(!ch)return str;str+=String.fromCharCode(ch)}}Module["AsciiToString"]=AsciiToString;function stringToAscii(str,outPtr){return writeAsciiToMemory(str,outPtr,false)}Module["stringToAscii"]=stringToAscii;function UTF8ArrayToString(u8Array,idx){var u0,u1,u2,u3,u4,u5;var str="";while(1){u0=u8Array[idx++];if(!u0)return str;if(!(u0&128)){str+=String.fromCharCode(u0);continue}u1=u8Array[idx++]&63;if((u0&224)==192){str+=String.fromCharCode((u0&31)<<6|u1);continue}u2=u8Array[idx++]&63;if((u0&240)==224){u0=(u0&15)<<12|u1<<6|u2}else{u3=u8Array[idx++]&63;if((u0&248)==240){u0=(u0&7)<<18|u1<<12|u2<<6|u3}else{u4=u8Array[idx++]&63;if((u0&252)==248){u0=(u0&3)<<24|u1<<18|u2<<12|u3<<6|u4}else{u5=u8Array[idx++]&63;u0=(u0&1)<<30|u1<<24|u2<<18|u3<<12|u4<<6|u5}}}if(u0<65536){str+=String.fromCharCode(u0)}else{var ch=u0-65536;str+=String.fromCharCode(55296|ch>>10,56320|ch&1023)}}}Module["UTF8ArrayToString"]=UTF8ArrayToString;function UTF8ToString(ptr){return UTF8ArrayToString(HEAPU8,ptr)}Module["UTF8ToString"]=UTF8ToString;function stringToUTF8Array(str,outU8Array,outIdx,maxBytesToWrite){if(!(maxBytesToWrite>0))return 0;var startIdx=outIdx;var endIdx=outIdx+maxBytesToWrite-1;for(var i=0;i=55296&&u<=57343)u=65536+((u&1023)<<10)|str.charCodeAt(++i)&1023;if(u<=127){if(outIdx>=endIdx)break;outU8Array[outIdx++]=u}else if(u<=2047){if(outIdx+1>=endIdx)break;outU8Array[outIdx++]=192|u>>6;outU8Array[outIdx++]=128|u&63}else if(u<=65535){if(outIdx+2>=endIdx)break;outU8Array[outIdx++]=224|u>>12;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}else if(u<=2097151){if(outIdx+3>=endIdx)break;outU8Array[outIdx++]=240|u>>18;outU8Array[outIdx++]=128|u>>12&63;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}else if(u<=67108863){if(outIdx+4>=endIdx)break;outU8Array[outIdx++]=248|u>>24;outU8Array[outIdx++]=128|u>>18&63;outU8Array[outIdx++]=128|u>>12&63;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}else{if(outIdx+5>=endIdx)break;outU8Array[outIdx++]=252|u>>30;outU8Array[outIdx++]=128|u>>24&63;outU8Array[outIdx++]=128|u>>18&63;outU8Array[outIdx++]=128|u>>12&63;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}}outU8Array[outIdx]=0;return outIdx-startIdx}Module["stringToUTF8Array"]=stringToUTF8Array;function stringToUTF8(str,outPtr,maxBytesToWrite){return stringToUTF8Array(str,HEAPU8,outPtr,maxBytesToWrite)}Module["stringToUTF8"]=stringToUTF8;function lengthBytesUTF8(str){var len=0;for(var i=0;i=55296&&u<=57343)u=65536+((u&1023)<<10)|str.charCodeAt(++i)&1023;if(u<=127){++len}else if(u<=2047){len+=2}else if(u<=65535){len+=3}else if(u<=2097151){len+=4}else if(u<=67108863){len+=5}else{len+=6}}return len}Module["lengthBytesUTF8"]=lengthBytesUTF8;function demangle(func){var hasLibcxxabi=!!Module["___cxa_demangle"];if(hasLibcxxabi){try{var buf=_malloc(func.length);writeStringToMemory(func.substr(1),buf);var status=_malloc(4);var ret=Module["___cxa_demangle"](buf,0,0,status);if(getValue(status,"i32")===0&&ret){return Pointer_stringify(ret)}}catch(e){return func}finally{if(buf)_free(buf);if(status)_free(status);if(ret)_free(ret)}}Runtime.warnOnce("warning: build with -s DEMANGLE_SUPPORT=1 to link in libcxxabi demangling");return func}function demangleAll(text){return text.replace(/__Z[\w\d_]+/g,(function(x){var y=demangle(x);return x===y?x:x+" ["+y+"]"}))}function jsStackTrace(){var err=new Error;if(!err.stack){try{throw new Error(0)}catch(e){err=e}if(!err.stack){return"(no stack trace available)"}}return err.stack.toString()}function stackTrace(){return demangleAll(jsStackTrace())}Module["stackTrace"]=stackTrace;var PAGE_SIZE=4096;function alignMemoryPage(x){if(x%4096>0){x+=4096-x%4096}return x}var HEAP;var buffer;var HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAPF64;function updateGlobalBuffer(buf){Module["buffer"]=buffer=buf}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=false;var STACK_BASE=0,STACKTOP=0,STACK_MAX=0;var DYNAMIC_BASE=0,DYNAMICTOP=0;if(!Module["reallocBuffer"])Module["reallocBuffer"]=(function(size){var ret;try{if(ArrayBuffer.transfer){ret=ArrayBuffer.transfer(buffer,size)}else{var oldHEAP8=HEAP8;ret=new ArrayBuffer(size);var temp=new Int8Array(ret);temp.set(oldHEAP8)}}catch(e){return false}var success=_emscripten_replace_memory(ret);if(!success)return false;return ret});function enlargeMemory(){var LIMIT=Math.pow(2,31);if(DYNAMICTOP>=LIMIT)return false;while(TOTAL_MEMORY<=DYNAMICTOP){if(TOTAL_MEMORY=LIMIT)return false;var replacement=Module["reallocBuffer"](TOTAL_MEMORY);if(!replacement)return false;updateGlobalBuffer(replacement);updateGlobalBufferViews();return true}var byteLength;try{byteLength=Function.prototype.call.bind(Object.getOwnPropertyDescriptor(ArrayBuffer.prototype,"byteLength").get);byteLength(new ArrayBuffer(4))}catch(e){byteLength=(function(buffer){return buffer.byteLength})}var TOTAL_STACK=Module["TOTAL_STACK"]||5242880;var TOTAL_MEMORY=Module["TOTAL_MEMORY"]||16777216;var totalMemory=64*1024;while(totalMemory0){var callback=callbacks.shift();if(typeof callback=="function"){callback();continue}var func=callback.func;if(typeof func==="number"){if(callback.arg===undefined){Runtime.dynCall("v",func)}else{Runtime.dynCall("vi",func,[callback.arg])}}else{func(callback.arg===undefined?null:callback.arg)}}}var __ATPRERUN__=[];var __ATINIT__=[];var __ATMAIN__=[];var __ATEXIT__=[];var __ATPOSTRUN__=[];var runtimeInitialized=false;var runtimeExited=false;function preRun(){if(Module["preRun"]){if(typeof Module["preRun"]=="function")Module["preRun"]=[Module["preRun"]];while(Module["preRun"].length){addOnPreRun(Module["preRun"].shift())}}callRuntimeCallbacks(__ATPRERUN__)}function ensureInitRuntime(){if(runtimeInitialized)return;runtimeInitialized=true;callRuntimeCallbacks(__ATINIT__)}function preMain(){callRuntimeCallbacks(__ATMAIN__)}function exitRuntime(){callRuntimeCallbacks(__ATEXIT__);runtimeExited=true}function postRun(){if(Module["postRun"]){if(typeof Module["postRun"]=="function")Module["postRun"]=[Module["postRun"]];while(Module["postRun"].length){addOnPostRun(Module["postRun"].shift())}}callRuntimeCallbacks(__ATPOSTRUN__)}function addOnPreRun(cb){__ATPRERUN__.unshift(cb)}Module["addOnPreRun"]=addOnPreRun;function addOnInit(cb){__ATINIT__.unshift(cb)}Module["addOnInit"]=addOnInit;function addOnPreMain(cb){__ATMAIN__.unshift(cb)}Module["addOnPreMain"]=addOnPreMain;function addOnExit(cb){__ATEXIT__.unshift(cb)}Module["addOnExit"]=addOnExit;function addOnPostRun(cb){__ATPOSTRUN__.unshift(cb)}Module["addOnPostRun"]=addOnPostRun;function intArrayFromString(stringy,dontAddNull,length){var len=length>0?length:lengthBytesUTF8(stringy)+1;var u8array=new Array(len);var numBytesWritten=stringToUTF8Array(stringy,u8array,0,u8array.length);if(dontAddNull)u8array.length=numBytesWritten;return u8array}Module["intArrayFromString"]=intArrayFromString;function intArrayToString(array){var ret=[];for(var i=0;i255){chr&=255}ret.push(String.fromCharCode(chr))}return ret.join("")}Module["intArrayToString"]=intArrayToString;function writeStringToMemory(string,buffer,dontAddNull){var array=intArrayFromString(string,dontAddNull);var i=0;while(i>0]=chr;i=i+1}}Module["writeStringToMemory"]=writeStringToMemory;function writeArrayToMemory(array,buffer){for(var i=0;i>0]=array[i]}}Module["writeArrayToMemory"]=writeArrayToMemory;function writeAsciiToMemory(str,buffer,dontAddNull){for(var i=0;i>0]=str.charCodeAt(i)}if(!dontAddNull)HEAP8[buffer>>0]=0}Module["writeAsciiToMemory"]=writeAsciiToMemory;if(!Math["imul"]||Math["imul"](4294967295,5)!==-5)Math["imul"]=function imul(a,b){var ah=a>>>16;var al=a&65535;var bh=b>>>16;var bl=b&65535;return al*bl+(ah*bl+al*bh<<16)|0};Math.imul=Math["imul"];if(!Math["clz32"])Math["clz32"]=(function(x){x=x>>>0;for(var i=0;i<32;i++){if(x&1<<31-i)return i}return 32});Math.clz32=Math["clz32"];var Math_abs=Math.abs;var Math_cos=Math.cos;var Math_sin=Math.sin;var Math_tan=Math.tan;var Math_acos=Math.acos;var Math_asin=Math.asin;var Math_atan=Math.atan;var Math_atan2=Math.atan2;var Math_exp=Math.exp;var Math_log=Math.log;var Math_sqrt=Math.sqrt;var Math_ceil=Math.ceil;var Math_floor=Math.floor;var Math_pow=Math.pow;var Math_imul=Math.imul;var Math_fround=Math.fround;var Math_min=Math.min;var Math_clz32=Math.clz32;var runDependencies=0;var runDependencyWatcher=null;var dependenciesFulfilled=null;function getUniqueRunDependency(id){return id}function addRunDependency(id){runDependencies++;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}}Module["addRunDependency"]=addRunDependency;function removeRunDependency(id){runDependencies--;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}if(runDependencies==0){if(runDependencyWatcher!==null){clearInterval(runDependencyWatcher);runDependencyWatcher=null}if(dependenciesFulfilled){var callback=dependenciesFulfilled;dependenciesFulfilled=null;callback()}}}Module["removeRunDependency"]=removeRunDependency;Module["preloadedImages"]={};Module["preloadedAudios"]={};var memoryInitializer=null;var ASM_CONSTS=[(function(){FS.syncfs(false,(function(err){if(err){console.log(err)}}))}),(function(){{return screen.width}}),(function(){{return screen.height}}),(function($0){{if(Module["canvas"]){Module["canvas"].style["cursor"]=Module["Pointer_stringify"]($0)}return 0}}),(function(){if(Module["canvas"]){Module["canvas"].style["cursor"]="none"}}),(function($0){{if(typeof Module["setWindowTitle"]!=="undefined"){Module["setWindowTitle"](Module["Pointer_stringify"]($0))}return 0}}),(function($0,$1,$2){{var w=$0;var h=$1;var pixels=$2;if(!Module["SDL2"])Module["SDL2"]={};var SDL2=Module["SDL2"];if(SDL2.ctxCanvas!==Module["canvas"]){SDL2.ctx=Module["createContext"](Module["canvas"],false,true);SDL2.ctxCanvas=Module["canvas"]}if(SDL2.w!==w||SDL2.h!==h||SDL2.imageCtx!==SDL2.ctx){SDL2.image=SDL2.ctx.createImageData(w,h);SDL2.w=w;SDL2.h=h;SDL2.imageCtx=SDL2.ctx}var data=SDL2.image.data;var src=pixels>>2;var dst=0;var num;if(typeof CanvasPixelArray!=="undefined"&&data instanceof CanvasPixelArray){num=data.length;while(dst>8&255;data[dst+2]=val>>16&255;data[dst+3]=255;src++;dst+=4}}else{if(SDL2.data32Data!==data){SDL2.data32=new Int32Array(data.buffer);SDL2.data8=new Uint8Array(data.buffer)}var data32=SDL2.data32;num=data32.length;data32.set(HEAP32.subarray(src,src+num));var data8=SDL2.data8;var i=3;var j=i+4*num;if(num%8==0){while(i>2]}}}}),(function($0,$1){{Module.printErr("bad name in getProcAddress: "+[Pointer_stringify($0),Pointer_stringify($1)])}})];function _emscripten_asm_const_ii(code,a0){return ASM_CONSTS[code](a0)}function _emscripten_asm_const_i(code){return ASM_CONSTS[code]()}function _emscripten_asm_const_iiiii(code,a0,a1,a2,a3){return ASM_CONSTS[code](a0,a1,a2,a3)}function _emscripten_asm_const_iiii(code,a0,a1,a2){return ASM_CONSTS[code](a0,a1,a2)}function _emscripten_asm_const_v(code){return ASM_CONSTS[code]()}function _emscripten_asm_const_iii(code,a0,a1){return ASM_CONSTS[code](a0,a1)}STATIC_BASE=8;STATICTOP=STATIC_BASE+1279184;__ATINIT__.push({func:(function(){__GLOBAL__I_000101()})},{func:(function(){__GLOBAL__sub_I_Shape_cpp()})},{func:(function(){__GLOBAL__sub_I_types_cpp()})},{func:(function(){__GLOBAL__sub_I_FileData_cpp()})},{func:(function(){__GLOBAL__sub_I_Graphics_cpp()})},{func:(function(){__GLOBAL__sub_I_ParticleSystem_cpp()})},{func:(function(){__GLOBAL__sub_I_Texture_cpp()})},{func:(function(){__GLOBAL__sub_I_CompressedImageData_cpp()})},{func:(function(){__GLOBAL__sub_I_Compressor_cpp()})},{func:(function(){__GLOBAL__sub_I_MathModule_cpp()})},{func:(function(){__GLOBAL__sub_I_Cursor_cpp()})},{func:(function(){__GLOBAL__sub_I_Joint_cpp()})},{func:(function(){__GLOBAL__sub_I_System_cpp()})},{func:(function(){__GLOBAL__sub_I_System_cpp_2273()})},{func:(function(){__GLOBAL__sub_I_Window_cpp()})},{func:(function(){__GLOBAL__sub_I_Memoizer_cpp()})},{func:(function(){__GLOBAL__sub_I_Audio_cpp()})},{func:(function(){__GLOBAL__sub_I_Source_cpp()})},{func:(function(){__GLOBAL__sub_I_Event_cpp()})},{func:(function(){__GLOBAL__sub_I_File_cpp()})},{func:(function(){__GLOBAL__sub_I_GlyphData_cpp()})},{func:(function(){__GLOBAL__sub_I_TrueTypeRasterizer_cpp()})},{func:(function(){__GLOBAL__sub_I_Canvas_cpp()})},{func:(function(){__GLOBAL__sub_I_Font_cpp()})},{func:(function(){__GLOBAL__sub_I_Image_cpp()})},{func:(function(){__GLOBAL__sub_I_Mesh_cpp()})},{func:(function(){__GLOBAL__sub_I_OpenGL_cpp()})},{func:(function(){__GLOBAL__sub_I_Shader_cpp()})},{func:(function(){__GLOBAL__sub_I_Volatile_cpp()})},{func:(function(){__GLOBAL__sub_I_ImageData_cpp()})},{func:(function(){__GLOBAL__sub_I_Joystick_cpp()})},{func:(function(){__GLOBAL__sub_I_Joystick_cpp_4336()})},{func:(function(){__GLOBAL__sub_I_Keyboard_cpp()})},{func:(function(){__GLOBAL__sub_I_Keyboard_cpp_4545()})},{func:(function(){__GLOBAL__sub_I_Cursor_cpp_4586()})},{func:(function(){__GLOBAL__sub_I_Channel_cpp()})},{func:(function(){__GLOBAL__sub_I_fastmix_cpp()})},{func:(function(){__GLOBAL__sub_I_Body_cpp()})},{func:(function(){__GLOBAL__sub_I_iostream_cpp()})});memoryInitializer="love.js.mem";var tempDoublePtr=STATICTOP;STATICTOP+=16;var JSEvents={keyEvent:0,mouseEvent:0,wheelEvent:0,uiEvent:0,focusEvent:0,deviceOrientationEvent:0,deviceMotionEvent:0,fullscreenChangeEvent:0,pointerlockChangeEvent:0,visibilityChangeEvent:0,touchEvent:0,previousFullscreenElement:null,previousScreenX:null,previousScreenY:null,removeEventListenersRegistered:false,registerRemoveEventListeners:(function(){if(!JSEvents.removeEventListenersRegistered){__ATEXIT__.push((function(){for(var i=JSEvents.eventHandlers.length-1;i>=0;--i){JSEvents._removeHandler(i)}}));JSEvents.removeEventListenersRegistered=true}}),findEventTarget:(function(target){if(target){if(typeof target=="number"){target=Pointer_stringify(target)}if(target=="#window")return window;else if(target=="#document")return document;else if(target=="#screen")return window.screen;else if(target=="#canvas")return Module["canvas"];if(typeof target=="string")return document.getElementById(target);else return target}else{return window}}),deferredCalls:[],deferCall:(function(targetFunction,precedence,argsList){function arraysHaveEqualContent(arrA,arrB){if(arrA.length!=arrB.length)return false;for(var i in arrA){if(arrA[i]!=arrB[i])return false}return true}for(var i in JSEvents.deferredCalls){var call=JSEvents.deferredCalls[i];if(call.targetFunction==targetFunction&&arraysHaveEqualContent(call.argsList,argsList)){return}}JSEvents.deferredCalls.push({targetFunction:targetFunction,precedence:precedence,argsList:argsList});JSEvents.deferredCalls.sort((function(x,y){return x.precedence0}),removeAllHandlersOnTarget:(function(target,eventTypeString){for(var i=0;i>2]=e.location;HEAP32[JSEvents.keyEvent+68>>2]=e.ctrlKey;HEAP32[JSEvents.keyEvent+72>>2]=e.shiftKey;HEAP32[JSEvents.keyEvent+76>>2]=e.altKey;HEAP32[JSEvents.keyEvent+80>>2]=e.metaKey;HEAP32[JSEvents.keyEvent+84>>2]=e.repeat;writeStringToMemory(e.locale?e.locale:"",JSEvents.keyEvent+88);writeStringToMemory(e.char?e.char:"",JSEvents.keyEvent+120);HEAP32[JSEvents.keyEvent+152>>2]=e.charCode;HEAP32[JSEvents.keyEvent+156>>2]=e.keyCode;HEAP32[JSEvents.keyEvent+160>>2]=e.which;var shouldCancel=Runtime.dynCall("iiii",callbackfunc,[eventTypeId,JSEvents.keyEvent,userData]);if(shouldCancel){e.preventDefault()}});var eventHandler={target:JSEvents.findEventTarget(target),allowsDeferredCalls:JSEvents.isInternetExplorer()?false:true,eventTypeString:eventTypeString,callbackfunc:callbackfunc,handlerFunc:handlerFunc,useCapture:useCapture};JSEvents.registerOrRemoveHandler(eventHandler)}),getBoundingClientRectOrZeros:(function(target){return target.getBoundingClientRect?target.getBoundingClientRect():{left:0,top:0}}),fillMouseEventData:(function(eventStruct,e,target){HEAPF64[eventStruct>>3]=JSEvents.tick();HEAP32[eventStruct+8>>2]=e.screenX;HEAP32[eventStruct+12>>2]=e.screenY;HEAP32[eventStruct+16>>2]=e.clientX;HEAP32[eventStruct+20>>2]=e.clientY;HEAP32[eventStruct+24>>2]=e.ctrlKey;HEAP32[eventStruct+28>>2]=e.shiftKey;HEAP32[eventStruct+32>>2]=e.altKey;HEAP32[eventStruct+36>>2]=e.metaKey;HEAP16[eventStruct+40>>1]=e.button;HEAP16[eventStruct+42>>1]=e.buttons;HEAP32[eventStruct+44>>2]=e["movementX"]||e["mozMovementX"]||e["webkitMovementX"]||e.screenX-JSEvents.previousScreenX;HEAP32[eventStruct+48>>2]=e["movementY"]||e["mozMovementY"]||e["webkitMovementY"]||e.screenY-JSEvents.previousScreenY;if(Module["canvas"]){var rect=Module["canvas"].getBoundingClientRect();HEAP32[eventStruct+60>>2]=e.clientX-rect.left;HEAP32[eventStruct+64>>2]=e.clientY-rect.top}else{HEAP32[eventStruct+60>>2]=0;HEAP32[eventStruct+64>>2]=0}if(target){var rect=JSEvents.getBoundingClientRectOrZeros(target);HEAP32[eventStruct+52>>2]=e.clientX-rect.left;HEAP32[eventStruct+56>>2]=e.clientY-rect.top}else{HEAP32[eventStruct+52>>2]=0;HEAP32[eventStruct+56>>2]=0}JSEvents.previousScreenX=e.screenX;JSEvents.previousScreenY=e.screenY}),registerMouseEventCallback:(function(target,userData,useCapture,callbackfunc,eventTypeId,eventTypeString){if(!JSEvents.mouseEvent){JSEvents.mouseEvent=_malloc(72)}target=JSEvents.findEventTarget(target);var handlerFunc=(function(event){var e=event||window.event;JSEvents.fillMouseEventData(JSEvents.mouseEvent,e,target);var shouldCancel=Runtime.dynCall("iiii",callbackfunc,[eventTypeId,JSEvents.mouseEvent,userData]);if(shouldCancel){e.preventDefault()}});var eventHandler={target:target,allowsDeferredCalls:eventTypeString!="mousemove"&&eventTypeString!="mouseenter"&&eventTypeString!="mouseleave",eventTypeString:eventTypeString,callbackfunc:callbackfunc,handlerFunc:handlerFunc,useCapture:useCapture};if(JSEvents.isInternetExplorer()&&eventTypeString=="mousedown")eventHandler.allowsDeferredCalls=false;JSEvents.registerOrRemoveHandler(eventHandler)}),registerWheelEventCallback:(function(target,userData,useCapture,callbackfunc,eventTypeId,eventTypeString){if(!JSEvents.wheelEvent){JSEvents.wheelEvent=_malloc(104)}target=JSEvents.findEventTarget(target);var wheelHandlerFunc=(function(event){var e=event||window.event;JSEvents.fillMouseEventData(JSEvents.wheelEvent,e,target);HEAPF64[JSEvents.wheelEvent+72>>3]=e["deltaX"];HEAPF64[JSEvents.wheelEvent+80>>3]=e["deltaY"];HEAPF64[JSEvents.wheelEvent+88>>3]=e["deltaZ"];HEAP32[JSEvents.wheelEvent+96>>2]=e["deltaMode"];var shouldCancel=Runtime.dynCall("iiii",callbackfunc,[eventTypeId,JSEvents.wheelEvent,userData]);if(shouldCancel){e.preventDefault()}});var mouseWheelHandlerFunc=(function(event){var e=event||window.event;JSEvents.fillMouseEventData(JSEvents.wheelEvent,e,target);HEAPF64[JSEvents.wheelEvent+72>>3]=e["wheelDeltaX"];HEAPF64[JSEvents.wheelEvent+80>>3]=-e["wheelDeltaY"];HEAPF64[JSEvents.wheelEvent+88>>3]=0;HEAP32[JSEvents.wheelEvent+96>>2]=0;var shouldCancel=Runtime.dynCall("iiii",callbackfunc,[eventTypeId,JSEvents.wheelEvent,userData]);if(shouldCancel){e.preventDefault()}});var eventHandler={target:target,allowsDeferredCalls:true,eventTypeString:eventTypeString,callbackfunc:callbackfunc,handlerFunc:eventTypeString=="wheel"?wheelHandlerFunc:mouseWheelHandlerFunc,useCapture:useCapture};JSEvents.registerOrRemoveHandler(eventHandler)}),pageScrollPos:(function(){if(window.pageXOffset>0||window.pageYOffset>0){return[window.pageXOffset,window.pageYOffset]}if(typeof document.documentElement.scrollLeft!=="undefined"||typeof document.documentElement.scrollTop!=="undefined"){return[document.documentElement.scrollLeft,document.documentElement.scrollTop]}return[document.body.scrollLeft|0,document.body.scrollTop|0]}),registerUiEventCallback:(function(target,userData,useCapture,callbackfunc,eventTypeId,eventTypeString){if(!JSEvents.uiEvent){JSEvents.uiEvent=_malloc(36)}if(eventTypeString=="scroll"&&!target){target=document}else{target=JSEvents.findEventTarget(target)}var handlerFunc=(function(event){var e=event||window.event;if(e.target!=target){return}var scrollPos=JSEvents.pageScrollPos();HEAP32[JSEvents.uiEvent>>2]=e.detail;HEAP32[JSEvents.uiEvent+4>>2]=document.body.clientWidth;HEAP32[JSEvents.uiEvent+8>>2]=document.body.clientHeight;HEAP32[JSEvents.uiEvent+12>>2]=window.innerWidth;HEAP32[JSEvents.uiEvent+16>>2]=window.innerHeight;HEAP32[JSEvents.uiEvent+20>>2]=window.outerWidth;HEAP32[JSEvents.uiEvent+24>>2]=window.outerHeight;HEAP32[JSEvents.uiEvent+28>>2]=scrollPos[0];HEAP32[JSEvents.uiEvent+32>>2]=scrollPos[1];var shouldCancel=Runtime.dynCall("iiii",callbackfunc,[eventTypeId,JSEvents.uiEvent,userData]);if(shouldCancel){e.preventDefault()}});var eventHandler={target:target,allowsDeferredCalls:false,eventTypeString:eventTypeString,callbackfunc:callbackfunc,handlerFunc:handlerFunc,useCapture:useCapture};JSEvents.registerOrRemoveHandler(eventHandler)}),getNodeNameForTarget:(function(target){if(!target)return"";if(target==window)return"#window";if(target==window.screen)return"#screen";return target&&target.nodeName?target.nodeName:""}),registerFocusEventCallback:(function(target,userData,useCapture,callbackfunc,eventTypeId,eventTypeString){if(!JSEvents.focusEvent){JSEvents.focusEvent=_malloc(256)}var handlerFunc=(function(event){var e=event||window.event;var nodeName=JSEvents.getNodeNameForTarget(e.target);var id=e.target.id?e.target.id:"";writeStringToMemory(nodeName,JSEvents.focusEvent+0);writeStringToMemory(id,JSEvents.focusEvent+128);var shouldCancel=Runtime.dynCall("iiii",callbackfunc,[eventTypeId,JSEvents.focusEvent,userData]);if(shouldCancel){e.preventDefault()}});var eventHandler={target:JSEvents.findEventTarget(target),allowsDeferredCalls:false,eventTypeString:eventTypeString,callbackfunc:callbackfunc,handlerFunc:handlerFunc,useCapture:useCapture};JSEvents.registerOrRemoveHandler(eventHandler)}),tick:(function(){if(window["performance"]&&window["performance"]["now"])return window["performance"]["now"]();else return Date.now()}),registerDeviceOrientationEventCallback:(function(target,userData,useCapture,callbackfunc,eventTypeId,eventTypeString){if(!JSEvents.deviceOrientationEvent){JSEvents.deviceOrientationEvent=_malloc(40)}var handlerFunc=(function(event){var e=event||window.event;HEAPF64[JSEvents.deviceOrientationEvent>>3]=JSEvents.tick();HEAPF64[JSEvents.deviceOrientationEvent+8>>3]=e.alpha;HEAPF64[JSEvents.deviceOrientationEvent+16>>3]=e.beta;HEAPF64[JSEvents.deviceOrientationEvent+24>>3]=e.gamma;HEAP32[JSEvents.deviceOrientationEvent+32>>2]=e.absolute;var shouldCancel=Runtime.dynCall("iiii",callbackfunc,[eventTypeId,JSEvents.deviceOrientationEvent,userData]);if(shouldCancel){e.preventDefault()}});var eventHandler={target:JSEvents.findEventTarget(target),allowsDeferredCalls:false,eventTypeString:eventTypeString,callbackfunc:callbackfunc,handlerFunc:handlerFunc,useCapture:useCapture};JSEvents.registerOrRemoveHandler(eventHandler)}),registerDeviceMotionEventCallback:(function(target,userData,useCapture,callbackfunc,eventTypeId,eventTypeString){if(!JSEvents.deviceMotionEvent){JSEvents.deviceMotionEvent=_malloc(80)}var handlerFunc=(function(event){var e=event||window.event;HEAPF64[JSEvents.deviceOrientationEvent>>3]=JSEvents.tick();HEAPF64[JSEvents.deviceMotionEvent+8>>3]=e.acceleration.x;HEAPF64[JSEvents.deviceMotionEvent+16>>3]=e.acceleration.y;HEAPF64[JSEvents.deviceMotionEvent+24>>3]=e.acceleration.z;HEAPF64[JSEvents.deviceMotionEvent+32>>3]=e.accelerationIncludingGravity.x;HEAPF64[JSEvents.deviceMotionEvent+40>>3]=e.accelerationIncludingGravity.y;HEAPF64[JSEvents.deviceMotionEvent+48>>3]=e.accelerationIncludingGravity.z;HEAPF64[JSEvents.deviceMotionEvent+56>>3]=e.rotationRate.alpha;HEAPF64[JSEvents.deviceMotionEvent+64>>3]=e.rotationRate.beta;HEAPF64[JSEvents.deviceMotionEvent+72>>3]=e.rotationRate.gamma;var shouldCancel=Runtime.dynCall("iiii",callbackfunc,[eventTypeId,JSEvents.deviceMotionEvent,userData]);if(shouldCancel){e.preventDefault()}});var eventHandler={target:JSEvents.findEventTarget(target),allowsDeferredCalls:false,eventTypeString:eventTypeString,callbackfunc:callbackfunc,handlerFunc:handlerFunc,useCapture:useCapture};JSEvents.registerOrRemoveHandler(eventHandler)}),screenOrientation:(function(){if(!window.screen)return undefined;return window.screen.orientation||window.screen.mozOrientation||window.screen.webkitOrientation||window.screen.msOrientation}),fillOrientationChangeEventData:(function(eventStruct,e){var orientations=["portrait-primary","portrait-secondary","landscape-primary","landscape-secondary"];var orientations2=["portrait","portrait","landscape","landscape"];var orientationString=JSEvents.screenOrientation();var orientation=orientations.indexOf(orientationString);if(orientation==-1){orientation=orientations2.indexOf(orientationString)}HEAP32[eventStruct>>2]=1<>2]=window.orientation}),registerOrientationChangeEventCallback:(function(target,userData,useCapture,callbackfunc,eventTypeId,eventTypeString){if(!JSEvents.orientationChangeEvent){JSEvents.orientationChangeEvent=_malloc(8)}if(!target){target=window.screen}else{target=JSEvents.findEventTarget(target)}var handlerFunc=(function(event){var e=event||window.event;JSEvents.fillOrientationChangeEventData(JSEvents.orientationChangeEvent,e);var shouldCancel=Runtime.dynCall("iiii",callbackfunc,[eventTypeId,JSEvents.orientationChangeEvent,userData]);if(shouldCancel){e.preventDefault()}});if(eventTypeString=="orientationchange"&&window.screen.mozOrientation!==undefined){eventTypeString="mozorientationchange"}var eventHandler={target:target,allowsDeferredCalls:false,eventTypeString:eventTypeString,callbackfunc:callbackfunc,handlerFunc:handlerFunc,useCapture:useCapture};JSEvents.registerOrRemoveHandler(eventHandler)}),fullscreenEnabled:(function(){return document.fullscreenEnabled||document.mozFullscreenEnabled||document.mozFullScreenEnabled||document.webkitFullscreenEnabled||document.msFullscreenEnabled}),fillFullscreenChangeEventData:(function(eventStruct,e){var fullscreenElement=document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement;var isFullscreen=!!fullscreenElement;HEAP32[eventStruct>>2]=isFullscreen;HEAP32[eventStruct+4>>2]=JSEvents.fullscreenEnabled();var reportedElement=isFullscreen?fullscreenElement:JSEvents.previousFullscreenElement;var nodeName=JSEvents.getNodeNameForTarget(reportedElement);var id=reportedElement&&reportedElement.id?reportedElement.id:"";writeStringToMemory(nodeName,eventStruct+8);writeStringToMemory(id,eventStruct+136);HEAP32[eventStruct+264>>2]=reportedElement?reportedElement.clientWidth:0;HEAP32[eventStruct+268>>2]=reportedElement?reportedElement.clientHeight:0;HEAP32[eventStruct+272>>2]=screen.width;HEAP32[eventStruct+276>>2]=screen.height;if(isFullscreen){JSEvents.previousFullscreenElement=fullscreenElement}}),registerFullscreenChangeEventCallback:(function(target,userData,useCapture,callbackfunc,eventTypeId,eventTypeString){if(!JSEvents.fullscreenChangeEvent){JSEvents.fullscreenChangeEvent=_malloc(280)}if(!target){target=document}else{target=JSEvents.findEventTarget(target)}var handlerFunc=(function(event){var e=event||window.event;JSEvents.fillFullscreenChangeEventData(JSEvents.fullscreenChangeEvent,e);var shouldCancel=Runtime.dynCall("iiii",callbackfunc,[eventTypeId,JSEvents.fullscreenChangeEvent,userData]);if(shouldCancel){e.preventDefault()}});var eventHandler={target:target,allowsDeferredCalls:false,eventTypeString:eventTypeString,callbackfunc:callbackfunc,handlerFunc:handlerFunc,useCapture:useCapture};JSEvents.registerOrRemoveHandler(eventHandler)}),resizeCanvasForFullscreen:(function(target,strategy){var restoreOldStyle=__registerRestoreOldStyle(target);var cssWidth=strategy.softFullscreen?window.innerWidth:screen.width;var cssHeight=strategy.softFullscreen?window.innerHeight:screen.height;var rect=target.getBoundingClientRect();var windowedCssWidth=rect.right-rect.left;var windowedCssHeight=rect.bottom-rect.top;var windowedRttWidth=target.width;var windowedRttHeight=target.height;if(strategy.scaleMode==3){__setLetterbox(target,(cssHeight-windowedCssHeight)/2,(cssWidth-windowedCssWidth)/2);cssWidth=windowedCssWidth;cssHeight=windowedCssHeight}else if(strategy.scaleMode==2){if(cssWidth*windowedRttHeight>2]=isPointerlocked;var nodeName=JSEvents.getNodeNameForTarget(pointerLockElement);var id=pointerLockElement&&pointerLockElement.id?pointerLockElement.id:"";writeStringToMemory(nodeName,eventStruct+4);writeStringToMemory(id,eventStruct+132)}),registerPointerlockChangeEventCallback:(function(target,userData,useCapture,callbackfunc,eventTypeId,eventTypeString){if(!JSEvents.pointerlockChangeEvent){JSEvents.pointerlockChangeEvent=_malloc(260)}if(!target){target=document}else{target=JSEvents.findEventTarget(target)}var handlerFunc=(function(event){var e=event||window.event;JSEvents.fillPointerlockChangeEventData(JSEvents.pointerlockChangeEvent,e);var shouldCancel=Runtime.dynCall("iiii",callbackfunc,[eventTypeId,JSEvents.pointerlockChangeEvent,userData]);if(shouldCancel){e.preventDefault()}});var eventHandler={target:target,allowsDeferredCalls:false,eventTypeString:eventTypeString,callbackfunc:callbackfunc,handlerFunc:handlerFunc,useCapture:useCapture};JSEvents.registerOrRemoveHandler(eventHandler)}),requestPointerLock:(function(target){if(target.requestPointerLock){target.requestPointerLock()}else if(target.mozRequestPointerLock){target.mozRequestPointerLock()}else if(target.webkitRequestPointerLock){target.webkitRequestPointerLock()}else if(target.msRequestPointerLock){target.msRequestPointerLock()}else{if(document.body.requestPointerLock||document.body.mozRequestPointerLock||document.body.webkitRequestPointerLock||document.body.msRequestPointerLock){return-3}else{return-1}}return 0}),fillVisibilityChangeEventData:(function(eventStruct,e){var visibilityStates=["hidden","visible","prerender","unloaded"];var visibilityState=visibilityStates.indexOf(document.visibilityState);HEAP32[eventStruct>>2]=document.hidden;HEAP32[eventStruct+4>>2]=visibilityState}),registerVisibilityChangeEventCallback:(function(target,userData,useCapture,callbackfunc,eventTypeId,eventTypeString){if(!JSEvents.visibilityChangeEvent){JSEvents.visibilityChangeEvent=_malloc(8)}if(!target){target=document}else{target=JSEvents.findEventTarget(target)}var handlerFunc=(function(event){var e=event||window.event;JSEvents.fillVisibilityChangeEventData(JSEvents.visibilityChangeEvent,e);var shouldCancel=Runtime.dynCall("iiii",callbackfunc,[eventTypeId,JSEvents.visibilityChangeEvent,userData]);if(shouldCancel){e.preventDefault()}});var eventHandler={target:target,allowsDeferredCalls:false,eventTypeString:eventTypeString,callbackfunc:callbackfunc,handlerFunc:handlerFunc,useCapture:useCapture};JSEvents.registerOrRemoveHandler(eventHandler)}),registerTouchEventCallback:(function(target,userData,useCapture,callbackfunc,eventTypeId,eventTypeString){if(!JSEvents.touchEvent){JSEvents.touchEvent=_malloc(1684)}target=JSEvents.findEventTarget(target);var handlerFunc=(function(event){var e=event||window.event;var touches={};for(var i=0;i>2]=e.ctrlKey;HEAP32[ptr+8>>2]=e.shiftKey;HEAP32[ptr+12>>2]=e.altKey;HEAP32[ptr+16>>2]=e.metaKey;ptr+=20;var canvasRect=Module["canvas"]?Module["canvas"].getBoundingClientRect():undefined;var targetRect=JSEvents.getBoundingClientRectOrZeros(target);var numTouches=0;for(var i in touches){var t=touches[i];HEAP32[ptr>>2]=t.identifier;HEAP32[ptr+4>>2]=t.screenX;HEAP32[ptr+8>>2]=t.screenY;HEAP32[ptr+12>>2]=t.clientX;HEAP32[ptr+16>>2]=t.clientY;HEAP32[ptr+20>>2]=t.pageX;HEAP32[ptr+24>>2]=t.pageY;HEAP32[ptr+28>>2]=t.changed;HEAP32[ptr+32>>2]=t.onTarget;if(canvasRect){HEAP32[ptr+44>>2]=t.clientX-canvasRect.left;HEAP32[ptr+48>>2]=t.clientY-canvasRect.top}else{HEAP32[ptr+44>>2]=0;HEAP32[ptr+48>>2]=0}HEAP32[ptr+36>>2]=t.clientX-targetRect.left;HEAP32[ptr+40>>2]=t.clientY-targetRect.top;ptr+=52;if(++numTouches>=32){break}}HEAP32[JSEvents.touchEvent>>2]=numTouches;var shouldCancel=Runtime.dynCall("iiii",callbackfunc,[eventTypeId,JSEvents.touchEvent,userData]);if(shouldCancel){e.preventDefault()}});var eventHandler={target:target,allowsDeferredCalls:false,eventTypeString:eventTypeString,callbackfunc:callbackfunc,handlerFunc:handlerFunc,useCapture:useCapture};JSEvents.registerOrRemoveHandler(eventHandler)}),fillGamepadEventData:(function(eventStruct,e){HEAPF64[eventStruct>>3]=e.timestamp;for(var i=0;i>3]=e.axes[i]}for(var i=0;i>3]=e.buttons[i].value}else{HEAPF64[eventStruct+i*8+528>>3]=e.buttons[i]}}for(var i=0;i>2]=e.buttons[i].pressed}else{HEAP32[eventStruct+i*4+1040>>2]=e.buttons[i]==1}}HEAP32[eventStruct+1296>>2]=e.connected;HEAP32[eventStruct+1300>>2]=e.index;HEAP32[eventStruct+8>>2]=e.axes.length;HEAP32[eventStruct+12>>2]=e.buttons.length;writeStringToMemory(e.id,eventStruct+1304);writeStringToMemory(e.mapping,eventStruct+1368)}),registerGamepadEventCallback:(function(target,userData,useCapture,callbackfunc,eventTypeId,eventTypeString){if(!JSEvents.gamepadEvent){JSEvents.gamepadEvent=_malloc(1432)}var handlerFunc=(function(event){var e=event||window.event;JSEvents.fillGamepadEventData(JSEvents.gamepadEvent,e.gamepad);var shouldCancel=Runtime.dynCall("iiii",callbackfunc,[eventTypeId,JSEvents.gamepadEvent,userData]);if(shouldCancel){e.preventDefault()}});var eventHandler={target:JSEvents.findEventTarget(target),allowsDeferredCalls:true,eventTypeString:eventTypeString,callbackfunc:callbackfunc,handlerFunc:handlerFunc,useCapture:useCapture};JSEvents.registerOrRemoveHandler(eventHandler)}),registerBeforeUnloadEventCallback:(function(target,userData,useCapture,callbackfunc,eventTypeId,eventTypeString){var handlerFunc=(function(event){var e=event||window.event;var confirmationMessage=Runtime.dynCall("iiii",callbackfunc,[eventTypeId,0,userData]);if(confirmationMessage){confirmationMessage=Pointer_stringify(confirmationMessage)}if(confirmationMessage){e.preventDefault();e.returnValue=confirmationMessage;return confirmationMessage}});var eventHandler={target:JSEvents.findEventTarget(target),allowsDeferredCalls:false,eventTypeString:eventTypeString,callbackfunc:callbackfunc,handlerFunc:handlerFunc,useCapture:useCapture};JSEvents.registerOrRemoveHandler(eventHandler)}),battery:(function(){return navigator.battery||navigator.mozBattery||navigator.webkitBattery}),fillBatteryEventData:(function(eventStruct,e){HEAPF64[eventStruct>>3]=e.chargingTime;HEAPF64[eventStruct+8>>3]=e.dischargingTime;HEAPF64[eventStruct+16>>3]=e.level;HEAP32[eventStruct+24>>2]=e.charging}),registerBatteryEventCallback:(function(target,userData,useCapture,callbackfunc,eventTypeId,eventTypeString){if(!JSEvents.batteryEvent){JSEvents.batteryEvent=_malloc(32)}var handlerFunc=(function(event){var e=event||window.event;JSEvents.fillBatteryEventData(JSEvents.batteryEvent,JSEvents.battery());var shouldCancel=Runtime.dynCall("iiii",callbackfunc,[eventTypeId,JSEvents.batteryEvent,userData]);if(shouldCancel){e.preventDefault()}});var eventHandler={target:JSEvents.findEventTarget(target),allowsDeferredCalls:false,eventTypeString:eventTypeString,callbackfunc:callbackfunc,handlerFunc:handlerFunc,useCapture:useCapture};JSEvents.registerOrRemoveHandler(eventHandler)}),registerWebGlEventCallback:(function(target,userData,useCapture,callbackfunc,eventTypeId,eventTypeString){if(!target){target=Module["canvas"]}var handlerFunc=(function(event){var e=event||window.event;var shouldCancel=Runtime.dynCall("iiii",callbackfunc,[eventTypeId,0,userData]);if(shouldCancel){e.preventDefault()}});var eventHandler={target:JSEvents.findEventTarget(target),allowsDeferredCalls:false,eventTypeString:eventTypeString,callbackfunc:callbackfunc,handlerFunc:handlerFunc,useCapture:useCapture};JSEvents.registerOrRemoveHandler(eventHandler)})};function _emscripten_set_visibilitychange_callback(userData,useCapture,callbackfunc){JSEvents.registerVisibilityChangeEventCallback(document,userData,useCapture,callbackfunc,21,"visibilitychange");return 0}var GL={counter:1,lastError:0,buffers:[],mappedBuffers:{},programs:[],framebuffers:[],renderbuffers:[],textures:[],uniforms:[],shaders:[],vaos:[],contexts:[],currentContext:null,currArrayBuffer:0,currElementArrayBuffer:0,byteSizeByTypeRoot:5120,byteSizeByType:[1,1,2,2,4,4,4,2,3,4,8],programInfos:{},stringCache:{},packAlignment:4,unpackAlignment:4,init:(function(){GL.createLog2ceilLookup(GL.MAX_TEMP_BUFFER_SIZE);GL.miniTempBuffer=new Float32Array(GL.MINI_TEMP_BUFFER_SIZE);for(var i=0;ipow2){pow2<<=1;++log2}GL.log2ceilLookup[i]=log2}}),generateTempBuffers:(function(quads,context){var largestIndex=GL.log2ceilLookup[GL.MAX_TEMP_BUFFER_SIZE];context.tempVertexBufferCounters1=[];context.tempVertexBufferCounters2=[];context.tempVertexBufferCounters1.length=context.tempVertexBufferCounters2.length=largestIndex+1;context.tempVertexBuffers1=[];context.tempVertexBuffers2=[];context.tempVertexBuffers1.length=context.tempVertexBuffers2.length=largestIndex+1;context.tempIndexBuffers=[];context.tempIndexBuffers.length=largestIndex+1;for(var i=0;i<=largestIndex;++i){context.tempIndexBuffers[i]=null;context.tempVertexBufferCounters1[i]=context.tempVertexBufferCounters2[i]=0;var ringbufferLength=GL.numTempVertexBuffersPerSize;context.tempVertexBuffers1[i]=[];context.tempVertexBuffers2[i]=[];var ringbuffer1=context.tempVertexBuffers1[i];var ringbuffer2=context.tempVertexBuffers2[i];ringbuffer1.length=ringbuffer2.length=ringbufferLength;for(var j=0;j>1;var quadIndexes=new Uint16Array(numIndexes);var i=0,v=0;while(1){quadIndexes[i++]=v;if(i>=numIndexes)break;quadIndexes[i++]=v+1;if(i>=numIndexes)break;quadIndexes[i++]=v+2;if(i>=numIndexes)break;quadIndexes[i++]=v;if(i>=numIndexes)break;quadIndexes[i++]=v+2;if(i>=numIndexes)break;quadIndexes[i++]=v+3;if(i>=numIndexes)break;v+=4}context.GLctx.bufferData(context.GLctx.ELEMENT_ARRAY_BUFFER,quadIndexes,context.GLctx.STATIC_DRAW);context.GLctx.bindBuffer(context.GLctx.ELEMENT_ARRAY_BUFFER,null)}}),getTempVertexBuffer:function getTempVertexBuffer(sizeBytes){var idx=GL.log2ceilLookup[sizeBytes];var ringbuffer=GL.currentContext.tempVertexBuffers1[idx];var nextFreeBufferIndex=GL.currentContext.tempVertexBufferCounters1[idx];GL.currentContext.tempVertexBufferCounters1[idx]=GL.currentContext.tempVertexBufferCounters1[idx]+1&GL.numTempVertexBuffersPerSize-1;var vbo=ringbuffer[nextFreeBufferIndex];if(vbo){return vbo}var prevVBO=GLctx.getParameter(GLctx.ARRAY_BUFFER_BINDING);ringbuffer[nextFreeBufferIndex]=GLctx.createBuffer();GLctx.bindBuffer(GLctx.ARRAY_BUFFER,ringbuffer[nextFreeBufferIndex]);GLctx.bufferData(GLctx.ARRAY_BUFFER,1<>2];if(len<0){frag=Pointer_stringify(HEAP32[string+i*4>>2])}else{frag=Pointer_stringify(HEAP32[string+i*4>>2],len)}}else{frag=Pointer_stringify(HEAP32[string+i*4>>2])}source+=frag}return source}),calcBufLength:function calcBufLength(size,type,stride,count){if(stride>0){return count*stride}var typeSize=GL.byteSizeByType[type-GL.byteSizeByTypeRoot];return size*typeSize*count},usedTempBuffers:[],preDrawHandleClientVertexAttribBindings:function preDrawHandleClientVertexAttribBindings(count){GL.resetBufferBinding=false;for(var i=0;i0){GLctx.getSupportedExtensions().forEach((function(ext){if(automaticallyEnabledExtensions.indexOf(ext)!=-1){GLctx.getExtension(ext)}}))}}),populateUniformTable:(function(program){var p=GL.programs[program];GL.programInfos[program]={uniforms:{},maxUniformLength:0,maxAttributeLength:-1};var ptable=GL.programInfos[program];var utable=ptable.uniforms;var numUniforms=GLctx.getProgramParameter(p,GLctx.ACTIVE_UNIFORMS);for(var i=0;i0){var start=Date.now();var blocker=Browser.mainLoop.queue.shift();blocker.func(blocker.arg);if(Browser.mainLoop.remainingBlockers){var remaining=Browser.mainLoop.remainingBlockers;var next=remaining%1==0?remaining-1:Math.floor(remaining);if(blocker.counted){Browser.mainLoop.remainingBlockers=next}else{next=next+.5;Browser.mainLoop.remainingBlockers=(8*remaining+next)/9}}console.log('main loop blocker "'+blocker.name+'" took '+(Date.now()-start)+" ms");Browser.mainLoop.updateStatus();if(thisMainLoopId1&&Browser.mainLoop.currentFrameNumber%Browser.mainLoop.timingValue!=0){Browser.mainLoop.scheduler();return}GL.newRenderingFrameStarted();if(Browser.mainLoop.method==="timeout"&&Module.ctx){Module.printErr("Looks like you are rendering without using requestAnimationFrame for the main loop. You should use 0 for the frame rate in emscripten_set_main_loop in order to use requestAnimationFrame, as that can greatly improve your frame rates!");Browser.mainLoop.method=""}Browser.mainLoop.runIter((function(){if(typeof arg!=="undefined"){Runtime.dynCall("vi",func,[arg])}else{Runtime.dynCall("v",func)}}));if(thisMainLoopId0)_emscripten_set_main_loop_timing(0,1e3/fps);else _emscripten_set_main_loop_timing(1,1);Browser.mainLoop.scheduler()}if(simulateInfiniteLoop){throw"SimulateInfiniteLoop"}}var Browser={mainLoop:{scheduler:null,method:"",currentlyRunningMainloop:0,func:null,arg:0,timingMode:0,timingValue:0,currentFrameNumber:0,queue:[],pause:(function(){Browser.mainLoop.scheduler=null;Browser.mainLoop.currentlyRunningMainloop++}),resume:(function(){Browser.mainLoop.currentlyRunningMainloop++;var timingMode=Browser.mainLoop.timingMode;var timingValue=Browser.mainLoop.timingValue;var func=Browser.mainLoop.func;Browser.mainLoop.func=null;_emscripten_set_main_loop(func,0,false,Browser.mainLoop.arg,true);_emscripten_set_main_loop_timing(timingMode,timingValue);Browser.mainLoop.scheduler()}),updateStatus:(function(){if(Module["setStatus"]){var message=Module["statusMessage"]||"Please wait...";var remaining=Browser.mainLoop.remainingBlockers;var expected=Browser.mainLoop.expectedBlockers;if(remaining){if(remaining=6){var curr=leftchar>>leftbits-6&63;leftbits-=6;ret+=BASE[curr]}}if(leftbits==2){ret+=BASE[(leftchar&3)<<4];ret+=PAD+PAD}else if(leftbits==4){ret+=BASE[(leftchar&15)<<2];ret+=PAD}return ret}audio.src="data:audio/x-"+name.substr(-3)+";base64,"+encode64(byteArray);finish(audio)};audio.src=url;Browser.safeSetTimeout((function(){finish(audio)}),1e4)}else{return fail()}};Module["preloadPlugins"].push(audioPlugin);var canvas=Module["canvas"];function pointerLockChange(){Browser.pointerLock=document["pointerLockElement"]===canvas||document["mozPointerLockElement"]===canvas||document["webkitPointerLockElement"]===canvas||document["msPointerLockElement"]===canvas}if(canvas){canvas.requestPointerLock=canvas["requestPointerLock"]||canvas["mozRequestPointerLock"]||canvas["webkitRequestPointerLock"]||canvas["msRequestPointerLock"]||(function(){});canvas.exitPointerLock=document["exitPointerLock"]||document["mozExitPointerLock"]||document["webkitExitPointerLock"]||document["msExitPointerLock"]||(function(){});canvas.exitPointerLock=canvas.exitPointerLock.bind(document);document.addEventListener("pointerlockchange",pointerLockChange,false);document.addEventListener("mozpointerlockchange",pointerLockChange,false);document.addEventListener("webkitpointerlockchange",pointerLockChange,false);document.addEventListener("mspointerlockchange",pointerLockChange,false);if(Module["elementPointerLock"]){canvas.addEventListener("click",(function(ev){if(!Browser.pointerLock&&canvas.requestPointerLock){canvas.requestPointerLock();ev.preventDefault()}}),false)}}}),createContext:(function(canvas,useWebGL,setInModule,webGLContextAttributes){if(useWebGL&&Module.ctx&&canvas==Module.canvas)return Module.ctx;var ctx;var contextHandle;if(useWebGL){var contextAttributes={antialias:false,alpha:false};if(webGLContextAttributes){for(var attribute in webGLContextAttributes){contextAttributes[attribute]=webGLContextAttributes[attribute]}}contextHandle=GL.createContext(canvas,contextAttributes);if(contextHandle){ctx=GL.getContext(contextHandle).GLctx}canvas.style.backgroundColor="black"}else{ctx=canvas.getContext("2d")}if(!ctx)return null;if(setInModule){if(!useWebGL)assert(typeof GLctx==="undefined","cannot set in module if GLctx is used, but we are a non-GL context that would replace it");Module.ctx=ctx;if(useWebGL)GL.makeContextCurrent(contextHandle);Module.useWebGL=useWebGL;Browser.moduleContextCreatedCallbacks.forEach((function(callback){callback()}));Browser.init()}return ctx}),destroyContext:(function(canvas,useWebGL,setInModule){}),fullScreenHandlersInstalled:false,lockPointer:undefined,resizeCanvas:undefined,requestFullScreen:(function(lockPointer,resizeCanvas,vrDevice){Browser.lockPointer=lockPointer;Browser.resizeCanvas=resizeCanvas;Browser.vrDevice=vrDevice;if(typeof Browser.lockPointer==="undefined")Browser.lockPointer=true;if(typeof Browser.resizeCanvas==="undefined")Browser.resizeCanvas=false;if(typeof Browser.vrDevice==="undefined")Browser.vrDevice=null;var canvas=Module["canvas"];function fullScreenChange(){Browser.isFullScreen=false;var canvasContainer=canvas.parentNode;if((document["webkitFullScreenElement"]||document["webkitFullscreenElement"]||document["mozFullScreenElement"]||document["mozFullscreenElement"]||document["fullScreenElement"]||document["fullscreenElement"]||document["msFullScreenElement"]||document["msFullscreenElement"]||document["webkitCurrentFullScreenElement"])===canvasContainer){canvas.cancelFullScreen=document["cancelFullScreen"]||document["mozCancelFullScreen"]||document["webkitCancelFullScreen"]||document["msExitFullscreen"]||document["exitFullscreen"]||(function(){});canvas.cancelFullScreen=canvas.cancelFullScreen.bind(document);if(Browser.lockPointer)canvas.requestPointerLock();Browser.isFullScreen=true;if(Browser.resizeCanvas)Browser.setFullScreenCanvasSize()}else{canvasContainer.parentNode.insertBefore(canvas,canvasContainer);canvasContainer.parentNode.removeChild(canvasContainer);if(Browser.resizeCanvas)Browser.setWindowedCanvasSize()}if(Module["onFullScreen"])Module["onFullScreen"](Browser.isFullScreen);Browser.updateCanvasDimensions(canvas)}if(!Browser.fullScreenHandlersInstalled){Browser.fullScreenHandlersInstalled=true;document.addEventListener("fullscreenchange",fullScreenChange,false);document.addEventListener("mozfullscreenchange",fullScreenChange,false);document.addEventListener("webkitfullscreenchange",fullScreenChange,false);document.addEventListener("MSFullscreenChange",fullScreenChange,false)}var canvasContainer=document.createElement("div");canvas.parentNode.insertBefore(canvasContainer,canvas);canvasContainer.appendChild(canvas);canvasContainer.requestFullScreen=canvasContainer["requestFullScreen"]||canvasContainer["mozRequestFullScreen"]||canvasContainer["msRequestFullscreen"]||(canvasContainer["webkitRequestFullScreen"]?(function(){canvasContainer["webkitRequestFullScreen"](Element["ALLOW_KEYBOARD_INPUT"])}):null);if(vrDevice){canvasContainer.requestFullScreen({vrDisplay:vrDevice})}else{canvasContainer.requestFullScreen()}}),nextRAF:0,fakeRequestAnimationFrame:(function(func){var now=Date.now();if(Browser.nextRAF===0){Browser.nextRAF=now+1e3/60}else{while(now+2>=Browser.nextRAF){Browser.nextRAF+=1e3/60}}var delay=Math.max(Browser.nextRAF-now,0);setTimeout(func,delay)}),requestAnimationFrame:function requestAnimationFrame(func){if(typeof window==="undefined"){Browser.fakeRequestAnimationFrame(func)}else{if(!window.requestAnimationFrame){window.requestAnimationFrame=window["requestAnimationFrame"]||window["mozRequestAnimationFrame"]||window["webkitRequestAnimationFrame"]||window["msRequestAnimationFrame"]||window["oRequestAnimationFrame"]||Browser.fakeRequestAnimationFrame}window.requestAnimationFrame(func)}},safeCallback:(function(func){return(function(){if(!ABORT)return func.apply(null,arguments)})}),allowAsyncCallbacks:true,queuedAsyncCallbacks:[],pauseAsyncCallbacks:(function(){Browser.allowAsyncCallbacks=false}),resumeAsyncCallbacks:(function(){Browser.allowAsyncCallbacks=true;if(Browser.queuedAsyncCallbacks.length>0){var callbacks=Browser.queuedAsyncCallbacks;Browser.queuedAsyncCallbacks=[];callbacks.forEach((function(func){func()}))}}),safeRequestAnimationFrame:(function(func){return Browser.requestAnimationFrame((function(){if(ABORT)return;if(Browser.allowAsyncCallbacks){func()}else{Browser.queuedAsyncCallbacks.push(func)}}))}),safeSetTimeout:(function(func,timeout){Module["noExitRuntime"]=true;return setTimeout((function(){if(ABORT)return;if(Browser.allowAsyncCallbacks){func()}else{Browser.queuedAsyncCallbacks.push(func)}}),timeout)}),safeSetInterval:(function(func,timeout){Module["noExitRuntime"]=true;return setInterval((function(){if(ABORT)return;if(Browser.allowAsyncCallbacks){func()}}),timeout)}),getMimetype:(function(name){return{"jpg":"image/jpeg","jpeg":"image/jpeg","png":"image/png","bmp":"image/bmp","ogg":"audio/ogg","wav":"audio/wav","mp3":"audio/mpeg"}[name.substr(name.lastIndexOf(".")+1)]}),getUserMedia:(function(func){if(!window.getUserMedia){window.getUserMedia=navigator["getUserMedia"]||navigator["mozGetUserMedia"]}window.getUserMedia(func)}),getMovementX:(function(event){return event["movementX"]||event["mozMovementX"]||event["webkitMovementX"]||0}),getMovementY:(function(event){return event["movementY"]||event["mozMovementY"]||event["webkitMovementY"]||0}),getMouseWheelDelta:(function(event){var delta=0;switch(event.type){case"DOMMouseScroll":delta=event.detail;break;case"mousewheel":delta=event.wheelDelta;break;case"wheel":delta=event["deltaY"];break;default:throw"unrecognized mouse wheel event: "+event.type}return delta}),mouseX:0,mouseY:0,mouseMovementX:0,mouseMovementY:0,touches:{},lastTouches:{},calculateMouseEvent:(function(event){if(Browser.pointerLock){if(event.type!="mousemove"&&"mozMovementX"in event){Browser.mouseMovementX=Browser.mouseMovementY=0}else{Browser.mouseMovementX=Browser.getMovementX(event);Browser.mouseMovementY=Browser.getMovementY(event)}if(typeof SDL!="undefined"){Browser.mouseX=SDL.mouseX+Browser.mouseMovementX;Browser.mouseY=SDL.mouseY+Browser.mouseMovementY}else{Browser.mouseX+=Browser.mouseMovementX;Browser.mouseY+=Browser.mouseMovementY}}else{var rect=Module["canvas"].getBoundingClientRect();var cw=Module["canvas"].width;var ch=Module["canvas"].height;var scrollX=typeof window.scrollX!=="undefined"?window.scrollX:window.pageXOffset;var scrollY=typeof window.scrollY!=="undefined"?window.scrollY:window.pageYOffset;if(event.type==="touchstart"||event.type==="touchend"||event.type==="touchmove"){var touch=event.touch;if(touch===undefined){return}var adjustedX=touch.pageX-(scrollX+rect.left);var adjustedY=touch.pageY-(scrollY+rect.top);adjustedX=adjustedX*(cw/rect.width);adjustedY=adjustedY*(ch/rect.height);var coords={x:adjustedX,y:adjustedY};if(event.type==="touchstart"){Browser.lastTouches[touch.identifier]=coords;Browser.touches[touch.identifier]=coords}else if(event.type==="touchend"||event.type==="touchmove"){var last=Browser.touches[touch.identifier];if(!last)last=coords;Browser.lastTouches[touch.identifier]=last;Browser.touches[touch.identifier]=coords}return}var x=event.pageX-(scrollX+rect.left);var y=event.pageY-(scrollY+rect.top);x=x*(cw/rect.width);y=y*(ch/rect.height);Browser.mouseMovementX=x-Browser.mouseX;Browser.mouseMovementY=y-Browser.mouseY;Browser.mouseX=x;Browser.mouseY=y}}),asyncLoad:(function(url,onload,onerror,noRunDep){Module["readAsync"](url,(function(arrayBuffer){assert(arrayBuffer,'Loading data file "'+url+'" failed (no arrayBuffer).');onload(new Uint8Array(arrayBuffer));if(!noRunDep)removeRunDependency("al "+url)}),(function(event){if(onerror){onerror()}else{throw'Loading data file "'+url+'" failed.'}}));if(!noRunDep)addRunDependency("al "+url)}),resizeListeners:[],updateResizeListeners:(function(){var canvas=Module["canvas"];Browser.resizeListeners.forEach((function(listener){listener(canvas.width,canvas.height)}))}),setCanvasSize:(function(width,height,noUpdates){var canvas=Module["canvas"];Browser.updateCanvasDimensions(canvas,width,height);if(!noUpdates)Browser.updateResizeListeners()}),windowedWidth:0,windowedHeight:0,setFullScreenCanvasSize:(function(){if(typeof SDL!="undefined"){var flags=HEAPU32[SDL.screen+Runtime.QUANTUM_SIZE*0>>2];flags=flags|8388608;HEAP32[SDL.screen+Runtime.QUANTUM_SIZE*0>>2]=flags}Browser.updateResizeListeners()}),setWindowedCanvasSize:(function(){if(typeof SDL!="undefined"){var flags=HEAPU32[SDL.screen+Runtime.QUANTUM_SIZE*0>>2];flags=flags&~8388608;HEAP32[SDL.screen+Runtime.QUANTUM_SIZE*0>>2]=flags}Browser.updateResizeListeners()}),updateCanvasDimensions:(function(canvas,wNative,hNative){if(wNative&&hNative){canvas.widthNative=wNative;canvas.heightNative=hNative}else{wNative=canvas.widthNative;hNative=canvas.heightNative}var w=wNative;var h=hNative;if(Module["forcedAspectRatio"]&&Module["forcedAspectRatio"]>0){if(w/h>2]=1}if(config&&config_size>0){HEAP32[config>>2]=62002}EGL.setErrorCode(12288);return 1})};function _eglWaitClient(){EGL.setErrorCode(12288);return 1}function _eglTerminate(display){if(display!=62e3){EGL.setErrorCode(12296);return 0}EGL.currentContext=0;EGL.currentReadSurface=0;EGL.currentDrawSurface=0;EGL.defaultDisplayInitialized=false;EGL.setErrorCode(12288);return 1}Module["_llvm_bswap_i32"]=_llvm_bswap_i32;function _llvm_bswap_i64(l,h){var retl=_llvm_bswap_i32(h)>>>0;var reth=_llvm_bswap_i32(l)>>>0;return(asm["setTempRet0"](reth),retl)|0}function _pthread_mutex_lock(){}function _emscripten_set_mouseleave_callback(target,userData,useCapture,callbackfunc){JSEvents.registerMouseEventCallback(target,userData,useCapture,callbackfunc,34,"mouseleave");return 0}function _emscripten_glStencilFunc(x0,x1,x2){GLctx.stencilFunc(x0,x1,x2)}var __currentFullscreenStrategy={};function _emscripten_exit_fullscreen(){if(typeof JSEvents.fullscreenEnabled()==="undefined")return-1;JSEvents.removeDeferredCalls(JSEvents.requestFullscreen);if(document.exitFullscreen){document.exitFullscreen()}else if(document.msExitFullscreen){document.msExitFullscreen()}else if(document.mozCancelFullScreen){document.mozCancelFullScreen()}else if(document.webkitExitFullscreen){document.webkitExitFullscreen()}else{return-1}if(__currentFullscreenStrategy.canvasResizedCallback){Runtime.dynCall("iiii",__currentFullscreenStrategy.canvasResizedCallback,[37,0,__currentFullscreenStrategy.canvasResizedCallbackUserData])}return 0}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};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"};function ___setErrNo(value){if(Module["___errno_location"])HEAP32[Module["___errno_location"]()>>2]=value;return value}var PATH={splitPath:(function(filename){var splitPathRe=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;return splitPathRe.exec(filename).slice(1)}),normalizeArray:(function(parts,allowAboveRoot){var up=0;for(var i=parts.length-1;i>=0;i--){var last=parts[i];if(last==="."){parts.splice(i,1)}else if(last===".."){parts.splice(i,1);up++}else if(up){parts.splice(i,1);up--}}if(allowAboveRoot){for(;up--;up){parts.unshift("..")}}return parts}),normalize:(function(path){var isAbsolute=path.charAt(0)==="/",trailingSlash=path.substr(-1)==="/";path=PATH.normalizeArray(path.split("/").filter((function(p){return!!p})),!isAbsolute).join("/");if(!path&&!isAbsolute){path="."}if(path&&trailingSlash){path+="/"}return(isAbsolute?"/":"")+path}),dirname:(function(path){var result=PATH.splitPath(path),root=result[0],dir=result[1];if(!root&&!dir){return"."}if(dir){dir=dir.substr(0,dir.length-1)}return root+dir}),basename:(function(path){if(path==="/")return"/";var lastSlash=path.lastIndexOf("/");if(lastSlash===-1)return path;return path.substr(lastSlash+1)}),extname:(function(path){return PATH.splitPath(path)[3]}),join:(function(){var paths=Array.prototype.slice.call(arguments,0);return PATH.normalize(paths.join("/"))}),join2:(function(l,r){return PATH.normalize(l+"/"+r)}),resolve:(function(){var resolvedPath="",resolvedAbsolute=false;for(var i=arguments.length-1;i>=-1&&!resolvedAbsolute;i--){var path=i>=0?arguments[i]:FS.cwd();if(typeof path!=="string"){throw new TypeError("Arguments to path.resolve must be strings")}else if(!path){return""}resolvedPath=path+"/"+resolvedPath;resolvedAbsolute=path.charAt(0)==="/"}resolvedPath=PATH.normalizeArray(resolvedPath.split("/").filter((function(p){return!!p})),!resolvedAbsolute).join("/");return(resolvedAbsolute?"/":"")+resolvedPath||"."}),relative:(function(from,to){from=PATH.resolve(from).substr(1);to=PATH.resolve(to).substr(1);function trim(arr){var start=0;for(;start=0;end--){if(arr[end]!=="")break}if(start>end)return[];return arr.slice(start,end-start+1)}var fromParts=trim(from.split("/"));var toParts=trim(to.split("/"));var length=Math.min(fromParts.length,toParts.length);var samePartsLength=length;for(var i=0;i0){result=buf.slice(0,bytesRead).toString("utf-8")}else{result=null}}else if(typeof window!="undefined"&&typeof window.prompt=="function"){result=window.prompt("Input: ");if(result!==null){result+="\n"}}else if(typeof readline=="function"){result=readline();if(result!==null){result+="\n"}}if(!result){return null}tty.input=intArrayFromString(result,true)}return tty.input.shift()}),put_char:(function(tty,val){if(val===null||val===10){Module["print"](UTF8ArrayToString(tty.output,0));tty.output=[]}else{if(val!=0)tty.output.push(val)}}),flush:(function(tty){if(tty.output&&tty.output.length>0){Module["print"](UTF8ArrayToString(tty.output,0));tty.output=[]}})},default_tty1_ops:{put_char:(function(tty,val){if(val===null||val===10){Module["printErr"](UTF8ArrayToString(tty.output,0));tty.output=[]}else{if(val!=0)tty.output.push(val)}}),flush:(function(tty){if(tty.output&&tty.output.length>0){Module["printErr"](UTF8ArrayToString(tty.output,0));tty.output=[]}})}};var MEMFS={ops_table:null,mount:(function(mount){return MEMFS.createNode(null,"/",16384|511,0)}),createNode:(function(parent,name,mode,dev){if(FS.isBlkdev(mode)||FS.isFIFO(mode)){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}if(!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 node=FS.createNode(parent,name,mode,dev);if(FS.isDir(node.mode)){node.node_ops=MEMFS.ops_table.dir.node;node.stream_ops=MEMFS.ops_table.dir.stream;node.contents={}}else if(FS.isFile(node.mode)){node.node_ops=MEMFS.ops_table.file.node;node.stream_ops=MEMFS.ops_table.file.stream;node.usedBytes=0;node.contents=null}else if(FS.isLink(node.mode)){node.node_ops=MEMFS.ops_table.link.node;node.stream_ops=MEMFS.ops_table.link.stream}else if(FS.isChrdev(node.mode)){node.node_ops=MEMFS.ops_table.chrdev.node;node.stream_ops=MEMFS.ops_table.chrdev.stream}node.timestamp=Date.now();if(parent){parent.contents[name]=node}return node}),getFileDataAsRegularArray:(function(node){if(node.contents&&node.contents.subarray){var arr=[];for(var i=0;inode.contents.length){node.contents=MEMFS.getFileDataAsRegularArray(node);node.usedBytes=node.contents.length}if(!node.contents||node.contents.subarray){var prevCapacity=node.contents?node.contents.buffer.byteLength:0;if(prevCapacity>=newCapacity)return;var CAPACITY_DOUBLING_MAX=1024*1024;newCapacity=Math.max(newCapacity,prevCapacity*(prevCapacity0)node.contents.set(oldContents.subarray(0,node.usedBytes),0);return}if(!node.contents&&newCapacity>0)node.contents=[];while(node.contents.lengthnewSize)node.contents.length=newSize;else while(node.contents.length=stream.node.usedBytes)return 0;var size=Math.min(stream.node.usedBytes-position,length);assert(size>=0);if(size>8&&contents.subarray){buffer.set(contents.subarray(position,position+size),offset)}else{for(var i=0;i0||position+lengthe2.timestamp){create.push(key);total++}}));var remove=[];Object.keys(dst.entries).forEach((function(key){var e=dst.entries[key];var e2=src.entries[key];if(!e2){remove.push(key);total++}}));if(!total){return callback(null)}var completed=0;var db=src.type==="remote"?src.db:dst.db;var transaction=db.transaction([IDBFS.DB_STORE_NAME],"readwrite");var store=transaction.objectStore(IDBFS.DB_STORE_NAME);function done(err){if(err){if(!done.errored){done.errored=true;return callback(err)}return}if(++completed>=total){return callback(null)}}transaction.onerror=(function(e){done(this.error);e.preventDefault()});create.sort().forEach((function(path){if(dst.type==="local"){IDBFS.loadRemoteEntry(store,path,(function(err,entry){if(err)return done(err);IDBFS.storeLocalEntry(path,entry,done)}))}else{IDBFS.loadLocalEntry(path,(function(err,entry){if(err)return done(err);IDBFS.storeRemoteEntry(store,path,entry,done)}))}}));remove.sort().reverse().forEach((function(path){if(dst.type==="local"){IDBFS.removeLocalEntry(path,done)}else{IDBFS.removeRemoteEntry(store,path,done)}}))})};var NODEFS={isWindows:false,staticInit:(function(){NODEFS.isWindows=!!process.platform.match(/^win/)}),mount:(function(mount){assert(ENVIRONMENT_IS_NODE);return NODEFS.createNode(null,"/",NODEFS.getMode(mount.opts.root),0)}),createNode:(function(parent,name,mode,dev){if(!FS.isDir(mode)&&!FS.isFile(mode)&&!FS.isLink(mode)){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}var node=FS.createNode(parent,name,mode);node.node_ops=NODEFS.node_ops;node.stream_ops=NODEFS.stream_ops;return node}),getMode:(function(path){var stat;try{stat=fs.lstatSync(path);if(NODEFS.isWindows){stat.mode=stat.mode|(stat.mode&146)>>1}}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}return stat.mode}),realPath:(function(node){var parts=[];while(node.parent!==node){parts.push(node.name);node=node.parent}parts.push(node.mount.opts.root);parts.reverse();return PATH.join.apply(null,parts)}),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(flags){flags&=~32768;flags&=~524288;if(flags in NODEFS.flagsToPermissionStringMap){return NODEFS.flagsToPermissionStringMap[flags]}else{throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}}),node_ops:{getattr:(function(node){var path=NODEFS.realPath(node);var stat;try{stat=fs.lstatSync(path)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}if(NODEFS.isWindows&&!stat.blksize){stat.blksize=4096}if(NODEFS.isWindows&&!stat.blocks){stat.blocks=(stat.size+stat.blksize-1)/stat.blksize|0}return{dev:stat.dev,ino:stat.ino,mode:stat.mode,nlink:stat.nlink,uid:stat.uid,gid:stat.gid,rdev:stat.rdev,size:stat.size,atime:stat.atime,mtime:stat.mtime,ctime:stat.ctime,blksize:stat.blksize,blocks:stat.blocks}}),setattr:(function(node,attr){var path=NODEFS.realPath(node);try{if(attr.mode!==undefined){fs.chmodSync(path,attr.mode);node.mode=attr.mode}if(attr.timestamp!==undefined){var date=new Date(attr.timestamp);fs.utimesSync(path,date,date)}if(attr.size!==undefined){fs.truncateSync(path,attr.size)}}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}}),lookup:(function(parent,name){var path=PATH.join2(NODEFS.realPath(parent),name);var mode=NODEFS.getMode(path);return NODEFS.createNode(parent,name,mode)}),mknod:(function(parent,name,mode,dev){var node=NODEFS.createNode(parent,name,mode,dev);var path=NODEFS.realPath(node);try{if(FS.isDir(node.mode)){fs.mkdirSync(path,node.mode)}else{fs.writeFileSync(path,"",{mode:node.mode})}}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}return node}),rename:(function(oldNode,newDir,newName){var oldPath=NODEFS.realPath(oldNode);var newPath=PATH.join2(NODEFS.realPath(newDir),newName);try{fs.renameSync(oldPath,newPath)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}}),unlink:(function(parent,name){var path=PATH.join2(NODEFS.realPath(parent),name);try{fs.unlinkSync(path)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}}),rmdir:(function(parent,name){var path=PATH.join2(NODEFS.realPath(parent),name);try{fs.rmdirSync(path)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}}),readdir:(function(node){var path=NODEFS.realPath(node);try{return fs.readdirSync(path)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}}),symlink:(function(parent,newName,oldPath){var newPath=PATH.join2(NODEFS.realPath(parent),newName);try{fs.symlinkSync(oldPath,newPath)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}}),readlink:(function(node){var path=NODEFS.realPath(node);try{path=fs.readlinkSync(path);path=NODEJS_PATH.relative(NODEJS_PATH.resolve(node.mount.opts.root),path);return path}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}})},stream_ops:{open:(function(stream){var path=NODEFS.realPath(stream.node);try{if(FS.isFile(stream.node.mode)){stream.nfd=fs.openSync(path,NODEFS.flagsToPermissionString(stream.flags))}}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}}),close:(function(stream){try{if(FS.isFile(stream.node.mode)&&stream.nfd){fs.closeSync(stream.nfd)}}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}}),read:(function(stream,buffer,offset,length,position){if(length===0)return 0;var nbuffer=new Buffer(length);var res;try{res=fs.readSync(stream.nfd,nbuffer,0,length,position)}catch(e){throw new FS.ErrnoError(ERRNO_CODES[e.code])}if(res>0){for(var i=0;i=stream.node.size)return 0;var chunk=stream.node.contents.slice(position,position+length);var ab=WORKERFS.reader.readAsArrayBuffer(chunk);buffer.set(new Uint8Array(ab),offset);return chunk.size}),write:(function(stream,buffer,offset,length,position){throw new FS.ErrnoError(ERRNO_CODES.EIO)}),llseek:(function(stream,offset,whence){var position=offset;if(whence===1){position+=stream.position}else if(whence===2){if(FS.isFile(stream.node.mode)){position+=stream.node.size}}if(position<0){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}return position})}};STATICTOP+=16;STATICTOP+=16;STATICTOP+=16;var FS={root:null,mounts:[],devices:[null],streams:[],nextInode:1,nameTable:null,currentPath:"/",initialized:false,ignorePermissions:true,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(path,opts){path=PATH.resolve(FS.cwd(),path);opts=opts||{};if(!path)return{path:"",node:null};var defaults={follow_mount:true,recurse_count:0};for(var key in defaults){if(opts[key]===undefined){opts[key]=defaults[key]}}if(opts.recurse_count>8){throw new FS.ErrnoError(ERRNO_CODES.ELOOP)}var parts=PATH.normalizeArray(path.split("/").filter((function(p){return!!p})),false);var current=FS.root;var current_path="/";for(var i=0;i40){throw new FS.ErrnoError(ERRNO_CODES.ELOOP)}}}}return{path:current_path,node:current}}),getPath:(function(node){var path;while(true){if(FS.isRoot(node)){var mount=node.mount.mountpoint;if(!path)return mount;return mount[mount.length-1]!=="/"?mount+"/"+path:mount+path}path=path?node.name+"/"+path:node.name;node=node.parent}}),hashName:(function(parentid,name){var hash=0;for(var i=0;i>>0)%FS.nameTable.length}),hashAddNode:(function(node){var hash=FS.hashName(node.parent.id,node.name);node.name_next=FS.nameTable[hash];FS.nameTable[hash]=node}),hashRemoveNode:(function(node){var hash=FS.hashName(node.parent.id,node.name);if(FS.nameTable[hash]===node){FS.nameTable[hash]=node.name_next}else{var current=FS.nameTable[hash];while(current){if(current.name_next===node){current.name_next=node.name_next;break}current=current.name_next}}}),lookupNode:(function(parent,name){var err=FS.mayLookup(parent);if(err){throw new FS.ErrnoError(err,parent)}var hash=FS.hashName(parent.id,name);for(var node=FS.nameTable[hash];node;node=node.name_next){var nodeName=node.name;if(node.parent.id===parent.id&&nodeName===name){return node}}return FS.lookup(parent,name)}),createNode:(function(parent,name,mode,rdev){if(!FS.FSNode){FS.FSNode=(function(parent,name,mode,rdev){if(!parent){parent=this}this.parent=parent;this.mount=parent.mount;this.mounted=null;this.id=FS.nextInode++;this.name=name;this.mode=mode;this.node_ops={};this.stream_ops={};this.rdev=rdev});FS.FSNode.prototype={};var readMode=292|73;var writeMode=146;Object.defineProperties(FS.FSNode.prototype,{read:{get:(function(){return(this.mode&readMode)===readMode}),set:(function(val){val?this.mode|=readMode:this.mode&=~readMode})},write:{get:(function(){return(this.mode&writeMode)===writeMode}),set:(function(val){val?this.mode|=writeMode:this.mode&=~writeMode})},isFolder:{get:(function(){return FS.isDir(this.mode)})},isDevice:{get:(function(){return FS.isChrdev(this.mode)})}})}var node=new FS.FSNode(parent,name,mode,rdev);FS.hashAddNode(node);return node}),destroyNode:(function(node){FS.hashRemoveNode(node)}),isRoot:(function(node){return node===node.parent}),isMountpoint:(function(node){return!!node.mounted}),isFile:(function(mode){return(mode&61440)===32768}),isDir:(function(mode){return(mode&61440)===16384}),isLink:(function(mode){return(mode&61440)===40960}),isChrdev:(function(mode){return(mode&61440)===8192}),isBlkdev:(function(mode){return(mode&61440)===24576}),isFIFO:(function(mode){return(mode&61440)===4096}),isSocket:(function(mode){return(mode&49152)===49152}),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(str){var flags=FS.flagModes[str];if(typeof flags==="undefined"){throw new Error("Unknown file open mode: "+str)}return flags}),flagsToPermissionString:(function(flag){var perms=["r","w","rw"][flag&3];if(flag&512){perms+="w"}return perms}),nodePermissions:(function(node,perms){if(FS.ignorePermissions){return 0}if(perms.indexOf("r")!==-1&&!(node.mode&292)){return ERRNO_CODES.EACCES}else if(perms.indexOf("w")!==-1&&!(node.mode&146)){return ERRNO_CODES.EACCES}else if(perms.indexOf("x")!==-1&&!(node.mode&73)){return ERRNO_CODES.EACCES}return 0}),mayLookup:(function(dir){var err=FS.nodePermissions(dir,"x");if(err)return err;if(!dir.node_ops.lookup)return ERRNO_CODES.EACCES;return 0}),mayCreate:(function(dir,name){try{var node=FS.lookupNode(dir,name);return ERRNO_CODES.EEXIST}catch(e){}return FS.nodePermissions(dir,"wx")}),mayDelete:(function(dir,name,isdir){var node;try{node=FS.lookupNode(dir,name)}catch(e){return e.errno}var err=FS.nodePermissions(dir,"wx");if(err){return err}if(isdir){if(!FS.isDir(node.mode)){return ERRNO_CODES.ENOTDIR}if(FS.isRoot(node)||FS.getPath(node)===FS.cwd()){return ERRNO_CODES.EBUSY}}else{if(FS.isDir(node.mode)){return ERRNO_CODES.EISDIR}}return 0}),mayOpen:(function(node,flags){if(!node){return ERRNO_CODES.ENOENT}if(FS.isLink(node.mode)){return ERRNO_CODES.ELOOP}else if(FS.isDir(node.mode)){if(FS.flagsToPermissionString(flags)!=="r"||flags&512){return ERRNO_CODES.EISDIR}}return FS.nodePermissions(node,FS.flagsToPermissionString(flags))}),MAX_OPEN_FDS:4096,nextfd:(function(fd_start,fd_end){fd_start=fd_start||0;fd_end=fd_end||FS.MAX_OPEN_FDS;for(var fd=fd_start;fd<=fd_end;fd++){if(!FS.streams[fd]){return fd}}throw new FS.ErrnoError(ERRNO_CODES.EMFILE)}),getStream:(function(fd){return FS.streams[fd]}),createStream:(function(stream,fd_start,fd_end){if(!FS.FSStream){FS.FSStream=(function(){});FS.FSStream.prototype={};Object.defineProperties(FS.FSStream.prototype,{object:{get:(function(){return this.node}),set:(function(val){this.node=val})},isRead:{get:(function(){return(this.flags&2097155)!==1})},isWrite:{get:(function(){return(this.flags&2097155)!==0})},isAppend:{get:(function(){return this.flags&1024})}})}var newStream=new FS.FSStream;for(var p in stream){newStream[p]=stream[p]}stream=newStream;var fd=FS.nextfd(fd_start,fd_end);stream.fd=fd;FS.streams[fd]=stream;return stream}),closeStream:(function(fd){FS.streams[fd]=null}),chrdev_stream_ops:{open:(function(stream){var device=FS.getDevice(stream.node.rdev);stream.stream_ops=device.stream_ops;if(stream.stream_ops.open){stream.stream_ops.open(stream)}}),llseek:(function(){throw new FS.ErrnoError(ERRNO_CODES.ESPIPE)})},major:(function(dev){return dev>>8}),minor:(function(dev){return dev&255}),makedev:(function(ma,mi){return ma<<8|mi}),registerDevice:(function(dev,ops){FS.devices[dev]={stream_ops:ops}}),getDevice:(function(dev){return FS.devices[dev]}),getMounts:(function(mount){var mounts=[];var check=[mount];while(check.length){var m=check.pop();mounts.push(m);check.push.apply(check,m.mounts)}return mounts}),syncfs:(function(populate,callback){if(typeof populate==="function"){callback=populate;populate=false}FS.syncFSRequests++;if(FS.syncFSRequests>1){console.log("warning: "+FS.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work")}var mounts=FS.getMounts(FS.root.mount);var completed=0;function doCallback(err){assert(FS.syncFSRequests>0);FS.syncFSRequests--;return callback(err)}function done(err){if(err){if(!done.errored){done.errored=true;return doCallback(err)}return}if(++completed>=mounts.length){doCallback(null)}}mounts.forEach((function(mount){if(!mount.type.syncfs){return done(null)}mount.type.syncfs(mount,populate,done)}))}),mount:(function(type,opts,mountpoint){var root=mountpoint==="/";var pseudo=!mountpoint;var node;if(root&&FS.root){throw new FS.ErrnoError(ERRNO_CODES.EBUSY)}else if(!root&&!pseudo){var lookup=FS.lookupPath(mountpoint,{follow_mount:false});mountpoint=lookup.path;node=lookup.node;if(FS.isMountpoint(node)){throw new FS.ErrnoError(ERRNO_CODES.EBUSY)}if(!FS.isDir(node.mode)){throw new FS.ErrnoError(ERRNO_CODES.ENOTDIR)}}var mount={type:type,opts:opts,mountpoint:mountpoint,mounts:[]};var mountRoot=type.mount(mount);mountRoot.mount=mount;mount.root=mountRoot;if(root){FS.root=mountRoot}else if(node){node.mounted=mount;if(node.mount){node.mount.mounts.push(mount)}}return mountRoot}),unmount:(function(mountpoint){var lookup=FS.lookupPath(mountpoint,{follow_mount:false});if(!FS.isMountpoint(lookup.node)){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}var node=lookup.node;var mount=node.mounted;var mounts=FS.getMounts(mount);Object.keys(FS.nameTable).forEach((function(hash){var current=FS.nameTable[hash];while(current){var next=current.name_next;if(mounts.indexOf(current.mount)!==-1){FS.destroyNode(current)}current=next}}));node.mounted=null;var idx=node.mount.mounts.indexOf(mount);assert(idx!==-1);node.mount.mounts.splice(idx,1)}),lookup:(function(parent,name){return parent.node_ops.lookup(parent,name)}),mknod:(function(path,mode,dev){var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;var name=PATH.basename(path);if(!name||name==="."||name===".."){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}var err=FS.mayCreate(parent,name);if(err){throw new FS.ErrnoError(err)}if(!parent.node_ops.mknod){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}return parent.node_ops.mknod(parent,name,mode,dev)}),create:(function(path,mode){mode=mode!==undefined?mode:438;mode&=4095;mode|=32768;return FS.mknod(path,mode,0)}),mkdir:(function(path,mode){mode=mode!==undefined?mode:511;mode&=511|512;mode|=16384;return FS.mknod(path,mode,0)}),mkdev:(function(path,mode,dev){if(typeof dev==="undefined"){dev=mode;mode=438}mode|=8192;return FS.mknod(path,mode,dev)}),symlink:(function(oldpath,newpath){if(!PATH.resolve(oldpath)){throw new FS.ErrnoError(ERRNO_CODES.ENOENT)}var lookup=FS.lookupPath(newpath,{parent:true});var parent=lookup.node;if(!parent){throw new FS.ErrnoError(ERRNO_CODES.ENOENT)}var newname=PATH.basename(newpath);var err=FS.mayCreate(parent,newname);if(err){throw new FS.ErrnoError(err)}if(!parent.node_ops.symlink){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}return parent.node_ops.symlink(parent,newname,oldpath)}),rename:(function(old_path,new_path){var old_dirname=PATH.dirname(old_path);var new_dirname=PATH.dirname(new_path);var old_name=PATH.basename(old_path);var new_name=PATH.basename(new_path);var lookup,old_dir,new_dir;try{lookup=FS.lookupPath(old_path,{parent:true});old_dir=lookup.node;lookup=FS.lookupPath(new_path,{parent:true});new_dir=lookup.node}catch(e){throw new FS.ErrnoError(ERRNO_CODES.EBUSY)}if(!old_dir||!new_dir)throw new FS.ErrnoError(ERRNO_CODES.ENOENT);if(old_dir.mount!==new_dir.mount){throw new FS.ErrnoError(ERRNO_CODES.EXDEV)}var old_node=FS.lookupNode(old_dir,old_name);var relative=PATH.relative(old_path,new_dirname);if(relative.charAt(0)!=="."){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}relative=PATH.relative(new_path,old_dirname);if(relative.charAt(0)!=="."){throw new FS.ErrnoError(ERRNO_CODES.ENOTEMPTY)}var new_node;try{new_node=FS.lookupNode(new_dir,new_name)}catch(e){}if(old_node===new_node){return}var isdir=FS.isDir(old_node.mode);var err=FS.mayDelete(old_dir,old_name,isdir);if(err){throw new FS.ErrnoError(err)}err=new_node?FS.mayDelete(new_dir,new_name,isdir):FS.mayCreate(new_dir,new_name);if(err){throw new FS.ErrnoError(err)}if(!old_dir.node_ops.rename){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}if(FS.isMountpoint(old_node)||new_node&&FS.isMountpoint(new_node)){throw new FS.ErrnoError(ERRNO_CODES.EBUSY)}if(new_dir!==old_dir){err=FS.nodePermissions(old_dir,"w");if(err){throw new FS.ErrnoError(err)}}try{if(FS.trackingDelegate["willMovePath"]){FS.trackingDelegate["willMovePath"](old_path,new_path)}}catch(e){console.log("FS.trackingDelegate['willMovePath']('"+old_path+"', '"+new_path+"') threw an exception: "+e.message)}FS.hashRemoveNode(old_node);try{old_dir.node_ops.rename(old_node,new_dir,new_name)}catch(e){throw e}finally{FS.hashAddNode(old_node)}try{if(FS.trackingDelegate["onMovePath"])FS.trackingDelegate["onMovePath"](old_path,new_path)}catch(e){console.log("FS.trackingDelegate['onMovePath']('"+old_path+"', '"+new_path+"') threw an exception: "+e.message)}}),rmdir:(function(path){var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;var name=PATH.basename(path);var node=FS.lookupNode(parent,name);var err=FS.mayDelete(parent,name,true);if(err){throw new FS.ErrnoError(err)}if(!parent.node_ops.rmdir){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}if(FS.isMountpoint(node)){throw new FS.ErrnoError(ERRNO_CODES.EBUSY)}try{if(FS.trackingDelegate["willDeletePath"]){FS.trackingDelegate["willDeletePath"](path)}}catch(e){console.log("FS.trackingDelegate['willDeletePath']('"+path+"') threw an exception: "+e.message)}parent.node_ops.rmdir(parent,name);FS.destroyNode(node);try{if(FS.trackingDelegate["onDeletePath"])FS.trackingDelegate["onDeletePath"](path)}catch(e){console.log("FS.trackingDelegate['onDeletePath']('"+path+"') threw an exception: "+e.message)}}),readdir:(function(path){var lookup=FS.lookupPath(path,{follow:true});var node=lookup.node;if(!node.node_ops.readdir){throw new FS.ErrnoError(ERRNO_CODES.ENOTDIR)}return node.node_ops.readdir(node)}),unlink:(function(path){var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;var name=PATH.basename(path);var node=FS.lookupNode(parent,name);var err=FS.mayDelete(parent,name,false);if(err){if(err===ERRNO_CODES.EISDIR)err=ERRNO_CODES.EPERM;throw new FS.ErrnoError(err)}if(!parent.node_ops.unlink){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}if(FS.isMountpoint(node)){throw new FS.ErrnoError(ERRNO_CODES.EBUSY)}try{if(FS.trackingDelegate["willDeletePath"]){FS.trackingDelegate["willDeletePath"](path)}}catch(e){console.log("FS.trackingDelegate['willDeletePath']('"+path+"') threw an exception: "+e.message)}parent.node_ops.unlink(parent,name);FS.destroyNode(node);try{if(FS.trackingDelegate["onDeletePath"])FS.trackingDelegate["onDeletePath"](path)}catch(e){console.log("FS.trackingDelegate['onDeletePath']('"+path+"') threw an exception: "+e.message)}}),readlink:(function(path){var lookup=FS.lookupPath(path);var link=lookup.node;if(!link){throw new FS.ErrnoError(ERRNO_CODES.ENOENT)}if(!link.node_ops.readlink){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}return PATH.resolve(FS.getPath(link.parent),link.node_ops.readlink(link))}),stat:(function(path,dontFollow){var lookup=FS.lookupPath(path,{follow:!dontFollow});var node=lookup.node;if(!node){throw new FS.ErrnoError(ERRNO_CODES.ENOENT)}if(!node.node_ops.getattr){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}return node.node_ops.getattr(node)}),lstat:(function(path){return FS.stat(path,true)}),chmod:(function(path,mode,dontFollow){var node;if(typeof path==="string"){var lookup=FS.lookupPath(path,{follow:!dontFollow});node=lookup.node}else{node=path}if(!node.node_ops.setattr){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}node.node_ops.setattr(node,{mode:mode&4095|node.mode&~4095,timestamp:Date.now()})}),lchmod:(function(path,mode){FS.chmod(path,mode,true)}),fchmod:(function(fd,mode){var stream=FS.getStream(fd);if(!stream){throw new FS.ErrnoError(ERRNO_CODES.EBADF)}FS.chmod(stream.node,mode)}),chown:(function(path,uid,gid,dontFollow){var node;if(typeof path==="string"){var lookup=FS.lookupPath(path,{follow:!dontFollow});node=lookup.node}else{node=path}if(!node.node_ops.setattr){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}node.node_ops.setattr(node,{timestamp:Date.now()})}),lchown:(function(path,uid,gid){FS.chown(path,uid,gid,true)}),fchown:(function(fd,uid,gid){var stream=FS.getStream(fd);if(!stream){throw new FS.ErrnoError(ERRNO_CODES.EBADF)}FS.chown(stream.node,uid,gid)}),truncate:(function(path,len){if(len<0){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}var node;if(typeof path==="string"){var lookup=FS.lookupPath(path,{follow:true});node=lookup.node}else{node=path}if(!node.node_ops.setattr){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}if(FS.isDir(node.mode)){throw new FS.ErrnoError(ERRNO_CODES.EISDIR)}if(!FS.isFile(node.mode)){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}var err=FS.nodePermissions(node,"w");if(err){throw new FS.ErrnoError(err)}node.node_ops.setattr(node,{size:len,timestamp:Date.now()})}),ftruncate:(function(fd,len){var stream=FS.getStream(fd);if(!stream){throw new FS.ErrnoError(ERRNO_CODES.EBADF)}if((stream.flags&2097155)===0){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}FS.truncate(stream.node,len)}),utime:(function(path,atime,mtime){var lookup=FS.lookupPath(path,{follow:true});var node=lookup.node;node.node_ops.setattr(node,{timestamp:Math.max(atime,mtime)})}),open:(function(path,flags,mode,fd_start,fd_end){if(path===""){throw new FS.ErrnoError(ERRNO_CODES.ENOENT)}flags=typeof flags==="string"?FS.modeStringToFlags(flags):flags;mode=typeof mode==="undefined"?438:mode;if(flags&64){mode=mode&4095|32768}else{mode=0}var node;if(typeof path==="object"){node=path}else{path=PATH.normalize(path);try{var lookup=FS.lookupPath(path,{follow:!(flags&131072)});node=lookup.node}catch(e){}}var created=false;if(flags&64){if(node){if(flags&128){throw new FS.ErrnoError(ERRNO_CODES.EEXIST)}}else{node=FS.mknod(path,mode,0);created=true}}if(!node){throw new FS.ErrnoError(ERRNO_CODES.ENOENT)}if(FS.isChrdev(node.mode)){flags&=~512}if(flags&65536&&!FS.isDir(node.mode)){throw new FS.ErrnoError(ERRNO_CODES.ENOTDIR)}if(!created){var err=FS.mayOpen(node,flags);if(err){throw new FS.ErrnoError(err)}}if(flags&512){FS.truncate(node,0)}flags&=~(128|512);var stream=FS.createStream({node:node,path:FS.getPath(node),flags:flags,seekable:true,position:0,stream_ops:node.stream_ops,ungotten:[],error:false},fd_start,fd_end);if(stream.stream_ops.open){stream.stream_ops.open(stream)}if(Module["logReadFiles"]&&!(flags&1)){if(!FS.readFiles)FS.readFiles={};if(!(path in FS.readFiles)){FS.readFiles[path]=1;Module["printErr"]("read file: "+path)}}try{if(FS.trackingDelegate["onOpenFile"]){var trackingFlags=0;if((flags&2097155)!==1){trackingFlags|=FS.tracking.openFlags.READ}if((flags&2097155)!==0){trackingFlags|=FS.tracking.openFlags.WRITE}FS.trackingDelegate["onOpenFile"](path,trackingFlags)}}catch(e){console.log("FS.trackingDelegate['onOpenFile']('"+path+"', flags) threw an exception: "+e.message)}return stream}),close:(function(stream){if(stream.getdents)stream.getdents=null;try{if(stream.stream_ops.close){stream.stream_ops.close(stream)}}catch(e){throw e}finally{FS.closeStream(stream.fd)}}),llseek:(function(stream,offset,whence){if(!stream.seekable||!stream.stream_ops.llseek){throw new FS.ErrnoError(ERRNO_CODES.ESPIPE)}stream.position=stream.stream_ops.llseek(stream,offset,whence);stream.ungotten=[];return stream.position}),read:(function(stream,buffer,offset,length,position){if(length<0||position<0){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}if((stream.flags&2097155)===1){throw new FS.ErrnoError(ERRNO_CODES.EBADF)}if(FS.isDir(stream.node.mode)){throw new FS.ErrnoError(ERRNO_CODES.EISDIR)}if(!stream.stream_ops.read){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}var seeking=true;if(typeof position==="undefined"){position=stream.position;seeking=false}else if(!stream.seekable){throw new FS.ErrnoError(ERRNO_CODES.ESPIPE)}var bytesRead=stream.stream_ops.read(stream,buffer,offset,length,position);if(!seeking)stream.position+=bytesRead;return bytesRead}),write:(function(stream,buffer,offset,length,position,canOwn){if(length<0||position<0){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}if((stream.flags&2097155)===0){throw new FS.ErrnoError(ERRNO_CODES.EBADF)}if(FS.isDir(stream.node.mode)){throw new FS.ErrnoError(ERRNO_CODES.EISDIR)}if(!stream.stream_ops.write){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}if(stream.flags&1024){FS.llseek(stream,0,2)}var seeking=true;if(typeof position==="undefined"){position=stream.position;seeking=false}else if(!stream.seekable){throw new FS.ErrnoError(ERRNO_CODES.ESPIPE)}var bytesWritten=stream.stream_ops.write(stream,buffer,offset,length,position,canOwn);if(!seeking)stream.position+=bytesWritten;try{if(stream.path&&FS.trackingDelegate["onWriteToFile"])FS.trackingDelegate["onWriteToFile"](stream.path)}catch(e){console.log("FS.trackingDelegate['onWriteToFile']('"+path+"') threw an exception: "+e.message)}return bytesWritten}),allocate:(function(stream,offset,length){if(offset<0||length<=0){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}if((stream.flags&2097155)===0){throw new FS.ErrnoError(ERRNO_CODES.EBADF)}if(!FS.isFile(stream.node.mode)&&!FS.isDir(node.mode)){throw new FS.ErrnoError(ERRNO_CODES.ENODEV)}if(!stream.stream_ops.allocate){throw new FS.ErrnoError(ERRNO_CODES.EOPNOTSUPP)}stream.stream_ops.allocate(stream,offset,length)}),mmap:(function(stream,buffer,offset,length,position,prot,flags){if((stream.flags&2097155)===1){throw new FS.ErrnoError(ERRNO_CODES.EACCES)}if(!stream.stream_ops.mmap){throw new FS.ErrnoError(ERRNO_CODES.ENODEV)}return stream.stream_ops.mmap(stream,buffer,offset,length,position,prot,flags)}),msync:(function(stream,buffer,offset,length,mmapFlags){if(!stream||!stream.stream_ops.msync){return 0}return stream.stream_ops.msync(stream,buffer,offset,length,mmapFlags)}),munmap:(function(stream){return 0}),ioctl:(function(stream,cmd,arg){if(!stream.stream_ops.ioctl){throw new FS.ErrnoError(ERRNO_CODES.ENOTTY)}return stream.stream_ops.ioctl(stream,cmd,arg)}),readFile:(function(path,opts){opts=opts||{};opts.flags=opts.flags||"r";opts.encoding=opts.encoding||"binary";if(opts.encoding!=="utf8"&&opts.encoding!=="binary"){throw new Error('Invalid encoding type "'+opts.encoding+'"')}var ret;var stream=FS.open(path,opts.flags);var stat=FS.stat(path);var length=stat.size;var buf=new Uint8Array(length);FS.read(stream,buf,0,length,0);if(opts.encoding==="utf8"){ret=UTF8ArrayToString(buf,0)}else if(opts.encoding==="binary"){ret=buf}FS.close(stream);return ret}),writeFile:(function(path,data,opts){opts=opts||{};opts.flags=opts.flags||"w";opts.encoding=opts.encoding||"utf8";if(opts.encoding!=="utf8"&&opts.encoding!=="binary"){throw new Error('Invalid encoding type "'+opts.encoding+'"')}var stream=FS.open(path,opts.flags,opts.mode);if(opts.encoding==="utf8"){var buf=new Uint8Array(lengthBytesUTF8(data)+1);var actualNumBytes=stringToUTF8Array(data,buf,0,buf.length);FS.write(stream,buf,0,actualNumBytes,0,opts.canOwn)}else if(opts.encoding==="binary"){FS.write(stream,data,0,data.length,0,opts.canOwn)}FS.close(stream)}),cwd:(function(){return FS.currentPath}),chdir:(function(path){var lookup=FS.lookupPath(path,{follow:true});if(!FS.isDir(lookup.node.mode)){throw new FS.ErrnoError(ERRNO_CODES.ENOTDIR)}var err=FS.nodePermissions(lookup.node,"x");if(err){throw new FS.ErrnoError(err)}FS.currentPath=lookup.path}),createDefaultDirectories:(function(){FS.mkdir("/tmp");FS.mkdir("/home");FS.mkdir("/home/web_user")}),createDefaultDevices:(function(){FS.mkdir("/dev");FS.registerDevice(FS.makedev(1,3),{read:(function(){return 0}),write:(function(stream,buffer,offset,length,pos){return length})});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));var random_device;if(typeof crypto!=="undefined"){var randomBuffer=new Uint8Array(1);random_device=(function(){crypto.getRandomValues(randomBuffer);return randomBuffer[0]})}else if(ENVIRONMENT_IS_NODE){random_device=(function(){return require("crypto").randomBytes(1)[0]})}else{random_device=(function(){return Math.random()*256|0})}FS.createDevice("/dev","random",random_device);FS.createDevice("/dev","urandom",random_device);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 node=FS.createNode("/proc/self","fd",16384|511,73);node.node_ops={lookup:(function(parent,name){var fd=+name;var stream=FS.getStream(fd);if(!stream)throw new FS.ErrnoError(ERRNO_CODES.EBADF);var ret={parent:null,mount:{mountpoint:"fake"},node_ops:{readlink:(function(){return stream.path})}};ret.parent=ret;return ret})};return node})},{},"/proc/self/fd")}),createStandardStreams:(function(){if(Module["stdin"]){FS.createDevice("/dev","stdin",Module["stdin"])}else{FS.symlink("/dev/tty","/dev/stdin")}if(Module["stdout"]){FS.createDevice("/dev","stdout",null,Module["stdout"])}else{FS.symlink("/dev/tty","/dev/stdout")}if(Module["stderr"]){FS.createDevice("/dev","stderr",null,Module["stderr"])}else{FS.symlink("/dev/tty1","/dev/stderr")}var stdin=FS.open("/dev/stdin","r");assert(stdin.fd===0,"invalid handle for stdin ("+stdin.fd+")");var stdout=FS.open("/dev/stdout","w");assert(stdout.fd===1,"invalid handle for stdout ("+stdout.fd+")");var stderr=FS.open("/dev/stderr","w");assert(stderr.fd===2,"invalid handle for stderr ("+stderr.fd+")")}),ensureErrnoError:(function(){if(FS.ErrnoError)return;FS.ErrnoError=function ErrnoError(errno,node){this.node=node;this.setErrno=(function(errno){this.errno=errno;for(var key in ERRNO_CODES){if(ERRNO_CODES[key]===errno){this.code=key;break}}});this.setErrno(errno);this.message=ERRNO_MESSAGES[errno]};FS.ErrnoError.prototype=new Error;FS.ErrnoError.prototype.constructor=FS.ErrnoError;[ERRNO_CODES.ENOENT].forEach((function(code){FS.genericErrors[code]=new FS.ErrnoError(code);FS.genericErrors[code].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(input,output,error){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=true;FS.ensureErrnoError();Module["stdin"]=input||Module["stdin"];Module["stdout"]=output||Module["stdout"];Module["stderr"]=error||Module["stderr"];FS.createStandardStreams()}),quit:(function(){FS.init.initialized=false;var fflush=Module["_fflush"];if(fflush)fflush(0);for(var i=0;ithis.length-1||idx<0){return undefined}var chunkOffset=idx%this.chunkSize;var chunkNum=idx/this.chunkSize|0;return this.getter(chunkNum)[chunkOffset]};LazyUint8Array.prototype.setDataGetter=function LazyUint8Array_setDataGetter(getter){this.getter=getter};LazyUint8Array.prototype.cacheLength=function LazyUint8Array_cacheLength(){var xhr=new XMLHttpRequest;xhr.open("HEAD",url,false);xhr.send(null);if(!(xhr.status>=200&&xhr.status<300||xhr.status===304))throw new Error("Couldn't load "+url+". Status: "+xhr.status);var datalength=Number(xhr.getResponseHeader("Content-length"));var header;var hasByteServing=(header=xhr.getResponseHeader("Accept-Ranges"))&&header==="bytes";var usesGzip=(header=xhr.getResponseHeader("Content-Encoding"))&&header==="gzip";var chunkSize=1024*1024;if(!hasByteServing)chunkSize=datalength;var doXHR=(function(from,to){if(from>to)throw new Error("invalid range ("+from+", "+to+") or no bytes requested!");if(to>datalength-1)throw new Error("only "+datalength+" bytes available! programmer error!");var xhr=new XMLHttpRequest;xhr.open("GET",url,false);if(datalength!==chunkSize)xhr.setRequestHeader("Range","bytes="+from+"-"+to);if(typeof Uint8Array!="undefined")xhr.responseType="arraybuffer";if(xhr.overrideMimeType){xhr.overrideMimeType("text/plain; charset=x-user-defined")}xhr.send(null);if(!(xhr.status>=200&&xhr.status<300||xhr.status===304))throw new Error("Couldn't load "+url+". Status: "+xhr.status);if(xhr.response!==undefined){return new Uint8Array(xhr.response||[])}else{return intArrayFromString(xhr.responseText||"",true)}});var lazyArray=this;lazyArray.setDataGetter((function(chunkNum){var start=chunkNum*chunkSize;var end=(chunkNum+1)*chunkSize-1;end=Math.min(end,datalength-1);if(typeof lazyArray.chunks[chunkNum]==="undefined"){lazyArray.chunks[chunkNum]=doXHR(start,end)}if(typeof lazyArray.chunks[chunkNum]==="undefined")throw new Error("doXHR failed!");return lazyArray.chunks[chunkNum]}));if(usesGzip||!datalength){chunkSize=datalength=1;datalength=this.getter(0).length;chunkSize=datalength;console.log("LazyFiles on gzip forces download of the whole file when length is accessed")}this._length=datalength;this._chunkSize=chunkSize;this.lengthKnown=true};if(typeof XMLHttpRequest!=="undefined"){if(!ENVIRONMENT_IS_WORKER)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var lazyArray=new LazyUint8Array;Object.defineProperties(lazyArray,{length:{get:(function(){if(!this.lengthKnown){this.cacheLength()}return this._length})},chunkSize:{get:(function(){if(!this.lengthKnown){this.cacheLength()}return this._chunkSize})}});var properties={isDevice:false,contents:lazyArray}}else{var properties={isDevice:false,url:url}}var node=FS.createFile(parent,name,properties,canRead,canWrite);if(properties.contents){node.contents=properties.contents}else if(properties.url){node.contents=null;node.url=properties.url}Object.defineProperties(node,{usedBytes:{get:(function(){return this.contents.length})}});var stream_ops={};var keys=Object.keys(node.stream_ops);keys.forEach((function(key){var fn=node.stream_ops[key];stream_ops[key]=function forceLoadLazyFile(){if(!FS.forceLoadFile(node)){throw new FS.ErrnoError(ERRNO_CODES.EIO)}return fn.apply(null,arguments)}}));stream_ops.read=function stream_ops_read(stream,buffer,offset,length,position){if(!FS.forceLoadFile(node)){throw new FS.ErrnoError(ERRNO_CODES.EIO)}var contents=stream.node.contents;if(position>=contents.length)return 0;var size=Math.min(contents.length-position,length);assert(size>=0);if(contents.slice){for(var i=0;i>2]=stat.dev;HEAP32[buf+4>>2]=0;HEAP32[buf+8>>2]=stat.ino;HEAP32[buf+12>>2]=stat.mode;HEAP32[buf+16>>2]=stat.nlink;HEAP32[buf+20>>2]=stat.uid;HEAP32[buf+24>>2]=stat.gid;HEAP32[buf+28>>2]=stat.rdev;HEAP32[buf+32>>2]=0;HEAP32[buf+36>>2]=stat.size;HEAP32[buf+40>>2]=4096;HEAP32[buf+44>>2]=stat.blocks;HEAP32[buf+48>>2]=stat.atime.getTime()/1e3|0;HEAP32[buf+52>>2]=0;HEAP32[buf+56>>2]=stat.mtime.getTime()/1e3|0;HEAP32[buf+60>>2]=0;HEAP32[buf+64>>2]=stat.ctime.getTime()/1e3|0;HEAP32[buf+68>>2]=0;HEAP32[buf+72>>2]=stat.ino;return 0}),doMsync:(function(addr,stream,len,flags){var buffer=new Uint8Array(HEAPU8.subarray(addr,addr+len));FS.msync(stream,buffer,0,len,flags)}),doMkdir:(function(path,mode){path=PATH.normalize(path);if(path[path.length-1]==="/")path=path.substr(0,path.length-1);FS.mkdir(path,mode,0);return 0}),doMknod:(function(path,mode,dev){switch(mode&61440){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-ERRNO_CODES.EINVAL}FS.mknod(path,mode,dev);return 0}),doReadlink:(function(path,buf,bufsize){if(bufsize<=0)return-ERRNO_CODES.EINVAL;var ret=FS.readlink(path);ret=ret.slice(0,Math.max(0,bufsize));writeStringToMemory(ret,buf,true);return ret.length}),doAccess:(function(path,amode){if(amode&~7){return-ERRNO_CODES.EINVAL}var node;var lookup=FS.lookupPath(path,{follow:true});node=lookup.node;var perms="";if(amode&4)perms+="r";if(amode&2)perms+="w";if(amode&1)perms+="x";if(perms&&FS.nodePermissions(node,perms)){return-ERRNO_CODES.EACCES}return 0}),doDup:(function(path,flags,suggestFD){var suggest=FS.getStream(suggestFD);if(suggest)FS.close(suggest);return FS.open(path,flags,0,suggestFD,suggestFD).fd}),doReadv:(function(stream,iov,iovcnt,offset){var ret=0;for(var i=0;i>2];var len=HEAP32[iov+(i*8+4)>>2];var curr=FS.read(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr;if(curr>2];var len=HEAP32[iov+(i*8+4)>>2];var curr=FS.write(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr}return ret}),varargs:0,get:(function(varargs){SYSCALLS.varargs+=4;var ret=HEAP32[SYSCALLS.varargs-4>>2];return ret}),getStr:(function(){var ret=Pointer_stringify(SYSCALLS.get());return ret}),getStreamFromFD:(function(){var stream=FS.getStream(SYSCALLS.get());if(!stream)throw new FS.ErrnoError(ERRNO_CODES.EBADF);return stream}),getSocketFromFD:(function(){var socket=SOCKFS.getSocket(SYSCALLS.get());if(!socket)throw new FS.ErrnoError(ERRNO_CODES.EBADF);return socket}),getSocketAddress:(function(allowNull){var addrp=SYSCALLS.get(),addrlen=SYSCALLS.get();if(allowNull&&addrp===0)return null;var info=__read_sockaddr(addrp,addrlen);if(info.errno)throw new FS.ErrnoError(info.errno);info.addr=DNS.lookup_addr(info.addr)||info.addr;return info}),get64:(function(){var low=SYSCALLS.get(),high=SYSCALLS.get();if(low>=0)assert(high===0);else assert(high===-1);return low}),getZero:(function(){assert(SYSCALLS.get()===0)})};function ___syscall118(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD();return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function _emscripten_glVertexPointer(){throw"Legacy GL function (glVertexPointer) called. If you want legacy GL emulation, you need to compile with -s LEGACY_GL_EMULATION=1 to enable legacy GL emulation."}function _emscripten_glUniform3iv(location,count,value){location=GL.uniforms[location];count*=3;value=HEAP32.subarray(value>>2,value+count*4>>2);GLctx.uniform3iv(location,value)}var _emscripten_GetProcAddress=undefined;Module["_emscripten_GetProcAddress"]=_emscripten_GetProcAddress;function _eglGetProcAddress(name_){return _emscripten_GetProcAddress(name_)}function _emscripten_glShaderSource(shader,count,string,length){var source=GL.getSource(shader,count,string,length);GLctx.shaderSource(GL.shaders[shader],source)}function _pthread_mutex_init(){}var _llvm_pow_f32=Math_pow;var _tzname=STATICTOP;STATICTOP+=16;var _daylight=STATICTOP;STATICTOP+=16;var _timezone=STATICTOP;STATICTOP+=16;function _tzset(){if(_tzset.called)return;_tzset.called=true;HEAP32[_timezone>>2]=-(new Date).getTimezoneOffset()*60;var winter=new Date(2e3,0,1);var summer=new Date(2e3,6,1);HEAP32[_daylight>>2]=Number(winter.getTimezoneOffset()!=summer.getTimezoneOffset());function extractZone(date){var match=date.toTimeString().match(/\(([A-Za-z ]+)\)$/);return match?match[1]:"GMT"}var winterName=extractZone(winter);var summerName=extractZone(summer);var winterNamePtr=allocate(intArrayFromString(winterName),"i8",ALLOC_NORMAL);var summerNamePtr=allocate(intArrayFromString(summerName),"i8",ALLOC_NORMAL);if(summer.getTimezoneOffset()>2]=winterNamePtr;HEAP32[_tzname+4>>2]=summerNamePtr}else{HEAP32[_tzname>>2]=summerNamePtr;HEAP32[_tzname+4>>2]=winterNamePtr}}function _mktime(tmPtr){_tzset();var date=new Date(HEAP32[tmPtr+20>>2]+1900,HEAP32[tmPtr+16>>2],HEAP32[tmPtr+12>>2],HEAP32[tmPtr+8>>2],HEAP32[tmPtr+4>>2],HEAP32[tmPtr>>2],0);var dst=HEAP32[tmPtr+32>>2];var guessedOffset=date.getTimezoneOffset();var start=new Date(date.getFullYear(),0,1);var summerOffset=(new Date(2e3,6,1)).getTimezoneOffset();var winterOffset=start.getTimezoneOffset();var dstOffset=Math.min(winterOffset,summerOffset);if(dst<0){HEAP32[tmPtr+32>>2]=Number(dstOffset==guessedOffset)}else if(dst>0!=(dstOffset==guessedOffset)){var nonDstOffset=Math.max(winterOffset,summerOffset);var trueOffset=dst>0?dstOffset:nonDstOffset;date.setTime(date.getTime()+(trueOffset-guessedOffset)*6e4)}HEAP32[tmPtr+24>>2]=date.getDay();var yday=(date.getTime()-start.getTime())/(1e3*60*60*24)|0;HEAP32[tmPtr+28>>2]=yday;return date.getTime()/1e3|0}function _emscripten_glIsTexture(texture){var texture=GL.textures[texture];if(!texture)return 0;return GLctx.isTexture(texture)}function _emscripten_glTexParameterf(x0,x1,x2){GLctx.texParameterf(x0,x1,x2)}var DLFCN={error:null,errorMsg:null,loadedLibs:{},loadedLibNames:{}};function _dlerror(){if(DLFCN.errorMsg===null){return 0}else{if(DLFCN.error)_free(DLFCN.error);var msgArr=intArrayFromString(DLFCN.errorMsg);DLFCN.error=allocate(msgArr,"i8",ALLOC_NORMAL);DLFCN.errorMsg=null;return DLFCN.error}}var _llvm_sqrt_f64=Math_sqrt;function _eglWaitGL(){return _eglWaitClient.apply(null,arguments)}function ___syscall54(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),op=SYSCALLS.get();switch(op){case 21505:{if(!stream.tty)return-ERRNO_CODES.ENOTTY;return 0};case 21506:{if(!stream.tty)return-ERRNO_CODES.ENOTTY;return 0};case 21519:{if(!stream.tty)return-ERRNO_CODES.ENOTTY;var argp=SYSCALLS.get();HEAP32[argp>>2]=0;return 0};case 21520:{if(!stream.tty)return-ERRNO_CODES.ENOTTY;return-ERRNO_CODES.EINVAL};case 21531:{var argp=SYSCALLS.get();return FS.ioctl(stream,op,argp)};default:abort("bad ioctl syscall "+op)}}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}var ___tm_current=STATICTOP;STATICTOP+=48;var ___tm_timezone=allocate(intArrayFromString("GMT"),"i8",ALLOC_STATIC);function _localtime_r(time,tmPtr){_tzset();var date=new Date(HEAP32[time>>2]*1e3);HEAP32[tmPtr>>2]=date.getSeconds();HEAP32[tmPtr+4>>2]=date.getMinutes();HEAP32[tmPtr+8>>2]=date.getHours();HEAP32[tmPtr+12>>2]=date.getDate();HEAP32[tmPtr+16>>2]=date.getMonth();HEAP32[tmPtr+20>>2]=date.getFullYear()-1900;HEAP32[tmPtr+24>>2]=date.getDay();var start=new Date(date.getFullYear(),0,1);var yday=(date.getTime()-start.getTime())/(1e3*60*60*24)|0;HEAP32[tmPtr+28>>2]=yday;HEAP32[tmPtr+36>>2]=-(date.getTimezoneOffset()*60);var summerOffset=(new Date(2e3,6,1)).getTimezoneOffset();var winterOffset=start.getTimezoneOffset();var dst=date.getTimezoneOffset()==Math.min(winterOffset,summerOffset)|0;HEAP32[tmPtr+32>>2]=dst;var zonePtr=HEAP32[_tzname+(dst?Runtime.QUANTUM_SIZE:0)>>2];HEAP32[tmPtr+40>>2]=zonePtr;return tmPtr}function _localtime(time){return _localtime_r(time,___tm_current)}function _eglSwapBuffers(){if(!EGL.defaultDisplayInitialized){EGL.setErrorCode(12289)}else if(!Module.ctx){EGL.setErrorCode(12290)}else if(Module.ctx.isContextLost()){EGL.setErrorCode(12302)}else{EGL.setErrorCode(12288);return 1}return 0}function _emscripten_glFrustum(){Module["printErr"]("missing function: emscripten_glFrustum");abort(-1)}function _emscripten_glGetTexParameterfv(target,pname,params){if(!params){GL.recordError(1281);return}HEAPF32[params>>2]=GLctx.getTexParameter(target,pname)}function _emscripten_glUniform4i(location,v0,v1,v2,v3){location=GL.uniforms[location];GLctx.uniform4i(location,v0,v1,v2,v3)}function _emscripten_glBindRenderbuffer(target,renderbuffer){GLctx.bindRenderbuffer(target,renderbuffer?GL.renderbuffers[renderbuffer]:null)}function _emscripten_glViewport(x0,x1,x2,x3){GLctx.viewport(x0,x1,x2,x3)}var AL={contexts:[],currentContext:null,alcErr:0,stringCache:{},alcStringCache:{},QUEUE_INTERVAL:25,QUEUE_LOOKAHEAD:100,newSrcId:1,updateSources:function updateSources(context){if(Browser.mainLoop.timingMode==1&&document["visibilityState"]!="visible")return;for(var srcId in context.src){AL.updateSource(context.src[srcId])}},updateSource:function updateSource(src){if(src.state!==4114){return}var currentTime=AL.currentContext.ctx.currentTime;var startTime=src.bufferPosition;for(var i=src.buffersPlayed;i=endTime){src.bufferPosition=endTime;src.buffersPlayed=i+1;if(src.buffersPlayed>=src.queue.length){if(src.loop){AL.setSourceState(src,4114)}else{AL.setSourceState(src,4116)}}}else if(startOffset>2]=1;break;case 4097:HEAP32[data>>2]=1;break;case 4098:if(!device){AL.alcErr=40961;return 0}HEAP32[data>>2]=1;break;case 4099:if(!device){AL.alcErr=40961;return 0}HEAP32[data>>2]=0;break;case 131075:if(!device){AL.currentContext.err=40961;return 0}HEAP32[data>>2]=1;default:AL.alcErr=40963;break}}function _dlclose(handle){if(!DLFCN.loadedLibs[handle]){DLFCN.errorMsg="Tried to dlclose() unopened handle: "+handle;return 1}else{var lib_record=DLFCN.loadedLibs[handle];if(--lib_record.refcount==0){if(lib_record.module.cleanups){lib_record.module.cleanups.forEach((function(cleanup){cleanup()}))}delete DLFCN.loadedLibNames[lib_record.name];delete DLFCN.loadedLibs[handle]}return 0}}function _emscripten_get_gamepad_status(index,gamepadState){if(!navigator.getGamepads&&!navigator.webkitGetGamepads)return-1;var gamepads;if(navigator.getGamepads){gamepads=navigator.getGamepads()}else if(navigator.webkitGetGamepads){gamepads=navigator.webkitGetGamepads()}if(index<0||index>=gamepads.length){return-5}if(!gamepads[index]){return-7}JSEvents.fillGamepadEventData(gamepadState,gamepads[index]);return 0}var _llvm_pow_f64=Math_pow;function _emscripten_glCopyTexImage2D(x0,x1,x2,x3,x4,x5,x6,x7){GLctx.copyTexImage2D(x0,x1,x2,x3,x4,x5,x6,x7)}function _emscripten_glTexParameterfv(target,pname,params){var param=HEAPF32[params>>2];GLctx.texParameterf(target,pname,param)}function _emscripten_glDepthRangef(x0,x1){GLctx.depthRange(x0,x1)}var _llvm_fabs_f32=Math_abs;function _emscripten_glUniform3f(location,v0,v1,v2){location=GL.uniforms[location];GLctx.uniform3f(location,v0,v1,v2)}function _emscripten_glGetObjectParameterivARB(){Module["printErr"]("missing function: emscripten_glGetObjectParameterivARB");abort(-1)}function _emscripten_glBlendFunc(x0,x1){GLctx.blendFunc(x0,x1)}function _emscripten_glUniform3i(location,v0,v1,v2){location=GL.uniforms[location];GLctx.uniform3i(location,v0,v1,v2)}function _emscripten_glStencilOp(x0,x1,x2){GLctx.stencilOp(x0,x1,x2)}function _alcDestroyContext(context){clearInterval(AL.contexts[context-1].interval)}function _emscripten_glBindAttribLocation(program,index,name){name=Pointer_stringify(name);GLctx.bindAttribLocation(GL.programs[program],index,name)}var PROCINFO={ppid:1,pid:42,sid:42,pgid:42};function ___syscall20(which,varargs){SYSCALLS.varargs=varargs;try{return PROCINFO.pid}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function _emscripten_glEnableVertexAttribArray(index){var cb=GL.currentContext.clientBuffers[index];cb.enabled=true;GLctx.enableVertexAttribArray(index)}Module["_memset"]=_memset;function _emscripten_glUniform1i(location,v0){location=GL.uniforms[location];GLctx.uniform1i(location,v0)}function _alDeleteBuffers(count,buffers){if(!AL.currentContext){return}if(count>AL.currentContext.buf.length){AL.currentContext.err=40963;return}for(var i=0;i>2]-1;if(bufferIdx>=AL.currentContext.buf.length||!AL.currentContext.buf[bufferIdx]){AL.currentContext.err=40961;return}var buffer=AL.currentContext.buf[bufferIdx];for(var srcId in AL.currentContext.src){var src=AL.currentContext.src[srcId];if(!src){continue}for(var k=0;k>2]-1;delete AL.currentContext.buf[bufferIdx]}}function _atexit(func,arg){__ATEXIT__.unshift({func:func,arg:arg})}function _emscripten_set_touchcancel_callback(target,userData,useCapture,callbackfunc){JSEvents.registerTouchEventCallback(target,userData,useCapture,callbackfunc,25,"touchcancel");return 0}var GLUT={initTime:null,idleFunc:null,displayFunc:null,keyboardFunc:null,keyboardUpFunc:null,specialFunc:null,specialUpFunc:null,reshapeFunc:null,motionFunc:null,passiveMotionFunc:null,mouseFunc:null,buttons:0,modifiers:0,initWindowWidth:256,initWindowHeight:256,initDisplayMode:18,windowX:0,windowY:0,windowWidth:0,windowHeight:0,requestedAnimationFrame:false,saveModifiers:(function(event){GLUT.modifiers=0;if(event["shiftKey"])GLUT.modifiers+=1;if(event["ctrlKey"])GLUT.modifiers+=2;if(event["altKey"])GLUT.modifiers+=4}),onMousemove:(function(event){var lastX=Browser.mouseX;var lastY=Browser.mouseY;Browser.calculateMouseEvent(event);var newX=Browser.mouseX;var newY=Browser.mouseY;if(newX==lastX&&newY==lastY)return;if(GLUT.buttons==0&&event.target==Module["canvas"]&&GLUT.passiveMotionFunc){event.preventDefault();GLUT.saveModifiers(event);Runtime.dynCall("vii",GLUT.passiveMotionFunc,[lastX,lastY])}else if(GLUT.buttons!=0&&GLUT.motionFunc){event.preventDefault();GLUT.saveModifiers(event);Runtime.dynCall("vii",GLUT.motionFunc,[lastX,lastY])}}),getSpecialKey:(function(keycode){var key=null;switch(keycode){case 8:key=120;break;case 46:key=111;break;case 112:key=1;break;case 113:key=2;break;case 114:key=3;break;case 115:key=4;break;case 116:key=5;break;case 117:key=6;break;case 118:key=7;break;case 119:key=8;break;case 120:key=9;break;case 121:key=10;break;case 122:key=11;break;case 123:key=12;break;case 37:key=100;break;case 38:key=101;break;case 39:key=102;break;case 40:key=103;break;case 33:key=104;break;case 34:key=105;break;case 36:key=106;break;case 35:key=107;break;case 45:key=108;break;case 16:case 5:key=112;break;case 6:key=113;break;case 17:case 3:key=114;break;case 4:key=115;break;case 18:case 2:key=116;break;case 1:key=117;break}return key}),getASCIIKey:(function(event){if(event["ctrlKey"]||event["altKey"]||event["metaKey"])return null;var keycode=event["keyCode"];if(48<=keycode&&keycode<=57)return keycode;if(65<=keycode&&keycode<=90)return event["shiftKey"]?keycode:keycode+32;if(96<=keycode&&keycode<=105)return keycode-48;if(106<=keycode&&keycode<=111)return keycode-106+42;switch(keycode){case 9:case 13:case 27:case 32:case 61:return keycode}var s=event["shiftKey"];switch(keycode){case 186:return s?58:59;case 187:return s?43:61;case 188:return s?60:44;case 189:return s?95:45;case 190:return s?62:46;case 191:return s?63:47;case 219:return s?123:91;case 220:return s?124:47;case 221:return s?125:93;case 222:return s?34:39}return null}),onKeydown:(function(event){if(GLUT.specialFunc||GLUT.keyboardFunc){var key=GLUT.getSpecialKey(event["keyCode"]);if(key!==null){if(GLUT.specialFunc){event.preventDefault();GLUT.saveModifiers(event);Runtime.dynCall("viii",GLUT.specialFunc,[key,Browser.mouseX,Browser.mouseY])}}else{key=GLUT.getASCIIKey(event);if(key!==null&&GLUT.keyboardFunc){event.preventDefault();GLUT.saveModifiers(event);Runtime.dynCall("viii",GLUT.keyboardFunc,[key,Browser.mouseX,Browser.mouseY])}}}}),onKeyup:(function(event){if(GLUT.specialUpFunc||GLUT.keyboardUpFunc){var key=GLUT.getSpecialKey(event["keyCode"]);if(key!==null){if(GLUT.specialUpFunc){event.preventDefault();GLUT.saveModifiers(event);Runtime.dynCall("viii",GLUT.specialUpFunc,[key,Browser.mouseX,Browser.mouseY])}}else{key=GLUT.getASCIIKey(event);if(key!==null&&GLUT.keyboardUpFunc){event.preventDefault();GLUT.saveModifiers(event);Runtime.dynCall("viii",GLUT.keyboardUpFunc,[key,Browser.mouseX,Browser.mouseY])}}}}),onMouseButtonDown:(function(event){Browser.calculateMouseEvent(event);GLUT.buttons|=1<0?Math.max(delta,1):Math.min(delta,-1);var button=3;if(delta<0){button=4}if(GLUT.mouseFunc){event.preventDefault();GLUT.saveModifiers(event);Runtime.dynCall("viiii",GLUT.mouseFunc,[button,0,Browser.mouseX,Browser.mouseY])}}),onFullScreenEventChange:(function(event){var width;var height;if(document["fullScreen"]||document["mozFullScreen"]||document["webkitIsFullScreen"]){width=screen["width"];height=screen["height"]}else{width=GLUT.windowWidth;height=GLUT.windowHeight;document.removeEventListener("fullscreenchange",GLUT.onFullScreenEventChange,true);document.removeEventListener("mozfullscreenchange",GLUT.onFullScreenEventChange,true);document.removeEventListener("webkitfullscreenchange",GLUT.onFullScreenEventChange,true)}Browser.setCanvasSize(width,height);if(GLUT.reshapeFunc){Runtime.dynCall("vii",GLUT.reshapeFunc,[width,height])}_glutPostRedisplay()}),requestFullScreen:(function(){var RFS=Module["canvas"]["requestFullscreen"]||Module["canvas"]["requestFullScreen"]||Module["canvas"]["mozRequestFullScreen"]||Module["canvas"]["webkitRequestFullScreen"]||(function(){});RFS.apply(Module["canvas"],[])}),cancelFullScreen:(function(){var CFS=document["exitFullscreen"]||document["cancelFullScreen"]||document["mozCancelFullScreen"]||document["webkitCancelFullScreen"]||(function(){});CFS.apply(document,[])})};function _glutDestroyWindow(name){Module.ctx=Browser.destroyContext(Module["canvas"],true,true);return 1}function _eglDestroyContext(display,context){if(display!=62e3){EGL.setErrorCode(12296);return 0}if(context!=62004){EGL.setErrorCode(12294);return 0}EGL.setErrorCode(12288);return 1}function ___lock(){}function _emscripten_glBlendFuncSeparate(x0,x1,x2,x3){GLctx.blendFuncSeparate(x0,x1,x2,x3)}function _emscripten_glGetVertexAttribPointerv(index,pname,pointer){if(!pointer){GL.recordError(1281);return}if(GL.currentContext.clientBuffers[index].enabled){Module.printErr("glGetVertexAttribPointer on client-side array: not supported, bad data returned")}HEAP32[pointer>>2]=GLctx.getVertexAttribOffset(index,pname)}function _emscripten_glVertexAttrib3f(x0,x1,x2,x3){GLctx.vertexAttrib3f(x0,x1,x2,x3)}function _clock(){if(_clock.start===undefined)_clock.start=Date.now();return(Date.now()-_clock.start)*(1e6/1e3)|0}function _emscripten_glCopyTexSubImage2D(x0,x1,x2,x3,x4,x5,x6,x7){GLctx.copyTexSubImage2D(x0,x1,x2,x3,x4,x5,x6,x7)}function _emscripten_glNormalPointer(){Module["printErr"]("missing function: emscripten_glNormalPointer");abort(-1)}function _emscripten_glTexParameteri(x0,x1,x2){GLctx.texParameteri(x0,x1,x2)}function _emscripten_get_pointerlock_status(pointerlockStatus){if(pointerlockStatus)JSEvents.fillPointerlockChangeEventData(pointerlockStatus);if(!document.body.requestPointerLock&&!document.body.mozRequestPointerLock&&!document.body.webkitRequestPointerLock&&!document.body.msRequestPointerLock){return-1}return 0}function _alSourcePlay(source){if(!AL.currentContext){return}var src=AL.currentContext.src[source];if(!src){AL.currentContext.err=40961;return}AL.setSourceState(src,4114)}function _eglSwapInterval(display,interval){if(display!=62e3){EGL.setErrorCode(12296);return 0}if(interval==0)_emscripten_set_main_loop_timing(0,0);else _emscripten_set_main_loop_timing(1,interval);EGL.setErrorCode(12288);return 1}function emscriptenWebGLGetVertexAttrib(index,pname,params,type){if(!params){GL.recordError(1281);return}if(GL.currentContext.clientBuffers[index].enabled){Module.printErr("glGetVertexAttrib*v on client-side array: not supported, bad data returned")}var data=GLctx.getVertexAttrib(index,pname);if(typeof data=="number"||typeof data=="boolean"){switch(type){case"Integer":HEAP32[params>>2]=data;break;case"Float":HEAPF32[params>>2]=data;break;case"FloatToInteger":HEAP32[params>>2]=Math.fround(data);break;default:throw"internal emscriptenWebGLGetVertexAttrib() error, bad type: "+type}}else{for(var i=0;i>2]=data[i];break;case"Float":HEAPF32[params+i>>2]=data[i];break;case"FloatToInteger":HEAP32[params+i>>2]=Math.fround(data[i]);break;default:throw"internal emscriptenWebGLGetVertexAttrib() error, bad type: "+type}}}}function _emscripten_glGetVertexAttribfv(index,pname,params){emscriptenWebGLGetVertexAttrib(index,pname,params,"Float")}function _emscripten_set_touchstart_callback(target,userData,useCapture,callbackfunc){JSEvents.registerTouchEventCallback(target,userData,useCapture,callbackfunc,22,"touchstart");return 0}function _emscripten_get_battery_status(batteryState){if(!JSEvents.battery())return-1;JSEvents.fillBatteryEventData(batteryState,JSEvents.battery());return 0}function ___cxa_guard_acquire(variable){if(!HEAP8[variable>>0]){HEAP8[variable>>0]=1;return 1}return 0}function _emscripten_glDrawArraysInstanced(mode,first,count,primcount){GLctx["drawArraysInstanced"](mode,first,count,primcount)}function _emscripten_glDeleteBuffers(n,buffers){for(var i=0;i>2];var buffer=GL.buffers[id];if(!buffer)continue;GLctx.deleteBuffer(buffer);buffer.name=0;GL.buffers[id]=null;if(id==GL.currArrayBuffer)GL.currArrayBuffer=0;if(id==GL.currElementArrayBuffer)GL.currElementArrayBuffer=0}}function _emscripten_glUniformMatrix2fv(location,count,transpose,value){location=GL.uniforms[location];var view;if(count===1){view=GL.miniTempBufferViews[3];for(var i=0;i<4;i++){view[i]=HEAPF32[value+i*4>>2]}}else{view=HEAPF32.subarray(value>>2,value+count*16>>2)}GLctx.uniformMatrix2fv(location,transpose,view)}function _emscripten_glDeleteShader(id){if(!id)return;var shader=GL.shaders[id];if(!shader){GL.recordError(1281);return}GLctx.deleteShader(shader);GL.shaders[id]=null}function ___syscall5(which,varargs){SYSCALLS.varargs=varargs;try{var pathname=SYSCALLS.getStr(),flags=SYSCALLS.get(),mode=SYSCALLS.get();var stream=FS.open(pathname,flags,mode);return stream.fd}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall4(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),buf=SYSCALLS.get(),count=SYSCALLS.get();return FS.write(stream,HEAP8,buf,count)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}var _environ=STATICTOP;STATICTOP+=16;function ___buildEnvironment(env){var MAX_ENV_VALUES=64;var TOTAL_ENV_SIZE=1024;var poolPtr;var envPtr;if(!___buildEnvironment.called){___buildEnvironment.called=true;ENV["USER"]=ENV["LOGNAME"]="web_user";ENV["PATH"]="/";ENV["PWD"]="/";ENV["HOME"]="/home/web_user";ENV["LANG"]="C";ENV["_"]=Module["thisProgram"];poolPtr=allocate(TOTAL_ENV_SIZE,"i8",ALLOC_STATIC);envPtr=allocate(MAX_ENV_VALUES*4,"i8*",ALLOC_STATIC);HEAP32[envPtr>>2]=poolPtr;HEAP32[_environ>>2]=envPtr}else{envPtr=HEAP32[_environ>>2];poolPtr=HEAP32[envPtr>>2]}var strings=[];var totalSize=0;for(var key in env){if(typeof env[key]==="string"){var line=key+"="+env[key];strings.push(line);totalSize+=line.length}}if(totalSize>TOTAL_ENV_SIZE){throw new Error("Environment size exceeded TOTAL_ENV_SIZE!")}var ptrSize=4;for(var i=0;i>2]=poolPtr;poolPtr+=line.length+1}HEAP32[envPtr+strings.length*ptrSize>>2]=0}var ENV={};function _dlopen(filename,flag){abort("To use dlopen, you need to use Emscripten's linking support, see https://github.com/kripken/emscripten/wiki/Linking");filename=filename===0?"__self__":(ENV["LD_LIBRARY_PATH"]||"/")+Pointer_stringify(filename);if(DLFCN.loadedLibNames[filename]){var handle=DLFCN.loadedLibNames[filename];DLFCN.loadedLibs[handle].refcount++;return handle}if(filename==="__self__"){var handle=-1;var lib_module=Module;var cached_functions={}}else{var target=FS.findObject(filename);if(!target||target.isFolder||target.isDevice){DLFCN.errorMsg="Could not find dynamic lib: "+filename;return 0}else{FS.forceLoadFile(target);var lib_data=FS.readFile(filename,{encoding:"utf8"})}try{var lib_module=eval(lib_data)(Runtime.alignFunctionTables(),Module)}catch(e){DLFCN.errorMsg="Could not evaluate dynamic lib: "+filename;return 0}var handle=1;for(var key in DLFCN.loadedLibs){if(DLFCN.loadedLibs.hasOwnProperty(key))handle++}if(flag&256){for(var ident in lib_module){if(lib_module.hasOwnProperty(ident)){Module[ident]=lib_module[ident]}}}var cached_functions={}}DLFCN.loadedLibs[handle]={refcount:1,name:filename,module:lib_module,cached_functions:cached_functions};DLFCN.loadedLibNames[filename]=handle;return handle}function ___syscall6(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD();FS.close(stream);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function _getpwuid(uid){return 0}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_STATIC);Module["_llvm_cttz_i32"]=_llvm_cttz_i32;function _llvm_cttz_i64(l,h){var ret=_llvm_cttz_i32(l);if(ret==32)ret+=_llvm_cttz_i32(h);return(asm["setTempRet0"](0),ret)|0}function _alGetListenerf(pname,value){if(!AL.currentContext){return}switch(pname){case 4106:HEAPF32[value>>2]=AL.currentContext.gain.gain.value;break;default:AL.currentContext.err=40962;break}}function _emscripten_glGetVertexAttribiv(index,pname,params){emscriptenWebGLGetVertexAttrib(index,pname,params,"FloatToInteger")}function _emscripten_glUniformMatrix4fv(location,count,transpose,value){location=GL.uniforms[location];var view;if(count===1){view=GL.miniTempBufferViews[15];for(var i=0;i<16;i++){view[i]=HEAPF32[value+i*4>>2]}}else{view=HEAPF32.subarray(value>>2,value+count*64>>2)}GLctx.uniformMatrix4fv(location,transpose,view)}function _emscripten_glEnableClientState(){Module["printErr"]("missing function: emscripten_glEnableClientState");abort(-1)}function ___syscall265(which,varargs){SYSCALLS.varargs=varargs;try{return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function _emscripten_glGetPointerv(){Module["printErr"]("missing function: emscripten_glGetPointerv");abort(-1)}function _alcCaptureSamples(){Module["printErr"]("missing function: alcCaptureSamples");abort(-1)}function _eglChooseConfig(display,attrib_list,configs,config_size,numConfigs){return EGL.chooseConfig(display,attrib_list,configs,config_size,numConfigs)}function ___syscall146(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),iov=SYSCALLS.get(),iovcnt=SYSCALLS.get();return SYSCALLS.doWritev(stream,iov,iovcnt)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function _alSource3f(source,param,v1,v2,v3){if(!AL.currentContext){return}var src=AL.currentContext.src[source];if(!src){AL.currentContext.err=40961;return}switch(param){case 4100:src.position=[v1,v2,v3];break;case 4101:src.direction=[v1,v2,v3];break;case 4102:src.velocity=[v1,v2,v3];break;default:AL.currentContext.err=40962;break}}function _alSourcefv(source,param,value){_alSource3f(source,param,HEAPF32[value>>2],HEAPF32[value+4>>2],HEAPF32[value+8>>2])}function ___syscall145(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),iov=SYSCALLS.get(),iovcnt=SYSCALLS.get();return SYSCALLS.doReadv(stream,iov,iovcnt)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function _emscripten_glStencilMask(x0){GLctx.stencilMask(x0)}function _emscripten_glStencilFuncSeparate(x0,x1,x2,x3){GLctx.stencilFuncSeparate(x0,x1,x2,x3)}function _eglGetConfigAttrib(display,config,attribute,value){if(display!=62e3){EGL.setErrorCode(12296);return 0}if(config!=62002){EGL.setErrorCode(12293);return 0}if(!value){EGL.setErrorCode(12300);return 0}EGL.setErrorCode(12288);switch(attribute){case 12320:HEAP32[value>>2]=32;return 1;case 12321:HEAP32[value>>2]=8;return 1;case 12322:HEAP32[value>>2]=8;return 1;case 12323:HEAP32[value>>2]=8;return 1;case 12324:HEAP32[value>>2]=8;return 1;case 12325:HEAP32[value>>2]=24;return 1;case 12326:HEAP32[value>>2]=8;return 1;case 12327:HEAP32[value>>2]=12344;return 1;case 12328:HEAP32[value>>2]=62002;return 1;case 12329:HEAP32[value>>2]=0;return 1;case 12330:HEAP32[value>>2]=4096;return 1;case 12331:HEAP32[value>>2]=16777216;return 1;case 12332:HEAP32[value>>2]=4096;return 1;case 12333:HEAP32[value>>2]=0;return 1;case 12334:HEAP32[value>>2]=0;return 1;case 12335:HEAP32[value>>2]=12344;return 1;case 12337:HEAP32[value>>2]=4;return 1;case 12338:HEAP32[value>>2]=1;return 1;case 12339:HEAP32[value>>2]=4;return 1;case 12340:HEAP32[value>>2]=12344;return 1;case 12341:case 12342:case 12343:HEAP32[value>>2]=-1;return 1;case 12345:case 12346:HEAP32[value>>2]=0;return 1;case 12347:case 12348:HEAP32[value>>2]=1;return 1;case 12349:case 12350:HEAP32[value>>2]=0;return 1;case 12351:HEAP32[value>>2]=12430;return 1;case 12352:HEAP32[value>>2]=4;return 1;case 12354:HEAP32[value>>2]=0;return 1;default:EGL.setErrorCode(12292);return 0}}Module["_i64Add"]=_i64Add;function __ZSt18uncaught_exceptionv(){return!!__ZSt18uncaught_exceptionv.uncaught_exception}var EXCEPTIONS={last:0,caught:[],infos:{},deAdjust:(function(adjusted){if(!adjusted||EXCEPTIONS.infos[adjusted])return adjusted;for(var ptr in EXCEPTIONS.infos){var info=EXCEPTIONS.infos[ptr];if(info.adjusted===adjusted){return ptr}}return adjusted}),addRef:(function(ptr){if(!ptr)return;var info=EXCEPTIONS.infos[ptr];info.refcount++}),decRef:(function(ptr){if(!ptr)return;var info=EXCEPTIONS.infos[ptr];assert(info.refcount>0);info.refcount--;if(info.refcount===0){if(info.destructor){Runtime.dynCall("vi",info.destructor,[ptr])}delete EXCEPTIONS.infos[ptr];___cxa_free_exception(ptr)}}),clearRef:(function(ptr){if(!ptr)return;var info=EXCEPTIONS.infos[ptr];info.refcount=0})};function ___resumeException(ptr){if(!EXCEPTIONS.last){EXCEPTIONS.last=ptr}EXCEPTIONS.clearRef(EXCEPTIONS.deAdjust(ptr));throw ptr+" - Exception catching is disabled, this exception cannot be caught. Compile with -s DISABLE_EXCEPTION_CATCHING=0 or DISABLE_EXCEPTION_CATCHING=2 to catch."}function ___cxa_find_matching_catch(){var thrown=EXCEPTIONS.last;if(!thrown){return(asm["setTempRet0"](0),0)|0}var info=EXCEPTIONS.infos[thrown];var throwntype=info.type;if(!throwntype){return(asm["setTempRet0"](0),thrown)|0}var typeArray=Array.prototype.slice.call(arguments);var pointer=Module["___cxa_is_pointer_type"](throwntype);if(!___cxa_find_matching_catch.buffer)___cxa_find_matching_catch.buffer=_malloc(4);HEAP32[___cxa_find_matching_catch.buffer>>2]=thrown;thrown=___cxa_find_matching_catch.buffer;for(var i=0;i>2];info.adjusted=thrown;return(asm["setTempRet0"](typeArray[i]),thrown)|0}}thrown=HEAP32[thrown>>2];return(asm["setTempRet0"](throwntype),thrown)|0}function ___cxa_throw(ptr,type,destructor){EXCEPTIONS.infos[ptr]={ptr:ptr,adjusted:ptr,type:type,destructor:destructor,refcount:0};EXCEPTIONS.last=ptr;if(!("uncaught_exception"in __ZSt18uncaught_exceptionv)){__ZSt18uncaught_exceptionv.uncaught_exception=1}else{__ZSt18uncaught_exceptionv.uncaught_exception++}throw ptr+" - Exception catching is disabled, this exception cannot be caught. Compile with -s DISABLE_EXCEPTION_CATCHING=0 or DISABLE_EXCEPTION_CATCHING=2 to catch."}function _emscripten_set_touchend_callback(target,userData,useCapture,callbackfunc){JSEvents.registerTouchEventCallback(target,userData,useCapture,callbackfunc,23,"touchend");return 0}function __setLetterbox(element,topBottom,leftRight){if(JSEvents.isInternetExplorer()){element.style.marginLeft=element.style.marginRight=leftRight+"px";element.style.marginTop=element.style.marginBottom=topBottom+"px"}else{element.style.paddingLeft=element.style.paddingRight=leftRight+"px";element.style.paddingTop=element.style.paddingBottom=topBottom+"px"}}function _emscripten_do_request_fullscreen(target,strategy){if(typeof JSEvents.fullscreenEnabled()==="undefined")return-1;if(!JSEvents.fullscreenEnabled())return-3;if(!target)target="#canvas";target=JSEvents.findEventTarget(target);if(!target)return-4;if(!target.requestFullscreen&&!target.msRequestFullscreen&&!target.mozRequestFullScreen&&!target.mozRequestFullscreen&&!target.webkitRequestFullscreen){return-3}var canPerformRequests=JSEvents.canPerformEventHandlerRequests();if(!canPerformRequests){if(strategy.deferUntilInEventHandler){JSEvents.deferCall(JSEvents.requestFullscreen,1,[target,strategy]);return 1}else{return-2}}return JSEvents.requestFullscreen(target,strategy)}function __registerRestoreOldStyle(canvas){var oldWidth=canvas.width;var oldHeight=canvas.height;var oldCssWidth=canvas.style.width;var oldCssHeight=canvas.style.height;var oldBackgroundColor=canvas.style.backgroundColor;var oldDocumentBackgroundColor=document.body.style.backgroundColor;var oldPaddingLeft=canvas.style.paddingLeft;var oldPaddingRight=canvas.style.paddingRight;var oldPaddingTop=canvas.style.paddingTop;var oldPaddingBottom=canvas.style.paddingBottom;var oldMarginLeft=canvas.style.marginLeft;var oldMarginRight=canvas.style.marginRight;var oldMarginTop=canvas.style.marginTop;var oldMarginBottom=canvas.style.marginBottom;var oldDocumentBodyMargin=document.body.style.margin;var oldDocumentOverflow=document.documentElement.style.overflow;var oldDocumentScroll=document.body.scroll;var oldImageRendering=canvas.style.imageRendering;function restoreOldStyle(){var fullscreenElement=document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement;if(!fullscreenElement){document.removeEventListener("fullscreenchange",restoreOldStyle);document.removeEventListener("mozfullscreenchange",restoreOldStyle);document.removeEventListener("webkitfullscreenchange",restoreOldStyle);document.removeEventListener("MSFullscreenChange",restoreOldStyle);canvas.width=oldWidth;canvas.height=oldHeight;canvas.style.width=oldCssWidth;canvas.style.height=oldCssHeight;canvas.style.backgroundColor=oldBackgroundColor;if(!oldDocumentBackgroundColor)document.body.style.backgroundColor="white";document.body.style.backgroundColor=oldDocumentBackgroundColor;canvas.style.paddingLeft=oldPaddingLeft;canvas.style.paddingRight=oldPaddingRight;canvas.style.paddingTop=oldPaddingTop;canvas.style.paddingBottom=oldPaddingBottom;canvas.style.marginLeft=oldMarginLeft;canvas.style.marginRight=oldMarginRight;canvas.style.marginTop=oldMarginTop;canvas.style.marginBottom=oldMarginBottom;document.body.style.margin=oldDocumentBodyMargin;document.documentElement.style.overflow=oldDocumentOverflow;document.body.scroll=oldDocumentScroll;canvas.style.imageRendering=oldImageRendering;if(canvas.GLctxObject)canvas.GLctxObject.GLctx.viewport(0,0,oldWidth,oldHeight);if(__currentFullscreenStrategy.canvasResizedCallback){Runtime.dynCall("iiii",__currentFullscreenStrategy.canvasResizedCallback,[37,0,__currentFullscreenStrategy.canvasResizedCallbackUserData])}}}document.addEventListener("fullscreenchange",restoreOldStyle);document.addEventListener("mozfullscreenchange",restoreOldStyle);document.addEventListener("webkitfullscreenchange",restoreOldStyle);document.addEventListener("MSFullscreenChange",restoreOldStyle);return restoreOldStyle}function _emscripten_request_fullscreen_strategy(target,deferUntilInEventHandler,fullscreenStrategy){var strategy={};strategy.scaleMode=HEAP32[fullscreenStrategy>>2];strategy.canvasResolutionScaleMode=HEAP32[fullscreenStrategy+4>>2];strategy.filteringMode=HEAP32[fullscreenStrategy+8>>2];strategy.deferUntilInEventHandler=deferUntilInEventHandler;strategy.canvasResizedCallback=HEAP32[fullscreenStrategy+12>>2];strategy.canvasResizedCallbackUserData=HEAP32[fullscreenStrategy+16>>2];__currentFullscreenStrategy=strategy;return _emscripten_do_request_fullscreen(target,strategy)}function _alSourceStop(source){if(!AL.currentContext){return}var src=AL.currentContext.src[source];if(!src){AL.currentContext.err=40961;return}AL.setSourceState(src,4116)}function _emscripten_glGetProgramiv(program,pname,p){if(!p){GL.recordError(1281);return}if(pname==35716){var log=GLctx.getProgramInfoLog(GL.programs[program]);if(log===null)log="(unknown error)";HEAP32[p>>2]=log.length+1}else if(pname==35719){var ptable=GL.programInfos[program];if(ptable){HEAP32[p>>2]=ptable.maxUniformLength;return}else if(program>2]=ptable.maxAttributeLength;return}else if(program>2]=GLctx.getProgramParameter(GL.programs[program],pname)}}function _emscripten_glFinish(){GLctx.finish()}function ___syscall3(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),buf=SYSCALLS.get(),count=SYSCALLS.get();return FS.read(stream,HEAP8,buf,count)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function _emscripten_glDepthFunc(x0){GLctx.depthFunc(x0)}function _realloc(){throw"bad"}Module["_realloc"]=_realloc;Module["_saveSetjmp"]=_saveSetjmp;function _emscripten_get_num_gamepads(){if(!navigator.getGamepads&&!navigator.webkitGetGamepads)return-1;if(navigator.getGamepads){return navigator.getGamepads().length}else if(navigator.webkitGetGamepads){return navigator.webkitGetGamepads().length}}function _emscripten_glHint(x0,x1){GLctx.hint(x0,x1)}function _emscripten_glReleaseShaderCompiler(){}function _sigaction(signum,act,oldact){return 0}function _emscripten_glUniform4iv(location,count,value){location=GL.uniforms[location];count*=4;value=HEAP32.subarray(value>>2,value+count*4>>2);GLctx.uniform4iv(location,value)}function _glClear(x0){GLctx.clear(x0)}function emscriptenWebGLGetUniform(program,location,params,type){if(!params){GL.recordError(1281);return}var data=GLctx.getUniform(GL.programs[program],GL.uniforms[location]);if(typeof data=="number"||typeof data=="boolean"){switch(type){case"Integer":HEAP32[params>>2]=data;break;case"Float":HEAPF32[params>>2]=data;break;default:throw"internal emscriptenWebGLGetUniform() error, bad type: "+type}}else{for(var i=0;i>2]=data[i];break;case"Float":HEAPF32[params+i>>2]=data[i];break;default:throw"internal emscriptenWebGLGetUniform() error, bad type: "+type}}}}function _emscripten_glGetUniformiv(program,location,params){emscriptenWebGLGetUniform(program,location,params,"Integer")}function _emscripten_set_resize_callback(target,userData,useCapture,callbackfunc){JSEvents.registerUiEventCallback(target,userData,useCapture,callbackfunc,10,"resize");return 0}function _emscripten_glLoadIdentity(){throw"Legacy GL function (glLoadIdentity) called. If you want legacy GL emulation, you need to compile with -s LEGACY_GL_EMULATION=1 to enable legacy GL emulation."}function _getenv(name){if(name===0)return 0;name=Pointer_stringify(name);if(!ENV.hasOwnProperty(name))return 0;if(_getenv.ret)_free(_getenv.ret);_getenv.ret=allocate(intArrayFromString(ENV[name]),"i8",ALLOC_NORMAL);return _getenv.ret}function _emscripten_set_element_css_size(target,width,height){if(!target){target=Module["canvas"]}else{target=JSEvents.findEventTarget(target)}if(!target)return-4;target.style.setProperty("width",width+"px");target.style.setProperty("height",height+"px");return 0}function _alDistanceModel(model){if(model!==0){}}function _emscripten_glAttachShader(program,shader){GLctx.attachShader(GL.programs[program],GL.shaders[shader])}function _alSourceUnqueueBuffers(source,count,buffers){if(!AL.currentContext){return}var src=AL.currentContext.src[source];if(!src){AL.currentContext.err=40961;return}if(count>src.buffersPlayed){AL.currentContext.err=40963;return}for(var i=0;i>2]=j+1;break}}src.buffersPlayed--}AL.updateSource(src)}function _emscripten_glGetRenderbufferParameteriv(target,pname,params){if(!params){GL.recordError(1281);return}HEAP32[params>>2]=GLctx.getRenderbufferParameter(target,pname)}function _alGetSourcef(source,param,value){if(!AL.currentContext){return}var src=AL.currentContext.src[source];if(!src){AL.currentContext.err=40961;return}switch(param){case 4106:HEAPF32[value>>2]=src.gain.gain.value;break;case 4131:HEAPF32[value>>2]=src.maxDistance;break;case 4129:HEAPF32[value>>2]=src.rolloffFactor;break;case 4130:HEAPF32[value>>2]=src.coneOuterGain;break;case 4097:HEAPF32[value>>2]=src.coneInnerAngle;break;case 4098:HEAPF32[value>>2]=src.coneOuterAngle;break;case 4128:HEAPF32[value>>2]=src.refDistance;break;default:AL.currentContext.err=40962;break}}function _emscripten_request_pointerlock(target,deferUntilInEventHandler){if(!target)target="#canvas";target=JSEvents.findEventTarget(target);if(!target)return-4;if(!target.requestPointerLock&&!target.mozRequestPointerLock&&!target.webkitRequestPointerLock&&!target.msRequestPointerLock){return-1}var canPerformRequests=JSEvents.canPerformEventHandlerRequests();if(!canPerformRequests){if(deferUntilInEventHandler){JSEvents.deferCall(JSEvents.requestPointerLock,2,[target]);return 1}else{return-2}}return JSEvents.requestPointerLock(target)}function _gmtime_r(time,tmPtr){var date=new Date(HEAP32[time>>2]*1e3);HEAP32[tmPtr>>2]=date.getUTCSeconds();HEAP32[tmPtr+4>>2]=date.getUTCMinutes();HEAP32[tmPtr+8>>2]=date.getUTCHours();HEAP32[tmPtr+12>>2]=date.getUTCDate();HEAP32[tmPtr+16>>2]=date.getUTCMonth();HEAP32[tmPtr+20>>2]=date.getUTCFullYear()-1900;HEAP32[tmPtr+24>>2]=date.getUTCDay();HEAP32[tmPtr+36>>2]=0;HEAP32[tmPtr+32>>2]=0;var start=Date.UTC(date.getUTCFullYear(),0,1,0,0,0,0);var yday=(date.getTime()-start)/(1e3*60*60*24)|0;HEAP32[tmPtr+28>>2]=yday;HEAP32[tmPtr+40>>2]=___tm_timezone;return tmPtr}function _gmtime(time){return _gmtime_r(time,___tm_current)}function _eglCreateWindowSurface(display,config,win,attrib_list){if(display!=62e3){EGL.setErrorCode(12296);return 0}if(config!=62002){EGL.setErrorCode(12293);return 0}EGL.setErrorCode(12288);return 62006}function _alListenerfv(param,values){if(!AL.currentContext){return}switch(param){case 4100:var x=HEAPF32[values>>2];var y=HEAPF32[values+4>>2];var z=HEAPF32[values+8>>2];AL.currentContext.ctx.listener._position=[x,y,z];AL.currentContext.ctx.listener.setPosition(x,y,z);break;case 4102:var x=HEAPF32[values>>2];var y=HEAPF32[values+4>>2];var z=HEAPF32[values+8>>2];AL.currentContext.ctx.listener._velocity=[x,y,z];AL.currentContext.ctx.listener.setVelocity(x,y,z);break;case 4111:var x=HEAPF32[values>>2];var y=HEAPF32[values+4>>2];var z=HEAPF32[values+8>>2];var x2=HEAPF32[values+12>>2];var y2=HEAPF32[values+16>>2];var z2=HEAPF32[values+20>>2];AL.currentContext.ctx.listener._orientation=[x,y,z,x2,y2,z2];AL.currentContext.ctx.listener.setOrientation(x,y,z,x2,y2,z2);break;default:AL.currentContext.err=40962;break}}function _pthread_cond_broadcast(){return 0}function _alGetSourcei(source,param,value){if(!AL.currentContext){return}var src=AL.currentContext.src[source];if(!src){AL.currentContext.err=40961;return}AL.updateSource(src);switch(param){case 514:HEAP32[value>>2]=src.panner?1:0;break;case 4097:HEAP32[value>>2]=src.coneInnerAngle;break;case 4098:HEAP32[value>>2]=src.coneOuterAngle;break;case 4103:HEAP32[value>>2]=src.loop;break;case 4105:if(!src.queue.length){HEAP32[value>>2]=0}else{var buffer=src.queue[src.buffersPlayed].buffer;for(var i=0;i>2]=i+1;return}}HEAP32[value>>2]=0}break;case 4112:HEAP32[value>>2]=src.state;break;case 4117:HEAP32[value>>2]=src.queue.length;break;case 4118:if(src.loop){HEAP32[value>>2]=0}else{HEAP32[value>>2]=src.buffersPlayed}break;default:AL.currentContext.err=40962;break}}function _gettimeofday(ptr){var now=Date.now();HEAP32[ptr>>2]=now/1e3|0;HEAP32[ptr+4>>2]=now%1e3*1e3|0;return 0}function _emscripten_glClearStencil(x0){GLctx.clearStencil(x0)}function _emscripten_glDetachShader(program,shader){GLctx.detachShader(GL.programs[program],GL.shaders[shader])}function _emscripten_get_device_pixel_ratio(){return window.devicePixelRatio||1}function _emscripten_glDeleteVertexArrays(n,vaos){for(var i=0;i>2];GLctx["deleteVertexArray"](GL.vaos[id]);GL.vaos[id]=null}}function _alGenSources(count,sources){if(!AL.currentContext){return}for(var i=0;i>2]=AL.newSrcId;AL.newSrcId++}}function _alGetFloat(){Module["printErr"]("missing function: alGetFloat");abort(-1)}function _emscripten_get_element_css_size(target,width,height){if(!target){target=Module["canvas"]}else{target=JSEvents.findEventTarget(target)}if(!target)return-4;if(target.getBoundingClientRect){var rect=target.getBoundingClientRect();HEAPF64[width>>3]=rect.right-rect.left;HEAPF64[height>>3]=rect.bottom-rect.top}else{HEAPF64[width>>3]=target.clientWidth;HEAPF64[height>>3]=target.clientHeight}return 0}function _emscripten_glMatrixMode(){throw"Legacy GL function (glMatrixMode) called. If you want legacy GL emulation, you need to compile with -s LEGACY_GL_EMULATION=1 to enable legacy GL emulation."}function _pthread_mutex_destroy(){}function _emscripten_glGetTexParameteriv(target,pname,params){if(!params){GL.recordError(1281);return}HEAP32[params>>2]=GLctx.getTexParameter(target,pname)}function ___syscall122(which,varargs){SYSCALLS.varargs=varargs;try{var buf=SYSCALLS.get();if(!buf)return-ERRNO_CODES.EFAULT;var layout={"sysname":0,"nodename":65,"domainname":325,"machine":260,"version":195,"release":130,"__size__":390};function copyString(element,value){var offset=layout[element];writeAsciiToMemory(value,buf+offset)}copyString("sysname","Emscripten");copyString("nodename","emscripten");copyString("release","1.0");copyString("version","#1");copyString("machine","x86-JS");return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function _alDeleteSources(count,sources){if(!AL.currentContext){return}for(var i=0;i>2];delete AL.currentContext.src[sourceIdx]}}function _emscripten_glGenerateMipmap(x0){GLctx.generateMipmap(x0)}function _emscripten_glSampleCoverage(x0,x1){GLctx.sampleCoverage(x0,x1)}function _emscripten_glCullFace(x0){GLctx.cullFace(x0)}function _emscripten_glUniform4f(location,v0,v1,v2,v3){location=GL.uniforms[location];GLctx.uniform4f(location,v0,v1,v2,v3)}function _emscripten_glUseProgram(program){GLctx.useProgram(program?GL.programs[program]:null)}function _sysconf(name){switch(name){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:{if(typeof navigator==="object")return navigator["hardwareConcurrency"]||1;return 1}}___setErrNo(ERRNO_CODES.EINVAL);return-1}function ___syscall63(which,varargs){SYSCALLS.varargs=varargs;try{var old=SYSCALLS.getStreamFromFD(),suggestFD=SYSCALLS.get();if(old.fd===suggestFD)return suggestFD;return SYSCALLS.doDup(old.path,old.flags,suggestFD)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function _dlsym(handle,symbol){symbol=Pointer_stringify(symbol);if(!DLFCN.loadedLibs[handle]){DLFCN.errorMsg="Tried to dlsym() from an unopened handle: "+handle;return 0}else{var lib=DLFCN.loadedLibs[handle];symbol="_"+symbol;if(lib.cached_functions.hasOwnProperty(symbol)){return lib.cached_functions[symbol]}if(!lib.module.hasOwnProperty(symbol)){DLFCN.errorMsg='Tried to lookup unknown symbol "'+symbol+'" in dynamic lib: '+lib.name;return 0}else{var result=lib.module[symbol];if(typeof result=="function"){result=Runtime.addFunction(result);lib.cached_functions=result}return result}}}function _emscripten_glUniform2fv(location,count,value){location=GL.uniforms[location];var view;if(count===1){view=GL.miniTempBufferViews[1];view[0]=HEAPF32[value>>2];view[1]=HEAPF32[value+4>>2]}else{view=HEAPF32.subarray(value>>2,value+count*8>>2)}GLctx.uniform2fv(location,view)}function __isLeapYear(year){return year%4===0&&(year%100!==0||year%400===0)}function __arraySum(array,index){var sum=0;for(var i=0;i<=index;sum+=array[i++]);return sum}var __MONTH_DAYS_LEAP=[31,29,31,30,31,30,31,31,30,31,30,31];var __MONTH_DAYS_REGULAR=[31,28,31,30,31,30,31,31,30,31,30,31];function __addDays(date,days){var newDate=new Date(date.getTime());while(days>0){var leap=__isLeapYear(newDate.getFullYear());var currentMonth=newDate.getMonth();var daysInCurrentMonth=(leap?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR)[currentMonth];if(days>daysInCurrentMonth-newDate.getDate()){days-=daysInCurrentMonth-newDate.getDate()+1;newDate.setDate(1);if(currentMonth<11){newDate.setMonth(currentMonth+1)}else{newDate.setMonth(0);newDate.setFullYear(newDate.getFullYear()+1)}}else{newDate.setDate(newDate.getDate()+days);return newDate}}return newDate}function _strftime(s,maxsize,format,tm){var tm_zone=HEAP32[tm+40>>2];var date={tm_sec:HEAP32[tm>>2],tm_min:HEAP32[tm+4>>2],tm_hour:HEAP32[tm+8>>2],tm_mday:HEAP32[tm+12>>2],tm_mon:HEAP32[tm+16>>2],tm_year:HEAP32[tm+20>>2],tm_wday:HEAP32[tm+24>>2],tm_yday:HEAP32[tm+28>>2],tm_isdst:HEAP32[tm+32>>2],tm_gmtoff:HEAP32[tm+36>>2],tm_zone:tm_zone?Pointer_stringify(tm_zone):""};var pattern=Pointer_stringify(format);var EXPANSION_RULES_1={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S"};for(var rule in EXPANSION_RULES_1){pattern=pattern.replace(new RegExp(rule,"g"),EXPANSION_RULES_1[rule])}var WEEKDAYS=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];var MONTHS=["January","February","March","April","May","June","July","August","September","October","November","December"];function leadingSomething(value,digits,character){var str=typeof value==="number"?value.toString():value||"";while(str.length0?1:0}var compare;if((compare=sgn(date1.getFullYear()-date2.getFullYear()))===0){if((compare=sgn(date1.getMonth()-date2.getMonth()))===0){compare=sgn(date1.getDate()-date2.getDate())}}return compare}function getFirstWeekStartDate(janFourth){switch(janFourth.getDay()){case 0:return new Date(janFourth.getFullYear()-1,11,29);case 1:return janFourth;case 2:return new Date(janFourth.getFullYear(),0,3);case 3:return new Date(janFourth.getFullYear(),0,2);case 4:return new Date(janFourth.getFullYear(),0,1);case 5:return new Date(janFourth.getFullYear()-1,11,31);case 6:return new Date(janFourth.getFullYear()-1,11,30)}}function getWeekBasedYear(date){var thisDate=__addDays(new Date(date.tm_year+1900,0,1),date.tm_yday);var janFourthThisYear=new Date(thisDate.getFullYear(),0,4);var janFourthNextYear=new Date(thisDate.getFullYear()+1,0,4);var firstWeekStartThisYear=getFirstWeekStartDate(janFourthThisYear);var firstWeekStartNextYear=getFirstWeekStartDate(janFourthNextYear);if(compareByDay(firstWeekStartThisYear,thisDate)<=0){if(compareByDay(firstWeekStartNextYear,thisDate)<=0){return thisDate.getFullYear()+1}else{return thisDate.getFullYear()}}else{return thisDate.getFullYear()-1}}var EXPANSION_RULES_2={"%a":(function(date){return WEEKDAYS[date.tm_wday].substring(0,3)}),"%A":(function(date){return WEEKDAYS[date.tm_wday]}),"%b":(function(date){return MONTHS[date.tm_mon].substring(0,3)}),"%B":(function(date){return MONTHS[date.tm_mon]}),"%C":(function(date){var year=date.tm_year+1900;return leadingNulls(year/100|0,2)}),"%d":(function(date){return leadingNulls(date.tm_mday,2)}),"%e":(function(date){return leadingSomething(date.tm_mday,2," ")}),"%g":(function(date){return getWeekBasedYear(date).toString().substring(2)}),"%G":(function(date){return getWeekBasedYear(date)}),"%H":(function(date){return leadingNulls(date.tm_hour,2)}),"%I":(function(date){var twelveHour=date.tm_hour;if(twelveHour==0)twelveHour=12;else if(twelveHour>12)twelveHour-=12;return leadingNulls(twelveHour,2)}),"%j":(function(date){return leadingNulls(date.tm_mday+__arraySum(__isLeapYear(date.tm_year+1900)?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR,date.tm_mon-1),3)}),"%m":(function(date){return leadingNulls(date.tm_mon+1,2)}),"%M":(function(date){return leadingNulls(date.tm_min,2)}),"%n":(function(){return"\n"}),"%p":(function(date){if(date.tm_hour>=0&&date.tm_hour<12){return"AM"}else{return"PM"}}),"%S":(function(date){return leadingNulls(date.tm_sec,2)}),"%t":(function(){return"\t"}),"%u":(function(date){var day=new Date(date.tm_year+1900,date.tm_mon+1,date.tm_mday,0,0,0,0);return day.getDay()||7}),"%U":(function(date){var janFirst=new Date(date.tm_year+1900,0,1);var firstSunday=janFirst.getDay()===0?janFirst:__addDays(janFirst,7-janFirst.getDay());var endDate=new Date(date.tm_year+1900,date.tm_mon,date.tm_mday);if(compareByDay(firstSunday,endDate)<0){var februaryFirstUntilEndMonth=__arraySum(__isLeapYear(endDate.getFullYear())?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR,endDate.getMonth()-1)-31;var firstSundayUntilEndJanuary=31-firstSunday.getDate();var days=firstSundayUntilEndJanuary+februaryFirstUntilEndMonth+endDate.getDate();return leadingNulls(Math.ceil(days/7),2)}return compareByDay(firstSunday,janFirst)===0?"01":"00"}),"%V":(function(date){var janFourthThisYear=new Date(date.tm_year+1900,0,4);var janFourthNextYear=new Date(date.tm_year+1901,0,4);var firstWeekStartThisYear=getFirstWeekStartDate(janFourthThisYear);var firstWeekStartNextYear=getFirstWeekStartDate(janFourthNextYear);var endDate=__addDays(new Date(date.tm_year+1900,0,1),date.tm_yday);if(compareByDay(endDate,firstWeekStartThisYear)<0){return"53"}if(compareByDay(firstWeekStartNextYear,endDate)<=0){return"01"}var daysDifference;if(firstWeekStartThisYear.getFullYear()=0;off=Math.abs(off)/60;off=off/60*100+off%60;return(ahead?"+":"-")+String("0000"+off).slice(-4)}),"%Z":(function(date){return date.tm_zone}),"%%":(function(){return"%"})};for(var rule in EXPANSION_RULES_2){if(pattern.indexOf(rule)>=0){pattern=pattern.replace(new RegExp(rule,"g"),EXPANSION_RULES_2[rule](date))}}var bytes=intArrayFromString(pattern,false);if(bytes.length>maxsize){return 0}writeArrayToMemory(bytes,s);return bytes.length-1}function _strftime_l(s,maxsize,format,tm){return _strftime(s,maxsize,format,tm)}function _abort(){Module["abort"]()}function _emscripten_glVertexAttribDivisor(index,divisor){GLctx["vertexAttribDivisor"](index,divisor)}function _emscripten_glFramebufferRenderbuffer(target,attachment,renderbuffertarget,renderbuffer){GLctx.framebufferRenderbuffer(target,attachment,renderbuffertarget,GL.renderbuffers[renderbuffer])}function _alSourcePause(source){if(!AL.currentContext){return}var src=AL.currentContext.src[source];if(!src){AL.currentContext.err=40961;return}AL.setSourceState(src,4115)}function _alGenBuffers(count,buffers){if(!AL.currentContext){return}for(var i=0;i>2]=AL.currentContext.buf.length}}function _emscripten_glPolygonOffset(x0,x1){GLctx.polygonOffset(x0,x1)}function _emscripten_glIsBuffer(buffer){var b=GL.buffers[buffer];if(!b)return 0;return GLctx.isBuffer(b)}function _emscripten_glUniform2iv(location,count,value){location=GL.uniforms[location];count*=2;value=HEAP32.subarray(value>>2,value+count*4>>2);GLctx.uniform2iv(location,value)}var PTHREAD_SPECIFIC={};function _pthread_getspecific(key){return PTHREAD_SPECIFIC[key]||0}function _emscripten_glVertexAttrib1fv(index,v){v=HEAPF32.subarray(v>>2,v+4>>2);GLctx.vertexAttrib1fv(index,v)}function _alBufferData(buffer,format,data,size,freq){if(!AL.currentContext){return}if(buffer>AL.currentContext.buf.length){return}var channels,bytes;switch(format){case 4352:bytes=1;channels=1;break;case 4353:bytes=2;channels=1;break;case 4354:bytes=1;channels=2;break;case 4355:bytes=2;channels=2;break;case 65552:bytes=4;channels=1;break;case 65553:bytes=4;channels=2;break;default:return}try{AL.currentContext.buf[buffer-1]=AL.currentContext.ctx.createBuffer(channels,size/(bytes*channels),freq);AL.currentContext.buf[buffer-1].bytesPerSample=bytes}catch(e){AL.currentContext.err=40963;return}var buf=new Array(channels);for(var i=0;i>0]&255;buf[j][i]=-1+val*(2/256);break;case 2:var val=HEAP16[data+2*(i*channels+j)>>1];buf[j][i]=val/32768;break;case 4:buf[j][i]=HEAPF32[data+4*(i*channels+j)>>2];break}}}}function _eglDestroySurface(display,surface){if(display!=62e3){EGL.setErrorCode(12296);return 0}if(surface!=62006){EGL.setErrorCode(12301);return 1}if(EGL.currentReadSurface==surface){EGL.currentReadSurface=0}if(EGL.currentDrawSurface==surface){EGL.currentDrawSurface=0}EGL.setErrorCode(12288);return 1}function _emscripten_glUniform2f(location,v0,v1){location=GL.uniforms[location];GLctx.uniform2f(location,v0,v1)}function ___syscall330(which,varargs){SYSCALLS.varargs=varargs;try{var old=SYSCALLS.getStreamFromFD(),suggestFD=SYSCALLS.get(),flags=SYSCALLS.get();assert(!flags);if(old.fd===suggestFD)return-ERRNO_CODES.EINVAL;return SYSCALLS.doDup(old.path,old.flags,suggestFD)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function _emscripten_glUniform2i(location,v0,v1){location=GL.uniforms[location];GLctx.uniform2i(location,v0,v1)}function _emscripten_glDeleteRenderbuffers(n,renderbuffers){for(var i=0;i>2];var renderbuffer=GL.renderbuffers[id];if(!renderbuffer)continue;GLctx.deleteRenderbuffer(renderbuffer);renderbuffer.name=0;GL.renderbuffers[id]=null}}function ___cxa_pure_virtual(){ABORT=true;throw"Pure virtual function called!"}Module["_testSetjmp"]=_testSetjmp;function _longjmp(env,value){asm["setThrew"](env,value||1);throw"longjmp"}function _emscripten_glDepthMask(x0){GLctx.depthMask(x0)}function _emscripten_set_mousedown_callback(target,userData,useCapture,callbackfunc){JSEvents.registerMouseEventCallback(target,userData,useCapture,callbackfunc,5,"mousedown");return 0}function _emscripten_glDepthRange(x0,x1){GLctx.depthRange(x0,x1)}function _emscripten_set_fullscreenchange_callback(target,userData,useCapture,callbackfunc){if(typeof JSEvents.fullscreenEnabled()==="undefined")return-1;if(!target)target=document;else{target=JSEvents.findEventTarget(target);if(!target)return-4}JSEvents.registerFullscreenChangeEventCallback(target,userData,useCapture,callbackfunc,19,"fullscreenchange");JSEvents.registerFullscreenChangeEventCallback(target,userData,useCapture,callbackfunc,19,"mozfullscreenchange");JSEvents.registerFullscreenChangeEventCallback(target,userData,useCapture,callbackfunc,19,"webkitfullscreenchange");JSEvents.registerFullscreenChangeEventCallback(target,userData,useCapture,callbackfunc,19,"msfullscreenchange");return 0}function ___syscall140(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),offset_high=SYSCALLS.get(),offset_low=SYSCALLS.get(),result=SYSCALLS.get(),whence=SYSCALLS.get();var offset=offset_low;assert(offset_high===0);FS.llseek(stream,offset,whence);HEAP32[result>>2]=stream.position;if(stream.getdents&&offset===0&&whence===0)stream.getdents=null;return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function _emscripten_set_blur_callback(target,userData,useCapture,callbackfunc){JSEvents.registerFocusEventCallback(target,userData,useCapture,callbackfunc,12,"blur");return 0}function _emscripten_glVertexAttrib1f(x0,x1){GLctx.vertexAttrib1f(x0,x1)}function _emscripten_glGetShaderPrecisionFormat(shaderType,precisionType,range,precision){var result=GLctx.getShaderPrecisionFormat(shaderType,precisionType);HEAP32[range>>2]=result.rangeMin;HEAP32[range+4>>2]=result.rangeMax;HEAP32[precision>>2]=result.precision}function _emscripten_glUniform1fv(location,count,value){location=GL.uniforms[location];var view;if(count===1){view=GL.miniTempBufferViews[0];view[0]=HEAPF32[value>>2]}else{view=HEAPF32.subarray(value>>2,value+count*4>>2)}GLctx.uniform1fv(location,view)}var SOCKFS={mount:(function(mount){Module["websocket"]=Module["websocket"]&&"object"===typeof Module["websocket"]?Module["websocket"]:{};Module["websocket"]._callbacks={};Module["websocket"]["on"]=(function(event,callback){if("function"===typeof callback){this._callbacks[event]=callback}return this});Module["websocket"].emit=(function(event,param){if("function"===typeof this._callbacks[event]){this._callbacks[event].call(this,param)}});return FS.createNode(null,"/",16384|511,0)}),createSocket:(function(family,type,protocol){var streaming=type==1;if(protocol){assert(streaming==(protocol==6))}var sock={family:family,type:type,protocol:protocol,server:null,error:null,peers:{},pending:[],recv_queue:[],sock_ops:SOCKFS.websocket_sock_ops};var name=SOCKFS.nextname();var node=FS.createNode(SOCKFS.root,name,49152,0);node.sock=sock;var stream=FS.createStream({path:name,node:node,flags:FS.modeStringToFlags("r+"),seekable:false,stream_ops:SOCKFS.stream_ops});sock.stream=stream;return sock}),getSocket:(function(fd){var stream=FS.getStream(fd);if(!stream||!FS.isSocket(stream.node.mode)){return null}return stream.node.sock}),stream_ops:{poll:(function(stream){var sock=stream.node.sock;return sock.sock_ops.poll(sock)}),ioctl:(function(stream,request,varargs){var sock=stream.node.sock;return sock.sock_ops.ioctl(sock,request,varargs)}),read:(function(stream,buffer,offset,length,position){var sock=stream.node.sock;var msg=sock.sock_ops.recvmsg(sock,length);if(!msg){return 0}buffer.set(msg.buffer,offset);return msg.buffer.length}),write:(function(stream,buffer,offset,length,position){var sock=stream.node.sock;return sock.sock_ops.sendmsg(sock,buffer,offset,length)}),close:(function(stream){var sock=stream.node.sock;sock.sock_ops.close(sock)})},nextname:(function(){if(!SOCKFS.nextname.current){SOCKFS.nextname.current=0}return"socket["+SOCKFS.nextname.current++ +"]"}),websocket_sock_ops:{createPeer:(function(sock,addr,port){var ws;if(typeof addr==="object"){ws=addr;addr=null;port=null}if(ws){if(ws._socket){addr=ws._socket.remoteAddress;port=ws._socket.remotePort}else{var result=/ws[s]?:\/\/([^:]+):(\d+)/.exec(ws.url);if(!result){throw new Error("WebSocket URL must be in the format ws(s)://address:port")}addr=result[1];port=parseInt(result[2],10)}}else{try{var runtimeConfig=Module["websocket"]&&"object"===typeof Module["websocket"];var url="ws:#".replace("#","//");if(runtimeConfig){if("string"===typeof Module["websocket"]["url"]){url=Module["websocket"]["url"]}}if(url==="ws://"||url==="wss://"){var parts=addr.split("/");url=url+parts[0]+":"+port+"/"+parts.slice(1).join("/")}var subProtocols="binary";if(runtimeConfig){if("string"===typeof Module["websocket"]["subprotocol"]){subProtocols=Module["websocket"]["subprotocol"]}}subProtocols=subProtocols.replace(/^ +| +$/g,"").split(/ *, */);var opts=ENVIRONMENT_IS_NODE?{"protocol":subProtocols.toString()}:subProtocols;var WebSocketConstructor;if(ENVIRONMENT_IS_NODE){WebSocketConstructor=require("ws")}else if(ENVIRONMENT_IS_WEB){WebSocketConstructor=window["WebSocket"]}else{WebSocketConstructor=WebSocket}ws=new WebSocketConstructor(url,opts);ws.binaryType="arraybuffer"}catch(e){throw new FS.ErrnoError(ERRNO_CODES.EHOSTUNREACH)}}var peer={addr:addr,port:port,socket:ws,dgram_send_queue:[]};SOCKFS.websocket_sock_ops.addPeer(sock,peer);SOCKFS.websocket_sock_ops.handlePeerEvents(sock,peer);if(sock.type===2&&typeof sock.sport!=="undefined"){peer.dgram_send_queue.push(new Uint8Array([255,255,255,255,"p".charCodeAt(0),"o".charCodeAt(0),"r".charCodeAt(0),"t".charCodeAt(0),(sock.sport&65280)>>8,sock.sport&255]))}return peer}),getPeer:(function(sock,addr,port){return sock.peers[addr+":"+port]}),addPeer:(function(sock,peer){sock.peers[peer.addr+":"+peer.port]=peer}),removePeer:(function(sock,peer){delete sock.peers[peer.addr+":"+peer.port]}),handlePeerEvents:(function(sock,peer){var first=true;var handleOpen=(function(){Module["websocket"].emit("open",sock.stream.fd);try{var queued=peer.dgram_send_queue.shift();while(queued){peer.socket.send(queued);queued=peer.dgram_send_queue.shift()}}catch(e){peer.socket.close()}});function handleMessage(data){assert(typeof data!=="string"&&data.byteLength!==undefined);data=new Uint8Array(data);var wasfirst=first;first=false;if(wasfirst&&data.length===10&&data[0]===255&&data[1]===255&&data[2]===255&&data[3]===255&&data[4]==="p".charCodeAt(0)&&data[5]==="o".charCodeAt(0)&&data[6]==="r".charCodeAt(0)&&data[7]==="t".charCodeAt(0)){var newport=data[8]<<8|data[9];SOCKFS.websocket_sock_ops.removePeer(sock,peer);peer.port=newport;SOCKFS.websocket_sock_ops.addPeer(sock,peer);return}sock.recv_queue.push({addr:peer.addr,port:peer.port,data:data});Module["websocket"].emit("message",sock.stream.fd)}if(ENVIRONMENT_IS_NODE){peer.socket.on("open",handleOpen);peer.socket.on("message",(function(data,flags){if(!flags.binary){return}handleMessage((new Uint8Array(data)).buffer)}));peer.socket.on("close",(function(){Module["websocket"].emit("close",sock.stream.fd)}));peer.socket.on("error",(function(error){sock.error=ERRNO_CODES.ECONNREFUSED;Module["websocket"].emit("error",[sock.stream.fd,sock.error,"ECONNREFUSED: Connection refused"])}))}else{peer.socket.onopen=handleOpen;peer.socket.onclose=(function(){Module["websocket"].emit("close",sock.stream.fd)});peer.socket.onmessage=function peer_socket_onmessage(event){handleMessage(event.data)};peer.socket.onerror=(function(error){sock.error=ERRNO_CODES.ECONNREFUSED;Module["websocket"].emit("error",[sock.stream.fd,sock.error,"ECONNREFUSED: Connection refused"])})}}),poll:(function(sock){if(sock.type===1&&sock.server){return sock.pending.length?64|1:0}var mask=0;var dest=sock.type===1?SOCKFS.websocket_sock_ops.getPeer(sock,sock.daddr,sock.dport):null;if(sock.recv_queue.length||!dest||dest&&dest.socket.readyState===dest.socket.CLOSING||dest&&dest.socket.readyState===dest.socket.CLOSED){mask|=64|1}if(!dest||dest&&dest.socket.readyState===dest.socket.OPEN){mask|=4}if(dest&&dest.socket.readyState===dest.socket.CLOSING||dest&&dest.socket.readyState===dest.socket.CLOSED){mask|=16}return mask}),ioctl:(function(sock,request,arg){switch(request){case 21531:var bytes=0;if(sock.recv_queue.length){bytes=sock.recv_queue[0].data.length}HEAP32[arg>>2]=bytes;return 0;default:return ERRNO_CODES.EINVAL}}),close:(function(sock){if(sock.server){try{sock.server.close()}catch(e){}sock.server=null}var peers=Object.keys(sock.peers);for(var i=0;i>>0}var _htons=undefined;Module["_htons"]=_htons;function __inet_pton6_raw(str){var words;var w,offset,z;var valid6regx=/^((?=.*::)(?!.*::.+::)(::)?([\dA-F]{1,4}:(:|\b)|){5}|([\dA-F]{1,4}:){6})((([\dA-F]{1,4}((?!\3)::|:\b|$))|(?!\2\3)){2}|(((2[0-4]|1\d|[1-9])?\d|25[0-5])\.?\b){4})$/i;var parts=[];if(!valid6regx.test(str)){return null}if(str==="::"){return[0,0,0,0,0,0,0,0]}if(str.indexOf("::")===0){str=str.replace("::","Z:")}else{str=str.replace("::",":Z:")}if(str.indexOf(".")>0){str=str.replace(new RegExp("[.]","g"),":");words=str.split(":");words[words.length-4]=parseInt(words[words.length-4])+parseInt(words[words.length-3])*256;words[words.length-3]=parseInt(words[words.length-2])+parseInt(words[words.length-1])*256;words=words.slice(0,words.length-2)}else{words=str.split(":")}offset=0;z=0;for(w=0;w>8&255)+"."+(addr>>16&255)+"."+(addr>>24&255)}var _ntohs=undefined;Module["_ntohs"]=_ntohs;function __inet_ntop6_raw(ints){var str="";var word=0;var longest=0;var lastzero=0;var zstart=0;var len=0;var i=0;var parts=[ints[0]&65535,ints[0]>>16,ints[1]&65535,ints[1]>>16,ints[2]&65535,ints[2]>>16,ints[3]&65535,ints[3]>>16];var hasipv4=true;var v4part="";for(i=0;i<5;i++){if(parts[i]!==0){hasipv4=false;break}}if(hasipv4){v4part=__inet_ntop4_raw(parts[6]|parts[7]<<16);if(parts[5]===-1){str="::ffff:";str+=v4part;return str}if(parts[5]===0){str="::";if(v4part==="0.0.0.0")v4part="";if(v4part==="0.0.0.1")v4part="1";str+=v4part;return str}}for(word=0;word<8;word++){if(parts[word]===0){if(word-lastzero>1){len=0}lastzero=word;len++}if(len>longest){longest=len;zstart=word-longest+1}}for(word=0;word<8;word++){if(longest>1){if(parts[word]===0&&word>=zstart&&word>1];var port=_ntohs(HEAP16[sa+2>>1]);var addr;switch(family){case 2:if(salen!==16){return{errno:ERRNO_CODES.EINVAL}}addr=HEAP32[sa+4>>2];addr=__inet_ntop4_raw(addr);break;case 10:if(salen!==28){return{errno:ERRNO_CODES.EINVAL}}addr=[HEAP32[sa+8>>2],HEAP32[sa+12>>2],HEAP32[sa+16>>2],HEAP32[sa+20>>2]];addr=__inet_ntop6_raw(addr);break;default:return{errno:ERRNO_CODES.EAFNOSUPPORT}}return{family:family,addr:addr,port:port}}function __write_sockaddr(sa,family,addr,port){switch(family){case 2:addr=__inet_pton4_raw(addr);HEAP16[sa>>1]=family;HEAP32[sa+4>>2]=addr;HEAP16[sa+2>>1]=_htons(port);break;case 10:addr=__inet_pton6_raw(addr);HEAP32[sa>>2]=family;HEAP32[sa+8>>2]=addr[0];HEAP32[sa+12>>2]=addr[1];HEAP32[sa+16>>2]=addr[2];HEAP32[sa+20>>2]=addr[3];HEAP16[sa+2>>1]=_htons(port);HEAP32[sa+4>>2]=0;HEAP32[sa+24>>2]=0;break;default:return{errno:ERRNO_CODES.EAFNOSUPPORT}}return{}}function ___syscall102(which,varargs){SYSCALLS.varargs=varargs;try{var call=SYSCALLS.get(),socketvararg=SYSCALLS.get();SYSCALLS.varargs=socketvararg;switch(call){case 1:{var domain=SYSCALLS.get(),type=SYSCALLS.get(),protocol=SYSCALLS.get();var sock=SOCKFS.createSocket(domain,type,protocol);assert(sock.stream.fd<64);return sock.stream.fd};case 2:{var sock=SYSCALLS.getSocketFromFD(),info=SYSCALLS.getSocketAddress();sock.sock_ops.bind(sock,info.addr,info.port);return 0};case 3:{var sock=SYSCALLS.getSocketFromFD(),info=SYSCALLS.getSocketAddress();sock.sock_ops.connect(sock,info.addr,info.port);return 0};case 4:{var sock=SYSCALLS.getSocketFromFD(),backlog=SYSCALLS.get();sock.sock_ops.listen(sock,backlog);return 0};case 5:{var sock=SYSCALLS.getSocketFromFD(),addr=SYSCALLS.get(),addrlen=SYSCALLS.get();var newsock=sock.sock_ops.accept(sock);if(addr){var res=__write_sockaddr(addr,newsock.family,DNS.lookup_name(newsock.daddr),newsock.dport);assert(!res.errno)}return newsock.stream.fd};case 6:{var sock=SYSCALLS.getSocketFromFD(),addr=SYSCALLS.get(),addrlen=SYSCALLS.get();var res=__write_sockaddr(addr,sock.family,DNS.lookup_name(sock.saddr||"0.0.0.0"),sock.sport);assert(!res.errno);return 0};case 7:{var sock=SYSCALLS.getSocketFromFD(),addr=SYSCALLS.get(),addrlen=SYSCALLS.get();if(!sock.daddr){return-ERRNO_CODES.ENOTCONN}var res=__write_sockaddr(addr,sock.family,DNS.lookup_name(sock.daddr),sock.dport);assert(!res.errno);return 0};case 11:{var sock=SYSCALLS.getSocketFromFD(),message=SYSCALLS.get(),length=SYSCALLS.get(),flags=SYSCALLS.get(),dest=SYSCALLS.getSocketAddress(true);if(!dest){return FS.write(sock.stream,HEAP8,message,length)}else{return sock.sock_ops.sendmsg(sock,HEAP8,message,length,dest.addr,dest.port)}};case 12:{var sock=SYSCALLS.getSocketFromFD(),buf=SYSCALLS.get(),len=SYSCALLS.get(),flags=SYSCALLS.get(),addr=SYSCALLS.get(),addrlen=SYSCALLS.get();var msg=sock.sock_ops.recvmsg(sock,len);if(!msg)return 0;if(addr){var res=__write_sockaddr(addr,sock.family,DNS.lookup_name(msg.addr),msg.port);assert(!res.errno)}HEAPU8.set(msg.buffer,buf);return msg.buffer.byteLength};case 14:{return-ERRNO_CODES.ENOPROTOOPT};case 15:{var sock=SYSCALLS.getSocketFromFD(),level=SYSCALLS.get(),optname=SYSCALLS.get(),optval=SYSCALLS.get(),optlen=SYSCALLS.get();if(level===1){if(optname===4){HEAP32[optval>>2]=sock.error;HEAP32[optlen>>2]=4;sock.error=null;return 0}}return-ERRNO_CODES.ENOPROTOOPT};case 16:{var sock=SYSCALLS.getSocketFromFD(),message=SYSCALLS.get(),flags=SYSCALLS.get();var iov=HEAP32[message+8>>2];var num=HEAP32[message+12>>2];var addr,port;var name=HEAP32[message>>2];var namelen=HEAP32[message+4>>2];if(name){var info=__read_sockaddr(name,namelen);if(info.errno)return-info.errno;port=info.port;addr=DNS.lookup_addr(info.addr)||info.addr}var total=0;for(var i=0;i>2]}var view=new Uint8Array(total);var offset=0;for(var i=0;i>2];var iovlen=HEAP32[iov+(8*i+4)>>2];for(var j=0;j>0]}}return sock.sock_ops.sendmsg(sock,view,0,total,addr,port)};case 17:{var sock=SYSCALLS.getSocketFromFD(),message=SYSCALLS.get(),flags=SYSCALLS.get();var iov=HEAP32[message+8>>2];var num=HEAP32[message+12>>2];var total=0;for(var i=0;i>2]}var msg=sock.sock_ops.recvmsg(sock,total);if(!msg)return 0;var name=HEAP32[message>>2];if(name){var res=__write_sockaddr(name,sock.family,DNS.lookup_name(msg.addr),msg.port);assert(!res.errno)}var bytesRead=0;var bytesRemaining=msg.buffer.byteLength;for(var i=0;bytesRemaining>0&&i>2];var iovlen=HEAP32[iov+(8*i+4)>>2];if(!iovlen){continue}var length=Math.min(iovlen,bytesRemaining);var buf=msg.buffer.subarray(bytesRead,bytesRead+length);HEAPU8.set(buf,iovbase+bytesRead);bytesRead+=length;bytesRemaining-=length}return bytesRead};default:abort("unsupported socketcall syscall "+call)}}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function _emscripten_set_wheel_callback(target,userData,useCapture,callbackfunc){target=JSEvents.findEventTarget(target);if(typeof target.onwheel!=="undefined"){JSEvents.registerWheelEventCallback(target,userData,useCapture,callbackfunc,9,"wheel");return 0}else if(typeof target.onmousewheel!=="undefined"){JSEvents.registerWheelEventCallback(target,userData,useCapture,callbackfunc,9,"mousewheel");return 0}else{return-1}}function _emscripten_set_gamepaddisconnected_callback(userData,useCapture,callbackfunc){if(!navigator.getGamepads&&!navigator.webkitGetGamepads)return-1;JSEvents.registerGamepadEventCallback(window,userData,useCapture,callbackfunc,27,"gamepaddisconnected");return 0}function _emscripten_set_mouseenter_callback(target,userData,useCapture,callbackfunc){JSEvents.registerMouseEventCallback(target,userData,useCapture,callbackfunc,33,"mouseenter");return 0}function _emscripten_glBindProgramARB(){Module["printErr"]("missing function: emscripten_glBindProgramARB");abort(-1)}function _emscripten_glCheckFramebufferStatus(x0){return GLctx.checkFramebufferStatus(x0)}function _emscripten_glDeleteProgram(id){if(!id)return;var program=GL.programs[id];if(!program){GL.recordError(1281);return}GLctx.deleteProgram(program);program.name=0;GL.programs[id]=null;GL.programInfos[id]=null}function _emscripten_glDisable(x0){GLctx.disable(x0)}function _emscripten_glVertexAttrib3fv(index,v){v=HEAPF32.subarray(v>>2,v+12>>2);GLctx.vertexAttrib3fv(index,v)}function _emscripten_glGetActiveAttrib(program,index,bufSize,length,size,type,name){program=GL.programs[program];var info=GLctx.getActiveAttrib(program,index);if(!info)return;var infoname=info.name.slice(0,Math.max(0,bufSize-1));if(bufSize>0&&name){writeStringToMemory(infoname,name);if(length)HEAP32[length>>2]=infoname.length}else{if(length)HEAP32[length>>2]=0}if(size)HEAP32[size>>2]=info.size;if(type)HEAP32[type>>2]=info.type}function _emscripten_glIsFramebuffer(framebuffer){var fb=GL.framebuffers[framebuffer];if(!fb)return 0;return GLctx.isFramebuffer(fb)}function _emscripten_glLineWidth(x0){GLctx.lineWidth(x0)}function _emscripten_glGetString(name_){if(GL.stringCache[name_])return GL.stringCache[name_];var ret;switch(name_){case 7936:case 7937:case 7938:ret=allocate(intArrayFromString(GLctx.getParameter(name_)),"i8",ALLOC_NORMAL);break;case 7939:var exts=GLctx.getSupportedExtensions();var gl_exts=[];for(var i in exts){gl_exts.push(exts[i]);gl_exts.push("GL_"+exts[i])}ret=allocate(intArrayFromString(gl_exts.join(" ")),"i8",ALLOC_NORMAL);break;case 35724:var glslVersion=GLctx.getParameter(GLctx.SHADING_LANGUAGE_VERSION);if(glslVersion.indexOf("WebGL GLSL ES 1.0")!=-1)glslVersion="OpenGL ES GLSL ES 1.00 (WebGL)";ret=allocate(intArrayFromString(glslVersion),"i8",ALLOC_NORMAL);break;default:GL.recordError(1280);return 0}GL.stringCache[name_]=ret;return ret}function ___syscall195(which,varargs){SYSCALLS.varargs=varargs;try{var path=SYSCALLS.getStr(),buf=SYSCALLS.get();return SYSCALLS.doStat(FS.stat,path,buf)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function emscriptenWebGLComputeImageSize(width,height,sizePerPixel,alignment){function roundedToNextMultipleOf(x,y){return Math.floor((x+y-1)/y)*y}var plainRowSize=width*sizePerPixel;var alignedRowSize=roundedToNextMultipleOf(plainRowSize,alignment);return height<=0?0:(height-1)*alignedRowSize+plainRowSize}function emscriptenWebGLGetTexPixelData(type,format,width,height,pixels,internalFormat){var sizePerPixel;var numChannels;switch(format){case 6406:case 6409:case 6402:case 6403:numChannels=1;break;case 6410:case 33319:numChannels=2;break;case 6407:case 35904:numChannels=3;break;case 6408:case 35906:numChannels=4;break;default:GL.recordError(1280);return{pixels:null,internalFormat:0}}switch(type){case 5121:sizePerPixel=numChannels*1;break;case 5123:case 36193:sizePerPixel=numChannels*2;break;case 5125:case 5126:sizePerPixel=numChannels*4;break;case 34042:sizePerPixel=4;break;case 33635:case 32819:case 32820:sizePerPixel=2;break;default:GL.recordError(1280);return{pixels:null,internalFormat:0}}var bytes=emscriptenWebGLComputeImageSize(width,height,sizePerPixel,GL.unpackAlignment);if(type==5121){pixels=HEAPU8.subarray(pixels,pixels+bytes)}else if(type==5126){pixels=HEAPF32.subarray(pixels>>2,pixels+bytes>>2)}else if(type==5125||type==34042){pixels=HEAPU32.subarray(pixels>>2,pixels+bytes>>2)}else{pixels=HEAPU16.subarray(pixels>>1,pixels+bytes>>1)}return{pixels:pixels,internalFormat:internalFormat}}function _emscripten_glTexSubImage2D(target,level,xoffset,yoffset,width,height,format,type,pixels){var pixelData;if(pixels){pixelData=emscriptenWebGLGetTexPixelData(type,format,width,height,pixels,-1).pixels}else{pixelData=null}GLctx.texSubImage2D(target,level,xoffset,yoffset,width,height,format,type,pixelData)}function ___syscall197(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),buf=SYSCALLS.get();return SYSCALLS.doStat(FS.stat,stream.path,buf)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall196(which,varargs){SYSCALLS.varargs=varargs;try{var path=SYSCALLS.getStr(),buf=SYSCALLS.get();return SYSCALLS.doStat(FS.lstat,path,buf)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall202(which,varargs){SYSCALLS.varargs=varargs;try{return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall199(){return ___syscall202.apply(null,arguments)}function _emscripten_glRotatef(){Module["printErr"]("missing function: emscripten_glRotatef");abort(-1)}function _emscripten_glVertexAttrib2f(x0,x1,x2){GLctx.vertexAttrib2f(x0,x1,x2)}function emscriptenWebGLGet(name_,p,type){if(!p){GL.recordError(1281);return}var ret=undefined;switch(name_){case 36346:ret=1;break;case 36344:if(type!=="Integer"&&type!=="Integer64"){GL.recordError(1280)}return;case 36345:ret=0;break;case 34466:var formats=GLctx.getParameter(34467);ret=formats.length;break;case 35738:ret=5121;break;case 35739:ret=6408;break}if(ret===undefined){var result=GLctx.getParameter(name_);switch(typeof result){case"number":ret=result;break;case"boolean":ret=result?1:0;break;case"string":GL.recordError(1280);return;case"object":if(result===null){switch(name_){case 34964:case 35725:case 34965:case 36006:case 36007:case 32873:case 34068:{ret=0;break};default:{GL.recordError(1280);return}}}else if(result instanceof Float32Array||result instanceof Uint32Array||result instanceof Int32Array||result instanceof Array){for(var i=0;i>2]=result[i];break;case"Float":HEAPF32[p+i*4>>2]=result[i];break;case"Boolean":HEAP8[p+i>>0]=result[i]?1:0;break;default:throw"internal glGet error, bad type: "+type}}return}else if(result instanceof WebGLBuffer||result instanceof WebGLProgram||result instanceof WebGLFramebuffer||result instanceof WebGLRenderbuffer||result instanceof WebGLTexture){ret=result.name|0}else{GL.recordError(1280);return}break;default:GL.recordError(1280);return}}switch(type){case"Integer64":tempI64=[ret>>>0,(tempDouble=ret,+Math_abs(tempDouble)>=+1?tempDouble>+0?(Math_min(+Math_floor(tempDouble/+4294967296),+4294967295)|0)>>>0:~~+Math_ceil((tempDouble- +(~~tempDouble>>>0))/+4294967296)>>>0:0)],HEAP32[p>>2]=tempI64[0],HEAP32[p+4>>2]=tempI64[1];break;case"Integer":HEAP32[p>>2]=ret;break;case"Float":HEAPF32[p>>2]=ret;break;case"Boolean":HEAP8[p>>0]=ret?1:0;break;default:throw"internal glGet error, bad type: "+type}}function _emscripten_glGetIntegerv(name_,p){emscriptenWebGLGet(name_,p,"Integer")}function _llvm_ctpop_i32(x){var ret=0;while(x){if(x&1)ret++;x>>>=1}return ret}function _emscripten_glGetFramebufferAttachmentParameteriv(target,attachment,pname,params){var result=GLctx.getFramebufferAttachmentParameter(target,attachment,pname);HEAP32[params>>2]=result}function _emscripten_glClientActiveTexture(){Module["printErr"]("missing function: emscripten_glClientActiveTexture");abort(-1)}function _emscripten_set_focus_callback(target,userData,useCapture,callbackfunc){JSEvents.registerFocusEventCallback(target,userData,useCapture,callbackfunc,13,"focus");return 0}function _emscripten_memcpy_big(dest,src,num){HEAPU8.set(HEAPU8.subarray(src,src+num),dest);return dest}Module["_memcpy"]=_memcpy;function _emscripten_glGetShaderInfoLog(shader,maxLength,length,infoLog){var log=GLctx.getShaderInfoLog(GL.shaders[shader]);if(log===null)log="(unknown error)";log=log.substr(0,maxLength-1);if(maxLength>0&&infoLog){writeStringToMemory(log,infoLog);if(length)HEAP32[length>>2]=log.length}else{if(length)HEAP32[length>>2]=0}}function _emscripten_set_mouseup_callback(target,userData,useCapture,callbackfunc){JSEvents.registerMouseEventCallback(target,userData,useCapture,callbackfunc,6,"mouseup");return 0}function _emscripten_glStencilOpSeparate(x0,x1,x2,x3){GLctx.stencilOpSeparate(x0,x1,x2,x3)}function _glutInitDisplayMode(mode){GLUT.initDisplayMode=mode}function _glutCreateWindow(name){var contextAttributes={antialias:(GLUT.initDisplayMode&128)!=0,depth:(GLUT.initDisplayMode&16)!=0,stencil:(GLUT.initDisplayMode&32)!=0};Module.ctx=Browser.createContext(Module["canvas"],true,true,contextAttributes);return Module.ctx?1:0}function _eglCreateContext(display,config,hmm,contextAttribs){if(display!=62e3){EGL.setErrorCode(12296);return 0}var glesContextVersion=1;for(;;){var param=HEAP32[contextAttribs>>2];if(param==12440){glesContextVersion=HEAP32[contextAttribs+4>>2]}else if(param==12344){break}else{EGL.setErrorCode(12292);return 0}contextAttribs+=8}if(glesContextVersion!=2){EGL.setErrorCode(12293);return 0}_glutInitDisplayMode(178);EGL.windowID=_glutCreateWindow();if(EGL.windowID!=0){EGL.setErrorCode(12288);return 62004}else{EGL.setErrorCode(12297);return 0}}function _emscripten_glReadPixels(x,y,width,height,format,type,pixels){var data=emscriptenWebGLGetTexPixelData(type,format,width,height,pixels,format);if(!data.pixels){GL.recordError(1280);return}GLctx.readPixels(x,y,width,height,format,type,data.pixels)}function _emscripten_glCompressedTexSubImage2D(target,level,xoffset,yoffset,width,height,format,imageSize,data){var heapView;if(data){heapView=HEAPU8.subarray(data,data+imageSize)}else{heapView=null}GLctx["compressedTexSubImage2D"](target,level,xoffset,yoffset,width,height,format,heapView)}function _emscripten_glGetError(){if(GL.lastError){var error=GL.lastError;GL.lastError=0;return error}else{return GLctx.getError()}}function _eglBindAPI(api){if(api==12448){EGL.setErrorCode(12288);return 1}else{EGL.setErrorCode(12300);return 0}}function ___syscall39(which,varargs){SYSCALLS.varargs=varargs;try{var path=SYSCALLS.getStr(),mode=SYSCALLS.get();return SYSCALLS.doMkdir(path,mode)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall38(which,varargs){SYSCALLS.varargs=varargs;try{var old_path=SYSCALLS.getStr(),new_path=SYSCALLS.getStr();FS.rename(old_path,new_path);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall33(which,varargs){SYSCALLS.varargs=varargs;try{var path=SYSCALLS.getStr(),amode=SYSCALLS.get();return SYSCALLS.doAccess(path,amode)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function _pthread_cleanup_push(routine,arg){__ATEXIT__.push((function(){Runtime.dynCall("vi",routine,[arg])}));_pthread_cleanup_push.level=__ATEXIT__.length}function _emscripten_glFramebufferTexture2D(target,attachment,textarget,texture,level){GLctx.framebufferTexture2D(target,attachment,textarget,GL.textures[texture],level)}function _alSourcei(source,param,value){if(!AL.currentContext){return}var src=AL.currentContext.src[source];if(!src){AL.currentContext.err=40961;return}switch(param){case 4097:src.coneInnerAngle=value;break;case 4098:src.coneOuterAngle=value;break;case 4103:src.loop=value===1;break;case 4105:var buffer=AL.currentContext.buf[value-1];if(value==0){src.queue=[]}else{src.queue=[{buffer:buffer}]}AL.updateSource(src);break;case 514:if(value===0){if(src.panner){src.panner=null;src.gain.disconnect();src.gain.connect(AL.currentContext.gain)}}else if(value===1){if(!src.panner){var panner=src.panner=AL.currentContext.ctx.createPanner();panner.panningModel="equalpower";panner.distanceModel="linear";panner.refDistance=src.refDistance;panner.maxDistance=src.maxDistance;panner.rolloffFactor=src.rolloffFactor;panner.setPosition(src.position[0],src.position[1],src.position[2]);panner.setVelocity(src.velocity[0],src.velocity[1],src.velocity[2]);panner.connect(AL.currentContext.gain);src.gain.disconnect();src.gain.connect(panner)}}else{AL.currentContext.err=40963}break;default:AL.currentContext.err=40962;break}}function _emscripten_glIsEnabled(x0){return GLctx.isEnabled(x0)}function _alSourceQueueBuffers(source,count,buffers){if(!AL.currentContext){return}var src=AL.currentContext.src[source];if(!src){AL.currentContext.err=40961;return}for(var i=0;i>2];if(bufferIdx>AL.currentContext.buf.length){AL.currentContext.err=40961;return}}for(var i=0;i>2];var buffer=AL.currentContext.buf[bufferIdx-1];src.queue.push({buffer:buffer,src:null})}AL.updateSource(src)}function _alSourcef(source,param,value){if(!AL.currentContext){return}var src=AL.currentContext.src[source];if(!src){AL.currentContext.err=40961;return}switch(param){case 4099:break;case 4106:src.gain.gain.value=value;break;case 4131:src.maxDistance=value;break;case 4129:src.rolloffFactor=value;break;case 4130:src.coneOuterGain=value;break;case 4097:src.coneInnerAngle=value;break;case 4098:src.coneOuterAngle=value;break;case 4128:src.refDistance=value;break;default:AL.currentContext.err=40962;break}}Module["_memmove"]=_memmove;function _emscripten_glClearDepthf(x0){GLctx.clearDepth(x0)}var __sigalrm_handler=0;function _signal(sig,func){if(sig==14){__sigalrm_handler=func}else{}return 0}function _emscripten_glVertexAttrib4f(x0,x1,x2,x3,x4){GLctx.vertexAttrib4f(x0,x1,x2,x3,x4)}function ___gxx_personality_v0(){}function _pthread_cond_wait(){return 0}function _alListenerf(param,value){if(!AL.currentContext){return}switch(param){case 4106:AL.currentContext.gain.gain.value=value;break;default:AL.currentContext.err=40962;break}}function _emscripten_glClear(x0){GLctx.clear(x0)}Module["_llvm_ctlz_i64"]=_llvm_ctlz_i64;function _alGetError(){if(!AL.currentContext){return 40964}else{var err=AL.currentContext.err;AL.currentContext.err=0;return err}}function _emscripten_get_now(){if(!_emscripten_get_now.actual){if(ENVIRONMENT_IS_NODE){_emscripten_get_now.actual=function _emscripten_get_now_actual(){var t=process["hrtime"]();return t[0]*1e3+t[1]/1e6}}else if(typeof dateNow!=="undefined"){_emscripten_get_now.actual=dateNow}else if(typeof self==="object"&&self["performance"]&&typeof self["performance"]["now"]==="function"){_emscripten_get_now.actual=function _emscripten_get_now_actual(){return self["performance"]["now"]()}}else if(typeof performance==="object"&&typeof performance["now"]==="function"){_emscripten_get_now.actual=function _emscripten_get_now_actual(){return performance["now"]()}}else{_emscripten_get_now.actual=Date.now}}return _emscripten_get_now.actual()}function _emscripten_get_now_is_monotonic(){return ENVIRONMENT_IS_NODE||typeof dateNow!=="undefined"||(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)&&self["performance"]&&self["performance"]["now"]}function _clock_gettime(clk_id,tp){var now;if(clk_id===0){now=Date.now()}else if(clk_id===1&&_emscripten_get_now_is_monotonic()){now=_emscripten_get_now()}else{___setErrNo(ERRNO_CODES.EINVAL);return-1}HEAP32[tp>>2]=now/1e3|0;HEAP32[tp+4>>2]=now%1e3*1e3*1e3|0;return 0}function _alGetListenerfv(pname,values){if(!AL.currentContext){return}switch(pname){case 4100:var position=AL.currentContext.ctx.listener._position||[0,0,0];HEAPF32[values>>2]=position[0];HEAPF32[values+4>>2]=position[1];HEAPF32[values+8>>2]=position[2];break;case 4102:var velocity=AL.currentContext.ctx.listener._velocity||[0,0,0];HEAPF32[values>>2]=velocity[0];HEAPF32[values+4>>2]=velocity[1];HEAPF32[values+8>>2]=velocity[2];break;case 4111:var orientation=AL.currentContext.ctx.listener._orientation||[0,0,-1,0,1,0];HEAPF32[values>>2]=orientation[0];HEAPF32[values+4>>2]=orientation[1];HEAPF32[values+8>>2]=orientation[2];HEAPF32[values+12>>2]=orientation[3];HEAPF32[values+16>>2]=orientation[4];HEAPF32[values+20>>2]=orientation[5];break;default:AL.currentContext.err=40962;break}}function _emscripten_glBindBuffer(target,buffer){var bufferObj=buffer?GL.buffers[buffer]:null;if(target==GLctx.ARRAY_BUFFER){GL.currArrayBuffer=buffer}else if(target==GLctx.ELEMENT_ARRAY_BUFFER){GL.currElementArrayBuffer=buffer}GLctx.bindBuffer(target,bufferObj)}function _emscripten_glDisableVertexAttribArray(index){var cb=GL.currentContext.clientBuffers[index];cb.enabled=false;GLctx.disableVertexAttribArray(index)}function _alcOpenDevice(deviceName){if(typeof AudioContext!=="undefined"||typeof webkitAudioContext!=="undefined"){return 1}else{return 0}}Module["_bitshift64Shl"]=_bitshift64Shl;function _emscripten_glGetBufferParameteriv(target,value,data){if(!data){GL.recordError(1281);return}HEAP32[data>>2]=GLctx.getBufferParameter(target,value)}function _emscripten_glGetAttachedShaders(program,maxCount,count,shaders){var result=GLctx.getAttachedShaders(GL.programs[program]);var len=result.length;if(len>maxCount){len=maxCount}HEAP32[count>>2]=len;for(var i=0;i>2]=id}}function _alSourceRewind(source){if(!AL.currentContext){return}var src=AL.currentContext.src[source];if(!src){AL.currentContext.err=40961;return}AL.setSourceState(src,4116);AL.setSourceState(src,4113)}function _emscripten_glGenRenderbuffers(n,renderbuffers){for(var i=0;i>2]=0;return}var id=GL.getNewId(GL.renderbuffers);renderbuffer.name=id;GL.renderbuffers[id]=renderbuffer;HEAP32[renderbuffers+i*4>>2]=id}}function _alGetSourcefv(source,param,values){if(!AL.currentContext){return}var src=AL.currentContext.src[source];if(!src){AL.currentContext.err=40961;return}switch(param){case 4099:case 4106:case 4109:case 4110:case 4131:case 4129:case 4130:case 4097:case 4098:case 4128:case 4132:case 4133:case 4134:_alGetSourcef(source,param,values);break;case 4100:var position=src.position;HEAPF32[values>>2]=position[0];HEAPF32[values+4>>2]=position[1];HEAPF32[values+8>>2]=position[2];break;case 4101:var direction=src.direction;HEAPF32[values>>2]=direction[0];HEAPF32[values+4>>2]=direction[1];HEAPF32[values+8>>2]=direction[2];break;case 4102:var velocity=src.velocity;HEAPF32[values>>2]=velocity[0];HEAPF32[values+4>>2]=velocity[1];HEAPF32[values+8>>2]=velocity[2];break;default:AL.currentContext.err=40962;break}}function _emscripten_glFrontFace(x0){GLctx.frontFace(x0)}function _emscripten_glActiveTexture(x0){GLctx.activeTexture(x0)}function _emscripten_glUniform1iv(location,count,value){location=GL.uniforms[location];value=HEAP32.subarray(value>>2,value+count*4>>2);GLctx.uniform1iv(location,value)}function _emscripten_glGetAttribLocation(program,name){program=GL.programs[program];name=Pointer_stringify(name);return GLctx.getAttribLocation(program,name)}function _emscripten_glTexCoordPointer(){Module["printErr"]("missing function: emscripten_glTexCoordPointer");abort(-1)}function _emscripten_glGetInfoLogARB(){Module["printErr"]("missing function: emscripten_glGetInfoLogARB");abort(-1)}function __exit(status){Module["exit"](status)}function _exit(status){__exit(status)}function _pthread_setspecific(key,value){if(!(key in PTHREAD_SPECIFIC)){return ERRNO_CODES.EINVAL}PTHREAD_SPECIFIC[key]=value;return 0}function _gethostbyname(name){name=Pointer_stringify(name);var ret=_malloc(20);var nameBuf=_malloc(name.length+1);writeStringToMemory(name,nameBuf);HEAP32[ret>>2]=nameBuf;var aliasesBuf=_malloc(4);HEAP32[aliasesBuf>>2]=0;HEAP32[ret+4>>2]=aliasesBuf;var afinet=2;HEAP32[ret+8>>2]=afinet;HEAP32[ret+12>>2]=4;var addrListBuf=_malloc(12);HEAP32[addrListBuf>>2]=addrListBuf+8;HEAP32[addrListBuf+4>>2]=0;HEAP32[addrListBuf+8>>2]=__inet_pton4_raw(DNS.lookup_name(name));HEAP32[ret+16>>2]=addrListBuf;return ret}function _gethostbyaddr(addr,addrlen,type){if(type!==2){___setErrNo(ERRNO_CODES.EAFNOSUPPORT);return null}addr=HEAP32[addr>>2];var host=__inet_ntop4_raw(addr);var lookup=DNS.lookup_addr(host);if(lookup){host=lookup}var hostp=allocate(intArrayFromString(host),"i8",ALLOC_STACK);return _gethostbyname(hostp)}function _emscripten_set_keyup_callback(target,userData,useCapture,callbackfunc){JSEvents.registerKeyEventCallback(target,userData,useCapture,callbackfunc,3,"keyup");return 0}function _emscripten_glRenderbufferStorage(x0,x1,x2,x3){GLctx.renderbufferStorage(x0,x1,x2,x3)}function _emscripten_set_mousemove_callback(target,userData,useCapture,callbackfunc){JSEvents.registerMouseEventCallback(target,userData,useCapture,callbackfunc,8,"mousemove");return 0}function ___syscall10(which,varargs){SYSCALLS.varargs=varargs;try{var path=SYSCALLS.getStr();FS.unlink(path);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function _emscripten_glTexParameteriv(target,pname,params){var param=HEAP32[params>>2];GLctx.texParameteri(target,pname,param)}function _emscripten_glShaderBinary(){GL.recordError(1280)}function _emscripten_glIsProgram(program){var program=GL.programs[program];if(!program)return 0;return GLctx.isProgram(program)}function ___cxa_begin_catch(ptr){__ZSt18uncaught_exceptionv.uncaught_exception--;EXCEPTIONS.caught.push(ptr);EXCEPTIONS.addRef(EXCEPTIONS.deAdjust(ptr));return ptr}function _eglInitialize(display,majorVersion,minorVersion){if(display==62e3){if(majorVersion){HEAP32[majorVersion>>2]=1}if(minorVersion){HEAP32[minorVersion>>2]=4}EGL.defaultDisplayInitialized=true;EGL.setErrorCode(12288);return 1}else{EGL.setErrorCode(12296);return 0}}function _emscripten_glBlendColor(x0,x1,x2,x3){GLctx.blendColor(x0,x1,x2,x3)}function _emscripten_glGetShaderiv(shader,pname,p){if(!p){GL.recordError(1281);return}if(pname==35716){var log=GLctx.getShaderInfoLog(GL.shaders[shader]);if(log===null)log="(unknown error)";HEAP32[p>>2]=log.length+1}else{HEAP32[p>>2]=GLctx.getShaderParameter(GL.shaders[shader],pname)}}function _emscripten_glUniformMatrix3fv(location,count,transpose,value){location=GL.uniforms[location];var view;if(count===1){view=GL.miniTempBufferViews[8];for(var i=0;i<9;i++){view[i]=HEAPF32[value+i*4>>2]}}else{view=HEAPF32.subarray(value>>2,value+count*36>>2)}GLctx.uniformMatrix3fv(location,transpose,view)}function _emscripten_glUniform4fv(location,count,value){location=GL.uniforms[location];var view;if(count===1){view=GL.miniTempBufferViews[3];view[0]=HEAPF32[value>>2];view[1]=HEAPF32[value+4>>2];view[2]=HEAPF32[value+8>>2];view[3]=HEAPF32[value+12>>2]}else{view=HEAPF32.subarray(value>>2,value+count*16>>2)}GLctx.uniform4fv(location,view)}function _emscripten_set_keypress_callback(target,userData,useCapture,callbackfunc){JSEvents.registerKeyEventCallback(target,userData,useCapture,callbackfunc,1,"keypress");return 0}function _emscripten_glGenFramebuffers(n,ids){for(var i=0;i>2]=0;return}var id=GL.getNewId(GL.framebuffers);framebuffer.name=id;GL.framebuffers[id]=framebuffer;HEAP32[ids+i*4>>2]=id}}function ___syscall40(which,varargs){SYSCALLS.varargs=varargs;try{var path=SYSCALLS.getStr();FS.rmdir(path);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function _emscripten_exit_pointerlock(){JSEvents.removeDeferredCalls(JSEvents.requestPointerLock);if(document.exitPointerLock){document.exitPointerLock()}else if(document.msExitPointerLock){document.msExitPointerLock()}else if(document.mozExitPointerLock){document.mozExitPointerLock()}else if(document.webkitExitPointerLock){document.webkitExitPointerLock()}else{return-1}return 0}function _emscripten_glBlendEquationSeparate(x0,x1){GLctx.blendEquationSeparate(x0,x1)}function _eglWaitNative(nativeEngineId){EGL.setErrorCode(12288);return 1}function _usleep(useconds){var msec=useconds/1e3;if((ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)&&self["performance"]&&self["performance"]["now"]){var start=self["performance"]["now"]();while(self["performance"]["now"]()-start>2];var nanoseconds=HEAP32[rqtp+4>>2];if(rmtp!==0){HEAP32[rmtp>>2]=0;HEAP32[rmtp+4>>2]=0}return _usleep(seconds*1e6+nanoseconds/1e3)}function _emscripten_glBindTexture(target,texture){GLctx.bindTexture(target,texture?GL.textures[texture]:null)}function _emscripten_glDrawRangeElements(){Module["printErr"]("missing function: emscripten_glDrawRangeElements");abort(-1)}function _emscripten_glGenTextures(n,textures){for(var i=0;i>2]=0;return}var id=GL.getNewId(GL.textures);texture.name=id;GL.textures[id]=texture;HEAP32[textures+i*4>>2]=id}}function _emscripten_glVertexAttrib2fv(index,v){v=HEAPF32.subarray(v>>2,v+8>>2);GLctx.vertexAttrib2fv(index,v)}function _emscripten_glGetActiveUniform(program,index,bufSize,length,size,type,name){program=GL.programs[program];var info=GLctx.getActiveUniform(program,index);if(!info)return;var infoname=info.name.slice(0,Math.max(0,bufSize-1));if(bufSize>0&&name){writeStringToMemory(infoname,name);if(length)HEAP32[length>>2]=infoname.length}else{if(length)HEAP32[length>>2]=0}if(size)HEAP32[size>>2]=info.size;if(type)HEAP32[type>>2]=info.type}function _emscripten_glDeleteObjectARB(){Module["printErr"]("missing function: emscripten_glDeleteObjectARB");abort(-1)}function _emscripten_set_touchmove_callback(target,userData,useCapture,callbackfunc){JSEvents.registerTouchEventCallback(target,userData,useCapture,callbackfunc,24,"touchmove");return 0}function _emscripten_glUniform1f(location,v0){location=GL.uniforms[location];GLctx.uniform1f(location,v0)}function _alcCreateContext(device,attrList){if(device!=1){return 0}if(attrList){return 0}var ctx;try{ctx=new AudioContext}catch(e){try{ctx=new webkitAudioContext}catch(e){}}if(ctx){if(typeof ctx.createGain==="undefined")ctx.createGain=ctx.createGainNode;var gain=ctx.createGain();gain.connect(ctx.destination);var context={ctx:ctx,err:0,src:{},buf:[],interval:setInterval((function(){AL.updateSources(context)}),AL.QUEUE_INTERVAL),gain:gain};AL.contexts.push(context);return AL.contexts.length}else{return 0}}function _emscripten_glVertexAttribPointer(index,size,type,normalized,stride,ptr){var cb=GL.currentContext.clientBuffers[index];if(!GL.currArrayBuffer){cb.size=size;cb.type=type;cb.normalized=normalized;cb.stride=stride;cb.ptr=ptr;cb.clientside=true;return}cb.clientside=false;GLctx.vertexAttribPointer(index,size,type,normalized,stride,ptr)}function _alcCloseDevice(device){}function _emscripten_glDrawArrays(mode,first,count){GL.preDrawHandleClientVertexAttribBindings(first+count);GLctx.drawArrays(mode,first,count);GL.postDrawHandleClientVertexAttribBindings()}function _emscripten_glGenBuffers(n,buffers){for(var i=0;i>2]=0;return}var id=GL.getNewId(GL.buffers);buffer.name=id;GL.buffers[id]=buffer;HEAP32[buffers+i*4>>2]=id}}function _emscripten_glClearDepth(x0){GLctx.clearDepth(x0)}Module["_i64Subtract"]=_i64Subtract;var PTHREAD_SPECIFIC_NEXT_KEY=1;function _pthread_key_create(key,destructor){if(key==0){return ERRNO_CODES.EINVAL}HEAP32[key>>2]=PTHREAD_SPECIFIC_NEXT_KEY;PTHREAD_SPECIFIC[PTHREAD_SPECIFIC_NEXT_KEY]=0;PTHREAD_SPECIFIC_NEXT_KEY++;return 0}function _system(command){___setErrNo(ERRNO_CODES.EAGAIN);return-1}function _emscripten_glGetUniformLocation(program,name){name=Pointer_stringify(name);var arrayOffset=0;if(name.indexOf("]",name.length-1)!==-1){var ls=name.lastIndexOf("[");var arrayIndex=name.slice(ls+1,-1);if(arrayIndex.length>0){arrayOffset=parseInt(arrayIndex);if(arrayOffset<0){return-1}}name=name.slice(0,ls)}var ptable=GL.programInfos[program];if(!ptable){return-1}var utable=ptable.uniforms;var uniformInfo=utable[name];if(uniformInfo&&arrayOffset>2]);if(n==0){if(GLctx.getParameter(GLctx["DRAW_FRAMEBUFFER_BINDING"])!=0)bufArray.push(GLctx["NONE"]);else{GL.recordError(1282);return}}GLctx["drawBuffers"](bufArray)}function _pthread_mutex_unlock(){}function _emscripten_glBindFramebuffer(target,framebuffer){GLctx.bindFramebuffer(target,framebuffer?GL.framebuffers[framebuffer]:null)}function _emscripten_glBlendEquation(x0){GLctx.blendEquation(x0)}function _emscripten_glBufferSubData(target,offset,size,data){GLctx.bufferSubData(target,offset,HEAPU8.subarray(data,data+size))}function _alcCaptureStart(){Module["printErr"]("missing function: alcCaptureStart");abort(-1)}function _emscripten_set_keydown_callback(target,userData,useCapture,callbackfunc){JSEvents.registerKeyEventCallback(target,userData,useCapture,callbackfunc,2,"keydown");return 0}function _emscripten_glBufferData(target,size,data,usage){switch(usage){case 35041:case 35042:usage=35040;break;case 35045:case 35046:usage=35044;break;case 35049:case 35050:usage=35048;break}if(!data){GLctx.bufferData(target,size,usage)}else{GLctx.bufferData(target,HEAPU8.subarray(data,data+size),usage)}}function _sbrk(bytes){var self=_sbrk;if(!self.called){DYNAMICTOP=alignMemoryPage(DYNAMICTOP);self.called=true;assert(Runtime.dynamicAlloc);self.alloc=Runtime.dynamicAlloc;Runtime.dynamicAlloc=(function(){abort("cannot dynamically allocate, sbrk now has control")})}var ret=DYNAMICTOP;if(bytes!=0){var success=self.alloc(bytes);if(!success)return-1>>>0}return ret}function _alcMakeContextCurrent(context){if(context==0){AL.currentContext=null;return 0}else{AL.currentContext=AL.contexts[context-1];return 1}}function _emscripten_glVertexAttrib4fv(index,v){v=HEAPF32.subarray(v>>2,v+16>>2);GLctx.vertexAttrib4fv(index,v)}function _emscripten_glDeleteFramebuffers(n,framebuffers){for(var i=0;i>2];var framebuffer=GL.framebuffers[id];if(!framebuffer)continue;GLctx.deleteFramebuffer(framebuffer);framebuffer.name=0;GL.framebuffers[id]=null}}function ___syscall85(which,varargs){SYSCALLS.varargs=varargs;try{var path=SYSCALLS.getStr(),buf=SYSCALLS.get(),bufsize=SYSCALLS.get();return SYSCALLS.doReadlink(path,buf,bufsize)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function _emscripten_glGetShaderSource(shader,bufSize,length,source){var result=GLctx.getShaderSource(GL.shaders[shader]);if(!result)return;result=result.slice(0,Math.max(0,bufSize-1));if(bufSize>0&&source){writeStringToMemory(result,source);if(length)HEAP32[length>>2]=result.length}else{if(length)HEAP32[length>>2]=0}}function _emscripten_glBindVertexArray(vao){GLctx["bindVertexArray"](GL.vaos[vao])}function ___cxa_guard_release(){}function _emscripten_set_gamepadconnected_callback(userData,useCapture,callbackfunc){if(!navigator.getGamepads&&!navigator.webkitGetGamepads)return-1;JSEvents.registerGamepadEventCallback(window,userData,useCapture,callbackfunc,26,"gamepadconnected");return 0}function _emscripten_glGetFloatv(name_,p){emscriptenWebGLGet(name_,p,"Float")}function ___assert_fail(condition,filename,line,func){ABORT=true;throw"Assertion failed: "+Pointer_stringify(condition)+", at: "+[filename?Pointer_stringify(filename):"unknown filename",line,func?Pointer_stringify(func):"unknown function"]+" at "+stackTrace()}function _alDopplerFactor(value){Runtime.warnOnce("alDopplerFactor() is not yet implemented! Ignoring all calls to it.")}function _emscripten_glUniform3fv(location,count,value){location=GL.uniforms[location];var view;if(count===1){view=GL.miniTempBufferViews[2];view[0]=HEAPF32[value>>2];view[1]=HEAPF32[value+4>>2];view[2]=HEAPF32[value+8>>2]}else{view=HEAPF32.subarray(value>>2,value+count*12>>2)}GLctx.uniform3fv(location,view)}function _emscripten_glDrawElementsInstanced(mode,count,type,indices,primcount){GLctx["drawElementsInstanced"](mode,count,type,indices,primcount)}function _eglMakeCurrent(display,draw,read,context){if(display!=62e3){EGL.setErrorCode(12296);return 0}if(context!=0&&context!=62004){EGL.setErrorCode(12294);return 0}if(read!=0&&read!=62006||draw!=0&&draw!=62006){EGL.setErrorCode(12301);return 0}EGL.currentContext=context;EGL.currentDrawSurface=draw;EGL.currentReadSurface=read;EGL.setErrorCode(12288);return 1}function _emscripten_glDrawElements(mode,count,type,indices){var buf;if(!GL.currElementArrayBuffer){var size=GL.calcBufLength(1,type,0,count);buf=GL.getTempIndexBuffer(size);GLctx.bindBuffer(GLctx.ELEMENT_ARRAY_BUFFER,buf);GLctx.bufferSubData(GLctx.ELEMENT_ARRAY_BUFFER,0,HEAPU8.subarray(indices,indices+size));indices=0}GL.preDrawHandleClientVertexAttribBindings(count);GLctx.drawElements(mode,count,type,indices);GL.postDrawHandleClientVertexAttribBindings(count);if(!GL.currElementArrayBuffer){GLctx.bindBuffer(GLctx.ELEMENT_ARRAY_BUFFER,null)}}function _emscripten_set_main_loop_arg(func,arg,fps,simulateInfiniteLoop){_emscripten_set_main_loop(func,fps,simulateInfiniteLoop,arg)}function _emscripten_glCreateProgram(){var id=GL.getNewId(GL.programs);var program=GLctx.createProgram();program.name=id;GL.programs[id]=program;return id}function _pthread_once(ptr,func){if(!_pthread_once.seen)_pthread_once.seen={};if(ptr in _pthread_once.seen)return;Runtime.dynCall("v",func);_pthread_once.seen[ptr]=1}function _emscripten_glCompressedTexImage2D(target,level,internalFormat,width,height,border,imageSize,data){var heapView;if(data){heapView=HEAPU8.subarray(data,data+imageSize)}else{heapView=null}GLctx["compressedTexImage2D"](target,level,internalFormat,width,height,border,heapView)}function _emscripten_glClearColor(x0,x1,x2,x3){GLctx.clearColor(x0,x1,x2,x3)}function ___unlock(){}var _llvm_fabs_f64=Math_abs;function _alcCaptureStop(){Module["printErr"]("missing function: alcCaptureStop");abort(-1)}function _setenv(envname,envval,overwrite){if(envname===0){___setErrNo(ERRNO_CODES.EINVAL);return-1}var name=Pointer_stringify(envname);var val=Pointer_stringify(envval);if(name===""||name.indexOf("=")!==-1){___setErrNo(ERRNO_CODES.EINVAL);return-1}if(ENV.hasOwnProperty(name)&&!overwrite)return 0;ENV[name]=val;___buildEnvironment(ENV);return 0}Module["_bitshift64Ashr"]=_bitshift64Ashr;function _emscripten_glLoadMatrixf(){Module["printErr"]("missing function: emscripten_glLoadMatrixf");abort(-1)}function _malloc(bytes){var ptr=Runtime.dynamicAlloc(bytes+8);return ptr+8&4294967288}Module["_malloc"]=_malloc;function ___cxa_allocate_exception(size){return _malloc(size)}function ___syscall142(which,varargs){SYSCALLS.varargs=varargs;try{var nfds=SYSCALLS.get(),readfds=SYSCALLS.get(),writefds=SYSCALLS.get(),exceptfds=SYSCALLS.get(),timeout=SYSCALLS.get();assert(nfds<=64,"nfds must be less than or equal to 64");assert(!exceptfds,"exceptfds not supported");var total=0;var srcReadLow=readfds?HEAP32[readfds>>2]:0,srcReadHigh=readfds?HEAP32[readfds+4>>2]:0;var srcWriteLow=writefds?HEAP32[writefds>>2]:0,srcWriteHigh=writefds?HEAP32[writefds+4>>2]:0;var srcExceptLow=exceptfds?HEAP32[exceptfds>>2]:0,srcExceptHigh=exceptfds?HEAP32[exceptfds+4>>2]:0;var dstReadLow=0,dstReadHigh=0;var dstWriteLow=0,dstWriteHigh=0;var dstExceptLow=0,dstExceptHigh=0;var allLow=(readfds?HEAP32[readfds>>2]:0)|(writefds?HEAP32[writefds>>2]:0)|(exceptfds?HEAP32[exceptfds>>2]:0);var allHigh=(readfds?HEAP32[readfds+4>>2]:0)|(writefds?HEAP32[writefds+4>>2]:0)|(exceptfds?HEAP32[exceptfds+4>>2]:0);function check(fd,low,high,val){return fd<32?low&val:high&val}for(var fd=0;fd>2]=dstReadLow;HEAP32[readfds+4>>2]=dstReadHigh}if(writefds){HEAP32[writefds>>2]=dstWriteLow;HEAP32[writefds+4>>2]=dstWriteHigh}if(exceptfds){HEAP32[exceptfds>>2]=dstExceptLow;HEAP32[exceptfds+4>>2]=dstExceptHigh}return total}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function _emscripten_glGetProgramInfoLog(program,maxLength,length,infoLog){var log=GLctx.getProgramInfoLog(GL.programs[program]);if(log===null)log="(unknown error)";log=log.substr(0,maxLength-1);if(maxLength>0&&infoLog){writeStringToMemory(log,infoLog);if(length)HEAP32[length>>2]=log.length}else{if(length)HEAP32[length>>2]=0}}function _emscripten_glTexImage2D(target,level,internalFormat,width,height,border,format,type,pixels){var pixelData;if(pixels){var data=emscriptenWebGLGetTexPixelData(type,format,width,height,pixels,internalFormat);pixelData=data.pixels;internalFormat=data.internalFormat}else{pixelData=null}GLctx.texImage2D(target,level,internalFormat,width,height,border,format,type,pixelData)}function _emscripten_glColorPointer(){Module["printErr"]("missing function: emscripten_glColorPointer");abort(-1)}function _emscripten_glFlush(){GLctx.flush()}function ___syscall183(which,varargs){SYSCALLS.varargs=varargs;try{var buf=SYSCALLS.get(),size=SYSCALLS.get();if(size===0)return-ERRNO_CODES.EINVAL;var cwd=FS.cwd();if(size>2];var texture=GL.textures[id];if(!texture)continue;GLctx.deleteTexture(texture);texture.name=0;GL.textures[id]=null}}function _eglGetDisplay(nativeDisplayType){EGL.setErrorCode(12288);return 62e3}function _emscripten_set_canvas_size(width,height){Browser.setCanvasSize(width,height)}function _emscripten_glCompileShader(shader){GLctx.compileShader(GL.shaders[shader])}function _emscripten_glGenVertexArrays(n,arrays){for(var i=0;i>2]=0;return}var id=GL.getNewId(GL.vaos);vao.name=id;GL.vaos[id]=vao;HEAP32[arrays+i*4>>2]=id}}function _time(ptr){var ret=Date.now()/1e3|0;if(ptr){HEAP32[ptr>>2]=ret}return ret}function _pthread_self(){return 0}function _emscripten_glGetBooleanv(name_,p){emscriptenWebGLGet(name_,p,"Boolean")}function ___syscall221(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),cmd=SYSCALLS.get();switch(cmd){case 0:{var arg=SYSCALLS.get();if(arg<0){return-ERRNO_CODES.EINVAL}var newStream;newStream=FS.open(stream.path,stream.flags,0,arg);return newStream.fd};case 1:case 2:return 0;case 3:return stream.flags;case 4:{var arg=SYSCALLS.get();stream.flags|=arg;return 0};case 12:case 12:{var arg=SYSCALLS.get();var offset=0;HEAP16[arg+offset>>1]=2;return 0};case 13:case 14:case 13:case 14:return 0;case 16:case 8:return-ERRNO_CODES.EINVAL;case 9:___setErrNo(ERRNO_CODES.EINVAL);return-1;default:{return-ERRNO_CODES.EINVAL}}}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall220(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),dirp=SYSCALLS.get(),count=SYSCALLS.get();if(!stream.getdents){stream.getdents=FS.readdir(stream.path)}var pos=0;while(stream.getdents.length>0&&pos+268>2]=id;HEAP32[dirp+pos+4>>2]=stream.position;HEAP16[dirp+pos+8>>1]=268;HEAP8[dirp+pos+10>>0]=type;for(var i=0;i>0]=name.charCodeAt(i)}HEAP8[dirp+pos+(11+i)>>0]=0;pos+=268}return pos}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}var GLctx;GL.init();Module["requestFullScreen"]=function Module_requestFullScreen(lockPointer,resizeCanvas,vrDevice){Browser.requestFullScreen(lockPointer,resizeCanvas,vrDevice)};Module["requestAnimationFrame"]=function Module_requestAnimationFrame(func){Browser.requestAnimationFrame(func)};Module["setCanvasSize"]=function Module_setCanvasSize(width,height,noUpdates){Browser.setCanvasSize(width,height,noUpdates)};Module["pauseMainLoop"]=function Module_pauseMainLoop(){Browser.mainLoop.pause()};Module["resumeMainLoop"]=function Module_resumeMainLoop(){Browser.mainLoop.resume()};Module["getUserMedia"]=function Module_getUserMedia(){Browser.getUserMedia()};Module["createContext"]=function Module_createContext(canvas,useWebGL,setInModule,webGLContextAttributes){return Browser.createContext(canvas,useWebGL,setInModule,webGLContextAttributes)};FS.staticInit();__ATINIT__.unshift((function(){if(!Module["noFSInit"]&&!FS.init.initialized)FS.init()}));__ATMAIN__.push((function(){FS.ignorePermissions=false}));__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()}));if(ENVIRONMENT_IS_NODE){var fs=require("fs");var NODEJS_PATH=require("path");NODEFS.staticInit()}___buildEnvironment(ENV);__ATINIT__.push((function(){SOCKFS.root=FS.mount(SOCKFS,{},null)}));STACK_BASE=STACKTOP=Runtime.alignMemory(STATICTOP);staticSealed=true;STACK_MAX=STACK_BASE+TOTAL_STACK;DYNAMIC_BASE=DYNAMICTOP=Runtime.alignMemory(STACK_MAX);function invoke_iiiiiiii(index,a1,a2,a3,a4,a5,a6,a7){try{return Module["dynCall_iiiiiiii"](index,a1,a2,a3,a4,a5,a6,a7)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_iiiiiid(index,a1,a2,a3,a4,a5,a6){try{return Module["dynCall_iiiiiid"](index,a1,a2,a3,a4,a5,a6)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_vd(index,a1){try{Module["dynCall_vd"](index,a1)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_vid(index,a1,a2){try{Module["dynCall_vid"](index,a1,a2)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_viiiii(index,a1,a2,a3,a4,a5){try{Module["dynCall_viiiii"](index,a1,a2,a3,a4,a5)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_iiiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9){try{return Module["dynCall_iiiiiiiiii"](index,a1,a2,a3,a4,a5,a6,a7,a8,a9)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_vii(index,a1,a2){try{Module["dynCall_vii"](index,a1,a2)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_iiiiiii(index,a1,a2,a3,a4,a5,a6){try{return Module["dynCall_iiiiiii"](index,a1,a2,a3,a4,a5,a6)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_viddddddddd(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10){try{Module["dynCall_viddddddddd"](index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_ii(index,a1){try{return Module["dynCall_ii"](index,a1)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_ddddd(index,a1,a2,a3,a4){try{return Module["dynCall_ddddd"](index,a1,a2,a3,a4)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_viiiiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11){try{Module["dynCall_viiiiiiiiiii"](index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_viddii(index,a1,a2,a3,a4,a5){try{Module["dynCall_viddii"](index,a1,a2,a3,a4,a5)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_viidi(index,a1,a2,a3,a4){try{Module["dynCall_viidi"](index,a1,a2,a3,a4)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_viidddd(index,a1,a2,a3,a4,a5,a6){try{Module["dynCall_viidddd"](index,a1,a2,a3,a4,a5,a6)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_viddd(index,a1,a2,a3,a4){try{Module["dynCall_viddd"](index,a1,a2,a3,a4)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_iiiiii(index,a1,a2,a3,a4,a5){try{return Module["dynCall_iiiiii"](index,a1,a2,a3,a4,a5)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_vidi(index,a1,a2,a3){try{Module["dynCall_vidi"](index,a1,a2,a3)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_vdddddd(index,a1,a2,a3,a4,a5,a6){try{Module["dynCall_vdddddd"](index,a1,a2,a3,a4,a5,a6)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_vidd(index,a1,a2,a3){try{Module["dynCall_vidd"](index,a1,a2,a3)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_iiii(index,a1,a2,a3){try{return Module["dynCall_iiii"](index,a1,a2,a3)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_vi(index,a1){try{Module["dynCall_vi"](index,a1)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_viiiiii(index,a1,a2,a3,a4,a5,a6){try{Module["dynCall_viiiiii"](index,a1,a2,a3,a4,a5,a6)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_diiiid(index,a1,a2,a3,a4,a5){try{return Module["dynCall_diiiid"](index,a1,a2,a3,a4,a5)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_ddd(index,a1,a2){try{return Module["dynCall_ddd"](index,a1,a2)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_viid(index,a1,a2,a3){try{Module["dynCall_viid"](index,a1,a2,a3)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_di(index,a1){try{return Module["dynCall_di"](index,a1)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_vdi(index,a1,a2){try{Module["dynCall_vdi"](index,a1,a2)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_dd(index,a1){try{return Module["dynCall_dd"](index,a1)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_viiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8){try{Module["dynCall_viiiiiiii"](index,a1,a2,a3,a4,a5,a6,a7,a8)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_vidddd(index,a1,a2,a3,a4,a5){try{Module["dynCall_vidddd"](index,a1,a2,a3,a4,a5)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_iid(index,a1,a2){try{return Module["dynCall_iid"](index,a1,a2)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_dddd(index,a1,a2,a3){try{return Module["dynCall_dddd"](index,a1,a2,a3)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_viiiiiii(index,a1,a2,a3,a4,a5,a6,a7){try{Module["dynCall_viiiiiii"](index,a1,a2,a3,a4,a5,a6,a7)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_iiddd(index,a1,a2,a3,a4){try{return Module["dynCall_iiddd"](index,a1,a2,a3,a4)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_viiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9){try{Module["dynCall_viiiiiiiii"](index,a1,a2,a3,a4,a5,a6,a7,a8,a9)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_viiiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10){try{Module["dynCall_viiiiiiiiii"](index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_iii(index,a1,a2){try{return Module["dynCall_iii"](index,a1,a2)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_diii(index,a1,a2,a3){try{return Module["dynCall_diii"](index,a1,a2,a3)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_viiddddddddd(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11){try{Module["dynCall_viiddddddddd"](index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_dii(index,a1,a2){try{return Module["dynCall_dii"](index,a1,a2)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_viii(index,a1,a2,a3){try{Module["dynCall_viii"](index,a1,a2,a3)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_did(index,a1,a2){try{return Module["dynCall_did"](index,a1,a2)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_iiiiidii(index,a1,a2,a3,a4,a5,a6,a7){try{return Module["dynCall_iiiiidii"](index,a1,a2,a3,a4,a5,a6,a7)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_iiiii(index,a1,a2,a3,a4){try{return Module["dynCall_iiiii"](index,a1,a2,a3,a4)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_i(index){try{return Module["dynCall_i"](index)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_vdddd(index,a1,a2,a3,a4){try{Module["dynCall_vdddd"](index,a1,a2,a3,a4)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_vdd(index,a1,a2){try{Module["dynCall_vdd"](index,a1,a2)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_v(index){try{Module["dynCall_v"](index)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_iiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8){try{return Module["dynCall_iiiiiiiii"](index,a1,a2,a3,a4,a5,a6,a7,a8)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_viiiiiiiid(index,a1,a2,a3,a4,a5,a6,a7,a8,a9){try{Module["dynCall_viiiiiiiid"](index,a1,a2,a3,a4,a5,a6,a7,a8,a9)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_iiiiid(index,a1,a2,a3,a4,a5){try{return Module["dynCall_iiiiid"](index,a1,a2,a3,a4,a5)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_viiii(index,a1,a2,a3,a4){try{Module["dynCall_viiii"](index,a1,a2,a3,a4)}catch(e){if(typeof e!=="number"&&e!=="longjmp")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":Infinity,"byteLength":byteLength};Module.asmLibraryArg={"abort":abort,"assert":assert,"invoke_iiiiiiii":invoke_iiiiiiii,"invoke_iiiiiid":invoke_iiiiiid,"invoke_vd":invoke_vd,"invoke_vid":invoke_vid,"invoke_viiiii":invoke_viiiii,"invoke_iiiiiiiiii":invoke_iiiiiiiiii,"invoke_vii":invoke_vii,"invoke_iiiiiii":invoke_iiiiiii,"invoke_viddddddddd":invoke_viddddddddd,"invoke_ii":invoke_ii,"invoke_ddddd":invoke_ddddd,"invoke_viiiiiiiiiii":invoke_viiiiiiiiiii,"invoke_viddii":invoke_viddii,"invoke_viidi":invoke_viidi,"invoke_viidddd":invoke_viidddd,"invoke_viddd":invoke_viddd,"invoke_iiiiii":invoke_iiiiii,"invoke_vidi":invoke_vidi,"invoke_vdddddd":invoke_vdddddd,"invoke_vidd":invoke_vidd,"invoke_iiii":invoke_iiii,"invoke_vi":invoke_vi,"invoke_viiiiii":invoke_viiiiii,"invoke_diiiid":invoke_diiiid,"invoke_ddd":invoke_ddd,"invoke_viid":invoke_viid,"invoke_di":invoke_di,"invoke_vdi":invoke_vdi,"invoke_dd":invoke_dd,"invoke_viiiiiiii":invoke_viiiiiiii,"invoke_vidddd":invoke_vidddd,"invoke_iid":invoke_iid,"invoke_dddd":invoke_dddd,"invoke_viiiiiii":invoke_viiiiiii,"invoke_iiddd":invoke_iiddd,"invoke_viiiiiiiii":invoke_viiiiiiiii,"invoke_viiiiiiiiii":invoke_viiiiiiiiii,"invoke_iii":invoke_iii,"invoke_diii":invoke_diii,"invoke_viiddddddddd":invoke_viiddddddddd,"invoke_dii":invoke_dii,"invoke_viii":invoke_viii,"invoke_did":invoke_did,"invoke_iiiiidii":invoke_iiiiidii,"invoke_iiiii":invoke_iiiii,"invoke_i":invoke_i,"invoke_vdddd":invoke_vdddd,"invoke_vdd":invoke_vdd,"invoke_v":invoke_v,"invoke_iiiiiiiii":invoke_iiiiiiiii,"invoke_viiiiiiiid":invoke_viiiiiiiid,"invoke_iiiiid":invoke_iiiiid,"invoke_viiii":invoke_viiii,"_emscripten_glGetTexParameterfv":_emscripten_glGetTexParameterfv,"___syscall221":___syscall221,"__inet_ntop6_raw":__inet_ntop6_raw,"___syscall220":___syscall220,"_emscripten_glBlendFuncSeparate":_emscripten_glBlendFuncSeparate,"_emscripten_glGetIntegerv":_emscripten_glGetIntegerv,"___assert_fail":___assert_fail,"_emscripten_glDepthFunc":_emscripten_glDepthFunc,"_emscripten_memcpy_big":_emscripten_memcpy_big,"_emscripten_glUniform1f":_emscripten_glUniform1f,"emscriptenWebGLComputeImageSize":emscriptenWebGLComputeImageSize,"_alGetFloat":_alGetFloat,"_emscripten_glUniform1i":_emscripten_glUniform1i,"_emscripten_glIsProgram":_emscripten_glIsProgram,"_gmtime_r":_gmtime_r,"_emscripten_glTexParameteriv":_emscripten_glTexParameteriv,"___syscall140":___syscall140,"_alSourcePause":_alSourcePause,"___syscall142":___syscall142,"___syscall145":___syscall145,"___syscall146":___syscall146,"_emscripten_glAttachShader":_emscripten_glAttachShader,"_emscripten_get_now_is_monotonic":_emscripten_get_now_is_monotonic,"_alcCreateContext":_alcCreateContext,"_emscripten_glTexParameterfv":_emscripten_glTexParameterfv,"__inet_ntop4_raw":__inet_ntop4_raw,"_emscripten_glUniformMatrix2fv":_emscripten_glUniformMatrix2fv,"_emscripten_glDrawArraysInstanced":_emscripten_glDrawArraysInstanced,"_alcMakeContextCurrent":_alcMakeContextCurrent,"_emscripten_glVertexAttrib2fv":_emscripten_glVertexAttrib2fv,"_emscripten_glBufferData":_emscripten_glBufferData,"_alSourcef":_alSourcef,"_emscripten_glFlush":_emscripten_glFlush,"_alSourcei":_alSourcei,"_alGenBuffers":_alGenBuffers,"_nanosleep":_nanosleep,"_pthread_once":_pthread_once,"_dlopen":_dlopen,"_eglWaitClient":_eglWaitClient,"_emscripten_glTexCoordPointer":_emscripten_glTexCoordPointer,"_emscripten_set_blur_callback":_emscripten_set_blur_callback,"_emscripten_glLoadMatrixf":_emscripten_glLoadMatrixf,"_emscripten_glStencilFuncSeparate":_emscripten_glStencilFuncSeparate,"_emscripten_glVertexAttrib3f":_emscripten_glVertexAttrib3f,"_pthread_mutex_lock":_pthread_mutex_lock,"_dlerror":_dlerror,"_emscripten_get_gamepad_status":_emscripten_get_gamepad_status,"___syscall20":___syscall20,"_emscripten_glUniform1iv":_emscripten_glUniform1iv,"_alListenerfv":_alListenerfv,"emscriptenWebGLGetUniform":emscriptenWebGLGetUniform,"_emscripten_glGetBufferParameteriv":_emscripten_glGetBufferParameteriv,"_emscripten_glVertexAttrib4fv":_emscripten_glVertexAttrib4fv,"_pthread_getspecific":_pthread_getspecific,"_alListenerf":_alListenerf,"_emscripten_glDepthRange":_emscripten_glDepthRange,"_emscripten_asm_const_iii":_emscripten_asm_const_iii,"_eglMakeCurrent":_eglMakeCurrent,"_emscripten_glCopyTexImage2D":_emscripten_glCopyTexImage2D,"_emscripten_glFramebufferTexture2D":_emscripten_glFramebufferTexture2D,"_emscripten_glStencilFunc":_emscripten_glStencilFunc,"___syscall183":___syscall183,"_alDistanceModel":_alDistanceModel,"_localtime":_localtime,"_emscripten_glRenderbufferStorage":_emscripten_glRenderbufferStorage,"_emscripten_set_keydown_callback":_emscripten_set_keydown_callback,"_emscripten_glVertexPointer":_emscripten_glVertexPointer,"__read_sockaddr":__read_sockaddr,"_eglInitialize":_eglInitialize,"_emscripten_glBufferSubData":_emscripten_glBufferSubData,"_emscripten_glGetUniformfv":_emscripten_glGetUniformfv,"_emscripten_glStencilOp":_emscripten_glStencilOp,"_emscripten_glBlendEquation":_emscripten_glBlendEquation,"_pthread_self":_pthread_self,"_emscripten_glVertexAttrib1fv":_emscripten_glVertexAttrib1fv,"_dlclose":_dlclose,"_emscripten_glGetProgramInfoLog":_emscripten_glGetProgramInfoLog,"_getpwuid":_getpwuid,"___cxa_throw":___cxa_throw,"_emscripten_glUniform2fv":_emscripten_glUniform2fv,"_emscripten_glBindBuffer":_emscripten_glBindBuffer,"_emscripten_glGetFloatv":_emscripten_glGetFloatv,"_pthread_mutex_init":_pthread_mutex_init,"_emscripten_glGenRenderbuffers":_emscripten_glGenRenderbuffers,"_eglGetDisplay":_eglGetDisplay,"___syscall63":___syscall63,"_emscripten_glCullFace":_emscripten_glCullFace,"_llvm_fabs_f64":_llvm_fabs_f64,"_emscripten_glStencilMaskSeparate":_emscripten_glStencilMaskSeparate,"_emscripten_glUniform3fv":_emscripten_glUniform3fv,"_emscripten_asm_const_ii":_emscripten_asm_const_ii,"_alSource3f":_alSource3f,"___syscall265":___syscall265,"_emscripten_glDisableVertexAttribArray":_emscripten_glDisableVertexAttribArray,"_eglBindAPI":_eglBindAPI,"_eglCreateContext":_eglCreateContext,"_clock":_clock,"_emscripten_glGetBooleanv":_emscripten_glGetBooleanv,"_emscripten_glVertexAttribDivisor":_emscripten_glVertexAttribDivisor,"_emscripten_glGenBuffers":_emscripten_glGenBuffers,"_emscripten_glDeleteObjectARB":_emscripten_glDeleteObjectARB,"_emscripten_glGetShaderPrecisionFormat":_emscripten_glGetShaderPrecisionFormat,"__write_sockaddr":__write_sockaddr,"_emscripten_request_fullscreen_strategy":_emscripten_request_fullscreen_strategy,"_emscripten_glIsEnabled":_emscripten_glIsEnabled,"_alGetListenerf":_alGetListenerf,"_emscripten_glStencilOpSeparate":_emscripten_glStencilOpSeparate,"_pthread_cleanup_pop":_pthread_cleanup_pop,"_emscripten_asm_const_iiiii":_emscripten_asm_const_iiiii,"___syscall122":___syscall122,"___cxa_find_matching_catch":___cxa_find_matching_catch,"_emscripten_glClear":_emscripten_glClear,"___cxa_guard_release":___cxa_guard_release,"_emscripten_glValidateProgram":_emscripten_glValidateProgram,"_emscripten_glUniform4iv":_emscripten_glUniform4iv,"___setErrNo":___setErrNo,"_eglSwapBuffers":_eglSwapBuffers,"_emscripten_glVertexAttrib2f":_emscripten_glVertexAttrib2f,"___resumeException":___resumeException,"_mktime":_mktime,"_emscripten_glGetError":_emscripten_glGetError,"_gethostbyaddr":_gethostbyaddr,"_emscripten_glReadPixels":_emscripten_glReadPixels,"_eglCreateWindowSurface":_eglCreateWindowSurface,"_emscripten_glClearStencil":_emscripten_glClearStencil,"emscriptenWebGLGet":emscriptenWebGLGet,"_emscripten_get_device_pixel_ratio":_emscripten_get_device_pixel_ratio,"_emscripten_set_mouseup_callback":_emscripten_set_mouseup_callback,"_emscripten_glFinish":_emscripten_glFinish,"_emscripten_glClearDepth":_emscripten_glClearDepth,"_emscripten_glUniform1fv":_emscripten_glUniform1fv,"_emscripten_set_resize_callback":_emscripten_set_resize_callback,"_emscripten_glUniform4i":_emscripten_glUniform4i,"_alDopplerFactor":_alDopplerFactor,"_llvm_pow_f64":_llvm_pow_f64,"_emscripten_glUniform4f":_emscripten_glUniform4f,"_emscripten_glBlendFunc":_emscripten_glBlendFunc,"_emscripten_glStencilMask":_emscripten_glStencilMask,"_alcGetIntegerv":_alcGetIntegerv,"_localtime_r":_localtime_r,"_clock_gettime":_clock_gettime,"_strftime":_strftime,"_alcDestroyContext":_alcDestroyContext,"_emscripten_glGetVertexAttribiv":_emscripten_glGetVertexAttribiv,"_emscripten_glUniformMatrix3fv":_emscripten_glUniformMatrix3fv,"___syscall33":___syscall33,"_pthread_key_create":_pthread_key_create,"_emscripten_glDeleteFramebuffers":_emscripten_glDeleteFramebuffers,"__setLetterbox":__setLetterbox,"___syscall39":___syscall39,"___syscall38":___syscall38,"_emscripten_glUniform4fv":_emscripten_glUniform4fv,"_emscripten_glGetObjectParameterivARB":_emscripten_glGetObjectParameterivARB,"_emscripten_glGetUniformiv":_emscripten_glGetUniformiv,"_eglDestroySurface":_eglDestroySurface,"_sigaction":_sigaction,"_difftime":_difftime,"_emscripten_set_mousemove_callback":_emscripten_set_mousemove_callback,"_emscripten_glDeleteTextures":_emscripten_glDeleteTextures,"_eglDestroyContext":_eglDestroyContext,"_emscripten_exit_fullscreen":_emscripten_exit_fullscreen,"_strftime_l":_strftime_l,"__exit":__exit,"_alGetListenerfv":_alGetListenerfv,"_emscripten_glColorMask":_emscripten_glColorMask,"_pthread_mutex_unlock":_pthread_mutex_unlock,"_emscripten_glBindTexture":_emscripten_glBindTexture,"_emscripten_set_main_loop":_emscripten_set_main_loop,"_alGenSources":_alGenSources,"_emscripten_glIsShader":_emscripten_glIsShader,"_emscripten_asm_const_iiii":_emscripten_asm_const_iiii,"_alcOpenDevice":_alcOpenDevice,"_emscripten_glCompressedTexImage2D":_emscripten_glCompressedTexImage2D,"_emscripten_glGetInfoLogARB":_emscripten_glGetInfoLogARB,"_emscripten_longjmp":_emscripten_longjmp,"_atexit":_atexit,"_emscripten_glDeleteVertexArrays":_emscripten_glDeleteVertexArrays,"_emscripten_glReleaseShaderCompiler":_emscripten_glReleaseShaderCompiler,"_dlsym":_dlsym,"___cxa_guard_acquire":___cxa_guard_acquire,"_emscripten_glFrontFace":_emscripten_glFrontFace,"__ZSt18uncaught_exceptionv":__ZSt18uncaught_exceptionv,"_emscripten_glUseProgram":_emscripten_glUseProgram,"__addDays":__addDays,"_emscripten_set_touchmove_callback":_emscripten_set_touchmove_callback,"_emscripten_glUniform3iv":_emscripten_glUniform3iv,"_emscripten_set_main_loop_arg":_emscripten_set_main_loop_arg,"_sysconf":_sysconf,"_emscripten_glLineWidth":_emscripten_glLineWidth,"_emscripten_glScissor":_emscripten_glScissor,"_pthread_cleanup_push":_pthread_cleanup_push,"_emscripten_set_element_css_size":_emscripten_set_element_css_size,"_alSourcePlay":_alSourcePlay,"_emscripten_glIsBuffer":_emscripten_glIsBuffer,"_emscripten_glVertexAttrib1f":_emscripten_glVertexAttrib1f,"_emscripten_set_keyup_callback":_emscripten_set_keyup_callback,"_emscripten_glCompressedTexSubImage2D":_emscripten_glCompressedTexSubImage2D,"_emscripten_glGetAttachedShaders":_emscripten_glGetAttachedShaders,"_emscripten_glGenTextures":_emscripten_glGenTextures,"_alcCaptureSamples":_alcCaptureSamples,"_eglGetConfigAttrib":_eglGetConfigAttrib,"_alGetSourcei":_alGetSourcei,"_alGetSourcef":_alGetSourcef,"_gmtime":_gmtime,"_alSourceQueueBuffers":_alSourceQueueBuffers,"_emscripten_glGetTexParameteriv":_emscripten_glGetTexParameteriv,"___syscall330":___syscall330,"_emscripten_set_mousedown_callback":_emscripten_set_mousedown_callback,"_emscripten_glClientActiveTexture":_emscripten_glClientActiveTexture,"_emscripten_glCheckFramebufferStatus":_emscripten_glCheckFramebufferStatus,"_eglWaitGL":_eglWaitGL,"___syscall118":___syscall118,"_emscripten_glUniform3f":_emscripten_glUniform3f,"_emscripten_glUniform3i":_emscripten_glUniform3i,"_emscripten_glDeleteShader":_emscripten_glDeleteShader,"_alDeleteSources":_alDeleteSources,"_emscripten_glGetUniformLocation":_emscripten_glGetUniformLocation,"_emscripten_glEnableVertexAttribArray":_emscripten_glEnableVertexAttribArray,"_alGetError":_alGetError,"_emscripten_get_now":_emscripten_get_now,"__registerRestoreOldStyle":__registerRestoreOldStyle,"emscriptenWebGLGetTexPixelData":emscriptenWebGLGetTexPixelData,"_gettimeofday":_gettimeofday,"_eglWaitNative":_eglWaitNative,"___syscall202":___syscall202,"_emscripten_glEnableClientState":_emscripten_glEnableClientState,"_eglChooseConfig":_eglChooseConfig,"___cxa_allocate_exception":___cxa_allocate_exception,"_emscripten_get_num_gamepads":_emscripten_get_num_gamepads,"___buildEnvironment":___buildEnvironment,"_tzset":_tzset,"_emscripten_glGetAttribLocation":_emscripten_glGetAttribLocation,"_emscripten_glDisable":_emscripten_glDisable,"_emscripten_glDeleteRenderbuffers":_emscripten_glDeleteRenderbuffers,"_emscripten_glDrawElementsInstanced":_emscripten_glDrawElementsInstanced,"_emscripten_glVertexAttrib4f":_emscripten_glVertexAttrib4f,"_emscripten_glPixelStorei":_emscripten_glPixelStorei,"_llvm_fabs_f32":_llvm_fabs_f32,"_getenv":_getenv,"_emscripten_set_gamepaddisconnected_callback":_emscripten_set_gamepaddisconnected_callback,"_llvm_cttz_i64":_llvm_cttz_i64,"_gethostbyname":_gethostbyname,"_alcCloseDevice":_alcCloseDevice,"_emscripten_glFramebufferRenderbuffer":_emscripten_glFramebufferRenderbuffer,"_alcCaptureStart":_alcCaptureStart,"_llvm_ctpop_i32":_llvm_ctpop_i32,"_emscripten_glRotatef":_emscripten_glRotatef,"_emscripten_glGetShaderiv":_emscripten_glGetShaderiv,"_emscripten_get_battery_status":_emscripten_get_battery_status,"___cxa_pure_virtual":___cxa_pure_virtual,"_emscripten_glUniformMatrix4fv":_emscripten_glUniformMatrix4fv,"_emscripten_glGetPointerv":_emscripten_glGetPointerv,"_pthread_cond_wait":_pthread_cond_wait,"_emscripten_set_touchstart_callback":_emscripten_set_touchstart_callback,"_emscripten_glIsRenderbuffer":_emscripten_glIsRenderbuffer,"_emscripten_request_pointerlock":_emscripten_request_pointerlock,"___syscall40":___syscall40,"_llvm_bswap_i64":_llvm_bswap_i64,"_emscripten_set_touchcancel_callback":_emscripten_set_touchcancel_callback,"__inet_pton6_raw":__inet_pton6_raw,"_emscripten_set_focus_callback":_emscripten_set_focus_callback,"_emscripten_glGetVertexAttribfv":_emscripten_glGetVertexAttribfv,"_emscripten_glVertexAttrib3fv":_emscripten_glVertexAttrib3fv,"_emscripten_glCompileShader":_emscripten_glCompileShader,"_glClear":_glClear,"__arraySum":__arraySum,"_emscripten_glLinkProgram":_emscripten_glLinkProgram,"_alDeleteBuffers":_alDeleteBuffers,"_alGetSourcefv":_alGetSourcefv,"_emscripten_get_pointerlock_status":_emscripten_get_pointerlock_status,"_emscripten_glDrawRangeElements":_emscripten_glDrawRangeElements,"___unlock":___unlock,"_pthread_setspecific":_pthread_setspecific,"_emscripten_glClearColor":_emscripten_glClearColor,"_emscripten_glCreateProgram":_emscripten_glCreateProgram,"_emscripten_glDetachShader":_emscripten_glDetachShader,"_setenv":_setenv,"_emscripten_do_request_fullscreen":_emscripten_do_request_fullscreen,"_emscripten_set_mouseleave_callback":_emscripten_set_mouseleave_callback,"_emscripten_get_element_css_size":_emscripten_get_element_css_size,"_emscripten_set_fullscreenchange_callback":_emscripten_set_fullscreenchange_callback,"_emscripten_glVertexAttribPointer":_emscripten_glVertexAttribPointer,"_alBufferData":_alBufferData,"_emscripten_glDrawArrays":_emscripten_glDrawArrays,"_emscripten_glPolygonOffset":_emscripten_glPolygonOffset,"_longjmp":_longjmp,"_emscripten_glBlendColor":_emscripten_glBlendColor,"_signal":_signal,"_emscripten_set_main_loop_timing":_emscripten_set_main_loop_timing,"_sbrk":_sbrk,"___cxa_begin_catch":___cxa_begin_catch,"_emscripten_glGetProgramiv":_emscripten_glGetProgramiv,"_emscripten_glGetShaderSource":_emscripten_glGetShaderSource,"_emscripten_glTexImage2D":_emscripten_glTexImage2D,"__isLeapYear":__isLeapYear,"_emscripten_glBlendEquationSeparate":_emscripten_glBlendEquationSeparate,"_emscripten_glGetString":_emscripten_glGetString,"_emscripten_glIsFramebuffer":_emscripten_glIsFramebuffer,"_emscripten_glBindProgramARB":_emscripten_glBindProgramARB,"_glutCreateWindow":_glutCreateWindow,"___syscall85":___syscall85,"_alcGetError":_alcGetError,"_emscripten_glUniform2i":_emscripten_glUniform2i,"_emscripten_glUniform2f":_emscripten_glUniform2f,"_alSourcefv":_alSourcefv,"_emscripten_glTexParameterf":_emscripten_glTexParameterf,"_emscripten_glTexParameteri":_emscripten_glTexParameteri,"_glutInitDisplayMode":_glutInitDisplayMode,"_emscripten_glGenVertexArrays":_emscripten_glGenVertexArrays,"_emscripten_set_visibilitychange_callback":_emscripten_set_visibilitychange_callback,"_eglGetProcAddress":_eglGetProcAddress,"_emscripten_glBindAttribLocation":_emscripten_glBindAttribLocation,"_llvm_pow_f32":_llvm_pow_f32,"_emscripten_glDrawElements":_emscripten_glDrawElements,"_emscripten_set_canvas_size":_emscripten_set_canvas_size,"_emscripten_glTexSubImage2D":_emscripten_glTexSubImage2D,"_emscripten_asm_const_v":_emscripten_asm_const_v,"_emscripten_glClearDepthf":_emscripten_glClearDepthf,"_emscripten_set_mouseenter_callback":_emscripten_set_mouseenter_callback,"_emscripten_glMatrixMode":_emscripten_glMatrixMode,"___syscall10":___syscall10,"_emscripten_glNormalPointer":_emscripten_glNormalPointer,"_emscripten_glHint":_emscripten_glHint,"_emscripten_glEnable":_emscripten_glEnable,"___syscall3":___syscall3,"___lock":___lock,"_emscripten_glBindFramebuffer":_emscripten_glBindFramebuffer,"___syscall6":___syscall6,"___syscall5":___syscall5,"___syscall4":___syscall4,"_emscripten_glBindRenderbuffer":_emscripten_glBindRenderbuffer,"_time":_time,"_emscripten_glGetFramebufferAttachmentParameteriv":_emscripten_glGetFramebufferAttachmentParameteriv,"_exit":_exit,"_emscripten_glGetActiveAttrib":_emscripten_glGetActiveAttrib,"__inet_pton4_raw":__inet_pton4_raw,"___syscall102":___syscall102,"_emscripten_set_keypress_callback":_emscripten_set_keypress_callback,"_emscripten_glShaderBinary":_emscripten_glShaderBinary,"_emscripten_glGetShaderInfoLog":_emscripten_glGetShaderInfoLog,"_emscripten_glGetVertexAttribPointerv":_emscripten_glGetVertexAttribPointerv,"_llvm_sqrt_f64":_llvm_sqrt_f64,"_alSourceRewind":_alSourceRewind,"_emscripten_glGetActiveUniform":_emscripten_glGetActiveUniform,"emscriptenWebGLGetVertexAttrib":emscriptenWebGLGetVertexAttrib,"___syscall197":___syscall197,"___syscall196":___syscall196,"___syscall195":___syscall195,"_eglSwapInterval":_eglSwapInterval,"___syscall199":___syscall199,"_emscripten_glDeleteProgram":_emscripten_glDeleteProgram,"_glutDestroyWindow":_glutDestroyWindow,"_emscripten_glCreateShader":_emscripten_glCreateShader,"_pthread_mutex_destroy":_pthread_mutex_destroy,"_emscripten_glColorPointer":_emscripten_glColorPointer,"_emscripten_glViewport":_emscripten_glViewport,"_pthread_cond_broadcast":_pthread_cond_broadcast,"_emscripten_glDepthMask":_emscripten_glDepthMask,"_alcCaptureStop":_alcCaptureStop,"_emscripten_glDrawBuffers":_emscripten_glDrawBuffers,"_alSourceStop":_alSourceStop,"_emscripten_exit_pointerlock":_emscripten_exit_pointerlock,"_emscripten_set_gamepadconnected_callback":_emscripten_set_gamepadconnected_callback,"_abort":_abort,"_emscripten_glGenFramebuffers":_emscripten_glGenFramebuffers,"_emscripten_glLoadIdentity":_emscripten_glLoadIdentity,"_emscripten_glShaderSource":_emscripten_glShaderSource,"___gxx_personality_v0":___gxx_personality_v0,"_system":_system,"_usleep":_usleep,"_emscripten_set_touchend_callback":_emscripten_set_touchend_callback,"_emscripten_glGetRenderbufferParameteriv":_emscripten_glGetRenderbufferParameteriv,"_eglTerminate":_eglTerminate,"_emscripten_glSampleCoverage":_emscripten_glSampleCoverage,"_emscripten_glFrustum":_emscripten_glFrustum,"_emscripten_glDepthRangef":_emscripten_glDepthRangef,"_emscripten_glGenerateMipmap":_emscripten_glGenerateMipmap,"_emscripten_glIsTexture":_emscripten_glIsTexture,"_emscripten_glBindVertexArray":_emscripten_glBindVertexArray,"_emscripten_glActiveTexture":_emscripten_glActiveTexture,"_emscripten_set_wheel_callback":_emscripten_set_wheel_callback,"_emscripten_glDeleteBuffers":_emscripten_glDeleteBuffers,"___syscall54":___syscall54,"_emscripten_glUniform2iv":_emscripten_glUniform2iv,"_emscripten_asm_const_i":_emscripten_asm_const_i,"_emscripten_glCopyTexSubImage2D":_emscripten_glCopyTexSubImage2D,"_alSourceUnqueueBuffers":_alSourceUnqueueBuffers,"STACKTOP":STACKTOP,"STACK_MAX":STACK_MAX,"tempDoublePtr":tempDoublePtr,"ABORT":ABORT,"cttz_i8":cttz_i8};// EMSCRIPTEN_START_ASM var asm=(function(global,env,buffer) { -"use asm";var a=new global.Int8Array(buffer);var b=new global.Int16Array(buffer);var c=new global.Int32Array(buffer);var d=new global.Uint8Array(buffer);var e=new global.Uint16Array(buffer);var f=new global.Uint32Array(buffer);var g=new global.Float32Array(buffer);var h=new global.Float64Array(buffer);var i=env.STACKTOP|0;var j=env.STACK_MAX|0;var k=env.tempDoublePtr|0;var l=env.ABORT|0;var m=env.cttz_i8|0;var n=0;var o=0;var p=0;var q=0;var r=global.NaN,s=global.Infinity;var t=0,u=0,v=0,w=0,x=0.0,y=0,z=0,A=0,B=0.0;var C=0;var D=0;var E=0;var F=0;var G=0;var H=0;var I=0;var J=0;var K=0;var L=0;var M=global.Math.floor;var N=global.Math.abs;var O=global.Math.sqrt;var P=global.Math.pow;var Q=global.Math.cos;var R=global.Math.sin;var S=global.Math.tan;var T=global.Math.acos;var U=global.Math.asin;var V=global.Math.atan;var W=global.Math.atan2;var X=global.Math.exp;var Y=global.Math.log;var Z=global.Math.ceil;var _=global.Math.imul;var $=global.Math.min;var aa=global.Math.clz32;var ba=env.abort;var ca=env.assert;var da=env.invoke_iiiiiiii;var ea=env.invoke_iiiiiid;var fa=env.invoke_vd;var ga=env.invoke_vid;var ha=env.invoke_viiiii;var ia=env.invoke_iiiiiiiiii;var ja=env.invoke_vii;var ka=env.invoke_iiiiiii;var la=env.invoke_viddddddddd;var ma=env.invoke_ii;var na=env.invoke_ddddd;var oa=env.invoke_viiiiiiiiiii;var pa=env.invoke_viddii;var qa=env.invoke_viidi;var ra=env.invoke_viidddd;var sa=env.invoke_viddd;var ta=env.invoke_iiiiii;var ua=env.invoke_vidi;var va=env.invoke_vdddddd;var wa=env.invoke_vidd;var xa=env.invoke_iiii;var ya=env.invoke_vi;var za=env.invoke_viiiiii;var Aa=env.invoke_diiiid;var Ba=env.invoke_ddd;var Ca=env.invoke_viid;var Da=env.invoke_di;var Ea=env.invoke_vdi;var Fa=env.invoke_dd;var Ga=env.invoke_viiiiiiii;var Ha=env.invoke_vidddd;var Ia=env.invoke_iid;var Ja=env.invoke_dddd;var Ka=env.invoke_viiiiiii;var La=env.invoke_iiddd;var Ma=env.invoke_viiiiiiiii;var Na=env.invoke_viiiiiiiiii;var Oa=env.invoke_iii;var Pa=env.invoke_diii;var Qa=env.invoke_viiddddddddd;var Ra=env.invoke_dii;var Sa=env.invoke_viii;var Ta=env.invoke_did;var Ua=env.invoke_iiiiidii;var Va=env.invoke_iiiii;var Wa=env.invoke_i;var Xa=env.invoke_vdddd;var Ya=env.invoke_vdd;var Za=env.invoke_v;var _a=env.invoke_iiiiiiiii;var $a=env.invoke_viiiiiiiid;var ab=env.invoke_iiiiid;var bb=env.invoke_viiii;var cb=env._emscripten_glGetTexParameterfv;var db=env.___syscall221;var eb=env.__inet_ntop6_raw;var fb=env.___syscall220;var gb=env._emscripten_glBlendFuncSeparate;var hb=env._emscripten_glGetIntegerv;var ib=env.___assert_fail;var jb=env._emscripten_glDepthFunc;var kb=env._emscripten_memcpy_big;var lb=env._emscripten_glUniform1f;var mb=env.emscriptenWebGLComputeImageSize;var nb=env._alGetFloat;var ob=env._emscripten_glUniform1i;var pb=env._emscripten_glIsProgram;var qb=env._gmtime_r;var rb=env._emscripten_glTexParameteriv;var sb=env.___syscall140;var tb=env._alSourcePause;var ub=env.___syscall142;var vb=env.___syscall145;var wb=env.___syscall146;var xb=env._emscripten_glAttachShader;var yb=env._emscripten_get_now_is_monotonic;var zb=env._alcCreateContext;var Ab=env._emscripten_glTexParameterfv;var Bb=env.__inet_ntop4_raw;var Cb=env._emscripten_glUniformMatrix2fv;var Db=env._emscripten_glDrawArraysInstanced;var Eb=env._alcMakeContextCurrent;var Fb=env._emscripten_glVertexAttrib2fv;var Gb=env._emscripten_glBufferData;var Hb=env._alSourcef;var Ib=env._emscripten_glFlush;var Jb=env._alSourcei;var Kb=env._alGenBuffers;var Lb=env._nanosleep;var Mb=env._pthread_once;var Nb=env._eglWaitClient;var Ob=env._emscripten_glTexCoordPointer;var Pb=env._emscripten_set_blur_callback;var Qb=env._emscripten_glLoadMatrixf;var Rb=env._emscripten_glStencilFuncSeparate;var Sb=env._emscripten_glVertexAttrib3f;var Tb=env._pthread_mutex_lock;var Ub=env._dlerror;var Vb=env._emscripten_get_gamepad_status;var Wb=env.___syscall20;var Xb=env._emscripten_glUniform1iv;var Yb=env._alListenerfv;var Zb=env.emscriptenWebGLGetUniform;var _b=env._emscripten_glGetBufferParameteriv;var $b=env._emscripten_glVertexAttrib4fv;var ac=env._pthread_getspecific;var bc=env._alListenerf;var cc=env._emscripten_glDepthRange;var dc=env._emscripten_asm_const_iii;var ec=env._eglMakeCurrent;var fc=env._emscripten_glCopyTexImage2D;var gc=env._emscripten_glFramebufferTexture2D;var hc=env._emscripten_glStencilFunc;var ic=env.___syscall183;var jc=env._alDistanceModel;var kc=env._localtime;var lc=env._emscripten_glRenderbufferStorage;var mc=env._emscripten_set_keydown_callback;var nc=env._emscripten_glVertexPointer;var oc=env.__read_sockaddr;var pc=env._eglInitialize;var qc=env._emscripten_glBufferSubData;var rc=env._emscripten_glGetUniformfv;var sc=env._emscripten_glStencilOp;var tc=env._emscripten_glBlendEquation;var uc=env._pthread_self;var vc=env._emscripten_glVertexAttrib1fv;var wc=env._dlclose;var xc=env._emscripten_glGetProgramInfoLog;var yc=env._getpwuid;var zc=env.___cxa_throw;var Ac=env._emscripten_glUniform2fv;var Bc=env._emscripten_glBindBuffer;var Cc=env._emscripten_glGetFloatv;var Dc=env._pthread_mutex_init;var Ec=env._emscripten_glGenRenderbuffers;var Fc=env._eglGetDisplay;var Gc=env.___syscall63;var Hc=env._emscripten_glCullFace;var Ic=env._llvm_fabs_f64;var Jc=env._emscripten_glStencilMaskSeparate;var Kc=env._emscripten_glUniform3fv;var Lc=env._emscripten_asm_const_ii;var Mc=env._alSource3f;var Nc=env.___syscall265;var Oc=env._emscripten_glDisableVertexAttribArray;var Pc=env._eglBindAPI;var Qc=env._eglCreateContext;var Rc=env._clock;var Sc=env._emscripten_glGetBooleanv;var Tc=env._emscripten_glVertexAttribDivisor;var Uc=env._emscripten_glGenBuffers;var Vc=env._emscripten_glDeleteObjectARB;var Wc=env._emscripten_glGetShaderPrecisionFormat;var Xc=env.__write_sockaddr;var Yc=env._emscripten_request_fullscreen_strategy;var Zc=env._emscripten_glIsEnabled;var _c=env._alGetListenerf;var $c=env._emscripten_glStencilOpSeparate;var ad=env._pthread_cleanup_pop;var bd=env._emscripten_asm_const_iiiii;var cd=env.___syscall122;var dd=env.___cxa_find_matching_catch;var ed=env._emscripten_glClear;var fd=env.___cxa_guard_release;var gd=env._emscripten_glValidateProgram;var hd=env._emscripten_glUniform4iv;var id=env.___setErrNo;var jd=env._eglSwapBuffers;var kd=env._emscripten_glVertexAttrib2f;var ld=env.___resumeException;var md=env._mktime;var nd=env._emscripten_glGetError;var od=env._gethostbyaddr;var pd=env._emscripten_glReadPixels;var qd=env._eglCreateWindowSurface;var rd=env._emscripten_glClearStencil;var sd=env.emscriptenWebGLGet;var td=env._emscripten_get_device_pixel_ratio;var ud=env._emscripten_set_mouseup_callback;var vd=env._emscripten_glFinish;var wd=env._emscripten_glClearDepth;var xd=env._emscripten_glUniform1fv;var yd=env._emscripten_set_resize_callback;var zd=env._emscripten_glUniform4i;var Ad=env._alDopplerFactor;var Bd=env._llvm_pow_f64;var Cd=env._emscripten_glUniform4f;var Dd=env._emscripten_glBlendFunc;var Ed=env._emscripten_glStencilMask;var Fd=env._alcGetIntegerv;var Gd=env._localtime_r;var Hd=env._clock_gettime;var Id=env._strftime;var Jd=env._alcDestroyContext;var Kd=env._emscripten_glGetVertexAttribiv;var Ld=env._emscripten_glUniformMatrix3fv;var Md=env.___syscall33;var Nd=env._pthread_key_create;var Od=env._emscripten_glDeleteFramebuffers;var Pd=env.__setLetterbox;var Qd=env.___syscall39;var Rd=env.___syscall38;var Sd=env._emscripten_glUniform4fv;var Td=env._emscripten_glGetObjectParameterivARB;var Ud=env._emscripten_glGetUniformiv;var Vd=env._eglDestroySurface;var Wd=env._sigaction;var Xd=env._difftime;var Yd=env._emscripten_set_mousemove_callback;var Zd=env._emscripten_glDeleteTextures;var _d=env._eglDestroyContext;var $d=env._emscripten_exit_fullscreen;var ae=env._strftime_l;var be=env.__exit;var ce=env._alGetListenerfv;var de=env._emscripten_glColorMask;var ee=env._pthread_mutex_unlock;var fe=env._emscripten_glBindTexture;var ge=env._emscripten_set_main_loop;var he=env._alGenSources;var ie=env._emscripten_glIsShader;var je=env._emscripten_asm_const_iiii;var ke=env._alcOpenDevice;var le=env._emscripten_glCompressedTexImage2D;var me=env._emscripten_glGetInfoLogARB;var ne=env._emscripten_longjmp;var oe=env._atexit;var pe=env._emscripten_glDeleteVertexArrays;var qe=env._emscripten_glReleaseShaderCompiler;var re=env._dlsym;var se=env.___cxa_guard_acquire;var te=env._emscripten_glFrontFace;var ue=env.__ZSt18uncaught_exceptionv;var ve=env._emscripten_glUseProgram;var we=env.__addDays;var xe=env._emscripten_set_touchmove_callback;var ye=env._emscripten_glUniform3iv;var ze=env._emscripten_set_main_loop_arg;var Ae=env._sysconf;var Be=env._emscripten_glLineWidth;var Ce=env._emscripten_glScissor;var De=env._pthread_cleanup_push;var Ee=env._emscripten_set_element_css_size;var Fe=env._alSourcePlay;var Ge=env._emscripten_glIsBuffer;var He=env._emscripten_glVertexAttrib1f;var Ie=env._emscripten_set_keyup_callback;var Je=env._emscripten_glCompressedTexSubImage2D;var Ke=env._emscripten_glGetAttachedShaders;var Le=env._emscripten_glGenTextures;var Me=env._alcCaptureSamples;var Ne=env._eglGetConfigAttrib;var Oe=env._alGetSourcei;var Pe=env._alGetSourcef;var Qe=env._gmtime;var Re=env._alSourceQueueBuffers;var Se=env._emscripten_glGetTexParameteriv;var Te=env.___syscall330;var Ue=env._emscripten_set_mousedown_callback;var Ve=env._emscripten_glClientActiveTexture;var We=env._emscripten_glCheckFramebufferStatus;var Xe=env._eglWaitGL;var Ye=env.___syscall118;var Ze=env._emscripten_glUniform3f;var _e=env._emscripten_glUniform3i;var $e=env._emscripten_glDeleteShader;var af=env._alDeleteSources;var bf=env._emscripten_glGetUniformLocation;var cf=env._emscripten_glEnableVertexAttribArray;var df=env._alGetError;var ef=env._emscripten_get_now;var ff=env.__registerRestoreOldStyle;var gf=env.emscriptenWebGLGetTexPixelData;var hf=env._gettimeofday;var jf=env._eglWaitNative;var kf=env.___syscall202;var lf=env._emscripten_glEnableClientState;var mf=env._eglChooseConfig;var nf=env.___cxa_allocate_exception;var of=env._emscripten_get_num_gamepads;var pf=env.___buildEnvironment;var qf=env._tzset;var rf=env._emscripten_glGetAttribLocation;var sf=env._emscripten_glDisable;var tf=env._emscripten_glDeleteRenderbuffers;var uf=env._emscripten_glDrawElementsInstanced;var vf=env._emscripten_glVertexAttrib4f;var wf=env._emscripten_glPixelStorei;var xf=env._llvm_fabs_f32;var yf=env._getenv;var zf=env._emscripten_set_gamepaddisconnected_callback;var Af=env._llvm_cttz_i64;var Bf=env._gethostbyname;var Cf=env._alcCloseDevice;var Df=env._emscripten_glFramebufferRenderbuffer;var Ef=env._alcCaptureStart;var Ff=env._llvm_ctpop_i32;var Gf=env._emscripten_glRotatef;var Hf=env._emscripten_glGetShaderiv;var If=env._emscripten_get_battery_status;var Jf=env.___cxa_pure_virtual;var Kf=env._emscripten_glUniformMatrix4fv;var Lf=env._emscripten_glGetPointerv;var Mf=env._pthread_cond_wait;var Nf=env._emscripten_set_touchstart_callback;var Of=env._emscripten_glIsRenderbuffer;var Pf=env._emscripten_request_pointerlock;var Qf=env.___syscall40;var Rf=env._llvm_bswap_i64;var Sf=env._emscripten_set_touchcancel_callback;var Tf=env.__inet_pton6_raw;var Uf=env._emscripten_set_focus_callback;var Vf=env._emscripten_glGetVertexAttribfv;var Wf=env._emscripten_glVertexAttrib3fv;var Xf=env._emscripten_glCompileShader;var Yf=env._glClear;var Zf=env.__arraySum;var _f=env._emscripten_glLinkProgram;var $f=env._alDeleteBuffers;var ag=env._alGetSourcefv;var bg=env._emscripten_get_pointerlock_status;var cg=env._emscripten_glDrawRangeElements;var dg=env.___unlock;var eg=env._pthread_setspecific;var fg=env._emscripten_glClearColor;var gg=env._emscripten_glCreateProgram;var hg=env._emscripten_glDetachShader;var ig=env._setenv;var jg=env._emscripten_do_request_fullscreen;var kg=env._emscripten_set_mouseleave_callback;var lg=env._emscripten_get_element_css_size;var mg=env._emscripten_set_fullscreenchange_callback;var ng=env._emscripten_glVertexAttribPointer;var og=env._alBufferData;var pg=env._emscripten_glDrawArrays;var qg=env._emscripten_glPolygonOffset;var rg=env._longjmp;var sg=env._emscripten_glBlendColor;var tg=env._signal;var ug=env._emscripten_set_main_loop_timing;var vg=env._sbrk;var wg=env.___cxa_begin_catch;var xg=env._emscripten_glGetProgramiv;var yg=env._emscripten_glGetShaderSource;var zg=env._emscripten_glTexImage2D;var Ag=env.__isLeapYear;var Bg=env._emscripten_glBlendEquationSeparate;var Cg=env._emscripten_glGetString;var Dg=env._emscripten_glIsFramebuffer;var Eg=env._emscripten_glBindProgramARB;var Fg=env._glutCreateWindow;var Gg=env.___syscall85;var Hg=env._alcGetError;var Ig=env._emscripten_glUniform2i;var Jg=env._emscripten_glUniform2f;var Kg=env._alSourcefv;var Lg=env._emscripten_glTexParameterf;var Mg=env._emscripten_glTexParameteri;var Ng=env._glutInitDisplayMode;var Og=env._emscripten_glGenVertexArrays;var Pg=env._emscripten_set_visibilitychange_callback;var Qg=env._eglGetProcAddress;var Rg=env._emscripten_glBindAttribLocation;var Sg=env._llvm_pow_f32;var Tg=env._emscripten_glDrawElements;var Ug=env._emscripten_set_canvas_size;var Vg=env._emscripten_glTexSubImage2D;var Wg=env._emscripten_asm_const_v;var Xg=env._emscripten_glClearDepthf;var Yg=env._emscripten_set_mouseenter_callback;var Zg=env._emscripten_glMatrixMode;var _g=env.___syscall10;var $g=env._emscripten_glNormalPointer;var ah=env._emscripten_glHint;var bh=env._emscripten_glEnable;var ch=env.___syscall3;var dh=env.___lock;var eh=env._emscripten_glBindFramebuffer;var fh=env.___syscall6;var gh=env.___syscall5;var hh=env.___syscall4;var ih=env._emscripten_glBindRenderbuffer;var jh=env._time;var kh=env._emscripten_glGetFramebufferAttachmentParameteriv;var lh=env._exit;var mh=env._emscripten_glGetActiveAttrib;var nh=env.__inet_pton4_raw;var oh=env.___syscall102;var ph=env._emscripten_set_keypress_callback;var qh=env._emscripten_glShaderBinary;var rh=env._emscripten_glGetShaderInfoLog;var sh=env._emscripten_glGetVertexAttribPointerv;var th=env._llvm_sqrt_f64;var uh=env._alSourceRewind;var vh=env._emscripten_glGetActiveUniform;var wh=env.emscriptenWebGLGetVertexAttrib;var xh=env.___syscall197;var yh=env.___syscall196;var zh=env.___syscall195;var Ah=env._eglSwapInterval;var Bh=env.___syscall199;var Ch=env._emscripten_glDeleteProgram;var Dh=env._glutDestroyWindow;var Eh=env._emscripten_glCreateShader;var Fh=env._pthread_mutex_destroy;var Gh=env._emscripten_glColorPointer;var Hh=env._emscripten_glViewport;var Ih=env._pthread_cond_broadcast;var Jh=env._emscripten_glDepthMask;var Kh=env._alcCaptureStop;var Lh=env._emscripten_glDrawBuffers;var Mh=env._alSourceStop;var Nh=env._emscripten_exit_pointerlock;var Oh=env._emscripten_set_gamepadconnected_callback;var Ph=env._abort;var Qh=env._emscripten_glGenFramebuffers;var Rh=env._emscripten_glLoadIdentity;var Sh=env._emscripten_glShaderSource;var Th=env.___gxx_personality_v0;var Uh=env._system;var Vh=env._usleep;var Wh=env._emscripten_set_touchend_callback;var Xh=env._emscripten_glGetRenderbufferParameteriv;var Yh=env._eglTerminate;var Zh=env._emscripten_glSampleCoverage;var _h=env._emscripten_glFrustum;var $h=env._emscripten_glDepthRangef;var ai=env._emscripten_glGenerateMipmap;var bi=env._emscripten_glIsTexture;var ci=env._emscripten_glBindVertexArray;var di=env._emscripten_glActiveTexture;var ei=env._emscripten_set_wheel_callback;var fi=env._emscripten_glDeleteBuffers;var gi=env.___syscall54;var hi=env._emscripten_glUniform2iv;var ii=env._emscripten_asm_const_i;var ji=env._emscripten_glCopyTexSubImage2D;var ki=env._alSourceUnqueueBuffers;var li=0.0; +"almost asm";var a=global.Int8Array;var b=global.Int16Array;var c=global.Int32Array;var d=global.Uint8Array;var e=global.Uint16Array;var f=global.Uint32Array;var g=global.Float32Array;var h=global.Float64Array;var i=new a(buffer);var j=new b(buffer);var k=new c(buffer);var l=new d(buffer);var m=new e(buffer);var n=new f(buffer);var o=new g(buffer);var p=new h(buffer);var q=global.byteLength;var r=env.STACKTOP|0;var s=env.STACK_MAX|0;var t=env.tempDoublePtr|0;var u=env.ABORT|0;var v=env.cttz_i8|0;var w=0;var x=0;var y=0;var z=0;var A=global.NaN,B=global.Infinity;var C=0,D=0,E=0,F=0,G=0.0,H=0,I=0,J=0,K=0.0;var L=0;var M=0;var N=0;var O=0;var P=0;var Q=0;var R=0;var S=0;var T=0;var U=0;var V=global.Math.floor;var W=global.Math.abs;var X=global.Math.sqrt;var Y=global.Math.pow;var Z=global.Math.cos;var _=global.Math.sin;var $=global.Math.tan;var aa=global.Math.acos;var ba=global.Math.asin;var ca=global.Math.atan;var da=global.Math.atan2;var ea=global.Math.exp;var fa=global.Math.log;var ga=global.Math.ceil;var ha=global.Math.imul;var ia=global.Math.min;var ja=global.Math.clz32;var ka=env.abort;var la=env.assert;var ma=env.invoke_iiiiiiii;var na=env.invoke_iiiiiid;var oa=env.invoke_vd;var pa=env.invoke_vid;var qa=env.invoke_viiiii;var ra=env.invoke_iiiiiiiiii;var sa=env.invoke_vii;var ta=env.invoke_iiiiiii;var ua=env.invoke_viddddddddd;var va=env.invoke_ii;var wa=env.invoke_ddddd;var xa=env.invoke_viiiiiiiiiii;var ya=env.invoke_viddii;var za=env.invoke_viidi;var Aa=env.invoke_viidddd;var Ba=env.invoke_viddd;var Ca=env.invoke_iiiiii;var Da=env.invoke_vidi;var Ea=env.invoke_vdddddd;var Fa=env.invoke_vidd;var Ga=env.invoke_iiii;var Ha=env.invoke_vi;var Ia=env.invoke_viiiiii;var Ja=env.invoke_diiiid;var Ka=env.invoke_ddd;var La=env.invoke_viid;var Ma=env.invoke_di;var Na=env.invoke_vdi;var Oa=env.invoke_dd;var Pa=env.invoke_viiiiiiii;var Qa=env.invoke_vidddd;var Ra=env.invoke_iid;var Sa=env.invoke_dddd;var Ta=env.invoke_viiiiiii;var Ua=env.invoke_iiddd;var Va=env.invoke_viiiiiiiii;var Wa=env.invoke_viiiiiiiiii;var Xa=env.invoke_iii;var Ya=env.invoke_diii;var Za=env.invoke_viiddddddddd;var _a=env.invoke_dii;var $a=env.invoke_viii;var ab=env.invoke_did;var bb=env.invoke_iiiiidii;var cb=env.invoke_iiiii;var db=env.invoke_i;var eb=env.invoke_vdddd;var fb=env.invoke_vdd;var gb=env.invoke_v;var hb=env.invoke_iiiiiiiii;var ib=env.invoke_viiiiiiiid;var jb=env.invoke_iiiiid;var kb=env.invoke_viiii;var lb=env._emscripten_glGetTexParameterfv;var mb=env.___syscall221;var nb=env.__inet_ntop6_raw;var ob=env.___syscall220;var pb=env._emscripten_glBlendFuncSeparate;var qb=env._emscripten_glGetIntegerv;var rb=env.___assert_fail;var sb=env._emscripten_glDepthFunc;var tb=env._emscripten_memcpy_big;var ub=env._emscripten_glUniform1f;var vb=env.emscriptenWebGLComputeImageSize;var wb=env._alGetFloat;var xb=env._emscripten_glUniform1i;var yb=env._emscripten_glIsProgram;var zb=env._gmtime_r;var Ab=env._emscripten_glTexParameteriv;var Bb=env.___syscall140;var Cb=env._alSourcePause;var Db=env.___syscall142;var Eb=env.___syscall145;var Fb=env.___syscall146;var Gb=env._emscripten_glAttachShader;var Hb=env._emscripten_get_now_is_monotonic;var Ib=env._alcCreateContext;var Jb=env._emscripten_glTexParameterfv;var Kb=env.__inet_ntop4_raw;var Lb=env._emscripten_glUniformMatrix2fv;var Mb=env._emscripten_glDrawArraysInstanced;var Nb=env._alcMakeContextCurrent;var Ob=env._emscripten_glVertexAttrib2fv;var Pb=env._emscripten_glBufferData;var Qb=env._alSourcef;var Rb=env._emscripten_glFlush;var Sb=env._alSourcei;var Tb=env._alGenBuffers;var Ub=env._nanosleep;var Vb=env._pthread_once;var Wb=env._dlopen;var Xb=env._eglWaitClient;var Yb=env._emscripten_glTexCoordPointer;var Zb=env._emscripten_set_blur_callback;var _b=env._emscripten_glLoadMatrixf;var $b=env._emscripten_glStencilFuncSeparate;var ac=env._emscripten_glVertexAttrib3f;var bc=env._pthread_mutex_lock;var cc=env._dlerror;var dc=env._emscripten_get_gamepad_status;var ec=env.___syscall20;var fc=env._emscripten_glUniform1iv;var gc=env._alListenerfv;var hc=env.emscriptenWebGLGetUniform;var ic=env._emscripten_glGetBufferParameteriv;var jc=env._emscripten_glVertexAttrib4fv;var kc=env._pthread_getspecific;var lc=env._alListenerf;var mc=env._emscripten_glDepthRange;var nc=env._emscripten_asm_const_iii;var oc=env._eglMakeCurrent;var pc=env._emscripten_glCopyTexImage2D;var qc=env._emscripten_glFramebufferTexture2D;var rc=env._emscripten_glStencilFunc;var sc=env.___syscall183;var tc=env._alDistanceModel;var uc=env._localtime;var vc=env._emscripten_glRenderbufferStorage;var wc=env._emscripten_set_keydown_callback;var xc=env._emscripten_glVertexPointer;var yc=env.__read_sockaddr;var zc=env._eglInitialize;var Ac=env._emscripten_glBufferSubData;var Bc=env._emscripten_glGetUniformfv;var Cc=env._emscripten_glStencilOp;var Dc=env._emscripten_glBlendEquation;var Ec=env._pthread_self;var Fc=env._emscripten_glVertexAttrib1fv;var Gc=env._dlclose;var Hc=env._emscripten_glGetProgramInfoLog;var Ic=env._getpwuid;var Jc=env.___cxa_throw;var Kc=env._emscripten_glUniform2fv;var Lc=env._emscripten_glBindBuffer;var Mc=env._emscripten_glGetFloatv;var Nc=env._pthread_mutex_init;var Oc=env._emscripten_glGenRenderbuffers;var Pc=env._eglGetDisplay;var Qc=env.___syscall63;var Rc=env._emscripten_glCullFace;var Sc=env._llvm_fabs_f64;var Tc=env._emscripten_glStencilMaskSeparate;var Uc=env._emscripten_glUniform3fv;var Vc=env._emscripten_asm_const_ii;var Wc=env._alSource3f;var Xc=env.___syscall265;var Yc=env._emscripten_glDisableVertexAttribArray;var Zc=env._eglBindAPI;var _c=env._eglCreateContext;var $c=env._clock;var ad=env._emscripten_glGetBooleanv;var bd=env._emscripten_glVertexAttribDivisor;var cd=env._emscripten_glGenBuffers;var dd=env._emscripten_glDeleteObjectARB;var ed=env._emscripten_glGetShaderPrecisionFormat;var fd=env.__write_sockaddr;var gd=env._emscripten_request_fullscreen_strategy;var hd=env._emscripten_glIsEnabled;var id=env._alGetListenerf;var jd=env._emscripten_glStencilOpSeparate;var kd=env._pthread_cleanup_pop;var ld=env._emscripten_asm_const_iiiii;var md=env.___syscall122;var nd=env.___cxa_find_matching_catch;var od=env._emscripten_glClear;var pd=env.___cxa_guard_release;var qd=env._emscripten_glValidateProgram;var rd=env._emscripten_glUniform4iv;var sd=env.___setErrNo;var td=env._eglSwapBuffers;var ud=env._emscripten_glVertexAttrib2f;var vd=env.___resumeException;var wd=env._mktime;var xd=env._emscripten_glGetError;var yd=env._gethostbyaddr;var zd=env._emscripten_glReadPixels;var Ad=env._eglCreateWindowSurface;var Bd=env._emscripten_glClearStencil;var Cd=env.emscriptenWebGLGet;var Dd=env._emscripten_get_device_pixel_ratio;var Ed=env._emscripten_set_mouseup_callback;var Fd=env._emscripten_glFinish;var Gd=env._emscripten_glClearDepth;var Hd=env._emscripten_glUniform1fv;var Id=env._emscripten_set_resize_callback;var Jd=env._emscripten_glUniform4i;var Kd=env._alDopplerFactor;var Ld=env._llvm_pow_f64;var Md=env._emscripten_glUniform4f;var Nd=env._emscripten_glBlendFunc;var Od=env._emscripten_glStencilMask;var Pd=env._alcGetIntegerv;var Qd=env._localtime_r;var Rd=env._clock_gettime;var Sd=env._strftime;var Td=env._alcDestroyContext;var Ud=env._emscripten_glGetVertexAttribiv;var Vd=env._emscripten_glUniformMatrix3fv;var Wd=env.___syscall33;var Xd=env._pthread_key_create;var Yd=env._emscripten_glDeleteFramebuffers;var Zd=env.__setLetterbox;var _d=env.___syscall39;var $d=env.___syscall38;var ae=env._emscripten_glUniform4fv;var be=env._emscripten_glGetObjectParameterivARB;var ce=env._emscripten_glGetUniformiv;var de=env._eglDestroySurface;var ee=env._sigaction;var fe=env._difftime;var ge=env._emscripten_set_mousemove_callback;var he=env._emscripten_glDeleteTextures;var ie=env._eglDestroyContext;var je=env._emscripten_exit_fullscreen;var ke=env._strftime_l;var le=env.__exit;var me=env._alGetListenerfv;var ne=env._emscripten_glColorMask;var oe=env._pthread_mutex_unlock;var pe=env._emscripten_glBindTexture;var qe=env._emscripten_set_main_loop;var re=env._alGenSources;var se=env._emscripten_glIsShader;var te=env._emscripten_asm_const_iiii;var ue=env._alcOpenDevice;var ve=env._emscripten_glCompressedTexImage2D;var we=env._emscripten_glGetInfoLogARB;var xe=env._emscripten_longjmp;var ye=env._atexit;var ze=env._emscripten_glDeleteVertexArrays;var Ae=env._emscripten_glReleaseShaderCompiler;var Be=env._dlsym;var Ce=env.___cxa_guard_acquire;var De=env._emscripten_glFrontFace;var Ee=env.__ZSt18uncaught_exceptionv;var Fe=env._emscripten_glUseProgram;var Ge=env.__addDays;var He=env._emscripten_set_touchmove_callback;var Ie=env._emscripten_glUniform3iv;var Je=env._emscripten_set_main_loop_arg;var Ke=env._sysconf;var Le=env._emscripten_glLineWidth;var Me=env._emscripten_glScissor;var Ne=env._pthread_cleanup_push;var Oe=env._emscripten_set_element_css_size;var Pe=env._alSourcePlay;var Qe=env._emscripten_glIsBuffer;var Re=env._emscripten_glVertexAttrib1f;var Se=env._emscripten_set_keyup_callback;var Te=env._emscripten_glCompressedTexSubImage2D;var Ue=env._emscripten_glGetAttachedShaders;var Ve=env._emscripten_glGenTextures;var We=env._alcCaptureSamples;var Xe=env._eglGetConfigAttrib;var Ye=env._alGetSourcei;var Ze=env._alGetSourcef;var _e=env._gmtime;var $e=env._alSourceQueueBuffers;var af=env._emscripten_glGetTexParameteriv;var bf=env.___syscall330;var cf=env._emscripten_set_mousedown_callback;var df=env._emscripten_glClientActiveTexture;var ef=env._emscripten_glCheckFramebufferStatus;var ff=env._eglWaitGL;var gf=env.___syscall118;var hf=env._emscripten_glUniform3f;var jf=env._emscripten_glUniform3i;var kf=env._emscripten_glDeleteShader;var lf=env._alDeleteSources;var mf=env._emscripten_glGetUniformLocation;var nf=env._emscripten_glEnableVertexAttribArray;var of=env._alGetError;var pf=env._emscripten_get_now;var qf=env.__registerRestoreOldStyle;var rf=env.emscriptenWebGLGetTexPixelData;var sf=env._gettimeofday;var tf=env._eglWaitNative;var uf=env.___syscall202;var vf=env._emscripten_glEnableClientState;var wf=env._eglChooseConfig;var xf=env.___cxa_allocate_exception;var yf=env._emscripten_get_num_gamepads;var zf=env.___buildEnvironment;var Af=env._tzset;var Bf=env._emscripten_glGetAttribLocation;var Cf=env._emscripten_glDisable;var Df=env._emscripten_glDeleteRenderbuffers;var Ef=env._emscripten_glDrawElementsInstanced;var Ff=env._emscripten_glVertexAttrib4f;var Gf=env._emscripten_glPixelStorei;var Hf=env._llvm_fabs_f32;var If=env._getenv;var Jf=env._emscripten_set_gamepaddisconnected_callback;var Kf=env._llvm_cttz_i64;var Lf=env._gethostbyname;var Mf=env._alcCloseDevice;var Nf=env._emscripten_glFramebufferRenderbuffer;var Of=env._alcCaptureStart;var Pf=env._llvm_ctpop_i32;var Qf=env._emscripten_glRotatef;var Rf=env._emscripten_glGetShaderiv;var Sf=env._emscripten_get_battery_status;var Tf=env.___cxa_pure_virtual;var Uf=env._emscripten_glUniformMatrix4fv;var Vf=env._emscripten_glGetPointerv;var Wf=env._pthread_cond_wait;var Xf=env._emscripten_set_touchstart_callback;var Yf=env._emscripten_glIsRenderbuffer;var Zf=env._emscripten_request_pointerlock;var _f=env.___syscall40;var $f=env._llvm_bswap_i64;var ag=env._emscripten_set_touchcancel_callback;var bg=env.__inet_pton6_raw;var cg=env._emscripten_set_focus_callback;var dg=env._emscripten_glGetVertexAttribfv;var eg=env._emscripten_glVertexAttrib3fv;var fg=env._emscripten_glCompileShader;var gg=env._glClear;var hg=env.__arraySum;var ig=env._emscripten_glLinkProgram;var jg=env._alDeleteBuffers;var kg=env._alGetSourcefv;var lg=env._emscripten_get_pointerlock_status;var mg=env._emscripten_glDrawRangeElements;var ng=env.___unlock;var og=env._pthread_setspecific;var pg=env._emscripten_glClearColor;var qg=env._emscripten_glCreateProgram;var rg=env._emscripten_glDetachShader;var sg=env._setenv;var tg=env._emscripten_do_request_fullscreen;var ug=env._emscripten_set_mouseleave_callback;var vg=env._emscripten_get_element_css_size;var wg=env._emscripten_set_fullscreenchange_callback;var xg=env._emscripten_glVertexAttribPointer;var yg=env._alBufferData;var zg=env._emscripten_glDrawArrays;var Ag=env._emscripten_glPolygonOffset;var Bg=env._longjmp;var Cg=env._emscripten_glBlendColor;var Dg=env._signal;var Eg=env._emscripten_set_main_loop_timing;var Fg=env._sbrk;var Gg=env.___cxa_begin_catch;var Hg=env._emscripten_glGetProgramiv;var Ig=env._emscripten_glGetShaderSource;var Jg=env._emscripten_glTexImage2D;var Kg=env.__isLeapYear;var Lg=env._emscripten_glBlendEquationSeparate;var Mg=env._emscripten_glGetString;var Ng=env._emscripten_glIsFramebuffer;var Og=env._emscripten_glBindProgramARB;var Pg=env._glutCreateWindow;var Qg=env.___syscall85;var Rg=env._alcGetError;var Sg=env._emscripten_glUniform2i;var Tg=env._emscripten_glUniform2f;var Ug=env._alSourcefv;var Vg=env._emscripten_glTexParameterf;var Wg=env._emscripten_glTexParameteri;var Xg=env._glutInitDisplayMode;var Yg=env._emscripten_glGenVertexArrays;var Zg=env._emscripten_set_visibilitychange_callback;var _g=env._eglGetProcAddress;var $g=env._emscripten_glBindAttribLocation;var ah=env._llvm_pow_f32;var bh=env._emscripten_glDrawElements;var ch=env._emscripten_set_canvas_size;var dh=env._emscripten_glTexSubImage2D;var eh=env._emscripten_asm_const_v;var fh=env._emscripten_glClearDepthf;var gh=env._emscripten_set_mouseenter_callback;var hh=env._emscripten_glMatrixMode;var ih=env.___syscall10;var jh=env._emscripten_glNormalPointer;var kh=env._emscripten_glHint;var lh=env._emscripten_glEnable;var mh=env.___syscall3;var nh=env.___lock;var oh=env._emscripten_glBindFramebuffer;var ph=env.___syscall6;var qh=env.___syscall5;var rh=env.___syscall4;var sh=env._emscripten_glBindRenderbuffer;var th=env._time;var uh=env._emscripten_glGetFramebufferAttachmentParameteriv;var vh=env._exit;var wh=env._emscripten_glGetActiveAttrib;var xh=env.__inet_pton4_raw;var yh=env.___syscall102;var zh=env._emscripten_set_keypress_callback;var Ah=env._emscripten_glShaderBinary;var Bh=env._emscripten_glGetShaderInfoLog;var Ch=env._emscripten_glGetVertexAttribPointerv;var Dh=env._llvm_sqrt_f64;var Eh=env._alSourceRewind;var Fh=env._emscripten_glGetActiveUniform;var Gh=env.emscriptenWebGLGetVertexAttrib;var Hh=env.___syscall197;var Ih=env.___syscall196;var Jh=env.___syscall195;var Kh=env._eglSwapInterval;var Lh=env.___syscall199;var Mh=env._emscripten_glDeleteProgram;var Nh=env._glutDestroyWindow;var Oh=env._emscripten_glCreateShader;var Ph=env._pthread_mutex_destroy;var Qh=env._emscripten_glColorPointer;var Rh=env._emscripten_glViewport;var Sh=env._pthread_cond_broadcast;var Th=env._emscripten_glDepthMask;var Uh=env._alcCaptureStop;var Vh=env._emscripten_glDrawBuffers;var Wh=env._alSourceStop;var Xh=env._emscripten_exit_pointerlock;var Yh=env._emscripten_set_gamepadconnected_callback;var Zh=env._abort;var _h=env._emscripten_glGenFramebuffers;var $h=env._emscripten_glLoadIdentity;var ai=env._emscripten_glShaderSource;var bi=env.___gxx_personality_v0;var ci=env._system;var di=env._usleep;var ei=env._emscripten_set_touchend_callback;var fi=env._emscripten_glGetRenderbufferParameteriv;var gi=env._eglTerminate;var hi=env._emscripten_glSampleCoverage;var ii=env._emscripten_glFrustum;var ji=env._emscripten_glDepthRangef;var ki=env._emscripten_glGenerateMipmap;var li=env._emscripten_glIsTexture;var mi=env._emscripten_glBindVertexArray;var ni=env._emscripten_glActiveTexture;var oi=env._emscripten_set_wheel_callback;var pi=env._emscripten_glDeleteBuffers;var qi=env.___syscall54;var ri=env._emscripten_glUniform2iv;var si=env._emscripten_asm_const_i;var ti=env._emscripten_glCopyTexSubImage2D;var ui=env._alSourceUnqueueBuffers;var vi=0.0;function wi(newBuffer){if(q(newBuffer)&16777215||q(newBuffer)<=16777215||q(newBuffer)>2147483648)return false;i=new a(newBuffer);j=new b(newBuffer);k=new c(newBuffer);l=new d(newBuffer);m=new e(newBuffer);n=new f(newBuffer);o=new g(newBuffer);p=new h(newBuffer);buffer=newBuffer;return true} // EMSCRIPTEN_START_FUNCS -function lj(a){a=a|0;var b=0;b=i;i=i+a|0;i=i+15&-16;return b|0}function mj(){return i|0}function nj(a){a=a|0;i=a}function oj(a,b){a=a|0;b=b|0;i=a;j=b}function pj(a,b){a=a|0;b=b|0;if(!n){n=a;o=b}}function qj(b){b=b|0;a[k>>0]=a[b>>0];a[k+1>>0]=a[b+1>>0];a[k+2>>0]=a[b+2>>0];a[k+3>>0]=a[b+3>>0]}function rj(b){b=b|0;a[k>>0]=a[b>>0];a[k+1>>0]=a[b+1>>0];a[k+2>>0]=a[b+2>>0];a[k+3>>0]=a[b+3>>0];a[k+4>>0]=a[b+4>>0];a[k+5>>0]=a[b+5>>0];a[k+6>>0]=a[b+6>>0];a[k+7>>0]=a[b+7>>0]}function sj(a){a=a|0;C=a}function tj(){return C|0}function uj(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+32|0;if(Imb(178513,Mj()|0)|0){e=Mj()|0;c[f>>2]=178513;c[f+4>>2]=e;vpb(178228,f)|0;e=1;i=f;return e|0}if((a|0)>1)if(!(Imb(c[b+4>>2]|0,178309)|0)){d=Mj()|0;e=Nj()|0;c[f+8>>2]=d;c[f+8+4>>2]=e;vpb(178319,f+8|0)|0;e=0;i=f;return e|0}e=uHa()|0;xHa(e);TDa(e,-10002,520305);TDa(e,-1,520417);ODa(e,1469,0);_Da(e,-2,442638);lDa(e,-3);WDa(e,0,0);if((a|0)>0){LDa(e,c[b>>2]|0);aEa(e,-2,-2)}LDa(e,178333);aEa(e,-2,-1);if((a|0)>1){d=1;do{LDa(e,c[b+(d<<2)>>2]|0);aEa(e,-2,d);d=d+1|0}while((d|0)!=(a|0))}_Da(e,-10002,515753);TDa(e,-10002,521011);LDa(e,442638);dEa(e,1,1);PDa(e,1);_Da(e,-2,178351);lDa(e,-2);TDa(e,-10002,521011);LDa(e,234922);dEa(e,1,1);PDa(e,0);dEa(e,1,1);d=oHa(e,-1e4)|0;c[f+16>>2]=e;c[f+16+4>>2]=d;ze(686,f+16|0,0,1);if(!(tDa(e,-1)|0))a=0;else a=~~+yDa(e,-1);cGa(e);e=a;i=f;return e|0}function vj(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=c[155672]|0;if(b|0)Hi[c[(c[b>>2]|0)+40>>2]&1023](b);b=c[a>>2]|0;VDa(b,-1e4,c[a+4>>2]|0);if(!(eEa(b,0,0,0)|0)){i=d;return}c[d>>2]=BDa(b,-1,0)|0;vpb(178356,d)|0;i=d;return}function wj(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0;c[a>>2]=9104;b=c[155690]|0;if(!b){b=YAb(12)|0;c[b+4>>2]=0;c[b+8>>2]=0;c[b>>2]=b+4;c[155690]=b}i=c[b>>2]|0;g=b+4|0;a:do if((i|0)!=(g|0)){e=i;f=i;while(1){d=f;if((c[e+28>>2]|0)==(a|0)){h=e;g=f;break}e=c[d+4>>2]|0;if(!e)while(1){e=c[d+8>>2]|0;if((c[e>>2]|0)==(d|0)){d=e;break}else d=e}else{d=e;while(1){e=c[d>>2]|0;if(!e)break;else d=e}}if((d|0)==(g|0))break a;else{e=d;f=d}}e=c[h+4>>2]|0;if(!e){f=d;while(1){e=c[f+8>>2]|0;if((c[e>>2]|0)==(f|0))break;else f=e}}else while(1){f=c[e>>2]|0;if(!f)break;else e=f}if((i|0)==(h|0))c[b>>2]=e;i=b+8|0;c[i>>2]=(c[i>>2]|0)+-1;yj(c[b+4>>2]|0,d);Mqb(h+16|0);oAb(g)}while(0);if((c[155672]|0)==(a|0))c[155672]=0;if((c[155673]|0)==(a|0))c[155673]=0;if((c[155674]|0)==(a|0))c[155674]=0;if((c[155675]|0)==(a|0))c[155675]=0;if((c[155676]|0)==(a|0))c[155676]=0;if((c[155677]|0)==(a|0))c[155677]=0;if((c[155678]|0)==(a|0))c[155678]=0;if((c[155679]|0)==(a|0))c[155679]=0;if((c[155680]|0)==(a|0))c[155680]=0;if((c[155681]|0)==(a|0))c[155681]=0;if((c[155682]|0)==(a|0))c[155682]=0;if((c[155683]|0)==(a|0))c[155683]=0;if((c[155684]|0)==(a|0))c[155684]=0;if((c[155685]|0)==(a|0))c[155685]=0;if((c[155686]|0)==(a|0))c[155686]=0;if((c[155687]|0)==(a|0))c[155687]=0;if((c[155688]|0)==(a|0))c[155688]=0;if((c[155689]|0)==(a|0))c[155689]=0;b=c[155690]|0;if(!b)return;if(c[b+8>>2]|0)return;zj(b,c[b+4>>2]|0);oAb(b);c[155690]=0;return}function xj(a){a=a|0;wg(a|0)|0;CAb()}function yj(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=c[d>>2]|0;do if(!f){e=d;i=5}else{e=c[d+4>>2]|0;if(!e){g=d;e=d;i=7;break}else while(1){f=c[e>>2]|0;if(!f){i=5;break}else e=f}}while(0);if((i|0)==5){f=c[e+4>>2]|0;if(!f){k=e+8|0;l=e;f=0;m=0;j=e}else{g=e;i=7}}if((i|0)==7){k=g+8|0;c[f+8>>2]=c[k>>2];l=g;m=1;j=e}e=c[k>>2]|0;g=c[e>>2]|0;if((g|0)==(l|0)){c[e>>2]=f;if((l|0)==(b|0)){b=f;g=0}else g=c[e+4>>2]|0}else c[e+4>>2]=f;h=l+12|0;i=(a[h>>0]|0)!=0;if((l|0)!=(d|0)){e=c[d+8>>2]|0;c[k>>2]=e;if((c[c[d+8>>2]>>2]|0)==(d|0))c[e>>2]=l;else c[e+4>>2]=l;e=c[d>>2]|0;c[j>>2]=e;c[e+8>>2]=l;e=c[d+4>>2]|0;c[l+4>>2]=e;if(e|0)c[e+8>>2]=l;a[h>>0]=a[d+12>>0]|0;b=(b|0)==(d|0)?l:b}if(!(i&(b|0)!=0))return;if(m){a[f+12>>0]=1;return}while(1){h=c[g+8>>2]|0;e=g+12|0;f=(a[e>>0]|0)!=0;if((c[h>>2]|0)==(g|0)){if(!f){a[e>>0]=1;a[h+12>>0]=0;f=c[h>>2]|0;e=c[f+4>>2]|0;c[h>>2]=e;if(e|0)c[e+8>>2]=h;c[f+8>>2]=c[h+8>>2];e=c[h+8>>2]|0;if((c[e>>2]|0)==(h|0))c[e>>2]=f;else c[e+4>>2]=f;c[f+4>>2]=h;c[h+8>>2]=f;d=c[g+4>>2]|0;b=(b|0)==(d|0)?g:b;g=c[d>>2]|0}f=c[g>>2]|0;if(f|0)if(!(a[f+12>>0]|0)){b=f;e=g;i=68;break}e=c[g+4>>2]|0;if(e|0)if(!(a[e+12>>0]|0)){i=67;break}a[g+12>>0]=0;e=c[g+8>>2]|0;if((e|0)==(b|0)|(a[e+12>>0]|0)==0){i=64;break}d=c[e+8>>2]|0;e=(c[d>>2]|0)==(e|0)?d+4|0:d}else{if(!f){a[e>>0]=1;a[h+12>>0]=0;f=c[h+4>>2]|0;e=c[f>>2]|0;c[h+4>>2]=e;if(e|0)c[e+8>>2]=h;c[f+8>>2]=c[h+8>>2];e=c[h+8>>2]|0;if((c[e>>2]|0)==(h|0))c[e>>2]=f;else c[e+4>>2]=f;c[f>>2]=h;c[h+8>>2]=f;d=c[g>>2]|0;b=(b|0)==(d|0)?g:b;g=c[d+4>>2]|0}h=c[g>>2]|0;if(h|0)if(!(a[h+12>>0]|0)){f=g;i=38;break}e=c[g+4>>2]|0;if(e|0)if(!(a[e+12>>0]|0)){b=h;f=g;i=39;break}a[g+12>>0]=0;e=c[g+8>>2]|0;if((e|0)==(b|0)){i=36;break}if(!(a[e+12>>0]|0)){b=e;i=36;break}d=c[e+8>>2]|0;e=(c[d>>2]|0)==(e|0)?d+4|0:d}g=c[e>>2]|0}if((i|0)==36){a[b+12>>0]=1;return}else if((i|0)==38){e=c[g+4>>2]|0;if(!e){b=h;h=g;i=40}else{b=h;i=39}}else if((i|0)==64){a[e+12>>0]=1;return}else if((i|0)==67)if(!f)i=69;else{b=f;e=g;i=68}if((i|0)==39)if(!(a[e+12>>0]|0)){b=g;i=46}else{h=g;i=40}else if((i|0)==68)if(!(a[b+12>>0]|0))i=75;else{g=e;i=69}if((i|0)==40){a[b+12>>0]=1;a[h+12>>0]=0;g=b+4|0;e=c[g>>2]|0;c[f>>2]=e;if(e|0)c[e+8>>2]=h;e=h+8|0;c[b+8>>2]=c[e>>2];f=c[e>>2]|0;if((c[f>>2]|0)==(h|0))c[f>>2]=b;else c[f+4>>2]=b;c[g>>2]=h;c[e>>2]=b;e=h;i=46}else if((i|0)==69){d=g+4|0;f=c[d>>2]|0;a[f+12>>0]=1;a[g+12>>0]=0;b=c[f>>2]|0;c[d>>2]=b;if(b|0)c[b+8>>2]=g;b=g+8|0;c[f+8>>2]=c[b>>2];e=c[b>>2]|0;if((c[e>>2]|0)==(g|0))c[e>>2]=f;else c[e+4>>2]=f;c[f>>2]=g;c[b>>2]=f;b=g;e=f;i=75}if((i|0)==46){f=c[b+8>>2]|0;a[b+12>>0]=a[f+12>>0]|0;a[f+12>>0]=1;a[e+12>>0]=1;e=c[f+4>>2]|0;b=c[e>>2]|0;c[f+4>>2]=b;if(b|0)c[b+8>>2]=f;c[e+8>>2]=c[f+8>>2];b=c[f+8>>2]|0;if((c[b>>2]|0)==(f|0))c[b>>2]=e;else c[b+4>>2]=e;c[e>>2]=f;c[f+8>>2]=e;return}else if((i|0)==75){f=c[e+8>>2]|0;a[e+12>>0]=a[f+12>>0]|0;a[f+12>>0]=1;a[b+12>>0]=1;e=c[f>>2]|0;b=c[e+4>>2]|0;c[f>>2]=b;if(b|0)c[b+8>>2]=f;c[e+8>>2]=c[f+8>>2];b=c[f+8>>2]|0;if((c[b>>2]|0)==(f|0))c[b>>2]=e;else c[b+4>>2]=e;c[e+4>>2]=f;c[f+8>>2]=e;return}}function zj(a,b){a=a|0;b=b|0;if(!b)return;else{zj(a,c[b>>2]|0);zj(a,c[b+4>>2]|0);Mqb(b+16|0);oAb(b);return}}function Aj(a){a=a|0;wj(a);oAb(a);return}function Bj(a){a=a|0;var b=0,d=0,e=0,f=0;e=i;i=i+64|0;if(!a){a=nf(16)|0;ds(a,178382,e);zc(a|0,96,27)}b=vi[c[(c[a>>2]|0)+20>>2]&2047](a)|0;Iqb(e+40|0,b,rnb(b)|0);b=c[155690]|0;if(!b){b=YAb(12)|0;c[b+4>>2]=0;c[b+8>>2]=0;c[b>>2]=b+4;c[155690]=b}d=Cj(b,e+40|0)|0;if((d|0)!=(b+4|0))if((c[d+28>>2]|0)==(a|0)){Mqb(e+40|0);i=e;return}else{d=nf(16)|0;c[e+8>>2]=vi[c[(c[a>>2]|0)+20>>2]&2047](a)|0;ds(d,178406,e+8|0);zc(d|0,96,27)}Hqb(e+24|0,e+40|0);c[e+24+12>>2]=a;Dj(e+56|0,b,e+24|0);Mqb(e+24|0);b=622688+((vi[c[(c[a>>2]|0)+16>>2]&2047](a)|0)<<2)|0;d=c[b>>2]|0;if(d|0){f=vi[c[(c[d>>2]|0)+20>>2]&2047](d)|0;d=vi[c[(c[a>>2]|0)+20>>2]&2047](a)|0;c[e+16>>2]=f;c[e+16+4>>2]=d;vpb(178436,e+16|0)|0}c[b>>2]=a;Mqb(e+40|0);i=e;return}function Cj(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;e=c[b+4>>2]|0;if(e|0){f=a[d>>0]|0;g=(f&1)==0?(f&255)>>>1:c[d+4>>2]|0;f=(f&1)==0?d+1|0:c[d+8>>2]|0;d=b+4|0;a:do{while(1){h=e+16|0;j=a[h>>0]|0;i=(j&1)==0?(j&255)>>>1:c[e+20>>2]|0;h=qmb((j&1)==0?h+1|0:c[e+24>>2]|0,f,g>>>0>>0?g:i)|0;if((((h|0)==0?(i>>>0>>0?-2147483648:0):h)|0)>=0){d=e;break}e=c[e+4>>2]|0;if(!e)break a}e=c[d>>2]|0}while((e|0)!=0);if((d|0)!=(b+4|0)){j=d+16|0;h=a[j>>0]|0;i=(h&1)==0?(h&255)>>>1:c[d+20>>2]|0;j=qmb(f,(h&1)==0?j+1|0:c[d+24>>2]|0,i>>>0>>0?i:g)|0;if((((j|0)==0?(g>>>0>>0?-2147483648:0):j)|0)>=0){j=d;return j|0}}}j=b+4|0;return j|0}function Dj(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=i;i=i+16|0;g=YAb(32)|0;c[g+16>>2]=c[e>>2];c[g+16+4>>2]=c[e+4>>2];c[g+16+8>>2]=c[e+8>>2];c[e>>2]=0;c[e+4>>2]=0;c[e+8>>2]=0;c[g+28>>2]=c[e+12>>2];f=Ej(d,h,g+16|0)|0;e=c[f>>2]|0;if(!e){e=c[h>>2]|0;c[g>>2]=0;c[g+4>>2]=0;c[g+8>>2]=e;c[f>>2]=g;e=c[c[d>>2]>>2]|0;if(!e)e=g;else{c[d>>2]=e;e=c[f>>2]|0}Fj(c[d+4>>2]|0,e);c[d+8>>2]=(c[d+8>>2]|0)+1;f=1;e=g}else f=0;c[b>>2]=e;a[b+4>>0]=f;if(f<<24>>24){i=h;return}Mqb(g+16|0);oAb(g);i=h;return}function Ej(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;f=c[b+4>>2]|0;if(!f){c[d>>2]=b+4;d=b+4|0;return d|0}h=a[e>>0]|0;i=(h&1)==0?(h&255)>>>1:c[e+4>>2]|0;h=(h&1)==0?e+1|0:c[e+8>>2]|0;while(1){e=f+16|0;g=a[e>>0]|0;b=(g&1)==0?(g&255)>>>1:c[f+20>>2]|0;e=(g&1)==0?e+1|0:c[f+24>>2]|0;g=qmb(h,e,b>>>0>>0?b:i)|0;if((((g|0)==0?(i>>>0>>0?-2147483648:0):g)|0)<0){b=c[f>>2]|0;if(!b){b=f;e=5;break}else f=b}else{g=qmb(e,h,i>>>0>>0?i:b)|0;if((((g|0)==0?(b>>>0>>0?-2147483648:0):g)|0)>=0){e=10;break}g=f+4|0;b=c[g>>2]|0;if(!b){e=9;break}else f=b}}if((e|0)==5){c[d>>2]=f;d=b;return d|0}else if((e|0)==9){c[d>>2]=f;d=g;return d|0}else if((e|0)==10){c[d>>2]=f;return d|0}return 0}function Fj(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;a[d+12>>0]=(d|0)==(b|0)&1;if((d|0)==(b|0))return;while(1){g=c[d+8>>2]|0;if(a[g+12>>0]|0){d=37;break}f=d;d=c[g+8>>2]|0;e=c[d>>2]|0;if((e|0)==(g|0)){e=c[d+4>>2]|0;if(!e){i=g;j=g+8|0;h=g+8|0;g=d;b=d;d=8;break}if(a[e+12>>0]|0){i=g;j=g+8|0;h=g+8|0;g=d;b=d;d=8;break}a[g+12>>0]=1;a[d+12>>0]=(d|0)==(b|0)&1;a[e+12>>0]=1}else{if(!e){i=g+8|0;j=g;h=g+8|0;g=d;b=d;d=24;break}if(a[e+12>>0]|0){i=g+8|0;j=g;h=g+8|0;g=d;b=d;d=24;break}a[g+12>>0]=1;a[d+12>>0]=(d|0)==(b|0)&1;a[e+12>>0]=1}if((d|0)==(b|0)){d=37;break}}if((d|0)==8){if((c[i>>2]|0)==(f|0))d=i;else{b=i+4|0;e=c[b>>2]|0;d=c[e>>2]|0;c[b>>2]=d;if(!d)d=g;else{c[d+8>>2]=i;d=c[j>>2]|0}c[e+8>>2]=d;d=c[h>>2]|0;if((c[d>>2]|0)==(i|0))c[d>>2]=e;else c[d+4>>2]=e;c[e>>2]=i;c[j>>2]=e;d=e;b=c[e+8>>2]|0}a[d+12>>0]=1;a[b+12>>0]=0;f=c[b>>2]|0;d=c[f+4>>2]|0;c[b>>2]=d;if(d|0)c[d+8>>2]=b;d=b+8|0;c[f+8>>2]=c[d>>2];e=c[d>>2]|0;if((c[e>>2]|0)==(b|0))c[e>>2]=f;else c[e+4>>2]=f;c[f+4>>2]=b;c[d>>2]=f;return}else if((d|0)==24){if((c[j>>2]|0)==(f|0)){e=c[j>>2]|0;d=c[e+4>>2]|0;c[j>>2]=d;if(!d)d=g;else{c[d+8>>2]=j;d=c[i>>2]|0}c[e+8>>2]=d;d=c[h>>2]|0;if((c[d>>2]|0)==(j|0))c[d>>2]=e;else c[d+4>>2]=e;c[e+4>>2]=j;c[i>>2]=e;d=e;b=c[e+8>>2]|0}else d=j;a[d+12>>0]=1;a[b+12>>0]=0;j=b+4|0;f=c[j>>2]|0;d=c[f>>2]|0;c[j>>2]=d;if(d|0)c[d+8>>2]=b;d=b+8|0;c[f+8>>2]=c[d>>2];e=c[d>>2]|0;if((c[e>>2]|0)==(b|0))c[e>>2]=f;else c[e+4>>2]=f;c[f>>2]=b;c[d>>2]=f;return}else if((d|0)==37)return}function Gj(a){a=a|0;var b=0;b=c[155690]|0;if(!b){b=YAb(12)|0;c[b+4>>2]=0;c[b+8>>2]=0;c[b>>2]=b+4;c[155690]=b}a=Cj(b,a)|0;if((b+4|0)==(a|0)){a=0;return a|0}a=c[a+28>>2]|0;return a|0}function Hj(a){a=a|0;c[a+4>>2]=(c[a+4>>2]|0)+1;return}function Ij(a){a=a|0;var b=0;b=c[a+4>>2]|0;c[a+4>>2]=b-1;if((b|0)!=1)return;if(!a)return;Hi[c[(c[a>>2]|0)+4>>2]&1023](a);return}function Jj(a){a=a|0;c[a>>2]=9136;c[a+4>>2]=1;return}function Kj(a){a=a|0;return}function Lj(a){a=a|0;return c[a+4>>2]|0}function Mj(){return 178513}function Nj(){return 178520}function Oj(a){a=a|0;var b=0;Ls(a)|0;vs(a,442638)|0;LDa(a,178513);_Da(a,-2,178532);IDa(a,0.0);_Da(a,-2,178541);IDa(a,10.0);_Da(a,-2,178556);IDa(a,1.0);_Da(a,-2,178571);LDa(a,178520);_Da(a,-2,178589);ODa(a,1470,0);_Da(a,-2,178607);WDa(a,0,0);LDa(a,178513);aEa(a,-2,1);LDa(a,178624);aEa(a,-2,2);_Da(a,-2,178631);ODa(a,1471,0);_Da(a,-2,178647);ODa(a,1472,0);_Da(a,-2,178793);LDa(a,357359);_Da(a,-2,178813);b=0;do{ws(a,c[9456+(b<<3)+4>>2]|0,c[9456+(b<<3)>>2]|0)|0;b=b+1|0}while((b|0)!=20);_s(a)|0;Er(a)|0;ws(a,1473,265735)|0;ws(a,1474,178817)|0;return 1}function Pj(a){a=a|0;yA((ADa(a,1)|0)!=0);return 0}function Qj(a){a=a|0;JDa(a,0);JDa(a,10);JDa(a,1);LDa(a,178520);return 4}function Rj(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;f=i;i=i+192|0;c[f+160>>2]=0;c[f+160+4>>2]=0;c[f+160+8>>2]=0;if((qDa(b,1)|0)==4)Rqb(f+160|0,UGa(b,1,0)|0)|0;else{j=~~+_Ga(b,1);h=~~+_Ga(b,2);g=~~+_Ga(b,3);c[f+16+8>>2]=9184;d=f+16+12|0;c[f+16>>2]=9388;c[f+16+64>>2]=9408;c[f+16+4>>2]=0;rsb(f+16+64|0,d);c[f+16+136>>2]=0;c[f+16+140>>2]=-1;c[f+16>>2]=9164;c[f+16+64>>2]=9204;c[f+16+8>>2]=9184;tsb(d);c[d>>2]=9220;e=f+16+44|0;c[e>>2]=0;c[e+4>>2]=0;c[e+8>>2]=0;c[e+12>>2]=0;c[f+16+60>>2]=24;c[f+172>>2]=0;c[f+172+4>>2]=0;c[f+172+8>>2]=0;dk(d,f+172|0);Mqb(f+172|0);Asb(ek(Asb(ek(Asb(f+16+8|0,j)|0,616643,1)|0,h)|0,616643,1)|0,g)|0;gk(f,d);if(!(a[f+160>>0]&1)){a[f+160+1>>0]=0;a[f+160>>0]=0}else{a[c[f+160+8>>2]>>0]=0;c[f+160+4>>2]=0}Qqb(f+160|0,0);c[f+160>>2]=c[f>>2];c[f+160+4>>2]=c[f+4>>2];c[f+160+8>>2]=c[f+8>>2];c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;Mqb(f);c[f+16>>2]=9164;c[f+16+64>>2]=9204;c[f+16+8>>2]=9184;c[d>>2]=9220;Mqb(e);urb(d);qrb(f+16+64|0)}if(erb(f+160|0,178513)|0)if(erb(f+160|0,178624)|0){PDa(b,0);Mqb(f+160|0);i=f;return 1}PDa(b,1);Mqb(f+160|0);i=f;return 1}function Sj(a){a=a|0;c[a>>2]=9164;c[a+64>>2]=9204;c[a+8>>2]=9184;c[a+12>>2]=9220;Mqb(a+44|0);urb(a+12|0);qrb(a+64|0);return}function Tj(a){a=a|0;c[a>>2]=9220;Mqb(a+32|0);urb(a);return}function Uj(a){a=a|0;c[a>>2]=9220;Mqb(a+32|0);urb(a);oAb(a);return}function Vj(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0;i=c[d+44>>2]|0;k=c[d+24>>2]|0;if(i>>>0>>0){c[d+44>>2]=k;i=k}if(!(h&24)){c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=-1;c[b+8+4>>2]=-1;return}if((g|0)==1&(h&24|0)==24){c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=-1;c[b+8+4>>2]=-1;return}a:do switch(g|0){case 0:{g=0;j=0;break}case 1:if(!(h&8)){j=k-(c[d+20>>2]|0)|0;g=j;j=((j|0)<0)<<31>>31;break a}else{j=(c[d+12>>2]|0)-(c[d+8>>2]|0)|0;g=j;j=((j|0)<0)<<31>>31;break a}case 2:{if(!(a[d+32>>0]&1))g=d+32+1|0;else g=c[d+40>>2]|0;j=i-g|0;g=j;j=((j|0)<0)<<31>>31;break}default:{c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=-1;c[b+8+4>>2]=-1;return}}while(0);g=jBb(g|0,j|0,e|0,f|0)|0;j=C;if((j|0)>=0){if(!(a[d+32>>0]&1))e=d+32+1|0;else e=c[d+40>>2]|0;f=i-e|0;if(!((((f|0)<0)<<31>>31|0)<(j|0)|(((f|0)<0)<<31>>31|0)==(j|0)&f>>>0>>0)){if(!((g|0)==0&(j|0)==0)){if(h&8|0)if(!(c[d+12>>2]|0)){c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=-1;c[b+8+4>>2]=-1;return}if((h&16|0)!=0&(k|0)==0){c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=-1;c[b+8+4>>2]=-1;return}}if(h&8|0){c[d+12>>2]=(c[d+8>>2]|0)+g;c[d+16>>2]=i}if(h&16|0)c[d+24>>2]=(c[d+20>>2]|0)+g;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=g;c[b+8+4>>2]=j;return}}c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=-1;c[b+8+4>>2]=-1;return}function Wj(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;Ii[c[(c[b>>2]|0)+16>>2]&63](a,b,c[d+8>>2]|0,c[d+8+4>>2]|0,0,e);return}function Xj(a){a=a|0;var b=0,e=0;b=c[a+44>>2]|0;e=c[a+24>>2]|0;if(b>>>0>>0){c[a+44>>2]=e;b=e}if(!(c[a+48>>2]&8)){a=-1;return a|0}e=c[a+16>>2]|0;if(e>>>0>>0){c[a+16>>2]=b;e=b}b=c[a+12>>2]|0;if(b>>>0>=e>>>0){a=-1;return a|0}a=d[b>>0]|0;return a|0}function Yj(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;e=c[b+44>>2]|0;f=c[b+24>>2]|0;if(e>>>0>>0){c[b+44>>2]=f;e=f}f=c[b+12>>2]|0;if((c[b+8>>2]|0)>>>0>=f>>>0){b=-1;return b|0}if((d|0)==-1){c[b+12>>2]=f+-1;c[b+16>>2]=e;b=0;return b|0}if(!(c[b+48>>2]&16))if((d&255)<<24>>24==(a[f+-1>>0]|0)){g=d&255;f=f+-1|0}else{b=-1;return b|0}else{g=d&255;f=f+-1|0}c[b+12>>2]=f;c[b+16>>2]=e;a[f>>0]=g;b=d;return b|0}function Zj(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;if((d|0)==-1){b=0;i=o;return b|0}n=(c[b+12>>2]|0)-(c[b+8>>2]|0)|0;m=c[b+24>>2]|0;e=c[b+28>>2]|0;if((m|0)==(e|0)){if(!(c[b+48>>2]&16)){b=-1;i=o;return b|0}g=c[b+20>>2]|0;h=(c[b+44>>2]|0)-g|0;Xqb(b+32|0,0);if(!(a[b+32>>0]&1))e=10;else e=(c[b+32>>2]&-2)+-1|0;Sqb(b+32|0,e,0);e=a[b+32>>0]|0;if(!(e&1)){f=b+32+1|0;e=(e&255)>>>1}else{f=c[b+40>>2]|0;e=c[b+36>>2]|0}j=f+e|0;c[b+20>>2]=f;c[b+28>>2]=j;m=f+(m-g)|0;c[b+24>>2]=m;f=f+h|0;c[b+44>>2]=f;k=b+44|0;l=b+48|0;g=b+44|0}else{k=b+44|0;l=b+48|0;g=b+44|0;f=c[b+44>>2]|0;j=e}h=m+1|0;c[o>>2]=h;f=c[(h>>>0>>0?g:o)>>2]|0;c[k>>2]=f;if(c[l>>2]&8|0){if(!(a[b+32>>0]&1))e=b+32+1|0;else e=c[b+40>>2]|0;c[b+8>>2]=e;c[b+12>>2]=e+n;c[b+16>>2]=f}if((m|0)==(j|0)){b=Xi[c[(c[b>>2]|0)+52>>2]&511](b,d&255)|0;i=o;return b|0}else{c[b+24>>2]=h;a[m>>0]=d;b=d&255;i=o;return b|0}return 0}function _j(a){a=a|0;c[a>>2]=9164;c[a+64>>2]=9204;c[a+8>>2]=9184;c[a+12>>2]=9220;Mqb(a+44|0);urb(a+12|0);qrb(a+64|0);oAb(a);return}function $j(a){a=a|0;c[a+-8>>2]=9164;c[a+-8+64>>2]=9204;c[a+-8+8>>2]=9184;c[a+-8+12>>2]=9220;Mqb(a+-8+44|0);urb(a+-8+12|0);qrb(a+-8+64|0);return}function ak(a){a=a|0;c[a+-8>>2]=9164;c[a+-8+64>>2]=9204;c[a+-8+8>>2]=9184;c[a+-8+12>>2]=9220;Mqb(a+-8+44|0);urb(a+-8+12|0);qrb(a+-8+64|0);oAb(a+-8|0);return}function bk(a){a=a|0;a=a+(c[(c[a>>2]|0)+-12>>2]|0)|0;c[a>>2]=9164;c[a+64>>2]=9204;c[a+8>>2]=9184;c[a+12>>2]=9220;Mqb(a+44|0);urb(a+12|0);qrb(a+64|0);return}function ck(a){a=a|0;a=a+(c[(c[a>>2]|0)+-12>>2]|0)|0;c[a>>2]=9164;c[a+64>>2]=9204;c[a+8>>2]=9184;c[a+12>>2]=9220;Mqb(a+44|0);urb(a+12|0);qrb(a+64|0);oAb(a);return}function dk(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;Nqb(b+32|0,d)|0;c[b+44>>2]=0;g=c[b+48>>2]|0;if(g&8|0){d=a[b+32>>0]|0;if(!(d&1)){c[b+44>>2]=((d&255)>>>1)+(b+32+1);d=((d&255)>>>1)+(b+32+1)|0;e=b+32+1|0;f=b+32+1|0}else{f=c[b+40>>2]|0;d=f+(c[b+36>>2]|0)|0;c[b+44>>2]=d;e=f}c[b+8>>2]=e;c[b+12>>2]=f;c[b+16>>2]=d}if(!(g&16))return;d=a[b+32>>0]|0;if(!(d&1)){c[b+44>>2]=b+32+1+((d&255)>>>1);e=10;g=(d&255)>>>1}else{g=c[b+36>>2]|0;c[b+44>>2]=(c[b+40>>2]|0)+g;e=(c[b+32>>2]&-2)+-1|0}Sqb(b+32|0,e,0);d=a[b+32>>0]|0;if(!(d&1)){f=b+32+1|0;d=(d&255)>>>1;e=b+32+1|0}else{e=c[b+40>>2]|0;f=e;d=c[b+36>>2]|0}c[b+24>>2]=e;c[b+20>>2]=e;c[b+28>>2]=f+d;if(!(c[b+48>>2]&3))return;c[b+24>>2]=e+g;return}function ek(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0;j=i;i=i+16|0;ysb(j,b);if(!(a[j>>0]|0)){zsb(j);i=j;return b|0}h=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;c[j+8>>2]=c[h+24>>2];g=c[h+4>>2]|0;f=c[h+76>>2]|0;if((f|0)==-1){c[j+12>>2]=ssb(h)|0;f=Usb(j+12|0,1203596)|0;f=Xi[c[(c[f>>2]|0)+28>>2]&511](f,32)|0;bAb(j+12|0);c[h+76>>2]=f<<24>>24;f=f<<24>>24}c[j+12>>2]=c[j+8>>2];if(fk(j+12|0,d,(g&176|0)==32?d+e|0:d,d+e|0,h,f&255)|0){zsb(j);i=j;return b|0}d=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;qsb(d,c[d+16>>2]|5);zsb(j);i=j;return b|0}function fk(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0;l=i;i=i+16|0;j=c[b>>2]|0;if(!j){b=0;i=l;return b|0}k=c[g+12>>2]|0;k=(k|0)>(f-d|0)?k-(f-d)|0:0;if((e-d|0)>0)if((Gi[c[(c[j>>2]|0)+48>>2]&255](j,d,e-d|0)|0)!=(e-d|0)){c[b>>2]=0;b=0;i=l;return b|0}do if((k|0)>0){Jqb(l,k,h);if((Gi[c[(c[j>>2]|0)+48>>2]&255](j,(a[l>>0]&1)==0?l+1|0:c[l+8>>2]|0,k)|0)==(k|0)){Mqb(l);break}c[b>>2]=0;Mqb(l);b=0;i=l;return b|0}while(0);if((f-e|0)>0)if((Gi[c[(c[j>>2]|0)+48>>2]&255](j,e,f-e|0)|0)!=(f-e|0)){c[b>>2]=0;b=0;i=l;return b|0}c[g+12>>2]=0;b=j;i=l;return b|0}function gk(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=c[d+48>>2]|0;if(e&16|0){e=c[d+44>>2]|0;f=c[d+24>>2]|0;if(e>>>0>>0)c[d+44>>2]=f;else f=e;d=c[d+20>>2]|0;h=f-d|0;if(h>>>0>4294967279)Fqb(b);if(h>>>0<11){a[b>>0]=h<<1;e=b+1|0}else{e=YAb(h+16&-16)|0;c[b+8>>2]=e;c[b>>2]=h+16&-16|1;c[b+4>>2]=h}if((d|0)!=(f|0)){g=e;while(1){a[g>>0]=a[d>>0]|0;d=d+1|0;if((d|0)==(f|0))break;else g=g+1|0}e=e+h|0}a[e>>0]=0;return}if(!(e&8)){c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;return}h=c[d+8>>2]|0;g=c[d+16>>2]|0;if((g-h|0)>>>0>4294967279)Fqb(b);if((g-h|0)>>>0<11){a[b>>0]=g-h<<1;e=b+1|0}else{e=YAb(g-h+16&-16)|0;c[b+8>>2]=e;c[b>>2]=g-h+16&-16|1;c[b+4>>2]=g-h}if((h|0)!=(g|0)){f=h;d=e;while(1){a[d>>0]=a[f>>0]|0;f=f+1|0;if((f|0)==(g|0))break;else d=d+1|0}e=e+(g-h)|0}a[e>>0]=0;return}function hk(a){a=a|0;if(sHa(a,179011,55900,234911)|0)return 1;dEa(a,0,1);return 1}function ik(a){a=a|0;if(sHa(a,234932,17263,252195)|0)return 1;dEa(a,0,1);return 1}function jk(a){a=a|0;Gs(a,25,621080);return 1}function kk(a){a=a|0;var b=0,d=0,e=0,f=0;f=i;i=i+32|0;if((kDa(a)|0)>0){Fk(f+8|0,a,1);d=c[f+8>>2]|0;e=c[f+8+4>>2]|0}else{d=0;e=0}b=QE(621072)|0;if((kDa(a)|0)>0){c[f>>2]=d;c[f+4>>2]=e;c[f+16>>2]=c[f>>2];c[f+16+4>>2]=c[f+4>>2];bF(b,f+16|0)}Gs(a,25,b);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);i=f;return 1}function lk(a){a=a|0;var b=0,d=0,e=0,f=0,h=0,j=0,k=0;j=i;i=i+32|0;c[j+8>>2]=0;h=j+8+4|0;c[h>>2]=0;c[j+8+8>>2]=0;if((qDa(a,1)|0)==5){f=Es(a,1)|0;e=c[j+8>>2]|0;if((c[j+8+8>>2]|0)-e>>3>>>0<((f|0)/2|0)>>>0){b=(c[h>>2]|0)-e|0;if((f+1|0)>>>0<3)d=0;else d=YAb(((f|0)/2|0)<<3)|0;k=d+(b>>3<<3)|0;mBb(k+(0-(b>>3)<<3)|0,e|0,b|0)|0;c[j+8>>2]=k+(0-(b>>3)<<3);c[h>>2]=k;c[j+8+8>>2]=d+(((f|0)/2|0)<<3);if(e|0)oAb(e)}if((f|0)>=1){d=1;do{VDa(a,1,d);VDa(a,1,d+1|0);g[j>>2]=0.0;g[j+4>>2]=0.0;g[j>>2]=+_Ga(a,-2);g[j+4>>2]=+_Ga(a,-1);b=c[h>>2]|0;if((b|0)==(c[j+8+8>>2]|0))mk(j+8|0,j);else{k=c[j+4>>2]|0;c[b>>2]=c[j>>2];c[b+4>>2]=k;c[h>>2]=(c[h>>2]|0)+8}lDa(a,-3);d=d+2|0}while((d|0)<=(f|0))}}else{f=kDa(a)|0;b=c[j+8>>2]|0;if((c[j+8+8>>2]|0)-b>>3>>>0<((f|0)/2|0)>>>0){d=(c[h>>2]|0)-b|0;if((f+1|0)>>>0<3)e=0;else e=YAb(((f|0)/2|0)<<3)|0;k=e+(d>>3<<3)|0;mBb(k+(0-(d>>3)<<3)|0,b|0,d|0)|0;c[j+8>>2]=k+(0-(d>>3)<<3);c[h>>2]=k;c[j+8+8>>2]=e+(((f|0)/2|0)<<3);if(b|0)oAb(b)}if((f|0)>=1){d=1;do{g[j>>2]=0.0;g[j+4>>2]=0.0;g[j>>2]=+_Ga(a,d);g[j+4>>2]=+_Ga(a,d+1|0);b=c[h>>2]|0;if((b|0)==(c[j+8+8>>2]|0))mk(j+8|0,j);else{k=c[j+4>>2]|0;c[b>>2]=c[j>>2];c[b+4>>2]=k;c[h>>2]=(c[h>>2]|0)+8}d=d+2|0}while((d|0)<=(f|0))}}b=RE(621072,j+8|0)|0;Gs(a,26,b);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);b=c[j+8>>2]|0;if(!b){i=j;return 1}d=c[h>>2]|0;if((d|0)!=(b|0))c[h>>2]=d+(~((d+-8-b|0)>>>3)<<3);oAb(b);i=j;return 1}function mk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=c[a>>2]|0;d=((c[a+4>>2]|0)-j>>3)+1|0;if(d>>>0>536870911)jzb(a);e=(c[a+8>>2]|0)-j|0;if(e>>3>>>0<268435455){d=e>>2>>>0>>0?d:e>>2;f=c[a+4>>2]|0;if(!d){i=0;g=0;e=f-j>>3;d=f}else{h=f;e=f-j>>3;k=6}}else{e=c[a+4>>2]|0;d=536870911;h=e;e=e-j>>3;k=6}if((k|0)==6){i=d;g=YAb(d<<3)|0;d=h}k=g+(e<<3)|0;h=c[b+4>>2]|0;c[k>>2]=c[b>>2];c[k+4>>2]=h;b=d-j|0;mBb(k+(0-(b>>3)<<3)|0,j|0,b|0)|0;c[a>>2]=k+(0-(b>>3)<<3);c[a+4>>2]=k+8;c[a+8>>2]=g+(i<<3);if(!j)return;oAb(j);return}function nk(a){a=a|0;var b=0,d=0,e=0,f=0,h=0,j=0,k=0;j=i;i=i+112|0;c[j+16>>2]=0;h=j+16+4|0;c[h>>2]=0;c[j+16+8>>2]=0;if((qDa(a,1)|0)==5){f=Es(a,1)|0;b=c[j+16>>2]|0;if((((c[j+16+8>>2]|0)-b|0)/20|0)>>>0<((f|0)/2|0)>>>0){d=(c[h>>2]|0)-b|0;if((f+1|0)>>>0<3)e=0;else e=YAb(((f|0)/2|0)*20|0)|0;k=e+(((d|0)/20|0)*20|0)|0;mBb(k+(((d|0)/-20|0)*20|0)|0,b|0,d|0)|0;c[j+16>>2]=k+(((d|0)/-20|0)*20|0);c[h>>2]=k;c[j+16+8>>2]=e+(((f|0)/2|0)*20|0);if(b|0)oAb(b)}if((f|0)<1)b=j+16|0;else{d=1;do{VDa(a,1,d);VDa(a,1,d+1|0);g[j+40>>2]=+_Ga(a,-2);g[j+40+4>>2]=+_Ga(a,-1);b=c[h>>2]|0;if((b|0)==(c[j+16+8>>2]|0))ok(j+16|0,j+40|0);else{c[b>>2]=c[j+40>>2];c[b+4>>2]=c[j+40+4>>2];c[b+8>>2]=c[j+40+8>>2];c[b+12>>2]=c[j+40+12>>2];c[b+16>>2]=c[j+40+16>>2];c[h>>2]=b+20}lDa(a,-3);d=d+2|0}while((d|0)<=(f|0));b=j+16|0}}else{f=kDa(a)|0;b=c[j+16>>2]|0;if((((c[j+16+8>>2]|0)-b|0)/20|0)>>>0<((f|0)/2|0)>>>0){d=(c[h>>2]|0)-b|0;if((f+1|0)>>>0<3)e=0;else e=YAb(((f|0)/2|0)*20|0)|0;k=e+(((d|0)/20|0)*20|0)|0;mBb(k+(((d|0)/-20|0)*20|0)|0,b|0,d|0)|0;c[j+16>>2]=k+(((d|0)/-20|0)*20|0);c[h>>2]=k;c[j+16+8>>2]=e+(((f|0)/2|0)*20|0);if(b|0)oAb(b)}if((f|0)<1)b=j+16|0;else{d=1;do{g[j+40>>2]=+_Ga(a,d);g[j+40+4>>2]=+_Ga(a,d+1|0);b=c[h>>2]|0;if((b|0)==(c[j+16+8>>2]|0))ok(j+16|0,j+40|0);else{c[b>>2]=c[j+40>>2];c[b+4>>2]=c[j+40+4>>2];c[b+8>>2]=c[j+40+8>>2];c[b+12>>2]=c[j+40+12>>2];c[b+16>>2]=c[j+40+16>>2];c[h>>2]=b+20}d=d+2|0}while((d|0)<=(f|0));b=j+16|0}}b=c[b>>2]|0;d=(c[h>>2]|0)-b|0;if(((d|0)/20|0)>>>0<3)b=PGa(a,252204,j)|0;else{c[j+4>>2]=0;f=j+4+4|0;c[f>>2]=0;c[j+4+8>>2]=0;if((d|0)==60){c[j+40>>2]=c[b>>2];c[j+40+4>>2]=c[b+4>>2];c[j+40+8>>2]=c[b+8>>2];c[j+40+12>>2]=c[b+12>>2];c[j+40+16>>2]=c[b+16>>2];k=j+40+20|0;c[k>>2]=c[b+20>>2];c[k+4>>2]=c[b+20+4>>2];c[k+8>>2]=c[b+20+8>>2];c[k+12>>2]=c[b+20+12>>2];c[k+16>>2]=c[b+20+16>>2];k=j+40+40|0;c[k>>2]=c[b+40>>2];c[k+4>>2]=c[b+40+4>>2];c[k+8>>2]=c[b+40+8>>2];c[k+12>>2]=c[b+40+12>>2];c[k+16>>2]=c[b+40+16>>2];pk(j+4|0,j+40|0)}else{SE(j+28|0,621072,j+16|0);b=c[j+4>>2]|0;if(!b)b=j+4+8|0;else{d=c[f>>2]|0;if((d|0)!=(b|0))c[f>>2]=d+(~(((d+-60-b|0)>>>0)/60|0)*60|0);oAb(b);c[j+4+8>>2]=0;c[f>>2]=0;c[j+4>>2]=0;b=j+4+8|0}c[j+4>>2]=c[j+28>>2];c[f>>2]=c[j+28+4>>2];c[b>>2]=c[j+28+8>>2];c[j+28+8>>2]=0;c[j+28+4>>2]=0;c[j+28>>2]=0}WDa(a,((c[f>>2]|0)-(c[j+4>>2]|0)|0)/60|0,0);e=0;while(1){b=c[f>>2]|0;d=c[j+4>>2]|0;if((e|0)>=((b-d|0)/60|0|0))break;WDa(a,6,0);IDa(a,+g[d+(e*60|0)>>2]);aEa(a,-2,1);IDa(a,+g[d+(e*60|0)+4>>2]);aEa(a,-2,2);IDa(a,+g[d+(e*60|0)+20>>2]);aEa(a,-2,3);IDa(a,+g[d+(e*60|0)+24>>2]);aEa(a,-2,4);IDa(a,+g[d+(e*60|0)+40>>2]);aEa(a,-2,5);IDa(a,+g[d+(e*60|0)+44>>2]);aEa(a,-2,6);k=e+1|0;aEa(a,-2,k);e=k}if(d|0){if((b|0)!=(d|0))c[f>>2]=b+(~(((b+-60-d|0)>>>0)/60|0)*60|0);oAb(d)}b=1}d=c[j+16>>2]|0;if(!d){i=j;return b|0}e=c[h>>2]|0;if((e|0)!=(d|0))c[h>>2]=e+(~(((e+-20-d|0)>>>0)/20|0)*20|0);oAb(d);i=j;return b|0}function ok(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=c[a>>2]|0;e=(((c[a+4>>2]|0)-j|0)/20|0)+1|0;if(e>>>0>214748364)jzb(a);d=((c[a+8>>2]|0)-j|0)/20|0;if(d>>>0<107374182){d=d<<1>>>0>>0?e:d<<1;f=c[a+4>>2]|0;if(!d){i=0;g=0;e=(f-j|0)/20|0;d=f}else{h=f;e=(f-j|0)/20|0;k=6}}else{e=c[a+4>>2]|0;d=214748364;h=e;e=(e-j|0)/20|0;k=6}if((k|0)==6){i=d;g=YAb(d*20|0)|0;d=h}k=g+(e*20|0)|0;c[k>>2]=c[b>>2];c[k+4>>2]=c[b+4>>2];c[k+8>>2]=c[b+8>>2];c[k+12>>2]=c[b+12>>2];c[k+16>>2]=c[b+16>>2];b=d-j|0;mBb(k+(((b|0)/-20|0)*20|0)|0,j|0,b|0)|0;c[a>>2]=k+(((b|0)/-20|0)*20|0);c[a+4>>2]=k+20;c[a+8>>2]=g+(i*20|0);if(!j)return;oAb(j);return}function pk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=c[a>>2]|0;e=(((c[a+4>>2]|0)-k|0)/60|0)+1|0;if(e>>>0>71582788)jzb(a);d=((c[a+8>>2]|0)-k|0)/60|0;if(d>>>0<35791394){d=d<<1>>>0>>0?e:d<<1;f=c[a+4>>2]|0;if(!d){i=0;d=0;e=(f-k|0)/60|0;j=f}else{g=f;e=(f-k|0)/60|0;h=6}}else{e=c[a+4>>2]|0;d=71582788;g=e;e=(e-k|0)/60|0;h=6}if((h|0)==6){i=d;d=YAb(d*60|0)|0;j=g}h=d+(e*60|0)|0;f=d+(i*60|0)|0;g=h;d=b;e=g+60|0;do{c[g>>2]=c[d>>2];g=g+4|0;d=d+4|0}while((g|0)<(e|0));b=j-k|0;mBb(h+(((b|0)/-60|0)*60|0)|0,k|0,b|0)|0;c[a>>2]=h+(((b|0)/-60|0)*60|0);c[a+4>>2]=h+60;c[a+8>>2]=f;if(!k)return;oAb(k);return}function qk(a){a=a|0;var b=0,d=0,e=0,f=0,h=0,j=0,k=0;j=i;i=i+32|0;c[j+20>>2]=0;h=j+20+4|0;c[h>>2]=0;c[j+20+8>>2]=0;if((qDa(a,1)|0)==5){f=Es(a,1)|0;e=c[j+20>>2]|0;if((((c[j+20+8>>2]|0)-e|0)/20|0)>>>0<((f|0)/2|0)>>>0){b=(c[h>>2]|0)-e|0;if((f+1|0)>>>0<3)d=0;else d=YAb(((f|0)/2|0)*20|0)|0;k=d+(((b|0)/20|0)*20|0)|0;mBb(k+(((b|0)/-20|0)*20|0)|0,e|0,b|0)|0;c[j+20>>2]=k+(((b|0)/-20|0)*20|0);c[h>>2]=k;c[j+20+8>>2]=d+(((f|0)/2|0)*20|0);if(e|0)oAb(e)}if((f|0)>=1){d=1;do{VDa(a,1,d);VDa(a,1,d+1|0);g[j>>2]=+_Ga(a,-2);g[j+4>>2]=+_Ga(a,-1);b=c[h>>2]|0;if((b|0)==(c[j+20+8>>2]|0))ok(j+20|0,j);else{c[b>>2]=c[j>>2];c[b+4>>2]=c[j+4>>2];c[b+8>>2]=c[j+8>>2];c[b+12>>2]=c[j+12>>2];c[b+16>>2]=c[j+16>>2];c[h>>2]=b+20}lDa(a,-3);d=d+2|0}while((d|0)<=(f|0))}}else{f=kDa(a)|0;b=c[j+20>>2]|0;if((((c[j+20+8>>2]|0)-b|0)/20|0)>>>0<((f|0)/2|0)>>>0){d=(c[h>>2]|0)-b|0;if((f+1|0)>>>0<3)e=0;else e=YAb(((f|0)/2|0)*20|0)|0;k=e+(((d|0)/20|0)*20|0)|0;mBb(k+(((d|0)/-20|0)*20|0)|0,b|0,d|0)|0;c[j+20>>2]=k+(((d|0)/-20|0)*20|0);c[h>>2]=k;c[j+20+8>>2]=e+(((f|0)/2|0)*20|0);if(b|0)oAb(b)}if((f|0)>=1){d=1;do{g[j>>2]=+_Ga(a,d);g[j+4>>2]=+_Ga(a,d+1|0);b=c[h>>2]|0;if((b|0)==(c[j+20+8>>2]|0))ok(j+20|0,j);else{c[b>>2]=c[j>>2];c[b+4>>2]=c[j+4>>2];c[b+8>>2]=c[j+8>>2];c[b+12>>2]=c[j+12>>2];c[b+16>>2]=c[j+16>>2];c[h>>2]=b+20}d=d+2|0}while((d|0)<=(f|0))}}gs(a,UE(621072,j+20|0)|0);b=c[j+20>>2]|0;if(!b){i=j;return 1}d=c[h>>2]|0;if((d|0)!=(b|0))c[h>>2]=d+(~(((d+-20-b|0)>>>0)/20|0)*20|0);oAb(b);i=j;return 1}function rk(a){a=a|0;var b=0.0,c=0,d=0,e=0,f=0;f=i;i=i+16|0;d=sk(a,f)|0;if((d|0)>0)e=0;else{i=f;return d|0}do{c=f+(e<<2)|0;b=+g[c>>2];if((e|0)<3){b=+VE(621072,b);g[c>>2]=b}IDa(a,b*255.0);e=e+1|0}while((e|0)!=(d|0));i=f;return d|0}function sk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,h=0;do if((qDa(a,1)|0)==5){d=Es(a,1)|0;if((d|0)>0){e=1;c=0}else{lDa(a,-1);break}while(1){VDa(a,1,e);g[b+(e+-1<<2)>>2]=+_Ga(a,-1)/255.0;f=c+1|0;h=e;e=e+1|0;if(!((h|0)<(d|0)&(e|0)<5))break;else c=f}lDa(a,-2-c|0);h=f;return h|0}else{d=kDa(a)|0;if((d|0)>0){e=1;c=0;do{g[b+(e+-1<<2)>>2]=+_Ga(a,e)/255.0;c=c+1|0;h=e;e=e+1|0}while((h|0)<(d|0)&(e|0)<5);return c|0}}while(0);+_Ga(a,1);h=0;return h|0}function tk(a){a=a|0;var b=0.0,c=0,d=0,e=0,f=0;f=i;i=i+16|0;d=sk(a,f)|0;if((d|0)>0)e=0;else{i=f;return d|0}do{c=f+(e<<2)|0;b=+g[c>>2];if((e|0)<3){b=+WE(621072,b);g[c>>2]=b}IDa(a,b*255.0);e=e+1|0}while((e|0)!=(d|0));i=f;return d|0}function uk(a){a=a|0;var b=0.0,c=0,d=0,e=0,f=0;e=i;i=i+16|0;c=kDa(a)|0;c=(c|0)<1?1:c;c=(c|0)>4?4:c;if((c|0)>0){d=0;do{f=d;d=d+1|0;g[e+(f<<2)>>2]=+_Ga(a,d)}while((d|0)<(c|0))}switch(c|0){case 1:{b=+_r(+g[e>>2])*.5+.5;break}case 2:{b=+$r(+g[e>>2],+g[e+4>>2])*.5+.5;break}case 3:{b=+Yr(+g[e>>2],+g[e+4>>2],+g[e+8>>2])*.5+.5;break}case 4:{b=+Zr(+g[e>>2],+g[e+4>>2],+g[e+8>>2],+g[e+12>>2])*.5+.5;break}default:b=0.0}IDa(a,b);i=e;return 1}function vk(a){a=a|0;var b=0,d=0,e=0;d=i;i=i+16|0;if((qDa(a,2)|0)<1)c[d+8>>2]=0;else{b=UGa(a,2,0)|0;c[d+8>>2]=0;if(b)if(!(JE(b,d+8|0)|0)){c[d>>2]=b;a=PGa(a,252244,d)|0;i=d;return a|0}}b=~~+$Ga(a,3,-1.0);if(!(uDa(a,1)|0)){e=wk(a,1,2)|0;b=XE(621072,c[d+8>>2]|0,e,b)|0}else{c[d+4>>2]=0;e=UGa(a,1,d+4|0)|0;b=YE(621072,c[d+8>>2]|0,e,c[d+4>>2]|0,b)|0}Gs(a,27,b);e=1;i=d;return e|0}function wk(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((qDa(a,b)|0)!=7){c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0}e=EDa(a,b)|0;if(c[(c[155773]|0)+(c[e>>2]<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0){d=e+4|0;d=c[d>>2]|0;i=f;return d|0}c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0;d=e+4|0;d=c[d>>2]|0;i=f;return d|0}function xk(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;c[e+12>>2]=0;if(Hs(a,1,27)|0){b=xF(a,1)|0;c[e+12>>2]=wE(b)|0;b=ZE(621072,b,e+12|0)|0}else{c[e+8>>2]=0;b=UGa(a,2,0)|0;if(!(JE(b,e+8|0)|0)){c[e>>2]=b;a=PGa(a,252244,e)|0;i=e;return a|0}c[e+4>>2]=0;if(Hs(a,1,2)|0){b=wk(a,1,2)|0;d=vi[c[(c[b>>2]|0)+16>>2]&2047](b)|0;b=vi[c[(c[b>>2]|0)+20>>2]&2047](b)|0;c[e+4>>2]=b}else{d=UGa(a,1,e+4|0)|0;b=c[e+4>>2]|0}b=_E(621072,c[e+8>>2]|0,d,b,e+12|0)|0}KDa(a,b,c[e+12>>2]|0);if(!b){a=1;i=e;return a|0}aBb(b);a=1;i=e;return a|0}function yk(a){a=a|0;var b=0,d=0;d=i;i=i+32|0;Hi[c[(c[155268]|0)+8>>2]&1023](621072);c[d>>2]=621072;c[d+4>>2]=519048;c[d+8>>2]=3;c[d+12>>2]=9624;c[d+16>>2]=9712;b=qs(a,d)|0;sHa(a,252408,3426,255834)|0;pDa(a,-2);QDa(a,9728);dEa(a,2,0);i=d;return b|0}function zk(a){a=+a;return +(+_r(a)*.5+.5)}function Ak(a,b){a=+a;b=+b;return +(+$r(a,b)*.5+.5)}function Bk(a,b,c){a=+a;b=+b;c=+c;return +(+Yr(a,b,c)*.5+.5)}function Ck(a,b,c,d){a=+a;b=+b;c=+c;d=+d;return +(+Zr(a,b,c,d)*.5+.5)}function Dk(a){a=+a;return +(+VE(621072,a))}function Ek(a){a=+a;return +(+WE(621072,a))}function Fk(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0,g=0;g=(qDa(b,d+1|0)|0)<1;e=+_Ga(b,d);f=e!=e|0.0!=0.0|(e==s|e==-s);if(g){if(f)OGa(b,d,255848)|0;g=+N(e)>=1.0?(e>0.0?~~+$(+M(e/4294967296.0),4294967295.0)>>>0:~~+Z((e-+(~~e>>>0))/4294967296.0)>>>0):0;c[a>>2]=~~e>>>0;c[a+4>>2]=g;return}if(f)OGa(b,d,255848)|0;c[a>>2]=~~e>>>0;e=+_Ga(b,d+1|0);if(e!=e|0.0!=0.0|(e==s|e==-s))OGa(b,d+1|0,255848)|0;c[a+4>>2]=~~e>>>0;return}function Gk(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((qDa(a,b)|0)!=7){c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0}e=EDa(a,b)|0;if(c[(c[155773]|0)+(c[e>>2]<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0){d=e+4|0;d=c[d>>2]|0;i=f;return d|0}c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0;d=e+4|0;d=c[d>>2]|0;i=f;return d|0}function Hk(a){a=a|0;var b=0;b=cF(Gk(a,1,25)|0)|0;IDa(a,(+(b>>>0)+4294967296.0*+(C>>>0))*5.421010862427522e-20);return 1}function Ik(a){a=a|0;var b=0.0,c=0,d=0.0;c=Gk(a,1,25)|0;b=+$Ga(a,2,1.0);d=+$Ga(a,3,0.0);IDa(a,d+ +dF(c,b));return 1}function Jk(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;d=Gk(a,1,25)|0;Fk(b,a,2);c[b+8>>2]=c[b>>2];c[b+8+4>>2]=c[b+4>>2];bF(d,b+8|0);i=b;return 0}function Kk(a){a=a|0;var b=0;b=i;i=i+16|0;eF(b,Gk(a,1,25)|0);IDa(a,+((c[b>>2]|0)>>>0));IDa(a,+((c[b+4>>2]|0)>>>0));i=b;return 2}function Lk(a){a=a|0;var b=0,c=0;b=i;i=i+16|0;c=Gk(a,1,25)|0;js(b,a,2);fF(c,b);Mqb(b);i=b;return 0}function Mk(a){a=a|0;var b=0;b=i;i=i+16|0;gF(b,Gk(a,1,25)|0);ks(a,b);Mqb(b);i=b;return 1}function Nk(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;c[d>>2]=9752;c[d+4>>2]=0;b=xs(a,25,255868,d)|0;Cs(a,25);if((qDa(a,-1)|0)!=5){lDa(a,-2);i=d;return b|0}sHa(a,255939,2474,258413)|0;pDa(a,-2);QDa(a,9808);dEa(a,2,0);lDa(a,-2);i=d;return b|0}function Ok(a){a=a|0;var b=0.0;if(!a){b=0.0;return +b}if(!(c[(c[155773]|0)+(c[a>>2]<<3)>>2]&33554432)){b=0.0;return +b}a=cF(c[a+4>>2]|0)|0;b=(+(a>>>0)+4294967296.0*+(C>>>0))*5.421010862427522e-20;return +b}function Pk(a){a=a|0;var b=0,d=0,e=0,f=0;if(!(uDa(a,1)|0)){if(Hs(a,1,5)|0)b=4;else if(Hs(a,1,7)|0)b=4}else b=4;if((b|0)==4)Js(a,1,435893,437001)|0;e=Qk(a,1,22)|0;d=~~+$Ga(a,2,0.0);b=~~+$Ga(a,3,0.0);f=c[155681]|0;b=cj[c[(c[f>>2]|0)+24>>2]&127](f,e,d,b)|0;Gs(a,31,b);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);return 1}function Qk(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((qDa(a,b)|0)!=7){c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0}e=EDa(a,b)|0;if(c[(c[155773]|0)+(c[e>>2]<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0){d=e+4|0;d=c[d>>2]|0;i=f;return d|0}c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0;d=e+4|0;d=c[d>>2]|0;i=f;return d|0}function Rk(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=UGa(a,1,0)|0;if(bG(b,d+4|0)|0){b=c[155681]|0;Gs(a,31,Xi[c[(c[b>>2]|0)+28>>2]&511](b,c[d+4>>2]|0)|0);a=1;i=d;return a|0}else{c[d>>2]=b;a=PGa(a,258438,d)|0;i=d;return a|0}return 0}function Sk(a){a=a|0;var b=0;if((qDa(a,1)|0)<1){a=c[155681]|0;Hi[c[(c[a>>2]|0)+36>>2]&1023](a);return 0}else{a=eG(a,1)|0;b=c[155681]|0;si[c[(c[b>>2]|0)+32>>2]&511](b,a);return 0}return 0}function Tk(a){a=a|0;var b=0;b=c[155681]|0;b=vi[c[(c[b>>2]|0)+40>>2]&2047](b)|0;if(!b){HDa(a);return 1}else{Gs(a,31,b);return 1}return 0}function Uk(a){a=a|0;var b=0;b=c[155681]|0;gs(a,vi[c[(c[b>>2]|0)+44>>2]&2047](b)|0);return 1}function Vk(a){a=a|0;var b=0;b=c[155681]|0;IDa(a,+Mi[c[(c[b>>2]|0)+48>>2]&63](b));return 1}function Wk(a){a=a|0;var b=0;b=c[155681]|0;IDa(a,+Mi[c[(c[b>>2]|0)+52>>2]&63](b));return 1}function Xk(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;d=c[155681]|0;$i[c[(c[d>>2]|0)+56>>2]&255](d,b+8|0,b);IDa(a,+h[b+8>>3]);IDa(a,+h[b>>3]);i=b;return 2}function Yk(a){a=a|0;var b=0.0;b=+_Ga(a,1);a=c[155681]|0;pi[c[(c[a>>2]|0)+60>>2]&31](a,b);return 0}function Zk(a){a=a|0;var b=0.0;b=+_Ga(a,1);a=c[155681]|0;pi[c[(c[a>>2]|0)+64>>2]&31](a,b);return 0}function _k(a){a=a|0;var b=0.0,d=0.0;d=+_Ga(a,1);b=+_Ga(a,2);a=c[155681]|0;Fi[c[(c[a>>2]|0)+68>>2]&3](a,d,b);return 0}function $k(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;h=i;i=i+16|0;b=kDa(a)|0;c[h+4>>2]=0;g=h+4+4|0;c[g>>2]=0;c[h+4+8>>2]=0;if(b|0){f=YAb(b<<2)|0;c[h+4>>2]=f;c[g>>2]=f;c[h+4+8>>2]=f+(b<<2);if((b|0)>0){f=0;do{f=f+1|0;d=~~+_Ga(a,f);c[h>>2]=d;e=c[g>>2]|0;if(e>>>0<(c[h+4+8>>2]|0)>>>0){c[e>>2]=d;c[g>>2]=e+4}else al(h+4|0,h)}while((f|0)<(b|0))}}b=c[155681]|0;gs(a,Xi[c[(c[b>>2]|0)+76>>2]&511](b,h+4|0)|0);b=c[h+4>>2]|0;if(!b){i=h;return 1}d=c[g>>2]|0;if((d|0)!=(b|0))c[g>>2]=d+(~((d+-4-b|0)>>>2)<<2);oAb(b);i=h;return 1}function al(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=c[a>>2]|0;d=((c[a+4>>2]|0)-j>>2)+1|0;if(d>>>0>1073741823)jzb(a);e=(c[a+8>>2]|0)-j|0;if(e>>2>>>0<536870911){d=e>>1>>>0>>0?d:e>>1;f=c[a+4>>2]|0;if(!d){i=0;g=0;e=f-j>>2;d=f}else{h=f;e=f-j>>2;k=6}}else{e=c[a+4>>2]|0;d=1073741823;h=e;e=e-j>>2;k=6}if((k|0)==6){i=d;g=YAb(d<<2)|0;d=h}k=g+(e<<2)|0;c[k>>2]=c[b>>2];b=d-j|0;mBb(k+(0-(b>>2)<<2)|0,j|0,b|0)|0;c[a>>2]=k+(0-(b>>2)<<2);c[a+4>>2]=k+4;c[a+8>>2]=g+(i<<2);if(!j)return;oAb(j);return}function bl(a){a=a|0;var b=0;a=fs(a,1)|0;b=c[155681]|0;si[c[(c[b>>2]|0)+72>>2]&511](b,a);return 0}function cl(a){a=a|0;var b=0;b=c[155681]|0;gs(a,vi[c[(c[b>>2]|0)+80>>2]&2047](b)|0);return 1}function dl(a){a=a|0;var b=0;a=fs(a,1)|0;b=c[155681]|0;si[c[(c[b>>2]|0)+84>>2]&511](b,a);return 0}function el(a){a=a|0;var b=0;b=c[155681]|0;gs(a,vi[c[(c[b>>2]|0)+88>>2]&2047](b)|0);return 1}function fl(a){a=a|0;var b=0,d=0;b=fs(a,1)|0;d=c[155681]|0;gs(a,Xi[c[(c[d>>2]|0)+92>>2]&511](d,b)|0);return 1}function gl(a){a=a|0;var b=0;b=c[155681]|0;gs(a,vi[c[(c[b>>2]|0)+96>>2]&2047](b)|0);return 1}function hl(a){a=a|0;var b=0,d=0;d=i;i=i+32|0;b=c[155681]|0;if(!b){b=YAb(24)|0;ZF(b)}else Hi[c[(c[b>>2]|0)+8>>2]&1023](b);c[d>>2]=b;c[d+4>>2]=356601;c[d+8>>2]=3;c[d+12>>2]=9812;c[d+16>>2]=9964;a=qs(a,d)|0;i=d;return a|0}function il(a){a=a|0;var b=0,d=0.0,e=0.0;e=+$Ga(a,1,0.0);d=+$Ga(a,2,0.0);b=hs(a,3,1)|0;b=CG(c[155682]|0,e,d,b)|0;Gs(a,32,b);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);return 1}function jl(a){a=a|0;var b=0,d=0,e=0.0,f=0.0,g=0;g=i;i=i+16|0;d=fn(a,1)|0;e=+$Ga(a,2,0.0);f=+$Ga(a,3,0.0);c[g+4>>2]=1;do if((qDa(a,4)|0)<1)b=1;else{b=BDa(a,4,0)|0;if(!b)b=1;else{if(Hn(b,g+4|0)|0){b=c[g+4>>2]|0;break}c[g>>2]=b;a=PGa(a,258589,g)|0;i=g;return a|0}}while(0);d=DG(c[155682]|0,d,e,f,b)|0;Gs(a,34,d);Hi[c[(c[d>>2]|0)+12>>2]&1023](d);a=1;i=g;return a|0}function kl(a){a=a|0;var b=0,d=0.0,e=0;e=OJ(a,1)|0;b=Km(a,2)|0;d=+$Ga(a,3,1.0);b=ZG(c[155682]|0,e,b,d)|0;Gs(a,35,b);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);return 1}function ll(a){a=a|0;var b=0,d=0,e=0.0,f=0.0,g=0.0;b=i;i=i+16|0;switch(kDa(a)|0){case 1:{e=+_Ga(a,1);d=EG(c[155682]|0,e)|0;Gs(a,37,d);Hi[c[(c[d>>2]|0)+12>>2]&1023](d);a=1;i=b;return a|0}case 3:{g=+_Ga(a,1);f=+_Ga(a,2);e=+_Ga(a,3);d=FG(c[155682]|0,g,f,e)|0;Gs(a,37,d);Hi[c[(c[d>>2]|0)+12>>2]&1023](d);d=1;i=b;return d|0}default:{d=PGa(a,258611,b)|0;i=b;return d|0}}return 0}function ml(a){a=a|0;var b=0,d=0,e=0.0,f=0.0,g=0.0,h=0.0,j=0.0;d=i;i=i+16|0;b=kDa(a)|0;if((b|0)==2){f=+_Ga(a,1);e=+_Ga(a,2);b=IG(c[155682]|0,f,e)|0;Gs(a,38,b);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);a=1;i=d;return a|0}if((b|1|0)==5){j=+_Ga(a,1);h=+_Ga(a,2);g=+_Ga(a,3);e=+_Ga(a,4);f=+$Ga(a,5,0.0);b=JG(c[155682]|0,j,h,g,e,f)|0;Gs(a,38,b);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);a=1;i=d;return a|0}else{a=PGa(a,258611,d)|0;i=d;return a|0}return 0}function nl(a){a=a|0;var b=0,d=0.0,e=0.0,f=0.0,g=0.0;g=+_Ga(a,1);f=+_Ga(a,2);e=+_Ga(a,3);d=+_Ga(a,4);b=KG(c[155682]|0,g,f,e,d)|0;Gs(a,39,b);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);return 1}function ol(a){a=a|0;return LG(c[155682]|0,a)|0}function pl(a){a=a|0;return MG(c[155682]|0,a)|0}function ql(a){a=a|0;var b=0,d=0.0,e=0.0,f=0.0,g=0.0,h=0,i=0;i=OJ(a,1)|0;h=OJ(a,2)|0;g=+_Ga(a,3);f=+_Ga(a,4);e=+_Ga(a,5);d=+_Ga(a,6);b=hs(a,7,0)|0;b=NG(c[155682]|0,i,h,g,f,e,d,b)|0;Gs(a,43,b);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);return 1}function rl(a){a=a|0;var b=0,d=0.0,e=0.0;b=OJ(a,1)|0;e=+_Ga(a,2);d=+_Ga(a,3);b=OG(c[155682]|0,b,e,d)|0;Gs(a,42,b);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);return 1}function sl(a){a=a|0;var b=0,d=0.0,e=0.0,f=0,g=0;g=OJ(a,1)|0;f=OJ(a,2)|0;e=+_Ga(a,3);d=+_Ga(a,4);b=hs(a,5,0)|0;b=PG(c[155682]|0,g,f,e,d,b)|0;Gs(a,45,b);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);return 1}function tl(a){a=a|0;var b=0.0,d=0.0,e=0,f=0,g=0.0,h=0.0,i=0.0,j=0.0,k=0;e=OJ(a,1)|0;f=OJ(a,2)|0;g=+_Ga(a,3);h=+_Ga(a,4);k=(kDa(a)|0)>7;b=+_Ga(a,5);d=+_Ga(a,6);if(k){i=+_Ga(a,7);j=+_Ga(a,8);k=hs(a,9,0)|0}else{i=b;j=d;k=hs(a,7,0)|0;b=g;d=h}k=QG(c[155682]|0,e,f,g,h,b,d,i,j,k)|0;Gs(a,44,k);Hi[c[(c[k>>2]|0)+12>>2]&1023](k);return 1}function ul(a){a=a|0;var b=0,d=0,e=0.0,f=0,h=0,j=0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0;b=i;i=i+64|0;h=OJ(a,1)|0;f=OJ(a,2)|0;r=+_Ga(a,3);q=+_Ga(a,4);p=+_Ga(a,5);o=+_Ga(a,6);n=+_Ga(a,7);m=+_Ga(a,8);l=+_Ga(a,9);k=+_Ga(a,10);e=+$Ga(a,11,1.0);d=hs(a,12,1)|0;j=c[155682]|0;g[b+24>>2]=r;g[b+24+4>>2]=q;g[b+16>>2]=p;g[b+16+4>>2]=o;g[b+8>>2]=n;g[b+8+4>>2]=m;g[b>>2]=l;g[b+4>>2]=k;c[b+32>>2]=c[b+24>>2];c[b+32+4>>2]=c[b+24+4>>2];c[b+40>>2]=c[b+16>>2];c[b+40+4>>2]=c[b+16+4>>2];c[b+48>>2]=c[b+8>>2];c[b+48+4>>2]=c[b+8+4>>2];c[b+56>>2]=c[b>>2];c[b+56+4>>2]=c[b+4>>2];d=RG(j,h,f,b+32|0,b+40|0,b+48|0,b+56|0,e,d)|0;Gs(a,46,d);Hi[c[(c[d>>2]|0)+12>>2]&1023](d);i=b;return 1}function vl(a){a=a|0;var b=0,d=0.0,e=0,f=0;f=HM(a,1)|0;e=HM(a,2)|0;d=+$Ga(a,3,1.0);b=hs(a,4,0)|0;b=SG(c[155682]|0,f,e,d,b)|0;Gs(a,47,b);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);return 1}function wl(a){a=a|0;var b=0,d=0,e=0.0,f=0.0,g=0,h=0.0,i=0.0;b=OJ(a,1)|0;d=OJ(a,2)|0;e=+_Ga(a,3);f=+_Ga(a,4);if((kDa(a)|0)>5){h=+_Ga(a,5);i=+_Ga(a,6);g=hs(a,7,0)|0}else{g=hs(a,5,0)|0;h=e;i=f}g=TG(c[155682]|0,b,d,e,f,h,i,g)|0;Gs(a,48,g);Hi[c[(c[g>>2]|0)+12>>2]&1023](g);return 1}function xl(a){a=a|0;var b=0,d=0,e=0.0,f=0.0,g=0,h=0.0,i=0.0;b=OJ(a,1)|0;d=OJ(a,2)|0;e=+_Ga(a,3);f=+_Ga(a,4);if((kDa(a)|0)>5){h=+_Ga(a,5);i=+_Ga(a,6);g=hs(a,7,0)|0}else{g=hs(a,5,0)|0;h=e;i=f}g=UG(c[155682]|0,b,d,e,f,h,i,g)|0;Gs(a,49,g);Hi[c[(c[g>>2]|0)+12>>2]&1023](g);return 1}function yl(a){a=a|0;var b=0.0,d=0.0,e=0,f=0,g=0.0,h=0.0,i=0.0,j=0.0,k=0;e=OJ(a,1)|0;f=OJ(a,2)|0;g=+_Ga(a,3);h=+_Ga(a,4);k=(kDa(a)|0)>7;b=+_Ga(a,5);d=+_Ga(a,6);if(k){i=+_Ga(a,7);j=+_Ga(a,8);k=hs(a,9,0)|0}else{i=b;j=d;k=hs(a,7,0)|0;b=g;d=h}k=VG(c[155682]|0,e,f,g,h,b,d,i,j,k)|0;Gs(a,51,k);Hi[c[(c[k>>2]|0)+12>>2]&1023](k);return 1}function zl(a){a=a|0;var b=0,d=0.0,e=0.0,f=0.0,g=0.0,h=0.0,i=0,j=0;j=OJ(a,1)|0;i=OJ(a,2)|0;h=+_Ga(a,3);g=+_Ga(a,4);f=+_Ga(a,5);e=+_Ga(a,6);d=+_Ga(a,7);b=hs(a,8,0)|0;b=WG(c[155682]|0,j,i,h,g,f,e,d,b)|0;Gs(a,50,b);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);return 1}function Al(a){a=a|0;var b=0,d=0,e=0,f=0.0;b=OJ(a,1)|0;d=OJ(a,2)|0;if((qDa(a,3)|0)<1)b=XG(c[155682]|0,b,d)|0;else{f=+_Ga(a,3);e=hs(a,4,0)|0;b=YG(c[155682]|0,b,d,f,e)|0}Gs(a,52,b);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);return 1}function Bl(a){a=a|0;return _G(c[155682]|0,a)|0}function Cl(a){a=a|0;bH(~~+_Ga(a,1));return 0}function Dl(a){a=a|0;JDa(a,cH()|0);return 1}function El(a){a=a|0;var b=0,d=0;d=i;i=i+32|0;b=c[155682]|0;if(!b){b=YAb(8)|0;c[b>>2]=0;c[b+4>>2]=0;Jj(b);c[b>>2]=16356}else Hi[c[(c[b>>2]|0)+8>>2]&1023](b);c[d>>2]=b;c[d+4>>2]=258642;c[d+8>>2]=3;c[d+12>>2]=9972;c[d+16>>2]=10156;a=qs(a,d)|0;i=d;return a|0}function Fl(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((qDa(a,b)|0)!=7){c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0}e=EDa(a,b)|0;if(c[(c[155773]|0)+(c[e>>2]<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0){d=e+4|0;d=c[d>>2]|0;i=f;return d|0}c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0;d=e+4|0;d=c[d>>2]|0;i=f;return d|0}function Gl(a){a=a|0;var b=0;b=Fl(a,1,38)|0;mDa(a,1);return iH(b,a)|0}function Hl(a){a=a|0;gs(a,jH(Fl(a,1,38)|0)|0);return 1}function Il(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=10612;c[b+4>>2]=10244;c[b+8>>2]=0;a=xs(a,38,258949,b)|0;i=b;return a|0}function Jl(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((qDa(a,b)|0)!=7){c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0}e=EDa(a,b)|0;if(c[(c[155773]|0)+(c[e>>2]<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0){d=e+4|0;d=c[d>>2]|0;i=f;return d|0}c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0;d=e+4|0;d=c[d>>2]|0;i=f;return d|0}function Kl(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=Jl(a,1,44)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;IDa(a,+nH(b));i=c;return 1}function Ll(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=Jl(a,1,44)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;IDa(a,+oH(b));i=c;return 1}function Ml(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=Jl(a,1,44)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;pH(b,fs(a,2)|0);i=c;return 0}function Nl(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=Jl(a,1,44)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;gs(a,qH(b)|0);i=c;return 1}function Ol(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=Jl(a,1,44)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;rH(b,+_Ga(a,2));i=c;return 0}function Pl(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=Jl(a,1,44)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;sH(b,+_Ga(a,2));i=c;return 0}function Ql(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=Jl(a,1,44)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;IDa(a,+tH(b));i=c;return 1}function Rl(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=Jl(a,1,44)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;IDa(a,+uH(b,+_Ga(a,2)));i=c;return 1}function Sl(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=Jl(a,1,44)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;IDa(a,+vH(b));i=c;return 1}function Tl(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=Jl(a,1,44)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;wH(b,fs(a,2)|0);i=c;return 0}function Ul(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=Jl(a,1,44)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;gs(a,xH(b)|0);i=c;return 1}function Vl(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=Jl(a,1,44)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;yH(b,+_Ga(a,2));i=c;return 0}function Wl(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=Jl(a,1,44)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;zH(b,+_Ga(a,2));i=c;return 0}function Xl(a){a=a|0;var b=0,c=0,d=0.0;c=i;i=i+16|0;b=Jl(a,1,44)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;d=+_Ga(a,2);AH(b,d,+_Ga(a,3));i=c;return 0}function Yl(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=Jl(a,1,44)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;IDa(a,+BH(b));i=c;return 1}function Zl(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=Jl(a,1,44)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;IDa(a,+CH(b));i=c;return 1}function _l(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=Jl(a,1,44)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;mDa(a,1);a=DH(b,a)|0;i=c;return a|0}function $l(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=17812;c[b+4>>2]=10268;c[b+8>>2]=0;a=xs(a,44,258971,b)|0;i=b;return a|0}function am(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((qDa(a,b)|0)!=7){c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0}e=EDa(a,b)|0;if(c[(c[155773]|0)+(c[e>>2]<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0){d=e+4|0;d=c[d>>2]|0;i=f;return d|0}c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0;d=e+4|0;d=c[d>>2]|0;i=f;return d|0}function bm(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=am(a,1,46)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;mDa(a,1);a=HH(b,a)|0;i=c;return a|0}function cm(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=am(a,1,46)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;IDa(a,+IH(b));i=c;return 1}function dm(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=am(a,1,46)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;IDa(a,+JH(b));i=c;return 1}function em(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=am(a,1,46)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;IDa(a,+KH(b));i=c;return 1}function fm(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=17812;c[b+4>>2]=10412;c[b+8>>2]=0;a=xs(a,46,259034,b)|0;i=b;return a|0}function gm(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((qDa(a,b)|0)!=7){c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0}e=EDa(a,b)|0;if(c[(c[155773]|0)+(c[e>>2]<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0){d=e+4|0;d=c[d>>2]|0;i=f;return d|0}c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0;d=e+4|0;d=c[d>>2]|0;i=f;return d|0}function hm(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=gm(a,1,45)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;IDa(a,+OH(b));i=c;return 1}function im(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=gm(a,1,45)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;IDa(a,+PH(b));i=c;return 1}function jm(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=gm(a,1,45)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;QH(b,fs(a,2)|0);i=c;return 0}function km(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=gm(a,1,45)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;gs(a,RH(b)|0);i=c;return 1}function lm(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=gm(a,1,45)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;SH(b,+_Ga(a,2));i=c;return 0}function mm(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=gm(a,1,45)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;TH(b,+_Ga(a,2));i=c;return 0}function nm(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=gm(a,1,45)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;IDa(a,+UH(b));i=c;return 1}function om(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=gm(a,1,45)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;IDa(a,+VH(b,+_Ga(a,2)));i=c;return 1}function pm(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=gm(a,1,45)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;IDa(a,+WH(b));i=c;return 1}function qm(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=gm(a,1,45)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;XH(b,fs(a,2)|0);i=c;return 0}function rm(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=gm(a,1,45)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;gs(a,YH(b)|0);i=c;return 1}function sm(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=gm(a,1,45)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;ZH(b,+_Ga(a,2));i=c;return 0}function tm(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=gm(a,1,45)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;_H(b,+_Ga(a,2));i=c;return 0}function um(a){a=a|0;var b=0,c=0,d=0.0;c=i;i=i+16|0;b=gm(a,1,45)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;d=+_Ga(a,2);$H(b,d,+_Ga(a,3));i=c;return 0}function vm(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=gm(a,1,45)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;IDa(a,+aI(b));i=c;return 1}function wm(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=gm(a,1,45)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;IDa(a,+bI(b));i=c;return 1}function xm(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=gm(a,1,45)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;mDa(a,1);a=cI(b,a)|0;i=c;return a|0}function ym(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=17812;c[b+4>>2]=10452;c[b+8>>2]=0;a=xs(a,45,259085,b)|0;i=b;return a|0}function zm(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((qDa(a,b)|0)!=7){c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0}e=EDa(a,b)|0;if(c[(c[155773]|0)+(c[e>>2]<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0){d=e+4|0;d=c[d>>2]|0;i=f;return d|0}c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0;d=e+4|0;d=c[d>>2]|0;i=f;return d|0}function Am(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=zm(a,1,50)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;IDa(a,+gI(b));i=c;return 1}function Bm(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=17812;c[b+4>>2]=10596;c[b+8>>2]=0;a=xs(a,50,259223,b)|0;i=b;return a|0}function Cm(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;d=Dm(a,1,36)|0;c[b>>2]=1279070;Mn(kI(d)|0,b)|0;LDa(a,c[b>>2]|0);i=b;return 1}function Dm(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((qDa(a,b)|0)!=7){c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0}e=EDa(a,b)|0;if(c[(c[155773]|0)+(c[e>>2]<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0){d=e+4|0;d=c[d>>2]|0;i=f;return d|0}c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0;d=e+4|0;d=c[d>>2]|0;i=f;return d|0}function Em(a){a=a|0;IDa(a,+lI(Dm(a,1,36)|0));return 1}function Fm(a){a=a|0;JDa(a,mI(Dm(a,1,36)|0)|0);return 1}function Gm(a){a=a|0;var b=0.0,c=0.0,d=0.0,e=0.0,f=0;f=Dm(a,1,36)|0;e=+_Ga(a,2);d=+_Ga(a,3);c=+_Ga(a,4);b=+_Ga(a,5);PDa(a,(nI(f,e,d,c,b,+_Ga(a,6))|0)&1);return 1}function Hm(a){a=a|0;var b=0;b=Dm(a,1,36)|0;mDa(a,1);return oI(b,a)|0}function Im(a){a=a|0;var b=0;b=Dm(a,1,36)|0;mDa(a,1);return pI(b,a)|0}function Jm(a){a=a|0;var b=0;b=Dm(a,1,36)|0;mDa(a,1);return qI(b,a)|0}function Km(a,b){a=a|0;b=b|0;return Dm(a,b,36)|0}function Lm(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=10612;c[b+4>>2]=0;a=xs(a,36,259284,b)|0;i=b;return a|0}function Mm(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((qDa(a,b)|0)!=7){c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0}e=EDa(a,b)|0;if(c[(c[155773]|0)+(c[e>>2]<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0){d=e+4|0;d=c[d>>2]|0;i=f;return d|0}c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0;d=e+4|0;d=c[d>>2]|0;i=f;return d|0}function Nm(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=Mm(a,1,49)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;uI(b,+_Ga(a,2));i=c;return 0}function Om(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=Mm(a,1,49)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;IDa(a,+vI(b));i=c;return 1}function Pm(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=Mm(a,1,49)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;wI(b,+_Ga(a,2));i=c;return 0}function Qm(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=Mm(a,1,49)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;IDa(a,+xI(b));i=c;return 1}function Rm(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=17812;c[b+4>>2]=10676;c[b+8>>2]=0;a=xs(a,49,259290,b)|0;i=b;return a|0}function Sm(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((qDa(a,b)|0)!=7){c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0}e=EDa(a,b)|0;if(c[(c[155773]|0)+(c[e>>2]<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0){d=e+4|0;d=c[d>>2]|0;i=f;return d|0}c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0;d=e+4|0;d=c[d>>2]|0;i=f;return d|0}function Tm(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=Sm(a,1,51)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;IDa(a,+BI(b));i=c;return 1}function Um(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=Sm(a,1,51)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;IDa(a,+CI(b));i=c;return 1}function Vm(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=Sm(a,1,51)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;DI(b,fs(a,2)|0);i=c;return 0}function Wm(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=Sm(a,1,51)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;gs(a,EI(b)|0);i=c;return 1}function Xm(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=Sm(a,1,51)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;FI(b,+_Ga(a,2));i=c;return 0}function Ym(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=Sm(a,1,51)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;IDa(a,+GI(b));i=c;return 1}function Zm(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=Sm(a,1,51)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;HI(b,+_Ga(a,2));i=c;return 0}function _m(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=Sm(a,1,51)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;IDa(a,+II(b));i=c;return 1}function $m(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=Sm(a,1,51)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;IDa(a,+JI(b,+_Ga(a,2)));i=c;return 1}function an(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=Sm(a,1,51)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;KI(b,+_Ga(a,2));i=c;return 0}function bn(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=Sm(a,1,51)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;IDa(a,+LI(b));i=c;return 1}function cn(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=Sm(a,1,51)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;MI(b,+_Ga(a,2));i=c;return 0}function dn(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=Sm(a,1,51)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;IDa(a,+NI(b));i=c;return 1}function en(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=17812;c[b+4>>2]=10716;c[b+8>>2]=0;a=xs(a,51,259300,b)|0;i=b;return a|0}function fn(a,b){a=a|0;b=b|0;var c=0;c=i;i=i+16|0;b=gn(a,b,32)|0;if(tJ(b)|0){i=c;return b|0}PGa(a,259537,c)|0;i=c;return b|0}function gn(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((qDa(a,b)|0)!=7){c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0}e=EDa(a,b)|0;if(c[(c[155773]|0)+(c[e>>2]<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0){d=e+4|0;d=c[d>>2]|0;i=f;return d|0}c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0;d=e+4|0;d=c[d>>2]|0;i=f;return d|0}function hn(a){a=a|0;var b=0,c=0,d=0.0;c=i;i=i+16|0;b=gn(a,1,32)|0;if(!(tJ(b)|0))PGa(a,259537,c)|0;d=+_Ga(a,2);wJ(b,a);sJ(b,d);i=c;return 0}function jn(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=gn(a,1,32)|0;if(!(tJ(b)|0))PGa(a,259537,c)|0;mDa(a,1);a=uJ(b,a)|0;i=c;return a|0}function kn(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=gn(a,1,32)|0;if(!(tJ(b)|0))PGa(a,259537,c)|0;mDa(a,1);a=vJ(b,a)|0;i=c;return a|0}function ln(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=gn(a,1,32)|0;if(!(tJ(b)|0))PGa(a,259537,c)|0;mDa(a,1);a=xJ(b,a)|0;i=c;return a|0}function mn(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=gn(a,1,32)|0;if(!(tJ(b)|0))PGa(a,259537,c)|0;mDa(a,1);a=yJ(b,a)|0;i=c;return a|0}function nn(a){a=a|0;var b=0,c=0,d=0.0;c=i;i=i+16|0;b=gn(a,1,32)|0;if(!(tJ(b)|0))PGa(a,259537,c)|0;d=+_Ga(a,2);zJ(b,d,+_Ga(a,3));i=c;return 0}function on(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=gn(a,1,32)|0;if(!(tJ(b)|0))PGa(a,259537,c)|0;mDa(a,1);a=AJ(b,a)|0;i=c;return a|0}function pn(a){a=a|0;var b=0,c=0,d=0.0;c=i;i=i+16|0;b=gn(a,1,32)|0;if(!(tJ(b)|0))PGa(a,259537,c)|0;d=+_Ga(a,2);BJ(b,d,+_Ga(a,3));i=c;return 0}function qn(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=gn(a,1,32)|0;if(!(tJ(b)|0))PGa(a,259537,c)|0;CJ(b,fs(a,2)|0);i=c;return 0}function rn(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=gn(a,1,32)|0;if(!(tJ(b)|0))PGa(a,259537,c)|0;gs(a,DJ(b)|0);i=c;return 1}function sn(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=gn(a,1,32)|0;if(!(tJ(b)|0))PGa(a,259537,c)|0;gs(a,EJ(b)|0);i=c;return 1}function tn(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=gn(a,1,32)|0;if(!(tJ(b)|0))PGa(a,259537,c)|0;JDa(a,FJ(b)|0);i=c;return 1}function un(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=gn(a,1,32)|0;if(!(tJ(b)|0))PGa(a,259537,c)|0;JDa(a,GJ(b)|0);i=c;return 1}function vn(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=gn(a,1,32)|0;if(!(tJ(b)|0))PGa(a,259537,c)|0;JDa(a,HJ(b)|0);i=c;return 1}function wn(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=gn(a,1,32)|0;if(!(tJ(b)|0))PGa(a,259537,c)|0;mDa(a,1);a=IJ(b,a)|0;i=c;return a|0}function xn(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=gn(a,1,32)|0;if(!(tJ(b)|0))PGa(a,259537,c)|0;mDa(a,1);a=JJ(b,a)|0;i=c;return a|0}function yn(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=gn(a,1,32)|0;if(!(tJ(b)|0))PGa(a,259537,c)|0;mDa(a,1);a=KJ(b,a)|0;i=c;return a|0}function zn(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=gn(a,1,32)|0;if(!(tJ(b)|0))PGa(a,259537,c)|0;mDa(a,1);a=MJ(b,a)|0;i=c;return a|0}function An(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=gn(a,1,32)|0;if(!(tJ(b)|0))PGa(a,259537,c)|0;mDa(a,1);a=NJ(b,a)|0;i=c;return a|0}function Bn(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=gn(a,1,32)|0;if(!(tJ(b)|0))PGa(a,259537,c)|0;VI(b);i=c;return 0}function Cn(a){a=a|0;gs(a,(tJ(gn(a,1,32)|0)|0)^1);return 1}function Dn(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=10828;c[b+4>>2]=0;a=xs(a,32,259569,b)|0;i=b;return a|0}function En(a){a=a|0;return}function Fn(){a[622772]=0;a[622784]=0;a[622796]=0;a[622808]=0;a[622820]=0;a[622832]=0;a[622844]=0;a[622856]=0;c[155715]=0;c[155716]=0;c[155717]=0;c[155718]=0;Gn(622764,434485,1)|0;Gn(622764,434477,2)|0;Gn(622764,259754,3)|0;return}function Gn(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;f=a[d>>0]|0;if(!(f<<24>>24))g=5381;else{h=d;g=5381;do{h=h+1|0;g=(g*33|0)+(f<<24>>24)|0;f=a[h>>0]|0}while(f<<24>>24!=0)}f=g&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+1&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+2&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+3&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+4&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+5&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+6&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+7&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else f=0}}}}}}}if((j|0)==5){a[f>>0]=1;c[b+(g*12|0)>>2]=d;c[b+(g*12|0)+4>>2]=e;f=1}if(e>>>0>3){c[k>>2]=d;c[k+4>>2]=e;vpb(441068,k)|0;j=0;i=k;return j|0}else{c[b+96+(e<<2)>>2]=d;j=f;i=k;return j|0}return 0}function Hn(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=a[b>>0]|0;if(!(e<<24>>24))f=5381;else{g=b;f=5381;do{g=g+1|0;f=(f*33|0)+(e<<24>>24)|0;e=a[g>>0]|0}while(e<<24>>24!=0)}j=0;while(1){i=j+f&7;if(!(a[622764+(i*12|0)+8>>0]|0)){e=1;f=0;k=11;break}g=c[622764+(i*12|0)>>2]|0;h=a[g>>0]|0;a:do if(!(h<<24>>24)){e=b;k=8}else{e=b;while(1){l=a[e>>0]|0;if(!(l<<24>>24?h<<24>>24==l<<24>>24:0))break a;g=g+1|0;e=e+1|0;h=a[g>>0]|0;if(!(h<<24>>24)){k=8;break}}}while(0);if((k|0)==8){k=0;if(!(a[e>>0]|0)){k=9;break}}j=j+1|0;if(j>>>0>=8){e=0;f=0;k=11;break}}if((k|0)==9){c[d>>2]=c[622764+(i*12|0)+4>>2];k=1;l=1;l=k&l;return l|0}else if((k|0)==11){l=e&f;return l|0}return 0}function In(a,b){a=a|0;b=b|0;if(a>>>0>3)a=0;else{a=c[622860+(a<<2)>>2]|0;if(!a)a=0;else{c[b>>2]=a;a=1}}return a|0}function Jn(a){a=a|0;return}function Kn(){a[622884]=0;a[622896]=0;a[622908]=0;a[622920]=0;a[622932]=0;a[622944]=0;a[622956]=0;a[622968]=0;a[622980]=0;a[622992]=0;c[155749]=0;c[155750]=0;c[155751]=0;c[155752]=0;c[155753]=0;Ln(622876,329171,1)|0;Ln(622876,329190,2)|0;Ln(622876,259785,3)|0;Ln(622876,259790,4)|0;return}function Ln(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;f=a[d>>0]|0;if(!(f<<24>>24))g=5381;else{h=d;g=5381;do{h=h+1|0;g=(g*33|0)+(f<<24>>24)|0;f=a[h>>0]|0}while(f<<24>>24!=0)}f=(g>>>0)%10|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+1|0)>>>0)%10|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+2|0)>>>0)%10|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+3|0)>>>0)%10|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+4|0)>>>0)%10|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+5|0)>>>0)%10|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+6|0)>>>0)%10|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+7|0)>>>0)%10|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+8|0)>>>0)%10|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+9|0)>>>0)%10|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else f=0}}}}}}}}}if((j|0)==5){a[f>>0]=1;c[b+(g*12|0)>>2]=d;c[b+(g*12|0)+4>>2]=e;f=1}if(e>>>0>4){c[k>>2]=d;c[k+4>>2]=e;vpb(441068,k)|0;j=0;i=k;return j|0}else{c[b+120+(e<<2)>>2]=d;j=f;i=k;return j|0}return 0}function Mn(a,b){a=a|0;b=b|0;if(a>>>0>4)a=0;else{a=c[622996+(a<<2)>>2]|0;if(!a)a=0;else{c[b>>2]=a;a=1}}return a|0}function Nn(b){b=b|0;var d=0,e=0,f=0,g=0;f=i;i=i+16|0;d=Ku(b,1)|0;e=~~+$Ga(b,2,16384.0);g=c[155683]|0;e=Gi[c[(c[g>>2]|0)+24>>2]&255](g,d,e)|0;Hi[c[(c[d>>2]|0)+12>>2]&1023](d);if(!e){g=uu(d)|0;c[f>>2]=(a[g>>0]&1)==0?g+1|0:c[g+8>>2]|0;g=PGa(b,259818,f)|0;i=f;return g|0}else{Gs(b,30,e);Hi[c[(c[e>>2]|0)+12>>2]&1023](e);g=1;i=f;return g|0}return 0}function On(a){a=a|0;var b=0,d=0,e=0,f=0;if(!(tDa(a,1)|0)){if(!(Hs(a,1,30)|0)){Nn(a)|0;oDa(a,1)}b=c[155683]|0;b=VN(b,kO(a,1)|0)|0}else{f=~~+_Ga(a,1);e=~~+$Ga(a,2,44100.0);d=~~+$Ga(a,3,16.0);b=~~+$Ga(a,4,2.0);b=WN(c[155683]|0,f,e,d,b)|0}Gs(a,29,b);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);return 1}function Pn(a){a=a|0;var b=0,d=0;d=i;i=i+32|0;b=c[155683]|0;if(!b){b=YAb(8)|0;mN(b)}else Hi[c[(c[b>>2]|0)+8>>2]&1023](b);c[d>>2]=b;c[d+4>>2]=325253;c[d+8>>2]=59;c[d+12>>2]=11004;c[d+16>>2]=11028;a=qs(a,d)|0;i=d;return a|0}function Qn(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((qDa(a,b)|0)!=7){c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0}e=EDa(a,b)|0;if(c[(c[155773]|0)+(c[e>>2]<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0){d=e+4|0;d=c[d>>2]|0;i=f;return d|0}c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0;d=e+4|0;d=c[d>>2]|0;i=f;return d|0}function Rn(a){a=a|0;var b=0;b=Qn(a,1,29)|0;JDa(a,vi[c[(c[b>>2]|0)+24>>2]&2047](b)|0);return 1}function Sn(a){a=a|0;var b=0;b=Qn(a,1,29)|0;JDa(a,vi[c[(c[b>>2]|0)+28>>2]&2047](b)|0);return 1}function Tn(a){a=a|0;var b=0;b=Qn(a,1,29)|0;JDa(a,vi[c[(c[b>>2]|0)+32>>2]&2047](b)|0);return 1}function Un(a){a=a|0;var b=0;b=Qn(a,1,29)|0;JDa(a,vi[c[(c[b>>2]|0)+36>>2]&2047](b)|0);return 1}function Vn(a){a=a|0;var b=0;b=Qn(a,1,29)|0;IDa(a,+Mi[c[(c[b>>2]|0)+40>>2]&63](b));return 1}function Wn(a){a=a|0;var b=0,c=0;c=Qn(a,1,29)|0;b=aHa(a,2)|0;iO(c,b,+_Ga(a,3));return 0}function Xn(a){a=a|0;var b=0;b=Qn(a,1,29)|0;IDa(a,+jO(b,aHa(a,2)|0));return 1}function Yn(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;c[d>>2]=12068;c[d+4>>2]=11040;c[d+8>>2]=0;b=xs(a,29,259848,d)|0;Cs(a,29);if((qDa(a,-1)|0)!=5){lDa(a,-2);i=d;return b|0}sHa(a,259893,4222,264115)|0;pDa(a,-2);dEa(a,1,0);lDa(a,-2);i=d;return b|0}function Zn(a){a=a|0;var b=0;b=i;i=i+16|0;GO(b,c[155684]|0);ks(a,b);Mqb(b);i=b;return 1}function _n(a){a=a|0;var b=0;b=c[155684]|0;JDa(a,vi[c[(c[b>>2]|0)+24>>2]&2047](b)|0);return 1}function $n(a){a=a|0;var b=0,d=0,e=0;b=i;i=i+16|0;e=UGa(a,1,0)|0;a=c[155684]|0;d=c[(c[a>>2]|0)+28>>2]|0;Iqb(b,e,rnb(e)|0);si[d&511](a,b);Mqb(b);i=b;return 0}function ao(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;d=c[155684]|0;si[c[(c[d>>2]|0)+32>>2]&511](b,d);ks(a,b);Mqb(b);i=b;return 1}function bo(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;c[d+8>>2]=-1;c[d+4>>2]=-1;b=c[155684]|0;if(HO(Gi[c[(c[b>>2]|0)+36>>2]&255](b,d+8|0,d+4|0)|0,d)|0)b=c[d>>2]|0;else{c[d>>2]=439634;b=439634}LDa(a,b);b=c[d+4>>2]|0;if((b|0)>-1)JDa(a,b);else HDa(a);b=c[d+8>>2]|0;if((b|0)>-1){JDa(a,b);i=d;return 3}else{HDa(a);i=d;return 3}return 0}function co(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;js(b,a,1);d=c[155684]|0;gs(a,Xi[c[(c[d>>2]|0)+40>>2]&511](d,b)|0);Mqb(b);i=b;return 1}function eo(a){a=a|0;var b=0.0;b=+$Ga(a,1,.5);a=c[155684]|0;pi[c[(c[a>>2]|0)+44>>2]&31](a,b);return 0}function fo(a){a=a|0;var b=0,d=0;d=i;i=i+32|0;b=c[155684]|0;if(!b){b=YAb(8)|0;zO(b)}else Hi[c[(c[b>>2]|0)+8>>2]&1023](b);c[d>>2]=b;c[d+4>>2]=353800;c[d+8>>2]=3;c[d+12>>2]=11104;c[d+16>>2]=0;a=qs(a,d)|0;i=d;return a|0}function go(b){b=b|0;var d=0,e=0,f=0,g=0;g=i;i=i+48|0;Iqb(g+36|0,264216,11);if(!(uDa(b,1)|0)){if(Hs(b,1,5)|0)Js(b,1,352526,326700)|0}else{c[g+32>>2]=0;d=BDa(b,1,g+32|0)|0;e=c[g+32>>2]|0;if(e>>>0>1023)f=4;else if(!(omb(d,10,e)|0))Js(b,1,352526,326700)|0;else f=4;if((f|0)==4){pDa(b,1);LDa(b,519683);c[g+24>>2]=(kDa(b)|0)+-1;c[g+24+4>>2]=kDa(b)|0;Ks(b,g+24|0,2,352526,326700)|0;lDa(b,-2);oDa(b,1)}}if(!(Hs(b,1,7)|0)){f=wk(b,1,2)|0;e=c[155685]|0;d=c[e>>2]|0;d=d+24|0;d=c[d>>2]|0;f=Gi[d&255](e,g+36|0,f)|0;Gs(b,53,f);b=c[f>>2]|0;b=b+12|0;b=c[b>>2]|0;Hi[b&1023](f);Mqb(g+36|0);i=g;return 1}d=ho(b,1,7)|0;Iqb(g,439705,1);f=tu(d)|0;e=a[f>>0]|0;f=Vqb(g,(e&1)==0?f+1|0:c[f+8>>2]|0,(e&1)==0?(e&255)>>>1:c[f+4>>2]|0)|0;c[g+12>>2]=c[f>>2];c[g+12+4>>2]=c[f+4>>2];c[g+12+8>>2]=c[f+8>>2];c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;if(!(a[g+36>>0]&1)){a[g+36+1>>0]=0;a[g+36>>0]=0}else{a[c[g+36+8>>2]>>0]=0;c[g+36+4>>2]=0}Qqb(g+36|0,0);c[g+36>>2]=c[g+12>>2];c[g+36+4>>2]=c[g+12+4>>2];c[g+36+8>>2]=c[g+12+8>>2];c[g+12>>2]=0;c[g+12+4>>2]=0;c[g+12+8>>2]=0;Mqb(g+12|0);Mqb(g);f=d;e=c[155685]|0;d=c[e>>2]|0;d=d+24|0;d=c[d>>2]|0;f=Gi[d&255](e,g+36|0,f)|0;Gs(b,53,f);b=c[f>>2]|0;b=b+12|0;b=c[b>>2]|0;Hi[b&1023](f);Mqb(g+36|0);i=g;return 1}function ho(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((qDa(a,b)|0)!=7){c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0}e=EDa(a,b)|0;if(c[(c[155773]|0)+(c[e>>2]<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0){d=e+4|0;d=c[d>>2]|0;i=f;return d|0}c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0;d=e+4|0;d=c[d>>2]|0;i=f;return d|0}function io(a){a=a|0;var b=0;b=c[155685]|0;b=vi[c[(c[b>>2]|0)+28>>2]&2047](b)|0;Gs(a,54,b);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);return 1}function jo(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;js(b,a,1);d=c[155685]|0;d=Xi[c[(c[d>>2]|0)+32>>2]&511](d,b)|0;Gs(a,54,d);Hi[c[(c[d>>2]|0)+12>>2]&1023](d);Mqb(b);i=b;return 1}function ko(a){a=a|0;var b=0,d=0;d=i;i=i+32|0;b=c[155685]|0;if(!b){b=YAb(8)|0;c[b>>2]=0;c[b+4>>2]=0;Jj(b);c[b>>2]=18552}else Hi[c[(c[b>>2]|0)+8>>2]&1023](b);c[d>>2]=b;c[d+4>>2]=516185;c[d+8>>2]=3;c[d+12>>2]=11168;c[d+16>>2]=11200;a=qs(a,d)|0;i=d;return a|0}function lo(a){a=a|0;a=c[155686]|0;Hi[c[(c[a>>2]|0)+24>>2]&1023](a);return 0}function mo(a){a=a|0;var b=0;b=c[155686]|0;IDa(a,+Mi[c[(c[b>>2]|0)+32>>2]&63](b));return 1}function no(a){a=a|0;var b=0;b=c[155686]|0;JDa(a,vi[c[(c[b>>2]|0)+36>>2]&2047](b)|0);return 1}function oo(a){a=a|0;var b=0;b=c[155686]|0;IDa(a,+Mi[c[(c[b>>2]|0)+40>>2]&63](b));return 1}function po(a){a=a|0;var b=0.0,d=0,e=0;d=c[155686]|0;e=c[(c[d>>2]|0)+28>>2]|0;b=+_Ga(a,1);pi[e&31](d,b);return 0}function qo(a){a=a|0;var b=0;b=c[155686]|0;IDa(a,+Mi[c[(c[b>>2]|0)+44>>2]&63](b));return 1}function ro(a){a=a|0;var b=0,d=0;d=i;i=i+32|0;b=c[155686]|0;if(!b){b=YAb(72)|0;xP(b)}else Hi[c[(c[b>>2]|0)+8>>2]&1023](b);c[d>>2]=b;c[d+4>>2]=264260;c[d+8>>2]=3;c[d+12>>2]=11212;c[d+16>>2]=0;a=qs(a,d)|0;i=d;return a|0}function so(a){a=a|0;var b=0,d=0,e=0;e=c[155687]|0;e=vi[c[(c[e>>2]|0)+24>>2]&2047](e)|0;WDa(a,((c[e+4>>2]|0)-(c[e>>2]|0)|0)/48|0,0);b=c[e>>2]|0;if((c[e+4>>2]|0)==(b|0))return 1;else d=0;do{QDa(a,c[b+(d*48|0)>>2]|0);d=d+1|0;aEa(a,-2,d);b=c[e>>2]|0}while(d>>>0<(((c[e+4>>2]|0)-b|0)/48|0)>>>0);return 1}function to(a){a=a|0;var b=0,d=0.0,e=0;if((qDa(a,1)|0)==2)b=EDa(a,1)|0;else b=Ns(a,1,264306)|0;e=c[155687]|0;b=Gi[c[(c[e>>2]|0)+28>>2]&255](e,b,((b|0)<0)<<31>>31)|0;d=+h[b+16>>3];IDa(a,+h[b+8>>3]);IDa(a,d);return 2}function uo(a){a=a|0;var b=0,d=0;if((qDa(a,1)|0)==2)b=EDa(a,1)|0;else b=Ns(a,1,264306)|0;d=c[155687]|0;IDa(a,+h[(Gi[c[(c[d>>2]|0)+28>>2]&255](d,b,((b|0)<0)<<31>>31)|0)+40>>3]);return 1}function vo(a){a=a|0;var b=0,d=0;d=i;i=i+32|0;b=c[155687]|0;if(!b){b=YAb(20)|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;c[b+16>>2]=0;Jj(b);c[b>>2]=18840;c[b+8>>2]=0;c[b+12>>2]=0;c[b+16>>2]=0}else Hi[c[(c[b>>2]|0)+8>>2]&1023](b);c[d>>2]=b;c[d+4>>2]=264315;c[d+8>>2]=3;c[d+12>>2]=11268;c[d+16>>2]=0;a=qs(a,d)|0;i=d;return a|0}function wo(a){a=a|0;var b=0,d=0,e=0;d=i;i=i+16|0;b=Ju(a,1)|0;if(!(vi[c[(c[b>>2]|0)+24>>2]&2047](b)|0))if(!(Xi[c[(c[b>>2]|0)+16>>2]&511](b,1)|0))PGa(a,264344,d)|0;e=c[155689]|0;b=Xi[c[(c[e>>2]|0)+24>>2]&511](e,b)|0;Gs(a,55,b);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);i=d;return 1}function xo(a){a=a|0;var b=0,d=0;d=i;i=i+32|0;b=c[155689]|0;if(!b){b=YAb(12)|0;YP(b)}else Hi[c[(c[b>>2]|0)+8>>2]&1023](b);c[d>>2]=b;c[d+4>>2]=327848;c[d+8>>2]=3;c[d+12>>2]=11300;c[d+16>>2]=11316;a=qs(a,d)|0;i=d;return a|0}function yo(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((qDa(a,b)|0)!=7){c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0}e=EDa(a,b)|0;if(c[(c[155773]|0)+(c[e>>2]<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0){d=e+4|0;d=c[d>>2]|0;i=f;return d|0}c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0;d=e+4|0;d=c[d>>2]|0;i=f;return d|0}function zo(a){a=a|0;var b=0,d=0;b=yo(a,1,55)|0;if(Hs(a,2,28)|0){d=c[(EDa(a,2)|0)+4>>2]|0;a=YAb(12)|0;UQ(a,d);si[c[(c[b>>2]|0)+64>>2]&511](b,a);Hi[c[(c[a>>2]|0)+12>>2]&1023](a);a=0;return a|0}if(Hs(a,2,55)|0){d=c[(EDa(a,2)|0)+4>>2]|0;a=c[(c[b>>2]|0)+64>>2]|0;d=vi[c[(c[d>>2]|0)+68>>2]&2047](d)|0;si[a&511](b,d);d=0;return d|0}if((qDa(a,2)|0)<1){d=YAb(40)|0;TQ(d);SQ(d,vi[c[(c[b>>2]|0)+68>>2]&2047](b)|0);si[c[(c[b>>2]|0)+64>>2]&511](b,d);Hi[c[(c[d>>2]|0)+12>>2]&1023](d);d=0;return d|0}else{d=Ns(a,2,264382)|0;return d|0}return 0}function Ao(a){a=a|0;var b=0;b=yo(a,1,55)|0;ks(a,vi[c[(c[b>>2]|0)+40>>2]&2047](b)|0);return 1}function Bo(a){a=a|0;a=yo(a,1,55)|0;Hi[c[(c[a>>2]|0)+44>>2]&1023](a);return 0}function Co(a){a=a|0;a=yo(a,1,55)|0;Hi[c[(c[a>>2]|0)+48>>2]&1023](a);return 0}function Do(a){a=a|0;var b=0.0,d=0;d=yo(a,1,55)|0;b=+_Ga(a,2);pi[c[(c[d>>2]|0)+52>>2]&31](d,b);return 0}function Eo(a){a=a|0;a=yo(a,1,55)|0;pi[c[(c[a>>2]|0)+52>>2]&31](a,0.0);return 0}function Fo(a){a=a|0;var b=0;b=yo(a,1,55)|0;IDa(a,+Mi[c[(c[b>>2]|0)+56>>2]&63](b));return 1}function Go(a){a=a|0;var b=0;b=yo(a,1,55)|0;gs(a,vi[c[(c[b>>2]|0)+60>>2]&2047](b)|0);return 1}function Ho(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=11324;c[b+4>>2]=0;a=xs(a,55,264411,b)|0;i=b;return a|0}function Io(a){a=a|0;var b=0;b=c[155688]|0;JDa(a,vi[c[(c[b>>2]|0)+48>>2]&2047](b)|0);return 1}function Jo(a){a=a|0;var b=0,d=0;b=~~+_Ga(a,1)+-1|0;d=c[155688]|0;LDa(a,Xi[c[(c[d>>2]|0)+52>>2]&511](d,b)|0);return 1}function Ko(b){b=b|0;var d=0,e=0,f=0,g=0,j=0;j=i;i=i+80|0;e=~~+_Ga(b,1);f=~~+_Ga(b,2);if((qDa(b,3)|0)<1){g=c[155688]|0;gs(b,cj[c[(c[g>>2]|0)+24>>2]&127](g,e,f,0)|0);g=1;i=j;return g|0}YGa(b,3,5);HDa(b);a:do if(lEa(b,3)|0){while(1){if((qDa(b,-2)|0)!=4){g=6;break}d=UGa(b,-2,0)|0;if(!($R(d,j+76|0)|0)){g=9;break}lDa(b,-2);if(!(lEa(b,3)|0))break a}if((g|0)==6){g=Ns(b,-2,519683)|0;i=j;return g|0}else if((g|0)==9){c[j+64>>2]=d;g=PGa(b,264431,j+64|0)|0;i=j;return g|0}}while(0);a[j>>0]=0;c[j+4>>2]=1;a[j+8>>0]=1;c[j+12>>2]=0;a[j+16>>0]=0;c[j+20>>2]=1;c[j+24>>2]=1;a[j+28>>0]=0;a[j+29>>0]=1;c[j+32>>2]=0;a[j+36>>0]=0;h[j+40>>3]=0.0;a[j+48>>0]=0;c[j+52>>2]=0;c[j+56>>2]=0;c[j+76>>2]=0;aS(1,j+76|0)|0;TDa(b,3,c[j+76>>2]|0);if((qDa(b,-1)|0)<1){c[j+4>>2]=1;g=14}else{d=UGa(b,-1,0)|0;if(YR(d,j+4|0)|0)g=14;else{c[j+72>>2]=d;d=PGa(b,264458,j+72|0)|0}}if((g|0)==14){lDa(b,-2);c[j+76>>2]=0;aS(0,j+76|0)|0;a[j>>0]=(ls(b,3,c[j+76>>2]|0,0)|0)&1;c[j+76>>2]=0;aS(2,j+76|0)|0;a[j+8>>0]=(ls(b,3,c[j+76>>2]|0,1)|0)&1;c[j+76>>2]=0;aS(3,j+76|0)|0;c[j+12>>2]=ms(b,3,c[j+76>>2]|0,0)|0;c[j+76>>2]=0;aS(4,j+76|0)|0;a[j+16>>0]=(ls(b,3,c[j+76>>2]|0,0)|0)&1;c[j+76>>2]=0;aS(5,j+76|0)|0;c[j+20>>2]=ms(b,3,c[j+76>>2]|0,1)|0;c[j+76>>2]=0;aS(6,j+76|0)|0;c[j+24>>2]=ms(b,3,c[j+76>>2]|0,1)|0;c[j+76>>2]=0;aS(7,j+76|0)|0;a[j+28>>0]=(ls(b,3,c[j+76>>2]|0,0)|0)&1;c[j+76>>2]=0;aS(8,j+76|0)|0;a[j+29>>0]=(ls(b,3,c[j+76>>2]|0,1)|0)&1;c[j+76>>2]=0;aS(9,j+76|0)|0;c[j+32>>2]=(ms(b,3,c[j+76>>2]|0,1)|0)+-1;c[j+76>>2]=0;aS(10,j+76|0)|0;a[j+36>>0]=(ls(b,3,c[j+76>>2]|0,0)|0)&1;c[j+76>>2]=0;aS(12,j+76|0)|0;TDa(b,3,c[j+76>>2]|0);c[j+76>>2]=0;aS(13,j+76|0)|0;TDa(b,3,c[j+76>>2]|0);if((qDa(b,-2)|0)<1){d=(qDa(b,-1)|0)>0;a[j+48>>0]=d&1;if(d)g=17}else{a[j+48>>0]=1;g=17}if((g|0)==17){c[j+52>>2]=~~+$Ga(b,-2,0.0);c[j+56>>2]=~~+$Ga(b,-1,0.0)}lDa(b,-3);d=c[155688]|0;gs(b,cj[c[(c[d>>2]|0)+24>>2]&127](d,e,f,j)|0);d=1}g=d;i=j;return g|0}function Lo(b){b=b|0;var d=0,e=0;d=i;i=i+80|0;a[d>>0]=0;c[d+4>>2]=1;a[d+8>>0]=1;c[d+12>>2]=0;a[d+16>>0]=0;c[d+20>>2]=1;c[d+24>>2]=1;a[d+28>>0]=0;a[d+29>>0]=1;c[d+32>>2]=0;a[d+36>>0]=0;h[d+40>>3]=0.0;a[d+48>>0]=0;c[d+52>>2]=0;c[d+56>>2]=0;e=c[155688]|0;kj[c[(c[e>>2]|0)+28>>2]&127](e,d+72|0,d+68|0,d);IDa(b,+(c[d+72>>2]|0));IDa(b,+(c[d+68>>2]|0));WDa(b,0,0);c[d+64>>2]=358581;_R(c[d+4>>2]|0,d+64|0)|0;LDa(b,c[d+64>>2]|0);c[d+76>>2]=0;aS(1,d+76|0)|0;_Da(b,-2,c[d+76>>2]|0);gs(b,(a[d>>0]|0)!=0);c[d+76>>2]=0;aS(0,d+76|0)|0;_Da(b,-2,c[d+76>>2]|0);gs(b,(a[d+8>>0]|0)!=0);c[d+76>>2]=0;aS(2,d+76|0)|0;_Da(b,-2,c[d+76>>2]|0);JDa(b,c[d+12>>2]|0);c[d+76>>2]=0;aS(3,d+76|0)|0;_Da(b,-2,c[d+76>>2]|0);gs(b,(a[d+16>>0]|0)!=0);c[d+76>>2]=0;aS(4,d+76|0)|0;_Da(b,-2,c[d+76>>2]|0);JDa(b,c[d+20>>2]|0);c[d+76>>2]=0;aS(5,d+76|0)|0;_Da(b,-2,c[d+76>>2]|0);JDa(b,c[d+24>>2]|0);c[d+76>>2]=0;aS(6,d+76|0)|0;_Da(b,-2,c[d+76>>2]|0);gs(b,(a[d+28>>0]|0)!=0);c[d+76>>2]=0;aS(7,d+76|0)|0;_Da(b,-2,c[d+76>>2]|0);gs(b,(a[d+29>>0]|0)!=0);c[d+76>>2]=0;aS(8,d+76|0)|0;_Da(b,-2,c[d+76>>2]|0);JDa(b,(c[d+32>>2]|0)+1|0);c[d+76>>2]=0;aS(9,d+76|0)|0;_Da(b,-2,c[d+76>>2]|0);gs(b,(a[d+36>>0]|0)!=0);c[d+76>>2]=0;aS(10,d+76|0)|0;_Da(b,-2,c[d+76>>2]|0);IDa(b,+h[d+40>>3]);c[d+76>>2]=0;aS(11,d+76|0)|0;_Da(b,-2,c[d+76>>2]|0);JDa(b,c[d+52>>2]|0);c[d+76>>2]=0;aS(12,d+76|0)|0;_Da(b,-2,c[d+76>>2]|0);JDa(b,c[d+56>>2]|0);c[d+76>>2]=0;aS(13,d+76|0)|0;_Da(b,-2,c[d+76>>2]|0);i=d;return 3}function Mo(a){a=a|0;var b=0,d=0,e=0,f=0;f=i;i=i+32|0;c[f+16>>2]=0;if((qDa(a,1)|0)<1){b=c[155688]|0;kj[c[(c[b>>2]|0)+68>>2]&127](b,f+4|0,f,f+16|0);b=c[f+16>>2]|0}else{b=~~+_Ga(a,1)+-1|0;c[f+16>>2]=b}e=c[155688]|0;$i[c[(c[e>>2]|0)+56>>2]&255](f+4|0,e,b);WDa(a,(c[f+4+4>>2]|0)-(c[f+4>>2]|0)>>3,0);e=0;while(1){b=c[f+4+4>>2]|0;d=c[f+4>>2]|0;if(e>>>0>=b-d>>3>>>0)break;d=e+1|0;JDa(a,d);WDa(a,0,2);JDa(a,c[(c[f+4>>2]|0)+(e<<3)>>2]|0);_Da(a,-2,607135);JDa(a,c[(c[f+4>>2]|0)+(e<<3)+4>>2]|0);_Da(a,-2,607141);ZDa(a,-3);e=d}if(!d){i=f;return 1}if((b|0)!=(d|0))c[f+4+4>>2]=b+(~((b+-8-d|0)>>>3)<<3);oAb(d);i=f;return 1}function No(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;g=i;i=i+16|0;e=fs(a,1)|0;c[g+4>>2]=2;do if((qDa(a,2)|0)<1)f=5;else{b=UGa(a,2,0)|0;if(!b)f=5;else if(YR(b,g+4|0)|0){d=c[g+4>>2]|0;b=c[155688]|0;if((d|0)==2){f=7;break}b=Gi[c[(c[b>>2]|0)+36>>2]&255](b,e,d)|0;break}else{c[g>>2]=b;f=PGa(a,264458,g)|0;i=g;return f|0}}while(0);if((f|0)==5){b=c[155688]|0;f=7}if((f|0)==7)b=Xi[c[(c[b>>2]|0)+40>>2]&511](b,e)|0;gs(a,b);f=1;i=g;return f|0}function Oo(b){b=b|0;var d=0,e=0;d=i;i=i+80|0;a[d>>0]=0;c[d+4>>2]=1;a[d+8>>0]=1;c[d+12>>2]=0;a[d+16>>0]=0;c[d+20>>2]=1;c[d+24>>2]=1;a[d+28>>0]=0;a[d+29>>0]=1;c[d+32>>2]=0;a[d+36>>0]=0;h[d+40>>3]=0.0;a[d+48>>0]=0;c[d+52>>2]=0;c[d+56>>2]=0;e=c[155688]|0;kj[c[(c[e>>2]|0)+28>>2]&127](e,d+76|0,d+72|0,d);if(_R(c[d+4>>2]|0,d+68|0)|0){e=a[d>>0]|0;e=e<<24>>24!=0;gs(b,e);e=c[d+68>>2]|0;LDa(b,e);i=d;return 2}PGa(b,264486,d+64|0)|0;e=a[d>>0]|0;e=e<<24>>24!=0;gs(b,e);e=c[d+68>>2]|0;LDa(b,e);i=d;return 2}function Po(a){a=a|0;var b=0;b=c[155688]|0;gs(a,vi[c[(c[b>>2]|0)+72>>2]&2047](b)|0);return 1}function Qo(a){a=a|0;a=c[155688]|0;Hi[c[(c[a>>2]|0)+32>>2]&1023](a);return 0}function Ro(a){a=a|0;var b=0,d=0,e=0;d=i;i=i+32|0;c[d+16>>2]=0;c[d+12>>2]=0;c[d+8>>2]=0;if((qDa(a,1)|0)<1){b=c[155688]|0;kj[c[(c[b>>2]|0)+68>>2]&127](b,d+4|0,d,d+8|0);b=c[d+8>>2]|0}else{b=~~+_Ga(a,1)+-1|0;c[d+8>>2]=b}e=c[155688]|0;kj[c[(c[e>>2]|0)+60>>2]&127](e,b,d+16|0,d+12|0);JDa(a,c[d+16>>2]|0);JDa(a,c[d+12>>2]|0);i=d;return 2}function So(a){a=a|0;var b=0,d=0,e=0,f=0;e=i;i=i+16|0;b=~~+_Ga(a,1);d=~~+_Ga(a,2);c[e+8>>2]=0;if((qDa(a,3)|0)<1){a=c[155688]|0;kj[c[(c[a>>2]|0)+68>>2]&127](a,e+4|0,e,e+8|0);a=c[e+8>>2]|0}else{a=~~+_Ga(a,3)+-1|0;c[e+8>>2]=a}f=c[155688]|0;kj[c[(c[f>>2]|0)+64>>2]&127](f,b,d,a);i=e;return 0}function To(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;c[b+8>>2]=0;c[b+4>>2]=0;c[b>>2]=0;d=c[155688]|0;kj[c[(c[d>>2]|0)+68>>2]&127](d,b+8|0,b+4|0,b);JDa(a,c[b+8>>2]|0);JDa(a,c[b+4>>2]|0);JDa(a,(c[b>>2]|0)+1|0);i=b;return 3}function Uo(a){a=a|0;var b=0,d=0;b=Qk(a,1,22)|0;d=c[155688]|0;gs(a,Xi[c[(c[d>>2]|0)+84>>2]&511](d,b)|0);return 1}function Vo(a){a=a|0;var b=0;b=c[155688]|0;Gs(a,22,vi[c[(c[b>>2]|0)+88>>2]&2047](b)|0);return 1}function Wo(a){a=a|0;var b=0,d=0;b=c[155688]|0;d=c[(c[b>>2]|0)+92>>2]|0;a=fs(a,1)|0;si[d&511](b,a);return 0}function Xo(a){a=a|0;var b=0;b=c[155688]|0;gs(a,vi[c[(c[b>>2]|0)+96>>2]&2047](b)|0);return 1}function Yo(a){a=a|0;var b=0;b=i;i=i+16|0;js(b,a,1);a=c[155688]|0;si[c[(c[a>>2]|0)+76>>2]&511](a,b);Mqb(b);i=b;return 0}function Zo(a){a=a|0;var b=0;b=c[155688]|0;ks(a,vi[c[(c[b>>2]|0)+80>>2]&2047](b)|0);return 1}function _o(a){a=a|0;var b=0;b=c[155688]|0;gs(a,vi[c[(c[b>>2]|0)+112>>2]&2047](b)|0);return 1}function $o(a){a=a|0;var b=0;b=c[155688]|0;gs(a,vi[c[(c[b>>2]|0)+116>>2]&2047](b)|0);return 1}function ap(a){a=a|0;var b=0;b=c[155688]|0;gs(a,vi[c[(c[b>>2]|0)+120>>2]&2047](b)|0);return 1}function bp(a){a=a|0;var b=0;b=c[155688]|0;IDa(a,+Mi[c[(c[b>>2]|0)+152>>2]&63](b));return 1}function cp(a){a=a|0;var b=0.0,d=0,e=0,f=0.0;d=i;i=i+16|0;b=+_Ga(a,1);if((qDa(a,2)|0)<1){e=c[155688]|0;IDa(a,+aj[c[(c[e>>2]|0)+156>>2]&15](e,b));a=1;i=d;return a|0}else{f=+_Ga(a,2);h[d+8>>3]=0.0;h[d>>3]=0.0;e=c[155688]|0;yi[c[(c[e>>2]|0)+160>>2]&3](e,b,f,d+8|0,d);IDa(a,+h[d+8>>3]);IDa(a,+h[d>>3]);e=2;i=d;return e|0}return 0}function dp(a){a=a|0;var b=0.0,d=0,e=0,f=0.0;d=i;i=i+16|0;b=+_Ga(a,1);if((qDa(a,2)|0)<1){e=c[155688]|0;IDa(a,+aj[c[(c[e>>2]|0)+164>>2]&15](e,b));a=1;i=d;return a|0}else{f=+_Ga(a,2);h[d+8>>3]=0.0;h[d>>3]=0.0;e=c[155688]|0;yi[c[(c[e>>2]|0)+168>>2]&3](e,b,f,d+8|0,d);IDa(a,+h[d+8>>3]);IDa(a,+h[d>>3]);e=2;i=d;return e|0}return 0}function ep(a){a=a|0;a=c[155688]|0;Hi[c[(c[a>>2]|0)+100>>2]&1023](a);return 0}function fp(a){a=a|0;a=c[155688]|0;Hi[c[(c[a>>2]|0)+104>>2]&1023](a);return 0}function gp(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+96|0;g=h+32+32|0;d=h+32|0;e=d+48|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));a[h+32+48>>0]=0;c[h+32>>2]=2;Rqb(h+32+4|0,UGa(b,1,0)|0)|0;Rqb(h+32+16|0,UGa(b,2,0)|0)|0;do if((qDa(b,3)|0)==5){d=Es(b,3)|0;if(!d){f=PGa(b,264511,h)|0;break}f=0;do{f=f+1|0;VDa(b,3,f);js(h+20|0,b,-1);e=c[g>>2]|0;if(e>>>0<(c[h+32+36>>2]|0)>>>0){c[e>>2]=c[h+20>>2];c[e+4>>2]=c[h+20+4>>2];c[e+8>>2]=c[h+20+8>>2];c[h+20>>2]=0;c[h+20+4>>2]=0;c[h+20+8>>2]=0;c[g>>2]=(c[g>>2]|0)+12}else hp(h+32+28|0,h+20|0);Mqb(h+20|0);lDa(b,-2)}while(f>>>0>>0);TDa(b,3,264553);if((qDa(b,-1)|0)<1)d=0;else d=~~+_Ga(b,-1)+-1|0;c[h+32+40>>2]=d;lDa(b,-2);TDa(b,3,264565);if((qDa(b,-1)|0)<1)d=((c[g>>2]|0)-(c[h+32+28>>2]|0)|0)/12|0;else d=~~+_Ga(b,-1);c[h+32+44>>2]=d+-1;lDa(b,-2);if((qDa(b,4)|0)>=1){d=UGa(b,4,0)|0;if(d|0)if(!(bS(d,h+32|0)|0)){c[h+8>>2]=d;f=PGa(b,264578,h+8|0)|0;break}}a[h+32+48>>0]=(hs(b,5,1)|0)&1;f=c[155688]|0;JDa(b,(Xi[c[(c[f>>2]|0)+180>>2]&511](f,h+32|0)|0)+1|0);f=1}else{if((qDa(b,3)|0)>=1){d=UGa(b,3,0)|0;if(d|0)if(!(bS(d,h+32|0)|0)){c[h+16>>2]=d;f=PGa(b,264578,h+16|0)|0;break}}f=hs(b,4,1)|0;a[h+32+48>>0]=f&1;e=c[155688]|0;gs(b,Ci[c[(c[e>>2]|0)+176>>2]&127](e,h+32+4|0,h+32+16|0,c[h+32>>2]|0,f)|0);f=1}while(0);d=c[h+32+28>>2]|0;if(!d){Mqb(h+32+16|0);Mqb(h+32+4|0);i=h;return f|0}e=c[g>>2]|0;if((e|0)!=(d|0)){do{b=e+-12|0;c[g>>2]=b;Mqb(b);e=c[g>>2]|0}while((e|0)!=(d|0));d=c[h+32+28>>2]|0}oAb(d);Mqb(h+32+16|0);Mqb(h+32+4|0);i=h;return f|0}function hp(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;f=c[a>>2]|0;e=(((c[a+4>>2]|0)-f|0)/12|0)+1|0;if(e>>>0>357913941)jzb(a);d=((c[a+8>>2]|0)-f|0)/12|0;if(d>>>0<178956970){d=d<<1>>>0>>0?e:d<<1;e=((c[a+4>>2]|0)-f|0)/12|0;if(!d){g=0;f=0;d=e}else h=6}else{d=357913941;e=((c[a+4>>2]|0)-f|0)/12|0;h=6}if((h|0)==6){g=d;f=YAb(d*12|0)|0;d=e}i=f+(d*12|0)|0;h=f+(g*12|0)|0;c[i>>2]=c[b>>2];c[i+4>>2]=c[b+4>>2];c[i+8>>2]=c[b+8>>2];c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;g=c[a>>2]|0;d=c[a+4>>2]|0;if((d|0)==(g|0)){e=i;f=g;d=g}else{f=i;e=i;do{b=f+-12|0;d=d+-12|0;c[b>>2]=c[d>>2];c[b+4>>2]=c[d+4>>2];c[b+8>>2]=c[d+8>>2];c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;f=e+-12|0;e=f}while((d|0)!=(g|0));f=c[a>>2]|0;d=c[a+4>>2]|0}c[a>>2]=e;c[a+4>>2]=i+12;c[a+8>>2]=h;e=f;if((d|0)!=(e|0))do{d=d+-12|0;Mqb(d)}while((d|0)!=(e|0));if(!f)return;oAb(f);return}function ip(a){a=a|0;var b=0;a=hs(a,1,0)|0;b=c[155688]|0;si[c[(c[b>>2]|0)+184>>2]&511](b,a);return 0}function jp(a){a=a|0;var b=0,d=0;d=i;i=i+32|0;b=c[155688]|0;if(!b){b=YAb(128)|0;TR(b)}else Hi[c[(c[b>>2]|0)+8>>2]&1023](b);c[d>>2]=b;c[d+4>>2]=435306;c[d+8>>2]=3;c[d+12>>2]=11396;c[d+16>>2]=0;a=qs(a,d)|0;i=d;return a|0}function kp(a){a=a|0;qr()|0;oe(3)|0;VGa(a,264909)|0;WDa(a,0,0);Os(a,0,11636);_Da(a,-2,520409);ODa(a,271,0);_Da(a,-2,520300);VGa(a,264986)|0;WDa(a,0,0);Os(a,0,11772);_Da(a,-2,520409);ODa(a,1475,0);_Da(a,-2,518860);WDa(a,0,0);WDa(a,0,0);LDa(a,439741);_Da(a,-2,517912);bEa(a,-2)|0;_Da(a,-1e4,264975);Os(a,265735,11900);return 1}function lp(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+32|0;b=c[(WGa(a,1,264909)|0)>>2]|0;if(!b){a=PGa(a,264927,e)|0;i=e;return a|0}if((kDa(a)|0)>1)d=~~+_Ga(a,2);else d=0;b=$q(b,e+12|0,d)|0;do if(!b)b=0;else if((b|0)<0){b=PGa(a,264954,e+8|0)|0;break}else{mp(a,e+12|0);b=1;break}while(0);a=b;i=e;return a|0}function mp(a,b){a=a|0;b=b|0;var e=0;WDa(a,0,0);e=c[b+4>>2]|0;if(e|0){np(a,e);_Da(a,-2,264996)}switch(c[b>>2]|0){case 1:{JDa(a,c[b+12>>2]|0);_Da(a,-2,361348);LDa(a,361649);_Da(a,-2,518979);return}case 2:{JDa(a,c[b+12>>2]|0);_Da(a,-2,361348);LDa(a,265001);_Da(a,-2,518979);return}case 3:{e=c[b+16>>2]|0;KDa(a,c[e+8>>2]|0,c[e+12>>2]|0);_Da(a,-2,361348);JDa(a,d[b+8>>0]|0);_Da(a,-2,524104);LDa(a,361842);qq(c[b+16>>2]|0);_Da(a,-2,518979);return}case 0:{LDa(a,522333);_Da(a,-2,518979);return}default:{_Da(a,-2,518979);return}}}function np(a,b){a=a|0;b=b|0;TDa(a,-1e4,264975);QDa(a,b);SDa(a,-2);if(qDa(a,-1)|0){mDa(a,-2);return}lDa(a,-2);c[(nEa(a,4)|0)>>2]=b;TDa(a,-1e4,264986);bEa(a,-2)|0;QDa(a,b);pDa(a,-2);ZDa(a,-4);mDa(a,-2);return}function op(a){a=a|0;var b=0,d=0;d=i;i=i+32|0;b=c[(WGa(a,1,264909)|0)>>2]|0;if(!b){a=PGa(a,264927,d)|0;i=d;return a|0}b=Zq(b,d+12|0)|0;do if(!b)b=0;else if((b|0)<0){b=PGa(a,265025,d+8|0)|0;break}else{mp(a,d+12|0);b=1;break}while(0);a=b;i=d;return a|0}function pp(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=c[(WGa(a,1,264909)|0)>>2]|0;do if(!b)b=PGa(a,264927,d)|0;else if(!(cq(b)|0)){PDa(a,1);b=1;break}else{PDa(a,0);b=1;break}while(0);i=d;return b|0}function qp(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;g=i;i=i+32|0;d=c[(WGa(a,1,264909)|0)>>2]|0;if(!d){a=PGa(a,264927,g)|0;i=g;return a|0}rp(a,UGa(a,2,0)|0,g+16|0);switch(kDa(a)|0){case 4:{if(!(qDa(a,4)|0)){b=0;f=6}else{b=~~+_Ga(a,4);f=6}break}case 3:{b=0;f=6;break}default:{e=1;b=0}}if((f|0)==6)if(!(qDa(a,3)|0))e=1;else e=~~+_Ga(a,3);b=fq(d,g+16|0,e,b)|0;if(!b)b=PGa(a,265166,g+8|0)|0;else{np(a,b);b=1}a=b;i=g;return a|0}function rp(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+192|0;g=m+64|0;h=g+128|0;do{a[g>>0]=0;g=g+1|0}while((g|0)<(h|0));g=m+32|0;h=g+32|0;do{a[g>>0]=0;g=g+1|0}while((g|0)<(h|0));g=a[e>>0]|0;if(!(g<<24>>24)){a[m+64>>0]=0;a[m+32>>0]=0;g=0;l=11}else{j=g;h=0;g=0;k=0;do{if((h|0)>127|(g|0)>31){PGa(d,265072,m)|0;j=a[e>>0]|0}if(!k)if(j<<24>>24==58)k=1;else{a[m+64+h>>0]=j;h=h+1|0;k=0}else{a[m+32+g>>0]=j;g=g+1|0}e=e+1|0;j=a[e>>0]|0}while(j<<24>>24!=0);a[m+64+h>>0]=0;a[m+32+g>>0]=0;if(!h)l=11}if((l|0)==11)PGa(d,265090,m+8|0)|0;if(!g)PGa(d,265114,m+16|0)|0;if(!(Imb(504178,m+64|0)|0))c[f>>2]=0;else if(ur(f,m+64|0)|0)PGa(d,265138,m+24|0)|0;if(!(Imb(504178,m+32|0)|0)){d=0;l=f+4|0;b[l>>1]=d;i=m;return}d=(Hpb(m+32|0)|0)&65535;l=f+4|0;b[l>>1]=d;i=m;return}function sp(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=c[(WGa(a,1,264909)|0)>>2]|0;if(!b){a=PGa(a,264927,d)|0;i=d;return a|0}else{Pq(b);a=0;i=d;return a|0}return 0}function tp(b){b=b|0;var d=0,e=0;e=i;i=i+16|0;d=c[(WGa(b,1,264909)|0)>>2]|0;if(!d){b=PGa(b,264927,e)|0;i=e;return b|0}else{b=up(b,e+4|0)|0;gq(d,a[e+4>>0]|0,b);b=0;i=e;return b|0}return 0}function up(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+16|0;e=kDa(b)|0;g=UGa(b,2,h+12|0)|0;a[d>>0]=0;if((e|0)>3)if(!(qDa(b,4)|0)){e=1;f=8}else{e=UGa(b,4,0)|0;if(!(Imb(265188,e)|0)){e=2;f=8}else if(!(Imb(265200,e)|0)){e=1;f=8}else if(!(Imb(265209,e)|0)){e=0;f=8}else{c[h>>2]=e;PGa(b,265220,h)|0;e=1;f=8}}else if((e|0)>2){e=1;f=8}else e=1;if((f|0)==8)if(qDa(b,3)|0)a[d>>0]=~~+_Ga(b,3);e=pq(g,c[h+12>>2]|0,e)|0;if(e|0){i=h;return e|0}PGa(b,265244,h+8|0)|0;i=h;return e|0}function vp(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=c[(WGa(a,1,264909)|0)>>2]|0;if(!b){a=PGa(a,264927,d)|0;i=d;return a|0}else{iq(b,~~+_Ga(a,2));a=0;i=d;return a|0}return 0}function wp(a){a=a|0;var b=0,d=0,e=0;d=i;i=i+16|0;b=c[(WGa(a,1,264909)|0)>>2]|0;if(!b){a=PGa(a,264927,d)|0;i=d;return a|0}else{e=~~+_Ga(a,2);jq(b,e,~~+_Ga(a,2));a=0;i=d;return a|0}return 0}function xp(a){a=a|0;var b=0,d=0,f=0;d=i;i=i+48|0;b=c[(WGa(a,1,264909)|0)>>2]|0;if(!b){a=PGa(a,264927,d)|0;i=d;return a|0}else{xr(c[b>>2]|0,d+32|0)|0;f=c[d+32>>2]|0;b=e[d+32+4>>1]|0;c[d+8>>2]=f&255;c[d+8+4>>2]=f>>>8&255;c[d+8+8>>2]=f>>>16&255;c[d+8+12>>2]=f>>>24;c[d+8+16>>2]=b;NDa(a,265317,d+8|0)|0;a=1;i=d;return a|0}return 0}function yp(a){a=a|0;var b=0;a=WGa(a,1,264909)|0;b=c[a>>2]|0;if(b|0)eq(b);c[a>>2]=0;return 0}function zp(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=c[(WGa(a,1,264909)|0)>>2]|0;if(!b){a=PGa(a,264927,d)|0;i=d;return a|0}else{JDa(a,c[b+10364>>2]|0);a=1;i=d;return a|0}return 0}function Ap(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=c[(WGa(a,1,264909)|0)>>2]|0;if(!b){a=PGa(a,264927,d)|0;i=d;return a|0}else{JDa(a,c[b+10372>>2]|0);a=1;i=d;return a|0}return 0}function Bp(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=c[(WGa(a,1,264909)|0)>>2]|0;if(!b){a=PGa(a,264927,d)|0;i=d;return a|0}else{JDa(a,c[b+48>>2]|0);a=1;i=d;return a|0}return 0}function Cp(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=c[(WGa(a,1,264909)|0)>>2]|0;if(!b){a=PGa(a,264927,d)|0;i=d;return a|0}else{JDa(a,c[b+40>>2]|0);a=1;i=d;return a|0}return 0}function Dp(a){a=a|0;var b=0,d=0,e=0,f=0;f=i;i=i+16|0;b=c[(WGa(a,1,264909)|0)>>2]|0;if(!b){e=PGa(a,264927,f)|0;i=f;return e|0}d=~~+_Ga(a,2);if((d|0)<1)e=5;else if((d+-1|0)>>>0>=(c[b+40>>2]|0)>>>0)e=5;if((e|0)==5)OGa(a,2,265420)|0;np(a,(c[b+36>>2]|0)+((d+-1|0)*380|0)|0);e=1;i=f;return e|0}function Ep(a){a=a|0;var b=0;b=c[(WGa(a,1,264986)|0)>>2]|0;if((kDa(a)|0)>1)a=~~+_Ga(a,2);else a=0;Iq(b,a);return 0}function Fp(a){a=a|0;var b=0;b=c[(WGa(a,1,264986)|0)>>2]|0;if((kDa(a)|0)>1)a=~~+_Ga(a,2);else a=0;Hq(b,a);return 0}function Gp(a){a=a|0;var b=0;b=c[(WGa(a,1,264986)|0)>>2]|0;if((kDa(a)|0)>1)a=~~+_Ga(a,2);else a=0;Jq(b,a);return 0}function Hp(a){a=a|0;Dq(c[(WGa(a,1,264986)|0)>>2]|0);return 0}function Ip(a){a=a|0;Eq(c[(WGa(a,1,264986)|0)>>2]|0);return 0}function Jp(b){b=b|0;var e=0,f=0;f=i;i=i+16|0;e=c[(WGa(b,1,264986)|0)>>2]|0;a[f>>0]=0;if((kDa(b)|0)>1)a[f>>0]=~~+_Ga(b,2);e=wq(e,f)|0;if(!e){b=0;i=f;return b|0}KDa(b,c[e+8>>2]|0,c[e+12>>2]|0);JDa(b,d[f>>0]|0);qq(e);b=2;i=f;return b|0}function Kp(b){b=b|0;var d=0,e=0;d=i;i=i+16|0;e=c[(WGa(b,1,264986)|0)>>2]|0;b=up(b,d)|0;vq(e,a[d>>0]|0,b)|0;i=d;return 0}function Lp(a){a=a|0;var b=0,d=0,e=0;e=c[(WGa(a,1,264986)|0)>>2]|0;d=~~+_Ga(a,2);b=~~+_Ga(a,3);rq(e,d,b,~~+_Ga(a,4));return 0}function Mp(a){a=a|0;var b=0;b=c[(WGa(a,1,264986)|0)>>2]|0;if((kDa(a)|0)>1)Fq(b,~~+_Ga(a,2));JDa(a,c[b+136>>2]|0);return 1}function Np(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;f=c[(WGa(a,1,264986)|0)>>2]|0;switch(kDa(a)|0){case 4:{if(!(qDa(a,4)|0)){b=0;g=4}else{b=~~+_Ga(a,4);g=4}break}case 3:{b=0;g=4;break}case 2:{b=0;d=0;g=6;break}default:{e=0;b=0;d=0}}if((g|0)==4)if(!(qDa(a,3)|0)){d=0;g=6}else{d=~~+_Ga(a,3);g=6}if((g|0)==6)if(!(qDa(a,2)|0))e=0;else e=~~+_Ga(a,2);Gq(f,e,d,b);JDa(a,c[f+140>>2]|0);JDa(a,c[f+144>>2]|0);JDa(a,c[f+148>>2]|0);return 3}function Op(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;g=i;i=i+16|0;e=c[(WGa(a,1,264986)|0)>>2]|0;b=c[e+8>>2]|0;f=c[b+40>>2]|0;a:do if(!f)b=0;else{d=c[b+36>>2]|0;b=0;while(1){if((d+(b*380|0)|0)==(e|0))break;b=b+1|0;if(b>>>0>=f>>>0)break a}f=b+1|0;JDa(a,f);i=g;return 1}while(0);PGa(a,265509,g)|0;f=b;f=f+1|0;JDa(a,f);i=g;return 1}function Pp(a){a=a|0;do switch(c[(c[(WGa(a,1,264986)|0)>>2]|0)+36>>2]|0){case 0:{LDa(a,265545);break}case 1:{LDa(a,265558);break}case 2:{LDa(a,265569);break}case 3:{LDa(a,265591);break}case 4:{LDa(a,265610);break}case 5:{LDa(a,265631);break}case 6:{LDa(a,265454);break}case 7:{LDa(a,265641);break}case 8:{LDa(a,265655);break}case 9:{LDa(a,265680);break}default:LDa(a,439634)}while(0);return 1}function Qp(a){a=a|0;JDa(a,c[(c[(WGa(a,1,264986)|0)>>2]|0)+16>>2]|0);return 1}function Rp(a){a=a|0;var b=0,d=0;b=c[(WGa(a,1,264986)|0)>>2]|0;if((kDa(a)|0)>1){d=~~+_Ga(a,2);c[b+168>>2]=d;b=d;JDa(a,b);return 1}else{d=c[b+168>>2]|0;JDa(a,d);return 1}return 0}function Sp(a){a=a|0;var b=0,d=0;b=c[(WGa(a,1,264986)|0)>>2]|0;if((kDa(a)|0)>1){d=~~+_Ga(a,2);c[b+152>>2]=d;b=d;JDa(a,b);return 1}else{d=c[b+152>>2]|0;JDa(a,d);return 1}return 0}function Tp(a){a=a|0;var b=0,d=0;b=i;i=i+128|0;d=c[(WGa(a,1,264986)|0)>>2]|0;vr(d+24|0,b,128)|0;LDa(a,b);LDa(a,439695);JDa(a,e[d+28>>1]|0);mEa(a,3);i=b;return 1}function Up(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0;j=i;i=i+16|0;if(!(kDa(a)|0))g=0;else if(!(qDa(a,1)|0))g=0;else{rp(a,UGa(a,1,0)|0,j);g=1}switch(kDa(a)|0){case 5:{if(!(qDa(a,5)|0)){b=0;h=7}else{b=~~+_Ga(a,5);h=7}break}case 4:{b=0;h=7;break}case 3:{d=0;b=0;h=9;break}case 2:{e=1;d=0;b=0;h=11;break}default:{f=1;d=0;b=0;e=64}}if((h|0)==7)if(!(qDa(a,4)|0)){d=0;h=9}else{d=~~+_Ga(a,4);h=9}if((h|0)==9)if(!(qDa(a,3)|0)){e=1;h=11}else{e=~~+_Ga(a,3);h=11}if((h|0)==11)if(!(qDa(a,2)|0)){f=e;e=64}else{f=e;e=~~+_Ga(a,2)}b=dq(g|0?j:0,e,f,d,b)|0;if(!b){HDa(a);LDa(a,265752);a=2;i=j;return a|0}else{c[(nEa(a,4)|0)>>2]=b;TDa(a,-1e4,264909);bEa(a,-2)|0;a=1;i=j;return a|0}return 0}function Vp(a){a=a|0;var b=0,d=0,e=0,f=0;b=i;i=i+16|0;f=(Wp()|0)>>>16&255;e=(Wp()|0)>>>8&255;d=(Wp()|0)&255;c[b>>2]=f;c[b+4>>2]=e;c[b+8>>2]=d;NDa(a,265816,b)|0;i=b;return 1}function Wp(){return 66315}function Xp(a){a=a|0;var b=0;b=i;i=i+16|0;c[b+4>>2]=a;c[b>>2]=Vpb(c[b+4>>2]|0)|0;if(!(c[b>>2]|0))Ph();else{i=b;return c[b>>2]|0}return 0}function Yp(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;Wpb(c[b>>2]|0);i=b;return}function Zp(){var a=0,b=0;a=i;i=i+16|0;c[a>>2]=Xp(65536)|0;if(!(c[a>>2]|0)){c[a+4>>2]=0;b=c[a+4>>2]|0;i=a;return b|0}else{c[a+4>>2]=c[a>>2];b=c[a+4>>2]|0;i=a;return b|0}return 0}function _p(a){a=a|0;var b=0;b=i;i=i+16|0;c[b+4>>2]=a;c[b>>2]=c[b+4>>2];if(!(c[b>>2]|0)){i=b;return}Yp(c[b>>2]|0);i=b;return}function $p(f,g,h,j,k,l){f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;var m=0,n=0;n=i;i=i+112|0;c[n+80>>2]=f;c[n+76>>2]=g;c[n+72>>2]=h;c[n+68>>2]=j;c[n+64>>2]=k;c[n+60>>2]=l;c[n+56>>2]=c[n+80>>2];c[n+52>>2]=c[n+64>>2];c[n+48>>2]=(c[n+64>>2]|0)+(c[n+60>>2]|0);c[n+36>>2]=0;c[n+32>>2]=-1;b[n+94>>1]=0;c[n+24>>2]=0;c[n+20>>2]=0;if((c[n+56>>2]|0)==0|(c[n+72>>2]|0)>>>0<=0|(c[n+68>>2]|0)>>>0<=0){c[n+84>>2]=0;m=c[n+84>>2]|0;i=n;return m|0}c[n+44>>2]=c[c[n+76>>2]>>2];c[n+40>>2]=(c[n+44>>2]|0)+(c[(c[n+76>>2]|0)+4>>2]|0);c[n+76>>2]=(c[n+76>>2]|0)+8;c[n+72>>2]=(c[n+72>>2]|0)+-1;l=c[n+20>>2]|0;c[n+20>>2]=l+1;c[n+28>>2]=(c[n+56>>2]|0)+(l<<4);a[c[n+28>>2]>>0]=0;a[(c[n+28>>2]|0)+1>>0]=0;b[(c[n+28>>2]|0)+2>>1]=0;b[(c[n+28>>2]|0)+4>>1]=0;b[(c[n+28>>2]|0)+6>>1]=0;b[(c[n+28>>2]|0)+8>>1]=0;b[(c[n+28>>2]|0)+10>>1]=0;b[(c[n+28>>2]|0)+12>>1]=0;b[(c[n+28>>2]|0)+14>>1]=0;b[(c[n+28>>2]|0)+10>>1]=1;b[(c[n+28>>2]|0)+12>>1]=257;b[(c[n+28>>2]|0)+8>>1]=0;a:while(1){c[n+8>>2]=n+94;if((c[n+44>>2]|0)>>>0>=(c[n+40>>2]|0)>>>0){if((c[n+72>>2]|0)>>>0<=0){m=75;break}c[n+44>>2]=c[c[n+76>>2]>>2];c[n+40>>2]=(c[n+44>>2]|0)+(c[(c[n+76>>2]|0)+4>>2]|0);c[n+76>>2]=(c[n+76>>2]|0)+8;c[n+72>>2]=(c[n+72>>2]|0)+-1}l=c[n+44>>2]|0;c[n+44>>2]=l+1;a[n+96>>0]=a[l>>0]|0;c[n+16>>2]=(c[n+56>>2]|0)+(e[n+94>>1]<<4);while(1){f=d[n+96>>0]|0;if((c[n+16>>2]|0)==(c[n+28>>2]|0)){m=46;break}b[n+90>>1]=0;b[n+92>>1]=0;do if(b[(c[n+16>>2]|0)+8>>1]|0){c[n+4>>2]=(c[n+16>>2]|0)+(e[(c[n+16>>2]|0)+8>>1]<<4);while(1){if((d[n+96>>0]|0)<(d[c[n+4>>2]>>0]|0)){m=(c[n+4>>2]|0)+2|0;b[m>>1]=(e[m>>1]|0)+2;if(!(b[(c[n+4>>2]|0)+4>>1]|0)){m=15;break}c[n+4>>2]=(c[n+4>>2]|0)+(e[(c[n+4>>2]|0)+4>>1]<<4);continue}f=c[n+4>>2]|0;if((d[n+96>>0]|0)<=(d[c[n+4>>2]>>0]|0)){m=20;break}b[n+90>>1]=(e[n+90>>1]|0)+(e[f+2>>1]|0);if(!(b[(c[n+4>>2]|0)+6>>1]|0)){m=19;break}c[n+4>>2]=(c[n+4>>2]|0)+(e[(c[n+4>>2]|0)+6>>1]<<4)}if((m|0)==15){m=0;l=c[n+20>>2]|0;c[n+20>>2]=l+1;c[n+12>>2]=(c[n+56>>2]|0)+(l<<4);a[c[n+12>>2]>>0]=a[n+96>>0]|0;a[(c[n+12>>2]|0)+1>>0]=2;b[(c[n+12>>2]|0)+2>>1]=2;b[(c[n+12>>2]|0)+4>>1]=0;b[(c[n+12>>2]|0)+6>>1]=0;b[(c[n+12>>2]|0)+8>>1]=0;b[(c[n+12>>2]|0)+10>>1]=0;b[(c[n+12>>2]|0)+12>>1]=0;b[(c[n+12>>2]|0)+14>>1]=0;b[(c[n+4>>2]|0)+4>>1]=((c[n+12>>2]|0)-(c[n+4>>2]|0)|0)/16|0;break}else if((m|0)==19){m=0;l=c[n+20>>2]|0;c[n+20>>2]=l+1;c[n+12>>2]=(c[n+56>>2]|0)+(l<<4);a[c[n+12>>2]>>0]=a[n+96>>0]|0;a[(c[n+12>>2]|0)+1>>0]=2;b[(c[n+12>>2]|0)+2>>1]=2;b[(c[n+12>>2]|0)+4>>1]=0;b[(c[n+12>>2]|0)+6>>1]=0;b[(c[n+12>>2]|0)+8>>1]=0;b[(c[n+12>>2]|0)+10>>1]=0;b[(c[n+12>>2]|0)+12>>1]=0;b[(c[n+12>>2]|0)+14>>1]=0;b[(c[n+4>>2]|0)+6>>1]=((c[n+12>>2]|0)-(c[n+4>>2]|0)|0)/16|0;break}else if((m|0)==20){m=0;b[n+92>>1]=(e[n+92>>1]|0)+(d[f+1>>0]|0);b[n+90>>1]=(e[n+90>>1]|0)+((e[(c[n+4>>2]|0)+2>>1]|0)-(d[(c[n+4>>2]|0)+1>>0]|0));l=(c[n+4>>2]|0)+2|0;b[l>>1]=(e[l>>1]|0)+2;l=(c[n+4>>2]|0)+1|0;a[l>>0]=(d[l>>0]|0)+2;c[n+12>>2]=c[n+4>>2];break}}else{l=c[n+20>>2]|0;c[n+20>>2]=l+1;c[n+12>>2]=(c[n+56>>2]|0)+(l<<4);a[c[n+12>>2]>>0]=a[n+96>>0]|0;a[(c[n+12>>2]|0)+1>>0]=2;b[(c[n+12>>2]|0)+2>>1]=2;b[(c[n+12>>2]|0)+4>>1]=0;b[(c[n+12>>2]|0)+6>>1]=0;b[(c[n+12>>2]|0)+8>>1]=0;b[(c[n+12>>2]|0)+10>>1]=0;b[(c[n+12>>2]|0)+12>>1]=0;b[(c[n+12>>2]|0)+14>>1]=0;b[(c[n+16>>2]|0)+8>>1]=((c[n+12>>2]|0)-(c[n+16>>2]|0)|0)/16|0}while(0);b[c[n+8>>2]>>1]=((c[n+12>>2]|0)-(c[n+56>>2]|0)|0)/16|0;c[n+8>>2]=(c[n+12>>2]|0)+14;b[n+88>>1]=b[(c[n+16>>2]|0)+12>>1]|0;b:do if((e[n+92>>1]|0)>0){c[n+32>>2]=((c[n+32>>2]|0)>>>0)/((e[n+88>>1]|0)>>>0)|0;l=_((e[(c[n+16>>2]|0)+10>>1]|0)+(e[n+90>>1]|0)|0,c[n+32>>2]|0)|0;c[n+36>>2]=(c[n+36>>2]|0)+l;c[n+32>>2]=_(c[n+32>>2]|0,e[n+92>>1]|0)|0;while(1){if((c[n+36>>2]^(c[n+36>>2]|0)+(c[n+32>>2]|0))>>>0>=16777216){if((c[n+32>>2]|0)>>>0>=65536)break b;c[n+32>>2]=0-(c[n+36>>2]|0)&65535}if((c[n+64>>2]|0)>>>0>=(c[n+48>>2]|0)>>>0){m=27;break a}k=(c[n+36>>2]|0)>>>24&255;l=c[n+64>>2]|0;c[n+64>>2]=l+1;a[l>>0]=k;c[n+32>>2]=c[n+32>>2]<<8;c[n+36>>2]=c[n+36>>2]<<8}}else{c:do if((e[(c[n+16>>2]|0)+10>>1]|0)>0)if((e[(c[n+16>>2]|0)+10>>1]|0)<(e[n+88>>1]|0)){c[n+32>>2]=((c[n+32>>2]|0)>>>0)/((e[n+88>>1]|0)>>>0)|0;c[n+36>>2]=(c[n+36>>2]|0)+0;c[n+32>>2]=_(c[n+32>>2]|0,e[(c[n+16>>2]|0)+10>>1]|0)|0;while(1){if((c[n+36>>2]^(c[n+36>>2]|0)+(c[n+32>>2]|0))>>>0>=16777216){if((c[n+32>>2]|0)>>>0>=65536)break c;c[n+32>>2]=0-(c[n+36>>2]|0)&65535}if((c[n+64>>2]|0)>>>0>=(c[n+48>>2]|0)>>>0){m=36;break a}k=(c[n+36>>2]|0)>>>24&255;l=c[n+64>>2]|0;c[n+64>>2]=l+1;a[l>>0]=k;c[n+32>>2]=c[n+32>>2]<<8;c[n+36>>2]=c[n+36>>2]<<8}}while(0);l=(c[n+16>>2]|0)+10|0;b[l>>1]=(e[l>>1]|0)+5;l=(c[n+16>>2]|0)+12|0;b[l>>1]=(e[l>>1]|0)+5}while(0);l=(c[n+16>>2]|0)+12|0;b[l>>1]=(e[l>>1]|0)+2;if((e[n+92>>1]|0)>251)m=41;else if((e[(c[n+16>>2]|0)+12>>1]|0)>65280)m=41;if((m|0)==41){m=0;if(e[(c[n+16>>2]|0)+8>>1]|0)f=(aq((c[n+16>>2]|0)+(e[(c[n+16>>2]|0)+8>>1]<<4)|0)|0)&65535;else f=0;b[(c[n+16>>2]|0)+12>>1]=f;l=(c[n+16>>2]|0)+10|0;b[l>>1]=(e[l>>1]|0)-(e[(c[n+16>>2]|0)+10>>1]>>1);l=(c[n+16>>2]|0)+12|0;b[l>>1]=(e[l>>1]|0)+((e[(c[n+16>>2]|0)+10>>1]|0)+0)}if((e[n+92>>1]|0)>0)break;c[n+16>>2]=(c[n+56>>2]|0)+(e[(c[n+16>>2]|0)+14>>1]<<4)}do if((m|0)==46){m=0;b[n+90>>1]=f;b[n+92>>1]=1;do if(b[(c[n+28>>2]|0)+8>>1]|0){c[n>>2]=(c[n+28>>2]|0)+(e[(c[n+28>>2]|0)+8>>1]<<4);while(1){if((d[n+96>>0]|0)<(d[c[n>>2]>>0]|0)){m=(c[n>>2]|0)+2|0;b[m>>1]=(e[m>>1]|0)+3;if(!(b[(c[n>>2]|0)+4>>1]|0)){m=52;break}c[n>>2]=(c[n>>2]|0)+(e[(c[n>>2]|0)+4>>1]<<4);continue}f=c[n>>2]|0;if((d[n+96>>0]|0)<=(d[c[n>>2]>>0]|0)){m=57;break}b[n+90>>1]=(e[n+90>>1]|0)+(e[f+2>>1]|0);if(!(b[(c[n>>2]|0)+6>>1]|0)){m=56;break}c[n>>2]=(c[n>>2]|0)+(e[(c[n>>2]|0)+6>>1]<<4)}if((m|0)==52){m=0;l=c[n+20>>2]|0;c[n+20>>2]=l+1;c[n+12>>2]=(c[n+56>>2]|0)+(l<<4);a[c[n+12>>2]>>0]=a[n+96>>0]|0;a[(c[n+12>>2]|0)+1>>0]=3;b[(c[n+12>>2]|0)+2>>1]=3;b[(c[n+12>>2]|0)+4>>1]=0;b[(c[n+12>>2]|0)+6>>1]=0;b[(c[n+12>>2]|0)+8>>1]=0;b[(c[n+12>>2]|0)+10>>1]=0;b[(c[n+12>>2]|0)+12>>1]=0;b[(c[n+12>>2]|0)+14>>1]=0;b[(c[n>>2]|0)+4>>1]=((c[n+12>>2]|0)-(c[n>>2]|0)|0)/16|0;break}else if((m|0)==56){m=0;l=c[n+20>>2]|0;c[n+20>>2]=l+1;c[n+12>>2]=(c[n+56>>2]|0)+(l<<4);a[c[n+12>>2]>>0]=a[n+96>>0]|0;a[(c[n+12>>2]|0)+1>>0]=3;b[(c[n+12>>2]|0)+2>>1]=3;b[(c[n+12>>2]|0)+4>>1]=0;b[(c[n+12>>2]|0)+6>>1]=0;b[(c[n+12>>2]|0)+8>>1]=0;b[(c[n+12>>2]|0)+10>>1]=0;b[(c[n+12>>2]|0)+12>>1]=0;b[(c[n+12>>2]|0)+14>>1]=0;b[(c[n>>2]|0)+6>>1]=((c[n+12>>2]|0)-(c[n>>2]|0)|0)/16|0;break}else if((m|0)==57){m=0;b[n+92>>1]=(e[n+92>>1]|0)+(d[f+1>>0]|0);b[n+90>>1]=(e[n+90>>1]|0)+((e[(c[n>>2]|0)+2>>1]|0)-(d[(c[n>>2]|0)+1>>0]|0));l=(c[n>>2]|0)+2|0;b[l>>1]=(e[l>>1]|0)+3;l=(c[n>>2]|0)+1|0;a[l>>0]=(d[l>>0]|0)+3;c[n+12>>2]=c[n>>2];break}}else{l=c[n+20>>2]|0;c[n+20>>2]=l+1;c[n+12>>2]=(c[n+56>>2]|0)+(l<<4);a[c[n+12>>2]>>0]=a[n+96>>0]|0;a[(c[n+12>>2]|0)+1>>0]=3;b[(c[n+12>>2]|0)+2>>1]=3;b[(c[n+12>>2]|0)+4>>1]=0;b[(c[n+12>>2]|0)+6>>1]=0;b[(c[n+12>>2]|0)+8>>1]=0;b[(c[n+12>>2]|0)+10>>1]=0;b[(c[n+12>>2]|0)+12>>1]=0;b[(c[n+12>>2]|0)+14>>1]=0;b[(c[n+28>>2]|0)+8>>1]=((c[n+12>>2]|0)-(c[n+28>>2]|0)|0)/16|0}while(0);b[c[n+8>>2]>>1]=((c[n+12>>2]|0)-(c[n+56>>2]|0)|0)/16|0;c[n+8>>2]=(c[n+12>>2]|0)+14;b[n+88>>1]=b[(c[n+28>>2]|0)+12>>1]|0;c[n+32>>2]=((c[n+32>>2]|0)>>>0)/((e[n+88>>1]|0)>>>0)|0;l=_((e[(c[n+28>>2]|0)+10>>1]|0)+(e[n+90>>1]|0)|0,c[n+32>>2]|0)|0;c[n+36>>2]=(c[n+36>>2]|0)+l;c[n+32>>2]=_(c[n+32>>2]|0,e[n+92>>1]|0)|0;while(1){if((c[n+36>>2]^(c[n+36>>2]|0)+(c[n+32>>2]|0))>>>0>=16777216){if((c[n+32>>2]|0)>>>0>=65536)break;c[n+32>>2]=0-(c[n+36>>2]|0)&65535}if((c[n+64>>2]|0)>>>0>=(c[n+48>>2]|0)>>>0){m=63;break a}k=(c[n+36>>2]|0)>>>24&255;l=c[n+64>>2]|0;c[n+64>>2]=l+1;a[l>>0]=k;c[n+32>>2]=c[n+32>>2]<<8;c[n+36>>2]=c[n+36>>2]<<8}l=(c[n+28>>2]|0)+12|0;b[l>>1]=(e[l>>1]|0)+3;if((e[n+92>>1]|0)<=250)if((e[(c[n+28>>2]|0)+12>>1]|0)<=65280)break;if(e[(c[n+28>>2]|0)+8>>1]|0)f=(aq((c[n+28>>2]|0)+(e[(c[n+28>>2]|0)+8>>1]<<4)|0)|0)&65535;else f=0;b[(c[n+28>>2]|0)+12>>1]=f;l=(c[n+28>>2]|0)+10|0;b[l>>1]=(e[l>>1]|0)-(e[(c[n+28>>2]|0)+10>>1]>>1);l=(c[n+28>>2]|0)+12|0;b[l>>1]=(e[l>>1]|0)+((e[(c[n+28>>2]|0)+10>>1]|0)+256)}while(0);if((c[n+24>>2]|0)>>>0>=2)b[n+94>>1]=b[(c[n+56>>2]|0)+(e[n+94>>1]<<4)+14>>1]|0;else c[n+24>>2]=(c[n+24>>2]|0)+1;if((c[n+20>>2]|0)>>>0<4094)continue;c[n+20>>2]=0;l=c[n+20>>2]|0;c[n+20>>2]=l+1;c[n+28>>2]=(c[n+56>>2]|0)+(l<<4);a[c[n+28>>2]>>0]=0;a[(c[n+28>>2]|0)+1>>0]=0;b[(c[n+28>>2]|0)+2>>1]=0;b[(c[n+28>>2]|0)+4>>1]=0;b[(c[n+28>>2]|0)+6>>1]=0;b[(c[n+28>>2]|0)+8>>1]=0;b[(c[n+28>>2]|0)+10>>1]=0;b[(c[n+28>>2]|0)+12>>1]=0;b[(c[n+28>>2]|0)+14>>1]=0;b[(c[n+28>>2]|0)+10>>1]=1;b[(c[n+28>>2]|0)+12>>1]=257;b[(c[n+28>>2]|0)+8>>1]=0;b[n+94>>1]=0;c[n+24>>2]=0}if((m|0)==27){c[n+84>>2]=0;m=c[n+84>>2]|0;i=n;return m|0}else if((m|0)==36){c[n+84>>2]=0;m=c[n+84>>2]|0;i=n;return m|0}else if((m|0)==63){c[n+84>>2]=0;m=c[n+84>>2]|0;i=n;return m|0}else if((m|0)==75){while(1){f=c[n+64>>2]|0;if(!(c[n+36>>2]|0)){m=79;break}if(f>>>0>=(c[n+48>>2]|0)>>>0){m=77;break}l=(c[n+36>>2]|0)>>>24&255;m=c[n+64>>2]|0;c[n+64>>2]=m+1;a[m>>0]=l;c[n+36>>2]=c[n+36>>2]<<8;m=75}if((m|0)==77){c[n+84>>2]=0;m=c[n+84>>2]|0;i=n;return m|0}else if((m|0)==79){c[n+84>>2]=f-(c[n+52>>2]|0);m=c[n+84>>2]|0;i=n;return m|0}}return 0}function aq(f){f=f|0;var g=0,h=0;g=i;i=i+16|0;c[g>>2]=f;b[g+4>>1]=0;while(1){f=(c[g>>2]|0)+1|0;a[f>>0]=(d[f>>0]|0)-(d[(c[g>>2]|0)+1>>0]>>1);b[(c[g>>2]|0)+2>>1]=d[(c[g>>2]|0)+1>>0]|0;if(b[(c[g>>2]|0)+4>>1]|0){h=(aq((c[g>>2]|0)+(e[(c[g>>2]|0)+4>>1]<<4)|0)|0)&65535;f=(c[g>>2]|0)+2|0;b[f>>1]=(e[f>>1]|0)+h}b[g+4>>1]=(e[g+4>>1]|0)+(e[(c[g>>2]|0)+2>>1]|0);if(!(b[(c[g>>2]|0)+6>>1]|0))break;c[g>>2]=(c[g>>2]|0)+(e[(c[g>>2]|0)+6>>1]<<4)}i=g;return b[g+4>>1]|0}function bq(f,g,h,j,k){f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0;l=i;i=i+128|0;c[l+84>>2]=f;c[l+80>>2]=g;c[l+76>>2]=h;c[l+72>>2]=j;c[l+68>>2]=k;c[l+64>>2]=c[l+84>>2];c[l+60>>2]=c[l+72>>2];c[l+56>>2]=(c[l+72>>2]|0)+(c[l+68>>2]|0);c[l+52>>2]=(c[l+80>>2]|0)+(c[l+76>>2]|0);c[l+48>>2]=0;c[l+44>>2]=0;c[l+40>>2]=-1;b[l+110>>1]=0;c[l+32>>2]=0;c[l+28>>2]=0;if((c[l+64>>2]|0)==0|(c[l+76>>2]|0)>>>0<=0){c[l+88>>2]=0;k=c[l+88>>2]|0;i=l;return k|0}k=c[l+28>>2]|0;c[l+28>>2]=k+1;c[l+36>>2]=(c[l+64>>2]|0)+(k<<4);a[c[l+36>>2]>>0]=0;a[(c[l+36>>2]|0)+1>>0]=0;b[(c[l+36>>2]|0)+2>>1]=0;b[(c[l+36>>2]|0)+4>>1]=0;b[(c[l+36>>2]|0)+6>>1]=0;b[(c[l+36>>2]|0)+8>>1]=0;b[(c[l+36>>2]|0)+10>>1]=0;b[(c[l+36>>2]|0)+12>>1]=0;b[(c[l+36>>2]|0)+14>>1]=0;b[(c[l+36>>2]|0)+10>>1]=1;b[(c[l+36>>2]|0)+12>>1]=257;b[(c[l+36>>2]|0)+8>>1]=0;if((c[l+80>>2]|0)>>>0<(c[l+52>>2]|0)>>>0){k=c[l+80>>2]|0;c[l+80>>2]=k+1;c[l+44>>2]=c[l+44>>2]|d[k>>0]<<24}if((c[l+80>>2]|0)>>>0<(c[l+52>>2]|0)>>>0){k=c[l+80>>2]|0;c[l+80>>2]=k+1;c[l+44>>2]=c[l+44>>2]|d[k>>0]<<16}if((c[l+80>>2]|0)>>>0<(c[l+52>>2]|0)>>>0){k=c[l+80>>2]|0;c[l+80>>2]=k+1;c[l+44>>2]=c[l+44>>2]|d[k>>0]<<8}if((c[l+80>>2]|0)>>>0<(c[l+52>>2]|0)>>>0){k=c[l+80>>2]|0;c[l+80>>2]=k+1;c[l+44>>2]=c[l+44>>2]|d[k>>0]}a:while(1){a[l+112>>0]=0;c[l+12>>2]=l+110;c[l+24>>2]=(c[l+64>>2]|0)+(e[l+110>>1]<<4);b:while(1){if((c[l+24>>2]|0)==(c[l+36>>2]|0)){g=47;break}c:do if((e[(c[l+24>>2]|0)+10>>1]|0)>0){b[l+100>>1]=b[(c[l+24>>2]|0)+12>>1]|0;if((e[(c[l+24>>2]|0)+10>>1]|0)<(e[l+100>>1]|0)){j=(c[l+44>>2]|0)-(c[l+48>>2]|0)|0;k=((c[l+40>>2]|0)>>>0)/((e[l+100>>1]|0)>>>0)|0;c[l+40>>2]=k;b[l+108>>1]=(j>>>0)/(k>>>0)|0;if((e[l+108>>1]|0)>=(e[(c[l+24>>2]|0)+10>>1]|0)){g=23;break b}c[l+48>>2]=(c[l+48>>2]|0)+0;c[l+40>>2]=_(c[l+40>>2]|0,e[(c[l+24>>2]|0)+10>>1]|0)|0;while(1){if((c[l+48>>2]^(c[l+48>>2]|0)+(c[l+40>>2]|0))>>>0>=16777216){if((c[l+40>>2]|0)>>>0>=65536)break c;c[l+40>>2]=0-(c[l+48>>2]|0)&65535}c[l+44>>2]=c[l+44>>2]<<8;if((c[l+80>>2]|0)>>>0<(c[l+52>>2]|0)>>>0){k=c[l+80>>2]|0;c[l+80>>2]=k+1;c[l+44>>2]=c[l+44>>2]|d[k>>0]}c[l+40>>2]=c[l+40>>2]<<8;c[l+48>>2]=c[l+48>>2]<<8}}}while(0);c[l+24>>2]=(c[l+64>>2]|0)+(e[(c[l+24>>2]|0)+14>>1]<<4)}do if((g|0)==23){g=0;b[l+108>>1]=(e[l+108>>1]|0)-(e[(c[l+24>>2]|0)+10>>1]|0);b[l+106>>1]=0;b[l+104>>1]=0;if(!(b[(c[l+24>>2]|0)+8>>1]|0)){g=24;break a}c[l+8>>2]=(c[l+24>>2]|0)+(e[(c[l+24>>2]|0)+8>>1]<<4);while(1){b[l+98>>1]=(e[l+106>>1]|0)+(e[(c[l+8>>2]|0)+2>>1]|0)+0;b[l+96>>1]=(d[(c[l+8>>2]|0)+1>>0]|0)+0;if((e[l+108>>1]|0)>=(e[l+98>>1]|0)){b[l+106>>1]=(e[l+106>>1]|0)+(e[(c[l+8>>2]|0)+2>>1]|0);if(!(b[(c[l+8>>2]|0)+6>>1]|0)){g=29;break a}c[l+8>>2]=(c[l+8>>2]|0)+(e[(c[l+8>>2]|0)+6>>1]<<4);continue}f=c[l+8>>2]|0;if((e[l+108>>1]|0)>=((e[l+98>>1]|0)-(e[l+96>>1]|0)|0))break;b[f+2>>1]=(e[f+2>>1]|0)+2;if(!(b[(c[l+8>>2]|0)+4>>1]|0)){g=33;break a}c[l+8>>2]=(c[l+8>>2]|0)+(e[(c[l+8>>2]|0)+4>>1]<<4)}a[l+112>>0]=a[f>>0]|0;b[l+104>>1]=(e[l+104>>1]|0)+(d[(c[l+8>>2]|0)+1>>0]|0);b[l+106>>1]=(e[l+98>>1]|0)-(e[l+96>>1]|0);k=(c[l+8>>2]|0)+2|0;b[k>>1]=(e[k>>1]|0)+2;k=(c[l+8>>2]|0)+1|0;a[k>>0]=(d[k>>0]|0)+2;c[l+20>>2]=c[l+8>>2];b[l+102>>1]=((c[l+20>>2]|0)-(c[l+64>>2]|0)|0)/16|0;k=_((e[(c[l+24>>2]|0)+10>>1]|0)+(e[l+106>>1]|0)|0,c[l+40>>2]|0)|0;c[l+48>>2]=(c[l+48>>2]|0)+k;c[l+40>>2]=_(c[l+40>>2]|0,e[l+104>>1]|0)|0;while(1){if((c[l+48>>2]^(c[l+48>>2]|0)+(c[l+40>>2]|0))>>>0>=16777216){if((c[l+40>>2]|0)>>>0>=65536)break;c[l+40>>2]=0-(c[l+48>>2]|0)&65535}c[l+44>>2]=c[l+44>>2]<<8;if((c[l+80>>2]|0)>>>0<(c[l+52>>2]|0)>>>0){k=c[l+80>>2]|0;c[l+80>>2]=k+1;c[l+44>>2]=c[l+44>>2]|d[k>>0]}c[l+40>>2]=c[l+40>>2]<<8;c[l+48>>2]=c[l+48>>2]<<8}k=(c[l+24>>2]|0)+12|0;b[k>>1]=(e[k>>1]|0)+2;if((e[l+104>>1]|0)<=251)if((e[(c[l+24>>2]|0)+12>>1]|0)<=65280)break;if(e[(c[l+24>>2]|0)+8>>1]|0)f=(aq((c[l+24>>2]|0)+(e[(c[l+24>>2]|0)+8>>1]<<4)|0)|0)&65535;else f=0;b[(c[l+24>>2]|0)+12>>1]=f;k=(c[l+24>>2]|0)+10|0;b[k>>1]=(e[k>>1]|0)-(e[(c[l+24>>2]|0)+10>>1]>>1);k=(c[l+24>>2]|0)+12|0;b[k>>1]=(e[k>>1]|0)+((e[(c[l+24>>2]|0)+10>>1]|0)+0)}else if((g|0)==47){g=0;b[l+100>>1]=b[(c[l+36>>2]|0)+12>>1]|0;j=(c[l+44>>2]|0)-(c[l+48>>2]|0)|0;k=((c[l+40>>2]|0)>>>0)/((e[l+100>>1]|0)>>>0)|0;c[l+40>>2]=k;b[l+108>>1]=(j>>>0)/(k>>>0)|0;if((e[l+108>>1]|0)<(e[(c[l+36>>2]|0)+10>>1]|0)){g=48;break a}b[l+108>>1]=(e[l+108>>1]|0)-(e[(c[l+36>>2]|0)+10>>1]|0);b[l+106>>1]=0;b[l+104>>1]=1;do if(b[(c[l+36>>2]|0)+8>>1]|0){c[l+4>>2]=(c[l+36>>2]|0)+(e[(c[l+36>>2]|0)+8>>1]<<4);while(1){b[l+94>>1]=(e[l+106>>1]|0)+(e[(c[l+4>>2]|0)+2>>1]|0)+((d[c[l+4>>2]>>0]|0)+1);b[l+92>>1]=(d[(c[l+4>>2]|0)+1>>0]|0)+1;if((e[l+108>>1]|0)>=(e[l+94>>1]|0)){b[l+106>>1]=(e[l+106>>1]|0)+(e[(c[l+4>>2]|0)+2>>1]|0);f=c[l+4>>2]|0;if(!(b[(c[l+4>>2]|0)+6>>1]|0)){g=61;break}c[l+4>>2]=(c[l+4>>2]|0)+(e[f+6>>1]<<4);continue}f=c[l+4>>2]|0;if((e[l+108>>1]|0)>=((e[l+94>>1]|0)-(e[l+92>>1]|0)|0)){g=66;break}b[f+2>>1]=(e[f+2>>1]|0)+3;f=c[l+4>>2]|0;if(!(b[(c[l+4>>2]|0)+4>>1]|0)){g=65;break}c[l+4>>2]=(c[l+4>>2]|0)+(e[f+4>>1]<<4)}if((g|0)==61){g=0;a[l+112>>0]=(d[f>>0]|0)+1+(((e[l+108>>1]|0)-(e[l+94>>1]|0)|0)/1|0);b[l+106>>1]=(e[l+108>>1]|0)-(((e[l+108>>1]|0)-(e[l+94>>1]|0)|0)%1|0);k=c[l+28>>2]|0;c[l+28>>2]=k+1;c[l+20>>2]=(c[l+64>>2]|0)+(k<<4);a[c[l+20>>2]>>0]=a[l+112>>0]|0;a[(c[l+20>>2]|0)+1>>0]=3;b[(c[l+20>>2]|0)+2>>1]=3;b[(c[l+20>>2]|0)+4>>1]=0;b[(c[l+20>>2]|0)+6>>1]=0;b[(c[l+20>>2]|0)+8>>1]=0;b[(c[l+20>>2]|0)+10>>1]=0;b[(c[l+20>>2]|0)+12>>1]=0;b[(c[l+20>>2]|0)+14>>1]=0;b[(c[l+4>>2]|0)+6>>1]=((c[l+20>>2]|0)-(c[l+4>>2]|0)|0)/16|0;break}else if((g|0)==65){g=0;a[l+112>>0]=(d[f>>0]|0)-1-(((e[l+94>>1]|0)-(e[l+92>>1]|0)-(e[l+108>>1]|0)-1|0)/1|0);b[l+106>>1]=(e[l+108>>1]|0)-(((e[l+94>>1]|0)-(e[l+92>>1]|0)-(e[l+108>>1]|0)-1|0)%1|0);k=c[l+28>>2]|0;c[l+28>>2]=k+1;c[l+20>>2]=(c[l+64>>2]|0)+(k<<4);a[c[l+20>>2]>>0]=a[l+112>>0]|0;a[(c[l+20>>2]|0)+1>>0]=3;b[(c[l+20>>2]|0)+2>>1]=3;b[(c[l+20>>2]|0)+4>>1]=0;b[(c[l+20>>2]|0)+6>>1]=0;b[(c[l+20>>2]|0)+8>>1]=0;b[(c[l+20>>2]|0)+10>>1]=0;b[(c[l+20>>2]|0)+12>>1]=0;b[(c[l+20>>2]|0)+14>>1]=0;b[(c[l+4>>2]|0)+4>>1]=((c[l+20>>2]|0)-(c[l+4>>2]|0)|0)/16|0;break}else if((g|0)==66){g=0;a[l+112>>0]=a[f>>0]|0;b[l+104>>1]=(e[l+104>>1]|0)+(d[(c[l+4>>2]|0)+1>>0]|0);b[l+106>>1]=(e[l+94>>1]|0)-(e[l+92>>1]|0);k=(c[l+4>>2]|0)+2|0;b[k>>1]=(e[k>>1]|0)+3;k=(c[l+4>>2]|0)+1|0;a[k>>0]=(d[k>>0]|0)+3;c[l+20>>2]=c[l+4>>2];break}}else{a[l+112>>0]=(e[l+108>>1]|0)/1|0;b[l+106>>1]=(e[l+108>>1]|0)-((e[l+108>>1]|0)%1|0);k=c[l+28>>2]|0;c[l+28>>2]=k+1;c[l+20>>2]=(c[l+64>>2]|0)+(k<<4);a[c[l+20>>2]>>0]=a[l+112>>0]|0;a[(c[l+20>>2]|0)+1>>0]=3;b[(c[l+20>>2]|0)+2>>1]=3;b[(c[l+20>>2]|0)+4>>1]=0;b[(c[l+20>>2]|0)+6>>1]=0;b[(c[l+20>>2]|0)+8>>1]=0;b[(c[l+20>>2]|0)+10>>1]=0;b[(c[l+20>>2]|0)+12>>1]=0;b[(c[l+20>>2]|0)+14>>1]=0;b[(c[l+36>>2]|0)+8>>1]=((c[l+20>>2]|0)-(c[l+36>>2]|0)|0)/16|0}while(0);b[l+102>>1]=((c[l+20>>2]|0)-(c[l+64>>2]|0)|0)/16|0;k=_((e[(c[l+36>>2]|0)+10>>1]|0)+(e[l+106>>1]|0)|0,c[l+40>>2]|0)|0;c[l+48>>2]=(c[l+48>>2]|0)+k;c[l+40>>2]=_(c[l+40>>2]|0,e[l+104>>1]|0)|0;while(1){if((c[l+48>>2]^(c[l+48>>2]|0)+(c[l+40>>2]|0))>>>0>=16777216){if((c[l+40>>2]|0)>>>0>=65536)break;c[l+40>>2]=0-(c[l+48>>2]|0)&65535}c[l+44>>2]=c[l+44>>2]<<8;if((c[l+80>>2]|0)>>>0<(c[l+52>>2]|0)>>>0){k=c[l+80>>2]|0;c[l+80>>2]=k+1;c[l+44>>2]=c[l+44>>2]|d[k>>0]}c[l+40>>2]=c[l+40>>2]<<8;c[l+48>>2]=c[l+48>>2]<<8}k=(c[l+36>>2]|0)+12|0;b[k>>1]=(e[k>>1]|0)+3;if((e[l+104>>1]|0)<=250)if((e[(c[l+36>>2]|0)+12>>1]|0)<=65280)break;if(e[(c[l+36>>2]|0)+8>>1]|0)f=(aq((c[l+36>>2]|0)+(e[(c[l+36>>2]|0)+8>>1]<<4)|0)|0)&65535;else f=0;b[(c[l+36>>2]|0)+12>>1]=f;k=(c[l+36>>2]|0)+10|0;b[k>>1]=(e[k>>1]|0)-(e[(c[l+36>>2]|0)+10>>1]>>1);k=(c[l+36>>2]|0)+12|0;b[k>>1]=(e[k>>1]|0)+((e[(c[l+36>>2]|0)+10>>1]|0)+256)}while(0);c[l+16>>2]=(c[l+64>>2]|0)+(e[l+110>>1]<<4);while(1){if((c[l+16>>2]|0)==(c[l+24>>2]|0))break;b[l+106>>1]=0;b[l+104>>1]=0;do if(b[(c[l+16>>2]|0)+8>>1]|0){c[l>>2]=(c[l+16>>2]|0)+(e[(c[l+16>>2]|0)+8>>1]<<4);while(1){if((d[l+112>>0]|0)<(d[c[l>>2]>>0]|0)){k=(c[l>>2]|0)+2|0;b[k>>1]=(e[k>>1]|0)+2;if(!(b[(c[l>>2]|0)+4>>1]|0)){g=87;break}c[l>>2]=(c[l>>2]|0)+(e[(c[l>>2]|0)+4>>1]<<4);continue}f=c[l>>2]|0;if((d[l+112>>0]|0)<=(d[c[l>>2]>>0]|0)){g=92;break}b[l+106>>1]=(e[l+106>>1]|0)+(e[f+2>>1]|0);if(!(b[(c[l>>2]|0)+6>>1]|0)){g=91;break}c[l>>2]=(c[l>>2]|0)+(e[(c[l>>2]|0)+6>>1]<<4)}if((g|0)==87){g=0;k=c[l+28>>2]|0;c[l+28>>2]=k+1;c[l+20>>2]=(c[l+64>>2]|0)+(k<<4);a[c[l+20>>2]>>0]=a[l+112>>0]|0;a[(c[l+20>>2]|0)+1>>0]=2;b[(c[l+20>>2]|0)+2>>1]=2;b[(c[l+20>>2]|0)+4>>1]=0;b[(c[l+20>>2]|0)+6>>1]=0;b[(c[l+20>>2]|0)+8>>1]=0;b[(c[l+20>>2]|0)+10>>1]=0;b[(c[l+20>>2]|0)+12>>1]=0;b[(c[l+20>>2]|0)+14>>1]=0;b[(c[l>>2]|0)+4>>1]=((c[l+20>>2]|0)-(c[l>>2]|0)|0)/16|0;break}else if((g|0)==91){g=0;k=c[l+28>>2]|0;c[l+28>>2]=k+1;c[l+20>>2]=(c[l+64>>2]|0)+(k<<4);a[c[l+20>>2]>>0]=a[l+112>>0]|0;a[(c[l+20>>2]|0)+1>>0]=2;b[(c[l+20>>2]|0)+2>>1]=2;b[(c[l+20>>2]|0)+4>>1]=0;b[(c[l+20>>2]|0)+6>>1]=0;b[(c[l+20>>2]|0)+8>>1]=0;b[(c[l+20>>2]|0)+10>>1]=0;b[(c[l+20>>2]|0)+12>>1]=0;b[(c[l+20>>2]|0)+14>>1]=0;b[(c[l>>2]|0)+6>>1]=((c[l+20>>2]|0)-(c[l>>2]|0)|0)/16|0;break}else if((g|0)==92){g=0;b[l+104>>1]=(e[l+104>>1]|0)+(d[f+1>>0]|0);b[l+106>>1]=(e[l+106>>1]|0)+((e[(c[l>>2]|0)+2>>1]|0)-(d[(c[l>>2]|0)+1>>0]|0));k=(c[l>>2]|0)+2|0;b[k>>1]=(e[k>>1]|0)+2;k=(c[l>>2]|0)+1|0;a[k>>0]=(d[k>>0]|0)+2;c[l+20>>2]=c[l>>2];break}}else{k=c[l+28>>2]|0;c[l+28>>2]=k+1;c[l+20>>2]=(c[l+64>>2]|0)+(k<<4);a[c[l+20>>2]>>0]=a[l+112>>0]|0;a[(c[l+20>>2]|0)+1>>0]=2;b[(c[l+20>>2]|0)+2>>1]=2;b[(c[l+20>>2]|0)+4>>1]=0;b[(c[l+20>>2]|0)+6>>1]=0;b[(c[l+20>>2]|0)+8>>1]=0;b[(c[l+20>>2]|0)+10>>1]=0;b[(c[l+20>>2]|0)+12>>1]=0;b[(c[l+20>>2]|0)+14>>1]=0;b[(c[l+16>>2]|0)+8>>1]=((c[l+20>>2]|0)-(c[l+16>>2]|0)|0)/16|0}while(0);b[c[l+12>>2]>>1]=((c[l+20>>2]|0)-(c[l+64>>2]|0)|0)/16|0;c[l+12>>2]=(c[l+20>>2]|0)+14;if((e[l+104>>1]|0)<=0){k=(c[l+16>>2]|0)+10|0;b[k>>1]=(e[k>>1]|0)+5;k=(c[l+16>>2]|0)+12|0;b[k>>1]=(e[k>>1]|0)+5}k=(c[l+16>>2]|0)+12|0;b[k>>1]=(e[k>>1]|0)+2;if((e[l+104>>1]|0)>251)g=97;else if((e[(c[l+16>>2]|0)+12>>1]|0)>65280)g=97;if((g|0)==97){g=0;if(e[(c[l+16>>2]|0)+8>>1]|0)f=(aq((c[l+16>>2]|0)+(e[(c[l+16>>2]|0)+8>>1]<<4)|0)|0)&65535;else f=0;b[(c[l+16>>2]|0)+12>>1]=f;k=(c[l+16>>2]|0)+10|0;b[k>>1]=(e[k>>1]|0)-(e[(c[l+16>>2]|0)+10>>1]>>1);k=(c[l+16>>2]|0)+12|0;b[k>>1]=(e[k>>1]|0)+((e[(c[l+16>>2]|0)+10>>1]|0)+0)}c[l+16>>2]=(c[l+64>>2]|0)+(e[(c[l+16>>2]|0)+14>>1]<<4)}b[c[l+12>>2]>>1]=b[l+102>>1]|0;if((c[l+72>>2]|0)>>>0>=(c[l+56>>2]|0)>>>0){g=102;break}j=a[l+112>>0]|0;k=c[l+72>>2]|0;c[l+72>>2]=k+1;a[k>>0]=j;if((c[l+32>>2]|0)>>>0>=2)b[l+110>>1]=b[(c[l+64>>2]|0)+(e[l+110>>1]<<4)+14>>1]|0;else c[l+32>>2]=(c[l+32>>2]|0)+1;if((c[l+28>>2]|0)>>>0<4094)continue;c[l+28>>2]=0;k=c[l+28>>2]|0;c[l+28>>2]=k+1;c[l+36>>2]=(c[l+64>>2]|0)+(k<<4);a[c[l+36>>2]>>0]=0;a[(c[l+36>>2]|0)+1>>0]=0;b[(c[l+36>>2]|0)+2>>1]=0;b[(c[l+36>>2]|0)+4>>1]=0;b[(c[l+36>>2]|0)+6>>1]=0;b[(c[l+36>>2]|0)+8>>1]=0;b[(c[l+36>>2]|0)+10>>1]=0;b[(c[l+36>>2]|0)+12>>1]=0;b[(c[l+36>>2]|0)+14>>1]=0;b[(c[l+36>>2]|0)+10>>1]=1;b[(c[l+36>>2]|0)+12>>1]=257;b[(c[l+36>>2]|0)+8>>1]=0;b[l+110>>1]=0;c[l+32>>2]=0}if((g|0)==24){c[l+88>>2]=0;k=c[l+88>>2]|0;i=l;return k|0}else if((g|0)==29){c[l+88>>2]=0;k=c[l+88>>2]|0;i=l;return k|0}else if((g|0)==33){c[l+88>>2]=0;k=c[l+88>>2]|0;i=l;return k|0}else if((g|0)==48){c[l+48>>2]=(c[l+48>>2]|0)+0;c[l+40>>2]=_(c[l+40>>2]|0,e[(c[l+36>>2]|0)+10>>1]|0)|0;while(1){if((c[l+48>>2]^(c[l+48>>2]|0)+(c[l+40>>2]|0))>>>0>=16777216){if((c[l+40>>2]|0)>>>0>=65536)break;c[l+40>>2]=0-(c[l+48>>2]|0)&65535}c[l+44>>2]=c[l+44>>2]<<8;if((c[l+80>>2]|0)>>>0<(c[l+52>>2]|0)>>>0){k=c[l+80>>2]|0;c[l+80>>2]=k+1;c[l+44>>2]=c[l+44>>2]|d[k>>0]}c[l+40>>2]=c[l+40>>2]<<8;c[l+48>>2]=c[l+48>>2]<<8}c[l+88>>2]=(c[l+72>>2]|0)-(c[l+60>>2]|0);k=c[l+88>>2]|0;i=l;return k|0}else if((g|0)==102){c[l+88>>2]=0;k=c[l+88>>2]|0;i=l;return k|0}return 0}function cq(a){a=a|0;var b=0;b=i;i=i+32|0;c[b+16>>2]=a;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;c[b>>2]=Zp()|0;if(!(c[b>>2]|0)){c[b+20>>2]=-1;a=c[b+20>>2]|0;i=b;return a|0}else{c[b+4>>2]=47;c[b+8>>2]=66;c[b+12>>2]=687;hq(c[b+16>>2]|0,b);c[b+20>>2]=0;a=c[b+20>>2]|0;i=b;return a|0}return 0}function dq(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0;j=i;i=i+32|0;c[j+24>>2]=d;c[j+20>>2]=e;c[j+16>>2]=f;c[j+12>>2]=g;c[j+8>>2]=h;if((c[j+20>>2]|0)>>>0>4095){c[j+28>>2]=0;e=c[j+28>>2]|0;i=j;return e|0}c[j+4>>2]=Xp(10396)|0;if(!(c[j+4>>2]|0)){c[j+28>>2]=0;e=c[j+28>>2]|0;i=j;return e|0}hBb(c[j+4>>2]|0,0,10396)|0;d=Xp((c[j+20>>2]|0)*380|0)|0;c[(c[j+4>>2]|0)+36>>2]=d;d=c[j+4>>2]|0;if(!(c[(c[j+4>>2]|0)+36>>2]|0)){Yp(d);c[j+28>>2]=0;e=c[j+28>>2]|0;i=j;return e|0}hBb(c[d+36>>2]|0,0,(c[j+20>>2]|0)*380|0)|0;e=yr(2)|0;c[c[j+4>>2]>>2]=e;do if((c[c[j+4>>2]>>2]|0)!=-1){if(c[j+24>>2]|0)if((wr(c[c[j+4>>2]>>2]|0,c[j+24>>2]|0)|0)<0)break;zr(c[c[j+4>>2]>>2]|0,1,1)|0;zr(c[c[j+4>>2]>>2]|0,2,1)|0;zr(c[c[j+4>>2]>>2]|0,3,262144)|0;zr(c[c[j+4>>2]>>2]|0,4,262144)|0;if(c[j+24>>2]|0)if((xr(c[c[j+4>>2]>>2]|0,(c[j+4>>2]|0)+4|0)|0)<0){e=(c[j+4>>2]|0)+4|0;h=c[j+24>>2]|0;c[e>>2]=c[h>>2];c[e+4>>2]=c[h+4>>2]}if((c[j+16>>2]|0)==0?1:(c[j+16>>2]|0)>>>0>255)c[j+16>>2]=255;else if((c[j+16>>2]|0)>>>0<1)c[j+16>>2]=1;c[(c[j+4>>2]|0)+28>>2]=c[j+4>>2];h=sr()|0;e=(c[j+4>>2]|0)+28|0;c[e>>2]=(c[e>>2]|0)+h;c[(c[j+4>>2]|0)+28>>2]=c[(c[j+4>>2]|0)+28>>2]<<16|(c[(c[j+4>>2]|0)+28>>2]|0)>>>16;c[(c[j+4>>2]|0)+44>>2]=c[j+16>>2];c[(c[j+4>>2]|0)+12>>2]=c[j+12>>2];c[(c[j+4>>2]|0)+16>>2]=c[j+8>>2];c[(c[j+4>>2]|0)+20>>2]=0;c[(c[j+4>>2]|0)+32>>2]=0;c[(c[j+4>>2]|0)+24>>2]=1400;c[(c[j+4>>2]|0)+40>>2]=c[j+20>>2];c[(c[j+4>>2]|0)+1608>>2]=0;c[(c[j+4>>2]|0)+2132>>2]=0;c[(c[j+4>>2]|0)+2136>>2]=0;c[(c[j+4>>2]|0)+10348>>2]=0;b[(c[j+4>>2]|0)+10348+4>>1]=0;c[(c[j+4>>2]|0)+10356>>2]=0;c[(c[j+4>>2]|0)+10360>>2]=0;c[(c[j+4>>2]|0)+10364>>2]=0;c[(c[j+4>>2]|0)+10368>>2]=0;c[(c[j+4>>2]|0)+10372>>2]=0;c[(c[j+4>>2]|0)+10376>>2]=0;c[(c[j+4>>2]|0)+10384>>2]=0;c[(c[j+4>>2]|0)+10388>>2]=0;c[(c[j+4>>2]|0)+10392>>2]=4095;c[(c[j+4>>2]|0)+2140>>2]=0;c[(c[j+4>>2]|0)+2140+4>>2]=0;c[(c[j+4>>2]|0)+2140+8>>2]=0;c[(c[j+4>>2]|0)+2140+12>>2]=0;c[(c[j+4>>2]|0)+10380>>2]=0;lq((c[j+4>>2]|0)+52|0);c[j>>2]=c[(c[j+4>>2]|0)+36>>2];while(1){d=c[j+4>>2]|0;if((c[j>>2]|0)>>>0>=((c[(c[j+4>>2]|0)+36>>2]|0)+((c[(c[j+4>>2]|0)+40>>2]|0)*380|0)|0)>>>0)break;c[(c[j>>2]|0)+8>>2]=d;b[(c[j>>2]|0)+14>>1]=((c[j>>2]|0)-(c[(c[j+4>>2]|0)+36>>2]|0)|0)/380|0;a[(c[j>>2]|0)+21>>0]=-1;a[(c[j>>2]|0)+20>>0]=-1;c[(c[j>>2]|0)+32>>2]=0;lq((c[j>>2]|0)+192|0);lq((c[j>>2]|0)+200|0);lq((c[j>>2]|0)+208|0);lq((c[j>>2]|0)+216|0);lq((c[j>>2]|0)+224|0);lq((c[j>>2]|0)+232|0);Dq(c[j>>2]|0);c[j>>2]=(c[j>>2]|0)+380}c[j+28>>2]=d;e=c[j+28>>2]|0;i=j;return e|0}while(0);if((c[c[j+4>>2]>>2]|0)!=-1)Ar(c[c[j+4>>2]>>2]|0);Yp(c[(c[j+4>>2]|0)+36>>2]|0);Yp(c[j+4>>2]|0);c[j+28>>2]=0;e=c[j+28>>2]|0;i=j;return e|0}function eq(a){a=a|0;var b=0;b=i;i=i+16|0;c[b+4>>2]=a;if(!(c[b+4>>2]|0)){i=b;return}Ar(c[c[b+4>>2]>>2]|0);c[b>>2]=c[(c[b+4>>2]|0)+36>>2];while(1){if((c[b>>2]|0)>>>0>=((c[(c[b+4>>2]|0)+36>>2]|0)+((c[(c[b+4>>2]|0)+40>>2]|0)*380|0)|0)>>>0)break;Dq(c[b>>2]|0);c[b>>2]=(c[b>>2]|0)+380}if(c[(c[b+4>>2]|0)+2140>>2]|0)if(c[(c[b+4>>2]|0)+2140+12>>2]|0)Hi[c[(c[b+4>>2]|0)+2140+12>>2]&1023](c[(c[b+4>>2]|0)+2140>>2]|0);Yp(c[(c[b+4>>2]|0)+36>>2]|0);Yp(c[b+4>>2]|0);i=b;return}function fq(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+80|0;c[h+20>>2]=d;c[h+16>>2]=e;c[h+12>>2]=f;c[h+8>>2]=g;if((c[h+12>>2]|0)>>>0<1)c[h+12>>2]=1;else if((c[h+12>>2]|0)>>>0>255)c[h+12>>2]=255;c[h+4>>2]=c[(c[h+20>>2]|0)+36>>2];while(1){if((c[h+4>>2]|0)>>>0>=((c[(c[h+20>>2]|0)+36>>2]|0)+((c[(c[h+20>>2]|0)+40>>2]|0)*380|0)|0)>>>0)break;if(!(c[(c[h+4>>2]|0)+36>>2]|0))break;c[h+4>>2]=(c[h+4>>2]|0)+380}if((c[h+4>>2]|0)>>>0>=((c[(c[h+20>>2]|0)+36>>2]|0)+((c[(c[h+20>>2]|0)+40>>2]|0)*380|0)|0)>>>0){c[h+24>>2]=0;d=c[h+24>>2]|0;i=h;return d|0}d=Xp((c[h+12>>2]|0)*60|0)|0;c[(c[h+4>>2]|0)+40>>2]=d;if(!(c[(c[h+4>>2]|0)+40>>2]|0)){c[h+24>>2]=0;d=c[h+24>>2]|0;i=h;return d|0}c[(c[h+4>>2]|0)+44>>2]=c[h+12>>2];c[(c[h+4>>2]|0)+36>>2]=1;g=(c[h+4>>2]|0)+24|0;d=c[h+16>>2]|0;c[g>>2]=c[d>>2];c[g+4>>2]=c[d+4>>2];g=(c[h+20>>2]|0)+28|0;d=(c[g>>2]|0)+1|0;c[g>>2]=d;c[(c[h+4>>2]|0)+16>>2]=d;if(!(c[(c[h+20>>2]|0)+16>>2]|0))c[(c[h+4>>2]|0)+180>>2]=65536;else c[(c[h+4>>2]|0)+180>>2]=(((c[(c[h+20>>2]|0)+16>>2]|0)>>>0)/65536|0)<<12;e=(c[h+4>>2]|0)+180|0;if((c[(c[h+4>>2]|0)+180>>2]|0)>>>0<4096)c[e>>2]=4096;else if((c[e>>2]|0)>>>0>65536)c[(c[h+4>>2]|0)+180>>2]=65536;c[h>>2]=c[(c[h+4>>2]|0)+40>>2];while(1){if((c[h>>2]|0)>>>0>=((c[(c[h+4>>2]|0)+40>>2]|0)+((c[h+12>>2]|0)*60|0)|0)>>>0)break;b[c[h>>2]>>1]=0;b[(c[h>>2]|0)+2>>1]=0;b[(c[h>>2]|0)+38>>1]=0;b[(c[h>>2]|0)+40>>1]=0;lq((c[h>>2]|0)+44|0);lq((c[h>>2]|0)+52|0);b[(c[h>>2]|0)+4>>1]=0;e=(c[h>>2]|0)+6|0;f=e+32|0;do{b[e>>1]=0;e=e+2|0}while((e|0)<(f|0));c[h>>2]=(c[h>>2]|0)+60}a[h+32>>0]=-126;a[h+32+1>>0]=-1;d=Hob(b[(c[h+4>>2]|0)+14>>1]|0)|0;a[h+32+4>>0]=d;a[h+32+4+1>>0]=d>>8;a[h+32+6>>0]=a[(c[h+4>>2]|0)+21>>0]|0;a[h+32+7>>0]=a[(c[h+4>>2]|0)+20>>0]|0;d=Iob(c[(c[h+4>>2]|0)+176>>2]|0)|0;a[h+32+8>>0]=d;a[h+32+8+1>>0]=d>>8;a[h+32+8+2>>0]=d>>16;a[h+32+8+3>>0]=d>>24;d=Iob(c[(c[h+4>>2]|0)+180>>2]|0)|0;a[h+32+12>>0]=d;a[h+32+12+1>>0]=d>>8;a[h+32+12+2>>0]=d>>16;a[h+32+12+3>>0]=d>>24;d=Iob(c[h+12>>2]|0)|0;a[h+32+16>>0]=d;a[h+32+16+1>>0]=d>>8;a[h+32+16+2>>0]=d>>16;a[h+32+16+3>>0]=d>>24;d=Iob(c[(c[h+20>>2]|0)+12>>2]|0)|0;a[h+32+20>>0]=d;a[h+32+20+1>>0]=d>>8;a[h+32+20+2>>0]=d>>16;a[h+32+20+3>>0]=d>>24;d=Iob(c[(c[h+20>>2]|0)+16>>2]|0)|0;a[h+32+24>>0]=d;a[h+32+24+1>>0]=d>>8;a[h+32+24+2>>0]=d>>16;a[h+32+24+3>>0]=d>>24;d=Iob(c[(c[h+4>>2]|0)+132>>2]|0)|0;a[h+32+28>>0]=d;a[h+32+28+1>>0]=d>>8;a[h+32+28+2>>0]=d>>16;a[h+32+28+3>>0]=d>>24;d=Iob(c[(c[h+4>>2]|0)+124>>2]|0)|0;a[h+32+32>>0]=d;a[h+32+32+1>>0]=d>>8;a[h+32+32+2>>0]=d>>16;a[h+32+32+3>>0]=d>>24;d=Iob(c[(c[h+4>>2]|0)+128>>2]|0)|0;a[h+32+36>>0]=d;a[h+32+36+1>>0]=d>>8;a[h+32+36+2>>0]=d>>16;a[h+32+36+3>>0]=d>>24;d=c[(c[h+4>>2]|0)+16>>2]|0;a[h+32+40>>0]=d;a[h+32+40+1>>0]=d>>8;a[h+32+40+2>>0]=d>>16;a[h+32+40+3>>0]=d>>24;d=Iob(c[h+8>>2]|0)|0;a[h+32+44>>0]=d;a[h+32+44+1>>0]=d>>8;a[h+32+44+2>>0]=d>>16;a[h+32+44+3>>0]=d>>24;sq(c[h+4>>2]|0,h+32|0,0,0,0)|0;c[h+24>>2]=c[h+4>>2];d=c[h+24>>2]|0;i=h;return d|0}function gq(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+16|0;c[f+8>>2]=b;a[f+12>>0]=d;c[f+4>>2]=e;c[f>>2]=c[(c[f+8>>2]|0)+36>>2];while(1){if((c[f>>2]|0)>>>0>=((c[(c[f+8>>2]|0)+36>>2]|0)+((c[(c[f+8>>2]|0)+40>>2]|0)*380|0)|0)>>>0)break;if((c[(c[f>>2]|0)+36>>2]|0)==5)vq(c[f>>2]|0,a[f+12>>0]|0,c[f+4>>2]|0)|0;c[f>>2]=(c[f>>2]|0)+380}if(c[c[f+4>>2]>>2]|0){i=f;return}qq(c[f+4>>2]|0);i=f;return}function hq(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d+4>>2]=a;c[d>>2]=b;if(c[(c[d+4>>2]|0)+2140>>2]|0)if(c[(c[d+4>>2]|0)+2140+12>>2]|0)Hi[c[(c[d+4>>2]|0)+2140+12>>2]&1023](c[(c[d+4>>2]|0)+2140>>2]|0);b=(c[d+4>>2]|0)+2140|0;if(c[d>>2]|0){a=c[d>>2]|0;c[b>>2]=c[a>>2];c[b+4>>2]=c[a+4>>2];c[b+8>>2]=c[a+8>>2];c[b+12>>2]=c[a+12>>2];i=d;return}else{c[b>>2]=0;i=d;return}}function iq(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d+4>>2]=a;c[d>>2]=b;if((c[d>>2]|0)==0|(c[d>>2]|0)>>>0>255)c[d>>2]=255;else if((c[d>>2]|0)>>>0<1)c[d>>2]=1;c[(c[d+4>>2]|0)+44>>2]=c[d>>2];i=d;return}function jq(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;c[e+8>>2]=a;c[e+4>>2]=b;c[e>>2]=d;c[(c[e+8>>2]|0)+12>>2]=c[e+4>>2];c[(c[e+8>>2]|0)+16>>2]=c[e>>2];c[(c[e+8>>2]|0)+32>>2]=1;i=e;return}function kq(b){b=b|0;var d=0,e=0;e=i;i=i+96|0;c[e+40>>2]=b;c[e+36>>2]=tr()|0;c[e+32>>2]=(c[e+36>>2]|0)-(c[(c[e+40>>2]|0)+20>>2]|0);c[e+28>>2]=c[(c[e+40>>2]|0)+10384>>2];c[e+24>>2]=-1;c[e+20>>2]=-1;c[e+16>>2]=0;c[e+12>>2]=0;c[e+8>>2]=(c[(c[e+40>>2]|0)+10388>>2]|0)>>>0>0?1:0;if((c[e+32>>2]|0)>>>0<1e3){i=e;return}c[(c[e+40>>2]|0)+20>>2]=c[e+36>>2];if(!(c[e+28>>2]|0)){i=e;return}a:do if(c[(c[e+40>>2]|0)+16>>2]|0){c[e+24>>2]=0;c[e+20>>2]=((_(c[(c[e+40>>2]|0)+16>>2]|0,c[e+32>>2]|0)|0)>>>0)/1e3|0;c[e+4>>2]=c[(c[e+40>>2]|0)+36>>2];while(1){if((c[e+4>>2]|0)>>>0>=((c[(c[e+40>>2]|0)+36>>2]|0)+((c[(c[e+40>>2]|0)+40>>2]|0)*380|0)|0)>>>0)break a;if((c[(c[e+4>>2]|0)+36>>2]|0)!=5){if((c[(c[e+4>>2]|0)+36>>2]|0)==6)d=8}else d=8;if((d|0)==8){d=0;c[e+24>>2]=(c[e+24>>2]|0)+(c[(c[e+4>>2]|0)+68>>2]|0)}c[e+4>>2]=(c[e+4>>2]|0)+380}}while(0);b:while(1){if(!((c[e+28>>2]|0)>>>0>0?(c[e+8>>2]|0)!=0:0))break;c[e+8>>2]=0;if((c[e+24>>2]|0)>>>0<=(c[e+20>>2]|0)>>>0)c[e+16>>2]=32;else c[e+16>>2]=(c[e+20>>2]<<5>>>0)/((c[e+24>>2]|0)>>>0)|0;c[e+4>>2]=c[(c[e+40>>2]|0)+36>>2];while(1){if((c[e+4>>2]|0)>>>0>=((c[(c[e+40>>2]|0)+36>>2]|0)+((c[(c[e+40>>2]|0)+40>>2]|0)*380|0)|0)>>>0)continue b;if((c[(c[e+4>>2]|0)+36>>2]|0)!=5){if((c[(c[e+4>>2]|0)+36>>2]|0)==6)d=18}else d=18;if((d|0)==18){d=0;if(c[(c[e+4>>2]|0)+48>>2]|0)if((c[(c[e+4>>2]|0)+60>>2]|0)!=(c[e+36>>2]|0)){c[e>>2]=((_(c[(c[e+4>>2]|0)+48>>2]|0,c[e+32>>2]|0)|0)>>>0)/1e3|0;b=((_(c[e+16>>2]|0,c[(c[e+4>>2]|0)+68>>2]|0)|0)>>>0)/32|0;if(b>>>0>(c[e>>2]|0)>>>0){c[(c[e+4>>2]|0)+112>>2]=(c[e>>2]<<5>>>0)/((c[(c[e+4>>2]|0)+68>>2]|0)>>>0)|0;if(!(c[(c[e+4>>2]|0)+112>>2]|0))c[(c[e+4>>2]|0)+112>>2]=1;if((c[(c[e+4>>2]|0)+108>>2]|0)>>>0>(c[(c[e+4>>2]|0)+112>>2]|0)>>>0)c[(c[e+4>>2]|0)+108>>2]=c[(c[e+4>>2]|0)+112>>2];c[(c[e+4>>2]|0)+60>>2]=c[e+36>>2];c[(c[e+4>>2]|0)+64>>2]=0;c[(c[e+4>>2]|0)+68>>2]=0;c[e+8>>2]=1;c[e+28>>2]=(c[e+28>>2]|0)+-1;c[e+20>>2]=(c[e+20>>2]|0)-(c[e>>2]|0);c[e+24>>2]=(c[e+24>>2]|0)-(c[e>>2]|0)}}}c[e+4>>2]=(c[e+4>>2]|0)+380}}c:do if((c[e+28>>2]|0)>>>0>0){if((c[e+24>>2]|0)>>>0<=(c[e+20>>2]|0)>>>0)c[e+16>>2]=32;else c[e+16>>2]=(c[e+20>>2]<<5>>>0)/((c[e+24>>2]|0)>>>0)|0;c[e+4>>2]=c[(c[e+40>>2]|0)+36>>2];while(1){if((c[e+4>>2]|0)>>>0>=((c[(c[e+40>>2]|0)+36>>2]|0)+((c[(c[e+40>>2]|0)+40>>2]|0)*380|0)|0)>>>0)break c;if((c[(c[e+4>>2]|0)+36>>2]|0)!=5){if((c[(c[e+4>>2]|0)+36>>2]|0)==6)d=35}else d=35;if((d|0)==35){d=0;if((c[(c[e+4>>2]|0)+60>>2]|0)!=(c[e+36>>2]|0)){c[(c[e+4>>2]|0)+112>>2]=c[e+16>>2];if((c[(c[e+4>>2]|0)+108>>2]|0)>>>0>(c[(c[e+4>>2]|0)+112>>2]|0)>>>0)c[(c[e+4>>2]|0)+108>>2]=c[(c[e+4>>2]|0)+112>>2];c[(c[e+4>>2]|0)+64>>2]=0;c[(c[e+4>>2]|0)+68>>2]=0}}c[e+4>>2]=(c[e+4>>2]|0)+380}}while(0);if(!(c[(c[e+40>>2]|0)+32>>2]|0)){i=e;return}c[(c[e+40>>2]|0)+32>>2]=0;c[e+28>>2]=c[(c[e+40>>2]|0)+10384>>2];c[e+20>>2]=c[(c[e+40>>2]|0)+12>>2];c[e+8>>2]=1;d:do if(!(c[e+20>>2]|0))c[e+12>>2]=0;else e:while(1){if(!((c[e+28>>2]|0)>>>0>0?(c[e+8>>2]|0)!=0:0))break d;c[e+8>>2]=0;c[e+12>>2]=((c[e+20>>2]|0)>>>0)/((c[e+28>>2]|0)>>>0)|0;c[e+4>>2]=c[(c[e+40>>2]|0)+36>>2];while(1){if((c[e+4>>2]|0)>>>0>=((c[(c[e+40>>2]|0)+36>>2]|0)+((c[(c[e+40>>2]|0)+40>>2]|0)*380|0)|0)>>>0)continue e;if((c[(c[e+4>>2]|0)+36>>2]|0)!=5){if((c[(c[e+4>>2]|0)+36>>2]|0)==6)d=48}else d=48;do if((d|0)==48){d=0;if((c[(c[e+4>>2]|0)+56>>2]|0)!=(c[e+36>>2]|0)){if((c[(c[e+4>>2]|0)+52>>2]|0)>>>0>0)if((c[(c[e+4>>2]|0)+52>>2]|0)>>>0>=(c[e+12>>2]|0)>>>0)break;c[(c[e+4>>2]|0)+56>>2]=c[e+36>>2];c[e+8>>2]=1;c[e+28>>2]=(c[e+28>>2]|0)+-1;c[e+20>>2]=(c[e+20>>2]|0)-(c[(c[e+4>>2]|0)+52>>2]|0)}}while(0);c[e+4>>2]=(c[e+4>>2]|0)+380}}while(0);c[e+4>>2]=c[(c[e+40>>2]|0)+36>>2];while(1){if((c[e+4>>2]|0)>>>0>=((c[(c[e+40>>2]|0)+36>>2]|0)+((c[(c[e+40>>2]|0)+40>>2]|0)*380|0)|0)>>>0)break;if((c[(c[e+4>>2]|0)+36>>2]|0)!=5){if((c[(c[e+4>>2]|0)+36>>2]|0)==6)d=57}else d=57;if((d|0)==57){d=0;a[e+48>>0]=-118;a[e+48+1>>0]=-1;b=Iob(c[(c[e+40>>2]|0)+16>>2]|0)|0;a[e+48+8>>0]=b;a[e+48+8+1>>0]=b>>8;a[e+48+8+2>>0]=b>>16;a[e+48+8+3>>0]=b>>24;if((c[(c[e+4>>2]|0)+56>>2]|0)==(c[e+36>>2]|0)){b=Iob(c[(c[e+4>>2]|0)+52>>2]|0)|0;a[e+48+4>>0]=b;a[e+48+4+1>>0]=b>>8;a[e+48+4+2>>0]=b>>16;a[e+48+4+3>>0]=b>>24}else{b=Iob(c[e+12>>2]|0)|0;a[e+48+4>>0]=b;a[e+48+4+1>>0]=b>>8;a[e+48+4+2>>0]=b>>16;a[e+48+4+3>>0]=b>>24}sq(c[e+4>>2]|0,e+48|0,0,0,0)|0}c[e+4>>2]=(c[e+4>>2]|0)+380}i=e;return}function lq(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;c[c[b>>2]>>2]=c[b>>2];c[(c[b>>2]|0)+4>>2]=c[b>>2];i=b;return}function mq(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d+8>>2]=a;c[d+4>>2]=b;c[d>>2]=c[d+4>>2];c[(c[d>>2]|0)+4>>2]=c[(c[d+8>>2]|0)+4>>2];c[c[d>>2]>>2]=c[d+8>>2];c[c[(c[d>>2]|0)+4>>2]>>2]=c[d>>2];c[(c[d+8>>2]|0)+4>>2]=c[d>>2];i=d;return c[d>>2]|0}function nq(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;c[c[(c[b>>2]|0)+4>>2]>>2]=c[c[b>>2]>>2];c[(c[c[b>>2]>>2]|0)+4>>2]=c[(c[b>>2]|0)+4>>2];i=b;return c[b>>2]|0}function oq(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+32|0;c[e+16>>2]=a;c[e+12>>2]=b;c[e+8>>2]=d;c[e+4>>2]=c[e+12>>2];c[e>>2]=c[e+8>>2];c[c[(c[e+4>>2]|0)+4>>2]>>2]=c[c[e>>2]>>2];c[(c[c[e>>2]>>2]|0)+4>>2]=c[(c[e+4>>2]|0)+4>>2];c[(c[e+4>>2]|0)+4>>2]=c[(c[e+16>>2]|0)+4>>2];c[c[e>>2]>>2]=c[e+16>>2];c[c[(c[e+4>>2]|0)+4>>2]>>2]=c[e+4>>2];c[(c[e+16>>2]|0)+4>>2]=c[e>>2];i=e;return c[e+4>>2]|0}function pq(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+32|0;c[e+12>>2]=a;c[e+8>>2]=b;c[e+4>>2]=d;c[e>>2]=Xp(24)|0;if(!(c[e>>2]|0)){c[e+16>>2]=0;d=c[e+16>>2]|0;i=e;return d|0}do if(c[e+4>>2]&4|0)c[(c[e>>2]|0)+8>>2]=c[e+12>>2];else{if((c[e+8>>2]|0)>>>0<=0){c[(c[e>>2]|0)+8>>2]=0;break}d=Xp(c[e+8>>2]|0)|0;c[(c[e>>2]|0)+8>>2]=d;if(!(c[(c[e>>2]|0)+8>>2]|0)){Yp(c[e>>2]|0);c[e+16>>2]=0;d=c[e+16>>2]|0;i=e;return d|0}else{if(!(c[e+12>>2]|0))break;mBb(c[(c[e>>2]|0)+8>>2]|0,c[e+12>>2]|0,c[e+8>>2]|0)|0;break}}while(0);c[c[e>>2]>>2]=0;c[(c[e>>2]|0)+4>>2]=c[e+4>>2];c[(c[e>>2]|0)+12>>2]=c[e+8>>2];c[(c[e>>2]|0)+16>>2]=0;c[(c[e>>2]|0)+20>>2]=0;c[e+16>>2]=c[e>>2];d=c[e+16>>2]|0;i=e;return d|0}function qq(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;if(!(c[b>>2]|0)){i=b;return}if(c[(c[b>>2]|0)+16>>2]|0)Hi[c[(c[b>>2]|0)+16>>2]&1023](c[b>>2]|0);if(!(c[(c[b>>2]|0)+4>>2]&4))if(c[(c[b>>2]|0)+8>>2]|0)Yp(c[(c[b>>2]|0)+8>>2]|0);Yp(c[b>>2]|0);i=b;return}function rq(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=i;i=i+64|0;c[g+12>>2]=b;c[g+8>>2]=d;c[g+4>>2]=e;c[g>>2]=f;c[(c[g+12>>2]|0)+132>>2]=c[g+8>>2];c[(c[g+12>>2]|0)+124>>2]=c[g+4>>2];c[(c[g+12>>2]|0)+128>>2]=c[g>>2];a[g+16>>0]=-117;a[g+16+1>>0]=-1;b=Iob(c[g+8>>2]|0)|0;a[g+16+4>>0]=b;a[g+16+4+1>>0]=b>>8;a[g+16+4+2>>0]=b>>16;a[g+16+4+3>>0]=b>>24;b=Iob(c[g+4>>2]|0)|0;a[g+16+8>>0]=b;a[g+16+8+1>>0]=b>>8;a[g+16+8+2>>0]=b>>16;a[g+16+8+3>>0]=b>>24;b=Iob(c[g>>2]|0)|0;a[g+16+12>>0]=b;a[g+16+12+1>>0]=b>>8;a[g+16+12+2>>0]=b>>16;a[g+16+12+3>>0]=b>>24;sq(c[g+12>>2]|0,g+16|0,0,0,0)|0;i=g;return}function sq(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0;j=i;i=i+32|0;c[j+16>>2]=d;c[j+12>>2]=e;c[j+8>>2]=f;c[j+4>>2]=g;b[j+24>>1]=h;c[j>>2]=Xp(84)|0;if(!(c[j>>2]|0)){c[j+20>>2]=0;d=c[j+20>>2]|0;i=j;return d|0}e=(c[j>>2]|0)+32|0;h=c[j+12>>2]|0;g=e+48|0;do{a[e>>0]=a[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(g|0));c[(c[j>>2]|0)+24>>2]=c[j+4>>2];b[(c[j>>2]|0)+28>>1]=b[j+24>>1]|0;c[(c[j>>2]|0)+80>>2]=c[j+8>>2];if(c[j+8>>2]|0){d=c[j+8>>2]|0;c[d>>2]=(c[d>>2]|0)+1}tq(c[j+16>>2]|0,c[j>>2]|0);c[j+20>>2]=c[j>>2];d=c[j+20>>2]|0;i=j;return d|0}function tq(f,g){f=f|0;g=g|0;var h=0;h=i;i=i+16|0;c[h+8>>2]=f;c[h+4>>2]=g;c[h>>2]=(c[(c[h+8>>2]|0)+40>>2]|0)+((d[(c[h+4>>2]|0)+32+1>>0]|0)*60|0);g=Oq(a[(c[h+4>>2]|0)+32>>0]|0)|0;f=(c[h+8>>2]|0)+68|0;c[f>>2]=(c[f>>2]|0)+(g+(e[(c[h+4>>2]|0)+28>>1]|0));do if((d[(c[h+4>>2]|0)+32+1>>0]|0|0)==255){f=(c[h+8>>2]|0)+188|0;b[f>>1]=(b[f>>1]|0)+1<<16>>16;b[(c[h+4>>2]|0)+8>>1]=b[(c[h+8>>2]|0)+188>>1]|0;b[(c[h+4>>2]|0)+10>>1]=0}else{if((d[(c[h+4>>2]|0)+32>>0]|0)&128|0){f=c[h>>2]|0;b[f>>1]=(b[f>>1]|0)+1<<16>>16;b[(c[h>>2]|0)+2>>1]=0;b[(c[h+4>>2]|0)+8>>1]=b[c[h>>2]>>1]|0;b[(c[h+4>>2]|0)+10>>1]=0;break}if((d[(c[h+4>>2]|0)+32>>0]|0)&64|0){f=(c[h+8>>2]|0)+246|0;b[f>>1]=(b[f>>1]|0)+1<<16>>16;b[(c[h+4>>2]|0)+8>>1]=0;b[(c[h+4>>2]|0)+10>>1]=0;break}if(!(c[(c[h+4>>2]|0)+24>>2]|0)){f=(c[h>>2]|0)+2|0;b[f>>1]=(b[f>>1]|0)+1<<16>>16}b[(c[h+4>>2]|0)+8>>1]=b[c[h>>2]>>1]|0;b[(c[h+4>>2]|0)+10>>1]=b[(c[h>>2]|0)+2>>1]|0}while(0);b[(c[h+4>>2]|0)+30>>1]=0;c[(c[h+4>>2]|0)+12>>2]=0;c[(c[h+4>>2]|0)+16>>2]=0;c[(c[h+4>>2]|0)+20>>2]=0;f=Hob(b[(c[h+4>>2]|0)+8>>1]|0)|0;b[(c[h+4>>2]|0)+32+2>>1]=f;switch((d[(c[h+4>>2]|0)+32>>0]|0)&15|0){case 7:{f=Hob(b[(c[h+4>>2]|0)+10>>1]|0)|0;b[(c[h+4>>2]|0)+32+4>>1]=f;break}case 9:{f=Hob(b[(c[h+8>>2]|0)+246>>1]|0)|0;b[(c[h+4>>2]|0)+32+4>>1]=f;break}default:{}}g=c[h+8>>2]|0;if((d[(c[h+4>>2]|0)+32>>0]|0)&128|0){mq(g+216|0,c[h+4>>2]|0)|0;i=h;return}else{mq(g+224|0,c[h+4>>2]|0)|0;i=h;return}}function uq(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d+4>>2]=a;c[d>>2]=b;if((c[(c[d+4>>2]|0)+152>>2]|0)>>>0<=(c[(c[d+4>>2]|0)+160>>2]|0)>>>0)c[(c[d+4>>2]|0)+108>>2]=c[(c[d+4>>2]|0)+112>>2];else{if((c[d>>2]|0)>>>0<(c[(c[d+4>>2]|0)+152>>2]|0)>>>0){b=(c[d+4>>2]|0)+108|0;c[b>>2]=(c[b>>2]|0)+(c[(c[d+4>>2]|0)+124>>2]|0);if((c[(c[d+4>>2]|0)+108>>2]|0)>>>0>(c[(c[d+4>>2]|0)+112>>2]|0)>>>0)c[(c[d+4>>2]|0)+108>>2]=c[(c[d+4>>2]|0)+112>>2];c[d+8>>2]=1;b=c[d+8>>2]|0;i=d;return b|0}if((c[d>>2]|0)>>>0>((c[(c[d+4>>2]|0)+152>>2]|0)+(c[(c[d+4>>2]|0)+160>>2]<<1)|0)>>>0){a=c[d+4>>2]|0;if((c[(c[d+4>>2]|0)+108>>2]|0)>>>0>(c[(c[d+4>>2]|0)+128>>2]|0)>>>0){b=(c[d+4>>2]|0)+108|0;c[b>>2]=(c[b>>2]|0)-(c[a+128>>2]|0)}else c[a+108>>2]=0;c[d+8>>2]=-1;b=c[d+8>>2]|0;i=d;return b|0}}c[d+8>>2]=0;b=c[d+8>>2]|0;i=d;return b|0}function vq(f,g,h){f=f|0;g=g|0;h=h|0;var j=0,k=0;k=i;i=i+112|0;c[k+40>>2]=f;a[k+104>>0]=g;c[k+36>>2]=h;c[k+32>>2]=(c[(c[k+40>>2]|0)+40>>2]|0)+((d[k+104>>0]|0)*60|0);if((c[(c[k+40>>2]|0)+36>>2]|0)==5)if((d[k+104>>0]|0)>>>0<(c[(c[k+40>>2]|0)+44>>2]|0)>>>0)if((c[(c[k+36>>2]|0)+12>>2]|0)>>>0<=1073741824){c[k+28>>2]=(c[(c[k+40>>2]|0)+176>>2]|0)-4-24;if(c[(c[(c[k+40>>2]|0)+8>>2]|0)+2136>>2]|0)c[k+28>>2]=(c[k+28>>2]|0)-4;if((c[(c[k+36>>2]|0)+12>>2]|0)>>>0<=(c[k+28>>2]|0)>>>0){a[k+56+1>>0]=a[k+104>>0]|0;do if((c[(c[k+36>>2]|0)+4>>2]&3|0)==2){a[k+56>>0]=73;j=Hob(c[(c[k+36>>2]|0)+12>>2]&65535)|0;a[k+56+6>>0]=j;a[k+56+6+1>>0]=j>>8}else{if(!(c[(c[k+36>>2]|0)+4>>2]&1))if((e[(c[k+32>>2]|0)+2>>1]|0|0)<65535){a[k+56>>0]=7;j=Hob(c[(c[k+36>>2]|0)+12>>2]&65535)|0;a[k+56+6>>0]=j;a[k+56+6+1>>0]=j>>8;break}a[k+56>>0]=-122;j=Hob(c[(c[k+36>>2]|0)+12>>2]&65535)|0;a[k+56+4>>0]=j;a[k+56+4+1>>0]=j>>8}while(0);if(!(sq(c[k+40>>2]|0,k+56|0,c[k+36>>2]|0,0,c[(c[k+36>>2]|0)+12>>2]&65535)|0)){c[k+44>>2]=-1;j=c[k+44>>2]|0;i=k;return j|0}else{c[k+44>>2]=0;j=c[k+44>>2]|0;i=k;return j|0}}c[k+24>>2]=(((c[(c[k+36>>2]|0)+12>>2]|0)+(c[k+28>>2]|0)-1|0)>>>0)/((c[k+28>>2]|0)>>>0)|0;if((c[k+24>>2]|0)>>>0>1048576){c[k+44>>2]=-1;j=c[k+44>>2]|0;i=k;return j|0}if((c[(c[k+36>>2]|0)+4>>2]&9|0)==8)if((e[(c[k+32>>2]|0)+2>>1]|0|0)<65535){a[k+50>>0]=12;b[k+48>>1]=Hob((e[(c[k+32>>2]|0)+2>>1]|0)+1&65535)|0}else j=13;else j=13;if((j|0)==13){a[k+50>>0]=-120;b[k+48>>1]=Hob((e[c[k+32>>2]>>1]|0)+1&65535)|0}lq(k+8|0);c[k+20>>2]=0;c[k+16>>2]=0;while(1){if((c[k+16>>2]|0)>>>0>=(c[(c[k+36>>2]|0)+12>>2]|0)>>>0)break;if(((c[(c[k+36>>2]|0)+12>>2]|0)-(c[k+16>>2]|0)|0)>>>0<(c[k+28>>2]|0)>>>0)c[k+28>>2]=(c[(c[k+36>>2]|0)+12>>2]|0)-(c[k+16>>2]|0);c[k>>2]=Xp(84)|0;if(!(c[k>>2]|0)){j=19;break}c[(c[k>>2]|0)+24>>2]=c[k+16>>2];b[(c[k>>2]|0)+28>>1]=c[k+28>>2];c[(c[k>>2]|0)+80>>2]=c[k+36>>2];a[(c[k>>2]|0)+32>>0]=a[k+50>>0]|0;a[(c[k>>2]|0)+32+1>>0]=a[k+104>>0]|0;b[(c[k>>2]|0)+32+4>>1]=b[k+48>>1]|0;f=Hob(c[k+28>>2]&65535)|0;b[(c[k>>2]|0)+32+6>>1]=f;f=Iob(c[k+24>>2]|0)|0;c[(c[k>>2]|0)+32+8>>2]=f;f=Iob(c[k+20>>2]|0)|0;c[(c[k>>2]|0)+32+12>>2]=f;f=Iob(c[(c[k+36>>2]|0)+12>>2]|0)|0;c[(c[k>>2]|0)+32+16>>2]=f;f=Tob(c[k+16>>2]|0)|0;c[(c[k>>2]|0)+32+20>>2]=f;mq(k+8|0,c[k>>2]|0)|0;c[k+20>>2]=(c[k+20>>2]|0)+1;c[k+16>>2]=(c[k+16>>2]|0)+(c[k+28>>2]|0)}if((j|0)==19){while(1){if(!((c[k+8>>2]|0)==(k+8|0)^1))break;c[k>>2]=nq(c[k+8>>2]|0)|0;Yp(c[k>>2]|0);j=19}c[k+44>>2]=-1;j=c[k+44>>2]|0;i=k;return j|0}j=c[k+36>>2]|0;c[j>>2]=(c[j>>2]|0)+(c[k+20>>2]|0);while(1){if(!((c[k+8>>2]|0)==(k+8|0)^1))break;c[k>>2]=nq(c[k+8>>2]|0)|0;tq(c[k+40>>2]|0,c[k>>2]|0)}c[k+44>>2]=0;j=c[k+44>>2]|0;i=k;return j|0}c[k+44>>2]=-1;j=c[k+44>>2]|0;i=k;return j|0}function wq(b,d){b=b|0;d=d|0;var e=0;e=i;i=i+32|0;c[e+12>>2]=b;c[e+8>>2]=d;if((c[(c[e+12>>2]|0)+232>>2]|0)==((c[e+12>>2]|0)+232|0)){c[e+16>>2]=0;b=c[e+16>>2]|0;i=e;return b|0}c[e+4>>2]=nq(c[(c[e+12>>2]|0)+232>>2]|0)|0;if(c[e+8>>2]|0)a[c[e+8>>2]>>0]=a[(c[e+4>>2]|0)+12+1>>0]|0;c[e>>2]=c[(c[e+4>>2]|0)+72>>2];b=c[e>>2]|0;c[b>>2]=(c[b>>2]|0)+-1;if(c[(c[e+4>>2]|0)+68>>2]|0)Yp(c[(c[e+4>>2]|0)+68>>2]|0);Yp(c[e+4>>2]|0);c[e+16>>2]=c[e>>2];b=c[e+16>>2]|0;i=e;return b|0}function xq(a){a=a|0;var b=0;b=i;i=i+16|0;c[b+4>>2]=a;if(c[(c[b+4>>2]|0)+240>>2]|0){nq(c[b+4>>2]|0)|0;c[(c[b+4>>2]|0)+240>>2]=0}while(1){a=c[b+4>>2]|0;if(!((c[(c[b+4>>2]|0)+192>>2]|0)==((c[b+4>>2]|0)+192|0)^1))break;Yp(nq(c[a+192>>2]|0)|0)}yq(a+200|0);yq((c[b+4>>2]|0)+208|0);yq((c[b+4>>2]|0)+216|0);yq((c[b+4>>2]|0)+224|0);zq((c[b+4>>2]|0)+232|0);if(!(c[(c[b+4>>2]|0)+40>>2]|0)){a=c[b+4>>2]|0;a=a+40|0;c[a>>2]=0;a=c[b+4>>2]|0;a=a+44|0;c[a>>2]=0;i=b;return}if((c[(c[b+4>>2]|0)+44>>2]|0)>>>0<=0){a=c[b+4>>2]|0;a=a+40|0;c[a>>2]=0;a=c[b+4>>2]|0;a=a+44|0;c[a>>2]=0;i=b;return}c[b>>2]=c[(c[b+4>>2]|0)+40>>2];while(1){if((c[b>>2]|0)>>>0>=((c[(c[b+4>>2]|0)+40>>2]|0)+((c[(c[b+4>>2]|0)+44>>2]|0)*60|0)|0)>>>0)break;zq((c[b>>2]|0)+44|0);zq((c[b>>2]|0)+52|0);c[b>>2]=(c[b>>2]|0)+60}Yp(c[(c[b+4>>2]|0)+40>>2]|0);a=c[b+4>>2]|0;a=a+40|0;c[a>>2]=0;a=c[b+4>>2]|0;a=a+44|0;c[a>>2]=0;i=b;return}function yq(a){a=a|0;var b=0;b=i;i=i+16|0;c[b+4>>2]=a;while(1){if(!((c[c[b+4>>2]>>2]|0)==(c[b+4>>2]|0)^1))break;c[b>>2]=nq(c[c[b+4>>2]>>2]|0)|0;if(c[(c[b>>2]|0)+80>>2]|0){a=c[(c[b>>2]|0)+80>>2]|0;c[a>>2]=(c[a>>2]|0)+-1;if(!(c[c[(c[b>>2]|0)+80>>2]>>2]|0))qq(c[(c[b>>2]|0)+80>>2]|0)}Yp(c[b>>2]|0)}i=b;return}function zq(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;Aq(c[b>>2]|0,c[c[b>>2]>>2]|0,c[b>>2]|0);i=b;return}function Aq(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+32|0;c[e+16>>2]=a;c[e+12>>2]=b;c[e+8>>2]=d;c[e+4>>2]=c[e+12>>2];while(1){if((c[e+4>>2]|0)==(c[e+8>>2]|0))break;c[e>>2]=c[e+4>>2];c[e+4>>2]=c[c[e+4>>2]>>2];nq(c[e>>2]|0)|0;if(c[(c[e>>2]|0)+72>>2]|0){b=c[(c[e>>2]|0)+72>>2]|0;c[b>>2]=(c[b>>2]|0)+-1;if(!(c[c[(c[e>>2]|0)+72>>2]>>2]|0))qq(c[(c[e>>2]|0)+72>>2]|0)}if(c[(c[e>>2]|0)+68>>2]|0)Yp(c[(c[e>>2]|0)+68>>2]|0);Yp(c[e>>2]|0)}i=e;return}function Bq(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;if((c[(c[b>>2]|0)+36>>2]|0)==5){i=b;return}if((c[(c[b>>2]|0)+36>>2]|0)==6){i=b;return}if(c[(c[b>>2]|0)+48>>2]|0){a=(c[(c[b>>2]|0)+8>>2]|0)+10388|0;c[a>>2]=(c[a>>2]|0)+1}a=(c[(c[b>>2]|0)+8>>2]|0)+10384|0;c[a>>2]=(c[a>>2]|0)+1;i=b;return}function Cq(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;if((c[(c[b>>2]|0)+36>>2]|0)!=5)if((c[(c[b>>2]|0)+36>>2]|0)!=6){i=b;return}if(c[(c[b>>2]|0)+48>>2]|0){a=(c[(c[b>>2]|0)+8>>2]|0)+10388|0;c[a>>2]=(c[a>>2]|0)+-1}a=(c[(c[b>>2]|0)+8>>2]|0)+10384|0;c[a>>2]=(c[a>>2]|0)+-1;i=b;return}function Dq(a){a=a|0;var d=0,e=0;e=i;i=i+16|0;c[e>>2]=a;Cq(c[e>>2]|0);b[(c[e>>2]|0)+12>>1]=4095;c[(c[e>>2]|0)+16>>2]=0;c[(c[e>>2]|0)+36>>2]=0;c[(c[e>>2]|0)+48>>2]=0;c[(c[e>>2]|0)+52>>2]=0;c[(c[e>>2]|0)+56>>2]=0;c[(c[e>>2]|0)+60>>2]=0;c[(c[e>>2]|0)+64>>2]=0;c[(c[e>>2]|0)+68>>2]=0;c[(c[e>>2]|0)+72>>2]=0;c[(c[e>>2]|0)+76>>2]=0;c[(c[e>>2]|0)+80>>2]=0;c[(c[e>>2]|0)+84>>2]=0;c[(c[e>>2]|0)+88>>2]=0;c[(c[e>>2]|0)+92>>2]=0;c[(c[e>>2]|0)+96>>2]=0;c[(c[e>>2]|0)+100>>2]=0;c[(c[e>>2]|0)+104>>2]=0;c[(c[e>>2]|0)+108>>2]=32;c[(c[e>>2]|0)+112>>2]=32;c[(c[e>>2]|0)+116>>2]=0;c[(c[e>>2]|0)+120>>2]=0;c[(c[e>>2]|0)+124>>2]=2;c[(c[e>>2]|0)+128>>2]=2;c[(c[e>>2]|0)+132>>2]=5e3;c[(c[e>>2]|0)+136>>2]=500;c[(c[e>>2]|0)+140>>2]=32;c[(c[e>>2]|0)+144>>2]=5e3;c[(c[e>>2]|0)+148>>2]=3e4;c[(c[e>>2]|0)+152>>2]=500;c[(c[e>>2]|0)+156>>2]=500;c[(c[e>>2]|0)+160>>2]=0;c[(c[e>>2]|0)+164>>2]=0;c[(c[e>>2]|0)+168>>2]=500;c[(c[e>>2]|0)+172>>2]=0;c[(c[e>>2]|0)+176>>2]=c[(c[(c[e>>2]|0)+8>>2]|0)+24>>2];c[(c[e>>2]|0)+184>>2]=0;b[(c[e>>2]|0)+188>>1]=0;c[(c[e>>2]|0)+180>>2]=65536;b[(c[e>>2]|0)+244>>1]=0;b[(c[e>>2]|0)+246>>1]=0;c[(c[e>>2]|0)+376>>2]=0;a=(c[e>>2]|0)+248|0;d=a+128|0;do{c[a>>2]=0;a=a+4|0}while((a|0)<(d|0));xq(c[e>>2]|0);i=e;return}function Eq(b){b=b|0;var d=0;d=i;i=i+64|0;c[d>>2]=b;if((c[(c[d>>2]|0)+36>>2]|0)!=5){i=d;return}a[d+8>>0]=-123;a[d+8+1>>0]=-1;sq(c[d>>2]|0,d+8|0,0,0,0)|0;i=d;return}function Fq(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d+4>>2]=a;c[d>>2]=b;c[(c[d+4>>2]|0)+136>>2]=c[d>>2]|0?c[d>>2]|0:500;i=d;return}function Gq(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+16|0;c[f+12>>2]=a;c[f+8>>2]=b;c[f+4>>2]=d;c[f>>2]=e;c[(c[f+12>>2]|0)+140>>2]=c[f+8>>2]|0?c[f+8>>2]|0:32;c[(c[f+12>>2]|0)+144>>2]=c[f+4>>2]|0?c[f+4>>2]|0:5e3;c[(c[f+12>>2]|0)+148>>2]=c[f>>2]|0?c[f>>2]|0:3e4;i=f;return}function Hq(b,d){b=b|0;d=d|0;var e=0;e=i;i=i+64|0;c[e+4>>2]=b;c[e>>2]=d;if(!(c[(c[e+4>>2]|0)+36>>2]|0)){i=e;return}if((c[(c[e+4>>2]|0)+36>>2]|0)!=9)if((c[(c[e+4>>2]|0)+36>>2]|0)!=7){xq(c[e+4>>2]|0);a[e+8>>0]=68;a[e+8+1>>0]=-1;b=Iob(c[e>>2]|0)|0;a[e+8+4>>0]=b;a[e+8+4+1>>0]=b>>8;a[e+8+4+2>>0]=b>>16;a[e+8+4+3>>0]=b>>24;sq(c[e+4>>2]|0,e+8|0,0,0,0)|0;Pq(c[(c[e+4>>2]|0)+8>>2]|0)}Dq(c[e+4>>2]|0);i=e;return}function Iq(b,e){b=b|0;e=e|0;var f=0,g=0;g=i;i=i+64|0;c[g+4>>2]=b;c[g>>2]=e;if((c[(c[g+4>>2]|0)+36>>2]|0)==7){i=g;return}if(!(c[(c[g+4>>2]|0)+36>>2]|0)){i=g;return}if((c[(c[g+4>>2]|0)+36>>2]|0)==8){i=g;return}if((c[(c[g+4>>2]|0)+36>>2]|0)==9){i=g;return}xq(c[g+4>>2]|0);a[g+8>>0]=4;a[g+8+1>>0]=-1;b=Iob(c[g>>2]|0)|0;a[g+8+4>>0]=b;a[g+8+4+1>>0]=b>>8;a[g+8+4+2>>0]=b>>16;a[g+8+4+3>>0]=b>>24;if((c[(c[g+4>>2]|0)+36>>2]|0)==5)f=7;else if((c[(c[g+4>>2]|0)+36>>2]|0)==6)f=7;else a[g+8>>0]=d[g+8>>0]|0|64;if((f|0)==7)a[g+8>>0]=d[g+8>>0]|0|128;sq(c[g+4>>2]|0,g+8|0,0,0,0)|0;if((c[(c[g+4>>2]|0)+36>>2]|0)!=5)if((c[(c[g+4>>2]|0)+36>>2]|0)!=6){Pq(c[(c[g+4>>2]|0)+8>>2]|0);Dq(c[g+4>>2]|0);i=g;return}Cq(c[g+4>>2]|0);c[(c[g+4>>2]|0)+36>>2]=7;i=g;return}function Jq(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;c[e+4>>2]=a;c[e>>2]=b;if((c[(c[e+4>>2]|0)+36>>2]|0)==5)d=3;else if((c[(c[e+4>>2]|0)+36>>2]|0)==6)d=3;do if((d|0)==3){if((c[(c[e+4>>2]|0)+216>>2]|0)==((c[e+4>>2]|0)+216|0))if((c[(c[e+4>>2]|0)+224>>2]|0)==((c[e+4>>2]|0)+224|0))if((c[(c[e+4>>2]|0)+200>>2]|0)==((c[e+4>>2]|0)+200|0))break;c[(c[e+4>>2]|0)+36>>2]=6;c[(c[e+4>>2]|0)+376>>2]=c[e>>2];i=e;return}while(0);Iq(c[e+4>>2]|0,c[e>>2]|0);i=e;return}function Kq(f,g,h){f=f|0;g=g|0;h=h|0;var j=0;j=i;i=i+32|0;c[j+12>>2]=f;c[j+8>>2]=g;b[j+24>>1]=h;if((d[(c[j+8>>2]|0)+1>>0]|0)>>>0<(c[(c[j+12>>2]|0)+44>>2]|0)>>>0){c[j>>2]=(c[(c[j+12>>2]|0)+40>>2]|0)+((d[(c[j+8>>2]|0)+1>>0]|0)*60|0);h=(c[j+8>>2]|0)+2|0;b[j+22>>1]=((d[h>>0]|d[h+1>>0]<<8)&65535|0)/4096|0;b[j+20>>1]=(e[(c[j>>2]|0)+38>>1]|0|0)/4096|0;h=(c[j+8>>2]|0)+2|0;if(((d[h>>0]|d[h+1>>0]<<8)&65535|0)<(e[(c[j>>2]|0)+38>>1]|0|0))b[j+22>>1]=(e[j+22>>1]|0)+16;if((e[j+22>>1]|0|0)>=((e[j+20>>1]|0)+8-1|0))if((e[j+22>>1]|0|0)<=((e[j+20>>1]|0)+8|0)){c[j+16>>2]=0;h=c[j+16>>2]|0;i=j;return h|0}}c[j+4>>2]=Xp(60)|0;if(!(c[j+4>>2]|0)){c[j+16>>2]=0;h=c[j+16>>2]|0;i=j;return h|0}else{g=(c[j+12>>2]|0)+68|0;c[g>>2]=(c[g>>2]|0)+8;c[(c[j+4>>2]|0)+8>>2]=e[j+24>>1];g=(c[j+4>>2]|0)+12|0;f=c[j+8>>2]|0;h=g+48|0;do{a[g>>0]=a[f>>0]|0;g=g+1|0;f=f+1|0}while((g|0)<(h|0));mq((c[j+12>>2]|0)+192|0,c[j+4>>2]|0)|0;c[j+16>>2]=c[j+4>>2];h=c[j+16>>2]|0;i=j;return h|0}return 0}function Lq(a,f){a=a|0;f=f|0;var g=0,h=0;g=i;i=i+32|0;c[g+20>>2]=a;c[g+16>>2]=f;a=c[(c[g+16>>2]|0)+52>>2]|0;c[g+4>>2]=a;c[g+8>>2]=a;c[g+12>>2]=a;a:while(1){if((c[g+4>>2]|0)==((c[g+16>>2]|0)+52|0))break;c[g>>2]=c[g+4>>2];b:do if(((d[(c[g>>2]|0)+12>>0]|0)&15|0)!=9){f=c[g>>2]|0;do if((e[(c[g>>2]|0)+8>>1]|0|0)==(e[(c[g+16>>2]|0)+38>>1]|0|0)){if((c[f+64>>2]|0)>>>0<=0){b[(c[g+16>>2]|0)+40>>1]=b[(c[g>>2]|0)+10>>1]|0;break b}if((c[g+8>>2]|0)==(c[g+4>>2]|0)){if((c[g+12>>2]|0)==(c[g+4>>2]|0))break;c[g+12>>2]=c[(c[g+4>>2]|0)+4>>2];break}oq((c[g+20>>2]|0)+232|0,c[g+8>>2]|0,c[(c[g+4>>2]|0)+4>>2]|0)|0;if(!(c[(c[g+20>>2]|0)+240>>2]|0)){mq((c[(c[g+20>>2]|0)+8>>2]|0)+52|0,c[g+20>>2]|0)|0;c[(c[g+20>>2]|0)+240>>2]=1}c[g+12>>2]=c[g+4>>2]}else{b[g+26>>1]=(e[f+8>>1]|0|0)/4096|0;b[g+24>>1]=(e[(c[g+16>>2]|0)+38>>1]|0|0)/4096|0;if((e[(c[g>>2]|0)+8>>1]|0|0)<(e[(c[g+16>>2]|0)+38>>1]|0|0))b[g+26>>1]=(e[g+26>>1]|0)+16;if((e[g+26>>1]|0|0)>=(e[g+24>>1]|0|0))if((e[g+26>>1]|0|0)<((e[g+24>>1]|0)+8-1|0))break a;c[g+12>>2]=c[c[g+4>>2]>>2];if((c[g+8>>2]|0)!=(c[g+4>>2]|0)){oq((c[g+20>>2]|0)+232|0,c[g+8>>2]|0,c[(c[g+4>>2]|0)+4>>2]|0)|0;if(!(c[(c[g+20>>2]|0)+240>>2]|0)){mq((c[(c[g+20>>2]|0)+8>>2]|0)+52|0,c[g+20>>2]|0)|0;c[(c[g+20>>2]|0)+240>>2]=1}}}while(0);c[g+8>>2]=c[c[g+4>>2]>>2]}while(0);c[g+4>>2]=c[c[g+4>>2]>>2]}if((c[g+8>>2]|0)==(c[g+4>>2]|0)){h=c[g+16>>2]|0;h=h+52|0;f=c[g+16>>2]|0;f=f+52|0;f=c[f>>2]|0;a=c[g+12>>2]|0;Aq(h,f,a);i=g;return}oq((c[g+20>>2]|0)+232|0,c[g+8>>2]|0,c[(c[g+4>>2]|0)+4>>2]|0)|0;if(!(c[(c[g+20>>2]|0)+240>>2]|0)){mq((c[(c[g+20>>2]|0)+8>>2]|0)+52|0,c[g+20>>2]|0)|0;c[(c[g+20>>2]|0)+240>>2]=1}c[g+12>>2]=c[g+4>>2];f=c[g+16>>2]|0;f=f+52|0;a=c[g+16>>2]|0;a=a+52|0;a=c[a>>2]|0;h=c[g+12>>2]|0;Aq(f,a,h);i=g;return}function Mq(a,d){a=a|0;d=d|0;var f=0;f=i;i=i+16|0;c[f+12>>2]=a;c[f+8>>2]=d;c[f+4>>2]=c[(c[f+8>>2]|0)+44>>2];while(1){if((c[f+4>>2]|0)==((c[f+8>>2]|0)+44|0))break;c[f>>2]=c[f+4>>2];if((c[(c[f>>2]|0)+64>>2]|0)>>>0>0)break;if((e[(c[f>>2]|0)+8>>1]|0|0)!=((e[(c[f+8>>2]|0)+38>>1]|0)+1&65535|0))break;b[(c[f+8>>2]|0)+38>>1]=b[(c[f>>2]|0)+8>>1]|0;if((c[(c[f>>2]|0)+60>>2]|0)>>>0>0){a=(c[f+8>>2]|0)+38|0;b[a>>1]=(e[a>>1]|0)+((c[(c[f>>2]|0)+60>>2]|0)-1)}c[f+4>>2]=c[c[f+4>>2]>>2]}if((c[f+4>>2]|0)==(c[(c[f+8>>2]|0)+44>>2]|0)){i=f;return}b[(c[f+8>>2]|0)+40>>1]=0;oq((c[f+12>>2]|0)+232|0,c[(c[f+8>>2]|0)+44>>2]|0,c[(c[f+4>>2]|0)+4>>2]|0)|0;if(!(c[(c[f+12>>2]|0)+240>>2]|0)){mq((c[(c[f+12>>2]|0)+8>>2]|0)+52|0,c[f+12>>2]|0)|0;c[(c[f+12>>2]|0)+240>>2]=1}if((c[(c[f+8>>2]|0)+52>>2]|0)==((c[f+8>>2]|0)+52|0)){i=f;return}Lq(c[f+12>>2]|0,c[f+8>>2]|0);i=f;return}function Nq(f,g,h,j){f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0;l=i;i=i+48|0;c[l+32>>2]=f;c[l+28>>2]=g;c[l+24>>2]=h;c[l+20>>2]=j;c[l+16>>2]=(c[(c[l+32>>2]|0)+40>>2]|0)+((d[(c[l+28>>2]|0)+1>>0]|0)*60|0);c[l+12>>2]=0;c[l+8>>2]=0;a:do if((c[(c[l+32>>2]|0)+36>>2]|0)==6)k=44;else{if(((d[c[l+28>>2]>>0]|0)&15|0)!=9){f=(c[l+28>>2]|0)+2|0;c[l+8>>2]=(d[f>>0]|d[f+1>>0]<<8)&65535;b[l+42>>1]=((c[l+8>>2]|0)>>>0)/4096|0;b[l+40>>1]=(e[(c[l+16>>2]|0)+38>>1]|0|0)/4096|0;if((c[l+8>>2]|0)>>>0<(e[(c[l+16>>2]|0)+38>>1]|0)>>>0)b[l+42>>1]=(e[l+42>>1]|0)+16;if((e[l+42>>1]|0|0)<(e[l+40>>1]|0|0)){k=44;break}if((e[l+42>>1]|0|0)>=((e[l+40>>1]|0)+8-1|0)){k=44;break}}b:do switch((d[c[l+28>>2]>>0]|0)&15|0){case 6:case 8:{if((c[l+8>>2]|0)==(e[(c[l+16>>2]|0)+38>>1]|0|0)){k=44;break a}c[l>>2]=c[(c[l+16>>2]|0)+44+4>>2];while(1){if((c[l>>2]|0)==((c[l+16>>2]|0)+44|0))break b;c[l+4>>2]=c[l>>2];g=e[(c[l+4>>2]|0)+8>>1]|0;j=e[(c[l+16>>2]|0)+38>>1]|0;if((c[l+8>>2]|0)>>>0>=(e[(c[l+16>>2]|0)+38>>1]|0)>>>0){if((g|0)>=(j|0))k=14}else if((g|0)>=(j|0))break b;else k=14;if((k|0)==14){k=0;if((e[(c[l+4>>2]|0)+8>>1]|0)>>>0<=(c[l+8>>2]|0)>>>0)break}c[l>>2]=c[(c[l>>2]|0)+4>>2]}if((e[(c[l+4>>2]|0)+8>>1]|0)>>>0>=(c[l+8>>2]|0)>>>0){k=44;break a}break}case 12:case 7:{f=(c[l+28>>2]|0)+4|0;c[l+12>>2]=(Xob(d[f>>0]|d[f+1>>0]<<8)|0)&65535;if((c[l+8>>2]|0)==(e[(c[l+16>>2]|0)+38>>1]|0|0))if((c[l+12>>2]|0)>>>0<=(e[(c[l+16>>2]|0)+40>>1]|0)>>>0){k=44;break a}c[l>>2]=c[(c[l+16>>2]|0)+52+4>>2];c:while(1){if((c[l>>2]|0)==((c[l+16>>2]|0)+52|0))break b;c[l+4>>2]=c[l>>2];do if(((d[c[l+28>>2]>>0]|0)&15|0)!=9){g=e[(c[l+4>>2]|0)+8>>1]|0;j=e[(c[l+16>>2]|0)+38>>1]|0;if((c[l+8>>2]|0)>>>0>=(e[(c[l+16>>2]|0)+38>>1]|0)>>>0){if((g|0)<(j|0))break}else if((g|0)>=(j|0))break b;if((e[(c[l+4>>2]|0)+8>>1]|0)>>>0<(c[l+8>>2]|0)>>>0)break b;if((e[(c[l+4>>2]|0)+8>>1]|0)>>>0<=(c[l+8>>2]|0)>>>0)if((e[(c[l+4>>2]|0)+10>>1]|0)>>>0<=(c[l+12>>2]|0)>>>0)break c}while(0);c[l>>2]=c[(c[l>>2]|0)+4>>2]}if((e[(c[l+4>>2]|0)+10>>1]|0)>>>0>=(c[l+12>>2]|0)>>>0){k=44;break a}break}case 9:{c[l>>2]=(c[l+16>>2]|0)+52;break}default:{k=44;break a}}while(0);c[l+4>>2]=Xp(76)|0;if(c[l+4>>2]|0){g=(c[l+28>>2]|0)+2|0;b[(c[l+4>>2]|0)+8>>1]=d[g>>0]|d[g+1>>0]<<8;b[(c[l+4>>2]|0)+10>>1]=c[l+12>>2];g=(c[l+4>>2]|0)+12|0;j=c[l+28>>2]|0;h=g+48|0;do{a[g>>0]=a[j>>0]|0;g=g+1|0;j=j+1|0}while((g|0)<(h|0));c[(c[l+4>>2]|0)+60>>2]=c[l+20>>2];c[(c[l+4>>2]|0)+64>>2]=c[l+20>>2];c[(c[l+4>>2]|0)+72>>2]=c[l+24>>2];c[(c[l+4>>2]|0)+68>>2]=0;do if((c[l+20>>2]|0)>>>0>0){if((c[l+20>>2]|0)>>>0<=1048576){f=Xp(((((c[l+20>>2]|0)+31|0)>>>0)/32|0)<<2)|0;c[(c[l+4>>2]|0)+68>>2]=f}g=c[l+4>>2]|0;if(!(c[(c[l+4>>2]|0)+68>>2]|0)){Yp(g);break a}else{hBb(c[g+68>>2]|0,0,((((c[l+20>>2]|0)+31|0)>>>0)/32|0)<<2|0)|0;break}}while(0);if(c[l+24>>2]|0){k=c[l+24>>2]|0;c[k>>2]=(c[k>>2]|0)+1}mq(c[c[l>>2]>>2]|0,c[l+4>>2]|0)|0;switch((d[c[l+28>>2]>>0]|0)&15|0){case 6:case 8:{Mq(c[l+32>>2]|0,c[l+16>>2]|0);break}default:Lq(c[l+32>>2]|0,c[l+16>>2]|0)}c[l+36>>2]=c[l+4>>2];k=c[l+36>>2]|0;i=l;return k|0}}while(0);if((k|0)==44)if((c[l+20>>2]|0)>>>0<=0){if(c[l+24>>2]|0)if(!(c[c[l+24>>2]>>2]|0))qq(c[l+24>>2]|0);c[l+36>>2]=623016;k=c[l+36>>2]|0;i=l;return k|0}if(c[l+24>>2]|0)if(!(c[c[l+24>>2]>>2]|0))qq(c[l+24>>2]|0);c[l+36>>2]=0;k=c[l+36>>2]|0;i=l;return k|0}function Oq(b){b=b|0;var e=0;e=i;i=i+16|0;a[e>>0]=b;i=e;return c[11924+(((d[e>>0]|0)&15)<<2)>>2]|0}function Pq(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;a=tr()|0;c[(c[b>>2]|0)+48>>2]=a;Qq(c[b>>2]|0,0,0)|0;i=b;return}function Qq(f,g,h){f=f|0;g=g|0;h=h|0;var j=0,k=0;k=i;i=i+64|0;c[k+40>>2]=f;c[k+36>>2]=g;c[k+32>>2]=h;c[k+28>>2]=k+48;c[k+16>>2]=0;c[(c[k+40>>2]|0)+60>>2]=1;a:while(1){if(!(c[(c[k+40>>2]|0)+60>>2]|0)){j=59;break}c[(c[k+40>>2]|0)+60>>2]=0;c[k+24>>2]=c[(c[k+40>>2]|0)+36>>2];while(1){if((c[k+24>>2]|0)>>>0>=((c[(c[k+40>>2]|0)+36>>2]|0)+((c[(c[k+40>>2]|0)+40>>2]|0)*380|0)|0)>>>0)continue a;do if(c[(c[k+24>>2]|0)+36>>2]|0)if((c[(c[k+24>>2]|0)+36>>2]|0)!=9){b[(c[k+40>>2]|0)+68>>1]=0;c[(c[k+40>>2]|0)+1608>>2]=0;c[(c[k+40>>2]|0)+2132>>2]=1;c[(c[k+40>>2]|0)+64>>2]=4;if((c[(c[k+24>>2]|0)+192>>2]|0)!=((c[k+24>>2]|0)+192|0))Rq(c[k+40>>2]|0,c[k+24>>2]|0);if(c[k+32>>2]|0)if((c[(c[k+24>>2]|0)+200>>2]|0)!=((c[k+24>>2]|0)+200|0))if(((c[(c[k+40>>2]|0)+48>>2]|0)-(c[(c[k+24>>2]|0)+80>>2]|0)|0)>>>0<864e5)if((Uq(c[k+40>>2]|0,c[k+24>>2]|0,c[k+36>>2]|0)|0)==1){if(!(c[k+36>>2]|0))break;if(c[c[k+36>>2]>>2]|0){j=15;break a}else break}if((c[(c[k+24>>2]|0)+216>>2]|0)==((c[k+24>>2]|0)+216|0))j=18;else if(Wq(c[k+40>>2]|0,c[k+24>>2]|0)|0)j=18;if((j|0)==18){j=0;if((c[(c[k+24>>2]|0)+200>>2]|0)==((c[k+24>>2]|0)+200|0)){if(((c[(c[k+40>>2]|0)+48>>2]|0)-(c[(c[k+24>>2]|0)+76>>2]|0)|0)>>>0>=864e5)h=(c[(c[k+24>>2]|0)+76>>2]|0)-(c[(c[k+40>>2]|0)+48>>2]|0)|0;else h=(c[(c[k+40>>2]|0)+48>>2]|0)-(c[(c[k+24>>2]|0)+76>>2]|0)|0;if(h>>>0>=(c[(c[k+24>>2]|0)+136>>2]|0)>>>0)if(((c[(c[k+24>>2]|0)+176>>2]|0)-(c[(c[k+40>>2]|0)+64>>2]|0)|0)>>>0>=4){Eq(c[k+24>>2]|0);Wq(c[k+40>>2]|0,c[k+24>>2]|0)|0}}}if((c[(c[k+24>>2]|0)+224>>2]|0)!=((c[k+24>>2]|0)+224|0))Xq(c[k+40>>2]|0,c[k+24>>2]|0);if(c[(c[k+40>>2]|0)+1608>>2]|0){h=c[(c[k+40>>2]|0)+48>>2]|0;g=(c[k+24>>2]|0)+88|0;if(!(c[(c[k+24>>2]|0)+88>>2]|0))c[g>>2]=h;else{if((h-(c[g>>2]|0)|0)>>>0>=864e5)h=(c[(c[k+24>>2]|0)+88>>2]|0)-(c[(c[k+40>>2]|0)+48>>2]|0)|0;else h=(c[(c[k+40>>2]|0)+48>>2]|0)-(c[(c[k+24>>2]|0)+88>>2]|0)|0;if(h>>>0>=1e4)if((c[(c[k+24>>2]|0)+92>>2]|0)>>>0>0){c[k+12>>2]=(c[(c[k+24>>2]|0)+96>>2]<<16>>>0)/((c[(c[k+24>>2]|0)+92>>2]|0)>>>0)|0;f=(c[k+24>>2]|0)+104|0;c[f>>2]=(c[f>>2]|0)-(((c[(c[k+24>>2]|0)+104>>2]|0)>>>0)/4|0);if((c[k+12>>2]|0)>>>0>=(c[(c[k+24>>2]|0)+100>>2]|0)>>>0){f=(c[k+24>>2]|0)+100|0;c[f>>2]=(c[f>>2]|0)+((((c[k+12>>2]|0)-(c[(c[k+24>>2]|0)+100>>2]|0)|0)>>>0)/8|0);f=(c[k+24>>2]|0)+104|0;c[f>>2]=(c[f>>2]|0)+((((c[k+12>>2]|0)-(c[(c[k+24>>2]|0)+100>>2]|0)|0)>>>0)/4|0)}else{f=(c[k+24>>2]|0)+100|0;c[f>>2]=(c[f>>2]|0)-((((c[(c[k+24>>2]|0)+100>>2]|0)-(c[k+12>>2]|0)|0)>>>0)/8|0);f=(c[k+24>>2]|0)+104|0;c[f>>2]=(c[f>>2]|0)+((((c[(c[k+24>>2]|0)+100>>2]|0)-(c[k+12>>2]|0)|0)>>>0)/4|0)}c[(c[k+24>>2]|0)+88>>2]=c[(c[k+40>>2]|0)+48>>2];c[(c[k+24>>2]|0)+92>>2]=0;c[(c[k+24>>2]|0)+96>>2]=0}}c[(c[k+40>>2]|0)+1612>>2]=k+48;h=c[k+40>>2]|0;if((e[(c[k+40>>2]|0)+68>>1]|0)&32768|0){g=Hob(c[h+48>>2]&65535)|0;f=(c[k+28>>2]|0)+2|0;a[f>>0]=g;a[f+1>>0]=g>>8;c[(c[k+40>>2]|0)+1612+4>>2]=4}else c[h+1612+4>>2]=2;c[k+16>>2]=0;if(c[(c[k+40>>2]|0)+2140>>2]|0)if(c[(c[k+40>>2]|0)+2140+4>>2]|0){c[k+8>>2]=(c[(c[k+40>>2]|0)+64>>2]|0)-4;c[k+4>>2]=ti[c[(c[k+40>>2]|0)+2140+4>>2]&63](c[(c[k+40>>2]|0)+2140>>2]|0,(c[k+40>>2]|0)+1612+8|0,(c[(c[k+40>>2]|0)+2132>>2]|0)-1|0,c[k+8>>2]|0,(c[k+40>>2]|0)+2156+4096|0,c[k+8>>2]|0)|0;if((c[k+4>>2]|0)>>>0>0)if((c[k+4>>2]|0)>>>0<(c[k+8>>2]|0)>>>0){f=(c[k+40>>2]|0)+68|0;b[f>>1]=e[f>>1]|0|16384;c[k+16>>2]=c[k+4>>2]}}if((e[(c[k+24>>2]|0)+12>>1]|0|0)<4095){f=(c[k+40>>2]|0)+68|0;b[f>>1]=e[f>>1]|0|(d[(c[k+24>>2]|0)+20>>0]|0)<<12}g=Hob((e[(c[k+24>>2]|0)+12>>1]|0|(e[(c[k+40>>2]|0)+68>>1]|0))&65535)|0;f=c[k+28>>2]|0;a[f>>0]=g;a[f+1>>0]=g>>8;if(c[(c[k+40>>2]|0)+2136>>2]|0){c[k>>2]=k+48+(c[(c[k+40>>2]|0)+1612+4>>2]|0);if((e[(c[k+24>>2]|0)+12>>1]|0|0)<4095)h=c[(c[k+24>>2]|0)+16>>2]|0;else h=0;c[c[k>>2]>>2]=h;f=(c[k+40>>2]|0)+1612+4|0;c[f>>2]=(c[f>>2]|0)+4;f=Xi[c[(c[k+40>>2]|0)+2136>>2]&511]((c[k+40>>2]|0)+1612|0,c[(c[k+40>>2]|0)+2132>>2]|0)|0;c[c[k>>2]>>2]=f}if((c[k+16>>2]|0)>>>0>0){c[(c[k+40>>2]|0)+1612+8>>2]=(c[k+40>>2]|0)+2156+4096;c[(c[k+40>>2]|0)+1612+8+4>>2]=c[k+16>>2];c[(c[k+40>>2]|0)+2132>>2]=2}c[(c[k+24>>2]|0)+72>>2]=c[(c[k+40>>2]|0)+48>>2];c[k+20>>2]=Br(c[c[k+40>>2]>>2]|0,(c[k+24>>2]|0)+24|0,(c[k+40>>2]|0)+1612|0,c[(c[k+40>>2]|0)+2132>>2]|0)|0;Yq(c[k+24>>2]|0);if((c[k+20>>2]|0)<0){j=56;break a}f=(c[k+40>>2]|0)+10364|0;c[f>>2]=(c[f>>2]|0)+(c[k+20>>2]|0);f=(c[k+40>>2]|0)+10368|0;c[f>>2]=(c[f>>2]|0)+1}}while(0);c[k+24>>2]=(c[k+24>>2]|0)+380}}if((j|0)==15){c[k+44>>2]=1;j=c[k+44>>2]|0;i=k;return j|0}else if((j|0)==56){c[k+44>>2]=-1;j=c[k+44>>2]|0;i=k;return j|0}else if((j|0)==59){c[k+44>>2]=0;j=c[k+44>>2]|0;i=k;return j|0}return 0}function Rq(e,f){e=e|0;f=f|0;var g=0,h=0;h=i;i=i+32|0;c[h+20>>2]=e;c[h+16>>2]=f;c[h+12>>2]=(c[h+20>>2]|0)+70+((c[(c[h+20>>2]|0)+1608>>2]|0)*48|0);c[h+8>>2]=(c[h+20>>2]|0)+1612+(c[(c[h+20>>2]|0)+2132>>2]<<3);c[h>>2]=c[(c[h+16>>2]|0)+192>>2];while(1){if((c[h>>2]|0)==((c[h+16>>2]|0)+192|0)){g=10;break}if((c[h+12>>2]|0)>>>0>=((c[h+20>>2]|0)+70+1536|0)>>>0)break;if((c[h+8>>2]|0)>>>0>=((c[h+20>>2]|0)+1612+520|0)>>>0)break;if(((c[(c[h+16>>2]|0)+176>>2]|0)-(c[(c[h+20>>2]|0)+64>>2]|0)|0)>>>0<8)break;c[h+4>>2]=c[h>>2];c[h>>2]=c[c[h>>2]>>2];c[c[h+8>>2]>>2]=c[h+12>>2];c[(c[h+8>>2]|0)+4>>2]=8;e=(c[h+20>>2]|0)+64|0;c[e>>2]=(c[e>>2]|0)+(c[(c[h+8>>2]|0)+4>>2]|0);b[h+24>>1]=Hob(b[(c[h+4>>2]|0)+12+2>>1]|0)|0;a[c[h+12>>2]>>0]=1;a[(c[h+12>>2]|0)+1>>0]=a[(c[h+4>>2]|0)+12+1>>0]|0;e=b[h+24>>1]|0;f=(c[h+12>>2]|0)+2|0;a[f>>0]=e;a[f+1>>0]=e>>8;f=b[h+24>>1]|0;e=(c[h+12>>2]|0)+4|0;a[e>>0]=f;a[e+1>>0]=f>>8;e=Hob(c[(c[h+4>>2]|0)+8>>2]&65535)|0;f=(c[h+12>>2]|0)+6|0;a[f>>0]=e;a[f+1>>0]=e>>8;if(((d[(c[h+4>>2]|0)+12>>0]|0)&15|0)==4)Sq(c[h+20>>2]|0,c[h+16>>2]|0,9);nq(c[h+4>>2]|0)|0;Yp(c[h+4>>2]|0);c[h+12>>2]=(c[h+12>>2]|0)+48;c[h+8>>2]=(c[h+8>>2]|0)+8}if((g|0)==10){g=c[h+12>>2]|0;f=c[h+20>>2]|0;f=f+70|0;f=g-f|0;f=(f|0)/48|0;g=c[h+20>>2]|0;g=g+1608|0;c[g>>2]=f;g=c[h+8>>2]|0;f=c[h+20>>2]|0;f=f+1612|0;f=g-f|0;f=(f|0)/8|0;g=c[h+20>>2]|0;g=g+2132|0;c[g>>2]=f;i=h;return}c[(c[h+20>>2]|0)+60>>2]=1;g=c[h+12>>2]|0;f=c[h+20>>2]|0;f=f+70|0;f=g-f|0;f=(f|0)/48|0;g=c[h+20>>2]|0;g=g+1608|0;c[g>>2]=f;g=c[h+8>>2]|0;f=c[h+20>>2]|0;f=f+1612|0;f=g-f|0;f=(f|0)/8|0;g=c[h+20>>2]|0;g=g+2132|0;c[g>>2]=f;i=h;return}function Sq(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;c[e+8>>2]=a;c[e+4>>2]=b;c[e>>2]=d;Tq(c[e+8>>2]|0,c[e+4>>2]|0,c[e>>2]|0);if(c[(c[e+4>>2]|0)+240>>2]|0){i=e;return}mq((c[e+8>>2]|0)+52|0,c[e+4>>2]|0)|0;c[(c[e+4>>2]|0)+240>>2]=1;i=e;return}function Tq(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;c[e+8>>2]=a;c[e+4>>2]=b;c[e>>2]=d;a=c[e+4>>2]|0;if((c[e>>2]|0)==5|(c[e>>2]|0)==6)Bq(a);else Cq(a);c[(c[e+4>>2]|0)+36>>2]=c[e>>2];i=e;return}function Uq(a,b,d){a=a|0;b=b|0;d=d|0;var f=0,g=0;g=i;i=i+32|0;c[g+20>>2]=a;c[g+16>>2]=b;c[g+12>>2]=d;c[g+4>>2]=c[(c[g+16>>2]|0)+200>>2];c[g>>2]=c[(c[g+16>>2]|0)+216>>2];while(1){if((c[g+4>>2]|0)==((c[g+16>>2]|0)+200|0)){f=26;break}c[g+8>>2]=c[g+4>>2];c[g+4>>2]=c[c[g+4>>2]>>2];if(((c[(c[g+20>>2]|0)+48>>2]|0)-(c[(c[g+8>>2]|0)+12>>2]|0)|0)>>>0>=864e5)d=(c[(c[g+8>>2]|0)+12>>2]|0)-(c[(c[g+20>>2]|0)+48>>2]|0)|0;else d=(c[(c[g+20>>2]|0)+48>>2]|0)-(c[(c[g+8>>2]|0)+12>>2]|0)|0;if(d>>>0<(c[(c[g+8>>2]|0)+16>>2]|0)>>>0)continue;if(!(c[(c[g+16>>2]|0)+84>>2]|0))f=9;else if(((c[(c[g+8>>2]|0)+12>>2]|0)-(c[(c[g+16>>2]|0)+84>>2]|0)|0)>>>0>=864e5)f=9;if((f|0)==9){f=0;c[(c[g+16>>2]|0)+84>>2]=c[(c[g+8>>2]|0)+12>>2]}if(c[(c[g+16>>2]|0)+84>>2]|0){if(((c[(c[g+20>>2]|0)+48>>2]|0)-(c[(c[g+16>>2]|0)+84>>2]|0)|0)>>>0>=864e5)d=(c[(c[g+16>>2]|0)+84>>2]|0)-(c[(c[g+20>>2]|0)+48>>2]|0)|0;else d=(c[(c[g+20>>2]|0)+48>>2]|0)-(c[(c[g+16>>2]|0)+84>>2]|0)|0;if(d>>>0>=(c[(c[g+16>>2]|0)+148>>2]|0)>>>0){f=20;break}if((c[(c[g+8>>2]|0)+16>>2]|0)>>>0>=(c[(c[g+8>>2]|0)+20>>2]|0)>>>0){if(((c[(c[g+20>>2]|0)+48>>2]|0)-(c[(c[g+16>>2]|0)+84>>2]|0)|0)>>>0>=864e5)d=(c[(c[g+16>>2]|0)+84>>2]|0)-(c[(c[g+20>>2]|0)+48>>2]|0)|0;else d=(c[(c[g+20>>2]|0)+48>>2]|0)-(c[(c[g+16>>2]|0)+84>>2]|0)|0;if(d>>>0>=(c[(c[g+16>>2]|0)+144>>2]|0)>>>0){f=20;break}}}if(c[(c[g+8>>2]|0)+80>>2]|0){b=(c[g+16>>2]|0)+184|0;c[b>>2]=(c[b>>2]|0)-(e[(c[g+8>>2]|0)+28>>1]|0)}b=(c[g+16>>2]|0)+96|0;c[b>>2]=(c[b>>2]|0)+1;b=(c[g+8>>2]|0)+16|0;c[b>>2]=c[b>>2]<<1;b=c[g>>2]|0;mq(b,nq(c[g+8>>2]|0)|0)|0;if((c[g+4>>2]|0)!=(c[(c[g+16>>2]|0)+200>>2]|0))continue;if((c[(c[g+16>>2]|0)+200>>2]|0)==((c[g+16>>2]|0)+200|0))continue;c[g+8>>2]=c[g+4>>2];c[(c[g+16>>2]|0)+80>>2]=(c[(c[g+8>>2]|0)+12>>2]|0)+(c[(c[g+8>>2]|0)+16>>2]|0)}if((f|0)==20){Vq(c[g+20>>2]|0,c[g+16>>2]|0,c[g+12>>2]|0);c[g+24>>2]=1;f=c[g+24>>2]|0;i=g;return f|0}else if((f|0)==26){c[g+24>>2]=0;f=c[g+24>>2]|0;i=g;return f|0}return 0}function Vq(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;c[e+8>>2]=a;c[e+4>>2]=b;c[e>>2]=d;if((c[(c[e+4>>2]|0)+36>>2]|0)>>>0>=3)c[(c[e+8>>2]|0)+32>>2]=1;if((c[(c[e+4>>2]|0)+36>>2]|0)!=1)if((c[(c[e+4>>2]|0)+36>>2]|0)>>>0<4){Dq(c[e+4>>2]|0);i=e;return}if(c[e>>2]|0){c[c[e>>2]>>2]=2;c[(c[e>>2]|0)+4>>2]=c[e+4>>2];c[(c[e>>2]|0)+12>>2]=0;Dq(c[e+4>>2]|0);i=e;return}else{c[(c[e+4>>2]|0)+376>>2]=0;Sq(c[e+8>>2]|0,c[e+4>>2]|0,9);i=e;return}}function Wq(f,g){f=f|0;g=g|0;var h=0,j=0,k=0;k=i;i=i+64|0;c[k+44>>2]=f;c[k+40>>2]=g;c[k+36>>2]=(c[k+44>>2]|0)+70+((c[(c[k+44>>2]|0)+1608>>2]|0)*48|0);c[k+32>>2]=(c[k+44>>2]|0)+1612+(c[(c[k+44>>2]|0)+2132>>2]<<3);c[k+12>>2]=0;c[k+8>>2]=0;c[k+4>>2]=1;c[k+24>>2]=c[(c[k+40>>2]|0)+216>>2];while(1){if((c[k+24>>2]|0)==((c[k+40>>2]|0)+216|0)){j=39;break}c[k+28>>2]=c[k+24>>2];if((d[(c[k+28>>2]|0)+32+1>>0]|0)>>>0<(c[(c[k+40>>2]|0)+44>>2]|0)>>>0)f=(c[(c[k+40>>2]|0)+40>>2]|0)+((d[(c[k+28>>2]|0)+32+1>>0]|0)*60|0)|0;else f=0;c[k+20>>2]=f;b[k+48>>1]=(e[(c[k+28>>2]|0)+8>>1]|0|0)/4096|0;if(c[k+20>>2]|0){do if(!(c[k+8>>2]|0))if((e[(c[k+28>>2]|0)+30>>1]|0|0)<1)if(!((e[(c[k+28>>2]|0)+8>>1]|0|0)%4096|0)){if((e[(c[k+20>>2]|0)+6+((((e[k+48>>1]|0)+16-1|0)%16|0)<<1)>>1]|0|0)<4096)if(!((e[(c[k+20>>2]|0)+4>>1]|0)&(255<<(e[k+48>>1]|0)|255>>4096-(e[k+48>>1]|0))))break;c[k+8>>2]=1}while(0);if(c[k+8>>2]|0){c[k+24>>2]=c[c[k+24>>2]>>2];continue}}if(c[(c[k+28>>2]|0)+80>>2]|0){if(!(c[k+12>>2]|0)){c[k>>2]=((_(c[(c[k+40>>2]|0)+108>>2]|0,c[(c[k+40>>2]|0)+180>>2]|0)|0)>>>0)/32|0;if((c[k>>2]|0)>>>0>(c[(c[k+40>>2]|0)+176>>2]|0)>>>0)f=c[k>>2]|0;else f=c[(c[k+40>>2]|0)+176>>2]|0;if(((c[(c[k+40>>2]|0)+184>>2]|0)+(e[(c[k+28>>2]|0)+28>>1]|0)|0)>>>0>f>>>0)c[k+12>>2]=1}if(c[k+12>>2]|0){c[k+24>>2]=c[c[k+24>>2]>>2];continue}}c[k+4>>2]=0;c[k+16>>2]=c[11924+(((d[(c[k+28>>2]|0)+32>>0]|0)&15)<<2)>>2];if((c[k+36>>2]|0)>>>0>=((c[k+44>>2]|0)+70+1536|0)>>>0)break;if(((c[k+32>>2]|0)+8|0)>>>0>=((c[k+44>>2]|0)+1612+520|0)>>>0)break;if(((c[(c[k+40>>2]|0)+176>>2]|0)-(c[(c[k+44>>2]|0)+64>>2]|0)|0)>>>0<(c[k+16>>2]|0)>>>0)break;if(c[(c[k+28>>2]|0)+80>>2]|0)if(((c[(c[k+40>>2]|0)+176>>2]|0)-(c[(c[k+44>>2]|0)+64>>2]|0)&65535|0)<((c[k+16>>2]|0)+(e[(c[k+28>>2]|0)+28>>1]|0)&65535|0))break;c[k+24>>2]=c[c[k+24>>2]>>2];if(c[k+20>>2]|0)if((e[(c[k+28>>2]|0)+30>>1]|0|0)<1){h=(c[k+20>>2]|0)+4|0;b[h>>1]=e[h>>1]|0|1<<(e[k+48>>1]|0);h=(c[k+20>>2]|0)+6+((e[k+48>>1]|0)<<1)|0;b[h>>1]=(b[h>>1]|0)+1<<16>>16}h=(c[k+28>>2]|0)+30|0;b[h>>1]=(b[h>>1]|0)+1<<16>>16;if(!(c[(c[k+28>>2]|0)+16>>2]|0)){c[(c[k+28>>2]|0)+16>>2]=(c[(c[k+40>>2]|0)+168>>2]|0)+(c[(c[k+40>>2]|0)+172>>2]<<2);h=_(c[(c[k+40>>2]|0)+140>>2]|0,c[(c[k+28>>2]|0)+16>>2]|0)|0;c[(c[k+28>>2]|0)+20>>2]=h}if((c[(c[k+40>>2]|0)+200>>2]|0)==((c[k+40>>2]|0)+200|0))c[(c[k+40>>2]|0)+80>>2]=(c[(c[k+44>>2]|0)+48>>2]|0)+(c[(c[k+28>>2]|0)+16>>2]|0);f=(c[k+40>>2]|0)+200|0;mq(f,nq(c[k+28>>2]|0)|0)|0;c[(c[k+28>>2]|0)+12>>2]=c[(c[k+44>>2]|0)+48>>2];c[c[k+32>>2]>>2]=c[k+36>>2];c[(c[k+32>>2]|0)+4>>2]=c[k+16>>2];f=(c[k+44>>2]|0)+64|0;c[f>>2]=(c[f>>2]|0)+(c[(c[k+32>>2]|0)+4>>2]|0);f=(c[k+44>>2]|0)+68|0;b[f>>1]=e[f>>1]|0|32768;f=c[k+36>>2]|0;g=(c[k+28>>2]|0)+32|0;h=f+48|0;do{a[f>>0]=a[g>>0]|0;f=f+1|0;g=g+1|0}while((f|0)<(h|0));if(c[(c[k+28>>2]|0)+80>>2]|0){c[k+32>>2]=(c[k+32>>2]|0)+8;c[c[k+32>>2]>>2]=(c[(c[(c[k+28>>2]|0)+80>>2]|0)+8>>2]|0)+(c[(c[k+28>>2]|0)+24>>2]|0);c[(c[k+32>>2]|0)+4>>2]=e[(c[k+28>>2]|0)+28>>1];h=(c[k+44>>2]|0)+64|0;c[h>>2]=(c[h>>2]|0)+(e[(c[k+28>>2]|0)+28>>1]|0);h=(c[k+40>>2]|0)+184|0;c[h>>2]=(c[h>>2]|0)+(e[(c[k+28>>2]|0)+28>>1]|0)}h=(c[k+40>>2]|0)+92|0;c[h>>2]=(c[h>>2]|0)+1;c[k+36>>2]=(c[k+36>>2]|0)+48;c[k+32>>2]=(c[k+32>>2]|0)+8}if((j|0)==39){j=c[k+36>>2]|0;h=c[k+44>>2]|0;h=h+70|0;h=j-h|0;h=(h|0)/48|0;j=c[k+44>>2]|0;j=j+1608|0;c[j>>2]=h;j=c[k+32>>2]|0;h=c[k+44>>2]|0;h=h+1612|0;h=j-h|0;h=(h|0)/8|0;j=c[k+44>>2]|0;j=j+2132|0;c[j>>2]=h;j=c[k+4>>2]|0;i=k;return j|0}c[(c[k+44>>2]|0)+60>>2]=1;j=c[k+36>>2]|0;h=c[k+44>>2]|0;h=h+70|0;h=j-h|0;h=(h|0)/48|0;j=c[k+44>>2]|0;j=j+1608|0;c[j>>2]=h;j=c[k+32>>2]|0;h=c[k+44>>2]|0;h=h+1612|0;h=j-h|0;h=(h|0)/8|0;j=c[k+44>>2]|0;j=j+2132|0;c[j>>2]=h;j=c[k+4>>2]|0;i=k;return j|0}function Xq(f,g){f=f|0;g=g|0;var h=0,j=0,k=0;k=i;i=i+32|0;c[k+24>>2]=f;c[k+20>>2]=g;c[k+16>>2]=(c[k+24>>2]|0)+70+((c[(c[k+24>>2]|0)+1608>>2]|0)*48|0);c[k+12>>2]=(c[k+24>>2]|0)+1612+(c[(c[k+24>>2]|0)+2132>>2]<<3);c[k+4>>2]=c[(c[k+20>>2]|0)+224>>2];a:while(1){if((c[k+4>>2]|0)==((c[k+20>>2]|0)+224|0))break;c[k+8>>2]=c[k+4>>2];c[k>>2]=c[11924+(((d[(c[k+8>>2]|0)+32>>0]|0)&15)<<2)>>2];if((c[k+16>>2]|0)>>>0>=((c[k+24>>2]|0)+70+1536|0)>>>0){j=8;break}if(((c[k+12>>2]|0)+8|0)>>>0>=((c[k+24>>2]|0)+1612+520|0)>>>0){j=8;break}if(((c[(c[k+20>>2]|0)+176>>2]|0)-(c[(c[k+24>>2]|0)+64>>2]|0)|0)>>>0<(c[k>>2]|0)>>>0){j=8;break}if(c[(c[k+8>>2]|0)+80>>2]|0)if(((c[(c[k+20>>2]|0)+176>>2]|0)-(c[(c[k+24>>2]|0)+64>>2]|0)|0)>>>0<((c[k>>2]|0)+(e[(c[k+8>>2]|0)+28>>1]|0)|0)>>>0){j=8;break}c[k+4>>2]=c[c[k+4>>2]>>2];if(c[(c[k+8>>2]|0)+80>>2]|0)if(!(c[(c[k+8>>2]|0)+24>>2]|0)){h=(c[k+20>>2]|0)+116|0;c[h>>2]=(c[h>>2]|0)+7;h=(c[k+20>>2]|0)+116|0;c[h>>2]=((c[h>>2]|0)>>>0)%32|0;if((c[(c[k+20>>2]|0)+116>>2]|0)>>>0>(c[(c[k+20>>2]|0)+108>>2]|0)>>>0){b[k+30>>1]=b[(c[k+8>>2]|0)+8>>1]|0;b[k+28>>1]=b[(c[k+8>>2]|0)+10>>1]|0;while(1){h=c[(c[k+8>>2]|0)+80>>2]|0;c[h>>2]=(c[h>>2]|0)+-1;if(!(c[c[(c[k+8>>2]|0)+80>>2]>>2]|0))qq(c[(c[k+8>>2]|0)+80>>2]|0);nq(c[k+8>>2]|0)|0;Yp(c[k+8>>2]|0);if((c[k+4>>2]|0)==((c[k+20>>2]|0)+224|0))continue a;c[k+8>>2]=c[k+4>>2];if((e[(c[k+8>>2]|0)+8>>1]|0|0)!=(e[k+30>>1]|0|0))continue a;if((e[(c[k+8>>2]|0)+10>>1]|0|0)!=(e[k+28>>1]|0|0))continue a;c[k+4>>2]=c[c[k+4>>2]>>2]}}}c[c[k+12>>2]>>2]=c[k+16>>2];c[(c[k+12>>2]|0)+4>>2]=c[k>>2];f=(c[k+24>>2]|0)+64|0;c[f>>2]=(c[f>>2]|0)+(c[(c[k+12>>2]|0)+4>>2]|0);f=c[k+16>>2]|0;g=(c[k+8>>2]|0)+32|0;h=f+48|0;do{a[f>>0]=a[g>>0]|0;f=f+1|0;g=g+1|0}while((f|0)<(h|0));nq(c[k+8>>2]|0)|0;if(c[(c[k+8>>2]|0)+80>>2]|0){c[k+12>>2]=(c[k+12>>2]|0)+8;c[c[k+12>>2]>>2]=(c[(c[(c[k+8>>2]|0)+80>>2]|0)+8>>2]|0)+(c[(c[k+8>>2]|0)+24>>2]|0);c[(c[k+12>>2]|0)+4>>2]=e[(c[k+8>>2]|0)+28>>1];h=(c[k+24>>2]|0)+64|0;c[h>>2]=(c[h>>2]|0)+(c[(c[k+12>>2]|0)+4>>2]|0);mq((c[k+20>>2]|0)+208|0,c[k+8>>2]|0)|0}else Yp(c[k+8>>2]|0);c[k+16>>2]=(c[k+16>>2]|0)+48;c[k+12>>2]=(c[k+12>>2]|0)+8}if((j|0)==8)c[(c[k+24>>2]|0)+60>>2]=1;c[(c[k+24>>2]|0)+1608>>2]=((c[k+16>>2]|0)-((c[k+24>>2]|0)+70)|0)/48|0;c[(c[k+24>>2]|0)+2132>>2]=((c[k+12>>2]|0)-((c[k+24>>2]|0)+1612)|0)/8|0;if((c[(c[k+20>>2]|0)+36>>2]|0)!=6){i=k;return}if((c[(c[k+20>>2]|0)+216>>2]|0)!=((c[k+20>>2]|0)+216|0)){i=k;return}if((c[(c[k+20>>2]|0)+224>>2]|0)!=((c[k+20>>2]|0)+224|0)){i=k;return}if((c[(c[k+20>>2]|0)+200>>2]|0)!=((c[k+20>>2]|0)+200|0)){i=k;return}Iq(c[k+20>>2]|0,c[(c[k+20>>2]|0)+376>>2]|0);i=k;return}function Yq(a){a=a|0;var b=0;b=i;i=i+16|0;c[b+4>>2]=a;while(1){if(!((c[(c[b+4>>2]|0)+208>>2]|0)==((c[b+4>>2]|0)+208|0)^1))break;c[b>>2]=c[(c[b+4>>2]|0)+208>>2];nq(c[b>>2]|0)|0;if(c[(c[b>>2]|0)+80>>2]|0){a=c[(c[b>>2]|0)+80>>2]|0;c[a>>2]=(c[a>>2]|0)+-1;if(!(c[c[(c[b>>2]|0)+80>>2]>>2]|0)){a=(c[(c[b>>2]|0)+80>>2]|0)+4|0;c[a>>2]=c[a>>2]|256;qq(c[(c[b>>2]|0)+80>>2]|0)}}Yp(c[b>>2]|0)}i=b;return}function Zq(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d+4>>2]=a;c[d>>2]=b;if(!(c[d>>2]|0)){c[d+8>>2]=-1;a=c[d+8>>2]|0;i=d;return a|0}else{c[c[d>>2]>>2]=0;c[(c[d>>2]|0)+4>>2]=0;c[(c[d>>2]|0)+16>>2]=0;c[d+8>>2]=_q(c[d+4>>2]|0,c[d>>2]|0)|0;a=c[d+8>>2]|0;i=d;return a|0}return 0}function _q(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d+8>>2]=a;c[d+4>>2]=b;a:while(1){if(!((c[(c[d+8>>2]|0)+52>>2]|0)==((c[d+8>>2]|0)+52|0)^1)){b=11;break}c[d>>2]=nq(c[(c[d+8>>2]|0)+52>>2]|0)|0;c[(c[d>>2]|0)+240>>2]=0;switch(c[(c[d>>2]|0)+36>>2]|0){case 4:case 3:{b=4;break a}case 9:{b=5;break a}case 5:break;default:continue a}if((c[(c[d>>2]|0)+232>>2]|0)==((c[d>>2]|0)+232|0))continue;a=wq(c[d>>2]|0,(c[d+4>>2]|0)+8|0)|0;c[(c[d+4>>2]|0)+16>>2]=a;if(c[(c[d+4>>2]|0)+16>>2]|0){b=8;break}}if((b|0)==4){Tq(c[d+8>>2]|0,c[d>>2]|0,5);c[c[d+4>>2]>>2]=1;c[(c[d+4>>2]|0)+4>>2]=c[d>>2];c[(c[d+4>>2]|0)+12>>2]=c[(c[d>>2]|0)+376>>2];c[d+12>>2]=1;a=c[d+12>>2]|0;i=d;return a|0}else if((b|0)==5){c[(c[d+8>>2]|0)+32>>2]=1;c[c[d+4>>2]>>2]=2;c[(c[d+4>>2]|0)+4>>2]=c[d>>2];c[(c[d+4>>2]|0)+12>>2]=c[(c[d>>2]|0)+376>>2];Dq(c[d>>2]|0);c[d+12>>2]=1;a=c[d+12>>2]|0;i=d;return a|0}else if((b|0)==8){c[c[d+4>>2]>>2]=3;c[(c[d+4>>2]|0)+4>>2]=c[d>>2];if((c[(c[d>>2]|0)+232>>2]|0)!=((c[d>>2]|0)+232|0)){c[(c[d>>2]|0)+240>>2]=1;mq((c[d+8>>2]|0)+52|0,c[d>>2]|0)|0}c[d+12>>2]=1;a=c[d+12>>2]|0;i=d;return a|0}else if((b|0)==11){c[d+12>>2]=0;a=c[d+12>>2]|0;i=d;return a|0}return 0}function $q(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+32|0;c[f+12>>2]=a;c[f+8>>2]=b;c[f+4>>2]=d;a:do if(c[f+8>>2]|0){c[c[f+8>>2]>>2]=0;c[(c[f+8>>2]|0)+4>>2]=0;c[(c[f+8>>2]|0)+16>>2]=0;switch(_q(c[f+12>>2]|0,c[f+8>>2]|0)|0){case 1:{c[f+16>>2]=1;break a}case -1:{c[f+16>>2]=-1;break a}default:{e=5;break a}}}else e=5;while(0);b:do if((e|0)==5){e=tr()|0;c[(c[f+12>>2]|0)+48>>2]=e;c[f+4>>2]=(c[f+4>>2]|0)+(c[(c[f+12>>2]|0)+48>>2]|0);c:while(1){b=c[f+12>>2]|0;if(((c[(c[f+12>>2]|0)+48>>2]|0)-(c[(c[f+12>>2]|0)+20>>2]|0)|0)>>>0>=864e5)b=(c[b+20>>2]|0)-(c[(c[f+12>>2]|0)+48>>2]|0)|0;else b=(c[b+48>>2]|0)-(c[(c[f+12>>2]|0)+20>>2]|0)|0;if(b>>>0>=1e3)kq(c[f+12>>2]|0);switch(Qq(c[f+12>>2]|0,c[f+8>>2]|0,1)|0){case 1:{e=12;break c}case -1:{e=13;break c}default:{}}switch(ar(c[f+12>>2]|0,c[f+8>>2]|0)|0){case 1:{e=15;break c}case -1:{e=16;break c}default:{}}switch(Qq(c[f+12>>2]|0,c[f+8>>2]|0,1)|0){case 1:{e=18;break c}case -1:{e=19;break c}default:{}}if(c[f+8>>2]|0)switch(_q(c[f+12>>2]|0,c[f+8>>2]|0)|0){case 1:{e=22;break c}case -1:{e=23;break c}default:{}}do{e=tr()|0;c[(c[f+12>>2]|0)+48>>2]=e;if(((c[(c[f+12>>2]|0)+48>>2]|0)-(c[f+4>>2]|0)|0)>>>0<864e5){e=25;break c}c[f>>2]=6;if(((c[f+4>>2]|0)-(c[(c[f+12>>2]|0)+48>>2]|0)|0)>>>0>=864e5)b=(c[(c[f+12>>2]|0)+48>>2]|0)-(c[f+4>>2]|0)|0;else b=(c[f+4>>2]|0)-(c[(c[f+12>>2]|0)+48>>2]|0)|0;if(Dr(c[c[f+12>>2]>>2]|0,f,b)|0){e=30;break c}}while((c[f>>2]&4|0)!=0);e=tr()|0;c[(c[f+12>>2]|0)+48>>2]=e;if(!(c[f>>2]&2)){e=33;break}}switch(e|0){case 12:{c[f+16>>2]=1;break b}case 13:{c[f+16>>2]=-1;break b}case 15:{c[f+16>>2]=1;break b}case 16:{c[f+16>>2]=-1;break b}case 18:{c[f+16>>2]=1;break b}case 19:{c[f+16>>2]=-1;break b}case 22:{c[f+16>>2]=1;break b}case 23:{c[f+16>>2]=-1;break b}case 25:{c[f+16>>2]=0;break b}case 30:{c[f+16>>2]=-1;break b}case 33:{c[f+16>>2]=0;break b}}}while(0);i=f;return c[f+16>>2]|0}function ar(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+32|0;c[d+16>>2]=a;c[d+12>>2]=b;a:while(1){c[d>>2]=(c[d+16>>2]|0)+2156;c[d+4>>2]=4096;c[d+8>>2]=Cr(c[c[d+16>>2]>>2]|0,(c[d+16>>2]|0)+10348|0,d,1)|0;if((c[d+8>>2]|0)<0){b=3;break}if(!(c[d+8>>2]|0)){b=5;break}c[(c[d+16>>2]|0)+10356>>2]=(c[d+16>>2]|0)+2156;c[(c[d+16>>2]|0)+10360>>2]=c[d+8>>2];a=(c[d+16>>2]|0)+10372|0;c[a>>2]=(c[a>>2]|0)+(c[d+8>>2]|0);a=(c[d+16>>2]|0)+10376|0;c[a>>2]=(c[a>>2]|0)+1;b:do if(c[(c[d+16>>2]|0)+10380>>2]|0){switch(Xi[c[(c[d+16>>2]|0)+10380>>2]&511](c[d+16>>2]|0,c[d+12>>2]|0)|0){case -1:{b=11;break a}case 1:break;default:break b}if(!(c[d+12>>2]|0))continue a;if(c[c[d+12>>2]>>2]|0){b=10;break a}else continue a}while(0);switch(br(c[d+16>>2]|0,c[d+12>>2]|0)|0){case 1:{b=13;break a}case -1:{b=14;break a}default:{}}}if((b|0)==3){c[d+20>>2]=-1;a=c[d+20>>2]|0;i=d;return a|0}else if((b|0)==5){c[d+20>>2]=0;a=c[d+20>>2]|0;i=d;return a|0}else if((b|0)==10){c[d+20>>2]=1;a=c[d+20>>2]|0;i=d;return a|0}else if((b|0)==11){c[d+20>>2]=-1;a=c[d+20>>2]|0;i=d;return a|0}else if((b|0)==13){c[d+20>>2]=1;a=c[d+20>>2]|0;i=d;return a|0}else if((b|0)==14){c[d+20>>2]=-1;a=c[d+20>>2]|0;i=d;return a|0}return 0}function br(f,g){f=f|0;g=g|0;var h=0,j=0;j=i;i=i+80|0;c[j+52>>2]=f;c[j+48>>2]=g;if((c[(c[j+52>>2]|0)+10360>>2]|0)>>>0<(2|0)>>>0){c[j+56>>2]=0;h=c[j+56>>2]|0;i=j;return h|0}c[j+44>>2]=c[(c[j+52>>2]|0)+10356>>2];f=c[j+44>>2]|0;b[j+64>>1]=Xob(d[f>>0]|d[f+1>>0]<<8)|0;a[j+67>>0]=((e[j+64>>1]|0)&12288)>>12;b[j+62>>1]=(e[j+64>>1]|0)&49152;b[j+64>>1]=(e[j+64>>1]|0)&-61441;c[j+28>>2]=(e[j+62>>1]|0)&32768|0?4:2|0;if(c[(c[j+52>>2]|0)+2136>>2]|0)c[j+28>>2]=(c[j+28>>2]|0)+4;a:do if((e[j+64>>1]|0|0)==4095)c[j+36>>2]=0;else{if((e[j+64>>1]|0)>>>0>=(c[(c[j+52>>2]|0)+40>>2]|0)>>>0){c[j+56>>2]=0;h=c[j+56>>2]|0;i=j;return h|0}c[j+36>>2]=(c[(c[j+52>>2]|0)+36>>2]|0)+((e[j+64>>1]|0)*380|0);do if(c[(c[j+36>>2]|0)+36>>2]|0)if((c[(c[j+36>>2]|0)+36>>2]|0)!=9){if((c[(c[j+52>>2]|0)+10348>>2]|0)!=(c[(c[j+36>>2]|0)+24>>2]|0))h=13;else if((e[(c[j+52>>2]|0)+10348+4>>1]|0|0)!=(e[(c[j+36>>2]|0)+24+4>>1]|0|0))h=13;if((h|0)==13)if((c[(c[j+36>>2]|0)+24>>2]|0)!=-1)break;if((e[(c[j+36>>2]|0)+12>>1]|0|0)>=4095)break a;if((d[j+67>>0]|0|0)==(d[(c[j+36>>2]|0)+21>>0]|0|0))break a}while(0);c[j+56>>2]=0;h=c[j+56>>2]|0;i=j;return h|0}while(0);do if((e[j+62>>1]|0)&16384|0){if(c[(c[j+52>>2]|0)+2140>>2]|0)if(c[(c[j+52>>2]|0)+2140+8>>2]|0){c[j+24>>2]=Ci[c[(c[j+52>>2]|0)+2140+8>>2]&127](c[(c[j+52>>2]|0)+2140>>2]|0,(c[(c[j+52>>2]|0)+10356>>2]|0)+(c[j+28>>2]|0)|0,(c[(c[j+52>>2]|0)+10360>>2]|0)-(c[j+28>>2]|0)|0,(c[j+52>>2]|0)+2156+4096+(c[j+28>>2]|0)|0,4096-(c[j+28>>2]|0)|0)|0;if((c[j+24>>2]|0)>>>0>0)if((c[j+24>>2]|0)>>>0<=(4096-(c[j+28>>2]|0)|0)>>>0){mBb((c[j+52>>2]|0)+2156+4096|0,c[j+44>>2]|0,c[j+28>>2]|0)|0;c[(c[j+52>>2]|0)+10356>>2]=(c[j+52>>2]|0)+2156+4096;c[(c[j+52>>2]|0)+10360>>2]=(c[j+28>>2]|0)+(c[j+24>>2]|0);break}c[j+56>>2]=0;h=c[j+56>>2]|0;i=j;return h|0}c[j+56>>2]=0;h=c[j+56>>2]|0;i=j;return h|0}while(0);if(c[(c[j+52>>2]|0)+2136>>2]|0){c[j+20>>2]=(c[(c[j+52>>2]|0)+10356>>2]|0)+((c[j+28>>2]|0)-4);c[j+16>>2]=c[c[j+20>>2]>>2];if(c[j+36>>2]|0)g=c[(c[j+36>>2]|0)+16>>2]|0;else g=0;c[c[j+20>>2]>>2]=g;c[j+8>>2]=c[(c[j+52>>2]|0)+10356>>2];c[j+8+4>>2]=c[(c[j+52>>2]|0)+10360>>2];h=Xi[c[(c[j+52>>2]|0)+2136>>2]&511](j+8|0,1)|0;if((h|0)!=(c[j+16>>2]|0)){c[j+56>>2]=0;h=c[j+56>>2]|0;i=j;return h|0}}if(c[j+36>>2]|0){c[(c[j+36>>2]|0)+24>>2]=c[(c[j+52>>2]|0)+10348>>2];b[(c[j+36>>2]|0)+24+4>>1]=b[(c[j+52>>2]|0)+10348+4>>1]|0;h=(c[j+36>>2]|0)+64|0;c[h>>2]=(c[h>>2]|0)+(c[(c[j+52>>2]|0)+10360>>2]|0)}c[j+32>>2]=(c[(c[j+52>>2]|0)+10356>>2]|0)+(c[j+28>>2]|0);b:while(1){if((c[j+32>>2]|0)>>>0>=((c[(c[j+52>>2]|0)+10356>>2]|0)+(c[(c[j+52>>2]|0)+10360>>2]|0)|0)>>>0)break;c[j+40>>2]=c[j+32>>2];if(((c[j+32>>2]|0)+4|0)>>>0>((c[(c[j+52>>2]|0)+10356>>2]|0)+(c[(c[j+52>>2]|0)+10360>>2]|0)|0)>>>0)break;a[j+66>>0]=(d[c[j+40>>2]>>0]|0)&15;if((d[j+66>>0]|0|0)>=13)break;c[j>>2]=c[11924+((d[j+66>>0]|0)<<2)>>2];if(!(c[j>>2]|0))break;if(((c[j+32>>2]|0)+(c[j>>2]|0)|0)>>>0>((c[(c[j+52>>2]|0)+10356>>2]|0)+(c[(c[j+52>>2]|0)+10360>>2]|0)|0)>>>0)break;c[j+32>>2]=(c[j+32>>2]|0)+(c[j>>2]|0);if(!(c[j+36>>2]|0))if((d[j+66>>0]|0|0)!=2)break;f=(c[j+40>>2]|0)+2|0;f=Xob(d[f>>0]|d[f+1>>0]<<8)|0;h=(c[j+40>>2]|0)+2|0;a[h>>0]=f;a[h+1>>0]=f>>8;do switch(d[j+66>>0]|0|0){case 1:{if(cr(c[j+52>>2]|0,c[j+48>>2]|0,c[j+36>>2]|0,c[j+40>>2]|0)|0)break b;break}case 2:{if(c[j+36>>2]|0)break b;c[j+36>>2]=fr(c[j+52>>2]|0,c[j+44>>2]|0,c[j+40>>2]|0)|0;if(!(c[j+36>>2]|0))break b;break}case 3:{if(gr(c[j+52>>2]|0,c[j+48>>2]|0,c[j+36>>2]|0,c[j+40>>2]|0)|0)break b;break}case 4:{if(hr(c[j+52>>2]|0,c[j+36>>2]|0,c[j+40>>2]|0)|0)break b;break}case 5:{if(ir(c[j+52>>2]|0,c[j+36>>2]|0,c[j+40>>2]|0)|0)break b;break}case 6:{if(jr(c[j+52>>2]|0,c[j+36>>2]|0,c[j+40>>2]|0,j+32|0)|0)break b;break}case 7:{if(kr(c[j+52>>2]|0,c[j+36>>2]|0,c[j+40>>2]|0,j+32|0)|0)break b;break}case 9:{if(lr(c[j+52>>2]|0,c[j+36>>2]|0,c[j+40>>2]|0,j+32|0)|0)break b;break}case 8:{if(mr(c[j+52>>2]|0,c[j+36>>2]|0,c[j+40>>2]|0,j+32|0)|0)break b;break}case 10:{if(nr(c[j+52>>2]|0,c[j+36>>2]|0,c[j+40>>2]|0)|0)break b;break}case 11:{if(or(c[j+52>>2]|0,c[j+36>>2]|0,c[j+40>>2]|0)|0)break b;break}case 12:{if(pr(c[j+52>>2]|0,c[j+36>>2]|0,c[j+40>>2]|0,j+32|0)|0)break b;break}default:break b}while(0);if(!(c[j+36>>2]|0))continue;if(!((d[c[j+40>>2]>>0]|0)&128))continue;if(!((e[j+62>>1]|0)&32768))break;h=(c[j+44>>2]|0)+2|0;b[j+60>>1]=Xob(d[h>>0]|d[h+1>>0]<<8)|0;switch(c[(c[j+36>>2]|0)+36>>2]|0){case 9:case 0:case 2:case 7:continue b;case 8:break;default:{Kq(c[j+36>>2]|0,c[j+40>>2]|0,b[j+60>>1]|0)|0;continue b}}if(((d[c[j+40>>2]>>0]|0)&15|0)!=4)continue;Kq(c[j+36>>2]|0,c[j+40>>2]|0,b[j+60>>1]|0)|0}if(c[j+48>>2]|0)if(c[c[j+48>>2]>>2]|0){c[j+56>>2]=1;h=c[j+56>>2]|0;i=j;return h|0}c[j+56>>2]=0;h=c[j+56>>2]|0;i=j;return h|0}function cr(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;j=i;i=i+48|0;c[j+28>>2]=b;c[j+24>>2]=e;c[j+20>>2]=f;c[j+16>>2]=g;if(c[(c[j+20>>2]|0)+36>>2]|0)if((c[(c[j+20>>2]|0)+36>>2]|0)!=9){f=(c[j+16>>2]|0)+6|0;c[j+8>>2]=(Xob(d[f>>0]|d[f+1>>0]<<8)|0)&65535;c[j+8>>2]=c[j+8>>2]|c[(c[j+28>>2]|0)+48>>2]&-65536;if((c[j+8>>2]&32768)>>>0>(c[(c[j+28>>2]|0)+48>>2]&32768)>>>0)c[j+8>>2]=(c[j+8>>2]|0)-65536;if(((c[(c[j+28>>2]|0)+48>>2]|0)-(c[j+8>>2]|0)|0)>>>0>=864e5){c[j+32>>2]=0;h=c[j+32>>2]|0;i=j;return h|0}c[(c[j+20>>2]|0)+76>>2]=c[(c[j+28>>2]|0)+48>>2];c[(c[j+20>>2]|0)+84>>2]=0;if(((c[(c[j+28>>2]|0)+48>>2]|0)-(c[j+8>>2]|0)|0)>>>0>=864e5)g=(c[j+8>>2]|0)-(c[(c[j+28>>2]|0)+48>>2]|0)|0;else g=(c[(c[j+28>>2]|0)+48>>2]|0)-(c[j+8>>2]|0)|0;c[j+12>>2]=g;uq(c[j+20>>2]|0,c[j+12>>2]|0)|0;f=(c[j+20>>2]|0)+172|0;c[f>>2]=(c[f>>2]|0)-(((c[(c[j+20>>2]|0)+172>>2]|0)>>>0)/4|0);if((c[j+12>>2]|0)>>>0>=(c[(c[j+20>>2]|0)+168>>2]|0)>>>0){f=(c[j+20>>2]|0)+168|0;c[f>>2]=(c[f>>2]|0)+((((c[j+12>>2]|0)-(c[(c[j+20>>2]|0)+168>>2]|0)|0)>>>0)/8|0);f=(c[j+20>>2]|0)+172|0;c[f>>2]=(c[f>>2]|0)+((((c[j+12>>2]|0)-(c[(c[j+20>>2]|0)+168>>2]|0)|0)>>>0)/4|0)}else{f=(c[j+20>>2]|0)+168|0;c[f>>2]=(c[f>>2]|0)-((((c[(c[j+20>>2]|0)+168>>2]|0)-(c[j+12>>2]|0)|0)>>>0)/8|0);f=(c[j+20>>2]|0)+172|0;c[f>>2]=(c[f>>2]|0)+((((c[(c[j+20>>2]|0)+168>>2]|0)-(c[j+12>>2]|0)|0)>>>0)/4|0)}if((c[(c[j+20>>2]|0)+168>>2]|0)>>>0<(c[(c[j+20>>2]|0)+156>>2]|0)>>>0)c[(c[j+20>>2]|0)+156>>2]=c[(c[j+20>>2]|0)+168>>2];if((c[(c[j+20>>2]|0)+172>>2]|0)>>>0>(c[(c[j+20>>2]|0)+164>>2]|0)>>>0)c[(c[j+20>>2]|0)+164>>2]=c[(c[j+20>>2]|0)+172>>2];if(!(c[(c[j+20>>2]|0)+120>>2]|0))h=23;else{if(((c[(c[j+28>>2]|0)+48>>2]|0)-(c[(c[j+20>>2]|0)+120>>2]|0)|0)>>>0>=864e5)g=(c[(c[j+20>>2]|0)+120>>2]|0)-(c[(c[j+28>>2]|0)+48>>2]|0)|0;else g=(c[(c[j+28>>2]|0)+48>>2]|0)-(c[(c[j+20>>2]|0)+120>>2]|0)|0;if(g>>>0>=(c[(c[j+20>>2]|0)+132>>2]|0)>>>0)h=23}if((h|0)==23){c[(c[j+20>>2]|0)+152>>2]=c[(c[j+20>>2]|0)+156>>2];c[(c[j+20>>2]|0)+160>>2]=c[(c[j+20>>2]|0)+164>>2];c[(c[j+20>>2]|0)+156>>2]=c[(c[j+20>>2]|0)+168>>2];c[(c[j+20>>2]|0)+164>>2]=c[(c[j+20>>2]|0)+172>>2];c[(c[j+20>>2]|0)+120>>2]=c[(c[j+28>>2]|0)+48>>2]}h=(c[j+16>>2]|0)+4|0;c[j+4>>2]=(Xob(d[h>>0]|d[h+1>>0]<<8)|0)&65535;c[j>>2]=dr(c[j+20>>2]|0,c[j+4>>2]&65535,a[(c[j+16>>2]|0)+1>>0]|0)|0;a:do switch(c[(c[j+20>>2]|0)+36>>2]|0){case 2:{if((c[j>>2]|0)==3){er(c[j+28>>2]|0,c[j+20>>2]|0,c[j+24>>2]|0);break a}c[j+32>>2]=-1;h=c[j+32>>2]|0;i=j;return h|0}case 7:{if((c[j>>2]|0)==4){Vq(c[j+28>>2]|0,c[j+20>>2]|0,c[j+24>>2]|0);break a}c[j+32>>2]=-1;h=c[j+32>>2]|0;i=j;return h|0}case 6:{if((c[(c[j+20>>2]|0)+216>>2]|0)==((c[j+20>>2]|0)+216|0))if((c[(c[j+20>>2]|0)+224>>2]|0)==((c[j+20>>2]|0)+224|0))if((c[(c[j+20>>2]|0)+200>>2]|0)==((c[j+20>>2]|0)+200|0))Iq(c[j+20>>2]|0,c[(c[j+20>>2]|0)+376>>2]|0);break}default:{}}while(0);c[j+32>>2]=0;h=c[j+32>>2]|0;i=j;return h|0}c[j+32>>2]=0;h=c[j+32>>2]|0;i=j;return h|0}function dr(f,g,h){f=f|0;g=g|0;h=h|0;var j=0,k=0;k=i;i=i+48|0;c[k+20>>2]=f;b[k+30>>1]=g;a[k+32>>0]=h;c[k+16>>2]=0;c[k+4>>2]=1;c[k+12>>2]=c[(c[k+20>>2]|0)+200>>2];while(1){if((c[k+12>>2]|0)==((c[k+20>>2]|0)+200|0))break;c[k+16>>2]=c[k+12>>2];if((e[(c[k+16>>2]|0)+8>>1]|0)==(e[k+30>>1]|0))if((d[(c[k+16>>2]|0)+32+1>>0]|0)==(d[k+32>>0]|0))break;c[k+12>>2]=c[c[k+12>>2]>>2]}do if((c[k+12>>2]|0)==((c[k+20>>2]|0)+200|0)){c[k+12>>2]=c[(c[k+20>>2]|0)+216>>2];while(1){if((c[k+12>>2]|0)==((c[k+20>>2]|0)+216|0))break;c[k+16>>2]=c[k+12>>2];if((e[(c[k+16>>2]|0)+30>>1]|0)<1){j=10;break}if((e[(c[k+16>>2]|0)+8>>1]|0)==(e[k+30>>1]|0))if((d[(c[k+16>>2]|0)+32+1>>0]|0)==(d[k+32>>0]|0))break;c[k+12>>2]=c[c[k+12>>2]>>2]}if((j|0)==10){c[k+24>>2]=0;j=c[k+24>>2]|0;i=k;return j|0}if((c[k+12>>2]|0)!=((c[k+20>>2]|0)+216|0)){c[k+4>>2]=0;break}c[k+24>>2]=0;j=c[k+24>>2]|0;i=k;return j|0}while(0);if(!(c[k+16>>2]|0)){c[k+24>>2]=0;j=c[k+24>>2]|0;i=k;return j|0}if((d[k+32>>0]|0)>>>0<(c[(c[k+20>>2]|0)+44>>2]|0)>>>0){c[k>>2]=(c[(c[k+20>>2]|0)+40>>2]|0)+((d[k+32>>0]|0)*60|0);b[k+28>>1]=(e[k+30>>1]|0)/4096|0;if((e[(c[k>>2]|0)+6+(e[k+28>>1]<<1)>>1]|0)>0){j=(c[k>>2]|0)+6+(e[k+28>>1]<<1)|0;b[j>>1]=(b[j>>1]|0)+-1<<16>>16;if(!(b[(c[k>>2]|0)+6+(e[k+28>>1]<<1)>>1]|0)){j=(c[k>>2]|0)+4|0;b[j>>1]=e[j>>1]&~(1<>1])}}}c[k+8>>2]=d[(c[k+16>>2]|0)+32>>0]&15;nq(c[k+16>>2]|0)|0;if(c[(c[k+16>>2]|0)+80>>2]|0){if(c[k+4>>2]|0){j=(c[k+20>>2]|0)+184|0;c[j>>2]=(c[j>>2]|0)-(e[(c[k+16>>2]|0)+28>>1]|0)}j=c[(c[k+16>>2]|0)+80>>2]|0;c[j>>2]=(c[j>>2]|0)+-1;if(!(c[c[(c[k+16>>2]|0)+80>>2]>>2]|0)){j=(c[(c[k+16>>2]|0)+80>>2]|0)+4|0;c[j>>2]=c[j>>2]|256;qq(c[(c[k+16>>2]|0)+80>>2]|0)}}Yp(c[k+16>>2]|0);if((c[(c[k+20>>2]|0)+200>>2]|0)==((c[k+20>>2]|0)+200|0)){c[k+24>>2]=c[k+8>>2];j=c[k+24>>2]|0;i=k;return j|0}else{c[k+16>>2]=c[(c[k+20>>2]|0)+200>>2];c[(c[k+20>>2]|0)+80>>2]=(c[(c[k+16>>2]|0)+12>>2]|0)+(c[(c[k+16>>2]|0)+16>>2]|0);c[k+24>>2]=c[k+8>>2];j=c[k+24>>2]|0;i=k;return j|0}return 0}function er(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;c[e+8>>2]=a;c[e+4>>2]=b;c[e>>2]=d;c[(c[e+8>>2]|0)+32>>2]=1;d=c[e+8>>2]|0;a=c[e+4>>2]|0;if(c[e>>2]|0){Tq(d,a,5);c[c[e>>2]>>2]=1;c[(c[e>>2]|0)+4>>2]=c[e+4>>2];c[(c[e>>2]|0)+12>>2]=c[(c[e+4>>2]|0)+376>>2];i=e;return}else{Sq(d,a,(c[(c[e+4>>2]|0)+36>>2]|0)==1?4:3);i=e;return}}function fr(f,g,h){f=f|0;g=g|0;h=h|0;var j=0,k=0;k=i;i=i+112|0;c[k+36>>2]=f;c[k+32>>2]=g;c[k+28>>2]=h;c[k+8>>2]=0;c[k>>2]=0;f=(c[k+28>>2]|0)+16|0;c[k+12>>2]=Tob(d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24)|0;if((c[k+12>>2]|0)>>>0<1?1:(c[k+12>>2]|0)>>>0>255){c[k+40>>2]=0;j=c[k+40>>2]|0;i=k;return j|0}c[k+4>>2]=c[(c[k+36>>2]|0)+36>>2];while(1){if((c[k+4>>2]|0)>>>0>=((c[(c[k+36>>2]|0)+36>>2]|0)+((c[(c[k+36>>2]|0)+40>>2]|0)*380|0)|0)>>>0)break;if(!(c[(c[k+4>>2]|0)+36>>2]|0)){if(!(c[k>>2]|0))c[k>>2]=c[k+4>>2]}else if((c[(c[k+4>>2]|0)+36>>2]|0)!=1)if((c[(c[k+4>>2]|0)+24>>2]|0)==(c[(c[k+36>>2]|0)+10348>>2]|0)){if((e[(c[k+4>>2]|0)+24+4>>1]|0|0)==(e[(c[k+36>>2]|0)+10348+4>>1]|0|0)){f=(c[k+28>>2]|0)+40|0;if((c[(c[k+4>>2]|0)+16>>2]|0)==(d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24|0)){j=12;break}}c[k+8>>2]=(c[k+8>>2]|0)+1}c[k+4>>2]=(c[k+4>>2]|0)+380}if((j|0)==12){c[k+40>>2]=0;j=c[k+40>>2]|0;i=k;return j|0}if(c[k>>2]|0)if((c[k+8>>2]|0)>>>0<(c[(c[k+36>>2]|0)+10392>>2]|0)>>>0){if((c[k+12>>2]|0)>>>0>(c[(c[k+36>>2]|0)+44>>2]|0)>>>0)c[k+12>>2]=c[(c[k+36>>2]|0)+44>>2];f=Xp((c[k+12>>2]|0)*60|0)|0;c[(c[k>>2]|0)+40>>2]=f;if(!(c[(c[k>>2]|0)+40>>2]|0)){c[k+40>>2]=0;j=c[k+40>>2]|0;i=k;return j|0}c[(c[k>>2]|0)+44>>2]=c[k+12>>2];c[(c[k>>2]|0)+36>>2]=2;f=(c[k+28>>2]|0)+40|0;c[(c[k>>2]|0)+16>>2]=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;f=(c[k>>2]|0)+24|0;g=(c[k+36>>2]|0)+10348|0;c[f>>2]=c[g>>2];c[f+4>>2]=c[g+4>>2];f=(c[k+28>>2]|0)+4|0;f=Xob(d[f>>0]|d[f+1>>0]<<8)|0;b[(c[k>>2]|0)+12>>1]=f;f=(c[k+28>>2]|0)+20|0;f=Tob(d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24)|0;c[(c[k>>2]|0)+48>>2]=f;f=(c[k+28>>2]|0)+24|0;f=Tob(d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24)|0;c[(c[k>>2]|0)+52>>2]=f;f=(c[k+28>>2]|0)+28|0;f=Tob(d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24)|0;c[(c[k>>2]|0)+132>>2]=f;f=(c[k+28>>2]|0)+32|0;f=Tob(d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24)|0;c[(c[k>>2]|0)+124>>2]=f;f=(c[k+28>>2]|0)+36|0;f=Tob(d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24)|0;c[(c[k>>2]|0)+128>>2]=f;f=(c[k+28>>2]|0)+44|0;f=Tob(d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24)|0;c[(c[k>>2]|0)+376>>2]=f;if((d[(c[k+28>>2]|0)+6>>0]|0|0)==255)h=a[(c[k>>2]|0)+20>>0]|0;else h=a[(c[k+28>>2]|0)+6>>0]|0;a[k+97>>0]=h;a[k+97>>0]=(d[k+97>>0]|0)+1&3;if((d[k+97>>0]|0|0)==(d[(c[k>>2]|0)+20>>0]|0|0))a[k+97>>0]=(d[k+97>>0]|0)+1&3;a[(c[k>>2]|0)+20>>0]=a[k+97>>0]|0;if((d[(c[k+28>>2]|0)+7>>0]|0|0)==255)h=a[(c[k>>2]|0)+21>>0]|0;else h=a[(c[k+28>>2]|0)+7>>0]|0;a[k+96>>0]=h;a[k+96>>0]=(d[k+96>>0]|0)+1&3;if((d[k+96>>0]|0|0)==(d[(c[k>>2]|0)+21>>0]|0|0))a[k+96>>0]=(d[k+96>>0]|0)+1&3;a[(c[k>>2]|0)+21>>0]=a[k+96>>0]|0;c[k+16>>2]=c[(c[k>>2]|0)+40>>2];while(1){if((c[k+16>>2]|0)>>>0>=((c[(c[k>>2]|0)+40>>2]|0)+((c[k+12>>2]|0)*60|0)|0)>>>0)break;b[c[k+16>>2]>>1]=0;b[(c[k+16>>2]|0)+2>>1]=0;b[(c[k+16>>2]|0)+38>>1]=0;b[(c[k+16>>2]|0)+40>>1]=0;lq((c[k+16>>2]|0)+44|0);lq((c[k+16>>2]|0)+52|0);b[(c[k+16>>2]|0)+4>>1]=0;h=(c[k+16>>2]|0)+6|0;g=h+32|0;do{b[h>>1]=0;h=h+2|0}while((h|0)<(g|0));c[k+16>>2]=(c[k+16>>2]|0)+60}f=(c[k+28>>2]|0)+8|0;c[k+24>>2]=Tob(d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24)|0;if((c[k+24>>2]|0)>>>0<576)c[k+24>>2]=576;else if((c[k+24>>2]|0)>>>0>4096)c[k+24>>2]=4096;c[(c[k>>2]|0)+176>>2]=c[k+24>>2];if(!(c[(c[k+36>>2]|0)+16>>2]|0))if(!(c[(c[k>>2]|0)+48>>2]|0))c[(c[k>>2]|0)+180>>2]=65536;else j=42;else j=42;do if((j|0)==42){if(c[(c[k+36>>2]|0)+16>>2]|0)if(c[(c[k>>2]|0)+48>>2]|0){if((c[(c[k+36>>2]|0)+16>>2]|0)>>>0<(c[(c[k>>2]|0)+48>>2]|0)>>>0)h=c[(c[k+36>>2]|0)+16>>2]|0;else h=c[(c[k>>2]|0)+48>>2]|0;c[(c[k>>2]|0)+180>>2]=((h>>>0)/65536|0)<<12;break}if((c[(c[k+36>>2]|0)+16>>2]|0)>>>0>(c[(c[k>>2]|0)+48>>2]|0)>>>0)h=c[(c[k+36>>2]|0)+16>>2]|0;else h=c[(c[k>>2]|0)+48>>2]|0;c[(c[k>>2]|0)+180>>2]=((h>>>0)/65536|0)<<12}while(0);h=(c[k>>2]|0)+180|0;if((c[(c[k>>2]|0)+180>>2]|0)>>>0<4096)c[h>>2]=4096;else if((c[h>>2]|0)>>>0>65536)c[(c[k>>2]|0)+180>>2]=65536;if(!(c[(c[k+36>>2]|0)+12>>2]|0))c[k+20>>2]=65536;else c[k+20>>2]=(((c[(c[k+36>>2]|0)+12>>2]|0)>>>0)/65536|0)<<12;f=c[k+20>>2]|0;j=(c[k+28>>2]|0)+12|0;if(f>>>0>(Tob(d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24)|0)>>>0){j=(c[k+28>>2]|0)+12|0;c[k+20>>2]=Tob(d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24)|0}if((c[k+20>>2]|0)>>>0<4096)c[k+20>>2]=4096;else if((c[k+20>>2]|0)>>>0>65536)c[k+20>>2]=65536;a[k+48>>0]=-125;a[k+48+1>>0]=-1;j=Hob(b[(c[k>>2]|0)+14>>1]|0)|0;a[k+48+4>>0]=j;a[k+48+4+1>>0]=j>>8;a[k+48+6>>0]=a[k+97>>0]|0;a[k+48+7>>0]=a[k+96>>0]|0;j=Iob(c[(c[k>>2]|0)+176>>2]|0)|0;a[k+48+8>>0]=j;a[k+48+8+1>>0]=j>>8;a[k+48+8+2>>0]=j>>16;a[k+48+8+3>>0]=j>>24;j=Iob(c[k+20>>2]|0)|0;a[k+48+12>>0]=j;a[k+48+12+1>>0]=j>>8;a[k+48+12+2>>0]=j>>16;a[k+48+12+3>>0]=j>>24;j=Iob(c[k+12>>2]|0)|0;a[k+48+16>>0]=j;a[k+48+16+1>>0]=j>>8;a[k+48+16+2>>0]=j>>16;a[k+48+16+3>>0]=j>>24;j=Iob(c[(c[k+36>>2]|0)+12>>2]|0)|0;a[k+48+20>>0]=j;a[k+48+20+1>>0]=j>>8;a[k+48+20+2>>0]=j>>16;a[k+48+20+3>>0]=j>>24;j=Iob(c[(c[k+36>>2]|0)+16>>2]|0)|0;a[k+48+24>>0]=j;a[k+48+24+1>>0]=j>>8;a[k+48+24+2>>0]=j>>16;a[k+48+24+3>>0]=j>>24;j=Iob(c[(c[k>>2]|0)+132>>2]|0)|0;a[k+48+28>>0]=j;a[k+48+28+1>>0]=j>>8;a[k+48+28+2>>0]=j>>16;a[k+48+28+3>>0]=j>>24;j=Iob(c[(c[k>>2]|0)+124>>2]|0)|0;a[k+48+32>>0]=j;a[k+48+32+1>>0]=j>>8;a[k+48+32+2>>0]=j>>16;a[k+48+32+3>>0]=j>>24;j=Iob(c[(c[k>>2]|0)+128>>2]|0)|0;a[k+48+36>>0]=j;a[k+48+36+1>>0]=j>>8;a[k+48+36+2>>0]=j>>16;a[k+48+36+3>>0]=j>>24;j=c[(c[k>>2]|0)+16>>2]|0;a[k+48+40>>0]=j;a[k+48+40+1>>0]=j>>8;a[k+48+40+2>>0]=j>>16;a[k+48+40+3>>0]=j>>24;sq(c[k>>2]|0,k+48|0,0,0,0)|0;c[k+40>>2]=c[k>>2];j=c[k+40>>2]|0;i=k;return j|0}c[k+40>>2]=0;j=c[k+40>>2]|0;i=k;return j|0}function gr(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var j=0;j=i;i=i+32|0;c[j+24>>2]=e;c[j+20>>2]=f;c[j+16>>2]=g;c[j+12>>2]=h;if((c[(c[j+16>>2]|0)+36>>2]|0)!=1){c[j+28>>2]=0;g=c[j+28>>2]|0;i=j;return g|0}g=(c[j+12>>2]|0)+16|0;c[j>>2]=Tob(d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24)|0;if(!((c[j>>2]|0)>>>0<1|(c[j>>2]|0)>>>0>255)){g=(c[j+12>>2]|0)+28|0;g=Tob(d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24)|0;if((g|0)==(c[(c[j+16>>2]|0)+132>>2]|0)){g=(c[j+12>>2]|0)+32|0;g=Tob(d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24)|0;if((g|0)==(c[(c[j+16>>2]|0)+124>>2]|0)){g=(c[j+12>>2]|0)+36|0;g=Tob(d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24)|0;if((g|0)==(c[(c[j+16>>2]|0)+128>>2]|0)){g=(c[j+12>>2]|0)+40|0;if((d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24|0)==(c[(c[j+16>>2]|0)+16>>2]|0)){dr(c[j+16>>2]|0,1,-1)|0;if((c[j>>2]|0)>>>0<(c[(c[j+16>>2]|0)+44>>2]|0)>>>0)c[(c[j+16>>2]|0)+44>>2]=c[j>>2];g=(c[j+12>>2]|0)+4|0;g=Xob(d[g>>0]|d[g+1>>0]<<8)|0;b[(c[j+16>>2]|0)+12>>1]=g;a[(c[j+16>>2]|0)+21>>0]=a[(c[j+12>>2]|0)+6>>0]|0;a[(c[j+16>>2]|0)+20>>0]=a[(c[j+12>>2]|0)+7>>0]|0;g=(c[j+12>>2]|0)+8|0;c[j+8>>2]=Tob(d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24)|0;if((c[j+8>>2]|0)>>>0<576)c[j+8>>2]=576;else if((c[j+8>>2]|0)>>>0>4096)c[j+8>>2]=4096;if((c[j+8>>2]|0)>>>0<(c[(c[j+16>>2]|0)+176>>2]|0)>>>0)c[(c[j+16>>2]|0)+176>>2]=c[j+8>>2];g=(c[j+12>>2]|0)+12|0;g=Tob(d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24)|0;c[j+4>>2]=g;g=(c[j+4>>2]|0)>>>0<4096?4096:g;c[j+4>>2]=g;c[j+4>>2]=(c[j+4>>2]|0)>>>0>65536?65536:g;if((c[j+4>>2]|0)>>>0<(c[(c[j+16>>2]|0)+180>>2]|0)>>>0)c[(c[j+16>>2]|0)+180>>2]=c[j+4>>2];g=(c[j+12>>2]|0)+20|0;g=Tob(d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24)|0;c[(c[j+16>>2]|0)+48>>2]=g;g=(c[j+12>>2]|0)+24|0;g=Tob(d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24)|0;c[(c[j+16>>2]|0)+52>>2]=g;er(c[j+24>>2]|0,c[j+16>>2]|0,c[j+20>>2]|0);c[j+28>>2]=0;g=c[j+28>>2]|0;i=j;return g|0}}}}}c[(c[j+16>>2]|0)+376>>2]=0;Sq(c[j+24>>2]|0,c[j+16>>2]|0,9);c[j+28>>2]=-1;g=c[j+28>>2]|0;i=j;return g|0}function hr(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0;g=i;i=i+16|0;c[g+8>>2]=a;c[g+4>>2]=b;c[g>>2]=e;if(c[(c[g+4>>2]|0)+36>>2]|0)if((c[(c[g+4>>2]|0)+36>>2]|0)!=9)if((c[(c[g+4>>2]|0)+36>>2]|0)!=8){xq(c[g+4>>2]|0);do if((c[(c[g+4>>2]|0)+36>>2]|0)==4)f=8;else if((c[(c[g+4>>2]|0)+36>>2]|0)==7)f=8;else if((c[(c[g+4>>2]|0)+36>>2]|0)==1)f=8;else{if((c[(c[g+4>>2]|0)+36>>2]|0)!=5)if((c[(c[g+4>>2]|0)+36>>2]|0)!=6){if((c[(c[g+4>>2]|0)+36>>2]|0)==3)c[(c[g+8>>2]|0)+32>>2]=1;Dq(c[g+4>>2]|0);break}e=c[g+8>>2]|0;a=c[g+4>>2]|0;if((d[c[g>>2]>>0]|0)&128|0){Tq(e,a,8);break}else{Sq(e,a,9);break}}while(0);if((f|0)==8)Sq(c[g+8>>2]|0,c[g+4>>2]|0,9);if(c[(c[g+4>>2]|0)+36>>2]|0){f=(c[g>>2]|0)+4|0;f=Tob(d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24)|0;c[(c[g+4>>2]|0)+376>>2]=f}c[g+12>>2]=0;f=c[g+12>>2]|0;i=g;return f|0}c[g+12>>2]=0;f=c[g+12>>2]|0;i=g;return f|0}function ir(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;c[e+8>>2]=a;c[e+4>>2]=b;c[e>>2]=d;if((c[(c[e+4>>2]|0)+36>>2]|0)!=5)if((c[(c[e+4>>2]|0)+36>>2]|0)!=6){c[e+12>>2]=-1;b=c[e+12>>2]|0;i=e;return b|0}c[e+12>>2]=0;b=c[e+12>>2]|0;i=e;return b|0}function jr(a,b,e,f){a=a|0;b=b|0;e=e|0;f=f|0;var g=0;g=i;i=i+32|0;c[g+20>>2]=a;c[g+16>>2]=b;c[g+12>>2]=e;c[g+8>>2]=f;do if((d[(c[g+12>>2]|0)+1>>0]|0)>>>0<(c[(c[g+16>>2]|0)+44>>2]|0)>>>0){if((c[(c[g+16>>2]|0)+36>>2]|0)!=5)if((c[(c[g+16>>2]|0)+36>>2]|0)!=6)break;b=(c[g+12>>2]|0)+4|0;c[g>>2]=(Xob(d[b>>0]|d[b+1>>0]<<8)|0)&65535;b=c[g+8>>2]|0;c[b>>2]=(c[b>>2]|0)+(c[g>>2]|0);if((c[g>>2]|0)>>>0<=1073741824)if((c[c[g+8>>2]>>2]|0)>>>0>=(c[(c[g+20>>2]|0)+10356>>2]|0)>>>0)if((c[c[g+8>>2]>>2]|0)>>>0<=((c[(c[g+20>>2]|0)+10356>>2]|0)+(c[(c[g+20>>2]|0)+10360>>2]|0)|0)>>>0){c[g+4>>2]=pq((c[g+12>>2]|0)+6|0,c[g>>2]|0,1)|0;if(c[g+4>>2]|0)if(Nq(c[g+16>>2]|0,c[g+12>>2]|0,c[g+4>>2]|0,0)|0){c[g+24>>2]=0;b=c[g+24>>2]|0;i=g;return b|0}c[g+24>>2]=-1;b=c[g+24>>2]|0;i=g;return b|0}c[g+24>>2]=-1;b=c[g+24>>2]|0;i=g;return b|0}while(0);c[g+24>>2]=-1;b=c[g+24>>2]|0;i=g;return b|0}function kr(a,b,e,f){a=a|0;b=b|0;e=e|0;f=f|0;var g=0;g=i;i=i+32|0;c[g+20>>2]=a;c[g+16>>2]=b;c[g+12>>2]=e;c[g+8>>2]=f;do if((d[(c[g+12>>2]|0)+1>>0]|0)>>>0<(c[(c[g+16>>2]|0)+44>>2]|0)>>>0){if((c[(c[g+16>>2]|0)+36>>2]|0)!=5)if((c[(c[g+16>>2]|0)+36>>2]|0)!=6)break;b=(c[g+12>>2]|0)+6|0;c[g>>2]=(Xob(d[b>>0]|d[b+1>>0]<<8)|0)&65535;b=c[g+8>>2]|0;c[b>>2]=(c[b>>2]|0)+(c[g>>2]|0);if((c[g>>2]|0)>>>0<=1073741824)if((c[c[g+8>>2]>>2]|0)>>>0>=(c[(c[g+20>>2]|0)+10356>>2]|0)>>>0)if((c[c[g+8>>2]>>2]|0)>>>0<=((c[(c[g+20>>2]|0)+10356>>2]|0)+(c[(c[g+20>>2]|0)+10360>>2]|0)|0)>>>0){c[g+4>>2]=pq((c[g+12>>2]|0)+8|0,c[g>>2]|0,0)|0;if(c[g+4>>2]|0)if(Nq(c[g+16>>2]|0,c[g+12>>2]|0,c[g+4>>2]|0,0)|0){c[g+24>>2]=0;b=c[g+24>>2]|0;i=g;return b|0}c[g+24>>2]=-1;b=c[g+24>>2]|0;i=g;return b|0}c[g+24>>2]=-1;b=c[g+24>>2]|0;i=g;return b|0}while(0);c[g+24>>2]=-1;b=c[g+24>>2]|0;i=g;return b|0}function lr(a,f,g,h){a=a|0;f=f|0;g=g|0;h=h|0;var j=0;j=i;i=i+48|0;c[j+28>>2]=a;c[j+24>>2]=f;c[j+20>>2]=g;c[j+16>>2]=h;do if((d[(c[j+20>>2]|0)+1>>0]|0)>>>0<(c[(c[j+24>>2]|0)+44>>2]|0)>>>0){if((c[(c[j+24>>2]|0)+36>>2]|0)!=5)if((c[(c[j+24>>2]|0)+36>>2]|0)!=6)break;f=(c[j+20>>2]|0)+6|0;c[j>>2]=(Xob(d[f>>0]|d[f+1>>0]<<8)|0)&65535;f=c[j+16>>2]|0;c[f>>2]=(c[f>>2]|0)+(c[j>>2]|0);if((c[j>>2]|0)>>>0<=1073741824)if((c[c[j+16>>2]>>2]|0)>>>0>=(c[(c[j+28>>2]|0)+10356>>2]|0)>>>0)if((c[c[j+16>>2]>>2]|0)>>>0<=((c[(c[j+28>>2]|0)+10356>>2]|0)+(c[(c[j+28>>2]|0)+10360>>2]|0)|0)>>>0){f=(c[j+20>>2]|0)+4|0;c[j+8>>2]=(Xob(d[f>>0]|d[f+1>>0]<<8)|0)&65535;c[j+4>>2]=((c[j+8>>2]|0)>>>0)%1024|0;if((c[j+8>>2]|0)>>>0<(e[(c[j+24>>2]|0)+244>>1]|0)>>>0)c[j+8>>2]=(c[j+8>>2]|0)+65536;if((c[j+8>>2]|0)>>>0>=((e[(c[j+24>>2]|0)+244>>1]|0)+32768|0)>>>0){c[j+32>>2]=0;f=c[j+32>>2]|0;i=j;return f|0}c[j+8>>2]=c[j+8>>2]&65535;if(((c[j+8>>2]|0)-(c[j+4>>2]|0)|0)!=(e[(c[j+24>>2]|0)+244>>1]|0|0)){b[(c[j+24>>2]|0)+244>>1]=(c[j+8>>2]|0)-(c[j+4>>2]|0);g=(c[j+24>>2]|0)+248|0;h=g+128|0;do{c[g>>2]=0;g=g+4|0}while((g|0)<(h|0))}else if(c[(c[j+24>>2]|0)+248+((((c[j+4>>2]|0)>>>0)/32|0)<<2)>>2]&1<<(((c[j+4>>2]|0)>>>0)%32|0)|0){c[j+32>>2]=0;f=c[j+32>>2]|0;i=j;return f|0}c[j+12>>2]=pq((c[j+20>>2]|0)+8|0,c[j>>2]|0,2)|0;if(c[j+12>>2]|0)if(Nq(c[j+24>>2]|0,c[j+20>>2]|0,c[j+12>>2]|0,0)|0){f=(c[j+24>>2]|0)+248+((((c[j+4>>2]|0)>>>0)/32|0)<<2)|0;c[f>>2]=c[f>>2]|1<<(((c[j+4>>2]|0)>>>0)%32|0);c[j+32>>2]=0;f=c[j+32>>2]|0;i=j;return f|0}c[j+32>>2]=-1;f=c[j+32>>2]|0;i=j;return f|0}c[j+32>>2]=-1;f=c[j+32>>2]|0;i=j;return f|0}while(0);c[j+32>>2]=-1;f=c[j+32>>2]|0;i=j;return f|0}function mr(f,g,h,j){f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0;l=i;i=i+128|0;c[l+56>>2]=f;c[l+52>>2]=g;c[l+48>>2]=h;c[l+44>>2]=j;c[l+8>>2]=0;do if((d[(c[l+48>>2]|0)+1>>0]|0)>>>0<(c[(c[l+52>>2]|0)+44>>2]|0)>>>0){if((c[(c[l+52>>2]|0)+36>>2]|0)!=5)if((c[(c[l+52>>2]|0)+36>>2]|0)!=6)break;g=(c[l+48>>2]|0)+6|0;c[l+28>>2]=(Xob(d[g>>0]|d[g+1>>0]<<8)|0)&65535;g=c[l+44>>2]|0;c[g>>2]=(c[g>>2]|0)+(c[l+28>>2]|0);if((c[l+28>>2]|0)>>>0<=1073741824)if((c[c[l+44>>2]>>2]|0)>>>0>=(c[(c[l+56>>2]|0)+10356>>2]|0)>>>0)if((c[c[l+44>>2]>>2]|0)>>>0<=((c[(c[l+56>>2]|0)+10356>>2]|0)+(c[(c[l+56>>2]|0)+10360>>2]|0)|0)>>>0){c[l+16>>2]=(c[(c[l+52>>2]|0)+40>>2]|0)+((d[(c[l+48>>2]|0)+1>>0]|0)*60|0);g=(c[l+48>>2]|0)+4|0;c[l+24>>2]=(Xob(d[g>>0]|d[g+1>>0]<<8)|0)&65535;b[l+66>>1]=((c[l+24>>2]|0)>>>0)/4096|0;b[l+64>>1]=(e[(c[l+16>>2]|0)+38>>1]|0|0)/4096|0;if((c[l+24>>2]|0)>>>0<(e[(c[l+16>>2]|0)+38>>1]|0)>>>0)b[l+66>>1]=(e[l+66>>1]|0)+16;if((e[l+66>>1]|0|0)>=(e[l+64>>1]|0|0))if((e[l+66>>1]|0|0)<((e[l+64>>1]|0)+8-1|0)){g=(c[l+48>>2]|0)+12|0;c[l+40>>2]=Tob(d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24)|0;g=(c[l+48>>2]|0)+8|0;c[l+36>>2]=Tob(d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24)|0;g=(c[l+48>>2]|0)+20|0;c[l+32>>2]=Tob(d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24)|0;g=(c[l+48>>2]|0)+16|0;c[l+20>>2]=Tob(d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24)|0;if((c[l+36>>2]|0)>>>0<=1048576)if(!((c[l+20>>2]|0)>>>0>1073741824?1:(c[l+40>>2]|0)>>>0>=(c[l+36>>2]|0)>>>0))if((c[l+32>>2]|0)>>>0<(c[l+20>>2]|0)>>>0)if((c[l+28>>2]|0)>>>0<=((c[l+20>>2]|0)-(c[l+32>>2]|0)|0)>>>0){c[l+12>>2]=c[(c[l+16>>2]|0)+44+4>>2];while(1){if((c[l+12>>2]|0)==((c[l+16>>2]|0)+44|0))break;c[l+4>>2]=c[l+12>>2];h=e[(c[l+4>>2]|0)+8>>1]|0;j=e[(c[l+16>>2]|0)+38>>1]|0;if((c[l+24>>2]|0)>>>0>=(e[(c[l+16>>2]|0)+38>>1]|0)>>>0){if((h|0)>=(j|0))k=24}else if((h|0)>=(j|0))break;else k=24;if((k|0)==24){k=0;if((e[(c[l+4>>2]|0)+8>>1]|0)>>>0<=(c[l+24>>2]|0)>>>0){k=25;break}}c[l+12>>2]=c[(c[l+12>>2]|0)+4>>2]}a:do if((k|0)==25)if((e[(c[l+4>>2]|0)+8>>1]|0)>>>0>=(c[l+24>>2]|0)>>>0){do if(((d[(c[l+4>>2]|0)+12>>0]|0)&15|0)==8){if((c[l+20>>2]|0)!=(c[(c[(c[l+4>>2]|0)+72>>2]|0)+12>>2]|0))break;if((c[l+36>>2]|0)!=(c[(c[l+4>>2]|0)+60>>2]|0))break;c[l+8>>2]=c[l+4>>2];break a}while(0);c[l+60>>2]=-1;k=c[l+60>>2]|0;i=l;return k|0}while(0);if(!(c[l+8>>2]|0)){h=l+72|0;j=c[l+48>>2]|0;f=h+48|0;do{a[h>>0]=a[j>>0]|0;h=h+1|0;j=j+1|0}while((h|0)<(f|0));c[l>>2]=pq(0,c[l+20>>2]|0,1)|0;if(!(c[l>>2]|0)){c[l+60>>2]=-1;k=c[l+60>>2]|0;i=l;return k|0}k=c[l+24>>2]&65535;a[l+72+2>>0]=k;a[l+72+2+1>>0]=k>>8;c[l+8>>2]=Nq(c[l+52>>2]|0,l+72|0,c[l>>2]|0,c[l+36>>2]|0)|0;if(!(c[l+8>>2]|0)){c[l+60>>2]=-1;k=c[l+60>>2]|0;i=l;return k|0}}do if(!(c[(c[(c[l+8>>2]|0)+68>>2]|0)+((((c[l+40>>2]|0)>>>0)/32|0)<<2)>>2]&1<<(((c[l+40>>2]|0)>>>0)%32|0))){k=(c[l+8>>2]|0)+64|0;c[k>>2]=(c[k>>2]|0)+-1;k=(c[(c[l+8>>2]|0)+68>>2]|0)+((((c[l+40>>2]|0)>>>0)/32|0)<<2)|0;c[k>>2]=c[k>>2]|1<<(((c[l+40>>2]|0)>>>0)%32|0);if(((c[l+32>>2]|0)+(c[l+28>>2]|0)|0)>>>0>(c[(c[(c[l+8>>2]|0)+72>>2]|0)+12>>2]|0)>>>0)c[l+28>>2]=(c[(c[(c[l+8>>2]|0)+72>>2]|0)+12>>2]|0)-(c[l+32>>2]|0);mBb((c[(c[(c[l+8>>2]|0)+72>>2]|0)+8>>2]|0)+(c[l+32>>2]|0)|0,(c[l+48>>2]|0)+24|0,c[l+28>>2]|0)|0;if((c[(c[l+8>>2]|0)+64>>2]|0)>>>0>0)break;Mq(c[l+52>>2]|0,c[l+16>>2]|0)}while(0);c[l+60>>2]=0;k=c[l+60>>2]|0;i=l;return k|0}c[l+60>>2]=-1;k=c[l+60>>2]|0;i=l;return k|0}c[l+60>>2]=0;k=c[l+60>>2]|0;i=l;return k|0}c[l+60>>2]=-1;k=c[l+60>>2]|0;i=l;return k|0}while(0);c[l+60>>2]=-1;k=c[l+60>>2]|0;i=l;return k|0}function nr(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0;g=i;i=i+16|0;c[g+8>>2]=a;c[g+4>>2]=b;c[g>>2]=e;if((c[(c[g+4>>2]|0)+36>>2]|0)!=5)if((c[(c[g+4>>2]|0)+36>>2]|0)!=6){c[g+12>>2]=-1;f=c[g+12>>2]|0;i=g;return f|0}if(c[(c[g+4>>2]|0)+48>>2]|0){b=(c[g+8>>2]|0)+10388|0;c[b>>2]=(c[b>>2]|0)+-1}b=(c[g>>2]|0)+4|0;b=Tob(d[b>>0]|d[b+1>>0]<<8|d[b+2>>0]<<16|d[b+3>>0]<<24)|0;c[(c[g+4>>2]|0)+48>>2]=b;b=(c[g>>2]|0)+8|0;b=Tob(d[b>>0]|d[b+1>>0]<<8|d[b+2>>0]<<16|d[b+3>>0]<<24)|0;c[(c[g+4>>2]|0)+52>>2]=b;if(c[(c[g+4>>2]|0)+48>>2]|0){b=(c[g+8>>2]|0)+10388|0;c[b>>2]=(c[b>>2]|0)+1}if(!(c[(c[g+4>>2]|0)+48>>2]|0))if(!(c[(c[g+8>>2]|0)+16>>2]|0))c[(c[g+4>>2]|0)+180>>2]=65536;else f=11;else f=11;if((f|0)==11){if((c[(c[g+4>>2]|0)+48>>2]|0)>>>0<(c[(c[g+8>>2]|0)+16>>2]|0)>>>0)e=c[(c[g+4>>2]|0)+48>>2]|0;else e=c[(c[g+8>>2]|0)+16>>2]|0;c[(c[g+4>>2]|0)+180>>2]=((e>>>0)/65536|0)<<12}e=(c[g+4>>2]|0)+180|0;if((c[(c[g+4>>2]|0)+180>>2]|0)>>>0<4096)c[e>>2]=4096;else if((c[e>>2]|0)>>>0>65536)c[(c[g+4>>2]|0)+180>>2]=65536;c[g+12>>2]=0;f=c[g+12>>2]|0;i=g;return f|0}function or(a,b,e){a=a|0;b=b|0;e=e|0;var f=0;f=i;i=i+16|0;c[f+8>>2]=a;c[f+4>>2]=b;c[f>>2]=e;if((c[(c[f+4>>2]|0)+36>>2]|0)!=5)if((c[(c[f+4>>2]|0)+36>>2]|0)!=6){c[f+12>>2]=-1;b=c[f+12>>2]|0;i=f;return b|0}b=(c[f>>2]|0)+4|0;b=Tob(d[b>>0]|d[b+1>>0]<<8|d[b+2>>0]<<16|d[b+3>>0]<<24)|0;c[(c[f+4>>2]|0)+132>>2]=b;b=(c[f>>2]|0)+8|0;b=Tob(d[b>>0]|d[b+1>>0]<<8|d[b+2>>0]<<16|d[b+3>>0]<<24)|0;c[(c[f+4>>2]|0)+124>>2]=b;b=(c[f>>2]|0)+12|0;b=Tob(d[b>>0]|d[b+1>>0]<<8|d[b+2>>0]<<16|d[b+3>>0]<<24)|0;c[(c[f+4>>2]|0)+128>>2]=b;c[f+12>>2]=0;b=c[f+12>>2]|0;i=f;return b|0}function pr(a,f,g,h){a=a|0;f=f|0;g=g|0;h=h|0;var j=0,k=0;k=i;i=i+80|0;c[k+60>>2]=a;c[k+56>>2]=f;c[k+52>>2]=g;c[k+48>>2]=h;c[k+8>>2]=0;do if((d[(c[k+52>>2]|0)+1>>0]|0)>>>0<(c[(c[k+56>>2]|0)+44>>2]|0)>>>0){if((c[(c[k+56>>2]|0)+36>>2]|0)!=5)if((c[(c[k+56>>2]|0)+36>>2]|0)!=6)break;f=(c[k+52>>2]|0)+6|0;c[k+32>>2]=(Xob(d[f>>0]|d[f+1>>0]<<8)|0)&65535;f=c[k+48>>2]|0;c[f>>2]=(c[f>>2]|0)+(c[k+32>>2]|0);if((c[k+32>>2]|0)>>>0<=1073741824)if((c[c[k+48>>2]>>2]|0)>>>0>=(c[(c[k+60>>2]|0)+10356>>2]|0)>>>0)if((c[c[k+48>>2]>>2]|0)>>>0<=((c[(c[k+60>>2]|0)+10356>>2]|0)+(c[(c[k+60>>2]|0)+10360>>2]|0)|0)>>>0){c[k+16>>2]=(c[(c[k+56>>2]|0)+40>>2]|0)+((d[(c[k+52>>2]|0)+1>>0]|0)*60|0);f=(c[k+52>>2]|0)+2|0;c[k+28>>2]=(d[f>>0]|d[f+1>>0]<<8)&65535;f=(c[k+52>>2]|0)+4|0;c[k+24>>2]=(Xob(d[f>>0]|d[f+1>>0]<<8)|0)&65535;b[k+70>>1]=((c[k+28>>2]|0)>>>0)/4096|0;b[k+68>>1]=(e[(c[k+16>>2]|0)+38>>1]|0|0)/4096|0;if((c[k+28>>2]|0)>>>0<(e[(c[k+16>>2]|0)+38>>1]|0)>>>0)b[k+70>>1]=(e[k+70>>1]|0)+16;if((e[k+70>>1]|0|0)>=(e[k+68>>1]|0|0))if((e[k+70>>1]|0|0)<((e[k+68>>1]|0)+8-1|0)){if((c[k+28>>2]|0)==(e[(c[k+16>>2]|0)+38>>1]|0|0))if((c[k+24>>2]|0)>>>0<=(e[(c[k+16>>2]|0)+40>>1]|0)>>>0){c[k+64>>2]=0;j=c[k+64>>2]|0;i=k;return j|0}f=(c[k+52>>2]|0)+12|0;c[k+44>>2]=Tob(d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24)|0;f=(c[k+52>>2]|0)+8|0;c[k+40>>2]=Tob(d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24)|0;f=(c[k+52>>2]|0)+20|0;c[k+36>>2]=Tob(d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24)|0;f=(c[k+52>>2]|0)+16|0;c[k+20>>2]=Tob(d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24)|0;if((c[k+40>>2]|0)>>>0<=1048576)if(!((c[k+20>>2]|0)>>>0>1073741824?1:(c[k+44>>2]|0)>>>0>=(c[k+40>>2]|0)>>>0))if((c[k+36>>2]|0)>>>0<(c[k+20>>2]|0)>>>0)if((c[k+32>>2]|0)>>>0<=((c[k+20>>2]|0)-(c[k+36>>2]|0)|0)>>>0){c[k+12>>2]=c[(c[k+16>>2]|0)+52+4>>2];a:while(1){if((c[k+12>>2]|0)==((c[k+16>>2]|0)+52|0))break;c[k+4>>2]=c[k+12>>2];g=e[(c[k+4>>2]|0)+8>>1]|0;h=e[(c[k+16>>2]|0)+38>>1]|0;if((c[k+28>>2]|0)>>>0>=(e[(c[k+16>>2]|0)+38>>1]|0)>>>0){if((g|0)>=(h|0))j=27}else if((g|0)>=(h|0))break;else j=27;do if((j|0)==27){j=0;if((e[(c[k+4>>2]|0)+8>>1]|0)>>>0<(c[k+28>>2]|0)>>>0)break a;if((e[(c[k+4>>2]|0)+8>>1]|0)>>>0>(c[k+28>>2]|0)>>>0)break;if((e[(c[k+4>>2]|0)+10>>1]|0)>>>0<=(c[k+24>>2]|0)>>>0){j=30;break a}}while(0);c[k+12>>2]=c[(c[k+12>>2]|0)+4>>2]}b:do if((j|0)==30)if((e[(c[k+4>>2]|0)+10>>1]|0)>>>0>=(c[k+24>>2]|0)>>>0){do if(((d[(c[k+4>>2]|0)+12>>0]|0)&15|0)==12){if((c[k+20>>2]|0)!=(c[(c[(c[k+4>>2]|0)+72>>2]|0)+12>>2]|0))break;if((c[k+40>>2]|0)!=(c[(c[k+4>>2]|0)+60>>2]|0))break;c[k+8>>2]=c[k+4>>2];break b}while(0);c[k+64>>2]=-1;j=c[k+64>>2]|0;i=k;return j|0}while(0);do if(!(c[k+8>>2]|0)){c[k>>2]=pq(0,c[k+20>>2]|0,8)|0;if(!(c[k>>2]|0)){c[k+64>>2]=-1;j=c[k+64>>2]|0;i=k;return j|0}c[k+8>>2]=Nq(c[k+56>>2]|0,c[k+52>>2]|0,c[k>>2]|0,c[k+40>>2]|0)|0;if(c[k+8>>2]|0)break;c[k+64>>2]=-1;j=c[k+64>>2]|0;i=k;return j|0}while(0);do if(!(c[(c[(c[k+8>>2]|0)+68>>2]|0)+((((c[k+44>>2]|0)>>>0)/32|0)<<2)>>2]&1<<(((c[k+44>>2]|0)>>>0)%32|0))){j=(c[k+8>>2]|0)+64|0;c[j>>2]=(c[j>>2]|0)+-1;j=(c[(c[k+8>>2]|0)+68>>2]|0)+((((c[k+44>>2]|0)>>>0)/32|0)<<2)|0;c[j>>2]=c[j>>2]|1<<(((c[k+44>>2]|0)>>>0)%32|0);if(((c[k+36>>2]|0)+(c[k+32>>2]|0)|0)>>>0>(c[(c[(c[k+8>>2]|0)+72>>2]|0)+12>>2]|0)>>>0)c[k+32>>2]=(c[(c[(c[k+8>>2]|0)+72>>2]|0)+12>>2]|0)-(c[k+36>>2]|0);mBb((c[(c[(c[k+8>>2]|0)+72>>2]|0)+8>>2]|0)+(c[k+36>>2]|0)|0,(c[k+52>>2]|0)+24|0,c[k+32>>2]|0)|0;if((c[(c[k+8>>2]|0)+64>>2]|0)>>>0>0)break;Lq(c[k+56>>2]|0,c[k+16>>2]|0)}while(0);c[k+64>>2]=0;j=c[k+64>>2]|0;i=k;return j|0}c[k+64>>2]=-1;j=c[k+64>>2]|0;i=k;return j|0}c[k+64>>2]=0;j=c[k+64>>2]|0;i=k;return j|0}c[k+64>>2]=-1;j=c[k+64>>2]|0;i=k;return j|0}while(0);c[k+64>>2]=-1;j=c[k+64>>2]|0;i=k;return j|0}function qr(){return 0}function rr(){return}function sr(){return jh(0)|0}function tr(){var a=0;a=i;i=i+16|0;hf(a|0,0)|0;i=a;return ((c[a>>2]|0)*1e3|0)+((c[a+4>>2]|0)/1e3|0)-0|0}function ur(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d+8>>2]=a;c[d+4>>2]=b;c[d>>2]=0;c[d>>2]=Bf(c[d+4>>2]|0)|0;if(c[d>>2]|0)if((c[(c[d>>2]|0)+8>>2]|0)==2){c[c[d+8>>2]>>2]=c[c[c[(c[d>>2]|0)+16>>2]>>2]>>2];c[d+12>>2]=0;b=c[d+12>>2]|0;i=d;return b|0}if(Uob(c[d+4>>2]|0,c[d+8>>2]|0)|0){c[d+12>>2]=0;b=c[d+12>>2]|0;i=d;return b|0}else{c[d+12>>2]=-1;b=c[d+12>>2]|0;i=d;return b|0}return 0}function vr(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+32|0;c[e+12>>2]=a;c[e+8>>2]=b;c[e+4>>2]=d;c[e+20>>2]=c[c[e+12>>2]>>2];c[e>>2]=Vob(e+20|0)|0;if(c[e>>2]|0){Rob(c[e+8>>2]|0,c[e>>2]|0,c[e+4>>2]|0)|0;c[e+16>>2]=0;d=c[e+16>>2]|0;i=e;return d|0}else{c[e+16>>2]=-1;d=c[e+16>>2]|0;i=e;return d|0}return 0}function wr(a,d){a=a|0;d=d|0;var e=0;e=i;i=i+32|0;c[e+20>>2]=a;c[e+16>>2]=d;c[e>>2]=0;c[e+4>>2]=0;c[e+8>>2]=0;c[e+12>>2]=0;b[e>>1]=2;if(c[e+16>>2]|0){b[e+2>>1]=Hob(b[(c[e+16>>2]|0)+4>>1]|0)|0;c[e+4>>2]=c[c[e+16>>2]>>2];a=c[e+20>>2]|0;a=Kob(a,e,16)|0;i=e;return a|0}else{b[e+2>>1]=0;c[e+4>>2]=0;a=c[e+20>>2]|0;a=Kob(a,e,16)|0;i=e;return a|0}return 0}function xr(a,d){a=a|0;d=d|0;var e=0;e=i;i=i+48|0;c[e+28>>2]=a;c[e+24>>2]=d;c[e>>2]=16;if((Oob(c[e+28>>2]|0,e+8|0,e)|0)==-1){c[e+32>>2]=-1;a=c[e+32>>2]|0;i=e;return a|0}else{c[c[e+24>>2]>>2]=c[e+8+4>>2];a=Xob(b[e+8+2>>1]|0)|0;b[(c[e+24>>2]|0)+4>>1]=a;c[e+32>>2]=0;a=c[e+32>>2]|0;i=e;return a|0}return 0}function yr(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;a=wob(2,(c[b>>2]|0)==2?2:1,0)|0;i=b;return a|0}function zr(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+48|0;c[e+36>>2]=a;c[e+32>>2]=b;c[e+28>>2]=d;c[e+24>>2]=-1;switch(c[e+32>>2]|0){case 1:{d=c[e+36>>2]|0;c[e>>2]=e+28;c[e+24>>2]=Nnb(d,21537,e)|0;break}case 2:{c[e+24>>2]=Job(c[e+36>>2]|0,1,6,e+28|0,4)|0;break}case 5:{c[e+24>>2]=Job(c[e+36>>2]|0,1,2,e+28|0,4)|0;break}case 3:{c[e+24>>2]=Job(c[e+36>>2]|0,1,8,e+28|0,4)|0;break}case 4:{c[e+24>>2]=Job(c[e+36>>2]|0,1,7,e+28|0,4)|0;break}case 6:{c[e+16>>2]=(c[e+28>>2]|0)/1e3|0;c[e+16+4>>2]=((c[e+28>>2]|0)%1e3|0)*1e3;c[e+24>>2]=Job(c[e+36>>2]|0,1,20,e+16|0,8)|0;break}case 7:{c[e+8>>2]=(c[e+28>>2]|0)/1e3|0;c[e+8+4>>2]=((c[e+28>>2]|0)%1e3|0)*1e3;c[e+24>>2]=Job(c[e+36>>2]|0,1,21,e+8|0,8)|0;break}case 9:{c[e+24>>2]=Job(c[e+36>>2]|0,6,1,e+28|0,4)|0;break}default:{}}i=e;return ((c[e+24>>2]|0)==-1?-1:0)|0}function Ar(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;if((c[b>>2]|0)==-1){i=b;return}Wmb(c[b>>2]|0)|0;i=b;return}function Br(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0;g=i;i=i+80|0;c[g+64>>2]=a;c[g+60>>2]=d;c[g+56>>2]=e;c[g+52>>2]=f;c[g+24>>2]=0;c[g+24+4>>2]=0;c[g+24+8>>2]=0;c[g+24+12>>2]=0;c[g+24+16>>2]=0;c[g+24+20>>2]=0;c[g+24+24>>2]=0;if(c[g+60>>2]|0){c[g+8>>2]=0;c[g+8+4>>2]=0;c[g+8+8>>2]=0;c[g+8+12>>2]=0;b[g+8>>1]=2;b[g+8+2>>1]=Hob(b[(c[g+60>>2]|0)+4>>1]|0)|0;c[g+8+4>>2]=c[c[g+60>>2]>>2];c[g+24>>2]=g+8;c[g+24+4>>2]=16}c[g+24+8>>2]=c[g+56>>2];c[g+24+12>>2]=c[g+52>>2];c[g>>2]=_ob(c[g+64>>2]|0,g+24|0,16384)|0;if((c[g>>2]|0)!=-1){c[g+68>>2]=c[g>>2];a=c[g+68>>2]|0;i=g;return a|0}if((c[(Mlb()|0)>>2]|0)==11){c[g+68>>2]=0;a=c[g+68>>2]|0;i=g;return a|0}else{c[g+68>>2]=-1;a=c[g+68>>2]|0;i=g;return a|0}return 0}function Cr(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0;g=i;i=i+80|0;c[g+64>>2]=a;c[g+60>>2]=d;c[g+56>>2]=e;c[g+52>>2]=f;c[g+24>>2]=0;c[g+24+4>>2]=0;c[g+24+8>>2]=0;c[g+24+12>>2]=0;c[g+24+16>>2]=0;c[g+24+20>>2]=0;c[g+24+24>>2]=0;if(c[g+60>>2]|0){c[g+24>>2]=g+8;c[g+24+4>>2]=16}c[g+24+8>>2]=c[g+56>>2];c[g+24+12>>2]=c[g+52>>2];c[g>>2]=Zob(c[g+64>>2]|0,g+24|0,16384)|0;if((c[g>>2]|0)!=-1){if(c[g+60>>2]|0){c[c[g+60>>2]>>2]=c[g+8+4>>2];a=Xob(b[g+8+2>>1]|0)|0;b[(c[g+60>>2]|0)+4>>1]=a}c[g+68>>2]=c[g>>2];a=c[g+68>>2]|0;i=g;return a|0}if((c[(Mlb()|0)>>2]|0)==11){c[g+68>>2]=0;a=c[g+68>>2]|0;i=g;return a|0}else{c[g+68>>2]=-1;a=c[g+68>>2]|0;i=g;return a|0}return 0}function Dr(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+304|0;c[e+296>>2]=a;c[e+292>>2]=b;c[e+288>>2]=d;c[e+24>>2]=((c[e+288>>2]|0)>>>0)/1e3|0;c[e+24+4>>2]=(((c[e+288>>2]|0)>>>0)%1e3|0)*1e3;c[e+8>>2]=e+160;c[e+12>>2]=32;while(1){if(!(c[e+12>>2]|0))break;d=c[e+8>>2]|0;c[e+8>>2]=d+4;c[d>>2]=0;c[e+12>>2]=(c[e+12>>2]|0)+-1}c[e>>2]=e+32;c[e+4>>2]=32;while(1){if(!(c[e+4>>2]|0))break;d=c[e>>2]|0;c[e>>2]=d+4;c[d>>2]=0;c[e+4>>2]=(c[e+4>>2]|0)+-1}if(c[c[e+292>>2]>>2]&1|0){d=e+32+((((c[e+296>>2]|0)>>>0)/32|0)<<2)|0;c[d>>2]=c[d>>2]|1<<(((c[e+296>>2]|0)>>>0)%32|0)}if(c[c[e+292>>2]>>2]&2|0){d=e+160+((((c[e+296>>2]|0)>>>0)/32|0)<<2)|0;c[d>>2]=c[d>>2]|1<<(((c[e+296>>2]|0)>>>0)%32|0)}c[e+16>>2]=fpb((c[e+296>>2]|0)+1|0,e+160|0,e+32|0,0,e+24|0)|0;if((c[e+16>>2]|0)<0){if((c[(Mlb()|0)>>2]|0)==4)if(c[c[e+292>>2]>>2]&4|0){c[c[e+292>>2]>>2]=4;c[e+300>>2]=0;d=c[e+300>>2]|0;i=e;return d|0}c[e+300>>2]=-1;d=c[e+300>>2]|0;i=e;return d|0}c[c[e+292>>2]>>2]=0;if(!(c[e+16>>2]|0)){c[e+300>>2]=0;d=c[e+300>>2]|0;i=e;return d|0}if(c[e+32+((((c[e+296>>2]|0)>>>0)/32|0)<<2)>>2]&1<<(((c[e+296>>2]|0)>>>0)%32|0)|0){d=c[e+292>>2]|0;c[d>>2]=c[d>>2]|1}if(c[e+160+((((c[e+296>>2]|0)>>>0)/32|0)<<2)>>2]&1<<(((c[e+296>>2]|0)>>>0)%32|0)|0){d=c[e+292>>2]|0;c[d>>2]=c[d>>2]|2}c[e+300>>2]=0;d=c[e+300>>2]|0;i=e;return d|0}function Er(a){a=a|0;TDa(a,-10002,520305);TDa(a,-1,520417);ODa(a,1476,0);_Da(a,-2,265825);lDa(a,-3);TDa(a,-10002,520305);TDa(a,-1,520417);ODa(a,1477,0);_Da(a,-2,265837);lDa(a,-3);TDa(a,-10002,520305);TDa(a,-1,520417);ODa(a,1478,0);_Da(a,-2,361353);lDa(a,-3);TDa(a,-10002,520305);TDa(a,-1,520417);ODa(a,1479,0);_Da(a,-2,279047);lDa(a,-3);TDa(a,-10002,520305);TDa(a,-1,520417);ODa(a,1480,0);_Da(a,-2,291260);lDa(a,-3);TDa(a,-10002,520305);TDa(a,-1,520417);ODa(a,1481,0);_Da(a,-2,299459);lDa(a,-3);TDa(a,-10002,520305);TDa(a,-1,520417);ODa(a,1482,0);_Da(a,-2,361447);lDa(a,-3);TDa(a,-10002,520305);TDa(a,-1,520417);ODa(a,1483,0);_Da(a,-2,309877);lDa(a,-3);TDa(a,-10002,520305);TDa(a,-1,520417);ODa(a,1484,0);_Da(a,-2,313504);lDa(a,-3);TDa(a,-10002,520305);TDa(a,-1,520417);ODa(a,1485,0);_Da(a,-2,324051);lDa(a,-3);return 0}function Fr(a){a=a|0;if(!(sHa(a,265847,4061,269908)|0))dEa(a,0,0);TDa(a,-10002,361353);return 1}function Gr(a){a=a|0;if(!(sHa(a,269919,9120,279039)|0))dEa(a,0,0);TDa(a,-10002,279047);return 1}function Hr(a){a=a|0;if(!(sHa(a,279058,12193,291251)|0))dEa(a,0,0);TDa(a,-10002,291260);return 1}function Ir(a){a=a|0;if(!(sHa(a,291272,8177,299449)|0))dEa(a,0,0);TDa(a,-10002,299459);return 1}function Jr(a){a=a|0;if(!(sHa(a,299465,2433,301898)|0))dEa(a,0,0);TDa(a,-10002,361447);return 1}function Kr(a){a=a|0;if(!(sHa(a,301907,7961,309868)|0))dEa(a,0,0);TDa(a,-10002,309877);return 1}function Lr(a){a=a|0;if(!(sHa(a,309889,3608,313497)|0))dEa(a,0,0);TDa(a,-10002,313504);return 1}function Mr(a){a=a|0;if(!(sHa(a,313514,10529,324043)|0))dEa(a,0,0);TDa(a,-10002,324051);return 1}function Nr(a){a=a|0;var b=0;b=i;i=i+16|0;c[b+4>>2]=a;WDa(c[b+4>>2]|0,0,6);c[b>>2]=11976;while(1){if(!(c[c[b>>2]>>2]|0))break;if(c[(c[b>>2]|0)+4>>2]|0){ODa(c[b+4>>2]|0,c[(c[b>>2]|0)+4>>2]|0,0);_Da(c[b+4>>2]|0,-2,c[c[b>>2]>>2]|0)}c[b>>2]=(c[b>>2]|0)+8}KDa(c[b+4>>2]|0,324270,16);_Da(c[b+4>>2]|0,-2,324258);i=b;return 1}function Or(b){b=b|0;var d=0,e=0;e=i;i=i+32|0;c[e+20>>2]=b;c[e+12>>2]=UGa(c[e+20>>2]|0,1,e+16|0)|0;c[e+8>>2]=aHa(c[e+20>>2]|0,2)|0;c[e+4>>2]=(c[e+8>>2]|0)>=0?1:(c[e+16>>2]|0)+1|0;b=bHa(c[e+20>>2]|0,3,c[e+4>>2]|0)|0;c[e+4>>2]=Pr(b,c[e+16>>2]|0)|0;if(1<=(c[e+4>>2]|0)){b=(c[e+4>>2]|0)+-1|0;c[e+4>>2]=b;if((b|0)>(c[e+16>>2]|0))d=3}else d=3;if((d|0)==3)OGa(c[e+20>>2]|0,3,324069)|0;a:do if(!(c[e+8>>2]|0))while(1){if((c[e+4>>2]|0)<=0)break a;if((a[(c[e+12>>2]|0)+(c[e+4>>2]|0)>>0]&192|0)!=128)break a;c[e+4>>2]=(c[e+4>>2]|0)+-1}else{if((a[(c[e+12>>2]|0)+(c[e+4>>2]|0)>>0]&192|0)==128)PGa(c[e+20>>2]|0,324091,e)|0;if((c[e+8>>2]|0)<0)while(1){if(!((c[e+8>>2]|0)<0?(c[e+4>>2]|0)>0:0))break a;do{c[e+4>>2]=(c[e+4>>2]|0)+-1;if((c[e+4>>2]|0)<=0)break}while((a[(c[e+12>>2]|0)+(c[e+4>>2]|0)>>0]&192|0)==128);c[e+8>>2]=(c[e+8>>2]|0)+1}c[e+8>>2]=(c[e+8>>2]|0)+-1;while(1){if((c[e+8>>2]|0)<=0)break a;if((c[e+4>>2]|0)>=(c[e+16>>2]|0))break a;do c[e+4>>2]=(c[e+4>>2]|0)+1;while((a[(c[e+12>>2]|0)+(c[e+4>>2]|0)>>0]&192|0)==128);c[e+8>>2]=(c[e+8>>2]|0)+-1}}while(0);b=c[e+20>>2]|0;if(!(c[e+8>>2]|0)){JDa(b,(c[e+4>>2]|0)+1|0);i=e;return 1}else{HDa(b);i=e;return 1}return 0}function Pr(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d+4>>2]=a;c[d>>2]=b;b=c[d+4>>2]|0;do if((c[d+4>>2]|0)>=0)c[d+8>>2]=b;else if((0-b|0)>>>0>(c[d>>2]|0)>>>0){c[d+8>>2]=0;break}else{c[d+8>>2]=(c[d>>2]|0)+(c[d+4>>2]|0)+1;break}while(0);i=d;return c[d+8>>2]|0}function Qr(a){a=a|0;var b=0,d=0;d=i;i=i+48|0;c[d+40>>2]=a;c[d+32>>2]=UGa(c[d+40>>2]|0,1,d+36|0)|0;b=bHa(c[d+40>>2]|0,2,1)|0;c[d+28>>2]=Pr(b,c[d+36>>2]|0)|0;b=bHa(c[d+40>>2]|0,3,c[d+28>>2]|0)|0;c[d+24>>2]=Pr(b,c[d+36>>2]|0)|0;if((c[d+28>>2]|0)<1)OGa(c[d+40>>2]|0,2,324141)|0;if((c[d+24>>2]|0)>(c[d+36>>2]|0))OGa(c[d+40>>2]|0,3,324141)|0;if((c[d+28>>2]|0)>(c[d+24>>2]|0)){c[d+44>>2]=0;b=c[d+44>>2]|0;i=d;return b|0}c[d+20>>2]=(c[d+24>>2]|0)-(c[d+28>>2]|0)+1;a=c[d+40>>2]|0;if(((c[d+28>>2]|0)+(c[d+20>>2]|0)|0)<=(c[d+24>>2]|0)){c[d+44>>2]=PGa(a,519695,d)|0;b=c[d+44>>2]|0;i=d;return b|0}XGa(a,c[d+20>>2]|0,519695);c[d+20>>2]=0;c[d+16>>2]=(c[d+32>>2]|0)+(c[d+24>>2]|0);c[d+32>>2]=(c[d+32>>2]|0)+((c[d+28>>2]|0)-1);while(1){if((c[d+32>>2]|0)>>>0>=(c[d+16>>2]|0)>>>0){b=14;break}c[d+32>>2]=Rr(c[d+32>>2]|0,d+12|0)|0;a=c[d+40>>2]|0;if(!(c[d+32>>2]|0)){b=12;break}JDa(a,c[d+12>>2]|0);c[d+20>>2]=(c[d+20>>2]|0)+1}if((b|0)==12){c[d+44>>2]=PGa(a,324154,d+8|0)|0;b=c[d+44>>2]|0;i=d;return b|0}else if((b|0)==14){c[d+44>>2]=c[d+20>>2];b=c[d+44>>2]|0;i=d;return b|0}return 0}function Rr(a,b){a=a|0;b=b|0;var e=0,f=0;f=i;i=i+32|0;c[f+24>>2]=a;c[f+20>>2]=b;c[f+16>>2]=c[f+24>>2];c[f+12>>2]=d[c[f+16>>2]>>0];c[f+8>>2]=0;do if((c[f+12>>2]|0)>>>0<128)c[f+8>>2]=c[f+12>>2];else{c[f+4>>2]=0;while(1){if(!(c[f+12>>2]&64))break;b=(c[f+4>>2]|0)+1|0;c[f+4>>2]=b;c[f>>2]=d[(c[f+16>>2]|0)+b>>0];if((c[f>>2]&192|0)!=128){e=6;break}c[f+8>>2]=c[f+8>>2]<<6|c[f>>2]&63;c[f+12>>2]=c[f+12>>2]<<1}if((e|0)==6){c[f+28>>2]=0;e=c[f+28>>2]|0;i=f;return e|0}c[f+8>>2]=c[f+8>>2]|(c[f+12>>2]&127)<<(c[f+4>>2]|0)*5;if(!((c[f+4>>2]|0)>3?1:(c[f+8>>2]|0)>>>0>1114111))if((c[f+8>>2]|0)>>>0>(c[12032+(c[f+4>>2]<<2)>>2]|0)>>>0){c[f+16>>2]=(c[f+16>>2]|0)+(c[f+4>>2]|0);break}c[f+28>>2]=0;e=c[f+28>>2]|0;i=f;return e|0}while(0);if(c[f+20>>2]|0)c[c[f+20>>2]>>2]=c[f+8>>2];c[f+28>>2]=(c[f+16>>2]|0)+1;e=c[f+28>>2]|0;i=f;return e|0}function Sr(a){a=a|0;var b=0;b=i;i=i+1056|0;c[b+1044>>2]=a;c[b+1040>>2]=kDa(c[b+1044>>2]|0)|0;a=c[b+1044>>2]|0;if((c[b+1040>>2]|0)==1){Tr(a,1);i=b;return 1}jHa(a,b);c[b+1036>>2]=1;while(1){if((c[b+1036>>2]|0)>(c[b+1040>>2]|0))break;Tr(c[b+1044>>2]|0,c[b+1036>>2]|0);nHa(b);c[b+1036>>2]=(c[b+1036>>2]|0)+1}mHa(b);i=b;return 1}function Tr(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+32|0;c[d+12>>2]=a;c[d+8>>2]=b;c[d+4>>2]=aHa(c[d+12>>2]|0,c[d+8>>2]|0)|0;if(!(0<=(c[d+4>>2]|0)?(c[d+4>>2]|0)<=1114111:0))OGa(c[d+12>>2]|0,c[d+8>>2]|0,324173)|0;c[d>>2]=Ur(d+16|0,c[d+4>>2]|0)|0;KDa(c[d+12>>2]|0,d+16+8+(0-(c[d>>2]|0))|0,c[d>>2]|0);i=d;return}function Ur(b,d){b=b|0;d=d|0;var e=0;e=i;i=i+16|0;c[e+12>>2]=b;c[e+8>>2]=d;c[e+4>>2]=1;if((c[e+8>>2]|0)>>>0<128){a[(c[e+12>>2]|0)+7>>0]=c[e+8>>2];d=c[e+4>>2]|0;i=e;return d|0}c[e>>2]=63;do{b=(128|c[e+8>>2]&63)&255;d=c[e+4>>2]|0;c[e+4>>2]=d+1;a[(c[e+12>>2]|0)+(8-d)>>0]=b;c[e+8>>2]=(c[e+8>>2]|0)>>>6;c[e>>2]=(c[e>>2]|0)>>>1}while((c[e+8>>2]|0)>>>0>(c[e>>2]|0)>>>0);a[(c[e+12>>2]|0)+(8-(c[e+4>>2]|0))>>0]=~c[e>>2]<<1|c[e+8>>2];d=c[e+4>>2]|0;i=e;return d|0}function Vr(a){a=a|0;var b=0,d=0;d=i;i=i+32|0;c[d+24>>2]=a;c[d+20>>2]=0;c[d+12>>2]=UGa(c[d+24>>2]|0,1,d+16|0)|0;a=bHa(c[d+24>>2]|0,2,1)|0;c[d+8>>2]=Pr(a,c[d+16>>2]|0)|0;a=bHa(c[d+24>>2]|0,3,-1)|0;c[d+4>>2]=Pr(a,c[d+16>>2]|0)|0;if(1<=(c[d+8>>2]|0)){a=(c[d+8>>2]|0)+-1|0;c[d+8>>2]=a;if((a|0)>(c[d+16>>2]|0))b=3}else b=3;if((b|0)==3)OGa(c[d+24>>2]|0,2,324192)|0;b=(c[d+4>>2]|0)+-1|0;c[d+4>>2]=b;if((b|0)>=(c[d+16>>2]|0))OGa(c[d+24>>2]|0,3,324223)|0;while(1){if((c[d+8>>2]|0)>(c[d+4>>2]|0)){b=11;break}c[d>>2]=Rr((c[d+12>>2]|0)+(c[d+8>>2]|0)|0,0)|0;if(!(c[d>>2]|0)){b=9;break}c[d+8>>2]=(c[d>>2]|0)-(c[d+12>>2]|0);c[d+20>>2]=(c[d+20>>2]|0)+1}if((b|0)==9){HDa(c[d+24>>2]|0);JDa(c[d+24>>2]|0,(c[d+8>>2]|0)+1|0);c[d+28>>2]=2;b=c[d+28>>2]|0;i=d;return b|0}else if((b|0)==11){JDa(c[d+24>>2]|0,c[d+20>>2]|0);c[d+28>>2]=1;b=c[d+28>>2]|0;i=d;return b|0}return 0}function Wr(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;UGa(c[b>>2]|0,1,0)|0;ODa(c[b>>2]|0,1486,0);pDa(c[b>>2]|0,1);JDa(c[b>>2]|0,0);i=b;return 3}function Xr(b){b=b|0;var d=0;d=i;i=i+32|0;c[d+24>>2]=b;c[d+16>>2]=UGa(c[d+24>>2]|0,1,d+20|0)|0;c[d+12>>2]=(zDa(c[d+24>>2]|0,2)|0)-1;a:do if((c[d+12>>2]|0)<0)c[d+12>>2]=0;else if((c[d+12>>2]|0)<(c[d+20>>2]|0)){c[d+12>>2]=(c[d+12>>2]|0)+1;while(1){if((a[(c[d+16>>2]|0)+(c[d+12>>2]|0)>>0]&192|0)!=128)break a;c[d+12>>2]=(c[d+12>>2]|0)+1}}while(0);if((c[d+12>>2]|0)>=(c[d+20>>2]|0)){c[d+28>>2]=0;b=c[d+28>>2]|0;i=d;return b|0}c[d+4>>2]=Rr((c[d+16>>2]|0)+(c[d+12>>2]|0)|0,d+8|0)|0;if(c[d+4>>2]|0)if((a[c[d+4>>2]>>0]&192|0)!=128){JDa(c[d+24>>2]|0,(c[d+12>>2]|0)+1|0);JDa(c[d+24>>2]|0,c[d+8>>2]|0);c[d+28>>2]=2;b=c[d+28>>2]|0;i=d;return b|0}c[d+28>>2]=PGa(c[d+24>>2]|0,324154,d)|0;b=c[d+28>>2]|0;i=d;return b|0}function Yr(a,b,c){a=+a;b=+b;c=+c;var e=0,f=0.0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0;o=a-+((!(a>0.0)<<31>>31)+~~a|0);p=b-+((!(b>0.0)<<31>>31)+~~b|0);q=c-+((!(c>0.0)<<31>>31)+~~c|0);n=(!(a>0.0)<<31>>31)+~~a+1&255;j=(!(b>0.0)<<31>>31)+~~b+1&255;k=(!(a>0.0)<<31>>31)+~~a&255;g=(!(b>0.0)<<31>>31)+~~b&255;h=d[324287+((!(c>0.0)<<31>>31)+~~c&255)>>0]|0;m=d[324287+(h+g)>>0]|0;e=d[324287+(m+k)>>0]|0;a=(e&15)>>>0<8?o:p;if((e&15)>>>0<4)b=p;else b=(e&15|2|0)==14?o:q;f=(e&1|0?-a:a)+(e&2|0?-b:b);i=d[324287+((!(c>0.0)<<31>>31)+~~c+1&255)>>0]|0;l=d[324287+(i+g)>>0]|0;e=d[324287+(l+k)>>0]|0;b=(e&15)>>>0<8?o:p;if((e&15)>>>0<4)a=p;else a=(e&15|2|0)==14?o:q+-1.0;c=f+q*(q*q)*(q*(q*6.0+-15.0)+10.0)*((e&1|0?-b:b)+(e&2|0?-a:a)-f);h=d[324287+(h+j)>>0]|0;e=d[324287+(h+k)>>0]|0;a=(e&15)>>>0<8?o:p+-1.0;if((e&15)>>>0<4)b=p+-1.0;else b=(e&15|2|0)==14?o:q;f=(e&1|0?-a:a)+(e&2|0?-b:b);g=d[324287+(i+j)>>0]|0;e=d[324287+(g+k)>>0]|0;a=(e&15)>>>0<8?o:p+-1.0;if((e&15)>>>0<4)b=p+-1.0;else b=(e&15|2|0)==14?o:q+-1.0;c=c+p*(p*p)*(p*(p*6.0+-15.0)+10.0)*(f+q*(q*q)*(q*(q*6.0+-15.0)+10.0)*((e&1|0?-a:a)+(e&2|0?-b:b)-f)-c);e=d[324287+(m+n)>>0]|0;a=(e&15)>>>0<8?o+-1.0:p;if((e&15)>>>0<4)b=p;else b=(e&15|2|0)==14?o+-1.0:q;f=(e&1|0?-a:a)+(e&2|0?-b:b);e=d[324287+(l+n)>>0]|0;a=(e&15)>>>0<8?o+-1.0:p;if((e&15)>>>0<4)b=p;else b=(e&15|2|0)==14?o+-1.0:q+-1.0;f=f+q*(q*q)*(q*(q*6.0+-15.0)+10.0)*((e&1|0?-a:a)+(e&2|0?-b:b)-f);e=d[324287+(h+n)>>0]|0;a=(e&15)>>>0<8?o+-1.0:p+-1.0;if((e&15)>>>0<4)b=p+-1.0;else b=(e&15|2|0)==14?o+-1.0:q;b=(e&1|0?-a:a)+(e&2|0?-b:b);e=d[324287+(g+n)>>0]|0;a=(e&15)>>>0<8?o+-1.0:p+-1.0;if((e&15)>>>0<4){s=p+-1.0;n=e&1;n=(n|0)!=0;r=-a;r=n?r:a;n=e&2;n=(n|0)!=0;a=-s;a=n?a:s;a=r+a;a=a-b;q=q*(q*q)*(q*(q*6.0+-15.0)+10.0)*a;q=b+q;q=q-f;q=p*(p*p)*(p*(p*6.0+-15.0)+10.0)*q;q=f+q;q=q-c;q=o*(o*o)*(o*(o*6.0+-15.0)+10.0)*q;q=c+q;q=q*.9359999895095825;return +q}s=(e&15|2|0)==14?o+-1.0:q+-1.0;n=e&1;n=(n|0)!=0;r=-a;r=n?r:a;n=e&2;n=(n|0)!=0;a=-s;s=n?a:s;s=r+s;s=s-b;s=q*(q*q)*(q*(q*6.0+-15.0)+10.0)*s;s=b+s;s=s-f;s=p*(p*p)*(p*(p*6.0+-15.0)+10.0)*s;s=f+s;s=s-c;s=o*(o*o)*(o*(o*6.0+-15.0)+10.0)*s;s=c+s;s=s*.9359999895095825;return +s}function Zr(a,b,c,e){a=+a;b=+b;c=+c;e=+e;var f=0.0,g=0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;m=a-+((!(a>0.0)<<31>>31)+~~a|0);l=b-+((!(b>0.0)<<31>>31)+~~b|0);k=c-+((!(c>0.0)<<31>>31)+~~c|0);j=e-+((!(e>0.0)<<31>>31)+~~e|0);g=(!(a>0.0)<<31>>31)+~~a+1&255;n=(!(b>0.0)<<31>>31)+~~b+1&255;w=(!(c>0.0)<<31>>31)+~~c+1&255;v=(!(a>0.0)<<31>>31)+~~a&255;r=(!(b>0.0)<<31>>31)+~~b&255;p=(!(c>0.0)<<31>>31)+~~c&255;o=d[324287+((!(e>0.0)<<31>>31)+~~e&255)>>0]|0;q=d[324287+(o+p)>>0]|0;u=d[324287+(q+r)>>0]|0;x=d[324287+(u+v)>>0]|0;b=(x&31)>>>0<24?m:l;c=(x&31)>>>0<16?l:k;a=(x&31)>>>0<8?k:j;c=(x&4|0?-a:a)+((x&1|0?-b:b)+(x&2|0?-c:c));x=d[324287+((!(e>0.0)<<31>>31)+~~e+1&255)>>0]|0;p=d[324287+(x+p)>>0]|0;t=d[324287+(p+r)>>0]|0;s=d[324287+(t+v)>>0]|0;b=(s&31)>>>0<24?m:l;a=(s&31)>>>0<16?l:k;e=(s&31)>>>0<8?k:j+-1.0;c=c+j*(j*j)*(j*(j*6.0+-15.0)+10.0)*((s&4|0?-e:e)+((s&1|0?-b:b)+(s&2|0?-a:a))-c);o=d[324287+(o+w)>>0]|0;s=d[324287+(o+r)>>0]|0;y=d[324287+(s+v)>>0]|0;a=(y&31)>>>0<24?m:l;b=(y&31)>>>0<16?l:k+-1.0;e=(y&31)>>>0<8?k+-1.0:j;b=(y&4|0?-e:e)+((y&1|0?-a:a)+(y&2|0?-b:b));w=d[324287+(x+w)>>0]|0;r=d[324287+(w+r)>>0]|0;x=d[324287+(r+v)>>0]|0;a=(x&31)>>>0<24?m:l;e=(x&31)>>>0<16?l:k+-1.0;h=(x&31)>>>0<8?k+-1.0:j+-1.0;c=c+k*(k*k)*(k*(k*6.0+-15.0)+10.0)*(b+j*(j*j)*(j*(j*6.0+-15.0)+10.0)*((x&4|0?-h:h)+((x&1|0?-a:a)+(x&2|0?-e:e))-b)-c);q=d[324287+(q+n)>>0]|0;x=d[324287+(q+v)>>0]|0;b=(x&31)>>>0<24?m:l+-1.0;e=(x&31)>>>0<16?l+-1.0:k;a=(x&31)>>>0<8?k:j;e=(x&4|0?-a:a)+((x&1|0?-b:b)+(x&2|0?-e:e));p=d[324287+(p+n)>>0]|0;x=d[324287+(p+v)>>0]|0;b=(x&31)>>>0<24?m:l+-1.0;a=(x&31)>>>0<16?l+-1.0:k;h=(x&31)>>>0<8?k:j+-1.0;e=e+j*(j*j)*(j*(j*6.0+-15.0)+10.0)*((x&4|0?-h:h)+((x&1|0?-b:b)+(x&2|0?-a:a))-e);o=d[324287+(o+n)>>0]|0;x=d[324287+(o+v)>>0]|0;a=(x&31)>>>0<24?m:l+-1.0;b=(x&31)>>>0<16?l+-1.0:k+-1.0;h=(x&31)>>>0<8?k+-1.0:j;b=(x&4|0?-h:h)+((x&1|0?-a:a)+(x&2|0?-b:b));n=d[324287+(w+n)>>0]|0;v=d[324287+(n+v)>>0]|0;a=(v&31)>>>0<24?m:l+-1.0;h=(v&31)>>>0<16?l+-1.0:k+-1.0;f=(v&31)>>>0<8?k+-1.0:j+-1.0;c=c+l*(l*l)*(l*(l*6.0+-15.0)+10.0)*(e+k*(k*k)*(k*(k*6.0+-15.0)+10.0)*(b+j*(j*j)*(j*(j*6.0+-15.0)+10.0)*((v&4|0?-f:f)+((v&1|0?-a:a)+(v&2|0?-h:h))-b)-e)-c);u=d[324287+(u+g)>>0]|0;e=(u&31)>>>0<24?m+-1.0:l;b=(u&31)>>>0<16?l:k;h=(u&31)>>>0<8?k:j;b=(u&4|0?-h:h)+((u&1|0?-e:e)+(u&2|0?-b:b));t=d[324287+(t+g)>>0]|0;e=(t&31)>>>0<24?m+-1.0:l;h=(t&31)>>>0<16?l:k;a=(t&31)>>>0<8?k:j+-1.0;b=b+j*(j*j)*(j*(j*6.0+-15.0)+10.0)*((t&4|0?-a:a)+((t&1|0?-e:e)+(t&2|0?-h:h))-b);s=d[324287+(s+g)>>0]|0;h=(s&31)>>>0<24?m+-1.0:l;e=(s&31)>>>0<16?l:k+-1.0;a=(s&31)>>>0<8?k+-1.0:j;e=(s&4|0?-a:a)+((s&1|0?-h:h)+(s&2|0?-e:e));r=d[324287+(r+g)>>0]|0;h=(r&31)>>>0<24?m+-1.0:l;a=(r&31)>>>0<16?l:k+-1.0;f=(r&31)>>>0<8?k+-1.0:j+-1.0;b=b+k*(k*k)*(k*(k*6.0+-15.0)+10.0)*(e+j*(j*j)*(j*(j*6.0+-15.0)+10.0)*((r&4|0?-f:f)+((r&1|0?-h:h)+(r&2|0?-a:a))-e)-b);q=d[324287+(q+g)>>0]|0;e=(q&31)>>>0<24?m+-1.0:l+-1.0;a=(q&31)>>>0<16?l+-1.0:k;h=(q&31)>>>0<8?k:j;a=(q&4|0?-h:h)+((q&1|0?-e:e)+(q&2|0?-a:a));p=d[324287+(p+g)>>0]|0;e=(p&31)>>>0<24?m+-1.0:l+-1.0;h=(p&31)>>>0<16?l+-1.0:k;f=(p&31)>>>0<8?k:j+-1.0;a=a+j*(j*j)*(j*(j*6.0+-15.0)+10.0)*((p&4|0?-f:f)+((p&1|0?-e:e)+(p&2|0?-h:h))-a);o=d[324287+(o+g)>>0]|0;h=(o&31)>>>0<24?m+-1.0:l+-1.0;e=(o&31)>>>0<16?l+-1.0:k+-1.0;f=(o&31)>>>0<8?k+-1.0:j;e=(o&4|0?-f:f)+((o&1|0?-h:h)+(o&2|0?-e:e));g=d[324287+(n+g)>>0]|0;h=(g&31)>>>0<24?m+-1.0:l+-1.0;f=(g&31)>>>0<16?l+-1.0:k+-1.0;i=(g&31)>>>0<8?k+-1.0:j+-1.0;return +((c+m*(m*m)*(m*(m*6.0+-15.0)+10.0)*(b+l*(l*l)*(l*(l*6.0+-15.0)+10.0)*(a+k*(k*k)*(k*(k*6.0+-15.0)+10.0)*(e+j*(j*j)*(j*(j*6.0+-15.0)+10.0)*((g&4|0?-i:i)+((g&1|0?-h:h)+(g&2|0?-f:f))-e)-a)-b)-c))*.8700000047683716)}function _r(a){a=+a;var b=0,c=0.0,e=0.0,f=0;c=a-+((!(a>0.0)<<31>>31)+~~a|0);f=d[324287+((!(a>0.0)<<31>>31)+~~a&255)>>0]|0;e=(1.0-(c+-1.0)*(c+-1.0))*(1.0-(c+-1.0)*(c+-1.0));b=d[324287+((!(a>0.0)<<31>>31)+~~a+1&255)>>0]|0;return +(((1.0-c*c)*(1.0-c*c)*((1.0-c*c)*(1.0-c*c))*(c*((f&8|0)==0?+((f&7)+1|0):-+((f&7)+1|0)))+e*e*((c+-1.0)*((b&8|0)==0?+((b&7)+1|0):-+((b&7)+1|0))))*.39500001072883606)}function $r(a,b){a=+a;b=+b;var c=0.0,e=0.0,f=0.0,g=0,h=0,i=0,j=0.0;h=(!((a+b)*.366025403+a>0.0)<<31>>31)+~~((a+b)*.366025403+a)|0;g=(!((a+b)*.366025403+b>0.0)<<31>>31)+~~((a+b)*.366025403+b)|0;f=a-(+(h|0)-+(h+g|0)*.211324865);c=b-(+(g|0)-+(h+g|0)*.211324865);a=c-+(f>c^1|0)+.211324865;if(.5-f*f-c*c<0.0)e=0.0;else{b=(.5-f*f-c*c)*(.5-f*f-c*c);i=d[324287+((d[324287+(g&255)>>0]|0)+(h&255))>>0]|0;e=(i&4)>>>0<4?f:c;e=b*b*((i&1|0?-e:e)+((i&4)>>>0<4?c:f)*(i&2|0?-2.0:2.0))}b=.5-(f-+(f>c&1)+.211324865)*(f-+(f>c&1)+.211324865)-a*a;if(b<0.0)b=0.0;else{i=d[324287+((f>c&1)+(h&255)+(d[324287+((f>c^1)+(g&255))>>0]|0))>>0]|0;j=(i&4)>>>0<4?f-+(f>c&1)+.211324865:a;b=b*b*(b*b)*((i&1|0?-j:j)+((i&4)>>>0<4?a:f-+(f>c&1)+.211324865)*(i&2|0?-2.0:2.0))}a=.5-(f+-1.0+.42264973)*(f+-1.0+.42264973)-(c+-1.0+.42264973)*(c+-1.0+.42264973);if(a<0.0){j=0.0;f=e+b;j=f+j;j=j*45.22999954223633;return +j}i=d[324287+((h&255)+1+(d[324287+((g&255)+1)>>0]|0))>>0]|0;j=(i&4)>>>0<4?f+-1.0+.42264973:c+-1.0+.42264973;j=a*a*(a*a)*((i&1|0?-j:j)+((i&4)>>>0<4?c+-1.0+.42264973:f+-1.0+.42264973)*(i&2|0?-2.0:2.0));f=e+b;j=f+j;j=j*45.22999954223633;return +j}function as(a){a=a|0;c[a>>2]=12056;Mqb(a+4|0);return}function bs(a){a=a|0;c[a>>2]=12056;Mqb(a+4|0);oAb(a);return}function cs(b){b=b|0;if(!(a[b+4>>0]&1)){b=b+4+1|0;return b|0}else{b=c[b+12>>2]|0;return b|0}return 0}function ds(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0;j=i;i=i+32|0;c[b>>2]=12056;c[b+4>>2]=0;c[b+4+4>>2]=0;c[b+4+8>>2]=0;f=256;while(1){h=_Ab((f|0)>-1?f:-1)|0;hBb(h|0,0,f|0)|0;c[j+16>>2]=e;g=tmb(h,f,d,j+16|0)|0;if((g|0)==(f+-1|0)|((g|0)==(f|0)|(g|0)==-1))f=f<<1;else{if((g|0)<=(f|0))break;f=g+2|0}aBb(h)}Iqb(j,h,rnb(h)|0);if(!(a[b+4>>0]&1)){a[b+4+1>>0]=0;a[b+4>>0]=0}else{a[c[b+12>>2]>>0]=0;c[b+8>>2]=0}Qqb(b+4|0,0);c[b+4>>2]=c[j>>2];c[b+4+4>>2]=c[j+4>>2];c[b+4+8>>2]=c[j+8>>2];c[j>>2]=0;c[j+4>>2]=0;c[j+8>>2]=0;Mqb(j);aBb(h);i=j;return}function es(a,b){a=a|0;b=b|0;if((qDa(a,-1)|0)==(b|0)){b=YAb(12)|0;h_(b,a);return b|0}else{lDa(a,-2);b=0;return b|0}return 0}function fs(a,b){a=a|0;b=b|0;return (ADa(a,b)|0)!=0|0}function gs(a,b){a=a|0;b=b|0;PDa(a,b&1);return}function hs(a,b,c){a=a|0;b=b|0;c=c|0;if((qDa(a,b)|0)!=1){b=c;return b|0}b=(ADa(a,b)|0)==1;return b|0}function is(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;d=BDa(b,d,e)|0;Iqb(a,d,c[e>>2]|0);i=e;return}function js(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;d=UGa(b,d,e)|0;Iqb(a,d,c[e>>2]|0);i=e;return}function ks(b,d){b=b|0;d=d|0;var e=0;e=a[d>>0]|0;KDa(b,(e&1)==0?d+1|0:c[d+8>>2]|0,(e&1)==0?(e&255)>>>1:c[d+4>>2]|0);return}function ls(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;TDa(a,b,c);if((qDa(a,-1)|0)>=1)d=(ADa(a,-1)|0)!=0;lDa(a,-2);return d|0}function ms(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;TDa(a,b,c);if(tDa(a,-1)|0)d=zDa(a,-1)|0;lDa(a,-2);return d|0}function ns(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;d=kDa(a)|0;if((d|0)>=(b|0)){b=0;i=e;return b|0}c[e>>2]=d;c[e+4>>2]=b;b=PGa(a,324817,e)|0;i=e;return b|0}function os(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;e=kDa(a)|0;if(!((e|0)<(b|0)|(e|0)>(d|0))){b=0;i=f;return b|0}c[f>>2]=e;c[f+4>>2]=b;c[f+8>>2]=d;b=PGa(a,324881,f)|0;i=f;return b|0}function ps(a,b){a=a|0;b=b|0;TDa(a,-10002,521011);LDa(a,b);dEa(a,1,1);return 1}function qs(a,b){a=a|0;b=b|0;var d=0,e=0;Ts(c[b+8>>2]|0,c[b+4>>2]|0);rs(a,324939)|0;d=nEa(a,8)|0;e=c[b>>2]|0;c[d+4>>2]=e;c[d>>2]=c[b+8>>2];VGa(a,vi[c[(c[e>>2]|0)+20>>2]&2047](e)|0)|0;pDa(a,-1);_Da(a,-2,520409);ODa(a,1487,0);_Da(a,-2,520300);bEa(a,-2)|0;_Da(a,-2,c[b+4>>2]|0);lDa(a,-2);TDa(a,-10002,442638);if((qDa(a,-1)|0)!=5){lDa(a,-2);WDa(a,0,0);pDa(a,-1);_Da(a,-10002,442638)}WDa(a,0,0);d=c[b+12>>2]|0;if(d|0)if(c[d>>2]|0)do{ODa(a,c[d+4>>2]|0,0);_Da(a,-2,c[d>>2]|0);d=d+8|0}while((c[d>>2]|0)!=0);e=c[b+16>>2]|0;if(e|0){d=c[e>>2]|0;if(d|0)do{vi[d&2047](a)|0;e=e+4|0;d=c[e>>2]|0}while((d|0)!=0)}pDa(a,-1);_Da(a,-3,c[b+4>>2]|0);mDa(a,-2);Bj(c[b>>2]|0);return 1}function rs(a,b){a=a|0;b=b|0;TDa(a,-10002,442638);if((qDa(a,-1)|0)!=5){lDa(a,-2);WDa(a,0,0);pDa(a,-1);_Da(a,-10002,442638)}ss(a,-1,b)|0;oDa(a,-2);return 1}function ss(a,b,c){a=a|0;b=b|0;c=c|0;if(b>>>0>4294957296)b=b+1+(kDa(a)|0)|0;TDa(a,b,c);if((qDa(a,-1)|0)==5)return 1;lDa(a,-2);WDa(a,0,0);pDa(a,-1);_Da(a,b,c);return 1}function ts(a){a=a|0;a=c[(EDa(a,1)|0)+4>>2]|0;Hi[c[(c[a>>2]|0)+12>>2]&1023](a);return 0}function us(a,b){a=a|0;b=b|0;var c=0;c=i;i=i+16|0;switch(b|0){case 0:{rs(a,324939)|0;a=1;break}case 1:{TDa(a,-1e4,324948);if((qDa(a,-1)|0)==5)a=1;else{lDa(a,-2);WDa(a,0,0);pDa(a,-1);_Da(a,-1e4,324948);a=1}break}default:a=PGa(a,324961,c)|0}i=c;return a|0}function vs(a,b){a=a|0;b=b|0;TDa(a,-10002,b);if((qDa(a,-1)|0)==5)return 1;lDa(a,-2);WDa(a,0,0);pDa(a,-1);_Da(a,-10002,b);return 1}function ws(a,b,c){a=a|0;b=b|0;c=c|0;TDa(a,-10002,520305);TDa(a,-1,520417);ODa(a,b,0);_Da(a,-2,c);lDa(a,-3);return 0}function xs(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+16|0;Ts(b,d);TDa(a,-1e4,324948);if((qDa(a,-1)|0)==5)lDa(a,-2);else{WDa(a,0,0);oDa(a,-2);WDa(a,0,0);KDa(a,439741,1);_Da(a,-2,517912);bEa(a,-2)|0;_Da(a,-1e4,324948)}VGa(a,d)|0;pDa(a,-1);_Da(a,-2,520409);ODa(a,1487,0);_Da(a,-2,520300);ODa(a,1488,0);_Da(a,-2,516215);LDa(a,d);ODa(a,1489,1);_Da(a,-2,518860);LDa(a,d);ODa(a,1490,1);_Da(a,-2,518979);ODa(a,1491,0);_Da(a,-2,324996);c[f>>2]=e;e=(c[f>>2]|0)+(4-1)&~(4-1);d=c[e>>2]|0;c[f>>2]=e+4;if(!d){lDa(a,-2);i=f;return 0}do{if(c[d>>2]|0)do{ODa(a,c[d+4>>2]|0,0);_Da(a,-2,c[d>>2]|0);d=d+8|0}while((c[d>>2]|0)!=0);e=(c[f>>2]|0)+(4-1)&~(4-1);d=c[e>>2]|0;c[f>>2]=e+4}while((d|0)!=0);lDa(a,-2);i=f;return 0}function ys(a){a=a|0;var b=0,d=0;d=EDa(a,1)|0;b=EDa(a,2)|0;PDa(a,(c[d+4>>2]|0)==(c[b+4>>2]|0)&1);return 1}function zs(a){a=a|0;var b=0,d=0,e=0;b=i;i=i+16|0;d=EDa(a,1)|0;e=BDa(a,-10003,0)|0;d=c[d+4>>2]|0;c[b>>2]=e;c[b+4>>2]=d;NDa(a,517831,b)|0;i=b;return 1}function As(a){a=a|0;pDa(a,-10003);return 1}function Bs(a){a=a|0;var b=0,d=0,e=0;b=i;i=i+16|0;e=EDa(a,1)|0;c[b>>2]=0;Us(UGa(a,2,0)|0,b)|0;d=c[b>>2]|0;PDa(a,(c[(c[155773]|0)+(c[e>>2]<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0)!=0&1);i=b;return 1}function Cs(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d>>2]=0;if(Vs(b,d)|0){TDa(a,-1e4,c[d>>2]|0);i=d;return}else{HDa(a);i=d;return}}function Ds(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;if((b|0)<0)b=b+1+(kDa(a)|0)|0;if((c|0)<0)e=c+1+(kDa(a)|0)|0;else e=c;if((d|0)==-1){pDa(a,e);aEa(a,b,(CDa(a,b)|0)+1|0);return 0}if((d|0)<0)d=d+1+(CDa(a,b)|0)|0;c=CDa(a,b)|0;if((c|0)>=(d|0)){c=c+1|0;do{f=c;c=c+-1|0;VDa(a,b,c);aEa(a,b,f)}while((c|0)>(d|0))}pDa(a,e);aEa(a,b,d);return 0}function Es(a,b){a=a|0;b=b|0;return CDa(a,b)|0}function Fs(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=i;i=i+16|0;TDa(a,-10002,520305);if(!(qDa(a,-1)|0)){c=PGa(a,325003,d)|0;i=d;return c|0}TDa(a,-1,520641);if(!(qDa(a,-1)|0)){lDa(a,-2);TDa(a,-1,325058)}if(!(qDa(a,-1)|0)){c=PGa(a,325068,d+8|0)|0;i=d;return c|0}else{ODa(a,b,0);Ds(a,-2,-1,c)|0;lDa(a,-4);c=0;i=d;return c|0}return 0}function Gs(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=i;i=i+16|0;if(!d){HDa(a);i=e;return}TDa(a,-1e4,324948);if((qDa(a,-1)|0)!=5){lDa(a,-2);f=nEa(a,8)|0;Hi[c[(c[d>>2]|0)+8>>2]&1023](d);c[f+4>>2]=d;c[f>>2]=b;c[e>>2]=439265;Vs(b,e)|0;VGa(a,c[e>>2]|0)|0;bEa(a,-2)|0;i=e;return}QDa(a,d);SDa(a,-2);if((qDa(a,-1)|0)!=7){lDa(a,-2);f=nEa(a,8)|0;Hi[c[(c[d>>2]|0)+8>>2]&1023](d);c[f+4>>2]=d;c[f>>2]=b;c[e>>2]=439265;Vs(b,e)|0;VGa(a,c[e>>2]|0)|0;bEa(a,-2)|0;QDa(a,d);pDa(a,-2);ZDa(a,-4)}mDa(a,-2);i=e;return}function Hs(a,b,d){a=a|0;b=b|0;d=d|0;if((qDa(a,b)|0)!=7){d=0;return d|0}a=c[(EDa(a,b)|0)>>2]|0;if((a+-1|0)>>>0>=59){d=0;return d|0}d=(c[(c[155773]|0)+(a<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0)!=0;return d|0}function Is(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+32|0;TDa(a,-10002,442638);if(!(qDa(a,-1)|0)){b=PGa(a,325131,e)|0;i=e;return b|0}TDa(a,-1,b);if(!(qDa(a,-1)|0)){c[e+8>>2]=b;b=PGa(a,325159,e+8|0)|0;i=e;return b|0}TDa(a,-1,d);if(!(qDa(a,-1)|0)){c[e+16>>2]=b;c[e+16+4>>2]=d;b=PGa(a,325183,e+16|0)|0;i=e;return b|0}else{mDa(a,-2);mDa(a,-2);b=0;i=e;return b|0}return 0}function Js(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=i;i=i+16|0;if(b>>>0>4294957296)b=b+1+(kDa(a)|0)|0;Is(a,c,d)|0;pDa(a,b);dEa(a,1,2);do if((qDa(a,-2)|0)<1)if(!(uDa(a,-1)|0)){PGa(a,517348,e+8|0)|0;break}else{PGa(a,BDa(a,-1,0)|0,e)|0;break}while(0);lDa(a,-2);oDa(a,b);i=e;return 0}function Ks(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=i;i=i+16|0;Is(a,e,f)|0;if((d|0)>0){f=0;do{pDa(a,c[b+(f<<2)>>2]|0);f=f+1|0}while((f|0)!=(d|0))}dEa(a,d,2);do if((qDa(a,-2)|0)<1)if(!(uDa(a,-1)|0)){PGa(a,517348,g+8|0)|0;break}else{PGa(a,BDa(a,-1,0)|0,g)|0;break}while(0);lDa(a,-2);if((d|0)<=0){i=g;return 0}oDa(a,c[b>>2]|0);i=g;return 0}function Ls(a){a=a|0;var b=0;TDa(a,-1e4,325210);if((qDa(a,-1)|0)<1){lDa(a,-2);RDa(a)|0;pDa(a,-1);_Da(a,-1e4,325210)}b=FDa(a,-1)|0;lDa(a,-2);return b|0}function Ms(a){a=a|0;var b=0;TDa(a,-1e4,325210);b=FDa(a,-1)|0;lDa(a,-2);return b|0}function Ns(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+16|0;f=qDa(a,b)|0;if((f|0)==7)if(!(cHa(a,b,518979)|0))g=6;else{pDa(a,b);if(!(eEa(a,1,1,0)|0))if((qDa(a,-1)|0)==4){e=BDa(a,-1,0)|0;if((e|0)==0|(Us(e,h+8|0)|0)^1)g=6}else g=6;else g=6}else g=6;if((g|0)==6)e=rDa(a,f)|0;c[h>>2]=d;c[h+4>>2]=e;g=OGa(a,b,NDa(a,516686,h)|0)|0;i=h;return g|0}function Os(a,b,d){a=a|0;b=b|0;d=d|0;if(b|0){WDa(a,0,0);if(d|0)if(c[d>>2]|0)do{ODa(a,c[d+4>>2]|0,0);_Da(a,-2,c[d>>2]|0);d=d+8|0}while((c[d>>2]|0)!=0);pDa(a,-1);_Da(a,-10002,b);return}if(!d)return;if(!(c[d>>2]|0))return;do{ODa(a,c[d+4>>2]|0,0);_Da(a,-2,c[d>>2]|0);d=d+8|0}while((c[d>>2]|0)!=0);return}function Ps(){var a=0,b=0;a=i;i=i+480|0;c[a+472>>2]=1;c[a+472+4>>2]=0;Qs(a+472|0,0)|0;b=c[a+472+4>>2]|0;c[155136]=c[a+472>>2];c[155137]=b;c[a+464>>2]=1;c[a+464+4>>2]=0;Qs(a+464|0,1)|0;b=c[a+464+4>>2]|0;c[155138]=c[a+464>>2];c[155139]=b;c[a+456>>2]=1;c[a+456+4>>2]=0;Qs(a+456|0,2)|0;b=c[a+456+4>>2]|c[155139];c[155140]=c[a+456>>2]|c[155138];c[155141]=b;c[a+448>>2]=1;c[a+448+4>>2]=0;Qs(a+448|0,3)|0;b=c[a+448+4>>2]|c[155139];c[155142]=c[a+448>>2]|c[155138];c[155143]=b;c[a+440>>2]=1;c[a+440+4>>2]=0;Qs(a+440|0,4)|0;b=c[a+440+4>>2]|c[155139];c[155144]=c[a+440>>2]|c[155138];c[155145]=b;c[a+432>>2]=1;c[a+432+4>>2]=0;Qs(a+432|0,5)|0;b=c[a+432+4>>2]|c[155139];c[155146]=c[a+432>>2]|c[155138];c[155147]=b;c[a+424>>2]=1;c[a+424+4>>2]=0;Qs(a+424|0,6)|0;b=c[a+424+4>>2]|c[155147];c[155148]=c[a+424>>2]|c[155146];c[155149]=b;c[a+416>>2]=1;c[a+416+4>>2]=0;Qs(a+416|0,7)|0;b=c[a+416+4>>2]|c[155141];c[155150]=c[a+416>>2]|c[155140];c[155151]=b;c[a+408>>2]=1;c[a+408+4>>2]=0;Qs(a+408|0,8)|0;b=c[a+408+4>>2]|c[155141];c[155152]=c[a+408>>2]|c[155140];c[155153]=b;c[a+400>>2]=1;c[a+400+4>>2]=0;Qs(a+400|0,9)|0;b=c[a+400+4>>2]|c[155139];c[155154]=c[a+400>>2]|c[155138];c[155155]=b;c[a+392>>2]=1;c[a+392+4>>2]=0;Qs(a+392|0,10)|0;b=c[a+392+4>>2]|c[155139];c[155156]=c[a+392>>2]|c[155138];c[155157]=b;c[a+384>>2]=1;c[a+384+4>>2]=0;Qs(a+384|0,11)|0;b=c[a+384+4>>2]|c[155157];c[155158]=c[a+384>>2]|c[155156];c[155159]=b;c[a+376>>2]=1;c[a+376+4>>2]=0;Qs(a+376|0,12)|0;b=c[a+376+4>>2]|c[155159];c[155160]=c[a+376>>2]|c[155158];c[155161]=b;c[a+368>>2]=1;c[a+368+4>>2]=0;Qs(a+368|0,13)|0;b=c[a+368+4>>2]|c[155139];c[155162]=c[a+368>>2]|c[155138];c[155163]=b;c[a+360>>2]=1;c[a+360+4>>2]=0;Qs(a+360|0,14)|0;b=c[a+360+4>>2]|c[155139];c[155164]=c[a+360>>2]|c[155138];c[155165]=b;c[a+352>>2]=1;c[a+352+4>>2]=0;Qs(a+352|0,15)|0;b=c[a+352+4>>2]|c[155157];c[155166]=c[a+352>>2]|c[155156];c[155167]=b;c[a+344>>2]=1;c[a+344+4>>2]=0;Qs(a+344|0,16)|0;b=c[a+344+4>>2]|c[155157];c[155168]=c[a+344>>2]|c[155156];c[155169]=b;c[a+336>>2]=1;c[a+336+4>>2]=0;Qs(a+336|0,17)|0;b=c[a+336+4>>2]|c[155159];c[155170]=c[a+336>>2]|c[155158];c[155171]=b;c[a+328>>2]=1;c[a+328+4>>2]=0;Qs(a+328|0,18)|0;b=c[a+328+4>>2]|c[155139];c[155172]=c[a+328>>2]|c[155138];c[155173]=b;c[a+320>>2]=1;c[a+320+4>>2]=0;Qs(a+320|0,19)|0;b=c[a+320+4>>2]|c[155157];c[155174]=c[a+320>>2]|c[155156];c[155175]=b;c[a+312>>2]=1;c[a+312+4>>2]=0;Qs(a+312|0,20)|0;b=c[a+312+4>>2]|c[155157];c[155176]=c[a+312>>2]|c[155156];c[155177]=b;c[a+304>>2]=1;c[a+304+4>>2]=0;Qs(a+304|0,21)|0;b=c[a+304+4>>2]|c[155157];c[155178]=c[a+304>>2]|c[155156];c[155179]=b;c[a+296>>2]=1;c[a+296+4>>2]=0;Qs(a+296|0,22)|0;b=c[a+296+4>>2]|c[155141];c[155180]=c[a+296>>2]|c[155140];c[155181]=b;c[a+288>>2]=1;c[a+288+4>>2]=0;Qs(a+288|0,23)|0;b=c[a+288+4>>2]|c[155141];c[155182]=c[a+288>>2]|c[155140];c[155183]=b;c[a+280>>2]=1;c[a+280+4>>2]=0;Qs(a+280|0,24)|0;b=c[a+280+4>>2]|c[155139];c[155184]=c[a+280>>2]|c[155138];c[155185]=b;c[a+272>>2]=1;c[a+272+4>>2]=0;Qs(a+272|0,25)|0;b=c[a+272+4>>2]|c[155139];c[155186]=c[a+272>>2]|c[155138];c[155187]=b;c[a+264>>2]=1;c[a+264+4>>2]=0;Qs(a+264|0,26)|0;b=c[a+264+4>>2]|c[155139];c[155188]=c[a+264>>2]|c[155138];c[155189]=b;c[a+256>>2]=1;c[a+256+4>>2]=0;Qs(a+256|0,27)|0;b=c[a+256+4>>2]|c[155141];c[155190]=c[a+256>>2]|c[155140];c[155191]=b;c[a+248>>2]=1;c[a+248+4>>2]=0;Qs(a+248|0,28)|0;b=c[a+248+4>>2]|c[155139];c[155192]=c[a+248>>2]|c[155138];c[155193]=b;c[a+240>>2]=1;c[a+240+4>>2]=0;Qs(a+240|0,29)|0;b=c[a+240+4>>2]|c[155141];c[155194]=c[a+240>>2]|c[155140];c[155195]=b;c[a+232>>2]=1;c[a+232+4>>2]=0;Qs(a+232|0,30)|0;b=c[a+232+4>>2]|0;c[155196]=c[a+232>>2];c[155197]=b;c[a+224>>2]=1;c[a+224+4>>2]=0;Qs(a+224|0,31)|0;b=c[a+224+4>>2]|c[155139];c[155198]=c[a+224>>2]|c[155138];c[155199]=b;c[a+216>>2]=1;c[a+216+4>>2]=0;Qs(a+216|0,32)|0;b=c[a+216+4>>2]|c[155139];c[155200]=c[a+216>>2]|c[155138];c[155201]=b;c[a+208>>2]=1;c[a+208+4>>2]=0;Qs(a+208|0,33)|0;b=c[a+208+4>>2]|c[155139];c[155202]=c[a+208>>2]|c[155138];c[155203]=b;c[a+200>>2]=1;c[a+200+4>>2]=0;Qs(a+200|0,34)|0;b=c[a+200+4>>2]|c[155139];c[155204]=c[a+200>>2]|c[155138];c[155205]=b;c[a+192>>2]=1;c[a+192+4>>2]=0;Qs(a+192|0,35)|0;b=c[a+192+4>>2]|c[155139];c[155206]=c[a+192>>2]|c[155138];c[155207]=b;c[a+184>>2]=1;c[a+184+4>>2]=0;Qs(a+184|0,36)|0;b=c[a+184+4>>2]|c[155139];c[155208]=c[a+184>>2]|c[155138];c[155209]=b;c[a+176>>2]=1;c[a+176+4>>2]=0;Qs(a+176|0,37)|0;b=c[a+176+4>>2]|c[155209];c[155210]=c[a+176>>2]|c[155208];c[155211]=b;c[a+168>>2]=1;c[a+168+4>>2]=0;Qs(a+168|0,38)|0;b=c[a+168+4>>2]|c[155209];c[155212]=c[a+168>>2]|c[155208];c[155213]=b;c[a+160>>2]=1;c[a+160+4>>2]=0;Qs(a+160|0,39)|0;b=c[a+160+4>>2]|c[155209];c[155214]=c[a+160>>2]|c[155208];c[155215]=b;c[a+152>>2]=1;c[a+152+4>>2]=0;Qs(a+152|0,40)|0;b=c[a+152+4>>2]|c[155209];c[155216]=c[a+152>>2]|c[155208];c[155217]=b;c[a+144>>2]=1;c[a+144+4>>2]=0;Qs(a+144|0,41)|0;b=c[a+144+4>>2]|c[155139];c[155218]=c[a+144>>2]|c[155138];c[155219]=b;c[a+136>>2]=1;c[a+136+4>>2]=0;Qs(a+136|0,42)|0;b=c[a+136+4>>2]|c[155219];c[155220]=c[a+136>>2]|c[155218];c[155221]=b;c[a+128>>2]=1;c[a+128+4>>2]=0;Qs(a+128|0,43)|0;b=c[a+128+4>>2]|c[155219];c[155222]=c[a+128>>2]|c[155218];c[155223]=b;c[a+120>>2]=1;c[a+120+4>>2]=0;Qs(a+120|0,44)|0;b=c[a+120+4>>2]|c[155219];c[155224]=c[a+120>>2]|c[155218];c[155225]=b;c[a+112>>2]=1;c[a+112+4>>2]=0;Qs(a+112|0,45)|0;b=c[a+112+4>>2]|c[155219];c[155226]=c[a+112>>2]|c[155218];c[155227]=b;c[a+104>>2]=1;c[a+104+4>>2]=0;Qs(a+104|0,46)|0;b=c[a+104+4>>2]|c[155219];c[155228]=c[a+104>>2]|c[155218];c[155229]=b;c[a+96>>2]=1;c[a+96+4>>2]=0;Qs(a+96|0,47)|0;b=c[a+96+4>>2]|c[155219];c[155230]=c[a+96>>2]|c[155218];c[155231]=b;c[a+88>>2]=1;c[a+88+4>>2]=0;Qs(a+88|0,48)|0;b=c[a+88+4>>2]|c[155219];c[155232]=c[a+88>>2]|c[155218];c[155233]=b;c[a+80>>2]=1;c[a+80+4>>2]=0;Qs(a+80|0,49)|0;b=c[a+80+4>>2]|c[155219];c[155234]=c[a+80>>2]|c[155218];c[155235]=b;c[a+72>>2]=1;c[a+72+4>>2]=0;Qs(a+72|0,50)|0;b=c[a+72+4>>2]|c[155219];c[155236]=c[a+72>>2]|c[155218];c[155237]=b;c[a+64>>2]=1;c[a+64+4>>2]=0;Qs(a+64|0,51)|0;b=c[a+64+4>>2]|c[155219];c[155238]=c[a+64>>2]|c[155218];c[155239]=b;c[a+56>>2]=1;c[a+56+4>>2]=0;Qs(a+56|0,52)|0;b=c[a+56+4>>2]|c[155219];c[155240]=c[a+56>>2]|c[155218];c[155241]=b;c[a+48>>2]=1;c[a+48+4>>2]=0;Qs(a+48|0,53)|0;b=c[a+48+4>>2]|c[155139];c[155242]=c[a+48>>2]|c[155138];c[155243]=b;c[a+40>>2]=1;c[a+40+4>>2]=0;Qs(a+40|0,54)|0;b=c[a+40+4>>2]|c[155139];c[155244]=c[a+40>>2]|c[155138];c[155245]=b;c[a+32>>2]=1;c[a+32+4>>2]=0;Qs(a+32|0,55)|0;b=c[a+32+4>>2]|c[155145];c[155246]=c[a+32>>2]|c[155144];c[155247]=b;c[a+24>>2]=1;c[a+24+4>>2]=0;Qs(a+24|0,56)|0;b=c[a+24+4>>2]|c[155143];c[155248]=c[a+24>>2]|c[155142];c[155249]=b;c[a+16>>2]=1;c[a+16+4>>2]=0;Qs(a+16|0,57)|0;b=c[a+16+4>>2]|c[155143];c[155250]=c[a+16>>2]|c[155142];c[155251]=b;c[a+8>>2]=1;c[a+8+4>>2]=0;Qs(a+8|0,58)|0;b=c[a+8+4>>2]|c[155143];c[155252]=c[a+8>>2]|c[155142];c[155253]=b;c[a>>2]=1;c[a+4>>2]=0;Qs(a,59)|0;b=c[a+4>>2]|c[155143];c[155254]=c[a>>2]|c[155142];c[155255]=b;c[155773]=620544;Ss(623096,0,0);i=a;return}function Qs(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;f=i;i=i+32|0;e=b>>>0>60?60:b;if((60-e&31|0)==28){b=(60-e|0)>>>5<<5|28;if((b|0)>0){g=(b|0)<28?b:28;c[a+4>>2]=c[a+4>>2]&-268435456|c[a+((60-e|0)>>>5<<2)>>2]&268435455;d=a+4+(0-((b-g|0)>>>5)<<2)|0;nBb(d|0,a+((60-e|0)>>>5<<2)+(0-((b-g|0)>>>5)<<2)|0,(b-g|0)>>>3|0)|0;b=60-e-g&31}else{b=28;d=a+4|0}c[f>>2]=d;c[f+4>>2]=b}else{c[f+24>>2]=a;c[f+24+4>>2]=0;c[f+16>>2]=a+((60-e|0)>>>5<<2);c[f+16+4>>2]=60-e&31;c[f+8>>2]=a+4;c[f+8+4>>2]=28;Rs(f,f+24|0,f+16|0,f+8|0)}if(!e){i=f;return a|0}hBb(a|0,0,e>>>5<<2|0)|0;if((e>>>5<<5|0)==(e|0)){i=f;return a|0}c[a+(e>>>5<<2)>>2]=c[a+(e>>>5<<2)>>2]&~(-1>>>(32-e+(e>>>5<<5)|0));i=f;return a|0}function Rs(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=c[d>>2]|0;h=c[d+4>>2]|0;f=(g-(c[b>>2]|0)<<3)+h-(c[b+4>>2]|0)|0;if((f|0)<=0){d=e+4|0;e=c[e>>2]|0;c[a>>2]=e;a=a+4|0;e=c[d>>2]|0;c[a>>2]=e;return}if(!h)j=e+4|0;else{i=(f|0)<(h|0)?f:h;g=-1<>>(32-h|0)&c[g>>2];b=c[e+4>>2]|0;h=(b|0)<(i|0)?b:i;if(!h)b=i;else{j=c[e>>2]|0;l=c[j>>2]&~(-1<>>(32-b|0));c[j>>2]=l;b=c[e+4>>2]|0;k=c[d+4>>2]|0;c[j>>2]=l|(b>>>0>k>>>0?g<>>(k-b|0));c[e+4>>2]=(c[e+4>>2]|0)-h&31;b=i-h|0}if((b|0)>0){j=(c[e>>2]|0)+-4|0;c[e>>2]=j;l=0-b&31;c[e+4>>2]=l;c[j>>2]=c[j>>2]&~(-1<>2]|0)-(b+h)|0;c[d+4>>2]=l;c[j>>2]=c[j>>2]|g<<(c[e+4>>2]|0)-l;j=e+4|0;f=f-i|0}else{j=e+4|0;f=f-i|0}}b=32-(c[j>>2]|0)|0;if(f>>>0>31){g=f;do{k=(c[d>>2]|0)+-4|0;c[d>>2]=k;k=c[k>>2]|0;l=c[e>>2]|0;c[l>>2]=c[l>>2]&~(-1>>>b)|k>>>b;c[e>>2]=l+-4;i=c[l+-4>>2]&-1>>>b;c[l+-4>>2]=i;c[l+-4>>2]=i|k<>2];g=g+-32|0}while(g>>>0>31);h=f&31}else h=f;if((h|0)<=0){k=j;l=c[e>>2]|0;c[a>>2]=l;l=a+4|0;k=c[k>>2]|0;c[l>>2]=k;return}g=(c[d>>2]|0)+-4|0;c[d>>2]=g;g=c[g>>2]&-1<<32-h;l=c[j>>2]|0;f=(l|0)<(h|0)?l:h;b=c[e>>2]|0;l=c[b>>2]&~(-1<>>(32-l|0));c[b>>2]=l;c[b>>2]=l|g>>>(32-(c[j>>2]|0)|0);c[j>>2]=(c[j>>2]|0)-f&31;f=h-f|0;if((f|0)<=0){k=j;l=c[e>>2]|0;c[a>>2]=l;l=a+4|0;k=c[k>>2]|0;c[l>>2]=k;return}c[e>>2]=b+-4;c[j>>2]=0-f&31;k=c[b+-4>>2]&~(-1<<(0-f&31));c[b+-4>>2]=k;c[b+-4>>2]=k|g<>2]|0);k=j;l=c[e>>2]|0;c[a>>2]=l;l=a+4|0;k=c[k>>2]|0;c[l>>2]=k;return}function Ss(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;a[b+8>>0]=0;a[b+20>>0]=0;a[b+32>>0]=0;a[b+44>>0]=0;a[b+56>>0]=0;a[b+68>>0]=0;a[b+80>>0]=0;a[b+92>>0]=0;a[b+104>>0]=0;a[b+116>>0]=0;a[b+128>>0]=0;a[b+140>>0]=0;a[b+152>>0]=0;a[b+164>>0]=0;a[b+176>>0]=0;a[b+188>>0]=0;a[b+200>>0]=0;a[b+212>>0]=0;a[b+224>>0]=0;a[b+236>>0]=0;a[b+248>>0]=0;a[b+260>>0]=0;a[b+272>>0]=0;a[b+284>>0]=0;a[b+296>>0]=0;a[b+308>>0]=0;a[b+320>>0]=0;a[b+332>>0]=0;a[b+344>>0]=0;a[b+356>>0]=0;a[b+368>>0]=0;a[b+380>>0]=0;a[b+392>>0]=0;a[b+404>>0]=0;a[b+416>>0]=0;a[b+428>>0]=0;a[b+440>>0]=0;a[b+452>>0]=0;a[b+464>>0]=0;a[b+476>>0]=0;a[b+488>>0]=0;a[b+500>>0]=0;a[b+512>>0]=0;a[b+524>>0]=0;a[b+536>>0]=0;a[b+548>>0]=0;a[b+560>>0]=0;a[b+572>>0]=0;a[b+584>>0]=0;a[b+596>>0]=0;a[b+608>>0]=0;a[b+620>>0]=0;a[b+632>>0]=0;a[b+644>>0]=0;a[b+656>>0]=0;a[b+668>>0]=0;a[b+680>>0]=0;a[b+692>>0]=0;a[b+704>>0]=0;a[b+716>>0]=0;a[b+728>>0]=0;a[b+740>>0]=0;a[b+752>>0]=0;a[b+764>>0]=0;a[b+776>>0]=0;a[b+788>>0]=0;a[b+800>>0]=0;a[b+812>>0]=0;a[b+824>>0]=0;a[b+836>>0]=0;a[b+848>>0]=0;a[b+860>>0]=0;a[b+872>>0]=0;a[b+884>>0]=0;a[b+896>>0]=0;a[b+908>>0]=0;a[b+920>>0]=0;a[b+932>>0]=0;a[b+944>>0]=0;a[b+956>>0]=0;a[b+968>>0]=0;a[b+980>>0]=0;a[b+992>>0]=0;a[b+1004>>0]=0;a[b+1016>>0]=0;a[b+1028>>0]=0;a[b+1040>>0]=0;a[b+1052>>0]=0;a[b+1064>>0]=0;a[b+1076>>0]=0;a[b+1088>>0]=0;a[b+1100>>0]=0;a[b+1112>>0]=0;a[b+1124>>0]=0;a[b+1136>>0]=0;a[b+1148>>0]=0;a[b+1160>>0]=0;a[b+1172>>0]=0;a[b+1184>>0]=0;a[b+1196>>0]=0;a[b+1208>>0]=0;a[b+1220>>0]=0;a[b+1232>>0]=0;a[b+1244>>0]=0;a[b+1256>>0]=0;a[b+1268>>0]=0;a[b+1280>>0]=0;a[b+1292>>0]=0;a[b+1304>>0]=0;a[b+1316>>0]=0;a[b+1328>>0]=0;a[b+1340>>0]=0;a[b+1352>>0]=0;a[b+1364>>0]=0;a[b+1376>>0]=0;a[b+1388>>0]=0;a[b+1400>>0]=0;a[b+1412>>0]=0;a[b+1424>>0]=0;a[b+1436>>0]=0;hBb(b+1440|0,0,240)|0;if(!(e>>>3)){i=n;return}else l=0;do{j=c[d+(l<<3)>>2]|0;k=c[d+(l<<3)+4>>2]|0;f=a[j>>0]|0;if(!(f<<24>>24))g=5381;else{h=j;g=5381;do{h=h+1|0;g=(g*33|0)+(f<<24>>24)|0;f=a[h>>0]|0}while(f<<24>>24!=0)}h=0;do{f=((h+g|0)>>>0)%120|0;h=h+1|0;if(!(a[b+(f*12|0)+8>>0]|0)){m=8;break}}while(h>>>0<120);if((m|0)==8){m=0;a[b+(f*12|0)+8>>0]=1;c[b+(f*12|0)>>2]=j;c[b+(f*12|0)+4>>2]=k}if(k>>>0>59){c[n>>2]=j;c[n+4>>2]=k;vpb(441068,n)|0}else c[b+1440+(k<<2)>>2]=j;l=l+1|0}while((l|0)!=(e>>>3|0));i=n;return}function Ts(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;j=i;i=i+16|0;if(b>>>0<=59)if(c[624536+(b<<2)>>2]|0){i=j;return}e=a[d>>0]|0;if(!(e<<24>>24))f=5381;else{g=d;f=5381;do{g=g+1|0;f=(f*33|0)+(e<<24>>24)|0;e=a[g>>0]|0}while(e<<24>>24!=0)}g=0;do{e=((g+f|0)>>>0)%120|0;g=g+1|0;if(!(a[623096+(e*12|0)+8>>0]|0)){h=8;break}}while(g>>>0<120);if((h|0)==8){a[623096+(e*12|0)+8>>0]=1;c[623096+(e*12|0)>>2]=d;c[623096+(e*12|0)+4>>2]=b}if(b>>>0>59){c[j>>2]=d;c[j+4>>2]=b;vpb(441068,j)|0;i=j;return}else{c[624536+(b<<2)>>2]=d;i=j;return}}function Us(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=a[b>>0]|0;if(!(e<<24>>24))f=5381;else{g=b;f=5381;do{g=g+1|0;f=(f*33|0)+(e<<24>>24)|0;e=a[g>>0]|0}while(e<<24>>24!=0)}j=0;while(1){i=((j+f|0)>>>0)%120|0;if(!(a[623096+(i*12|0)+8>>0]|0)){e=1;f=0;k=11;break}g=c[623096+(i*12|0)>>2]|0;h=a[g>>0]|0;a:do if(!(h<<24>>24)){e=b;k=8}else{e=b;while(1){l=a[e>>0]|0;if(!(l<<24>>24?h<<24>>24==l<<24>>24:0))break a;g=g+1|0;e=e+1|0;h=a[g>>0]|0;if(!(h<<24>>24)){k=8;break}}}while(0);if((k|0)==8){k=0;if(!(a[e>>0]|0)){k=9;break}}j=j+1|0;if(j>>>0>=120){e=0;f=0;k=11;break}}if((k|0)==9){c[d>>2]=c[623096+(i*12|0)+4>>2];k=1;l=1;l=k&l;return l|0}else if((k|0)==11){l=e&f;return l|0}return 0}function Vs(a,b){a=a|0;b=b|0;if(a>>>0>59)a=0;else{a=c[624536+(a<<2)>>2]|0;if(!a)a=0;else{c[b>>2]=a;a=1}}return a|0}function Ws(a){a=a|0;var b=0,d=0;b=wk(a,1,2)|0;d=vi[c[(c[b>>2]|0)+16>>2]&2047](b)|0;KDa(a,d,vi[c[(c[b>>2]|0)+20>>2]&2047](b)|0);return 1}function Xs(a){a=a|0;var b=0;b=wk(a,1,2)|0;QDa(a,vi[c[(c[b>>2]|0)+16>>2]&2047](b)|0);return 1}function Ys(a){a=a|0;var b=0;b=wk(a,1,2)|0;IDa(a,+((vi[c[(c[b>>2]|0)+20>>2]&2047](b)|0)>>>0));return 1}function Zs(a,b){a=a|0;b=b|0;return wk(a,b,2)|0}function _s(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=12068;c[b+4>>2]=0;xs(a,2,325248,b)|0;i=b;return 0}function $s(a){a=a|0;var b=0;b=c[155672]|0;JDa(a,vi[c[(c[b>>2]|0)+32>>2]&2047](b)|0);return 1}function at(a){a=a|0;var b=0,d=0,e=0,f=0;e=i;i=i+16|0;if(!(uDa(a,1)|0)){if(Hs(a,1,5)|0)d=4;else if(Hs(a,1,7)|0)d=4}else d=4;if((d|0)==4)Js(a,1,325253,325259)|0;c[e+4>>2]=1;if((qDa(a,2)|0)>=1){b=BDa(a,2,0)|0;if(b|0){if(!(l2(b,e+4|0)|0)){c[e>>2]=b;d=PGa(a,325270,e)|0;i=e;return d|0}if(!(c[e+4>>2]|0))if(Hs(a,1,30)|0)Js(a,1,325253,325294)|0}}if(Hs(a,1,29)|0){d=c[155672]|0;f=c[(c[d>>2]|0)+28>>2]|0;b=c[(EDa(a,1)|0)+4>>2]|0;b=Xi[f&511](d,b)|0;d=16}else if(Hs(a,1,30)|0){d=c[155672]|0;f=c[(c[d>>2]|0)+24>>2]|0;b=c[(EDa(a,1)|0)+4>>2]|0;b=Xi[f&511](d,b)|0;d=16}if((d|0)==16)if(b|0){Gs(a,28,b);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);f=1;i=e;return f|0}f=Ns(a,1,325307)|0;i=e;return f|0}function bt(a){a=a|0;var b=0,d=0;b=tt(a,1)|0;d=c[155672]|0;gs(a,Xi[c[(c[d>>2]|0)+44>>2]&511](d,b)|0);return 1}function ct(a){a=a|0;if(!(kDa(a)|0)){a=c[155672]|0;Hi[c[(c[a>>2]|0)+52>>2]&1023](a);return 0}else{a=tt(a,1)|0;Hi[c[(c[a>>2]|0)+24>>2]&1023](a);return 0}return 0}function dt(a){a=a|0;if(!(kDa(a)|0)){a=c[155672]|0;Hi[c[(c[a>>2]|0)+60>>2]&1023](a);return 0}else{a=tt(a,1)|0;Hi[c[(c[a>>2]|0)+28>>2]&1023](a);return 0}return 0}function et(a){a=a|0;if(!(kDa(a)|0)){a=c[155672]|0;Hi[c[(c[a>>2]|0)+68>>2]&1023](a);return 0}else{a=tt(a,1)|0;Hi[c[(c[a>>2]|0)+32>>2]&1023](a);return 0}return 0}function ft(a){a=a|0;if(!(kDa(a)|0)){a=c[155672]|0;Hi[c[(c[a>>2]|0)+76>>2]&1023](a);return 0}else{a=tt(a,1)|0;Hi[c[(c[a>>2]|0)+36>>2]&1023](a);return 0}return 0}function gt(a){a=a|0;var b=0.0;b=+_Ga(a,1);a=c[155672]|0;pi[c[(c[a>>2]|0)+80>>2]&31](a,b);return 0}function ht(a){a=a|0;var b=0;b=c[155672]|0;IDa(a,+Mi[c[(c[b>>2]|0)+84>>2]&63](b));return 1}function it(a){a=a|0;var b=0;b=i;i=i+16|0;g[b>>2]=+_Ga(a,1);g[b+4>>2]=+_Ga(a,2);g[b+8>>2]=+$Ga(a,3,0.0);a=c[155672]|0;si[c[(c[a>>2]|0)+92>>2]&511](a,b);i=b;return 0}function jt(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;d=c[155672]|0;si[c[(c[d>>2]|0)+88>>2]&511](d,b);IDa(a,+g[b>>2]);IDa(a,+g[b+4>>2]);IDa(a,+g[b+8>>2]);i=b;return 3}function kt(a){a=a|0;var b=0;b=i;i=i+32|0;g[b>>2]=+_Ga(a,1);g[b+4>>2]=+_Ga(a,2);g[b+8>>2]=+_Ga(a,3);g[b+12>>2]=+_Ga(a,4);g[b+16>>2]=+_Ga(a,5);g[b+20>>2]=+_Ga(a,6);a=c[155672]|0;si[c[(c[a>>2]|0)+100>>2]&511](a,b);i=b;return 0}function lt(a){a=a|0;var b=0,d=0;b=i;i=i+32|0;d=c[155672]|0;si[c[(c[d>>2]|0)+96>>2]&511](d,b);IDa(a,+g[b>>2]);IDa(a,+g[b+4>>2]);IDa(a,+g[b+8>>2]);IDa(a,+g[b+12>>2]);IDa(a,+g[b+16>>2]);IDa(a,+g[b+20>>2]);i=b;return 6}function mt(a){a=a|0;var b=0;b=i;i=i+16|0;g[b>>2]=+_Ga(a,1);g[b+4>>2]=+_Ga(a,2);g[b+8>>2]=+$Ga(a,3,0.0);a=c[155672]|0;si[c[(c[a>>2]|0)+108>>2]&511](a,b);i=b;return 0}function nt(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;d=c[155672]|0;si[c[(c[d>>2]|0)+104>>2]&511](d,b);IDa(a,+g[b>>2]);IDa(a,+g[b+4>>2]);IDa(a,+g[b+8>>2]);i=b;return 3}function ot(a){a=a|0;var b=0.0,d=0,e=0;d=c[155672]|0;e=c[(c[d>>2]|0)+112>>2]|0;b=+_Ga(a,1);pi[e&31](d,b);return 0}function pt(a){a=a|0;var b=0;b=c[155672]|0;IDa(a,+Mi[c[(c[b>>2]|0)+116>>2]&63](b));return 1}function qt(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=UGa(a,1,0)|0;if(e2(b,d+4|0)|0){a=c[155672]|0;si[c[(c[a>>2]|0)+140>>2]&511](a,c[d+4>>2]|0);a=0;i=d;return a|0}else{c[d>>2]=b;a=PGa(a,325328,d)|0;i=d;return a|0}return 0}function rt(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;d=c[155672]|0;if(!(f2(vi[c[(c[d>>2]|0)+136>>2]&2047](d)|0,b)|0)){d=0;i=b;return d|0}LDa(a,c[b>>2]|0);d=1;i=b;return d|0}function st(a){a=a|0;var b=0,d=0;d=i;i=i+32|0;b=c[155672]|0;if(!b){b=YAb(32)|0;A0(b)}else Hi[c[(c[b>>2]|0)+8>>2]&1023](b);c[d>>2]=b;c[d+4>>2]=325355;c[d+8>>2]=3;c[d+12>>2]=12100;c[d+16>>2]=12260;a=qs(a,d)|0;i=d;return a|0}function tt(a,b){a=a|0;b=b|0;return ut(a,b,28)|0}function ut(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((qDa(a,b)|0)!=7){c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0}e=EDa(a,b)|0;if(c[(c[155773]|0)+(c[e>>2]<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0){d=e+4|0;d=c[d>>2]|0;i=f;return d|0}c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0;d=e+4|0;d=c[d>>2]|0;i=f;return d|0}function vt(a){a=a|0;var b=0;b=ut(a,1,28)|0;b=vi[c[(c[b>>2]|0)+16>>2]&2047](b)|0;Gs(a,28,b);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);return 1}function wt(a){a=a|0;var b=0;b=ut(a,1,28)|0;gs(a,vi[c[(c[b>>2]|0)+20>>2]&2047](b)|0);return 1}function xt(a){a=a|0;a=ut(a,1,28)|0;Hi[c[(c[a>>2]|0)+24>>2]&1023](a);return 0}function yt(a){a=a|0;a=ut(a,1,28)|0;Hi[c[(c[a>>2]|0)+28>>2]&1023](a);return 0}function zt(a){a=a|0;a=ut(a,1,28)|0;Hi[c[(c[a>>2]|0)+32>>2]&1023](a);return 0}function At(a){a=a|0;a=ut(a,1,28)|0;Hi[c[(c[a>>2]|0)+36>>2]&1023](a);return 0}function Bt(a){a=a|0;var b=0,d=0.0,e=0;e=i;i=i+16|0;b=ut(a,1,28)|0;d=+_Ga(a,2);if(!(d>1797693134862315708145274.0e284))if(!(d!=d|0.0!=0.0|d<2.2250738585072014e-308)){pi[c[(c[b>>2]|0)+56>>2]&31](b,d);a=0;i=e;return a|0}a=PGa(a,325482,e)|0;i=e;return a|0}function Ct(a){a=a|0;var b=0;b=ut(a,1,28)|0;IDa(a,+Mi[c[(c[b>>2]|0)+60>>2]&63](b));return 1}function Dt(a){a=a|0;var b=0.0,d=0;d=ut(a,1,28)|0;b=+_Ga(a,2);pi[c[(c[d>>2]|0)+64>>2]&31](d,b);return 0}function Et(a){a=a|0;var b=0;b=ut(a,1,28)|0;IDa(a,+Mi[c[(c[b>>2]|0)+68>>2]&63](b));return 1}function Ft(a){a=a|0;var b=0,d=0,e=0.0,f=0,g=0;g=i;i=i+16|0;d=ut(a,1,28)|0;e=+_Ga(a,2);if(e<0.0){f=OGa(a,2,325518)|0;i=g;return f|0}c[g+4>>2]=0;do if((qDa(a,3)|0)<1){b=0;f=8}else{b=BDa(a,3,0)|0;if(!b){b=0;f=8}else if(o2(b,g+4|0)|0){b=c[g+4>>2]|0;f=8;break}else{c[g>>2]=b;b=PGa(a,325552,g)|0;break}}while(0);if((f|0)==8){Di[c[(c[d>>2]|0)+72>>2]&3](d,e,b);b=0}f=b;i=g;return f|0}function Gt(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;d=ut(a,1,28)|0;c[e+4>>2]=0;do if((qDa(a,2)|0)<1)b=0;else{b=BDa(a,2,0)|0;if(!b)b=0;else{if(o2(b,e+4|0)|0){b=c[e+4>>2]|0;break}c[e>>2]=b;a=PGa(a,325552,e)|0;i=e;return a|0}}while(0);IDa(a,+_i[c[(c[d>>2]|0)+76>>2]&15](d,b));a=1;i=e;return a|0}function Ht(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;d=ut(a,1,28)|0;c[e+4>>2]=0;do if((qDa(a,2)|0)<1)b=0;else{b=BDa(a,2,0)|0;if(!b)b=0;else{if(o2(b,e+4|0)|0){b=c[e+4>>2]|0;break}c[e>>2]=b;a=PGa(a,325552,e)|0;i=e;return a|0}}while(0);IDa(a,+_i[c[(c[d>>2]|0)+80>>2]&15](d,b));a=1;i=e;return a|0}function It(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;d=ut(a,1,28)|0;g[b>>2]=+_Ga(a,2);g[b+4>>2]=+_Ga(a,3);g[b+8>>2]=+$Ga(a,4,0.0);si[c[(c[d>>2]|0)+84>>2]&511](d,b);i=b;return 0}function Jt(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;d=ut(a,1,28)|0;si[c[(c[d>>2]|0)+88>>2]&511](d,b);IDa(a,+g[b>>2]);IDa(a,+g[b+4>>2]);IDa(a,+g[b+8>>2]);i=b;return 3}function Kt(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;d=ut(a,1,28)|0;g[b>>2]=+_Ga(a,2);g[b+4>>2]=+_Ga(a,3);g[b+8>>2]=+$Ga(a,4,0.0);si[c[(c[d>>2]|0)+92>>2]&511](d,b);i=b;return 0}function Lt(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;d=ut(a,1,28)|0;si[c[(c[d>>2]|0)+96>>2]&511](d,b);IDa(a,+g[b>>2]);IDa(a,+g[b+4>>2]);IDa(a,+g[b+8>>2]);i=b;return 3}function Mt(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;d=ut(a,1,28)|0;g[b>>2]=+_Ga(a,2);g[b+4>>2]=+_Ga(a,3);g[b+8>>2]=+$Ga(a,4,0.0);si[c[(c[d>>2]|0)+100>>2]&511](d,b);i=b;return 0}function Nt(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;d=ut(a,1,28)|0;si[c[(c[d>>2]|0)+104>>2]&511](d,b);IDa(a,+g[b>>2]);IDa(a,+g[b+4>>2]);IDa(a,+g[b+8>>2]);i=b;return 3}function Ot(a){a=a|0;var b=0.0,d=0.0,e=0.0,f=0;f=ut(a,1,28)|0;e=+_Ga(a,2);d=+_Ga(a,3);b=+$Ga(a,4,0.0);Bi[c[(c[f>>2]|0)+108>>2]&7](f,e,d,b);return 0}function Pt(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;d=ut(a,1,28)|0;kj[c[(c[d>>2]|0)+112>>2]&127](d,b+8|0,b+4|0,b);IDa(a,+g[b+8>>2]);IDa(a,+g[b+4>>2]);IDa(a,+g[b>>2]);i=b;return 3}function Qt(a){a=a|0;var b=0,d=0;b=ut(a,1,28)|0;d=c[(c[b>>2]|0)+116>>2]|0;a=fs(a,2)|0;si[d&511](b,a);return 0}function Rt(a){a=a|0;var b=0;b=ut(a,1,28)|0;gs(a,vi[c[(c[b>>2]|0)+120>>2]&2047](b)|0);return 1}function St(a){a=a|0;var b=0,d=0;b=ut(a,1,28)|0;d=c[(c[b>>2]|0)+124>>2]|0;a=fs(a,2)|0;si[d&511](b,a);return 0}function Tt(a){a=a|0;var b=0;b=ut(a,1,28)|0;gs(a,vi[c[(c[b>>2]|0)+128>>2]&2047](b)|0);return 1}function Ut(a){a=a|0;var b=0;b=ut(a,1,28)|0;gs(a,vi[c[(c[b>>2]|0)+40>>2]&2047](b)|0);return 1}function Vt(a){a=a|0;var b=0;b=ut(a,1,28)|0;gs(a,vi[c[(c[b>>2]|0)+44>>2]&2047](b)|0);return 1}function Wt(a){a=a|0;var b=0;b=ut(a,1,28)|0;if(vi[c[(c[b>>2]|0)+40>>2]&2047](b)|0){b=0;gs(a,b);return 1}b=(vi[c[(c[b>>2]|0)+44>>2]&2047](b)|0)^1;gs(a,b);return 1}function Xt(a){a=a|0;var b=0,d=0.0,e=0.0,f=0;f=i;i=i+16|0;b=ut(a,1,28)|0;d=+_Ga(a,2);e=+_Ga(a,3);if(e>1.0|(d<0.0|d>1.0|e<0.0)){h[f>>3]=d;h[f+8>>3]=e;a=PGa(a,325581,f)|0;i=f;return a|0}else{pi[c[(c[b>>2]|0)+132>>2]&31](b,d);pi[c[(c[b>>2]|0)+140>>2]&31](b,e);a=0;i=f;return a|0}return 0}function Yt(a){a=a|0;var b=0;b=ut(a,1,28)|0;IDa(a,+Mi[c[(c[b>>2]|0)+136>>2]&63](b));IDa(a,+Mi[c[(c[b>>2]|0)+144>>2]&63](b));return 2}function Zt(a){a=a|0;var b=0,d=0.0,e=0.0,f=0;f=i;i=i+16|0;b=ut(a,1,28)|0;d=+_Ga(a,2);e=+_Ga(a,3);if(d<0.0|e<0.0){h[f>>3]=d;h[f+8>>3]=e;a=PGa(a,325630,f)|0;i=f;return a|0}else{pi[c[(c[b>>2]|0)+148>>2]&31](b,d);pi[c[(c[b>>2]|0)+164>>2]&31](b,e);a=0;i=f;return a|0}return 0}function _t(a){a=a|0;var b=0;b=ut(a,1,28)|0;IDa(a,+Mi[c[(c[b>>2]|0)+152>>2]&63](b));IDa(a,+Mi[c[(c[b>>2]|0)+168>>2]&63](b));return 2}function $t(a){a=a|0;var b=0,d=0.0,e=0;e=i;i=i+16|0;b=ut(a,1,28)|0;d=+_Ga(a,2);if(d<0.0){h[e>>3]=d;a=PGa(a,325669,e)|0;i=e;return a|0}else{pi[c[(c[b>>2]|0)+156>>2]&31](b,d);a=0;i=e;return a|0}return 0}function au(a){a=a|0;var b=0;b=ut(a,1,28)|0;IDa(a,+Mi[c[(c[b>>2]|0)+160>>2]&63](b));return 1}function bu(a){a=a|0;var b=0;b=ut(a,1,28)|0;JDa(a,vi[c[(c[b>>2]|0)+172>>2]&2047](b)|0);return 1}function cu(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;d=ut(a,1,28)|0;d=vi[c[(c[d>>2]|0)+176>>2]&2047](d)|0;c[b+4>>2]=0;if(n2(d,b+4|0)|0){LDa(a,c[b+4>>2]|0);d=1;i=b;return d|0}else{d=PGa(a,325703,b)|0;i=b;return d|0}return 0}function du(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=12268;c[b+4>>2]=0;a=xs(a,28,325724,b)|0;i=b;return a|0}function eu(a){a=a|0;ODa(a,1492,0);return 1}function fu(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;c[b>>2]=0;if(!(U2(c[155673]|0,b)|0)){a=0;i=b;return a|0}a=O2(c[b>>2]|0,a)|0;d=c[b>>2]|0;Hi[c[(c[d>>2]|0)+12>>2]&1023](d);i=b;return a|0}function gu(a){a=a|0;a=c[155673]|0;Hi[c[(c[a>>2]|0)+28>>2]&1023](a);return 0}function hu(a){a=a|0;var b=0;b=c[155673]|0;b=vi[c[(c[b>>2]|0)+32>>2]&2047](b)|0;if(!b){a=0;return a|0}a=O2(b,a)|0;Hi[c[(c[b>>2]|0)+12>>2]&1023](b);return a|0}function iu(a){a=a|0;var b=0;b=P2(a,1)|0;gs(a,(b|0)!=0);if(!b)return 1;Q2(c[155673]|0,b);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);return 1}function ju(a){a=a|0;a=c[155673]|0;Hi[c[(c[a>>2]|0)+24>>2]&1023](a);return 0}function ku(a){a=a|0;var b=0,d=0,e=0,f=0;f=i;i=i+32|0;c[f+16>>2]=0;e=f+16+4|0;c[e>>2]=0;c[f+16+8>>2]=0;b=r_(a,1,1)|0;if(b|0){c[f+12>>2]=b;Hi[c[(c[b>>2]|0)+8>>2]&1023](b);d=c[e>>2]|0;if(d>>>0<(c[f+16+8>>2]|0)>>>0){c[d>>2]=b;Hi[c[(c[b>>2]|0)+8>>2]&1023](b);c[e>>2]=(c[e>>2]|0)+4}else lu(f+16|0,f+12|0);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);Hi[c[(c[b>>2]|0)+12>>2]&1023](b)}b=YAb(32)|0;Iqb(f,363542,4);M2(b,f,f+16|0);Mqb(f);Q2(c[155673]|0,b);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);gs(a,1);b=c[f+16>>2]|0;if(!b){i=f;return 1}d=c[e>>2]|0;if((d|0)!=(b|0)){do{d=d+-4|0;c[e>>2]=d;a=c[d>>2]|0;if(a){Hi[c[(c[a>>2]|0)+12>>2]&1023](a);d=c[e>>2]|0}}while((d|0)!=(b|0));b=c[f+16>>2]|0}oAb(b);i=f;return 1}function lu(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=c[a>>2]|0;e=((c[a+4>>2]|0)-h>>2)+1|0;if(e>>>0>1073741823)jzb(a);d=(c[a+8>>2]|0)-h|0;if(d>>2>>>0<536870911){d=d>>1>>>0>>0?e:d>>1;f=c[a+4>>2]|0;if(!d){i=0;d=0;e=f-h>>2}else{g=f;e=f-h>>2;j=6}}else{e=c[a+4>>2]|0;d=1073741823;g=e;e=e-h>>2;j=6}if((j|0)==6){i=d;d=YAb(d<<2)|0;f=g}j=d+(e<<2)|0;i=d+(i<<2)|0;d=c[b>>2]|0;c[j>>2]=d;if(!d)d=f;else{Hi[c[(c[d>>2]|0)+8>>2]&1023](d);d=c[a+4>>2]|0;h=c[a>>2]|0}if((d|0)==(h|0)){e=j;g=d}else{f=d;g=j;d=j;do{f=f+-4|0;e=c[f>>2]|0;c[g+-4>>2]=e;if(e|0)Hi[c[(c[e>>2]|0)+8>>2]&1023](e);g=d+-4|0;d=g}while((f|0)!=(h|0));e=d;g=c[a>>2]|0;d=c[a+4>>2]|0}c[a>>2]=e;c[a+4>>2]=j+4;c[a+8>>2]=i;f=g;if((d|0)!=(f|0))do{d=d+-4|0;e=c[d>>2]|0;if(e|0)Hi[c[(c[e>>2]|0)+12>>2]&1023](e)}while((d|0)!=(f|0));if(!g)return;oAb(g);return}function mu(a){a=a|0;var b=0,d=0;d=i;i=i+32|0;b=c[155673]|0;if(!b){b=YAb(36)|0;G2(b)}else Hi[c[(c[b>>2]|0)+8>>2]&1023](b);c[d>>2]=b;c[d+4>>2]=325977;c[d+8>>2]=3;c[d+12>>2]=12564;c[d+16>>2]=0;a=qs(a,d)|0;i=d;return a|0}function nu(a){a=a|0;var b=0;c[a>>2]=12628;b=c[a+8>>2]|0;if(b|0)aBb(b);Mqb(a+36|0);Mqb(a+24|0);return}function ou(a){a=a|0;var b=0;c[a>>2]=12628;b=c[a+8>>2]|0;if(b|0)aBb(b);Mqb(a+36|0);Mqb(a+24|0);oAb(a);return}function pu(a){a=a|0;return c[a+8>>2]|0}function qu(a){a=a|0;var b=0;b=c[a+16>>2]|0;a=c[a+16+4>>2]|0;a=a>>>0<0|(a|0)==0&b>>>0<4294967295?b:-1;return a|0}function ru(){var b=0,d=0,e=0,f=0,g=0;g=i;i=i+16|0;a[624784]=0;a[624796]=0;a[624808]=0;a[624820]=0;c[156206]=0;c[156207]=0;b=a[518996]|0;if(!(b<<24>>24))d=5381;else{e=518996;d=5381;do{e=e+1|0;d=(d*33|0)+(b<<24>>24)|0;b=a[e>>0]|0}while(b<<24>>24!=0)}b=d&3;if(!(a[624776+(b*12|0)+8>>0]|0)){d=b;b=624776+(b*12|0)+8|0;f=5}else{b=d+1&3;if(!(a[624776+(b*12|0)+8>>0]|0)){d=b;b=624776+(b*12|0)+8|0;f=5}else{b=d+2&3;if(!(a[624776+(b*12|0)+8>>0]|0)){d=b;b=624776+(b*12|0)+8|0;f=5}else{b=d+3&3;if(!(a[624776+(b*12|0)+8>>0]|0)){d=b;b=624776+(b*12|0)+8|0;f=5}}}}if((f|0)==5){a[b>>0]=1;c[624776+(d*12|0)>>2]=518996;c[624776+(d*12|0)+4>>2]=0}if(0>1){c[g>>2]=518996;c[g+4>>2]=0;vpb(441068,g)|0}else c[156206]=518996;b=a[326035]|0;if(!(b<<24>>24))d=5381;else{e=326035;d=5381;do{e=e+1|0;d=(d*33|0)+(b<<24>>24)|0;b=a[e>>0]|0}while(b<<24>>24!=0)}b=d&3;if(!(a[624776+(b*12|0)+8>>0]|0)){d=b;b=624776+(b*12|0)+8|0;f=17}else{b=d+1&3;if(!(a[624776+(b*12|0)+8>>0]|0)){d=b;b=624776+(b*12|0)+8|0;f=17}else{b=d+2&3;if(!(a[624776+(b*12|0)+8>>0]|0)){d=b;b=624776+(b*12|0)+8|0;f=17}else{b=d+3&3;if(!(a[624776+(b*12|0)+8>>0]|0)){d=b;b=624776+(b*12|0)+8|0;f=17}}}}if((f|0)==17){a[b>>0]=1;c[624776+(d*12|0)>>2]=326035;c[624776+(d*12|0)+4>>2]=1}if(1>1){c[g+8>>2]=326035;c[g+8+4>>2]=1;vpb(441068,g+8|0)|0;i=g;return}else{c[156207]=326035;i=g;return}}function su(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;e=i;i=i+16|0;Jj(b);c[b>>2]=12628;c[b+8>>2]=0;c[b+16>>2]=d;c[b+16+4>>2]=0;Hqb(b+24|0,f);c[b+36>>2]=0;c[b+36+4>>2]=0;c[b+36+8>>2]=0;c[b+8>>2]=_Ab(d)|0;if((crb(f,46,-1)|0)==-1){i=e;return}Kqb(e,f,(crb(f,46,-1)|0)+1|0,-1,f);if(!(a[b+36>>0]&1)){a[b+36+1>>0]=0;a[b+36>>0]=0}else{a[c[b+44>>2]>>0]=0;c[b+40>>2]=0}Qqb(b+36|0,0);c[b+36>>2]=c[e>>2];c[b+36+4>>2]=c[e+4>>2];c[b+36+8>>2]=c[e+8>>2];c[e>>2]=0;c[e+4>>2]=0;c[e+8>>2]=0;Mqb(e);i=e;return}function tu(a){a=a|0;return a+24|0}function uu(a){a=a|0;return a+36|0}function vu(a,b){a=a|0;b=b|0;return wu(624776,a,b)|0}function wu(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=a[d>>0]|0;if(!(g<<24>>24))m=5381;else{h=d;i=g;f=5381;do{h=h+1|0;f=(f*33|0)+(i<<24>>24)|0;i=a[h>>0]|0}while(i<<24>>24!=0);m=f}f=m&3;if(!(a[b+(f*12|0)+8>>0]|0)){e=1;b=0;b=e&b;return b|0}i=c[b+(f*12|0)>>2]|0;h=a[i>>0]|0;a:do if(!(h<<24>>24)){h=g;l=8}else if(g<<24>>24?h<<24>>24==g<<24>>24:0){k=d;while(1){i=i+1|0;k=k+1|0;j=a[i>>0]|0;h=a[k>>0]|0;if(!(j<<24>>24)){l=8;break a}if(!(h<<24>>24?j<<24>>24==h<<24>>24:0)){l=10;break}}}else l=10;while(0);if((l|0)==8)if(h<<24>>24)l=10;do if((l|0)==10){f=m+1&3;if(!(a[b+(f*12|0)+8>>0]|0)){e=1;b=0;b=e&b;return b|0}i=c[b+(f*12|0)>>2]|0;h=a[i>>0]|0;b:do if(!(h<<24>>24)){h=g;l=16}else if(g<<24>>24?h<<24>>24==g<<24>>24:0){k=d;do{i=i+1|0;k=k+1|0;j=a[i>>0]|0;h=a[k>>0]|0;if(!(j<<24>>24)){l=16;break b}}while(h<<24>>24?j<<24>>24==h<<24>>24:0)}while(0);if((l|0)==16)if(!(h<<24>>24))break;f=m+2&3;if(!(a[b+(f*12|0)+8>>0]|0)){e=1;b=0;b=e&b;return b|0}i=c[b+(f*12|0)>>2]|0;h=a[i>>0]|0;c:do if(!(h<<24>>24)){h=g;l=22}else if(g<<24>>24?h<<24>>24==g<<24>>24:0){k=d;do{i=i+1|0;k=k+1|0;j=a[i>>0]|0;h=a[k>>0]|0;if(!(j<<24>>24)){l=22;break c}}while(h<<24>>24?j<<24>>24==h<<24>>24:0)}while(0);if((l|0)==22)if(!(h<<24>>24))break;f=m+3&3;if(!(a[b+(f*12|0)+8>>0]|0)){e=1;b=0;b=e&b;return b|0}h=c[b+(f*12|0)>>2]|0;i=a[h>>0]|0;d:do if(i<<24>>24){if(!(g<<24>>24?i<<24>>24==g<<24>>24:0)){e=0;b=0;b=e&b;return b|0}while(1){h=h+1|0;d=d+1|0;i=a[h>>0]|0;g=a[d>>0]|0;if(!(i<<24>>24))break d;if(!(g<<24>>24?i<<24>>24==g<<24>>24:0)){f=0;g=0;break}}b=f&g;return b|0}while(0);if(g<<24>>24){e=0;b=0;b=e&b;return b|0}}while(0);c[e>>2]=c[b+(f*12|0)+4>>2];e=1;b=1;b=e&b;return b|0}function xu(){var a=0;a=c[155674]|0;if(!a){a=0;return a|0}a=vi[c[(c[a>>2]|0)+36>>2]&2047](a)|0;return a|0}function yu(a){a=a|0;var b=0;a=UGa(a,1,0)|0;b=c[155674]|0;si[c[(c[b>>2]|0)+24>>2]&511](b,a);return 0}function zu(a){a=a|0;var b=0,d=0;b=c[155674]|0;d=c[(c[b>>2]|0)+28>>2]|0;a=fs(a,1)|0;si[d&511](b,a);return 0}function Au(a){a=a|0;var b=0;b=c[155674]|0;gs(a,vi[c[(c[b>>2]|0)+32>>2]&2047](b)|0);return 1}function Bu(a){a=a|0;var b=0;a=hs(a,1,0)|0;b=c[155674]|0;si[c[(c[b>>2]|0)+40>>2]&511](b,a);return 0}function Cu(a){a=a|0;var b=0,d=0,e=0,f=0;b=i;i=i+16|0;e=UGa(a,1,0)|0;d=hs(a,2,0)|0;f=c[155674]|0;if(Gi[c[(c[f>>2]|0)+48>>2]&255](f,e,d)|0){f=0;i=b;return f|0}f=PGa(a,504391,b)|0;i=b;return f|0}function Du(a){a=a|0;var b=0;b=c[155674]|0;LDa(a,vi[c[(c[b>>2]|0)+52>>2]&2047](b)|0);return 1}function Eu(a){a=a|0;var b=0,d=0,e=0;b=i;i=i+16|0;d=UGa(a,1,0)|0;e=c[155674]|0;if(Xi[c[(c[e>>2]|0)+56>>2]&511](e,d)|0){e=0;i=b;return e|0}e=PGa(a,326042,b)|0;i=b;return e|0}function Fu(a){a=a|0;var b=0;b=c[155674]|0;LDa(a,vi[c[(c[b>>2]|0)+60>>2]&2047](b)|0);return 1}function Gu(a){a=a|0;var b=0,d=0,e=0,f=0;e=UGa(a,1,0)|0;d=UGa(a,2,0)|0;b=hs(a,3,0)|0;f=c[155674]|0;gs(a,cj[c[(c[f>>2]|0)+64>>2]&127](f,e,d,b)|0);return 1}function Hu(a){a=a|0;var b=0,d=0;b=UGa(a,1,0)|0;d=c[155674]|0;gs(a,Xi[c[(c[d>>2]|0)+68>>2]&511](d,b)|0);return 1}function Iu(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;b=UGa(a,1,0)|0;c[e+12>>2]=0;if(uDa(a,2)|0){d=UGa(a,2,0)|0;if(!(f4(d,e+12|0)|0)){c[e>>2]=d;a=PGa(a,364091,e)|0;i=e;return a|0}}d=c[155674]|0;b=Xi[c[(c[d>>2]|0)+72>>2]&511](d,b)|0;d=c[e+12>>2]|0;if(d|0)if(!(Xi[c[(c[b>>2]|0)+16>>2]&511](b,d)|0)){a=nf(16)|0;ds(a,364201,e+8|0);zc(a|0,96,27)}Gs(a,5,b);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);a=1;i=e;return a|0}function Ju(a,b){a=a|0;b=b|0;if(!(uDa(a,b)|0)){b=K4(a,b)|0;return b|0}else{b=UGa(a,b,0)|0;a=c[155674]|0;b=Xi[c[(c[a>>2]|0)+72>>2]&511](a,b)|0;return b|0}return 0}function Ku(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if(!(uDa(a,b)|0))if(Hs(a,b,5)|0)e=3;else if(Hs(a,b,7)|0){f=M4(a,b)|0;Hi[c[(c[f>>2]|0)+8>>2]&1023](f);d=0}else{f=0;d=0}else e=3;if((e|0)==3){if(!(uDa(a,b)|0))d=K4(a,b)|0;else{d=UGa(a,b,0)|0;f=c[155674]|0;d=Xi[c[(c[f>>2]|0)+72>>2]&511](f,d)|0}Hi[c[(c[d>>2]|0)+8>>2]&1023](d);f=0}e=(d|0)!=0;if(!(e|(f|0)!=0)){OGa(a,b,326064)|0;b=0;return b|0}if(!e){b=f;return b|0}b=Gi[c[(c[d>>2]|0)+32>>2]&255](d,-1,-1)|0;Hi[c[(c[d>>2]|0)+12>>2]&1023](d);return b|0}function Lu(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;g=i;i=i+32|0;if((kDa(a)|0)==1){if(uDa(a,1)|0)Js(a,1,352526,326101)|0;if(Hs(a,1,5)|0){f=K4(a,1)|0;f=Gi[c[(c[f>>2]|0)+32>>2]&255](f,-1,-1)|0;Gs(a,7,f);Hi[c[(c[f>>2]|0)+12>>2]&1023](f);f=1;i=g;return f|0}else{f=OGa(a,1,326109)|0;i=g;return f|0}}c[g+16>>2]=0;b=UGa(a,1,g+16|0)|0;d=UGa(a,2,0)|0;a:do if(!(uDa(a,3)|0)){c[g+12>>2]=0;f=13}else{e=BDa(a,3,0)|0;c[g+12>>2]=0;if(!e)f=13;else{if(!(vu(e,g+12|0)|0)){c[g>>2]=e;b=PGa(a,326135,g)|0;break}switch(c[g+12>>2]|0){case 0:{f=13;break a}case 1:{f=c[155674]|0;b=Gi[c[(c[f>>2]|0)+80>>2]&255](f,b,d)|0;f=16;break a}default:{c[g+8>>2]=e;b=PGa(a,326135,g+8|0)|0;break a}}}}while(0);if((f|0)==13){e=c[155674]|0;b=cj[c[(c[e>>2]|0)+76>>2]&127](e,b,c[g+16>>2]|0,d)|0;f=16}if((f|0)==16){Gs(a,7,b);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);b=1}f=b;i=g;return f|0}function Mu(a){a=a|0;var b=0;b=c[155674]|0;LDa(a,vi[c[(c[b>>2]|0)+84>>2]&2047](b)|0);return 1}function Nu(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;d=c[155674]|0;si[c[(c[d>>2]|0)+88>>2]&511](b,d);ks(a,b);Mqb(b);i=b;return 1}function Ou(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;d=c[155674]|0;si[c[(c[d>>2]|0)+92>>2]&511](b,d);ks(a,b);Mqb(b);i=b;return 1}function Pu(a){a=a|0;var b=0;b=c[155674]|0;LDa(a,vi[c[(c[b>>2]|0)+96>>2]&2047](b)|0);return 1}function Qu(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;d=c[155674]|0;si[c[(c[d>>2]|0)+100>>2]&511](b,d);ks(a,b);Mqb(b);i=b;return 1}function Ru(b){b=b|0;var d=0,e=0,f=0;d=i;i=i+32|0;e=UGa(b,1,0)|0;c[d+12>>2]=0;c[d+12+4>>2]=0;c[d+12+8>>2]=0;f=c[155674]|0;$i[c[(c[f>>2]|0)+104>>2]&255](d,f,e);if(!(a[d+12>>0]&1)){a[d+12+1>>0]=0;a[d+12>>0]=0}else{a[c[d+12+8>>2]>>0]=0;c[d+12+4>>2]=0}Qqb(d+12|0,0);c[d+12>>2]=c[d>>2];c[d+12+4>>2]=c[d+4>>2];c[d+12+8>>2]=c[d+8>>2];c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;Mqb(d);LDa(b,(a[d+12>>0]&1)==0?d+12+1|0:c[d+12+8>>2]|0);Mqb(d+12|0);i=d;return 1}function Su(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;d=c[155674]|0;si[c[(c[d>>2]|0)+176>>2]&511](b,d);ks(a,b);Mqb(b);i=b;return 1}function Tu(a){a=a|0;var b=0,d=0;b=UGa(a,1,0)|0;d=c[155674]|0;gs(a,Xi[c[(c[d>>2]|0)+108>>2]&511](d,b)|0);return 1}function Uu(a){a=a|0;var b=0,d=0;b=UGa(a,1,0)|0;d=c[155674]|0;gs(a,Xi[c[(c[d>>2]|0)+112>>2]&511](d,b)|0);return 1}function Vu(a){a=a|0;var b=0,d=0;b=UGa(a,1,0)|0;d=c[155674]|0;gs(a,Xi[c[(c[d>>2]|0)+116>>2]&511](d,b)|0);return 1}function Wu(a){a=a|0;var b=0,d=0;b=UGa(a,1,0)|0;d=c[155674]|0;gs(a,Xi[c[(c[d>>2]|0)+120>>2]&511](d,b)|0);return 1}function Xu(a){a=a|0;var b=0,d=0;b=UGa(a,1,0)|0;d=c[155674]|0;gs(a,Xi[c[(c[d>>2]|0)+124>>2]&511](d,b)|0);return 1}function Yu(a){a=a|0;var b=0,d=0;b=UGa(a,1,0)|0;d=c[155674]|0;gs(a,Xi[c[(c[d>>2]|0)+128>>2]&511](d,b)|0);return 1}function Zu(a){a=a|0;var b=0,d=0,e=0,f=0;d=i;i=i+16|0;e=UGa(a,1,0)|0;b=bHa(a,2,-1)|0;f=c[155674]|0;b=cj[c[(c[f>>2]|0)+132>>2]&127](f,e,b,((b|0)<0)<<31>>31)|0;if(!b){f=t4(a,326164,d)|0;i=d;return f|0}else{f=vi[c[(c[b>>2]|0)+16>>2]&2047](b)|0;KDa(a,f,vi[c[(c[b>>2]|0)+20>>2]&2047](b)|0);JDa(a,vi[c[(c[b>>2]|0)+20>>2]&2047](b)|0);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);f=2;i=d;return f|0}return 0}function _u(a){a=a|0;return $u(a,2)|0}function $u(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;j=i;i=i+16|0;g=UGa(a,1,0)|0;c[j>>2]=0;do if(Hs(a,2,2)|0){d=c[(EDa(a,2)|0)+4>>2]|0;h=vi[c[(c[d>>2]|0)+16>>2]&2047](d)|0;d=vi[c[(c[d>>2]|0)+20>>2]&2047](d)|0;c[j>>2]=d}else{if(uDa(a,2)|0){h=BDa(a,2,j)|0;d=c[j>>2]|0;break}b=OGa(a,2,326188)|0;i=j;return b|0}while(0);d=bHa(a,3,d)|0;c[j>>2]=d;e=c[155674]|0;f=c[e>>2]|0;if((b|0)==3)qi[c[f+140>>2]&15](e,g,h,d,0);else qi[c[f+136>>2]&15](e,g,h,d,0);gs(a,1);b=1;i=j;return b|0}function av(a){a=a|0;return $u(a,3)|0}function bv(b){b=b|0;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;f=UGa(b,1,0)|0;c[g>>2]=0;c[g+4>>2]=0;c[g+8>>2]=0;e=c[155674]|0;$i[c[(c[e>>2]|0)+144>>2]&255](e,f,g);WDa(b,((c[g+4>>2]|0)-(c[g>>2]|0)|0)/12|0,0);f=0;while(1){e=c[g+4>>2]|0;d=c[g>>2]|0;if((f|0)>=((e-d|0)/12|0|0))break;e=d+(f*12|0)|0;if(!(a[e>>0]&1))d=e+1|0;else d=c[d+(f*12|0)+8>>2]|0;LDa(b,d);e=f+1|0;aEa(b,-2,e);f=e}if(!d){i=g;return 1}if((e|0)!=(d|0)){do{f=e+-12|0;c[g+4>>2]=f;Mqb(f);e=c[g+4>>2]|0}while((e|0)!=(d|0));d=c[g>>2]|0}oAb(d);i=g;return 1}function cv(a){a=a|0;var b=0,d=0,e=0,f=0;d=i;i=i+16|0;if(!(uDa(a,1)|0)){a=OGa(a,1,326212)|0;i=d;return a|0}e=c[155674]|0;f=c[(c[e>>2]|0)+72>>2]|0;b=BDa(a,1,0)|0;b=Xi[f&511](e,b)|0;if(Xi[c[(c[b>>2]|0)+16>>2]&511](b,1)|0){Gs(a,5,b);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);ODa(a,1493,1);f=1;i=d;return f|0}else{Hi[c[(c[b>>2]|0)+12>>2]&1023](b);f=PGa(a,364201,d)|0;i=d;return f|0}return 0}function dv(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;d=i;i=i+48|0;f=UGa(b,1,0)|0;Iqb(d+24|0,f,rnb(f)|0);f=c[155674]|0;f=cj[c[(c[f>>2]|0)+132>>2]&127](f,(a[d+24>>0]&1)==0?d+24+1|0:c[d+24+8>>2]|0,-1,-1)|0;g=vi[c[(c[f>>2]|0)+16>>2]&2047](f)|0;e=vi[c[(c[f>>2]|0)+20>>2]&2047](f)|0;c[d+12>>2]=0;c[d+12+4>>2]=0;c[d+12+8>>2]=0;h=a[d+24>>0]|0;h=(h&1)==0?(h&255)>>>1:c[d+24+4>>2]|0;frb(d+12|0,439705,1,h+1|0);Vqb(d+12|0,(a[d+24>>0]&1)==0?d+24+1|0:c[d+24+8>>2]|0,h)|0;e=sHa(b,g,e,(a[d+12>>0]&1)==0?d+12+1|0:c[d+12+8>>2]|0)|0;Mqb(d+12|0);Hi[c[(c[f>>2]|0)+12>>2]&1023](f);switch(e|0){case 4:{c[d>>2]=BDa(b,-1,0)|0;h=PGa(b,326231,d)|0;Mqb(d+24|0);i=d;return h|0}case 3:{c[d+8>>2]=BDa(b,-1,0)|0;h=PGa(b,326260,d+8|0)|0;Mqb(d+24|0);i=d;return h|0}default:{h=1;Mqb(d+24|0);i=d;return h|0}}return 0}function ev(a){a=a|0;var b=0,d=0;b=UGa(a,1,0)|0;d=c[155674]|0;b=Xi[c[(c[d>>2]|0)+148>>2]&511](d,b)|0;IDa(a,+(b>>>0)+4294967296.0*+(C|0));return 1}function fv(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;b=UGa(a,1,0)|0;d=c[155674]|0;b=Xi[c[(c[d>>2]|0)+152>>2]&511](d,b)|0;d=C;if((b|0)==-1&(d|0)==-1){a=t4(a,364041,e)|0;i=e;return a|0}if((d|0)>2097151|(d|0)==2097151&b>>>0>4294967295){a=t4(a,326278,e+8|0)|0;i=e;return a|0}else{IDa(a,+(b>>>0)+4294967296.0*+(d|0));a=1;i=e;return a|0}return 0}function gv(a){a=a|0;var b=0,d=0;b=c[155674]|0;d=c[(c[b>>2]|0)+156>>2]|0;a=fs(a,1)|0;si[d&511](b,a);return 0}function hv(a){a=a|0;var b=0;b=c[155674]|0;gs(a,vi[c[(c[b>>2]|0)+160>>2]&2047](b)|0);return 1}function iv(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;j=i;i=i+176|0;c[j+16+8>>2]=9184;g=j+16+12|0;c[j+16>>2]=9388;c[j+16+64>>2]=9408;c[j+16+4>>2]=0;rsb(j+16+64|0,g);c[j+16+136>>2]=0;c[j+16+140>>2]=-1;c[j+16>>2]=9164;c[j+16+64>>2]=9204;c[j+16+8>>2]=9184;tsb(g);c[g>>2]=9220;h=j+16+44|0;c[h>>2]=0;c[h+4>>2]=0;c[h+8>>2]=0;c[h+12>>2]=0;c[j+16+60>>2]=24;c[j+160>>2]=0;c[j+160+4>>2]=0;c[j+160+8>>2]=0;dk(g,j+160|0);Mqb(j+160|0);f=c[155674]|0;f=vi[c[(c[f>>2]|0)+164>>2]&2047](f)|0;d=c[f>>2]|0;f=c[f+4>>2]|0;if((d|0)!=(f|0)){e=0;while(1){if(e)ek(j+16+8|0,439697,1)|0;e=a[d>>0]|0;ek(j+16+8|0,(e&1)==0?d+1|0:c[d+8>>2]|0,(e&1)==0?(e&255)>>>1:c[d+4>>2]|0)|0;d=d+12|0;if((d|0)==(f|0))break;else e=1}}gk(j,g);ks(b,j);Mqb(j);c[j+16>>2]=9164;c[j+16+64>>2]=9204;c[j+16+8>>2]=9184;c[g>>2]=9220;Mqb(h);urb(g);qrb(j+16+64|0);i=j;return 1}function jv(b){b=b|0;var d=0,e=0,f=0,g=0;f=i;i=i+176|0;js(f+144|0,b,1);e=c[155674]|0;e=vi[c[(c[e>>2]|0)+164>>2]&2047](e)|0;d=c[e>>2]|0;b=c[e+4>>2]|0;if((b|0)!=(d|0))do{g=b+-12|0;c[e+4>>2]=g;Mqb(g);b=c[e+4>>2]|0}while((b|0)!=(d|0));c[f+8>>2]=9184;c[f>>2]=9388;c[f+64>>2]=9408;c[f+4>>2]=0;rsb(f+64|0,f+12|0);c[f+136>>2]=0;c[f+140>>2]=-1;c[f>>2]=9164;c[f+64>>2]=9204;c[f+8>>2]=9184;tsb(f+12|0);c[f+12>>2]=9220;c[f+44>>2]=0;c[f+44+4>>2]=0;c[f+44+8>>2]=0;c[f+44+12>>2]=0;c[f+60>>2]=24;c[f+156>>2]=0;c[f+156+4>>2]=0;c[f+156+8>>2]=0;dk(f+12|0,f+156|0);Mqb(f+156|0);g=a[f+144>>0]|0;ek(f+8|0,(g&1)==0?f+144+1|0:c[f+144+8>>2]|0,(g&1)==0?(g&255)>>>1:c[f+144+4>>2]|0)|0;while(1){g=kv(f,f+144|0,59)|0;if(c[g+(c[(c[g>>2]|0)+-12>>2]|0)+16>>2]&5|0)break;b=c[e+4>>2]|0;if((b|0)==(c[e+8>>2]|0)){lv(e,f+144|0);continue}else{Hqb(b,f+144|0);c[e+4>>2]=(c[e+4>>2]|0)+12;continue}}c[f>>2]=9164;c[f+64>>2]=9204;c[f+8>>2]=9184;c[f+12>>2]=9220;Mqb(f+44|0);urb(f+12|0);qrb(f+64|0);Mqb(f+144|0);i=f;return 0}function kv(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0;l=i;i=i+16|0;wsb(l,b,1);if(!(a[l>>0]|0)){i=l;return b|0}if(!(a[e>>0]&1)){a[e+1>>0]=0;a[e>>0]=0;k=e+4|0}else{a[c[e+8>>2]>>0]=0;c[e+4>>2]=0;k=e+4|0}g=0;while(1){h=c[b+(c[(c[b>>2]|0)+-12>>2]|0)+24>>2]|0;j=c[h+12>>2]|0;if((j|0)==(c[h+16>>2]|0)){h=vi[c[(c[h>>2]|0)+40>>2]&2047](h)|0;if((h|0)==-1){h=2;break}}else{c[h+12>>2]=j+1;h=d[j>>0]|0}g=g+1|0;h=h&255;if(h<<24>>24==f<<24>>24){h=0;break}Xqb(e,h);if((a[e>>0]&1)!=0&(c[k>>2]|0)==-17){h=4;break}}e=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;qsb(e,c[e+16>>2]|((g|0)==0?h|4:h));i=l;return b|0}function lv(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;f=c[a>>2]|0;e=(((c[a+4>>2]|0)-f|0)/12|0)+1|0;if(e>>>0>357913941)jzb(a);d=((c[a+8>>2]|0)-f|0)/12|0;if(d>>>0<178956970){d=d<<1>>>0>>0?e:d<<1;e=((c[a+4>>2]|0)-f|0)/12|0;if(!d){g=0;f=0;d=e}else h=6}else{d=357913941;e=((c[a+4>>2]|0)-f|0)/12|0;h=6}if((h|0)==6){g=d;f=YAb(d*12|0)|0;d=e}i=f+(d*12|0)|0;h=f+(g*12|0)|0;Hqb(i,b);g=c[a>>2]|0;d=c[a+4>>2]|0;if((d|0)==(g|0)){e=i;f=g;d=g}else{f=i;e=i;do{b=f+-12|0;d=d+-12|0;c[b>>2]=c[d>>2];c[b+4>>2]=c[d+4>>2];c[b+8>>2]=c[d+8>>2];c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;f=e+-12|0;e=f}while((d|0)!=(g|0));f=c[a>>2]|0;d=c[a+4>>2]|0}c[a>>2]=e;c[a+4>>2]=i+12;c[a+8>>2]=h;e=f;if((d|0)!=(e|0))do{d=d+-12|0;Mqb(d)}while((d|0)!=(e|0));if(!f)return;oAb(f);return}function mv(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0;j=i;i=i+32|0;is(j+16|0,b,1);d=a[j+16>>0]|0;e=(d&1)==0?j+16+1|0:c[j+16+8>>2]|0;d=(d&1)==0?(d&255)>>>1:c[j+16+4>>2]|0;if(d|0){f=e;do{if((a[f>>0]|0)==46)a[f>>0]=47;f=f+1|0}while((f|0)!=(e+d|0))}g=c[155674]|0;h=vi[c[(c[g>>2]|0)+164>>2]&2047](g)|0;e=c[h>>2]|0;h=c[h+4>>2]|0;a:do if((e|0)!=(h|0)){d=0;while(1){Hqb(j+4|0,e);f=brb(j+4|0,63,0)|0;if((f|0)!=-1){k=a[j+16>>0]|0;$qb(j+4|0,f,1,(k&1)==0?j+16+1|0:c[j+16+8>>2]|0,(k&1)==0?(k&255)>>>1:c[j+16+4>>2]|0)|0}if(Xi[c[(c[g>>2]|0)+116>>2]&511](g,(a[j+4>>0]&1)==0?j+4+1|0:c[j+4+8>>2]|0)|0){lDa(b,-2);LDa(b,(a[j+4>>0]&1)==0?j+4+1|0:c[j+4+8>>2]|0);f=0;d=dv(b)|0}else f=1;Mqb(j+4|0);e=e+12|0;if(!f)break;if((e|0)==(h|0))break a}Mqb(j+16|0);i=j;return d|0}while(0);Iqb(j+4|0,326319,35);k=(a[j+4>>0]&1)==0?j+4+1|0:c[j+4+8>>2]|0;c[j>>2]=(a[j+16>>0]&1)==0?j+16+1|0:c[j+16+8>>2]|0;NDa(b,k,j)|0;Mqb(j+4|0);k=1;Mqb(j+16|0);i=j;return k|0}function nv(a){a=a|0;var b=0,d=0;d=i;i=i+32|0;b=c[155674]|0;if(!b){b=YAb(112)|0;H3(b)}else Hi[c[(c[b>>2]|0)+8>>2]&1023](b);Fs(a,1494,2)|0;c[d>>2]=b;c[d+4>>2]=352526;c[d+8>>2]=56;c[d+12>>2]=12652;c[d+16>>2]=12956;a=qs(a,d)|0;i=d;return a|0}function ov(a){a=a|0;var b=0,d=0;if((qDa(a,1)|0)!=3)if((qDa(a,2)|0)!=3)if((qDa(a,1)|0)!=-1)if((qDa(a,2)|0)<1){d=Ku(a,1)|0;b=c[155675]|0;b=Xi[c[(c[b>>2]|0)+24>>2]&511](b,d)|0;Hi[c[(c[d>>2]|0)+12>>2]&1023](d);Gs(a,9,b);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);a=1;return a|0}else{qv(a)|0;d=1;return d|0}d=pv(a)|0;return d|0}function pv(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;g=i;i=i+16|0;c[g+12>>2]=0;if((qDa(a,1)|0)==3)f=3;else if((qDa(a,1)|0)==-1)f=3;else{if(Hs(a,1,2)|0){e=Zs(a,1)|0;Hi[c[(c[e>>2]|0)+8>>2]&1023](e)}else e=Ku(a,1)|0;d=~~+$Ga(a,2,12.0);do if((qDa(a,3)|0)<1)b=0;else{b=UGa(a,3,0)|0;if(!b)b=0;else{if(I6(b,g+12|0)|0){b=c[g+12>>2]|0;break}c[g+8>>2]=b;a=PGa(a,326742,g+8|0)|0;i=g;return a|0}}while(0);h=c[155675]|0;b=cj[c[(c[h>>2]|0)+32>>2]&127](h,e,d,b)|0;Hi[c[(c[e>>2]|0)+12>>2]&1023](e)}if((f|0)==3){d=~~+$Ga(a,1,12.0);do if((qDa(a,2)|0)<1)b=0;else{b=UGa(a,2,0)|0;if(!b)b=0;else{if(I6(b,g+12|0)|0){b=c[g+12>>2]|0;break}c[g>>2]=b;h=PGa(a,326742,g)|0;i=g;return h|0}}while(0);h=c[155675]|0;b=Gi[c[(c[h>>2]|0)+28>>2]&255](h,d,b)|0}Gs(a,9,b);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);h=1;i=g;return h|0}function qv(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0;j=i;i=i+16|0;g=Ku(a,1)|0;c[j+4>>2]=0;h=j+4+4|0;c[h>>2]=0;c[j+4+8>>2]=0;a:do if((qDa(a,2)|0)==5){e=1;while(1){if((e|0)>(Es(a,2)|0))break a;VDa(a,2,e);if((qDa(a,1)|0)==4)f=8;else if(Hs(a,-1,5)|0)f=8;else if(Hs(a,-1,7)|0)f=8;if((f|0)==8){f=0;Js(a,-1,435893,437001)|0}b=Qk(a,-1,22)|0;c[j>>2]=b;d=c[h>>2]|0;if((d|0)==(c[j+4+8>>2]|0))rv(j+4|0,j);else{c[d>>2]=b;c[h>>2]=(c[h>>2]|0)+4}Hi[c[(c[b>>2]|0)+8>>2]&1023](b);lDa(a,-2);e=e+1|0}}else{e=2;while(1){if((e|0)>(kDa(a)|0))break a;if((qDa(a,1)|0)==4)f=17;else if(Hs(a,e,5)|0)f=17;else if(Hs(a,e,7)|0)f=17;if((f|0)==17){f=0;Js(a,e,435893,437001)|0}b=Qk(a,e,22)|0;c[j>>2]=b;d=c[h>>2]|0;if((d|0)==(c[j+4+8>>2]|0))rv(j+4|0,j);else{c[d>>2]=b;c[h>>2]=(c[h>>2]|0)+4}Hi[c[(c[b>>2]|0)+8>>2]&1023](b);e=e+1|0}}while(0);e=c[155675]|0;e=Gi[c[(c[e>>2]|0)+36>>2]&255](e,g,j+4|0)|0;Hi[c[(c[g>>2]|0)+12>>2]&1023](g);b=c[j+4>>2]|0;d=c[h>>2]|0;if((b|0)!=(d|0))do{g=c[b>>2]|0;Hi[c[(c[g>>2]|0)+12>>2]&1023](g);b=b+4|0}while((b|0)!=(d|0));Gs(a,9,e);Hi[c[(c[e>>2]|0)+12>>2]&1023](e);b=c[j+4>>2]|0;if(!b){i=j;return 1}d=c[h>>2]|0;if((d|0)!=(b|0))c[h>>2]=d+(~((d+-4-b|0)>>>2)<<2);oAb(b);i=j;return 1}function rv(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=c[a>>2]|0;d=((c[a+4>>2]|0)-j>>2)+1|0;if(d>>>0>1073741823)jzb(a);e=(c[a+8>>2]|0)-j|0;if(e>>2>>>0<536870911){d=e>>1>>>0>>0?d:e>>1;f=c[a+4>>2]|0;if(!d){i=0;g=0;e=f-j>>2;d=f}else{h=f;e=f-j>>2;k=6}}else{e=c[a+4>>2]|0;d=1073741823;h=e;e=e-j>>2;k=6}if((k|0)==6){i=d;g=YAb(d<<2)|0;d=h}k=g+(e<<2)|0;c[k>>2]=c[b>>2];b=d-j|0;mBb(k+(0-(b>>2)<<2)|0,j|0,b|0)|0;c[a>>2]=k+(0-(b>>2)<<2);c[a+4>>2]=k+4;c[a+8>>2]=g+(i<<2);if(!j)return;oAb(j);return}function sv(a){a=a|0;var b=0,d=0,e=0,f=0;d=i;i=i+16|0;if((qDa(a,1)|0)==4)b=4;else if(Hs(a,1,5)|0)b=4;else if(Hs(a,1,7)|0)b=4;if((b|0)==4)Js(a,1,435893,437001)|0;e=Qk(a,1,22)|0;js(d,a,2);b=~~+$Ga(a,3,0.0);f=c[155675]|0;b=cj[c[(c[f>>2]|0)+40>>2]&127](f,e,d,b)|0;Gs(a,9,b);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);Mqb(d);i=d;return 1}function tv(a){a=a|0;var b=0,d=0,e=0,f=0;d=i;i=i+16|0;b=Gv(a,1)|0;if((qDa(a,2)|0)==4){js(d,a,2);e=c[155675]|0;b=Gi[c[(c[e>>2]|0)+48>>2]&255](e,b,d)|0;Mqb(d)}else{e=~~+_Ga(a,2)>>>0;f=c[155675]|0;b=Gi[c[(c[f>>2]|0)+52>>2]&255](f,b,e)|0}Gs(a,8,b);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);i=d;return 1}function uv(a){a=a|0;var b=0,d=0;d=i;i=i+32|0;b=c[155675]|0;if(!b){b=YAb(12)|0;W4(b)}else Hi[c[(c[b>>2]|0)+8>>2]&1023](b);c[d>>2]=b;c[d+4>>2]=327208;c[d+8>>2]=3;c[d+12>>2]=12972;c[d+16>>2]=13020;a=qs(a,d)|0;i=d;return a|0}function vv(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((qDa(a,b)|0)!=7){c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0}e=EDa(a,b)|0;if(c[(c[155773]|0)+(c[e>>2]<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0){d=e+4|0;d=c[d>>2]|0;i=f;return d|0}c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0;d=e+4|0;d=c[d>>2]|0;i=f;return d|0}function wv(a){a=a|0;var b=0;b=vv(a,1,8)|0;JDa(a,vi[c[(c[b>>2]|0)+28>>2]&2047](b)|0);return 1}function xv(a){a=a|0;var b=0;b=vv(a,1,8)|0;JDa(a,vi[c[(c[b>>2]|0)+24>>2]&2047](b)|0);return 1}function yv(a){a=a|0;var b=0;b=vv(a,1,8)|0;JDa(a,vi[c[(c[b>>2]|0)+28>>2]&2047](b)|0);JDa(a,vi[c[(c[b>>2]|0)+24>>2]&2047](b)|0);return 2}function zv(a){a=a|0;IDa(a,+((d6(vv(a,1,8)|0)|0)>>>0));return 1}function Av(a){a=a|0;var b=0;b=i;i=i+16|0;e6(b,vv(a,1,8)|0);ks(a,b);Mqb(b);i=b;return 1}function Bv(a){a=a|0;JDa(a,g6(vv(a,1,8)|0)|0);return 1}function Cv(a){a=a|0;var b=0;b=vv(a,1,8)|0;JDa(a,h6(b)|0);JDa(a,i6(b)|0);return 2}function Dv(a){a=a|0;var b=0,c=0,d=0,e=0;b=vv(a,1,8)|0;c=j6(b)|0;e=k6(b)|0;d=l6(b)|0;b=(m6(b)|0)-e|0;JDa(a,c);JDa(a,e);JDa(a,d-c|0);JDa(a,b);return 4}function Ev(a){a=a|0;var b=0;b=i;i=i+16|0;if(o6(n6(vv(a,1,8)|0)|0,b+4|0)|0){LDa(a,c[b+4>>2]|0);a=1;i=b;return a|0}else{a=PGa(a,326836,b)|0;i=b;return a|0}return 0}function Fv(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=12068;c[b+4>>2]=13032;c[b+8>>2]=0;a=xs(a,8,326862,b)|0;i=b;return a|0}function Gv(a,b){a=a|0;b=b|0;return Hv(a,b,9)|0}function Hv(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((qDa(a,b)|0)!=7){c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0}e=EDa(a,b)|0;if(c[(c[155773]|0)+(c[e>>2]<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0){d=e+4|0;d=c[d>>2]|0;i=f;return d|0}c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0;d=e+4|0;d=c[d>>2]|0;i=f;return d|0}function Iv(a){a=a|0;var b=0;b=Hv(a,1,9)|0;JDa(a,vi[c[(c[b>>2]|0)+16>>2]&2047](b)|0);return 1}function Jv(a){a=a|0;var b=0;b=Hv(a,1,9)|0;JDa(a,vi[c[(c[b>>2]|0)+20>>2]&2047](b)|0);return 1}function Kv(a){a=a|0;var b=0;b=Hv(a,1,9)|0;JDa(a,vi[c[(c[b>>2]|0)+24>>2]&2047](b)|0);return 1}function Lv(a){a=a|0;var b=0;b=Hv(a,1,9)|0;JDa(a,vi[c[(c[b>>2]|0)+28>>2]&2047](b)|0);return 1}function Mv(a){a=a|0;var b=0;b=Hv(a,1,9)|0;JDa(a,vi[c[(c[b>>2]|0)+32>>2]&2047](b)|0);return 1}function Nv(a){a=a|0;var b=0,d=0,e=0;d=i;i=i+16|0;b=Hv(a,1,9)|0;if((qDa(a,2)|0)==4){js(d,a,2);b=Xi[c[(c[b>>2]|0)+40>>2]&511](b,d)|0;Mqb(d)}else{e=~~+_Ga(a,2)>>>0;b=Xi[c[(c[b>>2]|0)+36>>2]&511](b,e)|0}Gs(a,8,b);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);i=d;return 1}function Ov(a){a=a|0;var b=0;b=Hv(a,1,9)|0;JDa(a,vi[c[(c[b>>2]|0)+44>>2]&2047](b)|0);return 1}function Pv(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;g=i;i=i+16|0;d=Hv(a,1,9)|0;e=(kDa(a)|0)+-1|0;e=(e|0)<1?1:e;a:do if((e|0)>0){f=2;while(1){if((qDa(a,f)|0)==4){b=c[(c[d>>2]|0)+52>>2]|0;js(g,a,f);b=Xi[b&511](d,g)|0;Mqb(g);if(!b){b=0;break a}}else{h=c[(c[d>>2]|0)+48>>2]|0;b=~~+_Ga(a,f)>>>0;b=Xi[h&511](d,b)|0;if(!b){b=0;break a}}if((f|0)>(e|0)){b=b&1;break}else f=f+1|0}}else b=0;while(0);gs(a,b<<24>>24!=0);i=g;return 1}function Qv(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=13112;c[b+4>>2]=0;a=xs(a,9,326907,b)|0;i=b;return a|0}function Rv(a){a=a|0;R9(c[155676]|0);return 0}function Sv(b){b=b|0;var d=0,e=0,f=0,h=0.0;f=i;i=i+32|0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;do if((qDa(b,1)|0)<1){c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0}else{if((qDa(b,1)|0)!=5){g[f>>2]=+_Ga(b,1);g[f+4>>2]=+_Ga(b,2);g[f+8>>2]=+_Ga(b,3);g[f+12>>2]=+$Ga(b,4,255.0);break}d=kDa(b)|0;c[f+16>>2]=0;c[f+16+4>>2]=0;c[f+16+8>>2]=0;do if(!d)e=0;else if(d>>>0>214748364)jzb(f+16|0);else{e=YAb(d*20|0)|0;c[f+16>>2]=e;c[f+16+8>>2]=e+(d*20|0);hBb(e|0,0,d*20|0)|0;c[f+16+4>>2]=e+(d*20|0);e=0;break}while(0);while(1){if((e|0)>=(kDa(b)|0))break;d=e+1|0;if((qDa(b,d)|0)>=1)if(Es(b,d)|0){VDa(b,d,1);VDa(b,d,2);VDa(b,d,3);VDa(b,d,4);a[(c[f+16>>2]|0)+(e*20|0)+16>>0]=1;h=+_Ga(b,-4);g[(c[f+16>>2]|0)+(e*20|0)>>2]=h;h=+_Ga(b,-3);g[(c[f+16>>2]|0)+(e*20|0)+4>>2]=h;h=+_Ga(b,-2);g[(c[f+16>>2]|0)+(e*20|0)+8>>2]=h;h=+$Ga(b,-1,255.0);g[(c[f+16>>2]|0)+(e*20|0)+12>>2]=h;lDa(b,-5);e=d;continue}a[(c[f+16>>2]|0)+(e*20|0)+16>>0]=0;e=d}V9(c[155676]|0,f+16|0);d=c[f+16>>2]|0;if(d|0){b=c[f+16+4>>2]|0;if((b|0)!=(d|0))c[f+16+4>>2]=b+(~(((b+-20-d|0)>>>0)/20|0)*20|0);oAb(d)}i=f;return 0}while(0);e=c[155676]|0;c[f+16>>2]=c[f>>2];c[f+16+4>>2]=c[f+4>>2];c[f+16+8>>2]=c[f+8>>2];c[f+16+12>>2]=c[f+12>>2];U9(e,f+16|0);i=f;return 0}function Tv(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0;j=i;i=i+48|0;c[j+24>>2]=0;h=j+24+4|0;c[h>>2]=0;c[j+24+8>>2]=0;a:do if((qDa(a,1)|0)==5){f=1;while(1){if(f>>>0>(Es(a,1)|0)>>>0)break a;VDa(a,1,f);e=hs(a,-1,1)|0;d=c[h>>2]|0;b=c[j+24+8>>2]|0;if((d|0)==(b<<5|0)){if((d+1|0)<0)break;if(b<<5>>>0>1073741822)b=2147483647;else b=b<<6>>>0<(d+32&-32)>>>0?d+32&-32:b<<6;Uv(j+24|0,b);b=c[h>>2]|0}else b=d;c[h>>2]=b+1;d=(c[j+24>>2]|0)+(b>>>5<<2)|0;b=1<<(b&31);if(e)b=c[d>>2]|b;else b=c[d>>2]&~b;c[d>>2]=b;lDa(a,-2);f=f+1|0}jzb(j+24|0)}else{f=hs(a,1,1)|0;uaa(j+12|0,c[155676]|0);b=c[j+12+4>>2]|0;d=c[j+12>>2]|0;g=b-d>>2>>>0>1?b-d>>2:1;if(d|0){if((b|0)!=(d|0))c[j+12+4>>2]=b+(~((b+-4-d|0)>>>2)<<2);oAb(d)}c[j>>2]=0;c[j+4>>2]=0;c[j+8>>2]=0;do if(!g){b=0;g=0;e=0}else{if((g|0)<0)jzb(j);e=YAb(((g+-1|0)>>>5)+1<<2)|0;c[j>>2]=e;c[j+8>>2]=((g+-1|0)>>>5)+1;c[j+4>>2]=g;if(f){hBb(e|0,-1,g>>>5<<2|0)|0;if((g>>>5<<5|0)==(g|0)){b=((g+-1|0)>>>5)+1|0;break}c[e+(g>>>5<<2)>>2]=c[e+(g>>>5<<2)>>2]|-1>>>(32-g+(g>>>5<<5)|0);b=((g+-1|0)>>>5)+1|0;break}else{hBb(e|0,0,g>>>5<<2|0)|0;if((g>>>5<<5|0)==(g|0)){b=((g+-1|0)>>>5)+1|0;break}c[e+(g>>>5<<2)>>2]=c[e+(g>>>5<<2)>>2]&~(-1>>>(32-g+(g>>>5<<5)|0));b=((g+-1|0)>>>5)+1|0;break}}while(0);d=c[j+24>>2]|0;if(!d)d=g;else{oAb(d);c[j+24>>2]=0;c[j+24+8>>2]=0;c[h>>2]=0;e=c[j>>2]|0;d=c[j+4>>2]|0;b=c[j+8>>2]|0}c[j+24>>2]=e;c[h>>2]=d;c[j+24+8>>2]=b;c[j>>2]=0;c[j+4>>2]=0;c[j+8>>2]=0}while(0);b=hs(a,2,1)|0;W9(c[155676]|0,j+24|0,b);b=c[j+24>>2]|0;if(!b){i=j;return 0}oAb(b);i=j;return 0}function Uv(a,b){a=a|0;b=b|0;var d=0,e=0;d=i;i=i+32|0;if(c[a+8>>2]<<5>>>0>=b>>>0){i=d;return}c[d+16>>2]=0;c[d+16+4>>2]=0;c[d+16+8>>2]=0;if((b|0)<0)jzb(d+16|0);c[d+16>>2]=YAb(((b+-1|0)>>>5)+1<<2)|0;c[d+16+4>>2]=0;c[d+16+8>>2]=((b+-1|0)>>>5)+1;e=c[a>>2]|0;c[d+8>>2]=e;c[d+8+4>>2]=0;b=c[a+4>>2]|0;c[d>>2]=e+(b>>>5<<2);c[d+4>>2]=b&31;Vv(d+16|0,d+8|0,d);b=c[a>>2]|0;c[a>>2]=c[d+16>>2];c[d+16>>2]=b;e=c[a+4>>2]|0;c[a+4>>2]=c[d+16+4>>2];c[d+16+4>>2]=e;e=c[a+8>>2]|0;c[a+8>>2]=c[d+16+8>>2];c[d+16+8>>2]=e;if(b|0)oAb(b);i=d;return}function Vv(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;j=i;i=i+32|0;g=c[a+4>>2]|0;h=c[b>>2]|0;e=c[b+4>>2]|0;f=c[d>>2]|0;d=c[d+4>>2]|0;c[a+4>>2]=g-e+d+(f-h<<3);b=(c[a>>2]|0)+(g>>>5<<2)|0;if((e|0)!=(g&31|0)){c[j+24>>2]=h;c[j+24+4>>2]=e;c[j+16>>2]=f;c[j+16+4>>2]=d;c[j+8>>2]=b;c[j+8+4>>2]=g&31;Wv(j,j+24|0,j+16|0,j+8|0);i=j;return}d=d-e+(f-h<<3)|0;if((d|0)>0){if(!e){e=0;a=h;g=h}else{f=(d|0)<(32-e|0)?d:32-e|0;c[b>>2]=c[b>>2]&~(-1>>>(32-e-f|0)&-1<>2]&(-1>>>(32-e-f|0)&-1<>>5<<2)|0;e=f+e&31;a=h+4|0;g=h+4|0;d=d-f|0}f=d>>>5;nBb(b|0,a|0,f<<2|0)|0;d=d-(f<<5)|0;b=b+(f<<2)|0;if((d|0)>0){c[b>>2]=c[b>>2]&~(-1>>>(32-d|0))|c[g+(f<<2)>>2]&-1>>>(32-d|0);e=d}}c[j>>2]=b;c[j+4>>2]=e;i=j;return}function Wv(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=c[b>>2]|0;f=c[b+4>>2]|0;j=((c[d>>2]|0)-g<<3)+(c[d+4>>2]|0)-f|0;if((j|0)<=0){l=e+4|0;e=c[e>>2]|0;c[a>>2]=e;a=a+4|0;e=c[l>>2]|0;c[a>>2]=e;return}if(!f){l=e+4|0;d=g;f=c[e+4>>2]|0}else{i=(j|0)<(32-f|0)?j:32-f|0;d=-1>>>(32-f-i|0)&-1<>2];k=c[e+4>>2]|0;f=(32-k|0)>>>0>>0?32-k|0:i;g=c[e>>2]|0;k=c[g>>2]&~(-1>>>(32-k-f|0)&-1<>2]=k;h=c[e+4>>2]|0;l=c[b+4>>2]|0;c[g>>2]=k|(h>>>0>l>>>0?d<>>(l-h|0));h=(c[e+4>>2]|0)+f|0;c[e>>2]=g+(h>>>5<<2);c[e+4>>2]=h&31;if((i-f|0)>0){l=c[g+(h>>>5<<2)>>2]&~(-1>>>(32-(i-f)|0));c[g+(h>>>5<<2)>>2]=l;c[g+(h>>>5<<2)>>2]=l|d>>>((c[b+4>>2]|0)+f|0);c[e+4>>2]=i-f;f=i-f|0}else f=h&31;d=(c[b>>2]|0)+4|0;c[b>>2]=d;l=e+4|0;j=j-i|0}k=32-f|0;g=-1<>>0>31){f=j;do{i=c[d>>2]|0;d=c[e>>2]|0;h=c[d>>2]&~g;c[d>>2]=h;c[d>>2]=h|i<>2];c[e>>2]=d+4;c[d+4>>2]=c[d+4>>2]&g|i>>>k;f=f+-32|0;d=(c[b>>2]|0)+4|0;c[b>>2]=d}while(f>>>0>31);j=j&31}if((j|0)<=0){e=c[e>>2]|0;c[a>>2]=e;a=a+4|0;e=c[l>>2]|0;c[a>>2]=e;return}g=c[d>>2]&-1>>>(32-j|0);h=(k|0)<(j|0)?k:j;i=c[e>>2]|0;f=c[i>>2]&~(-1<>2]&-1>>>(k-h|0));c[i>>2]=f;c[i>>2]=f|g<>2];f=(c[l>>2]|0)+h|0;c[e>>2]=i+(f>>>5<<2);c[l>>2]=f&31;d=j-h|0;if((d|0)<=0){e=c[e>>2]|0;c[a>>2]=e;a=a+4|0;e=c[l>>2]|0;c[a>>2]=e;return}c[i+(f>>>5<<2)>>2]=c[i+(f>>>5<<2)>>2]&~(-1>>>(32-d|0))|g>>>h;c[l>>2]=d;e=c[e>>2]|0;c[a>>2]=e;a=a+4|0;e=c[l>>2]|0;c[a>>2]=e;return}function Xv(a){a=a|0;X9(c[155676]|0);return 0}function Yv(a){a=a|0;gs(a,N9(c[155676]|0)|0);return 1}function Zv(a){a=a|0;var b=0;b=c[155676]|0;gs(a,vi[c[(c[b>>2]|0)+40>>2]&2047](b)|0);return 1}function _v(a){a=a|0;gs(a,P9(c[155676]|0)|0);return 1}function $v(a){a=a|0;JDa(a,Y9(c[155676]|0)|0);return 1}function aw(a){a=a|0;JDa(a,Z9(c[155676]|0)|0);return 1}function bw(a){a=a|0;JDa(a,Y9(c[155676]|0)|0);JDa(a,Z9(c[155676]|0)|0);return 2}function cw(a){a=a|0;var b=0,d=0.0,e=0.0,f=0,g=0;g=i;i=i+16|0;switch(kDa(a)|0){case 0:{b=6;break}case 4:{if(!(qDa(a,1)|0))if(!(qDa(a,2)|0))if(!(qDa(a,3)|0))if(!(qDa(a,4)|0))b=6;break}default:{}}if((b|0)==6){C9(c[155676]|0);a=0;i=g;return a|0}d=+_Ga(a,1);e=+_Ga(a,2);b=~~+_Ga(a,3);f=~~+_Ga(a,4);if((f|b|0)<0){a=PGa(a,326956,g)|0;i=g;return a|0}else{B9(c[155676]|0,~~d,~~e,b,f);a=0;i=g;return a|0}return 0}function dw(a){a=a|0;var b=0.0,d=0.0,e=0,f=0,g=0;g=i;i=i+16|0;b=+_Ga(a,1);d=+_Ga(a,2);e=~~+_Ga(a,3);f=~~+_Ga(a,4);if((f|e|0)<0){a=PGa(a,326956,g)|0;i=g;return a|0}else{_9(c[155676]|0,~~b,~~d,e,f);a=0;i=g;return a|0}return 0}function ew(a){a=a|0;var b=0;b=i;i=i+16|0;if(!($9(c[155676]|0,b+12|0,b+8|0,b+4|0,b)|0)){a=0;i=b;return a|0}JDa(a,c[b+12>>2]|0);JDa(a,c[b+8>>2]|0);JDa(a,c[b+4>>2]|0);JDa(a,c[b>>2]|0);a=4;i=b;return a|0}function fw(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;YGa(a,1,6);c[d+4>>2]=0;if((qDa(a,2)|0)>=1){b=UGa(a,2,0)|0;if(!(OA(b,d+4|0)|0)){c[d>>2]=b;a=PGa(a,327009,d)|0;i=d;return a|0}}b=~~+$Ga(a,3,1.0);if(!(ADa(a,4)|0))caa(c[155676]|0);aaa(c[155676]|0,c[d+4>>2]|0,b);pDa(a,1);dEa(a,0,0);S9(c[155676]|0);a=0;i=d;return a|0}function gw(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;c[d+4>>2]=6;do if((qDa(a,1)|0)<1){b=6;a=0}else{b=UGa(a,1,0)|0;if(PA(b,d+4|0)|0){a=~~+_Ga(a,2);b=c[d+4>>2]|0;break}c[d>>2]=b;a=PGa(a,327041,d)|0;i=d;return a|0}while(0);D9(c[155676]|0,b,a);a=0;i=d;return a|0}function hw(a){a=a|0;var b=0;b=i;i=i+16|0;c[b+12>>2]=6;c[b+8>>2]=1;baa(c[155676]|0,b+12|0,b+8|0);if(QA(c[b+12>>2]|0,b+4|0)|0){LDa(a,c[b+4>>2]|0);IDa(a,+(c[b+8>>2]|0));a=2;i=b;return a|0}else{a=PGa(a,327066,b)|0;i=b;return a|0}return 0}function iw(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0;k=i;i=i+80|0;if(!(N9(c[155676]|0)|0))PGa(b,327088,k)|0;c[k+44>>2]=0;j=k+44+4|0;c[j>>2]=0;c[k+44+8>>2]=0;c[k+24>>2]=0;h=k+24+4|0;c[h>>2]=0;c[k+24+8>>2]=0;a[k+64>>0]=0;a[k+64+1>>0]=0;if((qDa(b,2)|0)>=1){YGa(b,2,5);c[k+60>>2]=0;Iba(0,k+60|0)|0;a[k+64>>0]=(ls(b,2,c[k+60>>2]|0,(a[k+64>>0]|0)!=0)|0)&1;c[k+60>>2]=0;Iba(1,k+60|0)|0;a[k+64+1>>0]=(ls(b,2,c[k+60>>2]|0,(a[k+64+1>>0]|0)!=0)|0)&1}do if(!(uDa(b,1)|0))if(Hs(b,1,5)|0)e=8;else if(Hs(b,1,7)|0)e=8;else if(Hs(b,1,23)|0){d=zD(b,1)|0;c[k+56>>2]=d;e=c[h>>2]|0;if(e>>>0<(c[k+24+8>>2]|0)>>>0){c[e>>2]=d;c[h>>2]=(c[h>>2]|0)+4;g=0;e=26;break}else{jw(k+24|0,k+56|0);g=0;e=26;break}}else{d=LD(b,1)|0;c[k+40>>2]=d;e=c[j>>2]|0;if(e>>>0<(c[k+44+8>>2]|0)>>>0){c[e>>2]=d;c[j>>2]=(c[j>>2]|0)+4;g=0;e=26;break}else{kw(k+44|0,k+40|0);g=0;e=26;break}}else e=8;while(0);do if((e|0)==8){d=c[155677]|0;if(!d){f=PGa(b,327136,k+8|0)|0;break}f=Ku(b,1)|0;if(Xi[c[(c[d>>2]|0)+40>>2]&511](d,f)|0){d=Xi[c[(c[d>>2]|0)+36>>2]&511](d,f)|0;c[k+60>>2]=d;e=c[h>>2]|0;if(e>>>0<(c[k+24+8>>2]|0)>>>0){c[e>>2]=d;c[h>>2]=(c[h>>2]|0)+4}else jw(k+24|0,k+60|0);Hi[c[(c[f>>2]|0)+12>>2]&1023](f);g=1;e=26;break}else{d=Xi[c[(c[d>>2]|0)+24>>2]&511](d,f)|0;c[k+60>>2]=d;e=c[j>>2]|0;if(e>>>0<(c[k+44+8>>2]|0)>>>0){c[e>>2]=d;c[j>>2]=(c[j>>2]|0)+4}else kw(k+44|0,k+60|0);Hi[c[(c[f>>2]|0)+12>>2]&1023](f);g=1;e=26;break}}while(0);do if((e|0)==26){if((qDa(b,2)|0)==5){c[k+60>>2]=0;Iba(0,k+60|0)|0;TDa(b,2,c[k+60>>2]|0);a:do if((qDa(b,-1)|0)==5){f=1;while(1){if(f>>>0>(Es(b,-1)|0)>>>0)break a;VDa(b,-1,f);do if((c[k+44>>2]|0)==(c[j>>2]|0)){if((c[k+24>>2]|0)!=(c[h>>2]|0)){if(!(Hs(b,-1,23)|0))Js(b,-1,435893,345804)|0;d=zD(b,-1)|0;c[k+20>>2]=d;e=c[h>>2]|0;if(e>>>0<(c[k+24+8>>2]|0)>>>0){c[e>>2]=d;c[h>>2]=(c[h>>2]|0)+4;break}else{jw(k+24|0,k+20|0);break}}}else{if(!(Hs(b,-1,22)|0))Js(b,-1,435893,437001)|0;d=LD(b,-1)|0;c[k+36>>2]=d;e=c[j>>2]|0;if(e>>>0<(c[k+44+8>>2]|0)>>>0){c[e>>2]=d;c[j>>2]=(c[j>>2]|0)+4;break}else{kw(k+44|0,k+36|0);break}}while(0);lDa(b,-2);f=f+1|0}}while(0);lDa(b,-2)}if((c[k+24>>2]|0)==(c[h>>2]|0))if((c[k+44>>2]|0)==(c[j>>2]|0))f=0;else f=daa(c[155676]|0,k+44|0,k+64|0)|0;else f=eaa(c[155676]|0,k+24|0,k+64|0)|0;if(g<<24>>24){d=c[k+44>>2]|0;e=c[j>>2]|0;if((d|0)!=(e|0))do{g=c[d>>2]|0;Hi[c[(c[g>>2]|0)+12>>2]&1023](g);d=d+4|0}while((d|0)!=(e|0));d=c[k+24>>2]|0;e=c[h>>2]|0;if((d|0)!=(e|0))do{g=c[d>>2]|0;Hi[c[(c[g>>2]|0)+12>>2]&1023](g);d=d+4|0}while((d|0)!=(e|0))}if(!f){f=PGa(b,327186,k+16|0)|0;break}else{Gs(b,12,f);Hi[c[(c[f>>2]|0)+12>>2]&1023](f);f=1;break}}while(0);d=c[k+24>>2]|0;if(d|0){e=c[h>>2]|0;if((e|0)!=(d|0))c[h>>2]=e+(~((e+-4-d|0)>>>2)<<2);oAb(d)}d=c[k+44>>2]|0;if(!d){i=k;return f|0}e=c[j>>2]|0;if((e|0)!=(d|0))c[j>>2]=e+(~((e+-4-d|0)>>>2)<<2);oAb(d);i=k;return f|0}function jw(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=c[a>>2]|0;d=((c[a+4>>2]|0)-j>>2)+1|0;if(d>>>0>1073741823)jzb(a);e=(c[a+8>>2]|0)-j|0;if(e>>2>>>0<536870911){d=e>>1>>>0>>0?d:e>>1;f=c[a+4>>2]|0;if(!d){i=0;g=0;e=f-j>>2;d=f}else{h=f;e=f-j>>2;k=6}}else{e=c[a+4>>2]|0;d=1073741823;h=e;e=e-j>>2;k=6}if((k|0)==6){i=d;g=YAb(d<<2)|0;d=h}k=g+(e<<2)|0;c[k>>2]=c[b>>2];b=d-j|0;mBb(k+(0-(b>>2)<<2)|0,j|0,b|0)|0;c[a>>2]=k+(0-(b>>2)<<2);c[a+4>>2]=k+4;c[a+8>>2]=g+(i<<2);if(!j)return;oAb(j);return}function kw(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=c[a>>2]|0;d=((c[a+4>>2]|0)-j>>2)+1|0;if(d>>>0>1073741823)jzb(a);e=(c[a+8>>2]|0)-j|0;if(e>>2>>>0<536870911){d=e>>1>>>0>>0?d:e>>1;f=c[a+4>>2]|0;if(!d){i=0;g=0;e=f-j>>2;d=f}else{h=f;e=f-j>>2;k=6}}else{e=c[a+4>>2]|0;d=1073741823;h=e;e=e-j>>2;k=6}if((k|0)==6){i=d;g=YAb(d<<2)|0;d=h}k=g+(e<<2)|0;c[k>>2]=c[b>>2];b=d-j|0;mBb(k+(0-(b>>2)<<2)|0,j|0,b|0)|0;c[a>>2]=k+(0-(b>>2)<<2);c[a+4>>2]=k+4;c[a+8>>2]=g+(i<<2);if(!j)return;oAb(j);return}function lw(a){a=a|0;var b=0,d=0,e=0.0,f=0.0,g=0.0,j=0.0,k=0.0,l=0.0;b=i;i=i+80|0;if(!(N9(c[155676]|0)|0))PGa(a,327088,b+32|0)|0;l=+_Ga(a,1);k=+_Ga(a,2);j=+_Ga(a,3);g=+_Ga(a,4);f=+_Ga(a,5);e=+_Ga(a,6);d=c[155676]|0;h[b>>3]=l;h[b+8>>3]=k;h[b+16>>3]=j;h[b+24>>3]=g;c[b+40>>2]=c[b>>2];c[b+40+4>>2]=c[b+4>>2];c[b+40+8>>2]=c[b+8>>2];c[b+40+12>>2]=c[b+12>>2];c[b+40+16>>2]=c[b+16>>2];c[b+40+20>>2]=c[b+20>>2];c[b+40+24>>2]=c[b+24>>2];c[b+40+28>>2]=c[b+28>>2];d=faa(d,b+40|0,f,e)|0;Gs(a,13,d);Hi[c[(c[d>>2]|0)+12>>2]&1023](d);i=b;return 1}function mw(a){a=a|0;var b=0,d=0,e=0,f=0;f=i;i=i+32|0;if(!(N9(c[155676]|0)|0))PGa(a,327088,f)|0;if(!(Hs(a,1,9)|0)){c[f+8>>2]=0;e=f+8+4|0;c[e>>2]=0;c[f+8+8>>2]=0;b=0;while(1){if((b|0)>=(kDa(a)|0))break;b=b+1|0;c[f+4>>2]=b;d=c[e>>2]|0;if(d>>>0<(c[f+8+8>>2]|0)>>>0){c[d>>2]=b;c[e>>2]=d+4;continue}else{al(f+8|0,f+4|0);continue}}b=c[f+8>>2]|0;Ks(a,b,(c[e>>2]|0)-b>>2,327208,327213)|0;b=c[f+8>>2]|0;if(b|0){d=c[e>>2]|0;if((d|0)!=(b|0))c[e>>2]=d+(~((d+-4-b|0)>>>2)<<2);oAb(b)}}d=Hv(a,1,9)|0;e=c[155676]|0;e=M9(e,d,yaa(e)|0)|0;Gs(a,14,e);Hi[c[(c[e>>2]|0)+12>>2]&1023](e);i=f;return 1}function nw(a){a=a|0;var b=0,d=0,e=0,f=0;f=i;i=i+48|0;if(!(N9(c[155676]|0)|0))PGa(a,327088,f)|0;e=yaa(c[155676]|0)|0;c[f+24>>2]=c[e>>2];c[f+24+4>>2]=c[e+4>>2];c[f+24+8>>2]=c[e+8>>2];c[f+24+12>>2]=c[e+12>>2];do if(Hs(a,1,12)|0){e=ow(a,1,12)|0;b=vi[c[(c[e>>2]|0)+36>>2]&2047](e)|0;c[f+24>>2]=c[b>>2];c[f+24+4>>2]=c[b+4>>2];c[f+24+8>>2]=c[b+8>>2];c[f+24+12>>2]=c[b+12>>2];e=Aba(e)|0;b=c[e>>2]|0;if((b|0)!=(c[e+4>>2]|0)){Gs(a,22,c[b>>2]|0);oDa(a,1);break}a=OGa(a,1,327227)|0;i=f;return a|0}while(0);if(!(Hs(a,1,9)|0)){YGa(a,2,4);c[f+8>>2]=0;e=f+8+4|0;c[e>>2]=0;c[f+8+8>>2]=0;b=0;while(1){if((b|0)>=(kDa(a)|0))break;b=b+1|0;c[f+4>>2]=b;d=c[e>>2]|0;if(d>>>0<(c[f+8+8>>2]|0)>>>0){c[d>>2]=b;c[e>>2]=d+4;continue}else{al(f+8|0,f+4|0);continue}}b=c[f+8>>2]|0;Ks(a,b,(c[e>>2]|0)-b>>2,327208,327257)|0;b=c[f+8>>2]|0;if(b|0){d=c[e>>2]|0;if((d|0)!=(b|0))c[e>>2]=d+(~((d+-4-b|0)>>>2)<<2);oAb(b)}}e=Hv(a,1,9)|0;e=M9(c[155676]|0,e,f+24|0)|0;Gs(a,14,e);Hi[c[(c[e>>2]|0)+12>>2]&1023](e);a=1;i=f;return a|0}function ow(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((qDa(a,b)|0)!=7){c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0}e=EDa(a,b)|0;if(c[(c[155773]|0)+(c[e>>2]<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0){d=e+4|0;d=c[d>>2]|0;i=f;return d|0}c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0;d=e+4|0;d=c[d>>2]|0;i=f;return d|0}function pw(a){a=a|0;var b=0,d=0,e=0,f=0;f=i;i=i+16|0;if(!(N9(c[155676]|0)|0))PGa(a,327088,f)|0;d=jD(a,1)|0;e=~~+$Ga(a,2,1.0e3);c[f+12>>2]=1;do if((kDa(a)|0)>2){b=UGa(a,3,0)|0;if(Eca(b,f+12|0)|0){b=c[f+12>>2]|0;break}c[f+8>>2]=b;a=PGa(a,327276,f+8|0)|0;i=f;return a|0}else b=1;while(0);e=gaa(c[155676]|0,d,e,b)|0;Gs(a,16,e);Hi[c[(c[e>>2]|0)+12>>2]&1023](e);a=1;i=f;return a|0}function qw(a){a=a|0;var b=0,d=0.0,e=0;e=i;i=i+16|0;if(!(N9(c[155676]|0)|0))PGa(a,327088,e)|0;b=jD(a,1)|0;d=+$Ga(a,2,1.0e3);if(d<1.0|d>536870911.0){a=PGa(a,327311,e+8|0)|0;i=e;return a|0}else{b=haa(c[155676]|0,b,~~d)|0;Gs(a,15,b);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);a=1;i=e;return a|0}return 0}function rw(a){a=a|0;var b=0,d=0.0,e=0.0,f=0.0,g=0;g=i;i=i+32|0;if(!(N9(c[155676]|0)|0))PGa(a,327088,g)|0;e=+$Ga(a,1,+(Y9(c[155676]|0)|0));f=+$Ga(a,2,+(Z9(c[155676]|0)|0));b=TGa(a,3,518066,0)|0;d=+$Ga(a,4,0.0);if(!(l7(b,g+20|0)|0)){c[g+8>>2]=b;a=PGa(a,327339,g+8|0)|0;i=g;return a|0}b=iaa(c[155676]|0,~~e,~~f,c[g+20>>2]|0,~~d)|0;if(!b){a=PGa(a,327365,g+16|0)|0;i=g;return a|0}else{Gs(a,17,b);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);a=1;i=g;return a|0}return 0}function sw(b){b=b|0;var d=0,e=0,f=0,g=0;g=i;i=i+96|0;if(!(N9(c[155676]|0)|0))PGa(b,327088,g)|0;lDa(b,2);do if(!(uDa(b,1)|0))f=12;else{Is(b,352526,352537)|0;pDa(b,1);dEa(b,1,1);e=fs(b,-1)|0;lDa(b,-2);if(e){Is(b,352526,518755)|0;pDa(b,1);dEa(b,1,1);oDa(b,1);f=12;break}c[g+64>>2]=0;d=BDa(b,1,g+64|0)|0;if(((c[g+64>>2]|0)+-1|0)>>>0<255)if(!(Unb(d,10)|0)){e=Unb(d,46)|0;if(e|0)if(!(Unb(e,59)|0))if(!(Unb(e,32)|0))break}f=12}while(0);a:do if((f|0)==12){do if(uDa(b,2)|0){Is(b,352526,352537)|0;pDa(b,2);dEa(b,1,1);e=fs(b,-1)|0;lDa(b,-2);if(e){Is(b,352526,518755)|0;pDa(b,2);dEa(b,1,1);oDa(b,2);break}c[g+64>>2]=0;d=BDa(b,2,g+64|0)|0;if(((c[g+64>>2]|0)+-1|0)>>>0<255)if(!(Unb(d,10)|0)){e=Unb(d,46)|0;if(e|0)if(!(Unb(e,59)|0))if(!(Unb(e,32)|0))break a}}while(0);d=uDa(b,1)|0;e=uDa(b,2)|0;if(!(e|d))UGa(b,1,0)|0;Is(b,327422,327431)|0;pDa(b,1);pDa(b,2);if(eEa(b,2,2,0)|0){c[g+16>>2]=BDa(b,-1,0)|0;b=PGa(b,593061,g+16|0)|0;i=g;return b|0};c[g+64>>2]=0;c[g+64+4>>2]=0;c[g+64+8>>2]=0;c[g+64+12>>2]=0;c[g+64+16>>2]=0;c[g+64+20>>2]=0;if(!(uDa(b,-2)|0))if((d|0)!=0&(e|0)!=0)d=PGa(b,327449,g+24|0)|0;else f=24;else{js(g+48|0,b,-2);if(!(a[g+64>>0]&1)){a[g+64+1>>0]=0;a[g+64>>0]=0}else{a[c[g+64+8>>2]>>0]=0;c[g+64+4>>2]=0}Qqb(g+64|0,0);c[g+64>>2]=c[g+48>>2];c[g+64+4>>2]=c[g+48+4>>2];c[g+64+8>>2]=c[g+48+8>>2];c[g+48>>2]=0;c[g+48+4>>2]=0;c[g+48+8>>2]=0;Mqb(g+48|0);f=24}b:do if((f|0)==24){if(!(uDa(b,-1)|0)){if((d|0)!=0&(e|0)!=0){d=PGa(b,327515,g+32|0)|0;break}}else{js(g+36|0,b,-1);d=g+64+12|0;if(!(a[d>>0]&1)){a[d+1>>0]=0;a[d>>0]=0}else{a[c[g+64+20>>2]>>0]=0;c[g+64+16>>2]=0}Qqb(d,0);c[d>>2]=c[g+36>>2];c[d+4>>2]=c[g+36+4>>2];c[d+8>>2]=c[g+36+8>>2];c[g+36>>2]=0;c[g+36+4>>2]=0;c[g+36+8>>2]=0;Mqb(g+36|0)}f=a[g+64>>0]|0;do if(!(((f&1)==0?(f&255)>>>1:c[g+64+4>>2]|0)|0)){f=a[g+64+12>>0]|0;if(!(((f&1)==0?(f&255)>>>1:c[g+64+16>>2]|0)|0)){if(!(uDa(b,1)|0))if(!(uDa(b,2)|0))break;else d=2;else d=1;d=OGa(b,d,327578)|0;break b}}while(0);d=Q9(c[155676]|0,g+64|0)|0;Gs(b,18,d);Hi[c[(c[d>>2]|0)+12>>2]&1023](d);d=1}while(0);Mqb(g+64+12|0);Mqb(g+64|0);b=d;i=g;return b|0}while(0);c[g+8>>2]=d;b=PGa(b,504351,g+8|0)|0;i=g;return b|0}function tw(b){b=b|0;var d=0,e=0,f=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+96|0;if(!(N9(c[155676]|0)|0))PGa(b,327088,p)|0;d=qDa(b,1)|0;switch(d|0){case 3:case 5:break;default:OGa(b,1,327619)|0}e=qDa(b,2)|0;if((d|0)==5)if((e|0)==3|(e|2|0)==7){c[p+52>>2]=0;o=p+52+4|0;c[o>>2]=0;c[p+52+8>>2]=0;c[p+72>>2]=0;if((qDa(b,3)|0)>=1){d=UGa(b,3,0)|0;if(d|0)if(!(Fca(d,p+72|0)|0)){c[p+8>>2]=d;PGa(b,341e3,p+8|0)|0}}h=c[p+72>>2]|0;c[p+72>>2]=1;if((qDa(b,4)|0)>=1){d=UGa(b,4,0)|0;if(d|0)if(!(Eca(d,p+72|0)|0)){c[p+16>>2]=d;PGa(b,327644,p+16|0)|0}}f=c[p+72>>2]|0;VDa(b,1,1);do if((qDa(b,-1)|0)==5){lDa(b,-2);e=1;while(1){if((e|0)>(Es(b,1)|0)){m=27;break}VDa(b,1,e);VDa(b,-1,1);VDa(b,-2,2);VDa(b,-3,3);c[p+72>>2]=0;c[p+72+4>>2]=0;c[p+72+8>>2]=0;Rqb(p+72|0,UGa(b,-3,0)|0)|0;d=UGa(b,-2,0)|0;if(!(Hca(d,p+72+12|0)|0)){m=20;break}d=~~+_Ga(b,-1);c[p+72+16>>2]=d;if((d+-1|0)>>>0>3){m=22;break}lDa(b,-5);d=c[o>>2]|0;if((d|0)==(c[p+52+8>>2]|0))uw(p+52|0,p+72|0);else{Hqb(d,p+72|0);n=c[p+72+12+4>>2]|0;c[d+12>>2]=c[p+72+12>>2];c[d+12+4>>2]=n;c[o>>2]=(c[o>>2]|0)+20}Mqb(p+72|0);e=e+1|0}if((m|0)==20){c[p+24>>2]=d;PGa(b,327697,p+24|0)|0;Mqb(p+72|0);f=0;break}else if((m|0)==22){c[p+32>>2]=d;PGa(b,327736,p+32|0)|0;Mqb(p+72|0);f=0;break}else if((m|0)==27){if(tDa(b,2)|0){n=~~+_Ga(b,2);f=laa(c[155676]|0,p+52|0,n,h,f)|0;break}if(Hs(b,2,2)|0){n=wk(b,2,2)|0;l=c[155676]|0;m=vi[c[(c[n>>2]|0)+16>>2]&2047](n)|0;f=maa(l,p+52|0,m,vi[c[(c[n>>2]|0)+20>>2]&2047](n)|0,h,f)|0;break}VDa(b,2,1);if((qDa(b,-1)|0)!=5){OGa(b,2,327807)|0;f=0;break}lDa(b,-2);n=Es(b,2)|0;f=laa(c[155676]|0,p+52|0,n,h,f)|0;m=0;while(1){if(m>>>0>=n>>>0)break;l=m+1|0;VDa(b,2,l);YGa(b,-1,5);d=c[p+52>>2]|0;if((c[o>>2]|0)!=(d|0)){e=0;k=0;do{j=c[d+(k*20|0)+16>>2]|0;if((j|0)>0){h=0;d=e;while(1){e=d+1|0;VDa(b,~h,e);h=h+1|0;if((h|0)>=(j|0))break;else d=e}d=c[p+52>>2]|0}Mx(b,0-j|0,c[d+(k*20|0)+12>>2]|0,j,p+72|0)|0;lDa(b,~j);fca(f,m,k,p+72|0,16);k=k+1|0;d=c[p+52>>2]|0}while(k>>>0<(((c[o>>2]|0)-d|0)/20|0)>>>0)}lDa(b,-2);m=l}sca(f);break}}else{OGa(b,1,327672)|0;f=0}while(0);d=c[p+52>>2]|0;if(d|0){e=c[o>>2]|0;if((e|0)!=(d|0)){do{n=e+-20|0;c[o>>2]=n;Mqb(n);e=c[o>>2]|0}while((e|0)!=(d|0));d=c[p+52>>2]|0}oAb(d)}o=f;Gs(b,19,o);b=c[o>>2]|0;b=b+12|0;b=c[b>>2]|0;Hi[b&1023](o);i=p;return 1}c[p+72>>2]=0;if((qDa(b,2)|0)>=1){d=UGa(b,2,0)|0;if(d|0)if(!(Fca(d,p+72|0)|0)){c[p+40>>2]=d;PGa(b,341e3,p+40|0)|0}}k=c[p+72>>2]|0;c[p+72>>2]=1;if((qDa(b,3)|0)>=1){d=UGa(b,3,0)|0;if(d|0)if(!(Eca(d,p+72|0)|0)){c[p+48>>2]=d;PGa(b,327644,p+48|0)|0}}j=c[p+72>>2]|0;if((qDa(b,1)|0)==5){d=Es(b,1)|0;c[p+72>>2]=0;l=p+72+4|0;c[l>>2]=0;c[p+72+8>>2]=0;a:do if(!d)m=65;else{f=YAb(d*20|0)|0;c[p+72>>2]=f;c[l>>2]=f;c[p+72+8>>2]=f+(d*20|0);f=1;while(1){VDa(b,1,f);if((qDa(b,-1)|0)!=5)break;VDa(b,-1,1);VDa(b,-2,2);VDa(b,-3,3);VDa(b,-4,4);VDa(b,-5,5);VDa(b,-6,6);VDa(b,-7,7);VDa(b,-8,8);g[p+52>>2]=+_Ga(b,-8);g[p+52+4>>2]=+_Ga(b,-7);g[p+52+8>>2]=+$Ga(b,-6,0.0);g[p+52+12>>2]=+$Ga(b,-5,0.0);a[p+52+16>>0]=~~+$Ga(b,-4,255.0);a[p+52+17>>0]=~~+$Ga(b,-3,255.0);a[p+52+18>>0]=~~+$Ga(b,-2,255.0);a[p+52+19>>0]=~~+$Ga(b,-1,255.0);lDa(b,-10);e=c[l>>2]|0;if((e|0)==(c[p+72+8>>2]|0))ok(p+72|0,p+52|0);else{c[e>>2]=c[p+52>>2];c[e+4>>2]=c[p+52+4>>2];c[e+8>>2]=c[p+52+8>>2];c[e+12>>2]=c[p+52+12>>2];c[e+16>>2]=c[p+52+16>>2];c[l>>2]=e+20}f=f+1|0;if(f>>>0>d>>>0){m=65;break a}}Ns(b,1,327832)|0;h=1;d=0}while(0);if((m|0)==65){h=0;d=jaa(c[155676]|0,p+72|0,k,j)|0}e=c[p+72>>2]|0;if(e|0){f=c[l>>2]|0;if((f|0)!=(e|0))c[l>>2]=f+(~(((f+-20-e|0)>>>0)/20|0)*20|0);oAb(e)}if(h){o=0;Gs(b,19,o);b=c[o>>2]|0;b=b+12|0;b=c[b>>2]|0;Hi[b&1023](o);i=p;return 1}}else{d=~~+_Ga(b,1);d=kaa(c[155676]|0,d,k,j)|0}o=d;Gs(b,19,o);b=c[o>>2]|0;b=b+12|0;b=c[b>>2]|0;Hi[b&1023](o);i=p;return 1}function uw(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=c[a>>2]|0;e=(((c[a+4>>2]|0)-f|0)/20|0)+1|0;if(e>>>0>214748364)jzb(a);d=((c[a+8>>2]|0)-f|0)/20|0;if(d>>>0<107374182){d=d<<1>>>0>>0?e:d<<1;e=((c[a+4>>2]|0)-f|0)/20|0;if(!d){f=0;d=0}else g=6}else{d=214748364;e=((c[a+4>>2]|0)-f|0)/20|0;g=6}if((g|0)==6){f=d;d=YAb(d*20|0)|0}i=d+(e*20|0)|0;h=d+(f*20|0)|0;Hqb(i,b);f=c[b+12+4>>2]|0;g=d+(e*20|0)+12|0;c[g>>2]=c[b+12>>2];c[g+4>>2]=f;g=c[a>>2]|0;d=c[a+4>>2]|0;if((d|0)==(g|0)){e=i;f=g;d=g}else{f=i;e=i;do{j=f+-20|0;k=d;d=d+-20|0;c[j>>2]=c[d>>2];c[j+4>>2]=c[d+4>>2];c[j+8>>2]=c[d+8>>2];c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;j=c[k+-8+4>>2]|0;b=f+-8|0;c[b>>2]=c[k+-8>>2];c[b+4>>2]=j;f=e+-20|0;e=f}while((d|0)!=(g|0));f=c[a>>2]|0;d=c[a+4>>2]|0}c[a>>2]=e;c[a+4>>2]=i+20;c[a+8>>2]=h;e=f;if((d|0)!=(e|0))do{d=d+-20|0;Mqb(d)}while((d|0)!=(e|0));if(!f)return;oAb(f);return}function vw(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;f=i;i=i+16|0;if(!(N9(c[155676]|0)|0))PGa(a,327088,f)|0;b=nga(a,1)|0;if((qDa(a,2)|0)<1){e=c[155676]|0;c[f+4>>2]=0;c[f+4+4>>2]=0;c[f+4+8>>2]=0;e=naa(e,b,f+4|0)|0;b=c[f+4>>2]|0;if(b|0){d=c[f+4+4>>2]|0;if((d|0)!=(b|0)){do{g=d+-16|0;c[f+4+4>>2]=g;Mqb(g);d=c[f+4+4>>2]|0}while((d|0)!=(b|0));b=c[f+4>>2]|0}oAb(b)}g=e;Gs(a,20,g);a=c[g>>2]|0;a=a+12|0;a=c[a>>2]|0;Hi[a&1023](g);i=f;return 1}else{c[f+4>>2]=0;c[f+4+4>>2]=0;c[f+4+8>>2]=0;Sz(a,2,f+4|0);e=naa(c[155676]|0,b,f+4|0)|0;b=c[f+4>>2]|0;if(b|0){d=c[f+4+4>>2]|0;if((d|0)!=(b|0)){do{g=d+-16|0;c[f+4+4>>2]=g;Mqb(g);d=c[f+4+4>>2]|0}while((d|0)!=(b|0));b=c[f+4>>2]|0}oAb(b)}g=e;Gs(a,20,g);a=c[g>>2]|0;a=a+12|0;a=c[a>>2]|0;Hi[a&1023](g);i=f;return 1}return 0}function ww(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;if(!(N9(c[155676]|0)|0))PGa(a,327088,b)|0;if(!(Hs(a,1,55)|0))Js(a,1,327848,327854)|0;d=yo(a,1,55)|0;d=oaa(c[155676]|0,d)|0;Gs(a,21,d);Hi[c[(c[d>>2]|0)+12>>2]&1023](d);i=b;return 1}function xw(a){a=a|0;var b=0.0,d=0.0,e=0.0,f=0.0,h=0;h=i;i=i+32|0;if((qDa(a,1)|0)==5){VDa(a,1,1);VDa(a,1,2);VDa(a,1,3);VDa(a,1,4);f=+_Ga(a,-4);d=+_Ga(a,-3);e=+_Ga(a,-2);b=+$Ga(a,-1,255.0);lDa(a,-5)}else{f=+_Ga(a,1);d=+_Ga(a,2);e=+_Ga(a,3);b=+$Ga(a,4,255.0)}a=c[155676]|0;g[h>>2]=f;g[h+4>>2]=d;g[h+8>>2]=e;g[h+12>>2]=b;c[h+16>>2]=c[h>>2];c[h+16+4>>2]=c[h+4>>2];c[h+16+8>>2]=c[h+8>>2];c[h+16+12>>2]=c[h+12>>2];v9(a,h+16|0);i=h;return 0}function yw(a){a=a|0;var b=0;b=i;i=i+16|0;paa(b,c[155676]|0);IDa(a,+g[b>>2]);IDa(a,+g[b+4>>2]);IDa(a,+g[b+8>>2]);IDa(a,+g[b+12>>2]);i=b;return 4}function zw(a){a=a|0;var b=0.0,d=0.0,e=0.0,f=0.0,h=0;h=i;i=i+32|0;if((qDa(a,1)|0)==5){VDa(a,1,1);VDa(a,1,2);VDa(a,1,3);VDa(a,1,4);f=+_Ga(a,-4);d=+_Ga(a,-3);e=+_Ga(a,-2);b=+$Ga(a,-1,255.0);lDa(a,-5)}else{f=+_Ga(a,1);d=+_Ga(a,2);e=+_Ga(a,3);b=+$Ga(a,4,255.0)}a=c[155676]|0;g[h>>2]=f;g[h+4>>2]=d;g[h+8>>2]=e;g[h+12>>2]=b;c[h+16>>2]=c[h>>2];c[h+16+4>>2]=c[h+4>>2];c[h+16+8>>2]=c[h+8>>2];c[h+16+12>>2]=c[h+12>>2];w9(a,h+16|0);i=h;return 0}function Aw(a){a=a|0;var b=0;b=i;i=i+16|0;qaa(b,c[155676]|0);IDa(a,+g[b>>2]);IDa(a,+g[b+4>>2]);IDa(a,+g[b+8>>2]);IDa(a,+g[b+12>>2]);i=b;return 4}function Bw(a){a=a|0;mw(a)|0;a=Cw(a,-1,14)|0;E9(c[155676]|0,a);return 1}function Cw(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((qDa(a,b)|0)!=7){c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0}e=EDa(a,b)|0;if(c[(c[155773]|0)+(c[e>>2]<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0){d=e+4|0;d=c[d>>2]|0;i=f;return d|0}c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0;d=e+4|0;d=c[d>>2]|0;i=f;return d|0}function Dw(a){a=a|0;a=Cw(a,1,14)|0;E9(c[155676]|0,a);return 0}function Ew(a){a=a|0;Gs(a,14,raa(c[155676]|0)|0);return 1}function Fw(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+16|0;if((kDa(b)|0)<2)if((qDa(b,1)|0)<1){f=1;b=16777216;d=256;e=65536}else g=3;else g=3;if((g|0)==3){f=(fs(b,1)|0)&1;d=(fs(b,2)|0)&1;e=(fs(b,3)|0)&1;b=((fs(b,4)|0)&1)<<24;d=d<<8;e=e<<16}g=c[155676]|0;c[h>>2]=e|b|d|f;a[h+4>>0]=a[h>>0]|0;a[h+4+1>>0]=a[h+1>>0]|0;a[h+4+2>>0]=a[h+2>>0]|0;a[h+4+3>>0]=a[h+3>>0]|0;G9(g,h+4|0);i=h;return 0}function Gw(b){b=b|0;var d=0;d=i;i=i+16|0;vaa(d,c[155676]|0);gs(b,(a[d>>0]|0)!=0);gs(b,(a[d+1>>0]|0)!=0);gs(b,(a[d+2>>0]|0)!=0);gs(b,(a[d+3>>0]|0)!=0);i=d;return 4}function Hw(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+32|0;b=UGa(a,1,0)|0;if(!(EA(b,e+16|0)|0)){c[e>>2]=b;d=PGa(a,327869,e)|0;i=e;return d|0}c[e+12>>2]=0;do if((qDa(a,2)|0)<1){b=0;d=7}else{b=UGa(a,2,0)|0;if(GA(b,e+12|0)|0){b=c[e+12>>2]|0;d=7;break}else{c[e+8>>2]=b;b=PGa(a,327892,e+8|0)|0;break}}while(0);if((d|0)==7){m9(c[155676]|0,c[e+16>>2]|0,b);b=0}d=b;i=e;return d|0}function Iw(a){a=a|0;var b=0;b=i;i=i+32|0;if(!(FA(xaa(c[155676]|0,b+12|0)|0,b+20|0)|0)){a=PGa(a,327921,b)|0;i=b;return a|0}if(IA(c[b+12>>2]|0,b+16|0)|0){LDa(a,c[b+20>>2]|0);LDa(a,c[b+16>>2]|0);a=2;i=b;return a|0}else{a=PGa(a,327940,b+8|0)|0;i=b;return a|0}return 0}function Jw(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+32|0;c[e+16>>2]=1;c[e+16+4>>2]=1;c[e+16+8>>2]=0;g[e+16+12>>2]=1.0;b=UGa(a,1,0)|0;d=TGa(a,2,b,0)|0;if(!(WC(b,e+16|0)|0)){c[e>>2]=b;a=PGa(a,437032,e)|0;i=e;return a|0}if(WC(d,e+16+4|0)|0){g[e+16+12>>2]=+$Ga(a,3,1.0);I9(c[155676]|0,e+16|0);a=0;i=e;return a|0}else{c[e+8>>2]=d;a=PGa(a,437032,e+8|0)|0;i=e;return a|0}return 0}function Kw(a){a=a|0;var b=0,d=0;d=i;i=i+32|0;b=yaa(c[155676]|0)|0;if(!(XC(c[b>>2]|0,d+16|0)|0)){a=PGa(a,327965,d)|0;i=d;return a|0}if(XC(c[b+4>>2]|0,d+12|0)|0){LDa(a,c[d+16>>2]|0);LDa(a,c[d+12>>2]|0);IDa(a,+g[b+12>>2]);a=3;i=d;return a|0}else{a=PGa(a,327998,d+8|0)|0;i=d;return a|0}return 0}function Lw(a){a=a|0;var b=0,d=0,e=0.0;d=i;i=i+16|0;c[d+4>>2]=0;if((qDa(a,1)|0)>=1){b=UGa(a,1,0)|0;if(!(WC(b,d+4|0)|0)){c[d>>2]=b;a=PGa(a,437032,d)|0;i=d;return a|0}}e=+$Ga(a,2,0.0);J9(c[155676]|0,c[d+4>>2]|0,e);a=0;i=d;return a|0}function Mw(a){a=a|0;var b=0,d=0.0;b=i;i=i+16|0;zaa(c[155676]|0,b+8|0,b+4|0);if(XC(c[b+8>>2]|0,b)|0){LDa(a,c[b>>2]|0);d=+g[b+4>>2];IDa(a,d);i=b;return 2}else{HDa(a);d=+g[b+4>>2];IDa(a,d);i=b;return 2}return 0}function Nw(a){a=a|0;var b=0.0;b=+_Ga(a,1);x9(c[155676]|0,b);return 0}function Ow(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=UGa(a,1,0)|0;if(JA(b,d+4|0)|0){y9(c[155676]|0,c[d+4>>2]|0);a=0;i=d;return a|0}else{c[d>>2]=b;a=PGa(a,328032,d)|0;i=d;return a|0}return 0}function Pw(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=UGa(a,1,0)|0;if(MA(b,d+4|0)|0){z9(c[155676]|0,c[d+4>>2]|0);a=0;i=d;return a|0}else{c[d>>2]=b;a=PGa(a,328055,d)|0;i=d;return a|0}return 0}function Qw(a){a=a|0;IDa(a,+Aaa(c[155676]|0));return 1}function Rw(a){a=a|0;var b=0;b=i;i=i+16|0;if(LA(Baa(c[155676]|0)|0,b+4|0)|0){LDa(a,c[b+4>>2]|0);a=1;i=b;return a|0}else{a=PGa(a,328082,b)|0;i=b;return a|0}return 0}function Sw(a){a=a|0;var b=0;b=i;i=i+16|0;if(NA(Caa(c[155676]|0)|0,b+4|0)|0){LDa(a,c[b+4>>2]|0);a=1;i=b;return a|0}else{a=PGa(a,328101,b)|0;i=b;return a|0}return 0}function Tw(a){a=a|0;var b=0.0;b=+_Ga(a,1);A9(c[155676]|0,b);return 0}function Uw(a){a=a|0;IDa(a,+Daa(c[155676]|0));return 1}function Vw(a){a=a|0;var b=0;b=c[155676]|0;H9(b,fs(a,1)|0);return 0}function Ww(a){a=a|0;gs(a,Eaa(c[155676]|0)|0);return 1}function Xw(a){a=a|0;var b=0,d=0;d=Yw(a,58)|0;b=hs(a,1,0)|0;b=Paa(c[155676]|0,d,b)|0;Gs(a,22,b);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);return 1}function Yw(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;c[e+12>>2]=439265;Vs(b,e+12|0)|0;us(a,0)|0;TDa(a,-1,c[e+12>>2]|0);if(!(vDa(a,-1)|0)){c[e>>2]=c[e+12>>2];PGa(a,328119,e)|0}d=EDa(a,-1)|0;if(c[(c[155773]|0)+(c[d>>2]<<3)+(b>>>5<<2)>>2]&1<<(b&31)|0){lDa(a,-3);b=d+4|0;b=c[b>>2]|0;i=e;return b|0}c[e+8>>2]=c[e+12>>2];PGa(a,328155,e+8|0)|0;lDa(a,-3);b=d+4|0;b=c[b>>2]|0;i=e;return b|0}function Zw(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;g=i;i=i+32|0;S9(c[155676]|0);if((qDa(a,1)|0)<1){O9(c[155676]|0);i=g;return 0}e=(qDa(a,1)|0)==5;c[g+8>>2]=0;f=g+8+4|0;c[f>>2]=0;c[g+8+8>>2]=0;a:do if(e){e=1;while(1){if((e|0)>(Es(a,1)|0))break a;VDa(a,1,e);b=gga(a,-1)|0;c[g+4>>2]=b;d=c[f>>2]|0;if(d>>>0<(c[g+8+8>>2]|0)>>>0){c[d>>2]=b;c[f>>2]=(c[f>>2]|0)+4}else _w(g+8|0,g+4|0);lDa(a,-2);e=e+1|0}}else{e=1;while(1){if((e|0)>(kDa(a)|0))break a;b=gga(a,e)|0;c[g>>2]=b;d=c[f>>2]|0;if(d>>>0<(c[g+8+8>>2]|0)>>>0){c[d>>2]=b;c[f>>2]=(c[f>>2]|0)+4}else _w(g+8|0,g);e=e+1|0}}while(0);b=c[155676]|0;if((c[f>>2]|0)==(c[g+8>>2]|0))O9(b);else e9(b,g+8|0);b=c[g+8>>2]|0;if(b|0){d=c[f>>2]|0;if((d|0)!=(b|0))c[f>>2]=d+(~((d+-4-b|0)>>>2)<<2);oAb(b)}i=g;return 0}function _w(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=c[a>>2]|0;d=((c[a+4>>2]|0)-j>>2)+1|0;if(d>>>0>1073741823)jzb(a);e=(c[a+8>>2]|0)-j|0;if(e>>2>>>0<536870911){d=e>>1>>>0>>0?d:e>>1;f=c[a+4>>2]|0;if(!d){i=0;g=0;e=f-j>>2;d=f}else{h=f;e=f-j>>2;k=6}}else{e=c[a+4>>2]|0;d=1073741823;h=e;e=e-j>>2;k=6}if((k|0)==6){i=d;g=YAb(d<<2)|0;d=h}k=g+(e<<2)|0;c[k>>2]=c[b>>2];b=d-j|0;mBb(k+(0-(b>>2)<<2)|0,j|0,b|0)|0;c[a>>2]=k+(0-(b>>2)<<2);c[a+4>>2]=k+4;c[a+8>>2]=g+(i<<2);if(!j)return;oAb(j);return}function $w(a){a=a|0;var b=0,d=0,e=0,f=0;f=i;i=i+16|0;uaa(f,c[155676]|0);b=c[f>>2]|0;d=c[f+4>>2]|0;if((b|0)==(d|0)){HDa(a);e=1}else{e=0;do{Gs(a,17,c[b>>2]|0);e=e+1|0;b=b+4|0}while((b|0)!=(d|0))}d=c[f>>2]|0;if(!d){i=f;return e|0}b=c[f+4>>2]|0;if((b|0)!=(d|0))c[f+4>>2]=b+(~((b+-4-d|0)>>>2)<<2);oAb(d);i=f;return e|0}function ax(a){a=a|0;if((qDa(a,1)|0)<1){saa(c[155676]|0);return 0}else{a=qz(a,1)|0;F9(c[155676]|0,a);return 0}return 0}function bx(a){a=a|0;var b=0;b=taa(c[155676]|0)|0;if(!b){HDa(a);return 1}else{Gs(a,18,b);return 1}return 0}function cx(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+208|0;YGa(b,1,5);TDa(b,1,328175);VDa(b,-1,1);VDa(b,-2,2);VDa(b,-3,3);c[h+176>>2]=0;c[h+176+4>>2]=0;c[h+176+8>>2]=0;c[h+176+12>>2]=0;c[h+176+16>>2]=0;c[h+176+20>>2]=0;js(h+160|0,b,-3);if(!(a[h+176>>0]&1)){a[h+176+1>>0]=0;a[h+176>>0]=0}else{a[c[h+176+8>>2]>>0]=0;c[h+176+4>>2]=0}Qqb(h+176|0,0);c[h+176>>2]=c[h+160>>2];c[h+176+4>>2]=c[h+160+4>>2];c[h+176+8>>2]=c[h+160+8>>2];c[h+160>>2]=0;c[h+160+4>>2]=0;c[h+160+8>>2]=0;Mqb(h+160|0);js(h+120|0,b,-2);d=h+176+12|0;if(!(a[d>>0]&1)){a[d+1>>0]=0;a[d>>0]=0}else{a[c[h+176+20>>2]>>0]=0;c[h+176+16>>2]=0}Qqb(d,0);c[d>>2]=c[h+120>>2];c[d+4>>2]=c[h+120+4>>2];c[d+8>>2]=c[h+120+8>>2];c[h+120>>2]=0;c[h+120+4>>2]=0;c[h+120+8>>2]=0;Mqb(h+120|0);c[h+136>>2]=0;c[h+136+4>>2]=0;c[h+136+8>>2]=0;c[h+136+12>>2]=0;c[h+136+16>>2]=0;c[h+136+20>>2]=0;js(h+60|0,b,-3);if(!(a[h+136>>0]&1)){a[h+136+1>>0]=0;a[h+136>>0]=0}else{a[c[h+136+8>>2]>>0]=0;c[h+136+4>>2]=0}Qqb(h+136|0,0);c[h+136>>2]=c[h+60>>2];c[h+136+4>>2]=c[h+60+4>>2];c[h+136+8>>2]=c[h+60+8>>2];c[h+60>>2]=0;c[h+60+4>>2]=0;c[h+60+8>>2]=0;Mqb(h+60|0);js(h+48|0,b,-1);e=h+136+12|0;if(!(a[e>>0]&1)){a[e+1>>0]=0;a[e>>0]=0}else{a[c[h+136+20>>2]>>0]=0;c[h+136+16>>2]=0}Qqb(e,0);c[e>>2]=c[h+48>>2];c[e+4>>2]=c[h+48+4>>2];c[e+8>>2]=c[h+48+8>>2];c[h+48>>2]=0;c[h+48+4>>2]=0;c[h+48+8>>2]=0;Mqb(h+48|0);lDa(b,-5);TDa(b,1,328182);VDa(b,-1,1);VDa(b,-2,2);VDa(b,-3,3);c[h+96>>2]=0;c[h+96+4>>2]=0;c[h+96+8>>2]=0;c[h+96+12>>2]=0;c[h+96+16>>2]=0;c[h+96+20>>2]=0;js(h+36|0,b,-3);if(!(a[h+96>>0]&1)){a[h+96+1>>0]=0;a[h+96>>0]=0}else{a[c[h+96+8>>2]>>0]=0;c[h+96+4>>2]=0}Qqb(h+96|0,0);c[h+96>>2]=c[h+36>>2];c[h+96+4>>2]=c[h+36+4>>2];c[h+96+8>>2]=c[h+36+8>>2];c[h+36>>2]=0;c[h+36+4>>2]=0;c[h+36+8>>2]=0;Mqb(h+36|0);js(h+24|0,b,-2);f=h+96+12|0;if(!(a[f>>0]&1)){a[f+1>>0]=0;a[f>>0]=0}else{a[c[h+96+20>>2]>>0]=0;c[h+96+16>>2]=0}Qqb(f,0);c[f>>2]=c[h+24>>2];c[f+4>>2]=c[h+24+4>>2];c[f+8>>2]=c[h+24+8>>2];c[h+24>>2]=0;c[h+24+4>>2]=0;c[h+24+8>>2]=0;Mqb(h+24|0);c[h+72>>2]=0;c[h+72+4>>2]=0;c[h+72+8>>2]=0;c[h+72+12>>2]=0;c[h+72+16>>2]=0;c[h+72+20>>2]=0;js(h+12|0,b,-3);if(!(a[h+72>>0]&1)){a[h+72+1>>0]=0;a[h+72>>0]=0}else{a[c[h+72+8>>2]>>0]=0;c[h+72+4>>2]=0}Qqb(h+72|0,0);c[h+72>>2]=c[h+12>>2];c[h+72+4>>2]=c[h+12+4>>2];c[h+72+8>>2]=c[h+12+8>>2];c[h+12>>2]=0;c[h+12+4>>2]=0;c[h+12+8>>2]=0;Mqb(h+12|0);js(h,b,-1);g=h+72+12|0;if(!(a[g>>0]&1)){a[g+1>>0]=0;a[g>>0]=0}else{a[c[h+72+20>>2]>>0]=0;c[h+72+16>>2]=0}Qqb(g,0);c[g>>2]=c[h>>2];c[g+4>>2]=c[h+4>>2];c[g+8>>2]=c[h+8>>2];c[h>>2]=0;c[h+4>>2]=0;c[h+8>>2]=0;Mqb(h);lDa(b,-5);Nqb(631332,h+176|0)|0;Nqb(631344,d)|0;Nqb(631356,h+96|0)|0;Nqb(631368,f)|0;Nqb(631380,h+136|0)|0;Nqb(631392,e)|0;Nqb(631404,h+72|0)|0;Nqb(631416,g)|0;Mqb(g);Mqb(h+72|0);Mqb(f);Mqb(h+96|0);Mqb(e);Mqb(h+136|0);Mqb(d);Mqb(h+176|0);i=h;return 0}function dx(a){a=a|0;var b=0;b=i;i=i+16|0;WDa(a,0,3);c[b>>2]=0;if(RA(0,b)|0){gs(a,waa(c[155676]|0,0)|0);_Da(a,-2,c[b>>2]|0)}c[b>>2]=0;if(RA(1,b)|0){gs(a,waa(c[155676]|0,1)|0);_Da(a,-2,c[b>>2]|0)}c[b>>2]=0;if(!(RA(2,b)|0)){i=b;return 1}gs(a,waa(c[155676]|0,2)|0);_Da(a,-2,c[b>>2]|0);i=b;return 1}function ex(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;WDa(a,0,17);b=0;do{c[d>>2]=0;if(m7(b,d)|0){gs(a,k7(b)|0);_Da(a,-2,c[d>>2]|0)}b=b+1|0}while((b|0)!=17);i=d;return 1}function fx(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;WDa(a,0,37);b=0;while(1){c[d>>2]=0;if(!b){b=1;continue}if(yD(b,d)|0){gs(a,xba(b,0)|0);_Da(a,-2,c[d>>2]|0)}b=b+1|0;if((b|0)==37)break}i=d;return 1}function gx(a){a=a|0;var b=0,d=0,e=0;d=i;i=i+96|0;b=d;e=b+48|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(e|0));Qaa(d+48|0,c[155676]|0);hx(d,d+48|0)|0;Mqb(d+48+36|0);Mqb(d+48+24|0);Mqb(d+48+12|0);Mqb(d+48|0);ks(a,d);ks(a,d+12|0);ks(a,d+24|0);ks(a,d+36|0);Mqb(d+36|0);Mqb(d+24|0);Mqb(d+12|0);Mqb(d);i=d;return 4}function hx(b,d){b=b|0;d=d|0;if(!(a[b>>0]&1)){a[b+1>>0]=0;a[b>>0]=0}else{a[c[b+8>>2]>>0]=0;c[b+4>>2]=0}Qqb(b,0);c[b>>2]=c[d>>2];c[b+4>>2]=c[d+4>>2];c[b+8>>2]=c[d+8>>2];c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;if(!(a[b+12>>0]&1)){a[b+12+1>>0]=0;a[b+12>>0]=0}else{a[c[b+20>>2]>>0]=0;c[b+16>>2]=0}Qqb(b+12|0,0);c[b+12>>2]=c[d+12>>2];c[b+12+4>>2]=c[d+12+4>>2];c[b+12+8>>2]=c[d+12+8>>2];c[d+12>>2]=0;c[d+12+4>>2]=0;c[d+12+8>>2]=0;if(!(a[b+24>>0]&1)){a[b+24+1>>0]=0;a[b+24>>0]=0}else{a[c[b+32>>2]>>0]=0;c[b+28>>2]=0}Qqb(b+24|0,0);c[b+24>>2]=c[d+24>>2];c[b+24+4>>2]=c[d+24+4>>2];c[b+24+8>>2]=c[d+24+8>>2];c[d+24>>2]=0;c[d+24+4>>2]=0;c[d+24+8>>2]=0;if(!(a[b+36>>0]&1)){a[b+36+1>>0]=0;a[b+36>>0]=0;Qqb(b+36|0,0);c[b+36>>2]=c[d+36>>2];c[b+36+4>>2]=c[d+36+4>>2];c[b+36+8>>2]=c[d+36+8>>2];c[d+36>>2]=0;c[d+36+4>>2]=0;c[d+36+8>>2]=0;return b|0}else{a[c[b+44>>2]>>0]=0;c[b+40>>2]=0;Qqb(b+36|0,0);c[b+36>>2]=c[d+36>>2];c[b+36+4>>2]=c[d+36+4>>2];c[b+36+8>>2]=c[d+36+8>>2];c[d+36>>2]=0;c[d+36+4>>2]=0;c[d+36+8>>2]=0;return b|0}return 0}function ix(a){a=a|0;var b=0;b=i;i=i+16|0;WDa(a,0,4);c[b>>2]=0;if(SA(0,b)|0){IDa(a,+Saa(c[155676]|0,0));_Da(a,-2,c[b>>2]|0)}c[b>>2]=0;if(SA(1,b)|0){IDa(a,+Saa(c[155676]|0,1));_Da(a,-2,c[b>>2]|0)}c[b>>2]=0;if(SA(2,b)|0){IDa(a,+Saa(c[155676]|0,2));_Da(a,-2,c[b>>2]|0)}c[b>>2]=0;if(!(SA(3,b)|0)){i=b;return 1}IDa(a,+Saa(c[155676]|0,3));_Da(a,-2,c[b>>2]|0);i=b;return 1}function jx(a){a=a|0;var b=0;b=i;i=i+32|0;Raa(b+8|0,c[155676]|0);WDa(a,0,6);c[b>>2]=0;VA(0,b)|0;JDa(a,c[b+8>>2]|0);_Da(a,-2,c[b>>2]|0);VA(1,b)|0;JDa(a,c[b+8+4>>2]|0);_Da(a,-2,c[b>>2]|0);VA(2,b)|0;JDa(a,c[b+8+8>>2]|0);_Da(a,-2,c[b>>2]|0);VA(3,b)|0;JDa(a,c[b+8+12>>2]|0);_Da(a,-2,c[b>>2]|0);VA(4,b)|0;JDa(a,c[b+8+16>>2]|0);_Da(a,-2,c[b>>2]|0);VA(5,b)|0;IDa(a,+((c[b+8+20>>2]|0)>>>0));_Da(a,-2,c[b>>2]|0);i=b;return 1}function kx(a){a=a|0;var b=0.0,d=0,e=0.0,f=0.0,g=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0,n=0,o=0;if(Hs(a,2,13)|0){o=jD(a,1)|0;m=0;n=c[(EDa(a,2)|0)+4>>2]|0;d=3}else{if(!(qDa(a,2)|0))if((qDa(a,3)|0)>=1){o=Ns(a,2,345210)|0;return o|0}m=lx(a,1,10)|0;n=0;d=2;o=0}e=+$Ga(a,d,0.0);f=+$Ga(a,d+1|0,0.0);g=+$Ga(a,d+2|0,0.0);h=+$Ga(a,d+3|0,1.0);i=+$Ga(a,d|4,h);j=+$Ga(a,d+5|0,0.0);k=+$Ga(a,d+6|0,0.0);l=+$Ga(a,d+7|0,0.0);b=+$Ga(a,d|8,0.0);if(!((n|0)==0|(o|0)==0)){Zi[c[(c[o>>2]|0)+20>>2]&3](o,n,e,f,g,h,i,j,k,l,b);o=0;return o|0}if(!m){o=0;return o|0}ui[c[(c[m>>2]|0)+16>>2]&7](m,e,f,g,h,i,j,k,l,b);o=0;return o|0}function lx(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((qDa(a,b)|0)!=7){c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0}e=EDa(a,b)|0;if(c[(c[155773]|0)+(c[e>>2]<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0){d=e+4|0;d=c[d>>2]|0;i=f;return d|0}c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0;d=e+4|0;d=c[d>>2]|0;i=f;return d|0}function mx(a){a=a|0;var b=0,d=0,e=0.0,f=0.0,g=0.0,h=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0;d=i;i=i+16|0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;Sz(a,1,d);n=+$Ga(a,2,0.0);m=+$Ga(a,3,0.0);l=+$Ga(a,4,0.0);k=+$Ga(a,5,1.0);j=+$Ga(a,6,k);h=+$Ga(a,7,0.0);g=+$Ga(a,8,0.0);f=+$Ga(a,9,0.0);e=+$Ga(a,10,0.0);Faa(c[155676]|0,d,n,m,l,k,j,h,g,f,e);a=c[d>>2]|0;if(!a){i=d;return 0}b=c[d+4>>2]|0;if((b|0)!=(a|0)){do{o=b+-16|0;c[d+4>>2]=o;Mqb(o);b=c[d+4>>2]|0}while((b|0)!=(a|0));a=c[d>>2]|0}oAb(a);i=d;return 0}function nx(a){a=a|0;var b=0,d=0,e=0.0,f=0.0,g=0.0,h=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0,q=0;q=i;i=i+32|0;c[q+8>>2]=0;c[q+8+4>>2]=0;c[q+8+8>>2]=0;Sz(a,1,q+8|0);m=+_Ga(a,2);n=+_Ga(a,3);o=+_Ga(a,4);c[q+4>>2]=0;do if((kDa(a)|0)>4){if(qDa(a,5)|0){b=UGa(a,5,0)|0;if(!(y8(b,q+4|0)|0)){c[q>>2]=b;d=PGa(a,328191,q)|0;break}}k=+$Ga(a,6,0.0);h=+$Ga(a,7,1.0);j=+$Ga(a,8,h);f=+$Ga(a,9,0.0);g=+$Ga(a,10,0.0);l=+$Ga(a,11,0.0);e=+$Ga(a,12,0.0);p=6}else{k=0.0;l=0.0;e=0.0;f=0.0;g=0.0;h=1.0;j=1.0;p=6}while(0);if((p|0)==6){Gaa(c[155676]|0,q+8|0,m,n,o,c[q+4>>2]|0,k,h,j,f,g,l,e);d=0}b=c[q+8>>2]|0;if(!b){i=q;return d|0}a=c[q+8+4>>2]|0;if((a|0)!=(b|0)){do{p=a+-16|0;c[q+8+4>>2]=p;Mqb(p);a=c[q+8+4>>2]|0}while((a|0)!=(b|0));b=c[q+8>>2]|0}oAb(b);i=q;return d|0}function ox(b){b=b|0;var d=0,e=0,f=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+16|0;d=kDa(b)|0;if((d|0)==1)if((qDa(b,1)|0)==5){d=Es(b,1)|0;VDa(b,1,1);h=(qDa(b,-1)|0)==5;lDa(b,-2);f=1}else{d=1;f=0;h=0}else{f=0;h=0}if(!((d&1|0)==0|h)){b=PGa(b,328215,m)|0;i=m;return b|0}k=h?d:(d|0)/2|0;j=_Ab(k<<1>>>0>1073741823?-1:k<<1<<2)|0;if(h)l=_Ab((k|0)<0?-1:k<<2)|0;else l=0;e=(d|0)>0;do if(f)if(h){if(e)e=0;else break;do{h=e;e=e+1|0;VDa(b,1,e);VDa(b,-1,1);VDa(b,-2,2);VDa(b,-3,3);VDa(b,-4,4);VDa(b,-5,5);VDa(b,-6,6);g[j+(h<<1<<2)>>2]=+yDa(b,-6);g[j+((h<<1|1)<<2)>>2]=+yDa(b,-5);a[l+(h<<2)>>0]=~~+$Ga(b,-4,255.0);a[l+(h<<2|1)>>0]=~~+$Ga(b,-3,255.0);a[l+(h<<2|2)>>0]=~~+$Ga(b,-2,255.0);a[l+(h<<2|3)>>0]=~~+$Ga(b,-1,255.0);lDa(b,-8)}while((e|0)!=(d|0))}else{if(e)e=0;else break;do{h=e;e=e+1|0;VDa(b,1,e);g[j+(h<<2)>>2]=+yDa(b,-1);lDa(b,-2)}while((e|0)!=(d|0))}else if(e){e=0;do{h=e;e=e+1|0;g[j+(h<<2)>>2]=+yDa(b,e)}while((e|0)!=(d|0))}while(0);Haa(c[155676]|0,j,l,k);aBb(j);if(!l){b=0;i=m;return b|0}aBb(l);b=0;i=m;return b|0}function px(a){a=a|0;var b=0,d=0,e=0,f=0,h=0;f=i;i=i+16|0;b=kDa(a)|0;if((b|0)==1){if((qDa(a,1)|0)==5){b=Es(a,1)|0;d=1;e=4}}else{d=0;e=4}if((e|0)==4)if(!(b&1)){if((b|0)<4){a=PGa(a,328269,f+8|0)|0;i=f;return a|0}e=_Ab(b>>>0>1073741823?-1:b<<2)|0;if(d){d=0;do{h=d;d=d+1|0;VDa(a,1,d);g[e+(h<<2)>>2]=+yDa(a,-1);lDa(a,-2)}while((d|0)!=(b|0))}else{d=0;do{h=d;d=d+1|0;g[e+(h<<2)>>2]=+yDa(a,d)}while((d|0)!=(b|0))}Iaa(c[155676]|0,e,b);aBb(e);h=0;i=f;return h|0}h=PGa(a,328215,f)|0;i=f;return h|0}function qx(a){a=a|0;var b=0,d=0.0,e=0.0,f=0.0,g=0.0,h=0.0,j=0.0,k=0.0,l=0;l=i;i=i+16|0;b=UGa(a,1,0)|0;if(!(BA(b,l+4|0)|0)){c[l>>2]=b;a=PGa(a,328311,l)|0;i=l;return a|0}h=+_Ga(a,2);j=+_Ga(a,3);k=+_Ga(a,4);e=+_Ga(a,5);if((qDa(a,6)|0)<1){Jaa(c[155676]|0,c[l+4>>2]|0,h,j,k,e);a=0;i=l;return a|0}f=+$Ga(a,6,0.0);g=+$Ga(a,7,f);if((qDa(a,8)|0)<1){d=f20.0)b=~~(d*.5);else b=10}else b=~~+_Ga(a,8);Laa(c[155676]|0,c[l+4>>2]|0,h,j,k,e,f,g,b);a=0;i=l;return a|0}function rx(a){a=a|0;var b=0,d=0.0,e=0.0,f=0.0,g=0;g=i;i=i+16|0;b=UGa(a,1,0)|0;if(!(BA(b,g+4|0)|0)){c[g>>2]=b;a=PGa(a,328311,g)|0;i=g;return a|0}d=+_Ga(a,2);e=+_Ga(a,3);f=+_Ga(a,4);if((qDa(a,5)|0)<1)b=f>10.0?~~f:10;else b=~~+_Ga(a,5);Maa(c[155676]|0,c[g+4>>2]|0,d,e,f,b);a=0;i=g;return a|0}function sx(a){a=a|0;var b=0,d=0.0,e=0.0,f=0.0,g=0.0,h=0;h=i;i=i+16|0;b=UGa(a,1,0)|0;if(!(BA(b,h+4|0)|0)){c[h>>2]=b;a=PGa(a,328311,h)|0;i=h;return a|0}e=+_Ga(a,2);f=+_Ga(a,3);g=+_Ga(a,4);d=+$Ga(a,5,g);if((qDa(a,6)|0)<1)b=g+d>30.0?~~((g+d)*.5):15;else b=~~+_Ga(a,6);Naa(c[155676]|0,c[h+4>>2]|0,e,f,g,d,b);a=0;i=h;return a|0}function tx(a){a=a|0;var b=0,d=0,e=0.0,f=0.0,g=0.0,h=0.0,j=0.0,k=0.0,l=0,m=0;m=i;i=i+32|0;b=UGa(a,1,0)|0;if(!(BA(b,m+16|0)|0)){c[m>>2]=b;a=PGa(a,328311,m)|0;i=m;return a|0}c[m+12>>2]=2;if((qDa(a,2)|0)==4){b=UGa(a,2,0)|0;if(DA(b,m+12|0)|0){l=3;d=6}else{c[m+8>>2]=b;b=PGa(a,328333,m+8|0)|0}}else{l=2;d=6}if((d|0)==6){k=+_Ga(a,l);f=+_Ga(a,l+1|0);g=+_Ga(a,l+2|0);h=+_Ga(a,l+3|0);j=+_Ga(a,l|4);e=+N(+(h-j));if(e<6.2831854820251465)b=~~(+(~~g|0)*(e/6.2831854820251465));else b=~~g;b=~~+$Ga(a,l+5|0,+(((b|0)<10?10:b)|0));Oaa(c[155676]|0,c[m+16>>2]|0,c[m+12>>2]|0,k,f,g,h,j,b);b=0}a=b;i=m;return a|0}function ux(a){a=a|0;var b=0,d=0,e=0,f=0,h=0,j=0;h=i;i=i+32|0;b=(kDa(a)|0)+-1|0;d=UGa(a,1,0)|0;if(!(BA(d,h+20|0)|0)){c[h>>2]=d;a=PGa(a,328311,h)|0;i=h;return a|0}if((b|0)==1){if((qDa(a,2)|0)==5){b=Es(a,2)|0;d=1;e=6}}else{d=0;e=6}if((e|0)==6)if(!(b&1)){if((b|0)<6){a=PGa(a,328354,h+16|0)|0;i=h;return a|0}e=b+2|0;f=_Ab(e>>>0>1073741823?-1:e<<2)|0;if(d){d=0;do{j=d;d=d+1|0;VDa(a,2,d);g[f+(j<<2)>>2]=+yDa(a,-1);lDa(a,-2)}while((d|0)!=(b|0))}else{d=0;do{g[f+(d<<2)>>2]=+yDa(a,d+2|0);d=d+1|0}while((d|0)!=(b|0))}c[f+(b<<2)>>2]=c[f>>2];c[f+(b+1<<2)>>2]=c[f+4>>2];Kaa(c[155676]|0,c[h+20>>2]|0,f,e);aBb(f);j=0;i=h;return j|0}j=PGa(a,328215,h+8|0)|0;i=h;return j|0}function vx(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;c[d+4>>2]=1;do if((qDa(a,1)|0)<1)b=1;else{b=UGa(a,1,0)|0;if(!b)b=1;else{if(TA(b,d+4|0)|0){b=c[d+4>>2]|0;break}c[d>>2]=b;a=PGa(a,328401,d)|0;i=d;return a|0}}while(0);Taa(c[155676]|0,b);a=0;i=d;return a|0}function wx(a){a=a|0;Xaa(c[155676]|0);return 0}function xx(a){a=a|0;var b=0.0;b=+_Ga(a,1);Yaa(c[155676]|0,b);return 0}function yx(a){a=a|0;var b=0.0,d=0.0;d=+$Ga(a,1,1.0);b=+$Ga(a,2,d);Zaa(c[155676]|0,d,b);return 0}function zx(a){a=a|0;var b=0.0,d=0.0;d=+_Ga(a,1);b=+_Ga(a,2);_aa(c[155676]|0,d,b);return 0}function Ax(a){a=a|0;var b=0.0,d=0.0;d=+_Ga(a,1);b=+_Ga(a,2);$aa(c[155676]|0,d,b);return 0}function Bx(a){a=a|0;T9(c[155676]|0);return 0}function Cx(a){a=a|0;var b=0,d=0;d=i;i=i+32|0;b=c[155676]|0;if(!b){b=YAb(68)|0;r9(b)}else Hi[c[(c[b>>2]|0)+8>>2]&1023](b);c[d>>2]=b;c[d+4>>2]=327422;c[d+8>>2]=57;c[d+12>>2]=13184;c[d+16>>2]=13840;b=qs(a,d)|0;if(sHa(a,329220,11561,340781)|0){i=d;return b|0}dEa(a,0,0);i=d;return b|0}function Dx(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=0;a=xs(a,10,329211,b)|0;i=b;return a|0}function Ex(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+32|0;b=ow(a,1,12)|0;d=vi[c[(c[b>>2]|0)+36>>2]&2047](b)|0;c[e+8>>2]=c[d>>2];c[e+8+4>>2]=c[d+4>>2];c[e+8+8>>2]=c[d+8>>2];c[e+8+12>>2]=c[d+12>>2];if((qDa(a,2)|0)<1)c[e+8+8>>2]=0;else{d=UGa(a,2,0)|0;if(!(WC(d,e+8+8|0)|0)){c[e>>2]=d;a=PGa(a,437032,e)|0;i=e;return a|0}}si[c[(c[b>>2]|0)+32>>2]&511](b,e+8|0);yba(b,+$Ga(a,3,0.0));a=0;i=e;return a|0}function Fx(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=ow(a,1,12)|0;if(XC(c[(vi[c[(c[b>>2]|0)+36>>2]&2047](b)|0)+8>>2]|0,d)|0)LDa(a,c[d>>2]|0);else HDa(a);IDa(a,+Cba(b));i=d;return 2}function Gx(a){a=a|0;gs(a,wba(ow(a,1,12)|0)|0);return 1}function Hx(a){a=a|0;var b=0,d=0,e=0,f=0;b=ow(a,1,12)|0;f=~~+$Ga(a,2,0.0);e=~~+$Ga(a,3,0.0);d=~~+$Ga(a,4,+(vi[c[(c[b>>2]|0)+24>>2]&2047](b)|0));zba(b,f,e,d,~~+$Ga(a,5,+(vi[c[(c[b>>2]|0)+28>>2]&2047](b)|0)))|0;return 0}function Ix(a){a=a|0;var b=0,d=0,e=0;b=ow(a,1,12)|0;if(wba(b)|0){d=Bba(b)|0;b=c[d>>2]|0;d=c[d+4>>2]|0;if((b|0)==(d|0)){a=0;return a|0}e=b;do{Gs(a,23,c[e>>2]|0);e=e+4|0}while((e|0)!=(d|0));a=((d+-4-b|0)>>>2)+1|0;return a|0}else{d=Aba(b)|0;b=c[d>>2]|0;d=c[d+4>>2]|0;if((b|0)==(d|0)){a=0;return a|0}e=b;do{Gs(a,22,c[e>>2]|0);e=e+4|0}while((e|0)!=(d|0));a=((d+-4-b|0)>>>2)+1|0;return a|0}return 0}function Jx(b){b=b|0;var d=0,e=0,f=0;d=i;i=i+16|0;e=Dba(ow(b,1,12)|0)|0;f=a[e>>0]|0;e=a[e+1>>0]|0;WDa(b,0,2);PDa(b,f&1);c[d>>2]=0;Iba(0,d)|0;_Da(b,-2,c[d>>2]|0);PDa(b,e&1);c[d>>2]=0;Iba(1,d)|0;_Da(b,-2,c[d>>2]|0);i=d;return 1}function Kx(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=15104;c[b+4>>2]=13892;c[b+8>>2]=0;a=xs(a,12,340799,b)|0;i=b;return a|0}function Lx(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((qDa(a,b)|0)!=7){c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0}e=EDa(a,b)|0;if(c[(c[155773]|0)+(c[e>>2]<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0){d=e+4|0;d=c[d>>2]|0;i=f;return d|0}c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0;d=e+4|0;d=c[d>>2]|0;i=f;return d|0}function Mx(b,c,d,e,f){b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;switch(d|0){case 0:{if((e|0)>0){d=0;do{a[f+d>>0]=~~+$Ga(b,d+c|0,255.0);d=d+1|0}while((d|0)!=(e|0))}c=f+e|0;return c|0}case 1:{if((e|0)>0){d=0;do{g[f+(d<<2)>>2]=+$Ga(b,d+c|0,0.0);d=d+1|0}while((d|0)!=(e|0))}c=f+(e<<2)|0;return c|0}default:{c=f;return c|0}}return 0}function Nx(b){b=b|0;var d=0,e=0,f=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+16|0;r=Lx(b,1,19)|0;d=(~~+$Ga(b,3,1.0)>>>0)+-1|0;if(d>>>0>=(hca(r)|0)>>>0){c[v>>2]=hca(r)|0;b=PGa(b,340862,v)|0;i=v;return b|0}t=ica(r)|0;u=_(t,d)|0;if(Hs(b,2,2)|0){s=wk(b,2,2)|0;b=vi[c[(c[s>>2]|0)+20>>2]&2047](s)|0;t=_((hca(r)|0)-d|0,t)|0;b=t>>>0>>0?t:b;t=(qca(r)|0)+u|0;mBb(t|0,vi[c[(c[s>>2]|0)+16>>2]&2047](s)|0,b|0)|0;rca(r,u,b);b=0;i=v;return b|0}YGa(b,2,5);s=Es(b,2)|0;if((s+d|0)>>>0>(hca(r)|0)>>>0){c[v+8>>2]=(hca(r)|0)-d;c[v+8+4>>2]=s;b=PGa(b,340916,v+8|0)|0;i=v;return b|0}q=jca(r)|0;d=c[q>>2]|0;f=c[q+4>>2]|0;if((d|0)==(f|0))e=0;else{e=0;do{e=(c[d+16>>2]|0)+e|0;d=d+20|0}while((d|0)!=(f|0))}d=(qca(r)|0)+u|0;a:do if(s|0){o=0-e|0;p=-2-e|0;if((e|0)<1){m=0;while(1){m=m+1|0;VDa(b,2,m);YGa(b,-1,5);e=c[q>>2]|0;l=c[q+4>>2]|0;b:do if((e|0)!=(l|0)){k=o;while(1){j=e+16|0;h=c[j>>2]|0;switch(c[e+12>>2]|0){case 0:{if((h|0)>0){f=0;do{a[d+f>>0]=~~+$Ga(b,f+k|0,255.0);f=f+1|0}while((f|0)!=(h|0))}d=d+h|0;break}case 1:{if((h|0)>0){f=0;do{g[d+(f<<2)>>2]=+$Ga(b,f+k|0,0.0);f=f+1|0}while((f|0)!=(h|0))}d=d+(h<<2)|0;break}default:{}}e=e+20|0;if((e|0)==(l|0))break b;else k=(c[j>>2]|0)+k|0}}while(0);lDa(b,p);if((m|0)==(s|0))break a}}else n=0;do{n=n+1|0;VDa(b,2,n);YGa(b,-1,5);f=1;while(1){VDa(b,0-f|0,f);if((f|0)==(e|0))break;else f=f+1|0}f=c[q>>2]|0;m=c[q+4>>2]|0;c:do if((f|0)!=(m|0)){l=o;while(1){k=f+16|0;j=c[k>>2]|0;switch(c[f+12>>2]|0){case 0:{if((j|0)>0){h=0;do{a[d+h>>0]=~~+$Ga(b,h+l|0,255.0);h=h+1|0}while((h|0)!=(j|0))}d=d+j|0;break}case 1:{if((j|0)>0){h=0;do{g[d+(h<<2)>>2]=+$Ga(b,h+l|0,0.0);h=h+1|0}while((h|0)!=(j|0))}d=d+(j<<2)|0;break}default:{}}f=f+20|0;if((f|0)==(m|0))break c;else l=(c[k>>2]|0)+l|0}}while(0);lDa(b,p)}while((n|0)!=(s|0))}while(0);rca(r,u,_(s,t)|0);b=0;i=v;return b|0}function Ox(b){b=b|0;var d=0,e=0,f=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;k=Lx(b,1,19)|0;l=(aHa(b,2)|0)+-1|0;j=(qDa(b,3)|0)==5;n=jca(k)|0;m=eca(k)|0;d=c[n>>2]|0;n=c[n+4>>2]|0;if(!j){if((d|0)==(n|0)){b=ica(k)|0;cca(k,l,m,b);return 0}else{j=3;e=m}while(1){i=d+16|0;h=c[i>>2]|0;switch(c[d+12>>2]|0){case 0:{if((h|0)>0){f=0;do{a[e+f>>0]=~~+$Ga(b,f+j|0,255.0);f=f+1|0}while((f|0)!=(h|0))}e=e+h|0;break}case 1:{if((h|0)>0){f=0;do{g[e+(f<<2)>>2]=+$Ga(b,f+j|0,0.0);f=f+1|0}while((f|0)!=(h|0))}e=e+(h<<2)|0;break}default:{}}d=d+20|0;if((d|0)==(n|0))break;else j=(c[i>>2]|0)+j|0}b=ica(k)|0;cca(k,l,m,b);return 0}if((d|0)==(n|0)){b=ica(k)|0;cca(k,l,m,b);return 0}else{j=1;f=m}while(1){i=d+16|0;e=c[i>>2]|0;if((e|0)>0){h=j;do{VDa(b,3,h);h=h+1|0;e=c[i>>2]|0}while((h|0)<(e+j|0))}switch(c[d+12>>2]|0){case 0:{if((e|0)>0){h=0;do{a[f+h>>0]=~~+$Ga(b,h-e|0,255.0);h=h+1|0}while((h|0)!=(e|0))}f=f+e|0;break}case 1:{if((e|0)>0){h=0;do{g[f+(h<<2)>>2]=+$Ga(b,h-e|0,0.0);h=h+1|0}while((h|0)!=(e|0))}f=f+(e<<2)|0;break}default:{}}e=c[i>>2]|0;lDa(b,~e);d=d+20|0;if((d|0)==(n|0))break;else j=e+j|0}b=ica(k)|0;cca(k,l,m,b);return 0}function Px(a){a=a|0;var b=0,e=0,f=0,h=0,i=0,j=0,k=0;b=Lx(a,1,19)|0;j=aHa(a,2)|0;k=jca(b)|0;e=eca(b)|0;dca(b,j+-1|0,e,ica(b)|0)|0;b=c[k>>2]|0;k=c[k+4>>2]|0;if((b|0)==(k|0)){a=0;return a|0}else{j=b;b=0}do{i=j+16|0;h=c[i>>2]|0;switch(c[j+12>>2]|0){case 0:{if((h|0)>0){f=0;do{IDa(a,+(d[e+f>>0]|0));f=f+1|0}while((f|0)!=(h|0))}e=e+h|0;break}case 1:{if((h|0)>0){f=0;do{IDa(a,+g[e+(f<<2)>>2]);f=f+1|0}while((f|0)!=(h|0))}e=e+(h<<2)|0;break}default:{}}b=(c[i>>2]|0)+b|0;j=j+20|0}while((j|0)!=(k|0));return b|0}function Qx(b){b=b|0;var d=0,e=0,f=0,h=0,j=0,k=0;k=i;i=i+32|0;f=Lx(b,1,19)|0;h=(aHa(b,2)|0)+-1|0;j=(aHa(b,3)|0)+-1|0;d=kca(f,j,k)|0;e=c[k>>2]|0;switch(d|0){case 0:{if((e|0)>0){d=0;do{a[k+8+d>>0]=~~+$Ga(b,d+4|0,255.0);d=d+1|0}while((d|0)!=(e|0));d=k+8|0}else d=k+8|0;break}case 1:{if((e|0)>0){d=0;do{g[k+8+(d<<2)>>2]=+$Ga(b,d+4|0,0.0);d=d+1|0}while((d|0)!=(e|0));d=k+8|0}else d=k+8|0;break}default:d=k+8|0}fca(f,h,j,d,16);i=k;return 0}function Rx(a){a=a|0;var b=0,e=0,f=0,h=0,j=0;f=i;i=i+32|0;j=Lx(a,1,19)|0;h=(aHa(a,2)|0)+-1|0;e=(aHa(a,3)|0)+-1|0;b=kca(j,e,f)|0;gca(j,h,e,f+8|0,16)|0;e=c[f>>2]|0;switch(b|0){case 0:{if((e|0)>0){b=0;do{IDa(a,+(d[f+8+b>>0]|0));b=b+1|0}while((b|0)!=(e|0))}break}case 1:{if((e|0)>0){b=0;do{IDa(a,+g[f+8+(b<<2)>>2]);b=b+1|0}while((b|0)!=(e|0))}break}default:{}}i=f;return c[f>>2]|0}function Sx(a){a=a|0;JDa(a,hca(Lx(a,1,19)|0)|0);return 1}function Tx(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;j=i;i=i+16|0;g=jca(Lx(b,1,19)|0)|0;WDa(b,((c[g+4>>2]|0)-(c[g>>2]|0)|0)/20|0,0);c[j+4>>2]=0;d=c[g>>2]|0;if((c[g+4>>2]|0)==(d|0)){h=1;i=j;return h|0}f=0;while(1){if(!(Jca(c[d+(f*20|0)+12>>2]|0,j+4|0)|0))break;WDa(b,3,0);d=c[g>>2]|0;e=d+(f*20|0)|0;if(!(a[e>>0]&1))d=e+1|0;else d=c[d+(f*20|0)+8>>2]|0;LDa(b,d);aEa(b,-2,1);LDa(b,c[j+4>>2]|0);aEa(b,-2,2);JDa(b,c[(c[g>>2]|0)+(f*20|0)+16>>2]|0);aEa(b,-2,3);f=f+1|0;aEa(b,-2,f);d=c[g>>2]|0;if(f>>>0>=(((c[g+4>>2]|0)-d|0)/20|0)>>>0){d=1;h=9;break}}if((h|0)==9){i=j;return d|0}h=PGa(b,340964,j)|0;i=j;return h|0}function Ux(a){a=a|0;var b=0,c=0,d=0;b=i;i=i+16|0;c=Lx(a,1,19)|0;d=UGa(a,2,0)|0;a=fs(a,3)|0;Iqb(b,d,rnb(d)|0);mca(c,b,a);Mqb(b);i=b;return 0}function Vx(a){a=a|0;var b=0,c=0,d=0;b=i;i=i+16|0;c=Lx(a,1,19)|0;d=UGa(a,2,0)|0;Iqb(b,d,rnb(d)|0);c=(nca(c,b)|0)&1;Mqb(b);PDa(a,c);i=b;return 1}function Wx(a){a=a|0;var b=0,c=0,d=0;b=i;i=i+16|0;c=Lx(a,1,19)|0;d=UGa(a,2,0)|0;a=Lx(a,3,19)|0;Iqb(b,d,rnb(d)|0);pca(c,b,a);Mqb(b);i=b;return 0}function Xx(a){a=a|0;sca(Lx(a,1,19)|0);return 0}function Yx(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0;j=i;i=i+32|0;g=Lx(a,1,19)|0;if((qDa(a,2)|0)<1){uca(g);i=j;return 0}b=(qDa(a,2)|0)==5;if(b)f=Es(a,2)|0;else f=(kDa(a)|0)+-1|0;c[j+8>>2]=0;h=j+8+4|0;c[h>>2]=0;c[j+8+8>>2]=0;if(f|0){e=YAb(f<<2)|0;c[j+8>>2]=e;c[h>>2]=e;c[j+8+8>>2]=e+(f<<2)}a:do if(b){b=0;while(1){if((b|0)>=(f|0))break a;b=b+1|0;VDa(a,2,b);d=(aHa(a,-1)|0)+-1|0;c[j+4>>2]=d;e=c[h>>2]|0;if(e>>>0<(c[j+8+8>>2]|0)>>>0){c[e>>2]=d;c[h>>2]=e+4}else Zx(j+8|0,j+4|0);lDa(a,-2)}}else if((f|0)>0){e=0;do{b=(aHa(a,e+2|0)|0)+-1|0;c[j>>2]=b;d=c[h>>2]|0;if(d>>>0<(c[j+8+8>>2]|0)>>>0){c[d>>2]=b;c[h>>2]=d+4}else Zx(j+8|0,j);e=e+1|0}while((e|0)<(f|0))}while(0);tca(g,j+8|0);b=c[j+8>>2]|0;if(b|0){d=c[h>>2]|0;if((d|0)!=(b|0))c[h>>2]=d+(~((d+-4-b|0)>>>2)<<2);oAb(b)}i=j;return 0}function Zx(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=c[a>>2]|0;d=((c[a+4>>2]|0)-j>>2)+1|0;if(d>>>0>1073741823)jzb(a);e=(c[a+8>>2]|0)-j|0;if(e>>2>>>0<536870911){d=e>>1>>>0>>0?d:e>>1;f=c[a+4>>2]|0;if(!d){i=0;g=0;e=f-j>>2;d=f}else{h=f;e=f-j>>2;k=6}}else{e=c[a+4>>2]|0;d=1073741823;h=e;e=e-j>>2;k=6}if((k|0)==6){i=d;g=YAb(d<<2)|0;d=h}k=g+(e<<2)|0;c[k>>2]=c[b>>2];b=d-j|0;mBb(k+(0-(b>>2)<<2)|0,j|0,b|0)|0;c[a>>2]=k+(0-(b>>2)<<2);c[a+4>>2]=k+4;c[a+8>>2]=g+(i<<2);if(!j)return;oAb(j);return}function _x(a){a=a|0;var b=0,d=0,e=0,f=0;e=i;i=i+16|0;d=Lx(a,1,19)|0;c[e>>2]=0;c[e+4>>2]=0;c[e+8>>2]=0;a:do if(vca(d,e)|0){b=(c[e+4>>2]|0)-(c[e>>2]|0)>>2;WDa(a,b,0);d=0;while(1){if((d|0)>=(b|0))break a;JDa(a,(c[(c[e>>2]|0)+(d<<2)>>2]|0)+1|0);f=d+1|0;aEa(a,-2,f);d=f}}else HDa(a);while(0);b=c[e>>2]|0;if(!b){i=e;return 1}a=c[e+4>>2]|0;if((a|0)!=(b|0))c[e+4>>2]=a+(~((a+-4-b|0)>>>2)<<2);oAb(b);i=e;return 1}function $x(a){a=a|0;var b=0;b=Lx(a,1,19)|0;if((qDa(a,2)|0)<1){xca(b);return 0}else{wca(b,jD(a,2)|0);return 0}return 0}function ay(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;b=yca(Lx(a,1,19)|0)|0;if(!b){a=0;i=e;return a|0}d=c[(c[(c[b>>2]|0)+-4>>2]|0)+4>>2]|0;if((d|0)==(c[493]|0)){Gs(a,12,b);a=1;i=e;return a|0}if((d|0)==(c[465]|0)){Gs(a,17,b);a=1;i=e;return a|0}else{a=PGa(a,342755,e)|0;i=e;return a|0}return 0}function by(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;b=Lx(a,1,19)|0;d=UGa(a,2,0)|0;if(Fca(d,e+4|0)|0){zca(b,c[e+4>>2]|0);a=0;i=e;return a|0}else{c[e>>2]=d;a=PGa(a,341e3,e)|0;i=e;return a|0}return 0}function cy(a){a=a|0;var b=0;b=i;i=i+16|0;if(Gca(Aca(Lx(a,1,19)|0)|0,b+4|0)|0){LDa(a,c[b+4>>2]|0);a=1;i=b;return a|0}else{a=PGa(a,341027,b)|0;i=b;return a|0}return 0}function dy(a){a=a|0;var b=0,c=0;b=Lx(a,1,19)|0;if((qDa(a,2)|0)<1){Cca(b);return 0}else{c=~~+_Ga(a,2)+-1|0;Bca(b,c,~~+_Ga(a,3)+-1|0);return 0}return 0}function ey(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=Lx(a,1,19)|0;c[d+4>>2]=-1;c[d>>2]=-1;Dca(b,d+4|0,d);b=c[d+4>>2]|0;if((c[d>>2]|b|0)<0){a=0;i=d;return a|0}JDa(a,b+1|0);JDa(a,(c[d>>2]|0)+1|0);a=2;i=d;return a|0}function fy(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=13948;c[b+4>>2]=0;a=xs(a,19,341051,b)|0;i=b;return a|0}function gy(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((qDa(a,b)|0)!=7){c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0}e=EDa(a,b)|0;if(c[(c[155773]|0)+(c[e>>2]<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0){d=e+4|0;d=c[d>>2]|0;i=f;return d|0}c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0;d=e+4|0;d=c[d>>2]|0;i=f;return d|0}function hy(a){a=a|0;var b=0;b=gy(a,1,15)|0;b=vi[c[(c[b>>2]|0)+20>>2]&2047](b)|0;Gs(a,15,b);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);return 1}function iy(a){a=a|0;var b=0;b=gy(a,1,15)|0;mB(b,jD(a,2)|0);return 0}function jy(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;b=nB(gy(a,1,15)|0)|0;if(!b)WAb();d=c[(c[(c[b>>2]|0)+-4>>2]|0)+4>>2]|0;if((d|0)==(c[493]|0)){Gs(a,12,b);a=1;i=e;return a|0}if((d|0)==(c[465]|0)){Gs(a,17,b);a=1;i=e;return a|0}else{a=PGa(a,342755,e)|0;i=e;return a|0}return 0}function ky(a){a=a|0;var b=0,d=0.0,e=0;e=i;i=i+16|0;b=gy(a,1,15)|0;d=+_Ga(a,2);if(d<1.0|d>536870911.0){a=PGa(a,345042,e)|0;i=e;return a|0}else{si[c[(c[b>>2]|0)+24>>2]&511](b,~~d>>>0);a=0;i=e;return a|0}return 0}function ly(a){a=a|0;JDa(a,jB(gy(a,1,15)|0)|0);return 1}function my(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;b=gy(a,1,15)|0;d=UGa(a,2,0)|0;if(zC(d,e+4|0)|0){oB(b,c[e+4>>2]|0);a=0;i=e;return a|0}else{c[e>>2]=d;a=PGa(a,341257,e)|0;i=e;return a|0}return 0}function ny(a){a=a|0;var b=0;b=i;i=i+16|0;if(AC(pB(gy(a,1,15)|0)|0,b+4|0)|0){LDa(a,c[b+4>>2]|0);a=1;i=b;return a|0}else{a=PGa(a,341283,b)|0;i=b;return a|0}return 0}function oy(a){a=a|0;var b=0;b=gy(a,1,15)|0;qB(b,+_Ga(a,2));return 0}function py(a){a=a|0;IDa(a,+rB(gy(a,1,15)|0));return 1}function qy(a){a=a|0;var b=0;b=gy(a,1,15)|0;sB(b,+_Ga(a,2));return 0}function ry(a){a=a|0;IDa(a,+tB(gy(a,1,15)|0));return 1}function sy(a){a=a|0;var b=0.0,c=0;c=gy(a,1,15)|0;b=+_Ga(a,2);uB(c,b,+$Ga(a,3,b));return 0}function ty(a){a=a|0;var b=0;b=i;i=i+16|0;vB(gy(a,1,15)|0,b+4|0,b);IDa(a,+g[b+4>>2]);IDa(a,+g[b>>2]);i=b;return 2}function uy(a){a=a|0;var b=0.0,c=0;c=gy(a,1,15)|0;b=+_Ga(a,2);wB(c,b,+_Ga(a,3));return 0}function vy(a){a=a|0;var b=0.0,c=0;c=xB(gy(a,1,15)|0)|0;b=+g[c+4>>2];IDa(a,+g[c>>2]);IDa(a,b);return 2}function wy(a){a=a|0;var b=0.0,c=0;c=gy(a,1,15)|0;b=+_Ga(a,2);yB(c,b,+_Ga(a,3));return 0}function xy(a){a=a|0;var b=0,d=0.0,e=0.0,f=0,g=0;g=i;i=i+16|0;f=gy(a,1,15)|0;c[g+12>>2]=0;do if((qDa(a,2)|0)<1){b=0;e=0.0;d=0.0}else{b=UGa(a,2,0)|0;if(!b){b=0;e=0.0;d=0.0}else{if(!(xC(b,g+12|0)|0)){c[g>>2]=b;f=PGa(a,341303,g)|0;i=g;return f|0}if(!(c[g+12>>2]|0)){b=0;e=0.0;d=0.0}else{e=+_Ga(a,3);d=+_Ga(a,4);if(!(e<0.0|d<0.0)){b=c[g+12>>2]|0;break}f=PGa(a,341337,g+8|0)|0;i=g;return f|0}}}while(0);zB(f,b,e,d);f=0;i=g;return f|0}function yy(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;d=gy(a,1,15)|0;yC(AB(d)|0,b)|0;d=BB(d)|0;LDa(a,c[b>>2]|0);IDa(a,+g[d>>2]);IDa(a,+g[d+4>>2]);i=b;return 3}function zy(a){a=a|0;var b=0;b=gy(a,1,15)|0;CB(b,+_Ga(a,2));return 0}function Ay(a){a=a|0;IDa(a,+DB(gy(a,1,15)|0));return 1}function By(a){a=a|0;var b=0;b=gy(a,1,15)|0;EB(b,+_Ga(a,2));return 0}function Cy(a){a=a|0;IDa(a,+FB(gy(a,1,15)|0));return 1}function Dy(a){a=a|0;var b=0.0,c=0;c=gy(a,1,15)|0;b=+_Ga(a,2);GB(c,b,+$Ga(a,3,b));return 0}function Ey(a){a=a|0;var b=0;b=i;i=i+16|0;HB(gy(a,1,15)|0,b+4|0,b);IDa(a,+g[b+4>>2]);IDa(a,+g[b>>2]);i=b;return 2}function Fy(a){a=a|0;var b=0.0,c=0.0,d=0.0,e=0;e=gy(a,1,15)|0;d=+_Ga(a,2);b=+_Ga(a,3);c=+$Ga(a,4,d);IB(e,d,b,c,+$Ga(a,5,b));return 0}function Gy(a){a=a|0;var b=0,c=0;b=i;i=i+16|0;c=gy(a,1,15)|0;g[b+8>>2]=0.0;g[b+8+4>>2]=0.0;g[b>>2]=0.0;g[b+4>>2]=0.0;JB(c,b+8|0,b);IDa(a,+g[b+8>>2]);IDa(a,+g[b+8+4>>2]);IDa(a,+g[b>>2]);IDa(a,+g[b+4>>2]);i=b;return 4}function Hy(a){a=a|0;var b=0.0,c=0;c=gy(a,1,15)|0;b=+_Ga(a,2);KB(c,b,+$Ga(a,3,b));return 0}function Iy(a){a=a|0;var b=0;b=i;i=i+16|0;LB(gy(a,1,15)|0,b+4|0,b);IDa(a,+g[b+4>>2]);IDa(a,+g[b>>2]);i=b;return 2}function Jy(a){a=a|0;var b=0.0,c=0;c=gy(a,1,15)|0;b=+_Ga(a,2);MB(c,b,+$Ga(a,3,b));return 0}function Ky(a){a=a|0;var b=0;b=i;i=i+16|0;NB(gy(a,1,15)|0,b+4|0,b);IDa(a,+g[b+4>>2]);IDa(a,+g[b>>2]);i=b;return 2}function Ly(a){a=a|0;var b=0.0,c=0;c=gy(a,1,15)|0;b=+_Ga(a,2);OB(c,b,+$Ga(a,3,b));return 0}function My(a){a=a|0;var b=0;b=i;i=i+16|0;PB(gy(a,1,15)|0,b+4|0,b);IDa(a,+g[b+4>>2]);IDa(a,+g[b>>2]);i=b;return 2}function Ny(a){a=a|0;var b=0,d=0,e=0,f=0,h=0.0;f=i;i=i+16|0;b=gy(a,1,15)|0;d=(kDa(a)|0)+-1|0;if(d>>>0>8){e=PGa(a,341383,f)|0;i=f;return e|0}if(d>>>0<2){QB(b,+_Ga(a,2));e=0;i=f;return e|0}c[f+4>>2]=0;c[f+4+4>>2]=0;c[f+4+8>>2]=0;e=YAb(d<<2)|0;c[f+4>>2]=e;c[f+4+8>>2]=e+(d<<2);hBb(e|0,0,d<<2|0)|0;c[f+4+4>>2]=e+(d<<2);e=0;do{h=+_Ga(a,e+2|0);g[(c[f+4>>2]|0)+(e<<2)>>2]=h;e=e+1|0}while(e>>>0>>0);SB(b,f+4|0);b=c[f+4>>2]|0;if(b|0){d=c[f+4+4>>2]|0;if((d|0)!=(b|0))c[f+4+4>>2]=d+(~((d+-4-b|0)>>>2)<<2);oAb(b)}e=0;i=f;return e|0}function Oy(a){a=a|0;var b=0,d=0,e=0,f=0;f=UB(gy(a,1,15)|0)|0;b=c[f>>2]|0;if((c[f+4>>2]|0)==(b|0)){a=0;return a|0}else{d=b;e=0}do{IDa(a,+g[d+(e<<2)>>2]);e=e+1|0;d=c[f>>2]|0;b=(c[f+4>>2]|0)-d>>2}while(e>>>0>>0);return b|0}function Py(a){a=a|0;var b=0,c=0.0,d=0;d=i;i=i+16|0;b=gy(a,1,15)|0;c=+_Ga(a,2);if(c<0.0|c>1.0){a=PGa(a,341420,d)|0;i=d;return a|0}else{VB(b,c);a=0;i=d;return a|0}return 0}function Qy(a){a=a|0;IDa(a,+WB(gy(a,1,15)|0));return 1}function Ry(a){a=a|0;var b=0.0,c=0;c=gy(a,1,15)|0;b=+_Ga(a,2);XB(c,b,+$Ga(a,3,b));return 0}function Sy(a){a=a|0;var b=0;b=i;i=i+16|0;YB(gy(a,1,15)|0,b+4|0,b);IDa(a,+g[b+4>>2]);IDa(a,+g[b>>2]);i=b;return 2}function Ty(a){a=a|0;var b=0.0,c=0;c=gy(a,1,15)|0;b=+_Ga(a,2);ZB(c,b,+$Ga(a,3,b));return 0}function Uy(a){a=a|0;var b=0;b=i;i=i+16|0;_B(gy(a,1,15)|0,b+4|0,b);IDa(a,+g[b+4>>2]);IDa(a,+g[b>>2]);i=b;return 2}function Vy(a){a=a|0;var b=0;b=gy(a,1,15)|0;$B(b,+_Ga(a,2));return 0}function Wy(a){a=a|0;IDa(a,+aC(gy(a,1,15)|0));return 1}function Xy(a){a=a|0;var b=0.0,c=0;c=gy(a,1,15)|0;b=+_Ga(a,2);bC(c,b,+_Ga(a,3));return 0}function Yy(a){a=a|0;var b=0;b=i;i=i+16|0;cC(b,gy(a,1,15)|0);IDa(a,+g[b>>2]);IDa(a,+g[b+4>>2]);i=b;return 2}function Zy(a){a=a|0;var b=0,d=0,e=0,f=0,h=0,j=0,k=0,l=0,m=0,n=0.0;m=i;i=i+32|0;l=gy(a,1,15)|0;j=(qDa(a,2)|0)==5;k=kDa(a)|0;if(j){if((k+-1|0)>8){a=PGa(a,341473,m)|0;i=m;return a|0}c[m+20>>2]=0;j=m+20+4|0;c[j>>2]=0;c[m+20+8>>2]=0;if(k+-1|0){if((k+-1|0)>>>0>268435455)jzb(m+20|0);d=YAb(k+-1<<4)|0;c[j>>2]=d;c[m+20>>2]=d;c[m+20+8>>2]=d+(k+-1<<4);b=k+-1|0;e=d;while(1){c[e>>2]=0;c[e+4>>2]=0;c[e+8>>2]=0;c[e+12>>2]=0;b=b+-1|0;if(!b)break;else e=e+16|0}c[j>>2]=d+((k<<4)+-16)}a:do if((k|0)>1){d=0;while(1){b=d+2|0;YGa(a,b,5);if((Es(a,b)|0)>>>0<3)break;else e=0;while(1){if((e|0)>=4)break;f=e+1|0;VDa(a,b,f);e=f}n=+_Ga(a,-4);g[(c[m+20>>2]|0)+(d<<4)>>2]=n;n=+_Ga(a,-3);g[(c[m+20>>2]|0)+(d<<4)+4>>2]=n;n=+_Ga(a,-2);g[(c[m+20>>2]|0)+(d<<4)+8>>2]=n;n=+$Ga(a,-1,255.0);g[(c[m+20>>2]|0)+(d<<4)+12>>2]=n;lDa(a,-5);d=d+1|0;if((d|0)>=(k+-1|0)){h=16;break a}}e=OGa(a,b,341511)|0;f=1}else h=16;while(0);if((h|0)==16){dC(l,m+20|0);e=0;f=0}b=c[m+20>>2]|0;if(b|0){d=c[j>>2]|0;if((d|0)!=(b|0))c[j>>2]=d+(~((d+-16-b|0)>>>4)<<4);oAb(b)}if(f|0){a=e;i=m;return a|0}}else{f=(k+2|0)/4|0;if((k+-1|0)!=3)if((k+-1|0)==0|((k+-1|0)%4|0|0)!=0){c[m+8>>2]=(k+-1|0)%4|0;a=PGa(a,341539,m+8|0)|0;i=m;return a|0}if((k+2|0)>35){a=PGa(a,341473,m+16|0)|0;i=m;return a|0}c[m+20>>2]=0;h=m+20+4|0;c[h>>2]=0;c[m+20+8>>2]=0;if((k+5|0)>>>0>=7){if(f>>>0>268435455)jzb(m+20|0);d=YAb(f<<4)|0;c[h>>2]=d;c[m+20>>2]=d;c[m+20+8>>2]=d+(f<<4);b=f;e=d;while(1){c[e>>2]=0;c[e+4>>2]=0;c[e+8>>2]=0;c[e+12>>2]=0;b=b+-1|0;if(!b)break;else e=e+16|0}c[h>>2]=d+(f<<4)}if((k+2|0)>3){b=0;do{k=b<<2;n=+_Ga(a,(k|1)+1|0);g[(c[m+20>>2]|0)+(b<<4)>>2]=n;n=+_Ga(a,k|3);g[(c[m+20>>2]|0)+(b<<4)+4>>2]=n;n=+_Ga(a,(k|1)+3|0);g[(c[m+20>>2]|0)+(b<<4)+8>>2]=n;n=+_Ga(a,(k|1)+4|0);g[(c[m+20>>2]|0)+(b<<4)+12>>2]=n;b=b+1|0}while((b|0)<(f|0))}dC(l,m+20|0);d=c[m+20>>2]|0;if(d|0){b=c[h>>2]|0;if((b|0)!=(d|0))c[h>>2]=b+(~((b+-16-d|0)>>>4)<<4);oAb(d)}}a=0;i=m;return a|0}function _y(a){a=a|0;var b=0,d=0,e=0,f=0;f=i;i=i+16|0;fC(f,gy(a,1,15)|0);b=c[f+4>>2]|0;d=c[f>>2]|0;if((b|0)==(d|0)){a=d;d=0}else{b=0;do{WDa(a,4,0);IDa(a,+g[(c[f>>2]|0)+(b<<4)>>2]);aEa(a,-2,1);IDa(a,+g[(c[f>>2]|0)+(b<<4)+4>>2]);aEa(a,-2,2);IDa(a,+g[(c[f>>2]|0)+(b<<4)+8>>2]);aEa(a,-2,3);IDa(a,+g[(c[f>>2]|0)+(b<<4)+12>>2]);aEa(a,-2,4);b=b+1|0;d=c[f+4>>2]|0;e=c[f>>2]|0}while(b>>>0>4>>>0);b=d;a=e;d=d-e>>4}if(!a){i=f;return d|0}if((b|0)!=(a|0))c[f+4>>2]=b+(~((b+-16-a|0)>>>4)<<4);oAb(a);i=f;return d|0}function $y(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;h=i;i=i+16|0;f=gy(a,1,15)|0;c[h+4>>2]=0;g=h+4+4|0;c[g>>2]=0;c[h+4+8>>2]=0;a:do if((qDa(a,2)|0)==5){e=1;while(1){if((e|0)>(Es(a,2)|0))break a;VDa(a,2,e);d=az(a,-1,13)|0;c[h>>2]=d;b=c[g>>2]|0;if((b|0)==(c[h+4+8>>2]|0))bz(h+4|0,h);else{c[b>>2]=d;c[g>>2]=(c[g>>2]|0)+4}lDa(a,-2);e=e+1|0}}else{e=2;while(1){if((e|0)>(kDa(a)|0))break a;b=az(a,e,13)|0;c[h>>2]=b;d=c[g>>2]|0;if((d|0)==(c[h+4+8>>2]|0))bz(h+4|0,h);else{c[d>>2]=b;c[g>>2]=(c[g>>2]|0)+4}e=e+1|0}}while(0);gC(f,h+4|0);b=c[h+4>>2]|0;if(!b){i=h;return 0}d=c[g>>2]|0;if((d|0)!=(b|0))c[g>>2]=d+(~((d+-4-b|0)>>>2)<<2);oAb(b);i=h;return 0}function az(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((qDa(a,b)|0)!=7){c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0}e=EDa(a,b)|0;if(c[(c[155773]|0)+(c[e>>2]<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0){d=e+4|0;d=c[d>>2]|0;i=f;return d|0}c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0;d=e+4|0;d=c[d>>2]|0;i=f;return d|0}function bz(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=c[a>>2]|0;d=((c[a+4>>2]|0)-j>>2)+1|0;if(d>>>0>1073741823)jzb(a);e=(c[a+8>>2]|0)-j|0;if(e>>2>>>0<536870911){d=e>>1>>>0>>0?d:e>>1;f=c[a+4>>2]|0;if(!d){i=0;g=0;e=f-j>>2;d=f}else{h=f;e=f-j>>2;k=6}}else{e=c[a+4>>2]|0;d=1073741823;h=e;e=e-j>>2;k=6}if((k|0)==6){i=d;g=YAb(d<<2)|0;d=h}k=g+(e<<2)|0;c[k>>2]=c[b>>2];b=d-j|0;mBb(k+(0-(b>>2)<<2)|0,j|0,b|0)|0;c[a>>2]=k+(0-(b>>2)<<2);c[a+4>>2]=k+4;c[a+8>>2]=g+(i<<2);if(!j)return;oAb(j);return}function cz(a){a=a|0;var b=0,d=0,e=0,f=0;f=i;i=i+16|0;kC(f,gy(a,1,15)|0);WDa(a,(c[f+4>>2]|0)-(c[f>>2]|0)>>2,0);e=0;while(1){b=c[f+4>>2]|0;d=c[f>>2]|0;if((e|0)>=(b-d>>2|0))break;Gs(a,13,c[d+(e<<2)>>2]|0);d=e+1|0;aEa(a,-2,d);e=d}if(!d){i=f;return 1}if((b|0)!=(d|0))c[f+4>>2]=b+(~((b+-4-d|0)>>>2)<<2);oAb(d);i=f;return 1}function dz(a){a=a|0;var b=0;b=gy(a,1,15)|0;mC(b,fs(a,2)|0);return 0}function ez(a){a=a|0;gs(a,nC(gy(a,1,15)|0)|0);return 1}function fz(a){a=a|0;IDa(a,+((oC(gy(a,1,15)|0)|0)>>>0));return 1}function gz(a){a=a|0;pC(gy(a,1,15)|0);return 0}function hz(a){a=a|0;qC(gy(a,1,15)|0);return 0}function iz(a){a=a|0;rC(gy(a,1,15)|0);return 0}function jz(a){a=a|0;iB(gy(a,1,15)|0);return 0}function kz(a){a=a|0;var b=0;b=gy(a,1,15)|0;sC(b,~~+_Ga(a,2));return 0}function lz(a){a=a|0;gs(a,tC(gy(a,1,15)|0)|0);return 1}function mz(a){a=a|0;gs(a,uC(gy(a,1,15)|0)|0);return 1}function nz(a){a=a|0;gs(a,vC(gy(a,1,15)|0)|0);return 1}function oz(a){a=a|0;var b=0;b=gy(a,1,15)|0;wC(b,+_Ga(a,2));return 0}function pz(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=14108;c[b+4>>2]=0;a=xs(a,15,341606,b)|0;i=b;return a|0}function qz(a,b){a=a|0;b=b|0;return rz(a,b,18)|0}function rz(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((qDa(a,b)|0)!=7){c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0}e=EDa(a,b)|0;if(c[(c[155773]|0)+(c[e>>2]<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0){d=e+4|0;d=c[d>>2]|0;i=f;return d|0}c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0;d=e+4|0;d=c[d>>2]|0;i=f;return d|0}function sz(b){b=b|0;var d=0;d=i;i=i+16|0;Aea(d,rz(b,1,18)|0);LDa(b,(a[d>>0]&1)==0?d+1|0:c[d+8>>2]|0);Mqb(d);i=d;return 1}function tz(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+48|0;j=rz(a,1,18)|0;k=UGa(a,2,0)|0;l=(kDa(a)|0)+-2|0;if((l|0)<1){l=PGa(a,342265,m)|0;i=m;return l|0}a:do if(!(tDa(a,3)|0))if((qDa(a,3)|0)==1)e=5;else{if((qDa(a,3)|0)!=5){l=Ns(a,3,342358)|0;i=m;return l|0}d=Es(a,3)|0;b=_(d,l)|0;b=_Ab(b>>>0>1073741823?-1:b<<2)|0;f=0;b:while(1){h=f+3|0;if((qDa(a,h)|0)!=5){e=15;break}if((Es(a,h)|0)!=(d|0)){e=19;break}if((d|0)>=1){e=(_(f,d)|0)+-1|0;g=1;while(1){VDa(a,h,g);if(!(tDa(a,-1)|0)){if((qDa(a,-1)|0)!=1){e=25;break b}c[b+(e+g<<2)>>2]=ADa(a,-1)|0}else c[b+(e+g<<2)>>2]=~~+yDa(a,-1);if((g|0)<(d|0))g=g+1|0;else break}}lDa(a,~d);f=f+1|0;if((f|0)>=(l|0)){e=29;break a}}if((e|0)==15){aBb(b);Ns(a,h,519474)|0;e=28;break}else if((e|0)==19){aBb(b);l=Es(a,h)|0;c[m+8>>2]=h;c[m+8+4>>2]=d;c[m+8+8>>2]=l;PGa(a,342304,m+8|0)|0;e=28;break}else if((e|0)==25){aBb(b);Ns(a,-1,342286)|0;e=28;break}}else e=5;while(0);c:do if((e|0)==5){b=_Ab(l>>>0>1073741823?-1:l<<2)|0;e=0;while(1){d=e+3|0;if(!(tDa(a,d)|0)){if((qDa(a,d)|0)!=1)break;c[b+(e<<2)>>2]=ADa(a,d)|0}else c[b+(e<<2)>>2]=~~+yDa(a,d);e=e+1|0;if((e|0)>=(l|0)){d=1;e=29;break c}}aBb(b);Ns(a,d,342286)|0;e=28}while(0);if((e|0)==28){l=PGa(a,342384,m+24|0)|0;i=m;return l|0}else if((e|0)==29){Iqb(m+28|0,k,rnb(k)|0);Dea(j,m+28|0,d,b,l);Mqb(m+28|0);aBb(b);l=0;i=m;return l|0}return 0}function uz(a){a=a|0;return vz(a,0)|0}function vz(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0.0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+48|0;n=rz(a,1,18)|0;o=UGa(a,2,0)|0;p=kDa(a)|0;if((p+-2|0)<1){p=PGa(a,342265,q)|0;i=q;return p|0}a:do if(!(tDa(a,3)|0))if((qDa(a,3)|0)==1)m=5;else{if((qDa(a,3)|0)!=5){p=Ns(a,3,342358)|0;i=q;return p|0}d=Es(a,3)|0;f=_(d,p+-2|0)|0;f=_Ab(f>>>0>1073741823?-1:f<<2)|0;k=0;b:while(1){e=k+3|0;if((qDa(a,e)|0)!=5){m=15;break}if((Es(a,e)|0)!=(d|0)){m=19;break}if((d|0)>=1){j=(_(k,d)|0)+-1|0;l=1;while(1){VDa(a,e,l);if(!(tDa(a,-1)|0)){if((qDa(a,-1)|0)!=1){m=25;break b}g[f+(j+l<<2)>>2]=+(ADa(a,-1)|0)}else g[f+(j+l<<2)>>2]=+yDa(a,-1);if((l|0)<(d|0))l=l+1|0;else break}}lDa(a,~d);k=k+1|0;if((k|0)>=(p+-2|0)){a=d;break a}}if((m|0)==15){aBb(f);Ns(a,e,519474)|0;m=28;break}else if((m|0)==19){aBb(f);p=Es(a,e)|0;c[q+8>>2]=e;c[q+8+4>>2]=d;c[q+8+8>>2]=p;PGa(a,342304,q+8|0)|0;m=28;break}else if((m|0)==25){aBb(f);Ns(a,-1,342286)|0;m=28;break}}else m=5;while(0);c:do if((m|0)==5){f=_Ab((p+-2|0)>>>0>1073741823?-1:p+-2<<2)|0;e=0;while(1){d=e+3|0;if(!(tDa(a,d)|0)){if((qDa(a,d)|0)!=1)break;g[f+(e<<2)>>2]=+(ADa(a,d)|0)}else g[f+(e<<2)>>2]=+yDa(a,d);e=e+1|0;if((e|0)>=(p+-2|0)){a=1;break c}}aBb(f);Ns(a,d,342286)|0;m=28}while(0);if((m|0)==28){p=PGa(a,342384,q+24|0)|0;i=q;return p|0}if(b){j=zA()|0;if((p|0)>2&(a|0)>0){l=0;do{k=_(l,a)|0;if(j){e=0;do{d=f+(e+k<<2)|0;h=+g[d>>2]/255.0;if((e|0)<3)h=+VE(621072,h);g[d>>2]=h;e=e+1|0}while((e|0)!=(a|0))}else{d=0;do{m=f+(d+k<<2)|0;g[m>>2]=+g[m>>2]/255.0;d=d+1|0}while((d|0)!=(a|0))}l=l+1|0}while((l|0)!=(p+-2|0))}}Iqb(q+28|0,o,rnb(o)|0);Eea(n,q+28|0,a,f,p+-2|0);Mqb(q+28|0);aBb(f);p=0;i=q;return p|0}function wz(a){a=a|0;return vz(a,1)|0}function xz(a){a=a|0;var b=0,d=0,e=0,f=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=i;i=i+48|0;r=kDa(a)|0;s=rz(a,1,18)|0;t=UGa(a,2,0)|0;if((qDa(a,3)|0)!=5){a=Ns(a,3,342404)|0;i=u;return a|0}VDa(a,3,1);if((qDa(a,-1)|0)==5){b=Es(a,3)|0;lDa(a,-2);if(!b)d=6;else q=b}else{lDa(a,-2);d=6}if((d|0)==6){TDa(a,3,342417);if((qDa(a,-1)|0)<1)b=~~+O(+(+((Es(a,3)|0)>>>0)));else b=zDa(a,-1)|0;lDa(a,-2);q=b}if((q+-2|0)>>>0>2){c[u>>2]=q;c[u+4>>2]=q;a=PGa(a,342427,u)|0;i=u;return a|0}j=_(q,q)|0;o=_(j,r+-2|0)|0;o=_Ab(o>>>0>1073741823?-1:o<<2)|0;a:do if((r|0)>2){k=(q|0)<1;l=-2-q|0;m=q+1|0;n=0;while(1){p=n+3|0;VDa(a,p,1);d=(qDa(a,-1)|0)==5;if(d){b=Es(a,-1)|0;lDa(a,-2)}else{lDa(a,-2);b=~~+O(+(+((Es(a,p)|0)>>>0)))}if((b|0)!=(q|0))break;if(d){if(!k){b=_(j,n)|0;d=1;f=0;while(1){VDa(a,p,d);e=1;h=f;while(1){VDa(a,0-e|0,e);g[o+(h+b<<2)>>2]=+yDa(a,-1);e=e+1|0;if((e|0)==(m|0))break;else h=h+1|0}lDa(a,l);d=d+1|0;if((d|0)==(m|0))break;else f=q+f|0}}}else{if(j|0){b=(_(j,n)|0)+-1|0;d=1;while(1){VDa(a,p,d);g[o+(b+d<<2)>>2]=+yDa(a,-1);if((d|0)<(j|0))d=d+1|0;else break}}lDa(a,~j)}n=n+1|0;if((n|0)>=(r+-2|0))break a}aBb(o);c[u+8>>2]=p;c[u+8+4>>2]=q;c[u+8+8>>2]=q;c[u+8+12>>2]=b;c[u+8+16>>2]=b;a=PGa(a,342502,u+8|0)|0;i=u;return a|0}while(0);Iqb(u+28|0,t,rnb(t)|0);Fea(s,u+28|0,q,o,r+-2|0);Mqb(u+28|0);aBb(o);a=0;i=u;return a|0}function yz(a){a=a|0;var b=0,c=0,d=0;b=i;i=i+16|0;c=rz(a,1,18)|0;d=UGa(a,2,0)|0;a=jD(a,3)|0;Iqb(b,d,rnb(d)|0);Gea(c,b,a);Mqb(b);i=b;return 0}function zz(a){a=a|0;var b=0;switch(qDa(a,3)|0){case 1:case 3:{a=vz(a,0)|0;return a|0}case 7:{b=c[(EDa(a,3)|0)>>2]|0;if(c[(c[155773]|0)+(b<<3)>>2]&2048|0){yz(a)|0;a=0;return a|0}break}case 5:{VDa(a,3,1);b=qDa(a,-1)|0;lDa(a,-2);if((b|2|0)==3){a=vz(a,0)|0;return a|0}if((b|0)==5){a=xz(a)|0;return a|0}break}default:{}}a=OGa(a,3,342570)|0;return a|0}function Az(a){a=a|0;var b=0,d=0,e=0;d=i;i=i+32|0;b=rz(a,1,18)|0;e=UGa(a,2,0)|0;c[d+24>>2]=0;c[d+20>>2]=0;Iqb(d+4|0,e,rnb(e)|0);b=Oea(b,d+4|0,d+24|0,d+20|0)|0;Mqb(d+4|0);if((c[d+24>>2]|0)<=0){HDa(a);HDa(a);HDa(a);e=3;i=d;return e|0}c[d+16>>2]=0;if(Sea(b,d+16|0)|0){LDa(a,c[d+16>>2]|0);JDa(a,c[d+24>>2]|0);JDa(a,c[d+20>>2]|0);e=3;i=d;return e|0}else{e=PGa(a,342620,d)|0;i=d;return e|0}return 0}function Bz(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=14596;c[b+4>>2]=0;a=xs(a,18,342655,b)|0;i=b;return a|0}function Cz(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((qDa(a,b)|0)!=7){c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0}e=EDa(a,b)|0;if(c[(c[155773]|0)+(c[e>>2]<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0){d=e+4|0;d=c[d>>2]|0;i=f;return d|0}c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0;d=e+4|0;d=c[d>>2]|0;i=f;return d|0}function Dz(a){a=a|0;JDa(a,(Ez(a,Cz(a,1,16)|0,2,-1)|0)+1|0);return 1}function Ez(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0.0,g=0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0;if(Hs(a,d,13)|0){g=d+1|0;d=c[(EDa(a,d)|0)+4>>2]|0}else if(!(qDa(a,d)|0))if((qDa(a,d+1|0)|0)<1){g=d;d=0}else{b=Ns(a,d,345210)|0;return b|0}else{g=d;d=0}h=+$Ga(a,g,0.0);i=+$Ga(a,g+1|0,0.0);j=+$Ga(a,g+2|0,0.0);k=+$Ga(a,g+3|0,1.0);l=+$Ga(a,g+4|0,k);m=+$Ga(a,g+5|0,0.0);n=+$Ga(a,g+6|0,0.0);o=+$Ga(a,g+7|0,0.0);f=+$Ga(a,g+8|0,0.0);if(!d){b=cfa(b,h,i,j,k,l,m,n,o,f,e)|0;return b|0}else{b=efa(b,d,h,i,j,k,l,m,n,o,f,e)|0;return b|0}return 0}function Fz(a){a=a|0;var b=0;b=Cz(a,1,16)|0;Ez(a,b,3,~~+_Ga(a,2)+-1|0)|0;return 0}function Gz(a){a=a|0;ffa(Cz(a,1,16)|0);return 0}function Hz(a){a=a|0;gfa(Cz(a,1,16)|0);return 0}function Iz(a){a=a|0;var b=0;b=Cz(a,1,16)|0;hfa(b,jD(a,2)|0);return 0}function Jz(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;b=ifa(Cz(a,1,16)|0)|0;if(!b)WAb();d=c[(c[(c[b>>2]|0)+-4>>2]|0)+4>>2]|0;if((d|0)==(c[493]|0)){Gs(a,12,b);a=1;i=e;return a|0}if((d|0)==(c[465]|0)){Gs(a,17,b);a=1;i=e;return a|0}else{a=PGa(a,342755,e)|0;i=e;return a|0}return 0}function Kz(b){b=b|0;var d=0,e=0;e=i;i=i+16|0;d=Cz(b,1,16)|0;c[e>>2]=0;if((kDa(b)|0)<2){kfa(d);i=e;return 0}if((qDa(b,2)|0)==5){VDa(b,2,1);VDa(b,2,2);VDa(b,2,3);VDa(b,2,4);a[e>>0]=~~+_Ga(b,-4);a[e+1>>0]=~~+_Ga(b,-3);a[e+2>>0]=~~+_Ga(b,-2);a[e+3>>0]=~~+$Ga(b,-1,255.0);lDa(b,-5)}else{a[e>>0]=~~+_Ga(b,2);a[e+1>>0]=~~+_Ga(b,3);a[e+2>>0]=~~+_Ga(b,4);a[e+3>>0]=~~+$Ga(b,5,255.0)}jfa(d,e);i=e;return 0}function Lz(a){a=a|0;var b=0;b=lfa(Cz(a,1,16)|0)|0;if(!b){a=0;return a|0}IDa(a,+(d[b>>0]|0));IDa(a,+(d[b+1>>0]|0));IDa(a,+(d[b+2>>0]|0));IDa(a,+(d[b+3>>0]|0));a=4;return a|0}function Mz(a){a=a|0;JDa(a,mfa(Cz(a,1,16)|0)|0);return 1}function Nz(a){a=a|0;var b=0;b=Cz(a,1,16)|0;nfa(b,~~+_Ga(a,2));return 0}function Oz(a){a=a|0;JDa(a,ofa(Cz(a,1,16)|0)|0);return 1}function Pz(a){a=a|0;var b=0,c=0,d=0;b=i;i=i+16|0;c=Cz(a,1,16)|0;d=UGa(a,2,0)|0;a=Lx(a,3,19)|0;Iqb(b,d,rnb(d)|0);pfa(c,b,a);Mqb(b);i=b;return 0}function Qz(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=14676;c[b+4>>2]=0;a=xs(a,16,342789,b)|0;i=b;return a|0}function Rz(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((qDa(a,b)|0)!=7){c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0}e=EDa(a,b)|0;if(c[(c[155773]|0)+(c[e>>2]<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0){d=e+4|0;d=c[d>>2]|0;i=f;return d|0}c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0;d=e+4|0;d=c[d>>2]|0;i=f;return d|0}function Sz(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0;j=i;i=i+16|0;c[j>>2]=0;c[j+4>>2]=0;c[j+8>>2]=0;c[j+12>>2]=-1;if((qDa(b,d)|0)!=5){Rqb(j,UGa(b,d,0)|0)|0;f=c[e+4>>2]|0;if((f|0)==(c[e+8>>2]|0)){Tz(e,j);e=j;Mqb(e);i=j;return}else{Hqb(f,j);c[f+12>>2]=c[j+12>>2];c[e+4>>2]=(c[e+4>>2]|0)+16;e=j;Mqb(e);i=j;return}}g=Es(b,d)|0;if((g|0)<1){e=j;Mqb(e);i=j;return}h=1;while(1){VDa(b,d,h);do if((qDa(b,-1)|0)==5){VDa(b,-1,1);VDa(b,-2,2);VDa(b,-3,3);VDa(b,-4,4);a[j+12>>0]=~~+_Ga(b,-4);a[j+13>>0]=~~+_Ga(b,-3);a[j+14>>0]=~~+_Ga(b,-2);a[j+15>>0]=~~+$Ga(b,-1,255.0);lDa(b,-5)}else{Rqb(j,UGa(b,-1,0)|0)|0;f=c[e+4>>2]|0;if((f|0)==(c[e+8>>2]|0)){Tz(e,j);break}else{Hqb(f,j);c[f+12>>2]=c[j+12>>2];c[e+4>>2]=(c[e+4>>2]|0)+16;break}}while(0);lDa(b,-2);if((h|0)<(g|0))h=h+1|0;else{f=j;break}}Mqb(f);i=j;return}function Tz(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=c[a>>2]|0;d=((c[a+4>>2]|0)-f>>4)+1|0;if(d>>>0>268435455)jzb(a);e=(c[a+8>>2]|0)-f|0;if(e>>4>>>0<134217727){d=e>>3>>>0>>0?d:e>>3;e=(c[a+4>>2]|0)-f>>4;if(!d){f=0;d=0}else g=6}else{d=268435455;e=(c[a+4>>2]|0)-f>>4;g=6}if((g|0)==6){f=d;d=YAb(d<<4)|0}i=d+(e<<4)|0;h=d+(f<<4)|0;Hqb(i,b);c[d+(e<<4)+12>>2]=c[b+12>>2];g=c[a>>2]|0;d=c[a+4>>2]|0;if((d|0)==(g|0)){e=i;f=g;d=g}else{f=i;e=i;do{j=f+-16|0;b=d;d=d+-16|0;c[j>>2]=c[d>>2];c[j+4>>2]=c[d+4>>2];c[j+8>>2]=c[d+8>>2];c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;c[f+-4>>2]=c[b+-4>>2];f=e+-16|0;e=f}while((d|0)!=(g|0));f=c[a>>2]|0;d=c[a+4>>2]|0}c[a>>2]=e;c[a+4>>2]=i+16;c[a+8>>2]=h;e=f;if((d|0)!=(e|0))do{d=d+-16|0;Mqb(d)}while((d|0)!=(e|0));if(!f)return;oAb(f);return}function Uz(a){a=a|0;var b=0,d=0,e=0.0,f=0;f=i;i=i+32|0;b=Rz(a,1,20)|0;if((qDa(a,2)|0)<1){Ifa(b);a=0;i=f;return a|0}if((qDa(a,3)|0)<1){c[f+16>>2]=0;c[f+16+4>>2]=0;c[f+16+8>>2]=0;Sz(a,2,f+16|0);Hfa(b,f+16|0);b=c[f+16>>2]|0;if(b|0){d=c[f+16+4>>2]|0;if((d|0)!=(b|0)){do{a=d+-16|0;c[f+16+4>>2]=a;Mqb(a);d=c[f+16+4>>2]|0}while((d|0)!=(b|0));b=c[f+16>>2]|0}oAb(b)}a=0;i=f;return a|0}e=+_Ga(a,3);d=UGa(a,4,0)|0;if(!(y8(d,f+16|0)|0)){c[f>>2]=d;a=PGa(a,342885,f)|0;i=f;return a|0}c[f+4>>2]=0;c[f+4+4>>2]=0;c[f+4+8>>2]=0;Sz(a,2,f+4|0);Gfa(b,f+4|0,e,c[f+16>>2]|0);b=c[f+4>>2]|0;if(b|0){d=c[f+4+4>>2]|0;if((d|0)!=(b|0)){do{a=d+-16|0;c[f+4+4>>2]=a;Mqb(a);d=c[f+4+4>>2]|0}while((d|0)!=(b|0));b=c[f+4>>2]|0}oAb(b)}a=0;i=f;return a|0}function Vz(a){a=a|0;var b=0,d=0,e=0.0,f=0;f=i;i=i+32|0;b=Rz(a,1,20)|0;e=+_Ga(a,3);d=UGa(a,4,0)|0;if(!(y8(d,f+16|0)|0)){c[f>>2]=d;a=PGa(a,342885,f)|0;i=f;return a|0}c[f+4>>2]=0;c[f+4+4>>2]=0;c[f+4+8>>2]=0;Sz(a,2,f+4|0);Gfa(b,f+4|0,e,c[f+16>>2]|0);b=c[f+4>>2]|0;if(b|0){d=c[f+4+4>>2]|0;if((d|0)!=(b|0)){do{a=d+-16|0;c[f+4+4>>2]=a;Mqb(a);d=c[f+4+4>>2]|0}while((d|0)!=(b|0));b=c[f+4>>2]|0}oAb(b)}a=0;i=f;return a|0}function Wz(a){a=a|0;var b=0,d=0,e=0.0,f=0.0,g=0.0,h=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0;d=i;i=i+16|0;b=Rz(a,1,20)|0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;Sz(a,2,d);m=+$Ga(a,3,0.0);l=+$Ga(a,4,0.0);k=+$Ga(a,5,0.0);j=+$Ga(a,6,1.0);h=+$Ga(a,7,j);g=+$Ga(a,8,0.0);f=+$Ga(a,9,0.0);e=+$Ga(a,10,0.0);IDa(a,+((Jfa(b,d,m,l,k,j,h,g,f,e,+$Ga(a,11,0.0))|0)+1|0));a=c[d>>2]|0;if(!a){i=d;return 1}b=c[d+4>>2]|0;if((b|0)!=(a|0)){do{n=b+-16|0;c[d+4>>2]=n;Mqb(n);b=c[d+4>>2]|0}while((b|0)!=(a|0));a=c[d>>2]|0}oAb(a);i=d;return 1}function Xz(a){a=a|0;var b=0,d=0,e=0.0,f=0,g=0.0,h=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0;f=i;i=i+32|0;b=Rz(a,1,20)|0;c[f+8>>2]=0;c[f+8+4>>2]=0;c[f+8+8>>2]=0;Sz(a,2,f+8|0);e=+_Ga(a,3);c[f+4>>2]=4;d=UGa(a,4,0)|0;if(y8(d,f+4|0)|0){p=+$Ga(a,5,0.0);o=+$Ga(a,6,0.0);n=+$Ga(a,7,0.0);m=+$Ga(a,8,1.0);l=+$Ga(a,9,m);k=+$Ga(a,10,0.0);j=+$Ga(a,11,0.0);h=+$Ga(a,12,0.0);g=+$Ga(a,13,0.0);IDa(a,+((Kfa(b,f+8|0,e,c[f+4>>2]|0,p,o,n,m,l,k,j,h,g)|0)+1|0));a=1}else{c[f>>2]=d;a=PGa(a,342885,f)|0}b=c[f+8>>2]|0;if(!b){i=f;return a|0}d=c[f+8+4>>2]|0;if((d|0)!=(b|0)){do{q=d+-16|0;c[f+8+4>>2]=q;Mqb(q);d=c[f+8+4>>2]|0}while((d|0)!=(b|0));b=c[f+8>>2]|0}oAb(b);i=f;return a|0}function Yz(a){a=a|0;Bfa(Rz(a,1,20)|0);return 0}function Zz(a){a=a|0;var b=0;b=Rz(a,1,20)|0;Lfa(b,Cw(a,2,14)|0);return 0}function _z(a){a=a|0;Gs(a,14,Mfa(Rz(a,1,20)|0)|0);return 1}function $z(a){a=a|0;var b=0;b=Rz(a,1,20)|0;IDa(a,+(Nfa(b,~~+$Ga(a,2,0.0)+-1|0)|0));return 1}function aA(a){a=a|0;var b=0;b=Rz(a,1,20)|0;IDa(a,+(Ofa(b,~~+$Ga(a,2,0.0)+-1|0)|0));return 1}function bA(a){a=a|0;var b=0,c=0;c=Rz(a,1,20)|0;b=~~+$Ga(a,2,0.0)+-1|0;IDa(a,+(Nfa(c,b)|0));IDa(a,+(Ofa(c,b)|0));return 2}function cA(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=14780;c[b+4>>2]=0;a=xs(a,20,342908,b)|0;i=b;return a|0}function dA(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((qDa(a,b)|0)!=7){c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0}e=EDa(a,b)|0;if(c[(c[155773]|0)+(c[e>>2]<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0){d=e+4|0;d=c[d>>2]|0;i=f;return d|0}c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0;d=e+4|0;d=c[d>>2]|0;i=f;return d|0}function eA(a){a=a|0;Gs(a,55,$fa(dA(a,1,21)|0)|0);return 1}function fA(a){a=a|0;var b=0;b=dA(a,1,21)|0;if(!(aga(b)|0)){HDa(a);return 1}else{Gs(a,28,aga(b)|0);return 1}return 0}function gA(a){a=a|0;var b=0;b=dA(a,1,21)|0;if((qDa(a,2)|0)<1){bga(b,0);return 0}else{bga(b,ut(a,2,28)|0);return 0}return 0}function hA(a){a=a|0;IDa(a,+(cga(dA(a,1,21)|0)|0));return 1}function iA(a){a=a|0;IDa(a,+(dga(dA(a,1,21)|0)|0));return 1}function jA(a){a=a|0;var b=0;b=dA(a,1,21)|0;IDa(a,+(cga(b)|0));IDa(a,+(dga(b)|0));return 2}function kA(a){a=a|0;var b=0,d=0,e=0,f=0;f=i;i=i+32|0;b=dA(a,1,21)|0;d=fga(b)|0;c[f+16>>2]=c[d>>2];c[f+16+4>>2]=c[d+4>>2];c[f+16+8>>2]=c[d+8>>2];c[f+16+12>>2]=c[d+12>>2];d=UGa(a,2,0)|0;e=TGa(a,3,d,0)|0;if(!(WC(d,f+16|0)|0)){c[f>>2]=d;a=PGa(a,437032,f)|0;i=f;return a|0}if(WC(e,f+16+4|0)|0){g[f+16+12>>2]=+$Ga(a,4,1.0);ega(b,f+16|0);a=0;i=f;return a|0}else{c[f+8>>2]=e;a=PGa(a,437032,f+8|0)|0;i=f;return a|0}return 0}function lA(a){a=a|0;var b=0,d=0.0,e=0,f=0,h=0;e=i;i=i+32|0;h=fga(dA(a,1,21)|0)|0;f=c[h>>2]|0;b=c[h+4>>2]|0;d=+g[h+12>>2];c[e+16>>2]=0;c[e+12>>2]=0;if(!(XC(f,e+16|0)|0)){h=PGa(a,345239,e)|0;i=e;return h|0}if(XC(b,e+12|0)|0){LDa(a,c[e+16>>2]|0);LDa(a,c[e+12>>2]|0);IDa(a,d);h=3;i=e;return h|0}else{h=PGa(a,345239,e+8|0)|0;i=e;return h|0}return 0}function mA(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;c[d>>2]=14868;c[d+4>>2]=0;b=xs(a,21,342939,d)|0;sHa(a,342976,1619,344595)|0;Cs(a,21);dEa(a,1,0);i=d;return b|0}function nA(a){a=a|0;wj(a);return}function oA(a){a=a|0;return 4}function pA(){var b=0,d=0,e=0,f=0,g=0;g=i;i=i+64|0;a[624840]=0;a[624852]=0;a[624864]=0;a[624876]=0;c[156220]=0;c[156221]=0;b=a[518843]|0;if(!(b<<24>>24))d=5381;else{e=518843;d=5381;do{e=e+1|0;d=(d*33|0)+(b<<24>>24)|0;b=a[e>>0]|0}while(b<<24>>24!=0)}b=d&3;if(!(a[624832+(b*12|0)+8>>0]|0)){d=b;b=624832+(b*12|0)+8|0;f=5}else{b=d+1&3;if(!(a[624832+(b*12|0)+8>>0]|0)){d=b;b=624832+(b*12|0)+8|0;f=5}else{b=d+2&3;if(!(a[624832+(b*12|0)+8>>0]|0)){d=b;b=624832+(b*12|0)+8|0;f=5}else{b=d+3&3;if(!(a[624832+(b*12|0)+8>>0]|0)){d=b;b=624832+(b*12|0)+8|0;f=5}}}}if((f|0)==5){a[b>>0]=1;c[624832+(d*12|0)>>2]=518843;c[624832+(d*12|0)+4>>2]=0}if(0>1){c[g>>2]=518843;c[g+4>>2]=0;vpb(441068,g)|0}else c[156220]=518843;b=a[344605]|0;if(!(b<<24>>24))d=5381;else{e=344605;d=5381;do{e=e+1|0;d=(d*33|0)+(b<<24>>24)|0;b=a[e>>0]|0}while(b<<24>>24!=0)}b=d&3;if(!(a[624832+(b*12|0)+8>>0]|0)){d=b;b=624832+(b*12|0)+8|0;f=17}else{b=d+1&3;if(!(a[624832+(b*12|0)+8>>0]|0)){d=b;b=624832+(b*12|0)+8|0;f=17}else{b=d+2&3;if(!(a[624832+(b*12|0)+8>>0]|0)){d=b;b=624832+(b*12|0)+8|0;f=17}else{b=d+3&3;if(!(a[624832+(b*12|0)+8>>0]|0)){d=b;b=624832+(b*12|0)+8|0;f=17}}}}if((f|0)==17){a[b>>0]=1;c[624832+(d*12|0)>>2]=344605;c[624832+(d*12|0)+4>>2]=1}if(1>1){c[g+8>>2]=344605;c[g+8+4>>2]=1;vpb(441068,g+8|0)|0}else c[156221]=344605;a[624896]=0;a[624908]=0;a[624920]=0;a[624932]=0;a[624944]=0;a[624956]=0;c[156240]=0;c[156241]=0;c[156242]=0;qA(624888,518938,0)|0;qA(624888,503939,1)|0;qA(624888,344610,2)|0;a[624980]=0;a[624992]=0;a[625004]=0;a[625016]=0;a[625028]=0;a[625040]=0;a[625052]=0;a[625064]=0;a[625076]=0;a[625088]=0;a[625100]=0;a[625112]=0;a[625124]=0;a[625136]=0;a[625148]=0;a[625160]=0;c[156291]=0;c[156292]=0;c[156293]=0;c[156294]=0;c[156295]=0;c[156296]=0;c[156297]=0;c[156298]=0;rA(624972,344614,0)|0;rA(624972,344620,1)|0;rA(624972,344624,2)|0;rA(624972,344633,3)|0;rA(624972,344642,4)|0;rA(624972,344650,5)|0;rA(624972,344657,6)|0;rA(624972,344664,7)|0;a[625204]=0;a[625216]=0;a[625228]=0;a[625240]=0;c[156311]=0;c[156312]=0;b=a[344672]|0;if(!(b<<24>>24))d=5381;else{e=344672;d=5381;do{e=e+1|0;d=(d*33|0)+(b<<24>>24)|0;b=a[e>>0]|0}while(b<<24>>24!=0)}b=d&3;if(!(a[625196+(b*12|0)+8>>0]|0)){d=b;b=625196+(b*12|0)+8|0;f=25}else{b=d+1&3;if(!(a[625196+(b*12|0)+8>>0]|0)){d=b;b=625196+(b*12|0)+8|0;f=25}else{b=d+2&3;if(!(a[625196+(b*12|0)+8>>0]|0)){d=b;b=625196+(b*12|0)+8|0;f=25}else{b=d+3&3;if(!(a[625196+(b*12|0)+8>>0]|0)){d=b;b=625196+(b*12|0)+8|0;f=25}}}}if((f|0)==25){a[b>>0]=1;c[625196+(d*12|0)>>2]=344672;c[625196+(d*12|0)+4>>2]=0}if(0>1){c[g+16>>2]=344672;c[g+16+4>>2]=0;vpb(441068,g+16|0)|0}else c[156311]=344672;b=a[344686]|0;if(!(b<<24>>24))d=5381;else{e=344686;d=5381;do{e=e+1|0;d=(d*33|0)+(b<<24>>24)|0;b=a[e>>0]|0}while(b<<24>>24!=0)}b=d&3;if(!(a[625196+(b*12|0)+8>>0]|0)){d=b;b=625196+(b*12|0)+8|0;f=37}else{b=d+1&3;if(!(a[625196+(b*12|0)+8>>0]|0)){d=b;b=625196+(b*12|0)+8|0;f=37}else{b=d+2&3;if(!(a[625196+(b*12|0)+8>>0]|0)){d=b;b=625196+(b*12|0)+8|0;f=37}else{b=d+3&3;if(!(a[625196+(b*12|0)+8>>0]|0)){d=b;b=625196+(b*12|0)+8|0;f=37}}}}if((f|0)==37){a[b>>0]=1;c[625196+(d*12|0)>>2]=344686;c[625196+(d*12|0)+4>>2]=1}if(1>1){c[g+24>>2]=344686;c[g+24+4>>2]=1;vpb(441068,g+24|0)|0}else c[156312]=344686;a[625260]=0;a[625272]=0;a[625284]=0;a[625296]=0;c[156325]=0;c[156326]=0;b=a[590273]|0;if(!(b<<24>>24))d=5381;else{e=590273;d=5381;do{e=e+1|0;d=(d*33|0)+(b<<24>>24)|0;b=a[e>>0]|0}while(b<<24>>24!=0)}b=d&3;if(!(a[625252+(b*12|0)+8>>0]|0)){d=b;b=625252+(b*12|0)+8|0;f=45}else{b=d+1&3;if(!(a[625252+(b*12|0)+8>>0]|0)){d=b;b=625252+(b*12|0)+8|0;f=45}else{b=d+2&3;if(!(a[625252+(b*12|0)+8>>0]|0)){d=b;b=625252+(b*12|0)+8|0;f=45}else{b=d+3&3;if(!(a[625252+(b*12|0)+8>>0]|0)){d=b;b=625252+(b*12|0)+8|0;f=45}}}}if((f|0)==45){a[b>>0]=1;c[625252+(d*12|0)>>2]=590273;c[625252+(d*12|0)+4>>2]=1}if(1>1){c[g+32>>2]=590273;c[g+32+4>>2]=1;vpb(441068,g+32|0)|0}else c[156326]=590273;b=a[344700]|0;if(!(b<<24>>24))d=5381;else{e=344700;d=5381;do{e=e+1|0;d=(d*33|0)+(b<<24>>24)|0;b=a[e>>0]|0}while(b<<24>>24!=0)}b=d&3;if(!(a[625252+(b*12|0)+8>>0]|0)){d=b;b=625252+(b*12|0)+8|0;f=57}else{b=d+1&3;if(!(a[625252+(b*12|0)+8>>0]|0)){d=b;b=625252+(b*12|0)+8|0;f=57}else{b=d+2&3;if(!(a[625252+(b*12|0)+8>>0]|0)){d=b;b=625252+(b*12|0)+8|0;f=57}else{b=d+3&3;if(!(a[625252+(b*12|0)+8>>0]|0)){d=b;b=625252+(b*12|0)+8|0;f=57}}}}if((f|0)==57){a[b>>0]=1;c[625252+(d*12|0)>>2]=344700;c[625252+(d*12|0)+4>>2]=0}if(0>1){c[g+40>>2]=344700;c[g+40+4>>2]=0;vpb(441068,g+40|0)|0}else c[156325]=344700;a[625316]=0;a[625328]=0;a[625340]=0;a[625352]=0;a[625364]=0;a[625376]=0;c[156345]=0;c[156346]=0;c[156347]=0;sA(625308,522333,0)|0;sA(625308,344706,1)|0;sA(625308,344712,2)|0;a[625400]=0;a[625412]=0;a[625424]=0;a[625436]=0;a[625448]=0;a[625460]=0;a[625472]=0;a[625484]=0;a[625496]=0;a[625508]=0;a[625520]=0;a[625532]=0;c[156384]=0;c[156385]=0;c[156386]=0;c[156387]=0;c[156388]=0;c[156389]=0;tA(625392,344664,0)|0;tA(625392,344718,1)|0;tA(625392,344728,2)|0;tA(625392,344738,3)|0;tA(625392,344752,4)|0;tA(625392,344766,5)|0;a[625568]=0;a[625580]=0;a[625592]=0;a[625604]=0;a[625616]=0;a[625628]=0;a[625640]=0;a[625652]=0;a[625664]=0;a[625676]=0;a[625688]=0;a[625700]=0;a[625712]=0;a[625724]=0;c[156432]=0;c[156433]=0;c[156434]=0;c[156435]=0;c[156436]=0;c[156437]=0;c[156438]=0;uA(625560,344773,0)|0;uA(625560,344778,1)|0;uA(625560,344785,2)|0;uA(625560,344791,3)|0;uA(625560,344798,4)|0;uA(625560,344806,5)|0;uA(625560,344815,6)|0;a[625764]=0;a[625776]=0;a[625788]=0;a[625800]=0;a[625812]=0;a[625824]=0;c[156457]=0;c[156458]=0;c[156459]=0;vA(625756,344822,0)|0;vA(625756,345185,1)|0;vA(625756,344642,2)|0;a[625848]=0;a[625860]=0;a[625872]=0;a[625884]=0;a[625896]=0;a[625908]=0;a[625920]=0;a[625932]=0;c[156484]=0;c[156485]=0;c[156486]=0;c[156487]=0;wA(625840,344841,0)|0;wA(625840,344851,1)|0;wA(625840,344863,2)|0;wA(625840,344875,3)|0;a[625960]=0;a[625972]=0;a[625984]=0;a[625996]=0;c[156500]=0;c[156501]=0;b=a[525064]|0;if(!(b<<24>>24))d=5381;else{e=525064;d=5381;do{e=e+1|0;d=(d*33|0)+(b<<24>>24)|0;b=a[e>>0]|0}while(b<<24>>24!=0)}b=d&3;do if(!(a[625952+(b*12|0)+8>>0]|0)){d=b;b=625952+(b*12|0)+8|0;f=65}else{b=d+1&3;if(!(a[625952+(b*12|0)+8>>0]|0)){d=b;b=625952+(b*12|0)+8|0;f=65;break}b=d+2&3;if(!(a[625952+(b*12|0)+8>>0]|0)){d=b;b=625952+(b*12|0)+8|0;f=65;break}b=d+3&3;if(!(a[625952+(b*12|0)+8>>0]|0)){d=b;b=625952+(b*12|0)+8|0;f=65}}while(0);if((f|0)==65){a[b>>0]=1;c[625952+(d*12|0)>>2]=525064;c[625952+(d*12|0)+4>>2]=0}if(0>1){c[g+48>>2]=525064;c[g+48+4>>2]=0;vpb(441068,g+48|0)|0}else c[156500]=525064;b=a[344886]|0;if(!(b<<24>>24))d=5381;else{e=344886;d=5381;do{e=e+1|0;d=(d*33|0)+(b<<24>>24)|0;b=a[e>>0]|0}while(b<<24>>24!=0)}b=d&3;do if(!(a[625952+(b*12|0)+8>>0]|0)){d=b;b=625952+(b*12|0)+8|0;f=77}else{b=d+1&3;if(!(a[625952+(b*12|0)+8>>0]|0)){d=b;b=625952+(b*12|0)+8|0;f=77;break}b=d+2&3;if(!(a[625952+(b*12|0)+8>>0]|0)){d=b;b=625952+(b*12|0)+8|0;f=77;break}b=d+3&3;if(!(a[625952+(b*12|0)+8>>0]|0)){d=b;b=625952+(b*12|0)+8|0;f=77}}while(0);if((f|0)==77){a[b>>0]=1;c[625952+(d*12|0)>>2]=344886;c[625952+(d*12|0)+4>>2]=1}if(1>1){c[g+56>>2]=344886;c[g+56+4>>2]=1;vpb(441068,g+56|0)|0;a[626016]=0;a[626028]=0;a[626040]=0;a[626052]=0;a[626064]=0;a[626076]=0;a[626088]=0;a[626100]=0;a[626112]=0;a[626124]=0;a[626136]=0;a[626148]=0;c[156538]=0;c[156539]=0;c[156540]=0;c[156541]=0;c[156542]=0;c[156543]=0;xA(626008,344896,0)|0;xA(626008,344906,1)|0;xA(626008,344921,2)|0;xA(626008,344930,3)|0;xA(626008,344937,4)|0;xA(626008,344943,5)|0;i=g;return}else{c[156501]=344886;a[626016]=0;a[626028]=0;a[626040]=0;a[626052]=0;a[626064]=0;a[626076]=0;a[626088]=0;a[626100]=0;a[626112]=0;a[626124]=0;a[626136]=0;a[626148]=0;c[156538]=0;c[156539]=0;c[156540]=0;c[156541]=0;c[156542]=0;c[156543]=0;xA(626008,344896,0)|0;xA(626008,344906,1)|0;xA(626008,344921,2)|0;xA(626008,344930,3)|0;xA(626008,344937,4)|0;xA(626008,344943,5)|0;i=g;return}}function qA(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;f=a[d>>0]|0;if(!(f<<24>>24))g=5381;else{h=d;g=5381;do{h=h+1|0;g=(g*33|0)+(f<<24>>24)|0;f=a[h>>0]|0}while(f<<24>>24!=0)}f=(g>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+1|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+2|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+3|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+4|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+5|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else f=0}}}}}if((j|0)==5){a[f>>0]=1;c[b+(g*12|0)>>2]=d;c[b+(g*12|0)+4>>2]=e;f=1}if(e>>>0>2){c[k>>2]=d;c[k+4>>2]=e;vpb(441068,k)|0;j=0;i=k;return j|0}else{c[b+72+(e<<2)>>2]=d;j=f;i=k;return j|0}return 0}function rA(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;f=a[d>>0]|0;if(!(f<<24>>24))g=5381;else{h=d;g=5381;do{h=h+1|0;g=(g*33|0)+(f<<24>>24)|0;f=a[h>>0]|0}while(f<<24>>24!=0)}f=g&15;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+1&15;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+2&15;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+3&15;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+4&15;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+5&15;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+6&15;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+7&15;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+8&15;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+9&15;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+10&15;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+11&15;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+12&15;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+13&15;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+14&15;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+15&15;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else f=0}}}}}}}}}}}}}}}if((j|0)==5){a[f>>0]=1;c[b+(g*12|0)>>2]=d;c[b+(g*12|0)+4>>2]=e;f=1}if(e>>>0>7){c[k>>2]=d;c[k+4>>2]=e;vpb(441068,k)|0;j=0;i=k;return j|0}else{c[b+192+(e<<2)>>2]=d;j=f;i=k;return j|0}return 0}function sA(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;f=a[d>>0]|0;if(!(f<<24>>24))g=5381;else{h=d;g=5381;do{h=h+1|0;g=(g*33|0)+(f<<24>>24)|0;f=a[h>>0]|0}while(f<<24>>24!=0)}f=(g>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+1|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+2|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+3|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+4|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+5|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else f=0}}}}}if((j|0)==5){a[f>>0]=1;c[b+(g*12|0)>>2]=d;c[b+(g*12|0)+4>>2]=e;f=1}if(e>>>0>2){c[k>>2]=d;c[k+4>>2]=e;vpb(441068,k)|0;j=0;i=k;return j|0}else{c[b+72+(e<<2)>>2]=d;j=f;i=k;return j|0}return 0}function tA(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;f=a[d>>0]|0;if(!(f<<24>>24))g=5381;else{h=d;g=5381;do{h=h+1|0;g=(g*33|0)+(f<<24>>24)|0;f=a[h>>0]|0}while(f<<24>>24!=0)}f=(g>>>0)%12|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+1|0)>>>0)%12|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+2|0)>>>0)%12|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+3|0)>>>0)%12|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+4|0)>>>0)%12|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+5|0)>>>0)%12|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+6|0)>>>0)%12|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+7|0)>>>0)%12|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+8|0)>>>0)%12|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+9|0)>>>0)%12|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+10|0)>>>0)%12|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+11|0)>>>0)%12|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else f=0}}}}}}}}}}}if((j|0)==5){a[f>>0]=1;c[b+(g*12|0)>>2]=d;c[b+(g*12|0)+4>>2]=e;f=1}if(e>>>0>5){c[k>>2]=d;c[k+4>>2]=e;vpb(441068,k)|0;j=0;i=k;return j|0}else{c[b+144+(e<<2)>>2]=d;j=f;i=k;return j|0}return 0}function uA(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;f=a[d>>0]|0;if(!(f<<24>>24))g=5381;else{h=d;g=5381;do{h=h+1|0;g=(g*33|0)+(f<<24>>24)|0;f=a[h>>0]|0}while(f<<24>>24!=0)}f=(g>>>0)%14|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+1|0)>>>0)%14|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+2|0)>>>0)%14|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+3|0)>>>0)%14|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+4|0)>>>0)%14|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+5|0)>>>0)%14|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+6|0)>>>0)%14|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+7|0)>>>0)%14|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+8|0)>>>0)%14|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+9|0)>>>0)%14|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+10|0)>>>0)%14|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+11|0)>>>0)%14|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+12|0)>>>0)%14|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+13|0)>>>0)%14|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else f=0}}}}}}}}}}}}}if((j|0)==5){a[f>>0]=1;c[b+(g*12|0)>>2]=d;c[b+(g*12|0)+4>>2]=e;f=1}if(e>>>0>6){c[k>>2]=d;c[k+4>>2]=e;vpb(441068,k)|0;j=0;i=k;return j|0}else{c[b+168+(e<<2)>>2]=d;j=f;i=k;return j|0}return 0}function vA(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;f=a[d>>0]|0;if(!(f<<24>>24))g=5381;else{h=d;g=5381;do{h=h+1|0;g=(g*33|0)+(f<<24>>24)|0;f=a[h>>0]|0}while(f<<24>>24!=0)}f=(g>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+1|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+2|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+3|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+4|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+5|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else f=0}}}}}if((j|0)==5){a[f>>0]=1;c[b+(g*12|0)>>2]=d;c[b+(g*12|0)+4>>2]=e;f=1}if(e>>>0>2){c[k>>2]=d;c[k+4>>2]=e;vpb(441068,k)|0;j=0;i=k;return j|0}else{c[b+72+(e<<2)>>2]=d;j=f;i=k;return j|0}return 0}function wA(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;f=a[d>>0]|0;if(!(f<<24>>24))g=5381;else{h=d;g=5381;do{h=h+1|0;g=(g*33|0)+(f<<24>>24)|0;f=a[h>>0]|0}while(f<<24>>24!=0)}f=g&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+1&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+2&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+3&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+4&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+5&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+6&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+7&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else f=0}}}}}}}if((j|0)==5){a[f>>0]=1;c[b+(g*12|0)>>2]=d;c[b+(g*12|0)+4>>2]=e;f=1}if(e>>>0>3){c[k>>2]=d;c[k+4>>2]=e;vpb(441068,k)|0;j=0;i=k;return j|0}else{c[b+96+(e<<2)>>2]=d;j=f;i=k;return j|0}return 0}function xA(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;f=a[d>>0]|0;if(!(f<<24>>24))g=5381;else{h=d;g=5381;do{h=h+1|0;g=(g*33|0)+(f<<24>>24)|0;f=a[h>>0]|0}while(f<<24>>24!=0)}f=(g>>>0)%12|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+1|0)>>>0)%12|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+2|0)>>>0)%12|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+3|0)>>>0)%12|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+4|0)>>>0)%12|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+5|0)>>>0)%12|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+6|0)>>>0)%12|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+7|0)>>>0)%12|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+8|0)>>>0)%12|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+9|0)>>>0)%12|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+10|0)>>>0)%12|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+11|0)>>>0)%12|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else f=0}}}}}}}}}}}if((j|0)==5){a[f>>0]=1;c[b+(g*12|0)>>2]=d;c[b+(g*12|0)+4>>2]=e;f=1}if(e>>>0>5){c[k>>2]=d;c[k+4>>2]=e;vpb(441068,k)|0;j=0;i=k;return j|0}else{c[b+144+(e<<2)>>2]=d;j=f;i=k;return j|0}return 0}function yA(b){b=b|0;a[1247314]=b&1;return}function zA(){return (a[1247314]|0)!=0|0}function AA(b){b=b|0;if(!(a[1247314]|0))return;g[b>>2]=+VE(621072,+g[b>>2]);g[b+4>>2]=+VE(621072,+g[b+4>>2]);g[b+8>>2]=+VE(621072,+g[b+8>>2]);return}function BA(a,b){a=a|0;b=b|0;return CA(624832,a,b)|0}function CA(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=a[d>>0]|0;if(!(g<<24>>24))m=5381;else{h=d;i=g;f=5381;do{h=h+1|0;f=(f*33|0)+(i<<24>>24)|0;i=a[h>>0]|0}while(i<<24>>24!=0);m=f}f=m&3;if(!(a[b+(f*12|0)+8>>0]|0)){e=1;b=0;b=e&b;return b|0}i=c[b+(f*12|0)>>2]|0;h=a[i>>0]|0;a:do if(!(h<<24>>24)){h=g;l=8}else if(g<<24>>24?h<<24>>24==g<<24>>24:0){k=d;while(1){i=i+1|0;k=k+1|0;j=a[i>>0]|0;h=a[k>>0]|0;if(!(j<<24>>24)){l=8;break a}if(!(h<<24>>24?j<<24>>24==h<<24>>24:0)){l=10;break}}}else l=10;while(0);if((l|0)==8)if(h<<24>>24)l=10;do if((l|0)==10){f=m+1&3;if(!(a[b+(f*12|0)+8>>0]|0)){e=1;b=0;b=e&b;return b|0}i=c[b+(f*12|0)>>2]|0;h=a[i>>0]|0;b:do if(!(h<<24>>24)){h=g;l=16}else if(g<<24>>24?h<<24>>24==g<<24>>24:0){k=d;do{i=i+1|0;k=k+1|0;j=a[i>>0]|0;h=a[k>>0]|0;if(!(j<<24>>24)){l=16;break b}}while(h<<24>>24?j<<24>>24==h<<24>>24:0)}while(0);if((l|0)==16)if(!(h<<24>>24))break;f=m+2&3;if(!(a[b+(f*12|0)+8>>0]|0)){e=1;b=0;b=e&b;return b|0}i=c[b+(f*12|0)>>2]|0;h=a[i>>0]|0;c:do if(!(h<<24>>24)){h=g;l=22}else if(g<<24>>24?h<<24>>24==g<<24>>24:0){k=d;do{i=i+1|0;k=k+1|0;j=a[i>>0]|0;h=a[k>>0]|0;if(!(j<<24>>24)){l=22;break c}}while(h<<24>>24?j<<24>>24==h<<24>>24:0)}while(0);if((l|0)==22)if(!(h<<24>>24))break;f=m+3&3;if(!(a[b+(f*12|0)+8>>0]|0)){e=1;b=0;b=e&b;return b|0}h=c[b+(f*12|0)>>2]|0;i=a[h>>0]|0;d:do if(i<<24>>24){if(!(g<<24>>24?i<<24>>24==g<<24>>24:0)){e=0;b=0;b=e&b;return b|0}while(1){h=h+1|0;d=d+1|0;i=a[h>>0]|0;g=a[d>>0]|0;if(!(i<<24>>24))break d;if(!(g<<24>>24?i<<24>>24==g<<24>>24:0)){f=0;g=0;break}}b=f&g;return b|0}while(0);if(g<<24>>24){e=0;b=0;b=e&b;return b|0}}while(0);c[e>>2]=c[b+(f*12|0)+4>>2];e=1;b=1;b=e&b;return b|0}function DA(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=a[b>>0]|0;if(!(e<<24>>24))f=5381;else{g=b;f=5381;do{g=g+1|0;f=(f*33|0)+(e<<24>>24)|0;e=a[g>>0]|0}while(e<<24>>24!=0)}j=0;while(1){i=((j+f|0)>>>0)%6|0;if(!(a[624888+(i*12|0)+8>>0]|0)){e=1;f=0;k=11;break}g=c[624888+(i*12|0)>>2]|0;h=a[g>>0]|0;a:do if(!(h<<24>>24)){e=b;k=8}else{e=b;while(1){l=a[e>>0]|0;if(!(l<<24>>24?h<<24>>24==l<<24>>24:0))break a;g=g+1|0;e=e+1|0;h=a[g>>0]|0;if(!(h<<24>>24)){k=8;break}}}while(0);if((k|0)==8){k=0;if(!(a[e>>0]|0)){k=9;break}}j=j+1|0;if(j>>>0>=6){e=0;f=0;k=11;break}}if((k|0)==9){c[d>>2]=c[624888+(i*12|0)+4>>2];k=1;l=1;l=k&l;return l|0}else if((k|0)==11){l=e&f;return l|0}return 0}function EA(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=a[b>>0]|0;if(!(e<<24>>24))f=5381;else{g=b;f=5381;do{g=g+1|0;f=(f*33|0)+(e<<24>>24)|0;e=a[g>>0]|0}while(e<<24>>24!=0)}j=0;while(1){i=j+f&15;if(!(a[624972+(i*12|0)+8>>0]|0)){e=1;f=0;k=11;break}g=c[624972+(i*12|0)>>2]|0;h=a[g>>0]|0;a:do if(!(h<<24>>24)){e=b;k=8}else{e=b;while(1){l=a[e>>0]|0;if(!(l<<24>>24?h<<24>>24==l<<24>>24:0))break a;g=g+1|0;e=e+1|0;h=a[g>>0]|0;if(!(h<<24>>24)){k=8;break}}}while(0);if((k|0)==8){k=0;if(!(a[e>>0]|0)){k=9;break}}j=j+1|0;if(j>>>0>=16){e=0;f=0;k=11;break}}if((k|0)==9){c[d>>2]=c[624972+(i*12|0)+4>>2];k=1;l=1;l=k&l;return l|0}else if((k|0)==11){l=e&f;return l|0}return 0}function FA(a,b){a=a|0;b=b|0;if(a>>>0>7)a=0;else{a=c[625164+(a<<2)>>2]|0;if(!a)a=0;else{c[b>>2]=a;a=1}}return a|0}function GA(a,b){a=a|0;b=b|0;return HA(625196,a,b)|0}function HA(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=a[d>>0]|0;if(!(g<<24>>24))m=5381;else{h=d;i=g;f=5381;do{h=h+1|0;f=(f*33|0)+(i<<24>>24)|0;i=a[h>>0]|0}while(i<<24>>24!=0);m=f}f=m&3;if(!(a[b+(f*12|0)+8>>0]|0)){e=1;b=0;b=e&b;return b|0}i=c[b+(f*12|0)>>2]|0;h=a[i>>0]|0;a:do if(!(h<<24>>24)){h=g;l=8}else if(g<<24>>24?h<<24>>24==g<<24>>24:0){k=d;while(1){i=i+1|0;k=k+1|0;j=a[i>>0]|0;h=a[k>>0]|0;if(!(j<<24>>24)){l=8;break a}if(!(h<<24>>24?j<<24>>24==h<<24>>24:0)){l=10;break}}}else l=10;while(0);if((l|0)==8)if(h<<24>>24)l=10;do if((l|0)==10){f=m+1&3;if(!(a[b+(f*12|0)+8>>0]|0)){e=1;b=0;b=e&b;return b|0}i=c[b+(f*12|0)>>2]|0;h=a[i>>0]|0;b:do if(!(h<<24>>24)){h=g;l=16}else if(g<<24>>24?h<<24>>24==g<<24>>24:0){k=d;do{i=i+1|0;k=k+1|0;j=a[i>>0]|0;h=a[k>>0]|0;if(!(j<<24>>24)){l=16;break b}}while(h<<24>>24?j<<24>>24==h<<24>>24:0)}while(0);if((l|0)==16)if(!(h<<24>>24))break;f=m+2&3;if(!(a[b+(f*12|0)+8>>0]|0)){e=1;b=0;b=e&b;return b|0}i=c[b+(f*12|0)>>2]|0;h=a[i>>0]|0;c:do if(!(h<<24>>24)){h=g;l=22}else if(g<<24>>24?h<<24>>24==g<<24>>24:0){k=d;do{i=i+1|0;k=k+1|0;j=a[i>>0]|0;h=a[k>>0]|0;if(!(j<<24>>24)){l=22;break c}}while(h<<24>>24?j<<24>>24==h<<24>>24:0)}while(0);if((l|0)==22)if(!(h<<24>>24))break;f=m+3&3;if(!(a[b+(f*12|0)+8>>0]|0)){e=1;b=0;b=e&b;return b|0}h=c[b+(f*12|0)>>2]|0;i=a[h>>0]|0;d:do if(i<<24>>24){if(!(g<<24>>24?i<<24>>24==g<<24>>24:0)){e=0;b=0;b=e&b;return b|0}while(1){h=h+1|0;d=d+1|0;i=a[h>>0]|0;g=a[d>>0]|0;if(!(i<<24>>24))break d;if(!(g<<24>>24?i<<24>>24==g<<24>>24:0)){f=0;g=0;break}}b=f&g;return b|0}while(0);if(g<<24>>24){e=0;b=0;b=e&b;return b|0}}while(0);c[e>>2]=c[b+(f*12|0)+4>>2];e=1;b=1;b=e&b;return b|0}function IA(a,b){a=a|0;b=b|0;if(a>>>0>1)a=0;else{a=c[625244+(a<<2)>>2]|0;if(!a)a=0;else{c[b>>2]=a;a=1}}return a|0}function JA(a,b){a=a|0;b=b|0;return KA(625252,a,b)|0}function KA(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=a[d>>0]|0;if(!(g<<24>>24))m=5381;else{h=d;i=g;f=5381;do{h=h+1|0;f=(f*33|0)+(i<<24>>24)|0;i=a[h>>0]|0}while(i<<24>>24!=0);m=f}f=m&3;if(!(a[b+(f*12|0)+8>>0]|0)){e=1;b=0;b=e&b;return b|0}i=c[b+(f*12|0)>>2]|0;h=a[i>>0]|0;a:do if(!(h<<24>>24)){h=g;l=8}else if(g<<24>>24?h<<24>>24==g<<24>>24:0){k=d;while(1){i=i+1|0;k=k+1|0;j=a[i>>0]|0;h=a[k>>0]|0;if(!(j<<24>>24)){l=8;break a}if(!(h<<24>>24?j<<24>>24==h<<24>>24:0)){l=10;break}}}else l=10;while(0);if((l|0)==8)if(h<<24>>24)l=10;do if((l|0)==10){f=m+1&3;if(!(a[b+(f*12|0)+8>>0]|0)){e=1;b=0;b=e&b;return b|0}i=c[b+(f*12|0)>>2]|0;h=a[i>>0]|0;b:do if(!(h<<24>>24)){h=g;l=16}else if(g<<24>>24?h<<24>>24==g<<24>>24:0){k=d;do{i=i+1|0;k=k+1|0;j=a[i>>0]|0;h=a[k>>0]|0;if(!(j<<24>>24)){l=16;break b}}while(h<<24>>24?j<<24>>24==h<<24>>24:0)}while(0);if((l|0)==16)if(!(h<<24>>24))break;f=m+2&3;if(!(a[b+(f*12|0)+8>>0]|0)){e=1;b=0;b=e&b;return b|0}i=c[b+(f*12|0)>>2]|0;h=a[i>>0]|0;c:do if(!(h<<24>>24)){h=g;l=22}else if(g<<24>>24?h<<24>>24==g<<24>>24:0){k=d;do{i=i+1|0;k=k+1|0;j=a[i>>0]|0;h=a[k>>0]|0;if(!(j<<24>>24)){l=22;break c}}while(h<<24>>24?j<<24>>24==h<<24>>24:0)}while(0);if((l|0)==22)if(!(h<<24>>24))break;f=m+3&3;if(!(a[b+(f*12|0)+8>>0]|0)){e=1;b=0;b=e&b;return b|0}h=c[b+(f*12|0)>>2]|0;i=a[h>>0]|0;d:do if(i<<24>>24){if(!(g<<24>>24?i<<24>>24==g<<24>>24:0)){e=0;b=0;b=e&b;return b|0}while(1){h=h+1|0;d=d+1|0;i=a[h>>0]|0;g=a[d>>0]|0;if(!(i<<24>>24))break d;if(!(g<<24>>24?i<<24>>24==g<<24>>24:0)){f=0;g=0;break}}b=f&g;return b|0}while(0);if(g<<24>>24){e=0;b=0;b=e&b;return b|0}}while(0);c[e>>2]=c[b+(f*12|0)+4>>2];e=1;b=1;b=e&b;return b|0}function LA(a,b){a=a|0;b=b|0;if(a>>>0>1)a=0;else{a=c[625300+(a<<2)>>2]|0;if(!a)a=0;else{c[b>>2]=a;a=1}}return a|0}function MA(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=a[b>>0]|0;if(!(e<<24>>24))f=5381;else{g=b;f=5381;do{g=g+1|0;f=(f*33|0)+(e<<24>>24)|0;e=a[g>>0]|0}while(e<<24>>24!=0)}j=0;while(1){i=((j+f|0)>>>0)%6|0;if(!(a[625308+(i*12|0)+8>>0]|0)){e=1;f=0;k=11;break}g=c[625308+(i*12|0)>>2]|0;h=a[g>>0]|0;a:do if(!(h<<24>>24)){e=b;k=8}else{e=b;while(1){l=a[e>>0]|0;if(!(l<<24>>24?h<<24>>24==l<<24>>24:0))break a;g=g+1|0;e=e+1|0;h=a[g>>0]|0;if(!(h<<24>>24)){k=8;break}}}while(0);if((k|0)==8){k=0;if(!(a[e>>0]|0)){k=9;break}}j=j+1|0;if(j>>>0>=6){e=0;f=0;k=11;break}}if((k|0)==9){c[d>>2]=c[625308+(i*12|0)+4>>2];k=1;l=1;l=k&l;return l|0}else if((k|0)==11){l=e&f;return l|0}return 0}function NA(a,b){a=a|0;b=b|0;if(a>>>0>2)a=0;else{a=c[625380+(a<<2)>>2]|0;if(!a)a=0;else{c[b>>2]=a;a=1}}return a|0}function OA(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=a[b>>0]|0;if(!(e<<24>>24))f=5381;else{g=b;f=5381;do{g=g+1|0;f=(f*33|0)+(e<<24>>24)|0;e=a[g>>0]|0}while(e<<24>>24!=0)}j=0;while(1){i=((j+f|0)>>>0)%12|0;if(!(a[625392+(i*12|0)+8>>0]|0)){e=1;f=0;k=11;break}g=c[625392+(i*12|0)>>2]|0;h=a[g>>0]|0;a:do if(!(h<<24>>24)){e=b;k=8}else{e=b;while(1){l=a[e>>0]|0;if(!(l<<24>>24?h<<24>>24==l<<24>>24:0))break a;g=g+1|0;e=e+1|0;h=a[g>>0]|0;if(!(h<<24>>24)){k=8;break}}}while(0);if((k|0)==8){k=0;if(!(a[e>>0]|0)){k=9;break}}j=j+1|0;if(j>>>0>=12){e=0;f=0;k=11;break}}if((k|0)==9){c[d>>2]=c[625392+(i*12|0)+4>>2];k=1;l=1;l=k&l;return l|0}else if((k|0)==11){l=e&f;return l|0}return 0}function PA(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=a[b>>0]|0;if(!(e<<24>>24))f=5381;else{g=b;f=5381;do{g=g+1|0;f=(f*33|0)+(e<<24>>24)|0;e=a[g>>0]|0}while(e<<24>>24!=0)}j=0;while(1){i=((j+f|0)>>>0)%14|0;if(!(a[625560+(i*12|0)+8>>0]|0)){e=1;f=0;k=11;break}g=c[625560+(i*12|0)>>2]|0;h=a[g>>0]|0;a:do if(!(h<<24>>24)){e=b;k=8}else{e=b;while(1){l=a[e>>0]|0;if(!(l<<24>>24?h<<24>>24==l<<24>>24:0))break a;g=g+1|0;e=e+1|0;h=a[g>>0]|0;if(!(h<<24>>24)){k=8;break}}}while(0);if((k|0)==8){k=0;if(!(a[e>>0]|0)){k=9;break}}j=j+1|0;if(j>>>0>=14){e=0;f=0;k=11;break}}if((k|0)==9){c[d>>2]=c[625560+(i*12|0)+4>>2];k=1;l=1;l=k&l;return l|0}else if((k|0)==11){l=e&f;return l|0}return 0}function QA(a,b){a=a|0;b=b|0;if(a>>>0>6)a=0;else{a=c[625728+(a<<2)>>2]|0;if(!a)a=0;else{c[b>>2]=a;a=1}}return a|0}function RA(a,b){a=a|0;b=b|0;if(a>>>0>2)a=0;else{a=c[625828+(a<<2)>>2]|0;if(!a)a=0;else{c[b>>2]=a;a=1}}return a|0}function SA(a,b){a=a|0;b=b|0;if(a>>>0>3)a=0;else{a=c[625936+(a<<2)>>2]|0;if(!a)a=0;else{c[b>>2]=a;a=1}}return a|0}function TA(a,b){a=a|0;b=b|0;return UA(625952,a,b)|0}function UA(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=a[d>>0]|0;if(!(g<<24>>24))m=5381;else{h=d;i=g;f=5381;do{h=h+1|0;f=(f*33|0)+(i<<24>>24)|0;i=a[h>>0]|0}while(i<<24>>24!=0);m=f}f=m&3;if(!(a[b+(f*12|0)+8>>0]|0)){e=1;b=0;b=e&b;return b|0}i=c[b+(f*12|0)>>2]|0;h=a[i>>0]|0;a:do if(!(h<<24>>24)){h=g;l=8}else if(g<<24>>24?h<<24>>24==g<<24>>24:0){k=d;while(1){i=i+1|0;k=k+1|0;j=a[i>>0]|0;h=a[k>>0]|0;if(!(j<<24>>24)){l=8;break a}if(!(h<<24>>24?j<<24>>24==h<<24>>24:0)){l=10;break}}}else l=10;while(0);if((l|0)==8)if(h<<24>>24)l=10;do if((l|0)==10){f=m+1&3;if(!(a[b+(f*12|0)+8>>0]|0)){e=1;b=0;b=e&b;return b|0}i=c[b+(f*12|0)>>2]|0;h=a[i>>0]|0;b:do if(!(h<<24>>24)){h=g;l=16}else if(g<<24>>24?h<<24>>24==g<<24>>24:0){k=d;do{i=i+1|0;k=k+1|0;j=a[i>>0]|0;h=a[k>>0]|0;if(!(j<<24>>24)){l=16;break b}}while(h<<24>>24?j<<24>>24==h<<24>>24:0)}while(0);if((l|0)==16)if(!(h<<24>>24))break;f=m+2&3;if(!(a[b+(f*12|0)+8>>0]|0)){e=1;b=0;b=e&b;return b|0}i=c[b+(f*12|0)>>2]|0;h=a[i>>0]|0;c:do if(!(h<<24>>24)){h=g;l=22}else if(g<<24>>24?h<<24>>24==g<<24>>24:0){k=d;do{i=i+1|0;k=k+1|0;j=a[i>>0]|0;h=a[k>>0]|0;if(!(j<<24>>24)){l=22;break c}}while(h<<24>>24?j<<24>>24==h<<24>>24:0)}while(0);if((l|0)==22)if(!(h<<24>>24))break;f=m+3&3;if(!(a[b+(f*12|0)+8>>0]|0)){e=1;b=0;b=e&b;return b|0}h=c[b+(f*12|0)>>2]|0;i=a[h>>0]|0;d:do if(i<<24>>24){if(!(g<<24>>24?i<<24>>24==g<<24>>24:0)){e=0;b=0;b=e&b;return b|0}while(1){h=h+1|0;d=d+1|0;i=a[h>>0]|0;g=a[d>>0]|0;if(!(i<<24>>24))break d;if(!(g<<24>>24?i<<24>>24==g<<24>>24:0)){f=0;g=0;break}}b=f&g;return b|0}while(0);if(g<<24>>24){e=0;b=0;b=e&b;return b|0}}while(0);c[e>>2]=c[b+(f*12|0)+4>>2];e=1;b=1;b=e&b;return b|0}function VA(a,b){a=a|0;b=b|0;if(a>>>0>5)a=0;else{a=c[626152+(a<<2)>>2]|0;if(!a)a=0;else{c[b>>2]=a;a=1}}return a|0}function WA(a){a=a|0;var b=0,d=0,e=0;c[a>>2]=14948;b=c[a+8>>2]|0;if(b|0)aBb(b);c[a+8>>2]=0;c[a+36>>2]=0;c[a+40>>2]=0;b=c[a+212>>2]|0;if(b|0){d=c[a+216>>2]|0;if((d|0)!=(b|0)){do{d=d+-4|0;c[a+216>>2]=d;e=c[d>>2]|0;if(e){Hi[c[(c[e>>2]|0)+12>>2]&1023](e);d=c[a+216>>2]|0}}while((d|0)!=(b|0));b=c[a+212>>2]|0}oAb(b)}b=c[a+200>>2]|0;if(b|0){d=c[a+204>>2]|0;if((d|0)!=(b|0))c[a+204>>2]=d+(~((d+-16-b|0)>>>4)<<4);oAb(b)}b=c[a+152>>2]|0;if(b|0){d=c[a+156>>2]|0;if((d|0)!=(b|0))c[a+156>>2]=d+(~((d+-4-b|0)>>>2)<<2);oAb(b)}b=c[a+24>>2]|0;if(!b)return;Hi[c[(c[b>>2]|0)+12>>2]&1023](b);return}function XA(a){a=a|0;WA(a);oAb(a);return}function YA(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;if((b+-1|0)>>>0>536870910){a=nf(16)|0;ds(a,345042,e);zc(a|0,96,27)}d=c[a+8>>2]|0;if(d|0)aBb(d);c[a+8>>2]=0;c[a+36>>2]=0;c[a+40>>2]=0;ZA(a,b);d=c[a+8>>2]|0;if(!d){i=e;return}c[a+12>>2]=d;c[a+16>>2]=0;c[a+20>>2]=0;c[a+40>>2]=0;c[a+84>>2]=c[a+80>>2];g[a+48>>2]=0.0;i=e;return}function ZA(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;d=_Ab(b>>>0>39768215?-1:b*108|0)|0;if(b|0){e=d;do{f=e+16|0;g=e+88|0;c[g>>2]=0;c[g+4>>2]=0;c[g+8>>2]=0;c[g+12>>2]=0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;c[f+16>>2]=0;c[f+20>>2]=0;c[f+24>>2]=0;c[f+28>>2]=0;e=e+108|0}while((e|0)!=(d+(b*108|0)|0))}c[a+8>>2]=d;c[a+12>>2]=d;c[a+36>>2]=b;return}function _A(){$E(621024);a[626184]=0;a[626196]=0;a[626208]=0;a[626220]=0;a[626232]=0;a[626244]=0;c[156562]=0;c[156563]=0;c[156564]=0;$A(626176,522333,0)|0;$A(626176,345062,1)|0;$A(626176,518066,2)|0;a[626268]=0;a[626280]=0;a[626292]=0;a[626304]=0;a[626316]=0;a[626328]=0;c[156583]=0;c[156584]=0;c[156585]=0;aB(626260,345070,0)|0;aB(626260,345074,1)|0;aB(626260,519150,2)|0;return}function $A(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;f=a[d>>0]|0;if(!(f<<24>>24))g=5381;else{h=d;g=5381;do{h=h+1|0;g=(g*33|0)+(f<<24>>24)|0;f=a[h>>0]|0}while(f<<24>>24!=0)}f=(g>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+1|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+2|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+3|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+4|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+5|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else f=0}}}}}if((j|0)==5){a[f>>0]=1;c[b+(g*12|0)>>2]=d;c[b+(g*12|0)+4>>2]=e;f=1}if(e>>>0>2){c[k>>2]=d;c[k+4>>2]=e;vpb(441068,k)|0;j=0;i=k;return j|0}else{c[b+72+(e<<2)>>2]=d;j=f;i=k;return j|0}return 0}function aB(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;f=a[d>>0]|0;if(!(f<<24>>24))g=5381;else{h=d;g=5381;do{h=h+1|0;g=(g*33|0)+(f<<24>>24)|0;f=a[h>>0]|0}while(f<<24>>24!=0)}f=(g>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+1|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+2|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+3|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+4|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+5|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else f=0}}}}}if((j|0)==5){a[f>>0]=1;c[b+(g*12|0)>>2]=d;c[b+(g*12|0)+4>>2]=e;f=1}if(e>>>0>2){c[k>>2]=d;c[k+4>>2]=e;vpb(441068,k)|0;j=0;i=k;return j|0}else{c[b+72+(e<<2)>>2]=d;j=f;i=k;return j|0}return 0}function bB(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,h=0,j=0,k=0.0;j=i;i=i+32|0;Jj(b);c[b>>2]=14948;c[b+8>>2]=0;c[b+8+4>>2]=0;c[b+8+8>>2]=0;c[b+8+12>>2]=0;c[b+24>>2]=d;if(d|0)Hi[c[(c[d>>2]|0)+8>>2]&1023](d);a[b+28>>0]=1;f=b+32|0;h=f+48|0;do{c[f>>2]=0;f=f+4|0}while((f|0)<(h|0));g[b+80>>2]=-1.0;f=b+84|0;h=f+104|0;do{c[f>>2]=0;f=f+4|0}while((f|0)<(h|0));h=vi[c[(c[d>>2]|0)+24>>2]&2047](d)|0;k=+(vi[c[(c[d>>2]|0)+28>>2]&2047](d)|0)*.5;g[b+188>>2]=+(h|0)*.5;g[b+192>>2]=k;a[b+196>>0]=1;c[b+200>>2]=0;c[b+200+4>>2]=0;c[b+200+8>>2]=0;c[b+200+12>>2]=0;c[b+200+16>>2]=0;c[b+200+20>>2]=0;a[b+200+24>>0]=0;if((e+-1|0)>>>0>536870910){b=nf(16)|0;ds(b,345081,j);zc(b|0,96,27)}g[j+24>>2]=1.0;d=c[b+156>>2]|0;if(d>>>0<(c[b+160>>2]|0)>>>0){c[d>>2]=1065353216;c[b+156>>2]=d+4;d=0;f=0}else{cB(b+152|0,j+24|0);d=c[b+204>>2]|0;f=c[b+208>>2]|0}g[j+8>>2]=1.0;g[j+8+4>>2]=1.0;g[j+8+8>>2]=1.0;g[j+8+12>>2]=1.0;if(d>>>0>>0){c[d>>2]=c[j+8>>2];c[d+4>>2]=c[j+8+4>>2];c[d+8>>2]=c[j+8+8>>2];c[d+12>>2]=c[j+8+12>>2];c[b+204>>2]=(c[b+204>>2]|0)+16;h=c[b>>2]|0;h=h+24|0;h=c[h>>2]|0;si[h&511](b,e);i=j;return}else{dB(b+200|0,j+8|0);h=c[b>>2]|0;h=h+24|0;h=c[h>>2]|0;si[h&511](b,e);i=j;return}}function cB(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=c[a>>2]|0;d=((c[a+4>>2]|0)-j>>2)+1|0;if(d>>>0>1073741823)jzb(a);e=(c[a+8>>2]|0)-j|0;if(e>>2>>>0<536870911){d=e>>1>>>0>>0?d:e>>1;f=c[a+4>>2]|0;if(!d){i=0;g=0;e=f-j>>2;d=f}else{h=f;e=f-j>>2;k=6}}else{e=c[a+4>>2]|0;d=1073741823;h=e;e=e-j>>2;k=6}if((k|0)==6){i=d;g=YAb(d<<2)|0;d=h}k=g+(e<<2)|0;c[k>>2]=c[b>>2];b=d-j|0;mBb(k+(0-(b>>2)<<2)|0,j|0,b|0)|0;c[a>>2]=k+(0-(b>>2)<<2);c[a+4>>2]=k+4;c[a+8>>2]=g+(i<<2);if(!j)return;oAb(j);return}function dB(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=c[a>>2]|0;d=((c[a+4>>2]|0)-j>>4)+1|0;if(d>>>0>268435455)jzb(a);e=(c[a+8>>2]|0)-j|0;if(e>>4>>>0<134217727){d=e>>3>>>0>>0?d:e>>3;f=c[a+4>>2]|0;if(!d){i=0;g=0;e=f-j>>4;d=f}else{h=f;e=f-j>>4;k=6}}else{e=c[a+4>>2]|0;d=268435455;h=e;e=e-j>>4;k=6}if((k|0)==6){i=d;g=YAb(d<<4)|0;d=h}k=g+(e<<4)|0;c[k>>2]=c[b>>2];c[k+4>>2]=c[b+4>>2];c[k+8>>2]=c[b+8>>2];c[k+12>>2]=c[b+12>>2];b=d-j|0;mBb(k+(0-(b>>4)<<4)|0,j|0,b|0)|0;c[a>>2]=k+(0-(b>>4)<<4);c[a+4>>2]=k+16;c[a+8>>2]=g+(i<<4);if(!j)return;oAb(j);return}function eB(b,d){b=b|0;d=d|0;var e=0;Jj(b);c[b>>2]=14948;c[b+8>>2]=0;c[b+8+4>>2]=0;c[b+8+8>>2]=0;c[b+8+12>>2]=0;e=c[d+24>>2]|0;c[b+24>>2]=e;if(e|0)Hi[c[(c[e>>2]|0)+8>>2]&1023](e);a[b+28>>0]=a[d+28>>0]|0;c[b+32>>2]=c[d+32>>2];c[b+36>>2]=c[d+36>>2];c[b+40>>2]=0;c[b+44>>2]=c[d+44>>2];g[b+48>>2]=0.0;e=c[d+52+4>>2]|0;c[b+52>>2]=c[d+52>>2];c[b+52+4>>2]=e;e=c[d+60+4>>2]|0;c[b+60>>2]=c[d+60>>2];c[b+60+4>>2]=e;c[b+68>>2]=c[d+68>>2];e=c[d+72+4>>2]|0;c[b+72>>2]=c[d+72>>2];c[b+72+4>>2]=e;c[b+80>>2]=c[d+80>>2];c[b+84>>2]=c[d+80>>2];c[b+88>>2]=c[d+88>>2];c[b+92>>2]=c[d+92>>2];c[b+96>>2]=c[d+96>>2];c[b+100>>2]=c[d+100>>2];c[b+104>>2]=c[d+104>>2];c[b+108>>2]=c[d+108>>2];e=c[d+112+4>>2]|0;c[b+112>>2]=c[d+112>>2];c[b+112+4>>2]=e;e=c[d+120+4>>2]|0;c[b+120>>2]=c[d+120>>2];c[b+120+4>>2]=e;c[b+128>>2]=c[d+128>>2];c[b+132>>2]=c[d+132>>2];c[b+136>>2]=c[d+136>>2];c[b+140>>2]=c[d+140>>2];c[b+144>>2]=c[d+144>>2];c[b+148>>2]=c[d+148>>2];fB(b+152|0,d+152|0);c[b+164>>2]=c[d+164>>2];c[b+168>>2]=c[d+168>>2];c[b+172>>2]=c[d+172>>2];c[b+176>>2]=c[d+176>>2];c[b+180>>2]=c[d+180>>2];c[b+184>>2]=c[d+184>>2];e=c[d+188+4>>2]|0;c[b+188>>2]=c[d+188>>2];c[b+188+4>>2]=e;a[b+196>>0]=a[d+196>>0]|0;gB(b+200|0,d+200|0);hB(b+212|0,d+212|0);a[b+224>>0]=a[d+224>>0]|0;si[c[(c[b>>2]|0)+24>>2]&511](b,c[b+36>>2]|0);return}function fB(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;d=(c[b+4>>2]|0)-(c[b>>2]|0)|0;if(!(d>>2))return;if(d>>2>>>0>1073741823)jzb(a);g=YAb(d)|0;c[a+4>>2]=g;c[a>>2]=g;c[a+8>>2]=g+(d>>2<<2);f=c[b>>2]|0;b=c[b+4>>2]|0;if((f|0)==(b|0))return;d=f;e=g;while(1){c[e>>2]=c[d>>2];d=d+4|0;if((d|0)==(b|0))break;else e=e+4|0}c[a+4>>2]=g+(((b+-4-f|0)>>>2)+1<<2);return}function gB(a,b){a=a|0;b=b|0;var d=0,e=0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;e=(c[b+4>>2]|0)-(c[b>>2]|0)|0;if(!(e>>4))return;if(e>>4>>>0>268435455)jzb(a);d=YAb(e)|0;c[a+4>>2]=d;c[a>>2]=d;c[a+8>>2]=d+(e>>4<<4);e=c[b>>2]|0;b=c[b+4>>2]|0;if((e|0)==(b|0))return;do{c[d>>2]=c[e>>2];c[d+4>>2]=c[e+4>>2];c[d+8>>2]=c[e+8>>2];c[d+12>>2]=c[e+12>>2];d=(c[a+4>>2]|0)+16|0;c[a+4>>2]=d;e=e+16|0}while((e|0)!=(b|0));return}function hB(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;e=(c[b+4>>2]|0)-(c[b>>2]|0)|0;if(!(e>>2))return;if(e>>2>>>0>1073741823)jzb(a);d=YAb(e)|0;c[a+4>>2]=d;c[a>>2]=d;c[a+8>>2]=d+(e>>2<<2);e=c[b>>2]|0;f=c[b+4>>2]|0;if((e|0)==(f|0))return;do{b=c[e>>2]|0;c[d>>2]=b;if(b){Hi[c[(c[b>>2]|0)+8>>2]&1023](b);d=c[a+4>>2]|0}d=d+4|0;c[a+4>>2]=d;e=e+4|0}while((e|0)!=(f|0));return}function iB(a){a=a|0;var b=0;b=c[a+8>>2]|0;if(!b)return;c[a+12>>2]=b;c[a+16>>2]=0;c[a+20>>2]=0;c[a+40>>2]=0;c[a+84>>2]=c[a+80>>2];g[a+48>>2]=0.0;return}function jB(a){a=a|0;return c[a+36>>2]|0}function kB(a,b){a=a|0;b=+b;var d=0,e=0,f=0,g=0;if((c[a+40>>2]|0)==(c[a+36>>2]|0))return;g=c[a+12>>2]|0;c[a+12>>2]=g+108;lB(a,g,b);a:do switch(c[a+32>>2]|0){case 2:{d=cF(621024)|0;f=c[a+40>>2]|0;d=yBb(d|0,C|0,jBb(f|0,0,1,0)|0,C|0)|0;if((d|0)==(f|0)&(C|0)==0){d=c[a+16>>2]|0;if(d|0)c[d>>2]=g;c[g>>2]=0;c[g+4>>2]=d;c[a+16>>2]=g;break a}e=c[a+8>>2]|0;f=c[e+(d*108|0)+4>>2]|0;c[e+(d*108|0)+4>>2]=g;if(!f)c[a+20>>2]=g;else c[f>>2]=g;c[g>>2]=e+(d*108|0);c[g+4>>2]=f;break}case 1:{if(!(c[a+20>>2]|0)){c[a+20>>2]=g;c[g+4>>2]=0;d=a+16|0}else{d=c[a+16>>2]|0;c[d>>2]=g;c[g+4>>2]=d;d=a+16|0}c[g>>2]=0;c[d>>2]=g;break}default:{if(!(c[a+16>>2]|0)){c[a+16>>2]=g;c[g>>2]=0;d=a+20|0}else{d=c[a+20>>2]|0;c[d+4>>2]=g;c[g>>2]=d;d=a+20|0}c[g+4>>2]=0;c[d>>2]=g}}while(0);c[a+40>>2]=(c[a+40>>2]|0)+1;return}function lB(b,d,e){b=b|0;d=d|0;e=+e;var f=0.0,h=0.0,i=0.0,j=0,k=0.0;i=+g[b+60>>2];h=+g[b+64>>2];i=i+(+g[b+52>>2]-i)*e;h=h+(+g[b+56>>2]-h)*e;e=+g[b+88>>2];f=+g[b+92>>2];if(!(e==f)){j=cF(621024)|0;e=e+(f-e)*((+(j>>>0)+4294967296.0*+(C>>>0))*5.421010862427522e-20)}g[d+12>>2]=e;g[d+8>>2]=e;g[d+16>>2]=i;g[d+20>>2]=h;switch(c[b+68>>2]|0){case 1:{f=+g[b+72>>2];j=cF(621024)|0;g[d+16>>2]=+g[d+16>>2]+(-f+(f+f)*((+(j>>>0)+4294967296.0*+(C>>>0))*5.421010862427522e-20));f=+g[b+76>>2];j=cF(621024)|0;g[d+20>>2]=+g[d+20>>2]+(-f+(f+f)*((+(j>>>0)+4294967296.0*+(C>>>0))*5.421010862427522e-20));break}case 2:{g[d+16>>2]=+dF(621024,+g[b+72>>2])+ +g[d+16>>2];g[d+20>>2]=+dF(621024,+g[b+76>>2])+ +g[d+20>>2];break}default:{}}g[d+24>>2]=i;g[d+28>>2]=h;e=+g[b+104>>2];i=+g[b+108>>2];j=cF(621024)|0;e=e+(i-e)*((+(j>>>0)+4294967296.0*+(C>>>0))*5.421010862427522e-20);i=+g[b+96>>2];h=+g[b+100>>2]*.5;j=cF(621024)|0;h=i-h+(+(j>>>0)+4294967296.0*+(C>>>0))*5.421010862427522e-20*(i+h-(i-h));i=+R(+h)*e;g[d+32>>2]=+Q(+h)*e;g[d+36>>2]=i;i=+g[b+112>>2];e=+g[b+120>>2];j=cF(621024)|0;g[d+40>>2]=i+(e-i)*((+(j>>>0)+4294967296.0*+(C>>>0))*5.421010862427522e-20);i=+g[b+116>>2];e=+g[b+124>>2];j=cF(621024)|0;g[d+44>>2]=i+(e-i)*((+(j>>>0)+4294967296.0*+(C>>>0))*5.421010862427522e-20);i=+g[b+128>>2];e=+g[b+132>>2];j=cF(621024)|0;g[d+48>>2]=i+(e-i)*((+(j>>>0)+4294967296.0*+(C>>>0))*5.421010862427522e-20);i=+g[b+136>>2];e=+g[b+140>>2];j=cF(621024)|0;g[d+52>>2]=i+(e-i)*((+(j>>>0)+4294967296.0*+(C>>>0))*5.421010862427522e-20);i=+g[b+144>>2];e=+g[b+148>>2];j=cF(621024)|0;g[d+56>>2]=i+(e-i)*((+(j>>>0)+4294967296.0*+(C>>>0))*5.421010862427522e-20);i=+g[b+164>>2];j=cF(621024)|0;g[d+64>>2]=i*((+(j>>>0)+4294967296.0*+(C>>>0))*5.421010862427522e-20);i=+g[b+164>>2];j=cF(621024)|0;e=+g[d+64>>2];g[d+68>>2]=1.0-i*((+(j>>>0)+4294967296.0*+(C>>>0))*5.421010862427522e-20)-e;j=c[b+152>>2]|0;c[d+60>>2]=c[j+((_(((c[b+156>>2]|0)-j>>2)+-1|0,~~(e+-.5)>>>0)|0)<<2)>>2];e=+g[b+168>>2];i=+g[b+172>>2];h=+g[b+176>>2];f=+g[b+180>>2]*.5*+g[b+184>>2];j=cF(621024)|0;k=(+(j>>>0)+4294967296.0*+(C>>>0))*5.421010862427522e-20;g[d+80>>2]=(h+f)*k+(h-f)*(1.0-k);k=+g[b+180>>2];f=+g[b+176>>2]*.5*+g[b+184>>2];j=cF(621024)|0;h=(+(j>>>0)+4294967296.0*+(C>>>0))*5.421010862427522e-20;g[d+84>>2]=(k+f)*h+(k-f)*(1.0-h);j=cF(621024)|0;e=e+(i-e)*((+(j>>>0)+4294967296.0*+(C>>>0))*5.421010862427522e-20);g[d+72>>2]=e;g[d+76>>2]=e;if(!(a[b+224>>0]|0)){j=d+88|0;b=b+200|0;b=c[b>>2]|0;c[j>>2]=c[b>>2];c[j+4>>2]=c[b+4>>2];c[j+8>>2]=c[b+8>>2];c[j+12>>2]=c[b+12>>2];j=d+104|0;c[j>>2]=0;return}g[d+76>>2]=e+ +W(+(+g[d+36>>2]),+(+g[d+32>>2]));j=d+88|0;b=b+200|0;b=c[b>>2]|0;c[j>>2]=c[b>>2];c[j+4>>2]=c[b+4>>2];c[j+8>>2]=c[b+8>>2];c[j+12>>2]=c[b+12>>2];j=d+104|0;c[j>>2]=0;return}function mB(b,d){b=b|0;d=d|0;var e=0.0,f=0.0,j=0,k=0;k=i;i=i+32|0;if(d|0)Hi[c[(c[d>>2]|0)+8>>2]&1023](d);j=c[b+24>>2]|0;if(j|0)Hi[c[(c[j>>2]|0)+12>>2]&1023](j);c[b+24>>2]=d;if(!(a[b+196>>0]|0)){i=k;return}j=c[b+212>>2]|0;if((j|0)==(c[b+216>>2]|0)){f=+(vi[c[(c[d>>2]|0)+24>>2]&2047](d)|0)*.5;d=c[b+24>>2]|0;e=+(vi[c[(c[d>>2]|0)+28>>2]&2047](d)|0)*.5}else{GC(k,c[j>>2]|0);e=+h[k+8>>3]*.5;f=+h[k>>3]*.5}g[b+188>>2]=f;g[b+192>>2]=e;i=k;return}function nB(a){a=a|0;return c[a+24>>2]|0}function oB(a,b){a=a|0;b=b|0;c[a+32>>2]=b;return}function pB(a){a=a|0;return c[a+32>>2]|0}function qB(a,b){a=a|0;b=+b;var c=0;c=i;i=i+16|0;if(b<0.0){a=nf(16)|0;ds(a,345110,c);zc(a|0,96,27)}else{g[a+44>>2]=b;i=c;return}}function rB(a){a=a|0;return +(+g[a+44>>2])}function sB(a,b){a=a|0;b=+b;g[a+80>>2]=b;g[a+84>>2]=b;return}function tB(a){a=a|0;return +(+g[a+80>>2])}function uB(a,b,c){a=a|0;b=+b;c=+c;g[a+88>>2]=b;g[a+92>>2]=c==0.0?b:c;return}function vB(a,b,d){a=a|0;b=b|0;d=d|0;c[b>>2]=c[a+88>>2];c[d>>2]=c[a+92>>2];return}function wB(a,b,c){a=a|0;b=+b;c=+c;g[a+52>>2]=b;g[a+56>>2]=c;g[a+60>>2]=b;g[a+64>>2]=c;return}function xB(a){a=a|0;return a+52|0}function yB(a,b,c){a=a|0;b=+b;c=+c;g[a+52>>2]=b;g[a+56>>2]=c;return}function zB(a,b,d,e){a=a|0;b=b|0;d=+d;e=+e;g[a+72>>2]=d;g[a+76>>2]=e;c[a+68>>2]=b;return}function AB(a){a=a|0;return c[a+68>>2]|0}function BB(a){a=a|0;return a+72|0}function CB(a,b){a=a|0;b=+b;g[a+96>>2]=b;return}function DB(a){a=a|0;return +(+g[a+96>>2])}function EB(a,b){a=a|0;b=+b;g[a+100>>2]=b;return}function FB(a){a=a|0;return +(+g[a+100>>2])}function GB(a,b,c){a=a|0;b=+b;c=+c;g[a+104>>2]=b;g[a+108>>2]=c;return}function HB(a,b,d){a=a|0;b=b|0;d=d|0;c[b>>2]=c[a+104>>2];c[d>>2]=c[a+108>>2];return}function IB(a,b,c,d,e){a=a|0;b=+b;c=+c;d=+d;e=+e;g[a+112>>2]=b;g[a+116>>2]=c;g[a+120>>2]=d;g[a+124>>2]=e;return}function JB(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=c[a+112+4>>2]|0;c[b>>2]=c[a+112>>2];c[b+4>>2]=e;b=c[a+120+4>>2]|0;c[d>>2]=c[a+120>>2];c[d+4>>2]=b;return}function KB(a,b,c){a=a|0;b=+b;c=+c;g[a+128>>2]=b;g[a+132>>2]=c;return}function LB(a,b,d){a=a|0;b=b|0;d=d|0;c[b>>2]=c[a+128>>2];c[d>>2]=c[a+132>>2];return}function MB(a,b,c){a=a|0;b=+b;c=+c;g[a+136>>2]=b;g[a+140>>2]=c;return}function NB(a,b,d){a=a|0;b=b|0;d=d|0;c[b>>2]=c[a+136>>2];c[d>>2]=c[a+140>>2];return}function OB(a,b,c){a=a|0;b=+b;c=+c;g[a+144>>2]=b;g[a+148>>2]=c;return}function PB(a,b,d){a=a|0;b=b|0;d=d|0;c[b>>2]=c[a+144>>2];c[d>>2]=c[a+148>>2];return}function QB(a,b){a=a|0;b=+b;var d=0,e=0;d=c[a+156>>2]|0;e=c[a+152>>2]|0;if(!(d-e>>2)){RB(a+152|0,1);a=c[a+152>>2]|0;g[a>>2]=b;return}if(d-e>>2>>>0<=1){a=e;g[a>>2]=b;return}if((d|0)==(e+4|0)){a=e;g[a>>2]=b;return}c[a+156>>2]=d+(~((d+-4-(e+4)|0)>>>2)<<2);a=e;g[a>>2]=b;return}function RB(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=c[a+8>>2]|0;e=c[a+4>>2]|0;if(d-e>>2>>>0>=b>>>0){hBb(e|0,0,b<<2|0)|0;c[a+4>>2]=e+(b<<2);return}j=c[a>>2]|0;if(((e-j>>2)+b|0)>>>0>1073741823)jzb(a);if(d-j>>2>>>0<536870911){d=d-j>>1>>>0<((e-j>>2)+b|0)>>>0?(e-j>>2)+b|0:d-j>>1;f=c[a+4>>2]|0;if(!d){i=0;g=0;e=f-j>>2;d=f}else{h=f;e=f-j>>2;k=8}}else{e=c[a+4>>2]|0;d=1073741823;h=e;e=e-j>>2;k=8}if((k|0)==8){i=d;g=YAb(d<<2)|0;d=h}k=g+(e<<2)|0;hBb(k|0,0,b<<2|0)|0;h=d-j|0;mBb(k+(0-(h>>2)<<2)|0,j|0,h|0)|0;c[a>>2]=k+(0-(h>>2)<<2);c[a+4>>2]=k+(b<<2);c[a+8>>2]=g+(i<<2);if(!j)return;oAb(j);return}function SB(a,b){a=a|0;b=b|0;if((a+152|0)==(b|0))return;TB(a+152|0,c[b>>2]|0,c[b+4>>2]|0);return}function TB(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=c[a+8>>2]|0;f=c[a>>2]|0;if(d-b>>2>>>0<=e-f>>2>>>0){e=(c[a+4>>2]|0)-f>>2;h=d-b>>2>>>0>e>>>0?b+(e<<2)|0:d;nBb(f|0,b|0,h-b|0)|0;if(d-b>>2>>>0<=e>>>0){e=c[a+4>>2]|0;if((e|0)==(f+(h-b>>2<<2)|0))return;c[a+4>>2]=e+(~((e+-4-(f+(h-b>>2<<2))|0)>>>2)<<2);return}if((h|0)==(d|0))return;g=c[a+4>>2]|0;e=b+(e<<2)|0;f=g;while(1){c[f>>2]=c[e>>2];e=e+4|0;if((e|0)==(d|0))break;else f=f+4|0}c[a+4>>2]=g+(((d+-4-h|0)>>>2)+1<<2);return}if(f){e=c[a+4>>2]|0;if((e|0)!=(f|0))c[a+4>>2]=e+(~((e+-4-f|0)>>>2)<<2);oAb(f);c[a+8>>2]=0;c[a+4>>2]=0;c[a>>2]=0;e=0}if(d-b>>2>>>0>1073741823)jzb(a);e=e-0|0;if(e>>2>>>0<536870911){e=e>>1>>>0>2>>>0?d-b>>2:e>>1;if(e>>>0>1073741823)jzb(a);else h=e}else h=1073741823;g=YAb(h<<2)|0;c[a+4>>2]=g;c[a>>2]=g;c[a+8>>2]=g+(h<<2);if((b|0)==(d|0))return;e=b;f=g;while(1){c[f>>2]=c[e>>2];e=e+4|0;if((e|0)==(d|0))break;else f=f+4|0}c[a+4>>2]=g+(((d+-4-b|0)>>>2)+1<<2);return}function UB(a){a=a|0;return a+152|0}function VB(a,b){a=a|0;b=+b;g[a+164>>2]=b;return}function WB(a){a=a|0;return +(+g[a+164>>2])}function XB(a,b,c){a=a|0;b=+b;c=+c;g[a+168>>2]=b;g[a+172>>2]=c;return}function YB(a,b,d){a=a|0;b=b|0;d=d|0;c[b>>2]=c[a+168>>2];c[d>>2]=c[a+172>>2];return}function ZB(a,b,c){a=a|0;b=+b;c=+c;g[a+176>>2]=b;g[a+180>>2]=c;return}function _B(a,b,d){a=a|0;b=b|0;d=d|0;c[b>>2]=c[a+176>>2];c[d>>2]=c[a+180>>2];return}function $B(a,b){a=a|0;b=+b;g[a+184>>2]=b;return}function aC(a){a=a|0;return +(+g[a+184>>2])}function bC(b,c,d){b=b|0;c=+c;d=+d;g[b+188>>2]=c;g[b+192>>2]=d;a[b+196>>0]=0;return}function cC(a,b){a=a|0;b=b|0;var d=0;d=c[b+188+4>>2]|0;c[a>>2]=c[b+188>>2];c[a+4>>2]=d;return}function dC(a,b){a=a|0;b=b|0;var d=0;if((a+200|0)!=(b|0))eC(a+200|0,c[b>>2]|0,c[b+4>>2]|0);b=c[a+200>>2]|0;a=c[a+204>>2]|0;if((b|0)==(a|0))return;do{g[b>>2]=+g[b>>2]/255.0;d=b+4|0;g[d>>2]=+g[d>>2]/255.0;d=b+8|0;g[d>>2]=+g[d>>2]/255.0;d=b+12|0;g[d>>2]=+g[d>>2]/255.0;b=b+16|0}while((b|0)!=(a|0));return}function eC(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;e=c[a+8>>2]|0;g=c[a>>2]|0;if(d-b>>4>>>0<=e-g>>4>>>0){e=(c[a+4>>2]|0)-g>>4;f=d-b>>4>>>0>e>>>0?b+(e<<4)|0:d;nBb(g|0,b|0,f-b|0)|0;if(d-b>>4>>>0<=e>>>0){e=c[a+4>>2]|0;if((e|0)==(g+(f-b>>4<<4)|0))return;c[a+4>>2]=e+(~((e+-16-(g+(f-b>>4<<4))|0)>>>4)<<4);return}if((f|0)==(d|0))return;e=b+(e<<4)|0;b=c[a+4>>2]|0;do{c[b>>2]=c[e>>2];c[b+4>>2]=c[e+4>>2];c[b+8>>2]=c[e+8>>2];c[b+12>>2]=c[e+12>>2];b=(c[a+4>>2]|0)+16|0;c[a+4>>2]=b;e=e+16|0}while((e|0)!=(d|0));return}if(g){e=c[a+4>>2]|0;if((e|0)!=(g|0))c[a+4>>2]=e+(~((e+-16-g|0)>>>4)<<4);oAb(g);c[a+8>>2]=0;c[a+4>>2]=0;c[a>>2]=0;e=0}if(d-b>>4>>>0>268435455)jzb(a);e=e-0|0;if(e>>4>>>0<134217727){e=e>>3>>>0>4>>>0?d-b>>4:e>>3;if(e>>>0>268435455)jzb(a);else f=e}else f=268435455;e=YAb(f<<4)|0;c[a+4>>2]=e;c[a>>2]=e;c[a+8>>2]=e+(f<<4);if((b|0)==(d|0))return;do{c[e>>2]=c[b>>2];c[e+4>>2]=c[b+4>>2];c[e+8>>2]=c[b+8>>2];c[e+12>>2]=c[b+12>>2];e=(c[a+4>>2]|0)+16|0;c[a+4>>2]=e;b=b+16|0}while((b|0)!=(d|0));return}function fC(a,b){a=a|0;b=b|0;var d=0;gB(a,b+200|0);b=c[a>>2]|0;a=c[a+4>>2]|0;if((b|0)==(a|0))return;do{g[b>>2]=+g[b>>2]*255.0;d=b+4|0;g[d>>2]=+g[d>>2]*255.0;d=b+8|0;g[d>>2]=+g[d>>2]*255.0;d=b+12|0;g[d>>2]=+g[d>>2]*255.0;b=b+16|0}while((b|0)!=(a|0));return}function gC(b,d){b=b|0;d=d|0;var e=0,f=0.0,j=0.0,k=0,l=0,m=0,n=0;n=i;i=i+48|0;c[n+36>>2]=0;m=n+36+4|0;c[m>>2]=0;c[n+36+8>>2]=0;hC(n+36|0,(c[d+4>>2]|0)-(c[d>>2]|0)>>2);e=c[d>>2]|0;l=c[d+4>>2]|0;if((e|0)!=(l|0))do{k=c[e>>2]|0;c[n+32>>2]=k;if(k|0)Hi[c[(c[k>>2]|0)+8>>2]&1023](k);d=c[m>>2]|0;if(d>>>0<(c[n+36+8>>2]|0)>>>0){c[d>>2]=k;if(k){Hi[c[(c[k>>2]|0)+8>>2]&1023](k);d=c[m>>2]|0}c[m>>2]=d+4}else jC(n+36|0,n+32|0);if(k|0)Hi[c[(c[k>>2]|0)+12>>2]&1023](k);e=e+4|0}while((e|0)!=(l|0));if((b+212|0)!=(n+36|0))iC(b+212|0,c[n+36>>2]|0,c[m>>2]|0);if(a[b+196>>0]|0){d=c[b+212>>2]|0;if((d|0)==(c[b+216>>2]|0)){l=c[b+24>>2]|0;l=vi[c[(c[l>>2]|0)+24>>2]&2047](l)|0;k=c[b+24>>2]|0;f=+(vi[c[(c[k>>2]|0)+28>>2]&2047](k)|0)*.5;j=+(l|0)*.5}else{GC(n,c[d>>2]|0);f=+h[n+8>>3]*.5;j=+h[n>>3]*.5}g[b+188>>2]=j;g[b+192>>2]=f}d=c[n+36>>2]|0;if(!d){i=n;return}e=c[m>>2]|0;if((e|0)!=(d|0)){do{e=e+-4|0;c[m>>2]=e;k=c[e>>2]|0;if(k){Hi[c[(c[k>>2]|0)+12>>2]&1023](k);e=c[m>>2]|0}}while((e|0)!=(d|0));d=c[n+36>>2]|0}oAb(d);i=n;return}function hC(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;h=c[a>>2]|0;if((c[a+8>>2]|0)-h>>2>>>0>=b>>>0)return;e=c[a+4>>2]|0;if(!b)d=0;else d=YAb(b<<2)|0;i=d+(e-h>>2<<2)|0;g=d+(b<<2)|0;if((e|0)==(h|0)){b=i;f=h;d=h}else{f=i;d=i;do{e=e+-4|0;b=c[e>>2]|0;c[f+-4>>2]=b;if(b|0)Hi[c[(c[b>>2]|0)+8>>2]&1023](b);f=d+-4|0;d=f}while((e|0)!=(h|0));b=d;f=c[a>>2]|0;d=c[a+4>>2]|0}c[a>>2]=b;c[a+4>>2]=i;c[a+8>>2]=g;e=f;if((d|0)!=(e|0))do{d=d+-4|0;b=c[d>>2]|0;if(b|0)Hi[c[(c[b>>2]|0)+12>>2]&1023](b)}while((d|0)!=(e|0));if(!f)return;oAb(f);return}function iC(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=c[a+8>>2]|0;e=c[a>>2]|0;if(d-b>>2>>>0>f-e>>2>>>0){if(!e)e=f;else{f=c[a+4>>2]|0;if((f|0)!=(e|0)){do{f=f+-4|0;c[a+4>>2]=f;g=c[f>>2]|0;if(g){Hi[c[(c[g>>2]|0)+12>>2]&1023](g);f=c[a+4>>2]|0}}while((f|0)!=(e|0));e=c[a>>2]|0}oAb(e);c[a+8>>2]=0;c[a+4>>2]=0;c[a>>2]=0;e=0}if(d-b>>2>>>0>1073741823)jzb(a);e=e-0|0;if(e>>2>>>0<536870911){e=e>>1>>>0>2>>>0?d-b>>2:e>>1;if(e>>>0>1073741823)jzb(a);else h=e}else h=1073741823;e=YAb(h<<2)|0;c[a+4>>2]=e;c[a>>2]=e;c[a+8>>2]=e+(h<<2);if((b|0)==(d|0))return;do{f=c[b>>2]|0;c[e>>2]=f;if(f){Hi[c[(c[f>>2]|0)+8>>2]&1023](f);e=c[a+4>>2]|0}e=e+4|0;c[a+4>>2]=e;b=b+4|0}while((b|0)!=(d|0));return}k=(c[a+4>>2]|0)-e>>2;j=d-b>>2>>>0>k>>>0?b+(k<<2)|0:d;if((j|0)==(b|0))g=e;else{f=b;g=e;while(1){h=c[f>>2]|0;if(h|0)Hi[c[(c[h>>2]|0)+8>>2]&1023](h);i=c[g>>2]|0;if(i|0)Hi[c[(c[i>>2]|0)+12>>2]&1023](i);c[g>>2]=h;f=f+4|0;if((f|0)==(j|0))break;else g=g+4|0}g=e+(((j+-4-b|0)>>>2)+1<<2)|0}if(d-b>>2>>>0<=k>>>0){e=c[a+4>>2]|0;if((e|0)==(g|0))return;do{e=e+-4|0;c[a+4>>2]=e;f=c[e>>2]|0;if(f){Hi[c[(c[f>>2]|0)+12>>2]&1023](f);e=c[a+4>>2]|0}}while((e|0)!=(g|0));return}if((j|0)==(d|0))return;b=b+(k<<2)|0;e=c[a+4>>2]|0;do{f=c[b>>2]|0;c[e>>2]=f;if(f){Hi[c[(c[f>>2]|0)+8>>2]&1023](f);e=c[a+4>>2]|0}e=e+4|0;c[a+4>>2]=e;b=b+4|0}while((b|0)!=(d|0));return}function jC(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=c[a>>2]|0;e=((c[a+4>>2]|0)-h>>2)+1|0;if(e>>>0>1073741823)jzb(a);d=(c[a+8>>2]|0)-h|0;if(d>>2>>>0<536870911){d=d>>1>>>0>>0?e:d>>1;f=c[a+4>>2]|0;if(!d){i=0;d=0;e=f-h>>2}else{g=f;e=f-h>>2;j=6}}else{e=c[a+4>>2]|0;d=1073741823;g=e;e=e-h>>2;j=6}if((j|0)==6){i=d;d=YAb(d<<2)|0;f=g}j=d+(e<<2)|0;i=d+(i<<2)|0;d=c[b>>2]|0;c[j>>2]=d;if(!d)d=f;else{Hi[c[(c[d>>2]|0)+8>>2]&1023](d);d=c[a+4>>2]|0;h=c[a>>2]|0}if((d|0)==(h|0)){e=j;g=d}else{f=d;g=j;d=j;do{f=f+-4|0;e=c[f>>2]|0;c[g+-4>>2]=e;if(e|0)Hi[c[(c[e>>2]|0)+8>>2]&1023](e);g=d+-4|0;d=g}while((f|0)!=(h|0));e=d;g=c[a>>2]|0;d=c[a+4>>2]|0}c[a>>2]=e;c[a+4>>2]=j+4;c[a+8>>2]=i;f=g;if((d|0)!=(f|0))do{d=d+-4|0;e=c[d>>2]|0;if(e|0)Hi[c[(c[e>>2]|0)+12>>2]&1023](e)}while((d|0)!=(f|0));if(!g)return;oAb(g);return}function kC(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+16|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;g=c[b+216>>2]|0;b=c[b+212>>2]|0;if(!(g-b>>2)){e=0;d=0}else{d=YAb(g-b|0)|0;c[a>>2]=d;c[a+4>>2]=d;c[a+8>>2]=d+(g-b>>2<<2);e=d+(g-b>>2<<2)|0}if((b|0)==(g|0)){i=h;return}f=e;while(1){e=c[b>>2]|0;c[h>>2]=e;if(d>>>0>>0){c[d>>2]=e;c[a+4>>2]=(c[a+4>>2]|0)+4}else lC(a,h);b=b+4|0;if((b|0)==(g|0))break;d=c[a+4>>2]|0;f=c[a+8>>2]|0}i=h;return}function lC(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=c[a>>2]|0;d=((c[a+4>>2]|0)-j>>2)+1|0;if(d>>>0>1073741823)jzb(a);e=(c[a+8>>2]|0)-j|0;if(e>>2>>>0<536870911){d=e>>1>>>0>>0?d:e>>1;f=c[a+4>>2]|0;if(!d){i=0;g=0;e=f-j>>2;d=f}else{h=f;e=f-j>>2;k=6}}else{e=c[a+4>>2]|0;d=1073741823;h=e;e=e-j>>2;k=6}if((k|0)==6){i=d;g=YAb(d<<2)|0;d=h}k=g+(e<<2)|0;c[k>>2]=c[b>>2];b=d-j|0;mBb(k+(0-(b>>2)<<2)|0,j|0,b|0)|0;c[a>>2]=k+(0-(b>>2)<<2);c[a+4>>2]=k+4;c[a+8>>2]=g+(i<<2);if(!j)return;oAb(j);return}function mC(b,c){b=b|0;c=c|0;a[b+224>>0]=c&1;return}function nC(b){b=b|0;return (a[b+224>>0]|0)!=0|0}function oC(a){a=a|0;return c[a+40>>2]|0}function pC(b){b=b|0;a[b+28>>0]=1;return}function qC(b){b=b|0;a[b+28>>0]=0;c[b+84>>2]=c[b+80>>2];g[b+48>>2]=0.0;return}function rC(b){b=b|0;a[b+28>>0]=0;return}function sC(b,d){b=b|0;d=d|0;var e=0;if(!(a[b+28>>0]|0))return;e=(c[b+36>>2]|0)-(c[b+40>>2]|0)|0;d=e>>>0>>0?e:d;if(!d)return;do{d=d+-1|0;kB(b,1.0)}while((d|0)!=0);return}function tC(b){b=b|0;return (a[b+28>>0]|0)!=0|0}function uC(b){b=b|0;if(a[b+28>>0]|0){b=0;return b|0}b=+g[b+84>>2]<+g[b+80>>2];return b|0}function vC(b){b=b|0;if(a[b+28>>0]|0){b=0;return b|0}b=+g[b+84>>2]>=+g[b+80>>2];return b|0}function wC(b,d){b=b|0;d=+d;var e=0.0,f=0,h=0,i=0.0,j=0.0,k=0,l=0,m=0,n=0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0;if(d==0.0|(c[b+8>>2]|0)==0)return;f=c[b+16>>2]|0;if(f|0)do{n=f+12|0;o=+g[n>>2]-d;g[n>>2]=o;if(!(o<=0.0)){h=f+16|0;p=+g[h>>2];k=f+20|0;q=+g[k>>2];e=p-+g[f+24>>2];i=q-+g[f+28>>2];j=+O(+(e*e+i*i));if(j>0.0){e=e*(1.0/j);i=i*(1.0/j)}t=+g[f+48>>2];j=+g[f+52>>2];m=f+32|0;n=f+36|0;r=(i*t+e*j+ +g[f+44>>2])*d+ +g[n>>2];s=1.0/(+g[f+56>>2]*d+1.0);j=(+g[m>>2]+(+g[f+40>>2]+(e*t-i*j))*d)*s;g[m>>2]=j;g[n>>2]=r*s;g[h>>2]=p+j*d;g[k>>2]=q+r*s*d;i=1.0-o/+g[f+8>>2];h=f+72|0;e=+g[h>>2]+(+g[f+84>>2]*i+ +g[f+80>>2]*(1.0-i))*d;g[h>>2]=e;h=f+76|0;g[h>>2]=e;if(a[b+224>>0]|0)g[h>>2]=e+ +W(+(r*s),+j);n=c[b+152>>2]|0;m=((c[b+156>>2]|0)-n>>2)+-1|0;q=(+g[f+64>>2]+i*+g[f+68>>2])*+(m>>>0);g[f+60>>2]=+g[n+(((~~q>>>0|0)!=(m|0)&1)+(~~q>>>0)<<2)>>2]*(q-+(~~q>>>0>>>0))+ +g[n+(~~q>>>0<<2)>>2]*(1.0-(q-+(~~q>>>0>>>0)));n=c[b+200>>2]|0;m=((c[b+204>>2]|0)-n>>4)+-1|0;h=~~(i*+(m>>>0))>>>0;q=i*+(m>>>0)-+(h>>>0);r=+g[n+(((h|0)!=(m|0)&1)+h<<4)+4>>2]*q+ +g[n+(h<<4)+4>>2]*(1.0-q);s=+g[n+(((h|0)!=(m|0)&1)+h<<4)+8>>2]*q+ +g[n+(h<<4)+8>>2]*(1.0-q);t=+g[n+(h<<4)+12>>2]*(1.0-q)+q*+g[n+(((h|0)!=(m|0)&1)+h<<4)+12>>2];g[f+88>>2]=+g[n+(((h|0)!=(m|0)&1)+h<<4)>>2]*q+ +g[n+(h<<4)>>2]*(1.0-q);g[f+92>>2]=r;g[f+96>>2]=s;g[f+100>>2]=t;h=(c[b+216>>2]|0)-(c[b+212>>2]|0)>>2;if(h|0){n=i*+(h>>>0)>0.0?~~(i*+(h>>>0))>>>0:0;c[f+104>>2]=n>>>0>>0?n:h+-1|0}f=c[f+4>>2]|0}else{k=c[f>>2]|0;n=f+4|0;h=c[n>>2]|0;if(!k)c[b+16>>2]=h;else{c[k+4>>2]=h;h=c[n>>2]|0}if(!h){c[b+20>>2]=k;h=0}else c[h>>2]=k;k=(c[b+12>>2]|0)+-108|0;c[b+12>>2]=k;do if((k|0)==(f|0))f=h;else{m=f;l=m+108|0;do{c[m>>2]=c[k>>2];m=m+4|0;k=k+4|0}while((m|0)<(l|0));k=(h|0)==(c[b+12>>2]|0)?f:h;h=c[f>>2]|0;if(!h)c[b+16>>2]=f;else c[h+4>>2]=f;h=c[n>>2]|0;if(!h){c[b+20>>2]=f;f=k;break}else{c[h>>2]=f;f=k;break}}while(0);c[b+40>>2]=(c[b+40>>2]|0)+-1}}while((f|0)!=0);if(a[b+28>>0]|0){e=1.0/+g[b+44>>2];i=+g[b+48>>2]+d;g[b+48>>2]=i;if(i>e){j=i;do{kB(b,1.0-(j-e)/(i-e));j=+g[b+48>>2]-e;g[b+48>>2]=j}while(j>e)}t=+g[b+84>>2]-d;g[b+84>>2]=t;e=+g[b+80>>2];if(t<0.0&e!=-1.0){a[b+28>>0]=0;g[b+84>>2]=e;g[b+48>>2]=0.0}}n=c[b+52+4>>2]|0;c[b+60>>2]=c[b+52>>2];c[b+60+4>>2]=n;return}function xC(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=a[b>>0]|0;if(!(e<<24>>24))f=5381;else{g=b;f=5381;do{g=g+1|0;f=(f*33|0)+(e<<24>>24)|0;e=a[g>>0]|0}while(e<<24>>24!=0)}j=0;while(1){i=((j+f|0)>>>0)%6|0;if(!(a[626176+(i*12|0)+8>>0]|0)){e=1;f=0;k=11;break}g=c[626176+(i*12|0)>>2]|0;h=a[g>>0]|0;a:do if(!(h<<24>>24)){e=b;k=8}else{e=b;while(1){l=a[e>>0]|0;if(!(l<<24>>24?h<<24>>24==l<<24>>24:0))break a;g=g+1|0;e=e+1|0;h=a[g>>0]|0;if(!(h<<24>>24)){k=8;break}}}while(0);if((k|0)==8){k=0;if(!(a[e>>0]|0)){k=9;break}}j=j+1|0;if(j>>>0>=6){e=0;f=0;k=11;break}}if((k|0)==9){c[d>>2]=c[626176+(i*12|0)+4>>2];k=1;l=1;l=k&l;return l|0}else if((k|0)==11){l=e&f;return l|0}return 0}function yC(a,b){a=a|0;b=b|0;if(a>>>0>2)a=0;else{a=c[626248+(a<<2)>>2]|0;if(!a)a=0;else{c[b>>2]=a;a=1}}return a|0}function zC(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=a[b>>0]|0;if(!(e<<24>>24))f=5381;else{g=b;f=5381;do{g=g+1|0;f=(f*33|0)+(e<<24>>24)|0;e=a[g>>0]|0}while(e<<24>>24!=0)}j=0;while(1){i=((j+f|0)>>>0)%6|0;if(!(a[626260+(i*12|0)+8>>0]|0)){e=1;f=0;k=11;break}g=c[626260+(i*12|0)>>2]|0;h=a[g>>0]|0;a:do if(!(h<<24>>24)){e=b;k=8}else{e=b;while(1){l=a[e>>0]|0;if(!(l<<24>>24?h<<24>>24==l<<24>>24:0))break a;g=g+1|0;e=e+1|0;h=a[g>>0]|0;if(!(h<<24>>24)){k=8;break}}}while(0);if((k|0)==8){k=0;if(!(a[e>>0]|0)){k=9;break}}j=j+1|0;if(j>>>0>=6){e=0;f=0;k=11;break}}if((k|0)==9){c[d>>2]=c[626260+(i*12|0)+4>>2];k=1;l=1;l=k&l;return l|0}else if((k|0)==11){l=e&f;return l|0}return 0}function AC(a,b){a=a|0;b=b|0;if(a>>>0>2)a=0;else{a=c[626332+(a<<2)>>2]|0;if(!a)a=0;else{c[b>>2]=a;a=1}}return a|0}function BC(a){a=a|0;return}function CC(a){a=a|0;oAb(a);return}function DC(a,b,d,e){a=a|0;b=b|0;d=+d;e=+e;var f=0,i=0,j=0.0,k=0.0,l=0.0,m=0.0;Jj(a);c[a>>2]=14984;h[a+120>>3]=d;h[a+128>>3]=e;f=a+8|0;i=f+80|0;do{c[f>>2]=-1;f=f+4|0}while((f|0)<(i|0));c[a+88>>2]=c[b>>2];c[a+88+4>>2]=c[b+4>>2];c[a+88+8>>2]=c[b+8>>2];c[a+88+12>>2]=c[b+12>>2];c[a+88+16>>2]=c[b+16>>2];c[a+88+20>>2]=c[b+20>>2];c[a+88+24>>2]=c[b+24>>2];c[a+88+28>>2]=c[b+28>>2];g[a+8>>2]=0.0;g[a+12>>2]=0.0;g[a+28>>2]=0.0;k=+h[b+24>>3];g[a+32>>2]=k;m=+h[b+16>>3];g[a+48>>2]=m;g[a+52>>2]=0.0;g[a+68>>2]=m;g[a+72>>2]=k;l=+h[b>>3];g[a+16>>2]=l/d;j=+h[b+8>>3];g[a+20>>2]=j/e;g[a+36>>2]=l/d;g[a+40>>2]=(k+j)/e;g[a+56>>2]=(m+l)/d;g[a+60>>2]=j/e;g[a+76>>2]=(m+l)/d;g[a+80>>2]=(k+j)/e;return}function EC(a,b,d,e){a=a|0;b=b|0;d=+d;e=+e;var f=0.0,i=0.0,j=0.0,k=0.0;c[a+88>>2]=c[b>>2];c[a+88+4>>2]=c[b+4>>2];c[a+88+8>>2]=c[b+8>>2];c[a+88+12>>2]=c[b+12>>2];c[a+88+16>>2]=c[b+16>>2];c[a+88+20>>2]=c[b+20>>2];c[a+88+24>>2]=c[b+24>>2];c[a+88+28>>2]=c[b+28>>2];g[a+8>>2]=0.0;g[a+12>>2]=0.0;g[a+28>>2]=0.0;f=+h[b+24>>3];g[a+32>>2]=f;j=+h[b+16>>3];g[a+48>>2]=j;g[a+52>>2]=0.0;g[a+68>>2]=j;g[a+72>>2]=f;k=+h[b>>3];g[a+16>>2]=k/d;i=+h[b+8>>3];g[a+20>>2]=i/e;g[a+36>>2]=k/d;g[a+40>>2]=(i+f)/e;g[a+56>>2]=(k+j)/d;g[a+60>>2]=i/e;g[a+76>>2]=(k+j)/d;g[a+80>>2]=(i+f)/e;return}function FC(a,b){a=a|0;b=b|0;var d=0.0,e=0.0,f=0.0,i=0.0,j=0.0,k=0.0;i=+h[a+120>>3];d=+h[a+128>>3];c[a+88>>2]=c[b>>2];c[a+88+4>>2]=c[b+4>>2];c[a+88+8>>2]=c[b+8>>2];c[a+88+12>>2]=c[b+12>>2];c[a+88+16>>2]=c[b+16>>2];c[a+88+20>>2]=c[b+20>>2];c[a+88+24>>2]=c[b+24>>2];c[a+88+28>>2]=c[b+28>>2];g[a+8>>2]=0.0;g[a+12>>2]=0.0;g[a+28>>2]=0.0;f=+h[b+24>>3];g[a+32>>2]=f;k=+h[b+16>>3];g[a+48>>2]=k;g[a+52>>2]=0.0;g[a+68>>2]=k;g[a+72>>2]=f;j=+h[b>>3];g[a+16>>2]=j/i;e=+h[b+8>>3];g[a+20>>2]=e/d;g[a+36>>2]=j/i;g[a+40>>2]=(f+e)/d;g[a+56>>2]=(k+j)/i;g[a+60>>2]=e/d;g[a+76>>2]=(k+j)/i;g[a+80>>2]=(f+e)/d;return}function GC(a,b){a=a|0;b=b|0;c[a>>2]=c[b+88>>2];c[a+4>>2]=c[b+88+4>>2];c[a+8>>2]=c[b+88+8>>2];c[a+12>>2]=c[b+88+12>>2];c[a+16>>2]=c[b+88+16>>2];c[a+20>>2]=c[b+88+20>>2];c[a+24>>2]=c[b+88+24>>2];c[a+28>>2]=c[b+88+28>>2];return}function HC(a){a=a|0;return a+8|0}function IC(a){a=a|0;return}function JC(a){a=a|0;oAb(a);return}function KC(a){a=a|0;return c[a+8>>2]|0}function LC(a){a=a|0;return c[a+12>>2]|0}function MC(a){a=a|0;return a+16|0}function NC(a){a=a|0;return a+32|0}function OC(a){a=a|0;return a+40|0}function PC(){a[626352]=0;a[626364]=0;a[626376]=0;a[626388]=0;a[626400]=0;a[626412]=0;c[156604]=0;c[156605]=0;c[156606]=0;QC(626344,433996,1)|0;QC(626344,601548,2)|0;QC(626344,522333,0)|0;a[626436]=0;a[626448]=0;a[626460]=0;a[626472]=0;a[626484]=0;a[626496]=0;a[626508]=0;a[626520]=0;c[156631]=0;c[156632]=0;c[156633]=0;c[156634]=0;RC(626428,345179,0)|0;RC(626428,345185,1)|0;RC(626428,517008,2)|0;RC(626428,345195,3)|0;return}function QC(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;f=a[d>>0]|0;if(!(f<<24>>24))g=5381;else{h=d;g=5381;do{h=h+1|0;g=(g*33|0)+(f<<24>>24)|0;f=a[h>>0]|0}while(f<<24>>24!=0)}f=(g>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+1|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+2|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+3|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+4|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+5|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else f=0}}}}}if((j|0)==5){a[f>>0]=1;c[b+(g*12|0)>>2]=d;c[b+(g*12|0)+4>>2]=e;f=1}if(e>>>0>2){c[k>>2]=d;c[k+4>>2]=e;vpb(441068,k)|0;j=0;i=k;return j|0}else{c[b+72+(e<<2)>>2]=d;j=f;i=k;return j|0}return 0}function RC(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;f=a[d>>0]|0;if(!(f<<24>>24))g=5381;else{h=d;g=5381;do{h=h+1|0;g=(g*33|0)+(f<<24>>24)|0;f=a[h>>0]|0}while(f<<24>>24!=0)}f=g&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+1&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+2&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+3&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+4&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+5&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+6&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+7&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else f=0}}}}}}}if((j|0)==5){a[f>>0]=1;c[b+(g*12|0)>>2]=d;c[b+(g*12|0)+4>>2]=e;f=1}if(e>>>0>3){c[k>>2]=d;c[k+4>>2]=e;vpb(441068,k)|0;j=0;i=k;return j|0}else{c[b+96+(e<<2)>>2]=d;j=f;i=k;return j|0}return 0}function SC(a){a=a|0;var b=0;Jj(a);c[a>>2]=15024;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=c[3750];c[a+16+4>>2]=c[3751];c[a+16+8>>2]=c[3752];c[a+16+12>>2]=c[3753];a=a+32|0;b=a+88|0;do{c[a>>2]=0;a=a+4|0}while((a|0)<(b|0));return}function TC(){return 15e3}function UC(a){a=a|0;c[3750]=c[a>>2];c[3751]=c[a+4>>2];c[3752]=c[a+8>>2];c[3753]=c[a+12>>2];return}function VC(a,b){a=a|0;b=b|0;if(!b)if(c[a+8>>2]|0)return 0;if(((c[a+4>>2]|0)+-1|0)>>>0>=2)return 0;if(((c[a>>2]|0)+-1|0)>>>0<2)return (c[a+8>>2]|0)>>>0<3|0;else return 0;return 0}function WC(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=a[b>>0]|0;if(!(e<<24>>24))f=5381;else{g=b;f=5381;do{g=g+1|0;f=(f*33|0)+(e<<24>>24)|0;e=a[g>>0]|0}while(e<<24>>24!=0)}j=0;while(1){i=((j+f|0)>>>0)%6|0;if(!(a[626344+(i*12|0)+8>>0]|0)){e=1;f=0;k=11;break}g=c[626344+(i*12|0)>>2]|0;h=a[g>>0]|0;a:do if(!(h<<24>>24)){e=b;k=8}else{e=b;while(1){l=a[e>>0]|0;if(!(l<<24>>24?h<<24>>24==l<<24>>24:0))break a;g=g+1|0;e=e+1|0;h=a[g>>0]|0;if(!(h<<24>>24)){k=8;break}}}while(0);if((k|0)==8){k=0;if(!(a[e>>0]|0)){k=9;break}}j=j+1|0;if(j>>>0>=6){e=0;f=0;k=11;break}}if((k|0)==9){c[d>>2]=c[626344+(i*12|0)+4>>2];k=1;l=1;l=k&l;return l|0}else if((k|0)==11){l=e&f;return l|0}return 0}function XC(a,b){a=a|0;b=b|0;if(a>>>0>2)a=0;else{a=c[626416+(a<<2)>>2]|0;if(!a)a=0;else{c[b>>2]=a;a=1}}return a|0}function YC(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=a[b>>0]|0;if(!(e<<24>>24))f=5381;else{g=b;f=5381;do{g=g+1|0;f=(f*33|0)+(e<<24>>24)|0;e=a[g>>0]|0}while(e<<24>>24!=0)}j=0;while(1){i=j+f&7;if(!(a[626428+(i*12|0)+8>>0]|0)){e=1;f=0;k=11;break}g=c[626428+(i*12|0)>>2]|0;h=a[g>>0]|0;a:do if(!(h<<24>>24)){e=b;k=8}else{e=b;while(1){l=a[e>>0]|0;if(!(l<<24>>24?h<<24>>24==l<<24>>24:0))break a;g=g+1|0;e=e+1|0;h=a[g>>0]|0;if(!(h<<24>>24)){k=8;break}}}while(0);if((k|0)==8){k=0;if(!(a[e>>0]|0)){k=9;break}}j=j+1|0;if(j>>>0>=8){e=0;f=0;k=11;break}}if((k|0)==9){c[d>>2]=c[626428+(i*12|0)+4>>2];k=1;l=1;l=k&l;return l|0}else if((k|0)==11){l=e&f;return l|0}return 0}function ZC(a,b){a=a|0;b=b|0;if(a>>>0>3)a=0;else{a=c[626524+(a<<2)>>2]|0;if(!a)a=0;else{c[b>>2]=a;a=1}}return a|0}function _C(a){a=a|0;var b=0,c=0,d=0.0;c=i;i=i+32|0;b=az(a,1,13)|0;h[c>>3]=+_Ga(a,2);h[c+8>>3]=+_Ga(a,3);h[c+16>>3]=+_Ga(a,4);h[c+24>>3]=+_Ga(a,5);if((qDa(a,6)|0)<1){FC(b,c);i=c;return 0}else{d=+_Ga(a,6);EC(b,c,d,+_Ga(a,7));i=c;return 0}return 0}function $C(a){a=a|0;var b=0;b=i;i=i+32|0;GC(b,az(a,1,13)|0);IDa(a,+h[b>>3]);IDa(a,+h[b+8>>3]);IDa(a,+h[b+16>>3]);IDa(a,+h[b+24>>3]);i=b;return 4}function aD(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=15080;c[b+4>>2]=0;a=xs(a,13,345210,b)|0;i=b;return a|0}function bD(a){a=a|0;var b=0;b=cD(a,1,11)|0;IDa(a,+(vi[c[(c[b>>2]|0)+24>>2]&2047](b)|0));return 1}function cD(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((qDa(a,b)|0)!=7){c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0}e=EDa(a,b)|0;if(c[(c[155773]|0)+(c[e>>2]<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0){d=e+4|0;d=c[d>>2]|0;i=f;return d|0}c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0;d=e+4|0;d=c[d>>2]|0;i=f;return d|0}function dD(a){a=a|0;var b=0;b=cD(a,1,11)|0;IDa(a,+(vi[c[(c[b>>2]|0)+28>>2]&2047](b)|0));return 1}function eD(a){a=a|0;var b=0;b=cD(a,1,11)|0;IDa(a,+(vi[c[(c[b>>2]|0)+24>>2]&2047](b)|0));IDa(a,+(vi[c[(c[b>>2]|0)+28>>2]&2047](b)|0));return 2}function fD(a){a=a|0;var b=0,d=0,e=0,f=0;f=i;i=i+32|0;b=cD(a,1,11)|0;d=vi[c[(c[b>>2]|0)+36>>2]&2047](b)|0;c[f+16>>2]=c[d>>2];c[f+16+4>>2]=c[d+4>>2];c[f+16+8>>2]=c[d+8>>2];c[f+16+12>>2]=c[d+12>>2];d=UGa(a,2,0)|0;e=TGa(a,3,d,0)|0;if(!(WC(d,f+16|0)|0)){c[f>>2]=d;a=PGa(a,437032,f)|0;i=f;return a|0}if(WC(e,f+16+4|0)|0){g[f+16+12>>2]=+$Ga(a,4,1.0);si[c[(c[b>>2]|0)+32>>2]&511](b,f+16|0);a=0;i=f;return a|0}else{c[f+8>>2]=e;a=PGa(a,437032,f+8|0)|0;i=f;return a|0}return 0}function gD(a){a=a|0;var b=0,d=0.0,e=0,f=0,h=0;e=i;i=i+32|0;h=cD(a,1,11)|0;h=vi[c[(c[h>>2]|0)+36>>2]&2047](h)|0;f=c[h>>2]|0;b=c[h+4>>2]|0;d=+g[h+12>>2];c[e+16>>2]=0;c[e+12>>2]=0;if(!(XC(f,e+16|0)|0)){h=PGa(a,345239,e)|0;i=e;return h|0}if(XC(b,e+12|0)|0){LDa(a,c[e+16>>2]|0);LDa(a,c[e+12>>2]|0);IDa(a,d);h=3;i=e;return h|0}else{h=PGa(a,345239,e+8|0)|0;i=e;return h|0}return 0}function hD(a){a=a|0;var b=0,d=0,e=0,f=0;f=i;i=i+32|0;b=cD(a,1,11)|0;c[f+16>>2]=0;c[f+16+4>>2]=0;d=UGa(a,2,0)|0;e=TGa(a,3,d,0)|0;if(!(YC(d,f+16|0)|0)){c[f>>2]=d;a=PGa(a,345268,f)|0;i=f;return a|0}if(YC(e,f+16+4|0)|0){gs(a,Xi[c[(c[b>>2]|0)+40>>2]&511](b,f+16|0)|0);a=1;i=f;return a|0}else{c[f+8>>2]=e;a=PGa(a,345290,f+8|0)|0;i=f;return a|0}return 0}function iD(a){a=a|0;var b=0,d=0,e=0;d=i;i=i+32|0;b=cD(a,1,11)|0;b=vi[c[(c[b>>2]|0)+44>>2]&2047](b)|0;e=c[b>>2]|0;b=c[b+4>>2]|0;c[d+16>>2]=0;c[d+12>>2]=0;if(!(ZC(e,d+16|0)|0)){e=PGa(a,345312,d)|0;i=d;return e|0}if(ZC(b,d+12|0)|0){LDa(a,c[d+16>>2]|0);LDa(a,c[d+12>>2]|0);e=2;i=d;return e|0}else{e=PGa(a,345312,d+8|0)|0;i=d;return e|0}return 0}function jD(a,b){a=a|0;b=b|0;return cD(a,b,11)|0}function kD(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=15104;c[b+4>>2]=0;a=xs(a,11,345331,b)|0;i=b;return a|0}function lD(a){a=a|0;var b=0,d=0;c[a>>2]=15176;b=c[a+24>>2]|0;if(!b)return;d=c[a+28>>2]|0;if((d|0)!=(b|0))c[a+28>>2]=d+(~((d+-16-b|0)>>>4)<<4);oAb(b);return}function mD(a){a=a|0;var b=0,d=0;c[a>>2]=15176;b=c[a+24>>2]|0;if(!b){oAb(a);return}d=c[a+28>>2]|0;if((d|0)!=(b|0))c[a+28>>2]=d+(~((d+-16-b|0)>>>4)<<4);oAb(b);oAb(a);return}function nD(a){a=a|0;return c[a+16>>2]|0}function oD(a){a=a|0;return c[a+20>>2]|0}function pD(){qD(626540,15200,296);return}function qD(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;a[b+8>>0]=0;a[b+20>>0]=0;a[b+32>>0]=0;a[b+44>>0]=0;a[b+56>>0]=0;a[b+68>>0]=0;a[b+80>>0]=0;a[b+92>>0]=0;a[b+104>>0]=0;a[b+116>>0]=0;a[b+128>>0]=0;a[b+140>>0]=0;a[b+152>>0]=0;a[b+164>>0]=0;a[b+176>>0]=0;a[b+188>>0]=0;a[b+200>>0]=0;a[b+212>>0]=0;a[b+224>>0]=0;a[b+236>>0]=0;a[b+248>>0]=0;a[b+260>>0]=0;a[b+272>>0]=0;a[b+284>>0]=0;a[b+296>>0]=0;a[b+308>>0]=0;a[b+320>>0]=0;a[b+332>>0]=0;a[b+344>>0]=0;a[b+356>>0]=0;a[b+368>>0]=0;a[b+380>>0]=0;a[b+392>>0]=0;a[b+404>>0]=0;a[b+416>>0]=0;a[b+428>>0]=0;a[b+440>>0]=0;a[b+452>>0]=0;a[b+464>>0]=0;a[b+476>>0]=0;a[b+488>>0]=0;a[b+500>>0]=0;a[b+512>>0]=0;a[b+524>>0]=0;a[b+536>>0]=0;a[b+548>>0]=0;a[b+560>>0]=0;a[b+572>>0]=0;a[b+584>>0]=0;a[b+596>>0]=0;a[b+608>>0]=0;a[b+620>>0]=0;a[b+632>>0]=0;a[b+644>>0]=0;a[b+656>>0]=0;a[b+668>>0]=0;a[b+680>>0]=0;a[b+692>>0]=0;a[b+704>>0]=0;a[b+716>>0]=0;a[b+728>>0]=0;a[b+740>>0]=0;a[b+752>>0]=0;a[b+764>>0]=0;a[b+776>>0]=0;a[b+788>>0]=0;a[b+800>>0]=0;a[b+812>>0]=0;a[b+824>>0]=0;a[b+836>>0]=0;a[b+848>>0]=0;a[b+860>>0]=0;a[b+872>>0]=0;a[b+884>>0]=0;hBb(b+888|0,0,148)|0;if(!(e>>>3)){i=n;return}else l=0;do{j=c[d+(l<<3)>>2]|0;k=c[d+(l<<3)+4>>2]|0;f=a[j>>0]|0;if(!(f<<24>>24))g=5381;else{h=j;g=5381;do{h=h+1|0;g=(g*33|0)+(f<<24>>24)|0;f=a[h>>0]|0}while(f<<24>>24!=0)}h=0;do{f=((h+g|0)>>>0)%74|0;h=h+1|0;if(!(a[b+(f*12|0)+8>>0]|0)){m=8;break}}while(h>>>0<74);if((m|0)==8){m=0;a[b+(f*12|0)+8>>0]=1;c[b+(f*12|0)>>2]=j;c[b+(f*12|0)+4>>2]=k}if(k>>>0>36){c[n>>2]=j;c[n+4>>2]=k;vpb(441068,n)|0}else c[b+888+(k<<2)>>2]=j;l=l+1|0}while((l|0)!=(e>>>3|0));i=n;return}function rD(b){b=b|0;Jj(b);c[b>>2]=15176;c[b+8>>2]=0;a[b+12>>0]=0;c[b+16>>2]=0;c[b+16+4>>2]=0;c[b+16+8>>2]=0;c[b+16+12>>2]=0;c[b+16+16>>2]=0;return}function sD(a){a=a|0;return (c[a+28>>2]|0)-(c[a+24>>2]|0)>>4|0}function tD(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;if((b|0)>=0){d=c[a+24>>2]|0;if(((c[a+28>>2]|0)-d>>4|0)>(b|0)){i=e;return c[d+(b<<4)+8>>2]|0}}a=nf(16)|0;c[e>>2]=b+1;ds(a,345637,e);zc(a|0,96,27);return 0}function uD(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;if((b|0)>=0){d=c[a+24>>2]|0;if(((c[a+28>>2]|0)-d>>4|0)>(b|0)){i=e;return c[d+(b<<4)+12>>2]|0}}a=nf(16)|0;c[e>>2]=b+1;ds(a,345637,e);zc(a|0,96,27);return 0}function vD(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;if((b|0)>=0){d=c[a+24>>2]|0;if(((c[a+28>>2]|0)-d>>4|0)>(b|0)){i=e;return c[d+(b<<4)>>2]|0}}a=nf(16)|0;c[e>>2]=b+1;ds(a,345637,e);zc(a|0,96,27);return 0}function wD(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;if((b|0)>=0){d=c[a+24>>2]|0;if(((c[a+28>>2]|0)-d>>4|0)>(b|0)){i=e;return c[d+(b<<4)+4>>2]|0}}a=nf(16)|0;c[e>>2]=b+1;ds(a,345637,e);zc(a|0,96,27);return 0}function xD(a){a=a|0;return c[a+8>>2]|0}function yD(a,b){a=a|0;b=b|0;if(a>>>0>36)a=0;else{a=c[627428+(a<<2)>>2]|0;if(!a)a=0;else{c[b>>2]=a;a=1}}return a|0}function zD(a,b){a=a|0;b=b|0;return AD(a,b,23)|0}function AD(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((qDa(a,b)|0)!=7){c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0}e=EDa(a,b)|0;if(c[(c[155773]|0)+(c[e>>2]<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0){d=e+4|0;d=c[d>>2]|0;i=f;return d|0}c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0;d=e+4|0;d=c[d>>2]|0;i=f;return d|0}function BD(a){a=a|0;var b=0;b=AD(a,1,23)|0;JDa(a,vD(b,~~+$Ga(a,2,1.0)+-1|0)|0);return 1}function CD(a){a=a|0;var b=0;b=AD(a,1,23)|0;JDa(a,wD(b,~~+$Ga(a,2,1.0)+-1|0)|0);return 1}function DD(a){a=a|0;var b=0,c=0,d=0;d=AD(a,1,23)|0;b=~~+$Ga(a,2,1.0)+-1|0;c=vD(d,b)|0;b=wD(d,b)|0;JDa(a,c);JDa(a,b);return 2}function ED(a){a=a|0;JDa(a,sD(AD(a,1,23)|0)|0);return 1}function FD(a){a=a|0;var b=0;b=i;i=i+16|0;if(yD(xD(AD(a,1,23)|0)|0,b)|0){LDa(a,c[b>>2]|0);i=b;return 1}else{LDa(a,439634);i=b;return 1}return 0}function GD(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=12068;c[b+4>>2]=15496;c[b+8>>2]=0;a=xs(a,23,345668,b)|0;i=b;return a|0}function HD(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;g=i;i=i+16|0;if(!(tDa(a,1)|0)){e=Ku(a,1)|0;f=c[155677]|0;f=Xi[c[(c[f>>2]|0)+24>>2]&511](f,e)|0;Hi[c[(c[e>>2]|0)+12>>2]&1023](e);Gs(a,22,f);Hi[c[(c[f>>2]|0)+12>>2]&1023](f);f=1;i=g;return f|0}b=~~+_Ga(a,1);d=~~+_Ga(a,2);if((b|0)<1|(d|0)<1){f=PGa(a,345703,g)|0;i=g;return f|0}c[g+12>>2]=0;if((qDa(a,3)|0)<1)e=0;else e=UGa(a,3,g+12|0)|0;h=c[155677]|0;b=Gi[c[(c[h>>2]|0)+28>>2]&255](h,b,d)|0;do if(!e)f=10;else{h=c[g+12>>2]|0;if((h|0)==(vi[c[(c[b>>2]|0)+20>>2]&2047](b)|0)){f=vi[c[(c[b>>2]|0)+16>>2]&2047](b)|0;mBb(f|0,e|0,vi[c[(c[b>>2]|0)+20>>2]&2047](b)|0)|0;f=10;break}else{Hi[c[(c[b>>2]|0)+12>>2]&1023](b);b=PGa(a,345723,g+8|0)|0;break}}while(0);if((f|0)==10){Gs(a,22,b);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);b=1}h=b;i=g;return h|0}function ID(a){a=a|0;var b=0,d=0;d=Ku(a,1)|0;b=c[155677]|0;b=Xi[c[(c[b>>2]|0)+36>>2]&511](b,d)|0;Hi[c[(c[d>>2]|0)+12>>2]&1023](d);Gs(a,23,b);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);return 1}function JD(a){a=a|0;var b=0,d=0;d=Ku(a,1)|0;b=c[155677]|0;b=Xi[c[(c[b>>2]|0)+40>>2]&511](b,d)|0;Hi[c[(c[d>>2]|0)+12>>2]&1023](d);gs(a,b);return 1}function KD(a){a=a|0;var b=0,d=0;d=i;i=i+32|0;b=c[155677]|0;if(!b){b=YAb(32)|0;Sga(b)}else Hi[c[(c[b>>2]|0)+8>>2]&1023](b);c[d>>2]=b;c[d+4>>2]=435893;c[d+8>>2]=58;c[d+12>>2]=15544;c[d+16>>2]=15576;a=qs(a,d)|0;i=d;return a|0}function LD(a,b){a=a|0;b=b|0;return Qk(a,b,22)|0}function MD(a){a=a|0;JDa(a,Xha(Qk(a,1,22)|0)|0);return 1}function ND(a){a=a|0;JDa(a,Yha(Qk(a,1,22)|0)|0);return 1}function OD(a){a=a|0;var b=0;b=Qk(a,1,22)|0;JDa(a,Xha(b)|0);JDa(a,Yha(b)|0);return 2}function PD(a){a=a|0;var b=0,d=0,e=0;b=i;i=i+16|0;e=Qk(a,1,22)|0;d=~~+_Ga(a,2);aia(b,e,d,~~+_Ga(a,3));d=c[b>>2]|0;IDa(a,+(d&255));IDa(a,+(d>>>8&255));IDa(a,+(d>>>16&255));IDa(a,+(d>>>24&255));i=b;return 4}function QD(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0;k=i;i=i+16|0;d=Qk(b,1,22)|0;e=~~+_Ga(b,2);f=~~+_Ga(b,3);if((qDa(b,4)|0)==5){VDa(b,4,1);VDa(b,4,2);VDa(b,4,3);VDa(b,4,4);g=aHa(b,-4)|0;h=aHa(b,-3)|0;j=aHa(b,-2)|0;l=bHa(b,-1,255)|0;lDa(b,-5);b=l}else{g=aHa(b,4)|0;h=aHa(b,5)|0;j=aHa(b,6)|0;b=bHa(b,7,255)|0}c[k>>2]=j<<16&16711680|b<<24|h<<8&65280|g&255;a[k+4>>0]=a[k>>0]|0;a[k+4+1>>0]=a[k+1>>0]|0;a[k+4+2>>0]=a[k+2>>0]|0;a[k+4+3>>0]=a[k+3>>0]|0;_ha(d,e,f,k+4|0);i=k;return 0}function RD(b){b=b|0;var e=0,f=0,g=0,h=0.0,j=0,k=0.0,l=0.0,m=0,n=0,o=0,p=0;p=i;i=i+48|0;e=Qk(b,1,22)|0;YGa(b,2,6);g=~~+yDa(b,3);j=~~+yDa(b,4);k=+yDa(b,5);l=+yDa(b,6);if(!(Zha(e,g,j)|0)){o=PGa(b,434347,p)|0;i=p;return o|0}if(!(Zha(e,~~k+g+-1|0,~~l+j+-1|0)|0)){o=PGa(b,434347,p)|0;i=p;return o|0}if((~~l|0)<=0){o=0;i=p;return o|0}if((~~k|0)<=0){o=0;i=p;return o|0}n=j;a:while(1){h=+(n|0);m=g;do{pDa(b,2);IDa(b,+(m|0));IDa(b,h);aia(p+20|0,e,m,n);IDa(b,+(d[p+20>>0]|0));IDa(b,+(d[p+20+1>>0]|0));IDa(b,+(d[p+20+2>>0]|0));IDa(b,+(d[p+20+3>>0]|0));dEa(b,6,4);f=qDa(b,-4)|0;if((f|0)!=3){g=1;break a}a[p+20>>0]=~~+yDa(b,-4);f=qDa(b,-3)|0;if((f|0)!=3){g=2;break a}a[p+20+1>>0]=~~+yDa(b,-3);f=qDa(b,-2)|0;if((f|0)!=3){g=3;break a}a[p+20+2>>0]=~~+yDa(b,-2);f=qDa(b,-1)|0;switch(f|0){case 3:{a[p+20+3>>0]=~~+yDa(b,-1);break}case 0:case -1:{a[p+20+3>>0]=-1;break}default:{g=4;break a}}lDa(b,-5);c[p+24>>2]=c[p+20>>2];a[p+28>>0]=a[p+24>>0]|0;a[p+28+1>>0]=a[p+24+1>>0]|0;a[p+28+2>>0]=a[p+24+2>>0]|0;a[p+28+3>>0]=a[p+24+3>>0]|0;$ha(e,m,n,p+28|0);m=m+1|0}while((m|0)<(~~k+g|0));n=n+1|0;if((n|0)>=(~~l+j|0)){e=0;o=14;break}}if((o|0)==14){i=p;return e|0}RGa(b,2);e=BDa(b,-1,0)|0;c[p+28>>2]=0;c[p+28+4>>2]=0;c[p+28+8>>2]=0;if(e|0)Rqb(p+28|0,e)|0;lDa(b,-2);n=(a[p+28>>0]&1)==0?p+28+1|0:c[p+28+8>>2]|0;Mqb(p+28|0);o=rDa(b,f)|0;c[p+8>>2]=n;c[p+8+4>>2]=g;c[p+8+8>>2]=o;o=PGa(b,345835,p+8|0)|0;i=p;return o|0}function SD(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;h=Qk(a,1,22)|0;b=Qk(a,2,22)|0;g=~~+_Ga(a,3);f=~~+_Ga(a,4);e=~~+$Ga(a,5,0.0);d=~~+$Ga(a,6,0.0);c=~~+$Ga(a,7,+(Xha(b)|0));bia(h,b,g,f,e,d,c,~~+$Ga(a,8,+(Yha(b)|0)));return 0}function TD(b){b=b|0;var d=0,e=0,f=0;f=i;i=i+48|0;e=Qk(b,1,22)|0;d=UGa(b,2,0)|0;if(!(dia(d,f+40|0)|0)){c[f>>2]=d;b=PGa(b,345884,f)|0;i=f;return b|0}Iqb(f+16|0,d,rnb(d)|0);d=Zqb(f+16|0,0,345919)|0;c[f+28>>2]=c[d>>2];c[f+28+4>>2]=c[d+4>>2];c[f+28+8>>2]=c[d+8>>2];c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;Mqb(f+16|0);if((qDa(b,3)|0)<1)d=0;else{js(f+4|0,b,3);if(!(a[f+28>>0]&1)){a[f+28+1>>0]=0;a[f+28>>0]=0}else{a[c[f+28+8>>2]>>0]=0;c[f+28+4>>2]=0}Qqb(f+28|0,0);c[f+28>>2]=c[f+4>>2];c[f+28+4>>2]=c[f+4+4>>2];c[f+28+8>>2]=c[f+4+8>>2];c[f+4>>2]=0;c[f+4+4>>2]=0;c[f+4+8>>2]=0;Mqb(f+4|0);d=1}e=Gi[c[(c[e>>2]|0)+24>>2]&255](e,c[f+40>>2]|0,(a[f+28>>0]&1)==0?f+28+1|0:c[f+28+8>>2]|0)|0;Gs(b,7,e);Hi[c[(c[e>>2]|0)+12>>2]&1023](e);if(d){Is(b,352526,518848)|0;pDa(b,3);pDa(b,-3);dEa(b,2,0)}Mqb(f+28|0);b=1;i=f;return b|0}function UD(a){a=a|0;var b=0,c=0;b=i;i=i+16|0;QO(b,cia(Qk(a,1,22)|0)|0);c=eEa(a,(kDa(a)|0)+-2|0,-1,0)|0;SO(b);if(!c){c=(kDa(a)|0)+-1|0;i=b;return c|0}else{c=kEa(a)|0;i=b;return c|0}return 0}function VD(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;c[d>>2]=12068;c[d+4>>2]=15588;c[d+8>>2]=0;b=xs(a,22,345926,d)|0;Cs(a,22);if((qDa(a,-1)|0)!=5){lDa(a,-2);i=d;return b|0}sHa(a,346006,6366,352372)|0;pDa(a,-2);QDa(a,15668);dEa(a,2,0);lDa(a,-2);i=d;return b|0}function WD(a){a=a|0;a=cia(c[a+4>>2]|0)|0;Hi[c[(c[a>>2]|0)+8>>2]&1023](a);return}function XD(a){a=a|0;a=cia(c[a+4>>2]|0)|0;Hi[c[(c[a>>2]|0)+12>>2]&1023](a);return}function YD(a){a=a|0;var b=0,d=0,e=0;b=c[155678]|0;b=vi[c[(c[b>>2]|0)+44>>2]&2047](b)|0;WDa(a,b,0);if((b|0)>0)d=0;else return 1;do{e=c[155678]|0;Gs(a,24,Xi[c[(c[e>>2]|0)+36>>2]&511](e,d)|0);d=d+1|0;aEa(a,-2,d)}while((d|0)!=(b|0));return 1}function ZD(a){a=a|0;var b=0,d=0;b=zja(a,1)|0;d=c[155678]|0;b=Xi[c[(c[d>>2]|0)+40>>2]&511](d,b)|0;if((b|0)>-1){JDa(a,b+1|0);return 1}else{HDa(a);return 1}return 0}function _D(a){a=a|0;var b=0;b=c[155678]|0;JDa(a,vi[c[(c[b>>2]|0)+44>>2]&2047](b)|0);return 1}function $D(a){a=a|0;var b=0,d=0,e=0,f=0;e=i;i=i+96|0;d=UGa(a,1,0)|0;b=UGa(a,2,0)|0;do if(tja(b,e+4|0)|0)c[e>>2]=0;else{if(vja(b,e+4|0)|0){c[e>>2]=1;break}c[e+16>>2]=b;a=PGa(a,352386,e+16|0)|0;i=e;return a|0}while(0);b=UGa(a,3,0)|0;a:do if(xja(b,e+44|0)|0){switch(c[e+44>>2]|0){case 0:{c[e+44+4>>2]=~~+_Ga(a,4)+-1;break}case 1:{c[e+44+4>>2]=~~+_Ga(a,4)+-1;break}case 2:{c[e+44+4>>2]=~~+_Ga(a,4)+-1;b=UGa(a,5,0)|0;if(!(rja(b,e+44+8|0)|0)){c[e+32>>2]=b;b=PGa(a,352450,e+32|0)|0;break a}break}default:{c[e+40>>2]=b;b=PGa(a,352418,e+40|0)|0;break a}}b=c[155678]|0;f=c[(c[b>>2]|0)+48>>2]|0;Iqb(e+56|0,d,rnb(d)|0);d=c[e+4>>2]|0;c[e+8>>2]=c[e>>2];c[e+8+4>>2]=d;c[e+72>>2]=c[e+8>>2];c[e+72+4>>2]=c[e+8+4>>2];c[e+80>>2]=c[e+44>>2];c[e+80+4>>2]=c[e+44+4>>2];c[e+80+8>>2]=c[e+44+8>>2];b=cj[f&127](b,e+56|0,e+72|0,e+80|0)|0;Mqb(e+56|0);gs(a,b);b=1}else{c[e+24>>2]=b;b=PGa(a,352418,e+24|0)|0}while(0);f=b;i=e;return f|0}function aE(b){b=b|0;var d=0,e=0,f=0,g=0;g=i;i=i+96|0;c[g+60>>2]=0;c[g+60+4>>2]=0;c[g+60+8>>2]=0;if((qDa(b,1)|0)==4){js(g+48|0,b,1);if(!(a[g+60>>0]&1)){a[g+60+1>>0]=0;a[g+60>>0]=0}else{a[c[g+60+8>>2]>>0]=0;c[g+60+4>>2]=0}Qqb(g+60|0,0);c[g+60>>2]=c[g+48>>2];c[g+60+4>>2]=c[g+48+4>>2];c[g+60+8>>2]=c[g+48+8>>2];c[g+48>>2]=0;c[g+48+4>>2]=0;c[g+48+8>>2]=0;Mqb(g+48|0)}else{f=zja(b,1)|0;si[c[(c[f>>2]|0)+80>>2]&511](g+36|0,f);if(!(a[g+60>>0]&1)){a[g+60+1>>0]=0;a[g+60>>0]=0}else{a[c[g+60+8>>2]>>0]=0;c[g+60+4>>2]=0}Qqb(g+60|0,0);c[g+60>>2]=c[g+36>>2];c[g+60+4>>2]=c[g+36+4>>2];c[g+60+8>>2]=c[g+36+8>>2];c[g+36>>2]=0;c[g+36+4>>2]=0;c[g+36+8>>2]=0;Mqb(g+36|0)}d=UGa(b,2,0)|0;do if(tja(d,g+4|0)|0)c[g>>2]=0;else{if(vja(d,g+4|0)|0){c[g>>2]=1;break}c[g+16>>2]=d;b=PGa(b,352386,g+16|0)|0;Mqb(g+60|0);i=g;return b|0}while(0);d=c[155678]|0;e=c[(c[d>>2]|0)+52>>2]|0;f=c[g+4>>2]|0;c[g+8>>2]=c[g>>2];c[g+8+4>>2]=f;c[g+88>>2]=c[g+8>>2];c[g+88+4>>2]=c[g+8+4>>2];kj[e&127](g+72|0,d,g+60|0,g+88|0);d=c[g+72>>2]|0;e=c[g+72+4>>2]|0;f=c[g+72+8>>2]|0;if((d|0)==3){b=0;Mqb(g+60|0);i=g;return b|0}if(yja(d,g+88|0)|0){LDa(b,c[g+88>>2]|0);a:do switch(d|0){case 0:{JDa(b,e+1|0);d=2;break}case 1:{JDa(b,e+1|0);d=2;break}case 2:{JDa(b,e+1|0);if(sja(f,g+72|0)|0){LDa(b,c[g+72>>2]|0);d=3;break a}else{d=PGa(b,352504,g+32|0)|0;break a}}default:d=1}while(0)}else d=PGa(b,352475,g+24|0)|0;b=d;Mqb(g+60|0);i=g;return b|0}function bE(b){b=b|0;var d=0,e=0;d=i;i=i+48|0;c[d+24>>2]=0;c[d+24+4>>2]=0;c[d+24+8>>2]=0;if(uDa(b,1)|0){pDa(b,1);Js(b,-1,352526,352537)|0;e=fs(b,-1)|0;lDa(b,-2);if(!e){js(d,b,1);if(!(a[d+24>>0]&1)){a[d+24+1>>0]=0;a[d+24>>0]=0}else{a[c[d+24+8>>2]>>0]=0;c[d+24+4>>2]=0}Qqb(d+24|0,0);c[d+24>>2]=c[d>>2];c[d+24+4>>2]=c[d+4>>2];c[d+24+8>>2]=c[d+8>>2];c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;Mqb(d);e=c[155678]|0;b=c[e>>2]|0;b=b+56|0;b=c[b>>2]|0;si[b&511](e,d+24|0);Mqb(d+24|0);i=d;return 0}}b=Ku(b,1)|0;e=vi[c[(c[b>>2]|0)+16>>2]&2047](b)|0;Iqb(d+12|0,e,vi[c[(c[b>>2]|0)+20>>2]&2047](b)|0);if(!(a[d+24>>0]&1)){a[d+24+1>>0]=0;a[d+24>>0]=0}else{a[c[d+24+8>>2]>>0]=0;c[d+24+4>>2]=0}Qqb(d+24|0,0);c[d+24>>2]=c[d+12>>2];c[d+24+4>>2]=c[d+12+4>>2];c[d+24+8>>2]=c[d+12+8>>2];c[d+12>>2]=0;c[d+12+4>>2]=0;c[d+12+8>>2]=0;Mqb(d+12|0);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);e=c[155678]|0;b=c[e>>2]|0;b=b+56|0;b=c[b>>2]|0;si[b&511](e,d+24|0);Mqb(d+24|0);i=d;return 0}function cE(a){a=a|0;var b=0,d=0;b=i;i=i+32|0;lDa(a,1);d=c[155678]|0;si[c[(c[d>>2]|0)+60>>2]&511](b+8|0,d);if((qDa(a,1)|0)>=1){ks(a,b+8|0);c[b>>2]=1;c[b+4>>2]=2;Ks(a,b,2,352526,518848)|0;lDa(a,-2)}ks(a,b+8|0);Mqb(b+8|0);i=b;return 1}function dE(a){a=a|0;var b=0,d=0;d=i;i=i+32|0;b=c[155678]|0;if(!b){b=YAb(44)|0;kja(b)}else Hi[c[(c[b>>2]|0)+8>>2]&1023](b);c[d>>2]=b;c[d+4>>2]=352544;c[d+8>>2]=3;c[d+12>>2]=15676;c[d+16>>2]=15732;a=qs(a,d)|0;i=d;return a|0}function eE(a){a=a|0;var b=0,d=0;b=c[155679]|0;d=c[(c[b>>2]|0)+24>>2]|0;a=fs(a,1)|0;si[d&511](b,a);return 0}function fE(a){a=a|0;var b=0;b=c[155679]|0;gs(a,vi[c[(c[b>>2]|0)+28>>2]&2047](b)|0);return 1}function gE(a){a=a|0;var b=0,d=0,e=0,f=0;f=i;i=i+16|0;b=kDa(a)|0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;if(b|0){e=YAb(b<<2)|0;c[f>>2]=e;c[f+4>>2]=e;c[f+8>>2]=e+(b<<2);if((b|0)>0){e=0;do{e=e+1|0;do if(kka(UGa(a,e,0)|0,f+12|0)|0){d=c[f+4>>2]|0;if((d|0)==(c[f+8>>2]|0)){hE(f,f+12|0);break}else{c[d>>2]=c[f+12>>2];c[f+4>>2]=d+4;break}}while(0)}while((e|0)<(b|0))}}b=c[155679]|0;gs(a,Xi[c[(c[b>>2]|0)+32>>2]&511](b,f)|0);b=c[f>>2]|0;if(!b){i=f;return 1}d=c[f+4>>2]|0;if((d|0)!=(b|0))c[f+4>>2]=d+(~((d+-4-b|0)>>>2)<<2);oAb(b);i=f;return 1}function hE(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=c[a>>2]|0;d=((c[a+4>>2]|0)-j>>2)+1|0;if(d>>>0>1073741823)jzb(a);e=(c[a+8>>2]|0)-j|0;if(e>>2>>>0<536870911){d=e>>1>>>0>>0?d:e>>1;f=c[a+4>>2]|0;if(!d){i=0;g=0;e=f-j>>2;d=f}else{h=f;e=f-j>>2;k=6}}else{e=c[a+4>>2]|0;d=1073741823;h=e;e=e-j>>2;k=6}if((k|0)==6){i=d;g=YAb(d<<2)|0;d=h}k=g+(e<<2)|0;c[k>>2]=c[b>>2];b=d-j|0;mBb(k+(0-(b>>2)<<2)|0,j|0,b|0)|0;c[a>>2]=k+(0-(b>>2)<<2);c[a+4>>2]=k+4;c[a+8>>2]=g+(i<<2);if(!j)return;oAb(j);return}function iE(a){a=a|0;var b=0,d=0,e=0,f=0;f=i;i=i+16|0;b=kDa(a)|0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;if(b|0){e=YAb(b<<2)|0;c[f>>2]=e;c[f+4>>2]=e;c[f+8>>2]=e+(b<<2);if((b|0)>0){e=0;do{e=e+1|0;do if(mka(UGa(a,e,0)|0,f+12|0)|0){d=c[f+4>>2]|0;if((d|0)==(c[f+8>>2]|0)){jE(f,f+12|0);break}else{c[d>>2]=c[f+12>>2];c[f+4>>2]=d+4;break}}while(0)}while((e|0)<(b|0))}}b=c[155679]|0;gs(a,Xi[c[(c[b>>2]|0)+36>>2]&511](b,f)|0);b=c[f>>2]|0;if(!b){i=f;return 1}d=c[f+4>>2]|0;if((d|0)!=(b|0))c[f+4>>2]=d+(~((d+-4-b|0)>>>2)<<2);oAb(b);i=f;return 1}function jE(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=c[a>>2]|0;d=((c[a+4>>2]|0)-j>>2)+1|0;if(d>>>0>1073741823)jzb(a);e=(c[a+8>>2]|0)-j|0;if(e>>2>>>0<536870911){d=e>>1>>>0>>0?d:e>>1;f=c[a+4>>2]|0;if(!d){i=0;g=0;e=f-j>>2;d=f}else{h=f;e=f-j>>2;k=6}}else{e=c[a+4>>2]|0;d=1073741823;h=e;e=e-j>>2;k=6}if((k|0)==6){i=d;g=YAb(d<<2)|0;d=h}k=g+(e<<2)|0;c[k>>2]=c[b>>2];b=d-j|0;mBb(k+(0-(b>>2)<<2)|0,j|0,b|0)|0;c[a>>2]=k+(0-(b>>2)<<2);c[a+4>>2]=k+4;c[a+8>>2]=g+(i<<2);if(!j)return;oAb(j);return}function kE(a){a=a|0;var b=0,d=0;d=i;i=i+32|0;b=UGa(a,1,0)|0;if(!(kka(b,d+16|0)|0)){c[d>>2]=b;a=PGa(a,352641,d)|0;i=d;return a|0}b=c[155679]|0;if(nka(Xi[c[(c[b>>2]|0)+44>>2]&511](b,c[d+16>>2]|0)|0,d+12|0)|0){LDa(a,c[d+12>>2]|0);b=1}else b=PGa(a,352666,d+8|0)|0;a=b;i=d;return a|0}function lE(a){a=a|0;var b=0,d=0;d=i;i=i+32|0;b=UGa(a,1,0)|0;if(!(mka(b,d+16|0)|0)){c[d>>2]=b;a=PGa(a,352684,d)|0;i=d;return a|0}b=c[155679]|0;if(lka(Xi[c[(c[b>>2]|0)+40>>2]&511](b,c[d+16>>2]|0)|0,d+12|0)|0){LDa(a,c[d+12>>2]|0);b=1}else b=PGa(a,352705,d+8|0)|0;a=b;i=d;return a|0}function mE(a){a=a|0;var b=0,d=0.0,e=0.0,f=0.0,g=0.0;b=fs(a,1)|0;if((kDa(a)|0)<2){a=c[155679]|0;si[c[(c[a>>2]|0)+48>>2]&511](a,b);return 0}else{g=+_Ga(a,2);f=+_Ga(a,3);e=+_Ga(a,4);d=+_Ga(a,5);a=c[155679]|0;Ai[c[(c[a>>2]|0)+52>>2]&1](a,b,g,f,e,d);return 0}return 0}function nE(a){a=a|0;var b=0;b=c[155679]|0;gs(a,vi[c[(c[b>>2]|0)+56>>2]&2047](b)|0);return 1}function oE(a){a=a|0;var b=0;b=c[155679]|0;gs(a,vi[c[(c[b>>2]|0)+60>>2]&2047](b)|0);return 1}function pE(a){a=a|0;var b=0,d=0;d=i;i=i+32|0;b=c[155679]|0;if(!b){b=YAb(12)|0;hka(b)}else Hi[c[(c[b>>2]|0)+8>>2]&1023](b);c[d>>2]=b;c[d+4>>2]=352726;c[d+8>>2]=3;c[d+12>>2]=15740;c[d+16>>2]=0;a=qs(a,d)|0;i=d;return a|0}function qE(a){a=a|0;c[a>>2]=15828;a=c[a+12>>2]|0;if(!a)return;aBb(a);return}function rE(a){a=a|0;var b=0;c[a>>2]=15828;b=c[a+12>>2]|0;if(!b){oAb(a);return}aBb(b);oAb(a);return}function sE(a){a=a|0;return c[a+12>>2]|0}function tE(a){a=a|0;return c[a+16>>2]|0}function uE(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;Jj(a);c[a>>2]=15828;c[a+8>>2]=b;c[a+12>>2]=0;c[a+16>>2]=e;c[a+20>>2]=f;if(g){c[a+12>>2]=d;return}else{f=_Ab(e)|0;c[a+12>>2]=f;mBb(f|0,d|0,e|0)|0;return}}function vE(a){a=a|0;return c[a+8>>2]|0}function wE(a){a=a|0;return c[a+20>>2]|0}function xE(){a[627584]=0;a[627596]=0;a[627608]=0;a[627620]=0;a[627632]=0;a[627644]=0;c[156912]=0;c[156913]=0;c[156914]=0;yE(627576,352887,0)|0;yE(627576,352891,1)|0;yE(627576,352896,2)|0;return}function yE(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;f=a[d>>0]|0;if(!(f<<24>>24))g=5381;else{h=d;g=5381;do{h=h+1|0;g=(g*33|0)+(f<<24>>24)|0;f=a[h>>0]|0}while(f<<24>>24!=0)}f=(g>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+1|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+2|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+3|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+4|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+5|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else f=0}}}}}if((j|0)==5){a[f>>0]=1;c[b+(g*12|0)>>2]=d;c[b+(g*12|0)+4>>2]=e;f=1}if(e>>>0>2){c[k>>2]=d;c[k+4>>2]=e;vpb(441068,k)|0;j=0;i=k;return j|0}else{c[b+72+(e<<2)>>2]=d;j=f;i=k;return j|0}return 0}function zE(b){b=b|0;var d=0,e=0;if(!(a[621056]|0))if(se(621056)|0){c[156915]=15860;fd(621056)}if(!(a[621064]|0))if(se(621064)|0){c[156916]=15888;fd(621064)}d=c[74]|0;e=c[75]|0;if(Xi[c[(c[d>>2]|0)+16>>2]&511](d,b)|0){b=d;return b|0}b=Xi[c[(c[e>>2]|0)+16>>2]&511](e,b)|0;b=b?e:0;return b|0}function AE(a){a=a|0;return}function BE(a){a=a|0;oAb(a);return}function CE(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0;k=i;i=i+32|0;if(b|0){g=nf(16)|0;ds(g,352954,k);zc(g|0,96,27)}if(e>>>0>2113929216){g=nf(16)|0;ds(g,352985,k+8|0);zc(g|0,96,27)}h=WY(e)|0;j=_Ab(h+4|0)|0;c[j>>2]=e;if((f|0)>8)a=LZ(d,j+4|0,e,h,0)|0;else a=rZ(d,j+4|0,e,h)|0;if((a|0)<1){aBb(j);g=nf(16)|0;ds(g,353023,k+16|0);zc(g|0,96,27)}b=a+4|0;if(!(+((h+4|0)>>>0)/+(b>>>0)>=1.2)){c[g>>2]=b;i=k;return j|0}a=$Ab(b,1279071)|0;if(!a){c[g>>2]=b;i=k;return j|0}mBb(a|0,j|0,b|0)|0;aBb(j);j=a;c[g>>2]=b;i=k;return j|0}function DE(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=i;i=i+32|0;if(b|0){f=nf(16)|0;ds(f,352954,g);zc(f|0,96,27)}if(e>>>0<4){f=nf(16)|0;ds(f,353052,g+8|0);zc(f|0,96,27)}a=c[d>>2]|0;b=_Ab(a)|0;h=c[f>>2]|0;if((h|0)!=0&(h|0)==(a|0))if((vZ(d+4|0,b,a)|0)<0){aBb(b);h=nf(16)|0;ds(h,353086,g+16|0);zc(h|0,96,27)}else{i=g;return b|0}a=sZ(d+4|0,b,e+-4|0,a)|0;if((a|0)<0){aBb(b);h=nf(16)|0;ds(h,353086,g+24|0);zc(h|0,96,27)}c[f>>2]=a;i=g;return b|0}function EE(a,b){a=a|0;b=b|0;return (b|0)==0|0}function FE(a){a=a|0;oAb(a);return}function GE(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0;l=i;i=i+80|0;if(!(Xi[c[(c[a>>2]|0)+16>>2]&511](a,b)|0)){g=nf(16)|0;ds(g,353157,l);zc(g|0,96,27)}j=((b|0)==2?25:13)+e+(e>>>12)+(e>>>14)+(e>>>25)|0;k=_Ab(j)|0;a=(f|0)<0?-1:(f|0)>9?9:f;f=l+16|0;h=f+56|0;do{c[f>>2]=0;f=f+4|0}while((f|0)<(h|0));c[l+16>>2]=d;c[l+16+4>>2]=e;c[l+16+12>>2]=k;c[l+16+16>>2]=j;do if(!(elb(l+16|0,a,8,(b|0)==2?31:15,8,0,610771,56)|0)){if((mlb(l+16|0,4)|0)!=1){llb(l+16|0)|0;break}f=c[l+16+20>>2]|0;if(llb(l+16|0)|0){aBb(k);g=nf(16)|0;ds(g,353197,l+8|0);zc(g|0,96,27)}if(!(+(j>>>0)/+(f>>>0)>=1.3)){c[g>>2]=f;i=l;return k|0}a=$Ab(f,1279071)|0;if(!a){c[g>>2]=f;i=l;return k|0}mBb(a|0,k|0,f|0)|0;aBb(k);k=a;c[g>>2]=f;i=l;return k|0}while(0);aBb(k);g=nf(16)|0;ds(g,353197,l+8|0);zc(g|0,96,27);return 0}function HE(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0;k=i;i=i+80|0;if(!(Xi[c[(c[a>>2]|0)+16>>2]&511](a,b)|0)){j=nf(16)|0;ds(j,353157,k);zc(j|0,96,27)}h=c[f>>2]|0;h=(h|0)==0?e<<1:h;a:while(1){b=_Ab(h)|0;a=k+16|0;g=a+56|0;do{c[a>>2]=0;a=a+4|0}while((a|0)<(g|0));c[k+16>>2]=d;c[k+16+4>>2]=e;c[k+16+12>>2]=b;c[k+16+16>>2]=h;a=olb(k+16|0,47,610771,56)|0;b:do if(!a){a=qlb(k+16|0,4)|0;if((a|0)==1){a=c[k+16+20>>2]|0;g=slb(k+16|0)|0;j=11;break}slb(k+16|0)|0;switch(a|0){case 2:{j=10;break a}case -5:break;default:{g=a;a=h;j=11;break b}}if(!(c[k+16+4>>2]|0)){j=10;break a}}else{g=a;a=h;j=11}while(0);if((j|0)==11){j=0;switch(g|0){case 0:{j=14;break a}case -5:break;default:{j=12;break a}}}aBb(b);h=h<<1}if((j|0)==10){j=b;aBb(j);j=nf(16)|0;ds(j,353232,k+8|0);zc(j|0,96,27)}else if((j|0)==12){aBb(b);j=nf(16)|0;ds(j,353232,k+8|0);zc(j|0,96,27)}else if((j|0)==14){c[f>>2]=a;i=k;return b|0}return 0}function IE(a,b){a=a|0;b=b|0;return (b+-1|0)>>>0<2|0}function JE(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=a[b>>0]|0;if(!(e<<24>>24))f=5381;else{g=b;f=5381;do{g=g+1|0;f=(f*33|0)+(e<<24>>24)|0;e=a[g>>0]|0}while(e<<24>>24!=0)}j=0;while(1){i=((j+f|0)>>>0)%6|0;if(!(a[627576+(i*12|0)+8>>0]|0)){e=1;f=0;k=11;break}g=c[627576+(i*12|0)>>2]|0;h=a[g>>0]|0;a:do if(!(h<<24>>24)){e=b;k=8}else{e=b;while(1){l=a[e>>0]|0;if(!(l<<24>>24?h<<24>>24==l<<24>>24:0))break a;g=g+1|0;e=e+1|0;h=a[g>>0]|0;if(!(h<<24>>24)){k=8;break}}}while(0);if((k|0)==8){k=0;if(!(a[e>>0]|0)){k=9;break}}j=j+1|0;if(j>>>0>=6){e=0;f=0;k=11;break}}if((k|0)==9){c[d>>2]=c[627576+(i*12|0)+4>>2];k=1;l=1;l=k&l;return l|0}else if((k|0)==11){l=e&f;return l|0}return 0}function KE(a,b){a=a|0;b=b|0;if(a>>>0>2)a=0;else{a=c[627648+(a<<2)>>2]|0;if(!a)a=0;else{c[b>>2]=a;a=1}}return a|0}function LE(a){a=a|0;c[a>>2]=15916;wj(a);return}function ME(a){a=a|0;c[a>>2]=15916;wj(a);oAb(a);return}function NE(a){a=a|0;return 8}function OE(a){a=a|0;return 353298}function PE(){Jj(621072);c[155268]=15916;$E(621080);Hi[c[(c[155268]|0)+8>>2]&1023](621072);return}function QE(a){a=a|0;a=YAb(32)|0;$E(a);return a|0}function RE(a,b){a=a|0;b=b|0;a=YAb(20)|0;oka(a,b);return a|0}function SE(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0,j=0.0,k=0.0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0,B=0.0,C=0.0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;K=i;i=i+256|0;b=c[d+4>>2]|0;e=c[d>>2]|0;if(((b-e|0)/20|0)>>>0<3){J=nf(16)|0;ds(J,353308,K);zc(J|0,96,27)}if((b-e|0)==60){c[K+184>>2]=c[e>>2];c[K+184+4>>2]=c[e+4>>2];c[K+184+8>>2]=c[e+8>>2];c[K+184+12>>2]=c[e+12>>2];c[K+184+16>>2]=c[e+16>>2];b=K+184+20|0;c[b>>2]=c[e+20>>2];c[b+4>>2]=c[e+20+4>>2];c[b+8>>2]=c[e+20+8>>2];c[b+12>>2]=c[e+20+12>>2];c[b+16>>2]=c[e+20+16>>2];b=K+184+40|0;c[b>>2]=c[e+40>>2];c[b+4>>2]=c[e+40+4>>2];c[b+8>>2]=c[e+40+8>>2];c[b+12>>2]=c[e+40+12>>2];c[b+16>>2]=c[e+40+16>>2];c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;b=YAb(60)|0;c[a>>2]=b;c[a+8>>2]=b+60;m=b;n=K+184|0;o=m+60|0;do{c[m>>2]=c[n>>2];m=m+4|0;n=n+4|0}while((m|0)<(o|0));c[a+4>>2]=b+60;i=K;return}c[K+172>>2]=0;J=K+172+4|0;c[J>>2]=0;c[K+172+8>>2]=0;do if((b|0)==(e|0)){m=e;f=b;h=b}else if(((b-e|0)/20|0)>>>0>1073741823)jzb(K+172|0);else{h=YAb(((b-e|0)/20|0)<<2)|0;c[K+172>>2]=h;c[K+172+8>>2]=h+(((b-e|0)/20|0)<<2);hBb(h|0,0,((b-e|0)/20|0)<<2|0)|0;c[J>>2]=h+(((b-e|0)/20|0)<<2);h=c[d>>2]|0;m=h;f=c[d+4>>2]|0;break}while(0);l=(f-h|0)/20|0;c[K+160>>2]=0;I=K+160+4|0;c[I>>2]=0;c[K+160+8>>2]=0;if((f|0)==(h|0)){n=h;e=0;l=0;f=0;b=h;A=13}else{if(l>>>0>1073741823)jzb(K+160|0);m=YAb(l<<2)|0;c[K+160>>2]=m;c[K+160+8>>2]=m+(l<<2);hBb(m|0,0,l<<2|0)|0;c[I>>2]=m+(l<<2);b=c[d+4>>2]|0;r=c[d>>2]|0;if((b|0)==(r|0)){n=r;e=m+(l<<2)|0;l=m;f=m;m=r;A=13}else{h=c[K+172>>2]|0;f=0;e=0;do{j=+g[r+(f*20|0)>>2];k=+g[r+(e*20|0)>>2];if(j>2]<+g[r+(e*20|0)+4>>2])A=20;if((A|0)==20){A=0;e=f}H=f;f=f+1|0;c[h+(H<<2)>>2]=f;c[m+(H<<2)>>2]=H+-1}while(f>>>0<((b-r|0)/20|0)>>>0);q=K+172|0;n=r;p=m+(l<<2)|0;l=m;f=m;o=c[K+172>>2]|0;m=r}}if((A|0)==13){o=c[K+172>>2]|0;q=K+172|0;h=o;p=e;e=0}c[h+(((c[J>>2]|0)-h>>2)+-1<<2)>>2]=0;c[l>>2]=(p-l>>2)+-1;G=c[f+(e<<2)>>2]|0;H=c[o+(e<<2)>>2]|0;C=+g[m+(G*20|0)>>2];B=+g[m+(G*20|0)+4>>2];if(!((+g[m+(e*20|0)>>2]-C)*(+g[m+(H*20|0)+4>>2]-B)-(+g[m+(e*20|0)+4>>2]-B)*(+g[m+(H*20|0)>>2]-C)>=0.0)){H=c[q>>2]|0;o=c[K+160>>2]|0;c[q>>2]=o;c[K+160>>2]=H;G=c[J>>2]|0;c[J>>2]=c[I>>2];c[I>>2]=G;G=c[K+172+8>>2]|0;c[K+172+8>>2]=p;c[K+160+8>>2]=G;p=H}else p=f;c[K+148>>2]=K+148;c[K+148+4>>2]=K+148;c[K+148+8>>2]=0;if((b|0)==(n|0))l=(b-n|0)/20|0;else{l=(b-n|0)/20|0;h=K+148|0;e=0;f=0;while(1){G=c[p+(f<<2)>>2]|0;b=m+(f*20|0)|0;H=c[o+(f<<2)>>2]|0;C=+g[m+(G*20|0)>>2];B=+g[m+(G*20|0)+4>>2];if(!((+g[b>>2]-C)*(+g[m+(H*20|0)+4>>2]-B)-(+g[m+(f*20|0)+4>>2]-B)*(+g[m+(H*20|0)>>2]-C)>=0.0)){H=YAb(12)|0;c[H+8>>2]=b;c[H+4>>2]=K+148;c[H>>2]=h;c[h+4>>2]=H;c[K+148>>2]=H;e=e+1|0;c[K+148+8>>2]=e;b=H}else b=h;f=f+1|0;if(f>>>0>>0){m=n;h=b}else break}}c[K+136>>2]=0;H=K+136+4|0;c[H>>2]=0;c[K+136+8>>2]=0;F=K+76+20|0;G=K+76+40|0;h=c[K+172>>2]|0;f=c[K+160>>2]|0;e=c[d>>2]|0;a:do if(l>>>0>3){E=c[K+148+4>>2]|0;b=1;b:while(1){A=E;B=+g[e+(b*20|0)>>2];C=+g[e+(b*20|0)+4>>2];r=0;c:while(1){q=b;b=c[h+(b<<2)>>2]|0;p=c[f+(q<<2)>>2]|0;m=e+(p*20|0)|0;q=e+(q*20|0)|0;D=e+(b*20|0)|0;w=+g[m>>2];x=+g[e+(p*20|0)+4>>2];y=B;B=+g[D>>2];z=C;C=+g[e+(b*20|0)+4>>2];s=C-x;t=B-w;d:do if((y-w)*s-(z-x)*t>=0.0){if((A|0)==(K+148|0)){e=D;break c}u=B-y;v=C-z;n=A;o=E;while(1){n=c[n+8>>2]|0;if(!((n|0)==(D|0)|((n|0)==(m|0)|(n|0)==(q|0)))){k=+g[n>>2];j=+g[n+4>>2];if(((x-z)*u-(w-y)*v)*(u*(j-z)-v*(k-y))>=0.0)if(((z-x)*t-(y-w)*s)*(t*(j-x)-s*(k-w))>=0.0)if(((y-w)*s-(z-x)*t)*((y-w)*(j-x)-(z-x)*(k-w))>=0.0)break d}o=c[o+4>>2]|0;n=o;if((n|0)==(K+148|0)){e=D;break c}}}while(0);r=r+1|0;if(r>>>0>l>>>0)break b}c[K+76>>2]=c[m>>2];c[K+76+4>>2]=c[m+4>>2];c[K+76+8>>2]=c[m+8>>2];c[K+76+12>>2]=c[m+12>>2];c[K+76+16>>2]=c[m+16>>2];c[F>>2]=c[q>>2];c[F+4>>2]=c[q+4>>2];c[F+8>>2]=c[q+8>>2];c[F+12>>2]=c[q+12>>2];c[F+16>>2]=c[q+16>>2];c[G>>2]=c[e>>2];c[G+4>>2]=c[e+4>>2];c[G+8>>2]=c[e+8>>2];c[G+12>>2]=c[e+12>>2];c[G+16>>2]=c[e+16>>2];e=c[H>>2]|0;if(e>>>0<(c[K+136+8>>2]|0)>>>0){m=e;n=K+76|0;o=m+60|0;do{c[m>>2]=c[n>>2];m=m+4|0;n=n+4|0}while((m|0)<(o|0));c[H>>2]=e+60}else{pk(K+136|0,K+76|0);h=c[K+172>>2]|0;f=c[K+160>>2]|0}c[h+(p<<2)>>2]=b;c[f+(b<<2)>>2]=p;c[K+72>>2]=q;TE(K+148|0,K+72|0);l=l+-1|0;h=c[K+172>>2]|0;f=c[K+160>>2]|0;e=c[d>>2]|0;if(l>>>0<=3)break a;else E=c[K+148+4>>2]|0}J=nf(16)|0;ds(J,353322,K+8|0);zc(J|0,96,27)}else b=1;while(0);G=e+((c[f+(b<<2)>>2]|0)*20|0)|0;d=e+(b*20|0)|0;b=e+((c[h+(b<<2)>>2]|0)*20|0)|0;c[K+12>>2]=c[G>>2];c[K+12+4>>2]=c[G+4>>2];c[K+12+8>>2]=c[G+8>>2];c[K+12+12>>2]=c[G+12>>2];c[K+12+16>>2]=c[G+16>>2];e=K+12+20|0;c[e>>2]=c[d>>2];c[e+4>>2]=c[d+4>>2];c[e+8>>2]=c[d+8>>2];c[e+12>>2]=c[d+12>>2];c[e+16>>2]=c[d+16>>2];e=K+12+40|0;c[e>>2]=c[b>>2];c[e+4>>2]=c[b+4>>2];c[e+8>>2]=c[b+8>>2];c[e+12>>2]=c[b+12>>2];c[e+16>>2]=c[b+16>>2];e=c[H>>2]|0;b=c[K+136+8>>2]|0;if(e>>>0>>0){m=e;n=K+12|0;o=m+60|0;do{c[m>>2]=c[n>>2];m=m+4|0;n=n+4|0}while((m|0)<(o|0));c[H>>2]=e+60;e=e+60|0}else{pk(K+136|0,K+12|0);e=c[H>>2]|0;b=c[K+136+8>>2]|0}c[a>>2]=c[K+136>>2];c[a+4>>2]=e;c[a+8>>2]=b;if(c[K+148+8>>2]|0){b=c[K+148+4>>2]|0;a=(c[K+148>>2]|0)+4|0;d=c[b>>2]|0;c[d+4>>2]=c[a>>2];c[c[a>>2]>>2]=d;c[K+148+8>>2]=0;if((b|0)!=(K+148|0))do{a=b;b=c[b+4>>2]|0;oAb(a)}while((b|0)!=(K+148|0))}b=c[K+160>>2]|0;if(b|0){e=c[I>>2]|0;if((e|0)!=(b|0))c[I>>2]=e+(~((e+-4-b|0)>>>2)<<2);oAb(b)}b=c[K+172>>2]|0;if(b|0){e=c[J>>2]|0;if((e|0)!=(b|0))c[J>>2]=e+(~((e+-4-b|0)>>>2)<<2);oAb(b)}i=K;return}function TE(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+16|0;c[m>>2]=m;c[m+4>>2]=m;c[m+8>>2]=0;f=c[a+4>>2]|0;if((f|0)==(a|0)){i=m;return}if((m|0)==(a|0)){h=f;g=f;while(1){e=c[h+8>>2]|0;d=c[g+4>>2]|0;if((e|0)==(c[b>>2]|0)){a:do if((d|0)==(a|0)){f=a;e=0}else{f=d;while(1){if((c[f+8>>2]|0)!=(e|0)){e=1;break a}d=c[d+4>>2]|0;f=d;if((f|0)==(a|0)){f=a;e=0;break}}}while(0);if((h|0)!=(f|0)){l=c[d>>2]|0;k=c[g>>2]|0;c[k+4>>2]=c[l+4>>2];c[c[l+4>>2]>>2]=k;k=c[m>>2]|0;c[k+4>>2]=h;c[g>>2]=k;c[m>>2]=l;c[l+4>>2]=a}if(e)d=c[d+4>>2]|0}h=d;if((h|0)==(a|0))break;else g=d}i=m;return}e=m;l=f;d=0;k=f;while(1){g=c[l+8>>2]|0;f=c[k+4>>2]|0;if((g|0)==(c[b>>2]|0)){b:do if((f|0)==(a|0)){h=a;j=0}else{h=f;while(1){if((c[h+8>>2]|0)!=(g|0)){j=1;break b}f=c[f+4>>2]|0;h=f;if((h|0)==(a|0)){h=a;j=0;break}}}while(0);if((l|0)!=(h|0)){g=l;e=0;do{e=e+1|0;g=c[g+4>>2]|0}while((g|0)!=(h|0));c[a+8>>2]=(c[a+8>>2]|0)-e;d=d+e|0;c[m+8>>2]=d;e=c[f>>2]|0;h=c[k>>2]|0;c[h+4>>2]=c[e+4>>2];c[c[e+4>>2]>>2]=h;h=c[m>>2]|0;c[h+4>>2]=l;c[k>>2]=h;c[m>>2]=e;c[e+4>>2]=m}if(j)f=c[f+4>>2]|0}l=f;if((l|0)==(a|0))break;else k=f}if(!d){i=m;return}d=c[m+4>>2]|0;a=c[d>>2]|0;c[a+4>>2]=c[e+4>>2];c[c[e+4>>2]>>2]=a;c[m+8>>2]=0;if((d|0)==(m|0)){i=m;return}do{a=d;d=c[d+4>>2]|0;oAb(a)}while((d|0)!=(m|0));i=m;return}function UE(a,b){a=a|0;b=b|0;var d=0.0,e=0.0,f=0.0,h=0,i=0,j=0,k=0.0,l=0.0;j=c[b>>2]|0;b=((c[b+4>>2]|0)-j|0)/20|0;if(b>>>0<3){j=0;return j|0}d=+g[j+((b+-1|0)*20|0)>>2];k=+g[j+((b+-1|0)*20|0)+4>>2];e=+g[j>>2];f=+g[j+4>>2];d=(d-+g[j+((b+-2|0)*20|0)>>2])*(f-k)-(k-+g[j+((b+-2|0)*20|0)+4>>2])*(e-d);h=b+-1|0;i=0;while(1){a=i+1|0;if(a>>>0>=b>>>0){a=1;b=5;break}k=e;e=+g[j+(a*20|0)>>2];l=f;f=+g[j+(a*20|0)+4>>2];if(d*((k-+g[j+(h*20|0)>>2])*(f-l)-(l-+g[j+(h*20|0)+4>>2])*(e-k))<0.0){a=0;b=5;break}else{h=i;i=a}}if((b|0)==5)return a|0;return 0}function VE(a,b){a=a|0;b=+b;if(!(b<=.040449999272823334)){b=+P(+((b+.054999999701976776)/1.0549999475479126),2.4000000953674316);return +b}else{b=b/12.920000076293945;return +b}return 0.0}function WE(a,b){a=a|0;b=+b;if(!(b<=3.1308000907301903e-03)){b=+P(+b,.4166666567325592)*1.0549999475479126+-.054999999701976776;return +b}else{b=b*12.920000076293945;return +b}return 0.0}function XE(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;a=vi[c[(c[d>>2]|0)+16>>2]&2047](d)|0;return YE(0,b,a,vi[c[(c[d>>2]|0)+20>>2]&2047](d)|0,e)|0}function YE(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=i;i=i+16|0;a=zE(b)|0;if(!a){e=nf(16)|0;ds(e,353350,g);zc(e|0,96,27)}else{c[g+4>>2]=0;f=ti[c[(c[a>>2]|0)+8>>2]&63](a,b,d,e,f,g+4|0)|0;d=YAb(24)|0;uE(d,b,f,c[g+4>>2]|0,e,1);i=g;return d|0}return 0}function ZE(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+16|0;c[g+4>>2]=wE(b)|0;e=vE(b)|0;f=vi[c[(c[b>>2]|0)+16>>2]&2047](b)|0;b=vi[c[(c[b>>2]|0)+20>>2]&2047](b)|0;a=zE(e)|0;if(!a){d=nf(16)|0;ds(d,353350,g);zc(d|0,96,27)}else{f=Ci[c[(c[a>>2]|0)+12>>2]&127](a,e,f,b,g+4|0)|0;c[d>>2]=c[g+4>>2];i=g;return f|0}return 0}function _E(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=i;i=i+16|0;a=zE(b)|0;if(!a){f=nf(16)|0;ds(f,353350,g);zc(f|0,96,27)}else{f=Ci[c[(c[a>>2]|0)+12>>2]&127](a,b,d,e,f)|0;i=g;return f|0}return 0}function $E(a){a=a|0;Jj(a);c[a>>2]=15948;h[a+24>>3]=s;c[a+8>>2]=-876643772;c[a+8+4>>2]=20529293;c[a+16>>2]=-1308989176;c[a+16+4>>2]=204383418;return}function aF(a){a=a|0;oAb(a);return}function bF(a,b){a=a|0;b=b|0;var d=0,e=0;e=c[b>>2]|0;d=c[b+4>>2]|0;c[a+8>>2]=e;c[a+8+4>>2]=d;b=e;while(1){e=pBb(b|0,d|0,21)|0;d=jBb(e|0,C|0,~b|0,~d|0)|0;b=C;e=rBb(d|0,b|0,24)|0;b=wBb(e^d|0,C^b|0,265,0)|0;d=C;e=rBb(b|0,d|0,14)|0;d=wBb(e^b|0,C^d|0,21,0)|0;b=C;e=rBb(d|0,b|0,28)|0;b=wBb(e^d|0,C^b|0,-2147483647,0)|0;d=C;if((b|0)==0&(d|0)==0){b=0;d=0}else break}c[a+16>>2]=b;c[a+16+4>>2]=d;return}function cF(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;d=c[a+16>>2]|0;b=c[a+16+4>>2]|0;e=rBb(d|0,b|0,12)|0;b=C^b;f=pBb(e^d|0,b|0,25)|0;b=C^b;g=rBb(f^(e^d)|0,b|0,27)|0;b=C^b;c[a+16>>2]=g^(f^(e^d));c[a+16+4>>2]=b;a=wBb(g^(f^(e^d))|0,b|0,1332534557,625341585)|0;return a|0}function dF(a,b){a=a|0;b=+b;var d=0.0,e=0.0,f=0,g=0,i=0,j=0,k=0,l=0,m=0,n=0;d=+h[a+24>>3];if(d!=s){h[a+24>>3]=s;b=d*b;return +b}else{g=c[a+16>>2]|0;f=c[a+16+4>>2]|0;i=rBb(g|0,f|0,12)|0;f=C^f;j=pBb(i^g|0,f|0,25)|0;f=C^f;k=rBb(j^(i^g)|0,f|0,27)|0;f=C^f;l=wBb(k^(j^(i^g))|0,f|0,1332534557,625341585)|0;e=+O(+(+Y(+(1.0-(+(l>>>0)+4294967296.0*+(C>>>0))*5.421010862427522e-20))*-2.0));l=rBb(k^(j^(i^g))|0,f|0,12)|0;f=C^f;m=pBb(l^(k^(j^(i^g)))|0,f|0,25)|0;f=C^f;n=rBb(m^(l^(k^(j^(i^g))))|0,f|0,27)|0;f=C^f;c[a+16>>2]=n^(m^(l^(k^(j^(i^g)))));c[a+16+4>>2]=f;f=wBb(n^(m^(l^(k^(j^(i^g)))))|0,f|0,1332534557,625341585)|0;d=(1.0-(+(f>>>0)+4294967296.0*+(C>>>0))*5.421010862427522e-20)*6.283185307179586;h[a+24>>3]=e*+Q(+d);d=e*+R(+d);b=d*b;return +b}return 0.0}function eF(a,b){a=a|0;b=b|0;var d=0;d=c[b+8+4>>2]|0;c[a>>2]=c[b+8>>2];c[a+4>>2]=d;return}function fF(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;j=a[d>>0]|0;h=(j&1)==0?d+1|0:c[d+8>>2]|0;j=(j&1)==0?(j&255)>>>1:c[d+4>>2]|0;a:do if(j>>>0>=2)if((j|0)>=2)if((h+j+-1|0)!=(h|0)){e=h;b:while(1){if((a[e>>0]|0)==48){f=e;g=353408;do{g=g+1|0;if((g|0)==353410)break b;f=f+1|0}while((a[f>>0]|0)==(a[g>>0]|0))}e=e+1|0;if((e|0)==(h+j+-1|0))break a}if(!((e|0)!=(h|0)|(e|0)==(h+j|0)|j>>>0<3)){c[k+12>>2]=0;e=Xlb(h,k+12|0,16)|0;f=C;g=c[k+12>>2]|0;if(!g){b=b+16|0;d=b;c[d>>2]=e;b=b+4|0;c[b>>2]=f;i=k;return}if(!(a[g>>0]|0)){b=b+16|0;d=b;c[d>>2]=e;b=b+4|0;c[b>>2]=f;i=k;return}else{b=nf(16)|0;c[k+8>>2]=(a[d>>0]&1)==0?d+1|0:c[d+8>>2]|0;ds(b,353411,k+8|0);zc(b|0,96,27)}}}while(0);b=nf(16)|0;c[k>>2]=(a[d>>0]&1)==0?d+1|0:c[d+8>>2]|0;ds(b,353411,k);zc(b|0,96,27)}function gF(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=i;i=i+160|0;c[d+8>>2]=9184;c[d>>2]=9388;c[d+64>>2]=9408;c[d+4>>2]=0;rsb(d+64|0,d+12|0);c[d+136>>2]=0;c[d+140>>2]=-1;c[d>>2]=9164;c[d+64>>2]=9204;c[d+8>>2]=9184;tsb(d+12|0);c[d+12>>2]=9220;c[d+44>>2]=0;c[d+44+4>>2]=0;c[d+44+8>>2]=0;c[d+44+12>>2]=0;c[d+60>>2]=24;c[d+144>>2]=0;c[d+144+4>>2]=0;c[d+144+8>>2]=0;dk(d+12|0,d+144|0);Mqb(d+144|0);e=ek(d+8|0,353408,2)|0;c[e+(c[(c[e>>2]|0)+-12>>2]|0)+76>>2]=48;c[e+(c[(c[e>>2]|0)+-12>>2]|0)+12>>2]=16;f=e+(c[(c[e>>2]|0)+-12>>2]|0)+4|0;c[f>>2]=c[f>>2]&-75|8;Csb(e,c[b+16>>2]|0,c[b+16+4>>2]|0)|0;gk(a,d+12|0);c[d>>2]=9164;c[d+64>>2]=9204;c[d+8>>2]=9184;c[d+12>>2]=9220;Mqb(d+44|0);urb(d+12|0);qrb(d+64|0);i=d;return}function hF(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((qDa(a,b)|0)!=7){c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0}e=EDa(a,b)|0;if(c[(c[155773]|0)+(c[e>>2]<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0){d=e+4|0;d=c[d>>2]|0;i=f;return d|0}c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0;d=e+4|0;d=c[d>>2]|0;i=f;return d|0}function iF(a){a=a|0;var b=0;b=hF(a,1,26)|0;IDa(a,+((((c[b+12>>2]|0)-(c[b+8>>2]|0)>>3)+-1|0)>>>0));return 1}function jF(a){a=a|0;var b=0,d=0;d=hF(a,1,26)|0;b=YAb(20)|0;ska(b,d);Gs(a,26,b);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);return 1}function kF(a){a=a|0;var b=0.0,c=0,d=0;d=hF(a,1,26)|0;c=~~+_Ga(a,2);c=tka(d,(((c|0)>0)<<31>>31)+c|0)|0;b=+g[c+4>>2];IDa(a,+g[c>>2]);IDa(a,b);return 2}function lF(a){a=a|0;var b=0,c=0,d=0,e=0.0,f=0.0;b=i;i=i+16|0;d=hF(a,1,26)|0;c=~~+_Ga(a,2);f=+_Ga(a,3);e=+_Ga(a,4);g[b>>2]=f;g[b+4>>2]=e;uka(d,(((c|0)>0)<<31>>31)+c|0,b);i=b;return 0}function mF(a){a=a|0;var b=0,c=0,d=0.0,e=0.0;b=i;i=i+16|0;c=hF(a,1,26)|0;e=+_Ga(a,2);d=+_Ga(a,3);a=~~+$Ga(a,4,-1.0);g[b>>2]=e;g[b+4>>2]=d;vka(c,b,(((a|0)>0)<<31>>31)+a|0);i=b;return 0}function nF(a){a=a|0;var b=0;b=hF(a,1,26)|0;a=~~+_Ga(a,2);xka(b,(((a|0)>0)<<31>>31)+a|0);return 0}function oF(a){a=a|0;var b=0;b=hF(a,1,26)|0;JDa(a,(c[b+12>>2]|0)-(c[b+8>>2]|0)>>3);return 1}function pF(a){a=a|0;var b=0,c=0,d=0.0,e=0.0;b=i;i=i+16|0;c=hF(a,1,26)|0;e=+_Ga(a,2);d=+_Ga(a,3);g[b>>2]=e;g[b+4>>2]=d;yka(c,b);i=b;return 0}function qF(a){a=a|0;var b=0,c=0.0,d=0,e=0.0,f=0.0;b=i;i=i+16|0;d=hF(a,1,26)|0;c=+_Ga(a,2);f=+$Ga(a,3,0.0);e=+$Ga(a,4,0.0);g[b>>2]=f;g[b+4>>2]=e;zka(d,c,b);i=b;return 0}function rF(a){a=a|0;var b=0,c=0.0,d=0,e=0.0,f=0.0;b=i;i=i+16|0;d=hF(a,1,26)|0;c=+_Ga(a,2);f=+$Ga(a,3,0.0);e=+$Ga(a,4,0.0);g[b>>2]=f;g[b+4>>2]=e;Aka(d,c,b);i=b;return 0}function sF(a){a=a|0;var b=0,c=0;b=i;i=i+16|0;c=hF(a,1,26)|0;Bka(b,c,+_Ga(a,2));IDa(a,+g[b>>2]);IDa(a,+g[b+4>>2]);i=b;return 2}function tF(a){a=a|0;var b=0,d=0.0;b=hF(a,1,26)|0;d=+_Ga(a,2);b=Cka(b,d,+_Ga(a,3))|0;Gs(a,26,b);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);return 1}function uF(a){a=a|0;var b=0,d=0,e=0,f=0,h=0;f=i;i=i+16|0;b=hF(a,1,26)|0;Dka(f,b,~~+$Ga(a,2,5.0));b=c[f>>2]|0;d=(c[f+4>>2]|0)-b|0;WDa(a,d>>2,0);if((d|0)>0){e=0;do{IDa(a,+g[b+(e<<3)>>2]);h=e<<1;aEa(a,-2,h|1);IDa(a,+g[b+(e<<3)+4>>2]);aEa(a,-2,h+2|0);e=e+1|0}while((e|0)<(d>>3|0))}if(!b){i=f;return 1}oAb(b);i=f;return 1}function vF(a){a=a|0;var b=0,d=0,e=0,f=0,h=0.0,j=0.0,k=0;f=i;i=i+16|0;b=hF(a,1,26)|0;j=+_Ga(a,2);h=+_Ga(a,3);Gka(f,b,j,h,bHa(a,4,5)|0);b=c[f>>2]|0;d=(c[f+4>>2]|0)-b|0;WDa(a,d>>2,0);if(d>>3|0){e=0;do{IDa(a,+g[b+(e<<3)>>2]);k=e<<1;aEa(a,-2,k|1);IDa(a,+g[b+(e<<3)+4>>2]);aEa(a,-2,k+2|0);e=e+1|0}while(e>>>0>3>>>0)}if(!b){i=f;return 1}oAb(b);i=f;return 1}function wF(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=15964;c[b+4>>2]=0;a=xs(a,26,353436,b)|0;i=b;return a|0}function xF(a,b){a=a|0;b=b|0;return yF(a,b,27)|0}function yF(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((qDa(a,b)|0)!=7){c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0}e=EDa(a,b)|0;if(c[(c[155773]|0)+(c[e>>2]<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0){d=e+4|0;d=c[d>>2]|0;i=f;return d|0}c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0;d=e+4|0;d=c[d>>2]|0;i=f;return d|0}function zF(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;d=yF(a,1,27)|0;c[b+4>>2]=0;if(KE(vE(d)|0,b+4|0)|0){LDa(a,c[b+4>>2]|0);d=1;i=b;return d|0}else{d=PGa(a,353627,b)|0;i=b;return d|0}return 0}function AF(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=12068;c[b+4>>2]=16084;c[b+8>>2]=0;a=xs(a,27,353659,b)|0;i=b;return a|0}function BF(a){a=a|0;var b=0,d=0;c[a>>2]=16108;b=c[a+8>>2]|0;if(b|0){Hi[c[(c[b>>2]|0)+12>>2]&1023](b);c[a+8>>2]=0;pjb(tjb()|0)}b=c[a+12>>2]|0;if((b|0)!=(a+16|0)){d=b;while(1){b=c[d+20>>2]|0;Hi[c[(c[b>>2]|0)+12>>2]&1023](b);b=c[d+4>>2]|0;if(!b)while(1){b=c[d+8>>2]|0;if((c[b>>2]|0)==(d|0))break;else d=b}else while(1){d=c[b>>2]|0;if(!d)break;else b=d}if((b|0)==(a+16|0))break;else d=b}}CF(a+12|0,c[a+16>>2]|0);b=c[a+8>>2]|0;if(!b){wj(a);return}Hi[c[(c[b>>2]|0)+12>>2]&1023](b);wj(a);return}function CF(a,b){a=a|0;b=b|0;if(!b)return;else{CF(a,c[b>>2]|0);CF(a,c[b+4>>2]|0);oAb(b);return}}function DF(a){a=a|0;BF(a);oAb(a);return}function EF(a){a=a|0;return 9}function FF(a){a=a|0;return 353718}function GF(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=YAb(20)|0;Nka(a,b,c,d);return a|0}function HF(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;j=i;i=i+16|0;e=c[a+16>>2]|0;if(e|0){d=a+16|0;a:do{while(1){if((c[e+16>>2]|0)>=(b|0)){d=e;break}e=c[e+4>>2]|0;if(!e)break a}e=c[d>>2]|0}while((e|0)!=0);if((d|0)!=(a+16|0))if((c[d+16>>2]|0)<=(b|0)){a=c[d+20>>2]|0;i=j;return a|0}}h=YAb(20)|0;Oka(h,b);d=c[a+16>>2]|0;do if(!d){c[j>>2]=a+16;f=a+16|0;e=a+16|0;g=19}else{while(1){e=c[d+16>>2]|0;if((e|0)>(b|0)){e=c[d>>2]|0;if(!e){e=d;g=12;break}else d=e}else{if((e|0)>=(b|0)){g=18;break}f=d+4|0;e=c[f>>2]|0;if(!e){g=16;break}else d=e}}if((g|0)==12){c[j>>2]=d;f=e;e=d;g=19;break}else if((g|0)==16){c[j>>2]=d;e=d;g=19;break}else if((g|0)==18){c[j>>2]=d;if(!d){f=j;e=d;g=19;break}else break}}while(0);if((g|0)==19){d=YAb(24)|0;c[d+16>>2]=b;c[d+20>>2]=0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=e;c[f>>2]=d;e=c[c[a+12>>2]>>2]|0;if(!e)e=d;else{c[a+12>>2]=e;e=c[f>>2]|0}Fj(c[a+16>>2]|0,e);c[a+20>>2]=(c[a+20>>2]|0)+1}c[d+20>>2]=h;a=h;i=j;return a|0}function IF(a,b){a=a|0;b=b|0;var d=0;if(b|0)Hi[c[(c[b>>2]|0)+8>>2]&1023](b);d=c[a+8>>2]|0;if(d|0)Hi[c[(c[d>>2]|0)+12>>2]&1023](d);c[a+8>>2]=b;pjb(vi[c[(c[b>>2]|0)+16>>2]&2047](b)|0);return}function JF(a){a=a|0;var b=0;b=c[a+8>>2]|0;if(b|0)Hi[c[(c[b>>2]|0)+12>>2]&1023](b);c[a+8>>2]=0;pjb(tjb()|0);return}function KF(a){a=a|0;return c[a+8>>2]|0}function LF(a){a=a|0;return (tjb()|0)!=0|0}function MF(a){a=a|0;var b=0.0,d=0;d=i;i=i+16|0;z7a(d+8|0,0)|0;b=+(c[d+8>>2]|0);h[d>>3]=b;a=c[155688]|0;if(!a){i=d;return +b}$i[c[(c[a>>2]|0)+144>>2]&255](a,d,0);b=+h[d>>3];i=d;return +b}function NF(a){a=a|0;var b=0.0,d=0;d=i;i=i+16|0;z7a(0,d+8|0)|0;b=+(c[d+8>>2]|0);h[d>>3]=b;a=c[155688]|0;if(!a){i=d;return +b}$i[c[(c[a>>2]|0)+144>>2]&255](a,0,d);b=+h[d>>3];i=d;return +b}function OF(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;z7a(e+4|0,e)|0;h[b>>3]=+(c[e+4>>2]|0);h[d>>3]=+(c[e>>2]|0);a=c[155688]|0;if(!a){i=e;return}$i[c[(c[a>>2]|0)+144>>2]&255](a,b,d);i=e;return}function PF(a,b){a=a|0;b=+b;var d=0.0,e=0,f=0;f=c[a>>2]|0;e=c[f+68>>2]|0;d=+Mi[c[f+52>>2]&63](a);Fi[e&3](a,b,d);return}function QF(a,b){a=a|0;b=+b;var d=0.0,e=0,f=0;f=c[a>>2]|0;e=c[f+68>>2]|0;d=+Mi[c[f+48>>2]&63](a);Fi[e&3](a,d,b);return}function RF(a,b,d){a=a|0;b=+b;d=+d;var e=0,f=0;f=i;i=i+16|0;h[f+8>>3]=b;h[f>>3]=d;a=c[155688]|0;if(!a)a=0;else{a=vi[c[(c[a>>2]|0)+172>>2]&2047](a)|0;e=c[155688]|0;if(e){$i[c[(c[e>>2]|0)+148>>2]&255](e,f+8|0,f);b=+h[f+8>>3];d=+h[f>>3]}}T6a(a,~~b,~~d);cjb();i=f;return}function SF(a,b){a=a|0;b=b|0;_ib(b&1)|0;return}function TF(a,b){a=a|0;b=b|0;var d=0,e=0;e=z7a(0,0)|0;a=c[b>>2]|0;d=c[b+4>>2]|0;if((a|0)==(d|0)){e=0;return e|0}while(1){b=c[a>>2]|0;if((b|0)>=1){switch(b|0){case 2:{b=3;break}case 3:{b=2;break}default:{}}if(1<>2]|0)+132>>2]&511](a,b);return}function WF(a){a=a|0;a=c[155688]|0;if(!a){a=0;return a|0}a=vi[c[(c[a>>2]|0)+136>>2]&2047](a)|0;return a|0}function XF(a,b){a=a|0;b=b|0;return (ahb(b&1)|0)==0|0}function YF(a){a=a|0;return (Zib()|0)!=0|0}function ZF(a){a=a|0;Jj(a);c[a>>2]=16108;c[a+8>>2]=0;c[a+16>>2]=0;c[a+20>>2]=0;c[a+12>>2]=a+16;return}function _F(a){a=a|0;return}function $F(){var b=0,d=0,e=0,f=0,g=0;g=i;i=i+16|0;aG(627668,16208,96);a[628012]=0;a[628024]=0;a[628036]=0;a[628048]=0;c[157013]=0;c[157014]=0;b=a[353800]|0;if(!(b<<24>>24))d=5381;else{e=353800;d=5381;do{e=e+1|0;d=(d*33|0)+(b<<24>>24)|0;b=a[e>>0]|0}while(b<<24>>24!=0)}b=d&3;if(!(a[628004+(b*12|0)+8>>0]|0)){d=b;b=628004+(b*12|0)+8|0;f=5}else{b=d+1&3;if(!(a[628004+(b*12|0)+8>>0]|0)){d=b;b=628004+(b*12|0)+8|0;f=5}else{b=d+2&3;if(!(a[628004+(b*12|0)+8>>0]|0)){d=b;b=628004+(b*12|0)+8|0;f=5}else{b=d+3&3;if(!(a[628004+(b*12|0)+8>>0]|0)){d=b;b=628004+(b*12|0)+8|0;f=5}}}}if((f|0)==5){a[b>>0]=1;c[628004+(d*12|0)>>2]=353800;c[628004+(d*12|0)+4>>2]=0}if(0>1){c[g>>2]=353800;c[g+4>>2]=0;vpb(441068,g)|0}else c[157013]=353800;b=a[435893]|0;if(!(b<<24>>24))d=5381;else{e=435893;d=5381;do{e=e+1|0;d=(d*33|0)+(b<<24>>24)|0;b=a[e>>0]|0}while(b<<24>>24!=0)}b=d&3;if(!(a[628004+(b*12|0)+8>>0]|0)){d=b;b=628004+(b*12|0)+8|0;f=17}else{b=d+1&3;if(!(a[628004+(b*12|0)+8>>0]|0)){d=b;b=628004+(b*12|0)+8|0;f=17}else{b=d+2&3;if(!(a[628004+(b*12|0)+8>>0]|0)){d=b;b=628004+(b*12|0)+8|0;f=17}else{b=d+3&3;if(!(a[628004+(b*12|0)+8>>0]|0)){d=b;b=628004+(b*12|0)+8|0;f=17}}}}if((f|0)==17){a[b>>0]=1;c[628004+(d*12|0)>>2]=435893;c[628004+(d*12|0)+4>>2]=1}if(1>1){c[g+8>>2]=435893;c[g+8+4>>2]=1;vpb(441068,g+8|0)|0;i=g;return}else{c[157014]=435893;i=g;return}}function aG(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;a[b+8>>0]=0;a[b+20>>0]=0;a[b+32>>0]=0;a[b+44>>0]=0;a[b+56>>0]=0;a[b+68>>0]=0;a[b+80>>0]=0;a[b+92>>0]=0;a[b+104>>0]=0;a[b+116>>0]=0;a[b+128>>0]=0;a[b+140>>0]=0;a[b+152>>0]=0;a[b+164>>0]=0;a[b+176>>0]=0;a[b+188>>0]=0;a[b+200>>0]=0;a[b+212>>0]=0;a[b+224>>0]=0;a[b+236>>0]=0;a[b+248>>0]=0;a[b+260>>0]=0;a[b+272>>0]=0;a[b+284>>0]=0;f=b+288|0;g=f+48|0;do{c[f>>2]=0;f=f+4|0}while((f|0)<(g|0));if(!(e>>>3)){i=n;return}else l=0;do{j=c[d+(l<<3)>>2]|0;k=c[d+(l<<3)+4>>2]|0;f=a[j>>0]|0;if(!(f<<24>>24))g=5381;else{h=j;g=5381;do{h=h+1|0;g=(g*33|0)+(f<<24>>24)|0;f=a[h>>0]|0}while(f<<24>>24!=0)}h=0;do{f=((h+g|0)>>>0)%24|0;h=h+1|0;if(!(a[b+(f*12|0)+8>>0]|0)){m=8;break}}while(h>>>0<24);if((m|0)==8){m=0;a[b+(f*12|0)+8>>0]=1;c[b+(f*12|0)>>2]=j;c[b+(f*12|0)+4>>2]=k}if(k>>>0>11){c[n>>2]=j;c[n+4>>2]=k;vpb(441068,n)|0}else c[b+288+(k<<2)>>2]=j;l=l+1|0}while((l|0)!=(e>>>3|0));i=n;return}function bG(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=a[b>>0]|0;if(!(e<<24>>24))f=5381;else{g=b;f=5381;do{g=g+1|0;f=(f*33|0)+(e<<24>>24)|0;e=a[g>>0]|0}while(e<<24>>24!=0)}j=0;while(1){i=((j+f|0)>>>0)%24|0;if(!(a[627668+(i*12|0)+8>>0]|0)){e=1;f=0;k=11;break}g=c[627668+(i*12|0)>>2]|0;h=a[g>>0]|0;a:do if(!(h<<24>>24)){e=b;k=8}else{e=b;while(1){l=a[e>>0]|0;if(!(l<<24>>24?h<<24>>24==l<<24>>24:0))break a;g=g+1|0;e=e+1|0;h=a[g>>0]|0;if(!(h<<24>>24)){k=8;break}}}while(0);if((k|0)==8){k=0;if(!(a[e>>0]|0)){k=9;break}}j=j+1|0;if(j>>>0>=24){e=0;f=0;k=11;break}}if((k|0)==9){c[d>>2]=c[627668+(i*12|0)+4>>2];k=1;l=1;l=k&l;return l|0}else if((k|0)==11){l=e&f;return l|0}return 0}function cG(a,b){a=a|0;b=b|0;if(a>>>0>11)a=0;else{a=c[627956+(a<<2)>>2]|0;if(!a)a=0;else{c[b>>2]=a;a=1}}return a|0}function dG(a,b){a=a|0;b=b|0;if(a>>>0>1)a=0;else{a=c[628052+(a<<2)>>2]|0;if(!a)a=0;else{c[b>>2]=a;a=1}}return a|0}function eG(a,b){a=a|0;b=b|0;return fG(a,b,31)|0}function fG(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((qDa(a,b)|0)!=7){c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0}e=EDa(a,b)|0;if(c[(c[155773]|0)+(c[e>>2]<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0){d=e+4|0;d=c[d>>2]|0;i=f;return d|0}c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0;d=e+4|0;d=c[d>>2]|0;i=f;return d|0}function gG(a){a=a|0;var b=0,d=0,e=0,f=0;e=i;i=i+16|0;b=fG(a,1,31)|0;f=vi[c[(c[b>>2]|0)+20>>2]&2047](b)|0;c[e+4>>2]=0;switch(f|0){case 1:{dG(1,e+4|0)|0;d=4;break}case 0:{cG(vi[c[(c[b>>2]|0)+24>>2]&2047](b)|0,e+4|0)|0;d=4;break}default:{}}if((d|0)==4){b=c[e+4>>2]|0;if(b|0){LDa(a,b);f=1;i=e;return f|0}}f=PGa(a,353828,e)|0;i=e;return f|0}function hG(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=16304;c[b+4>>2]=0;a=xs(a,31,353849,b)|0;i=b;return a|0}function iG(a){a=a|0;var b=0,d=0;c[a>>2]=16328;b=c[a+12>>2]|0;do if(b|0){d=c[b>>2]|0;if(d){Hi[c[(c[d>>2]|0)+4>>2]&1023](d);b=c[a+12>>2]|0;if(!b)break}oAb(b)}while(0);dN(a);return}function jG(a){a=a|0;var b=0,d=0;c[a>>2]=16328;b=c[a+12>>2]|0;do if(b|0){d=c[b>>2]|0;if(d){Hi[c[(c[d>>2]|0)+4>>2]&1023](d);b=c[a+12>>2]|0;if(!b)break}oAb(b)}while(0);dN(a);oAb(a);return}function kG(a,b){a=a|0;b=b|0;Jj(a);c[a>>2]=16328;c[a+8>>2]=c[b+12>>2];c[a+12>>2]=0;c[a+16>>2]=b;c[a+20>>2]=0;b=YAb(4)|0;c[a+12>>2]=b;c[b>>2]=0;return}function lG(a,b,d){a=a|0;b=b|0;d=d|0;Jj(a);c[a>>2]=16328;c[a+8>>2]=c[b+12>>2];c[a+12>>2]=0;c[a+16>>2]=b;c[a+20>>2]=d;d=YAb(4)|0;c[a+12>>2]=d;c[d>>2]=0;return}function mG(a){a=a|0;a=c[(c[a+24>>2]|0)+4>>2]|0;do switch(a|0){case 1:{a=2;break}case 2:{a=3;break}case 3:{a=1;break}case 4:{a=5;break}case 5:{a=4;break}case 6:break;case 9:{a=7;break}case 8:break;case 7:{a=9;break}case 10:break;case 11:break;default:a=0}while(0);return a|0}function nG(a){a=a|0;var b=0;b=i;i=i+16|0;a=c[(c[a+24>>2]|0)+48>>2]|0;if(!a){a=0;i=b;return a|0}a=e_(a)|0;if(!a){a=nf(16)|0;ds(a,354613,b);zc(a|0,96,27)}i=b;return a|0}function oG(a){a=a|0;var b=0;b=i;i=i+16|0;a=c[(c[a+24>>2]|0)+52>>2]|0;if(!a){a=0;i=b;return a|0}a=e_(a)|0;if(!a){a=nf(16)|0;ds(a,354613,b);zc(a|0,96,27)}i=b;return a|0}function pG(a){a=a|0;return (c[a+24>>2]|0)!=0|0}function qG(a,b){a=a|0;b=b|0;var d=0,e=0;d=i;i=i+32|0;e=c[a+24>>2]|0;si[c[c[e>>2]>>2]&511](d+24|0,e);IDa(b,+aH(+g[d+24>>2]));e=c[a+24>>2]|0;si[c[c[e>>2]>>2]&511](d+16|0,e);IDa(b,+aH(+g[d+16+4>>2]));e=c[a+24>>2]|0;si[c[(c[e>>2]|0)+4>>2]&511](d+8|0,e);IDa(b,+aH(+g[d+8>>2]));a=c[a+24>>2]|0;si[c[(c[a>>2]|0)+4>>2]&511](d,a);IDa(b,+aH(+g[d+4>>2]));i=d;return 4}function rG(a,b){a=a|0;b=b|0;var d=0,e=0.0;d=i;i=i+16|0;e=+_Ga(b,1);a=c[a+24>>2]|0;Li[c[(c[a>>2]|0)+8>>2]&31](d,a,e);dH(d+8|0,d);IDa(b,+g[d+8>>2]);IDa(b,+g[d+8+4>>2]);i=d;return 2}function sG(a,b){a=a|0;b=+b;a=c[a+24>>2]|0;return +(+aH(+aH(+aj[c[(c[a>>2]|0)+12>>2]&15](a,b))))}function tG(a,b){a=a|0;b=b|0;c[b+4>>2]=c[a+12>>2];b=kT(c[(c[a+8>>2]|0)+20>>2]|0,b)|0;c[a+24>>2]=b;c_(b,a);Hi[c[(c[a>>2]|0)+8>>2]&1023](a);return c[a+24>>2]|0}function uG(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;d=c[(c[a+8>>2]|0)+20>>2]|0;if(!(c[d+102868>>2]&2)){if(!b){b=c[a+24>>2]|0;if(b|0)jT(d,b)}d_(c[a+24>>2]|0);c[a+24>>2]=0;Hi[c[(c[a>>2]|0)+12>>2]&1023](a);i=e;return}else{Hi[c[(c[a>>2]|0)+8>>2]&1023](a);b=c[a+8>>2]|0;c[e>>2]=a;d=c[b+56>>2]|0;if(d>>>0<(c[b+60>>2]|0)>>>0){c[d>>2]=a;c[b+56>>2]=(c[b+56>>2]|0)+4;i=e;return}else{vG(b+52|0,e);i=e;return}}}function vG(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=c[a>>2]|0;d=((c[a+4>>2]|0)-j>>2)+1|0;if(d>>>0>1073741823)jzb(a);e=(c[a+8>>2]|0)-j|0;if(e>>2>>>0<536870911){d=e>>1>>>0>>0?d:e>>1;f=c[a+4>>2]|0;if(!d){i=0;g=0;e=f-j>>2;d=f}else{h=f;e=f-j>>2;k=6}}else{e=c[a+4>>2]|0;d=1073741823;h=e;e=e-j>>2;k=6}if((k|0)==6){i=d;g=YAb(d<<2)|0;d=h}k=g+(e<<2)|0;c[k>>2]=c[b>>2];b=d-j|0;mBb(k+(0-(b>>2)<<2)|0,j|0,b|0)|0;c[a>>2]=k+(0-(b>>2)<<2);c[a+4>>2]=k+4;c[a+8>>2]=g+(i<<2);if(!j)return;oAb(j);return}function wG(b){b=b|0;return (a[(c[b+24>>2]|0)+61>>0]|0)!=0|0}function xG(a,b){a=a|0;b=b|0;var d=0;os(b,1,1)|0;d=c[c[a+12>>2]>>2]|0;if(d|0)Hi[c[(c[d>>2]|0)+4>>2]&1023](d);d=YAb(12)|0;h_(d,b);c[c[a+12>>2]>>2]=d;return 0}function yG(a,b){a=a|0;b=b|0;a=c[a+12>>2]|0;if(a|0){a=c[a>>2]|0;if(a|0){j_(a,b);return 1}}HDa(b);return 1}function zG(a){a=a|0;wj(a);oAb(a);return}function AG(a){a=a|0;return 10}function BG(a){a=a|0;return 353914}function CG(a,b,d,e){a=a|0;b=+b;d=+d;e=e|0;var f=0;f=i;i=i+16|0;a=YAb(108)|0;g[f>>2]=b;g[f+4>>2]=d;c[f+8>>2]=c[f>>2];c[f+8+4>>2]=c[f+4>>2];rJ(a,f+8|0,e);i=f;return a|0}function DG(a,b,d,e,f){a=a|0;b=b|0;d=+d;e=+e;f=f|0;var h=0;h=i;i=i+16|0;a=YAb(20)|0;g[h>>2]=d;g[h+4>>2]=e;c[h+8>>2]=c[h>>2];c[h+8+4>>2]=c[h+4>>2];Rka(a,b,h+8|0,f);i=h;return a|0}function EG(a,b){a=a|0;b=+b;var d=0,e=0.0;d=YAb(20)|0;c[d>>2]=19548;c[d+4>>2]=0;e=+(c[4086]|0);g[d+12>>2]=0.0/e;g[d+16>>2]=0.0/e;g[d+8>>2]=b/e;a=YAb(16)|0;hma(a,d,1);return a|0}function FG(a,b,d,e){a=a|0;b=+b;d=+d;e=+e;var f=0,h=0.0;f=YAb(20)|0;c[f>>2]=19548;c[f+4>>2]=0;c[f+4+4>>2]=0;c[f+4+8>>2]=0;h=+(c[4086]|0);g[f+12>>2]=b/h;g[f+16>>2]=d/h;g[f+8>>2]=e/h;a=YAb(16)|0;hma(a,f,1);return a|0}function GG(a,b){a=a|0;b=b|0;var d=0.0,e=0;e=c[b>>2]|0;b=c[b+4>>2]|0;c[a>>2]=e;c[a+4>>2]=b;d=+(c[4086]|0);g[a>>2]=(c[k>>2]=e,+g[k>>2])/d;g[a+4>>2]=(c[k>>2]=b,+g[k>>2])/d;return}function HG(a){a=+a;return +(a/+(c[4086]|0))}function IG(a,b,d){a=a|0;b=+b;d=+d;var e=0,f=0,h=0.0;e=i;i=i+16|0;f=YAb(152)|0;c[f>>2]=19628;c[f+4>>2]=2;g[f+8>>2]=.009999999776482582;c[f+148>>2]=0;g[f+12>>2]=0.0;g[f+16>>2]=0.0;h=+(c[4086]|0);c[e>>2]=0;c[e+4>>2]=0;g[e>>2]=0.0/h;g[e+4>>2]=0.0/h;PS(f,b*.5/h,d*.5/h,e,0.0);a=YAb(16)|0;hH(a,f,1);i=e;return a|0}function JG(a,b,d,e,f,h){a=a|0;b=+b;d=+d;e=+e;f=+f;h=+h;var j=0,k=0,l=0.0,m=0.0,n=0.0;j=i;i=i+16|0;k=YAb(152)|0;c[k>>2]=19628;c[k+4>>2]=2;g[k+8>>2]=.009999999776482582;c[k+148>>2]=0;g[k+12>>2]=0.0;g[k+16>>2]=0.0;l=+(c[4086]|0);n=+b;m=+d;g[j>>2]=n;g[j+4>>2]=m;g[j>>2]=b/l;g[j+4>>2]=d/l;PS(k,e*.5/l,f*.5/l,j,h);a=YAb(16)|0;hH(a,k,1);i=j;return a|0}function KG(a,d,e,f,h){a=a|0;d=+d;e=+e;f=+f;h=+h;var j=0,k=0,l=0.0,m=0.0;j=i;i=i+16|0;k=YAb(48)|0;c[k>>2]=19588;c[k+4>>2]=1;g[k+8>>2]=.009999999776482582;c[k+28>>2]=0;c[k+28+4>>2]=0;c[k+28+8>>2]=0;c[k+28+12>>2]=0;b[k+28+16>>1]=0;m=+d;l=+e;g[j+8>>2]=m;g[j+8+4>>2]=l;l=+(c[4086]|0);g[j+8>>2]=d/l;g[j+8+4>>2]=e/l;d=+f;e=+h;g[j>>2]=d;g[j+4>>2]=e;g[j>>2]=f/l;g[j+4>>2]=h/l;HS(k,j+8|0,j);a=YAb(16)|0;Rma(a,k,1);i=j;return a|0}function LG(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0.0,j=0.0,k=0.0;f=i;i=i+96|0;a=kDa(b)|0;d=(qDa(b,1)|0)==5;if(d)a=Es(b,1)|0;if(a&1|0){b=PGa(b,353933,f)|0;i=f;return b|0}e=(a|0)/2|0;if((a|0)<6){c[f+8>>2]=e;b=PGa(b,353988,f+8|0)|0;i=f;return b|0}if((a|0)>17){c[f+16>>2]=8;c[f+16+4>>2]=e;b=PGa(b,354030,f+16|0)|0;i=f;return b|0}if(d){a=0;do{d=a<<1;VDa(b,1,d|1);VDa(b,1,d+2|0);k=+_Ga(b,-2);j=+_Ga(b,-1);h=+(c[4086]|0);g[f+24+(a<<3)>>2]=k/h;g[f+24+(a<<3)+4>>2]=j/h;lDa(b,-3);a=a+1|0}while((a|0)<(e|0))}else{a=0;do{d=a<<1;h=+_Ga(b,d|1);j=+_Ga(b,d+2|0);k=+(c[4086]|0);g[f+24+(a<<3)>>2]=h/k;g[f+24+(a<<3)+4>>2]=j/k;a=a+1|0}while((a|0)<(e|0))}d=YAb(152)|0;c[d>>2]=19628;c[d+4>>2]=2;g[d+8>>2]=.009999999776482582;c[d+148>>2]=0;g[d+12>>2]=0.0;g[d+16>>2]=0.0;QS(d,f+24|0,e);e=YAb(16)|0;hH(e,d,1);Gs(b,38,e);Hi[c[(c[e>>2]|0)+12>>2]&1023](e);b=1;i=f;return b|0}function MG(b,d){b=b|0;d=d|0;var e=0,f=0,h=0,j=0,k=0,l=0.0,m=0.0,n=0.0;k=i;i=i+16|0;b=(kDa(d)|0)+-1|0;e=(qDa(d,2)|0)==5;if(e)b=Es(d,2)|0;if(b&1|0){d=PGa(d,353933,k)|0;i=k;return d|0}h=(b|0)/2|0;j=fs(d,1)|0;f=_Ab(h>>>0>536870911?-1:h<<3)|0;b=(b|0)>1;if(e){if(b){b=0;do{e=b<<1;VDa(d,2,e|1);VDa(d,2,e+2|0);n=+yDa(d,-2);m=+yDa(d,-1);l=+(c[4086]|0);g[f+(b<<3)>>2]=n/l;g[f+(b<<3)+4>>2]=m/l;lDa(d,-3);b=b+1|0}while((b|0)<(h|0))}}else if(b){b=0;do{e=b<<1;l=+_Ga(d,e+2|0);m=+_Ga(d,e+3|0);n=+(c[4086]|0);g[f+(b<<3)>>2]=l/n;g[f+(b<<3)+4>>2]=m/n;b=b+1|0}while((b|0)<(h|0))}b=YAb(40)|0;c[b>>2]=19508;c[b+4>>2]=3;g[b+8>>2]=.009999999776482582;c[b+12>>2]=0;c[b+16>>2]=0;a[b+36>>0]=0;a[b+37>>0]=0;if(j)pS(b,f,h);else jS(b,f,h);aBb(f);j=YAb(16)|0;_la(j,b,0,1);Gs(d,40,j);Hi[c[(c[j>>2]|0)+12>>2]&1023](j);d=1;i=k;return d|0}function NG(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=+d;e=+e;f=+f;g=+g;h=h|0;a=YAb(32)|0;Ima(a,b,c,d,e,f,g,h);return a|0}function OG(a,b,c,d){a=a|0;b=b|0;c=+c;d=+d;a=YAb(32)|0;$na(a,b,c,d);return a|0}function PG(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=+d;e=+e;f=f|0;a=YAb(32)|0;NH(a,b,c,d,e,f);return a|0}function QG(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=+d;e=+e;f=+f;g=+g;h=+h;i=+i;j=j|0;a=YAb(32)|0;mH(a,b,c,d,e,f,g,h,i,j);return a|0}function RG(a,b,d,e,f,g,h,j,k){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=+j;k=k|0;var l=0,m=0;l=i;i=i+64|0;a=YAb(32)|0;m=c[e+4>>2]|0;c[l+24>>2]=c[e>>2];c[l+24+4>>2]=m;e=c[f+4>>2]|0;c[l+16>>2]=c[f>>2];c[l+16+4>>2]=e;f=c[g+4>>2]|0;c[l+8>>2]=c[g>>2];c[l+8+4>>2]=f;f=c[h+4>>2]|0;c[l>>2]=c[h>>2];c[l+4>>2]=f;c[l+32>>2]=c[l+24>>2];c[l+32+4>>2]=c[l+24+4>>2];c[l+40>>2]=c[l+16>>2];c[l+40+4>>2]=c[l+16+4>>2];c[l+48>>2]=c[l+8>>2];c[l+48+4>>2]=c[l+8+4>>2];c[l+56>>2]=c[l>>2];c[l+56+4>>2]=c[l+4>>2];GH(a,b,d,l+32|0,l+40|0,l+48|0,l+56|0,j,k);i=l;return a|0}function SG(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=+d;e=e|0;a=YAb(32)|0;Gna(a,b,c,d,e);return a|0}function TG(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=+d;e=+e;f=+f;g=+g;h=h|0;a=YAb(32)|0;zna(a,b,c,d,e,f,g,h);return a|0}function UG(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=+d;e=+e;f=+f;g=+g;h=h|0;a=YAb(32)|0;tI(a,b,c,d,e,f,g,h);return a|0}function VG(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=+d;e=+e;f=+f;g=+g;h=+h;i=+i;j=j|0;a=YAb(32)|0;AI(a,b,c,d,e,f,g,h,i,j);return a|0}function WG(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=+d;e=+e;f=+f;g=+g;h=+h;i=i|0;a=YAb(32)|0;fI(a,b,c,d,e,f,g,h,i);return a|0}function XG(a,b,c){a=a|0;b=b|0;c=c|0;a=YAb(32)|0;Nna(a,b,c);return a|0}function YG(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=+d;e=e|0;a=YAb(32)|0;Ona(a,b,c,d,e);return a|0}function ZG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=+d;a=YAb(20)|0;Vma(a,b,c,d);return a|0}function _G(d,e){d=d|0;e=e|0;var f=0,h=0,j=0;d=i;i=i+192|0;h=$G(e,1,35)|0;f=$G(e,2,35)|0;c[d+160+16>>2]=0;c[d+160+20>>2]=0;g[d+160+24>>2]=0.0;c[d+132+16>>2]=0;c[d+132+20>>2]=0;g[d+132+24>>2]=0.0;c[d+40+16>>2]=0;c[d+40+20>>2]=0;g[d+40+24>>2]=0.0;c[d+40+44>>2]=0;c[d+40+48>>2]=0;g[d+40+52>>2]=0.0;b[d+4>>1]=0;cS(d+160|0,c[(c[h+16>>2]|0)+12>>2]|0,0);cS(d+132|0,c[(c[f+16>>2]|0)+12>>2]|0,0);c[d+40>>2]=c[d+160>>2];c[d+40+4>>2]=c[d+160+4>>2];c[d+40+8>>2]=c[d+160+8>>2];c[d+40+12>>2]=c[d+160+12>>2];c[d+40+16>>2]=c[d+160+16>>2];c[d+40+20>>2]=c[d+160+20>>2];c[d+40+24>>2]=c[d+160+24>>2];j=d+40+28|0;c[j>>2]=c[d+132>>2];c[j+4>>2]=c[d+132+4>>2];c[j+8>>2]=c[d+132+8>>2];c[j+12>>2]=c[d+132+12>>2];c[j+16>>2]=c[d+132+16>>2];c[j+20>>2]=c[d+132+20>>2];c[j+24>>2]=c[d+132+24>>2];h=(c[(c[h+16>>2]|0)+8>>2]|0)+12|0;c[d+40+56>>2]=c[h>>2];c[d+40+56+4>>2]=c[h+4>>2];c[d+40+56+8>>2]=c[h+8>>2];c[d+40+56+12>>2]=c[h+12>>2];f=(c[(c[f+16>>2]|0)+8>>2]|0)+12|0;c[d+40+72>>2]=c[f>>2];c[d+40+72+4>>2]=c[f+4>>2];c[d+40+72+8>>2]=c[f+8>>2];c[d+40+72+12>>2]=c[f+12>>2];a[d+40+88>>0]=1;eS(d+16|0,d,d+40|0);IDa(e,+g[d+16+16>>2]*+(c[4086]|0));IDa(e,+g[d+16>>2]*+(c[4086]|0));IDa(e,+g[d+16+4>>2]*+(c[4086]|0));IDa(e,+g[d+16+8>>2]*+(c[4086]|0));IDa(e,+g[d+16+12>>2]*+(c[4086]|0));i=d;return 5}function $G(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((qDa(a,b)|0)!=7){c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0}e=EDa(a,b)|0;if(c[(c[155773]|0)+(c[e>>2]<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0){d=e+4|0;d=c[d>>2]|0;i=f;return d|0}c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0;d=e+4|0;d=c[d>>2]|0;i=f;return d|0}function aH(a){a=+a;return +(+(c[4086]|0)*a)}function bH(a){a=a|0;var b=0;b=i;i=i+16|0;if((a|0)<1){a=nf(16)|0;ds(a,354073,b);zc(a|0,96,27)}else{c[4086]=a;i=b;return}}function cH(){return c[4086]|0}function dH(a,b){a=a|0;b=b|0;var d=0.0,e=0;e=c[b>>2]|0;b=c[b+4>>2]|0;c[a>>2]=e;c[a+4>>2]=b;d=+(c[4086]|0);g[a>>2]=(c[k>>2]=e,+g[k>>2])*d;g[a+4>>2]=d*(c[k>>2]=b,+g[k>>2]);return}function eH(a,b){a=a|0;b=b|0;var d=0.0,e=0.0,f=0.0;d=+(c[4086]|0);f=+g[b>>2]*d;e=d*+g[b+4>>2];g[a>>2]=f;g[a+4>>2]=e;e=+g[b+8>>2]*d;d=d*+g[b+8+4>>2];g[a+8>>2]=e;g[a+12>>2]=d;return}function fH(a){a=a|0;hI(a);return}function gH(a){a=a|0;hI(a);oAb(a);return}function hH(a,b,d){a=a|0;b=b|0;d=d|0;jI(a,b,d);c[a>>2]=16388;return}function iH(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+16|0;ns(b,0)|0;a=c[a+8>>2]|0;d=c[a+148>>2]|0;if((d|0)<=0){b=d<<1;i=f;return b|0}e=0;do{bT((c[a+148>>2]|0)>(e|0),443196);dH(f,a+20+(e<<3)|0);IDa(b,+g[f>>2]);IDa(b,+g[f+4>>2]);e=e+1|0}while((e|0)!=(d|0));b=d<<1;i=f;return b|0}function jH(a){a=a|0;return RS(c[a+8>>2]|0)|0}function kH(a){a=a|0;iG(a);return}function lH(a){a=a|0;iG(a);oAb(a);return}function mH(b,d,e,f,h,j,k,l,m,n){b=b|0;d=d|0;e=e|0;f=+f;h=+h;j=+j;k=+k;l=+l;m=+m;n=n|0;var o=0,p=0;o=i;i=i+112|0;lG(b,d,e);c[b>>2]=16412;c[b+28>>2]=0;c[o+40>>2]=0;c[o+40+4>>2]=0;c[o+40+8>>2]=0;c[o+40+12>>2]=0;a[o+40+16>>0]=0;c[o+40>>2]=2;c[o+40+20>>2]=0;c[o+40+20+4>>2]=0;c[o+40+20+8>>2]=0;c[o+40+20+12>>2]=0;g[o+40+36>>2]=1.0;g[o+40+40>>2]=0.0;g[o+40+44>>2]=0.0;a[o+40+48>>0]=0;g[o+40+52>>2]=0.0;g[o+40+56>>2]=0.0;a[o+40+60>>0]=0;g[o+40+64>>2]=0.0;g[o+40+68>>2]=0.0;p=c[d+8>>2]|0;d=c[e+8>>2]|0;g[o+24>>2]=f;g[o+24+4>>2]=h;GG(o+32|0,o+24|0);g[o+16>>2]=l;g[o+16+4>>2]=m;WU(o+40|0,p,d,o+32|0,o+16|0);e=c[e+8>>2]|0;g[o>>2]=j;g[o+4>>2]=k;GG(o+8|0,o);h=+g[o+8>>2]-+g[e+12>>2];j=+g[o+8+4>>2]-+g[e+16>>2];f=+g[e+24>>2];k=+g[e+20>>2];g[o+40+28>>2]=h*f+j*k;g[o+40+32>>2]=f*j-h*k;g[o+40+52>>2]=0.0;g[o+40+56>>2]=100.0;a[o+40+48>>0]=1;a[o+40+16>>0]=n&1;c[b+28>>2]=tG(b,o+40|0)|0;i=o;return}function nH(a){a=a|0;return +(+aH(+YU(c[a+28>>2]|0)))}function oH(a){a=a|0;return +(+aH(+ZU(c[a+28>>2]|0)))}function pH(a,b){a=a|0;b=b|0;eV(c[a+28>>2]|0,b);return}function qH(a){a=a|0;return dV(c[a+28>>2]|0)|0}function rH(a,b){a=a|0;b=+b;a=c[a+28>>2]|0;gV(a,+HG(b));return}function sH(a,b){a=a|0;b=+b;a=c[a+28>>2]|0;fV(a,+HG(b));return}function tH(a){a=a|0;return +(+aH(+g[(c[a+28>>2]|0)+132>>2]))}function uH(a,b){a=a|0;b=+b;return +(+aH(+hV(c[a+28>>2]|0,b)))}function vH(a){a=a|0;return +(+aH(+g[(c[a+28>>2]|0)+128>>2]))}function wH(a,b){a=a|0;b=b|0;$U(c[a+28>>2]|0,b);return}function xH(a){a=a|0;return _U(c[a+28>>2]|0)|0}function yH(a,b){a=a|0;b=+b;var d=0.0;a=c[a+28>>2]|0;d=+aV(a);cV(a,d,+HG(b));return}function zH(a,b){a=a|0;b=+b;var d=0;d=c[a+28>>2]|0;b=+HG(b);cV(d,b,+bV(c[a+28>>2]|0));return}function AH(a,b,d){a=a|0;b=+b;d=+d;a=c[a+28>>2]|0;b=+HG(b);cV(a,b,+HG(d));return}function BH(a){a=a|0;return +(+aH(+aV(c[a+28>>2]|0)))}function CH(a){a=a|0;return +(+aH(+bV(c[a+28>>2]|0)))}function DH(a,b){a=a|0;b=b|0;IDa(b,+aH(+aV(c[a+28>>2]|0)));IDa(b,+aH(+bV(c[a+28>>2]|0)));return 2}function EH(a){a=a|0;iG(a);return}function FH(a){a=a|0;iG(a);oAb(a);return}function GH(b,d,e,f,h,j,k,l,m){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;j=j|0;k=k|0;l=+l;m=m|0;var n=0;n=i;i=i+96|0;lG(b,d,e);c[b>>2]=16436;c[b+28>>2]=0;c[n+32>>2]=0;c[n+32+4>>2]=0;c[n+32+8>>2]=0;c[n+32+12>>2]=0;c[n+32>>2]=4;g[n+32+20>>2]=-1.0;g[n+32+24>>2]=1.0;g[n+32+28>>2]=1.0;g[n+32+32>>2]=1.0;g[n+32+36>>2]=-1.0;g[n+32+40>>2]=0.0;g[n+32+44>>2]=1.0;g[n+32+48>>2]=0.0;g[n+32+52>>2]=0.0;g[n+32+56>>2]=0.0;g[n+32+60>>2]=1.0;a[n+32+16>>0]=1;d=c[d+8>>2]|0;e=c[e+8>>2]|0;GG(n+24|0,f);GG(n+16|0,h);GG(n+8|0,j);GG(n,k);sV(n+32|0,d,e,n+24|0,n+16|0,n+8|0,n,l);a[n+32+16>>0]=m&1;c[b+28>>2]=tG(b,n+32|0)|0;i=n;return}function HH(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+32|0;uV(d+24|0,c[a+28>>2]|0);IDa(b,+aH(+g[d+24>>2]));uV(d+16|0,c[a+28>>2]|0);IDa(b,+aH(+g[d+16+4>>2]));vV(d+8|0,c[a+28>>2]|0);IDa(b,+aH(+g[d+8>>2]));vV(d,c[a+28>>2]|0);IDa(b,+aH(+g[d+4>>2]));i=d;return 4}function IH(a){a=a|0;return +(+aH(+wV(c[a+28>>2]|0)))}function JH(a){a=a|0;return +(+aH(+xV(c[a+28>>2]|0)))}function KH(a){a=a|0;return +(+yV(c[a+28>>2]|0))}function LH(a){a=a|0;iG(a);return}function MH(a){a=a|0;iG(a);oAb(a);return}function NH(b,d,e,f,h,j){b=b|0;d=d|0;e=e|0;f=+f;h=+h;j=j|0;var k=0,l=0;k=i;i=i+80|0;lG(b,d,e);c[b>>2]=16460;c[b+28>>2]=0;c[k+16>>2]=0;c[k+16+4>>2]=0;c[k+16+8>>2]=0;c[k+16+12>>2]=0;a[k+16+16>>0]=0;c[k+16>>2]=1;l=k+16+20|0;g[k+16+44>>2]=0.0;g[k+16+48>>2]=0.0;g[k+16+60>>2]=0.0;g[k+16+56>>2]=0.0;a[k+16+52>>0]=0;c[l>>2]=0;c[l+4>>2]=0;c[l+8>>2]=0;c[l+12>>2]=0;c[l+16>>2]=0;a[l+20>>0]=0;d=c[d+8>>2]|0;e=c[e+8>>2]|0;g[k>>2]=f;g[k+4>>2]=h;GG(k+8|0,k);IV(k+16|0,d,e,k+8|0);a[k+16+16>>0]=j&1;c[b+28>>2]=tG(b,k+16|0)|0;i=k;return}function OH(a){a=a|0;return +(+KV(c[a+28>>2]|0))}function PH(a){a=a|0;return +(+LV(c[a+28>>2]|0))}function QH(a,b){a=a|0;b=b|0;NV(c[a+28>>2]|0,b);return}function RH(a){a=a|0;return MV(c[a+28>>2]|0)|0}function SH(a,b){a=a|0;b=+b;a=c[a+28>>2]|0;QV(a,+HG(+HG(b)));return}function TH(a,b){a=a|0;b=+b;PV(c[a+28>>2]|0,b);return}function UH(a){a=a|0;return +(+g[(c[a+28>>2]|0)+108>>2])}function VH(a,b){a=a|0;b=+b;return +(+aH(+aH(+OV(c[a+28>>2]|0,b))))}function WH(a){a=a|0;return +(+aH(+aH(+g[(c[a+28>>2]|0)+104>>2])))}function XH(a,b){a=a|0;b=b|0;SV(c[a+28>>2]|0,b);return}function YH(a){a=a|0;return RV(c[a+28>>2]|0)|0}function ZH(a,b){a=a|0;b=+b;a=c[a+28>>2]|0;VV(a,+TV(a),b);return}function _H(a,b){a=a|0;b=+b;a=c[a+28>>2]|0;VV(a,b,+UV(a));return}function $H(a,b,d){a=a|0;b=+b;d=+d;VV(c[a+28>>2]|0,b,d);return}function aI(a){a=a|0;return +(+TV(c[a+28>>2]|0))}function bI(a){a=a|0;return +(+UV(c[a+28>>2]|0))}function cI(a,b){a=a|0;b=b|0;IDa(b,+TV(c[a+28>>2]|0));IDa(b,+UV(c[a+28>>2]|0));return 2}function dI(a){a=a|0;iG(a);return}function eI(a){a=a|0;iG(a);oAb(a);return}function fI(b,d,e,f,h,j,k,l,m){b=b|0;d=d|0;e=e|0;f=+f;h=+h;j=+j;k=+k;l=+l;m=m|0;var n=0;n=i;i=i+64|0;g[n+12>>2]=f;g[n+8>>2]=h;g[n+4>>2]=j;g[n>>2]=k;lG(b,d,e);c[b>>2]=16484;c[b+28>>2]=0;c[n+16>>2]=0;c[n+16+4>>2]=0;c[n+16+8>>2]=0;c[n+16+12>>2]=0;a[n+16+16>>0]=0;c[n+16>>2]=10;g[n+16+20>>2]=-1.0;g[n+16+24>>2]=0.0;g[n+16+28>>2]=1.0;g[n+16+32>>2]=0.0;g[n+16+36>>2]=0.0;c[n+16+8>>2]=c[d+8>>2];c[n+16+12>>2]=c[e+8>>2];Cla(d,f,h,n+12|0,n+8|0);Cla(e,j,k,n+4|0,n);g[n+16+20>>2]=+HG(+g[n+12>>2]);g[n+16+24>>2]=+HG(+g[n+8>>2]);g[n+16+28>>2]=+HG(+g[n+4>>2]);g[n+16+32>>2]=+HG(+g[n>>2]);g[n+16+36>>2]=+HG(l);a[n+16+16>>0]=m&1;c[b+28>>2]=tG(b,n+16|0)|0;i=n;return}function gI(a){a=a|0;return +(+aH(+eW(c[a+28>>2]|0)))}function hI(b){b=b|0;var d=0;c[b>>2]=16508;d=c[b+8>>2]|0;if(d|0)if(a[b+12>>0]|0){d_(d);d=c[b+8>>2]|0;if(d|0)Hi[c[(c[d>>2]|0)+4>>2]&1023](d)}c[b+8>>2]=0;Jn(b);return}function iI(b){b=b|0;var d=0;c[b>>2]=16508;d=c[b+8>>2]|0;if(d|0)if(a[b+12>>0]|0){d_(d);d=c[b+8>>2]|0;if(d|0)Hi[c[(c[d>>2]|0)+4>>2]&1023](d)}c[b+8>>2]=0;Jn(b);oAb(b);return}function jI(b,d,e){b=b|0;d=d|0;e=e|0;Jj(b);c[b>>2]=16508;c[b+8>>2]=d;a[b+12>>0]=e&1;if(!e)return;c_(d,b);return}function kI(a){a=a|0;switch(c[(c[a+8>>2]|0)+4>>2]|0){case 0:{a=1;break}case 2:{a=2;break}case 1:{a=3;break}case 3:{a=4;break}default:a=0}return a|0}function lI(a){a=a|0;return +(+aH(+g[(c[a+8>>2]|0)+8>>2]))}function mI(a){a=a|0;a=c[a+8>>2]|0;return vi[c[(c[a>>2]|0)+12>>2]&2047](a)|0}function nI(a,b,d,e,f,h){a=a|0;b=+b;d=+d;e=+e;f=+f;h=+h;var j=0,k=0;j=i;i=i+48|0;g[j+32>>2]=f;g[j+32+4>>2]=h;g[j+24>>2]=b;g[j+24+4>>2]=d;GG(j,j+24|0);d=+Q(+e);g[j+8>>2]=+R(+e);g[j+12>>2]=d;a=c[a+8>>2]|0;k=c[(c[a>>2]|0)+16>>2]|0;GG(j+16|0,j+32|0);a=Gi[k&255](a,j,j+16|0)|0;i=j;return a|0}function oI(a,b){a=a|0;b=b|0;var d=0,e=0,f=0.0,h=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0;d=i;i=i+64|0;o=+HG(+_Ga(b,1));n=+HG(+_Ga(b,2));m=+HG(+_Ga(b,3));l=+HG(+_Ga(b,4));h=+_Ga(b,5);k=+HG(+_Ga(b,6));j=+HG(+_Ga(b,7));f=+_Ga(b,8);e=~~+$Ga(b,9,1.0)+-1|0;g[d+32>>2]=o;g[d+32+4>>2]=n;g[d+32+8>>2]=m;g[d+32+12>>2]=l;g[d+32+16>>2]=h;h=+R(+f);f=+Q(+f);g[d+16>>2]=k;g[d+16+4>>2]=j;g[d+16+8>>2]=h;g[d+16+12>>2]=f;a=c[a+8>>2]|0;if(!(Ci[c[(c[a>>2]|0)+20>>2]&127](a,d,d+32|0,d+16|0,e)|0)){e=0;i=d;return e|0}IDa(b,+g[d>>2]);IDa(b,+g[d+4>>2]);IDa(b,+g[d+8>>2]);e=3;i=d;return e|0}function pI(a,b){a=a|0;b=b|0;var d=0,e=0,f=0.0,h=0.0,j=0.0,k=0.0;d=i;i=i+48|0;k=+HG(+_Ga(b,1));j=+HG(+_Ga(b,2));f=+_Ga(b,3);e=~~+$Ga(b,4,1.0)+-1|0;h=+R(+f);f=+Q(+f);g[d+32>>2]=k;g[d+32+4>>2]=j;g[d+32+8>>2]=h;g[d+32+12>>2]=f;a=c[a+8>>2]|0;kj[c[(c[a>>2]|0)+24>>2]&127](a,d+16|0,d+32|0,e);eH(d,d+16|0);c[d+16>>2]=c[d>>2];c[d+16+4>>2]=c[d+4>>2];c[d+16+8>>2]=c[d+8>>2];c[d+16+12>>2]=c[d+12>>2];IDa(b,+g[d+16>>2]);IDa(b,+g[d+16+4>>2]);IDa(b,+g[d+16+8>>2]);IDa(b,+g[d+16+12>>2]);i=d;return 4}function qI(a,b){a=a|0;b=b|0;var d=0,e=0.0;d=i;i=i+32|0;e=+_Ga(b,1);a=c[a+8>>2]|0;Li[c[(c[a>>2]|0)+28>>2]&31](a,d+8|0,e);dH(d,d+8+4|0);IDa(b,+g[d>>2]);IDa(b,+g[d+4>>2]);IDa(b,+g[d+8>>2]);IDa(b,+aH(+aH(+g[d+8+12>>2])));i=d;return 4}function rI(a){a=a|0;iG(a);return}function sI(a){a=a|0;iG(a);oAb(a);return}function tI(b,d,e,f,h,j,k,l){b=b|0;d=d|0;e=e|0;f=+f;h=+h;j=+j;k=+k;l=l|0;var m=0,n=0;m=i;i=i+80|0;lG(b,d,e);c[b>>2]=16532;c[b+28>>2]=0;c[m+32>>2]=0;c[m+32+4>>2]=0;c[m+32+8>>2]=0;c[m+32+12>>2]=0;a[m+32+16>>0]=0;c[m+32>>2]=8;n=m+32+20|0;c[n>>2]=0;c[n+4>>2]=0;c[n+8>>2]=0;c[n+12>>2]=0;c[n+16>>2]=0;c[n+20>>2]=0;c[n+24>>2]=0;n=c[d+8>>2]|0;d=c[e+8>>2]|0;g[m+16>>2]=f;g[m+16+4>>2]=h;GG(m+24|0,m+16|0);oW(m+32|0,n,d,m+24|0);e=c[e+8>>2]|0;g[m>>2]=j;g[m+4>>2]=k;GG(m+8|0,m);h=+g[m+8>>2]-+g[e+12>>2];j=+g[m+8+4>>2]-+g[e+16>>2];f=+g[e+24>>2];k=+g[e+20>>2];g[m+32+28>>2]=h*f+j*k;g[m+32+32>>2]=f*j-h*k;a[m+32+16>>0]=l&1;c[b+28>>2]=tG(b,m+32|0)|0;i=m;return}function uI(a,b){a=a|0;b=+b;g[(c[a+28>>2]|0)+68>>2]=b;return}function vI(a){a=a|0;return +(+g[(c[a+28>>2]|0)+68>>2])}function wI(a,b){a=a|0;b=+b;g[(c[a+28>>2]|0)+72>>2]=b;return}function xI(a){a=a|0;return +(+g[(c[a+28>>2]|0)+72>>2])}function yI(a){a=a|0;iG(a);return}function zI(a){a=a|0;iG(a);oAb(a);return}function AI(b,d,e,f,h,j,k,l,m,n){b=b|0;d=d|0;e=e|0;f=+f;h=+h;j=+j;k=+k;l=+l;m=+m;n=n|0;var o=0,p=0;o=i;i=i+112|0;lG(b,d,e);c[b>>2]=16556;c[b+28>>2]=0;c[o+40>>2]=0;c[o+40+4>>2]=0;c[o+40+8>>2]=0;c[o+40+12>>2]=0;a[o+40+16>>0]=0;c[o+40>>2]=7;c[o+40+20>>2]=0;c[o+40+20+4>>2]=0;c[o+40+20+8>>2]=0;c[o+40+20+12>>2]=0;g[o+40+36>>2]=1.0;g[o+40+40>>2]=0.0;a[o+40+44>>0]=0;g[o+40+48>>2]=0.0;g[o+40+52>>2]=0.0;g[o+40+56>>2]=2.0;g[o+40+60>>2]=.699999988079071;p=c[d+8>>2]|0;d=c[e+8>>2]|0;g[o+24>>2]=f;g[o+24+4>>2]=h;GG(o+32|0,o+24|0);g[o+16>>2]=l;g[o+16+4>>2]=m;zW(o+40|0,p,d,o+32|0,o+16|0);e=c[e+8>>2]|0;g[o>>2]=j;g[o+4>>2]=k;GG(o+8|0,o);h=+g[o+8>>2]-+g[e+12>>2];j=+g[o+8+4>>2]-+g[e+16>>2];f=+g[e+24>>2];k=+g[e+20>>2];g[o+40+28>>2]=h*f+j*k;g[o+40+32>>2]=f*j-h*k;a[o+40+16>>0]=n&1;c[b+28>>2]=tG(b,o+40|0)|0;i=o;return}function BI(a){a=a|0;return +(+aH(+BW(c[a+28>>2]|0)))}function CI(a){a=a|0;return +(+aH(+CW(c[a+28>>2]|0)))}function DI(a,b){a=a|0;b=b|0;EW(c[a+28>>2]|0,b);return}function EI(a){a=a|0;return DW(c[a+28>>2]|0)|0}function FI(a,b){a=a|0;b=+b;FW(c[a+28>>2]|0,b);return}function GI(a){a=a|0;return +(+g[(c[a+28>>2]|0)+124>>2])}function HI(a,b){a=a|0;b=+b;a=c[a+28>>2]|0;GW(a,+HG(+HG(b)));return}function II(a){a=a|0;return +(+aH(+aH(+g[(c[a+28>>2]|0)+120>>2])))}function JI(a,b){a=a|0;b=+b;return +(+aH(+aH(+HW(c[a+28>>2]|0,b))))}function KI(a,b){a=a|0;b=+b;g[(c[a+28>>2]|0)+68>>2]=b;return}function LI(a){a=a|0;return +(+g[(c[a+28>>2]|0)+68>>2])}function MI(a,b){a=a|0;b=+b;g[(c[a+28>>2]|0)+72>>2]=b;return}function NI(a){a=a|0;return +(+g[(c[a+28>>2]|0)+72>>2])}function OI(a){a=a|0;return}function PI(a){a=a|0;oAb(a);return}function QI(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;d=c[a+4>>2]|0;if(!d){a=1;i=e;return a|0}pDa(d,c[a+8>>2]|0);d=e_(b)|0;if(!d){a=nf(16)|0;ds(a,441826,e);zc(a|0,96,27)}Gs(c[a+4>>2]|0,35,d);dEa(c[a+4>>2]|0,1,1);b=fs(c[a+4>>2]|0,-1)|0;lDa(c[a+4>>2]|0,-2);a=b;i=e;return a|0}function RI(a){a=a|0;return}function SI(a){a=a|0;oAb(a);return}function TI(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=+f;var h=0,j=0;j=i;i=i+32|0;h=c[a+4>>2]|0;if(!h){f=0.0;i=j;return +f}pDa(h,c[a+8>>2]|0);h=e_(b)|0;if(!h){a=nf(16)|0;ds(a,441826,j);zc(a|0,96,27)}Gs(c[a+4>>2]|0,35,h);dH(j+16|0,d);IDa(c[a+4>>2]|0,+g[j+16>>2]);IDa(c[a+4>>2]|0,+g[j+16+4>>2]);IDa(c[a+4>>2]|0,+g[e>>2]);IDa(c[a+4>>2]|0,+g[e+4>>2]);IDa(c[a+4>>2]|0,f);dEa(c[a+4>>2]|0,6,1);if(!(tDa(c[a+4>>2]|0,-1)|0))PGa(c[a+4>>2]|0,354500,j+8|0)|0;f=+yDa(c[a+4>>2]|0,-1);lDa(c[a+4>>2]|0,-2);i=j;return +f}function UI(a){a=a|0;var b=0,d=0;c[a>>2]=16620;c[a+8>>2]=16672;c[a+12>>2]=16704;c[a+16>>2]=16724;VI(a);b=c[a+100>>2]|0;if(b|0)Hi[c[(c[b>>2]|0)+4>>2]&1023](b);b=c[a+92>>2]|0;if(b|0)Hi[c[(c[b>>2]|0)+4>>2]&1023](b);b=c[a+84>>2]|0;if(b|0)Hi[c[(c[b>>2]|0)+4>>2]&1023](b);b=c[a+76>>2]|0;if(b|0)Hi[c[(c[b>>2]|0)+4>>2]&1023](b);b=c[a+68>>2]|0;if(b|0)Hi[c[(c[b>>2]|0)+4>>2]&1023](b);b=c[a+52>>2]|0;if(b|0){d=c[a+56>>2]|0;if((d|0)!=(b|0))c[a+56>>2]=d+(~((d+-4-b|0)>>>2)<<2);oAb(b)}b=c[a+40>>2]|0;if(b|0){d=c[a+44>>2]|0;if((d|0)!=(b|0))c[a+44>>2]=d+(~((d+-4-b|0)>>>2)<<2);oAb(b)}b=c[a+28>>2]|0;if(!b)return;d=c[a+32>>2]|0;if((d|0)!=(b|0))c[a+32>>2]=d+(~((d+-4-b|0)>>>2)<<2);oAb(b);return}function VI(b){b=b|0;var d=0,e=0,f=0;f=i;i=i+16|0;d=c[b+20>>2]|0;if(!d){i=f;return}if(c[d+102868>>2]&2|0){a[b+64>>0]=1;i=f;return}e=c[d+102952>>2]|0;do if(e){while(1){d=e;e=c[e+96>>2]|0;if((d|0)!=(c[b+24>>2]|0)){d=e_(d)|0;if(!d){e=8;break}Ula(d)}if(!e){e=10;break}}if((e|0)==8){b=nf(16)|0;ds(b,354613,f);zc(b|0,96,27)}else if((e|0)==10){d=c[b+20>>2]|0;break}}while(0);iT(d,c[b+24>>2]|0);d_(c[b+20>>2]|0);d=c[b+20>>2]|0;if(d|0){dT(d);oAb(d)}c[b+20>>2]=0;i=f;return}function WI(a){a=a|0;UI(a);oAb(a);return}function XI(a,b){a=a|0;b=b|0;YI(a+68|0,b,0);return}function YI(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0;h=i;i=i+16|0;e=c[a>>2]|0;if(!e){i=h;return}f=c[a+4>>2]|0;if(!f){i=h;return}j_(e,f);e=e_(c[b+48>>2]|0)|0;if(!e){a=nf(16)|0;ds(a,441826,h);zc(a|0,96,27)}Gs(c[a+4>>2]|0,35,e);e=e_(c[b+52>>2]|0)|0;if(!e){a=nf(16)|0;ds(a,441826,h+8|0);zc(a|0,96,27)}Gs(c[a+4>>2]|0,35,e);e=e_(b)|0;if(!e){e=YAb(12)|0;oma(e,b)}else Hi[c[(c[e>>2]|0)+8>>2]&1023](e);Gs(c[a+4>>2]|0,33,e);Hi[c[(c[e>>2]|0)+12>>2]&1023](e);if(!d)e=3;else if((c[d+16>>2]|0)>0){e=3;f=0;do{b=c[a+4>>2]|0;IDa(b,+aH(+g[d+(f<<2)>>2]));b=c[a+4>>2]|0;IDa(b,+aH(+g[d+8+(f<<2)>>2]));e=e+2|0;f=f+1|0}while((f|0)<(c[d+16>>2]|0))}else e=3;dEa(c[a+4>>2]|0,e,0);i=h;return}function ZI(a,b){a=a|0;b=b|0;YI(a+76|0,b,0);b=e_(b)|0;if(!b)return;pma(b);return}function _I(a,b,c){a=a|0;b=b|0;c=c|0;YI(a+84|0,b,0);return}function $I(a,b,c){a=a|0;b=b|0;c=c|0;YI(a+92|0,b,c);return}function aJ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=i;i=i+16|0;d=e_(b)|0;b=e_(c)|0;if((d|0)!=0&(b|0)!=0){a=bJ(a+100|0,d,b)|0;i=e;return a|0}else{a=nf(16)|0;ds(a,441826,e);zc(a|0,96,27)}return 0}function bJ(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+32|0;hna(b,g+12|0);hna(d,g);e=c[g+12+8>>2]|0;if(e|0)if((e|0)==(c[g+8>>2]|0)){a=(e|0)>0;i=g;return a|0}if(!(c[g>>2]&c[g+12+4>>2])){a=0;i=g;return a|0}if(!(c[g+12>>2]&c[g+4>>2])){a=0;i=g;return a|0}e=c[a>>2]|0;if(!e){a=1;i=g;return a|0}f=c[a+4>>2]|0;if(!f){a=1;i=g;return a|0}j_(e,f);Gs(c[a+4>>2]|0,35,b);Gs(c[a+4>>2]|0,35,d);dEa(c[a+4>>2]|0,2,1);a=fs(c[a+4>>2]|0,-1)|0;i=g;return a|0}function cJ(a,b){a=a|0;b=b|0;b=e_(b)|0;if(!b)return;vna(b,1);return}function dJ(a,b){a=a|0;b=b|0;b=e_(b)|0;if(!b)return;uG(b,1);return}function eJ(a){a=a|0;UI(a+-8|0);return}function fJ(a){a=a|0;UI(a+-8|0);oAb(a+-8|0);return}function gJ(a,b){a=a|0;b=b|0;YI(a+-8+68|0,b,0);return}function hJ(a,b){a=a|0;b=b|0;YI(a+-8+76|0,b,0);b=e_(b)|0;if(!b)return;pma(b);return}function iJ(a,b,c){a=a|0;b=b|0;c=c|0;YI(a+-8+84|0,b,0);return}function jJ(a,b,c){a=a|0;b=b|0;c=c|0;YI(a+-8+92|0,b,c);return}function kJ(a){a=a|0;UI(a+-12|0);return}function lJ(a){a=a|0;UI(a+-12|0);oAb(a+-12|0);return}function mJ(a,b,c){a=a|0;b=b|0;c=c|0;return aJ(a+-12|0,b,c)|0}function nJ(a){a=a|0;UI(a+-16|0);return}function oJ(a){a=a|0;UI(a+-16|0);oAb(a+-16|0);return}function pJ(a,b){a=a|0;b=b|0;b=e_(b)|0;if(!b)return;uG(b,1);return}function qJ(a,b){a=a|0;b=b|0;b=e_(b)|0;if(!b)return;vna(b,1);return}function rJ(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,h=0,j=0;h=i;i=i+64|0;Jj(b);c[b>>2]=16620;c[b+8>>2]=16672;c[b+12>>2]=16704;c[b+16>>2]=16724;c[b+20>>2]=0;f=b+28|0;j=f+36|0;do{c[f>>2]=0;f=f+4|0}while((f|0)<(j|0));a[b+28+36>>0]=0;f=b+68|0;j=f+40|0;do{c[f>>2]=0;f=f+4|0}while((f|0)<(j|0));j=YAb(103028)|0;GG(h,d);cT(j,h);c[b+20>>2]=j;lT(j,e);gT(c[b+20>>2]|0,b+8|0);fT(c[b+20>>2]|0,b+12|0);eT(c[b+20>>2]|0,b+16|0);c[h+8+44>>2]=0;j=h+8+4|0;c[j>>2]=0;c[j+4>>2]=0;c[j+8>>2]=0;c[j+12>>2]=0;c[j+16>>2]=0;c[j+20>>2]=0;c[j+24>>2]=0;c[j+28>>2]=0;a[h+8+36>>0]=1;a[h+8+37>>0]=1;a[h+8+38>>0]=0;a[h+8+39>>0]=0;c[h+8>>2]=0;a[h+8+40>>0]=1;g[h+8+48>>2]=1.0;c[b+24>>2]=hT(c[b+20>>2]|0,h+8|0)|0;c_(c[b+20>>2]|0,b);i=h;return}function sJ(b,d){b=b|0;d=+d;var e=0,f=0,g=0;oT(c[b+20>>2]|0,d,8,6);e=c[b+28>>2]|0;g=c[b+32>>2]|0;if((e|0)!=(g|0))do{f=c[e>>2]|0;if(c[f+8>>2]|0)Ula(f);Hi[c[(c[f>>2]|0)+12>>2]&1023](f);e=e+4|0}while((e|0)!=(g|0));e=c[b+40>>2]|0;g=c[b+44>>2]|0;if((e|0)!=(g|0))do{f=c[e>>2]|0;if(fna(f)|0)vna(f,0);Hi[c[(c[f>>2]|0)+12>>2]&1023](f);e=e+4|0}while((e|0)!=(g|0));e=c[b+52>>2]|0;g=c[b+56>>2]|0;if((e|0)!=(g|0))do{f=c[e>>2]|0;if(pG(f)|0)uG(f,0);Hi[c[(c[f>>2]|0)+12>>2]&1023](f);e=e+4|0}while((e|0)!=(g|0));e=c[b+28>>2]|0;f=c[b+32>>2]|0;if((f|0)!=(e|0))c[b+32>>2]=f+(~((f+-4-e|0)>>>2)<<2);e=c[b+40>>2]|0;f=c[b+44>>2]|0;if((f|0)!=(e|0))c[b+44>>2]=f+(~((f+-4-e|0)>>>2)<<2);e=c[b+52>>2]|0;f=c[b+56>>2]|0;if((f|0)!=(e|0))c[b+56>>2]=f+(~((f+-4-e|0)>>>2)<<2);if(!(a[b+64>>0]|0))return;VI(b);return}function tJ(a){a=a|0;return (c[a+20>>2]|0)!=0|0}function uJ(a,b){a=a|0;b=b|0;var d=0,e=0;e=kDa(b)|0;if((qDa(b,1)|0)>=1)YGa(b,1,6);if((qDa(b,2)|0)>=1)YGa(b,2,6);if((qDa(b,3)|0)>=1)YGa(b,3,6);if((qDa(b,4)|0)>=1)YGa(b,4,6);d=c[a+68>>2]|0;if(d|0)Hi[c[(c[d>>2]|0)+4>>2]&1023](d);c[a+68>>2]=0;d=c[a+76>>2]|0;if(d|0)Hi[c[(c[d>>2]|0)+4>>2]&1023](d);c[a+76>>2]=0;d=c[a+84>>2]|0;if(d|0)Hi[c[(c[d>>2]|0)+4>>2]&1023](d);c[a+84>>2]=0;d=c[a+92>>2]|0;if(d|0)Hi[c[(c[d>>2]|0)+4>>2]&1023](d);c[a+92>>2]=0;if((e|0)<=0)return 0;pDa(b,1);c[a+68>>2]=es(b,6)|0;c[a+72>>2]=b;if((e|0)<=1)return 0;pDa(b,2);c[a+76>>2]=es(b,6)|0;c[a+80>>2]=b;if((e|0)<=2)return 0;pDa(b,3);c[a+84>>2]=es(b,6)|0;c[a+88>>2]=b;if((e|0)<=3)return 0;pDa(b,4);c[a+92>>2]=es(b,6)|0;c[a+96>>2]=b;return 0}function vJ(a,b){a=a|0;b=b|0;var d=0;d=c[a+68>>2]|0;if(!d)HDa(b);else j_(d,b);d=c[a+76>>2]|0;if(!d)HDa(b);else j_(d,b);d=c[a+84>>2]|0;if(!d)HDa(b);else j_(d,b);d=c[a+92>>2]|0;if(!d){HDa(b);return 4}else{j_(d,b);return 4}return 0}function wJ(a,b){a=a|0;b=b|0;c[a+104>>2]=b;c[a+96>>2]=b;c[a+88>>2]=b;c[a+80>>2]=b;c[a+72>>2]=b;return}function xJ(a,b){a=a|0;b=b|0;var d=0;if((qDa(b,1)|0)>=1)YGa(b,1,6);d=c[a+100>>2]|0;if(d|0)Hi[c[(c[d>>2]|0)+4>>2]&1023](d);c[a+100>>2]=es(b,6)|0;c[a+104>>2]=b;return 0}function yJ(a,b){a=a|0;b=b|0;a=c[a+100>>2]|0;if(!a){HDa(b);return 1}else{j_(a,b);return 1}return 0}function zJ(a,b,d){a=a|0;b=+b;d=+d;var e=0,f=0;e=i;i=i+16|0;a=c[a+20>>2]|0;g[e+8>>2]=b;g[e+8+4>>2]=d;GG(e,e+8|0);f=c[e+4>>2]|0;c[a+102968>>2]=c[e>>2];c[a+102968+4>>2]=f;i=e;return}function AJ(a,b){a=a|0;b=b|0;var d=0,e=0;d=i;i=i+16|0;e=(c[a+20>>2]|0)+102968|0;a=c[e+4>>2]|0;c[d>>2]=c[e>>2];c[d+4>>2]=a;dH(d+8|0,d);IDa(b,+g[d+8>>2]);IDa(b,+g[d+8+4>>2]);i=d;return 2}function BJ(a,b,d){a=a|0;b=+b;d=+d;var e=0;e=i;i=i+16|0;a=c[a+20>>2]|0;g[e>>2]=b;g[e+4>>2]=d;GG(e+8|0,e);tT(a,e+8|0);i=e;return}function CJ(a,b){a=a|0;b=b|0;lT(c[a+20>>2]|0,b);return}function DJ(b){b=b|0;return (a[(c[b+20>>2]|0)+102976>>0]|0)!=0|0}function EJ(a){a=a|0;return (c[(c[a+20>>2]|0)+102868>>2]&2|0)!=0|0}function FJ(a){a=a|0;return (c[(c[a+20>>2]|0)+102960>>2]|0)+-1|0}function GJ(a){a=a|0;return c[(c[a+20>>2]|0)+102964>>2]|0}function HJ(a){a=a|0;return c[(c[a+20>>2]|0)+102936>>2]|0}function IJ(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;WDa(b,0,0);d=c[(c[a+20>>2]|0)+102952>>2]|0;if(!d){i=g;return 1}e=1;while(1){if((d|0)!=(c[a+24>>2]|0)){f=e_(d)|0;if(!f){d=5;break}Gs(b,34,f);aEa(b,-2,e);e=e+1|0}d=c[d+96>>2]|0;if(!d){d=8;break}}if((d|0)==5){a=nf(16)|0;ds(a,354613,g);zc(a|0,96,27)}else if((d|0)==8){i=g;return 1}return 0}function JJ(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+16|0;WDa(b,0,0);a=c[(c[a+20>>2]|0)+102956>>2]|0;if(!a){i=f;return 1}else e=1;while(1){d=e_(a)|0;if(!d){a=3;break}Gs(b,41,d);aEa(b,-2,e);a=c[a+12>>2]|0;if(!a){a=5;break}else e=e+1|0}if((a|0)==3){b=nf(16)|0;ds(b,442172,f);zc(b|0,96,27)}else if((a|0)==5){i=f;return 1}return 0}function KJ(a,b){a=a|0;b=b|0;var d=0,e=0;WDa(b,0,0);a=c[(c[a+20>>2]|0)+102932>>2]|0;if(!a)return 1;else e=1;while(1){d=e_(a)|0;if(!d){d=YAb(12)|0;oma(d,a)}else Hi[c[(c[d>>2]|0)+8>>2]&1023](d);Gs(b,33,d);Hi[c[(c[d>>2]|0)+12>>2]&1023](d);aEa(b,-2,e);a=c[a+12>>2]|0;if(!a)break;else e=e+1|0}return 1}function LJ(a){a=a|0;return c[a+24>>2]|0}function MJ(a,b){a=a|0;b=b|0;var d=0,e=0,f=0.0,h=0.0,j=0.0,k=0.0;d=i;i=i+64|0;k=+_Ga(b,1);j=+_Ga(b,2);h=+_Ga(b,3);f=+_Ga(b,4);g[d+32>>2]=k;g[d+32+4>>2]=j;GG(d+8|0,d+32|0);g[d+24>>2]=h;g[d+24+4>>2]=f;GG(d,d+24|0);e=c[d+4>>2]|0;c[d+8+8>>2]=c[d>>2];c[d+8+8+4>>2]=e;YGa(b,5,6);c[d+40>>2]=16580;c[d+40+4>>2]=b;c[d+40+8>>2]=5;YGa(b,5,6);pT(c[a+20>>2]|0,d+40|0,d+8|0);i=d;return 0}function NJ(a,b){a=a|0;b=b|0;var d=0,e=0.0,f=0.0,h=0.0,j=0.0;d=i;i=i+48|0;j=+_Ga(b,1);h=+_Ga(b,2);f=+_Ga(b,3);e=+_Ga(b,4);g[d+24>>2]=j;g[d+24+4>>2]=h;GG(d+40|0,d+24|0);g[d>>2]=f;g[d+4>>2]=e;GG(d+32|0,d);YGa(b,5,6);c[d+8>>2]=16600;c[d+8+4>>2]=b;c[d+8+8>>2]=5;YGa(b,5,6);rT(c[a+20>>2]|0,d+8|0,d+40|0,d+32|0);i=d;return 0}function OJ(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;b=PJ(a,b,34)|0;if(c[b+8>>2]|0){i=d;return b|0}PGa(a,354642,d)|0;i=d;return b|0}function PJ(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((qDa(a,b)|0)!=7){c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0}e=EDa(a,b)|0;if(c[(c[155773]|0)+(c[e>>2]<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0){d=e+4|0;d=c[d>>2]|0;i=f;return d|0}c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0;d=e+4|0;d=c[d>>2]|0;i=f;return d|0}function QJ(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;IDa(a,+Tka(b));i=d;return 1}function RJ(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;IDa(a,+Uka(b));i=d;return 1}function SJ(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;IDa(a,+Xka(b));i=d;return 1}function TJ(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;Vka(b,d+8|0,d+4|0);IDa(a,+g[d+8>>2]);IDa(a,+g[d+4>>2]);i=d;return 2}function UJ(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;Wka(b,d+8|0,d+4|0);IDa(a,+g[d+8>>2]);IDa(a,+g[d+4>>2]);i=d;return 2}function VJ(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;Yka(b,d+8|0,d+4|0);IDa(a,+g[d+8>>2]);IDa(a,+g[d+4>>2]);i=d;return 2}function WJ(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;Zka(b,d+8|0,d+4|0);IDa(a,+g[d+8>>2]);IDa(a,+g[d+4>>2]);i=d;return 2}function XJ(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;IDa(a,+_ka(b));i=d;return 1}function YJ(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;IDa(a,+$ka(b));i=d;return 1}function ZJ(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;IDa(a,+ala(b));i=d;return 1}function _J(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;mDa(a,1);a=bla(b,a)|0;i=d;return a|0}function $J(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;IDa(a,+cla(b));i=d;return 1}function aK(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;IDa(a,+dla(b));i=d;return 1}function bK(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;IDa(a,+ela(b));i=d;return 1}function cK(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;c[d+4>>2]=1279070;In(fla(b)|0,d+4|0)|0;LDa(a,c[d+4>>2]|0);i=d;return 1}function dK(a){a=a|0;var b=0,d=0.0,e=0.0,f=0,g=0,h=0.0,j=0.0;g=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,g)|0;d=+_Ga(a,2);e=+_Ga(a,3);f=kDa(a)|0;if((f|0)>=4){if((f|0)!=4){j=+_Ga(a,4);h=+_Ga(a,5);hla(b,d,e,j,h,hs(a,6,1)|0);a=0;i=g;return a|0}if((qDa(a,4)|0)!=1){a=PGa(a,354673,g+8|0)|0;i=g;return a|0}}gla(b,d,e,hs(a,4,1)|0);a=0;i=g;return a|0}function eK(a){a=a|0;var b=0,d=0,e=0.0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;e=+_Ga(a,2);ila(b,e,hs(a,3,1)|0);i=d;return 0}function fK(a){a=a|0;var b=0,d=0,e=0.0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;e=+_Ga(a,2);jla(b,e,hs(a,3,1)|0);i=d;return 0}function gK(a){a=a|0;var b=0,d=0.0,e=0.0,f=0,g=0,h=0.0,j=0.0;g=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,g)|0;d=+_Ga(a,2);e=+_Ga(a,3);f=kDa(a)|0;do if((f|0)>=4){if((f|0)==4)if((qDa(a,4)|0)==1)break;if((kDa(a)|0)>4){j=+_Ga(a,4);h=+_Ga(a,5);kla(b,d,e,j,h,hs(a,6,1)|0);a=0;i=g;return a|0}else{a=PGa(a,354673,g+8|0)|0;i=g;return a|0}}while(0);lla(b,d,e,hs(a,4,1)|0);a=0;i=g;return a|0}function hK(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;mla(b,+_Ga(a,2));i=d;return 0}function iK(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;nla(b,+_Ga(a,2));i=d;return 0}function jK(a){a=a|0;var b=0,d=0,e=0.0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;e=+_Ga(a,2);ola(b,e,+_Ga(a,3));i=d;return 0}function kK(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;pla(b,+_Ga(a,2));i=d;return 0}function lK(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;qla(b,+_Ga(a,2));i=d;return 0}function mK(a){a=a|0;var b=0,d=0,e=0.0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;e=+_Ga(a,2);rla(b,e,+_Ga(a,3));i=d;return 0}function nK(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;ula(b);i=d;return 0}function oK(a){a=a|0;var b=0,d=0,e=0.0,f=0.0,g=0.0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;g=+_Ga(a,2);f=+_Ga(a,3);e=+_Ga(a,4);vla(b,g,f,e,+_Ga(a,5));i=d;return 0}function pK(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;wla(b,+_Ga(a,2));i=d;return 0}function qK(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;xla(b,+_Ga(a,2));i=d;return 0}function rK(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;sla(b,+_Ga(a,2));i=d;return 0}function sK(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;tla(b,+_Ga(a,2));i=d;return 0}function tK(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;yla(b,+_Ga(a,2));i=d;return 0}function uK(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;Hn(UGa(a,2,0)|0,d+4|0)|0;Ska(b,c[d+4>>2]|0);i=d;return 0}function vK(a){a=a|0;var b=0,d=0,e=0.0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;e=+_Ga(a,2);zla(b,e,+_Ga(a,3),d+8|0,d+4|0);IDa(a,+g[d+8>>2]);IDa(a,+g[d+4>>2]);i=d;return 2}function wK(a){a=a|0;var b=0,d=0,e=0.0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;e=+_Ga(a,2);Ala(b,e,+_Ga(a,3),d+8|0,d+4|0);IDa(a,+g[d+8>>2]);IDa(a,+g[d+4>>2]);i=d;return 2}function xK(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;mDa(a,1);a=Bla(b,a)|0;i=d;return a|0}function yK(a){a=a|0;var b=0,d=0,e=0.0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;e=+_Ga(a,2);Cla(b,e,+_Ga(a,3),d+8|0,d+4|0);IDa(a,+g[d+8>>2]);IDa(a,+g[d+4>>2]);i=d;return 2}function zK(a){a=a|0;var b=0,d=0,e=0.0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;e=+_Ga(a,2);Dla(b,e,+_Ga(a,3),d+8|0,d+4|0);IDa(a,+g[d+8>>2]);IDa(a,+g[d+4>>2]);i=d;return 2}function AK(a){a=a|0;var b=0,d=0,e=0.0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;e=+_Ga(a,2);Ela(b,e,+_Ga(a,3),d+8|0,d+4|0);IDa(a,+g[d+8>>2]);IDa(a,+g[d+4>>2]);i=d;return 2}function BK(a){a=a|0;var b=0,d=0,e=0.0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;e=+_Ga(a,2);Fla(b,e,+_Ga(a,3),d+8|0,d+4|0);IDa(a,+g[d+8>>2]);IDa(a,+g[d+4>>2]);i=d;return 2}function CK(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;gs(a,Gla(b)|0);i=d;return 1}function DK(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;Hla(b,fs(a,2)|0);i=d;return 0}function EK(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;gs(a,Ila(b)|0);i=d;return 1}function FK(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;gs(a,Jla(b)|0);i=d;return 1}function GK(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;Kla(b,fs(a,2)|0);i=d;return 0}function HK(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;PDa(a,(Lla(b)|0)&1);i=d;return 1}function IK(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;Mla(b,fs(a,2)|0);i=d;return 0}function JK(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;Nla(b,fs(a,2)|0);i=d;return 0}function KK(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;Ola(b,fs(a,2)|0);i=d;return 0}function LK(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;gs(a,Pla(b)|0);i=d;return 1}function MK(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;Gs(a,32,Qla(b)|0);i=d;return 1}function NK(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;mDa(a,1);a=Rla(b,a)|0;i=d;return a|0}function OK(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;mDa(a,1);a=Sla(b,a)|0;i=d;return a|0}function PK(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;mDa(a,1);a=Tla(b,a)|0;i=d;return a|0}function QK(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;Ula(b);i=d;return 0}function RK(a){a=a|0;gs(a,(c[(PJ(a,1,34)|0)+8>>2]|0)==0);return 1}function SK(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;mDa(a,1);a=Wla(b,a)|0;i=d;return a|0}function TK(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=PJ(a,1,34)|0;if(!(c[b+8>>2]|0))PGa(a,354642,d)|0;mDa(a,1);a=Xla(b,a)|0;i=d;return a|0}function UK(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=16740;c[b+4>>2]=0;a=xs(a,34,354701,b)|0;i=b;return a|0}function VK(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((qDa(a,b)|0)!=7){c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0}e=EDa(a,b)|0;if(c[(c[155773]|0)+(c[e>>2]<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0){d=e+4|0;d=c[d>>2]|0;i=f;return d|0}c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0;d=e+4|0;d=c[d>>2]|0;i=f;return d|0}function WK(a){a=a|0;var b=0.0,c=0;c=VK(a,1,40)|0;b=+_Ga(a,2);$la(c,b,+_Ga(a,3));return 0}function XK(a){a=a|0;var b=0.0,c=0;c=VK(a,1,40)|0;b=+_Ga(a,2);ama(c,b,+_Ga(a,3));return 0}function YK(a){a=a|0;var b=0;b=VK(a,1,40)|0;b=bma(b,~~+_Ga(a,2)+-1|0)|0;Gs(a,39,b);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);return 1}function ZK(a){a=a|0;JDa(a,cma(VK(a,1,40)|0)|0);return 1}function _K(a){a=a|0;var b=0,c=0.0,d=0;b=i;i=i+16|0;d=VK(a,1,40)|0;dma(b,d,~~+_Ga(a,2)+-1|0);c=+g[b+4>>2];IDa(a,+g[b>>2]);IDa(a,c);i=b;return 2}function $K(a){a=a|0;var b=0,c=0,d=0,e=0;e=i;i=i+16|0;c=VK(a,1,40)|0;b=ema(c)|0;c=cma(c)|0;if(!(fDa(a,c<<1)|0)){d=PGa(a,355422,e)|0;i=e;return d|0}if((c|0)<=0){d=c<<1;i=e;return d|0}d=0;do{dH(e+8|0,b+(d<<3)|0);IDa(a,+g[e+8>>2]);IDa(a,+g[e+8+4>>2]);d=d+1|0}while((d|0)!=(c|0));b=c<<1;i=e;return b|0}function aL(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=10612;c[b+4>>2]=17212;c[b+8>>2]=0;a=xs(a,40,355445,b)|0;i=b;return a|0}function bL(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((qDa(a,b)|0)!=7){c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0}e=EDa(a,b)|0;if(c[(c[155773]|0)+(c[e>>2]<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0){d=e+4|0;d=c[d>>2]|0;i=f;return d|0}c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0;d=e+4|0;d=c[d>>2]|0;i=f;return d|0}function cL(a){a=a|0;IDa(a,+ima(bL(a,1,37)|0));return 1}function dL(a){a=a|0;var b=0;b=bL(a,1,37)|0;jma(b,+_Ga(a,2));return 0}function eL(a){a=a|0;var b=0;b=i;i=i+16|0;kma(bL(a,1,37)|0,b+4|0,b);IDa(a,+g[b+4>>2]);IDa(a,+g[b>>2]);i=b;return 2}function fL(a){a=a|0;var b=0.0,c=0;c=bL(a,1,37)|0;b=+_Ga(a,2);lma(c,b,+_Ga(a,3));return 0}function gL(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=10612;c[b+4>>2]=17268;c[b+8>>2]=0;a=xs(a,37,355516,b)|0;i=b;return a|0}function hL(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((qDa(a,b)|0)!=7){c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0}e=EDa(a,b)|0;if(c[(c[155773]|0)+(c[e>>2]<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0){d=e+4|0;d=c[d>>2]|0;i=f;return d|0}c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0;d=e+4|0;d=c[d>>2]|0;i=f;return d|0}function iL(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=hL(a,1,33)|0;if(!(qma(b)|0))PGa(a,355566,c)|0;a=rma(b,a)|0;i=c;return a|0}function jL(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=hL(a,1,33)|0;if(!(qma(b)|0))PGa(a,355566,c)|0;a=sma(b,a)|0;i=c;return a|0}function kL(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=hL(a,1,33)|0;if(!(qma(b)|0))PGa(a,355566,c)|0;IDa(a,+tma(b));i=c;return 1}function lL(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=hL(a,1,33)|0;if(!(qma(b)|0))PGa(a,355566,c)|0;IDa(a,+uma(b));i=c;return 1}function mL(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=hL(a,1,33)|0;if(!(qma(b)|0))PGa(a,355566,c)|0;PDa(a,(vma(b)|0)&1);i=c;return 1}function nL(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=hL(a,1,33)|0;if(!(qma(b)|0))PGa(a,355566,c)|0;PDa(a,(wma(b)|0)&1);i=c;return 1}function oL(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=hL(a,1,33)|0;if(!(qma(b)|0))PGa(a,355566,c)|0;xma(b,+_Ga(a,2));i=c;return 0}function pL(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=hL(a,1,33)|0;if(!(qma(b)|0))PGa(a,355566,c)|0;yma(b,+_Ga(a,2));i=c;return 0}function qL(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=hL(a,1,33)|0;if(!(qma(b)|0))PGa(a,355566,c)|0;zma(b,fs(a,2)|0);i=c;return 0}function rL(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=hL(a,1,33)|0;if(!(qma(b)|0))PGa(a,355566,c)|0;Ama(b);i=c;return 0}function sL(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=hL(a,1,33)|0;if(!(qma(b)|0))PGa(a,355566,c)|0;Bma(b);i=c;return 0}function tL(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=hL(a,1,33)|0;if(!(qma(b)|0))PGa(a,355566,c)|0;Cma(b,+_Ga(a,2));i=c;return 0}function uL(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=hL(a,1,33)|0;if(!(qma(b)|0))PGa(a,355566,c)|0;IDa(a,+Dma(b));i=c;return 1}function vL(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=hL(a,1,33)|0;if(!(qma(b)|0))PGa(a,355566,d)|0;Ema(b,d+8|0,d+4|0);IDa(a,+((c[d+8>>2]|0)+1|0));IDa(a,+((c[d+4>>2]|0)+1|0));i=d;return 2}function wL(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=hL(a,1,33)|0;if(!(qma(b)|0))PGa(a,355566,d)|0;c[d+8>>2]=0;c[d+4>>2]=0;Fma(b,d+8|0,d+4|0);Gs(a,35,c[d+8>>2]|0);Gs(a,35,c[d+4>>2]|0);i=d;return 2}function xL(a){a=a|0;gs(a,(qma(hL(a,1,33)|0)|0)^1);return 1}function yL(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=17308;c[b+4>>2]=0;a=xs(a,33,355600,b)|0;i=b;return a|0}function zL(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((qDa(a,b)|0)!=7){c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0}e=EDa(a,b)|0;if(c[(c[155773]|0)+(c[e>>2]<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0){d=e+4|0;d=c[d>>2]|0;i=f;return d|0}c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0;d=e+4|0;d=c[d>>2]|0;i=f;return d|0}function AL(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=zL(a,1,43)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;Jma(b,+_Ga(a,2));i=c;return 0}function BL(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=zL(a,1,43)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;IDa(a,+Kma(b));i=c;return 1}function CL(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=zL(a,1,43)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;Lma(b,+_Ga(a,2));i=c;return 0}function DL(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=zL(a,1,43)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;IDa(a,+Mma(b));i=c;return 1}function EL(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=zL(a,1,43)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;Nma(b,+_Ga(a,2));i=c;return 0}function FL(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=zL(a,1,43)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;IDa(a,+Oma(b));i=c;return 1}function GL(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=17812;c[b+4>>2]=17444;c[b+8>>2]=0;a=xs(a,43,355750,b)|0;i=b;return a|0}function HL(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((qDa(a,b)|0)!=7){c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0}e=EDa(a,b)|0;if(c[(c[155773]|0)+(c[e>>2]<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0){d=e+4|0;d=c[d>>2]|0;i=f;return d|0}c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0;d=e+4|0;d=c[d>>2]|0;i=f;return d|0}function IL(a){a=a|0;var b=0;b=HL(a,1,39)|0;mDa(a,1);return Sma(b,a)|0}function JL(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=10612;c[b+4>>2]=17500;c[b+8>>2]=0;a=xs(a,39,355784,b)|0;i=b;return a|0}function KL(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=$G(a,1,35)|0;if(!(fna(b)|0))PGa(a,355804,d)|0;c[d+4>>2]=1279070;Mn(Wma(b)|0,d+4|0)|0;LDa(a,c[d+4>>2]|0);i=d;return 1}function LL(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=$G(a,1,35)|0;if(!(fna(b)|0))PGa(a,355804,c)|0;Xma(b,+_Ga(a,2));i=c;return 0}function ML(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=$G(a,1,35)|0;if(!(fna(b)|0))PGa(a,355804,c)|0;Yma(b,+_Ga(a,2));i=c;return 0}function NL(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=$G(a,1,35)|0;if(!(fna(b)|0))PGa(a,355804,c)|0;Zma(b,+_Ga(a,2));i=c;return 0}function OL(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=$G(a,1,35)|0;if(!(fna(b)|0))PGa(a,355804,c)|0;_ma(b,fs(a,2)|0);i=c;return 0}function PL(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=$G(a,1,35)|0;if(!(fna(b)|0))PGa(a,355804,c)|0;IDa(a,+$ma(b));i=c;return 1}function QL(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=$G(a,1,35)|0;if(!(fna(b)|0))PGa(a,355804,c)|0;IDa(a,+ana(b));i=c;return 1}function RL(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=$G(a,1,35)|0;if(!(fna(b)|0))PGa(a,355804,c)|0;IDa(a,+bna(b));i=c;return 1}function SL(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=$G(a,1,35)|0;if(!(fna(b)|0))PGa(a,355804,c)|0;gs(a,cna(b)|0);i=c;return 1}function TL(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=$G(a,1,35)|0;if(!(fna(b)|0))PGa(a,355804,c)|0;b=dna(b)|0;if(!b){a=0;i=c;return a|0}Gs(a,34,b);a=1;i=c;return a|0}function UL(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;b=$G(a,1,35)|0;if(!(fna(b)|0))PGa(a,355804,e)|0;d=ena(b)|0;if(!d){a=0;i=e;return a|0}switch(kI(d)|0){case 3:{Gs(a,39,d);b=d;break}case 4:{Gs(a,40,d);b=d;break}case 1:{Gs(a,37,d);b=d;break}case 2:{Gs(a,38,d);b=d;break}default:{Gs(a,36,d);b=d}}Hi[c[(c[d>>2]|0)+12>>2]&1023](b);a=1;i=e;return a|0}function VL(a){a=a|0;var b=0,c=0,d=0.0;c=i;i=i+16|0;b=$G(a,1,35)|0;if(!(fna(b)|0))PGa(a,355804,c)|0;d=+_Ga(a,2);gs(a,rna(b,d,+_Ga(a,3))|0);i=c;return 1}function WL(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=$G(a,1,35)|0;if(!(fna(b)|0))PGa(a,355804,c)|0;mDa(a,1);a=sna(b,a)|0;i=c;return a|0}function XL(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=$G(a,1,35)|0;if(!(fna(b)|0))PGa(a,355804,d)|0;c[d+4>>2]=~~+_Ga(a,2);c[d+4+4>>2]=~~+_Ga(a,3);c[d+4+8>>2]=~~+_Ga(a,4);gna(b,d+4|0);i=d;return 0}function YL(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=$G(a,1,35)|0;if(!(fna(b)|0))PGa(a,355804,d)|0;hna(b,d+4|0);JDa(a,c[d+4>>2]|0);JDa(a,c[d+4+4>>2]|0);JDa(a,c[d+4+8>>2]|0);i=d;return 3}function ZL(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=$G(a,1,35)|0;if(!(fna(b)|0))PGa(a,355804,c)|0;mDa(a,1);a=ina(b,a)|0;i=c;return a|0}function _L(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=$G(a,1,35)|0;if(!(fna(b)|0))PGa(a,355804,c)|0;mDa(a,1);a=nna(b,a)|0;i=c;return a|0}function $L(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=$G(a,1,35)|0;if(!(fna(b)|0))PGa(a,355804,c)|0;mDa(a,1);a=kna(b,a)|0;i=c;return a|0}function aM(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=$G(a,1,35)|0;if(!(fna(b)|0))PGa(a,355804,c)|0;mDa(a,1);a=ona(b,a)|0;i=c;return a|0}function bM(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=$G(a,1,35)|0;if(!(fna(b)|0))PGa(a,355804,c)|0;mDa(a,1);a=pna(b,a)|0;i=c;return a|0}function cM(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=$G(a,1,35)|0;if(!(fna(b)|0))PGa(a,355804,c)|0;mDa(a,1);a=qna(b,a)|0;i=c;return a|0}function dM(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=$G(a,1,35)|0;if(!(fna(b)|0))PGa(a,355804,c)|0;mDa(a,1);a=tna(b,a)|0;i=c;return a|0}function eM(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=$G(a,1,35)|0;if(!(fna(b)|0))PGa(a,355804,c)|0;mDa(a,1);a=una(b,a)|0;i=c;return a|0}function fM(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=$G(a,1,35)|0;if(!(fna(b)|0))PGa(a,355804,c)|0;JDa(a,mna(b)|0);i=c;return 1}function gM(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=$G(a,1,35)|0;if(!(fna(b)|0))PGa(a,355804,c)|0;lna(b,~~+_Ga(a,2));i=c;return 0}function hM(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=$G(a,1,35)|0;if(!(fna(b)|0))PGa(a,355804,c)|0;vna(b,0);i=c;return 0}function iM(a){a=a|0;gs(a,(fna($G(a,1,35)|0)|0)^1);return 1}function jM(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=17516;c[b+4>>2]=0;a=xs(a,35,355838,b)|0;i=b;return a|0}function kM(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((qDa(a,b)|0)!=7){c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0}e=EDa(a,b)|0;if(c[(c[155773]|0)+(c[e>>2]<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0){d=e+4|0;d=c[d>>2]|0;i=f;return d|0}c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0;d=e+4|0;d=c[d>>2]|0;i=f;return d|0}function lM(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=kM(a,1,48)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;Ana(b,+_Ga(a,2));i=c;return 0}function mM(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=kM(a,1,48)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;IDa(a,+Bna(b));i=c;return 1}function nM(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=kM(a,1,48)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;Cna(b,+_Ga(a,2));i=c;return 0}function oM(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=kM(a,1,48)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;IDa(a,+Dna(b));i=c;return 1}function pM(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=17812;c[b+4>>2]=17740;c[b+8>>2]=0;a=xs(a,48,356099,b)|0;i=b;return a|0}function qM(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((qDa(a,b)|0)!=7){c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0}e=EDa(a,b)|0;if(c[(c[155773]|0)+(c[e>>2]<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0){d=e+4|0;d=c[d>>2]|0;i=f;return d|0}c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0;d=e+4|0;d=c[d>>2]|0;i=f;return d|0}function rM(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=qM(a,1,47)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;Hna(b,+_Ga(a,2));i=c;return 0}function sM(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=qM(a,1,47)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;IDa(a,+Ina(b));i=c;return 1}function tM(a){a=a|0;var b=0,c=0,d=0;c=i;i=i+16|0;b=qM(a,1,47)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;d=Jna(b)|0;b=Kna(b)|0;GM(a,d);GM(a,b);i=c;return 2}function uM(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=17812;c[b+4>>2]=17780;c[b+8>>2]=0;a=xs(a,47,356113,b)|0;i=b;return a|0}function vM(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=wM(a,1,41)|0;if(!(pG(b)|0))PGa(a,356428,d)|0;c[d+4>>2]=1279070;gN(mG(b)|0,d+4|0)|0;LDa(a,c[d+4>>2]|0);i=d;return 1}function wM(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((qDa(a,b)|0)!=7){c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0}e=EDa(a,b)|0;if(c[(c[155773]|0)+(c[e>>2]<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0){d=e+4|0;d=c[d>>2]|0;i=f;return d|0}c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0;d=e+4|0;d=c[d>>2]|0;i=f;return d|0}function xM(a){a=a|0;var b=0,c=0,d=0;c=i;i=i+16|0;b=wM(a,1,41)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;d=nG(b)|0;b=oG(b)|0;Gs(a,34,d);Gs(a,34,b);i=c;return 2}function yM(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=wM(a,1,41)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;mDa(a,1);a=qG(b,a)|0;i=c;return a|0}function zM(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=wM(a,1,41)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;mDa(a,1);a=rG(b,a)|0;i=c;return a|0}function AM(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=wM(a,1,41)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;IDa(a,+sG(b,+_Ga(a,2)));i=c;return 1}function BM(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=wM(a,1,41)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;gs(a,wG(b)|0);i=c;return 1}function CM(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=wM(a,1,41)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;mDa(a,1);a=xG(b,a)|0;i=c;return a|0}function DM(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=wM(a,1,41)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;mDa(a,1);a=yG(b,a)|0;i=c;return a|0}function EM(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=wM(a,1,41)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;uG(b,0);i=c;return 0}function FM(a){a=a|0;gs(a,(pG(wM(a,1,41)|0)|0)^1);return 1}function GM(a,b){a=a|0;b=b|0;if(!b){HDa(a);return}do switch(mG(b)|0){case 1:{Gs(a,43,b);return}case 2:{Gs(a,45,b);return}case 3:{Gs(a,44,b);return}case 4:{Gs(a,42,b);return}case 5:{Gs(a,46,b);return}case 6:{Gs(a,47,b);return}case 7:{Gs(a,48,b);return}case 8:{Gs(a,49,b);return}case 9:{Gs(a,51,b);return}case 10:{Gs(a,50,b);return}case 11:{Gs(a,52,b);return}default:{HDa(a);return}}while(0)}function HM(a,b){a=a|0;b=b|0;var c=0;c=i;i=i+16|0;b=wM(a,b,41)|0;if(pG(b)|0){i=c;return b|0}PGa(a,356428,c)|0;i=c;return b|0}function IM(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=17812;c[b+4>>2]=0;a=xs(a,41,356279,b)|0;i=b;return a|0}function JM(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((qDa(a,b)|0)!=7){c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0}e=EDa(a,b)|0;if(c[(c[155773]|0)+(c[e>>2]<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0){d=e+4|0;d=c[d>>2]|0;i=f;return d|0}c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0;d=e+4|0;d=c[d>>2]|0;i=f;return d|0}function KM(a){a=a|0;var b=0,c=0,d=0.0;c=i;i=i+16|0;b=JM(a,1,52)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;d=+_Ga(a,2);Pna(b,d,+_Ga(a,3));i=c;return 0}function LM(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=JM(a,1,52)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;a=Qna(b,a)|0;i=c;return a|0}function MM(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=JM(a,1,52)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;Rna(b,+_Ga(a,2));i=c;return 0}function NM(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=JM(a,1,52)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;IDa(a,+Sna(b));i=c;return 1}function OM(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=JM(a,1,52)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;Tna(b,+_Ga(a,2));i=c;return 0}function PM(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=JM(a,1,52)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;IDa(a,+Una(b));i=c;return 1}function QM(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=JM(a,1,52)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;Vna(b,+_Ga(a,2));i=c;return 0}function RM(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=JM(a,1,52)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;IDa(a,+Wna(b));i=c;return 1}function SM(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=JM(a,1,52)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;Xna(b,+_Ga(a,2));i=c;return 0}function TM(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=JM(a,1,52)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;IDa(a,+Yna(b));i=c;return 1}function UM(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=17812;c[b+4>>2]=17900;c[b+8>>2]=0;a=xs(a,52,356285,b)|0;i=b;return a|0}function VM(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((qDa(a,b)|0)!=7){c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0}e=EDa(a,b)|0;if(c[(c[155773]|0)+(c[e>>2]<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0){d=e+4|0;d=c[d>>2]|0;i=f;return d|0}c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0;d=e+4|0;d=c[d>>2]|0;i=f;return d|0}function WM(a){a=a|0;var b=0,c=0,d=0.0;c=i;i=i+16|0;b=VM(a,1,42)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;d=+_Ga(a,2);aoa(b,d,+_Ga(a,3));i=c;return 0}function XM(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=VM(a,1,42)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;mDa(a,1);a=boa(b,a)|0;i=c;return a|0}function YM(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=VM(a,1,42)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;coa(b,+_Ga(a,2));i=c;return 0}function ZM(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=VM(a,1,42)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;IDa(a,+doa(b));i=c;return 1}function _M(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=VM(a,1,42)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;eoa(b,+_Ga(a,2));i=c;return 0}function $M(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=VM(a,1,42)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;IDa(a,+foa(b));i=c;return 1}function aN(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=VM(a,1,42)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;goa(b,+_Ga(a,2));i=c;return 0}function bN(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;b=VM(a,1,42)|0;if(!(pG(b)|0))PGa(a,356428,c)|0;IDa(a,+hoa(b));i=c;return 1}function cN(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=17812;c[b+4>>2]=17988;c[b+8>>2]=0;a=xs(a,42,356460,b)|0;i=b;return a|0}function dN(a){a=a|0;return}function eN(){fN(628060,18060,88);return}function fN(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;a[b+8>>0]=0;a[b+20>>0]=0;a[b+32>>0]=0;a[b+44>>0]=0;a[b+56>>0]=0;a[b+68>>0]=0;a[b+80>>0]=0;a[b+92>>0]=0;a[b+104>>0]=0;a[b+116>>0]=0;a[b+128>>0]=0;a[b+140>>0]=0;a[b+152>>0]=0;a[b+164>>0]=0;a[b+176>>0]=0;a[b+188>>0]=0;a[b+200>>0]=0;a[b+212>>0]=0;a[b+224>>0]=0;a[b+236>>0]=0;a[b+248>>0]=0;a[b+260>>0]=0;a[b+272>>0]=0;a[b+284>>0]=0;f=b+288|0;g=f+48|0;do{c[f>>2]=0;f=f+4|0}while((f|0)<(g|0));if(!(e>>>3)){i=n;return}else l=0;do{j=c[d+(l<<3)>>2]|0;k=c[d+(l<<3)+4>>2]|0;f=a[j>>0]|0;if(!(f<<24>>24))g=5381;else{h=j;g=5381;do{h=h+1|0;g=(g*33|0)+(f<<24>>24)|0;f=a[h>>0]|0}while(f<<24>>24!=0)}h=0;do{f=((h+g|0)>>>0)%24|0;h=h+1|0;if(!(a[b+(f*12|0)+8>>0]|0)){m=8;break}}while(h>>>0<24);if((m|0)==8){m=0;a[b+(f*12|0)+8>>0]=1;c[b+(f*12|0)>>2]=j;c[b+(f*12|0)+4>>2]=k}if(k>>>0>11){c[n>>2]=j;c[n+4>>2]=k;vpb(441068,n)|0}else c[b+288+(k<<2)>>2]=j;l=l+1|0}while((l|0)!=(e>>>3|0));i=n;return}function gN(a,b){a=a|0;b=b|0;if(a>>>0>11)a=0;else{a=c[628348+(a<<2)>>2]|0;if(!a)a=0;else{c[b>>2]=a;a=1}}return a|0}function hN(a){a=a|0;c[a>>2]=18156;$Z();UN(a);return}function iN(a){a=a|0;c[a>>2]=18156;$Z();UN(a);oAb(a);return}function jN(a){a=a|0;return 11}function kN(a){a=a|0;return 356700}function lN(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0;j=i;i=i+16|0;Hqb(j,uu(d)|0);f=a[j>>0]|0;h=(f&1)==0?j+1|0:c[j+8>>2]|0;f=(f&1)==0?(f&255)>>>1:c[j+4>>2]|0;if(f|0){b=h;g=h;while(1){a[g>>0]=Ulb(a[b>>0]|0)|0;b=b+1|0;if((b|0)==(h+f|0))break;else g=g+1|0}}do if(Aoa(j)|0){b=YAb(112)|0;soa(b,d,j,e)}else{if(_Z(j)|0){b=YAb(72)|0;PZ(b,d,j,e);break}if(DN(j)|0){b=YAb(816)|0;qN(b,d,j,e);break}if(TN(j)|0){b=YAb(80)|0;KN(b,d,j,e)}else b=0}while(0);Mqb(j);i=j;return b|0}function mN(a){a=a|0;Jj(a);c[a>>2]=18156;return}function nN(a){a=a|0;c[a>>2]=18192;n5a(a+72|0)|0;ioa(a);return}function oN(a){a=a|0;c[a>>2]=18192;n5a(a+72|0)|0;ioa(a);oAb(a);return}function pN(a){a=a|0;var b=0;b=YAb(816)|0;qN(b,c[a+8>>2]|0,a+12|0,c[a+24>>2]|0);return b|0}function qN(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+32|0;ooa(a,b,d,e);c[a>>2]=18192;h[a+808>>3]=-2.0;c[a+60>>2]=1495;c[a+56>>2]=76;c[a+52>>2]=77;c[a+64>>2]=1496;c[a+800>>2]=0;c[a+40>>2]=vi[c[(c[b>>2]|0)+16>>2]&2047](b)|0;c[a+44>>2]=vi[c[(c[b>>2]|0)+20>>2]&2047](b)|0;c[a+48>>2]=0;c[f+8>>2]=c[a+52>>2];c[f+8+4>>2]=c[a+52+4>>2];c[f+8+8>>2]=c[a+52+8>>2];c[f+8+12>>2]=c[a+52+12>>2];if((o5a(a+40|0,a+72|0,0,0,f+8|0)|0)<0){a=nf(16)|0;ds(a,356756,f);zc(a|0,96,27)}else{c[a+792>>2]=E5a(a+72|0,-1)|0;c[a+796>>2]=F5a(a+72|0,-1)|0;i=f;return}}function rN(a){a=a|0;return 1}function sN(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;switch(e|0){case 0:{e=c[a+4>>2]|0;c[a+8>>2]=(((e|0)<0)<<31>>31|0)<(d|0)|(((e|0)<0)<<31>>31|0)==(d|0)&e>>>0>>0?e:b;return 0}case 1:{e=c[a+8>>2]|0;f=(c[a+4>>2]|0)-e|0;c[a+8>>2]=((((f|0)<0)<<31>>31|0)>(d|0)|(((f|0)<0)<<31>>31|0)==(d|0)&f>>>0>b>>>0?b:f)+e;return 0}case 2:{e=c[a+4>>2]|0;if((d|0)<0){f=jBb(e|0,0,b|0,d|0)|0;c[a+8>>2]=f;return 0}else{c[a+8>>2]=e;return 0}}default:return 0}return 0}function tN(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=c[e+8>>2]|0;g=(c[e+4>>2]|0)-f|0;b=_(d,b)|0;b=b>>>0>>0?b:g;if(!b)return b|0;mBb(a|0,(c[e>>2]|0)+f|0,b|0)|0;c[e+8>>2]=(c[e+8>>2]|0)+b;return b|0}function uN(a){a=a|0;return c[a+8>>2]|0}function vN(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;d=0;a:while(1){do{e=c[b+24>>2]|0;if((e|0)<=(d|0)){e=9;break a}h=(c[b+32>>2]|0)+d|0;g=c[b+800>>2]|0;f=(vi[c[(c[b>>2]|0)+52>>2]&2047](b)|0)==16;e=H5a(b+72|0,h,e-d|0,g,f?2:1,1,0)|0}while((e|0)==-3);if((e|0)<-127){d=-1;e=9;break}if(!e){e=8;break}d=((e|0)>0?e:0)+d|0}if((e|0)==8){a[b+36>>0]=1;h=d;return h|0}else if((e|0)==9)return d|0;return 0}function wN(b,c){b=b|0;c=+c;var d=0;if(!(c<=1.0e-06))d=D5a(b+72|0,c)|0;else d=w5a(b+72|0,0,0)|0;if(d|0){b=0;return b|0}a[b+36>>0]=0;b=1;return b|0}function xN(b){b=b|0;if(w5a(b+72|0,0,0)|0){b=0;return b|0}a[b+36>>0]=0;b=1;return b|0}function yN(a){a=a|0;return (B5a(a+72|0)|0)!=0|0}function zN(a){a=a|0;return c[(c[a+792>>2]|0)+4>>2]|0}function AN(a){a=a|0;return 16}function BN(a){a=a|0;return c[(c[a+792>>2]|0)+8>>2]|0}function CN(a){a=a|0;var b=0.0;b=+h[a+808>>3];if(!(b==-2.0))return +b;b=+C5a(a+72|0,-1);b=b==-131.0|b<0.0?-1.0:b;h[a+808>>3]=b;return +b}function DN(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;if(!(a[621112]|0))if(se(621112)|0){Iqb(628396,356785,3);Iqb(628408,356789,3);Iqb(628420,356793,3);Iqb(628432,1279070,0);fd(621112)}g=a[b>>0]|0;i=(g&1)==0?(g&255)>>>1:c[b+4>>2]|0;g=(g&1)==0?b+1|0:c[b+8>>2]|0;h=0;while(1){e=628396+(h*12|0)|0;b=a[e>>0]|0;if(!(b&1))d=(b&255)>>>1;else d=c[628396+(h*12|0)+4>>2]|0;if(!d){b=0;d=15;break}if(!(b&1)){f=(b&255)>>>1;d=e+1|0}else{f=c[628396+(h*12|0)+4>>2]|0;d=c[628396+(h*12|0)+8>>2]|0}b=i>>>0>>0;if(!(qmb(d,g,b?i:f)|0))if(f>>>0>=i>>>0&(b^1)){b=1;d=15;break}h=h+1|0}if((d|0)==15)return b|0;return 0}function EN(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;f=c[a+8>>2]|0;e=(c[a+4>>2]|0)-f|0;g=c[d>>2]|0;e=g>>>0>>0?g:e;mBb(b|0,(c[a>>2]|0)+f|0,e|0)|0;c[a+8>>2]=(c[a+8>>2]|0)+e;c[d>>2]=e;return 0}function FN(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=c[a+4>>2]|0;c[a+8>>2]=0>d>>>0|0==(d|0)&e>>>0>b>>>0?b:e;return 0}function GN(a,b){a=a|0;b=b|0;c[b>>2]=c[a+8>>2];c[b+4>>2]=0;return 0}function HN(a){a=a|0;c[a>>2]=18276;JW(c[a+52>>2]|0)|0;ioa(a);return}function IN(a){a=a|0;c[a>>2]=18276;JW(c[a+52>>2]|0)|0;ioa(a);oAb(a);return}function JN(a){a=a|0;var b=0;b=YAb(80)|0;KN(b,c[a+8>>2]|0,a+12|0,c[a+24>>2]|0);return b|0}function KN(a,b,d,f){a=a|0;b=b|0;d=d|0;f=f|0;var g=0;g=i;i=i+32|0;ooa(a,b,d,f);c[a>>2]=18276;c[a+40>>2]=vi[c[(c[b>>2]|0)+16>>2]&2047](b)|0;c[a+44>>2]=vi[c[(c[b>>2]|0)+20>>2]&2047](b)|0;c[a+48>>2]=0;if((IW(a+52|0,18256,a+40|0)|0)<0){a=nf(16)|0;ds(a,356832,g);zc(a|0,96,27)}if((LW(c[a+52>>2]|0,a+56|0)|0)<0){a=nf(16)|0;ds(a,356852,g+8|0);zc(a|0,96,27)}if((e[a+58>>1]|0)>2){a=nf(16)|0;ds(a,356888,g+16|0);zc(a|0,96,27)}if((e[a+56>>1]|0)<2){i=g;return}if((MW(c[a+52>>2]|0,1)|0)<0){a=nf(16)|0;ds(a,356921,g+24|0);zc(a|0,96,27)}else{i=g;return}}function LN(b){b=b|0;var d=0,e=0,f=0;f=i;i=i+16|0;d=c[b+24>>2]|0;if(!d){b=0;i=f;return b|0}e=d;d=0;while(1){c[f>>2]=e-d;if((NW(c[b+52>>2]|0,(c[b+32>>2]|0)+d|0,f)|0)<0){e=4;break}e=c[f>>2]|0;if(!e){e=7;break}d=e+d|0;e=c[b+24>>2]|0;if(d>>>0>=e>>>0){e=8;break}}if((e|0)==4){b=0;i=f;return b|0}else if((e|0)==7){a[b+36>>0]=1;b=d;i=f;return b|0}else if((e|0)==8){i=f;return d|0}return 0}function MN(b,d){b=b|0;d=+d;d=+((c[b+60>>2]|0)>>>0)*d;if((KW(c[b+52>>2]|0,~~d>>>0,+N(d)>=1.0?(d>0.0?~~+$(+M(d/4294967296.0),4294967295.0)>>>0:~~+Z((d-+(~~d>>>0))/4294967296.0)>>>0):0)|0)<=-1){b=0;return b|0}a[b+36>>0]=0;b=1;return b|0}function NN(b){b=b|0;if((KW(c[b+52>>2]|0,0,0)|0)<=-1){b=0;return b|0}a[b+36>>0]=0;b=1;return b|0}function ON(a){a=a|0;return 1}function PN(a){a=a|0;return e[a+58>>1]|0|0}function QN(a){a=a|0;return ((b[a+64>>1]|0)==8?8:16)|0}function RN(a){a=a|0;return c[a+60>>2]|0}function SN(a){a=a|0;return +((+((c[a+72>>2]|0)>>>0)+4294967296.0*+((c[a+72+4>>2]|0)>>>0))/+((c[a+60>>2]|0)>>>0))}function TN(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;if(!(a[621120]|0))if(se(621120)|0){Iqb(628444,356949,3);Iqb(628456,1279070,0);fd(621120)}g=a[b>>0]|0;i=(g&1)==0?(g&255)>>>1:c[b+4>>2]|0;g=(g&1)==0?b+1|0:c[b+8>>2]|0;h=0;while(1){e=628444+(h*12|0)|0;b=a[e>>0]|0;if(!(b&1))d=(b&255)>>>1;else d=c[628444+(h*12|0)+4>>2]|0;if(!d){b=0;d=15;break}if(!(b&1)){f=(b&255)>>>1;d=e+1|0}else{f=c[628444+(h*12|0)+4>>2]|0;d=c[628444+(h*12|0)+8>>2]|0}b=i>>>0>>0;if(!(qmb(d,g,b?i:f)|0))if(f>>>0>=i>>>0&(b^1)){b=1;d=15;break}h=h+1|0}if((d|0)==15)return b|0;return 0}function UN(a){a=a|0;wj(a);return}function VN(a,b){a=a|0;b=b|0;a=YAb(28)|0;eO(a,b);return a|0}function WN(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=YAb(28)|0;fO(a,b,c,d,e);return a|0}function XN(a){a=a|0;c[a>>2]=18348;a=c[a+8>>2]|0;if(!a)return;Wpb(a);return}function YN(a){a=a|0;var b=0;c[a>>2]=18348;b=c[a+8>>2]|0;if(!b){oAb(a);return}Wpb(b);oAb(a);return}function ZN(a){a=a|0;return c[a+8>>2]|0}function _N(a){a=a|0;return c[a+12>>2]|0}function $N(a){a=a|0;return c[a+24>>2]|0}function aO(a){a=a|0;return c[a+20>>2]|0}function bO(a){a=a|0;return c[a+16>>2]|0}function cO(a){a=a|0;return ((((c[a+12>>2]|0)>>>0)/((c[a+24>>2]|0)>>>0)|0)>>>0)/(((c[a+20>>2]|0)/8|0)>>>0)|0|0}function dO(a){a=a|0;var b=0;b=_(c[a+16>>2]|0,c[a+24>>2]|0)|0;return +(+((c[a+12>>2]|0)>>>0)/+((_(b,c[a+20>>2]|0)|0)/8|0|0))}function eO(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;j=i;i=i+32|0;Jj(a);c[a>>2]=18348;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=44100;c[a+20>>2]=0;c[a+24>>2]=0;if((vi[c[(c[b>>2]|0)+52>>2]&2047](b)|0)!=8)if((vi[c[(c[b>>2]|0)+52>>2]&2047](b)|0)!=16){a=nf(16)|0;c[j>>2]=vi[c[(c[b>>2]|0)+52>>2]&2047](b)|0;ds(a,356997,j);zc(a|0,96,27)}g=524288;h=vi[c[(c[b>>2]|0)+20>>2]&2047](b)|0;while(1){d=c[a+8>>2]|0;if((h|0)<=0){e=14;break}e=c[a+12>>2]|0;if(g>>>0<(e+h|0)>>>0|(d|0)!=0^1){f=e+h|0;e=g;while(1)if(e>>>0>>0)e=e<<1;else break;d=Ypb(d,e)|0;c[a+8>>2]=d;if(!d){e=10;break}}else e=g;g=c[a+12>>2]|0;mBb(d+g|0,vi[c[(c[b>>2]|0)+28>>2]&2047](b)|0,h|0)|0;d=c[a+12>>2]|0;if(d>>>0>~h>>>0){e=12;break}c[a+12>>2]=d+h;g=e;h=vi[c[(c[b>>2]|0)+20>>2]&2047](b)|0}if((e|0)==10){a=nf(16)|0;ds(a,357019,j+8|0);zc(a|0,96,27)}else if((e|0)==12){Wpb(c[a+8>>2]|0);a=nf(16)|0;ds(a,357019,j+16|0);zc(a|0,96,27)}else if((e|0)==14){if(d|0){e=c[a+12>>2]|0;if(g>>>0>e>>>0)c[a+8>>2]=Ypb(d,e)|0}c[a+24>>2]=vi[c[(c[b>>2]|0)+48>>2]&2047](b)|0;c[a+20>>2]=vi[c[(c[b>>2]|0)+52>>2]&2047](b)|0;c[a+16>>2]=vi[c[(c[b>>2]|0)+56>>2]&2047](b)|0;i=j;return}}function fO(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;Jj(a);c[a>>2]=18348;c[a+8>>2]=0;c[a+8+4>>2]=0;c[a+8+8>>2]=0;c[a+8+12>>2]=0;c[a+8+16>>2]=0;gO(a,b,d,e,f,0);return}function gO(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0;k=i;i=i+48|0;if((b|0)<1){a=nf(16)|0;c[k>>2]=b;ds(a,357038,k);zc(a|0,96,27)}if((d|0)<1){a=nf(16)|0;c[k+8>>2]=d;ds(a,357063,k+8|0);zc(a|0,96,27)}switch(e|0){case 8:case 16:break;default:{a=nf(16)|0;c[k+16>>2]=e;ds(a,356997,k+16|0);zc(a|0,96,27)}}if((f|0)<1){a=nf(16)|0;c[k+24>>2]=f;ds(a,357087,k+24|0);zc(a|0,96,27)}h=c[a+8>>2]|0;if(h|0){Wpb(h);c[a+8>>2]=0}j=_(_((e|0)/8|0,b)|0,f)|0;c[a+12>>2]=j;c[a+16>>2]=d;c[a+20>>2]=e;c[a+24>>2]=f;if(+(b|0)*+(_((e|0)/8|0,f)|0)>4294967295.0){a=nf(16)|0;ds(a,357113,k+32|0);zc(a|0,96,27)}h=Vpb(j)|0;c[a+8>>2]=h;if(!h){a=nf(16)|0;ds(a,357019,k+40|0);zc(a|0,96,27)}if(!g){hBb(h|0,((e|0)==8?-128:0)|0,j|0)|0;i=k;return}else{mBb(h|0,g|0,j|0)|0;i=k;return}}function hO(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;Jj(a);c[a>>2]=18348;c[a+8>>2]=0;c[a+8+4>>2]=0;c[a+8+8>>2]=0;c[a+8+12>>2]=0;c[a+8+16>>2]=0;gO(a,d,e,f,g,b);return} -function sza(){var a=0,b=0.0,e=0,f=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0.0;a=0;do{g[680808+(a<<2)>>2]=+P(+(+(a|0)),1.3333333333333333);a=a+1|0}while((a|0)!=8207);a=0;do{y=+h[3240+(a<<3)>>3];b=+O(+(y*y+1.0));g[714404+(a<<2)>>2]=1.0/b;g[714436+(a<<2)>>2]=y/b;a=a+1|0}while((a|0)!=8);a=0;do{x=a<<1;y=+R(+(+(x|1|0)*.04363323129985824))*.5/+Q(+(+(x+19|0)*.04363323129985824));g[714612+(a<<2)>>2]=y;g[714468+(a<<2)>>2]=y;x=a+18|0;y=+R(+(+(x<<1|1|0)*.04363323129985824))*.5/+Q(+(+((x<<1)+19|0)*.04363323129985824));g[714900+(x<<2)>>2]=y;g[714468+(x<<2)>>2]=y;a=a+1|0}while((a|0)!=18);a=0;do{w=a+18|0;g[714612+(w<<2)>>2]=.5/+Q(+(+((w<<1)+19|0)*.04363323129985824));w=a+12|0;g[714900+(w<<2)>>2]=.5/+Q(+(+((w<<1)+19|0)*.04363323129985824));w=a<<1;x=a+24|0;g[714612+(x<<2)>>2]=+R(+(+(w+13|0)*.1308996938995747))*.5/+Q(+(+((x<<1)+19|0)*.04363323129985824));g[714900+(a<<2)>>2]=0.0;g[714612+(a+30<<2)>>2]=0.0;x=a+6|0;g[714900+(x<<2)>>2]=+R(+(+(w|1|0)*.1308996938995747))*.5/+Q(+(+((x<<1)+19|0)*.04363323129985824));a=a+1|0}while((a|0)!=6);g[301572]=.5019099116325378;g[301573]=.517638087272644;g[301574]=.5516889691352844;g[301575]=.6103872656822205;g[301576]=.7071067690849304;g[301577]=.8717234134674072;g[301578]=1.1831008195877075;g[301579]=1.9318516254425049;g[301580]=5.736856460571289;g[301581]=.517638087272644;g[301582]=.7071067690849304;g[301583]=1.9318516254425049;g[178762]=.8660253882408142;g[178761]=.5;g[178763]=.9396926164627075;g[178764]=-.1736481785774231;g[178765]=-.7660444378852844;g[178766]=.9848077297210693;g[178767]=-.3420201539993286;g[178768]=-.6427876353263855;a=0;do{x=a<<1;g[714756+(a<<2)>>2]=+R(+(+(x|1|0)*.1308996938995747))*.5/+Q(+(+(x+7|0)*.1308996938995747));a=a+1|0}while((a|0)!=12);a=0;do{b=+(a|0);y=+S(+(b*.2617993877991494));g[713636+(a<<2)>>2]=y/(y+1.0);g[713700+(a<<2)>>2]=1.0/(y+1.0);g[713764+(a<<2)>>2]=y*1.4142135623730951/(y+1.0);g[713828+(a<<2)>>2]=1.4142135623730951/(y+1.0);do if((a|0)>0)if(!(a&1)){y=+P(.8408964152537145,+(b*.5));g[713892+(a<<2)>>2]=1.0;g[714020+(a<<2)>>2]=y;g[714148+(a<<2)>>2]=1.4142135381698608;g[714276+(a<<2)>>2]=y*1.4142135623730951;y=+P(.7071067811865476,+(b*.5));g[713956+(a<<2)>>2]=1.0;g[714084+(a<<2)>>2]=y;g[714212+(a<<2)>>2]=1.4142135381698608;g[714340+(a<<2)>>2]=y*1.4142135623730951;break}else{y=+P(.8408964152537145,+((b+1.0)*.5));g[713892+(a<<2)>>2]=y;g[714020+(a<<2)>>2]=1.0;g[714148+(a<<2)>>2]=y*1.4142135623730951;g[714276+(a<<2)>>2]=1.4142135381698608;y=+P(.7071067811865476,+((b+1.0)*.5));g[713956+(a<<2)>>2]=y;g[714084+(a<<2)>>2]=1.0;g[714212+(a<<2)>>2]=y*1.4142135623730951;g[714340+(a<<2)>>2]=1.4142135381698608;break}else{g[713892+(a<<2)>>2]=1.0;g[714020+(a<<2)>>2]=1.0;g[714148+(a<<2)>>2]=1.4142135381698608;g[714276+(a<<2)>>2]=1.4142135381698608;g[713956+(a<<2)>>2]=1.0;g[714084+(a<<2)>>2]=1.0;g[714212+(a<<2)>>2]=1.4142135381698608;g[714340+(a<<2)>>2]=1.4142135381698608}while(0);a=a+1|0}while((a|0)!=16);c[178769]=c[178617];c[178771]=c[178619];c[178773]=c[178621];c[178775]=c[178623];c[178777]=c[178625];c[178779]=c[178627];c[178781]=c[178629];c[178783]=c[178631];c[178785]=c[178633];c[178787]=c[178635];c[178789]=c[178637];c[178791]=c[178639];c[178793]=c[178641];c[178795]=c[178643];c[178797]=c[178645];c[178799]=c[178647];c[178801]=c[178649];c[178803]=c[178651];g[178770]=-+g[178618];g[178772]=-+g[178620];g[178774]=-+g[178622];g[178776]=-+g[178624];g[178778]=-+g[178626];g[178780]=-+g[178628];g[178782]=-+g[178630];g[178784]=-+g[178632];g[178786]=-+g[178634];g[178788]=-+g[178636];g[178790]=-+g[178638];g[178792]=-+g[178640];g[178794]=-+g[178642];g[178796]=-+g[178644];g[178798]=-+g[178646];g[178800]=-+g[178648];g[178802]=-+g[178650];g[178804]=-+g[178652];c[178805]=c[178653];c[178807]=c[178655];c[178809]=c[178657];c[178811]=c[178659];c[178813]=c[178661];c[178815]=c[178663];c[178817]=c[178665];c[178819]=c[178667];c[178821]=c[178669];c[178823]=c[178671];c[178825]=c[178673];c[178827]=c[178675];c[178829]=c[178677];c[178831]=c[178679];c[178833]=c[178681];c[178835]=c[178683];c[178837]=c[178685];c[178839]=c[178687];g[178806]=-+g[178654];g[178808]=-+g[178656];g[178810]=-+g[178658];g[178812]=-+g[178660];g[178814]=-+g[178662];g[178816]=-+g[178664];g[178818]=-+g[178666];g[178820]=-+g[178668];g[178822]=-+g[178670];g[178824]=-+g[178672];g[178826]=-+g[178674];g[178828]=-+g[178676];g[178830]=-+g[178678];g[178832]=-+g[178680];g[178834]=-+g[178682];g[178836]=-+g[178684];g[178838]=-+g[178686];g[178840]=-+g[178688];c[178841]=c[178689];c[178843]=c[178691];c[178845]=c[178693];c[178847]=c[178695];c[178849]=c[178697];c[178851]=c[178699];g[178842]=-+g[178690];g[178844]=-+g[178692];g[178846]=-+g[178694];g[178848]=-+g[178696];g[178850]=-+g[178698];g[178852]=-+g[178700];c[178877]=c[178725];c[178879]=c[178727];c[178881]=c[178729];c[178883]=c[178731];c[178885]=c[178733];c[178887]=c[178735];c[178889]=c[178737];c[178891]=c[178739];c[178893]=c[178741];c[178895]=c[178743];c[178897]=c[178745];c[178899]=c[178747];c[178901]=c[178749];c[178903]=c[178751];c[178905]=c[178753];c[178907]=c[178755];c[178909]=c[178757];c[178911]=c[178759];g[178878]=-+g[178726];g[178880]=-+g[178728];g[178882]=-+g[178730];g[178884]=-+g[178732];g[178886]=-+g[178734];g[178888]=-+g[178736];g[178890]=-+g[178738];g[178892]=-+g[178740];g[178894]=-+g[178742];g[178896]=-+g[178744];g[178898]=-+g[178746];g[178900]=-+g[178748];g[178902]=-+g[178750];g[178904]=-+g[178752];g[178906]=-+g[178754];g[178908]=-+g[178756];g[178910]=-+g[178758];g[178912]=-+g[178760];t=722984;u=723464;v=717864;w=715832;x=0;while(1){m=722856+(x*608|0)|0;c[680592+(x*12|0)>>2]=m;l=160188+(x*110|0)+46|0;i=d[l>>0]|0;c[m>>2]=i>>>1;c[722856+(x*608|0)+4>>2]=0;c[722856+(x*608|0)+8>>2]=3;c[722856+(x*608|0)+12>>2]=0;m=d[160188+(x*110|0)+47>>0]|0;c[722856+(x*608|0)+16>>2]=m>>>1;c[722856+(x*608|0)+20>>2]=i;c[722856+(x*608|0)+24>>2]=3;c[722856+(x*608|0)+28>>2]=1;n=d[160188+(x*110|0)+48>>0]|0;c[722856+(x*608|0)+32>>2]=n>>>1;c[722856+(x*608|0)+36>>2]=m+i;c[722856+(x*608|0)+40>>2]=3;c[722856+(x*608|0)+44>>2]=2;o=d[160188+(x*110|0)+49>>0]|0;c[722856+(x*608|0)+48>>2]=o>>>1;c[722856+(x*608|0)+52>>2]=n+(m+i);c[722856+(x*608|0)+56>>2]=3;c[722856+(x*608|0)+60>>2]=3;p=d[160188+(x*110|0)+50>>0]|0;c[722856+(x*608|0)+64>>2]=p>>>1;c[722856+(x*608|0)+68>>2]=o+(n+(m+i));c[722856+(x*608|0)+72>>2]=3;c[722856+(x*608|0)+76>>2]=4;q=d[160188+(x*110|0)+51>>0]|0;c[722856+(x*608|0)+80>>2]=q>>>1;c[722856+(x*608|0)+84>>2]=p+(o+(n+(m+i)));c[722856+(x*608|0)+88>>2]=3;c[722856+(x*608|0)+92>>2]=5;r=160188+(x*110|0)+52|0;i=q+(p+(o+(n+(m+i))))|0;k=d[r>>0]|0;c[722856+(x*608|0)+96>>2]=k>>>1;c[722856+(x*608|0)+100>>2]=i;c[722856+(x*608|0)+104>>2]=3;c[722856+(x*608|0)+108>>2]=6;s=160188+(x*110|0)+53|0;a=d[s>>0]|0;c[722856+(x*608|0)+112>>2]=a>>>1;c[722856+(x*608|0)+116>>2]=k+i;c[722856+(x*608|0)+120>>2]=3;c[722856+(x*608|0)+124>>2]=7;j=160188+(x*110|0)+109|0;e=160188+(x*110|0)+99|0;f=3;i=a+(k+i)|0;k=t;while(1){a=(d[e>>0]|0)>>>1;c[k>>2]=a;c[k+4>>2]=i;c[k+8>>2]=0;c[k+12>>2]=f;c[k+16>>2]=a;c[k+20>>2]=i+1;c[k+24>>2]=1;c[k+28>>2]=f;c[k+32>>2]=a;c[k+36>>2]=i+2;c[k+40>>2]=2;c[k+44>>2]=f;e=e+1|0;if((e|0)==(j|0))break;else{f=f+1|0;i=(a*6|0)+i|0;k=k+48|0}}c[680700+(x*12|0)>>2]=u;j=717240+(x*624|0)|0;c[680592+(x*12|0)+4>>2]=j;e=160188+(x*110|0)+96|0;f=0;i=0;while(1){a=(d[e>>0]|0)>>>1;c[j>>2]=a;c[j+4>>2]=i;c[j+8>>2]=0;c[j+12>>2]=f;c[j+16>>2]=a;c[j+20>>2]=i|1;c[j+24>>2]=1;c[j+28>>2]=f;c[j+32>>2]=a;c[j+36>>2]=i+2;c[j+40>>2]=2;c[j+44>>2]=f;f=f+1|0;if((f|0)==13)break;else{e=e+1|0;i=(a*6|0)+i|0;j=j+48|0}}c[680700+(x*12|0)+4>>2]=v;k=715656+(x*176|0)|0;c[680592+(x*12|0)+8>>2]=k;c[k>>2]=(d[l>>0]|0)>>>1;c[715656+(x*176|0)+4>>2]=0;c[715656+(x*176|0)+8>>2]=m>>>1;c[715656+(x*176|0)+12>>2]=1;c[715656+(x*176|0)+16>>2]=n>>>1;c[715656+(x*176|0)+20>>2]=2;c[715656+(x*176|0)+24>>2]=o>>>1;c[715656+(x*176|0)+28>>2]=3;c[715656+(x*176|0)+32>>2]=p>>>1;c[715656+(x*176|0)+36>>2]=4;c[715656+(x*176|0)+40>>2]=q>>>1;c[715656+(x*176|0)+44>>2]=5;c[715656+(x*176|0)+48>>2]=(d[r>>0]|0)>>>1;c[715656+(x*176|0)+52>>2]=6;c[715656+(x*176|0)+56>>2]=(d[s>>0]|0)>>>1;c[715656+(x*176|0)+60>>2]=7;c[715656+(x*176|0)+64>>2]=(d[160188+(x*110|0)+54>>0]|0)>>>1;c[715656+(x*176|0)+68>>2]=8;c[715656+(x*176|0)+72>>2]=(d[160188+(x*110|0)+55>>0]|0)>>>1;c[715656+(x*176|0)+76>>2]=9;c[715656+(x*176|0)+80>>2]=(d[160188+(x*110|0)+56>>0]|0)>>>1;c[715656+(x*176|0)+84>>2]=10;c[715656+(x*176|0)+88>>2]=(d[160188+(x*110|0)+57>>0]|0)>>>1;c[715656+(x*176|0)+92>>2]=11;c[715656+(x*176|0)+96>>2]=(d[160188+(x*110|0)+58>>0]|0)>>>1;c[715656+(x*176|0)+100>>2]=12;c[715656+(x*176|0)+104>>2]=(d[160188+(x*110|0)+59>>0]|0)>>>1;c[715656+(x*176|0)+108>>2]=13;c[715656+(x*176|0)+112>>2]=(d[160188+(x*110|0)+60>>0]|0)>>>1;c[715656+(x*176|0)+116>>2]=14;c[715656+(x*176|0)+120>>2]=(d[160188+(x*110|0)+61>>0]|0)>>>1;c[715656+(x*176|0)+124>>2]=15;c[715656+(x*176|0)+128>>2]=(d[160188+(x*110|0)+62>>0]|0)>>>1;c[715656+(x*176|0)+132>>2]=16;c[715656+(x*176|0)+136>>2]=(d[160188+(x*110|0)+63>>0]|0)>>>1;c[715656+(x*176|0)+140>>2]=17;c[715656+(x*176|0)+144>>2]=(d[160188+(x*110|0)+64>>0]|0)>>>1;c[715656+(x*176|0)+148>>2]=18;c[715656+(x*176|0)+152>>2]=(d[160188+(x*110|0)+65>>0]|0)>>>1;c[715656+(x*176|0)+156>>2]=19;c[715656+(x*176|0)+160>>2]=(d[160188+(x*110|0)+66>>0]|0)>>>1;c[715656+(x*176|0)+164>>2]=20;c[715656+(x*176|0)+168>>2]=(d[160188+(x*110|0)+67>>0]|0)>>>1;c[715656+(x*176|0)+172>>2]=21;c[680700+(x*12|0)+8>>2]=w;x=x+1|0;if((x|0)==9){e=0;break}else{t=t+608|0;u=u+608|0;v=v+624|0;w=w+176|0}}do{a=e*36|0;f=0;do{x=(f*6|0)+a|0;w=e|f<<3;c[677520+(x<<2)>>2]=w|12288;c[677520+((x|1)<<2)>>2]=w|12352;c[677520+(x+2<<2)>>2]=w|12416;c[677520+(x+3<<2)>>2]=w|12480;c[677520+(x+4<<2)>>2]=w|12544;c[677520+(x+5<<2)>>2]=w|12608;f=f+1|0}while((f|0)!=6);e=e+1|0}while((e|0)!=5);a=0;do{x=a<<4;c[677520+(x+180<<2)>>2]=a|16384;c[677520+(x+181<<2)>>2]=a|16448;c[677520+(x+182<<2)>>2]=a|16512;c[677520+(x+183<<2)>>2]=a|16576;c[677520+(x+184<<2)>>2]=a|16392;c[677520+(x+185<<2)>>2]=a|16456;c[677520+(x+186<<2)>>2]=a|16520;c[677520+(x+187<<2)>>2]=a|16584;c[677520+(x+188<<2)>>2]=a|16400;c[677520+(x+189<<2)>>2]=a|16464;c[677520+(x+190<<2)>>2]=a|16528;c[677520+(x+191<<2)>>2]=a|16592;c[677520+(x+192<<2)>>2]=a|16408;c[677520+(x+193<<2)>>2]=a|16472;c[677520+(x+194<<2)>>2]=a|16536;c[677520+(x+195<<2)>>2]=a|16600;a=a+1|0}while((a|0)!=4);c[169624]=20480;c[170136]=40960;c[169625]=20488;c[170137]=40968;c[169626]=20496;c[170138]=40976;c[169627]=20481;c[170139]=40961;c[169628]=20489;c[170140]=40969;c[169629]=20497;c[170141]=40977;c[169630]=20482;c[170142]=40962;c[169631]=20490;c[170143]=40970;c[169632]=20498;c[170144]=40978;c[169633]=20483;c[170145]=40963;c[169634]=20491;c[170146]=40971;c[169635]=20499;c[170147]=40979;e=0;do{a=e*80|0;f=0;do{x=(f<<4)+a|0;w=f<<3|e;c[678544+(x<<2)>>2]=w;c[678544+((x|1)<<2)>>2]=w|512;c[678544+((x|2)<<2)>>2]=w|1024;c[678544+((x|3)<<2)>>2]=w|1536;c[678544+((x|4)<<2)>>2]=w|64;c[678544+((x|5)<<2)>>2]=w|576;c[678544+((x|6)<<2)>>2]=w|1088;c[678544+((x|7)<<2)>>2]=w|1600;c[678544+((x|8)<<2)>>2]=w|128;c[678544+((x|9)<<2)>>2]=w|640;c[678544+((x|10)<<2)>>2]=w|1152;c[678544+((x|11)<<2)>>2]=w|1664;c[678544+((x|12)<<2)>>2]=w|192;c[678544+((x|13)<<2)>>2]=w|704;c[678544+((x|14)<<2)>>2]=w|1216;c[678544+((x|15)<<2)>>2]=w|1728;f=f+1|0}while((f|0)!=5);e=e+1|0}while((e|0)!=5);a=0;do{x=a*20|0;c[678544+(x+400<<2)>>2]=a|4096;c[678544+(x+401<<2)>>2]=a|4160;c[678544+(x+402<<2)>>2]=a|4224;c[678544+(x+403<<2)>>2]=a|4288;c[678544+(x+404<<2)>>2]=a|4104;c[678544+(x+405<<2)>>2]=a|4168;c[678544+(x+406<<2)>>2]=a|4232;c[678544+(x+407<<2)>>2]=a|4296;c[678544+(x+408<<2)>>2]=a|4112;c[678544+(x+409<<2)>>2]=a|4176;c[678544+(x+410<<2)>>2]=a|4240;c[678544+(x+411<<2)>>2]=a|4304;c[678544+(x+412<<2)>>2]=a|4120;c[678544+(x+413<<2)>>2]=a|4184;c[678544+(x+414<<2)>>2]=a|4248;c[678544+(x+415<<2)>>2]=a|4312;c[678544+(x+416<<2)>>2]=a|4128;c[678544+(x+417<<2)>>2]=a|4192;c[678544+(x+418<<2)>>2]=a|4256;c[678544+(x+419<<2)>>2]=a|4320;a=a+1|0}while((a|0)!=5);return}function tza(){return}function uza(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;do if(!(c[178913]|0)){a=8;f=6}else{d=Vpb(28616)|0;if(!d){a=0;f=6}else{ywa(d,0);if((aya(d,a)|0)==1){c[d+28380>>2]=1;e=0;a=d;break}else{cxa(d);Wpb(d);a=9;f=6;break}}}while(0);if((f|0)==6){e=(a|0)==0?7:a;a=0}if(!b)return a|0;c[b>>2]=e;return a|0}function vza(a,b,d,e){a=a|0;b=b|0;d=d|0;e=+e;if(!a){a=-1;return a|0}d=wza(a+28064|0,b,d,e)|0;if(d|0){c[a+28376>>2]=d;a=-1;return a|0}if((b|0)==15){d=Ywa(a)|0;if(!d){a=0;return a|0}c[a+28376>>2]=36;a=d;return a|0}else{if((b+-17|0)>>>0>=2){a=0;return a|0}Mya(a+28020|0,c[a+28364>>2]|0,c[a+28368>>2]|0);a=0;return a|0}return 0}function wza(a,b,d,e){a=a|0;b=b|0;d=d|0;e=+e;a:do if(!a)b=25;else do switch(b|0){case 0:{c[a>>2]=d;b=0;break a}case 1:{c[a+4>>2]=d;b=0;break a}case 2:{c[a+4>>2]=c[a+4>>2]|d;b=0;break a}case 13:{c[a+4>>2]=c[a+4>>2]&~d;b=0;break a}case 3:{if((d|0)>96e3){b=3;break a}c[a+8>>2]=(d|0)<0?0:d;b=0;break a}case 4:{if(d>>>0>2){b=3;break a}c[a+12>>2]=d;b=0;break a}case 5:{if(d>>>0>2){b=12;break a}c[a+16>>2]=d;b=0;break a}case 6:{c[a+20>>2]=(d|0)<0?0:d;b=0;break a}case 7:{c[a+24>>2]=(d|0)<0?0:d;b=0;break a}case 10:{c[a+272>>2]=(d|0)>0?d:0;b=0;break a}case 11:{h[a+280>>3]=(d|0)==0?e:+(d|0)*.000030517578125;b=0;break a}case 12:{c[a+28>>2]=(d|0)<0?0:d;b=0;break a}case 14:{c[a+288>>2]=d;b=0;break a}case 15:{c[a+292>>2]=d;b=0;break a}case 16:{if((d|0)<=-1){b=39;break a}c[a+296>>2]=d;b=0;break a}case 17:{if((d|0)<=-1){b=39;break a}c[a+300>>2]=d;b=0;break a}case 18:{if((d|0)<=0){b=39;break a}c[a+304>>2]=d;b=0;break a}default:{b=5;break a}}while(0);while(0);return b|0}function xza(a,b){a=a|0;b=b|0;var d=0;if(!a){a=-1;return a|0}d=c[(c[a+27956>>2]|0)+4>>2]|0;if(d|0)Hi[d&1023](a);if(c[a+4>>2]|0){Dwa(a+27876|0);c[a+4>>2]=0}axa(a)|0;if(!(c[a+27996>>2]|0)){c[a+28376>>2]=41;a=-1;return a|0}else{a=mza(a,b)|0;return a|0}return 0}function yza(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;if(!a){b=-1;return b|0}f=c[(c[a+27956>>2]|0)+4>>2]|0;if(f|0)Hi[f&1023](a);if(c[a+4>>2]|0){Dwa(a+27876|0);c[a+4>>2]=0}axa(a)|0;c[a+27996>>2]=b;c[a+28e3>>2]=d;c[a+28004>>2]=e;b=0;return b|0}function zza(a){a=a|0;var b=0,d=0,e=0,f=0;f=i;i=i+16|0;if((c[a+19748>>2]|0)<0){if(!(c[a+28068>>2]&32)){e=c[37151]|0;c[f>>2]=498;oob(e,513218,f)|0}c[a+28376>>2]=37;a=-1;i=f;return a|0}d=Zva(a)|0;b=txa(a)|0;if((b|0)<0){a=-1;i=f;return a|0}if((b|0)==1)c[a+4>>2]=1;b=c[a+27888>>2]|0;do if((b|0)==(d|0)){c[a+19680>>2]=0;d=0;e=14}else{if((b|0)==(d>>1|0)){c[a+19680>>2]=1;d=1;e=14;break}if((b|0)==(d>>2|0)){c[a+19680>>2]=2;d=2;e=14;break}c[a+19680>>2]=3;if(Aza(a)|0){a=-1;i=f;return a|0}d=Zva(a)|0;b=c[a+27888>>2]|0;if((d|0)>(b|0)){c[a+19668>>2]=b<<5;d=Zva(a)|0;c[a+19668>>2]=(c[a+19668>>2]|0)/(d|0)|0}else c[a+19668>>2]=32;b=c[a+19688>>2]|0;if((b|0)==1)b=384;else if((b|0)==2)b=1152;else if(!(c[a+19672>>2]|0))b=c[a+19676>>2]|0?576:1152;else b=576;d=c[a+27888>>2]<<15;c[a+27896>>2]=yxa(a,((_((d>>>0)/((Zva(a)|0)>>>0)|0,b)|0)+32767|0)>>>15)|0}while(0);if((e|0)==14){c[a+19668>>2]=32>>>d;b=c[a+19688>>2]|0;if((b|0)==1)b=384;else if((b|0)==2)b=1152;else if(!(c[a+19672>>2]|0))b=c[a+19676>>2]|0?576:1152;else b=576;c[a+27896>>2]=yxa(a,b>>>d)|0}b=c[a+28068>>2]&7;do if(!b)if((c[a+27884>>2]|0)==1){c[a+19660>>2]=3;break}else{c[a+19660>>2]=-1;break}else c[a+19660>>2]=b+-1;while(0);if(Exa(a)|0){a=-1;i=f;return a|0}if(Zwa(a)|0){a=-1;i=f;return a|0}uwa(a);a=0;i=f;return a|0}function Aza(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;h=i;i=i+32|0;e=Zva(a)|0;f=c[a+27888>>2]|0;if(!(c[a+28068>>2]&32))if((c[a+28064>>2]|0)>1){g=c[37151]|0;c[h>>2]=e;c[h+4>>2]=f;oob(g,513340,h)|0}if((e+-1|0)>>>0>95999|(f+-1|0)>>>0>95999){if(!(c[a+28068>>2]&32)){g=c[37151]|0;c[h+8>>2]=22;oob(g,513371,h+8|0)|0}c[a+28376>>2]=3;a=-1;i=h;return a|0}c[a+19360>>2]=(f<<15>>>0)/(e>>>0)|0;if(((f<<15>>>0)/(e>>>0)|0)>>>0>262144){if(!(c[a+28068>>2]&32)){g=c[37151]|0;c[h+16>>2]=31;c[h+16+4>>2]=8;c[h+16+8>>2]=(f<<15>>>0)/(e>>>0)|0;c[h+16+12>>2]=262144;oob(g,513421,h+16|0)|0}c[a+28376>>2]=3;a=-1;i=h;return a|0}g=c[a+19748>>2]|0;if((g|0)>0)switch(c[a+19688>>2]|0){case 1:{d=0;b=16384;while(1){b=b+(((f<<15>>>0)/(e>>>0)|0)*384|0)|0;d=d+1|0;if((d|0)==(g|0)){b=b-(((b|0)/32768|0)<<15)|0;break}else b=b-(((b|0)/32768|0)<<15)|0}break}case 2:{d=0;b=16384;while(1){b=b+(((f<<15>>>0)/(e>>>0)|0)*1152|0)|0;d=d+1|0;if((d|0)==(g|0)){b=b-(((b|0)/32768|0)<<15)|0;break}else b=b-(((b|0)/32768|0)<<15)|0}break}default:if(!(c[a+19672>>2]|0)){d=_((c[a+19676>>2]|0)==0?1152:576,(f<<15>>>0)/(e>>>0)|0)|0;e=0;b=16384;while(1){b=d+b|0;e=e+1|0;if((e|0)==(g|0)){b=b-(((b|0)/32768|0)<<15)|0;break}else b=b-(((b|0)/32768|0)<<15)|0}}else{d=0;b=16384;while(1){b=(((f<<15>>>0)/(e>>>0)|0)*576|0)+b|0;d=d+1|0;if((d|0)==(g|0)){b=b-(((b|0)/32768|0)<<15)|0;break}else b=b-(((b|0)/32768|0)<<15)|0}}}else b=16384;c[a+19356>>2]=b;c[a+19352>>2]=b;a=0;i=h;return a|0}function Bza(b){b=b|0;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;f=yxa(b,kxa(b)|0)|0;d=vi[c[b+19692>>2]&2047](b)|0;c[b+28388>>2]=(c[b+28388>>2]|0)+d;d=c[b+27864>>2]|0;if(f>>>0<=d>>>0){Bxa(b);i=g;return}if(!(c[b+28068>>2]&32))if((c[b+28064>>2]|0)>1){e=c[37151]|0;c[g>>2]=c[b+19748>>2];c[g+4>>2]=f-d;c[g+8>>2]=d;oob(e,513484,g)|0;d=c[b+27864>>2]|0}if(!(c[b+27876>>2]&15))e=0;else e=a[c[b+9592>>2]>>0]|0;hBb((c[b+27856>>2]|0)+d|0,e|0,f-d|0)|0;c[b+27864>>2]=f;sxa(b,(c[b+19748>>2]|0)+1|0);Bxa(b);i=g;return}function Cza(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;g=i;i=i+32|0;if(!(c[a+19764>>2]&1)){i=g;return}b=c[a+27920>>2]|0;if((b|0)>0)if((c[a+19748>>2]|0)>=(b|0)){i=g;return}b=c[a+27912>>2]|0;if((b|0)>-1){d=c[a+19748>>2]|0;if((d|0)>=(b|0)){if((d|0)==(b|0))d=zxa(a,c[a+27928>>2]|0)|0;else d=0;b=c[a+27864>>2]|0;if((b|0)>(d|0)){c[a+27864>>2]=d;b=d}if(!(c[a+28068>>2]&32))if((c[a+28064>>2]|0)>2){d=c[37151]|0;e=c[a+19748>>2]|0;if((e|0)==(c[a+27912>>2]|0))f=c[a+27928>>2]|0;else f=0;c[g>>2]=e;c[g+4>>2]=f;c[g+8>>2]=b;oob(d,513546,g)|0}}}b=c[a+27924>>2]|0;if(!b){i=g;return}if((c[a+19748>>2]|0)!=(c[a+27908>>2]|0)){i=g;return}b=zxa(a,b)|0;d=c[a+27864>>2]|0;do if((d|0)>(b|0)){c[a+27864>>2]=d-b;e=c[a+27856>>2]|0;if(!(c[a+27892>>2]|0)){nBb(e|0,e+b|0,d-b|0)|0;break}else{c[a+27860>>2]=e+b;break}}else c[a+27864>>2]=0;while(0);if(!(c[a+28068>>2]&32))if((c[a+28064>>2]|0)>2){f=c[37151]|0;d=c[a+27924>>2]|0;e=c[a+27864>>2]|0;c[g+16>>2]=c[a+19748>>2];c[g+16+4>>2]=d;c[g+16+8>>2]=e;oob(f,513628,g+16|0)|0}c[a+27924>>2]=0;i=g;return}function Dza(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;b=c[a+28380>>2]|0;while(1){if(c[a+27904>>2]|0){d=c[a+19748>>2]|0;if((d|0)<(c[a+27908>>2]|0))if((d|0)>=(c[a+27916>>2]|0)){vi[c[a+19692>>2]&2047](a)|0;c[a+27864>>2]=0;if((c[a+19680>>2]|0)==3)sxa(a,(c[a+19748>>2]|0)+1|0);c[a+27900>>2]=0;c[a+27904>>2]=0}}c[a+27900>>2]=0;d=_va(a)|0;if((d|0)==-10){b=-10;e=26;break}if((d|0)<1){e=10;break}b=(c[a+19684>>2]|0)>1?1:b;d=(c[a+19756>>2]|0)+1|0;c[a+19756>>2]=d;e=c[a+19748>>2]|0;f=(e|0)<(c[a+27908>>2]|0);if(!f){g=c[a+28088>>2]|0;if(!g){e=20;break}if(!((d|0)%(g|0)|0)){e=20;break}}if(!((c[a+27904>>2]|0)==0|f^1))if((e|0)>=(c[a+27916>>2]|0))continue;qxa(a)}if((e|0)==10){if(d|0){b=c[a+27960>>2]|0;if((b|0)<=-1){a=-1;return a|0}if((c[a+27964>>2]|0)!=(b|0)){a=-1;return a|0}}c[a+19840>>2]=(c[a+19748>>2]|0)+1;a=-12;return a|0}else if((e|0)==20){if(b|0){if((zza(a)|0)<0){a=-1;return a|0}c[a+28380>>2]=0;if(c[a>>2]|0){nxa(a);pxa(a,c[a+19748>>2]|0);c[a>>2]=0;if((c[a+19748>>2]|0)<(c[a+27908>>2]|0)){b=Dza(a)|0;if((b|0)<=-1){a=b;return a|0}}}}a=0;return a|0}else if((e|0)==26)return b|0;return 0}function Eza(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Fza(a,0,0,b,c,d)|0}function Fza(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;if(g|0)c[g>>2]=0;if(!a){g=-1;return g|0}do if(!d)h=10;else{if(!b){c[a+28376>>2]=31;b=0;d=-1;break}if(!(Nya(a,b,d)|0))if((c[a+28376>>2]|0)==18){c[a+28376>>2]=0;h=10}else h=10;else{b=0;d=-1}}while(0);a:do if((h|0)==10){f=(e|0)==0?0:f;b=0;b:while(1){while(1){if(c[a+27900>>2]|0){if(c[a+4>>2]|0)break b;if(((c[a+27868>>2]|0)-(c[a+27864>>2]|0)|0)>>>0<(c[a+27896>>2]|0)>>>0){d=14;break a}Bza(a);c[a+27904>>2]=0;c[a+27900>>2]=0;c[a+27860>>2]=c[a+27856>>2];Cza(a)}d=c[a+27864>>2]|0;if(d|0)break;d=Dza(a)|0;if((d|0)<0)break a}h=f-b|0;d=d>>>0>h>>>0?h:d;mBb(e|0,c[a+27860>>2]|0,d|0)|0;c[a+27864>>2]=(c[a+27864>>2]|0)-d;b=d+b|0;c[a+27860>>2]=(c[a+27860>>2]|0)+d;if(f>>>0>b>>>0)e=e+d|0;else{d=0;break a}}c[a+4>>2]=0;d=-11}while(0);if(!g){g=d;return g|0}c[g>>2]=b;g=d;return g|0}function Gza(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;if(!a){b=-1;return b|0}if((c[a+19748>>2]|0)<0){f=Dza(a)|0;if((f|0)<=-1){b=f;return b|0}}if(b|0)c[b>>2]=c[a+27888>>2];if(d|0)c[d>>2]=c[a+27884>>2];if(e|0)c[e>>2]=c[a+27876>>2];c[a+4>>2]=0;b=0;return b|0}function Hza(a){a=a|0;var b=0,d=0,e=0,f=0;if(!a){a=-1;return a|0}d=c[a+19748>>2]|0;if((d|0)<0){a=0;return a|0}e=c[a+27908>>2]|0;do if((d|0)<(e|0))f=6;else{b=(c[a+27900>>2]|0)==0;if((d|0)==(e|0)){if(!b){f=6;break}}else if(!b){b=ixa(a,d)|0;b=b-(Axa(a,c[a+27864>>2]|0)|0)|0;break}b=ixa(a,d+1|0)|0;b=b-(Axa(a,c[a+27864>>2]|0)|0)|0}while(0);if((f|0)==6){b=ixa(a,e)|0;b=(c[a+27924>>2]|0)+b|0}do if(c[a+28068>>2]&64){e=c[a+27944>>2]|0;if((e|0)>=(b|0)){b=b-(c[a+27936>>2]|0)|0;break}f=c[a+27948>>2]|0;d=c[a+27936>>2]|0;if((f|0)>(b|0)){b=e-d|0;break}else{b=e+b-f-d|0;break}}while(0);a=(b|0)>0?b:0;return a|0}function Iza(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=Hza(a)|0;if((d|0)!=0&(e|0)<0){if(!a){a=-1;return a|0}c[a+28376>>2]=32;a=-1;return a|0}if((c[a+19748>>2]|0)<0){f=Dza(a)|0;if((f|0)<=-1){a=f;return a|0}}a:do switch(d|0){case 1:{b=e+b|0;break}case 0:break;case 2:{e=c[a+19840>>2]|0;do if((e|0)<1){if(c[a+27976>>2]&4|0){Jza(a)|0;e=c[a+19840>>2]|0;if((e|0)>0)break}e=c[a+27944>>2]|0;if((e|0)<=0){c[a+28376>>2]=19;a=-1;return a|0}if(c[a+28068>>2]&64)e=e-(c[a+27936>>2]|0)|0;b=e-b|0;break a}while(0);e=ixa(a,e)|0;do if(c[a+28068>>2]&64){f=c[a+27944>>2]|0;if((f|0)>=(e|0)){e=e-(c[a+27936>>2]|0)|0;break}d=c[a+27948>>2]|0;g=c[a+27936>>2]|0;if((d|0)>(e|0)){e=f-g|0;break}else{e=f+e-d-g|0;break}}while(0);b=e-b|0;break}default:{c[a+28376>>2]=20;a=-1;return a|0}}while(0);b=(b|0)<0?0:b;if(c[a+28068>>2]&64){b=(c[a+27936>>2]|0)+b|0;e=c[a+27944>>2]|0;if((b|0)>=(e|0))b=b-e+(c[a+27948>>2]|0)|0}rxa(a,b);b=c[a+27916>>2]|0;b=(b|0)<0?0:b;c[a+27864>>2]=0;e=c[a+19748>>2]|0;f=c[a+27908>>2]|0;if((e|0)<(f|0)){c[a+27900>>2]=0;if((e|0)<=(b|0))h=29}else h=29;do if((h|0)==29){if((e|0)==(b|0))if((b|0)<(f|0)|(c[a+27900>>2]|0)!=0)break;if((e|0)==(b+-1|0)){c[a+27900>>2]=0;break}$wa(a)|0;if((c[a+19680>>2]|0)==3)sxa(a,b);b=Xi[c[(c[a+27956>>2]|0)+32>>2]&511](a,b)|0;if((b|0)<0){a=b;return a|0}b=c[a+19748>>2]|0;if((b|0)<(c[a+27908>>2]|0))c[a+27900>>2]=0;c[a+19756>>2]=b}while(0);a=Hza(a)|0;return a|0}function Jza(a){a=a|0;var b=0,d=0,e=0,f=0;if(!a){a=-1;return a|0}if(!(c[a+27976>>2]&4)){c[a+28376>>2]=23;a=-1;return a|0}if((c[a+19748>>2]|0)<0){b=Dza(a)|0;if((b|0)<=-1){a=((b|0)!=-12)<<31>>31;return a|0}}f=Hza(a)|0;if((Xi[c[(c[a+27956>>2]|0)+32>>2]&511](a,0)|0)<0){a=-1;return a|0}if(c[a+19748>>2]|0){a=-1;return a|0}b=c[a+19688>>2]|0;if((b|0)==1)b=384;else if((b|0)==2)b=1152;else if(!(c[a+19672>>2]|0))b=c[a+19676>>2]|0?576:1152;else b=576;if((_va(a)|0)==1){d=1;while(1){e=d+1|0;d=c[a+19688>>2]|0;do if((d|0)==1)d=384;else if((d|0)==2)d=1152;else{if(!(c[a+19672>>2]|0))if(!(c[a+19676>>2]|0)){d=1152;break}d=576}while(0);b=d+b|0;if((_va(a)|0)==1)d=e;else{d=e;break}}}else d=1;c[a+19840>>2]=d;c[a+19844>>2]=b;Kza(a,0,d)|0;oxa(a,c[a+19844>>2]|0);a=(Iza(a,f,0)|0)>>31;return a|0}function Kza(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;if(!a){a=-1;return a|0}if((c[a+19748>>2]|0)<0){e=Dza(a)|0;if((e|0)<=-1){a=e;return a|0}}a:do switch(d|0){case 1:{b=(c[a+19748>>2]|0)+b|0;break}case 0:break;case 2:{e=c[a+19840>>2]|0;if((e|0)>0){b=e-b|0;break a}c[a+28376>>2]=19;a=-1;return a|0}default:{c[a+28376>>2]=20;a=-1;return a|0}}while(0);pxa(a,(b|0)<0?0:b);b=c[a+27916>>2]|0;b=(b|0)<0?0:b;c[a+27864>>2]=0;d=c[a+19748>>2]|0;e=c[a+27908>>2]|0;if((d|0)<(e|0)){c[a+27900>>2]=0;if((d|0)>(b|0))b=d;else f=12}else f=12;do if((f|0)==12){if((d|0)==(b|0))if((b|0)<(e|0)|(c[a+27900>>2]|0)!=0)break;if((d|0)==(b+-1|0)){c[a+27900>>2]=0;b=d;break}$wa(a)|0;if((c[a+19680>>2]|0)==3)sxa(a,b);b=Xi[c[(c[a+27956>>2]|0)+32>>2]&511](a,b)|0;if((b|0)<0){a=b;return a|0}b=c[a+19748>>2]|0;e=c[a+27908>>2]|0;if((b|0)<(e|0))c[a+27900>>2]=0;c[a+19756>>2]=b}while(0);if((b|0)<(e|0)){a=e;return a|0}if(c[a+27900>>2]|0){a=b;return a|0}a=((c[a+27864>>2]|0)==0&1)+b|0;return a|0}function Lza(a){a=a|0;var b=0,d=0.0,e=0.0,f=0,g=0,i=0;if(!a){a=-1;return a|0}if((c[a+19748>>2]|0)<0){b=Dza(a)|0;if((b|0)<=-1){a=b;return a|0}}b=c[a+19844>>2]|0;do if((b|0)<=-1){f=c[a+19840>>2]|0;if((f|0)>0){b=c[a+19688>>2]|0;if((b|0)==1)b=384;else if((b|0)==2)b=1152;else if(!(c[a+19672>>2]|0))b=c[a+19676>>2]|0?576:1152;else b=576;b=_(b,f)|0;break}b=c[a+27960>>2]|0;if((b|0)<=0){if(b|0){a=-1;return a|0}a=Hza(a)|0;return a|0}d=+h[a+19848>>3];if(!(d!=0.0)){d=+xwa(a);b=c[a+27960>>2]|0}e=+(b|0)/d;b=c[a+19688>>2]|0;if((b|0)==1)d=384.0;else if((b|0)==2)d=1152.0;else if(!(c[a+19672>>2]|0))d=c[a+19676>>2]|0?576.0:1152.0;else d=576.0;b=~~(d*e)}while(0);f=gxa(a,b)|0;if(!(c[a+28068>>2]&64)){a=f;return a|0}g=c[a+27944>>2]|0;if((g|0)>=(f|0)){a=f-(c[a+27936>>2]|0)|0;return a|0}i=c[a+27948>>2]|0;b=c[a+27936>>2]|0;if((i|0)>(f|0)){a=g-b|0;return a|0}else{a=g+f-i-b|0;return a|0}return 0}function Mza(a){a=a|0;var b=0;if(!a)return;b=c[(c[a+27956>>2]|0)+4>>2]|0;if(b|0)Hi[b&1023](a);if(c[a+4>>2]|0){Dwa(a+27876|0);c[a+4>>2]=0}axa(a)|0;cxa(a);Wpb(a);return}function Nza(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+16|0;c[f+12>>2]=a;c[f+8>>2]=b;c[f+4>>2]=d;c[f>>2]=e;if((c[f+8>>2]|0)>>>0<=0){i=f;return}Oza(c[f+12>>2]|0,0,(c[f+8>>2]|0)-1|0,c[f+4>>2]|0,c[f>>2]|0);i=f;return}function Oza(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=i;i=i+32|0;c[g+28>>2]=a;c[g+24>>2]=b;c[g+20>>2]=d;c[g+16>>2]=e;c[g+12>>2]=f;if(((c[g+20>>2]|0)-(c[g+24>>2]|0)|0)>>>0<=4){Pza(c[g+28>>2]|0,c[g+24>>2]|0,c[g+20>>2]|0,c[g+16>>2]|0,c[g+12>>2]|0);i=g;return}c[g+8>>2]=(((c[g+20>>2]|0)+(c[g+24>>2]|0)|0)>>>0)/2|0;if((Gi[c[g+16>>2]&255](c[g+28>>2]|0,c[g+24>>2]|0,c[g+8>>2]|0)|0)>0)$i[c[g+12>>2]&255](c[g+28>>2]|0,c[g+24>>2]|0,c[g+8>>2]|0);if((Gi[c[g+16>>2]&255](c[g+28>>2]|0,c[g+24>>2]|0,c[g+20>>2]|0)|0)>0)$i[c[g+12>>2]&255](c[g+28>>2]|0,c[g+24>>2]|0,c[g+20>>2]|0);if((Gi[c[g+16>>2]&255](c[g+28>>2]|0,c[g+8>>2]|0,c[g+20>>2]|0)|0)>0)$i[c[g+12>>2]&255](c[g+28>>2]|0,c[g+8>>2]|0,c[g+20>>2]|0);c[g+4>>2]=(c[g+20>>2]|0)-1;$i[c[g+12>>2]&255](c[g+28>>2]|0,c[g+8>>2]|0,c[g+4>>2]|0);c[g+8>>2]=c[g+24>>2];c[g>>2]=c[g+4>>2];while(1){d=c[g+16>>2]|0;b=c[g+28>>2]|0;f=(c[g+8>>2]|0)+1|0;c[g+8>>2]=f;if((Gi[d&255](b,f,c[g>>2]|0)|0)<0)continue;do{d=c[g+16>>2]|0;b=c[g+28>>2]|0;f=(c[g+4>>2]|0)+-1|0;c[g+4>>2]=f}while((Gi[d&255](b,f,c[g>>2]|0)|0)>0);if((c[g+4>>2]|0)>>>0<(c[g+8>>2]|0)>>>0)break;$i[c[g+12>>2]&255](c[g+28>>2]|0,c[g+8>>2]|0,c[g+4>>2]|0)}if((c[g+8>>2]|0)!=((c[g+20>>2]|0)-1|0))$i[c[g+12>>2]&255](c[g+28>>2]|0,c[g+8>>2]|0,(c[g+20>>2]|0)-1|0);Oza(c[g+28>>2]|0,c[g+24>>2]|0,c[g+4>>2]|0,c[g+16>>2]|0,c[g+12>>2]|0);Oza(c[g+28>>2]|0,(c[g+8>>2]|0)+1|0,c[g+20>>2]|0,c[g+16>>2]|0,c[g+12>>2]|0);i=g;return}function Pza(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=i;i=i+32|0;c[g+24>>2]=a;c[g+20>>2]=b;c[g+16>>2]=d;c[g+12>>2]=e;c[g+8>>2]=f;do{c[g>>2]=1;c[g+4>>2]=c[g+20>>2];while(1){if((c[g+4>>2]|0)>>>0>=(c[g+16>>2]|0)>>>0)break;if((Gi[c[g+12>>2]&255](c[g+24>>2]|0,c[g+4>>2]|0,(c[g+4>>2]|0)+1|0)|0)>0){$i[c[g+8>>2]&255](c[g+24>>2]|0,c[g+4>>2]|0,(c[g+4>>2]|0)+1|0);c[g>>2]=0}c[g+4>>2]=(c[g+4>>2]|0)+1}}while((c[g>>2]|0)!=0^1);i=g;return}function Qza(b){b=b|0;var d=0,e=0;e=i;i=i+16|0;c[e+4>>2]=b;if(!(c[e+4>>2]|0)){i=e;return}c[e>>2]=Rza()|0;if(!(c[e>>2]|0)){c[e>>2]=Xi[c[728336>>2]&511](92,0)|0;if(!(c[e>>2]|0)){i=e;return}b=c[e>>2]|0;d=b+92|0;do{a[b>>0]=0;b=b+1|0}while((b|0)<(d|0));d=JBa()|0;c[c[e>>2]>>2]=d;if(c[182087]|0)MBa(c[182087]|0)|0;c[(c[e>>2]|0)+88>>2]=c[182088];c[182088]=c[e>>2];if(c[182087]|0)NBa(c[182087]|0)}c[(c[e>>2]|0)+4>>2]=1;Rob((c[e>>2]|0)+8|0,c[e+4>>2]|0,80)|0;a[(c[e>>2]|0)+8+79>>0]=0;i=e;return}function Rza(){var a=0,b=0;a=i;i=i+16|0;if(c[182087]|0)MBa(c[182087]|0)|0;a:do if(c[182088]|0){c[a>>2]=JBa()|0;c[a+4>>2]=c[182088];while(1){if(!(c[a+4>>2]|0))break a;if((c[c[a+4>>2]>>2]|0)==(c[a>>2]|0))break;c[a+4>>2]=c[(c[a+4>>2]|0)+88>>2]}if(c[182087]|0)NBa(c[182087]|0);c[a+8>>2]=c[a+4>>2];b=c[a+8>>2]|0;i=a;return b|0}while(0);if(c[182087]|0)NBa(c[182087]|0);c[a+8>>2]=0;b=c[a+8>>2]|0;i=a;return b|0}function Sza(){var a=0,b=0;a=i;i=i+16|0;c[a>>2]=Rza()|0;if(c[a>>2]|0)if(c[(c[a>>2]|0)+4>>2]|0){c[(c[a>>2]|0)+4>>2]=0;c[a+4>>2]=(c[a>>2]|0)+8;b=c[a+4>>2]|0;i=a;return b|0}c[a+4>>2]=0;b=c[a+4>>2]|0;i=a;return b|0}function Tza(b){b=b|0;var d=0;d=i;i=i+16|0;c[d>>2]=b;if(!(c[d>>2]|0)){i=d;return}a[c[d>>2]>>0]=2;a[(c[d>>2]|0)+1>>0]=0;a[(c[d>>2]|0)+2>>0]=3;i=d;return}function Uza(a){a=a|0;var b=0;b=i;i=i+16|0;c[b+4>>2]=a;do if(c[182089]|0){Qza(513716);c[b+8>>2]=0}else{if(!0)Vza();if(c[182082]|0)if(!(dj[c[182082]&7]()|0)){Qza(0);c[b+8>>2]=0;break}if(!(CBa()|0)){Qza(0);c[b+8>>2]=0;break}if(!(Zza()|0)){Qza(0);c[b+8>>2]=0;break}c[182091]=_za(c[b+4>>2]|0)|0;if(!(c[182091]|0)){Qza(0);c[b+8>>2]=0;break}c[b>>2]=HBa(c[182091]|0)|0;Hi[c[728344>>2]&1023](c[182091]|0);if(!(c[b>>2]|0)){Qza(0);c[b+8>>2]=0;break}c[182091]=c[b>>2];if(!(aAa(728364)|0)){Qza(0);c[b+8>>2]=0;break}c[182092]=bAa()|0;if(c[182092]|0)if(aAa(728368)|0){c[182089]=1;Qza(Sza()|0);c[b+8>>2]=1;break}Hi[c[728344>>2]&1023](c[182091]|0);c[182091]=0;c[b+8>>2]=0}while(0);i=b;return c[b+8>>2]|0}function Vza(){if(0)ib(513736,513755,2178,513819);if(IBa(728328)|0)return;c[182082]=0;c[182083]=0;c[182084]=351;c[182085]=124;c[182086]=690;return}function Wza(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d>>2]=a;c[d+4>>2]=b;b=c[d+4>>2]|0;if(b>>>0>0|(b|0)==0&(c[d>>2]|0)>>>0>4294967295){Qza(593898);c[d+8>>2]=0;b=c[d+8>>2]|0;i=d;return b|0}else{c[d+8>>2]=Vpb(c[d>>2]|0)|0;b=c[d+8>>2]|0;i=d;return b|0}return 0}function Xza(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;c[e+8>>2]=a;c[e>>2]=b;c[e+4>>2]=d;a=c[e+4>>2]|0;if(a>>>0>0|(a|0)==0&(c[e>>2]|0)>>>0>4294967295){Qza(593898);c[e+12>>2]=0;a=c[e+12>>2]|0;i=e;return a|0}else{c[e+12>>2]=Ypb(c[e+8>>2]|0,c[e>>2]|0)|0;a=c[e+12>>2]|0;i=e;return a|0}return 0}function Yza(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;Wpb(c[b>>2]|0);i=b;return}function Zza(){var a=0,b=0;a=i;i=i+16|0;c[182087]=KBa()|0;if(c[182087]|0){c[182090]=KBa()|0;if(c[182090]|0){c[a>>2]=1;b=c[a>>2]|0;i=a;return b|0}}if(c[182087]|0)LBa(c[182087]|0);if(c[182090]|0)LBa(c[182090]|0);c[182090]=0;c[182087]=0;c[a>>2]=0;b=c[a>>2]|0;i=a;return b|0}function _za(b){b=b|0;var d=0,e=0,f=0;e=i;i=i+32|0;c[e+20>>2]=b;c[e+16>>2]=0;c[e+12>>2]=0;c[e+8>>2]=0;c[e+16>>2]=EBa(c[e+20>>2]|0)|0;if(c[e+16>>2]|0){c[e+24>>2]=c[e+16>>2];d=c[e+24>>2]|0;i=e;return d|0}if(!(c[e+20>>2]|0)){Qza(513839);c[e+24>>2]=0;d=c[e+24>>2]|0;i=e;return d|0}c[e+12>>2]=$za()|0;f=(rnb(c[e+12>>2]|0)|0)==1;b=c[e+20>>2]|0;d=c[e+12>>2]|0;a:do if(f)c[e+8>>2]=sob(b,a[d>>0]|0)|0;else{c[e+8>>2]=pob(b,d)|0;if(c[e+8>>2]|0){c[e+4>>2]=c[e+8>>2];while(1){if(!(c[e+4>>2]|0))break a;c[e+8>>2]=c[e+4>>2];c[e+4>>2]=pob((c[e+4>>2]|0)+1|0,c[e+12>>2]|0)|0}}}while(0);if(!(c[e+8>>2]|0)){Qza(514341);c[e+24>>2]=0;f=c[e+24>>2]|0;i=e;return f|0}c[e>>2]=(c[e+8>>2]|0)-(c[e+20>>2]|0);c[e+16>>2]=Xi[c[728336>>2]&511]((c[e>>2]|0)+1|0,0)|0;if(!(c[e+16>>2]|0)){Qza(593898);c[e+24>>2]=0;f=c[e+24>>2]|0;i=e;return f|0}else{mBb(c[e+16>>2]|0,c[e+20>>2]|0,c[e>>2]|0)|0;a[(c[e+16>>2]|0)+(c[e>>2]|0)>>0]=0;c[e+24>>2]=c[e+16>>2];f=c[e+24>>2]|0;i=e;return f|0}return 0}function $za(){return 520497}function aAa(a){a=a|0;var b=0,d=0,e=0;b=i;i=i+16|0;c[b+8>>2]=a;c[b+4>>2]=$za()|0;a=c[c[b+8>>2]>>2]|0;a=a+(rnb(c[c[b+8>>2]>>2]|0)|0)|0;a=a+(0-(rnb(c[b+4>>2]|0)|0))|0;if(!(Imb(a,c[b+4>>2]|0)|0)){c[b+12>>2]=1;a=c[b+12>>2]|0;i=b;return a|0}e=c[182085]|0;d=c[c[b+8>>2]>>2]|0;a=rnb(c[c[b+8>>2]>>2]|0)|0;a=a+(rnb(c[b+4>>2]|0)|0)+1|0;c[b>>2]=Gi[e&255](d,a,0)|0;if(c[b>>2]|0){Lpb(c[b>>2]|0,c[b+4>>2]|0)|0;c[c[b+8>>2]>>2]=c[b>>2];c[b+12>>2]=1;e=c[b+12>>2]|0;i=b;return e|0}else{Hi[c[728344>>2]&1023](c[c[b+8>>2]>>2]|0);c[b+12>>2]=0;e=c[b+12>>2]|0;i=b;return e|0}return 0}function bAa(){var a=0,b=0,d=0,e=0;a=i;i=i+32|0;c[a+28>>2]=gBa()|0;if(c[a+28>>2]|0){c[a+24>>2]=HBa(c[a+28>>2]|0)|0;Hi[c[728344>>2]&1023](c[a+28>>2]|0);c[a+28>>2]=c[a+24>>2]}if(c[a+28>>2]|0){b=c[a+28>>2]|0;i=a;return b|0}c[a+20>>2]=$za()|0;c[a+16>>2]=eBa()|0;c[a+12>>2]=c[a+16>>2]|0?c[a+16>>2]|0:601829;d=c[182084]|0;b=rnb(c[182091]|0)|0;b=b+(rnb(c[a+12>>2]|0)|0)|0;b=b+(rnb(c[a+20>>2]|0)|0)+6|0;c[a+28>>2]=Xi[d&511](b,0)|0;if(!(c[a+28>>2]|0))Qza(593898);else{d=c[a+28>>2]|0;e=c[a+20>>2]|0;b=c[a+12>>2]|0;c[a>>2]=c[182091];c[a+4>>2]=e;c[a+8>>2]=b;rmb(d,513853,a)|0}Hi[c[728344>>2]&1023](c[a+16>>2]|0);e=c[a+28>>2]|0;i=a;return e|0}function cAa(){var a=0,b=0;a=i;i=i+16|0;if(!(c[182089]|0)){Qza(513865);c[a>>2]=0;b=c[a>>2]|0;i=a;return b|0}if(!(DBa()|0)){Qza(0);c[a>>2]=0;b=c[a>>2]|0;i=a;return b|0}dAa(728372)|0;if(!(eAa(0)|0)){Qza(513881);c[a>>2]=0;b=c[a>>2]|0;i=a;return b|0}nAa();oAa();if(c[182091]|0){Hi[c[728344>>2]&1023](c[182091]|0);c[182091]=0}if(c[182092]|0){Hi[c[728344>>2]&1023](c[182092]|0);c[182092]=0}c[182097]=0;c[182089]=0;LBa(c[182087]|0);LBa(c[182090]|0);if(c[182083]|0)gj[c[728332>>2]&15]();c[182090]=0;c[182087]=0;c[a>>2]=1;b=c[a>>2]|0;i=a;return b|0}function dAa(a){a=a|0;var b=0;b=i;i=i+16|0;c[b+8>>2]=a;c[b>>2]=0;c[b+4>>2]=c[c[b+8>>2]>>2];while(1){if(!(c[b+4>>2]|0)){a=6;break}c[b>>2]=c[(c[b+4>>2]|0)+32>>2];if(!(vi[c[(c[(c[b+4>>2]|0)+12>>2]|0)+80>>2]&2047](c[c[b+4>>2]>>2]|0)|0)){a=4;break}Hi[c[728344>>2]&1023](c[b+4>>2]|0);c[b+4>>2]=c[b>>2]}if((a|0)==4){c[c[b+8>>2]>>2]=c[b+4>>2];c[b+12>>2]=0;a=c[b+12>>2]|0;i=b;return a|0}else if((a|0)==6){c[c[b+8>>2]>>2]=0;c[b+12>>2]=1;a=c[b+12>>2]|0;i=b;return a|0}return 0}function eAa(a){a=a|0;var b=0;b=i;i=i+16|0;c[b+4>>2]=a;c[b>>2]=1;MBa(c[182090]|0)|0;do if(c[182094]|0){if(fAa(c[182094]|0,c[182093]|0)|0){c[182094]=0;break}Qza(0);NBa(c[182090]|0);c[b+8>>2]=0;a=c[b+8>>2]|0;i=b;return a|0}while(0);if(c[b+4>>2]|0){c[182094]=gAa(c[b+4>>2]|0,0,1)|0;c[b>>2]=(c[182094]|0)!=0&1}NBa(c[182090]|0);c[b+8>>2]=c[b>>2];a=c[b+8>>2]|0;i=b;return a|0}function fAa(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d+8>>2]=a;c[d+4>>2]=b;if(!(c[d+8>>2]|0)){c[d+12>>2]=1;b=c[d+12>>2]|0;i=d;return b|0}c[d>>2]=c[d+4>>2];while(1){if(!(c[d>>2]|0)){a=8;break}if((c[(c[d>>2]|0)+8>>2]|0)==(c[d+8>>2]|0)){a=6;break}c[d>>2]=c[(c[d>>2]|0)+32>>2]}if((a|0)==6){Qza(513881);c[d+12>>2]=0;b=c[d+12>>2]|0;i=d;return b|0}else if((a|0)==8){Hi[c[(c[(c[d+8>>2]|0)+12>>2]|0)+52>>2]&1023](c[c[d+8>>2]>>2]|0);Hi[c[728344>>2]&1023](c[(c[d+8>>2]|0)+4>>2]|0);Hi[c[728344>>2]&1023](c[(c[d+8>>2]|0)+8>>2]|0);Hi[c[728344>>2]&1023](c[d+8>>2]|0);c[d+12>>2]=1;b=c[d+12>>2]|0;i=d;return b|0}return 0}function gAa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+32|0;c[f+20>>2]=b;c[f+16>>2]=d;c[f+12>>2]=e;c[f+8>>2]=0;c[f+4>>2]=0;a:do if(c[f+20>>2]|0){if(c[f+16>>2]|0){c[f>>2]=(rnb(c[f+16>>2]|0)|0)+1;if((c[f>>2]|0)>>>0<128){e=i;i=i+((1*((c[f>>2]|0)+1|0)|0)+15&-16)|0}else e=0;c[f+4>>2]=hAa(e,c[f>>2]|0,0)|0;if(!(c[f+4>>2]|0)){Qza(593898);break}if(!(iAa(c[f+16>>2]|0,c[f+4>>2]|0)|0))break;c[f+16>>2]=c[f+4>>2]}c[f+8>>2]=jAa(c[f+20>>2]|0,c[f+12>>2]|0)|0;if(!(c[f+8>>2]|0)){Qza(0);break}d=c[182084]|0;b=(rnb(c[f+20>>2]|0)|0)+1|0;b=Xi[d&511](b,0)|0;c[(c[f+8>>2]|0)+4>>2]=b;if(!(c[(c[f+8>>2]|0)+4>>2]|0)){Qza(593898);break}Bnb(c[(c[f+8>>2]|0)+4>>2]|0,c[f+20>>2]|0)|0;do if(c[f+16>>2]|0)if(a[c[f+16>>2]>>0]|0){d=c[182084]|0;b=(rnb(c[f+16>>2]|0)|0)+2|0;b=Xi[d&511](b,0)|0;c[(c[f+8>>2]|0)+8>>2]=b;if(c[(c[f+8>>2]|0)+8>>2]|0){Bnb(c[(c[f+8>>2]|0)+8>>2]|0,c[f+16>>2]|0)|0;Lpb(c[(c[f+8>>2]|0)+8>>2]|0,520497)|0;break}else{Qza(593898);break a}}while(0);mAa(c[f+4>>2]|0);c[f+24>>2]=c[f+8>>2];b=c[f+24>>2]|0;i=f;return b|0}else Qza(514341);while(0);if(c[f+8>>2]|0){Hi[c[(c[(c[f+8>>2]|0)+12>>2]|0)+52>>2]&1023](c[c[f+8>>2]>>2]|0);Hi[c[728344>>2]&1023](c[(c[f+8>>2]|0)+4>>2]|0);Hi[c[728344>>2]&1023](c[(c[f+8>>2]|0)+8>>2]|0);Hi[c[728344>>2]&1023](c[f+8>>2]|0)}mAa(c[f+4>>2]|0);c[f+24>>2]=0;b=c[f+24>>2]|0;i=f;return b|0}function hAa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+32|0;c[f+12>>2]=b;c[f>>2]=d;c[f+4>>2]=e;a[f+20>>0]=(c[f+12>>2]|0)==0?1:0;if(a[f+20>>0]|0){e=c[182084]|0;b=jBb(c[f>>2]|0,c[f+4>>2]|0,1,0)|0;c[f+12>>2]=Xi[e&511](b,C)|0}if(c[f+12>>2]|0){c[f+8>>2]=c[f+12>>2];a[c[f+8>>2]>>0]=a[f+20>>0]|0;c[f+16>>2]=(c[f+8>>2]|0)+1;b=c[f+16>>2]|0;i=f;return b|0}else{c[f+16>>2]=0;b=c[f+16>>2]|0;i=f;return b|0}return 0}function iAa(b,d){b=b|0;d=d|0;var e=0;e=i;i=i+32|0;c[e+8>>2]=b;c[e+4>>2]=d;while(1){if((a[c[e+8>>2]>>0]|0)!=47)break;c[e+8>>2]=(c[e+8>>2]|0)+1}c[e>>2]=c[e+4>>2];while(1){b=c[e+8>>2]|0;c[e+8>>2]=b+1;a[e+16>>0]=a[b>>0]|0;if((a[e+16>>0]|0)==58){d=7;break}if((a[e+16>>0]|0)==92){d=7;break}if((a[e+16>>0]|0)==47){a[c[e+4>>2]>>0]=0;if(!(Imb(c[e>>2]|0,616643)|0)){d=11;break}if(!(Imb(c[e>>2]|0,517032)|0)){d=11;break}while(1){d=c[e+8>>2]|0;if((a[c[e+8>>2]>>0]|0)!=47)break;c[e+8>>2]=d+1}if(!(a[d>>0]|0)){d=17;break}c[e>>2]=(c[e+4>>2]|0)+1}d=a[e+16>>0]|0;b=c[e+4>>2]|0;c[e+4>>2]=b+1;a[b>>0]=d;if(!(a[e+16>>0]|0)){d=17;break}}if((d|0)==7){Qza(513898);c[e+12>>2]=0;b=c[e+12>>2]|0;i=e;return b|0}else if((d|0)==11){Qza(513898);c[e+12>>2]=0;b=c[e+12>>2]|0;i=e;return b|0}else if((d|0)==17){c[e+12>>2]=1;b=c[e+12>>2]|0;i=e;return b|0}return 0}function jAa(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+32|0;c[d+16>>2]=a;c[d+12>>2]=b;c[d+8>>2]=0;if(!(iBa(c[d+16>>2]|0)|0)){Qza(514598);c[d+20>>2]=0;b=c[d+20>>2]|0;i=d;return b|0}c[d>>2]=kAa(c[d+16>>2]|0)|0;b=(c[d>>2]|0)!=0;c[d+4>>2]=37200;a:do if(b){while(1){if(!(c[c[d+4>>2]>>2]|0?(c[d+8>>2]|0)==0:0))break;if(!(cBa(c[d>>2]|0,c[c[c[c[d+4>>2]>>2]>>2]>>2]|0)|0))c[d+8>>2]=lAa(c[c[d+4>>2]>>2]|0,c[d+16>>2]|0,c[d+12>>2]|0)|0;c[d+4>>2]=(c[d+4>>2]|0)+4}c[d+4>>2]=37200;while(1){if(!(c[c[d+4>>2]>>2]|0?(c[d+8>>2]|0)==0:0))break a;if(cBa(c[d>>2]|0,c[c[c[c[d+4>>2]>>2]>>2]>>2]|0)|0)c[d+8>>2]=lAa(c[c[d+4>>2]>>2]|0,c[d+16>>2]|0,c[d+12>>2]|0)|0;c[d+4>>2]=(c[d+4>>2]|0)+4}}else while(1){if(!(c[c[d+4>>2]>>2]|0?(c[d+8>>2]|0)==0:0))break a;c[d+8>>2]=lAa(c[c[d+4>>2]>>2]|0,c[d+16>>2]|0,c[d+12>>2]|0)|0;c[d+4>>2]=(c[d+4>>2]|0)+4}while(0);if(!(c[d+8>>2]|0)){Qza(514555);c[d+20>>2]=0;b=c[d+20>>2]|0;i=d;return b|0}else{c[d+20>>2]=c[d+8>>2];b=c[d+20>>2]|0;i=d;return b|0}return 0}function kAa(a){a=a|0;var b=0;b=i;i=i+16|0;c[b+8>>2]=a;c[b+4>>2]=Unb(c[b+8>>2]|0,46)|0;c[b>>2]=c[b+4>>2];while(1){if(!(c[b>>2]|0))break;c[b>>2]=Unb((c[b>>2]|0)+1|0,46)|0;if(!(c[b>>2]|0))continue;c[b+4>>2]=c[b>>2]}if(!(c[b+4>>2]|0)){a=c[b+4>>2]|0;i=b;return a|0}c[b+4>>2]=(c[b+4>>2]|0)+1;a=c[b+4>>2]|0;i=b;return a|0}function lAa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+32|0;c[e+16>>2]=a;c[e+12>>2]=b;c[e+8>>2]=d;c[e+4>>2]=0;if(!(Xi[c[(c[e+16>>2]|0)+4>>2]&511](c[e+12>>2]|0,c[e+8>>2]|0)|0)){a=c[e+4>>2]|0;i=e;return a|0}c[e>>2]=Xi[c[(c[e+16>>2]|0)+8>>2]&511](c[e+12>>2]|0,c[e+8>>2]|0)|0;if(!(c[e>>2]|0)){a=c[e+4>>2]|0;i=e;return a|0}c[e+4>>2]=Xi[c[728336>>2]&511](20,0)|0;if(!(c[e+4>>2]|0)){Hi[c[(c[e+16>>2]|0)+52>>2]&1023](c[e>>2]|0);a=c[e+4>>2]|0;i=e;return a|0}else{a=c[e+4>>2]|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[(c[e+4>>2]|0)+8>>2]=0;c[(c[e+4>>2]|0)+12>>2]=c[e+16>>2];c[c[e+4>>2]>>2]=c[e>>2];a=c[e+4>>2]|0;i=e;return a|0}return 0}function mAa(b){b=b|0;var d=0;d=i;i=i+16|0;c[d+4>>2]=b;if(!(c[d+4>>2]|0)){i=d;return}c[d>>2]=(c[d+4>>2]|0)+-1;a[d+8>>0]=a[c[d>>2]>>0]|0;if(!(a[d+8>>0]|0)){i=d;return}Hi[c[728344>>2]&1023](c[d>>2]|0);i=d;return}function nAa(){var a=0;a=i;i=i+16|0;c[a>>2]=0;dAa(728380)|0;if(!(c[182096]|0)){i=a;return}c[a+4>>2]=c[182096];while(1){if(!(c[a+4>>2]|0))break;c[a>>2]=c[(c[a+4>>2]|0)+16>>2];fAa(c[a+4>>2]|0,c[182095]|0)|0;c[a+4>>2]=c[a>>2]}c[182096]=0;i=a;return}function oAa(){var a=0;a=i;i=i+16|0;c[a+4>>2]=c[182088];while(1){if(!(c[a+4>>2]|0))break;c[a>>2]=c[(c[a+4>>2]|0)+88>>2];Hi[c[728344>>2]&1023](c[a+4>>2]|0);c[a+4>>2]=c[a>>2]}c[182088]=0;i=a;return}function pAa(){return c[182089]|0}function qAa(a){a=a|0;var b=0;b=i;i=i+16|0;c[b+4>>2]=a;c[b>>2]=c[b+4>>2];while(1){a=c[182086]|0;if(!(c[c[b>>2]>>2]|0))break;Hi[a&1023](c[c[b>>2]>>2]|0);c[b>>2]=(c[b>>2]|0)+4}Hi[a&1023](c[b+4>>2]|0);i=b;return}function rAa(){return c[182092]|0}function sAa(){var a=0;a=i;i=i+16|0;c[a>>2]=0;MBa(c[182090]|0)|0;if(c[182094]|0)c[a>>2]=c[(c[182094]|0)+4>>2];NBa(c[182090]|0);i=a;return c[a>>2]|0}function tAa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+32|0;c[f+20>>2]=a;c[f+16>>2]=b;c[f+12>>2]=d;c[f+4>>2]=0;if(!(c[f+20>>2]|0)){Qza(514341);c[f+24>>2]=0;e=c[f+24>>2]|0;i=f;return e|0}if(!(c[f+16>>2]|0))c[f+16>>2]=520497;MBa(c[182090]|0)|0;c[f>>2]=c[182096];while(1){d=c[f+20>>2]|0;if(!(c[f>>2]|0))break;if(!(Imb(d,c[(c[f>>2]|0)+4>>2]|0)|0)){e=8;break}c[f+4>>2]=c[f>>2];c[f>>2]=c[(c[f>>2]|0)+16>>2]}if((e|0)==8){Qza(0);NBa(c[182090]|0);c[f+24>>2]=1;e=c[f+24>>2]|0;i=f;return e|0}c[f+8>>2]=gAa(d,c[f+16>>2]|0,0)|0;if(!(c[f+8>>2]|0)){Qza(0);NBa(c[182090]|0);c[f+24>>2]=0;e=c[f+24>>2]|0;i=f;return e|0}do if(c[f+12>>2]|0){d=c[f+8>>2]|0;if(!(c[f+4>>2]|0)){c[182096]=d;break}else{c[(c[f+4>>2]|0)+16>>2]=d;break}}else{c[(c[f+8>>2]|0)+16>>2]=c[182096];c[182096]=c[f+8>>2]}while(0);NBa(c[182090]|0);c[f+24>>2]=1;e=c[f+24>>2]|0;i=f;return e|0}function uAa(a){a=a|0;var b=0,d=0,e=0;d=i;i=i+32|0;c[d+12>>2]=a;c[d+4>>2]=0;c[d>>2]=0;if(!(c[d+12>>2]|0)){Qza(514341);c[d+16>>2]=0;b=c[d+16>>2]|0;i=d;return b|0}MBa(c[182090]|0)|0;c[d+8>>2]=c[182096];while(1){if(!(c[d+8>>2]|0)){b=13;break}e=(Imb(c[(c[d+8>>2]|0)+4>>2]|0,c[d+12>>2]|0)|0)==0;a=c[d+8>>2]|0;if(e)break;c[d+4>>2]=a;c[d+8>>2]=c[(c[d+8>>2]|0)+16>>2]}if((b|0)==13){Qza(513916);NBa(c[182090]|0);c[d+16>>2]=0;e=c[d+16>>2]|0;i=d;return e|0}c[d>>2]=c[a+16>>2];if(!(fAa(c[d+8>>2]|0,c[182095]|0)|0)){Qza(0);NBa(c[182090]|0);c[d+16>>2]=0;e=c[d+16>>2]|0;i=d;return e|0}a=c[d>>2]|0;if(!(c[d+4>>2]|0))c[182096]=a;else c[(c[d+4>>2]|0)+16>>2]=a;Qza(0);NBa(c[182090]|0);c[d+16>>2]=1;e=c[d+16>>2]|0;i=d;return e|0}function vAa(a){a=a|0;var b=0,d=0,e=0;d=i;i=i+16|0;c[d+8>>2]=a;MBa(c[182090]|0)|0;c[d+4>>2]=c[182096];while(1){if(!(c[d+4>>2]|0)){b=8;break}e=(Imb(c[(c[d+4>>2]|0)+4>>2]|0,c[d+8>>2]|0)|0)==0;a=c[d+4>>2]|0;if(e)break;c[d+4>>2]=c[a+16>>2]}if((b|0)==8){NBa(c[182090]|0);Qza(513916);c[d+12>>2]=0;e=c[d+12>>2]|0;i=d;return e|0}if(c[a+8>>2]|0)a=c[(c[d+4>>2]|0)+8>>2]|0;else a=520497;c[d>>2]=a;NBa(c[182090]|0);c[d+12>>2]=c[d>>2];e=c[d+12>>2]|0;i=d;return e|0}function wAa(a){a=a|0;var b=0;b=i;i=i+32|0;c[b+12>>2]=a;c[b+8>>2]=0;if(!(c[b+12>>2]|0)){Qza(514341);c[b+16>>2]=0;a=c[b+16>>2]|0;i=b;return a|0}c[b>>2]=(rnb(c[b+12>>2]|0)|0)+1;if((c[b>>2]|0)>>>0<128){a=i;i=i+((1*((c[b>>2]|0)+1|0)|0)+15&-16)|0}else a=0;c[b+4>>2]=hAa(a,c[b>>2]|0,0)|0;if(!(c[b+4>>2]|0)){Qza(593898);c[b+16>>2]=0;a=c[b+16>>2]|0;i=b;return a|0}else{c[b+8>>2]=xAa(c[b+12>>2]|0,c[b+4>>2]|0)|0;mAa(c[b+4>>2]|0);c[b+16>>2]=c[b+8>>2];a=c[b+16>>2]|0;i=b;return a|0}return 0}function xAa(b,d){b=b|0;d=d|0;var e=0;e=i;i=i+32|0;c[e+24>>2]=b;c[e+20>>2]=d;c[e+4>>2]=0;c[e>>2]=1;if(!(iAa(c[e+24>>2]|0,c[e+20>>2]|0)|0)){Qza(0);c[e+28>>2]=0;d=c[e+28>>2]|0;i=e;return d|0}MBa(c[182090]|0)|0;if(!(c[182094]|0)){Qza(513945);NBa(c[182090]|0);c[e+28>>2]=0;d=c[e+28>>2]|0;i=e;return d|0}c[e+16>>2]=c[182094];if(!(yAa(c[e+16>>2]|0,e+20|0,1)|0)){Qza(0);NBa(c[182090]|0);c[e+28>>2]=0;d=c[e+28>>2]|0;i=e;return d|0}c[e+12>>2]=c[e+20>>2];while(1){c[e+8>>2]=Unb(c[e+12>>2]|0,47)|0;if(c[e+8>>2]|0)a[c[e+8>>2]>>0]=0;if(c[e>>2]|0)c[e+4>>2]=Gi[c[(c[(c[e+16>>2]|0)+12>>2]|0)+20>>2]&255](c[c[e+16>>2]>>2]|0,c[e+20>>2]|0,e)|0;if(!(c[e>>2]|0))c[e+4>>2]=Xi[c[(c[(c[e+16>>2]|0)+12>>2]|0)+48>>2]&511](c[c[e+16>>2]>>2]|0,c[e+20>>2]|0)|0;if((c[e+4>>2]|0)==0|(c[e+8>>2]|0)==0)break;a[c[e+8>>2]>>0]=47;c[e+12>>2]=(c[e+8>>2]|0)+1}NBa(c[182090]|0);c[e+28>>2]=c[e+4>>2];d=c[e+28>>2]|0;i=e;return d|0}function yAa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+48|0;c[f+36>>2]=b;c[f+32>>2]=d;c[f+28>>2]=e;c[f+24>>2]=c[c[f+32>>2]>>2];c[f+20>>2]=1;if(!(a[c[f+24>>2]>>0]|0)){c[f+40>>2]=1;b=c[f+40>>2]|0;i=f;return b|0}if(c[(c[f+36>>2]|0)+8>>2]|0){c[f+8>>2]=rnb(c[(c[f+36>>2]|0)+8>>2]|0)|0;c[f+4>>2]=rnb(c[f+24>>2]|0)|0;if((c[f+8>>2]|0)>>>0<=1)ib(513972,513755,1286,513986);if((c[f+4>>2]|0)>>>0<((c[f+8>>2]|0)-1|0)>>>0){Qza(513997);c[f+40>>2]=0;b=c[f+40>>2]|0;i=f;return b|0}c[f+20>>2]=pmb(c[(c[f+36>>2]|0)+8>>2]|0,c[f+24>>2]|0,(c[f+8>>2]|0)-1|0)|0;if(c[f+20>>2]|0){Qza(513997);c[f+40>>2]=0;b=c[f+40>>2]|0;i=f;return b|0}if((c[f+4>>2]|0)>>>0>((c[f+8>>2]|0)-1|0)>>>0)if((a[(c[f+24>>2]|0)+((c[f+8>>2]|0)-1)>>0]|0)!=47){Qza(513997);c[f+40>>2]=0;b=c[f+40>>2]|0;i=f;return b|0}c[f+24>>2]=(c[f+24>>2]|0)+((c[f+8>>2]|0)-1);if((a[c[f+24>>2]>>0]|0)==47)c[f+24>>2]=(c[f+24>>2]|0)+1;c[c[f+32>>2]>>2]=c[f+24>>2];c[f+20>>2]=1}c[f+16>>2]=c[f+24>>2];a:do if(!(c[182097]|0)){while(1){c[f>>2]=0;c[f+12>>2]=Unb(c[f+16>>2]|0,47)|0;if(c[f+12>>2]|0)a[c[f+12>>2]>>0]=0;c[f>>2]=Gi[c[(c[(c[f+36>>2]|0)+12>>2]|0)+24>>2]&255](c[c[f+36>>2]>>2]|0,c[f+24>>2]|0,f+20|0)|0;if(c[f+12>>2]|0)a[c[f+12>>2]>>0]=47;if(c[f>>2]|0){e=22;break}d=(c[f+12>>2]|0)==0;if(!(c[f+20>>2]|0)){e=24;break}if(d)break a;c[f+16>>2]=(c[f+12>>2]|0)+1}if((e|0)==22){Qza(514012);c[f+40>>2]=0;b=c[f+40>>2]|0;i=f;return b|0}else if((e|0)==24){if(!(d|(c[f+28>>2]|0)!=0))break;c[f+20>>2]=1;break}}while(0);c[f+40>>2]=c[f+20>>2];b=c[f+40>>2]|0;i=f;return b|0}function zAa(a){a=a|0;var b=0;b=i;i=i+32|0;c[b+12>>2]=a;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;c[b>>2]=Xi[c[728336>>2]&511](4,0)|0;if(!(c[b>>2]|0)){Qza(593898);c[b+16>>2]=0;a=c[b+16>>2]|0;i=b;return a|0}else{CAa(c[b+12>>2]|0,99,b);c[(c[b>>2]|0)+(c[b+4>>2]<<2)>>2]=0;c[b+16>>2]=c[b>>2];a=c[b+16>>2]|0;i=b;return a|0}return 0}function AAa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+32|0;c[e+24>>2]=a;c[e+20>>2]=b;c[e+16>>2]=d;c[e>>2]=c[e+24>>2];c[e+12>>2]=c[(c[e>>2]|0)+4>>2];if(BAa(c[e+16>>2]|0,c[c[e>>2]>>2]|0,e+12|0)|0){i=e;return}c[e+8>>2]=Gi[c[728340>>2]&255](c[c[e>>2]>>2]|0,(c[(c[e>>2]|0)+4>>2]|0)+2<<2,0)|0;b=c[182084]|0;d=(rnb(c[e+16>>2]|0)|0)+1|0;c[e+4>>2]=Xi[b&511](d,0)|0;if(c[e+8>>2]|0)c[c[e>>2]>>2]=c[e+8>>2];if((c[e+8>>2]|0)==0|(c[e+4>>2]|0)==0){i=e;return}Bnb(c[e+4>>2]|0,c[e+16>>2]|0)|0;if((c[e+12>>2]|0)!=(c[(c[e>>2]|0)+4>>2]|0))nBb((c[c[e>>2]>>2]|0)+((c[e+12>>2]|0)+1<<2)|0,(c[c[e>>2]>>2]|0)+(c[e+12>>2]<<2)|0,(c[(c[e>>2]|0)+4>>2]|0)-(c[e+12>>2]|0)<<2|0)|0;c[(c[c[e>>2]>>2]|0)+(c[e+12>>2]<<2)>>2]=c[e+4>>2];d=(c[e>>2]|0)+4|0;c[d>>2]=(c[d>>2]|0)+1;i=e;return}function BAa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+48|0;c[e+28>>2]=a;c[e+24>>2]=b;c[e+20>>2]=d;c[e+16>>2]=c[c[e+20>>2]>>2];c[e+8>>2]=0;while(1){if((c[e+16>>2]|0)>>>0<=0){b=8;break}c[e+12>>2]=(c[e+16>>2]|0)>>>1;c[e+4>>2]=(c[e+8>>2]|0)+(c[e+12>>2]|0);c[e>>2]=Imb(c[(c[e+24>>2]|0)+(c[e+4>>2]<<2)>>2]|0,c[e+28>>2]|0)|0;if(!(c[e>>2]|0)){b=4;break}if((c[e>>2]|0)>0){c[e+16>>2]=c[e+12>>2];continue}else{c[e+8>>2]=(c[e+4>>2]|0)+1;c[e+16>>2]=(c[e+16>>2]|0)-((c[e+12>>2]|0)+1);continue}}if((b|0)==4){c[e+32>>2]=1;a=c[e+32>>2]|0;i=e;return a|0}else if((b|0)==8){c[c[e+20>>2]>>2]=c[e+8>>2];c[e+32>>2]=0;a=c[e+32>>2]|0;i=e;return a|0}return 0}function CAa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+32|0;c[e+28>>2]=a;c[e+24>>2]=b;c[e+20>>2]=d;if(!(c[e+28>>2]|0)){Qza(514341);i=e;return}if(!(c[e+24>>2]|0)){Qza(514341);i=e;return}c[e+16>>2]=(rnb(c[e+28>>2]|0)|0)+1;if((c[e+16>>2]|0)>>>0<128){a=i;i=i+((1*((c[e+16>>2]|0)+1|0)|0)+15&-16)|0}else a=0;c[e+12>>2]=hAa(a,c[e+16>>2]|0,0)|0;if(!(c[e+12>>2]|0)){Qza(593898);i=e;return}if(iAa(c[e+28>>2]|0,c[e+12>>2]|0)|0){MBa(c[182090]|0)|0;c[e+4>>2]=((c[182097]|0)!=0^1)&1;c[e+8>>2]=c[182096];while(1){if(!(c[e+8>>2]|0))break;c[e>>2]=c[e+12>>2];d=(DAa(c[e+8>>2]|0,c[e>>2]|0)|0)!=0;a=c[e+8>>2]|0;if(d)EAa(a,c[e>>2]|0,c[e+24>>2]|0,c[e+28>>2]|0,c[e+20>>2]|0);else if(yAa(a,e,0)|0)Ii[c[(c[(c[e+8>>2]|0)+12>>2]|0)+12>>2]&63](c[c[e+8>>2]>>2]|0,c[e>>2]|0,c[e+4>>2]|0,c[e+24>>2]|0,c[e+28>>2]|0,c[e+20>>2]|0);c[e+8>>2]=c[(c[e+8>>2]|0)+16>>2]}NBa(c[182090]|0)}mAa(c[e+12>>2]|0);i=e;return}function DAa(b,d){b=b|0;d=d|0;var e=0;e=i;i=i+32|0;c[e+16>>2]=b;c[e+12>>2]=d;do if(!(c[(c[e+16>>2]|0)+8>>2]|0))c[e+20>>2]=0;else{if(!(a[c[e+12>>2]>>0]|0)){c[e+20>>2]=1;break}c[e+4>>2]=rnb(c[e+12>>2]|0)|0;c[e>>2]=rnb(c[(c[e+16>>2]|0)+8>>2]|0)|0;if((c[e+4>>2]|0)>>>0>(c[e>>2]|0)>>>0){c[e+20>>2]=0;break}if(((c[e+4>>2]|0)+1|0)==(c[e>>2]|0)){c[e+20>>2]=0;break}c[e+8>>2]=pmb(c[e+12>>2]|0,c[(c[e+16>>2]|0)+8>>2]|0,c[e+4>>2]|0)|0;if(c[e+8>>2]|0){c[e+20>>2]=0;break}else{c[e+20>>2]=(a[(c[(c[e+16>>2]|0)+8>>2]|0)+(c[e+4>>2]|0)>>0]|0)==47&1;break}}while(0);i=e;return c[e+20>>2]|0}function EAa(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+48|0;c[h+36>>2]=b;c[h+32>>2]=d;c[h+28>>2]=e;c[h+24>>2]=f;c[h+20>>2]=g;c[h+16>>2]=rnb(c[h+32>>2]|0)|0;c[h+12>>2]=0;c[h+8>>2]=0;c[h+4>>2]=(rnb(c[(c[h+36>>2]|0)+8>>2]|0)|0)+1;if((c[h+4>>2]|0)>>>0<128){f=i;i=i+((1*((c[h+4>>2]|0)+1|0)|0)+15&-16)|0}else f=0;c[h>>2]=hAa(f,c[h+4>>2]|0,0)|0;if(!(c[h>>2]|0)){i=h;return}Bnb(c[h>>2]|0,c[(c[h+36>>2]|0)+8>>2]|0)|0;c[h+12>>2]=(c[h>>2]|0)+(c[h+16>>2]|0?(c[h+16>>2]|0)+1|0:0);c[h+8>>2]=Unb(c[h+12>>2]|0,47)|0;if(!(c[h+8>>2]|0))ib(518826,513755,1565,514040);a[c[h+8>>2]>>0]=0;$i[c[h+28>>2]&255](c[h+20>>2]|0,c[h+24>>2]|0,c[h+12>>2]|0);mAa(c[h>>2]|0);i=h;return}function FAa(a){a=a|0;var b=0,d=0;b=i;i=i+32|0;c[b+20>>2]=a;c[b+16>>2]=0;c[b+12>>2]=0;if(!(c[b+20>>2]|0)){Qza(514341);c[b+24>>2]=0;a=c[b+24>>2]|0;i=b;return a|0}c[b+8>>2]=(rnb(c[b+20>>2]|0)|0)+1;if((c[b+8>>2]|0)>>>0<128){a=i;i=i+((1*((c[b+8>>2]|0)+1|0)|0)+15&-16)|0}else a=0;c[b+12>>2]=hAa(a,c[b+8>>2]|0,0)|0;if(!(c[b+12>>2]|0)){Qza(593898);c[b+24>>2]=0;a=c[b+24>>2]|0;i=b;return a|0}if(iAa(c[b+20>>2]|0,c[b+12>>2]|0)|0){MBa(c[182090]|0)|0;c[b+4>>2]=c[182096];while(1){if(!(c[b+4>>2]|0?(c[b+16>>2]|0)==0:0))break;c[b>>2]=c[b+12>>2];d=(DAa(c[b+4>>2]|0,c[b>>2]|0)|0)!=0;a=c[b+4>>2]|0;if(d)c[b+16>>2]=c[a+4>>2];else if(yAa(a,b,0)|0)if(Xi[c[(c[(c[b+4>>2]|0)+12>>2]|0)+16>>2]&511](c[c[b+4>>2]>>2]|0,c[b>>2]|0)|0)c[b+16>>2]=c[(c[b+4>>2]|0)+4>>2];c[b+4>>2]=c[(c[b+4>>2]|0)+16>>2]}NBa(c[182090]|0)}mAa(c[b+12>>2]|0);c[b+24>>2]=c[b+16>>2];d=c[b+24>>2]|0;i=b;return d|0}function GAa(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;c[182097]=c[b>>2];i=b;return}function HAa(){return c[182097]|0}function IAa(a){a=a|0;var b=0;b=i;i=i+32|0;c[b+12>>2]=a;if(!(c[b+12>>2]|0)){Qza(514341);c[b+16>>2]=0;a=c[b+16>>2]|0;i=b;return a|0}c[b>>2]=(rnb(c[b+12>>2]|0)|0)+1;if((c[b>>2]|0)>>>0<128){a=i;i=i+((1*((c[b>>2]|0)+1|0)|0)+15&-16)|0}else a=0;c[b+4>>2]=hAa(a,c[b>>2]|0,0)|0;if(!(c[b+4>>2]|0)){Qza(593898);c[b+16>>2]=0;a=c[b+16>>2]|0;i=b;return a|0}else{c[b+8>>2]=JAa(c[b+12>>2]|0,c[b+4>>2]|0)|0;mAa(c[b+4>>2]|0);c[b+16>>2]=c[b+8>>2];a=c[b+16>>2]|0;i=b;return a|0}return 0}function JAa(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+32|0;c[d+12>>2]=a;c[d+8>>2]=b;if(!(iAa(c[d+12>>2]|0,c[d+8>>2]|0)|0)){Qza(0);c[d+16>>2]=0;b=c[d+16>>2]|0;i=d;return b|0}MBa(c[182090]|0)|0;if(!(c[182094]|0)){Qza(513945);NBa(c[182090]|0);c[d+16>>2]=0;b=c[d+16>>2]|0;i=d;return b|0}c[d>>2]=c[182094];if(yAa(c[d>>2]|0,d+8|0,0)|0){c[d+4>>2]=Xi[c[(c[(c[d>>2]|0)+12>>2]|0)+44>>2]&511](c[c[d>>2]>>2]|0,c[d+8>>2]|0)|0;NBa(c[182090]|0);c[d+16>>2]=c[d+4>>2];b=c[d+16>>2]|0;i=d;return b|0}else{Qza(0);NBa(c[182090]|0);c[d+16>>2]=0;b=c[d+16>>2]|0;i=d;return b|0}return 0}function KAa(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;a=(FAa(c[b>>2]|0)|0)!=0&1;i=b;return a|0}function LAa(b){b=b|0;var d=0,e=0;d=i;i=i+48|0;c[d+36>>2]=b;c[d>>2]=-1;c[d+4>>2]=-1;if(!(c[d+36>>2]|0)){Qza(514341);c[d+8>>2]=-1;c[d+8+4>>2]=-1;e=d+8|0;b=e;b=c[b>>2]|0;e=e+4|0;e=c[e>>2]|0;C=e;i=d;return b|0}c[d+28>>2]=(rnb(c[d+36>>2]|0)|0)+1;if((c[d+28>>2]|0)>>>0<128){b=i;i=i+((1*((c[d+28>>2]|0)+1|0)|0)+15&-16)|0}else b=0;c[d+32>>2]=hAa(b,c[d+28>>2]|0,0)|0;if(!(c[d+32>>2]|0)){Qza(593898);c[d+8>>2]=-1;c[d+8+4>>2]=-1;b=d+8|0;e=b;e=c[e>>2]|0;b=b+4|0;b=c[b>>2]|0;C=b;i=d;return e|0}do if(iAa(c[d+36>>2]|0,c[d+32>>2]|0)|0){if(!(a[c[d+32>>2]>>0]|0)){c[d>>2]=1;c[d+4>>2]=0;break}c[d+20>>2]=0;MBa(c[182090]|0)|0;c[d+24>>2]=c[182096];while(1){if(!(c[d+24>>2]|0))break;if(!((c[d+20>>2]|0)!=0^1))break;c[d+16>>2]=c[d+32>>2];c[d+20>>2]=DAa(c[d+24>>2]|0,c[d+16>>2]|0)|0;if(c[d+20>>2]|0){c[d>>2]=1;c[d+4>>2]=0}else if(yAa(c[d+24>>2]|0,d+16|0,0)|0){e=Gi[c[(c[(c[d+24>>2]|0)+12>>2]|0)+28>>2]&255](c[c[d+24>>2]>>2]|0,c[d+16>>2]|0,d+20|0)|0;c[d>>2]=e;c[d+4>>2]=C}c[d+24>>2]=c[(c[d+24>>2]|0)+16>>2]}NBa(c[182090]|0)}while(0);mAa(c[d+32>>2]|0);b=c[d+4>>2]|0;c[d+8>>2]=c[d>>2];c[d+8+4>>2]=b;b=d+8|0;e=b;e=c[e>>2]|0;b=b+4|0;b=c[b>>2]|0;C=b;i=d;return e|0}function MAa(b){b=b|0;var d=0;d=i;i=i+32|0;c[d+24>>2]=b;c[d+20>>2]=0;if(!(c[d+24>>2]|0)){Qza(514341);c[d+28>>2]=0;b=c[d+28>>2]|0;i=d;return b|0}c[d+16>>2]=(rnb(c[d+24>>2]|0)|0)+1;if((c[d+16>>2]|0)>>>0<128){b=i;i=i+((1*((c[d+16>>2]|0)+1|0)|0)+15&-16)|0}else b=0;c[d+12>>2]=hAa(b,c[d+16>>2]|0,0)|0;if(!(c[d+12>>2]|0)){Qza(593898);c[d+28>>2]=0;b=c[d+28>>2]|0;i=d;return b|0}do if(iAa(c[d+24>>2]|0,c[d+12>>2]|0)|0){if(!(a[c[d+12>>2]>>0]|0)){c[d+20>>2]=1;break}c[d+4>>2]=0;MBa(c[182090]|0)|0;c[d+8>>2]=c[182096];while(1){if(!(c[d+8>>2]|0))break;if(!((c[d+4>>2]|0)!=0^1))break;c[d>>2]=c[d+12>>2];b=DAa(c[d+8>>2]|0,c[d>>2]|0)|0;c[d+4>>2]=b;if(b|0)c[d+20>>2]=1;else if(yAa(c[d+8>>2]|0,d,0)|0)c[d+20>>2]=Gi[c[(c[(c[d+8>>2]|0)+12>>2]|0)+20>>2]&255](c[c[d+8>>2]>>2]|0,c[d>>2]|0,d+4|0)|0;c[d+8>>2]=c[(c[d+8>>2]|0)+16>>2]}NBa(c[182090]|0)}else c[d+20>>2]=0;while(0);mAa(c[d+12>>2]|0);c[d+28>>2]=c[d+20>>2];b=c[d+28>>2]|0;i=d;return b|0}function NAa(b){b=b|0;var d=0;d=i;i=i+32|0;c[d+24>>2]=b;c[d+20>>2]=0;if(!(c[182097]|0)){Qza(514012);c[d+28>>2]=0;b=c[d+28>>2]|0;i=d;return b|0}if(!(c[d+24>>2]|0)){Qza(514341);c[d+28>>2]=0;b=c[d+28>>2]|0;i=d;return b|0}c[d+16>>2]=(rnb(c[d+24>>2]|0)|0)+1;if((c[d+16>>2]|0)>>>0<128){b=i;i=i+((1*((c[d+16>>2]|0)+1|0)|0)+15&-16)|0}else b=0;c[d+12>>2]=hAa(b,c[d+16>>2]|0,0)|0;if(!(c[d+12>>2]|0)){Qza(593898);c[d+28>>2]=0;b=c[d+28>>2]|0;i=d;return b|0}do if(iAa(c[d+24>>2]|0,c[d+12>>2]|0)|0){if(!(a[c[d+12>>2]>>0]|0)){c[d+20>>2]=1;break}c[d+4>>2]=0;MBa(c[182090]|0)|0;c[d+8>>2]=c[182096];while(1){if(!(c[d+8>>2]|0))break;if(!((c[d+4>>2]|0)!=0^1))break;c[d>>2]=c[d+12>>2];b=DAa(c[d+8>>2]|0,c[d>>2]|0)|0;c[d+4>>2]=b;if(b|0)c[d+20>>2]=0;else if(yAa(c[d+8>>2]|0,d,0)|0)c[d+20>>2]=Gi[c[(c[(c[d+8>>2]|0)+12>>2]|0)+24>>2]&255](c[c[d+8>>2]>>2]|0,c[d>>2]|0,d+4|0)|0;c[d+8>>2]=c[(c[d+8>>2]|0)+16>>2]}NBa(c[182090]|0)}else c[d+20>>2]=0;while(0);mAa(c[d+12>>2]|0);c[d+28>>2]=c[d+20>>2];b=c[d+28>>2]|0;i=d;return b|0}function OAa(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;a=PAa(c[b>>2]|0,0)|0;i=b;return a|0}function PAa(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+48|0;c[d+28>>2]=a;c[d+24>>2]=b;c[d+20>>2]=0;if(!(c[d+28>>2]|0)){Qza(514341);c[d+32>>2]=0;b=c[d+32>>2]|0;i=d;return b|0}c[d+16>>2]=(rnb(c[d+28>>2]|0)|0)+1;if((c[d+16>>2]|0)>>>0<128){a=i;i=i+((1*((c[d+16>>2]|0)+1|0)|0)+15&-16)|0}else a=0;c[d+12>>2]=hAa(a,c[d+16>>2]|0,0)|0;if(!(c[d+12>>2]|0)){Qza(593898);c[d+32>>2]=0;b=c[d+32>>2]|0;i=d;return b|0}if(iAa(c[d+28>>2]|0,c[d+12>>2]|0)|0){c[d+8>>2]=0;c[d+4>>2]=0;MBa(c[182090]|0)|0;do if(c[182094]|0){c[d+4>>2]=c[182094];if(!(yAa(c[d+4>>2]|0,d+12|0,0)|0)){Qza(0);break}c[d>>2]=c[(c[d+4>>2]|0)+12>>2];a=c[d>>2]|0;if(c[d+24>>2]|0)c[d+8>>2]=Xi[c[a+40>>2]&511](c[c[d+4>>2]>>2]|0,c[d+12>>2]|0)|0;else c[d+8>>2]=Xi[c[a+36>>2]&511](c[c[d+4>>2]>>2]|0,c[d+12>>2]|0)|0;if(!(c[d+8>>2]|0)){Qza(0);break}c[d+20>>2]=Xi[c[728336>>2]&511](36,0)|0;if(!(c[d+20>>2]|0)){vi[c[(c[d>>2]|0)+80>>2]&2047](c[d+8>>2]|0)|0;Qza(593898);break}else{a=c[d+20>>2]|0;b=a+36|0;do{c[a>>2]=0;a=a+4|0}while((a|0)<(b|0));c[c[d+20>>2]>>2]=c[d+8>>2];c[(c[d+20>>2]|0)+8>>2]=c[d+4>>2];c[(c[d+20>>2]|0)+12>>2]=c[(c[d+4>>2]|0)+12>>2];c[(c[d+20>>2]|0)+32>>2]=c[182093];c[182093]=c[d+20>>2];break}}else Qza(513945);while(0);NBa(c[182090]|0)}mAa(c[d+12>>2]|0);c[d+32>>2]=c[d+20>>2];b=c[d+32>>2]|0;i=d;return b|0}function QAa(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;a=PAa(c[b>>2]|0,1)|0;i=b;return a|0}function RAa(b){b=b|0;var d=0,e=0;e=i;i=i+48|0;c[e+28>>2]=b;c[e+24>>2]=0;if(!(c[e+28>>2]|0)){Qza(514341);c[e+32>>2]=0;d=c[e+32>>2]|0;i=e;return d|0}c[e+16>>2]=(rnb(c[e+28>>2]|0)|0)+1;if((c[e+16>>2]|0)>>>0<128){b=i;i=i+((1*((c[e+16>>2]|0)+1|0)|0)+15&-16)|0}else b=0;c[e+20>>2]=hAa(b,c[e+16>>2]|0,0)|0;if(!(c[e+20>>2]|0)){Qza(593898);c[e+32>>2]=0;d=c[e+32>>2]|0;i=e;return d|0}if(iAa(c[e+28>>2]|0,c[e+20>>2]|0)|0){c[e+12>>2]=0;c[e+8>>2]=0;c[e+4>>2]=0;MBa(c[182090]|0)|0;do if(c[182096]|0){c[e+8>>2]=c[182096];do{c[e>>2]=c[e+20>>2];if(yAa(c[e+8>>2]|0,e,0)|0){c[e+4>>2]=Gi[c[(c[(c[e+8>>2]|0)+12>>2]|0)+32>>2]&255](c[c[e+8>>2]>>2]|0,c[e>>2]|0,e+12|0)|0;if(c[e+4>>2]|0)break}c[e+8>>2]=c[(c[e+8>>2]|0)+16>>2];if(!(c[e+8>>2]|0))break}while((c[e+12>>2]|0)!=0^1);if(!(c[e+4>>2]|0)){Qza(0);break}c[e+24>>2]=Xi[c[728336>>2]&511](36,0)|0;if(!(c[e+24>>2]|0)){vi[c[(c[(c[e+8>>2]|0)+12>>2]|0)+80>>2]&2047](c[e+4>>2]|0)|0;Qza(593898);break}else{b=c[e+24>>2]|0;d=b+36|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(d|0));c[c[e+24>>2]>>2]=c[e+4>>2];a[(c[e+24>>2]|0)+4>>0]=1;c[(c[e+24>>2]|0)+8>>2]=c[e+8>>2];c[(c[e+24>>2]|0)+12>>2]=c[(c[e+8>>2]|0)+12>>2];c[(c[e+24>>2]|0)+32>>2]=c[182095];c[182095]=c[e+24>>2];break}}else Qza(513997);while(0);NBa(c[182090]|0)}mAa(c[e+20>>2]|0);c[e+32>>2]=c[e+24>>2];d=c[e+32>>2]|0;i=e;return d|0}function SAa(a){a=a|0;var b=0;b=i;i=i+16|0;c[b+8>>2]=a;c[b+4>>2]=c[b+8>>2];MBa(c[182090]|0)|0;c[b>>2]=TAa(728380,c[b+4>>2]|0)|0;if((c[b>>2]|0)==-1){Qza(0);NBa(c[182090]|0);c[b+12>>2]=0;a=c[b+12>>2]|0;i=b;return a|0}if(!(c[b>>2]|0)){c[b>>2]=TAa(728372,c[b+4>>2]|0)|0;if((c[b>>2]|0)==-1){Qza(0);NBa(c[182090]|0);c[b+12>>2]=0;a=c[b+12>>2]|0;i=b;return a|0}}NBa(c[182090]|0);if(c[b>>2]|0){c[b+12>>2]=1;a=c[b+12>>2]|0;i=b;return a|0}else{Qza(514064);c[b+12>>2]=0;a=c[b+12>>2]|0;i=b;return a|0}return 0}function TAa(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+32|0;c[e+20>>2]=a;c[e+16>>2]=b;c[e+12>>2]=0;c[e+4>>2]=1;c[e+8>>2]=c[c[e+20>>2]>>2];while(1){if(!(c[e+8>>2]|0)){d=15;break}if((c[e+8>>2]|0)==(c[e+16>>2]|0))break;c[e+12>>2]=c[e+8>>2];c[e+8>>2]=c[(c[e+8>>2]|0)+32>>2]}if((d|0)==15){c[e+24>>2]=0;d=c[e+24>>2]|0;i=e;return d|0}c[e>>2]=c[(c[e+16>>2]|0)+16>>2];c[e+4>>2]=UAa(c[e+16>>2]|0)|0;if(c[e+4>>2]|0)c[e+4>>2]=vi[c[(c[(c[e+16>>2]|0)+12>>2]|0)+80>>2]&2047](c[c[e+16>>2]>>2]|0)|0;if(!(c[e+4>>2]|0)){c[e+24>>2]=-1;d=c[e+24>>2]|0;i=e;return d|0}if(c[e>>2]|0)Hi[c[728344>>2]&1023](c[e>>2]|0);b=c[(c[e+16>>2]|0)+32>>2]|0;if(!(c[e+12>>2]|0))c[c[e+20>>2]>>2]=b;else c[(c[e+12>>2]|0)+32>>2]=b;Hi[c[728344>>2]&1023](c[e+16>>2]|0);c[e+24>>2]=1;d=c[e+24>>2]|0;i=e;return d|0}function UAa(a){a=a|0;var b=0;b=i;i=i+32|0;c[b+12>>2]=a;c[b+8>>2]=c[b+12>>2];if(!(d[(c[b+8>>2]|0)+4>>0]|0))if((c[(c[b+8>>2]|0)+28>>2]|0)!=(c[(c[b+8>>2]|0)+24>>2]|0)){a=cj[c[(c[(c[b+8>>2]|0)+12>>2]|0)+60>>2]&127](c[c[b+8>>2]>>2]|0,(c[(c[b+8>>2]|0)+16>>2]|0)+(c[(c[b+8>>2]|0)+28>>2]|0)|0,(c[(c[b+8>>2]|0)+24>>2]|0)-(c[(c[b+8>>2]|0)+28>>2]|0)|0,1)|0;c[b>>2]=a;c[b+4>>2]=C;a=c[b+4>>2]|0;if((a|0)<0|(a|0)==0&(c[b>>2]|0)>>>0<=0){Qza(0);c[b+16>>2]=0;a=c[b+16>>2]|0;i=b;return a|0}else{c[(c[b+8>>2]|0)+24>>2]=0;c[(c[b+8>>2]|0)+28>>2]=0;c[b+16>>2]=1;a=c[b+16>>2]|0;i=b;return a|0}}c[b+16>>2]=1;a=c[b+16>>2]|0;i=b;return a|0}function VAa(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=i;i=i+32|0;c[g+24>>2]=b;c[g+20>>2]=d;c[g+16>>2]=e;c[g+12>>2]=f;c[g+8>>2]=c[g+24>>2];do if(a[(c[g+8>>2]|0)+4>>0]|0){if(!(c[g+16>>2]|0)){Qza(0);c[g>>2]=0;c[g+4>>2]=0;break}if(!(c[g+12>>2]|0)){Qza(0);c[g>>2]=0;c[g+4>>2]=0;break}d=c[g+8>>2]|0;if(c[(c[g+8>>2]|0)+16>>2]|0){e=WAa(d,c[g+20>>2]|0,c[g+16>>2]|0,c[g+12>>2]|0)|0;c[g>>2]=e;c[g+4>>2]=C;break}else{e=cj[c[(c[d+12>>2]|0)+56>>2]&127](c[c[g+8>>2]>>2]|0,c[g+20>>2]|0,c[g+16>>2]|0,c[g+12>>2]|0)|0;c[g>>2]=e;c[g+4>>2]=C;break}}else{Qza(514082);c[g>>2]=-1;c[g+4>>2]=-1}while(0);C=c[g+4>>2]|0;i=g;return c[g>>2]|0}function WAa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+64|0;c[f+56>>2]=a;c[f+52>>2]=b;c[f+48>>2]=d;c[f+44>>2]=e;c[f+16>>2]=0;c[f+16+4>>2]=0;c[f+40>>2]=0;while(1){if((c[f+44>>2]|0)>>>0<=0){b=10;break}c[f+36>>2]=(c[(c[f+56>>2]|0)+24>>2]|0)-(c[(c[f+56>>2]|0)+28>>2]|0);d=_(c[f+48>>2]|0,c[f+44>>2]|0)|0;c[f+8>>2]=d-(c[f+40>>2]|0);c[f+8+4>>2]=0;if(!(c[f+36>>2]|0)){d=cj[c[(c[(c[f+56>>2]|0)+12>>2]|0)+56>>2]&127](c[c[f+56>>2]>>2]|0,c[(c[f+56>>2]|0)+16>>2]|0,1,c[(c[f+56>>2]|0)+20>>2]|0)|0;c[f>>2]=d;c[f+4>>2]=C;d=c[f+4>>2]|0;if((d|0)<0|(d|0)==0&(c[f>>2]|0)>>>0<=0){b=5;break}d=c[f>>2]|0;c[(c[f+56>>2]|0)+24>>2]=d;c[f+36>>2]=d;c[(c[f+56>>2]|0)+28>>2]=0}d=c[f+8+4>>2]|0;if(0>d>>>0|(0==(d|0)?(c[f+36>>2]|0)>>>0>(c[f+8>>2]|0)>>>0:0))c[f+36>>2]=c[f+8>>2];mBb(c[f+52>>2]|0,(c[(c[f+56>>2]|0)+16>>2]|0)+(c[(c[f+56>>2]|0)+28>>2]|0)|0,c[f+36>>2]|0)|0;c[f+52>>2]=(c[f+52>>2]|0)+(c[f+36>>2]|0);d=(c[f+56>>2]|0)+28|0;c[d>>2]=(c[d>>2]|0)+(c[f+36>>2]|0);c[f+36>>2]=(c[f+36>>2]|0)+(c[f+40>>2]|0);c[f+32>>2]=((c[f+36>>2]|0)>>>0)/((c[f+48>>2]|0)>>>0)|0;c[f+40>>2]=((c[f+36>>2]|0)>>>0)%((c[f+48>>2]|0)>>>0)|0;d=jBb(c[f+16>>2]|0,c[f+16+4>>2]|0,c[f+32>>2]|0,0)|0;c[f+16>>2]=d;c[f+16+4>>2]=C;c[f+44>>2]=(c[f+44>>2]|0)-(c[f+32>>2]|0)}if((b|0)==5){d=(c[f+56>>2]|0)+28|0;c[d>>2]=(c[d>>2]|0)-(c[f+40>>2]|0);d=((c[f>>2]|0)==-1?(c[f+4>>2]|0)==-1:0)&((c[f+16>>2]|0)==0?(c[f+16+4>>2]|0)==0:0);e=d?-1:c[f+16+4>>2]|0;c[f+24>>2]=d?-1:c[f+16>>2]|0;c[f+24+4>>2]=e;e=f+24|0;d=e;d=c[d>>2]|0;e=e+4|0;e=c[e>>2]|0;C=e;i=f;return d|0}else if((b|0)==10){e=c[f+16+4>>2]|0;c[f+24>>2]=c[f+16>>2];c[f+24+4>>2]=e;e=f+24|0;d=e;d=c[d>>2]|0;e=e+4|0;e=c[e>>2]|0;C=e;i=f;return d|0}return 0}function XAa(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=i;i=i+32|0;c[g+24>>2]=b;c[g+20>>2]=d;c[g+16>>2]=e;c[g+12>>2]=f;c[g+8>>2]=c[g+24>>2];do if(a[(c[g+8>>2]|0)+4>>0]|0){Qza(514112);c[g>>2]=-1;c[g+4>>2]=-1}else{if(!(c[g+16>>2]|0)){Qza(0);c[g>>2]=0;c[g+4>>2]=0;break}if(!(c[g+12>>2]|0)){Qza(0);c[g>>2]=0;c[g+4>>2]=0;break}if(c[(c[g+8>>2]|0)+16>>2]|0){e=YAa(c[g+24>>2]|0,c[g+20>>2]|0,c[g+16>>2]|0,c[g+12>>2]|0)|0;c[g>>2]=e;c[g+4>>2]=C;break}else{e=cj[c[(c[(c[g+8>>2]|0)+12>>2]|0)+60>>2]&127](c[c[g+8>>2]>>2]|0,c[g+20>>2]|0,c[g+16>>2]|0,c[g+12>>2]|0)|0;c[g>>2]=e;c[g+4>>2]=C;break}}while(0);C=c[g+4>>2]|0;i=g;return c[g>>2]|0}function YAa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+32|0;c[f+24>>2]=a;c[f+20>>2]=b;c[f+16>>2]=d;c[f+12>>2]=e;c[f+8>>2]=c[f+24>>2];d=(c[(c[f+8>>2]|0)+24>>2]|0)+(_(c[f+16>>2]|0,c[f+12>>2]|0)|0)|0;if(d>>>0<(c[(c[f+8>>2]|0)+20>>2]|0)>>>0){mBb((c[(c[f+8>>2]|0)+16>>2]|0)+(c[(c[f+8>>2]|0)+24>>2]|0)|0,c[f+20>>2]|0,_(c[f+16>>2]|0,c[f+12>>2]|0)|0)|0;d=_(c[f+16>>2]|0,c[f+12>>2]|0)|0;e=(c[f+8>>2]|0)+24|0;c[e>>2]=(c[e>>2]|0)+d;c[f>>2]=c[f+12>>2];c[f+4>>2]=0;e=f;d=e;d=c[d>>2]|0;e=e+4|0;e=c[e>>2]|0;C=e;i=f;return d|0}if(UAa(c[f+24>>2]|0)|0){e=cj[c[(c[(c[f+8>>2]|0)+12>>2]|0)+60>>2]&127](c[c[f+8>>2]>>2]|0,c[f+20>>2]|0,c[f+16>>2]|0,c[f+12>>2]|0)|0;c[f>>2]=e;c[f+4>>2]=C;e=f;d=e;d=c[d>>2]|0;e=e+4|0;e=c[e>>2]|0;C=e;i=f;return d|0}else{Qza(0);c[f>>2]=-1;c[f+4>>2]=-1;e=f;d=e;d=c[d>>2]|0;e=e+4|0;e=c[e>>2]|0;C=e;i=f;return d|0}return 0}function ZAa(b){b=b|0;var d=0;d=i;i=i+16|0;c[d+4>>2]=b;c[d>>2]=c[d+4>>2];if(!(a[(c[d>>2]|0)+4>>0]|0)){c[d+8>>2]=0;b=c[d+8>>2]|0;i=d;return b|0}if((c[(c[d>>2]|0)+28>>2]|0)==(c[(c[d>>2]|0)+24>>2]|0))b=(vi[c[(c[(c[d>>2]|0)+12>>2]|0)+64>>2]&2047](c[c[d>>2]>>2]|0)|0)!=0;else b=0;c[d+8>>2]=b&1;b=c[d+8>>2]|0;i=d;return b|0}function _Aa(a){a=a|0;var b=0,e=0,f=0;f=i;i=i+32|0;c[f+20>>2]=a;c[f+16>>2]=c[f+20>>2];a=vi[c[(c[(c[f+16>>2]|0)+12>>2]|0)+68>>2]&2047](c[c[f+16>>2]>>2]|0)|0;c[f+8>>2]=a;c[f+8+4>>2]=C;a=c[f+8>>2]|0;b=c[f+8+4>>2]|0;e=c[(c[f+16>>2]|0)+24>>2]|0;if(d[(c[f+16>>2]|0)+4>>0]|0|0){a=qBb(a|0,b|0,e|0,0)|0;a=jBb(a|0,C|0,c[(c[f+16>>2]|0)+28>>2]|0,0)|0;b=C}else{a=jBb(a|0,b|0,e|0,0)|0;b=C}c[f>>2]=a;c[f+4>>2]=b;C=c[f+4>>2]|0;i=f;return c[f>>2]|0}function $Aa(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0;g=i;i=i+32|0;c[g+20>>2]=a;c[g+8>>2]=b;c[g+8+4>>2]=e;c[g+16>>2]=c[g+20>>2];if(!(UAa(c[g+20>>2]|0)|0)){Qza(0);c[g+24>>2]=0;f=c[g+24>>2]|0;i=g;return f|0}do if(c[(c[g+16>>2]|0)+16>>2]|0)if(d[(c[g+16>>2]|0)+4>>0]|0|0){b=c[g+8>>2]|0;e=c[g+8+4>>2]|0;a=_Aa(c[g+20>>2]|0)|0;a=qBb(b|0,e|0,a|0,C|0)|0;c[g>>2]=a;c[g+4>>2]=C;a=c[g+4>>2]|0;if((a|0)>0|(a|0)==0&(c[g>>2]|0)>>>0>=0){a=c[g+4>>2]|0;if(!((a|0)<0|((a|0)==0?(c[g>>2]|0)>>>0<=((c[(c[g+16>>2]|0)+24>>2]|0)-(c[(c[g+16>>2]|0)+28>>2]|0)|0)>>>0:0)))f=7}else f=7;if((f|0)==7){if((c[g+4>>2]|0)>=0)break;f=qBb(0,0,c[g>>2]|0,c[g+4>>2]|0)|0;a=C;if(!((a|0)<0|((a|0)==0?f>>>0<=(c[(c[g+16>>2]|0)+28>>2]|0)>>>0:0)))break}f=(c[g+16>>2]|0)+28|0;c[f>>2]=(c[f>>2]|0)+(c[g>>2]|0);c[g+24>>2]=1;f=c[g+24>>2]|0;i=g;return f|0}while(0);c[(c[g+16>>2]|0)+28>>2]=0;c[(c[g+16>>2]|0)+24>>2]=0;c[g+24>>2]=Gi[c[(c[(c[g+16>>2]|0)+12>>2]|0)+72>>2]&255](c[c[g+16>>2]>>2]|0,c[g+8>>2]|0,c[g+8+4>>2]|0)|0;f=c[g+24>>2]|0;i=g;return f|0}function aBa(a){a=a|0;var b=0;b=i;i=i+16|0;c[b+4>>2]=a;c[b>>2]=c[b+4>>2];a=vi[c[(c[(c[b>>2]|0)+12>>2]|0)+76>>2]&2047](c[c[b>>2]>>2]|0)|0;i=b;return a|0}function bBa(a,b,e){a=a|0;b=b|0;e=e|0;var f=0;f=i;i=i+48|0;c[f+36>>2]=a;c[f+16>>2]=b;c[f+16+4>>2]=e;c[f+32>>2]=c[f+36>>2];a=c[f+16+4>>2]|0;if(a>>>0>0|((a|0)==0?(c[f+16>>2]|0)>>>0>4294967295:0)){Qza(514142);c[f+40>>2]=0;a=c[f+40>>2]|0;i=f;return a|0}c[f+28>>2]=c[f+16>>2];if(!(UAa(c[f+36>>2]|0)|0)){Qza(0);c[f+40>>2]=0;a=c[f+40>>2]|0;i=f;return a|0}if(d[(c[f+32>>2]|0)+4>>0]|0|0)if((c[(c[f+32>>2]|0)+24>>2]|0)!=(c[(c[f+32>>2]|0)+28>>2]|0)){a=vi[c[(c[(c[f+32>>2]|0)+12>>2]|0)+68>>2]&2047](c[c[f+32>>2]>>2]|0)|0;c[f>>2]=a;c[f+4>>2]=C;if((c[f>>2]|0)==-1?(c[f+4>>2]|0)==-1:0){Qza(0);c[f+40>>2]=0;a=c[f+40>>2]|0;i=f;return a|0}a=qBb(c[f>>2]|0,c[f+4>>2]|0,c[(c[f+32>>2]|0)+24>>2]|0,0)|0;a=jBb(a|0,C|0,c[(c[f+32>>2]|0)+28>>2]|0,0)|0;c[f+8>>2]=a;c[f+8+4>>2]=C;if(!(Gi[c[(c[(c[f+32>>2]|0)+12>>2]|0)+72>>2]&255](c[c[f+32>>2]>>2]|0,c[f+8>>2]|0,c[f+8+4>>2]|0)|0)){Qza(0);c[f+40>>2]=0;a=c[f+40>>2]|0;i=f;return a|0}}do if(!(c[f+28>>2]|0)){if(c[(c[f+32>>2]|0)+16>>2]|0){Hi[c[728344>>2]&1023](c[(c[f+32>>2]|0)+16>>2]|0);c[(c[f+32>>2]|0)+16>>2]=0}}else{c[f+24>>2]=Gi[c[728340>>2]&255](c[(c[f+32>>2]|0)+16>>2]|0,c[f+28>>2]|0,0)|0;if(c[f+24>>2]|0){c[(c[f+32>>2]|0)+16>>2]=c[f+24>>2];break}Qza(593898);c[f+40>>2]=0;a=c[f+40>>2]|0;i=f;return a|0}while(0);c[(c[f+32>>2]|0)+20>>2]=c[f+28>>2];c[(c[f+32>>2]|0)+28>>2]=0;c[(c[f+32>>2]|0)+24>>2]=0;c[f+40>>2]=1;a=c[f+40>>2]|0;i=f;return a|0}function cBa(b,d){b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;c[f+4>>2]=b;c[f>>2]=d;while(1){d=c[f+4>>2]|0;c[f+4>>2]=d+1;a[f+15>>0]=a[d>>0]|0;d=c[f>>2]|0;c[f>>2]=d+1;a[f+14>>0]=a[d>>0]|0;if((a[f+15>>0]|0)>=65)if((a[f+15>>0]|0)<=90)b=(a[f+15>>0]|0)+32|0;else e=5;else e=5;if((e|0)==5){e=0;b=a[f+15>>0]|0}a[f+13>>0]=b;if((a[f+14>>0]|0)>=65)if((a[f+14>>0]|0)<=90)b=(a[f+14>>0]|0)+32|0;else e=9;else e=9;if((e|0)==9){e=0;b=a[f+14>>0]|0}a[f+12>>0]=b;if((a[f+13>>0]|0)<(a[f+12>>0]|0)){e=11;break}if((a[f+13>>0]|0)>(a[f+12>>0]|0)){e=13;break}if(!(a[f+13>>0]|0)){e=15;break}}if((e|0)==11){c[f+8>>2]=-1;e=c[f+8>>2]|0;i=f;return e|0}else if((e|0)==13){c[f+8>>2]=1;e=c[f+8>>2]|0;i=f;return e|0}else if((e|0)==15){c[f+8>>2]=0;e=c[f+8>>2]|0;i=f;return e|0}return 0}function dBa(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;c[b+8>>2]=a;c[b+4>>2]=yf(c[b+8>>2]|0)|0;c[b>>2]=0;if(c[b+4>>2]|0){d=c[182084]|0;a=(rnb(c[b+4>>2]|0)|0)+1|0;c[b>>2]=Xi[d&511](a,0)|0;if(c[b>>2]|0)Bnb(c[b>>2]|0,c[b+4>>2]|0)|0}i=b;return c[b>>2]|0}function eBa(){var a=0;a=i;i=i+16|0;c[a>>2]=fBa()|0;if(!(c[a>>2]|0))c[a>>2]=dBa(514169)|0;i=a;return c[a>>2]|0}function fBa(){var a=0,b=0,d=0;a=i;i=i+16|0;c[a+8>>2]=Qpb()|0;c[a>>2]=0;c[a+4>>2]=yc(c[a+8>>2]|0)|0;if(c[a+4>>2]|0)if(c[c[a+4>>2]>>2]|0){d=c[182084]|0;b=(rnb(c[c[a+4>>2]>>2]|0)|0)+1|0;c[a>>2]=Xi[d&511](b,0)|0;if(c[a>>2]|0)Bnb(c[a>>2]|0,c[c[a+4>>2]>>2]|0)|0}i=a;return c[a>>2]|0}function gBa(){var a=0,b=0;a=i;i=i+80|0;c[a+76>>2]=dBa(514174)|0;do if(c[a+76>>2]|0){if((Onb(c[a+76>>2]|0,a)|0)!=-1)if((c[a+12>>2]&61440|0)==16384|0)break;Hi[c[728344>>2]&1023](c[a+76>>2]|0);c[a+76>>2]=0}while(0);if(c[a+76>>2]|0){b=c[a+76>>2]|0;i=a;return b|0}c[a+76>>2]=hBa()|0;b=c[a+76>>2]|0;i=a;return b|0}function hBa(){var a=0,b=0,d=0;a=i;i=i+16|0;c[a+8>>2]=Qpb()|0;c[a>>2]=0;c[a+4>>2]=yc(c[a+8>>2]|0)|0;if(c[a+4>>2]|0)if(c[(c[a+4>>2]|0)+20>>2]|0){d=c[182084]|0;b=(rnb(c[(c[a+4>>2]|0)+20>>2]|0)|0)+1|0;c[a>>2]=Xi[d&511](b,0)|0;if(c[a>>2]|0)Bnb(c[a>>2]|0,c[(c[a+4>>2]|0)+20>>2]|0)|0}i=a;return c[a>>2]|0}function iBa(a){a=a|0;var b=0;b=i;i=i+96|0;c[b+76>>2]=a;if((qob(c[b+76>>2]|0,b)|0)==-1){Qza(Bmb(c[(Mlb()|0)>>2]|0)|0);c[b+80>>2]=0;a=c[b+80>>2]|0;i=b;return a|0}else{c[b+80>>2]=1;a=c[b+80>>2]|0;i=b;return a|0}return 0}function jBa(a){a=a|0;var b=0;b=i;i=i+96|0;c[b+76>>2]=a;if((qob(c[b+76>>2]|0,b)|0)==-1){Qza(Bmb(c[(Mlb()|0)>>2]|0)|0);c[b+80>>2]=0;a=c[b+80>>2]|0;i=b;return a|0}else{c[b+80>>2]=(c[b+12>>2]&61440|0)==40960?1:0;a=c[b+80>>2]|0;i=b;return a|0}return 0}function kBa(a){a=a|0;var b=0;b=i;i=i+96|0;c[b+76>>2]=a;if((Onb(c[b+76>>2]|0,b)|0)==-1){Qza(Bmb(c[(Mlb()|0)>>2]|0)|0);c[b+80>>2]=0;a=c[b+80>>2]|0;i=b;return a|0}else{c[b+80>>2]=(c[b+12>>2]&61440|0)==16384?1:0;a=c[b+80>>2]|0;i=b;return a|0}return 0}function lBa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+32|0;c[f+16>>2]=b;c[f+12>>2]=d;c[f+8>>2]=e;if(c[f+16>>2]|0)e=rnb(c[f+16>>2]|0)|0;else e=0;if(c[f+8>>2]|0)d=rnb(c[f+8>>2]|0)|0;else d=0;c[f+4>>2]=e+d+(rnb(c[f+12>>2]|0)|0)+1;b=c[f+4>>2]|0;c[f>>2]=Xi[c[728336>>2]&511](b,((b|0)<0)<<31>>31)|0;if(!(c[f>>2]|0)){Qza(593898);c[f+20>>2]=0;b=c[f+20>>2]|0;i=f;return b|0}e=c[f>>2]|0;if(c[f+16>>2]|0)Bnb(e,c[f+16>>2]|0)|0;else a[e>>0]=0;Lpb(c[f>>2]|0,c[f+12>>2]|0)|0;if(c[f+8>>2]|0)Lpb(c[f>>2]|0,c[f+8>>2]|0)|0;c[f+20>>2]=c[f>>2];b=c[f+20>>2]|0;i=f;return b|0}function mBa(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+48|0;c[h+44>>2]=b;c[h+40>>2]=d;c[h+36>>2]=e;c[h+32>>2]=f;c[h+28>>2]=g;c[h+16>>2]=0;c[h+12>>2]=0;c[h+8>>2]=0;if(c[h+40>>2]|0){c[h+8>>2]=rnb(c[h+44>>2]|0)|0;c[h+16>>2]=(c[h+8>>2]|0)+256;f=c[h+16>>2]|0;c[h+12>>2]=Xi[c[728336>>2]&511](f,((f|0)<0)<<31>>31)|0;if(!(c[h+12>>2]|0)){i=h;return}Bnb(c[h+12>>2]|0,c[h+44>>2]|0)|0;if((a[(c[h+12>>2]|0)+((c[h+8>>2]|0)-1)>>0]|0)!=47){f=c[h+8>>2]|0;c[h+8>>2]=f+1;a[(c[h+12>>2]|0)+f>>0]=47;a[(c[h+12>>2]|0)+(c[h+8>>2]|0)>>0]=0}}c[(Mlb()|0)>>2]=0;c[h+24>>2]=_mb(c[h+44>>2]|0)|0;if(!(c[h+24>>2]|0)){Hi[c[728344>>2]&1023](c[h+12>>2]|0);i=h;return}while(1){f=anb(c[h+24>>2]|0)|0;c[h+20>>2]=f;if(!f)break;if(!(Imb((c[h+20>>2]|0)+11|0,616643)|0))continue;if(!(Imb((c[h+20>>2]|0)+11|0,517032)|0))continue;if(c[h+40>>2]|0){f=rnb((c[h+20>>2]|0)+11|0)|0;c[h>>2]=f+(c[h+8>>2]|0)+1;if((c[h>>2]|0)>(c[h+16>>2]|0)){f=c[h>>2]|0;c[h+4>>2]=Gi[c[728340>>2]&255](c[h+12>>2]|0,f,((f|0)<0)<<31>>31)|0;if(!(c[h+4>>2]|0))continue;c[h+12>>2]=c[h+4>>2];c[h+16>>2]=c[h>>2]}Bnb((c[h+12>>2]|0)+(c[h+8>>2]|0)|0,(c[h+20>>2]|0)+11|0)|0;if(jBa(c[h+12>>2]|0)|0)continue}$i[c[h+36>>2]&255](c[h+28>>2]|0,c[h+32>>2]|0,(c[h+20>>2]|0)+11|0)}Hi[c[728344>>2]&1023](c[h+12>>2]|0);Vmb(c[h+24>>2]|0)|0;i=h;return}function nBa(a){a=a|0;var b=0;b=i;i=i+16|0;c[b+4>>2]=a;c[(Mlb()|0)>>2]=0;c[b>>2]=gpb(c[b+4>>2]|0,448)|0;if((c[b>>2]|0)==-1){Qza(Bmb(c[(Mlb()|0)>>2]|0)|0);c[b+8>>2]=0;a=c[b+8>>2]|0;i=b;return a|0}else{c[b+8>>2]=1;a=c[b+8>>2]|0;i=b;return a|0}return 0}function oBa(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;a=pBa(c[b>>2]|0,0)|0;i=b;return a|0}function pBa(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+32|0;c[d+20>>2]=a;c[d+16>>2]=b;c[d+12>>2]=c[d+16>>2]&1024;c[(Mlb()|0)>>2]=0;c[d+16>>2]=c[d+16>>2]&-1025;a=c[d+20>>2]|0;b=c[d+16>>2]|0;c[d>>2]=384;c[d+8>>2]=$mb(a,b,d)|0;if((c[d+8>>2]|0)<0){Qza(Bmb(c[(Mlb()|0)>>2]|0)|0);c[d+24>>2]=0;b=c[d+24>>2]|0;i=d;return b|0}if(c[d+12>>2]|0)if((bnb(c[d+8>>2]|0,0,2)|0)<0){Wmb(c[d+8>>2]|0)|0;Qza(Bmb(c[(Mlb()|0)>>2]|0)|0);c[d+24>>2]=0;b=c[d+24>>2]|0;i=d;return b|0}c[d+4>>2]=Xi[c[728336>>2]&511](4,0)|0;a=c[d+8>>2]|0;if(!(c[d+4>>2]|0)){Wmb(a)|0;Qza(593898);c[d+24>>2]=0;b=c[d+24>>2]|0;i=d;return b|0}else{c[c[d+4>>2]>>2]=a;c[d+24>>2]=c[d+4>>2];b=c[d+24>>2]|0;i=d;return b|0}return 0}function qBa(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;a=pBa(c[b>>2]|0,577)|0;i=b;return a|0}function rBa(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;a=pBa(c[b>>2]|0,1089)|0;i=b;return a|0}function sBa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+48|0;c[f+32>>2]=a;c[f+28>>2]=b;c[f+24>>2]=d;c[f+20>>2]=e;c[f+16>>2]=c[c[f+32>>2]>>2];c[f+12>>2]=_(c[f+24>>2]|0,c[f+20>>2]|0)|0;c[f+8>>2]=Tpb(c[f+16>>2]|0,c[f+28>>2]|0,c[f+12>>2]|0)|0;if((c[f+8>>2]|0)==-1){Qza(Bmb(c[(Mlb()|0)>>2]|0)|0);a=c[f+8>>2]|0;c[f>>2]=a;c[f+4>>2]=((a|0)<0)<<31>>31;a=f;d=a;d=c[d>>2]|0;a=a+4|0;a=c[a>>2]|0;C=a;i=f;return d|0}if((c[f+8>>2]|0)>(c[f+12>>2]|0))ib(514179,514189,310,514261);if((c[f+24>>2]|0)>>>0>1?(c[f+8>>2]|0)<(c[f+12>>2]|0):0)bnb(c[f+16>>2]|0,0-(((c[f+8>>2]|0)>>>0)%((c[f+24>>2]|0)>>>0)|0)|0,1)|0;c[f>>2]=((c[f+8>>2]|0)>>>0)/((c[f+24>>2]|0)>>>0)|0;c[f+4>>2]=0;a=f;d=a;d=c[d>>2]|0;a=a+4|0;a=c[a>>2]|0;C=a;i=f;return d|0}function tBa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+48|0;c[f+32>>2]=a;c[f+28>>2]=b;c[f+24>>2]=d;c[f+20>>2]=e;c[f+16>>2]=c[c[f+32>>2]>>2];c[f+12>>2]=_(c[f+24>>2]|0,c[f+20>>2]|0)|0;c[f+8>>2]=Tnb(c[f+16>>2]|0,c[f+28>>2]|0,c[f+12>>2]|0)|0;if((c[f+8>>2]|0)==-1){Qza(Bmb(c[(Mlb()|0)>>2]|0)|0);a=c[f+8>>2]|0;c[f>>2]=a;c[f+4>>2]=((a|0)<0)<<31>>31;a=f;d=a;d=c[d>>2]|0;a=a+4|0;a=c[a>>2]|0;C=a;i=f;return d|0}if((c[f+8>>2]|0)>(c[f+12>>2]|0))ib(514179,514189,327,514283);if((c[f+24>>2]|0)>>>0>1?(c[f+8>>2]|0)<(c[f+12>>2]|0):0)bnb(c[f+16>>2]|0,0-(((c[f+8>>2]|0)>>>0)%((c[f+24>>2]|0)>>>0)|0)|0,1)|0;c[f>>2]=((c[f+8>>2]|0)>>>0)/((c[f+24>>2]|0)>>>0)|0;c[f+4>>2]=0;a=f;d=a;d=c[d>>2]|0;a=a+4|0;a=c[a>>2]|0;C=a;i=f;return d|0}function uBa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+32|0;c[e+12>>2]=a;c[e>>2]=b;c[e+4>>2]=d;c[e+8>>2]=c[c[e+12>>2]>>2];if((bnb(c[e+8>>2]|0,c[e>>2]|0,0)|0)==-1){Qza(Bmb(c[(Mlb()|0)>>2]|0)|0);c[e+16>>2]=0;a=c[e+16>>2]|0;i=e;return a|0}else{c[e+16>>2]=1;a=c[e+16>>2]|0;i=e;return a|0}return 0}function vBa(a){a=a|0;var b=0,d=0;b=i;i=i+32|0;c[b+20>>2]=a;c[b+16>>2]=c[c[b+20>>2]>>2];a=bnb(c[b+16>>2]|0,0,1)|0;c[b>>2]=a;c[b+4>>2]=((a|0)<0)<<31>>31;if((c[b>>2]|0)==-1?(c[b+4>>2]|0)==-1:0){Qza(Bmb(c[(Mlb()|0)>>2]|0)|0);c[b+8>>2]=-1;c[b+8+4>>2]=-1;d=b+8|0;a=d;a=c[a>>2]|0;d=d+4|0;d=c[d>>2]|0;C=d;i=b;return a|0}else{a=c[b+4>>2]|0;c[b+8>>2]=c[b>>2];c[b+8+4>>2]=a;a=b+8|0;d=a;d=c[d>>2]|0;a=a+4|0;a=c[a>>2]|0;C=a;i=b;return d|0}return 0}function wBa(a){a=a|0;var b=0,d=0;b=i;i=i+96|0;c[b+88>>2]=a;c[b+84>>2]=c[c[b+88>>2]>>2];if((Xmb(c[b+84>>2]|0,b+8|0)|0)==-1){Qza(Bmb(c[(Mlb()|0)>>2]|0)|0);c[b>>2]=-1;c[b+4>>2]=-1;d=b;a=d;a=c[a>>2]|0;d=d+4|0;d=c[d>>2]|0;C=d;i=b;return a|0}else{a=c[b+8+36>>2]|0;c[b>>2]=a;c[b+4>>2]=((a|0)<0)<<31>>31;a=b;d=a;d=c[d>>2]|0;a=a+4|0;a=c[a>>2]|0;C=a;i=b;return d|0}return 0}function xBa(a){a=a|0;var b=0,d=0;b=i;i=i+32|0;c[b+16>>2]=a;a=vBa(c[b+16>>2]|0)|0;c[b+8>>2]=a;c[b+8+4>>2]=C;a=wBa(c[b+16>>2]|0)|0;c[b>>2]=a;c[b+4>>2]=C;if((c[b+4>>2]|0)<0?1:(c[b+8+4>>2]|0)<0){a=1;a=a&1;i=b;return a|0}d=c[b+8+4>>2]|0;a=c[b+4>>2]|0;a=(d|0)>(a|0)|((d|0)==(a|0)?(c[b+8>>2]|0)>>>0>=(c[b>>2]|0)>>>0:0);a=a&1;i=b;return a|0}function yBa(a){a=a|0;var b=0;b=i;i=i+16|0;c[b+4>>2]=a;c[b>>2]=c[c[b+4>>2]>>2];if((Rpb(c[b>>2]|0)|0)==-1){Qza(Bmb(c[(Mlb()|0)>>2]|0)|0);c[b+8>>2]=0;a=c[b+8>>2]|0;i=b;return a|0}else{c[b+8>>2]=1;a=c[b+8>>2]|0;i=b;return a|0}return 0}function zBa(a){a=a|0;var b=0;b=i;i=i+16|0;c[b+4>>2]=a;c[b>>2]=c[c[b+4>>2]>>2];if((Wmb(c[b>>2]|0)|0)==-1){Qza(Bmb(c[(Mlb()|0)>>2]|0)|0);c[b+8>>2]=0;a=c[b+8>>2]|0;i=b;return a|0}else{Hi[c[728344>>2]&1023](c[b+4>>2]|0);c[b+8>>2]=1;a=c[b+8>>2]|0;i=b;return a|0}return 0}function ABa(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;if((ypb(c[b>>2]|0)|0)==-1){Qza(Bmb(c[(Mlb()|0)>>2]|0)|0);c[b+4>>2]=0;a=c[b+4>>2]|0;i=b;return a|0}else{c[b+4>>2]=1;a=c[b+4>>2]|0;i=b;return a|0}return 0}function BBa(a){a=a|0;var b=0;b=i;i=i+96|0;c[b+84>>2]=a;if((Onb(c[b+84>>2]|0,b+8|0)|0)<0){Qza(Bmb(c[(Mlb()|0)>>2]|0)|0);c[b>>2]=-1;c[b+4>>2]=-1}else{a=c[b+8+56>>2]|0;c[b>>2]=a;c[b+4>>2]=((a|0)<0)<<31>>31}C=c[b+4>>2]|0;i=b;return c[b>>2]|0}function CBa(){return 1}function DBa(){return 1}function EBa(b){b=b|0;var d=0,e=0,f=0;d=i;i=i+112|0;c[d+36>>2]=b;c[d+32>>2]=0;c[d+28>>2]=0;if(c[d+36>>2]|0)if(Unb(c[d+36>>2]|0,47)|0){c[d+40>>2]=0;b=c[d+40>>2]|0;i=d;return b|0}c[d+32>>2]=FBa(514306)|0;if(!(c[d+32>>2]|0)){b=Wnb()|0;c[d>>2]=b;c[d+4>>2]=((b|0)<0)<<31>>31;b=c[d+4>>2]|0;c[d+8>>2]=c[d>>2];c[d+8+4>>2]=b;c[d+24>>2]=znb(d+48|0,64,514321,d+8|0)|0;if((c[d+24>>2]|0)>0?(c[d+24>>2]|0)>>>0<64:0)c[d+32>>2]=FBa(d+48|0)|0}if(c[d+32>>2]|0){c[d+20>>2]=sob(c[d+32>>2]|0,47)|0;if(c[d+20>>2]|0)a[c[d+20>>2]>>0]=0}do if((c[d+32>>2]|0)==0&(c[d+36>>2]|0)!=0){c[d+28>>2]=dBa(514336)|0;if(c[d+28>>2]|0){c[d+32>>2]=GBa(c[d+36>>2]|0,c[d+28>>2]|0)|0;Hi[c[728344>>2]&1023](c[d+28>>2]|0);break}Qza(0);c[d+40>>2]=0;b=c[d+40>>2]|0;i=d;return b|0}while(0);if(c[d+32>>2]|0){f=c[182085]|0;e=c[d+32>>2]|0;b=(rnb(c[d+32>>2]|0)|0)+1|0;c[d+16>>2]=Gi[f&255](e,b,0)|0;if(c[d+16>>2]|0)c[d+32>>2]=c[d+16>>2]}c[d+40>>2]=c[d+32>>2];f=c[d+40>>2]|0;i=d;return f|0}function FBa(b){b=b|0;var d=0,e=0;e=i;i=i+32|0;c[e+16>>2]=b;c[e+12>>2]=64;c[e+8>>2]=-1;c[e+4>>2]=0;while(1){c[e>>2]=Gi[c[728340>>2]&255](c[e+4>>2]|0,c[e+12>>2]|0,0)|0;if(!(c[e>>2]|0))break;c[e+4>>2]=c[e>>2];c[e+8>>2]=vob(c[e+16>>2]|0,c[e+4>>2]|0,c[e+12>>2]|0)|0;if((c[e+8>>2]|0)==-1)break;if((c[e+8>>2]|0)<(c[e+12>>2]|0)){d=5;break}c[e+12>>2]=c[e+12>>2]<<1}if((d|0)==5){a[(c[e+4>>2]|0)+(c[e+8>>2]|0)>>0]=0;c[e+20>>2]=c[e+4>>2];d=c[e+20>>2]|0;i=e;return d|0}if(c[e+4>>2]|0)Hi[c[728344>>2]&1023](c[e+4>>2]|0);c[e+20>>2]=0;d=c[e+20>>2]|0;i=e;return d|0}function GBa(b,d){b=b|0;d=d|0;var e=0,f=0;f=i;i=i+48|0;c[f+28>>2]=b;c[f+24>>2]=d;c[f+20>>2]=0;c[f+16>>2]=0;c[f+12>>2]=c[f+24>>2];if(!(c[f+28>>2]|0)){Qza(514341);c[f+32>>2]=0;e=c[f+32>>2]|0;i=f;return e|0}if(!(c[f+24>>2]|0)){Qza(514341);c[f+32>>2]=0;e=c[f+32>>2]|0;i=f;return e|0}while(1){c[f+8>>2]=Unb(c[f+12>>2]|0,58)|0;if(c[f+8>>2]|0)a[c[f+8>>2]>>0]=0;d=rnb(c[f+12>>2]|0)|0;c[f+4>>2]=d+(rnb(c[f+28>>2]|0)|0)+2;if((c[f+4>>2]|0)>>>0>(c[f+20>>2]|0)>>>0){c[f>>2]=Gi[c[728340>>2]&255](c[f+16>>2]|0,c[f+4>>2]|0,0)|0;if(!(c[f>>2]|0)){e=9;break}c[f+20>>2]=c[f+4>>2];c[f+16>>2]=c[f>>2]}Bnb(c[f+16>>2]|0,c[f+12>>2]|0)|0;if(!(a[c[f+16>>2]>>0]|0))e=15;else{d=(rnb(c[f+16>>2]|0)|0)-1|0;if((a[(c[f+16>>2]|0)+d>>0]|0)!=47)e=15}if((e|0)==15){e=0;Lpb(c[f+16>>2]|0,520497)|0}Lpb(c[f+16>>2]|0,c[f+28>>2]|0)|0;if(!(rob(c[f+16>>2]|0,1)|0)){e=17;break}c[f+12>>2]=(c[f+8>>2]|0)+1;if(!(c[f+8>>2]|0)){e=19;break}}if((e|0)==9){if(c[f+16>>2]|0)Hi[c[728344>>2]&1023](c[f+16>>2]|0);Qza(593898);c[f+32>>2]=0;e=c[f+32>>2]|0;i=f;return e|0}else if((e|0)==17){Bnb(c[f+16>>2]|0,c[f+12>>2]|0)|0;c[f+32>>2]=c[f+16>>2];e=c[f+32>>2]|0;i=f;return e|0}else if((e|0)==19){if(c[f+16>>2]|0)Hi[c[728344>>2]&1023](c[f+16>>2]|0);c[f+32>>2]=0;e=c[f+32>>2]|0;i=f;return e|0}return 0}function HBa(a){a=a|0;var b=0,d=0;b=i;i=i+4112|0;c[b+4>>2]=a;c[b>>2]=0;c[(Mlb()|0)>>2]=0;if(!(uob(c[b+4>>2]|0,b+16|0)|0)){Qza(Bmb(c[(Mlb()|0)>>2]|0)|0);c[b+8>>2]=0;a=c[b+8>>2]|0;i=b;return a|0}d=c[182084]|0;a=(rnb(b+16|0)|0)+1|0;c[b>>2]=Xi[d&511](a,0)|0;if(!(c[b>>2]|0)){Qza(593898);c[b+8>>2]=0;d=c[b+8>>2]|0;i=b;return d|0}else{Bnb(c[b>>2]|0,b+16|0)|0;c[b+8>>2]=c[b>>2];d=c[b+8>>2]|0;i=b;return d|0}return 0}function IBa(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;i=b;return 0}function JBa(){return uc()|0}function KBa(){var a=0,b=0;a=i;i=i+16|0;c[a>>2]=Xi[c[728336>>2]&511](36,0)|0;if(!(c[a>>2]|0)){Qza(593898);c[a+8>>2]=0;b=c[a+8>>2]|0;i=a;return b|0}c[a+4>>2]=Dc(c[a>>2]|0,0)|0;if(c[a+4>>2]|0){Hi[c[728344>>2]&1023](c[a>>2]|0);Qza(Bmb(c[a+4>>2]|0)|0);c[a+8>>2]=0;b=c[a+8>>2]|0;i=a;return b|0}else{c[(c[a>>2]|0)+32>>2]=0;c[(c[a>>2]|0)+28>>2]=-559038737;c[a+8>>2]=c[a>>2];b=c[a+8>>2]|0;i=a;return b|0}return 0}function LBa(a){a=a|0;var b=0;b=i;i=i+16|0;c[b+4>>2]=a;c[b>>2]=c[b+4>>2];a=c[(c[b>>2]|0)+28>>2]|0;if((a|0)==(uc()|0))if((c[(c[b>>2]|0)+32>>2]|0)>>>0>0)ee(c[b>>2]|0)|0;Fh(c[b>>2]|0)|0;Hi[c[728344>>2]&1023](c[b>>2]|0);i=b;return}function MBa(a){a=a|0;var b=0;b=i;i=i+16|0;c[b+8>>2]=a;c[b+4>>2]=c[b+8>>2];c[b>>2]=uc()|0;do if((c[(c[b+4>>2]|0)+28>>2]|0)!=(c[b>>2]|0)){if(!(Tb(c[b+4>>2]|0)|0)){c[(c[b+4>>2]|0)+28>>2]=c[b>>2];break}c[b+12>>2]=0;a=c[b+12>>2]|0;i=b;return a|0}while(0);a=(c[b+4>>2]|0)+32|0;c[a>>2]=(c[a>>2]|0)+1;c[b+12>>2]=1;a=c[b+12>>2]|0;i=b;return a|0}function NBa(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;c[b+4>>2]=a;c[b>>2]=c[b+4>>2];a=c[(c[b>>2]|0)+28>>2]|0;if((a|0)!=(uc()|0)){i=b;return}d=(c[b>>2]|0)+32|0;a=(c[d>>2]|0)+-1|0;c[d>>2]=a;if(a|0){i=b;return}c[(c[b>>2]|0)+28>>2]=-559038737;ee(c[b>>2]|0)|0;i=b;return}function OBa(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d+4>>2]=a;c[d>>2]=b;b=kBa(c[d+4>>2]|0)|0;i=d;return b|0}function PBa(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+32|0;c[d+20>>2]=a;c[d+16>>2]=b;c[d+12>>2]=$za()|0;c[d+8>>2]=0;c[d+4>>2]=rnb(c[d+20>>2]|0)|0;c[d>>2]=rnb(c[d+12>>2]|0)|0;if(!(OBa(c[d+20>>2]|0,c[d+16>>2]|0)|0)){Qza(514555);c[d+24>>2]=0;a=c[d+24>>2]|0;i=d;return a|0}c[d+8>>2]=Xi[c[728336>>2]&511]((c[d+4>>2]|0)+(c[d>>2]|0)+1|0,0)|0;if(!(c[d+8>>2]|0)){Qza(593898);c[d+24>>2]=0;a=c[d+24>>2]|0;i=d;return a|0}Bnb(c[d+8>>2]|0,c[d+20>>2]|0)|0;if(Imb((c[d+20>>2]|0)+(c[d+4>>2]|0)+(0-(c[d>>2]|0))|0,c[d+12>>2]|0)|0)Lpb(c[d+8>>2]|0,c[d+12>>2]|0)|0;c[d+24>>2]=c[d+8>>2];a=c[d+24>>2]|0;i=d;return a|0}function QBa(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+32|0;c[h+24>>2]=a;c[h+20>>2]=b;c[h+16>>2]=d;c[h+12>>2]=e;c[h+8>>2]=f;c[h+4>>2]=g;c[h>>2]=lBa(c[h+24>>2]|0,c[h+20>>2]|0,0)|0;if(!(c[h>>2]|0)){i=h;return}mBa(c[h>>2]|0,c[h+16>>2]|0,c[h+12>>2]|0,c[h+8>>2]|0,c[h+4>>2]|0);Hi[c[728344>>2]&1023](c[h>>2]|0);i=h;return}function RBa(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+32|0;c[d+12>>2]=a;c[d+8>>2]=b;c[d+4>>2]=lBa(c[d+12>>2]|0,c[d+8>>2]|0,0)|0;if(!(c[d+4>>2]|0)){Qza(0);c[d+16>>2]=0;a=c[d+16>>2]|0;i=d;return a|0}else{c[d>>2]=iBa(c[d+4>>2]|0)|0;Hi[c[728344>>2]&1023](c[d+4>>2]|0);c[d+16>>2]=c[d>>2];a=c[d+16>>2]|0;i=d;return a|0}return 0}function SBa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+32|0;c[e+16>>2]=a;c[e+12>>2]=b;c[e+8>>2]=d;c[e+4>>2]=lBa(c[e+16>>2]|0,c[e+12>>2]|0,0)|0;c[e>>2]=0;if(!(c[e+4>>2]|0)){Qza(0);c[e+20>>2]=0;a=c[e+20>>2]|0;i=e;return a|0}a=iBa(c[e+4>>2]|0)|0;c[c[e+8>>2]>>2]=a;if(c[c[e+8>>2]>>2]|0)c[e>>2]=kBa(c[e+4>>2]|0)|0;Hi[c[728344>>2]&1023](c[e+4>>2]|0);c[e+20>>2]=c[e>>2];a=c[e+20>>2]|0;i=e;return a|0}function TBa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+32|0;c[e+16>>2]=a;c[e+12>>2]=b;c[e+8>>2]=d;c[e+4>>2]=lBa(c[e+16>>2]|0,c[e+12>>2]|0,0)|0;c[e>>2]=0;if(!(c[e+4>>2]|0)){Qza(0);c[e+20>>2]=0;a=c[e+20>>2]|0;i=e;return a|0}a=iBa(c[e+4>>2]|0)|0;c[c[e+8>>2]>>2]=a;if(c[c[e+8>>2]>>2]|0)c[e>>2]=jBa(c[e+4>>2]|0)|0;Hi[c[728344>>2]&1023](c[e+4>>2]|0);c[e+20>>2]=c[e>>2];a=c[e+20>>2]|0;i=e;return a|0}function UBa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+32|0;c[e+28>>2]=a;c[e+24>>2]=b;c[e+20>>2]=d;c[e+16>>2]=lBa(c[e+28>>2]|0,c[e+24>>2]|0,0)|0;c[e>>2]=-1;c[e+4>>2]=-1;if(!(c[e+16>>2]|0)){Qza(0);c[e+8>>2]=0;c[e+8+4>>2]=0;b=e+8|0;a=b;a=c[a>>2]|0;b=b+4|0;b=c[b>>2]|0;C=b;i=e;return a|0}a=iBa(c[e+16>>2]|0)|0;c[c[e+20>>2]>>2]=a;if(c[c[e+20>>2]>>2]|0){a=BBa(c[e+16>>2]|0)|0;c[e>>2]=a;c[e+4>>2]=C}Hi[c[728344>>2]&1023](c[e+16>>2]|0);b=c[e+4>>2]|0;c[e+8>>2]=c[e>>2];c[e+8+4>>2]=b;b=e+8|0;a=b;a=c[a>>2]|0;b=b+4|0;b=c[b>>2]|0;C=b;i=e;return a|0}function VBa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;c[e+8>>2]=a;c[e+4>>2]=b;c[e>>2]=d;a=WBa(c[e+8>>2]|0,c[e+4>>2]|0,1505,c[e>>2]|0)|0;i=e;return a|0}function WBa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+32|0;c[f+20>>2]=a;c[f+16>>2]=b;c[f+12>>2]=d;c[f+8>>2]=e;c[f+4>>2]=lBa(c[f+20>>2]|0,c[f+16>>2]|0,0)|0;c[f>>2]=0;if(!(c[f+4>>2]|0)){Qza(0);c[f+24>>2]=0;d=c[f+24>>2]|0;i=f;return d|0}if(c[f+8>>2]|0){d=iBa(c[f+4>>2]|0)|0;c[c[f+8>>2]>>2]=d;if(!(c[c[f+8>>2]>>2]|0)){Hi[c[728344>>2]&1023](c[f+4>>2]|0);c[f+24>>2]=0;d=c[f+24>>2]|0;i=f;return d|0}}c[f>>2]=vi[c[f+12>>2]&2047](c[f+4>>2]|0)|0;Hi[c[728344>>2]&1023](c[f+4>>2]|0);c[f+24>>2]=c[f>>2];d=c[f+24>>2]|0;i=f;return d|0}function XBa(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d+4>>2]=a;c[d>>2]=b;a=WBa(c[d+4>>2]|0,c[d>>2]|0,1506,0)|0;i=d;return a|0}function YBa(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d+4>>2]=a;c[d>>2]=b;a=WBa(c[d+4>>2]|0,c[d>>2]|0,1507,0)|0;i=d;return a|0}function ZBa(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+32|0;c[d+12>>2]=a;c[d+8>>2]=b;c[d+4>>2]=lBa(c[d+12>>2]|0,c[d+8>>2]|0,0)|0;if(!(c[d+4>>2]|0)){Qza(0);c[d+16>>2]=0;a=c[d+16>>2]|0;i=d;return a|0}else{c[d>>2]=ABa(c[d+4>>2]|0)|0;Hi[c[728344>>2]&1023](c[d+4>>2]|0);c[d+16>>2]=c[d>>2];a=c[d+16>>2]|0;i=d;return a|0}return 0}function _Ba(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+32|0;c[d+12>>2]=a;c[d+8>>2]=b;c[d+4>>2]=lBa(c[d+12>>2]|0,c[d+8>>2]|0,0)|0;if(!(c[d+4>>2]|0)){Qza(0);c[d+16>>2]=0;a=c[d+16>>2]|0;i=d;return a|0}else{c[d>>2]=nBa(c[d+4>>2]|0)|0;Hi[c[728344>>2]&1023](c[d+4>>2]|0);c[d+16>>2]=c[d>>2];a=c[d+16>>2]|0;i=d;return a|0}return 0}function $Ba(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;Hi[c[728344>>2]&1023](c[b>>2]|0);i=b;return}function aCa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+32|0;c[f+20>>2]=a;c[f+16>>2]=b;c[f+12>>2]=d;c[f+8>>2]=e;a=sBa(c[f+20>>2]|0,c[f+16>>2]|0,c[f+12>>2]|0,c[f+8>>2]|0)|0;c[f>>2]=a;c[f+4>>2]=C;C=c[f+4>>2]|0;i=f;return c[f>>2]|0}function bCa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+32|0;c[f+20>>2]=a;c[f+16>>2]=b;c[f+12>>2]=d;c[f+8>>2]=e;a=tBa(c[f+20>>2]|0,c[f+16>>2]|0,c[f+12>>2]|0,c[f+8>>2]|0)|0;c[f>>2]=a;c[f+4>>2]=C;C=c[f+4>>2]|0;i=f;return c[f>>2]|0}function cCa(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;a=xBa(c[b>>2]|0)|0;i=b;return a|0}function dCa(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;a=vBa(c[b>>2]|0)|0;i=b;return a|0}function eCa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;c[e+8>>2]=a;c[e>>2]=b;c[e+4>>2]=d;a=uBa(c[e+8>>2]|0,c[e>>2]|0,c[e+4>>2]|0)|0;i=e;return a|0}function fCa(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;a=wBa(c[b>>2]|0)|0;i=b;return a|0}function gCa(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;do if(yBa(c[b>>2]|0)|0)if(zBa(c[b>>2]|0)|0){c[b+4>>2]=1;break}else{Qza(0);c[b+4>>2]=0;break}else{Qza(0);c[b+4>>2]=0}while(0);i=b;return c[b+4>>2]|0}function hCa(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+32|0;c[d+16>>2]=a;c[d+12>>2]=b;c[d+4>>2]=0;c[d>>2]=oBa(c[d+16>>2]|0)|0;if(!(c[d>>2]|0)){Qza(0);c[d+20>>2]=0;b=c[d+20>>2]|0;i=d;return b|0}if(iCa(c[d>>2]|0,d+8|0)|0){c[d+4>>2]=(c[d+8>>2]|0)==67324752&1;if(!(c[d+4>>2]|0)){b=jCa(c[d>>2]|0,0)|0;c[d+4>>2]=((b|0)!=-1|(C|0)!=-1)&1}}zBa(c[d>>2]|0)|0;c[d+20>>2]=c[d+4>>2];b=c[d+20>>2]|0;i=d;return b|0}function iCa(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d+8>>2]=a;c[d+4>>2]=b;b=sBa(c[d+8>>2]|0,d,4,1)|0;if((b|0)!=1|(C|0)!=0){Qza(0);c[d+12>>2]=0;b=c[d+12>>2]|0;i=d;return b|0}else{b=dDa(c[d>>2]|0)|0;c[c[d+4>>2]>>2]=b;c[d+12>>2]=1;b=c[d+12>>2]|0;i=d;return b|0}return 0}function jCa(b,e){b=b|0;e=e|0;var f=0,g=0,h=0;g=i;i=i+320|0;c[g+44>>2]=b;c[g+40>>2]=e;a[g+48>>0]=0;a[g+48+1>>0]=0;a[g+48+2>>0]=0;a[g+48+3>>0]=0;c[g+36>>2]=0;c[g+28>>2]=0;c[g+24>>2]=0;e=wBa(c[g+44>>2]|0)|0;c[g+8>>2]=e;c[g+8+4>>2]=C;if((c[g+8>>2]|0)==-1?(c[g+8+4>>2]|0)==-1:0){Qza(0);c[g+16>>2]=0;c[g+16+4>>2]=0;e=g+16|0;f=e;f=c[f>>2]|0;e=e+4|0;e=c[e>>2]|0;C=e;i=g;return f|0}e=c[g+8+4>>2]|0;if((e|0)>0|((e|0)==0?(c[g+8>>2]|0)>>>0>4294967295:0)){Qza(514494);c[g+16>>2]=0;c[g+16+4>>2]=0;e=g+16|0;f=e;f=c[f>>2]|0;e=e+4|0;e=c[e>>2]|0;C=e;i=g;return f|0}e=c[g+8+4>>2]|0;if(0<(e|0)|(0==(e|0)?256<(c[g+8>>2]|0)>>>0:0)){e=qBb(c[g+8>>2]|0,c[g+8+4>>2]|0,256,0)|0;c[g>>2]=e;c[g+4>>2]=C;c[g+32>>2]=256}else{c[g>>2]=0;c[g+4>>2]=0;c[g+32>>2]=c[g+8>>2]}while(1){e=c[g+28>>2]|0;b=c[g+8+4>>2]|0;if(!((((e|0)<0)<<31>>31|0)<(b|0)|((((e|0)<0)<<31>>31|0)==(b|0)?e>>>0<(c[g+8>>2]|0)>>>0:0)?(c[g+28>>2]|0)<65557:0)){f=28;break}if(!(uBa(c[g+44>>2]|0,c[g>>2]|0,c[g+4>>2]|0)|0)){f=10;break}b=c[g+44>>2]|0;e=c[g+32>>2]|0;if(c[g+28>>2]|0){e=sBa(b,g+56|0,e-4|0,1)|0;if((e|0)!=1|(C|0)!=0){f=13;break}e=g+56+((c[g+32>>2]|0)-4)|0;a[e>>0]=a[g+48>>0]|0;a[e+1>>0]=a[g+48+1>>0]|0;a[e+2>>0]=a[g+48+2>>0]|0;a[e+3>>0]=a[g+48+3>>0]|0;c[g+28>>2]=(c[g+28>>2]|0)+((c[g+32>>2]|0)-4)}else{e=sBa(b,g+56|0,e,1)|0;if((e|0)!=1|(C|0)!=0){f=16;break}c[g+28>>2]=(c[g+28>>2]|0)+(c[g+32>>2]|0)};a[g+48>>0]=a[g+56>>0]|0;a[g+48+1>>0]=a[g+56+1>>0]|0;a[g+48+2>>0]=a[g+56+2>>0]|0;a[g+48+3>>0]=a[g+56+3>>0]|0;c[g+36>>2]=(c[g+32>>2]|0)-4;while(1){if((c[g+36>>2]|0)<=0)break;if((d[g+56+((c[g+36>>2]|0)+0)>>0]|0|0)==80)if((d[g+56+((c[g+36>>2]|0)+1)>>0]|0|0)==75)if((d[g+56+((c[g+36>>2]|0)+2)>>0]|0|0)==5)if((d[g+56+((c[g+36>>2]|0)+3)>>0]|0|0)==6){f=24;break}c[g+36>>2]=(c[g+36>>2]|0)+-1}if((f|0)==24){f=0;c[g+24>>2]=1}if(c[g+24>>2]|0){f=28;break}h=(c[g+32>>2]|0)-4|0;h=qBb(c[g>>2]|0,c[g+4>>2]|0,h|0,((h|0)<0)<<31>>31|0)|0;e=C;c[g>>2]=h;c[g+4>>2]=e;b=(c[g+4>>2]|0)<0;c[g>>2]=b?0:h;c[g+4>>2]=b?0:e}if((f|0)==10){Qza(0);c[g+16>>2]=-1;c[g+16+4>>2]=-1;f=g+16|0;h=f;h=c[h>>2]|0;f=f+4|0;f=c[f>>2]|0;C=f;i=g;return h|0}else if((f|0)==13){c[g+16>>2]=-1;c[g+16+4>>2]=-1;f=g+16|0;h=f;h=c[h>>2]|0;f=f+4|0;f=c[f>>2]|0;C=f;i=g;return h|0}else if((f|0)==16){c[g+16>>2]=-1;c[g+16+4>>2]=-1;f=g+16|0;h=f;h=c[h>>2]|0;f=f+4|0;f=c[f>>2]|0;C=f;i=g;return h|0}else if((f|0)==28){if(!(c[g+24>>2]|0)){Qza(514519);c[g+16>>2]=-1;c[g+16+4>>2]=-1;f=g+16|0;h=f;h=c[h>>2]|0;f=f+4|0;f=c[f>>2]|0;C=f;i=g;return h|0}if(c[g+40>>2]|0){f=c[g+8+4>>2]|0;h=c[g+40>>2]|0;c[h>>2]=c[g+8>>2];c[h+4>>2]=f}f=c[g+36>>2]|0;f=jBb(c[g>>2]|0,c[g+4>>2]|0,f|0,((f|0)<0)<<31>>31|0)|0;c[g+16>>2]=f;c[g+16+4>>2]=C;f=g+16|0;h=f;h=c[h>>2]|0;f=f+4|0;f=c[f>>2]|0;C=f;i=g;return h|0}return 0}function kCa(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+32|0;c[d+20>>2]=a;c[d+16>>2]=b;c[d+12>>2]=0;c[d+8>>2]=0;if(c[d+16>>2]|0){Qza(514534);c[d+24>>2]=0;a=c[d+24>>2]|0;i=d;return a|0}a=oBa(c[d+20>>2]|0)|0;c[d+12>>2]=a;if(a|0){a=lCa(c[d+20>>2]|0)|0;c[d+8>>2]=a;if(a|0)if(mCa(c[d+12>>2]|0,c[d+8>>2]|0,d+4|0,d)|0)if(oCa(c[d+12>>2]|0,c[d+8>>2]|0,c[d+4>>2]|0,c[d>>2]|0)|0){zBa(c[d+12>>2]|0)|0;c[d+24>>2]=c[d+8>>2];a=c[d+24>>2]|0;i=d;return a|0}}if(c[d+8>>2]|0){if(c[c[d+8>>2]>>2]|0)Hi[c[728344>>2]&1023](c[c[d+8>>2]>>2]|0);Hi[c[728344>>2]&1023](c[d+8>>2]|0)}if(c[d+12>>2]|0)zBa(c[d+12>>2]|0)|0;c[d+24>>2]=0;a=c[d+24>>2]|0;i=d;return a|0}function lCa(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;c[b+8>>2]=a;c[b>>2]=Xi[c[728336>>2]&511](12,0)|0;if(!(c[b>>2]|0)){Qza(593898);c[b+12>>2]=0;a=c[b+12>>2]|0;i=b;return a|0}d=c[b>>2]|0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;d=c[182084]|0;a=(rnb(c[b+8>>2]|0)|0)+1|0;c[b+4>>2]=Xi[d&511](a,0)|0;if(!(c[b+4>>2]|0)){Hi[c[728344>>2]&1023](c[b>>2]|0);Qza(593898);c[b+12>>2]=0;d=c[b+12>>2]|0;i=b;return d|0}else{c[c[b>>2]>>2]=c[b+4>>2];Bnb(c[c[b>>2]>>2]|0,c[b+8>>2]|0)|0;c[b+12>>2]=c[b>>2];d=c[b+12>>2]|0;i=b;return d|0}return 0}function mCa(a,b,d,f){a=a|0;b=b|0;d=d|0;f=f|0;var g=0;g=i;i=i+48|0;c[g+32>>2]=a;c[g+28>>2]=b;c[g+24>>2]=d;c[g+20>>2]=f;b=jCa(c[g+32>>2]|0,g+8|0)|0;c[g>>2]=b;c[g+4>>2]=C;do if((c[g>>2]|0)==-1?(c[g+4>>2]|0)==-1:0){Qza(0);c[g+36>>2]=0}else{if(!(uBa(c[g+32>>2]|0,c[g>>2]|0,c[g+4>>2]|0)|0)){Qza(0);c[g+36>>2]=0;break}if(!(iCa(c[g+32>>2]|0,g+16|0)|0)){Qza(0);c[g+36>>2]=0;break}if((c[g+16>>2]|0)!=101010256){Qza(514519);c[g+36>>2]=0;break}if(!(nCa(c[g+32>>2]|0,g+40|0)|0)){Qza(0);c[g+36>>2]=0;break}if(e[g+40>>1]|0|0){Qza(514555);c[g+36>>2]=0;break}if(!(nCa(c[g+32>>2]|0,g+40|0)|0)){Qza(0);c[g+36>>2]=0;break}if(e[g+40>>1]|0|0){Qza(514555);c[g+36>>2]=0;break}if(!(nCa(c[g+32>>2]|0,g+40|0)|0)){Qza(0);c[g+36>>2]=0;break}if(!(nCa(c[g+32>>2]|0,(c[g+28>>2]|0)+4|0)|0)){Qza(0);c[g+36>>2]=0;break}if((e[g+40>>1]|0|0)!=(e[(c[g+28>>2]|0)+4>>1]|0|0)){Qza(514555);c[g+36>>2]=0;break}if(!(iCa(c[g+32>>2]|0,g+16|0)|0)){Qza(0);c[g+36>>2]=0;break}if(!(iCa(c[g+32>>2]|0,c[g+20>>2]|0)|0)){Qza(0);c[g+36>>2]=0;break}b=c[g+4>>2]|0;if((b|0)<0|((b|0)==0?(c[g>>2]|0)>>>0<((c[c[g+20>>2]>>2]|0)+(c[g+16>>2]|0)|0)>>>0:0)){Qza(514555);c[g+36>>2]=0;break}b=qBb(c[g>>2]|0,c[g+4>>2]|0,(c[c[g+20>>2]>>2]|0)+(c[g+16>>2]|0)|0,0)|0;c[c[g+24>>2]>>2]=b;b=c[g+20>>2]|0;c[b>>2]=(c[b>>2]|0)+(c[c[g+24>>2]>>2]|0);if(!(nCa(c[g+32>>2]|0,g+40|0)|0)){Qza(0);c[g+36>>2]=0;break}b=jBb(c[g>>2]|0,c[g+4>>2]|0,22,0)|0;b=jBb(b|0,C|0,e[g+40>>1]|0|0,0)|0;if((b|0)!=(c[g+8>>2]|0)?1:(C|0)!=(c[g+8+4>>2]|0)){Qza(514555);c[g+36>>2]=0;break}else{c[g+36>>2]=1;break}}while(0);i=g;return c[g+36>>2]|0}function nCa(a,d){a=a|0;d=d|0;var e=0;e=i;i=i+16|0;c[e+4>>2]=a;c[e>>2]=d;d=sBa(c[e+4>>2]|0,e+12|0,2,1)|0;if((d|0)!=1|(C|0)!=0){Qza(0);c[e+8>>2]=0;d=c[e+8>>2]|0;i=e;return d|0}else{d=cDa(b[e+12>>1]|0)|0;b[c[e>>2]>>1]=d;c[e+8>>2]=1;d=c[e+8>>2]|0;i=e;return d|0}return 0}function oCa(a,b,d,f){a=a|0;b=b|0;d=d|0;f=f|0;var g=0;g=i;i=i+32|0;c[g+20>>2]=a;c[g+16>>2]=b;c[g+12>>2]=d;c[g+8>>2]=f;c[g+4>>2]=e[(c[g+16>>2]|0)+4>>1];if(!(uBa(c[g+20>>2]|0,c[g+8>>2]|0,0)|0)){Qza(0);c[g+24>>2]=0;b=c[g+24>>2]|0;i=g;return b|0}b=Xi[c[728336>>2]&511]((c[g+4>>2]|0)*48|0,0)|0;c[(c[g+16>>2]|0)+8>>2]=b;if(!(c[(c[g+16>>2]|0)+8>>2]|0)){Qza(593898);c[g+24>>2]=0;b=c[g+24>>2]|0;i=g;return b|0}c[g>>2]=0;while(1){if((c[g>>2]|0)>>>0>=(c[g+4>>2]|0)>>>0){f=10;break}if(!(pCa(c[g+20>>2]|0,(c[(c[g+16>>2]|0)+8>>2]|0)+((c[g>>2]|0)*48|0)|0,c[g+12>>2]|0)|0)){f=8;break}c[g>>2]=(c[g>>2]|0)+1}if((f|0)==8){uCa(c[(c[g+16>>2]|0)+8>>2]|0,c[g>>2]|0);c[g+24>>2]=0;b=c[g+24>>2]|0;i=g;return b|0}else if((f|0)==10){Nza(c[(c[g+16>>2]|0)+8>>2]|0,c[g+4>>2]|0,125,100);c[g+24>>2]=1;b=c[g+24>>2]|0;i=g;return b|0}return 0}function pCa(b,d,f){b=b|0;d=d|0;f=f|0;var g=0;g=i;i=i+48|0;c[g+24>>2]=b;c[g+20>>2]=d;c[g+16>>2]=f;a:do if(iCa(c[g+24>>2]|0,g+8|0)|0){if((c[g+8>>2]|0)!=33639248){Qza(514580);c[g+28>>2]=0;break}if(!(nCa(c[g+24>>2]|0,(c[g+20>>2]|0)+16|0)|0)){Qza(0);c[g+28>>2]=0;break}if(!(nCa(c[g+24>>2]|0,(c[g+20>>2]|0)+18|0)|0)){Qza(0);c[g+28>>2]=0;break}if(!(nCa(c[g+24>>2]|0,g+32|0)|0)){Qza(0);c[g+28>>2]=0;break}if(!(nCa(c[g+24>>2]|0,(c[g+20>>2]|0)+20|0)|0)){Qza(0);c[g+28>>2]=0;break}if(!(iCa(c[g+24>>2]|0,g+8|0)|0)){Qza(0);c[g+28>>2]=0;break}b=qCa(c[g+8>>2]|0)|0;f=(c[g+20>>2]|0)+40|0;c[f>>2]=b;c[f+4>>2]=C;if(!(iCa(c[g+24>>2]|0,(c[g+20>>2]|0)+24|0)|0)){Qza(0);c[g+28>>2]=0;break}if(!(iCa(c[g+24>>2]|0,(c[g+20>>2]|0)+28|0)|0)){Qza(0);c[g+28>>2]=0;break}if(!(iCa(c[g+24>>2]|0,(c[g+20>>2]|0)+32|0)|0)){Qza(0);c[g+28>>2]=0;break}if(!(nCa(c[g+24>>2]|0,g+38|0)|0)){Qza(0);c[g+28>>2]=0;break}if(!(nCa(c[g+24>>2]|0,g+36|0)|0)){Qza(0);c[g+28>>2]=0;break}if(!(nCa(c[g+24>>2]|0,g+34|0)|0)){Qza(0);c[g+28>>2]=0;break}if(!(nCa(c[g+24>>2]|0,g+32|0)|0)){Qza(0);c[g+28>>2]=0;break}if(!(nCa(c[g+24>>2]|0,g+32|0)|0)){Qza(0);c[g+28>>2]=0;break}if(!(iCa(c[g+24>>2]|0,g+12|0)|0)){Qza(0);c[g+28>>2]=0;break}if(!(iCa(c[g+24>>2]|0,(c[g+20>>2]|0)+12|0)|0)){Qza(0);c[g+28>>2]=0;break}f=(c[g+20>>2]|0)+12|0;c[f>>2]=(c[f>>2]|0)+(c[g+16>>2]|0);c[(c[g+20>>2]|0)+4>>2]=0;f=(rCa(c[g+20>>2]|0,c[g+12>>2]|0)|0)!=0;c[(c[g+20>>2]|0)+8>>2]=f?1:0;f=(e[g+38>>1]|0)+1|0;f=Xi[c[728336>>2]&511](f,((f|0)<0)<<31>>31)|0;c[c[g+20>>2]>>2]=f;if(!(c[c[g+20>>2]>>2]|0)){Qza(593898);c[g+28>>2]=0;break}f=sBa(c[g+24>>2]|0,c[c[g+20>>2]>>2]|0,e[g+38>>1]|0,1)|0;do if(!((f|0)!=1|(C|0)!=0)){a[(c[c[g+20>>2]>>2]|0)+(e[g+38>>1]|0)>>0]=0;tCa(c[g+20>>2]|0,c[c[g+20>>2]>>2]|0);f=vBa(c[g+24>>2]|0)|0;c[g>>2]=f;c[g+4>>2]=C;if((c[g>>2]|0)==-1?(c[g+4>>2]|0)==-1:0)break;b=c[g+24>>2]|0;f=jBb(c[g>>2]|0,c[g+4>>2]|0,e[g+36>>1]|0|0,0)|0;f=jBb(f|0,C|0,e[g+34>>1]|0|0,0)|0;if(!(uBa(b,f,C)|0))break;c[g+28>>2]=1;break a}while(0);Hi[c[728344>>2]&1023](c[c[g+20>>2]>>2]|0);c[g+28>>2]=0}else{Qza(0);c[g+28>>2]=0}while(0);i=g;return c[g+28>>2]|0}function qCa(a){a=a|0;var b=0,d=0;d=i;i=i+64|0;c[d+48>>2]=a;a=d;b=a+44|0;do{c[a>>2]=0;a=a+4|0}while((a|0)<(b|0));c[d+44>>2]=(c[d+48>>2]|0)>>>16&65535;c[d+48>>2]=c[d+48>>2]&65535;c[d+20>>2]=((c[d+44>>2]|0)>>>9&127)+80;c[d+16>>2]=((c[d+44>>2]|0)>>>5&15)-1;c[d+12>>2]=c[d+44>>2]&31;c[d+8>>2]=(c[d+48>>2]|0)>>>11&31;c[d+4>>2]=(c[d+48>>2]|0)>>>5&63;c[d>>2]=c[d+48>>2]<<1&62;c[d+32>>2]=-1;b=md(d|0)|0;C=((b|0)<0)<<31>>31;i=d;return b|0}function rCa(a,d){a=a|0;d=d|0;var f=0;f=i;i=i+16|0;c[f+4>>2]=a;c[f>>2]=d;b[f+8>>1]=(c[f>>2]|0)>>>16;if(!(sCa(e[(c[f+4>>2]|0)+16>>1]|0)|0)){d=0;d=d&1;i=f;return d|0}if((c[(c[f+4>>2]|0)+32>>2]|0)>>>0<=0){d=0;d=d&1;i=f;return d|0}d=((e[f+8>>1]|0)&61440|0)==40960;d=d&1;i=f;return d|0}function sCa(b){b=b|0;var e=0;e=i;i=i+16|0;c[e+4>>2]=b;c[e>>2]=0;a[e+8>>0]=(c[e+4>>2]|0)>>>8;switch(d[e+8>>0]|0|0){case 18:case 15:case 13:case 14:case 11:case 6:case 4:case 2:case 1:case 0:{b=c[e>>2]|0;i=e;return b|0}default:{}}c[e>>2]=1;b=c[e>>2]|0;i=e;return b|0}function tCa(b,f){b=b|0;f=f|0;var g=0;g=i;i=i+16|0;c[g+4>>2]=b;c[g>>2]=f;a[g+8>>0]=e[(c[g+4>>2]|0)+16>>1]>>8;if(d[g+8>>0]|0){i=g;return}while(1){if(!(a[c[g>>2]>>0]|0))break;if((a[c[g>>2]>>0]|0)==92)a[c[g>>2]>>0]=47;c[g>>2]=(c[g>>2]|0)+1}i=g;return}function uCa(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d+12>>2]=a;c[d+8>>2]=b;c[d+4>>2]=0;while(1){if((c[d+4>>2]|0)>>>0>=(c[d+8>>2]|0)>>>0)break;c[d>>2]=(c[d+12>>2]|0)+((c[d+4>>2]|0)*48|0);if(c[c[d>>2]>>2]|0)Hi[c[728344>>2]&1023](c[c[d>>2]>>2]|0);c[d+4>>2]=(c[d+4>>2]|0)+1}Hi[c[728344>>2]&1023](c[d+12>>2]|0);i=d;return}function vCa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+32|0;c[e+12>>2]=a;c[e+8>>2]=b;c[e+4>>2]=d;if((c[e+8>>2]|0)!=(c[e+4>>2]|0)){c[e>>2]=c[e+12>>2];c[e+16>>2]=Imb(c[(c[e>>2]|0)+((c[e+8>>2]|0)*48|0)>>2]|0,c[(c[e>>2]|0)+((c[e+4>>2]|0)*48|0)>>2]|0)|0;d=c[e+16>>2]|0;i=e;return d|0}else{c[e+16>>2]=0;d=c[e+16>>2]|0;i=e;return d|0}return 0}function wCa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+80|0;c[e+64>>2]=a;c[e+60>>2]=b;c[e+56>>2]=d;if((c[e+60>>2]|0)==(c[e+56>>2]|0)){i=e;return}c[e+52>>2]=(c[e+64>>2]|0)+((c[e+60>>2]|0)*48|0);c[e+48>>2]=(c[e+64>>2]|0)+((c[e+56>>2]|0)*48|0);a=e;b=c[e+52>>2]|0;d=a+48|0;do{c[a>>2]=c[b>>2];a=a+4|0;b=b+4|0}while((a|0)<(d|0));a=c[e+52>>2]|0;b=c[e+48>>2]|0;d=a+48|0;do{c[a>>2]=c[b>>2];a=a+4|0;b=b+4|0}while((a|0)<(d|0));a=c[e+48>>2]|0;b=e;d=a+48|0;do{c[a>>2]=c[b>>2];a=a+4|0;b=b+4|0}while((a|0)<(d|0));i=e;return}function xCa(b,d,f,g,h,j){b=b|0;d=d|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0;k=i;i=i+64|0;c[k+60>>2]=b;c[k+56>>2]=d;c[k+52>>2]=f;c[k+48>>2]=g;c[k+44>>2]=h;c[k+40>>2]=j;c[k+36>>2]=c[k+60>>2];c[k+20>>2]=yCa(c[k+36>>2]|0,c[k+56>>2]|0,0)|0;if((c[k+20>>2]|0)==-1){i=k;return}c[k+32>>2]=rnb(c[k+56>>2]|0)|0;if((c[k+32>>2]|0)>0)if((a[(c[k+56>>2]|0)+((c[k+32>>2]|0)-1)>>0]|0)==47)c[k+32>>2]=(c[k+32>>2]|0)+-1;c[k+28>>2]=((c[k+32>>2]|0)>0?1:0)+(c[k+32>>2]|0);c[k+24>>2]=e[(c[k+36>>2]|0)+4>>1];a:while(1){if((c[k+20>>2]|0)>=(c[k+24>>2]|0)){j=20;break}c[k+16>>2]=c[(c[(c[k+36>>2]|0)+8>>2]|0)+((c[k+20>>2]|0)*48|0)>>2];if(c[k+32>>2]|0){if(pmb(c[k+16>>2]|0,c[k+56>>2]|0,c[k+32>>2]|0)|0){j=20;break}if((a[(c[k+16>>2]|0)+(c[k+32>>2]|0)>>0]|0)!=47){j=20;break}}if(c[k+52>>2]|0)if(zCa((c[(c[k+36>>2]|0)+8>>2]|0)+((c[k+20>>2]|0)*48|0)|0)|0){c[k+20>>2]=(c[k+20>>2]|0)+1;continue}c[k+12>>2]=(c[k+16>>2]|0)+(c[k+28>>2]|0);c[k+8>>2]=Unb(c[k+12>>2]|0,47)|0;if(c[k+8>>2]|0)j=(c[k+8>>2]|0)-(c[k+12>>2]|0)|0;else j=rnb(c[k+12>>2]|0)|0;c[k+4>>2]=j;ACa(c[k+48>>2]|0,c[k+40>>2]|0,c[k+44>>2]|0,c[k+12>>2]|0,c[k+4>>2]|0);c[k+4>>2]=(c[k+4>>2]|0)+(c[k+28>>2]|0);while(1){h=(c[k+20>>2]|0)+1|0;c[k+20>>2]=h;if(!((h|0)<(c[k+24>>2]|0)?(c[k+8>>2]|0)!=0:0))continue a;c[k>>2]=c[(c[(c[k+36>>2]|0)+8>>2]|0)+((c[k+20>>2]|0)*48|0)>>2];if(pmb(c[k+16>>2]|0,c[k>>2]|0,c[k+4>>2]|0)|0)continue a;if((a[(c[k>>2]|0)+(c[k+4>>2]|0)>>0]|0)!=47)continue a}}if((j|0)==20){i=k;return}}function yCa(b,d,f){b=b|0;d=d|0;f=f|0;var g=0;g=i;i=i+48|0;c[g+36>>2]=b;c[g+32>>2]=d;c[g+28>>2]=f;c[g+24>>2]=0;c[g+20>>2]=(e[(c[g+36>>2]|0)+4>>1]|0)-1;c[g+12>>2]=rnb(c[g+32>>2]|0)|0;c[g+8>>2]=-1;if(!(a[c[g+32>>2]>>0]|0)){c[g+40>>2]=0;f=c[g+40>>2]|0;i=g;return f|0}if((c[g+12>>2]|0)>>>0>0)if((a[(c[g+32>>2]|0)+((c[g+12>>2]|0)-1)>>0]|0)==47)c[g+12>>2]=(c[g+12>>2]|0)+-1;a:while(1){if((c[g+24>>2]|0)>(c[g+20>>2]|0)){d=20;break}c[g+16>>2]=(c[g+24>>2]|0)+(((c[g+20>>2]|0)-(c[g+24>>2]|0)|0)/2|0);c[g+4>>2]=c[(c[(c[g+36>>2]|0)+8>>2]|0)+((c[g+16>>2]|0)*48|0)>>2];c[g>>2]=pmb(c[g+32>>2]|0,c[g+4>>2]|0,c[g+12>>2]|0)|0;do if(!(c[g>>2]|0)){a[g+44>>0]=a[(c[g+4>>2]|0)+(c[g+12>>2]|0)>>0]|0;if(47<(a[g+44>>0]|0)){c[g>>2]=-1;break}if(47>(a[g+44>>0]|0)){c[g>>2]=1;break}if(c[g+28>>2]|0){d=13;break a}b=c[g+16>>2]|0;if(!(a[(c[g+4>>2]|0)+((c[g+12>>2]|0)+1)>>0]|0)){d=15;break a}c[g+8>>2]=b;c[g+20>>2]=(c[g+16>>2]|0)-1}while(0);b=c[g+16>>2]|0;if((c[g>>2]|0)>0){c[g+24>>2]=b+1;continue}else{c[g+20>>2]=b-1;continue}}if((d|0)==13){c[g+40>>2]=c[g+16>>2];f=c[g+40>>2]|0;i=g;return f|0}else if((d|0)==15){c[g+40>>2]=b+1;f=c[g+40>>2]|0;i=g;return f|0}else if((d|0)==20){c[g+40>>2]=c[g+8>>2];f=c[g+40>>2]|0;i=g;return f|0}return 0}function zCa(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;if((c[(c[b>>2]|0)+8>>2]|0)==1)a=1;else if((c[(c[b>>2]|0)+8>>2]|0)==5)a=1;else a=(c[(c[b>>2]|0)+4>>2]|0)!=0;i=b;return a&1|0}function ACa(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+32|0;c[h+20>>2]=b;c[h+16>>2]=d;c[h+12>>2]=e;c[h+8>>2]=f;c[h+4>>2]=g;if(((c[h+4>>2]|0)+1|0)<128){d=i;i=i+((1*((c[h+4>>2]|0)+1+1|0)|0)+15&-16)|0}else d=0;f=(c[h+4>>2]|0)+1|0;c[h>>2]=hAa(d,f,((f|0)<0)<<31>>31)|0;if(!(c[h>>2]|0)){i=h;return}mBb(c[h>>2]|0,c[h+8>>2]|0,c[h+4>>2]|0)|0;a[(c[h>>2]|0)+(c[h+4>>2]|0)>>0]=0;$i[c[h+20>>2]&255](c[h+16>>2]|0,c[h+12>>2]|0,c[h>>2]|0);mAa(c[h>>2]|0);i=h;return}function BCa(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+32|0;c[d+16>>2]=a;c[d+12>>2]=b;c[d+4>>2]=c[d+16>>2];c[d>>2]=CCa(c[d+4>>2]|0,c[d+12>>2]|0,d+8|0)|0;i=d;return (c[d>>2]|0?1:(c[d+8>>2]|0)!=0)&1|0}function CCa(b,d,f){b=b|0;d=d|0;f=f|0;var g=0,h=0;h=i;i=i+48|0;c[h+40>>2]=b;c[h+36>>2]=d;c[h+32>>2]=f;c[h+28>>2]=c[(c[h+40>>2]|0)+8>>2];c[h+24>>2]=rnb(c[h+36>>2]|0)|0;c[h+20>>2]=0;c[h+16>>2]=(e[(c[h+40>>2]|0)+4>>1]|0)-1;c[h+8>>2]=0;while(1){if((c[h+20>>2]|0)>(c[h+16>>2]|0))break;c[h+12>>2]=(c[h+20>>2]|0)+(((c[h+16>>2]|0)-(c[h+20>>2]|0)|0)/2|0);c[h+8>>2]=c[(c[h+28>>2]|0)+((c[h+12>>2]|0)*48|0)>>2];c[h+4>>2]=pmb(c[h+36>>2]|0,c[h+8>>2]|0,c[h+24>>2]|0)|0;if((c[h+4>>2]|0)>0){c[h+20>>2]=(c[h+12>>2]|0)+1;continue}if((c[h+4>>2]|0)>=0){g=7;break}c[h+16>>2]=(c[h+12>>2]|0)-1}a:do if((g|0)==7){if(c[h+32>>2]|0){c[c[h+32>>2]>>2]=(a[(c[h+8>>2]|0)+(c[h+24>>2]|0)>>0]|0)==47&1;if(c[c[h+32>>2]>>2]|0){c[h+44>>2]=0;g=c[h+44>>2]|0;i=h;return g|0}}if(!(a[(c[h+8>>2]|0)+(c[h+24>>2]|0)>>0]|0)){c[h+44>>2]=(c[h+28>>2]|0)+((c[h+12>>2]|0)*48|0);g=c[h+44>>2]|0;i=h;return g|0}c[h>>2]=c[h+20>>2];while(1){if((c[h>>2]|0)>=(c[h+16>>2]|0))break a;c[h+8>>2]=c[(c[h+28>>2]|0)+((c[h>>2]|0)*48|0)>>2];if(!(pmb(c[h+36>>2]|0,c[h+8>>2]|0,c[h+24>>2]|0)|0)){if(c[h+32>>2]|0){c[c[h+32>>2]>>2]=(a[(c[h+8>>2]|0)+(c[h+24>>2]|0)>>0]|0)==47&1;if(c[c[h+32>>2]>>2]|0){g=17;break}}if(!(a[(c[h+8>>2]|0)+(c[h+24>>2]|0)>>0]|0)){g=19;break}}c[h>>2]=(c[h>>2]|0)+1}if((g|0)==17){c[h+44>>2]=0;g=c[h+44>>2]|0;i=h;return g|0}else if((g|0)==19){c[h+44>>2]=(c[h+28>>2]|0)+((c[h>>2]|0)*48|0);g=c[h+44>>2]|0;i=h;return g|0}}while(0);if(c[h+32>>2]|0)c[c[h+32>>2]>>2]=0;Qza(514598);c[h+44>>2]=0;g=c[h+44>>2]|0;i=h;return g|0}function DCa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+48|0;c[e+28>>2]=a;c[e+24>>2]=b;c[e+20>>2]=d;c[e+16>>2]=c[e+28>>2];c[e+8>>2]=CCa(c[e+16>>2]|0,c[e+24>>2]|0,e+12|0)|0;c[c[e+20>>2]>>2]=(c[e+12>>2]|0?1:(c[e+8>>2]|0)!=0)&1;if(c[e+12>>2]|0){c[e+32>>2]=1;a=c[e+32>>2]|0;i=e;return a|0}if(!(c[e+8>>2]|0)){Qza(514598);c[e+32>>2]=0;a=c[e+32>>2]|0;i=e;return a|0}if((c[(c[e+8>>2]|0)+8>>2]|0)==1){c[e>>2]=oBa(c[c[e+16>>2]>>2]|0)|0;if(!(c[e>>2]|0)){Qza(0);c[e+32>>2]=0;a=c[e+32>>2]|0;i=e;return a|0}c[e+4>>2]=ECa(c[e>>2]|0,c[e+16>>2]|0,c[e+8>>2]|0)|0;zBa(c[e>>2]|0)|0;if(!(c[e+4>>2]|0)){c[e+32>>2]=0;a=c[e+32>>2]|0;i=e;return a|0}}if((c[(c[e+8>>2]|0)+8>>2]|0)==5){Qza(0);c[e+32>>2]=0;a=c[e+32>>2]|0;i=e;return a|0}if(!(c[(c[e+8>>2]|0)+4>>2]|0)){Qza(514682);c[e+32>>2]=0;a=c[e+32>>2]|0;i=e;return a|0}else{c[e+32>>2]=(yCa(c[e+16>>2]|0,c[c[(c[e+8>>2]|0)+4>>2]>>2]|0,1)|0)>=0&1;a=c[e+32>>2]|0;i=e;return a|0}return 0}function ECa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+32|0;c[e+16>>2]=a;c[e+12>>2]=b;c[e+8>>2]=d;c[e+4>>2]=1;c[e>>2]=c[(c[e+8>>2]|0)+8>>2];if((c[e>>2]|0)==4){Qza(514580);c[e+20>>2]=0;b=c[e+20>>2]|0;i=e;return b|0}if((c[e>>2]|0)==5){Qza(514580);c[e+20>>2]=0;b=c[e+20>>2]|0;i=e;return b|0}if((c[e>>2]|0)==2){Qza(514613);c[e+20>>2]=0;b=c[e+20>>2]|0;i=e;return b|0}do if((c[e>>2]|0)!=3){c[(c[e+8>>2]|0)+8>>2]=2;c[e+4>>2]=FCa(c[e+16>>2]|0,c[e+8>>2]|0)|0;if((c[e+4>>2]|0)!=0&(c[e>>2]|0)==1)c[e+4>>2]=GCa(c[e+16>>2]|0,c[e+12>>2]|0,c[e+8>>2]|0)|0;if((c[e>>2]|0)==1){c[(c[e+8>>2]|0)+8>>2]=c[e+4>>2]|0?3:5;break}if(!(c[e>>2]|0))c[(c[e+8>>2]|0)+8>>2]=c[e+4>>2]|0?3:4}while(0);c[e+20>>2]=c[e+4>>2];b=c[e+20>>2]|0;i=e;return b|0}function FCa(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+32|0;c[d+8>>2]=a;c[d+4>>2]=b;do if(uBa(c[d+8>>2]|0,c[(c[d+4>>2]|0)+12>>2]|0,0)|0){if(!(iCa(c[d+8>>2]|0,d)|0)){Qza(0);c[d+12>>2]=0;break}if((c[d>>2]|0)!=67324752){Qza(514580);c[d+12>>2]=0;break}if(!(nCa(c[d+8>>2]|0,d+20|0)|0)){Qza(0);c[d+12>>2]=0;break}if((e[d+20>>1]|0|0)!=(e[(c[d+4>>2]|0)+18>>1]|0|0)){Qza(514580);c[d+12>>2]=0;break}if(!(nCa(c[d+8>>2]|0,d+20|0)|0)){Qza(0);c[d+12>>2]=0;break}if(!(nCa(c[d+8>>2]|0,d+20|0)|0)){Qza(0);c[d+12>>2]=0;break}if((e[d+20>>1]|0|0)!=(e[(c[d+4>>2]|0)+20>>1]|0|0)){Qza(514580);c[d+12>>2]=0;break}if(!(iCa(c[d+8>>2]|0,d)|0)){Qza(0);c[d+12>>2]=0;break}if(!(iCa(c[d+8>>2]|0,d)|0)){Qza(0);c[d+12>>2]=0;break}if(c[d>>2]|0)if((c[d>>2]|0)!=(c[(c[d+4>>2]|0)+24>>2]|0)){Qza(514580);c[d+12>>2]=0;break}if(!(iCa(c[d+8>>2]|0,d)|0)){Qza(0);c[d+12>>2]=0;break}if(c[d>>2]|0)if((c[d>>2]|0)!=(c[(c[d+4>>2]|0)+28>>2]|0)){Qza(514580);c[d+12>>2]=0;break}if(!(iCa(c[d+8>>2]|0,d)|0)){Qza(0);c[d+12>>2]=0;break}if(c[d>>2]|0)if((c[d>>2]|0)!=(c[(c[d+4>>2]|0)+32>>2]|0)){Qza(514580);c[d+12>>2]=0;break}if(!(nCa(c[d+8>>2]|0,d+18|0)|0)){Qza(0);c[d+12>>2]=0;break}if(nCa(c[d+8>>2]|0,d+16|0)|0){a=(c[d+4>>2]|0)+12|0;c[a>>2]=(c[a>>2]|0)+((e[d+18>>1]|0)+(e[d+16>>1]|0)+30);c[d+12>>2]=1;break}else{Qza(0);c[d+12>>2]=0;break}}else{Qza(0);c[d+12>>2]=0}while(0);i=d;return c[d+12>>2]|0}function GCa(b,d,f){b=b|0;d=d|0;f=f|0;var g=0;g=i;i=i+96|0;c[g+84>>2]=b;c[g+80>>2]=d;c[g+76>>2]=f;c[g+68>>2]=c[(c[g+76>>2]|0)+32>>2];c[g+64>>2]=0;if(!(uBa(c[g+84>>2]|0,c[(c[g+76>>2]|0)+12>>2]|0,0)|0)){Qza(0);c[g+88>>2]=0;d=c[g+88>>2]|0;i=g;return d|0}c[g+72>>2]=Xi[c[728336>>2]&511]((c[g+68>>2]|0)+1|0,0)|0;if(!(c[g+72>>2]|0)){Qza(593898);c[g+88>>2]=0;d=c[g+88>>2]|0;i=g;return d|0}if(!(e[(c[g+76>>2]|0)+20>>1]|0)){d=sBa(c[g+84>>2]|0,c[g+72>>2]|0,c[g+68>>2]|0,1)|0;c[g+64>>2]=(d|0)==1&(C|0)==0&1}else{c[g+4>>2]=c[(c[g+76>>2]|0)+28>>2];if((c[g+4>>2]|0)>>>0<128){f=i;i=i+((1*((c[g+4>>2]|0)+1|0)|0)+15&-16)|0}else f=0;c[g>>2]=hAa(f,c[g+4>>2]|0,0)|0;if(c[g>>2]|0){d=sBa(c[g+84>>2]|0,c[g>>2]|0,c[g+4>>2]|0,1)|0;if((d|0)==1&(C|0)==0){HCa(g+8|0);c[g+8>>2]=c[g>>2];c[g+8+4>>2]=c[g+4>>2];c[g+8+12>>2]=c[g+72>>2];c[g+8+16>>2]=c[g+68>>2];if(!(KCa(olb(g+8|0,-15,610771,56)|0)|0)){c[g+64>>2]=KCa(qlb(g+8|0,4)|0)|0;slb(g+8|0)|0;c[g+64>>2]=((c[g+64>>2]|0)==0?1:(c[g+64>>2]|0)==1)&1}}mAa(c[g>>2]|0)}}if(c[g+64>>2]|0){a[(c[g+72>>2]|0)+(c[(c[g+76>>2]|0)+32>>2]|0)>>0]=0;tCa(c[g+76>>2]|0,c[g+72>>2]|0);d=MCa(c[g+84>>2]|0,c[g+80>>2]|0,c[g+72>>2]|0)|0;c[(c[g+76>>2]|0)+4>>2]=d}else Hi[c[728344>>2]&1023](c[g+72>>2]|0);c[g+88>>2]=(c[(c[g+76>>2]|0)+4>>2]|0)!=0&1;d=c[g+88>>2]|0;i=g;return d|0}function HCa(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;c[d>>2]=a;a=c[d>>2]|0;b=a+56|0;do{c[a>>2]=0;a=a+4|0}while((a|0)<(b|0));c[(c[d>>2]|0)+32>>2]=126;c[(c[d>>2]|0)+36>>2]=212;c[(c[d>>2]|0)+40>>2]=728328;i=d;return}function ICa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;c[e+8>>2]=a;c[e+4>>2]=b;c[e>>2]=d;d=_(c[e+4>>2]|0,c[e>>2]|0)|0;d=Xi[c[(c[e+8>>2]|0)+8>>2]&511](d,0)|0;i=e;return d|0}function JCa(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d+4>>2]=a;c[d>>2]=b;Hi[c[(c[d+4>>2]|0)+16>>2]&1023](c[d>>2]|0);i=d;return}function KCa(a){a=a|0;var b=0;b=i;i=i+16|0;c[b+4>>2]=a;c[b>>2]=LCa(c[b+4>>2]|0)|0;if(!(c[b>>2]|0)){a=c[b+4>>2]|0;i=b;return a|0}Qza(c[b>>2]|0);a=c[b+4>>2]|0;i=b;return a|0}function LCa(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;switch(c[b>>2]|0){case 0:{c[b+4>>2]=0;break}case 1:{c[b+4>>2]=0;break}case -1:{c[b+4>>2]=Bmb(c[(Mlb()|0)>>2]|0)|0;break}case 2:{c[b+4>>2]=610777;break}case -3:{c[b+4>>2]=610828;break}case -4:{c[b+4>>2]=514641;break}case -5:{c[b+4>>2]=610859;break}case -6:{c[b+4>>2]=514654;break}default:c[b+4>>2]=514668}i=b;return c[b+4>>2]|0}function MCa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;c[e+12>>2]=a;c[e+8>>2]=b;c[e+4>>2]=d;NCa(c[e+4>>2]|0);c[e>>2]=CCa(c[e+8>>2]|0,c[e+4>>2]|0,0)|0;do if(c[e>>2]|0){if(!(ECa(c[e+12>>2]|0,c[e+8>>2]|0,c[e>>2]|0)|0)){c[e>>2]=0;break}if(c[(c[e>>2]|0)+4>>2]|0)c[e>>2]=c[(c[e>>2]|0)+4>>2]}while(0);Hi[c[728344>>2]&1023](c[e+4>>2]|0);i=e;return c[e>>2]|0}function NCa(b){b=b|0;var d=0,e=0;e=i;i=i+16|0;c[e+8>>2]=b;c[e+4>>2]=c[e+8>>2];c[e>>2]=c[e+8>>2];while(1){c[e+4>>2]=Unb(c[e+4>>2]|0,47)|0;if(!(c[e+4>>2]|0))break;b=c[e+4>>2]|0;if((a[(c[e+4>>2]|0)+1>>0]|0)!=46){c[e>>2]=b;c[e+4>>2]=(c[e+4>>2]|0)+1;continue}d=c[e+4>>2]|0;if((a[b+2>>0]|0)==47){b=(c[e+4>>2]|0)+2|0;nBb(d|0,b|0,(rnb((c[e+4>>2]|0)+2|0)|0)+1|0)|0;continue}b=c[e+4>>2]|0;if(!(a[d+2>>0]|0)){a[b>>0]=0;continue}if((a[b+2>>0]|0)!=46)continue;a:do if((a[(c[e+4>>2]|0)+3>>0]|0)==47){b=c[e>>2]|0;d=(c[e+4>>2]|0)+4|0;nBb(b|0,d|0,(rnb((c[e+4>>2]|0)+4|0)|0)+1|0)|0;c[e+4>>2]=c[e>>2];do{if((c[e>>2]|0)==(c[e+8>>2]|0))break a;c[e>>2]=(c[e>>2]|0)+-1}while((a[c[e>>2]>>0]|0)!=47);c[e>>2]=(c[e>>2]|0)+1}while(0);if(a[(c[e+4>>2]|0)+3>>0]|0)continue;a[c[e>>2]>>0]=0}i=e;return}function OCa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+32|0;c[e+16>>2]=a;c[e+12>>2]=b;c[e+8>>2]=d;c[e>>2]=CCa(c[e+16>>2]|0,c[e+12>>2]|0,e+4|0)|0;c[c[e+8>>2]>>2]=(c[e+4>>2]|0?1:(c[e>>2]|0)!=0)&1;if(!(c[e>>2]|0)){Qza(0);c[e+20>>2]=0;a=c[e+20>>2]|0;i=e;return a|0}else{c[e+20>>2]=zCa(c[e>>2]|0)|0;a=c[e+20>>2]|0;i=e;return a|0}return 0}function PCa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+32|0;c[e+28>>2]=a;c[e+24>>2]=b;c[e+20>>2]=d;c[e+12>>2]=c[e+28>>2];c[e+8>>2]=CCa(c[e+12>>2]|0,c[e+24>>2]|0,e+16|0)|0;c[c[e+20>>2]>>2]=(c[e+16>>2]|0?1:(c[e+8>>2]|0)!=0)&1;do if(c[e+16>>2]|0){c[e>>2]=1;c[e+4>>2]=0}else if(!(c[e+8>>2]|0)){Qza(0);c[e>>2]=-1;c[e+4>>2]=-1;break}else{b=(c[e+8>>2]|0)+40|0;a=c[b+4>>2]|0;c[e>>2]=c[b>>2];c[e+4>>2]=a;break}while(0);C=c[e+4>>2]|0;i=e;return c[e>>2]|0}function QCa(a,b,d){a=a|0;b=b|0;d=d|0;var f=0;f=i;i=i+32|0;c[f+24>>2]=a;c[f+20>>2]=b;c[f+16>>2]=d;c[f+12>>2]=c[f+24>>2];c[f+8>>2]=CCa(c[f+12>>2]|0,c[f+20>>2]|0,0)|0;c[f+4>>2]=0;c[c[f+16>>2]>>2]=(c[f+8>>2]|0)!=0&1;if(!(c[f+8>>2]|0)){Qza(0);c[f+28>>2]=0;a=c[f+28>>2]|0;i=f;return a|0}c[f>>2]=RCa(c[c[f+12>>2]>>2]|0,c[f+12>>2]|0,c[f+8>>2]|0)|0;if(!(c[f>>2]|0)){Qza(0);c[f+28>>2]=0;a=c[f+28>>2]|0;i=f;return a|0}c[f+4>>2]=Xi[c[728336>>2]&511](76,0)|0;if(!(c[f+4>>2]|0)){zBa(c[f>>2]|0)|0;Qza(593898);c[f+28>>2]=0;a=c[f+28>>2]|0;i=f;return a|0}d=c[f+4>>2]|0;b=d+76|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(b|0));c[(c[f+4>>2]|0)+4>>2]=c[f>>2];d=c[f+8>>2]|0;if(c[(c[f+8>>2]|0)+4>>2]|0)d=c[d+4>>2]|0;c[c[f+4>>2]>>2]=d;HCa((c[f+4>>2]|0)+20|0);if(e[(c[c[f+4>>2]>>2]|0)+20>>1]|0|0){if(KCa(olb((c[f+4>>2]|0)+20|0,-15,610771,56)|0)|0){SCa(c[f+4>>2]|0)|0;c[f+28>>2]=0;a=c[f+28>>2]|0;i=f;return a|0}a=Xi[c[728336>>2]&511](16384,0)|0;c[(c[f+4>>2]|0)+16>>2]=a;if(!(c[(c[f+4>>2]|0)+16>>2]|0)){SCa(c[f+4>>2]|0)|0;Qza(593898);c[f+28>>2]=0;a=c[f+28>>2]|0;i=f;return a|0}}c[f+28>>2]=c[f+4>>2];a=c[f+28>>2]|0;i=f;return a|0}function RCa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+32|0;c[e+24>>2]=a;c[e+20>>2]=b;c[e+16>>2]=d;c[e+8>>2]=oBa(c[e+24>>2]|0)|0;if(!(c[e+8>>2]|0)){Qza(0);c[e+28>>2]=0;b=c[e+28>>2]|0;i=e;return b|0}c[e+12>>2]=ECa(c[e+8>>2]|0,c[e+20>>2]|0,c[e+16>>2]|0)|0;if(c[e+12>>2]|0){d=c[e+16>>2]|0;if(c[(c[e+16>>2]|0)+4>>2]|0)d=c[(c[d+4>>2]|0)+12>>2]|0;else d=c[d+12>>2]|0;c[e>>2]=d;c[e+4>>2]=0;c[e+12>>2]=uBa(c[e+8>>2]|0,c[e>>2]|0,c[e+4>>2]|0)|0}if(!(c[e+12>>2]|0)){zBa(c[e+8>>2]|0)|0;c[e+8>>2]=0}c[e+28>>2]=c[e+8>>2];b=c[e+28>>2]|0;i=e;return b|0}function SCa(a){a=a|0;var b=0;b=i;i=i+16|0;c[b+4>>2]=a;c[b>>2]=c[b+4>>2];if(!(zBa(c[(c[b>>2]|0)+4>>2]|0)|0)){Qza(0);c[b+8>>2]=0;a=c[b+8>>2]|0;i=b;return a|0}if(e[(c[c[b>>2]>>2]|0)+20>>1]|0|0)slb((c[b>>2]|0)+20|0)|0;if(c[(c[b>>2]|0)+16>>2]|0)Hi[c[728344>>2]&1023](c[(c[b>>2]|0)+16>>2]|0);Hi[c[728344>>2]&1023](c[b>>2]|0);c[b+8>>2]=1;a=c[b+8>>2]|0;i=b;return a|0}function TCa(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d+4>>2]=a;c[d>>2]=b;Qza(514698);i=d;return 0}function UCa(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d+4>>2]=a;c[d>>2]=b;Qza(514698);i=d;return 0}function VCa(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d+4>>2]=a;c[d>>2]=b;Qza(514698);i=d;return 0}function WCa(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d+4>>2]=a;c[d>>2]=b;Qza(514698);i=d;return 0}function XCa(a){a=a|0;var b=0;b=i;i=i+16|0;c[b+4>>2]=a;c[b>>2]=c[b+4>>2];uCa(c[(c[b>>2]|0)+8>>2]|0,e[(c[b>>2]|0)+4>>1]|0);Hi[c[728344>>2]&1023](c[c[b>>2]>>2]|0);Hi[c[728344>>2]&1023](c[b>>2]|0);i=b;return}function YCa(a,b,d,f){a=a|0;b=b|0;d=d|0;f=f|0;var g=0;g=i;i=i+80|0;c[g+68>>2]=a;c[g+64>>2]=b;c[g+60>>2]=d;c[g+56>>2]=f;c[g+52>>2]=c[g+68>>2];c[g+48>>2]=c[c[g+52>>2]>>2];c[g+24>>2]=0;c[g+24+4>>2]=0;a=wBb(c[g+60>>2]|0,0,c[g+56>>2]|0,0)|0;c[g+16>>2]=a;c[g+16+4>>2]=C;c[g+8>>2]=(c[(c[g+48>>2]|0)+32>>2]|0)-(c[(c[g+52>>2]|0)+12>>2]|0);c[g+8+4>>2]=0;if((c[g+16>>2]|0)==0?(c[g+16+4>>2]|0)==0:0){Qza(0);c[g+32>>2]=0;c[g+32+4>>2]=0;d=g+32|0;a=d;a=c[a>>2]|0;d=d+4|0;d=c[d>>2]|0;C=d;i=g;return a|0}d=c[g+8+4>>2]|0;a=c[g+16+4>>2]|0;if((d|0)<(a|0)|((d|0)==(a|0)?(c[g+8>>2]|0)>>>0<(c[g+16>>2]|0)>>>0:0)){f=c[g+8>>2]|0;d=c[g+8+4>>2]|0;a=vBb(c[g+8>>2]|0,c[g+8+4>>2]|0,c[g+60>>2]|0,0)|0;a=qBb(f|0,d|0,a|0,C|0)|0;c[g+16>>2]=a;c[g+16+4>>2]=C;a=uBb(c[g+16>>2]|0,c[g+16+4>>2]|0,c[g+60>>2]|0,0)|0;c[g+56>>2]=a;a=(c[g+56>>2]|0)==0;Qza(514722);if(a){c[g+32>>2]=0;c[g+32+4>>2]=0;d=g+32|0;a=d;a=c[a>>2]|0;d=d+4|0;d=c[d>>2]|0;C=d;i=g;return a|0}}if(!(e[(c[g+48>>2]|0)+20>>1]|0)){a=sBa(c[(c[g+52>>2]|0)+4>>2]|0,c[g+64>>2]|0,c[g+60>>2]|0,c[g+56>>2]|0)|0;c[g+24>>2]=a;c[g+24+4>>2]=C}else{c[(c[g+52>>2]|0)+20+12>>2]=c[g+64>>2];a=_(c[g+60>>2]|0,c[g+56>>2]|0)|0;c[(c[g+52>>2]|0)+20+16>>2]=a;do{d=c[g+24+4>>2]|0;a=c[g+16+4>>2]|0;if(!((d|0)<(a|0)|((d|0)==(a|0)?(c[g+24>>2]|0)>>>0<(c[g+16>>2]|0)>>>0:0)))break;c[g+44>>2]=c[(c[g+52>>2]|0)+20+20>>2];if(!(c[(c[g+52>>2]|0)+20+4>>2]|0)){c[g>>2]=(c[(c[g+48>>2]|0)+28>>2]|0)-(c[(c[g+52>>2]|0)+8>>2]|0);c[g+4>>2]=0;a=c[g+4>>2]|0;if((a|0)>0|(a|0)==0&(c[g>>2]|0)>>>0>0){a=c[g+4>>2]|0;if((a|0)>0|(a|0)==0&(c[g>>2]|0)>>>0>16384){c[g>>2]=16384;c[g+4>>2]=0}a=sBa(c[(c[g+52>>2]|0)+4>>2]|0,c[(c[g+52>>2]|0)+16>>2]|0,1,c[g>>2]|0)|0;c[g>>2]=a;c[g+4>>2]=C;a=c[g+4>>2]|0;if((a|0)<0|(a|0)==0&(c[g>>2]|0)>>>0<=0)break;a=(c[g+52>>2]|0)+8|0;c[a>>2]=(c[a>>2]|0)+(c[g>>2]|0);c[(c[g+52>>2]|0)+20>>2]=c[(c[g+52>>2]|0)+16>>2];c[(c[g+52>>2]|0)+20+4>>2]=c[g>>2]}}c[g+40>>2]=KCa(qlb((c[g+52>>2]|0)+20|0,2)|0)|0;a=jBb(c[g+24>>2]|0,c[g+24+4>>2]|0,(c[(c[g+52>>2]|0)+20+20>>2]|0)-(c[g+44>>2]|0)|0,0)|0;c[g+24>>2]=a;c[g+24+4>>2]=C}while(!(c[g+40>>2]|0));a=uBb(c[g+24>>2]|0,c[g+24+4>>2]|0,c[g+60>>2]|0,0)|0;c[g+24>>2]=a;c[g+24+4>>2]=C}a=c[g+24+4>>2]|0;if((a|0)>0|(a|0)==0&(c[g+24>>2]|0)>>>0>0){d=wBb(c[g+24>>2]|0,c[g+24+4>>2]|0,c[g+60>>2]|0,0)|0;a=(c[g+52>>2]|0)+12|0;c[a>>2]=(c[a>>2]|0)+d}d=c[g+24+4>>2]|0;c[g+32>>2]=c[g+24>>2];c[g+32+4>>2]=d;d=g+32|0;a=d;a=c[a>>2]|0;d=d+4|0;d=c[d>>2]|0;C=d;i=g;return a|0}function ZCa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+16|0;c[f+12>>2]=a;c[f+8>>2]=b;c[f+4>>2]=d;c[f>>2]=e;Qza(514698);C=-1;i=f;return -1}function _Ca(a){a=a|0;var b=0;b=i;i=i+16|0;c[b+4>>2]=a;c[b>>2]=c[b+4>>2];i=b;return (c[(c[b>>2]|0)+12>>2]|0)>>>0>=(c[(c[c[b>>2]>>2]|0)+32>>2]|0)>>>0|0}function $Ca(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;C=0;i=b;return c[(c[b>>2]|0)+12>>2]|0}function aDa(a,b,d){a=a|0;b=b|0;d=d|0;var f=0;f=i;i=i+624|0;c[f+92>>2]=a;c[f+8>>2]=b;c[f+8+4>>2]=d;c[f+88>>2]=c[f+92>>2];c[f+84>>2]=c[c[f+88>>2]>>2];c[f+80>>2]=c[(c[f+88>>2]|0)+4>>2];a=c[f+8+4>>2]|0;if(a>>>0>0|((a|0)==0?(c[f+8>>2]|0)>>>0>(c[(c[f+84>>2]|0)+32>>2]|0)>>>0:0)){Qza(514722);c[f+96>>2]=0;a=c[f+96>>2]|0;i=f;return a|0}b=c[f+8>>2]|0;d=c[f+8+4>>2]|0;a:do if(!(e[(c[f+84>>2]|0)+20>>1]|0)){a=jBb(b|0,d|0,c[(c[f+84>>2]|0)+12>>2]|0,0)|0;c[f>>2]=a;c[f+4>>2]=C;if(uBa(c[f+80>>2]|0,c[f>>2]|0,c[f+4>>2]|0)|0){c[(c[f+88>>2]|0)+12>>2]=c[f+8>>2];break}Qza(0);c[f+96>>2]=0;a=c[f+96>>2]|0;i=f;return a|0}else{do if(d>>>0<0|((d|0)==0?b>>>0<(c[(c[f+88>>2]|0)+12>>2]|0)>>>0:0)){HCa(f+24|0);if(KCa(olb(f+24|0,-15,610771,56)|0)|0){c[f+96>>2]=0;a=c[f+96>>2]|0;i=f;return a|0}if(uBa(c[f+80>>2]|0,c[(c[f+84>>2]|0)+12>>2]|0,0)|0){slb((c[f+88>>2]|0)+20|0)|0;b=(c[f+88>>2]|0)+20|0;d=f+24|0;a=b+56|0;do{c[b>>2]=c[d>>2];b=b+4|0;d=d+4|0}while((b|0)<(a|0));c[(c[f+88>>2]|0)+8>>2]=0;c[(c[f+88>>2]|0)+12>>2]=0;break}c[f+96>>2]=0;a=c[f+96>>2]|0;i=f;return a|0}while(0);do{if(!(0!=(c[f+8+4>>2]|0)?1:(c[(c[f+88>>2]|0)+12>>2]|0)!=(c[f+8>>2]|0)))break a;a=qBb(c[f+8>>2]|0,c[f+8+4>>2]|0,c[(c[f+88>>2]|0)+12>>2]|0,0)|0;c[f+16>>2]=a;c[f+16>>2]=(c[f+16>>2]|0)>>>0>512?512:a;a=YCa(c[f+88>>2]|0,f+104|0,c[f+16>>2]|0,1)|0}while(!((a|0)!=1|(C|0)!=0));c[f+96>>2]=0;a=c[f+96>>2]|0;i=f;return a|0}while(0);c[f+96>>2]=1;a=c[f+96>>2]|0;i=f;return a|0}function bDa(a){a=a|0;var b=0;b=i;i=i+16|0;c[b+4>>2]=a;c[b>>2]=c[b+4>>2];C=0;i=b;return c[(c[c[b>>2]>>2]|0)+32>>2]|0}function cDa(a){a=a|0;var c=0;c=i;i=i+16|0;b[c>>1]=a;i=c;return b[c>>1]|0}function dDa(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;i=b;return c[b>>2]|0}function eDa(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[a+8>>2]|0;e=c[b+4>>2]|0;c[d>>2]=c[b>>2];c[d+4>>2]=e;c[d+8>>2]=c[b+8>>2];c[a+8>>2]=(c[a+8>>2]|0)+16;return}function fDa(a,b){a=a|0;b=b|0;var d=0;if((b|0)>8e3){b=0;return b|0}d=c[a+8>>2]|0;if(((d-(c[a+12>>2]|0)>>4)+b|0)>8e3){b=0;return b|0}if((b|0)<=0){b=1;return b|0}if(((c[a+28>>2]|0)-d|0)<=(b<<4|0)){LEa(a,b);d=c[a+8>>2]|0}a=(c[a+20>>2]|0)+8|0;d=d+(b<<4)|0;if((c[a>>2]|0)>>>0>=d>>>0){b=1;return b|0}c[a>>2]=d;b=1;return b|0}function gDa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;if((a|0)==(b|0))return;e=c[a+8>>2]|0;c[a+8>>2]=e+(0-d<<4);if((d|0)<=0)return;f=c[b+8>>2]|0;c[b+8>>2]=f+16;g=c[e+(0-d<<4)+4>>2]|0;c[f>>2]=c[e+(0-d<<4)>>2];c[f+4>>2]=g;c[f+8>>2]=c[e+(0-d<<4)+8>>2];if((d|0)==1)return;else e=1;do{f=c[a+8>>2]|0;g=c[b+8>>2]|0;c[b+8>>2]=g+16;i=f+(e<<4)|0;h=c[i+4>>2]|0;c[g>>2]=c[i>>2];c[g+4>>2]=h;c[g+8>>2]=c[f+(e<<4)+8>>2];e=e+1|0}while((e|0)!=(d|0));return}function hDa(a,c){a=a|0;c=c|0;b[c+52>>1]=b[a+52>>1]|0;return}function iDa(a,b){a=a|0;b=b|0;var d=0;d=(c[a+16>>2]|0)+88|0;a=c[d>>2]|0;c[d>>2]=b;return a|0}function jDa(a){a=a|0;var b=0,d=0;b=c[a+16>>2]|0;if((c[b+68>>2]|0)>>>0>=(c[b+64>>2]|0)>>>0)lFa(a);b=_Fa(a)|0;d=c[a+8>>2]|0;c[d>>2]=b;c[d+8>>2]=8;c[a+8>>2]=(c[a+8>>2]|0)+16;return b|0}function kDa(a){a=a|0;return (c[a+8>>2]|0)-(c[a+12>>2]|0)>>4|0}function lDa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if((b|0)<=-1){c[a+8>>2]=(c[a+8>>2]|0)+(b+1<<4);return}f=c[a+8>>2]|0;e=(c[a+12>>2]|0)+(b<<4)|0;if(f>>>0>>0){b=(((e>>>0>(f+16|0)>>>0?e:f+16|0)+~f|0)>>>4)+1|0;d=f;do{c[d+8>>2]=0;d=d+16|0}while(d>>>0>>0);c[a+8>>2]=f+(b<<4)}c[a+8>>2]=e;return}function mDa(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0;a:do if((b|0)>0){b=(c[a+12>>2]|0)+(b+-1<<4)|0;b=b>>>0<(c[a+8>>2]|0)>>>0?b:621184}else{if((b|0)>-1e4){b=(c[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{b=(c[a+16>>2]|0)+96|0;break a}case -10001:{c[a+88>>2]=c[(c[c[(c[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];c[a+96>>2]=5;b=a+88|0;break a}case -10002:{b=a+72|0;break a}default:{f=c[c[(c[a+20>>2]|0)+4>>2]>>2]|0;b=(-10002-b|0)>(d[f+7>>0]|0|0)?621184:f+24+(-10002-b+-1<<4)|0;break a}}}while(0);e=b+16|0;f=c[a+8>>2]|0;if(e>>>0>=f>>>0){f=f+-16|0;c[a+8>>2]=f;return}while(1){h=e;g=c[h+4>>2]|0;f=b;c[f>>2]=c[h>>2];c[f+4>>2]=g;c[b+8>>2]=c[b+24>>2];f=e+16|0;b=c[a+8>>2]|0;if(f>>>0>>0){b=e;e=f}else break}h=b+-16|0;c[a+8>>2]=h;return}function nDa(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0;a:do if((b|0)>0){e=(c[a+12>>2]|0)+(b+-1<<4)|0;e=e>>>0<(c[a+8>>2]|0)>>>0?e:621184}else{if((b|0)>-1e4){e=(c[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{e=(c[a+16>>2]|0)+96|0;break a}case -10001:{c[a+88>>2]=c[(c[c[(c[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];c[a+96>>2]=5;e=a+88|0;break a}case -10002:{e=a+72|0;break a}default:{e=c[c[(c[a+20>>2]|0)+4>>2]>>2]|0;e=(-10002-b|0)>(d[e+7>>0]|0|0)?621184:e+24+(-10002-b+-1<<4)|0;break a}}}while(0);b=c[a+8>>2]|0;if(b>>>0<=e>>>0){f=b;h=f;h=c[h>>2]|0;f=f+4|0;f=c[f>>2]|0;a=e;g=a;c[g>>2]=h;a=a+4|0;c[a>>2]=f;b=b+8|0;b=c[b>>2]|0;a=e+8|0;c[a>>2]=b;return}do{h=b;b=b+-16|0;f=b;g=c[f+4>>2]|0;c[h>>2]=c[f>>2];c[h+4>>2]=g;c[h+8>>2]=c[h+-8>>2]}while(b>>>0>e>>>0);g=c[a+8>>2]|0;f=g;b=f;b=c[b>>2]|0;f=f+4|0;f=c[f>>2]|0;h=e;a=h;c[a>>2]=b;h=h+4|0;c[h>>2]=f;g=g+8|0;g=c[g>>2]|0;h=e+8|0;c[h>>2]=g;return}function oDa(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0;h=i;i=i+16|0;a:do if((e|0)==-10001)if((c[b+20>>2]|0)==(c[b+40>>2]|0)){CEa(b,514739,h);f=b+20|0;g=13}else{f=b+20|0;g=13}else{b:do if((e|0)>0){f=(c[b+12>>2]|0)+(e+-1<<4)|0;f=f>>>0<(c[b+8>>2]|0)>>>0?f:621184}else{if((e|0)>-1e4){f=(c[b+8>>2]|0)+(e<<4)|0;break}switch(e|0){case -1e4:{f=(c[b+16>>2]|0)+96|0;break b}case -10001:{f=b+20|0;g=13;break a}case -10002:{f=b+72|0;break b}default:{f=c[c[(c[b+20>>2]|0)+4>>2]>>2]|0;f=(-10002-e|0)>(d[f+7>>0]|0|0)?621184:f+24+(-10002-e+-1<<4)|0;break b}}}while(0);j=c[b+8>>2]|0;l=c[j+-16+4>>2]|0;k=f;c[k>>2]=c[j+-16>>2];c[k+4>>2]=l;c[f+8>>2]=c[j+-8>>2];if((e|0)<-10002){f=c[b+8>>2]|0;if((c[f+-8>>2]|0)>3){f=c[f+-16>>2]|0;if(!(a[f+5>>0]&3))f=b+8|0;else{e=c[c[(c[b+20>>2]|0)+4>>2]>>2]|0;if(!(a[e+5>>0]&4))f=b+8|0;else{sFa(b,e,f);f=b+8|0}}}else f=b+8|0}else f=b+8|0}while(0);if((g|0)==13){e=(c[f>>2]|0)+4|0;c[b+88>>2]=c[(c[c[e>>2]>>2]|0)+12>>2];c[b+96>>2]=5;e=c[c[e>>2]>>2]|0;f=c[b+8>>2]|0;c[e+12>>2]=c[f+-16>>2];if((c[f+-8>>2]|0)>3){f=c[f+-16>>2]|0;if(!(a[f+5>>0]&3))f=b+8|0;else if(!(a[e+5>>0]&4))f=b+8|0;else{sFa(b,e,f);f=b+8|0}}else f=b+8|0}c[f>>2]=(c[f>>2]|0)+-16;i=h;return}function pDa(a,b){a=a|0;b=b|0;var e=0,f=0,g=0;a:do if((b|0)>0){b=(c[a+12>>2]|0)+(b+-1<<4)|0;b=b>>>0<(c[a+8>>2]|0)>>>0?b:621184}else{if((b|0)>-1e4){b=(c[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{b=(c[a+16>>2]|0)+96|0;break a}case -10001:{c[a+88>>2]=c[(c[c[(c[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];c[a+96>>2]=5;b=a+88|0;break a}case -10002:{b=a+72|0;break a}default:{e=c[c[(c[a+20>>2]|0)+4>>2]>>2]|0;b=(-10002-b|0)>(d[e+7>>0]|0|0)?621184:e+24+(-10002-b+-1<<4)|0;break a}}}while(0);e=c[a+8>>2]|0;g=b;f=c[g+4>>2]|0;c[e>>2]=c[g>>2];c[e+4>>2]=f;c[e+8>>2]=c[b+8>>2];c[a+8>>2]=(c[a+8>>2]|0)+16;return}function qDa(a,b){a=a|0;b=b|0;var e=0;a:do if((b|0)>0){e=(c[a+12>>2]|0)+(b+-1<<4)|0;if(e>>>0>=(c[a+8>>2]|0)>>>0){b=-1;return b|0}}else{if((b|0)>-1e4){e=(c[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{e=(c[a+16>>2]|0)+96|0;break a}case -10001:{c[a+88>>2]=c[(c[c[(c[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];c[a+96>>2]=5;e=a+88|0;break a}case -10002:{e=a+72|0;break a}default:{e=c[c[(c[a+20>>2]|0)+4>>2]>>2]|0;if((-10002-b|0)>(d[e+7>>0]|0|0))e=-1;else{e=e+24+(-10002-b+-1<<4)|0;break a}return e|0}}}while(0);if((e|0)==621184){b=-1;return b|0}b=c[e+8>>2]|0;return b|0}function rDa(a,b){a=a|0;b=b|0;if((b|0)==-1){b=519991;return b|0}b=c[37412+(b<<2)>>2]|0;return b|0}function sDa(b,e){b=b|0;e=e|0;a:do if((e|0)>0){e=(c[b+12>>2]|0)+(e+-1<<4)|0;b=e>>>0<(c[b+8>>2]|0)>>>0?e:621184}else{if((e|0)>-1e4){b=(c[b+8>>2]|0)+(e<<4)|0;break}switch(e|0){case -1e4:{b=(c[b+16>>2]|0)+96|0;break a}case -10001:{c[b+88>>2]=c[(c[c[(c[b+20>>2]|0)+4>>2]>>2]|0)+12>>2];c[b+96>>2]=5;b=b+88|0;break a}case -10002:{b=b+72|0;break a}default:{b=c[c[(c[b+20>>2]|0)+4>>2]>>2]|0;b=(-10002-e|0)>(d[b+7>>0]|0)?621184:b+24+(-10002-e+-1<<4)|0;break a}}}while(0);if((c[b+8>>2]|0)!=6){e=0;e=e&1;return e|0}e=(a[(c[b>>2]|0)+6>>0]|0)!=0;e=e&1;return e|0}function tDa(a,b){a=a|0;b=b|0;var e=0;e=i;i=i+16|0;a:do if((b|0)>0){b=(c[a+12>>2]|0)+(b+-1<<4)|0;a=b>>>0<(c[a+8>>2]|0)>>>0?b:621184}else{if((b|0)>-1e4){a=(c[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{a=(c[a+16>>2]|0)+96|0;break a}case -10001:{c[a+88>>2]=c[(c[c[(c[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];c[a+96>>2]=5;a=a+88|0;break a}case -10002:{a=a+72|0;break a}default:{a=c[c[(c[a+20>>2]|0)+4>>2]>>2]|0;a=(-10002-b|0)>(d[a+7>>0]|0|0)?621184:a+24+(-10002-b+-1<<4)|0;break a}}}while(0);if((c[a+8>>2]|0)==3){b=1;b=b&1;i=e;return b|0}b=(BGa(a,e)|0)!=0;b=b&1;i=e;return b|0}function uDa(a,b){a=a|0;b=b|0;var e=0;a:do if((b|0)>0){e=(c[a+12>>2]|0)+(b+-1<<4)|0;if(e>>>0>=(c[a+8>>2]|0)>>>0){b=0;b=b&1;return b|0}}else{if((b|0)>-1e4){e=(c[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{e=(c[a+16>>2]|0)+96|0;break a}case -10001:{c[a+88>>2]=c[(c[c[(c[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];c[a+96>>2]=5;e=a+88|0;break a}case -10002:{e=a+72|0;break a}default:{e=c[c[(c[a+20>>2]|0)+4>>2]>>2]|0;if((-10002-b|0)>(d[e+7>>0]|0|0))e=0;else{e=e+24+(-10002-b+-1<<4)|0;break a}b=e&1;return b|0}}}while(0);if((e|0)==621184){b=0;b=b&1;return b|0}b=((c[e+8>>2]|0)+-3|0)>>>0<2;b=b&1;return b|0}function vDa(a,b){a=a|0;b=b|0;a:do if((b|0)>0){b=(c[a+12>>2]|0)+(b+-1<<4)|0;a=b>>>0<(c[a+8>>2]|0)>>>0?b:621184}else{if((b|0)>-1e4){a=(c[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{a=(c[a+16>>2]|0)+96|0;break a}case -10001:{c[a+88>>2]=c[(c[c[(c[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];c[a+96>>2]=5;a=a+88|0;break a}case -10002:{a=a+72|0;break a}default:{a=c[c[(c[a+20>>2]|0)+4>>2]>>2]|0;a=(-10002-b|0)>(d[a+7>>0]|0|0)?621184:a+24+(-10002-b+-1<<4)|0;break a}}}while(0);b=c[a+8>>2]|0;return ((b|0)==7|(b|0)==2)&1|0}function wDa(a,b,e){a=a|0;b=b|0;e=e|0;var f=0;a:do if((b|0)>0){f=(c[a+12>>2]|0)+(b+-1<<4)|0;f=f>>>0<(c[a+8>>2]|0)>>>0?f:621184}else{if((b|0)>-1e4){f=(c[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{f=(c[a+16>>2]|0)+96|0;break a}case -10001:{c[a+88>>2]=c[(c[c[(c[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];c[a+96>>2]=5;f=a+88|0;break a}case -10002:{f=a+72|0;break a}default:{f=c[c[(c[a+20>>2]|0)+4>>2]>>2]|0;f=(-10002-b|0)>(d[f+7>>0]|0|0)?621184:f+24+(-10002-b+-1<<4)|0;break a}}}while(0);b:do if((e|0)>0){b=(c[a+12>>2]|0)+(e+-1<<4)|0;b=b>>>0<(c[a+8>>2]|0)>>>0?b:621184}else{if((e|0)>-1e4){b=(c[a+8>>2]|0)+(e<<4)|0;break}switch(e|0){case -1e4:{b=(c[a+16>>2]|0)+96|0;break b}case -10001:{c[a+88>>2]=c[(c[c[(c[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];c[a+96>>2]=5;b=a+88|0;break b}case -10002:{b=a+72|0;break b}default:{b=c[c[(c[a+20>>2]|0)+4>>2]>>2]|0;b=(-10002-e|0)>(d[b+7>>0]|0|0)?621184:b+24+(-10002-e+-1<<4)|0;break b}}}while(0);if((f|0)==621184|(b|0)==621184){e=0;return e|0}e=CFa(f,b)|0;return e|0}function xDa(a,b,e){a=a|0;b=b|0;e=e|0;var f=0;a:do if((b|0)>0){f=(c[a+12>>2]|0)+(b+-1<<4)|0;f=f>>>0<(c[a+8>>2]|0)>>>0?f:621184}else{if((b|0)>-1e4){f=(c[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{f=(c[a+16>>2]|0)+96|0;break a}case -10001:{c[a+88>>2]=c[(c[c[(c[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];c[a+96>>2]=5;f=a+88|0;break a}case -10002:{f=a+72|0;break a}default:{f=c[c[(c[a+20>>2]|0)+4>>2]>>2]|0;f=(-10002-b|0)>(d[f+7>>0]|0|0)?621184:f+24+(-10002-b+-1<<4)|0;break a}}}while(0);b:do if((e|0)>0){b=(c[a+12>>2]|0)+(e+-1<<4)|0;b=b>>>0<(c[a+8>>2]|0)>>>0?b:621184}else{if((e|0)>-1e4){b=(c[a+8>>2]|0)+(e<<4)|0;break}switch(e|0){case -1e4:{b=(c[a+16>>2]|0)+96|0;break b}case -10001:{c[a+88>>2]=c[(c[c[(c[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];c[a+96>>2]=5;b=a+88|0;break b}case -10002:{b=a+72|0;break b}default:{b=c[c[(c[a+20>>2]|0)+4>>2]>>2]|0;b=(-10002-e|0)>(d[b+7>>0]|0|0)?621184:b+24+(-10002-e+-1<<4)|0;break b}}}while(0);if((f|0)==621184|(b|0)==621184){a=0;return a|0}a=FGa(a,f,b)|0;return a|0}function yDa(a,b){a=a|0;b=b|0;var e=0,f=0.0;e=i;i=i+16|0;a:do if((b|0)>0){b=(c[a+12>>2]|0)+(b+-1<<4)|0;a=b>>>0<(c[a+8>>2]|0)>>>0?b:621184}else{if((b|0)>-1e4){a=(c[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{a=(c[a+16>>2]|0)+96|0;break a}case -10001:{c[a+88>>2]=c[(c[c[(c[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];c[a+96>>2]=5;a=a+88|0;break a}case -10002:{a=a+72|0;break a}default:{a=c[c[(c[a+20>>2]|0)+4>>2]>>2]|0;a=(-10002-b|0)>(d[a+7>>0]|0|0)?621184:a+24+(-10002-b+-1<<4)|0;break a}}}while(0);if((c[a+8>>2]|0)!=3){a=BGa(a,e)|0;if(!a){f=0.0;i=e;return +f}}f=+h[a>>3];i=e;return +f}function zDa(a,b){a=a|0;b=b|0;var e=0;e=i;i=i+16|0;a:do if((b|0)>0){b=(c[a+12>>2]|0)+(b+-1<<4)|0;a=b>>>0<(c[a+8>>2]|0)>>>0?b:621184}else{if((b|0)>-1e4){a=(c[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{a=(c[a+16>>2]|0)+96|0;break a}case -10001:{c[a+88>>2]=c[(c[c[(c[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];c[a+96>>2]=5;a=a+88|0;break a}case -10002:{a=a+72|0;break a}default:{a=c[c[(c[a+20>>2]|0)+4>>2]>>2]|0;a=(-10002-b|0)>(d[a+7>>0]|0|0)?621184:a+24+(-10002-b+-1<<4)|0;break a}}}while(0);if((c[a+8>>2]|0)!=3){a=BGa(a,e)|0;if(!a){b=0;i=e;return b|0}}b=~~+h[a>>3];i=e;return b|0}function ADa(a,b){a=a|0;b=b|0;a:do if((b|0)>0){b=(c[a+12>>2]|0)+(b+-1<<4)|0;a=b>>>0<(c[a+8>>2]|0)>>>0?b:621184}else{if((b|0)>-1e4){a=(c[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{a=(c[a+16>>2]|0)+96|0;break a}case -10001:{c[a+88>>2]=c[(c[c[(c[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];c[a+96>>2]=5;a=a+88|0;break a}case -10002:{a=a+72|0;break a}default:{a=c[c[(c[a+20>>2]|0)+4>>2]>>2]|0;a=(-10002-b|0)>(d[a+7>>0]|0|0)?621184:a+24+(-10002-b+-1<<4)|0;break a}}}while(0);b=c[a+8>>2]|0;if(!b){b=0;b=b&1;return b|0}if((b|0)!=1){b=1;b=b&1;return b|0}b=(c[a>>2]|0)!=0;b=b&1;return b|0}function BDa(a,b,e){a=a|0;b=b|0;e=e|0;var f=0;a:do if((b|0)>0){f=(c[a+12>>2]|0)+(b+-1<<4)|0;f=f>>>0<(c[a+8>>2]|0)>>>0?f:621184}else{if((b|0)>-1e4){f=(c[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{f=(c[a+16>>2]|0)+96|0;break a}case -10001:{c[a+88>>2]=c[(c[c[(c[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];c[a+96>>2]=5;f=a+88|0;break a}case -10002:{f=a+72|0;break a}default:{f=c[c[(c[a+20>>2]|0)+4>>2]>>2]|0;f=(-10002-b|0)>(d[f+7>>0]|0|0)?621184:f+24+(-10002-b+-1<<4)|0;break a}}}while(0);b:do if((c[f+8>>2]|0)!=4){if(!(CGa(a,f)|0)){if(!e){e=0;return e|0}c[e>>2]=0;e=0;return e|0}f=c[a+16>>2]|0;if((c[f+68>>2]|0)>>>0>=(c[f+64>>2]|0)>>>0)lFa(a);if((b|0)>0){f=(c[a+12>>2]|0)+(b+-1<<4)|0;f=f>>>0<(c[a+8>>2]|0)>>>0?f:621184;break}if((b|0)>-1e4){f=(c[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{f=(c[a+16>>2]|0)+96|0;break b}case -10001:{c[a+88>>2]=c[(c[c[(c[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];c[a+96>>2]=5;f=a+88|0;break b}case -10002:{f=a+72|0;break b}default:{f=c[c[(c[a+20>>2]|0)+4>>2]>>2]|0;f=(-10002-b|0)>(d[f+7>>0]|0|0)?621184:f+24+(-10002-b+-1<<4)|0;break b}}}while(0);if(!e)f=c[f>>2]|0;else{f=c[f>>2]|0;c[e>>2]=c[f+12>>2]}e=f+16|0;return e|0}function CDa(a,b){a=a|0;b=b|0;var e=0;a:do if((b|0)>0){b=(c[a+12>>2]|0)+(b+-1<<4)|0;b=b>>>0<(c[a+8>>2]|0)>>>0?b:621184}else{if((b|0)>-1e4){b=(c[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{b=(c[a+16>>2]|0)+96|0;break a}case -10001:{c[a+88>>2]=c[(c[c[(c[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];c[a+96>>2]=5;b=a+88|0;break a}case -10002:{b=a+72|0;break a}default:{e=c[c[(c[a+20>>2]|0)+4>>2]>>2]|0;b=(-10002-b|0)>(d[e+7>>0]|0|0)?621184:e+24+(-10002-b+-1<<4)|0;break a}}}while(0);switch(c[b+8>>2]|0){case 4:{e=c[(c[b>>2]|0)+12>>2]|0;return e|0}case 7:{e=c[(c[b>>2]|0)+16>>2]|0;return e|0}case 5:{e=uGa(c[b>>2]|0)|0;return e|0}case 3:{if(!(CGa(a,b)|0)){e=0;return e|0}e=c[(c[b>>2]|0)+12>>2]|0;return e|0}default:{e=0;return e|0}}return 0}function DDa(b,e){b=b|0;e=e|0;a:do if((e|0)>0){e=(c[b+12>>2]|0)+(e+-1<<4)|0;b=e>>>0<(c[b+8>>2]|0)>>>0?e:621184}else{if((e|0)>-1e4){b=(c[b+8>>2]|0)+(e<<4)|0;break}switch(e|0){case -1e4:{b=(c[b+16>>2]|0)+96|0;break a}case -10001:{c[b+88>>2]=c[(c[c[(c[b+20>>2]|0)+4>>2]>>2]|0)+12>>2];c[b+96>>2]=5;b=b+88|0;break a}case -10002:{b=b+72|0;break a}default:{b=c[c[(c[b+20>>2]|0)+4>>2]>>2]|0;b=(-10002-e|0)>(d[b+7>>0]|0)?621184:b+24+(-10002-e+-1<<4)|0;break a}}}while(0);if((c[b+8>>2]|0)!=6){e=0;return e|0}b=c[b>>2]|0;if(!(a[b+6>>0]|0)){e=0;return e|0}e=c[b+16>>2]|0;return e|0}function EDa(a,b){a=a|0;b=b|0;a:do if((b|0)>0){b=(c[a+12>>2]|0)+(b+-1<<4)|0;a=b>>>0<(c[a+8>>2]|0)>>>0?b:621184}else{if((b|0)>-1e4){a=(c[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{a=(c[a+16>>2]|0)+96|0;break a}case -10001:{c[a+88>>2]=c[(c[c[(c[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];c[a+96>>2]=5;a=a+88|0;break a}case -10002:{a=a+72|0;break a}default:{a=c[c[(c[a+20>>2]|0)+4>>2]>>2]|0;a=(-10002-b|0)>(d[a+7>>0]|0|0)?621184:a+24+(-10002-b+-1<<4)|0;break a}}}while(0);switch(c[a+8>>2]|0){case 7:{b=(c[a>>2]|0)+24|0;return b|0}case 2:{b=c[a>>2]|0;return b|0}default:{b=0;return b|0}}return 0}function FDa(a,b){a=a|0;b=b|0;a:do if((b|0)>0){b=(c[a+12>>2]|0)+(b+-1<<4)|0;a=b>>>0<(c[a+8>>2]|0)>>>0?b:621184}else{if((b|0)>-1e4){a=(c[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{a=(c[a+16>>2]|0)+96|0;break a}case -10001:{c[a+88>>2]=c[(c[c[(c[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];c[a+96>>2]=5;a=a+88|0;break a}case -10002:{a=a+72|0;break a}default:{a=c[c[(c[a+20>>2]|0)+4>>2]>>2]|0;a=(-10002-b|0)>(d[a+7>>0]|0|0)?621184:a+24+(-10002-b+-1<<4)|0;break a}}}while(0);if((c[a+8>>2]|0)!=8){b=0;return b|0}b=c[a>>2]|0;return b|0}function GDa(a,b){a=a|0;b=b|0;var e=0;a:do if((b|0)>0){e=(c[a+12>>2]|0)+(b+-1<<4)|0;e=e>>>0<(c[a+8>>2]|0)>>>0?e:621184}else{if((b|0)>-1e4){e=(c[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{e=(c[a+16>>2]|0)+96|0;break a}case -10001:{c[a+88>>2]=c[(c[c[(c[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];c[a+96>>2]=5;e=a+88|0;break a}case -10002:{e=a+72|0;break a}default:{e=c[c[(c[a+20>>2]|0)+4>>2]>>2]|0;e=(-10002-b|0)>(d[e+7>>0]|0|0)?621184:e+24+(-10002-b+-1<<4)|0;break a}}}while(0);switch(c[e+8>>2]|0){case 5:{b=c[e>>2]|0;return b|0}case 6:{b=c[e>>2]|0;return b|0}case 8:{b=c[e>>2]|0;return b|0}case 2:case 7:{b:do if((b|0)>0){e=(c[a+12>>2]|0)+(b+-1<<4)|0;e=e>>>0<(c[a+8>>2]|0)>>>0?e:621184}else{if((b|0)>-1e4){e=(c[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{e=(c[a+16>>2]|0)+96|0;break b}case -10001:{c[a+88>>2]=c[(c[c[(c[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];c[a+96>>2]=5;e=a+88|0;break b}case -10002:{e=a+72|0;break b}default:{e=c[c[(c[a+20>>2]|0)+4>>2]>>2]|0;e=(-10002-b|0)>(d[e+7>>0]|0|0)?621184:e+24+(-10002-b+-1<<4)|0;break b}}}while(0);switch(c[e+8>>2]|0){case 7:{b=(c[e>>2]|0)+24|0;return b|0}case 2:{b=c[e>>2]|0;return b|0}default:{b=0;return b|0}}}default:{b=0;return b|0}}return 0}function HDa(a){a=a|0;var b=0;b=c[a+8>>2]|0;c[b+8>>2]=0;c[a+8>>2]=b+16;return}function IDa(a,b){a=a|0;b=+b;var d=0;d=c[a+8>>2]|0;h[d>>3]=b;c[d+8>>2]=3;c[a+8>>2]=d+16;return}function JDa(a,b){a=a|0;b=b|0;var d=0;d=c[a+8>>2]|0;h[d>>3]=+(b|0);c[d+8>>2]=3;c[a+8>>2]=d+16;return}function KDa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=c[a+16>>2]|0;if((c[e+68>>2]|0)>>>0>=(c[e+64>>2]|0)>>>0)lFa(a);e=c[a+8>>2]|0;c[e>>2]=fGa(a,b,d)|0;c[e+8>>2]=4;c[a+8>>2]=(c[a+8>>2]|0)+16;return}function LDa(a,b){a=a|0;b=b|0;var d=0,e=0;if(!b){b=c[a+8>>2]|0;c[b+8>>2]=0;c[a+8>>2]=b+16;return}d=rnb(b)|0;e=c[a+16>>2]|0;if((c[e+68>>2]|0)>>>0>=(c[e+64>>2]|0)>>>0)lFa(a);e=c[a+8>>2]|0;c[e>>2]=fGa(a,b,d)|0;c[e+8>>2]=4;c[a+8>>2]=(c[a+8>>2]|0)+16;return}function MDa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=c[a+16>>2]|0;if((c[e+68>>2]|0)>>>0>=(c[e+64>>2]|0)>>>0)lFa(a);return EFa(a,b,d)|0}function NDa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=i;i=i+16|0;f=c[a+16>>2]|0;if((c[f+68>>2]|0)>>>0>=(c[f+64>>2]|0)>>>0)lFa(a);c[e>>2]=d;f=EFa(a,b,e)|0;i=e;return f|0}function ODa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;f=c[a+16>>2]|0;if((c[f+68>>2]|0)>>>0>=(c[f+64>>2]|0)>>>0)lFa(a);e=c[a+20>>2]|0;if((e|0)==(c[a+40>>2]|0))e=a+72|0;else e=(c[c[e+4>>2]>>2]|0)+12|0;f=YEa(a,d,c[e>>2]|0)|0;c[f+16>>2]=b;e=(c[a+8>>2]|0)+(0-d<<4)|0;c[a+8>>2]=e;if(!d){b=e;c[b>>2]=f;f=b+8|0;c[f>>2]=6;f=c[a+8>>2]|0;f=f+16|0;c[a+8>>2]=f;return}do{d=d+-1|0;h=e+(d<<4)|0;g=c[h+4>>2]|0;b=f+24+(d<<4)|0;c[b>>2]=c[h>>2];c[b+4>>2]=g;c[f+24+(d<<4)+8>>2]=c[e+(d<<4)+8>>2];e=c[a+8>>2]|0}while((d|0)!=0);c[e>>2]=f;h=e+8|0;c[h>>2]=6;h=c[a+8>>2]|0;h=h+16|0;c[a+8>>2]=h;return}function PDa(a,b){a=a|0;b=b|0;var d=0;d=c[a+8>>2]|0;c[d>>2]=(b|0)!=0&1;c[d+8>>2]=1;c[a+8>>2]=d+16;return}function QDa(a,b){a=a|0;b=b|0;var d=0;d=c[a+8>>2]|0;c[d>>2]=b;c[d+8>>2]=2;c[a+8>>2]=(c[a+8>>2]|0)+16;return}function RDa(a){a=a|0;var b=0;b=c[a+8>>2]|0;c[b>>2]=a;c[b+8>>2]=8;c[a+8>>2]=(c[a+8>>2]|0)+16;return (c[(c[a+16>>2]|0)+112>>2]|0)==(a|0)|0}function SDa(a,b){a=a|0;b=b|0;var e=0;a:do if((b|0)>0){b=(c[a+12>>2]|0)+(b+-1<<4)|0;b=b>>>0<(c[a+8>>2]|0)>>>0?b:621184}else{if((b|0)>-1e4){b=(c[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{b=(c[a+16>>2]|0)+96|0;break a}case -10001:{c[a+88>>2]=c[(c[c[(c[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];c[a+96>>2]=5;b=a+88|0;break a}case -10002:{b=a+72|0;break a}default:{e=c[c[(c[a+20>>2]|0)+4>>2]>>2]|0;b=(-10002-b|0)>(d[e+7>>0]|0|0)?621184:e+24+(-10002-b+-1<<4)|0;break a}}}while(0);e=(c[a+8>>2]|0)+-16|0;DGa(a,b,e,e);return}function TDa(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0;f=i;i=i+16|0;a:do if((b|0)>0){b=(c[a+12>>2]|0)+(b+-1<<4)|0;b=b>>>0<(c[a+8>>2]|0)>>>0?b:621184}else{if((b|0)>-1e4){b=(c[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{b=(c[a+16>>2]|0)+96|0;break a}case -10001:{c[a+88>>2]=c[(c[c[(c[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];c[a+96>>2]=5;b=a+88|0;break a}case -10002:{b=a+72|0;break a}default:{g=c[c[(c[a+20>>2]|0)+4>>2]>>2]|0;b=(-10002-b|0)>(d[g+7>>0]|0|0)?621184:g+24+(-10002-b+-1<<4)|0;break a}}}while(0);c[f>>2]=fGa(a,e,rnb(e)|0)|0;c[f+8>>2]=4;DGa(a,b,f,c[a+8>>2]|0);c[a+8>>2]=(c[a+8>>2]|0)+16;i=f;return}function UDa(a,b){a=a|0;b=b|0;var e=0;a:do if((b|0)>0){b=(c[a+12>>2]|0)+(b+-1<<4)|0;b=b>>>0<(c[a+8>>2]|0)>>>0?b:621184}else{if((b|0)>-1e4){b=(c[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{b=(c[a+16>>2]|0)+96|0;break a}case -10001:{c[a+88>>2]=c[(c[c[(c[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];c[a+96>>2]=5;b=a+88|0;break a}case -10002:{b=a+72|0;break a}default:{e=c[c[(c[a+20>>2]|0)+4>>2]>>2]|0;b=(-10002-b|0)>(d[e+7>>0]|0|0)?621184:e+24+(-10002-b+-1<<4)|0;break a}}}while(0);b=mGa(c[b>>2]|0,(c[a+8>>2]|0)+-16|0)|0;e=c[a+8>>2]|0;a=c[b+4>>2]|0;c[e+-16>>2]=c[b>>2];c[e+-16+4>>2]=a;c[e+-8>>2]=c[b+8>>2];return}function VDa(a,b,e){a=a|0;b=b|0;e=e|0;var f=0;a:do if((b|0)>0){b=(c[a+12>>2]|0)+(b+-1<<4)|0;b=b>>>0<(c[a+8>>2]|0)>>>0?b:621184}else{if((b|0)>-1e4){b=(c[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{b=(c[a+16>>2]|0)+96|0;break a}case -10001:{c[a+88>>2]=c[(c[c[(c[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];c[a+96>>2]=5;b=a+88|0;break a}case -10002:{b=a+72|0;break a}default:{f=c[c[(c[a+20>>2]|0)+4>>2]>>2]|0;b=(-10002-b|0)>(d[f+7>>0]|0|0)?621184:f+24+(-10002-b+-1<<4)|0;break a}}}while(0);e=pGa(c[b>>2]|0,e)|0;f=c[a+8>>2]|0;b=c[e+4>>2]|0;c[f>>2]=c[e>>2];c[f+4>>2]=b;c[f+8>>2]=c[e+8>>2];c[a+8>>2]=(c[a+8>>2]|0)+16;return}function WDa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=c[a+16>>2]|0;if((c[e+68>>2]|0)>>>0>=(c[e+64>>2]|0)>>>0)lFa(a);e=c[a+8>>2]|0;c[e>>2]=nGa(a,b,d)|0;c[e+8>>2]=5;c[a+8>>2]=(c[a+8>>2]|0)+16;return}function XDa(a,b){a=a|0;b=b|0;var e=0;a:do if((b|0)>0){b=(c[a+12>>2]|0)+(b+-1<<4)|0;b=b>>>0<(c[a+8>>2]|0)>>>0?b:621184}else{if((b|0)>-1e4){b=(c[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{b=(c[a+16>>2]|0)+96|0;break a}case -10001:{c[a+88>>2]=c[(c[c[(c[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];c[a+96>>2]=5;b=a+88|0;break a}case -10002:{b=a+72|0;break a}default:{e=c[c[(c[a+20>>2]|0)+4>>2]>>2]|0;b=(-10002-b|0)>(d[e+7>>0]|0|0)?621184:e+24+(-10002-b+-1<<4)|0;break a}}}while(0);e=c[b+8>>2]|0;switch(e|0){case 5:{b=(c[b>>2]|0)+8|0;break}case 7:{b=(c[b>>2]|0)+8|0;break}default:b=(c[a+16>>2]|0)+152+(e<<2)|0}b=c[b>>2]|0;if(!b){a=0;return a|0}e=c[a+8>>2]|0;c[e>>2]=b;c[e+8>>2]=5;c[a+8>>2]=(c[a+8>>2]|0)+16;a=1;return a|0}function YDa(a,b){a=a|0;b=b|0;var e=0,f=0;a:do if((b|0)>0){b=(c[a+12>>2]|0)+(b+-1<<4)|0;b=b>>>0<(c[a+8>>2]|0)>>>0?b:621184}else{if((b|0)>-1e4){b=(c[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{b=(c[a+16>>2]|0)+96|0;break a}case -10001:{c[a+88>>2]=c[(c[c[(c[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];c[a+96>>2]=5;b=a+88|0;break a}case -10002:{b=a+72|0;break a}default:{e=c[c[(c[a+20>>2]|0)+4>>2]>>2]|0;b=(-10002-b|0)>(d[e+7>>0]|0|0)?621184:e+24+(-10002-b+-1<<4)|0;break a}}}while(0);switch(c[b+8>>2]|0){case 6:{e=c[a+8>>2]|0;c[e>>2]=c[(c[b>>2]|0)+12>>2];c[e+8>>2]=5;e=a+8|0;a=c[e>>2]|0;a=a+16|0;c[e>>2]=a;return}case 7:{e=c[a+8>>2]|0;c[e>>2]=c[(c[b>>2]|0)+12>>2];c[e+8>>2]=5;e=a+8|0;a=c[e>>2]|0;a=a+16|0;c[e>>2]=a;return}case 8:{b=c[b>>2]|0;e=c[a+8>>2]|0;f=c[b+72+4>>2]|0;c[e>>2]=c[b+72>>2];c[e+4>>2]=f;c[e+8>>2]=c[b+80>>2];e=a+8|0;a=c[e>>2]|0;a=a+16|0;c[e>>2]=a;return}default:{c[(c[a+8>>2]|0)+8>>2]=0;f=a+8|0;e=c[f>>2]|0;e=e+16|0;c[f>>2]=e;return}}}function ZDa(a,b){a=a|0;b=b|0;var e=0;a:do if((b|0)>0){b=(c[a+12>>2]|0)+(b+-1<<4)|0;b=b>>>0<(c[a+8>>2]|0)>>>0?b:621184}else{if((b|0)>-1e4){b=(c[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{b=(c[a+16>>2]|0)+96|0;break a}case -10001:{c[a+88>>2]=c[(c[c[(c[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];c[a+96>>2]=5;b=a+88|0;break a}case -10002:{b=a+72|0;break a}default:{e=c[c[(c[a+20>>2]|0)+4>>2]>>2]|0;b=(-10002-b|0)>(d[e+7>>0]|0|0)?621184:e+24+(-10002-b+-1<<4)|0;break a}}}while(0);e=c[a+8>>2]|0;EGa(a,b,e+-32|0,e+-16|0);c[a+8>>2]=(c[a+8>>2]|0)+-32;return}function _Da(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0;f=i;i=i+16|0;a:do if((b|0)>0){b=(c[a+12>>2]|0)+(b+-1<<4)|0;b=b>>>0<(c[a+8>>2]|0)>>>0?b:621184}else{if((b|0)>-1e4){b=(c[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{b=(c[a+16>>2]|0)+96|0;break a}case -10001:{c[a+88>>2]=c[(c[c[(c[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];c[a+96>>2]=5;b=a+88|0;break a}case -10002:{b=a+72|0;break a}default:{g=c[c[(c[a+20>>2]|0)+4>>2]>>2]|0;b=(-10002-b|0)>(d[g+7>>0]|0|0)?621184:g+24+(-10002-b+-1<<4)|0;break a}}}while(0);c[f>>2]=fGa(a,e,rnb(e)|0)|0;c[f+8>>2]=4;EGa(a,b,f,(c[a+8>>2]|0)+-16|0);c[a+8>>2]=(c[a+8>>2]|0)+-16;i=f;return}function $Da(b,e){b=b|0;e=e|0;var f=0,g=0,h=0;a:do if((e|0)>0){e=(c[b+12>>2]|0)+(e+-1<<4)|0;e=e>>>0<(c[b+8>>2]|0)>>>0?e:621184}else{if((e|0)>-1e4){e=(c[b+8>>2]|0)+(e<<4)|0;break}switch(e|0){case -1e4:{e=(c[b+16>>2]|0)+96|0;break a}case -10001:{c[b+88>>2]=c[(c[c[(c[b+20>>2]|0)+4>>2]>>2]|0)+12>>2];c[b+96>>2]=5;e=b+88|0;break a}case -10002:{e=b+72|0;break a}default:{f=c[c[(c[b+20>>2]|0)+4>>2]>>2]|0;e=(-10002-e|0)>(d[f+7>>0]|0|0)?621184:f+24+(-10002-e+-1<<4)|0;break a}}}while(0);g=c[b+8>>2]|0;f=rGa(b,c[e>>2]|0,g+-32|0)|0;h=c[g+-16+4>>2]|0;c[f>>2]=c[g+-16>>2];c[f+4>>2]=h;c[f+8>>2]=c[g+-8>>2];f=c[b+8>>2]|0;if((c[f+-8>>2]|0)<=3){h=f;h=h+-32|0;c[b+8>>2]=h;return}if(!(a[(c[f+-16>>2]|0)+5>>0]&3)){h=f;h=h+-32|0;c[b+8>>2]=h;return}e=c[e>>2]|0;if(!(a[e+5>>0]&4)){h=f;h=h+-32|0;c[b+8>>2]=h;return}tFa(b,e);h=c[b+8>>2]|0;h=h+-32|0;c[b+8>>2]=h;return}function aEa(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0;a:do if((e|0)>0){e=(c[b+12>>2]|0)+(e+-1<<4)|0;e=e>>>0<(c[b+8>>2]|0)>>>0?e:621184}else{if((e|0)>-1e4){e=(c[b+8>>2]|0)+(e<<4)|0;break}switch(e|0){case -1e4:{e=(c[b+16>>2]|0)+96|0;break a}case -10001:{c[b+88>>2]=c[(c[c[(c[b+20>>2]|0)+4>>2]>>2]|0)+12>>2];c[b+96>>2]=5;e=b+88|0;break a}case -10002:{e=b+72|0;break a}default:{g=c[c[(c[b+20>>2]|0)+4>>2]>>2]|0;e=(-10002-e|0)>(d[g+7>>0]|0|0)?621184:g+24+(-10002-e+-1<<4)|0;break a}}}while(0);g=c[b+8>>2]|0;f=sGa(b,c[e>>2]|0,f)|0;h=c[g+-16+4>>2]|0;c[f>>2]=c[g+-16>>2];c[f+4>>2]=h;c[f+8>>2]=c[g+-8>>2];f=c[b+8>>2]|0;if((c[f+-8>>2]|0)<=3){h=f;h=h+-16|0;c[b+8>>2]=h;return}if(!(a[(c[f+-16>>2]|0)+5>>0]&3)){h=f;h=h+-16|0;c[b+8>>2]=h;return}e=c[e>>2]|0;if(!(a[e+5>>0]&4)){h=f;h=h+-16|0;c[b+8>>2]=h;return}tFa(b,e);h=c[b+8>>2]|0;h=h+-16|0;c[b+8>>2]=h;return}function bEa(b,e){b=b|0;e=e|0;var f=0,g=0;a:do if((e|0)>0){f=(c[b+12>>2]|0)+(e+-1<<4)|0;f=f>>>0<(c[b+8>>2]|0)>>>0?f:621184}else{if((e|0)>-1e4){f=(c[b+8>>2]|0)+(e<<4)|0;break}switch(e|0){case -1e4:{f=(c[b+16>>2]|0)+96|0;break a}case -10001:{c[b+88>>2]=c[(c[c[(c[b+20>>2]|0)+4>>2]>>2]|0)+12>>2];c[b+96>>2]=5;f=b+88|0;break a}case -10002:{f=b+72|0;break a}default:{f=c[c[(c[b+20>>2]|0)+4>>2]>>2]|0;f=(-10002-e|0)>(d[f+7>>0]|0|0)?621184:f+24+(-10002-e+-1<<4)|0;break a}}}while(0);e=c[b+8>>2]|0;if(!(c[e+-8>>2]|0))g=0;else g=c[e+-16>>2]|0;e=c[f+8>>2]|0;switch(e|0){case 5:{c[(c[f>>2]|0)+8>>2]=g;if(g|0)if(a[g+5>>0]&3){e=c[f>>2]|0;if(a[e+5>>0]&4)tFa(b,e)}break}case 7:{c[(c[f>>2]|0)+8>>2]=g;if(g|0)if(a[g+5>>0]&3){e=c[f>>2]|0;if(a[e+5>>0]&4)sFa(b,e,g)}break}default:c[(c[b+16>>2]|0)+152+(e<<2)>>2]=g}c[b+8>>2]=(c[b+8>>2]|0)+-16;return 1}function cEa(b,e){b=b|0;e=e|0;var f=0,g=0,h=0;a:do if((e|0)>0){f=(c[b+12>>2]|0)+(e+-1<<4)|0;f=f>>>0<(c[b+8>>2]|0)>>>0?f:621184}else{if((e|0)>-1e4){f=(c[b+8>>2]|0)+(e<<4)|0;break}switch(e|0){case -1e4:{f=(c[b+16>>2]|0)+96|0;break a}case -10001:{c[b+88>>2]=c[(c[c[(c[b+20>>2]|0)+4>>2]>>2]|0)+12>>2];c[b+96>>2]=5;f=b+88|0;break a}case -10002:{f=b+72|0;break a}default:{f=c[c[(c[b+20>>2]|0)+4>>2]>>2]|0;f=(-10002-e|0)>(d[f+7>>0]|0|0)?621184:f+24+(-10002-e+-1<<4)|0;break a}}}while(0);switch(c[f+8>>2]|0){case 6:{e=c[b+8>>2]|0;c[(c[f>>2]|0)+12>>2]=c[e+-16>>2];h=b+8|0;break}case 7:{e=c[b+8>>2]|0;c[(c[f>>2]|0)+12>>2]=c[e+-16>>2];h=b+8|0;break}case 8:{h=c[f>>2]|0;c[h+72>>2]=c[(c[b+8>>2]|0)+-16>>2];c[h+80>>2]=5;h=b+8|0;e=c[b+8>>2]|0;break}default:{h=b+8|0;b=0;g=c[h>>2]|0;g=g+-16|0;c[h>>2]=g;return b|0}}g=c[e+-16>>2]|0;if(!(a[g+5>>0]&3)){b=1;g=c[h>>2]|0;g=g+-16|0;c[h>>2]=g;return b|0}e=c[f>>2]|0;if(!(a[e+5>>0]&4)){b=1;g=c[h>>2]|0;g=g+-16|0;c[h>>2]=g;return b|0}sFa(b,e,g);b=1;g=c[h>>2]|0;g=g+-16|0;c[h>>2]=g;return b|0}function dEa(a,b,d){a=a|0;b=b|0;d=d|0;PEa(a,(c[a+8>>2]|0)+(~b<<4)|0,d);if((d|0)!=-1)return;d=c[a+8>>2]|0;b=(c[a+20>>2]|0)+8|0;if(d>>>0<(c[b>>2]|0)>>>0)return;c[b>>2]=d;return}function eEa(a,b,e,f){a=a|0;b=b|0;e=e|0;f=f|0;var g=0,h=0,j=0;h=i;i=i+16|0;if(!f){g=c[a+32>>2]|0;f=0}else{a:do if((f|0)>0){f=(c[a+12>>2]|0)+(f+-1<<4)|0;f=f>>>0<(c[a+8>>2]|0)>>>0?f:621184}else{if((f|0)>-1e4){f=(c[a+8>>2]|0)+(f<<4)|0;break}switch(f|0){case -1e4:{f=(c[a+16>>2]|0)+96|0;break a}case -10001:{c[a+88>>2]=c[(c[c[(c[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];c[a+96>>2]=5;f=a+88|0;break a}case -10002:{f=a+72|0;break a}default:{g=c[c[(c[a+20>>2]|0)+4>>2]>>2]|0;f=(-10002-f|0)>(d[g+7>>0]|0|0)?621184:g+24+(-10002-f+-1<<4)|0;break a}}}while(0);j=c[a+32>>2]|0;g=j;f=f-j|0}b=(c[a+8>>2]|0)+(~b<<4)|0;c[h>>2]=b;c[h+4>>2]=e;b=TEa(a,213,h,b-g|0,f)|0;if((e|0)!=-1){i=h;return b|0}g=c[a+8>>2]|0;f=(c[a+20>>2]|0)+8|0;if(g>>>0<(c[f>>2]|0)>>>0){i=h;return b|0}c[f>>2]=g;i=h;return b|0}function fEa(a,b){a=a|0;b=b|0;PEa(a,c[b>>2]|0,c[b+4>>2]|0);return}function gEa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=i;i=i+32|0;LGa(a,e,b,c);b=UEa(a,e,(d|0)==0?520529:d)|0;i=e;return b|0}function hEa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;f=c[b+8>>2]|0;if((c[f+-8>>2]|0)!=6){d=1;return d|0}f=c[f+-16>>2]|0;if(a[f+6>>0]|0){d=1;return d|0}d=WEa(b,c[f+16>>2]|0,d,e,0)|0;return d|0}function iEa(a){a=a|0;return d[a+6>>0]|0|0}function jEa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;f=c[b+16>>2]|0;a:do switch(d|0){case 0:{c[f+64>>2]=-3;f=0;break}case 1:{c[f+64>>2]=c[f+68>>2];f=0;break}case 2:{rFa(b);f=0;break}case 3:{f=(c[f+68>>2]|0)>>>10;break}case 4:{f=c[f+68>>2]&1023;break}case 5:{d=c[f+68>>2]|0;e=d>>>0>>0?0:d-(e<<10)|0;c[f+64>>2]=e;if(e>>>0>d>>>0)f=0;else while(1){lFa(b);if(!(a[f+21>>0]|0)){f=1;break a}if((c[f+64>>2]|0)>>>0>(c[f+68>>2]|0)>>>0){f=0;break}}break}case 6:{d=c[f+80>>2]|0;c[f+80>>2]=e;f=d;break}case 7:{d=c[f+84>>2]|0;c[f+84>>2]=e;f=d;break}default:f=-1}while(0);return f|0}function kEa(a){a=a|0;DEa(a);return 0}function lEa(a,b){a=a|0;b=b|0;var e=0;a:do if((b|0)>0){b=(c[a+12>>2]|0)+(b+-1<<4)|0;b=b>>>0<(c[a+8>>2]|0)>>>0?b:621184}else{if((b|0)>-1e4){b=(c[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{b=(c[a+16>>2]|0)+96|0;break a}case -10001:{c[a+88>>2]=c[(c[c[(c[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];c[a+96>>2]=5;b=a+88|0;break a}case -10002:{b=a+72|0;break a}default:{e=c[c[(c[a+20>>2]|0)+4>>2]>>2]|0;b=(-10002-b|0)>(d[e+7>>0]|0|0)?621184:e+24+(-10002-b+-1<<4)|0;break a}}}while(0);e=hGa(a,c[b>>2]|0,(c[a+8>>2]|0)+-16|0)|0;b=c[a+8>>2]|0;c[a+8>>2]=(e|0)==0?b+-16|0:b+16|0;return e|0}function mEa(a,b){a=a|0;b=b|0;var d=0;if((b|0)>1){d=c[a+16>>2]|0;if((c[d+68>>2]|0)>>>0>=(c[d+64>>2]|0)>>>0)lFa(a);HGa(a,b,((c[a+8>>2]|0)-(c[a+12>>2]|0)>>4)+-1|0);c[a+8>>2]=(c[a+8>>2]|0)+(1-b<<4);return}else{if(b|0)return;d=c[a+8>>2]|0;c[d>>2]=fGa(a,1279070,0)|0;c[d+8>>2]=4;c[a+8>>2]=(c[a+8>>2]|0)+16;return}}function nEa(a,b){a=a|0;b=b|0;var d=0;d=c[a+16>>2]|0;if((c[d+68>>2]|0)>>>0>=(c[d+64>>2]|0)>>>0)lFa(a);d=c[a+20>>2]|0;if((d|0)==(c[a+40>>2]|0))d=a+72|0;else d=(c[c[d+4>>2]>>2]|0)+12|0;b=gGa(a,b,c[d>>2]|0)|0;d=c[a+8>>2]|0;c[d>>2]=b;c[d+8>>2]=7;c[a+8>>2]=(c[a+8>>2]|0)+16;return b+24|0}function oEa(a,e,f){a=a|0;e=e|0;f=f|0;var g=0,h=0,i=0;a:do if((e|0)>0){e=(c[a+12>>2]|0)+(e+-1<<4)|0;e=e>>>0<(c[a+8>>2]|0)>>>0?e:621184}else{if((e|0)>-1e4){e=(c[a+8>>2]|0)+(e<<4)|0;break}switch(e|0){case -1e4:{e=(c[a+16>>2]|0)+96|0;break a}case -10001:{c[a+88>>2]=c[(c[c[(c[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];c[a+96>>2]=5;e=a+88|0;break a}case -10002:{e=a+72|0;break a}default:{h=c[c[(c[a+20>>2]|0)+4>>2]>>2]|0;e=(-10002-e|0)>(d[h+7>>0]|0|0)?621184:h+24+(-10002-e+-1<<4)|0;break a}}}while(0);if((c[e+8>>2]|0)!=6){a=0;return a|0}h=c[e>>2]|0;e=b[h+6>>1]|0;do if(!((e&255)<<24>>24)){e=c[h+16>>2]|0;if((f|0)<=0){a=0;return a|0}if((c[e+36>>2]|0)<(f|0)){a=0;return a|0}else{g=(c[(c[e+28>>2]|0)+(f+-1<<2)>>2]|0)+16|0;e=c[(c[h+20+(f+-1<<2)>>2]|0)+8>>2]|0;break}}else if((f|0)<1|((e&65535)>>>8&65535|0)<(f|0)){a=0;return a|0}else{g=1279070;e=h+24+(f+-1<<4)|0;break}while(0);f=c[a+8>>2]|0;i=e;h=c[i+4>>2]|0;c[f>>2]=c[i>>2];c[f+4>>2]=h;c[f+8>>2]=c[e+8>>2];c[a+8>>2]=(c[a+8>>2]|0)+16;a=g;return a|0}function pEa(e,f,g){e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0;a:do if((f|0)>0){j=(c[e+12>>2]|0)+(f+-1<<4)|0;j=j>>>0<(c[e+8>>2]|0)>>>0?j:621184}else{if((f|0)>-1e4){j=(c[e+8>>2]|0)+(f<<4)|0;break}switch(f|0){case -1e4:{j=(c[e+16>>2]|0)+96|0;break a}case -10001:{c[e+88>>2]=c[(c[c[(c[e+20>>2]|0)+4>>2]>>2]|0)+12>>2];c[e+96>>2]=5;j=e+88|0;break a}case -10002:{j=e+72|0;break a}default:{j=c[c[(c[e+20>>2]|0)+4>>2]>>2]|0;j=(-10002-f|0)>(d[j+7>>0]|0|0)?621184:j+24+(-10002-f+-1<<4)|0;break a}}}while(0);if((c[j+8>>2]|0)!=6){e=0;return e|0}h=c[j>>2]|0;f=b[h+6>>1]|0;do if(!((f&255)<<24>>24)){f=c[h+16>>2]|0;if((g|0)<=0){e=0;return e|0}if((c[f+36>>2]|0)<(g|0)){e=0;return e|0}else{i=(c[(c[f+28>>2]|0)+(g+-1<<2)>>2]|0)+16|0;f=c[(c[h+20+(g+-1<<2)>>2]|0)+8>>2]|0;break}}else if((g|0)<1|((f&65535)>>>8&65535|0)<(g|0)){e=0;return e|0}else{i=1279070;f=h+24+(g+-1<<4)|0;break}while(0);g=c[e+8>>2]|0;c[e+8>>2]=g+-16;k=c[g+-16+4>>2]|0;h=f;c[h>>2]=c[g+-16>>2];c[h+4>>2]=k;c[f+8>>2]=c[g+-8>>2];f=c[e+8>>2]|0;if((c[f+8>>2]|0)<=3){k=i;return k|0}h=c[f>>2]|0;if(!(a[h+5>>0]&3)){k=i;return k|0}f=c[j>>2]|0;if(!(a[f+5>>0]&4)){k=i;return k|0}sFa(e,f,h);k=i;return k|0}function qEa(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;c[b+68>>2]=(d|0)==0|(e|0)==0?0:d;c[b+60>>2]=f;c[b+64>>2]=f;a[b+56>>0]=(d|0)==0|(e|0)==0?0:e&255;return 1}function rEa(a){a=a|0;return c[a+68>>2]|0}function sEa(a){a=a|0;return d[a+56>>0]|0|0}function tEa(a){a=a|0;return c[a+60>>2]|0}function uEa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=c[b+20>>2]|0;a:do if((d|0)>0){g=c[b+40>>2]|0;while(1){if(f>>>0<=g>>>0){d=0;break}d=d+-1|0;if(!(a[(c[c[f+4>>2]>>2]|0)+6>>0]|0))d=d-(c[f+20>>2]|0)|0;f=f+-24|0;if((d|0)<=0)break a}return d|0}while(0);if(d|0){c[e+96>>2]=0;e=1;return e|0}d=c[b+40>>2]|0;if(f>>>0<=d>>>0){e=0;return e|0}c[e+96>>2]=(f-d|0)/24|0;e=1;return e|0}function vEa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;i=c[b+40>>2]|0;h=c[d+96>>2]|0;f=c[i+(h*24|0)+4>>2]|0;if((c[f+8>>2]|0)==6){d=c[f>>2]|0;if(!(a[d+6>>0]|0)){g=c[d+16>>2]|0;if(!g)j=9;else{if((c[b+20>>2]|0)==(i+(h*24|0)|0)){k=c[b+24>>2]|0;c[i+(h*24|0)+12>>2]=k;d=c[f>>2]|0;f=k}else f=c[i+(h*24|0)+12>>2]|0;d=fFa(g,e,(f-(c[(c[d+16>>2]|0)+12>>2]|0)>>2)+-1|0)|0;if(!d)j=9;else{f=d;d=c[i+(h*24|0)>>2]|0}}}else j=9}else j=9;do if((j|0)==9){d=c[i+(h*24|0)>>2]|0;if((e|0)>0?((c[((c[b+20>>2]|0)==(i+(h*24|0)|0)?b+8|0:i+(h*24|0)+28|0)>>2]|0)-d>>4|0)>=(e|0):0){f=514762;break}else{k=0;return k|0}}while(0);eDa(b,d+(e+-1<<4)|0);k=f;return k|0}function wEa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;i=c[b+40>>2]|0;h=c[d+96>>2]|0;f=c[i+(h*24|0)+4>>2]|0;if((c[f+8>>2]|0)==6){d=c[f>>2]|0;if(!(a[d+6>>0]|0)){g=c[d+16>>2]|0;if(!g)j=9;else{if((c[b+20>>2]|0)==(i+(h*24|0)|0)){k=c[b+24>>2]|0;c[i+(h*24|0)+12>>2]=k;d=c[f>>2]|0;f=k}else f=c[i+(h*24|0)+12>>2]|0;d=fFa(g,e,(f-(c[(c[d+16>>2]|0)+12>>2]|0)>>2)+-1|0)|0;if(!d)j=9;else{g=d;f=b+8|0;d=c[i+(h*24|0)>>2]|0}}}else j=9}else j=9;do if((j|0)==9){d=c[i+(h*24|0)>>2]|0;if((e|0)>0?((c[((c[b+20>>2]|0)==(i+(h*24|0)|0)?b+8|0:i+(h*24|0)+28|0)>>2]|0)-d>>4|0)>=(e|0):0){g=514762;f=b+8|0;break}else{k=0;e=b+8|0;j=c[e>>2]|0;j=j+-16|0;c[e>>2]=j;return k|0}}while(0);k=c[f>>2]|0;i=c[k+-16+4>>2]|0;j=d+(e+-1<<4)|0;c[j>>2]=c[k+-16>>2];c[j+4>>2]=i;c[d+(e+-1<<4)+8>>2]=c[k+-8>>2];k=g;e=f;j=c[e>>2]|0;j=j+-16|0;c[e>>2]=j;return k|0}function xEa(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;if((a[e>>0]|0)==62){x=(c[b+8>>2]|0)+-16|0;j=c[x>>2]|0;c[b+8>>2]=x;e=e+1|0;x=0;y=5}else{g=c[f+96>>2]|0;if(!g)y=8;else{j=c[b+40>>2]|0;x=j+(g*24|0)|0;j=c[c[j+(g*24|0)+4>>2]>>2]|0;y=5}}a:do if((y|0)==5)if(!j)y=8;else{g=a[e>>0]|0;if(!(g<<24>>24)){k=1;i=0}else{n=j+6|0;o=j+16|0;p=(x|0)==0;q=x+4|0;r=x+12|0;s=j+7|0;t=x+20|0;u=x+-24|0;v=x+-20|0;w=x+-12|0;m=e;h=1;while(1){b:do switch(g<<24>>24|0){case 83:{if(!(a[n>>0]|0)){i=c[o>>2]|0;l=(c[i+32>>2]|0)+16|0;c[f+16>>2]=l;k=c[i+60>>2]|0;g=(k|0)==0?514798:514803;i=c[i+64>>2]|0}else{c[f+16>>2]=514793;g=617725;i=-1;k=-1;l=514793}c[f+28>>2]=k;c[f+32>>2]=i;c[f+12>>2]=g;GFa(f+36|0,l,60);break}case 108:{if(p)g=-1;else{g=c[q>>2]|0;if((c[g+8>>2]|0)==6){i=c[g>>2]|0;if(!(a[i+6>>0]|0)){if((c[b+20>>2]|0)==(x|0)){k=c[b+24>>2]|0;c[r>>2]=k;i=c[g>>2]|0}else k=c[r>>2]|0;g=c[i+16>>2]|0;i=k-(c[g+12>>2]|0)|0;if((i|0)<4)g=-1;else{g=c[g+20>>2]|0;if(!g)g=0;else g=c[g+((i>>2)+-1<<2)>>2]|0}}else g=-1}else g=-1}c[f+20>>2]=g;break}case 117:{c[f+24>>2]=d[s>>0];break}case 110:{c:do if(p)y=35;else{g=c[q>>2]|0;if((c[g+8>>2]|0)==6)if(!(a[(c[g>>2]|0)+6>>0]|0))if((c[t>>2]|0)>0){y=35;break}g=c[v>>2]|0;if((c[g+8>>2]|0)==6){i=c[g>>2]|0;if(!(a[i+6>>0]|0)){if((c[b+20>>2]|0)==(u|0)){l=c[b+24>>2]|0;c[w>>2]=l;i=c[g>>2]|0;g=l}else g=c[w>>2]|0;l=c[(c[i+16>>2]|0)+12>>2]|0;g=c[l+((g-l>>2)+-1<<2)>>2]|0;switch(g&63|0){case 33:case 29:case 28:break;default:{y=35;break c}}l=yEa(b,u,g>>>6&255,f+4|0)|0;c[f+8>>2]=l;if(l|0)break b}else y=35}else y=35}while(0);if((y|0)==35){y=0;c[f+8>>2]=0}c[f+8>>2]=1279070;c[f+4>>2]=0;break}case 102:case 76:break;default:h=0}while(0);m=m+1|0;g=a[m>>0]|0;if(!(g<<24>>24)){k=h;i=0;break a}}}}while(0);if((y|0)==8){c[f+8>>2]=1279070;c[f+4>>2]=1279070;c[f+12>>2]=514775;c[f+20>>2]=-1;c[f+28>>2]=-1;c[f+32>>2]=-1;c[f+16>>2]=514780;GFa(f+36|0,514780,60);c[f+24>>2]=0;k=1;i=1;j=0}if(Unb(e,102)|0){h=c[b+8>>2]|0;if(i)g=0;else{c[h>>2]=j;g=6}c[h+8>>2]=g;g=c[b+8>>2]|0;if(((c[b+28>>2]|0)-g|0)<17){LEa(b,1);g=c[b+8>>2]|0}c[b+8>>2]=g+16}if(!(Unb(e,76)|0))return k|0;if(i)y=49;else if(!(a[j+6>>0]|0)){i=nGa(b,0,0)|0;e=j+16|0;f=c[e>>2]|0;g=c[f+20>>2]|0;if((c[f+48>>2]|0)>0){h=0;do{f=sGa(b,i,c[g+(h<<2)>>2]|0)|0;c[f>>2]=1;c[f+8>>2]=1;h=h+1|0}while((h|0)<(c[(c[e>>2]|0)+48>>2]|0))}e=c[b+8>>2]|0;c[e>>2]=i;c[e+8>>2]=5;e=c[b+8>>2]|0;h=b+8|0;g=e}else y=49;if((y|0)==49){e=c[b+8>>2]|0;c[e+8>>2]=0;h=b+8|0;g=e}if(((c[b+28>>2]|0)-g|0)<17){LEa(b,1);e=c[h>>2]|0}c[h>>2]=e+16;return k|0}function yEa(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;a:while(1){h=c[d+4>>2]|0;if((c[h+8>>2]|0)!=6){e=0;g=24;break}g=c[h>>2]|0;if(a[g+6>>0]|0){e=0;g=24;break}i=c[g+16>>2]|0;if(!(a[g+6>>0]|0)){if((c[b+20>>2]|0)==(d|0)){j=c[b+24>>2]|0;c[d+12>>2]=j;g=c[h>>2]|0;h=j}else h=c[d+12>>2]|0;g=(h-(c[(c[g+16>>2]|0)+12>>2]|0)>>2)+-1|0}else g=-1;j=fFa(i,e+1|0,g)|0;c[f>>2]=j;if(j|0){e=516995;g=24;break}h=zEa(i,g,e)|0;switch(h&63|0){case 5:{g=11;break a}case 6:{g=13;break a}case 4:{g=17;break a}case 11:{g=20;break a}case 0:break;default:{e=0;g=24;break a}}e=h>>>23;if(e>>>0>=(h>>>6&255)>>>0){e=0;g=24;break}}if((g|0)==11){c[f>>2]=(c[(c[i+8>>2]|0)+(h>>>14<<4)>>2]|0)+16;j=514807;return j|0}else if((g|0)==13){if(!(h>>>14&256))e=520529;else{e=c[i+8>>2]|0;if((c[e+((h>>>14&255)<<4)+8>>2]|0)==4)e=(c[e+((h>>>14&255)<<4)>>2]|0)+16|0;else e=520529}c[f>>2]=e;j=514814;return j|0}else if((g|0)==17){e=c[i+28>>2]|0;if(!e)e=520529;else e=(c[e+(h>>>23<<2)>>2]|0)+16|0;c[f>>2]=e;j=514820;return j|0}else if((g|0)==20){if(!(h>>>14&256))e=520529;else{e=c[i+8>>2]|0;if((c[e+((h>>>14&255)<<4)+8>>2]|0)==4)e=(c[e+((h>>>14&255)<<4)>>2]|0)+16|0;else e=520529}c[f>>2]=e;j=516619;return j|0}else if((g|0)==24)return e|0;return 0}function zEa(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;o=c[b+44>>2]|0;g=a[b+75>>0]|0;if((g&255)>=251){q=0;return q|0}p=d[b+74>>0]|0;if((p&5|0)==4?1:((p&1)+(d[b+73>>0]|0)|0)>>>0>(g&255)>>>0){q=0;return q|0}n=c[b+72>>2]|0;if((c[b+36>>2]|0)>(n&255|0)){q=0;return q|0}p=c[b+48>>2]|0;if(!((o|0)>0&((p|0)==0|(p|0)==(o|0)))){q=0;return q|0}p=c[b+12>>2]|0;g=c[p+(o+-1<<2)>>2]|0;if((g&63|0)!=30){q=0;return q|0}if((e|0)<=0){q=g;return q|0}g=o+-1|0;h=0;a:while(1){m=c[p+(h<<2)>>2]|0;if(!((m&63)>>>0<38&(m>>>6&255)>>>0>>24>>>0)){g=0;q=73;break}l=a[515441+(m&63)>>0]|0;b:do switch(l&3|0){case 0:{c:do switch((l&255)>>>4&3|0){case 0:{if(m>>>23|0){g=0;q=73;break a}break}case 3:if(!(m>>>23&256))if(n>>>24>>>0>m>>>23>>>0)break c;else{g=0;q=73;break a}else if((m>>>23&255|0)<(c[b+40>>2]|0))break c;else{g=0;q=73;break a}case 2:{if(n>>>24>>>0<=m>>>23>>>0){g=0;q=73;break a}break}default:{}}while(0);switch((l&255)>>>2&3|0){case 0:if(!(m>>>14&511)){k=m>>>23;j=0;break b}else{g=0;q=73;break a}case 3:if(!(m>>>14&256))if(n>>>24>>>0>(m>>>14&511)>>>0){k=m>>>23;j=m>>>14&511;break b}else{g=0;q=73;break a}else if((m>>>14&255|0)<(c[b+40>>2]|0)){k=m>>>23;j=m>>>14&511;break b}else{g=0;q=73;break a}case 2:if(n>>>24>>>0>(m>>>14&511)>>>0){k=m>>>23;j=m>>>14&511;break b}else{g=0;q=73;break a}default:{k=m>>>23;j=m>>>14&511;break b}}}case 1:{if((l&48|0)==48)if((m>>>14|0)<(c[b+40>>2]|0)){k=m>>>14;j=0}else{g=0;q=73;break a}else{k=m>>>14;j=0}break}case 2:{if((l&48|0)==32){j=h+1+((m>>>14)+-131071)|0;if(!((j|0)>-1&(j|0)<(o|0))){g=0;q=73;break a}if((j|0)>0){k=(m>>>14)+-131071+h|0;i=0;do{if((c[p+(k-i<<2)>>2]&8372287|0)!=34)break;i=i+1|0}while((i|0)<(j|0));if(!(i&1)){k=(m>>>14)+-131071|0;j=0}else{g=0;q=73;break a}}else{k=(m>>>14)+-131071|0;j=0}}else{k=(m>>>14)+-131071|0;j=0}break}default:{k=0;j=0}}while(0);g=(m>>>6&255|0)==(f|0)&(l&64)!=0?h:g;if(l<<24>>24<0){if((h+2|0)>=(o|0)){g=0;q=73;break}if((c[p+(h+1<<2)>>2]&63|0)!=22){g=0;q=73;break}}do switch(m&63|0){case 2:{if((j|0)==1){if((h+2|0)>=(o|0)){g=0;q=73;break a}if((c[p+(h+1<<2)>>2]&8372287|0)==34){g=0;q=73;break a}}break}case 3:{g=(m>>>6&255|0)>(f|0)|(k|0)<(f|0)?g:h;break}case 8:case 4:{if((k|0)>=(n&255|0)){g=0;q=73;break a}break}case 7:case 5:{if((c[(c[b+8>>2]|0)+(k<<4)+8>>2]|0)!=4){g=0;q=73;break a}break}case 11:{if(((m>>>6&255)+1|0)>>>0>=n>>>24>>>0){g=0;q=73;break a}g=((m>>>6&255)+1|0)==(f|0)?h:g;break}case 21:{if((k|0)>=(j|0)){g=0;q=73;break a}break}case 33:{if(!j){g=0;q=73;break a}if((j+((m>>>6&255)+2)|0)>>>0>=n>>>24>>>0){g=0;q=73;break a}g=((m>>>6&255)+2|0)>(f|0)?g:h;break}case 32:case 31:{if(((m>>>6&255)+3|0)>>>0>>24>>>0)q=48;else{g=0;q=73;break a}break}case 22:{q=48;break}case 29:case 28:{if(k|0?(k+(m>>>6&255)|0)>(n>>>24|0):0){g=0;q=73;break a}i=j+-1|0;if(!j){i=c[p+(h+1<<2)>>2]|0;switch(i&63|0){case 34:case 30:case 29:case 28:break;default:{g=0;q=73;break a}}if(i>>>0>=8388608){g=0;q=73;break a}}else if(i|0?(i+(m>>>6&255)|0)>(n>>>24|0):0){g=0;q=73;break a}g=(m>>>6&255|0)>(f|0)?g:h;break}case 30:{if((k|0)>1)if(((m>>>6&255)+-1+k|0)>(n>>>24|0)){g=0;q=73;break a}break}case 34:{if(!((k|0)<1?1:(k+(m>>>6&255)|0)<(n>>>24|0))){g=0;q=73;break a}if(!j){h=h+1|0;if((h|0)>=(o+-1|0)){g=0;q=73;break a}}break}case 36:{if((k|0)>=(c[b+52>>2]|0)){g=0;q=73;break a}i=a[(c[(c[b+16>>2]|0)+(k<<2)>>2]|0)+72>>0]|0;k=(i&255)+h|0;if((k|0)>=(o|0)){g=0;q=73;break a}if(i<<24>>24){j=1;while(1){if((c[p+(j+h<<2)>>2]&59|4|0)!=4){g=0;q=73;break a}if((j|0)<(i&255|0))j=j+1|0;else break}}h=(f|0)==255?h:k;break}case 37:{if((n&393216|0)!=131072){g=0;q=73;break a}if(!k){i=c[p+(h+1<<2)>>2]|0;switch(i&63|0){case 34:case 30:case 29:case 28:break;default:{g=0;q=73;break a}}if(i>>>0>=8388608){g=0;q=73;break a}}if(((m>>>6&255)+-1+k|0)>(n>>>24|0)){g=0;q=73;break a}break}default:{}}while(0);if((q|0)==48){q=0;m=h+1+k|0;h=((m|0)>(e|0)|((f|0)==255|(h|0)>=(m|0))?0:k)+h|0}h=h+1|0;if((h|0)>=(e|0)){q=72;break}}if((q|0)==72){q=c[p+(g<<2)>>2]|0;return q|0}else if((q|0)==73)return g|0;return 0}function AEa(a){a=a|0;return (zEa(a,c[a+44>>2]|0,255)|0)!=0|0}function BEa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;j=i;i=i+32|0;c[j+24>>2]=0;h=c[37412+(c[b+8>>2]<<2)>>2]|0;f=c[a+20>>2]|0;e=c[f>>2]|0;g=c[f+8>>2]|0;a:do if(e>>>0>>0){while(1){if((e|0)==(b|0))break;e=e+16|0;if(e>>>0>=g>>>0)break a}e=yEa(a,f,b-(c[a+12>>2]|0)>>4,j+24|0)|0;if(e|0){b=c[j+24>>2]|0;c[j>>2]=d;c[j+4>>2]=e;c[j+8>>2]=b;c[j+12>>2]=h;CEa(a,514828,j);i=j;return}}while(0);c[j+16>>2]=d;c[j+16+4>>2]=h;CEa(a,514863,j+16|0);i=j;return}function CEa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0;h=i;i=i+96|0;c[h+16>>2]=e;g=EFa(b,d,h+16|0)|0;d=c[b+20>>2]|0;e=c[d+4>>2]|0;if((c[e+8>>2]|0)!=6){DEa(b);i=h;return}if(a[(c[e>>2]|0)+6>>0]|0){DEa(b);i=h;return}j=c[b+24>>2]|0;c[d+12>>2]=j;f=c[e>>2]|0;d=c[f+16>>2]|0;e=j-(c[d+12>>2]|0)|0;if((e|0)<4)d=-1;else{d=c[d+20>>2]|0;if(!d)d=0;else d=c[d+((e>>2)+-1<<2)>>2]|0}GFa(h+32|0,(c[(c[f+16>>2]|0)+32>>2]|0)+16|0,60);c[h>>2]=h+32;c[h+4>>2]=d;c[h+8>>2]=g;FFa(b,517091,h)|0;DEa(b);i=h;return}function DEa(a){a=a|0;var b=0,d=0,e=0;b=c[a+116>>2]|0;if(!b)HEa(a,2);b=(c[a+32>>2]|0)+b|0;if((c[b+8>>2]|0)!=6)HEa(a,5);d=c[a+8>>2]|0;e=c[d+-16+4>>2]|0;c[d>>2]=c[d+-16>>2];c[d+4>>2]=e;c[d+8>>2]=c[d+-8>>2];d=c[a+8>>2]|0;e=c[b+4>>2]|0;c[d+-16>>2]=c[b>>2];c[d+-16+4>>2]=e;c[d+-8>>2]=c[b+8>>2];b=c[a+8>>2]|0;if(((c[a+28>>2]|0)-b|0)<17){LEa(a,1);b=c[a+8>>2]|0}c[a+8>>2]=b+16;PEa(a,b+-16|0,1);HEa(a,2)}function EEa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+32|0;f=((c[b+8>>2]|0)+-3|0)>>>0<2?d:b;c[h+24>>2]=0;g=c[37412+(c[f+8>>2]<<2)>>2]|0;e=c[a+20>>2]|0;b=c[e>>2]|0;d=c[e+8>>2]|0;a:do if(b>>>0>>0){while(1){if((b|0)==(f|0))break;b=b+16|0;if(b>>>0>=d>>>0)break a}b=yEa(a,e,f-(c[a+12>>2]|0)>>4,h+24|0)|0;if(b|0){f=c[h+24>>2]|0;c[h>>2]=514888;c[h+4>>2]=b;c[h+8>>2]=f;c[h+12>>2]=g;CEa(a,514828,h);i=h;return}}while(0);c[h+16>>2]=514888;c[h+16+4>>2]=g;CEa(a,514863,h+16|0);i=h;return}function FEa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+48|0;f=(BGa(b,h)|0)==0;f=f?b:d;c[h+40>>2]=0;g=c[37412+(c[f+8>>2]<<2)>>2]|0;e=c[a+20>>2]|0;b=c[e>>2]|0;d=c[e+8>>2]|0;a:do if(b>>>0>>0){while(1){if((b|0)==(f|0))break;b=b+16|0;if(b>>>0>=d>>>0)break a}b=yEa(a,e,f-(c[a+12>>2]|0)>>4,h+40|0)|0;if(b|0){f=c[h+40>>2]|0;c[h+16>>2]=514900;c[h+16+4>>2]=b;c[h+16+8>>2]=f;c[h+16+12>>2]=g;CEa(a,514828,h+16|0);i=h;return}}while(0);c[h+32>>2]=514900;c[h+32+4>>2]=g;CEa(a,514863,h+32|0);i=h;return}function GEa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;g=i;i=i+16|0;f=c[37412+(c[d+8>>2]<<2)>>2]|0;d=c[37412+(c[e+8>>2]<<2)>>2]|0;if((a[f+2>>0]|0)==(a[d+2>>0]|0)){c[g>>2]=f;CEa(b,514922,g);i=g;return 0}else{c[g+8>>2]=f;c[g+8+4>>2]=d;CEa(b,514955,g+8|0);i=g;return 0}return 0}function HEa(d,e){d=d|0;e=e|0;var f=0,g=0;f=c[d+112>>2]|0;if(f|0){c[f+160>>2]=e;rg((c[d+112>>2]|0)+4|0,1)}a[d+6>>0]=e;if(!(c[(c[d+16>>2]|0)+88>>2]|0))lh(1);f=c[d+40>>2]|0;c[d+20>>2]=f;f=c[f>>2]|0;c[d+12>>2]=f;bFa(d,f);f=c[d+12>>2]|0;switch(e|0){case 4:{c[f>>2]=fGa(d,516068,17)|0;c[f+8>>2]=4;break}case 5:{c[f>>2]=fGa(d,514985,23)|0;c[f+8>>2]=4;break}case 2:case 3:{e=c[d+8>>2]|0;g=c[e+-16+4>>2]|0;c[f>>2]=c[e+-16>>2];c[f+4>>2]=g;c[f+8>>2]=c[e+-8>>2];break}default:{}}c[d+8>>2]=f+16;b[d+52>>1]=b[d+54>>1]|0;a[d+57>>0]=1;f=c[d+48>>2]|0;if((f|0)>2e4){e=c[d+40>>2]|0;if(((((c[d+20>>2]|0)-e|0)/24|0)+1|0)<2e4){g=xFa(d,e,f*24|0,48e4)|0;c[d+40>>2]=g;c[d+48>>2]=2e4;c[d+20>>2]=g+((((c[d+20>>2]|0)-e|0)/24|0)*24|0);c[d+36>>2]=g+479976}}c[d+116>>2]=0;c[d+112>>2]=0;vi[c[(c[d+16>>2]|0)+88>>2]&2047](d)|0;lh(1)}function IEa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0;k=i;i=i+176|0;g=4;h=Vpb(40)|0;c[h>>2]=0;c[k+160>>2]=0;c[k>>2]=c[a+112>>2];c[a+112>>2]=k;g=kBb(k+4|0,1,h|0,g|0)|0;h=C;n=0;e=n;n=0;if((e|0)!=0&(o|0)!=0){f=lBb(c[e>>2]|0,g|0,h|0)|0;if(!f)rg(e|0,o|0);C=o}else f=-1;if((f|0)==1)e=C;else e=0;while(1){if(e|0){j=6;break}n=0;ja(b|0,a|0,d|0);e=n;n=0;if((e|0)!=0&(o|0)!=0){f=lBb(c[e>>2]|0,g|0,h|0)|0;if(!f)rg(e|0,o|0);C=o}else f=-1;if((f|0)==1)e=C;else break}if((j|0)==6){j=c[k>>2]|0;c[a+112>>2]=j;j=c[k+160>>2]|0;Wpb(g|0);i=k;return j|0}j=c[k>>2]|0;c[a+112>>2]=j;j=c[k+160>>2]|0;Wpb(g|0);i=k;return j|0}function JEa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;f=c[a+32>>2]|0;if((b+7|0)>>>0<268435456){d=a+44|0;e=xFa(a,f,c[a+44>>2]<<4,b+6<<4)|0}else{d=a+44|0;e=yFa(a)|0}c[a+32>>2]=e;c[d>>2]=b+6;c[a+28>>2]=e+(b<<4);c[a+8>>2]=e+((c[a+8>>2]|0)-f>>4<<4);d=c[a+104>>2]|0;if(d|0)do{b=d+8|0;c[b>>2]=e+((c[b>>2]|0)-f>>4<<4);d=c[d>>2]|0}while((d|0)!=0);d=c[a+40>>2]|0;b=c[a+20>>2]|0;if(d>>>0>b>>>0){e=a+12|0;b=c[e>>2]|0;f=b-f|0;f=f>>4;a=c[a+32>>2]|0;a=a+(f<<4)|0;c[e>>2]=a;return}e=c[a+32>>2]|0;do{g=d+8|0;c[g>>2]=e+((c[g>>2]|0)-f>>4<<4);c[d>>2]=e+((c[d>>2]|0)-f>>4<<4);g=d+4|0;c[g>>2]=e+((c[g>>2]|0)-f>>4<<4);d=d+24|0}while(d>>>0<=b>>>0);g=a+12|0;e=c[g>>2]|0;f=e-f|0;f=f>>4;a=c[a+32>>2]|0;a=a+(f<<4)|0;c[g>>2]=a;return}function KEa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;e=c[a+40>>2]|0;if((b+1|0)>>>0<178956971){d=a+48|0;f=xFa(a,e,(c[a+48>>2]|0)*24|0,b*24|0)|0}else{d=a+48|0;f=yFa(a)|0}c[a+40>>2]=f;c[d>>2]=b;c[a+20>>2]=f+((((c[a+20>>2]|0)-e|0)/24|0)*24|0);c[a+36>>2]=f+(b*24|0)+-24;return}function LEa(a,b){a=a|0;b=b|0;var d=0;d=c[a+44>>2]|0;if((d|0)<(b|0)){JEa(a,d+b|0);return}else{JEa(a,d<<1);return}}function MEa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0;l=i;i=i+112|0;g=c[b+68>>2]|0;if(!g){i=l;return}if(!(a[b+57>>0]|0)){i=l;return}j=c[b+8>>2]|0;k=c[b+32>>2]|0;f=c[b+20>>2]|0;h=(c[f+8>>2]|0)-k|0;c[l>>2]=d;c[l+20>>2]=e;if((d|0)==4)f=0;else f=(f-(c[b+40>>2]|0)|0)/24|0;c[l+96>>2]=f;do if(((c[b+28>>2]|0)-j|0)<321){f=c[b+44>>2]|0;if((f|0)<20){JEa(b,f+20|0);break}else{JEa(b,f<<1);break}}while(0);c[(c[b+20>>2]|0)+8>>2]=(c[b+8>>2]|0)+320;a[b+57>>0]=0;si[g&511](b,l);a[b+57>>0]=1;g=c[b+32>>2]|0;c[(c[b+20>>2]|0)+8>>2]=g+h;c[b+8>>2]=g+(j-k);i=l;return}function NEa(e,f,g){e=e|0;f=f|0;g=g|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;t=i;i=i+112|0;if((c[f+8>>2]|0)==6){j=f;r=e+32|0;s=e+32|0}else{k=xGa(e,f,16)|0;l=f-(c[e+32>>2]|0)|0;if((c[k+8>>2]|0)!=6)BEa(e,f,518208);j=c[e+8>>2]|0;if(j>>>0>f>>>0){do{s=j;j=j+-16|0;q=j;r=c[q+4>>2]|0;c[s>>2]=c[q>>2];c[s+4>>2]=r;c[s+8>>2]=c[s+-8>>2]}while(j>>>0>f>>>0);j=c[e+8>>2]|0}do if(((c[e+28>>2]|0)-j|0)<17){j=c[e+44>>2]|0;if((j|0)<1){JEa(e,j+1|0);break}else{JEa(e,j<<1);break}}while(0);c[e+8>>2]=(c[e+8>>2]|0)+16;j=(c[e+32>>2]|0)+l|0;r=c[k+4>>2]|0;c[j>>2]=c[k>>2];c[j+4>>2]=r;c[j+8>>2]=c[k+8>>2];r=e+32|0;s=e+32|0}p=j-(c[r>>2]|0)|0;j=c[j>>2]|0;c[(c[e+20>>2]|0)+12>>2]=c[e+24>>2];if(a[j+6>>0]|0){do if(((c[e+28>>2]|0)-(c[e+8>>2]|0)|0)<321){j=c[e+44>>2]|0;if((j|0)<20){JEa(e,j+20|0);break}else{JEa(e,j<<1);break}}while(0);j=c[e+20>>2]|0;if((j|0)==(c[e+36>>2]|0)){f=c[e+48>>2]|0;if((f|0)>2e4)HEa(e,5);j=c[e+40>>2]|0;if((f<<1|1)>>>0<178956971)k=xFa(e,j,f*24|0,f*48|0)|0;else k=yFa(e)|0;c[e+40>>2]=k;c[e+48>>2]=f<<1;j=k+((((c[e+20>>2]|0)-j|0)/24|0)*24|0)|0;c[e+20>>2]=j;c[e+36>>2]=k+((f<<1)*24|0)+-24;if((f<<1|0)>2e4){CEa(e,515009,t+8|0);f=c[e+20>>2]|0}else f=j}else f=j;j=f+24|0;c[e+20>>2]=j;m=c[s>>2]|0;c[f+28>>2]=m+p;c[j>>2]=m+p+16;c[e+12>>2]=m+p+16;l=c[e+8>>2]|0;c[f+32>>2]=l+320;c[f+40>>2]=g;f=b[e+56>>1]|0;if(f&1){k=c[e+68>>2]|0;if(k)if((f&65535)>=256){c[t+12>>2]=0;c[t+12+20>>2]=-1;c[t+12+96>>2]=(j-(c[e+40>>2]|0)|0)/24|0;do if(((c[e+28>>2]|0)-l|0)<321){j=c[e+44>>2]|0;if((j|0)<20){JEa(e,j+20|0);break}else{JEa(e,j<<1);break}}while(0);c[(c[e+20>>2]|0)+8>>2]=(c[e+8>>2]|0)+320;a[e+57>>0]=0;si[k&511](e,t+12|0);a[e+57>>0]=1;s=c[s>>2]|0;j=c[e+20>>2]|0;c[j+8>>2]=s+(l+320-m);c[e+8>>2]=s+(l-m)}}j=vi[c[(c[c[j+4>>2]>>2]|0)+16>>2]&2047](e)|0;if((j|0)<0){e=2;i=t;return e|0}OEa(e,(c[e+8>>2]|0)+(0-j<<4)|0)|0;e=1;i=t;return e|0}q=c[j+16>>2]|0;j=d[q+75>>0]|0;do if(((c[e+28>>2]|0)-(c[e+8>>2]|0)|0)<=(j<<4|0)){f=c[e+44>>2]|0;if((f|0)<(j|0)){JEa(e,f+j|0);break}else{JEa(e,f<<1);break}}while(0);k=(c[s>>2]|0)+p|0;if(!(a[q+74>>0]|0)){j=k+16+(d[q+73>>0]<<4)|0;if((c[e+8>>2]|0)>>>0>j>>>0){c[e+8>>2]=j;m=k;l=k+16|0}else{m=k;l=k+16|0}}else{l=c[e+8>>2]|0;o=a[q+73>>0]|0;if((o&255|0)<(l-k>>4|0)){n=(l-k>>4)+-1|0;j=l;f=l}else{j=(l-k>>4)+-1|0;f=l;while(1){c[f+8>>2]=0;j=j+1|0;if((j|0)==(o&255|0))break;else f=f+16|0}f=l+((o&255)-((l-k>>4)+-1)<<4)|0;c[e+8>>2]=f;n=o&255;j=f}k=b[q+74>>1]|0;if(!(k&4)){l=j;f=0}else{m=n-(o&255)|0;l=c[e+16>>2]|0;if((c[l+68>>2]|0)>>>0<(c[l+64>>2]|0)>>>0){l=f;j=(k&65535)>>>8&255}else{lFa(e);l=c[e+8>>2]|0;j=a[q+75>>0]|0}f=j&255;do if(((c[e+28>>2]|0)-l|0)<=(f<<4|0)){j=c[e+44>>2]|0;if((j|0)<(f|0)){JEa(e,j+f|0);break}else{JEa(e,j<<1);break}}while(0);f=nGa(e,m,1)|0;if((m|0)>0){j=0;do{k=(c[e+8>>2]|0)+(0-m<<4)+(j<<4)|0;j=j+1|0;l=sGa(e,f,j)|0;u=c[k+4>>2]|0;c[l>>2]=c[k>>2];c[l+4>>2]=u;c[l+8>>2]=c[k+8>>2]}while((j|0)!=(m|0))}l=tGa(e,f,fGa(e,516617,1)|0)|0;h[l>>3]=+(m|0);c[l+8>>2]=3;l=c[e+8>>2]|0}j=0-n|0;k=l+(j<<4)|0;if(o<<24>>24){c[e+8>>2]=l+16;n=c[k+4>>2]|0;u=l;c[u>>2]=c[k>>2];c[u+4>>2]=n;u=l+(j<<4)+8|0;c[l+8>>2]=c[u>>2];c[u>>2]=0;if(o<<24>>24!=1){j=1;do{n=c[e+8>>2]|0;u=k+(j<<4)|0;c[e+8>>2]=n+16;m=c[u+4>>2]|0;c[n>>2]=c[u>>2];c[n+4>>2]=m;c[n+8>>2]=c[u+8>>2];c[u+8>>2]=0;j=j+1|0}while((j|0)!=(o&255|0))}}if(f|0){u=c[e+8>>2]|0;c[e+8>>2]=u+16;c[u>>2]=f;c[u+8>>2]=5}m=(c[s>>2]|0)+p|0}j=c[e+20>>2]|0;if((j|0)==(c[e+36>>2]|0)){f=c[e+48>>2]|0;if((f|0)>2e4)HEa(e,5);j=c[e+40>>2]|0;if((f<<1|1)>>>0<178956971)k=xFa(e,j,f*24|0,f*48|0)|0;else k=yFa(e)|0;c[e+40>>2]=k;c[e+48>>2]=f<<1;j=k+((((c[e+20>>2]|0)-j|0)/24|0)*24|0)|0;c[e+20>>2]=j;c[e+36>>2]=k+((f<<1)*24|0)+-24;if((f<<1|0)>2e4){CEa(e,515009,t);j=c[e+20>>2]|0}}o=j+24|0;c[e+20>>2]=o;c[j+28>>2]=m;c[o>>2]=l;c[e+12>>2]=l;f=l+(d[q+75>>0]<<4)|0;k=j+32|0;c[k>>2]=f;n=c[q+12>>2]|0;c[e+24>>2]=n;c[j+44>>2]=0;c[j+40>>2]=g;j=c[e+8>>2]|0;if(j>>>0>>0){f=c[k>>2]|0;do{c[j+8>>2]=0;j=j+16|0}while(j>>>0>>0);j=f}else j=f;m=j;c[e+8>>2]=j;f=b[e+56>>1]|0;k=j;if(!(f&1)){u=0;i=t;return u|0}c[e+24>>2]=n+4;l=c[e+68>>2]|0;if(!l)j=n+4|0;else if((f&65535)<256)j=n+4|0;else{f=c[r>>2]|0;c[t+12>>2]=0;c[t+12+20>>2]=-1;c[t+12+96>>2]=(o-(c[e+40>>2]|0)|0)/24|0;do if(((c[e+28>>2]|0)-k|0)<321){j=c[e+44>>2]|0;if((j|0)<20){JEa(e,j+20|0);break}else{JEa(e,j<<1);break}}while(0);c[(c[e+20>>2]|0)+8>>2]=(c[e+8>>2]|0)+320;a[e+57>>0]=0;si[l&511](e,t+12|0);a[e+57>>0]=1;j=c[s>>2]|0;c[(c[e+20>>2]|0)+8>>2]=j+(m-f);c[e+8>>2]=j+(k-f);j=c[e+24>>2]|0}c[e+24>>2]=j+-4;u=0;i=t;return u|0}function OEa(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+112|0;f=b[d+56>>1]|0;if(!(f&2)){f=d+20|0;h=c[d+20>>2]|0}else{m=c[d+32>>2]|0;j=c[d+68>>2]|0;if(!j){f=m;j=m}else if((f&65535)<256){f=m;j=m}else{f=c[d+8>>2]|0;l=c[d+20>>2]|0;g=(c[l+8>>2]|0)-m|0;c[o>>2]=1;c[o+20>>2]=-1;c[o+96>>2]=(l-(c[d+40>>2]|0)|0)/24|0;do if(((c[d+28>>2]|0)-f|0)<321){h=c[d+44>>2]|0;if((h|0)<20){JEa(d,h+20|0);break}else{JEa(d,h<<1);break}}while(0);c[(c[d+20>>2]|0)+8>>2]=(c[d+8>>2]|0)+320;a[d+57>>0]=0;si[j&511](d,o);a[d+57>>0]=1;j=c[d+32>>2]|0;c[(c[d+20>>2]|0)+8>>2]=j+g;c[d+8>>2]=j+(f-m);f=j}h=c[d+20>>2]|0;a:do if(!(a[(c[c[h+4>>2]>>2]|0)+6>>0]|0)){g=b[d+56>>1]|0;if(g&2){g=(g&65535)>>>8&255;k=j;while(1){j=h+20|0;l=c[j>>2]|0;c[j>>2]=l+-1;if(!l)break a;l=c[d+68>>2]|0;if(g<<24>>24==0|(l|0)==0)j=k;else{g=c[d+8>>2]|0;j=g-k|0;f=(c[h+8>>2]|0)-k|0;c[o>>2]=4;c[o+20>>2]=-1;c[o+96>>2]=0;do if(((c[d+28>>2]|0)-g|0)<321){g=c[d+44>>2]|0;if((g|0)<20){JEa(d,g+20|0);break}else{JEa(d,g<<1);break}}while(0);c[(c[d+20>>2]|0)+8>>2]=(c[d+8>>2]|0)+320;a[d+57>>0]=0;si[l&511](d,o);a[d+57>>0]=1;l=c[d+32>>2]|0;h=c[d+20>>2]|0;c[h+8>>2]=l+f;c[d+8>>2]=l+j;f=l;j=l}g=b[d+56>>1]|0;if(!(g&2))break;else{g=(g&65535)>>>8&255;k=j}}}}while(0);e=f+(e-m)|0;f=d+20|0}m=h+-24|0;c[f>>2]=m;g=c[h+4>>2]|0;j=c[h+16>>2]|0;c[d+12>>2]=c[m>>2];c[d+24>>2]=c[h+-12>>2];if(!j){n=g;c[d+8>>2]=n;d=j+1|0;i=o;return d|0}else h=j;while(1){if(e>>>0>=(c[d+8>>2]|0)>>>0){f=h;break}f=g+16|0;k=e;l=c[k+4>>2]|0;m=g;c[m>>2]=c[k>>2];c[m+4>>2]=l;c[g+8>>2]=c[e+8>>2];h=h+-1|0;if(!h){n=27;break}else{e=e+16|0;g=f}}if((n|0)==27){c[d+8>>2]=f;d=j+1|0;i=o;return d|0}if((f|0)>0)h=f;else{n=g;c[d+8>>2]=n;d=j+1|0;i=o;return d|0}while(1){f=g+16|0;c[g+8>>2]=0;if((h|0)>1){h=h+-1|0;g=f}else break}c[d+8>>2]=f;d=j+1|0;i=o;return d|0}function PEa(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0;g=i;i=i+16|0;f=(b[a+52>>1]|0)+1<<16>>16;b[a+52>>1]=f;do if((f&65535)>199){if(f<<16>>16==200){CEa(a,515024,g);break}if((f&65535)>224)HEa(a,5)}while(0);if(!(NEa(a,d,e)|0))IGa(a,1);b[a+52>>1]=(b[a+52>>1]|0)+-1<<16>>16;e=c[a+16>>2]|0;if((c[e+68>>2]|0)>>>0<(c[e+64>>2]|0)>>>0){i=g;return}lFa(a);i=g;return}function QEa(e,f){e=e|0;f=f|0;var g=0,h=0;switch(a[e+6>>0]|0){case 1:break;case 0:{g=c[e+20>>2]|0;if((g|0)!=(c[e+40>>2]|0))h=4;break}default:{g=c[e+20>>2]|0;h=4}}if((h|0)==4){h=c[g>>2]|0;c[e+8>>2]=h;c[h>>2]=fGa(e,515041,37)|0;c[h+8>>2]=4;do if(((c[e+28>>2]|0)-(c[e+8>>2]|0)|0)<17){g=c[e+44>>2]|0;if((g|0)<1){JEa(e,g+1|0);break}else{JEa(e,g<<1);break}}while(0);c[e+8>>2]=(c[e+8>>2]|0)+16;e=2;return e|0}g=b[e+52>>1]|0;if((g&65535)>199){h=c[c[e+20>>2]>>2]|0;c[e+8>>2]=h;c[h>>2]=fGa(e,515024,16)|0;c[h+8>>2]=4;do if(((c[e+28>>2]|0)-(c[e+8>>2]|0)|0)<17){g=c[e+44>>2]|0;if((g|0)<1){JEa(e,g+1|0);break}else{JEa(e,g<<1);break}}while(0);c[e+8>>2]=(c[e+8>>2]|0)+16;e=2;return e|0}b[e+52>>1]=g+1<<16>>16;b[e+54>>1]=g+1<<16>>16;g=IEa(e,214,(c[e+8>>2]|0)+(0-f<<4)|0)|0;if(!g)g=d[e+6>>0]|0;else{a[e+6>>0]=g;f=c[e+8>>2]|0;switch(g|0){case 4:{c[f>>2]=fGa(e,516068,17)|0;c[f+8>>2]=4;break}case 5:{c[f>>2]=fGa(e,514985,23)|0;c[f+8>>2]=4;break}case 2:case 3:{h=c[f+-16+4>>2]|0;c[f>>2]=c[f+-16>>2];c[f+4>>2]=h;c[f+8>>2]=c[f+-8>>2];break}default:{}}c[e+8>>2]=f+16;c[(c[e+20>>2]|0)+8>>2]=f+16}b[e+52>>1]=(b[e+52>>1]|0)+-1<<16>>16;e=g;return e|0}function REa(b,d){b=b|0;d=d|0;var e=0;do if(!(a[b+6>>0]|0)){if(NEa(b,d+-16|0,-1)|0)return}else{e=c[b+20>>2]|0;a[b+6>>0]=0;if(!(a[(c[c[e+4>>2]>>2]|0)+6>>0]|0)){c[b+12>>2]=c[e>>2];break}if(OEa(b,d)|0)c[b+8>>2]=c[(c[b+20>>2]|0)+8>>2]}while(0);IGa(b,((c[b+20>>2]|0)-(c[b+40>>2]|0)|0)/24|0);return}function SEa(b,d){b=b|0;d=d|0;var e=0,f=0;e=i;i=i+16|0;f=c[b+52>>2]|0;if((f&65535)>(f>>>16&65535))CEa(b,515079,e);c[b+12>>2]=(c[b+8>>2]|0)+(0-d<<4);a[b+6>>0]=1;i=e;return -1}function TEa(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0;i=b[d+52>>1]|0;k=c[d+20>>2]|0;l=c[d+40>>2]|0;j=a[d+57>>0]|0;m=c[d+116>>2]|0;c[d+116>>2]=h;f=IEa(d,e,f)|0;if(!f){c[d+116>>2]=m;return f|0}h=(c[d+32>>2]|0)+g|0;bFa(d,h);switch(f|0){case 4:{c[h>>2]=fGa(d,516068,17)|0;c[h+8>>2]=4;break}case 5:{c[h>>2]=fGa(d,514985,23)|0;c[h+8>>2]=4;break}case 2:case 3:{g=c[d+8>>2]|0;e=c[g+-16+4>>2]|0;c[h>>2]=c[g+-16>>2];c[h+4>>2]=e;c[h+8>>2]=c[g+-8>>2];break}default:{}}c[d+8>>2]=h+16;b[d+52>>1]=i;e=c[d+40>>2]|0;c[d+20>>2]=e+(k-l);c[d+12>>2]=c[e+(k-l)>>2];c[d+24>>2]=c[e+(k-l)+12>>2];a[d+57>>0]=j;h=c[d+48>>2]|0;if((h|0)<=2e4){c[d+116>>2]=m;return f|0}if((((k-l|0)/24|0)+1|0)>=2e4){c[d+116>>2]=m;return f|0}l=xFa(d,e,h*24|0,48e4)|0;c[d+40>>2]=l;c[d+48>>2]=2e4;c[d+20>>2]=l+((((c[d+20>>2]|0)-e|0)/24|0)*24|0);c[d+36>>2]=l+479976;c[d+116>>2]=m;return f|0}function UEa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+32|0;c[e>>2]=b;c[e+16>>2]=d;c[e+4>>2]=0;c[e+12>>2]=0;b=TEa(a,215,e,(c[a+8>>2]|0)-(c[a+32>>2]|0)|0,c[a+116>>2]|0)|0;xFa(a,c[e+4>>2]|0,c[e+12>>2]|0,0)|0;i=e;return b|0}function VEa(b,e){b=b|0;e=e|0;var f=0,g=0;f=KGa(c[e>>2]|0)|0;g=c[b+16>>2]|0;if((c[g+68>>2]|0)>>>0>=(c[g+64>>2]|0)>>>0)lFa(b);f=cj[((f|0)==27?79:80)&127](b,c[e>>2]|0,e+4|0,c[e+16>>2]|0)|0;e=ZEa(b,d[f+72>>0]|0,c[b+72>>2]|0)|0;c[e+16>>2]=f;if(a[f+72>>0]|0){g=0;do{c[e+20+(g<<2)>>2]=_Ea(b)|0;g=g+1|0}while((g|0)<(d[f+72>>0]|0))}g=c[b+8>>2]|0;c[g>>2]=e;c[g+8>>2]=6;if(((c[b+28>>2]|0)-(c[b+8>>2]|0)|0)>=17){g=c[b+8>>2]|0;g=g+16|0;c[b+8>>2]=g;return}f=c[b+44>>2]|0;if((f|0)<1){JEa(b,f+1|0);g=c[b+8>>2]|0;g=g+16|0;c[b+8>>2]=g;return}else{JEa(b,f<<1);g=c[b+8>>2]|0;g=g+16|0;c[b+8>>2]=g;return}}function WEa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=i;i=i+32|0;c[g>>2]=a;c[g+4>>2]=d;c[g+8>>2]=e;c[g+12>>2]=f;AGa(g+20|0);c[g+16>>2]=cj[d&127](a,g+20|0,12,e)|0;XEa(b,0,g);i=g;return c[g+16>>2]|0}function XEa(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;g=c[d+32>>2]|0;if((g|0)==(e|0))k=3;else if((g|0)==0|(c[f+12>>2]|0)!=0)k=3;else{c[o>>2]=(c[g+12>>2]|0)+1;e=c[f+16>>2]|0;if(!e){e=cj[c[f+4>>2]&127](c[f>>2]|0,o,4,c[f+8>>2]|0)|0;c[f+16>>2]=e;if(!e){e=cj[c[f+4>>2]&127](c[f>>2]|0,g+16|0,c[o>>2]|0,c[f+8>>2]|0)|0;c[f+16>>2]=e}}n=f+16|0}if((k|0)==3){c[o>>2]=0;e=c[f+16>>2]|0;if(!e){e=cj[c[f+4>>2]&127](c[f>>2]|0,o,4,c[f+8>>2]|0)|0;c[f+16>>2]=e}n=f+16|0}c[o>>2]=c[d+60>>2];if(!e){e=cj[c[f+4>>2]&127](c[f>>2]|0,o,4,c[f+8>>2]|0)|0;c[n>>2]=e}c[o>>2]=c[d+64>>2];if(!e){e=cj[c[f+4>>2]&127](c[f>>2]|0,o,4,c[f+8>>2]|0)|0;c[n>>2]=e}g=b[d+72>>1]|0;a[o>>0]=g;if(!e){e=cj[c[f+4>>2]&127](c[f>>2]|0,o,1,c[f+8>>2]|0)|0;c[n>>2]=e;a[o>>0]=a[d+73>>0]|0;if(!e){e=cj[c[f+4>>2]&127](c[f>>2]|0,o,1,c[f+8>>2]|0)|0;c[n>>2]=e}}else a[o>>0]=(g&65535)>>>8;g=b[d+74>>1]|0;a[o>>0]=g;if(!e){e=cj[c[f+4>>2]&127](c[f>>2]|0,o,1,c[f+8>>2]|0)|0;c[n>>2]=e;a[o>>0]=a[d+75>>0]|0;if(!e){e=cj[c[f+4>>2]&127](c[f>>2]|0,o,1,c[f+8>>2]|0)|0;c[n>>2]=e}}else a[o>>0]=(g&65535)>>>8;g=c[d+12>>2]|0;j=c[d+44>>2]|0;c[o>>2]=j;if(!e){e=cj[c[f+4>>2]&127](c[f>>2]|0,o,4,c[f+8>>2]|0)|0;c[n>>2]=e;if(!e){e=cj[c[f+4>>2]&127](c[f>>2]|0,g,j<<2,c[f+8>>2]|0)|0;c[n>>2]=e;g=c[d+40>>2]|0;c[o>>2]=g;if(!e){e=cj[c[f+4>>2]&127](c[f>>2]|0,o,4,c[f+8>>2]|0)|0;c[n>>2]=e}}else k=25}else k=25;if((k|0)==25){g=c[d+40>>2]|0;c[o>>2]=g}a:do if((g|0)>0){m=0;while(1){j=c[d+8>>2]|0;l=j+(m<<4)|0;j=j+(m<<4)+8|0;k=c[j>>2]|0;a[o>>0]=k;if(!e){e=cj[c[f+4>>2]&127](c[f>>2]|0,o,1,c[f+8>>2]|0)|0;c[n>>2]=e;k=c[j>>2]|0}b:do switch(k|0){case 4:{j=c[l>>2]|0;if(!j){c[o>>2]=0;if(!e){e=cj[c[f+4>>2]&127](c[f>>2]|0,o,4,c[f+8>>2]|0)|0;c[n>>2]=e}break b}c[o>>2]=(c[j+12>>2]|0)+1;if(!e){e=cj[c[f+4>>2]&127](c[f>>2]|0,o,4,c[f+8>>2]|0)|0;c[n>>2]=e;if(!e){e=cj[c[f+4>>2]&127](c[f>>2]|0,j+16|0,c[o>>2]|0,c[f+8>>2]|0)|0;c[n>>2]=e}}break}case 1:{a[o>>0]=c[l>>2];if(!e){e=cj[c[f+4>>2]&127](c[f>>2]|0,o,1,c[f+8>>2]|0)|0;c[n>>2]=e}break}case 3:{h[o>>3]=+h[l>>3];if(!e){e=cj[c[f+4>>2]&127](c[f>>2]|0,o,8,c[f+8>>2]|0)|0;c[n>>2]=e}break}default:{}}while(0);m=m+1|0;if((m|0)==(g|0))break a}}while(0);g=c[d+52>>2]|0;c[o>>2]=g;if(!e)c[n>>2]=cj[c[f+4>>2]&127](c[f>>2]|0,o,4,c[f+8>>2]|0)|0;if((g|0)>0){e=0;do{XEa(c[(c[d+16>>2]|0)+(e<<2)>>2]|0,c[d+32>>2]|0,f);e=e+1|0}while((e|0)!=(g|0))}if(!(c[f+12>>2]|0))j=c[d+48>>2]|0;else j=0;g=c[d+20>>2]|0;c[o>>2]=j;e=c[n>>2]|0;if(!e){e=cj[c[f+4>>2]&127](c[f>>2]|0,o,4,c[f+8>>2]|0)|0;c[n>>2]=e;if(!e){e=cj[c[f+4>>2]&127](c[f>>2]|0,g,j<<2,c[f+8>>2]|0)|0;c[n>>2]=e}}if(!(c[f+12>>2]|0))k=c[d+56>>2]|0;else k=0;c[o>>2]=k;if(!e){e=cj[c[f+4>>2]&127](c[f>>2]|0,o,4,c[f+8>>2]|0)|0;c[n>>2]=e}if((k|0)>0){j=0;do{g=c[(c[d+24>>2]|0)+(j*12|0)>>2]|0;if(!g){c[o>>2]=0;if(!e){e=cj[c[f+4>>2]&127](c[f>>2]|0,o,4,c[f+8>>2]|0)|0;c[n>>2]=e}}else{c[o>>2]=(c[g+12>>2]|0)+1;do if(!e){e=cj[c[f+4>>2]&127](c[f>>2]|0,o,4,c[f+8>>2]|0)|0;c[n>>2]=e;if(e|0)break;e=cj[c[f+4>>2]&127](c[f>>2]|0,g+16|0,c[o>>2]|0,c[f+8>>2]|0)|0;c[n>>2]=e}while(0)}g=c[d+24>>2]|0;c[o>>2]=c[g+(j*12|0)+4>>2];if(!e){e=cj[c[f+4>>2]&127](c[f>>2]|0,o,4,c[f+8>>2]|0)|0;c[n>>2]=e;g=c[d+24>>2]|0}c[o>>2]=c[g+(j*12|0)+8>>2];if(!e){e=cj[c[f+4>>2]&127](c[f>>2]|0,o,4,c[f+8>>2]|0)|0;c[n>>2]=e}j=j+1|0}while((j|0)!=(k|0))}if(!(c[f+12>>2]|0))k=c[d+36>>2]|0;else k=0;c[o>>2]=k;if(!e){e=cj[c[f+4>>2]&127](c[f>>2]|0,o,4,c[f+8>>2]|0)|0;c[n>>2]=e}if((k|0)<=0){i=o;return}j=0;do{g=c[(c[d+28>>2]|0)+(j<<2)>>2]|0;if(!g){c[o>>2]=0;if(!e){e=cj[c[f+4>>2]&127](c[f>>2]|0,o,4,c[f+8>>2]|0)|0;c[n>>2]=e}}else{c[o>>2]=(c[g+12>>2]|0)+1;do if(!e){e=cj[c[f+4>>2]&127](c[f>>2]|0,o,4,c[f+8>>2]|0)|0;c[n>>2]=e;if(e|0)break;e=cj[c[f+4>>2]&127](c[f>>2]|0,g+16|0,c[o>>2]|0,c[f+8>>2]|0)|0;c[n>>2]=e}while(0)}j=j+1|0}while((j|0)!=(k|0));i=o;return}function YEa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;f=xFa(b,0,0,(d<<4)+24|0)|0;uFa(b,f,6);a[f+6>>0]=1;c[f+12>>2]=e;a[f+7>>0]=d;return f|0}function ZEa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;f=xFa(b,0,0,(d<<2)+20|0)|0;uFa(b,f,6);a[f+6>>0]=0;c[f+12>>2]=e;a[f+7>>0]=d;if(!d)return f|0;hBb(f+20|0,0,d<<2|0)|0;return f|0}function _Ea(a){a=a|0;var b=0;b=xFa(a,0,0,32)|0;uFa(a,b,10);c[b+8>>2]=b+16;c[b+24>>2]=0;return b|0}function $Ea(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0;i=c[b+16>>2]|0;f=c[b+104>>2]|0;a:do if(!f)f=b+104|0;else{h=b+104|0;while(1){g=c[f+8>>2]|0;if(g>>>0>>0){f=h;break a}if((g|0)==(e|0))break;g=c[f>>2]|0;if(!g)break a;else{h=f;f=g}}g=d[f+5>>0]|0;if(!(g&3&((d[i+20>>0]|0)^3))){i=f;return i|0}a[f+5>>0]=g^3;i=f;return i|0}while(0);b=xFa(b,0,0,32)|0;a[b+4>>0]=10;a[b+5>>0]=(d[i+20>>0]|0)&3;c[b+8>>2]=e;c[b>>2]=c[f>>2];c[f>>2]=b;c[b+16>>2]=i+120;e=c[i+136+4>>2]|0;c[b+20>>2]=e;c[e+16>>2]=b;c[i+136+4>>2]=b;i=b;return i|0}function aFa(a,b){a=a|0;b=b|0;var d=0;if((c[b+8>>2]|0)==(b+16|0)){xFa(a,b,32,0)|0;return}d=c[b+16+4>>2]|0;c[d+16>>2]=c[b+16>>2];c[(c[b+16>>2]|0)+16+4>>2]=d;xFa(a,b,32,0)|0;return}function bFa(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0;e=c[a+104>>2]|0;if(!e)return;i=(c[a+16>>2]|0)+20|0;while(1){g=e+8|0;h=c[g>>2]|0;if(h>>>0>>0){e=10;break}c[a+104>>2]=c[e>>2];f=e+16|0;if(!((d[e+5>>0]|0)&3&((d[i>>0]|0)^3))){j=c[f+4>>2]|0;c[j+16>>2]=c[f>>2];c[(c[f>>2]|0)+16+4>>2]=j;j=c[h+4>>2]|0;c[f>>2]=c[h>>2];c[f+4>>2]=j;c[f+8>>2]=c[h+8>>2];c[g>>2]=f;vFa(a,e)}else{if((h|0)!=(f|0)){j=c[f+4>>2]|0;c[j+16>>2]=c[f>>2];c[(c[f>>2]|0)+16+4>>2]=j}xFa(a,e,32,0)|0}e=c[a+104>>2]|0;if(!e){e=10;break}}if((e|0)==10)return}function cFa(a){a=a|0;var b=0,d=0;d=xFa(a,0,0,76)|0;uFa(a,d,9);a=d+8|0;b=a+60|0;do{c[a>>2]=0;a=a+4|0}while((a|0)<(b|0));c[d+72>>2]=0;return d|0}function dFa(a,b){a=a|0;b=b|0;xFa(a,c[b+12>>2]|0,c[b+44>>2]<<2,0)|0;xFa(a,c[b+16>>2]|0,c[b+52>>2]<<2,0)|0;xFa(a,c[b+8>>2]|0,c[b+40>>2]<<4,0)|0;xFa(a,c[b+20>>2]|0,c[b+48>>2]<<2,0)|0;xFa(a,c[b+24>>2]|0,(c[b+56>>2]|0)*12|0,0)|0;xFa(a,c[b+28>>2]|0,c[b+36>>2]<<2,0)|0;xFa(a,b,76,0)|0;return}function eFa(a,c){a=a|0;c=c|0;var d=0;d=b[c+6>>1]|0;xFa(a,c,(d&255)<<24>>24==0?(((d&65535)>>>8&65535)<<2)+20|0:(((d&65535)>>>8&65535)<<4)+24|0,0)|0;return}function fFa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=c[a+56>>2]|0;if((e|0)<=0){f=0;return f|0}f=c[a+24>>2]|0;a=0;while(1){if((c[f+(a*12|0)+4>>2]|0)>(d|0)){a=0;b=8;break}if((c[f+(a*12|0)+8>>2]|0)>(d|0)){b=b+-1|0;if(!b){b=6;break}}a=a+1|0;if((a|0)>=(e|0)){a=0;b=8;break}}if((b|0)==6){f=(c[f+(a*12|0)>>2]|0)+16|0;return f|0}else if((b|0)==8)return a|0;return 0}function gFa(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=c[b+16>>2]|0;g=c[k+112>>2]|0;f=c[g>>2]|0;if(!f){l=0;return l|0}h=f;f=0;a:while(1){b:do if(!e){j=h;while(1){h=j+5|0;i=a[h>>0]|0;if(!((i&8)==0&(i&3)!=0)){g=j;break b}i=c[j+8>>2]|0;if(!i){g=j;l=17;break b}if(a[i+6>>0]&4){g=j;l=17;break b}if(!(wGa(i,2,c[(c[b+16>>2]|0)+196>>2]|0)|0)){g=j;l=17;break b}f=f+24+(c[j+16>>2]|0)|0;a[h>>0]=d[h>>0]|0|8;c[g>>2]=c[j>>2];h=c[k+48>>2]|0;if(!h)c[j>>2]=j;else{c[j>>2]=c[h>>2];c[h>>2]=j}c[k+48>>2]=j;j=c[g>>2]|0;if(!j){l=22;break a}}}else{j=h;while(1){h=j+5|0;if(a[h>>0]&8){g=j;break b}i=c[j+8>>2]|0;if(!i){g=j;l=17;break b}if(a[i+6>>0]&4){g=j;l=17;break b}if(!(wGa(i,2,c[(c[b+16>>2]|0)+196>>2]|0)|0)){g=j;l=17;break b}f=f+24+(c[j+16>>2]|0)|0;a[h>>0]=d[h>>0]|0|8;c[g>>2]=c[j>>2];h=c[k+48>>2]|0;if(!h)c[j>>2]=j;else{c[j>>2]=c[h>>2];c[h>>2]=j}c[k+48>>2]=j;j=c[g>>2]|0;if(!j){l=22;break a}}}while(0);if((l|0)==17){l=0;a[h>>0]=d[h>>0]|0|8}h=c[g>>2]|0;if(!h){l=22;break}}if((l|0)==22)return f|0;return 0}function hFa(a){a=a|0;if(!(c[(c[a+16>>2]|0)+48>>2]|0))return;do iFa(a);while((c[(c[a+16>>2]|0)+48>>2]|0)!=0);return}function iFa(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=c[b+16>>2]|0;e=c[f+48>>2]|0;g=c[e>>2]|0;if((g|0)==(e|0)){c[f+48>>2]=0;e=g}else{c[e>>2]=c[g>>2];e=g}h=c[f+112>>2]|0;c[e>>2]=c[h>>2];c[h>>2]=g;a[g+5>>0]=(d[f+20>>0]|0)&3|(d[g+5>>0]|0)&248;e=c[g+8>>2]|0;if(!e)return;if(a[e+6>>0]&4)return;e=wGa(e,2,c[f+196>>2]|0)|0;if(!e)return;i=a[b+57>>0]|0;h=c[f+64>>2]|0;a[b+57>>0]=0;c[f+64>>2]=c[f+68>>2]<<1;j=c[b+8>>2]|0;k=c[e+4>>2]|0;c[j>>2]=c[e>>2];c[j+4>>2]=k;c[j+8>>2]=c[e+8>>2];e=c[b+8>>2]|0;c[e+16>>2]=g;c[e+24>>2]=7;g=c[b+8>>2]|0;c[b+8>>2]=g+32;PEa(b,g,0);a[b+57>>0]=i;c[f+64>>2]=h;return}function jFa(b){b=b|0;var d=0,e=0;d=c[b+16>>2]|0;a[d+20>>0]=67;kFa(b,d+28|0,-3)|0;if((c[d+8>>2]|0)<=0)return;e=0;do{kFa(b,(c[d>>2]|0)+(e<<2)|0,-3)|0;e=e+1|0}while((e|0)<(c[d+8>>2]|0));return}function kFa(e,f,g){e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0;l=c[e+16>>2]|0;m=(d[l+20>>0]|0)^3;h=c[f>>2]|0;if(!h){e=f;return e|0}while(1){if(!g){g=20;break}g=g+-1|0;k=h+4|0;i=b[k>>1]|0;if((i&255)<<24>>24==8){kFa(e,h+104|0,-3)|0;i=h+5|0;j=i;i=a[i>>0]|0}else{j=h+5|0;i=(i&65535)>>>8&255}i=i&255;a:do if(!((i^3)&m)){c[f>>2]=c[h>>2];if((h|0)==(c[l+28>>2]|0))c[l+28>>2]=c[h>>2];switch(d[k>>0]|0|0){case 9:{dFa(e,h);break a}case 6:{eFa(e,h);break a}case 10:{aFa(e,h);break a}case 5:{oGa(e,h);break a}case 8:{$Fa(e,h);break a}case 4:{k=(c[e+16>>2]|0)+4|0;c[k>>2]=(c[k>>2]|0)+-1;xFa(e,h,(c[h+12>>2]|0)+17|0,0)|0;break a}case 7:{xFa(e,h,(c[h+16>>2]|0)+24|0,0)|0;break a}default:break a}}else{a[j>>0]=(d[l+20>>0]|0)&3|i&248;f=h}while(0);h=c[f>>2]|0;if(!h){g=20;break}}if((g|0)==20)return f|0;return 0}function lFa(b){b=b|0;var d=0,e=0,f=0;f=c[b+16>>2]|0;e=(c[f+84>>2]|0)*10|0;c[f+76>>2]=(c[f+68>>2]|0)-(c[f+64>>2]|0)+(c[f+76>>2]|0);e=(e|0)==0?2147483646:e;do{e=e-(mFa(b)|0)|0;d=(a[f+21>>0]|0)!=0}while(d&(e|0)>0);if(!d){c[f+64>>2]=_(((c[f+72>>2]|0)>>>0)/100|0,c[f+80>>2]|0)|0;return}d=c[f+76>>2]|0;if(d>>>0<1024){c[f+64>>2]=(c[f+68>>2]|0)+1024;return}else{c[f+76>>2]=d+-1024;c[f+64>>2]=c[f+68>>2];return}}function mFa(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=c[b+16>>2]|0;switch(d[q+21>>0]|0|0){case 0:{nFa(b);q=0;return q|0}case 1:{if(c[q+36>>2]|0){q=qFa(q)|0;return q|0}e=c[q+136+4>>2]|0;if((e|0)!=(q+120|0)){do{if(!(a[e+5>>0]&7)){f=c[e+8>>2]|0;if((c[f+8>>2]|0)>3){f=c[f>>2]|0;if(a[f+5>>0]&3)oFa(q,f)}}e=c[e+16+4>>2]|0}while((e|0)!=(q+120|0));if(c[q+36>>2]|0)do qFa(q)|0;while((c[q+36>>2]|0)!=0)}c[q+36>>2]=c[q+44>>2];c[q+44>>2]=0;if(a[b+5>>0]&3)oFa(q,b);pFa(q);if(c[q+36>>2]|0)do qFa(q)|0;while((c[q+36>>2]|0)!=0);o=c[q+40>>2]|0;c[q+36>>2]=o;c[q+40>>2]=0;if(o|0)do qFa(q)|0;while((c[q+36>>2]|0)!=0);o=gFa(b,0)|0;e=c[q+48>>2]|0;if(e|0)do{e=c[e>>2]|0;n=e+5|0;a[n>>0]=(d[q+20>>0]|0)&3|(d[n>>0]|0)&248;oFa(q,e)}while((e|0)!=(c[q+48>>2]|0));if(!(c[q+36>>2]|0))e=0;else{e=0;do e=(qFa(q)|0)+e|0;while((c[q+36>>2]|0)!=0)}f=c[q+44>>2]|0;if(f|0)do{g=c[f+28>>2]|0;if(!((g|0)==0|(a[f+5>>0]&16)==0)){k=c[f+12>>2]|0;do{g=g+-1|0;h=k+(g<<4)+8|0;i=c[h>>2]|0;do if((i|0)>3){b=(c[k+(g<<4)>>2]|0)+5|0;j=a[b>>0]|0;if((i|0)==4){a[b>>0]=j&252;break}if(!(j&3))if(!((i|0)==7&(j&8)!=0))break;c[h>>2]=0}while(0)}while((g|0)!=0)}j=c[f+16>>2]|0;b=1<<(d[f+7>>0]|0);do{b=b+-1|0;g=j+(b<<5)|0;k=j+(b<<5)+8|0;l=c[k>>2]|0;do if(l|0){m=j+(b<<5)+24|0;n=c[m>>2]|0;do if((n|0)>3){h=(c[j+(b<<5)+16>>2]|0)+5|0;i=a[h>>0]|0;if((n|0)==4){a[h>>0]=i&252;p=42;break}if(!(i&3))p=42;else c[k>>2]=0}else p=42;while(0);if((p|0)==42){p=0;if((l|0)<=3)break;g=(c[g>>2]|0)+5|0;h=a[g>>0]|0;if((l|0)==4){a[g>>0]=h&252;break}if(!(h&3))if(!((l|0)==7&(h&8)!=0))break;c[k>>2]=0;if((n|0)<=3)break}c[m>>2]=11}while(0)}while((b|0)!=0);f=c[f+24>>2]|0}while((f|0)!=0);a[q+20>>0]=(d[q+20>>0]|0)^3;c[q+24>>2]=0;c[q+32>>2]=q+28;a[q+21>>0]=2;c[q+72>>2]=(c[q+68>>2]|0)-(e+o);q=0;return q|0}case 2:{e=c[q+68>>2]|0;p=c[q+24>>2]|0;c[q+24>>2]=p+1;kFa(b,(c[q>>2]|0)+(p<<2)|0,-3)|0;if((c[q+24>>2]|0)>=(c[q+8>>2]|0))a[q+21>>0]=3;c[q+72>>2]=(c[q+68>>2]|0)-e+(c[q+72>>2]|0);q=10;return q|0}case 3:{h=c[q+68>>2]|0;p=kFa(b,c[q+32>>2]|0,40)|0;c[q+32>>2]=p;if(!(c[p>>2]|0)){i=c[b+16>>2]|0;e=c[i+8>>2]|0;if((e|0)>64?(c[i+4>>2]|0)>>>0<((e|0)/4|0)>>>0:0)eGa(b,(e|0)/2|0);g=c[i+60>>2]|0;if(g>>>0>64){if(((g>>>1)+1|0)>>>0<4294967294){f=i+52|0;e=xFa(b,c[i+52>>2]|0,g,g>>>1)|0}else{f=i+52|0;e=yFa(b)|0}c[f>>2]=e;c[i+60>>2]=g>>>1}a[q+21>>0]=4}c[q+72>>2]=(c[q+68>>2]|0)-h+(c[q+72>>2]|0);q=400;return q|0}case 4:{if(!(c[q+48>>2]|0)){a[q+21>>0]=0;c[q+76>>2]=0;q=0;return q|0}iFa(b);e=c[q+72>>2]|0;if(e>>>0<=100){q=100;return q|0}c[q+72>>2]=e+-100;q=100;return q|0}default:{q=0;return q|0}}return 0}function nFa(b){b=b|0;var d=0,e=0;e=c[b+16>>2]|0;c[e+36>>2]=0;c[e+40>>2]=0;c[e+44>>2]=0;d=c[e+112>>2]|0;if(a[d+5>>0]&3){oFa(e,d);d=c[e+112>>2]|0}if((c[d+80>>2]|0)>3){d=c[d+72>>2]|0;if(a[d+5>>0]&3)oFa(e,d)}d=c[b+16>>2]|0;if((c[d+104>>2]|0)<=3){pFa(e);e=e+21|0;a[e>>0]=1;return}d=c[d+96>>2]|0;if(!(a[d+5>>0]&3)){pFa(e);e=e+21|0;a[e>>0]=1;return}oFa(e,d);pFa(e);e=e+21|0;a[e>>0]=1;return}function oFa(b,e){b=b|0;e=e|0;var f=0,g=0,h=0;f=a[e+5>>0]|0;a:while(1){h=e+5|0;f=f&252;a[h>>0]=f;switch(d[e+4>>0]|0|0){case 9:{f=15;break a}case 10:{g=e;f=7;break a}case 6:{f=12;break a}case 5:{f=13;break a}case 8:{f=14;break a}case 7:break;default:{f=16;break a}}g=c[e+8>>2]|0;a[h>>0]=f|4;if(g|0)if(a[g+5>>0]&3)oFa(b,g);e=c[e+12>>2]|0;f=a[e+5>>0]|0;if(!(f&3)){f=16;break}}if((f|0)==7){e=c[g+8>>2]|0;if((c[e+8>>2]|0)>3){f=c[e>>2]|0;if(a[f+5>>0]&3){oFa(b,f);e=c[g+8>>2]|0}}if((e|0)!=(g+16|0))return;a[h>>0]=d[h>>0]|0|4;return}else if((f|0)==12){c[e+8>>2]=c[b+36>>2];c[b+36>>2]=e;return}else if((f|0)==13){c[e+24>>2]=c[b+36>>2];c[b+36>>2]=e;return}else if((f|0)==14){c[e+108>>2]=c[b+36>>2];c[b+36>>2]=e;return}else if((f|0)==15){c[e+68>>2]=c[b+36>>2];c[b+36>>2]=e;return}else if((f|0)==16)return}function pFa(b){b=b|0;var d=0;d=c[b+152>>2]|0;if(d|0)if(a[d+5>>0]&3)oFa(b,d);d=c[b+156>>2]|0;if(d|0)if(a[d+5>>0]&3)oFa(b,d);d=c[b+160>>2]|0;if(d|0)if(a[d+5>>0]&3)oFa(b,d);d=c[b+164>>2]|0;if(d|0)if(a[d+5>>0]&3)oFa(b,d);d=c[b+168>>2]|0;if(d|0)if(a[d+5>>0]&3)oFa(b,d);d=c[b+172>>2]|0;if(d|0)if(a[d+5>>0]&3)oFa(b,d);d=c[b+176>>2]|0;if(d|0)if(a[d+5>>0]&3)oFa(b,d);d=c[b+180>>2]|0;if(d|0)if(a[d+5>>0]&3)oFa(b,d);d=c[b+184>>2]|0;if(!d)return;if(!(a[d+5>>0]&3))return;oFa(b,d);return}function qFa(e){e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=c[e+36>>2]|0;a[p+5>>0]=d[p+5>>0]|0|4;f=b[p+4>>1]|0;switch(f&255|0){case 5:{c[e+36>>2]=c[p+24>>2];f=c[p+8>>2]|0;do if(!f){h=0;j=0;o=13}else{if(a[f+5>>0]&3){oFa(e,f);f=c[p+8>>2]|0;if(!f){h=0;j=0;o=13;break}}if(!(a[f+6>>0]&8)){f=wGa(f,3,c[e+200>>2]|0)|0;if(!f){h=0;j=0;o=13}else if((c[f+8>>2]|0)==4){g=(c[f>>2]|0)+16|0;f=(Unb(g,107)|0)!=0;g=(Unb(g,118)|0)!=0;if(f|g){a[p+5>>0]=(g&1)<<4|(f&1)<<3|(d[p+5>>0]|0)&231;c[p+24>>2]=c[e+44>>2];c[e+44>>2]=p}if(f&g){f=p+7|0;o=52;break}else if(g){h=f;i=1;j=f&1;n=g&1;o=19;break}else{h=f;j=f&1;o=13;break}}else{h=0;j=0;o=13}}else{h=0;j=0;o=13}}while(0);if((o|0)==13){f=c[p+28>>2]|0;if(!f){i=0;n=0;o=19}else{do{f=f+-1|0;g=c[p+12>>2]|0;if((c[g+(f<<4)+8>>2]|0)>3){g=c[g+(f<<4)>>2]|0;if(a[g+5>>0]&3)oFa(e,g)}}while((f|0)!=0);i=0;n=0;o=19}}if((o|0)==19){f=(1<<(d[p+7>>0]|0))+-1|0;a:do if(h){if(i){h=c[p+16>>2]|0;while(1){if(!(c[h+(f<<5)+8>>2]|0)){g=h+(f<<5)+24|0;if((c[g>>2]|0)>3)c[g>>2]=11}if(!f)break a;else f=f+-1|0}}else i=f;while(1){f=c[p+16>>2]|0;g=f+(i<<5)|0;h=c[f+(i<<5)+8>>2]|0;if(!h){f=f+(i<<5)+24|0;if((c[f>>2]|0)>3)c[f>>2]=11}else if((h|0)>3){f=c[g>>2]|0;if(a[f+5>>0]&3)oFa(e,f)}if(!i)break;else i=i+-1|0}}else{if(i){i=f;while(1){h=c[p+16>>2]|0;f=h+(i<<5)+24|0;g=(c[f>>2]|0)>3;if(!(c[h+(i<<5)+8>>2]|0)){if(g)c[f>>2]=11}else if(g){f=c[h+(i<<5)+16>>2]|0;if(a[f+5>>0]&3)oFa(e,f)}if(!i)break a;else i=i+-1|0}}else m=f;while(1){g=c[p+16>>2]|0;l=g+(m<<5)|0;k=g+(m<<5)+8|0;f=c[k>>2]|0;h=g+(m<<5)+24|0;i=(c[h>>2]|0)>3;if(!f){if(i)c[h>>2]=11}else{if(i){g=c[g+(m<<5)+16>>2]|0;if(a[g+5>>0]&3){oFa(e,g);f=c[k>>2]|0}}if((f|0)>3){f=c[l>>2]|0;if(a[f+5>>0]&3)oFa(e,f)}}if(!m)break;else m=m+-1|0}}while(0);if(!(n|j))f=p+7|0;else{f=p+7|0;o=52}}if((o|0)==52)a[p+5>>0]=(d[p+5>>0]|0)&251;p=(c[p+28>>2]<<4)+32+(32<<(d[f>>0]|0))|0;return p|0}case 6:{c[e+36>>2]=c[p+8>>2];f=c[p+12>>2]|0;if(a[f+5>>0]&3)oFa(e,f);g=b[p+6>>1]|0;if(!((g&255)<<24>>24)){f=c[p+16>>2]|0;if(!(a[f+5>>0]&3)){h=p+7|0;f=(g&65535)>>>8&255}else{oFa(e,f);h=p+7|0;f=a[p+7>>0]|0}if(f<<24>>24){g=0;do{f=c[p+20+(g<<2)>>2]|0;if(a[f+5>>0]&3)oFa(e,f);g=g+1|0}while((g|0)<(d[h>>0]|0|0))}}else if(((g&65535)>>>8&255)<<24>>24){f=(g&65535)>>>8&255;h=0;do{if((c[p+24+(h<<4)+8>>2]|0)>3){g=c[p+24+(h<<4)>>2]|0;if(a[g+5>>0]&3){oFa(e,g);f=a[p+7>>0]|0}}h=h+1|0}while((h|0)<(f&255|0))}f=b[p+6>>1]|0;if(!((f&255)<<24>>24)){p=(((f&65535)>>>8&65535)<<2)+20|0;return p|0}else{p=(((f&65535)>>>8&65535)<<4)+24|0;return p|0}}case 8:{c[e+36>>2]=c[p+108>>2];c[p+108>>2]=c[e+40>>2];c[e+40>>2]=p;a[p+5>>0]=(f&65535)>>>8&251;if((c[p+80>>2]|0)>3){f=c[p+72>>2]|0;if(a[f+5>>0]&3)oFa(e,f)}i=c[p+8>>2]|0;f=c[p+40>>2]|0;h=c[p+20>>2]|0;if(f>>>0>h>>>0)g=i;else{g=i;do{o=c[f+8>>2]|0;g=g>>>0>>0?o:g;f=f+24|0}while(f>>>0<=h>>>0)}f=c[p+32>>2]|0;if(f>>>0>>0)while(1){if((c[f+8>>2]|0)>3){h=c[f>>2]|0;if(!(a[h+5>>0]&3))h=i;else{oFa(e,h);h=c[p+8>>2]|0}}else h=i;f=f+16|0;if(f>>>0>>0)i=h;else break}if(f>>>0<=g>>>0)do{c[f+8>>2]=0;f=f+16|0}while(f>>>0<=g>>>0);g=g-(c[p+32>>2]|0)|0;f=c[p+48>>2]|0;if((f|0)>2e4)f=p+44|0;else{if((f|0)>16?((((c[p+20>>2]|0)-(c[p+40>>2]|0)|0)/24|0)<<2|0)<(f|0):0)KEa(p,(f|0)/2|0);f=c[p+44>>2]|0;if((g>>2|0)<(f|0)&(f|0)>90){JEa(p,(f|0)/2|0);f=p+44|0}else f=p+44|0}p=(c[f>>2]<<4)+120+((c[p+48>>2]|0)*24|0)|0;return p|0}case 9:{c[e+36>>2]=c[p+68>>2];f=c[p+32>>2]|0;if(f|0)a[f+5>>0]=(d[f+5>>0]|0)&252;f=c[p+40>>2]|0;if((f|0)>0){h=0;do{g=c[p+8>>2]|0;if((c[g+(h<<4)+8>>2]|0)>3){g=c[g+(h<<4)>>2]|0;if(a[g+5>>0]&3){oFa(e,g);f=c[p+40>>2]|0}}h=h+1|0}while((h|0)<(f|0))}f=c[p+36>>2]|0;if((f|0)>0){g=c[p+28>>2]|0;i=0;do{h=c[g+(i<<2)>>2]|0;if(h|0)a[h+5>>0]=(d[h+5>>0]|0)&252;i=i+1|0}while((i|0)!=(f|0))}f=c[p+52>>2]|0;if((f|0)>0){h=0;do{g=c[(c[p+16>>2]|0)+(h<<2)>>2]|0;if(g)if(a[g+5>>0]&3){oFa(e,g);f=c[p+52>>2]|0}h=h+1|0}while((h|0)<(f|0))}g=c[p+56>>2]|0;if((g|0)>0){h=c[p+24>>2]|0;j=0;do{i=c[h+(j*12|0)>>2]|0;if(i|0)a[i+5>>0]=(d[i+5>>0]|0)&252;j=j+1|0}while((j|0)!=(g|0))}p=(c[p+40>>2]<<4)+76+(g*12|0)+(f+(c[p+44>>2]|0)+(c[p+48>>2]|0)+(c[p+36>>2]|0)<<2)|0;return p|0}default:{p=0;return p|0}}return 0}function rFa(b){b=b|0;var d=0,e=0,f=0;d=c[b+16>>2]|0;e=a[d+21>>0]|0;if((e&255)<2){c[d+24>>2]=0;c[d+32>>2]=d+28;c[d+36>>2]=0;c[d+40>>2]=0;c[d+44>>2]=0;a[d+21>>0]=2;f=4}else if(e<<24>>24!=4)f=4;if((f|0)==4)while(1){mFa(b)|0;if((a[d+21>>0]|0)==4)break;else f=4}nFa(b);if(a[d+21>>0]|0)do mFa(b)|0;while((a[d+21>>0]|0)!=0);c[d+64>>2]=_(((c[d+72>>2]|0)>>>0)/100|0,c[d+80>>2]|0)|0;return}function sFa(b,e,f){b=b|0;e=e|0;f=f|0;b=c[b+16>>2]|0;if((a[b+21>>0]|0)==1){oFa(b,f);return}else{a[e+5>>0]=d[b+20>>0]&3|d[e+5>>0]&248;return}}function tFa(b,e){b=b|0;e=e|0;b=c[b+16>>2]|0;a[e+5>>0]=(d[e+5>>0]|0)&251;c[e+24>>2]=c[b+40>>2];c[b+40>>2]=e;return}function uFa(b,e,f){b=b|0;e=e|0;f=f|0;b=c[b+16>>2]|0;c[e>>2]=c[b+28>>2];c[b+28>>2]=e;a[e+5>>0]=(d[b+20>>0]|0)&3;a[e+4>>0]=f;return}function vFa(b,e){b=b|0;e=e|0;var f=0;f=c[b+16>>2]|0;c[e>>2]=c[f+28>>2];c[f+28>>2]=e;b=d[e+5>>0]|0;if(b&7|0)return;if((a[f+21>>0]|0)!=1){a[e+5>>0]=d[f+20>>0]&3|b&248;return}a[e+5>>0]=b|4;b=c[e+8>>2]|0;if((c[b+8>>2]|0)<=3)return;b=c[b>>2]|0;if(!(a[b+5>>0]&3))return;oFa(f,b);return}function wFa(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0;k=i;i=i+16|0;h=c[d>>2]|0;if((h|0)<((f|0)/2|0|0))f=(h<<1|0)<4?4:h<<1;else if((h|0)>=(f|0))CEa(a,g,k);if((f+1|0)>>>0>(4294967293/(e>>>0)|0)>>>0){CEa(a,515130,k+8|0);a=0;c[d>>2]=f;i=k;return a|0}j=_(c[d>>2]|0,e)|0;g=_(f,e)|0;e=c[a+16>>2]|0;h=cj[c[e+12>>2]&127](c[e+16>>2]|0,b,j,g)|0;if((g|0)!=0&(h|0)==0)HEa(a,4);c[e+68>>2]=g-j+(c[e+68>>2]|0);a=h;c[d>>2]=f;i=k;return a|0}function xFa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=c[a+16>>2]|0;b=cj[c[f+12>>2]&127](c[f+16>>2]|0,b,d,e)|0;if((e|0)!=0&(b|0)==0)HEa(a,4);else{c[f+68>>2]=e-d+(c[f+68>>2]|0);return b|0}return 0}function yFa(a){a=a|0;var b=0;b=i;i=i+16|0;CEa(a,515130,b);i=b;return 0}function zFa(a){a=a|0;var b=0;if(a>>>0>15){b=1;while(1){a=a+1|0;b=b+1|0;if(a>>>0>31)a=a>>>1;else break}a=a>>>1;b=b<<3}else b=8;return (a>>>0<8?a:b|a+-8)|0}function AFa(a){a=a|0;if(!(a>>>3&31))return a|0;a=(a&7|8)<<(a>>>3&31)+-1;return a|0}function BFa(a){a=a|0;var b=0,c=0;if(a>>>0>255){c=a;b=-1;while(1){b=b+8|0;a=c>>>8;if(c>>>0>65535)c=a;else break}}else b=-1;return (d[515169+a>>0]|0)+b|0}function CFa(a,b){a=a|0;b=b|0;var d=0;d=c[a+8>>2]|0;a:do if((d|0)==(c[b+8>>2]|0))switch(d|0){case 0:{d=1;break a}case 3:{d=+h[a>>3]==+h[b>>3];break a}case 1:{d=(c[a>>2]|0)==(c[b>>2]|0);break a}case 2:{d=(c[a>>2]|0)==(c[b>>2]|0);break a}default:{d=(c[a>>2]|0)==(c[b>>2]|0);break a}}else d=0;while(0);return d&1|0}function DFa(b,e){b=b|0;e=e|0;var f=0,g=0,j=0;j=i;i=i+16|0;h[e>>3]=+Fpb(b,j);f=c[j>>2]|0;if((f|0)==(b|0)){b=0;i=j;return b|0}g=a[f>>0]|0;switch(g<<24>>24){case 88:case 120:{h[e>>3]=+((fmb(b,j,16)|0)>>>0);g=c[j>>2]|0;f=g;g=a[g>>0]|0;break}default:{}}if(!(g<<24>>24)){b=1;i=j;return b|0}if(cmb(g&255)|0){do f=f+1|0;while((cmb(d[f>>0]|0)|0)!=0);c[j>>2]=f}b=(a[f>>0]|0)==0&1;i=j;return b|0}function EFa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,j=0,k=0,l=0,m=0,n=0.0;l=i;i=i+32|0;f=c[b+8>>2]|0;c[f>>2]=fGa(b,1279070,0)|0;c[f+8>>2]=4;f=c[b+8>>2]|0;if(((c[b+28>>2]|0)-f|0)<17){LEa(b,1);f=c[b+8>>2]|0}f=f+16|0;c[b+8>>2]=f;g=Unb(d,37)|0;a:do if(!g)g=1;else{k=g;g=1;while(1){c[f>>2]=fGa(b,d,k-d|0)|0;c[f+8>>2]=4;f=c[b+8>>2]|0;if(((c[b+28>>2]|0)-f|0)<17){LEa(b,1);f=c[b+8>>2]|0}d=f+16|0;c[b+8>>2]=d;j=k+1|0;switch(a[j>>0]|0){case 115:{f=(c[e>>2]|0)+(4-1)&~(4-1);j=c[f>>2]|0;c[e>>2]=f+4;j=(j|0)==0?616577:j;f=c[b+8>>2]|0;c[f>>2]=fGa(b,j,rnb(j)|0)|0;c[f+8>>2]=4;f=c[b+8>>2]|0;if(((c[b+28>>2]|0)-f|0)<17){LEa(b,1);f=c[b+8>>2]|0}f=f+16|0;c[b+8>>2]=f;break}case 99:{j=(c[e>>2]|0)+(4-1)&~(4-1);f=c[j>>2]|0;c[e>>2]=j+4;a[l+8>>0]=f;a[l+8+1>>0]=0;f=c[b+8>>2]|0;c[f>>2]=fGa(b,l+8|0,rnb(l+8|0)|0)|0;c[f+8>>2]=4;f=c[b+8>>2]|0;if(((c[b+28>>2]|0)-f|0)<17){LEa(b,1);f=c[b+8>>2]|0}f=f+16|0;c[b+8>>2]=f;break}case 100:{m=(c[e>>2]|0)+(4-1)&~(4-1);j=c[m>>2]|0;c[e>>2]=m+4;h[d>>3]=+(j|0);c[f+24>>2]=3;f=c[b+8>>2]|0;if(((c[b+28>>2]|0)-f|0)<17){LEa(b,1);f=c[b+8>>2]|0}f=f+16|0;c[b+8>>2]=f;break}case 102:{m=(c[e>>2]|0)+(8-1)&~(8-1);n=+h[m>>3];c[e>>2]=m+8;h[d>>3]=n;c[f+24>>2]=3;f=c[b+8>>2]|0;if(((c[b+28>>2]|0)-f|0)<17){LEa(b,1);f=c[b+8>>2]|0}f=f+16|0;c[b+8>>2]=f;break}case 112:{m=(c[e>>2]|0)+(4-1)&~(4-1);f=c[m>>2]|0;c[e>>2]=m+4;c[l>>2]=f;rmb(l+8|0,617727,l)|0;f=c[b+8>>2]|0;c[f>>2]=fGa(b,l+8|0,rnb(l+8|0)|0)|0;c[f+8>>2]=4;f=c[b+8>>2]|0;if(((c[b+28>>2]|0)-f|0)<17){LEa(b,1);f=c[b+8>>2]|0}f=f+16|0;c[b+8>>2]=f;break}case 37:{c[d>>2]=fGa(b,527769,1)|0;c[f+24>>2]=4;f=c[b+8>>2]|0;if(((c[b+28>>2]|0)-f|0)<17){LEa(b,1);f=c[b+8>>2]|0}f=f+16|0;c[b+8>>2]=f;break}default:{a[l+8>>0]=37;a[l+8+1>>0]=a[j>>0]|0;a[l+8+2>>0]=0;c[d>>2]=fGa(b,l+8|0,rnb(l+8|0)|0)|0;c[f+24>>2]=4;f=c[b+8>>2]|0;if(((c[b+28>>2]|0)-f|0)<17){LEa(b,1);f=c[b+8>>2]|0}f=f+16|0;c[b+8>>2]=f}}g=g+2|0;d=k+2|0;k=Unb(d,37)|0;if(!k)break a}}while(0);c[f>>2]=fGa(b,d,rnb(d)|0)|0;c[f+8>>2]=4;f=c[b+8>>2]|0;if(((c[b+28>>2]|0)-f|0)>=17){k=f;k=k+16|0;c[b+8>>2]=k;m=g+1|0;e=b+12|0;e=c[e>>2]|0;e=k-e|0;e=e>>4;e=e+-1|0;HGa(b,m,e);e=c[b+8>>2]|0;m=0-g|0;m=e+(m<<4)|0;c[b+8>>2]=m;m=m+-16|0;m=c[m>>2]|0;m=m+16|0;i=l;return m|0}LEa(b,1);k=c[b+8>>2]|0;k=k+16|0;c[b+8>>2]=k;m=g+1|0;e=b+12|0;e=c[e>>2]|0;e=k-e|0;e=e>>4;e=e+-1|0;HGa(b,m,e);e=c[b+8>>2]|0;m=0-g|0;m=e+(m<<4)|0;c[b+8>>2]=m;m=m+-16|0;m=c[m>>2]|0;m=m+16|0;i=l;return m|0}function FFa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;c[e>>2]=d;d=EFa(a,b,e)|0;i=e;return d|0}function GFa(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;switch(a[c>>0]|0){case 61:{Rob(b,c+1|0,d)|0;a[b+(d+-1)>>0]=0;return}case 64:{e=rnb(c+1|0)|0;a[b>>0]=0;if(e>>>0>(d+-8|0)>>>0){g=b+(rnb(b)|0)|0;a[g>>0]=46;a[g+1>>0]=46;a[g+2>>0]=46;a[g+3>>0]=0;e=c+1+(e-(d+-8))|0}else e=c+1|0;Lpb(b,e)|0;return}default:{e=Jpb(c,515425)|0;e=e>>>0>(d+-17|0)>>>0?d+-17|0:e;d=b;f=515428;g=d+10|0;do{a[d>>0]=a[f>>0]|0;d=d+1|0;f=f+1|0}while((d|0)<(g|0));if(!(a[c+e>>0]|0))Lpb(b,c)|0;else{Mpb(b,c,e)|0;c=b+(rnb(b)|0)|0;a[c>>0]=46;a[c+1>>0]=46;a[c+2>>0]=46;a[c+3>>0]=0}b=b+(rnb(b)|0)|0;a[b>>0]=a[515438]|0;a[b+1>>0]=a[515439]|0;a[b+2>>0]=a[515440]|0;return}}}function HFa(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0;k=i;i=i+656|0;c[k+60>>2]=g;kIa(e,k,f,fGa(e,h,rnb(h)|0)|0);h=c[k+52>>2]|0;g=cFa(h)|0;c[k+76>>2]=g;c[k+76+8>>2]=c[k+48>>2];c[k+76+12>>2]=k;c[k+76+16>>2]=h;c[k+48>>2]=k+76;c[k+76+24>>2]=0;c[k+76+28>>2]=-1;c[k+76+32>>2]=-1;f=k+76+36|0;c[k+76+20>>2]=0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;b[f+12>>1]=0;a[f+14>>0]=0;c[g+32>>2]=c[k+64>>2];a[g+75>>0]=2;f=nGa(h,0,0)|0;c[k+76+4>>2]=f;e=c[h+8>>2]|0;c[e>>2]=f;c[e+8>>2]=5;e=c[h+8>>2]|0;if(((c[h+28>>2]|0)-e|0)<17){LEa(h,1);e=c[h+8>>2]|0}f=e+16|0;c[h+8>>2]=f;c[f>>2]=g;c[e+24>>2]=9;e=c[h+8>>2]|0;if(((c[h+28>>2]|0)-e|0)<17){LEa(h,1);e=c[h+8>>2]|0}c[h+8>>2]=e+16;a[(c[k+76>>2]|0)+74>>0]=2;lIa(k);h=(c[k+52>>2]|0)+52|0;f=(b[h>>1]|0)+1<<16>>16;b[h>>1]=f;if((f&65535)>200)hIa(k,515479,0);a:while(1){e=c[k+16>>2]|0;switch(e|0){case 287:case 276:case 262:case 261:case 260:break a;default:{}}e=IFa(k)|0;if((c[k+16>>2]|0)==59)lIa(k);f=c[k+48>>2]|0;c[f+36>>2]=d[f+50>>0];if(e|0){j=12;break}}if((j|0)==12)e=c[k+16>>2]|0;g=c[k+52>>2]|0;b[g+52>>1]=(b[g+52>>1]|0)+-1<<16>>16;if((e|0)==287){SFa(k);j=c[k+76>>2]|0;i=k;return j|0}c[k+72>>2]=gIa(k,287)|0;iIa(k,FFa(g,515555,k+72|0)|0);SFa(k);j=c[k+76>>2]|0;i=k;return j|0}function IFa(f){f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+144|0;p=c[f+4>>2]|0;do switch(c[f+16>>2]|0){case 266:{h=c[f+48>>2]|0;c[s+24>>2]=-1;g=JFa(f)|0;a:while(1){switch(c[f+16>>2]|0){case 260:{r=5;break a}case 261:break;default:{r=6;break a}}DHa(h,s+24|0,BHa(h)|0);HHa(h,g);g=JFa(f)|0}if((r|0)==5){DHa(h,s+24|0,BHa(h)|0);HHa(h,g);lIa(f);XFa(f)}else if((r|0)==6)DHa(h,s+24|0,g);HHa(h,c[s+24>>2]|0);OFa(f,262,266,p);f=0;i=s;return f|0}case 277:{n=c[f+48>>2]|0;lIa(f);g=FHa(n)|0;KFa(f,s+24|0,0)|0;if((c[s+24>>2]|0)==1)c[s+24>>2]=3;YHa(c[f+48>>2]|0,s+24|0);o=c[s+24+20>>2]|0;c[s+4>>2]=-1;a[s+10>>0]=1;a[s+8>>0]=a[n+50>>0]|0;a[s+9>>0]=0;c[s>>2]=c[n+20>>2];c[n+20>>2]=s;if((c[f+16>>2]|0)!=259){r=c[f+52>>2]|0;c[s+56>>2]=gIa(f,259)|0;iIa(f,FFa(r,515555,s+56|0)|0)}lIa(f);XFa(f);GHa(n,BHa(n)|0,g);OFa(f,262,277,p);k=c[n+20>>2]|0;c[n+20>>2]=c[k>>2];l=b[k+8>>1]|0;h=c[(c[n+12>>2]|0)+48>>2]|0;g=a[h+50>>0]|0;if((g&255)>(l&255)){m=c[(c[h>>2]|0)+24>>2]|0;j=c[h+24>>2]|0;g=g&255;while(1){f=(g&255)+-1<<24>>24;a[h+50>>0]=f;c[m+((e[h+172+((f&255)<<1)>>1]|0)*12|0)+8>>2]=j;if((f&255)>(l&255))g=g+-1|0;else break}}if((l&65535)>=256)AHa(n,35,l&255,0,0)|0;c[n+36>>2]=d[n+50>>0];HHa(n,c[k+4>>2]|0);HHa(n,o);f=0;i=s;return f|0}case 259:{lIa(f);XFa(f);OFa(f,262,259,p);f=0;i=s;return f|0}case 264:{n=c[f+48>>2]|0;c[s+4>>2]=-1;a[s+10>>0]=1;a[s+8>>0]=a[n+50>>0]|0;a[s+9>>0]=0;c[s>>2]=c[n+20>>2];c[n+20>>2]=s;lIa(f);if((c[f+16>>2]|0)!=285){q=c[f+52>>2]|0;c[s+64>>2]=gIa(f,285)|0;iIa(f,FFa(q,515555,s+64|0)|0)}j=c[f+24>>2]|0;lIa(f);switch(c[f+16>>2]|0){case 61:{g=c[f+48>>2]|0;h=c[g+36>>2]|0;RFa(f,jIa(f,515916,11)|0,0);RFa(f,jIa(f,515928,11)|0,1);RFa(f,jIa(f,515940,10)|0,2);RFa(f,j,3);if((c[f+16>>2]|0)!=61){r=c[f+52>>2]|0;c[s+72>>2]=gIa(f,61)|0;iIa(f,FFa(r,515555,s+72|0)|0)}lIa(f);KFa(f,s+24|0,0)|0;QHa(c[f+48>>2]|0,s+24|0);if((c[f+16>>2]|0)!=44){r=c[f+52>>2]|0;c[s+80>>2]=gIa(f,44)|0;iIa(f,FFa(r,515555,s+80|0)|0)}lIa(f);KFa(f,s+24|0,0)|0;QHa(c[f+48>>2]|0,s+24|0);if((c[f+16>>2]|0)==44){lIa(f);KFa(f,s+24|0,0)|0;QHa(c[f+48>>2]|0,s+24|0)}else{r=c[g+36>>2]|0;CHa(g,1,r,MHa(g,1.0)|0)|0;JHa(g,1)}YFa(f,h,p,1,1);break}case 267:case 44:{l=c[f+48>>2]|0;m=c[l+36>>2]|0;RFa(f,jIa(f,515951,15)|0,0);RFa(f,jIa(f,515967,11)|0,1);RFa(f,jIa(f,515979,13)|0,2);RFa(f,j,3);g=c[f+16>>2]|0;if((g|0)==44){h=4;while(1){lIa(f);if((c[f+16>>2]|0)!=285){q=c[f+52>>2]|0;c[s+88>>2]=gIa(f,285)|0;iIa(f,FFa(q,515555,s+88|0)|0)}g=c[f+24>>2]|0;lIa(f);RFa(f,g,h);g=c[f+16>>2]|0;if((g|0)==44)h=h+1|0;else break}k=h+-2|0}else k=1;if((g|0)!=267){q=c[f+52>>2]|0;c[s+96>>2]=gIa(f,267)|0;iIa(f,FFa(q,515555,s+96|0)|0)}lIa(f);j=c[f+4>>2]|0;KFa(f,s+24|0,0)|0;if((c[f+16>>2]|0)==44){g=1;do{lIa(f);QHa(c[f+48>>2]|0,s+24|0);KFa(f,s+24|0,0)|0;g=g+1|0}while((c[f+16>>2]|0)==44)}else g=1;h=c[f+48>>2]|0;g=3-g|0;switch(c[s+24>>2]|0){case 14:case 13:{g=(g+1|0)<0?0:g+1|0;NHa(h,s+24|0,g);if((g|0)>1)JHa(h,g+-1|0);break}case 0:{r=44;break}default:{QHa(h,s+24|0);r=44}}if((r|0)==44)if((g|0)>0){r=c[h+36>>2]|0;JHa(h,g);yHa(h,r,g)}IHa(l,3);YFa(f,m,j,k,0);break}default:iIa(f,515993)}OFa(f,262,264,p);k=c[n+20>>2]|0;c[n+20>>2]=c[k>>2];l=b[k+8>>1]|0;h=c[(c[n+12>>2]|0)+48>>2]|0;g=a[h+50>>0]|0;if((g&255)>(l&255)){m=c[(c[h>>2]|0)+24>>2]|0;j=c[h+24>>2]|0;g=g&255;while(1){f=(g&255)+-1<<24>>24;a[h+50>>0]=f;c[m+((e[h+172+((f&255)<<1)>>1]|0)*12|0)+8>>2]=j;if((f&255)>(l&255))g=g+-1|0;else break}}if((l&65535)>=256)AHa(n,35,l&255,0,0)|0;c[n+36>>2]=d[n+50>>0];HHa(n,c[k+4>>2]|0);f=0;i=s;return f|0}case 272:{q=c[f+48>>2]|0;o=FHa(q)|0;c[s+4>>2]=-1;a[s+10>>0]=1;m=a[q+50>>0]|0;a[s+8>>0]=m;a[s+9>>0]=0;c[s>>2]=c[q+20>>2];c[s+124+4>>2]=-1;a[s+124+10>>0]=0;a[s+124+8>>0]=m;a[s+124+9>>0]=0;c[s+124>>2]=s;c[q+20>>2]=s+124;lIa(f);m=(c[f+52>>2]|0)+52|0;n=(b[m>>1]|0)+1<<16>>16;b[m>>1]=n;if((n&65535)>200)hIa(f,515479,0);b:do{switch(c[f+16>>2]|0){case 287:case 276:case 262:case 261:case 260:break b;default:{}}g=IFa(f)|0;if((c[f+16>>2]|0)==59)lIa(f);n=c[f+48>>2]|0;c[n+36>>2]=d[n+50>>0]}while(!(g|0));n=(c[f+52>>2]|0)+52|0;b[n>>1]=(b[n>>1]|0)+-1<<16>>16;OFa(f,276,272,p);KFa(f,s+24|0,0)|0;if((c[s+24>>2]|0)==1)c[s+24>>2]=3;YHa(c[f+48>>2]|0,s+24|0);n=c[s+24+20>>2]|0;if(!(a[s+124+9>>0]|0)){k=c[q+20>>2]|0;c[q+20>>2]=c[k>>2];l=b[k+8>>1]|0;h=c[(c[q+12>>2]|0)+48>>2]|0;g=a[h+50>>0]|0;if((g&255)>(l&255)){m=c[(c[h>>2]|0)+24>>2]|0;j=c[h+24>>2]|0;g=g&255;while(1){r=(g&255)+-1<<24>>24;a[h+50>>0]=r;c[m+((e[h+172+((r&255)<<1)>>1]|0)*12|0)+8>>2]=j;if((r&255)>(l&255))g=g+-1|0;else break}}if((l&65535)>=256)AHa(q,35,l&255,0,0)|0;c[q+36>>2]=d[q+50>>0];HHa(q,c[k+4>>2]|0);GHa(c[f+48>>2]|0,n,o);g=q+12|0}else{j=c[f+48>>2]|0;g=c[j+20>>2]|0;c:do if(!g){h=0;r=72}else{h=0;while(1){if(a[g+10>>0]|0)break c;h=d[g+9>>0]|h;g=c[g>>2]|0;if(!g){r=72;break}}}while(0);if((r|0)==72){iIa(f,516014);g=0}if(h|0)AHa(j,35,d[g+8>>0]|0,0,0)|0;DHa(j,g+4|0,BHa(j)|0);HHa(c[f+48>>2]|0,n);k=c[q+20>>2]|0;c[q+20>>2]=c[k>>2];l=b[k+8>>1]|0;h=c[(c[q+12>>2]|0)+48>>2]|0;g=a[h+50>>0]|0;if((g&255)>(l&255)){m=c[(c[h>>2]|0)+24>>2]|0;j=c[h+24>>2]|0;g=g&255;while(1){r=(g&255)+-1<<24>>24;a[h+50>>0]=r;c[m+((e[h+172+((r&255)<<1)>>1]|0)*12|0)+8>>2]=j;if((r&255)>(l&255))g=g+-1|0;else break}}if((l&65535)>=256)AHa(q,35,l&255,0,0)|0;c[q+36>>2]=d[q+50>>0];HHa(q,c[k+4>>2]|0);g=c[f+48>>2]|0;GHa(g,BHa(q)|0,o);g=q+12|0}l=c[q+20>>2]|0;c[q+20>>2]=c[l>>2];m=b[l+8>>1]|0;h=c[(c[g>>2]|0)+48>>2]|0;g=a[h+50>>0]|0;if((g&255)>(m&255)){k=c[(c[h>>2]|0)+24>>2]|0;j=c[h+24>>2]|0;g=g&255;while(1){f=(g&255)+-1<<24>>24;a[h+50>>0]=f;c[k+((e[h+172+((f&255)<<1)>>1]|0)*12|0)+8>>2]=j;if((f&255)>(m&255))g=g+-1|0;else break}}if((m&65535)>=256)AHa(q,35,m&255,0,0)|0;c[q+36>>2]=d[q+50>>0];HHa(q,c[l+4>>2]|0);f=0;i=s;return f|0}case 265:{lIa(f);if((c[f+16>>2]|0)!=285){q=c[f+52>>2]|0;c[s+104>>2]=gIa(f,285)|0;iIa(f,FFa(q,515555,s+104|0)|0)}g=c[f+24>>2]|0;lIa(f);h=c[f+48>>2]|0;if((UFa(h,g,s+24|0,1)|0)==8)c[s+24+8>>2]=KHa(h,g)|0;d:while(1){switch(c[f+16>>2]|0){case 58:{r=93;break d}case 46:break;default:{g=0;break d}}VFa(f,s+24|0)}if((r|0)==93){VFa(f,s+24|0);g=1}PFa(f,s,g,p);WHa(c[f+48>>2]|0,s+24|0,s);dIa(c[f+48>>2]|0,p);f=0;i=s;return f|0}case 268:{lIa(f);g=c[f+16>>2]|0;if((g|0)==265){lIa(f);g=c[f+48>>2]|0;if((c[f+16>>2]|0)!=285){r=c[f+52>>2]|0;c[s+112>>2]=gIa(f,285)|0;iIa(f,FFa(r,515555,s+112|0)|0)}q=c[f+24>>2]|0;lIa(f);RFa(f,q,0);q=c[g+36>>2]|0;c[s+24+16>>2]=-1;c[s+24+20>>2]=-1;c[s+24>>2]=6;c[s+24+8>>2]=q;JHa(g,1);q=c[f+48>>2]|0;r=(d[q+50>>0]|0)+1|0;a[q+50>>0]=r;c[(c[(c[q>>2]|0)+24>>2]|0)+((e[q+172+((r&255)+-1<<1)>>1]|0)*12|0)+4>>2]=c[q+24>>2];PFa(f,s,0,c[f+4>>2]|0);WHa(g,s+24|0,s);c[(c[(c[g>>2]|0)+24>>2]|0)+((e[g+172+((d[g+50>>0]|0)+-1<<1)>>1]|0)*12|0)+4>>2]=c[g+24>>2];f=0;i=s;return f|0}h=0;e:while(1){if((g|0)!=285){r=c[f+52>>2]|0;c[s+120>>2]=gIa(f,285)|0;iIa(f,FFa(r,515555,s+120|0)|0)}r=c[f+24>>2]|0;lIa(f);j=h+1|0;RFa(f,r,h);switch(c[f+16>>2]|0){case 61:{r=104;break e}case 44:break;default:{r=107;break e}}lIa(f);g=c[f+16>>2]|0;h=j}if((r|0)==104){lIa(f);KFa(f,s+24|0,0)|0;if((c[f+16>>2]|0)==44){g=1;do{lIa(f);QHa(c[f+48>>2]|0,s+24|0);KFa(f,s+24|0,0)|0;g=g+1|0}while((c[f+16>>2]|0)==44);m=j}else{m=j;g=1}}else if((r|0)==107){c[s+24>>2]=0;m=j;g=0}h=c[f+48>>2]|0;g=m-g|0;switch(c[s+24>>2]|0){case 14:case 13:{g=(g+1|0)<0?0:g+1|0;NHa(h,s+24|0,g);if((g|0)>1)JHa(h,g+-1|0);break}case 0:{r=112;break}default:{QHa(h,s+24|0);r=112}}if((r|0)==112)if((g|0)>0){r=c[h+36>>2]|0;JHa(h,g);yHa(h,r,g)}l=c[f+48>>2]|0;h=(d[l+50>>0]|0)+m|0;a[l+50>>0]=h;j=c[l+24>>2]|0;k=c[(c[l>>2]|0)+24>>2]|0;g=m;do{c[k+((e[l+172+((h&255)-g<<1)>>1]|0)*12|0)+4>>2]=j;g=g+-1|0}while((g|0)!=0);f=0;i=s;return f|0}case 273:{j=c[f+48>>2]|0;lIa(f);f:do switch(c[f+16>>2]|0){case 59:case 287:case 276:case 262:case 261:case 260:{h=0;g=0;break}default:{KFa(f,s+24|0,0)|0;if((c[f+16>>2]|0)==44){g=1;do{lIa(f);QHa(c[f+48>>2]|0,s+24|0);KFa(f,s+24|0,0)|0;g=g+1|0}while((c[f+16>>2]|0)==44)}else g=1;if(((c[s+24>>2]|0)+-13|0)>>>0<2){NHa(j,s+24|0,-1);if((g|0)==1?(c[s+24>>2]|0)==13:0){f=(c[(c[j>>2]|0)+12>>2]|0)+(c[s+24+8>>2]<<2)|0;c[f>>2]=c[f>>2]&-64|29}h=d[j+50>>0]|0;g=-1;break f}else if((g|0)==1){h=THa(j,s+24|0)|0;g=1;break f}else{QHa(j,s+24|0);h=d[j+50>>0]|0;break f}}}while(0);EHa(j,h,g);f=1;i=s;return f|0}case 258:{lIa(f);j=c[f+48>>2]|0;g=c[j+20>>2]|0;g:do if(!g){h=0;r=131}else{h=0;while(1){if(a[g+10>>0]|0)break g;h=d[g+9>>0]|h;g=c[g>>2]|0;if(!g){r=131;break}}}while(0);if((r|0)==131){iIa(f,516014);g=0}if(h|0)AHa(j,35,d[g+8>>0]|0,0,0)|0;DHa(j,g+4|0,BHa(j)|0);f=1;i=s;return f|0}default:{g=c[f+48>>2]|0;TFa(f,s+24+8|0);if((c[s+24+8>>2]|0)==13){f=(c[(c[g>>2]|0)+12>>2]|0)+(c[s+24+16>>2]<<2)|0;c[f>>2]=c[f>>2]&-8372225|16384}else{c[s+24>>2]=0;ZFa(f,s+24|0,1)}f=0;i=s;return f|0}}while(0);return 0}function JFa(a){a=a|0;var b=0,d=0,e=0;d=i;i=i+32|0;lIa(a);KFa(a,d,0)|0;if((c[d>>2]|0)==1)c[d>>2]=3;YHa(c[a+48>>2]|0,d);b=c[d+20>>2]|0;if((c[a+16>>2]|0)==274){lIa(a);XFa(a);i=d;return b|0}e=c[a+52>>2]|0;c[d+24>>2]=gIa(a,274)|0;iIa(a,FFa(e,515555,d+24|0)|0);lIa(a);XFa(a);i=d;return b|0}function KFa(e,f,g){e=e|0;f=f|0;g=g|0;var j=0,k=0,l=0,m=0;m=i;i=i+32|0;j=(c[e+52>>2]|0)+52|0;l=(b[j>>1]|0)+1<<16>>16;b[j>>1]=l;if((l&65535)>200)hIa(e,515479,0);do switch(c[e+16>>2]|0){case 270:{j=1;k=6;break}case 45:{j=0;k=6;break}case 35:{j=2;k=6;break}case 284:{c[f+16>>2]=-1;c[f+20>>2]=-1;c[f>>2]=5;c[f+8>>2]=0;h[f+8>>3]=+h[e+24>>3];k=18;break}case 286:{k=KHa(c[e+48>>2]|0,c[e+24>>2]|0)|0;c[f+16>>2]=-1;c[f+20>>2]=-1;c[f>>2]=4;c[f+8>>2]=k;k=18;break}case 269:{c[f+16>>2]=-1;c[f+20>>2]=-1;c[f>>2]=1;c[f+8>>2]=0;k=18;break}case 275:{c[f+16>>2]=-1;c[f+20>>2]=-1;c[f>>2]=2;c[f+8>>2]=0;k=18;break}case 263:{c[f+16>>2]=-1;c[f+20>>2]=-1;c[f>>2]=3;c[f+8>>2]=0;k=18;break}case 279:{l=c[e+48>>2]|0;j=c[l>>2]|0;k=a[j+74>>0]|0;if(!(k<<24>>24)){iIa(e,515512);k=c[l>>2]|0;j=k;k=a[k+74>>0]|0}a[j+74>>0]=k&251;k=AHa(l,37,0,1,0)|0;c[f+16>>2]=-1;c[f+20>>2]=-1;c[f>>2]=14;c[f+8>>2]=k;k=18;break}case 123:{LFa(e,f);break}case 265:{lIa(e);PFa(e,f,0,c[e+4>>2]|0);break}default:TFa(e,f)}while(0);if((k|0)==6){lIa(e);KFa(e,f,8)|0;$Ha(c[e+48>>2]|0,j,f)}else if((k|0)==18)lIa(e);do switch(c[e+16>>2]|0){case 43:{j=0;break}case 45:{j=1;break}case 42:{j=2;break}case 47:{j=3;break}case 37:{j=4;break}case 94:{j=5;break}case 278:{j=6;break}case 283:{j=7;break}case 280:{j=8;break}case 60:{j=9;break}case 282:{j=10;break}case 62:{j=11;break}case 281:{j=12;break}case 257:{j=13;break}case 271:{j=14;break}default:{f=15;e=c[e+52>>2]|0;e=e+52|0;g=b[e>>1]|0;g=g+-1<<16>>16;b[e>>1]=g;i=m;return f|0}}while(0);while(1){if((d[515886+(j<<1)>>0]|0)>>>0<=g>>>0){k=37;break}lIa(e);bIa(c[e+48>>2]|0,j,f);l=j;j=KFa(e,m,d[515886+(j<<1)+1>>0]|0)|0;cIa(c[e+48>>2]|0,l,f,m);if((j|0)==15){j=15;k=37;break}}if((k|0)==37){e=c[e+52>>2]|0;e=e+52|0;f=b[e>>1]|0;f=f+-1<<16>>16;b[e>>1]=f;i=m;return j|0}return 0}function LFa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;j=i;i=i+96|0;g=c[a+48>>2]|0;f=c[a+4>>2]|0;h=AHa(g,10,0,0,0)|0;c[j+36>>2]=0;c[j+28>>2]=0;c[j+32>>2]=0;c[j+24>>2]=b;c[b+16>>2]=-1;c[b+20>>2]=-1;c[b>>2]=11;c[b+8>>2]=h;c[j+16>>2]=-1;c[j+20>>2]=-1;c[j>>2]=0;c[j+8>>2]=0;QHa(c[a+48>>2]|0,b);if((c[a+16>>2]|0)!=123){e=c[a+52>>2]|0;c[j+40>>2]=gIa(a,123)|0;iIa(a,FFa(e,515555,j+40|0)|0)}lIa(a);a:do if((c[a+16>>2]|0)!=125){b=0;while(1){if(b|0){QHa(g,j);c[j>>2]=0;if((c[j+36>>2]|0)==50){eIa(g,c[(c[j+24>>2]|0)+8>>2]|0,c[j+32>>2]|0,50);c[j+36>>2]=0}}b:do switch(c[a+16>>2]|0){case 285:{qIa(a);if((c[a+32>>2]|0)==61){MFa(a,j);break b}KFa(a,j,0)|0;b=c[j+32>>2]|0;if((b|0)>2147483645){e=c[a+48>>2]|0;b=c[(c[e>>2]|0)+60>>2]|0;d=c[e+16>>2]|0;if(!b){c[j+48>>2]=2147483645;c[j+48+4>>2]=515603;b=FFa(d,515569,j+48|0)|0}else{c[j+56>>2]=b;c[j+56+4>>2]=2147483645;c[j+56+8>>2]=515603;b=FFa(d,515626,j+56|0)|0}hIa(c[e+12>>2]|0,b,0);b=c[j+32>>2]|0}c[j+32>>2]=b+1;c[j+36>>2]=(c[j+36>>2]|0)+1;break}case 91:{MFa(a,j);break}default:{KFa(a,j,0)|0;b=c[j+32>>2]|0;if((b|0)>2147483645){e=c[a+48>>2]|0;b=c[(c[e>>2]|0)+60>>2]|0;d=c[e+16>>2]|0;if(!b){c[j+72>>2]=2147483645;c[j+72+4>>2]=515603;b=FFa(d,515569,j+72|0)|0}else{c[j+80>>2]=b;c[j+80+4>>2]=2147483645;c[j+80+8>>2]=515603;b=FFa(d,515626,j+80|0)|0}hIa(c[e+12>>2]|0,b,0);b=c[j+32>>2]|0}c[j+32>>2]=b+1;c[j+36>>2]=(c[j+36>>2]|0)+1}}while(0);switch(c[a+16>>2]|0){case 44:{lIa(a);break}case 59:{lIa(a);break}default:break a}if((c[a+16>>2]|0)==125)break a;b=c[j>>2]|0}}while(0);OFa(a,125,123,f);b=c[j+36>>2]|0;c:do if(b|0){switch(c[j>>2]|0){case 14:case 13:{NHa(g,j,-1);eIa(g,c[(c[j+24>>2]|0)+8>>2]|0,c[j+32>>2]|0,-1);c[j+32>>2]=(c[j+32>>2]|0)+-1;break c}case 0:break;default:{QHa(g,j);b=c[j+36>>2]|0}}eIa(g,c[(c[j+24>>2]|0)+8>>2]|0,c[j+32>>2]|0,b)}while(0);a=c[(c[(c[g>>2]|0)+12>>2]|0)+(h<<2)>>2]&8388607;a=(zFa(c[j+32>>2]|0)|0)<<23|a;c[(c[(c[g>>2]|0)+12>>2]|0)+(h<<2)>>2]=a;a=(zFa(c[j+28>>2]|0)|0)<<14&8372224|a&-8372225;c[(c[(c[g>>2]|0)+12>>2]|0)+(h<<2)>>2]=a;i=j;return}function MFa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+96|0;f=c[a+48>>2]|0;g=c[f+36>>2]|0;if((c[a+16>>2]|0)==285){if((c[b+28>>2]|0)>2147483645){d=c[(c[f>>2]|0)+60>>2]|0;e=c[f+16>>2]|0;if(!d){c[h+48>>2]=2147483645;c[h+48+4>>2]=515603;d=FFa(e,515569,h+48|0)|0}else{c[h+56>>2]=d;c[h+56+4>>2]=2147483645;c[h+56+8>>2]=515603;d=FFa(e,515626,h+56|0)|0}hIa(c[f+12>>2]|0,d,0);if((c[a+16>>2]|0)!=285){e=c[a+52>>2]|0;c[h+72>>2]=gIa(a,285)|0;iIa(a,FFa(e,515555,h+72|0)|0)}}d=c[a+24>>2]|0;lIa(a);d=KHa(c[a+48>>2]|0,d)|0;c[h+24+16>>2]=-1;c[h+24+20>>2]=-1;c[h+24>>2]=4;c[h+24+8>>2]=d;d=b+28|0}else{NFa(a,h+24|0);d=b+28|0}c[d>>2]=(c[d>>2]|0)+1;if((c[a+16>>2]|0)==61){lIa(a);e=VHa(f,h+24|0)|0;KFa(a,h,0)|0;b=b+24|0;b=c[b>>2]|0;b=b+8|0;b=c[b>>2]|0;a=VHa(f,h)|0;AHa(f,9,b,e,a)|0;c[f+36>>2]=g;i=h;return}e=c[a+52>>2]|0;c[h+80>>2]=gIa(a,61)|0;iIa(a,FFa(e,515555,h+80|0)|0);lIa(a);e=VHa(f,h+24|0)|0;KFa(a,h,0)|0;b=b+24|0;b=c[b>>2]|0;b=b+8|0;b=c[b>>2]|0;a=VHa(f,h)|0;AHa(f,9,b,e,a)|0;c[f+36>>2]=g;i=h;return}function NFa(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;lIa(a);KFa(a,b,0)|0;UHa(c[a+48>>2]|0,b);if((c[a+16>>2]|0)==93){lIa(a);i=d;return}b=c[a+52>>2]|0;c[d>>2]=gIa(a,93)|0;iIa(a,FFa(b,515555,d)|0);lIa(a);i=d;return}function OFa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;g=i;i=i+32|0;if((c[a+16>>2]|0)==(b|0)){lIa(a);i=g;return}h=(c[a+4>>2]|0)==(e|0);f=c[a+52>>2]|0;b=gIa(a,b)|0;if(h){c[g>>2]=b;iIa(a,FFa(f,515555,g)|0);i=g;return}else{h=gIa(a,d)|0;c[g+8>>2]=b;c[g+8+4>>2]=h;c[g+8+8>>2]=e;iIa(a,FFa(f,515666,g+8|0)|0);i=g;return}}function PFa(f,g,h,j){f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+592|0;QFa(f,s+12|0);c[(c[s+12>>2]|0)+60>>2]=j;if((c[f+16>>2]|0)!=40){r=c[f+52>>2]|0;c[s>>2]=gIa(f,40)|0;iIa(f,FFa(r,515555,s)|0)}lIa(f);if(!h){q=c[f+48>>2]|0;r=f+48|0;p=c[q>>2]|0}else{RFa(f,jIa(f,515707,4)|0,0);q=c[f+48>>2]|0;r=(d[q+50>>0]|0)+1|0;a[q+50>>0]=r;p=c[q>>2]|0;c[(c[p+24>>2]|0)+((e[q+172+((r&255)+-1<<1)>>1]|0)*12|0)+4>>2]=c[q+24>>2];r=f+48|0}l=p+74|0;a[l>>0]=0;h=c[f+16>>2]|0;a:do if((h|0)==41){h=0;k=0}else{k=0;b:while(1){switch(h|0){case 279:break b;case 285:{o=c[f+24>>2]|0;lIa(f);RFa(f,o,k);k=k+1|0;break}default:iIa(f,515757)}h=a[l>>0]|0;if(h<<24>>24)break a;if((c[f+16>>2]|0)!=44){h=0;break a}lIa(f);h=c[f+16>>2]|0}lIa(f);RFa(f,jIa(f,515753,3)|0,k);a[l>>0]=7;h=7;k=k+1|0}while(0);o=c[r>>2]|0;l=(d[o+50>>0]|0)+k|0;a[o+50>>0]=l;if(k|0){m=c[o+24>>2]|0;n=c[(c[o>>2]|0)+24>>2]|0;do{c[n+((e[o+172+((l&255)-k<<1)>>1]|0)*12|0)+4>>2]=m;k=k+-1|0}while((k|0)!=0)}o=d[q+50>>0]|0;a[p+73>>0]=o-(h&1);JHa(q,o);if((c[f+16>>2]|0)!=41){q=c[f+52>>2]|0;c[s+8>>2]=gIa(f,41)|0;iIa(f,FFa(q,515555,s+8|0)|0)}lIa(f);p=(c[f+52>>2]|0)+52|0;q=(b[p>>1]|0)+1<<16>>16;b[p>>1]=q;if((q&65535)>200)hIa(f,515479,0);c:do{switch(c[f+16>>2]|0){case 287:case 276:case 262:case 261:case 260:break c;default:{}}h=IFa(f)|0;if((c[f+16>>2]|0)==59)lIa(f);q=c[r>>2]|0;c[q+36>>2]=d[q+50>>0]}while(!(h|0));n=(c[f+52>>2]|0)+52|0;b[n>>1]=(b[n>>1]|0)+-1<<16>>16;c[(c[s+12>>2]|0)+64>>2]=c[f+4>>2];OFa(f,262,265,j);SFa(f);n=c[r>>2]|0;m=c[n>>2]|0;h=c[m+52>>2]|0;if((c[n+44>>2]|0)<(h|0)){l=m+16|0;k=h}else{c[m+16>>2]=wFa(c[f+52>>2]|0,c[m+16>>2]|0,m+52|0,4,262143,516927)|0;l=m+16|0;k=c[m+52>>2]|0}if((h|0)<(k|0))do{c[(c[l>>2]|0)+(h<<2)>>2]=0;h=h+1|0}while((h|0)!=(k|0));h=c[s+12>>2]|0;k=c[n+44>>2]|0;c[n+44>>2]=k+1;c[(c[l>>2]|0)+(k<<2)>>2]=h;h=c[s+12>>2]|0;if(!(a[h+5>>0]&3))h=k+1|0;else if(!(a[m+5>>0]&4))h=k+1|0;else{sFa(c[f+52>>2]|0,m,h);h=c[n+44>>2]|0}f=CHa(n,36,0,h+-1|0)|0;c[g+16>>2]=-1;c[g+20>>2]=-1;c[g>>2]=11;c[g+8>>2]=f;if(!(a[(c[s+12>>2]|0)+72>>0]|0)){i=s;return}else h=0;do{AHa(n,(a[s+12+51+(h<<1)>>0]|0)==6?0:4,0,d[s+12+51+(h<<1)+1>>0]|0,0)|0;h=h+1|0}while((h|0)<(d[(c[s+12>>2]|0)+72>>0]|0));i=s;return}function QFa(d,e){d=d|0;e=e|0;var f=0,g=0;g=c[d+52>>2]|0;f=cFa(g)|0;c[e>>2]=f;c[e+8>>2]=c[d+48>>2];c[e+12>>2]=d;c[e+16>>2]=g;c[d+48>>2]=e;c[e+24>>2]=0;c[e+28>>2]=-1;c[e+32>>2]=-1;c[e+20>>2]=0;c[e+36>>2]=0;c[e+36+4>>2]=0;c[e+36+8>>2]=0;b[e+36+12>>1]=0;a[e+36+14>>0]=0;c[f+32>>2]=c[d+64>>2];a[f+75>>0]=2;d=nGa(g,0,0)|0;c[e+4>>2]=d;e=c[g+8>>2]|0;c[e>>2]=d;c[e+8>>2]=5;e=c[g+8>>2]|0;if(((c[g+28>>2]|0)-e|0)<17){LEa(g,1);e=c[g+8>>2]|0}d=e+16|0;c[g+8>>2]=d;c[d>>2]=f;c[e+24>>2]=9;e=c[g+8>>2]|0;if(((c[g+28>>2]|0)-e|0)>=17){f=e;f=f+16|0;c[g+8>>2]=f;return}LEa(g,1);f=c[g+8>>2]|0;f=f+16|0;c[g+8>>2]=f;return}function RFa(e,f,g){e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+32|0;o=c[e+48>>2]|0;if(((d[o+50>>0]|0)+g|0)>199){j=c[(c[o>>2]|0)+60>>2]|0;h=c[o+16>>2]|0;if(!j){c[p>>2]=200;c[p+4>>2]=515712;h=FFa(h,515569,p)|0}else{c[p+8>>2]=j;c[p+8+4>>2]=200;c[p+8+8>>2]=515712;h=FFa(h,515626,p+8|0)|0}hIa(c[o+12>>2]|0,h,0);h=c[e+48>>2]|0}else h=o;n=c[h>>2]|0;j=c[n+56>>2]|0;l=h+48|0;if((b[l>>1]|0)<(j|0)){k=j;m=c[n+24>>2]|0}else{m=wFa(c[e+52>>2]|0,c[n+24>>2]|0,n+56|0,12,32767,515728)|0;c[n+24>>2]=m;k=c[n+56>>2]|0}if((j|0)<(k|0)){h=j;do{c[m+(h*12|0)>>2]=0;h=h+1|0}while((h|0)!=(k|0))}h=b[l>>1]|0;c[m+((h<<16>>16)*12|0)>>2]=f;if(!(a[f+5>>0]&3)){e=h;f=e+1<<16>>16;b[l>>1]=f;f=a[o+50>>0]|0;f=f&255;f=f+g|0;f=o+172+(f<<1)|0;b[f>>1]=e;i=p;return}if(!(a[n+5>>0]&4)){e=h;f=e+1<<16>>16;b[l>>1]=f;f=a[o+50>>0]|0;f=f&255;f=f+g|0;f=o+172+(f<<1)|0;b[f>>1]=e;i=p;return}sFa(c[e+52>>2]|0,n,f);e=b[l>>1]|0;f=e+1<<16>>16;b[l>>1]=f;f=a[o+50>>0]|0;f=f&255;f=f+g|0;f=o+172+(f<<1)|0;b[f>>1]=e;i=p;return}function SFa(f){f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;j=c[f+52>>2]|0;k=c[f+48>>2]|0;l=c[k>>2]|0;g=a[k+50>>0]|0;if(g<<24>>24){i=c[l+24>>2]|0;h=c[k+24>>2]|0;g=g&255;while(1){m=(g&255)+-1<<24>>24;a[k+50>>0]=m;c[i+((e[k+172+((m&255)<<1)>>1]|0)*12|0)+8>>2]=h;if(!(m<<24>>24))break;else g=g+-1|0}}EHa(k,0,0);g=c[k+24>>2]|0;if((g+1|0)>>>0<1073741824){h=l+12|0;i=l+44|0;g=xFa(j,c[l+12>>2]|0,c[l+44>>2]<<2,g<<2)|0}else{h=l+12|0;i=l+44|0;g=yFa(j)|0}c[h>>2]=g;g=c[k+24>>2]|0;c[i>>2]=g;if((g+1|0)>>>0<1073741824){h=l+48|0;i=l+20|0;g=xFa(j,c[l+20>>2]|0,c[l+48>>2]<<2,g<<2)|0}else{h=l+48|0;i=l+20|0;g=yFa(j)|0}c[i>>2]=g;c[h>>2]=c[k+24>>2];g=c[k+40>>2]|0;if((g+1|0)>>>0<268435456){h=l+8|0;i=l+40|0;g=xFa(j,c[l+8>>2]|0,c[l+40>>2]<<4,g<<4)|0}else{h=l+8|0;i=l+40|0;g=yFa(j)|0}c[h>>2]=g;c[i>>2]=c[k+40>>2];g=c[k+44>>2]|0;if((g+1|0)>>>0<1073741824){h=l+16|0;i=l+52|0;g=xFa(j,c[l+16>>2]|0,c[l+52>>2]<<2,g<<2)|0}else{h=l+16|0;i=l+52|0;g=yFa(j)|0}c[h>>2]=g;c[i>>2]=c[k+44>>2];g=b[k+48>>1]|0;if((g+1|0)>>>0<357913942){h=l+24|0;i=l+56|0;g=xFa(j,c[l+24>>2]|0,(c[l+56>>2]|0)*12|0,g*12|0)|0}else{h=l+24|0;i=l+56|0;g=yFa(j)|0}c[h>>2]=g;c[i>>2]=b[k+48>>1];c[l+28>>2]=xFa(j,c[l+28>>2]|0,c[l+36>>2]<<2,d[l+72>>0]<<2)|0;c[l+36>>2]=d[l+72>>0];c[f+48>>2]=c[k+8>>2];if(((c[f+16>>2]|0)+-285|0)>>>0>=2){m=j+8|0;f=c[m>>2]|0;f=f+-32|0;c[m>>2]=f;return}m=c[f+24>>2]|0;jIa(f,m+16|0,c[m+12>>2]|0)|0;m=j+8|0;f=c[m>>2]|0;f=f+-32|0;c[m>>2]=f;return}function TFa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=i;i=i+32|0;d=c[a+48>>2]|0;switch(c[a+16>>2]|0){case 40:{f=c[a+4>>2]|0;lIa(a);KFa(a,b,0)|0;OFa(a,41,40,f);PHa(c[a+48>>2]|0,b);break}case 285:{e=c[a+24>>2]|0;lIa(a);f=c[a+48>>2]|0;if((UFa(f,e,b,1)|0)==8)c[b+8>>2]=KHa(f,e)|0;break}default:iIa(a,515791)}a:while(1)switch(c[a+16>>2]|0){case 46:{VFa(a,b);continue a}case 91:{THa(d,b)|0;NFa(a,g);_Ha(d,b,g);continue a}case 58:{lIa(a);if((c[a+16>>2]|0)!=285){f=c[a+52>>2]|0;c[g+24>>2]=gIa(a,285)|0;iIa(a,FFa(f,515555,g+24|0)|0)}f=c[a+24>>2]|0;lIa(a);f=KHa(c[a+48>>2]|0,f)|0;c[g+16>>2]=-1;c[g+20>>2]=-1;c[g>>2]=4;c[g+8>>2]=f;XHa(d,b,g);WFa(a,b);continue a}case 123:case 286:case 40:{QHa(d,b);WFa(a,b);continue a}default:break a}i=g;return}function UFa(b,f,g,h){b=b|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+32|0;if(!b){c[g+16>>2]=-1;c[g+20>>2]=-1;c[g>>2]=8;c[g+8>>2]=255;b=8;i=o;return b|0}j=d[b+50>>0]|0;while(1){k=j+-1|0;if((j|0)<=0)break;if((c[(c[(c[b>>2]|0)+24>>2]|0)+((e[b+172+(k<<1)>>1]|0)*12|0)>>2]|0)==(f|0)){n=6;break}else j=k}if((n|0)==6){c[g+16>>2]=-1;c[g+20>>2]=-1;c[g>>2]=6;c[g+8>>2]=k;if(h|0){b=6;i=o;return b|0}g=c[b+20>>2]|0;if(!g){b=6;i=o;return b|0}while(1){if((d[g+8>>0]|0|0)<(j|0))break;g=c[g>>2]|0;if(!g){g=6;n=32;break}}if((n|0)==32){i=o;return g|0}a[g+9>>0]=1;b=6;i=o;return b|0}if((UFa(c[b+8>>2]|0,f,g,0)|0)==8){b=8;i=o;return b|0}m=c[b>>2]|0;l=c[m+36>>2]|0;h=a[m+72>>0]|0;a:do if(!(h<<24>>24))n=17;else{k=c[g>>2]|0;j=0;while(1){if((d[b+51+(j<<1)>>0]|0|0)==(k|0))if((d[b+51+(j<<1)+1>>0]|0|0)==(c[g+8>>2]|0)){h=g+8|0;break a}j=j+1|0;if((j|0)>=(h&255|0)){n=17;break}}}while(0);if((n|0)==17){if(((h&255)+1|0)>>>0>60){j=c[m+60>>2]|0;h=c[b+16>>2]|0;if(!j){c[o>>2]=60;c[o+4>>2]=515782;j=FFa(h,515569,o)|0}else{c[o+8>>2]=j;c[o+8+4>>2]=60;c[o+8+8>>2]=515782;j=FFa(h,515626,o+8|0)|0}hIa(c[b+12>>2]|0,j,0);j=a[m+72>>0]|0;h=c[m+36>>2]|0}else{j=h;h=l}if((j&255|0)<(h|0))k=m+28|0;else{c[m+28>>2]=wFa(c[b+16>>2]|0,c[m+28>>2]|0,m+36|0,4,2147483645,1279070)|0;k=m+28|0;h=c[m+36>>2]|0}if((l|0)<(h|0)){j=l;do{c[(c[k>>2]|0)+(j<<2)>>2]=0;j=j+1|0}while((j|0)!=(h|0))}j=a[m+72>>0]|0;c[(c[k>>2]|0)+((j&255)<<2)>>2]=f;if(a[f+5>>0]&3)if(a[m+5>>0]&4){sFa(c[b+16>>2]|0,m,f);j=a[m+72>>0]|0}h=j&255;a[b+51+(h<<1)>>0]=c[g>>2];a[b+51+(h<<1)+1>>0]=c[g+8>>2];a[m+72>>0]=j+1<<24>>24;j=h;h=g+8|0}c[h>>2]=j;c[g>>2]=7;b=7;i=o;return b|0}function VFa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;e=i;i=i+32|0;d=c[a+48>>2]|0;THa(d,b)|0;lIa(a);if((c[a+16>>2]|0)!=285){f=c[a+52>>2]|0;c[e+24>>2]=gIa(a,285)|0;iIa(a,FFa(f,515555,e+24|0)|0)}f=c[a+24>>2]|0;lIa(a);f=KHa(c[a+48>>2]|0,f)|0;c[e+16>>2]=-1;c[e+20>>2]=-1;c[e>>2]=4;c[e+8>>2]=f;_Ha(d,b,e);i=e;return}function WFa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+32|0;e=c[a+48>>2]|0;f=c[a+4>>2]|0;switch(c[a+16>>2]|0){case 40:{if((f|0)!=(c[a+8>>2]|0))iIa(a,515809);lIa(a);if((c[a+16>>2]|0)==41)c[h>>2]=0;else{KFa(a,h,0)|0;if((c[a+16>>2]|0)==44)do{lIa(a);QHa(c[a+48>>2]|0,h);KFa(a,h,0)|0}while((c[a+16>>2]|0)==44);NHa(e,h,-1)}OFa(a,41,40,f);break}case 123:{LFa(a,h);break}case 286:{d=KHa(e,c[a+24>>2]|0)|0;c[h+16>>2]=-1;c[h+20>>2]=-1;c[h>>2]=4;c[h+8>>2]=d;lIa(a);break}default:{iIa(a,515858);i=h;return}}a=c[b+8>>2]|0;switch(c[h>>2]|0){case 14:case 13:{d=0;break}case 0:{g=15;break}default:{QHa(e,h);g=15}}if((g|0)==15)d=(c[e+36>>2]|0)-a|0;g=AHa(e,28,a,d,2)|0;c[b+16>>2]=-1;c[b+20>>2]=-1;c[b>>2]=13;c[b+8>>2]=g;dIa(e,f);c[e+36>>2]=a+1;i=h;return}function XFa(f){f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;n=i;i=i+16|0;m=c[f+48>>2]|0;c[n+4>>2]=-1;a[n+10>>0]=0;a[n+8>>0]=a[m+50>>0]|0;a[n+9>>0]=0;c[n>>2]=c[m+20>>2];c[m+20>>2]=n;k=(c[f+52>>2]|0)+52|0;l=(b[k>>1]|0)+1<<16>>16;b[k>>1]=l;if((l&65535)>200)hIa(f,515479,0);a:do{switch(c[f+16>>2]|0){case 287:case 276:case 262:case 261:case 260:break a;default:{}}g=IFa(f)|0;if((c[f+16>>2]|0)==59)lIa(f);l=c[f+48>>2]|0;c[l+36>>2]=d[l+50>>0]}while(!(g|0));j=(c[f+52>>2]|0)+52|0;b[j>>1]=(b[j>>1]|0)+-1<<16>>16;j=c[m+20>>2]|0;c[m+20>>2]=c[j>>2];k=b[j+8>>1]|0;f=c[(c[m+12>>2]|0)+48>>2]|0;g=a[f+50>>0]|0;if((g&255)>(k&255)){l=c[(c[f>>2]|0)+24>>2]|0;h=c[f+24>>2]|0;g=g&255;while(1){o=(g&255)+-1<<24>>24;a[f+50>>0]=o;c[l+((e[f+172+((o&255)<<1)>>1]|0)*12|0)+8>>2]=h;if((o&255)>(k&255))g=g+-1|0;else break}}if((k&65535)<256){l=a[m+50>>0]|0;l=l&255;o=m+36|0;c[o>>2]=l;o=j+4|0;o=c[o>>2]|0;HHa(m,o);i=n;return}AHa(m,35,k&255,0,0)|0;l=a[m+50>>0]|0;l=l&255;o=m+36|0;c[o>>2]=l;o=j+4|0;o=c[o>>2]|0;HHa(m,o);i=n;return}function YFa(f,g,h,j,k){f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;s=i;i=i+16|0;q=c[f+48>>2]|0;r=(d[q+50>>0]|0)+3|0;a[q+50>>0]=r;o=c[q+24>>2]|0;p=c[(c[q>>2]|0)+24>>2]|0;c[p+((e[q+172+((r&255)+-3<<1)>>1]|0)*12|0)+4>>2]=o;c[p+((e[q+172+((r&255)+-2<<1)>>1]|0)*12|0)+4>>2]=o;c[p+((e[q+172+((r&255)+-1<<1)>>1]|0)*12|0)+4>>2]=o;if((c[f+16>>2]|0)!=259){r=c[f+52>>2]|0;c[s>>2]=gIa(f,259)|0;iIa(f,FFa(r,515555,s)|0)}lIa(f);if(k|0)r=CHa(q,32,g,131070)|0;else r=BHa(q)|0;c[s+4+4>>2]=-1;a[s+4+10>>0]=0;a[s+4+8>>0]=a[q+50>>0]|0;a[s+4+9>>0]=0;c[s+4>>2]=c[q+20>>2];c[q+20>>2]=s+4;p=c[f+48>>2]|0;m=(d[p+50>>0]|0)+j|0;a[p+50>>0]=m;if(j|0){n=c[p+24>>2]|0;o=c[(c[p>>2]|0)+24>>2]|0;l=j;do{c[o+((e[p+172+((m&255)-l<<1)>>1]|0)*12|0)+4>>2]=n;l=l+-1|0}while((l|0)!=0)}JHa(q,j);XFa(f);o=c[q+20>>2]|0;c[q+20>>2]=c[o>>2];f=b[o+8>>1]|0;m=c[(c[q+12>>2]|0)+48>>2]|0;l=a[m+50>>0]|0;if((l&255)>(f&255)){p=c[(c[m>>2]|0)+24>>2]|0;n=c[m+24>>2]|0;l=l&255;while(1){t=(l&255)+-1<<24>>24;a[m+50>>0]=t;c[p+((e[m+172+((t&255)<<1)>>1]|0)*12|0)+8>>2]=n;if((t&255)>(f&255))l=l+-1|0;else break}}if((f&65535)>=256)AHa(q,35,f&255,0,0)|0;c[q+36>>2]=d[q+50>>0];HHa(q,c[o+4>>2]|0);HHa(q,r);if(k|0){j=CHa(q,31,g,131070)|0;dIa(q,h);t=r+1|0;GHa(q,j,t);i=s;return}else{AHa(q,33,g,0,j)|0;dIa(q,h);j=BHa(q)|0;t=r+1|0;GHa(q,j,t);i=s;return}}function ZFa(a,b,d){a=a|0;b=b|0;d=d|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+96|0;if(((c[b+8>>2]|0)+-6|0)>>>0>=4)iIa(a,516031);switch(c[a+16>>2]|0){case 44:{lIa(a);c[n>>2]=b;TFa(a,n+8|0);if((c[n+8>>2]|0)==6){l=c[a+48>>2]|0;k=c[l+36>>2]|0;if(b|0){j=b;f=0;do{if((c[j+8>>2]|0)==9){h=j+16|0;g=c[n+16>>2]|0;if((c[h>>2]|0)==(g|0)){c[h>>2]=k;g=c[n+16>>2]|0;f=1}if((c[h+4>>2]|0)==(g|0)){c[h+4>>2]=k;f=1}}j=c[j>>2]|0}while((j|0)!=0);if(f|0){AHa(l,0,k,c[n+16>>2]|0,0)|0;JHa(l,1)}}}f=200-(e[(c[a+52>>2]|0)+52>>1]|0)|0;if((f|0)<(d|0)){j=c[a+48>>2]|0;g=c[(c[j>>2]|0)+60>>2]|0;h=c[j+16>>2]|0;if(!g){c[n+56>>2]=f;c[n+56+4>>2]=516044;f=FFa(h,515569,n+56|0)|0}else{c[n+64>>2]=g;c[n+64+4>>2]=f;c[n+64+8>>2]=516044;f=FFa(h,515626,n+64|0)|0}hIa(c[j+12>>2]|0,f,0)}ZFa(a,n,d+1|0);g=n+32|0;f=a+48|0;break}case 61:{m=22;break}default:{m=c[a+52>>2]|0;c[n+80>>2]=gIa(a,61)|0;iIa(a,FFa(m,515555,n+80|0)|0);m=22}}if((m|0)==22){lIa(a);KFa(a,n+32|0,0)|0;if((c[a+16>>2]|0)==44){f=1;do{lIa(a);QHa(c[a+48>>2]|0,n+32|0);KFa(a,n+32|0,0)|0;f=f+1|0}while((c[a+16>>2]|0)==44)}else f=1;h=c[a+48>>2]|0;if((f|0)==(d|0)){OHa(h,n+32|0);WHa(c[a+48>>2]|0,b+8|0,n+32|0);i=n;return}j=d-f|0;switch(c[n+32>>2]|0){case 14:case 13:{g=(j+1|0)<0?0:j+1|0;NHa(h,n+32|0,g);if((g|0)>1)JHa(h,g+-1|0);break}case 0:{m=29;break}default:{QHa(h,n+32|0);m=29}}if((m|0)==29)if((j|0)>0){m=c[h+36>>2]|0;JHa(h,j);yHa(h,m,j)}if((f|0)>(d|0)){g=(c[a+48>>2]|0)+36|0;c[g>>2]=j+(c[g>>2]|0);g=n+32|0;f=a+48|0}else{g=n+32|0;f=a+48|0}}m=c[f>>2]|0;a=(c[m+36>>2]|0)+-1|0;c[n+32+16>>2]=-1;c[n+32+20>>2]=-1;c[g>>2]=12;c[n+32+8>>2]=a;WHa(m,b+8|0,n+32|0);i=n;return}function _Fa(d){d=d|0;var e=0,f=0,g=0;e=xFa(d,0,0,120)|0;uFa(d,e,8);c[e+16>>2]=c[d+16>>2];c[e+32>>2]=0;c[e+44>>2]=0;c[e+112>>2]=0;c[e+68>>2]=0;a[e+56>>0]=0;c[e+60>>2]=0;a[e+57>>0]=1;c[e+64>>2]=0;c[e+104>>2]=0;c[e+48>>2]=0;b[e+54>>1]=0;b[e+52>>1]=0;a[e+6>>0]=0;c[e+20>>2]=0;c[e+40>>2]=0;c[e+24>>2]=0;c[e+116>>2]=0;c[e+80>>2]=0;g=xFa(d,0,0,192)|0;c[e+40>>2]=g;c[e+20>>2]=g;c[e+48>>2]=8;c[e+36>>2]=g+168;g=xFa(d,0,0,720)|0;c[e+32>>2]=g;c[e+44>>2]=45;c[e+28>>2]=g+624;f=c[e+20>>2]|0;c[f+4>>2]=g;c[e+8>>2]=g+16;c[g+8>>2]=0;c[f>>2]=g+16;c[e+12>>2]=g+16;c[f+8>>2]=g+336;f=c[d+72+4>>2]|0;c[e+72>>2]=c[d+72>>2];c[e+72+4>>2]=f;c[e+80>>2]=c[d+80>>2];a[e+56>>0]=a[d+56>>0]|0;f=c[d+60>>2]|0;c[e+60>>2]=f;c[e+68>>2]=c[d+68>>2];c[e+64>>2]=f;return e|0}function $Fa(a,b){a=a|0;b=b|0;bFa(b,c[b+32>>2]|0);xFa(a,c[b+40>>2]|0,(c[b+48>>2]|0)*24|0,0)|0;xFa(a,c[b+32>>2]|0,c[b+44>>2]<<4,0)|0;xFa(a,b,120,0)|0;return}function aGa(d,e){d=d|0;e=e|0;var f=0;f=cj[d&127](e,0,0,376)|0;if(!f){f=0;return f|0}c[f>>2]=0;a[f+4>>0]=8;a[f+140>>0]=33;a[f+5>>0]=97;c[f+16>>2]=f+120;c[f+32>>2]=0;c[f+44>>2]=0;c[f+112>>2]=0;c[f+68>>2]=0;a[f+56>>0]=0;c[f+60>>2]=0;a[f+57>>0]=1;c[f+64>>2]=0;c[f+104>>2]=0;c[f+48>>2]=0;b[f+54>>1]=0;b[f+52>>1]=0;a[f+6>>0]=0;c[f+20>>2]=0;c[f+40>>2]=0;c[f+24>>2]=0;c[f+116>>2]=0;c[f+80>>2]=0;c[f+132>>2]=d;c[f+136>>2]=e;c[f+232>>2]=f;c[f+256>>2]=f+240;c[f+260>>2]=f+240;c[f+184>>2]=0;c[f+128>>2]=0;c[f+124>>2]=0;c[f+120>>2]=0;c[f+224>>2]=0;c[f+172>>2]=0;c[f+180>>2]=0;c[f+208>>2]=0;a[f+141>>0]=0;c[f+148>>2]=f;c[f+144>>2]=0;c[f+152>>2]=f+148;c[f+156>>2]=0;c[f+156+4>>2]=0;c[f+156+8>>2]=0;c[f+156+12>>2]=0;c[f+188>>2]=376;c[f+200>>2]=200;c[f+204>>2]=200;c[f+196>>2]=0;d=f+272|0;e=d+36|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));if(!(IEa(f,216,0)|0))return f|0;e=c[f+16>>2]|0;bFa(f,c[f+32>>2]|0);jFa(f);d=c[f+16>>2]|0;xFa(f,c[d>>2]|0,c[d+8>>2]<<2,0)|0;c[e+52>>2]=xFa(f,c[e+52>>2]|0,c[e+60>>2]|0,0)|0;c[e+60>>2]=0;xFa(f,c[f+40>>2]|0,(c[f+48>>2]|0)*24|0,0)|0;xFa(f,c[f+32>>2]|0,c[f+44>>2]<<4,0)|0;cj[c[e+12>>2]&127](c[e+16>>2]|0,f,376,0)|0;f=0;return f|0}function bGa(b,e){b=b|0;e=e|0;var f=0,g=0;e=c[b+16>>2]|0;g=xFa(b,0,0,192)|0;c[b+40>>2]=g;c[b+20>>2]=g;c[b+48>>2]=8;c[b+36>>2]=g+168;g=xFa(b,0,0,720)|0;c[b+32>>2]=g;c[b+44>>2]=45;c[b+28>>2]=g+624;f=c[b+20>>2]|0;c[f+4>>2]=g;c[b+8>>2]=g+16;c[g+8>>2]=0;c[f>>2]=g+16;c[b+12>>2]=g+16;c[f+8>>2]=g+336;c[b+72>>2]=nGa(b,0,2)|0;c[b+80>>2]=5;f=c[b+16>>2]|0;c[f+96>>2]=nGa(b,0,2)|0;c[f+104>>2]=5;eGa(b,32);vGa(b);fIa(b);b=(fGa(b,516068,17)|0)+5|0;a[b>>0]=d[b>>0]|0|32;c[e+64>>2]=c[e+68>>2]<<2;return}function cGa(a){a=a|0;var d=0,e=0;a=c[(c[a+16>>2]|0)+112>>2]|0;bFa(a,c[a+32>>2]|0);gFa(a,1)|0;c[a+116>>2]=0;do{d=c[a+40>>2]|0;c[a+20>>2]=d;d=c[d>>2]|0;c[a+8>>2]=d;c[a+12>>2]=d;b[a+54>>1]=0;b[a+52>>1]=0}while((IEa(a,217,0)|0)!=0);d=c[a+16>>2]|0;bFa(a,c[a+32>>2]|0);jFa(a);e=c[a+16>>2]|0;xFa(a,c[e>>2]|0,c[e+8>>2]<<2,0)|0;c[d+52>>2]=xFa(a,c[d+52>>2]|0,c[d+60>>2]|0,0)|0;c[d+60>>2]=0;xFa(a,c[a+40>>2]|0,(c[a+48>>2]|0)*24|0,0)|0;xFa(a,c[a+32>>2]|0,c[a+44>>2]<<4,0)|0;cj[c[d+12>>2]&127](c[d+16>>2]|0,a,376,0)|0;return}function dGa(a,b){a=a|0;b=b|0;hFa(a);return}function eGa(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;if((a[(c[b+16>>2]|0)+21>>0]|0)==2)return;if((d+1|0)>>>0<1073741824)g=xFa(b,0,0,d<<2)|0;else g=yFa(b)|0;f=c[b+16>>2]|0;if((d|0)>0)hBb(g|0,0,d<<2|0)|0;h=c[f+8>>2]|0;if((h|0)>0){i=0;do{e=c[(c[f>>2]|0)+(i<<2)>>2]|0;if(e|0)do{k=e;e=c[e>>2]|0;j=g+((c[k+8>>2]&d+-1)<<2)|0;c[k>>2]=c[j>>2];c[j>>2]=k}while((e|0)!=0);i=i+1|0}while((i|0)<(h|0))}xFa(b,c[f>>2]|0,h<<2,0)|0;c[f+8>>2]=d;c[f>>2]=g;return}function fGa(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;if(((f>>>5)+1|0)>>>0>f>>>0)j=f;else{g=f;h=f;do{g=(g<<5)+(g>>>2)+(d[e+(h+-1)>>0]|0)^g;h=h-((f>>>5)+1)|0}while(h>>>0>=((f>>>5)+1|0)>>>0);j=g}i=c[b+16>>2]|0;h=c[(c[i>>2]|0)+(((c[i+8>>2]|0)+-1&j)<<2)>>2]|0;a:do if(h|0){while(1){if((c[h+12>>2]|0)==(f|0))if(!(qmb(e,h+16|0,f)|0))break;h=c[h>>2]|0;if(!h)break a}g=d[h+5>>0]|0;if(!(g&3&((d[i+20>>0]|0)^3))){b=h;return b|0}a[h+5>>0]=g^3;b=h;return b|0}while(0);if((f+1|0)>>>0>4294967277)yFa(b)|0;h=xFa(b,0,0,f+17|0)|0;c[h+12>>2]=f;c[h+8>>2]=j;a[h+5>>0]=(d[(c[b+16>>2]|0)+20>>0]|0)&3;a[h+4>>0]=4;a[h+6>>0]=0;mBb(h+16|0,e|0,f|0)|0;a[h+16+f>>0]=0;f=c[b+16>>2]|0;g=c[f+8>>2]|0;e=(c[f>>2]|0)+((g+-1&j)<<2)|0;c[h>>2]=c[e>>2];c[e>>2]=h;e=(c[f+4>>2]|0)+1|0;c[f+4>>2]=e;if(!((g|0)<1073741823&e>>>0>g>>>0)){b=h;return b|0}eGa(b,g<<1);b=h;return b|0}function gGa(b,e,f){b=b|0;e=e|0;f=f|0;var g=0;if(e>>>0>4294967269)yFa(b)|0;g=xFa(b,0,0,e+24|0)|0;b=c[b+16>>2]|0;a[g+5>>0]=(d[b+20>>0]|0)&3;a[g+4>>0]=7;c[g+16>>2]=e;c[g+8>>2]=0;c[g+12>>2]=f;e=c[b+112>>2]|0;c[g>>2]=c[e>>2];c[e>>2]=g;return g|0}function hGa(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0,j=0.0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;a:do switch(c[e+8>>2]|0){case 0:{f=-1;break}case 3:{j=+h[e>>3];if((~~j|0)>0&+(~~j|0)==j)if((~~j|0)<=(c[b+28>>2]|0)){f=~~j+-1|0;break a}f=c[b+16>>2]|0;if(j==0.0)n=11;else{h[k>>3]=j;f=f+(((((c[k+4>>2]|0)+(c[k>>2]|0)|0)>>>0)%(((1<<(d[b+7>>0]|0))+-1|1)>>>0)|0)<<5)|0;n=11}break}case 2:{f=(c[b+16>>2]|0)+((((c[e>>2]|0)>>>0)%(((1<<(d[b+7>>0]|0))+-1|1)>>>0)|0)<<5)|0;n=11;break}case 4:{f=(c[b+16>>2]|0)+(((1<<(d[b+7>>0]|0))+-1&c[(c[e>>2]|0)+8>>2])<<5)|0;n=11;break}case 1:{f=(c[b+16>>2]|0)+(((1<<(d[b+7>>0]|0))+-1&c[e>>2])<<5)|0;n=11;break}default:{f=(c[b+16>>2]|0)+((((c[e>>2]|0)>>>0)%(((1<<(d[b+7>>0]|0))+-1|1)>>>0)|0)<<5)|0;n=11}}while(0);do if((n|0)==11){while(1){g=f+16|0;if(CFa(g,e)|0){n=16;break}if((c[f+24>>2]|0)==11)if((c[e+8>>2]|0)>3)if((c[g>>2]|0)==(c[e>>2]|0)){n=16;break}f=c[f+28>>2]|0;if(!f){n=18;break}}if((n|0)==16){f=(f-(c[b+16>>2]|0)>>5)+(c[b+28>>2]|0)|0;break}else if((n|0)==18){CEa(a,516086,o);f=0;break}}while(0);l=c[b+28>>2]|0;while(1){m=f+1|0;if((m|0)>=(l|0))break;g=c[b+12>>2]|0;if(!(c[g+(m<<4)+8>>2]|0))f=m;else{n=22;break}}if((n|0)==22){h[e>>3]=+(f+2|0);c[e+8>>2]=3;b=c[g+(m<<4)+4>>2]|0;c[e+16>>2]=c[g+(m<<4)>>2];c[e+16+4>>2]=b;c[e+24>>2]=c[g+(m<<4)+8>>2];e=1;i=o;return e|0}g=1<<(d[b+7>>0]|0);if((m-l|0)>=(g|0)){e=0;i=o;return e|0}a=c[b+16>>2]|0;f=m-l|0;while(1){if(c[a+(f<<5)+8>>2]|0)break;f=f+1|0;if((f|0)>=(g|0)){f=0;n=28;break}}if((n|0)==28){i=o;return f|0}n=c[a+(f<<5)+16+4>>2]|0;c[e>>2]=c[a+(f<<5)+16>>2];c[e+4>>2]=n;c[e+8>>2]=c[a+(f<<5)+24>>2];b=c[b+16>>2]|0;n=c[b+(f<<5)+4>>2]|0;c[e+16>>2]=c[b+(f<<5)>>2];c[e+16+4>>2]=n;c[e+24>>2]=c[b+(f<<5)+8>>2];e=1;i=o;return e|0}function iGa(a,b,e){a=a|0;b=b|0;e=e|0;var f=0;if((c[b+16>>2]|0)==621200)f=0;else f=1<<(d[b+7>>0]|0);jGa(a,b,e,f);return}function jGa(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var j=0,l=0,m=0,n=0,o=0,p=0.0,q=0,r=0,s=0,t=0,u=0;t=i;i=i+32|0;q=c[e+28>>2]|0;r=a[e+7>>0]|0;s=c[e+16>>2]|0;if((q|0)<(f|0)){if((f+1|0)>>>0<268435456){j=e+12|0;l=xFa(b,c[e+12>>2]|0,q<<4,f<<4)|0}else{j=e+12|0;l=yFa(b)|0}c[j>>2]=l;j=c[e+28>>2]|0;if((j|0)<(f|0))do{c[l+(j<<4)+8>>2]=0;j=j+1|0}while((j|0)!=(f|0));c[e+28>>2]=f}kGa(b,e,g);if((q|0)>(f|0)){c[e+28>>2]=f;n=f;do{g=c[e+12>>2]|0;m=g+(n<<4)+8|0;o=n;n=n+1|0;if(c[m>>2]|0){a:do if(o>>>0<(c[e+28>>2]|0)>>>0){j=g+(o<<4)|0;l=19}else{p=+(n|0);j=c[e+16>>2]|0;if(n){h[k>>3]=p;j=j+(((((c[k+4>>2]|0)+(c[k>>2]|0)|0)>>>0)%(((1<<(d[e+7>>0]|0))+-1|1)>>>0)|0)<<5)|0}while(1){if((c[j+24>>2]|0)==3)if(+h[j+16>>3]==p)break;j=c[j+28>>2]|0;if(!j){l=21;break a}}l=19}while(0);if((l|0)==19){l=0;if((j|0)==621184){p=+(n|0);l=21}}if((l|0)==21){h[t>>3]=p;c[t+8>>2]=3;j=lGa(b,e,t)|0}u=c[g+(o<<4)+4>>2]|0;l=j;c[l>>2]=c[g+(o<<4)>>2];c[l+4>>2]=u;c[j+8>>2]=c[m>>2]}}while((n|0)!=(q|0));if((f+1|0)>>>0<268435456){l=e+12|0;j=xFa(b,c[e+12>>2]|0,q<<4,f<<4)|0}else{l=e+12|0;j=yFa(b)|0}c[l>>2]=j}if(r<<24>>24!=31){n=1<<(r&255);do{o=n;n=n+-1|0;g=s+(n<<5)+8|0;if(c[g>>2]|0){m=s+(n<<5)|0;l=s+(n<<5)+16|0;j=mGa(e,l)|0;a[e+6>>0]=0;if((j|0)==621184){switch(c[s+(n<<5)+24>>2]|0){case 0:{CEa(b,516123,t+16|0);break}case 3:{p=+h[l>>3];if(!(p==p&0.0==0.0))CEa(b,516142,t+24|0);break}default:{}}j=lGa(b,e,l)|0}f=c[m+4>>2]|0;u=j;c[u>>2]=c[m>>2];c[u+4>>2]=f;c[j+8>>2]=c[g>>2]}}while((o|0)>1)}if((s|0)==621200){i=t;return}xFa(b,s,1<<(r&255)<<5,0)|0;i=t;return}function kGa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;g=i;i=i+16|0;if(!e){c[d+16>>2]=621200;f=0;b=621200;h=0;e=d+7|0;a[e>>0]=h;f=b+(f<<5)|0;d=d+20|0;c[d>>2]=f;i=g;return}f=BFa(e+-1|0)|0;if((f|0)>25)CEa(b,516108,g);if(((1<>>0<134217728)e=xFa(b,0,0,1<>2]=e;if((f+1|0)!=31){b=0;do{c[e+(b<<5)+28>>2]=0;c[e+(b<<5)+24>>2]=0;c[e+(b<<5)+8>>2]=0;b=b+1|0}while((b|0)<(1<>0]=e;f=b+(h<<5)|0;h=d+20|0;c[h>>2]=f;i=g;return}function lGa(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,j=0,l=0.0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=i;i=i+128|0;switch(c[f+8>>2]|0){case 3:{l=+h[f>>3];j=c[e+16>>2]|0;if(l==0.0)g=j;else{h[k>>3]=l;g=j+(((((c[k+4>>2]|0)+(c[k>>2]|0)|0)>>>0)%(((1<<(d[e+7>>0]|0))+-1|1)>>>0)|0)<<5)|0}break}case 4:{j=c[e+16>>2]|0;g=j+(((1<<(d[e+7>>0]|0))+-1&c[(c[f>>2]|0)+8>>2])<<5)|0;break}case 1:{j=c[e+16>>2]|0;g=j+(((1<<(d[e+7>>0]|0))+-1&c[f>>2])<<5)|0;break}case 2:{j=c[e+16>>2]|0;g=j+((((c[f>>2]|0)>>>0)%(((1<<(d[e+7>>0]|0))+-1|1)>>>0)|0)<<5)|0;break}default:{j=c[e+16>>2]|0;g=j+((((c[f>>2]|0)>>>0)%(((1<<(d[e+7>>0]|0))+-1|1)>>>0)|0)<<5)|0}}p=g+8|0;do if((g|0)==621200|(c[p>>2]|0)!=0){m=c[e+20>>2]|0;while(1){q=m+-32|0;if(m>>>0<=j>>>0)break;if(!(c[m+-8>>2]|0)){n=m;o=41;break}else m=q}if((o|0)==41){c[e+20>>2]=q;m=g+16|0;switch(c[g+24>>2]|0){case 3:{l=+h[m>>3];if(!(l==0.0)){h[k>>3]=l;j=j+(((((c[k+4>>2]|0)+(c[k>>2]|0)|0)>>>0)%(((1<<(d[e+7>>0]|0))+-1|1)>>>0)|0)<<5)|0}break}case 4:{j=j+(((1<<(d[e+7>>0]|0))+-1&c[(c[m>>2]|0)+8>>2])<<5)|0;break}case 1:{j=j+(((1<<(d[e+7>>0]|0))+-1&c[m>>2])<<5)|0;break}case 2:{j=j+((((c[m>>2]|0)>>>0)%(((1<<(d[e+7>>0]|0))+-1|1)>>>0)|0)<<5)|0;break}default:j=j+((((c[m>>2]|0)>>>0)%(((1<<(d[e+7>>0]|0))+-1|1)>>>0)|0)<<5)|0}if((j|0)==(g|0)){g=g+28|0;c[n+-4>>2]=c[g>>2];c[g>>2]=q;g=q;break}do{m=j+28|0;j=c[m>>2]|0}while((j|0)!=(g|0));c[m>>2]=q;c[q>>2]=c[g>>2];c[q+4>>2]=c[g+4>>2];c[q+8>>2]=c[g+8>>2];c[q+12>>2]=c[g+12>>2];c[q+16>>2]=c[g+16>>2];c[q+20>>2]=c[g+20>>2];c[q+24>>2]=c[g+24>>2];c[q+28>>2]=c[g+28>>2];c[g+28>>2]=0;c[p>>2]=0;break}c[e+20>>2]=q;g=u+12|0;j=g+108|0;do{c[g>>2]=0;g=g+4|0}while((g|0)<(j|0));q=c[e+28>>2]|0;g=0;j=1;r=0;s=1;while(1){if((s|0)>(q|0))if((j|0)>(q|0)){t=g;break}else p=q;else p=s;if((j|0)>(p|0)){m=j;j=0}else{o=c[e+12>>2]|0;n=j;j=0;while(1){j=((c[o+(n+-1<<4)+8>>2]|0)!=0&1)+j|0;m=n+1|0;if((n|0)<(p|0))n=m;else break}}t=u+12+(r<<2)|0;c[t>>2]=(c[t>>2]|0)+j;g=j+g|0;r=r+1|0;if((r|0)>=27){t=g;break}else{j=m;s=s<<1}}g=0;j=1<<(d[e+7>>0]|0);n=0;a:while(1){m=j;while(1){j=m+-1|0;if(!m){s=n;break a}m=c[e+16>>2]|0;if(!(c[m+(j<<5)+8>>2]|0))m=j;else break}if((c[m+(j<<5)+24>>2]|0)==3){l=+h[m+(j<<5)+16>>3];if(+(~~l|0)==l&(~~l+-1|0)>>>0<67108864){m=u+12+((BFa(~~l+-1|0)|0)+1<<2)|0;c[m>>2]=(c[m>>2]|0)+1;m=1}else m=0}else m=0;g=m+g|0;n=n+1|0}j=g+t|0;if((c[f+8>>2]|0)==3){l=+h[f>>3];if(+(~~l|0)==l&(~~l+-1|0)>>>0<67108864){g=u+12+((BFa(~~l+-1|0)|0)+1<<2)|0;c[g>>2]=(c[g>>2]|0)+1;g=1}else g=0}else g=0;p=j+g|0;b:do if((p|0)>0){n=0;o=0;q=0;j=0;g=0;r=1;while(1){m=c[u+12+(q<<2)>>2]|0;if((m|0)>0){o=m+o|0;n=(o|0)>(n|0);m=o;j=n?r:j;g=n?o:g}else m=o;if((m|0)==(p|0))break b;if((r|0)<(p|0)){n=r;o=m;q=q+1|0;r=r<<1}else break}}else{j=0;g=0}while(0);jGa(b,e,j,t+1+s-g|0);g=mGa(e,f)|0;a[e+6>>0]=0;if((g|0)!=621184){e=g;i=u;return e|0}switch(c[f+8>>2]|0){case 0:{CEa(b,516123,u);break}case 3:{l=+h[f>>3];if(!(l==l&0.0==0.0))CEa(b,516142,u+8|0);break}default:{}}e=lGa(b,e,f)|0;i=u;return e|0}while(0);s=c[f+4>>2]|0;t=g+16|0;c[t>>2]=c[f>>2];c[t+4>>2]=s;t=c[f+8>>2]|0;c[g+24>>2]=t;if((t|0)>3)if(a[(c[f>>2]|0)+5>>0]&3)if(a[e+5>>0]&4)tFa(b,e);e=g;i=u;return e|0}function mGa(a,b){a=a|0;b=b|0;var e=0,f=0,g=0.0,i=0,j=0,l=0,m=0;a:do switch(c[b+8>>2]|0){case 4:{f=c[b>>2]|0;e=(c[a+16>>2]|0)+(((1<<(d[a+7>>0]|0))+-1&c[f+8>>2])<<5)|0;while(1){if((c[e+24>>2]|0)==4)if((c[e+16>>2]|0)==(f|0)){i=e;break}e=c[e+28>>2]|0;if(!e){l=621184;m=24;break}}if((m|0)==24)return l|0;m=i;return m|0}case 3:{g=+h[b>>3];if(!(+(~~g|0)==g)){g=+h[b>>3];e=c[a+16>>2]|0;if(g==0.0)break a;h[k>>3]=g;e=e+(((((c[k+4>>2]|0)+(c[k>>2]|0)|0)>>>0)%(((1<<(d[a+7>>0]|0))+-1|1)>>>0)|0)<<5)|0;break a}if((~~g+-1|0)>>>0<(c[a+28>>2]|0)>>>0){m=(c[a+12>>2]|0)+(~~g+-1<<4)|0;return m|0}e=c[a+16>>2]|0;if(~~g){h[k>>3]=+(~~g|0);e=e+(((((c[k+4>>2]|0)+(c[k>>2]|0)|0)>>>0)%(((1<<(d[a+7>>0]|0))+-1|1)>>>0)|0)<<5)|0}while(1){if((c[e+24>>2]|0)==3)if(+h[e+16>>3]==+(~~g|0)){f=e;break}e=c[e+28>>2]|0;if(!e){l=621184;m=24;break}}if((m|0)==24)return l|0;m=f;return m|0}case 1:{e=(c[a+16>>2]|0)+(((1<<(d[a+7>>0]|0))+-1&c[b>>2])<<5)|0;break}case 2:{e=(c[a+16>>2]|0)+((((c[b>>2]|0)>>>0)%(((1<<(d[a+7>>0]|0))+-1|1)>>>0)|0)<<5)|0;break}case 0:{m=621184;return m|0}default:e=(c[a+16>>2]|0)+((((c[b>>2]|0)>>>0)%(((1<<(d[a+7>>0]|0))+-1|1)>>>0)|0)<<5)|0}while(0);while(1){if(CFa(e+16|0,b)|0){j=e;break}e=c[e+28>>2]|0;if(!e){l=621184;m=24;break}}if((m|0)==24)return l|0;m=j;return m|0}function nGa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;g=xFa(b,0,0,32)|0;uFa(b,g,5);c[g+8>>2]=0;a[g+6>>0]=-1;c[g+12>>2]=0;c[g+28>>2]=0;a[g+7>>0]=0;c[g+16>>2]=621200;if((d+1|0)>>>0<268435456)h=xFa(b,0,0,d<<4)|0;else h=yFa(b)|0;c[g+12>>2]=h;f=c[g+28>>2]|0;if((f|0)>=(d|0)){c[g+28>>2]=d;kGa(b,g,e);return g|0}do{c[h+(f<<4)+8>>2]=0;f=f+1|0}while((f|0)!=(d|0));c[g+28>>2]=d;kGa(b,g,e);return g|0}function oGa(a,b){a=a|0;b=b|0;var e=0;e=c[b+16>>2]|0;if((e|0)!=621200)xFa(a,e,32<<(d[b+7>>0]|0),0)|0;xFa(a,c[b+12>>2]|0,c[b+28>>2]<<4,0)|0;xFa(a,b,32,0)|0;return}function pGa(a,b){a=a|0;b=b|0;var e=0,f=0;if((b+-1|0)>>>0<(c[a+28>>2]|0)>>>0){f=(c[a+12>>2]|0)+(b+-1<<4)|0;return f|0}e=c[a+16>>2]|0;if(b){h[k>>3]=+(b|0);e=e+(((((c[k+4>>2]|0)+(c[k>>2]|0)|0)>>>0)%(((1<<(d[a+7>>0]|0))+-1|1)>>>0)|0)<<5)|0}while(1){if((c[e+24>>2]|0)==3)if(+h[e+16>>3]==+(b|0))break;e=c[e+28>>2]|0;if(!e){e=621184;f=9;break}}if((f|0)==9)return e|0;f=e;return f|0}function qGa(a,b){a=a|0;b=b|0;var e=0;a=(c[a+16>>2]|0)+(((1<<(d[a+7>>0]|0))+-1&c[b+8>>2])<<5)|0;while(1){if((c[a+24>>2]|0)==4)if((c[a+16>>2]|0)==(b|0))break;a=c[a+28>>2]|0;if(!a){a=621184;e=6;break}}if((e|0)==6)return a|0;e=a;return e|0}function rGa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,j=0.0;g=i;i=i+16|0;f=mGa(d,e)|0;a[d+6>>0]=0;if((f|0)!=621184){d=f;i=g;return d|0}switch(c[e+8>>2]|0){case 0:{CEa(b,516123,g);break}case 3:{j=+h[e>>3];if(!(j==j&0.0==0.0))CEa(b,516142,g+8|0);break}default:{}}d=lGa(b,d,e)|0;i=g;return d|0}function sGa(a,b,e){a=a|0;b=b|0;e=e|0;var f=0.0,g=0,j=0,l=0;l=i;i=i+16|0;a:do if((e+-1|0)>>>0<(c[b+28>>2]|0)>>>0){g=(c[b+12>>2]|0)+(e+-1<<4)|0;j=9}else{g=c[b+16>>2]|0;if(e){h[k>>3]=+(e|0);g=g+(((((c[k+4>>2]|0)+(c[k>>2]|0)|0)>>>0)%(((1<<(d[b+7>>0]|0))+-1|1)>>>0)|0)<<5)|0}while(1){if((c[g+24>>2]|0)==3)if(+h[g+16>>3]==+(e|0))break;g=c[g+28>>2]|0;if(!g){f=+(e|0);break a}}j=9}while(0);do if((j|0)==9)if((g|0)==621184){f=+(e|0);break}else{b=g;i=l;return b|0}while(0);h[l>>3]=f;c[l+8>>2]=3;b=lGa(a,b,l)|0;i=l;return b|0}function tGa(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0,h=0;h=i;i=i+16|0;f=(c[b+16>>2]|0)+(((1<<(d[b+7>>0]|0))+-1&c[e+8>>2])<<5)|0;do{if((c[f+24>>2]|0)==4)if((c[f+16>>2]|0)==(e|0)){g=5;break}f=c[f+28>>2]|0}while((f|0)!=0);if((g|0)==5)if((f|0)!=621184){g=f;i=h;return g|0}c[h>>2]=e;c[h+8>>2]=4;g=lGa(a,b,h)|0;i=h;return g|0}function uGa(a){a=a|0;var b=0,e=0,f=0,g=0,i=0.0,j=0,l=0;e=c[a+28>>2]|0;if(e|0){f=c[a+12>>2]|0;if(!(c[f+(e+-1<<4)+8>>2]|0)){if(e>>>0>1)b=0;else{a=0;return a|0}do{a=(b+e|0)>>>1;l=(c[f+(a+-1<<4)+8>>2]|0)==0;e=l?a:e;b=l?b:a}while((e-b|0)>>>0>1);return b|0}}l=c[a+16>>2]|0;if((l|0)==621200){a=e;return a|0}f=e+1|0;b=e;while(1){g=f+-1|0;a:do if(g>>>0>>0)g=(c[a+12>>2]|0)+(g<<4)|0;else{i=+(f|0);if(!f)g=l;else{h[k>>3]=i;g=l+(((((c[k+4>>2]|0)+(c[k>>2]|0)|0)>>>0)%(((1<<(d[a+7>>0]|0))+-1|1)>>>0)|0)<<5)|0}while(1){if((c[g+24>>2]|0)==3)if(+h[g+16>>3]==i)break;g=c[g+28>>2]|0;if(!g){g=621184;break a}}}while(0);if(!(c[g+8>>2]|0))break;b=f<<1;if(b>>>0>2147483645){g=1;j=18;break}else{g=f;f=b;b=g}}if((j|0)==18){while(1){b=g+-1|0;b:do if(b>>>0>>0)f=(c[a+12>>2]|0)+(b<<4)|0;else{i=+(g|0);if(!g)f=l;else{h[k>>3]=i;f=l+(((((c[k+4>>2]|0)+(c[k>>2]|0)|0)>>>0)%(((1<<(d[a+7>>0]|0))+-1|1)>>>0)|0)<<5)|0}while(1){if((c[f+24>>2]|0)==3)if(+h[f+16>>3]==i)break;f=c[f+28>>2]|0;if(!f){f=621184;break b}}}while(0);if(!(c[f+8>>2]|0))break;else{g=g+1|0;j=18}}return b|0}if((f-b|0)>>>0<=1){a=b;return a|0}do{j=(f+b|0)>>>1;c:do if((j+-1|0)>>>0>>0)g=(c[a+12>>2]|0)+(j+-1<<4)|0;else{if(!j)g=l;else{h[k>>3]=+(j|0);g=l+(((((c[k+4>>2]|0)+(c[k>>2]|0)|0)>>>0)%(((1<<(d[a+7>>0]|0))+-1|1)>>>0)|0)<<5)|0}while(1){if((c[g+24>>2]|0)==3)if(+h[g+16>>3]==+(j|0))break;g=c[g+28>>2]|0;if(!g){g=621184;break c}}}while(0);g=(c[g+8>>2]|0)==0;f=g?j:f;b=g?b:j}while((f-b|0)>>>0>1);return b|0}function vGa(b){b=b|0;var e=0,f=0;e=0;do{f=c[37456+(e<<2)>>2]|0;f=fGa(b,f,rnb(f)|0)|0;c[(c[b+16>>2]|0)+188+(e<<2)>>2]=f;f=(c[(c[b+16>>2]|0)+188+(e<<2)>>2]|0)+5|0;a[f>>0]=d[f>>0]|0|32;e=e+1|0}while((e|0)!=17);return}function wGa(b,e,f){b=b|0;e=e|0;f=f|0;f=qGa(b,f)|0;if(c[f+8>>2]|0){b=f;return b|0}a[b+6>>0]=d[b+6>>0]|0|1<>2]|0;switch(e|0){case 5:{e=(c[b>>2]|0)+8|0;break}case 7:{e=(c[b>>2]|0)+8|0;break}default:e=(c[a+16>>2]|0)+152+(e<<2)|0}e=c[e>>2]|0;if(!e){d=621184;return d|0}d=qGa(e,c[(c[a+16>>2]|0)+188+(d<<2)>>2]|0)|0;return d|0}function yGa(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=i;i=i+64|0;switch(a[f>>0]|0){case 61:case 64:{c[g+16+12>>2]=f+1;f=f+1|0;break}case 27:{c[g+16+12>>2]=516294;f=516294;break}default:c[g+16+12>>2]=f}c[g+16>>2]=b;c[g+16+4>>2]=d;c[g+16+8>>2]=e;c[g+32>>2]=1635077147;a[g+32+4>>0]=81;a[g+32+5>>0]=0;a[g+32+6>>0]=1;a[g+32+7>>0]=4;a[g+32+8>>0]=4;a[g+32+9>>0]=4;a[g+32+10>>0]=8;a[g+32+11>>0]=0;if(MGa(d,g+44|0,12)|0){c[g>>2]=f;c[g+4>>2]=516336;FFa(b,516308,g)|0;HEa(c[g+16>>2]|0,3)}if(!(qmb(g+32|0,g+44|0,12)|0)){e=fGa(b,516362,2)|0;e=zGa(g+16|0,e)|0;i=g;return e|0}e=c[g+16>>2]|0;c[g+8>>2]=c[g+16+12>>2];c[g+8+4>>2]=516351;FFa(e,516308,g+8|0)|0;HEa(c[g+16>>2]|0,3);e=fGa(b,516362,2)|0;e=zGa(g+16|0,e)|0;i=g;return e|0}function zGa(d,e){d=d|0;e=e|0;var f=0,g=0,j=0,k=0,l=0,m=0,n=0;m=i;i=i+336|0;f=c[d>>2]|0;l=(b[f+52>>1]|0)+1<<16>>16;b[f+52>>1]=l;if((l&65535)>200){c[m+8>>2]=c[d+12>>2];c[m+8+4>>2]=516365;FFa(f,516308,m+8|0)|0;HEa(c[d>>2]|0,3);f=c[d>>2]|0}l=cFa(f)|0;f=c[(c[d>>2]|0)+8>>2]|0;c[f>>2]=l;c[f+8>>2]=9;f=c[d>>2]|0;g=c[f+8>>2]|0;if(((c[f+28>>2]|0)-g|0)<17){LEa(f,1);g=c[d>>2]|0;f=g;g=c[g+8>>2]|0}c[f+8>>2]=g+16;if(MGa(c[d+4>>2]|0,m,4)|0){k=c[d>>2]|0;c[m+16>>2]=c[d+12>>2];c[m+16+4>>2]=516336;FFa(k,516308,m+16|0)|0;HEa(c[d>>2]|0,3)}f=c[m>>2]|0;if(!f)f=0;else{f=NGa(c[d>>2]|0,c[d+8>>2]|0,f)|0;if(MGa(c[d+4>>2]|0,f,c[m>>2]|0)|0){k=c[d>>2]|0;c[m+24>>2]=c[d+12>>2];c[m+24+4>>2]=516336;FFa(k,516308,m+24|0)|0;HEa(c[d>>2]|0,3)}f=fGa(c[d>>2]|0,f,(c[m>>2]|0)+-1|0)|0}c[l+32>>2]=(f|0)==0?e:f;if(MGa(c[d+4>>2]|0,m,4)|0){k=c[d>>2]|0;c[m+32>>2]=c[d+12>>2];c[m+32+4>>2]=516336;FFa(k,516308,m+32|0)|0;HEa(c[d>>2]|0,3)}f=c[m>>2]|0;if((f|0)<0){f=c[d>>2]|0;c[m+40>>2]=c[d+12>>2];c[m+40+4>>2]=516379;FFa(f,516308,m+40|0)|0;HEa(c[d>>2]|0,3);f=c[m>>2]|0}c[l+60>>2]=f;if(MGa(c[d+4>>2]|0,m,4)|0){k=c[d>>2]|0;c[m+48>>2]=c[d+12>>2];c[m+48+4>>2]=516336;FFa(k,516308,m+48|0)|0;HEa(c[d>>2]|0,3)}f=c[m>>2]|0;if((f|0)<0){f=c[d>>2]|0;c[m+56>>2]=c[d+12>>2];c[m+56+4>>2]=516379;FFa(f,516308,m+56|0)|0;HEa(c[d>>2]|0,3);f=c[m>>2]|0}c[l+64>>2]=f;if(MGa(c[d+4>>2]|0,m,1)|0){k=c[d>>2]|0;c[m+64>>2]=c[d+12>>2];c[m+64+4>>2]=516336;FFa(k,516308,m+64|0)|0;HEa(c[d>>2]|0,3)}a[l+72>>0]=a[m>>0]|0;if(MGa(c[d+4>>2]|0,m,1)|0){k=c[d>>2]|0;c[m+72>>2]=c[d+12>>2];c[m+72+4>>2]=516336;FFa(k,516308,m+72|0)|0;HEa(c[d>>2]|0,3)}a[l+73>>0]=a[m>>0]|0;if(MGa(c[d+4>>2]|0,m,1)|0){k=c[d>>2]|0;c[m+80>>2]=c[d+12>>2];c[m+80+4>>2]=516336;FFa(k,516308,m+80|0)|0;HEa(c[d>>2]|0,3)}a[l+74>>0]=a[m>>0]|0;if(MGa(c[d+4>>2]|0,m,1)|0){k=c[d>>2]|0;c[m+88>>2]=c[d+12>>2];c[m+88+4>>2]=516336;FFa(k,516308,m+88|0)|0;HEa(c[d>>2]|0,3)}a[l+75>>0]=a[m>>0]|0;if(MGa(c[d+4>>2]|0,m,4)|0){k=c[d>>2]|0;c[m+96>>2]=c[d+12>>2];c[m+96+4>>2]=516336;FFa(k,516308,m+96|0)|0;HEa(c[d>>2]|0,3)}f=c[m>>2]|0;if((f|0)<0){f=c[d>>2]|0;c[m+104>>2]=c[d+12>>2];c[m+104+4>>2]=516379;FFa(f,516308,m+104|0)|0;HEa(c[d>>2]|0,3);f=c[m>>2]|0}g=c[d>>2]|0;if((f+1|0)>>>0<1073741824){k=f<<2;e=k;g=xFa(g,0,0,k)|0}else{e=f<<2;g=yFa(g)|0}c[l+12>>2]=g;c[l+44>>2]=f;if(MGa(c[d+4>>2]|0,g,e)|0){k=c[d>>2]|0;c[m+112>>2]=c[d+12>>2];c[m+112+4>>2]=516336;FFa(k,516308,m+112|0)|0;HEa(c[d>>2]|0,3)}if(MGa(c[d+4>>2]|0,m,4)|0){k=c[d>>2]|0;c[m+120>>2]=c[d+12>>2];c[m+120+4>>2]=516336;FFa(k,516308,m+120|0)|0;HEa(c[d>>2]|0,3)}f=c[m>>2]|0;if((f|0)<0){f=c[d>>2]|0;c[m+128>>2]=c[d+12>>2];c[m+128+4>>2]=516379;FFa(f,516308,m+128|0)|0;HEa(c[d>>2]|0,3);f=c[m>>2]|0}g=c[d>>2]|0;if((f+1|0)>>>0<268435456)g=xFa(g,0,0,f<<4)|0;else g=yFa(g)|0;c[l+8>>2]=g;c[l+40>>2]=f;e=(f|0)>0;a:do if(e){j=0;do{c[g+(j<<4)+8>>2]=0;j=j+1|0}while((j|0)!=(f|0));if(!e)break;k=0;while(1){e=c[l+8>>2]|0;j=e+(k<<4)|0;if(MGa(c[d+4>>2]|0,m,1)|0){g=c[d>>2]|0;c[m+136>>2]=c[d+12>>2];c[m+136+4>>2]=516336;FFa(g,516308,m+136|0)|0;HEa(c[d>>2]|0,3)}switch(a[m>>0]|0){case 0:{c[e+(k<<4)+8>>2]=0;break}case 1:{if(MGa(c[d+4>>2]|0,m,1)|0){g=c[d>>2]|0;c[m+144>>2]=c[d+12>>2];c[m+144+4>>2]=516336;FFa(g,516308,m+144|0)|0;HEa(c[d>>2]|0,3)}c[j>>2]=(a[m>>0]|0)!=0&1;c[e+(k<<4)+8>>2]=1;break}case 3:{if(MGa(c[d+4>>2]|0,m,8)|0){g=c[d>>2]|0;c[m+152>>2]=c[d+12>>2];c[m+152+4>>2]=516336;FFa(g,516308,m+152|0)|0;HEa(c[d>>2]|0,3)}h[j>>3]=+h[m>>3];c[e+(k<<4)+8>>2]=3;break}case 4:{if(MGa(c[d+4>>2]|0,m,4)|0){g=c[d>>2]|0;c[m+160>>2]=c[d+12>>2];c[m+160+4>>2]=516336;FFa(g,516308,m+160|0)|0;HEa(c[d>>2]|0,3)}g=c[m>>2]|0;if(!g)g=0;else{g=NGa(c[d>>2]|0,c[d+8>>2]|0,g)|0;if(MGa(c[d+4>>2]|0,g,c[m>>2]|0)|0){n=c[d>>2]|0;c[m+168>>2]=c[d+12>>2];c[m+168+4>>2]=516336;FFa(n,516308,m+168|0)|0;HEa(c[d>>2]|0,3)}g=fGa(c[d>>2]|0,g,(c[m>>2]|0)+-1|0)|0}c[j>>2]=g;c[e+(k<<4)+8>>2]=4;break}default:{n=c[d>>2]|0;c[m+176>>2]=c[d+12>>2];c[m+176+4>>2]=516391;FFa(n,516308,m+176|0)|0;HEa(c[d>>2]|0,3)}}k=k+1|0;if((k|0)==(f|0))break a}}while(0);if(MGa(c[d+4>>2]|0,m,4)|0){n=c[d>>2]|0;c[m+184>>2]=c[d+12>>2];c[m+184+4>>2]=516336;FFa(n,516308,m+184|0)|0;HEa(c[d>>2]|0,3)}f=c[m>>2]|0;if((f|0)<0){f=c[d>>2]|0;c[m+192>>2]=c[d+12>>2];c[m+192+4>>2]=516379;FFa(f,516308,m+192|0)|0;HEa(c[d>>2]|0,3);f=c[m>>2]|0}g=c[d>>2]|0;if((f+1|0)>>>0<1073741824)g=xFa(g,0,0,f<<2)|0;else g=yFa(g)|0;c[l+16>>2]=g;c[l+52>>2]=f;e=(f|0)>0;do if(e){c[g>>2]=0;if((f|0)!=1){g=1;do{c[(c[l+16>>2]|0)+(g<<2)>>2]=0;g=g+1|0}while((g|0)!=(f|0))}if(e)g=0;else break;do{n=zGa(d,c[l+32>>2]|0)|0;c[(c[l+16>>2]|0)+(g<<2)>>2]=n;g=g+1|0}while((g|0)!=(f|0))}while(0);if(MGa(c[d+4>>2]|0,m,4)|0){n=c[d>>2]|0;c[m+200>>2]=c[d+12>>2];c[m+200+4>>2]=516336;FFa(n,516308,m+200|0)|0;HEa(c[d>>2]|0,3)}f=c[m>>2]|0;if((f|0)<0){f=c[d>>2]|0;c[m+208>>2]=c[d+12>>2];c[m+208+4>>2]=516379;FFa(f,516308,m+208|0)|0;HEa(c[d>>2]|0,3);f=c[m>>2]|0}g=c[d>>2]|0;if((f+1|0)>>>0<1073741824){n=f<<2;e=n;g=xFa(g,0,0,n)|0}else{e=f<<2;g=yFa(g)|0}c[l+20>>2]=g;c[l+48>>2]=f;if(MGa(c[d+4>>2]|0,g,e)|0){n=c[d>>2]|0;c[m+216>>2]=c[d+12>>2];c[m+216+4>>2]=516336;FFa(n,516308,m+216|0)|0;HEa(c[d>>2]|0,3)}if(MGa(c[d+4>>2]|0,m,4)|0){n=c[d>>2]|0;c[m+224>>2]=c[d+12>>2];c[m+224+4>>2]=516336;FFa(n,516308,m+224|0)|0;HEa(c[d>>2]|0,3)}f=c[m>>2]|0;if((f|0)<0){f=c[d>>2]|0;c[m+232>>2]=c[d+12>>2];c[m+232+4>>2]=516379;FFa(f,516308,m+232|0)|0;HEa(c[d>>2]|0,3);f=c[m>>2]|0}g=c[d>>2]|0;if((f+1|0)>>>0<357913942)g=xFa(g,0,0,f*12|0)|0;else g=yFa(g)|0;c[l+24>>2]=g;c[l+56>>2]=f;if((f|0)>0){e=0;do{c[g+(e*12|0)>>2]=0;e=e+1|0}while((e|0)!=(f|0));e=0;do{if(MGa(c[d+4>>2]|0,m,4)|0){n=c[d>>2]|0;c[m+240>>2]=c[d+12>>2];c[m+240+4>>2]=516336;FFa(n,516308,m+240|0)|0;HEa(c[d>>2]|0,3)}g=c[m>>2]|0;if(!g)g=0;else{g=NGa(c[d>>2]|0,c[d+8>>2]|0,g)|0;if(MGa(c[d+4>>2]|0,g,c[m>>2]|0)|0){n=c[d>>2]|0;c[m+248>>2]=c[d+12>>2];c[m+248+4>>2]=516336;FFa(n,516308,m+248|0)|0;HEa(c[d>>2]|0,3)}g=fGa(c[d>>2]|0,g,(c[m>>2]|0)+-1|0)|0}c[(c[l+24>>2]|0)+(e*12|0)>>2]=g;if(MGa(c[d+4>>2]|0,m,4)|0){n=c[d>>2]|0;c[m+256>>2]=c[d+12>>2];c[m+256+4>>2]=516336;FFa(n,516308,m+256|0)|0;HEa(c[d>>2]|0,3)}g=c[m>>2]|0;if((g|0)<0){g=c[d>>2]|0;c[m+264>>2]=c[d+12>>2];c[m+264+4>>2]=516379;FFa(g,516308,m+264|0)|0;HEa(c[d>>2]|0,3);g=c[m>>2]|0}c[(c[l+24>>2]|0)+(e*12|0)+4>>2]=g;if(MGa(c[d+4>>2]|0,m,4)|0){n=c[d>>2]|0;c[m+272>>2]=c[d+12>>2];c[m+272+4>>2]=516336;FFa(n,516308,m+272|0)|0;HEa(c[d>>2]|0,3)}g=c[m>>2]|0;if((g|0)<0){g=c[d>>2]|0;c[m+280>>2]=c[d+12>>2];c[m+280+4>>2]=516379;FFa(g,516308,m+280|0)|0;HEa(c[d>>2]|0,3);g=c[m>>2]|0}c[(c[l+24>>2]|0)+(e*12|0)+8>>2]=g;e=e+1|0}while((e|0)!=(f|0))}if(MGa(c[d+4>>2]|0,m,4)|0){n=c[d>>2]|0;c[m+288>>2]=c[d+12>>2];c[m+288+4>>2]=516336;FFa(n,516308,m+288|0)|0;HEa(c[d>>2]|0,3)}f=c[m>>2]|0;if((f|0)<0){f=c[d>>2]|0;c[m+296>>2]=c[d+12>>2];c[m+296+4>>2]=516379;FFa(f,516308,m+296|0)|0;HEa(c[d>>2]|0,3);f=c[m>>2]|0}g=c[d>>2]|0;if((f+1|0)>>>0<1073741824)g=xFa(g,0,0,f<<2)|0;else g=yFa(g)|0;c[l+28>>2]=g;c[l+36>>2]=f;if((f|0)>0){c[g>>2]=0;if((f|0)!=1){g=1;do{c[(c[l+28>>2]|0)+(g<<2)>>2]=0;g=g+1|0}while((g|0)!=(f|0))}e=0;do{if(MGa(c[d+4>>2]|0,m,4)|0){n=c[d>>2]|0;c[m+304>>2]=c[d+12>>2];c[m+304+4>>2]=516336;FFa(n,516308,m+304|0)|0;HEa(c[d>>2]|0,3)}g=c[m>>2]|0;if(!g)g=0;else{g=NGa(c[d>>2]|0,c[d+8>>2]|0,g)|0;if(MGa(c[d+4>>2]|0,g,c[m>>2]|0)|0){n=c[d>>2]|0;c[m+312>>2]=c[d+12>>2];c[m+312+4>>2]=516336;FFa(n,516308,m+312|0)|0;HEa(c[d>>2]|0,3)}g=fGa(c[d>>2]|0,g,(c[m>>2]|0)+-1|0)|0}c[(c[l+28>>2]|0)+(e<<2)>>2]=g;e=e+1|0}while((e|0)!=(f|0))}if(AEa(l)|0){n=c[d>>2]|0;d=n+8|0;k=c[d>>2]|0;k=k+-16|0;c[d>>2]=k;n=n+52|0;d=b[n>>1]|0;d=d+-1<<16>>16;b[n>>1]=d;i=m;return l|0}n=c[d>>2]|0;c[m+320>>2]=c[d+12>>2];c[m+320+4>>2]=516404;FFa(n,516308,m+320|0)|0;HEa(c[d>>2]|0,3);n=c[d>>2]|0;d=n+8|0;k=c[d>>2]|0;k=k+-16|0;c[d>>2]=k;n=n+52|0;d=b[n>>1]|0;d=d+-1<<16>>16;b[n>>1]=d;i=m;return l|0}function AGa(b){b=b|0;a[b>>0]=27;a[b+1>>0]=76;a[b+2>>0]=117;a[b+3>>0]=97;a[b+4>>0]=81;a[b+5>>0]=0;a[b+6>>0]=1;a[b+7>>0]=4;a[b+8>>0]=4;a[b+9>>0]=4;a[b+10>>0]=8;a[b+11>>0]=0;return}function BGa(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;switch(c[a+8>>2]|0){case 3:{b=a;break}case 4:{if(!(DFa((c[a>>2]|0)+16|0,e)|0))d=4;else{h[b>>3]=+h[e>>3];c[b+8>>2]=3}break}default:d=4}if((d|0)==4)b=0;i=e;return b|0}function CGa(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+48|0;if((c[b+8>>2]|0)!=3){b=0;i=d;return b|0}h[d>>3]=+h[b>>3];rmb(d+8|0,518854,d)|0;c[b>>2]=fGa(a,d+8|0,rnb(d+8|0)|0)|0;c[b+8>>2]=4;b=1;i=d;return b|0}function DGa(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+16|0;h=d;g=c[d+8>>2]|0;l=0;while(1){if((g|0)==5){d=c[h>>2]|0;j=mGa(d,e)|0;if(c[j+8>>2]|0){g=j;d=j+8|0;j=8;break}d=c[d+8>>2]|0;if(!d){g=j;d=j+8|0;j=8;break}if(a[d+6>>0]&1){g=j;d=j+8|0;j=8;break}d=wGa(d,0,c[(c[b+16>>2]|0)+188>>2]|0)|0;if(!d){g=j;d=j+8|0;j=8;break}}else{d=xGa(b,h,0)|0;if(!(c[d+8>>2]|0))BEa(b,h,516413)}k=d+8|0;g=c[k>>2]|0;l=l+1|0;if((g|0)==6){j=12;break}if((l|0)>=100){j=15;break}else h=d}if((j|0)==8){e=g;b=c[e+4>>2]|0;c[f>>2]=c[e>>2];c[f+4>>2]=b;c[f+8>>2]=c[d>>2];i=m;return}else if((j|0)==12){g=f-(c[b+32>>2]|0)|0;f=c[b+8>>2]|0;l=c[d+4>>2]|0;c[f>>2]=c[d>>2];c[f+4>>2]=l;c[f+8>>2]=c[k>>2];d=c[b+8>>2]|0;f=c[h+4>>2]|0;c[d+16>>2]=c[h>>2];c[d+16+4>>2]=f;c[d+24>>2]=c[h+8>>2];d=c[b+8>>2]|0;f=c[e+4>>2]|0;c[d+32>>2]=c[e>>2];c[d+32+4>>2]=f;c[d+40>>2]=c[e+8>>2];d=c[b+8>>2]|0;if(((c[b+28>>2]|0)-d|0)<49){LEa(b,3);d=c[b+8>>2]|0}c[b+8>>2]=d+48;PEa(b,d,1);f=(c[b+32>>2]|0)+g|0;e=c[b+8>>2]|0;c[b+8>>2]=e+-16;b=c[e+-16+4>>2]|0;c[f>>2]=c[e+-16>>2];c[f+4>>2]=b;c[f+8>>2]=c[e+-8>>2];i=m;return}else if((j|0)==15){CEa(b,516419,m);i=m;return}}function EGa(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+32|0;l=d;d=c[d+8>>2]|0;k=0;while(1){if((d|0)==5){g=c[l>>2]|0;j=rGa(b,g,e)|0;if(c[j+8>>2]|0){h=j;d=j+8|0;j=7;break}d=c[g+8>>2]|0;if(!d){h=j;d=j+8|0;j=7;break}if(a[d+6>>0]&2){h=j;d=j+8|0;j=7;break}d=wGa(d,1,c[(c[b+16>>2]|0)+192>>2]|0)|0;if(!d){h=j;d=j+8|0;j=7;break}}else{d=xGa(b,l,1)|0;if(!(c[d+8>>2]|0))BEa(b,l,516413)}h=d+8|0;if((c[h>>2]|0)==6){g=l;j=14;break}g=d;d=c[g+4>>2]|0;c[m>>2]=c[g>>2];c[m+4>>2]=d;d=c[h>>2]|0;c[m+8>>2]=d;g=k+1|0;if((g|0)<100){l=m;k=g}else{j=18;break}}if((j|0)==7){l=c[f+4>>2]|0;e=h;c[e>>2]=c[f>>2];c[e+4>>2]=l;c[d>>2]=c[f+8>>2];a[g+6>>0]=0;if((c[f+8>>2]|0)<=3){i=m;return}if(!(a[(c[f>>2]|0)+5>>0]&3)){i=m;return}if(!(a[g+5>>0]&4)){i=m;return}tFa(b,g);i=m;return}else if((j|0)==14){l=c[b+8>>2]|0;k=c[d+4>>2]|0;c[l>>2]=c[d>>2];c[l+4>>2]=k;c[l+8>>2]=c[h>>2];d=c[b+8>>2]|0;l=c[g+4>>2]|0;c[d+16>>2]=c[g>>2];c[d+16+4>>2]=l;c[d+24>>2]=c[g+8>>2];d=c[b+8>>2]|0;l=c[e+4>>2]|0;c[d+32>>2]=c[e>>2];c[d+32+4>>2]=l;c[d+40>>2]=c[e+8>>2];d=c[b+8>>2]|0;e=c[f+4>>2]|0;c[d+48>>2]=c[f>>2];c[d+48+4>>2]=e;c[d+56>>2]=c[f+8>>2];d=c[b+8>>2]|0;if(((c[b+28>>2]|0)-d|0)<65){LEa(b,4);d=c[b+8>>2]|0}c[b+8>>2]=d+64;PEa(b,d,0);i=m;return}else if((j|0)==18){CEa(b,516436,m+16|0);i=m;return}}function FGa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,i=0;e=c[b+8>>2]|0;if((e|0)!=(c[d+8>>2]|0)){g=GEa(a,b,d)|0;return g|0}switch(e|0){case 3:{g=+h[b>>3]<+h[d>>3]&1;return g|0}case 4:{b=c[b>>2]|0;f=c[d>>2]|0;e=Umb(b+16|0,f+16|0)|0;a:do if(!e){g=b+16|0;d=c[b+12>>2]|0;a=c[f+12>>2]|0;f=f+16|0;while(1){b=rnb(g)|0;e=(b|0)==(d|0);if((b|0)==(a|0))break;if(e){e=-1;break a}g=g+(b+1)|0;f=f+(b+1)|0;e=Umb(g,f)|0;if(e|0)break a;else{d=d-(b+1)|0;a=a-(b+1)|0}}e=e&1^1}while(0);g=e>>>31;return g|0}default:{e=xGa(a,b,13)|0;if(c[e+8>>2]|0)if(CFa(e,xGa(a,d,13)|0)|0){g=c[a+8>>2]|0;f=g-(c[a+32>>2]|0)|0;i=c[e+4>>2]|0;c[g>>2]=c[e>>2];c[g+4>>2]=i;c[g+8>>2]=c[e+8>>2];e=c[a+8>>2]|0;g=c[b+4>>2]|0;c[e+16>>2]=c[b>>2];c[e+16+4>>2]=g;c[e+24>>2]=c[b+8>>2];e=c[a+8>>2]|0;g=c[d+4>>2]|0;c[e+32>>2]=c[d>>2];c[e+32+4>>2]=g;c[e+40>>2]=c[d+8>>2];e=c[a+8>>2]|0;if(((c[a+28>>2]|0)-e|0)<49){LEa(a,3);e=c[a+8>>2]|0}c[a+8>>2]=e+48;PEa(a,e,1);e=(c[a+32>>2]|0)+f|0;b=c[a+8>>2]|0;c[a+8>>2]=b+-16;i=c[b+-16+4>>2]|0;c[e>>2]=c[b+-16>>2];c[e+4>>2]=i;c[e+8>>2]=c[b+-8>>2];e=c[a+8>>2]|0;b=c[e+8>>2]|0;if(!b)e=0;else if((b|0)==1)e=(c[e>>2]|0)!=0;else e=1;i=e&1;return i|0}i=GEa(a,b,d)|0;return i|0}}return 0}function GGa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,i=0,j=0,k=0;switch(c[d+8>>2]|0){case 0:{f=1;break}case 3:{f=+h[d>>3]==+h[e>>3];break}case 1:{f=(c[d>>2]|0)==(c[e>>2]|0);break}case 2:{f=(c[d>>2]|0)==(c[e>>2]|0);break}case 7:{f=c[d>>2]|0;g=c[e>>2]|0;if((f|0)==(g|0))f=1;else{i=c[f+8>>2]|0;f=c[g+8>>2]|0;if(!i)f=0;else if(!(a[i+6>>0]&16)){g=wGa(i,4,c[(c[b+16>>2]|0)+204>>2]|0)|0;if(!g)f=0;else if((i|0)==(f|0)){f=g;j=24}else if(!f)f=0;else if(!(a[f+6>>0]&16)){f=wGa(f,4,c[(c[b+16>>2]|0)+204>>2]|0)|0;if(!f)f=0;else if(!(CFa(g,f)|0))f=0;else{f=g;j=24}}else f=0}else f=0}break}case 5:{f=c[d>>2]|0;g=c[e>>2]|0;if((f|0)==(g|0))f=1;else{i=c[f+8>>2]|0;f=c[g+8>>2]|0;if(!i)f=0;else if(!(a[i+6>>0]&16)){g=wGa(i,4,c[(c[b+16>>2]|0)+204>>2]|0)|0;if(!g)f=0;else if((i|0)==(f|0)){f=g;j=24}else if(!f)f=0;else if(!(a[f+6>>0]&16)){f=wGa(f,4,c[(c[b+16>>2]|0)+204>>2]|0)|0;if(!f)f=0;else if(!(CFa(g,f)|0))f=0;else{f=g;j=24}}else f=0}else f=0}break}default:f=(c[d>>2]|0)==(c[e>>2]|0)}if((j|0)==24){j=c[b+8>>2]|0;g=j-(c[b+32>>2]|0)|0;k=f;i=c[k+4>>2]|0;c[j>>2]=c[k>>2];c[j+4>>2]=i;c[j+8>>2]=c[f+8>>2];f=c[b+8>>2]|0;j=c[d+4>>2]|0;c[f+16>>2]=c[d>>2];c[f+16+4>>2]=j;c[f+24>>2]=c[d+8>>2];f=c[b+8>>2]|0;j=c[e+4>>2]|0;c[f+32>>2]=c[e>>2];c[f+32+4>>2]=j;c[f+40>>2]=c[e+8>>2];f=c[b+8>>2]|0;if(((c[b+28>>2]|0)-f|0)<49){LEa(b,3);f=c[b+8>>2]|0}c[b+8>>2]=f+48;PEa(b,f,1);f=(c[b+32>>2]|0)+g|0;g=c[b+8>>2]|0;c[b+8>>2]=g+-16;k=c[g+-16+4>>2]|0;c[f>>2]=c[g+-16>>2];c[f+4>>2]=k;c[f+8>>2]=c[g+-8>>2];f=c[b+8>>2]|0;g=c[f+8>>2]|0;if(!g)f=0;else if((g|0)==1)f=(c[f>>2]|0)!=0;else f=1}return f&1|0}function HGa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,j=0,k=0,l=0,m=0,n=0,o=0;m=i;i=i+64|0;k=d;while(1){j=(c[a+12>>2]|0)+(k<<4)+16|0;f=j+-32+8|0;a:do if(((c[f>>2]|0)+-3|0)>>>0<2){switch(c[j+-16+8>>2]|0){case 4:break;case 3:{h[m>>3]=+h[j+-16>>3];rmb(m+32|0,518854,m)|0;c[j+-16>>2]=fGa(a,m+32|0,rnb(m+32|0)|0)|0;c[j+-16+8>>2]=4;break}default:{l=5;break a}}e=c[(c[j+-16>>2]|0)+12>>2]|0;if(!e){if((c[f>>2]|0)!=3){d=2;break}h[m+8>>3]=+h[j+-32>>3];rmb(m+32|0,518854,m+8|0)|0;c[j+-32>>2]=fGa(a,m+32|0,rnb(m+32|0)|0)|0;c[f>>2]=4;d=2;break}b:do if((b|0)>1){d=1;while(1){f=j+(0-d<<4)+-16|0;switch(c[f+8>>2]|0){case 4:break;case 3:{h[m+16>>3]=+h[f>>3];rmb(m+32|0,518854,m+16|0)|0;c[f>>2]=fGa(a,m+32|0,rnb(m+32|0)|0)|0;c[f+8>>2]=4;break}default:break b}f=c[(c[f>>2]|0)+12>>2]|0;if(f>>>0>=(-3-e|0)>>>0)CEa(a,516453,m+24|0);e=f+e|0;d=d+1|0;if((d|0)>=(b|0))break b}}else d=1;while(0);g=NGa(a,(c[a+16>>2]|0)+52|0,e)|0;if((d|0)>0){f=d;e=0;while(1){o=c[j+(0-f<<4)>>2]|0;n=c[o+12>>2]|0;mBb(g+e|0,o+16|0,n|0)|0;e=n+e|0;if((f|0)>1)f=f+-1|0;else break}}else e=0;o=j+(0-d<<4)|0;c[o>>2]=fGa(a,g,e)|0;c[o+8>>2]=4}else l=5;while(0);do if((l|0)==5){l=0;d=xGa(a,j+-32|0,15)|0;if(!(c[d+8>>2]|0)){d=xGa(a,j+-16|0,15)|0;if(!(c[d+8>>2]|0)){EEa(a,j+-32|0,j+-16|0);d=2;break}}e=j+-32-(c[a+32>>2]|0)|0;o=c[a+8>>2]|0;g=d;n=c[g+4>>2]|0;c[o>>2]=c[g>>2];c[o+4>>2]=n;c[o+8>>2]=c[d+8>>2];d=c[a+8>>2]|0;o=c[j+-32+4>>2]|0;c[d+16>>2]=c[j+-32>>2];c[d+16+4>>2]=o;c[d+24>>2]=c[f>>2];d=c[a+8>>2]|0;o=c[j+-16+4>>2]|0;c[d+32>>2]=c[j+-16>>2];c[d+32+4>>2]=o;c[d+40>>2]=c[j+-16+8>>2];d=c[a+8>>2]|0;if(((c[a+28>>2]|0)-d|0)<49){LEa(a,3);d=c[a+8>>2]|0}c[a+8>>2]=d+48;PEa(a,d,1);d=(c[a+32>>2]|0)+e|0;o=c[a+8>>2]|0;c[a+8>>2]=o+-16;n=c[o+-16+4>>2]|0;c[d>>2]=c[o+-16>>2];c[d+4>>2]=n;c[d+8>>2]=c[o+-8>>2];d=2}while(0);d=d+-1|0;b=b-d|0;if((b|0)<=1)break;else k=k-d|0}i=m;return}function IGa(b,e){b=b|0;e=e|0;var f=0,g=0,j=0,k=0,l=0.0,m=0.0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0.0;A=i;i=i+80|0;w=c[155296]|0;x=c[155297]|0;y=c[155298]|0;v=e;a:while(1){e=c[b+24>>2]|0;f=c[b+20>>2]|0;b:while(1){t=c[c[f+4>>2]>>2]|0;u=c[(c[t+16>>2]|0)+8>>2]|0;f=c[b+12>>2]|0;c:while(1){s=e+4|0;r=c[e>>2]|0;g=a[b+56>>0]|0;if(!(g&12))p=f;else{j=(c[b+64>>2]|0)+-1|0;c[b+64>>2]=j;if((g&4)==0&((j|0)==0^1))p=f;else{k=c[b+24>>2]|0;c[b+24>>2]=s;if(!((g&8|0)==0|(j|0)==0^1)){c[b+64>>2]=c[b+60>>2];MEa(b,3,-1)}do if(g&4|0){g=c[(c[c[(c[b+20>>2]|0)+4>>2]>>2]|0)+16>>2]|0;f=c[g+12>>2]|0;g=c[g+20>>2]|0;if(!g)j=0;else j=c[g+((s-f>>2)+-1<<2)>>2]|0;if(k>>>0>>0&((s-f>>2)+-1|0)!=0){if(!g)f=0;else f=c[g+((k-f>>2)+-1<<2)>>2]|0;if((j|0)==(f|0))break}MEa(b,2,j)}while(0);if((a[b+6>>0]|0)==1){z=17;break a}p=c[b+12>>2]|0}}q=p+((r>>>6&255)<<4)|0;do switch(r&63|0){case 30:{e=p;break b}case 0:{e=p+(r>>>23<<4)|0;f=c[e+4>>2]|0;c[q>>2]=c[e>>2];c[q+4>>2]=f;c[p+((r>>>6&255)<<4)+8>>2]=c[p+(r>>>23<<4)+8>>2];f=p;e=s;continue c}case 1:{f=c[u+(r>>>14<<4)+4>>2]|0;c[q>>2]=c[u+(r>>>14<<4)>>2];c[q+4>>2]=f;c[p+((r>>>6&255)<<4)+8>>2]=c[u+(r>>>14<<4)+8>>2];f=p;e=s;continue c}case 2:{c[q>>2]=r>>>23;c[p+((r>>>6&255)<<4)+8>>2]=1;f=p;e=(r&8372224|0)==0?s:e+8|0;continue c}case 3:{f=p+(r>>>23<<4)|0;while(1){e=f+-16|0;c[f+8>>2]=0;if(e>>>0>>0){f=p;e=s;continue c}else f=e}}case 4:{f=c[(c[t+20+(r>>>23<<2)>>2]|0)+8>>2]|0;e=c[f+4>>2]|0;c[q>>2]=c[f>>2];c[q+4>>2]=e;c[p+((r>>>6&255)<<4)+8>>2]=c[f+8>>2];f=p;e=s;continue c}case 5:{c[A+32>>2]=c[t+12>>2];c[A+32+8>>2]=5;c[b+24>>2]=s;DGa(b,A+32|0,u+(r>>>14<<4)|0,q);f=c[b+12>>2]|0;e=s;continue c}case 6:{c[b+24>>2]=s;DGa(b,p+(r>>>23<<4)|0,(r>>>14&256|0)==0?p+((r>>>14&511)<<4)|0:u+((r>>>14&255)<<4)|0,q);f=c[b+12>>2]|0;e=s;continue c}case 7:{c[A+32>>2]=c[t+12>>2];c[A+32+8>>2]=5;c[b+24>>2]=s;EGa(b,A+32|0,u+(r>>>14<<4)|0,q);f=c[b+12>>2]|0;e=s;continue c}case 8:{f=c[t+20+(r>>>23<<2)>>2]|0;o=c[f+8>>2]|0;n=c[q+4>>2]|0;c[o>>2]=c[q>>2];c[o+4>>2]=n;r=p+((r>>>6&255)<<4)+8|0;c[o+8>>2]=c[r>>2];if((c[r>>2]|0)<=3){f=p;e=s;continue c}e=c[q>>2]|0;if(!(a[e+5>>0]&3)){f=p;e=s;continue c}if(!(a[f+5>>0]&4)){f=p;e=s;continue c}sFa(b,f,e);f=p;e=s;continue c}case 9:{c[b+24>>2]=s;EGa(b,q,(r>>>23&256|0)==0?p+(r>>>23<<4)|0:u+((r>>>23&255)<<4)|0,(r>>>14&256|0)==0?p+((r>>>14&511)<<4)|0:u+((r>>>14&255)<<4)|0);f=c[b+12>>2]|0;e=s;continue c}case 10:{o=AFa(r>>>23)|0;c[q>>2]=nGa(b,o,AFa(r>>>14&511)|0)|0;c[p+((r>>>6&255)<<4)+8>>2]=5;c[b+24>>2]=s;r=c[b+16>>2]|0;if((c[r+68>>2]|0)>>>0>=(c[r+64>>2]|0)>>>0)lFa(b);f=c[b+12>>2]|0;e=s;continue c}case 11:{f=p+(r>>>23<<4)|0;e=c[f+4>>2]|0;c[q+16>>2]=c[f>>2];c[q+16+4>>2]=e;c[q+16+8>>2]=c[p+(r>>>23<<4)+8>>2];c[b+24>>2]=s;DGa(b,f,(r>>>14&256|0)==0?p+((r>>>14&511)<<4)|0:u+((r>>>14&255)<<4)|0,q);f=c[b+12>>2]|0;e=s;continue c}case 12:{g=(r>>>23&256|0)==0?p+(r>>>23<<4)|0:u+((r>>>23&255)<<4)|0;j=(r>>>14&256|0)==0?p+((r>>>14&511)<<4)|0:u+((r>>>14&255)<<4)|0;e=c[g+8>>2]|0;do if((e|0)==3)if((c[j+8>>2]|0)==3){h[q>>3]=+h[g>>3]+ +h[j>>3];c[p+((r>>>6&255)<<4)+8>>2]=3;f=p;e=s;continue c}else{c[b+24>>2]=s;f=g;z=46;break}else{c[b+24>>2]=s;if((e|0)==4)if(DFa((c[g>>2]|0)+16|0,A+32|0)|0){h[A+16>>3]=+h[A+32>>3];c[A+16+8>>2]=3;f=A+16|0;z=46;break}z=51}while(0);do if((z|0)==46){switch(c[j+8>>2]|0){case 3:{e=j;z=50;break}case 4:{if(!(DFa((c[j>>2]|0)+16|0,A+32|0)|0))z=49;else{h[A>>3]=+h[A+32>>3];c[A+8>>2]=3;e=A;z=50}break}default:z=49}if((z|0)==49){z=51;break}else if((z|0)==50){z=0;h[q>>3]=+h[f>>3]+ +h[e>>3];c[p+((r>>>6&255)<<4)+8>>2]=3;break}}while(0);do if((z|0)==51){z=0;e=xGa(b,g,5)|0;if(!(c[e+8>>2]|0)){e=xGa(b,j,5)|0;if(!(c[e+8>>2]|0)){FEa(b,g,j);break}}f=q-(c[b+32>>2]|0)|0;r=c[b+8>>2]|0;p=e;q=c[p+4>>2]|0;c[r>>2]=c[p>>2];c[r+4>>2]=q;c[r+8>>2]=c[e+8>>2];e=c[b+8>>2]|0;r=c[g+4>>2]|0;c[e+16>>2]=c[g>>2];c[e+16+4>>2]=r;c[e+24>>2]=c[g+8>>2];e=c[b+8>>2]|0;r=c[j+4>>2]|0;c[e+32>>2]=c[j>>2];c[e+32+4>>2]=r;c[e+40>>2]=c[j+8>>2];e=c[b+8>>2]|0;if(((c[b+28>>2]|0)-e|0)<49){LEa(b,3);e=c[b+8>>2]|0}c[b+8>>2]=e+48;PEa(b,e,1);r=(c[b+32>>2]|0)+f|0;q=c[b+8>>2]|0;c[b+8>>2]=q+-16;p=c[q+-16+4>>2]|0;c[r>>2]=c[q+-16>>2];c[r+4>>2]=p;c[r+8>>2]=c[q+-8>>2]}while(0);f=c[b+12>>2]|0;e=s;continue c}case 13:{g=(r>>>23&256|0)==0?p+(r>>>23<<4)|0:u+((r>>>23&255)<<4)|0;j=(r>>>14&256|0)==0?p+((r>>>14&511)<<4)|0:u+((r>>>14&255)<<4)|0;e=c[g+8>>2]|0;do if((e|0)==3)if((c[j+8>>2]|0)==3){h[q>>3]=+h[g>>3]-+h[j>>3];c[p+((r>>>6&255)<<4)+8>>2]=3;f=p;e=s;continue c}else{c[b+24>>2]=s;f=g;z=66;break}else{c[b+24>>2]=s;if((e|0)==4)if(DFa((c[g>>2]|0)+16|0,A+32|0)|0){h[A+16>>3]=+h[A+32>>3];c[A+16+8>>2]=3;f=A+16|0;z=66;break}z=71}while(0);do if((z|0)==66){switch(c[j+8>>2]|0){case 3:{e=j;z=70;break}case 4:{if(!(DFa((c[j>>2]|0)+16|0,A+32|0)|0))z=69;else{h[A>>3]=+h[A+32>>3];c[A+8>>2]=3;e=A;z=70}break}default:z=69}if((z|0)==69){z=71;break}else if((z|0)==70){z=0;h[q>>3]=+h[f>>3]-+h[e>>3];c[p+((r>>>6&255)<<4)+8>>2]=3;break}}while(0);do if((z|0)==71){z=0;e=xGa(b,g,6)|0;if(!(c[e+8>>2]|0)){e=xGa(b,j,6)|0;if(!(c[e+8>>2]|0)){FEa(b,g,j);break}}f=q-(c[b+32>>2]|0)|0;r=c[b+8>>2]|0;p=e;q=c[p+4>>2]|0;c[r>>2]=c[p>>2];c[r+4>>2]=q;c[r+8>>2]=c[e+8>>2];e=c[b+8>>2]|0;r=c[g+4>>2]|0;c[e+16>>2]=c[g>>2];c[e+16+4>>2]=r;c[e+24>>2]=c[g+8>>2];e=c[b+8>>2]|0;r=c[j+4>>2]|0;c[e+32>>2]=c[j>>2];c[e+32+4>>2]=r;c[e+40>>2]=c[j+8>>2];e=c[b+8>>2]|0;if(((c[b+28>>2]|0)-e|0)<49){LEa(b,3);e=c[b+8>>2]|0}c[b+8>>2]=e+48;PEa(b,e,1);r=(c[b+32>>2]|0)+f|0;q=c[b+8>>2]|0;c[b+8>>2]=q+-16;p=c[q+-16+4>>2]|0;c[r>>2]=c[q+-16>>2];c[r+4>>2]=p;c[r+8>>2]=c[q+-8>>2]}while(0);f=c[b+12>>2]|0;e=s;continue c}case 14:{g=(r>>>23&256|0)==0?p+(r>>>23<<4)|0:u+((r>>>23&255)<<4)|0;j=(r>>>14&256|0)==0?p+((r>>>14&511)<<4)|0:u+((r>>>14&255)<<4)|0;e=c[g+8>>2]|0;do if((e|0)==3)if((c[j+8>>2]|0)==3){h[q>>3]=+h[g>>3]*+h[j>>3];c[p+((r>>>6&255)<<4)+8>>2]=3;f=p;e=s;continue c}else{c[b+24>>2]=s;f=g;z=86;break}else{c[b+24>>2]=s;if((e|0)==4)if(DFa((c[g>>2]|0)+16|0,A+32|0)|0){h[A+16>>3]=+h[A+32>>3];c[A+16+8>>2]=3;f=A+16|0;z=86;break}z=91}while(0);do if((z|0)==86){switch(c[j+8>>2]|0){case 3:{e=j;z=90;break}case 4:{if(!(DFa((c[j>>2]|0)+16|0,A+32|0)|0))z=89;else{h[A>>3]=+h[A+32>>3];c[A+8>>2]=3;e=A;z=90}break}default:z=89}if((z|0)==89){z=91;break}else if((z|0)==90){z=0;h[q>>3]=+h[f>>3]*+h[e>>3];c[p+((r>>>6&255)<<4)+8>>2]=3;break}}while(0);do if((z|0)==91){z=0;e=xGa(b,g,7)|0;if(!(c[e+8>>2]|0)){e=xGa(b,j,7)|0;if(!(c[e+8>>2]|0)){FEa(b,g,j);break}}f=q-(c[b+32>>2]|0)|0;r=c[b+8>>2]|0;p=e;q=c[p+4>>2]|0;c[r>>2]=c[p>>2];c[r+4>>2]=q;c[r+8>>2]=c[e+8>>2];e=c[b+8>>2]|0;r=c[g+4>>2]|0;c[e+16>>2]=c[g>>2];c[e+16+4>>2]=r;c[e+24>>2]=c[g+8>>2];e=c[b+8>>2]|0;r=c[j+4>>2]|0;c[e+32>>2]=c[j>>2];c[e+32+4>>2]=r;c[e+40>>2]=c[j+8>>2];e=c[b+8>>2]|0;if(((c[b+28>>2]|0)-e|0)<49){LEa(b,3);e=c[b+8>>2]|0}c[b+8>>2]=e+48;PEa(b,e,1);r=(c[b+32>>2]|0)+f|0;q=c[b+8>>2]|0;c[b+8>>2]=q+-16;p=c[q+-16+4>>2]|0;c[r>>2]=c[q+-16>>2];c[r+4>>2]=p;c[r+8>>2]=c[q+-8>>2]}while(0);f=c[b+12>>2]|0;e=s;continue c}case 15:{g=(r>>>23&256|0)==0?p+(r>>>23<<4)|0:u+((r>>>23&255)<<4)|0;j=(r>>>14&256|0)==0?p+((r>>>14&511)<<4)|0:u+((r>>>14&255)<<4)|0;e=c[g+8>>2]|0;do if((e|0)==3)if((c[j+8>>2]|0)==3){h[q>>3]=+h[g>>3]/+h[j>>3];c[p+((r>>>6&255)<<4)+8>>2]=3;f=p;e=s;continue c}else{c[b+24>>2]=s;f=g;z=106;break}else{c[b+24>>2]=s;if((e|0)==4)if(DFa((c[g>>2]|0)+16|0,A+32|0)|0){h[A+16>>3]=+h[A+32>>3];c[A+16+8>>2]=3;f=A+16|0;z=106;break}z=111}while(0);do if((z|0)==106){switch(c[j+8>>2]|0){case 3:{e=j;z=110;break}case 4:{if(!(DFa((c[j>>2]|0)+16|0,A+32|0)|0))z=109;else{h[A>>3]=+h[A+32>>3];c[A+8>>2]=3;e=A;z=110}break}default:z=109}if((z|0)==109){z=111;break}else if((z|0)==110){z=0;h[q>>3]=+h[f>>3]/+h[e>>3];c[p+((r>>>6&255)<<4)+8>>2]=3;break}}while(0);do if((z|0)==111){z=0;e=xGa(b,g,8)|0;if(!(c[e+8>>2]|0)){e=xGa(b,j,8)|0;if(!(c[e+8>>2]|0)){FEa(b,g,j);break}}f=q-(c[b+32>>2]|0)|0;r=c[b+8>>2]|0;p=e;q=c[p+4>>2]|0;c[r>>2]=c[p>>2];c[r+4>>2]=q;c[r+8>>2]=c[e+8>>2];e=c[b+8>>2]|0;r=c[g+4>>2]|0;c[e+16>>2]=c[g>>2];c[e+16+4>>2]=r;c[e+24>>2]=c[g+8>>2];e=c[b+8>>2]|0;r=c[j+4>>2]|0;c[e+32>>2]=c[j>>2];c[e+32+4>>2]=r;c[e+40>>2]=c[j+8>>2];e=c[b+8>>2]|0;if(((c[b+28>>2]|0)-e|0)<49){LEa(b,3);e=c[b+8>>2]|0}c[b+8>>2]=e+48;PEa(b,e,1);r=(c[b+32>>2]|0)+f|0;q=c[b+8>>2]|0;c[b+8>>2]=q+-16;p=c[q+-16+4>>2]|0;c[r>>2]=c[q+-16>>2];c[r+4>>2]=p;c[r+8>>2]=c[q+-8>>2]}while(0);f=c[b+12>>2]|0;e=s;continue c}case 16:{g=(r>>>23&256|0)==0?p+(r>>>23<<4)|0:u+((r>>>23&255)<<4)|0;j=(r>>>14&256|0)==0?p+((r>>>14&511)<<4)|0:u+((r>>>14&255)<<4)|0;e=c[g+8>>2]|0;do if((e|0)==3)if((c[j+8>>2]|0)==3){l=+h[g>>3];m=+h[j>>3];h[q>>3]=l-m*+M(+(l/m));c[p+((r>>>6&255)<<4)+8>>2]=3;f=p;e=s;continue c}else{c[b+24>>2]=s;f=g;z=126;break}else{c[b+24>>2]=s;if((e|0)==4)if(DFa((c[g>>2]|0)+16|0,A+32|0)|0){h[A+16>>3]=+h[A+32>>3];c[A+16+8>>2]=3;f=A+16|0;z=126;break}z=131}while(0);do if((z|0)==126){switch(c[j+8>>2]|0){case 3:{e=j;z=130;break}case 4:{if(!(DFa((c[j>>2]|0)+16|0,A+32|0)|0))z=129;else{h[A>>3]=+h[A+32>>3];c[A+8>>2]=3;e=A;z=130}break}default:z=129}if((z|0)==129){z=131;break}else if((z|0)==130){z=0;l=+h[f>>3];m=+h[e>>3];h[q>>3]=l-m*+M(+(l/m));c[p+((r>>>6&255)<<4)+8>>2]=3;break}}while(0);do if((z|0)==131){z=0;e=xGa(b,g,9)|0;if(!(c[e+8>>2]|0)){e=xGa(b,j,9)|0;if(!(c[e+8>>2]|0)){FEa(b,g,j);break}}f=q-(c[b+32>>2]|0)|0;r=c[b+8>>2]|0;p=e;q=c[p+4>>2]|0;c[r>>2]=c[p>>2];c[r+4>>2]=q;c[r+8>>2]=c[e+8>>2];e=c[b+8>>2]|0;r=c[g+4>>2]|0;c[e+16>>2]=c[g>>2];c[e+16+4>>2]=r;c[e+24>>2]=c[g+8>>2];e=c[b+8>>2]|0;r=c[j+4>>2]|0;c[e+32>>2]=c[j>>2];c[e+32+4>>2]=r;c[e+40>>2]=c[j+8>>2];e=c[b+8>>2]|0;if(((c[b+28>>2]|0)-e|0)<49){LEa(b,3);e=c[b+8>>2]|0}c[b+8>>2]=e+48;PEa(b,e,1);r=(c[b+32>>2]|0)+f|0;q=c[b+8>>2]|0;c[b+8>>2]=q+-16;p=c[q+-16+4>>2]|0;c[r>>2]=c[q+-16>>2];c[r+4>>2]=p;c[r+8>>2]=c[q+-8>>2]}while(0);f=c[b+12>>2]|0;e=s;continue c}case 17:{g=(r>>>23&256|0)==0?p+(r>>>23<<4)|0:u+((r>>>23&255)<<4)|0;j=(r>>>14&256|0)==0?p+((r>>>14&511)<<4)|0:u+((r>>>14&255)<<4)|0;e=c[g+8>>2]|0;do if((e|0)==3)if((c[j+8>>2]|0)==3){h[q>>3]=+P(+(+h[g>>3]),+(+h[j>>3]));c[p+((r>>>6&255)<<4)+8>>2]=3;f=p;e=s;continue c}else{c[b+24>>2]=s;f=g;z=146;break}else{c[b+24>>2]=s;if((e|0)==4)if(DFa((c[g>>2]|0)+16|0,A+32|0)|0){h[A+16>>3]=+h[A+32>>3];c[A+16+8>>2]=3;f=A+16|0;z=146;break}z=151}while(0);do if((z|0)==146){switch(c[j+8>>2]|0){case 3:{e=j;z=150;break}case 4:{if(!(DFa((c[j>>2]|0)+16|0,A+32|0)|0))z=149;else{h[A>>3]=+h[A+32>>3];c[A+8>>2]=3;e=A;z=150}break}default:z=149}if((z|0)==149){z=151;break}else if((z|0)==150){z=0;h[q>>3]=+P(+(+h[f>>3]),+(+h[e>>3]));c[p+((r>>>6&255)<<4)+8>>2]=3;break}}while(0);do if((z|0)==151){z=0;e=xGa(b,g,10)|0;if(!(c[e+8>>2]|0)){e=xGa(b,j,10)|0;if(!(c[e+8>>2]|0)){FEa(b,g,j);break}}f=q-(c[b+32>>2]|0)|0;r=c[b+8>>2]|0;p=e;q=c[p+4>>2]|0;c[r>>2]=c[p>>2];c[r+4>>2]=q;c[r+8>>2]=c[e+8>>2];e=c[b+8>>2]|0;r=c[g+4>>2]|0;c[e+16>>2]=c[g>>2];c[e+16+4>>2]=r;c[e+24>>2]=c[g+8>>2];e=c[b+8>>2]|0;r=c[j+4>>2]|0;c[e+32>>2]=c[j>>2];c[e+32+4>>2]=r;c[e+40>>2]=c[j+8>>2];e=c[b+8>>2]|0;if(((c[b+28>>2]|0)-e|0)<49){LEa(b,3);e=c[b+8>>2]|0}c[b+8>>2]=e+48;PEa(b,e,1);r=(c[b+32>>2]|0)+f|0;q=c[b+8>>2]|0;c[b+8>>2]=q+-16;p=c[q+-16+4>>2]|0;c[r>>2]=c[q+-16>>2];c[r+4>>2]=p;c[r+8>>2]=c[q+-8>>2]}while(0);f=c[b+12>>2]|0;e=s;continue c}case 18:{g=p+(r>>>23<<4)|0;j=p+(r>>>23<<4)+8|0;e=c[j>>2]|0;if((e|0)==3){h[q>>3]=-+h[g>>3];c[p+((r>>>6&255)<<4)+8>>2]=3;f=p;e=s;continue c}c[b+24>>2]=s;do if((e|0)==4)if(!(DFa((c[g>>2]|0)+16|0,A+32|0)|0))z=163;else{h[A+16>>3]=+h[A+32>>3];c[A+16+8>>2]=3;switch(c[j>>2]|0){case 3:{z=166;break}case 4:{if(!(DFa((c[g>>2]|0)+16|0,A+32|0)|0))z=165;else z=166;break}default:z=165}if((z|0)==165){z=167;break}else if((z|0)==166){z=0;h[q>>3]=-+h[A+16>>3];c[p+((r>>>6&255)<<4)+8>>2]=3;break}}else z=163;while(0);if((z|0)==163)z=167;do if((z|0)==167){z=0;e=xGa(b,g,11)|0;if(!(c[e+8>>2]|0)){e=xGa(b,g,11)|0;if(!(c[e+8>>2]|0)){FEa(b,g,g);break}}f=q-(c[b+32>>2]|0)|0;r=c[b+8>>2]|0;p=e;q=c[p+4>>2]|0;c[r>>2]=c[p>>2];c[r+4>>2]=q;c[r+8>>2]=c[e+8>>2];e=c[b+8>>2]|0;r=c[g+4>>2]|0;c[e+16>>2]=c[g>>2];c[e+16+4>>2]=r;c[e+24>>2]=c[j>>2];e=c[b+8>>2]|0;r=c[g+4>>2]|0;c[e+32>>2]=c[g>>2];c[e+32+4>>2]=r;c[e+40>>2]=c[j>>2];e=c[b+8>>2]|0;if(((c[b+28>>2]|0)-e|0)<49){LEa(b,3);e=c[b+8>>2]|0}c[b+8>>2]=e+48;PEa(b,e,1);r=(c[b+32>>2]|0)+f|0;q=c[b+8>>2]|0;c[b+8>>2]=q+-16;p=c[q+-16+4>>2]|0;c[r>>2]=c[q+-16>>2];c[r+4>>2]=p;c[r+8>>2]=c[q+-8>>2]}while(0);f=c[b+12>>2]|0;e=s;continue c}case 19:{e=c[p+(r>>>23<<4)+8>>2]|0;if(!e)e=1;else if((e|0)==1)e=(c[p+(r>>>23<<4)>>2]|0)==0;else e=0;c[q>>2]=e&1;c[p+((r>>>6&255)<<4)+8>>2]=1;f=p;e=s;continue c}case 20:{g=p+(r>>>23<<4)|0;j=p+(r>>>23<<4)+8|0;switch(c[j>>2]|0){case 5:{h[q>>3]=+(uGa(c[g>>2]|0)|0);c[p+((r>>>6&255)<<4)+8>>2]=3;f=p;e=s;continue c}case 4:{h[q>>3]=+((c[(c[g>>2]|0)+12>>2]|0)>>>0);c[p+((r>>>6&255)<<4)+8>>2]=3;f=p;e=s;continue c}default:{c[b+24>>2]=s;e=xGa(b,g,12)|0;if(!(c[e+8>>2]|0)){e=xGa(b,621184,12)|0;if(!(c[e+8>>2]|0))BEa(b,g,516476);else z=183}else z=183;if((z|0)==183){z=0;f=q-(c[b+32>>2]|0)|0;r=c[b+8>>2]|0;p=e;q=c[p+4>>2]|0;c[r>>2]=c[p>>2];c[r+4>>2]=q;c[r+8>>2]=c[e+8>>2];e=c[b+8>>2]|0;r=c[g+4>>2]|0;c[e+16>>2]=c[g>>2];c[e+16+4>>2]=r;c[e+24>>2]=c[j>>2];e=c[b+8>>2]|0;c[e+32>>2]=w;c[e+32+4>>2]=x;c[e+40>>2]=y;e=c[b+8>>2]|0;if(((c[b+28>>2]|0)-e|0)<49){LEa(b,3);e=c[b+8>>2]|0}c[b+8>>2]=e+48;PEa(b,e,1);r=(c[b+32>>2]|0)+f|0;q=c[b+8>>2]|0;c[b+8>>2]=q+-16;p=c[q+-16+4>>2]|0;c[r>>2]=c[q+-16>>2];c[r+4>>2]=p;c[r+8>>2]=c[q+-8>>2]}f=c[b+12>>2]|0;e=s;continue c}}}case 21:{c[b+24>>2]=s;HGa(b,1-(r>>>23)+(r>>>14&511)|0,r>>>14&511);q=c[b+16>>2]|0;if((c[q+68>>2]|0)>>>0>=(c[q+64>>2]|0)>>>0)lFa(b);f=c[b+12>>2]|0;e=c[f+(r>>>23<<4)+4>>2]|0;c[f+((r>>>6&255)<<4)>>2]=c[f+(r>>>23<<4)>>2];c[f+((r>>>6&255)<<4)+4>>2]=e;c[f+((r>>>6&255)<<4)+8>>2]=c[f+(r>>>23<<4)+8>>2];e=s;continue c}case 22:{f=p;e=s+((r>>>14)+-131071<<2)|0;continue c}case 23:{f=(r>>>23&256|0)==0?p+(r>>>23<<4)|0:u+((r>>>23&255)<<4)|0;e=(r>>>14&256|0)==0?p+((r>>>14&511)<<4)|0:u+((r>>>14&255)<<4)|0;c[b+24>>2]=s;if((c[f+8>>2]|0)==(c[e+8>>2]|0))e=(GGa(b,f,e)|0)!=0;else e=0;if((e&1|0)==(r>>>6&255|0))e=s+(((c[s>>2]|0)>>>14)+-131071<<2)|0;else e=s;f=c[b+12>>2]|0;e=e+4|0;continue c}case 24:{c[b+24>>2]=s;if((FGa(b,(r>>>23&256|0)==0?p+(r>>>23<<4)|0:u+((r>>>23&255)<<4)|0,(r>>>14&256|0)==0?p+((r>>>14&511)<<4)|0:u+((r>>>14&255)<<4)|0)|0)==(r>>>6&255|0))e=s+(((c[s>>2]|0)>>>14)+-131071<<2)|0;else e=s;f=c[b+12>>2]|0;e=e+4|0;continue c}case 25:{c[b+24>>2]=s;g=(r>>>23&256|0)==0?p+(r>>>23<<4)|0:u+((r>>>23&255)<<4)|0;j=(r>>>14&256|0)==0?p+((r>>>14&511)<<4)|0:u+((r>>>14&255)<<4)|0;e=c[g+8>>2]|0;d:do if((e|0)==(c[j+8>>2]|0))switch(e|0){case 3:{e=+h[g>>3]<=+h[j>>3]&1;break d}case 4:{f=c[g>>2]|0;g=c[j>>2]|0;e=Umb(f+16|0,g+16|0)|0;e:do if(!e){n=f+16|0;j=c[f+12>>2]|0;k=c[g+12>>2]|0;g=g+16|0;while(1){f=rnb(n)|0;e=(f|0)==(j|0);if((f|0)==(k|0))break;if(e){e=-1;break e}n=n+(f+1)|0;g=g+(f+1)|0;e=Umb(n,g)|0;if(e|0)break e;else{j=j-(f+1)|0;k=k-(f+1)|0}}e=e&1^1}while(0);e=(e|0)<1&1;break d}default:{e=xGa(b,g,14)|0;if(c[e+8>>2]|0)if(CFa(e,xGa(b,j,14)|0)|0){q=c[b+8>>2]|0;f=q-(c[b+32>>2]|0)|0;p=c[e+4>>2]|0;c[q>>2]=c[e>>2];c[q+4>>2]=p;c[q+8>>2]=c[e+8>>2];e=c[b+8>>2]|0;q=c[g+4>>2]|0;c[e+16>>2]=c[g>>2];c[e+16+4>>2]=q;c[e+24>>2]=c[g+8>>2];e=c[b+8>>2]|0;q=c[j+4>>2]|0;c[e+32>>2]=c[j>>2];c[e+32+4>>2]=q;c[e+40>>2]=c[j+8>>2];e=c[b+8>>2]|0;if(((c[b+28>>2]|0)-e|0)<49){LEa(b,3);e=c[b+8>>2]|0}c[b+8>>2]=e+48;PEa(b,e,1);e=(c[b+32>>2]|0)+f|0;f=c[b+8>>2]|0;c[b+8>>2]=f+-16;q=c[f+-16+4>>2]|0;c[e>>2]=c[f+-16>>2];c[e+4>>2]=q;c[e+8>>2]=c[f+-8>>2];e=c[b+8>>2]|0;f=c[e+8>>2]|0;if(!f)e=0;else if((f|0)==1)e=(c[e>>2]|0)!=0;else e=1;e=e&1;break d}e=xGa(b,j,13)|0;if(c[e+8>>2]|0)if(CFa(e,xGa(b,g,13)|0)|0){q=c[b+8>>2]|0;f=q-(c[b+32>>2]|0)|0;p=c[e+4>>2]|0;c[q>>2]=c[e>>2];c[q+4>>2]=p;c[q+8>>2]=c[e+8>>2];e=c[b+8>>2]|0;q=c[j+4>>2]|0;c[e+16>>2]=c[j>>2];c[e+16+4>>2]=q;c[e+24>>2]=c[j+8>>2];e=c[b+8>>2]|0;q=c[g+4>>2]|0;c[e+32>>2]=c[g>>2];c[e+32+4>>2]=q;c[e+40>>2]=c[g+8>>2];e=c[b+8>>2]|0;if(((c[b+28>>2]|0)-e|0)<49){LEa(b,3);e=c[b+8>>2]|0}c[b+8>>2]=e+48;PEa(b,e,1);e=(c[b+32>>2]|0)+f|0;f=c[b+8>>2]|0;c[b+8>>2]=f+-16;q=c[f+-16+4>>2]|0;c[e>>2]=c[f+-16>>2];c[e+4>>2]=q;c[e+8>>2]=c[f+-8>>2];e=c[b+8>>2]|0;f=c[e+8>>2]|0;if(!f)e=0;else if((f|0)==1)e=(c[e>>2]|0)!=0;else e=1;e=e&1^1;break d}e=GEa(b,g,j)|0;break d}}else e=GEa(b,g,j)|0;while(0);if((e|0)==(r>>>6&255|0))e=s+(((c[s>>2]|0)>>>14)+-131071<<2)|0;else e=s;f=c[b+12>>2]|0;e=e+4|0;continue c}case 26:{e=c[p+((r>>>6&255)<<4)+8>>2]|0;if(!e)e=1;else if((e|0)==1)e=(c[q>>2]|0)==0;else e=0;if((e&1|0)==(r>>>14&511|0))e=s;else e=s+(((c[s>>2]|0)>>>14)+-131071<<2)|0;f=p;e=e+4|0;continue c}case 27:{e=p+(r>>>23<<4)|0;f=c[p+(r>>>23<<4)+8>>2]|0;if(!f)g=1;else if((f|0)==1)g=(c[e>>2]|0)==0;else g=0;if((g&1|0)==(r>>>14&511|0))e=s;else{o=c[e+4>>2]|0;c[q>>2]=c[e>>2];c[q+4>>2]=o;c[p+((r>>>6&255)<<4)+8>>2]=f;e=s+(((c[s>>2]|0)>>>14)+-131071<<2)|0}f=p;e=e+4|0;continue c}case 28:{if(r>>>23|0)c[b+8>>2]=q+(r>>>23<<4);c[b+24>>2]=s;switch(NEa(b,q,(r>>>14&511)+-1|0)|0){case 0:{z=246;break b}case 1:break;default:{z=322;break a}}if(r>>>14&511|0)c[b+8>>2]=c[(c[b+20>>2]|0)+8>>2];f=c[b+12>>2]|0;e=s;continue c}case 29:{if(r>>>23|0)c[b+8>>2]=q+(r>>>23<<4);c[b+24>>2]=s;switch(NEa(b,q,-1)|0){case 0:break c;case 1:break;default:{z=322;break a}}f=c[b+12>>2]|0;e=s;continue c}case 31:{B=+h[q+32>>3];l=B+ +h[q>>3];m=+h[q+16>>3];if(B>0.0){if(!(l<=m)){f=p;e=s;continue c}}else if(!(m<=l)){f=p;e=s;continue c}h[q>>3]=l;c[p+((r>>>6&255)<<4)+8>>2]=3;h[q+48>>3]=l;c[q+48+8>>2]=3;f=p;e=s+((r>>>14)+-131071<<2)|0;continue c}case 32:{c[b+24>>2]=s;f=p+((r>>>6&255)<<4)+8|0;e=c[f>>2]|0;do if((e|0)==3)z=275;else{if((e|0)==4)if(DFa((c[q>>2]|0)+16|0,A+32|0)|0){h[q>>3]=+h[A+32>>3];c[f>>2]=3;z=275;break}CEa(b,516490,A+48|0)}while(0);f:do if((z|0)==275){z=0;e=c[q+16+8>>2]|0;do if((e|0)!=3){if((e|0)==4)if(DFa((c[q+16>>2]|0)+16|0,A+32|0)|0){h[q+16>>3]=+h[A+32>>3];c[q+16+8>>2]=3;break}CEa(b,516527,A+56|0);break f}while(0);e=c[q+32+8>>2]|0;if((e|0)!=3){if((e|0)!=4){z=284;break a}if(!(DFa((c[q+32>>2]|0)+16|0,A+32|0)|0)){z=284;break a}h[q+32>>3]=+h[A+32>>3];c[q+32+8>>2]=3}}while(0);h[q>>3]=+h[q>>3]-+h[q+32>>3];c[f>>2]=3;f=p;e=s+((r>>>14)+-131071<<2)|0;continue c}case 33:{f=c[q+32+4>>2]|0;c[q+48+32>>2]=c[q+32>>2];c[q+48+32+4>>2]=f;c[q+48+32+8>>2]=c[q+32+8>>2];f=c[q+16+4>>2]|0;c[q+48+16>>2]=c[q+16>>2];c[q+48+16+4>>2]=f;c[q+48+16+8>>2]=c[q+16+8>>2];f=c[q+4>>2]|0;c[q+48>>2]=c[q>>2];c[q+48+4>>2]=f;c[q+48+8>>2]=c[p+((r>>>6&255)<<4)+8>>2];c[b+8>>2]=q+48+48;c[b+24>>2]=s;PEa(b,q+48|0,r>>>14&511);f=c[b+12>>2]|0;c[b+8>>2]=c[(c[b+20>>2]|0)+8>>2];e=c[f+((r>>>6&255)<<4)+48+8>>2]|0;if(!e)e=s;else{q=f+((r>>>6&255)<<4)+48+-16|0;p=f+((r>>>6&255)<<4)+48|0;r=c[p+4>>2]|0;c[q>>2]=c[p>>2];c[q+4>>2]=r;c[q+8>>2]=e;e=s+(((c[s>>2]|0)>>>14)+-131071<<2)|0}e=e+4|0;continue c}case 34:{if(!(r>>>23)){k=((c[b+8>>2]|0)-q>>4)+-1|0;c[b+8>>2]=c[(c[b+20>>2]|0)+8>>2]}else k=r>>>23;if(!(r>>>14&511)){f=c[s>>2]|0;e=e+8|0}else{f=r>>>14&511;e=s}if((c[p+((r>>>6&255)<<4)+8>>2]|0)!=5){f=p;continue c}n=c[q>>2]|0;f=k+-50+(f*50|0)|0;if((f|0)>(c[n+28>>2]|0))iGa(b,n,f);if((k|0)<=0){f=p;continue c}while(1){g=q+(k<<4)|0;j=f+-1|0;s=sGa(b,n,f)|0;r=c[g+4>>2]|0;c[s>>2]=c[g>>2];c[s+4>>2]=r;c[s+8>>2]=c[g+8>>2];if((c[g+8>>2]|0)>3)if(a[(c[g>>2]|0)+5>>0]&3)if(a[n+5>>0]&4)tFa(b,n);if((k|0)>1){f=j;k=k+-1|0}else{f=p;continue c}}}case 35:{bFa(b,q);f=p;e=s;continue c}case 36:{o=c[(c[(c[t+16>>2]|0)+16>>2]|0)+(r>>>14<<2)>>2]|0;e=a[o+72>>0]|0;k=ZEa(b,e&255,c[t+12>>2]|0)|0;c[k+16>>2]=o;if(!(e<<24>>24))e=s;else{g=0;j=s;while(1){f=c[j>>2]|0;if((f&63|0)==4)c[k+20+(g<<2)>>2]=c[t+20+(f>>>23<<2)>>2];else c[k+20+(g<<2)>>2]=$Ea(b,p+(f>>>23<<4)|0)|0;g=g+1|0;if((g|0)==(e&255|0))break;else j=j+4|0}e=s+((e&255)<<2)|0}c[q>>2]=k;c[p+((r>>>6&255)<<4)+8>>2]=6;c[b+24>>2]=e;s=c[b+16>>2]|0;if((c[s+68>>2]|0)>>>0>=(c[s+64>>2]|0)>>>0)lFa(b);f=c[b+12>>2]|0;continue c}case 37:{k=c[b+20>>2]|0;n=((c[k>>2]|0)-(c[k+4>>2]|0)>>4)-(d[(c[t+16>>2]|0)+73>>0]|0)|0;if(!(r>>>23)){c[b+24>>2]=s;if(((c[b+28>>2]|0)-(c[b+8>>2]|0)|0)<=(n+-1<<4|0))LEa(b,n+-1|0);j=c[b+12>>2]|0;c[b+8>>2]=j+((r>>>6&255)<<4)+(n+-1<<4);o=n+-1|0;f=j;j=j+((r>>>6&255)<<4)|0}else{o=(r>>>23)+-1|0;f=p;j=q}if((o|0)<=0){e=s;continue c}e=0;while(1){if((e|0)<(n+-1|0)){g=(c[k>>2]|0)+(1-n<<4)+(e<<4)|0;q=c[g+4>>2]|0;r=j+(e<<4)|0;c[r>>2]=c[g>>2];c[r+4>>2]=q;g=c[g+8>>2]|0}else g=0;c[j+(e<<4)+8>>2]=g;e=e+1|0;if((e|0)==(o|0)){e=s;continue c}}}default:{f=p;e=s;continue c}}while(0)}n=c[b+20>>2]|0;e=c[n+-20>>2]|0;k=c[n+4>>2]|0;if(!(c[b+104>>2]|0))f=e;else{bFa(b,c[n+-24>>2]|0);f=c[n+-20>>2]|0}u=f+((c[n>>2]|0)-k>>4<<4)|0;c[n+-24>>2]=u;c[b+12>>2]=u;if(k>>>0<(c[b+8>>2]|0)>>>0){g=k;f=e;j=0;do{t=g;u=c[t+4>>2]|0;c[f>>2]=c[t>>2];c[f+4>>2]=u;c[e+(j<<4)+8>>2]=c[k+(j<<4)+8>>2];j=j+1|0;g=k+(j<<4)|0;f=e+(j<<4)|0}while(g>>>0<(c[b+8>>2]|0)>>>0);e=f}c[b+8>>2]=e;c[n+-16>>2]=e;e=c[b+24>>2]|0;c[n+-12>>2]=e;c[n+-4>>2]=(c[n+-4>>2]|0)+1;f=(c[b+20>>2]|0)+-24|0;c[b+20>>2]=f}if((z|0)==246){z=0;v=v+1|0;continue}if(r>>>23|0)c[b+8>>2]=q+(r>>>23<<4)+-16;if(c[b+104>>2]|0)bFa(b,e);c[b+24>>2]=s;f=OEa(b,q)|0;e=v+-1|0;if(!e){z=322;break}if(!f){v=e;continue}c[b+8>>2]=c[(c[b+20>>2]|0)+8>>2];v=e}if((z|0)==17){c[b+24>>2]=e;i=A;return}else if((z|0)==284)CEa(b,516556,A+64|0);else if((z|0)==322){i=A;return}}function JGa(a){a=a|0;var b=0,e=0,f=0;f=i;i=i+16|0;b=Gi[c[a+8>>2]&255](c[a+16>>2]|0,c[a+12>>2]|0,f)|0;e=c[f>>2]|0;if((b|0)==0|(e|0)==0){a=-1;i=f;return a|0}c[a>>2]=e+-1;c[a+4>>2]=b+1;a=d[b>>0]|0;i=f;return a|0}function KGa(a){a=a|0;var b=0,e=0,f=0;f=i;i=i+16|0;do if(!(c[a>>2]|0)){b=Gi[c[a+8>>2]&255](c[a+16>>2]|0,c[a+12>>2]|0,f)|0;e=c[f>>2]|0;if(!((b|0)==0|(e|0)==0)){c[a>>2]=e;c[a+4>>2]=b;break}a=-1;i=f;return a|0}else b=c[a+4>>2]|0;while(0);a=d[b>>0]|0;i=f;return a|0}function LGa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;c[b+16>>2]=a;c[b+8>>2]=d;c[b+12>>2]=e;c[b>>2]=0;c[b+4>>2]=0;return}function MGa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+16|0;if(!d){a=0;i=h;return a|0}e=c[a>>2]|0;while(1){if(!e){f=Gi[c[a+8>>2]&255](c[a+16>>2]|0,c[a+12>>2]|0,h)|0;e=c[h>>2]|0;if((f|0)==0|(e|0)==0){b=8;break}c[a>>2]=e;c[a+4>>2]=f;g=f}else g=c[a+4>>2]|0;f=d>>>0>e>>>0?e:d;mBb(b|0,g|0,f|0)|0;e=(c[a>>2]|0)-f|0;c[a>>2]=e;c[a+4>>2]=(c[a+4>>2]|0)+f;if((d|0)==(f|0)){d=0;b=8;break}else{d=d-f|0;b=b+f|0}}if((b|0)==8){i=h;return d|0}return 0}function NGa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=c[b+8>>2]|0;if(g>>>0>=d>>>0){b=c[b>>2]|0;return b|0}e=d>>>0<32?32:d;if((e+1|0)>>>0<4294967294){f=b;d=xFa(a,c[b>>2]|0,g,e)|0}else{f=b;d=yFa(a)|0}c[f>>2]=d;c[b+8>>2]=e;b=d;return b|0}function OGa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+128|0;if(!(uEa(a,0,f+28|0)|0)){c[f>>2]=b;c[f+4>>2]=d;d=PGa(a,516584,f)|0;i=f;return d|0}xEa(a,516617,f+28|0)|0;if(!(Imb(c[f+28+8>>2]|0,516619)|0))if(!(b+-1|0)){c[f+8>>2]=c[f+28+4>>2];c[f+8+4>>2]=d;d=PGa(a,516626,f+8|0)|0;i=f;return d|0}else b=b+-1|0;e=c[f+28+4>>2]|0;if(!e){c[f+28+4>>2]=520529;e=520529}c[f+16>>2]=b;c[f+16+4>>2]=e;c[f+16+8>>2]=d;d=PGa(a,516656,f+16|0)|0;i=f;return d|0}function PGa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+128|0;c[e+8>>2]=d;if(uEa(a,1,e+24|0)|0){xEa(a,516606,e+24|0)|0;d=c[e+24+20>>2]|0;if((d|0)>0){c[e>>2]=e+24+36;c[e+4>>2]=d;NDa(a,516609,e)|0;MDa(a,b,e+8|0)|0;mEa(a,2);b=kEa(a)|0;i=e;return b|0}}KDa(a,1279070,0);MDa(a,b,e+8|0)|0;mEa(a,2);b=kEa(a)|0;i=e;return b|0}function QGa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=i;i=i+16|0;f=rDa(a,qDa(a,b)|0)|0;c[e>>2]=d;c[e+4>>2]=f;d=OGa(a,b,NDa(a,516686,e)|0)|0;i=e;return d|0}function RGa(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+112|0;if(uEa(a,b,d+8|0)|0){xEa(a,516606,d+8|0)|0;b=c[d+8+20>>2]|0;if((b|0)>0){c[d>>2]=d+8+36;c[d+4>>2]=b;NDa(a,516609,d)|0;i=d;return}}KDa(a,1279070,0);i=d;return}function SGa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=i;i=i+16|0;if(!d){d=BDa(a,b,0)|0;if(!d){f=rDa(a,4)|0;g=rDa(a,qDa(a,b)|0)|0;c[h>>2]=f;c[h+4>>2]=g;OGa(a,b,NDa(a,516686,h)|0)|0;g=0}else g=d}else g=TGa(a,b,d,0)|0;d=c[e>>2]|0;a:do if(d|0){f=d;d=0;while(1){if(!(Imb(f,g)|0))break;d=d+1|0;f=c[e+(d<<2)>>2]|0;if(!f)break a}i=h;return d|0}while(0);c[h+8>>2]=g;b=OGa(a,b,NDa(a,516706,h+8|0)|0)|0;i=h;return b|0}function TGa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;g=i;i=i+16|0;if((qDa(a,b)|0)>=1){f=BDa(a,b,e)|0;if(f|0){b=f;i=g;return b|0}d=rDa(a,4)|0;e=rDa(a,qDa(a,b)|0)|0;c[g>>2]=d;c[g+4>>2]=e;OGa(a,b,NDa(a,516686,g)|0)|0;b=0;i=g;return b|0}if(!e){b=d;i=g;return b|0}if(!d)f=0;else f=rnb(d)|0;c[e>>2]=f;b=d;i=g;return b|0}function UGa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;e=i;i=i+16|0;d=BDa(a,b,d)|0;if(d|0){i=e;return d|0}g=rDa(a,4)|0;f=rDa(a,qDa(a,b)|0)|0;c[e>>2]=g;c[e+4>>2]=f;OGa(a,b,NDa(a,516686,e)|0)|0;i=e;return d|0}function VGa(a,b){a=a|0;b=b|0;TDa(a,-1e4,b);if(qDa(a,-1)|0){b=0;return b|0}lDa(a,-2);WDa(a,0,0);pDa(a,-1);_Da(a,-1e4,b);b=1;return b|0}function WGa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;e=EDa(a,b)|0;if(e|0)if(XDa(a,b)|0){TDa(a,-1e4,d);if(wDa(a,-1,-2)|0){lDa(a,-3);b=e;i=f;return b|0}}e=rDa(a,qDa(a,b)|0)|0;c[f>>2]=d;c[f+4>>2]=e;OGa(a,b,NDa(a,516686,f)|0)|0;b=0;i=f;return b|0}function XGa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;if(fDa(a,b)|0){i=e;return}c[e>>2]=d;PGa(a,516726,e)|0;i=e;return}function YGa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=i;i=i+16|0;if((qDa(a,b)|0)==(d|0)){i=e;return}f=rDa(a,d)|0;d=rDa(a,qDa(a,b)|0)|0;c[e>>2]=f;c[e+4>>2]=d;OGa(a,b,NDa(a,516686,e)|0)|0;i=e;return}function ZGa(a,b){a=a|0;b=b|0;if((qDa(a,b)|0)!=-1)return;OGa(a,b,516746)|0;return}function _Ga(a,b){a=a|0;b=b|0;var d=0.0,e=0,f=0,g=0;e=i;i=i+16|0;d=+yDa(a,b);if(!(d==0.0)){i=e;return +d}if(tDa(a,b)|0){i=e;return +d}g=rDa(a,3)|0;f=rDa(a,qDa(a,b)|0)|0;c[e>>2]=g;c[e+4>>2]=f;OGa(a,b,NDa(a,516686,e)|0)|0;i=e;return +d}function $Ga(a,b,c){a=a|0;b=b|0;c=+c;if((qDa(a,b)|0)<1)return +c;c=+_Ga(a,b);return +c}function aHa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;e=i;i=i+16|0;d=zDa(a,b)|0;if(d|0){i=e;return d|0}if(tDa(a,b)|0){i=e;return d|0}g=rDa(a,3)|0;f=rDa(a,qDa(a,b)|0)|0;c[e>>2]=g;c[e+4>>2]=f;OGa(a,b,NDa(a,516686,e)|0)|0;i=e;return d|0}function bHa(a,b,c){a=a|0;b=b|0;c=c|0;if((qDa(a,b)|0)<1){b=c;return b|0}b=aHa(a,b)|0;return b|0}function cHa(a,b,c){a=a|0;b=b|0;c=c|0;if(!(XDa(a,b)|0)){b=0;return b|0}LDa(a,c);UDa(a,-2);if(!(qDa(a,-1)|0)){lDa(a,-3);b=0;return b|0}else{mDa(a,-2);b=1;return b|0}return 0}function dHa(a,b,c){a=a|0;b=b|0;c=c|0;if((b+9999|0)>>>0<=9999)b=b+1+(kDa(a)|0)|0;if(!(XDa(a,b)|0)){c=0;return c|0}LDa(a,c);UDa(a,-2);if(!(qDa(a,-1)|0)){lDa(a,-3);c=0;return c|0}else{mDa(a,-2);pDa(a,b);dEa(a,1,1);c=1;return c|0}return 0}function eHa(a,b,c){a=a|0;b=b|0;c=c|0;fHa(a,b,c,0);return}function fHa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=i;i=i+16|0;if(b|0){if(!(c[d>>2]|0))f=0;else{g=d;f=0;do{f=f+1|0;g=g+8|0}while((c[g>>2]|0)!=0)}gHa(a,-1e4,520899,1)|0;TDa(a,-1,b);if((qDa(a,-1)|0)!=5){lDa(a,-2);if(gHa(a,-10002,b,f)|0){c[h>>2]=b;PGa(a,520921,h)|0}pDa(a,-1);_Da(a,-3,b)}mDa(a,-2);nDa(a,~e)}if(!(c[d>>2]|0)){e=~e;lDa(a,e);i=h;return}if((e|0)<=0){do{ODa(a,c[d+4>>2]|0,e);_Da(a,-2-e|0,c[d>>2]|0);d=d+8|0}while((c[d>>2]|0)!=0);e=~e;lDa(a,e);i=h;return}do{f=0;do{pDa(a,0-e|0);f=f+1|0}while((f|0)!=(e|0));ODa(a,c[d+4>>2]|0,e);_Da(a,-2-e|0,c[d>>2]|0);d=d+8|0}while((c[d>>2]|0)!=0);e=~e;lDa(a,e);i=h;return}function gHa(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;pDa(b,c);while(1){c=Unb(d,46)|0;if(!c)c=d+(rnb(d)|0)|0;f=c-d|0;KDa(b,d,f);UDa(b,-2);if(!(qDa(b,-1)|0)){lDa(b,-2);WDa(b,0,(a[c>>0]|0)==46?1:e);KDa(b,d,f);pDa(b,-2);ZDa(b,-4)}else if((qDa(b,-1)|0)!=5)break;mDa(b,-2);if((a[c>>0]|0)==46)d=c+1|0;else{d=0;g=9;break}}if((g|0)==9)return d|0;lDa(b,-3);g=d;return g|0}function hHa(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0;l=i;i=i+1040|0;k=rnb(e)|0;c[l+8>>2]=b;c[l>>2]=l+12;c[l+4>>2]=0;g=pob(d,e)|0;if(g)do{if((g|0)!=(d|0)){j=d;h=g-d|0;while(1){h=h+-1|0;d=c[l>>2]|0;if(d>>>0>=(l+1036|0)>>>0){iHa(l)|0;d=c[l>>2]|0}m=a[j>>0]|0;c[l>>2]=d+1;a[d>>0]=m;if(!h)break;else j=j+1|0}}d=rnb(f)|0;if(d|0){j=f;while(1){d=d+-1|0;h=c[l>>2]|0;if(h>>>0>=(l+1036|0)>>>0){iHa(l)|0;h=c[l>>2]|0}m=a[j>>0]|0;c[l>>2]=h+1;a[h>>0]=m;if(!d)break;else j=j+1|0}}d=g+k|0;g=pob(d,e)|0}while((g|0)!=0);g=rnb(d)|0;if(g|0)while(1){g=g+-1|0;h=c[l>>2]|0;if(h>>>0>=(l+1036|0)>>>0){iHa(l)|0;h=c[l>>2]|0}m=a[d>>0]|0;c[l>>2]=h+1;a[h>>0]=m;if(!g)break;else d=d+1|0}d=c[l>>2]|0;if((d|0)==(l+12|0)){m=c[l+4>>2]|0;f=c[l+8>>2]|0;mEa(f,m);c[l+4>>2]=1;m=BDa(b,-1,0)|0;i=l;return m|0}else{KDa(c[l+8>>2]|0,l+12|0,d-(l+12)|0);c[l>>2]=l+12;m=(c[l+4>>2]|0)+1|0;c[l+4>>2]=m;f=c[l+8>>2]|0;mEa(f,m);c[l+4>>2]=1;m=BDa(b,-1,0)|0;i=l;return m|0}return 0}function iHa(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;b=c[a>>2]|0;if((b|0)==(a+12|0))return a+12|0;KDa(c[a+8>>2]|0,a+12|0,b-(a+12)|0);c[a>>2]=a+12;g=c[a+4>>2]|0;c[a+4>>2]=g+1;if((g|0)<=0)return a+12|0;d=c[a+8>>2]|0;b=1;g=CDa(d,-1)|0;while(1){e=CDa(d,~b)|0;h=c[a+4>>2]|0;f=g>>>0>e>>>0|(h-b|0)>8;b=(f&1)+b|0;if(f&(b|0)<(h|0))g=(f?e:0)+g|0;else break}mEa(d,b);c[a+4>>2]=1-b+(c[a+4>>2]|0);return a+12|0}function jHa(a,b){a=a|0;b=b|0;c[b+8>>2]=a;c[b>>2]=b+12;c[b+4>>2]=0;return}function kHa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;if(!e)return;f=e;while(1){f=f+-1|0;e=c[b>>2]|0;if(e>>>0>=(b+1036|0)>>>0){iHa(b)|0;e=c[b>>2]|0}g=a[d>>0]|0;c[b>>2]=e+1;a[e>>0]=g;if(!f)break;else d=d+1|0}return}function lHa(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;e=rnb(d)|0;if(!e)return;while(1){e=e+-1|0;f=c[b>>2]|0;if(f>>>0>=(b+1036|0)>>>0){iHa(b)|0;f=c[b>>2]|0}g=a[d>>0]|0;c[b>>2]=f+1;a[f>>0]=g;if(!e)break;else d=d+1|0}return}function mHa(a){a=a|0;var b=0,d=0,e=0;b=c[a>>2]|0;if((b|0)==(a+12|0)){b=a+4|0;d=a+8|0;a=c[a+4>>2]|0;d=c[d>>2]|0;mEa(d,a);c[b>>2]=1;return}else{KDa(c[a+8>>2]|0,a+12|0,b-(a+12)|0);c[a>>2]=a+12;e=(c[a+4>>2]|0)+1|0;c[a+4>>2]=e;d=a+4|0;b=a+8|0;a=e;b=c[b>>2]|0;mEa(b,a);c[d>>2]=1;return}}function nHa(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0;h=i;i=i+16|0;b=c[a+8>>2]|0;d=BDa(b,-1,h)|0;e=c[h>>2]|0;f=c[a>>2]|0;if(e>>>0<=(a+12+1024-f|0)>>>0){mBb(f|0,d|0,e|0)|0;c[a>>2]=(c[a>>2]|0)+(c[h>>2]|0);lDa(b,-2);i=h;return}if((f|0)==(a+12|0))g=a+4|0;else{KDa(c[a+8>>2]|0,a+12|0,f-(a+12)|0);c[a>>2]=a+12;c[a+4>>2]=(c[a+4>>2]|0)+1;nDa(b,-2);g=a+4|0}f=c[g>>2]|0;c[g>>2]=f+1;if((f|0)<=0){i=h;return}d=c[a+8>>2]|0;b=1;a=CDa(d,-1)|0;while(1){e=CDa(d,~b)|0;j=c[g>>2]|0;f=a>>>0>e>>>0|(j-b|0)>8;b=(f&1)+b|0;if(f&(b|0)<(j|0))a=(f?e:0)+a|0;else break}mEa(d,b);c[g>>2]=1-b+(c[g>>2]|0);i=h;return}function oHa(a,b){a=a|0;b=b|0;var c=0;if((b+9999|0)>>>0<=9999)b=b+1+(kDa(a)|0)|0;if(!(qDa(a,-1)|0)){lDa(a,-2);a=-1;return a|0}VDa(a,b,0);c=zDa(a,-1)|0;lDa(a,-2);if(!c)c=(CDa(a,b)|0)+1|0;else{VDa(a,b,c);aEa(a,b,0)}aEa(a,b,c);a=c;return a|0}function pHa(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<=-1)return;if((b+9999|0)>>>0<=9999)b=b+1+(kDa(a)|0)|0;VDa(a,b,0);aEa(a,b,c);JDa(a,c);aEa(a,b,0);return}function qHa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0;k=i;i=i+1088|0;j=(kDa(a)|0)+1|0;c[k+56>>2]=0;if(!b){KDa(a,516761,6);d=c[37180]|0;c[k+56+4>>2]=d;h=k+56+4|0}else{c[k>>2]=b;NDa(a,516768,k)|0;d=Xnb(b,524337)|0;c[k+56+4>>2]=d;if(!d){h=Bmb(c[(Mlb()|0)>>2]|0)|0;g=(BDa(a,j,0)|0)+1|0;c[k+8>>2]=518938;c[k+8+4>>2]=g;c[k+8+8>>2]=h;NDa(a,516772,k+8|0)|0;mDa(a,j);a=6;i=k;return a|0}else h=k+56+4|0}e=upb(d)|0;do if((e|0)==35){c[k+56>>2]=1;a:while(1)switch(upb(d)|0){case 10:{f=9;break a}case -1:{f=8;break a}default:{}}if((f|0)==8){g=(b|0)!=0;e=-1;break}else if((f|0)==9){e=upb(d)|0;f=10;break}}else f=10;while(0);do if((f|0)==10)if((b|0)!=0&(e|0)==27){d=rpb(b,527785,d)|0;c[h>>2]=d;if(!d){h=Bmb(c[(Mlb()|0)>>2]|0)|0;g=(BDa(a,j,0)|0)+1|0;c[k+24>>2]=516789;c[k+24+4>>2]=g;c[k+24+8>>2]=h;NDa(a,516772,k+24|0)|0;mDa(a,j);a=6;i=k;return a|0}else{b:while(1){e=upb(d)|0;switch(e|0){case 27:case -1:break b;default:{}}}c[k+56>>2]=0;g=1;break}}else g=(b|0)!=0;while(0);kpb(e,d)|0;b=gEa(a,127,k+56|0,BDa(a,-1,0)|0)|0;d=c[h>>2]|0;e=dob(d)|0;if(g)_nb(d)|0;if(!e){mDa(a,j);a=b;i=k;return a|0}else{lDa(a,j);h=Bmb(c[(Mlb()|0)>>2]|0)|0;g=(BDa(a,j,0)|0)+1|0;c[k+40>>2]=518755;c[k+40+4>>2]=g;c[k+40+8>>2]=h;NDa(a,516772,k+40|0)|0;mDa(a,j);a=6;i=k;return a|0}return 0}function rHa(a,b,d){a=a|0;b=b|0;d=d|0;if(c[b>>2]|0){c[b>>2]=0;c[d>>2]=1;b=518574;return b|0}if(cob(c[b+4>>2]|0)|0){b=0;return b|0}a=qpb(b+8|0,1,1024,c[b+4>>2]|0)|0;c[d>>2]=a;b=a|0?b+8|0:0;return b|0}function sHa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+16|0;c[f>>2]=b;c[f+4>>2]=d;d=gEa(a,128,f,e)|0;i=f;return d|0}function tHa(a,b,d){a=a|0;b=b|0;d=d|0;a=c[b+4>>2]|0;if(!a){b=0;return b|0}c[d>>2]=a;c[b+4>>2]=0;b=c[b>>2]|0;return b|0}function uHa(){var a=0;a=aGa(81,0)|0;if(!a)return a|0;iDa(a,1508)|0;return a|0}function vHa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(!d){Wpb(b);a=0;return a|0}else{a=Ypb(b,d)|0;return a|0}return 0}function wHa(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;d=c[37151]|0;c[b>>2]=BDa(a,-1,0)|0;oob(d,516796,b)|0;i=b;return 0}function xHa(a){a=a|0;ODa(a,1509,0);LDa(a,1279070);dEa(a,1,0);ODa(a,1510,0);LDa(a,520305);dEa(a,1,0);ODa(a,1511,0);LDa(a,519474);dEa(a,1,0);ODa(a,1512,0);LDa(a,518895);dEa(a,1,0);ODa(a,1513,0);LDa(a,519247);dEa(a,1,0);ODa(a,1514,0);LDa(a,519683);dEa(a,1,0);ODa(a,1515,0);LDa(a,519048);dEa(a,1,0);ODa(a,1516,0);LDa(a,518150);dEa(a,1,0);return}function yHa(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0;f=c[a+24>>2]|0;do if((f|0)>(c[a+28>>2]|0)){if(!f){if((d[a+50>>0]|0|0)>(b|0))break;return}f=(c[(c[a>>2]|0)+12>>2]|0)+(f+-1<<2)|0;g=c[f>>2]|0;if((g&63|0)==3)if(!((g>>>6&255|0)>(b|0)|((g>>>23)+1|0)<(b|0))){if((b+-1+e|0)<=(g>>>23|0))return;c[f>>2]=g&8388607|b+-1+e<<23;return}}while(0);zHa(a,b<<6|(e+b<<23)+-8388608|3,c[(c[a+12>>2]|0)+8>>2]|0)|0;return}function zHa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;n=c[b>>2]|0;g=c[b+32>>2]|0;f=c[b+24>>2]|0;if((g|0)!=-1){h=n;while(1){l=(c[h+12>>2]|0)+(g<<2)|0;j=c[l>>2]|0;k=((j>>>14)+-131071|0)==-1?-1:g+1+((j>>>14)+-131071)|0;if((g|0)>0){h=c[l+-4>>2]|0;if((a[515441+(h&63)>>0]|0)<0)i=l+-4|0;else m=5}else m=5;if((m|0)==5){m=0;i=l;h=j}if((h&63|0)==27){c[i>>2]=h&8372224|h>>>23<<6|26;g=f+~g|0;if((((g|0)>-1?g:0-g|0)|0)>131071)iIa(c[b+12>>2]|0,516846);g=c[l>>2]&16383|(g<<14)+2147467264}else{h=f+~g|0;if((((h|0)>-1?h:0-h|0)|0)>131071){iIa(c[b+12>>2]|0,516846);g=c[l>>2]|0}else g=j;g=g&16383|(h<<14)+2147467264}c[l>>2]=g;if((k|0)==-1)break;g=k;h=c[b>>2]|0}f=c[b+24>>2]|0}c[b+32>>2]=-1;if((f|0)<(c[n+44>>2]|0))g=c[n+12>>2]|0;else{g=wFa(c[b+16>>2]|0,c[n+12>>2]|0,n+44|0,4,2147483645,516873)|0;c[n+12>>2]=g;f=c[b+24>>2]|0}c[g+(f<<2)>>2]=d;f=c[b+24>>2]|0;if((f|0)<(c[n+48>>2]|0)){d=c[n+20>>2]|0;n=f;n=d+(n<<2)|0;c[n>>2]=e;e=c[b+24>>2]|0;n=e+1|0;c[b+24>>2]=n;return e|0}else{d=wFa(c[b+16>>2]|0,c[n+20>>2]|0,n+48|0,4,2147483645,516873)|0;c[n+20>>2]=d;n=c[b+24>>2]|0;n=d+(n<<2)|0;c[n>>2]=e;e=c[b+24>>2]|0;n=e+1|0;c[b+24>>2]=n;return e|0}return 0}function AHa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;return zHa(a,d<<6|b|e<<23|f<<14,c[(c[a+12>>2]|0)+8>>2]|0)|0}function BHa(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0;g=c[a+32>>2]|0;c[a+32>>2]=-1;h=zHa(a,2147450902,c[(c[a+12>>2]|0)+8>>2]|0)|0;if((g|0)==-1){i=h;return i|0}if((h|0)==-1){i=g;return i|0}f=c[(c[a>>2]|0)+12>>2]|0;d=h;while(1){i=f+(d<<2)|0;b=c[i>>2]|0;e=((b>>>14)+-131071|0)==-1?-1:d+1+((b>>>14)+-131071)|0;if((e|0)==-1)break;else d=e}if((((g+~d|0)>-1?g+~d|0:0-(g+~d)|0)|0)>131071){iIa(c[a+12>>2]|0,516846);b=c[i>>2]|0}c[i>>2]=b&16383|(g+~d<<14)+2147467264;i=h;return i|0}function CHa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;return zHa(a,d<<6|b|e<<14,c[(c[a+12>>2]|0)+8>>2]|0)|0}function DHa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;if((d|0)==-1)return;e=c[b>>2]|0;if((e|0)==-1){c[b>>2]=d;return}g=c[(c[a>>2]|0)+12>>2]|0;while(1){h=g+(e<<2)|0;b=c[h>>2]|0;f=((b>>>14)+-131071|0)==-1?-1:e+1+((b>>>14)+-131071)|0;if((f|0)==-1)break;else e=f}if((((~e+d|0)>-1?~e+d|0:0-(~e+d)|0)|0)>131071){iIa(c[a+12>>2]|0,516846);b=c[h>>2]|0}c[h>>2]=b&16383|(~e+d<<14)+2147467264;return}function EHa(a,b,d){a=a|0;b=b|0;d=d|0;zHa(a,b<<6|(d<<23)+8388608|30,c[(c[a+12>>2]|0)+8>>2]|0)|0;return}function FHa(a){a=a|0;var b=0;b=c[a+24>>2]|0;c[a+28>>2]=b;return b|0}function GHa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;if((c[b+24>>2]|0)==(e|0)){c[b+28>>2]=e;if((d|0)==-1)return;f=c[b+32>>2]|0;if((f|0)==-1){c[b+32>>2]=d;return}i=c[(c[b>>2]|0)+12>>2]|0;g=f;while(1){j=i+(g<<2)|0;f=c[j>>2]|0;h=((f>>>14)+-131071|0)==-1?-1:g+1+((f>>>14)+-131071)|0;if((h|0)==-1)break;else g=h}if((((~g+d|0)>-1?~g+d|0:0-(~g+d)|0)|0)>131071){iIa(c[b+12>>2]|0,516846);f=c[j>>2]|0}c[j>>2]=f&16383|(~g+d<<14)+2147467264;return}if((d|0)==-1)return;j=d;do{d=(c[(c[b>>2]|0)+12>>2]|0)+(j<<2)|0;f=c[d>>2]|0;i=j;j=((f>>>14)+-131071|0)==-1?-1:j+1+((f>>>14)+-131071)|0;if((i|0)>0){g=c[d+-4>>2]|0;if((a[515441+(g&63)>>0]|0)<0)h=d+-4|0;else k=14}else k=14;if((k|0)==14){k=0;h=d;g=f}if((g&63|0)==27){c[h>>2]=g&8372224|g>>>23<<6|26;if((((~i+e|0)>-1?~i+e|0:0-(~i+e)|0)|0)>131071)iIa(c[b+12>>2]|0,516846);f=c[d>>2]&16383|(~i+e<<14)+2147467264}else{if((((~i+e|0)>-1?~i+e|0:0-(~i+e)|0)|0)>131071){iIa(c[b+12>>2]|0,516846);f=c[d>>2]|0}f=f&16383|(~i+e<<14)+2147467264}c[d>>2]=f}while((j|0)!=-1);return}function HHa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;c[a+28>>2]=c[a+24>>2];if((b|0)==-1)return;d=c[a+32>>2]|0;if((d|0)==-1){c[a+32>>2]=b;return}g=c[(c[a>>2]|0)+12>>2]|0;e=d;while(1){h=g+(e<<2)|0;d=c[h>>2]|0;f=((d>>>14)+-131071|0)==-1?-1:e+1+((d>>>14)+-131071)|0;if((f|0)==-1)break;else e=f}if((((~e+b|0)>-1?~e+b|0:0-(~e+b)|0)|0)>131071){iIa(c[a+12>>2]|0,516846);d=c[h>>2]|0}c[h>>2]=d&16383|(~e+b<<14)+2147467264;return}function IHa(b,e){b=b|0;e=e|0;var f=0;f=(c[b+36>>2]|0)+e|0;e=c[b>>2]|0;if((f|0)<=(d[e+75>>0]|0|0))return;if((f|0)>249){iIa(c[b+12>>2]|0,516892);e=c[b>>2]|0}a[e+75>>0]=f;return}function JHa(b,e){b=b|0;e=e|0;var f=0,g=0,h=0;h=c[b+36>>2]|0;f=c[b>>2]|0;if((h+e|0)<=(d[f+75>>0]|0|0)){e=h+e|0;c[b+36>>2]=e;return}if((h+e|0)>249){iIa(c[b+12>>2]|0,516892);g=c[b+36>>2]|0;f=c[b>>2]|0}else g=h;a[f+75>>0]=h+e;h=g;e=h+e|0;c[b+36>>2]=e;return}function KHa(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d>>2]=b;c[d+8>>2]=4;b=LHa(a,d,d)|0;i=d;return b|0}function LHa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,i=0,j=0,k=0;k=c[b+16>>2]|0;d=rGa(k,c[b+4>>2]|0,d)|0;j=c[b>>2]|0;i=c[j+40>>2]|0;if((c[d+8>>2]|0)==3){b=~~+h[d>>3];return b|0}g=c[b+40>>2]|0;h[d>>3]=+(g|0);c[d+8>>2]=3;if((g|0)<(i|0))d=i;else{c[j+8>>2]=wFa(k,c[j+8>>2]|0,j+40|0,16,262143,516927)|0;d=c[j+40>>2]|0}g=c[j+8>>2]|0;if((i|0)<(d|0)){f=c[j+40>>2]|0;d=i;do{c[g+(d<<4)+8>>2]=0;d=d+1|0}while((d|0)<(f|0))}i=c[b+40>>2]|0;f=c[e+4>>2]|0;c[g+(i<<4)>>2]=c[e>>2];c[g+(i<<4)+4>>2]=f;c[g+(i<<4)+8>>2]=c[e+8>>2];if((c[e+8>>2]|0)>3){d=c[e>>2]|0;if(a[d+5>>0]&3)if(a[j+5>>0]&4)sFa(k,j,d)}k=c[b+40>>2]|0;c[b+40>>2]=k+1;b=k;return b|0}function MHa(a,b){a=a|0;b=+b;var d=0;d=i;i=i+16|0;h[d>>3]=b;c[d+8>>2]=3;a=LHa(a,d,d)|0;i=d;return a|0}function NHa(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0;switch(c[e>>2]|0){case 13:{b=(c[(c[b>>2]|0)+12>>2]|0)+(c[e+8>>2]<<2)|0;c[b>>2]=c[b>>2]&-8372225|(f<<14)+16384&8372224;return}case 14:{g=c[b>>2]|0;h=c[g+12>>2]|0;i=h+(c[e+8>>2]<<2)|0;c[i>>2]=c[i>>2]&8388607|(f<<23)+8388608;f=h+(c[e+8>>2]<<2)|0;c[f>>2]=c[b+36>>2]<<6&16320|c[f>>2]&-16321;f=c[b+36>>2]|0;if((f|0)<(d[g+75>>0]|0|0))e=f;else{if((f|0)>248){iIa(c[b+12>>2]|0,516892);e=c[b+36>>2]|0;g=c[b>>2]|0}else e=f;a[g+75>>0]=f+1}c[b+36>>2]=e+1;return}default:return}}function OHa(a,b){a=a|0;b=b|0;switch(c[b>>2]|0){case 13:{c[b>>2]=12;c[b+8>>2]=(c[(c[(c[a>>2]|0)+12>>2]|0)+(c[b+8>>2]<<2)>>2]|0)>>>6&255;return}case 14:{a=(c[(c[a>>2]|0)+12>>2]|0)+(c[b+8>>2]<<2)|0;c[a>>2]=c[a>>2]&8388607|16777216;c[b>>2]=11;return}default:return}}function PHa(a,b){a=a|0;b=b|0;var e=0,f=0;switch(c[b>>2]|0){case 6:{c[b>>2]=12;return}case 7:{c[b+8>>2]=zHa(a,c[b+8>>2]<<23|4,c[(c[a+12>>2]|0)+8>>2]|0)|0;c[b>>2]=11;return}case 8:{c[b+8>>2]=zHa(a,c[b+8>>2]<<14|5,c[(c[a+12>>2]|0)+8>>2]|0)|0;c[b>>2]=11;return}case 9:{e=c[b+8+4>>2]|0;if(!(e&256))if((d[a+50>>0]|0|0)<=(e|0))c[a+36>>2]=(c[a+36>>2]|0)+-1;f=c[b+8>>2]|0;if(!(f&256))if((d[a+50>>0]|0|0)<=(f|0))c[a+36>>2]=(c[a+36>>2]|0)+-1;c[b+8>>2]=zHa(a,f<<23|e<<14|6,c[(c[a+12>>2]|0)+8>>2]|0)|0;c[b>>2]=11;return}case 13:{c[b>>2]=12;c[b+8>>2]=(c[(c[(c[a>>2]|0)+12>>2]|0)+(c[b+8>>2]<<2)>>2]|0)>>>6&255;return}case 14:{a=(c[(c[a>>2]|0)+12>>2]|0)+(c[b+8>>2]<<2)|0;c[a>>2]=c[a>>2]&8388607|16777216;c[b>>2]=11;return}default:return}}function QHa(b,e){b=b|0;e=e|0;var f=0,g=0,h=0;PHa(b,e);if((c[e>>2]|0)==12){f=c[e+8>>2]|0;if(!(f&256))if((d[b+50>>0]|0|0)<=(f|0))c[b+36>>2]=(c[b+36>>2]|0)+-1}h=c[b+36>>2]|0;f=c[b>>2]|0;if((h|0)<(d[f+75>>0]|0|0)){g=h+1|0;c[b+36>>2]=g;RHa(b,e,h);return}if((h|0)>248){iIa(c[b+12>>2]|0,516892);g=c[b+36>>2]|0;f=c[b>>2]|0}else g=h;a[f+75>>0]=h+1;h=g;g=h+1|0;c[b+36>>2]=g;RHa(b,e,h);return}function RHa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;SHa(b,d,e);do if((c[d>>2]|0)==10){k=c[d+8>>2]|0;if((k|0)!=-1){f=c[d+16>>2]|0;if((f|0)==-1){c[d+16>>2]=k;break}i=c[(c[b>>2]|0)+12>>2]|0;while(1){j=i+(f<<2)|0;g=c[j>>2]|0;h=((g>>>14)+-131071|0)==-1?-1:f+1+((g>>>14)+-131071)|0;if((h|0)==-1)break;else f=h}if((((k+~f|0)>-1?k+~f|0:0-(k+~f)|0)|0)>131071){iIa(c[b+12>>2]|0,516846);g=c[j>>2]|0}c[j>>2]=g&16383|(k+~f<<14)+2147467264}}while(0);f=c[d+16>>2]|0;g=c[d+20>>2]|0;if((f|0)==(g|0)){c[d+16>>2]=-1;c[d+20>>2]=-1;o=d+8|0;c[o>>2]=e;c[d>>2]=12;return}a:do if((f|0)==-1)o=18;else{j=c[(c[b>>2]|0)+12>>2]|0;while(1){i=j+(f<<2)|0;if((f|0)>0){h=c[i+-4>>2]|0;if((a[515441+(h&63)>>0]|0)>=0)o=15}else o=15;if((o|0)==15){o=0;h=c[i>>2]|0}if((h&63|0)!=27){o=25;break a}n=((c[i>>2]|0)>>>14)+-131071|0;f=(n|0)==-1?-1:f+1+n|0;if((f|0)==-1){o=18;break}}}while(0);b:do if((o|0)==18)if((g|0)==-1){l=-1;n=-1}else{i=c[(c[b>>2]|0)+12>>2]|0;while(1){h=i+(g<<2)|0;if((g|0)>0){f=c[h+-4>>2]|0;if((a[515441+(f&63)>>0]|0)>=0)o=22}else o=22;if((o|0)==22){o=0;f=c[h>>2]|0}if((f&63|0)!=27){o=25;break b}n=((c[h>>2]|0)>>>14)+-131071|0;g=(n|0)==-1?-1:g+1+n|0;if((g|0)==-1){l=-1;n=-1;break}}}while(0);do if((o|0)==25){if((c[d>>2]|0)==10){m=b+12|0;g=b+32|0;k=-1}else{k=c[b+32>>2]|0;c[b+32>>2]=-1;l=zHa(b,2147450902,c[(c[b+12>>2]|0)+8>>2]|0)|0;if((k|0)==-1){m=b+12|0;g=b+32|0;k=l}else if((l|0)==-1){m=b+12|0;g=b+32|0}else{i=c[(c[b>>2]|0)+12>>2]|0;g=l;while(1){j=i+(g<<2)|0;f=c[j>>2]|0;h=((f>>>14)+-131071|0)==-1?-1:g+1+((f>>>14)+-131071)|0;if((h|0)==-1)break;else g=h}if((((k+~g|0)>-1?k+~g|0:0-(k+~g)|0)|0)>131071){iIa(c[b+12>>2]|0,516846);f=c[j>>2]|0}c[j>>2]=f&16383|(k+~g<<14)+2147467264;m=b+12|0;g=b+32|0;k=l}}c[b+28>>2]=c[b+24>>2];l=zHa(b,e<<6|16386,c[(c[m>>2]|0)+8>>2]|0)|0;c[b+28>>2]=c[b+24>>2];n=zHa(b,e<<6|8388610,c[(c[m>>2]|0)+8>>2]|0)|0;c[b+28>>2]=c[b+24>>2];if((k|0)!=-1){f=c[g>>2]|0;if((f|0)==-1){c[g>>2]=k;break}i=c[(c[b>>2]|0)+12>>2]|0;g=f;while(1){j=i+(g<<2)|0;f=c[j>>2]|0;h=((f>>>14)+-131071|0)==-1?-1:g+1+((f>>>14)+-131071)|0;if((h|0)==-1)break;else g=h}g=k+~g|0;if((((g|0)>-1?g:0-g|0)|0)>131071){iIa(c[m>>2]|0,516846);f=c[j>>2]|0}c[j>>2]=f&16383|(g<<14)+2147467264}}while(0);m=c[b+24>>2]|0;c[b+28>>2]=m;f=c[d+20>>2]|0;c:do if((f|0)!=-1){if((e|0)==255)while(1){k=(c[(c[b>>2]|0)+12>>2]|0)+(f<<2)|0;g=c[k>>2]|0;j=f;f=((g>>>14)+-131071|0)==-1?-1:f+1+((g>>>14)+-131071)|0;if((j|0)>0){h=c[k+-4>>2]|0;if((a[515441+(h&63)>>0]|0)<0)i=k+-4|0;else o=46}else o=46;if((o|0)==46){o=0;i=k;h=g}if((h&63|0)==27){c[i>>2]=h&8372224|h>>>23<<6|26;if((((m+~j|0)>-1?m+~j|0:0-(m+~j)|0)|0)>131071)iIa(c[b+12>>2]|0,516846);g=c[k>>2]&16383|(m+~j<<14)+2147467264}else{h=l+~j|0;if((((h|0)>-1?h:0-h|0)|0)>131071){iIa(c[b+12>>2]|0,516846);g=c[k>>2]|0}g=g&16383|(h<<14)+2147467264}c[k>>2]=g;if((f|0)==-1)break c}do{k=(c[(c[b>>2]|0)+12>>2]|0)+(f<<2)|0;g=c[k>>2]|0;j=f;f=((g>>>14)+-131071|0)==-1?-1:f+1+((g>>>14)+-131071)|0;if((j|0)>0){h=c[k+-4>>2]|0;if((a[515441+(h&63)>>0]|0)<0)i=k+-4|0;else o=57}else o=57;if((o|0)==57){o=0;i=k;h=g}if((h&63|0)==27){if((h>>>23|0)==(e|0))g=h&8372224|e<<6|26;else g=h&-16321|e<<6&16320;c[i>>2]=g;if((((m+~j|0)>-1?m+~j|0:0-(m+~j)|0)|0)>131071)iIa(c[b+12>>2]|0,516846);g=c[k>>2]&16383|(m+~j<<14)+2147467264}else{h=l+~j|0;if((((h|0)>-1?h:0-h|0)|0)>131071){iIa(c[b+12>>2]|0,516846);g=c[k>>2]|0}g=g&16383|(h<<14)+2147467264}c[k>>2]=g}while((f|0)!=-1)}while(0);f=c[d+16>>2]|0;if((f|0)==-1){c[d+16>>2]=-1;c[d+20>>2]=-1;o=d+8|0;c[o>>2]=e;c[d>>2]=12;return}if((e|0)==255){do{k=(c[(c[b>>2]|0)+12>>2]|0)+(f<<2)|0;g=c[k>>2]|0;j=f;f=((g>>>14)+-131071|0)==-1?-1:f+1+((g>>>14)+-131071)|0;if((j|0)>0){h=c[k+-4>>2]|0;if((a[515441+(h&63)>>0]|0)<0)i=k+-4|0;else o=73}else o=73;if((o|0)==73){o=0;i=k;h=g}if((h&63|0)==27){c[i>>2]=h&8372224|h>>>23<<6|26;if((((m+~j|0)>-1?m+~j|0:0-(m+~j)|0)|0)>131071)iIa(c[b+12>>2]|0,516846);g=c[k>>2]&16383|(m+~j<<14)+2147467264}else{h=n+~j|0;if((((h|0)>-1?h:0-h|0)|0)>131071){iIa(c[b+12>>2]|0,516846);g=c[k>>2]|0}g=g&16383|(h<<14)+2147467264}c[k>>2]=g}while((f|0)!=-1);c[d+16>>2]=-1;c[d+20>>2]=-1;o=d+8|0;c[o>>2]=e;c[d>>2]=12;return}do{k=(c[(c[b>>2]|0)+12>>2]|0)+(f<<2)|0;g=c[k>>2]|0;j=f;f=((g>>>14)+-131071|0)==-1?-1:f+1+((g>>>14)+-131071)|0;if((j|0)>0){h=c[k+-4>>2]|0;if((a[515441+(h&63)>>0]|0)<0)i=k+-4|0;else o=84}else o=84;if((o|0)==84){o=0;i=k;h=g}if((h&63|0)==27){if((h>>>23|0)==(e|0))g=h&8372224|e<<6|26;else g=h&-16321|e<<6&16320;c[i>>2]=g;if((((m+~j|0)>-1?m+~j|0:0-(m+~j)|0)|0)>131071)iIa(c[b+12>>2]|0,516846);g=c[k>>2]&16383|(m+~j<<14)+2147467264}else{h=n+~j|0;if((((h|0)>-1?h:0-h|0)|0)>131071){iIa(c[b+12>>2]|0,516846);g=c[k>>2]|0}g=g&16383|(h<<14)+2147467264}c[k>>2]=g}while((f|0)!=-1);c[d+16>>2]=-1;c[d+20>>2]=-1;o=d+8|0;c[o>>2]=e;c[d>>2]=12;return}function SHa(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0,j=0;j=i;i=i+16|0;PHa(a,b);f=c[b>>2]|0;a:do switch(f|0){case 1:{f=c[a+24>>2]|0;do if((f|0)>(c[a+28>>2]|0)){if(!f)if((d[a+50>>0]|0|0)>(e|0))break;else break a;f=(c[(c[a>>2]|0)+12>>2]|0)+(f+-1<<2)|0;g=c[f>>2]|0;if((g&63|0)==3)if(!((g>>>6&255|0)>(e|0)|((g>>>23)+1|0)<(e|0))){if((g>>>23|0)>=(e|0))break a;c[f>>2]=g&8388607|e<<23;break a}}while(0);zHa(a,e<<23|e<<6|3,c[(c[a+12>>2]|0)+8>>2]|0)|0;break}case 2:case 3:{zHa(a,e<<6|((f|0)==2&1)<<23|2,c[(c[a+12>>2]|0)+8>>2]|0)|0;break}case 4:{zHa(a,e<<6|c[b+8>>2]<<14|1,c[(c[a+12>>2]|0)+8>>2]|0)|0;break}case 5:{h[j>>3]=+h[b+8>>3];c[j+8>>2]=3;zHa(a,e<<6|(LHa(a,j,j)|0)<<14|1,c[(c[a+12>>2]|0)+8>>2]|0)|0;break}case 11:{a=(c[(c[a>>2]|0)+12>>2]|0)+(c[b+8>>2]<<2)|0;c[a>>2]=c[a>>2]&-16321|e<<6&16320;break}case 12:{f=c[b+8>>2]|0;if((f|0)!=(e|0))zHa(a,f<<23|e<<6,c[(c[a+12>>2]|0)+8>>2]|0)|0;break}default:{i=j;return}}while(0);c[b+8>>2]=e;c[b>>2]=12;i=j;return}function THa(b,e){b=b|0;e=e|0;var f=0,g=0,h=0;PHa(b,e);if((c[e>>2]|0)==12){f=c[e+8>>2]|0;if((c[e+16>>2]|0)==(c[e+20>>2]|0)){b=f;return b|0}if((f|0)>=(d[b+50>>0]|0|0)){RHa(b,e,f);b=c[e+8>>2]|0;return b|0}}PHa(b,e);if((c[e>>2]|0)==12){f=c[e+8>>2]|0;if(!(f&256))if((d[b+50>>0]|0|0)<=(f|0))c[b+36>>2]=(c[b+36>>2]|0)+-1}h=c[b+36>>2]|0;g=c[b>>2]|0;if((h|0)<(d[g+75>>0]|0|0))f=h;else{if((h|0)>248){iIa(c[b+12>>2]|0,516892);f=c[b+36>>2]|0;g=c[b>>2]|0}else f=h;a[g+75>>0]=h+1}c[b+36>>2]=f+1;RHa(b,e,f);b=c[e+8>>2]|0;return b|0}function UHa(a,b){a=a|0;b=b|0;if((c[b+16>>2]|0)==(c[b+20>>2]|0)){PHa(a,b);return}else{THa(a,b)|0;return}}function VHa(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+32|0;if((c[b+16>>2]|0)==(c[b+20>>2]|0))PHa(a,b);else THa(a,b)|0;d=c[b>>2]|0;switch(d|0){case 1:case 3:case 2:case 5:{if((c[a+40>>2]|0)<256){switch(d|0){case 1:{c[e+8>>2]=0;c[e+16>>2]=c[a+4>>2];c[e+16+8>>2]=5;d=LHa(a,e+16|0,e)|0;break}case 5:{h[e+16>>3]=+h[b+8>>3];c[e+16+8>>2]=3;d=LHa(a,e+16|0,e+16|0)|0;break}default:{c[e+16>>2]=(d|0)==2&1;c[e+16+8>>2]=1;d=LHa(a,e+16|0,e+16|0)|0}}c[b+8>>2]=d;c[b>>2]=4;b=d|256;i=e;return b|0}break}case 4:{d=c[b+8>>2]|0;if((d|0)<256){b=d|256;i=e;return b|0}break}default:{}}b=THa(a,b)|0;i=e;return b|0}function WHa(a,b,e){a=a|0;b=b|0;e=e|0;var f=0;switch(c[b>>2]|0){case 6:{if((c[e>>2]|0)==12){f=c[e+8>>2]|0;if(!(f&256))if((d[a+50>>0]|0|0)<=(f|0))c[a+36>>2]=(c[a+36>>2]|0)+-1}RHa(a,e,c[b+8>>2]|0);return}case 7:{zHa(a,(THa(a,e)|0)<<6|c[b+8>>2]<<23|8,c[(c[a+12>>2]|0)+8>>2]|0)|0;break}case 8:{zHa(a,(THa(a,e)|0)<<6|c[b+8>>2]<<14|7,c[(c[a+12>>2]|0)+8>>2]|0)|0;break}case 9:{zHa(a,(VHa(a,e)|0)<<14|c[b+8>>2]<<6|c[b+8+4>>2]<<23|9,c[(c[a+12>>2]|0)+8>>2]|0)|0;break}default:{}}if((c[e>>2]|0)!=12)return;f=c[e+8>>2]|0;if(f&256|0)return;if((d[a+50>>0]|0|0)>(f|0))return;c[a+36>>2]=(c[a+36>>2]|0)+-1;return}function XHa(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0;THa(b,e)|0;if((c[e>>2]|0)==12){g=c[e+8>>2]|0;if(!(g&256))if((d[b+50>>0]|0|0)<=(g|0))c[b+36>>2]=(c[b+36>>2]|0)+-1}i=c[b+36>>2]|0;h=c[b>>2]|0;if((i+2|0)>(d[h+75>>0]|0|0)){if((i+2|0)>249){iIa(c[b+12>>2]|0,516892);g=c[b+36>>2]|0;h=c[b>>2]|0}else g=i;a[h+75>>0]=i+2}else g=i;c[b+36>>2]=g+2;h=c[e+8>>2]|0;h=i<<6|h<<23|(VHa(b,f)|0)<<14|11;zHa(b,h,c[(c[b+12>>2]|0)+8>>2]|0)|0;if((c[f>>2]|0)!=12){c[e+8>>2]=i;c[e>>2]=12;return}g=c[f+8>>2]|0;if(g&256|0){c[e+8>>2]=i;c[e>>2]=12;return}if((d[b+50>>0]|0|0)>(g|0)){c[e+8>>2]=i;c[e>>2]=12;return}c[b+36>>2]=(c[b+36>>2]|0)+-1;c[e+8>>2]=i;c[e>>2]=12;return}function YHa(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;PHa(b,e);f=c[e>>2]|0;a:do switch(f|0){case 2:case 5:case 4:break;case 10:{k=c[e+8>>2]|0;g=(c[(c[b>>2]|0)+12>>2]|0)+(k<<2)|0;if((k|0)>0){f=c[g+-4>>2]|0;if((a[515441+(f&63)>>0]|0)<0)h=g+-4|0;else i=4}else i=4;if((i|0)==4){h=g;f=c[g>>2]|0}c[h>>2]=((f&16320|0)==0&1)<<6|f&-16321;k=c[e+8>>2]|0;i=19;break}default:{switch(f|0){case 11:{f=c[(c[(c[b>>2]|0)+12>>2]|0)+(c[e+8>>2]<<2)>>2]|0;if((f&63|0)==19){c[b+24>>2]=(c[b+24>>2]|0)+-1;k=ZHa(b,26,f>>>23,0,1)|0;i=19;break a}else i=9;break}case 12:{i=15;break}default:i=9}if((i|0)==9){h=c[b+36>>2]|0;g=c[b>>2]|0;if((h|0)<(d[g+75>>0]|0))f=h;else{if((h|0)>248){iIa(c[b+12>>2]|0,516892);f=c[b+36>>2]|0;g=c[b>>2]|0}else f=h;a[g+75>>0]=h+1}c[b+36>>2]=f+1;SHa(b,e,f);if((c[e>>2]|0)==12)i=15;else f=c[e+8>>2]|0}if((i|0)==15){f=c[e+8>>2]|0;if(!(f&256))if((d[b+50>>0]|0)<=(f|0))c[b+36>>2]=(c[b+36>>2]|0)+-1}k=ZHa(b,27,255,f,0)|0;i=19}}while(0);do if((i|0)==19)if((k|0)!=-1){f=c[e+20>>2]|0;if((f|0)==-1){c[e+20>>2]=k;break}h=c[(c[b>>2]|0)+12>>2]|0;while(1){j=h+(f<<2)|0;i=c[j>>2]|0;g=((i>>>14)+-131071|0)==-1?-1:f+1+((i>>>14)+-131071)|0;if((g|0)==-1)break;else f=g}g=k+~f|0;if((((g|0)>-1?g:0-g|0)|0)>131071){iIa(c[b+12>>2]|0,516846);f=c[j>>2]|0}else f=i;c[j>>2]=f&16383|(g<<14)+2147467264}while(0);k=c[e+16>>2]|0;c[b+28>>2]=c[b+24>>2];if((k|0)==-1){c[e+16>>2]=-1;return}f=c[b+32>>2]|0;if((f|0)==-1){c[b+32>>2]=k;c[e+16>>2]=-1;return}i=c[(c[b>>2]|0)+12>>2]|0;g=f;while(1){j=i+(g<<2)|0;f=c[j>>2]|0;h=((f>>>14)+-131071|0)==-1?-1:g+1+((f>>>14)+-131071)|0;if((h|0)==-1)break;else g=h}if((((k+~g|0)>-1?k+~g|0:0-(k+~g)|0)|0)>131071){iIa(c[b+12>>2]|0,516846);f=c[j>>2]|0}c[j>>2]=f&16383|(k+~g<<14)+2147467264;c[e+16>>2]=-1;return}function ZHa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;zHa(a,d<<6|b|e<<23|f<<14,c[(c[a+12>>2]|0)+8>>2]|0)|0;g=c[a+32>>2]|0;c[a+32>>2]=-1;h=zHa(a,2147450902,c[(c[a+12>>2]|0)+8>>2]|0)|0;if((g|0)==-1){a=h;return a|0}if((h|0)==-1){a=g;return a|0}b=c[(c[a>>2]|0)+12>>2]|0;e=h;while(1){i=b+(e<<2)|0;d=c[i>>2]|0;f=((d>>>14)+-131071|0)==-1?-1:e+1+((d>>>14)+-131071)|0;if((f|0)==-1)break;else e=f}if((((g+~e|0)>-1?g+~e|0:0-(g+~e)|0)|0)>131071){iIa(c[a+12>>2]|0,516846);d=c[i>>2]|0}c[i>>2]=d&16383|(g+~e<<14)+2147467264;a=h;return a|0}function _Ha(a,b,d){a=a|0;b=b|0;d=d|0;c[b+8+4>>2]=VHa(a,d)|0;c[b>>2]=9;return}function $Ha(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+32|0;c[n+20>>2]=-1;c[n+16>>2]=-1;c[n>>2]=5;h[n+8>>3]=0.0;switch(e|0){case 0:{if((c[f>>2]|0)==5)if((c[f+16>>2]|0)==-1){if((c[f+20>>2]|0)!=-1)m=5}else m=5;else m=5;if((m|0)==5)THa(b,f)|0;aIa(b,18,f,n);i=n;return}case 1:{PHa(b,f);switch(c[f>>2]|0){case 3:case 1:{c[f>>2]=2;break}case 2:case 5:case 4:{c[f>>2]=3;break}case 10:{l=c[f+8>>2]|0;g=(c[(c[b>>2]|0)+12>>2]|0)+(l<<2)|0;if((l|0)>0){e=c[g+-4>>2]|0;if((a[515441+(e&63)>>0]|0)<0)j=g+-4|0;else m=12}else m=12;if((m|0)==12){j=g;e=c[g>>2]|0}c[j>>2]=((e&16320|0)==0&1)<<6|e&-16321;break}case 12:{m=20;break}case 11:{j=c[b+36>>2]|0;g=c[b>>2]|0;if((j|0)<(d[g+75>>0]|0))e=j;else{if((j|0)>248){iIa(c[b+12>>2]|0,516892);e=c[b+36>>2]|0;g=c[b>>2]|0}else e=j;a[g+75>>0]=j+1}c[b+36>>2]=e+1;SHa(b,f,e);if((c[f>>2]|0)==12)m=20;else{g=f+8|0;e=c[f+8>>2]|0;m=23}break}default:{}}if((m|0)==20){e=c[f+8>>2]|0;if(!(e&256))if((d[b+50>>0]|0)>(e|0)){g=f+8|0;m=23}else{c[b+36>>2]=(c[b+36>>2]|0)+-1;g=f+8|0;m=23}else{g=f+8|0;m=23}}if((m|0)==23){c[g>>2]=zHa(b,e<<23|19,c[(c[b+12>>2]|0)+8>>2]|0)|0;c[f>>2]=11}e=c[f+20>>2]|0;g=c[f+16>>2]|0;c[f+20>>2]=g;c[f+16>>2]=e;if((g|0)!=-1){l=c[(c[b>>2]|0)+12>>2]|0;do{k=l+(g<<2)|0;if((g|0)>0){e=c[k+-4>>2]|0;if((a[515441+(e&63)>>0]|0)<0)j=k+-4|0;else m=28}else m=28;if((m|0)==28){m=0;j=k;e=c[k>>2]|0}if((e&63|0)==27)c[j>>2]=e&8372224|e>>>23<<6|26;k=((c[k>>2]|0)>>>14)+-131071|0;g=(k|0)==-1?-1:g+1+k|0}while((g|0)!=-1);e=c[f+16>>2]|0}if((e|0)==-1){i=n;return}l=c[(c[b>>2]|0)+12>>2]|0;do{k=l+(e<<2)|0;if((e|0)>0){g=c[k+-4>>2]|0;if((a[515441+(g&63)>>0]|0)<0)j=k+-4|0;else m=37}else m=37;if((m|0)==37){m=0;j=k;g=c[k>>2]|0}if((g&63|0)==27)c[j>>2]=g&8372224|g>>>23<<6|26;b=((c[k>>2]|0)>>>14)+-131071|0;e=(b|0)==-1?-1:e+1+b|0}while((e|0)!=-1);i=n;return}case 2:{THa(b,f)|0;aIa(b,20,f,n);i=n;return}default:{i=n;return}}}function aIa(a,b,e,f){a=a|0;b=b|0;e=e|0;f=f|0;var g=0.0,i=0,j=0.0,k=0,l=0;a:do if((c[e>>2]|0)==5)if((c[e+16>>2]|0)==-1)if((c[e+20>>2]|0)==-1)if((c[f>>2]|0)==5)if((c[f+16>>2]|0)==-1)if((c[f+20>>2]|0)==-1){g=+h[e+8>>3];j=+h[f+8>>3];switch(b|0){case 20:{l=0;break a}case 12:{g=g+j;i=17;break}case 13:{g=g-j;i=17;break}case 14:{g=g*j;i=17;break}case 15:{if(j==0.0){i=20;break a}g=g/j;i=17;break}case 16:{if(j==0.0){i=20;break a}g=g-j*+M(+(g/j));i=17;break}case 17:{g=+P(+g,+j);i=17;break}case 18:{g=-g;i=17;break}default:g=0.0}if((i|0)==17)if(!(g==g&0.0==0.0)){i=19;break}h[e+8>>3]=g;return}else i=19;else i=19;else i=19;else i=19;else i=19;else i=19;while(0);if((i|0)==19)switch(b|0){case 18:case 20:{l=0;break}default:i=20}if((i|0)==20)l=VHa(a,f)|0;k=VHa(a,e)|0;if((k|0)>(l|0)){if((c[e>>2]|0)==12){i=c[e+8>>2]|0;if(!(i&256))if((d[a+50>>0]|0|0)<=(i|0))c[a+36>>2]=(c[a+36>>2]|0)+-1}if((c[f>>2]|0)==12){i=c[f+8>>2]|0;if(!(i&256))if((d[a+50>>0]|0|0)<=(i|0))c[a+36>>2]=(c[a+36>>2]|0)+-1}}else{if((c[f>>2]|0)==12){i=c[f+8>>2]|0;if(!(i&256))if((d[a+50>>0]|0|0)<=(i|0))c[a+36>>2]=(c[a+36>>2]|0)+-1}if((c[e>>2]|0)==12){i=c[e+8>>2]|0;if(!(i&256))if((d[a+50>>0]|0|0)<=(i|0))c[a+36>>2]=(c[a+36>>2]|0)+-1}}c[e+8>>2]=zHa(a,l<<14|b|k<<23,c[(c[a+12>>2]|0)+8>>2]|0)|0;c[e>>2]=11;return}function bIa(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;switch(e|0){case 13:{YHa(b,f);return}case 14:{PHa(b,f);e=c[f>>2]|0;a:do switch(e|0){case 3:case 1:break;case 10:{k=c[f+8>>2]|0;j=19;break}default:{switch(e|0){case 11:{g=c[b>>2]|0;e=c[(c[g+12>>2]|0)+(c[f+8>>2]<<2)>>2]|0;if((e&63|0)==19){c[b+24>>2]=(c[b+24>>2]|0)+-1;k=ZHa(b,26,e>>>23,0,0)|0;j=19;break a}else{h=b;j=9}break}case 12:{j=15;break}default:{h=b;g=c[b>>2]|0;j=9}}if((j|0)==9){i=c[b+36>>2]|0;if((i|0)<(d[g+75>>0]|0|0))e=i;else{if((i|0)>248){iIa(c[b+12>>2]|0,516892);e=c[b+36>>2]|0;g=c[h>>2]|0}else e=i;a[g+75>>0]=i+1}c[b+36>>2]=e+1;SHa(b,f,e);if((c[f>>2]|0)==12)j=15;else e=c[f+8>>2]|0}if((j|0)==15){e=c[f+8>>2]|0;if(!(e&256))if((d[b+50>>0]|0|0)<=(e|0))c[b+36>>2]=(c[b+36>>2]|0)+-1}k=ZHa(b,27,255,e,1)|0;j=19}}while(0);do if((j|0)==19)if((k|0)!=-1){e=c[f+16>>2]|0;if((e|0)==-1){c[f+16>>2]=k;break}h=c[(c[b>>2]|0)+12>>2]|0;while(1){j=h+(e<<2)|0;i=c[j>>2]|0;g=((i>>>14)+-131071|0)==-1?-1:e+1+((i>>>14)+-131071)|0;if((g|0)==-1)break;else e=g}g=k+~e|0;if((((g|0)>-1?g:0-g|0)|0)>131071){iIa(c[b+12>>2]|0,516846);e=c[j>>2]|0}else e=i;c[j>>2]=e&16383|(g<<14)+2147467264}while(0);k=c[f+20>>2]|0;c[b+28>>2]=c[b+24>>2];do if((k|0)!=-1){e=c[b+32>>2]|0;if((e|0)==-1){c[b+32>>2]=k;break}i=c[(c[b>>2]|0)+12>>2]|0;while(1){j=i+(e<<2)|0;g=c[j>>2]|0;h=((g>>>14)+-131071|0)==-1?-1:e+1+((g>>>14)+-131071)|0;if((h|0)==-1)break;else e=h}if((((k+~e|0)>-1?k+~e|0:0-(k+~e)|0)|0)>131071){iIa(c[b+12>>2]|0,516846);g=c[j>>2]|0}c[j>>2]=g&16383|(k+~e<<14)+2147467264}while(0);c[f+20>>2]=-1;return}case 6:{PHa(b,f);if((c[f>>2]|0)==12){e=c[f+8>>2]|0;if(!(e&256))if((d[b+50>>0]|0|0)<=(e|0))c[b+36>>2]=(c[b+36>>2]|0)+-1}h=c[b+36>>2]|0;g=c[b>>2]|0;if((h|0)<(d[g+75>>0]|0|0))e=h;else{if((h|0)>248){iIa(c[b+12>>2]|0,516892);e=c[b+36>>2]|0;g=c[b>>2]|0}else e=h;a[g+75>>0]=h+1}c[b+36>>2]=e+1;RHa(b,f,e);return}case 5:case 4:case 3:case 2:case 1:case 0:{if((c[f>>2]|0)==5)if((c[f+16>>2]|0)==-1)if((c[f+20>>2]|0)==-1)return;VHa(b,f)|0;return}default:{VHa(b,f)|0;return}}}function cIa(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;do switch(e|0){case 13:{PHa(b,g);l=c[f+20>>2]|0;do if((l|0)!=-1){e=c[g+20>>2]|0;if((e|0)==-1){c[g+20>>2]=l;break}j=c[(c[b>>2]|0)+12>>2]|0;h=e;while(1){k=j+(h<<2)|0;e=c[k>>2]|0;i=((e>>>14)+-131071|0)==-1?-1:h+1+((e>>>14)+-131071)|0;if((i|0)==-1)break;else h=i}if((((l+~h|0)>-1?l+~h|0:0-(l+~h)|0)|0)>131071){iIa(c[b+12>>2]|0,516846);e=c[k>>2]|0}c[k>>2]=e&16383|(l+~h<<14)+2147467264}while(0);c[f>>2]=c[g>>2];c[f+4>>2]=c[g+4>>2];c[f+8>>2]=c[g+8>>2];c[f+12>>2]=c[g+12>>2];c[f+16>>2]=c[g+16>>2];c[f+20>>2]=c[g+20>>2];return}case 14:{PHa(b,g);l=c[f+16>>2]|0;do if((l|0)!=-1){e=c[g+16>>2]|0;if((e|0)==-1){c[g+16>>2]=l;break}j=c[(c[b>>2]|0)+12>>2]|0;while(1){k=j+(e<<2)|0;h=c[k>>2]|0;i=((h>>>14)+-131071|0)==-1?-1:e+1+((h>>>14)+-131071)|0;if((i|0)==-1)break;else e=i}if((((l+~e|0)>-1?l+~e|0:0-(l+~e)|0)|0)>131071){iIa(c[b+12>>2]|0,516846);h=c[k>>2]|0}c[k>>2]=h&16383|(l+~e<<14)+2147467264}while(0);c[f>>2]=c[g>>2];c[f+4>>2]=c[g+4>>2];c[f+8>>2]=c[g+8>>2];c[f+12>>2]=c[g+12>>2];c[f+16>>2]=c[g+16>>2];c[f+20>>2]=c[g+20>>2];return}case 6:{if((c[g+16>>2]|0)==(c[g+20>>2]|0))PHa(b,g);else THa(b,g)|0;if((c[g>>2]|0)==11){h=(c[(c[b>>2]|0)+12>>2]|0)+(c[g+8>>2]<<2)|0;e=c[h>>2]|0;if((e&63|0)==21){i=c[f+8>>2]|0;if((c[f>>2]|0)==12&(i&256|0)==0)if((d[b+50>>0]|0|0)<=(i|0)){c[b+36>>2]=(c[b+36>>2]|0)+-1;e=c[h>>2]|0}c[h>>2]=i<<23|e&8388607;c[f>>2]=11;c[f+8>>2]=c[g+8>>2];return}}PHa(b,g);if((c[g>>2]|0)==12){e=c[g+8>>2]|0;if(!(e&256))if((d[b+50>>0]|0|0)<=(e|0))c[b+36>>2]=(c[b+36>>2]|0)+-1}i=c[b+36>>2]|0;h=c[b>>2]|0;if((i|0)<(d[h+75>>0]|0|0))e=i;else{if((i|0)>248){iIa(c[b+12>>2]|0,516892);e=c[b+36>>2]|0;h=c[b>>2]|0}else e=i;a[h+75>>0]=i+1}c[b+36>>2]=e+1;RHa(b,g,e);aIa(b,21,f,g);return}case 0:{aIa(b,12,f,g);return}case 1:{aIa(b,13,f,g);return}case 2:{aIa(b,14,f,g);return}case 3:{aIa(b,15,f,g);return}case 4:{aIa(b,16,f,g);return}case 5:{aIa(b,17,f,g);return}case 8:{h=VHa(b,f)|0;i=VHa(b,g)|0;if((c[g>>2]|0)==12){e=c[g+8>>2]|0;if(!(e&256))if((d[b+50>>0]|0|0)<=(e|0))c[b+36>>2]=(c[b+36>>2]|0)+-1}if((c[f>>2]|0)==12){e=c[f+8>>2]|0;if(!(e&256))if((d[b+50>>0]|0|0)<=(e|0))c[b+36>>2]=(c[b+36>>2]|0)+-1}c[f+8>>2]=ZHa(b,23,1,h,i)|0;c[f>>2]=10;return}case 7:{h=VHa(b,f)|0;i=VHa(b,g)|0;if((c[g>>2]|0)==12){e=c[g+8>>2]|0;if(!(e&256))if((d[b+50>>0]|0|0)<=(e|0))c[b+36>>2]=(c[b+36>>2]|0)+-1}if((c[f>>2]|0)==12){e=c[f+8>>2]|0;if(!(e&256))if((d[b+50>>0]|0|0)<=(e|0))c[b+36>>2]=(c[b+36>>2]|0)+-1}c[f+8>>2]=ZHa(b,23,0,h,i)|0;c[f>>2]=10;return}case 9:{h=VHa(b,f)|0;i=VHa(b,g)|0;if((c[g>>2]|0)==12){e=c[g+8>>2]|0;if(!(e&256))if((d[b+50>>0]|0|0)<=(e|0))c[b+36>>2]=(c[b+36>>2]|0)+-1}if((c[f>>2]|0)==12){e=c[f+8>>2]|0;if(!(e&256))if((d[b+50>>0]|0|0)<=(e|0))c[b+36>>2]=(c[b+36>>2]|0)+-1}c[f+8>>2]=ZHa(b,24,1,h,i)|0;c[f>>2]=10;return}case 10:{h=VHa(b,f)|0;i=VHa(b,g)|0;if((c[g>>2]|0)==12){e=c[g+8>>2]|0;if(!(e&256))if((d[b+50>>0]|0|0)<=(e|0))c[b+36>>2]=(c[b+36>>2]|0)+-1}if((c[f>>2]|0)==12){e=c[f+8>>2]|0;if(!(e&256))if((d[b+50>>0]|0|0)<=(e|0))c[b+36>>2]=(c[b+36>>2]|0)+-1}c[f+8>>2]=ZHa(b,25,1,h,i)|0;c[f>>2]=10;return}case 11:{h=VHa(b,f)|0;i=VHa(b,g)|0;if((c[g>>2]|0)==12){e=c[g+8>>2]|0;if(!(e&256))if((d[b+50>>0]|0|0)<=(e|0))c[b+36>>2]=(c[b+36>>2]|0)+-1}if((c[f>>2]|0)==12){e=c[f+8>>2]|0;if(!(e&256))if((d[b+50>>0]|0|0)<=(e|0))c[b+36>>2]=(c[b+36>>2]|0)+-1}c[f+8>>2]=ZHa(b,24,1,i,h)|0;c[f>>2]=10;return}case 12:{h=VHa(b,f)|0;i=VHa(b,g)|0;if((c[g>>2]|0)==12){e=c[g+8>>2]|0;if(!(e&256))if((d[b+50>>0]|0|0)<=(e|0))c[b+36>>2]=(c[b+36>>2]|0)+-1}if((c[f>>2]|0)==12){e=c[f+8>>2]|0;if(!(e&256))if((d[b+50>>0]|0|0)<=(e|0))c[b+36>>2]=(c[b+36>>2]|0)+-1}c[f+8>>2]=ZHa(b,25,1,i,h)|0;c[f>>2]=10;return}default:return}while(0)}function dIa(a,b){a=a|0;b=b|0;c[(c[(c[a>>2]|0)+20>>2]|0)+((c[a+24>>2]|0)+-1<<2)>>2]=b;return}function eIa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;e=b<<6|((e|0)==-1?0:e<<23)|34;if((((d+-1|0)/50|0)+1|0)<512){zHa(a,e|((d+-1|0)/50|0)+1<<14,c[(c[a+12>>2]|0)+8>>2]|0)|0;b=b+1|0;d=a+36|0;c[d>>2]=b;return}else{zHa(a,e,c[(c[a+12>>2]|0)+8>>2]|0)|0;zHa(a,((d+-1|0)/50|0)+1|0,c[(c[a+12>>2]|0)+8>>2]|0)|0;b=b+1|0;d=a+36|0;c[d>>2]=b;return}}function fIa(b){b=b|0;var e=0,f=0;e=0;do{f=c[37524+(e<<2)>>2]|0;f=fGa(b,f,rnb(f)|0)|0;a[f+5>>0]=d[f+5>>0]|0|32;e=e+1|0;a[f+6>>0]=e}while((e|0)!=21);return}function gIa(a,b){a=a|0;b=b|0;var d=0,e=0;d=i;i=i+16|0;if((b|0)>=257){b=c[37524+(b+-257<<2)>>2]|0;i=d;return b|0}e=(Pmb(b)|0)==0;a=c[a+52>>2]|0;if(e){c[d+8>>2]=b;e=FFa(a,519261,d+8|0)|0;i=d;return e|0}else{c[d>>2]=b;e=FFa(a,517082,d)|0;i=d;return e|0}return 0}function hIa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;k=i;i=i+208|0;GFa(k+120|0,(c[b+64>>2]|0)+16|0,80);h=c[b+52>>2]|0;j=c[b+4>>2]|0;c[k>>2]=k+120;c[k+4>>2]=j;c[k+8>>2]=d;h=FFa(h,517091,k)|0;if(!e){j=c[b+52>>2]|0;HEa(j,3)}j=c[b+52>>2]|0;do if((e+-284|0)>>>0<3){g=c[b+60>>2]|0;d=c[g+4>>2]|0;f=c[g+8>>2]|0;if((d+1|0)>>>0>f>>>0){if(f>>>0>2147483645){GFa(k,(c[b+64>>2]|0)+16|0,80);e=c[b+52>>2]|0;d=c[b+4>>2]|0;c[k+80>>2]=k;c[k+80+4>>2]=d;c[k+80+8>>2]=517101;FFa(e,517091,k+80|0)|0;HEa(c[b+52>>2]|0,3)}if((f<<1|0)==-2){d=g;e=yFa(j)|0}else{d=g;e=xFa(j,c[g>>2]|0,f,f<<1)|0}c[d>>2]=e;c[g+8>>2]=f<<1;d=c[g+4>>2]|0}else e=c[g>>2]|0;c[g+4>>2]=d+1;a[e+d>>0]=0;d=c[c[b+60>>2]>>2]|0}else{if((e|0)>=257){d=c[37524+(e+-257<<2)>>2]|0;break}g=(Pmb(e)|0)==0;d=c[b+52>>2]|0;if(g){c[k+104>>2]=e;d=FFa(d,519261,k+104|0)|0;break}else{c[k+96>>2]=e;d=FFa(d,517082,k+96|0)|0;break}}while(0);c[k+112>>2]=h;c[k+112+4>>2]=d;FFa(j,517126,k+112|0)|0;k=c[b+52>>2]|0;HEa(k,3)}function iIa(a,b){a=a|0;b=b|0;hIa(a,b,c[a+16>>2]|0);return}function jIa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=c[a+52>>2]|0;b=fGa(e,b,d)|0;d=tGa(e,c[(c[a+48>>2]|0)+4>>2]|0,b)|0;if(c[d+8>>2]|0)return b|0;c[d>>2]=1;c[d+8>>2]=1;a=c[e+16>>2]|0;if((c[a+68>>2]|0)>>>0<(c[a+64>>2]|0)>>>0)return b|0;lFa(e);return b|0}function kIa(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;a[e+68>>0]=46;c[e+52>>2]=b;c[e+32>>2]=287;c[e+56>>2]=f;c[e+48>>2]=0;c[e+4>>2]=1;c[e+8>>2]=1;c[e+64>>2]=g;f=c[e+60>>2]|0;f=xFa(b,c[f>>2]|0,c[f+8>>2]|0,32)|0;b=c[e+60>>2]|0;c[b>>2]=f;c[b+8>>2]=32;b=c[e+56>>2]|0;f=c[b>>2]|0;c[b>>2]=f+-1;if(!f){f=JGa(b)|0;c[e>>2]=f;return}else{f=c[b+4>>2]|0;c[b+4>>2]=f+1;f=d[f>>0]|0;c[e>>2]=f;return}}function lIa(a){a=a|0;c[a+8>>2]=c[a+4>>2];if((c[a+32>>2]|0)==287){c[a+16>>2]=mIa(a,a+24|0)|0;return}else{c[a+16>>2]=c[a+32>>2];c[a+16+4>>2]=c[a+32+4>>2];c[a+16+8>>2]=c[a+32+8>>2];c[a+16+12>>2]=c[a+32+12>>2];c[a+32>>2]=287;return}}function mIa(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+288|0;c[(c[b+60>>2]|0)+4>>2]=0;a:while(1){f=c[b>>2]|0;b:while(1){switch(f|0){case 91:{m=31;break a}case 61:break a;case 60:{m=43;break a}case 62:{m=51;break a}case 126:{m=59;break a}case 39:case 34:{n=f;m=67;break a}case 46:{m=181;break a}case -1:{f=287;m=252;break a}case 13:case 10:{m=4;break b}case 45:break b;default:{}}if(!(cmb(f)|0)){m=224;break a}f=c[b+56>>2]|0;n=c[f>>2]|0;c[f>>2]=n+-1;if(!n)f=JGa(f)|0;else{n=c[f+4>>2]|0;c[f+4>>2]=n+1;f=d[n>>0]|0}c[b>>2]=f}if((m|0)==4){m=0;g=c[b+56>>2]|0;n=c[g>>2]|0;c[g>>2]=n+-1;if(!n)g=JGa(g)|0;else{n=c[g+4>>2]|0;c[g+4>>2]=n+1;g=d[n>>0]|0}c[b>>2]=g;switch(g|0){case 13:case 10:{if((g|0)!=(f|0)){f=c[b+56>>2]|0;n=c[f>>2]|0;c[f>>2]=n+-1;if(!n)f=JGa(f)|0;else{n=c[f+4>>2]|0;c[f+4>>2]=n+1;f=d[n>>0]|0}c[b>>2]=f}break}default:{}}n=c[b+4>>2]|0;c[b+4>>2]=n+1;if((n|0)<=2147483643)continue;hIa(b,517139,c[b+16>>2]|0);continue}f=c[b+56>>2]|0;n=c[f>>2]|0;c[f>>2]=n+-1;if(!n)f=JGa(f)|0;else{n=c[f+4>>2]|0;c[f+4>>2]=n+1;f=d[n>>0]|0}c[b>>2]=f;if((f|0)!=45){f=45;m=252;break}f=c[b+56>>2]|0;n=c[f>>2]|0;c[f>>2]=n+-1;if(!n)f=JGa(f)|0;else{n=c[f+4>>2]|0;c[f+4>>2]=n+1;f=d[n>>0]|0}c[b>>2]=f;do if((f|0)==91){f=nIa(b)|0;c[(c[b+60>>2]|0)+4>>2]=0;if((f|0)>-1){oIa(b,0,f);c[(c[b+60>>2]|0)+4>>2]=0;continue a}else{f=c[b>>2]|0;break}}while(0);while(1){switch(f|0){case -1:case 13:case 10:continue a;default:{}}f=c[b+56>>2]|0;n=c[f>>2]|0;c[f>>2]=n+-1;if(!n)f=JGa(f)|0;else{n=c[f+4>>2]|0;c[f+4>>2]=n+1;f=d[n>>0]|0}c[b>>2]=f}}do if((m|0)==31){f=nIa(b)|0;if((f|0)>-1){oIa(b,e,f);b=286;i=o;return b|0}if((f|0)==-1){b=91;i=o;return b|0}else{hIa(b,517244,286);break}}else if((m|0)==43){f=c[b+56>>2]|0;e=c[f>>2]|0;c[f>>2]=e+-1;if(!e)f=JGa(f)|0;else{e=c[f+4>>2]|0;c[f+4>>2]=e+1;f=d[e>>0]|0}c[b>>2]=f;if((f|0)!=61){b=60;i=o;return b|0}f=c[b+56>>2]|0;e=c[f>>2]|0;c[f>>2]=e+-1;if(!e)f=JGa(f)|0;else{e=c[f+4>>2]|0;c[f+4>>2]=e+1;f=d[e>>0]|0}c[b>>2]=f;b=282;i=o;return b|0}else if((m|0)==51){f=c[b+56>>2]|0;e=c[f>>2]|0;c[f>>2]=e+-1;if(!e)f=JGa(f)|0;else{e=c[f+4>>2]|0;c[f+4>>2]=e+1;f=d[e>>0]|0}c[b>>2]=f;if((f|0)!=61){b=62;i=o;return b|0}f=c[b+56>>2]|0;e=c[f>>2]|0;c[f>>2]=e+-1;if(!e)f=JGa(f)|0;else{e=c[f+4>>2]|0;c[f+4>>2]=e+1;f=d[e>>0]|0}c[b>>2]=f;b=281;i=o;return b|0}else if((m|0)==59){f=c[b+56>>2]|0;e=c[f>>2]|0;c[f>>2]=e+-1;if(!e)f=JGa(f)|0;else{e=c[f+4>>2]|0;c[f+4>>2]=e+1;f=d[e>>0]|0}c[b>>2]=f;if((f|0)!=61){b=126;i=o;return b|0}f=c[b+56>>2]|0;e=c[f>>2]|0;c[f>>2]=e+-1;if(!e)f=JGa(f)|0;else{e=c[f+4>>2]|0;c[f+4>>2]=e+1;f=d[e>>0]|0}c[b>>2]=f;b=283;i=o;return b|0}else if((m|0)==67){k=c[b+60>>2]|0;f=c[k+4>>2]|0;j=c[k+8>>2]|0;if((f+1|0)>>>0>j>>>0){if(j>>>0>2147483645){GFa(o+200|0,(c[b+64>>2]|0)+16|0,80);l=c[b+52>>2]|0;h=c[b+4>>2]|0;c[o>>2]=o+200;c[o+4>>2]=h;c[o+8>>2]=517101;FFa(l,517091,o)|0;HEa(c[b+52>>2]|0,3)}f=c[b+52>>2]|0;if((j<<1|0)==-2){h=k;g=yFa(f)|0}else{h=k;g=xFa(f,c[k>>2]|0,j,j<<1)|0}c[h>>2]=g;c[k+8>>2]=j<<1;f=c[k+4>>2]|0}else g=c[k>>2]|0;c[k+4>>2]=f+1;a[g+f>>0]=n;f=c[b+56>>2]|0;l=c[f>>2]|0;c[f>>2]=l+-1;if(!l)f=JGa(f)|0;else{l=c[f+4>>2]|0;c[f+4>>2]=l+1;f=d[l>>0]|0}c[b>>2]=f;c:do if((f|0)!=(n|0)){d:while(1){e:do switch(f|0){case -1:{m=82;break d}case 13:case 10:{hIa(b,517274,286);m=80;break}case 92:{f=c[b+56>>2]|0;l=c[f>>2]|0;c[f>>2]=l+-1;if(!l)f=JGa(f)|0;else{l=c[f+4>>2]|0;c[f+4>>2]=l+1;f=d[l>>0]|0}c[b>>2]=f;switch(f|0){case -1:{f=-1;break e}case 97:{l=7;break}case 98:{l=8;break}case 102:{l=12;break}case 110:{l=10;break}case 114:{l=13;break}case 116:{l=9;break}case 118:{l=11;break}case 13:case 10:{k=c[b+60>>2]|0;f=c[k+4>>2]|0;j=c[k+8>>2]|0;if((f+1|0)>>>0>j>>>0){if(j>>>0>2147483645){m=97;break d}f=c[b+52>>2]|0;if((j<<1|0)==-2){h=k;g=yFa(f)|0}else{h=k;g=xFa(f,c[k>>2]|0,j,j<<1)|0}c[h>>2]=g;c[k+8>>2]=j<<1;f=c[k+4>>2]|0}else g=c[k>>2]|0;c[k+4>>2]=f+1;a[g+f>>0]=10;g=c[b>>2]|0;f=c[b+56>>2]|0;m=c[f>>2]|0;c[f>>2]=m+-1;if(!m)f=JGa(f)|0;else{m=c[f+4>>2]|0;c[f+4>>2]=m+1;f=d[m>>0]|0}c[b>>2]=f;switch(f|0){case 13:case 10:{if((f|0)!=(g|0)){f=c[b+56>>2]|0;m=c[f>>2]|0;c[f>>2]=m+-1;if(!m)f=JGa(f)|0;else{m=c[f+4>>2]|0;c[f+4>>2]=m+1;f=d[m>>0]|0}c[b>>2]=f}break}default:{}}m=c[b+4>>2]|0;c[b+4>>2]=m+1;if((m|0)<=2147483643){m=80;break e}hIa(b,517139,c[b+16>>2]|0);m=80;break e}default:{if((f+-48|0)>>>0<10){g=0;h=0}else{l=c[b+60>>2]|0;g=c[l+4>>2]|0;k=c[l+8>>2]|0;if((g+1|0)>>>0>k>>>0){if(k>>>0>2147483645){m=117;break d}g=c[b+52>>2]|0;if((k<<1|0)==-2){j=l;h=yFa(g)|0}else{j=l;h=xFa(g,c[l>>2]|0,k,k<<1)|0}c[j>>2]=h;c[l+8>>2]=k<<1;g=c[l+4>>2]|0}else h=c[l>>2]|0;c[l+4>>2]=g+1;a[h+g>>0]=f;f=c[b+56>>2]|0;l=c[f>>2]|0;c[f>>2]=l+-1;if(!l)f=JGa(f)|0;else{l=c[f+4>>2]|0;c[f+4>>2]=l+1;f=d[l>>0]|0}c[b>>2]=f;break e}do{g=f+-48+(g*10|0)|0;f=c[b+56>>2]|0;m=c[f>>2]|0;c[f>>2]=m+-1;if(!m)f=JGa(f)|0;else{m=c[f+4>>2]|0;c[f+4>>2]=m+1;f=d[m>>0]|0}c[b>>2]=f;h=h+1|0}while((h|0)<3&(f+-48|0)>>>0<10);if((g|0)>255)hIa(b,517292,286);l=c[b+60>>2]|0;f=c[l+4>>2]|0;k=c[l+8>>2]|0;if((f+1|0)>>>0>k>>>0){if(k>>>0>2147483645){m=135;break d}f=c[b+52>>2]|0;if((k<<1|0)==-2){j=l;h=yFa(f)|0}else{j=l;h=xFa(f,c[l>>2]|0,k,k<<1)|0}c[j>>2]=h;c[l+8>>2]=k<<1;f=c[l+4>>2]|0}else h=c[l>>2]|0;c[l+4>>2]=f+1;a[h+f>>0]=g;m=80;break e}}k=c[b+60>>2]|0;f=c[k+4>>2]|0;j=c[k+8>>2]|0;if((f+1|0)>>>0>j>>>0){if(j>>>0>2147483645){m=144;break d}f=c[b+52>>2]|0;if((j<<1|0)==-2){h=k;g=yFa(f)|0}else{h=k;g=xFa(f,c[k>>2]|0,j,j<<1)|0}c[h>>2]=g;c[k+8>>2]=j<<1;f=c[k+4>>2]|0}else g=c[k>>2]|0;c[k+4>>2]=f+1;a[g+f>>0]=l;f=c[b+56>>2]|0;l=c[f>>2]|0;c[f>>2]=l+-1;if(!l)f=JGa(f)|0;else{l=c[f+4>>2]|0;c[f+4>>2]=l+1;f=d[l>>0]|0}c[b>>2]=f;break}default:{l=c[b+60>>2]|0;g=c[l+4>>2]|0;k=c[l+8>>2]|0;if((g+1|0)>>>0>k>>>0){if(k>>>0>2147483645){m=156;break d}g=c[b+52>>2]|0;if((k<<1|0)==-2){j=l;h=yFa(g)|0}else{j=l;h=xFa(g,c[l>>2]|0,k,k<<1)|0}c[j>>2]=h;c[l+8>>2]=k<<1;g=c[l+4>>2]|0}else h=c[l>>2]|0;c[l+4>>2]=g+1;a[h+g>>0]=f;f=c[b+56>>2]|0;l=c[f>>2]|0;c[f>>2]=l+-1;if(!l)f=JGa(f)|0;else{l=c[f+4>>2]|0;c[f+4>>2]=l+1;f=d[l>>0]|0}c[b>>2]=f}}while(0);if((m|0)==80){m=0;f=c[b>>2]|0}if((f|0)==(n|0))break c}if((m|0)==82){GFa(o+200|0,(c[b+64>>2]|0)+16|0,80);l=c[b+52>>2]|0;m=c[b+4>>2]|0;c[o+16>>2]=o+200;c[o+16+4>>2]=m;c[o+16+8>>2]=517274;l=FFa(l,517091,o+16|0)|0;m=c[b+52>>2]|0;c[o+32>>2]=l;c[o+32+4>>2]=517076;FFa(m,517126,o+32|0)|0;HEa(c[b+52>>2]|0,3)}else if((m|0)==97){GFa(o+200|0,(c[b+64>>2]|0)+16|0,80);m=c[b+52>>2]|0;l=c[b+4>>2]|0;c[o+40>>2]=o+200;c[o+40+4>>2]=l;c[o+40+8>>2]=517101;FFa(m,517091,o+40|0)|0;HEa(c[b+52>>2]|0,3)}else if((m|0)==117){GFa(o+200|0,(c[b+64>>2]|0)+16|0,80);m=c[b+52>>2]|0;l=c[b+4>>2]|0;c[o+56>>2]=o+200;c[o+56+4>>2]=l;c[o+56+8>>2]=517101;FFa(m,517091,o+56|0)|0;HEa(c[b+52>>2]|0,3)}else if((m|0)==135){GFa(o+200|0,(c[b+64>>2]|0)+16|0,80);m=c[b+52>>2]|0;l=c[b+4>>2]|0;c[o+72>>2]=o+200;c[o+72+4>>2]=l;c[o+72+8>>2]=517101;FFa(m,517091,o+72|0)|0;HEa(c[b+52>>2]|0,3)}else if((m|0)==144){GFa(o+200|0,(c[b+64>>2]|0)+16|0,80);m=c[b+52>>2]|0;l=c[b+4>>2]|0;c[o+88>>2]=o+200;c[o+88+4>>2]=l;c[o+88+8>>2]=517101;FFa(m,517091,o+88|0)|0;HEa(c[b+52>>2]|0,3)}else if((m|0)==156){GFa(o+200|0,(c[b+64>>2]|0)+16|0,80);m=c[b+52>>2]|0;l=c[b+4>>2]|0;c[o+104>>2]=o+200;c[o+104+4>>2]=l;c[o+104+8>>2]=517101;FFa(m,517091,o+104|0)|0;HEa(c[b+52>>2]|0,3)}}while(0);k=c[b+60>>2]|0;f=c[k+4>>2]|0;j=c[k+8>>2]|0;if((f+1|0)>>>0>j>>>0){if(j>>>0>2147483645){GFa(o+200|0,(c[b+64>>2]|0)+16|0,80);m=c[b+52>>2]|0;l=c[b+4>>2]|0;c[o+120>>2]=o+200;c[o+120+4>>2]=l;c[o+120+8>>2]=517101;FFa(m,517091,o+120|0)|0;HEa(c[b+52>>2]|0,3)}f=c[b+52>>2]|0;if((j<<1|0)==-2){h=k;g=yFa(f)|0}else{h=k;g=xFa(f,c[k>>2]|0,j,j<<1)|0}c[h>>2]=g;c[k+8>>2]=j<<1;f=c[k+4>>2]|0}else g=c[k>>2]|0;c[k+4>>2]=f+1;a[g+f>>0]=n;f=c[b+56>>2]|0;n=c[f>>2]|0;c[f>>2]=n+-1;if(!n)f=JGa(f)|0;else{n=c[f+4>>2]|0;c[f+4>>2]=n+1;f=d[n>>0]|0}c[b>>2]=f;h=c[b+60>>2]|0;g=c[b+52>>2]|0;h=fGa(g,(c[h>>2]|0)+1|0,(c[h+4>>2]|0)+-2|0)|0;f=tGa(g,c[(c[b+48>>2]|0)+4>>2]|0,h)|0;if(!(c[f+8>>2]|0)){c[f>>2]=1;c[f+8>>2]=1;b=c[g+16>>2]|0;if((c[b+68>>2]|0)>>>0>=(c[b+64>>2]|0)>>>0)lFa(g)}c[e>>2]=h;b=286;i=o;return b|0}else if((m|0)==181){k=c[b+60>>2]|0;f=c[k+4>>2]|0;j=c[k+8>>2]|0;if((f+1|0)>>>0>j>>>0){if(j>>>0>2147483645){GFa(o+200|0,(c[b+64>>2]|0)+16|0,80);n=c[b+52>>2]|0;m=c[b+4>>2]|0;c[o+136>>2]=o+200;c[o+136+4>>2]=m;c[o+136+8>>2]=517101;FFa(n,517091,o+136|0)|0;HEa(c[b+52>>2]|0,3)}f=c[b+52>>2]|0;if((j<<1|0)==-2){h=k;g=yFa(f)|0}else{h=k;g=xFa(f,c[k>>2]|0,j,j<<1)|0}c[h>>2]=g;c[k+8>>2]=j<<1;f=c[k+4>>2]|0}else g=c[k>>2]|0;c[k+4>>2]=f+1;a[g+f>>0]=46;f=c[b+56>>2]|0;n=c[f>>2]|0;c[f>>2]=n+-1;if(!n)l=JGa(f)|0;else{l=c[f+4>>2]|0;c[f+4>>2]=l+1;l=d[l>>0]|0}c[b>>2]=l;if(!(omb(616643,l,2)|0)){if((l+-48|0)>>>0>=10){b=46;i=o;return b|0}pIa(b,e);b=284;i=o;return b|0}k=c[b+60>>2]|0;f=c[k+4>>2]|0;j=c[k+8>>2]|0;if((f+1|0)>>>0>j>>>0){if(j>>>0>2147483645){GFa(o+200|0,(c[b+64>>2]|0)+16|0,80);e=c[b+52>>2]|0;n=c[b+4>>2]|0;c[o+152>>2]=o+200;c[o+152+4>>2]=n;c[o+152+8>>2]=517101;FFa(e,517091,o+152|0)|0;HEa(c[b+52>>2]|0,3)}f=c[b+52>>2]|0;if((j<<1|0)==-2){h=k;g=yFa(f)|0}else{h=k;g=xFa(f,c[k>>2]|0,j,j<<1)|0}c[h>>2]=g;c[k+8>>2]=j<<1;f=c[k+4>>2]|0}else g=c[k>>2]|0;c[k+4>>2]=f+1;a[g+f>>0]=l;f=c[b+56>>2]|0;e=c[f>>2]|0;c[f>>2]=e+-1;if(!e)k=JGa(f)|0;else{k=c[f+4>>2]|0;c[f+4>>2]=k+1;k=d[k>>0]|0}c[b>>2]=k;if(!(omb(616643,k,2)|0)){b=278;i=o;return b|0}l=c[b+60>>2]|0;f=c[l+4>>2]|0;j=c[l+8>>2]|0;if((f+1|0)>>>0>j>>>0){if(j>>>0>2147483645){GFa(o+200|0,(c[b+64>>2]|0)+16|0,80);e=c[b+52>>2]|0;n=c[b+4>>2]|0;c[o+168>>2]=o+200;c[o+168+4>>2]=n;c[o+168+8>>2]=517101;FFa(e,517091,o+168|0)|0;HEa(c[b+52>>2]|0,3)}f=c[b+52>>2]|0;if((j<<1|0)==-2){h=l;g=yFa(f)|0}else{h=l;g=xFa(f,c[l>>2]|0,j,j<<1)|0}c[h>>2]=g;c[l+8>>2]=j<<1;f=c[l+4>>2]|0}else g=c[l>>2]|0;c[l+4>>2]=f+1;a[g+f>>0]=k;f=c[b+56>>2]|0;e=c[f>>2]|0;c[f>>2]=e+-1;if(!e)f=JGa(f)|0;else{e=c[f+4>>2]|0;c[f+4>>2]=e+1;f=d[e>>0]|0}c[b>>2]=f;b=279;i=o;return b|0}else if((m|0)==224){f=c[b>>2]|0;if((f+-48|0)>>>0<10){pIa(b,e);b=284;i=o;return b|0}if(!(Nmb(f)|0)){g=c[b>>2]|0;if((g|0)!=95){f=c[b+56>>2]|0;e=c[f>>2]|0;c[f>>2]=e+-1;if(!e)f=JGa(f)|0;else{e=c[f+4>>2]|0;c[f+4>>2]=e+1;f=d[e>>0]|0}c[b>>2]=f;b=g;i=o;return b|0}}while(1){k=c[b>>2]|0;l=c[b+60>>2]|0;f=c[l+4>>2]|0;j=c[l+8>>2]|0;if((f+1|0)>>>0>j>>>0){if(j>>>0>2147483645){m=232;break}f=c[b+52>>2]|0;if((j<<1|0)==-2){h=l;g=yFa(f)|0}else{h=l;g=xFa(f,c[l>>2]|0,j,j<<1)|0}c[h>>2]=g;c[l+8>>2]=j<<1;f=c[l+4>>2]|0}else g=c[l>>2]|0;c[l+4>>2]=f+1;a[g+f>>0]=k;f=c[b+56>>2]|0;n=c[f>>2]|0;c[f>>2]=n+-1;if(!n)f=JGa(f)|0;else{n=c[f+4>>2]|0;c[f+4>>2]=n+1;f=d[n>>0]|0}c[b>>2]=f;if(Mmb(f)|0)continue;if((c[b>>2]|0)!=95)break}if((m|0)==232){GFa(o+200|0,(c[b+64>>2]|0)+16|0,80);n=c[b+52>>2]|0;m=c[b+4>>2]|0;c[o+184>>2]=o+200;c[o+184+4>>2]=m;c[o+184+8>>2]=517101;FFa(n,517091,o+184|0)|0;HEa(c[b+52>>2]|0,3)}h=c[b+60>>2]|0;g=c[b+52>>2]|0;h=fGa(g,c[h>>2]|0,c[h+4>>2]|0)|0;f=tGa(g,c[(c[b+48>>2]|0)+4>>2]|0,h)|0;if(!(c[f+8>>2]|0)){c[f>>2]=1;c[f+8>>2]=1;b=c[g+16>>2]|0;if((c[b+68>>2]|0)>>>0>=(c[b+64>>2]|0)>>>0)lFa(g)}f=a[h+6>>0]|0;if(!(f<<24>>24)){c[e>>2]=h;b=285;i=o;return b|0}else{b=f&255|256;i=o;return b|0}}else if((m|0)==252){i=o;return f|0}while(0);f=c[b+56>>2]|0;e=c[f>>2]|0;c[f>>2]=e+-1;if(!e)f=JGa(f)|0;else{e=c[f+4>>2]|0;c[f+4>>2]=e+1;f=d[e>>0]|0}c[b>>2]=f;if((f|0)!=61){b=61;i=o;return b|0}f=c[b+56>>2]|0;e=c[f>>2]|0;c[f>>2]=e+-1;if(!e)f=JGa(f)|0;else{e=c[f+4>>2]|0;c[f+4>>2]=e+1;f=d[e>>0]|0}c[b>>2]=f;b=280;i=o;return b|0}function nIa(b){b=b|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+112|0;l=c[b>>2]|0;h=c[b+60>>2]|0;e=c[h+4>>2]|0;g=c[h+8>>2]|0;if((e+1|0)>>>0>g>>>0){if(g>>>0>2147483645){GFa(m+32|0,(c[b+64>>2]|0)+16|0,80);k=c[b+52>>2]|0;j=c[b+4>>2]|0;c[m>>2]=m+32;c[m+4>>2]=j;c[m+8>>2]=517101;FFa(k,517091,m)|0;HEa(c[b+52>>2]|0,3)}e=c[b+52>>2]|0;if((g<<1|0)==-2){f=h;e=yFa(e)|0}else{f=h;e=xFa(e,c[h>>2]|0,g,g<<1)|0}c[f>>2]=e;c[h+8>>2]=g<<1;f=c[h+4>>2]|0}else{f=e;e=c[h>>2]|0}c[h+4>>2]=f+1;a[e+f>>0]=l;e=c[b+56>>2]|0;k=c[e>>2]|0;c[e>>2]=k+-1;if(!k)e=JGa(e)|0;else{k=c[e+4>>2]|0;c[e+4>>2]=k+1;e=d[k>>0]|0}c[b>>2]=e;if((e|0)!=61){k=e;b=0;l=(k|0)!=(l|0);l=l<<31>>31;l=l^b;i=m;return l|0}k=0;while(1){j=c[b+60>>2]|0;e=c[j+4>>2]|0;h=c[j+8>>2]|0;if((e+1|0)>>>0>h>>>0){if(h>>>0>2147483645){g=17;break}e=c[b+52>>2]|0;if((h<<1|0)==-2){g=j;f=yFa(e)|0}else{g=j;f=xFa(e,c[j>>2]|0,h,h<<1)|0}c[g>>2]=f;c[j+8>>2]=h<<1;e=c[j+4>>2]|0}else f=c[j>>2]|0;c[j+4>>2]=e+1;a[f+e>>0]=61;e=c[b+56>>2]|0;j=c[e>>2]|0;c[e>>2]=j+-1;if(!j)f=JGa(e)|0;else{f=c[e+4>>2]|0;c[e+4>>2]=f+1;f=d[f>>0]|0}c[b>>2]=f;e=k+1|0;if((f|0)==61)k=e;else{g=26;break}}if((g|0)==17){GFa(m+32|0,(c[b+64>>2]|0)+16|0,80);l=c[b+52>>2]|0;k=c[b+4>>2]|0;c[m+16>>2]=m+32;c[m+16+4>>2]=k;c[m+16+8>>2]=517101;FFa(l,517091,m+16|0)|0;HEa(c[b+52>>2]|0,3)}else if((g|0)==26){l=(f|0)!=(l|0);l=l<<31>>31;l=l^e;i=m;return l|0}return 0}function oIa(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+192|0;k=c[b>>2]|0;l=c[b+60>>2]|0;g=c[l+4>>2]|0;j=c[l+8>>2]|0;if((g+1|0)>>>0>j>>>0){if(j>>>0>2147483645){GFa(n+104|0,(c[b+64>>2]|0)+16|0,80);h=c[b+52>>2]|0;g=c[b+4>>2]|0;c[n>>2]=n+104;c[n+4>>2]=g;c[n+8>>2]=517101;FFa(h,517091,n)|0;HEa(c[b+52>>2]|0,3)}g=c[b+52>>2]|0;if((j<<1|0)==-2){h=l;g=yFa(g)|0}else{h=l;g=xFa(g,c[l>>2]|0,j,j<<1)|0}c[h>>2]=g;c[l+8>>2]=j<<1;h=c[l+4>>2]|0}else{h=g;g=c[l>>2]|0}c[l+4>>2]=h+1;a[g+h>>0]=k;g=c[b+56>>2]|0;l=c[g>>2]|0;c[g>>2]=l+-1;if(!l)g=JGa(g)|0;else{l=c[g+4>>2]|0;c[g+4>>2]=l+1;g=d[l>>0]|0}c[b>>2]=g;switch(g|0){case 13:case 10:{h=c[b+56>>2]|0;m=c[h>>2]|0;c[h>>2]=m+-1;if(!m)h=JGa(h)|0;else{m=c[h+4>>2]|0;c[h+4>>2]=m+1;h=d[m>>0]|0}c[b>>2]=h;switch(h|0){case 13:case 10:{if((h|0)!=(g|0)){g=c[b+56>>2]|0;m=c[g>>2]|0;c[g>>2]=m+-1;if(!m)g=JGa(g)|0;else{m=c[g+4>>2]|0;c[g+4>>2]=m+1;g=d[m>>0]|0}c[b>>2]=g}break}default:{}}m=c[b+4>>2]|0;c[b+4>>2]=m+1;if((m|0)>2147483643){hIa(b,517139,c[b+16>>2]|0);m=24}else m=24;break}default:{}}a:while(1){if((m|0)==24)g=c[b>>2]|0;b:while(1){c:do if(!e)while(1){switch(g|0){case -1:{m=33;break a}case 93:{m=48;break b}case 13:case 10:{m=61;break b}case 91:break c;default:{}}g=c[b+56>>2]|0;m=c[g>>2]|0;c[g>>2]=m+-1;if(!m)g=JGa(g)|0;else{m=c[g+4>>2]|0;c[g+4>>2]=m+1;g=d[m>>0]|0}c[b>>2]=g}else while(1){switch(g|0){case -1:{m=33;break a}case 93:{m=48;break b}case 13:case 10:{m=61;break b}case 91:break c;default:{}}m=c[b+60>>2]|0;h=c[m+4>>2]|0;l=c[m+8>>2]|0;if((h+1|0)>>>0>l>>>0){if(l>>>0>2147483645){m=85;break a}h=c[b+52>>2]|0;if((l<<1|0)==-2){k=m;j=yFa(h)|0}else{k=m;j=xFa(h,c[m>>2]|0,l,l<<1)|0}c[k>>2]=j;c[m+8>>2]=l<<1;h=c[m+4>>2]|0}else j=c[m>>2]|0;c[m+4>>2]=h+1;a[j+h>>0]=g;g=c[b+56>>2]|0;m=c[g>>2]|0;c[g>>2]=m+-1;if(!m)g=JGa(g)|0;else{m=c[g+4>>2]|0;c[g+4>>2]=m+1;g=d[m>>0]|0}c[b>>2]=g}while(0);if((nIa(b)|0)!=(f|0)){m=24;continue a}l=c[b>>2]|0;m=c[b+60>>2]|0;g=c[m+4>>2]|0;k=c[m+8>>2]|0;if((g+1|0)>>>0>k>>>0){if(k>>>0>2147483645){m=38;break a}g=c[b+52>>2]|0;if((k<<1|0)==-2){j=m;h=yFa(g)|0}else{j=m;h=xFa(g,c[m>>2]|0,k,k<<1)|0}c[j>>2]=h;c[m+8>>2]=k<<1;g=c[m+4>>2]|0}else h=c[m>>2]|0;c[m+4>>2]=g+1;a[h+g>>0]=l;g=c[b+56>>2]|0;m=c[g>>2]|0;c[g>>2]=m+-1;if(!m)g=JGa(g)|0;else{m=c[g+4>>2]|0;c[g+4>>2]=m+1;g=d[m>>0]|0}c[b>>2]=g;if(!f){m=47;break}}if((m|0)==47){hIa(b,517211,91);m=24;continue}else if((m|0)==48)if((nIa(b)|0)==(f|0)){m=49;break}else{m=24;continue}else if((m|0)==61){l=c[b+60>>2]|0;g=c[l+4>>2]|0;k=c[l+8>>2]|0;if((g+1|0)>>>0>k>>>0){if(k>>>0>2147483645){m=64;break}g=c[b+52>>2]|0;if((k<<1|0)==-2){j=l;h=yFa(g)|0}else{j=l;h=xFa(g,c[l>>2]|0,k,k<<1)|0}c[j>>2]=h;c[l+8>>2]=k<<1;g=c[l+4>>2]|0}else h=c[l>>2]|0;c[l+4>>2]=g+1;a[h+g>>0]=10;h=c[b>>2]|0;g=c[b+56>>2]|0;m=c[g>>2]|0;c[g>>2]=m+-1;if(!m)g=JGa(g)|0;else{m=c[g+4>>2]|0;c[g+4>>2]=m+1;g=d[m>>0]|0}c[b>>2]=g;switch(g|0){case 13:case 10:{if((g|0)!=(h|0)){g=c[b+56>>2]|0;m=c[g>>2]|0;c[g>>2]=m+-1;if(!m)g=JGa(g)|0;else{m=c[g+4>>2]|0;c[g+4>>2]=m+1;g=d[m>>0]|0}c[b>>2]=g}break}default:{}}m=c[b+4>>2]|0;c[b+4>>2]=m+1;if((m|0)>2147483643)hIa(b,517139,c[b+16>>2]|0);if(e|0){m=24;continue}c[(c[b+60>>2]|0)+4>>2]=0;m=24;continue}}if((m|0)==33){GFa(n+104|0,(c[b+64>>2]|0)+16|0,80);f=c[b+52>>2]|0;m=c[b+4>>2]|0;c[n+16>>2]=n+104;c[n+16+4>>2]=m;c[n+16+8>>2]=e|0?517164:517187;f=FFa(f,517091,n+16|0)|0;e=c[b+52>>2]|0;c[n+32>>2]=f;c[n+32+4>>2]=517076;FFa(e,517126,n+32|0)|0;HEa(c[b+52>>2]|0,3)}else if((m|0)==38){GFa(n+104|0,(c[b+64>>2]|0)+16|0,80);e=c[b+52>>2]|0;f=c[b+4>>2]|0;c[n+40>>2]=n+104;c[n+40+4>>2]=f;c[n+40+8>>2]=517101;FFa(e,517091,n+40|0)|0;HEa(c[b+52>>2]|0,3)}else if((m|0)==49){l=c[b>>2]|0;m=c[b+60>>2]|0;g=c[m+4>>2]|0;k=c[m+8>>2]|0;if((g+1|0)>>>0>k>>>0){if(k>>>0>2147483645){GFa(n+104|0,(c[b+64>>2]|0)+16|0,80);j=c[b+52>>2]|0;h=c[b+4>>2]|0;c[n+56>>2]=n+104;c[n+56+4>>2]=h;c[n+56+8>>2]=517101;FFa(j,517091,n+56|0)|0;HEa(c[b+52>>2]|0,3)}g=c[b+52>>2]|0;if((k<<1|0)==-2){j=m;h=yFa(g)|0}else{j=m;h=xFa(g,c[m>>2]|0,k,k<<1)|0}c[j>>2]=h;c[m+8>>2]=k<<1;g=c[m+4>>2]|0}else h=c[m>>2]|0;c[m+4>>2]=g+1;a[h+g>>0]=l;g=c[b+56>>2]|0;m=c[g>>2]|0;c[g>>2]=m+-1;if(!m)g=JGa(g)|0;else{m=c[g+4>>2]|0;c[g+4>>2]=m+1;g=d[m>>0]|0}c[b>>2]=g;if(!e){i=n;return}h=c[b+60>>2]|0;j=c[b+52>>2]|0;h=fGa(j,(c[h>>2]|0)+(f+2)|0,(c[h+4>>2]|0)-(f+2<<1)|0)|0;g=tGa(j,c[(c[b+48>>2]|0)+4>>2]|0,h)|0;if(!(c[g+8>>2]|0)){c[g>>2]=1;c[g+8>>2]=1;b=c[j+16>>2]|0;if((c[b+68>>2]|0)>>>0>=(c[b+64>>2]|0)>>>0)lFa(j)}c[e>>2]=h;i=n;return}else if((m|0)==64){GFa(n+104|0,(c[b+64>>2]|0)+16|0,80);e=c[b+52>>2]|0;f=c[b+4>>2]|0;c[n+72>>2]=n+104;c[n+72+4>>2]=f;c[n+72+8>>2]=517101;FFa(e,517091,n+72|0)|0;HEa(c[b+52>>2]|0,3)}else if((m|0)==85){GFa(n+104|0,(c[b+64>>2]|0)+16|0,80);e=c[b+52>>2]|0;f=c[b+4>>2]|0;c[n+88>>2]=n+104;c[n+88+4>>2]=f;c[n+88+8>>2]=517101;FFa(e,517091,n+88|0)|0;HEa(c[b+52>>2]|0,3)}}function pIa(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+160|0;g=c[b>>2]|0;while(1){l=c[b+60>>2]|0;h=c[l+4>>2]|0;k=c[l+8>>2]|0;if((h+1|0)>>>0>k>>>0){if(k>>>0>2147483645){m=5;break}h=c[b+52>>2]|0;if((k<<1|0)==-2){j=l;h=yFa(h)|0}else{j=l;h=xFa(h,c[l>>2]|0,k,k<<1)|0}c[j>>2]=h;c[l+8>>2]=k<<1;j=c[l+4>>2]|0}else{j=h;h=c[l>>2]|0}c[l+4>>2]=j+1;a[h+j>>0]=g;g=c[b+56>>2]|0;l=c[g>>2]|0;c[g>>2]=l+-1;if(!l)g=JGa(g)|0;else{l=c[g+4>>2]|0;c[g+4>>2]=l+1;g=d[l>>0]|0}c[b>>2]=g;if(!((g|0)==46|(g+-48|0)>>>0<10)){f=g;break}}if((m|0)==5){GFa(n+80|0,(c[b+64>>2]|0)+16|0,80);l=c[b+52>>2]|0;k=c[b+4>>2]|0;c[n>>2]=n+80;c[n+4>>2]=k;c[n+8>>2]=517101;FFa(l,517091,n)|0;HEa(c[b+52>>2]|0,3)}if(omb(517318,f,3)|0){l=c[b+60>>2]|0;g=c[l+4>>2]|0;k=c[l+8>>2]|0;if((g+1|0)>>>0>k>>>0){if(k>>>0>2147483645){GFa(n+80|0,(c[b+64>>2]|0)+16|0,80);j=c[b+52>>2]|0;h=c[b+4>>2]|0;c[n+16>>2]=n+80;c[n+16+4>>2]=h;c[n+16+8>>2]=517101;FFa(j,517091,n+16|0)|0;HEa(c[b+52>>2]|0,3)}g=c[b+52>>2]|0;if((k<<1|0)==-2){j=l;h=yFa(g)|0}else{j=l;h=xFa(g,c[l>>2]|0,k,k<<1)|0}c[j>>2]=h;c[l+8>>2]=k<<1;g=c[l+4>>2]|0}else h=c[l>>2]|0;c[l+4>>2]=g+1;a[h+g>>0]=f;f=c[b+56>>2]|0;l=c[f>>2]|0;c[f>>2]=l+-1;if(!l)f=JGa(f)|0;else{l=c[f+4>>2]|0;c[f+4>>2]=l+1;f=d[l>>0]|0}c[b>>2]=f;if(omb(522286,f,3)|0){k=c[b+60>>2]|0;g=c[k+4>>2]|0;j=c[k+8>>2]|0;if((g+1|0)>>>0>j>>>0){if(j>>>0>2147483645){GFa(n+80|0,(c[b+64>>2]|0)+16|0,80);l=c[b+52>>2]|0;h=c[b+4>>2]|0;c[n+32>>2]=n+80;c[n+32+4>>2]=h;c[n+32+8>>2]=517101;FFa(l,517091,n+32|0)|0;HEa(c[b+52>>2]|0,3)}g=c[b+52>>2]|0;if((j<<1|0)==-2){h=k;g=yFa(g)|0}else{h=k;g=xFa(g,c[k>>2]|0,j,j<<1)|0}c[h>>2]=g;c[k+8>>2]=j<<1;h=c[k+4>>2]|0}else{h=g;g=c[k>>2]|0}c[k+4>>2]=h+1;a[g+h>>0]=f;f=c[b+56>>2]|0;l=c[f>>2]|0;c[f>>2]=l+-1;if(!l)f=JGa(f)|0;else{l=c[f+4>>2]|0;c[f+4>>2]=l+1;f=d[l>>0]|0}c[b>>2]=f}}while(1){l=(Mmb(f)|0)==0;f=c[b>>2]|0;if(l)if((f|0)==95)f=95;else break;l=c[b+60>>2]|0;g=c[l+4>>2]|0;k=c[l+8>>2]|0;if((g+1|0)>>>0>k>>>0){if(k>>>0>2147483645){m=45;break}g=c[b+52>>2]|0;if((k<<1|0)==-2){j=l;h=yFa(g)|0}else{j=l;h=xFa(g,c[l>>2]|0,k,k<<1)|0}c[j>>2]=h;c[l+8>>2]=k<<1;g=c[l+4>>2]|0}else h=c[l>>2]|0;c[l+4>>2]=g+1;a[h+g>>0]=f;f=c[b+56>>2]|0;l=c[f>>2]|0;c[f>>2]=l+-1;if(!l)f=JGa(f)|0;else{l=c[f+4>>2]|0;c[f+4>>2]=l+1;f=d[l>>0]|0}c[b>>2]=f}if((m|0)==45){GFa(n+80|0,(c[b+64>>2]|0)+16|0,80);m=c[b+52>>2]|0;l=c[b+4>>2]|0;c[n+48>>2]=n+80;c[n+48+4>>2]=l;c[n+48+8>>2]=517101;FFa(m,517091,n+48|0)|0;HEa(c[b+52>>2]|0,3)}k=c[b+60>>2]|0;f=c[k+4>>2]|0;j=c[k+8>>2]|0;if((f+1|0)>>>0>j>>>0){if(j>>>0>2147483645){GFa(n+80|0,(c[b+64>>2]|0)+16|0,80);m=c[b+52>>2]|0;l=c[b+4>>2]|0;c[n+64>>2]=n+80;c[n+64+4>>2]=l;c[n+64+8>>2]=517101;FFa(m,517091,n+64|0)|0;HEa(c[b+52>>2]|0,3)}f=c[b+52>>2]|0;if((j<<1|0)==-2){h=k;g=yFa(f)|0}else{h=k;g=xFa(f,c[k>>2]|0,j,j<<1)|0}c[h>>2]=g;c[k+8>>2]=j<<1;f=c[k+4>>2]|0}else g=c[k>>2]|0;c[k+4>>2]=f+1;a[g+f>>0]=0;j=a[b+68>>0]|0;g=c[b+60>>2]|0;f=c[g>>2]|0;g=c[g+4>>2]|0;if(g){do{g=g+-1|0;h=f+g|0;if((a[h>>0]|0)==46)a[h>>0]=j}while((g|0)!=0);f=c[c[b+60>>2]>>2]|0}if(DFa(f,e)|0){i=n;return}f=wnb()|0;k=a[b+68>>0]|0;if(!f)j=46;else j=a[c[f>>2]>>0]|0;a[b+68>>0]=j;g=c[b+60>>2]|0;f=c[g>>2]|0;g=c[g+4>>2]|0;if(g){do{g=g+-1|0;h=f+g|0;if((a[h>>0]|0)==k<<24>>24)a[h>>0]=j}while((g|0)!=0);f=c[c[b+60>>2]>>2]|0}if(DFa(f,e)|0){i=n;return}h=a[b+68>>0]|0;f=c[b+60>>2]|0;j=c[f>>2]|0;f=c[f+4>>2]|0;if(f|0)do{f=f+-1|0;g=j+f|0;if((a[g>>0]|0)==h<<24>>24)a[g>>0]=46}while((f|0)!=0);hIa(b,517321,284);i=n;return}function qIa(a){a=a|0;c[a+32>>2]=mIa(a,a+40|0)|0;return}function rIa(a){a=a|0;pDa(a,-10002);_Da(a,-10002,517338);eHa(a,517338,37652);KDa(a,517879,7);_Da(a,-10002,517887);ODa(a,1517,0);ODa(a,1518,1);_Da(a,-2,517896);ODa(a,1239,0);ODa(a,1519,1);_Da(a,-2,517903);WDa(a,0,1);pDa(a,-1);bEa(a,-2)|0;KDa(a,517909,2);_Da(a,-2,517912);ODa(a,1520,1);_Da(a,-10002,517945);eHa(a,517954,37912);return 2}function sIa(a){a=a|0;var b=0;b=i;i=i+16|0;ZGa(a,1);if(!(ADa(a,1)|0)){c[b>>2]=TGa(a,2,517348,0)|0;a=PGa(a,593061,b)|0;i=b;return a|0}else{a=kDa(a)|0;i=b;return a|0}return 0}function tIa(a){a=a|0;var b=0,d=0;d=SGa(a,1,517381,37852)|0;b=bHa(a,2,0)|0;d=c[37884+(d<<2)>>2]|0;b=jEa(a,d,b)|0;switch(d|0){case 3:{IDa(a,+(b|0)+ +(jEa(a,4,0)|0)*.0009765625);return 1}case 5:{PDa(a,b);return 1}default:{IDa(a,+(b|0));return 1}}return 0}function uIa(a){a=a|0;var b=0,c=0;c=TGa(a,1,0,0)|0;b=kDa(a)|0;if(qHa(a,c)|0)kEa(a)|0;dEa(a,0,-1);return (kDa(a)|0)-b|0}function vIa(a){a=a|0;var b=0;b=bHa(a,2,1)|0;lDa(a,1);if(!((b|0)>0&(uDa(a,1)|0)!=0)){a=kEa(a)|0;return a|0}RGa(a,b);pDa(a,1);mEa(a,2);a=kEa(a)|0;return a|0}function wIa(a){a=a|0;JDa(a,jEa(a,3,0)|0);return 1}function xIa(a){a=a|0;yIa(a,1);if(!(sDa(a,-1)|0)){YDa(a,-1);return 1}else{pDa(a,-10002);return 1}return 0}function yIa(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+112|0;if((qDa(a,1)|0)==6){pDa(a,1);i=d;return}if(!b)b=aHa(a,1)|0;else b=bHa(a,1,1)|0;if((b|0)<=-1)OGa(a,1,517447)|0;if(!(uEa(a,b,d+4|0)|0))OGa(a,1,517474)|0;xEa(a,520969,d+4|0)|0;if(!(qDa(a,-1)|0)){c[d>>2]=b;PGa(a,517488,d)|0}i=d;return}function zIa(a){a=a|0;ZGa(a,1);if(!(XDa(a,1)|0)){HDa(a);return 1}else{cHa(a,1,517538)|0;return 1}return 0}function AIa(a){a=a|0;if(!(qHa(a,TGa(a,1,0,0)|0)|0)){a=1;return a|0}HDa(a);nDa(a,-2);a=2;return a|0}function BIa(a){a=a|0;var b=0;b=TGa(a,2,517564,0)|0;YGa(a,1,6);lDa(a,3);if(!(gEa(a,129,0,b)|0)){b=1;return b|0}HDa(a);nDa(a,-2);b=2;return b|0}function CIa(a,b,d){a=a|0;b=b|0;d=d|0;b=i;i=i+16|0;XGa(a,2,517572);pDa(a,1);dEa(a,0,1);if(!(qDa(a,-1)|0)){c[d>>2]=0;d=0;i=b;return d|0}if(!(uDa(a,-1)|0)){PGa(a,517598,b)|0;d=0;i=b;return d|0}else{oDa(a,3);d=BDa(a,3,d)|0;i=b;return d|0}return 0}function DIa(a){a=a|0;var b=0,d=0,e=0;b=i;i=i+16|0;e=UGa(a,1,b)|0;d=TGa(a,2,e,0)|0;if(!(sHa(a,e,c[b>>2]|0,d)|0)){e=1;i=b;return e|0}HDa(a);nDa(a,-2);e=2;i=b;return e|0}function EIa(a){a=a|0;YGa(a,1,5);lDa(a,2);if(lEa(a,1)|0){a=2;return a|0}HDa(a);a=1;return a|0}function FIa(a){a=a|0;ZGa(a,1);PDa(a,(eEa(a,(kDa(a)|0)+-1|0,-1,0)|0)==0&1);nDa(a,1);return kDa(a)|0}function GIa(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;g=i;i=i+16|0;d=kDa(a)|0;TDa(a,-10002,517663);b=c[37209]|0;a:do if((d|0)>=1){f=1;while(1){pDa(a,-1);pDa(a,f);dEa(a,1,1);e=BDa(a,-1,0)|0;if(!e)break;if((f|0)>1)npb(9,b)|0;opb(e,b)|0;lDa(a,-2);if((f|0)<(d|0))f=f+1|0;else break a}f=PGa(a,517672,g)|0;i=g;return f|0}while(0);npb(10,b)|0;f=0;i=g;return f|0}function HIa(a){a=a|0;ZGa(a,1);ZGa(a,2);PDa(a,wDa(a,1,2)|0);return 1}function IIa(a){a=a|0;YGa(a,1,5);ZGa(a,2);lDa(a,2);UDa(a,1);return 1}function JIa(a){a=a|0;YGa(a,1,5);ZGa(a,2);ZGa(a,3);lDa(a,3);$Da(a,1);return 1}function KIa(b){b=b|0;var c=0,d=0;c=kDa(b)|0;if((qDa(b,1)|0)==4)if((a[(BDa(b,1,0)|0)>>0]|0)==35){JDa(b,c+-1|0);d=1;return d|0}d=aHa(b,1)|0;d=(d|0)<0?d+c|0:(d|0)>(c|0)?c:d;if((d|0)<=0)OGa(b,1,517745)|0;d=c-d|0;return d|0}function LIa(a){a=a|0;var b=0;b=i;i=i+16|0;YGa(a,2,5);yIa(a,0);pDa(a,2);if(tDa(a,1)|0)if(+yDa(a,1)==0.0){RDa(a)|0;nDa(a,-2);cEa(a,-2)|0;a=0;i=b;return a|0}if(!(sDa(a,-2)|0))if(cEa(a,-2)|0){a=1;i=b;return a|0}PGa(a,518449,b)|0;a=1;i=b;return a|0}function MIa(a){a=a|0;var b=0,c=0;b=i;i=i+16|0;c=qDa(a,2)|0;YGa(a,1,5);switch(c|0){case 0:case 5:break;default:OGa(a,2,518531)|0}if(cHa(a,1,517538)|0)PGa(a,517764,b)|0;lDa(a,2);bEa(a,1)|0;i=b;return 1}function NIa(b){b=b|0;var e=0,f=0,g=0,h=0;h=i;i=i+16|0;e=bHa(b,2,10)|0;if((e|0)==10){ZGa(b,1);if(tDa(b,1)|0){IDa(b,+yDa(b,1));i=h;return 1}}else{f=UGa(b,1,0)|0;if((e+-2|0)>>>0>=35)OGa(b,2,517809)|0;g=fmb(f,h,e)|0;e=c[h>>2]|0;if((f|0)!=(e|0)){if(cmb(d[e>>0]|0)|0){do e=e+1|0;while((cmb(d[e>>0]|0)|0)!=0);c[h>>2]=e}if(!(a[e>>0]|0)){IDa(b,+(g>>>0));i=h;return 1}}}HDa(b);i=h;return 1}function OIa(a){a=a|0;var b=0,d=0,e=0;b=i;i=i+16|0;ZGa(a,1);if(dHa(a,1,518860)|0){i=b;return 1}switch(qDa(a,1)|0){case 3:{LDa(a,BDa(a,1,0)|0);i=b;return 1}case 4:{pDa(a,1);i=b;return 1}case 1:{d=(ADa(a,1)|0)!=0;LDa(a,d?619689:619694);i=b;return 1}case 0:{KDa(a,517827,3);i=b;return 1}default:{e=rDa(a,qDa(a,1)|0)|0;d=GDa(a,1)|0;c[b>>2]=e;c[b+4>>2]=d;NDa(a,517831,b)|0;i=b;return 1}}return 0}function PIa(a){a=a|0;ZGa(a,1);LDa(a,rDa(a,qDa(a,1)|0)|0);return 1}function QIa(a){a=a|0;var b=0,c=0,d=0,e=0;e=i;i=i+16|0;YGa(a,1,5);b=bHa(a,2,1)|0;if((qDa(a,3)|0)<1)c=CDa(a,1)|0;else c=aHa(a,3)|0;if((c|0)<(b|0)){a=0;i=e;return a|0}d=c-b|0;if((d|0)>=0)if(fDa(a,d+1|0)|0){VDa(a,1,b);if((c|0)<=(b|0)){a=d+1|0;i=e;return a|0}do{b=b+1|0;VDa(a,1,b)}while((b|0)!=(c|0));b=d+1|0;i=e;return b|0}a=PGa(a,517845,e)|0;i=e;return a|0}function RIa(a){a=a|0;ZGa(a,2);lDa(a,2);nDa(a,1);PDa(a,(eEa(a,0,-1,1)|0)==0&1);oDa(a,1);return kDa(a)|0}function SIa(a){a=a|0;var b=0;b=aHa(a,2)|0;YGa(a,1,5);JDa(a,b+1|0);VDa(a,1,b+1|0);a=(qDa(a,-1)|0)==0;return (a?0:2)|0}function TIa(a){a=a|0;YGa(a,1,5);pDa(a,-10003);pDa(a,1);JDa(a,0);return 3}function UIa(a){a=a|0;YGa(a,1,5);pDa(a,-10003);pDa(a,1);HDa(a);return 3}function VIa(a){a=a|0;var b=0,c=0;lDa(a,1);nEa(a,0)|0;if(!(ADa(a,1)|0))return 1;if((qDa(a,1)|0)==1){WDa(a,0,0);pDa(a,-1);PDa(a,1);$Da(a,-10003)}else{if(!(XDa(a,1)|0))b=6;else{UDa(a,-10003);c=ADa(a,-1)|0;lDa(a,-2);if(!c)b=6}if((b|0)==6)OGa(a,1,517919)|0;XDa(a,1)|0}bEa(a,2)|0;return 1}function WIa(a){a=a|0;var b=0,c=0;b=jDa(a)|0;if((qDa(a,1)|0)==6){if(sDa(a,1)|0)c=3}else c=3;if((c|0)==3)OGa(a,1,517971)|0;pDa(a,1);gDa(a,b,1);return 1}function XIa(a){a=a|0;var b=0;b=FDa(a,1)|0;if(!b)OGa(a,1,518e3)|0;b=YIa(a,b,(kDa(a)|0)+-1|0)|0;if((b|0)<0){PDa(a,0);nDa(a,-2);a=2;return a|0}else{PDa(a,1);nDa(a,~b);a=b+1|0;return a|0}return 0}function YIa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+128|0;a:do if((a|0)==(b|0))e=0;else{switch(iEa(b)|0){case 1:{e=1;break a}case 0:break;default:{e=3;break a}}if((uEa(b,0,f+20|0)|0)>0)e=2;else{e=(kDa(b)|0)==0;e=e?3:1}}while(0);if(!(fDa(b,d)|0))PGa(a,518019,f)|0;if((e|0)!=1){c[f+8>>2]=c[37968+(e<<2)>>2];NDa(a,518078,f+8|0)|0;b=-1;i=f;return b|0}gDa(a,b,d);hDa(a,b);if((QEa(b,d)|0|1|0)!=1){gDa(b,a,1);b=-1;i=f;return b|0}e=kDa(b)|0;if(!(fDa(a,e+1|0)|0))PGa(a,518105,f+16|0)|0;gDa(b,a,e);b=e;i=f;return b|0}function ZIa(a){a=a|0;if(!(RDa(a)|0))return 1;HDa(a);return 1}function _Ia(a){a=a|0;var b=0,d=0;d=i;i=i+112|0;b=FDa(a,1)|0;if(!b)OGa(a,1,518e3)|0;a:do if((b|0)==(a|0))b=0;else{switch(iEa(b)|0){case 1:{b=1;break a}case 0:break;default:{b=3;break a}}if((uEa(b,0,d)|0)>0)b=2;else{b=(kDa(b)|0)==0;b=b?3:1}}while(0);LDa(a,c[37968+(b<<2)>>2]|0);i=d;return 1}function $Ia(a){a=a|0;var b=0,c=0;b=jDa(a)|0;if((qDa(a,1)|0)==6){if(sDa(a,1)|0)c=3}else c=3;if((c|0)==3)OGa(a,1,517971)|0;pDa(a,1);gDa(a,b,1);ODa(a,1521,1);return 1}function aJa(a){a=a|0;var b=0;b=FDa(a,-10003)|0;b=YIa(a,b,kDa(a)|0)|0;if((b|0)>=0)return b|0;if(uDa(a,-1)|0){RGa(a,1);nDa(a,-2);mEa(a,2)}kEa(a)|0;return b|0}function bJa(a){a=a|0;return SEa(a,kDa(a)|0)|0}function cJa(a){a=a|0;eHa(a,518150,37984);return 1}function dJa(a){a=a|0;var b=0,d=0,e=0,f=0;f=i;i=i+256|0;b=c[37151]|0;ppb(518156,11,1,b)|0;d=c[37180]|0;if(!(bob(f,250,d)|0)){i=f;return 0}while(1){if(!(Imb(f,518168)|0)){e=7;break}if(!(sHa(a,f,rnb(f)|0,518174)|0)){if(eEa(a,0,0,0)|0)e=5}else e=5;if((e|0)==5){e=0;opb(BDa(a,-1,0)|0,b)|0;npb(10,b)|0}lDa(a,0);ppb(518156,11,1,b)|0;if(!(bob(f,250,d)|0)){e=7;break}}if((e|0)==7){i=f;return 0}return 0}function eJa(a){a=a|0;ZGa(a,1);YDa(a,1);return 1}function fJa(b){b=b|0;var c=0,d=0,e=0,f=0;f=i;i=i+16|0;if((qDa(b,1)|0)==8)e=FDa(b,1)|0;else e=b;d=sEa(e)|0;c=rEa(e)|0;if((c|0)!=0&(c|0)!=218)KDa(b,518232,13);else{hJa(b);QDa(b,e);UDa(b,-2);mDa(b,-2)}if(!(d&1))c=0;else{a[f>>0]=99;c=1}if(d&2){a[f+c>>0]=114;c=c+1|0}if(d&4){a[f+c>>0]=108;c=c+1|0}a[f+c>>0]=0;LDa(b,f);JDa(b,tEa(e)|0);i=f;return 3}function gJa(a,b){a=a|0;b=b|0;QDa(a,518207);UDa(a,-1e4);QDa(a,a);UDa(a,-2);if((qDa(a,-1)|0)!=6)return;LDa(a,c[38104+(c[b>>2]<<2)>>2]|0);b=c[b+20>>2]|0;if((b|0)>-1)JDa(a,b);else HDa(a);dEa(a,2,0);return}function hJa(a){a=a|0;QDa(a,518207);UDa(a,-1e4);if((qDa(a,-1)|0)==5)return;lDa(a,-2);WDa(a,0,1);QDa(a,518207);pDa(a,-2);$Da(a,-1e4);return}function iJa(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;g=i;i=i+112|0;if((qDa(a,1)|0)==8){e=FDa(a,1)|0;d=1}else{e=a;d=0}f=d|2;b=TGa(a,f,518254,0)|0;d=d+1|0;do if(!(tDa(a,d)|0)){if((qDa(a,d)|0)==6){c[g>>2]=b;NDa(a,518260,g)|0;b=BDa(a,-1,0)|0;pDa(a,d);gDa(a,e,1);break}a=OGa(a,d,518264)|0;i=g;return a|0}else if(!(uEa(e,zDa(a,d)|0,g+4|0)|0)){HDa(a);a=1;i=g;return a|0}while(0);if(!(xEa(e,b,g+4|0)|0)){a=OGa(a,f,518779)|0;i=g;return a|0}WDa(a,0,2);if(Unb(b,83)|0){LDa(a,c[g+4+16>>2]|0);_Da(a,-2,521718);LDa(a,g+4+36|0);_Da(a,-2,518291);JDa(a,c[g+4+28>>2]|0);_Da(a,-2,518301);JDa(a,c[g+4+32>>2]|0);_Da(a,-2,518313);LDa(a,c[g+4+12>>2]|0);_Da(a,-2,518329)}if(Unb(b,108)|0){JDa(a,c[g+4+20>>2]|0);_Da(a,-2,518334)}if(Unb(b,117)|0){JDa(a,c[g+4+24>>2]|0);_Da(a,-2,518346)}if(Unb(b,110)|0){LDa(a,c[g+4+4>>2]|0);_Da(a,-2,607569);LDa(a,c[g+4+8>>2]|0);_Da(a,-2,518351)}if(Unb(b,76)|0){if((e|0)==(a|0)){pDa(a,-2);mDa(a,-3)}else gDa(e,a,1);_Da(a,-2,518360)}if(!(Unb(b,102)|0)){a=1;i=g;return a|0}if((e|0)==(a|0)){pDa(a,-2);mDa(a,-3)}else gDa(e,a,1);_Da(a,-2,518372);a=1;i=g;return a|0}function jJa(a){a=a|0;var b=0,c=0,d=0,e=0;e=i;i=i+112|0;if((qDa(a,1)|0)==8){d=FDa(a,1)|0;c=1}else{d=a;c=0}b=c+1|0;if(!(uEa(d,aHa(a,b)|0,e)|0)){a=OGa(a,b,518386)|0;i=e;return a|0}b=vEa(d,e,aHa(a,c|2)|0)|0;if(!b){HDa(a);a=1;i=e;return a|0}else{gDa(d,a,1);LDa(a,b);pDa(a,-2);a=2;i=e;return a|0}return 0}function kJa(a){a=a|0;pDa(a,-1e4);return 1}function lJa(a){a=a|0;ZGa(a,1);if(XDa(a,1)|0)return 1;HDa(a);return 1}function mJa(a){a=a|0;var b=0;b=aHa(a,2)|0;YGa(a,1,6);if(sDa(a,1)|0){a=0;return a|0}b=oEa(a,1,b)|0;if(!b){a=0;return a|0}LDa(a,b);nDa(a,-2);a=2;return a|0}function nJa(a){a=a|0;var b=0;b=i;i=i+16|0;YGa(a,2,5);lDa(a,2);if(cEa(a,1)|0){i=b;return 1}PGa(a,518449,b)|0;i=b;return 1}function oJa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if((qDa(a,1)|0)==8){e=FDa(a,1)|0;b=1}else{e=a;b=0}f=b+1|0;if((qDa(a,f)|0)<1){lDa(a,f);b=0;c=0;d=0}else{c=UGa(a,b|2,0)|0;YGa(a,f,6);g=bHa(a,b+3|0,0)|0;d=(Unb(c,99)|0)!=0&1;b=(Unb(c,114)|0)==0;d=b?d:d|2;b=(Unb(c,108)|0)==0;d=b?d:d|4;b=g;c=218;d=(g|0)>0?d|8:d}hJa(a);QDa(a,e);pDa(a,f);$Da(a,-3);lDa(a,-2);qEa(e,c,d,b)|0;return 0}function pJa(a){a=a|0;var b=0,c=0,d=0,e=0;e=i;i=i+112|0;if((qDa(a,1)|0)==8){b=FDa(a,1)|0;d=1}else{b=a;d=0}c=d+1|0;if(!(uEa(b,aHa(a,c)|0,e)|0)){d=OGa(a,c,518386)|0;i=e;return d|0}else{c=d+3|0;ZGa(a,c);lDa(a,c);gDa(a,b,1);LDa(a,wEa(b,e,aHa(a,d|2)|0)|0);d=1;i=e;return d|0}return 0}function qJa(a){a=a|0;switch(qDa(a,2)|0){case 0:case 5:break;default:OGa(a,2,518531)|0}lDa(a,2);PDa(a,bEa(a,1)|0);return 1}function rJa(a){a=a|0;var b=0;ZGa(a,3);b=aHa(a,2)|0;YGa(a,1,6);if(sDa(a,1)|0){a=0;return a|0}b=pEa(a,1,b)|0;if(!b){a=0;return a|0}LDa(a,b);nDa(a,-1);a=1;return a|0}function sJa(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;j=i;i=i+144|0;if((qDa(b,1)|0)==8){g=FDa(b,1)|0;h=1}else{g=b;h=0}d=h|2;if(!(tDa(b,d)|0))d=(g|0)==(b|0)&1;else{d=zDa(b,d)|0;lDa(b,-2)}do if((kDa(b)|0)==(h|0))KDa(b,1279070,0);else if(!(uDa(b,h+1|0)|0)){i=j;return 1}else{KDa(b,518574,1);break}while(0);KDa(b,518576,16);e=1;a:while(1){f=d+11|0;b:do if((d|0)>11){while(1){if(!(uEa(g,d,j+40|0)|0))break a;if(!e){f=0;break b}if(!(uEa(g,f,j+40|0)|0))e=0;else break}KDa(b,518593,5);e=d;while(1){d=e+1|0;if(!(uEa(g,e+11|0,j+40|0)|0)){e=0;continue a}else e=d}}else if(!(uEa(g,d,j+40|0)|0))break a;else f=e;while(0);d=d+1|0;KDa(b,518599,2);xEa(g,518602,j+40|0)|0;c[j>>2]=j+40+36;NDa(b,518606,j)|0;e=c[j+40+20>>2]|0;if((e|0)>0){c[j+8>>2]=e;NDa(b,518610,j+8|0)|0}c:do if(!(a[c[j+40+8>>2]>>0]|0))switch(a[c[j+40+12>>2]>>0]|0){case 109:{NDa(b,518632,j+24|0)|0;break c}case 116:case 67:{KDa(b,518647,2);break c}default:{e=c[j+40+28>>2]|0;c[j+32>>2]=j+40+36;c[j+32+4>>2]=e;NDa(b,518650,j+32|0)|0;break c}}else{c[j+16>>2]=c[j+40+4>>2];NDa(b,518614,j+16|0)|0}while(0);mEa(b,(kDa(b)|0)-h|0);e=f}mEa(b,(kDa(b)|0)-h|0);i=j;return 1}function tJa(a){a=a|0;var b=0,d=0;VGa(a,518671)|0;pDa(a,-1);_Da(a,-2,520409);eHa(a,0,38124);WDa(a,0,1);ODa(a,1522,0);_Da(a,-2,518712);oDa(a,-10001);eHa(a,518895,38260);WDa(a,0,1);ODa(a,1523,0);_Da(a,-2,518712);d=c[37180]|0;b=nEa(a,4)|0;c[b>>2]=0;TDa(a,-1e4,518671);bEa(a,-2)|0;c[b>>2]=d;pDa(a,-1);aEa(a,-10001,1);pDa(a,-2);cEa(a,-2)|0;_Da(a,-3,519028);b=c[37209]|0;d=nEa(a,4)|0;c[d>>2]=0;TDa(a,-1e4,518671);bEa(a,-2)|0;c[d>>2]=b;pDa(a,-1);aEa(a,-10001,2);pDa(a,-2);cEa(a,-2)|0;_Da(a,-3,519034);d=c[37151]|0;b=nEa(a,4)|0;c[b>>2]=0;TDa(a,-1e4,518671);bEa(a,-2)|0;c[b>>2]=d;pDa(a,-2);cEa(a,-2)|0;_Da(a,-3,519041);lDa(a,-2);TDa(a,-1,518943);WDa(a,0,1);ODa(a,1524,0);_Da(a,-2,518712);cEa(a,-2)|0;lDa(a,-2);return 1}function uJa(a){a=a|0;var b=0;b=i;i=i+16|0;if((qDa(a,1)|0)==-1)VDa(a,-10001,2);if(!(c[(WGa(a,1,518671)|0)>>2]|0))PGa(a,518683,b)|0;YDa(a,1);TDa(a,-1,518712);a=vi[(DDa(a,-1)|0)&2047](a)|0;i=b;return a|0}function vJa(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;d=WGa(a,1,518671)|0;b=c[d>>2]|0;if(!b){PGa(a,518683,e)|0;b=c[d>>2]|0}d=($nb(b)|0)==0;b=c[(Mlb()|0)>>2]|0;if(d){PDa(a,1);a=1;i=e;return a|0}else{HDa(a);c[e+8>>2]=Bmb(b)|0;NDa(a,593061,e+8|0)|0;JDa(a,b);a=3;i=e;return a|0}return 0}function wJa(a){a=a|0;var b=0;b=i;i=i+16|0;if(!(c[(WGa(a,1,518671)|0)>>2]|0))PGa(a,518683,b)|0;pDa(a,1);PDa(a,0);ODa(a,1525,2);i=b;return 1}function xJa(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;b=c[(EDa(a,-10003)|0)>>2]|0;if(!b)PGa(a,518732,e)|0;d=yJa(a,b)|0;if(dob(b)|0){c[e+8>>2]=Bmb(c[(Mlb()|0)>>2]|0)|0;a=PGa(a,593061,e+8|0)|0;i=e;return a|0}if(d|0){a=1;i=e;return a|0}if(!(ADa(a,-10004)|0)){a=0;i=e;return a|0}lDa(a,0);pDa(a,-10003);YDa(a,1);TDa(a,-1,518712);vi[(DDa(a,-1)|0)&2047](a)|0;a=0;i=e;return a|0}function yJa(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+1040|0;jHa(b,g);e=iHa(g)|0;a:do if(bob(e,1024,d)|0){while(1){f=rnb(e)|0;if(f|0)if((a[e+(f+-1)>>0]|0)==10)break;c[g>>2]=(c[g>>2]|0)+f;e=iHa(g)|0;if(!(bob(e,1024,d)|0))break a}c[g>>2]=(c[g>>2]|0)+(f+-1);mHa(g);d=1;i=g;return d|0}while(0);mHa(g);d=(CDa(b,-1)|0)!=0&1;i=g;return d|0}function zJa(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;d=WGa(a,1,518671)|0;b=c[d>>2]|0;if(!b){PGa(a,518683,e)|0;b=c[d>>2]|0}a=AJa(a,b,2)|0;i=e;return a|0}function AJa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,j=0,k=0,l=0;l=i;i=i+32|0;f=kDa(b)|0;jpb(d);a:do if((f|0)==1){f=e+1|0;g=yJa(b,d)|0}else{XGa(b,f+19|0,518760);j=f+-2|0;f=e;b:while(1){c:do if((qDa(b,f)|0)==3){g=zDa(b,f)|0;if(!g){g=upb(d)|0;kpb(g,d)|0;KDa(b,0,0);g=(g|0)!=-1&1;break}else{g=BJa(b,d,g)|0;break}}else{g=BDa(b,f,0)|0;if(!g)k=10;else if((a[g>>0]|0)!=42)k=10;if((k|0)==10){k=0;OGa(b,f,518779)|0}switch(a[g+1>>0]|0){case 110:{c[l+8>>2]=l;if((eob(d,518794,l+8|0)|0)==1){IDa(b,+h[l>>3]);g=1}else{HDa(b);g=0}break c}case 108:{g=yJa(b,d)|0;break c}case 97:{BJa(b,d,-1)|0;g=1;break c}default:break b}}while(0);f=f+1|0;if((g|0)!=0&(j|0)!=0)j=j+-1|0;else break a}b=OGa(b,f,518798)|0;i=l;return b|0}while(0);if(dob(d)|0){e=c[(Mlb()|0)>>2]|0;HDa(b);c[l+16>>2]=Bmb(e)|0;NDa(b,593061,l+16|0)|0;JDa(b,e);b=3;i=l;return b|0}if(!g){lDa(b,-2);HDa(b)}b=f-e|0;i=l;return b|0}function BJa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+1040|0;jHa(a,g);f=1024;while(1){e=iHa(g)|0;f=f>>>0>d>>>0?d:f;e=qpb(e,1,f,b)|0;c[g>>2]=(c[g>>2]|0)+e;if((d|0)==(e|0)){d=3;break}if((e|0)!=(f|0)){d=5;break}else d=d-e|0}if((d|0)==3){mHa(g);a=1;a=a&1;i=g;return a|0}else if((d|0)==5){mHa(g);a=(CDa(a,-1)|0)!=0;a=a&1;i=g;return a|0}return 0}function CJa(a){a=a|0;var b=0,d=0,e=0,f=0;e=i;i=i+16|0;d=WGa(a,1,518671)|0;b=c[d>>2]|0;if(!b){PGa(a,518683,e)|0;b=c[d>>2]|0}d=SGa(a,2,518818,38204)|0;f=bHa(a,3,0)|0;if(!(lob(b,f,c[38220+(d<<2)>>2]|0)|0)){JDa(a,tpb(b)|0);f=1;i=e;return f|0}else{f=c[(Mlb()|0)>>2]|0;HDa(a);c[e+8>>2]=Bmb(f)|0;NDa(a,593061,e+8|0)|0;JDa(a,f);f=3;i=e;return f|0}return 0}function DJa(a){a=a|0;var b=0,d=0,e=0,f=0;e=i;i=i+16|0;d=WGa(a,1,518671)|0;b=c[d>>2]|0;if(!b){PGa(a,518683,e)|0;b=c[d>>2]|0}f=SGa(a,2,0,38232)|0;d=bHa(a,3,1024)|0;d=(Apb(b,0,c[38248+(f<<2)>>2]|0,d)|0)==0;b=c[(Mlb()|0)>>2]|0;if(d){PDa(a,1);f=1;i=e;return f|0}else{HDa(a);c[e+8>>2]=Bmb(b)|0;NDa(a,593061,e+8|0)|0;JDa(a,b);f=3;i=e;return f|0}return 0}function EJa(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;d=WGa(a,1,518671)|0;b=c[d>>2]|0;if(!b){PGa(a,518683,e)|0;b=c[d>>2]|0}a=FJa(a,b,2)|0;i=e;return a|0}function FJa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,j=0;j=i;i=i+16|0;e=(kDa(a)|0)+-1|0;if(e|0){g=e;e=1;while(1){if((qDa(a,d)|0)==3){if(!e)e=0;else{h[j>>3]=+yDa(a,d);e=(oob(b,518854,j)|0)>0}e=e&1}else{f=UGa(a,d,j+12|0)|0;if(!e)e=0;else{e=ppb(f,1,c[j+12>>2]|0,b)|0;e=(e|0)==(c[j+12>>2]|0)}e=e&1}g=g+-1|0;if(!g)break;else d=d+1|0}d=c[(Mlb()|0)>>2]|0;if(!e){HDa(a);c[j+8>>2]=Bmb(d)|0;NDa(a,593061,j+8|0)|0;JDa(a,d);a=3;i=j;return a|0}}PDa(a,1);a=1;i=j;return a|0}function GJa(a){a=a|0;if(!(c[(WGa(a,1,518671)|0)>>2]|0))return 0;YDa(a,1);TDa(a,-1,518712);vi[(DDa(a,-1)|0)&2047](a)|0;return 0}function HJa(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=c[(WGa(a,1,518671)|0)>>2]|0;if(!b){KDa(a,518871,13);i=d;return 1}else{c[d>>2]=b;NDa(a,518885,d)|0;i=d;return 1}return 0}function IJa(a){a=a|0;var b=0,d=0,e=0;d=i;i=i+16|0;b=WGa(a,1,518671)|0;e=(_nb(c[b>>2]|0)|0)==0;c[b>>2]=0;b=c[(Mlb()|0)>>2]|0;if(e){PDa(a,1);e=1;i=d;return e|0}else{HDa(a);c[d>>2]=Bmb(b)|0;NDa(a,593061,d)|0;JDa(a,b);e=3;i=d;return e|0}return 0}function JJa(a){a=a|0;var b=0,d=0,e=0;d=i;i=i+16|0;VDa(a,-10001,2);b=c[(EDa(a,-1)|0)>>2]|0;if(!b){c[d>>2]=518925;PGa(a,518898,d)|0}e=($nb(b)|0)==0;b=c[(Mlb()|0)>>2]|0;if(e){PDa(a,1);e=1;i=d;return e|0}else{HDa(a);c[d+8>>2]=Bmb(b)|0;NDa(a,593061,d+8|0)|0;JDa(a,b);e=3;i=d;return e|0}return 0}function KJa(a){a=a|0;LJa(a,1,524337);return 1}function LJa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;f=i;i=i+16|0;if((qDa(a,1)|0)<1){VDa(a,-10001,b);i=f;return}e=BDa(a,1,0)|0;if(!e){if(!(c[(WGa(a,1,518671)|0)>>2]|0))PGa(a,518683,f+8|0)|0;pDa(a,1)}else{g=nEa(a,4)|0;c[g>>2]=0;TDa(a,-1e4,518671);bEa(a,-2)|0;d=Xnb(e,d)|0;c[g>>2]=d;if(!d){g=Bmb(c[(Mlb()|0)>>2]|0)|0;c[f>>2]=e;c[f+4>>2]=g;NDa(a,519336,f)|0;OGa(a,1,BDa(a,-1,0)|0)|0}}aEa(a,-10001,b);VDa(a,-10001,b);i=f;return}function MJa(a){a=a|0;var b=0,d=0,e=0,f=0;d=i;i=i+16|0;if((qDa(a,1)|0)<1){VDa(a,-10001,1);if(!(c[(WGa(a,1,518671)|0)>>2]|0))PGa(a,518683,d)|0;pDa(a,1);PDa(a,0);ODa(a,1525,2);i=d;return 1}else{b=UGa(a,1,0)|0;f=nEa(a,4)|0;c[f>>2]=0;TDa(a,-1e4,518671);bEa(a,-2)|0;e=Xnb(b,524337)|0;c[f>>2]=e;if(!e){f=Bmb(c[(Mlb()|0)>>2]|0)|0;c[d+8>>2]=b;c[d+8+4>>2]=f;NDa(a,519336,d+8|0)|0;OGa(a,1,BDa(a,-1,0)|0)|0}pDa(a,kDa(a)|0);PDa(a,1);ODa(a,1525,2);i=d;return 1}return 0}function NJa(a){a=a|0;var b=0,d=0,e=0,f=0;f=i;i=i+16|0;b=UGa(a,1,0)|0;e=TGa(a,2,524337,0)|0;d=nEa(a,4)|0;c[d>>2]=0;TDa(a,-1e4,518671);bEa(a,-2)|0;e=Xnb(b,e)|0;c[d>>2]=e;if(e|0){a=1;i=f;return a|0}d=c[(Mlb()|0)>>2]|0;HDa(a);e=Bmb(d)|0;if(!b){c[f+8>>2]=e;NDa(a,593061,f+8|0)|0}else{c[f>>2]=b;c[f+4>>2]=e;NDa(a,519336,f)|0}JDa(a,d);a=3;i=f;return a|0}function OJa(a){a=a|0;LJa(a,2,609551);return 1}function PJa(a){a=a|0;var b=0,d=0,e=0,f=0;f=i;i=i+32|0;b=UGa(a,1,0)|0;TGa(a,2,524337,0)|0;d=nEa(a,4)|0;c[d>>2]=0;TDa(a,-1e4,518671);bEa(a,-2)|0;PGa(a,518949,f)|0;c[d>>2]=0;d=c[(Mlb()|0)>>2]|0;HDa(a);e=Bmb(d)|0;if(!b){c[f+16>>2]=e;NDa(a,593061,f+16|0)|0;JDa(a,d);i=f;return 3}else{c[f+8>>2]=b;c[f+8+4>>2]=e;NDa(a,519336,f+8|0)|0;JDa(a,d);i=f;return 3}return 0}function QJa(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;VDa(a,-10001,1);b=c[(EDa(a,-1)|0)>>2]|0;if(!b){c[d>>2]=518932;PGa(a,518898,d)|0}a=AJa(a,b,1)|0;i=d;return a|0}function RJa(a){a=a|0;var b=0,d=0,e=0;b=i;i=i+16|0;e=nEa(a,4)|0;c[e>>2]=0;TDa(a,-1e4,518671);bEa(a,-2)|0;d=Bpb()|0;c[e>>2]=d;if(d|0){e=1;i=b;return e|0}e=c[(Mlb()|0)>>2]|0;HDa(a);c[b>>2]=Bmb(e)|0;NDa(a,593061,b)|0;JDa(a,e);e=3;i=b;return e|0}function SJa(a){a=a|0;var b=0;ZGa(a,1);b=EDa(a,1)|0;TDa(a,-1e4,518671);if(b|0)if(XDa(a,1)|0)if(wDa(a,-2,-1)|0)if(!(c[b>>2]|0)){KDa(a,518984,11);return 1}else{KDa(a,518996,4);return 1}HDa(a);return 1}function TJa(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;VDa(a,-10001,2);b=c[(EDa(a,-1)|0)>>2]|0;if(!b){c[d>>2]=518925;PGa(a,518898,d)|0}a=FJa(a,b,1)|0;i=d;return a|0}function UJa(a){a=a|0;HDa(a);KDa(a,519001,26);return 2}function VJa(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;c[(WGa(a,1,518671)|0)>>2]=0;d=c[(Mlb()|0)>>2]|0;HDa(a);c[b>>2]=Bmb(d)|0;NDa(a,593061,b)|0;JDa(a,d);i=b;return 3}function WJa(a){a=a|0;eHa(a,519048,38356);IDa(a,3.141592653589793);_Da(a,-2,519235);IDa(a,s);_Da(a,-2,519238);TDa(a,-1,519106);_Da(a,-2,519243);return 1}function XJa(a){a=a|0;IDa(a,+N(+(+_Ga(a,1))));return 1}function YJa(a){a=a|0;IDa(a,+T(+(+_Ga(a,1))));return 1}function ZJa(a){a=a|0;IDa(a,+U(+(+_Ga(a,1))));return 1}function _Ja(a){a=a|0;var b=0.0;b=+_Ga(a,1);IDa(a,+W(+b,+(+_Ga(a,2))));return 1}function $Ja(a){a=a|0;IDa(a,+V(+(+_Ga(a,1))));return 1}function aKa(a){a=a|0;IDa(a,+Z(+(+_Ga(a,1))));return 1}function bKa(a){a=a|0;IDa(a,+kmb(+_Ga(a,1)));return 1}function cKa(a){a=a|0;IDa(a,+Q(+(+_Ga(a,1))));return 1}function dKa(a){a=a|0;IDa(a,+_Ga(a,1)/.017453292519943295);return 1}function eKa(a){a=a|0;IDa(a,+X(+(+_Ga(a,1))));return 1}function fKa(a){a=a|0;IDa(a,+M(+(+_Ga(a,1))));return 1}function gKa(a){a=a|0;var b=0.0;b=+_Ga(a,1);IDa(a,+mnb(b,+_Ga(a,2)));return 1}function hKa(a){a=a|0;var b=0;b=i;i=i+16|0;IDa(a,+Gmb(+_Ga(a,1),b));JDa(a,c[b>>2]|0);i=b;return 2}function iKa(a){a=a|0;var b=0.0;b=+_Ga(a,1);IDa(a,+Hnb(b,aHa(a,2)|0));return 1}function jKa(a){a=a|0;IDa(a,+Knb(+_Ga(a,1)));return 1}function kKa(a){a=a|0;IDa(a,+Y(+(+_Ga(a,1))));return 1}function lKa(a){a=a|0;var b=0.0,c=0,d=0,e=0.0;d=kDa(a)|0;b=+_Ga(a,1);if((d|0)<2){IDa(a,b);return 1}else c=2;while(1){e=+_Ga(a,c);b=e>b?e:b;if((c|0)==(d|0))break;else c=c+1|0}IDa(a,b);return 1}function mKa(a){a=a|0;var b=0.0,c=0,d=0,e=0.0;d=kDa(a)|0;b=+_Ga(a,1);if((d|0)<2){IDa(a,b);return 1}else c=2;while(1){e=+_Ga(a,c);b=e>3]);IDa(a,c);i=b;return 2}function oKa(a){a=a|0;var b=0.0;b=+_Ga(a,1);IDa(a,+P(+b,+(+_Ga(a,2))));return 1}function pKa(a){a=a|0;IDa(a,+_Ga(a,1)*.017453292519943295);return 1}function qKa(a){a=a|0;var b=0,c=0,d=0.0,e=0;e=i;i=i+16|0;d=+((bpb()|0)%2147483647|0|0)/2147483647.0;switch(kDa(a)|0){case 0:{IDa(a,d);a=1;i=e;return a|0}case 1:{b=aHa(a,1)|0;if((b|0)<=0)OGa(a,1,519157)|0;IDa(a,+M(+(d*+(b|0)))+1.0);a=1;i=e;return a|0}case 2:{b=aHa(a,1)|0;c=aHa(a,2)|0;if((c|0)<(b|0))OGa(a,2,519157)|0;IDa(a,+(b|0)+ +M(+(d*+(1-b+c|0))));a=1;i=e;return a|0}default:{a=PGa(a,519175,e)|0;i=e;return a|0}}return 0}function rKa(a){a=a|0;apb(aHa(a,1)|0);return 0}function sKa(a){a=a|0;IDa(a,+nmb(+_Ga(a,1)));return 1}function tKa(a){a=a|0;IDa(a,+R(+(+_Ga(a,1))));return 1}function uKa(a){a=a|0;IDa(a,+O(+(+_Ga(a,1))));return 1}function vKa(a){a=a|0;IDa(a,+Mnb(+_Ga(a,1)));return 1}function wKa(a){a=a|0;IDa(a,+S(+(+_Ga(a,1))));return 1}function xKa(a){a=a|0;eHa(a,519247,38588);return 1}function yKa(a){a=a|0;IDa(a,+(Rc()|0)/1.0e6);return 1}function zKa(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;j=i;i=i+1248|0;d=TGa(b,1,519261,0)|0;if((qDa(b,2)|0)<1)e=jh(0)|0;else e=~~+_Ga(b,2);c[j+1036>>2]=e;if((a[d>>0]|0)==33){d=d+1|0;g=Qe(j+1036|0)|0}else g=kc(j+1036|0)|0;if(!g){HDa(b);i=j;return 1}if(!(Imb(d,519264)|0)){WDa(b,0,9);JDa(b,c[g>>2]|0);_Da(b,-2,519267);JDa(b,c[g+4>>2]|0);_Da(b,-2,522627);JDa(b,c[g+8>>2]|0);_Da(b,-2,519271);JDa(b,c[g+12>>2]|0);_Da(b,-2,519276);JDa(b,(c[g+16>>2]|0)+1|0);_Da(b,-2,519280);JDa(b,(c[g+20>>2]|0)+1900|0);_Da(b,-2,519286);JDa(b,(c[g+24>>2]|0)+1|0);_Da(b,-2,519291);JDa(b,(c[g+28>>2]|0)+1|0);_Da(b,-2,519296);d=c[g+32>>2]|0;if((d|0)<0){i=j;return 1}PDa(b,d);_Da(b,-2,519301);i=j;return 1}a[j+1240>>0]=37;a[j+1240+2>>0]=0;jHa(b,j);f=d;a:while(1){e=a[f>>0]|0;switch(e<<24>>24){case 0:break a;case 37:{d=f+1|0;b=a[d>>0]|0;if(!(b<<24>>24))h=15;else{a[j+1240+1>>0]=b;kHa(j,j+1040|0,Id(j+1040|0,200,j+1240|0,g|0)|0)}break}default:h=15}if((h|0)==15){h=0;d=c[j>>2]|0;if(d>>>0>=(j+1036|0)>>>0){iHa(j)|0;d=c[j>>2]|0;e=a[f>>0]|0}c[j>>2]=d+1;a[d>>0]=e;d=f}f=d+1|0}mHa(j);i=j;return 1}function AKa(a){a=a|0;var b=0;b=~~+_Ga(a,1);IDa(a,+Xd(b|0,~~+$Ga(a,2,0.0)|0));return 1}function BKa(a){a=a|0;JDa(a,Uh(TGa(a,1,0,0)|0)|0);return 1}function CKa(a){a=a|0;lh(bHa(a,1,0)|0);return 0}function DKa(a){a=a|0;LDa(a,yf(UGa(a,1,0)|0)|0);return 1}function EKa(a){a=a|0;var b=0,d=0,e=0,f=0;e=i;i=i+16|0;b=UGa(a,1,0)|0;f=(ypb(b)|0)==0;d=c[(Mlb()|0)>>2]|0;if(f){PDa(a,1);f=1;i=e;return f|0}else{HDa(a);f=Bmb(d)|0;c[e>>2]=b;c[e+4>>2]=f;NDa(a,519336,e)|0;JDa(a,d);f=3;i=e;return f|0}return 0}function FKa(a){a=a|0;var b=0,d=0,e=0,f=0;e=i;i=i+16|0;b=UGa(a,1,0)|0;f=(zpb(b,UGa(a,2,0)|0)|0)==0;d=c[(Mlb()|0)>>2]|0;if(f){PDa(a,1);f=1;i=e;return f|0}else{HDa(a);f=Bmb(d)|0;c[e>>2]=b;c[e+4>>2]=f;NDa(a,519336,e)|0;JDa(a,d);f=3;i=e;return f|0}return 0}function GKa(a){a=a|0;var b=0;b=TGa(a,1,0,0)|0;LDa(a,ynb(c[38712+((SGa(a,2,525064,38684)|0)<<2)>>2]|0,b)|0);return 1}function HKa(a){a=a|0;var b=0,d=0;d=i;i=i+64|0;if((qDa(a,1)|0)<1)b=jh(0)|0;else{YGa(a,1,5);lDa(a,1);TDa(a,-1,519267);if(!(tDa(a,-1)|0))b=0;else b=zDa(a,-1)|0;lDa(a,-2);c[d+20>>2]=b;TDa(a,-1,522627);if(!(tDa(a,-1)|0))b=0;else b=zDa(a,-1)|0;lDa(a,-2);c[d+20+4>>2]=b;TDa(a,-1,519271);if(!(tDa(a,-1)|0))b=12;else b=zDa(a,-1)|0;lDa(a,-2);c[d+20+8>>2]=b;TDa(a,-1,519276);if(!(tDa(a,-1)|0)){c[d>>2]=519276;b=PGa(a,519396,d)|0}else{b=zDa(a,-1)|0;lDa(a,-2)}c[d+20+12>>2]=b;TDa(a,-1,519280);if(!(tDa(a,-1)|0)){c[d+8>>2]=519280;b=PGa(a,519396,d+8|0)|0}else{b=zDa(a,-1)|0;lDa(a,-2)}c[d+20+16>>2]=b+-1;TDa(a,-1,519286);if(!(tDa(a,-1)|0)){c[d+16>>2]=519286;b=PGa(a,519396,d+16|0)|0}else{b=zDa(a,-1)|0;lDa(a,-2)}c[d+20+20>>2]=b+-1900;TDa(a,-1,519301);if(!(qDa(a,-1)|0))b=-1;else b=ADa(a,-1)|0;lDa(a,-2);c[d+20+32>>2]=b;b=md(d+20|0)|0}if((b|0)==-1){HDa(a);i=d;return 1}else{IDa(a,+(b|0));i=d;return 1}return 0}function IKa(a){a=a|0;var b=0;b=i;i=i+32|0;if(!(Cpb(b+4|0)|0)){a=PGa(a,519437,b)|0;i=b;return a|0}else{LDa(a,b+4|0);a=1;i=b;return a|0}return 0}function JKa(a){a=a|0;eHa(a,519474,38736);return 1}function KKa(a){a=a|0;var b=0,d=0,e=0,f=0;f=i;i=i+1056|0;d=TGa(a,2,1279070,f+16|0)|0;YGa(a,1,5);b=bHa(a,3,1)|0;if((qDa(a,4)|0)<1)e=CDa(a,1)|0;else e=aHa(a,4)|0;jHa(a,f+20|0);if((b|0)<(e|0))do{VDa(a,1,b);if(!(uDa(a,-1)|0)){c[f>>2]=rDa(a,qDa(a,-1)|0)|0;c[f+4>>2]=b;PGa(a,519487,f)|0}nHa(f+20|0);kHa(f+20|0,d,c[f+16>>2]|0);b=b+1|0}while((b|0)!=(e|0));else if((b|0)!=(e|0)){mHa(f+20|0);i=f;return 1}VDa(a,1,e);if(!(uDa(a,-1)|0)){c[f+8>>2]=rDa(a,qDa(a,-1)|0)|0;c[f+8+4>>2]=e;PGa(a,519487,f+8|0)|0}nHa(f+20|0);mHa(f+20|0);i=f;return 1}function LKa(a){a=a|0;var b=0;YGa(a,1,5);YGa(a,2,6);HDa(a);if(!(lEa(a,1)|0)){b=0;return b|0}while(1){pDa(a,2);pDa(a,-3);pDa(a,-3);dEa(a,2,1);if(qDa(a,-1)|0){a=1;b=4;break}lDa(a,-3);if(!(lEa(a,1)|0)){a=0;b=4;break}}if((b|0)==4)return a|0;return 0}function MKa(a){a=a|0;var b=0,c=0;YGa(a,1,5);b=CDa(a,1)|0;YGa(a,2,6);if((b|0)<1){c=0;return c|0}else c=1;while(1){pDa(a,2);JDa(a,c);VDa(a,1,c);dEa(a,2,1);if(qDa(a,-1)|0){b=1;a=4;break}lDa(a,-2);if((c|0)<(b|0))c=c+1|0;else{b=0;a=4;break}}if((a|0)==4)return b|0;return 0}function NKa(a){a=a|0;YGa(a,1,5);JDa(a,CDa(a,1)|0);return 1}function OKa(a){a=a|0;var b=0.0,c=0.0;YGa(a,1,5);HDa(a);b=0.0;a:while(1){do{if(!(lEa(a,1)|0))break a;lDa(a,-2)}while((qDa(a,-1)|0)!=3);c=+yDa(a,-1);b=c>b?c:b}IDa(a,b);return 1}function PKa(a){a=a|0;var b=0,c=0,d=0,e=0;d=i;i=i+16|0;YGa(a,1,5);b=(CDa(a,1)|0)+1|0;switch(kDa(a)|0){case 2:break;case 3:{c=aHa(a,2)|0;b=(c|0)>(b|0)?c:b;if((b|0)>(c|0)){do{e=b;b=b+-1|0;VDa(a,1,b);aEa(a,1,e)}while((b|0)>(c|0));b=c}else b=c;break}default:{e=PGa(a,519574,d)|0;i=d;return e|0}}aEa(a,1,b);e=0;i=d;return e|0}function QKa(a){a=a|0;var b=0,c=0,d=0;YGa(a,1,5);c=CDa(a,1)|0;b=bHa(a,2,c)|0;if((b|0)<1|(b|0)>(c|0)){a=0;return a|0}VDa(a,1,b);if((b|0)<(c|0))do{d=b;b=b+1|0;VDa(a,1,b);aEa(a,1,d)}while((b|0)!=(c|0));HDa(a);aEa(a,1,c);d=1;return d|0}function RKa(a){a=a|0;var b=0;b=i;i=i+16|0;YGa(a,1,5);PGa(a,519624,b)|0;pDa(a,1);i=b;return 1}function SKa(a){a=a|0;var b=0;YGa(a,1,5);b=CDa(a,1)|0;XGa(a,40,1279070);if((qDa(a,2)|0)>=1)YGa(a,2,6);lDa(a,2);TKa(a,1,b);return 0}function TKa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;if((c|0)<=(b|0)){i=k;return}while(1){VDa(a,1,b);VDa(a,1,c);if(!(UKa(a,-1,-2)|0))lDa(a,-3);else{aEa(a,1,b);aEa(a,1,c)}d=c-b|0;if((d|0)==1){c=24;break}e=(c+b|0)/2|0;VDa(a,1,e);VDa(a,1,b);do if(!(UKa(a,-2,-1)|0)){lDa(a,-2);VDa(a,1,c);if(!(UKa(a,-1,-2)|0)){lDa(a,-3);break}else{aEa(a,1,e);aEa(a,1,c);break}}else{aEa(a,1,e);aEa(a,1,b)}while(0);if((d|0)==2){c=24;break}VDa(a,1,e);pDa(a,-1);j=c+-1|0;VDa(a,1,j);aEa(a,1,e);aEa(a,1,j);g=b;h=j;while(1){d=g+1|0;VDa(a,1,d);if(!(UKa(a,-1,-2)|0)){e=d;d=g}else{e=g;while(1){if((c|0)<=(e|0))PGa(a,519648,k)|0;lDa(a,-2);e=d+1|0;VDa(a,1,e);if(!(UKa(a,-1,-2)|0))break;else{g=d;d=e;e=g}}}f=h+-1|0;VDa(a,1,f);if(!(UKa(a,-3,-1)|0))g=h;else{g=f;f=h;while(1){if((f|0)<=(b|0))PGa(a,519648,k+8|0)|0;lDa(a,-2);f=g+-1|0;VDa(a,1,f);if(!(UKa(a,-3,-1)|0))break;else{h=g;g=f;f=h}}}if((g|0)<=(e|0))break;aEa(a,1,e);aEa(a,1,f);g=e;h=f}lDa(a,-4);VDa(a,1,j);VDa(a,1,e);aEa(a,1,j);aEa(a,1,e);h=(e-b|0)<(c-e|0);g=b;b=h?d+2|0:b;j=c;c=h?c:d;TKa(a,h?g:d+2|0,h?d:j);if((c|0)<=(b|0)){c=24;break}}if((c|0)==24){i=k;return}}function UKa(a,b,c){a=a|0;b=b|0;c=c|0;if(!(qDa(a,2)|0)){c=xDa(a,b,c)|0;return c|0}else{pDa(a,2);pDa(a,b+-1|0);pDa(a,c+-2|0);dEa(a,2,1);c=ADa(a,-1)|0;lDa(a,-2);return c|0}return 0}function VKa(a){a=a|0;eHa(a,519683,38816);TDa(a,-1,520177);_Da(a,-2,520125);WDa(a,0,1);KDa(a,1279070,0);pDa(a,-2);bEa(a,-2)|0;lDa(a,-2);pDa(a,-2);_Da(a,-2,520409);lDa(a,-2);return 1}function WKa(a){a=a|0;var b=0,e=0,f=0,g=0,h=0,j=0;h=i;i=i+16|0;e=UGa(a,1,h+4|0)|0;b=bHa(a,2,1)|0;b=((b|0)<0?(c[h+4>>2]|0)+1|0:0)+b|0;j=(b|0)<0?0:b;g=bHa(a,3,j)|0;f=c[h+4>>2]|0;g=((g|0)<0?f+1|0:0)+g|0;g=(g|0)<0?0:g;b=(j|0)<1?1:b;g=g>>>0>f>>>0?f:g;if((g|0)<(b|0)){j=0;i=h;return j|0}if((g|0)==2147483647)PGa(a,519695,h)|0;XGa(a,g-b+1|0,519695);if((g-b|0)<0){j=g-b+1|0;i=h;return j|0}f=0;while(1){JDa(a,d[e+(b+-1+f)>>0]|0);if((f|0)<(g-b|0))f=f+1|0;else{b=g-b+1|0;break}}i=h;return b|0}function XKa(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+1040|0;e=kDa(b)|0;jHa(b,h);if((e|0)<1){mHa(h);i=h;return 1}g=1;while(1){f=aHa(b,g)|0;if((f&255|0)!=(f|0))OGa(b,g,519722)|0;d=c[h>>2]|0;if(d>>>0>=(h+1036|0)>>>0){iHa(h)|0;d=c[h>>2]|0}c[h>>2]=d+1;a[d>>0]=f;if((g|0)==(e|0))break;else g=g+1|0}mHa(h);i=h;return 1}function YKa(a){a=a|0;var b=0;b=i;i=i+1040|0;YGa(a,1,6);lDa(a,1);jHa(a,b+4|0);if(!(hEa(a,82,b+4|0)|0)){mHa(b+4|0);i=b;return 1}PGa(a,519741,b)|0;mHa(b+4|0);i=b;return 1}function ZKa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;kHa(d,b,c);return 0}function _Ka(a){a=a|0;return $Ka(a,1)|0}function $Ka(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+288|0;n=UGa(b,1,o+276|0)|0;l=UGa(b,2,o+272|0)|0;f=bHa(b,3,1)|0;e=c[o+276>>2]|0;f=((f|0)<0?e+1|0:0)+f|0;f=(f|0)<0?0:f;f=(f|0)<1?0:(f+-1|0)>>>0>e>>>0?e:f+-1|0;a:do if(d|0){if(!(ADa(b,4)|0))if(Npb(l,519776)|0){e=c[o+276>>2]|0;m=14;break}e=(c[o+276>>2]|0)-f|0;j=c[o+272>>2]|0;b:do if(!j)if(!(n+f|0))break a;else e=n+f|0;else{if(j>>>0>e>>>0)break a;if((e|0)==(j+-1|0))break a;k=a[l>>0]|0;h=e-(j+-1)|0;d=n+f|0;while(1){e=omb(d,k,h)|0;if(!e)break a;f=d;d=e+1|0;if(!(qmb(d,l+1|0,j+-1|0)|0))break b;g=d;e=f+h|0;if((e|0)==(g|0))break a;else h=e-g|0}}while(0);n=e-n|0;JDa(b,n+1|0);JDa(b,n+(c[o+272>>2]|0)|0);b=2;i=o;return b|0}else m=14;while(0);do if((m|0)==14){k=(a[l>>0]|0)==94;g=k?l+1|0:l;c[o+8>>2]=b;c[o>>2]=n;c[o+4>>2]=n+e;c[o+12>>2]=0;e=aLa(o,n+f|0,g)|0;c:do if(k)if(!e)m=25;else{h=e;g=n+f|0}else if(!e){e=n+f|0;while(1){if(e>>>0>=(c[o+4>>2]|0)>>>0){m=25;break c}e=e+1|0;c[o+12>>2]=0;f=aLa(o,e,g)|0;if(f){h=f;g=e;break}}}else{h=e;g=n+f|0}while(0);if((m|0)==25)break;if(d|0){JDa(b,1-n+g|0);JDa(b,h-n|0);e=c[o+12>>2]|0;XGa(c[o+8>>2]|0,e,519787);if((e|0)>0){f=0;do{dLa(o,f,0,0);f=f+1|0}while((f|0)!=(e|0))}e=e+2|0}else{e=c[o+12>>2]|0;e=(g|0)!=0&(e|0)==0?1:e;XGa(c[o+8>>2]|0,e,519787);if((e|0)>0){f=0;do{dLa(o,f,g,h);f=f+1|0}while((f|0)!=(e|0))}}b=e;i=o;return b|0}while(0);HDa(b);b=1;i=o;return b|0}function aLa(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0;X=i;i=i+80|0;a:while(1){z=e+1|0;w=e+-1|0;y=f;b:while(1){j=a[y>>0]|0;c:do switch(j<<24>>24|0){case 40:{K=e;L=y;j=4;break a}case 41:{N=e;O=y;j=13;break a}case 0:{h=e;j=125;break a}case 37:{j=y+1|0;I=a[j>>0]|0;switch(I<<24>>24|0){case 98:{E=y;j=20;break b}case 102:break;default:{if(((I&255)+-48|0)>>>0<10){F=y;j=67;break b}if(!(a[j>>0]|0))PGa(c[b+8>>2]|0,519883,X+64|0)|0;x=y+2|0;m=j;break c}}r=y+2|0;if((a[r>>0]|0)==91)j=91;else{PGa(c[b+8>>2]|0,519848,X+32|0)|0;j=a[r>>0]|0}s=y+3|0;switch(j<<24>>24|0){case 37:{if(!(a[s>>0]|0))PGa(c[b+8>>2]|0,519883,X+40|0)|0;u=y+4|0;break}case 91:{k=(a[s>>0]|0)==94?y+4|0:s;j=k;k=a[k>>0]|0;do{if(!(k<<24>>24)){PGa(c[b+8>>2]|0,519918,X+48|0)|0;k=a[j>>0]|0}l=j+1|0;if(k<<24>>24==37)j=(a[l>>0]|0)==0?l:j+2|0;else j=l;k=a[j>>0]|0}while(k<<24>>24!=93);u=j+1|0;break}default:u=s}if((e|0)==(c[b>>2]|0))j=0;else j=a[w>>0]|0;p=j&255;t=u+-1|0;q=(a[s>>0]|0)==94;k=q?s:r;d:do if((k+1|0)>>>0>>0){o=j&255;j=k;n=k+1|0;while(1){m=a[n>>0]|0;k=j+2|0;l=a[k>>0]|0;do if(m<<24>>24==37)if(!(bLa(p,l&255)|0))j=k;else{j=q&1^1;break d}else{if(l<<24>>24==45){j=j+3|0;if(j>>>0>>0){if((m&255)>>>0>p>>>0)break;if((d[j>>0]|0)>>>0

>>0)break;else{j=q&1^1;break d}}}if(m<<24>>24==o<<24>>24){j=q&1^1;break d}else j=n}while(0);n=j+1|0;if(n>>>0>=t>>>0){j=q&1;break}}}else j=q&1;while(0);if(j|0){h=0;j=125;break a}o=a[e>>0]|0;p=(a[s>>0]|0)==94;k=p?s:r;e:do if((k+1|0)>>>0>>0){j=k;n=k+1|0;while(1){m=a[n>>0]|0;k=j+2|0;l=a[k>>0]|0;do if(m<<24>>24==37)if(!(bLa(o&255,l&255)|0))j=k;else{j=p&1^1;break e}else{if(l<<24>>24==45){j=j+3|0;if(j>>>0>>0){if((m&255)>(o&255))break;if((d[j>>0]|0)<(o&255))break;else{j=p&1^1;break e}}}if(m<<24>>24==o<<24>>24){j=p&1^1;break e}else j=n}while(0);n=j+1|0;if(n>>>0>=t>>>0){j=p&1;break}}}else j=p&1;while(0);if(!j){h=0;j=125;break a}else{y=u;continue b}}case 36:{j=y+1|0;if(!(a[j>>0]|0)){C=e;j=75;break a}else{x=j;m=j}break}default:{m=y+1|0;if(j<<24>>24==91){k=(a[m>>0]|0)==94?y+2|0:m;j=k;k=a[k>>0]|0;do{if(!(k<<24>>24)){PGa(c[b+8>>2]|0,519918,X+72|0)|0;k=a[j>>0]|0}l=j+1|0;if(k<<24>>24==37)j=(a[l>>0]|0)==0?l:j+2|0;else j=l;k=a[j>>0]|0}while(k<<24>>24!=93);x=j+1|0}else x=m}}while(0);if(e>>>0<(c[b+4>>2]|0)>>>0){r=a[e>>0]|0;j=a[y>>0]|0;f:do switch(j<<24>>24|0){case 46:{j=1;break}case 37:{j=bLa(r&255,d[m>>0]|0)|0;break}case 91:{p=x+-1|0;q=(a[m>>0]|0)==94;k=q?m:y;if((k+1|0)>>>0

>>0){j=k;o=k+1|0;while(1){n=a[o>>0]|0;k=j+2|0;l=a[k>>0]|0;do if(n<<24>>24==37)if(!(bLa(r&255,l&255)|0))j=k;else{j=q&1^1;break f}else{if(l<<24>>24==45){j=j+3|0;if(j>>>0

>>0){if((n&255)>(r&255))break;if((d[j>>0]|0)<(r&255))break;else{j=q&1^1;break f}}}if(n<<24>>24==r<<24>>24){j=q&1^1;break f}else j=o}while(0);o=j+1|0;if(o>>>0>=p>>>0){j=q&1;break}}}else j=q&1;break}default:j=j<<24>>24==r<<24>>24&1}while(0);v=(j|0)!=0}else v=0;switch(a[x>>0]|0){case 42:{B=x;D=e;G=y;j=105;break a}case 43:{j=106;break a}case 45:{R=x;g=e;V=y;W=m;j=102;break a}case 63:break;default:{j=124;break b}}j=x+1|0;if(!v){y=j;continue}k=aLa(b,z,j)|0;if(!k)y=j;else{h=k;j=125;break a}}if((j|0)==20){j=0;f=a[E+2>>0]|0;if(!(f<<24>>24))j=22;else if(!(a[E+3>>0]|0))j=22;else J=f;if((j|0)==22){PGa(c[b+8>>2]|0,519829,X+24|0)|0;J=a[E+2>>0]|0}if((a[e>>0]|0)!=J<<24>>24){h=0;j=125;break}l=a[E+3>>0]|0;m=c[b+4>>2]|0;if(z>>>0>>0){k=z;f=1}else{h=0;j=125;break}while(1){j=a[k>>0]|0;if(j<<24>>24==l<<24>>24){f=f+-1|0;if(!f)break}else f=(j<<24>>24==J<<24>>24&1)+f|0;e=k+1|0;if(e>>>0>>0){w=k;k=e;e=w}else{h=0;j=125;break a}}e=e+2|0;f=E+4|0;continue}else if((j|0)==67){j=0;if((I&255)<49)j=70;else if(((I&255)+-49|0)<(c[b+12>>2]|0)){f=c[b+16+((I&255)+-49<<3)+4>>2]|0;if((f|0)==-1)j=70;else{A=(I&255)+-49|0;H=f}}else j=70;if((j|0)==70){H=PGa(c[b+8>>2]|0,519950,X+56|0)|0;A=H;H=c[b+16+(H<<3)+4>>2]|0}if(((c[b+4>>2]|0)-e|0)>>>0>>0){h=0;j=125;break}f=e+H|0;if((f|0)==0|(qmb(c[b+16+(A<<3)>>2]|0,e,H)|0)!=0){h=0;j=125;break}e=f;f=F+2|0;continue}else if((j|0)==124)if(v){e=z;f=x;continue}else{h=0;j=125;break}}if((j|0)==4)if((a[L+1>>0]|0)==41){g=c[b+12>>2]|0;if((g|0)>31)PGa(c[b+8>>2]|0,519787,X)|0;c[b+16+(g<<3)>>2]=K;c[b+16+(g<<3)+4>>2]=-2;c[b+12>>2]=g+1;g=aLa(b,K,L+2|0)|0;if(g|0){b=g;i=X;return b|0}c[b+12>>2]=(c[b+12>>2]|0)+-1;b=0;i=X;return b|0}else{g=c[b+12>>2]|0;if((g|0)>31)PGa(c[b+8>>2]|0,519787,X+8|0)|0;c[b+16+(g<<3)>>2]=K;c[b+16+(g<<3)+4>>2]=-1;c[b+12>>2]=g+1;g=aLa(b,K,L+1|0)|0;if(g|0){b=g;i=X;return b|0}c[b+12>>2]=(c[b+12>>2]|0)+-1;b=0;i=X;return b|0}else if((j|0)==13){h=c[b+12>>2]|0;while(1){g=h+-1|0;if((h|0)<=0){j=16;break}if((c[b+16+(g<<3)+4>>2]|0)==-1){M=g;break}else h=g}if((j|0)==16)M=PGa(c[b+8>>2]|0,519805,X+16|0)|0;h=b+16+(M<<3)+4|0;c[h>>2]=N-(c[b+16+(M<<3)>>2]|0);g=aLa(b,N,O+1|0)|0;if(g|0){b=g;i=X;return b|0}c[h>>2]=-1;b=0;i=X;return b|0}else if((j|0)==75){b=(C|0)==(c[b+4>>2]|0)?C:0;i=X;return b|0}else if((j|0)==102){g:while(1){h=aLa(b,g,R+1|0)|0;if(h){j=125;break}h:while(1){if(g>>>0>=(c[b+4>>2]|0)>>>0){h=0;j=125;break g}l=a[g>>0]|0;h=a[V>>0]|0;switch(h<<24>>24|0){case 37:{T=g;j=111;break h}case 91:{U=g;j=112;break h}case 46:break;default:{S=g;j=121;break h}}g=g+1|0;h=aLa(b,g,R+1|0)|0;if(h|0){j=125;break g}}i:do if((j|0)==111){P=bLa(l&255,d[W>>0]|0)|0;Q=T}else if((j|0)==112){k=(a[W>>0]|0)==94;h=k?W:V;if((h+1|0)>>>0<(R+-1|0)>>>0){g=h;j=h+1|0;while(1){f=a[j>>0]|0;h=g+2|0;e=a[h>>0]|0;do if(f<<24>>24==37)if(!(bLa(l&255,e&255)|0))g=h;else{P=k&1^1;Q=U;break i}else{if(e<<24>>24==45){g=g+3|0;if(g>>>0<(R+-1|0)>>>0){if((f&255)>(l&255))break;if((d[g>>0]|0)<(l&255))break;else{P=k&1^1;Q=U;break i}}}if(f<<24>>24==l<<24>>24){P=k&1^1;Q=U;break i}else g=j}while(0);j=g+1|0;if(j>>>0>=(R+-1|0)>>>0){P=k&1;Q=U;break}}}else{P=k&1;Q=U}}else if((j|0)==121){P=h<<24>>24==l<<24>>24&1;Q=S}while(0);if(!P){h=0;j=125;break}else g=Q+1|0}if((j|0)==125){i=X;return h|0}}else if((j|0)==105){b=cLa(b,D,G,B)|0;i=X;return b|0}else if((j|0)==106){if(!v){b=0;i=X;return b|0}b=cLa(b,z,y,x)|0;i=X;return b|0}else if((j|0)==125){i=X;return h|0}return 0}function bLa(a,b){a=a|0;b=b|0;do switch(Ulb(b)|0){case 97:{a=Nmb(a)|0;break}case 99:{a=Pmb(a)|0;break}case 100:{a=(a+-48|0)>>>0<10&1;break}case 108:{a=imb(a)|0;break}case 112:{a=Rmb(a)|0;break}case 115:{a=cmb(a)|0;break}case 117:{a=Vlb(a)|0;break}case 119:{a=Mmb(a)|0;break}case 120:{a=Tmb(a)|0;break}case 122:{a=(a|0)==0&1;break}default:{b=(b|0)==(a|0)&1;return b|0}}while(0);b=(imb(b)|0)==0;b=b?(a|0)==0&1:a;return b|0}function cLa(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;h=c[b+4>>2]|0;a:do if(h>>>0>e>>>0){i=h;j=e;h=0;while(1){o=a[j>>0]|0;j=a[f>>0]|0;b:do switch(j<<24>>24|0){case 46:break;case 37:{i=bLa(o&255,d[f+1>>0]|0)|0;k=15;break}case 91:{n=(a[f+1>>0]|0)==94;j=n?f+1|0:f;if((j+1|0)>>>0<(g+-1|0)>>>0){i=j;m=j+1|0;while(1){l=a[m>>0]|0;j=i+2|0;k=a[j>>0]|0;do if(l<<24>>24==37)if(!(bLa(o&255,k&255)|0))i=j;else{i=n&1^1;k=15;break b}else{if(k<<24>>24==45){i=i+3|0;if(i>>>0<(g+-1|0)>>>0){if((l&255)>(o&255))break;if((d[i>>0]|0)<(o&255))break;else{i=n&1^1;k=15;break b}}}if(l<<24>>24==o<<24>>24){i=n&1^1;k=15;break b}else i=m}while(0);m=i+1|0;if(m>>>0>=(g+-1|0)>>>0){i=n&1;k=15;break}}}else{i=n&1;k=15}break}default:{i=j<<24>>24==o<<24>>24&1;k=15}}while(0);if((k|0)==15){k=0;if(!i)break a;i=c[b+4>>2]|0}h=h+1|0;j=e+h|0;if(j>>>0>=i>>>0)break a}}else h=0;while(0);i=h;while(1){if((i|0)<=-1){h=0;k=21;break}h=aLa(b,e+i|0,g+1|0)|0;if(!h)i=(((h|0)==0)<<31>>31)+i|0;else{k=21;break}}if((k|0)==21)return h|0;return 0}function dLa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;g=i;i=i+16|0;if((c[a+12>>2]|0)<=(b|0)){f=c[a+8>>2]|0;if(!b){KDa(f,d,e-d|0);i=g;return}else{PGa(f,519950,g)|0;i=g;return}}d=c[a+16+(b<<3)+4>>2]|0;if((d|0)==-1){PGa(c[a+8>>2]|0,519972,g+8|0)|0;e=c[a+8>>2]|0;f=c[a+16+(b<<3)>>2]|0}else{e=c[a+8>>2]|0;f=c[a+16+(b<<3)>>2]|0;if((d|0)==-2){JDa(e,f+1-(c[a>>2]|0)|0);i=g;return}}KDa(e,f,d);i=g;return}function eLa(b){b=b|0;var e=0,f=0,g=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+1648|0;k=kDa(b)|0;l=UGa(b,1,q+1096|0)|0;m=c[q+1096>>2]|0;jHa(b,q+60|0);a:do if((m|0)>0){n=q+60+1036|0;o=1;e=l;b:while(1){while(1){f=a[e>>0]|0;if(f<<24>>24==37){g=e+1|0;f=a[g>>0]|0;if(f<<24>>24!=37)break;f=c[q+60>>2]|0;if(f>>>0>>0)g=37;else{iHa(q+60|0)|0;f=c[q+60>>2]|0;g=a[g>>0]|0}c[q+60>>2]=f+1;a[f>>0]=g;e=e+2|0}else{g=c[q+60>>2]|0;if(g>>>0>=n>>>0){iHa(q+60|0)|0;g=c[q+60>>2]|0;f=a[e>>0]|0}c[q+60>>2]=g+1;a[g>>0]=f;e=e+1|0}if(e>>>0>=(l+m|0)>>>0)break a}j=o;o=o+1|0;if((j|0)<(k|0))e=f;else{OGa(b,o,519991)|0;e=a[g>>0]|0}c:do if(!(e<<24>>24)){e=0;f=g}else{f=g;while(1){if(!(omb(52e4,e<<24>>24,6)|0))break c;f=f+1|0;e=a[f>>0]|0;if(!(e<<24>>24)){e=0;break}}}while(0);if((f-g|0)>>>0>5){PGa(b,520006,q)|0;e=a[f>>0]|0}f=((e&255)+-48|0)>>>0<10?f+1|0:f;f=((d[f>>0]|0)+-48|0)>>>0<10?f+1|0:f;e=a[f>>0]|0;if(e<<24>>24==46){f=((d[f+1>>0]|0)+-48|0)>>>0<10?f+2|0:f+1|0;f=((d[f>>0]|0)+-48|0)>>>0<10?f+1|0:f;e=a[f>>0]|0}if(((e&255)+-48|0)>>>0<10)PGa(b,520038,q+8|0)|0;a[q+1616>>0]=37;e=f-g+1|0;Rob(q+1616+1|0,g,e)|0;a[q+1616+1+e>>0]=0;e=f+1|0;f=a[f>>0]|0;d:do switch(f|0){case 99:{c[q+16>>2]=~~+_Ga(b,o);rmb(q+1104|0,q+1616|0,q+16|0)|0;p=50;break}case 105:case 100:{p=rnb(q+1616|0)|0;j=a[q+1616+(p+-1)>>0]|0;a[q+1616+p+-1>>0]=108;a[q+1616+p+-1+1>>0]=0;a[q+1616+p>>0]=j;a[q+1616+(p+1)>>0]=0;c[q+24>>2]=~~+_Ga(b,o);rmb(q+1104|0,q+1616|0,q+24|0)|0;p=50;break}case 88:case 120:case 117:case 111:{p=rnb(q+1616|0)|0;j=a[q+1616+(p+-1)>>0]|0;a[q+1616+p+-1>>0]=108;a[q+1616+p+-1+1>>0]=0;a[q+1616+p>>0]=j;a[q+1616+(p+1)>>0]=0;c[q+32>>2]=~~+_Ga(b,o)>>>0;rmb(q+1104|0,q+1616|0,q+32|0)|0;p=50;break}case 71:case 103:case 102:case 69:case 101:{h[q+40>>3]=+_Ga(b,o);rmb(q+1104|0,q+1616|0,q+40|0)|0;p=50;break}case 113:{g=UGa(b,o,q+1100|0)|0;f=c[q+60>>2]|0;if(f>>>0>=n>>>0){iHa(q+60|0)|0;f=c[q+60>>2]|0}c[q+60>>2]=f+1;a[f>>0]=34;j=c[q+1100>>2]|0;c[q+1100>>2]=j+-1;e:do if(j|0){j=g;while(1){g=a[j>>0]|0;switch(g<<24>>24|0){case 10:case 92:case 34:{f=c[q+60>>2]|0;if(f>>>0>=n>>>0){iHa(q+60|0)|0;f=c[q+60>>2]|0}c[q+60>>2]=f+1;a[f>>0]=92;f=c[q+60>>2]|0;if(f>>>0>=n>>>0){iHa(q+60|0)|0;f=c[q+60>>2]|0}g=a[j>>0]|0;c[q+60>>2]=f+1;a[f>>0]=g;break}case 13:{kHa(q+60|0,520083,2);break}case 0:{kHa(q+60|0,520086,4);break}default:{f=c[q+60>>2]|0;if(f>>>0>=n>>>0){iHa(q+60|0)|0;f=c[q+60>>2]|0;g=a[j>>0]|0}c[q+60>>2]=f+1;a[f>>0]=g}}g=c[q+1100>>2]|0;c[q+1100>>2]=g+-1;if(!g)break e;else j=j+1|0}}while(0);f=c[q+60>>2]|0;if(f>>>0>=n>>>0){iHa(q+60|0)|0;f=c[q+60>>2]|0}c[q+60>>2]=f+1;a[f>>0]=34;break}case 115:{f=UGa(b,o,q+1100|0)|0;j=(Unb(q+1616|0,46)|0)==0;if(j&(c[q+1100>>2]|0)>>>0>99){pDa(b,o);nHa(q+60|0);break d}else{c[q+48>>2]=f;rmb(q+1104|0,q+1616|0,q+48|0)|0;p=50;break d}}default:break b}while(0);if((p|0)==50){p=0;kHa(q+60|0,q+1104|0,rnb(q+1104|0)|0)}if(e>>>0>=(l+m|0)>>>0)break a}c[q+56>>2]=f;p=PGa(b,520091,q+56|0)|0;i=q;return p|0}while(0);mHa(q+60|0);p=1;i=q;return p|0}function fLa(a){a=a|0;var b=0;b=i;i=i+16|0;a=PGa(a,520131,b)|0;i=b;return a|0}function gLa(a){a=a|0;UGa(a,1,0)|0;UGa(a,2,0)|0;lDa(a,2);JDa(a,0);ODa(a,1526,3);return 1}function hLa(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0;j=i;i=i+288|0;f=BDa(a,-10003,j)|0;d=BDa(a,-10004,0)|0;c[j+8+8>>2]=a;c[j+8>>2]=f;g=c[j>>2]|0;c[j+8+4>>2]=f+g;b=zDa(a,-10005)|0;if((b|0)>(g|0)){h=0;i=j;return h|0}b=f+b|0;while(1){c[j+8+12>>2]=0;g=aLa(j+8|0,b,d)|0;if(g|0){e=b;break}b=b+1|0;if(b>>>0>(c[j+8+4>>2]|0)>>>0){b=0;h=7;break}}if((h|0)==7){i=j;return b|0}JDa(a,g-f+((g|0)==(e|0)&1)|0);oDa(a,-10005);b=c[j+8+12>>2]|0;b=(e|0)!=0&(b|0)==0?1:b;XGa(c[j+8+8>>2]|0,b,519787);if((b|0)>0)d=0;else{h=b;i=j;return h|0}do{dLa(j+8|0,d,e,g);d=d+1|0}while((d|0)!=(b|0));i=j;return b|0}function iLa(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+1328|0;d=UGa(b,1,s+1320|0)|0;o=UGa(b,2,0)|0;p=qDa(b,3)|0;q=bHa(b,4,(c[s+1320>>2]|0)+1|0)|0;r=(a[o>>0]|0)==94;o=r?o+1|0:o;if((p+-3|0)>>>0>=4)OGa(b,3,520189)|0;jHa(b,s+12|0);p=s+1048+8|0;c[p>>2]=b;c[s+1048>>2]=d;c[s+1048+4>>2]=d+(c[s+1320>>2]|0);e=0;while(1){if((e|0)>=(q|0)){n=44;break}c[s+1048+12>>2]=0;m=aLa(s+1048|0,d,o)|0;if(!m)n=39;else{e=e+1|0;j=c[p>>2]|0;switch(qDa(j,3)|0){case 4:case 3:{k=BDa(c[p>>2]|0,3,s+1324|0)|0;if(c[s+1324>>2]|0){l=m-d|0;f=0;do{j=k+f|0;g=a[j>>0]|0;do if(g<<24>>24==37){f=f+1|0;h=a[k+f>>0]|0;if(((h&255)+-48|0)>>>0<10)if(h<<24>>24==48){kHa(s+12|0,d,l);break}else{dLa(s+1048|0,(h<<24>>24)+-49|0,d,m);nHa(s+12|0);break}else{g=c[s+12>>2]|0;if(g>>>0>=(s+12+1036|0)>>>0){iHa(s+12|0)|0;g=c[s+12>>2]|0;h=a[k+f>>0]|0}c[s+12>>2]=g+1;a[g>>0]=h;break}}else{h=c[s+12>>2]|0;if(h>>>0>=(s+12+1036|0)>>>0){iHa(s+12|0)|0;h=c[s+12>>2]|0;g=a[j>>0]|0}c[s+12>>2]=h+1;a[h>>0]=g}while(0);f=f+1|0}while(f>>>0<(c[s+1324>>2]|0)>>>0)}break}case 6:{pDa(j,3);f=c[s+1048+12>>2]|0;f=(d|0)!=0&(f|0)==0?1:f;XGa(c[p>>2]|0,f,519787);if((f|0)>0){g=0;do{dLa(s+1048|0,g,d,m);g=g+1|0}while((g|0)!=(f|0))}dEa(j,f,1);n=33;break}case 5:{do if((c[s+1048+12>>2]|0)>0){h=c[s+1048+20>>2]|0;if((h|0)==-1){PGa(c[p>>2]|0,519972,s)|0;f=c[p>>2]|0;g=c[s+1048+16>>2]|0}else{f=c[p>>2]|0;g=c[s+1048+16>>2]|0;if((h|0)==-2){JDa(f,g+1-(c[s+1048>>2]|0)|0);break}}KDa(f,g,h)}else KDa(c[p>>2]|0,d,m-d|0);while(0);SDa(j,3);n=33;break}default:n=33}if((n|0)==33){n=0;if(!(ADa(j,-1)|0)){lDa(j,-2);KDa(j,d,m-d|0)}else if(!(uDa(j,-1)|0)){c[s+8>>2]=rDa(j,qDa(j,-1)|0)|0;PGa(j,520220,s+8|0)|0}nHa(s+12|0)}if(m>>>0>d>>>0)d=m;else n=39}if((n|0)==39){n=0;if(d>>>0>=(c[s+1048+4>>2]|0)>>>0){n=44;break}f=c[s+12>>2]|0;if(f>>>0>=(s+12+1036|0)>>>0){iHa(s+12|0)|0;f=c[s+12>>2]|0}m=a[d>>0]|0;c[s+12>>2]=f+1;a[f>>0]=m;d=d+1|0}if(r){n=44;break}}if((n|0)==44){kHa(s+12|0,d,(c[s+1048+4>>2]|0)-d|0);mHa(s+12|0);JDa(b,e);i=s;return 2}return 0}function jLa(a){a=a|0;var b=0;b=i;i=i+16|0;UGa(a,1,b)|0;JDa(a,c[b>>2]|0);i=b;return 1}function kLa(b){b=b|0;var e=0,f=0,g=0,h=0;f=i;i=i+1040|0;e=UGa(b,1,f+1036|0)|0;jHa(b,f);if(!(c[f+1036>>2]|0)){mHa(f);i=f;return 1}b=0;do{if((c[f>>2]|0)>>>0>=(f+1036|0)>>>0)iHa(f)|0;h=(Ulb(d[e+b>>0]|0)|0)&255;g=c[f>>2]|0;c[f>>2]=g+1;a[g>>0]=h;b=b+1|0}while(b>>>0<(c[f+1036>>2]|0)>>>0);mHa(f);i=f;return 1}function lLa(a){a=a|0;return $Ka(a,0)|0}function mLa(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+1040|0;d=UGa(a,1,e+1036|0)|0;b=aHa(a,2)|0;jHa(a,e);if((b|0)<=0){mHa(e);i=e;return 1}while(1){kHa(e,d,c[e+1036>>2]|0);if((b|0)>1)b=b+-1|0;else break}mHa(e);i=e;return 1}function nLa(b){b=b|0;var d=0,e=0,f=0;f=i;i=i+1040|0;e=UGa(b,1,f+1036|0)|0;jHa(b,f);b=c[f+1036>>2]|0;c[f+1036>>2]=b+-1;if(!b){mHa(f);i=f;return 1}d=b+-1|0;do{b=c[f>>2]|0;if(b>>>0>=(f+1036|0)>>>0){iHa(f)|0;b=c[f>>2]|0;d=c[f+1036>>2]|0}d=a[e+d>>0]|0;c[f>>2]=b+1;a[b>>0]=d;b=c[f+1036>>2]|0;d=b+-1|0;c[f+1036>>2]=d}while((b|0)!=0);mHa(f);i=f;return 1}function oLa(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;f=i;i=i+16|0;d=UGa(a,1,f)|0;b=aHa(a,2)|0;b=((b|0)<0?(c[f>>2]|0)+1|0:0)+b|0;e=bHa(a,3,-1)|0;g=c[f>>2]|0;e=((e|0)<0?g+1|0:0)+e|0;e=(e|0)<0?0:e;b=(b|0)<1?1:b;e=(e|0)>(g|0)?g:e;if((e|0)<(b|0)){KDa(a,1279070,0);i=f;return 1}else{KDa(a,d+b+-1|0,1-b+e|0);i=f;return 1}return 0}function pLa(b){b=b|0;var e=0,f=0,g=0,h=0;f=i;i=i+1040|0;e=UGa(b,1,f+1036|0)|0;jHa(b,f);if(!(c[f+1036>>2]|0)){mHa(f);i=f;return 1}b=0;do{if((c[f>>2]|0)>>>0>=(f+1036|0)>>>0)iHa(f)|0;h=(hmb(d[e+b>>0]|0)|0)&255;g=c[f>>2]|0;c[f>>2]=g+1;a[g>>0]=h;b=b+1|0}while(b>>>0<(c[f+1036>>2]|0)>>>0);mHa(f);i=f;return 1}function qLa(a){a=a|0;var b=0;VGa(a,520291)|0;ODa(a,1527,0);_Da(a,-2,520300);eHa(a,520305,38944);pDa(a,-1);oDa(a,-10001);WDa(a,4,0);ODa(a,1528,0);aEa(a,-2,1);ODa(a,1529,0);aEa(a,-2,2);ODa(a,1530,0);aEa(a,-2,3);ODa(a,1531,0);aEa(a,-2,4);_Da(a,-2,520641);b=yf(520649)|0;if(!b)LDa(a,520658);else{hHa(a,hHa(a,b,520796,520799)|0,527202,520658)|0;mDa(a,-2)}_Da(a,-2,520492);b=yf(520803)|0;if(!b)LDa(a,520813);else{hHa(a,hHa(a,b,520796,520799)|0,527202,520813)|0;mDa(a,-2)}_Da(a,-2,520592);KDa(a,520882,9);_Da(a,-2,520892);gHa(a,-1e4,520899,2)|0;_Da(a,-2,520907);WDa(a,0,0);_Da(a,-2,520417);pDa(a,-10002);eHa(a,0,38968);lDa(a,-2);return 1}function rLa(a){a=a|0;c[(WGa(a,1,520291)|0)>>2]=0;return 0}function sLa(a){a=a|0;var b=0;b=UGa(a,1,0)|0;UGa(a,2,0)|0;b=tLa(a,b)|0;if(!b){a=1;return a|0}HDa(a);nDa(a,-2);LDa(a,(b|0)==1?520390:520397);a=3;return a|0}function tLa(a,b){a=a|0;b=b|0;var d=0,e=0;d=i;i=i+16|0;c[d>>2]=520321;c[d+4>>2]=b;NDa(a,523693,d)|0;SDa(a,-1e4);if(!(qDa(a,-1)|0)){lDa(a,-2);e=nEa(a,4)|0;c[e>>2]=0;TDa(a,-1e4,520291);bEa(a,-2)|0;c[d+8>>2]=520321;c[d+8+4>>2]=b;NDa(a,523693,d+8|0)|0;pDa(a,-2);ZDa(a,-1e4);b=e}else b=EDa(a,-1)|0;e=(c[b>>2]|0)==0;KDa(a,520331,58);if(!e){e=2;i=d;return e|0}c[b>>2]=0;e=1;i=d;return e|0}function uLa(a){a=a|0;YGa(a,1,5);if(!(XDa(a,1)|0)){WDa(a,0,1);pDa(a,-1);bEa(a,1)|0}pDa(a,-10002);_Da(a,-2,520409);return 0}function vLa(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=UGa(a,1,0)|0;TDa(a,-10001,520417);if((qDa(a,-1)|0)!=5)PGa(a,520425,d)|0;TDa(a,-1,b);if(qDa(a,-1)|0){i=d;return 1}c[d+8>>2]=b;NDa(a,520459,d+8|0)|0;i=d;return 1}function wLa(a){a=a|0;var b=0,d=0,e=0,f=0;d=i;i=i+16|0;b=xLa(a,UGa(a,1,0)|0,520492)|0;if(!b){i=d;return 1}if(!(qHa(a,b)|0)){i=d;return 1}f=BDa(a,1,0)|0;e=BDa(a,-1,0)|0;c[d>>2]=f;c[d+4>>2]=b;c[d+8>>2]=e;PGa(a,520546,d)|0;i=d;return 1}function xLa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=i;i=i+16|0;g=hHa(b,d,616643,520497)|0;TDa(b,-10001,e);d=BDa(b,-1,0)|0;if(!d){c[h>>2]=e;PGa(b,520499,h)|0}KDa(b,1279070,0);a:while(1){switch(a[d>>0]|0){case 0:{d=0;e=12;break a}case 59:{d=d+1|0;continue a}default:{}}e=Unb(d,59)|0;if(!e)e=d+(rnb(d)|0)|0;KDa(b,d,e-d|0);if(!e){d=0;e=12;break}d=hHa(b,BDa(b,-1,0)|0,520529,g)|0;mDa(b,-2);f=Xnb(d,524337)|0;if(f|0){e=11;break}c[h+8>>2]=d;NDa(b,520531,h+8|0)|0;mDa(b,-2);mEa(b,2);d=e}if((e|0)==11){_nb(f)|0;b=d;i=h;return b|0}else if((e|0)==12){i=h;return d|0}return 0}function yLa(a){a=a|0;var b=0,d=0,e=0,f=0;e=i;i=i+32|0;b=UGa(a,1,0)|0;d=xLa(a,b,520592)|0;if(!d){i=e;return 1}f=Unb(b,45)|0;c[e>>2]=hHa(a,(f|0)==0?b:f+1|0,616643,520598)|0;NDa(a,520600,e)|0;mDa(a,-2);if(!(tLa(a,d)|0)){i=e;return 1}b=BDa(a,1,0)|0;f=BDa(a,-1,0)|0;c[e+8>>2]=b;c[e+8+4>>2]=d;c[e+8+8>>2]=f;PGa(a,520546,e+8|0)|0;i=e;return 1}function zLa(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;e=i;i=i+32|0;d=UGa(a,1,0)|0;b=Unb(d,46)|0;if(!b){a=0;i=e;return a|0}KDa(a,d,b-d|0);b=xLa(a,BDa(a,-1,0)|0,520592)|0;if(!b){a=1;i=e;return a|0}f=Unb(d,45)|0;c[e>>2]=hHa(a,(f|0)==0?d:f+1|0,616643,520598)|0;NDa(a,520600,e)|0;mDa(a,-2);switch(tLa(a,b)|0){case 2:break;case 0:{f=1;i=e;return f|0}default:{g=BDa(a,1,0)|0;f=BDa(a,-1,0)|0;c[e+8>>2]=g;c[e+8+4>>2]=b;c[e+8+8>>2]=f;PGa(a,520546,e+8|0)|0}}c[e+24>>2]=d;c[e+24+4>>2]=b;NDa(a,520611,e+24|0)|0;g=1;i=e;return g|0}function ALa(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;f=i;i=i+112|0;b=UGa(a,1,0)|0;e=kDa(a)|0;TDa(a,-1e4,520899);TDa(a,e+1|0,b);do if((qDa(a,-1)|0)!=5){lDa(a,-2);if(!(gHa(a,-10002,b,1)|0)){pDa(a,-1);_Da(a,e+1|0,b);break}c[f>>2]=b;a=PGa(a,520921,f)|0;i=f;return a|0}while(0);TDa(a,-1,520951);g=(qDa(a,-1)|0)==0;lDa(a,-2);if(g){pDa(a,-1);_Da(a,-2,520957);LDa(a,b);_Da(a,-2,520951);g=sob(b,46)|0;KDa(a,b,((g|0)==0?b:g+1|0)-b|0);_Da(a,-2,520960)}pDa(a,-1);if(!(uEa(a,1,f+12|0)|0))d=10;else if(!(xEa(a,520969,f+12|0)|0))d=10;else if(sDa(a,-1)|0)d=10;if((d|0)==10)PGa(a,520971,f+8|0)|0;pDa(a,-2);cEa(a,-2)|0;lDa(a,-2);if((e|0)<2){g=0;i=f;return g|0}else b=2;while(1){pDa(a,b);pDa(a,-2);dEa(a,1,0);if((b|0)==(e|0)){b=0;break}else b=b+1|0}i=f;return b|0}function BLa(a){a=a|0;var b=0,d=0,e=0,f=0;e=i;i=i+32|0;b=UGa(a,1,0)|0;lDa(a,1);TDa(a,-1e4,520899);TDa(a,2,b);if(ADa(a,-1)|0){if((EDa(a,-1)|0)!=728392){i=e;return 1}c[e>>2]=b;PGa(a,521019,e)|0;i=e;return 1}TDa(a,-10001,520641);if((qDa(a,-1)|0)!=5)PGa(a,521062,e+8|0)|0;KDa(a,1279070,0);d=1;while(1){VDa(a,-2,d);if(!(qDa(a,-1)|0)){f=BDa(a,-2,0)|0;c[e+16>>2]=b;c[e+16+4>>2]=f;PGa(a,521096,e+16|0)|0}LDa(a,b);dEa(a,1,1);if((qDa(a,-1)|0)==6)break;if(!(uDa(a,-1)|0))lDa(a,-2);else mEa(a,2);d=d+1|0}QDa(a,728392);_Da(a,2,b);LDa(a,b);dEa(a,1,1);if(qDa(a,-1)|0)_Da(a,2,b);TDa(a,2,b);if((EDa(a,-1)|0)!=728392){i=e;return 1}PDa(a,1);pDa(a,-1);_Da(a,2,b);i=e;return 1}function CLa(){DLa(0);ELa(1249112);return}function DLa(a){a=a|0;var c=0,d=0,f=0,g=0,h=0,i=0.0,j=0.0,k=0.0,l=0.0,m=0;h=0;do{a=h<<2;i=+(h|0)*.0009765625;l=+M(+(i*16384.0*(i+-.5-i*i*.5)+.5));k=+M(+((1.0-i*i*2.5+i*1.5*(i*i))*16384.0+.5));j=+M(+(((2.0-i*1.5)*(i*i)+i*.5)*16384.0+.5));i=+M(+(i*i*16384.0*(i*.5+-.5)+.5));c=l<-16384.0?-16384:l>16384.0?16384:~~l;b[1206338+(a<<1)>>1]=c;d=k<-16384.0?-16384:k>16384.0?16384:~~k;b[1206338+((a|1)<<1)>>1]=d;f=j<-16384.0?-16384:j>16384.0?16384:~~j;b[1206338+((a|2)<<1)>>1]=f;g=i<-16384.0?-16384:i>16384.0?16384:~~i;b[1206338+((a|3)<<1)>>1]=g;if(((d<<16>>16)+(c<<16>>16)+(f<<16>>16)+(g<<16>>16)|0)!=16384){m=d<<16>>16>c<<16>>16?a|1:a;m=f<<16>>16>(b[1206338+(m<<1)>>1]|0)?a|2:m;a=1206338+((g<<16>>16>(b[1206338+(m<<1)>>1]|0)?a|3:m)<<1)|0;b[a>>1]=16384-((d<<16>>16)+(c<<16>>16)+(f<<16>>16)+(g<<16>>16))+(e[a>>1]|0)}h=h+1|0}while((h|0)!=1024);return}function ELa(a){a=a|0;var c=0.0,d=0.0,e=0.0,f=0.0,h=0,j=0;j=i;i=i+32|0;h=0;do{f=(+(h|0)+-1024.0)*.00048828125;a=0;c=0.0;do{d=+(a|0)-f;if(+N(+(d+-3.5))<1.0e-08){e=.8999999761581421;d=1.0}else{e=+R(+((d+-3.5)*2.8274333133294083))/((d+-3.5)*3.141592653589793);d=.42-+Q(+(d*.8975979010256552))*.5+ +Q(+(d*1.7951958020513104))*.08}e=e*d;g[j+(a<<2)>>2]=e;c=e+c;a=a+1|0}while((a|0)!=8);a=h<<3;f=+M(+(32768.0/c*+g[j>>2]+.5));b[1214530+(a<<1)>>1]=f<-32768.0?-32768:~~f;f=+M(+(32768.0/c*+g[j+4>>2]+.5));b[1214530+((a|1)<<1)>>1]=f<-32768.0?-32768:~~f;f=+M(+(32768.0/c*+g[j+8>>2]+.5));b[1214530+((a|2)<<1)>>1]=f<-32768.0?-32768:~~f;f=+M(+(32768.0/c*+g[j+12>>2]+.5));b[1214530+((a|3)<<1)>>1]=f<-32768.0?-32768:~~f;f=+M(+(32768.0/c*+g[j+16>>2]+.5));b[1214530+((a|4)<<1)>>1]=f<-32768.0?-32768:~~f;f=+M(+(32768.0/c*+g[j+20>>2]+.5));b[1214530+((a|5)<<1)>>1]=f<-32768.0?-32768:~~f;f=+M(+(32768.0/c*+g[j+24>>2]+.5));b[1214530+((a|6)<<1)>>1]=f<-32768.0?-32768:~~f;f=+M(+(32768.0/c*+g[j+28>>2]+.5));b[1214530+((a|7)<<1)>>1]=f<-32768.0?-32768:~~f;h=h+1|0}while((h|0)!=2049);i=j;return}function FLa(a,b,c){a=a|0;b=b|0;c=c|0;b=wBb(b|0,((b|0)<0)<<31>>31|0,a|0,((a|0)<0)<<31>>31|0)|0;c=xBb(b|0,C|0,c|0,((c|0)<0)<<31>>31|0)|0;return c|0}function GLa(a,b,c){a=a|0;b=b|0;c=c|0;b=wBb(b|0,((b|0)<0)<<31>>31|0,a|0,((a|0)<0)<<31>>31|0)|0;b=jBb(c>>1|0,((c>>1|0)<0)<<31>>31|0,b|0,C|0)|0;c=xBb(b|0,C|0,c|0,((c|0)<0)<<31>>31|0)|0;return c|0}function HLa(a){a=a|0;var b=0;if((c[9749]|0)>>>0>128)c[9749]=128;b=c[9751]|0;if(b>>>0<4e3){c[9751]=4e3;b=4e3}else if(b>>>0>192e3){c[9751]=192e3;b=192e3}b=((b*146|0)>>>0)/1e5|0;c[9754]=b>>>0<8?8:b;c[182101]=0;c[182100]=0;ILa(a);return 1}function ILa(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[9758]|0;if(!b){c[9758]=100;b=100}d=c[9756]|0;if(!d){c[9756]=14;d=14}e=c[9760]|0;if(!e){c[9760]=20;e=20}f=c[9755]|0;if(f>>>0>8)c[9755]=8;else if(f>>>0<2)c[9755]=2;if(a){c[186200]=0;c[186201]=0}c[186202]=0;c[186203]=0;c[186204]=0;c[186205]=0;c[186206]=0;c[186207]=0;c[186208]=0;f=c[182099]|0;if(f&64|0){hBb(744836,0,256)|0;hBb(745092,0,256)|0;hBb(745348,0,256)|0;hBb(745604,0,38400)|0;e=((_(e,c[9751]|0)|0)>>>0)/1e3|0;c[186202]=e>>>0>9600?9600:e;e=c[9759]|0;if(e>>>0<8)e=(32>>>e)+32|0;else e=e>>>0<16?(e*7|0)+-48|0:64;c[196001]=e>>2}if(!(f&128))c[196002]=0;else{b=_(b,c[9751]|0)|0;e=(c[9757]|0)+1|0;b=b>>>0>38400999?38400:(b>>>0)/1e3|0;if(!((b|0)==(c[196002]|0)&(a^1)&(e|0)==(c[196003]|0))){c[196003]=e;c[196002]=b;c[196004]=0;c[196005]=0;c[196006]=0;c[196007]=0;c[196008]=0;c[196009]=0;c[196010]=0;c[196011]=0;c[196012]=0;c[196013]=(((b*13|0)>>>0)/17|0)>>>0>29364?29364:((b*13|0)>>>0)/17|0;c[196014]=(((b*7|0)>>>0)/13|0)>>>0>20676?20676:((b*7|0)>>>0)/13|0;c[196015]=(((b*7|0)>>>0)/19|0)>>>0>14147?14147:((b*7|0)>>>0)/19|0;hBb(784064,0,256)|0;hBb(784320,0,256)|0;hBb(784576,0,153600)|0;hBb(938176,0,117456)|0;hBb(1055632,0,82704)|0;hBb(1138336,0,56588)|0;c[298731]=0;c[298732]=0;c[298733]=0;c[298734]=0;c[298735]=0;c[298736]=0;c[298737]=0;c[298738]=0}}if(!(f&32))b=0;else{d=((_(d,c[9751]|0)|0)>>>0)/1e4|0;d=d>>>0>64?64:d;b=2;while(1)if(b>>>0>d>>>0)break;else b=b<<1;if(((b>>>1)+-1|0)==(c[298739]|0)&(a^1))return;else b=(b>>>1)+-1|0}c[298739]=b;c[298740]=0;c[298741]=0;c[298742]=0;hBb(1194972,0,256)|0;hBb(1195228,0,256)|0;return}function JLa(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[a+59660>>2]|0;if(d&1024|0){a=0;return a|0}e=c[9751]|0;b=wBb(e|0,((e|0)<0)<<31>>31|0,b|0,((b|0)<0)<<31>>31|0)|0;b=xBb(b|0,C|0,1e3,0)|0;c[a+59784>>2]=b;c[a+59780>>2]=b;c[a+59660>>2]=d|1024;a=1;return a|0}function KLa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;n=i;i=i+16|0;c[n+4>>2]=2147483647;c[n>>2]=-2147483647;c[a+59672>>2]=0;e=c[9750]|0;switch(c[9752]|0){case 16:{e=e<<1;l=84;break}case 24:{e=e*3|0;l=85;break}case 32:{e=e<<2;l=86;break}default:l=83}m=(d>>>0)/(e>>>0)|0;if(!((b|0)!=0&(m|0)!=0)){a=0;i=n;return a|0}if(!(c[a+59664>>2]|0)){a=0;i=n;return a|0}a:do if(!(c[a+59660>>2]&512)){g=c[a+59676>>2]|0;k=m;j=b;d=0;while(1){do if(!g){b=c[a+59660>>2]|0;if(b&256|0){c[a+59660>>2]=b|512;c[a+59676>>2]=k;break}if(!(PLa(a)|0)){b=c[9751]|0;b=wBb(b|0,((b|0)<0)<<31>>31|0,100,0)|0;b=xBb(b|0,C|0,1e3,0)|0;if((b|0)<1){c[a+59660>>2]=c[a+59660>>2]|512;if((k|0)==(m|0)){f=m;b=j;break a}c[a+59676>>2]=k;break}b=(b|0)>1048576?1048576:b;c[a+59676>>2]=b;f=c[a+59668>>2]|0;if(f|0){h=0;do{g=c[a+32768+(h<<2)>>2]|0;if(a+(g<<8)|0){c[a+(g<<8)+100>>2]=0;c[a+(g<<8)+104>>2]=0;p=c[a+(g<<8)+16>>2]|0;c[a+(g<<8)+24>>2]=(0-p<<12|0)/(b|0)|0;o=c[a+(g<<8)+20>>2]|0;c[a+(g<<8)+28>>2]=(0-o<<12|0)/(b|0)|0;c[a+(g<<8)+48>>2]=p<<12;c[a+(g<<8)+52>>2]=o<<12;c[a+(g<<8)+92>>2]=b;c[a+(g<<8)+36>>2]=c[a+(g<<8)+36>>2]|32768}h=h+1|0}while((h|0)!=(f|0))}c[a+59660>>2]=c[a+59660>>2]|256}}while(0);h=c[a+59676>>2]|0;h=h>>>0>512?512:h;h=h>>>0>k>>>0?k:h;if(!h){f=k;b=j;break a}c[182102]=0;jMa(728412,h,728400,728404);if((c[9750]|0)>>>0>1){b=kMa(a,h)|0;c[a+59672>>2]=(c[a+59672>>2]|0)+b;DNa(h);b=h<<1}else{b=kMa(a,h)|0;c[a+59672>>2]=(c[a+59672>>2]|0)+b;DNa(h);ENa(728412,h);b=h}d=d+1|0;if((c[9750]|0)>>>0>2)b=b<<1;if(0)ba(728412,b|0,c[9750]|0);b=j+(Ci[l&127](j,728412,b,n+4|0,n)|0)|0;f=k-h|0;g=(c[a+59676>>2]|0)-h|0;c[a+59676>>2]=g;if((k|0)==(h|0))break;else{k=f;j=b}}}else{f=m;d=0}while(0);if(f|0)hBb(b|0,((c[9752]|0)==8?-128:0)|0,_(f,e)|0)|0;o=c[n+4>>2]>>20;c[n+4>>2]=o;p=c[n>>2]>>20;c[n>>2]=(p|0)<(o|0)?o:p;if(d|0)c[a+59672>>2]=((d+-1+(c[a+59672>>2]|0)|0)>>>0)/(d>>>0)|0;p=m-f|0;i=n;return p|0}function LLa(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;h=c[f>>2]|0;i=c[g>>2]|0;if(!e){d=i;b=h;c[f>>2]=b;c[g>>2]=d;return e|0}else j=0;do{k=c[d+(j<<2)>>2]|0;k=(k|0)<-134217728?-134217728:(k|0)>134217727?134217727:k;l=(k|0)<(h|0);i=l?i:(k|0)>(i|0)?k:i;h=l?k:h;a[b+j>>0]=k>>>20^128;j=j+1|0}while((j|0)!=(e|0));c[f>>2]=h;c[g>>2]=i;return e|0}function MLa(a,d,e,f,g){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;h=c[f>>2]|0;i=c[g>>2]|0;if(!e){d=i;a=h;c[f>>2]=a;c[g>>2]=d;f=e<<1;return f|0}else j=0;do{k=c[d+(j<<2)>>2]|0;k=(k|0)<-134217728?-134217728:(k|0)>134217727?134217727:k;l=(k|0)<(h|0);i=l?i:(k|0)>(i|0)?k:i;h=l?k:h;b[a+(j<<1)>>1]=k>>>12;j=j+1|0}while((j|0)!=(e|0));c[f>>2]=h;c[g>>2]=i;l=e<<1;return l|0}function NLa(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;h=c[f>>2]|0;i=c[g>>2]|0;if(!e){d=i;b=h;c[f>>2]=b;c[g>>2]=d;f=e*3|0;return f|0}else j=0;do{l=c[d+(j<<2)>>2]|0;l=(l|0)<-134217728?-134217728:(l|0)>134217727?134217727:l;k=(l|0)<(h|0);i=k?i:(l|0)>(i|0)?l:i;h=k?l:h;k=j*3|0;a[b+k>>0]=l>>>4;a[b+(k+1)>>0]=0;a[b+(k+2)>>0]=0;j=j+1|0}while((j|0)!=(e|0));c[f>>2]=h;c[g>>2]=i;l=e*3|0;return l|0}function OLa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;g=c[e>>2]|0;h=c[f>>2]|0;if(!d){b=h;a=g;c[e>>2]=a;c[f>>2]=b;e=d<<2;return e|0}else i=0;do{j=c[b+(i<<2)>>2]|0;j=(j|0)<-134217728?-134217728:(j|0)>134217727?134217727:j;k=(j|0)<(g|0);g=k?j:g;h=k?h:(j|0)>(h|0)?j:h;c[a+(i<<2)>>2]=j<<4;i=i+1|0}while((i|0)!=(d|0));c[e>>2]=g;c[f>>2]=h;k=d<<2;return k|0}function PLa(f){f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0;if(!(QLa(f)|0)){f=0;return f|0}c[f+59696>>2]=(c[f+59696>>2]|0)+1;g=c[f+59712>>2]|0;if(!g){f=0;return f|0}c[f+59676>>2]=((_((c[9751]|0)*5|0,c[f+59756>>2]|0)|0)>>>0)/(g<<8>>>0)|0;g=c[f+59664>>2]|0;g=g>>>0>31?31:g;if(c[f+59680>>2]&32)g=(g|0)<6&(c[f+59688>>2]|0)!=0?6:g;h=c[f+59740>>2]|0;if((h|0)>128)h=((_(h+-128|0,g+4|0)|0)/16|0)+128|0;i=c[((c[182099]&4|0)==0?39100:39164)+(g>>1<<2)>>2]|0;g=(_((c[f+59748>>2]|0)+16|0,h)|0)>>>6;g=g>>>0>512?512:g;if(c[f+59660>>2]&1024){h=c[f+59784>>2]|0;if(h){F=c[f+59780>>2]|0;g=wBb(F|0,((F|0)<0)<<31>>31|0,g|0,0)|0;g=xBb(g|0,C|0,h|0,((h|0)<0)<<31>>31|0)|0}}D=(g<<7>>>0)/(i>>>0)|0;D=D>>>0>384?384:D;c[f+59668>>2]=0;E=0;F=f;a:while(1){B=F+36|0;p=c[B>>2]|0;if(p&1024|0)if(!(c[F+16>>2]|c[F+124>>2]|c[F+20>>2])){c[F+32>>2]=0;c[F+88>>2]=0;c[F+84>>2]=0}do if(!(p&256)){if(E>>>0>=(c[f+59664>>2]|0)>>>0)if(!(c[F+32>>2]|0)){z=17;break}y=F+12|0;c[y>>2]=0;w=F+108|0;c[w>>2]=0;s=c[F+120>>2]|0;l=(b[F+210>>1]|0)+s|0;x=F+112|0;l=(l|0)<0?0:l;l=(l|0)>256?256:l;c[x>>2]=l;A=F+92|0;c[A>>2]=0;u=F+128|0;g=c[u>>2]|0;if(!g)n=0;else{v=F+32|0;if(!(c[v>>2]|0))n=0;else{h=(b[F+208>>1]|0)+(c[F+116>>2]|0)|0;h=(h|0)<0?0:h;h=(h|0)>256?256:h;do if(!(p&131072))i=h;else{j=F+200|0;k=c[j>>2]|0;b:do if((h|0)>0){i=6-((c[f+59680>>2]|0)>>>2&1)|0;switch(d[F+227>>0]&3|0){case 1:{h=((_(d[F+229>>0]|0,b[167584+((k&63)<<1)>>1]|0)|0)>>i)+h|0;break b}case 2:{h=((_(d[F+229>>0]|0,b[167712+((k&63)<<1)>>1]|0)|0)>>i)+h|0;break b}case 3:{h=((_(d[F+229>>0]|0,b[167840+((k&63)<<1)>>1]|0)|0)>>i)+h|0;break b}default:{h=((_(d[F+229>>0]|0,b[167968+((k&63)<<1)>>1]|0)|0)>>i)+h|0;break b}}}while(0);if(!(c[f+59692>>2]|0)){if(!(c[f+59680>>2]&290)){i=h;break}if(c[f+59660>>2]&4|0){i=h;break}}c[j>>2]=(d[F+228>>0]|0)+k&63;i=h}while(0);t=F+216|0;h=a[t>>0]|0;if(h<<24>>24==18){j=d[F+243>>0]|0;o=c[f+59680>>2]|0;if(!(o&32))z=34;else if(!(c[f+59660>>2]&4)){m=(j>>>4)+(j&15)|0;n=j>>>4}else z=34;if((z|0)==34){z=0;m=(j>>>4)+(j&15)+2|0;n=(j>>>4)+1|0}k=F+242|0;j=d[k>>0]|0;j=j>>>0>=m>>>0?0:j;if(c[f+59692>>2]|o&34){a[k>>0]=j+1;i=j>>>0>>0?i:0}c[B>>2]=p|16777216;p=p|16777216}i=(i|0)<0?0:i;i=(i|0)>256?16384:i<<6;r=F+140|0;q=c[r>>2]|0;do if(!q)if(!(p&1024))z=71;else c[F+124>>2]=0;else{if(p&2097152){j=a[q+556>>0]|0;if(j<<24>>24){m=c[F+148>>2]|0;c:do if(j<<24>>24==1)k=(j&255)+-1|0;else{k=0;while(1){if((m|0)<=(e[q+12+(k<<1)>>1]|0))break c;k=k+1|0;if(k>>>0>=((j&255)+-1|0)>>>0){k=(j&255)+-1|0;break}}}while(0);n=e[q+12+(k<<1)>>1]|0;do if((m|0)<(n|0)){if(!k){j=0;o=0;break}o=k+-1|0;j=d[q+204+o>>0]<<2;o=e[q+12+(o<<1)>>1]|0}else{j=d[q+204+k>>0]<<2;o=n}while(0);m=(m|0)>(n|0)?n:m;if(n>>>0>o>>>0&(m|0)>(o|0))j=((_((d[q+204+k>>0]<<2)-j|0,m-o|0)|0)/(n-o|0)|0)+j|0;z=(j|0)<0?0:j;i=(_((z|0)>256?256:z,i)|0)>>8}}do if(p&4194304){k=a[q+557>>0]|0;if(!(k<<24>>24))break;n=c[F+152>>2]|0;d:do if(k<<24>>24==1)j=(k&255)+-1|0;else{j=0;while(1){if((n|0)<=(e[q+76+(j<<1)>>1]|0))break d;j=j+1|0;if(j>>>0>=((k&255)+-1|0)>>>0){j=(k&255)+-1|0;break}}}while(0);l=e[q+76+(j<<1)>>1]|0;m=d[q+236+j>>0]|0;do if((n|0)<(l|0)){if(!j){j=128;k=0;break}k=j+-1|0;j=d[q+236+k>>0]|0;k=e[q+76+(k<<1)>>1]|0}else{j=m;k=l}while(0);if(l>>>0>k>>>0&(n|0)>(k|0))j=((_(m-j|0,n-k|0)|0)/(l-k|0)|0)+j|0;l=(j|0)<0?0:j;l=((_((l|0)>64?32:l+-32|0,(s|0)>127?256-s|0:s)|0)/32|0)+s|0;l=(l|0)<0?0:l;l=(l|0)>256?256:l;c[x>>2]=l}while(0);do if(p&1024){j=c[q>>2]|0;if(!j){i=(c[F+124>>2]|0)==0?0:i;break}else{s=F+124|0;z=(c[s>>2]|0)-(j<<1)|0;z=(z|0)>0?z:0;c[s>>2]=z;i=(_(z,i)|0)>>16;break}}while(0);j=a[q+583>>0]|0;if(j<<24>>24==0|(l|0)==0){z=71;break}k=a[F+212>>0]|0;if(!(k<<24>>24)){z=71;break}z=((_((k&255)+-1-(d[q+584>>0]|0)|0,j<<24>>24)|0)/8|0)+l|0;z=(z|0)<0?0:z;c[x>>2]=(z|0)>256?256:z;z=71}while(0);if((z|0)==71){z=0;if(i|0){s=_(c[f+59744>>2]|0,i)|0;q=_(c[F+172>>2]|0,c[F+168>>2]|0)|0;s=wBb(q|0,((q|0)<0)<<31>>31|0,s|0,((s|0)<0)<<31>>31|0)|0;s=rBb(s|0,C|0,20)|0;c[w>>2]=s}}i=c[f+59764>>2]|0;if((g|0)<(i|0)){c[u>>2]=i;g=i}if((p&1572864|0)==1572864){g=hMa(f,g)|0;g=WLa(f,g,c[F+176>>2]|0,c[F+132>>2]|0)|0;h=a[t>>0]|0}e:do if(h<<24>>24==1)switch(((c[f+59692>>2]|0)>>>0)%3|0|0){case 1:{g=WLa(f,((d[F+217>>0]|0)>>>4)+(d[F+212>>0]|0)|0,c[F+176>>2]|0,c[F+132>>2]|0)|0;break e}case 2:{g=WLa(f,(d[F+217>>0]&15)+(d[F+212>>0]|0)|0,c[F+176>>2]|0,c[F+132>>2]|0)|0;break e}default:break e}while(0);if(c[f+59660>>2]&65536){g=(g|0)<452?452:g;g=(g|0)>3424?3424:g}m=c[r>>2]|0;do if(m){n=c[B>>2]|0;if(!(n&8388608))break;h=a[m+558>>0]|0;if(!(h<<24>>24))break;j=c[F+156>>2]|0;f:do if(h<<24>>24==1)i=(h&255)+-1|0;else{i=0;while(1){if((j|0)<=(e[m+140+(i<<1)>>1]|0))break f;i=i+1|0;if(i>>>0>=((h&255)+-1|0)>>>0){i=(h&255)+-1|0;break}}}while(0);k=e[m+140+(i<<1)>>1]|0;do if((j|0)<(k|0)){if(!i){h=0;l=0;break}l=i+-1|0;h=(d[m+268+l>>0]<<3)+-256|0;l=e[m+140+(l<<1)>>1]|0}else{h=(d[m+268+i>>0]<<3)+-256|0;l=k}while(0);j=(j|0)>(k|0)?k:j;if(k>>>0>l>>>0&(j|0)>(l|0))h=((_(-256-h+(d[m+268+i>>0]<<3)|0,j-l|0)|0)/(k-l|0)|0)+h|0;h=(h|0)<-256?-256:h;i=(h|0)>256?256:h;if(c[m+4>>2]&1024|0){XLa(f,F,(n&16384|0)==0,i);break}if((i|0)<0){u=c[39228+(((0-i|0)>255?255:0-i|0)<<2)>>2]|0;g=wBb(u|0,((u|0)<0)<<31>>31|0,g|0,((g|0)<0)<<31>>31|0)|0;g=rBb(g|0,C|0,16)|0;break}else{u=c[40252+(((i|0)>255?255:h)<<2)>>2]|0;g=wBb(u|0,((u|0)<0)<<31>>31|0,g|0,((g|0)<0)<<31>>31|0)|0;g=rBb(g|0,C|0,16)|0;break}}while(0);o=c[B>>2]|0;do if(o&65536){k=F+196|0;l=c[k>>2]|0;switch(d[F+224>>0]&3|0){case 1:{h=b[167584+(l<<1)>>1]|0;break}case 2:{h=b[167712+(l<<1)>>1]|0;break}case 3:{h=b[167840+(l<<1)>>1]|0;break}default:h=b[167968+(l<<1)>>1]|0}m=c[f+59680>>2]|0;n=c[f+59660>>2]|0;h=(_(d[F+226>>0]|0,h)|0)>>((n&4|0)!=0|(m|0)!=32?6:7);do if(!((n&16|0)==0|(m&32|0)==0))if((h|0)<0){j=c[40252+(0-h>>2<<2)>>2]|0;i=((g|0)<0)<<31>>31;j=wBb(j|0,((j|0)<0)<<31>>31|0,g|0,i|0)|0;j=rBb(j|0,C|0,16)|0;j=j-g|0;if(!(0-h&3)){h=j;break}h=c[41276+((0-h&3)<<2)>>2]|0;h=wBb(h|0,((h|0)<0)<<31>>31|0,g|0,i|0)|0;h=rBb(h|0,C|0,16)|0;h=j-g+h|0;break}else{j=c[39228+(h>>2<<2)>>2]|0;i=((g|0)<0)<<31>>31;j=wBb(j|0,((j|0)<0)<<31>>31|0,g|0,i|0)|0;j=rBb(j|0,C|0,16)|0;j=j-g|0;if(!(h&3)){h=j;break}h=c[41340+((h&3)<<2)>>2]|0;h=wBb(h|0,((h|0)<0)<<31>>31|0,g|0,i|0)|0;h=rBb(h|0,C|0,16)|0;h=j-g+h|0;break}while(0);g=h+g|0;if(!(c[f+59692>>2]|0))if(!((m&32|0)!=0&(n&4|0)==0))break;c[k>>2]=(d[F+225>>0]|0)+l&63}while(0);if(o&262144|0){h=F+204|0;i=c[h>>2]|0;switch(d[F+230>>0]&3|0){case 1:{j=b[167584+(((i+16|0)>>>2&63)<<1)>>1]|0;break}case 2:{j=b[167712+(((i+16|0)>>>2&63)<<1)>>1]|0;break}case 3:{j=b[167840+(((i+16|0)>>>2&63)<<1)>>1]|0;break}default:j=b[167968+(((i+16|0)>>>2&63)<<1)>>1]|0}c[h>>2]=i+(d[F+231>>0]|0);u=(_(d[F+232>>0]|0,j)|0)+2>>3;u=u+(c[x>>2]|0)|0;u=(u|0)<0?0:u;c[x>>2]=(u|0)>256?256:u}k=c[F+144>>2]|0;do if(!k)h=0;else{j=a[k+40>>0]|0;if(!(j<<24>>24)){h=0;break}h=a[k+39>>0]|0;do if(!(h<<24>>24)){c[F+188>>2]=(j&255)<<8;i=(j&255)<<8}else{do if(!(c[f+59680>>2]&32))if(!(o&512)){u=F+188|0;i=(c[u>>2]|0)+(((j&255)<<8>>>0)/((h&255)>>>0)|0)|0;c[u>>2]=i;h=u;break}else{i=F+188|0;h=i;i=c[i>>2]|0;break}else{u=F+188|0;i=(c[u>>2]|0)+((h&255)<<3)|0;c[u>>2]=i;h=u}while(0);if((i>>8|0)<=(j&255|0))break;c[h>>2]=(j&255)<<8;i=(j&255)<<8}while(0);h=F+192|0;j=(c[h>>2]|0)+(d[k+41>>0]|0)|0;c[h>>2]=j;switch(d[k+38>>0]|0){case 4:{u=b[167840+((j&63)<<1)>>1]|0;c[h>>2]=j+1;h=u;break}case 3:{h=(64-(j>>>1)&127)+-64|0;break}case 2:{h=((j>>>1)+64&127)+-64|0;break}case 1:{h=(j&128)+-64|0;break}default:h=a[521177+(j&255)>>0]|0}i=_(i,h)|0;if(!(c[f+59680>>2]&32)){h=0;g=(i>>14)+g|0;break}if((i>>8|0)<0){j=39228+(0-(i>>8)>>8<<2)|0;k=39228+((0-(i>>8)>>8)+1<<2)|0;h=0-(i>>8)|0}else{j=40252+(i>>16<<2)|0;k=40252+((i>>16)+1<<2)|0;h=i>>8}u=c[j>>2]|0;h=((_((c[k>>2]|0)-u|0,h>>>2&63)|0)>>6)+u|0;g=wBb(h|0,((h|0)<0)<<31>>31|0,g|0,((g|0)<0)<<31>>31|0)|0;g=rBb(g|0,C|0,8)|0;h=g&255;g=g>>8}while(0);i=c[f+59764>>2]|0;do if((g|0)>(i|0))i=g;else{if(!(c[f+59680>>2]&2))break;c[v>>2]=0}while(0);g=c[f+59768>>2]|0;do if((i|0)>(g|0)){if(!((i|0)>1048575?1:(c[f+59680>>2]&32|0)!=0)){h=0;break}c[F+124>>2]=0;c[B>>2]=o|1024;c[w>>2]=0;h=0}else g=i;while(0);g=iMa(f,g,c[F+132>>2]|0,h)|0;if(g>>>0<256?(c[f+59680>>2]&32|0)!=0:0){c[F+124>>2]=0;c[B>>2]=c[B>>2]|1024;c[w>>2]=0}v=c[9751]|0;u=pBb(g|0,((g|0)<0)<<31>>31|0,16)|0;v=xBb(u|0,C|0,v|0,((v|0)<0)<<31>>31|0)|0;v=(v+-65456|0)>>>0<225?65536:v;u=c[f+59752>>2]|0;n=(_(v,u)|0)>>>7;n=(u|0)==128?v:n;n=n>>>0>16711680?16711680:n+1&-4;c[y>>2]=n}}m=c[F+140>>2]|0;h=c[B>>2]|0;do if(m){do if(h&2097152){l=F+148|0;g=(c[l>>2]|0)+1|0;c[l>>2]=g;k=c[m+4>>2]|0;do if(k&4){i=a[m+560>>0]|0;j=c[f+59680>>2]|0;if((g|0)==(((j|0)!=4&1)+(e[m+12+((i&255)<<1)>>1]|0)|0)){v=a[m+559>>0]|0;g=e[m+12+((v&255)<<1)>>1]|0;c[l>>2]=g;if(i<<24>>24==v<<24>>24)if(!(a[m+204+(i&255)>>0]|0)){if(j&4|0)if(((i&255)+1|0)!=(d[m+556>>0]|0))break;c[B>>2]=h|1024;c[F+124>>2]=0;h=h|1024}}}while(0);if((k&2|0)!=0&(h&512|0)==0){if((g|0)!=((e[m+12+(d[m+562>>0]<<1)>>1]|0)+1|0))break;c[l>>2]=e[m+12+(d[m+561>>0]<<1)>>1];break}i=(d[m+556>>0]|0)+-1|0;j=e[m+12+(i<<1)>>1]|0;if(g>>>0>j>>>0){g=c[f+59680>>2]&32;if(g|h&512){h=h|1024;c[B>>2]=h}c[l>>2]=j;if(!(a[m+204+i>>0]|0)){if(!(g|0?1:E>>>0>=(c[f+59664>>2]|0)>>>0))break;h=h|1024;c[B>>2]=h;c[F+124>>2]=0;c[w>>2]=0}}}while(0);do if(h&4194304|0){j=F+152|0;g=(c[j>>2]|0)+1|0;c[j>>2]=g;i=c[m+4>>2]|0;if(i&32)if((g|0)==(((c[f+59680>>2]|0)!=4&1)+(e[m+76+(d[m+564>>0]<<1)>>1]|0)|0)){g=e[m+76+(d[m+563>>0]<<1)>>1]|0;c[j>>2]=g}if(i&16|0)if((h&512|0)==0?(g|0)==((e[m+76+(d[m+566>>0]<<1)>>1]|0)+1|0):0){c[j>>2]=e[m+76+(d[m+565>>0]<<1)>>1];break}i=e[m+76+((d[m+557>>0]|0)+-1<<1)>>1]|0;if(g>>>0>i>>>0)c[j>>2]=i}while(0);if(h&8388608){k=F+156|0;g=(c[k>>2]|0)+1|0;c[k>>2]=g;i=c[m+4>>2]|0;if(!(i&256))j=g;else if(g>>>0<(e[m+140+(d[m+568>>0]<<1)>>1]|0)>>>0)j=g;else{j=e[m+140+(d[m+567>>0]<<1)>>1]|0;c[k>>2]=j}if((i&128|0)!=0&(h&512|0)==0){if((j|0)!=((e[m+140+(d[m+570>>0]<<1)>>1]|0)+1|0))break;c[k>>2]=e[m+140+(d[m+569>>0]<<1)>>1];break}else{g=e[m+140+((d[m+558>>0]|0)+-1<<1)>>1]|0;if(j>>>0<=g>>>0)break;c[k>>2]=g;break}}}while(0);g=h&-32769;c[B>>2]=g;i=c[w>>2]|0;if(!i)if(!(c[F+20>>2]|0)){if(c[F+16>>2]|0)z=193}else z=193;else z=193;if((z|0)==193){z=0;g=h|32768;c[B>>2]=g}if(((n>>16)+1|0)>=((c[F+44>>2]|0)-(c[F+40>>2]|0)|0)){g=g&-3;c[B>>2]=g}k=F+104|0;c[k>>2]=0;j=F+100|0;c[j>>2]=0;h=c[F+96>>2]|0;if(h|0)if(!((c[F+32>>2]|0)==0|(n|0)==0)){c[F>>2]=h;do if((c[9750]|0)>>>0>1){h=((_((c[x>>2]|0)+-128|0,c[9748]|0)|0)/128|0)+128|0;h=(h|0)<0?0:h;h=(h|0)>256?256:h;x=c[182099]|0;h=(x&1|0)==0?h:256-h|0;i=_(i,D)|0;if(!(x&512)){x=(_(h,i>>>7)|0)>>8;c[k>>2]=x;h=(_(256-h|0,i>>>7)|0)>>8;c[j>>2]=h;i=x;break}if((h|0)<128){x=(_(h,i>>>7)|0)>>8;c[k>>2]=x;c[j>>2]=i>>8;h=i>>8;i=x;break}else{c[k>>2]=i>>8;h=(_(256-h|0,i>>>7)|0)>>8;c[j>>2]=h;i=i>>8;break}}else{i=(_(i,D)|0)>>>8;c[j>>2]=i;c[k>>2]=i;h=i}while(0);if((h|0)>65535){c[j>>2]=65535;h=65535}if((i|0)>65535){c[k>>2]=65535;i=65535}do if(!(c[182099]&8)){g=g&-12289;c[B>>2]=g;if((n|0)==65536){c[B>>2]=g|4096;r=g|4096;break}if(!((n|0)>65279&(c[182099]&1040|0)==0)){r=g;break}c[B>>2]=g|4096;r=g|4096}else{r=g|4096;c[B>>2]=r}while(0);h=h>>4;c[j>>2]=h;g=i>>4;c[k>>2]=g;p=F+28|0;c[p>>2]=0;q=F+24|0;c[q>>2]=0;if((r&2048|0)!=0&(c[9750]|0)>>>0<3){c[k>>2]=0-g;g=0-g|0}if(r&128|0)c[y>>2]=0-n;o=F+16|0;do if(!(r&32768)){i=F+20|0;z=230}else{m=c[o>>2]|0;i=F+20|0;j=c[i>>2]|0;if((h|0)==(m|0)&(g|0)==(j|0)){z=230;break}k=c[9754]|0;n=g-j<<12;l=c[182099]|0;do if(!(l&65536)){if(!0){l=k;break}if((r&16777216|0)==0&((0>20|(l&16|0)==0|(j|m|0)==0|(g|h|0)==0)^1))z=226;else l=k}else if((g|h|0)!=0&(j|m|0)!=0&(r&16777216|0)==0)z=226;else l=k;while(0);if((z|0)==226){z=0;l=c[f+59676>>2]|0;l=(l|0)>2048?2048:l;l=(l|0)<(k|0)?k:l}y=(h-m<<12|0)/(l|0)|0;c[q>>2]=y;x=(n|0)/(l|0)|0;c[p>>2]=x;j=h-((_(y,l)|0)>>12)|0;c[o>>2]=j;k=g-((_(x,l)|0)>>12)|0;c[i>>2]=k;if(!(x|y)){c[B>>2]=r&-32769;c[o>>2]=h;c[i>>2]=g;break}else{c[A>>2]=l;h=j;g=k;break}}while(0);if((z|0)==230){z=0;c[B>>2]=r&-32769;c[o>>2]=h;c[i>>2]=g}c[F+48>>2]=h<<12;c[F+52>>2]=g<<12;g=c[f+59668>>2]|0;c[f+59668>>2]=g+1;c[f+32768+(g<<2)>>2]=E;g=c[f+59668>>2]|0;if(g>>>0>127)break a;else break}c[F>>2]=0;g=F+164|0;if((c[g>>2]|0)>>>0>255)c[g>>2]=0;c[F+16>>2]=0;c[F+20>>2]=0;c[F+32>>2]=0}else z=17;while(0);if((z|0)==17){z=0;c[F+164>>2]=0}E=E+1|0;if(E>>>0>=128){z=236;break}else F=F+256|0}if((z|0)==236)g=c[f+59668>>2]|0;if(g>>>0>=(c[9749]|0)>>>0)if(!((c[182099]&65536|0)!=0|(g|0)==0)){m=0;do{h=m;m=m+1|0;g:do if(m>>>0>>0){k=c[f+32768+(h<<2)>>2]|0;l=m;while(1){i=f+32768+(l<<2)|0;j=c[i>>2]|0;if((c[f+(k<<8)+108>>2]|0)>=(c[f+(j<<8)+108>>2]|0))break g;c[f+32768+(h<<2)>>2]=j;c[i>>2]=k;h=l+1|0;g=c[f+59668>>2]|0;if(h>>>0>>0){F=l;l=h;h=F}else break}}while(0)}while(m>>>0>>0)}g=c[f+59660>>2]|0;if(!(g&1024)){f=1;return f|0}h=c[f+59780>>2]|0;if(!h){c[f+59660>>2]=g|512;f=0;return f|0}g=c[f+59676>>2]|0;if(h>>>0>g>>>0){c[f+59780>>2]=h-g;f=1;return f|0}else{c[f+59780>>2]=0;f=1;return f|0}return 0}function QLa(b){b=b|0;var d=0,f=0,g=0,h=0,i=0;f=(c[b+59692>>2]|0)+1|0;c[b+59692>>2]=f;d=c[b+59708>>2]|0;g=_((c[b+59700>>2]|0)+1|0,d)|0;if(f>>>0>=(g+(c[b+59704>>2]|0)|0)>>>0){c[b+59700>>2]=0;c[b+59704>>2]=0;c[b+59692>>2]=0;c[b+59720>>2]=c[b+59716>>2];d=c[b+59728>>2]|0;f=c[b+59732>>2]|0;if((d|0)!=(f|0)){c[b+59728>>2]=f;d=f}if(!(c[b+59660>>2]&32)){do if(d>>>0<256){f=a[b+53344+d>>0]|0;c[b+59724>>2]=f&255;if((f&255)<240)if(!(c[b+51904+((f&255)<<2)>>2]|0)){c[b+59724>>2]=254;g=b+59724|0;d=254;h=11;break}if((f&255)>239){g=b+59724|0;d=f&255;h=11}}else{c[b+59724>>2]=255;g=b+59724|0;d=255;h=11}while(0);do if((h|0)==11){if((d|0)==255){b=0;return b|0}a:while(1){d=c[b+59728>>2]|0;if(d>>>0>255){d=0;h=42;break}c[b+59728>>2]=d+1;do if((d+1|0)>>>0<256){d=a[b+53344+(d+1)>>0]|0;c[g>>2]=d&255;if((d&255)<240)if(!(c[b+51904+((d&255)<<2)>>2]|0)){c[g>>2]=254;d=254;break}if((d&255)>239)d=d&255;else{h=20;break a}}else{c[g>>2]=255;d=255}while(0);if((d|0)==255){d=0;h=42;break}}if((h|0)==20){d=c[b+59728>>2]|0;break}else if((h|0)==42)return d|0}while(0);c[b+59732>>2]=d}g=c[b+59724>>2]|0;if(g>>>0>239){b=0;return b|0}if(!(c[b+51904+(g<<2)>>2]|0)){b=0;return b|0}f=c[b+59720>>2]|0;if(f>>>0>=(e[b+52864+(g<<1)>>1]|0)>>>0){c[b+59720>>2]=0;f=0}h=f+1|0;c[b+59716>>2]=h;if(h>>>0>=(e[b+52864+(g<<1)>>1]|0)>>>0){if(!(c[b+59660>>2]&32))c[b+59732>>2]=d+1;c[b+59716>>2]=0}h=c[b+59664>>2]|0;if(h|0){d=(c[b+51904+(g<<2)>>2]|0)+((_(h,f)|0)*6|0)|0;f=0;g=b;while(1){a[g+246>>0]=a[d>>0]|0;a[g+247>>0]=a[d+1>>0]|0;a[g+248>>0]=a[d+2>>0]|0;a[g+249>>0]=a[d+4>>0]|0;a[g+250>>0]=a[d+3>>0]|0;a[g+251>>0]=a[d+5>>0]|0;c[g+20>>2]=c[g+104>>2];c[g+16>>2]=c[g+100>>2];i=g+36|0;c[i>>2]=c[i>>2]&-983041;a[g+216>>0]=0;f=f+1|0;if(f>>>0>=h>>>0)break;else{d=d+6|0;g=g+256|0}}}d=c[b+59708>>2]|0}if(!d){c[b+59708>>2]=1;d=1}f=c[b+59660>>2]|0;c[b+59660>>2]=f|4096;g=c[b+59692>>2]|0;if(g|0){c[b+59660>>2]=f&-4097;if(!(c[b+59680>>2]&4))if(g>>>0<(_((c[b+59700>>2]|0)+1|0,d)|0)>>>0)if(!((g>>>0)%(d>>>0)|0))c[b+59660>>2]=f|4096}i=RLa(b)|0;return i|0}function RLa(b){b=b|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;f=c[b+59664>>2]|0;a:do if(!f){i=b+59692|0;f=0;j=-1;g=-1;h=-1}else{w=-1;x=0;g=-1;h=-1;y=b;while(1){o=a[y+247>>0]|0;t=a[y+248>>0]|0;s=a[y+249>>0]|0;u=a[y+250>>0]|0;j=a[y+251>>0]|0;switch(u<<24>>24){case 4:case 6:{q=0;break}default:q=t<<24>>24!=11}i=q&1^1;v=y+36|0;p=c[v>>2]|0;c[v>>2]=p&-16777217;do if((u+-19&255)<2){if(!(j<<24>>24))if(!(c[b+59680>>2]&34))z=10;else n=d[y+233>>0]|0;else z=10;if((z|0)==10){z=0;a[y+233>>0]=j;n=j&255}j=n&240;if((j|0)==208){r=n&15;f=n;break}if(!(c[b+59692>>2]|0)){if(!(u<<24>>24==19&(j|0)==96|u<<24>>24==20&(j|0)==176)){if((j|0)!=224){r=0;f=n;break}c[b+59700>>2]=n&15;r=0;f=n;break}l=n&15;b:do if(!l){a[y+244>>0]=c[b+59720>>2];f=-1}else{m=y+245|0;j=a[m>>0]|0;if(!(j<<24>>24)){if(f|0){j=0;k=b;while(1){if((k|0)!=(y|0))if(a[k+245>>0]|0){f=-1;break b}j=j+1|0;if(j>>>0>=f>>>0)break;else k=k+256|0}}a[m>>0]=l}else{a[m>>0]=j+-1<<24>>24;if(!(j+-1<<24>>24<<24>>24)){f=-1;break}}f=d[y+244>>0]|0}while(0);g=(f|0)>-1?f:g;r=0;f=n}else{r=0;f=n}}else{r=0;f=j&255}while(0);m=q^1;do if((c[b+59692>>2]|0)==(r|0)){n=a[y+246>>0]|0;if(o<<24>>24)a[y+215>>0]=o;k=c[b+59680>>2]|0;do if(n<<24>>24==-1&(k&1048581|0)!=0){j=c[y+140>>2]|0;if(j|0)if(c[j+4>>2]&1|0){z=35;break}c[v>>2]=p|16777216;c[y+116>>2]=0}else z=35;while(0);do if((z|0)==35){z=0;if(o<<24>>24!=0&n<<24>>24==0){if(!(c[b+59688>>2]|0)){if((o&255)<240)c[y+116>>2]=e[b+33280+((o&255)<<6)+30>>1]}else{j=c[y+144>>2]|0;if(j|0)c[y+116>>2]=e[j+30>>1];if(k&1048580|0){c[y+148>>2]=0;c[y+152>>2]=0;c[y+156>>2]=0;c[y+188>>2]=0;c[y+192>>2]=0;c[v>>2]=p&-16778241|16777216;c[y+124>>2]=65536}}j=(k&32|0)==0?0:o&255}else j=o&255;l=(n&255)>253|j>>>0>239?0:j;if(((n&255)+-1|0)>>>0<128){a[y+214>>0]=n;if(q)SLa(b,x,l,n&255,0)}if(!l){j=0;z=50}else{j=y+144|0;k=c[j>>2]|0;ULa(b,y,l,m,1,1);a[y+215>>0]=0;if(!(c[b+59680>>2]&34)){j=1;z=50}else{i=(((n&255)+-1|0)>>>0<127?(k|0)!=(c[j>>2]|0):0)?0:i;if(!(n<<24>>24))break;else j=1}}if((z|0)==50){z=0;if(!(n<<24>>24))break;if(j)j=1;else{j=y+215|0;k=a[j>>0]|0;if(n<<24>>24>-1&k<<24>>24!=0){ULa(b,y,k&255,m,0,(c[b+59680>>2]&1048580|0)==0);a[j>>0]=0;j=0}else j=0}}q=(i&1)!=0;VLa(b,x,n&255,q,(c[b+59680>>2]&1048580|0)==0);if(q)if(j&(c[b+59680>>2]&1048580|0)!=0){c[v>>2]=c[v>>2]|16777216;c[y+148>>2]=0;c[y+152>>2]=0;c[y+156>>2]=0;c[y+188>>2]=0;c[y+192>>2]=0}}while(0);if(t<<24>>24==1){c[y+116>>2]=(s&255)>64?256:(s&255)<<2;c[v>>2]=c[v>>2]|16777216;i=(i&1)!=0;break}i=(i&1)!=0;if(t<<24>>24==2){c[y+120>>2]=(s&255)>64?256:(s&255)<<2;c[v>>2]=c[v>>2]|16777216}else{m=i;z=61}}else z=61;while(0);c:do if((z|0)==61){z=0;if((t&255)>2){k=c[b+59692>>2]|0;if(k>>>0>>0)i=m;else{if(t<<24>>24==11)if(!(c[b+59680>>2]&32)){YLa(b,y,(s&255)<<4);i=m;break}else{YLa(b,y,d[521129+(s&15)>>0]|0);i=m;break}i=y+234|0;if(!(s<<24>>24))i=d[i>>0]|0;else{a[i>>0]=s;i=s&255}do switch(t&255|0){case 3:{ZLa(b,y,i<<4);i=m;break c}case 4:{ZLa(b,y,i);i=m;break c}case 5:{j=c[b+59680>>2]|0;if(j&32|0){if((k|0)!=(r|0)){i=m;break c}ZLa(b,y,i<<4|15);i=m;break c}if(!i)i=d[y+219>>0]|0;else a[y+219>>0]=i;if(!(c[b+59660>>2]&4096)){i=m;break c}t=y+116|0;s=(c[t>>2]|0)+(i<<2)|0;c[t>>2]=(s|0)>256?256:s;if(!(j&1)){i=m;break c}c[v>>2]=c[v>>2]|16777216;i=m;break c}case 6:{j=c[b+59680>>2]|0;if(j&32|0){if((k|0)!=(r|0)){i=m;break c}ZLa(b,y,i|240);i=m;break c}if(!i)i=d[y+219>>0]|0;else a[y+219>>0]=i;if(!(c[b+59660>>2]&4096)){i=m;break c}t=y+116|0;s=(c[t>>2]|0)-(i<<2)|0;c[t>>2]=(s|0)<0?0:s;if(!(j&1)){i=m;break c}c[v>>2]=c[v>>2]|16777216;i=m;break c}case 7:{i=i&15;if(i|0)a[y+225>>0]=i;c[v>>2]=c[v>>2]|65536;i=m;break c}case 8:{j=i&15;if(j|0)a[y+226>>0]=j<<2;if(i&240|0)a[y+225>>0]=i>>>4;c[v>>2]=c[v>>2]|65536;i=m;break c}case 9:{if(!i)i=d[y+222>>0]|0;else a[y+222>>0]=i;d:do if(!(c[b+59680>>2]&290)){if(c[b+59660>>2]&4096|0){i=m;break c}j=i&15;if(!j){i=i>>>2&60;break}else{i=0-(j<<2)|0;break}}else{k=i&15;i=i&240;do if((k|0)==15){j=(c[b+59660>>2]&4096|0)==0;if(!i)if(j){i=0;j=0;break}else{i=m;break c}if(j){i=m;break c}i=0-(i>>>2)|0;break d}else{j=(c[b+59660>>2]&4096|0)==0;if((k|0)==0|(i|0)!=240)if(j){j=(k|0)==0;break}else{i=m;break c}else if(j){i=m;break c}else{i=k<<2;break d}}while(0);if(j){i=0-(i>>>2)|0;break}else{i=k<<2;break}}while(0);if(!i){i=m;break c}t=y+120|0;i=(c[t>>2]|0)+i|0;i=(i|0)<0?0:i;c[t>>2]=(i|0)>256?256:i;i=m;break c}case 10:{j=i<<4;if(!i)j=d[y+222>>0]|0;else a[y+222>>0]=j;e:do if(!(c[b+59680>>2]&290)){if(c[b+59660>>2]&4096|0){i=m;break c}i=j&15;if(!i){i=j>>>2&60;break}else{i=0-(i<<2)|0;break}}else{k=j&15;i=j&240;do if((k|0)==15){j=(c[b+59660>>2]&4096|0)==0;if(!i)if(j){i=0;j=0;break}else{i=m;break c}if(j){i=m;break c}i=0-(i>>>2)|0;break e}else{j=(c[b+59660>>2]&4096|0)==0;if((k|0)==0|(i|0)!=240)if(j){j=(k|0)==0;break}else{i=m;break c}else if(j){i=m;break c}else{i=k<<2;break e}}while(0);if(j){i=0-(i>>>2)|0;break}else{i=k<<2;break}}while(0);if(!i){i=m;break c}t=y+120|0;i=(c[t>>2]|0)+i|0;i=(i|0)<0?0:i;c[t>>2]=(i|0)>256?256:i;i=m;break c}case 12:{_La(b,y,i<<2);i=m;break c}case 13:{$La(b,y,i<<2);i=m;break c}default:{i=m;break c}}while(0)}}else i=m}while(0);f:do if(!(u<<24>>24))j=w;else do switch(u&255|0){case 13:{if(c[b+59692>>2]|0){j=w;break f}c[y+116>>2]=f>>>0<64?f<<2:256;c[v>>2]=c[v>>2]|16777216;j=w;break f}case 2:{if(!f)if(c[b+59680>>2]&1|0){j=w;break f}_La(b,y,f);j=w;break f}case 3:{if(!f)if(c[b+59680>>2]&1|0){j=w;break f}$La(b,y,f);j=w;break f}case 11:{if(!f)if((c[b+59680>>2]|0)==1){j=w;break f}ZLa(b,y,f);j=w;break f}case 4:{YLa(b,y,f);j=w;break f}case 6:{if(!f){if((c[b+59680>>2]|0)!=1)z=159}else z=159;if((z|0)==159){z=0;ZLa(b,y,f)}YLa(b,y,0);j=w;break f}case 5:{i=f&15;if(i|0)a[y+226>>0]=i<<2;if(f&240|0)a[y+225>>0]=f>>>4&15;c[v>>2]=c[v>>2]|65536;j=w;break f}case 7:{if(!f){if((c[b+59680>>2]|0)!=1)z=168}else z=168;if((z|0)==168){z=0;ZLa(b,y,f)}c[v>>2]=c[v>>2]|65536;j=w;break f}case 16:{if(c[b+59692>>2]|0){j=w;break f}i=c[b+59680>>2]|0;j=(i|0)==32?256:128;if((f+-1|0)>>>0>126)z=173;else if(f>>>0>29&(i&1048581|0)!=0)z=173;if((z|0)==173){z=0;if(aMa(b,c[b+59728>>2]|0,(c[b+59720>>2]|0)+1|0)|0){JLa(b,1e3)|0;i=c[b+59680>>2]|0}}f=f>>>0>128&(i&2|0)!=0?f+-128|0:f;if((f+-1|0)>>>0>=j>>>0){j=w;break f}c[b+59708>>2]=f;j=w;break f}case 17:{if(c[b+59692>>2]|0){j=w;break f}do if(c[b+59680>>2]&34)if(!f){f=d[y+235>>0]|0;break}else{a[y+235>>0]=f;break}while(0);if(f>>>0>=32){c[b+59712>>2]=f;j=w;break f}i=f<<1&30;j=c[b+59712>>2]|0;if((f&240|0)==16){c[b+59712>>2]=(j+i|0)>>>0>255?255:j+i|0;j=w;break f}else{c[b+59712>>2]=(j-i|0)<32?32:j-i|0;j=w;break f}}case 10:{if(c[b+59692>>2]|0){j=w;break f}if(!f)f=d[y+236>>0]|0;else a[y+236>>0]=f;f=d[y+237>>0]<<16|f<<8;if((a[y+246>>0]|0)<=0){if(f>>>0>=(c[y+32>>2]|0)>>>0){j=w;break f}if(!(c[b+59680>>2]&131088)){j=w;break f}c[y+4>>2]=f;j=w;break f}j=y+4|0;if(!i)f=(c[j>>2]|0)+f|0;c[j>>2]=f;i=c[y+32>>2]|0;if(f>>>0>>0){j=w;break f}if(c[b+59680>>2]&1048580|0){j=w;break f}c[j>>2]=c[y+40>>2];if(!(i>>>0>4?(c[b+59660>>2]&4|0)!=0:0)){j=w;break f}c[j>>2]=i+-2;j=w;break f}case 1:{if(c[b+59692>>2]|0){j=w;break f}if(!(c[y+128>>2]|0)){j=w;break f}if(!(a[y+212>>0]|0)){j=w;break f}if(f|0){a[y+216>>0]=1;a[y+217>>0]=f;j=w;break f}if(!(c[b+59680>>2]&34)){j=w;break f}a[y+216>>0]=1;j=w;break f}case 15:{if(!(c[b+59680>>2]&1048580))if(!f)f=d[y+241>>0]|0;else z=215;else{if(!(f&240))f=d[y+241>>0]&240|f;if(!(f&15))f=d[y+241>>0]&15|f;f=f|256;z=215}if((z|0)==215){z=0;a[y+241>>0]=f}bMa(b,x,f);j=w;break f}case 18:{if(c[b+59692>>2]|0){j=w;break f}a[y+216>>0]=18;if(!f){j=w;break f}a[y+243>>0]=f;j=w;break f}case 23:{if(c[b+59692>>2]|0){j=w;break f}j=f<<((c[b+59680>>2]|0)!=32&1);c[b+59744>>2]=j>>>0>128?256:j<<1;j=w;break f}case 24:{if(!f)f=c[b+59760>>2]|0;else c[b+59760>>2]=f;i=f&15;j=f&240;do if((i|0)!=15|(j|0)==0){f=(c[b+59660>>2]&4096|0)==0;if(!((j|0)!=240|(i|0)==0)){if(f){j=w;break f}f=0-(i<<1)|0;break}if(!f){j=w;break f}if(!j){f=0-(i<<1)|0;break}else{f=j>>>3;break}}else{if(!(c[b+59660>>2]&4096)){j=w;break f}f=f>>>4<<1}while(0);if(!f){j=w;break f}j=(f<<((c[b+59680>>2]|0)!=32&1))+(c[b+59744>>2]|0)|0;j=(j|0)<0?0:j;c[b+59744>>2]=(j|0)>256?256:j;j=w;break f}case 9:{if(c[b+59692>>2]|0){j=w;break f}if(!(c[b+59660>>2]&16384))c[v>>2]=c[v>>2]&-2049;do if(!(c[b+59680>>2]&1048612)){if(f>>>0<129){c[y+120>>2]=f<<1;break}if((f|0)==164){c[v>>2]=c[v>>2]|2048;c[y+120>>2]=128}}else c[y+120>>2]=f;while(0);c[v>>2]=c[v>>2]|16777216;j=w;break f}case 29:{if(!f)f=d[y+222>>0]|0;else a[y+222>>0]=f;g:do if(!(c[b+59680>>2]&290)){if(c[b+59660>>2]&4096|0){j=w;break f}i=f&15;if(!i){f=f>>>2&60;break}else{f=0-(i<<2)|0;break}}else{j=f&15;f=f&240;do if((j|0)==15){i=(c[b+59660>>2]&4096|0)==0;if(!f)if(i){f=0;i=0;break}else{j=w;break f}if(i){j=w;break f}f=0-(f>>>2)|0;break g}else{i=(c[b+59660>>2]&4096|0)==0;if((j|0)==0|(f|0)!=240)if(i){i=(j|0)==0;break}else{j=w;break f}else if(i){j=w;break f}else{f=j<<2;break g}}while(0);if(i){f=0-(f>>>2)|0;break}else{f=j<<2;break}}while(0);if(!f){j=w;break f}j=y+120|0;v=(c[j>>2]|0)+f|0;v=(v|0)<0?0:v;c[j>>2]=(v|0)>256?256:v;j=w;break f}case 8:{i=f&15;if(i|0)a[y+229>>0]=i<<2;if(f&240|0)a[y+228>>0]=f>>>4&15;c[v>>2]=c[v>>2]|131072;j=w;break f}case 26:{i=f&15;if(i|0)a[y+226>>0]=i;if(f&240|0)a[y+225>>0]=f>>>4&15;c[v>>2]=c[v>>2]|65536;j=w;break f}case 19:{cMa(b,x,f);j=w;break f}case 20:{dMa(b,x,f);j=w;break f}case 25:{if(c[b+59692>>2]|0){j=w;break f}TLa(b,x);j=w;break f}case 28:switch(f&240|0){case 16:{f=f&15;k=(c[b+59680>>2]&1048580|0)==0;do if(!k)if(!f){f=d[y+221>>0]|0;break}else{a[y+221>>0]=f;break}while(0);i=c[b+59660>>2]|0;if(!(i&4096)){j=w;break f}l=y+128|0;j=c[l>>2]|0;if(!((f|0)!=0&(j|0)!=0)){j=w;break f}if((i&16|0)==0|k^1)f=j-f|0;else f=GLa(j,c[41276+((f&15)<<2)>>2]|0,65536)|0;c[l>>2]=(f|0)<1?1:f;j=w;break f}case 32:{f=f&15;k=(c[b+59680>>2]&1048580|0)==0;do if(!k)if(!f){f=d[y+221>>0]|0;break}else{a[y+221>>0]=f;break}while(0);i=c[b+59660>>2]|0;if(!(i&4096)){j=w;break f}l=y+128|0;j=c[l>>2]|0;if(!((f|0)!=0&(j|0)!=0)){j=w;break f}if((i&16|0)==0|k^1)f=j+f|0;else f=GLa(j,c[41340+((f&15)<<2)>>2]|0,65536)|0;c[l>>2]=(f|0)>65535?65535:f;j=w;break f}case 160:case 144:case 112:case 96:case 80:{dMa(b,x,f);j=w;break f}default:{j=w;break f}}case 21:{if(!(f>>>0<65&(c[b+59692>>2]|0)==0)){j=w;break f}c[y+168>>2]=f;c[v>>2]=c[v>>2]|16777216;j=w;break f}case 22:{if(!f)f=d[y+223>>0]|0;else a[y+223>>0]=f;i=f&15;j=f&240;do if((i|0)!=15|(j|0)==0){f=(c[b+59660>>2]&4096|0)==0;if(!((j|0)!=240|(i|0)==0))if(f){j=w;break f}else{f=0-i|0;break}if(!f){j=w;break f}if(!i){f=j>>>4;break}else{f=0-i|0;break}}else if(!(c[b+59660>>2]&4096)){j=w;break f}else f=f>>>4;while(0);if(!f){j=w;break f}j=y+168|0;v=(c[j>>2]|0)+f|0;v=(v|0)<0?0:v;c[j>>2]=(v|0)>64?64:v;j=w;break f}case 27:{i=f&15;if(i|0)a[y+232>>0]=i;if(f&240|0)a[y+231>>0]=f>>>4&15;c[v>>2]=c[v>>2]|262144;j=w;break f}case 30:{if(c[b+59692>>2]|0){j=w;break f}c[y+148>>2]=f;c[y+152>>2]=f;c[y+156>>2]=f;i=c[y+140>>2]|0;if(!i){j=w;break f}j=c[v>>2]|0;if(!(j&4194304)){j=w;break f}k=a[i+557>>0]|0;if(!(k<<24>>24)){j=w;break f}if(f>>>0<=(e[i+76+((k&255)+-1<<1)>>1]|0)>>>0){j=w;break f}c[v>>2]=j&-4194305;j=w;break f}case 12:{j=w;h=f;break f}case 14:{j=f;break f}case 31:{if(c[b+59692>>2]|0){j=w;break f}if(f>>>0<128){fMa(b,x,(d[y+254>>0]<<5)+(b+53888)|0,f);j=w;break f}else{fMa(b,x,(f<<5&4064)+(b+54400)|0,0);j=w;break f}}default:{j=w;break f}}while(0);while(0);x=x+1|0;f=c[b+59664>>2]|0;if(x>>>0>=f>>>0){i=b+59692|0;break a}else{w=j;y=y+256|0}}}while(0);if(c[i>>2]|0)return 1;if((g|0)>-1){c[b+59732>>2]=c[b+59728>>2];c[b+59716>>2]=g;if(!(c[b+59700>>2]|0))return 1;c[b+59716>>2]=g+1;return 1}if((j&h|0)<=-1)return 1;i=c[b+59728>>2]|0;k=(h|0)<0?i+1|0:h;h=(j|0)<0?0:j;if((k|0)<(i|0)){g=c[b+59720>>2]|0;z=347}else if((k|0)==(i|0)){g=c[b+59720>>2]|0;if((h|0)<=(g|0))z=347}do if((z|0)==347)if(!(gMa(b,i,g,k,h)|0)){g=c[b+59772>>2]|0;if(!g){c[b+59772>>2]=c[b+59776>>2];return 1}else{if((g|0)<=0)break;c[b+59772>>2]=g+-1;break}}while(0);if((k|0)>=256)return 1;if((k|0)==(i|0)){if((h|0)==(c[b+59720>>2]|0))return 1}else if(f|0){g=0;do{a[b+(g<<8)+245>>0]=0;g=g+1|0}while(g>>>0>>0)}c[b+59732>>2]=k;c[b+59716>>2]=h;return 1}function SLa(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0;k=c[b+(e<<8)+140>>2]|0;g=(g|0)>128?0:g;if((g|0)<1)return;if(c[b+59680>>2]&1048608|0)if(!((c[b+59688>>2]|0)==0|h)){i=c[b+(e<<8)+96>>2]|0;if((f+-1|0)>>>0<239){h=c[b+48640+(f<<2)>>2]|0;if(!h){l=0;j=0}else if((g|0)<129){f=a[h+300+(g+-1)>>0]|0;g=d[h+428+(g+-1)>>0]|0;if((f+-1&255)<239){l=h;j=c[b+33280+((f&255)<<6)+20>>2]|0}else{l=h;j=i}}else{l=h;j=i}}else{l=k;j=i}if(!k)return;a:do if(e>>>0<128){k=(g|0)==0;if(!j){f=e;i=b+(e<<8)|0;while(1){h=(i|0)==(b+(e<<8)|0);b:do if(h|f>>>0>=(c[b+59664>>2]|0)>>>0)if(h|(c[i+160>>2]|0)==(e+1|0)){h=c[i+140>>2]|0;if(h|0){switch(d[h+572>>0]|0|0){case 1:{if(k)break b;if(!((l|0)==(h|0)?(d[i+212>>0]|0|0)==(g|0):0))break b;break}case 3:{if((l|0)!=(h|0))break b;break}default:break b}switch(d[h+573>>0]|0|0){case 0:{TLa(b,f);c[i+116>>2]=0;break}case 1:{TLa(b,f);break}case 2:{j=i+36|0;c[j>>2]=c[j>>2]|1024;break}default:{}}if(!(c[i+116>>2]|0)){c[i+124>>2]=0;j=i+36|0;c[j>>2]=c[j>>2]|16778240}}}while(0);f=f+1|0;if((f|0)==128)break a;else i=i+256|0}}else{f=e;i=b+(e<<8)|0}while(1){h=(i|0)==(b+(e<<8)|0);c:do if(h|f>>>0>=(c[b+59664>>2]|0)>>>0)if(h|(c[i+160>>2]|0)==(e+1|0)){h=c[i+140>>2]|0;if(h|0){switch(d[h+572>>0]|0|0){case 1:{if(k)break c;if(!((l|0)==(h|0)?(d[i+212>>0]|0|0)==(g|0):0))break c;break}case 2:{if((j|0)!=(c[i+96>>2]|0))break c;break}case 3:{if((l|0)!=(h|0))break c;break}default:break c}switch(d[h+573>>0]|0|0){case 0:{TLa(b,f);c[i+116>>2]=0;break}case 1:{TLa(b,f);break}case 2:{h=i+36|0;c[h>>2]=c[h>>2]|1024;break}default:{}}if(!(c[i+116>>2]|0)){c[i+124>>2]=0;h=i+36|0;c[h>>2]=c[h>>2]|16778240}}}while(0);f=f+1|0;if((f|0)==128)break;else i=i+256|0}}while(0);if(c[b+(e<<8)+36>>2]&256|0)return;if(!(c[b+(e<<8)+116>>2]|0))return;if(!(c[b+(e<<8)+32>>2]|0))return;f=c[b+59664>>2]|0;if(f>>>0>=128)return;g=f;h=b+(f<<8)|0;while(1){if(!(c[h+32>>2]|0))break;g=g+1|0;if(g>>>0>=128){m=67;break}else h=h+256|0}d:do if((m|0)==67){if(!(c[b+(e<<8)+124>>2]|0))return;else{k=16777215;g=f;l=b+(f<<8)|0;i=0;j=4194304}while(1){h=c[l+124>>2]|0;if(!h)break d;n=c[l+116>>2]|0;f=c[l+36>>2]|0;h=_(n,h)|0;f=((f&1024|0)==0?n<<16:h)>>>(f>>>1&1);if(f>>>0>>0){h=c[l+148>>2]|0;m=73}else if((f|0)==(j|0)){h=c[l+148>>2]|0;if(h>>>0>k>>>0)m=73;else{h=k;f=j}}else{h=k;f=j}if((m|0)==73){m=0;i=g}g=g+1|0;if(g>>>0>=128){g=i;break}else{k=h;l=l+256|0;j=f}}}while(0);if(!g)return;mBb(b+(g<<8)|0,b+(e<<8)|0,256)|0;h=b+(g<<8)+36|0;f=c[h>>2]&-983297;c[h>>2]=f;c[b+(g<<8)+160>>2]=e+1;a[b+(g<<8)+216>>0]=0;switch(d[b+(e<<8)+213>>0]|0|0){case 2:{TLa(b,g);break}case 0:{c[b+(g<<8)+124>>2]=0;m=79;break}case 3:{m=79;break}default:{}}if((m|0)==79)c[h>>2]=f|1024;if(!(c[b+(g<<8)+116>>2]|0)){c[b+(g<<8)+124>>2]=0;c[h>>2]=c[h>>2]|16778240}c[b+(e<<8)+8>>2]=0;c[b+(e<<8)+4>>2]=0;c[b+(e<<8)+32>>2]=0;c[b+(e<<8)+88>>2]=0;c[b+(e<<8)+84>>2]=0;return}if(c[b+59660>>2]&2048|0)return;if(!(c[b+(e<<8)+32>>2]|0))return;if(c[b+(e<<8)+36>>2]&256|0)return;if(!(c[b+(e<<8)+20>>2]|0))if(!(c[b+(e<<8)+16>>2]|0))return;f=c[b+59664>>2]|0;if(f>>>0>=128)return;g=f;h=b+(f<<8)|0;while(1){if(!(c[h+32>>2]|0))break;g=g+1|0;if(g>>>0>=128){m=13;break}else h=h+256|0}e:do if((m|0)==13){if(!(c[b+(e<<8)+124>>2]|0))return;else{k=16777215;g=f;l=b+(f<<8)|0;i=0;j=4194304}while(1){h=c[l+124>>2]|0;if(!h)break e;o=c[l+116>>2]|0;f=c[l+36>>2]|0;n=_(o,h)|0;f=((f&1024|0)==0?o<<16:n)>>>(f>>>1&1);if(f>>>0>>0){h=c[l+148>>2]|0;m=19}else if((f|0)==(j|0)){h=c[l+148>>2]|0;if(h>>>0>k>>>0)m=19;else{h=k;f=j}}else{h=k;f=j}if((m|0)==19){m=0;i=g}g=g+1|0;if(g>>>0>=128){g=i;break}else{k=h;l=l+256|0;j=f}}}while(0);if(!g)return;mBb(b+(g<<8)|0,b+(e<<8)|0,256)|0;o=b+(g<<8)+36|0;n=c[o>>2]&-17761537;c[b+(g<<8)+160>>2]=e+1;a[b+(g<<8)+216>>0]=0;c[b+(g<<8)+124>>2]=0;c[o>>2]=n|16778240;c[b+(e<<8)+8>>2]=0;c[b+(e<<8)+4>>2]=0;c[b+(e<<8)+32>>2]=0;c[b+(e<<8)+88>>2]=0;c[b+(e<<8)+84>>2]=0;c[b+(e<<8)+16>>2]=0;c[b+(e<<8)+20>>2]=0;return}function TLa(a,b){a=a|0;b=b|0;var d=0,f=0,g=0,h=0,i=0;f=c[a+(b<<8)+36>>2]|0;c[a+(b<<8)+36>>2]=f|512;h=c[a+(b<<8)+140>>2]|0;if((h|0)!=0&(f&2097152|0)==0){c[a+(b<<8)+36>>2]=f|1536;d=f|1536}else d=f|512;if(!(c[a+(b<<8)+32>>2]|0))return;do if(d&8){g=c[a+(b<<8)+144>>2]|0;if(!((f&512|0)!=0|(g|0)==0)){f=e[g+34>>1]|0;if(!(f&2)){d=d&-135;c[a+(b<<8)+36>>2]=d;c[a+(b<<8)+32>>2]=c[g>>2];break}d=((f&4|0)==0?d&-135:d|4)|2;c[a+(b<<8)+36>>2]=d;i=c[g>>2]|0;c[a+(b<<8)+32>>2]=i;c[a+(b<<8)+40>>2]=c[g+4>>2];f=c[g+8>>2]|0;c[a+(b<<8)+44>>2]=f;if(i>>>0>f>>>0)c[a+(b<<8)+32>>2]=f}}while(0);if(!h)return;if(!(c[h+4>>2]&4))if(!(c[a+59680>>2]&1048580))return;if(!(c[h>>2]|0))return;c[a+(b<<8)+36>>2]=d|1024;return}function ULa(f,g,h,i,j,k){f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0;if(h>>>0>239)return;n=c[f+48640+(h<<2)>>2]|0;l=a[g+214>>0]|0;do if(n|0?l+-1<<24>>24<<24>>24>-1:0)if((d[n+428+((l&255)+-1)>>0]|0)>253)return;else{o=a[n+300+((l&255)+-1)>>0]|0;o=(o+-1&255)<239?f+33280+((o&255)<<6)|0:0;break}else if(!(c[f+59688>>2]|0))o=f+33280+(h<<6)|0;else if((l&255)>253)return;else o=0;while(0);if(j){if(!o)l=0;else l=e[o+30>>1]|0;c[g+116>>2]=l}if((n|0)==(c[g+140>>2]|0))if(i)if(n|0?(c[f+59680>>2]&1048580|0)!=0:0){j=c[g+144>>2]|0;if((j|0)==0|(o|0)==(j|0))h=1;else return}else h=1;else h=1;else{c[g+140>>2]=n;h=0}a[g+215>>0]=0;j=(o|0)!=0;if(j){l=e[o+32>>1]|0;if(n|0){c[g+172>>2]=(_(e[n+8>>1]|0,l)|0)>>>6;if(c[n+4>>2]&512|0)c[g+120>>2]=e[n+10>>1];a[g+213>>0]=a[n+571>>0]|0}else c[g+172>>2]=l;if(b[o+34>>1]&32)c[g+120>>2]=e[o+28>>1]}a:do if(k){l=c[f+59680>>2]|0;do if(!((l&32|0)==0|i^1))if(!(c[f+59660>>2]&8))if(c[g+32>>2]|0){if(c[g+36>>2]&1024|0)if(!(c[g+124>>2]|0))break;if(!n)break a;if(c[n+4>>2]&1|0)break a;c[g+148>>2]=0;c[g+188>>2]=0;c[g+192>>2]=0;break a}while(0);k=c[g+36>>2]|0;c[g+36>>2]=k|16777216;if((k&1536|0)==0&((n|0)!=0&h&(l&32|0)!=0)){l=c[n+4>>2]|0;if(!(l&2048))c[g+148>>2]=0;if(!(l&4096))c[g+152>>2]=0;if(!(l&8192))c[g+156>>2]=0}else{c[g+148>>2]=0;c[g+152>>2]=0;c[g+156>>2]=0}c[g+188>>2]=0;c[g+192>>2]=0}while(0);if(!j){c[g+144>>2]=0;c[g+172>>2]=0;return}do if(i)if((o|0)==(c[g+144>>2]|0))if(!(c[f+59680>>2]&34)){k=e[o+34>>1]|c[g+36>>2]&-1664;c[g+36>>2]=k;h=g+144|0;i=g+36|0;break}else return;else m=48;else m=48;while(0);if((m|0)==48){l=e[o+34>>1]|c[g+36>>2]&-14681856;c[g+36>>2]=l;if(n|0){h=c[n+4>>2]|0;j=(h&1|0)==0?l:l|2097152;j=(h&8|0)==0?j:j|4194304;j=(h&64|0)==0?j:j|8388608;if(((h&1|0)==0^1|(h&8|0)==0^1)^1^1|(h&64|0)==0^1)c[g+36>>2]=j;if((h&1088|0)==1088)if(!(a[g+238>>0]|0))a[g+238>>0]=127;l=d[n+576>>0]|0;if(l&128|0)a[g+238>>0]=l&127;l=d[n+577>>0]|0;if(!(l&128))l=j;else{a[g+239>>0]=l&127;l=j}}b[g+210>>1]=0;b[g+208>>1]=0;h=g+144|0;i=g+36|0;k=l}c[h>>2]=o;j=c[o>>2]|0;c[g+32>>2]=j;c[g+40>>2]=c[o+4>>2];l=c[o+8>>2]|0;c[g+44>>2]=l;c[g+132>>2]=c[o+24>>2];c[g+96>>2]=c[o+20>>2];c[g+180>>2]=a[o+36>>0];c[g+176>>2]=a[o+37>>0];if(!(k&8))h=k;else{c[g+40>>2]=c[o+12>>2];l=c[o+16>>2]|0;c[g+44>>2]=l;h=k|2;c[i>>2]=h;if(k&16){h=k|6;c[i>>2]=h}}if(!((h&2|0)!=0&l>>>0>>0))return;c[g+32>>2]=l;return}function VLa(f,g,h,i,j){f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0;if((h|0)<1)return;k=c[f+(g<<8)+144>>2]|0;q=c[f+(g<<8)+140>>2]|0;if((h|0)<129&(q|0)!=0){o=a[q+300+(h+-1)>>0]|0;h=d[q+428+(h+-1)>>0]|0;k=(o+-1&255)<239?f+33280+((o&255)<<6)|0:k}if((h|0)>127){TLa(f,g);if((h|0)!=254)return;c[f+(g<<8)+36>>2]=c[f+(g<<8)+36>>2]|16778240;if(!(c[f+59680>>2]&32))p=8;else if(c[f+59688>>2]|0)p=8;if((p|0)==8)c[f+(g<<8)+116>>2]=0;c[f+(g<<8)+124>>2]=0;return}if(!k)return;l=c[f+59680>>2]|0;if(!((l&1048588|0)==0|i)){c[f+(g<<8)+180>>2]=a[k+36>>0];c[f+(g<<8)+176>>2]=a[k+37>>0]}if(l&1048588)h=(c[f+(g<<8)+180>>2]|0)+h|0;h=(h|0)<1?1:h;h=(h|0)>132?132:h;a[f+(g<<8)+212>>0]=h;if(!((l&34|0)==0&i))a[f+(g<<8)+215>>0]=0;h=WLa(f,h,c[f+(g<<8)+176>>2]|0,c[f+(g<<8)+132>>2]|0)|0;do if(!h)h=0;else{if(i){if(!(c[f+(g<<8)+128>>2]|0))c[f+(g<<8)+128>>2]=h;c[f+(g<<8)+136>>2]=h;h=c[f+(g<<8)+32>>2]|0;if(!h)if(!(c[f+59680>>2]&2)){n=f+(g<<8)+32|0;p=24}else h=0}else{c[f+(g<<8)+128>>2]=h;c[f+(g<<8)+136>>2]=h;n=f+(g<<8)+32|0;p=24}if((p|0)==24){c[f+(g<<8)+144>>2]=k;c[f+(g<<8)+96>>2]=c[k+20>>2];o=c[k>>2]|0;c[n>>2]=o;c[f+(g<<8)+44>>2]=o;c[f+(g<<8)+40>>2]=0;l=e[k+34>>1]|0;m=l|c[f+(g<<8)+36>>2]&-256;c[f+(g<<8)+36>>2]=m;if(!(l&8))if(!(l&2))h=o;else{c[f+(g<<8)+40>>2]=c[k+4>>2];h=c[k+8>>2]|0;c[f+(g<<8)+44>>2]=h;if(o>>>0>h>>>0)c[n>>2]=h;else h=o}else{c[f+(g<<8)+40>>2]=c[k+12>>2];h=c[k+16>>2]|0;c[f+(g<<8)+44>>2]=h;c[f+(g<<8)+36>>2]=(l&16|0)==0?m&-7|2:m|6;if(o>>>0>h>>>0)c[n>>2]=h;else h=o}c[f+(g<<8)+4>>2]=0;c[f+(g<<8)+8>>2]=0;if((d[f+(g<<8)+224>>0]|0)<4){if(!(c[f+59680>>2]&32))k=0;else k=(c[f+59660>>2]&4|0)==0;c[f+(g<<8)+196>>2]=k?16:0}if((d[f+(g<<8)+227>>0]|0)<4)c[f+(g<<8)+200>>2]=0}if((c[f+(g<<8)+4>>2]|0)>>>0>>0){if(!i){h=0;break}}else{c[f+(g<<8)+4>>2]=c[f+(g<<8)+40>>2];if(!i){h=0;break}}if(!(c[f+59680>>2]&32))h=1;else{h=c[f+(g<<8)+36>>2]|0;if(h&1024|0)if(!(c[f+(g<<8)+124>>2]|0)){h=1;break}if(c[f+59660>>2]&8|0)if(a[f+(g<<8)+247>>0]|0){h=1;break}c[f+(g<<8)+36>>2]=h&-33554945;return}}while(0);k=c[f+59680>>2]|0;if(k&32|0){l=c[f+(g<<8)+36>>2]|0;if(l&1024|0)if(!(c[f+(g<<8)+124>>2]|0)){c[f+(g<<8)+148>>2]=0;c[f+(g<<8)+152>>2]=0;c[f+(g<<8)+156>>2]=0;c[f+(g<<8)+188>>2]=0;c[f+(g<<8)+192>>2]=0;c[f+(g<<8)+36>>2]=l&-1025;c[f+(g<<8)+124>>2]=65536}}if(h)if(c[f+59660>>2]&8|0)if(!(a[f+(g<<8)+247>>0]|0)){c[f+(g<<8)+36>>2]=c[f+(g<<8)+36>>2]&-33554945;return}if(!(k&1048580))p=54;else if(!(a[f+(g<<8)+247>>0]|0)){c[f+(g<<8)+36>>2]=c[f+(g<<8)+36>>2]&-33554945;if(h)return;else h=f+(g<<8)+36|0}else p=54;if((p|0)==54){p=c[f+(g<<8)+36>>2]|0;c[f+(g<<8)+124>>2]=65536;c[f+(g<<8)+36>>2]=p&-33555969;if(h)return;else h=f+(g<<8)+36|0}c[f+(g<<8)+164>>2]=256;a[f+(g<<8)+253>>0]=-1;a[f+(g<<8)+252>>0]=-1;c[h>>2]=c[h>>2]&-16793601|16777216;a[f+(g<<8)+240>>0]=0;a[f+(g<<8)+242>>0]=0;if(j){b[f+(g<<8)+210>>1]=0;b[f+(g<<8)+208>>1]=0;do if(q|0){h=c[q+4>>2]|0;if(!(h&2048))c[f+(g<<8)+148>>2]=0;if(!(h&4096))c[f+(g<<8)+152>>2]=0;if(!(h&8192))c[f+(g<<8)+156>>2]=0;if(c[f+59680>>2]&32|0){h=a[q+575>>0]|0;if(h<<24>>24){p=(_(((bpb()|0)&255)+-127|0,h&255)|0)/128|0;b[f+(g<<8)+208>>1]=((_(c[f+(g<<8)+116>>2]|0,p)|0)+1|0)/128|0}h=a[q+574>>0]|0;if(!(h<<24>>24))break;b[f+(g<<8)+210>>1]=(_(((bpb()|0)&255)+-127|0,h&255)|0)/128|0}}while(0);c[f+(g<<8)+188>>2]=0;c[f+(g<<8)+192>>2]=0}c[f+(g<<8)+16>>2]=0;c[f+(g<<8)+20>>2]=0;h=(c[f+59660>>2]|0)>>>13&1;if(q|0){k=d[q+577>>0]|0;if(!(k&128))h=(h|0)==0;else{a[f+(g<<8)+239>>0]=k&127;h=1}k=d[q+576>>0]|0;if(k&128){a[f+(g<<8)+238>>0]=k&127;h=1}}else{b[f+(g<<8)+210>>1]=0;b[f+(g<<8)+208>>1]=0;h=(h|0)==0}if((d[f+(g<<8)+238>>0]|0)>126|h^1)return;XLa(f,f+(g<<8)|0,1,256);return}function WLa(a,b,d,f){a=a|0;b=b|0;d=d|0;f=f|0;var g=0;if((b+-1|0)>>>0>239){a=0;return a|0}g=c[a+59680>>2]|0;if(g&5136290|0)if(!(c[a+59660>>2]&16)){a=FLa(8363,(e[166784+((((b+-1|0)>>>0)%12|0)<<1)>>1]|0)<<5,((f|0)==0?8363:f)<<(((b+-1|0)>>>0)/12|0))|0;return a|0}else{a=(e[166784+((((b+-1|0)>>>0)%12|0)<<1)>>1]|0)<<5>>>(((b+-1|0)>>>0)/12|0);return a|0}if(!(g&1048580))if((b+-37|0)>>>0>71|(d>>>4&15|0)!=0){a=(e[167024+((((b+-1|0)>>>0)%12|0)+((d>>>4&15)*12|0)<<1)>>1]|0)<<5>>>(((b+-1|0)>>>0)/12|0);return a|0}else{a=(e[167408+(b+-37<<1)>>1]|0)<<2;return a|0}else{g=b>>>0<13?13:b;if(!(c[a+59660>>2]&16)){b=((((g+-13|0)>>>0)%12|0)<<3)+8+((d|0)/16|0)|0;b=(b|0)<0?0:b;f=(d>>31|1)+8+((((g+-13|0)>>>0)%12|0)<<3)+((d|0)/16|0)|0;f=(f|0)<0?0:f;a=((d|0)<0?0-d|0:d)&15;a=(_(e[166816+(((f|0)>103?103:f)<<1)>>1]|0,a)|0)+(_(e[166816+(((b|0)>103?103:b)<<1)>>1]|0,16-a|0)|0)<<1>>>(((g+-13|0)>>>0)/12|0);return a|0}else{a=((133-g<<6)-((d|0)/2|0)|0)<1?1:(133-g<<6)-((d|0)/2|0)|0;return a|0}}return 0}function XLa(a,b,e,f){a=a|0;b=b|0;e=e|0;f=f|0;var g=0.0,h=0.0,i=0.0;g=+((_(d[b+238>>0]|0,f+256|0)|0)>>>0);f=~~(+Gnb(g*((c[a+59660>>2]&32768|0)==0?8.138021075865254e-05:9.300595411332324e-05)+.25)*110.0);if((f|0)<120)g=120.0;else if((f|0)>1e4)g=1.0e4;else{a=c[9751]|0;g=+(((f<<1|0)>(a|0)?a>>>1:f)>>>0)}h=6.28318530716/+((c[9751]|0)>>>0)*g;i=+P(10.0,+(+(d[b+239>>0]|0)*-.00937500037252903))*2.0;i=(i-((1.0-i)*h>2.0?2.0:(1.0-i)*h))/h;g=i+1.0+1.0/h*(1.0/h);c[b+72>>2]=~~(8192.0/g);c[b+76>>2]=~~((1.0/h*(1.0/h)*2.0+i)/g*8192.0);c[b+80>>2]=~~(-(1.0/h*(1.0/h))/g*8192.0);if(!e){b=b+36|0;e=c[b>>2]|0;e=e|16384;c[b>>2]=e;return}c[b+56>>2]=0;c[b+56+4>>2]=0;c[b+56+8>>2]=0;c[b+56+12>>2]=0;b=b+36|0;e=c[b>>2]|0;e=e|16384;c[b>>2]=e;return}function YLa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;if(d|0)c[b+184>>2]=d<<2;c[b+36>>2]=c[b+36>>2]|524288;f=c[b+128>>2]|0;if(!f)return;e=c[b+136>>2]|0;if(!e)return;g=c[a+59660>>2]|0;if(g&4096|0)return;if((f|0)<(e|0)){d=c[b+184>>2]|0;if(g&16)if(!(c[a+59680>>2]&1048580)){a=GLa(f,c[39228+((d>>2>>>0>255?255:d>>2)<<2)>>2]|0,65536)|0;d=c[b+128>>2]|0;f=d;e=c[b+136>>2]|0;d=(a-d|0)<1?1:a-d|0}a=f+d|0;c[b+128>>2]=(a|0)>(e|0)?e:a;return}if((f|0)<=(e|0))return;d=c[b+184>>2]|0;if(!(g&16)){g=e;a=0-d|0;a=f+a|0;f=(a|0)<(g|0);a=f?g:a;c[b+128>>2]=a;return}if(c[a+59680>>2]&1048580|0){g=e;a=0-d|0;a=f+a|0;f=(a|0)<(g|0);a=f?g:a;c[b+128>>2]=a;return}e=GLa(f,c[40252+((d>>2>>>0>255?255:d>>2)<<2)>>2]|0,65536)|0;a=c[b+128>>2]|0;f=a;g=c[b+136>>2]|0;a=(e-a|0)>-1?-1:e-a|0;a=f+a|0;f=(a|0)<(g|0);a=f?g:a;c[b+128>>2]=a;return}function ZLa(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;if(!f)i=d[e+218>>0]|0;else{a[e+218>>0]=f;i=f}f=c[e+116>>2]|0;j=c[b+59680>>2]|0;do if(j&2338){g=i&15;h=i&240;if((g|0)!=15){if((h|0)!=240)break;if(!g){f=(c[b+59660>>2]&4098|0)==4096?f+60|0:f;break}a[e+219>>0]=g;if(!(c[b+59660>>2]&4096))return;c[e+116>>2]=(f-(g<<2)|0)<0?0:f-(g<<2)|0;if(!(j&1))return;c[e+36>>2]=c[e+36>>2]|16777216;return}if(!h){f=(c[b+59660>>2]&4098|0)==4096?f+-60|0:f;break}g=i>>>4;if(!g)g=d[e+219>>0]|0;else a[e+219>>0]=g;if(!(c[b+59660>>2]&4096))return;b=f+(g<<2)|0;c[e+116>>2]=(b|0)>256?256:b;if(!(j&1))return;c[e+36>>2]=c[e+36>>2]|16777216;return}while(0);if((c[b+59660>>2]&4098|0)!=4096){g=i&15;if(!g)f=f+(i>>>2&60)|0;else f=f-(g<<2)|0;if(j&1)c[e+36>>2]=c[e+36>>2]|16777216}j=(f|0)<0?0:f;c[e+116>>2]=(j|0)>256?256:j;return}function _La(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0;if(!f)f=d[e+220>>0]|0;else a[e+220>>0]=f;i=c[b+59680>>2]|0;if(i&290|0){g=f&240;if(g>>>0>223){h=f&15;if(!h)return;switch(g|0){case 240:{if(i&1048580|0)a[e+221>>0]=h;f=c[b+59660>>2]|0;if(!(f&4096))return;g=c[e+128>>2]|0;if(!g)return;if((f&16|0)==0|(i&1048580|0)==0^1)f=g-(h<<2)|0;else f=GLa(g,c[40252+(h<<2)>>2]|0,65536)|0;c[e+128>>2]=(f|0)<1?1:f;return}case 224:{if(i&1048580|0)a[e+221>>0]=h;f=c[b+59660>>2]|0;if(!(f&4096))return;g=c[e+128>>2]|0;if(!g)return;if((f&16|0)==0|(i&1048580|0)==0^1)f=g-h|0;else f=GLa(g,c[41276+(h<<2)>>2]|0,65536)|0;c[e+128>>2]=(f|0)<1?1:f;return}default:return}}}h=c[b+59660>>2]|0;if(h&4096|0)if((c[b+59708>>2]|0)!=1)return;f=f<<2;g=c[e+128>>2]|0;if(!g)return;do if((h&16|0)!=0&(i&1048580|0)==0)if((f|0)>0){f=GLa(g,c[40252+((f>>2>>>0>255?255:f>>2)<<2)>>2]|0,65536)|0;c[e+128>>2]=f;break}else{f=GLa(g,c[39228+((0-f>>2>>>0>255?255:0-f>>2)<<2)>>2]|0,65536)|0;c[e+128>>2]=f;break}else{c[e+128>>2]=g-f;f=g-f|0}while(0);if((f|0)>=1)return;c[e+128>>2]=1;if(!(c[b+59680>>2]&32))return;c[e+36>>2]=c[e+36>>2]|1024;c[e+124>>2]=0;return}function $La(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0;if(!f)f=d[e+220>>0]|0;else a[e+220>>0]=f;i=c[b+59680>>2]|0;if(i&290|0){g=f&240;if(g>>>0>223){h=f&15;if(!h)return;switch(g|0){case 240:{if(i&1048580|0)a[e+221>>0]=h;f=c[b+59660>>2]|0;if(!(f&4096))return;g=c[e+128>>2]|0;if(!g)return;if((f&16|0)==0|(i&1048580|0)==0^1)f=g+(h<<2)|0;else f=GLa(g,c[39228+(h<<2)>>2]|0,65536)|0;c[e+128>>2]=(f|0)>65535?65535:f;return}case 224:{if(i&1048580|0)a[e+221>>0]=h;f=c[b+59660>>2]|0;if(!(f&4096))return;g=c[e+128>>2]|0;if(!g)return;if((f&16|0)==0|(i&1048580|0)==0^1)f=g+h|0;else f=GLa(g,c[41340+(h<<2)>>2]|0,65536)|0;c[e+128>>2]=(f|0)>65535?65535:f;return}default:return}}}h=c[b+59660>>2]|0;if(h&4096|0)if((c[b+59708>>2]|0)!=1)return;f=f<<2;g=c[e+128>>2]|0;if(!g)return;do if((h&16|0)!=0&(i&1048580|0)==0)if((f|0)<0){f=GLa(g,c[40252+((0-f>>2>>>0>255?255:0-f>>2)<<2)>>2]|0,65536)|0;c[e+128>>2]=f;break}else{f=GLa(g,c[39228+((f>>2>>>0>255?255:f>>2)<<2)>>2]|0,65536)|0;c[e+128>>2]=f;break}else{c[e+128>>2]=g+f;f=g+f|0}while(0);if((f|0)>=1)return;c[e+128>>2]=1;if(!(c[b+59680>>2]&32))return;c[e+36>>2]=c[e+36>>2]|1024;c[e+124>>2]=0;return}function aMa(b,f,g){b=b|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0;if(f>>>0>=256){b=255;return b|0}h=f;a:while(1){i=a[b+53344+h>>0]|0;if(i<<24>>24!=-2){if((i&255)>239){i=14;break}l=c[b+51904+((i&255)<<2)>>2]|0;if(l|0){j=c[b+59664>>2]|0;k=_(e[b+52864+((i&255)<<1)>>1]|0,j)|0;i=_(j,(h|0)==(f|0)?g:0)|0;if(i>>>0>>0)do{if(a[l+(i*6|0)>>0]|0){h=0;i=14;break a}if(a[l+(i*6|0)+2>>0]|0){h=0;i=14;break a}j=a[l+(i*6|0)+3>>0]|0;if(j<<24>>24==19){m=d[l+(i*6|0)+5>>0]|0;j=(m&240|0)==240|((m&112|0)==96|(m&240|0)==0)?0:j&255}else j=j&255;i=i+1|0;if((j|0)!=0&(j&254|0)!=16){h=0;i=14;break a}}while(i>>>0>>0)}}h=h+1|0;if(h>>>0>=256){h=255;i=14;break}}if((i|0)==14)return h|0;return 0}function bMa(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;k=a[b+(e<<8)+240>>0]|0;m=c[b+59680>>2]|0;do if(!(m&34)){do if(f&256|0){if((a[b+(e<<8)+248>>0]|0)==1)g=((d[b+(e<<8)+251>>0]|0)>15&1)+(f&15)|0;else g=f&15;h=(g|0)==0?1:g;j=b+59692|0;g=0;l=12}else{i=c[b+59692>>2]|0;if(!i){j=b+59692|0;i=0;g=(m&1048580|0)==0?k&255:0;h=f&15;break}g=(f&15|0)==0?1:f&15;if(!(c[b+59708>>2]|0)){h=g;j=b+59692|0;g=0;l=12}else{h=g;j=b+59692|0;g=((i>>>0)%(g>>>0)|0|0)==0;l=12}}while(0);if((l|0)==12){i=g;g=(k&255)+1|0}if(g>>>0>=h>>>0){if(c[j>>2]|0)break;if(f&256|0){if(i|(a[b+(e<<8)+246>>0]|0)==0)break;f=g&255;a[b+(e<<8)+240>>0]=f;return}}if(!i){f=g;f=f&255;a[b+(e<<8)+240>>0]=f;return}}else if(!(k<<24>>24)){f=(k&255)+1|0;f=f&255;a[b+(e<<8)+240>>0]=f;return}else{if(!(((k&255)>>>0)%(((f&15|0)==0?1:f&15)>>>0)|0)){g=(k&255)+1|0;break}else g=(k&255)+1|0;f=g&255;a[b+(e<<8)+240>>0]=f;return}while(0);if(f>>>4&15|0){h=c[b+(e<<8)+116>>2]|0;if(!(49344>>>(f>>>4&15)&1))h=(a[521161+(f>>>4&15)>>0]<<2)+h|0;else h=(_(a[521145+(f>>>4&15)>>0]|0,h)|0)>>4;l=(h|0)<0?0:h;c[b+(e<<8)+116>>2]=(l|0)>256?256:l;c[b+(e<<8)+36>>2]=c[b+(e<<8)+36>>2]|16777216}i=a[b+(e<<8)+214>>0]|0;j=c[b+(e<<8)+128>>2]|0;if((i+-1&255)<120)if(!(c[b+(e<<8)+32>>2]|0))h=m;else{SLa(b,e,0,i&255,1);h=c[b+59680>>2]|0}else h=m;if(!(h&1048580))h=0;else{h=a[b+(e<<8)+247>>0]|0;if(f>>>0<256&h<<24>>24!=0){ULa(b,b+(e<<8)|0,h&255,0,0,1);h=1}else h=0;h=f>>>0<256|h}VLa(b,e,i&255,0,h);h=c[b+59680>>2]|0;if(h&32|0)if(j|0?(a[b+(e<<8)+246>>0]|0)==0:0)c[b+(e<<8)+128>>2]=j;f=(h&34|0)==0?0:g;f=f&255;a[b+(e<<8)+240>>0]=f;return}function cMa(b,f,g){b=b|0;f=f|0;g=g|0;var h=0,i=0,j=0;do switch(g&240|0){case 16:{j=c[b+59680>>2]|0;if(!(g&15|j&1048580))return;do if(!(j&1048580))h=g&15;else if(!(g&15)){h=d[b+(f<<8)+221>>0]|0;break}else{a[b+(f<<8)+221>>0]=g&15;h=g&15;break}while(0);i=c[b+59660>>2]|0;if(!(i&4096))return;g=c[b+(f<<8)+128>>2]|0;if(!((h|0)!=0&(g|0)!=0))return;if((i&16|0)==0|(j&1048580|0)==0^1)h=g-(h<<2)|0;else h=GLa(g,c[40252+((h&15)<<2)>>2]|0,65536)|0;c[b+(f<<8)+128>>2]=(h|0)<1?1:h;return}case 32:{j=c[b+59680>>2]|0;if(!(g&15|j&1048580))return;do if(!(j&1048580))h=g&15;else if(!(g&15)){h=d[b+(f<<8)+221>>0]|0;break}else{a[b+(f<<8)+221>>0]=g&15;h=g&15;break}while(0);i=c[b+59660>>2]|0;if(!(i&4096))return;g=c[b+(f<<8)+128>>2]|0;if(!((h|0)!=0&(g|0)!=0))return;if((i&16|0)==0|(j&1048580|0)==0^1)h=g+(h<<2)|0;else h=GLa(g,c[39228+((h&15)<<2)>>2]|0,65536)|0;c[b+(f<<8)+128>>2]=(h|0)>65535?65535:h;return}case 48:{h=c[b+(f<<8)+36>>2]|0;c[b+(f<<8)+36>>2]=h&-1048577;if(!(g&15))return;c[b+(f<<8)+36>>2]=h|1048576;return}case 64:{a[b+(f<<8)+224>>0]=g&7;return}case 80:{if(c[b+59692>>2]|0)return;i=e[167552+((g&15)<<1)>>1]|0;c[b+(f<<8)+132>>2]=i;h=(c[b+59680>>2]&1048580|0)==0?g<<28>>24:(g&15)<<1;c[b+(f<<8)+176>>2]=h;if(!(c[b+(f<<8)+128>>2]|0))return;c[b+(f<<8)+128>>2]=WLa(b,d[b+(f<<8)+212>>0]|0,h,i)|0;return}case 112:{a[b+(f<<8)+227>>0]=g&7;return}case 128:{if(c[b+59692>>2]|0)return;c[b+(f<<8)+120>>2]=(g&15)<<4|8;c[b+(f<<8)+36>>2]=c[b+(f<<8)+36>>2]|16777216;return}case 144:{bMa(b,f,g&15);return}case 160:{do if(!(g&15))if(!(c[b+59680>>2]&1048580))return;else{h=d[b+(f<<8)+219>>0]|0;break}else{a[b+(f<<8)+219>>0]=g&15;h=g&15}while(0);if(!(c[b+59660>>2]&4096))return;j=(c[b+(f<<8)+116>>2]|0)+(h<<2)|0;c[b+(f<<8)+116>>2]=(j|0)>256?256:j;if(!(c[b+59680>>2]&1))return;c[b+(f<<8)+36>>2]=c[b+(f<<8)+36>>2]|16777216;return}case 176:{do if(!(g&15))if(!(c[b+59680>>2]&1048580))return;else{h=d[b+(f<<8)+219>>0]|0;break}else{a[b+(f<<8)+219>>0]=g&15;h=g&15}while(0);if(!(c[b+59660>>2]&4096))return;j=(c[b+(f<<8)+116>>2]|0)-(h<<2)|0;c[b+(f<<8)+116>>2]=(j|0)<0?0:j;if(!(c[b+59680>>2]&1))return;c[b+(f<<8)+36>>2]=c[b+(f<<8)+36>>2]|16777216;return}case 192:{if((c[b+59692>>2]|0)!=(g&15|0))return;c[b+(f<<8)+116>>2]=0;c[b+(f<<8)+36>>2]=c[b+(f<<8)+36>>2]|16777216;return}case 240:{a[b+(f<<8)+254>>0]=g&15;return}default:return}while(0)}function dMa(b,f,g){b=b|0;f=f|0;g=g|0;var h=0;do switch(g&240|0){case 16:{h=c[b+(f<<8)+36>>2]|0;c[b+(f<<8)+36>>2]=h&-1048577;if(!(g&15))return;c[b+(f<<8)+36>>2]=h|1048576;return}case 32:{if(c[b+59692>>2]|0)return;h=e[167552+((g&15)<<1)>>1]|0;c[b+(f<<8)+132>>2]=h;c[b+(f<<8)+176>>2]=g<<28>>24;if(!(c[b+(f<<8)+128>>2]|0))return;c[b+(f<<8)+128>>2]=WLa(b,d[b+(f<<8)+212>>0]|0,g<<28>>24,h)|0;return}case 48:{a[b+(f<<8)+224>>0]=g&7;return}case 64:{a[b+(f<<8)+227>>0]=g&7;return}case 80:{a[b+(f<<8)+230>>0]=g&7;return}case 96:{c[b+59704>>2]=g&15;return}case 112:{if(c[b+59692>>2]|0)return;do switch(g&15|0){case 2:case 1:case 0:{h=c[b+59664>>2]|0;if(h>>>0>=128)return;switch(g&15|0){case 1:{g=b+(h<<8)|0;while(1){if((c[g+160>>2]|0)==(f+1|0))TLa(b,h);h=h+1|0;if((h|0)==128)break;else g=g+256|0}return}case 2:{g=b+(h<<8)|0;while(1){if((c[g+160>>2]|0)==(f+1|0)){b=g+36|0;c[b>>2]=c[b>>2]|1024}h=h+1|0;if((h|0)==128)break;else g=g+256|0}return}default:{g=b+(h<<8)|0;while(1){if((c[g+160>>2]|0)==(f+1|0)){b=g+36|0;c[b>>2]=c[b>>2]|1024;c[g+124>>2]=0}h=h+1|0;if((h|0)==128)break;else g=g+256|0}return}}}case 3:{a[b+(f<<8)+213>>0]=0;return}case 4:{a[b+(f<<8)+213>>0]=1;return}case 5:{a[b+(f<<8)+213>>0]=2;return}case 6:{a[b+(f<<8)+213>>0]=3;return}case 7:{c[b+(f<<8)+36>>2]=c[b+(f<<8)+36>>2]&-2097153;return}case 8:{c[b+(f<<8)+36>>2]=c[b+(f<<8)+36>>2]|2097152;return}case 9:{c[b+(f<<8)+36>>2]=c[b+(f<<8)+36>>2]&-4194305;return}case 10:{c[b+(f<<8)+36>>2]=c[b+(f<<8)+36>>2]|4194304;return}case 11:{c[b+(f<<8)+36>>2]=c[b+(f<<8)+36>>2]&-8388609;return}case 12:{c[b+(f<<8)+36>>2]=c[b+(f<<8)+36>>2]|8388608;return}default:return}while(0)}case 128:{if(c[b+59692>>2]|0)return;c[b+(f<<8)+120>>2]=(g&15)<<4|8;c[b+(f<<8)+36>>2]=c[b+(f<<8)+36>>2]|16777216;return}case 144:{eMa(b,b+(f<<8)|0,g&15);return}case 160:{if(c[b+59692>>2]|0)return;a[b+(f<<8)+237>>0]=g&15;if((a[b+(f<<8)+246>>0]|0)<=0)return;if((g&15)<<16>>>0>=(c[b+(f<<8)+32>>2]|0)>>>0)return;c[b+(f<<8)+4>>2]=(g&15)<<16;return}case 192:{if((c[b+59692>>2]|0)!=(g&15|0))return;c[b+(f<<8)+116>>2]=0;c[b+(f<<8)+36>>2]=c[b+(f<<8)+36>>2]|16777216;return}case 240:{a[b+(f<<8)+254>>0]=g&15;return}default:return}while(0)}function eMa(a,b,d){a=a|0;b=b|0;d=d|0;if(c[a+59692>>2]|0)return;do switch(d&15|0){case 0:{c[b+36>>2]=c[b+36>>2]&-2049;return}case 1:{c[b+36>>2]=c[b+36>>2]|2048;c[b+120>>2]=128;return}case 8:{c[b+36>>2]=c[b+36>>2]&-201326593|134217728;return}case 9:{c[b+36>>2]=c[b+36>>2]&-201326593|67108864;return}case 10:{c[a+59660>>2]=c[a+59660>>2]&-16385;return}case 11:{c[a+59660>>2]=c[a+59660>>2]|16384;return}case 12:{c[a+59660>>2]=c[a+59660>>2]&-8193;return}case 13:{c[a+59660>>2]=c[a+59660>>2]|8192;return}case 14:{c[b+36>>2]=c[b+36>>2]&-129;return}case 15:{d=c[b+36>>2]|0;if(!(d&2))if(!(c[b+4>>2]|0)){a=c[b+32>>2]|0;if(a|0){c[b+4>>2]=a+-1;c[b+8>>2]=65535}}c[b+36>>2]=d|128;return}default:return}while(0)}function fMa(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;g=c[e>>2]|0;if((g&2136964959|0)<826683462)switch(g&2136964959|0){case 809906246:{h=23;break}default:h=2}else switch(g&2136964959|0){case 826683462:{h=23;break}default:h=2}if((h|0)==2){if(!((g&255)<<24>>24))return;else{l=g&255;m=1;j=0;i=0;g=0;k=0;n=0}while(1){h=l<<24>>24;a:do if((l+-48&255)<10){j=h+-48|j<<4;h=k+1|0}else{if((l+-65&255)<6){j=h+-55|j<<4;h=k+1|0;break}if((l+-97&255)<6){j=h+-87|j<<4;h=k+1|0;break}switch(l<<24>>24){case 90:case 122:{j=f&127;h=2;break a}case 88:case 120:{j=f&112;h=2;break a}case 89:case 121:{j=f<<3&120;h=2;break a}default:{if(k>>>0<=1){h=k;break a}i=j<<(g<<3)|i;g=g+1|0;if(g>>>0<=2){j=0;h=0;break a}g=c[b+59664>>2]|0;if(g>>>0>d>>>0)h=d+1|0;else h=c[b+(d<<8)+160>>2]|0;if((h+-1|0)>>>0>=g>>>0){j=0;i=0;g=0;h=0;break a}g=(c[b+49600+((h+-1|0)*36|0)+12>>2]|0)+-1|0;if(g>>>0>=8){j=0;i=0;g=0;h=0;break a}h=c[b+58496+(g*144|0)>>2]|0;if(!h){j=0;i=0;g=0;h=0;break a}if(!(c[b+58496+(g*144|0)+4>>2]|0)){j=0;i=0;g=0;h=0;break a}si[c[(c[h>>2]|0)+32>>2]&511](h,i);j=0;i=0;g=0;h=0;break a}}}while(0);if((n+7|0)>>>0>=33){h=42;break}l=a[e+m>>0]|0;if(!(l<<24>>24)){h=42;break}else{n=m;m=m+1|0;k=h}}if((h|0)==42)return}else if((h|0)==23){if((a[e+4>>0]|0)!=48)return;g=a[e+6>>0]|0;b:do switch(g<<24>>24){case 90:case 122:break;default:{h=a[e+7>>0]|0;if((g+-48&255)<10)f=(g<<24>>24<<4)+-768|0;else if((g+-65&255)<6)f=(g<<24>>24<<4)+-880|0;else f=0;if((h+-48&255)<10){f=(h<<24>>24)+-48+f|0;break b}if((h+-65&255)<6)f=(h<<24>>24)+-55+f|0}}while(0);switch(a[e+5>>0]|0){case 48:{g=a[b+(d<<8)+238>>0]|0;if(f>>>0<128){f=f&255;a[b+(d<<8)+238>>0]=f}else f=g;e=(g&255)-(f&255)|0;f=c[b+(d<<8)+36>>2]|0;if(!(((((e|0)<0?0-e|0:e)|0)<16?1:(c[b+(d<<8)+116>>2]|0)>0)|(f&16384|0)==0))if(c[b+(d<<8)+16>>2]|c[b+(d<<8)+20>>2]|0)return;XLa(b,b+(d<<8)|0,(f&16384|0)==0,256);return}case 49:{if(f>>>0<128)a[b+(d<<8)+239>>0]=f;XLa(b,b+(d<<8)|0,(c[b+(d<<8)+36>>2]&16384|0)==0,256);return}default:return}}}function gMa(e,f,g,h,j){e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+256|0;if(h>>>0>=240){e=0;i=p;return e|0}while(1){if((a[e+53344+h>>0]|0)!=-2)break;h=h+1|0;if(h>>>0>=240){h=0;k=24;break}}if((k|0)==24){i=p;return h|0}if(f>>>0>239){e=0;i=p;return e|0}if(h>>>0>f>>>0){e=1;i=p;return e|0}if(h>>>0>>0){e=0;i=p;return e|0}h=b[e+52864+(f<<1)>>1]|0;if((h&65535)>>>0<=j>>>0){e=0;i=p;return e|0}o=c[e+51904+(f<<2)>>2]|0;if((j|g)>>>0>255|(o|0)==0){e=0;i=p;return e|0}hBb(p|0,0,256)|0;n=(h&65535)>256?256:h&65535;a[p+g>>0]=1;k=j;a:while(1){if(k>>>0>=256){h=0;break}h=p+k|0;if(a[h>>0]|0){h=0;break}if(k>>>0>=n>>>0){h=1;break}a[h>>0]=1;h=k+1|0;l=c[e+59664>>2]|0;if(l){j=-1;m=0;g=o+((_(l,k)|0)*6|0)|0;k=0;while(1){switch(a[g+3>>0]|0){case 12:{k=d[g+5>>0]|0;if(k>>>0>>0){h=0;break a}if(k>>>0>f>>>0){h=1;break a}else k=1;break}case 14:{j=d[g+5>>0]|0;break}default:{}}m=m+1|0;if(m>>>0>=l>>>0)break;else g=g+6|0}if((j|0)>-1)if(!k){h=1;break}else h=j}if(h>>>0>>0)k=h;else{h=1;break}}e=h;i=p;return e|0}function hMa(a,b){a=a|0;b=b|0;var d=0,f=0,g=0,h=0;if(!b){b=0;return b|0}if(!(c[a+59680>>2]&2130009)){d=1;while(1){g=WLa(a,d,0,0)|0;if(!((g|0)<1|(g|0)>(b|0))){g=12;break}d=d+1|0;if(d>>>0>=120){d=120;g=12;break}}if((g|0)==12)return d|0}f=0;while(1){a=e[167408+(f<<1)>>1]|0;if(b>>>2>>>0>=a>>>0){h=f;break}f=f+1|0;if(f>>>0>=72){d=108;g=12;break}}if((g|0)==12)return d|0;if((h|0)!=0&(b>>>2|0)!=(a|0))if(((e[167408+(h+-1<<1)>>1]|0)-(b>>>2)|0)>>>0<((b>>>2)-a|0)>>>0){b=h+36|0;return b|0}b=h+37|0;return b|0}function iMa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;if(!b){b=0;return b|0}f=c[a+59680>>2]|0;if(f&2130009|0){b=14187580/(b>>>0)|0;return b|0}a=(c[a+59660>>2]&16|0)!=0;if(!(f&1048580))if(a){b=FLa((d|0)==0?8363:d,438272,(b<<8)+e|0)|0;return b|0}else{b=FLa(8363,438272,(b<<8)+e|0)|0;return b|0}else if(a){b=(c[41404+(((b>>>0)%768|0)<<2)>>2]|0)>>>((b>>>0)/768|0);return b|0}else{b=14317456/(b>>>0)|0;return b|0}return 0}function jMa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;f=c[d>>2]|0;g=c[e>>2]|0;if(!(g|f)){hBb(a|0,0,b<<3|0)|0;return}if(b){h=0;do{k=(0-f>>31&255)+f>>8;j=(0-g>>31&255)+g>>8;f=f-k|0;g=g-j|0;i=h<<1;c[a+(i<<2)>>2]=k;c[a+((i|1)<<2)>>2]=j;h=h+1|0}while((h|0)!=(b|0))}c[d>>2]=f;c[e>>2]=g;return}function kMa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;if(!b){v=0;return v|0}if((c[9750]|0)>>>0>2)hBb(740700,0,b<<3|0)|0;if(!(c[a+59668>>2]|0)){v=0;return v|0}u=0;t=0;d=0;while(1){s=c[a+32768+(u<<2)>>2]|0;do if(!(c[a+(s<<8)>>2]|0))e=t;else{f=c[a+(s<<8)+36>>2]|0;do if(!(f&4096)){e=c[182099]|0;if((e&1040|0)==1040){q=f>>>5&2|f&1|f>>>11&8|48;break}if(!(e&16)){q=f>>>5&2|f&1|f>>>11&8|16;break}else{q=f>>>5&2|f&1|f>>>11&8|32;break}}else q=f>>>5&2|f&1|f>>>11&8;while(0);if(q>>>0<64)if((c[a+(s<<8)+20>>2]|0)==(c[a+(s<<8)+16>>2]|0))if(!(c[a+(s<<8)+92>>2]|0))r=44732;else if((c[a+(s<<8)+28>>2]|0)==(c[a+(s<<8)+24>>2]|0))r=44732;else v=17;else v=17;else v=17;if((v|0)==17){v=0;r=44476}f=f&67108864|0?736604:f&134217728|0?728412:c[182099]&128|0?736604:728412;if((f|0)==736604){e=c[182102]|0;if(!e)hBb(736604,0,b<<3|0)|0;c[182102]=e+b}d=d+1|0;p=q|4;g=c[a+(s<<8)+92>>2]|0;i=b;a:while(1){h=(g|0)>0&(i|0)>(g|0)?g:i;l=c[a+(s<<8)+36>>2]|0;if(!(l&2))n=0;else n=c[a+(s<<8)+40>>2]|0;j=c[a+(s<<8)+12>>2]|0;if(!((h|0)>0&(j|0)!=0)){h=f;break}o=c[a+(s<<8)+32>>2]|0;if(!o){h=f;break}e=c[a+(s<<8)+4>>2]|0;do if((n|0)>(e|0)){if((j|0)>=0){if((e|0)>=0){l=j;break}c[a+(s<<8)+4>>2]=0;e=0;l=j;break}m=(n-e<<16)-(c[a+(s<<8)+8>>2]&65535)|0;e=m>>16|n;c[a+(s<<8)+4>>2]=e;c[a+(s<<8)+8>>2]=m&65535;if((e|0)<(n|0))v=31;else if(e>>>0>=(o+n|0)>>>1>>>0)v=31;if((v|0)==31){v=0;c[a+(s<<8)+4>>2]=n;c[a+(s<<8)+8>>2]=0;e=n}c[a+(s<<8)+12>>2]=0-j;c[a+(s<<8)+36>>2]=l&-129;if(e>>>0>>0&((l&2|0)==0^1))l=0-j|0;else{e=i;v=33;break a}}else if(e>>>0>>0)l=j;else{if(!(l&2)){h=f;break a}if(!(l&4)){if((j|0)<0){c[a+(s<<8)+12>>2]=0-j;j=0-j|0}e=e+(n-o)|0;c[a+(s<<8)+4>>2]=e;if((e|0)>=(n|0)){l=j;break}e=c[a+(s<<8)+40>>2]|0;c[a+(s<<8)+4>>2]=e;l=j;break}else{if((j|0)>0){c[a+(s<<8)+12>>2]=0-j;k=0-j|0}else k=j;c[a+(s<<8)+36>>2]=l|128;j=65536-(c[a+(s<<8)+8>>2]&65535)|0;c[a+(s<<8)+4>>2]=(o<<1)-e-(j>>>16);c[a+(s<<8)+8>>2]=j&65535;if(((o<<1)-e-(j>>>16)|0)>>>0>>0?((o<<1)-e-(j>>>16)|0)>>>0>(c[a+(s<<8)+40>>2]|0)>>>0:0){e=(o<<1)-e-(j>>>16)|0;l=k;break}c[a+(s<<8)+4>>2]=o+-1;e=o+-1|0;l=k;break}}while(0);if(!((e|0)<(o|0)&(((e|0)<0|(e|0)<(n|0)&(l|e|0)<0)^1))){h=f;break}m=c[a+(s<<8)+8>>2]|0;if((l|0)<0){k=0-l|0;j=(16384/((k>>16)+1|0)|0|0)<2?2:16384/((k>>16)+1|0)|0;j=(j|0)<(h|0)?j:h;if((e-(_(j+-1|0,k>>16)|0)+((m&65535)-(_(j+-1|0,k&65535)|0)>>16)|0)<(n|0)){h=qBb(e|0,((e|0)<0)<<31>>31|0,n|0,((n|0)<0)<<31>>31|0)|0;h=pBb(h|0,C|0,16)|0;h=jBb(m&65535|h|0,C|0,-1,-1)|0;h=uBb(h|0,C|0,k|0,((k|0)<0)<<31>>31|0)|0;h=h+1|0}}else{n=l>>16;j=(16384/(n+1|0)|0|0)<2?2:16384/(n+1|0)|0;j=(j|0)<(h|0)?j:h;if(((_(j+-1|0,n)|0)+e+((_(j+-1|0,l&65535)|0)+(m&65535)>>16)|0)>=(o|0)){h=qBb(o|0,0,e|0,((e|0)<0)<<31>>31|0)|0;h=pBb(h|0,C|0,16)|0;h=jBb(h|0,C|0,-1,-1)|0;h=qBb(h|0,C|0,m&65535|0,0)|0;h=uBb(h|0,C|0,l|0,((l|0)<0)<<31>>31|0)|0;h=h+1|0}}if((h|0)<2)j=1;else if((h|0)>(j|0)){if((j|0)<1){h=f;break}}else j=h;if(t>>>0<(c[9749]|0)>>>0)v=63;else if(!(c[182099]&65536))v=65;else v=63;do if((v|0)==63){v=0;h=(g|0)==0;if(h)if(!(c[a+(s<<8)+16>>2]|c[a+(s<<8)+20>>2])){v=65;break}n=c[r+((h?q:p)<<2)>>2]|0;g=j<<1;o=f+(g<<2)|0;e=f+(g+-2<<2)|0;c[a+(s<<8)+84>>2]=0-(c[e>>2]|0);g=f+(g+-1<<2)|0;c[a+(s<<8)+88>>2]=0-(c[g>>2]|0);$i[n&255](a+(s<<8)|0,f,o);c[a+(s<<8)+84>>2]=(c[a+(s<<8)+84>>2]|0)+(c[e>>2]|0);c[a+(s<<8)+88>>2]=(c[a+(s<<8)+88>>2]|0)+(c[g>>2]|0);g=c[a+(s<<8)+92>>2]|0;e=1;f=o}while(0);if((v|0)==65){v=0;o=(_(l,j)|0)+m|0;c[a+(s<<8)+8>>2]=o&65535;c[a+(s<<8)+4>>2]=(o>>16)+e;c[a+(s<<8)+88>>2]=0;c[a+(s<<8)+84>>2]=0;e=0;f=f+(j<<1<<2)|0}i=i-j|0;do if(!g)g=0;else{g=g-j|0;c[a+(s<<8)+92>>2]=g;if((g|0)>=1)break;c[a+(s<<8)+92>>2]=0;c[a+(s<<8)+16>>2]=c[a+(s<<8)+100>>2];c[a+(s<<8)+20>>2]=c[a+(s<<8)+104>>2];c[a+(s<<8)+28>>2]=0;c[a+(s<<8)+24>>2]=0;if(!(c[a+(s<<8)+36>>2]&1024)){g=0;break}if(c[a+(s<<8)+124>>2]|0){g=0;break}c[a+(s<<8)+32>>2]=0;c[a+(s<<8)>>2]=0;g=0}while(0);if((i|0)<=0){v=73;break}}if((v|0)==33){v=0;c[a+(s<<8)+4>>2]=o;c[a+(s<<8)+8>>2]=0;i=e;h=f}else if((v|0)==73){v=0;e=e+t|0;break}c[a+(s<<8)>>2]=0;c[a+(s<<8)+32>>2]=0;c[a+(s<<8)+4>>2]=0;c[a+(s<<8)+8>>2]=0;c[a+(s<<8)+92>>2]=0;e=c[a+(s<<8)+84>>2]|0;f=c[a+(s<<8)+88>>2]|0;if(f|e){if(i){g=0;do{o=(0-e>>31&255)+e>>8;q=(0-f>>31&255)+f>>8;e=e-o|0;f=f-q|0;r=g<<1;p=h+(r<<2)|0;c[p>>2]=o+(c[p>>2]|0);r=h+((r|1)<<2)|0;c[r>>2]=q+(c[r>>2]|0);g=g+1|0}while((g|0)!=(i|0))}c[a+(s<<8)+84>>2]=e;c[a+(s<<8)+88>>2]=f}c[182100]=(c[182100]|0)+e;c[182101]=(c[182101]|0)+(c[a+(s<<8)+88>>2]|0);c[a+(s<<8)+88>>2]=0;c[a+(s<<8)+84>>2]=0;c[a+(s<<8)+36>>2]=c[a+(s<<8)+36>>2]&-129;e=t}while(0);u=u+1|0;if(u>>>0>=(c[a+59668>>2]|0)>>>0)break;else t=e}return d|0}function lMa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;g=c[b>>2]|0;h=c[b+4>>2]|0;g=(c[b+36>>2]&64|0)==0?g:g+h|0;f=c[b+8>>2]|0;do{j=a[g+((f>>16)+h)>>0]<<8;i=_(j,c[b+16>>2]|0)|0;c[d>>2]=i+(c[d>>2]|0);j=_(c[b+20>>2]|0,j)|0;i=d+4|0;c[i>>2]=(c[i>>2]|0)+j;d=d+8|0;f=(c[b+12>>2]|0)+f|0}while(d>>>0>>0);c[b+4>>2]=(c[b+4>>2]|0)+(f>>16);c[b+8>>2]=f&65535;return}function mMa(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;g=c[a+4>>2]|0;f=(c[a>>2]|0)+(g<<1)|0;g=(c[a+36>>2]&64|0)==0?f:f+(g<<1)|0;f=c[a+8>>2]|0;do{i=b[g+(f>>16<<1)>>1]|0;h=_(i,c[a+16>>2]|0)|0;c[d>>2]=(c[d>>2]|0)+h;i=_(c[a+20>>2]|0,i)|0;h=d+4|0;c[h>>2]=(c[h>>2]|0)+i;d=d+8|0;f=(c[a+12>>2]|0)+f|0}while(d>>>0>>0);c[a+4>>2]=(c[a+4>>2]|0)+(f>>16);c[a+8>>2]=f&65535;return}function nMa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;g=c[b>>2]|0;h=c[b+4>>2]|0;g=(c[b+36>>2]&64|0)==0?g:g+h|0;f=c[b+8>>2]|0;do{i=f>>16<<1;j=a[g+((i|1)+h)>>0]<<8;i=_(a[g+(i+h)>>0]<<8,c[b+16>>2]|0)|0;c[d>>2]=(c[d>>2]|0)+i;j=_(j,c[b+20>>2]|0)|0;i=d+4|0;c[i>>2]=(c[i>>2]|0)+j;d=d+8|0;f=(c[b+12>>2]|0)+f|0}while(d>>>0>>0);c[b+4>>2]=(c[b+4>>2]|0)+(f>>16);c[b+8>>2]=f&65535;return}function oMa(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;g=c[a+4>>2]|0;f=(c[a>>2]|0)+(g<<1)|0;g=(c[a+36>>2]&64|0)==0?f:f+(g<<1)|0;f=c[a+8>>2]|0;do{h=f>>16<<1;i=b[g+((h|1)<<1)>>1]|0;h=_(c[a+16>>2]|0,b[g+(h<<1)>>1]|0)|0;c[d>>2]=(c[d>>2]|0)+h;i=_(c[a+20>>2]|0,i)|0;h=d+4|0;c[h>>2]=(c[h>>2]|0)+i;d=d+8|0;f=(c[a+12>>2]|0)+f|0}while(d>>>0>>0);c[a+4>>2]=(c[a+4>>2]|0)+(f>>16);c[a+8>>2]=f&65535;return}function pMa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=c[b>>2]|0;j=c[b+4>>2]|0;i=(c[b+36>>2]&64|0)==0?i:i+j|0;f=c[b+8>>2]|0;g=c[b+52>>2]|0;h=c[b+48>>2]|0;do{l=a[i+((f>>16)+j)>>0]<<8;g=(c[b+28>>2]|0)+g|0;h=(c[b+24>>2]|0)+h|0;k=_(h>>12,l)|0;c[d>>2]=k+(c[d>>2]|0);l=_(g>>12,l)|0;k=d+4|0;c[k>>2]=(c[k>>2]|0)+l;d=d+8|0;f=(c[b+12>>2]|0)+f|0}while(d>>>0>>0);c[b+4>>2]=(c[b+4>>2]|0)+(f>>16);c[b+8>>2]=f&65535;c[b+48>>2]=h;c[b+16>>2]=h>>12;c[b+52>>2]=g;c[b+20>>2]=g>>12;return}function qMa(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;i=c[a+4>>2]|0;f=(c[a>>2]|0)+(i<<1)|0;i=(c[a+36>>2]&64|0)==0?f:f+(i<<1)|0;f=c[a+8>>2]|0;g=c[a+52>>2]|0;h=c[a+48>>2]|0;do{k=b[i+(f>>16<<1)>>1]|0;g=(c[a+28>>2]|0)+g|0;h=(c[a+24>>2]|0)+h|0;j=_(h>>12,k)|0;c[d>>2]=j+(c[d>>2]|0);k=_(g>>12,k)|0;j=d+4|0;c[j>>2]=(c[j>>2]|0)+k;d=d+8|0;f=(c[a+12>>2]|0)+f|0}while(d>>>0>>0);c[a+4>>2]=(c[a+4>>2]|0)+(f>>16);c[a+8>>2]=f&65535;c[a+48>>2]=h;c[a+16>>2]=h>>12;c[a+52>>2]=g;c[a+20>>2]=g>>12;return}function rMa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=c[b>>2]|0;j=c[b+4>>2]|0;i=(c[b+36>>2]&64|0)==0?i:i+j|0;f=c[b+8>>2]|0;g=c[b+52>>2]|0;h=c[b+48>>2]|0;do{k=f>>16<<1;l=a[i+((k|1)+j)>>0]<<8;g=(c[b+28>>2]|0)+g|0;h=(c[b+24>>2]|0)+h|0;k=_(a[i+(k+j)>>0]<<8,h>>12)|0;c[d>>2]=k+(c[d>>2]|0);l=_(l,g>>12)|0;k=d+4|0;c[k>>2]=(c[k>>2]|0)+l;d=d+8|0;f=(c[b+12>>2]|0)+f|0}while(d>>>0>>0);c[b+4>>2]=(c[b+4>>2]|0)+(f>>16);c[b+8>>2]=f&65535;c[b+48>>2]=h;c[b+16>>2]=h>>12;c[b+52>>2]=g;c[b+20>>2]=g>>12;return}function sMa(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;i=c[a+4>>2]|0;f=(c[a>>2]|0)+(i<<1)|0;i=(c[a+36>>2]&64|0)==0?f:f+(i<<1)|0;f=c[a+8>>2]|0;g=c[a+52>>2]|0;h=c[a+48>>2]|0;do{j=f>>16<<1;k=b[i+((j|1)<<1)>>1]|0;g=(c[a+28>>2]|0)+g|0;h=(c[a+24>>2]|0)+h|0;j=_(h>>12,b[i+(j<<1)>>1]|0)|0;c[d>>2]=j+(c[d>>2]|0);k=_(g>>12,k)|0;j=d+4|0;c[j>>2]=(c[j>>2]|0)+k;d=d+8|0;f=(c[a+12>>2]|0)+f|0}while(d>>>0>>0);c[a+4>>2]=(c[a+4>>2]|0)+(f>>16);c[a+8>>2]=f&65535;c[a+48>>2]=h;c[a+16>>2]=h>>12;c[a+52>>2]=g;c[a+20>>2]=g>>12;return}function tMa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=c[b>>2]|0;j=c[b+4>>2]|0;i=(c[b+36>>2]&64|0)==0?i:i+j|0;f=c[b+56>>2]|0;h=c[b+60>>2]|0;g=c[b+8>>2]|0;while(1){l=_(a[i+((g>>16)+j)>>0]<<8,c[b+72>>2]|0)|0;k=_(c[b+76>>2]|0,f)|0;h=k+4096+l+(_(c[b+80>>2]|0,h)|0)>>13;l=_(h,c[b+16>>2]|0)|0;c[d>>2]=l+(c[d>>2]|0);l=_(h,c[b+20>>2]|0)|0;k=d+4|0;c[k>>2]=l+(c[k>>2]|0);d=d+8|0;g=(c[b+12>>2]|0)+g|0;if(d>>>0>=e>>>0)break;else{l=f;f=h;h=l}}c[b+4>>2]=(c[b+4>>2]|0)+(g>>16);c[b+8>>2]=g&65535;c[b+56>>2]=h;c[b+60>>2]=f;return}function uMa(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;i=c[a+4>>2]|0;f=(c[a>>2]|0)+(i<<1)|0;i=(c[a+36>>2]&64|0)==0?f:f+(i<<1)|0;f=c[a+56>>2]|0;h=c[a+60>>2]|0;g=c[a+8>>2]|0;while(1){j=_(b[i+(g>>16<<1)>>1]|0,c[a+72>>2]|0)|0;k=_(c[a+76>>2]|0,f)|0;h=j+4096+k+(_(c[a+80>>2]|0,h)|0)>>13;k=_(h,c[a+16>>2]|0)|0;c[d>>2]=k+(c[d>>2]|0);k=_(h,c[a+20>>2]|0)|0;j=d+4|0;c[j>>2]=k+(c[j>>2]|0);d=d+8|0;g=(c[a+12>>2]|0)+g|0;if(d>>>0>=e>>>0)break;else{k=f;f=h;h=k}}c[a+4>>2]=(c[a+4>>2]|0)+(g>>16);c[a+8>>2]=g&65535;c[a+56>>2]=h;c[a+60>>2]=f;return}function vMa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;k=c[b>>2]|0;l=c[b+4>>2]|0;k=(c[b+36>>2]&64|0)==0?k:k+l|0;g=c[b+56>>2]|0;h=c[b+60>>2]|0;f=c[b+64>>2]|0;i=c[b+68>>2]|0;j=c[b+8>>2]|0;while(1){p=j>>16<<1;o=c[b+72>>2]|0;r=_(a[k+(p+l)>>0]<<8,o)|0;q=c[b+76>>2]|0;m=_(q,g)|0;n=c[b+80>>2]|0;m=r+4096+m+(_(n,h)|0)>>13;i=(_(q,f)|0)+4096+(_(a[k+((p|1)+l)>>0]<<8,o)|0)+(_(n,i)|0)>>13;n=_(m,c[b+16>>2]|0)|0;c[d>>2]=n+(c[d>>2]|0);n=_(i,c[b+20>>2]|0)|0;h=d+4|0;c[h>>2]=n+(c[h>>2]|0);d=d+8|0;h=(c[b+12>>2]|0)+j|0;if(d>>>0>=e>>>0)break;else{q=f;r=g;g=m;f=i;j=h;i=q;h=r}}c[b+4>>2]=(c[b+4>>2]|0)+(h>>16);c[b+8>>2]=h&65535;c[b+56>>2]=m;c[b+60>>2]=g;c[b+64>>2]=i;c[b+68>>2]=f;return}function wMa(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;k=c[a+4>>2]|0;g=(c[a>>2]|0)+(k<<1)|0;k=(c[a+36>>2]&64|0)==0?g:g+(k<<1)|0;g=c[a+56>>2]|0;h=c[a+60>>2]|0;f=c[a+64>>2]|0;i=c[a+68>>2]|0;j=c[a+8>>2]|0;while(1){p=j>>16<<1;o=c[a+72>>2]|0;q=_(o,b[k+(p<<1)>>1]|0)|0;n=c[a+76>>2]|0;l=_(n,g)|0;m=c[a+80>>2]|0;l=q+4096+l+(_(m,h)|0)>>13;i=(_(b[k+((p|1)<<1)>>1]|0,o)|0)+4096+(_(n,f)|0)+(_(m,i)|0)>>13;m=_(l,c[a+16>>2]|0)|0;c[d>>2]=m+(c[d>>2]|0);m=_(i,c[a+20>>2]|0)|0;h=d+4|0;c[h>>2]=m+(c[h>>2]|0);d=d+8|0;h=(c[a+12>>2]|0)+j|0;if(d>>>0>=e>>>0)break;else{p=f;q=g;g=l;f=i;j=h;i=p;h=q}}c[a+4>>2]=(c[a+4>>2]|0)+(h>>16);c[a+8>>2]=h&65535;c[a+56>>2]=l;c[a+60>>2]=g;c[a+64>>2]=i;c[a+68>>2]=f;return}function xMa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;l=c[b>>2]|0;m=c[b+4>>2]|0;l=(c[b+36>>2]&64|0)==0?l:l+m|0;f=c[b+56>>2]|0;h=c[b+60>>2]|0;g=c[b+8>>2]|0;j=c[b+52>>2]|0;i=c[b+48>>2]|0;while(1){k=_(a[l+((g>>16)+m)>>0]<<8,c[b+72>>2]|0)|0;n=_(c[b+76>>2]|0,f)|0;k=n+4096+k+(_(c[b+80>>2]|0,h)|0)>>13;h=(c[b+28>>2]|0)+j|0;i=(c[b+24>>2]|0)+i|0;n=_(k,i>>12)|0;c[d>>2]=n+(c[d>>2]|0);n=_(k,h>>12)|0;j=d+4|0;c[j>>2]=n+(c[j>>2]|0);d=d+8|0;g=(c[b+12>>2]|0)+g|0;if(d>>>0>=e>>>0)break;else{n=f;f=k;j=h;h=n}}c[b+4>>2]=(c[b+4>>2]|0)+(g>>16);c[b+8>>2]=g&65535;c[b+56>>2]=k;c[b+60>>2]=f;c[b+48>>2]=i;c[b+16>>2]=i>>12;c[b+52>>2]=h;c[b+20>>2]=h>>12;return}function yMa(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=c[a+4>>2]|0;f=(c[a>>2]|0)+(l<<1)|0;l=(c[a+36>>2]&64|0)==0?f:f+(l<<1)|0;f=c[a+56>>2]|0;h=c[a+60>>2]|0;g=c[a+8>>2]|0;j=c[a+52>>2]|0;i=c[a+48>>2]|0;while(1){m=_(b[l+(g>>16<<1)>>1]|0,c[a+72>>2]|0)|0;k=_(c[a+76>>2]|0,f)|0;k=m+4096+k+(_(c[a+80>>2]|0,h)|0)>>13;h=(c[a+28>>2]|0)+j|0;i=(c[a+24>>2]|0)+i|0;m=_(k,i>>12)|0;c[d>>2]=m+(c[d>>2]|0);m=_(k,h>>12)|0;j=d+4|0;c[j>>2]=m+(c[j>>2]|0);d=d+8|0;g=(c[a+12>>2]|0)+g|0;if(d>>>0>=e>>>0)break;else{m=f;f=k;j=h;h=m}}c[a+4>>2]=(c[a+4>>2]|0)+(g>>16);c[a+8>>2]=g&65535;c[a+56>>2]=k;c[a+60>>2]=f;c[a+48>>2]=i;c[a+16>>2]=i>>12;c[a+52>>2]=h;c[a+20>>2]=h>>12;return}function zMa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;n=c[b>>2]|0;o=c[b+4>>2]|0;n=(c[b+36>>2]&64|0)==0?n:n+o|0;g=c[b+56>>2]|0;h=c[b+60>>2]|0;f=c[b+64>>2]|0;i=c[b+68>>2]|0;m=c[b+8>>2]|0;k=c[b+52>>2]|0;j=c[b+48>>2]|0;while(1){r=m>>16<<1;q=c[b+72>>2]|0;t=_(a[n+(r+o)>>0]<<8,q)|0;s=c[b+76>>2]|0;p=_(s,g)|0;l=c[b+80>>2]|0;p=t+4096+p+(_(l,h)|0)>>13;l=(_(s,f)|0)+4096+(_(a[n+((r|1)+o)>>0]<<8,q)|0)+(_(l,i)|0)>>13;i=(c[b+28>>2]|0)+k|0;j=(c[b+24>>2]|0)+j|0;k=_(p,j>>12)|0;c[d>>2]=k+(c[d>>2]|0);k=_(l,i>>12)|0;h=d+4|0;c[h>>2]=k+(c[h>>2]|0);d=d+8|0;h=(c[b+12>>2]|0)+m|0;if(d>>>0>=e>>>0)break;else{s=f;t=g;g=p;f=l;m=h;k=i;i=s;h=t}}c[b+4>>2]=(c[b+4>>2]|0)+(h>>16);c[b+8>>2]=h&65535;c[b+56>>2]=p;c[b+60>>2]=g;c[b+64>>2]=l;c[b+68>>2]=f;c[b+48>>2]=j;c[b+16>>2]=j>>12;c[b+52>>2]=i;c[b+20>>2]=i>>12;return}function AMa(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;n=c[a+4>>2]|0;g=(c[a>>2]|0)+(n<<1)|0;n=(c[a+36>>2]&64|0)==0?g:g+(n<<1)|0;g=c[a+56>>2]|0;h=c[a+60>>2]|0;f=c[a+64>>2]|0;i=c[a+68>>2]|0;m=c[a+8>>2]|0;k=c[a+52>>2]|0;j=c[a+48>>2]|0;while(1){r=m>>16<<1;q=c[a+72>>2]|0;s=_(q,b[n+(r<<1)>>1]|0)|0;p=c[a+76>>2]|0;o=_(p,g)|0;l=c[a+80>>2]|0;o=s+4096+o+(_(l,h)|0)>>13;l=(_(b[n+((r|1)<<1)>>1]|0,q)|0)+4096+(_(p,f)|0)+(_(l,i)|0)>>13;i=(c[a+28>>2]|0)+k|0;j=(c[a+24>>2]|0)+j|0;k=_(o,j>>12)|0;c[d>>2]=k+(c[d>>2]|0);k=_(l,i>>12)|0;h=d+4|0;c[h>>2]=k+(c[h>>2]|0);d=d+8|0;h=(c[a+12>>2]|0)+m|0;if(d>>>0>=e>>>0)break;else{r=f;s=g;g=o;f=l;m=h;k=i;i=r;h=s}}c[a+4>>2]=(c[a+4>>2]|0)+(h>>16);c[a+8>>2]=h&65535;c[a+56>>2]=o;c[a+60>>2]=g;c[a+64>>2]=l;c[a+68>>2]=f;c[a+48>>2]=j;c[a+16>>2]=j>>12;c[a+52>>2]=i;c[a+20>>2]=i>>12;return}function BMa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;g=c[b>>2]|0;h=c[b+4>>2]|0;g=(c[b+36>>2]&64|0)==0?g:g+h|0;f=c[b+8>>2]|0;do{i=f>>16;j=a[g+(i+h)>>0]|0;j=(_((a[g+(h+1+i)>>0]|0)-j|0,f>>>8&255)|0)+(j<<8)|0;i=_(j,c[b+16>>2]|0)|0;c[d>>2]=i+(c[d>>2]|0);j=_(j,c[b+20>>2]|0)|0;i=d+4|0;c[i>>2]=j+(c[i>>2]|0);d=d+8|0;f=(c[b+12>>2]|0)+f|0}while(d>>>0>>0);c[b+4>>2]=(c[b+4>>2]|0)+(f>>16);c[b+8>>2]=f&65535;return}function CMa(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;g=c[a+4>>2]|0;f=(c[a>>2]|0)+(g<<1)|0;g=(c[a+36>>2]&64|0)==0?f:f+(g<<1)|0;f=c[a+8>>2]|0;do{h=f>>16;i=b[g+(h<<1)>>1]|0;i=((_((b[g+(h+1<<1)>>1]|0)-i|0,f>>>8&255)|0)>>8)+i|0;h=_(i,c[a+16>>2]|0)|0;c[d>>2]=h+(c[d>>2]|0);i=_(i,c[a+20>>2]|0)|0;h=d+4|0;c[h>>2]=i+(c[h>>2]|0);d=d+8|0;f=(c[a+12>>2]|0)+f|0}while(d>>>0>>0);c[a+4>>2]=(c[a+4>>2]|0)+(f>>16);c[a+8>>2]=f&65535;return}function DMa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=c[b>>2]|0;h=c[b+4>>2]|0;g=(c[b+36>>2]&64|0)==0?g:g+h|0;f=c[b+8>>2]|0;do{k=f>>>8&255;l=f>>16<<1;i=a[g+(l+h)>>0]|0;i=(_((a[g+(h+2+l)>>0]|0)-i|0,k)|0)+(i<<8)|0;j=a[g+((l|1)+h)>>0]|0;j=(_((a[g+(h+3+l)>>0]|0)-j|0,k)|0)+(j<<8)|0;i=_(i,c[b+16>>2]|0)|0;c[d>>2]=i+(c[d>>2]|0);j=_(j,c[b+20>>2]|0)|0;i=d+4|0;c[i>>2]=j+(c[i>>2]|0);d=d+8|0;f=(c[b+12>>2]|0)+f|0}while(d>>>0>>0);c[b+4>>2]=(c[b+4>>2]|0)+(f>>16);c[b+8>>2]=f&65535;return}function EMa(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;g=c[a+4>>2]|0;f=(c[a>>2]|0)+(g<<1)|0;g=(c[a+36>>2]&64|0)==0?f:f+(g<<1)|0;f=c[a+8>>2]|0;do{j=f>>>8&255;k=f>>16<<1;h=b[g+(k<<1)>>1]|0;h=((_((b[g+(k+2<<1)>>1]|0)-h|0,j)|0)>>8)+h|0;i=b[g+((k|1)<<1)>>1]|0;i=((_((b[g+(k+3<<1)>>1]|0)-i|0,j)|0)>>8)+i|0;h=_(h,c[a+16>>2]|0)|0;c[d>>2]=h+(c[d>>2]|0);i=_(i,c[a+20>>2]|0)|0;h=d+4|0;c[h>>2]=i+(c[h>>2]|0);d=d+8|0;f=(c[a+12>>2]|0)+f|0}while(d>>>0>>0);c[a+4>>2]=(c[a+4>>2]|0)+(f>>16);c[a+8>>2]=f&65535;return}function FMa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=c[b>>2]|0;j=c[b+4>>2]|0;i=(c[b+36>>2]&64|0)==0?i:i+j|0;f=c[b+8>>2]|0;g=c[b+52>>2]|0;h=c[b+48>>2]|0;do{k=f>>16;l=a[i+(k+j)>>0]|0;l=(_((a[i+(j+1+k)>>0]|0)-l|0,f>>>8&255)|0)+(l<<8)|0;g=(c[b+28>>2]|0)+g|0;h=(c[b+24>>2]|0)+h|0;k=_(l,h>>12)|0;c[d>>2]=k+(c[d>>2]|0);l=_(l,g>>12)|0;k=d+4|0;c[k>>2]=l+(c[k>>2]|0);d=d+8|0;f=(c[b+12>>2]|0)+f|0}while(d>>>0>>0);c[b+4>>2]=(c[b+4>>2]|0)+(f>>16);c[b+8>>2]=f&65535;c[b+48>>2]=h;c[b+16>>2]=h>>12;c[b+52>>2]=g;c[b+20>>2]=g>>12;return}function GMa(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;i=c[a+4>>2]|0;f=(c[a>>2]|0)+(i<<1)|0;i=(c[a+36>>2]&64|0)==0?f:f+(i<<1)|0;f=c[a+8>>2]|0;g=c[a+52>>2]|0;h=c[a+48>>2]|0;do{j=f>>16;k=b[i+(j<<1)>>1]|0;k=((_((b[i+(j+1<<1)>>1]|0)-k|0,f>>>8&255)|0)>>8)+k|0;g=(c[a+28>>2]|0)+g|0;h=(c[a+24>>2]|0)+h|0;j=_(k,h>>12)|0;c[d>>2]=j+(c[d>>2]|0);k=_(k,g>>12)|0;j=d+4|0;c[j>>2]=k+(c[j>>2]|0);d=d+8|0;f=(c[a+12>>2]|0)+f|0}while(d>>>0>>0);c[a+4>>2]=(c[a+4>>2]|0)+(f>>16);c[a+8>>2]=f&65535;c[a+48>>2]=h;c[a+16>>2]=h>>12;c[a+52>>2]=g;c[a+20>>2]=g>>12;return}function HMa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;i=c[b>>2]|0;j=c[b+4>>2]|0;i=(c[b+36>>2]&64|0)==0?i:i+j|0;f=c[b+8>>2]|0;g=c[b+52>>2]|0;h=c[b+48>>2]|0;do{m=f>>>8&255;n=f>>16<<1;k=a[i+(n+j)>>0]|0;k=(_((a[i+(j+2+n)>>0]|0)-k|0,m)|0)+(k<<8)|0;l=a[i+((n|1)+j)>>0]|0;l=(_((a[i+(j+3+n)>>0]|0)-l|0,m)|0)+(l<<8)|0;g=(c[b+28>>2]|0)+g|0;h=(c[b+24>>2]|0)+h|0;k=_(h>>12,k)|0;c[d>>2]=k+(c[d>>2]|0);l=_(l,g>>12)|0;k=d+4|0;c[k>>2]=l+(c[k>>2]|0);d=d+8|0;f=(c[b+12>>2]|0)+f|0}while(d>>>0>>0);c[b+4>>2]=(c[b+4>>2]|0)+(f>>16);c[b+8>>2]=f&65535;c[b+48>>2]=h;c[b+16>>2]=h>>12;c[b+52>>2]=g;c[b+20>>2]=g>>12;return}function IMa(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;i=c[a+4>>2]|0;f=(c[a>>2]|0)+(i<<1)|0;i=(c[a+36>>2]&64|0)==0?f:f+(i<<1)|0;f=c[a+8>>2]|0;g=c[a+52>>2]|0;h=c[a+48>>2]|0;do{l=f>>>8&255;m=f>>16<<1;j=b[i+(m<<1)>>1]|0;j=((_((b[i+(m+2<<1)>>1]|0)-j|0,l)|0)>>8)+j|0;k=b[i+((m|1)<<1)>>1]|0;k=((_((b[i+(m+3<<1)>>1]|0)-k|0,l)|0)>>8)+k|0;g=(c[a+28>>2]|0)+g|0;h=(c[a+24>>2]|0)+h|0;j=_(h>>12,j)|0;c[d>>2]=j+(c[d>>2]|0);k=_(k,g>>12)|0;j=d+4|0;c[j>>2]=k+(c[j>>2]|0);d=d+8|0;f=(c[a+12>>2]|0)+f|0}while(d>>>0>>0);c[a+4>>2]=(c[a+4>>2]|0)+(f>>16);c[a+8>>2]=f&65535;c[a+48>>2]=h;c[a+16>>2]=h>>12;c[a+52>>2]=g;c[a+20>>2]=g>>12;return}function JMa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=c[b>>2]|0;j=c[b+4>>2]|0;i=(c[b+36>>2]&64|0)==0?i:i+j|0;f=c[b+56>>2]|0;h=c[b+60>>2]|0;g=c[b+8>>2]|0;while(1){k=g>>16;l=a[i+(k+j)>>0]|0;l=(_((a[i+(j+1+k)>>0]|0)-l|0,g>>>8&255)|0)+(l<<8)|0;l=_(l,c[b+72>>2]|0)|0;k=_(c[b+76>>2]|0,f)|0;h=k+4096+(_(c[b+80>>2]|0,h)|0)+l>>13;l=_(h,c[b+16>>2]|0)|0;c[d>>2]=l+(c[d>>2]|0);l=_(h,c[b+20>>2]|0)|0;k=d+4|0;c[k>>2]=l+(c[k>>2]|0);d=d+8|0;g=(c[b+12>>2]|0)+g|0;if(d>>>0>=e>>>0)break;else{l=f;f=h;h=l}}c[b+4>>2]=(c[b+4>>2]|0)+(g>>16);c[b+8>>2]=g&65535;c[b+56>>2]=h;c[b+60>>2]=f;return}function KMa(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;i=c[a+4>>2]|0;f=(c[a>>2]|0)+(i<<1)|0;i=(c[a+36>>2]&64|0)==0?f:f+(i<<1)|0;f=c[a+56>>2]|0;h=c[a+60>>2]|0;g=c[a+8>>2]|0;while(1){j=g>>16;k=b[i+(j<<1)>>1]|0;k=((_((b[i+(j+1<<1)>>1]|0)-k|0,g>>>8&255)|0)>>8)+k|0;k=_(k,c[a+72>>2]|0)|0;j=_(c[a+76>>2]|0,f)|0;h=j+4096+(_(c[a+80>>2]|0,h)|0)+k>>13;k=_(h,c[a+16>>2]|0)|0;c[d>>2]=k+(c[d>>2]|0);k=_(h,c[a+20>>2]|0)|0;j=d+4|0;c[j>>2]=k+(c[j>>2]|0);d=d+8|0;g=(c[a+12>>2]|0)+g|0;if(d>>>0>=e>>>0)break;else{k=f;f=h;h=k}}c[a+4>>2]=(c[a+4>>2]|0)+(g>>16);c[a+8>>2]=g&65535;c[a+56>>2]=h;c[a+60>>2]=f;return}function LMa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;k=c[b>>2]|0;l=c[b+4>>2]|0;k=(c[b+36>>2]&64|0)==0?k:k+l|0;g=c[b+56>>2]|0;h=c[b+60>>2]|0;f=c[b+64>>2]|0;i=c[b+68>>2]|0;j=c[b+8>>2]|0;while(1){n=j>>>8&255;q=j>>16<<1;m=a[k+(q+l)>>0]|0;m=(_((a[k+(l+2+q)>>0]|0)-m|0,n)|0)+(m<<8)|0;o=a[k+((q|1)+l)>>0]|0;o=(_((a[k+(l+3+q)>>0]|0)-o|0,n)|0)+(o<<8)|0;n=c[b+72>>2]|0;m=_(m,n)|0;q=c[b+76>>2]|0;r=_(q,g)|0;p=c[b+80>>2]|0;m=r+4096+m+(_(p,h)|0)>>13;i=(_(q,f)|0)+4096+(_(p,i)|0)+(_(o,n)|0)>>13;n=_(m,c[b+16>>2]|0)|0;c[d>>2]=n+(c[d>>2]|0);n=_(i,c[b+20>>2]|0)|0;h=d+4|0;c[h>>2]=n+(c[h>>2]|0);d=d+8|0;h=(c[b+12>>2]|0)+j|0;if(d>>>0>=e>>>0)break;else{q=f;r=g;g=m;f=i;j=h;i=q;h=r}}c[b+4>>2]=(c[b+4>>2]|0)+(h>>16);c[b+8>>2]=h&65535;c[b+56>>2]=m;c[b+60>>2]=g;c[b+64>>2]=i;c[b+68>>2]=f;return}function MMa(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;k=c[a+4>>2]|0;g=(c[a>>2]|0)+(k<<1)|0;k=(c[a+36>>2]&64|0)==0?g:g+(k<<1)|0;g=c[a+56>>2]|0;h=c[a+60>>2]|0;f=c[a+64>>2]|0;i=c[a+68>>2]|0;j=c[a+8>>2]|0;while(1){m=j>>>8&255;p=j>>16<<1;l=b[k+(p<<1)>>1]|0;l=((_((b[k+(p+2<<1)>>1]|0)-l|0,m)|0)>>8)+l|0;n=b[k+((p|1)<<1)>>1]|0;n=((_((b[k+(p+3<<1)>>1]|0)-n|0,m)|0)>>8)+n|0;m=c[a+72>>2]|0;l=_(l,m)|0;p=c[a+76>>2]|0;q=_(p,g)|0;o=c[a+80>>2]|0;l=q+4096+l+(_(o,h)|0)>>13;i=(_(p,f)|0)+4096+(_(o,i)|0)+(_(n,m)|0)>>13;m=_(l,c[a+16>>2]|0)|0;c[d>>2]=m+(c[d>>2]|0);m=_(i,c[a+20>>2]|0)|0;h=d+4|0;c[h>>2]=m+(c[h>>2]|0);d=d+8|0;h=(c[a+12>>2]|0)+j|0;if(d>>>0>=e>>>0)break;else{p=f;q=g;g=l;f=i;j=h;i=p;h=q}}c[a+4>>2]=(c[a+4>>2]|0)+(h>>16);c[a+8>>2]=h&65535;c[a+56>>2]=l;c[a+60>>2]=g;c[a+64>>2]=i;c[a+68>>2]=f;return}function NMa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;l=c[b>>2]|0;m=c[b+4>>2]|0;l=(c[b+36>>2]&64|0)==0?l:l+m|0;f=c[b+56>>2]|0;h=c[b+60>>2]|0;g=c[b+8>>2]|0;j=c[b+52>>2]|0;i=c[b+48>>2]|0;while(1){n=g>>16;k=a[l+(n+m)>>0]|0;k=(_((a[l+(m+1+n)>>0]|0)-k|0,g>>>8&255)|0)+(k<<8)|0;k=_(k,c[b+72>>2]|0)|0;n=_(c[b+76>>2]|0,f)|0;k=n+4096+(_(c[b+80>>2]|0,h)|0)+k>>13;h=(c[b+28>>2]|0)+j|0;i=(c[b+24>>2]|0)+i|0;n=_(k,i>>12)|0;c[d>>2]=n+(c[d>>2]|0);n=_(k,h>>12)|0;j=d+4|0;c[j>>2]=n+(c[j>>2]|0);d=d+8|0;g=(c[b+12>>2]|0)+g|0;if(d>>>0>=e>>>0)break;else{n=f;f=k;j=h;h=n}}c[b+4>>2]=(c[b+4>>2]|0)+(g>>16);c[b+8>>2]=g&65535;c[b+56>>2]=k;c[b+60>>2]=f;c[b+48>>2]=i;c[b+16>>2]=i>>12;c[b+52>>2]=h;c[b+20>>2]=h>>12;return}function OMa(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=c[a+4>>2]|0;f=(c[a>>2]|0)+(l<<1)|0;l=(c[a+36>>2]&64|0)==0?f:f+(l<<1)|0;f=c[a+56>>2]|0;h=c[a+60>>2]|0;g=c[a+8>>2]|0;j=c[a+52>>2]|0;i=c[a+48>>2]|0;while(1){m=g>>16;k=b[l+(m<<1)>>1]|0;k=((_((b[l+(m+1<<1)>>1]|0)-k|0,g>>>8&255)|0)>>8)+k|0;k=_(k,c[a+72>>2]|0)|0;m=_(c[a+76>>2]|0,f)|0;k=m+4096+(_(c[a+80>>2]|0,h)|0)+k>>13;h=(c[a+28>>2]|0)+j|0;i=(c[a+24>>2]|0)+i|0;m=_(k,i>>12)|0;c[d>>2]=m+(c[d>>2]|0);m=_(k,h>>12)|0;j=d+4|0;c[j>>2]=m+(c[j>>2]|0);d=d+8|0;g=(c[a+12>>2]|0)+g|0;if(d>>>0>=e>>>0)break;else{m=f;f=k;j=h;h=m}}c[a+4>>2]=(c[a+4>>2]|0)+(g>>16);c[a+8>>2]=g&65535;c[a+56>>2]=k;c[a+60>>2]=f;c[a+48>>2]=i;c[a+16>>2]=i>>12;c[a+52>>2]=h;c[a+20>>2]=h>>12;return}function PMa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;n=c[b>>2]|0;o=c[b+4>>2]|0;n=(c[b+36>>2]&64|0)==0?n:n+o|0;g=c[b+56>>2]|0;h=c[b+60>>2]|0;f=c[b+64>>2]|0;i=c[b+68>>2]|0;m=c[b+8>>2]|0;k=c[b+52>>2]|0;j=c[b+48>>2]|0;while(1){l=m>>>8&255;s=m>>16<<1;p=a[n+(s+o)>>0]|0;p=(_((a[n+(o+2+s)>>0]|0)-p|0,l)|0)+(p<<8)|0;q=a[n+((s|1)+o)>>0]|0;q=(_((a[n+(o+3+s)>>0]|0)-q|0,l)|0)+(q<<8)|0;l=c[b+72>>2]|0;p=_(p,l)|0;s=c[b+76>>2]|0;t=_(s,g)|0;r=c[b+80>>2]|0;p=t+4096+p+(_(r,h)|0)>>13;l=(_(s,f)|0)+4096+(_(r,i)|0)+(_(q,l)|0)>>13;i=(c[b+28>>2]|0)+k|0;j=(c[b+24>>2]|0)+j|0;k=_(p,j>>12)|0;c[d>>2]=k+(c[d>>2]|0);k=_(l,i>>12)|0;h=d+4|0;c[h>>2]=k+(c[h>>2]|0);d=d+8|0;h=(c[b+12>>2]|0)+m|0;if(d>>>0>=e>>>0)break;else{s=f;t=g;g=p;f=l;m=h;k=i;i=s;h=t}}c[b+4>>2]=(c[b+4>>2]|0)+(h>>16);c[b+8>>2]=h&65535;c[b+56>>2]=p;c[b+60>>2]=g;c[b+64>>2]=l;c[b+68>>2]=f;c[b+48>>2]=j;c[b+16>>2]=j>>12;c[b+52>>2]=i;c[b+20>>2]=i>>12;return}function QMa(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;n=c[a+4>>2]|0;g=(c[a>>2]|0)+(n<<1)|0;n=(c[a+36>>2]&64|0)==0?g:g+(n<<1)|0;g=c[a+56>>2]|0;h=c[a+60>>2]|0;f=c[a+64>>2]|0;i=c[a+68>>2]|0;m=c[a+8>>2]|0;k=c[a+52>>2]|0;j=c[a+48>>2]|0;while(1){l=m>>>8&255;r=m>>16<<1;o=b[n+(r<<1)>>1]|0;o=((_((b[n+(r+2<<1)>>1]|0)-o|0,l)|0)>>8)+o|0;p=b[n+((r|1)<<1)>>1]|0;p=((_((b[n+(r+3<<1)>>1]|0)-p|0,l)|0)>>8)+p|0;l=c[a+72>>2]|0;o=_(o,l)|0;r=c[a+76>>2]|0;s=_(r,g)|0;q=c[a+80>>2]|0;o=s+4096+o+(_(q,h)|0)>>13;l=(_(r,f)|0)+4096+(_(q,i)|0)+(_(p,l)|0)>>13;i=(c[a+28>>2]|0)+k|0;j=(c[a+24>>2]|0)+j|0;k=_(o,j>>12)|0;c[d>>2]=k+(c[d>>2]|0);k=_(l,i>>12)|0;h=d+4|0;c[h>>2]=k+(c[h>>2]|0);d=d+8|0;h=(c[a+12>>2]|0)+m|0;if(d>>>0>=e>>>0)break;else{r=f;s=g;g=o;f=l;m=h;k=i;i=r;h=s}}c[a+4>>2]=(c[a+4>>2]|0)+(h>>16);c[a+8>>2]=h&65535;c[a+56>>2]=o;c[a+60>>2]=g;c[a+64>>2]=l;c[a+68>>2]=f;c[a+48>>2]=j;c[a+16>>2]=j>>12;c[a+52>>2]=i;c[a+20>>2]=i>>12;return}function RMa(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;h=c[d>>2]|0;i=c[d+4>>2]|0;h=(c[d+36>>2]&64|0)==0?h:h+i|0;g=c[d+8>>2]|0;do{j=g>>16;k=g>>>4&4092;l=_(a[h+(i+-1+j)>>0]|0,b[1206338+(k<<1)>>1]|0)|0;l=(_(a[h+(j+i)>>0]|0,b[1206338+((k|1)<<1)>>1]|0)|0)+l|0;l=l+(_(a[h+(i+2+j)>>0]|0,b[1206338+((k|3)<<1)>>1]|0)|0)|0;k=l+(_(a[h+(i+1+j)>>0]|0,b[1206338+((k|2)<<1)>>1]|0)|0)>>6;j=_(k,c[d+16>>2]|0)|0;c[e>>2]=j+(c[e>>2]|0);k=_(k,c[d+20>>2]|0)|0;j=e+4|0;c[j>>2]=k+(c[j>>2]|0);e=e+8|0;g=(c[d+12>>2]|0)+g|0}while(e>>>0>>0);c[d+4>>2]=(c[d+4>>2]|0)+(g>>16);c[d+8>>2]=g&65535;return}function SMa(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;g=c[a+4>>2]|0;f=(c[a>>2]|0)+(g<<1)|0;g=(c[a+36>>2]&64|0)==0?f:f+(g<<1)|0;f=c[a+8>>2]|0;do{h=f>>16;i=f>>>4&4092;j=_(b[g+(h+-1<<1)>>1]|0,b[1206338+(i<<1)>>1]|0)|0;j=(_(b[g+(h<<1)>>1]|0,b[1206338+((i|1)<<1)>>1]|0)|0)+j|0;j=j+(_(b[g+(h+2<<1)>>1]|0,b[1206338+((i|3)<<1)>>1]|0)|0)|0;i=j+(_(b[g+(h+1<<1)>>1]|0,b[1206338+((i|2)<<1)>>1]|0)|0)>>14;h=_(i,c[a+16>>2]|0)|0;c[d>>2]=h+(c[d>>2]|0);i=_(i,c[a+20>>2]|0)|0;h=d+4|0;c[h>>2]=i+(c[h>>2]|0);d=d+8|0;f=(c[a+12>>2]|0)+f|0}while(d>>>0>>0);c[a+4>>2]=(c[a+4>>2]|0)+(f>>16);c[a+8>>2]=f&65535;return}function TMa(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;h=c[d>>2]|0;i=c[d+4>>2]|0;h=(c[d+36>>2]&64|0)==0?h:h+i|0;g=c[d+8>>2]|0;do{k=g>>>4&4092;n=b[1206338+(k<<1)>>1]|0;l=g>>16<<1;j=_(a[h+(i+-2+l)>>0]|0,n)|0;o=b[1206338+((k|1)<<1)>>1]|0;j=(_(a[h+(l+i)>>0]|0,o)|0)+j|0;m=b[1206338+((k|2)<<1)>>1]|0;j=j+(_(a[h+(i+2+l)>>0]|0,m)|0)|0;k=b[1206338+((k|3)<<1)>>1]|0;j=j+(_(a[h+(i+4+l)>>0]|0,k)|0)>>6;n=_(a[h+(i+-1+l)>>0]|0,n)|0;n=(_(a[h+((l|1)+i)>>0]|0,o)|0)+n|0;m=n+(_(a[h+(i+3+l)>>0]|0,m)|0)|0;k=m+(_(a[h+(i+5+l)>>0]|0,k)|0)>>6;j=_(c[d+16>>2]|0,j)|0;c[e>>2]=(c[e>>2]|0)+j;k=_(k,c[d+20>>2]|0)|0;j=e+4|0;c[j>>2]=k+(c[j>>2]|0);e=e+8|0;g=(c[d+12>>2]|0)+g|0}while(e>>>0>>0);c[d+4>>2]=(c[d+4>>2]|0)+(g>>16);c[d+8>>2]=g&65535;return}function UMa(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=c[a+4>>2]|0;f=(c[a>>2]|0)+(g<<1)|0;g=(c[a+36>>2]&64|0)==0?f:f+(g<<1)|0;f=c[a+8>>2]|0;do{i=f>>>4&4092;l=b[1206338+(i<<1)>>1]|0;j=f>>16<<1;h=_(b[g+(j+-2<<1)>>1]|0,l)|0;m=b[1206338+((i|1)<<1)>>1]|0;h=(_(b[g+(j<<1)>>1]|0,m)|0)+h|0;k=b[1206338+((i|2)<<1)>>1]|0;h=h+(_(b[g+(j+2<<1)>>1]|0,k)|0)|0;i=b[1206338+((i|3)<<1)>>1]|0;h=h+(_(b[g+(j+4<<1)>>1]|0,i)|0)>>14;l=_(b[g+(j+-1<<1)>>1]|0,l)|0;l=(_(b[g+((j|1)<<1)>>1]|0,m)|0)+l|0;k=l+(_(b[g+(j+3<<1)>>1]|0,k)|0)|0;i=k+(_(b[g+(j+5<<1)>>1]|0,i)|0)>>14;h=_(c[a+16>>2]|0,h)|0;c[d>>2]=(c[d>>2]|0)+h;i=_(i,c[a+20>>2]|0)|0;h=d+4|0;c[h>>2]=i+(c[h>>2]|0);d=d+8|0;f=(c[a+12>>2]|0)+f|0}while(d>>>0>>0);c[a+4>>2]=(c[a+4>>2]|0)+(f>>16);c[a+8>>2]=f&65535;return}function VMa(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;j=c[d>>2]|0;k=c[d+4>>2]|0;j=(c[d+36>>2]&64|0)==0?j:j+k|0;g=c[d+8>>2]|0;h=c[d+52>>2]|0;i=c[d+48>>2]|0;do{l=g>>16;m=g>>>4&4092;n=_(a[j+(k+-1+l)>>0]|0,b[1206338+(m<<1)>>1]|0)|0;n=(_(a[j+(l+k)>>0]|0,b[1206338+((m|1)<<1)>>1]|0)|0)+n|0;n=n+(_(a[j+(k+2+l)>>0]|0,b[1206338+((m|3)<<1)>>1]|0)|0)|0;m=n+(_(a[j+(k+1+l)>>0]|0,b[1206338+((m|2)<<1)>>1]|0)|0)>>6;h=(c[d+28>>2]|0)+h|0;i=(c[d+24>>2]|0)+i|0;l=_(m,i>>12)|0;c[e>>2]=l+(c[e>>2]|0);m=_(m,h>>12)|0;l=e+4|0;c[l>>2]=m+(c[l>>2]|0);e=e+8|0;g=(c[d+12>>2]|0)+g|0}while(e>>>0>>0);c[d+4>>2]=(c[d+4>>2]|0)+(g>>16);c[d+8>>2]=g&65535;c[d+48>>2]=i;c[d+16>>2]=i>>12;c[d+52>>2]=h;c[d+20>>2]=h>>12;return}function WMa(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=c[a+4>>2]|0;f=(c[a>>2]|0)+(i<<1)|0;i=(c[a+36>>2]&64|0)==0?f:f+(i<<1)|0;f=c[a+8>>2]|0;g=c[a+52>>2]|0;h=c[a+48>>2]|0;do{j=f>>16;k=f>>>4&4092;l=_(b[i+(j+-1<<1)>>1]|0,b[1206338+(k<<1)>>1]|0)|0;l=(_(b[i+(j<<1)>>1]|0,b[1206338+((k|1)<<1)>>1]|0)|0)+l|0;l=l+(_(b[i+(j+2<<1)>>1]|0,b[1206338+((k|3)<<1)>>1]|0)|0)|0;k=l+(_(b[i+(j+1<<1)>>1]|0,b[1206338+((k|2)<<1)>>1]|0)|0)>>14;g=(c[a+28>>2]|0)+g|0;h=(c[a+24>>2]|0)+h|0;j=_(k,h>>12)|0;c[d>>2]=j+(c[d>>2]|0);k=_(k,g>>12)|0;j=d+4|0;c[j>>2]=k+(c[j>>2]|0);d=d+8|0;f=(c[a+12>>2]|0)+f|0}while(d>>>0>>0);c[a+4>>2]=(c[a+4>>2]|0)+(f>>16);c[a+8>>2]=f&65535;c[a+48>>2]=h;c[a+16>>2]=h>>12;c[a+52>>2]=g;c[a+20>>2]=g>>12;return}function XMa(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;j=c[d>>2]|0;k=c[d+4>>2]|0;j=(c[d+36>>2]&64|0)==0?j:j+k|0;g=c[d+8>>2]|0;h=c[d+52>>2]|0;i=c[d+48>>2]|0;do{m=g>>>4&4092;p=b[1206338+(m<<1)>>1]|0;n=g>>16<<1;l=_(a[j+(k+-2+n)>>0]|0,p)|0;q=b[1206338+((m|1)<<1)>>1]|0;l=(_(a[j+(n+k)>>0]|0,q)|0)+l|0;o=b[1206338+((m|2)<<1)>>1]|0;l=l+(_(a[j+(k+2+n)>>0]|0,o)|0)|0;m=b[1206338+((m|3)<<1)>>1]|0;l=l+(_(a[j+(k+4+n)>>0]|0,m)|0)>>6;p=_(a[j+(k+-1+n)>>0]|0,p)|0;p=(_(a[j+((n|1)+k)>>0]|0,q)|0)+p|0;o=p+(_(a[j+(k+3+n)>>0]|0,o)|0)|0;m=o+(_(a[j+(k+5+n)>>0]|0,m)|0)>>6;h=(c[d+28>>2]|0)+h|0;i=(c[d+24>>2]|0)+i|0;l=_(i>>12,l)|0;c[e>>2]=l+(c[e>>2]|0);m=_(m,h>>12)|0;l=e+4|0;c[l>>2]=m+(c[l>>2]|0);e=e+8|0;g=(c[d+12>>2]|0)+g|0}while(e>>>0>>0);c[d+4>>2]=(c[d+4>>2]|0)+(g>>16);c[d+8>>2]=g&65535;c[d+48>>2]=i;c[d+16>>2]=i>>12;c[d+52>>2]=h;c[d+20>>2]=h>>12;return}function YMa(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;i=c[a+4>>2]|0;f=(c[a>>2]|0)+(i<<1)|0;i=(c[a+36>>2]&64|0)==0?f:f+(i<<1)|0;f=c[a+8>>2]|0;g=c[a+52>>2]|0;h=c[a+48>>2]|0;do{k=f>>>4&4092;n=b[1206338+(k<<1)>>1]|0;l=f>>16<<1;j=_(b[i+(l+-2<<1)>>1]|0,n)|0;o=b[1206338+((k|1)<<1)>>1]|0;j=(_(b[i+(l<<1)>>1]|0,o)|0)+j|0;m=b[1206338+((k|2)<<1)>>1]|0;j=j+(_(b[i+(l+2<<1)>>1]|0,m)|0)|0;k=b[1206338+((k|3)<<1)>>1]|0;j=j+(_(b[i+(l+4<<1)>>1]|0,k)|0)>>14;n=_(b[i+(l+-1<<1)>>1]|0,n)|0;n=(_(b[i+((l|1)<<1)>>1]|0,o)|0)+n|0;m=n+(_(b[i+(l+3<<1)>>1]|0,m)|0)|0;k=m+(_(b[i+(l+5<<1)>>1]|0,k)|0)>>14;g=(c[a+28>>2]|0)+g|0;h=(c[a+24>>2]|0)+h|0;j=_(h>>12,j)|0;c[d>>2]=j+(c[d>>2]|0);k=_(k,g>>12)|0;j=d+4|0;c[j>>2]=k+(c[j>>2]|0);d=d+8|0;f=(c[a+12>>2]|0)+f|0}while(d>>>0>>0);c[a+4>>2]=(c[a+4>>2]|0)+(f>>16);c[a+8>>2]=f&65535;c[a+48>>2]=h;c[a+16>>2]=h>>12;c[a+52>>2]=g;c[a+20>>2]=g>>12;return}function ZMa(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;j=c[d>>2]|0;k=c[d+4>>2]|0;j=(c[d+36>>2]&64|0)==0?j:j+k|0;g=c[d+56>>2]|0;i=c[d+60>>2]|0;h=c[d+8>>2]|0;while(1){l=h>>16;m=h>>>4&4092;n=_(a[j+(k+-1+l)>>0]|0,b[1206338+(m<<1)>>1]|0)|0;n=(_(a[j+(l+k)>>0]|0,b[1206338+((m|1)<<1)>>1]|0)|0)+n|0;n=n+(_(a[j+(k+2+l)>>0]|0,b[1206338+((m|3)<<1)>>1]|0)|0)|0;m=n+(_(a[j+(k+1+l)>>0]|0,b[1206338+((m|2)<<1)>>1]|0)|0)>>6;m=_(m,c[d+72>>2]|0)|0;l=_(c[d+76>>2]|0,g)|0;i=l+4096+(_(c[d+80>>2]|0,i)|0)+m>>13;m=_(i,c[d+16>>2]|0)|0;c[e>>2]=m+(c[e>>2]|0);m=_(i,c[d+20>>2]|0)|0;l=e+4|0;c[l>>2]=m+(c[l>>2]|0);e=e+8|0;h=(c[d+12>>2]|0)+h|0;if(e>>>0>=f>>>0)break;else{n=g;g=i;i=n}}c[d+4>>2]=(c[d+4>>2]|0)+(h>>16);c[d+8>>2]=h&65535;c[d+56>>2]=i;c[d+60>>2]=g;return}function _Ma(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=c[a+4>>2]|0;f=(c[a>>2]|0)+(i<<1)|0;i=(c[a+36>>2]&64|0)==0?f:f+(i<<1)|0;f=c[a+56>>2]|0;h=c[a+60>>2]|0;g=c[a+8>>2]|0;while(1){j=g>>16;k=g>>>4&4092;l=_(b[i+(j+-1<<1)>>1]|0,b[1206338+(k<<1)>>1]|0)|0;l=(_(b[i+(j<<1)>>1]|0,b[1206338+((k|1)<<1)>>1]|0)|0)+l|0;l=l+(_(b[i+(j+2<<1)>>1]|0,b[1206338+((k|3)<<1)>>1]|0)|0)|0;k=l+(_(b[i+(j+1<<1)>>1]|0,b[1206338+((k|2)<<1)>>1]|0)|0)>>14;k=_(k,c[a+72>>2]|0)|0;j=_(c[a+76>>2]|0,f)|0;h=j+4096+(_(c[a+80>>2]|0,h)|0)+k>>13;k=_(h,c[a+16>>2]|0)|0;c[d>>2]=k+(c[d>>2]|0);k=_(h,c[a+20>>2]|0)|0;j=d+4|0;c[j>>2]=k+(c[j>>2]|0);d=d+8|0;g=(c[a+12>>2]|0)+g|0;if(d>>>0>=e>>>0)break;else{l=f;f=h;h=l}}c[a+4>>2]=(c[a+4>>2]|0)+(g>>16);c[a+8>>2]=g&65535;c[a+56>>2]=h;c[a+60>>2]=f;return}function $Ma(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;l=c[d>>2]|0;m=c[d+4>>2]|0;l=(c[d+36>>2]&64|0)==0?l:l+m|0;h=c[d+56>>2]|0;i=c[d+60>>2]|0;g=c[d+64>>2]|0;j=c[d+68>>2]|0;k=c[d+8>>2]|0;while(1){p=k>>>4&4092;n=b[1206338+(p<<1)>>1]|0;o=k>>16<<1;s=_(a[l+(m+-2+o)>>0]|0,n)|0;q=b[1206338+((p|1)<<1)>>1]|0;s=(_(a[l+(o+m)>>0]|0,q)|0)+s|0;r=b[1206338+((p|2)<<1)>>1]|0;s=s+(_(a[l+(m+2+o)>>0]|0,r)|0)|0;p=b[1206338+((p|3)<<1)>>1]|0;s=s+(_(a[l+(m+4+o)>>0]|0,p)|0)>>6;n=_(a[l+(m+-1+o)>>0]|0,n)|0;n=(_(a[l+((o|1)+m)>>0]|0,q)|0)+n|0;r=n+(_(a[l+(m+3+o)>>0]|0,r)|0)|0;p=r+(_(a[l+(m+5+o)>>0]|0,p)|0)>>6;o=c[d+72>>2]|0;s=_(o,s)|0;r=c[d+76>>2]|0;n=_(r,h)|0;q=c[d+80>>2]|0;n=s+4096+n+(_(q,i)|0)>>13;j=(_(r,g)|0)+4096+(_(q,j)|0)+(_(p,o)|0)>>13;o=_(n,c[d+16>>2]|0)|0;c[e>>2]=o+(c[e>>2]|0);o=_(j,c[d+20>>2]|0)|0;i=e+4|0;c[i>>2]=o+(c[i>>2]|0);e=e+8|0;i=(c[d+12>>2]|0)+k|0;if(e>>>0>=f>>>0)break;else{r=g;s=h;h=n;g=j;k=i;j=r;i=s}}c[d+4>>2]=(c[d+4>>2]|0)+(i>>16);c[d+8>>2]=i&65535;c[d+56>>2]=n;c[d+60>>2]=h;c[d+64>>2]=j;c[d+68>>2]=g;return}function aNa(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;k=c[a+4>>2]|0;g=(c[a>>2]|0)+(k<<1)|0;k=(c[a+36>>2]&64|0)==0?g:g+(k<<1)|0;g=c[a+56>>2]|0;h=c[a+60>>2]|0;f=c[a+64>>2]|0;i=c[a+68>>2]|0;j=c[a+8>>2]|0;while(1){n=j>>>4&4092;l=b[1206338+(n<<1)>>1]|0;m=j>>16<<1;q=_(b[k+(m+-2<<1)>>1]|0,l)|0;o=b[1206338+((n|1)<<1)>>1]|0;q=(_(b[k+(m<<1)>>1]|0,o)|0)+q|0;p=b[1206338+((n|2)<<1)>>1]|0;q=q+(_(b[k+(m+2<<1)>>1]|0,p)|0)|0;n=b[1206338+((n|3)<<1)>>1]|0;q=q+(_(b[k+(m+4<<1)>>1]|0,n)|0)>>14;l=_(b[k+(m+-1<<1)>>1]|0,l)|0;l=(_(b[k+((m|1)<<1)>>1]|0,o)|0)+l|0;p=l+(_(b[k+(m+3<<1)>>1]|0,p)|0)|0;n=p+(_(b[k+(m+5<<1)>>1]|0,n)|0)>>14;m=c[a+72>>2]|0;q=_(m,q)|0;p=c[a+76>>2]|0;l=_(p,g)|0;o=c[a+80>>2]|0;l=q+4096+l+(_(o,h)|0)>>13;i=(_(p,f)|0)+4096+(_(o,i)|0)+(_(n,m)|0)>>13;m=_(l,c[a+16>>2]|0)|0;c[d>>2]=m+(c[d>>2]|0);m=_(i,c[a+20>>2]|0)|0;h=d+4|0;c[h>>2]=m+(c[h>>2]|0);d=d+8|0;h=(c[a+12>>2]|0)+j|0;if(d>>>0>=e>>>0)break;else{p=f;q=g;g=l;f=i;j=h;i=p;h=q}}c[a+4>>2]=(c[a+4>>2]|0)+(h>>16);c[a+8>>2]=h&65535;c[a+56>>2]=l;c[a+60>>2]=g;c[a+64>>2]=i;c[a+68>>2]=f;return}function bNa(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;m=c[d>>2]|0;n=c[d+4>>2]|0;m=(c[d+36>>2]&64|0)==0?m:m+n|0;g=c[d+56>>2]|0;i=c[d+60>>2]|0;h=c[d+8>>2]|0;k=c[d+52>>2]|0;j=c[d+48>>2]|0;while(1){o=h>>16;l=h>>>4&4092;p=_(a[m+(n+-1+o)>>0]|0,b[1206338+(l<<1)>>1]|0)|0;p=(_(a[m+(o+n)>>0]|0,b[1206338+((l|1)<<1)>>1]|0)|0)+p|0;p=p+(_(a[m+(n+2+o)>>0]|0,b[1206338+((l|3)<<1)>>1]|0)|0)|0;l=p+(_(a[m+(n+1+o)>>0]|0,b[1206338+((l|2)<<1)>>1]|0)|0)>>6;l=_(l,c[d+72>>2]|0)|0;o=_(c[d+76>>2]|0,g)|0;l=o+4096+(_(c[d+80>>2]|0,i)|0)+l>>13;i=(c[d+28>>2]|0)+k|0;j=(c[d+24>>2]|0)+j|0;o=_(l,j>>12)|0;c[e>>2]=o+(c[e>>2]|0);o=_(l,i>>12)|0;k=e+4|0;c[k>>2]=o+(c[k>>2]|0);e=e+8|0;h=(c[d+12>>2]|0)+h|0;if(e>>>0>=f>>>0)break;else{p=g;g=l;k=i;i=p}}c[d+4>>2]=(c[d+4>>2]|0)+(h>>16);c[d+8>>2]=h&65535;c[d+56>>2]=l;c[d+60>>2]=g;c[d+48>>2]=j;c[d+16>>2]=j>>12;c[d+52>>2]=i;c[d+20>>2]=i>>12;return}function cNa(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;l=c[a+4>>2]|0;f=(c[a>>2]|0)+(l<<1)|0;l=(c[a+36>>2]&64|0)==0?f:f+(l<<1)|0;f=c[a+56>>2]|0;h=c[a+60>>2]|0;g=c[a+8>>2]|0;j=c[a+52>>2]|0;i=c[a+48>>2]|0;while(1){m=g>>16;k=g>>>4&4092;n=_(b[l+(m+-1<<1)>>1]|0,b[1206338+(k<<1)>>1]|0)|0;n=(_(b[l+(m<<1)>>1]|0,b[1206338+((k|1)<<1)>>1]|0)|0)+n|0;n=n+(_(b[l+(m+2<<1)>>1]|0,b[1206338+((k|3)<<1)>>1]|0)|0)|0;k=n+(_(b[l+(m+1<<1)>>1]|0,b[1206338+((k|2)<<1)>>1]|0)|0)>>14;k=_(k,c[a+72>>2]|0)|0;m=_(c[a+76>>2]|0,f)|0;k=m+4096+(_(c[a+80>>2]|0,h)|0)+k>>13;h=(c[a+28>>2]|0)+j|0;i=(c[a+24>>2]|0)+i|0;m=_(k,i>>12)|0;c[d>>2]=m+(c[d>>2]|0);m=_(k,h>>12)|0;j=d+4|0;c[j>>2]=m+(c[j>>2]|0);d=d+8|0;g=(c[a+12>>2]|0)+g|0;if(d>>>0>=e>>>0)break;else{n=f;f=k;j=h;h=n}}c[a+4>>2]=(c[a+4>>2]|0)+(g>>16);c[a+8>>2]=g&65535;c[a+56>>2]=k;c[a+60>>2]=f;c[a+48>>2]=i;c[a+16>>2]=i>>12;c[a+52>>2]=h;c[a+20>>2]=h>>12;return}function dNa(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;o=c[d>>2]|0;q=c[d+4>>2]|0;o=(c[d+36>>2]&64|0)==0?o:o+q|0;h=c[d+56>>2]|0;i=c[d+60>>2]|0;g=c[d+64>>2]|0;j=c[d+68>>2]|0;n=c[d+8>>2]|0;l=c[d+52>>2]|0;k=c[d+48>>2]|0;while(1){r=n>>>4&4092;p=b[1206338+(r<<1)>>1]|0;m=n>>16<<1;u=_(a[o+(q+-2+m)>>0]|0,p)|0;s=b[1206338+((r|1)<<1)>>1]|0;u=(_(a[o+(m+q)>>0]|0,s)|0)+u|0;t=b[1206338+((r|2)<<1)>>1]|0;u=u+(_(a[o+(q+2+m)>>0]|0,t)|0)|0;r=b[1206338+((r|3)<<1)>>1]|0;u=u+(_(a[o+(q+4+m)>>0]|0,r)|0)>>6;p=_(a[o+(q+-1+m)>>0]|0,p)|0;p=(_(a[o+((m|1)+q)>>0]|0,s)|0)+p|0;t=p+(_(a[o+(q+3+m)>>0]|0,t)|0)|0;r=t+(_(a[o+(q+5+m)>>0]|0,r)|0)>>6;m=c[d+72>>2]|0;u=_(m,u)|0;t=c[d+76>>2]|0;p=_(t,h)|0;s=c[d+80>>2]|0;p=u+4096+p+(_(s,i)|0)>>13;m=(_(t,g)|0)+4096+(_(s,j)|0)+(_(r,m)|0)>>13;j=(c[d+28>>2]|0)+l|0;k=(c[d+24>>2]|0)+k|0;l=_(p,k>>12)|0;c[e>>2]=l+(c[e>>2]|0);l=_(m,j>>12)|0;i=e+4|0;c[i>>2]=l+(c[i>>2]|0);e=e+8|0;i=(c[d+12>>2]|0)+n|0;if(e>>>0>=f>>>0)break;else{t=g;u=h;h=p;g=m;n=i;l=j;j=t;i=u}}c[d+4>>2]=(c[d+4>>2]|0)+(i>>16);c[d+8>>2]=i&65535;c[d+56>>2]=p;c[d+60>>2]=h;c[d+64>>2]=m;c[d+68>>2]=g;c[d+48>>2]=k;c[d+16>>2]=k>>12;c[d+52>>2]=j;c[d+20>>2]=j>>12;return}function eNa(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;n=c[a+4>>2]|0;g=(c[a>>2]|0)+(n<<1)|0;n=(c[a+36>>2]&64|0)==0?g:g+(n<<1)|0;g=c[a+56>>2]|0;h=c[a+60>>2]|0;f=c[a+64>>2]|0;i=c[a+68>>2]|0;m=c[a+8>>2]|0;k=c[a+52>>2]|0;j=c[a+48>>2]|0;while(1){p=m>>>4&4092;o=b[1206338+(p<<1)>>1]|0;l=m>>16<<1;s=_(b[n+(l+-2<<1)>>1]|0,o)|0;q=b[1206338+((p|1)<<1)>>1]|0;s=(_(b[n+(l<<1)>>1]|0,q)|0)+s|0;r=b[1206338+((p|2)<<1)>>1]|0;s=s+(_(b[n+(l+2<<1)>>1]|0,r)|0)|0;p=b[1206338+((p|3)<<1)>>1]|0;s=s+(_(b[n+(l+4<<1)>>1]|0,p)|0)>>14;o=_(b[n+(l+-1<<1)>>1]|0,o)|0;o=(_(b[n+((l|1)<<1)>>1]|0,q)|0)+o|0;r=o+(_(b[n+(l+3<<1)>>1]|0,r)|0)|0;p=r+(_(b[n+(l+5<<1)>>1]|0,p)|0)>>14;l=c[a+72>>2]|0;s=_(l,s)|0;r=c[a+76>>2]|0;o=_(r,g)|0;q=c[a+80>>2]|0;o=s+4096+o+(_(q,h)|0)>>13;l=(_(r,f)|0)+4096+(_(q,i)|0)+(_(p,l)|0)>>13;i=(c[a+28>>2]|0)+k|0;j=(c[a+24>>2]|0)+j|0;k=_(o,j>>12)|0;c[d>>2]=k+(c[d>>2]|0);k=_(l,i>>12)|0;h=d+4|0;c[h>>2]=k+(c[h>>2]|0);d=d+8|0;h=(c[a+12>>2]|0)+m|0;if(d>>>0>=e>>>0)break;else{r=f;s=g;g=o;f=l;m=h;k=i;i=r;h=s}}c[a+4>>2]=(c[a+4>>2]|0)+(h>>16);c[a+8>>2]=h&65535;c[a+56>>2]=o;c[a+60>>2]=g;c[a+64>>2]=l;c[a+68>>2]=f;c[a+48>>2]=j;c[a+16>>2]=j>>12;c[a+52>>2]=i;c[a+20>>2]=i>>12;return}function fNa(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;h=c[d>>2]|0;i=c[d+4>>2]|0;h=(c[d+36>>2]&64|0)==0?h:h+i|0;g=c[d+8>>2]|0;do{j=g>>16;k=((g&65535)+16|0)>>>2;l=_(a[h+(i+-3+j)>>0]|0,b[1214530+((k&32760)<<1)>>1]|0)|0;l=(_(a[h+(i+-2+j)>>0]|0,b[1214530+((k&32760|1)<<1)>>1]|0)|0)+l|0;l=l+(_(a[h+(i+-1+j)>>0]|0,b[1214530+((k&32760|2)<<1)>>1]|0)|0)|0;l=l+(_(a[h+(j+i)>>0]|0,b[1214530+((k&32760|3)<<1)>>1]|0)|0)|0;l=l+(_(a[h+(i+1+j)>>0]|0,b[1214530+((k&32760|4)<<1)>>1]|0)|0)|0;l=l+(_(a[h+(i+2+j)>>0]|0,b[1214530+((k&32760|5)<<1)>>1]|0)|0)|0;l=l+(_(a[h+(i+3+j)>>0]|0,b[1214530+((k&32760|6)<<1)>>1]|0)|0)|0;k=l+(_(a[h+(i+4+j)>>0]|0,b[1214530+((k|7)<<1)>>1]|0)|0)>>7;j=_(k,c[d+16>>2]|0)|0;c[e>>2]=j+(c[e>>2]|0);k=_(k,c[d+20>>2]|0)|0;j=e+4|0;c[j>>2]=k+(c[j>>2]|0);e=e+8|0;g=(c[d+12>>2]|0)+g|0}while(e>>>0>>0);c[d+4>>2]=(c[d+4>>2]|0)+(g>>16);c[d+8>>2]=g&65535;return}function gNa(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;g=c[a+4>>2]|0;f=(c[a>>2]|0)+(g<<1)|0;g=(c[a+36>>2]&64|0)==0?f:f+(g<<1)|0;f=c[a+8>>2]|0;do{j=f>>16;h=((f&65535)+16|0)>>>2;i=_(b[g+(j+-3<<1)>>1]|0,b[1214530+((h&32760)<<1)>>1]|0)|0;i=(_(b[g+(j+-2<<1)>>1]|0,b[1214530+((h&32760|1)<<1)>>1]|0)|0)+i|0;i=i+(_(b[g+(j+-1<<1)>>1]|0,b[1214530+((h&32760|2)<<1)>>1]|0)|0)|0;i=i+(_(b[g+(j<<1)>>1]|0,b[1214530+((h&32760|3)<<1)>>1]|0)|0)|0;k=_(b[g+(j+1<<1)>>1]|0,b[1214530+((h&32760|4)<<1)>>1]|0)|0;k=(_(b[g+(j+2<<1)>>1]|0,b[1214530+((h&32760|5)<<1)>>1]|0)|0)+k|0;k=k+(_(b[g+(j+3<<1)>>1]|0,b[1214530+((h&32760|6)<<1)>>1]|0)|0)|0;i=(k+(_(b[g+(j+4<<1)>>1]|0,b[1214530+((h|7)<<1)>>1]|0)|0)>>1)+(i>>1)>>14;h=_(i,c[a+16>>2]|0)|0;c[d>>2]=h+(c[d>>2]|0);i=_(i,c[a+20>>2]|0)|0;h=d+4|0;c[h>>2]=i+(c[h>>2]|0);d=d+8|0;f=(c[a+12>>2]|0)+f|0}while(d>>>0>>0);c[a+4>>2]=(c[a+4>>2]|0)+(f>>16);c[a+8>>2]=f&65535;return}function hNa(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;h=c[d>>2]|0;i=c[d+4>>2]|0;h=(c[d+36>>2]&64|0)==0?h:h+i|0;g=c[d+8>>2]|0;do{k=((g&65535)+16|0)>>>2;r=b[1214530+((k&32760)<<1)>>1]|0;l=g>>16<<1;j=_(a[h+(i+-6+l)>>0]|0,r)|0;s=b[1214530+((k&32760|1)<<1)>>1]|0;j=(_(a[h+(i+-4+l)>>0]|0,s)|0)+j|0;q=b[1214530+((k&32760|2)<<1)>>1]|0;j=j+(_(a[h+(i+-2+l)>>0]|0,q)|0)|0;p=b[1214530+((k&32760|3)<<1)>>1]|0;j=j+(_(a[h+(l+i)>>0]|0,p)|0)|0;o=b[1214530+((k&32760|4)<<1)>>1]|0;j=j+(_(a[h+(i+2+l)>>0]|0,o)|0)|0;n=b[1214530+((k&32760|5)<<1)>>1]|0;j=j+(_(a[h+(i+4+l)>>0]|0,n)|0)|0;m=b[1214530+((k&32760|6)<<1)>>1]|0;j=j+(_(a[h+(i+6+l)>>0]|0,m)|0)|0;k=b[1214530+((k|7)<<1)>>1]|0;j=j+(_(a[h+(i+8+l)>>0]|0,k)|0)>>7;r=_(a[h+(i+-5+l)>>0]|0,r)|0;r=(_(a[h+(i+-3+l)>>0]|0,s)|0)+r|0;q=r+(_(a[h+(i+-1+l)>>0]|0,q)|0)|0;p=q+(_(a[h+((l|1)+i)>>0]|0,p)|0)|0;o=p+(_(a[h+(i+3+l)>>0]|0,o)|0)|0;n=o+(_(a[h+(i+5+l)>>0]|0,n)|0)|0;m=n+(_(a[h+(i+7+l)>>0]|0,m)|0)|0;k=m+(_(a[h+(i+9+l)>>0]|0,k)|0)>>7;j=_(c[d+16>>2]|0,j)|0;c[e>>2]=(c[e>>2]|0)+j;k=_(k,c[d+20>>2]|0)|0;j=e+4|0;c[j>>2]=k+(c[j>>2]|0);e=e+8|0;g=(c[d+12>>2]|0)+g|0}while(e>>>0>>0);c[d+4>>2]=(c[d+4>>2]|0)+(g>>16);c[d+8>>2]=g&65535;return}function iNa(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;g=c[a+4>>2]|0;f=(c[a>>2]|0)+(g<<1)|0;g=(c[a+36>>2]&64|0)==0?f:f+(g<<1)|0;f=c[a+8>>2]|0;do{j=((f&65535)+16|0)>>>2;p=b[1214530+((j&32760)<<1)>>1]|0;k=f>>16<<1;h=_(b[g+(k+-6<<1)>>1]|0,p)|0;q=b[1214530+((j&32760|1)<<1)>>1]|0;h=(_(b[g+(k+-4<<1)>>1]|0,q)|0)+h|0;o=b[1214530+((j&32760|2)<<1)>>1]|0;h=h+(_(b[g+(k+-2<<1)>>1]|0,o)|0)|0;i=b[1214530+((j&32760|3)<<1)>>1]|0;h=h+(_(b[g+(k<<1)>>1]|0,i)|0)|0;m=b[1214530+((j&32760|4)<<1)>>1]|0;r=_(b[g+(k+2<<1)>>1]|0,m)|0;n=b[1214530+((j&32760|5)<<1)>>1]|0;r=(_(b[g+(k+4<<1)>>1]|0,n)|0)+r|0;l=b[1214530+((j&32760|6)<<1)>>1]|0;r=r+(_(b[g+(k+6<<1)>>1]|0,l)|0)|0;j=b[1214530+((j|7)<<1)>>1]|0;h=(r+(_(b[g+(k+8<<1)>>1]|0,j)|0)>>1)+(h>>1)>>14;p=_(b[g+(k+-5<<1)>>1]|0,p)|0;p=(_(b[g+(k+-3<<1)>>1]|0,q)|0)+p|0;o=p+(_(b[g+(k+-1<<1)>>1]|0,o)|0)|0;i=o+(_(b[g+((k|1)<<1)>>1]|0,i)|0)|0;m=_(b[g+(k+3<<1)>>1]|0,m)|0;m=(_(b[g+(k+5<<1)>>1]|0,n)|0)+m|0;l=m+(_(b[g+(k+7<<1)>>1]|0,l)|0)|0;i=(l+(_(b[g+(k+9<<1)>>1]|0,j)|0)>>1)+(i>>1)>>14;h=_(c[a+16>>2]|0,h)|0;c[d>>2]=(c[d>>2]|0)+h;i=_(i,c[a+20>>2]|0)|0;h=d+4|0;c[h>>2]=i+(c[h>>2]|0);d=d+8|0;f=(c[a+12>>2]|0)+f|0}while(d>>>0>>0);c[a+4>>2]=(c[a+4>>2]|0)+(f>>16);c[a+8>>2]=f&65535;return}function jNa(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;j=c[d>>2]|0;k=c[d+4>>2]|0;j=(c[d+36>>2]&64|0)==0?j:j+k|0;g=c[d+8>>2]|0;h=c[d+52>>2]|0;i=c[d+48>>2]|0;do{l=g>>16;m=((g&65535)+16|0)>>>2;n=_(a[j+(k+-3+l)>>0]|0,b[1214530+((m&32760)<<1)>>1]|0)|0;n=(_(a[j+(k+-2+l)>>0]|0,b[1214530+((m&32760|1)<<1)>>1]|0)|0)+n|0;n=n+(_(a[j+(k+-1+l)>>0]|0,b[1214530+((m&32760|2)<<1)>>1]|0)|0)|0;n=n+(_(a[j+(l+k)>>0]|0,b[1214530+((m&32760|3)<<1)>>1]|0)|0)|0;n=n+(_(a[j+(k+1+l)>>0]|0,b[1214530+((m&32760|4)<<1)>>1]|0)|0)|0;n=n+(_(a[j+(k+2+l)>>0]|0,b[1214530+((m&32760|5)<<1)>>1]|0)|0)|0;n=n+(_(a[j+(k+3+l)>>0]|0,b[1214530+((m&32760|6)<<1)>>1]|0)|0)|0;m=n+(_(a[j+(k+4+l)>>0]|0,b[1214530+((m|7)<<1)>>1]|0)|0)>>7;h=(c[d+28>>2]|0)+h|0;i=(c[d+24>>2]|0)+i|0;l=_(m,i>>12)|0;c[e>>2]=l+(c[e>>2]|0);m=_(m,h>>12)|0;l=e+4|0;c[l>>2]=m+(c[l>>2]|0);e=e+8|0;g=(c[d+12>>2]|0)+g|0}while(e>>>0>>0);c[d+4>>2]=(c[d+4>>2]|0)+(g>>16);c[d+8>>2]=g&65535;c[d+48>>2]=i;c[d+16>>2]=i>>12;c[d+52>>2]=h;c[d+20>>2]=h>>12;return}function kNa(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;i=c[a+4>>2]|0;f=(c[a>>2]|0)+(i<<1)|0;i=(c[a+36>>2]&64|0)==0?f:f+(i<<1)|0;f=c[a+8>>2]|0;g=c[a+52>>2]|0;h=c[a+48>>2]|0;do{l=f>>16;j=((f&65535)+16|0)>>>2;k=_(b[i+(l+-3<<1)>>1]|0,b[1214530+((j&32760)<<1)>>1]|0)|0;k=(_(b[i+(l+-2<<1)>>1]|0,b[1214530+((j&32760|1)<<1)>>1]|0)|0)+k|0;k=k+(_(b[i+(l+-1<<1)>>1]|0,b[1214530+((j&32760|2)<<1)>>1]|0)|0)|0;k=k+(_(b[i+(l<<1)>>1]|0,b[1214530+((j&32760|3)<<1)>>1]|0)|0)|0;m=_(b[i+(l+1<<1)>>1]|0,b[1214530+((j&32760|4)<<1)>>1]|0)|0;m=(_(b[i+(l+2<<1)>>1]|0,b[1214530+((j&32760|5)<<1)>>1]|0)|0)+m|0;m=m+(_(b[i+(l+3<<1)>>1]|0,b[1214530+((j&32760|6)<<1)>>1]|0)|0)|0;k=(m+(_(b[i+(l+4<<1)>>1]|0,b[1214530+((j|7)<<1)>>1]|0)|0)>>1)+(k>>1)>>14;g=(c[a+28>>2]|0)+g|0;h=(c[a+24>>2]|0)+h|0;j=_(k,h>>12)|0;c[d>>2]=j+(c[d>>2]|0);k=_(k,g>>12)|0;j=d+4|0;c[j>>2]=k+(c[j>>2]|0);d=d+8|0;f=(c[a+12>>2]|0)+f|0}while(d>>>0>>0);c[a+4>>2]=(c[a+4>>2]|0)+(f>>16);c[a+8>>2]=f&65535;c[a+48>>2]=h;c[a+16>>2]=h>>12;c[a+52>>2]=g;c[a+20>>2]=g>>12;return}function lNa(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;j=c[d>>2]|0;k=c[d+4>>2]|0;j=(c[d+36>>2]&64|0)==0?j:j+k|0;g=c[d+8>>2]|0;h=c[d+52>>2]|0;i=c[d+48>>2]|0;do{m=((g&65535)+16|0)>>>2;t=b[1214530+((m&32760)<<1)>>1]|0;n=g>>16<<1;l=_(a[j+(k+-6+n)>>0]|0,t)|0;u=b[1214530+((m&32760|1)<<1)>>1]|0;l=(_(a[j+(k+-4+n)>>0]|0,u)|0)+l|0;s=b[1214530+((m&32760|2)<<1)>>1]|0;l=l+(_(a[j+(k+-2+n)>>0]|0,s)|0)|0;r=b[1214530+((m&32760|3)<<1)>>1]|0;l=l+(_(a[j+(n+k)>>0]|0,r)|0)|0;q=b[1214530+((m&32760|4)<<1)>>1]|0;l=l+(_(a[j+(k+2+n)>>0]|0,q)|0)|0;p=b[1214530+((m&32760|5)<<1)>>1]|0;l=l+(_(a[j+(k+4+n)>>0]|0,p)|0)|0;o=b[1214530+((m&32760|6)<<1)>>1]|0;l=l+(_(a[j+(k+6+n)>>0]|0,o)|0)|0;m=b[1214530+((m|7)<<1)>>1]|0;l=l+(_(a[j+(k+8+n)>>0]|0,m)|0)>>7;t=_(a[j+(k+-5+n)>>0]|0,t)|0;t=(_(a[j+(k+-3+n)>>0]|0,u)|0)+t|0;s=t+(_(a[j+(k+-1+n)>>0]|0,s)|0)|0;r=s+(_(a[j+((n|1)+k)>>0]|0,r)|0)|0;q=r+(_(a[j+(k+3+n)>>0]|0,q)|0)|0;p=q+(_(a[j+(k+5+n)>>0]|0,p)|0)|0;o=p+(_(a[j+(k+7+n)>>0]|0,o)|0)|0;m=o+(_(a[j+(k+9+n)>>0]|0,m)|0)>>7;h=(c[d+28>>2]|0)+h|0;i=(c[d+24>>2]|0)+i|0;l=_(i>>12,l)|0;c[e>>2]=l+(c[e>>2]|0);m=_(m,h>>12)|0;l=e+4|0;c[l>>2]=m+(c[l>>2]|0);e=e+8|0;g=(c[d+12>>2]|0)+g|0}while(e>>>0>>0);c[d+4>>2]=(c[d+4>>2]|0)+(g>>16);c[d+8>>2]=g&65535;c[d+48>>2]=i;c[d+16>>2]=i>>12;c[d+52>>2]=h;c[d+20>>2]=h>>12;return}function mNa(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;i=c[a+4>>2]|0;f=(c[a>>2]|0)+(i<<1)|0;i=(c[a+36>>2]&64|0)==0?f:f+(i<<1)|0;f=c[a+8>>2]|0;g=c[a+52>>2]|0;h=c[a+48>>2]|0;do{l=((f&65535)+16|0)>>>2;r=b[1214530+((l&32760)<<1)>>1]|0;m=f>>16<<1;j=_(b[i+(m+-6<<1)>>1]|0,r)|0;s=b[1214530+((l&32760|1)<<1)>>1]|0;j=(_(b[i+(m+-4<<1)>>1]|0,s)|0)+j|0;q=b[1214530+((l&32760|2)<<1)>>1]|0;j=j+(_(b[i+(m+-2<<1)>>1]|0,q)|0)|0;k=b[1214530+((l&32760|3)<<1)>>1]|0;j=j+(_(b[i+(m<<1)>>1]|0,k)|0)|0;o=b[1214530+((l&32760|4)<<1)>>1]|0;t=_(b[i+(m+2<<1)>>1]|0,o)|0;p=b[1214530+((l&32760|5)<<1)>>1]|0;t=(_(b[i+(m+4<<1)>>1]|0,p)|0)+t|0;n=b[1214530+((l&32760|6)<<1)>>1]|0;t=t+(_(b[i+(m+6<<1)>>1]|0,n)|0)|0;l=b[1214530+((l|7)<<1)>>1]|0;j=(t+(_(b[i+(m+8<<1)>>1]|0,l)|0)>>1)+(j>>1)>>14;r=_(b[i+(m+-5<<1)>>1]|0,r)|0;r=(_(b[i+(m+-3<<1)>>1]|0,s)|0)+r|0;q=r+(_(b[i+(m+-1<<1)>>1]|0,q)|0)|0;k=q+(_(b[i+((m|1)<<1)>>1]|0,k)|0)|0;o=_(b[i+(m+3<<1)>>1]|0,o)|0;o=(_(b[i+(m+5<<1)>>1]|0,p)|0)+o|0;n=o+(_(b[i+(m+7<<1)>>1]|0,n)|0)|0;k=(n+(_(b[i+(m+9<<1)>>1]|0,l)|0)>>1)+(k>>1)>>14;g=(c[a+28>>2]|0)+g|0;h=(c[a+24>>2]|0)+h|0;j=_(h>>12,j)|0;c[d>>2]=j+(c[d>>2]|0);k=_(k,g>>12)|0;j=d+4|0;c[j>>2]=k+(c[j>>2]|0);d=d+8|0;f=(c[a+12>>2]|0)+f|0}while(d>>>0>>0);c[a+4>>2]=(c[a+4>>2]|0)+(f>>16);c[a+8>>2]=f&65535;c[a+48>>2]=h;c[a+16>>2]=h>>12;c[a+52>>2]=g;c[a+20>>2]=g>>12;return}function nNa(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;j=c[d>>2]|0;k=c[d+4>>2]|0;j=(c[d+36>>2]&64|0)==0?j:j+k|0;g=c[d+56>>2]|0;i=c[d+60>>2]|0;h=c[d+8>>2]|0;while(1){l=h>>16;m=((h&65535)+16|0)>>>2;n=_(a[j+(k+-3+l)>>0]|0,b[1214530+((m&32760)<<1)>>1]|0)|0;n=(_(a[j+(k+-2+l)>>0]|0,b[1214530+((m&32760|1)<<1)>>1]|0)|0)+n|0;n=n+(_(a[j+(k+-1+l)>>0]|0,b[1214530+((m&32760|2)<<1)>>1]|0)|0)|0;n=n+(_(a[j+(l+k)>>0]|0,b[1214530+((m&32760|3)<<1)>>1]|0)|0)|0;n=n+(_(a[j+(k+1+l)>>0]|0,b[1214530+((m&32760|4)<<1)>>1]|0)|0)|0;n=n+(_(a[j+(k+2+l)>>0]|0,b[1214530+((m&32760|5)<<1)>>1]|0)|0)|0;n=n+(_(a[j+(k+3+l)>>0]|0,b[1214530+((m&32760|6)<<1)>>1]|0)|0)|0;m=n+(_(a[j+(k+4+l)>>0]|0,b[1214530+((m|7)<<1)>>1]|0)|0)>>7;m=_(m,c[d+72>>2]|0)|0;l=_(c[d+76>>2]|0,g)|0;i=l+4096+(_(c[d+80>>2]|0,i)|0)+m>>13;m=_(i,c[d+16>>2]|0)|0;c[e>>2]=m+(c[e>>2]|0);m=_(i,c[d+20>>2]|0)|0;l=e+4|0;c[l>>2]=m+(c[l>>2]|0);e=e+8|0;h=(c[d+12>>2]|0)+h|0;if(e>>>0>=f>>>0)break;else{n=g;g=i;i=n}}c[d+4>>2]=(c[d+4>>2]|0)+(h>>16);c[d+8>>2]=h&65535;c[d+56>>2]=i;c[d+60>>2]=g;return}function oNa(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;i=c[a+4>>2]|0;f=(c[a>>2]|0)+(i<<1)|0;i=(c[a+36>>2]&64|0)==0?f:f+(i<<1)|0;f=c[a+56>>2]|0;h=c[a+60>>2]|0;g=c[a+8>>2]|0;while(1){l=g>>16;j=((g&65535)+16|0)>>>2;k=_(b[i+(l+-3<<1)>>1]|0,b[1214530+((j&32760)<<1)>>1]|0)|0;k=(_(b[i+(l+-2<<1)>>1]|0,b[1214530+((j&32760|1)<<1)>>1]|0)|0)+k|0;k=k+(_(b[i+(l+-1<<1)>>1]|0,b[1214530+((j&32760|2)<<1)>>1]|0)|0)|0;k=k+(_(b[i+(l<<1)>>1]|0,b[1214530+((j&32760|3)<<1)>>1]|0)|0)|0;m=_(b[i+(l+1<<1)>>1]|0,b[1214530+((j&32760|4)<<1)>>1]|0)|0;m=(_(b[i+(l+2<<1)>>1]|0,b[1214530+((j&32760|5)<<1)>>1]|0)|0)+m|0;m=m+(_(b[i+(l+3<<1)>>1]|0,b[1214530+((j&32760|6)<<1)>>1]|0)|0)|0;k=(m+(_(b[i+(l+4<<1)>>1]|0,b[1214530+((j|7)<<1)>>1]|0)|0)>>1)+(k>>1)>>14;k=_(k,c[a+72>>2]|0)|0;j=_(c[a+76>>2]|0,f)|0;h=j+4096+(_(c[a+80>>2]|0,h)|0)+k>>13;k=_(h,c[a+16>>2]|0)|0;c[d>>2]=k+(c[d>>2]|0);k=_(h,c[a+20>>2]|0)|0;j=d+4|0;c[j>>2]=k+(c[j>>2]|0);d=d+8|0;g=(c[a+12>>2]|0)+g|0;if(d>>>0>=e>>>0)break;else{m=f;f=h;h=m}}c[a+4>>2]=(c[a+4>>2]|0)+(g>>16);c[a+8>>2]=g&65535;c[a+56>>2]=h;c[a+60>>2]=f;return}function pNa(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;l=c[d>>2]|0;m=c[d+4>>2]|0;l=(c[d+36>>2]&64|0)==0?l:l+m|0;h=c[d+56>>2]|0;i=c[d+60>>2]|0;g=c[d+64>>2]|0;j=c[d+68>>2]|0;k=c[d+8>>2]|0;while(1){p=((k&65535)+16|0)>>>2;v=b[1214530+((p&32760)<<1)>>1]|0;o=k>>16<<1;s=_(a[l+(m+-6+o)>>0]|0,v)|0;w=b[1214530+((p&32760|1)<<1)>>1]|0;s=(_(a[l+(m+-4+o)>>0]|0,w)|0)+s|0;u=b[1214530+((p&32760|2)<<1)>>1]|0;s=s+(_(a[l+(m+-2+o)>>0]|0,u)|0)|0;t=b[1214530+((p&32760|3)<<1)>>1]|0;s=s+(_(a[l+(o+m)>>0]|0,t)|0)|0;q=b[1214530+((p&32760|4)<<1)>>1]|0;s=s+(_(a[l+(m+2+o)>>0]|0,q)|0)|0;n=b[1214530+((p&32760|5)<<1)>>1]|0;s=s+(_(a[l+(m+4+o)>>0]|0,n)|0)|0;r=b[1214530+((p&32760|6)<<1)>>1]|0;s=s+(_(a[l+(m+6+o)>>0]|0,r)|0)|0;p=b[1214530+((p|7)<<1)>>1]|0;s=s+(_(a[l+(m+8+o)>>0]|0,p)|0)>>7;v=_(a[l+(m+-5+o)>>0]|0,v)|0;v=(_(a[l+(m+-3+o)>>0]|0,w)|0)+v|0;u=v+(_(a[l+(m+-1+o)>>0]|0,u)|0)|0;t=u+(_(a[l+((o|1)+m)>>0]|0,t)|0)|0;q=t+(_(a[l+(m+3+o)>>0]|0,q)|0)|0;n=q+(_(a[l+(m+5+o)>>0]|0,n)|0)|0;r=n+(_(a[l+(m+7+o)>>0]|0,r)|0)|0;p=r+(_(a[l+(m+9+o)>>0]|0,p)|0)>>7;o=c[d+72>>2]|0;s=_(o,s)|0;r=c[d+76>>2]|0;n=_(r,h)|0;q=c[d+80>>2]|0;n=s+4096+n+(_(q,i)|0)>>13;j=(_(r,g)|0)+4096+(_(q,j)|0)+(_(p,o)|0)>>13;o=_(n,c[d+16>>2]|0)|0;c[e>>2]=o+(c[e>>2]|0);o=_(j,c[d+20>>2]|0)|0;i=e+4|0;c[i>>2]=o+(c[i>>2]|0);e=e+8|0;i=(c[d+12>>2]|0)+k|0;if(e>>>0>=f>>>0)break;else{v=g;w=h;h=n;g=j;k=i;j=v;i=w}}c[d+4>>2]=(c[d+4>>2]|0)+(i>>16);c[d+8>>2]=i&65535;c[d+56>>2]=n;c[d+60>>2]=h;c[d+64>>2]=j;c[d+68>>2]=g;return}function qNa(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;k=c[a+4>>2]|0;g=(c[a>>2]|0)+(k<<1)|0;k=(c[a+36>>2]&64|0)==0?g:g+(k<<1)|0;g=c[a+56>>2]|0;h=c[a+60>>2]|0;f=c[a+64>>2]|0;i=c[a+68>>2]|0;j=c[a+8>>2]|0;while(1){m=((j&65535)+16|0)>>>2;t=b[1214530+((m&32760)<<1)>>1]|0;p=j>>16<<1;q=_(b[k+(p+-6<<1)>>1]|0,t)|0;u=b[1214530+((m&32760|1)<<1)>>1]|0;q=(_(b[k+(p+-4<<1)>>1]|0,u)|0)+q|0;s=b[1214530+((m&32760|2)<<1)>>1]|0;q=q+(_(b[k+(p+-2<<1)>>1]|0,s)|0)|0;n=b[1214530+((m&32760|3)<<1)>>1]|0;q=q+(_(b[k+(p<<1)>>1]|0,n)|0)|0;o=b[1214530+((m&32760|4)<<1)>>1]|0;v=_(b[k+(p+2<<1)>>1]|0,o)|0;r=b[1214530+((m&32760|5)<<1)>>1]|0;v=(_(b[k+(p+4<<1)>>1]|0,r)|0)+v|0;l=b[1214530+((m&32760|6)<<1)>>1]|0;v=v+(_(b[k+(p+6<<1)>>1]|0,l)|0)|0;m=b[1214530+((m|7)<<1)>>1]|0;q=(v+(_(b[k+(p+8<<1)>>1]|0,m)|0)>>1)+(q>>1)>>14;t=_(b[k+(p+-5<<1)>>1]|0,t)|0;t=(_(b[k+(p+-3<<1)>>1]|0,u)|0)+t|0;s=t+(_(b[k+(p+-1<<1)>>1]|0,s)|0)|0;n=s+(_(b[k+((p|1)<<1)>>1]|0,n)|0)|0;o=_(b[k+(p+3<<1)>>1]|0,o)|0;o=(_(b[k+(p+5<<1)>>1]|0,r)|0)+o|0;l=o+(_(b[k+(p+7<<1)>>1]|0,l)|0)|0;n=(l+(_(b[k+(p+9<<1)>>1]|0,m)|0)>>1)+(n>>1)>>14;m=c[a+72>>2]|0;q=_(m,q)|0;p=c[a+76>>2]|0;l=_(p,g)|0;o=c[a+80>>2]|0;l=q+4096+l+(_(o,h)|0)>>13;i=(_(p,f)|0)+4096+(_(o,i)|0)+(_(n,m)|0)>>13;m=_(l,c[a+16>>2]|0)|0;c[d>>2]=m+(c[d>>2]|0);m=_(i,c[a+20>>2]|0)|0;h=d+4|0;c[h>>2]=m+(c[h>>2]|0);d=d+8|0;h=(c[a+12>>2]|0)+j|0;if(d>>>0>=e>>>0)break;else{u=f;v=g;g=l;f=i;j=h;i=u;h=v}}c[a+4>>2]=(c[a+4>>2]|0)+(h>>16);c[a+8>>2]=h&65535;c[a+56>>2]=l;c[a+60>>2]=g;c[a+64>>2]=i;c[a+68>>2]=f;return}function rNa(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;m=c[d>>2]|0;n=c[d+4>>2]|0;m=(c[d+36>>2]&64|0)==0?m:m+n|0;g=c[d+56>>2]|0;i=c[d+60>>2]|0;h=c[d+8>>2]|0;k=c[d+52>>2]|0;j=c[d+48>>2]|0;while(1){o=h>>16;l=((h&65535)+16|0)>>>2;p=_(a[m+(n+-3+o)>>0]|0,b[1214530+((l&32760)<<1)>>1]|0)|0;p=(_(a[m+(n+-2+o)>>0]|0,b[1214530+((l&32760|1)<<1)>>1]|0)|0)+p|0;p=p+(_(a[m+(n+-1+o)>>0]|0,b[1214530+((l&32760|2)<<1)>>1]|0)|0)|0;p=p+(_(a[m+(o+n)>>0]|0,b[1214530+((l&32760|3)<<1)>>1]|0)|0)|0;p=p+(_(a[m+(n+1+o)>>0]|0,b[1214530+((l&32760|4)<<1)>>1]|0)|0)|0;p=p+(_(a[m+(n+2+o)>>0]|0,b[1214530+((l&32760|5)<<1)>>1]|0)|0)|0;p=p+(_(a[m+(n+3+o)>>0]|0,b[1214530+((l&32760|6)<<1)>>1]|0)|0)|0;l=p+(_(a[m+(n+4+o)>>0]|0,b[1214530+((l|7)<<1)>>1]|0)|0)>>7;l=_(l,c[d+72>>2]|0)|0;o=_(c[d+76>>2]|0,g)|0;l=o+4096+(_(c[d+80>>2]|0,i)|0)+l>>13;i=(c[d+28>>2]|0)+k|0;j=(c[d+24>>2]|0)+j|0;o=_(l,j>>12)|0;c[e>>2]=o+(c[e>>2]|0);o=_(l,i>>12)|0;k=e+4|0;c[k>>2]=o+(c[k>>2]|0);e=e+8|0;h=(c[d+12>>2]|0)+h|0;if(e>>>0>=f>>>0)break;else{p=g;g=l;k=i;i=p}}c[d+4>>2]=(c[d+4>>2]|0)+(h>>16);c[d+8>>2]=h&65535;c[d+56>>2]=l;c[d+60>>2]=g;c[d+48>>2]=j;c[d+16>>2]=j>>12;c[d+52>>2]=i;c[d+20>>2]=i>>12;return}function sNa(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;l=c[a+4>>2]|0;f=(c[a>>2]|0)+(l<<1)|0;l=(c[a+36>>2]&64|0)==0?f:f+(l<<1)|0;f=c[a+56>>2]|0;h=c[a+60>>2]|0;g=c[a+8>>2]|0;j=c[a+52>>2]|0;i=c[a+48>>2]|0;while(1){n=g>>16;m=((g&65535)+16|0)>>>2;k=_(b[l+(n+-3<<1)>>1]|0,b[1214530+((m&32760)<<1)>>1]|0)|0;k=(_(b[l+(n+-2<<1)>>1]|0,b[1214530+((m&32760|1)<<1)>>1]|0)|0)+k|0;k=k+(_(b[l+(n+-1<<1)>>1]|0,b[1214530+((m&32760|2)<<1)>>1]|0)|0)|0;k=k+(_(b[l+(n<<1)>>1]|0,b[1214530+((m&32760|3)<<1)>>1]|0)|0)|0;o=_(b[l+(n+1<<1)>>1]|0,b[1214530+((m&32760|4)<<1)>>1]|0)|0;o=(_(b[l+(n+2<<1)>>1]|0,b[1214530+((m&32760|5)<<1)>>1]|0)|0)+o|0;o=o+(_(b[l+(n+3<<1)>>1]|0,b[1214530+((m&32760|6)<<1)>>1]|0)|0)|0;k=(o+(_(b[l+(n+4<<1)>>1]|0,b[1214530+((m|7)<<1)>>1]|0)|0)>>1)+(k>>1)>>14;k=_(k,c[a+72>>2]|0)|0;m=_(c[a+76>>2]|0,f)|0;k=m+4096+(_(c[a+80>>2]|0,h)|0)+k>>13;h=(c[a+28>>2]|0)+j|0;i=(c[a+24>>2]|0)+i|0;m=_(k,i>>12)|0;c[d>>2]=m+(c[d>>2]|0);m=_(k,h>>12)|0;j=d+4|0;c[j>>2]=m+(c[j>>2]|0);d=d+8|0;g=(c[a+12>>2]|0)+g|0;if(d>>>0>=e>>>0)break;else{o=f;f=k;j=h;h=o}}c[a+4>>2]=(c[a+4>>2]|0)+(g>>16);c[a+8>>2]=g&65535;c[a+56>>2]=k;c[a+60>>2]=f;c[a+48>>2]=i;c[a+16>>2]=i>>12;c[a+52>>2]=h;c[a+20>>2]=h>>12;return}function tNa(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;o=c[d>>2]|0;p=c[d+4>>2]|0;o=(c[d+36>>2]&64|0)==0?o:o+p|0;h=c[d+56>>2]|0;i=c[d+60>>2]|0;g=c[d+64>>2]|0;j=c[d+68>>2]|0;n=c[d+8>>2]|0;l=c[d+52>>2]|0;k=c[d+48>>2]|0;while(1){r=((n&65535)+16|0)>>>2;x=b[1214530+((r&32760)<<1)>>1]|0;m=n>>16<<1;u=_(a[o+(p+-6+m)>>0]|0,x)|0;y=b[1214530+((r&32760|1)<<1)>>1]|0;u=(_(a[o+(p+-4+m)>>0]|0,y)|0)+u|0;w=b[1214530+((r&32760|2)<<1)>>1]|0;u=u+(_(a[o+(p+-2+m)>>0]|0,w)|0)|0;v=b[1214530+((r&32760|3)<<1)>>1]|0;u=u+(_(a[o+(m+p)>>0]|0,v)|0)|0;s=b[1214530+((r&32760|4)<<1)>>1]|0;u=u+(_(a[o+(p+2+m)>>0]|0,s)|0)|0;q=b[1214530+((r&32760|5)<<1)>>1]|0;u=u+(_(a[o+(p+4+m)>>0]|0,q)|0)|0;t=b[1214530+((r&32760|6)<<1)>>1]|0;u=u+(_(a[o+(p+6+m)>>0]|0,t)|0)|0;r=b[1214530+((r|7)<<1)>>1]|0;u=u+(_(a[o+(p+8+m)>>0]|0,r)|0)>>7;x=_(a[o+(p+-5+m)>>0]|0,x)|0;x=(_(a[o+(p+-3+m)>>0]|0,y)|0)+x|0;w=x+(_(a[o+(p+-1+m)>>0]|0,w)|0)|0;v=w+(_(a[o+((m|1)+p)>>0]|0,v)|0)|0;s=v+(_(a[o+(p+3+m)>>0]|0,s)|0)|0;q=s+(_(a[o+(p+5+m)>>0]|0,q)|0)|0;t=q+(_(a[o+(p+7+m)>>0]|0,t)|0)|0;r=t+(_(a[o+(p+9+m)>>0]|0,r)|0)>>7;m=c[d+72>>2]|0;u=_(m,u)|0;t=c[d+76>>2]|0;q=_(t,h)|0;s=c[d+80>>2]|0;q=u+4096+q+(_(s,i)|0)>>13;m=(_(t,g)|0)+4096+(_(s,j)|0)+(_(r,m)|0)>>13;j=(c[d+28>>2]|0)+l|0;k=(c[d+24>>2]|0)+k|0;l=_(q,k>>12)|0;c[e>>2]=l+(c[e>>2]|0);l=_(m,j>>12)|0;i=e+4|0;c[i>>2]=l+(c[i>>2]|0);e=e+8|0;i=(c[d+12>>2]|0)+n|0;if(e>>>0>=f>>>0)break;else{x=g;y=h;h=q;g=m;n=i;l=j;j=x;i=y}}c[d+4>>2]=(c[d+4>>2]|0)+(i>>16);c[d+8>>2]=i&65535;c[d+56>>2]=q;c[d+60>>2]=h;c[d+64>>2]=m;c[d+68>>2]=g;c[d+48>>2]=k;c[d+16>>2]=k>>12;c[d+52>>2]=j;c[d+20>>2]=j>>12;return}function uNa(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;n=c[a+4>>2]|0;g=(c[a>>2]|0)+(n<<1)|0;n=(c[a+36>>2]&64|0)==0?g:g+(n<<1)|0;g=c[a+56>>2]|0;h=c[a+60>>2]|0;f=c[a+64>>2]|0;i=c[a+68>>2]|0;m=c[a+8>>2]|0;k=c[a+52>>2]|0;j=c[a+48>>2]|0;while(1){l=((m&65535)+16|0)>>>2;v=b[1214530+((l&32760)<<1)>>1]|0;r=m>>16<<1;s=_(b[n+(r+-6<<1)>>1]|0,v)|0;w=b[1214530+((l&32760|1)<<1)>>1]|0;s=(_(b[n+(r+-4<<1)>>1]|0,w)|0)+s|0;u=b[1214530+((l&32760|2)<<1)>>1]|0;s=s+(_(b[n+(r+-2<<1)>>1]|0,u)|0)|0;p=b[1214530+((l&32760|3)<<1)>>1]|0;s=s+(_(b[n+(r<<1)>>1]|0,p)|0)|0;q=b[1214530+((l&32760|4)<<1)>>1]|0;x=_(b[n+(r+2<<1)>>1]|0,q)|0;t=b[1214530+((l&32760|5)<<1)>>1]|0;x=(_(b[n+(r+4<<1)>>1]|0,t)|0)+x|0;o=b[1214530+((l&32760|6)<<1)>>1]|0;x=x+(_(b[n+(r+6<<1)>>1]|0,o)|0)|0;l=b[1214530+((l|7)<<1)>>1]|0;s=(x+(_(b[n+(r+8<<1)>>1]|0,l)|0)>>1)+(s>>1)>>14;v=_(b[n+(r+-5<<1)>>1]|0,v)|0;v=(_(b[n+(r+-3<<1)>>1]|0,w)|0)+v|0;u=v+(_(b[n+(r+-1<<1)>>1]|0,u)|0)|0;p=u+(_(b[n+((r|1)<<1)>>1]|0,p)|0)|0;q=_(b[n+(r+3<<1)>>1]|0,q)|0;q=(_(b[n+(r+5<<1)>>1]|0,t)|0)+q|0;o=q+(_(b[n+(r+7<<1)>>1]|0,o)|0)|0;p=(o+(_(b[n+(r+9<<1)>>1]|0,l)|0)>>1)+(p>>1)>>14;l=c[a+72>>2]|0;s=_(l,s)|0;r=c[a+76>>2]|0;o=_(r,g)|0;q=c[a+80>>2]|0;o=s+4096+o+(_(q,h)|0)>>13;l=(_(r,f)|0)+4096+(_(q,i)|0)+(_(p,l)|0)>>13;i=(c[a+28>>2]|0)+k|0;j=(c[a+24>>2]|0)+j|0;k=_(o,j>>12)|0;c[d>>2]=k+(c[d>>2]|0);k=_(l,i>>12)|0;h=d+4|0;c[h>>2]=k+(c[h>>2]|0);d=d+8|0;h=(c[a+12>>2]|0)+m|0;if(d>>>0>=e>>>0)break;else{w=f;x=g;g=o;f=l;m=h;k=i;i=w;h=x}}c[a+4>>2]=(c[a+4>>2]|0)+(h>>16);c[a+8>>2]=h&65535;c[a+56>>2]=o;c[a+60>>2]=g;c[a+64>>2]=l;c[a+68>>2]=f;c[a+48>>2]=j;c[a+16>>2]=j>>12;c[a+52>>2]=i;c[a+20>>2]=i>>12;return}function vNa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;g=c[b>>2]|0;h=c[b+4>>2]|0;g=(c[b+36>>2]&64|0)==0?g:g+h|0;f=c[b+8>>2]|0;do{j=_(a[g+((f>>16)+h)>>0]<<8,c[b+16>>2]|0)|0;c[d>>2]=j+(c[d>>2]|0);i=d+4|0;c[i>>2]=(c[i>>2]|0)+j;d=d+8|0;f=(c[b+12>>2]|0)+f|0}while(d>>>0>>0);c[b+4>>2]=(c[b+4>>2]|0)+(f>>16);c[b+8>>2]=f&65535;return}function wNa(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;g=c[a+4>>2]|0;f=(c[a>>2]|0)+(g<<1)|0;g=(c[a+36>>2]&64|0)==0?f:f+(g<<1)|0;f=c[a+8>>2]|0;do{i=_(b[g+(f>>16<<1)>>1]|0,c[a+16>>2]|0)|0;c[d>>2]=(c[d>>2]|0)+i;h=d+4|0;c[h>>2]=(c[h>>2]|0)+i;d=d+8|0;f=(c[a+12>>2]|0)+f|0}while(d>>>0>>0);c[a+4>>2]=(c[a+4>>2]|0)+(f>>16);c[a+8>>2]=f&65535;return}function xNa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;h=c[b>>2]|0;i=c[b+4>>2]|0;h=(c[b+36>>2]&64|0)==0?h:h+i|0;f=c[b+8>>2]|0;g=c[b+48>>2]|0;do{g=(c[b+24>>2]|0)+g|0;k=_(g>>12,a[h+((f>>16)+i)>>0]<<8)|0;c[d>>2]=k+(c[d>>2]|0);j=d+4|0;c[j>>2]=k+(c[j>>2]|0);d=d+8|0;f=(c[b+12>>2]|0)+f|0}while(d>>>0>>0);c[b+4>>2]=(c[b+4>>2]|0)+(f>>16);c[b+8>>2]=f&65535;c[b+48>>2]=g;c[b+52>>2]=g;c[b+16>>2]=g>>12;c[b+20>>2]=g>>12;return}function yNa(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;h=c[a+4>>2]|0;f=(c[a>>2]|0)+(h<<1)|0;h=(c[a+36>>2]&64|0)==0?f:f+(h<<1)|0;f=c[a+8>>2]|0;g=c[a+48>>2]|0;do{g=(c[a+24>>2]|0)+g|0;j=_(g>>12,b[h+(f>>16<<1)>>1]|0)|0;c[d>>2]=j+(c[d>>2]|0);i=d+4|0;c[i>>2]=j+(c[i>>2]|0);d=d+8|0;f=(c[a+12>>2]|0)+f|0}while(d>>>0>>0);c[a+4>>2]=(c[a+4>>2]|0)+(f>>16);c[a+8>>2]=f&65535;c[a+48>>2]=g;c[a+52>>2]=g;c[a+16>>2]=g>>12;c[a+20>>2]=g>>12;return}function zNa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;g=c[b>>2]|0;h=c[b+4>>2]|0;g=(c[b+36>>2]&64|0)==0?g:g+h|0;f=c[b+8>>2]|0;do{i=f>>16;j=a[g+(i+h)>>0]|0;j=(_((a[g+(h+1+i)>>0]|0)-j|0,f>>>8&255)|0)+(j<<8)|0;j=_(j,c[b+16>>2]|0)|0;c[d>>2]=j+(c[d>>2]|0);i=d+4|0;c[i>>2]=j+(c[i>>2]|0);d=d+8|0;f=(c[b+12>>2]|0)+f|0}while(d>>>0>>0);c[b+4>>2]=(c[b+4>>2]|0)+(f>>16);c[b+8>>2]=f&65535;return} -function E2(a){a=a|0;var b=0,d=0,e=0,f=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,v=0,w=0,x=0,y=0,z=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,jb=0,kb=0,lb=0,mb=0,nb=0,ob=0,pb=0,qb=0,rb=0,sb=0,tb=0,ub=0,vb=0,wb=0,xb=0,yb=0,zb=0,Ab=0,Bb=0,Cb=0,Db=0,Eb=0,Fb=0,Gb=0,Hb=0,Ib=0,Jb=0,Kb=0,Lb=0,Mb=0,Nb=0,Ob=0,Pb=0,Qb=0,Rb=0,Sb=0,Tb=0,Ub=0,Vb=0,Wb=0,Xb=0,Yb=0,Zb=0,_b=0,$b=0,ac=0,bc=0,cc=0,dc=0,ec=0,fc=0,gc=0,hc=0,ic=0,jc=0,kc=0,lc=0,mc=0,nc=0,oc=0,pc=0,qc=0,rc=0,sc=0,tc=0,uc=0,vc=0,wc=0,xc=0,yc=0,zc=0,Ac=0,Bc=0,Cc=0,Dc=0,Ec=0,Fc=0,Gc=0,Hc=0,Ic=0,Jc=0,Kc=0,Lc=0,Mc=0,Nc=0,Oc=0,Pc=0,Qc=0,Rc=0,Sc=0,Tc=0,Uc=0,Vc=0,Wc=0,Xc=0,Yc=0,Zc=0,_c=0,$c=0,ad=0,bd=0,cd=0,dd=0,ed=0,fd=0,gd=0,hd=0,id=0,jd=0,kd=0,ld=0,md=0,nd=0,od=0,pd=0,qd=0,rd=0,sd=0;sd=i;i=i+26192|0;c[a+4>>2]=0;c[a+8>>2]=0;c[a>>2]=a+4;F=YAb(24)|0;c[F+16>>2]=0;c[F+20>>2]=0;c[F>>2]=0;c[F+4>>2]=0;c[F+8>>2]=a+4;c[a+4>>2]=F;c[a>>2]=F;Fj(F,F);c[a+8>>2]=(c[a+8>>2]|0)+1;H=c[a+4>>2]|0;c[F+20>>2]=0;do if(!H){c[sd>>2]=a+4;N=a+4|0;M=a+4|0;b=11}else{F=H;while(1){b=c[F+16>>2]|0;if((b|0)>13){b=c[F>>2]|0;if(!b){G=F;L=F;b=4;break}}else{if((b|0)>=13){J=F;b=10;break}I=F+4|0;b=c[I>>2]|0;if(!b){K=F;b=8;break}}F=b}if((b|0)==4){c[sd>>2]=L;N=G;M=L;b=11;break}else if((b|0)==8){c[sd>>2]=K;N=I;M=K;b=11;break}else if((b|0)==10){c[sd>>2]=J;if(!J){N=sd;M=J;b=11;break}else{O=H;E=J;break}}}while(0);if((b|0)==11){E=YAb(24)|0;c[E+16>>2]=13;c[E+20>>2]=0;c[E>>2]=0;c[E+4>>2]=0;c[E+8>>2]=M;c[N>>2]=E;b=c[c[a>>2]>>2]|0;if(!b)b=E;else{c[a>>2]=b;b=c[N>>2]|0}Fj(c[a+4>>2]|0,b);c[a+8>>2]=(c[a+8>>2]|0)+1;O=c[a+4>>2]|0}c[E+20>>2]=1;do if(!O){c[sd>>2]=a+4;V=a+4|0;U=a+4|0;b=24}else{E=O;while(1){b=c[E+16>>2]|0;if((b|0)>27){b=c[E>>2]|0;if(!b){P=E;T=E;b=17;break}}else{if((b|0)>=27){R=E;b=23;break}Q=E+4|0;b=c[Q>>2]|0;if(!b){S=E;b=21;break}}E=b}if((b|0)==17){c[sd>>2]=T;V=P;U=T;b=24;break}else if((b|0)==21){c[sd>>2]=S;V=Q;U=S;b=24;break}else if((b|0)==23){c[sd>>2]=R;if(!R){V=sd;U=R;b=24;break}else{W=O;D=R;break}}}while(0);if((b|0)==24){D=YAb(24)|0;c[D+16>>2]=27;c[D+20>>2]=0;c[D>>2]=0;c[D+4>>2]=0;c[D+8>>2]=U;c[V>>2]=D;b=c[c[a>>2]>>2]|0;if(!b)b=D;else{c[a>>2]=b;b=c[V>>2]|0}Fj(c[a+4>>2]|0,b);c[a+8>>2]=(c[a+8>>2]|0)+1;W=c[a+4>>2]|0}c[D+20>>2]=2;do if(!W){c[sd>>2]=a+4;ba=a+4|0;aa=a+4|0;b=37}else{D=W;while(1){b=c[D+16>>2]|0;if((b|0)>8){b=c[D>>2]|0;if(!b){X=D;$=D;b=30;break}}else{if((b|0)>=8){Z=D;b=36;break}Y=D+4|0;b=c[Y>>2]|0;if(!b){_=D;b=34;break}}D=b}if((b|0)==30){c[sd>>2]=$;ba=X;aa=$;b=37;break}else if((b|0)==34){c[sd>>2]=_;ba=Y;aa=_;b=37;break}else if((b|0)==36){c[sd>>2]=Z;if(!Z){ba=sd;aa=Z;b=37;break}else{ca=W;C=Z;break}}}while(0);if((b|0)==37){C=YAb(24)|0;c[C+16>>2]=8;c[C+20>>2]=0;c[C>>2]=0;c[C+4>>2]=0;c[C+8>>2]=aa;c[ba>>2]=C;b=c[c[a>>2]>>2]|0;if(!b)b=C;else{c[a>>2]=b;b=c[ba>>2]|0}Fj(c[a+4>>2]|0,b);c[a+8>>2]=(c[a+8>>2]|0)+1;ca=c[a+4>>2]|0}c[C+20>>2]=3;do if(!ca){c[sd>>2]=a+4;ja=a+4|0;ia=a+4|0;b=50}else{C=ca;while(1){b=c[C+16>>2]|0;if((b|0)>9){b=c[C>>2]|0;if(!b){da=C;ha=C;b=43;break}}else{if((b|0)>=9){fa=C;b=49;break}ea=C+4|0;b=c[ea>>2]|0;if(!b){ga=C;b=47;break}}C=b}if((b|0)==43){c[sd>>2]=ha;ja=da;ia=ha;b=50;break}else if((b|0)==47){c[sd>>2]=ga;ja=ea;ia=ga;b=50;break}else if((b|0)==49){c[sd>>2]=fa;if(!fa){ja=sd;ia=fa;b=50;break}else{ka=ca;z=fa;break}}}while(0);if((b|0)==50){z=YAb(24)|0;c[z+16>>2]=9;c[z+20>>2]=0;c[z>>2]=0;c[z+4>>2]=0;c[z+8>>2]=ia;c[ja>>2]=z;b=c[c[a>>2]>>2]|0;if(!b)b=z;else{c[a>>2]=b;b=c[ja>>2]|0}Fj(c[a+4>>2]|0,b);c[a+8>>2]=(c[a+8>>2]|0)+1;ka=c[a+4>>2]|0}c[z+20>>2]=4;do if(!ka){c[sd>>2]=a+4;ra=a+4|0;qa=a+4|0;b=63}else{z=ka;while(1){b=c[z+16>>2]|0;if((b|0)>32){b=c[z>>2]|0;if(!b){la=z;pa=z;b=56;break}}else{if((b|0)>=32){na=z;b=62;break}ma=z+4|0;b=c[ma>>2]|0;if(!b){oa=z;b=60;break}}z=b}if((b|0)==56){c[sd>>2]=pa;ra=la;qa=pa;b=63;break}else if((b|0)==60){c[sd>>2]=oa;ra=ma;qa=oa;b=63;break}else if((b|0)==62){c[sd>>2]=na;if(!na){ra=sd;qa=na;b=63;break}else{sa=ka;y=na;break}}}while(0);if((b|0)==63){y=YAb(24)|0;c[y+16>>2]=32;c[y+20>>2]=0;c[y>>2]=0;c[y+4>>2]=0;c[y+8>>2]=qa;c[ra>>2]=y;b=c[c[a>>2]>>2]|0;if(!b)b=y;else{c[a>>2]=b;b=c[ra>>2]|0}Fj(c[a+4>>2]|0,b);c[a+8>>2]=(c[a+8>>2]|0)+1;sa=c[a+4>>2]|0}c[y+20>>2]=5;do if(!sa){c[sd>>2]=a+4;za=a+4|0;ya=a+4|0;b=76}else{y=sa;while(1){b=c[y+16>>2]|0;if((b|0)>33){b=c[y>>2]|0;if(!b){ta=y;xa=y;b=69;break}}else{if((b|0)>=33){va=y;b=75;break}ua=y+4|0;b=c[ua>>2]|0;if(!b){wa=y;b=73;break}}y=b}if((b|0)==69){c[sd>>2]=xa;za=ta;ya=xa;b=76;break}else if((b|0)==73){c[sd>>2]=wa;za=ua;ya=wa;b=76;break}else if((b|0)==75){c[sd>>2]=va;if(!va){za=sd;ya=va;b=76;break}else{Aa=sa;x=va;break}}}while(0);if((b|0)==76){x=YAb(24)|0;c[x+16>>2]=33;c[x+20>>2]=0;c[x>>2]=0;c[x+4>>2]=0;c[x+8>>2]=ya;c[za>>2]=x;b=c[c[a>>2]>>2]|0;if(!b)b=x;else{c[a>>2]=b;b=c[za>>2]|0}Fj(c[a+4>>2]|0,b);c[a+8>>2]=(c[a+8>>2]|0)+1;Aa=c[a+4>>2]|0}c[x+20>>2]=6;do if(!Aa){c[sd>>2]=a+4;Ha=a+4|0;Ga=a+4|0;b=89}else{x=Aa;while(1){b=c[x+16>>2]|0;if((b|0)>34){b=c[x>>2]|0;if(!b){Ba=x;Fa=x;b=82;break}}else{if((b|0)>=34){Da=x;b=88;break}Ca=x+4|0;b=c[Ca>>2]|0;if(!b){Ea=x;b=86;break}}x=b}if((b|0)==82){c[sd>>2]=Fa;Ha=Ba;Ga=Fa;b=89;break}else if((b|0)==86){c[sd>>2]=Ea;Ha=Ca;Ga=Ea;b=89;break}else if((b|0)==88){c[sd>>2]=Da;if(!Da){Ha=sd;Ga=Da;b=89;break}else{Ia=Aa;w=Da;break}}}while(0);if((b|0)==89){w=YAb(24)|0;c[w+16>>2]=34;c[w+20>>2]=0;c[w>>2]=0;c[w+4>>2]=0;c[w+8>>2]=Ga;c[Ha>>2]=w;b=c[c[a>>2]>>2]|0;if(!b)b=w;else{c[a>>2]=b;b=c[Ha>>2]|0}Fj(c[a+4>>2]|0,b);c[a+8>>2]=(c[a+8>>2]|0)+1;Ia=c[a+4>>2]|0}c[w+20>>2]=7;do if(!Ia){c[sd>>2]=a+4;Pa=a+4|0;Oa=a+4|0;b=102}else{w=Ia;while(1){b=c[w+16>>2]|0;if((b|0)>35){b=c[w>>2]|0;if(!b){Ja=w;Na=w;b=95;break}}else{if((b|0)>=35){La=w;b=101;break}Ka=w+4|0;b=c[Ka>>2]|0;if(!b){Ma=w;b=99;break}}w=b}if((b|0)==95){c[sd>>2]=Na;Pa=Ja;Oa=Na;b=102;break}else if((b|0)==99){c[sd>>2]=Ma;Pa=Ka;Oa=Ma;b=102;break}else if((b|0)==101){c[sd>>2]=La;if(!La){Pa=sd;Oa=La;b=102;break}else{Qa=Ia;v=La;break}}}while(0);if((b|0)==102){v=YAb(24)|0;c[v+16>>2]=35;c[v+20>>2]=0;c[v>>2]=0;c[v+4>>2]=0;c[v+8>>2]=Oa;c[Pa>>2]=v;b=c[c[a>>2]>>2]|0;if(!b)b=v;else{c[a>>2]=b;b=c[Pa>>2]|0}Fj(c[a+4>>2]|0,b);c[a+8>>2]=(c[a+8>>2]|0)+1;Qa=c[a+4>>2]|0}c[v+20>>2]=8;do if(!Qa){c[sd>>2]=a+4;Xa=a+4|0;Wa=a+4|0;b=115}else{v=Qa;while(1){b=c[v+16>>2]|0;if((b|0)>37){b=c[v>>2]|0;if(!b){Ra=v;Va=v;b=108;break}}else{if((b|0)>=37){Ta=v;b=114;break}Sa=v+4|0;b=c[Sa>>2]|0;if(!b){Ua=v;b=112;break}}v=b}if((b|0)==108){c[sd>>2]=Va;Xa=Ra;Wa=Va;b=115;break}else if((b|0)==112){c[sd>>2]=Ua;Xa=Sa;Wa=Ua;b=115;break}else if((b|0)==114){c[sd>>2]=Ta;if(!Ta){Xa=sd;Wa=Ta;b=115;break}else{Ya=Qa;u=Ta;break}}}while(0);if((b|0)==115){u=YAb(24)|0;c[u+16>>2]=37;c[u+20>>2]=0;c[u>>2]=0;c[u+4>>2]=0;c[u+8>>2]=Wa;c[Xa>>2]=u;b=c[c[a>>2]>>2]|0;if(!b)b=u;else{c[a>>2]=b;b=c[Xa>>2]|0}Fj(c[a+4>>2]|0,b);c[a+8>>2]=(c[a+8>>2]|0)+1;Ya=c[a+4>>2]|0}c[u+20>>2]=9;do if(!Ya){c[sd>>2]=a+4;db=a+4|0;cb=a+4|0;b=128}else{u=Ya;while(1){b=c[u+16>>2]|0;if((b|0)>36){b=c[u>>2]|0;if(!b){Za=u;bb=u;b=121;break}}else{if((b|0)>=36){$a=u;b=127;break}_a=u+4|0;b=c[_a>>2]|0;if(!b){ab=u;b=125;break}}u=b}if((b|0)==121){c[sd>>2]=bb;db=Za;cb=bb;b=128;break}else if((b|0)==125){c[sd>>2]=ab;db=_a;cb=ab;b=128;break}else if((b|0)==127){c[sd>>2]=$a;if(!$a){db=sd;cb=$a;b=128;break}else{eb=Ya;s=$a;break}}}while(0);if((b|0)==128){s=YAb(24)|0;c[s+16>>2]=36;c[s+20>>2]=0;c[s>>2]=0;c[s+4>>2]=0;c[s+8>>2]=cb;c[db>>2]=s;b=c[c[a>>2]>>2]|0;if(!b)b=s;else{c[a>>2]=b;b=c[db>>2]|0}Fj(c[a+4>>2]|0,b);c[a+8>>2]=(c[a+8>>2]|0)+1;eb=c[a+4>>2]|0}c[s+20>>2]=10;do if(!eb){c[sd>>2]=a+4;lb=a+4|0;kb=a+4|0;b=141}else{s=eb;while(1){b=c[s+16>>2]|0;if((b|0)>38){b=c[s>>2]|0;if(!b){fb=s;jb=s;b=134;break}}else{if((b|0)>=38){hb=s;b=140;break}gb=s+4|0;b=c[gb>>2]|0;if(!b){ib=s;b=138;break}}s=b}if((b|0)==134){c[sd>>2]=jb;lb=fb;kb=jb;b=141;break}else if((b|0)==138){c[sd>>2]=ib;lb=gb;kb=ib;b=141;break}else if((b|0)==140){c[sd>>2]=hb;if(!hb){lb=sd;kb=hb;b=141;break}else{mb=eb;r=hb;break}}}while(0);if((b|0)==141){r=YAb(24)|0;c[r+16>>2]=38;c[r+20>>2]=0;c[r>>2]=0;c[r+4>>2]=0;c[r+8>>2]=kb;c[lb>>2]=r;b=c[c[a>>2]>>2]|0;if(!b)b=r;else{c[a>>2]=b;b=c[lb>>2]|0}Fj(c[a+4>>2]|0,b);c[a+8>>2]=(c[a+8>>2]|0)+1;mb=c[a+4>>2]|0}c[r+20>>2]=11;do if(!mb){c[sd>>2]=a+4;tb=a+4|0;sb=a+4|0;b=154}else{r=mb;while(1){b=c[r+16>>2]|0;if((b|0)>39){b=c[r>>2]|0;if(!b){nb=r;rb=r;b=147;break}}else{if((b|0)>=39){pb=r;b=153;break}ob=r+4|0;b=c[ob>>2]|0;if(!b){qb=r;b=151;break}}r=b}if((b|0)==147){c[sd>>2]=rb;tb=nb;sb=rb;b=154;break}else if((b|0)==151){c[sd>>2]=qb;tb=ob;sb=qb;b=154;break}else if((b|0)==153){c[sd>>2]=pb;if(!pb){tb=sd;sb=pb;b=154;break}else{ub=mb;q=pb;break}}}while(0);if((b|0)==154){q=YAb(24)|0;c[q+16>>2]=39;c[q+20>>2]=0;c[q>>2]=0;c[q+4>>2]=0;c[q+8>>2]=sb;c[tb>>2]=q;b=c[c[a>>2]>>2]|0;if(!b)b=q;else{c[a>>2]=b;b=c[tb>>2]|0}Fj(c[a+4>>2]|0,b);c[a+8>>2]=(c[a+8>>2]|0)+1;ub=c[a+4>>2]|0}c[q+20>>2]=12;do if(!ub){c[sd>>2]=a+4;Bb=a+4|0;Ab=a+4|0;b=167}else{q=ub;while(1){b=c[q+16>>2]|0;if((b|0)>40){b=c[q>>2]|0;if(!b){vb=q;zb=q;b=160;break}}else{if((b|0)>=40){xb=q;b=166;break}wb=q+4|0;b=c[wb>>2]|0;if(!b){yb=q;b=164;break}}q=b}if((b|0)==160){c[sd>>2]=zb;Bb=vb;Ab=zb;b=167;break}else if((b|0)==164){c[sd>>2]=yb;Bb=wb;Ab=yb;b=167;break}else if((b|0)==166){c[sd>>2]=xb;if(!xb){Bb=sd;Ab=xb;b=167;break}else{Cb=ub;p=xb;break}}}while(0);if((b|0)==167){p=YAb(24)|0;c[p+16>>2]=40;c[p+20>>2]=0;c[p>>2]=0;c[p+4>>2]=0;c[p+8>>2]=Ab;c[Bb>>2]=p;b=c[c[a>>2]>>2]|0;if(!b)b=p;else{c[a>>2]=b;b=c[Bb>>2]|0}Fj(c[a+4>>2]|0,b);c[a+8>>2]=(c[a+8>>2]|0)+1;Cb=c[a+4>>2]|0}c[p+20>>2]=13;do if(!Cb){c[sd>>2]=a+4;Jb=a+4|0;Ib=a+4|0;b=180}else{p=Cb;while(1){b=c[p+16>>2]|0;if((b|0)>41){b=c[p>>2]|0;if(!b){Db=p;Hb=p;b=173;break}}else{if((b|0)>=41){Fb=p;b=179;break}Eb=p+4|0;b=c[Eb>>2]|0;if(!b){Gb=p;b=177;break}}p=b}if((b|0)==173){c[sd>>2]=Hb;Jb=Db;Ib=Hb;b=180;break}else if((b|0)==177){c[sd>>2]=Gb;Jb=Eb;Ib=Gb;b=180;break}else if((b|0)==179){c[sd>>2]=Fb;if(!Fb){Jb=sd;Ib=Fb;b=180;break}else{Kb=Cb;o=Fb;break}}}while(0);if((b|0)==180){o=YAb(24)|0;c[o+16>>2]=41;c[o+20>>2]=0;c[o>>2]=0;c[o+4>>2]=0;c[o+8>>2]=Ib;c[Jb>>2]=o;b=c[c[a>>2]>>2]|0;if(!b)b=o;else{c[a>>2]=b;b=c[Jb>>2]|0}Fj(c[a+4>>2]|0,b);c[a+8>>2]=(c[a+8>>2]|0)+1;Kb=c[a+4>>2]|0}c[o+20>>2]=14;do if(!Kb){c[sd>>2]=a+4;Rb=a+4|0;Qb=a+4|0;b=193}else{o=Kb;while(1){b=c[o+16>>2]|0;if((b|0)>42){b=c[o>>2]|0;if(!b){Lb=o;Pb=o;b=186;break}}else{if((b|0)>=42){Nb=o;b=192;break}Mb=o+4|0;b=c[Mb>>2]|0;if(!b){Ob=o;b=190;break}}o=b}if((b|0)==186){c[sd>>2]=Pb;Rb=Lb;Qb=Pb;b=193;break}else if((b|0)==190){c[sd>>2]=Ob;Rb=Mb;Qb=Ob;b=193;break}else if((b|0)==192){c[sd>>2]=Nb;if(!Nb){Rb=sd;Qb=Nb;b=193;break}else{Sb=Kb;n=Nb;break}}}while(0);if((b|0)==193){n=YAb(24)|0;c[n+16>>2]=42;c[n+20>>2]=0;c[n>>2]=0;c[n+4>>2]=0;c[n+8>>2]=Qb;c[Rb>>2]=n;b=c[c[a>>2]>>2]|0;if(!b)b=n;else{c[a>>2]=b;b=c[Rb>>2]|0}Fj(c[a+4>>2]|0,b);c[a+8>>2]=(c[a+8>>2]|0)+1;Sb=c[a+4>>2]|0}c[n+20>>2]=15;do if(!Sb){c[sd>>2]=a+4;Zb=a+4|0;Yb=a+4|0;b=206}else{n=Sb;while(1){b=c[n+16>>2]|0;if((b|0)>43){b=c[n>>2]|0;if(!b){Tb=n;Xb=n;b=199;break}}else{if((b|0)>=43){Vb=n;b=205;break}Ub=n+4|0;b=c[Ub>>2]|0;if(!b){Wb=n;b=203;break}}n=b}if((b|0)==199){c[sd>>2]=Xb;Zb=Tb;Yb=Xb;b=206;break}else if((b|0)==203){c[sd>>2]=Wb;Zb=Ub;Yb=Wb;b=206;break}else if((b|0)==205){c[sd>>2]=Vb;if(!Vb){Zb=sd;Yb=Vb;b=206;break}else{_b=Sb;m=Vb;break}}}while(0);if((b|0)==206){m=YAb(24)|0;c[m+16>>2]=43;c[m+20>>2]=0;c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=Yb;c[Zb>>2]=m;b=c[c[a>>2]>>2]|0;if(!b)b=m;else{c[a>>2]=b;b=c[Zb>>2]|0}Fj(c[a+4>>2]|0,b);c[a+8>>2]=(c[a+8>>2]|0)+1;_b=c[a+4>>2]|0}c[m+20>>2]=16;do if(!_b){c[sd>>2]=a+4;fc=a+4|0;ec=a+4|0;b=219}else{m=_b;while(1){b=c[m+16>>2]|0;if((b|0)>44){b=c[m>>2]|0;if(!b){$b=m;dc=m;b=212;break}}else{if((b|0)>=44){bc=m;b=218;break}ac=m+4|0;b=c[ac>>2]|0;if(!b){cc=m;b=216;break}}m=b}if((b|0)==212){c[sd>>2]=dc;fc=$b;ec=dc;b=219;break}else if((b|0)==216){c[sd>>2]=cc;fc=ac;ec=cc;b=219;break}else if((b|0)==218){c[sd>>2]=bc;if(!bc){fc=sd;ec=bc;b=219;break}else{gc=_b;l=bc;break}}}while(0);if((b|0)==219){l=YAb(24)|0;c[l+16>>2]=44;c[l+20>>2]=0;c[l>>2]=0;c[l+4>>2]=0;c[l+8>>2]=ec;c[fc>>2]=l;b=c[c[a>>2]>>2]|0;if(!b)b=l;else{c[a>>2]=b;b=c[fc>>2]|0}Fj(c[a+4>>2]|0,b);c[a+8>>2]=(c[a+8>>2]|0)+1;gc=c[a+4>>2]|0}c[l+20>>2]=17;do if(!gc){c[sd>>2]=a+4;nc=a+4|0;mc=a+4|0;b=232}else{l=gc;while(1){b=c[l+16>>2]|0;if((b|0)>45){b=c[l>>2]|0;if(!b){hc=l;lc=l;b=225;break}}else{if((b|0)>=45){jc=l;b=231;break}ic=l+4|0;b=c[ic>>2]|0;if(!b){kc=l;b=229;break}}l=b}if((b|0)==225){c[sd>>2]=lc;nc=hc;mc=lc;b=232;break}else if((b|0)==229){c[sd>>2]=kc;nc=ic;mc=kc;b=232;break}else if((b|0)==231){c[sd>>2]=jc;if(!jc){nc=sd;mc=jc;b=232;break}else{oc=gc;k=jc;break}}}while(0);if((b|0)==232){k=YAb(24)|0;c[k+16>>2]=45;c[k+20>>2]=0;c[k>>2]=0;c[k+4>>2]=0;c[k+8>>2]=mc;c[nc>>2]=k;b=c[c[a>>2]>>2]|0;if(!b)b=k;else{c[a>>2]=b;b=c[nc>>2]|0}Fj(c[a+4>>2]|0,b);c[a+8>>2]=(c[a+8>>2]|0)+1;oc=c[a+4>>2]|0}c[k+20>>2]=18;do if(!oc){c[sd>>2]=a+4;vc=a+4|0;uc=a+4|0;b=245}else{k=oc;while(1){b=c[k+16>>2]|0;if((b|0)>46){b=c[k>>2]|0;if(!b){pc=k;tc=k;b=238;break}}else{if((b|0)>=46){rc=k;b=244;break}qc=k+4|0;b=c[qc>>2]|0;if(!b){sc=k;b=242;break}}k=b}if((b|0)==238){c[sd>>2]=tc;vc=pc;uc=tc;b=245;break}else if((b|0)==242){c[sd>>2]=sc;vc=qc;uc=sc;b=245;break}else if((b|0)==244){c[sd>>2]=rc;if(!rc){vc=sd;uc=rc;b=245;break}else{wc=oc;j=rc;break}}}while(0);if((b|0)==245){j=YAb(24)|0;c[j+16>>2]=46;c[j+20>>2]=0;c[j>>2]=0;c[j+4>>2]=0;c[j+8>>2]=uc;c[vc>>2]=j;b=c[c[a>>2]>>2]|0;if(!b)b=j;else{c[a>>2]=b;b=c[vc>>2]|0}Fj(c[a+4>>2]|0,b);c[a+8>>2]=(c[a+8>>2]|0)+1;wc=c[a+4>>2]|0}c[j+20>>2]=19;do if(!wc){c[sd>>2]=a+4;Dc=a+4|0;Cc=a+4|0;b=258}else{j=wc;while(1){b=c[j+16>>2]|0;if((b|0)>47){b=c[j>>2]|0;if(!b){xc=j;Bc=j;b=251;break}}else{if((b|0)>=47){zc=j;b=257;break}yc=j+4|0;b=c[yc>>2]|0;if(!b){Ac=j;b=255;break}}j=b}if((b|0)==251){c[sd>>2]=Bc;Dc=xc;Cc=Bc;b=258;break}else if((b|0)==255){c[sd>>2]=Ac;Dc=yc;Cc=Ac;b=258;break}else if((b|0)==257){c[sd>>2]=zc;if(!zc){Dc=sd;Cc=zc;b=258;break}else{Ec=wc;h=zc;break}}}while(0);if((b|0)==258){h=YAb(24)|0;c[h+16>>2]=47;c[h+20>>2]=0;c[h>>2]=0;c[h+4>>2]=0;c[h+8>>2]=Cc;c[Dc>>2]=h;b=c[c[a>>2]>>2]|0;if(!b)b=h;else{c[a>>2]=b;b=c[Dc>>2]|0}Fj(c[a+4>>2]|0,b);c[a+8>>2]=(c[a+8>>2]|0)+1;Ec=c[a+4>>2]|0}c[h+20>>2]=20;do if(!Ec){c[sd>>2]=a+4;Lc=a+4|0;Kc=a+4|0;b=271}else{h=Ec;while(1){b=c[h+16>>2]|0;if((b|0)>48){b=c[h>>2]|0;if(!b){Fc=h;Jc=h;b=264;break}}else{if((b|0)>=48){Hc=h;b=270;break}Gc=h+4|0;b=c[Gc>>2]|0;if(!b){Ic=h;b=268;break}}h=b}if((b|0)==264){c[sd>>2]=Jc;Lc=Fc;Kc=Jc;b=271;break}else if((b|0)==268){c[sd>>2]=Ic;Lc=Gc;Kc=Ic;b=271;break}else if((b|0)==270){c[sd>>2]=Hc;if(!Hc){Lc=sd;Kc=Hc;b=271;break}else{Mc=Ec;f=Hc;break}}}while(0);if((b|0)==271){f=YAb(24)|0;c[f+16>>2]=48;c[f+20>>2]=0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=Kc;c[Lc>>2]=f;b=c[c[a>>2]>>2]|0;if(!b)b=f;else{c[a>>2]=b;b=c[Lc>>2]|0}Fj(c[a+4>>2]|0,b);c[a+8>>2]=(c[a+8>>2]|0)+1;Mc=c[a+4>>2]|0}c[f+20>>2]=21;do if(!Mc){c[sd>>2]=a+4;Tc=a+4|0;Sc=a+4|0;b=284}else{f=Mc;while(1){b=c[f+16>>2]|0;if((b|0)>49){b=c[f>>2]|0;if(!b){Nc=f;Rc=f;b=277;break}}else{if((b|0)>=49){Pc=f;b=283;break}Oc=f+4|0;b=c[Oc>>2]|0;if(!b){Qc=f;b=281;break}}f=b}if((b|0)==277){c[sd>>2]=Rc;Tc=Nc;Sc=Rc;b=284;break}else if((b|0)==281){c[sd>>2]=Qc;Tc=Oc;Sc=Qc;b=284;break}else if((b|0)==283){c[sd>>2]=Pc;if(!Pc){Tc=sd;Sc=Pc;b=284;break}else{Uc=Mc;e=Pc;break}}}while(0);if((b|0)==284){e=YAb(24)|0;c[e+16>>2]=49;c[e+20>>2]=0;c[e>>2]=0;c[e+4>>2]=0;c[e+8>>2]=Sc;c[Tc>>2]=e;b=c[c[a>>2]>>2]|0;if(!b)b=e;else{c[a>>2]=b;b=c[Tc>>2]|0}Fj(c[a+4>>2]|0,b);c[a+8>>2]=(c[a+8>>2]|0)+1;Uc=c[a+4>>2]|0}c[e+20>>2]=22;do if(!Uc){c[sd>>2]=a+4;$c=a+4|0;_c=a+4|0;b=297}else{e=Uc;while(1){b=c[e+16>>2]|0;if((b|0)>50){b=c[e>>2]|0;if(!b){Vc=e;Zc=e;b=290;break}}else{if((b|0)>=50){Xc=e;b=296;break}Wc=e+4|0;b=c[Wc>>2]|0;if(!b){Yc=e;b=294;break}}e=b}if((b|0)==290){c[sd>>2]=Zc;$c=Vc;_c=Zc;b=297;break}else if((b|0)==294){c[sd>>2]=Yc;$c=Wc;_c=Yc;b=297;break}else if((b|0)==296){c[sd>>2]=Xc;if(!Xc){$c=sd;_c=Xc;b=297;break}else{ad=Uc;d=Xc;break}}}while(0);if((b|0)==297){d=YAb(24)|0;c[d+16>>2]=50;c[d+20>>2]=0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=_c;c[$c>>2]=d;b=c[c[a>>2]>>2]|0;if(!b)b=d;else{c[a>>2]=b;b=c[$c>>2]|0}Fj(c[a+4>>2]|0,b);c[a+8>>2]=(c[a+8>>2]|0)+1;ad=c[a+4>>2]|0}c[d+20>>2]=23;do if(!ad){c[sd>>2]=a+4;cd=a+4|0;kd=a+4|0;b=310}else{d=ad;while(1){b=c[d+16>>2]|0;if((b|0)>51){b=c[d>>2]|0;if(!b){dd=d;od=d;b=303;break}}else{if((b|0)>=51){md=d;b=309;break}jd=d+4|0;b=c[jd>>2]|0;if(!b){nd=d;b=307;break}}d=b}if((b|0)==303){c[sd>>2]=od;cd=dd;kd=od;b=310;break}else if((b|0)==307){c[sd>>2]=nd;cd=jd;kd=nd;b=310;break}else if((b|0)==309){c[sd>>2]=md;if(!md){cd=sd;kd=md;b=310;break}else{ld=ad;rd=md;break}}}while(0);c[sd+32>>2]=a;c[sd+1160>>2]=cd;c[sd+6624>>2]=ed;c[sd+17640>>2]=kd;c[sd+17672>>2]=ld;c[sd+25520>>2]=rd;c[sd+25904>>2]=b;c[sd+25944>>2]=0;c[sd+25948>>2]=0;afa(sd);nd=c[sd+6624>>2]|0;md=c[sd+25904>>2]|0;c[sd+32>>2]=a;c[sd+240>>2]=bd;c[sd+6624>>2]=nd;c[sd+9304>>2]=fd;c[sd+9336>>2]=gd;c[sd+24600>>2]=pd;c[sd+25904>>2]=md;c[sd+25936>>2]=0;c[sd+25940>>2]=0;$ea(sd);md=c[sd+240>>2]|0;nd=c[sd+9304>>2]|0;od=c[sd+9336>>2]|0;pd=c[sd+24600>>2]|0;rd=c[sd+25904>>2]|0;c[sd+32>>2]=a;c[sd+240>>2]=md;c[sd+9304>>2]=nd;c[sd+9336>>2]=od;c[sd+11968>>2]=hd;c[sd+24600>>2]=pd;c[sd+24888>>2]=qd;c[sd+25904>>2]=rd;c[sd+25928>>2]=0;c[sd+25932>>2]=0;_ea(sd);pd=c[sd+11968>>2]|0;qd=c[sd+24888>>2]|0;rd=c[sd+25904>>2]|0;c[sd+32>>2]=a;c[sd+11968>>2]=pd;c[sd+14624>>2]=id;c[sd+24888>>2]=qd;c[sd+25904>>2]=rd;c[sd+25920>>2]=0;c[sd+25924>>2]=0;Zea(sd);id=c[sd+14624>>2]|0;rd=c[sd+25904>>2]|0;c[sd+32>>2]=a;c[sd+14624>>2]=id;c[sd+25904>>2]=rd;c[sd+25912>>2]=0;c[sd+25916>>2]=0;Yea(sd);A=c[sd+25912>>2]|0;t=c[sd+25916>>2]|0;B=+g[sd+25916>>2];c[sd+25912>>2]=0;c[sd+25916>>2]=0;if((A|0)==5)return}function F2(a,b){a=a|0;b=b|0;if(!b)return;else{F2(a,c[b>>2]|0);F2(a,c[b+4>>2]|0);oAb(b);return}}function G2(a){a=a|0;var b=0;b=i;i=i+16|0;Jj(a);c[a>>2]=22180;$O(a+8|0);c[a+12>>2]=0;c[a+12+4>>2]=0;c[a+12+8>>2]=0;c[a+12+12>>2]=0;c[a+12+16>>2]=0;c[a+12+20>>2]=0;c[a>>2]=22112;if((Dgb(16384)|0)<0){a=nf(16)|0;c[b>>2]=n6a()|0;ds(a,363557,b);zc(a|0,96,27)}else{Ohb(346,a);i=b;return}}function H2(a){a=a|0;var b=0,d=0,e=0;c[a>>2]=22156;b=c[a+20>>2]|0;if(!b){a=a+8|0;Mqb(a);return}d=c[a+24>>2]|0;if((d|0)!=(b|0)){do{d=d+-4|0;c[a+24>>2]=d;e=c[d>>2]|0;if(e){Hi[c[(c[e>>2]|0)+12>>2]&1023](e);d=c[a+24>>2]|0}}while((d|0)!=(b|0));b=c[a+20>>2]|0}oAb(b);a=a+8|0;Mqb(a);return}function I2(a){a=a|0;var b=0,d=0,e=0;c[a>>2]=22156;b=c[a+20>>2]|0;if(b|0){d=c[a+24>>2]|0;if((d|0)!=(b|0)){do{d=d+-4|0;c[a+24>>2]=d;e=c[d>>2]|0;if(e){Hi[c[(c[e>>2]|0)+12>>2]&1023](e);d=c[a+24>>2]|0}}while((d|0)!=(b|0));b=c[a+20>>2]|0}oAb(b)}Mqb(a+8|0);oAb(a);return}function J2(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;c[a>>2]=22180;d=c[a+16>>2]|0;e=c[a+28>>2]|0;h=c[a+20>>2]|0;if((h|0)==(d|0)){f=0;g=a+32|0;b=0}else{f=(c[a+32>>2]|0)+e|0;f=(c[d+(f>>>10<<2)>>2]|0)+((f&1023)<<2)|0;g=a+32|0;b=(c[d+(e>>>10<<2)>>2]|0)+((e&1023)<<2)|0}e=d+(e>>>10<<2)|0;a:while(1){do{if((b|0)==(f|0))break a;b=b+4|0}while((b-(c[e>>2]|0)|0)!=4096);b=e+4|0;e=b;b=c[b>>2]|0}c[g>>2]=0;if(h-d>>2>>>0>2)do{oAb(c[d>>2]|0);d=(c[a+16>>2]|0)+4|0;c[a+16>>2]=d;b=(c[a+20>>2]|0)-d>>2}while(b>>>0>2);else b=h-d>>2;switch(b|0){case 1:{c[a+28>>2]=512;break}case 2:{c[a+28>>2]=1024;break}default:{}}b=c[a+16>>2]|0;d=c[a+20>>2]|0;if((b|0)!=(d|0)){do{oAb(c[b>>2]|0);b=b+4|0}while((b|0)!=(d|0));b=c[a+16>>2]|0;d=c[a+20>>2]|0;if((d|0)!=(b|0))c[a+20>>2]=d+(~((d+-4-b|0)>>>2)<<2)}b=c[a+12>>2]|0;if(!b){h=a+8|0;aP(h);wj(a);return}oAb(b);h=a+8|0;aP(h);wj(a);return}function K2(a){a=a|0;J2(a);oAb(a);return}function L2(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;QO(e,bP(a+8|0)|0);if(!(c[a+32>>2]|0)){SO(e);i=e;return}b=c[a+28>>2]|0;do{d=c[(c[(c[a+16>>2]|0)+(b>>>10<<2)>>2]|0)+((b&1023)<<2)>>2]|0;Hi[c[(c[d>>2]|0)+12>>2]&1023](d);d=(c[a+32>>2]|0)+-1|0;c[a+32>>2]=d;b=(c[a+28>>2]|0)+1|0;c[a+28>>2]=b;if(b>>>0>2047){oAb(c[c[a+16>>2]>>2]|0);c[a+16>>2]=(c[a+16>>2]|0)+4;b=(c[a+28>>2]|0)+-1024|0;c[a+28>>2]=b;d=c[a+32>>2]|0}}while((d|0)!=0);SO(e);i=e;return}function M2(a,b,d){a=a|0;b=b|0;d=d|0;Jj(a);c[a>>2]=22156;Hqb(a+8|0,b);N2(a+20|0,d);return}function N2(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;e=(c[b+4>>2]|0)-(c[b>>2]|0)|0;if(!(e>>2))return;if(e>>2>>>0>1073741823)jzb(a);d=YAb(e)|0;c[a+4>>2]=d;c[a>>2]=d;c[a+8>>2]=d+(e>>2<<2);e=c[b>>2]|0;f=c[b+4>>2]|0;if((e|0)==(f|0))return;do{b=c[e>>2]|0;c[d>>2]=b;if(b){Hi[c[(c[b>>2]|0)+8>>2]&1023](b);d=c[a+4>>2]|0}d=d+4|0;c[a+4>>2]=d;e=e+4|0}while((e|0)!=(f|0));return}function O2(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;ks(b,a+8|0);d=c[a+20>>2]|0;f=c[a+24>>2]|0;if((d|0)==(f|0)){a=d;b=f;a=b-a|0;a=a>>2;a=a+1|0;return a|0}do{e=c[d>>2]|0;if(!e)HDa(b);else t_(e,b);d=d+4|0}while((d|0)!=(f|0));b=c[a+20>>2]|0;a=c[a+24>>2]|0;a=a-b|0;a=a>>2;a=a+1|0;return a|0}function P2(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0;l=i;i=i+32|0;js(l+20|0,a,b);c[l+8>>2]=0;k=l+8+4|0;c[k>>2]=0;c[l+8+8>>2]=0;f=(kDa(a)|0)-b|0;a:do if((f|0)>0){g=0;while(1){h=b+1+g|0;if((qDa(a,h)|0)<1){j=20;break a}e=r_(a,h,1)|0;c[l+4>>2]=e;if(e|0)Hi[c[(c[e>>2]|0)+8>>2]&1023](e);d=c[k>>2]|0;if(d>>>0<(c[l+8+8>>2]|0)>>>0){c[d>>2]=e;if(e){Hi[c[(c[e>>2]|0)+8>>2]&1023](e);d=c[k>>2]|0}c[k>>2]=d+4}else lu(l+8|0,l+4|0);if(e|0)Hi[c[(c[e>>2]|0)+12>>2]&1023](e);d=c[k>>2]|0;e=c[d+-4>>2]|0;if(!e)break;Hi[c[(c[e>>2]|0)+12>>2]&1023](e);g=g+1|0;if((g|0)>=(f|0)){j=20;break a}}f=c[l+8>>2]|0;if((d|0)!=(f|0))do{d=d+-4|0;c[k>>2]=d;e=c[d>>2]|0;if(e){Hi[c[(c[e>>2]|0)+12>>2]&1023](e);d=c[k>>2]|0}}while((d|0)!=(f|0));c[l>>2]=h;PGa(a,363646,l)|0;g=0}else j=20;while(0);if((j|0)==20){g=YAb(32)|0;Jj(g);c[g>>2]=22156;Hqb(g+8|0,l+20|0);N2(g+20|0,l+8|0)}d=c[l+8>>2]|0;if(!d){Mqb(l+20|0);i=l;return g|0}e=c[k>>2]|0;if((e|0)!=(d|0)){do{e=e+-4|0;c[k>>2]=e;f=c[e>>2]|0;if(f){Hi[c[(c[f>>2]|0)+12>>2]&1023](f);e=c[k>>2]|0}}while((e|0)!=(d|0));d=c[l+8>>2]|0}oAb(d);Mqb(l+20|0);i=l;return g|0}function Q2(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;g=i;i=i+16|0;QO(g,bP(a+8|0)|0);Hi[c[(c[b>>2]|0)+8>>2]&1023](b);h=c[a+20>>2]|0;e=c[a+16>>2]|0;f=c[a+28>>2]|0;d=c[a+32>>2]|0;if((((h|0)==(e|0)?0:(h-e<<8)+-1|0)|0)==(d+f|0)){R2(a+12|0);d=c[a+32>>2]|0;f=c[a+28>>2]|0;e=c[a+16>>2]|0}h=d+f|0;c[(c[e+(h>>>10<<2)>>2]|0)+((h&1023)<<2)>>2]=b;c[a+32>>2]=d+1;SO(g);i=g;return}function R2(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;b=c[a+16>>2]|0;if(b>>>0>1023){c[a+16>>2]=b+-1024;f=c[a+4>>2]|0;l=c[f>>2]|0;c[a+4>>2]=f+4;b=c[a+8>>2]|0;d=c[a+12>>2]|0;do if((b|0)==(d|0)){e=c[a>>2]|0;if((f+4|0)>>>0>e>>>0){n=f+4+((((f+4-e>>2)+1|0)/-2|0)<<2)|0;nBb(n|0,f+4|0,b-(f+4)|0)|0;c[a+8>>2]=n+(b-(f+4)>>2<<2);c[a+4>>2]=(c[a+4>>2]|0)+((((f+4-e>>2)+1|0)/-2|0)<<2);b=n+(b-(f+4)>>2<<2)|0;break}h=(d-e>>1|0)==0?1:d-e>>1;j=YAb(h<<2)|0;k=j+(h>>>2<<2)|0;if((f+4|0)==(b|0)){d=e;b=k}else{g=j+(h>>>2<<2)|0;e=f+4|0;d=k;while(1){c[g>>2]=c[e>>2];g=d+4|0;f=g;e=e+4|0;if((e|0)==(b|0))break;else d=f}d=c[a>>2]|0;b=f}c[a>>2]=j;c[a+4>>2]=k;c[a+8>>2]=b;c[a+12>>2]=j+(h<<2);if(d){oAb(d);b=c[a+8>>2]|0}}while(0);c[b>>2]=l;c[a+8>>2]=(c[a+8>>2]|0)+4;i=o;return}g=c[a+8>>2]|0;e=c[a+4>>2]|0;d=c[a+12>>2]|0;b=d-(c[a>>2]|0)|0;if(g-e>>2>>>0>2>>>0){b=YAb(4096)|0;if((d|0)!=(g|0)){c[o+4>>2]=b;S2(a,o+4|0);i=o;return}c[o>>2]=b;T2(a,o);f=c[a+4>>2]|0;l=c[f>>2]|0;c[a+4>>2]=f+4;b=c[a+8>>2]|0;d=c[a+12>>2]|0;do if((b|0)==(d|0)){e=c[a>>2]|0;if((f+4|0)>>>0>e>>>0){n=f+4+((((f+4-e>>2)+1|0)/-2|0)<<2)|0;nBb(n|0,f+4|0,b-(f+4)|0)|0;c[a+8>>2]=n+(b-(f+4)>>2<<2);c[a+4>>2]=(c[a+4>>2]|0)+((((f+4-e>>2)+1|0)/-2|0)<<2);b=n+(b-(f+4)>>2<<2)|0;break}k=(d-e>>1|0)==0?1:d-e>>1;h=YAb(k<<2)|0;j=h+(k>>>2<<2)|0;if((f+4|0)==(b|0)){d=e;b=j}else{g=h+(k>>>2<<2)|0;e=f+4|0;d=j;while(1){c[g>>2]=c[e>>2];g=d+4|0;f=g;e=e+4|0;if((e|0)==(b|0))break;else d=f}d=c[a>>2]|0;b=f}c[a>>2]=h;c[a+4>>2]=j;c[a+8>>2]=b;c[a+12>>2]=h+(k<<2);if(d){oAb(d);b=c[a+8>>2]|0}}while(0);c[b>>2]=l;c[a+8>>2]=(c[a+8>>2]|0)+4;i=o;return}b=(b>>1|0)==0?1:b>>1;d=YAb(b<<2)|0;f=YAb(4096)|0;do if((g-e>>2|0)==(b|0))if((g-e|0)>0){k=g;h=e;j=d;e=d+(g-e>>2<<2)+((((g-e>>2)+1|0)/-2|0)<<2)|0;d=d+(b<<2)|0;break}else{n=(g-e>>1|0)==0?1:g-e>>1;m=YAb(n<<2)|0;oAb(d);k=c[a+8>>2]|0;h=c[a+4>>2]|0;j=m;e=m+(n>>>2<<2)|0;d=m+(n<<2)|0;break}else{k=g;h=e;j=d;e=d+(g-e>>2<<2)|0;d=d+(b<<2)|0}while(0);b=e;c[e>>2]=f;e=e+4|0;if((k|0)==(h|0)){g=j;f=b}else{n=k;do{n=n+-4|0;g=b;do if((g|0)==(j|0)){h=e;if(h>>>0>>0){m=h+((((d-e>>2)+1|0)/2|0)<<2)|0;e=e-b|0;nBb(m+(0-(e>>2)<<2)|0,b|0,e|0)|0;g=m+(0-(e>>2)<<2)|0;b=m+(0-(e>>2)<<2)|0;e=m;break}l=d-j>>1;l=(l|0)==0?1:l;m=YAb(l<<2)|0;k=m+((l+3|0)>>>2<<2)|0;if((g|0)==(h|0))e=k;else{f=m+((l+3|0)>>>2<<2)|0;d=g;e=k;do{c[f>>2]=c[d>>2];f=e+4|0;e=f;d=d+4|0}while((d|0)!=(h|0))}if(!b){g=m+((l+3|0)>>>2<<2)|0;j=m;b=k;d=m+(l<<2)|0}else{oAb(b);g=m+((l+3|0)>>>2<<2)|0;j=m;b=k;d=m+(l<<2)|0}}while(0);c[g+-4>>2]=c[n>>2];b=b+-4|0}while((n|0)!=(c[a+4>>2]|0));g=j;f=b}b=c[a>>2]|0;c[a>>2]=g;c[a+4>>2]=f;c[a+8>>2]=e;c[a+12>>2]=d;if(!b){i=o;return}oAb(b);i=o;return}function S2(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=c[a+8>>2]|0;e=c[a+12>>2]|0;do if((d|0)==(e|0)){g=c[a+4>>2]|0;f=c[a>>2]|0;if(g>>>0>f>>>0){k=g+((((g-f>>2)+1|0)/-2|0)<<2)|0;nBb(k|0,g|0,d-g|0)|0;c[a+8>>2]=k+(d-g>>2<<2);c[a+4>>2]=(c[a+4>>2]|0)+((((g-f>>2)+1|0)/-2|0)<<2);d=k+(d-g>>2<<2)|0;break}i=(e-f>>1|0)==0?1:e-f>>1;j=YAb(i<<2)|0;k=j+(i>>>2<<2)|0;if((g|0)==(d|0)){e=f;d=k}else{h=j+(i>>>2<<2)|0;f=g;e=k;while(1){c[h>>2]=c[f>>2];h=e+4|0;g=h;f=f+4|0;if((f|0)==(d|0))break;else e=g}e=c[a>>2]|0;d=g}c[a>>2]=j;c[a+4>>2]=k;c[a+8>>2]=d;c[a+12>>2]=j+(i<<2);if(e){oAb(e);d=c[a+8>>2]|0}}while(0);c[d>>2]=c[b>>2];c[a+8>>2]=(c[a+8>>2]|0)+4;return}function T2(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=c[a+4>>2]|0;e=c[a>>2]|0;do if((d|0)==(e|0)){j=c[a+8>>2]|0;f=c[a+12>>2]|0;if(j>>>0>>0){i=j+((((f-j>>2)+1|0)/2|0)<<2)+(0-(j-d>>2)<<2)|0;nBb(i|0,d|0,j-d|0)|0;c[a+4>>2]=i;c[a+8>>2]=(c[a+8>>2]|0)+((((f-j>>2)+1|0)/2|0)<<2);d=i;break}g=(f-e>>1|0)==0?1:f-e>>1;h=YAb(g<<2)|0;i=h+((g+3|0)>>>2<<2)|0;if((d|0)==(j|0))e=i;else{f=h+((g+3|0)>>>2<<2)|0;e=i;do{c[f>>2]=c[d>>2];f=e+4|0;e=f;d=d+4|0}while((d|0)!=(j|0));d=c[a>>2]|0}c[a>>2]=h;c[a+4>>2]=i;c[a+8>>2]=e;c[a+12>>2]=h+(g<<2);if(!d)d=h+((g+3|0)>>>2<<2)|0;else{oAb(d);d=c[a+4>>2]|0}}while(0);c[d+-4>>2]=c[b>>2];c[a+4>>2]=(c[a+4>>2]|0)+-4;return}function U2(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;e=i;i=i+16|0;QO(e,bP(a+8|0)|0);d=c[a+32>>2]|0;if(!d){a=0;SO(e);i=e;return a|0}f=c[a+28>>2]|0;c[b>>2]=c[(c[(c[a+16>>2]|0)+(f>>>10<<2)>>2]|0)+((f&1023)<<2)>>2];c[a+32>>2]=d+-1;c[a+28>>2]=f+1;if((f+1|0)>>>0<=2047){f=1;SO(e);i=e;return f|0}oAb(c[c[a+16>>2]>>2]|0);c[a+16>>2]=(c[a+16>>2]|0)+4;c[a+28>>2]=(c[a+28>>2]|0)+-1024;f=1;SO(e);i=e;return f|0}function V2(a){a=a|0;var b=0,d=0,e=0;c[a>>2]=22224;if(pAa()|0)cAa()|0;b=c[a+100>>2]|0;if(b|0){d=c[a+104>>2]|0;if((d|0)!=(b|0)){do{e=d+-12|0;c[a+104>>2]=e;Mqb(e);d=c[a+104>>2]|0}while((d|0)!=(b|0));b=c[a+100>>2]|0}oAb(b)}b=c[a+88>>2]|0;if(b|0){d=c[a+92>>2]|0;if((d|0)!=(b|0)){do{e=d+-12|0;c[a+92>>2]=e;Mqb(e);d=c[a+92>>2]|0}while((d|0)!=(b|0));b=c[a+88>>2]|0}oAb(b)}Mqb(a+72|0);Mqb(a+60|0);Mqb(a+48|0);Mqb(a+36|0);Mqb(a+24|0);Mqb(a+12|0);j4(a);return}function W2(a){a=a|0;V2(a);oAb(a);return}function X2(a){a=a|0;return 2}function Y2(a){a=a|0;return 363766}function Z2(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;if(!(Uza(b)|0)){a=nf(16)|0;c[d>>2]=Sza()|0;ds(a,593061,d);zc(a|0,96,27)}else{si[c[(c[a>>2]|0)+156>>2]&511](a,1);i=d;return}}function _2(b,c){b=b|0;c=c|0;if(a[b+85>>0]|0)return;a[b+84>>0]=c&1;a[b+85>>0]=1;return}function $2(b){b=b|0;if(!(a[b+85>>0]|0)){b=0;return b|0}b=(a[b+84>>0]|0)!=0;return b|0}function a3(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+96|0;if(!(pAa()|0)){b=0;i=n;return b|0}d=a[b+36>>0]|0;if(!(d&1))d=(d&255)>>>1;else d=c[b+40>>2]|0;if(!d){b=0;i=n;return b|0}e=a[b+60>>0]|0;if(!(e&1))d=(e&255)>>>1;else d=c[b+64>>2]|0;if(!d){b=0;i=n;return b|0}d=a[b+48>>0]|0;if(!(d&1))d=(d&255)>>>1;else d=c[b+52>>2]|0;if(!d){b=0;i=n;return b|0}f=(e&1)==0?(e&255)>>>1:c[b+64>>2]|0;a:do if(!f)d=0;else{e=(e&1)==0?b+60+1|0:c[b+68>>2]|0;d=0;while(1){switch(a[e+d>>0]|0){case 47:case 92:break a;default:{}}d=d+1|0;if(d>>>0>=f>>>0){d=0;break a}}}while(0);Kqb(n+72|0,b+60|0,0,d+1|0,b+60|0);d=a[b+60>>0]|0;f=(d&1)==0?(d&255)>>>1:c[b+64>>2]|0;b:do if(!f)d=0;else{e=(d&1)==0?b+60+1|0:c[b+68>>2]|0;d=0;while(1){switch(a[e+d>>0]|0){case 47:case 92:break b;default:{}}d=d+1|0;if(d>>>0>=f>>>0){d=0;break b}}}while(0);Kqb(n+60|0,b+60|0,d+1|0,-1,b+60|0);si[c[(c[b>>2]|0)+88>>2]&511](n+48|0,b);d=a[b+60>>0]|0;if(!(d&1)){d=(d&255)>>>1;l=b+60+1|0}else{d=c[b+64>>2]|0;l=c[b+68>>2]|0}j=a[n+48>>0]|0;h=(j&1)==0?n+48+1|0:c[n+48+8>>2]|0;j=(j&1)==0?(j&255)>>>1:c[n+48+4>>2]|0;c:do if(d>>>0>>0)m=36;else{if(!j)Mqb(n+48|0);else{k=l+d|0;if((d|0)<(j|0)){m=36;break}if((k+(1-j)|0)==(l|0)){m=36;break}e=a[h>>0]|0;d=l;d:while(1){if((a[d>>0]|0)==e<<24>>24){f=d;g=h;do{g=g+1|0;if((g|0)==(h+j|0))break d;f=f+1|0}while((a[f>>0]|0)==(a[g>>0]|0))}d=d+1|0;if((d|0)==(k+(1-j)|0)){m=36;break c}}if((d|0)==(k|0)){m=36;break}Mqb(n+48|0);if((d|0)!=(l|0))break}si[c[(c[b>>2]|0)+88>>2]&511](n+36|0,b);if(!(a[n+72>>0]&1)){a[n+72+1>>0]=0;a[n+72>>0]=0}else{a[c[n+72+8>>2]>>0]=0;c[n+72+4>>2]=0}Qqb(n+72|0,0);c[n+72>>2]=c[n+36>>2];c[n+72+4>>2]=c[n+36+4>>2];c[n+72+8>>2]=c[n+36+8>>2];c[n+36>>2]=0;c[n+36+4>>2]=0;c[n+36+8>>2]=0;Mqb(n+36|0);si[c[(c[b>>2]|0)+88>>2]&511](n+12|0,b);l=a[n+12>>0]|0;Kqb(n+24|0,b+60|0,(l&1)==0?(l&255)>>>1:c[n+12+4>>2]|0,-1,b+60|0);if(!(a[n+60>>0]&1)){a[n+60+1>>0]=0;a[n+60>>0]=0}else{a[c[n+60+8>>2]>>0]=0;c[n+60+4>>2]=0}Qqb(n+60|0,0);c[n+60>>2]=c[n+24>>2];c[n+60+4>>2]=c[n+24+4>>2];c[n+60+8>>2]=c[n+24+8>>2];c[n+24>>2]=0;c[n+24+4>>2]=0;c[n+24+8>>2]=0;Mqb(n+24|0);Mqb(n+12|0);e=a[n+60>>0]|0;f=(e&1)==0?n+60+1|0:c[n+60+8>>2]|0;e=(e&1)==0?(e&255)>>>1:c[n+60+4>>2]|0;if(e|0){d=f;while(1){if((a[d>>0]|0)!=47)break;d=d+1|0;if((d|0)==(f+e|0))break c}if((d-f|0)!=-1){Kqb(n,n+60|0,d-f|0,-1,n+60|0);if(!(a[n+60>>0]&1)){a[n+60+1>>0]=0;a[n+60>>0]=0}else{a[c[n+60+8>>2]>>0]=0;c[n+60+4>>2]=0}Qqb(n+60|0,0);c[n+60>>2]=c[n>>2];c[n+60+4>>2]=c[n+4>>2];c[n+60+8>>2]=c[n+8>>2];c[n>>2]=0;c[n+4>>2]=0;c[n+8>>2]=0;Mqb(n)}}}while(0);if((m|0)==36)Mqb(n+48|0);do if(!(eAa((a[n+72>>0]&1)==0?n+72+1|0:c[n+72+8>>2]|0)|0))d=0;else{if(!(Xi[c[(c[b>>2]|0)+124>>2]&511](b,(a[n+60>>0]&1)==0?n+60+1|0:c[n+60+8>>2]|0)|0)){eAa(0)|0;d=0;break}if(!(a[b+60>>0]&1))d=b+60+1|0;else d=c[b+68>>2]|0;if(!(eAa(d)|0))d=0;else{if(!(a[b+60>>0]&1))d=b+60+1|0;else d=c[b+68>>2]|0;if(!(tAa(d,0,0)|0)){eAa(0)|0;d=0}else d=1}}while(0);Mqb(n+60|0);Mqb(n+72|0);b=d;i=n;return b|0}function b3(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+128|0;if(!(pAa()|0)){e=0;i=f;return e|0}Hqb(f+108|0,b+60|0);Iqb(f+96|0,d,rnb(d)|0);if(!(a[b+36>>0]&1)){a[b+36+1>>0]=0;a[b+36>>0]=0}else{a[c[b+44>>2]>>0]=0;c[b+40>>2]=0}Qqb(b+36|0,0);c[b+36>>2]=c[f+96>>2];c[b+36+4>>2]=c[f+96+4>>2];c[b+36+8>>2]=c[f+96+8>>2];c[f+96>>2]=0;c[f+96+4>>2]=0;c[f+96+8>>2]=0;Mqb(f+96|0);Iqb(f+72|0,363789,5);d=a[b+36>>0]|0;d=Vqb(f+72|0,(d&1)==0?b+36+1|0:c[b+44>>2]|0,(d&1)==0?(d&255)>>>1:c[b+40>>2]|0)|0;c[f+84>>2]=c[d>>2];c[f+84+4>>2]=c[d+4>>2];c[f+84+8>>2]=c[d+8>>2];c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;if(!(a[b+48>>0]&1)){a[b+48+1>>0]=0;a[b+48>>0]=0}else{a[c[b+56>>2]>>0]=0;c[b+52>>2]=0}Qqb(b+48|0,0);c[b+48>>2]=c[f+84>>2];c[b+48+4>>2]=c[f+84+4>>2];c[b+48+8>>2]=c[f+84+8>>2];c[f+84>>2]=0;c[f+84+4>>2]=0;c[f+84+8>>2]=0;Mqb(f+84|0);Mqb(f+72|0);si[c[(c[b>>2]|0)+92>>2]&511](f+48|0,b);Iqb(f+36|0,520497,1);d=a[f+36>>0]|0;d=Vqb(f+48|0,(d&1)==0?f+36+1|0:c[f+36+8>>2]|0,(d&1)==0?(d&255)>>>1:c[f+36+4>>2]|0)|0;c[f+60>>2]=c[d>>2];c[f+60+4>>2]=c[d+4>>2];c[f+60+8>>2]=c[d+8>>2];c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;if(!(a[b+60>>0]&1)){a[b+60+1>>0]=0;a[b+60>>0]=0}else{a[c[b+68>>2]>>0]=0;c[b+64>>2]=0}Qqb(b+60|0,0);c[b+60>>2]=c[f+60>>2];c[b+60+4>>2]=c[f+60+4>>2];c[b+60+8>>2]=c[f+60+8>>2];c[f+60>>2]=0;c[f+60+4>>2]=0;c[f+60+8>>2]=0;Mqb(f+60|0);Mqb(f+36|0);Mqb(f+48|0);if(!(a[b+84>>0]|0)){d=a[b+48>>0]|0;Vqb(b+60|0,(d&1)==0?b+48+1|0:c[b+56>>2]|0,(d&1)==0?(d&255)>>>1:c[b+52>>2]|0)|0}else{Iqb(f+12|0,1279070,0);d=a[b+36>>0]|0;d=Vqb(f+12|0,(d&1)==0?b+36+1|0:c[b+44>>2]|0,(d&1)==0?(d&255)>>>1:c[b+40>>2]|0)|0;c[f+24>>2]=c[d>>2];c[f+24+4>>2]=c[d+4>>2];c[f+24+8>>2]=c[d+8>>2];c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;d=a[f+24>>0]|0;Vqb(b+60|0,(d&1)==0?f+24+1|0:c[f+24+8>>2]|0,(d&1)==0?(d&255)>>>1:c[f+24+4>>2]|0)|0;Mqb(f+24|0);Mqb(f+12|0)}c3(f,b+60|0);if(!(a[b+60>>0]&1)){a[b+60+1>>0]=0;a[b+60>>0]=0}else{a[c[b+68>>2]>>0]=0;c[b+64>>2]=0}Qqb(b+60|0,0);c[b+60>>2]=c[f>>2];c[b+60+4>>2]=c[f+4>>2];c[b+60+8>>2]=c[f+8>>2];c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;Mqb(f);d=a[f+108>>0]|0;if(((d&1)==0?(d&255)>>>1:c[f+108+4>>2]|0)|0)uAa((d&1)==0?f+108+1|0:c[f+108+8>>2]|0)|0;if(!(a[b+60>>0]&1))d=b+60+1|0;else d=c[b+68>>2]|0;tAa(d,0,e&1)|0;eAa(0)|0;Mqb(f+108|0);e=1;i=f;return e|0}function c3(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;k=i;i=i+160|0;c[k+8>>2]=9184;c[k>>2]=9388;c[k+64>>2]=9408;c[k+4>>2]=0;rsb(k+64|0,k+12|0);c[k+136>>2]=0;c[k+140>>2]=-1;c[k>>2]=9164;c[k+64>>2]=9204;c[k+8>>2]=9184;tsb(k+12|0);c[k+12>>2]=9220;c[k+44>>2]=0;c[k+44+4>>2]=0;c[k+44+8>>2]=0;c[k+44+12>>2]=0;c[k+60>>2]=24;c[k+144>>2]=0;c[k+144+4>>2]=0;c[k+144+8>>2]=0;dk(k+12|0,k+144|0);Mqb(k+144|0);e=a[d>>0]|0;f=c[d+4>>2]|0;if(!(((e&1)==0?(e&255)>>>1:f)|0)){gk(b,k+12|0);c[k>>2]=9164;c[k+64>>2]=9204;d=k+8|0;c[d>>2]=9184;c[k+12>>2]=9220;Mqb(k+44|0);urb(k+12|0);qrb(k+64|0);i=k;return}h=0;j=0;do{g=a[((e&1)==0?d+1|0:c[d+8>>2]|0)+h>>0]|0;l=j;j=g<<24>>24==47;if(!(l&j)){a[k+144>>0]=g;ek(k+8|0,k+144|0,1)|0;e=a[d>>0]|0;f=c[d+4>>2]|0}h=h+1|0}while(h>>>0<((e&1)==0?(e&255)>>>1:f)>>>0);gk(b,k+12|0);c[k>>2]=9164;c[k+64>>2]=9204;l=k+8|0;c[l>>2]=9184;c[k+12>>2]=9220;Mqb(k+44|0);urb(k+12|0);qrb(k+64|0);i=k;return}function d3(b){b=b|0;if(!(a[b+36>>0]&1)){b=b+36+1|0;return b|0}else{b=c[b+44>>2]|0;return b|0}return 0}function e3(b,d){b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if(!(pAa()|0)){b=0;i=f;return b|0}e=a[b+72>>0]|0;if(!(e&1))e=(e&255)>>>1;else e=c[b+76>>2]|0;if(e|0){b=0;i=f;return b|0}Iqb(f,d,rnb(d)|0);if(!(tAa((a[f>>0]&1)==0?f+1|0:c[f+8>>2]|0,0,1)|0))e=0;else{Nqb(b+72|0,f)|0;e=1}Mqb(f);b=e;i=f;return b|0}function f3(b){b=b|0;if(!(a[b+72>>0]&1)){b=b+72+1|0;return b|0}else{b=c[b+80>>2]|0;return b|0}return 0}function g3(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+32|0;if(!((d|0)!=0&(pAa()|0)!=0)){e=0;i=p;return e|0};c[p+12>>2]=0;c[p+12+4>>2]=0;c[p+12+8>>2]=0;si[c[(c[b>>2]|0)+100>>2]&511](p,b);g=c[b+100>>2]|0;h=c[b+104>>2]|0;if((g|0)==(h|0))o=7;else{while(1){if(!(erb(g,d)|0))break;g=g+12|0;if((g|0)==(h|0)){g=h;break}}if((g|0)==(c[b+104>>2]|0))o=7;else{Nqb(p+12|0,g)|0;o=25}}a:do if((o|0)==7){if(vi[c[(c[b>>2]|0)+32>>2]&2047](b)|0)if(!(erb(p,d)|0)){Nqb(p+12|0,p)|0;o=25;break}if(!(a[d>>0]|0))g=0;else if(!(pob(d,517032)|0))if(!(Imb(d,520497)|0))g=0;else{g=FAa(d)|0;if(!g)g=0;else{Rqb(p+12|0,g)|0;n=a[p+12>>0]|0;m=(n&1)==0?p+12+1|0:c[p+12+8>>2]|0;n=(n&1)==0?(n&255)>>>1:c[p+12+4>>2]|0;h=a[b+72>>0]|0;l=(h&1)==0?b+72+1|0:c[b+80>>2]|0;h=(h&1)==0?(h&255)>>>1:c[b+76>>2]|0;b:do if(n>>>0>=h>>>0){if(!h){g=0;break a}if((n|0)>=(h|0))if((m+n+(1-h)|0)!=(m|0)){b=a[l>>0]|0;g=m;c:while(1){if((a[g>>0]|0)==b<<24>>24){j=g;k=l;do{k=k+1|0;if((k|0)==(l+h|0))break c;j=j+1|0}while((a[j>>0]|0)==(a[k>>0]|0))}g=g+1|0;if((g|0)==(m+n+(1-h)|0))break b}if((g|0)!=(m+n|0)&(g|0)==(m|0)){g=0;break a}}}while(0);Wqb(p+12|0,520497)|0;Wqb(p+12|0,d)|0;o=25}}else g=0}while(0);if((o|0)==25){g=a[p+12>>0]|0;if(!(((g&1)==0?(g&255)>>>1:c[p+12+4>>2]|0)|0))g=0;else g=(tAa((g&1)==0?p+12+1|0:c[p+12+8>>2]|0,e,f&1)|0)!=0}Mqb(p);Mqb(p+12|0);e=g;i=p;return e|0}function h3(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+32|0;if(!((d|0)!=0&(pAa()|0)!=0)){d=0;i=g;return d|0};c[g+12>>2]=0;c[g+12+4>>2]=0;c[g+12+8>>2]=0;si[c[(c[b>>2]|0)+100>>2]&511](g,b);e=c[b+100>>2]|0;f=c[b+104>>2]|0;if((e|0)==(f|0))f=7;else{while(1){if(!(erb(e,d)|0))break;e=e+12|0;if((e|0)==(f|0)){e=f;break}}if((e|0)==(c[b+104>>2]|0))f=7;else{Nqb(g+12|0,e)|0;f=15}}do if((f|0)==7){if(vi[c[(c[b>>2]|0)+32>>2]&2047](b)|0)if(!(erb(g,d)|0)){Nqb(g+12|0,g)|0;f=15;break}if(!(a[d>>0]|0))e=0;else if(!(pob(d,517032)|0))if(!(Imb(d,520497)|0))e=0;else{e=FAa(d)|0;if(!e)e=0;else{Rqb(g+12|0,e)|0;Wqb(g+12|0,520497)|0;Wqb(g+12|0,d)|0;f=15}}else e=0}while(0);if((f|0)==15)if(!(vAa((a[g+12>>0]&1)==0?g+12+1|0:c[g+12+8>>2]|0)|0))e=0;else e=(uAa((a[g+12>>0]&1)==0?g+12+1|0:c[g+12+8>>2]|0)|0)!=0;Mqb(g);Mqb(g+12|0);d=e;i=g;return d|0}function i3(a,b){a=a|0;b=b|0;var c=0;c=i;i=i+16|0;a=YAb(40)|0;Iqb(c,b,rnb(b)|0);nva(a,c);Mqb(c);i=c;return a|0}function j3(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+16|0;a=YAb(48)|0;Iqb(f,e,rnb(e)|0);su(a,d,0,f);Mqb(f);mBb(vi[c[(c[a>>2]|0)+16>>2]&2047](a)|0,b|0,d|0)|0;i=f;return a|0}function k3(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=i;i=i+16|0;a=rnb(b)|0;c[e+12>>2]=0;a=Eua(b,a,e+12|0)|0;b=YAb(48)|0;f=c[e+12>>2]|0;Iqb(e,d,rnb(d)|0);su(b,f,((f|0)<0)<<31>>31,e);Mqb(e);d=vi[c[(c[b>>2]|0)+16>>2]&2047](b)|0;mBb(d|0,a|0,c[e+12>>2]|0)|0;if(!a){i=e;return b|0}aBb(a);i=e;return b|0}function l3(b){b=b|0;var d=0,e=0;d=a[b+12>>0]|0;if(!(d&1))e=(d&255)>>>1;else e=c[b+16>>2]|0;if(!e){d=_Ab(4096)|0;if(Qnb(d,4096)|0)Rqb(b+12|0,d)|0;aBb(d);d=a[b+12>>0]|0}if(!(d&1)){b=b+12+1|0;return b|0}else{b=c[b+20>>2]|0;return b|0}return 0}function m3(b,c){b=b|0;c=c|0;var d=0;c=i;i=i+16|0;if(!(a[621152]|0))if(se(621152)|0){d=rAa()|0;Iqb(c,d,rnb(d)|0);c3(629708,c);Mqb(c);fd(621152)}Hqb(b,629708);i=c;return}function n3(b,d){b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;e=a[d+24>>0]|0;if(!(e&1))e=(e&255)>>>1;else e=c[d+28>>2]|0;if(e|0){Hqb(b,d+24|0);i=f;return}si[c[(c[d>>2]|0)+88>>2]&511](f,d);if(!(a[d+24>>0]&1)){a[d+24+1>>0]=0;a[d+24>>0]=0}else{a[c[d+32>>2]>>0]=0;c[d+28>>2]=0}Qqb(d+24|0,0);c[d+24>>2]=c[f>>2];c[d+24+4>>2]=c[f+4>>2];c[d+24+8>>2]=c[f+8>>2];c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;Mqb(f);Hqb(b,d+24|0);i=f;return}function o3(b){b=b|0;if(!(a[b+60>>0]&1)){b=b+60+1|0;return b|0}else{b=c[b+68>>2]|0;return b|0}return 0}function p3(b,d){b=b|0;d=d|0;var e=0;e=a[d+72>>0]|0;if(!(e&1))e=(e&255)>>>1;else e=c[d+76>>2]|0;if(!e){Iqb(b,1279070,0);return}e=crb(d+72|0,47,e+-2|0)|0;switch(e|0){case -1:{Iqb(b,1279070,0);return}case 0:{e=1;break}default:{}}Kqb(b,d+72|0,0,e,d+72|0);return}function q3(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=i;i=i+16|0;if(!(pAa()|0)){a=nf(16)|0;ds(a,504324,d);zc(a|0,96,27)}b=FAa(c)|0;if(!b){a=nf(16)|0;ds(a,363795,d+8|0);zc(a|0,96,27)}else{Iqb(a,b,rnb(b)|0);i=d;return}}function r3(a,b){a=a|0;b=b|0;if(!(pAa()|0)){a=0;return a|0}a=(KAa(b)|0)!=0;return a|0}function s3(a,b){a=a|0;b=b|0;if(!(pAa()|0)){a=0;return a|0}a=(MAa(b)|0)!=0;return a|0}function t3(a,b){a=a|0;b=b|0;if(!(pAa()|0)){a=0;return a|0}if(!(KAa(b)|0)){a=0;return a|0}a=(Xi[c[(c[a>>2]|0)+112>>2]&511](a,b)|0)^1;return a|0}function u3(a,b){a=a|0;b=b|0;if(!(pAa()|0)){a=0;return a|0}a=(NAa(b)|0)!=0;return a|0}function v3(a,b){a=a|0;b=b|0;if(!(pAa()|0)){a=0;return a|0}if(!(sAa()|0))if(!(vi[c[(c[a>>2]|0)+36>>2]&2047](a)|0)){a=0;return a|0}a=(wAa(b)|0)!=0;return a|0}function w3(a,b){a=a|0;b=b|0;if(!(pAa()|0)){a=0;return a|0}if(!(sAa()|0))if(!(vi[c[(c[a>>2]|0)+36>>2]&2047](a)|0)){a=0;return a|0}a=(IAa(b)|0)!=0;return a|0}function x3(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+64|0;Iqb(f+40|0,b,rnb(b)|0);nva(f,f+40|0);Mqb(f+40|0);$ua(f,1)|0;a=Gi[c[(c[f>>2]|0)+32>>2]&255](f,d,e)|0;Zua(f);i=f;return a|0}function y3(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=i;i=i+64|0;Iqb(a+44|0,b,rnb(b)|0);nva(a,a+44|0);Mqb(a+44|0);$ua(a,2)|0;if(eva(a,c,d,e)|0){Zua(a);i=a;return}else{b=nf(16)|0;ds(b,363816,a+40|0);zc(b|0,96,27)}}function z3(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=i;i=i+64|0;Iqb(a+44|0,b,rnb(b)|0);nva(a,a+44|0);Mqb(a+44|0);$ua(a,3)|0;if(eva(a,c,d,e)|0){Zua(a);i=a;return}else{b=nf(16)|0;ds(b,363816,a+40|0);zc(b|0,96,27)}}function A3(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if(!(pAa()|0)){i=f;return}e=zAa(b)|0;if(!e){i=f;return}a=c[e>>2]|0;if(a|0){b=e;do{Iqb(f,a,rnb(a)|0);a=c[d+4>>2]|0;if(a>>>0<(c[d+8>>2]|0)>>>0){c[a>>2]=c[f>>2];c[a+4>>2]=c[f+4>>2];c[a+8>>2]=c[f+8>>2];c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[d+4>>2]=(c[d+4>>2]|0)+12}else hp(d,f);Mqb(f);b=b+4|0;a=c[b>>2]|0}while((a|0)!=0)}qAa(e);i=f;return}function B3(a,b){a=a|0;b=b|0;var c=0,d=0;c=i;i=i+16|0;if(!(pAa()|0)){a=-1;b=-1;C=a;i=c;return b|0}a=LAa(b)|0;b=C;if((a|0)==-1&(b|0)==-1){b=nf(16)|0;ds(b,363843,c);zc(b|0,96,27)}else{d=b;b=a;C=d;i=c;return b|0}return 0}function C3(a,b){a=a|0;b=b|0;var c=0;c=i;i=i+64|0;Iqb(c+40|0,b,rnb(b)|0);nva(c,c+40|0);Mqb(c+40|0);a=cva(c)|0;b=C;Zua(c);C=b;i=c;return a|0}function D3(b,c){b=b|0;c=c|0;b=i;i=i+16|0;if(!(pAa()|0)){i=b;return}if(!c){a[b>>0]=0;a[b+1>>0]=0;a[b+2>>0]=0;Tza(b);if((a[b>>0]|0)==2)if((a[b+1>>0]|0)==1){i=b;return}}GAa(c&1);i=b;return}function E3(a){a=a|0;if(!(pAa()|0)){a=0;return a|0}a=(HAa()|0)!=0;return a|0}function F3(a){a=a|0;return a+88|0}function G3(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=c[d+100>>2]|0;l=c[d+104>>2]|0;a:do if((f|0)==(l|0))m=12;else{k=a[e>>0]|0;j=(k&1)==0?(k&255)>>>1:c[e+4>>2]|0;k=(k&1)==0?e+1|0:c[e+8>>2]|0;do{g=b[f>>1]|0;do if((((g&1)==0?(g&254)>>>1:c[f+4>>2]|0)|0)==(j|0)){if(g&1)if(!(qmb(c[f+8>>2]|0,k,j)|0)){m=12;break a}else break;if(!j){m=12;break a}if(((g&65535)>>>8&255)<<24>>24==(a[k>>0]|0)){g=(g&254)>>>1;h=f+1|0;i=k;do{g=g+-1|0;h=h+1|0;if(!g){m=12;break a}i=i+1|0}while((a[h>>0]|0)==(a[i>>0]|0))}}while(0);f=f+12|0}while((f|0)!=(l|0))}while(0);if((m|0)==12)if((f|0)!=(l|0))return;if((l|0)==(c[d+108>>2]|0)){lv(d+100|0,e);return}else{Hqb(l,e);c[d+104>>2]=(c[d+104>>2]|0)+12;return}}function H3(a){a=a|0;var d=0,e=0,f=0;e=i;i=i+32|0;p4(a);c[a>>2]=22224;d=a+12|0;f=d+72|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(f|0));b[a+12+72>>1]=0;c[a+88>>2]=0;c[a+88+4>>2]=0;c[a+88+8>>2]=0;c[a+88+12>>2]=0;c[a+88+16>>2]=0;c[a+88+20>>2]=0;Iqb(e,363887,5);Iqb(e+12|0,363893,10);I3(a+88|0,e,e+24|0);Mqb(e+12|0);Mqb(e);i=e;return}function I3(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;f=c[a+8>>2]|0;e=c[a>>2]|0;if(((d-b|0)/12|0)>>>0<=((f-e|0)/12|0)>>>0){h=((c[a+4>>2]|0)-e|0)/12|0;g=((d-b|0)/12|0)>>>0>h>>>0?b+(h*12|0)|0:d;if((g|0)==(b|0))f=e;else{f=b;do{Nqb(e,f)|0;f=f+12|0;e=e+12|0}while((f|0)!=(g|0));f=e}if(((d-b|0)/12|0)>>>0<=h>>>0){e=c[a+4>>2]|0;if((e|0)==(f|0))return;do{d=e+-12|0;c[a+4>>2]=d;Mqb(d);e=c[a+4>>2]|0}while((e|0)!=(f|0));return}if((g|0)==(d|0))return;e=b+(h*12|0)|0;b=c[a+4>>2]|0;do{Hqb(b,e);b=(c[a+4>>2]|0)+12|0;c[a+4>>2]=b;e=e+12|0}while((e|0)!=(d|0));return}if(!e)e=f;else{f=c[a+4>>2]|0;if((f|0)!=(e|0)){do{h=f+-12|0;c[a+4>>2]=h;Mqb(h);f=c[a+4>>2]|0}while((f|0)!=(e|0));e=c[a>>2]|0}oAb(e);c[a+8>>2]=0;c[a+4>>2]=0;c[a>>2]=0;e=0}if(((d-b|0)/12|0)>>>0>357913941)jzb(a);f=(e-0|0)/12|0;if(f>>>0<178956970){e=f<<1>>>0>=((d-b|0)/12|0)>>>0;if(e|((d-b|0)/12|0)>>>0>357913941^1)g=e?f<<1:(d-b|0)/12|0;else jzb(a)}else g=357913941;e=YAb(g*12|0)|0;c[a+4>>2]=e;c[a>>2]=e;c[a+8>>2]=e+(g*12|0);if((b|0)==(d|0))return;do{Hqb(e,b);e=(c[a+4>>2]|0)+12|0;c[a+4>>2]=e;b=b+12|0}while((b|0)!=(d|0));return}function J3(a){a=a|0;var b=0;c[a>>2]=22412;if(c[a+24>>2]|0){b=c[a+20>>2]|0;if(b|0)if(!(_nb(b)|0)){c[a+24>>2]=0;c[a+20>>2]=0}}Mqb(a+8|0);_3(a);return}function K3(a){a=a|0;var b=0;c[a>>2]=22412;if(c[a+24>>2]|0){b=c[a+20>>2]|0;if(b|0)if(!(_nb(b)|0)){c[a+24>>2]=0;c[a+20>>2]=0}}Mqb(a+8|0);_3(a);oAb(a);return}function L3(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+16|0;if(!d){b=1;i=g;return b|0}if(c[b+20>>2]|0){b=0;i=g;return b|0}if(!(a[b+8>>0]&1))f=b+8+1|0;else f=c[b+16>>2]|0;switch(d|0){case 3:{e=363937;break}case 1:{e=527785;break}case 2:{e=606110;break}default:e=439717}e=Xnb(f,e)|0;c[b+20>>2]=e;if((d|0)==1&(e|0)==0){e=nf(16)|0;if(!(a[b+8>>0]&1)){b=b+8+1|0;c[g>>2]=b;ds(e,504351,g);zc(e|0,96,27)}else{b=c[b+16>>2]|0;c[g>>2]=b;ds(e,504351,g);zc(e|0,96,27)}}else{c[b+24>>2]=d;if(e|0)if(!(cj[c[(c[b>>2]|0)+64>>2]&127](b,c[b+28>>2]|0,c[b+32>>2]|0,c[b+32+4>>2]|0)|0)){c[b+28>>2]=0;c[b+32>>2]=0;c[b+32+4>>2]=0}b=(c[b+20>>2]|0)!=0;i=g;return b|0}return 0}function M3(a){a=a|0;var b=0;b=c[a+20>>2]|0;if(!b){a=0;return a|0}if(_nb(b)|0){a=0;return a|0}c[a+24>>2]=0;c[a+20>>2]=0;a=1;return a|0}function N3(a){a=a|0;if(!(c[a+24>>2]|0)){a=0;return a|0}a=(c[a+20>>2]|0)!=0;return a|0}function O3(b){b=b|0;var d=0,e=0;d=i;i=i+80|0;if(!(a[b+8>>0]&1))b=b+8+1|0;else b=c[b+16>>2]|0;e=(Onb(b,d)|0)==0;b=c[d+36>>2]|0;C=e?((b|0)<0)<<31>>31:-1;i=d;return (e?b:-1)|0}function P3(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;g=i;i=i+16|0;f=c[a+20>>2]|0;if(f|0)if((c[a+24>>2]|0)==1)if((e|0)<0){a=nf(16)|0;ds(a,504482,g+8|0);zc(a|0,96,27)}else{a=qpb(b,1,d,f)|0;C=0;i=g;return a|0}a=nf(16)|0;ds(a,504450,g);zc(a|0,96,27);return 0}function Q3(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;g=i;i=i+16|0;f=c[a+20>>2]|0;if(f|0)if((c[a+24>>2]&-2|0)==2)if((e|0)<0){a=nf(16)|0;ds(a,504533,g+8|0);zc(a|0,96,27)}else{a=(ppb(b,1,d,f)|0)==(d|0)&0==(e|0);i=g;return a|0}a=nf(16)|0;ds(a,504501,g);zc(a|0,96,27);return 0}function R3(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=c[a+20>>2]|0;if(b|0)if((c[a+24>>2]&-2|0)==2){a=($nb(b)|0)==0;i=d;return a|0}a=nf(16)|0;ds(a,504501,d);zc(a|0,96,27);return 0}function S3(a){a=a|0;a=c[a+20>>2]|0;if(!a){a=1;return a|0}a=(cob(a)|0)!=0;return a|0}function T3(a){a=a|0;var b=0;a=c[a+20>>2]|0;if(!a){a=-1;b=-1}else{b=tpb(a)|0;a=((b|0)<0)<<31>>31}C=a;return b|0}function U3(a,b,d){a=a|0;b=b|0;d=d|0;d=c[a+20>>2]|0;if(!d){b=0;return b|0}b=(lob(d,b,0)|0)==0;return b|0}function V3(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;if((e|0)<0){a=0;return a|0}f=(b|0)==0?0:d;d=(b|0)==0?0:e;if(!(vi[c[(c[a>>2]|0)+24>>2]&2047](a)|0)){c[a+28>>2]=b;c[a+32>>2]=f;c[a+32+4>>2]=d;a=1;return a|0}if(Apb(c[a+20>>2]|0,0,(b|0)==2?0:(b|0)==1?1:2,f)|0){a=0;return a|0}c[a+28>>2]=b;c[a+32>>2]=f;c[a+32+4>>2]=d;a=1;return a|0}function W3(a,b){a=a|0;b=b|0;var d=0;d=c[a+32+4>>2]|0;c[b>>2]=c[a+32>>2];c[b+4>>2]=d;return c[a+28>>2]|0}function X3(a){a=a|0;return c[a+24>>2]|0}function Y3(a){a=a|0;return a+8|0}function Z3(a,b){a=a|0;b=b|0;Jj(a);c[a>>2]=22412;Hqb(a+8|0,b);c[a+20>>2]=0;c[a+20+4>>2]=0;c[a+20+8>>2]=0;c[a+20+12>>2]=0;c[a+20+16>>2]=0;return}function _3(a){a=a|0;return}function $3(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;m=i;i=i+32|0;l=vi[c[(c[b>>2]|0)+24>>2]&2047](b)|0;if(!l)if(!(Xi[c[(c[b>>2]|0)+16>>2]&511](b,1)|0)){l=nf(16)|0;b=vi[c[(c[b>>2]|0)+76>>2]&2047](b)|0;c[m>>2]=(a[b>>0]&1)==0?b+1|0:c[b+8>>2]|0;ds(l,363965,m);zc(l|0,96,27)}j=vi[c[(c[b>>2]|0)+28>>2]&2047](b)|0;k=C;f=vi[c[(c[b>>2]|0)+56>>2]&2047](b)|0;g=C;h=(d|0)==-1&(e|0)==-1?j:d;d=(d|0)==-1&(e|0)==-1?k:e;if((d|0)<0){b=nf(16)|0;ds(b,504482,m+8|0);zc(b|0,96,27)}n=(g|0)<0?0:(g|0)>(k|0)|(g|0)==(k|0)&f>>>0>j>>>0?j:f;f=(g|0)<0?0:(g|0)>(k|0)|(g|0)==(k|0)&f>>>0>j>>>0?k:g;e=jBb(n|0,f|0,h|0,d|0)|0;g=C;f=qBb(j|0,k|0,n|0,f|0)|0;h=(g|0)>(k|0)|(g|0)==(k|0)&e>>>0>j>>>0?f:h;e=(g|0)>(k|0)|(g|0)==(k|0)&e>>>0>j>>>0?C:d;d=YAb(48)|0;su(d,h,e,vi[c[(c[b>>2]|0)+76>>2]&2047](b)|0);g=c[(c[b>>2]|0)+36>>2]|0;f=vi[c[(c[d>>2]|0)+16>>2]&2047](d)|0;f=cj[g&127](b,f,h,e)|0;g=C;if((g|0)<0){n=c[d>>2]|0;n=n+4|0;n=c[n>>2]|0;Hi[n&1023](d);n=nf(16)|0;ds(n,364255,m+16|0);zc(n|0,96,27)}if(!((f|0)!=0|(g|0)!=0|(f|0)==(h|0)&(g|0)==(e|0))){n=c[d>>2]|0;n=n+4|0;n=c[n>>2]|0;Hi[n&1023](d);n=nf(16)|0;ds(n,364255,m+16|0);zc(n|0,96,27)}if((g|0)<(e|0)|(g|0)==(e|0)&f>>>0>>0){n=YAb(48)|0;su(n,f,g,vi[c[(c[b>>2]|0)+76>>2]&2047](b)|0);k=vi[c[(c[n>>2]|0)+16>>2]&2047](n)|0;mBb(k|0,vi[c[(c[d>>2]|0)+16>>2]&2047](d)|0,f|0)|0;Hi[c[(c[d>>2]|0)+12>>2]&1023](d);d=n}if(l){i=m;return d|0}vi[c[(c[b>>2]|0)+20>>2]&2047](b)|0;i=m;return d|0}function a4(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=c[(c[a>>2]|0)+40>>2]|0;g=vi[c[(c[b>>2]|0)+16>>2]&2047](b)|0;if(!((d|0)==-1&(e|0)==-1)){b=e;a=cj[f&127](a,g,d,b)|0;return a|0}e=vi[c[(c[b>>2]|0)+20>>2]&2047](b)|0;b=0;a=cj[f&127](a,g,e,b)|0;return a|0}function b4(a,b){a=a|0;b=b|0;var d=0;b=vi[c[(c[b>>2]|0)+76>>2]&2047](b)|0;d=crb(b,46,-1)|0;if((d|0)==-1){c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;return}else{Kqb(a,b,d+1|0,-1,b);return}}function c4(){a[629728]=0;a[629740]=0;a[629752]=0;a[629764]=0;a[629776]=0;a[629788]=0;a[629800]=0;a[629812]=0;c[157454]=0;c[157455]=0;c[157456]=0;c[157457]=0;d4(629720,439717,0)|0;d4(629720,524337,1)|0;d4(629720,609551,2)|0;d4(629720,608043,3)|0;a[629840]=0;a[629852]=0;a[629864]=0;a[629876]=0;a[629888]=0;a[629900]=0;c[157476]=0;c[157477]=0;c[157478]=0;e4(629832,522333,0)|0;e4(629832,518843,1)|0;e4(629832,518838,2)|0;return}function d4(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;f=a[d>>0]|0;if(!(f<<24>>24))g=5381;else{h=d;g=5381;do{h=h+1|0;g=(g*33|0)+(f<<24>>24)|0;f=a[h>>0]|0}while(f<<24>>24!=0)}f=g&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+1&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+2&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+3&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+4&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+5&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+6&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+7&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else f=0}}}}}}}if((j|0)==5){a[f>>0]=1;c[b+(g*12|0)>>2]=d;c[b+(g*12|0)+4>>2]=e;f=1}if(e>>>0>3){c[k>>2]=d;c[k+4>>2]=e;vpb(441068,k)|0;j=0;i=k;return j|0}else{c[b+96+(e<<2)>>2]=d;j=f;i=k;return j|0}return 0}function e4(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;f=a[d>>0]|0;if(!(f<<24>>24))g=5381;else{h=d;g=5381;do{h=h+1|0;g=(g*33|0)+(f<<24>>24)|0;f=a[h>>0]|0}while(f<<24>>24!=0)}f=(g>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+1|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+2|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+3|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+4|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+5|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else f=0}}}}}if((j|0)==5){a[f>>0]=1;c[b+(g*12|0)>>2]=d;c[b+(g*12|0)+4>>2]=e;f=1}if(e>>>0>2){c[k>>2]=d;c[k+4>>2]=e;vpb(441068,k)|0;j=0;i=k;return j|0}else{c[b+72+(e<<2)>>2]=d;j=f;i=k;return j|0}return 0}function f4(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=a[b>>0]|0;if(!(e<<24>>24))f=5381;else{g=b;f=5381;do{g=g+1|0;f=(f*33|0)+(e<<24>>24)|0;e=a[g>>0]|0}while(e<<24>>24!=0)}j=0;while(1){i=j+f&7;if(!(a[629720+(i*12|0)+8>>0]|0)){e=1;f=0;k=11;break}g=c[629720+(i*12|0)>>2]|0;h=a[g>>0]|0;a:do if(!(h<<24>>24)){e=b;k=8}else{e=b;while(1){l=a[e>>0]|0;if(!(l<<24>>24?h<<24>>24==l<<24>>24:0))break a;g=g+1|0;e=e+1|0;h=a[g>>0]|0;if(!(h<<24>>24)){k=8;break}}}while(0);if((k|0)==8){k=0;if(!(a[e>>0]|0)){k=9;break}}j=j+1|0;if(j>>>0>=8){e=0;f=0;k=11;break}}if((k|0)==9){c[d>>2]=c[629720+(i*12|0)+4>>2];k=1;l=1;l=k&l;return l|0}else if((k|0)==11){l=e&f;return l|0}return 0}function g4(a,b){a=a|0;b=b|0;if(a>>>0>3)a=0;else{a=c[629816+(a<<2)>>2]|0;if(!a)a=0;else{c[b>>2]=a;a=1}}return a|0}function h4(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=a[b>>0]|0;if(!(e<<24>>24))f=5381;else{g=b;f=5381;do{g=g+1|0;f=(f*33|0)+(e<<24>>24)|0;e=a[g>>0]|0}while(e<<24>>24!=0)}j=0;while(1){i=((j+f|0)>>>0)%6|0;if(!(a[629832+(i*12|0)+8>>0]|0)){e=1;f=0;k=11;break}g=c[629832+(i*12|0)>>2]|0;h=a[g>>0]|0;a:do if(!(h<<24>>24)){e=b;k=8}else{e=b;while(1){l=a[e>>0]|0;if(!(l<<24>>24?h<<24>>24==l<<24>>24:0))break a;g=g+1|0;e=e+1|0;h=a[g>>0]|0;if(!(h<<24>>24)){k=8;break}}}while(0);if((k|0)==8){k=0;if(!(a[e>>0]|0)){k=9;break}}j=j+1|0;if(j>>>0>=6){e=0;f=0;k=11;break}}if((k|0)==9){c[d>>2]=c[629832+(i*12|0)+4>>2];k=1;l=1;l=k&l;return l|0}else if((k|0)==11){l=e&f;return l|0}return 0}function i4(a,b){a=a|0;b=b|0;if(a>>>0>2)a=0;else{a=c[629904+(a<<2)>>2]|0;if(!a)a=0;else{c[b>>2]=a;a=1}}return a|0}function j4(a){a=a|0;wj(a);return}function k4(a){a=a|0;wj(a);oAb(a);return}function l4(b,c){b=b|0;c=c|0;a[b+8>>0]=c&1;return}function m4(b){b=b|0;return (a[b+8>>0]|0)!=0|0}function n4(b,d){b=b|0;d=d|0;b=i;i=i+80|0;if(Onb((a[d>>0]&1)==0?d+1|0:c[d+8>>2]|0,b)|0){d=0;i=b;return d|0}d=(c[b+12>>2]&61440|0)==16384;i=b;return d|0}function o4(a,b){a=a|0;b=b|0;var c=0;c=i;i=i+2048|0;hBb(c|0,0,2048)|0;b=vob(514306,c,2048)|0;if((b|0)<1){Iqb(a,1279070,0);i=c;return}else{Iqb(a,c,b);i=c;return}}function p4(a){a=a|0;Jj(a);c[a>>2]=22504;return}function q4(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=22684;c[b+4>>2]=0;a=xs(a,6,364021,b)|0;i=b;return a|0}function r4(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;b=s4(a,1,5)|0;b=vi[c[(c[b>>2]|0)+28>>2]&2047](b)|0;d=C;if((b|0)==-1&(d|0)==-1){t4(a,364041,e)|0;a=2;i=e;return a|0}if((d|0)>2097151|(d|0)==2097151&b>>>0>4294967295){t4(a,364072,e+8|0)|0;a=2;i=e;return a|0}else{IDa(a,+(b>>>0)+4294967296.0*+(d|0));a=1;i=e;return a|0}return 0}function s4(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((qDa(a,b)|0)!=7){c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0}e=EDa(a,b)|0;if(c[(c[155773]|0)+(c[e>>2]<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0){d=e+4|0;d=c[d>>2]|0;i=f;return d|0}c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0;d=e+4|0;d=c[d>>2]|0;i=f;return d|0}function t4(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;c[e>>2]=d;HDa(a);MDa(a,b,e)|0;i=e;return 2}function u4(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;b=s4(a,1,5)|0;d=UGa(a,2,0)|0;if(f4(d,e+4|0)|0){gs(a,Xi[c[(c[b>>2]|0)+16>>2]&511](b,c[e+4>>2]|0)|0);a=1;i=e;return a|0}else{c[e>>2]=d;a=PGa(a,364091,e)|0;i=e;return a|0}return 0}function v4(a){a=a|0;var b=0;b=s4(a,1,5)|0;gs(a,vi[c[(c[b>>2]|0)+20>>2]&2047](b)|0);return 1}function w4(a){a=a|0;var b=0;b=s4(a,1,5)|0;gs(a,vi[c[(c[b>>2]|0)+24>>2]&2047](b)|0);return 1}function x4(a){a=a|0;var b=0,d=0,e=0.0;d=s4(a,1,5)|0;e=+$Ga(a,2,-1.0);b=+N(e)>=1.0?(e>0.0?~~+$(+M(e/4294967296.0),4294967295.0)>>>0:~~+Z((e-+(~~e>>>0))/4294967296.0)>>>0):0;b=Gi[c[(c[d>>2]|0)+32>>2]&255](d,~~e>>>0,b)|0;d=vi[c[(c[b>>2]|0)+16>>2]&2047](b)|0;KDa(a,d,vi[c[(c[b>>2]|0)+20>>2]&2047](b)|0);IDa(a,+((vi[c[(c[b>>2]|0)+20>>2]&2047](b)|0)>>>0));Hi[c[(c[b>>2]|0)+12>>2]&1023](b);return 2}function y4(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;f=i;i=i+16|0;b=s4(a,1,5)|0;do if(!(uDa(a,2)|0)){if(Hs(a,2,2)|0){d=c[(EDa(a,2)|0)+4>>2]|0;g=c[(c[b>>2]|0)+44>>2]|0;e=bHa(a,3,vi[c[(c[d>>2]|0)+20>>2]&2047](d)|0)|0;b=cj[g&127](b,d,e,((e|0)<0)<<31>>31)|0;break}g=OGa(a,2,364127)|0;i=f;return g|0}else{c[f>>2]=0;e=BDa(a,2,f)|0;if((qDa(a,3)|0)<1)d=c[f>>2]|0;else{d=aHa(a,3)|0;c[f>>2]=d}b=cj[c[(c[b>>2]|0)+40>>2]&127](b,e,d,0)|0}while(0);gs(a,b);g=1;i=f;return g|0}function z4(a){a=a|0;var b=0;b=s4(a,1,5)|0;gs(a,vi[c[(c[b>>2]|0)+48>>2]&2047](b)|0);return 1}function A4(a){a=a|0;var b=0;b=s4(a,1,5)|0;gs(a,vi[c[(c[b>>2]|0)+52>>2]&2047](b)|0);return 1}function B4(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;b=s4(a,1,5)|0;b=vi[c[(c[b>>2]|0)+56>>2]&2047](b)|0;d=C;if((b|0)==-1&(d|0)==-1){t4(a,364162,e)|0;a=2;i=e;return a|0}if((d|0)>2097151|(d|0)==2097151&b>>>0>4294967295){t4(a,364180,e+8|0)|0;a=2;i=e;return a|0}else{IDa(a,+(b>>>0)+4294967296.0*+(d|0));a=1;i=e;return a|0}return 0}function C4(a){a=a|0;var b=0,d=0.0,e=0;b=s4(a,1,5)|0;d=+_Ga(a,2);if(d<0.0|d>=9007199254740992.0){gs(a,0);return 1}else{e=+N(d)>=1.0?(d>0.0?~~+$(+M(d/4294967296.0),4294967295.0)>>>0:~~+Z((d-+(~~d>>>0))/4294967296.0)>>>0):0;gs(a,Gi[c[(c[b>>2]|0)+60>>2]&255](b,~~d>>>0,e)|0);return 1}return 0}function D4(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=s4(a,1,5)|0;IDa(a,0.0);gs(a,(vi[c[(c[b>>2]|0)+72>>2]&2047](b)|0)!=0);if((vi[c[(c[b>>2]|0)+72>>2]&2047](b)|0)!=1){if(vi[c[(c[b>>2]|0)+72>>2]&2047](b)|0)vi[c[(c[b>>2]|0)+20>>2]&2047](b)|0;if(!(Xi[c[(c[b>>2]|0)+16>>2]&511](b,1)|0)){a=PGa(a,364201,d)|0;i=d;return a|0}}ODa(a,1493,3);a=1;i=d;return a|0}function E4(b){b=b|0;var d=0,e=0.0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+1056|0;m=s4(b,-10003,5)|0;if((vi[c[(c[m>>2]|0)+72>>2]&2047](m)|0)!=1){b=PGa(b,364222,o)|0;i=o;return b|0}g=vi[c[(c[m>>2]|0)+56>>2]&2047](m)|0;d=C;if((qDa(b,-10004)|0)<1){n=-1;l=g;f=d;g=-1}else{e=+yDa(b,-10004);f=+N(e)>=1.0?(e>0.0?~~+$(+M(e/4294967296.0),4294967295.0)>>>0:~~+Z((e-+(~~e>>>0))/4294967296.0)>>>0):0;if((g|0)==(~~e>>>0|0)&(d|0)==(f|0)){n=d;l=g;f=d}else{Gi[c[(c[m>>2]|0)+60>>2]&255](m,~~e>>>0,f)|0;n=d;l=~~e>>>0}}a:do if(vi[c[(c[m>>2]|0)+52>>2]&2047](m)|0){d=0;k=13}else{d=0;b:while(1){h=cj[c[(c[m>>2]|0)+36>>2]&127](m,o+24|0,1024,0)|0;if((h|0)<0)break;if((h|0)>0){j=0;do{if((a[o+24+j>>0]|0)==10){k=14;break b}j=j+1|0}while((h|0)>(j|0))}d=h+d|0;if(vi[c[(c[m>>2]|0)+52>>2]&2047](m)|0){k=13;break a}}if((k|0)==14){h=j+d|0;break}b=PGa(b,364255,o+8|0)|0;i=o;return b|0}while(0);if((k|0)==13)if((d|0)>0&(vi[c[(c[m>>2]|0)+52>>2]&2047](m)|0))h=d;else{if((n|0)>-1|(n|0)==-1&g>>>0>4294967295)if(fs(b,-10005)|0){Gi[c[(c[m>>2]|0)+60>>2]&255](m,g,n)|0;b=0;i=o;return b|0}vi[c[(c[m>>2]|0)+20>>2]&2047](m)|0;b=0;i=o;return b|0}do if((h|0)<1024){if((h|0)>0){d=h+-1|0;if((a[o+24+d>>0]|0)!=13)k=18}else k=18;if((k|0)==18)d=h;KDa(b,o+24|0,d);if((n|0)<0){n=c[(c[m>>2]|0)+60>>2]|0;b=jBb(l|0,f|0,1,0)|0;b=jBb(b|0,C|0,h|0,((h|0)<0)<<31>>31|0)|0;Gi[n&255](m,b,C)|0;b=1;i=o;return b|0}else d=m}else{k=h+1|0;d=_Ab(k)|0;Gi[c[(c[m>>2]|0)+60>>2]&255](m,l,f)|0;k=cj[c[(c[m>>2]|0)+36>>2]&127](m,d,k,((k|0)<0)<<31>>31)|0;if((k|0)==-1&(C|0)==-1){aBb(d);b=PGa(b,364255,o+16|0)|0;i=o;return b|0}else{k=h+-1|0;KDa(b,d,(a[d+k>>0]|0)==13?k:h);aBb(d);if((n|0)>-1|(n|0)==-1&g>>>0>4294967295){d=m;break}else d=1;i=o;return d|0}}while(0);l=jBb(l|0,f|0,1,0)|0;l=jBb(l|0,C|0,h|0,((h|0)<0)<<31>>31|0)|0;IDa(b,+(l>>>0)+4294967296.0*+(C|0));oDa(b,-10004);Gi[c[(c[d>>2]|0)+60>>2]&255](m,g,n)|0;b=1;i=o;return b|0}function F4(a){a=a|0;var b=0,d=0,e=0.0,f=0;f=i;i=i+16|0;b=s4(a,1,5)|0;d=UGa(a,2,0)|0;e=+$Ga(a,3,0.0);if(h4(d,f+4|0)|0){d=+N(e)>=1.0?(e>0.0?~~+$(+M(e/4294967296.0),4294967295.0)>>>0:~~+Z((e-+(~~e>>>0))/4294967296.0)>>>0):0;gs(a,cj[c[(c[b>>2]|0)+64>>2]&127](b,c[f+4>>2]|0,~~e>>>0,d)|0);a=1;i=f;return a|0}else{c[f>>2]=d;a=PGa(a,364291,f)|0;i=f;return a|0}return 0}function G4(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;d=s4(a,1,5)|0;c[b>>2]=0;c[b+4>>2]=0;d=Xi[c[(c[d>>2]|0)+68>>2]&511](d,b)|0;c[b+12>>2]=0;if(i4(d,b+12|0)|0){LDa(a,c[b+12>>2]|0);IDa(a,+((c[b>>2]|0)>>>0)+4294967296.0*+(c[b+4>>2]|0));i=b;return 2}else{t4(a,364332,b+8|0)|0;i=b;return 2}return 0}function H4(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;d=s4(a,1,5)|0;d=vi[c[(c[d>>2]|0)+72>>2]&2047](d)|0;c[b+4>>2]=0;if(g4(d,b+4|0)|0){LDa(a,c[b+4>>2]|0);d=1;i=b;return d|0}else{t4(a,364366,b)|0;d=2;i=b;return d|0}return 0}function I4(a){a=a|0;var b=0;b=s4(a,1,5)|0;ks(a,vi[c[(c[b>>2]|0)+76>>2]&2047](b)|0);return 1}function J4(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;d=s4(a,1,5)|0;si[c[(c[d>>2]|0)+80>>2]&511](b,d);ks(a,b);Mqb(b);i=b;return 1}function K4(a,b){a=a|0;b=b|0;return s4(a,b,5)|0}function L4(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=22684;c[b+4>>2]=0;a=xs(a,5,364385,b)|0;i=b;return a|0}function M4(a,b){a=a|0;b=b|0;return ho(a,b,7)|0}function N4(b){b=b|0;var d=0;d=tu(ho(b,1,7)|0)|0;LDa(b,(a[d>>0]&1)==0?d+1|0:c[d+8>>2]|0);return 1}function O4(b){b=b|0;var d=0;d=uu(ho(b,1,7)|0)|0;LDa(b,(a[d>>0]&1)==0?d+1|0:c[d+8>>2]|0);return 1}function P4(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=12068;c[b+4>>2]=22820;c[b+8>>2]=0;a=xs(a,7,364390,b)|0;i=b;return a|0}function Q4(a){a=a|0;c[a>>2]=22852;GRa(c[a+8>>2]|0)|0;wj(a);return}function R4(a){a=a|0;c[a>>2]=22852;GRa(c[a+8>>2]|0)|0;wj(a);oAb(a);return}function S4(a){a=a|0;return 3}function T4(a){a=a|0;return 364451}function U4(b,d){b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if(d5(c[b+8>>2]|0,d)|0){e=cj[c[(c[b>>2]|0)+32>>2]&127](b,d,12,0)|0;i=f;return e|0}if(!(F5(d)|0)){e=nf(16)|0;b=tu(d)|0;c[f>>2]=(a[b>>0]&1)==0?b+1|0:c[b+8>>2]|0;ds(e,364470,f);zc(e|0,96,27)}e=c[(c[b>>2]|0)+36>>2]|0;c[f+4>>2]=0;c[f+4+4>>2]=0;c[f+4+8>>2]=0;d=Gi[e&255](b,d,f+4|0)|0;b=c[f+4>>2]|0;if(!b){e=d;i=f;return e|0}e=c[f+4+4>>2]|0;if((e|0)!=(b|0))c[f+4+4>>2]=e+(~((e+-4-b|0)>>>2)<<2);oAb(b);e=d;i=f;return e|0}function V4(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=YAb(36)|0;c5(f,c[a+8>>2]|0,b,d,e);return f|0}function W4(a){a=a|0;var b=0;b=i;i=i+16|0;Jj(a);c[a>>2]=22852;if(!(FRa(a+8|0)|0)){i=b;return}else{a=nf(16)|0;ds(a,364492,b);zc(a|0,96,27)}}function X4(a){a=a|0;var b=0;c[a>>2]=22916;eSa(c[a+24>>2]|0)|0;b=c[a+28>>2]|0;if(!b){y6(a);return}Hi[c[(c[b>>2]|0)+12>>2]&1023](b);y6(a);return}function Y4(a){a=a|0;X4(a);oAb(a);return}function Z4(a){a=a|0;return ~~(+(vi[c[(c[a>>2]|0)+16>>2]&2047](a)|0)*1.25)|0}function _4(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;m=i;i=i+80|0;switch(c[b+32>>2]|0){case 3:{f=2;break}case 1:{f=65536;break}case 2:{f=131072;break}default:f=0}l=c[b+24>>2]|0;f=RRa(l,TRa(l,e)|0,f)|0;if(f|0){l=nf(16)|0;c[m>>2]=f;ds(l,364619,m);zc(l|0,96,27)}f=CRa(c[(c[b+24>>2]|0)+84>>2]|0,m+48|0)|0;if(f|0){l=nf(16)|0;c[m+8>>2]=f;ds(l,364674,m+8|0);zc(l|0,96,27)}f=DRa(m+48|0,(c[b+32>>2]|0)==2?2:0,0,1)|0;if(f|0){l=nf(16)|0;c[m+16>>2]=f;ds(l,364728,m+16|0);zc(l|0,96,27)}j=c[m+48>>2]|0;g=c[j+20>>2]|0;h=c[j+24>>2]|0;n=c[j+28>>2]|0;k=j+28+4|0;f=c[k>>2]|0;b=c[j+12>>2]>>16;l=YAb(40)|0;c[m+28>>2]=n;c[m+28+4>>2]=f;c[m+28+8>>2]=b;c[m+28+12>>2]=g;c[m+28+16>>2]=h;c[m+52>>2]=c[m+28>>2];c[m+52+4>>2]=c[m+28+4>>2];c[m+52+8>>2]=c[m+28+8>>2];c[m+52+12>>2]=c[m+28+12>>2];c[m+52+16>>2]=c[m+28+16>>2];c6(l,e,m+52|0,0);e=c[j+28+12>>2]|0;h=vi[c[(c[l>>2]|0)+16>>2]&2047](l)|0;switch(a[j+28+18>>0]|0){case 1:{f=c[j+28>>2]|0;if((f|0)<=0){n=c[m+48>>2]|0;BRa(n);i=m;return l|0}b=c[k>>2]|0;g=0;while(1){if((b|0)>0){f=b;b=0;do{n=((d[e+((b|0)/8|0)>>0]&1<<7-((b|0)%8|0)|0)!=0)<<31>>31;a[h+((_(f,g)|0)+b<<1)>>0]=-1;a[h+((_(c[k>>2]|0,g)|0)+b<<1|1)>>0]=n;b=b+1|0;f=c[k>>2]|0}while((b|0)<(f|0));b=f;f=c[j+28>>2]|0}g=g+1|0;if((g|0)>=(f|0))break;else e=e+(c[j+28+8>>2]|0)|0}n=c[m+48>>2]|0;BRa(n);i=m;return l|0}case 2:{f=c[j+28>>2]|0;if((f|0)<=0){n=c[m+48>>2]|0;BRa(n);i=m;return l|0}b=c[k>>2]|0;g=0;while(1){if((b|0)>0){f=b;b=0;do{a[h+((_(f,g)|0)+b<<1)>>0]=-1;a[h+((_(c[k>>2]|0,g)|0)+b<<1|1)>>0]=a[e+b>>0]|0;b=b+1|0;f=c[k>>2]|0}while((b|0)<(f|0));b=f;f=c[j+28>>2]|0}g=g+1|0;if((g|0)>=(f|0))break;else e=e+(c[j+28+8>>2]|0)|0}n=c[m+48>>2]|0;BRa(n);i=m;return l|0}default:{Hi[c[(c[l>>2]|0)+4>>2]&1023](l);BRa(c[m+48>>2]|0);n=nf(16)|0;ds(n,364788,m+24|0);zc(n|0,96,27)}}return 0}function $4(a){a=a|0;return c[(c[a+24>>2]|0)+16>>2]|0}function a5(a,b){a=a|0;b=b|0;return (TRa(c[a+24>>2]|0,b)|0)!=0|0}function b5(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;c[e>>2]=0;c[e+4>>2]=0;nSa(c[a+24>>2]|0,b,d,0,e)|0;i=e;return +(+(c[e>>2]>>6|0))}function c5(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=i;i=i+32|0;Jj(a);c[a>>2]=22916;c[a+28>>2]=d;if(d|0)Hi[c[(c[d>>2]|0)+8>>2]&1023](d);c[a+32>>2]=f;if((e|0)<1){a=nf(16)|0;c[g>>2]=e;ds(a,364823,g);zc(a|0,96,27)}f=vi[c[(c[d>>2]|0)+16>>2]&2047](d)|0;d=cSa(b,f,vi[c[(c[d>>2]|0)+20>>2]&2047](d)|0,0,a+24|0)|0;if(d|0){a=nf(16)|0;c[g+8>>2]=d;ds(a,364854,g+8|0);zc(a|0,96,27)}d=mSa(c[a+24>>2]|0,e,e)|0;if(!d){d=c[(c[a+24>>2]|0)+88>>2]|0;f=c[d+24>>2]|0;b=c[d+28>>2]|0;e=c[d+32>>2]|0;c[a+8>>2]=c[d+36>>2]>>6;c[a+12>>2]=f>>6;c[a+16>>2]=b>>6;c[a+20>>2]=e>>6;i=g;return}else{a=nf(16)|0;c[g+16>>2]=d;ds(a,364934,g+16|0);zc(a|0,96,27)}}function d5(a,b){a=a|0;b=b|0;var d=0;d=vi[c[(c[b>>2]|0)+16>>2]&2047](b)|0;return (cSa(a,d,vi[c[(c[b>>2]|0)+20>>2]&2047](b)|0,-1,0)|0)==0|0}function e5(a){a=a|0;var b=0,d=0,e=0;c[a>>2]=22984;b=c[a+84>>2]|0;if(b|0)do{e=b;b=c[b>>2]|0;oAb(e)}while((b|0)!=0);b=c[a+76>>2]|0;c[a+76>>2]=0;if(b|0)oAb(b);b=c[a+64>>2]|0;if(b|0)do{e=b;b=c[b>>2]|0;oAb(e)}while((b|0)!=0);b=c[a+56>>2]|0;c[a+56>>2]=0;if(b|0)oAb(b);b=c[a+44>>2]|0;if(b|0)do{d=b;b=c[b>>2]|0;e=c[d+12>>2]|0;if(e|0)Hi[c[(c[e>>2]|0)+12>>2]&1023](e);oAb(d)}while((b|0)!=0);b=c[a+36>>2]|0;c[a+36>>2]=0;if(!b){e=a+24|0;Mqb(e);y6(a);return}oAb(b);e=a+24|0;Mqb(e);y6(a);return}function f5(a){a=a|0;e5(a);oAb(a);return}function g5(a){a=a|0;return c[a+104>>2]|0}function h5(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;m=i;i=i+64|0;f=c[a+60>>2]|0;a:do if(f|0){if(!(f+-1&f))e=f+-1&b;else e=(b>>>0)%(f>>>0)|0;d=c[(c[a+56>>2]|0)+(e<<2)>>2]|0;if(d|0){if(!(f+-1&f))while(1){d=c[d>>2]|0;if(!d)break a;if((c[d+4>>2]&f+-1|0)!=(e|0))break a;if((c[d+8>>2]|0)==(b|0)){j=d;break}}else while(1){d=c[d>>2]|0;if(!d)break a;if((((c[d+4>>2]|0)>>>0)%(f>>>0)|0|0)!=(e|0))break a;if((c[d+8>>2]|0)==(b|0)){j=d;break}}k=YAb(40)|0;l=j+24|0;c[m+40>>2]=c[l>>2];c[m+40+4>>2]=c[l+4>>2];c[m+40+8>>2]=c[l+8>>2];c[m+40+12>>2]=c[l+12>>2];c[m+40+16>>2]=c[l+16>>2];c6(k,b,m+40|0,1);e=c[j+20>>2]|0;f=c[a+40>>2]|0;b:do if(f|0){if(!(f+-1&f))g=f+-1&e;else g=(e>>>0)%(f>>>0)|0;d=c[(c[a+36>>2]|0)+(g<<2)>>2]|0;if(d|0){if(!(f+-1&f))do{d=c[d>>2]|0;if(!d)break b;if((c[d+4>>2]&f+-1|0)!=(g|0))break b}while((c[d+8>>2]|0)!=(e|0));else do{d=c[d>>2]|0;if(!d)break b;if((((c[d+4>>2]|0)>>>0)%(f>>>0)|0|0)!=(g|0))break b}while((c[d+8>>2]|0)!=(e|0));f=c[d+12>>2]|0;g=vi[c[(c[k>>2]|0)+16>>2]&2047](k)|0;a=vi[c[(c[f>>2]|0)+16>>2]&2047](f)|0;QO(m+40|0,cia(f)|0);if((c[l>>2]|0)>0){b=j+16|0;h=j+12|0;d=j+28|0;e=0;do{n=c[b>>2]|0;n=_(n+e|0,Xha(f)|0)|0;j=c[d>>2]|0;mBb(g+((_(j,e)|0)<<2)|0,a+((c[h>>2]|0)+n<<2)|0,j<<2|0)|0;e=e+1|0}while((e|0)<(c[l>>2]|0))}SO(m+40|0);n=k;i=m;return n|0}}while(0);Hi[c[(c[k>>2]|0)+12>>2]&1023](k);n=YAb(40)|0;c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;c[m+12>>2]=0;c[m+16>>2]=0;c[m+40>>2]=c[m>>2];c[m+40+4>>2]=c[m+4>>2];c[m+40+8>>2]=c[m+8>>2];c[m+40+12>>2]=c[m+12>>2];c[m+40+16>>2]=c[m+16>>2];c6(n,b,m+40|0,1);i=m;return n|0}}while(0);n=YAb(40)|0;c[m+20>>2]=0;c[m+20+4>>2]=0;c[m+20+8>>2]=0;c[m+20+12>>2]=0;c[m+20+16>>2]=0;c[m+40>>2]=c[m+20>>2];c[m+40+4>>2]=c[m+20+4>>2];c[m+40+8>>2]=c[m+20+8>>2];c[m+40+12>>2]=c[m+20+12>>2];c[m+40+16>>2]=c[m+20+16>>2];c6(n,b,m+40|0,1);i=m;return n|0}function i5(a){a=a|0;return c[a+68>>2]|0}function j5(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[a+60>>2]|0;a:do if(!d)a=0;else{if(!(d+-1&d))e=d+-1&b;else e=(b>>>0)%(d>>>0)|0;a=c[(c[a+56>>2]|0)+(e<<2)>>2]|0;if(!a)a=0;else if(!(d+-1&d))do{a=c[a>>2]|0;if(!a){a=0;break a}if((c[a+4>>2]&d+-1|0)!=(e|0)){a=0;break a}}while((c[a+8>>2]|0)!=(b|0));else do{a=c[a>>2]|0;if(!a){a=0;break a}if((((c[a+4>>2]|0)>>>0)%(d>>>0)|0|0)!=(e|0)){a=0;break a}}while((c[a+8>>2]|0)!=(b|0))}while(0);return (a|0)!=0|0}function k5(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0,g=0,h=0,i=0;h=_(d,1540483477)|0;f=_(b,1540483477)|0;f=(_((_(h>>>24^h,1540483477)|0)^-561034072,1540483477)|0)^(_(f>>>24^f,1540483477)|0);f=_(f>>>13^f,1540483477)|0;h=c[a+80>>2]|0;if(!h){e=0.0;return +e}if(!(h+-1&h))g=h+-1&(f>>>15^f);else g=((f>>>15^f)>>>0)%(h>>>0)|0;f=c[(c[a+76>>2]|0)+(g<<2)>>2]|0;if(!f){e=0.0;return +e}a:do if(!(h+-1&h)){while(1){f=c[f>>2]|0;if(!f){e=0.0;f=14;break}if((c[f+4>>2]&h+-1|0)!=(g|0)){e=0.0;f=14;break}if((c[f+8>>2]|0)==(d|0)?(c[f+8+4>>2]|0)==(b|0):0){i=f;break a}}if((f|0)==14)return +e}else{while(1){f=c[f>>2]|0;if(!f){e=0.0;f=14;break}if((((c[f+4>>2]|0)>>>0)%(h>>>0)|0|0)!=(g|0)){e=0.0;f=14;break}if((c[f+8>>2]|0)==(d|0)?(c[f+8+4>>2]|0)==(b|0):0){i=f;break a}}if((f|0)==14)return +e}while(0);e=+(c[i+16>>2]|0);return +e}function l5(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,h=0,j=0,k=0,l=0;l=i;i=i+32|0;Jj(b);c[b>>2]=22984;c[b+24>>2]=0;c[b+24+4>>2]=0;c[b+24+8>>2]=0;c[b+24+12>>2]=0;c[b+24+16>>2]=0;c[b+24+20>>2]=0;c[b+24+24>>2]=0;g[b+52>>2]=1.0;c[b+56>>2]=0;c[b+56+4>>2]=0;c[b+56+8>>2]=0;c[b+56+12>>2]=0;g[b+72>>2]=1.0;c[b+76>>2]=0;c[b+76+4>>2]=0;c[b+76+8>>2]=0;c[b+76+12>>2]=0;g[b+92>>2]=1.0;c[b+96>>2]=0;a[b+100>>0]=0;c[b+104>>2]=0;f=tu(d)|0;h=crb(f,47,-1)|0;if((h|0)!=-1){Kqb(l,f,0,h,f);if(!(a[b+24>>0]&1)){a[b+24+1>>0]=0;a[b+24>>0]=0}else{a[c[b+32>>2]>>0]=0;c[b+28>>2]=0}Qqb(b+24|0,0);c[b+24>>2]=c[l>>2];c[b+24+4>>2]=c[l+4>>2];c[b+24+8>>2]=c[l+8>>2];c[l>>2]=0;c[l+4>>2]=0;c[l+8>>2]=0;Mqb(l)}c[l+12>>2]=0;if(((c[e+4>>2]|0)-(c[e>>2]|0)|0)<=0){k=c[d>>2]|0;k=k+16|0;k=c[k>>2]|0;k=vi[k&2047](d)|0;e=c[d>>2]|0;e=e+20|0;e=c[e>>2]|0;e=vi[e&2047](d)|0;Iqb(l+12|0,k,e);q5(b,l+12|0);Mqb(l+12|0);i=l;return}h=0;do{f=m5(b+36|0,l+12|0)|0;j=c[(c[e>>2]|0)+(h<<2)>>2]|0;if(j|0){Hi[c[(c[j>>2]|0)+8>>2]&1023](j);Hi[c[(c[j>>2]|0)+8>>2]&1023](j)}k=c[f>>2]|0;if(k|0)Hi[c[(c[k>>2]|0)+12>>2]&1023](k);c[f>>2]=j;if(j|0)Hi[c[(c[j>>2]|0)+12>>2]&1023](j);h=h+1|0;c[l+12>>2]=h}while((h|0)<((c[e+4>>2]|0)-(c[e>>2]|0)>>2|0));k=c[d>>2]|0;k=k+16|0;k=c[k>>2]|0;k=vi[k&2047](d)|0;e=c[d>>2]|0;e=e+20|0;e=c[e>>2]|0;e=vi[e&2047](d)|0;Iqb(l+12|0,k,e);q5(b,l+12|0);Mqb(l+12|0);i=l;return}function m5(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;d=c[b>>2]|0;f=c[a+4>>2]|0;a:do if(f|0){if(!(f+-1&f))e=f+-1&d;else e=(d>>>0)%(f>>>0)|0;b=c[(c[a>>2]|0)+(e<<2)>>2]|0;if(b|0)if(!(f+-1&f)){do{b=c[b>>2]|0;if(!b)break a;if((c[b+4>>2]&f+-1|0)!=(e|0))break a}while((c[b+8>>2]|0)!=(d|0));a=b+12|0;i=g;return a|0}else{do{b=c[b>>2]|0;if(!b)break a;if((((c[b+4>>2]|0)>>>0)%(f>>>0)|0|0)!=(e|0))break a}while((c[b+8>>2]|0)!=(d|0));a=b+12|0;i=g;return a|0}}while(0);f=YAb(16)|0;c[f+8>>2]=d;c[f+12>>2]=0;n5(g,a,f);a=c[g>>2]|0;a=a+12|0;i=g;return a|0}function n5(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,h=0,i=0.0,j=0.0,k=0,l=0;k=c[e+8>>2]|0;c[e+4>>2]=k;l=c[d+4>>2]|0;a:do if(!l)h=0;else{if(!(l+-1&l))h=l+-1&k;else h=(k>>>0)%(l>>>0)|0;f=c[(c[d>>2]|0)+(h<<2)>>2]|0;if(f)if(!(l+-1&l)){while(1){f=c[f>>2]|0;if(!f)break a;if((c[f+4>>2]&l+-1|0)!=(h|0))break a;if((c[f+8>>2]|0)==(k|0)){h=0;break}}d=f;c[b>>2]=d;b=b+4|0;a[b>>0]=h;return}else{while(1){f=c[f>>2]|0;if(!f)break a;if((((c[f+4>>2]|0)>>>0)%(l>>>0)|0|0)!=(h|0))break a;if((c[f+8>>2]|0)==(k|0)){h=0;break}}d=f;c[b>>2]=d;b=b+4|0;a[b>>0]=h;return}}while(0);i=+(((c[d+12>>2]|0)+1|0)>>>0);j=+g[d+16>>2];do if((l|0)==0|i>+(l>>>0)*j){if(l>>>0>2)f=(l+-1&l|0)==0;else f=0;f=(f&1|l<<1)^1;h=~~+Z(+(i/j))>>>0;o5(d,f>>>0>>0?h:f);f=c[d+4>>2]|0;h=c[e+4>>2]|0;if(!(f+-1&f)){k=f;h=f+-1&h;break}else{k=f;h=(h>>>0)%(f>>>0)|0;break}}else k=l;while(0);f=c[(c[d>>2]|0)+(h<<2)>>2]|0;if(!f){c[e>>2]=c[d+8>>2];c[d+8>>2]=e;c[(c[d>>2]|0)+(h<<2)>>2]=d+8;f=c[e>>2]|0;if(f|0){f=c[f+4>>2]|0;h=k+-1|0;if(!(h&k))f=f&h;else f=(f>>>0)%(k>>>0)|0;c[(c[d>>2]|0)+(f<<2)>>2]=e}}else{c[e>>2]=c[f>>2];c[f>>2]=e}c[d+12>>2]=(c[d+12>>2]|0)+1;d=1;c[b>>2]=e;b=b+4|0;a[b>>0]=d;return}function o5(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if((b|0)==1)b=2;else if(b+-1&b)b=Eqb(b)|0;f=c[a+4>>2]|0;if(b>>>0>f>>>0){p5(a,b);return}if(b>>>0>=f>>>0)return;if(f>>>0>2)e=(f+-1&f|0)==0;else e=0;d=~~+Z(+(+((c[a+12>>2]|0)>>>0)/+g[a+16>>2]))>>>0;if(e)d=1<<32-(aa(d+-1|0)|0);else d=Eqb(d)|0;b=b>>>0>>0?d:b;if(b>>>0>=f>>>0)return;p5(a,b);return}function p5(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;if(!b){d=c[a>>2]|0;c[a>>2]=0;if(d|0)oAb(d);c[a+4>>2]=0;return}k=YAb(b<<2)|0;d=c[a>>2]|0;c[a>>2]=k;if(d|0)oAb(d);c[a+4>>2]=b;d=0;do{c[(c[a>>2]|0)+(d<<2)>>2]=0;d=d+1|0}while((d|0)!=(b|0));f=c[a+8>>2]|0;if(!f)return;d=c[f+4>>2]|0;if(!(b+-1&b))e=d&b+-1;else e=(d>>>0)%(b>>>0)|0;c[(c[a>>2]|0)+(e<<2)>>2]=a+8;d=c[f>>2]|0;if(!d)return;else g=f;a:while(1){b:do if(!(b+-1&b)){k=g;j=f;while(1){while(1){i=c[d+4>>2]&b+-1;if((i|0)==(e|0)){f=d;break}f=(c[a>>2]|0)+(i<<2)|0;if(!(c[f>>2]|0)){e=i;h=d;d=j;break b}h=d+8|0;f=d;while(1){g=c[f>>2]|0;if(!g)break;if((c[h>>2]|0)==(c[g+8>>2]|0))f=g;else break}c[j>>2]=g;c[f>>2]=c[c[(c[a>>2]|0)+(i<<2)>>2]>>2];c[c[(c[a>>2]|0)+(i<<2)>>2]>>2]=d;d=c[k>>2]|0;if(!d){d=32;break a}}d=c[f>>2]|0;if(!d){d=32;break a}else{k=f;j=f}}}else{k=g;j=f;while(1){while(1){i=((c[d+4>>2]|0)>>>0)%(b>>>0)|0;if((i|0)==(e|0)){f=d;break}f=(c[a>>2]|0)+(i<<2)|0;if(!(c[f>>2]|0)){e=i;h=d;d=j;break b}h=d+8|0;f=d;while(1){g=c[f>>2]|0;if(!g)break;if((c[h>>2]|0)==(c[g+8>>2]|0))f=g;else break}c[j>>2]=g;c[f>>2]=c[c[(c[a>>2]|0)+(i<<2)>>2]>>2];c[c[(c[a>>2]|0)+(i<<2)>>2]>>2]=d;d=c[k>>2]|0;if(!d){d=32;break a}}d=c[f>>2]|0;if(!d){d=32;break a}else{k=f;j=f}}}while(0);c[f>>2]=d;d=c[h>>2]|0;if(!d){d=32;break}else{g=h;f=h}}if((d|0)==32)return}function q5(b,d){b=b|0;d=d|0;var e=0,f=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;x=i;i=i+320|0;s=x+128+64|0;c[x+128+8>>2]=9184;w=x+128+12|0;c[x+128>>2]=9388;c[s>>2]=9408;c[x+128+4>>2]=0;rsb(x+128+64|0,w);c[x+128+136>>2]=0;c[x+128+140>>2]=-1;c[x+128>>2]=9164;c[s>>2]=9204;c[x+128+8>>2]=9184;tsb(w);c[w>>2]=9220;r=x+128+44|0;c[r>>2]=0;c[r+4>>2]=0;c[r+8>>2]=0;c[r+12>>2]=0;c[x+128+60>>2]=24;dk(w,d);c[x+112>>2]=0;c[x+112+4>>2]=0;c[x+112+8>>2]=0;n=x+80+12|0;a:while(1){c[x+308>>2]=ssb(x+128+(c[(c[x+128>>2]|0)+-12>>2]|0)|0)|0;m=Usb(x+308|0,1203596)|0;m=Xi[c[(c[m>>2]|0)+28>>2]&511](m,10)|0;bAb(x+308|0);m=kv(x+128|0,x+112|0,m)|0;if(c[m+(c[(c[m>>2]|0)+-12>>2]|0)+16>>2]&5|0){d=141;break};c[x+80>>2]=0;c[x+80+4>>2]=0;c[x+80+8>>2]=0;c[x+80+12>>2]=0;c[x+80+16>>2]=0;c[x+80+20>>2]=0;c[x+80+24>>2]=0;g[x+80+28>>2]=1.0;Kqb(x+308|0,x+112|0,0,brb(x+112|0,32,0)|0,x+112|0);if(!(a[x+80>>0]&1)){a[x+80+1>>0]=0;a[x+80>>0]=0}else{a[c[x+80+8>>2]>>0]=0;c[x+80+4>>2]=0}Qqb(x+80|0,0);c[x+80>>2]=c[x+308>>2];c[x+80+4>>2]=c[x+308+4>>2];c[x+80+8>>2]=c[x+308+8>>2];c[x+308>>2]=0;c[x+308+4>>2]=0;c[x+308+8>>2]=0;Mqb(x+308|0);m=a[x+112>>0]|0;b:do if(((m&1)==0?(m&255)>>>1:c[x+112+4>>2]|0)|0){d=0;do{e=brb(x+112|0,61,d)|0;if((e|0)==-1)break b;m=a[x+112>>0]|0;if((e+1|0)>>>0>=((m&1)==0?(m&255)>>>1:c[x+112+4>>2]|0)>>>0)break b;d=crb(x+112|0,32,e)|0;if((d|0)==-1)break b;Kqb(x,x+112|0,d+1|0,e-(d+1)|0,x+112|0);if((a[((a[x+112>>0]&1)==0?x+112+1|0:c[x+112+8>>2]|0)+(e+1)>>0]|0)==34){d=brb(x+112|0,34,e+2|0)|0;f=e+2|0}else{d=brb(x+112|0,32,e+2|0)|0;f=e+1|0}d=d+-1|0;e=a[x+112>>0]|0;e=((e&1)==0?(e&255)>>>1:c[x+112+4>>2]|0)+-1|0;d=e>>>0>>0?e:d;e=r5(x+80+12|0,x)|0;Kqb(x+272|0,x+112|0,f,1-f+d|0,x+112|0);if(!(a[e>>0]&1)){a[e+1>>0]=0;a[e>>0]=0}else{a[c[e+8>>2]>>0]=0;c[e+4>>2]=0}Qqb(e,0);c[e>>2]=c[x+272>>2];c[e+4>>2]=c[x+272+4>>2];c[e+8>>2]=c[x+272+8>>2];c[x+272>>2]=0;c[x+272+4>>2]=0;c[x+272+8>>2]=0;Mqb(x+272|0);d=d+1|0;Mqb(x);m=a[x+112>>0]|0}while(d>>>0<((m&1)==0?(m&255)>>>1:c[x+112+4>>2]|0)>>>0)}while(0);do if(!(erb(x+80|0,365042)|0)){Iqb(x+308|0,365047,4);d=w5(n,x+308|0)|0;Mqb(x+308|0);if(!d)d=0;else{if(!(a[d+20>>0]&1))d=d+20+1|0;else d=c[d+28>>2]|0;d=gmb(d,0,10)|0}c[b+96>>2]=d;Iqb(x+308|0,365052,7);d=w5(n,x+308|0)|0;Mqb(x+308|0);if(!d)d=0;else{if(!(a[d+20>>0]&1))d=d+20+1|0;else d=c[d+28>>2]|0;d=gmb(d,0,10)|0}a[b+100>>0]=(d|0)>0&1}else{if(!(erb(x+80|0,365060)|0)){Iqb(x+308|0,365067,10);d=w5(n,x+308|0)|0;Mqb(x+308|0);if(!d)d=0;else{if(!(a[d+20>>0]&1))d=d+20+1|0;else d=c[d+28>>2]|0;d=gmb(d,0,10)|0}c[b+104>>2]=d;Iqb(x+308|0,365078,4);d=w5(n,x+308|0)|0;Mqb(x+308|0);if(!d)d=0;else{if(!(a[d+20>>0]&1))d=d+20+1|0;else d=c[d+28>>2]|0;d=gmb(d,0,10)|0}c[b+12>>2]=d;break}if(!(erb(x+80|0,365083)|0)){Iqb(x+308|0,594828,2);d=w5(n,x+308|0)|0;Mqb(x+308|0);if(!d)d=0;else{if(!(a[d+20>>0]&1))d=d+20+1|0;else d=c[d+28>>2]|0;d=gmb(d,0,10)|0}c[x>>2]=d;Iqb(x+308|0,518996,4);d=w5(n,x+308|0)|0;Mqb(x+308|0);if(!d)Iqb(x+272|0,1279070,0);else Hqb(x+272|0,d+20|0);d=a[b+24>>0]|0;if(!(d&1))e=(d&255)>>>1;else e=c[b+28>>2]|0;if(e|0){c[x+284>>2]=0;c[x+284+4>>2]=0;c[x+284+8>>2]=0;m=(d&1)==0?(d&255)>>>1:c[b+28>>2]|0;frb(x+284|0,(d&1)==0?b+24+1|0:c[b+32>>2]|0,m,m+1|0);Vqb(x+284|0,520497,1)|0;m=a[x+272>>0]|0;m=Vqb(x+284|0,(m&1)==0?x+272+1|0:c[x+272+8>>2]|0,(m&1)==0?(m&255)>>>1:c[x+272+4>>2]|0)|0;c[x+296>>2]=c[m>>2];c[x+296+4>>2]=c[m+4>>2];c[x+296+8>>2]=c[m+8>>2];c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;if(!(a[x+272>>0]&1)){a[x+272+1>>0]=0;a[x+272>>0]=0}else{a[c[x+272+8>>2]>>0]=0;c[x+272+4>>2]=0}Qqb(x+272|0,0);c[x+272>>2]=c[x+296>>2];c[x+272+4>>2]=c[x+296+4>>2];c[x+272+8>>2]=c[x+296+8>>2];c[x+296>>2]=0;c[x+296+4>>2]=0;c[x+296+8>>2]=0;Mqb(x+296|0);Mqb(x+284|0)}do if(!(c[(m5(b+36|0,x)|0)>>2]|0)){d=c[155674]|0;e=c[155677]|0;if(!d){d=60;break a}if(!e){d=62;break a}f=cj[c[(c[d>>2]|0)+132>>2]&127](d,(a[x+272>>0]&1)==0?x+272+1|0:c[x+272+8>>2]|0,-1,-1)|0;if(f|0)Hi[c[(c[f>>2]|0)+8>>2]&1023](f);Hi[c[(c[f>>2]|0)+12>>2]&1023](f);h=m5(b+36|0,x)|0;d=Xi[c[(c[e>>2]|0)+24>>2]&511](e,f)|0;if(d|0)Hi[c[(c[d>>2]|0)+8>>2]&1023](d);e=c[h>>2]|0;if(e|0)Hi[c[(c[e>>2]|0)+12>>2]&1023](e);c[h>>2]=d;m=c[(m5(b+36|0,x)|0)>>2]|0;Hi[c[(c[m>>2]|0)+12>>2]&1023](m);if(!f)break;Hi[c[(c[f>>2]|0)+12>>2]&1023](f)}while(0);Mqb(x+272|0);break}if(erb(x+80|0,519717)|0){if(erb(x+80|0,591072)|0)break;Iqb(x+308|0,365168,5);d=w5(n,x+308|0)|0;Mqb(x+308|0);if(!d)e=0;else{if(!(a[d+20>>0]&1))d=d+20+1|0;else d=c[d+28>>2]|0;e=gmb(d,0,10)|0}Iqb(x+308|0,365174,6);d=w5(n,x+308|0)|0;Mqb(x+308|0);if(!d)d=0;else{if(!(a[d+20>>0]&1))d=d+20+1|0;else d=c[d+28>>2]|0;d=gmb(d,0,10)|0}c[x>>2]=d;c[x+4>>2]=e;Iqb(x+308|0,365181,6);d=w5(n,x+308|0)|0;Mqb(x+308|0);if(!d)d=0;else{if(!(a[d+20>>0]&1))d=d+20+1|0;else d=c[d+28>>2]|0;d=gmb(d,0,10)|0}c[(B5(b+76|0,x)|0)>>2]=d;break}Iqb(x+308|0,594828,2);d=w5(n,x+308|0)|0;Mqb(x+308|0);if(!d)d=0;else{if(!(a[d+20>>0]&1))d=d+20+1|0;else d=c[d+28>>2]|0;d=gmb(d,0,10)|0}c[x>>2]=d;Iqb(x+308|0,608047,1);d=w5(n,x+308|0)|0;Mqb(x+308|0);if(!d)m=0;else{if(!(a[d+20>>0]&1))d=d+20+1|0;else d=c[d+28>>2]|0;m=gmb(d,0,10)|0}Iqb(x+308|0,608049,1);d=w5(n,x+308|0)|0;Mqb(x+308|0);if(!d)l=0;else{if(!(a[d+20>>0]&1))d=d+20+1|0;else d=c[d+28>>2]|0;l=gmb(d,0,10)|0}Iqb(x+308|0,365083,4);d=w5(n,x+308|0)|0;Mqb(x+308|0);if(!d)k=0;else{if(!(a[d+20>>0]&1))d=d+20+1|0;else d=c[d+28>>2]|0;k=gmb(d,0,10)|0}Iqb(x+308|0,607135,5);d=w5(n,x+308|0)|0;Mqb(x+308|0);if(!d)j=0;else{if(!(a[d+20>>0]&1))d=d+20+1|0;else d=c[d+28>>2]|0;j=gmb(d,0,10)|0}Iqb(x+308|0,607141,6);d=w5(n,x+308|0)|0;Mqb(x+308|0);if(!d)h=0;else{if(!(a[d+20>>0]&1))d=d+20+1|0;else d=c[d+28>>2]|0;h=gmb(d,0,10)|0}Iqb(x+308|0,365143,7);d=w5(n,x+308|0)|0;Mqb(x+308|0);if(!d)f=0;else{if(!(a[d+20>>0]&1))d=d+20+1|0;else d=c[d+28>>2]|0;f=gmb(d,0,10)|0}Iqb(x+308|0,365151,7);d=w5(n,x+308|0)|0;Mqb(x+308|0);if(!d)d=0;else{if(!(a[d+20>>0]&1))d=d+20+1|0;else d=c[d+28>>2]|0;d=gmb(d,0,10)|0}e=0-d|0;Iqb(x+308|0,365159,8);d=w5(n,x+308|0)|0;Mqb(x+308|0);if(!d)d=0;else{if(!(a[d+20>>0]&1))d=d+20+1|0;else d=c[d+28>>2]|0;d=gmb(d,0,10)|0}y=x5(b+56|0,x)|0;c[y>>2]=m;c[y+4>>2]=l;c[y+8>>2]=k;c[y+12>>2]=h;c[y+16>>2]=j;c[y+20>>2]=d;c[y+24>>2]=f;c[y+28>>2]=e}while(0);d=c[x+80+20>>2]|0;if(d|0)do{y=d;d=c[d>>2]|0;Mqb(y+20|0);Mqb(y+8|0);oAb(y)}while((d|0)!=0);d=c[x+80+12>>2]|0;c[x+80+12>>2]=0;if(d|0)oAb(d);Mqb(x+80|0)}if((d|0)==60){y=nf(16)|0;ds(y,365088,x+16|0);zc(y|0,96,27)}else if((d|0)==62){y=nf(16)|0;ds(y,365118,x+24|0);zc(y|0,96,27)}else if((d|0)==141){if(!(c[b+68>>2]|0)){y=nf(16)|0;ds(y,365188,x+32|0);zc(y|0,96,27)}d=c[b+64>>2]|0;if(!d){v=c[b+104>>2]|0;y=b+20|0;c[y>>2]=v;Mqb(x+112|0);c[x+128>>2]=9164;c[s>>2]=9204;y=x+128+8|0;c[y>>2]=9184;c[w>>2]=9220;Mqb(r);urb(w);qrb(s);i=x;return}if(!(c[b+104>>2]|0)){while(1){e=d;f=c[e+28>>2]|0;h=c[e+24>>2]|0;if(!(a[b+100>>0]|0))if((c[e+8>>2]|0)>>>0>127){d=158;break}if((c[e+20>>2]|0)<0){o=e+20|0;d=161;break}if(!(c[(m5(b+36|0,e+20|0)|0)>>2]|0)){o=e+20|0;d=161;break}j=c[(m5(b+36|0,e+20|0)|0)>>2]|0;if(!(Zha(j,c[e+12>>2]|0,c[e+16>>2]|0)|0)){t=e;d=163;break}if((f|0)>0)if(!(Zha(j,f+-1+(c[e+12>>2]|0)|0,c[e+16>>2]|0)|0)){p=f;u=e;d=166;break}if((h|0)>0)if(!(Zha(j,c[e+12>>2]|0,h+-1+(c[e+16>>2]|0)|0)|0)){q=h;v=e;d=169;break}y=c[b+104>>2]|0;n=c[e+24>>2]|0;c[b+104>>2]=(y|0)<(n|0)?n:y;d=c[d>>2]|0;if(!d){d=155;break}}if((d|0)==155){v=c[b+104>>2]|0;y=b+20|0;c[y>>2]=v;Mqb(x+112|0);c[x+128>>2]=9164;c[s>>2]=9204;y=x+128+8|0;c[y>>2]=9184;c[w>>2]=9220;Mqb(r);urb(w);qrb(s);i=x;return}else if((d|0)==158){y=nf(16)|0;ds(y,365236,x+40|0);zc(y|0,96,27)}else if((d|0)==161){y=nf(16)|0;b=c[o>>2]|0;c[x+48>>2]=b;ds(y,365303,x+48|0);zc(y|0,96,27)}else if((d|0)==163){y=nf(16)|0;b=t+8|0;b=c[b>>2]|0;c[x+56>>2]=b;ds(y,365340,x+56|0);zc(y|0,96,27)}else if((d|0)==166){y=nf(16)|0;w=u+8|0;w=c[w>>2]|0;c[x+64>>2]=p;b=x+64+4|0;c[b>>2]=w;ds(y,365385,x+64|0);zc(y|0,96,27)}else if((d|0)==169){y=nf(16)|0;w=v+8|0;w=c[w>>2]|0;c[x+72>>2]=q;b=x+72+4|0;c[b>>2]=w;ds(y,365427,x+72|0);zc(y|0,96,27)}}else{while(1){e=d;f=c[e+28>>2]|0;h=c[e+24>>2]|0;if(!(a[b+100>>0]|0))if((c[e+8>>2]|0)>>>0>127){d=158;break}if((c[e+20>>2]|0)<0){o=e+20|0;d=161;break}if(!(c[(m5(b+36|0,e+20|0)|0)>>2]|0)){o=e+20|0;d=161;break}j=c[(m5(b+36|0,e+20|0)|0)>>2]|0;if(!(Zha(j,c[e+12>>2]|0,c[e+16>>2]|0)|0)){t=e;d=163;break}if((f|0)>0)if(!(Zha(j,f+-1+(c[e+12>>2]|0)|0,c[e+16>>2]|0)|0)){p=f;u=e;d=166;break}if((h|0)>0)if(!(Zha(j,c[e+12>>2]|0,h+-1+(c[e+16>>2]|0)|0)|0)){q=h;v=e;d=169;break}d=c[d>>2]|0;if(!d){d=155;break}}if((d|0)==155){v=c[b+104>>2]|0;y=b+20|0;c[y>>2]=v;Mqb(x+112|0);c[x+128>>2]=9164;c[s>>2]=9204;y=x+128+8|0;c[y>>2]=9184;c[w>>2]=9220;Mqb(r);urb(w);qrb(s);i=x;return}else if((d|0)==158){y=nf(16)|0;ds(y,365236,x+40|0);zc(y|0,96,27)}else if((d|0)==161){y=nf(16)|0;b=c[o>>2]|0;c[x+48>>2]=b;ds(y,365303,x+48|0);zc(y|0,96,27)}else if((d|0)==163){y=nf(16)|0;b=t+8|0;b=c[b>>2]|0;c[x+56>>2]=b;ds(y,365340,x+56|0);zc(y|0,96,27)}else if((d|0)==166){y=nf(16)|0;w=u+8|0;w=c[w>>2]|0;c[x+64>>2]=p;b=x+64+4|0;c[b>>2]=w;ds(y,365385,x+64|0);zc(y|0,96,27)}else if((d|0)==169){y=nf(16)|0;w=v+8|0;w=c[w>>2]|0;c[x+72>>2]=q;b=x+72+4|0;c[b>>2]=w;ds(y,365427,x+72|0);zc(y|0,96,27)}}}}function r5(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;d=s5(a,b)|0;if(d|0){a=d;a=a+20|0;i=e;return a|0}d=YAb(32)|0;Hqb(d+8|0,b);c[d+20>>2]=0;c[d+20+4>>2]=0;c[d+20+8>>2]=0;t5(e,a,d);a=c[e>>2]|0;a=a+20|0;i=e;return a|0}function s5(e,f){e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;m=a[f>>0]|0;n=(m&1)==0?f+1|0:c[f+8>>2]|0;m=(m&1)==0?(m&255)>>>1:c[f+4>>2]|0;if(m>>>0>3){g=m;h=n;f=m;while(1){o=_(d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24,1540483477)|0;f=(_(o>>>24^o,1540483477)|0)^(_(f,1540483477)|0);g=g+-4|0;if(g>>>0<=3)break;else h=h+4|0}g=m+-4-(m+-4&-4)|0;h=n+((m+-4&-4)+4)|0}else{g=m;h=n;f=m}switch(g|0){case 3:{i=d[h+2>>0]<<16^f;l=6;break}case 2:{i=f;l=6;break}case 1:{j=f;l=7;break}default:k=f}if((l|0)==6){j=d[h+1>>0]<<8^i;l=7}if((l|0)==7)k=_(d[h>>0]^j,1540483477)|0;f=_(k>>>13^k,1540483477)|0;k=c[e+4>>2]|0;if(!k){o=0;return o|0}if(!(k+-1&k))j=(f>>>15^f)&k+-1;else j=((f>>>15^f)>>>0)%(k>>>0)|0;f=c[(c[e>>2]|0)+(j<<2)>>2]|0;if(!f){o=0;return o|0}f=c[f>>2]|0;if(!f){o=0;return o|0}if(!(k+-1&k)){a:while(1){if((c[f+4>>2]&k+-1|0)!=(j|0)){f=0;l=35;break}h=f+8|0;g=b[h>>1]|0;do if((((g&1)==0?(g&254)>>>1:c[f+12>>2]|0)|0)==(m|0)){if(g&1)if(!(qmb(c[f+16>>2]|0,n,m)|0)){l=35;break a}else break;if(!m){l=35;break a}if(((g&65535)>>>8&255)<<24>>24==(a[n>>0]|0)){i=(g&254)>>>1;g=h+1|0;h=n;do{i=i+-1|0;g=g+1|0;if(!i){l=35;break a}h=h+1|0}while((a[g>>0]|0)==(a[h>>0]|0))}}while(0);f=c[f>>2]|0;if(!f){f=0;l=35;break}}if((l|0)==35)return f|0}else{b:while(1){if((((c[f+4>>2]|0)>>>0)%(k>>>0)|0|0)!=(j|0)){f=0;l=35;break}h=f+8|0;g=b[h>>1]|0;do if((((g&1)==0?(g&254)>>>1:c[f+12>>2]|0)|0)==(m|0)){if(g&1)if(!(qmb(c[f+16>>2]|0,n,m)|0)){l=35;break b}else break;if(!m){l=35;break b}if(((g&65535)>>>8&255)<<24>>24==(a[n>>0]|0)){i=(g&254)>>>1;g=h+1|0;h=n;do{i=i+-1|0;g=g+1|0;if(!i){l=35;break b}h=h+1|0}while((a[g>>0]|0)==(a[h>>0]|0))}}while(0);f=c[f>>2]|0;if(!f){f=0;l=35;break}}if((l|0)==35)return f|0}return 0}function t5(e,f,h){e=e|0;f=f|0;h=h|0;var i=0,j=0,k=0.0,l=0.0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;s=a[h+8>>0]|0;t=(s&1)==0?h+8+1|0:c[h+16>>2]|0;s=(s&1)==0?(s&255)>>>1:c[h+12>>2]|0;if(s>>>0>3){m=s;n=t;i=s;while(1){u=_(d[n>>0]|d[n+1>>0]<<8|d[n+2>>0]<<16|d[n+3>>0]<<24,1540483477)|0;i=(_(u>>>24^u,1540483477)|0)^(_(i,1540483477)|0);m=m+-4|0;if(m>>>0<=3)break;else n=n+4|0}m=s+-4-(s+-4&-4)|0;n=t+((s+-4&-4)+4)|0}else{m=s;n=t;i=s}switch(m|0){case 3:{o=d[n+2>>0]<<16^i;r=6;break}case 2:{o=i;r=6;break}case 1:{p=i;r=7;break}default:q=i}if((r|0)==6){p=d[n+1>>0]<<8^o;r=7}if((r|0)==7)q=_(d[n>>0]^p,1540483477)|0;i=_(q>>>13^q,1540483477)|0;c[h+4>>2]=i>>>15^i;q=c[f+4>>2]|0;a:do if(!q)j=0;else{if(!(q+-1&q))p=(i>>>15^i)&q+-1;else p=((i>>>15^i)>>>0)%(q>>>0)|0;i=c[(c[f>>2]|0)+(p<<2)>>2]|0;if(!i)j=p;else{i=c[i>>2]|0;if(!i)j=p;else if(!(q+-1&q)){b:while(1){if((c[i+4>>2]&q+-1|0)!=(p|0)){j=p;break a}n=i+8|0;m=b[n>>1]|0;do if((((m&1)==0?(m&254)>>>1:c[i+12>>2]|0)|0)==(s|0)){if(m&1)if(!(qmb(c[i+16>>2]|0,t,s)|0)){m=0;r=49;break b}else break;if(!s){m=0;r=49;break b}if(((m&65535)>>>8&255)<<24>>24==(a[t>>0]|0)){o=(m&254)>>>1;m=n+1|0;n=t;do{o=o+-1|0;m=m+1|0;if(!o){m=0;r=49;break b}n=n+1|0}while((a[m>>0]|0)==(a[n>>0]|0))}}while(0);i=c[i>>2]|0;if(!i){j=p;break a}}if((r|0)==49){u=i;c[e>>2]=u;u=e+4|0;a[u>>0]=m;return}}else{c:while(1){if((((c[i+4>>2]|0)>>>0)%(q>>>0)|0|0)!=(p|0)){j=p;break a}n=i+8|0;m=b[n>>1]|0;do if((((m&1)==0?(m&254)>>>1:c[i+12>>2]|0)|0)==(s|0)){if(m&1)if(!(qmb(c[i+16>>2]|0,t,s)|0)){m=0;r=49;break c}else break;if(!s){m=0;r=49;break c}if(((m&65535)>>>8&255)<<24>>24==(a[t>>0]|0)){o=(m&254)>>>1;m=n+1|0;n=t;do{o=o+-1|0;m=m+1|0;if(!o){m=0;r=49;break c}n=n+1|0}while((a[m>>0]|0)==(a[n>>0]|0))}}while(0);i=c[i>>2]|0;if(!i){j=p;break a}}if((r|0)==49){u=i;c[e>>2]=u;u=e+4|0;a[u>>0]=m;return}}}}while(0);k=+(((c[f+12>>2]|0)+1|0)>>>0);l=+g[f+16>>2];do if((q|0)==0|k>+(q>>>0)*l){if(q>>>0>2)i=(q+-1&q|0)==0;else i=0;i=(i&1|q<<1)^1;j=~~+Z(+(k/l))>>>0;u5(f,i>>>0>>0?j:i);i=c[f+4>>2]|0;j=c[h+4>>2]|0;if(!(i+-1&i)){m=i;j=i+-1&j;break}else{m=i;j=(j>>>0)%(i>>>0)|0;break}}else m=q;while(0);i=c[(c[f>>2]|0)+(j<<2)>>2]|0;if(!i){c[h>>2]=c[f+8>>2];c[f+8>>2]=h;c[(c[f>>2]|0)+(j<<2)>>2]=f+8;i=c[h>>2]|0;if(i|0){i=c[i+4>>2]|0;j=m+-1|0;if(!(j&m))i=i&j;else i=(i>>>0)%(m>>>0)|0;c[(c[f>>2]|0)+(i<<2)>>2]=h}}else{c[h>>2]=c[i>>2];c[i>>2]=h}c[f+12>>2]=(c[f+12>>2]|0)+1;f=1;u=h;c[e>>2]=u;u=e+4|0;a[u>>0]=f;return}function u5(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if((b|0)==1)b=2;else if(b+-1&b)b=Eqb(b)|0;f=c[a+4>>2]|0;if(b>>>0>f>>>0){v5(a,b);return}if(b>>>0>=f>>>0)return;if(f>>>0>2)e=(f+-1&f|0)==0;else e=0;d=~~+Z(+(+((c[a+12>>2]|0)>>>0)/+g[a+16>>2]))>>>0;if(e)d=1<<32-(aa(d+-1|0)|0);else d=Eqb(d)|0;b=b>>>0>>0?d:b;if(b>>>0>=f>>>0)return;v5(a,b);return}function v5(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;if(!e){f=c[d>>2]|0;c[d>>2]=0;if(f|0)oAb(f);c[d+4>>2]=0;return}r=YAb(e<<2)|0;f=c[d>>2]|0;c[d>>2]=r;if(f|0)oAb(f);c[d+4>>2]=e;f=0;do{c[(c[d>>2]|0)+(f<<2)>>2]=0;f=f+1|0}while((f|0)!=(e|0));h=c[d+8>>2]|0;if(!h)return;f=c[h+4>>2]|0;if(!(e+-1&e))g=f&e+-1;else g=(f>>>0)%(e>>>0)|0;c[(c[d>>2]|0)+(g<<2)>>2]=d+8;f=c[h>>2]|0;if(!f)return;else j=h;a:while(1){r=h;b:while(1){while(1){h=c[f+4>>2]|0;if(!(e+-1&e))q=h&e+-1;else q=(h>>>0)%(e>>>0)|0;if((q|0)==(g|0)){h=f;break}h=(c[d>>2]|0)+(q<<2)|0;if(!(c[h>>2]|0)){g=q;i=f;f=r;break b}h=c[f>>2]|0;c:do if(!h)h=f;else{n=f+8|0;o=b[n>>1]|0;p=(o&1)==0?(o&254)>>>1:c[f+12>>2]|0;m=f+16|0;if(!(o&1)){m=f;while(1){i=h+8|0;k=a[i>>0]|0;if((p|0)!=(((k&1)==0?(k&255)>>>1:c[h+12>>2]|0)|0)){h=m;break c}i=(k&1)==0?i+1|0:c[h+16>>2]|0;d:do if(p|0){if(((o&65535)>>>8&255)<<24>>24==(a[i>>0]|0)){k=(o&254)>>>1;l=n+1|0}else{h=m;break c}while(1){k=k+-1|0;l=l+1|0;if(!k)break d;i=i+1|0;if((a[l>>0]|0)!=(a[i>>0]|0)){h=m;break c}}}while(0);i=c[h>>2]|0;if(!i)break;else{m=h;h=i}}}else{if(!p){i=f;while(1){p=a[h+8>>0]|0;if(((p&1)==0?(p&255)>>>1:c[h+12>>2]|0)|0){h=i;break c}i=c[h>>2]|0;if(!i)break c;else{p=h;h=i;i=p}}}else l=f;while(1){i=h+8|0;k=a[i>>0]|0;if((p|0)!=(((k&1)==0?(k&255)>>>1:c[h+12>>2]|0)|0)){h=l;break c}if(qmb(c[m>>2]|0,(k&1)==0?i+1|0:c[h+16>>2]|0,p)|0){h=l;break c}i=c[h>>2]|0;if(!i)break;else{l=h;h=i}}}}while(0);c[r>>2]=c[h>>2];c[h>>2]=c[c[(c[d>>2]|0)+(q<<2)>>2]>>2];c[c[(c[d>>2]|0)+(q<<2)>>2]>>2]=f;f=c[j>>2]|0;if(!f){f=38;break a}}f=c[h>>2]|0;if(!f){f=38;break a}else{j=h;r=h}}c[h>>2]=f;f=c[i>>2]|0;if(!f){f=38;break}else{j=i;h=i}}if((f|0)==38)return}function w5(e,f){e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;m=a[f>>0]|0;n=(m&1)==0?f+1|0:c[f+8>>2]|0;m=(m&1)==0?(m&255)>>>1:c[f+4>>2]|0;if(m>>>0>3){g=m;h=n;f=m;while(1){o=_(d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24,1540483477)|0;f=(_(o>>>24^o,1540483477)|0)^(_(f,1540483477)|0);g=g+-4|0;if(g>>>0<=3)break;else h=h+4|0}g=m+-4-(m+-4&-4)|0;h=n+((m+-4&-4)+4)|0}else{g=m;h=n;f=m}switch(g|0){case 3:{i=d[h+2>>0]<<16^f;l=6;break}case 2:{i=f;l=6;break}case 1:{j=f;l=7;break}default:k=f}if((l|0)==6){j=d[h+1>>0]<<8^i;l=7}if((l|0)==7)k=_(d[h>>0]^j,1540483477)|0;f=_(k>>>13^k,1540483477)|0;k=c[e+4>>2]|0;if(!k){o=0;return o|0}if(!(k+-1&k))j=(f>>>15^f)&k+-1;else j=((f>>>15^f)>>>0)%(k>>>0)|0;f=c[(c[e>>2]|0)+(j<<2)>>2]|0;if(!f){o=0;return o|0}f=c[f>>2]|0;if(!f){o=0;return o|0}if(!(k+-1&k)){a:while(1){if((c[f+4>>2]&k+-1|0)!=(j|0)){f=0;l=35;break}h=f+8|0;g=b[h>>1]|0;do if((((g&1)==0?(g&254)>>>1:c[f+12>>2]|0)|0)==(m|0)){if(g&1)if(!(qmb(c[f+16>>2]|0,n,m)|0)){l=35;break a}else break;if(!m){l=35;break a}if(((g&65535)>>>8&255)<<24>>24==(a[n>>0]|0)){i=(g&254)>>>1;g=h+1|0;h=n;do{i=i+-1|0;g=g+1|0;if(!i){l=35;break a}h=h+1|0}while((a[g>>0]|0)==(a[h>>0]|0))}}while(0);f=c[f>>2]|0;if(!f){f=0;l=35;break}}if((l|0)==35)return f|0}else{b:while(1){if((((c[f+4>>2]|0)>>>0)%(k>>>0)|0|0)!=(j|0)){f=0;l=35;break}h=f+8|0;g=b[h>>1]|0;do if((((g&1)==0?(g&254)>>>1:c[f+12>>2]|0)|0)==(m|0)){if(g&1)if(!(qmb(c[f+16>>2]|0,n,m)|0)){l=35;break b}else break;if(!m){l=35;break b}if(((g&65535)>>>8&255)<<24>>24==(a[n>>0]|0)){i=(g&254)>>>1;g=h+1|0;h=n;do{i=i+-1|0;g=g+1|0;if(!i){l=35;break b}h=h+1|0}while((a[g>>0]|0)==(a[h>>0]|0))}}while(0);f=c[f>>2]|0;if(!f){f=0;l=35;break}}if((l|0)==35)return f|0}return 0}function x5(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;d=c[b>>2]|0;f=c[a+4>>2]|0;a:do if(f|0){if(!(f+-1&f))e=f+-1&d;else e=(d>>>0)%(f>>>0)|0;b=c[(c[a>>2]|0)+(e<<2)>>2]|0;if(b|0)if(!(f+-1&f)){do{b=c[b>>2]|0;if(!b)break a;if((c[b+4>>2]&f+-1|0)!=(e|0))break a}while((c[b+8>>2]|0)!=(d|0));a=b+12|0;i=g;return a|0}else{do{b=c[b>>2]|0;if(!b)break a;if((((c[b+4>>2]|0)>>>0)%(f>>>0)|0|0)!=(e|0))break a}while((c[b+8>>2]|0)!=(d|0));a=b+12|0;i=g;return a|0}}while(0);f=YAb(44)|0;c[f+8>>2]=d;c[f+12>>2]=0;c[f+12+4>>2]=0;c[f+12+8>>2]=0;c[f+12+12>>2]=0;c[f+12+16>>2]=0;c[f+12+20>>2]=0;c[f+12+24>>2]=0;c[f+12+28>>2]=0;y5(g,a,f);a=c[g>>2]|0;a=a+12|0;i=g;return a|0}function y5(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,h=0,i=0.0,j=0.0,k=0,l=0;k=c[e+8>>2]|0;c[e+4>>2]=k;l=c[d+4>>2]|0;a:do if(!l)h=0;else{if(!(l+-1&l))h=l+-1&k;else h=(k>>>0)%(l>>>0)|0;f=c[(c[d>>2]|0)+(h<<2)>>2]|0;if(f)if(!(l+-1&l)){while(1){f=c[f>>2]|0;if(!f)break a;if((c[f+4>>2]&l+-1|0)!=(h|0))break a;if((c[f+8>>2]|0)==(k|0)){h=0;break}}d=f;c[b>>2]=d;b=b+4|0;a[b>>0]=h;return}else{while(1){f=c[f>>2]|0;if(!f)break a;if((((c[f+4>>2]|0)>>>0)%(l>>>0)|0|0)!=(h|0))break a;if((c[f+8>>2]|0)==(k|0)){h=0;break}}d=f;c[b>>2]=d;b=b+4|0;a[b>>0]=h;return}}while(0);i=+(((c[d+12>>2]|0)+1|0)>>>0);j=+g[d+16>>2];do if((l|0)==0|i>+(l>>>0)*j){if(l>>>0>2)f=(l+-1&l|0)==0;else f=0;f=(f&1|l<<1)^1;h=~~+Z(+(i/j))>>>0;z5(d,f>>>0>>0?h:f);f=c[d+4>>2]|0;h=c[e+4>>2]|0;if(!(f+-1&f)){k=f;h=f+-1&h;break}else{k=f;h=(h>>>0)%(f>>>0)|0;break}}else k=l;while(0);f=c[(c[d>>2]|0)+(h<<2)>>2]|0;if(!f){c[e>>2]=c[d+8>>2];c[d+8>>2]=e;c[(c[d>>2]|0)+(h<<2)>>2]=d+8;f=c[e>>2]|0;if(f|0){f=c[f+4>>2]|0;h=k+-1|0;if(!(h&k))f=f&h;else f=(f>>>0)%(k>>>0)|0;c[(c[d>>2]|0)+(f<<2)>>2]=e}}else{c[e>>2]=c[f>>2];c[f>>2]=e}c[d+12>>2]=(c[d+12>>2]|0)+1;d=1;c[b>>2]=e;b=b+4|0;a[b>>0]=d;return}function z5(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if((b|0)==1)b=2;else if(b+-1&b)b=Eqb(b)|0;f=c[a+4>>2]|0;if(b>>>0>f>>>0){A5(a,b);return}if(b>>>0>=f>>>0)return;if(f>>>0>2)e=(f+-1&f|0)==0;else e=0;d=~~+Z(+(+((c[a+12>>2]|0)>>>0)/+g[a+16>>2]))>>>0;if(e)d=1<<32-(aa(d+-1|0)|0);else d=Eqb(d)|0;b=b>>>0>>0?d:b;if(b>>>0>=f>>>0)return;A5(a,b);return}function A5(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;if(!b){d=c[a>>2]|0;c[a>>2]=0;if(d|0)oAb(d);c[a+4>>2]=0;return}k=YAb(b<<2)|0;d=c[a>>2]|0;c[a>>2]=k;if(d|0)oAb(d);c[a+4>>2]=b;d=0;do{c[(c[a>>2]|0)+(d<<2)>>2]=0;d=d+1|0}while((d|0)!=(b|0));f=c[a+8>>2]|0;if(!f)return;d=c[f+4>>2]|0;if(!(b+-1&b))e=d&b+-1;else e=(d>>>0)%(b>>>0)|0;c[(c[a>>2]|0)+(e<<2)>>2]=a+8;d=c[f>>2]|0;if(!d)return;else g=f;a:while(1){b:do if(!(b+-1&b)){k=g;j=f;while(1){while(1){i=c[d+4>>2]&b+-1;if((i|0)==(e|0)){f=d;break}f=(c[a>>2]|0)+(i<<2)|0;if(!(c[f>>2]|0)){e=i;h=d;d=j;break b}h=d+8|0;f=d;while(1){g=c[f>>2]|0;if(!g)break;if((c[h>>2]|0)==(c[g+8>>2]|0))f=g;else break}c[j>>2]=g;c[f>>2]=c[c[(c[a>>2]|0)+(i<<2)>>2]>>2];c[c[(c[a>>2]|0)+(i<<2)>>2]>>2]=d;d=c[k>>2]|0;if(!d){d=32;break a}}d=c[f>>2]|0;if(!d){d=32;break a}else{k=f;j=f}}}else{k=g;j=f;while(1){while(1){i=((c[d+4>>2]|0)>>>0)%(b>>>0)|0;if((i|0)==(e|0)){f=d;break}f=(c[a>>2]|0)+(i<<2)|0;if(!(c[f>>2]|0)){e=i;h=d;d=j;break b}h=d+8|0;f=d;while(1){g=c[f>>2]|0;if(!g)break;if((c[h>>2]|0)==(c[g+8>>2]|0))f=g;else break}c[j>>2]=g;c[f>>2]=c[c[(c[a>>2]|0)+(i<<2)>>2]>>2];c[c[(c[a>>2]|0)+(i<<2)>>2]>>2]=d;d=c[k>>2]|0;if(!d){d=32;break a}}d=c[f>>2]|0;if(!d){d=32;break a}else{k=f;j=f}}}while(0);c[f>>2]=d;d=c[h>>2]|0;if(!d){d=32;break}else{g=h;f=h}}if((d|0)==32)return}function B5(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+16|0;g=c[b>>2]|0;f=c[b+4>>2]|0;e=_(g,1540483477)|0;b=_(f,1540483477)|0;b=(_((_(e>>>24^e,1540483477)|0)^-561034072,1540483477)|0)^(_(b>>>24^b,1540483477)|0);b=_(b>>>13^b,1540483477)|0;e=c[a+4>>2]|0;a:do if(e|0){if(!(e+-1&e))d=(b>>>15^b)&e+-1;else d=((b>>>15^b)>>>0)%(e>>>0)|0;b=c[(c[a>>2]|0)+(d<<2)>>2]|0;if(b|0)if(!(e+-1&e)){do{b=c[b>>2]|0;if(!b)break a;if((c[b+4>>2]&e+-1|0)!=(d|0))break a}while(!((c[b+8>>2]|0)==(g|0)?(c[b+8+4>>2]|0)==(f|0):0));a=b+16|0;i=h;return a|0}else{do{b=c[b>>2]|0;if(!b)break a;if((((c[b+4>>2]|0)>>>0)%(e>>>0)|0|0)!=(d|0))break a}while(!((c[b+8>>2]|0)==(g|0)?(c[b+8+4>>2]|0)==(f|0):0));a=b+16|0;i=h;return a|0}}while(0);e=YAb(24)|0;c[e+8>>2]=g;c[e+8+4>>2]=f;c[e+16>>2]=0;C5(h,a,e);a=c[h>>2]|0;a=a+16|0;i=h;return a|0}function C5(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,h=0,i=0.0,j=0.0,k=0,l=0,m=0;l=c[e+8>>2]|0;m=c[e+8+4>>2]|0;k=_(l,1540483477)|0;f=_(m,1540483477)|0;f=(_((_(k>>>24^k,1540483477)|0)^-561034072,1540483477)|0)^(_(f>>>24^f,1540483477)|0);f=_(f>>>13^f,1540483477)|0;c[e+4>>2]=f>>>15^f;k=c[d+4>>2]|0;a:do if(!k)h=0;else{if(!(k+-1&k))h=(f>>>15^f)&k+-1;else h=((f>>>15^f)>>>0)%(k>>>0)|0;f=c[(c[d>>2]|0)+(h<<2)>>2]|0;if(f)if(!(k+-1&k)){while(1){f=c[f>>2]|0;if(!f)break a;if((c[f+4>>2]&k+-1|0)!=(h|0))break a;if((c[f+8>>2]|0)==(l|0)?(c[f+8+4>>2]|0)==(m|0):0){h=0;break}}d=f;c[b>>2]=d;b=b+4|0;a[b>>0]=h;return}else{while(1){f=c[f>>2]|0;if(!f)break a;if((((c[f+4>>2]|0)>>>0)%(k>>>0)|0|0)!=(h|0))break a;if((c[f+8>>2]|0)==(l|0)?(c[f+8+4>>2]|0)==(m|0):0){h=0;break}}d=f;c[b>>2]=d;b=b+4|0;a[b>>0]=h;return}}while(0);i=+(((c[d+12>>2]|0)+1|0)>>>0);j=+g[d+16>>2];do if((k|0)==0|i>+(k>>>0)*j){if(k>>>0>2)f=(k+-1&k|0)==0;else f=0;f=(f&1|k<<1)^1;h=~~+Z(+(i/j))>>>0;D5(d,f>>>0>>0?h:f);f=c[d+4>>2]|0;h=c[e+4>>2]|0;if(!(f+-1&f)){k=f;h=f+-1&h;break}else{k=f;h=(h>>>0)%(f>>>0)|0;break}}while(0);f=c[(c[d>>2]|0)+(h<<2)>>2]|0;if(!f){c[e>>2]=c[d+8>>2];c[d+8>>2]=e;c[(c[d>>2]|0)+(h<<2)>>2]=d+8;f=c[e>>2]|0;if(f|0){f=c[f+4>>2]|0;h=k+-1|0;if(!(h&k))f=f&h;else f=(f>>>0)%(k>>>0)|0;c[(c[d>>2]|0)+(f<<2)>>2]=e}}else{c[e>>2]=c[f>>2];c[f>>2]=e}c[d+12>>2]=(c[d+12>>2]|0)+1;d=1;c[b>>2]=e;b=b+4|0;a[b>>0]=d;return}function D5(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if((b|0)==1)b=2;else if(b+-1&b)b=Eqb(b)|0;f=c[a+4>>2]|0;if(b>>>0>f>>>0){E5(a,b);return}if(b>>>0>=f>>>0)return;if(f>>>0>2)e=(f+-1&f|0)==0;else e=0;d=~~+Z(+(+((c[a+12>>2]|0)>>>0)/+g[a+16>>2]))>>>0;if(e)d=1<<32-(aa(d+-1|0)|0);else d=Eqb(d)|0;b=b>>>0>>0?d:b;if(b>>>0>=f>>>0)return;E5(a,b);return}function E5(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;if(!b){d=c[a>>2]|0;c[a>>2]=0;if(d|0)oAb(d);c[a+4>>2]=0;return}k=YAb(b<<2)|0;d=c[a>>2]|0;c[a>>2]=k;if(d|0)oAb(d);c[a+4>>2]=b;d=0;do{c[(c[a>>2]|0)+(d<<2)>>2]=0;d=d+1|0}while((d|0)!=(b|0));f=c[a+8>>2]|0;if(!f)return;d=c[f+4>>2]|0;if(!(b+-1&b))e=d&b+-1;else e=(d>>>0)%(b>>>0)|0;c[(c[a>>2]|0)+(e<<2)>>2]=a+8;d=c[f>>2]|0;if(!d)return;else g=f;a:while(1){b:do if(!(b+-1&b)){k=g;j=f;while(1){while(1){i=c[d+4>>2]&b+-1;if((i|0)==(e|0)){f=d;break}f=(c[a>>2]|0)+(i<<2)|0;if(!(c[f>>2]|0)){e=i;h=d;d=j;break b}h=d+8|0;f=d;while(1){g=c[f>>2]|0;if(!g)break;if((c[h>>2]|0)==(c[g+8>>2]|0)?(c[h+4>>2]|0)==(c[g+8+4>>2]|0):0)f=g;else break}c[j>>2]=g;c[f>>2]=c[c[(c[a>>2]|0)+(i<<2)>>2]>>2];c[c[(c[a>>2]|0)+(i<<2)>>2]>>2]=d;d=c[k>>2]|0;if(!d){d=32;break a}}d=c[f>>2]|0;if(!d){d=32;break a}else{k=f;j=f}}}else{k=g;j=f;while(1){while(1){i=((c[d+4>>2]|0)>>>0)%(b>>>0)|0;if((i|0)==(e|0)){f=d;break}f=(c[a>>2]|0)+(i<<2)|0;if(!(c[f>>2]|0)){e=i;h=d;d=j;break b}h=d+8|0;f=d;while(1){g=c[f>>2]|0;if(!g)break;if((c[h>>2]|0)==(c[g+8>>2]|0)?(c[h+4>>2]|0)==(c[g+8+4>>2]|0):0)f=g;else break}c[j>>2]=g;c[f>>2]=c[c[(c[a>>2]|0)+(i<<2)>>2]>>2];c[c[(c[a>>2]|0)+(i<<2)>>2]>>2]=d;d=c[k>>2]|0;if(!d){d=32;break a}}d=c[f>>2]|0;if(!d){d=32;break a}else{k=f;j=f}}}while(0);c[f>>2]=d;d=c[h>>2]|0;if(!d){d=32;break}else{g=h;f=h}}if((d|0)==32)return}function F5(a){a=a|0;var b=0;b=vi[c[(c[a>>2]|0)+16>>2]&2047](a)|0;if((vi[c[(c[a>>2]|0)+20>>2]&2047](a)|0)>>>0<=4){a=0;return a|0}a=(qmb(b,365042,4)|0)==0;return a|0}function G5(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=YAb(8)|0;Jj(e);c[e>>2]=23052;Hj(e);Hi[c[(c[e>>2]|0)+12>>2]&1023](e);a=cj[c[(c[a>>2]|0)+32>>2]&127](a,e,b,d)|0;Hi[c[(c[e>>2]|0)+12>>2]&1023](e);return a|0}function H5(a){a=a|0;oAb(a);return}function I5(a){a=a|0;return 365470}function J5(a){a=a|0;return 65932}function K5(a,b,c){a=a|0;b=b|0;c=c|0;a=YAb(108)|0;l5(a,b,c);return a|0}function L5(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0;l=i;i=i+48|0;c[l+12>>2]=0;k=l+12+4|0;c[k>>2]=0;c[l+12+8>>2]=0;g=a[e>>0]|0;j=(g&1)==0?(g&255)>>>1:c[e+4>>2]|0;if(j|0){h=YAb(j<<2)|0;c[l+12>>2]=h;c[k>>2]=h;c[l+12+8>>2]=h+(j<<2)}h=(g&1)==0?e+1|0:c[e+8>>2]|0;c[l>>2]=h;c[l+4>>2]=h;c[l+8>>2]=h+j;if((j|0)<0){l=nf(8)|0;Dqb(l,432204);c[l>>2]=156212;zc(l|0,9016,680)}a:do if(j|0){g=h+j|0;e=h;while(1){c[l+32>>2]=g;c[l+36>>2]=c[l+32>>2];M5(l,l+36|0)|0;c[l+32>>2]=e;c[l+28>>2]=g;c[l+36>>2]=c[l+28>>2];g=M5(l+32|0,l+36|0)|0;c[l+24>>2]=g;e=c[k>>2]|0;if(e>>>0<(c[l+12+8>>2]|0)>>>0){c[e>>2]=g;c[k>>2]=e+4}else Zx(l+12|0,l+24|0);g=c[l+8>>2]|0;if(!((g|0)==(h+j|0)?(c[l+4>>2]|0)==(h|0):0))break;e=c[l>>2]|0;if((e|0)==(h+j|0))break a}l=nf(8)|0;Dqb(l,432236);zc(l|0,9e3,680)}while(0);g=c[l+12>>2]|0;g=Ci[c[(c[b>>2]|0)+44>>2]&127](b,d,g,(c[k>>2]|0)-g>>2,f)|0;e=c[l+12>>2]|0;if(!e){i=l;return g|0}h=c[k>>2]|0;if((h|0)!=(e|0))c[k>>2]=h+(~((h+-4-e|0)>>>2)<<2);oAb(e);i=l;return g|0}function M5(b,d){b=b|0;d=d|0;var e=0;e=i;i=i+16|0;c[e+4>>2]=0;c[e>>2]=c[d>>2];c[e+8>>2]=c[e>>2];switch(N5(b,e+8|0,e+4|0)|0){case 5:{b=nf(8)|0;e=c[e+4>>2]|0;c[b>>2]=23124;c[b+4>>2]=e;zc(b|0,1792,228)}case 1:{e=nf(4)|0;c[e>>2]=23084;zc(e|0,1760,228)}case 4:case 3:case 2:{e=nf(8)|0;b=a[c[b>>2]>>0]|0;c[e>>2]=23104;a[e+4>>0]=b;zc(e|0,1776,228)}default:{i=e;return c[e+4>>2]|0}}return 0}function N5(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=c[b>>2]|0;j=a[k>>0]|0;do if(j<<24>>24>-1)if((k|0)==(c[d>>2]|0))d=1;else{h=1;i=k;d=j&255;l=24}else{if((j&224|0)==192){d=c[d>>2]|0;if((k|0)==(d|0)){d=1;break}c[b>>2]=k+1;if((k+1|0)==(d|0)){d=1;break}d=a[k+1>>0]|0;if((d&-64)<<24>>24!=-128){d=3;break}h=2;i=k+1|0;d=d&63|(j&255)<<6&1984;l=24;break}if((j&240|0)==224){d=c[d>>2]|0;if((k|0)==(d|0)){d=1;break}c[b>>2]=k+1;if((k+1|0)==(d|0)){d=1;break}f=a[k+1>>0]|0;if((f&-64)<<24>>24!=-128){d=3;break}c[b>>2]=k+2;if((k+2|0)==(d|0)){d=1;break}d=a[k+2>>0]|0;if((d&-64)<<24>>24!=-128){d=3;break}h=3;i=k+2|0;d=(f&255)<<6&4032|(j&255)<<12&61440|d&63;l=24;break}if((j&248|0)!=240){l=2;return l|0}d=c[d>>2]|0;if((k|0)==(d|0))d=1;else{c[b>>2]=k+1;if((k+1|0)==(d|0))d=1;else{f=a[k+1>>0]|0;if((f&-64)<<24>>24==-128){c[b>>2]=k+2;if((k+2|0)==(d|0))d=1;else{g=a[k+2>>0]|0;if((g&-64)<<24>>24==-128){c[b>>2]=k+3;if((k+3|0)==(d|0))d=1;else{d=a[k+3>>0]|0;if((d&-64)<<24>>24==-128){h=4;i=k+3|0;d=(f&255)<<12&258048|(j&255)<<18&1835008|(g&255)<<6&4032|d&63;l=24}else d=3}}else d=3}}else d=3}}}while(0);a:do if((l|0)==24)if(d>>>0<1114112&(d&-2048|0)!=55296){do if(d>>>0<128){if((h|0)!=1){d=4;break a}}else if(d>>>0<2048)if((h|0)==2)break;else{d=4;break a}else if((h|0)!=3&d>>>0<65536){d=4;break a}else break;while(0);c[e>>2]=d;c[b>>2]=i+1;l=0;return l|0}else d=5;while(0);c[b>>2]=k;l=d;return l|0}function O5(a){a=a|0;oAb(a);return}function P5(a){a=a|0;return 431493}function Q5(a){a=a|0;oAb(a);return}function R5(a){a=a|0;return 431532}function S5(a){a=a|0;oAb(a);return}function T5(a){a=a|0;return 431574}function U5(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=YAb(56)|0;w6(a,b,c,d,e);return a|0}function V5(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=i;i=i+16|0;b=a[e>>0]|0;g=(b&1)==0?e+1|0:c[e+8>>2]|0;b=g+((b&1)==0?(b&255)>>>1:c[e+4>>2]|0)|0;c[f>>2]=g;c[f+4>>2]=b;c[f+8>>2]=c[f+4>>2];b=M5(f,f+8|0)|0;b=Xi[c[(c[d>>2]|0)+36>>2]&511](d,b)|0;i=f;return b|0}function W5(a,b,d){a=a|0;b=b|0;d=d|0;return Xi[c[(c[b>>2]|0)+36>>2]&511](b,d)|0}function X5(a){a=a|0;c[a>>2]=23144;a=c[a+32>>2]|0;if(!a)return;aBb(a);return}function Y5(a){a=a|0;var b=0;c[a>>2]=23144;b=c[a+32>>2]|0;if(!b){oAb(a);return}aBb(b);oAb(a);return}function Z5(a){a=a|0;return c[a+32>>2]|0}function _5(a){a=a|0;var b=0,d=0;b=(c[a+36>>2]|0)==0;d=vi[c[(c[a>>2]|0)+28>>2]&2047](a)|0;a=_(vi[c[(c[a>>2]|0)+24>>2]&2047](a)|0,d)|0;return a<<(b?1:2)|0}function $5(a){a=a|0;return c[a+12>>2]|0}function a6(a){a=a|0;return c[a+16>>2]|0}function b6(){var b=0,d=0,e=0,f=0,g=0;g=i;i=i+16|0;a[629924]=0;a[629936]=0;a[629948]=0;a[629960]=0;c[157491]=0;c[157492]=0;b=a[431616]|0;if(!(b<<24>>24))d=5381;else{e=431616;d=5381;do{e=e+1|0;d=(d*33|0)+(b<<24>>24)|0;b=a[e>>0]|0}while(b<<24>>24!=0)}b=d&3;if(!(a[629916+(b*12|0)+8>>0]|0)){d=b;b=629916+(b*12|0)+8|0;f=5}else{b=d+1&3;if(!(a[629916+(b*12|0)+8>>0]|0)){d=b;b=629916+(b*12|0)+8|0;f=5}else{b=d+2&3;if(!(a[629916+(b*12|0)+8>>0]|0)){d=b;b=629916+(b*12|0)+8|0;f=5}else{b=d+3&3;if(!(a[629916+(b*12|0)+8>>0]|0)){d=b;b=629916+(b*12|0)+8|0;f=5}}}}if((f|0)==5){a[b>>0]=1;c[629916+(d*12|0)>>2]=431616;c[629916+(d*12|0)+4>>2]=0}if(0>1){c[g>>2]=431616;c[g+4>>2]=0;vpb(441068,g)|0}else c[157491]=431616;b=a[431631]|0;if(!(b<<24>>24))d=5381;else{e=431631;d=5381;do{e=e+1|0;d=(d*33|0)+(b<<24>>24)|0;b=a[e>>0]|0}while(b<<24>>24!=0)}b=d&3;if(!(a[629916+(b*12|0)+8>>0]|0)){d=b;b=629916+(b*12|0)+8|0;f=17}else{b=d+1&3;if(!(a[629916+(b*12|0)+8>>0]|0)){d=b;b=629916+(b*12|0)+8|0;f=17}else{b=d+2&3;if(!(a[629916+(b*12|0)+8>>0]|0)){d=b;b=629916+(b*12|0)+8|0;f=17}else{b=d+3&3;if(!(a[629916+(b*12|0)+8>>0]|0)){d=b;b=629916+(b*12|0)+8|0;f=17}}}}if((f|0)==17){a[b>>0]=1;c[629916+(d*12|0)>>2]=431631;c[629916+(d*12|0)+4>>2]=1}if(1>1){c[g+8>>2]=431631;c[g+8+4>>2]=1;vpb(441068,g+8|0)|0;i=g;return}else{c[157492]=431631;i=g;return}}function c6(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;Jj(a);c[a>>2]=23144;c[a+8>>2]=b;c[a+12>>2]=c[d>>2];c[a+12+4>>2]=c[d+4>>2];c[a+12+8>>2]=c[d+8>>2];c[a+12+12>>2]=c[d+12>>2];c[a+12+16>>2]=c[d+16>>2];c[a+32>>2]=0;c[a+36>>2]=e;b=c[a+16>>2]|0;if((b|0)<=0)return;d=c[a+12>>2]|0;if((d|0)<=0)return;b=_(d,b)|0;if(!e){c[a+32>>2]=_Ab((b|0)<0?-1:b<<1)|0;return}else{c[a+32>>2]=_Ab((b|0)<0?-1:b<<2)|0;return}}function d6(a){a=a|0;return c[a+8>>2]|0}function e6(b,d){b=b|0;d=d|0;var e=0;e=i;i=i+16|0;a[e>>0]=0;a[e+1>>0]=0;a[e+2>>0]=0;a[e+3>>0]=0;a[e+4>>0]=0;d=(f6(c[d+8>>2]|0,e)|0)-e|0;if((d|0)<0){Iqb(b,1279070,0);i=e;return}else{Iqb(b,e,d);i=e;return}}function f6(b,d){b=b|0;d=d|0;if(!(b>>>0<1114112&(b&-2048|0)!=55296)){d=nf(8)|0;c[d>>2]=23124;c[d+4>>2]=b;zc(d|0,1792,228)}if(b>>>0<128){a[d>>0]=b;d=d+1|0;return d|0}if(b>>>0<2048){a[d>>0]=b>>>6|192;a[d+1>>0]=b&63|128;d=d+2|0;return d|0}if(b>>>0<65536){a[d>>0]=b>>>12|224;a[d+1>>0]=b>>>6&63|128;a[d+2>>0]=b&63|128;d=d+3|0;return d|0}else{a[d>>0]=b>>>18|240;a[d+1>>0]=b>>>12&63|128;a[d+2>>0]=b>>>6&63|128;a[d+3>>0]=b&63|128;d=d+4|0;return d|0}return 0}function g6(a){a=a|0;return c[a+20>>2]|0}function h6(a){a=a|0;return c[a+24>>2]|0}function i6(a){a=a|0;return c[a+28>>2]|0}function j6(a){a=a|0;return c[a+24>>2]|0}function k6(a){a=a|0;var b=0;b=vi[c[(c[a>>2]|0)+24>>2]&2047](a)|0;return b-(c[a+28>>2]|0)|0}function l6(a){a=a|0;var b=0;b=c[a+24>>2]|0;return (vi[c[(c[a>>2]|0)+28>>2]&2047](a)|0)+b|0}function m6(a){a=a|0;return c[a+28>>2]|0}function n6(a){a=a|0;return c[a+36>>2]|0}function o6(a,b){a=a|0;b=b|0;if(a>>>0>1)a=0;else{a=c[629964+(a<<2)>>2]|0;if(!a)a=0;else{c[b>>2]=a;a=1}}return a|0}function p6(a){a=a|0;var b=0;c[a>>2]=23184;q6(a+40|0,c[a+44>>2]|0);b=c[a+24>>2]|0;if(!b){y6(a);return}Hi[c[(c[b>>2]|0)+12>>2]&1023](b);y6(a);return}function q6(a,b){a=a|0;b=b|0;if(!b)return;else{q6(a,c[b>>2]|0);q6(a,c[b+4>>2]|0);oAb(b);return}}function r6(a){a=a|0;var b=0;c[a>>2]=23184;q6(a+40|0,c[a+44>>2]|0);b=c[a+24>>2]|0;if(!b){y6(a);oAb(a);return}Hi[c[(c[b>>2]|0)+12>>2]&1023](b);y6(a);oAb(a);return}function s6(a){a=a|0;return vi[c[(c[a>>2]|0)+16>>2]&2047](a)|0}function t6(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+48|0;g=c[b+44>>2]|0;if(!g){f=b+44|0;m=0;g=0}else{f=b+44|0;a:do{while(1){if((c[g+16>>2]|0)>>>0>=e>>>0){f=g;break}g=c[g+4>>2]|0;if(!g)break a}g=c[f>>2]|0}while((g|0)!=0);if((f|0)==(b+44|0)){f=b+44|0;m=0;g=0}else if((c[f+16>>2]|0)>>>0>e>>>0){f=b+44|0;m=0;g=0}else{g=c[f+24>>2]|0;m=g;g=(c[b+36>>2]|0)+g|0}}k=c[b+20>>2]|0;l=YAb(40)|0;c[o>>2]=k;c[o+4>>2]=m;c[o+8>>2]=g;c[o+12>>2]=0;c[o+12+4>>2]=0;c[o+20>>2]=c[o>>2];c[o+20+4>>2]=c[o+4>>2];c[o+20+8>>2]=c[o+8>>2];c[o+20+12>>2]=c[o+12>>2];c[o+20+16>>2]=c[o+16>>2];c6(l,e,o+20|0,1);if(!m){i=o;return l|0}QO(o+20|0,cia(c[b+24>>2]|0)|0);j=vi[c[(c[l>>2]|0)+16>>2]&2047](l)|0;k=c[b+24>>2]|0;k=vi[c[(c[k>>2]|0)+16>>2]&2047](k)|0;g=f+20|0;h=0;while(1){e=vi[c[(c[l>>2]|0)+28>>2]&2047](l)|0;if((h|0)>=(_(vi[c[(c[l>>2]|0)+24>>2]&2047](l)|0,e)|0))break;e=c[g>>2]|0;e=k+(((h|0)%(m|0)|0)+e+(_((h|0)/(m|0)|0,Xha(c[b+24>>2]|0)|0)|0)<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if((e&255)<<24>>24==(a[b+52>>0]|0))if((e>>>8&255)<<24>>24==(a[b+53>>0]|0))if((e>>>16&255)<<24>>24==(a[b+54>>0]|0)){f=j+(h<<2)|0;if((e>>>24&255)<<24>>24==(a[b+55>>0]|0)){a[f>>0]=0;a[f+1>>0]=0;a[f+2>>0]=0;a[f+3>>0]=0}else n=19}else n=16;else n=16;else n=16;if((n|0)==16){f=j+(h<<2)|0;n=19}if((n|0)==19){n=0;a[f>>0]=e&16777215|e>>>24<<24;a[f+1>>0]=(e&16777215|e>>>24<<24)>>8;a[f+2>>0]=(e&16777215|e>>>24<<24)>>16;a[f+3>>0]=(e&16777215|e>>>24<<24)>>24}h=h+1|0}SO(o+20|0);i=o;return l|0}function u6(a){a=a|0;return c[a+32>>2]|0}function v6(a,b){a=a|0;b=b|0;var d=0,e=0;e=c[a+44>>2]|0;if(e|0){d=a+44|0;a:do{while(1){if((c[e+16>>2]|0)>>>0>=b>>>0){d=e;break}e=c[e+4>>2]|0;if(!e)break a}e=c[d>>2]|0}while((e|0)!=0);if((d|0)!=(a+44|0))if((c[d+16>>2]|0)>>>0<=b>>>0){b=d;a=(b|0)!=(a+44|0);return a|0}}b=a+44|0;a=(b|0)!=(a+44|0);return a|0}function w6(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;Jj(a);c[a>>2]=23184;c[a+24>>2]=b;if(b|0)Hi[c[(c[b>>2]|0)+8>>2]&1023](b);c[a+28>>2]=d;c[a+32>>2]=e;c[a+36>>2]=f;c[a+44>>2]=0;c[a+48>>2]=0;c[a+40>>2]=a+44;x6(a);return}function x6(b){b=b|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+16|0;m=c[b+24>>2]|0;m=vi[c[(c[m>>2]|0)+16>>2]&2047](m)|0;n=Xha(c[b+24>>2]|0)|0;o=Yha(c[b+24>>2]|0)|0;QO(p,cia(c[b+24>>2]|0)|0);c[b+20>>2]=o;o=d[m>>0]|d[m+1>>0]<<8|d[m+2>>0]<<16|d[m+3>>0]<<24;a[b+52>>0]=o;a[b+52+1>>0]=o>>8;a[b+52+2>>0]=o>>16;a[b+52+3>>0]=o>>24;if((c[b+32>>2]|0)<=0){SO(p);i=p;return}e=0;o=0;while(1){a:do if((e|0)<(n|0)){f=a[b+52>>0]|0;do{if((a[m+(e<<2)>>0]|0)!=f<<24>>24)break a;if((a[m+(e<<2)+1>>0]|0)!=(a[b+53>>0]|0))break a;if((a[m+(e<<2)+2>>0]|0)!=(a[b+54>>0]|0))break a;if((a[m+(e<<2)+3>>0]|0)!=(a[b+55>>0]|0))break a;e=e+1|0}while((e|0)<(n|0))}while(0);if((e|0)>=(n|0)){j=33;break}g=a[b+52>>0]|0;f=e;do{if((a[m+(f<<2)>>0]|0)==g<<24>>24)if((a[m+(f<<2)+1>>0]|0)==(a[b+53>>0]|0))if((a[m+(f<<2)+2>>0]|0)==(a[b+54>>0]|0))if((a[m+(f<<2)+3>>0]|0)==(a[b+55>>0]|0))break;f=f+1|0}while((f|0)<(n|0));if((f|0)<=(e|0)){j=33;break}l=(c[b+28>>2]|0)+(o<<2)|0;g=c[b+44>>2]|0;do if(!g){c[p+4>>2]=b+44;h=b+44|0;g=b+44|0;j=29}else{k=c[l>>2]|0;while(1){h=c[g+16>>2]|0;if(k>>>0>>0){h=c[g>>2]|0;if(!h){h=g;j=22;break}else g=h}else{if(h>>>0>=k>>>0){j=28;break}h=g+4|0;j=c[h>>2]|0;if(!j){j=26;break}else g=j}}if((j|0)==22){c[p+4>>2]=g;j=29;break}else if((j|0)==26){c[p+4>>2]=g;j=29;break}else if((j|0)==28){j=0;c[p+4>>2]=g;if(!g){h=p+4|0;j=29;break}else break}}while(0);if((j|0)==29){j=YAb(28)|0;c[j+16>>2]=c[l>>2];c[j+20>>2]=0;c[j+20+4>>2]=0;c[j>>2]=0;c[j+4>>2]=0;c[j+8>>2]=g;c[h>>2]=j;g=c[c[b+40>>2]>>2]|0;if(!g)g=j;else{c[b+40>>2]=g;g=c[h>>2]|0}Fj(c[b+44>>2]|0,g);c[b+48>>2]=(c[b+48>>2]|0)+1;g=j}c[g+20>>2]=e;c[g+24>>2]=f-e;o=o+1|0;if((o|0)>=(c[b+32>>2]|0)){j=33;break}else e=f}if((j|0)==33){SO(p);i=p;return}}function y6(a){a=a|0;return}function z6(a){a=a|0;return c[a+20>>2]|0}function A6(a){a=a|0;return c[a+8>>2]|0}function B6(a){a=a|0;return c[a+12>>2]|0}function C6(a){a=a|0;return c[a+16>>2]|0}function D6(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;e=i;i=i+16|0;g=a[d>>0]|0;f=(g&1)==0?d+1|0:c[d+8>>2]|0;d=f+((g&1)==0?(g&255)>>>1:c[d+4>>2]|0)|0;c[e>>2]=f;c[e+4>>2]=d;c[e+8>>2]=c[e+4>>2];d=M5(e,e+8|0)|0;b=Xi[c[(c[b>>2]|0)+36>>2]&511](b,d)|0;i=e;return b|0}function E6(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+32|0;e=a[d>>0]|0;g=(e&1)==0?(e&255)>>>1:c[d+4>>2]|0;if(!g){i=h;return 0}e=(e&1)==0?d+1|0:c[d+8>>2]|0;c[h>>2]=e;c[h+4>>2]=e;c[h+8>>2]=e+g;if((g|0)<0){h=nf(8)|0;Dqb(h,432204);c[h>>2]=156212;zc(h|0,9016,680)}f=e+g|0;while(1){d=c[h>>2]|0;if((d|0)==(e+g|0)){e=1;d=9;break}c[h+16>>2]=f;c[h+20>>2]=c[h+16>>2];M5(h,h+20|0)|0;c[h+16>>2]=d;c[h+12>>2]=f;c[h+20>>2]=c[h+12>>2];f=M5(h+16|0,h+20|0)|0;if(!(Xi[c[(c[b>>2]|0)+48>>2]&511](b,f)|0)){e=0;d=9;break}f=c[h+8>>2]|0;if(!((f|0)==(e+g|0)?(c[h+4>>2]|0)==(e|0):0)){d=5;break}}if((d|0)==5){h=nf(8)|0;Dqb(h,432236);zc(h|0,9e3,680)}else if((d|0)==9){i=h;return e|0}return 0}function F6(a,b,c){a=a|0;b=b|0;c=c|0;return 0.0}function G6(){a[629980]=0;a[629992]=0;a[630004]=0;a[630016]=0;a[630028]=0;a[630040]=0;a[630052]=0;a[630064]=0;c[157517]=0;c[157518]=0;c[157519]=0;c[157520]=0;H6(629972,518066,0)|0;H6(629972,431691,1)|0;H6(629972,431697,2)|0;H6(629972,522333,3)|0;return}function H6(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;f=a[d>>0]|0;if(!(f<<24>>24))g=5381;else{h=d;g=5381;do{h=h+1|0;g=(g*33|0)+(f<<24>>24)|0;f=a[h>>0]|0}while(f<<24>>24!=0)}f=g&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+1&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+2&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+3&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+4&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+5&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+6&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+7&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else f=0}}}}}}}if((j|0)==5){a[f>>0]=1;c[b+(g*12|0)>>2]=d;c[b+(g*12|0)+4>>2]=e;f=1}if(e>>>0>3){c[k>>2]=d;c[k+4>>2]=e;vpb(441068,k)|0;j=0;i=k;return j|0}else{c[b+96+(e<<2)>>2]=d;j=f;i=k;return j|0}return 0}function I6(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=a[b>>0]|0;if(!(e<<24>>24))f=5381;else{g=b;f=5381;do{g=g+1|0;f=(f*33|0)+(e<<24>>24)|0;e=a[g>>0]|0}while(e<<24>>24!=0)}j=0;while(1){i=j+f&7;if(!(a[629972+(i*12|0)+8>>0]|0)){e=1;f=0;k=11;break}g=c[629972+(i*12|0)>>2]|0;h=a[g>>0]|0;a:do if(!(h<<24>>24)){e=b;k=8}else{e=b;while(1){l=a[e>>0]|0;if(!(l<<24>>24?h<<24>>24==l<<24>>24:0))break a;g=g+1|0;e=e+1|0;h=a[g>>0]|0;if(!(h<<24>>24)){k=8;break}}}while(0);if((k|0)==8){k=0;if(!(a[e>>0]|0)){k=9;break}}j=j+1|0;if(j>>>0>=8){e=0;f=0;k=11;break}}if((k|0)==9){c[d>>2]=c[629972+(i*12|0)+4>>2];k=1;l=1;l=k&l;return l|0}else if((k|0)==11){l=e&f;return l|0}return 0}function J6(a){a=a|0;var b=0,d=0;c[a>>2]=23252;c[a+120>>2]=23324;c[157526]=(c[157526]|0)+-1;if((c[157521]|0)==(a|0)){K6(a,0);b=c[a>>2]|0}else b=23252;Hi[c[b+60>>2]&1023](a);d=c[a+152>>2]|0;if(!d){Cga(a+120|0);IC(a);return}b=c[a+156>>2]|0;if((b|0)!=(d|0))c[a+156>>2]=b+(~((b+-4-d|0)>>>2)<<2);oAb(d);Cga(a+120|0);IC(a);return}function K6(b,d){b=b|0;d=d|0;var e=0,f=0;if((c[157521]|0)!=(b|0))return;do if(c[b+128>>2]|0)if(c[b+136>>2]|0){f=c[b+8>>2]|0;e=c[b+12>>2]|0;jda(631040,36008,c[b+124>>2]|0);jda(631040,36009,c[b+128>>2]|0);if(!(a[1249038]|0)){Wi[c[163768]&0](0,0,f,e,0,0,f,e,16384,9728);break}else{gj[c[165372]&15]();break}}while(0);e=c[157764]|0;f=e;do{c[157764]=f+-64;f=c[157764]|0}while((f|0)!=(e+-64|0));if(d)return;jda(631040,36160,kda(631040)|0);c[157521]=0;cda(631040,630088);if(!((a[1248972]|a[1248826])<<24>>24))return;do if(a[1248727]|0)if(ida(631040)|0){if(!(a[1248727]|0))break;return}else{hda(631040,1);return}while(0);if(!(ida(631040)|0))return;hda(631040,0);return}function L6(a){a=a|0;J6(a);oAb(a);return}function M6(a,b,c,d,e,f,g,h,j,k){a=a|0;b=+b;c=+c;d=+d;e=+e;f=+f;g=+g;h=+h;j=+j;k=+k;var l=0;l=i;i=i+64|0;Hua(l,b,c,d,e,f,g,h,j,k);N6(a,l,a+40|0);i=l;return}function N6(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;if((c[157521]|0)==(a|0)){d=nf(16)|0;ds(d,431733,e);zc(d|0,96,27)}else{Xca(631040);Kua(_ca(631040)|0,b);Wca(631040,c[a+132>>2]|0);Uca(631040,3);Ii[c[163985]&63](0,2,5126,0,20,d);Ii[c[163985]&63](1,2,5126,0,20,d+8|0);$ca(631040);ada(631040,5,0,4);Zca(631040);i=e;return}}function O6(a,b,c,d,e,f,g,h,j,k,l){a=a|0;b=b|0;c=+c;d=+d;e=+e;f=+f;g=+g;h=+h;j=+j;k=+k;l=+l;var m=0;m=i;i=i+64|0;Hua(m,c,d,e,f,g,h,j,k,l);N6(a,m,HC(b)|0);i=m;return}function P6(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;if(VC(b,0)|0){c[a+16>>2]=c[b>>2];c[a+16+4>>2]=c[b+4>>2];c[a+16+8>>2]=c[b+8>>2];c[a+16+12>>2]=c[b+12>>2];Wca(631040,c[a+132>>2]|0);pda(631040,a+16|0);i=d;return}else{a=nf(16)|0;ds(a,436938,d);zc(a|0,96,27)}}function Q6(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;e=c[d>>2]|0;d=c[d+4>>2]|0;c[b+32>>2]=e;c[b+32+4>>2]=d;do if((a[1248844]|0)==0?1:(a[1249010]|a[1248845])<<24>>24!=0)d=1;else{g=c[b+8>>2]|0;f=g+-1+((g|0)==0&1)>>1|g+-1+((g|0)==0&1);f=((f>>2|f)>>4|(f>>2|f))>>8|((f>>2|f)>>4|(f>>2|f));if((g|0)==((f>>16|f)+1|0)){f=c[b+12>>2]|0;g=f+-1+((f|0)==0&1)>>1|f+-1+((f|0)==0&1);g=((g>>2|g)>>4|(g>>2|g))>>8|((g>>2|g)>>4|(g>>2|g));if((f|0)==((g>>16|g)+1|0)){d=1;break}}c[b+36>>2]=0;c[b+32>>2]=0;d=(e|0)==0&(d>>>0<1|(d|0)==1&e>>>0<0)}while(0);if(!(rda(631040)|0)){if((c[b+32>>2]|0)==1)c[b+32>>2]=0;if((c[b+36>>2]|0)==1)c[b+36>>2]=0}Wca(631040,c[b+132>>2]|0);qda(631040,b+32|0);return d|0}function R6(a){a=a|0;return a+132|0}function S6(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;j=i;i=i+16|0;c[b+124>>2]=0;c[b+124+4>>2]=0;c[b+124+8>>2]=0;c[b+124+12>>2]=0;c[b+124+16>>2]=0;c[b+148>>2]=36053;h=c[b+8>>2]|0;if((h|0)<=(sda(631040)|0)){h=c[b+12>>2]|0;if((h|0)<=(sda(631040)|0)){g=uda(631040)|0;h=c[b+164>>2]|0;h=(g|0)<(h|0)?g:h;c[b+164>>2]=(h|0)<0?0:h;si[c[163965]&511](1,b+132|0);Wca(631040,c[b+132>>2]|0);if(a[1249031]|0)$i[c[164151]&255](3553,37794,37795);si[c[(c[b>>2]|0)+32>>2]&511](b,b+16|0);Xi[c[(c[b>>2]|0)+40>>2]&511](b,b+32|0)|0;d=c[b+144>>2]|0;switch(d|0){case 0:{if(zA()|0)h=26;else{d=((a[1248844]|0)==0?1:(a[1249003]|a[1248845]|a[1249045])<<24>>24!=0)?7:2;h=9}break}case 1:{h=21;break}default:h=9}a:do if((h|0)==9)do switch(d|0){case 2:{e=6408;f=32854;g=32819;break a}case 16:{h=26;break a}case 12:{h=21;break a}case 3:{e=6408;f=32855;g=32820;break a}case 4:{e=6407;f=36194;g=33635;break a}case 5:{e=6403;f=33321;g=5121;break a}case 6:{e=33319;f=33323;g=5121;break a}case 8:{e=6408;f=32857;g=33640;break a}case 9:{e=6407;f=35898;g=35899;break a}case 10:{if(a[1249009]|0){e=6403;f=33325;g=36193;break a}e=6403;f=33325;g=(a[1248826]|0)==0?5131:5126;break a}case 11:{if(a[1249009]|0){e=33319;f=33327;g=36193;break a}e=33319;f=33327;g=(a[1248826]|0)==0?5131:5126;break a}case 13:{e=6403;f=33326;g=5126;break a}case 14:{e=33319;f=33328;g=5126;break a}case 15:{e=6408;f=34836;g=5126;break a}default:{e=6408;f=32856;g=5121;break a}}while(0);while(0);if((h|0)==21)if(!(a[1249009]|0)){e=6408;f=34842;g=(a[1248826]|0)==0?5131:5126}else{e=6408;f=34842;g=36193}else if((h|0)==26){e=(a[1248844]|0)==0|(a[1248845]|0)!=0?6408:35906;f=35907;g=5121}d=(a[1248844]|0)==0|(a[1248845]|0)!=0;do{}while((dj[c[164614]&7]()|0)!=0);Vi[c[164645]&15](3553,0,d?f:e,c[b+8>>2]|0,c[b+12>>2]|0,0,e,g,0);if(dj[c[164614]&7]()|0){oda(631040,c[b+132>>2]|0);c[b+132>>2]=0;c[b+148>>2]=36054;b=0;i=j;return b|0}if(T6(b,f)|0)d=c[b+148>>2]|0;else{d=c[b+132>>2]|0;si[c[164630]&511](36006,j);si[c[163840]&511](1,b+124|0);jda(631040,36160,c[b+124>>2]|0);if(d|0){qi[c[163820]&15](36160,36064,3553,d,0);ej[c[164438]&3](0.0,0.0,0.0,0.0);Hi[c[163811]&1023](16384)}d=vi[c[164541]&2047](36160)|0;jda(631040,36160,c[j>>2]|0);c[b+148>>2]=d}if((d|0)!=36053){if(!(c[b+124>>2]|0)){b=0;i=j;return b|0}si[c[163801]&511](1,b+124|0);c[b+124>>2]=0;b=0;i=j;return b|0}e=c[b+172>>2]|0;d=c[b+144>>2]|0;switch(d|0){case 0:{if(zA()|0)h=44;else{d=((a[1248844]|0)==0?1:(a[1249003]|a[1248845]|a[1249045])<<24>>24!=0)?7:2;h=42}break}case 1:{h=45;break}default:h=42}b:do if((h|0)==42)switch(d|0){case 5:{d=8;break b}case 12:case 14:{h=45;break b}case 10:case 6:case 4:case 3:case 2:{d=16;break b}case 15:{d=128;break b}default:{h=44;break b}}while(0);if((h|0)==44)d=32;else if((h|0)==45)d=64;d=_(c[b+8>>2]|0,d)|0;d=(_(d,c[b+12>>2]|0)|0)>>>3;c[b+172>>2]=d;if(c[b+136>>2]|0){d=(_(c[b+168>>2]|0,d)|0)+d|0;c[b+172>>2]=d}wda(631040,e,d);b=1;i=j;return b|0}}c[b+148>>2]=36054;b=0;i=j;return b|0}function T6(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;g=i;i=i+16|0;e=c[a+164>>2]|0;c[a+168>>2]=e;if((e|0)<2){c[a+168>>2]=0;f=0;i=g;return f|0}si[c[164630]&511](36006,g);si[c[163840]&511](1,a+124|0);jda(631040,36160,c[a+124>>2]|0);d=vi[c[164541]&2047](36160)|0;jda(631040,36160,c[g>>2]|0);c[a+148>>2]=d;d=kda(631040)|0;e=c[157521]|0;if((e|0)==(a|0))e=d;else{if(e)d=c[e+124>>2]|0;jda(631040,36160,c[a+124>>2]|0);e=d}h=c[a+8>>2]|0;d=c[a+12>>2]|0;si[c[163719]&511](1,a+136|0);si[c[164317]&511](36161,c[a+136>>2]|0);qi[c[164341]&15](36161,c[a+168>>2]|0,b,h,d);kj[c[163673]&127](36160,36064,36161,c[a+136>>2]|0);$i[c[163927]&255](36161,36011,a+168|0);si[c[164317]&511](36161,0);d=vi[c[164541]&2047](36160)|0;if((d|0)==36053){ej[c[164438]&3](0.0,0.0,0.0,0.0);Hi[c[163811]&1023](16384);c[a+148>>2]=36053;d=c[a+132>>2]|0;si[c[164630]&511](36006,g);si[c[163840]&511](1,a+128|0);jda(631040,36160,c[a+128>>2]|0);if(d|0){qi[c[163820]&15](36160,36064,3553,d,0);ej[c[164438]&3](0.0,0.0,0.0,0.0);Hi[c[163811]&1023](16384)}h=vi[c[164541]&2047](36160)|0;jda(631040,36160,c[g>>2]|0);c[a+148>>2]=h;if((h|0)!=36053){d=a+128|0;f=12}}else{si[c[163979]&511](1,a+136|0);c[a+136>>2]=0;c[a+148>>2]=d;d=a+128|0;f=12}if((f|0)==12){si[c[163801]&511](1,a+124|0);si[c[163801]&511](1,d);si[c[163979]&511](1,a+136|0);c[d>>2]=0;c[a+136>>2]=0;c[a+124>>2]=0;c[a+168>>2]=0}if((c[157521]|0)!=(a|0))jda(631040,36160,e);h=(c[a+148>>2]|0)==36053;i=g;return h|0}function U6(a){a=a|0;var b=0,d=0;si[c[163801]&511](1,a+124|0);si[c[163801]&511](1,a+128|0);si[c[163979]&511](1,a+140|0);si[c[163979]&511](1,a+136|0);oda(631040,c[a+132>>2]|0);c[a+124>>2]=0;c[a+124+4>>2]=0;c[a+124+8>>2]=0;c[a+124+12>>2]=0;c[a+124+16>>2]=0;b=c[a+152>>2]|0;d=c[a+156>>2]|0;if((d|0)==(b|0)){a=a+172|0;d=c[a>>2]|0;wda(631040,d,0);c[a>>2]=0;return}c[a+156>>2]=d+(~((d+-4-b|0)>>>2)<<2);a=a+172|0;d=c[a>>2]|0;wda(631040,d,0);c[a>>2]=0;return}function V6(a){a=a|0;J6(a+-120|0);return}function W6(a){a=a|0;J6(a+-120|0);oAb(a+-120|0);return}function X6(a){a=a|0;return S6(a+-120|0)|0}function Y6(a){a=a|0;var b=0,d=0;b=a+-120+124|0;si[c[163801]&511](1,b);si[c[163801]&511](1,a+-120+128|0);si[c[163979]&511](1,a+-120+140|0);si[c[163979]&511](1,a+-120+136|0);oda(631040,c[a+-120+132>>2]|0);c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;c[b+16>>2]=0;b=c[a+-120+152>>2]|0;d=c[a+-120+156>>2]|0;if((d|0)==(b|0)){a=a+-120+172|0;d=c[a>>2]|0;wda(631040,d,0);c[a>>2]=0;return}c[a+-120+156>>2]=d+(~((d+-4-b|0)>>>2)<<2);a=a+-120+172|0;d=c[a>>2]|0;wda(631040,d,0);c[a>>2]=0;return}function Z6(){_6(630108,23340,136);return}function _6(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;a[b+8>>0]=0;a[b+20>>0]=0;a[b+32>>0]=0;a[b+44>>0]=0;a[b+56>>0]=0;a[b+68>>0]=0;a[b+80>>0]=0;a[b+92>>0]=0;a[b+104>>0]=0;a[b+116>>0]=0;a[b+128>>0]=0;a[b+140>>0]=0;a[b+152>>0]=0;a[b+164>>0]=0;a[b+176>>0]=0;a[b+188>>0]=0;a[b+200>>0]=0;a[b+212>>0]=0;a[b+224>>0]=0;a[b+236>>0]=0;a[b+248>>0]=0;a[b+260>>0]=0;a[b+272>>0]=0;a[b+284>>0]=0;a[b+296>>0]=0;a[b+308>>0]=0;a[b+320>>0]=0;a[b+332>>0]=0;a[b+344>>0]=0;a[b+356>>0]=0;a[b+368>>0]=0;a[b+380>>0]=0;a[b+392>>0]=0;a[b+404>>0]=0;f=b+408|0;g=f+68|0;do{c[f>>2]=0;f=f+4|0}while((f|0)<(g|0));if(!(e>>>3)){i=n;return}else l=0;do{j=c[d+(l<<3)>>2]|0;k=c[d+(l<<3)+4>>2]|0;f=a[j>>0]|0;if(!(f<<24>>24))g=5381;else{h=j;g=5381;do{h=h+1|0;g=(g*33|0)+(f<<24>>24)|0;f=a[h>>0]|0}while(f<<24>>24!=0)}h=0;do{f=((h+g|0)>>>0)%34|0;h=h+1|0;if(!(a[b+(f*12|0)+8>>0]|0)){m=8;break}}while(h>>>0<34);if((m|0)==8){m=0;a[b+(f*12|0)+8>>0]=1;c[b+(f*12|0)>>2]=j;c[b+(f*12|0)+4>>2]=k}if(k>>>0>16){c[n>>2]=j;c[n+4>>2]=k;vpb(441068,n)|0}else c[b+408+(k<<2)>>2]=j;l=l+1|0}while((l|0)!=(e>>>3|0));i=n;return}function $6(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;SC(a);Gga(a+120|0);c[a>>2]=23252;c[a+120>>2]=23324;c[a+124>>2]=0;c[a+124+4>>2]=0;c[a+124+8>>2]=0;c[a+124+12>>2]=0;c[a+124+16>>2]=0;c[a+144>>2]=e;c[a+152>>2]=0;c[a+156>>2]=0;c[a+160>>2]=0;c[a+164>>2]=f;c[a+168>>2]=0;c[a+172>>2]=0;c[a+8>>2]=b;c[a+12>>2]=d;g[a+40>>2]=0.0;g[a+44>>2]=0.0;g[a+60>>2]=0.0;g[a+64>>2]=+(d|0);g[a+80>>2]=+(b|0);g[a+84>>2]=0.0;g[a+100>>2]=+(b|0);g[a+104>>2]=+(d|0);g[a+48>>2]=0.0;g[a+52>>2]=0.0;g[a+68>>2]=0.0;g[a+72>>2]=1.0;g[a+88>>2]=1.0;g[a+92>>2]=0.0;g[a+108>>2]=1.0;g[a+112>>2]=1.0;S6(a)|0;c[157526]=(c[157526]|0)+1;return}function a7(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+96|0;b=c[157521]|0;if((b|0)==(a|0)){i=e;return}if(!b){eda(e+80|0,631040);c[157522]=c[e+80>>2];c[157523]=c[e+80+4>>2];c[157524]=c[e+80+8>>2];c[157525]=c[e+80+12>>2]}else K6(b,1);c[157521]=a;jda(631040,36160,c[a+124>>2]|0);c[e+64>>2]=0;c[e+64+4>>2]=0;c[e+64+8>>2]=c[a+8>>2];c[e+64+12>>2]=c[a+12>>2];cda(631040,e+64|0);Rua(e,0.0,+(c[a+8>>2]|0),0.0,+(c[a+12>>2]|0));b=c[157764]|0;if(b>>>0<(c[157765]|0)>>>0){a=e;d=b+64|0;do{c[b>>2]=c[a>>2];b=b+4|0;a=a+4|0}while((b|0)<(d|0));c[157764]=(c[157764]|0)+64}else b7(631052,e);i=e;return}function b7(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=c[a>>2]|0;e=((c[a+4>>2]|0)-j>>6)+1|0;if(e>>>0>67108863)jzb(a);d=(c[a+8>>2]|0)-j|0;if(d>>6>>>0<33554431){e=d>>5>>>0>>0?e:d>>5;d=c[a+4>>2]|0;if(!e){h=0;g=0;e=d-j>>6}else{f=d;d=d-j>>6;i=6}}else{d=c[a+4>>2]|0;e=67108863;f=d;d=d-j>>6;i=6}if((i|0)==6){h=e;g=YAb(e<<6)|0;e=d;d=f}i=g+(e<<6)|0;h=g+(h<<6)|0;g=i;f=g+64|0;do{c[g>>2]=c[b>>2];g=g+4|0;b=b+4|0}while((g|0)<(f|0));if((d|0)==(j|0)){e=i;b=j}else{b=i;e=i;do{d=d+-64|0;g=b+-64|0;b=d;f=g+64|0;do{c[g>>2]=c[b>>2];g=g+4|0;b=b+4|0}while((g|0)<(f|0));b=e+-64|0;e=b}while((d|0)!=(j|0));b=c[a>>2]|0;d=c[a+4>>2]|0}c[a>>2]=e;c[a+4>>2]=i+64;c[a+8>>2]=h;e=b;if((d|0)!=(e|0))do d=d+-64|0;while((d|0)!=(e|0));if(!b)return;oAb(b);return}function c7(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=i;i=i+64|0;j=((c[d+4>>2]|0)-(c[d>>2]|0)|0)!=((c[b+156>>2]|0)-(c[b+152>>2]|0)|0);f=c[b+144>>2]|0;switch(f|0){case 0:{if(zA()|0)f=16;else f=((a[1248844]|0)==0?1:(a[1249003]|a[1248845]|a[1249045])<<24>>24!=0)?7:2;break}case 1:{f=12;break}default:{}}h=(f|0)==16;f=(c[d+4>>2]|0)-(c[d>>2]|0)>>2;if(f|0){if((f|0)>=(tda(631040)|0)){b=nf(16)|0;c[t>>2]=((c[d+4>>2]|0)-(c[d>>2]|0)>>2)+1;ds(b,431856,t);zc(b|0,96,27)}if(c[b+168>>2]|0){b=nf(16)|0;ds(b,431912,t+8|0);zc(b|0,96,27)}}if((tda(631040)|0)>1)if(!((a[1248834]|a[1248845])<<24>>24))f=(a[1248876]|0)!=0;else f=1;else f=0;g=c[d>>2]|0;a:do if((c[d+4>>2]|0)==(g|0)){p=j;q=h}else{if(f){k=0;while(1){g=c[g+(k<<2)>>2]|0;g=vi[c[(c[g>>2]|0)+24>>2]&2047](g)|0;if((g|0)!=(c[b+8>>2]|0)){s=28;break}g=c[(c[d>>2]|0)+(k<<2)>>2]|0;g=vi[c[(c[g>>2]|0)+28>>2]&2047](g)|0;if((g|0)!=(c[b+12>>2]|0)){s=28;break}g=c[(c[d>>2]|0)+(k<<2)>>2]|0;f=c[g+144>>2]|0;if(c[g+168>>2]|0){s=32;break}if(j)j=1;else j=(g|0)!=(c[(c[b+152>>2]|0)+(k<<2)>>2]|0);switch(f|0){case 0:{if(zA()|0)f=16;else f=((a[1248844]|0)==0?1:(a[1249003]|a[1248845]|a[1249045])<<24>>24!=0)?7:2;break}case 1:{f=12;break}default:{}}f=h|(f|0)==16;k=k+1|0;g=c[d>>2]|0;if(k>>>0>=(c[d+4>>2]|0)-g>>2>>>0){p=j;q=f;break a}else h=f}if((s|0)==28){b=nf(16)|0;ds(b,431963,t+16|0);zc(b|0,96,27)}else if((s|0)==32){b=nf(16)|0;ds(b,431912,t+32|0);zc(b|0,96,27)}}else{l=g;m=j;n=h;o=0}while(1){l=c[l+(o<<2)>>2]|0;l=vi[c[(c[l>>2]|0)+24>>2]&2047](l)|0;if((l|0)!=(c[b+8>>2]|0)){s=28;break}l=c[(c[d>>2]|0)+(o<<2)>>2]|0;l=vi[c[(c[l>>2]|0)+28>>2]&2047](l)|0;if((l|0)!=(c[b+12>>2]|0)){s=28;break}g=c[(c[d>>2]|0)+(o<<2)>>2]|0;f=c[g+144>>2]|0;if((f|0)!=(c[b+144>>2]|0)){s=30;break}if(c[g+168>>2]|0){s=32;break}if(m)g=1;else g=(g|0)!=(c[(c[b+152>>2]|0)+(o<<2)>>2]|0);switch(f|0){case 0:{if(zA()|0)f=16;else f=((a[1248844]|0)==0?1:(a[1249003]|a[1248845]|a[1249045])<<24>>24!=0)?7:2;break}case 1:{f=12;break}default:{}}f=n|(f|0)==16;o=o+1|0;l=c[d>>2]|0;if(o>>>0>=(c[d+4>>2]|0)-l>>2>>>0){p=g;q=f;break a}else{m=g;n=f}}if((s|0)==28){b=nf(16)|0;ds(b,431963,t+16|0);zc(b|0,96,27)}else if((s|0)==30){b=nf(16)|0;ds(b,432007,t+24|0);zc(b|0,96,27)}else if((s|0)==32){b=nf(16)|0;ds(b,431912,t+32|0);zc(b|0,96,27)}}while(0);a7(b);do if((a[1248972]|a[1248826])<<24>>24){f=ida(631040)|0;if(q){if(f)break;hda(631040,1);break}else{if(!f)break;hda(631040,0);break}}while(0);if(!p){i=t;return}c[t+44>>2]=0;j=t+44+4|0;c[j>>2]=0;c[t+44+8>>2]=0;f=c[d+4>>2]|0;g=c[d>>2]|0;if(!((f-g>>2)+1|0)){c[t+40>>2]=36064;s=50}else{h=YAb((f-g>>2)+1<<2)|0;c[t+44>>2]=h;c[j>>2]=h;c[t+44+8>>2]=h+((f-g>>2)+1<<2);c[t+40>>2]=36064;if(h>>>0<(h+((f-g>>2)+1<<2)|0)>>>0){c[h>>2]=36064;c[j>>2]=h+4;e=g;r=f}else s=50}if((s|0)==50){Zx(t+44|0,t+40|0);e=c[d>>2]|0;r=c[d+4>>2]|0}if((r-e|0)>0){g=0;do{f=g+36065|0;e=c[e+(g<<2)>>2]|0;e=c[(vi[c[(c[e>>2]|0)+52>>2]&2047](e)|0)>>2]|0;qi[c[163820]&15](36160,f,3553,e,0);c[t+36>>2]=f;e=c[j>>2]|0;if(e>>>0<(c[t+44+8>>2]|0)>>>0){c[e>>2]=f;c[j>>2]=e+4}else Zx(t+44|0,t+36|0);g=g+1|0;e=c[d>>2]|0}while((g|0)<((c[d+4>>2]|0)-e>>2|0))}s=c[t+44>>2]|0;si[c[164089]&511]((c[j>>2]|0)-s>>2,s);if((b+152|0)!=(d|0))d7(b+152|0,c[d>>2]|0,c[d+4>>2]|0);e=c[t+44>>2]|0;if(e|0){f=c[j>>2]|0;if((f|0)!=(e|0))c[j>>2]=f+(~((f+-4-e|0)>>>2)<<2);oAb(e)}i=t;return}function d7(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;e=c[a+8>>2]|0;g=c[a>>2]|0;if(d-b>>2>>>0<=e-g>>2>>>0){e=(c[a+4>>2]|0)-g>>2;f=d-b>>2>>>0>e>>>0?b+(e<<2)|0:d;nBb(g|0,b|0,f-b|0)|0;if(d-b>>2>>>0<=e>>>0){e=c[a+4>>2]|0;if((e|0)==(g+(f-b>>2<<2)|0))return;c[a+4>>2]=e+(~((e+-4-(g+(f-b>>2<<2))|0)>>>2)<<2);return}if((f|0)==(d|0))return;e=b+(e<<2)|0;b=c[a+4>>2]|0;do{c[b>>2]=c[e>>2];b=(c[a+4>>2]|0)+4|0;c[a+4>>2]=b;e=e+4|0}while((e|0)!=(d|0));return}if(g){e=c[a+4>>2]|0;if((e|0)!=(g|0))c[a+4>>2]=e+(~((e+-4-g|0)>>>2)<<2);oAb(g);c[a+8>>2]=0;c[a+4>>2]=0;c[a>>2]=0;e=0}if(d-b>>2>>>0>1073741823)jzb(a);e=e-0|0;if(e>>2>>>0<536870911){e=e>>1>>>0>2>>>0?d-b>>2:e>>1;if(e>>>0>1073741823)jzb(a);else f=e}else f=1073741823;e=YAb(f<<2)|0;c[a+4>>2]=e;c[a>>2]=e;c[a+8>>2]=e+(f<<2);if((b|0)==(d|0))return;do{c[e>>2]=c[b>>2];e=(c[a+4>>2]|0)+4|0;c[a+4>>2]=e;b=b+4|0}while((b|0)!=(d|0));return}function e7(b){b=b|0;switch(b|0){case 0:{if(zA()|0){b=16;return b|0}b=((a[1248844]|0)==0?1:(a[1249003]|a[1248845]|a[1249045])<<24>>24!=0)?7:2;return b|0}case 1:{b=12;return b|0}default:return b|0}return 0}function f7(){var b=0;if((tda(631040)|0)<=1){b=0;return b|0}if((a[1248834]|a[1248845])<<24>>24){b=1;return b|0}b=(a[1248876]|0)!=0;return b|0}function g7(b){b=b|0;var d=0,e=0;a7(b);do if((a[1248972]|a[1248826])<<24>>24){switch(c[b+144>>2]|0){case 0:{if(zA()|0)d=4;else d=6;break}case 16:{d=4;break}default:d=6}if((d|0)==4){if(ida(631040)|0)break;hda(631040,1);break}else if((d|0)==6){if(!(ida(631040)|0))break;hda(631040,0);break}}while(0);if((c[b+156>>2]|0)==(c[b+152>>2]|0))return;Hi[c[163911]&1023](36064);d=c[b+152>>2]|0;e=c[b+156>>2]|0;if((e|0)==(d|0))return;c[b+156>>2]=e+(~((e+-4-d|0)>>>2)<<2);return}function h7(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;if(c[b+140>>2]|0){b=1;return b|0}if((c[157521]|0)!=(b|0))jda(631040,36160,c[b+124>>2]|0);e=(a[1248834]|a[1248845]|a[1248876]|a[1248960]|a[1249001])<<24>>24==0;d=e?36168:35056;si[c[163719]&511](1,b+140|0);si[c[164317]&511](36161,c[b+140>>2]|0);f=c[b+164>>2]|0;g=c[b+8>>2]|0;h=c[b+12>>2]|0;if((f|0)>1)qi[c[164341]&15](36161,f,d,g,h);else kj[c[163747]&127](36161,d,g,h);kj[c[163673]&127](36160,e?36128:33306,36161,c[b+140>>2]|0);si[c[164317]&511](36161,0);d=(vi[c[164541]&2047](36160)|0)==36053;if(d)Hi[c[163811]&1023](1280);else{si[c[163979]&511](1,b+140|0);c[b+140>>2]=0}e=c[157521]|0;if((e|0)!=0&(e|0)!=(b|0)){jda(631040,36160,c[e+124>>2]|0);b=d;return b|0}if(e|0){b=d;return b|0}jda(631040,36160,kda(631040)|0);b=d;return b|0}function i7(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0;m=i;i=i+16|0;if((f|e|0)<0|(g|0)<1|(h|0)<1){g=nf(16)|0;ds(g,432089,m);zc(g|0,96,27)}k=c[b+8>>2]|0;if((g+e|0)>(k|0)){g=nf(16)|0;ds(g,432089,m);zc(g|0,96,27)}j=c[b+12>>2]|0;if((h+f|0)>(j|0)){g=nf(16)|0;ds(g,432089,m);zc(g|0,96,27)}l=_(g<<2,h)|0;l=_Ab((l|0)>-1?l:-1)|0;do if((c[157521]|0)==(b|0))if(c[b+128>>2]|0)if(c[b+136>>2]|0){jda(631040,36008,c[b+124>>2]|0);jda(631040,36009,c[b+128>>2]|0);if(!(a[1249038]|0)){Wi[c[163768]&0](0,0,k,j,0,0,k,j,16384,9728);break}else{gj[c[165372]&15]();break}}while(0);j=c[b+128>>2]|0;if(!j)jda(631040,36160,c[b+124>>2]|0);else jda(631040,36008,j);Ti[c[164337]&7](e,f,g,h,6408,5121,l);j=c[157521]|0;if(!j){f=kda(631040)|0;jda(631040,36160,f);f=c[d>>2]|0;f=f+32|0;f=c[f>>2]|0;g=Ci[f&127](d,g,h,l,1)|0;i=m;return g|0}else{f=c[j+124>>2]|0;jda(631040,36160,f);f=c[d>>2]|0;f=f+32|0;f=c[f>>2]|0;g=Ci[f&127](d,g,h,l,1)|0;i=m;return g|0}return 0}function j7(){return (a[1248834]|a[1248844]|a[1248876]|a[1248948])<<24>>24!=0|0}function k7(b){b=b|0;var d=0,e=0,f=0,h=0,j=0,k=0;k=i;i=i+48|0;d=a[1248844]|0;if(!((a[1248834]|d|a[1248876]|a[1248948])<<24>>24)){j=0;i=k;return j|0}switch(b|0){case 0:{if(zA()|0)j=28;else{d=a[1248844]|0;b=(d<<24>>24==0?1:(a[1249003]|a[1248845]|a[1249045])<<24>>24!=0)?7:2;j=5}break}case 1:{j=20;break}default:j=5}a:do if((j|0)==5)switch(b|0){case 3:case 2:break a;case 12:{j=20;break a}case 16:{j=28;break a}case 4:{if(!((a[1248840]|d|a[1248871])<<24>>24))d=0;else{b=4;break a}i=k;return d|0}case 6:case 5:{if(a[1248826]|0){if(!((a[1248915]|a[1248834])<<24>>24))d=0;else break a;i=k;return d|0}if(!(d<<24>>24))break a;if(!((a[1248985]|a[1248845])<<24>>24))d=0;else break a;i=k;return d|0}case 7:{if(!((a[1248845]|a[1248826]|a[1249003]|a[1249045])<<24>>24))d=0;else{b=7;break a}i=k;return d|0}case 8:{if(!((a[1248826]|a[1248845])<<24>>24))d=0;else{b=8;break a}i=k;return d|0}case 9:{if(!((a[1248961]|a[1248834]|a[1249033])<<24>>24))d=0;else{b=9;break a}i=k;return d|0}case 11:case 10:{if(a[1248826]|0){if(a[1248834]|0)break a;if((a[1248913]|0)!=0&(a[1248915]|0)!=0)break a;else d=0;i=k;return d|0}if(!(a[1248934]|0)){j=0;i=k;return j|0}if(a[1248845]|0)break a;if((a[1249009]|0)!=0&(a[1248985]|0)!=0)break a;else d=0;i=k;return d|0}case 14:case 13:{if(a[1248834]|0)break a;if((a[1248913]|0)!=0&(a[1248915]|0)!=0)break a;else d=0;i=k;return d|0}case 15:{if(!((a[1248913]|a[1248834])<<24>>24))d=0;else{b=15;break a}i=k;return d|0}default:{j=0;i=k;return j|0}}while(0);do if((j|0)==20){if(a[1248826]|0){if(!((a[1248913]|a[1248834])<<24>>24))d=0;else{b=12;break}i=k;return d|0}if(!(d<<24>>24))b=12;else{if(!(a[1248934]|0)){j=0;i=k;return j|0}if(!((a[1249009]|a[1248845])<<24>>24)){j=0;i=k;return j|0}else b=12}}else if((j|0)==28){if(!(a[1248826]|0)){if(!((a[1248971]|a[1248845])<<24>>24))d=0;else{b=16;break}i=k;return d|0}if(!(a[1248834]|0)){if(!((a[1248949]|a[1248877])<<24>>24)){j=0;i=k;return j|0}if(!((a[1248986]|a[1248833])<<24>>24)){j=0;i=k;return j|0}else b=16}else b=16}while(0);h=1248745+b|0;if(a[h>>0]|0){j=(a[1248728+b>>0]|0)!=0;i=k;return j|0}switch(b|0){case 0:{if(zA()|0)j=55;else{d=((a[1248844]|0)==0?1:(a[1249003]|a[1248845]|a[1249045])<<24>>24!=0)?7:2;j=38}break}case 1:{j=50;break}default:{d=b;j=38}}b:do if((j|0)==38)do switch(d|0){case 2:{d=6408;e=32854;f=32819;break b}case 16:{j=55;break b}case 12:{j=50;break b}case 3:{d=6408;e=32855;f=32820;break b}case 4:{d=6407;e=36194;f=33635;break b}case 5:{d=6403;e=33321;f=5121;break b}case 6:{d=33319;e=33323;f=5121;break b}case 8:{d=6408;e=32857;f=33640;break b}case 9:{d=6407;e=35898;f=35899;break b}case 10:{if(a[1249009]|0){d=6403;e=33325;f=36193;break b}d=6403;e=33325;f=(a[1248826]|0)==0?5131:5126;break b}case 11:{if(a[1249009]|0){d=33319;e=33327;f=36193;break b}d=33319;e=33327;f=(a[1248826]|0)==0?5131:5126;break b}case 13:{d=6403;e=33326;f=5126;break b}case 14:{d=33319;e=33328;f=5126;break b}case 15:{d=6408;e=34836;f=5126;break b}default:{d=6408;e=32856;f=5121;break b}}while(0);while(0);if((j|0)==50)if(!(a[1249009]|0)){d=6408;e=34842;f=(a[1248826]|0)==0?5131:5126}else{d=6408;e=34842;f=36193}else if((j|0)==55){d=(a[1248844]|0)==0|(a[1248845]|0)!=0?6408:35906;e=35907;f=5121}j=(a[1248844]|0)==0|(a[1248845]|0)!=0?e:d;c[k+32>>2]=0;si[c[163965]&511](1,k+32|0);Wca(631040,c[k+32>>2]|0);c[k+16+8>>2]=0;g[k+16+12>>2]=1.0;c[k+16+4>>2]=2;c[k+16>>2]=2;pda(631040,k+16|0);c[k+8>>2]=0;c[k+8+4>>2]=0;qda(631040,k+8|0);Vi[c[164645]&15](3553,0,j,2,2,0,d,f,0);c[k>>2]=0;d=c[k+32>>2]|0;si[c[164630]&511](36006,k+36|0);si[c[163840]&511](1,k);jda(631040,36160,c[k>>2]|0);if(d|0){qi[c[163820]&15](36160,36064,3553,d,0);ej[c[164438]&3](0.0,0.0,0.0,0.0);Hi[c[163811]&1023](16384)}j=vi[c[164541]&2047](36160)|0;jda(631040,36160,c[k+36>>2]|0);si[c[163801]&511](1,k);oda(631040,c[k+32>>2]|0);a[h>>0]=1;a[1248728+b>>0]=(j|0)==36053&1;j=(j|0)==36053;i=k;return j|0}function l7(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=a[b>>0]|0;if(!(e<<24>>24))f=5381;else{g=b;f=5381;do{g=g+1|0;f=(f*33|0)+(e<<24>>24)|0;e=a[g>>0]|0}while(e<<24>>24!=0)}j=0;while(1){i=((j+f|0)>>>0)%34|0;if(!(a[630108+(i*12|0)+8>>0]|0)){e=1;f=0;k=11;break}g=c[630108+(i*12|0)>>2]|0;h=a[g>>0]|0;a:do if(!(h<<24>>24)){e=b;k=8}else{e=b;while(1){l=a[e>>0]|0;if(!(l<<24>>24?h<<24>>24==l<<24>>24:0))break a;g=g+1|0;e=e+1|0;h=a[g>>0]|0;if(!(h<<24>>24)){k=8;break}}}while(0);if((k|0)==8){k=0;if(!(a[e>>0]|0)){k=9;break}}j=j+1|0;if(j>>>0>=34){e=0;f=0;k=11;break}}if((k|0)==9){c[d>>2]=c[630108+(i*12|0)+4>>2];k=1;l=1;l=k&l;return l|0}else if((k|0)==11){l=e&f;return l|0}return 0}function m7(a,b){a=a|0;b=b|0;if(a>>>0>16)a=0;else{a=c[630516+(a<<2)>>2]|0;if(!a)a=0;else{c[b>>2]=a;a=1}}return a|0}function n7(a){a=a|0;var b=0,d=0,e=0;c[a>>2]=23484;c[a+8>>2]=23516;o7(a);c[157646]=(c[157646]|0)+-1;S8(a+128|0);b=c[a+80>>2]|0;if(b|0)do{e=b;b=c[b>>2]|0;oAb(e)}while((b|0)!=0);b=c[a+72>>2]|0;c[a+72>>2]=0;if(b|0)oAb(b);b=c[a+60>>2]|0;if(b|0)do{e=b;b=c[b>>2]|0;oAb(e)}while((b|0)!=0);b=c[a+52>>2]|0;c[a+52>>2]=0;if(b|0)oAb(b);b=c[a+40>>2]|0;if(b|0){d=c[a+44>>2]|0;if((d|0)!=(b|0))c[a+44>>2]=d+(~((d+-4-b|0)>>>2)<<2);oAb(b)}b=c[a+12>>2]|0;if(!b){Cga(a+8|0);return}d=c[a+16>>2]|0;if((d|0)!=(b|0)){do{d=d+-4|0;c[a+16>>2]=d;e=c[d>>2]|0;if(e){Hi[c[(c[e>>2]|0)+12>>2]&1023](e);d=c[a+16>>2]|0}}while((d|0)!=(b|0));b=c[a+12>>2]|0}oAb(b);Cga(a+8|0);return}function o7(a){a=a|0;var b=0,d=0;if(c[a+64>>2]|0){b=c[a+60>>2]|0;if(b|0)do{d=b;b=c[b>>2]|0;oAb(d)}while((b|0)!=0);c[a+60>>2]=0;b=c[a+56>>2]|0;if(b|0){d=0;do{c[(c[a+52>>2]|0)+(d<<2)>>2]=0;d=d+1|0}while((d|0)!=(b|0))}c[a+64>>2]=0}b=c[a+40>>2]|0;d=c[a+44>>2]|0;if((b|0)!=(d|0)){do{oda(631040,c[b>>2]|0);b=b+4|0}while((b|0)!=(d|0));b=c[a+40>>2]|0;d=c[a+44>>2]|0;if((d|0)!=(b|0))c[a+44>>2]=d+(~((d+-4-b|0)>>>2)<<2)}wda(631040,c[a+136>>2]|0,0);c[a+136>>2]=0;return}function p7(a){a=a|0;n7(a);oAb(a);return}function q7(a){a=a|0;r7(a);c[a+132>>2]=(c[a+132>>2]|0)+1;return 1}function r7(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+32|0;k=(c[b+92>>2]|0)==0;n=k?6410:6408;k=k?2:4;d=c[b+136>>2]|0;if(!d)m=b+36|0;else{m=d-(_(_(c[b+32>>2]|0,k)|0,c[b+36>>2]|0)|0)|0;c[b+136>>2]=m;wda(631040,d,m);m=b+36|0}c[o+28>>2]=0;g=c[b+32>>2]|0;h=c[m>>2]|0;l=sda(631040)|0;l=(l|0)<4096?l:4096;do if((g<<1|0)>(l|0)&(h<<1|0)>(l|0))j=10;else{if((g|0)==(h|0))if((g<<1|0)>(g|0)){d=g<<1;f=g}else{d=g<<1;e=g;j=7}else{d=g;e=h<<1;j=7}if((j|0)==7)if((e|0)>(h|0))f=e;else{j=10;break}e=c[b+44>>2]|0;if((c[b+40>>2]|0)==(e|0))j=10;else{e=c[e+-4>>2]|0;c[o+28>>2]=e;l=1;g=d;h=f}}while(0);if((j|0)==10){si[c[163965]&511](1,o+28|0);e=c[o+28>>2]|0;l=0}Wca(631040,e);pda(631040,b+96|0);$i[c[164151]&255](3553,10242,33071);$i[c[164151]&255](3553,10243,33071);f=(a[1248844]|0)==0?((c[b+92>>2]|0)==0?32837:32856):n;d=_(_(g,k)|0,h)|0;c[o+16>>2]=0;j=o+16+4|0;c[j>>2]=0;c[o+16+8>>2]=0;if(d|0){if((d|0)<0)jzb(o+16|0);e=YAb(d)|0;c[j>>2]=e;c[o+16>>2]=e;c[o+16+8>>2]=e+d;do{a[e>>0]=0;e=(c[j>>2]|0)+1|0;c[j>>2]=e;d=d+-1|0}while((d|0)!=0)}do{}while((dj[c[164614]&7]()|0)!=0);Vi[c[164645]&15](3553,0,f,g,h,0,n,5121,c[o+16>>2]|0);if(dj[c[164614]&7]()|0){if(l){b=nf(16)|0;ds(b,432158,o);zc(b|0,96,27)}oda(631040,c[o+28>>2]|0);b=nf(16)|0;ds(b,432158,o);zc(b|0,96,27)}c[b+32>>2]=g;c[m>>2]=h;c[b+116>>2]=1;c[b+112>>2]=1;c[b+120>>2]=1;m=c[b+136>>2]|0;n=(c[j>>2]|0)-(c[o+16>>2]|0)+m|0;c[b+136>>2]=n;wda(631040,m,n);do if(l){c[b+132>>2]=(c[b+132>>2]|0)+1;c[o+4>>2]=0;h=o+4+4|0;c[h>>2]=0;c[o+4+8>>2]=0;d=c[b+60>>2]|0;a:do if(d|0){f=0;g=0;while(1){e=d+8|0;if((f|0)==(g|0))s7(o+4|0,e);else{c[f>>2]=c[e>>2];c[h>>2]=f+4}d=c[d>>2]|0;if(!d)break a;f=c[h>>2]|0;g=c[o+4+8>>2]|0}}while(0);if(c[b+64>>2]|0){d=c[b+60>>2]|0;if(d|0)do{n=d;d=c[d>>2]|0;oAb(n)}while((d|0)!=0);c[b+60>>2]=0;d=c[b+56>>2]|0;if(d|0){e=0;do{c[(c[b+52>>2]|0)+(e<<2)>>2]=0;e=e+1|0}while((e|0)!=(d|0))}c[b+64>>2]=0}d=c[o+4>>2]|0;e=c[h>>2]|0;if((d|0)!=(e|0)){do{t7(b,c[d>>2]|0)|0;d=d+4|0}while((d|0)!=(e|0));d=c[o+4>>2]|0}e=d;if(d|0){f=c[h>>2]|0;if((f|0)!=(d|0))c[h>>2]=f+(~((f+-4-e|0)>>>2)<<2);oAb(d)}}else{d=c[b+44>>2]|0;if((d|0)==(c[b+48>>2]|0)){s7(b+40|0,o+28|0);break}else{c[d>>2]=c[o+28>>2];c[b+44>>2]=d+4;break}}while(0);d=c[o+16>>2]|0;if(!d){i=o;return}if((c[j>>2]|0)!=(d|0))c[j>>2]=d;oAb(d);i=o;return}function s7(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=c[a>>2]|0;d=((c[a+4>>2]|0)-j>>2)+1|0;if(d>>>0>1073741823)jzb(a);e=(c[a+8>>2]|0)-j|0;if(e>>2>>>0<536870911){d=e>>1>>>0>>0?d:e>>1;f=c[a+4>>2]|0;if(!d){i=0;g=0;e=f-j>>2;d=f}else{h=f;e=f-j>>2;k=6}}else{e=c[a+4>>2]|0;d=1073741823;h=e;e=e-j>>2;k=6}if((k|0)==6){i=d;g=YAb(d<<2)|0;d=h}k=g+(e<<2)|0;c[k>>2]=c[b>>2];b=d-j|0;mBb(k+(0-(b>>2)<<2)|0,j|0,b|0)|0;c[a>>2]=k+(0-(b>>2)<<2);c[a+4>>2]=k+4;c[a+8>>2]=g+(i<<2);if(!j)return;oAb(j);return}function t7(d,e){d=d|0;e=e|0;var f=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0.0,q=0.0,r=0.0,s=0.0,t=0,u=0;o=i;i=i+144|0;j=u7(d,e)|0;k=vi[c[(c[j>>2]|0)+28>>2]&2047](j)|0;l=vi[c[(c[j>>2]|0)+24>>2]&2047](j)|0;if(((c[d+112>>2]|0)+k|0)<(c[d+32>>2]|0)){h=d+116|0;f=c[d+116>>2]|0}else{c[d+112>>2]=1;f=(c[d+116>>2]|0)+(c[d+120>>2]|0)|0;c[d+116>>2]=f;c[d+120>>2]=1;h=d+116|0}if((f+l|0)>=(c[d+36>>2]|0))r7(d);c[o>>2]=0;c[o+4>>2]=g6(j)|0;m=o+8|0;n=m+64|0;do{c[m>>2]=0;m=m+4|0}while((m|0)<(n|0));if((k|0)>0&(l|0)>0){n=c[(c[d+44>>2]|0)+-4>>2]|0;Wca(631040,n);u=c[d+112>>2]|0;t=c[h>>2]|0;f=(c[d+92>>2]|0)==0?6410:6408;m=vi[c[(c[j>>2]|0)+16>>2]&2047](j)|0;Vi[c[164235]&15](3553,0,u,t,k,l,f,5121,m);c[o>>2]=n;s=+(c[d+112>>2]|0);q=+(c[h>>2]|0);r=+(c[d+32>>2]|0);p=+(c[d+36>>2]|0);g[o+72>>2]=0.0;g[o+72+4>>2]=0.0;b[o+72+8>>1]=~~(s/r*65535.0);b[o+72+10>>1]=~~(q/p*65535.0);c[o+72+12>>2]=-1;g[o+72+16>>2]=0.0;g[o+72+20>>2]=+(l|0);b[o+72+24>>1]=~~(s/r*65535.0);b[o+72+26>>1]=~~((+(l|0)+q)/p*65535.0);c[o+72+28>>2]=-1;g[o+72+32>>2]=+(k|0);g[o+72+36>>2]=0.0;b[o+72+40>>1]=~~((+(k|0)+s)/r*65535.0);b[o+72+42>>1]=~~(q/p*65535.0);c[o+72+44>>2]=-1;g[o+72+48>>2]=+(k|0);g[o+72+52>>2]=+(l|0);b[o+72+56>>1]=~~((+(k|0)+s)/r*65535.0);b[o+72+58>>1]=~~((+(l|0)+q)/p*65535.0);c[o+72+60>>2]=-1;c[o+8>>2]=c[o+72>>2];c[o+8+4>>2]=c[o+72+4>>2];c[o+8+8>>2]=c[o+72+8>>2];c[o+8+12>>2]=c[o+72+12>>2];p=+(h6(j)|0);g[o+8>>2]=+g[o+8>>2]+p;p=+(i6(j)|0);g[o+12>>2]=+g[o+12>>2]-p;c[o+24>>2]=c[o+72+16>>2];c[o+24+4>>2]=c[o+72+16+4>>2];c[o+24+8>>2]=c[o+72+16+8>>2];c[o+24+12>>2]=c[o+72+16+12>>2];p=+(h6(j)|0);g[o+24>>2]=+g[o+24>>2]+p;p=+(i6(j)|0);g[o+28>>2]=+g[o+28>>2]-p;c[o+40>>2]=c[o+72+32>>2];c[o+40+4>>2]=c[o+72+32+4>>2];c[o+40+8>>2]=c[o+72+32+8>>2];c[o+40+12>>2]=c[o+72+32+12>>2];p=+(h6(j)|0);g[o+40>>2]=+g[o+40>>2]+p;p=+(i6(j)|0);g[o+44>>2]=+g[o+44>>2]-p;c[o+56>>2]=c[o+72+48>>2];c[o+56+4>>2]=c[o+72+48+4>>2];c[o+56+8>>2]=c[o+72+48+8>>2];c[o+56+12>>2]=c[o+72+48+12>>2];p=+(h6(j)|0);g[o+56>>2]=+g[o+56>>2]+p;p=+(i6(j)|0);g[o+60>>2]=+g[o+60>>2]-p}if((k|0)>0)c[d+112>>2]=k+1+(c[d+112>>2]|0);if((l|0)>0){u=c[d+120>>2]|0;c[d+120>>2]=(u|0)<(l+1|0)?l+1|0:u}Hi[c[(c[j>>2]|0)+12>>2]&1023](j);f=YAb(84)|0;c[f+8>>2]=e;m=f+12|0;h=o;n=m+72|0;do{c[m>>2]=c[h>>2];m=m+4|0;h=h+4|0}while((m|0)<(n|0));c[f+4>>2]=e;c[f>>2]=0;v7(o+72|0,d+52|0,f);if(a[o+72+4>>0]|0){u=c[o+72>>2]|0;u=u+12|0;i=o;return u|0}oAb(f);u=c[o+72>>2]|0;u=u+12|0;i=o;return u|0}function u7(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;h=i;i=i+48|0;if((d|0)==9)if(a[b+124>>0]|0){d=c[c[b+12>>2]>>2]|0;d=Xi[c[(c[d>>2]|0)+36>>2]&511](d,32)|0;g=n6(d)|0;e=(g6(d)|0)<<2;f=h6(d)|0;b=i6(d)|0;Hi[c[(c[d>>2]|0)+12>>2]&1023](d);d=YAb(40)|0;c[h>>2]=0;c[h+4>>2]=0;c[h+8>>2]=e;c[h+12>>2]=f;c[h+16>>2]=b;c[h+20>>2]=c[h>>2];c[h+20+4>>2]=c[h+4>>2];c[h+20+8>>2]=c[h+8>>2];c[h+20+12>>2]=c[h+12>>2];c[h+20+16>>2]=c[h+16>>2];c6(d,9,h+20|0,g);i=h;return d|0}e=c[b+12>>2]|0;f=c[b+16>>2]|0;do if((e|0)!=(f|0)){while(1){j=c[e>>2]|0;if(Xi[c[(c[j>>2]|0)+48>>2]&511](j,d)|0)break;e=e+4|0;if((e|0)==(f|0)){g=8;break}}if((g|0)==8){e=c[b+12>>2]|0;break}j=c[e>>2]|0;j=Xi[c[(c[j>>2]|0)+36>>2]&511](j,d)|0;i=h;return j|0}while(0);j=c[e>>2]|0;j=Xi[c[(c[j>>2]|0)+36>>2]&511](j,d)|0;i=h;return j|0}function v7(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,h=0,i=0.0,j=0.0,k=0,l=0;k=c[e+8>>2]|0;c[e+4>>2]=k;l=c[d+4>>2]|0;a:do if(!l)h=0;else{if(!(l+-1&l))h=l+-1&k;else h=(k>>>0)%(l>>>0)|0;f=c[(c[d>>2]|0)+(h<<2)>>2]|0;if(f)if(!(l+-1&l)){while(1){f=c[f>>2]|0;if(!f)break a;if((c[f+4>>2]&l+-1|0)!=(h|0))break a;if((c[f+8>>2]|0)==(k|0)){h=0;break}}d=f;c[b>>2]=d;b=b+4|0;a[b>>0]=h;return}else{while(1){f=c[f>>2]|0;if(!f)break a;if((((c[f+4>>2]|0)>>>0)%(l>>>0)|0|0)!=(h|0))break a;if((c[f+8>>2]|0)==(k|0)){h=0;break}}d=f;c[b>>2]=d;b=b+4|0;a[b>>0]=h;return}}while(0);i=+(((c[d+12>>2]|0)+1|0)>>>0);j=+g[d+16>>2];do if((l|0)==0|i>+(l>>>0)*j){if(l>>>0>2)f=(l+-1&l|0)==0;else f=0;f=(f&1|l<<1)^1;h=~~+Z(+(i/j))>>>0;w7(d,f>>>0>>0?h:f);f=c[d+4>>2]|0;h=c[e+4>>2]|0;if(!(f+-1&f)){k=f;h=f+-1&h;break}else{k=f;h=(h>>>0)%(f>>>0)|0;break}}else k=l;while(0);f=c[(c[d>>2]|0)+(h<<2)>>2]|0;if(!f){c[e>>2]=c[d+8>>2];c[d+8>>2]=e;c[(c[d>>2]|0)+(h<<2)>>2]=d+8;f=c[e>>2]|0;if(f|0){f=c[f+4>>2]|0;h=k+-1|0;if(!(h&k))f=f&h;else f=(f>>>0)%(k>>>0)|0;c[(c[d>>2]|0)+(f<<2)>>2]=e}}else{c[e>>2]=c[f>>2];c[f>>2]=e}c[d+12>>2]=(c[d+12>>2]|0)+1;d=1;c[b>>2]=e;b=b+4|0;a[b>>0]=d;return}function w7(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if((b|0)==1)b=2;else if(b+-1&b)b=Eqb(b)|0;f=c[a+4>>2]|0;if(b>>>0>f>>>0){x7(a,b);return}if(b>>>0>=f>>>0)return;if(f>>>0>2)e=(f+-1&f|0)==0;else e=0;d=~~+Z(+(+((c[a+12>>2]|0)>>>0)/+g[a+16>>2]))>>>0;if(e)d=1<<32-(aa(d+-1|0)|0);else d=Eqb(d)|0;b=b>>>0>>0?d:b;if(b>>>0>=f>>>0)return;x7(a,b);return}function x7(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;if(!b){d=c[a>>2]|0;c[a>>2]=0;if(d|0)oAb(d);c[a+4>>2]=0;return}k=YAb(b<<2)|0;d=c[a>>2]|0;c[a>>2]=k;if(d|0)oAb(d);c[a+4>>2]=b;d=0;do{c[(c[a>>2]|0)+(d<<2)>>2]=0;d=d+1|0}while((d|0)!=(b|0));f=c[a+8>>2]|0;if(!f)return;d=c[f+4>>2]|0;if(!(b+-1&b))e=d&b+-1;else e=(d>>>0)%(b>>>0)|0;c[(c[a>>2]|0)+(e<<2)>>2]=a+8;d=c[f>>2]|0;if(!d)return;else g=f;a:while(1){b:do if(!(b+-1&b)){k=g;j=f;while(1){while(1){i=c[d+4>>2]&b+-1;if((i|0)==(e|0)){f=d;break}f=(c[a>>2]|0)+(i<<2)|0;if(!(c[f>>2]|0)){e=i;h=d;d=j;break b}h=d+8|0;f=d;while(1){g=c[f>>2]|0;if(!g)break;if((c[h>>2]|0)==(c[g+8>>2]|0))f=g;else break}c[j>>2]=g;c[f>>2]=c[c[(c[a>>2]|0)+(i<<2)>>2]>>2];c[c[(c[a>>2]|0)+(i<<2)>>2]>>2]=d;d=c[k>>2]|0;if(!d){d=32;break a}}d=c[f>>2]|0;if(!d){d=32;break a}else{k=f;j=f}}}else{k=g;j=f;while(1){while(1){i=((c[d+4>>2]|0)>>>0)%(b>>>0)|0;if((i|0)==(e|0)){f=d;break}f=(c[a>>2]|0)+(i<<2)|0;if(!(c[f>>2]|0)){e=i;h=d;d=j;break b}h=d+8|0;f=d;while(1){g=c[f>>2]|0;if(!g)break;if((c[h>>2]|0)==(c[g+8>>2]|0))f=g;else break}c[j>>2]=g;c[f>>2]=c[c[(c[a>>2]|0)+(i<<2)>>2]>>2];c[c[(c[a>>2]|0)+(i<<2)>>2]>>2]=d;d=c[k>>2]|0;if(!d){d=32;break a}}d=c[f>>2]|0;if(!d){d=32;break a}else{k=f;j=f}}}while(0);c[f>>2]=d;d=c[h>>2]|0;if(!d){d=32;break}else{g=h;f=h}}if((d|0)==32)return}function y7(a){a=a|0;n7(a+-8|0);return}function z7(a){a=a|0;n7(a+-8|0);oAb(a+-8|0);return}function A7(a){a=a|0;r7(a+-8|0);c[a+-8+132>>2]=(c[a+-8+132>>2]|0)+1;return 1}function B7(a){a=a|0;o7(a+-8|0);return}function C7(){a[630596]=0;a[630608]=0;a[630620]=0;a[630632]=0;a[630644]=0;a[630656]=0;a[630668]=0;a[630680]=0;c[157671]=0;c[157672]=0;c[157673]=0;c[157674]=0;D7(630588,439856,0)|0;D7(630588,439850,2)|0;D7(630588,432189,1)|0;D7(630588,432196,3)|0;return}function D7(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;f=a[d>>0]|0;if(!(f<<24>>24))g=5381;else{h=d;g=5381;do{h=h+1|0;g=(g*33|0)+(f<<24>>24)|0;f=a[h>>0]|0}while(f<<24>>24!=0)}f=g&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+1&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+2&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+3&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+4&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+5&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+6&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+7&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else f=0}}}}}}}if((j|0)==5){a[f>>0]=1;c[b+(g*12|0)>>2]=d;c[b+(g*12|0)+4>>2]=e;f=1}if(e>>>0>3){c[k>>2]=d;c[k+4>>2]=e;vpb(441068,k)|0;j=0;i=k;return j|0}else{c[b+96+(e<<2)>>2]=d;j=f;i=k;return j|0}return 0}function E7(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,h=0,i=0,j=0.0,k=0;Jj(b);Gga(b+8|0);c[b>>2]=23484;c[b+8>>2]=23516;if(d|0)Hi[c[(c[d>>2]|0)+8>>2]&1023](d);c[b+12>>2]=0;c[b+16>>2]=0;c[b+20>>2]=0;f=YAb(4)|0;c[b+16>>2]=f;c[b+12>>2]=f;c[b+20>>2]=f+4;c[f>>2]=d;if(!d)c[b+16>>2]=f+4;else{Hi[c[(c[d>>2]|0)+8>>2]&1023](d);c[b+16>>2]=(c[b+16>>2]|0)+4;Hi[c[(c[d>>2]|0)+12>>2]&1023](d)}c[b+24>>2]=vi[c[(c[d>>2]|0)+16>>2]&2047](d)|0;g[b+28>>2]=1.0;c[b+32>>2]=128;c[b+36>>2]=128;c[b+40>>2]=0;c[b+40+4>>2]=0;c[b+40+8>>2]=0;c[b+40+12>>2]=0;c[b+40+16>>2]=0;c[b+40+20>>2]=0;c[b+40+24>>2]=0;g[b+68>>2]=1.0;c[b+72>>2]=0;c[b+72+4>>2]=0;c[b+72+8>>2]=0;c[b+72+12>>2]=0;g[b+88>>2]=1.0;c[b+96>>2]=c[e>>2];c[b+96+4>>2]=c[e+4>>2];c[b+96+8>>2]=c[e+8>>2];c[b+96+12>>2]=c[e+12>>2];a[b+124>>0]=0;M8(b+128|0,20);c[b+132>>2]=0;c[b+136>>2]=0;c[b+104>>2]=0;j=+(c[b+24>>2]|0);f=c[b+32>>2]|0;e=c[b+36>>2]|0;a:do if(!(j*(j*.8)*30.0<=+(_(e,f)|0)))do{k=sda(631040)|0;k=(k|0)<4096?k:4096;h=f<<1;i=e<<1;if(!((h|0)>(k|0)&(i|0)>(k|0))){k=(f|0)==(e|0);f=k?h:f;e=k?e:i}if((f|0)<=(c[b+32>>2]|0))if((e|0)<=(c[b+36>>2]|0))break a;c[b+32>>2]=f;c[b+36>>2]=e;j=+(c[b+24>>2]|0)}while(!(j*(j*.8)*30.0<=+(_(e,f)|0)));while(0);k=Xi[c[(c[d>>2]|0)+36>>2]&511](d,32)|0;c[b+92>>2]=(n6(k)|0)!=0&1;Hi[c[(c[k>>2]|0)+12>>2]&1023](k);if(Xi[c[(c[d>>2]|0)+48>>2]&511](d,9)|0){k=c[b>>2]|0;k=k+16|0;k=c[k>>2]|0;vi[k&2047](b)|0;k=c[157646]|0;k=k+1|0;c[157646]=k;return}a[b+124>>0]=1;k=c[b>>2]|0;k=k+16|0;k=c[k>>2]|0;vi[k&2047](b)|0;k=c[157646]|0;k=k+1|0;c[157646]=k;return}function F7(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0.0,h=0,j=0,k=0;k=i;i=i+16|0;c[k>>2]=d;c[k+4>>2]=b;j=_(d,1540483477)|0;e=_(b,1540483477)|0;e=(_((_(j>>>24^j,1540483477)|0)^-561034072,1540483477)|0)^(_(e>>>24^e,1540483477)|0);e=_(e>>>13^e,1540483477)|0;j=c[a+76>>2]|0;a:do if(j|0){if(!(j+-1&j))h=j+-1&(e>>>15^e);else h=((e>>>15^e)>>>0)%(j>>>0)|0;e=c[(c[a+72>>2]|0)+(h<<2)>>2]|0;if(e|0){if(!(j+-1&j))do{e=c[e>>2]|0;if(!e)break a;if((c[e+4>>2]&j+-1|0)!=(h|0))break a}while(!((c[e+8>>2]|0)==(d|0)?(c[e+8+4>>2]|0)==(b|0):0));else do{e=c[e>>2]|0;if(!e)break a;if((((c[e+4>>2]|0)>>>0)%(j>>>0)|0|0)!=(h|0))break a}while(!((c[e+8>>2]|0)==(d|0)?(c[e+8+4>>2]|0)==(b|0):0));f=+g[e+16>>2];i=k;return +f}}while(0);e=c[c[a+12>>2]>>2]|0;f=+Yi[c[(c[e>>2]|0)+56>>2]&3](e,b,d);e=c[a+12>>2]|0;h=c[a+16>>2]|0;b:do if((e|0)!=(h|0)){while(1){j=c[e>>2]|0;if(Xi[c[(c[j>>2]|0)+48>>2]&511](j,b)|0){j=c[e>>2]|0;if(Xi[c[(c[j>>2]|0)+48>>2]&511](j,d)|0)break}e=e+4|0;if((e|0)==(h|0))break b}j=c[e>>2]|0;f=+Yi[c[(c[j>>2]|0)+56>>2]&3](j,b,d)}while(0);g[(G7(a+72|0,k)|0)>>2]=f;i=k;return +f}function G7(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0,j=0;j=i;i=i+16|0;h=c[b>>2]|0;f=c[b+4>>2]|0;e=_(h,1540483477)|0;b=_(f,1540483477)|0;b=(_((_(e>>>24^e,1540483477)|0)^-561034072,1540483477)|0)^(_(b>>>24^b,1540483477)|0);b=_(b>>>13^b,1540483477)|0;e=c[a+4>>2]|0;a:do if(e|0){if(!(e+-1&e))d=(b>>>15^b)&e+-1;else d=((b>>>15^b)>>>0)%(e>>>0)|0;b=c[(c[a>>2]|0)+(d<<2)>>2]|0;if(b|0)if(!(e+-1&e)){do{b=c[b>>2]|0;if(!b)break a;if((c[b+4>>2]&e+-1|0)!=(d|0))break a}while(!((c[b+8>>2]|0)==(h|0)?(c[b+8+4>>2]|0)==(f|0):0));a=b+16|0;i=j;return a|0}else{do{b=c[b>>2]|0;if(!b)break a;if((((c[b+4>>2]|0)>>>0)%(e>>>0)|0|0)!=(d|0))break a}while(!((c[b+8>>2]|0)==(h|0)?(c[b+8+4>>2]|0)==(f|0):0));a=b+16|0;i=j;return a|0}}while(0);e=YAb(24)|0;c[e+8>>2]=h;c[e+8+4>>2]=f;g[e+16>>2]=0.0;H7(j,a,e);a=c[j>>2]|0;a=a+16|0;i=j;return a|0}function H7(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,h=0,i=0.0,j=0.0,k=0,l=0,m=0;l=c[e+8>>2]|0;m=c[e+8+4>>2]|0;k=_(l,1540483477)|0;f=_(m,1540483477)|0;f=(_((_(k>>>24^k,1540483477)|0)^-561034072,1540483477)|0)^(_(f>>>24^f,1540483477)|0);f=_(f>>>13^f,1540483477)|0;c[e+4>>2]=f>>>15^f;k=c[d+4>>2]|0;a:do if(!k)h=0;else{if(!(k+-1&k))h=(f>>>15^f)&k+-1;else h=((f>>>15^f)>>>0)%(k>>>0)|0;f=c[(c[d>>2]|0)+(h<<2)>>2]|0;if(f)if(!(k+-1&k)){while(1){f=c[f>>2]|0;if(!f)break a;if((c[f+4>>2]&k+-1|0)!=(h|0))break a;if((c[f+8>>2]|0)==(l|0)?(c[f+8+4>>2]|0)==(m|0):0){h=0;break}}d=f;c[b>>2]=d;b=b+4|0;a[b>>0]=h;return}else{while(1){f=c[f>>2]|0;if(!f)break a;if((((c[f+4>>2]|0)>>>0)%(k>>>0)|0|0)!=(h|0))break a;if((c[f+8>>2]|0)==(l|0)?(c[f+8+4>>2]|0)==(m|0):0){h=0;break}}d=f;c[b>>2]=d;b=b+4|0;a[b>>0]=h;return}}while(0);i=+(((c[d+12>>2]|0)+1|0)>>>0);j=+g[d+16>>2];do if((k|0)==0|i>+(k>>>0)*j){if(k>>>0>2)f=(k+-1&k|0)==0;else f=0;f=(f&1|k<<1)^1;h=~~+Z(+(i/j))>>>0;I7(d,f>>>0>>0?h:f);f=c[d+4>>2]|0;h=c[e+4>>2]|0;if(!(f+-1&f)){k=f;h=f+-1&h;break}else{k=f;h=(h>>>0)%(f>>>0)|0;break}}while(0);f=c[(c[d>>2]|0)+(h<<2)>>2]|0;if(!f){c[e>>2]=c[d+8>>2];c[d+8>>2]=e;c[(c[d>>2]|0)+(h<<2)>>2]=d+8;f=c[e>>2]|0;if(f|0){f=c[f+4>>2]|0;h=k+-1|0;if(!(h&k))f=f&h;else f=(f>>>0)%(k>>>0)|0;c[(c[d>>2]|0)+(f<<2)>>2]=e}}else{c[e>>2]=c[f>>2];c[f>>2]=e}c[d+12>>2]=(c[d+12>>2]|0)+1;d=1;c[b>>2]=e;b=b+4|0;a[b>>0]=d;return}function I7(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if((b|0)==1)b=2;else if(b+-1&b)b=Eqb(b)|0;f=c[a+4>>2]|0;if(b>>>0>f>>>0){J7(a,b);return}if(b>>>0>=f>>>0)return;if(f>>>0>2)e=(f+-1&f|0)==0;else e=0;d=~~+Z(+(+((c[a+12>>2]|0)>>>0)/+g[a+16>>2]))>>>0;if(e)d=1<<32-(aa(d+-1|0)|0);else d=Eqb(d)|0;b=b>>>0>>0?d:b;if(b>>>0>=f>>>0)return;J7(a,b);return}function J7(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;if(!b){d=c[a>>2]|0;c[a>>2]=0;if(d|0)oAb(d);c[a+4>>2]=0;return}k=YAb(b<<2)|0;d=c[a>>2]|0;c[a>>2]=k;if(d|0)oAb(d);c[a+4>>2]=b;d=0;do{c[(c[a>>2]|0)+(d<<2)>>2]=0;d=d+1|0}while((d|0)!=(b|0));f=c[a+8>>2]|0;if(!f)return;d=c[f+4>>2]|0;if(!(b+-1&b))e=d&b+-1;else e=(d>>>0)%(b>>>0)|0;c[(c[a>>2]|0)+(e<<2)>>2]=a+8;d=c[f>>2]|0;if(!d)return;else g=f;a:while(1){b:do if(!(b+-1&b)){k=g;j=f;while(1){while(1){i=c[d+4>>2]&b+-1;if((i|0)==(e|0)){f=d;break}f=(c[a>>2]|0)+(i<<2)|0;if(!(c[f>>2]|0)){e=i;h=d;d=j;break b}h=d+8|0;f=d;while(1){g=c[f>>2]|0;if(!g)break;if((c[h>>2]|0)==(c[g+8>>2]|0)?(c[h+4>>2]|0)==(c[g+8+4>>2]|0):0)f=g;else break}c[j>>2]=g;c[f>>2]=c[c[(c[a>>2]|0)+(i<<2)>>2]>>2];c[c[(c[a>>2]|0)+(i<<2)>>2]>>2]=d;d=c[k>>2]|0;if(!d){d=32;break a}}d=c[f>>2]|0;if(!d){d=32;break a}else{k=f;j=f}}}else{k=g;j=f;while(1){while(1){i=((c[d+4>>2]|0)>>>0)%(b>>>0)|0;if((i|0)==(e|0)){f=d;break}f=(c[a>>2]|0)+(i<<2)|0;if(!(c[f>>2]|0)){e=i;h=d;d=j;break b}h=d+8|0;f=d;while(1){g=c[f>>2]|0;if(!g)break;if((c[h>>2]|0)==(c[g+8>>2]|0)?(c[h+4>>2]|0)==(c[g+8+4>>2]|0):0)f=g;else break}c[j>>2]=g;c[f>>2]=c[c[(c[a>>2]|0)+(i<<2)>>2]>>2];c[c[(c[a>>2]|0)+(i<<2)>>2]>>2]=d;d=c[k>>2]|0;if(!d){d=32;break a}}d=c[f>>2]|0;if(!d){d=32;break a}else{k=f;j=f}}}while(0);c[f>>2]=d;d=c[h>>2]|0;if(!d){d=32;break}else{g=h;f=h}}if((d|0)==32)return}function K7(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;k=i;i=i+32|0;j=a[b>>0]|0;e=c[b+4>>2]|0;j=(j&1)==0?(j&255)>>>1:e;f=c[d>>2]|0;if((c[d+8>>2]|0)-f>>2>>>0>>0){g=(c[d+4>>2]|0)-f|0;if(!j)h=0;else h=YAb(j<<2)|0;l=h+(g>>2<<2)|0;mBb(l+(0-(g>>2)<<2)|0,f|0,g|0)|0;c[d>>2]=l+(0-(g>>2)<<2);c[d+4>>2]=l;c[d+8>>2]=h+(j<<2);if(f){oAb(f);e=c[b+4>>2]|0}}g=a[b>>0]|0;h=(g&1)==0?b+1|0:c[b+8>>2]|0;g=(g&1)==0?(g&255)>>>1:e;c[k+4>>2]=h;c[k+4+4>>2]=h;c[k+4+8>>2]=h+g;if((g|0)<0){l=nf(8)|0;Dqb(l,432204);c[l>>2]=156212;zc(l|0,9016,680)}if(!g){i=k;return}else{e=h+g|0;f=h}while(1){c[k+20>>2]=e;c[k+24>>2]=c[k+20>>2];M5(k+4|0,k+24|0)|0;c[k+20>>2]=f;c[k+16>>2]=e;c[k+24>>2]=c[k+16>>2];e=M5(k+20|0,k+24|0)|0;c[k>>2]=e;f=c[d+4>>2]|0;if((f|0)==(c[d+8>>2]|0))s7(d,k);else{c[f>>2]=e;c[d+4>>2]=f+4}e=c[k+4+8>>2]|0;if(!((e|0)==(h+g|0)?(c[k+4+4>>2]|0)==(h|0):0)){e=9;break}f=c[k+4>>2]|0;if((f|0)==(h+g|0)){e=15;break}}if((e|0)==9){l=nf(8)|0;Dqb(l,432236);zc(l|0,9e3,680)}else if((e|0)==15){i=k;return}}function L7(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0;j=i;i=i+16|0;e=c[b>>2]|0;if((e|0)==(c[b+4>>2]|0)){i=j;return}f=a[e>>0]|0;if(!(f&1))f=(f&255)>>>1;else f=c[e+4>>2]|0;e=c[d>>2]|0;if((c[d+8>>2]|0)-e>>2>>>0>>0){g=(c[d+4>>2]|0)-e|0;if(!f)h=0;else h=YAb(f<<2)|0;k=h+(g>>2<<2)|0;mBb(k+(0-(g>>2)<<2)|0,e|0,g|0)|0;c[d>>2]=k+(0-(g>>2)<<2);c[d+4>>2]=k;c[d+8>>2]=h+(f<<2);if(e|0)oAb(e)}e=c[b>>2]|0;g=c[b+4>>2]|0;if((e|0)==(g|0)){g=d+16|0;e=d+12|0}else{do{c[j>>2]=c[e+12>>2];c[j+4>>2]=(c[d+4>>2]|0)-(c[d>>2]|0)>>2;f=c[d+16>>2]|0;if((f|0)==(c[d+20>>2]|0))M7(d+12|0,j);else{k=c[j+4>>2]|0;c[f>>2]=c[j>>2];c[f+4>>2]=k;c[d+16>>2]=(c[d+16>>2]|0)+8}K7(e,d);e=e+16|0}while((e|0)!=(g|0));g=d+16|0;e=d+12|0}f=c[g>>2]|0;e=c[e>>2]|0;if((f-e|0)!=8){i=j;return}if(!((c[e>>2]|0)==-1&(c[e+4>>2]|0)==0)){i=j;return}c[g>>2]=f+-8;i=j;return}function M7(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=c[a>>2]|0;e=((c[a+4>>2]|0)-j>>3)+1|0;if(e>>>0>536870911)jzb(a);d=(c[a+8>>2]|0)-j|0;if(d>>3>>>0<268435455){d=d>>2>>>0>>0?e:d>>2;f=c[a+4>>2]|0;if(!d){i=0;g=0;e=f-j>>3;d=f}else{h=f;e=f-j>>3;k=6}}else{e=c[a+4>>2]|0;d=536870911;h=e;e=e-j>>3;k=6}if((k|0)==6){i=d;g=YAb(d<<3)|0;d=h}k=g+(e<<3)|0;h=c[b+4>>2]|0;c[k>>2]=c[b>>2];c[k+4>>2]=h;b=d-j|0;mBb(k+(0-(b>>3)<<3)|0,j|0,b|0)|0;c[a>>2]=k+(0-(b>>3)<<3);c[a+4>>2]=k+8;c[a+8>>2]=g+(i<<3);if(!j)return;oAb(j);return}function N7(a){a=a|0;return +(+(c[a+24>>2]|0))}function O7(b,e,f,h,j,k,l){b=b|0;e=e|0;f=f|0;h=h|0;j=+j;k=k|0;l=l|0;var m=0.0,n=0.0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0.0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0.0,E=0,F=0,G=0.0,H=0.0,I=0;I=i;i=i+16|0;G=+g[k>>2];H=+g[k+4>>2];if(!(c[e+92>>2]|0))D=+M(+(+(c[e+24>>2]|0)/1.25+.5));else D=0.0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;k=c[h>>2]|0;E=(c[h+4>>2]|0)-k|0;o=(c[f+4>>2]|0)-(c[f>>2]|0)+(E>>4)|0;if((c[h+8>>2]|0)-k>>4>>>0>>0){if(!o)p=0;else p=YAb(o<<4)|0;C=p+(E>>4<<4)|0;mBb(C+(0-(E>>4)<<4)|0,k|0,E|0)|0;c[h>>2]=C+(0-(E>>4)<<4);c[h+4>>2]=C;c[h+8>>2]=p+(o<<4);if(k|0)oAb(k)}C=(c[f+16>>2]|0)-(c[f+12>>2]|0)>>3;k=c[f>>2]|0;if(((c[f+4>>2]|0)-k|0)>0){o=k;q=-1;r=-1;s=-1;t=-1;u=-1;v=G;n=H;B=0;k=0;x=0;while(1){A=c[o+(B<<2)>>2]|0;p=u+1|0;if((p|0)<(C|0)){o=c[f+12>>2]|0;if((c[o+(p<<3)+4>>2]|0)==(B|0)){t=d[o+(p<<3)>>0]|d[o+(p<<3)+1>>0]<<8|d[o+(p<<3)+2>>0]<<16|d[o+(p<<3)+3>>0]<<24;y=t&255;z=t>>>8&255;s=t>>>16&255;t=t>>>24&255;u=p}else{y=q;z=r}}else{y=q;z=r}do if((A|0)==10){q=y;r=z;m=G;n=n+ +M(+(+(c[e+24>>2]|0)*+g[e+28>>2]+.5));o=B;k=v>+(k|0)?~~v:k;p=x}else{r=c[e+132>>2]|0;q=c[e+56>>2]|0;a:do if(!q)F=28;else{if(!(q+-1&q))p=q+-1&A;else p=(A>>>0)%(q>>>0)|0;o=c[(c[e+52>>2]|0)+(p<<2)>>2]|0;if(!o)F=28;else{if(!(q+-1&q))do{o=c[o>>2]|0;if(!o){F=28;break a}if((c[o+4>>2]&q+-1|0)!=(p|0)){F=28;break a}}while((c[o+8>>2]|0)!=(A|0));else do{o=c[o>>2]|0;if(!o){F=28;break a}if((((c[o+4>>2]|0)>>>0)%(q>>>0)|0|0)!=(p|0)){F=28;break a}}while((c[o+8>>2]|0)!=(A|0));w=o+12|0;o=r}}while(0);if((F|0)==28){F=0;w=t7(e,A)|0;o=c[e+132>>2]|0}if((r|0)!=(o|0)){k=c[b>>2]|0;o=c[b+4>>2]|0;if((o|0)!=(k|0))c[b+4>>2]=o+(~(((o+-12-k|0)>>>0)/12|0)*12|0);k=c[h+4>>2]|0;o=c[h>>2]|0;if(E>>4>>>0>k-o>>4>>>0){P7(h,(E>>4)-(k-o>>4)|0);q=-1;r=-1;s=-1;t=-1;u=-1;m=G;n=H;o=0;k=0;p=0;break}if(E>>4>>>0>=k-o>>4>>>0){q=-1;r=-1;s=-1;t=-1;u=-1;m=G;n=H;o=0;k=0;p=0;break}if((k|0)==(o+(E>>4<<4)|0)){q=-1;r=-1;s=-1;t=-1;u=-1;m=G;n=H;o=0;k=0;p=0;break}c[h+4>>2]=k+(~((k+-16-(o+(E>>4<<4))|0)>>>4)<<4);q=-1;r=-1;s=-1;t=-1;u=-1;m=G;n=H;o=0;k=0;p=0;break}v=v+ +F7(e,x,A);if(c[w>>2]|0){m=D+n;q=(z&255)<<8|y&255|(s&255)<<16|(t&255)<<24;o=w+8|0;p=c[h+4>>2]|0;if((p|0)==(c[h+8>>2]|0)){Q7(h,o);o=c[h+4>>2]|0}else{c[p>>2]=c[o>>2];c[p+4>>2]=c[o+4>>2];c[p+8>>2]=c[o+8>>2];c[p+12>>2]=c[o+12>>2];o=(c[h+4>>2]|0)+16|0;c[h+4>>2]=o}p=o+-16|0;g[p>>2]=v+ +g[p>>2];p=o+-12|0;g[p>>2]=m+ +g[p>>2];o=o+-4|0;a[o>>0]=q;a[o+1>>0]=q>>8;a[o+2>>0]=q>>16;a[o+3>>0]=q>>24;o=w+24|0;p=c[h+4>>2]|0;if((p|0)==(c[h+8>>2]|0)){Q7(h,o);o=c[h+4>>2]|0}else{c[p>>2]=c[o>>2];c[p+4>>2]=c[o+4>>2];c[p+8>>2]=c[o+8>>2];c[p+12>>2]=c[o+12>>2];o=(c[h+4>>2]|0)+16|0;c[h+4>>2]=o}p=o+-16|0;g[p>>2]=v+ +g[p>>2];p=o+-12|0;g[p>>2]=m+ +g[p>>2];o=o+-4|0;a[o>>0]=q;a[o+1>>0]=q>>8;a[o+2>>0]=q>>16;a[o+3>>0]=q>>24;o=w+40|0;p=c[h+4>>2]|0;if((p|0)==(c[h+8>>2]|0)){Q7(h,o);o=c[h+4>>2]|0}else{c[p>>2]=c[o>>2];c[p+4>>2]=c[o+4>>2];c[p+8>>2]=c[o+8>>2];c[p+12>>2]=c[o+12>>2];o=(c[h+4>>2]|0)+16|0;c[h+4>>2]=o}p=o+-16|0;g[p>>2]=v+ +g[p>>2];p=o+-12|0;g[p>>2]=m+ +g[p>>2];o=o+-4|0;a[o>>0]=q;a[o+1>>0]=q>>8;a[o+2>>0]=q>>16;a[o+3>>0]=q>>24;o=w+56|0;p=c[h+4>>2]|0;if((p|0)==(c[h+8>>2]|0)){Q7(h,o);o=c[h+4>>2]|0}else{c[p>>2]=c[o>>2];c[p+4>>2]=c[o+4>>2];c[p+8>>2]=c[o+8>>2];c[p+12>>2]=c[o+12>>2];o=(c[h+4>>2]|0)+16|0;c[h+4>>2]=o}x=o+-16|0;g[x>>2]=v+ +g[x>>2];x=o+-12|0;g[x>>2]=m+ +g[x>>2];o=o+-4|0;a[o>>0]=q;a[o+1>>0]=q>>8;a[o+2>>0]=q>>16;a[o+3>>0]=q>>24;o=c[b+4>>2]|0;if((c[b>>2]|0)==(o|0)){p=c[w>>2]|0;F=43}else{p=c[w>>2]|0;if((c[o+-12>>2]|0)!=(p|0))F=43}if((F|0)==43){F=0;c[I+4>>2]=((c[h+4>>2]|0)-(c[h>>2]|0)>>4)+-4;c[I+8>>2]=0;c[I>>2]=p;if((o|0)==(c[b+8>>2]|0)){R7(b,I);o=c[b+4>>2]|0}else{c[o>>2]=c[I>>2];c[o+4>>2]=c[I+4>>2];c[o+8>>2]=c[I+8>>2];o=(c[b+4>>2]|0)+12|0;c[b+4>>2]=o}}x=o+-4|0;c[x>>2]=(c[x>>2]|0)+4}m=v+ +(c[w+4>>2]|0);if(j!=0.0&(A|0)==32){q=y;r=z;m=+M(+(m+j));o=B;p=32}else{q=y;r=z;o=B;p=A}}while(0);B=o+1|0;o=c[f>>2]|0;if((B|0)>=((c[f+4>>2]|0)-o>>2|0))break;else{v=m;x=p}}}else{m=G;n=H;k=0}S7(c[b>>2]|0,c[b+4>>2]|0);if(!l){i=I;return}c[l>>2]=~~(+((m>+(k|0)?~~m:k)|0)-G);if(m>0.0)m=+M(+(+(c[e+24>>2]|0)*+g[e+28>>2]+.5));else m=0.0;c[l+4>>2]=~~(+(~~n|0)+m-H);i=I;return}function P7(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[a+8>>2]|0;d=c[a+4>>2]|0;if(e-d>>4>>>0>=b>>>0){do{c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;c[d+12>>2]=0;d=(c[a+4>>2]|0)+16|0;c[a+4>>2]=d;b=b+-1|0}while((b|0)!=0);return}f=c[a>>2]|0;if(((d-f>>4)+b|0)>>>0>268435455)jzb(a);if(e-f>>4>>>0<134217727){d=e-f>>3>>>0<((d-f>>4)+b|0)>>>0?(d-f>>4)+b|0:e-f>>3;e=(c[a+4>>2]|0)-f>>4;if(!d){g=0;f=0;d=e}else h=9}else{d=268435455;e=(c[a+4>>2]|0)-f>>4;h=9}if((h|0)==9){g=d;f=YAb(d<<4)|0;d=e}h=f+(d<<4)|0;g=f+(g<<4)|0;e=h;d=h;while(1){c[e>>2]=0;c[e+4>>2]=0;c[e+8>>2]=0;c[e+12>>2]=0;e=d+16|0;f=e;b=b+-1|0;if(!b)break;else d=f}d=c[a>>2]|0;e=(c[a+4>>2]|0)-d|0;mBb(h+(0-(e>>4)<<4)|0,d|0,e|0)|0;c[a>>2]=h+(0-(e>>4)<<4);c[a+4>>2]=f;c[a+8>>2]=g;if(!d)return;oAb(d);return}function Q7(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=c[a>>2]|0;d=((c[a+4>>2]|0)-j>>4)+1|0;if(d>>>0>268435455)jzb(a);e=(c[a+8>>2]|0)-j|0;if(e>>4>>>0<134217727){d=e>>3>>>0>>0?d:e>>3;f=c[a+4>>2]|0;if(!d){i=0;g=0;e=f-j>>4;d=f}else{h=f;e=f-j>>4;k=6}}else{e=c[a+4>>2]|0;d=268435455;h=e;e=e-j>>4;k=6}if((k|0)==6){i=d;g=YAb(d<<4)|0;d=h}k=g+(e<<4)|0;c[k>>2]=c[b>>2];c[k+4>>2]=c[b+4>>2];c[k+8>>2]=c[b+8>>2];c[k+12>>2]=c[b+12>>2];b=d-j|0;mBb(k+(0-(b>>4)<<4)|0,j|0,b|0)|0;c[a>>2]=k+(0-(b>>4)<<4);c[a+4>>2]=k+16;c[a+8>>2]=g+(i<<4);if(!j)return;oAb(j);return}function R7(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=c[a>>2]|0;e=(((c[a+4>>2]|0)-j|0)/12|0)+1|0;if(e>>>0>357913941)jzb(a);d=((c[a+8>>2]|0)-j|0)/12|0;if(d>>>0<178956970){d=d<<1>>>0>>0?e:d<<1;f=c[a+4>>2]|0;if(!d){i=0;g=0;e=(f-j|0)/12|0;d=f}else{h=f;e=(f-j|0)/12|0;k=6}}else{e=c[a+4>>2]|0;d=357913941;h=e;e=(e-j|0)/12|0;k=6}if((k|0)==6){i=d;g=YAb(d*12|0)|0;d=h}k=g+(e*12|0)|0;c[k>>2]=c[b>>2];c[k+4>>2]=c[b+4>>2];c[k+8>>2]=c[b+8>>2];b=d-j|0;mBb(k+(((b|0)/-12|0)*12|0)|0,j|0,b|0)|0;c[a>>2]=k+(((b|0)/-12|0)*12|0);c[a+4>>2]=k+12;c[a+8>>2]=g+(i*12|0);if(!j)return;oAb(j);return}function S7(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=i;i=i+16|0;a:while(1){o=b;r=b+-12|0;p=b+-24|0;q=b+-8|0;b:while(1){n=a;switch((o-n|0)/12|0|0){case 2:{s=4;break a}case 3:{s=8;break a}case 4:{s=26;break a}case 5:{s=27;break a}case 1:case 0:{s=136;break a}default:{}}if((o-n|0)<372){s=29;break a}g=(o-n|0)/24|0;h=a+(g*12|0)|0;do if((o-n|0)>11988){d=h;m=a;e=U7(a,a+(((o-n|0)/48|0)*12|0)|0,h,h+(((o-n|0)/48|0)*12|0)|0,r)|0}else{f=c[h>>2]|0;d=c[a>>2]|0;if((f|0)==(d|0))e=(c[a+(g*12|0)+4>>2]|0)<(c[a+4>>2]|0);else e=f>>>0>>0;d=c[r>>2]|0;if((d|0)==(f|0))d=(c[q>>2]|0)<(c[a+(g*12|0)+4>>2]|0);else d=d>>>0>>0;if(!e){if(!d){d=h;m=a;e=0;break};c[t>>2]=c[h>>2];c[t+4>>2]=c[h+4>>2];c[t+8>>2]=c[h+8>>2];c[h>>2]=c[r>>2];c[h+4>>2]=c[r+4>>2];c[h+8>>2]=c[r+8>>2];c[r>>2]=c[t>>2];c[r+4>>2]=c[t+4>>2];c[r+8>>2]=c[t+8>>2];d=c[h>>2]|0;e=c[a>>2]|0;if((d|0)==(e|0)){if((c[a+(g*12|0)+4>>2]|0)>=(c[a+4>>2]|0)){d=h;m=a;e=1;break}}else if(d>>>0>=e>>>0){d=h;m=a;e=1;break};c[t>>2]=c[a>>2];c[t+4>>2]=c[a+4>>2];c[t+8>>2]=c[a+8>>2];c[a>>2]=c[h>>2];c[a+4>>2]=c[h+4>>2];c[a+8>>2]=c[h+8>>2];c[h>>2]=c[t>>2];c[h+4>>2]=c[t+4>>2];c[h+8>>2]=c[t+8>>2];d=h;m=a;e=2;break}if(d){c[t>>2]=c[a>>2];c[t+4>>2]=c[a+4>>2];c[t+8>>2]=c[a+8>>2];c[a>>2]=c[r>>2];c[a+4>>2]=c[r+4>>2];c[a+8>>2]=c[r+8>>2];c[r>>2]=c[t>>2];c[r+4>>2]=c[t+4>>2];c[r+8>>2]=c[t+8>>2];d=h;m=a;e=1;break};c[t>>2]=c[a>>2];c[t+4>>2]=c[a+4>>2];c[t+8>>2]=c[a+8>>2];c[a>>2]=c[h>>2];c[a+4>>2]=c[h+4>>2];c[a+8>>2]=c[h+8>>2];c[h>>2]=c[t>>2];c[h+4>>2]=c[t+4>>2];c[h+8>>2]=c[t+8>>2];d=c[r>>2]|0;e=c[h>>2]|0;if((d|0)==(e|0)){if((c[q>>2]|0)>=(c[a+(g*12|0)+4>>2]|0)){d=h;m=a;e=1;break}}else if(d>>>0>=e>>>0){d=h;m=a;e=1;break};c[t>>2]=c[h>>2];c[t+4>>2]=c[h+4>>2];c[t+8>>2]=c[h+8>>2];c[h>>2]=c[r>>2];c[h+4>>2]=c[r+4>>2];c[h+8>>2]=c[r+8>>2];c[r>>2]=c[t>>2];c[r+4>>2]=c[t+4>>2];c[r+8>>2]=c[t+8>>2];d=h;m=a;e=2}while(0);l=c[m>>2]|0;k=c[d>>2]|0;if((l|0)==(k|0))if((c[a+4>>2]|0)<(c[a+(g*12|0)+4>>2]|0))f=r;else s=82;else if(l>>>0>>0)f=r;else s=82;c:do if((s|0)==82){s=0;d:do if((a|0)!=(p|0)){j=a+(g*12|0)+4|0;d=p;g=r;while(1){f=c[d>>2]|0;if((f|0)==(k|0)){if((c[g+-8>>2]|0)<(c[j>>2]|0))break}else if(f>>>0>>0)break;f=d+-12|0;if((a|0)==(f|0))break d;else{g=d;d=f}}c[t>>2]=c[a>>2];c[t+4>>2]=c[a+4>>2];c[t+8>>2]=c[a+8>>2];c[a>>2]=c[d>>2];c[a+4>>2]=c[d+4>>2];c[a+8>>2]=c[d+8>>2];c[d>>2]=c[t>>2];c[d+4>>2]=c[t+4>>2];c[d+8>>2]=c[t+8>>2];f=d;e=e+1|0;break c}while(0);d=a+12|0;e=c[r>>2]|0;if((l|0)==(e|0)){if((c[a+4>>2]|0)>=(c[q>>2]|0))s=87}else if(l>>>0>=e>>>0)s=87;if((s|0)==87){s=0;if((d|0)==(r|0)){s=136;break a}f=a+4|0;while(1){e=c[d>>2]|0;if((l|0)==(e|0)){if((c[f>>2]|0)<(c[d+4>>2]|0))break}else if(l>>>0>>0)break;d=d+12|0;if((d|0)==(r|0)){s=136;break a}}c[t>>2]=c[d>>2];c[t+4>>2]=c[d+4>>2];c[t+8>>2]=c[d+8>>2];c[d>>2]=c[r>>2];c[d+4>>2]=c[r+4>>2];c[d+8>>2]=c[r+8>>2];c[r>>2]=c[t>>2];c[r+4>>2]=c[t+4>>2];c[r+8>>2]=c[t+8>>2];d=d+12|0}if((d|0)==(r|0)){s=136;break a}h=a+4|0;a=d;d=r;while(1){g=c[m>>2]|0;while(1){e=c[a>>2]|0;if((g|0)==(e|0)){if((c[h>>2]|0)<(c[a+4>>2]|0))break}else if(g>>>0>>0)break;a=a+12|0}f=d;while(1){d=f+-12|0;e=c[d>>2]|0;if((g|0)==(e|0))if((c[h>>2]|0)<(c[f+-8>>2]|0)){f=d;continue}else break;else if(g>>>0>>0){f=d;continue}else break}if(a>>>0>=d>>>0)continue b;c[t>>2]=c[a>>2];c[t+4>>2]=c[a+4>>2];c[t+8>>2]=c[a+8>>2];c[a>>2]=c[d>>2];c[a+4>>2]=c[d+4>>2];c[a+8>>2]=c[d+8>>2];c[d>>2]=c[t>>2];c[d+4>>2]=c[t+4>>2];c[d+8>>2]=c[t+8>>2];a=a+12|0}}while(0);d=a+12|0;e:do if(d>>>0>>0){g=f;while(1){k=c[h>>2]|0;l=h+4|0;while(1){f=c[d>>2]|0;if((f|0)==(k|0)){if((c[d+4>>2]|0)>=(c[l>>2]|0)){j=d;break}}else if(f>>>0>=k>>>0){j=d;break}d=d+12|0}while(1){f=g+-12|0;d=c[f>>2]|0;if((d|0)==(k|0))if((c[g+-8>>2]|0)<(c[l>>2]|0))break;else{g=f;continue}else if(d>>>0>>0)break;else{g=f;continue}}if(j>>>0>f>>>0){d=j;break e};c[t>>2]=c[j>>2];c[t+4>>2]=c[j+4>>2];c[t+8>>2]=c[j+8>>2];c[j>>2]=c[f>>2];c[j+4>>2]=c[f+4>>2];c[j+8>>2]=c[f+8>>2];c[f>>2]=c[t>>2];c[f+4>>2]=c[t+4>>2];c[f+8>>2]=c[t+8>>2];d=j+12|0;g=f;h=(h|0)==(j|0)?f:h;e=e+1|0}}while(0);do if((d|0)!=(h|0)){f=c[h>>2]|0;g=c[d>>2]|0;if((f|0)==(g|0)){if((c[h+4>>2]|0)>=(c[d+4>>2]|0))break}else if(f>>>0>=g>>>0)break;c[t>>2]=c[d>>2];c[t+4>>2]=c[d+4>>2];c[t+8>>2]=c[d+8>>2];c[d>>2]=c[h>>2];c[d+4>>2]=c[h+4>>2];c[d+8>>2]=c[h+8>>2];c[h>>2]=c[t>>2];c[h+4>>2]=c[t+4>>2];c[h+8>>2]=c[t+8>>2];e=e+1|0}while(0);if(!e){e=V7(a,d)|0;f=d+12|0;if(V7(f,b)|0){s=135;break}if(e){a=f;continue}}m=d;if((m-n|0)>=(o-m|0)){s=134;break}S7(a,d);a=d+12|0}if((s|0)==134){s=0;S7(d+12|0,b);b=d;continue}else if((s|0)==135){s=0;if(e){s=136;break}else{b=d;continue}}}if((s|0)==4){b=c[r>>2]|0;d=c[a>>2]|0;if((b|0)==(d|0)){if((c[q>>2]|0)>=(c[a+4>>2]|0)){i=t;return}}else if(b>>>0>=d>>>0){i=t;return};c[t>>2]=c[a>>2];c[t+4>>2]=c[a+4>>2];c[t+8>>2]=c[a+8>>2];c[a>>2]=c[r>>2];c[a+4>>2]=c[r+4>>2];c[a+8>>2]=c[r+8>>2];c[r>>2]=c[t>>2];c[r+4>>2]=c[t+4>>2];c[r+8>>2]=c[t+8>>2];i=t;return}else if((s|0)==8){e=c[a+12>>2]|0;b=c[a>>2]|0;if((e|0)==(b|0))d=(c[a+16>>2]|0)<(c[a+4>>2]|0);else d=e>>>0>>0;b=c[r>>2]|0;if((b|0)==(e|0))b=(c[q>>2]|0)<(c[a+16>>2]|0);else b=b>>>0>>0;if(!d){if(!b){i=t;return};c[t>>2]=c[a+12>>2];c[t+4>>2]=c[a+12+4>>2];c[t+8>>2]=c[a+12+8>>2];c[a+12>>2]=c[r>>2];c[a+12+4>>2]=c[r+4>>2];c[a+12+8>>2]=c[r+8>>2];c[r>>2]=c[t>>2];c[r+4>>2]=c[t+4>>2];c[r+8>>2]=c[t+8>>2];b=c[a+12>>2]|0;d=c[a>>2]|0;if((b|0)==(d|0)){if((c[a+16>>2]|0)>=(c[a+4>>2]|0)){i=t;return}}else if(b>>>0>=d>>>0){i=t;return};c[t>>2]=c[a>>2];c[t+4>>2]=c[a+4>>2];c[t+8>>2]=c[a+8>>2];c[a>>2]=c[a+12>>2];c[a+4>>2]=c[a+12+4>>2];c[a+8>>2]=c[a+12+8>>2];c[a+12>>2]=c[t>>2];c[a+12+4>>2]=c[t+4>>2];c[a+12+8>>2]=c[t+8>>2];i=t;return}if(b){c[t>>2]=c[a>>2];c[t+4>>2]=c[a+4>>2];c[t+8>>2]=c[a+8>>2];c[a>>2]=c[r>>2];c[a+4>>2]=c[r+4>>2];c[a+8>>2]=c[r+8>>2];c[r>>2]=c[t>>2];c[r+4>>2]=c[t+4>>2];c[r+8>>2]=c[t+8>>2];i=t;return};c[t>>2]=c[a>>2];c[t+4>>2]=c[a+4>>2];c[t+8>>2]=c[a+8>>2];c[a>>2]=c[a+12>>2];c[a+4>>2]=c[a+12+4>>2];c[a+8>>2]=c[a+12+8>>2];c[a+12>>2]=c[t>>2];c[a+12+4>>2]=c[t+4>>2];c[a+12+8>>2]=c[t+8>>2];b=c[r>>2]|0;d=c[a+12>>2]|0;if((b|0)==(d|0)){if((c[q>>2]|0)>=(c[a+16>>2]|0)){i=t;return}}else if(b>>>0>=d>>>0){i=t;return};c[t>>2]=c[a+12>>2];c[t+4>>2]=c[a+12+4>>2];c[t+8>>2]=c[a+12+8>>2];c[a+12>>2]=c[r>>2];c[a+12+4>>2]=c[r+4>>2];c[a+12+8>>2]=c[r+8>>2];c[r>>2]=c[t>>2];c[r+4>>2]=c[t+4>>2];c[r+8>>2]=c[t+8>>2];i=t;return}else if((s|0)==26){T7(a,a+12|0,a+24|0,r)|0;i=t;return}else if((s|0)==27){U7(a,a+12|0,a+24|0,a+36|0,r)|0;i=t;return}else if((s|0)==29){d=c[a+12>>2]|0;f=c[a>>2]|0;if((d|0)==(f|0))e=(c[a+16>>2]|0)<(c[a+4>>2]|0);else e=d>>>0>>0;g=c[a+24>>2]|0;if((g|0)==(d|0))d=(c[a+28>>2]|0)<(c[a+16>>2]|0);else d=g>>>0>>0;do if(e){if(d){c[t>>2]=c[a>>2];c[t+4>>2]=c[a+4>>2];c[t+8>>2]=c[a+8>>2];c[a>>2]=c[a+24>>2];c[a+4>>2]=c[a+24+4>>2];c[a+8>>2]=c[a+24+8>>2];c[a+24>>2]=c[t>>2];c[a+24+4>>2]=c[t+4>>2];c[a+24+8>>2]=c[t+8>>2];break};c[t>>2]=c[a>>2];c[t+4>>2]=c[a+4>>2];c[t+8>>2]=c[a+8>>2];c[a>>2]=c[a+12>>2];c[a+4>>2]=c[a+12+4>>2];c[a+8>>2]=c[a+12+8>>2];c[a+12>>2]=c[t>>2];c[a+12+4>>2]=c[t+4>>2];c[a+12+8>>2]=c[t+8>>2];d=c[a+12>>2]|0;if((g|0)==(d|0)){if((c[a+28>>2]|0)>=(c[a+16>>2]|0))break}else if(g>>>0>=d>>>0)break;c[t>>2]=c[a+12>>2];c[t+4>>2]=c[a+12+4>>2];c[t+8>>2]=c[a+12+8>>2];c[a+12>>2]=c[a+24>>2];c[a+12+4>>2]=c[a+24+4>>2];c[a+12+8>>2]=c[a+24+8>>2];c[a+24>>2]=c[t>>2];c[a+24+4>>2]=c[t+4>>2];c[a+24+8>>2]=c[t+8>>2]}else if(d){c[t>>2]=c[a+12>>2];c[t+4>>2]=c[a+12+4>>2];c[t+8>>2]=c[a+12+8>>2];c[a+12>>2]=c[a+24>>2];c[a+12+4>>2]=c[a+24+4>>2];c[a+12+8>>2]=c[a+24+8>>2];c[a+24>>2]=c[t>>2];c[a+24+4>>2]=c[t+4>>2];c[a+24+8>>2]=c[t+8>>2];d=c[a+12>>2]|0;if((d|0)==(f|0)){if((c[a+16>>2]|0)>=(c[a+4>>2]|0))break}else if(d>>>0>=f>>>0)break;c[t>>2]=c[a>>2];c[t+4>>2]=c[a+4>>2];c[t+8>>2]=c[a+8>>2];c[a>>2]=c[a+12>>2];c[a+4>>2]=c[a+12+4>>2];c[a+8>>2]=c[a+12+8>>2];c[a+12>>2]=c[t>>2];c[a+12+4>>2]=c[t+4>>2];c[a+12+8>>2]=c[t+8>>2]}while(0);if((a+36|0)==(b|0)){i=t;return}else{k=a+36|0;e=a+24|0}while(1){j=c[k>>2]|0;d=c[e>>2]|0;if((j|0)==(d|0)){d=c[k+4>>2]|0;if((d|0)<(c[e+4>>2]|0))s=52}else if(j>>>0>>0){d=c[k+4>>2]|0;s=52}if((s|0)==52){s=0;h=c[k+8>>2]|0;c[k>>2]=c[e>>2];c[k+4>>2]=c[e+4>>2];c[k+8>>2]=c[e+8>>2];f:do if((e|0)==(a|0))e=a;else{g=e;while(1){e=g;g=g+-12|0;f=c[g>>2]|0;if((j|0)==(f|0)){if((d|0)>=(c[e+-8>>2]|0))break f}else if(j>>>0>=f>>>0)break f;c[e>>2]=c[g>>2];c[e+4>>2]=c[g+4>>2];c[e+8>>2]=c[g+8>>2];if((g|0)==(a|0)){e=a;break}}}while(0);c[e>>2]=j;c[e+4>>2]=d;c[e+8>>2]=h}d=k+12|0;if((d|0)==(b|0))break;else{e=k;k=d}}i=t;return}else if((s|0)==136){i=t;return}}function T7(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;h=c[b>>2]|0;f=c[a>>2]|0;if((h|0)==(f|0))g=(c[b+4>>2]|0)<(c[a+4>>2]|0);else g=h>>>0>>0;f=c[d>>2]|0;if((f|0)==(h|0))f=(c[d+4>>2]|0)<(c[b+4>>2]|0);else f=f>>>0>>0;do if(g){if(f){c[k>>2]=c[a>>2];c[k+4>>2]=c[a+4>>2];c[k+8>>2]=c[a+8>>2];c[a>>2]=c[d>>2];c[a+4>>2]=c[d+4>>2];c[a+8>>2]=c[d+8>>2];c[d>>2]=c[k>>2];c[d+4>>2]=c[k+4>>2];c[d+8>>2]=c[k+8>>2];j=1;break};c[k>>2]=c[a>>2];c[k+4>>2]=c[a+4>>2];c[k+8>>2]=c[a+8>>2];c[a>>2]=c[b>>2];c[a+4>>2]=c[b+4>>2];c[a+8>>2]=c[b+8>>2];c[b>>2]=c[k>>2];c[b+4>>2]=c[k+4>>2];c[b+8>>2]=c[k+8>>2];f=c[d>>2]|0;g=c[b>>2]|0;if((f|0)==(g|0)){if((c[d+4>>2]|0)>=(c[b+4>>2]|0)){j=1;break}}else if(f>>>0>=g>>>0){j=1;break};c[k>>2]=c[b>>2];c[k+4>>2]=c[b+4>>2];c[k+8>>2]=c[b+8>>2];c[b>>2]=c[d>>2];c[b+4>>2]=c[d+4>>2];c[b+8>>2]=c[d+8>>2];c[d>>2]=c[k>>2];c[d+4>>2]=c[k+4>>2];c[d+8>>2]=c[k+8>>2];j=2}else if(f){c[k>>2]=c[b>>2];c[k+4>>2]=c[b+4>>2];c[k+8>>2]=c[b+8>>2];c[b>>2]=c[d>>2];c[b+4>>2]=c[d+4>>2];c[b+8>>2]=c[d+8>>2];c[d>>2]=c[k>>2];c[d+4>>2]=c[k+4>>2];c[d+8>>2]=c[k+8>>2];f=c[b>>2]|0;g=c[a>>2]|0;if((f|0)==(g|0)){if((c[b+4>>2]|0)>=(c[a+4>>2]|0)){j=1;break}}else if(f>>>0>=g>>>0){j=1;break};c[k>>2]=c[a>>2];c[k+4>>2]=c[a+4>>2];c[k+8>>2]=c[a+8>>2];c[a>>2]=c[b>>2];c[a+4>>2]=c[b+4>>2];c[a+8>>2]=c[b+8>>2];c[b>>2]=c[k>>2];c[b+4>>2]=c[k+4>>2];c[b+8>>2]=c[k+8>>2];j=2}else j=0;while(0);f=c[e>>2]|0;g=c[d>>2]|0;if((f|0)==(g|0)){if((c[e+4>>2]|0)>=(c[d+4>>2]|0)){b=j;i=k;return b|0}}else if(f>>>0>=g>>>0){b=j;i=k;return b|0};c[k>>2]=c[d>>2];c[k+4>>2]=c[d+4>>2];c[k+8>>2]=c[d+8>>2];c[d>>2]=c[e>>2];c[d+4>>2]=c[e+4>>2];c[d+8>>2]=c[e+8>>2];c[e>>2]=c[k>>2];c[e+4>>2]=c[k+4>>2];c[e+8>>2]=c[k+8>>2];f=j+1|0;g=c[d>>2]|0;h=c[b>>2]|0;if((g|0)==(h|0)){if((c[d+4>>2]|0)>=(c[b+4>>2]|0)){b=f;i=k;return b|0}}else if(g>>>0>=h>>>0){b=f;i=k;return b|0};c[k>>2]=c[b>>2];c[k+4>>2]=c[b+4>>2];c[k+8>>2]=c[b+8>>2];c[b>>2]=c[d>>2];c[b+4>>2]=c[d+4>>2];c[b+8>>2]=c[d+8>>2];c[d>>2]=c[k>>2];c[d+4>>2]=c[k+4>>2];c[d+8>>2]=c[k+8>>2];f=j+2|0;g=c[b>>2]|0;h=c[a>>2]|0;if((g|0)==(h|0)){if((c[b+4>>2]|0)>=(c[a+4>>2]|0)){b=f;i=k;return b|0}}else if(g>>>0>=h>>>0){b=f;i=k;return b|0};c[k>>2]=c[a>>2];c[k+4>>2]=c[a+4>>2];c[k+8>>2]=c[a+8>>2];c[a>>2]=c[b>>2];c[a+4>>2]=c[b+4>>2];c[a+8>>2]=c[b+8>>2];c[b>>2]=c[k>>2];c[b+4>>2]=c[k+4>>2];c[b+8>>2]=c[k+8>>2];b=j+3|0;i=k;return b|0}function U7(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0;k=i;i=i+16|0;j=T7(a,b,d,e)|0;g=c[f>>2]|0;h=c[e>>2]|0;if((g|0)==(h|0)){if((c[f+4>>2]|0)>=(c[e+4>>2]|0)){b=j;i=k;return b|0}}else if(g>>>0>=h>>>0){b=j;i=k;return b|0};c[k>>2]=c[e>>2];c[k+4>>2]=c[e+4>>2];c[k+8>>2]=c[e+8>>2];c[e>>2]=c[f>>2];c[e+4>>2]=c[f+4>>2];c[e+8>>2]=c[f+8>>2];c[f>>2]=c[k>>2];c[f+4>>2]=c[k+4>>2];c[f+8>>2]=c[k+8>>2];g=c[e>>2]|0;h=c[d>>2]|0;if((g|0)==(h|0)){if((c[e+4>>2]|0)>=(c[d+4>>2]|0)){b=j+1|0;i=k;return b|0}}else if(g>>>0>=h>>>0){b=j+1|0;i=k;return b|0};c[k>>2]=c[d>>2];c[k+4>>2]=c[d+4>>2];c[k+8>>2]=c[d+8>>2];c[d>>2]=c[e>>2];c[d+4>>2]=c[e+4>>2];c[d+8>>2]=c[e+8>>2];c[e>>2]=c[k>>2];c[e+4>>2]=c[k+4>>2];c[e+8>>2]=c[k+8>>2];g=c[d>>2]|0;h=c[b>>2]|0;if((g|0)==(h|0)){if((c[d+4>>2]|0)>=(c[b+4>>2]|0)){b=j+2|0;i=k;return b|0}}else if(g>>>0>=h>>>0){b=j+2|0;i=k;return b|0};c[k>>2]=c[b>>2];c[k+4>>2]=c[b+4>>2];c[k+8>>2]=c[b+8>>2];c[b>>2]=c[d>>2];c[b+4>>2]=c[d+4>>2];c[b+8>>2]=c[d+8>>2];c[d>>2]=c[k>>2];c[d+4>>2]=c[k+4>>2];c[d+8>>2]=c[k+8>>2];g=c[b>>2]|0;h=c[a>>2]|0;if((g|0)==(h|0)){if((c[b+4>>2]|0)>=(c[a+4>>2]|0)){b=j+3|0;i=k;return b|0}}else if(g>>>0>=h>>>0){b=j+3|0;i=k;return b|0};c[k>>2]=c[a>>2];c[k+4>>2]=c[a+4>>2];c[k+8>>2]=c[a+8>>2];c[a>>2]=c[b>>2];c[a+4>>2]=c[b+4>>2];c[a+8>>2]=c[b+8>>2];c[b>>2]=c[k>>2];c[b+4>>2]=c[k+4>>2];c[b+8>>2]=c[k+8>>2];b=j+4|0;i=k;return b|0}function V7(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;switch((b-a|0)/12|0|0){case 2:{d=c[b+-12>>2]|0;e=c[a>>2]|0;if((d|0)==(e|0)){if((c[b+-8>>2]|0)>=(c[a+4>>2]|0)){a=1;i=n;return a|0}}else if(d>>>0>=e>>>0){a=1;i=n;return a|0};c[n>>2]=c[a>>2];c[n+4>>2]=c[a+4>>2];c[n+8>>2]=c[a+8>>2];c[a>>2]=c[b+-12>>2];c[a+4>>2]=c[b+-12+4>>2];c[a+8>>2]=c[b+-12+8>>2];c[b+-12>>2]=c[n>>2];c[b+-12+4>>2]=c[n+4>>2];c[b+-12+8>>2]=c[n+8>>2];a=1;i=n;return a|0}case 3:{f=c[a+12>>2]|0;d=c[a>>2]|0;if((f|0)==(d|0))e=(c[a+16>>2]|0)<(c[a+4>>2]|0);else e=f>>>0>>0;d=c[b+-12>>2]|0;if((d|0)==(f|0))d=(c[b+-8>>2]|0)<(c[a+16>>2]|0);else d=d>>>0>>0;if(!e){if(!d){a=1;i=n;return a|0};c[n>>2]=c[a+12>>2];c[n+4>>2]=c[a+12+4>>2];c[n+8>>2]=c[a+12+8>>2];c[a+12>>2]=c[b+-12>>2];c[a+12+4>>2]=c[b+-12+4>>2];c[a+12+8>>2]=c[b+-12+8>>2];c[b+-12>>2]=c[n>>2];c[b+-12+4>>2]=c[n+4>>2];c[b+-12+8>>2]=c[n+8>>2];d=c[a+12>>2]|0;e=c[a>>2]|0;if((d|0)==(e|0)){if((c[a+16>>2]|0)>=(c[a+4>>2]|0)){a=1;i=n;return a|0}}else if(d>>>0>=e>>>0){a=1;i=n;return a|0};c[n>>2]=c[a>>2];c[n+4>>2]=c[a+4>>2];c[n+8>>2]=c[a+8>>2];c[a>>2]=c[a+12>>2];c[a+4>>2]=c[a+12+4>>2];c[a+8>>2]=c[a+12+8>>2];c[a+12>>2]=c[n>>2];c[a+12+4>>2]=c[n+4>>2];c[a+12+8>>2]=c[n+8>>2];a=1;i=n;return a|0}if(d){c[n>>2]=c[a>>2];c[n+4>>2]=c[a+4>>2];c[n+8>>2]=c[a+8>>2];c[a>>2]=c[b+-12>>2];c[a+4>>2]=c[b+-12+4>>2];c[a+8>>2]=c[b+-12+8>>2];c[b+-12>>2]=c[n>>2];c[b+-12+4>>2]=c[n+4>>2];c[b+-12+8>>2]=c[n+8>>2];a=1;i=n;return a|0};c[n>>2]=c[a>>2];c[n+4>>2]=c[a+4>>2];c[n+8>>2]=c[a+8>>2];c[a>>2]=c[a+12>>2];c[a+4>>2]=c[a+12+4>>2];c[a+8>>2]=c[a+12+8>>2];c[a+12>>2]=c[n>>2];c[a+12+4>>2]=c[n+4>>2];c[a+12+8>>2]=c[n+8>>2];d=c[b+-12>>2]|0;e=c[a+12>>2]|0;if((d|0)==(e|0)){if((c[b+-8>>2]|0)>=(c[a+16>>2]|0)){a=1;i=n;return a|0}}else if(d>>>0>=e>>>0){a=1;i=n;return a|0};c[n>>2]=c[a+12>>2];c[n+4>>2]=c[a+12+4>>2];c[n+8>>2]=c[a+12+8>>2];c[a+12>>2]=c[b+-12>>2];c[a+12+4>>2]=c[b+-12+4>>2];c[a+12+8>>2]=c[b+-12+8>>2];c[b+-12>>2]=c[n>>2];c[b+-12+4>>2]=c[n+4>>2];c[b+-12+8>>2]=c[n+8>>2];a=1;i=n;return a|0}case 4:{T7(a,a+12|0,a+24|0,b+-12|0)|0;a=1;i=n;return a|0}case 5:{U7(a,a+12|0,a+24|0,a+36|0,b+-12|0)|0;a=1;i=n;return a|0}case 1:case 0:{a=1;i=n;return a|0}default:{d=c[a+12>>2]|0;f=c[a>>2]|0;if((d|0)==(f|0))e=(c[a+16>>2]|0)<(c[a+4>>2]|0);else e=d>>>0>>0;g=c[a+24>>2]|0;if((g|0)==(d|0))d=(c[a+28>>2]|0)<(c[a+16>>2]|0);else d=g>>>0>>0;do if(e){if(d){c[n>>2]=c[a>>2];c[n+4>>2]=c[a+4>>2];c[n+8>>2]=c[a+8>>2];c[a>>2]=c[a+24>>2];c[a+4>>2]=c[a+24+4>>2];c[a+8>>2]=c[a+24+8>>2];c[a+24>>2]=c[n>>2];c[a+24+4>>2]=c[n+4>>2];c[a+24+8>>2]=c[n+8>>2];break};c[n>>2]=c[a>>2];c[n+4>>2]=c[a+4>>2];c[n+8>>2]=c[a+8>>2];c[a>>2]=c[a+12>>2];c[a+4>>2]=c[a+12+4>>2];c[a+8>>2]=c[a+12+8>>2];c[a+12>>2]=c[n>>2];c[a+12+4>>2]=c[n+4>>2];c[a+12+8>>2]=c[n+8>>2];d=c[a+12>>2]|0;if((g|0)==(d|0)){if((c[a+28>>2]|0)>=(c[a+16>>2]|0))break}else if(g>>>0>=d>>>0)break;c[n>>2]=c[a+12>>2];c[n+4>>2]=c[a+12+4>>2];c[n+8>>2]=c[a+12+8>>2];c[a+12>>2]=c[a+24>>2];c[a+12+4>>2]=c[a+24+4>>2];c[a+12+8>>2]=c[a+24+8>>2];c[a+24>>2]=c[n>>2];c[a+24+4>>2]=c[n+4>>2];c[a+24+8>>2]=c[n+8>>2]}else if(d){c[n>>2]=c[a+12>>2];c[n+4>>2]=c[a+12+4>>2];c[n+8>>2]=c[a+12+8>>2];c[a+12>>2]=c[a+24>>2];c[a+12+4>>2]=c[a+24+4>>2];c[a+12+8>>2]=c[a+24+8>>2];c[a+24>>2]=c[n>>2];c[a+24+4>>2]=c[n+4>>2];c[a+24+8>>2]=c[n+8>>2];d=c[a+12>>2]|0;if((d|0)==(f|0)){if((c[a+16>>2]|0)>=(c[a+4>>2]|0))break}else if(d>>>0>=f>>>0)break;c[n>>2]=c[a>>2];c[n+4>>2]=c[a+4>>2];c[n+8>>2]=c[a+8>>2];c[a>>2]=c[a+12>>2];c[a+4>>2]=c[a+12+4>>2];c[a+8>>2]=c[a+12+8>>2];c[a+12>>2]=c[n>>2];c[a+12+4>>2]=c[n+4>>2];c[a+12+8>>2]=c[n+8>>2]}while(0);a:do if((a+36|0)==(b|0)){e=1;d=0}else{d=0;l=a+36|0;f=a+24|0;while(1){k=c[l>>2]|0;e=c[f>>2]|0;if((k|0)==(e|0)){e=c[l+4>>2]|0;if((e|0)<(c[f+4>>2]|0))m=49}else if(k>>>0>>0){e=c[l+4>>2]|0;m=49}if((m|0)==49){m=0;j=c[l+8>>2]|0;c[l>>2]=c[f>>2];c[l+4>>2]=c[f+4>>2];c[l+8>>2]=c[f+8>>2];b:do if((f|0)==(a|0))f=a;else{h=f;while(1){f=h;h=h+-12|0;g=c[h>>2]|0;if((k|0)==(g|0)){if((e|0)>=(c[f+-8>>2]|0))break b}else if(k>>>0>=g>>>0)break b;c[f>>2]=c[h>>2];c[f+4>>2]=c[h+4>>2];c[f+8>>2]=c[h+8>>2];if((h|0)==(a|0)){f=a;break}}}while(0);c[f>>2]=k;c[f+4>>2]=e;c[f+8>>2]=j;d=d+1|0;if((d|0)==8){e=0;d=(l+12|0)==(b|0);break a}}e=l+12|0;if((e|0)==(b|0)){e=1;d=0;break}else{f=l;l=e}}}while(0);a=d|e;i=n;return a|0}}return 0}function W7(a){a=a|0;var b=0.0;if(c[a+92>>2]|0){b=0.0;return +b}b=+M(+(+(c[a+24>>2]|0)/1.25+.5));return +b}function X7(a){a=a|0;return +(+g[a+28>>2])}function Y7(a,b,d,e,f,h,j){a=a|0;b=b|0;d=d|0;e=+e;f=f|0;h=h|0;j=j|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0.0,s=0.0,t=0.0,u=0.0,v=0,w=0,x=0.0;w=i;i=i+112|0;g[w+80>>2]=e;g[w+76>>2]=0.0;v=c[(e<0.0?w+76|0:w+80|0)>>2]|0;c[w+80>>2]=v;q=c[b+132>>2]|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;l=c[d+4>>2]|0;m=c[d>>2]|0;n=c[h>>2]|0;u=(c[k>>2]=v,+g[k>>2]);if((c[h+8>>2]|0)-n>>4>>>0<(l-m|0)>>>0){o=(c[h+4>>2]|0)-n|0;if((l|0)==(m|0))p=0;else p=YAb(l-m<<4)|0;v=p+(o>>4<<4)|0;mBb(v+(0-(o>>4)<<4)|0,n|0,o|0)|0;c[h>>2]=v+(0-(o>>4)<<4);c[h+4>>2]=v;c[h+8>>2]=p+(l-m<<4);if(n|0)oAb(n)}c[w+64>>2]=0;c[w+64+4>>2]=0;c[w+64+8>>2]=0;c[w+52>>2]=0;v=w+52+4|0;c[v>>2]=0;c[w+52+8>>2]=0;Z7(b,d,u,w+52|0,w+64|0);c[w+48>>2]=0;l=c[w+52>>2]|0;a:do if(((c[v>>2]|0)-l|0)>0){r=0.0;p=0;e=0.0;while(1){o=l+(p*24|0)|0;s=+(c[(c[w+64>>2]|0)+(p<<2)>>2]|0);g[w+44>>2]=s;t=+M(+e);n=c[(s>2]|0;c[w+48>>2]=n;r=(c[k>>2]=n,+g[k>>2]);switch(f|0){case 2:{x=+M(+(u-s));s=0.0;l=(g[k>>2]=x,c[k>>2]|0);break}case 1:{x=+M(+((u-s)*.5));s=0.0;l=(g[k>>2]=x,c[k>>2]|0);break}case 3:{m=c[o>>2]|0;n=c[l+(p*24|0)+4>>2]|0;if((m|0)==(n|0)){s=0.0;l=0}else{l=0;do{l=((c[m>>2]|0)==32&1)+l|0;m=m+4|0}while((m|0)!=(n|0));if((l|0)>0&s>2]=l;g[w+4>>2]=t;c[w+96>>2]=c[w>>2];c[w+96+4>>2]=c[w+4>>2];O7(w+32|0,b,o,h,s,w+96|0,0);l=c[w+32>>2]|0;n=c[w+32+4>>2]|0;if((l|0)==(n|0))n=l;else{o=c[a+4>>2]|0;if((c[a>>2]|0)!=(o|0)){m=c[o+-4>>2]|0;if((c[o+-12>>2]|0)==(c[l>>2]|0))if(((c[o+-8>>2]|0)+m|0)==(c[l+4>>2]|0)){c[o+-4>>2]=(c[l+8>>2]|0)+m;l=l+12|0}}c[w+28>>2]=o;c[w+24>>2]=l;c[w+20>>2]=n;c[w+84>>2]=c[w+28>>2];c[w+88>>2]=c[w+24>>2];c[w+96>>2]=c[w+20>>2];c8(a,w+84|0,w+88|0,w+96|0)|0;n=c[w+32>>2]|0}e=e+ +(c[b+24>>2]|0)*+g[b+28>>2];l=n;if(n|0){m=c[w+32+4>>2]|0;if((m|0)!=(n|0))c[w+32+4>>2]=m+(~(((m+-12-l|0)>>>0)/12|0)*12|0);oAb(n)}p=p+1|0;l=c[w+52>>2]|0;if((p|0)>=(((c[v>>2]|0)-l|0)/24|0|0))break a}}else{r=0.0;e=0.0}while(0);if(j|0){c[j>>2]=~~r;c[j+4>>2]=~~e}if((q|0)!=(c[b+132>>2]|0)){l=c[h>>2]|0;m=c[h+4>>2]|0;if((m|0)!=(l|0))c[h+4>>2]=m+(~((m+-16-l|0)>>>4)<<4);Y7(w+8|0,b,d,u,f,h,0);l=c[a>>2]|0;if(!l)l=a+8|0;else{m=c[a+4>>2]|0;if((m|0)!=(l|0))c[a+4>>2]=m+(~(((m+-12-l|0)>>>0)/12|0)*12|0);oAb(l);c[a+8>>2]=0;c[a+4>>2]=0;c[a>>2]=0;l=a+8|0}c[a>>2]=c[w+8>>2];c[a+4>>2]=c[w+8+4>>2];c[l>>2]=c[w+8+8>>2];c[w+8+8>>2]=0;c[w+8+4>>2]=0;c[w+8>>2]=0;l=c[w+52>>2]|0}if(l|0){m=c[v>>2]|0;if((m|0)!=(l|0)){do{n=m+-24|0;c[v>>2]=n;o=c[m+-12>>2]|0;if(o|0){p=m+-8|0;q=c[p>>2]|0;if((q|0)!=(o|0))c[p>>2]=q+(~((q+-8-o|0)>>>3)<<3);oAb(o)}o=c[n>>2]|0;if(o|0){m=m+-20|0;n=c[m>>2]|0;if((n|0)!=(o|0))c[m>>2]=n+(~((n+-4-o|0)>>>2)<<2);oAb(o)}m=c[v>>2]|0}while((m|0)!=(l|0));l=c[w+52>>2]|0}oAb(l)}l=c[w+64>>2]|0;if(!l){i=w;return}m=c[w+64+4>>2]|0;if((m|0)!=(l|0))c[w+64+4>>2]=m+(~((m+-4-l|0)>>>2)<<2);oAb(l);i=w;return}function Z7(a,b,e,f,g){a=a|0;b=b|0;e=+e;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0.0,n=0.0,o=0,p=0,q=0,r=0.0,s=0,t=0,u=0,v=0.0,w=0,x=0.0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;H=i;i=i+48|0;A=((c[b+16>>2]|0)-(c[b+12>>2]|0)>>3)+-1|0;c[H+24>>2]=0;c[H+24+4>>2]=0;c[H+24+8>>2]=0;c[H+24+12>>2]=0;c[H+24+16>>2]=0;c[H+24+20>>2]=0;h=c[b>>2]|0;do if(((c[b+4>>2]|0)-h|0)>0){G=H+24+4|0;B=H+24+16|0;C=H+24+12|0;t=0;u=-1;k=-1;l=-1;o=-1;s=-1;w=0;z=-1;p=0;v=0.0;x=0.0;m=0.0;a:while(1){q=c[h+(w<<2)>>2]|0;c[H+20>>2]=q;if((s|0)<(A|0)){j=s+1|0;h=c[b+12>>2]|0;if((c[h+(j<<3)+4>>2]|0)==(w|0)){o=d[h+(j<<3)>>0]|d[h+(j<<3)+1>>0]<<8|d[h+(j<<3)+2>>0]<<16|d[h+(j<<3)+3>>0]<<24;t=1;u=o&255;y=o>>>8&255;l=o>>>16&255;o=o>>>24&255;s=j}else y=k}else y=k;do if((q|0)==10){p=c[f+4>>2]|0;if((p|0)==(c[f+8>>2]|0))$7(f,H+24|0);else{_7(p,H+24|0);c[p+12>>2]=0;c[p+16>>2]=0;c[p+20>>2]=0;h=(c[B>>2]|0)-(c[C>>2]|0)|0;if(h>>3|0){if(h>>3>>>0>536870911){E=11;break a}j=YAb(h)|0;c[p+16>>2]=j;c[p+12>>2]=j;c[p+20>>2]=j+(h>>3<<3);h=c[C>>2]|0;k=c[B>>2]|0;if((h|0)!=(k|0))do{q=h;t=c[q+4>>2]|0;z=j;c[z>>2]=c[q>>2];c[z+4>>2]=t;j=(c[p+16>>2]|0)+8|0;c[p+16>>2]=j;h=h+8|0}while((h|0)!=(k|0))}c[f+4>>2]=(c[f+4>>2]|0)+24}do if(g|0){h=~~(v-m);c[H+16>>2]=h;j=c[g+4>>2]|0;if(j>>>0<(c[g+8>>2]|0)>>>0){c[j>>2]=h;c[g+4>>2]=j+4;break}else{al(g,H+16|0);break}}while(0);h=c[H+24>>2]|0;j=c[G>>2]|0;if((j|0)!=(h|0))c[G>>2]=j+(~((j+-4-h|0)>>>2)<<2);h=c[H+24+12>>2]|0;j=c[B>>2]|0;if((j|0)!=(h|0))c[B>>2]=j+(~((j+-8-h|0)>>>3)<<3);t=1;k=y;j=w+1|0;p=-1;q=0;n=0.0;r=0.0;m=0.0}else{j=c[a+56>>2]|0;b:do if(!j)E=39;else{if(!(j+-1&j))k=j+-1&q;else k=(q>>>0)%(j>>>0)|0;h=c[(c[a+52>>2]|0)+(k<<2)>>2]|0;if(!h)E=39;else{if(!(j+-1&j))do{h=c[h>>2]|0;if(!h){E=39;break b}if((c[h+4>>2]&j+-1|0)!=(k|0)){E=39;break b}}while((c[h+8>>2]|0)!=(q|0));else do{h=c[h>>2]|0;if(!h){E=39;break b}if((((c[h+4>>2]|0)>>>0)%(j>>>0)|0|0)!=(k|0)){E=39;break b}}while((c[h+8>>2]|0)!=(q|0));h=h+12|0}}while(0);if((E|0)==39){E=0;h=t7(a,q)|0}k=c[h+4>>2]|0;r=+(k|0)+ +F7(a,p,q);n=v+r;if(!(n>e&(q|0)!=32)){v=(p|0)!=32&(q|0)==32?v:x;do if(t){c[H>>2]=(l&255)<<16|(o&255)<<24|(y&255)<<8|u&255;c[H+4>>2]=(c[G>>2]|0)-(c[H+24>>2]|0)>>2;h=c[B>>2]|0;if(h>>>0<(c[H+24+20>>2]|0)>>>0){t=c[H+4>>2]|0;c[h>>2]=c[H>>2];c[h+4>>2]=t;c[B>>2]=(c[B>>2]|0)+8;break}else{b8(C,H);break}}while(0);h=c[G>>2]|0;if((h|0)==(c[H+24+8>>2]|0))s7(H+24|0,H+20|0);else{c[h>>2]=q;c[G>>2]=h+4}switch(q|0){case 32:{h=w;m=m+r;break}case 10:{h=z;break}default:{h=z;m=0.0}}t=0;k=y;j=w+1|0;p=h;r=v;break}q=c[H+24>>2]|0;h=c[G>>2]|0;if((q|0)==(h|0)){k=y;w=w+1|0;m=v}else if((z|0)==-1){k=y;m=v}else{j=h;do{j=j+-4|0;if((c[j>>2]|0)==32)break;c[G>>2]=j;h=j}while((q|0)!=(j|0));p=c[H+24+12>>2]|0;k=c[B>>2]|0;c:do if((p|0)!=(k|0)){j=h-q>>2;h=k;do{if((c[h+-4>>2]|0)<(j|0))break c;h=h+-8|0;c[B>>2]=h}while((p|0)!=(h|0))}while(0);d:do if((s|0)>-1){j=c[b+12>>2]|0;h=s;while(1){if((c[j+(h<<3)+4>>2]|0)<=(z|0))break;if((h|0)>0)h=h+-1|0;else{j=u;k=y;h=s;break d}}o=d[j+(h<<3)>>0]|d[j+(h<<3)+1>>0]<<8|d[j+(h<<3)+2>>0]<<16|d[j+(h<<3)+3>>0]<<24;j=o&255;k=o>>>8&255;l=o>>>16&255;o=o>>>24&255}else{j=u;k=y;h=s}while(0);u=j;s=h;w=z+1|0;m=x}q=c[f+4>>2]|0;if((q|0)==(c[f+8>>2]|0))$7(f,H+24|0);else{_7(q,H+24|0);c[q+12>>2]=0;c[q+16>>2]=0;c[q+20>>2]=0;h=(c[B>>2]|0)-(c[C>>2]|0)|0;if(h>>3|0){if(h>>3>>>0>536870911){E=60;break a}j=YAb(h)|0;c[q+16>>2]=j;c[q+12>>2]=j;c[q+20>>2]=j+(h>>3<<3);h=c[C>>2]|0;p=c[B>>2]|0;if((h|0)!=(p|0))do{t=h;y=c[t+4>>2]|0;z=j;c[z>>2]=c[t>>2];c[z+4>>2]=y;j=(c[q+16>>2]|0)+8|0;c[q+16>>2]=j;h=h+8|0}while((h|0)!=(p|0))}c[f+4>>2]=(c[f+4>>2]|0)+24}do if(g|0){h=~~m;c[H+12>>2]=h;j=c[g+4>>2]|0;if(j>>>0<(c[g+8>>2]|0)>>>0){c[j>>2]=h;c[g+4>>2]=j+4;break}else{al(g,H+12|0);break}}while(0);h=c[H+24>>2]|0;j=c[G>>2]|0;if((j|0)!=(h|0))c[G>>2]=j+(~((j+-4-h|0)>>>2)<<2);h=c[H+24+12>>2]|0;j=c[B>>2]|0;if((j|0)==(h|0)){t=1;j=w;p=-1;q=0;n=0.0;r=0.0;m=0.0}else{c[B>>2]=j+(~((j+-8-h|0)>>>3)<<3);t=1;j=w;p=-1;q=0;n=0.0;r=0.0;m=0.0}}while(0);h=c[b>>2]|0;if((j|0)>=((c[b+4>>2]|0)-h>>2|0)){E=86;break}else{w=j;z=p;p=q;v=n;x=r}}if((E|0)==11)jzb(p+12|0);else if((E|0)==60)jzb(q+12|0);else if((E|0)==86){if((c[H+24>>2]|0)==(c[G>>2]|0)){D=H+24|0;F=G;break}l=c[f+4>>2]|0;if((l|0)==(c[f+8>>2]|0))$7(f,H+24|0);else{_7(l,H+24|0);c[l+12>>2]=0;c[l+16>>2]=0;c[l+20>>2]=0;h=(c[H+24+16>>2]|0)-(c[H+24+12>>2]|0)|0;if(h>>3|0){if(h>>3>>>0>536870911)jzb(l+12|0);j=YAb(h)|0;c[l+16>>2]=j;c[l+12>>2]=j;c[l+20>>2]=j+(h>>3<<3);h=c[H+24+12>>2]|0;k=c[H+24+16>>2]|0;if((h|0)!=(k|0))do{D=h;E=c[D+4>>2]|0;F=j;c[F>>2]=c[D>>2];c[F+4>>2]=E;j=(c[l+16>>2]|0)+8|0;c[l+16>>2]=j;h=h+8|0}while((h|0)!=(k|0))}c[f+4>>2]=(c[f+4>>2]|0)+24}if(!g){D=H+24|0;F=G;break}c[H+8>>2]=~~(n-m);h=c[g+4>>2]|0;if(h>>>0<(c[g+8>>2]|0)>>>0){c[h>>2]=~~(n-m);c[g+4>>2]=h+4;D=H+24|0;F=G;break}else{al(g,H+8|0);D=H+24|0;F=G;break}}}else{D=H+24|0;F=H+24+4|0}while(0);h=c[H+24+12>>2]|0;if(h|0){j=c[H+24+16>>2]|0;if((j|0)!=(h|0))c[H+24+16>>2]=j+(~((j+-8-h|0)>>>3)<<3);oAb(h)}h=c[D>>2]|0;if(!h){i=H;return}j=c[F>>2]|0;if((j|0)!=(h|0))c[F>>2]=j+(~((j+-4-h|0)>>>2)<<2);oAb(h);i=H;return}function _7(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;d=(c[b+4>>2]|0)-(c[b>>2]|0)|0;if(!(d>>2))return;if(d>>2>>>0>1073741823)jzb(a);g=YAb(d)|0;c[a+4>>2]=g;c[a>>2]=g;c[a+8>>2]=g+(d>>2<<2);f=c[b>>2]|0;b=c[b+4>>2]|0;if((f|0)==(b|0))return;d=f;e=g;while(1){c[e>>2]=c[d>>2];d=d+4|0;if((d|0)==(b|0))break;else e=e+4|0}c[a+4>>2]=g+(((b+-4-f|0)>>>2)+1<<2);return}function $7(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=c[a>>2]|0;e=(((c[a+4>>2]|0)-f|0)/24|0)+1|0;if(e>>>0>178956970)jzb(a);d=((c[a+8>>2]|0)-f|0)/24|0;if(d>>>0<89478485){d=d<<1>>>0>>0?e:d<<1;e=((c[a+4>>2]|0)-f|0)/24|0;if(!d){f=0;d=0}else g=6}else{d=178956970;e=((c[a+4>>2]|0)-f|0)/24|0;g=6}if((g|0)==6){f=d;d=YAb(d*24|0)|0}i=d+(e*24|0)|0;h=d+(f*24|0)|0;_7(i,b);a8(d+(e*24|0)+12|0,b+12|0);g=c[a>>2]|0;d=c[a+4>>2]|0;if((d|0)==(g|0)){e=i;b=g;d=g}else{f=i;e=i;do{j=f+-24|0;b=d;d=d+-24|0;c[j>>2]=0;k=f+-20|0;c[k>>2]=0;c[f+-16>>2]=0;c[j>>2]=c[d>>2];c[k>>2]=c[b+-20>>2];c[f+-16>>2]=c[b+-16>>2];c[b+-16>>2]=0;c[b+-20>>2]=0;c[d>>2]=0;k=f+-12|0;c[k>>2]=0;j=f+-8|0;c[j>>2]=0;c[f+-4>>2]=0;c[k>>2]=c[b+-12>>2];c[j>>2]=c[b+-8>>2];c[f+-4>>2]=c[b+-4>>2];c[b+-4>>2]=0;c[b+-8>>2]=0;c[b+-12>>2]=0;f=e+-24|0;e=f}while((d|0)!=(g|0));b=c[a>>2]|0;d=c[a+4>>2]|0}c[a>>2]=e;c[a+4>>2]=i+24;c[a+8>>2]=h;h=b;if((d|0)!=(h|0)){f=d;do{g=f;f=f+-24|0;d=c[g+-12>>2]|0;if(d|0){e=c[g+-8>>2]|0;if((e|0)!=(d|0))c[g+-8>>2]=e+(~((e+-8-d|0)>>>3)<<3);oAb(d)}d=c[f>>2]|0;if(d|0){e=c[g+-20>>2]|0;if((e|0)!=(d|0))c[g+-20>>2]=e+(~((e+-4-d|0)>>>2)<<2);oAb(d)}}while((f|0)!=(h|0))}if(!b)return;oAb(b);return}function a8(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;e=(c[b+4>>2]|0)-(c[b>>2]|0)|0;if(!(e>>3))return;if(e>>3>>>0>536870911)jzb(a);d=YAb(e)|0;c[a+4>>2]=d;c[a>>2]=d;c[a+8>>2]=d+(e>>3<<3);e=c[b>>2]|0;b=c[b+4>>2]|0;if((e|0)==(b|0))return;do{h=e;g=c[h+4>>2]|0;f=d;c[f>>2]=c[h>>2];c[f+4>>2]=g;d=(c[a+4>>2]|0)+8|0;c[a+4>>2]=d;e=e+8|0}while((e|0)!=(b|0));return}function b8(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=c[a>>2]|0;e=((c[a+4>>2]|0)-j>>3)+1|0;if(e>>>0>536870911)jzb(a);d=(c[a+8>>2]|0)-j|0;if(d>>3>>>0<268435455){d=d>>2>>>0>>0?e:d>>2;f=c[a+4>>2]|0;if(!d){i=0;g=0;e=f-j>>3;d=f}else{h=f;e=f-j>>3;k=6}}else{e=c[a+4>>2]|0;d=536870911;h=e;e=e-j>>3;k=6}if((k|0)==6){i=d;g=YAb(d<<3)|0;d=h}k=g+(e<<3)|0;h=c[b+4>>2]|0;c[k>>2]=c[b>>2];c[k+4>>2]=h;b=d-j|0;mBb(k+(0-(b>>3)<<3)|0,j|0,b|0)|0;c[a>>2]=k+(0-(b>>3)<<3);c[a+4>>2]=k+8;c[a+8>>2]=g+(i<<3);if(!j)return;oAb(j);return}function c8(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;j=c[a>>2]|0;m=j+((((c[b>>2]|0)-j|0)/12|0)*12|0)|0;k=c[d>>2]|0;l=c[e>>2]|0;if((l-k|0)<=0){a=m;return a|0}e=c[a+8>>2]|0;i=c[a+4>>2]|0;if(((l-k|0)/12|0|0)<=((e-i|0)/12|0|0)){if(((l-k|0)/12|0|0)>((i-m|0)/12|0|0)){h=k+(((i-m|0)/12|0)*12|0)|0;if((h|0)==(l|0))b=i;else{b=i;e=h;do{c[b>>2]=c[e>>2];c[b+4>>2]=c[e+4>>2];c[b+8>>2]=c[e+8>>2];b=(c[a+4>>2]|0)+12|0;c[a+4>>2]=b;e=e+12|0}while((e|0)!=(l|0))}if((i-m|0)<=0){a=m;return a|0}}else{b=i;h=l}f=b-(m+(((l-k|0)/12|0)*12|0))|0;if((m+(((f|0)/12|0)*12|0)|0)>>>0>>0){e=b;g=m+(((f|0)/12|0)*12|0)|0;do{c[e>>2]=c[g>>2];c[e+4>>2]=c[g+4>>2];c[e+8>>2]=c[g+8>>2];g=g+12|0;e=(c[a+4>>2]|0)+12|0;c[a+4>>2]=e}while(g>>>0>>0)}nBb(b+(((f|0)/-12|0)*12|0)|0,m|0,f|0)|0;a=c[d>>2]|0;nBb(m|0,a|0,h-a|0)|0;a=m;return a|0}b=((i-j|0)/12|0)+((l-k|0)/12|0)|0;if(b>>>0>357913941)jzb(a);if(((e-j|0)/12|0)>>>0<178956970){b=((e-j|0)/12|0)<<1>>>0>>0?b:((e-j|0)/12|0)<<1;if(!b){g=0;b=0;e=(m-j|0)/12|0;i=m}else{e=(m-j|0)/12|0;f=m;h=15}}else{b=357913941;e=(m-j|0)/12|0;f=m;h=15}if((h|0)==15){g=b;b=YAb(b*12|0)|0;i=f}h=b+(e*12|0)|0;g=b+(g*12|0)|0;if((k|0)==(l|0)){b=j;e=h}else{f=h;b=k;e=h;do{c[f>>2]=c[b>>2];c[f+4>>2]=c[b+4>>2];c[f+8>>2]=c[b+8>>2];f=e+12|0;e=f;b=b+12|0}while((b|0)!=(l|0));b=c[a>>2]|0}k=i-b|0;mBb(h+(((k|0)/-12|0)*12|0)|0,b|0,k|0)|0;l=(c[a+4>>2]|0)-i|0;mBb(e|0,m|0,l|0)|0;b=c[a>>2]|0;c[a>>2]=h+(((k|0)/-12|0)*12|0);c[a+4>>2]=e+(((l|0)/12|0)*12|0);c[a+8>>2]=g;if(!b){a=h;return a|0}oAb(b);a=h;return a|0}function d8(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0;j=i;i=i+16|0;e=c[b>>2]|0;g=c[b+4>>2]|0;if((e|0)==(g|0))g=a+128|0;else{f=0;do{h=(c[e+8>>2]|0)+(c[e+4>>2]|0)|0;f=(h|0)<(f|0)?f:h;e=e+12|0}while((e|0)!=(g|0));if(f>>>2>>>0>(T8(a+128|0)|0)>>>0){M8(j,f>>>2);R8(a+128|0,j)|0;S8(j);g=a+128|0}else g=a+128|0}$ca(631040);a=P8(g,c[157675]|0)|0;h=V8(g)|0;if(d)I8(W8(g)|0);e=c[b>>2]|0;f=c[b+4>>2]|0;if((e|0)!=(f|0))if(d)do{k=((c[e+8>>2]|0)/4|0)*6|0;b=_(h*6|0,(c[e+4>>2]|0)/4|0)|0;Wca(631040,c[e>>2]|0);bda(631040,4,k,a,X8(g,b)|0);e=e+12|0}while((e|0)!=(f|0));else do{b=((c[e+8>>2]|0)/4|0)*6|0;k=_(h*6|0,(c[e+4>>2]|0)/4|0)|0;Wca(631040,c[e>>2]|0);bda(631040,4,b,a,Y8(g,k)|0);e=e+12|0}while((e|0)!=(f|0));if(!d){i=j;return}J8(W8(g)|0);i=j;return}function e8(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;if((c[e>>2]|0)==(c[e+4>>2]|0))return;if((c[d>>2]|0)==(c[d+4>>2]|0))return;Xca(631040);Kua(_ca(631040)|0,b);Ii[c[163985]&63](0,2,5126,0,16,c[e>>2]|0);Ii[c[163985]&63](1,2,5123,1,16,(c[e>>2]|0)+8|0);Ii[c[163985]&63](2,4,5121,1,16,(c[e>>2]|0)+12|0);Uca(631040,7);d8(a,d,0);Zca(631040);return}function f8(a,b,d,e,f,h,j,k,l,m,n){a=a|0;b=b|0;d=+d;e=+e;f=+f;h=+h;j=+j;k=+k;l=+l;m=+m;n=+n;var o=0;o=i;i=i+128|0;c[o+32>>2]=0;c[o+32+4>>2]=0;c[o+32+8>>2]=0;c[o+32+12>>2]=0;c[o+32+16>>2]=0;c[o+32+20>>2]=0;L7(b,o+32|0);c[o+20>>2]=0;c[o+20+4>>2]=0;c[o+20+8>>2]=0;g[o>>2]=0.0;g[o+4>>2]=0.0;c[o+56>>2]=c[o>>2];c[o+56+4>>2]=c[o+4>>2];O7(o+8|0,a,o+32|0,o+20|0,0.0,o+56|0,0);Hua(o+56|0,d,e,f,h,j,k,l,m,n);e8(a,o+56|0,o+8|0,o+20|0);b=c[o+8>>2]|0;if(b|0){a=c[o+8+4>>2]|0;if((a|0)!=(b|0))c[o+8+4>>2]=a+(~(((a+-12-b|0)>>>0)/12|0)*12|0);oAb(b)}b=c[o+20>>2]|0;if(b|0){a=c[o+20+4>>2]|0;if((a|0)!=(b|0))c[o+20+4>>2]=a+(~((a+-16-b|0)>>>4)<<4);oAb(b)}b=c[o+32+12>>2]|0;if(b|0){a=c[o+32+16>>2]|0;if((a|0)!=(b|0))c[o+32+16>>2]=a+(~((a+-8-b|0)>>>3)<<3);oAb(b)}b=c[o+32>>2]|0;if(!b){i=o;return}a=c[o+32+4>>2]|0;if((a|0)!=(b|0))c[o+32+4>>2]=a+(~((a+-4-b|0)>>>2)<<2);oAb(b);i=o;return}function g8(a,b,d,e,f,g,h,j,k,l,m,n,o){a=a|0;b=b|0;d=+d;e=+e;f=+f;g=g|0;h=+h;j=+j;k=+k;l=+l;m=+m;n=+n;o=+o;var p=0;p=i;i=i+112|0;c[p+88>>2]=0;c[p+88+4>>2]=0;c[p+88+8>>2]=0;c[p+88+12>>2]=0;c[p+88+16>>2]=0;c[p+88+20>>2]=0;L7(b,p+88|0);c[p+76>>2]=0;c[p+76+4>>2]=0;c[p+76+8>>2]=0;Y7(p+64|0,a,p+88|0,f,g,p+76|0,0);Hua(p,d,e,h,j,k,l,m,n,o);e8(a,p,p+64|0,p+76|0);g=c[p+64>>2]|0;if(g|0){b=c[p+64+4>>2]|0;if((b|0)!=(g|0))c[p+64+4>>2]=b+(~(((b+-12-g|0)>>>0)/12|0)*12|0);oAb(g)}g=c[p+76>>2]|0;if(g|0){b=c[p+76+4>>2]|0;if((b|0)!=(g|0))c[p+76+4>>2]=b+(~((b+-16-g|0)>>>4)<<4);oAb(g)}g=c[p+88+12>>2]|0;if(g|0){b=c[p+88+16>>2]|0;if((b|0)!=(g|0))c[p+88+16>>2]=b+(~((b+-8-g|0)>>>3)<<3);oAb(g)}g=c[p+88>>2]|0;if(!g){i=p;return}b=c[p+88+4>>2]|0;if((b|0)!=(g|0))c[p+88+4>>2]=b+(~((b+-4-g|0)>>>2)<<2);oAb(g);i=p;return}function h8(b,d){b=b|0;d=d|0;var e=0,f=0,g=0.0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+176|0;p=a[d>>0]|0;if(!(((p&1)==0?(p&255)>>>1:c[d+4>>2]|0)|0)){q=0;i=r;return q|0}o=r+24+8|0;c[r+24>>2]=23600;c[r+24+60>>2]=23620;c[r+24+4>>2]=0;rsb(r+24+60|0,o);c[r+24+132>>2]=0;c[r+24+136>>2]=-1;c[r+24>>2]=23560;c[r+24+60>>2]=23580;tsb(o);c[o>>2]=9220;p=r+24+40|0;c[p>>2]=0;c[p+4>>2]=0;c[p+8>>2]=0;c[p+12>>2]=0;c[r+24+56>>2]=8;dk(o,d);c[r+12>>2]=0;c[r+12+4>>2]=0;c[r+12+8>>2]=0;d=0;a:while(1){n=kv(r+24|0,r+12|0,10)|0;if(c[n+(c[(c[n>>2]|0)+-12>>2]|0)+16>>2]&5|0){q=25;break}m=a[r+12>>0]|0;l=(m&1)==0?r+12+1|0:c[r+12+8>>2]|0;m=(m&1)==0?(m&255)>>>1:c[r+12+4>>2]|0;c[r>>2]=l;c[r+4>>2]=l;c[r+8>>2]=l+m;if((m|0)<0){q=5;break}else{h=l+m|0;n=0;e=0}while(1){f=c[r>>2]|0;if((f|0)==(l+m|0))break;c[r+168>>2]=h;c[r+172>>2]=c[r+168>>2];M5(r,r+172|0)|0;c[r+168>>2]=f;c[r+164>>2]=h;c[r+172>>2]=c[r+164>>2];k=n;n=M5(r+168|0,r+172|0)|0;h=c[b+56>>2]|0;b:do if(!h)q=21;else{if(!(h+-1&h))j=h+-1&n;else j=(n>>>0)%(h>>>0)|0;f=c[(c[b+52>>2]|0)+(j<<2)>>2]|0;if(!f)q=21;else{if(!(h+-1&h))do{f=c[f>>2]|0;if(!f){q=21;break b}if((c[f+4>>2]&h+-1|0)!=(j|0)){q=21;break b}}while((c[f+8>>2]|0)!=(n|0));else do{f=c[f>>2]|0;if(!f){q=21;break b}if((((c[f+4>>2]|0)>>>0)%(h>>>0)|0|0)!=(j|0)){q=21;break b}}while((c[f+8>>2]|0)!=(n|0));f=f+12|0}}while(0);if((q|0)==21){q=0;f=t7(b,n)|0}f=c[f+4>>2]|0;g=+F7(b,k,n);if((c[r+4>>2]|0)!=(l|0)){q=6;break a}h=c[r+8>>2]|0;if((h|0)!=(l+m|0)){q=6;break a}else e=~~(+(e|0)+(+(f|0)+g))}d=(d|0)<(e|0)?e:d}if((q|0)==5){r=nf(8)|0;Dqb(r,432204);c[r>>2]=156212;zc(r|0,9016,680)}else if((q|0)==6){r=nf(8)|0;Dqb(r,432236);zc(r|0,9e3,680)}else if((q|0)==25){Mqb(r+12|0);c[r+24>>2]=23560;c[r+24+60>>2]=23580;c[o>>2]=9220;Mqb(p);urb(o);qrb(r+24+60|0);q=d;i=r;return q|0}return 0}function i8(a){a=a|0;c[a>>2]=23560;c[a+60>>2]=23580;c[a+8>>2]=9220;Mqb(a+40|0);urb(a+8|0);qrb(a+60|0);return}function j8(a){a=a|0;c[a>>2]=23560;c[a+60>>2]=23580;c[a+8>>2]=9220;Mqb(a+40|0);urb(a+8|0);qrb(a+60|0);oAb(a);return}function k8(a){a=a|0;a=a+(c[(c[a>>2]|0)+-12>>2]|0)|0;c[a>>2]=23560;c[a+60>>2]=23580;c[a+8>>2]=9220;Mqb(a+40|0);urb(a+8|0);qrb(a+60|0);return}function l8(a){a=a|0;a=a+(c[(c[a>>2]|0)+-12>>2]|0)|0;c[a>>2]=23560;c[a+60>>2]=23580;c[a+8>>2]=9220;Mqb(a+40|0);urb(a+8|0);qrb(a+60|0);oAb(a);return}function m8(b,d,e,f,g){b=b|0;d=d|0;e=+e;f=f|0;g=g|0;var h=0,j=0,k=0,l=0;l=i;i=i+64|0;c[l+24>>2]=0;c[l+24+4>>2]=0;c[l+24+8>>2]=0;c[l+24+12>>2]=0;c[l+24+16>>2]=0;c[l+24+20>>2]=0;L7(d,l+24|0);c[l+12>>2]=0;k=l+12+4|0;c[k>>2]=0;c[l+12+8>>2]=0;Z7(b,l+24|0,e,l+12|0,g);c[l>>2]=0;c[l+4>>2]=0;c[l+8>>2]=0;d=c[l+12>>2]|0;j=c[k>>2]|0;a:do if((d|0)!=(j|0)){g=0;while(1){if(!(g&1)){a[l+1>>0]=0;a[l>>0]=0}else{a[c[l+8>>2]>>0]=0;c[l+4>>2]=0}h=d+4|0;Qqb(l,(c[h>>2]|0)-(c[d>>2]|0)>>2);g=c[d>>2]|0;h=c[h>>2]|0;if((g|0)!=(h|0))do{b=c[g>>2]|0;a[l+48>>0]=0;a[l+48+1>>0]=0;a[l+48+2>>0]=0;a[l+48+3>>0]=0;a[l+48+4>>0]=0;do if(b>>>0<128){a[l+48>>0]=b;b=l+48+1|0}else{if(b>>>0<2048){a[l+48>>0]=b>>>6|192;a[l+48+1>>0]=b&63|128;b=l+48+2|0;break}if(b>>>0<65536){a[l+48>>0]=b>>>12|224;a[l+48+1>>0]=b>>>6&63|128;a[l+48+2>>0]=b&63|128;b=l+48+3|0;break}else{a[l+48>>0]=b>>>18|240;a[l+48+1>>0]=b>>>12&63|128;a[l+48+2>>0]=b>>>6&63|128;a[l+48+3>>0]=b&63|128;b=l+48+4|0;break}}while(0);Vqb(l,l+48|0,b-(l+48)|0)|0;g=g+4|0}while((g|0)!=(h|0));g=c[f+4>>2]|0;if((g|0)==(c[f+8>>2]|0))lv(f,l);else{Hqb(g,l);c[f+4>>2]=(c[f+4>>2]|0)+12}d=d+24|0;if((d|0)==(j|0))break a;g=a[l>>0]|0}}while(0);Mqb(l);d=c[l+12>>2]|0;if(d|0){g=c[k>>2]|0;if((g|0)!=(d|0)){do{b=g+-24|0;c[k>>2]=b;h=c[g+-12>>2]|0;if(h|0){j=g+-8|0;f=c[j>>2]|0;if((f|0)!=(h|0))c[j>>2]=f+(~((f+-8-h|0)>>>3)<<3);oAb(h)}h=c[b>>2]|0;if(h|0){g=g+-20|0;b=c[g>>2]|0;if((b|0)!=(h|0))c[g>>2]=b+(~((b+-4-h|0)>>>2)<<2);oAb(h)}g=c[k>>2]|0}while((g|0)!=(d|0));d=c[l+12>>2]|0}oAb(d)}d=c[l+24+12>>2]|0;if(d|0){g=c[l+24+16>>2]|0;if((g|0)!=(d|0))c[l+24+16>>2]=g+(~((g+-8-d|0)>>>3)<<3);oAb(d)}d=c[l+24>>2]|0;if(!d){i=l;return}g=c[l+24+4>>2]|0;if((g|0)!=(d|0))c[l+24+4>>2]=g+(~((g+-4-d|0)>>>2)<<2);oAb(d);i=l;return}function n8(a,b){a=a|0;b=+b;g[a+28>>2]=b;return}function o8(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;if(!(VC(b,0)|0)){a=nf(16)|0;ds(a,436938,e);zc(a|0,96,27)}c[a+96>>2]=c[b>>2];c[a+96+4>>2]=c[b+4>>2];c[a+96+8>>2]=c[b+8>>2];c[a+96+12>>2]=c[b+12>>2];b=c[a+40>>2]|0;d=c[a+44>>2]|0;if((b|0)==(d|0)){i=e;return}do{Wca(631040,c[b>>2]|0);pda(631040,a+96|0);b=b+4|0}while((b|0)!=(d|0));i=e;return}function p8(a){a=a|0;return a+96|0}function q8(a){a=a|0;a=c[c[a+12>>2]>>2]|0;return vi[c[(c[a>>2]|0)+24>>2]&2047](a)|0}function r8(a){a=a|0;a=c[c[a+12>>2]>>2]|0;return vi[c[(c[a>>2]|0)+28>>2]&2047](a)|0}function s8(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[a+12>>2]|0;a=c[a+16>>2]|0;if((d|0)==(a|0)){b=0;return b|0}while(1){e=c[d>>2]|0;d=d+4|0;if(Xi[c[(c[e>>2]|0)+48>>2]&511](e,b)|0){d=1;a=4;break}if((d|0)==(a|0)){d=0;a=4;break}}if((a|0)==4)return d|0;return 0}function t8(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0;j=i;i=i+32|0;e=a[d>>0]|0;h=(e&1)==0?(e&255)>>>1:c[d+4>>2]|0;if(!h){i=j;return 0}g=(e&1)==0?d+1|0:c[d+8>>2]|0;c[j>>2]=g;c[j+4>>2]=g;c[j+8>>2]=g+h;if((h|0)<0){j=nf(8)|0;Dqb(j,432204);c[j>>2]=156212;zc(j|0,9016,680)}if(!h){b=1;i=j;return b|0}else{e=g+h|0;d=g}a:while(1){c[j+16>>2]=e;c[j+20>>2]=c[j+16>>2];M5(j,j+20|0)|0;c[j+16>>2]=d;c[j+12>>2]=e;c[j+20>>2]=c[j+12>>2];d=M5(j+16|0,j+20|0)|0;e=c[b+12>>2]|0;f=c[b+16>>2]|0;if((e|0)==(f|0)){e=0;d=11;break}while(1){k=c[e>>2]|0;e=e+4|0;if(Xi[c[(c[k>>2]|0)+48>>2]&511](k,d)|0)break;if((e|0)==(f|0)){e=0;d=11;break a}}e=c[j+8>>2]|0;if(!((e|0)==(g+h|0)?(c[j+4>>2]|0)==(g|0):0)){d=7;break}d=c[j>>2]|0;if((d|0)==(g+h|0)){e=1;d=11;break}}if((d|0)==7){k=nf(8)|0;Dqb(k,432236);zc(k|0,9e3,680)}else if((d|0)==11){i=j;return e|0}return 0}function u8(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;d=c[b>>2]|0;e=c[b+4>>2]|0;a:do if((d|0)!=(e|0)){f=c[a+92>>2]|0;while(1){if((c[(c[d>>2]|0)+92>>2]|0)!=(f|0))break;d=d+4|0;if((d|0)==(e|0))break a}a=nf(16)|0;ds(a,432362,g);zc(a|0,96,27)}while(0);d=c[a+16>>2]|0;f=c[a+12>>2]|0;if(!(d-f>>2))v8(a+12|0,1);else if(d-f>>2>>>0>1)if((d|0)!=(f+4|0))do{d=d+-4|0;c[a+16>>2]=d;e=c[d>>2]|0;if(e){Hi[c[(c[e>>2]|0)+12>>2]&1023](e);d=c[a+16>>2]|0}}while((d|0)!=(f+4|0));d=c[b>>2]|0;b=c[b+4>>2]|0;if((d|0)==(b|0)){i=g;return}do{f=c[(c[d>>2]|0)+12>>2]|0;e=c[a+16>>2]|0;if((e|0)==(c[a+20>>2]|0))w8(a+12|0,f);else{f=c[f>>2]|0;c[e>>2]=f;if(f){Hi[c[(c[f>>2]|0)+8>>2]&1023](f);e=c[a+16>>2]|0}c[a+16>>2]=e+4}d=d+4|0}while((d|0)!=(b|0));i=g;return}function v8(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=c[a+8>>2]|0;e=c[a+4>>2]|0;if(d-e>>2>>>0>=b>>>0){hBb(e|0,0,b<<2|0)|0;c[a+4>>2]=e+(b<<2);return}j=c[a>>2]|0;if(((e-j>>2)+b|0)>>>0>1073741823)jzb(a);if(d-j>>2>>>0<536870911){e=d-j>>1>>>0<((e-j>>2)+b|0)>>>0?(e-j>>2)+b|0:d-j>>1;d=c[a+4>>2]|0;if(!e){h=0;g=0;e=d-j>>2}else{f=d;d=d-j>>2;i=8}}else{d=c[a+4>>2]|0;e=1073741823;f=d;d=d-j>>2;i=8}if((i|0)==8){h=e;g=YAb(e<<2)|0;e=d;d=f}i=g+(e<<2)|0;h=g+(h<<2)|0;hBb(i|0,0,b<<2|0)|0;if((d|0)==(j|0)){e=i;g=j}else{g=i;e=i;do{d=d+-4|0;f=c[d>>2]|0;c[g+-4>>2]=f;if(f|0)Hi[c[(c[f>>2]|0)+8>>2]&1023](f);g=e+-4|0;e=g}while((d|0)!=(j|0));g=c[a>>2]|0;d=c[a+4>>2]|0}c[a>>2]=e;c[a+4>>2]=i+(b<<2);c[a+8>>2]=h;f=g;if((d|0)!=(f|0))do{d=d+-4|0;e=c[d>>2]|0;if(e|0)Hi[c[(c[e>>2]|0)+12>>2]&1023](e)}while((d|0)!=(f|0));if(!g)return;oAb(g);return}function w8(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=c[a>>2]|0;e=((c[a+4>>2]|0)-h>>2)+1|0;if(e>>>0>1073741823)jzb(a);d=(c[a+8>>2]|0)-h|0;if(d>>2>>>0<536870911){d=d>>1>>>0>>0?e:d>>1;f=c[a+4>>2]|0;if(!d){i=0;d=0;e=f-h>>2}else{g=f;e=f-h>>2;j=6}}else{e=c[a+4>>2]|0;d=1073741823;g=e;e=e-h>>2;j=6}if((j|0)==6){i=d;d=YAb(d<<2)|0;f=g}j=d+(e<<2)|0;i=d+(i<<2)|0;d=c[b>>2]|0;c[j>>2]=d;if(!d)d=f;else{Hi[c[(c[d>>2]|0)+8>>2]&1023](d);d=c[a+4>>2]|0;h=c[a>>2]|0}if((d|0)==(h|0)){e=j;g=d}else{f=d;g=j;d=j;do{f=f+-4|0;e=c[f>>2]|0;c[g+-4>>2]=e;if(e|0)Hi[c[(c[e>>2]|0)+8>>2]&1023](e);g=d+-4|0;d=g}while((f|0)!=(h|0));e=d;g=c[a>>2]|0;d=c[a+4>>2]|0}c[a>>2]=e;c[a+4>>2]=j+4;c[a+8>>2]=i;f=g;if((d|0)!=(f|0))do{d=d+-4|0;e=c[d>>2]|0;if(e|0)Hi[c[(c[e>>2]|0)+12>>2]&1023](e)}while((d|0)!=(f|0));if(!g)return;oAb(g);return}function x8(a){a=a|0;return c[a+132>>2]|0}function y8(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=a[b>>0]|0;if(!(e<<24>>24))f=5381;else{g=b;f=5381;do{g=g+1|0;f=(f*33|0)+(e<<24>>24)|0;e=a[g>>0]|0}while(e<<24>>24!=0)}j=0;while(1){i=j+f&7;if(!(a[630588+(i*12|0)+8>>0]|0)){e=1;f=0;k=11;break}g=c[630588+(i*12|0)>>2]|0;h=a[g>>0]|0;a:do if(!(h<<24>>24)){e=b;k=8}else{e=b;while(1){l=a[e>>0]|0;if(!(l<<24>>24?h<<24>>24==l<<24>>24:0))break a;g=g+1|0;e=e+1|0;h=a[g>>0]|0;if(!(h<<24>>24)){k=8;break}}}while(0);if((k|0)==8){k=0;if(!(a[e>>0]|0)){k=9;break}}j=j+1|0;if(j>>>0>=8){e=0;f=0;k=11;break}}if((k|0)==9){c[d>>2]=c[630588+(i*12|0)+4>>2];k=1;l=1;l=k&l;return l|0}else if((k|0)==11){l=e&f;return l|0}return 0}function z8(b){b=b|0;var d=0;c[b>>2]=23636;if(c[b+20>>2]|0){a[b+5>>0]=0;si[c[164424]&511](1,b+20|0);c[b+20>>2]=0}d=c[b+24>>2]|0;if(!d){Cga(b);return}aBb(d);Cga(b);return}function A8(b){b=b|0;var d=0;c[b>>2]=23636;if(c[b+20>>2]|0){a[b+5>>0]=0;si[c[164424]&511](1,b+20|0);c[b+20>>2]=0}d=c[b+24>>2]|0;if(!d){Cga(b);oAb(b);return}aBb(d);Cga(b);oAb(b);return}function B8(a){a=a|0;C8(a,1)|0;return 1}function C8(b,d){b=b|0;d=d|0;si[c[164400]&511](1,b+20|0);if(!(a[b+5>>0]|0)){si[c[164600]&511](c[b+12>>2]|0,c[b+20>>2]|0);a[b+4>>0]=1}if(d)d=c[b+24>>2]|0;else d=0;kj[c[164608]&127](c[b+12>>2]|0,c[b+8>>2]|0,d,c[b+16>>2]|0);if(!(a[b+4>>0]|0)){a[b+4>>0]=0;return 1}si[c[164600]&511](c[b+12>>2]|0,0);a[b+4>>0]=0;return 1}function D8(b){b=b|0;a[b+5>>0]=0;si[c[164424]&511](1,b+20|0);c[b+20>>2]=0;return}function E8(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;Gga(b);c[b>>2]=23636;a[b+4>>0]=0;a[b+5>>0]=0;c[b+8>>2]=d;c[b+12>>2]=f;c[b+16>>2]=g;c[b+20>>2]=0;c[b+20+4>>2]=0;c[b+20+8>>2]=0;c[b+20+12>>2]=0;c[b+36>>2]=h;h=_Ab(d)|0;c[b+24>>2]=h;if(!e){C8(b,(e|0)!=0)|0;return}mBb(h|0,e|0,d|0)|0;C8(b,(e|0)!=0)|0;return}function F8(b){b=b|0;if(!(a[b+5>>0]|0)){a[b+5>>0]=1;c[b+28>>2]=0;c[b+32>>2]=0}return c[b+24>>2]|0}function G8(b){b=b|0;var d=0,e=0,f=0,g=0;if(!(a[b+5>>0]|0))return;if(!(c[b+36>>2]&1)){c[b+28>>2]=0;d=c[b+8>>2]|0;c[b+32>>2]=d}else{f=c[b+8>>2]|0;g=c[b+28>>2]|0;g=(f+-1|0)>>>0>>0?f+-1|0:g;c[b+28>>2]=g;d=c[b+32>>2]|0;d=(f-g|0)>>>0>>0?f-g|0:d;c[b+32>>2]=d}if(!(a[b+4>>0]|0)){si[c[164600]&511](c[b+12>>2]|0,c[b+20>>2]|0);a[b+4>>0]=1;g=b+32|0;d=c[b+32>>2]|0}else g=b+32|0;a:do if(d|0){e=c[b+16>>2]|0;switch(e|0){case 35044:{f=c[b+28>>2]|0;kj[c[164556]&127](c[b+12>>2]|0,f,d,(c[b+24>>2]|0)+f|0);break a}case 35040:{kj[c[164608]&127](c[b+12>>2]|0,c[b+8>>2]|0,0,35040);kj[c[164608]&127](c[b+12>>2]|0,c[b+8>>2]|0,c[b+24>>2]|0,c[b+16>>2]|0);break a}default:{f=c[b+8>>2]|0;if(d>>>0<((f>>>0)/3|0)>>>0){f=c[b+28>>2]|0;kj[c[164556]&127](c[b+12>>2]|0,f,d,(c[b+24>>2]|0)+f|0);break a}else{kj[c[164608]&127](c[b+12>>2]|0,f,0,e);kj[c[164608]&127](c[b+12>>2]|0,c[b+8>>2]|0,c[b+24>>2]|0,c[b+16>>2]|0);break a}}}}while(0);c[b+28>>2]=0;c[g>>2]=0;a[b+5>>0]=0;return}function H8(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;if(!(a[b+5>>0]|0))return;if(!(c[b+36>>2]&1))return;f=c[b+28>>2]|0;g=(c[b+32>>2]|0)+f|0;f=f>>>0>d>>>0?d:f;c[b+28>>2]=f;c[b+32>>2]=((e+d|0)>>>0>>0?g:e+d|0)-f;return}function I8(b){b=b|0;if(a[b+5>>0]|0)return;si[c[164600]&511](c[b+12>>2]|0,c[b+20>>2]|0);a[b+4>>0]=1;return}function J8(b){b=b|0;if(!(a[b+4>>0]|0)){a[b+4>>0]=0;return}si[c[164600]&511](c[b+12>>2]|0,0);a[b+4>>0]=0;return}function K8(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0;mBb((c[b+24>>2]|0)+d|0,f|0,e|0)|0;if(!(a[b+5>>0]|0)){kj[c[164556]&127](c[b+12>>2]|0,d,e,f);return}if(!(c[b+36>>2]&1))return;f=c[b+28>>2]|0;g=(c[b+32>>2]|0)+f|0;f=f>>>0>d>>>0?d:f;c[b+28>>2]=f;c[b+32>>2]=((e+d|0)>>>0>>0?g:e+d|0)-f;return}function L8(a,b){a=a|0;b=b|0;return 0+b|0}function M8(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;j=i;i=i+16|0;c[a>>2]=b;if((b+-1|0)>>>0>178956969){a=nf(16)|0;ds(a,432441,j);zc(a|0,96,27)}a:do if((c[157678]|0)==0|(c[157675]|0)>>>0>>0){f=c[23652+((b<<2>>>0>65535&1)<<2)>>2]|0;g=b<<2>>>0>65535?4:2;h=_(b*6|0,g)|0;d=YAb(40)|0;E8(d,h,0,34963,35044,0);h=_Ab(h)|0;e=c[157678]|0;if(e|0)Hi[c[(c[e>>2]|0)+4>>2]&1023](e);c[157678]=d;d=c[157679]|0;if(d|0)aBb(d);c[157679]=h;c[157675]=b;c[157676]=g;switch(f|0){case 5123:{N8(a);break a}case 5125:{O8(a);break a}default:break a}}while(0);c[157677]=(c[157677]|0)+1;i=j;return}function N8(d){d=d|0;var e=0,f=0,g=0,h=0;f=c[157679]|0;d=c[157675]|0;if(d|0){e=0;do{g=e<<2;h=e*6|0;b[f+(h<<1)>>1]=g;b[f+((h|1)<<1)>>1]=g|1;b[f+(h+2<<1)>>1]=g|2;b[f+(h+3<<1)>>1]=g|2;b[f+(h+4<<1)>>1]=g|1;b[f+(h+5<<1)>>1]=g|3;e=e+1|0}while(e>>>0>>0)}h=c[157678]|0;if(!(a[h+5>>0]|0)){si[c[164600]&511](c[h+12>>2]|0,c[h+20>>2]|0);a[h+4>>0]=1;g=c[157678]|0;e=c[157679]|0}else{g=h;e=f}d=c[g+8>>2]|0;mBb(c[g+24>>2]|0,e|0,d|0)|0;if(!(a[g+5>>0]|0))kj[c[164556]&127](c[g+12>>2]|0,0,d,e);else if(c[g+36>>2]&1|0){e=g+28|0;g=g+32|0;f=(c[g>>2]|0)+(c[e>>2]|0)|0;c[e>>2]=0;c[g>>2]=d>>>0>>0?f:d}if(!(a[h+4>>0]|0)){a[h+4>>0]=0;return}si[c[164600]&511](c[h+12>>2]|0,0);a[h+4>>0]=0;return}function O8(b){b=b|0;var d=0,e=0,f=0,g=0;d=c[157679]|0;if(c[157675]|0){b=0;do{e=b<<2;f=b*6|0;c[d+(f<<2)>>2]=e;c[d+((f|1)<<2)>>2]=e|1;c[d+(f+2<<2)>>2]=e|2;c[d+(f+3<<2)>>2]=e|2;c[d+(f+4<<2)>>2]=e|1;c[d+(f+5<<2)>>2]=e|3;b=b+1|0}while(b>>>0<(c[157675]|0)>>>0)}f=c[157678]|0;if(!(a[f+5>>0]|0)){si[c[164600]&511](c[f+12>>2]|0,c[f+20>>2]|0);a[f+4>>0]=1;e=c[157678]|0;d=c[157679]|0}else e=f;b=c[e+8>>2]|0;mBb(c[e+24>>2]|0,d|0,b|0)|0;if(!(a[e+5>>0]|0))kj[c[164556]&127](c[e+12>>2]|0,0,b,d);else if(c[e+36>>2]&1|0){g=e+28|0;e=e+32|0;d=(c[e>>2]|0)+(c[g>>2]|0)|0;c[g>>2]=0;c[e>>2]=b>>>0>>0?d:b}if(!(a[f+4>>0]|0)){a[f+4>>0]=0;return}si[c[164600]&511](c[f+12>>2]|0,0);a[f+4>>0]=0;return}function P8(a,b){a=a|0;b=b|0;return c[23652+((b<<2>>>0>65535&1)<<2)>>2]|0}function Q8(a,b){a=a|0;b=b|0;c[a>>2]=c[b>>2];c[157677]=(c[157677]|0)+1;return}function R8(a,b){a=a|0;b=b|0;c[a>>2]=c[b>>2];return a|0}function S8(a){a=a|0;a=(c[157677]|0)+-1|0;c[157677]=a;if(a|0)return;a=c[157678]|0;if(a|0)Hi[c[(c[a>>2]|0)+4>>2]&1023](a);c[157678]=0;a=c[157679]|0;if(a|0)aBb(a);c[157679]=0;return}function T8(a){a=a|0;return c[a>>2]|0}function U8(a,b){a=a|0;b=b|0;return b*6|0}function V8(a){a=a|0;return c[157676]|0}function W8(a){a=a|0;return c[157678]|0}function X8(a,b){a=a|0;b=b|0;return 0+b|0}function Y8(a,b){a=a|0;b=b|0;return (c[157679]|0)+b|0}function Z8(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0;c[a>>2]=23668;i=c[a+44>>2]|0;b=c[a+48>>2]|0;if((b|0)!=(i|0))do{c[a+48>>2]=b+-136;h=b+-44|0;d=c[h>>2]|0;if(d|0){g=b+-40|0;e=c[g>>2]|0;if((e|0)!=(d|0)){do{e=e+-4|0;c[g>>2]=e;f=c[e>>2]|0;if(f){Hi[c[(c[f>>2]|0)+12>>2]&1023](f);e=c[g>>2]|0}}while((e|0)!=(d|0));d=c[h>>2]|0}oAb(d)}d=c[b+-48>>2]|0;if(d|0)Hi[c[(c[d>>2]|0)+12>>2]&1023](d);b=c[b+-52>>2]|0;if(b|0)Hi[c[(c[b>>2]|0)+12>>2]&1023](b);b=c[a+48>>2]|0}while((b|0)!=(i|0));b=c[a+12>>2]|0;if(b|0)Hi[c[(c[b>>2]|0)+12>>2]&1023](b);c[a+12>>2]=0;b=c[157831]|0;if(b|0){Hi[c[(c[b>>2]|0)+12>>2]&1023](b);c[157831]=0}b=c[157832]|0;if(b|0){Hi[c[(c[b>>2]|0)+12>>2]&1023](b);c[157832]=0}b=c[a+28>>2]|0;if(b|0){S8(b);oAb(b)}b=c[a+56>>2]|0;if(b|0){d=c[a+60>>2]|0;if((d|0)!=(b|0))c[a+60>>2]=d+(~((d+-4-b|0)>>>2)<<2);oAb(b)}_8(a+44|0);b=c[a+16>>2]|0;if(b|0){d=c[a+20>>2]|0;if((d|0)!=(b|0))c[a+20>>2]=d+(~((d+-8-b|0)>>>3)<<3);oAb(b)}b=c[a+12>>2]|0;if(b|0)Hi[c[(c[b>>2]|0)+12>>2]&1023](b);b=c[a+8>>2]|0;if(!b){nA(a);return}Hi[c[(c[b>>2]|0)+12>>2]&1023](b);nA(a);return}function _8(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0;b=c[a>>2]|0;if(!b)return;d=c[a+4>>2]|0;if((d|0)!=(b|0)){do{c[a+4>>2]=d+-136;i=d+-44|0;e=c[i>>2]|0;if(e|0){h=d+-40|0;f=c[h>>2]|0;if((f|0)!=(e|0)){do{f=f+-4|0;c[h>>2]=f;g=c[f>>2]|0;if(g){Hi[c[(c[g>>2]|0)+12>>2]&1023](g);f=c[h>>2]|0}}while((f|0)!=(e|0));e=c[i>>2]|0}oAb(e)}e=c[d+-48>>2]|0;if(e|0)Hi[c[(c[e>>2]|0)+12>>2]&1023](e);d=c[d+-52>>2]|0;if(d|0)Hi[c[(c[d>>2]|0)+12>>2]&1023](d);d=c[a+4>>2]|0}while((d|0)!=(b|0));b=c[a>>2]|0}oAb(b);return}function $8(a){a=a|0;Z8(a);oAb(a);return}function a9(a){a=a|0;return 432499}function b9(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;k=i;i=i+112|0;c[b+32>>2]=d;c[b+36>>2]=e;if(!(a[b+40>>0]|0)){i=k;return}c9(k+96|0,(c[b+48>>2]|0)+-44|0);j=c[b+48>>2]|0;f=c[157521]|0;if(f|0)K6(f,0);h=c[j+-44>>2]|0;f=c[j+-40>>2]|0;if((f|0)!=(h|0))do{f=f+-4|0;c[j+-40>>2]=f;g=c[f>>2]|0;if(g){Hi[c[(c[g>>2]|0)+12>>2]&1023](g);f=c[j+-40>>2]|0}}while((f|0)!=(h|0));c[k+80>>2]=0;c[k+80+4>>2]=0;c[k+80+8>>2]=d;c[k+80+12>>2]=e;cda(631040,k+80|0);eda(k+64|0,631040);c[157522]=c[k+64>>2];c[157523]=c[k+64+4>>2];c[157524]=c[k+64+8>>2];c[157525]=c[k+64+12>>2];f=c[157764]|0;Rua(k,0.0,+(d|0),+(e|0),0.0);f=f+-64|0;g=k;h=f+64|0;do{c[f>>2]=c[g>>2];f=f+4|0;g=g+4|0}while((f|0)<(h|0));d9(b,k+96|0);f=c[k+96>>2]|0;if(f|0){g=c[k+96+4>>2]|0;if((g|0)!=(f|0)){do{g=g+-4|0;c[k+96+4>>2]=g;h=c[g>>2]|0;if(h){Hi[c[(c[h>>2]|0)+12>>2]&1023](h);g=c[k+96+4>>2]|0}}while((g|0)!=(f|0));f=c[k+96>>2]|0}oAb(f)}i=k;return}function c9(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;e=(c[b+4>>2]|0)-(c[b>>2]|0)|0;if(!(e>>2))return;if(e>>2>>>0>1073741823)jzb(a);d=YAb(e)|0;c[a+4>>2]=d;c[a>>2]=d;c[a+8>>2]=d+(e>>2<<2);e=c[b>>2]|0;f=c[b+4>>2]|0;if((e|0)==(f|0))return;do{b=c[e>>2]|0;c[d>>2]=b;if(b){Hi[c[(c[b>>2]|0)+8>>2]&1023](b);d=c[a+4>>2]|0}d=d+4|0;c[a+4>>2]=d;e=e+4|0}while((e|0)!=(f|0));return}function d9(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;j=i;i=i+16|0;c[j+4>>2]=0;h=j+4+4|0;c[h>>2]=0;c[j+4+8>>2]=0;g=c[b+4>>2]|0;b=c[b>>2]|0;if(!(g-b>>2)){e=0;d=0}else{d=YAb(g-b|0)|0;c[j+4>>2]=d;c[h>>2]=d;c[j+4+8>>2]=d+(g-b>>2<<2);e=d+(g-b>>2<<2)|0}a:do if((b|0)!=(g|0)){f=e;while(1){e=c[b>>2]|0;c[j>>2]=e;if(d>>>0>>0){c[d>>2]=e;c[h>>2]=(c[h>>2]|0)+4}else _w(j+4|0,j);b=b+4|0;if((b|0)==(g|0))break a;d=c[h>>2]|0;f=c[j+4+8>>2]|0}}while(0);e9(a,j+4|0);b=c[j+4>>2]|0;if(!b){i=j;return}d=c[h>>2]|0;if((d|0)!=(b|0))c[h>>2]=d+(~((d+-4-b|0)>>>2)<<2);oAb(b);i=j;return}function e9(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0;k=i;i=i+32|0;f=c[b+4>>2]|0;e=c[b>>2]|0;switch(f-e>>2|0){case 0:{f=c[a+48>>2]|0;a=c[157521]|0;if(a|0)K6(a,0);e=c[f+-44>>2]|0;a=c[f+-40>>2]|0;if((a|0)==(e|0)){i=k;return}do{a=a+-4|0;c[f+-40>>2]=a;d=c[a>>2]|0;if(d){Hi[c[(c[d>>2]|0)+12>>2]&1023](d);a=c[f+-40>>2]|0}}while((a|0)!=(e|0));i=k;return}case 1:{f9(a,c[e>>2]|0);i=k;return}default:{g=c[a+48>>2]|0;c[k+16>>2]=0;j=k+16+4|0;c[j>>2]=0;c[k+16+8>>2]=0;d=f-(e+4)>>2;if(d|0){if(d>>>0>1073741823)jzb(k+16|0);a=YAb(f-(e+4)|0)|0;c[j>>2]=a;c[k+16>>2]=a;c[k+16+8>>2]=a+(d<<2);if((e+4|0)!=(f|0)){d=e+4|0;do{c[a>>2]=c[d>>2];a=(c[j>>2]|0)+4|0;c[j>>2]=a;d=d+4|0}while((d|0)!=(f|0))}}c7(c[c[b>>2]>>2]|0,k+16|0);c[k+4>>2]=0;h=k+4+4|0;c[h>>2]=0;c[k+4+8>>2]=0;h9(k+4|0,(c[b+4>>2]|0)-(c[b>>2]|0)>>2);a=c[b>>2]|0;f=c[b+4>>2]|0;if((a|0)==(f|0))a=k+4+8|0;else{do{e=c[a>>2]|0;c[k>>2]=e;if(e|0)Hi[c[(c[e>>2]|0)+8>>2]&1023](e);d=c[h>>2]|0;if(d>>>0<(c[k+4+8>>2]|0)>>>0){c[d>>2]=e;if(e){Hi[c[(c[e>>2]|0)+8>>2]&1023](e);d=c[h>>2]|0}c[h>>2]=d+4}else g9(k+4|0,k);if(e|0)Hi[c[(c[e>>2]|0)+12>>2]&1023](e);a=a+4|0}while((a|0)!=(f|0));a=k+4+8|0}b=c[g+-44>>2]|0;c[g+-44>>2]=c[k+4>>2];c[k+4>>2]=b;b=c[g+-40>>2]|0;c[g+-40>>2]=c[h>>2];c[h>>2]=b;b=c[g+-36>>2]|0;c[g+-36>>2]=c[a>>2];c[a>>2]=b;a=c[k+4>>2]|0;if(a|0){d=c[h>>2]|0;if((d|0)!=(a|0)){do{d=d+-4|0;c[h>>2]=d;e=c[d>>2]|0;if(e){Hi[c[(c[e>>2]|0)+12>>2]&1023](e);d=c[h>>2]|0}}while((d|0)!=(a|0));a=c[k+4>>2]|0}oAb(a)}a=c[k+16>>2]|0;if(a|0){d=c[j>>2]|0;if((d|0)!=(a|0))c[j>>2]=d+(~((d+-4-a|0)>>>2)<<2);oAb(a)}i=k;return}}}function f9(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;f=c[a+48>>2]|0;if(!b){a=c[157521]|0;if(a|0)K6(a,0);d=c[f+-44>>2]|0;a=c[f+-40>>2]|0;if((a|0)==(d|0)){i=g;return}do{a=a+-4|0;c[f+-40>>2]=a;b=c[a>>2]|0;if(b){Hi[c[(c[b>>2]|0)+12>>2]&1023](b);a=c[f+-40>>2]|0}}while((a|0)!=(d|0));i=g;return}g7(b);c[g+4>>2]=0;e=g+4+4|0;c[e>>2]=0;c[g+4+8>>2]=0;c[g>>2]=b;Hi[c[(c[b>>2]|0)+8>>2]&1023](b);g9(g+4|0,g);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);a=c[f+-44>>2]|0;c[f+-44>>2]=c[g+4>>2];c[g+4>>2]=a;a=c[f+-40>>2]|0;c[f+-40>>2]=c[e>>2];c[e>>2]=a;a=c[f+-36>>2]|0;c[f+-36>>2]=c[g+4+8>>2];c[g+4+8>>2]=a;a=c[g+4>>2]|0;if(a|0){b=c[e>>2]|0;if((b|0)!=(a|0)){do{b=b+-4|0;c[e>>2]=b;d=c[b>>2]|0;if(d){Hi[c[(c[d>>2]|0)+12>>2]&1023](d);b=c[e>>2]|0}}while((b|0)!=(a|0));a=c[g+4>>2]|0}oAb(a)}i=g;return}function g9(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=c[a>>2]|0;e=((c[a+4>>2]|0)-h>>2)+1|0;if(e>>>0>1073741823)jzb(a);d=(c[a+8>>2]|0)-h|0;if(d>>2>>>0<536870911){d=d>>1>>>0>>0?e:d>>1;f=c[a+4>>2]|0;if(!d){i=0;d=0;e=f-h>>2}else{g=f;e=f-h>>2;j=6}}else{e=c[a+4>>2]|0;d=1073741823;g=e;e=e-h>>2;j=6}if((j|0)==6){i=d;d=YAb(d<<2)|0;f=g}j=d+(e<<2)|0;i=d+(i<<2)|0;d=c[b>>2]|0;c[j>>2]=d;if(!d)d=f;else{Hi[c[(c[d>>2]|0)+8>>2]&1023](d);d=c[a+4>>2]|0;h=c[a>>2]|0}if((d|0)==(h|0)){e=j;g=d}else{f=d;g=j;d=j;do{f=f+-4|0;e=c[f>>2]|0;c[g+-4>>2]=e;if(e|0)Hi[c[(c[e>>2]|0)+8>>2]&1023](e);g=d+-4|0;d=g}while((f|0)!=(h|0));e=d;g=c[a>>2]|0;d=c[a+4>>2]|0}c[a>>2]=e;c[a+4>>2]=j+4;c[a+8>>2]=i;f=g;if((d|0)!=(f|0))do{d=d+-4|0;e=c[d>>2]|0;if(e|0)Hi[c[(c[e>>2]|0)+12>>2]&1023](e)}while((d|0)!=(f|0));if(!g)return;oAb(g);return}function h9(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;h=c[a>>2]|0;if((c[a+8>>2]|0)-h>>2>>>0>=b>>>0)return;e=c[a+4>>2]|0;if(!b)d=0;else d=YAb(b<<2)|0;i=d+(e-h>>2<<2)|0;g=d+(b<<2)|0;if((e|0)==(h|0)){b=i;f=h;d=h}else{f=i;d=i;do{e=e+-4|0;b=c[e>>2]|0;c[f+-4>>2]=b;if(b|0)Hi[c[(c[b>>2]|0)+8>>2]&1023](b);f=d+-4|0;d=f}while((e|0)!=(h|0));b=d;f=c[a>>2]|0;d=c[a+4>>2]|0}c[a>>2]=b;c[a+4>>2]=i;c[a+8>>2]=g;e=f;if((d|0)!=(e|0))do{d=d+-4|0;b=c[d>>2]|0;if(b|0)Hi[c[(c[b>>2]|0)+12>>2]&1023](b)}while((d|0)!=(e|0));if(!f)return;oAb(f);return}function i9(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,j=0;j=i;i=i+16|0;f=c[155688]|0;if(f|0)Hi[c[(c[f>>2]|0)+8>>2]&1023](f);g=c[b+8>>2]|0;if(g|0)Hi[c[(c[g>>2]|0)+12>>2]&1023](g);c[b+8>>2]=f;c[b+32>>2]=d;c[b+36>>2]=e;Mca(631040)|0;Rca(631040);a[b+40>>0]=1;$i[c[(c[b>>2]|0)+24>>2]&255](b,d,e);Hi[c[163875]&1023](3042);si[c[164177]&511](33170,4354);if(!(a[1248844]|0)){Hi[c[163875]&1023](32925);Hi[c[163875]&1023](3553)}mda(631040,0);si[c[164061]&511](3317,1);if(!((a[1248877]|a[1248834]|a[1248949]|a[1248845]|a[1248971])<<24>>24))yA(0);else if((a[1248972]|a[1248826])<<24>>24)hda(631040,zA()|0);a[1248727]=(zA()|0)&1;if(!(a[1248834]|0))f=0;else{c[j+8>>2]=0;si[c[164630]&511](33310,j+8|0);f=(c[j+8>>2]&2|0)!=0}j9(0,f);if(!(Hga()|0))xpb(432625)|0;if(!(c[b+28>>2]|0)){d=YAb(4)|0;M8(d,20);c[b+28>>2]=d}l9(b,(c[b+48>>2]|0)+-136|0);d=c[b+16>>2]|0;f=c[b+20>>2]|0;if((f|0)==(d|0)){e=f;g=d}else{c[b+20>>2]=f+(~((f+-8-d|0)>>>3)<<3);e=f+(~((f+-8-d|0)>>>3)<<3)|0;g=f+(~((f+-8-d|0)>>>3)<<3)|0}f=c[b+24>>2]|0;if(f-d>>3>>>0<5){f=e-d|0;e=YAb(40)|0;mBb(e+(f>>3<<3)+(0-(f>>3)<<3)|0,d|0,f|0)|0;c[b+16>>2]=e+(f>>3<<3)+(0-(f>>3)<<3);c[b+20>>2]=e+(f>>3<<3);c[b+24>>2]=e+40;if(!d){g=e+(f>>3<<3)|0;f=e+40|0}else{oAb(d);g=c[b+20>>2]|0;f=c[b+24>>2]|0}}h[j>>3]=1.0;if(g>>>0>>0){h[g>>3]=1.0;c[b+20>>2]=g+8}else n9(b+16|0,j);if(!(c[157831]|0)){d=631332+(((a[1248844]|0)!=0&1)*24|0)|0;b=YAb(328)|0;wea(b,d);c[157831]=b}if(!(c[157832]|0)){d=631380+(((a[1248844]|0)!=0&1)*24|0)|0;b=YAb(328)|0;wea(b,d);c[157832]=b}if(c[157830]|0){i=j;return 1}zea(c[157831]|0,0);i=j;return 1}function j9(b,d){b=b|0;d=d|0;var e=0;b=a[1248849]|a[1248841];e=a[1248865]|0;if((b|e)<<24>>24==0|(a[1248844]|0)!=0)return;if(!(b<<24>>24!=0|e<<24>>24==0)){c[164143]=c[164745];c[163736]=c[164743]}if(d){Hi[c[163875]&1023](33346);si[c[164143]&511](1,0);Ii[c[163736]&63](4352,4352,4352,0,0,1);Ii[c[163736]&63](33350,33357,4352,0,0,0);Ii[c[163736]&63](33352,33357,4352,0,0,0);if((a[1248849]|a[1248841])<<24>>24)Hi[c[163875]&1023](37600);xpb(432573)|0;return}else{si[c[164143]&511](0,0);if(!((a[1248849]|a[1248841])<<24>>24))return;Hi[c[164236]&1023](37600);return}}function k9(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;h=i;i=i+32|0;f=zda(a)|0;a=Ada(b)|0;b=yda(e)|0;c[h>>2]=g;c[h+4>>2]=f;c[h+8>>2]=a;c[h+12>>2]=b;c[h+16>>2]=d;vpb(432520,h)|0;i=h;return}function l9(b,e){b=b|0;e=e|0;var f=0,h=0,j=0,k=0,l=0.0,m=0.0,n=0.0,o=0.0,p=0,q=0;k=i;i=i+16|0;o=+g[e>>2];n=+g[e+4>>2];m=+g[e+8>>2];l=+g[e+12>>2];g[k>>2]=o/255.0;g[k+4>>2]=n/255.0;g[k+8>>2]=m/255.0;g[k+12>>2]=l/255.0;AA(k);Qi[c[164206]&3](3,+g[k>>2],+g[k+4>>2],+g[k+8>>2],+g[k+12>>2]);f=c[b+48>>2]|0;g[f+-136>>2]=o;g[f+-132>>2]=n;g[f+-128>>2]=m;g[f+-124>>2]=l;c[k>>2]=c[e+16>>2];c[k+4>>2]=c[e+16+4>>2];c[k+8>>2]=c[e+16+8>>2];c[k+12>>2]=c[e+16+12>>2];f=(c[b+48>>2]|0)+-120|0;c[f>>2]=c[k>>2];c[f+4>>2]=c[k+4>>2];c[f+8>>2]=c[k+8>>2];c[f+12>>2]=c[k+12>>2];m9(b,c[e+32>>2]|0,c[e+36>>2]|0);f=c[b+48>>2]|0;c[f+-96>>2]=c[e+40>>2];c[f+-92>>2]=c[e+44>>2];c[f+-88>>2]=c[e+48>>2];l=+g[e+52>>2];fda(631040,l);f=c[b+48>>2]|0;g[f+-84>>2]=l;if(!(a[e+56>>0]|0)){a[f+-80>>0]=0;Hi[c[164236]&1023](3089)}else{q=c[e+60>>2]|0;p=c[e+64>>2]|0;f=c[e+68>>2]|0;h=c[e+72>>2]|0;Hi[c[163875]&1023](3089);c[k>>2]=q;c[k+4>>2]=p;c[k+8>>2]=f;c[k+12>>2]=h;dda(631040,k);j=c[b+48>>2]|0;a[j+-80>>0]=1;c[j+-76>>2]=q;c[j+-72>>2]=p;c[j+-68>>2]=f;c[j+-64>>2]=h}f=c[e+76>>2]|0;j=c[e+80>>2]|0;q=c[b+48>>2]|0;c[q+-60>>2]=f;c[q+-56>>2]=j;do if(!(a[b+42>>0]|0)){if((f|0)==6){Hi[c[164236]&1023](2960);break}h=c[157521]|0;if(h|0)h7(h)|0;switch(f|0){case 0:{f=516;break}case 1:{f=518;break}case 5:{f=517;break}case 3:{f=515;break}case 4:{f=513;break}default:f=514}Hi[c[163875]&1023](2960);$i[c[164365]&255](f,j,-1);$i[c[163818]&255](7680,7680,7680)}while(0);f=c[e+84>>2]|0;h=c[b+48>>2]|0;if(f|0)Hi[c[(c[f>>2]|0)+8>>2]&1023](f);j=c[h+-52>>2]|0;if(j|0)Hi[c[(c[j>>2]|0)+12>>2]&1023](j);c[h+-52>>2]=f;f=c[e+88>>2]|0;j=c[b+48>>2]|0;if(!f){yea();f=c[j+-48>>2]|0;if(f|0)Hi[c[(c[f>>2]|0)+12>>2]&1023](f);c[j+-48>>2]=0}else{zea(f,0);Hi[c[(c[f>>2]|0)+8>>2]&1023](f);h=c[j+-48>>2]|0;if(h|0)Hi[c[(c[h>>2]|0)+12>>2]&1023](h);c[j+-48>>2]=f}d9(b,e+92|0);q=d[e+104>>0]|d[e+104+1>>0]<<8|d[e+104+2>>0]<<16|d[e+104+3>>0]<<24;kj[c[164509]&127](q&255,q>>>8&255,q>>>16&255,q>>>24&255);f=(c[b+48>>2]|0)+-32|0;a[f>>0]=q&16777215|q>>>24<<24;a[f+1>>0]=(q&16777215|q>>>24<<24)>>8;a[f+2>>0]=(q&16777215|q>>>24<<24)>>16;a[f+3>>0]=(q&16777215|q>>>24<<24)>>24;f=a[e+108>>0]|0;if(a[1248844]|0){q=e+112|0;UC(q);j=c[b+48>>2]|0;j=j+-24|0;c[j>>2]=c[q>>2];c[j+4>>2]=c[q+4>>2];c[j+8>>2]=c[q+8>>2];c[j+12>>2]=c[q+12>>2];j=e+128|0;j=c[j>>2]|0;q=e+132|0;o=+g[q>>2];Gba(j);Eba(o);q=c[b+48>>2]|0;p=q+-8|0;c[p>>2]=j;q=q+-4|0;g[q>>2]=o;i=k;return}si[c[164088]&511](1032,f<<24>>24?6913:6914);a[(c[b+48>>2]|0)+-28>>0]=f;q=e+112|0;UC(q);j=c[b+48>>2]|0;j=j+-24|0;c[j>>2]=c[q>>2];c[j+4>>2]=c[q+4>>2];c[j+8>>2]=c[q+8>>2];c[j+12>>2]=c[q+12>>2];j=e+128|0;j=c[j>>2]|0;q=e+132|0;o=+g[q>>2];Gba(j);Eba(o);q=c[b+48>>2]|0;p=q+-8|0;c[p>>2]=j;q=q+-4|0;g[q>>2]=o;i=k;return}function m9(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0;l=i;i=i+16|0;if((d|1|0)==5)if(!((a[1248845]|a[1248830]|a[1248932])<<24>>24)){k=nf(16)|0;ds(k,432664,l);zc(k|0,96,27)}do if((e|0)!=1){c[l+12>>2]=439634;if((d&-2|0)==4){FA(d,l+12|0)|0;k=nf(16)|0;c[l+8>>2]=c[l+12>>2];ds(k,432737,l+8|0);zc(k|0,96,27)}else break}while(0);switch(d|0){case 0:{j=771;f=32774;g=1;h=1;break}case 3:{j=0;f=32774;g=774;h=774;break}case 2:{f=32779;k=11;break}case 1:{f=32774;k=11;break}case 4:{j=0;f=32776;g=1;h=1;break}case 5:{j=0;f=32775;g=1;h=1;break}case 6:{j=769;f=32774;g=1;h=1;break}default:{j=0;f=32774;g=1;h=1}}if((k|0)==11){j=1;g=0;h=1}Hi[c[164512]&1023](f);kj[c[163723]&127]((e|0)==0&(h|0)==1?770:h,j,g,j);k=c[b+48>>2]|0;c[k+-104>>2]=d;c[k+-100>>2]=e;i=l;return}function n9(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,i=0,j=0,k=0,l=0;k=c[a>>2]|0;d=((c[a+4>>2]|0)-k>>3)+1|0;if(d>>>0>536870911)jzb(a);e=(c[a+8>>2]|0)-k|0;if(e>>3>>>0<268435455){d=e>>2>>>0>>0?d:e>>2;f=c[a+4>>2]|0;if(!d){j=0;g=0;e=f-k>>3;d=f}else{i=f;e=f-k>>3;l=6}}else{e=c[a+4>>2]|0;d=536870911;i=e;e=e-k>>3;l=6}if((l|0)==6){j=d;g=YAb(d<<3)|0;d=i}l=g+(e<<3)|0;h[l>>3]=+h[b>>3];b=d-k|0;mBb(l+(0-(b>>3)<<3)|0,k|0,b|0)|0;c[a>>2]=l+(0-(b>>3)<<3);c[a+4>>2]=l+8;c[a+8>>2]=g+(j<<3);if(!k)return;oAb(k);return}function o9(b){b=b|0;if(!(a[b+40>>0]|0))return;Iga();Vca(631040);a[b+40>>0]=0;return}function p9(d,e){d=d|0;e=e|0;var f=0;f=b[d+40>>1]|0;if((f&255)<<24>>24==0|((f&65535)<256|e)){f=e&1;a[d+41>>0]=f;return}gj[c[164125]&15]();f=e&1;a[d+41>>0]=f;return}function q9(b){b=b|0;if(!(a[b+41>>0]|0)){b=0;return b|0}if(!(a[b+40>>0]|0)){b=0;return b|0}b=c[b+8>>2]|0;if(!b){b=0;return b|0}b=vi[c[(c[b>>2]|0)+72>>2]&2047](b)|0;return b|0}function r9(b){b=b|0;var d=0,e=0,f=0,j=0,k=0,l=0;l=i;i=i+496|0;Jj(b);c[b>>2]=23668;d=c[155688]|0;c[b+8>>2]=d;if(d|0)Hi[c[(c[d>>2]|0)+8>>2]&1023](d);c[b+12>>2]=0;c[b+12+4>>2]=0;c[b+12+8>>2]=0;c[b+12+12>>2]=0;c[b+12+16>>2]=0;c[b+12+20>>2]=0;c[b+12+24>>2]=0;a[b+12+28>>0]=0;a[b+41>>0]=1;a[b+42>>0]=0;c[b+44>>2]=0;c[b+44+4>>2]=0;c[b+44+8>>2]=0;c[b+44+12>>2]=0;c[b+44+16>>2]=0;c[b+44+20>>2]=0;Lca(l+208|0);d=c[157760]|0;if(d|0){e=c[157761]|0;if((e|0)!=(d|0)){do{c[157761]=e+-64;e=c[157761]|0}while((e|0)!=(d|0));d=c[157760]|0}oAb(d);c[157762]=0;c[157761]=0;c[157760]=0}c[157760]=c[l+208>>2];k=l+208+4|0;c[157761]=c[k>>2];c[157762]=c[l+208+8>>2];c[l+208+8>>2]=0;c[k>>2]=0;c[l+208>>2]=0;d=c[157763]|0;if(d|0){e=c[157764]|0;if((e|0)!=(d|0)){do{c[157764]=e+-64;e=c[157764]|0}while((e|0)!=(d|0));d=c[157763]|0}oAb(d);c[157765]=0;c[157764]=0;c[157763]=0}c[157763]=c[l+208+12>>2];j=l+208+16|0;c[157764]=c[j>>2];c[157765]=c[l+208+20>>2];c[l+208+20>>2]=0;c[j>>2]=0;c[l+208+12>>2]=0;d=631064;e=l+208+24|0;f=d+40|0;do{c[d>>2]=c[e>>2];d=d+4|0;e=e+4|0}while((d|0)<(f|0));d=c[157776]|0;if(d|0){e=c[157777]|0;if((e|0)!=(d|0))c[157777]=e+(~((e+-4-d|0)>>>2)<<2);oAb(d);c[157778]=0;c[157777]=0;c[157776]=0}c[157776]=c[l+208+64>>2];c[157777]=c[l+208+68>>2];c[157778]=c[l+208+72>>2];c[l+208+72>>2]=0;c[l+208+68>>2]=0;c[l+208+64>>2]=0;d=631116;e=l+208+76|0;f=d+52|0;do{c[d>>2]=c[e>>2];d=d+4|0;e=e+4|0}while((d|0)<(f|0));d=631168;e=l+208+128|0;f=d+64|0;do{c[d>>2]=c[e>>2];d=d+4|0;e=e+4|0}while((d|0)<(f|0));d=631232;e=l+208+192|0;f=d+64|0;do{c[d>>2]=c[e>>2];d=d+4|0;e=e+4|0}while((d|0)<(f|0));d=c[l+208+64>>2]|0;if(d|0){e=c[l+208+68>>2]|0;if((e|0)!=(d|0))c[l+208+68>>2]=e+(~((e+-4-d|0)>>>2)<<2);oAb(d)}d=c[l+208+12>>2]|0;if(d|0){e=c[j>>2]|0;if((e|0)!=(d|0)){do{c[j>>2]=e+-64;e=c[j>>2]|0}while((e|0)!=(d|0));d=c[l+208+12>>2]|0}oAb(d)}d=c[l+208>>2]|0;if(d|0){e=c[k>>2]|0;if((e|0)!=(d|0)){do{c[k>>2]=e+-64;e=c[k>>2]|0}while((e|0)!=(d|0));d=c[l+208>>2]|0}oAb(d)}d=c[b+52>>2]|0;e=c[b+44>>2]|0;if(((d-e|0)/136|0)>>>0<10){k=c[b+48>>2]|0;c[l+464+12>>2]=0;c[l+464+16>>2]=b+52;d=YAb(1360)|0;c[l+464>>2]=d;c[l+464+8>>2]=d+(((k-e|0)/136|0)*136|0);c[l+464+4>>2]=d+(((k-e|0)/136|0)*136|0);c[l+464+12>>2]=d+1360;s9(b+44|0,l+464|0);t9(l+464|0);d=c[b+52>>2]|0}hBb(l+64|0,0,132)|0;g[l+64>>2]=255.0;g[l+64+4>>2]=255.0;g[l+64+8>>2]=255.0;g[l+64+12>>2]=255.0;g[l+64+16>>2]=0.0;g[l+64+20>>2]=0.0;g[l+64+24>>2]=0.0;g[l+64+28>>2]=255.0;c[l+64+32>>2]=0;c[l+64+36>>2]=0;g[l+64+40>>2]=1.0;c[l+64+44>>2]=1;c[l+64+48>>2]=1;g[l+64+52>>2]=1.0;a[l+64+56>>0]=0;c[l+64+60>>2]=0;c[l+64+60+4>>2]=0;c[l+64+60+8>>2]=0;c[l+64+60+12>>2]=0;c[l+64+76>>2]=6;k=l+64+80|0;j=l+64+104|0;c[k>>2]=0;c[k+4>>2]=0;c[k+8>>2]=0;c[k+12>>2]=0;c[k+16>>2]=0;c[k+20>>2]=0;c[j>>2]=16843009;a[l+64+108>>0]=0;c[l+64+112>>2]=0;c[l+64+112+4>>2]=0;c[l+64+112>>2]=1;c[l+64+116>>2]=1;c[l+64+120>>2]=0;g[l+64+124>>2]=1.0;c[l+64+128>>2]=2;g[l+64+132>>2]=0.0;k=c[b+48>>2]|0;if(k>>>0>>0){d=k;e=l+64|0;f=d+84|0;do{c[d>>2]=c[e>>2];d=d+4|0;e=e+4|0}while((d|0)<(f|0));d=c[l+64+84>>2]|0;c[k+84>>2]=d;if(d|0)Hi[c[(c[d>>2]|0)+8>>2]&1023](d);d=c[l+64+88>>2]|0;c[k+88>>2]=d;if(d|0)Hi[c[(c[d>>2]|0)+8>>2]&1023](d);c[k+92>>2]=0;c[k+96>>2]=0;c[k+100>>2]=0;c[k+92>>2]=c[l+64+92>>2];c[k+96>>2]=c[l+64+96>>2];c[k+100>>2]=c[l+64+100>>2];c[l+64+100>>2]=0;c[l+64+96>>2]=0;c[l+64+92>>2]=0;c[k+104>>2]=c[j>>2];c[k+104+4>>2]=c[j+4>>2];c[k+104+8>>2]=c[j+8>>2];c[k+104+12>>2]=c[j+12>>2];c[k+104+16>>2]=c[j+16>>2];c[k+104+20>>2]=c[j+20>>2];c[k+104+24>>2]=c[j+24>>2];c[k+104+28>>2]=c[j+28>>2];c[b+48>>2]=(c[b+48>>2]|0)+136}else u9(b+44|0,l+64|0);d=c[l+64+92>>2]|0;if(d|0){e=c[l+64+96>>2]|0;if((e|0)!=(d|0)){do{e=e+-4|0;c[l+64+96>>2]=e;f=c[e>>2]|0;if(f){Hi[c[(c[f>>2]|0)+12>>2]&1023](f);e=c[l+64+96>>2]|0}}while((e|0)!=(d|0));d=c[l+64+92>>2]|0}oAb(d)}d=c[l+64+88>>2]|0;if(d|0)Hi[c[(c[d>>2]|0)+12>>2]&1023](d);d=c[l+64+84>>2]|0;if(d|0)Hi[c[(c[d>>2]|0)+12>>2]&1023](d);d=c[b+8>>2]|0;if(!d){i=l;return}a[l>>0]=0;c[l+4>>2]=1;a[l+8>>0]=1;c[l+12>>2]=0;a[l+16>>0]=0;c[l+20>>2]=1;c[l+24>>2]=1;a[l+28>>0]=0;a[l+29>>0]=1;c[l+32>>2]=0;a[l+36>>0]=0;h[l+40>>3]=0.0;a[l+48>>0]=0;c[l+52>>2]=0;c[l+56>>2]=0;kj[c[(c[d>>2]|0)+28>>2]&127](d,l+464|0,l+200|0,l);k=c[b+8>>2]|0;if(vi[c[(c[k>>2]|0)+72>>2]&2047](k)|0)Gi[c[(c[b>>2]|0)+28>>2]&255](b,c[l+464>>2]|0,c[l+200>>2]|0)|0;i=l;return}function s9(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=c[a>>2]|0;d=c[a+4>>2]|0;if((d|0)==(j|0)){f=b+4|0;g=a;e=c[b+4>>2]|0;d=j}else{i=c[b+4>>2]|0;while(1){h=d;d=d+-136|0;e=i+-136|0;f=d;g=e+84|0;do{c[e>>2]=c[f>>2];e=e+4|0;f=f+4|0}while((e|0)<(g|0));e=c[h+-52>>2]|0;c[i+-52>>2]=e;if(e|0)Hi[c[(c[e>>2]|0)+8>>2]&1023](e);e=c[h+-48>>2]|0;c[i+-48>>2]=e;if(e|0)Hi[c[(c[e>>2]|0)+8>>2]&1023](e);c9(i+-44|0,h+-44|0);e=i+-32|0;c[e>>2]=c[h+-32>>2];c[e+4>>2]=c[h+-32+4>>2];c[e+8>>2]=c[h+-32+8>>2];c[e+12>>2]=c[h+-32+12>>2];c[e+16>>2]=c[h+-32+16>>2];c[e+20>>2]=c[h+-32+20>>2];c[e+24>>2]=c[h+-32+24>>2];c[e+28>>2]=c[h+-32+28>>2];e=(c[b+4>>2]|0)+-136|0;c[b+4>>2]=e;if((d|0)==(j|0))break;else i=e}f=b+4|0;g=a;d=c[a>>2]|0}c[g>>2]=e;c[f>>2]=d;j=c[a+4>>2]|0;c[a+4>>2]=c[b+8>>2];c[b+8>>2]=j;j=c[a+8>>2]|0;c[a+8>>2]=c[b+12>>2];c[b+12>>2]=j;c[b>>2]=c[f>>2];return}function t9(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0;i=c[a+4>>2]|0;b=c[a+8>>2]|0;if((b|0)!=(i|0))do{c[a+8>>2]=b+-136;h=b+-44|0;d=c[h>>2]|0;if(d|0){g=b+-40|0;e=c[g>>2]|0;if((e|0)!=(d|0)){do{e=e+-4|0;c[g>>2]=e;f=c[e>>2]|0;if(f){Hi[c[(c[f>>2]|0)+12>>2]&1023](f);e=c[g>>2]|0}}while((e|0)!=(d|0));d=c[h>>2]|0}oAb(d)}d=c[b+-48>>2]|0;if(d|0)Hi[c[(c[d>>2]|0)+12>>2]&1023](d);b=c[b+-52>>2]|0;if(b|0)Hi[c[(c[b>>2]|0)+12>>2]&1023](b);b=c[a+8>>2]|0}while((b|0)!=(i|0));b=c[a>>2]|0;if(!b)return;oAb(b);return}function u9(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0;k=i;i=i+32|0;f=c[a>>2]|0;e=(((c[a+4>>2]|0)-f|0)/136|0)+1|0;if(e>>>0>31580641)jzb(a);d=((c[a+8>>2]|0)-f|0)/136|0;if(d>>>0<15790320)d=d<<1>>>0>>0?e:d<<1;else d=31580641;g=((c[a+4>>2]|0)-f|0)/136|0;c[k+12>>2]=0;c[k+16>>2]=a+8;if(!d)h=0;else h=YAb(d*136|0)|0;c[k>>2]=h;j=h+(g*136|0)|0;c[k+8>>2]=j;c[k+4>>2]=j;c[k+12>>2]=h+(d*136|0);d=j;e=b;f=d+84|0;do{c[d>>2]=c[e>>2];d=d+4|0;e=e+4|0}while((d|0)<(f|0));d=c[b+84>>2]|0;c[h+(g*136|0)+84>>2]=d;if(d|0)Hi[c[(c[d>>2]|0)+8>>2]&1023](d);d=c[b+88>>2]|0;c[h+(g*136|0)+88>>2]=d;if(d|0)Hi[c[(c[d>>2]|0)+8>>2]&1023](d);c[h+(g*136|0)+100>>2]=0;c[h+(g*136|0)+92>>2]=c[b+92>>2];c[h+(g*136|0)+96>>2]=c[b+96>>2];c[h+(g*136|0)+100>>2]=c[b+100>>2];c[b+100>>2]=0;c[b+96>>2]=0;c[b+92>>2]=0;h=h+(g*136|0)+104|0;c[h>>2]=c[b+104>>2];c[h+4>>2]=c[b+104+4>>2];c[h+8>>2]=c[b+104+8>>2];c[h+12>>2]=c[b+104+12>>2];c[h+16>>2]=c[b+104+16>>2];c[h+20>>2]=c[b+104+20>>2];c[h+24>>2]=c[b+104+24>>2];c[h+28>>2]=c[b+104+28>>2];c[k+8>>2]=j+136;s9(a,k);t9(k);i=k;return}function v9(a,b){a=a|0;b=b|0;var d=0,e=0.0,f=0.0,h=0.0;d=i;i=i+16|0;h=+g[b+4>>2]/255.0;f=+g[b+8>>2]/255.0;e=+g[b+12>>2]/255.0;g[d>>2]=+g[b>>2]/255.0;g[d+4>>2]=h;g[d+8>>2]=f;g[d+12>>2]=e;AA(d);Qi[c[164206]&3](3,+g[d>>2],+g[d+4>>2],+g[d+8>>2],+g[d+12>>2]);a=(c[a+48>>2]|0)+-136|0;c[a>>2]=c[b>>2];c[a+4>>2]=c[b+4>>2];c[a+8>>2]=c[b+8>>2];c[a+12>>2]=c[b+12>>2];i=d;return}function w9(a,b){a=a|0;b=b|0;a=(c[a+48>>2]|0)+-120|0;c[a>>2]=c[b>>2];c[a+4>>2]=c[b+4>>2];c[a+8>>2]=c[b+8>>2];c[a+12>>2]=c[b+12>>2];return}function x9(a,b){a=a|0;b=+b;g[(c[a+48>>2]|0)+-96>>2]=b;return}function y9(a,b){a=a|0;b=b|0;c[(c[a+48>>2]|0)+-92>>2]=b;return}function z9(a,b){a=a|0;b=b|0;c[(c[a+48>>2]|0)+-88>>2]=b;return}function A9(a,b){a=a|0;b=+b;fda(631040,b);g[(c[a+48>>2]|0)+-84>>2]=b;return}function B9(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;Hi[c[163875]&1023](3089);c[h>>2]=d;c[h+4>>2]=e;c[h+8>>2]=f;c[h+12>>2]=g;dda(631040,h);b=c[b+48>>2]|0;a[b+-80>>0]=1;c[b+-76>>2]=d;c[b+-72>>2]=e;c[b+-68>>2]=f;c[b+-64>>2]=g;i=h;return}function C9(b){b=b|0;a[(c[b+48>>2]|0)+-80>>0]=0;Hi[c[164236]&1023](3089);return}function D9(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;f=c[b+48>>2]|0;c[f+-60>>2]=d;c[f+-56>>2]=e;if(a[b+42>>0]|0)return;if((d|0)==6){Hi[c[164236]&1023](2960);return}b=c[157521]|0;if(b|0)h7(b)|0;switch(d|0){case 0:{b=516;break}case 1:{b=518;break}case 5:{b=517;break}case 3:{b=515;break}case 4:{b=513;break}default:b=514}Hi[c[163875]&1023](2960);$i[c[164365]&255](b,e,-1);$i[c[163818]&255](7680,7680,7680);return}function E9(a,b){a=a|0;b=b|0;var d=0;a=c[a+48>>2]|0;if(b|0)Hi[c[(c[b>>2]|0)+8>>2]&1023](b);d=c[a+-52>>2]|0;if(!d){c[a+-52>>2]=b;return}Hi[c[(c[d>>2]|0)+12>>2]&1023](d);c[a+-52>>2]=b;return}function F9(a,b){a=a|0;b=b|0;var d=0;d=c[a+48>>2]|0;if(!b){yea();a=c[d+-48>>2]|0;if(a|0)Hi[c[(c[a>>2]|0)+12>>2]&1023](a);c[d+-48>>2]=0;return}else{zea(b,0);Hi[c[(c[b>>2]|0)+8>>2]&1023](b);a=c[d+-48>>2]|0;if(a|0)Hi[c[(c[a>>2]|0)+12>>2]&1023](a);c[d+-48>>2]=b;return}}function G9(b,e){b=b|0;e=e|0;kj[c[164509]&127](a[e>>0]|0,a[e+1>>0]|0,a[e+2>>0]|0,a[e+3>>0]|0);b=(c[b+48>>2]|0)+-32|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;a[b>>0]=e;a[b+1>>0]=e>>8;a[b+2>>0]=e>>16;a[b+3>>0]=e>>24;return}function H9(b,d){b=b|0;d=d|0;if(a[1248844]|0)return;si[c[164088]&511](1032,d?6913:6914);a[(c[b+48>>2]|0)+-28>>0]=d&1;return}function I9(a,b){a=a|0;b=b|0;UC(b);a=(c[a+48>>2]|0)+-24|0;c[a>>2]=c[b>>2];c[a+4>>2]=c[b+4>>2];c[a+8>>2]=c[b+8>>2];c[a+12>>2]=c[b+12>>2];return}function J9(a,b,d){a=a|0;b=b|0;d=+d;Gba(b);Eba(d);a=c[a+48>>2]|0;c[a+-8>>2]=b;g[a+-4>>2]=d;return}function K9(b,e){b=b|0;e=e|0;var f=0,h=0,j=0,k=0.0,l=0.0,m=0,n=0,o=0,p=0,q=0,r=0.0,s=0.0;q=i;i=i+16|0;p=c[b+48>>2]|0;k=+g[e>>2];l=+g[e+4>>2];if(k==+g[p+-136>>2])if(l==+g[p+-132>>2])if(+g[e+8>>2]==+g[p+-128>>2])if(+g[e+12>>2]!=+g[p+-124>>2])o=5;else f=p;else o=5;else o=5;else o=5;if((o|0)==5){s=+g[e+8>>2];r=+g[e+12>>2];g[q>>2]=k/255.0;g[q+4>>2]=l/255.0;g[q+8>>2]=s/255.0;g[q+12>>2]=r/255.0;AA(q);Qi[c[164206]&3](3,+g[q>>2],+g[q+4>>2],+g[q+8>>2],+g[q+12>>2]);f=c[b+48>>2]|0;g[f+-136>>2]=k;g[f+-132>>2]=l;g[f+-128>>2]=s;g[f+-124>>2]=r;f=c[b+48>>2]|0}nBb(f+-120|0,e+16|0,16)|0;f=c[e+32>>2]|0;h=c[e+36>>2]|0;if((f|0)==(c[p+-104>>2]|0)){if((h|0)!=(c[p+-100>>2]|0))o=8}else o=8;if((o|0)==8)m9(b,f,h);f=c[b+48>>2]|0;c[f+-96>>2]=c[e+40>>2];c[f+-92>>2]=c[e+44>>2];c[f+-88>>2]=c[e+48>>2];k=+g[e+52>>2];if(k!=+g[p+-84>>2]){fda(631040,k);f=c[b+48>>2]|0;g[f+-84>>2]=k}h=a[e+56>>0]|0;if(h<<24>>24==(a[p+-80>>0]|0)){if(h<<24>>24)if((c[e+60>>2]|0)==(c[p+-76>>2]|0))if((c[e+64>>2]|0)==(c[p+-72>>2]|0))if((c[e+68>>2]|0)==(c[p+-68>>2]|0)){if((c[e+72>>2]|0)!=(c[p+-64>>2]|0))o=18}else o=18;else o=18;else o=18}else if(!(h<<24>>24)){a[f+-80>>0]=0;Hi[c[164236]&1023](3089)}else o=18;if((o|0)==18){f=c[e+60>>2]|0;h=c[e+64>>2]|0;j=c[e+68>>2]|0;m=c[e+72>>2]|0;Hi[c[163875]&1023](3089);c[q>>2]=f;c[q+4>>2]=h;c[q+8>>2]=j;c[q+12>>2]=m;dda(631040,q);n=c[b+48>>2]|0;a[n+-80>>0]=1;c[n+-76>>2]=f;c[n+-72>>2]=h;c[n+-68>>2]=j;c[n+-64>>2]=m}h=c[e+76>>2]|0;j=c[e+80>>2]|0;if((h|0)==(c[p+-60>>2]|0)){if((j|0)!=(c[p+-56>>2]|0))o=22}else o=22;do if((o|0)==22){o=c[b+48>>2]|0;c[o+-60>>2]=h;c[o+-56>>2]=j;if(!(a[b+42>>0]|0)){if((h|0)==6){Hi[c[164236]&1023](2960);break}f=c[157521]|0;if(f|0)h7(f)|0;switch(h|0){case 0:{f=516;break}case 1:{f=518;break}case 5:{f=517;break}case 3:{f=515;break}case 4:{f=513;break}default:f=514}Hi[c[163875]&1023](2960);$i[c[164365]&255](f,j,-1);$i[c[163818]&255](7680,7680,7680)}}while(0);f=c[e+84>>2]|0;h=c[b+48>>2]|0;if(f|0)Hi[c[(c[f>>2]|0)+8>>2]&1023](f);j=c[h+-52>>2]|0;if(j|0)Hi[c[(c[j>>2]|0)+12>>2]&1023](j);c[h+-52>>2]=f;f=c[e+88>>2]|0;j=c[b+48>>2]|0;if(!f){yea();f=c[j+-48>>2]|0;if(f|0)Hi[c[(c[f>>2]|0)+12>>2]&1023](f);c[j+-48>>2]=0}else{zea(f,0);Hi[c[(c[f>>2]|0)+8>>2]&1023](f);h=c[j+-48>>2]|0;if(h|0)Hi[c[(c[h>>2]|0)+12>>2]&1023](h);c[j+-48>>2]=f}j=c[e+96>>2]|0;m=c[e+92>>2]|0;f=c[p+-44>>2]|0;n=(c[p+-40>>2]|0)-f|0;a:do if((j|0)==(m|0))o=50;else{h=0;while(1){if(h>>>0>=n>>2>>>0){o=50;break a}if((c[m+(h<<2)>>2]|0)!=(c[f+(h<<2)>>2]|0)){o=51;break a}h=h+1|0;if(h>>>0>=j-m>>2>>>0){o=50;break}}}while(0);if((o|0)==50)if((j-m|0)!=(n|0))o=51;if((o|0)==51)d9(b,e+92|0);if((a[e+104>>0]|0)==(a[p+-32>>0]|0))if((a[e+105>>0]|0)==(a[p+-31>>0]|0))if((a[e+106>>0]|0)==(a[p+-30>>0]|0)){if((a[e+107>>0]|0)!=(a[p+-29>>0]|0))o=56}else o=56;else o=56;else o=56;if((o|0)==56){n=d[e+104>>0]|d[e+104+1>>0]<<8|d[e+104+2>>0]<<16|d[e+104+3>>0]<<24;kj[c[164509]&127](n&255,n>>>8&255,n>>>16&255,n>>>24&255);o=(c[b+48>>2]|0)+-32|0;a[o>>0]=n&16777215|n>>>24<<24;a[o+1>>0]=(n&16777215|n>>>24<<24)>>8;a[o+2>>0]=(n&16777215|n>>>24<<24)>>16;a[o+3>>0]=(n&16777215|n>>>24<<24)>>24}f=a[e+108>>0]|0;if(!((a[1248844]|0)==0?f<<24>>24!=(a[p+-28>>0]|0):0)){o=e+112|0;UC(o);p=c[b+48>>2]|0;p=p+-24|0;c[p>>2]=c[o>>2];c[p+4>>2]=c[o+4>>2];c[p+8>>2]=c[o+8>>2];c[p+12>>2]=c[o+12>>2];p=e+128|0;p=c[p>>2]|0;e=e+132|0;s=+g[e>>2];Gba(p);Eba(s);b=c[b+48>>2]|0;e=b+-8|0;c[e>>2]=p;b=b+-4|0;g[b>>2]=s;i=q;return}si[c[164088]&511](1032,f<<24>>24?6913:6914);a[(c[b+48>>2]|0)+-28>>0]=f;o=e+112|0;UC(o);p=c[b+48>>2]|0;p=p+-24|0;c[p>>2]=c[o>>2];c[p+4>>2]=c[o+4>>2];c[p+8>>2]=c[o+8>>2];c[p+12>>2]=c[o+12>>2];p=e+128|0;p=c[p>>2]|0;e=e+132|0;s=+g[e>>2];Gba(p);Eba(s);b=c[b+48>>2]|0;e=b+-8|0;c[e>>2]=p;b=b+-4|0;g[b>>2]=s;i=q;return}function L9(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;g=i;i=i+16|0;b=c[a+48>>2]|0;if(c[b+-52>>2]|0){i=g;return}d=c[a+12>>2]|0;if(!d){b=c[155675]|0;if(!b){f=nf(16)|0;ds(f,432796,g);zc(f|0,96,27)}b=Gi[c[(c[b>>2]|0)+28>>2]&255](b,12,0)|0;if(b|0)Hi[c[(c[b>>2]|0)+8>>2]&1023](b);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);e=TC()|0;d=YAb(140)|0;E7(d,b,e);Hi[c[(c[d>>2]|0)+8>>2]&1023](d);e=c[a+12>>2]|0;if(e|0)Hi[c[(c[e>>2]|0)+12>>2]&1023](e);c[a+12>>2]=d;Hi[c[(c[d>>2]|0)+12>>2]&1023](d);if(b|0)Hi[c[(c[b>>2]|0)+12>>2]&1023](b);d=c[a+12>>2]|0;b=(c[a+48>>2]|0)+-52|0;if(!d){e=b;d=0}else f=13}else{b=b+-52|0;f=13}if((f|0)==13){Hi[c[(c[d>>2]|0)+8>>2]&1023](d);e=b}b=c[e>>2]|0;if(b|0)Hi[c[(c[b>>2]|0)+12>>2]&1023](b);c[e>>2]=d;i=g;return}function M9(a,b,c){a=a|0;b=b|0;c=c|0;a=YAb(140)|0;E7(a,b,c);return a|0}function N9(b){b=b|0;return (a[b+40>>0]|0)!=0|0}function O9(a){a=a|0;var b=0,d=0,e=0;e=c[a+48>>2]|0;a=c[157521]|0;if(a|0)K6(a,0);d=c[e+-44>>2]|0;a=c[e+-40>>2]|0;if((a|0)==(d|0))return;do{a=a+-4|0;c[e+-40>>2]=a;b=c[a>>2]|0;if(b){Hi[c[(c[b>>2]|0)+12>>2]&1023](b);a=c[e+-40>>2]|0}}while((a|0)!=(d|0));return}function P9(a){a=a|0;return zA()|0}function Q9(a,b){a=a|0;b=b|0;a=YAb(328)|0;wea(a,b);return a|0}function R9(b){b=b|0;var d=0,e=0,f=0;f=i;i=i+144|0;g[f>>2]=255.0;g[f+4>>2]=255.0;g[f+8>>2]=255.0;g[f+12>>2]=255.0;g[f+16>>2]=0.0;g[f+20>>2]=0.0;g[f+24>>2]=0.0;g[f+28>>2]=255.0;c[f+32>>2]=0;c[f+36>>2]=0;g[f+40>>2]=1.0;c[f+44>>2]=1;c[f+48>>2]=1;g[f+52>>2]=1.0;a[f+56>>0]=0;c[f+60>>2]=0;c[f+60+4>>2]=0;c[f+60+8>>2]=0;c[f+60+12>>2]=0;c[f+76>>2]=6;c[f+80>>2]=0;c[f+80+4>>2]=0;c[f+80+8>>2]=0;c[f+80+12>>2]=0;c[f+80+16>>2]=0;c[f+80+20>>2]=0;c[f+104>>2]=16843009;a[f+108>>0]=0;c[f+112>>2]=0;c[f+112+4>>2]=0;c[f+112>>2]=1;c[f+116>>2]=1;c[f+120>>2]=0;g[f+124>>2]=1.0;c[f+128>>2]=2;g[f+132>>2]=0.0;S9(b);l9(b,f);Gua(_ca(631040)|0);h[(c[b+20>>2]|0)+-8>>3]=1.0;b=c[f+92>>2]|0;if(b|0){d=c[f+96>>2]|0;if((d|0)!=(b|0)){do{d=d+-4|0;c[f+96>>2]=d;e=c[d>>2]|0;if(e){Hi[c[(c[e>>2]|0)+12>>2]&1023](e);d=c[f+96>>2]|0}}while((d|0)!=(b|0));b=c[f+92>>2]|0}oAb(b)}b=c[f+88>>2]|0;if(b|0)Hi[c[(c[b>>2]|0)+12>>2]&1023](b);b=c[f+84>>2]|0;if(!b){i=f;return}Hi[c[(c[b>>2]|0)+12>>2]&1023](b);i=f;return}function S9(b){b=b|0;var e=0,f=0,g=0;if(!(a[b+42>>0]|0))return;a[b+42>>0]=0;f=c[b+48>>2]|0;g=d[f+-32>>0]|d[f+-32+1>>0]<<8|d[f+-32+2>>0]<<16|d[f+-32+3>>0]<<24;kj[c[164509]&127](g&255,g>>>8&255,g>>>16&255,g>>>24&255);e=(c[b+48>>2]|0)+-32|0;a[e>>0]=g&16777215|g>>>24<<24;a[e+1>>0]=(g&16777215|g>>>24<<24)>>8;a[e+2>>0]=(g&16777215|g>>>24<<24)>>16;a[e+3>>0]=(g&16777215|g>>>24<<24)>>24;e=c[f+-60>>2]|0;f=c[f+-56>>2]|0;g=c[b+48>>2]|0;c[g+-60>>2]=e;c[g+-56>>2]=f;if(a[b+42>>0]|0)return;if((e|0)==6){Hi[c[164236]&1023](2960);return}b=c[157521]|0;if(b|0)h7(b)|0;switch(e|0){case 0:{b=516;break}case 1:{b=518;break}case 5:{b=517;break}case 3:{b=515;break}case 4:{b=513;break}default:b=514}Hi[c[163875]&1023](2960);$i[c[164365]&255](b,f,-1);$i[c[163818]&255](7680,7680,7680);return}function T9(a){a=a|0;Gua(_ca(631040)|0);h[(c[a+20>>2]|0)+-8>>3]=1.0;return}function U9(b,d){b=b|0;d=d|0;var e=0.0,f=0.0,h=0.0;b=i;i=i+16|0;h=+g[d+4>>2]/255.0;f=+g[d+8>>2]/255.0;e=+g[d+12>>2]/255.0;g[b>>2]=+g[d>>2]/255.0;g[b+4>>2]=h;g[b+8>>2]=f;g[b+12>>2]=e;AA(b);ej[c[164438]&3](+g[b>>2],+g[b+4>>2],+g[b+8>>2],+g[b+12>>2]);Hi[c[163811]&1023](17664);if(!((a[631076]|0)!=0&(c[157830]|0)!=0)){i=b;return}Hi[c[164101]&1023](0);Hi[c[164101]&1023](c[(c[157830]|0)+48>>2]|0);i=b;return}function V9(b,d){b=b|0;d=d|0;var e=0,f=0,h=0,j=0,k=0,l=0,m=0.0,n=0.0,o=0.0;l=i;i=i+32|0;f=c[d+4>>2]|0;h=c[d>>2]|0;if((f|0)==(h|0)){i=l;return}e=c[b+48>>2]|0;e=(c[e+-40>>2]|0)-(c[e+-44>>2]|0)>>2;if(!e){if(!(a[h+16>>0]|0)){i=l;return}o=+g[h+4>>2]/255.0;n=+g[h+8>>2]/255.0;m=+g[h+12>>2]/255.0;g[l+8>>2]=+g[h>>2]/255.0;g[l+8+4>>2]=o;g[l+8+8>>2]=n;g[l+8+12>>2]=m;AA(l+8|0);ej[c[164438]&3](+g[l+8>>2],+g[l+8+4>>2],+g[l+8+8>>2],+g[l+8+12>>2]);Hi[c[163811]&1023](17664);if((a[631076]|0)!=0&(c[157830]|0)!=0){Hi[c[164101]&1023](0);Hi[c[164101]&1023](c[(c[157830]|0)+48>>2]|0)}i=l;return}if(((f-h|0)/20|0|0)!=(e|0)){d=nf(16)|0;b=c[b+48>>2]|0;c[l>>2]=(c[b+-40>>2]|0)-(c[b+-44>>2]|0)>>2;ds(d,432829,l);zc(d|0,96,27)}if((f-h|0)>0){k=h;e=0;j=0;while(1){if(!(a[h+(j*20|0)+16>>0]|0))h=k;else{g[l+8>>2]=+g[h+(j*20|0)>>2]/255.0;g[l+8+4>>2]=+g[h+(j*20|0)+4>>2]/255.0;g[l+8+8>>2]=+g[h+(j*20|0)+8>>2]/255.0;g[l+8+12>>2]=+g[h+(j*20|0)+12>>2]/255.0;if(zA()|0){g[l+8>>2]=+VE(621072,+g[l+8>>2]);g[l+8+4>>2]=+VE(621072,+g[l+8+4>>2]);g[l+8+8>>2]=+VE(621072,+g[l+8+8>>2])}if(!((a[1248834]|a[1248845])<<24>>24)){Hi[c[163911]&1023](j+36064|0);ej[c[164438]&3](+g[l+8>>2],+g[l+8+4>>2],+g[l+8+8>>2],+g[l+8+12>>2]);Hi[c[163811]&1023](16384);e=1}else $i[c[163750]&255](6144,j,l+8|0);f=c[d+4>>2]|0;h=c[d>>2]|0}j=j+1|0;if((j|0)>=((f-h|0)/20|0|0))break;else k=h}Hi[c[163811]&1023](1280);if(e){c[l+8>>2]=0;d=l+8+4|0;c[d>>2]=0;c[l+8+8>>2]=0;e=c[b+48>>2]|0;if(((c[e+-40>>2]|0)-(c[e+-44>>2]|0)|0)>0){j=0;k=0;h=0;while(1){f=h+36064|0;c[l+4>>2]=f;if(j>>>0>>0){c[j>>2]=f;c[d>>2]=j+4}else{Zx(l+8|0,l+4|0);e=c[b+48>>2]|0}f=h+1|0;if((f|0)>=((c[e+-40>>2]|0)-(c[e+-44>>2]|0)>>2|0))break;j=c[d>>2]|0;k=c[l+8+8>>2]|0;h=f}h=c[l+8>>2]|0;e=c[d>>2]|0;f=h}else{e=0;f=0;h=0}e=e-f>>2;if(e>>>0>1)si[c[164089]&511](e,h);else Hi[c[163911]&1023](36064);e=c[l+8>>2]|0;if(e|0){f=c[d>>2]|0;if((f|0)!=(e|0))c[d>>2]=f+(~((f+-4-e|0)>>>2)<<2);oAb(e)}}}else Hi[c[163811]&1023](1280);if(!((a[631076]|0)!=0&(c[157830]|0)!=0)){i=l;return}Hi[c[164101]&1023](0);Hi[c[164101]&1023](c[(c[157830]|0)+48>>2]|0);i=l;return}function W9(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0;l=i;i=i+48|0;if(!((a[1248887]|a[1248841]|a[1248845]|a[1248939])<<24>>24)){i=l;return}c[l+24>>2]=0;k=l+24+4|0;c[k>>2]=0;c[l+24+8>>2]=0;f=c[d+4>>2]|0;j=l+24+8|0;if(f|0){h=YAb(f<<2)|0;c[l+24>>2]=h;c[k>>2]=h;c[j>>2]=h+(f<<2)}do if(!(c[157521]|0)){if(kda(631040)|0)if(!(c[157521]|0)){h=1;g=20;break}else{g=19;break}do if(c[d+4>>2]|0)if(c[c[d>>2]>>2]&1|0){c[l+20>>2]=6144;f=c[k>>2]|0;if(f>>>0<(c[j>>2]|0)>>>0){c[f>>2]=6144;c[k>>2]=f+4;break}else{Zx(l+24|0,l+20|0);break}}while(0);if(e){c[l+16>>2]=6146;b=c[k>>2]|0;f=c[j>>2]|0;if(b>>>0>>0){c[b>>2]=6146;c[k>>2]=b+4;b=b+4|0}else{Zx(l+24|0,l+16|0);b=c[k>>2]|0;f=c[j>>2]|0}c[l+12>>2]=6145;if(b>>>0>>0){c[b>>2]=6145;c[k>>2]=b+4;break}else{Zx(l+24|0,l+12|0);break}}}else g=19;while(0);if((g|0)==19){h=c[b+48>>2]|0;h=(c[h+-40>>2]|0)-(c[h+-44>>2]|0)>>2;g=20}do if((g|0)==20){if((c[d+4>>2]|0)>0){g=0;do{do if((g|0)<(h|0)?(c[(c[d>>2]|0)+(g>>>5<<2)>>2]&1<<(g&31)|0)!=0:0){f=g+36064|0;c[l+8>>2]=f;b=c[k>>2]|0;if(b>>>0<(c[j>>2]|0)>>>0){c[b>>2]=f;c[k>>2]=b+4;break}else{Zx(l+24|0,l+8|0);break}}while(0);g=g+1|0}while((g|0)<(c[d+4>>2]|0))}if(e){c[l+4>>2]=36128;b=c[k>>2]|0;f=c[j>>2]|0;if(b>>>0>>0){c[b>>2]=36128;c[k>>2]=b+4;b=b+4|0}else{Zx(l+24|0,l+4|0);b=c[k>>2]|0;f=c[j>>2]|0}c[l>>2]=36096;if(b>>>0>>0){c[b>>2]=36096;c[k>>2]=b+4;break}else{Zx(l+24|0,l);break}}}while(0);if(!((a[1248887]|a[1248841]|a[1248845])<<24>>24)){if(a[1248939]|0){j=c[l+24>>2]|0;$i[c[165106]&255](36160,(c[k>>2]|0)-j>>2,j)}}else{j=c[l+24>>2]|0;$i[c[164038]&255](36160,(c[k>>2]|0)-j>>2,j)}f=c[l+24>>2]|0;if(f|0){b=c[k>>2]|0;if((b|0)!=(f|0))c[k>>2]=b+(~((b+-4-f|0)>>>2)<<2);oAb(f)}i=l;return}function X9(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;g=i;i=i+32|0;if(!(vi[c[(c[a>>2]|0)+40>>2]&2047](a)|0)){i=g;return}c9(g+12|0,(c[a+48>>2]|0)+-44|0);f=c[a+48>>2]|0;b=c[157521]|0;if(b|0)K6(b,0);e=c[f+-44>>2]|0;b=c[f+-40>>2]|0;if((b|0)!=(e|0))do{b=b+-4|0;c[f+-40>>2]=b;d=c[b>>2]|0;if(d){Hi[c[(c[d>>2]|0)+12>>2]&1023](d);b=c[f+-40>>2]|0}}while((b|0)!=(e|0));c[g>>2]=0;c[g+4>>2]=0;c[g+8>>2]=0;W9(a,g,1);b=c[a+8>>2]|0;if(b|0)Hi[c[(c[b>>2]|0)+108>>2]&1023](b);d9(a,g+12|0);c[157767]=0;c[157768]=0;b=c[g+12>>2]|0;if(b|0){d=c[g+12+4>>2]|0;if((d|0)!=(b|0)){do{d=d+-4|0;c[g+12+4>>2]=d;e=c[d>>2]|0;if(e){Hi[c[(c[e>>2]|0)+12>>2]&1023](e);d=c[g+12+4>>2]|0}}while((d|0)!=(b|0));b=c[g+12>>2]|0}oAb(b)}i=g;return}function Y9(a){a=a|0;return c[a+32>>2]|0}function Z9(a){a=a|0;return c[a+36>>2]|0}function _9(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0;h=i;i=i+16|0;n=c[b+48>>2]|0;m=c[n+-76>>2]|0;l=c[n+-72>>2]|0;o=(a[n+-80>>0]|0)==0;j=o?0:l;k=o?0:m;k=(k|0)<(d|0)?d:k;j=(j|0)<(e|0)?e:j;m=o?2147483647:(c[n+-68>>2]|0)+m|0;l=o?2147483647:(c[n+-64>>2]|0)+l|0;f=((f+d|0)<(m|0)?f+d|0:m)-k|0;f=(f|0)>0?f:0;d=((g+e|0)<(l|0)?g+e|0:l)-j|0;d=(d|0)>0?d:0;Hi[c[163875]&1023](3089);c[h>>2]=k;c[h+4>>2]=j;c[h+8>>2]=f;c[h+12>>2]=d;dda(631040,h);e=c[b+48>>2]|0;a[e+-80>>0]=1;c[e+-76>>2]=k;c[e+-72>>2]=j;c[e+-68>>2]=f;c[e+-64>>2]=d;i=h;return}function $9(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;b=c[b+48>>2]|0;c[d>>2]=c[b+-76>>2];c[e>>2]=c[b+-72>>2];c[f>>2]=c[b+-68>>2];c[g>>2]=c[b+-64>>2];return (a[b+-80>>0]|0)!=0|0}function aaa(b,d,e){b=b|0;d=d|0;e=e|0;a[b+42>>0]=1;b=c[157521]|0;if(b|0)h7(b)|0;kj[c[164509]&127](0,0,0,0);switch(d|0){case 5:{b=5386;break}case 1:{b=7682;break}case 2:{b=7683;break}case 3:{b=34055;break}case 4:{b=34056;break}default:b=7681}Hi[c[163875]&1023](2960);$i[c[164365]&255](519,e,-1);$i[c[163818]&255](7680,7680,b);return}function baa(a,b,d){a=a|0;b=b|0;d=d|0;a=c[a+48>>2]|0;c[b>>2]=c[a+-60>>2];c[d>>2]=c[a+-56>>2];return}function caa(a){a=a|0;Hi[c[163811]&1023](1280);return}function daa(a,b,c){a=a|0;b=b|0;c=c|0;a=YAb(168)|0;sba(a,b,c);return a|0}function eaa(a,b,c){a=a|0;b=b|0;c=c|0;a=YAb(168)|0;uba(a,b,c);return a|0}function faa(a,b,c,d){a=a|0;b=b|0;c=+c;d=+d;a=YAb(136)|0;DC(a,b,c,d);return a|0}function gaa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=YAb(52)|0;bfa(a,b,c,d);return a|0}function haa(a,b,c){a=a|0;b=b|0;c=c|0;a=YAb(236)|0;Hda(a,b,c);return a|0}function iaa(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;j=i;i=i+208|0;if(!(j7()|0)){h=nf(16)|0;ds(h,432899,j);zc(h|0,96,27)}if(!(k7(f)|0)){c[j+196>>2]=432950;m7(e7(f)|0,j+196|0)|0;h=nf(16)|0;c[j+8>>2]=c[j+196>>2];ds(h,432956,j+8|0);zc(h|0,96,27)}if((sda(631040)|0)<(d|0)){h=nf(16)|0;c[j+16>>2]=d;ds(h,433018,j+16|0);zc(h|0,96,27)}if((sda(631040)|0)<(e|0)){h=nf(16)|0;c[j+24>>2]=e;ds(h,433089,j+24|0);zc(h|0,96,27)}do{}while((dj[c[164614]&7]()|0)!=0);h=YAb(176)|0;$6(h,d,e,f,g);b=c[h+148>>2]|0;if((b|0)==36053){i=j;return h|0}c[j+40+8>>2]=9184;f=j+40+12|0;c[j+40>>2]=9388;c[j+40+64>>2]=9408;c[j+40+4>>2]=0;rsb(j+40+64|0,f);c[j+40+136>>2]=0;c[j+40+140>>2]=-1;c[j+40>>2]=9164;c[j+40+64>>2]=9204;c[j+40+8>>2]=9184;tsb(f);c[f>>2]=9220;c[j+40+44>>2]=0;c[j+40+44+4>>2]=0;c[j+40+44+8>>2]=0;c[j+40+44+12>>2]=0;c[j+40+60>>2]=24;c[j+196>>2]=0;c[j+196+4>>2]=0;c[j+196+8>>2]=0;dk(f,j+196|0);Mqb(j+196|0);e=j+40+8|0;ek(e,433161,22)|0;a:do switch(b|0){case 36061:{ek(e,433184,37)|0;break}case 36054:{ek(e,433222,52)|0;break}case 36182:case 36060:case 36059:case 36055:case 33305:{ek(e,433275,25)|0;break}default:if(!(dj[c[164614]&7]()|0)){ek(e,433301,44)|0;break a}else{d=ek(e,433346,56)|0;ek(Bsb(d,dj[c[164614]&7]()|0)|0,439683,1)|0;break a}}while(0);Hi[c[(c[h>>2]|0)+12>>2]&1023](h);h=nf(16)|0;gk(j+184|0,f);c[j+32>>2]=(a[j+184>>0]&1)==0?j+184+1|0:c[j+184+8>>2]|0;ds(h,593061,j+32|0);zc(h|0,96,27);return 0}function jaa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=YAb(100)|0;$ba(a,b,c,d);return a|0}function kaa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=YAb(100)|0;bca(a,b,c,d);return a|0}function laa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=YAb(100)|0;_ba(a,b,c,d,e);return a|0}function maa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;a=YAb(100)|0;Qba(a,b,c,d,e,f);return a|0}function naa(a,b,c){a=a|0;b=b|0;c=c|0;a=YAb(48)|0;Ffa(a,b,c);return a|0}function oaa(a,b){a=a|0;b=b|0;a=YAb(128)|0;Zfa(a,b);return a|0}function paa(a,b){a=a|0;b=b|0;b=(c[b+48>>2]|0)+-136|0;c[a>>2]=c[b>>2];c[a+4>>2]=c[b+4>>2];c[a+8>>2]=c[b+8>>2];c[a+12>>2]=c[b+12>>2];return}function qaa(a,b){a=a|0;b=b|0;b=(c[b+48>>2]|0)+-120|0;c[a>>2]=c[b>>2];c[a+4>>2]=c[b+4>>2];c[a+8>>2]=c[b+8>>2];c[a+12>>2]=c[b+12>>2];return}function raa(a){a=a|0;L9(a);return c[(c[a+48>>2]|0)+-52>>2]|0}function saa(a){a=a|0;var b=0;a=c[a+48>>2]|0;yea();b=c[a+-48>>2]|0;if(!b){c[a+-48>>2]=0;return}Hi[c[(c[b>>2]|0)+12>>2]&1023](b);c[a+-48>>2]=0;return}function taa(a){a=a|0;return c[(c[a+48>>2]|0)+-48>>2]|0}function uaa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;h=i;i=i+16|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;d=c[b+48>>2]|0;e=c[d+-40>>2]|0;f=c[d+-44>>2]|0;if(!(e-f>>2)){b=f;g=e;e=0;d=0}else{j=YAb(e-f|0)|0;c[a>>2]=j;c[a+4>>2]=j;c[a+8>>2]=j+(e-f>>2<<2);b=c[d+-44>>2]|0;g=c[d+-40>>2]|0;e=j+(e-f>>2<<2)|0;d=j}if((b|0)==(g|0)){i=h;return}f=e;while(1){e=c[b>>2]|0;c[h>>2]=e;if(d>>>0>>0){c[d>>2]=e;c[a+4>>2]=(c[a+4>>2]|0)+4}else _w(a,h);b=b+4|0;if((b|0)==(g|0))break;d=c[a+4>>2]|0;f=c[a+8>>2]|0}i=h;return}function vaa(b,e){b=b|0;e=e|0;e=(c[e+48>>2]|0)+-32|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;a[b>>0]=e;a[b+1>>0]=e>>8;a[b+2>>0]=e>>16;a[b+3>>0]=e>>24;return}function waa(b,c){b=b|0;c=c|0;switch(c|0){case 0:{b=f7()|0;return b|0}case 1:{b=rda(631040)|0;return b|0}case 2:{b=(a[1248845]|a[1248830]|a[1248932])<<24>>24!=0;return b|0}default:{b=0;return b|0}}return 0}function xaa(a,b){a=a|0;b=b|0;a=c[a+48>>2]|0;c[b>>2]=c[a+-100>>2];return c[a+-104>>2]|0}function yaa(a){a=a|0;return TC()|0}function zaa(a,b,d){a=a|0;b=b|0;d=d|0;c[b>>2]=Hba()|0;g[d>>2]=+Fba();return}function Aaa(a){a=a|0;return +(+g[(c[a+48>>2]|0)+-96>>2])}function Baa(a){a=a|0;return c[(c[a+48>>2]|0)+-92>>2]|0}function Caa(a){a=a|0;return c[(c[a+48>>2]|0)+-88>>2]|0}function Daa(a){a=a|0;return +(+g[(c[a+48>>2]|0)+-84>>2])}function Eaa(b){b=b|0;return (a[(c[b+48>>2]|0)+-28>>0]|0)!=0|0}function Faa(a,b,d,e,f,g,h,i,j,k,l){a=a|0;b=b|0;d=+d;e=+e;f=+f;g=+g;h=+h;i=+i;j=+j;k=+k;l=+l;L9(a);a=c[(c[a+48>>2]|0)+-52>>2]|0;if(!a)return;f8(a,b,d,e,f,g,h,i,j,k,l);return}function Gaa(a,b,d,e,f,g,h,i,j,k,l,m,n){a=a|0;b=b|0;d=+d;e=+e;f=+f;g=g|0;h=+h;i=+i;j=+j;k=+k;l=+l;m=+m;n=+n;L9(a);a=c[(c[a+48>>2]|0)+-52>>2]|0;if(!a)return;g8(a,b,d,e,f,g,h,i,j,k,l,m,n);return}function Haa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;$ca(631040);Wca(631040,lda(631040)|0);Ii[c[163985]&63](0,2,5126,0,0,b);if(!d)d=1;else{Ii[c[163985]&63](2,4,5121,1,0,d);d=5}Uca(631040,d);ada(631040,0,0,e);return}function Iaa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,j=0,k=0;j=i;i=i+32|0;f=c[b+48>>2]|0;switch(c[f+-88>>2]|0){case 0:{c[j+4>>2]=0;c[j+4+4>>2]=0;c[j+4+8>>2]=0;c[j+4+12>>2]=0;c[j+20>>2]=4;a[j+24>>0]=1;c[j+28>>2]=0;c[j>>2]=23932;Xda(j,d,e,(e<<1)+-4|0,+g[f+-96>>2]*.5,+h[(c[b+20>>2]|0)+-8>>3],(c[f+-92>>2]|0)==1);f=c[j+4>>2]|0;if((c[j+12>>2]|0)==4)d=0;else{e=0;do{k=f+(e+2<<3)|0;b=c[k+4>>2]|0;d=f+(e<<3)|0;c[d>>2]=c[k>>2];c[d+4>>2]=b;e=e+1|0;d=(c[j+12>>2]|0)+-4|0;f=c[j+4>>2]|0}while(e>>>0>>0)}k=f+(d<<3)|0;c[k>>2]=0;c[k+4>>2]=0;c[k+8>>2]=0;c[k+12>>2]=0;c[k+16>>2]=0;c[k+20>>2]=0;c[k+24>>2]=0;c[k+28>>2]=0;c[j+12>>2]=(c[j+12>>2]|0)+-4;Yda(j);Ida(j);i=j;return}case 2:{c[j+4>>2]=0;c[j+4+4>>2]=0;c[j+4+8>>2]=0;c[j+4+12>>2]=0;c[j+20>>2]=5;a[j+24>>0]=0;c[j+28>>2]=0;c[j>>2]=23996;Xda(j,d,e,(e<<1)+-4|0,+g[f+-96>>2]*.5,+h[(c[b+20>>2]|0)+-8>>3],(c[f+-92>>2]|0)==1);Yda(j);Ida(j);i=j;return}default:{c[j+4>>2]=0;c[j+4+4>>2]=0;c[j+4+8>>2]=0;c[j+4+12>>2]=0;c[j+20>>2]=5;a[j+24>>0]=0;c[j+28>>2]=0;c[j>>2]=23964;Xda(j,d,e,e,+g[f+-96>>2]*.5,+h[(c[b+20>>2]|0)+-8>>3],(c[f+-92>>2]|0)==1);Yda(j);Ida(j);i=j;return}}}function Jaa(a,b,d,e,f,h){a=a|0;b=b|0;d=+d;e=+e;f=+f;h=+h;var j=0;j=i;i=i+48|0;g[j>>2]=d;g[j+4>>2]=e;g[j+8>>2]=d;g[j+12>>2]=e+h;g[j+16>>2]=d+f;g[j+20>>2]=e+h;g[j+24>>2]=d+f;g[j+28>>2]=e;g[j+32>>2]=d;g[j+36>>2]=e;if(!b){Iaa(a,j,10);i=j;return}else{$ca(631040);Wca(631040,lda(631040)|0);Uca(631040,1);Ii[c[163985]&63](0,2,5126,0,0,j);ada(631040,6,0,4);i=j;return}}function Kaa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;if(!b){Iaa(a,d,e);return}else{$ca(631040);Wca(631040,lda(631040)|0);Uca(631040,1);Ii[c[163985]&63](0,2,5126,0,0,d);ada(631040,6,0,((e|0)/2|0)+-1|0);return}}function Laa(a,b,d,e,f,h,j,l,m){a=a|0;b=b|0;d=+d;e=+e;f=+f;h=+h;j=+j;l=+l;m=m|0;var n=0.0,o=0,p=0,q=0,r=0;q=i;i=i+16|0;g[q+12>>2]=j;g[q+8>>2]=l;if(j==0.0|l==0.0){Jaa(a,b,d,e,f,h);i=q;return}if(f>=.019999999552965164){g[q+4>>2]=f*.5+-.009999999776482582;p=c[(f*.5+-.009999999776482582>2]|0;c[q+12>>2]=p;j=(c[k>>2]=p,+g[k>>2])}if(h>=.019999999552965164){g[q>>2]=h*.5+-.009999999776482582;p=c[(h*.5+-.009999999776482582>2]|0;c[q+8>>2]=p;l=(c[k>>2]=p,+g[k>>2])}o=(m|0)<1?1:m;p=_Ab(((o<<3)+18|0)>>>0>1073741823?-1:(o<<3)+18<<2)|0;if((o|0)>=-2){m=0;n=0.0;while(1){r=m<<1;g[p+(r<<2)>>2]=j*(1.0-+Q(+n))+d;g[p+((r|1)<<2)>>2]=l*(1.0-+R(+n))+e;if((m|0)<(o+2|0)){m=m+1|0;n=1.5707963705062866/(+(o|0)+1.0)+n}else break}}if((o+2|0)<=((o<<1)+4|0)){m=o+2|0;n=1.5707963705062866;while(1){r=m<<1;g[p+(r<<2)>>2]=d+f-j*(+Q(+n)+1.0);g[p+((r|1)<<2)>>2]=l*(1.0-+R(+n))+e;if((m|0)<((o<<1)+4|0)){m=m+1|0;n=1.5707963705062866/(+(o|0)+1.0)+n}else break}}if(((o<<1)+4|0)<=((o*3|0)+6|0)){m=(o<<1)+4|0;n=3.1415927410125732;while(1){r=m<<1;g[p+(r<<2)>>2]=d+f-j*(+Q(+n)+1.0);g[p+((r|1)<<2)>>2]=e+h-l*(+R(+n)+1.0);if((m|0)<((o*3|0)+6|0)){m=m+1|0;n=1.5707963705062866/(+(o|0)+1.0)+n}else break}}if(((o*3|0)+6|0)<=((o<<2)+8|0)){m=(o*3|0)+6|0;n=4.71238899230957;while(1){r=m<<1;g[p+(r<<2)>>2]=j*(1.0-+Q(+n))+d;g[p+((r|1)<<2)>>2]=e+h-l*(+R(+n)+1.0);if((m|0)<((o<<2)+8|0)){m=m+1|0;n=1.5707963705062866/(+(o|0)+1.0)+n}else break}}c[p+((o<<3)+16<<2)>>2]=c[p>>2];c[p+((o<<3)+17<<2)>>2]=c[p+4>>2];Kaa(a,b,p,(o<<3)+18|0);aBb(p);i=q;return}function Maa(a,b,d,e,f,h){a=a|0;b=b|0;d=+d;e=+e;f=+f;h=h|0;var i=0,j=0.0,k=0,l=0;k=(h|0)<1?1:h;l=_Ab(((k<<1)+2|0)>>>0>1073741823?-1:(k<<1)+2<<2)|0;if((k|0)>0){h=0;j=0.0;while(1){i=h<<1;g[l+(i<<2)>>2]=+Q(+j)*f+d;g[l+((i|1)<<2)>>2]=+R(+j)*f+e;h=h+1|0;if((h|0)>=(k|0))break;else j=6.2831854820251465/+(k|0)+j}h=c[l>>2]|0;i=c[l+4>>2]|0}else{h=0;i=0}c[l+(k<<1<<2)>>2]=h;c[l+((k<<1|1)<<2)>>2]=i;Kaa(a,b,l,(k<<1)+2|0);aBb(l);return}function Naa(a,b,d,e,f,h,i){a=a|0;b=b|0;d=+d;e=+e;f=+f;h=+h;i=i|0;var j=0,k=0.0,l=0,m=0;l=(i|0)<1?1:i;m=_Ab(((l<<1)+2|0)>>>0>1073741823?-1:(l<<1)+2<<2)|0;if((l|0)>0){i=0;k=0.0;while(1){j=i<<1;g[m+(j<<2)>>2]=+Q(+k)*f+d;g[m+((j|1)<<2)>>2]=+R(+k)*h+e;i=i+1|0;if((i|0)>=(l|0))break;else k=6.2831854820251465/+(l|0)+k}i=c[m+4>>2]|0;j=c[m>>2]|0}else{i=0;j=0}c[m+(l<<1<<2)>>2]=j;c[m+((l<<1|1)<<2)>>2]=i;Kaa(a,b,m,(l<<1)+2|0);aBb(m);return}function Oaa(a,b,d,e,f,h,i,j,k){a=a|0;b=b|0;d=d|0;e=+e;f=+f;h=+h;i=+i;j=+j;k=k|0;var l=0,m=0,n=0.0;if(i==j|(k|0)<1)return;n=+N(+(i-j));if(n>=6.2831854820251465){m=_Ab(((k<<1)+2|0)>>>0>1073741823?-1:(k<<1)+2<<2)|0;if((k|0)>0){d=0;n=0.0;while(1){l=d<<1;g[m+(l<<2)>>2]=+Q(+n)*h+e;g[m+((l|1)<<2)>>2]=+R(+n)*h+f;d=d+1|0;if((d|0)>=(k|0))break;else n=6.2831854820251465/+(k|0)+n}d=c[m>>2]|0;l=c[m+4>>2]|0}else{d=0;l=0}c[m+(k<<1<<2)>>2]=d;c[m+((k<<1|1)<<2)>>2]=l;Kaa(a,b,m,(k<<1)+2|0);aBb(m);return}if((j-i)/+(k|0)==0.0)return;if((b|0)==0&(d|0)==1)if(n<.06981316953897476)d=0;else d=1;d=(b|0)==1&(d|0)==0?1:d;a:do if((d|0)==2){l=_Ab(((k<<1)+6|0)>>>0>1073741823?-1:(k<<1)+6<<2)|0;g[l+((k<<1)+4<<2)>>2]=e;g[l>>2]=e;g[l+((k<<1)+5<<2)>>2]=f;g[l+4>>2]=f;if((k|0)<0)d=(k<<1)+6|0;else{d=0;n=i;while(1){m=d<<1;g[l+8+(m<<2)>>2]=+Q(+n)*h+e;g[l+8+((m|1)<<2)>>2]=+R(+n)*h+f;if((d|0)==(k|0)){d=(k<<1)+6|0;break}else{d=d+1|0;n=(j-i)/+(k|0)+n}}}}else{if(!d){l=_Ab(((k<<1)+2|0)>>>0>1073741823?-1:(k<<1)+2<<2)|0;if((k|0)<0){d=(k<<1)+2|0;break}else{d=0;n=i}while(1){m=d<<1;g[l+(m<<2)>>2]=+Q(+n)*h+e;g[l+((m|1)<<2)>>2]=+R(+n)*h+f;if((d|0)==(k|0)){d=(k<<1)+2|0;break a}else{d=d+1|0;n=(j-i)/+(k|0)+n}}}l=_Ab(((k<<1)+4|0)>>>0>1073741823?-1:(k<<1)+4<<2)|0;if((k|0)<0){d=0;m=0}else{d=0;n=i;while(1){m=d<<1;g[l+(m<<2)>>2]=+Q(+n)*h+e;g[l+((m|1)<<2)>>2]=+R(+n)*h+f;if((d|0)==(k|0))break;else{d=d+1|0;n=(j-i)/+(k|0)+n}}d=c[l+4>>2]|0;m=c[l>>2]|0}c[l+((k<<1)+2<<2)>>2]=m;c[l+((k<<1)+3<<2)>>2]=d;d=(k<<1)+4|0}while(0);Kaa(a,b,l,d);aBb(l);return}function Paa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;c9(n,(c[b+48>>2]|0)+-44|0);j=c[b+48>>2]|0;f=c[157521]|0;if(f|0)K6(f,0);h=c[j+-44>>2]|0;f=c[j+-40>>2]|0;if((f|0)!=(h|0))do{f=f+-4|0;c[j+-40>>2]=f;g=c[f>>2]|0;if(g){Hi[c[(c[g>>2]|0)+12>>2]&1023](g);f=c[j+-40>>2]|0}}while((f|0)!=(h|0));j=c[b+32>>2]|0;k=c[b+36>>2]|0;g=_(j<<2,k)|0;m=(g|0)>-1?g:-1;l=_Ab(m)|0;m=_Ab(m)|0;Ti[c[164337]&7](0,0,j,k,6408,5121,l);if((g|0)>3&(e^1)){f=3;do{a[l+f>>0]=-1;f=f+4|0}while((f|0)<(g|0))}if((k|0)>0){f=m+g|0;g=0;h=l+(0-(j<<2))|0;do{f=f+(0-(j<<2))|0;h=h+(j<<2)|0;mBb(f|0,h|0,j<<2|0)|0;g=g+1|0}while((g|0)!=(k|0))}aBb(l);j=Ci[c[(c[d>>2]|0)+32>>2]&127](d,j,k,m,1)|0;d9(b,n);f=c[n>>2]|0;if(!f){i=n;return j|0}g=c[n+4>>2]|0;if((g|0)!=(f|0)){do{g=g+-4|0;c[n+4>>2]=g;h=c[g>>2]|0;if(h){Hi[c[(c[h>>2]|0)+12>>2]&1023](h);g=c[n+4>>2]|0}}while((g|0)!=(f|0));f=c[n>>2]|0}oAb(f);i=n;return j|0}function Qaa(b,d){b=b|0;d=d|0;var e=0,f=0;f=i;i=i+32|0;d=b;e=d+48|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));if(!(a[1248844]|0))Rqb(b,433413)|0;else Rqb(b,433403)|0;d=vi[c[164183]&2047](7938)|0;if(!d){b=nf(16)|0;ds(b,433420,f);zc(b|0,96,27)}Rqb(b+12|0,d)|0;d=vi[c[164183]&2047](7936)|0;if(!d){b=nf(16)|0;ds(b,433466,f+8|0);zc(b|0,96,27)}Rqb(b+24|0,d)|0;d=vi[c[164183]&2047](7937)|0;if(!d){b=nf(16)|0;ds(b,433511,f+16|0);zc(b|0,96,27)}else{Rqb(b+36|0,d)|0;i=f;return}}function Raa(a,b){a=a|0;b=b|0;c[a>>2]=c[157767];c[a+4>>2]=c[157768];c[a+8>>2]=c[157526];c[a+12>>2]=c[157680];c[a+16>>2]=c[157646];c[a+20>>2]=c[157766];return}function Saa(a,b){a=a|0;b=b|0;var d=0.0;a=i;i=i+16|0;switch(b|0){case 0:{si[c[164618]&511](33901,a);d=+g[a+4>>2];break}case 1:{d=+(sda(631040)|0);break}case 2:{d=+(tda(631040)|0);break}case 3:{d=+(uda(631040)|0);break}default:d=0.0}i=a;return +d}function Taa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,j=0;j=i;i=i+16|0;c[j+4>>2]=b;if(((c[a+60>>2]|0)-(c[a+56>>2]|0)|0)==256){b=nf(16)|0;ds(b,433556,j);zc(b|0,96,27)}Xca(631040);d=c[a+20>>2]|0;if((d|0)==(c[a+24>>2]|0))Uaa(a+16|0,d+-8|0);else{h[d>>3]=+h[d+-8>>3];c[a+20>>2]=d+8}do if(!b){g=c[a+48>>2]|0;if((g|0)==(c[a+52>>2]|0)){Vaa(a+44|0,g+-136|0);break}d=g;e=g+-136|0;f=d+84|0;do{c[d>>2]=c[e>>2];d=d+4|0;e=e+4|0}while((d|0)<(f|0));d=c[g+-52>>2]|0;c[g+84>>2]=d;if(d|0)Hi[c[(c[d>>2]|0)+8>>2]&1023](d);d=c[g+-48>>2]|0;c[g+88>>2]=d;if(d|0)Hi[c[(c[d>>2]|0)+8>>2]&1023](d);c9(g+92|0,g+-44|0);c[g+104>>2]=c[g+-32>>2];c[g+104+4>>2]=c[g+-32+4>>2];c[g+104+8>>2]=c[g+-32+8>>2];c[g+104+12>>2]=c[g+-32+12>>2];c[g+104+16>>2]=c[g+-32+16>>2];c[g+104+20>>2]=c[g+-32+20>>2];c[g+104+24>>2]=c[g+-32+24>>2];c[g+104+28>>2]=c[g+-32+28>>2];c[a+48>>2]=(c[a+48>>2]|0)+136}while(0);d=c[a+60>>2]|0;if((d|0)==(c[a+64>>2]|0)){Waa(a+56|0,j+4|0);i=j;return}else{c[d>>2]=b;c[a+60>>2]=d+4;i=j;return}}function Uaa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,i=0,j=0,k=0,l=0;k=c[a>>2]|0;d=((c[a+4>>2]|0)-k>>3)+1|0;if(d>>>0>536870911)jzb(a);e=(c[a+8>>2]|0)-k|0;if(e>>3>>>0<268435455){d=e>>2>>>0>>0?d:e>>2;f=c[a+4>>2]|0;if(!d){j=0;g=0;e=f-k>>3;d=f}else{i=f;e=f-k>>3;l=6}}else{e=c[a+4>>2]|0;d=536870911;i=e;e=e-k>>3;l=6}if((l|0)==6){j=d;g=YAb(d<<3)|0;d=i}l=g+(e<<3)|0;h[l>>3]=+h[b>>3];b=d-k|0;mBb(l+(0-(b>>3)<<3)|0,k|0,b|0)|0;c[a>>2]=l+(0-(b>>3)<<3);c[a+4>>2]=l+8;c[a+8>>2]=g+(j<<3);if(!k)return;oAb(k);return}function Vaa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0;k=i;i=i+32|0;f=c[a>>2]|0;e=(((c[a+4>>2]|0)-f|0)/136|0)+1|0;if(e>>>0>31580641)jzb(a);d=((c[a+8>>2]|0)-f|0)/136|0;if(d>>>0<15790320)d=d<<1>>>0>>0?e:d<<1;else d=31580641;g=((c[a+4>>2]|0)-f|0)/136|0;c[k+12>>2]=0;c[k+16>>2]=a+8;if(!d)h=0;else h=YAb(d*136|0)|0;c[k>>2]=h;j=h+(g*136|0)|0;c[k+8>>2]=j;c[k+4>>2]=j;c[k+12>>2]=h+(d*136|0);d=j;e=b;f=d+84|0;do{c[d>>2]=c[e>>2];d=d+4|0;e=e+4|0}while((d|0)<(f|0));d=c[b+84>>2]|0;c[h+(g*136|0)+84>>2]=d;if(d|0)Hi[c[(c[d>>2]|0)+8>>2]&1023](d);d=c[b+88>>2]|0;c[h+(g*136|0)+88>>2]=d;if(d|0)Hi[c[(c[d>>2]|0)+8>>2]&1023](d);c9(h+(g*136|0)+92|0,b+92|0);h=h+(g*136|0)+104|0;c[h>>2]=c[b+104>>2];c[h+4>>2]=c[b+104+4>>2];c[h+8>>2]=c[b+104+8>>2];c[h+12>>2]=c[b+104+12>>2];c[h+16>>2]=c[b+104+16>>2];c[h+20>>2]=c[b+104+20>>2];c[h+24>>2]=c[b+104+24>>2];c[h+28>>2]=c[b+104+28>>2];c[k+8>>2]=j+136;s9(a,k);t9(k);i=k;return}function Waa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=c[a>>2]|0;d=((c[a+4>>2]|0)-j>>2)+1|0;if(d>>>0>1073741823)jzb(a);e=(c[a+8>>2]|0)-j|0;if(e>>2>>>0<536870911){d=e>>1>>>0>>0?d:e>>1;f=c[a+4>>2]|0;if(!d){i=0;g=0;e=f-j>>2;d=f}else{h=f;e=f-j>>2;k=6}}else{e=c[a+4>>2]|0;d=1073741823;h=e;e=e-j>>2;k=6}if((k|0)==6){i=d;g=YAb(d<<2)|0;d=h}k=g+(e<<2)|0;c[k>>2]=c[b>>2];b=d-j|0;mBb(k+(0-(b>>2)<<2)|0,j|0,b|0)|0;c[a>>2]=k+(0-(b>>2)<<2);c[a+4>>2]=k+4;c[a+8>>2]=g+(i<<2);if(!j)return;oAb(j);return}function Xaa(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;if((c[a+60>>2]|0)==(c[a+56>>2]|0)){a=nf(16)|0;ds(a,433609,k);zc(a|0,96,27)}Zca(631040);c[a+20>>2]=(c[a+20>>2]|0)+-8;b=c[a+60>>2]|0;if(c[b+-4>>2]|0){j=b;j=j+-4|0;c[a+60>>2]=j;i=k;return}j=c[a+44>>2]|0;K9(a,j+(((((c[a+48>>2]|0)-j|0)/136|0)+-2|0)*136|0)|0);j=c[a+48>>2]|0;h=j;do{c[a+48>>2]=h+-136;f=h+-44|0;b=c[f>>2]|0;if(b|0){g=h+-40|0;d=c[g>>2]|0;if((d|0)!=(b|0)){do{d=d+-4|0;c[g>>2]=d;e=c[d>>2]|0;if(e){Hi[c[(c[e>>2]|0)+12>>2]&1023](e);d=c[g>>2]|0}}while((d|0)!=(b|0));b=c[f>>2]|0}oAb(b)}b=c[h+-48>>2]|0;if(b|0)Hi[c[(c[b>>2]|0)+12>>2]&1023](b);b=c[h+-52>>2]|0;if(b|0)Hi[c[(c[b>>2]|0)+12>>2]&1023](b);h=c[a+48>>2]|0}while((h|0)!=(j+-136|0));j=c[a+60>>2]|0;j=j+-4|0;c[a+60>>2]=j;i=k;return}function Yaa(a,b){a=a|0;b=+b;Oua(_ca(631040)|0,b);return}function Zaa(a,b,d){a=a|0;b=+b;d=+d;Pua(_ca(631040)|0,b,d);d=2.0/(+N(+b)+ +N(+d));a=(c[a+20>>2]|0)+-8|0;h[a>>3]=+h[a>>3]*d;return}function _aa(a,b,c){a=a|0;b=+b;c=+c;Nua(_ca(631040)|0,b,c);return}function $aa(a,b,c){a=a|0;b=+b;c=+c;Qua(_ca(631040)|0,b,c);return}function aba(a){a=a|0;var b=0,d=0,e=0;c[a>>2]=23724;c[a+120>>2]=23796;b=c[a+148>>2]|0;if(b|0){oda(631040,b);c[a+148>>2]=0;wda(631040,c[a+164>>2]|0,0);c[a+164>>2]=0}c[157680]=(c[157680]|0)+-1;b=c[a+136>>2]|0;if(b|0){d=c[a+140>>2]|0;if((d|0)!=(b|0)){do{d=d+-4|0;c[a+140>>2]=d;e=c[d>>2]|0;if(e){Hi[c[(c[e>>2]|0)+12>>2]&1023](e);d=c[a+140>>2]|0}}while((d|0)!=(b|0));b=c[a+136>>2]|0}oAb(b)}b=c[a+124>>2]|0;if(!b){Cga(a+120|0);IC(a);return}d=c[a+128>>2]|0;if((d|0)!=(b|0)){do{d=d+-4|0;c[a+128>>2]=d;e=c[d>>2]|0;if(e){Hi[c[(c[e>>2]|0)+12>>2]&1023](e);d=c[a+128>>2]|0}}while((d|0)!=(b|0));b=c[a+124>>2]|0}oAb(b);Cga(a+120|0);IC(a);return}function bba(a){a=a|0;aba(a);oAb(a);return}function cba(a,b,c,d,e,f,g,h,j,k){a=a|0;b=+b;c=+c;d=+d;e=+e;f=+f;g=+g;h=+h;j=+j;k=+k;var l=0;l=i;i=i+64|0;Hua(l,b,c,d,e,f,g,h,j,k);dba(a,l,a+40|0);i=l;return}function dba(a,b,d){a=a|0;b=b|0;d=d|0;Xca(631040);Kua(_ca(631040)|0,b);Wca(631040,c[a+148>>2]|0);Uca(631040,3);Ii[c[163985]&63](0,2,5126,0,20,d);Ii[c[163985]&63](1,2,5126,0,20,d+8|0);$ca(631040);ada(631040,5,0,4);Zca(631040);return}function eba(a,b,c,d,e,f,g,h,j,k,l){a=a|0;b=b|0;c=+c;d=+d;e=+e;f=+f;g=+g;h=+h;j=+j;k=+k;l=+l;var m=0;m=i;i=i+64|0;Hua(m,c,d,e,f,g,h,j,k,l);dba(a,m,HC(b)|0);i=m;return}function fba(b,d){b=b|0;d=d|0;var e=0;e=i;i=i+16|0;if(VC(d,(a[b+157>>0]|0)!=0)|0){c[b+16>>2]=c[d>>2];c[b+16+4>>2]=c[d+4>>2];c[b+16+8>>2]=c[d+8>>2];c[b+16+12>>2]=c[d+12>>2];if(!(a[b+160>>0]|0)){d=b+148|0;d=c[d>>2]|0;Wca(631040,d);pda(631040,b+16|0);i=e;return}c[b+24>>2]=0;c[b+20>>2]=2;c[b+16>>2]=2;d=b+148|0;d=c[d>>2]|0;Wca(631040,d);pda(631040,b+16|0);i=e;return}if(!(c[d+8>>2]|0)){b=nf(16)|0;ds(b,436938,e+8|0);zc(b|0,96,27)}if(!(a[b+157>>0]|0)){b=nf(16)|0;ds(b,433692,e);zc(b|0,96,27)}else{b=nf(16)|0;ds(b,436938,e+8|0);zc(b|0,96,27)}}function gba(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;e=c[d>>2]|0;d=c[d+4>>2]|0;c[b+32>>2]=e;c[b+32+4>>2]=d;do if((a[1248844]|0)==0?1:(a[1249010]|a[1248845])<<24>>24!=0)d=1;else{g=c[b+8>>2]|0;f=g+-1+((g|0)==0&1)>>1|g+-1+((g|0)==0&1);f=((f>>2|f)>>4|(f>>2|f))>>8|((f>>2|f)>>4|(f>>2|f));if((g|0)==((f>>16|f)+1|0)){f=c[b+12>>2]|0;g=f+-1+((f|0)==0&1)>>1|f+-1+((f|0)==0&1);g=((g>>2|g)>>4|(g>>2|g))>>8|((g>>2|g)>>4|(g>>2|g));if((f|0)==((g>>16|g)+1|0)){d=1;break}}c[b+36>>2]=0;c[b+32>>2]=0;d=(e|0)==0&(d>>>0<1|(d|0)==1&e>>>0<0)}while(0);if(!(rda(631040)|0)){if((c[b+32>>2]|0)==1)c[b+32>>2]=0;if((c[b+36>>2]|0)==1)c[b+36>>2]=0}Wca(631040,c[b+148>>2]|0);qda(631040,b+32|0);return d|0}function hba(a){a=a|0;return a+148|0}function iba(b){b=b|0;var d=0,e=0.0,f=0,h=0,j=0,k=0,l=0.0;k=i;i=i+64|0;d=c[b+156>>2]|0;do if(!((d&255)<<24>>24))j=16;else{h=xD(c[c[b+136>>2]>>2]|0)|0;switch(h|0){case 1:{if((a[1248979]|a[1248981])<<24>>24)j=15;break}case 2:{if((a[1249029]|a[1248981])<<24>>24)j=15;break}case 3:{if((a[1249030]|a[1248981])<<24>>24)j=15;break}case 7:case 6:case 5:case 4:{if((a[1248912]|a[1248834]|a[1248980])<<24>>24)j=15;break}case 10:case 9:case 8:{if((a[1248911]|a[1248840])<<24>>24)j=15;break}case 14:case 13:case 12:case 11:{if((a[b+159>>0]|0?a[1248965]|0:a[1249049]|0)<<24>>24)j=15;break}case 15:{if((a[1248841]|a[1248845]|a[1248874]|a[1248993])<<24>>24)j=15;break}case 22:case 21:case 20:case 19:case 18:case 17:case 16:{if((a[1248841]|a[1248845]|a[1248874])<<24>>24)j=15;break}case 36:case 35:case 34:case 33:case 32:case 31:case 30:case 29:case 28:case 27:case 26:case 25:case 24:case 23:{if((a[1248851]|a[1248847])<<24>>24)j=15;break}default:{}}if((j|0)==15){d=c[b+156>>2]|0;if(!((d&255)<<24>>24)){j=16;break}else break}j=yD(xD(c[c[b+136>>2]>>2]|0)|0,k+40|0)|0;d=nf(16)|0;if(j){j=c[k+40>>2]|0;c[k>>2]=a[b+159>>0]|0?433742:1279070;c[k+4>>2]=j;ds(d,433748,k);zc(d|0,96,27)}else{ds(d,433826,k+8|0);zc(d|0,96,27)}}while(0);if((j|0)==16){h=d>>>24&255;if(!(h<<24>>24)){d=a[1248971]|0;f=a[1248845]|0}else{f=a[1248845]|0;d=a[1248971]|0;if(!((d|f|a[1248833]|a[1248986])<<24>>24)){b=nf(16)|0;ds(b,433887,k+16|0);zc(b|0,96,27)}}if(!(f<<24>>24!=0|h<<24>>24!=0&(a[1248844]|0)!=0&d<<24>>24!=0^1))if((c[b+128>>2]|0)-(c[b+124>>2]|0)>>2>>>0<2){a[b+157>>0]=0;c[b+24>>2]=0}}do if(!((a[1248844]|0)==0?1:(a[1249010]|a[1248845])<<24>>24!=0)){f=c[b+8>>2]|0;h=f+-1+((f|0)==0&1)>>1|f+-1+((f|0)==0&1);h=((h>>2|h)>>4|(h>>2|h))>>8|((h>>2|h)>>4|(h>>2|h));if((f|0)==((h>>16|h)+1|0)){f=c[b+12>>2]|0;h=f+-1+((f|0)==0&1)>>1|f+-1+((f|0)==0&1);h=((h>>2|h)>>4|(h>>2|h))>>8|((h>>2|h)>>4|(h>>2|h));if((f|0)==((h>>16|h)+1|0))break}a[b+157>>0]=0;c[b+24>>2]=0}while(0);if(+g[157681]==0.0&(a[1248830]|0)!=0)si[c[164618]&511](34045,630724);si[c[163965]&511](1,b+148|0);Wca(631040,c[b+148>>2]|0);si[c[(c[b>>2]|0)+32>>2]&511](b,b+16|0);Xi[c[(c[b>>2]|0)+40>>2]&511](b,b+32|0)|0;e=+g[b+152>>2];g[k+40>>2]=e;if(a[1248830]|0){l=+g[157681];g[k+32>>2]=.009999999776482582-l;h=.009999999776482582-l>e?k+32|0:k+40|0;g[k+28>>2]=l+-.009999999776482582;c[b+152>>2]=c[(l+-.009999999776482582<+g[h>>2]?k+28|0:h)>>2];Wca(631040,c[b+148>>2]|0);Li[c[164149]&31](3553,34049,-+g[b+152>>2])}h=c[b+8>>2]|0;if((h|0)<=(sda(631040)|0)){h=c[b+12>>2]|0;if((h|0)<=(sda(631040)|0)){if(!(a[b+157>>0]|0)){if((a[1248826]|a[1248845])<<24>>24){$i[c[164151]&255](3553,33085,0);if(a[b+157>>0]|0)j=37}}else j=37;if((j|0)==37)if(!(a[b+156>>0]|0))if(!((a[1248834]|a[1248844]|a[1248876])<<24>>24?1:(c[b+128>>2]|0)-(c[b+124>>2]|0)>>2>>>0>1))$i[c[164151]&255](3553,33169,1);do{}while((dj[c[164614]&7]()|0)!=0);if(!(a[b+156>>0]|0))lba(b);else jba(b);d=dj[c[164614]&7]()|0;if(d|0){b=nf(16)|0;c[k+24>>2]=xda(d)|0;ds(b,433949,k+24|0);zc(b|0,96,27)}f=c[b+164>>2]|0;if(!(a[b+156>>0]|0)){d=c[c[b+124>>2]>>2]|0;d=vi[c[(c[d>>2]|0)+20>>2]&2047](d)|0}else{d=c[c[b+136>>2]>>2]|0;d=vi[c[(c[d>>2]|0)+20>>2]&2047](d)|0}c[b+164>>2]=d;if(a[b+157>>0]|0){d=~~(+(d>>>0)*1.33334)>>>0;c[b+164>>2]=d}wda(631040,f,d);a[b+160>>0]=0;i=k;return 1}}a[b+160>>0]=1;Wca(631040,c[b+148>>2]|0);si[c[(c[b>>2]|0)+32>>2]&511](b,b+16|0);d=k+40|0;f=433933;h=d+16|0;do{a[d>>0]=a[f>>0]|0;d=d+1|0;f=f+1|0}while((d|0)<(h|0));Vi[c[164645]&15](3553,0,6408,2,2,0,6408,5121,k+40|0);i=k;return 1}function jba(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=kba(0,xD(c[c[b+136>>2]>>2]|0)|0,b+159|0)|0;if(zA()|0)if(!(a[b+159>>0]|0))a[b+158>>0]=1;if(!(a[b+157>>0]|0))d=1;else{e=c[b+136>>2]|0;d=(c[b+140>>2]|0)-e>>2;if(d>>>0<=1)d=sD(c[e>>2]|0)|0;if((d|0)<=0)return}e=0;do{k=c[b+136>>2]|0;g=(c[b+140>>2]|0)-k>>2>>>0>1;k=c[(g?k+(e<<2)|0:k)>>2]|0;g=g?0:e;j=vD(k,g)|0;i=wD(k,g)|0;h=tD(k,g)|0;g=uD(k,g)|0;Pi[c[163721]&3](3553,e,f,j,i,0,h,g);e=e+1|0}while((e|0)!=(d|0));return}function kba(b,c,d){b=b|0;c=c|0;d=d|0;a:do switch(c|0){case 1:{c=a[d>>0]|0?35916:33776;break}case 2:{c=a[d>>0]|0?35918:33778;break}case 3:{c=a[d>>0]|0?35919:33779;break}case 4:{a[d>>0]=0;c=36283;break}case 5:{a[d>>0]=0;c=36284;break}case 6:{a[d>>0]=0;c=36285;break}case 7:{a[d>>0]=0;c=36286;break}case 8:{a[d>>0]=0;c=36495;break}case 9:{a[d>>0]=0;c=36494;break}case 10:{c=a[d>>0]|0?36493:36492;break}case 11:{c=a[d>>0]|0?35412:35841;break}case 12:{c=a[d>>0]|0?35413:35840;break}case 13:{c=a[d>>0]|0?35414:35843;break}case 14:{c=a[d>>0]|0?35415:35842;break}case 15:if(!((a[1248841]|a[1248845]|a[1248874])<<24>>24)){a[d>>0]=0;c=36196;break a}else{c=a[d>>0]|0?37493:37492;break a}case 16:{c=a[d>>0]|0?37493:37492;break}case 17:{c=a[d>>0]|0?37497:37496;break}case 18:{c=a[d>>0]|0?37495:37494;break}case 19:{a[d>>0]=0;c=37488;break}case 20:{a[d>>0]=0;c=37489;break}case 21:{a[d>>0]=0;c=37490;break}case 22:{a[d>>0]=0;c=37491;break}case 23:{c=a[d>>0]|0?37840:37808;break}case 24:{c=a[d>>0]|0?37841:37809;break}case 25:{c=a[d>>0]|0?37842:37810;break}case 26:{c=a[d>>0]|0?37843:37811;break}case 27:{c=a[d>>0]|0?37844:37812;break}case 28:{c=a[d>>0]|0?37845:37813;break}case 29:{c=a[d>>0]|0?37846:37814;break}case 30:{c=a[d>>0]|0?37847:37815;break}case 31:{c=a[d>>0]|0?37848:37816;break}case 32:{c=a[d>>0]|0?37849:37817;break}case 33:{c=a[d>>0]|0?37850:37818;break}case 34:{c=a[d>>0]|0?37851:37819;break}case 35:{c=a[d>>0]|0?37852:37820;break}case 36:{c=a[d>>0]|0?37853:37821;break}default:c=a[d>>0]|0?35907:32856}while(0);return c|0}function lba(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0;j=i;i=i+16|0;e=(a[b+159>>0]|0)!=0;d=(a[1248844]|0)==0|(a[1248845]|0)!=0;h=e?35906:6408;g=d?6408:h;h=d?(e?35907:32856):h;if(!(a[b+157>>0]|0)){e=1;f=3}else{d=(c[b+128>>2]|0)-(c[b+124>>2]|0)|0;if((d|0)>0){e=d>>2;f=3}}if((f|0)==3){d=0;do{f=c[(c[b+124>>2]|0)+(d<<2)>>2]|0;QO(j,cia(f)|0);l=Xha(f)|0;k=Yha(f)|0;f=vi[c[(c[f>>2]|0)+16>>2]&2047](f)|0;Vi[c[164645]&15](3553,d,h,l,k,0,g,5121,f);SO(j);d=d+1|0}while((d|0)<(e|0))}if((c[b+128>>2]|0)-(c[b+124>>2]|0)>>2>>>0>=2){i=j;return}if(!(a[b+157>>0]|0)){i=j;return}if(a[b+156>>0]|0){i=j;return}if(!((a[1248834]|a[1248844]|a[1248876])<<24>>24)){i=j;return}if(a[631077]|0)Hi[c[163875]&1023](3553);Hi[c[164292]&1023](3553);i=j;return}function mba(a){a=a|0;var b=0;b=c[a+148>>2]|0;if(!b)return;oda(631040,b);c[a+148>>2]=0;wda(631040,c[a+164>>2]|0,0);c[a+164>>2]=0;return}function nba(a){a=a|0;aba(a+-120|0);return}function oba(a){a=a|0;aba(a+-120|0);oAb(a+-120|0);return}function pba(a){a=a|0;iba(a+-120|0)|0;return 1}function qba(a){a=a|0;var b=0;b=c[a+-120+148>>2]|0;if(!b)return;oda(631040,b);c[a+-120+148>>2]=0;wda(631040,c[a+-120+164>>2]|0,0);c[a+-120+164>>2]=0;return}function rba(){var b=0,d=0,e=0,f=0,g=0;g=i;i=i+16|0;a[630740]=0;a[630752]=0;a[630764]=0;a[630776]=0;c[157695]=0;c[157696]=0;b=a[433988]|0;if(!(b<<24>>24))d=5381;else{e=433988;d=5381;do{e=e+1|0;d=(d*33|0)+(b<<24>>24)|0;b=a[e>>0]|0}while(b<<24>>24!=0)}b=d&3;if(!(a[630732+(b*12|0)+8>>0]|0)){d=b;b=630732+(b*12|0)+8|0;f=5}else{b=d+1&3;if(!(a[630732+(b*12|0)+8>>0]|0)){d=b;b=630732+(b*12|0)+8|0;f=5}else{b=d+2&3;if(!(a[630732+(b*12|0)+8>>0]|0)){d=b;b=630732+(b*12|0)+8|0;f=5}else{b=d+3&3;if(!(a[630732+(b*12|0)+8>>0]|0)){d=b;b=630732+(b*12|0)+8|0;f=5}}}}if((f|0)==5){a[b>>0]=1;c[630732+(d*12|0)>>2]=433988;c[630732+(d*12|0)+4>>2]=0}if(0>1){c[g>>2]=433988;c[g+4>>2]=0;vpb(441068,g)|0}else c[157695]=433988;b=a[433996]|0;if(!(b<<24>>24))d=5381;else{e=433996;d=5381;do{e=e+1|0;d=(d*33|0)+(b<<24>>24)|0;b=a[e>>0]|0}while(b<<24>>24!=0)}b=d&3;if(!(a[630732+(b*12|0)+8>>0]|0)){d=b;b=630732+(b*12|0)+8|0;f=17}else{b=d+1&3;if(!(a[630732+(b*12|0)+8>>0]|0)){d=b;b=630732+(b*12|0)+8|0;f=17}else{b=d+2&3;if(!(a[630732+(b*12|0)+8>>0]|0)){d=b;b=630732+(b*12|0)+8|0;f=17}else{b=d+3&3;if(!(a[630732+(b*12|0)+8>>0]|0)){d=b;b=630732+(b*12|0)+8|0;f=17}}}}if((f|0)==17){a[b>>0]=1;c[630732+(d*12|0)>>2]=433996;c[630732+(d*12|0)+4>>2]=1}if(1>1){c[g+8>>2]=433996;c[g+8+4>>2]=1;vpb(441068,g+8|0)|0;i=g;return}else{c[157696]=433996;i=g;return}}function sba(b,e,f){b=b|0;e=e|0;f=f|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0.0,p=0.0;m=i;i=i+48|0;SC(b);Gga(b+120|0);c[b>>2]=23724;c[b+120>>2]=23796;c[b+124>>2]=0;c[b+124+4>>2]=0;c[b+124+8>>2]=0;c[b+124+12>>2]=0;c[b+124+16>>2]=0;c[b+124+20>>2]=0;c[b+124+24>>2]=0;c[b+152>>2]=c[157682];a[b+156>>0]=0;f=d[f>>0]|d[f+1>>0]<<8;a[b+157>>0]=f;a[b+157+1>>0]=f>>8;a[b+159>>0]=0;a[b+160>>0]=0;c[b+164>>2]=0;f=c[e>>2]|0;if((f|0)==(c[e+4>>2]|0)){b=nf(16)|0;ds(b,1279070,m);zc(b|0,96,27)}c[b+8>>2]=Xha(c[f>>2]|0)|0;c[b+12>>2]=Yha(c[c[e>>2]>>2]|0)|0;k=c[e+4>>2]|0;l=c[e>>2]|0;if((k-l>>2|0)==1)f=l;else{h=Xha(c[l>>2]|0)|0;f=Yha(c[c[e>>2]>>2]|0)|0;j=~~+Lnb(+(((h|0)<(f|0)?f:h)|0))+1|0;if((k-l>>2|0)!=(j|0)){b=nf(16)|0;c[m+8>>2]=j;c[m+8+4>>2]=k-l>>2;ds(b,434003,m+8|0);zc(b|0,96,27)}a:do if((k-l|0)>4){j=f;f=1;while(1){n=(h|0)/2|0;h=(n|0)<1?1:n;n=(j|0)/2|0;j=(n|0)<1?1:n;if((Xha(c[(c[e>>2]|0)+(f<<2)>>2]|0)|0)!=(h|0)){j=8;break}if((Yha(c[(c[e>>2]|0)+(f<<2)>>2]|0)|0)!=(j|0)){h=j;j=10;break}f=f+1|0;if((f|0)>=(k-l>>2|0))break a}if((j|0)==8){n=nf(16)|0;b=Xha(c[(c[e>>2]|0)+(f<<2)>>2]|0)|0;c[m+16>>2]=f+1;c[m+16+4>>2]=h;c[m+16+8>>2]=b;ds(n,434072,m+16|0);zc(n|0,96,27)}else if((j|0)==10){n=nf(16)|0;b=Yha(c[(c[e>>2]|0)+(f<<2)>>2]|0)|0;c[m+32>>2]=f+1;c[m+32+4>>2]=h;c[m+32+8>>2]=b;ds(n,434138,m+32|0);zc(n|0,96,27)}}while(0);a[b+157>>0]=1;f=c[e>>2]|0;k=c[e+4>>2]|0}if((f|0)!=(k|0)){j=f;do{h=c[j>>2]|0;c[m+44>>2]=h;if(h|0)Hi[c[(c[h>>2]|0)+8>>2]&1023](h);f=c[b+128>>2]|0;if(f>>>0<(c[b+132>>2]|0)>>>0){c[f>>2]=h;if(h){Hi[c[(c[h>>2]|0)+8>>2]&1023](h);f=c[b+128>>2]|0}c[b+128>>2]=f+4}else tba(b+124|0,m+44|0);if(h|0)Hi[c[(c[h>>2]|0)+12>>2]&1023](h);j=j+4|0}while((j|0)!=(k|0))}c[b+56>>2]=-1;c[b+76>>2]=-1;c[b+96>>2]=-1;c[b+116>>2]=-1;g[b+40>>2]=0.0;g[b+44>>2]=0.0;g[b+60>>2]=0.0;o=+(c[b+12>>2]|0);g[b+64>>2]=o;p=+(c[b+8>>2]|0);g[b+80>>2]=p;g[b+84>>2]=0.0;g[b+100>>2]=p;g[b+104>>2]=o;g[b+48>>2]=0.0;g[b+52>>2]=0.0;g[b+68>>2]=0.0;g[b+72>>2]=1.0;g[b+88>>2]=1.0;g[b+92>>2]=0.0;g[b+108>>2]=1.0;g[b+112>>2]=1.0;if(a[b+157>>0]|0)c[b+24>>2]=c[5928];if(!(zA()|0))a[b+158>>0]=0;if(zA()|0)if(!(a[b+158>>0]|0)){n=1;a[b+159>>0]=n;n=c[b>>2]|0;n=n+56|0;n=c[n>>2]|0;vi[n&2047](b)|0;n=c[157680]|0;n=n+1|0;c[157680]=n;i=m;return}n=0;a[b+159>>0]=n;n=c[b>>2]|0;n=n+56|0;n=c[n>>2]|0;vi[n&2047](b)|0;n=c[157680]|0;n=n+1|0;c[157680]=n;i=m;return}function tba(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=c[a>>2]|0;e=((c[a+4>>2]|0)-h>>2)+1|0;if(e>>>0>1073741823)jzb(a);d=(c[a+8>>2]|0)-h|0;if(d>>2>>>0<536870911){d=d>>1>>>0>>0?e:d>>1;f=c[a+4>>2]|0;if(!d){i=0;d=0;e=f-h>>2}else{g=f;e=f-h>>2;j=6}}else{e=c[a+4>>2]|0;d=1073741823;g=e;e=e-h>>2;j=6}if((j|0)==6){i=d;d=YAb(d<<2)|0;f=g}j=d+(e<<2)|0;i=d+(i<<2)|0;d=c[b>>2]|0;c[j>>2]=d;if(!d)d=f;else{Hi[c[(c[d>>2]|0)+8>>2]&1023](d);d=c[a+4>>2]|0;h=c[a>>2]|0}if((d|0)==(h|0)){e=j;g=d}else{f=d;g=j;d=j;do{f=f+-4|0;e=c[f>>2]|0;c[g+-4>>2]=e;if(e|0)Hi[c[(c[e>>2]|0)+8>>2]&1023](e);g=d+-4|0;d=g}while((f|0)!=(h|0));e=d;g=c[a>>2]|0;d=c[a+4>>2]|0}c[a>>2]=e;c[a+4>>2]=j+4;c[a+8>>2]=i;f=g;if((d|0)!=(f|0))do{d=d+-4|0;e=c[d>>2]|0;if(e|0)Hi[c[(c[e>>2]|0)+12>>2]&1023](e)}while((d|0)!=(f|0));if(!g)return;oAb(g);return}function uba(b,e,f){b=b|0;e=e|0;f=f|0;var h=0,j=0,k=0,l=0,m=0,n=0.0,o=0.0;l=i;i=i+64|0;SC(b);Gga(b+120|0);c[b>>2]=23724;c[b+120>>2]=23796;c[b+124>>2]=0;c[b+124+4>>2]=0;c[b+124+8>>2]=0;c[b+124+12>>2]=0;c[b+124+16>>2]=0;c[b+124+20>>2]=0;c[b+124+24>>2]=0;c[b+152>>2]=c[157682];a[b+156>>0]=1;h=d[f>>0]|d[f+1>>0]<<8;a[b+157>>0]=h;a[b+157+1>>0]=h>>8;a[b+159>>0]=0;a[b+160>>0]=0;c[b+164>>2]=0;c[b+8>>2]=vD(c[c[e>>2]>>2]|0,0)|0;h=wD(c[c[e>>2]>>2]|0,0)|0;c[b+12>>2]=h;j=c[e>>2]|0;k=(c[e+4>>2]|0)-j|0;do if((k>>2|0)==1){if(a[f>>0]|0){f=c[b+8>>2]|0;k=sD(c[j>>2]|0)|0;if((~~+Lnb(+(((f|0)<(h|0)?h:f)|0))+1|0)!=(k|0))if((sD(c[c[e>>2]>>2]|0)|0)==1){a[b+157>>0]=0;break}else{b=nf(16)|0;ds(b,434205,l+40|0);zc(b|0,96,27)}}}else{j=vD(c[j>>2]|0,0)|0;h=wD(c[c[e>>2]>>2]|0,0)|0;f=~~+Lnb(+(((j|0)<(h|0)?h:j)|0))+1|0;if((k>>2|0)!=(f|0)){b=nf(16)|0;c[l>>2]=f;c[l+4>>2]=k>>2;ds(b,434003,l);zc(b|0,96,27)}a:do if((k|0)>4){f=h;h=1;while(1){m=(j|0)/2|0;j=(m|0)<1?1:m;m=(f|0)/2|0;f=(m|0)<1?1:m;if((vD(c[(c[e>>2]|0)+(h<<2)>>2]|0,0)|0)!=(j|0)){f=6;break}if((wD(c[(c[e>>2]|0)+(h<<2)>>2]|0,0)|0)!=(f|0)){j=f;f=8;break}h=h+1|0;if((h|0)>=(k>>2|0))break a}if((f|0)==6){m=nf(16)|0;b=vD(c[(c[e>>2]|0)+(h<<2)>>2]|0,0)|0;c[l+8>>2]=h+1;c[l+8+4>>2]=j;c[l+8+8>>2]=b;ds(m,434072,l+8|0);zc(m|0,96,27)}else if((f|0)==8){m=nf(16)|0;b=wD(c[(c[e>>2]|0)+(h<<2)>>2]|0,0)|0;c[l+24>>2]=h+1;c[l+24+4>>2]=j;c[l+24+8>>2]=b;ds(m,434138,l+24|0);zc(m|0,96,27)}}while(0);a[b+157>>0]=1}while(0);h=c[e>>2]|0;k=c[e+4>>2]|0;b:do if((h|0)!=(k|0)){while(1){f=c[h>>2]|0;c[l+52>>2]=f;if(f|0)Hi[c[(c[f>>2]|0)+8>>2]&1023](f);j=c[b+140>>2]|0;if(j>>>0<(c[b+144>>2]|0)>>>0){c[j>>2]=f;if(f){Hi[c[(c[f>>2]|0)+8>>2]&1023](f);j=c[b+140>>2]|0}c[b+140>>2]=j+4}else vba(b+136|0,l+52|0);if(f|0)Hi[c[(c[f>>2]|0)+12>>2]&1023](f);m=xD(c[h>>2]|0)|0;h=h+4|0;if((m|0)!=(xD(c[c[b+136>>2]>>2]|0)|0))break;if((h|0)==(k|0))break b}m=nf(16)|0;ds(m,434296,l+48|0);zc(m|0,96,27)}while(0);c[b+56>>2]=-1;c[b+76>>2]=-1;c[b+96>>2]=-1;c[b+116>>2]=-1;g[b+40>>2]=0.0;g[b+44>>2]=0.0;g[b+60>>2]=0.0;n=+(c[b+12>>2]|0);g[b+64>>2]=n;o=+(c[b+8>>2]|0);g[b+80>>2]=o;g[b+84>>2]=0.0;g[b+100>>2]=o;g[b+104>>2]=n;g[b+48>>2]=0.0;g[b+52>>2]=0.0;g[b+68>>2]=0.0;g[b+72>>2]=1.0;g[b+88>>2]=1.0;g[b+92>>2]=0.0;g[b+108>>2]=1.0;g[b+112>>2]=1.0;if(a[b+157>>0]|0)c[b+24>>2]=c[5928];if(!(zA()|0))a[b+158>>0]=0;if(zA()|0)if(!(a[b+158>>0]|0)){m=1;a[b+159>>0]=m;m=c[b>>2]|0;m=m+56|0;m=c[m>>2]|0;vi[m&2047](b)|0;m=c[157680]|0;m=m+1|0;c[157680]=m;i=l;return}m=0;a[b+159>>0]=m;m=c[b>>2]|0;m=m+56|0;m=c[m>>2]|0;vi[m&2047](b)|0;m=c[157680]|0;m=m+1|0;c[157680]=m;i=l;return}function vba(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=c[a>>2]|0;e=((c[a+4>>2]|0)-h>>2)+1|0;if(e>>>0>1073741823)jzb(a);d=(c[a+8>>2]|0)-h|0;if(d>>2>>>0<536870911){d=d>>1>>>0>>0?e:d>>1;f=c[a+4>>2]|0;if(!d){i=0;d=0;e=f-h>>2}else{g=f;e=f-h>>2;j=6}}else{e=c[a+4>>2]|0;d=1073741823;g=e;e=e-h>>2;j=6}if((j|0)==6){i=d;d=YAb(d<<2)|0;f=g}j=d+(e<<2)|0;i=d+(i<<2)|0;d=c[b>>2]|0;c[j>>2]=d;if(!d)d=f;else{Hi[c[(c[d>>2]|0)+8>>2]&1023](d);d=c[a+4>>2]|0;h=c[a>>2]|0}if((d|0)==(h|0)){e=j;g=d}else{f=d;g=j;d=j;do{f=f+-4|0;e=c[f>>2]|0;c[g+-4>>2]=e;if(e|0)Hi[c[(c[e>>2]|0)+8>>2]&1023](e);g=d+-4|0;d=g}while((f|0)!=(h|0));e=d;g=c[a>>2]|0;d=c[a+4>>2]|0}c[a>>2]=e;c[a+4>>2]=j+4;c[a+8>>2]=i;f=g;if((d|0)!=(f|0))do{d=d+-4|0;e=c[d>>2]|0;if(e|0)Hi[c[(c[e>>2]|0)+12>>2]&1023](e)}while((d|0)!=(f|0));if(!g)return;oAb(g);return}function wba(b){b=b|0;return (a[b+156>>0]|0)!=0|0}function xba(b,c){b=b|0;c=c|0;do switch(b|0){case 1:{c=(a[1248979]|a[1248981])<<24>>24!=0;return c|0}case 2:{c=(a[1249029]|a[1248981])<<24>>24!=0;return c|0}case 3:{c=(a[1249030]|a[1248981])<<24>>24!=0;return c|0}case 7:case 6:case 5:case 4:{c=(a[1248912]|a[1248834]|a[1248980])<<24>>24!=0;return c|0}case 10:case 9:case 8:{c=(a[1248911]|a[1248840])<<24>>24!=0;return c|0}case 14:case 13:case 12:case 11:{c=(c?a[1248965]|0:a[1249049]|0)<<24>>24!=0;return c|0}case 15:{c=(a[1248841]|a[1248845]|a[1248874]|a[1248993])<<24>>24!=0;return c|0}case 22:case 21:case 20:case 19:case 18:case 17:case 16:{c=(a[1248841]|a[1248845]|a[1248874])<<24>>24!=0;return c|0}case 36:case 35:case 34:case 33:case 32:case 31:case 30:case 29:case 28:case 27:case 26:case 25:case 24:case 23:{c=(a[1248851]|a[1248847])<<24>>24!=0;return c|0}default:{c=0;return c|0}}while(0);return 0}function yba(b,d){b=b|0;d=+d;var e=0,f=0,h=0.0;e=i;i=i+16|0;g[e+8>>2]=d;if(!(a[1248830]|0)){i=e;return}h=+g[157681];g[e+4>>2]=.009999999776482582-h;f=.009999999776482582-h>d?e+4|0:e+8|0;g[e>>2]=h+-.009999999776482582;c[b+152>>2]=c[(h+-.009999999776482582<+g[f>>2]?e:f)>>2];Wca(631040,c[b+148>>2]|0);Li[c[164149]&31](3553,34049,-+g[b+152>>2]);i=e;return}function zba(b,d,f,g,h){b=b|0;d=d|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;j=c[b+148>>2]|0;if(!j){b=0;i=o;return b|0}if(a[b+160>>0]|0){b=0;i=o;return b|0}if((f|d|0)<0|(g|0)<1|(h|0)<1){b=nf(16)|0;ds(b,434347,o);zc(b|0,96,27)}if((g+d|0)>(c[b+8>>2]|0)){b=nf(16)|0;ds(b,434347,o);zc(b|0,96,27)}if((h+f|0)>(c[b+12>>2]|0)){b=nf(16)|0;ds(b,434347,o);zc(b|0,96,27)}Wca(631040,j);j=c[b+156>>2]|0;if((j&255)<<24>>24){jba(b);b=1;i=o;return b|0}n=j>>>0<16777216|(a[1248844]|0)==0|(a[1248845]|0)!=0?6408:35906;if((e[b+156>>1]|0)<256){m=1;k=11}else{j=(c[b+128>>2]|0)-(c[b+124>>2]|0)|0;if((j|0)>0){m=j>>2;k=11}}if((k|0)==11){l=d;j=g;k=0;while(1){g=c[(c[b+124>>2]|0)+(k<<2)>>2]|0;g=vi[c[(c[g>>2]|0)+16>>2]&2047](g)|0;d=(_(Xha(c[(c[b+124>>2]|0)+(k<<2)>>2]|0)|0,f)|0)+l|0;QO(o+4|0,cia(c[(c[b+124>>2]|0)+(k<<2)>>2]|0)|0);Vi[c[164235]&15](3553,k,l,f,j,h,n,5121,g+(d<<2)|0);d=(j|0)/2|0;j=(h|0)/2|0;SO(o+4|0);k=k+1|0;if((k|0)>=(m|0))break;else{l=(l|0)/2|0;h=(j|0)<1?1:j;j=(d|0)<1?1:d;f=(f|0)/2|0}}}if((c[b+128>>2]|0)-(c[b+124>>2]|0)>>2>>>0>=2){b=1;i=o;return b|0}if(!(a[b+157>>0]|0)){b=1;i=o;return b|0}if(a[b+156>>0]|0){b=1;i=o;return b|0}if(!((a[1248834]|a[1248844]|a[1248876])<<24>>24)){b=1;i=o;return b|0}if(a[631077]|0)Hi[c[163875]&1023](3553);Hi[c[164292]&1023](3553);b=1;i=o;return b|0}function Aba(a){a=a|0;return a+124|0}function Bba(a){a=a|0;return a+136|0}function Cba(a){a=a|0;return +(+g[a+152>>2])}function Dba(a){a=a|0;return a+157|0}function Eba(a){a=+a;g[157682]=a;return}function Fba(){return +(+g[157682])}function Gba(a){a=a|0;c[5928]=a;return}function Hba(){return c[5928]|0}function Iba(a,b){a=a|0;b=b|0;if(a>>>0>1)a=0;else{a=c[630780+(a<<2)>>2]|0;if(!a)a=0;else{c[b>>2]=a;a=1}}return a|0}function Jba(a){a=a|0;var b=0,d=0,e=0;c[a>>2]=23820;b=c[a+52>>2]|0;if(b|0)Hi[c[(c[b>>2]|0)+4>>2]&1023](b);b=c[a+68>>2]|0;if(b|0)Hi[c[(c[b>>2]|0)+4>>2]&1023](b);b=c[a+64>>2]|0;if(b|0)oAb(b);b=c[a+40>>2]|0;if(b|0)do{d=c[b+20>>2]|0;if((d|0)!=(a|0))Hi[c[(c[d>>2]|0)+12>>2]&1023](d);b=c[b>>2]|0}while((b|0)!=0);b=c[a+96>>2]|0;if(b|0)Hi[c[(c[b>>2]|0)+12>>2]&1023](b);b=c[a+40>>2]|0;if(b|0)do{d=b;b=c[b>>2]|0;Mqb(d+8|0);oAb(d)}while((b|0)!=0);b=c[a+32>>2]|0;c[a+32>>2]=0;if(b|0)oAb(b);b=c[a+20>>2]|0;if(b|0){d=c[a+24>>2]|0;if((d|0)!=(b|0))c[a+24>>2]=d+(~((d+-4-b|0)>>>2)<<2);oAb(b)}b=c[a+8>>2]|0;if(!b)return;d=c[a+12>>2]|0;if((d|0)!=(b|0)){do{e=d+-20|0;c[a+12>>2]=e;Mqb(e);d=c[a+12>>2]|0}while((d|0)!=(b|0));b=c[a+8>>2]|0}oAb(b);return}function Kba(a){a=a|0;Jba(a);oAb(a);return}function Lba(b,d,e,f,g,h,j,k,l,m){b=b|0;d=+d;e=+e;f=+f;g=+g;h=+h;j=+j;k=+k;l=+l;m=+m;var n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=i;i=i+80|0;n=c[b+40>>2]|0;if(!n){b=nf(16)|0;ds(b,434406,t);zc(b|0,96,27)}else o=0;do{p=n;if(a[p+28>>0]|0){s=Mba(c[p+20>>2]|0,c[p+24>>2]|0,p+8|0)|0;o=((s|0)>-1?1<>2]|0}while((n|0)!=0);n=o;if(!(n&1)){b=nf(16)|0;ds(b,434406,t);zc(b|0,96,27)}Uca(631040,n);n=c[b+96>>2]|0;if(!n)Wca(631040,lda(631040)|0);else Wca(631040,c[(vi[c[(c[n>>2]|0)+52>>2]&2047](n)|0)>>2]|0);Hua(t+8|0,d,e,f,g,h,j,k,l,m);Xca(631040);Kua(_ca(631040)|0,t+8|0);$ca(631040);if(a[b+72>>0]|0){s=c[b+68>>2]|0;if(s|0)if(c[b+76>>2]|0){I8(s);G8(c[b+68>>2]|0);n=c[b+76>>2]|0;c[t+4>>2]=n+-1;o=c[b+92>>2]|0;if((o|0)>-1){r=c[((n|0)<=(o|0)?t+4|0:b+92|0)>>2]|0;c[t+4>>2]=r}else r=n+-1|0;n=c[b+88>>2]|0;if((n|0)>-1)q=c[((r|0)<(n|0)?t+4|0:b+88|0)>>2]|0;else q=0;p=c[b+80>>2]|0;o=c[b+68>>2]|0;switch(p|0){case 5121:{n=1;break}case 5123:{n=2;break}case 5125:{n=4;break}default:n=0}o=L8(o,_(n,q)|0)|0;switch(c[b+84>>2]|0){case 0:{n=6;break}case 1:{n=5;break}case 3:{n=0;break}default:n=4}bda(631040,n,1-q+r|0,p,o);J8(s);Zca(631040);i=t;return}}n=c[b+56>>2]|0;c[t+4>>2]=n+-1;o=c[b+92>>2]|0;if((o|0)>-1){p=c[((n|0)<=(o|0)?t+4|0:b+92|0)>>2]|0;c[t+4>>2]=p}else p=n+-1|0;n=c[b+88>>2]|0;if((n|0)>-1)o=c[((p|0)<(n|0)?t+4|0:b+88|0)>>2]|0;else o=0;switch(c[b+84>>2]|0){case 0:{n=6;break}case 1:{n=5;break}case 3:{n=0;break}default:n=4}ada(631040,n,o,1-o+p|0);Zca(631040);i=t;return}function Mba(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+16|0;l=c[b+8>>2]|0;do if(Tea((a[e>>0]&1)==0?e+1|0:c[e+8>>2]|0,m)|0)k=c[m>>2]|0;else{f=c[157830]|0;if(!f){b=-1;i=m;return b|0}else{k=Qea(f,e)|0;break}}while(0);if((k|0)<0){b=k;i=m;return b|0}h=c[b+52>>2]|0;I8(h);G8(c[b+52>>2]|0);j=c[b+52>>2]|0;if(!d)f=0;else{e=c[b+20>>2]|0;g=0;f=0;do{f=(c[e+(g<<2)>>2]|0)+f|0;g=g+1|0}while((g|0)!=(d|0))}j=L8(j,f)|0;g=c[l+(d*20|0)+12>>2]|0;Ii[c[163985]&63](k,c[l+(d*20|0)+16>>2]|0,(g|0)==0?5121:(g|0)==1?5126:0,(g|0)==0&1,c[b+60>>2]|0,j);J8(h);b=k;i=m;return b|0}function Nba(){var b=0,d=0,e=0,f=0,g=0;g=i;i=i+16|0;a[630796]=0;a[630808]=0;a[630820]=0;a[630832]=0;a[630844]=0;a[630856]=0;c[157715]=0;c[157716]=0;c[157717]=0;Oba(630788,434470,0)|0;Oba(630788,434477,1)|0;Oba(630788,434485,2)|0;a[630880]=0;a[630892]=0;a[630904]=0;a[630916]=0;a[630928]=0;a[630940]=0;a[630952]=0;a[630964]=0;c[157742]=0;c[157743]=0;c[157744]=0;c[157745]=0;Pba(630872,434492,0)|0;Pba(630872,434496,1)|0;Pba(630872,434502,2)|0;Pba(630872,593532,3)|0;a[630992]=0;a[631004]=0;a[631016]=0;a[631028]=0;c[157758]=0;c[157759]=0;b=a[519690]|0;if(!(b<<24>>24))d=5381;else{e=519690;d=5381;do{e=e+1|0;d=(d*33|0)+(b<<24>>24)|0;b=a[e>>0]|0}while(b<<24>>24!=0)}b=d&3;if(!(a[630984+(b*12|0)+8>>0]|0)){d=b;b=630984+(b*12|0)+8|0;f=5}else{b=d+1&3;if(!(a[630984+(b*12|0)+8>>0]|0)){d=b;b=630984+(b*12|0)+8|0;f=5}else{b=d+2&3;if(!(a[630984+(b*12|0)+8>>0]|0)){d=b;b=630984+(b*12|0)+8|0;f=5}else{b=d+3&3;if(!(a[630984+(b*12|0)+8>>0]|0)){d=b;b=630984+(b*12|0)+8|0;f=5}}}}if((f|0)==5){a[b>>0]=1;c[630984+(d*12|0)>>2]=519690;c[630984+(d*12|0)+4>>2]=0}if(0>1){c[g>>2]=519690;c[g+4>>2]=0;vpb(441068,g)|0}else c[157758]=519690;b=a[435878]|0;if(!(b<<24>>24))d=5381;else{e=435878;d=5381;do{e=e+1|0;d=(d*33|0)+(b<<24>>24)|0;b=a[e>>0]|0}while(b<<24>>24!=0)}b=d&3;if(!(a[630984+(b*12|0)+8>>0]|0)){d=b;b=630984+(b*12|0)+8|0;f=17}else{b=d+1&3;if(!(a[630984+(b*12|0)+8>>0]|0)){d=b;b=630984+(b*12|0)+8|0;f=17}else{b=d+2&3;if(!(a[630984+(b*12|0)+8>>0]|0)){d=b;b=630984+(b*12|0)+8|0;f=17}else{b=d+3&3;if(!(a[630984+(b*12|0)+8>>0]|0)){d=b;b=630984+(b*12|0)+8|0;f=17}}}}if((f|0)==17){a[b>>0]=1;c[630984+(d*12|0)>>2]=435878;c[630984+(d*12|0)+4>>2]=1}if(1>1){c[g+8>>2]=435878;c[g+8+4>>2]=1;vpb(441068,g+8|0)|0;i=g;return}else{c[157759]=435878;i=g;return}}function Oba(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;f=a[d>>0]|0;if(!(f<<24>>24))g=5381;else{h=d;g=5381;do{h=h+1|0;g=(g*33|0)+(f<<24>>24)|0;f=a[h>>0]|0}while(f<<24>>24!=0)}f=(g>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+1|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+2|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+3|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+4|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+5|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else f=0}}}}}if((j|0)==5){a[f>>0]=1;c[b+(g*12|0)>>2]=d;c[b+(g*12|0)+4>>2]=e;f=1}if(e>>>0>2){c[k>>2]=d;c[k+4>>2]=e;vpb(441068,k)|0;j=0;i=k;return j|0}else{c[b+72+(e<<2)>>2]=d;j=f;i=k;return j|0}return 0}function Pba(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;f=a[d>>0]|0;if(!(f<<24>>24))g=5381;else{h=d;g=5381;do{h=h+1|0;g=(g*33|0)+(f<<24>>24)|0;f=a[h>>0]|0}while(f<<24>>24!=0)}f=g&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+1&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+2&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+3&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+4&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+5&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+6&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+7&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else f=0}}}}}}}if((j|0)==5){a[f>>0]=1;c[b+(g*12|0)>>2]=d;c[b+(g*12|0)+4>>2]=e;f=1}if(e>>>0>3){c[k>>2]=d;c[k+4>>2]=e;vpb(441068,k)|0;j=0;i=k;return j|0}else{c[b+96+(e<<2)>>2]=d;j=f;i=k;return j|0}return 0}function Qba(b,d,e,f,h,j){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;j=j|0;var k=0;k=i;i=i+16|0;Jj(b);c[b>>2]=23820;Rba(b+8|0,d);c[b+20>>2]=0;c[b+20+4>>2]=0;c[b+20+8>>2]=0;c[b+20+12>>2]=0;c[b+20+16>>2]=0;c[b+20+20>>2]=0;c[b+20+24>>2]=0;g[b+48>>2]=1.0;c[b+52>>2]=0;c[b+56>>2]=0;c[b+60>>2]=0;c[b+68>>2]=0;a[b+72>>0]=0;c[b+76>>2]=0;c[b+80>>2]=0;c[b+84>>2]=h;c[b+88>>2]=-1;c[b+92>>2]=-1;c[b+96>>2]=0;Sba(b);Yba(b);d=(f>>>0)/((c[b+60>>2]|0)>>>0)|0;c[b+56>>2]=d;c[b+80>>2]=d>>>0>65535?5125:5123;if(!d){b=nf(16)|0;ds(b,434651,k);zc(b|0,96,27)}d=YAb(40)|0;switch(j|0){case 0:{h=35040;break}case 1:{h=35048;break}case 2:{h=35044;break}default:h=0}E8(d,f,e,34962,h,1);c[b+52>>2]=d;c[b+64>>2]=_Ab(c[b+60>>2]|0)|0;i=k;return}function Rba(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;e=c[b+4>>2]|0;f=c[b>>2]|0;if((e|0)==(f|0))return;if(((e-f|0)/20|0)>>>0>214748364)jzb(a);d=YAb(e-f|0)|0;c[a+4>>2]=d;c[a>>2]=d;c[a+8>>2]=d+(((e-f|0)/20|0)*20|0);e=c[b>>2]|0;f=c[b+4>>2]|0;if((e|0)==(f|0))return;do{Hqb(d,e);h=e+12|0;g=c[h+4>>2]|0;b=d+12|0;c[b>>2]=c[h>>2];c[b+4>>2]=g;d=(c[a+4>>2]|0)+20|0;c[a+4>>2]=d;e=e+20|0}while((e|0)!=(f|0));return}function Sba(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+16|0;d=c[b+8>>2]|0;if((c[b+12>>2]|0)==(d|0)){i=h;return}e=0;while(1){f=d+(e*20|0)|0;if(Tba(b+32|0,f)|0)break;d=Uba(b+32|0,f)|0;c[d>>2]=b;c[d+4>>2]=e;a[d+8>>0]=1;a[d+9>>0]=a[h+4>>0]|0;a[d+9+1>>0]=a[h+4+1>>0]|0;a[d+9+2>>0]=a[h+4+2>>0]|0;e=e+1|0;d=c[b+8>>2]|0;if(e>>>0>=(((c[b+12>>2]|0)-d|0)/20|0)>>>0){g=3;break}}if((g|0)==3){i=h;return}b=nf(16)|0;if(!(a[f>>0]&1)){g=f+1|0;c[h>>2]=g;ds(b,434512,h);zc(b|0,96,27)}else{g=c[d+(e*20|0)+8>>2]|0;c[h>>2]=g;ds(b,434512,h);zc(b|0,96,27)}}function Tba(e,f){e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;m=a[f>>0]|0;n=(m&1)==0?f+1|0:c[f+8>>2]|0;m=(m&1)==0?(m&255)>>>1:c[f+4>>2]|0;if(m>>>0>3){g=m;h=n;f=m;while(1){o=_(d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24,1540483477)|0;f=(_(o>>>24^o,1540483477)|0)^(_(f,1540483477)|0);g=g+-4|0;if(g>>>0<=3)break;else h=h+4|0}g=m+-4-(m+-4&-4)|0;h=n+((m+-4&-4)+4)|0}else{g=m;h=n;f=m}switch(g|0){case 3:{i=d[h+2>>0]<<16^f;l=6;break}case 2:{i=f;l=6;break}case 1:{j=f;l=7;break}default:k=f}if((l|0)==6){j=d[h+1>>0]<<8^i;l=7}if((l|0)==7)k=_(d[h>>0]^j,1540483477)|0;f=_(k>>>13^k,1540483477)|0;k=c[e+4>>2]|0;if(!k){o=0;return o|0}if(!(k+-1&k))j=(f>>>15^f)&k+-1;else j=((f>>>15^f)>>>0)%(k>>>0)|0;f=c[(c[e>>2]|0)+(j<<2)>>2]|0;if(!f){o=0;return o|0}f=c[f>>2]|0;if(!f){o=0;return o|0}if(!(k+-1&k)){a:while(1){if((c[f+4>>2]&k+-1|0)!=(j|0)){f=0;l=35;break}h=f+8|0;g=b[h>>1]|0;do if((((g&1)==0?(g&254)>>>1:c[f+12>>2]|0)|0)==(m|0)){if(g&1)if(!(qmb(c[f+16>>2]|0,n,m)|0)){l=35;break a}else break;if(!m){l=35;break a}if(((g&65535)>>>8&255)<<24>>24==(a[n>>0]|0)){i=(g&254)>>>1;g=h+1|0;h=n;do{i=i+-1|0;g=g+1|0;if(!i){l=35;break a}h=h+1|0}while((a[g>>0]|0)==(a[h>>0]|0))}}while(0);f=c[f>>2]|0;if(!f){f=0;l=35;break}}if((l|0)==35)return f|0}else{b:while(1){if((((c[f+4>>2]|0)>>>0)%(k>>>0)|0|0)!=(j|0)){f=0;l=35;break}h=f+8|0;g=b[h>>1]|0;do if((((g&1)==0?(g&254)>>>1:c[f+12>>2]|0)|0)==(m|0)){if(g&1)if(!(qmb(c[f+16>>2]|0,n,m)|0)){l=35;break b}else break;if(!m){l=35;break b}if(((g&65535)>>>8&255)<<24>>24==(a[n>>0]|0)){i=(g&254)>>>1;g=h+1|0;h=n;do{i=i+-1|0;g=g+1|0;if(!i){l=35;break b}h=h+1|0}while((a[g>>0]|0)==(a[h>>0]|0))}}while(0);f=c[f>>2]|0;if(!f){f=0;l=35;break}}if((l|0)==35)return f|0}return 0}function Uba(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;d=Tba(a,b)|0;if(d|0){a=d;a=a+20|0;i=e;return a|0}d=YAb(32)|0;Hqb(d+8|0,b);c[d+20>>2]=0;c[d+20+4>>2]=0;c[d+20+8>>2]=0;Vba(e,a,d);a=c[e>>2]|0;a=a+20|0;i=e;return a|0}function Vba(e,f,h){e=e|0;f=f|0;h=h|0;var i=0,j=0,k=0.0,l=0.0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;s=a[h+8>>0]|0;t=(s&1)==0?h+8+1|0:c[h+16>>2]|0;s=(s&1)==0?(s&255)>>>1:c[h+12>>2]|0;if(s>>>0>3){m=s;n=t;i=s;while(1){u=_(d[n>>0]|d[n+1>>0]<<8|d[n+2>>0]<<16|d[n+3>>0]<<24,1540483477)|0;i=(_(u>>>24^u,1540483477)|0)^(_(i,1540483477)|0);m=m+-4|0;if(m>>>0<=3)break;else n=n+4|0}m=s+-4-(s+-4&-4)|0;n=t+((s+-4&-4)+4)|0}else{m=s;n=t;i=s}switch(m|0){case 3:{o=d[n+2>>0]<<16^i;r=6;break}case 2:{o=i;r=6;break}case 1:{p=i;r=7;break}default:q=i}if((r|0)==6){p=d[n+1>>0]<<8^o;r=7}if((r|0)==7)q=_(d[n>>0]^p,1540483477)|0;i=_(q>>>13^q,1540483477)|0;c[h+4>>2]=i>>>15^i;q=c[f+4>>2]|0;a:do if(!q)j=0;else{if(!(q+-1&q))p=(i>>>15^i)&q+-1;else p=((i>>>15^i)>>>0)%(q>>>0)|0;i=c[(c[f>>2]|0)+(p<<2)>>2]|0;if(!i)j=p;else{i=c[i>>2]|0;if(!i)j=p;else if(!(q+-1&q)){b:while(1){if((c[i+4>>2]&q+-1|0)!=(p|0)){j=p;break a}n=i+8|0;m=b[n>>1]|0;do if((((m&1)==0?(m&254)>>>1:c[i+12>>2]|0)|0)==(s|0)){if(m&1)if(!(qmb(c[i+16>>2]|0,t,s)|0)){m=0;r=49;break b}else break;if(!s){m=0;r=49;break b}if(((m&65535)>>>8&255)<<24>>24==(a[t>>0]|0)){o=(m&254)>>>1;m=n+1|0;n=t;do{o=o+-1|0;m=m+1|0;if(!o){m=0;r=49;break b}n=n+1|0}while((a[m>>0]|0)==(a[n>>0]|0))}}while(0);i=c[i>>2]|0;if(!i){j=p;break a}}if((r|0)==49){u=i;c[e>>2]=u;u=e+4|0;a[u>>0]=m;return}}else{c:while(1){if((((c[i+4>>2]|0)>>>0)%(q>>>0)|0|0)!=(p|0)){j=p;break a}n=i+8|0;m=b[n>>1]|0;do if((((m&1)==0?(m&254)>>>1:c[i+12>>2]|0)|0)==(s|0)){if(m&1)if(!(qmb(c[i+16>>2]|0,t,s)|0)){m=0;r=49;break c}else break;if(!s){m=0;r=49;break c}if(((m&65535)>>>8&255)<<24>>24==(a[t>>0]|0)){o=(m&254)>>>1;m=n+1|0;n=t;do{o=o+-1|0;m=m+1|0;if(!o){m=0;r=49;break c}n=n+1|0}while((a[m>>0]|0)==(a[n>>0]|0))}}while(0);i=c[i>>2]|0;if(!i){j=p;break a}}if((r|0)==49){u=i;c[e>>2]=u;u=e+4|0;a[u>>0]=m;return}}}}while(0);k=+(((c[f+12>>2]|0)+1|0)>>>0);l=+g[f+16>>2];do if((q|0)==0|k>+(q>>>0)*l){if(q>>>0>2)i=(q+-1&q|0)==0;else i=0;i=(i&1|q<<1)^1;j=~~+Z(+(k/l))>>>0;Wba(f,i>>>0>>0?j:i);i=c[f+4>>2]|0;j=c[h+4>>2]|0;if(!(i+-1&i)){m=i;j=i+-1&j;break}else{m=i;j=(j>>>0)%(i>>>0)|0;break}}else m=q;while(0);i=c[(c[f>>2]|0)+(j<<2)>>2]|0;if(!i){c[h>>2]=c[f+8>>2];c[f+8>>2]=h;c[(c[f>>2]|0)+(j<<2)>>2]=f+8;i=c[h>>2]|0;if(i|0){i=c[i+4>>2]|0;j=m+-1|0;if(!(j&m))i=i&j;else i=(i>>>0)%(m>>>0)|0;c[(c[f>>2]|0)+(i<<2)>>2]=h}}else{c[h>>2]=c[i>>2];c[i>>2]=h}c[f+12>>2]=(c[f+12>>2]|0)+1;f=1;u=h;c[e>>2]=u;u=e+4|0;a[u>>0]=f;return}function Wba(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if((b|0)==1)b=2;else if(b+-1&b)b=Eqb(b)|0;f=c[a+4>>2]|0;if(b>>>0>f>>>0){Xba(a,b);return}if(b>>>0>=f>>>0)return;if(f>>>0>2)e=(f+-1&f|0)==0;else e=0;d=~~+Z(+(+((c[a+12>>2]|0)>>>0)/+g[a+16>>2]))>>>0;if(e)d=1<<32-(aa(d+-1|0)|0);else d=Eqb(d)|0;b=b>>>0>>0?d:b;if(b>>>0>=f>>>0)return;Xba(a,b);return}function Xba(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;if(!e){f=c[d>>2]|0;c[d>>2]=0;if(f|0)oAb(f);c[d+4>>2]=0;return}r=YAb(e<<2)|0;f=c[d>>2]|0;c[d>>2]=r;if(f|0)oAb(f);c[d+4>>2]=e;f=0;do{c[(c[d>>2]|0)+(f<<2)>>2]=0;f=f+1|0}while((f|0)!=(e|0));h=c[d+8>>2]|0;if(!h)return;f=c[h+4>>2]|0;if(!(e+-1&e))g=f&e+-1;else g=(f>>>0)%(e>>>0)|0;c[(c[d>>2]|0)+(g<<2)>>2]=d+8;f=c[h>>2]|0;if(!f)return;else j=h;a:while(1){r=h;b:while(1){while(1){h=c[f+4>>2]|0;if(!(e+-1&e))q=h&e+-1;else q=(h>>>0)%(e>>>0)|0;if((q|0)==(g|0)){h=f;break}h=(c[d>>2]|0)+(q<<2)|0;if(!(c[h>>2]|0)){g=q;i=f;f=r;break b}h=c[f>>2]|0;c:do if(!h)h=f;else{n=f+8|0;o=b[n>>1]|0;p=(o&1)==0?(o&254)>>>1:c[f+12>>2]|0;m=f+16|0;if(!(o&1)){m=f;while(1){i=h+8|0;k=a[i>>0]|0;if((p|0)!=(((k&1)==0?(k&255)>>>1:c[h+12>>2]|0)|0)){h=m;break c}i=(k&1)==0?i+1|0:c[h+16>>2]|0;d:do if(p|0){if(((o&65535)>>>8&255)<<24>>24==(a[i>>0]|0)){k=(o&254)>>>1;l=n+1|0}else{h=m;break c}while(1){k=k+-1|0;l=l+1|0;if(!k)break d;i=i+1|0;if((a[l>>0]|0)!=(a[i>>0]|0)){h=m;break c}}}while(0);i=c[h>>2]|0;if(!i)break;else{m=h;h=i}}}else{if(!p){i=f;while(1){p=a[h+8>>0]|0;if(((p&1)==0?(p&255)>>>1:c[h+12>>2]|0)|0){h=i;break c}i=c[h>>2]|0;if(!i)break c;else{p=h;h=i;i=p}}}else l=f;while(1){i=h+8|0;k=a[i>>0]|0;if((p|0)!=(((k&1)==0?(k&255)>>>1:c[h+12>>2]|0)|0)){h=l;break c}if(qmb(c[m>>2]|0,(k&1)==0?i+1|0:c[h+16>>2]|0,p)|0){h=l;break c}i=c[h>>2]|0;if(!i)break;else{l=h;h=i}}}}while(0);c[r>>2]=c[h>>2];c[h>>2]=c[c[(c[d>>2]|0)+(q<<2)>>2]>>2];c[c[(c[d>>2]|0)+(q<<2)>>2]>>2]=f;f=c[j>>2]|0;if(!f){f=38;break a}}f=c[h>>2]|0;if(!f){f=38;break a}else{j=h;r=h}}c[h>>2]=f;f=c[i>>2]|0;if(!f){f=38;break}else{j=i;h=i}}if((f|0)==38)return}function Yba(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;h=i;i=i+16|0;b=c[a+8>>2]|0;g=c[a+12>>2]|0;if((b|0)==(g|0)){g=0;a=a+60|0;c[a>>2]=g;i=h;return}d=0;while(1){e=c[b+12>>2]|0;f=c[b+16>>2]|0;if(!e)if((f|0)==4)e=4;else{d=6;break}else{if((f+-1|0)>>>0>3){d=8;break}e=(e|0)==1?f<<2:0}c[h+12>>2]=e;f=c[a+24>>2]|0;if(f>>>0<(c[a+28>>2]|0)>>>0){c[f>>2]=e;c[a+24>>2]=f+4;e=f+4|0}else{Zx(a+20|0,h+12|0);e=c[a+24>>2]|0}d=(c[e+-4>>2]|0)+d|0;b=b+20|0;if((b|0)==(g|0)){b=d;d=3;break}}if((d|0)==3){a=a+60|0;c[a>>2]=b;i=h;return}else if((d|0)==6){a=nf(16)|0;ds(a,434548,h);zc(a|0,96,27)}else if((d|0)==8){a=nf(16)|0;ds(a,434595,h+8|0);zc(a|0,96,27)}}function Zba(a){a=a|0;switch(a|0){case 0:{a=35040;break}case 1:{a=35048;break}case 2:{a=35044;break}default:a=0}return a|0}function _ba(b,d,e,f,h){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;var j=0;j=i;i=i+16|0;Jj(b);c[b>>2]=23820;Rba(b+8|0,d);c[b+20>>2]=0;c[b+20+4>>2]=0;c[b+20+8>>2]=0;c[b+20+12>>2]=0;c[b+20+16>>2]=0;c[b+20+20>>2]=0;c[b+20+24>>2]=0;g[b+48>>2]=1.0;c[b+52>>2]=0;c[b+56>>2]=e;c[b+60>>2]=0;c[b+68>>2]=0;a[b+72>>0]=0;c[b+76>>2]=0;c[b+80>>2]=e>>>0>65535?5125:5123;c[b+84>>2]=f;c[b+88>>2]=-1;c[b+92>>2]=-1;c[b+96>>2]=0;if((e|0)<1){b=nf(16)|0;c[j>>2]=e;ds(b,434714,j);zc(b|0,96,27)}Sba(b);Yba(b);e=_(c[b+60>>2]|0,c[b+56>>2]|0)|0;d=YAb(40)|0;switch(h|0){case 0:{f=35040;break}case 1:{f=35048;break}case 2:{f=35044;break}default:f=0}E8(d,e,0,34962,f,1);c[b+52>>2]=d;I8(d);hBb(F8(c[b+52>>2]|0)|0,0,e|0)|0;h=c[b+52>>2]|0;H8(h,0,c[h+8>>2]|0);G8(c[b+52>>2]|0);c[b+64>>2]=_Ab(c[b+60>>2]|0)|0;J8(d);i=j;return}function $ba(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=i;i=i+16|0;aca(f);g=c[b>>2]|0;Qba(a,f,g,(c[b+4>>2]|0)-g|0,d,e);d=c[f>>2]|0;if(!d){i=f;return}a=c[f+4>>2]|0;if((a|0)!=(d|0)){do{g=a+-20|0;c[f+4>>2]=g;Mqb(g);a=c[f+4>>2]|0}while((a|0)!=(d|0));d=c[f>>2]|0}oAb(d);i=f;return}function aca(a){a=a|0;var b=0,d=0,e=0;b=i;i=i+64|0;c[b+60>>2]=1279070;Uea(0,b+60|0)|0;d=c[b+60>>2]|0;Iqb(b,d,rnb(d)|0);c[b+12>>2]=1;c[b+16>>2]=2;c[b+60>>2]=1279070;Uea(1,b+60|0)|0;d=c[b+60>>2]|0;Iqb(b+20|0,d,rnb(d)|0);c[b+32>>2]=1;c[b+36>>2]=2;c[b+60>>2]=1279070;Uea(2,b+60|0)|0;d=c[b+60>>2]|0;Iqb(b+40|0,d,rnb(d)|0);c[b+52>>2]=0;c[b+56>>2]=4;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;d=YAb(60)|0;c[a+4>>2]=d;c[a>>2]=d;c[a+8>>2]=d+60;Hqb(d,b);e=c[b+12+4>>2]|0;c[d+12>>2]=c[b+12>>2];c[d+12+4>>2]=e;c[a+4>>2]=d+20;Hqb(d+20|0,b+20|0);e=c[b+32+4>>2]|0;c[d+32>>2]=c[b+32>>2];c[d+32+4>>2]=e;d=c[a+4>>2]|0;c[a+4>>2]=d+20;Hqb(d+20|0,b+40|0);e=c[b+52+4>>2]|0;c[d+32>>2]=c[b+52>>2];c[d+32+4>>2]=e;c[a+4>>2]=d+40;Mqb(b+40|0);Mqb(b+20|0);Mqb(b);i=b;return}function bca(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+16|0;aca(f);_ba(a,f,b,d,e);d=c[f>>2]|0;if(!d){i=f;return}a=c[f+4>>2]|0;if((a|0)!=(d|0)){do{b=a+-20|0;c[f+4>>2]=b;Mqb(b);a=c[f+4>>2]|0}while((a|0)!=(d|0));d=c[f>>2]|0}oAb(d);i=f;return}function cca(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=i;i=i+16|0;if((c[a+56>>2]|0)>>>0>b>>>0){h=c[a+60>>2]|0;g=_(h,b)|0;e=h>>>0>>0?h:e;b=c[a+52>>2]|0;I8(b);mBb((F8(c[a+52>>2]|0)|0)+g|0,d|0,e|0)|0;H8(c[a+52>>2]|0,g,e);J8(b);i=f;return}else{h=nf(16)|0;c[f>>2]=b+1;ds(h,434747,f);zc(h|0,96,27)}}function dca(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=i;i=i+16|0;if((c[a+56>>2]|0)>>>0>b>>>0){h=c[a+60>>2]|0;e=h>>>0>>0?h:e;g=c[a+52>>2]|0;I8(g);mBb(d|0,(F8(c[a+52>>2]|0)|0)+(_(h,b)|0)|0,e|0)|0;J8(g);i=f;return e|0}else{h=nf(16)|0;c[f>>2]=b+1;ds(h,434747,f);zc(h|0,96,27)}return 0}function eca(a){a=a|0;return c[a+64>>2]|0}function fca(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0;k=i;i=i+16|0;if((c[a+56>>2]|0)>>>0<=b>>>0){a=nf(16)|0;c[k>>2]=b+1;ds(a,434747,k);zc(a|0,96,27)}if((((c[a+12>>2]|0)-(c[a+8>>2]|0)|0)/20|0|0)<=(d|0)){a=nf(16)|0;c[k+8>>2]=d+1;ds(a,434773,k+8|0);zc(a|0,96,27)}j=_(c[a+60>>2]|0,b)|0;h=c[a+20>>2]|0;if(!d)b=0;else{g=0;b=0;do{b=(c[h+(g<<2)>>2]|0)+b|0;g=g+1|0}while((g|0)!=(d|0))}j=b+j|0;d=c[h+(d<<2)>>2]|0;d=d>>>0>>0?d:f;f=c[a+52>>2]|0;I8(f);mBb((F8(c[a+52>>2]|0)|0)+j|0,e|0,d|0)|0;H8(c[a+52>>2]|0,j,d);J8(f);i=k;return}function gca(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0;l=i;i=i+16|0;if((c[a+56>>2]|0)>>>0<=b>>>0){a=nf(16)|0;c[l>>2]=b+1;ds(a,434747,l);zc(a|0,96,27)}if((((c[a+12>>2]|0)-(c[a+8>>2]|0)|0)/20|0|0)<=(d|0)){b=nf(16)|0;c[l+8>>2]=d+1;ds(b,434773,l+8|0);zc(b|0,96,27)}k=c[a+60>>2]|0;j=c[a+20>>2]|0;if(!d)g=0;else{h=0;g=0;do{g=(c[j+(h<<2)>>2]|0)+g|0;h=h+1|0}while((h|0)!=(d|0))}d=c[j+(d<<2)>>2]|0;f=d>>>0>>0?d:f;d=c[a+52>>2]|0;I8(d);mBb(e|0,(F8(c[a+52>>2]|0)|0)+(g+(_(k,b)|0))|0,f|0)|0;J8(d);i=l;return f|0}function hca(a){a=a|0;return c[a+56>>2]|0}function ica(a){a=a|0;return c[a+60>>2]|0}function jca(a){a=a|0;return a+8|0}function kca(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((b|0)>=0){e=c[a+8>>2]|0;if((((c[a+12>>2]|0)-e|0)/20|0|0)>(b|0)){a=c[e+(b*20|0)+12>>2]|0;c[d>>2]=c[e+(b*20|0)+16>>2];i=f;return a|0}}a=nf(16)|0;c[f>>2]=b+1;ds(a,434773,f);zc(a|0,96,27);return 0}function lca(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;k=c[d+8>>2]|0;j=(c[d+12>>2]|0)-k|0;if((j|0)<=0){k=-1;return k|0}h=a[e>>0]|0;i=(h&1)==0?(h&255)>>>1:c[e+4>>2]|0;h=(h&1)==0?e+1|0:c[e+8>>2]|0;d=0;a:while(1){f=k+(d*20|0)|0;e=b[f>>1]|0;do if((((e&1)==0?(e&254)>>>1:c[k+(d*20|0)+4>>2]|0)|0)==(i|0)){if(e&1)if(!(qmb(c[k+(d*20|0)+8>>2]|0,h,i)|0)){e=12;break a}else break;if(!i){e=12;break a}if(((e&65535)>>>8&255)<<24>>24==(a[h>>0]|0)){g=(e&254)>>>1;e=f+1|0;f=h;do{g=g+-1|0;e=e+1|0;if(!g){e=12;break a}f=f+1|0}while((a[e>>0]|0)==(a[f>>0]|0))}}while(0);d=d+1|0;if((d|0)>=((j|0)/20|0|0)){d=-1;e=12;break}}if((e|0)==12)return d|0;return 0}function mca(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+16|0;b=Tba(b+32|0,d)|0;if(!b){e=nf(16)|0;c[f>>2]=(a[d>>0]&1)==0?d+1|0:c[d+8>>2]|0;ds(e,434808,f);zc(e|0,96,27)}else{a[b+28>>0]=e&1;i=f;return}}function nca(b,d){b=b|0;d=d|0;var e=0;e=i;i=i+16|0;b=oca(b+32|0,d)|0;if(!b){b=nf(16)|0;c[e>>2]=(a[d>>0]&1)==0?d+1|0:c[d+8>>2]|0;ds(b,434808,e);zc(b|0,96,27)}else{i=e;return (a[b+28>>0]|0)!=0|0}return 0}function oca(e,f){e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;m=a[f>>0]|0;n=(m&1)==0?f+1|0:c[f+8>>2]|0;m=(m&1)==0?(m&255)>>>1:c[f+4>>2]|0;if(m>>>0>3){g=m;h=n;f=m;while(1){o=_(d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24,1540483477)|0;f=(_(o>>>24^o,1540483477)|0)^(_(f,1540483477)|0);g=g+-4|0;if(g>>>0<=3)break;else h=h+4|0}g=m+-4-(m+-4&-4)|0;h=n+((m+-4&-4)+4)|0}else{g=m;h=n;f=m}switch(g|0){case 3:{i=d[h+2>>0]<<16^f;l=6;break}case 2:{i=f;l=6;break}case 1:{j=f;l=7;break}default:k=f}if((l|0)==6){j=d[h+1>>0]<<8^i;l=7}if((l|0)==7)k=_(d[h>>0]^j,1540483477)|0;f=_(k>>>13^k,1540483477)|0;k=c[e+4>>2]|0;if(!k){o=0;return o|0}if(!(k+-1&k))j=(f>>>15^f)&k+-1;else j=((f>>>15^f)>>>0)%(k>>>0)|0;f=c[(c[e>>2]|0)+(j<<2)>>2]|0;if(!f){o=0;return o|0}f=c[f>>2]|0;if(!f){o=0;return o|0}if(!(k+-1&k)){a:while(1){if((c[f+4>>2]&k+-1|0)!=(j|0)){f=0;l=35;break}h=f+8|0;g=b[h>>1]|0;do if((((g&1)==0?(g&254)>>>1:c[f+12>>2]|0)|0)==(m|0)){if(g&1)if(!(qmb(c[f+16>>2]|0,n,m)|0)){l=35;break a}else break;if(!m){l=35;break a}if(((g&65535)>>>8&255)<<24>>24==(a[n>>0]|0)){i=(g&254)>>>1;g=h+1|0;h=n;do{i=i+-1|0;g=g+1|0;if(!i){l=35;break a}h=h+1|0}while((a[g>>0]|0)==(a[h>>0]|0))}}while(0);f=c[f>>2]|0;if(!f){f=0;l=35;break}}if((l|0)==35)return f|0}else{b:while(1){if((((c[f+4>>2]|0)>>>0)%(k>>>0)|0|0)!=(j|0)){f=0;l=35;break}h=f+8|0;g=b[h>>1]|0;do if((((g&1)==0?(g&254)>>>1:c[f+12>>2]|0)|0)==(m|0)){if(g&1)if(!(qmb(c[f+16>>2]|0,n,m)|0)){l=35;break b}else break;if(!m){l=35;break b}if(((g&65535)>>>8&255)<<24>>24==(a[n>>0]|0)){i=(g&254)>>>1;g=h+1|0;h=n;do{i=i+-1|0;g=g+1|0;if(!i){l=35;break b}h=h+1|0}while((a[g>>0]|0)==(a[h>>0]|0))}}while(0);f=c[f>>2]|0;if(!f){f=0;l=35;break}}if((l|0)==35)return f|0}return 0}function pca(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+16|0;a:do if((f|0)!=(d|0)){g=c[f+40>>2]|0;if(g|0){while(1){if((c[g+20>>2]|0)!=(f|0))break;g=c[g>>2]|0;if(!g)break a}e=nf(16)|0;ds(e,434867,s);zc(e|0,96,27)}}while(0);a[s+12>>0]=0;a[s+12+1>>0]=0;a[s+12+2>>0]=0;g=Tba(d+32|0,e)|0;if(!g){r=0;g=0}else{r=c[g+20>>2]|0;g=(a[g+28>>0]&1)!=0}q=(r|0)==0;p=(g|q)&1;n=c[f+8>>2]|0;o=(c[f+12>>2]|0)-n|0;b:do if((o|0)>0){m=a[e>>0]|0;l=(m&1)==0?(m&255)>>>1:c[e+4>>2]|0;m=(m&1)==0?e+1|0:c[e+8>>2]|0;c:do if(!l){g=0;while(1){m=b[n+(g*20|0)>>1]|0;if(!(((m&1)==0?(m&254)>>>1:c[n+(g*20|0)+4>>2]|0)|0))break c;g=g+1|0;if((g|0)>=((o|0)/20|0|0)){g=e+8|0;h=e+1|0;break b}}}else{g=0;while(1){j=n+(g*20|0)|0;h=b[j>>1]|0;do if((((h&1)==0?(h&254)>>>1:c[n+(g*20|0)+4>>2]|0)|0)==(l|0)){if(h&1)if(!(qmb(c[n+(g*20|0)+8>>2]|0,m,l)|0))break c;else break;if(((h&65535)>>>8&255)<<24>>24==(a[m>>0]|0)){k=(h&254)>>>1;h=j+1|0;j=m;do{k=k+-1|0;h=h+1|0;if(!k)break c;j=j+1|0}while((a[h>>0]|0)==(a[j>>0]|0))}}while(0);g=g+1|0;if((g|0)>=((o|0)/20|0|0)){g=e+8|0;h=e+1|0;break b}}}while(0);if((g|0)<0){g=e+8|0;h=e+1|0}else{if((f|0)!=(d|0))Hi[c[(c[f>>2]|0)+8>>2]&1023](f);e=Uba(d+32|0,e)|0;c[e>>2]=f;c[e+4>>2]=g;a[e+8>>0]=p;a[e+9>>0]=a[s+12>>0]|0;a[e+9+1>>0]=a[s+12+1>>0]|0;a[e+9+2>>0]=a[s+12+2>>0]|0;if(q|(r|0)==(d|0)){i=s;return}Hi[c[(c[r>>2]|0)+12>>2]&1023](r);i=s;return}}else{g=e+8|0;h=e+1|0}while(0);d=nf(16)|0;c[s+8>>2]=(a[e>>0]&1)==0?h:c[g>>2]|0;ds(d,436816,s+8|0);zc(d|0,96,27)}function qca(a){a=a|0;var b=0;b=c[a+52>>2]|0;I8(b);a=F8(c[a+52>>2]|0)|0;J8(b);return a|0}function rca(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=c[a+52>>2]|0;I8(e);H8(c[a+52>>2]|0,b,d);G8(c[a+52>>2]|0);J8(e);return}function sca(a){a=a|0;var b=0;b=c[a+52>>2]|0;I8(b);G8(c[a+52>>2]|0);J8(b);b=c[a+68>>2]|0;if(!b)return;I8(b);G8(c[a+68>>2]|0);J8(b);return}function tca(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+16|0;o=c[d+56>>2]|0;n=o>>>0>65535?5125:5123;g=_((c[e+4>>2]|0)-(c[e>>2]|0)>>2,o>>>0>65535?4:2)|0;f=c[d+68>>2]|0;if(!f)h=4;else if(g>>>0>(c[f+8>>2]|0)>>>0){Hi[c[(c[f>>2]|0)+4>>2]&1023](f);c[d+68>>2]=0;h=4}else m=f;if((h|0)==4)if(!g)m=0;else{m=YAb(40)|0;E8(m,g,0,34963,c[(c[d+52>>2]|0)+16>>2]|0,0);c[d+68>>2]=m}a[d+72>>0]=1;l=(c[e+4>>2]|0)-(c[e>>2]|0)>>2;c[d+76>>2]=l;if((m|0)==0|(l|0)==0){i=p;return}I8(m);k=c[d+68>>2]|0;l=F8(k)|0;a:do if(o>>>0>65535){g=c[e+4>>2]|0;h=c[e>>2]|0;if((g|0)!=(h|0)){f=0;while(1){j=c[h+(f<<2)>>2]|0;if(j>>>0>=o>>>0)break;c[l+(f<<2)>>2]=j;f=f+1|0;if(f>>>0>=g-h>>2>>>0)break a}d=nf(16)|0;c[p+8>>2]=(c[(c[e>>2]|0)+(f<<2)>>2]|0)+1;ds(d,434926,p+8|0);zc(d|0,96,27)}}else{g=c[e+4>>2]|0;h=c[e>>2]|0;if((g|0)!=(h|0)){f=0;while(1){j=c[h+(f<<2)>>2]|0;if(j>>>0>=o>>>0)break;b[l+(f<<1)>>1]=j;f=f+1|0;if(f>>>0>=g-h>>2>>>0)break a}d=nf(16)|0;c[p>>2]=(c[(c[e>>2]|0)+(f<<2)>>2]|0)+1;ds(d,434926,p);zc(d|0,96,27)}}while(0);c[d+80>>2]=n;G8(k);J8(m);i=p;return}function uca(b){b=b|0;a[b+72>>0]=0;return}function vca(b,d){b=b|0;d=d|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+16|0;if(!(a[b+72>>0]|0)){d=0;i=m;return d|0}j=c[d>>2]|0;f=c[d+4>>2]|0;if((f|0)!=(j|0)){c[d+4>>2]=f+(~((f+-4-j|0)>>>2)<<2);f=f+(~((f+-4-j|0)>>>2)<<2)|0}h=c[b+76>>2]|0;if((c[d+8>>2]|0)-j>>2>>>0>>0){f=f-j|0;if(!h)g=0;else g=YAb(h<<2)|0;l=g+(f>>2<<2)|0;mBb(l+(0-(f>>2)<<2)|0,j|0,f|0)|0;c[d>>2]=l+(0-(f>>2)<<2);c[d+4>>2]=l;c[d+8>>2]=g+(h<<2);if(j|0)oAb(j)}j=c[b+68>>2]|0;if(!j){d=1;i=m;return d|0}if(!(c[b+76>>2]|0)){d=1;i=m;return d|0}I8(j);k=F8(c[b+68>>2]|0)|0;l=c[b+76>>2]|0;if((c[b+80>>2]|0)==5123){if(l|0){h=0;do{f=e[k+(h<<1)>>1]|0;c[m>>2]=f;g=c[d+4>>2]|0;if(g>>>0<(c[d+8>>2]|0)>>>0){c[g>>2]=f;c[d+4>>2]=g+4}else Zx(d,m);h=h+1|0}while((h|0)!=(l|0))}}else if(l|0){h=0;do{f=c[k+(h<<2)>>2]|0;c[m>>2]=f;g=c[d+4>>2]|0;if(g>>>0<(c[d+8>>2]|0)>>>0){c[g>>2]=f;c[d+4>>2]=g+4}else Zx(d,m);h=h+1|0}while((h|0)!=(l|0))}J8(j);d=1;i=m;return d|0}function wca(a,b){a=a|0;b=b|0;var d=0;if(b|0)Hi[c[(c[b>>2]|0)+8>>2]&1023](b);d=c[a+96>>2]|0;if(!d){c[a+96>>2]=b;return}Hi[c[(c[d>>2]|0)+12>>2]&1023](d);c[a+96>>2]=b;return}function xca(a){a=a|0;var b=0;b=c[a+96>>2]|0;if(!b){c[a+96>>2]=0;return}Hi[c[(c[b>>2]|0)+12>>2]&1023](b);c[a+96>>2]=0;return}function yca(a){a=a|0;return c[a+96>>2]|0}function zca(a,b){a=a|0;b=b|0;c[a+84>>2]=b;return}function Aca(a){a=a|0;return c[a+84>>2]|0}function Bca(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;if((b|0)>(d|0)|(d|b|0)<0){a=nf(16)|0;ds(a,434955,e);zc(a|0,96,27)}else{c[a+88>>2]=b;c[a+92>>2]=d;i=e;return}}function Cca(a){a=a|0;c[a+92>>2]=-1;c[a+88>>2]=-1;return}function Dca(a,b,d){a=a|0;b=b|0;d=d|0;c[b>>2]=c[a+88>>2];c[d>>2]=c[a+92>>2];return}function Eca(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=a[b>>0]|0;if(!(e<<24>>24))f=5381;else{g=b;f=5381;do{g=g+1|0;f=(f*33|0)+(e<<24>>24)|0;e=a[g>>0]|0}while(e<<24>>24!=0)}j=0;while(1){i=((j+f|0)>>>0)%6|0;if(!(a[630788+(i*12|0)+8>>0]|0)){e=1;f=0;k=11;break}g=c[630788+(i*12|0)>>2]|0;h=a[g>>0]|0;a:do if(!(h<<24>>24)){e=b;k=8}else{e=b;while(1){l=a[e>>0]|0;if(!(l<<24>>24?h<<24>>24==l<<24>>24:0))break a;g=g+1|0;e=e+1|0;h=a[g>>0]|0;if(!(h<<24>>24)){k=8;break}}}while(0);if((k|0)==8){k=0;if(!(a[e>>0]|0)){k=9;break}}j=j+1|0;if(j>>>0>=6){e=0;f=0;k=11;break}}if((k|0)==9){c[d>>2]=c[630788+(i*12|0)+4>>2];k=1;l=1;l=k&l;return l|0}else if((k|0)==11){l=e&f;return l|0}return 0}function Fca(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=a[b>>0]|0;if(!(e<<24>>24))f=5381;else{g=b;f=5381;do{g=g+1|0;f=(f*33|0)+(e<<24>>24)|0;e=a[g>>0]|0}while(e<<24>>24!=0)}j=0;while(1){i=j+f&7;if(!(a[630872+(i*12|0)+8>>0]|0)){e=1;f=0;k=11;break}g=c[630872+(i*12|0)>>2]|0;h=a[g>>0]|0;a:do if(!(h<<24>>24)){e=b;k=8}else{e=b;while(1){l=a[e>>0]|0;if(!(l<<24>>24?h<<24>>24==l<<24>>24:0))break a;g=g+1|0;e=e+1|0;h=a[g>>0]|0;if(!(h<<24>>24)){k=8;break}}}while(0);if((k|0)==8){k=0;if(!(a[e>>0]|0)){k=9;break}}j=j+1|0;if(j>>>0>=8){e=0;f=0;k=11;break}}if((k|0)==9){c[d>>2]=c[630872+(i*12|0)+4>>2];k=1;l=1;l=k&l;return l|0}else if((k|0)==11){l=e&f;return l|0}return 0}function Gca(a,b){a=a|0;b=b|0;if(a>>>0>3)a=0;else{a=c[630968+(a<<2)>>2]|0;if(!a)a=0;else{c[b>>2]=a;a=1}}return a|0}function Hca(a,b){a=a|0;b=b|0;return Ica(630984,a,b)|0}function Ica(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=a[d>>0]|0;if(!(g<<24>>24))m=5381;else{h=d;i=g;f=5381;do{h=h+1|0;f=(f*33|0)+(i<<24>>24)|0;i=a[h>>0]|0}while(i<<24>>24!=0);m=f}f=m&3;if(!(a[b+(f*12|0)+8>>0]|0)){e=1;b=0;b=e&b;return b|0}i=c[b+(f*12|0)>>2]|0;h=a[i>>0]|0;a:do if(!(h<<24>>24)){h=g;l=8}else if(g<<24>>24?h<<24>>24==g<<24>>24:0){k=d;while(1){i=i+1|0;k=k+1|0;j=a[i>>0]|0;h=a[k>>0]|0;if(!(j<<24>>24)){l=8;break a}if(!(h<<24>>24?j<<24>>24==h<<24>>24:0)){l=10;break}}}else l=10;while(0);if((l|0)==8)if(h<<24>>24)l=10;do if((l|0)==10){f=m+1&3;if(!(a[b+(f*12|0)+8>>0]|0)){e=1;b=0;b=e&b;return b|0}i=c[b+(f*12|0)>>2]|0;h=a[i>>0]|0;b:do if(!(h<<24>>24)){h=g;l=16}else if(g<<24>>24?h<<24>>24==g<<24>>24:0){k=d;do{i=i+1|0;k=k+1|0;j=a[i>>0]|0;h=a[k>>0]|0;if(!(j<<24>>24)){l=16;break b}}while(h<<24>>24?j<<24>>24==h<<24>>24:0)}while(0);if((l|0)==16)if(!(h<<24>>24))break;f=m+2&3;if(!(a[b+(f*12|0)+8>>0]|0)){e=1;b=0;b=e&b;return b|0}i=c[b+(f*12|0)>>2]|0;h=a[i>>0]|0;c:do if(!(h<<24>>24)){h=g;l=22}else if(g<<24>>24?h<<24>>24==g<<24>>24:0){k=d;do{i=i+1|0;k=k+1|0;j=a[i>>0]|0;h=a[k>>0]|0;if(!(j<<24>>24)){l=22;break c}}while(h<<24>>24?j<<24>>24==h<<24>>24:0)}while(0);if((l|0)==22)if(!(h<<24>>24))break;f=m+3&3;if(!(a[b+(f*12|0)+8>>0]|0)){e=1;b=0;b=e&b;return b|0}h=c[b+(f*12|0)>>2]|0;i=a[h>>0]|0;d:do if(i<<24>>24){if(!(g<<24>>24?i<<24>>24==g<<24>>24:0)){e=0;b=0;b=e&b;return b|0}while(1){h=h+1|0;d=d+1|0;i=a[h>>0]|0;g=a[d>>0]|0;if(!(i<<24>>24))break d;if(!(g<<24>>24?i<<24>>24==g<<24>>24:0)){f=0;g=0;break}}b=f&g;return b|0}while(0);if(g<<24>>24){e=0;b=0;b=e&b;return b|0}}while(0);c[e>>2]=c[b+(f*12|0)+4>>2];e=1;b=1;b=e&b;return b|0}function Jca(a,b){a=a|0;b=b|0;if(a>>>0>1)a=0;else{a=c[631032+(a<<2)>>2]|0;if(!a)a=0;else{c[b>>2]=a;a=1}}return a|0}function Kca(){Lca(631040);return}function Lca(b){b=b|0;var d=0,e=0,f=0,h=0,i=0,j=0,k=0,l=0;a[b+38>>0]=0;e=b;j=e+36|0;do{c[e>>2]=0;e=e+4|0}while((e|0)<(j|0));g[b+40>>2]=1.0;c[b+44>>2]=0;c[b+48>>2]=1;c[b+52>>2]=0;c[b+56>>2]=1;c[b+60>>2]=11;hBb(b+64|0,0,192)|0;Fua(b+128|0);Fua(b+192|0);h=c[b>>2]|0;if((c[b+8>>2]|0)-h>>6>>>0<10){d=c[b+4>>2]|0;k=YAb(640)|0;l=k+(d-h>>6<<6)|0;if((d|0)==(h|0)){e=l;f=h;d=h}else{f=d;e=k+(d-h>>6<<6)|0;d=l;do{f=f+-64|0;e=e+-64|0;i=f;j=e+64|0;do{c[e>>2]=c[i>>2];e=e+4|0;i=i+4|0}while((e|0)<(j|0));e=d+-64|0;d=e}while((f|0)!=(h|0));e=d;f=c[b>>2]|0;d=c[b+4>>2]|0}c[b>>2]=e;c[b+4>>2]=l;c[b+8>>2]=k+640;e=f;if((d|0)!=(e|0))do d=d+-64|0;while((d|0)!=(e|0));if(f|0)oAb(f)}h=c[b+12>>2]|0;if((c[b+20>>2]|0)-h>>6>>>0>=2)return;d=c[b+16>>2]|0;k=YAb(128)|0;l=k+(d-h>>6<<6)|0;if((d|0)==(h|0)){e=l;f=h;d=h}else{f=d;e=k+(d-h>>6<<6)|0;d=l;do{f=f+-64|0;e=e+-64|0;i=f;j=e+64|0;do{c[e>>2]=c[i>>2];e=e+4|0;i=i+4|0}while((e|0)<(j|0));e=d+-64|0;d=e}while((f|0)!=(h|0));e=d;f=c[b+12>>2]|0;d=c[b+16>>2]|0}c[b+12>>2]=e;c[b+16>>2]=l;c[b+20>>2]=k+128;e=f;if((d|0)!=(e|0))do d=d+-64|0;while((d|0)!=(e|0));if(!f)return;oAb(f);return}function Mca(b){b=b|0;if(a[b+38>>0]|0){b=1;return b|0}if(!(Ksa(1497)|0)){b=0;return b|0}Oca(0);Pca(b);Qca(b);a[b+36>>0]=0;a[b+37>>0]=0;a[b+38>>0]=1;b=1;return b|0}function Nca(a){a=a|0;return p8a(a)|0}function Oca(b){b=b|0;if((a[1248834]|a[1248845]|a[1248876])<<24>>24)return;if((a[1248826]|0)!=0&(a[1248948]|0)!=0){c[164317]=c[165137];c[163979]=c[165138];c[163719]=c[165139];c[163747]=c[165140];c[163927]=c[165141];c[164245]=c[165143];c[163801]=c[165144];c[163840]=c[165145];c[164541]=c[165146];c[163820]=c[165148];c[163673]=c[165150];c[163821]=c[165151];c[164292]=c[165152]}do if(!(a[1248946]|0)){if(a[1249026]|0){c[163768]=c[165349];break}if(a[1249072]|0)c[163768]=c[165480]}else c[163768]=c[165134];while(0);if(a[1248947]|0){c[164341]=c[165135];return}if(a[1249038]|0){c[164341]=c[165371];return}if(a[1249027]|0){c[164341]=c[165350];return}if(!(a[1249074]|0))return;c[164341]=c[165484];return}function Pca(a){a=a|0;var b=0;b=vi[c[164183]&2047](7936)|0;if(!b){c[a+60>>2]=11;return}if(pob(b,434975)|0){c[a+60>>2]=0;return}if(pob(b,434992)|0){c[a+60>>2]=1;return}if(pob(b,434999)|0){c[a+60>>2]=2;return}if(pob(b,435005)|0){c[a+60>>2]=3;return}if(!(pob(b,435010)|0))if(!(pob(b,435025)|0)){if(pob(b,435036)|0){c[a+60>>2]=5;return}if(pob(b,435046)|0){c[a+60>>2]=6;return}if(pob(b,512337)|0){c[a+60>>2]=7;return}if(pob(b,435058)|0){c[a+60>>2]=8;return}if(pob(b,435067)|0){c[a+60>>2]=9;return}if(!(pob(b,435076)|0)){c[a+60>>2]=11;return}else{c[a+60>>2]=10;return}}c[a+60>>2]=4;return}function Qca(a){a=a|0;var b=0,d=0,e=0,f=0;f=i;i=i+128|0;d=c[a>>2]|0;b=c[a+4>>2]|0;if((b|0)!=(d|0))do{c[a+4>>2]=b+-64;b=c[a+4>>2]|0}while((b|0)!=(d|0));d=c[a+12>>2]|0;b=c[a+16>>2]|0;if((b|0)!=(d|0))do{c[a+16>>2]=b+-64;b=c[a+16>>2]|0}while((b|0)!=(d|0));Fua(f+64|0);b=c[a+4>>2]|0;if(b>>>0<(c[a+8>>2]|0)>>>0){d=f+64|0;e=b+64|0;do{c[b>>2]=c[d>>2];b=b+4|0;d=d+4|0}while((b|0)<(e|0));c[a+4>>2]=(c[a+4>>2]|0)+64}else b7(a,f+64|0);Fua(f);b=c[a+16>>2]|0;if(b>>>0<(c[a+20>>2]|0)>>>0){d=f;e=b+64|0;do{c[b>>2]=c[d>>2];b=b+4|0;d=d+4|0}while((b|0)<(e|0));c[a+16>>2]=(c[a+16>>2]|0)+64;i=f;return}else{b7(a+12|0,f);i=f;return}}function Rca(b){b=b|0;var d=0,e=0,f=0,h=0,j=0;j=i;i=i+32|0;if(!(a[b+38>>0]|0)){i=j;return}if(!(a[1248982]|0))g[b+40>>2]=1.0;else si[c[164618]&511](34047,b+40|0);si[c[164630]&511](3379,b+44|0);c[j+8>>2]=1;c[j+4>>2]=1;if(!((a[1248832]|a[1248845])<<24>>24)){d=1;e=1}else{si[c[164630]&511](36063,j+8|0);si[c[164630]&511](34852,j+4|0);d=c[j+4>>2]|0;e=c[j+8>>2]|0}c[b+48>>2]=(d|0)<(e|0)?d:e;if(!((a[1248834]|a[1248845]|a[1248876]|a[1248947]|a[1249038]|a[1249027])<<24>>24))c[b+52>>2]=0;else si[c[164630]&511](36183,b+52|0);si[c[164630]&511](35661,b+56|0);c[j+8>>2]=c[5960];c[j+8+4>>2]=c[5961];c[j+8+8>>2]=c[5962];c[j+8+12>>2]=c[5963];si[c[164327]&511](2,j+8|0);si[c[164327]&511](3,j+8|0);c[j+4>>2]=1;si[c[164630]&511](34921,j+4|0);d=pBb(1,0,c[j+4>>2]|0)|0;d=jBb(d|0,C|0,-1,0)|0;c[b+80>>2]=d;if(d|0){e=0;do{if(1<>2]=0;if(d&4|0)Qi[c[164206]&3](2,1.0,1.0,1.0,1.0)}si[c[164630]&511](2978,b+84|0);si[c[164630]&511](3088,b+100|0);c[b+104>>2]=(c[b+96>>2]|0)-(c[b+104>>2]|0)-(c[b+112>>2]|0);if(!(a[1248826]|0))g[b+116>>2]=1.0;else si[c[164618]&511](2833,b+116|0);if(!((a[1248877]|a[1248834]|a[1248949]|a[1248972])<<24>>24))d=0;else d=(vi[c[163817]&2047](36281)|0)<<24>>24==1&1;a[b+120>>0]=d;d=c[b+64>>2]|0;e=c[b+68>>2]|0;if((e|0)!=(d|0)){c[b+68>>2]=e+(~((e+-4-d|0)>>>2)<<2);e=e+(~((e+-4-d|0)>>>2)<<2)|0}f=e;h=c[b+56>>2]|0;c[j>>2]=0;if(h>>>0>f-d>>2>>>0){Sca(b+64|0,h-(f-d>>2)|0,j);e=c[b+68>>2]|0;d=c[b+64>>2]|0}else if(h>>>0>2>>>0)if((e|0)==(d+(h<<2)|0))e=f;else{e=e+(~((e+-4-(d+(h<<2))|0)>>>2)<<2)|0;c[b+68>>2]=e}else e=f;if((e-d|0)>0){d=0;do{Hi[c[164331]&1023](d+33984|0);si[c[163728]&511](3553,0);d=d+1|0}while((d|0)<((c[b+68>>2]|0)-(c[b+64>>2]|0)>>2|0))}Hi[c[164331]&1023](33984);c[b+76>>2]=0;Tca(b);Mua(b+128|0,r,r);Mua(b+192|0,r,r);if(a[1248826]|0)Hi[c[164024]&1023](5888);a[b+38>>0]=1;i=j;return}function Sca(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=c[a+8>>2]|0;g=c[a+4>>2]|0;if(e-g>>2>>>0>=b>>>0){e=b;f=g;while(1){c[f>>2]=c[d>>2];e=e+-1|0;if(!e)break;else f=f+4|0}c[a+4>>2]=g+(b<<2);return}l=c[a>>2]|0;if(((g-l>>2)+b|0)>>>0>1073741823)jzb(a);if(e-l>>2>>>0<536870911){e=e-l>>1>>>0<((g-l>>2)+b|0)>>>0?(g-l>>2)+b|0:e-l>>1;g=c[a+4>>2]|0;if(!e){j=0;e=0;f=g-l>>2;i=g}else{h=g;f=g-l>>2;k=9}}else{f=c[a+4>>2]|0;e=1073741823;h=f;f=f-l>>2;k=9}if((k|0)==9){j=e;e=YAb(e<<2)|0;i=h}h=e+(f<<2)|0;f=e+(j<<2)|0;e=b;g=h;while(1){c[g>>2]=c[d>>2];e=e+-1|0;if(!e)break;else g=g+4|0}d=i-l|0;mBb(h+(0-(d>>2)<<2)|0,l|0,d|0)|0;c[a>>2]=h+(0-(d>>2)<<2);c[a+4>>2]=h+(b<<2);c[a+8>>2]=f;if(!l)return;oAb(l);return}function Tca(a){a=a|0;var b=0,d=0,e=0,f=0;f=i;i=i+16|0;e=c[(c[a+64>>2]|0)+(c[a+76>>2]<<2)>>2]|0;si[c[163965]&511](1,a+124|0);d=c[a+124>>2]|0;b=(c[a+64>>2]|0)+(c[a+76>>2]<<2)|0;if((c[b>>2]|0)!=(d|0)){c[b>>2]=d;si[c[163728]&511](3553,d)}$i[c[164151]&255](3553,10241,9728);$i[c[164151]&255](3553,10240,9728);$i[c[164151]&255](3553,10242,10497);$i[c[164151]&255](3553,10243,10497);c[f>>2]=-1;Vi[c[164645]&15](3553,0,6408,1,1,0,6408,5121,f);b=(c[a+64>>2]|0)+(c[a+76>>2]<<2)|0;if((c[b>>2]|0)==(e|0)){i=f;return}c[b>>2]=e;si[c[163728]&511](3553,e);i=f;return}function Uca(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=c[a+80>>2]|0;if((d|0)==(b|0))return;else f=0;do{e=1<>2]=b;if(!((b&4|0)==0&((d^b)&4|0)!=0))return;Qi[c[164206]&3](2,1.0,1.0,1.0,1.0);return}function Vca(b){b=b|0;if(!(a[b+38>>0]|0))return;si[c[164200]&511](1,b+124|0);c[b+124>>2]=0;a[b+38>>0]=0;return}function Wca(a,b){a=a|0;b=b|0;a=(c[a+64>>2]|0)+(c[a+76>>2]<<2)|0;if((c[a>>2]|0)==(b|0))return;c[a>>2]=b;si[c[163728]&511](3553,b);return}function Xca(a){a=a|0;var b=0,d=0,e=0;b=c[a+4>>2]|0;if((b|0)==(c[a+8>>2]|0)){Yca(a,b+-64|0);return}else{e=b;b=b+-64|0;d=e+64|0;do{c[e>>2]=c[b>>2];e=e+4|0;b=b+4|0}while((e|0)<(d|0));c[a+4>>2]=(c[a+4>>2]|0)+64;return}}function Yca(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=c[a>>2]|0;e=((c[a+4>>2]|0)-j>>6)+1|0;if(e>>>0>67108863)jzb(a);d=(c[a+8>>2]|0)-j|0;if(d>>6>>>0<33554431){e=d>>5>>>0>>0?e:d>>5;d=c[a+4>>2]|0;if(!e){h=0;g=0;e=d-j>>6}else{f=d;d=d-j>>6;i=6}}else{d=c[a+4>>2]|0;e=67108863;f=d;d=d-j>>6;i=6}if((i|0)==6){h=e;g=YAb(e<<6)|0;e=d;d=f}i=g+(e<<6)|0;h=g+(h<<6)|0;g=i;f=g+64|0;do{c[g>>2]=c[b>>2];g=g+4|0;b=b+4|0}while((g|0)<(f|0));if((d|0)==(j|0)){e=i;b=j}else{b=i;e=i;do{d=d+-64|0;g=b+-64|0;b=d;f=g+64|0;do{c[g>>2]=c[b>>2];g=g+4|0;b=b+4|0}while((g|0)<(f|0));b=e+-64|0;e=b}while((d|0)!=(j|0));b=c[a>>2]|0;d=c[a+4>>2]|0}c[a>>2]=e;c[a+4>>2]=i+64;c[a+8>>2]=h;e=b;if((d|0)!=(e|0))do d=d+-64|0;while((d|0)!=(e|0));if(!b)return;oAb(b);return}function Zca(a){a=a|0;var b=0,d=0;b=c[a+4>>2]|0;d=b;do{c[a+4>>2]=d+-64;d=c[a+4>>2]|0}while((d|0)!=(b+-64|0));return}function _ca(a){a=a|0;return (c[a+4>>2]|0)+-64|0}function $ca(b){b=b|0;var d=0,e=0,f=0,g=0;d=c[157830]|0;if(d|0)kea(d);if(!(a[1248826]|0))return;d=(c[b+16>>2]|0)+-64|0;g=(c[b+4>>2]|0)+-64|0;f=Lua(d)|0;if(qmb(f,Lua(b+128|0)|0,64)|0){Hi[c[164024]&1023](5889);d=Lua(d)|0;Hi[c[164654]&1023](d);Hi[c[164024]&1023](5888);d=b+128|0;e=(c[b+16>>2]|0)+-64|0;f=d+64|0;do{c[d>>2]=c[e>>2];d=d+4|0;e=e+4|0}while((d|0)<(f|0))}f=Lua(g)|0;if(!(qmb(f,Lua(b+192|0)|0,64)|0))return;d=Lua(g)|0;Hi[c[164654]&1023](d);d=b+192|0;e=(c[b+4>>2]|0)+-64|0;f=d+64|0;do{c[d>>2]=c[e>>2];d=d+4|0;e=e+4|0}while((d|0)<(f|0));return}function ada(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;$i[c[163802]&255](b,d,e);c[a+28>>2]=(c[a+28>>2]|0)+1;return}function bda(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;kj[c[164129]&127](b,d,e,f);c[a+28>>2]=(c[a+28>>2]|0)+1;return}function cda(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;kj[c[164137]&127](c[b>>2]|0,c[b+4>>2]|0,c[b+8>>2]|0,c[b+12>>2]|0);c[a+84>>2]=c[b>>2];c[a+84+4>>2]=c[b+4>>2];c[a+84+8>>2]=c[b+8>>2];c[a+84+12>>2]=c[b+12>>2];b=c[a+100>>2]|0;d=c[a+104>>2]|0;e=c[a+112>>2]|0;f=c[a+108>>2]|0;if(!(c[157521]|0)){kj[c[164426]&127](b,(c[a+96>>2]|0)-(e+d)|0,f,e);return}else{kj[c[164426]&127](b,d,f,e);return}}function dda(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;d=c[b>>2]|0;e=c[b+4>>2]|0;f=c[b+12>>2]|0;g=c[b+8>>2]|0;if(!(c[157521]|0))kj[c[164426]&127](d,(c[a+96>>2]|0)-e-f|0,g,f);else kj[c[164426]&127](d,e,g,f);c[a+100>>2]=c[b>>2];c[a+100+4>>2]=c[b+4>>2];c[a+100+8>>2]=c[b+8>>2];c[a+100+12>>2]=c[b+12>>2];return}function eda(a,b){a=a|0;b=b|0;c[a>>2]=c[b+84>>2];c[a+4>>2]=c[b+84+4>>2];c[a+8>>2]=c[b+84+8>>2];c[a+12>>2]=c[b+84+12>>2];return}function fda(b,d){b=b|0;d=+d;if(a[1248826]|0)oi[c[163737]&3](d);g[b+116>>2]=d;return}function gda(a){a=a|0;return +(+g[a+116>>2])}function hda(b,d){b=b|0;d=d|0;if(d)Hi[c[163875]&1023](36281);else Hi[c[164236]&1023](36281);a[b+120>>0]=d&1;return}function ida(b){b=b|0;return (a[b+120>>0]|0)!=0|0}function jda(a,b,d){a=a|0;b=b|0;d=d|0;si[c[164245]&511](b,d);if((b|0)!=36160)return;c[a+32>>2]=(c[a+32>>2]|0)+1;return}function kda(a){a=a|0;return 0}function lda(a){a=a|0;return c[a+124>>2]|0}function mda(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;if((b|0)>=0)if((c[a+68>>2]|0)-(c[a+64>>2]|0)>>2>>>0>b>>>0){if((c[a+76>>2]|0)==(b|0)){c[a+76>>2]=b;i=d;return}Hi[c[164331]&1023](b+33984|0);c[a+76>>2]=b;i=d;return}a=nf(16)|0;c[d>>2]=b;ds(a,435084,d);zc(a|0,96,27)}function nda(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=i;i=i+16|0;if((d|0)<0){a=nf(16)|0;ds(a,435117,h);zc(a|0,96,27)}f=c[a+64>>2]|0;if((c[a+68>>2]|0)-f>>2>>>0<=d>>>0){a=nf(16)|0;ds(a,435117,h);zc(a|0,96,27)}if((c[f+(d<<2)>>2]|0)==(b|0)){i=h;return}g=c[a+76>>2]|0;if((g|0)!=(d|0)){Hi[c[164331]&1023](d+33984|0);f=c[a+64>>2]|0}c[a+76>>2]=d;c[f+(d<<2)>>2]=b;si[c[163728]&511](3553,b);if(!e){i=h;return}if((g|0)<0){a=nf(16)|0;c[h+8>>2]=g;ds(a,435084,h+8|0);zc(a|0,96,27)}if((c[a+68>>2]|0)-(c[a+64>>2]|0)>>2>>>0<=g>>>0){a=nf(16)|0;c[h+8>>2]=g;ds(a,435084,h+8|0);zc(a|0,96,27)}if((c[a+76>>2]|0)!=(g|0))Hi[c[164331]&1023](g+33984|0);c[a+76>>2]=g;i=h;return}function oda(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;c[e>>2]=b;d=c[a+64>>2]|0;a=c[a+68>>2]|0;a:do if((d|0)!=(a|0))while(1){if((c[d>>2]|0)==(b|0))c[d>>2]=0;d=d+4|0;if((d|0)==(a|0))break a;b=c[e>>2]|0}while(0);si[c[164200]&511](1,e);i=e;return}function pda(b,d){b=b|0;d=d|0;var e=0,f=0,h=0.0,i=0.0;e=c[d+8>>2]|0;f=c[d>>2]|0;if(!e)e=(f|0)==2?9728:9729;else if((e|0)==2&(f|0)==2)e=9984;else if((e|0)==1&(f|0)==2)e=9986;else if((e|0)==2&(f|0)==1)e=9985;else e=(e|0)==1&(f|0)==1?9987:9729;f=(c[d+4>>2]|0)==2?9728:9729;$i[c[164151]&255](3553,10241,e);$i[c[164151]&255](3553,10240,f);if(!(a[1248982]|0)){g[d+12>>2]=1.0;return}else{h=+g[d+12>>2];i=+g[b+40>>2];h=h<1.0?1.0:h;h=i>2]=h;Li[c[164149]&31](3553,34046,h);return}}function qda(a,b){a=a|0;b=b|0;switch(c[b>>2]|0){case 3:{a=33648;break}case 1:{a=33069;break}case 2:{a=10497;break}default:a=33071}$i[c[164151]&255](3553,10242,a);switch(c[b+4>>2]|0){case 3:{a=33648;break}case 1:{a=33069;break}case 2:{a=10497;break}default:a=33071}$i[c[164151]&255](3553,10243,a);return}function rda(b){b=b|0;return (a[1248976]|a[1248829]|a[1249094])<<24>>24!=0|0}function sda(a){a=a|0;return c[a+44>>2]|0}function tda(a){a=a|0;return c[a+48>>2]|0}function uda(a){a=a|0;return c[a+52>>2]|0}function vda(a){a=a|0;return c[a+56>>2]|0}function wda(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=c[a+24>>2]|0;b=qBb(d|0,0,b|0,0)|0;b=jBb(e|0,0,b|0,C|0)|0;d=C;b=(d|0)<0?0:b;c[a+24>>2]=b;return}function xda(b){b=b|0;var d=0,e=0,f=0;f=i;i=i+16|0;switch(b|0){case 0:{b=435254;break}case 1280:{b=435241;break}case 1281:{b=519722;break}case 1282:{b=435223;break}case 1285:{b=435209;break}case 1286:{b=435179;break}case 1287:{b=435150;break}default:{d=1248762;e=d+64|0;do{a[d>>0]=0;d=d+1|0}while((d|0)<(e|0));c[f>>2]=b;rmb(1248762,435145,f)|0;b=1248762}}i=f;return b|0}function yda(a){a=a|0;switch(a|0){case 37190:{a=435274;break}case 37191:{a=435267;break}case 37192:{a=435263;break}default:a=439634}return a|0}function zda(a){a=a|0;switch(a|0){case 33350:{a=435313;break}case 33351:{a=435306;break}case 33352:{a=435299;break}case 33353:{a=435290;break}case 33354:{a=435285;break}case 33355:{a=435279;break}default:a=439634}return a|0}function Ada(a){a=a|0;switch(a|0){case 33356:{a=517434;break}case 33357:{a=435360;break}case 33358:{a=435341;break}case 33360:{a=435329;break}case 33359:{a=435317;break}case 33361:{a=435279;break}default:a=439634}return a|0}function Bda(a){a=a|0;var b=0;c[a>>2]=23864;b=c[a+228>>2]|0;if(b|0)aBb(b);S8(a+232|0);WA(a);return}function Cda(a){a=a|0;var b=0;c[a>>2]=23864;b=c[a+228>>2]|0;if(b|0)aBb(b);S8(a+232|0);WA(a);oAb(a);return}function Dda(b,d,e,f,h,j,k,l,m,n){b=b|0;d=+d;e=+e;f=+f;h=+h;j=+j;k=+k;l=+l;m=+m;n=+n;var o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;y=i;i=i+112|0;x=oC(b)|0;if(!x){i=y;return}if(!(c[b+24>>2]|0)){i=y;return}if(!(c[b+8>>2]|0)){i=y;return}if(!(c[b+228>>2]|0)){i=y;return}Xca(631040);r=_ca(631040)|0;Hua(y,d,e,f,h,j,k,l,m,n);Kua(r,y);r=c[b+24>>2]|0;r=vi[c[(c[r>>2]|0)+48>>2]&2047](r)|0;o=c[b+228>>2]|0;p=c[b+16>>2]|0;q=(c[b+212>>2]|0)==(c[b+216>>2]|0);Sua(y+64|0);a:do if(p|0){s=y+64+12|0;t=y+64+24|0;u=y+64+4|0;v=y+64+16|0;w=y+64+28|0;if(!q)while(1){B=HC(c[(c[b+212>>2]|0)+(c[p+104>>2]<<2)>>2]|0)|0;e=+g[p+60>>2];Vua(y+64|0,+g[p+16>>2],+g[p+20>>2],+g[p+76>>2],e,e,+g[b+188>>2],+g[b+192>>2],0.0,0.0);e=+g[B>>2];d=+g[B+4>>2];j=+g[w>>2]+(e*+g[u>>2]+d*+g[v>>2]);g[o>>2]=+g[t>>2]+(+g[y+64>>2]*e+ +g[s>>2]*d);g[o+4>>2]=j;j=+g[B+20>>2];d=+g[B+24>>2];e=+g[w>>2]+(j*+g[u>>2]+d*+g[v>>2]);g[o+20>>2]=+g[t>>2]+(+g[y+64>>2]*j+ +g[s>>2]*d);g[o+24>>2]=e;e=+g[B+40>>2];d=+g[B+44>>2];j=+g[w>>2]+(e*+g[u>>2]+d*+g[v>>2]);g[o+40>>2]=+g[t>>2]+(+g[y+64>>2]*e+ +g[s>>2]*d);g[o+44>>2]=j;j=+g[B+60>>2];d=+g[B+64>>2];e=+g[w>>2]+(j*+g[u>>2]+d*+g[v>>2]);g[o+60>>2]=+g[t>>2]+(+g[y+64>>2]*j+ +g[s>>2]*d);g[o+64>>2]=e;A=~~(+g[p+88>>2]*255.0)&255;z=~~(+g[p+92>>2]*255.0)&255;q=~~(+g[p+96>>2]*255.0)&255;r=~~(+g[p+100>>2]*255.0)&255;c[o+8>>2]=c[B+8>>2];c[o+12>>2]=c[B+12>>2];a[o+16>>0]=A;a[o+17>>0]=z;a[o+18>>0]=q;a[o+19>>0]=r;c[o+28>>2]=c[B+28>>2];c[o+32>>2]=c[B+32>>2];a[o+36>>0]=A;a[o+37>>0]=z;a[o+38>>0]=q;a[o+39>>0]=r;c[o+48>>2]=c[B+48>>2];c[o+52>>2]=c[B+52>>2];a[o+56>>0]=A;a[o+57>>0]=z;a[o+58>>0]=q;a[o+59>>0]=r;c[o+68>>2]=c[B+68>>2];c[o+72>>2]=c[B+72>>2];a[o+76>>0]=A;a[o+77>>0]=z;a[o+78>>0]=q;a[o+79>>0]=r;p=c[p+4>>2]|0;if(!p)break a;else o=o+80|0}while(1){e=+g[p+60>>2];Vua(y+64|0,+g[p+16>>2],+g[p+20>>2],+g[p+76>>2],e,e,+g[b+188>>2],+g[b+192>>2],0.0,0.0);e=+g[r>>2];d=+g[r+4>>2];j=+g[w>>2]+(e*+g[u>>2]+d*+g[v>>2]);g[o>>2]=+g[t>>2]+(+g[y+64>>2]*e+ +g[s>>2]*d);g[o+4>>2]=j;j=+g[r+20>>2];d=+g[r+24>>2];e=+g[w>>2]+(j*+g[u>>2]+d*+g[v>>2]);g[o+20>>2]=+g[t>>2]+(+g[y+64>>2]*j+ +g[s>>2]*d);g[o+24>>2]=e;e=+g[r+40>>2];d=+g[r+44>>2];j=+g[w>>2]+(e*+g[u>>2]+d*+g[v>>2]);g[o+40>>2]=+g[t>>2]+(+g[y+64>>2]*e+ +g[s>>2]*d);g[o+44>>2]=j;j=+g[r+60>>2];d=+g[r+64>>2];e=+g[w>>2]+(j*+g[u>>2]+d*+g[v>>2]);g[o+60>>2]=+g[t>>2]+(+g[y+64>>2]*j+ +g[s>>2]*d);g[o+64>>2]=e;q=~~(+g[p+88>>2]*255.0)&255;z=~~(+g[p+92>>2]*255.0)&255;A=~~(+g[p+96>>2]*255.0)&255;B=~~(+g[p+100>>2]*255.0)&255;c[o+8>>2]=c[r+8>>2];c[o+12>>2]=c[r+12>>2];a[o+16>>0]=q;a[o+17>>0]=z;a[o+18>>0]=A;a[o+19>>0]=B;c[o+28>>2]=c[r+28>>2];c[o+32>>2]=c[r+32>>2];a[o+36>>0]=q;a[o+37>>0]=z;a[o+38>>0]=A;a[o+39>>0]=B;c[o+48>>2]=c[r+48>>2];c[o+52>>2]=c[r+52>>2];a[o+56>>0]=q;a[o+57>>0]=z;a[o+58>>0]=A;a[o+59>>0]=B;c[o+68>>2]=c[r+68>>2];c[o+72>>2]=c[r+72>>2];a[o+76>>0]=q;a[o+77>>0]=z;a[o+78>>0]=A;a[o+79>>0]=B;p=c[p+4>>2]|0;if(!p)break;else o=o+80|0}}while(0);A=c[b+24>>2]|0;Wca(631040,c[(vi[c[(c[A>>2]|0)+52>>2]&2047](A)|0)>>2]|0);$ca(631040);Uca(631040,7);Ii[c[163985]&63](2,4,5121,1,20,(c[b+228>>2]|0)+16|0);Ii[c[163985]&63](0,2,5126,0,20,c[b+228>>2]|0);Ii[c[163985]&63](1,2,5126,0,20,(c[b+228>>2]|0)+8|0);A=U8(b+232|0,x)|0;B=P8(b+232|0,c[157675]|0)|0;bda(631040,4,A,B,Y8(b+232|0,0)|0);Zca(631040);i=y;return}function Eda(a){a=a|0;var b=0;b=YAb(236)|0;eB(b,a);c[b>>2]=23864;c[b+228>>2]=0;Q8(b+232|0,a+232|0);Fda(b,c[b+36>>2]|0);return b|0}function Fda(a,b){a=a|0;b=b|0;var d=0;b=_Ab(b<<2>>>0>214748364?-1:(b<<2)*20|0)|0;d=c[a+228>>2]|0;if(!d){c[a+228>>2]=b;return}aBb(d);c[a+228>>2]=b;return}function Gda(a,b){a=a|0;b=b|0;var c=0;c=i;i=i+16|0;YA(a,b);M8(c,b);R8(a+232|0,c)|0;S8(c);Fda(a,b);i=c;return}function Hda(a,b,d){a=a|0;b=b|0;d=d|0;bB(a,b,d);c[a>>2]=23864;c[a+228>>2]=0;M8(a+232|0,d);Fda(a,d);return}function Ida(a){a=a|0;c[a>>2]=23900;a=c[a+4>>2]|0;if(!a)return;aBb(a);return}function Jda(a){a=a|0;var b=0;c[a>>2]=23900;b=c[a+4>>2]|0;if(!b){oAb(a);return}aBb(b);oAb(a);return}function Kda(a,b){a=a|0;b=b|0;c[a+16>>2]=(c[a+12>>2]<<1)+(b?0:2);return}function Lda(a,b,d,e){a=a|0;b=b|0;d=+d;e=e|0;var f=0,h=0,i=0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0,p=0,q=0;f=c[a+12>>2]|0;if(f>>>0>1){h=1;i=0;do{p=(c[a+4>>2]|0)+(i<<3)|0;o=c[p+4>>2]|0;f=(c[a+8>>2]|0)+(i<<3)|0;c[f>>2]=c[p>>2];c[f+4>>2]=o;f=c[a+8>>2]|0;o=c[a+4>>2]|0;p=c[b>>2]|0;l=+g[p+(i<<3)>>2];n=+g[p+(i<<3)+4>>2];m=d/+O(+(l*l+n*n));n=+g[o+(i<<3)+4>>2]+n*m;g[f+(h<<3)>>2]=+g[o+(i<<3)>>2]+l*m;g[f+(h<<3)+4>>2]=n;i=i+2|0;h=i|1;f=c[a+12>>2]|0}while(h>>>0>>0);if(f>>>0>1){h=0;do{o=f-h+-1|0;i=(c[a+4>>2]|0)+(o<<3)|0;p=c[i+4>>2]|0;f=(c[a+8>>2]|0)+(f+h<<3)|0;c[f>>2]=c[i>>2];c[f+4>>2]=p;f=(h|1)+(c[a+12>>2]|0)|0;p=c[a+8>>2]|0;i=c[a+4>>2]|0;q=c[b>>2]|0;n=+g[q+(h<<3)>>2];m=+g[q+(h<<3)+4>>2];m=d/+O(+(n*n+m*m));n=m*+g[q+(o<<3)+4>>2]+ +g[i+(o<<3)+4>>2];g[p+(f<<3)>>2]=+g[q+(o<<3)>>2]*m+ +g[i+(o<<3)>>2];g[p+(f<<3)+4>>2]=n;h=h+2|0;f=c[a+12>>2]|0}while((h|1)>>>0>>0)}}if(e)return;b=c[a+8>>2]|0;m=+g[b+8>>2];j=m-+g[b+24>>2];n=+g[b+12>>2];k=n-+g[b+28>>2];l=+O(+(j*j+k*k));if(l>0.0){j=j*(d/l);k=k*(d/l)}g[b+8>>2]=j+m;g[b+12>>2]=k+n;i=c[a+16>>2]|0;g[b+(i+-3<<3)>>2]=j+ +g[b+(i+-3<<3)>>2];g[b+(i+-3<<3)+4>>2]=k+ +g[b+(i+-3<<3)+4>>2];h=f+-1|0;q=f+-3|0;m=+g[b+(h<<3)>>2];k=m-+g[b+(q<<3)>>2];n=+g[b+(h<<3)+4>>2];j=n-+g[b+(q<<3)+4>>2];l=+O(+(k*k+j*j));if(l>0.0){k=k*(d/l);j=j*(d/l)}g[b+(h<<3)>>2]=k+m;g[b+(h<<3)+4>>2]=j+n;o=f+1|0;g[b+(o<<3)>>2]=k+ +g[b+(o<<3)>>2];g[b+(o<<3)+4>>2]=j+ +g[b+(o<<3)+4>>2];o=c[b+4>>2]|0;c[b+(i+-2<<3)>>2]=c[b>>2];c[b+(i+-2<<3)+4>>2]=o;o=c[a+8>>2]|0;p=c[o+8+4>>2]|0;q=o+((c[a+16>>2]|0)+-1<<3)|0;c[q>>2]=c[o+8>>2];c[q+4>>2]=p;return}function Mda(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;if(!(c[b+16>>2]|0))return;else e=0;do{f=d+(e<<2)|0;e=e+1|0;g=0-(e&1)<<24|16777215;a[f>>0]=g;a[f+1>>0]=g>>8;a[f+2>>0]=g>>16;a[f+3>>0]=g>>24}while(e>>>0<(c[b+16>>2]|0)>>>0);return}function Nda(a){a=a|0;var b=0;c[a>>2]=23900;b=c[a+4>>2]|0;if(!b){oAb(a);return}aBb(b);oAb(a);return}function Oda(a,b){a=a|0;b=b|0;c[a+16>>2]=(c[a+12>>2]<<2)+-8;return}function Pda(a,b,d,e){a=a|0;b=b|0;d=+d;e=e|0;var f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0,m=0,n=0,o=0,p=0;if((c[a+12>>2]|0)>>>0<=5)return;b=5;m=2;while(1){l=c[a+4>>2]|0;k=+g[l+(m<<3)>>2];h=k-+g[l+(b<<3)>>2];f=+g[l+(m<<3)+4>>2];i=f-+g[l+(b<<3)+4>>2];e=m|1;k=k-+g[l+(e<<3)>>2];f=f-+g[l+(e<<3)+4>>2];j=+O(+(h*h+i*i));if(j>0.0){h=h*(d/j);i=i*(d/j)}j=+O(+(k*k+f*f));if(j>0.0){k=k*(d/j);f=f*(d/j)}o=m<<2;p=l+(m<<3)|0;l=c[p+4>>2]|0;n=(c[a+8>>2]|0)+(o+-8<<3)|0;c[n>>2]=c[p>>2];c[n+4>>2]=l;n=c[a+8>>2]|0;l=c[a+4>>2]|0;j=f+(i+ +g[l+(m<<3)+4>>2]);g[n+(o+-7<<3)>>2]=k+(h+ +g[l+(m<<3)>>2]);g[n+(o+-7<<3)+4>>2]=j;n=c[a+8>>2]|0;l=c[a+4>>2]|0;j=i+ +g[l+(e<<3)+4>>2]-f;g[n+(o+-6<<3)>>2]=h+ +g[l+(e<<3)>>2]-k;g[n+(o+-6<<3)+4>>2]=j;n=(c[a+4>>2]|0)+(e<<3)|0;l=c[n+4>>2]|0;p=(c[a+8>>2]|0)+(o+-5<<3)|0;c[p>>2]=c[n>>2];c[p+4>>2]=l;p=(c[a+4>>2]|0)+(e<<3)|0;l=c[p+4>>2]|0;n=(c[a+8>>2]|0)+(o+-4<<3)|0;c[n>>2]=c[p>>2];c[n+4>>2]=l;n=c[a+8>>2]|0;l=c[a+4>>2]|0;j=i+ +g[l+(e<<3)+4>>2]-f;g[n+(o+-3<<3)>>2]=h+ +g[l+(e<<3)>>2]-k;g[n+(o+-3<<3)+4>>2]=j;n=c[a+8>>2]|0;e=m+2|0;l=c[a+4>>2]|0;j=+g[l+(e<<3)+4>>2]-i-f;g[n+(o+-2<<3)>>2]=+g[l+(e<<3)>>2]-h-k;g[n+(o+-2<<3)+4>>2]=j;n=(c[a+4>>2]|0)+(e<<3)|0;l=c[n+4>>2]|0;p=(c[a+8>>2]|0)+(o+-1<<3)|0;c[p>>2]=c[n>>2];c[p+4>>2]=l;p=(c[a+4>>2]|0)+(e<<3)|0;l=c[p+4>>2]|0;n=(c[a+8>>2]|0)+(o<<3)|0;c[n>>2]=c[p>>2];c[n+4>>2]=l;n=c[a+8>>2]|0;l=c[a+4>>2]|0;j=+g[l+(e<<3)+4>>2]-i-f;g[n+((o|1)<<3)>>2]=+g[l+(e<<3)>>2]-h-k;g[n+((o|1)<<3)+4>>2]=j;n=c[a+8>>2]|0;e=c[a+4>>2]|0;j=f+(+g[e+(b<<3)+4>>2]-i);g[n+((o|2)<<3)>>2]=k+(+g[e+(b<<3)>>2]-h);g[n+((o|2)<<3)+4>>2]=j;n=(c[a+4>>2]|0)+(b<<3)|0;e=c[n+4>>2]|0;l=(c[a+8>>2]|0)+((o|3)<<3)|0;c[l>>2]=c[n>>2];c[l+4>>2]=e;l=(c[a+4>>2]|0)+(b<<3)|0;e=c[l+4>>2]|0;n=(c[a+8>>2]|0)+((o|4)<<3)|0;c[n>>2]=c[l>>2];c[n+4>>2]=e;n=c[a+8>>2]|0;e=c[a+4>>2]|0;j=f+(+g[e+(b<<3)+4>>2]-i);g[n+((o|5)<<3)>>2]=k+(+g[e+(b<<3)>>2]-h);g[n+((o|5)<<3)+4>>2]=j;n=c[a+8>>2]|0;e=c[a+4>>2]|0;j=f+(i+ +g[e+(m<<3)+4>>2]);g[n+((o|6)<<3)>>2]=k+(h+ +g[e+(m<<3)>>2]);g[n+((o|6)<<3)+4>>2]=j;n=(c[a+4>>2]|0)+(m<<3)|0;e=c[n+4>>2]|0;l=(c[a+8>>2]|0)+((o|7)<<3)|0;c[l>>2]=c[n>>2];c[l+4>>2]=e;b=m+7|0;if(b>>>0>=(c[a+12>>2]|0)>>>0)break;else m=m+4|0}return}function Qda(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;if(!(c[b+16>>2]|0))return;else e=0;do{f=d+(e<<2)|0;e=e+1|0;g=(e&2)>>>0<2?-1:16777215;a[f>>0]=g;a[f+1>>0]=g>>8;a[f+2>>0]=g>>16;a[f+3>>0]=g>>24}while(e>>>0<(c[b+16>>2]|0)>>>0);return}function Rda(a,b,d,e,f,h,j,k,l){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;j=j|0;k=k|0;l=+l;var m=0,n=0,o=0,p=0.0,q=0.0;m=i;i=i+16|0;a=c[b+4>>2]|0;if((a|0)==(c[b+8>>2]|0)){mk(b,j);a=c[b+4>>2]|0}else{n=c[j+4>>2]|0;c[a>>2]=c[j>>2];c[a+4>>2]=n;a=(c[b+4>>2]|0)+8|0;c[b+4>>2]=a}if((a|0)==(c[b+8>>2]|0))mk(b,j);else{o=c[j+4>>2]|0;n=a;c[n>>2]=c[j>>2];c[n+4>>2]=o;c[b+4>>2]=(c[b+4>>2]|0)+8}a=c[d+4>>2]|0;if((a|0)==(c[d+8>>2]|0)){mk(d,h);a=c[d+4>>2]|0}else{o=c[h+4>>2]|0;c[a>>2]=c[h>>2];c[a+4>>2]=o;a=(c[d+4>>2]|0)+8|0;c[d+4>>2]=a}p=-+g[h+4>>2];g[m+8>>2]=-+g[h>>2];g[m+8+4>>2]=p;if(a>>>0<(c[d+8>>2]|0)>>>0){n=c[m+8+4>>2]|0;o=a;c[o>>2]=c[m+8>>2];c[o+4>>2]=n;c[d+4>>2]=(c[d+4>>2]|0)+8}else Sda(d,m+8|0);p=+g[k>>2]-+g[j>>2];q=+g[k+4>>2]-+g[j+4>>2];g[e>>2]=p;g[e+4>>2]=q;q=+O(+(p*p+q*q));g[f>>2]=q;p=l/q*+g[e>>2];g[h>>2]=-(l/q*+g[e+4>>2]);g[h+4>>2]=p;a=c[b+4>>2]|0;if((a|0)==(c[b+8>>2]|0)){mk(b,j);a=c[b+4>>2]|0}else{o=c[j+4>>2]|0;c[a>>2]=c[j>>2];c[a+4>>2]=o;a=(c[b+4>>2]|0)+8|0;c[b+4>>2]=a}if((a|0)==(c[b+8>>2]|0))mk(b,j);else{n=c[j+4>>2]|0;o=a;c[o>>2]=c[j>>2];c[o+4>>2]=n;c[b+4>>2]=(c[b+4>>2]|0)+8}q=-+g[h+4>>2];g[m>>2]=-+g[h>>2];g[m+4>>2]=q;a=c[d+4>>2]|0;if(a>>>0<(c[d+8>>2]|0)>>>0){o=c[m+4>>2]|0;c[a>>2]=c[m>>2];c[a+4>>2]=o;a=(c[d+4>>2]|0)+8|0;c[d+4>>2]=a}else{Sda(d,m);a=c[d+4>>2]|0}if((a|0)==(c[d+8>>2]|0)){mk(d,h);i=m;return}else{n=c[h+4>>2]|0;o=a;c[o>>2]=c[h>>2];c[o+4>>2]=n;c[d+4>>2]=(c[d+4>>2]|0)+8;i=m;return}}function Sda(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=c[a>>2]|0;d=((c[a+4>>2]|0)-j>>3)+1|0;if(d>>>0>536870911)jzb(a);e=(c[a+8>>2]|0)-j|0;if(e>>3>>>0<268435455){d=e>>2>>>0>>0?d:e>>2;f=c[a+4>>2]|0;if(!d){i=0;g=0;e=f-j>>3;d=f}else{h=f;e=f-j>>3;k=6}}else{e=c[a+4>>2]|0;d=536870911;h=e;e=e-j>>3;k=6}if((k|0)==6){i=d;g=YAb(d<<3)|0;d=h}k=g+(e<<3)|0;h=c[b+4>>2]|0;c[k>>2]=c[b>>2];c[k+4>>2]=h;b=d-j|0;mBb(k+(0-(b>>3)<<3)|0,j|0,b|0)|0;c[a>>2]=k+(0-(b>>3)<<3);c[a+4>>2]=k+8;c[a+8>>2]=g+(i<<3);if(!j)return;oAb(j);return}function Tda(a){a=a|0;var b=0;c[a>>2]=23900;b=c[a+4>>2]|0;if(!b){oAb(a);return}aBb(b);oAb(a);return}function Uda(a,b,d,e,f,h,j,l,m){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;j=j|0;l=l|0;m=+m;var n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0,w=0;v=i;i=i+32|0;u=+g[l>>2]-+g[j>>2];t=+g[l+4>>2]-+g[j+4>>2];s=+O(+(u*u+t*t));a=c[b+4>>2]|0;if((a|0)==(c[b+8>>2]|0)){mk(b,j);a=c[b+4>>2]|0}else{l=c[j+4>>2]|0;c[a>>2]=c[j>>2];c[a+4>>2]=l;a=(c[b+4>>2]|0)+8|0;c[b+4>>2]=a}if((a|0)==(c[b+8>>2]|0))mk(b,j);else{w=c[j+4>>2]|0;l=a;c[l>>2]=c[j>>2];c[l+4>>2]=w;c[b+4>>2]=(c[b+4>>2]|0)+8}o=+g[e>>2];r=+g[e+4>>2];q=+N(+(t*o-u*r));if(q/(s*+g[f>>2])<.05000000074505806)if(u*o+t*r>0.0){a=c[d+4>>2]|0;if((a|0)==(c[d+8>>2]|0)){mk(d,h);a=c[d+4>>2]|0}else{w=c[h+4>>2]|0;c[a>>2]=c[h>>2];c[a+4>>2]=w;a=(c[d+4>>2]|0)+8|0;c[d+4>>2]=a}r=-+g[h+4>>2];g[v+8>>2]=-+g[h>>2];g[v+8+4>>2]=r;if(a>>>0<(c[d+8>>2]|0)>>>0){j=c[v+8+4>>2]|0;w=a;c[w>>2]=c[v+8>>2];c[w+4>>2]=j;c[d+4>>2]=(c[d+4>>2]|0)+8;w=h+4|0;g[e>>2]=u;g[e+4>>2]=t;g[h>>2]=-(t*(m/s));g[w>>2]=u*(m/s);g[f>>2]=s;i=v;return}else{Sda(d,v+8|0);w=h+4|0;g[e>>2]=u;g[e+4>>2]=t;g[h>>2]=-(t*(m/s));g[w>>2]=u*(m/s);g[f>>2]=s;i=v;return}}n=+g[h>>2];p=+g[h+4>>2];q=(t*(-(t*(m/s))-n)-u*(u*(m/s)-p))/(t*o-u*r);g[v+16>>2]=n+o*q;g[v+16+4>>2]=p+r*q;a=c[d+4>>2]|0;if((a|0)==(c[d+8>>2]|0)){mk(d,v+16|0);n=n+o*q;a=c[d+4>>2]|0}else{w=c[v+16>>2]|0;j=c[v+16+4>>2]|0;c[a>>2]=w;c[a+4>>2]=j;a=(c[d+4>>2]|0)+8|0;c[d+4>>2]=a;n=(c[k>>2]=w,+g[k>>2])}g[v>>2]=-n;g[v+4>>2]=-(p+r*q);if(a>>>0<(c[d+8>>2]|0)>>>0){j=c[v+4>>2]|0;w=a;c[w>>2]=c[v>>2];c[w+4>>2]=j;c[d+4>>2]=(c[d+4>>2]|0)+8}else Sda(d,v);w=h+4|0;g[e>>2]=u;g[e+4>>2]=t;g[h>>2]=-(t*(m/s));g[w>>2]=u*(m/s);g[f>>2]=s;i=v;return}function Vda(a){a=a|0;var b=0;c[a>>2]=23900;b=c[a+4>>2]|0;if(!b){oAb(a);return}aBb(b);oAb(a);return}function Wda(a,b,d,e,f,h,j,l,m){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;j=j|0;l=l|0;m=+m;var n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0,w=0;v=i;i=i+64|0;u=+g[l>>2]-+g[j>>2];s=+g[l+4>>2]-+g[j+4>>2];t=+O(+(u*u+s*s));q=+g[e>>2];r=+g[e+4>>2];p=+N(+(s*q-u*r));if(p/(t*+g[f>>2])<.05000000074505806)if(u*q+s*r>0.0){g[v+48>>2]=-(s*(m/t));g[v+48+4>>2]=u*(m/t);a=c[b+4>>2]|0;if((a|0)==(c[b+8>>2]|0)){mk(b,j);a=c[b+4>>2]|0}else{h=c[j+4>>2]|0;c[a>>2]=c[j>>2];c[a+4>>2]=h;a=(c[b+4>>2]|0)+8|0;c[b+4>>2]=a}if((a|0)==(c[b+8>>2]|0))mk(b,j);else{l=c[j+4>>2]|0;h=a;c[h>>2]=c[j>>2];c[h+4>>2]=l;c[b+4>>2]=(c[b+4>>2]|0)+8}a=c[d+4>>2]|0;if((a|0)==(c[d+8>>2]|0)){mk(d,v+48|0);n=-(s*(m/t));a=c[d+4>>2]|0}else{h=c[v+48>>2]|0;j=c[v+48+4>>2]|0;c[a>>2]=h;c[a+4>>2]=j;a=(c[d+4>>2]|0)+8|0;c[d+4>>2]=a;n=(c[k>>2]=h,+g[k>>2])}g[v+40>>2]=-n;g[v+40+4>>2]=-(u*(m/t));if(a>>>0<(c[d+8>>2]|0)>>>0){j=c[v+40+4>>2]|0;h=a;c[h>>2]=c[v+40>>2];c[h+4>>2]=j;c[d+4>>2]=(c[d+4>>2]|0)+8}else Sda(d,v+40|0);g[e>>2]=u;g[e+4>>2]=s;g[f>>2]=t;i=v;return}g[v+48>>2]=-(s*(m/t));g[v+48+4>>2]=u*(m/t);n=+g[h>>2];o=+g[h+4>>2];p=(s*(-(s*(m/t))-n)-u*(u*(m/t)-o))/(s*q-u*r);g[v+32>>2]=n+q*p;g[v+32+4>>2]=o+r*p;a=c[b+4>>2]|0;if((a|0)==(c[b+8>>2]|0)){mk(b,j);a=c[b+4>>2]|0}else{l=c[j+4>>2]|0;c[a>>2]=c[j>>2];c[a+4>>2]=l;a=(c[b+4>>2]|0)+8|0;c[b+4>>2]=a}if((a|0)==(c[b+8>>2]|0)){mk(b,j);a=c[b+4>>2]|0}else{l=c[j+4>>2]|0;c[a>>2]=c[j>>2];c[a+4>>2]=l;a=(c[b+4>>2]|0)+8|0;c[b+4>>2]=a}if((a|0)==(c[b+8>>2]|0)){mk(b,j);a=c[b+4>>2]|0}else{l=c[j+4>>2]|0;c[a>>2]=c[j>>2];c[a+4>>2]=l;a=(c[b+4>>2]|0)+8|0;c[b+4>>2]=a}if((a|0)==(c[b+8>>2]|0))mk(b,j);else{w=c[j+4>>2]|0;l=a;c[l>>2]=c[j>>2];c[l+4>>2]=w;c[b+4>>2]=(c[b+4>>2]|0)+8}a=c[d+4>>2]|0;l=(a|0)==(c[d+8>>2]|0);do if(s*q-u*r>0.0){if(l){mk(d,v+32|0);a=c[d+4>>2]|0}else{w=c[v+32+4>>2]|0;c[a>>2]=c[v+32>>2];c[a+4>>2]=w;a=(c[d+4>>2]|0)+8|0;c[d+4>>2]=a}r=-+g[h+4>>2];g[v+24>>2]=-+g[h>>2];g[v+24+4>>2]=r;if(a>>>0<(c[d+8>>2]|0)>>>0){w=c[v+24+4>>2]|0;c[a>>2]=c[v+24>>2];c[a+4>>2]=w;a=(c[d+4>>2]|0)+8|0;c[d+4>>2]=a}else{Sda(d,v+24|0);a=c[d+4>>2]|0}if((a|0)==(c[d+8>>2]|0)){mk(d,v+32|0);a=c[d+4>>2]|0}else{w=c[v+32+4>>2]|0;c[a>>2]=c[v+32>>2];c[a+4>>2]=w;a=(c[d+4>>2]|0)+8|0;c[d+4>>2]=a}g[v+16>>2]=s*(m/t);g[v+16+4>>2]=-(u*(m/t));if(a>>>0<(c[d+8>>2]|0)>>>0){j=c[v+16+4>>2]|0;w=a;c[w>>2]=c[v+16>>2];c[w+4>>2]=j;c[d+4>>2]=(c[d+4>>2]|0)+8;break}else{Sda(d,v+16|0);break}}else{if(l){mk(d,h);a=c[d+4>>2]|0}else{w=c[h+4>>2]|0;c[a>>2]=c[h>>2];c[a+4>>2]=w;a=(c[d+4>>2]|0)+8|0;c[d+4>>2]=a}g[v+8>>2]=-(n+q*p);g[v+8+4>>2]=-(o+r*p);if(a>>>0<(c[d+8>>2]|0)>>>0){w=c[v+8+4>>2]|0;c[a>>2]=c[v+8>>2];c[a+4>>2]=w;a=(c[d+4>>2]|0)+8|0;c[d+4>>2]=a}else{Sda(d,v+8|0);a=c[d+4>>2]|0}if((a|0)==(c[d+8>>2]|0)){mk(d,v+48|0);a=c[d+4>>2]|0}else{w=c[v+48+4>>2]|0;c[a>>2]=c[v+48>>2];c[a+4>>2]=w;a=(c[d+4>>2]|0)+8|0;c[d+4>>2]=a}g[v>>2]=-(n+q*p);g[v+4>>2]=-(o+r*p);if(a>>>0<(c[d+8>>2]|0)>>>0){j=c[v+4>>2]|0;w=a;c[w>>2]=c[v>>2];c[w+4>>2]=j;c[d+4>>2]=(c[d+4>>2]|0)+8;break}else{Sda(d,v);break}}while(0);g[e>>2]=u;g[e+4>>2]=s;g[f>>2]=t;w=c[v+48+4>>2]|0;c[h>>2]=c[v+48>>2];c[h+4>>2]=w;i=v;return}function Xda(b,d,e,f,h,j,l){b=b|0;d=d|0;e=e|0;f=f|0;h=+h;j=+j;l=l|0;var m=0,n=0,o=0,p=0.0,q=0,r=0.0,s=0,t=0,u=0,v=0.0;u=i;i=i+64|0;if(!(a[621160]|0))if(se(621160)|0){c[157824]=0;c[157825]=0;c[157826]=0;fd(621160)}o=c[157824]|0;m=c[157825]|0;if((m|0)!=(o|0)){c[157825]=m+(~((m+-8-o|0)>>>3)<<3);m=m+(~((m+-8-o|0)>>>3)<<3)|0}if((c[157826]|0)-o>>3>>>0>>0){m=m-o|0;if(!f)n=0;else n=YAb(f<<3)|0;s=n+(m>>3<<3)|0;mBb(s+(0-(m>>3)<<3)|0,o|0,m|0)|0;c[157824]=s+(0-(m>>3)<<3);c[157825]=s;c[157826]=n+(f<<3);if(o|0)oAb(o)}if(!(a[621168]|0))if(se(621168)|0){c[157827]=0;c[157828]=0;c[157829]=0;fd(621168)}o=c[157827]|0;m=c[157828]|0;if((m|0)!=(o|0)){c[157828]=m+(~((m+-8-o|0)>>>3)<<3);m=m+(~((m+-8-o|0)>>>3)<<3)|0}if((c[157829]|0)-o>>3>>>0>>0){m=m-o|0;if(!f)n=0;else n=YAb(f<<3)|0;s=n+(m>>3<<3)|0;mBb(s+(0-(m>>3)<<3)|0,o|0,m|0)|0;c[157827]=s+(0-(m>>3)<<3);c[157828]=s;c[157829]=n+(f<<3);if(o|0)oAb(o)}r=l?h-j*.30000001192092896:h;p=+g[d>>2];if(p==+g[d+(e+-2<<2)>>2]){h=+g[d+4>>2];s=h==+g[d+(e+-1<<2)>>2];g[u+32>>2]=0.0;g[u+32+4>>2]=0.0;m=(g[k>>2]=h,c[k>>2]|0);if(s){h=h-+g[d+(e+-3<<2)>>2];g[u+16>>2]=p-+g[d+(e+-4<<2)>>2];g[u+16+4>>2]=h;q=u+32|0;f=u+32+4|0;s=1;n=u+16|0}else{o=u+32+4|0;n=u+32|0;t=24}}else{g[u+32>>2]=0.0;g[u+32+4>>2]=0.0;h=+g[d+4>>2];m=(g[k>>2]=h,c[k>>2]|0);o=u+32+4|0;n=u+32|0;t=24}if((t|0)==24){h=+g[d+12>>2]-h;g[u+24>>2]=+g[d+8>>2]-p;g[u+24+4>>2]=h;q=n;f=o;s=0;n=u+24|0}o=n;t=c[o+4>>2]|0;c[u+32>>2]=c[o>>2];c[u+32+4>>2]=t;h=+g[q>>2];v=+g[f>>2];v=+O(+(h*h+v*v));g[u+48>>2]=v;h=r/v*+g[q>>2];g[u+40>>2]=-(r/v*+g[f>>2]);g[u+40+4>>2]=h;g[u>>2]=p;c[u+4>>2]=m;m=c[u>>2]|0;t=c[u+4>>2]|0;c[u+8>>2]=m;c[u+8+4>>2]=t;if(e>>>0>3){n=3;o=0;do{m=o;o=o+2|0;t=c[d+(n<<2)>>2]|0;c[u>>2]=c[d+(o<<2)>>2];c[u+4>>2]=t;ij[c[(c[b>>2]|0)+20>>2]&3](b,631296,631308,u+32|0,u+48|0,u+40|0,u+8|0,u,r);n=m+5|0;m=c[u>>2]|0;t=c[u+4>>2]|0;c[u+8>>2]=m;c[u+8+4>>2]=t}while(n>>>0>>0)}if(s){p=+g[d+12>>2];h=+g[d+8>>2]}else{p=+g[u+4>>2]+ +g[f>>2];h=(c[k>>2]=m,+g[k>>2])+ +g[q>>2]}g[u>>2]=h;g[u+4>>2]=p;ij[c[(c[b>>2]|0)+20>>2]&3](b,631296,631308,u+32|0,u+48|0,u+40|0,u+8|0,u,r);m=(c[157828]|0)-(c[157827]|0)>>3;c[b+12>>2]=m;if(l){si[c[(c[b>>2]|0)+8>>2]&511](b,s);m=c[b+12>>2]|0;q=(c[b+20>>2]|0)==5?2:0}else q=0;o=m+q+(c[b+16>>2]|0)|0;n=_Ab(o>>>0>536870911?-1:o<<3)|0;if(o|0){f=n;do{g[f>>2]=0.0;g[f+4>>2]=0.0;f=f+8|0}while((f|0)!=(n+(o<<3)|0))}c[b+4>>2]=n;a:do if(!m)m=0;else{m=0;while(1){d=c[157824]|0;o=c[157827]|0;v=+g[d+(m<<3)+4>>2]+ +g[o+(m<<3)+4>>2];g[n+(m<<3)>>2]=+g[d+(m<<3)>>2]+ +g[o+(m<<3)>>2];g[n+(m<<3)+4>>2]=v;o=m+1|0;m=c[b+12>>2]|0;if(o>>>0>=m>>>0)break a;n=c[b+4>>2]|0;m=o}}while(0);if(l){c[b+8>>2]=(c[b+4>>2]|0)+(m<<3)+(q<<3);c[b+28>>2]=m+q;zi[c[(c[b>>2]|0)+12>>2]&3](b,631308,j,s)}if(!q){i=u;return}e=c[b+12>>2]|0;d=c[b+4>>2]|0;l=c[d+(e+-1<<3)+4>>2]|0;c[d+(e<<3)>>2]=c[d+(e+-1<<3)>>2];c[d+(e<<3)+4>>2]=l;e=c[b+4>>2]|0;d=e+(c[b+28>>2]<<3)|0;l=c[d+4>>2]|0;b=e+((c[b+12>>2]|0)+1<<3)|0;c[b>>2]=c[d>>2];c[b+4>>2]=l;i=u;return}function Yda(d){d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;if(!(c[d+8>>2]|0))h=c[d+12>>2]|0;else h=(c[d+16>>2]|0)+(c[d+28>>2]|0)|0;if(!(a[d+24>>0]|0))f=0;else{e=(h>>>2)*6|0;f=_Ab(e>>>0>2147483647?-1:e<<1)|0;if(e>>>0>5){g=0;do{j=g<<2;i=g*6|0;b[f+(i<<1)>>1]=j;b[f+((i|1)<<1)>>1]=j|1;b[f+(i+2<<1)>>1]=j|2;b[f+(i+3<<1)>>1]=j;b[f+(i+4<<1)>>1]=j|2;b[f+(i+5<<1)>>1]=j|3;g=g+1|0}while(g>>>0<((e>>>0)/6|0)>>>0)}}$ca(631040);Wca(631040,lda(631040)|0);if(!(c[d+8>>2]|0)){e=0;g=1}else{e=_Ab(h>>>0>1073741823?-1:h<<2)|0;if(h|0)hBb(e|0,0,h<<2|0)|0;g=c[d+28>>2]|0;hBb(e|0,-1,g<<2|0)|0;si[c[(c[d>>2]|0)+16>>2]&511](d,e+(g<<2)|0);Ii[c[163985]&63](2,4,5121,1,0,e);g=5}Uca(631040,g);Ii[c[163985]&63](0,2,5126,0,0,c[d+4>>2]|0);g=c[d+20>>2]|0;if(!(a[d+24>>0]|0))ada(631040,g,0,h);else bda(631040,g,(h>>>2)*6|0,5123,f);if(!((e|0)==0|(c[d+8>>2]|0)==0))aBb(e);if(!f)return;aBb(f);return}function Zda(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;c[a>>2]=24028;c[a+8>>2]=24060;do if((c[157830]|0)==(a|0)){g=c[157831]|0;if(!g){Hi[c[164101]&1023](0);c[157830]=0;break}if((g|0)!=(a|0)){Hi[c[164101]&1023](c[g+48>>2]|0);c[157830]=g;d=c[g+144>>2]|0;b=c[g+140>>2]|0;if((d|0)!=(b|0)){f=0;do{e=c[b+(f<<2)>>2]|0;f=f+1|0;if(e){nda(631040,e,f,0);d=c[g+144>>2]|0;b=c[g+140>>2]|0}}while(f>>>0>2>>>0)}mda(631040,0)}}while(0);b=c[a+152>>2]|0;if((b|0)!=(a+156|0)){d=b;while(1){b=c[d+28>>2]|0;Hi[c[(c[b>>2]|0)+12>>2]&1023](b);b=c[d+4>>2]|0;if(!b)while(1){b=c[d+8>>2]|0;if((c[b>>2]|0)==(d|0))break;else d=b}else while(1){d=c[b>>2]|0;if(!d)break;else b=d}if((b|0)==(a+156|0))break;else d=b}}_da(a+152|0,c[a+156>>2]|0);c[a+160>>2]=0;c[a+152>>2]=a+156;c[a+156>>2]=0;Hi[c[(c[a>>2]|0)+20>>2]&1023](a);_da(a+152|0,c[a+156>>2]|0);b=c[a+140>>2]|0;if(b|0){d=c[a+144>>2]|0;if((d|0)!=(b|0))c[a+144>>2]=d+(~((d+-4-b|0)>>>2)<<2);oAb(b)}$da(a+128|0,c[a+132>>2]|0);aea(a+116|0,c[a+120>>2]|0);$da(a+104|0,c[a+108>>2]|0);bea(a+36|0,c[a+40>>2]|0);Mqb(a+24|0);Mqb(a+12|0);Cga(a+8|0);return}function _da(a,b){a=a|0;b=b|0;if(!b)return;else{_da(a,c[b>>2]|0);_da(a,c[b+4>>2]|0);Mqb(b+16|0);oAb(b);return}}function $da(a,b){a=a|0;b=b|0;if(!b)return;else{$da(a,c[b>>2]|0);$da(a,c[b+4>>2]|0);Mqb(b+16|0);oAb(b);return}}function aea(a,b){a=a|0;b=b|0;if(!b)return;else{aea(a,c[b>>2]|0);aea(a,c[b+4>>2]|0);Mqb(b+44|0);Mqb(b+16|0);oAb(b);return}}function bea(a,b){a=a|0;b=b|0;if(!b)return;else{bea(a,c[b>>2]|0);bea(a,c[b+4>>2]|0);Mqb(b+20|0);oAb(b);return}}function cea(a){a=a|0;Zda(a);oAb(a);return}function dea(b){b=b|0;var d=0,e=0,f=0,h=0,j=0,k=0;k=i;i=i+64|0;c[b+164>>2]=-1;c[b+168>>2]=0;c[b+168+4>>2]=0;c[b+168+8>>2]=0;c[b+168+12>>2]=0;g[b+184>>2]=-1.0;Mua(b+252|0,r,r);Mua(b+188|0,r,r);c[b+316>>2]=0;c[b+316+4>>2]=0;c[b+316+8>>2]=0;d=c[b+140>>2]|0;e=c[b+144>>2]|0;if((e|0)!=(d|0))c[b+144>>2]=e+(~((e+-4-d|0)>>>2)<<2);c[k+40>>2]=d;j=(vda(631040)|0)+-1|0;c[k+32>>2]=0;c[k+44>>2]=c[k+40>>2];eea(b+140|0,k+44|0,j,k+32|0)|0;c[k+44>>2]=0;j=k+44+4|0;c[j>>2]=0;c[k+44+8>>2]=0;h=a[1248844]|0?631356:631332;d=a[b+12>>0]|0;if(!(d&1))e=(d&255)>>>1;else e=c[b+16>>2]|0;d=a[b+24>>0]|0;if(!(d&1))f=(d&255)>>>1;else f=c[b+28>>2]|0;d=fea(b,0,(e|0)==0?h:b+12|0)|0;c[k+16>>2]=d;e=c[j>>2]|0;if(e>>>0<(c[k+44+8>>2]|0)>>>0){c[e>>2]=d;c[j>>2]=e+4}else Zx(k+44|0,k+16|0);d=fea(b,1,((f|0)==0?h:b+12|0)+12|0)|0;c[k+12>>2]=d;e=c[j>>2]|0;if(e>>>0<(c[k+44+8>>2]|0)>>>0){c[e>>2]=d;c[j>>2]=e+4}else Zx(k+44|0,k+12|0);e=dj[c[164408]&7]()|0;c[b+48>>2]=e;d=c[k+44>>2]|0;f=c[j>>2]|0;if(!e){if((d|0)==(f|0)){b=nf(16)|0;ds(b,435786,k);zc(b|0,96,27)}do{Hi[c[164128]&1023](c[d>>2]|0);d=d+4|0}while((d|0)!=(f|0));b=nf(16)|0;ds(b,435786,k);zc(b|0,96,27)}a:do if((d|0)!=(f|0))while(1){si[c[164266]&511](e,c[d>>2]|0);d=d+4|0;if((d|0)==(f|0))break a;e=c[b+48>>2]|0}while(0);d=c[157898]|0;if(d|0)$i[c[164547]&255](c[b+48>>2]|0,0,d);d=c[157899]|0;if(d|0)$i[c[164547]&255](c[b+48>>2]|0,1,d);d=c[157900]|0;if(d|0)$i[c[164547]&255](c[b+48>>2]|0,2,d);d=c[157901]|0;if(d|0)$i[c[164547]&255](c[b+48>>2]|0,3,d);Hi[c[164176]&1023](c[b+48>>2]|0);d=c[k+44>>2]|0;e=c[j>>2]|0;if((d|0)!=(e|0))do{Hi[c[164128]&1023](c[d>>2]|0);d=d+4|0}while((d|0)!=(e|0));$i[c[164616]&255](c[b+48>>2]|0,35714,k+36|0);if(!(c[k+36>>2]|0)){gea(k+20|0,b);Hi[c[163740]&1023](c[b+48>>2]|0);c[b+48>>2]=0;b=nf(16)|0;c[k+8>>2]=(a[k+20>>0]&1)==0?k+20+1|0:c[k+20+8>>2]|0;ds(b,435823,k+8|0);zc(b|0,96,27)}hea(b);d=c[157898]|0;if(!d)c[b+88>>2]=-1;else c[b+88>>2]=Xi[c[163952]&511](c[b+48>>2]|0,d)|0;d=c[157899]|0;if(!d)c[b+92>>2]=-1;else c[b+92>>2]=Xi[c[163952]&511](c[b+48>>2]|0,d)|0;d=c[157900]|0;if(!d)c[b+96>>2]=-1;else c[b+96>>2]=Xi[c[163952]&511](c[b+48>>2]|0,d)|0;d=c[157901]|0;if(!d)c[b+100>>2]=-1;else c[b+100>>2]=Xi[c[163952]&511](c[b+48>>2]|0,d)|0;if((c[157830]|0)==(b|0)){c[157830]=0;Hi[c[164101]&1023](c[b+48>>2]|0);c[157830]=b;e=c[b+144>>2]|0;d=c[b+140>>2]|0;if((e|0)!=(d|0)){h=0;do{f=c[d+(h<<2)>>2]|0;h=h+1|0;if(f){nda(631040,f,h,0);e=c[b+144>>2]|0;d=c[b+140>>2]|0}}while(h>>>0>2>>>0)}mda(631040,0);kea(b)}d=c[k+44>>2]|0;if(!d){i=k;return 1}e=c[j>>2]|0;if((e|0)!=(d|0))c[j>>2]=e+(~((e+-4-d|0)>>>2)<<2);oAb(d);i=k;return 1}function eea(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;m=c[a>>2]|0;b=m+((c[b>>2]|0)-m>>2<<2)|0;if(!d){a=b;return a|0}f=c[a+8>>2]|0;k=c[a+4>>2]|0;if(f-k>>2>>>0>>0){if(((k-m>>2)+d|0)>>>0>1073741823)jzb(a);if(f-m>>2>>>0<536870911){f=f-m>>1>>>0<((k-m>>2)+d|0)>>>0?(k-m>>2)+d|0:f-m>>1;if(!f){k=0;j=0;f=b-m>>2;l=b}else{g=b-m>>2;h=b;i=20}}else{f=1073741823;g=b-m>>2;h=b;i=20}if((i|0)==20){k=f;j=YAb(f<<2)|0;f=g;l=h}i=j+(f<<2)|0;g=j+(k<<2)|0;f=d;h=i;while(1){c[h>>2]=c[e>>2];f=f+-1|0;if(!f)break;else h=h+4|0}k=l-m|0;mBb(i+(0-(k>>2)<<2)|0,m|0,k|0)|0;l=(c[a+4>>2]|0)-l|0;mBb(i+(d<<2)|0,b|0,l|0)|0;c[a>>2]=i+(0-(k>>2)<<2);c[a+4>>2]=i+(d<<2)+(l>>2<<2);c[a+8>>2]=g;if(!m){a=i;return a|0}oAb(m);a=i;return a|0}if(k-b>>2>>>0>>0){f=d-(k-b>>2)|0;g=k;while(1){c[g>>2]=c[e>>2];f=f+-1|0;if(!f)break;else g=g+4|0}c[a+4>>2]=k+(d-(k-b>>2)<<2);if(!(k-b>>2)){a=b;return a|0}else{f=k-b>>2;g=k+(d-(k-b>>2)<<2)|0}}else{f=d;g=k}h=g-(b+(d<<2))|0;if((b+(h>>2<<2)|0)>>>0>>0){i=g;j=b+(h>>2<<2)|0;while(1){c[i>>2]=c[j>>2];j=j+4|0;if(j>>>0>=k>>>0)break;else i=i+4|0}c[a+4>>2]=g+(((k+(0-(h>>2)<<2)+~b|0)>>>2)+1<<2)}nBb(g+(0-(h>>2)<<2)|0,b|0,h|0)|0;if(b>>>0<=e>>>0)e=(c[a+4>>2]|0)>>>0>e>>>0?e+(d<<2)|0:e;g=b;while(1){c[g>>2]=c[e>>2];f=f+-1|0;if(!f)break;else g=g+4|0}return b|0}function fea(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+64|0;if(d>>>0>1)k=3;else{f=c[631488+(d<<2)>>2]|0;if(!f)k=3;else l=f}if((k|0)==3)l=1279070;switch(d|0){case 0:{f=35633;break}case 1:{f=35632;break}default:{l=nf(16)|0;ds(l,435612,m);zc(l|0,96,27)}}j=vi[c[163715]&2047](f)|0;if(!j){b=(dj[c[164614]&7]()|0)==1280;f=nf(16)|0;if(b){c[m+8>>2]=l;c[m+8+4>>2]=l;ds(f,435662,m+8|0);zc(f|0,96,27)}else{c[m+16>>2]=l;ds(f,435720,m+16|0);zc(f|0,96,27)}}f=a[e>>0]|0;c[m+44>>2]=(f&1)==0?e+1|0:c[e+8>>2]|0;c[m+40>>2]=(f&1)==0?(f&255)>>>1:c[e+4>>2]|0;kj[c[164582]&127](j,1,m+44|0,m+40|0);Hi[c[163689]&1023](j);$i[c[164033]&255](j,35716,m+36|0);f=c[m+36>>2]|0;if((f|0)>0){h=_Ab(f)|0;kj[c[163838]&127](j,f,0,h);f=c[b+40>>2]|0;do if(!f){c[m+48>>2]=b+40;e=b+40|0;f=b+40|0;k=22}else{g=f;while(1){f=c[g+16>>2]|0;if((f|0)>(d|0)){f=c[g>>2]|0;if(!f){e=g;f=g;k=15;break}}else{if((f|0)>=(d|0)){f=g;k=21;break}e=g+4|0;f=c[e>>2]|0;if(!f){f=g;k=19;break}}g=f}if((k|0)==15){c[m+48>>2]=f;k=22;break}else if((k|0)==19){c[m+48>>2]=f;k=22;break}else if((k|0)==21){c[m+48>>2]=f;if(!f){e=m+48|0;k=22;break}else break}}while(0);if((k|0)==22){g=YAb(32)|0;c[g+16>>2]=d;c[g+20>>2]=0;c[g+20+4>>2]=0;c[g+20+8>>2]=0;c[g>>2]=0;c[g+4>>2]=0;c[g+8>>2]=f;c[e>>2]=g;f=c[c[b+36>>2]>>2]|0;if(!f)f=g;else{c[b+36>>2]=f;f=c[e>>2]|0}Fj(c[b+40>>2]|0,f);c[b+44>>2]=(c[b+44>>2]|0)+1;f=g}Rqb(f+20|0,h)|0;aBb(h)}$i[c[164033]&255](j,35713,m+32|0);if(c[m+32>>2]|0){i=m;return j|0}Hi[c[164128]&1023](j);h=nf(16)|0;f=c[b+40>>2]|0;do if(!f){c[m+48>>2]=b+40;g=b+40|0;f=b+40|0;k=37}else{e=f;while(1){f=c[e+16>>2]|0;if((f|0)>(d|0)){f=c[e>>2]|0;if(!f){f=e;k=30;break}}else{if((f|0)>=(d|0)){k=36;break}g=e+4|0;f=c[g>>2]|0;if(!f){k=34;break}}e=f}if((k|0)==30){c[m+48>>2]=e;g=f;f=e;k=37;break}else if((k|0)==34){c[m+48>>2]=e;f=e;k=37;break}else if((k|0)==36){c[m+48>>2]=e;if(!e){g=m+48|0;f=e;k=37;break}else break}}while(0);if((k|0)==37){e=YAb(32)|0;c[e+16>>2]=d;c[e+20>>2]=0;c[e+20+4>>2]=0;c[e+20+8>>2]=0;c[e>>2]=0;c[e+4>>2]=0;c[e+8>>2]=f;c[g>>2]=e;f=c[c[b+36>>2]>>2]|0;if(!f)f=e;else{c[b+36>>2]=f;f=c[g>>2]|0}Fj(c[b+40>>2]|0,f);c[b+44>>2]=(c[b+44>>2]|0)+1}f=e+20|0;if(!(a[f>>0]&1)){b=f+1|0;c[m+24>>2]=l;l=m+24+4|0;c[l>>2]=b;ds(h,435752,m+24|0);zc(h|0,96,27)}else{b=c[e+28>>2]|0;c[m+24>>2]=l;l=m+24+4|0;c[l>>2]=b;ds(h,435752,m+24|0);zc(h|0,96,27)}return 0}function gea(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;f=i;i=i+32|0;$i[c[164616]&255](c[d+48>>2]|0,35716,f+16|0);e=c[f+16>>2]|0;if(!e){Iqb(b,1279070,0);i=f;return}else{g=_Ab((e|0)>-1?e:-1)|0;hBb(g|0,0,e|0)|0;kj[c[164104]&127](c[d+48>>2]|0,e,f+12|0,g);a[g+(c[f+12>>2]|0)>>0]=0;Iqb(f,g,rnb(g)|0);aBb(g);c[b>>2]=c[f>>2];c[b+4>>2]=c[f+4>>2];c[b+8>>2]=c[f+8>>2];c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;Mqb(f);i=f;return}}function hea(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;o=i;i=i+320|0;d=b+52|0;e=d+36|0;do{c[d>>2]=-1;d=d+4|0}while((d|0)<(e|0));aea(b+116|0,c[b+120>>2]|0);c[b+124>>2]=0;c[b+116>>2]=b+120;c[b+120>>2]=0;c[o+48>>2]=0;si[c[164630]&511](35725,o+48|0);Hi[c[164101]&1023](c[b+48>>2]|0);$i[c[164616]&255](c[b+48>>2]|0,35718,o+44|0);if((c[o+44>>2]|0)<=0){b=c[o+48>>2]|0;n=c[164101]|0;Hi[n&1023](b);i=o;return}m=o+12+16|0;n=0;do{c[o+40>>2]=0;c[o+12>>2]=0;c[o+12+4>>2]=0;c[o+12+8>>2]=0;c[o+12+12>>2]=0;c[o+12+16>>2]=0;c[o+12+20>>2]=0;c[o+12+24>>2]=0;Ti[c[164694]&7](c[b+48>>2]|0,n,256,o+40|0,o+12+4|0,o+12+8|0,o+56|0);Iqb(o,o+56|0,c[o+40>>2]|0);if(!(a[m>>0]&1)){a[m+1>>0]=0;a[m>>0]=0}else{a[c[o+12+24>>2]>>0]=0;c[o+12+20>>2]=0}Qqb(m,0);c[m>>2]=c[o>>2];c[m+4>>2]=c[o+4>>2];c[m+8>>2]=c[o+8>>2];c[o>>2]=0;c[o+4>>2]=0;c[o+8>>2]=0;Mqb(o);e=Xi[c[164513]&511](c[b+48>>2]|0,(a[m>>0]&1)==0?m+1|0:c[o+12+24>>2]|0)|0;c[o+12>>2]=e;d=c[o+12+8>>2]|0;a:do if((d|0)<35681){b:do if((d|0)<35671){if((d|0)>=35666)switch(d|0){case 35666:{l=8;break a}case 35669:case 35668:case 35667:{d=1;l=11;break a}case 35670:break b;default:{l=10;break a}}if((d|0)<35664)switch(d|0){case 5126:{l=8;break a}case 5124:{d=1;l=11;break a}default:{l=10;break a}}else switch(d|0){case 35665:case 35664:{l=8;break a}default:{l=10;break a}}}else switch(d|0){case 35676:case 35675:case 35674:{l=8;break a}case 35680:case 35679:case 35678:case 35677:{l=12;break a}case 35673:case 35672:case 35671:break;default:{l=10;break a}}while(0);d=2;l=11}else switch(d|0){case 35690:case 35689:case 35688:case 35687:case 35686:case 35685:{l=8;break}case 36877:case 36876:case 36293:case 36292:case 36289:case 35682:case 35684:case 35683:case 37131:case 37128:case 36291:case 36288:case 35681:{l=12;break}default:l=10}while(0);if((l|0)==8){d=0;l=11}else if((l|0)==10){d=4;l=11}else if((l|0)==12){l=0;c[o+12+12>>2]=3;si[c[164231]&511](e,0)}if((l|0)==11){l=0;c[o+12+12>>2]=d}d=a[m>>0]|0;h=(d&1)==0?(d&255)>>>1:c[o+12+20>>2]|0;c:do if(h>>>0>3){j=(d&1)==0?m+1|0:c[o+12+24>>2]|0;if((h|0)>=3)if((j+h+-2|0)!=(j|0)){e=j;d:while(1){if((a[e>>0]|0)==91){f=e;g=435861;do{g=g+1|0;if((g|0)==435864)break d;f=f+1|0}while((a[f>>0]|0)==(a[g>>0]|0))}e=e+1|0;if((e|0)==(j+h+-2|0))break c}if((e-j|0)!=-1&(e|0)!=(j+h|0)&(e-j|0)==(h+-3|0)){_qb(m,e-j|0,-1)|0;d=a[m>>0]|0}}}while(0);k=(d&1)==0?m+1|0:c[o+12+24>>2]|0;d=a[k>>0]|0;if(!(d<<24>>24))e=5381;else{f=k;e=5381;do{f=f+1|0;e=(e*33|0)+(d<<24>>24)|0;d=a[f>>0]|0}while(d<<24>>24!=0)}j=0;while(1){h=((j+e|0)>>>0)%18|0;if(!(a[631608+(h*12|0)+8>>0]|0)){l=32;break}f=c[631608+(h*12|0)>>2]|0;g=a[f>>0]|0;e:do if(!(g<<24>>24)){d=k;l=29}else{d=k;while(1){p=a[d>>0]|0;if(!(p<<24>>24?g<<24>>24==p<<24>>24:0))break e;f=f+1|0;d=d+1|0;g=a[f>>0]|0;if(!(g<<24>>24)){l=29;break}}}while(0);if((l|0)==29){l=0;if(!(a[d>>0]|0)){l=31;break}}j=j+1|0;if(j>>>0>=18){l=32;break}}if((l|0)==31){d=c[o+12>>2]|0;c[b+52+(c[631608+(h*12|0)+4>>2]<<2)>>2]=d}else if((l|0)==32)d=c[o+12>>2]|0;if((d|0)!=-1){p=iea(b+116|0,m)|0;c[p>>2]=c[o+12>>2];c[p+4>>2]=c[o+12+4>>2];c[p+8>>2]=c[o+12+8>>2];c[p+12>>2]=c[o+12+12>>2];Nqb(p+16|0,m)|0}Mqb(m);n=n+1|0}while((n|0)<(c[o+44>>2]|0));p=c[o+48>>2]|0;b=c[164101]|0;Hi[b&1023](p);i=o;return}function iea(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;e=jea(a,g,b)|0;d=c[e>>2]|0;if(d|0){a=d;a=a+28|0;i=g;return a|0}f=YAb(56)|0;Hqb(f+16|0,b);c[f+28>>2]=0;c[f+28+4>>2]=0;c[f+28+8>>2]=0;c[f+28+12>>2]=0;c[f+28+16>>2]=0;c[f+28+20>>2]=0;c[f+28+24>>2]=0;d=c[g>>2]|0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=d;c[e>>2]=f;d=c[c[a>>2]>>2]|0;if(!d)d=f;else{c[a>>2]=d;d=c[e>>2]|0}Fj(c[a+4>>2]|0,d);c[a+8>>2]=(c[a+8>>2]|0)+1;a=f;a=a+28|0;i=g;return a|0}function jea(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;f=c[b+4>>2]|0;if(!f){c[d>>2]=b+4;d=b+4|0;return d|0}h=a[e>>0]|0;i=(h&1)==0?(h&255)>>>1:c[e+4>>2]|0;h=(h&1)==0?e+1|0:c[e+8>>2]|0;while(1){e=f+16|0;g=a[e>>0]|0;b=(g&1)==0?(g&255)>>>1:c[f+20>>2]|0;e=(g&1)==0?e+1|0:c[f+24>>2]|0;g=qmb(h,e,b>>>0>>0?b:i)|0;if((((g|0)==0?(i>>>0>>0?-2147483648:0):g)|0)<0){b=c[f>>2]|0;if(!b){b=f;e=5;break}else f=b}else{g=qmb(e,h,i>>>0>>0?i:b)|0;if((((g|0)==0?(b>>>0>>0?-2147483648:0):g)|0)>=0){e=10;break}g=f+4|0;b=c[g>>2]|0;if(!b){e=9;break}else f=b}}if((e|0)==5){c[d>>2]=f;d=b;return d|0}else if((e|0)==9){c[d>>2]=f;d=g;return d|0}else if((e|0)==10){c[d>>2]=f;return d|0}return 0}function kea(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0;l=i;i=i+112|0;lea(b);if(!(a[1248844]|0)){i=l;return}mea(b,+gda(631040));h=(c[157761]|0)+-64|0;j=(c[157764]|0)+-64|0;k=c[157830]|0;if((k|0)!=(b|0)){Hi[c[164101]&1023](c[b+48>>2]|0);c[157830]=b}f=Lua(h)|0;if(!(qmb(f,Lua(b+188|0)|0,64)|0))d=0;else{d=c[b+52>>2]|0;if((d|0)>-1){f=Lua(h)|0;kj[c[164692]&127](d,1,0,f)}d=c[b+64>>2]|0;if((d|0)>-1){Tua(l,h);Yua(l+40|0,l);f=Xua(l+40|0)|0;kj[c[164661]&127](d,1,0,f)}d=b+188|0;e=h;f=d+64|0;do{c[d>>2]=c[e>>2];d=d+4|0;e=e+4|0}while((d|0)<(f|0));d=1}f=Lua(j)|0;if(!(qmb(f,Lua(b+252|0)|0,64)|0)){if(d)g=15}else{d=c[b+56>>2]|0;if((d|0)>-1){g=Lua(j)|0;kj[c[164692]&127](d,1,0,g)}d=b+252|0;e=j;f=d+64|0;do{c[d>>2]=c[e>>2];d=d+4|0;e=e+4|0}while((d|0)<(f|0));g=15}if((g|0)==15){d=c[b+60>>2]|0;if((d|0)>-1){Jua(l+40|0,j,h);j=Lua(l+40|0)|0;kj[c[164692]&127](d,1,0,j)}}if(k|0){if((c[157830]|0)!=(k|0)){Hi[c[164101]&1023](c[k+48>>2]|0);c[157830]=k}e=c[k+144>>2]|0;d=c[k+140>>2]|0;if((e|0)!=(d|0)){g=0;do{f=c[d+(g<<2)>>2]|0;g=g+1|0;if(f){nda(631040,f,g,0);e=c[k+144>>2]|0;d=c[k+140>>2]|0}}while(g>>>0>2>>>0)}mda(631040,0);i=l;return}b=c[157831]|0;d=c[157830]|0;if(!b){if(d|0)Hi[c[164101]&1023](0);c[157830]=0;i=l;return}if((d|0)==(b|0)){i=l;return}Hi[c[164101]&1023](c[b+48>>2]|0);c[157830]=b;e=c[b+144>>2]|0;d=c[b+140>>2]|0;if((e|0)!=(d|0)){g=0;do{f=c[d+(g<<2)>>2]|0;g=g+1|0;if(f){nda(631040,f,g,0);e=c[b+144>>2]|0;d=c[b+140>>2]|0}}while(g>>>0>2>>>0)}mda(631040,0);i=l;return}function lea(a){a=a|0;var b=0,d=0,e=0,f=0,h=0,j=0,k=0.0;j=i;i=i+32|0;eda(j+16|0,631040);if((c[j+16>>2]|0)==(c[a+168>>2]|0))if((c[j+16+4>>2]|0)==(c[a+172>>2]|0))if((c[j+16+8>>2]|0)==(c[a+176>>2]|0))if((c[j+16+12>>2]|0)==(c[a+180>>2]|0))if((c[a+164>>2]|0)==(c[157521]|0)){i=j;return}g[j>>2]=+(c[j+16+8>>2]|0);k=+(c[j+16+12>>2]|0);g[j+4>>2]=k;g[j+8>>2]=0.0;g[j+12>>2]=0.0;b=(c[157521]|0)==0;g[j+8>>2]=b?-1.0:1.0;g[j+12>>2]=b?k:0.0;b=c[a+72>>2]|0;do if((b|0)>-1){h=c[157830]|0;if((h|0)!=(a|0)){Hi[c[164101]&1023](c[a+48>>2]|0);c[157830]=a}$i[c[164693]&255](b,1,j);if(h|0){if((c[157830]|0)!=(h|0)){Hi[c[164101]&1023](c[h+48>>2]|0);c[157830]=h}d=c[h+144>>2]|0;b=c[h+140>>2]|0;if((d|0)!=(b|0)){f=0;do{e=c[b+(f<<2)>>2]|0;f=f+1|0;if(e){nda(631040,e,f,0);d=c[h+144>>2]|0;b=c[h+140>>2]|0}}while(f>>>0>2>>>0)}mda(631040,0);break}h=c[157831]|0;b=c[157830]|0;if(!h){if(b|0)Hi[c[164101]&1023](0);c[157830]=0;break}if((b|0)!=(h|0)){Hi[c[164101]&1023](c[h+48>>2]|0);c[157830]=h;d=c[h+144>>2]|0;b=c[h+140>>2]|0;if((d|0)!=(b|0)){f=0;do{e=c[b+(f<<2)>>2]|0;f=f+1|0;if(e){nda(631040,e,f,0);d=c[h+144>>2]|0;b=c[h+140>>2]|0}}while(f>>>0>2>>>0)}mda(631040,0)}}while(0);c[a+164>>2]=c[157521];c[a+168>>2]=c[j+16>>2];c[a+168+4>>2]=c[j+16+4>>2];c[a+168+8>>2]=c[j+16+8>>2];c[a+168+12>>2]=c[j+16+12>>2];i=j;return}function mea(a,b){a=a|0;b=+b;var d=0,e=0,f=0,h=0,i=0;if(+g[a+184>>2]==b)return;d=c[a+68>>2]|0;do if((d|0)>-1){i=c[157830]|0;if((i|0)!=(a|0)){Hi[c[164101]&1023](c[a+48>>2]|0);c[157830]=a}pi[c[164224]&31](d,b);if(i|0){if((c[157830]|0)!=(i|0)){Hi[c[164101]&1023](c[i+48>>2]|0);c[157830]=i}e=c[i+144>>2]|0;d=c[i+140>>2]|0;if((e|0)!=(d|0)){h=0;do{f=c[d+(h<<2)>>2]|0;h=h+1|0;if(f){nda(631040,f,h,0);e=c[i+144>>2]|0;d=c[i+140>>2]|0}}while(h>>>0>2>>>0)}mda(631040,0);break}i=c[157831]|0;d=c[157830]|0;if(!i){if(d|0)Hi[c[164101]&1023](0);c[157830]=0;break}if((d|0)!=(i|0)){Hi[c[164101]&1023](c[i+48>>2]|0);c[157830]=i;e=c[i+144>>2]|0;d=c[i+140>>2]|0;if((e|0)!=(d|0)){h=0;do{f=c[d+(h<<2)>>2]|0;h=h+1|0;if(f){nda(631040,f,h,0);e=c[i+144>>2]|0;d=c[i+140>>2]|0}}while(h>>>0>2>>>0)}mda(631040,0)}}while(0);g[a+184>>2]=b;return}function nea(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0;g=i;i=i+16|0;if((c[157830]|0)==(a|0))Hi[c[164101]&1023](0);b=c[a+48>>2]|0;if(b|0){Hi[c[163740]&1023](b);c[a+48>>2]=0}e=c[a+144>>2]|0;f=c[a+140>>2]|0;if((e|0)==(f|0))b=e;else{b=c[157857]|0;d=0;do{if(c[f+(d<<2)>>2]|0){h=b+(d<<2)|0;j=(c[h>>2]|0)+-1|0;c[h>>2]=(j|0)<0?0:j}d=d+1|0}while(d>>>0>2>>>0);b=f}if((e|0)!=(f|0))c[a+144>>2]=e+(~((e+-4-b|0)>>>2)<<2);b=(vda(631040)|0)+-1|0;c[g>>2]=0;d=c[a+144>>2]|0;e=c[a+140>>2]|0;if(b>>>0>d-e>>2>>>0)Sca(a+140|0,b-(d-e>>2)|0,g);else if(b>>>0>2>>>0)if((d|0)!=(e+(b<<2)|0))c[a+144>>2]=d+(~((d+-4-(e+(b<<2))|0)>>>2)<<2);$da(a+104|0,c[a+108>>2]|0);c[a+112>>2]=0;c[a+104>>2]=a+108;c[a+108>>2]=0;aea(a+116|0,c[a+120>>2]|0);c[a+124>>2]=0;c[a+116>>2]=a+120;c[a+120>>2]=0;b=a+52|0;d=b+36|0;do{c[b>>2]=-1;b=b+4|0}while((b|0)<(d|0));bea(a+36|0,c[a+40>>2]|0);c[a+44>>2]=0;c[a+36>>2]=a+40;c[a+40>>2]=0;i=g;return}function oea(a){a=a|0;Zda(a+-8|0);return}function pea(a){a=a|0;Zda(a+-8|0);oAb(a+-8|0);return}function qea(a){a=a|0;dea(a+-8|0)|0;return 1}function rea(a){a=a|0;nea(a+-8|0);return}function sea(){var b=0,d=0,e=0,f=0,g=0;g=i;i=i+16|0;b=631332;d=b+48|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(d|0));b=631380;d=b+48|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(d|0));c[157857]=0;c[157858]=0;c[157859]=0;a[631448]=0;a[631460]=0;a[631472]=0;a[631484]=0;c[157872]=0;c[157873]=0;b=a[435865]|0;if(!(b<<24>>24))d=5381;else{e=435865;d=5381;do{e=e+1|0;d=(d*33|0)+(b<<24>>24)|0;b=a[e>>0]|0}while(b<<24>>24!=0)}b=d&3;if(!(a[631440+(b*12|0)+8>>0]|0)){d=b;b=631440+(b*12|0)+8|0;f=5}else{b=d+1&3;if(!(a[631440+(b*12|0)+8>>0]|0)){d=b;b=631440+(b*12|0)+8|0;f=5}else{b=d+2&3;if(!(a[631440+(b*12|0)+8>>0]|0)){d=b;b=631440+(b*12|0)+8|0;f=5}else{b=d+3&3;if(!(a[631440+(b*12|0)+8>>0]|0)){d=b;b=631440+(b*12|0)+8|0;f=5}}}}if((f|0)==5){a[b>>0]=1;c[631440+(d*12|0)>>2]=435865;c[631440+(d*12|0)+4>>2]=0}if(0>1){c[g>>2]=435865;c[g+4>>2]=0;vpb(441068,g)|0}else c[157872]=435865;b=a[435872]|0;if(!(b<<24>>24))d=5381;else{e=435872;d=5381;do{e=e+1|0;d=(d*33|0)+(b<<24>>24)|0;b=a[e>>0]|0}while(b<<24>>24!=0)}b=d&3;if(!(a[631440+(b*12|0)+8>>0]|0)){d=b;b=631440+(b*12|0)+8|0;f=17}else{b=d+1&3;if(!(a[631440+(b*12|0)+8>>0]|0)){d=b;b=631440+(b*12|0)+8|0;f=17}else{b=d+2&3;if(!(a[631440+(b*12|0)+8>>0]|0)){d=b;b=631440+(b*12|0)+8|0;f=17}else{b=d+3&3;if(!(a[631440+(b*12|0)+8>>0]|0)){d=b;b=631440+(b*12|0)+8|0;f=17}}}}if((f|0)==17){a[b>>0]=1;c[631440+(d*12|0)>>2]=435872;c[631440+(d*12|0)+4>>2]=1}if(1>1){c[g+8>>2]=435872;c[g+8+4>>2]=1;vpb(441068,g+8|0)|0}else c[157873]=435872;a[631868]=0;a[631880]=0;a[631892]=0;a[631904]=0;a[631916]=0;a[631928]=0;a[631940]=0;a[631952]=0;a[631964]=0;a[631976]=0;c[157995]=0;c[157996]=0;c[157997]=0;c[157998]=0;c[157999]=0;tea(631860,435878,0)|0;tea(631860,435884,1)|0;tea(631860,435888,2)|0;tea(631860,435893,3)|0;tea(631860,439634,4)|0;a[631504]=0;a[631516]=0;a[631528]=0;a[631540]=0;a[631552]=0;a[631564]=0;a[631576]=0;a[631588]=0;c[157898]=0;c[157899]=0;c[157900]=0;c[157901]=0;uea(631496,435899,0)|0;uea(631496,435914,1)|0;uea(631496,435929,2)|0;uea(631496,435941,3)|0;vea(631608,24076,72);i=g;return}function tea(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;f=a[d>>0]|0;if(!(f<<24>>24))g=5381;else{h=d;g=5381;do{h=h+1|0;g=(g*33|0)+(f<<24>>24)|0;f=a[h>>0]|0}while(f<<24>>24!=0)}f=(g>>>0)%10|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+1|0)>>>0)%10|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+2|0)>>>0)%10|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+3|0)>>>0)%10|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+4|0)>>>0)%10|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+5|0)>>>0)%10|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+6|0)>>>0)%10|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+7|0)>>>0)%10|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+8|0)>>>0)%10|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+9|0)>>>0)%10|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else f=0}}}}}}}}}if((j|0)==5){a[f>>0]=1;c[b+(g*12|0)>>2]=d;c[b+(g*12|0)+4>>2]=e;f=1}if(e>>>0>4){c[k>>2]=d;c[k+4>>2]=e;vpb(441068,k)|0;j=0;i=k;return j|0}else{c[b+120+(e<<2)>>2]=d;j=f;i=k;return j|0}return 0}function uea(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;f=a[d>>0]|0;if(!(f<<24>>24))g=5381;else{h=d;g=5381;do{h=h+1|0;g=(g*33|0)+(f<<24>>24)|0;f=a[h>>0]|0}while(f<<24>>24!=0)}f=g&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+1&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+2&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+3&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+4&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+5&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+6&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=g+7&7;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else f=0}}}}}}}if((j|0)==5){a[f>>0]=1;c[b+(g*12|0)>>2]=d;c[b+(g*12|0)+4>>2]=e;f=1}if(e>>>0>3){c[k>>2]=d;c[k+4>>2]=e;vpb(441068,k)|0;j=0;i=k;return j|0}else{c[b+96+(e<<2)>>2]=d;j=f;i=k;return j|0}return 0}function vea(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;a[b+8>>0]=0;a[b+20>>0]=0;a[b+32>>0]=0;a[b+44>>0]=0;a[b+56>>0]=0;a[b+68>>0]=0;a[b+80>>0]=0;a[b+92>>0]=0;a[b+104>>0]=0;a[b+116>>0]=0;a[b+128>>0]=0;a[b+140>>0]=0;a[b+152>>0]=0;a[b+164>>0]=0;a[b+176>>0]=0;a[b+188>>0]=0;a[b+200>>0]=0;a[b+212>>0]=0;f=b+216|0;g=f+36|0;do{c[f>>2]=0;f=f+4|0}while((f|0)<(g|0));if(!(e>>>3)){i=n;return}else l=0;do{j=c[d+(l<<3)>>2]|0;k=c[d+(l<<3)+4>>2]|0;f=a[j>>0]|0;if(!(f<<24>>24))g=5381;else{h=j;g=5381;do{h=h+1|0;g=(g*33|0)+(f<<24>>24)|0;f=a[h>>0]|0}while(f<<24>>24!=0)}h=0;do{f=((h+g|0)>>>0)%18|0;h=h+1|0;if(!(a[b+(f*12|0)+8>>0]|0)){m=8;break}}while(h>>>0<18);if((m|0)==8){m=0;a[b+(f*12|0)+8>>0]=1;c[b+(f*12|0)>>2]=j;c[b+(f*12|0)+4>>2]=k}if(k>>>0>8){c[n>>2]=j;c[n+4>>2]=k;vpb(441068,n)|0}else c[b+216+(k<<2)>>2]=j;l=l+1|0}while((l|0)!=(e>>>3|0));i=n;return}function wea(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+16|0;Jj(b);Gga(b+8|0);c[b>>2]=24028;c[b+8>>2]=24060;Hqb(b+12|0,d);Hqb(b+24|0,d+12|0);c[b+40>>2]=0;c[b+44>>2]=0;c[b+36>>2]=b+40;c[b+108>>2]=0;c[b+112>>2]=0;e=b+48|0;f=e+56|0;do{c[e>>2]=0;e=e+4|0}while((e|0)<(f|0));c[b+104>>2]=b+108;c[b+120>>2]=0;c[b+124>>2]=0;c[b+116>>2]=b+120;c[b+132>>2]=0;c[b+136>>2]=0;c[b+128>>2]=b+132;c[b+140>>2]=0;c[b+144>>2]=0;c[b+148>>2]=0;c[b+156>>2]=0;c[b+160>>2]=0;c[b+152>>2]=b+156;c[b+164>>2]=-1;c[b+168>>2]=0;c[b+168+4>>2]=0;c[b+168+8>>2]=0;c[b+168+12>>2]=0;c[b+168+16>>2]=0;Fua(b+188|0);Fua(b+252|0);c[b+316>>2]=0;c[b+316+4>>2]=0;c[b+316+8>>2]=0;f=a[d>>0]|0;if(!(((f&1)==0?(f&255)>>>1:c[d+4>>2]|0)|0)){f=a[d+12>>0]|0;if(!(((f&1)==0?(f&255)>>>1:c[d+16>>2]|0)|0)){b=nf(16)|0;ds(b,436117,g);zc(b|0,96,27)}}e=c[157858]|0;f=c[157857]|0;if((e-f>>2|0)>=((vda(631040)|0)+-1|0)){f=c[b>>2]|0;f=f+16|0;f=c[f>>2]|0;vi[f&2047](b)|0;i=g;return}d=(vda(631040)|0)+-1|0;c[g+4>>2]=0;e=c[157858]|0;f=c[157857]|0;if(d>>>0>e-f>>2>>>0){xea(631428,d-(e-f>>2)|0,g+4|0);f=c[b>>2]|0;f=f+16|0;f=c[f>>2]|0;vi[f&2047](b)|0;i=g;return}if(d>>>0>=e-f>>2>>>0){f=c[b>>2]|0;f=f+16|0;f=c[f>>2]|0;vi[f&2047](b)|0;i=g;return}if((e|0)==(f+(d<<2)|0)){f=c[b>>2]|0;f=f+16|0;f=c[f>>2]|0;vi[f&2047](b)|0;i=g;return}c[157858]=e+(~((e+-4-(f+(d<<2))|0)>>>2)<<2);f=c[b>>2]|0;f=f+16|0;f=c[f>>2]|0;vi[f&2047](b)|0;i=g;return}function xea(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=c[a+8>>2]|0;g=c[a+4>>2]|0;if(e-g>>2>>>0>=b>>>0){e=b;f=g;while(1){c[f>>2]=c[d>>2];e=e+-1|0;if(!e)break;else f=f+4|0}c[a+4>>2]=g+(b<<2);return}l=c[a>>2]|0;if(((g-l>>2)+b|0)>>>0>1073741823)jzb(a);if(e-l>>2>>>0<536870911){e=e-l>>1>>>0<((g-l>>2)+b|0)>>>0?(g-l>>2)+b|0:e-l>>1;g=c[a+4>>2]|0;if(!e){j=0;e=0;f=g-l>>2;i=g}else{h=g;f=g-l>>2;k=9}}else{f=c[a+4>>2]|0;e=1073741823;h=f;f=f-l>>2;k=9}if((k|0)==9){j=e;e=YAb(e<<2)|0;i=h}h=e+(f<<2)|0;f=e+(j<<2)|0;e=b;g=h;while(1){c[g>>2]=c[d>>2];e=e+-1|0;if(!e)break;else g=g+4|0}d=i-l|0;mBb(h+(0-(d>>2)<<2)|0,l|0,d|0)|0;c[a>>2]=h+(0-(d>>2)<<2);c[a+4>>2]=h+(b<<2);c[a+8>>2]=f;if(!l)return;oAb(l);return}function yea(){var a=0,b=0,d=0,e=0,f=0;f=c[157831]|0;a=c[157830]|0;if(!f){if(a|0)Hi[c[164101]&1023](0);c[157830]=0;return}if((a|0)==(f|0))return;Hi[c[164101]&1023](c[f+48>>2]|0);c[157830]=f;b=c[f+144>>2]|0;a=c[f+140>>2]|0;if((b|0)!=(a|0)){e=0;do{d=c[a+(e<<2)>>2]|0;e=e+1|0;if(d){nda(631040,d,e,0);b=c[f+144>>2]|0;a=c[f+140>>2]|0}}while(e>>>0>2>>>0)}mda(631040,0);return}function zea(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if((c[157830]|0)!=(a|0)){Hi[c[164101]&1023](c[a+48>>2]|0);c[157830]=a}if(b)return;d=c[a+144>>2]|0;b=c[a+140>>2]|0;if((d|0)!=(b|0)){f=0;do{e=c[b+(f<<2)>>2]|0;f=f+1|0;if(e){nda(631040,e,f,0);d=c[a+144>>2]|0;b=c[a+140>>2]|0}}while(f>>>0>2>>>0)}mda(631040,0);return}function Aea(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;g=i;i=i+64|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;e=c[d+36>>2]|0;if((e|0)==(d+40|0)){gea(g,d);e=a[g>>0]|0;h=e&1;h=h<<24>>24==0;f=g+8|0;f=c[f>>2]|0;d=g+1|0;f=h?d:f;d=g+4|0;d=c[d>>2]|0;e=e&255;e=e>>>1;d=h?e:d;Vqb(b,f,d)|0;Mqb(g);i=g;return}f=e;while(1){e=c[f+16>>2]|0;if(e>>>0<=1){e=c[631488+(e<<2)>>2]|0;if(e|0){Iqb(g+24|0,e,rnb(e)|0);Iqb(g+12|0,436155,9);e=a[g+12>>0]|0;e=Vqb(g+24|0,(e&1)==0?g+12+1|0:c[g+12+8>>2]|0,(e&1)==0?(e&255)>>>1:c[g+12+4>>2]|0)|0;c[g+36>>2]=c[e>>2];c[g+36+4>>2]=c[e+4>>2];c[g+36+8>>2]=c[e+8>>2];c[e>>2]=0;c[e+4>>2]=0;c[e+8>>2]=0;e=f+20|0;h=a[e>>0]|0;h=Vqb(g+36|0,(h&1)==0?e+1|0:c[f+28>>2]|0,(h&1)==0?(h&255)>>>1:c[f+24>>2]|0)|0;c[g+48>>2]=c[h>>2];c[g+48+4>>2]=c[h+4>>2];c[g+48+8>>2]=c[h+8>>2];c[h>>2]=0;c[h+4>>2]=0;c[h+8>>2]=0;h=a[g+48>>0]|0;Vqb(b,(h&1)==0?g+48+1|0:c[g+48+8>>2]|0,(h&1)==0?(h&255)>>>1:c[g+48+4>>2]|0)|0;Mqb(g+48|0);Mqb(g+36|0);Mqb(g+12|0);Mqb(g+24|0)}}e=c[f+4>>2]|0;if(!e)while(1){e=c[f+8>>2]|0;if((c[e>>2]|0)==(f|0))break;else f=e}else while(1){f=c[e>>2]|0;if(!f)break;else e=f}if((e|0)==(d+40|0))break;else f=e}gea(g,d);f=a[g>>0]|0;e=f&1;e=e<<24>>24==0;d=g+8|0;d=c[d>>2]|0;h=g+1|0;d=e?h:d;h=g+4|0;h=c[h>>2]|0;f=f&255;f=f>>>1;h=e?f:h;Vqb(b,d,h)|0;Mqb(g);i=g;return}function Bea(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;e=c[b+4>>2]|0;if(e|0){f=a[d>>0]|0;g=(f&1)==0?(f&255)>>>1:c[d+4>>2]|0;f=(f&1)==0?d+1|0:c[d+8>>2]|0;d=b+4|0;a:do{while(1){h=e+16|0;j=a[h>>0]|0;i=(j&1)==0?(j&255)>>>1:c[e+20>>2]|0;h=qmb((j&1)==0?h+1|0:c[e+24>>2]|0,f,g>>>0>>0?g:i)|0;if((((h|0)==0?(i>>>0>>0?-2147483648:0):h)|0)>=0){d=e;break}e=c[e+4>>2]|0;if(!e)break a}e=c[d>>2]|0}while((e|0)!=0);if((d|0)!=(b+4|0)){j=d+16|0;h=a[j>>0]|0;i=(h&1)==0?(h&255)>>>1:c[d+20>>2]|0;j=qmb(f,(h&1)==0?j+1|0:c[d+24>>2]|0,i>>>0>>0?i:g)|0;if((((j|0)==0?(g>>>0>>0?-2147483648:0):j)|0)>=0){j=d;return j|0}}}j=b+4|0;return j|0}function Cea(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=i;i=i+48|0;if(!(c[a+48>>2]|0)){f=nf(16)|0;ds(f,436249,g);zc(f|0,96,27)}switch(c[b+8>>2]|0){case 35669:case 35666:case 35676:case 35673:{a=4;break}case 35665:case 35668:case 35675:case 35672:{a=3;break}case 35671:case 35674:case 35664:case 35667:{a=2;break}default:a=1}if((a|0)!=(d|0)){f=nf(16)|0;c[g+8>>2]=d;c[g+8+4>>2]=a;ds(f,436275,g+8|0);zc(f|0,96,27)}if((e|0)<0|((e|0)>1?(c[b+4>>2]|0)==1:0)){f=nf(16)|0;c[g+16>>2]=c[b+4>>2];c[g+16+4>>2]=e;ds(f,436328,g+16|0);zc(f|0,96,27)}a=c[b+12>>2]|0;if(!((a|0)!=3|(a|0)==(f|0))){f=nf(16)|0;ds(f,436376,g+24|0);zc(f|0,96,27)}if((f|0)==0&(a|0)==1){f=nf(16)|0;ds(f,436431,g+32|0);zc(f|0,96,27)}if((f|0)==1&(a|0)==0){f=nf(16)|0;ds(f,436431,g+32|0);zc(f|0,96,27)}else{i=g;return}}function Dea(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0;k=i;i=i+16|0;j=c[157830]|0;if((j|0)!=(b|0)){Hi[c[164101]&1023](c[b+48>>2]|0);c[157830]=b}h=Bea(b+116|0,d)|0;if((h|0)==(b+120|0)){j=nf(16)|0;c[k>>2]=(a[d>>0]&1)==0?d+1|0:c[d+8>>2]|0;ds(j,436165,k);zc(j|0,96,27)}Cea(b,h+28|0,e,g,1);switch(e|0){case 4:{$i[c[163958]&255](c[h+28>>2]|0,g,f);break}case 3:{$i[c[164086]&255](c[h+28>>2]|0,g,f);break}case 2:{$i[c[164020]&255](c[h+28>>2]|0,g,f);break}default:$i[c[164359]&255](c[h+28>>2]|0,g,f)}if(j|0){if((c[157830]|0)!=(j|0)){Hi[c[164101]&1023](c[j+48>>2]|0);c[157830]=j}g=c[j+144>>2]|0;h=c[j+140>>2]|0;if((g|0)!=(h|0)){e=0;do{d=c[h+(e<<2)>>2]|0;e=e+1|0;if(d){nda(631040,d,e,0);g=c[j+144>>2]|0;h=c[j+140>>2]|0}}while(e>>>0>2>>>0)}mda(631040,0);i=k;return}b=c[157831]|0;h=c[157830]|0;if(!b){if(h|0)Hi[c[164101]&1023](0);c[157830]=0;i=k;return}if((h|0)==(b|0)){i=k;return}Hi[c[164101]&1023](c[b+48>>2]|0);c[157830]=b;g=c[b+144>>2]|0;h=c[b+140>>2]|0;if((g|0)!=(h|0)){e=0;do{d=c[h+(e<<2)>>2]|0;e=e+1|0;if(d){nda(631040,d,e,0);g=c[b+144>>2]|0;h=c[b+140>>2]|0}}while(e>>>0>2>>>0)}mda(631040,0);i=k;return}function Eea(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0;k=i;i=i+16|0;j=c[157830]|0;if((j|0)!=(b|0)){Hi[c[164101]&1023](c[b+48>>2]|0);c[157830]=b}h=Bea(b+116|0,d)|0;if((h|0)==(b+120|0)){j=nf(16)|0;c[k>>2]=(a[d>>0]&1)==0?d+1|0:c[d+8>>2]|0;ds(j,436165,k);zc(j|0,96,27)}Cea(b,h+28|0,e,g,0);switch(e|0){case 4:{$i[c[164693]&255](c[h+28>>2]|0,g,f);break}case 3:{$i[c[164060]&255](c[h+28>>2]|0,g,f);break}case 2:{$i[c[164461]&255](c[h+28>>2]|0,g,f);break}default:$i[c[164653]&255](c[h+28>>2]|0,g,f)}if(j|0){if((c[157830]|0)!=(j|0)){Hi[c[164101]&1023](c[j+48>>2]|0);c[157830]=j}g=c[j+144>>2]|0;h=c[j+140>>2]|0;if((g|0)!=(h|0)){e=0;do{d=c[h+(e<<2)>>2]|0;e=e+1|0;if(d){nda(631040,d,e,0);g=c[j+144>>2]|0;h=c[j+140>>2]|0}}while(e>>>0>2>>>0)}mda(631040,0);i=k;return}b=c[157831]|0;h=c[157830]|0;if(!b){if(h|0)Hi[c[164101]&1023](0);c[157830]=0;i=k;return}if((h|0)==(b|0)){i=k;return}Hi[c[164101]&1023](c[b+48>>2]|0);c[157830]=b;g=c[b+144>>2]|0;h=c[b+140>>2]|0;if((g|0)!=(h|0)){e=0;do{d=c[h+(e<<2)>>2]|0;e=e+1|0;if(d){nda(631040,d,e,0);g=c[b+144>>2]|0;h=c[b+140>>2]|0}}while(e>>>0>2>>>0)}mda(631040,0);i=k;return}function Fea(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0;k=i;i=i+16|0;j=c[157830]|0;if((j|0)!=(b|0)){Hi[c[164101]&1023](c[b+48>>2]|0);c[157830]=b}if((e+-2|0)>>>0>2){j=nf(16)|0;c[k>>2]=e;c[k+4>>2]=e;ds(j,436469,k);zc(j|0,96,27)}h=Bea(b+116|0,d)|0;if((h|0)==(b+120|0)){j=nf(16)|0;c[k+8>>2]=(a[d>>0]&1)==0?d+1|0:c[d+8>>2]|0;ds(j,436165,k+8|0);zc(j|0,96,27)}Cea(b,h+28|0,e,g,0);switch(e|0){case 4:{kj[c[164692]&127](c[h+28>>2]|0,g,0,f);break}case 3:{kj[c[164661]&127](c[h+28>>2]|0,g,0,f);break}default:kj[c[164606]&127](c[h+28>>2]|0,g,0,f)}if(j|0){if((c[157830]|0)!=(j|0)){Hi[c[164101]&1023](c[j+48>>2]|0);c[157830]=j}g=c[j+144>>2]|0;h=c[j+140>>2]|0;if((g|0)!=(h|0)){d=0;do{f=c[h+(d<<2)>>2]|0;d=d+1|0;if(f){nda(631040,f,d,0);g=c[j+144>>2]|0;h=c[j+140>>2]|0}}while(d>>>0>2>>>0)}mda(631040,0);i=k;return}e=c[157831]|0;h=c[157830]|0;if(!e){if(h|0)Hi[c[164101]&1023](0);c[157830]=0;i=k;return}if((h|0)==(e|0)){i=k;return}Hi[c[164101]&1023](c[e+48>>2]|0);c[157830]=e;g=c[e+144>>2]|0;h=c[e+140>>2]|0;if((g|0)!=(h|0)){d=0;do{f=c[h+(d<<2)>>2]|0;d=d+1|0;if(f){nda(631040,f,d,0);g=c[e+144>>2]|0;h=c[e+140>>2]|0}}while(d>>>0>2>>>0)}mda(631040,0);i=k;return}function Gea(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;h=c[(vi[c[(c[e>>2]|0)+52>>2]&2047](e)|0)>>2]|0;j=c[157830]|0;if((j|0)!=(b|0)){Hi[c[164101]&1023](c[b+48>>2]|0);c[157830]=b}g=Hea(b,d)|0;f=Bea(b+116|0,d)|0;if((f|0)==(b+120|0)){j=nf(16)|0;c[k>>2]=(a[d>>0]&1)==0?d+1|0:c[d+8>>2]|0;ds(j,436165,k);zc(j|0,96,27)}Cea(b,f+28|0,1,1,3);nda(631040,h,g,1);si[c[164231]&511](c[f+28>>2]|0,g);f=(c[b+140>>2]|0)+(g+-1<<2)|0;if(!(c[f>>2]|0)){g=(c[157857]|0)+(g+-1<<2)|0;c[g>>2]=(c[g>>2]|0)+1}c[f>>2]=h;Hi[c[(c[e>>2]|0)+8>>2]&1023](e);f=Lea(b+152|0,d)|0;if((f|0)!=(b+156|0)){h=c[f+28>>2]|0;Hi[c[(c[h>>2]|0)+12>>2]&1023](h)}c[(Mea(b+152|0,d)|0)>>2]=e;if(j|0){if((c[157830]|0)!=(j|0)){Hi[c[164101]&1023](c[j+48>>2]|0);c[157830]=j}g=c[j+144>>2]|0;f=c[j+140>>2]|0;if((g|0)!=(f|0)){d=0;do{h=c[f+(d<<2)>>2]|0;d=d+1|0;if(h){nda(631040,h,d,0);g=c[j+144>>2]|0;f=c[j+140>>2]|0}}while(d>>>0>2>>>0)}mda(631040,0);i=k;return}e=c[157831]|0;f=c[157830]|0;if(!e){if(f|0)Hi[c[164101]&1023](0);c[157830]=0;i=k;return}if((f|0)==(e|0)){i=k;return}Hi[c[164101]&1023](c[e+48>>2]|0);c[157830]=e;g=c[e+144>>2]|0;f=c[e+140>>2]|0;if((g|0)!=(f|0)){d=0;do{h=c[f+(d<<2)>>2]|0;d=d+1|0;if(h){nda(631040,h,d,0);g=c[e+144>>2]|0;f=c[e+140>>2]|0}}while(d>>>0>2>>>0)}mda(631040,0);i=k;return}function Hea(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+16|0;d=Iea(a+128|0,b)|0;if((d|0)!=(a+132|0)){a=c[d+28>>2]|0;i=h;return a|0}e=c[157857]|0;f=c[157858]|0;a:do if((e|0)==(f|0)){d=e;g=6}else{d=e;while(1){if(!(c[d>>2]|0)){g=6;break a}d=d+4|0;if((d|0)==(f|0)){g=8;break}}}while(0);if((g|0)==6)if((d|0)==(f|0))g=8;else d=d-e|0;do if((g|0)==8){e=c[a+140>>2]|0;f=c[a+144>>2]|0;b:do if((e|0)==(f|0))d=e;else{d=e;do{if(!(c[d>>2]|0))break b;d=d+4|0}while((d|0)!=(f|0));a=nf(16)|0;ds(a,436537,h);zc(a|0,96,27)}while(0);if((d|0)==(f|0)){a=nf(16)|0;ds(a,436537,h);zc(a|0,96,27)}else{d=d-e|0;break}}while(0);g=(d>>2)+1|0;c[(Jea(a+128|0,b)|0)>>2]=g;a=g;i=h;return a|0}function Iea(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;e=c[b+4>>2]|0;if(e|0){f=a[d>>0]|0;g=(f&1)==0?(f&255)>>>1:c[d+4>>2]|0;f=(f&1)==0?d+1|0:c[d+8>>2]|0;d=b+4|0;a:do{while(1){h=e+16|0;j=a[h>>0]|0;i=(j&1)==0?(j&255)>>>1:c[e+20>>2]|0;h=qmb((j&1)==0?h+1|0:c[e+24>>2]|0,f,g>>>0>>0?g:i)|0;if((((h|0)==0?(i>>>0>>0?-2147483648:0):h)|0)>=0){d=e;break}e=c[e+4>>2]|0;if(!e)break a}e=c[d>>2]|0}while((e|0)!=0);if((d|0)!=(b+4|0)){j=d+16|0;h=a[j>>0]|0;i=(h&1)==0?(h&255)>>>1:c[d+20>>2]|0;j=qmb(f,(h&1)==0?j+1|0:c[d+24>>2]|0,i>>>0>>0?i:g)|0;if((((j|0)==0?(g>>>0>>0?-2147483648:0):j)|0)>=0){j=d;return j|0}}}j=b+4|0;return j|0}function Jea(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;e=Kea(a,g,b)|0;d=c[e>>2]|0;if(d|0){a=d;a=a+28|0;i=g;return a|0}f=YAb(32)|0;Hqb(f+16|0,b);c[f+28>>2]=0;d=c[g>>2]|0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=d;c[e>>2]=f;d=c[c[a>>2]>>2]|0;if(!d)d=f;else{c[a>>2]=d;d=c[e>>2]|0}Fj(c[a+4>>2]|0,d);c[a+8>>2]=(c[a+8>>2]|0)+1;a=f;a=a+28|0;i=g;return a|0}function Kea(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;f=c[b+4>>2]|0;if(!f){c[d>>2]=b+4;d=b+4|0;return d|0}h=a[e>>0]|0;i=(h&1)==0?(h&255)>>>1:c[e+4>>2]|0;h=(h&1)==0?e+1|0:c[e+8>>2]|0;while(1){e=f+16|0;g=a[e>>0]|0;b=(g&1)==0?(g&255)>>>1:c[f+20>>2]|0;e=(g&1)==0?e+1|0:c[f+24>>2]|0;g=qmb(h,e,b>>>0>>0?b:i)|0;if((((g|0)==0?(i>>>0>>0?-2147483648:0):g)|0)<0){b=c[f>>2]|0;if(!b){b=f;e=5;break}else f=b}else{g=qmb(e,h,i>>>0>>0?i:b)|0;if((((g|0)==0?(b>>>0>>0?-2147483648:0):g)|0)>=0){e=10;break}g=f+4|0;b=c[g>>2]|0;if(!b){e=9;break}else f=b}}if((e|0)==5){c[d>>2]=f;d=b;return d|0}else if((e|0)==9){c[d>>2]=f;d=g;return d|0}else if((e|0)==10){c[d>>2]=f;return d|0}return 0}function Lea(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;e=c[b+4>>2]|0;if(e|0){f=a[d>>0]|0;g=(f&1)==0?(f&255)>>>1:c[d+4>>2]|0;f=(f&1)==0?d+1|0:c[d+8>>2]|0;d=b+4|0;a:do{while(1){h=e+16|0;j=a[h>>0]|0;i=(j&1)==0?(j&255)>>>1:c[e+20>>2]|0;h=qmb((j&1)==0?h+1|0:c[e+24>>2]|0,f,g>>>0>>0?g:i)|0;if((((h|0)==0?(i>>>0>>0?-2147483648:0):h)|0)>=0){d=e;break}e=c[e+4>>2]|0;if(!e)break a}e=c[d>>2]|0}while((e|0)!=0);if((d|0)!=(b+4|0)){j=d+16|0;h=a[j>>0]|0;i=(h&1)==0?(h&255)>>>1:c[d+20>>2]|0;j=qmb(f,(h&1)==0?j+1|0:c[d+24>>2]|0,i>>>0>>0?i:g)|0;if((((j|0)==0?(g>>>0>>0?-2147483648:0):j)|0)>=0){j=d;return j|0}}}j=b+4|0;return j|0}function Mea(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;e=Nea(a,g,b)|0;d=c[e>>2]|0;if(d|0){a=d;a=a+28|0;i=g;return a|0}f=YAb(32)|0;Hqb(f+16|0,b);c[f+28>>2]=0;d=c[g>>2]|0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=d;c[e>>2]=f;d=c[c[a>>2]>>2]|0;if(!d)d=f;else{c[a>>2]=d;d=c[e>>2]|0}Fj(c[a+4>>2]|0,d);c[a+8>>2]=(c[a+8>>2]|0)+1;a=f;a=a+28|0;i=g;return a|0}function Nea(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;f=c[b+4>>2]|0;if(!f){c[d>>2]=b+4;d=b+4|0;return d|0}h=a[e>>0]|0;i=(h&1)==0?(h&255)>>>1:c[e+4>>2]|0;h=(h&1)==0?e+1|0:c[e+8>>2]|0;while(1){e=f+16|0;g=a[e>>0]|0;b=(g&1)==0?(g&255)>>>1:c[f+20>>2]|0;e=(g&1)==0?e+1|0:c[f+24>>2]|0;g=qmb(h,e,b>>>0>>0?b:i)|0;if((((g|0)==0?(i>>>0>>0?-2147483648:0):g)|0)<0){b=c[f>>2]|0;if(!b){b=f;e=5;break}else f=b}else{g=qmb(e,h,i>>>0>>0?i:b)|0;if((((g|0)==0?(b>>>0>>0?-2147483648:0):g)|0)>=0){e=10;break}g=f+4|0;b=c[g>>2]|0;if(!b){e=9;break}else f=b}}if((e|0)==5){c[d>>2]=f;d=b;return d|0}else if((e|0)==9){c[d>>2]=f;d=g;return d|0}else if((e|0)==10){c[d>>2]=f;return d|0}return 0}function Oea(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=Pea(a+116|0,b)|0;if((f|0)==(a+120|0)){c[d>>2]=0;c[e>>2]=0;e=4;return e|0}switch(c[f+36>>2]|0){case 35669:case 35666:case 35676:case 35673:{b=4;break}case 35665:case 35668:case 35675:case 35672:{b=3;break}case 35671:case 35674:case 35664:case 35667:{b=2;break}default:b=1}c[d>>2]=b;c[e>>2]=c[f+32>>2];e=c[f+40>>2]|0;return e|0}function Pea(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;e=c[b+4>>2]|0;if(e|0){f=a[d>>0]|0;g=(f&1)==0?(f&255)>>>1:c[d+4>>2]|0;f=(f&1)==0?d+1|0:c[d+8>>2]|0;d=b+4|0;a:do{while(1){h=e+16|0;j=a[h>>0]|0;i=(j&1)==0?(j&255)>>>1:c[e+20>>2]|0;h=qmb((j&1)==0?h+1|0:c[e+24>>2]|0,f,g>>>0>>0?g:i)|0;if((((h|0)==0?(i>>>0>>0?-2147483648:0):h)|0)>=0){d=e;break}e=c[e+4>>2]|0;if(!e)break a}e=c[d>>2]|0}while((e|0)!=0);if((d|0)!=(b+4|0)){j=d+16|0;h=a[j>>0]|0;i=(h&1)==0?(h&255)>>>1:c[d+20>>2]|0;j=qmb(f,(h&1)==0?j+1|0:c[d+24>>2]|0,i>>>0>>0?i:g)|0;if((((j|0)==0?(g>>>0>>0?-2147483648:0):j)|0)>=0){j=d;return j|0}}}j=b+4|0;return j|0}function Qea(b,d){b=b|0;d=d|0;var e=0;e=Iea(b+104|0,d)|0;if((e|0)==(b+108|0)){e=Xi[c[163952]&511](c[b+48>>2]|0,(a[d>>0]&1)==0?d+1|0:c[d+8>>2]|0)|0;c[(Jea(b+104|0,d)|0)>>2]=e;b=e;return b|0}else{b=c[e+28>>2]|0;return b|0}return 0}function Rea(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;n=c[157830]|0;if((n|0)!=(a|0)){Hi[c[164101]&1023](c[a+48>>2]|0);c[157830]=a}f=c[a+316>>2]|0;if(!f){g=c[a+76>>2]|0;j=c[a+80>>2]|0;l=c[a+84>>2]|0;f=c[157962]|0;h=c[157963]|0;k=c[157964]|0;if(!((g|0)<0|(f|0)==0)){Iqb(o,f,rnb(f)|0);c[a+316>>2]=Hea(a,o)|0;Mqb(o);f=c[a+316>>2]|0;if(!(c[(c[a+140>>2]|0)+(f+-1<<2)>>2]|0)){f=(c[157857]|0)+(f+-1<<2)|0;c[f>>2]=(c[f>>2]|0)+1;f=c[a+316>>2]|0}si[c[164231]&511](g,f)}if(!((j|0)<0|(h|0)==0)){Iqb(o,h,rnb(h)|0);c[a+320>>2]=Hea(a,o)|0;Mqb(o);f=c[a+320>>2]|0;if(!(c[(c[a+140>>2]|0)+(f+-1<<2)>>2]|0)){f=(c[157857]|0)+(f+-1<<2)|0;c[f>>2]=(c[f>>2]|0)+1;f=c[a+320>>2]|0}si[c[164231]&511](j,f)}if(!((l|0)<0|(k|0)==0)){Iqb(o,k,rnb(k)|0);c[a+324>>2]=Hea(a,o)|0;Mqb(o);f=c[a+324>>2]|0;if(!(c[(c[a+140>>2]|0)+(f+-1<<2)>>2]|0)){f=(c[157857]|0)+(f+-1<<2)|0;c[f>>2]=(c[f>>2]|0)+1;f=c[a+324>>2]|0}si[c[164231]&511](l,f)}f=c[a+316>>2]|0;if(!f)g=a+140|0;else{g=a+140|0;m=11}}else{g=a+140|0;m=11}if((m|0)==11){c[(c[g>>2]|0)+(f+-1<<2)>>2]=b;nda(631040,b,c[a+316>>2]|0,0)}f=c[a+320>>2]|0;if(f|0){c[(c[g>>2]|0)+(f+-1<<2)>>2]=d;nda(631040,d,c[a+320>>2]|0,0)}f=c[a+324>>2]|0;if(f|0){c[(c[g>>2]|0)+(f+-1<<2)>>2]=e;nda(631040,e,c[a+324>>2]|0,0)}mda(631040,0);if(n|0){if((c[157830]|0)!=(n|0)){Hi[c[164101]&1023](c[n+48>>2]|0);c[157830]=n}f=c[n+144>>2]|0;g=c[n+140>>2]|0;if((f|0)!=(g|0)){j=0;do{h=c[g+(j<<2)>>2]|0;j=j+1|0;if(h){nda(631040,h,j,0);f=c[n+144>>2]|0;g=c[n+140>>2]|0}}while(j>>>0>2>>>0)}mda(631040,0);i=o;return}k=c[157831]|0;f=c[157830]|0;if(!k){if(f|0)Hi[c[164101]&1023](0);c[157830]=0;i=o;return}if((f|0)==(k|0)){i=o;return}Hi[c[164101]&1023](c[k+48>>2]|0);c[157830]=k;f=c[k+144>>2]|0;g=c[k+140>>2]|0;if((f|0)!=(g|0)){j=0;do{h=c[g+(j<<2)>>2]|0;j=j+1|0;if(h){nda(631040,h,j,0);f=c[k+144>>2]|0;g=c[k+140>>2]|0}}while(j>>>0>2>>>0)}mda(631040,0);i=o;return}function Sea(a,b){a=a|0;b=b|0;if(a>>>0>4)a=0;else{a=c[631980+(a<<2)>>2]|0;if(!a)a=0;else{c[b>>2]=a;a=1}}return a|0}function Tea(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=a[b>>0]|0;if(!(e<<24>>24))f=5381;else{g=b;f=5381;do{g=g+1|0;f=(f*33|0)+(e<<24>>24)|0;e=a[g>>0]|0}while(e<<24>>24!=0)}j=0;while(1){i=j+f&7;if(!(a[631496+(i*12|0)+8>>0]|0)){e=1;f=0;k=11;break}g=c[631496+(i*12|0)>>2]|0;h=a[g>>0]|0;a:do if(!(h<<24>>24)){e=b;k=8}else{e=b;while(1){l=a[e>>0]|0;if(!(l<<24>>24?h<<24>>24==l<<24>>24:0))break a;g=g+1|0;e=e+1|0;h=a[g>>0]|0;if(!(h<<24>>24)){k=8;break}}}while(0);if((k|0)==8){k=0;if(!(a[e>>0]|0)){k=9;break}}j=j+1|0;if(j>>>0>=8){e=0;f=0;k=11;break}}if((k|0)==9){c[d>>2]=c[631496+(i*12|0)+4>>2];k=1;l=1;l=k&l;return l|0}else if((k|0)==11){l=e&f;return l|0}return 0}function Uea(a,b){a=a|0;b=b|0;if(a>>>0>3)a=0;else{a=c[631592+(a<<2)>>2]|0;if(!a)a=0;else{c[b>>2]=a;a=1}}return a|0}function Vea(a){a=a|0;var b=0,d=0,e=0;c[a>>2]=24156;b=c[a+20>>2]|0;if(b|0)oAb(b);b=c[a+24>>2]|0;if(b|0)Hi[c[(c[b>>2]|0)+4>>2]&1023](b);b=c[a+40>>2]|0;if(b|0)do{d=b;b=c[b>>2]|0;e=c[d+20>>2]|0;if(e|0)Hi[c[(c[e>>2]|0)+12>>2]&1023](e);Mqb(d+8|0);oAb(d)}while((b|0)!=0);b=c[a+32>>2]|0;c[a+32>>2]=0;if(b|0)oAb(b);S8(a+28|0);b=c[a+8>>2]|0;if(!b)return;Hi[c[(c[b>>2]|0)+12>>2]&1023](b);return}function Wea(a){a=a|0;Vea(a);oAb(a);return}function Xea(b,d,e,f,g,h,j,k,l,m){b=b|0;d=+d;e=+e;f=+f;g=+g;h=+h;j=+j;k=+k;l=+l;m=+m;var n=0,o=0,p=0,q=0,r=0,s=0;r=i;i=i+80|0;if(!(c[b+16>>2]|0)){i=r;return}Xca(631040);o=_ca(631040)|0;Hua(r+8|0,d,e,f,g,h,j,k,l,m);Kua(o,r+8|0);o=c[b+8>>2]|0;Wca(631040,c[(vi[c[(c[o>>2]|0)+52>>2]&2047](o)|0)>>2]|0);o=c[b+24>>2]|0;I8(o);G8(c[b+24>>2]|0);if(!(c[b+20>>2]|0))n=3;else{n=L8(c[b+24>>2]|0,16)|0;Ii[c[163985]&63](2,4,5121,1,20,n);n=7}q=L8(c[b+24>>2]|0,0)|0;Ii[c[163985]&63](0,2,5126,0,20,q);q=L8(c[b+24>>2]|0,8)|0;Ii[c[163985]&63](1,2,5126,0,20,q);J8(o);o=c[b+40>>2]|0;a:do if(o){while(1){q=o;p=c[q+20>>2]|0;s=hca(p)|0;if(s>>>0>2]<<2>>>0)break;s=Mba(p,c[q+24>>2]|0,q+8|0)|0;n=((s|0)>-1?1<>2]|0;if(!o)break a}n=nf(16)|0;if(!(a[q+8>>0]&1)){s=q+8+1|0;c[r>>2]=s;ds(n,436618,r);zc(n|0,96,27)}else{s=c[q+16>>2]|0;c[r>>2]=s;ds(n,436618,r);zc(n|0,96,27)}}while(0);Uca(631040,n);$ca(631040);s=W8(b+28|0)|0;I8(s);p=U8(b+28|0,c[b+16>>2]|0)|0;q=P8(b+28|0,c[157675]|0)|0;bda(631040,4,p,q,X8(b+28|0,0)|0);J8(s);Zca(631040);i=r;return}function Yea(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,jb=0,kb=0,lb=0,mb=0,nb=0,ob=0,pb=0,qb=0,rb=0,sb=0,tb=0,ub=0,vb=0,wb=0,xb=0,yb=0,zb=0,Ab=0,Bb=0,Cb=0,Db=0,Eb=0,Fb=0,Gb=0,Hb=0,Ib=0,Jb=0,Kb=0,Lb=0,Mb=0,Nb=0,Ob=0,Pb=0,Qb=0,Rb=0,Sb=0,Tb=0,Ub=0,Vb=0,Wb=0,Xb=0,Yb=0,Zb=0,_b=0,$b=0,ac=0,bc=0,cc=0,dc=0,ec=0,fc=0,gc=0,hc=0,ic=0,jc=0,kc=0,lc=0,mc=0,nc=0,oc=0,pc=0,qc=0,rc=0,sc=0,tc=0,uc=0,vc=0,wc=0,xc=0,yc=0,zc=0,Ac=0,Bc=0,Cc=0,Dc=0,Ec=0,Fc=0,Gc=0,Hc=0,Ic=0,Jc=0,Kc=0,Lc=0,Mc=0,Nc=0,Oc=0,Pc=0,Qc=0,Rc=0,Sc=0,Tc=0,Uc=0,Vc=0,Wc=0,Xc=0,Yc=0,Zc=0,_c=0,$c=0,ad=0,bd=0,cd=0,dd=0,ed=0,fd=0,gd=0,hd=0,id=0,jd=0,kd=0,ld=0,md=0,nd=0,od=0,pd=0,qd=0,rd=0,sd=0,td=0,ud=0,vd=0,wd=0,xd=0,yd=0,zd=0,Ad=0,Bd=0,Cd=0,Dd=0,Ed=0,Fd=0,Gd=0,Hd=0,Id=0,Jd=0,Kd=0,Ld=0,Md=0,Nd=0,Od=0,Pd=0,Qd=0,Rd=0,Sd=0,Td=0,Ud=0,Vd=0,Wd=0,Xd=0,Yd=0,Zd=0,_d=0,$d=0,ae=0,be=0,ce=0,de=0,ee=0,fe=0,ge=0,he=0,ie=0,je=0,ke=0,le=0,me=0,ne=0,oe=0,pe=0,qe=0,re=0,se=0,te=0,ue=0,ve=0,we=0,xe=0,ye=0,ze=0,Ae=0,Be=0,Ce=0,De=0,Ee=0,Fe=0;Fe=c[a+32>>2]|0;O=c[a+14624>>2]|0;a:{do if(!O){c[a>>2]=Fe+4;U=Fe+4|0;T=Fe+4|0;M=2052}else{M=O;while(1){d=c[M+16>>2]|0;if((d|0)>1073742049){d=c[M>>2]|0;if(!d){N=M;S=M;M=2045;break}}else{if((d|0)>=1073742049){Q=M;M=2051;break}P=M+4|0;d=c[P>>2]|0;if(!d){R=M;M=2049;break}}M=d}if((M|0)==2045){c[a>>2]=S;U=N;T=S;M=2052;break}else if((M|0)==2049){c[a>>2]=R;U=P;T=R;M=2052;break}else if((M|0)==2051){c[a>>2]=Q;if(!Q){U=a;T=Q;M=2052;break}else{V=O;L=Q;break}}}while(0);if((M|0)==2052){L=YAb(24)|0;c[L+16>>2]=1073742049;c[L+20>>2]=0;c[L>>2]=0;c[L+4>>2]=0;c[L+8>>2]=T;c[U>>2]=L;d=c[c[Fe>>2]>>2]|0;if(!d)d=L;else{c[Fe>>2]=d;d=c[U>>2]|0}Fj(c[Fe+4>>2]|0,d);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;V=c[Fe+4>>2]|0}c[L+20>>2]=158;do if(!V){c[a>>2]=Fe+4;aa=Fe+4|0;$=Fe+4|0;M=2065}else{L=V;while(1){d=c[L+16>>2]|0;if((d|0)>1073742050){d=c[L>>2]|0;if(!d){W=L;_=L;M=2058;break}}else{if((d|0)>=1073742050){Y=L;M=2064;break}X=L+4|0;d=c[X>>2]|0;if(!d){Z=L;M=2062;break}}L=d}if((M|0)==2058){c[a>>2]=_;aa=W;$=_;M=2065;break}else if((M|0)==2062){c[a>>2]=Z;aa=X;$=Z;M=2065;break}else if((M|0)==2064){c[a>>2]=Y;if(!Y){aa=a;$=Y;M=2065;break}else{ba=V;K=Y;break}}}while(0);if((M|0)==2065){K=YAb(24)|0;c[K+16>>2]=1073742050;c[K+20>>2]=0;c[K>>2]=0;c[K+4>>2]=0;c[K+8>>2]=$;c[aa>>2]=K;d=c[c[Fe>>2]>>2]|0;if(!d)d=K;else{c[Fe>>2]=d;d=c[aa>>2]|0}Fj(c[Fe+4>>2]|0,d);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;ba=c[Fe+4>>2]|0}c[K+20>>2]=159;do if(!ba){c[a>>2]=Fe+4;ia=Fe+4|0;ha=Fe+4|0;M=2078}else{K=ba;while(1){d=c[K+16>>2]|0;if((d|0)>1073742051){d=c[K>>2]|0;if(!d){ca=K;ga=K;M=2071;break}}else{if((d|0)>=1073742051){ea=K;M=2077;break}da=K+4|0;d=c[da>>2]|0;if(!d){fa=K;M=2075;break}}K=d}if((M|0)==2071){c[a>>2]=ga;ia=ca;ha=ga;M=2078;break}else if((M|0)==2075){c[a>>2]=fa;ia=da;ha=fa;M=2078;break}else if((M|0)==2077){c[a>>2]=ea;if(!ea){ia=a;ha=ea;M=2078;break}else{ja=ba;J=ea;break}}}while(0);if((M|0)==2078){J=YAb(24)|0;c[J+16>>2]=1073742051;c[J+20>>2]=0;c[J>>2]=0;c[J+4>>2]=0;c[J+8>>2]=ha;c[ia>>2]=J;d=c[c[Fe>>2]>>2]|0;if(!d)d=J;else{c[Fe>>2]=d;d=c[ia>>2]|0}Fj(c[Fe+4>>2]|0,d);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;ja=c[Fe+4>>2]|0}c[J+20>>2]=160;do if(!ja){c[a>>2]=Fe+4;qa=Fe+4|0;pa=Fe+4|0;M=2091}else{J=ja;while(1){d=c[J+16>>2]|0;if((d|0)>1073742052){d=c[J>>2]|0;if(!d){ka=J;oa=J;M=2084;break}}else{if((d|0)>=1073742052){ma=J;M=2090;break}la=J+4|0;d=c[la>>2]|0;if(!d){na=J;M=2088;break}}J=d}if((M|0)==2084){c[a>>2]=oa;qa=ka;pa=oa;M=2091;break}else if((M|0)==2088){c[a>>2]=na;qa=la;pa=na;M=2091;break}else if((M|0)==2090){c[a>>2]=ma;if(!ma){qa=a;pa=ma;M=2091;break}else{ra=ja;I=ma;break}}}while(0);if((M|0)==2091){I=YAb(24)|0;c[I+16>>2]=1073742052;c[I+20>>2]=0;c[I>>2]=0;c[I+4>>2]=0;c[I+8>>2]=pa;c[qa>>2]=I;d=c[c[Fe>>2]>>2]|0;if(!d)d=I;else{c[Fe>>2]=d;d=c[qa>>2]|0}Fj(c[Fe+4>>2]|0,d);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;ra=c[Fe+4>>2]|0}c[I+20>>2]=161;do if(!ra){c[a>>2]=Fe+4;ya=Fe+4|0;xa=Fe+4|0;M=2104}else{I=ra;while(1){d=c[I+16>>2]|0;if((d|0)>1073742053){d=c[I>>2]|0;if(!d){sa=I;wa=I;M=2097;break}}else{if((d|0)>=1073742053){ua=I;M=2103;break}ta=I+4|0;d=c[ta>>2]|0;if(!d){va=I;M=2101;break}}I=d}if((M|0)==2097){c[a>>2]=wa;ya=sa;xa=wa;M=2104;break}else if((M|0)==2101){c[a>>2]=va;ya=ta;xa=va;M=2104;break}else if((M|0)==2103){c[a>>2]=ua;if(!ua){ya=a;xa=ua;M=2104;break}else{za=ra;H=ua;break}}}while(0);if((M|0)==2104){H=YAb(24)|0;c[H+16>>2]=1073742053;c[H+20>>2]=0;c[H>>2]=0;c[H+4>>2]=0;c[H+8>>2]=xa;c[ya>>2]=H;d=c[c[Fe>>2]>>2]|0;if(!d)d=H;else{c[Fe>>2]=d;d=c[ya>>2]|0}Fj(c[Fe+4>>2]|0,d);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;za=c[Fe+4>>2]|0}c[H+20>>2]=162;do if(!za){c[a>>2]=Fe+4;Ga=Fe+4|0;Fa=Fe+4|0;M=2117}else{H=za;while(1){d=c[H+16>>2]|0;if((d|0)>1073742054){d=c[H>>2]|0;if(!d){Aa=H;Ea=H;M=2110;break}}else{if((d|0)>=1073742054){Ca=H;M=2116;break}Ba=H+4|0;d=c[Ba>>2]|0;if(!d){Da=H;M=2114;break}}H=d}if((M|0)==2110){c[a>>2]=Ea;Ga=Aa;Fa=Ea;M=2117;break}else if((M|0)==2114){c[a>>2]=Da;Ga=Ba;Fa=Da;M=2117;break}else if((M|0)==2116){c[a>>2]=Ca;if(!Ca){Ga=a;Fa=Ca;M=2117;break}else{Ha=za;G=Ca;break}}}while(0);if((M|0)==2117){G=YAb(24)|0;c[G+16>>2]=1073742054;c[G+20>>2]=0;c[G>>2]=0;c[G+4>>2]=0;c[G+8>>2]=Fa;c[Ga>>2]=G;d=c[c[Fe>>2]>>2]|0;if(!d)d=G;else{c[Fe>>2]=d;d=c[Ga>>2]|0}Fj(c[Fe+4>>2]|0,d);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;Ha=c[Fe+4>>2]|0}c[G+20>>2]=163;do if(!Ha){c[a>>2]=Fe+4;Oa=Fe+4|0;Na=Fe+4|0;M=2130}else{G=Ha;while(1){d=c[G+16>>2]|0;if((d|0)>1073742055){d=c[G>>2]|0;if(!d){Ia=G;Ma=G;M=2123;break}}else{if((d|0)>=1073742055){Ka=G;M=2129;break}Ja=G+4|0;d=c[Ja>>2]|0;if(!d){La=G;M=2127;break}}G=d}if((M|0)==2123){c[a>>2]=Ma;Oa=Ia;Na=Ma;M=2130;break}else if((M|0)==2127){c[a>>2]=La;Oa=Ja;Na=La;M=2130;break}else if((M|0)==2129){c[a>>2]=Ka;if(!Ka){Oa=a;Na=Ka;M=2130;break}else{Pa=Ha;F=Ka;break}}}while(0);if((M|0)==2130){F=YAb(24)|0;c[F+16>>2]=1073742055;c[F+20>>2]=0;c[F>>2]=0;c[F+4>>2]=0;c[F+8>>2]=Na;c[Oa>>2]=F;d=c[c[Fe>>2]>>2]|0;if(!d)d=F;else{c[Fe>>2]=d;d=c[Oa>>2]|0}Fj(c[Fe+4>>2]|0,d);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;Pa=c[Fe+4>>2]|0}c[F+20>>2]=164;do if(!Pa){c[a>>2]=Fe+4;Wa=Fe+4|0;Va=Fe+4|0;M=2143}else{F=Pa;while(1){d=c[F+16>>2]|0;if((d|0)>1073742081){d=c[F>>2]|0;if(!d){Qa=F;Ua=F;M=2136;break}}else{if((d|0)>=1073742081){Sa=F;M=2142;break}Ra=F+4|0;d=c[Ra>>2]|0;if(!d){Ta=F;M=2140;break}}F=d}if((M|0)==2136){c[a>>2]=Ua;Wa=Qa;Va=Ua;M=2143;break}else if((M|0)==2140){c[a>>2]=Ta;Wa=Ra;Va=Ta;M=2143;break}else if((M|0)==2142){c[a>>2]=Sa;if(!Sa){Wa=a;Va=Sa;M=2143;break}else{Xa=Pa;E=Sa;break}}}while(0);if((M|0)==2143){E=YAb(24)|0;c[E+16>>2]=1073742081;c[E+20>>2]=0;c[E>>2]=0;c[E+4>>2]=0;c[E+8>>2]=Va;c[Wa>>2]=E;d=c[c[Fe>>2]>>2]|0;if(!d)d=E;else{c[Fe>>2]=d;d=c[Wa>>2]|0}Fj(c[Fe+4>>2]|0,d);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;Xa=c[Fe+4>>2]|0}c[E+20>>2]=165;do if(!Xa){c[a>>2]=Fe+4;cb=Fe+4|0;bb=Fe+4|0;M=2156}else{E=Xa;while(1){d=c[E+16>>2]|0;if((d|0)>1073742082){d=c[E>>2]|0;if(!d){Ya=E;ab=E;M=2149;break}}else{if((d|0)>=1073742082){_a=E;M=2155;break}Za=E+4|0;d=c[Za>>2]|0;if(!d){$a=E;M=2153;break}}E=d}if((M|0)==2149){c[a>>2]=ab;cb=Ya;bb=ab;M=2156;break}else if((M|0)==2153){c[a>>2]=$a;cb=Za;bb=$a;M=2156;break}else if((M|0)==2155){c[a>>2]=_a;if(!_a){cb=a;bb=_a;M=2156;break}else{db=Xa;D=_a;break}}}while(0);if((M|0)==2156){D=YAb(24)|0;c[D+16>>2]=1073742082;c[D+20>>2]=0;c[D>>2]=0;c[D+4>>2]=0;c[D+8>>2]=bb;c[cb>>2]=D;d=c[c[Fe>>2]>>2]|0;if(!d)d=D;else{c[Fe>>2]=d;d=c[cb>>2]|0}Fj(c[Fe+4>>2]|0,d);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;db=c[Fe+4>>2]|0}c[D+20>>2]=166;do if(!db){c[a>>2]=Fe+4;kb=Fe+4|0;jb=Fe+4|0;M=2169}else{D=db;while(1){d=c[D+16>>2]|0;if((d|0)>1073742083){d=c[D>>2]|0;if(!d){eb=D;ib=D;M=2162;break}}else{if((d|0)>=1073742083){gb=D;M=2168;break}fb=D+4|0;d=c[fb>>2]|0;if(!d){hb=D;M=2166;break}}D=d}if((M|0)==2162){c[a>>2]=ib;kb=eb;jb=ib;M=2169;break}else if((M|0)==2166){c[a>>2]=hb;kb=fb;jb=hb;M=2169;break}else if((M|0)==2168){c[a>>2]=gb;if(!gb){kb=a;jb=gb;M=2169;break}else{lb=db;C=gb;break}}}while(0);if((M|0)==2169){C=YAb(24)|0;c[C+16>>2]=1073742083;c[C+20>>2]=0;c[C>>2]=0;c[C+4>>2]=0;c[C+8>>2]=jb;c[kb>>2]=C;d=c[c[Fe>>2]>>2]|0;if(!d)d=C;else{c[Fe>>2]=d;d=c[kb>>2]|0}Fj(c[Fe+4>>2]|0,d);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;lb=c[Fe+4>>2]|0}c[C+20>>2]=167;do if(!lb){c[a>>2]=Fe+4;sb=Fe+4|0;rb=Fe+4|0;M=2182}else{C=lb;while(1){d=c[C+16>>2]|0;if((d|0)>1073742084){d=c[C>>2]|0;if(!d){mb=C;qb=C;M=2175;break}}else{if((d|0)>=1073742084){ob=C;M=2181;break}nb=C+4|0;d=c[nb>>2]|0;if(!d){pb=C;M=2179;break}}C=d}if((M|0)==2175){c[a>>2]=qb;sb=mb;rb=qb;M=2182;break}else if((M|0)==2179){c[a>>2]=pb;sb=nb;rb=pb;M=2182;break}else if((M|0)==2181){c[a>>2]=ob;if(!ob){sb=a;rb=ob;M=2182;break}else{tb=lb;B=ob;break}}}while(0);if((M|0)==2182){B=YAb(24)|0;c[B+16>>2]=1073742084;c[B+20>>2]=0;c[B>>2]=0;c[B+4>>2]=0;c[B+8>>2]=rb;c[sb>>2]=B;d=c[c[Fe>>2]>>2]|0;if(!d)d=B;else{c[Fe>>2]=d;d=c[sb>>2]|0}Fj(c[Fe+4>>2]|0,d);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;tb=c[Fe+4>>2]|0}c[B+20>>2]=168;do if(!tb){c[a>>2]=Fe+4;Ab=Fe+4|0;zb=Fe+4|0;M=2195}else{B=tb;while(1){d=c[B+16>>2]|0;if((d|0)>1073742085){d=c[B>>2]|0;if(!d){ub=B;yb=B;M=2188;break}}else{if((d|0)>=1073742085){wb=B;M=2194;break}vb=B+4|0;d=c[vb>>2]|0;if(!d){xb=B;M=2192;break}}B=d}if((M|0)==2188){c[a>>2]=yb;Ab=ub;zb=yb;M=2195;break}else if((M|0)==2192){c[a>>2]=xb;Ab=vb;zb=xb;M=2195;break}else if((M|0)==2194){c[a>>2]=wb;if(!wb){Ab=a;zb=wb;M=2195;break}else{Bb=tb;A=wb;break}}}while(0);if((M|0)==2195){A=YAb(24)|0;c[A+16>>2]=1073742085;c[A+20>>2]=0;c[A>>2]=0;c[A+4>>2]=0;c[A+8>>2]=zb;c[Ab>>2]=A;d=c[c[Fe>>2]>>2]|0;if(!d)d=A;else{c[Fe>>2]=d;d=c[Ab>>2]|0}Fj(c[Fe+4>>2]|0,d);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;Bb=c[Fe+4>>2]|0}c[A+20>>2]=169;do if(!Bb){c[a>>2]=Fe+4;Ib=Fe+4|0;Hb=Fe+4|0;M=2208}else{A=Bb;while(1){d=c[A+16>>2]|0;if((d|0)>1073742086){d=c[A>>2]|0;if(!d){Cb=A;Gb=A;M=2201;break}}else{if((d|0)>=1073742086){Eb=A;M=2207;break}Db=A+4|0;d=c[Db>>2]|0;if(!d){Fb=A;M=2205;break}}A=d}if((M|0)==2201){c[a>>2]=Gb;Ib=Cb;Hb=Gb;M=2208;break}else if((M|0)==2205){c[a>>2]=Fb;Ib=Db;Hb=Fb;M=2208;break}else if((M|0)==2207){c[a>>2]=Eb;if(!Eb){Ib=a;Hb=Eb;M=2208;break}else{Jb=Bb;z=Eb;break}}}while(0);if((M|0)==2208){z=YAb(24)|0;c[z+16>>2]=1073742086;c[z+20>>2]=0;c[z>>2]=0;c[z+4>>2]=0;c[z+8>>2]=Hb;c[Ib>>2]=z;d=c[c[Fe>>2]>>2]|0;if(!d)d=z;else{c[Fe>>2]=d;d=c[Ib>>2]|0}Fj(c[Fe+4>>2]|0,d);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;Jb=c[Fe+4>>2]|0}c[z+20>>2]=170;do if(!Jb){c[a>>2]=Fe+4;Qb=Fe+4|0;Pb=Fe+4|0;M=2221}else{z=Jb;while(1){d=c[z+16>>2]|0;if((d|0)>1073742087){d=c[z>>2]|0;if(!d){Kb=z;Ob=z;M=2214;break}}else{if((d|0)>=1073742087){Mb=z;M=2220;break}Lb=z+4|0;d=c[Lb>>2]|0;if(!d){Nb=z;M=2218;break}}z=d}if((M|0)==2214){c[a>>2]=Ob;Qb=Kb;Pb=Ob;M=2221;break}else if((M|0)==2218){c[a>>2]=Nb;Qb=Lb;Pb=Nb;M=2221;break}else if((M|0)==2220){c[a>>2]=Mb;if(!Mb){Qb=a;Pb=Mb;M=2221;break}else{Rb=Jb;y=Mb;break}}}while(0);if((M|0)==2221){y=YAb(24)|0;c[y+16>>2]=1073742087;c[y+20>>2]=0;c[y>>2]=0;c[y+4>>2]=0;c[y+8>>2]=Pb;c[Qb>>2]=y;d=c[c[Fe>>2]>>2]|0;if(!d)d=y;else{c[Fe>>2]=d;d=c[Qb>>2]|0}Fj(c[Fe+4>>2]|0,d);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;Rb=c[Fe+4>>2]|0}c[y+20>>2]=171;do if(!Rb){c[a>>2]=Fe+4;Yb=Fe+4|0;Xb=Fe+4|0;M=2234}else{y=Rb;while(1){d=c[y+16>>2]|0;if((d|0)>1073742088){d=c[y>>2]|0;if(!d){Sb=y;Wb=y;M=2227;break}}else{if((d|0)>=1073742088){Ub=y;M=2233;break}Tb=y+4|0;d=c[Tb>>2]|0;if(!d){Vb=y;M=2231;break}}y=d}if((M|0)==2227){c[a>>2]=Wb;Yb=Sb;Xb=Wb;M=2234;break}else if((M|0)==2231){c[a>>2]=Vb;Yb=Tb;Xb=Vb;M=2234;break}else if((M|0)==2233){c[a>>2]=Ub;if(!Ub){Yb=a;Xb=Ub;M=2234;break}else{Zb=Rb;x=Ub;break}}}while(0);if((M|0)==2234){x=YAb(24)|0;c[x+16>>2]=1073742088;c[x+20>>2]=0;c[x>>2]=0;c[x+4>>2]=0;c[x+8>>2]=Xb;c[Yb>>2]=x;d=c[c[Fe>>2]>>2]|0;if(!d)d=x;else{c[Fe>>2]=d;d=c[Yb>>2]|0}Fj(c[Fe+4>>2]|0,d);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;Zb=c[Fe+4>>2]|0}c[x+20>>2]=172;do if(!Zb){c[a>>2]=Fe+4;ec=Fe+4|0;dc=Fe+4|0;M=2247}else{x=Zb;while(1){d=c[x+16>>2]|0;if((d|0)>1073742089){d=c[x>>2]|0;if(!d){_b=x;cc=x;M=2240;break}}else{if((d|0)>=1073742089){ac=x;M=2246;break}$b=x+4|0;d=c[$b>>2]|0;if(!d){bc=x;M=2244;break}}x=d}if((M|0)==2240){c[a>>2]=cc;ec=_b;dc=cc;M=2247;break}else if((M|0)==2244){c[a>>2]=bc;ec=$b;dc=bc;M=2247;break}else if((M|0)==2246){c[a>>2]=ac;if(!ac){ec=a;dc=ac;M=2247;break}else{fc=Zb;w=ac;break}}}while(0);if((M|0)==2247){w=YAb(24)|0;c[w+16>>2]=1073742089;c[w+20>>2]=0;c[w>>2]=0;c[w+4>>2]=0;c[w+8>>2]=dc;c[ec>>2]=w;d=c[c[Fe>>2]>>2]|0;if(!d)d=w;else{c[Fe>>2]=d;d=c[ec>>2]|0}Fj(c[Fe+4>>2]|0,d);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;fc=c[Fe+4>>2]|0}c[w+20>>2]=173;do if(!fc){c[a>>2]=Fe+4;mc=Fe+4|0;lc=Fe+4|0;M=2260}else{w=fc;while(1){d=c[w+16>>2]|0;if((d|0)>1073742090){d=c[w>>2]|0;if(!d){gc=w;kc=w;M=2253;break}}else{if((d|0)>=1073742090){ic=w;M=2259;break}hc=w+4|0;d=c[hc>>2]|0;if(!d){jc=w;M=2257;break}}w=d}if((M|0)==2253){c[a>>2]=kc;mc=gc;lc=kc;M=2260;break}else if((M|0)==2257){c[a>>2]=jc;mc=hc;lc=jc;M=2260;break}else if((M|0)==2259){c[a>>2]=ic;if(!ic){mc=a;lc=ic;M=2260;break}else{nc=fc;v=ic;break}}}while(0);if((M|0)==2260){v=YAb(24)|0;c[v+16>>2]=1073742090;c[v+20>>2]=0;c[v>>2]=0;c[v+4>>2]=0;c[v+8>>2]=lc;c[mc>>2]=v;d=c[c[Fe>>2]>>2]|0;if(!d)d=v;else{c[Fe>>2]=d;d=c[mc>>2]|0}Fj(c[Fe+4>>2]|0,d);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;nc=c[Fe+4>>2]|0}c[v+20>>2]=174;do if(!nc){c[a>>2]=Fe+4;uc=Fe+4|0;tc=Fe+4|0;M=2273}else{v=nc;while(1){d=c[v+16>>2]|0;if((d|0)>1073742091){d=c[v>>2]|0;if(!d){oc=v;sc=v;M=2266;break}}else{if((d|0)>=1073742091){qc=v;M=2272;break}pc=v+4|0;d=c[pc>>2]|0;if(!d){rc=v;M=2270;break}}v=d}if((M|0)==2266){c[a>>2]=sc;uc=oc;tc=sc;M=2273;break}else if((M|0)==2270){c[a>>2]=rc;uc=pc;tc=rc;M=2273;break}else if((M|0)==2272){c[a>>2]=qc;if(!qc){uc=a;tc=qc;M=2273;break}else{vc=nc;u=qc;break}}}while(0);if((M|0)==2273){u=YAb(24)|0;c[u+16>>2]=1073742091;c[u+20>>2]=0;c[u>>2]=0;c[u+4>>2]=0;c[u+8>>2]=tc;c[uc>>2]=u;d=c[c[Fe>>2]>>2]|0;if(!d)d=u;else{c[Fe>>2]=d;d=c[uc>>2]|0}Fj(c[Fe+4>>2]|0,d);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;vc=c[Fe+4>>2]|0}c[u+20>>2]=175;do if(!vc){c[a>>2]=Fe+4;Cc=Fe+4|0;Bc=Fe+4|0;M=2286}else{u=vc;while(1){d=c[u+16>>2]|0;if((d|0)>1073742092){d=c[u>>2]|0;if(!d){wc=u;Ac=u;M=2279;break}}else{if((d|0)>=1073742092){yc=u;M=2285;break}xc=u+4|0;d=c[xc>>2]|0;if(!d){zc=u;M=2283;break}}u=d}if((M|0)==2279){c[a>>2]=Ac;Cc=wc;Bc=Ac;M=2286;break}else if((M|0)==2283){c[a>>2]=zc;Cc=xc;Bc=zc;M=2286;break}else if((M|0)==2285){c[a>>2]=yc;if(!yc){Cc=a;Bc=yc;M=2286;break}else{Dc=vc;t=yc;break}}}while(0);if((M|0)==2286){t=YAb(24)|0;c[t+16>>2]=1073742092;c[t+20>>2]=0;c[t>>2]=0;c[t+4>>2]=0;c[t+8>>2]=Bc;c[Cc>>2]=t;d=c[c[Fe>>2]>>2]|0;if(!d)d=t;else{c[Fe>>2]=d;d=c[Cc>>2]|0}Fj(c[Fe+4>>2]|0,d);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;Dc=c[Fe+4>>2]|0}c[t+20>>2]=176;do if(!Dc){c[a>>2]=Fe+4;Kc=Fe+4|0;Jc=Fe+4|0;M=2299}else{t=Dc;while(1){d=c[t+16>>2]|0;if((d|0)>1073742093){d=c[t>>2]|0;if(!d){Ec=t;Ic=t;M=2292;break}}else{if((d|0)>=1073742093){Gc=t;M=2298;break}Fc=t+4|0;d=c[Fc>>2]|0;if(!d){Hc=t;M=2296;break}}t=d}if((M|0)==2292){c[a>>2]=Ic;Kc=Ec;Jc=Ic;M=2299;break}else if((M|0)==2296){c[a>>2]=Hc;Kc=Fc;Jc=Hc;M=2299;break}else if((M|0)==2298){c[a>>2]=Gc;if(!Gc){Kc=a;Jc=Gc;M=2299;break}else{Lc=Dc;s=Gc;break}}}while(0);if((M|0)==2299){s=YAb(24)|0;c[s+16>>2]=1073742093;c[s+20>>2]=0;c[s>>2]=0;c[s+4>>2]=0;c[s+8>>2]=Jc;c[Kc>>2]=s;d=c[c[Fe>>2]>>2]|0;if(!d)d=s;else{c[Fe>>2]=d;d=c[Kc>>2]|0}Fj(c[Fe+4>>2]|0,d);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;Lc=c[Fe+4>>2]|0}c[s+20>>2]=177;do if(!Lc){c[a>>2]=Fe+4;Sc=Fe+4|0;Rc=Fe+4|0;M=2312}else{s=Lc;while(1){d=c[s+16>>2]|0;if((d|0)>1073742094){d=c[s>>2]|0;if(!d){Mc=s;Qc=s;M=2305;break}}else{if((d|0)>=1073742094){Oc=s;M=2311;break}Nc=s+4|0;d=c[Nc>>2]|0;if(!d){Pc=s;M=2309;break}}s=d}if((M|0)==2305){c[a>>2]=Qc;Sc=Mc;Rc=Qc;M=2312;break}else if((M|0)==2309){c[a>>2]=Pc;Sc=Nc;Rc=Pc;M=2312;break}else if((M|0)==2311){c[a>>2]=Oc;if(!Oc){Sc=a;Rc=Oc;M=2312;break}else{Tc=Lc;r=Oc;break}}}while(0);if((M|0)==2312){r=YAb(24)|0;c[r+16>>2]=1073742094;c[r+20>>2]=0;c[r>>2]=0;c[r+4>>2]=0;c[r+8>>2]=Rc;c[Sc>>2]=r;d=c[c[Fe>>2]>>2]|0;if(!d)d=r;else{c[Fe>>2]=d;d=c[Sc>>2]|0}Fj(c[Fe+4>>2]|0,d);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;Tc=c[Fe+4>>2]|0}c[r+20>>2]=178;do if(!Tc){c[a>>2]=Fe+4;_c=Fe+4|0;Zc=Fe+4|0;M=2325}else{r=Tc;while(1){d=c[r+16>>2]|0;if((d|0)>1073742095){d=c[r>>2]|0;if(!d){Uc=r;Yc=r;M=2318;break}}else{if((d|0)>=1073742095){Wc=r;M=2324;break}Vc=r+4|0;d=c[Vc>>2]|0;if(!d){Xc=r;M=2322;break}}r=d}if((M|0)==2318){c[a>>2]=Yc;_c=Uc;Zc=Yc;M=2325;break}else if((M|0)==2322){c[a>>2]=Xc;_c=Vc;Zc=Xc;M=2325;break}else if((M|0)==2324){c[a>>2]=Wc;if(!Wc){_c=a;Zc=Wc;M=2325;break}else{$c=Tc;q=Wc;break}}}while(0);if((M|0)==2325){q=YAb(24)|0;c[q+16>>2]=1073742095;c[q+20>>2]=0;c[q>>2]=0;c[q+4>>2]=0;c[q+8>>2]=Zc;c[_c>>2]=q;d=c[c[Fe>>2]>>2]|0;if(!d)d=q;else{c[Fe>>2]=d;d=c[_c>>2]|0}Fj(c[Fe+4>>2]|0,d);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;$c=c[Fe+4>>2]|0}c[q+20>>2]=179;do if(!$c){c[a>>2]=Fe+4;gd=Fe+4|0;fd=Fe+4|0;M=2338}else{q=$c;while(1){d=c[q+16>>2]|0;if((d|0)>1073742096){d=c[q>>2]|0;if(!d){ad=q;ed=q;M=2331;break}}else{if((d|0)>=1073742096){cd=q;M=2337;break}bd=q+4|0;d=c[bd>>2]|0;if(!d){dd=q;M=2335;break}}q=d}if((M|0)==2331){c[a>>2]=ed;gd=ad;fd=ed;M=2338;break}else if((M|0)==2335){c[a>>2]=dd;gd=bd;fd=dd;M=2338;break}else if((M|0)==2337){c[a>>2]=cd;if(!cd){gd=a;fd=cd;M=2338;break}else{hd=$c;p=cd;break}}}while(0);if((M|0)==2338){p=YAb(24)|0;c[p+16>>2]=1073742096;c[p+20>>2]=0;c[p>>2]=0;c[p+4>>2]=0;c[p+8>>2]=fd;c[gd>>2]=p;d=c[c[Fe>>2]>>2]|0;if(!d)d=p;else{c[Fe>>2]=d;d=c[gd>>2]|0}Fj(c[Fe+4>>2]|0,d);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;hd=c[Fe+4>>2]|0}c[p+20>>2]=180;do if(!hd){c[a>>2]=Fe+4;od=Fe+4|0;nd=Fe+4|0;M=2351}else{p=hd;while(1){d=c[p+16>>2]|0;if((d|0)>1073742097){d=c[p>>2]|0;if(!d){id=p;md=p;M=2344;break}}else{if((d|0)>=1073742097){kd=p;M=2350;break}jd=p+4|0;d=c[jd>>2]|0;if(!d){ld=p;M=2348;break}}p=d}if((M|0)==2344){c[a>>2]=md;od=id;nd=md;M=2351;break}else if((M|0)==2348){c[a>>2]=ld;od=jd;nd=ld;M=2351;break}else if((M|0)==2350){c[a>>2]=kd;if(!kd){od=a;nd=kd;M=2351;break}else{pd=hd;o=kd;break}}}while(0);if((M|0)==2351){o=YAb(24)|0;c[o+16>>2]=1073742097;c[o+20>>2]=0;c[o>>2]=0;c[o+4>>2]=0;c[o+8>>2]=nd;c[od>>2]=o;d=c[c[Fe>>2]>>2]|0;if(!d)d=o;else{c[Fe>>2]=d;d=c[od>>2]|0}Fj(c[Fe+4>>2]|0,d);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;pd=c[Fe+4>>2]|0}c[o+20>>2]=181;do if(!pd){c[a>>2]=Fe+4;wd=Fe+4|0;vd=Fe+4|0;M=2364}else{o=pd;while(1){d=c[o+16>>2]|0;if((d|0)>1073742098){d=c[o>>2]|0;if(!d){qd=o;ud=o;M=2357;break}}else{if((d|0)>=1073742098){sd=o;M=2363;break}rd=o+4|0;d=c[rd>>2]|0;if(!d){td=o;M=2361;break}}o=d}if((M|0)==2357){c[a>>2]=ud;wd=qd;vd=ud;M=2364;break}else if((M|0)==2361){c[a>>2]=td;wd=rd;vd=td;M=2364;break}else if((M|0)==2363){c[a>>2]=sd;if(!sd){wd=a;vd=sd;M=2364;break}else{xd=pd;n=sd;break}}}while(0);if((M|0)==2364){n=YAb(24)|0;c[n+16>>2]=1073742098;c[n+20>>2]=0;c[n>>2]=0;c[n+4>>2]=0;c[n+8>>2]=vd;c[wd>>2]=n;d=c[c[Fe>>2]>>2]|0;if(!d)d=n;else{c[Fe>>2]=d;d=c[wd>>2]|0}Fj(c[Fe+4>>2]|0,d);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;xd=c[Fe+4>>2]|0}c[n+20>>2]=182;do if(!xd){c[a>>2]=Fe+4;Ed=Fe+4|0;Dd=Fe+4|0;M=2377}else{n=xd;while(1){d=c[n+16>>2]|0;if((d|0)>1073742099){d=c[n>>2]|0;if(!d){yd=n;Cd=n;M=2370;break}}else{if((d|0)>=1073742099){Ad=n;M=2376;break}zd=n+4|0;d=c[zd>>2]|0;if(!d){Bd=n;M=2374;break}}n=d}if((M|0)==2370){c[a>>2]=Cd;Ed=yd;Dd=Cd;M=2377;break}else if((M|0)==2374){c[a>>2]=Bd;Ed=zd;Dd=Bd;M=2377;break}else if((M|0)==2376){c[a>>2]=Ad;if(!Ad){Ed=a;Dd=Ad;M=2377;break}else{Fd=xd;m=Ad;break}}}while(0);if((M|0)==2377){m=YAb(24)|0;c[m+16>>2]=1073742099;c[m+20>>2]=0;c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=Dd;c[Ed>>2]=m;d=c[c[Fe>>2]>>2]|0;if(!d)d=m;else{c[Fe>>2]=d;d=c[Ed>>2]|0}Fj(c[Fe+4>>2]|0,d);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;Fd=c[Fe+4>>2]|0}c[m+20>>2]=183;do if(!Fd){c[a>>2]=Fe+4;Md=Fe+4|0;Ld=Fe+4|0;M=2390}else{m=Fd;while(1){d=c[m+16>>2]|0;if((d|0)>1073742100){d=c[m>>2]|0;if(!d){Gd=m;Kd=m;M=2383;break}}else{if((d|0)>=1073742100){Id=m;M=2389;break}Hd=m+4|0;d=c[Hd>>2]|0;if(!d){Jd=m;M=2387;break}}m=d}if((M|0)==2383){c[a>>2]=Kd;Md=Gd;Ld=Kd;M=2390;break}else if((M|0)==2387){c[a>>2]=Jd;Md=Hd;Ld=Jd;M=2390;break}else if((M|0)==2389){c[a>>2]=Id;if(!Id){Md=a;Ld=Id;M=2390;break}else{Nd=Fd;l=Id;break}}}while(0);if((M|0)==2390){l=YAb(24)|0;c[l+16>>2]=1073742100;c[l+20>>2]=0;c[l>>2]=0;c[l+4>>2]=0;c[l+8>>2]=Ld;c[Md>>2]=l;d=c[c[Fe>>2]>>2]|0;if(!d)d=l;else{c[Fe>>2]=d;d=c[Md>>2]|0}Fj(c[Fe+4>>2]|0,d);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;Nd=c[Fe+4>>2]|0}c[l+20>>2]=184;do if(!Nd){c[a>>2]=Fe+4;Ud=Fe+4|0;Td=Fe+4|0;M=2403}else{l=Nd;while(1){d=c[l+16>>2]|0;if((d|0)>1073742101){d=c[l>>2]|0;if(!d){Od=l;Sd=l;M=2396;break}}else{if((d|0)>=1073742101){Qd=l;M=2402;break}Pd=l+4|0;d=c[Pd>>2]|0;if(!d){Rd=l;M=2400;break}}l=d}if((M|0)==2396){c[a>>2]=Sd;Ud=Od;Td=Sd;M=2403;break}else if((M|0)==2400){c[a>>2]=Rd;Ud=Pd;Td=Rd;M=2403;break}else if((M|0)==2402){c[a>>2]=Qd;if(!Qd){Ud=a;Td=Qd;M=2403;break}else{Vd=Nd;k=Qd;break}}}while(0);if((M|0)==2403){k=YAb(24)|0;c[k+16>>2]=1073742101;c[k+20>>2]=0;c[k>>2]=0;c[k+4>>2]=0;c[k+8>>2]=Td;c[Ud>>2]=k;d=c[c[Fe>>2]>>2]|0;if(!d)d=k;else{c[Fe>>2]=d;d=c[Ud>>2]|0}Fj(c[Fe+4>>2]|0,d);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;Vd=c[Fe+4>>2]|0}c[k+20>>2]=185;do if(!Vd){c[a>>2]=Fe+4;ae=Fe+4|0;$d=Fe+4|0;M=2416}else{k=Vd;while(1){d=c[k+16>>2]|0;if((d|0)>1073742102){d=c[k>>2]|0;if(!d){Wd=k;_d=k;M=2409;break}}else{if((d|0)>=1073742102){Yd=k;M=2415;break}Xd=k+4|0;d=c[Xd>>2]|0;if(!d){Zd=k;M=2413;break}}k=d}if((M|0)==2409){c[a>>2]=_d;ae=Wd;$d=_d;M=2416;break}else if((M|0)==2413){c[a>>2]=Zd;ae=Xd;$d=Zd;M=2416;break}else if((M|0)==2415){c[a>>2]=Yd;if(!Yd){ae=a;$d=Yd;M=2416;break}else{be=Vd;j=Yd;break}}}while(0);if((M|0)==2416){j=YAb(24)|0;c[j+16>>2]=1073742102;c[j+20>>2]=0;c[j>>2]=0;c[j+4>>2]=0;c[j+8>>2]=$d;c[ae>>2]=j;d=c[c[Fe>>2]>>2]|0;if(!d)d=j;else{c[Fe>>2]=d;d=c[ae>>2]|0}Fj(c[Fe+4>>2]|0,d);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;be=c[Fe+4>>2]|0}c[j+20>>2]=186;do if(!be){c[a>>2]=Fe+4;ie=Fe+4|0;he=Fe+4|0;M=2429}else{j=be;while(1){d=c[j+16>>2]|0;if((d|0)>1073742103){d=c[j>>2]|0;if(!d){ce=j;ge=j;M=2422;break}}else{if((d|0)>=1073742103){ee=j;M=2428;break}de=j+4|0;d=c[de>>2]|0;if(!d){fe=j;M=2426;break}}j=d}if((M|0)==2422){c[a>>2]=ge;ie=ce;he=ge;M=2429;break}else if((M|0)==2426){c[a>>2]=fe;ie=de;he=fe;M=2429;break}else if((M|0)==2428){c[a>>2]=ee;if(!ee){ie=a;he=ee;M=2429;break}else{je=be;h=ee;break}}}while(0);if((M|0)==2429){h=YAb(24)|0;c[h+16>>2]=1073742103;c[h+20>>2]=0;c[h>>2]=0;c[h+4>>2]=0;c[h+8>>2]=he;c[ie>>2]=h;d=c[c[Fe>>2]>>2]|0;if(!d)d=h;else{c[Fe>>2]=d;d=c[ie>>2]|0}Fj(c[Fe+4>>2]|0,d);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;je=c[Fe+4>>2]|0}c[h+20>>2]=187;do if(!je){c[a>>2]=Fe+4;qe=Fe+4|0;pe=Fe+4|0;M=2442}else{h=je;while(1){d=c[h+16>>2]|0;if((d|0)>1073742104){d=c[h>>2]|0;if(!d){ke=h;oe=h;M=2435;break}}else{if((d|0)>=1073742104){me=h;M=2441;break}le=h+4|0;d=c[le>>2]|0;if(!d){ne=h;M=2439;break}}h=d}if((M|0)==2435){c[a>>2]=oe;qe=ke;pe=oe;M=2442;break}else if((M|0)==2439){c[a>>2]=ne;qe=le;pe=ne;M=2442;break}else if((M|0)==2441){c[a>>2]=me;if(!me){qe=a;pe=me;M=2442;break}else{re=je;g=me;break}}}while(0);if((M|0)==2442){g=YAb(24)|0;c[g+16>>2]=1073742104;c[g+20>>2]=0;c[g>>2]=0;c[g+4>>2]=0;c[g+8>>2]=pe;c[qe>>2]=g;d=c[c[Fe>>2]>>2]|0;if(!d)d=g;else{c[Fe>>2]=d;d=c[qe>>2]|0}Fj(c[Fe+4>>2]|0,d);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;re=c[Fe+4>>2]|0}c[g+20>>2]=188;do if(!re){c[a>>2]=Fe+4;ye=Fe+4|0;xe=Fe+4|0;M=2455}else{g=re;while(1){d=c[g+16>>2]|0;if((d|0)>1073742105){d=c[g>>2]|0;if(!d){se=g;we=g;M=2448;break}}else{if((d|0)>=1073742105){ue=g;M=2454;break}te=g+4|0;d=c[te>>2]|0;if(!d){ve=g;M=2452;break}}g=d}if((M|0)==2448){c[a>>2]=we;ye=se;xe=we;M=2455;break}else if((M|0)==2452){c[a>>2]=ve;ye=te;xe=ve;M=2455;break}else if((M|0)==2454){c[a>>2]=ue;if(!ue){ye=a;xe=ue;M=2455;break}else{e=re;f=ue;break}}}while(0);if((M|0)==2455){f=YAb(24)|0;c[f+16>>2]=1073742105;c[f+20>>2]=0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=xe;c[ye>>2]=f;d=c[c[Fe>>2]>>2]|0;if(!d)d=f;else{c[Fe>>2]=d;d=c[ye>>2]|0}Fj(c[Fe+4>>2]|0,d);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;e=c[Fe+4>>2]|0}c[f+20>>2]=189;do if(!e){c[a>>2]=Fe+4;Ee=Fe+4|0;De=Fe+4|0}else{while(1){d=c[e+16>>2]|0;if((d|0)>1073742106){d=c[e>>2]|0;if(!d){ze=e;Ce=e;M=2461;break}}else{if((d|0)>=1073742106){b=e;M=2467;break}Ae=e+4|0;d=c[Ae>>2]|0;if(!d){Be=e;M=2465;break}}e=d}if((M|0)==2461){c[a>>2]=Ce;Ee=ze;De=Ce;break}else if((M|0)==2465){c[a>>2]=Be;Ee=Ae;De=Be;break}else if((M|0)==2467){c[a>>2]=b;if(!b){Ee=a;De=b;break}Fe=b+20|0;c[Fe>>2]=190;i=a;c[a+25912>>2]=5;break a}}while(0);d=YAb(24)|0;c[d+16>>2]=1073742106;c[d+20>>2]=0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=De;c[Ee>>2]=d;b=c[c[Fe>>2]>>2]|0;if(!b)b=d;else{c[Fe>>2]=b;b=c[Ee>>2]|0}Fj(c[Fe+4>>2]|0,b);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;Fe=d;Fe=Fe+20|0;c[Fe>>2]=190;i=a;c[a+25912>>2]=5;break a}c[a+25904>>2]=M}function Zea(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,jb=0,kb=0,lb=0,mb=0,nb=0,ob=0,pb=0,qb=0,rb=0,sb=0,tb=0,ub=0,vb=0,wb=0,xb=0,yb=0,zb=0,Ab=0,Bb=0,Cb=0,Db=0,Eb=0,Fb=0,Gb=0,Hb=0,Ib=0,Jb=0,Kb=0,Lb=0,Mb=0,Nb=0,Ob=0,Pb=0,Qb=0,Rb=0,Sb=0,Tb=0,Ub=0,Vb=0,Wb=0,Xb=0,Yb=0,Zb=0,_b=0,$b=0,ac=0,bc=0,cc=0,dc=0,ec=0,fc=0,gc=0,hc=0,ic=0,jc=0,kc=0,lc=0,mc=0,nc=0,oc=0,pc=0,qc=0,rc=0,sc=0,tc=0,uc=0,vc=0,wc=0,xc=0,yc=0,zc=0,Ac=0,Bc=0,Cc=0,Dc=0,Ec=0,Fc=0,Gc=0,Hc=0,Ic=0,Jc=0,Kc=0,Lc=0,Mc=0,Nc=0,Oc=0,Pc=0,Qc=0,Rc=0,Sc=0,Tc=0,Uc=0,Vc=0,Wc=0,Xc=0,Yc=0,Zc=0,_c=0,$c=0,ad=0,bd=0,cd=0,dd=0,ed=0,fd=0,gd=0,hd=0,id=0,jd=0,kd=0,ld=0,md=0,nd=0,od=0,pd=0,qd=0,rd=0,sd=0,td=0,ud=0,vd=0,wd=0,xd=0,yd=0,zd=0,Ad=0,Bd=0,Cd=0,Dd=0,Ed=0,Fd=0,Gd=0,Hd=0,Id=0,Jd=0,Kd=0,Ld=0,Md=0,Nd=0,Od=0,Pd=0,Qd=0,Rd=0,Sd=0,Td=0,Ud=0,Vd=0,Wd=0,Xd=0,Yd=0,Zd=0,_d=0,$d=0,ae=0,be=0,ce=0,de=0,ee=0,fe=0,ge=0,he=0,ie=0,je=0,ke=0,le=0,me=0,ne=0,oe=0,pe=0,qe=0,re=0,se=0,te=0,ue=0,ve=0,we=0,xe=0,ye=0,ze=0,Ae=0,Be=0,Ce=0,De=0,Ee=0,Fe=0,Ge=0;Ge=c[a+32>>2]|0;M=c[a+11968>>2]|0;Ee=c[a+14624>>2]|0;K=c[a+24888>>2]|0;c[K+20>>2]=124;do if(!M){c[a>>2]=Ge+4;S=Ge+4|0;R=Ge+4|0;K=1623}else{K=M;while(1){b=c[K+16>>2]|0;if((b|0)>1073741936){b=c[K>>2]|0;if(!b){L=K;Q=K;K=1616;break}}else{if((b|0)>=1073741936){O=K;K=1622;break}N=K+4|0;b=c[N>>2]|0;if(!b){P=K;K=1620;break}}K=b}if((K|0)==1616){c[a>>2]=Q;S=L;R=Q;K=1623;break}else if((K|0)==1620){c[a>>2]=P;S=N;R=P;K=1623;break}else if((K|0)==1622){c[a>>2]=O;if(!O){S=a;R=O;K=1623;break}else{T=M;J=O;break}}}while(0);if((K|0)==1623){J=YAb(24)|0;c[J+16>>2]=1073741936;c[J+20>>2]=0;c[J>>2]=0;c[J+4>>2]=0;c[J+8>>2]=R;c[S>>2]=J;b=c[c[Ge>>2]>>2]|0;if(!b)b=J;else{c[Ge>>2]=b;b=c[S>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;T=c[Ge+4>>2]|0}c[J+20>>2]=125;do if(!T){c[a>>2]=Ge+4;_=Ge+4|0;Z=Ge+4|0;K=1636}else{J=T;while(1){b=c[J+16>>2]|0;if((b|0)>1073741937){b=c[J>>2]|0;if(!b){U=J;Y=J;K=1629;break}}else{if((b|0)>=1073741937){W=J;K=1635;break}V=J+4|0;b=c[V>>2]|0;if(!b){X=J;K=1633;break}}J=b}if((K|0)==1629){c[a>>2]=Y;_=U;Z=Y;K=1636;break}else if((K|0)==1633){c[a>>2]=X;_=V;Z=X;K=1636;break}else if((K|0)==1635){c[a>>2]=W;if(!W){_=a;Z=W;K=1636;break}else{$=T;I=W;break}}}while(0);if((K|0)==1636){I=YAb(24)|0;c[I+16>>2]=1073741937;c[I+20>>2]=0;c[I>>2]=0;c[I+4>>2]=0;c[I+8>>2]=Z;c[_>>2]=I;b=c[c[Ge>>2]>>2]|0;if(!b)b=I;else{c[Ge>>2]=b;b=c[_>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;$=c[Ge+4>>2]|0}c[I+20>>2]=126;do if(!$){c[a>>2]=Ge+4;ga=Ge+4|0;fa=Ge+4|0;K=1649}else{I=$;while(1){b=c[I+16>>2]|0;if((b|0)>1073741938){b=c[I>>2]|0;if(!b){aa=I;ea=I;K=1642;break}}else{if((b|0)>=1073741938){ca=I;K=1648;break}ba=I+4|0;b=c[ba>>2]|0;if(!b){da=I;K=1646;break}}I=b}if((K|0)==1642){c[a>>2]=ea;ga=aa;fa=ea;K=1649;break}else if((K|0)==1646){c[a>>2]=da;ga=ba;fa=da;K=1649;break}else if((K|0)==1648){c[a>>2]=ca;if(!ca){ga=a;fa=ca;K=1649;break}else{ha=$;H=ca;break}}}while(0);if((K|0)==1649){H=YAb(24)|0;c[H+16>>2]=1073741938;c[H+20>>2]=0;c[H>>2]=0;c[H+4>>2]=0;c[H+8>>2]=fa;c[ga>>2]=H;b=c[c[Ge>>2]>>2]|0;if(!b)b=H;else{c[Ge>>2]=b;b=c[ga>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;ha=c[Ge+4>>2]|0}c[H+20>>2]=127;do if(!ha){c[a>>2]=Ge+4;oa=Ge+4|0;na=Ge+4|0;K=1662}else{H=ha;while(1){b=c[H+16>>2]|0;if((b|0)>1073741939){b=c[H>>2]|0;if(!b){ia=H;ma=H;K=1655;break}}else{if((b|0)>=1073741939){ka=H;K=1661;break}ja=H+4|0;b=c[ja>>2]|0;if(!b){la=H;K=1659;break}}H=b}if((K|0)==1655){c[a>>2]=ma;oa=ia;na=ma;K=1662;break}else if((K|0)==1659){c[a>>2]=la;oa=ja;na=la;K=1662;break}else if((K|0)==1661){c[a>>2]=ka;if(!ka){oa=a;na=ka;K=1662;break}else{pa=ha;G=ka;break}}}while(0);if((K|0)==1662){G=YAb(24)|0;c[G+16>>2]=1073741939;c[G+20>>2]=0;c[G>>2]=0;c[G+4>>2]=0;c[G+8>>2]=na;c[oa>>2]=G;b=c[c[Ge>>2]>>2]|0;if(!b)b=G;else{c[Ge>>2]=b;b=c[oa>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;pa=c[Ge+4>>2]|0}c[G+20>>2]=128;do if(!pa){c[a>>2]=Ge+4;wa=Ge+4|0;va=Ge+4|0;K=1675}else{G=pa;while(1){b=c[G+16>>2]|0;if((b|0)>1073741940){b=c[G>>2]|0;if(!b){qa=G;ua=G;K=1668;break}}else{if((b|0)>=1073741940){sa=G;K=1674;break}ra=G+4|0;b=c[ra>>2]|0;if(!b){ta=G;K=1672;break}}G=b}if((K|0)==1668){c[a>>2]=ua;wa=qa;va=ua;K=1675;break}else if((K|0)==1672){c[a>>2]=ta;wa=ra;va=ta;K=1675;break}else if((K|0)==1674){c[a>>2]=sa;if(!sa){wa=a;va=sa;K=1675;break}else{xa=pa;F=sa;break}}}while(0);if((K|0)==1675){F=YAb(24)|0;c[F+16>>2]=1073741940;c[F+20>>2]=0;c[F>>2]=0;c[F+4>>2]=0;c[F+8>>2]=va;c[wa>>2]=F;b=c[c[Ge>>2]>>2]|0;if(!b)b=F;else{c[Ge>>2]=b;b=c[wa>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;xa=c[Ge+4>>2]|0}c[F+20>>2]=129;do if(!xa){c[a>>2]=Ge+4;Ea=Ge+4|0;Da=Ge+4|0;K=1688}else{F=xa;while(1){b=c[F+16>>2]|0;if((b|0)>1073741941){b=c[F>>2]|0;if(!b){ya=F;Ca=F;K=1681;break}}else{if((b|0)>=1073741941){Aa=F;K=1687;break}za=F+4|0;b=c[za>>2]|0;if(!b){Ba=F;K=1685;break}}F=b}if((K|0)==1681){c[a>>2]=Ca;Ea=ya;Da=Ca;K=1688;break}else if((K|0)==1685){c[a>>2]=Ba;Ea=za;Da=Ba;K=1688;break}else if((K|0)==1687){c[a>>2]=Aa;if(!Aa){Ea=a;Da=Aa;K=1688;break}else{Fa=xa;E=Aa;break}}}while(0);if((K|0)==1688){E=YAb(24)|0;c[E+16>>2]=1073741941;c[E+20>>2]=0;c[E>>2]=0;c[E+4>>2]=0;c[E+8>>2]=Da;c[Ea>>2]=E;b=c[c[Ge>>2]>>2]|0;if(!b)b=E;else{c[Ge>>2]=b;b=c[Ea>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;Fa=c[Ge+4>>2]|0}c[E+20>>2]=130;do if(!Fa){c[a>>2]=Ge+4;Ma=Ge+4|0;La=Ge+4|0;K=1701}else{E=Fa;while(1){b=c[E+16>>2]|0;if((b|0)>1073741942){b=c[E>>2]|0;if(!b){Ga=E;Ka=E;K=1694;break}}else{if((b|0)>=1073741942){Ia=E;K=1700;break}Ha=E+4|0;b=c[Ha>>2]|0;if(!b){Ja=E;K=1698;break}}E=b}if((K|0)==1694){c[a>>2]=Ka;Ma=Ga;La=Ka;K=1701;break}else if((K|0)==1698){c[a>>2]=Ja;Ma=Ha;La=Ja;K=1701;break}else if((K|0)==1700){c[a>>2]=Ia;if(!Ia){Ma=a;La=Ia;K=1701;break}else{Na=Fa;D=Ia;break}}}while(0);if((K|0)==1701){D=YAb(24)|0;c[D+16>>2]=1073741942;c[D+20>>2]=0;c[D>>2]=0;c[D+4>>2]=0;c[D+8>>2]=La;c[Ma>>2]=D;b=c[c[Ge>>2]>>2]|0;if(!b)b=D;else{c[Ge>>2]=b;b=c[Ma>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;Na=c[Ge+4>>2]|0}c[D+20>>2]=131;do if(!Na){c[a>>2]=Ge+4;Ua=Ge+4|0;Ta=Ge+4|0;K=1714}else{D=Na;while(1){b=c[D+16>>2]|0;if((b|0)>1073741943){b=c[D>>2]|0;if(!b){Oa=D;Sa=D;K=1707;break}}else{if((b|0)>=1073741943){Qa=D;K=1713;break}Pa=D+4|0;b=c[Pa>>2]|0;if(!b){Ra=D;K=1711;break}}D=b}if((K|0)==1707){c[a>>2]=Sa;Ua=Oa;Ta=Sa;K=1714;break}else if((K|0)==1711){c[a>>2]=Ra;Ua=Pa;Ta=Ra;K=1714;break}else if((K|0)==1713){c[a>>2]=Qa;if(!Qa){Ua=a;Ta=Qa;K=1714;break}else{Va=Na;C=Qa;break}}}while(0);if((K|0)==1714){C=YAb(24)|0;c[C+16>>2]=1073741943;c[C+20>>2]=0;c[C>>2]=0;c[C+4>>2]=0;c[C+8>>2]=Ta;c[Ua>>2]=C;b=c[c[Ge>>2]>>2]|0;if(!b)b=C;else{c[Ge>>2]=b;b=c[Ua>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;Va=c[Ge+4>>2]|0}c[C+20>>2]=132;do if(!Va){c[a>>2]=Ge+4;ab=Ge+4|0;$a=Ge+4|0;K=1727}else{C=Va;while(1){b=c[C+16>>2]|0;if((b|0)>1073741944){b=c[C>>2]|0;if(!b){Wa=C;_a=C;K=1720;break}}else{if((b|0)>=1073741944){Ya=C;K=1726;break}Xa=C+4|0;b=c[Xa>>2]|0;if(!b){Za=C;K=1724;break}}C=b}if((K|0)==1720){c[a>>2]=_a;ab=Wa;$a=_a;K=1727;break}else if((K|0)==1724){c[a>>2]=Za;ab=Xa;$a=Za;K=1727;break}else if((K|0)==1726){c[a>>2]=Ya;if(!Ya){ab=a;$a=Ya;K=1727;break}else{bb=Va;B=Ya;break}}}while(0);if((K|0)==1727){B=YAb(24)|0;c[B+16>>2]=1073741944;c[B+20>>2]=0;c[B>>2]=0;c[B+4>>2]=0;c[B+8>>2]=$a;c[ab>>2]=B;b=c[c[Ge>>2]>>2]|0;if(!b)b=B;else{c[Ge>>2]=b;b=c[ab>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;bb=c[Ge+4>>2]|0}c[B+20>>2]=133;do if(!bb){c[a>>2]=Ge+4;ib=Ge+4|0;hb=Ge+4|0;K=1740}else{B=bb;while(1){b=c[B+16>>2]|0;if((b|0)>1073741945){b=c[B>>2]|0;if(!b){cb=B;gb=B;K=1733;break}}else{if((b|0)>=1073741945){eb=B;K=1739;break}db=B+4|0;b=c[db>>2]|0;if(!b){fb=B;K=1737;break}}B=b}if((K|0)==1733){c[a>>2]=gb;ib=cb;hb=gb;K=1740;break}else if((K|0)==1737){c[a>>2]=fb;ib=db;hb=fb;K=1740;break}else if((K|0)==1739){c[a>>2]=eb;if(!eb){ib=a;hb=eb;K=1740;break}else{jb=bb;A=eb;break}}}while(0);if((K|0)==1740){A=YAb(24)|0;c[A+16>>2]=1073741945;c[A+20>>2]=0;c[A>>2]=0;c[A+4>>2]=0;c[A+8>>2]=hb;c[ib>>2]=A;b=c[c[Ge>>2]>>2]|0;if(!b)b=A;else{c[Ge>>2]=b;b=c[ib>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;jb=c[Ge+4>>2]|0}c[A+20>>2]=134;do if(!jb){c[a>>2]=Ge+4;qb=Ge+4|0;pb=Ge+4|0;K=1753}else{A=jb;while(1){b=c[A+16>>2]|0;if((b|0)>1073741946){b=c[A>>2]|0;if(!b){kb=A;ob=A;K=1746;break}}else{if((b|0)>=1073741946){mb=A;K=1752;break}lb=A+4|0;b=c[lb>>2]|0;if(!b){nb=A;K=1750;break}}A=b}if((K|0)==1746){c[a>>2]=ob;qb=kb;pb=ob;K=1753;break}else if((K|0)==1750){c[a>>2]=nb;qb=lb;pb=nb;K=1753;break}else if((K|0)==1752){c[a>>2]=mb;if(!mb){qb=a;pb=mb;K=1753;break}else{rb=jb;z=mb;break}}}while(0);if((K|0)==1753){z=YAb(24)|0;c[z+16>>2]=1073741946;c[z+20>>2]=0;c[z>>2]=0;c[z+4>>2]=0;c[z+8>>2]=pb;c[qb>>2]=z;b=c[c[Ge>>2]>>2]|0;if(!b)b=z;else{c[Ge>>2]=b;b=c[qb>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;rb=c[Ge+4>>2]|0}c[z+20>>2]=135;do if(!rb){c[a>>2]=Ge+4;yb=Ge+4|0;xb=Ge+4|0;K=1766}else{z=rb;while(1){b=c[z+16>>2]|0;if((b|0)>1073741947){b=c[z>>2]|0;if(!b){sb=z;wb=z;K=1759;break}}else{if((b|0)>=1073741947){ub=z;K=1765;break}tb=z+4|0;b=c[tb>>2]|0;if(!b){vb=z;K=1763;break}}z=b}if((K|0)==1759){c[a>>2]=wb;yb=sb;xb=wb;K=1766;break}else if((K|0)==1763){c[a>>2]=vb;yb=tb;xb=vb;K=1766;break}else if((K|0)==1765){c[a>>2]=ub;if(!ub){yb=a;xb=ub;K=1766;break}else{zb=rb;y=ub;break}}}while(0);if((K|0)==1766){y=YAb(24)|0;c[y+16>>2]=1073741947;c[y+20>>2]=0;c[y>>2]=0;c[y+4>>2]=0;c[y+8>>2]=xb;c[yb>>2]=y;b=c[c[Ge>>2]>>2]|0;if(!b)b=y;else{c[Ge>>2]=b;b=c[yb>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;zb=c[Ge+4>>2]|0}c[y+20>>2]=136;do if(!zb){c[a>>2]=Ge+4;Gb=Ge+4|0;Fb=Ge+4|0;K=1779}else{y=zb;while(1){b=c[y+16>>2]|0;if((b|0)>1073741948){b=c[y>>2]|0;if(!b){Ab=y;Eb=y;K=1772;break}}else{if((b|0)>=1073741948){Cb=y;K=1778;break}Bb=y+4|0;b=c[Bb>>2]|0;if(!b){Db=y;K=1776;break}}y=b}if((K|0)==1772){c[a>>2]=Eb;Gb=Ab;Fb=Eb;K=1779;break}else if((K|0)==1776){c[a>>2]=Db;Gb=Bb;Fb=Db;K=1779;break}else if((K|0)==1778){c[a>>2]=Cb;if(!Cb){Gb=a;Fb=Cb;K=1779;break}else{Hb=zb;x=Cb;break}}}while(0);if((K|0)==1779){x=YAb(24)|0;c[x+16>>2]=1073741948;c[x+20>>2]=0;c[x>>2]=0;c[x+4>>2]=0;c[x+8>>2]=Fb;c[Gb>>2]=x;b=c[c[Ge>>2]>>2]|0;if(!b)b=x;else{c[Ge>>2]=b;b=c[Gb>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;Hb=c[Ge+4>>2]|0}c[x+20>>2]=137;do if(!Hb){c[a>>2]=Ge+4;Ob=Ge+4|0;Nb=Ge+4|0;K=1792}else{x=Hb;while(1){b=c[x+16>>2]|0;if((b|0)>1073741949){b=c[x>>2]|0;if(!b){Ib=x;Mb=x;K=1785;break}}else{if((b|0)>=1073741949){Kb=x;K=1791;break}Jb=x+4|0;b=c[Jb>>2]|0;if(!b){Lb=x;K=1789;break}}x=b}if((K|0)==1785){c[a>>2]=Mb;Ob=Ib;Nb=Mb;K=1792;break}else if((K|0)==1789){c[a>>2]=Lb;Ob=Jb;Nb=Lb;K=1792;break}else if((K|0)==1791){c[a>>2]=Kb;if(!Kb){Ob=a;Nb=Kb;K=1792;break}else{Pb=Hb;w=Kb;break}}}while(0);if((K|0)==1792){w=YAb(24)|0;c[w+16>>2]=1073741949;c[w+20>>2]=0;c[w>>2]=0;c[w+4>>2]=0;c[w+8>>2]=Nb;c[Ob>>2]=w;b=c[c[Ge>>2]>>2]|0;if(!b)b=w;else{c[Ge>>2]=b;b=c[Ob>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;Pb=c[Ge+4>>2]|0}c[w+20>>2]=138;do if(!Pb){c[a>>2]=Ge+4;Wb=Ge+4|0;Vb=Ge+4|0;K=1805}else{w=Pb;while(1){b=c[w+16>>2]|0;if((b|0)>1073741950){b=c[w>>2]|0;if(!b){Qb=w;Ub=w;K=1798;break}}else{if((b|0)>=1073741950){Sb=w;K=1804;break}Rb=w+4|0;b=c[Rb>>2]|0;if(!b){Tb=w;K=1802;break}}w=b}if((K|0)==1798){c[a>>2]=Ub;Wb=Qb;Vb=Ub;K=1805;break}else if((K|0)==1802){c[a>>2]=Tb;Wb=Rb;Vb=Tb;K=1805;break}else if((K|0)==1804){c[a>>2]=Sb;if(!Sb){Wb=a;Vb=Sb;K=1805;break}else{Xb=Pb;v=Sb;break}}}while(0);if((K|0)==1805){v=YAb(24)|0;c[v+16>>2]=1073741950;c[v+20>>2]=0;c[v>>2]=0;c[v+4>>2]=0;c[v+8>>2]=Vb;c[Wb>>2]=v;b=c[c[Ge>>2]>>2]|0;if(!b)b=v;else{c[Ge>>2]=b;b=c[Wb>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;Xb=c[Ge+4>>2]|0}c[v+20>>2]=139;do if(!Xb){c[a>>2]=Ge+4;cc=Ge+4|0;bc=Ge+4|0;K=1818}else{v=Xb;while(1){b=c[v+16>>2]|0;if((b|0)>1073741951){b=c[v>>2]|0;if(!b){Yb=v;ac=v;K=1811;break}}else{if((b|0)>=1073741951){_b=v;K=1817;break}Zb=v+4|0;b=c[Zb>>2]|0;if(!b){$b=v;K=1815;break}}v=b}if((K|0)==1811){c[a>>2]=ac;cc=Yb;bc=ac;K=1818;break}else if((K|0)==1815){c[a>>2]=$b;cc=Zb;bc=$b;K=1818;break}else if((K|0)==1817){c[a>>2]=_b;if(!_b){cc=a;bc=_b;K=1818;break}else{dc=Xb;u=_b;break}}}while(0);if((K|0)==1818){u=YAb(24)|0;c[u+16>>2]=1073741951;c[u+20>>2]=0;c[u>>2]=0;c[u+4>>2]=0;c[u+8>>2]=bc;c[cc>>2]=u;b=c[c[Ge>>2]>>2]|0;if(!b)b=u;else{c[Ge>>2]=b;b=c[cc>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;dc=c[Ge+4>>2]|0}c[u+20>>2]=140;do if(!dc){c[a>>2]=Ge+4;kc=Ge+4|0;jc=Ge+4|0;K=1831}else{u=dc;while(1){b=c[u+16>>2]|0;if((b|0)>1073741952){b=c[u>>2]|0;if(!b){ec=u;ic=u;K=1824;break}}else{if((b|0)>=1073741952){gc=u;K=1830;break}fc=u+4|0;b=c[fc>>2]|0;if(!b){hc=u;K=1828;break}}u=b}if((K|0)==1824){c[a>>2]=ic;kc=ec;jc=ic;K=1831;break}else if((K|0)==1828){c[a>>2]=hc;kc=fc;jc=hc;K=1831;break}else if((K|0)==1830){c[a>>2]=gc;if(!gc){kc=a;jc=gc;K=1831;break}else{lc=dc;t=gc;break}}}while(0);if((K|0)==1831){t=YAb(24)|0;c[t+16>>2]=1073741952;c[t+20>>2]=0;c[t>>2]=0;c[t+4>>2]=0;c[t+8>>2]=jc;c[kc>>2]=t;b=c[c[Ge>>2]>>2]|0;if(!b)b=t;else{c[Ge>>2]=b;b=c[kc>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;lc=c[Ge+4>>2]|0}c[t+20>>2]=141;do if(!lc){c[a>>2]=Ge+4;sc=Ge+4|0;rc=Ge+4|0;K=1844}else{t=lc;while(1){b=c[t+16>>2]|0;if((b|0)>1073741953){b=c[t>>2]|0;if(!b){mc=t;qc=t;K=1837;break}}else{if((b|0)>=1073741953){oc=t;K=1843;break}nc=t+4|0;b=c[nc>>2]|0;if(!b){pc=t;K=1841;break}}t=b}if((K|0)==1837){c[a>>2]=qc;sc=mc;rc=qc;K=1844;break}else if((K|0)==1841){c[a>>2]=pc;sc=nc;rc=pc;K=1844;break}else if((K|0)==1843){c[a>>2]=oc;if(!oc){sc=a;rc=oc;K=1844;break}else{tc=lc;s=oc;break}}}while(0);if((K|0)==1844){s=YAb(24)|0;c[s+16>>2]=1073741953;c[s+20>>2]=0;c[s>>2]=0;c[s+4>>2]=0;c[s+8>>2]=rc;c[sc>>2]=s;b=c[c[Ge>>2]>>2]|0;if(!b)b=s;else{c[Ge>>2]=b;b=c[sc>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;tc=c[Ge+4>>2]|0}c[s+20>>2]=142;do if(!tc){c[a>>2]=Ge+4;Ac=Ge+4|0;zc=Ge+4|0;K=1857}else{s=tc;while(1){b=c[s+16>>2]|0;if((b|0)>1073741977){b=c[s>>2]|0;if(!b){uc=s;yc=s;K=1850;break}}else{if((b|0)>=1073741977){wc=s;K=1856;break}vc=s+4|0;b=c[vc>>2]|0;if(!b){xc=s;K=1854;break}}s=b}if((K|0)==1850){c[a>>2]=yc;Ac=uc;zc=yc;K=1857;break}else if((K|0)==1854){c[a>>2]=xc;Ac=vc;zc=xc;K=1857;break}else if((K|0)==1856){c[a>>2]=wc;if(!wc){Ac=a;zc=wc;K=1857;break}else{Bc=tc;r=wc;break}}}while(0);if((K|0)==1857){r=YAb(24)|0;c[r+16>>2]=1073741977;c[r+20>>2]=0;c[r>>2]=0;c[r+4>>2]=0;c[r+8>>2]=zc;c[Ac>>2]=r;b=c[c[Ge>>2]>>2]|0;if(!b)b=r;else{c[Ge>>2]=b;b=c[Ac>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;Bc=c[Ge+4>>2]|0}c[r+20>>2]=143;do if(!Bc){c[a>>2]=Ge+4;Ic=Ge+4|0;Hc=Ge+4|0;K=1870}else{r=Bc;while(1){b=c[r+16>>2]|0;if((b|0)>1073741978){b=c[r>>2]|0;if(!b){Cc=r;Gc=r;K=1863;break}}else{if((b|0)>=1073741978){Ec=r;K=1869;break}Dc=r+4|0;b=c[Dc>>2]|0;if(!b){Fc=r;K=1867;break}}r=b}if((K|0)==1863){c[a>>2]=Gc;Ic=Cc;Hc=Gc;K=1870;break}else if((K|0)==1867){c[a>>2]=Fc;Ic=Dc;Hc=Fc;K=1870;break}else if((K|0)==1869){c[a>>2]=Ec;if(!Ec){Ic=a;Hc=Ec;K=1870;break}else{Jc=Bc;q=Ec;break}}}while(0);if((K|0)==1870){q=YAb(24)|0;c[q+16>>2]=1073741978;c[q+20>>2]=0;c[q>>2]=0;c[q+4>>2]=0;c[q+8>>2]=Hc;c[Ic>>2]=q;b=c[c[Ge>>2]>>2]|0;if(!b)b=q;else{c[Ge>>2]=b;b=c[Ic>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;Jc=c[Ge+4>>2]|0}c[q+20>>2]=144;do if(!Jc){c[a>>2]=Ge+4;Qc=Ge+4|0;Pc=Ge+4|0;K=1883}else{q=Jc;while(1){b=c[q+16>>2]|0;if((b|0)>1073741979){b=c[q>>2]|0;if(!b){Kc=q;Oc=q;K=1876;break}}else{if((b|0)>=1073741979){Mc=q;K=1882;break}Lc=q+4|0;b=c[Lc>>2]|0;if(!b){Nc=q;K=1880;break}}q=b}if((K|0)==1876){c[a>>2]=Oc;Qc=Kc;Pc=Oc;K=1883;break}else if((K|0)==1880){c[a>>2]=Nc;Qc=Lc;Pc=Nc;K=1883;break}else if((K|0)==1882){c[a>>2]=Mc;if(!Mc){Qc=a;Pc=Mc;K=1883;break}else{Rc=Jc;p=Mc;break}}}while(0);if((K|0)==1883){p=YAb(24)|0;c[p+16>>2]=1073741979;c[p+20>>2]=0;c[p>>2]=0;c[p+4>>2]=0;c[p+8>>2]=Pc;c[Qc>>2]=p;b=c[c[Ge>>2]>>2]|0;if(!b)b=p;else{c[Ge>>2]=b;b=c[Qc>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;Rc=c[Ge+4>>2]|0}c[p+20>>2]=145;do if(!Rc){c[a>>2]=Ge+4;Yc=Ge+4|0;Xc=Ge+4|0;K=1896}else{p=Rc;while(1){b=c[p+16>>2]|0;if((b|0)>1073741980){b=c[p>>2]|0;if(!b){Sc=p;Wc=p;K=1889;break}}else{if((b|0)>=1073741980){Uc=p;K=1895;break}Tc=p+4|0;b=c[Tc>>2]|0;if(!b){Vc=p;K=1893;break}}p=b}if((K|0)==1889){c[a>>2]=Wc;Yc=Sc;Xc=Wc;K=1896;break}else if((K|0)==1893){c[a>>2]=Vc;Yc=Tc;Xc=Vc;K=1896;break}else if((K|0)==1895){c[a>>2]=Uc;if(!Uc){Yc=a;Xc=Uc;K=1896;break}else{Zc=Rc;o=Uc;break}}}while(0);if((K|0)==1896){o=YAb(24)|0;c[o+16>>2]=1073741980;c[o+20>>2]=0;c[o>>2]=0;c[o+4>>2]=0;c[o+8>>2]=Xc;c[Yc>>2]=o;b=c[c[Ge>>2]>>2]|0;if(!b)b=o;else{c[Ge>>2]=b;b=c[Yc>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;Zc=c[Ge+4>>2]|0}c[o+20>>2]=146;do if(!Zc){c[a>>2]=Ge+4;ed=Ge+4|0;dd=Ge+4|0;K=1909}else{o=Zc;while(1){b=c[o+16>>2]|0;if((b|0)>1073741981){b=c[o>>2]|0;if(!b){_c=o;cd=o;K=1902;break}}else{if((b|0)>=1073741981){ad=o;K=1908;break}$c=o+4|0;b=c[$c>>2]|0;if(!b){bd=o;K=1906;break}}o=b}if((K|0)==1902){c[a>>2]=cd;ed=_c;dd=cd;K=1909;break}else if((K|0)==1906){c[a>>2]=bd;ed=$c;dd=bd;K=1909;break}else if((K|0)==1908){c[a>>2]=ad;if(!ad){ed=a;dd=ad;K=1909;break}else{fd=Zc;n=ad;break}}}while(0);if((K|0)==1909){n=YAb(24)|0;c[n+16>>2]=1073741981;c[n+20>>2]=0;c[n>>2]=0;c[n+4>>2]=0;c[n+8>>2]=dd;c[ed>>2]=n;b=c[c[Ge>>2]>>2]|0;if(!b)b=n;else{c[Ge>>2]=b;b=c[ed>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;fd=c[Ge+4>>2]|0}c[n+20>>2]=147;do if(!fd){c[a>>2]=Ge+4;md=Ge+4|0;ld=Ge+4|0;K=1922}else{n=fd;while(1){b=c[n+16>>2]|0;if((b|0)>1073741982){b=c[n>>2]|0;if(!b){gd=n;kd=n;K=1915;break}}else{if((b|0)>=1073741982){id=n;K=1921;break}hd=n+4|0;b=c[hd>>2]|0;if(!b){jd=n;K=1919;break}}n=b}if((K|0)==1915){c[a>>2]=kd;md=gd;ld=kd;K=1922;break}else if((K|0)==1919){c[a>>2]=jd;md=hd;ld=jd;K=1922;break}else if((K|0)==1921){c[a>>2]=id;if(!id){md=a;ld=id;K=1922;break}else{nd=fd;m=id;break}}}while(0);if((K|0)==1922){m=YAb(24)|0;c[m+16>>2]=1073741982;c[m+20>>2]=0;c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=ld;c[md>>2]=m;b=c[c[Ge>>2]>>2]|0;if(!b)b=m;else{c[Ge>>2]=b;b=c[md>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;nd=c[Ge+4>>2]|0}c[m+20>>2]=148;do if(!nd){c[a>>2]=Ge+4;ud=Ge+4|0;td=Ge+4|0;K=1935}else{m=nd;while(1){b=c[m+16>>2]|0;if((b|0)>1073741983){b=c[m>>2]|0;if(!b){od=m;sd=m;K=1928;break}}else{if((b|0)>=1073741983){qd=m;K=1934;break}pd=m+4|0;b=c[pd>>2]|0;if(!b){rd=m;K=1932;break}}m=b}if((K|0)==1928){c[a>>2]=sd;ud=od;td=sd;K=1935;break}else if((K|0)==1932){c[a>>2]=rd;ud=pd;td=rd;K=1935;break}else if((K|0)==1934){c[a>>2]=qd;if(!qd){ud=a;td=qd;K=1935;break}else{vd=nd;l=qd;break}}}while(0);if((K|0)==1935){l=YAb(24)|0;c[l+16>>2]=1073741983;c[l+20>>2]=0;c[l>>2]=0;c[l+4>>2]=0;c[l+8>>2]=td;c[ud>>2]=l;b=c[c[Ge>>2]>>2]|0;if(!b)b=l;else{c[Ge>>2]=b;b=c[ud>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;vd=c[Ge+4>>2]|0}c[l+20>>2]=149;do if(!vd){c[a>>2]=Ge+4;Cd=Ge+4|0;Bd=Ge+4|0;K=1948}else{l=vd;while(1){b=c[l+16>>2]|0;if((b|0)>1073741984){b=c[l>>2]|0;if(!b){wd=l;Ad=l;K=1941;break}}else{if((b|0)>=1073741984){yd=l;K=1947;break}xd=l+4|0;b=c[xd>>2]|0;if(!b){zd=l;K=1945;break}}l=b}if((K|0)==1941){c[a>>2]=Ad;Cd=wd;Bd=Ad;K=1948;break}else if((K|0)==1945){c[a>>2]=zd;Cd=xd;Bd=zd;K=1948;break}else if((K|0)==1947){c[a>>2]=yd;if(!yd){Cd=a;Bd=yd;K=1948;break}else{Dd=vd;k=yd;break}}}while(0);if((K|0)==1948){k=YAb(24)|0;c[k+16>>2]=1073741984;c[k+20>>2]=0;c[k>>2]=0;c[k+4>>2]=0;c[k+8>>2]=Bd;c[Cd>>2]=k;b=c[c[Ge>>2]>>2]|0;if(!b)b=k;else{c[Ge>>2]=b;b=c[Cd>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;Dd=c[Ge+4>>2]|0}c[k+20>>2]=150;do if(!Dd){c[a>>2]=Ge+4;Kd=Ge+4|0;Jd=Ge+4|0;K=1961}else{k=Dd;while(1){b=c[k+16>>2]|0;if((b|0)>1073741985){b=c[k>>2]|0;if(!b){Ed=k;Id=k;K=1954;break}}else{if((b|0)>=1073741985){Gd=k;K=1960;break}Fd=k+4|0;b=c[Fd>>2]|0;if(!b){Hd=k;K=1958;break}}k=b}if((K|0)==1954){c[a>>2]=Id;Kd=Ed;Jd=Id;K=1961;break}else if((K|0)==1958){c[a>>2]=Hd;Kd=Fd;Jd=Hd;K=1961;break}else if((K|0)==1960){c[a>>2]=Gd;if(!Gd){Kd=a;Jd=Gd;K=1961;break}else{Ld=Dd;j=Gd;break}}}while(0);if((K|0)==1961){j=YAb(24)|0;c[j+16>>2]=1073741985;c[j+20>>2]=0;c[j>>2]=0;c[j+4>>2]=0;c[j+8>>2]=Jd;c[Kd>>2]=j;b=c[c[Ge>>2]>>2]|0;if(!b)b=j;else{c[Ge>>2]=b;b=c[Kd>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;Ld=c[Ge+4>>2]|0}c[j+20>>2]=151;do if(!Ld){c[a>>2]=Ge+4;Sd=Ge+4|0;Rd=Ge+4|0;K=1974}else{j=Ld;while(1){b=c[j+16>>2]|0;if((b|0)>1073741986){b=c[j>>2]|0;if(!b){Md=j;Qd=j;K=1967;break}}else{if((b|0)>=1073741986){Od=j;K=1973;break}Nd=j+4|0;b=c[Nd>>2]|0;if(!b){Pd=j;K=1971;break}}j=b}if((K|0)==1967){c[a>>2]=Qd;Sd=Md;Rd=Qd;K=1974;break}else if((K|0)==1971){c[a>>2]=Pd;Sd=Nd;Rd=Pd;K=1974;break}else if((K|0)==1973){c[a>>2]=Od;if(!Od){Sd=a;Rd=Od;K=1974;break}else{Td=Ld;i=Od;break}}}while(0);if((K|0)==1974){i=YAb(24)|0;c[i+16>>2]=1073741986;c[i+20>>2]=0;c[i>>2]=0;c[i+4>>2]=0;c[i+8>>2]=Rd;c[Sd>>2]=i;b=c[c[Ge>>2]>>2]|0;if(!b)b=i;else{c[Ge>>2]=b;b=c[Sd>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;Td=c[Ge+4>>2]|0}c[i+20>>2]=152;do if(!Td){c[a>>2]=Ge+4;_d=Ge+4|0;Zd=Ge+4|0;K=1987}else{i=Td;while(1){b=c[i+16>>2]|0;if((b|0)>1073742002){b=c[i>>2]|0;if(!b){Ud=i;Yd=i;K=1980;break}}else{if((b|0)>=1073742002){Wd=i;K=1986;break}Vd=i+4|0;b=c[Vd>>2]|0;if(!b){Xd=i;K=1984;break}}i=b}if((K|0)==1980){c[a>>2]=Yd;_d=Ud;Zd=Yd;K=1987;break}else if((K|0)==1984){c[a>>2]=Xd;_d=Vd;Zd=Xd;K=1987;break}else if((K|0)==1986){c[a>>2]=Wd;if(!Wd){_d=a;Zd=Wd;K=1987;break}else{$d=Td;h=Wd;break}}}while(0);if((K|0)==1987){h=YAb(24)|0;c[h+16>>2]=1073742002;c[h+20>>2]=0;c[h>>2]=0;c[h+4>>2]=0;c[h+8>>2]=Zd;c[_d>>2]=h;b=c[c[Ge>>2]>>2]|0;if(!b)b=h;else{c[Ge>>2]=b;b=c[_d>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;$d=c[Ge+4>>2]|0}c[h+20>>2]=153;do if(!$d){c[a>>2]=Ge+4;ge=Ge+4|0;fe=Ge+4|0;K=2e3}else{h=$d;while(1){b=c[h+16>>2]|0;if((b|0)>1073742003){b=c[h>>2]|0;if(!b){ae=h;ee=h;K=1993;break}}else{if((b|0)>=1073742003){ce=h;K=1999;break}be=h+4|0;b=c[be>>2]|0;if(!b){de=h;K=1997;break}}h=b}if((K|0)==1993){c[a>>2]=ee;ge=ae;fe=ee;K=2e3;break}else if((K|0)==1997){c[a>>2]=de;ge=be;fe=de;K=2e3;break}else if((K|0)==1999){c[a>>2]=ce;if(!ce){ge=a;fe=ce;K=2e3;break}else{he=$d;g=ce;break}}}while(0);if((K|0)==2e3){g=YAb(24)|0;c[g+16>>2]=1073742003;c[g+20>>2]=0;c[g>>2]=0;c[g+4>>2]=0;c[g+8>>2]=fe;c[ge>>2]=g;b=c[c[Ge>>2]>>2]|0;if(!b)b=g;else{c[Ge>>2]=b;b=c[ge>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;he=c[Ge+4>>2]|0}c[g+20>>2]=154;do if(!he){c[a>>2]=Ge+4;oe=Ge+4|0;ne=Ge+4|0;K=2013}else{g=he;while(1){b=c[g+16>>2]|0;if((b|0)>1073742004){b=c[g>>2]|0;if(!b){ie=g;me=g;K=2006;break}}else{if((b|0)>=1073742004){ke=g;K=2012;break}je=g+4|0;b=c[je>>2]|0;if(!b){le=g;K=2010;break}}g=b}if((K|0)==2006){c[a>>2]=me;oe=ie;ne=me;K=2013;break}else if((K|0)==2010){c[a>>2]=le;oe=je;ne=le;K=2013;break}else if((K|0)==2012){c[a>>2]=ke;if(!ke){oe=a;ne=ke;K=2013;break}else{pe=he;f=ke;break}}}while(0);if((K|0)==2013){f=YAb(24)|0;c[f+16>>2]=1073742004;c[f+20>>2]=0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=ne;c[oe>>2]=f;b=c[c[Ge>>2]>>2]|0;if(!b)b=f;else{c[Ge>>2]=b;b=c[oe>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;pe=c[Ge+4>>2]|0}c[f+20>>2]=155;do if(!pe){c[a>>2]=Ge+4;we=Ge+4|0;ve=Ge+4|0;K=2026}else{f=pe;while(1){b=c[f+16>>2]|0;if((b|0)>1073742005){b=c[f>>2]|0;if(!b){qe=f;ue=f;K=2019;break}}else{if((b|0)>=1073742005){se=f;K=2025;break}re=f+4|0;b=c[re>>2]|0;if(!b){te=f;K=2023;break}}f=b}if((K|0)==2019){c[a>>2]=ue;we=qe;ve=ue;K=2026;break}else if((K|0)==2023){c[a>>2]=te;we=re;ve=te;K=2026;break}else if((K|0)==2025){c[a>>2]=se;if(!se){we=a;ve=se;K=2026;break}else{xe=pe;e=se;break}}}while(0);if((K|0)==2026){e=YAb(24)|0;c[e+16>>2]=1073742005;c[e+20>>2]=0;c[e>>2]=0;c[e+4>>2]=0;c[e+8>>2]=ve;c[we>>2]=e;b=c[c[Ge>>2]>>2]|0;if(!b)b=e;else{c[Ge>>2]=b;b=c[we>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;xe=c[Ge+4>>2]|0}c[e+20>>2]=156;do if(!xe){c[a>>2]=Ge+4;Fe=Ge+4|0;De=Ge+4|0;K=2039}else{e=xe;while(1){b=c[e+16>>2]|0;if((b|0)>1073742048){b=c[e>>2]|0;if(!b){ye=e;Ce=e;K=2032;break}}else{if((b|0)>=1073742048){Ae=e;K=2038;break}ze=e+4|0;b=c[ze>>2]|0;if(!b){Be=e;K=2036;break}}e=b}if((K|0)==2032){c[a>>2]=Ce;Fe=ye;De=Ce;K=2039;break}else if((K|0)==2036){c[a>>2]=Be;Fe=ze;De=Be;K=2039;break}else if((K|0)==2038){c[a>>2]=Ae;if(!Ae){Fe=a;De=Ae;K=2039;break}else{Ee=xe;d=Ae;break}}}while(0);if((K|0)==2039){d=YAb(24)|0;c[d+16>>2]=1073742048;c[d+20>>2]=0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=De;c[Fe>>2]=d;b=c[c[Ge>>2]>>2]|0;if(!b)b=d;else{c[Ge>>2]=b;b=c[Fe>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;Ee=c[Ge+4>>2]|0}c[d+20>>2]=157;c[a+14624>>2]=Ee;c[a+25904>>2]=K}function _ea(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,jb=0,kb=0,lb=0,mb=0,nb=0,ob=0,pb=0,qb=0,rb=0,sb=0,tb=0,ub=0,vb=0,wb=0,xb=0,yb=0,zb=0,Ab=0,Bb=0,Cb=0,Db=0,Eb=0,Fb=0,Gb=0,Hb=0,Ib=0,Jb=0,Kb=0,Lb=0,Mb=0,Nb=0,Ob=0,Pb=0,Qb=0,Rb=0,Sb=0,Tb=0,Ub=0,Vb=0,Wb=0,Xb=0,Yb=0,Zb=0,_b=0,$b=0,ac=0,bc=0,cc=0,dc=0,ec=0,fc=0,gc=0,hc=0,ic=0,jc=0,kc=0,lc=0,mc=0,nc=0,oc=0,pc=0,qc=0,rc=0,sc=0,tc=0,uc=0,vc=0,wc=0,xc=0,yc=0,zc=0,Ac=0,Bc=0,Cc=0,Dc=0,Ec=0,Fc=0,Gc=0,Hc=0,Ic=0,Jc=0,Kc=0,Lc=0,Mc=0,Nc=0,Oc=0,Pc=0,Qc=0,Rc=0,Sc=0,Tc=0,Uc=0,Vc=0,Wc=0,Xc=0,Yc=0,Zc=0,_c=0,$c=0,ad=0,bd=0,cd=0,dd=0,ed=0,fd=0,gd=0,hd=0,id=0,jd=0,kd=0,ld=0,md=0,nd=0,od=0,pd=0,qd=0,rd=0,sd=0,td=0,ud=0,vd=0,wd=0,xd=0,yd=0,zd=0,Ad=0,Bd=0,Cd=0,Dd=0,Ed=0,Fd=0,Gd=0,Hd=0,Id=0,Jd=0,Kd=0,Ld=0,Md=0,Nd=0,Od=0,Pd=0,Qd=0,Rd=0,Sd=0,Td=0,Ud=0,Vd=0,Wd=0,Xd=0,Yd=0,Zd=0,_d=0,$d=0,ae=0,be=0,ce=0,de=0,ee=0,fe=0,ge=0,he=0,ie=0,je=0,ke=0,le=0,me=0,ne=0,oe=0,pe=0,qe=0,re=0,se=0,te=0,ue=0,ve=0,we=0,xe=0,ye=0,ze=0,Ae=0,Be=0,Ce=0,De=0,Ee=0,Fe=0,Ge=0,He=0;Ge=c[a+32>>2]|0;L=c[a+240>>2]|0;b=c[a+9304>>2]|0;Ce=c[a+9336>>2]|0;Ee=c[a+11968>>2]|0;M=c[a+24600>>2]|0;d=c[a+24888>>2]|0;He=c[a+25904>>2]|0;if((He|0)==1181){M=YAb(24)|0;c[M+16>>2]=1073741902;c[M+20>>2]=0;c[M>>2]=0;c[M+4>>2]=0;c[M+8>>2]=b;c[L>>2]=M;b=c[c[Ge>>2]>>2]|0;if(!b)b=M;else{c[Ge>>2]=b;b=c[L>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;Ce=c[Ge+4>>2]|0}c[M+20>>2]=91;do if(!Ce){c[a>>2]=Ge+4;T=Ge+4|0;S=Ge+4|0;L=1194}else{L=Ce;while(1){b=c[L+16>>2]|0;if((b|0)>1073741903){b=c[L>>2]|0;if(!b){N=L;R=L;L=1187;break}}else{if((b|0)>=1073741903){P=L;L=1193;break}O=L+4|0;b=c[O>>2]|0;if(!b){Q=L;L=1191;break}}L=b}if((L|0)==1187){c[a>>2]=R;T=N;S=R;L=1194;break}else if((L|0)==1191){c[a>>2]=Q;T=O;S=Q;L=1194;break}else if((L|0)==1193){c[a>>2]=P;if(!P){T=a;S=P;L=1194;break}else{U=Ce;K=P;break}}}while(0);if((L|0)==1194){K=YAb(24)|0;c[K+16>>2]=1073741903;c[K+20>>2]=0;c[K>>2]=0;c[K+4>>2]=0;c[K+8>>2]=S;c[T>>2]=K;b=c[c[Ge>>2]>>2]|0;if(!b)b=K;else{c[Ge>>2]=b;b=c[T>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;U=c[Ge+4>>2]|0}c[K+20>>2]=92;do if(!U){c[a>>2]=Ge+4;$=Ge+4|0;_=Ge+4|0;L=1207}else{K=U;while(1){b=c[K+16>>2]|0;if((b|0)>1073741904){b=c[K>>2]|0;if(!b){V=K;Z=K;L=1200;break}}else{if((b|0)>=1073741904){X=K;L=1206;break}W=K+4|0;b=c[W>>2]|0;if(!b){Y=K;L=1204;break}}K=b}if((L|0)==1200){c[a>>2]=Z;$=V;_=Z;L=1207;break}else if((L|0)==1204){c[a>>2]=Y;$=W;_=Y;L=1207;break}else if((L|0)==1206){c[a>>2]=X;if(!X){$=a;_=X;L=1207;break}else{aa=U;J=X;break}}}while(0);if((L|0)==1207){J=YAb(24)|0;c[J+16>>2]=1073741904;c[J+20>>2]=0;c[J>>2]=0;c[J+4>>2]=0;c[J+8>>2]=_;c[$>>2]=J;b=c[c[Ge>>2]>>2]|0;if(!b)b=J;else{c[Ge>>2]=b;b=c[$>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;aa=c[Ge+4>>2]|0}c[J+20>>2]=93;do if(!aa){c[a>>2]=Ge+4;ha=Ge+4|0;ga=Ge+4|0;L=1220}else{J=aa;while(1){b=c[J+16>>2]|0;if((b|0)>1073741905){b=c[J>>2]|0;if(!b){ba=J;fa=J;L=1213;break}}else{if((b|0)>=1073741905){da=J;L=1219;break}ca=J+4|0;b=c[ca>>2]|0;if(!b){ea=J;L=1217;break}}J=b}if((L|0)==1213){c[a>>2]=fa;ha=ba;ga=fa;L=1220;break}else if((L|0)==1217){c[a>>2]=ea;ha=ca;ga=ea;L=1220;break}else if((L|0)==1219){c[a>>2]=da;if(!da){ha=a;ga=da;L=1220;break}else{ia=aa;I=da;break}}}while(0);if((L|0)==1220){I=YAb(24)|0;c[I+16>>2]=1073741905;c[I+20>>2]=0;c[I>>2]=0;c[I+4>>2]=0;c[I+8>>2]=ga;c[ha>>2]=I;b=c[c[Ge>>2]>>2]|0;if(!b)b=I;else{c[Ge>>2]=b;b=c[ha>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;ia=c[Ge+4>>2]|0}c[I+20>>2]=94;do if(!ia){c[a>>2]=Ge+4;pa=Ge+4|0;oa=Ge+4|0;L=1233}else{I=ia;while(1){b=c[I+16>>2]|0;if((b|0)>1073741906){b=c[I>>2]|0;if(!b){ja=I;na=I;L=1226;break}}else{if((b|0)>=1073741906){la=I;L=1232;break}ka=I+4|0;b=c[ka>>2]|0;if(!b){ma=I;L=1230;break}}I=b}if((L|0)==1226){c[a>>2]=na;pa=ja;oa=na;L=1233;break}else if((L|0)==1230){c[a>>2]=ma;pa=ka;oa=ma;L=1233;break}else if((L|0)==1232){c[a>>2]=la;if(!la){pa=a;oa=la;L=1233;break}else{qa=ia;H=la;break}}}while(0);if((L|0)==1233){H=YAb(24)|0;c[H+16>>2]=1073741906;c[H+20>>2]=0;c[H>>2]=0;c[H+4>>2]=0;c[H+8>>2]=oa;c[pa>>2]=H;b=c[c[Ge>>2]>>2]|0;if(!b)b=H;else{c[Ge>>2]=b;b=c[pa>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;qa=c[Ge+4>>2]|0}c[H+20>>2]=95;do if(!qa){c[a>>2]=Ge+4;xa=Ge+4|0;wa=Ge+4|0;L=1246}else{H=qa;while(1){b=c[H+16>>2]|0;if((b|0)>1073741907){b=c[H>>2]|0;if(!b){ra=H;va=H;L=1239;break}}else{if((b|0)>=1073741907){ta=H;L=1245;break}sa=H+4|0;b=c[sa>>2]|0;if(!b){ua=H;L=1243;break}}H=b}if((L|0)==1239){c[a>>2]=va;xa=ra;wa=va;L=1246;break}else if((L|0)==1243){c[a>>2]=ua;xa=sa;wa=ua;L=1246;break}else if((L|0)==1245){c[a>>2]=ta;if(!ta){xa=a;wa=ta;L=1246;break}else{ya=qa;G=ta;break}}}while(0);if((L|0)==1246){G=YAb(24)|0;c[G+16>>2]=1073741907;c[G+20>>2]=0;c[G>>2]=0;c[G+4>>2]=0;c[G+8>>2]=wa;c[xa>>2]=G;b=c[c[Ge>>2]>>2]|0;if(!b)b=G;else{c[Ge>>2]=b;b=c[xa>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;ya=c[Ge+4>>2]|0}c[G+20>>2]=96;do if(!ya){c[a>>2]=Ge+4;Fa=Ge+4|0;Ea=Ge+4|0;L=1259}else{G=ya;while(1){b=c[G+16>>2]|0;if((b|0)>1073741908){b=c[G>>2]|0;if(!b){za=G;Da=G;L=1252;break}}else{if((b|0)>=1073741908){Ba=G;L=1258;break}Aa=G+4|0;b=c[Aa>>2]|0;if(!b){Ca=G;L=1256;break}}G=b}if((L|0)==1252){c[a>>2]=Da;Fa=za;Ea=Da;L=1259;break}else if((L|0)==1256){c[a>>2]=Ca;Fa=Aa;Ea=Ca;L=1259;break}else if((L|0)==1258){c[a>>2]=Ba;if(!Ba){Fa=a;Ea=Ba;L=1259;break}else{Ga=ya;F=Ba;break}}}while(0);if((L|0)==1259){F=YAb(24)|0;c[F+16>>2]=1073741908;c[F+20>>2]=0;c[F>>2]=0;c[F+4>>2]=0;c[F+8>>2]=Ea;c[Fa>>2]=F;b=c[c[Ge>>2]>>2]|0;if(!b)b=F;else{c[Ge>>2]=b;b=c[Fa>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;Ga=c[Ge+4>>2]|0}c[F+20>>2]=97;do if(!Ga){c[a>>2]=Ge+4;Na=Ge+4|0;Ma=Ge+4|0;L=1272}else{F=Ga;while(1){b=c[F+16>>2]|0;if((b|0)>1073741909){b=c[F>>2]|0;if(!b){Ha=F;La=F;L=1265;break}}else{if((b|0)>=1073741909){Ja=F;L=1271;break}Ia=F+4|0;b=c[Ia>>2]|0;if(!b){Ka=F;L=1269;break}}F=b}if((L|0)==1265){c[a>>2]=La;Na=Ha;Ma=La;L=1272;break}else if((L|0)==1269){c[a>>2]=Ka;Na=Ia;Ma=Ka;L=1272;break}else if((L|0)==1271){c[a>>2]=Ja;if(!Ja){Na=a;Ma=Ja;L=1272;break}else{D=Ga;E=Ja;break}}}while(0);if((L|0)==1272){E=YAb(24)|0;c[E+16>>2]=1073741909;c[E+20>>2]=0;c[E>>2]=0;c[E+4>>2]=0;c[E+8>>2]=Ma;c[Na>>2]=E;b=c[c[Ge>>2]>>2]|0;if(!b)b=E;else{c[Ge>>2]=b;b=c[Na>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;D=c[Ge+4>>2]|0}c[E+20>>2]=98;do if(!D){c[a>>2]=Ge+4;Ua=Ge+4|0;Ta=Ge+4|0;L=1285}else{while(1){b=c[D+16>>2]|0;if((b|0)>1073741910){b=c[D>>2]|0;if(!b){Oa=D;Sa=D;L=1278;break}}else{if((b|0)>=1073741910){Qa=D;L=1284;break}Pa=D+4|0;b=c[Pa>>2]|0;if(!b){Ra=D;L=1282;break}}D=b}if((L|0)==1278){c[a>>2]=Sa;Ua=Oa;Ta=Sa;L=1285;break}else if((L|0)==1282){c[a>>2]=Ra;Ua=Pa;Ta=Ra;L=1285;break}else if((L|0)==1284){c[a>>2]=Qa;if(!Qa){Ua=a;Ta=Qa;L=1285;break}else{C=Qa;break}}}while(0);if((L|0)==1285){C=YAb(24)|0;c[C+16>>2]=1073741910;c[C+20>>2]=0;c[C>>2]=0;c[C+4>>2]=0;c[C+8>>2]=Ta;c[Ua>>2]=C;b=c[c[Ge>>2]>>2]|0;if(!b)b=C;else{c[Ge>>2]=b;b=c[Ua>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1}c[C+20>>2]=99;D=c[Ge+4>>2]|0;do if(!D){c[a>>2]=Ge+4;$a=Ge+4|0;_a=Ge+4|0;L=1298}else{C=D;while(1){b=c[C+16>>2]|0;if((b|0)>1073741911){b=c[C>>2]|0;if(!b){Va=C;Za=C;L=1291;break}}else{if((b|0)>=1073741911){Xa=C;L=1297;break}Wa=C+4|0;b=c[Wa>>2]|0;if(!b){Ya=C;L=1295;break}}C=b}if((L|0)==1291){c[a>>2]=Za;$a=Va;_a=Za;L=1298;break}else if((L|0)==1295){c[a>>2]=Ya;$a=Wa;_a=Ya;L=1298;break}else if((L|0)==1297){c[a>>2]=Xa;if(!Xa){$a=a;_a=Xa;L=1298;break}else{ab=D;B=Xa;break}}}while(0);if((L|0)==1298){B=YAb(24)|0;c[B+16>>2]=1073741911;c[B+20>>2]=0;c[B>>2]=0;c[B+4>>2]=0;c[B+8>>2]=_a;c[$a>>2]=B;b=c[c[Ge>>2]>>2]|0;if(!b)b=B;else{c[Ge>>2]=b;b=c[$a>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;ab=c[Ge+4>>2]|0}c[B+20>>2]=100;do if(!ab){c[a>>2]=Ge+4;hb=Ge+4|0;gb=Ge+4|0;L=1311}else{B=ab;while(1){b=c[B+16>>2]|0;if((b|0)>1073741912){b=c[B>>2]|0;if(!b){bb=B;fb=B;L=1304;break}}else{if((b|0)>=1073741912){db=B;L=1310;break}cb=B+4|0;b=c[cb>>2]|0;if(!b){eb=B;L=1308;break}}B=b}if((L|0)==1304){c[a>>2]=fb;hb=bb;gb=fb;L=1311;break}else if((L|0)==1308){c[a>>2]=eb;hb=cb;gb=eb;L=1311;break}else if((L|0)==1310){c[a>>2]=db;if(!db){hb=a;gb=db;L=1311;break}else{ib=ab;A=db;break}}}while(0);if((L|0)==1311){A=YAb(24)|0;c[A+16>>2]=1073741912;c[A+20>>2]=0;c[A>>2]=0;c[A+4>>2]=0;c[A+8>>2]=gb;c[hb>>2]=A;b=c[c[Ge>>2]>>2]|0;if(!b)b=A;else{c[Ge>>2]=b;b=c[hb>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;ib=c[Ge+4>>2]|0}c[A+20>>2]=101;do if(!ib){c[a>>2]=Ge+4;pb=Ge+4|0;ob=Ge+4|0;L=1324}else{A=ib;while(1){b=c[A+16>>2]|0;if((b|0)>1073741922){b=c[A>>2]|0;if(!b){jb=A;nb=A;L=1317;break}}else{if((b|0)>=1073741922){lb=A;L=1323;break}kb=A+4|0;b=c[kb>>2]|0;if(!b){mb=A;L=1321;break}}A=b}if((L|0)==1317){c[a>>2]=nb;pb=jb;ob=nb;L=1324;break}else if((L|0)==1321){c[a>>2]=mb;pb=kb;ob=mb;L=1324;break}else if((L|0)==1323){c[a>>2]=lb;if(!lb){pb=a;ob=lb;L=1324;break}else{qb=ib;z=lb;break}}}while(0);if((L|0)==1324){z=YAb(24)|0;c[z+16>>2]=1073741922;c[z+20>>2]=0;c[z>>2]=0;c[z+4>>2]=0;c[z+8>>2]=ob;c[pb>>2]=z;b=c[c[Ge>>2]>>2]|0;if(!b)b=z;else{c[Ge>>2]=b;b=c[pb>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;qb=c[Ge+4>>2]|0}c[z+20>>2]=111;do if(!qb){c[a>>2]=Ge+4;xb=Ge+4|0;wb=Ge+4|0;L=1337}else{z=qb;while(1){b=c[z+16>>2]|0;if((b|0)>1073741913){b=c[z>>2]|0;if(!b){rb=z;vb=z;L=1330;break}}else{if((b|0)>=1073741913){tb=z;L=1336;break}sb=z+4|0;b=c[sb>>2]|0;if(!b){ub=z;L=1334;break}}z=b}if((L|0)==1330){c[a>>2]=vb;xb=rb;wb=vb;L=1337;break}else if((L|0)==1334){c[a>>2]=ub;xb=sb;wb=ub;L=1337;break}else if((L|0)==1336){c[a>>2]=tb;if(!tb){xb=a;wb=tb;L=1337;break}else{yb=qb;y=tb;break}}}while(0);if((L|0)==1337){y=YAb(24)|0;c[y+16>>2]=1073741913;c[y+20>>2]=0;c[y>>2]=0;c[y+4>>2]=0;c[y+8>>2]=wb;c[xb>>2]=y;b=c[c[Ge>>2]>>2]|0;if(!b)b=y;else{c[Ge>>2]=b;b=c[xb>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;yb=c[Ge+4>>2]|0}c[y+20>>2]=102;do if(!yb){c[a>>2]=Ge+4;Fb=Ge+4|0;Eb=Ge+4|0;L=1350}else{y=yb;while(1){b=c[y+16>>2]|0;if((b|0)>1073741914){b=c[y>>2]|0;if(!b){zb=y;Db=y;L=1343;break}}else{if((b|0)>=1073741914){Bb=y;L=1349;break}Ab=y+4|0;b=c[Ab>>2]|0;if(!b){Cb=y;L=1347;break}}y=b}if((L|0)==1343){c[a>>2]=Db;Fb=zb;Eb=Db;L=1350;break}else if((L|0)==1347){c[a>>2]=Cb;Fb=Ab;Eb=Cb;L=1350;break}else if((L|0)==1349){c[a>>2]=Bb;if(!Bb){Fb=a;Eb=Bb;L=1350;break}else{Gb=yb;x=Bb;break}}}while(0);if((L|0)==1350){x=YAb(24)|0;c[x+16>>2]=1073741914;c[x+20>>2]=0;c[x>>2]=0;c[x+4>>2]=0;c[x+8>>2]=Eb;c[Fb>>2]=x;b=c[c[Ge>>2]>>2]|0;if(!b)b=x;else{c[Ge>>2]=b;b=c[Fb>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;Gb=c[Ge+4>>2]|0}c[x+20>>2]=103;do if(!Gb){c[a>>2]=Ge+4;Nb=Ge+4|0;Mb=Ge+4|0;L=1363}else{x=Gb;while(1){b=c[x+16>>2]|0;if((b|0)>1073741915){b=c[x>>2]|0;if(!b){Hb=x;Lb=x;L=1356;break}}else{if((b|0)>=1073741915){Jb=x;L=1362;break}Ib=x+4|0;b=c[Ib>>2]|0;if(!b){Kb=x;L=1360;break}}x=b}if((L|0)==1356){c[a>>2]=Lb;Nb=Hb;Mb=Lb;L=1363;break}else if((L|0)==1360){c[a>>2]=Kb;Nb=Ib;Mb=Kb;L=1363;break}else if((L|0)==1362){c[a>>2]=Jb;if(!Jb){Nb=a;Mb=Jb;L=1363;break}else{Ob=Gb;w=Jb;break}}}while(0);if((L|0)==1363){w=YAb(24)|0;c[w+16>>2]=1073741915;c[w+20>>2]=0;c[w>>2]=0;c[w+4>>2]=0;c[w+8>>2]=Mb;c[Nb>>2]=w;b=c[c[Ge>>2]>>2]|0;if(!b)b=w;else{c[Ge>>2]=b;b=c[Nb>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;Ob=c[Ge+4>>2]|0}c[w+20>>2]=104;do if(!Ob){c[a>>2]=Ge+4;Vb=Ge+4|0;Ub=Ge+4|0;L=1376}else{w=Ob;while(1){b=c[w+16>>2]|0;if((b|0)>1073741916){b=c[w>>2]|0;if(!b){Pb=w;Tb=w;L=1369;break}}else{if((b|0)>=1073741916){Rb=w;L=1375;break}Qb=w+4|0;b=c[Qb>>2]|0;if(!b){Sb=w;L=1373;break}}w=b}if((L|0)==1369){c[a>>2]=Tb;Vb=Pb;Ub=Tb;L=1376;break}else if((L|0)==1373){c[a>>2]=Sb;Vb=Qb;Ub=Sb;L=1376;break}else if((L|0)==1375){c[a>>2]=Rb;if(!Rb){Vb=a;Ub=Rb;L=1376;break}else{Wb=Ob;v=Rb;break}}}while(0);if((L|0)==1376){v=YAb(24)|0;c[v+16>>2]=1073741916;c[v+20>>2]=0;c[v>>2]=0;c[v+4>>2]=0;c[v+8>>2]=Ub;c[Vb>>2]=v;b=c[c[Ge>>2]>>2]|0;if(!b)b=v;else{c[Ge>>2]=b;b=c[Vb>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;Wb=c[Ge+4>>2]|0}c[v+20>>2]=105;do if(!Wb){c[a>>2]=Ge+4;bc=Ge+4|0;ac=Ge+4|0;L=1389}else{v=Wb;while(1){b=c[v+16>>2]|0;if((b|0)>1073741917){b=c[v>>2]|0;if(!b){Xb=v;$b=v;L=1382;break}}else{if((b|0)>=1073741917){Zb=v;L=1388;break}Yb=v+4|0;b=c[Yb>>2]|0;if(!b){_b=v;L=1386;break}}v=b}if((L|0)==1382){c[a>>2]=$b;bc=Xb;ac=$b;L=1389;break}else if((L|0)==1386){c[a>>2]=_b;bc=Yb;ac=_b;L=1389;break}else if((L|0)==1388){c[a>>2]=Zb;if(!Zb){bc=a;ac=Zb;L=1389;break}else{cc=Wb;u=Zb;break}}}while(0);if((L|0)==1389){u=YAb(24)|0;c[u+16>>2]=1073741917;c[u+20>>2]=0;c[u>>2]=0;c[u+4>>2]=0;c[u+8>>2]=ac;c[bc>>2]=u;b=c[c[Ge>>2]>>2]|0;if(!b)b=u;else{c[Ge>>2]=b;b=c[bc>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;cc=c[Ge+4>>2]|0}c[u+20>>2]=106;do if(!cc){c[a>>2]=Ge+4;jc=Ge+4|0;ic=Ge+4|0;L=1402}else{u=cc;while(1){b=c[u+16>>2]|0;if((b|0)>1073741918){b=c[u>>2]|0;if(!b){dc=u;hc=u;L=1395;break}}else{if((b|0)>=1073741918){fc=u;L=1401;break}ec=u+4|0;b=c[ec>>2]|0;if(!b){gc=u;L=1399;break}}u=b}if((L|0)==1395){c[a>>2]=hc;jc=dc;ic=hc;L=1402;break}else if((L|0)==1399){c[a>>2]=gc;jc=ec;ic=gc;L=1402;break}else if((L|0)==1401){c[a>>2]=fc;if(!fc){jc=a;ic=fc;L=1402;break}else{kc=cc;t=fc;break}}}while(0);if((L|0)==1402){t=YAb(24)|0;c[t+16>>2]=1073741918;c[t+20>>2]=0;c[t>>2]=0;c[t+4>>2]=0;c[t+8>>2]=ic;c[jc>>2]=t;b=c[c[Ge>>2]>>2]|0;if(!b)b=t;else{c[Ge>>2]=b;b=c[jc>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;kc=c[Ge+4>>2]|0}c[t+20>>2]=107;do if(!kc){c[a>>2]=Ge+4;rc=Ge+4|0;qc=Ge+4|0;L=1415}else{t=kc;while(1){b=c[t+16>>2]|0;if((b|0)>1073741919){b=c[t>>2]|0;if(!b){lc=t;pc=t;L=1408;break}}else{if((b|0)>=1073741919){nc=t;L=1414;break}mc=t+4|0;b=c[mc>>2]|0;if(!b){oc=t;L=1412;break}}t=b}if((L|0)==1408){c[a>>2]=pc;rc=lc;qc=pc;L=1415;break}else if((L|0)==1412){c[a>>2]=oc;rc=mc;qc=oc;L=1415;break}else if((L|0)==1414){c[a>>2]=nc;if(!nc){rc=a;qc=nc;L=1415;break}else{sc=kc;s=nc;break}}}while(0);if((L|0)==1415){s=YAb(24)|0;c[s+16>>2]=1073741919;c[s+20>>2]=0;c[s>>2]=0;c[s+4>>2]=0;c[s+8>>2]=qc;c[rc>>2]=s;b=c[c[Ge>>2]>>2]|0;if(!b)b=s;else{c[Ge>>2]=b;b=c[rc>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;sc=c[Ge+4>>2]|0}c[s+20>>2]=108;do if(!sc){c[a>>2]=Ge+4;zc=Ge+4|0;yc=Ge+4|0;L=1428}else{s=sc;while(1){b=c[s+16>>2]|0;if((b|0)>1073741920){b=c[s>>2]|0;if(!b){tc=s;xc=s;L=1421;break}}else{if((b|0)>=1073741920){vc=s;L=1427;break}uc=s+4|0;b=c[uc>>2]|0;if(!b){wc=s;L=1425;break}}s=b}if((L|0)==1421){c[a>>2]=xc;zc=tc;yc=xc;L=1428;break}else if((L|0)==1425){c[a>>2]=wc;zc=uc;yc=wc;L=1428;break}else if((L|0)==1427){c[a>>2]=vc;if(!vc){zc=a;yc=vc;L=1428;break}else{Ac=sc;r=vc;break}}}while(0);if((L|0)==1428){r=YAb(24)|0;c[r+16>>2]=1073741920;c[r+20>>2]=0;c[r>>2]=0;c[r+4>>2]=0;c[r+8>>2]=yc;c[zc>>2]=r;b=c[c[Ge>>2]>>2]|0;if(!b)b=r;else{c[Ge>>2]=b;b=c[zc>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;Ac=c[Ge+4>>2]|0}c[r+20>>2]=109;do if(!Ac){c[a>>2]=Ge+4;Hc=Ge+4|0;Gc=Ge+4|0;L=1441}else{r=Ac;while(1){b=c[r+16>>2]|0;if((b|0)>1073741921){b=c[r>>2]|0;if(!b){Bc=r;Fc=r;L=1434;break}}else{if((b|0)>=1073741921){Dc=r;L=1440;break}Cc=r+4|0;b=c[Cc>>2]|0;if(!b){Ec=r;L=1438;break}}r=b}if((L|0)==1434){c[a>>2]=Fc;Hc=Bc;Gc=Fc;L=1441;break}else if((L|0)==1438){c[a>>2]=Ec;Hc=Cc;Gc=Ec;L=1441;break}else if((L|0)==1440){c[a>>2]=Dc;if(!Dc){Hc=a;Gc=Dc;L=1441;break}else{Ic=Ac;q=Dc;break}}}while(0);if((L|0)==1441){q=YAb(24)|0;c[q+16>>2]=1073741921;c[q+20>>2]=0;c[q>>2]=0;c[q+4>>2]=0;c[q+8>>2]=Gc;c[Hc>>2]=q;b=c[c[Ge>>2]>>2]|0;if(!b)b=q;else{c[Ge>>2]=b;b=c[Hc>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;Ic=c[Ge+4>>2]|0}c[q+20>>2]=110;do if(!Ic){c[a>>2]=Ge+4;Pc=Ge+4|0;Oc=Ge+4|0;L=1454}else{q=Ic;while(1){b=c[q+16>>2]|0;if((b|0)>1073741923){b=c[q>>2]|0;if(!b){Jc=q;Nc=q;L=1447;break}}else{if((b|0)>=1073741923){Lc=q;L=1453;break}Kc=q+4|0;b=c[Kc>>2]|0;if(!b){Mc=q;L=1451;break}}q=b}if((L|0)==1447){c[a>>2]=Nc;Pc=Jc;Oc=Nc;L=1454;break}else if((L|0)==1451){c[a>>2]=Mc;Pc=Kc;Oc=Mc;L=1454;break}else if((L|0)==1453){c[a>>2]=Lc;if(!Lc){Pc=a;Oc=Lc;L=1454;break}else{Qc=Ic;p=Lc;break}}}while(0);if((L|0)==1454){p=YAb(24)|0;c[p+16>>2]=1073741923;c[p+20>>2]=0;c[p>>2]=0;c[p+4>>2]=0;c[p+8>>2]=Oc;c[Pc>>2]=p;b=c[c[Ge>>2]>>2]|0;if(!b)b=p;else{c[Ge>>2]=b;b=c[Pc>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;Qc=c[Ge+4>>2]|0}c[p+20>>2]=112;do if(!Qc){c[a>>2]=Ge+4;Xc=Ge+4|0;Wc=Ge+4|0;L=1467}else{p=Qc;while(1){b=c[p+16>>2]|0;if((b|0)>1073741957){b=c[p>>2]|0;if(!b){Rc=p;Vc=p;L=1460;break}}else{if((b|0)>=1073741957){Tc=p;L=1466;break}Sc=p+4|0;b=c[Sc>>2]|0;if(!b){Uc=p;L=1464;break}}p=b}if((L|0)==1460){c[a>>2]=Vc;Xc=Rc;Wc=Vc;L=1467;break}else if((L|0)==1464){c[a>>2]=Uc;Xc=Sc;Wc=Uc;L=1467;break}else if((L|0)==1466){c[a>>2]=Tc;if(!Tc){Xc=a;Wc=Tc;L=1467;break}else{Yc=Qc;o=Tc;break}}}while(0);if((L|0)==1467){o=YAb(24)|0;c[o+16>>2]=1073741957;c[o+20>>2]=0;c[o>>2]=0;c[o+4>>2]=0;c[o+8>>2]=Wc;c[Xc>>2]=o;b=c[c[Ge>>2]>>2]|0;if(!b)b=o;else{c[Ge>>2]=b;b=c[Xc>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;Yc=c[Ge+4>>2]|0}c[o+20>>2]=113;do if(!Yc){c[a>>2]=Ge+4;dd=Ge+4|0;cd=Ge+4|0;L=1480}else{o=Yc;while(1){b=c[o+16>>2]|0;if((b|0)>1073741927){b=c[o>>2]|0;if(!b){Zc=o;bd=o;L=1473;break}}else{if((b|0)>=1073741927){$c=o;L=1479;break}_c=o+4|0;b=c[_c>>2]|0;if(!b){ad=o;L=1477;break}}o=b}if((L|0)==1473){c[a>>2]=bd;dd=Zc;cd=bd;L=1480;break}else if((L|0)==1477){c[a>>2]=ad;dd=_c;cd=ad;L=1480;break}else if((L|0)==1479){c[a>>2]=$c;if(!$c){dd=a;cd=$c;L=1480;break}else{ed=Yc;n=$c;break}}}while(0);if((L|0)==1480){n=YAb(24)|0;c[n+16>>2]=1073741927;c[n+20>>2]=0;c[n>>2]=0;c[n+4>>2]=0;c[n+8>>2]=cd;c[dd>>2]=n;b=c[c[Ge>>2]>>2]|0;if(!b)b=n;else{c[Ge>>2]=b;b=c[dd>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;ed=c[Ge+4>>2]|0}c[n+20>>2]=114;do if(!ed){c[a>>2]=Ge+4;ld=Ge+4|0;kd=Ge+4|0;L=1493}else{n=ed;while(1){b=c[n+16>>2]|0;if((b|0)>1073741925){b=c[n>>2]|0;if(!b){fd=n;jd=n;L=1486;break}}else{if((b|0)>=1073741925){hd=n;L=1492;break}gd=n+4|0;b=c[gd>>2]|0;if(!b){id=n;L=1490;break}}n=b}if((L|0)==1486){c[a>>2]=jd;ld=fd;kd=jd;L=1493;break}else if((L|0)==1490){c[a>>2]=id;ld=gd;kd=id;L=1493;break}else if((L|0)==1492){c[a>>2]=hd;if(!hd){ld=a;kd=hd;L=1493;break}else{md=ed;m=hd;break}}}while(0);if((L|0)==1493){m=YAb(24)|0;c[m+16>>2]=1073741925;c[m+20>>2]=0;c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=kd;c[ld>>2]=m;b=c[c[Ge>>2]>>2]|0;if(!b)b=m;else{c[Ge>>2]=b;b=c[ld>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;md=c[Ge+4>>2]|0}c[m+20>>2]=115;do if(!md){c[a>>2]=Ge+4;td=Ge+4|0;sd=Ge+4|0;L=1506}else{m=md;while(1){b=c[m+16>>2]|0;if((b|0)>1073741926){b=c[m>>2]|0;if(!b){nd=m;rd=m;L=1499;break}}else{if((b|0)>=1073741926){pd=m;L=1505;break}od=m+4|0;b=c[od>>2]|0;if(!b){qd=m;L=1503;break}}m=b}if((L|0)==1499){c[a>>2]=rd;td=nd;sd=rd;L=1506;break}else if((L|0)==1503){c[a>>2]=qd;td=od;sd=qd;L=1506;break}else if((L|0)==1505){c[a>>2]=pd;if(!pd){td=a;sd=pd;L=1506;break}else{ud=md;l=pd;break}}}while(0);if((L|0)==1506){l=YAb(24)|0;c[l+16>>2]=1073741926;c[l+20>>2]=0;c[l>>2]=0;c[l+4>>2]=0;c[l+8>>2]=sd;c[td>>2]=l;b=c[c[Ge>>2]>>2]|0;if(!b)b=l;else{c[Ge>>2]=b;b=c[td>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;ud=c[Ge+4>>2]|0}c[l+20>>2]=116;do if(!ud){c[a>>2]=Ge+4;Bd=Ge+4|0;Ad=Ge+4|0;L=1519}else{l=ud;while(1){b=c[l+16>>2]|0;if((b|0)>1073741928){b=c[l>>2]|0;if(!b){vd=l;zd=l;L=1512;break}}else{if((b|0)>=1073741928){xd=l;L=1518;break}wd=l+4|0;b=c[wd>>2]|0;if(!b){yd=l;L=1516;break}}l=b}if((L|0)==1512){c[a>>2]=zd;Bd=vd;Ad=zd;L=1519;break}else if((L|0)==1516){c[a>>2]=yd;Bd=wd;Ad=yd;L=1519;break}else if((L|0)==1518){c[a>>2]=xd;if(!xd){Bd=a;Ad=xd;L=1519;break}else{Cd=ud;k=xd;break}}}while(0);if((L|0)==1519){k=YAb(24)|0;c[k+16>>2]=1073741928;c[k+20>>2]=0;c[k>>2]=0;c[k+4>>2]=0;c[k+8>>2]=Ad;c[Bd>>2]=k;b=c[c[Ge>>2]>>2]|0;if(!b)b=k;else{c[Ge>>2]=b;b=c[Bd>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;Cd=c[Ge+4>>2]|0}c[k+20>>2]=117;do if(!Cd){c[a>>2]=Ge+4;Jd=Ge+4|0;Id=Ge+4|0;L=1532}else{k=Cd;while(1){b=c[k+16>>2]|0;if((b|0)>1073741929){b=c[k>>2]|0;if(!b){Dd=k;Hd=k;L=1525;break}}else{if((b|0)>=1073741929){Fd=k;L=1531;break}Ed=k+4|0;b=c[Ed>>2]|0;if(!b){Gd=k;L=1529;break}}k=b}if((L|0)==1525){c[a>>2]=Hd;Jd=Dd;Id=Hd;L=1532;break}else if((L|0)==1529){c[a>>2]=Gd;Jd=Ed;Id=Gd;L=1532;break}else if((L|0)==1531){c[a>>2]=Fd;if(!Fd){Jd=a;Id=Fd;L=1532;break}else{Kd=Cd;j=Fd;break}}}while(0);if((L|0)==1532){j=YAb(24)|0;c[j+16>>2]=1073741929;c[j+20>>2]=0;c[j>>2]=0;c[j+4>>2]=0;c[j+8>>2]=Id;c[Jd>>2]=j;b=c[c[Ge>>2]>>2]|0;if(!b)b=j;else{c[Ge>>2]=b;b=c[Jd>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;Kd=c[Ge+4>>2]|0}c[j+20>>2]=118;do if(!Kd){c[a>>2]=Ge+4;Rd=Ge+4|0;Qd=Ge+4|0;L=1545}else{j=Kd;while(1){b=c[j+16>>2]|0;if((b|0)>1073741930){b=c[j>>2]|0;if(!b){Ld=j;Pd=j;L=1538;break}}else{if((b|0)>=1073741930){Nd=j;L=1544;break}Md=j+4|0;b=c[Md>>2]|0;if(!b){Od=j;L=1542;break}}j=b}if((L|0)==1538){c[a>>2]=Pd;Rd=Ld;Qd=Pd;L=1545;break}else if((L|0)==1542){c[a>>2]=Od;Rd=Md;Qd=Od;L=1545;break}else if((L|0)==1544){c[a>>2]=Nd;if(!Nd){Rd=a;Qd=Nd;L=1545;break}else{Sd=Kd;i=Nd;break}}}while(0);if((L|0)==1545){i=YAb(24)|0;c[i+16>>2]=1073741930;c[i+20>>2]=0;c[i>>2]=0;c[i+4>>2]=0;c[i+8>>2]=Qd;c[Rd>>2]=i;b=c[c[Ge>>2]>>2]|0;if(!b)b=i;else{c[Ge>>2]=b;b=c[Rd>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;Sd=c[Ge+4>>2]|0}c[i+20>>2]=119;do if(!Sd){c[a>>2]=Ge+4;Zd=Ge+4|0;Yd=Ge+4|0;L=1558}else{i=Sd;while(1){b=c[i+16>>2]|0;if((b|0)>1073741931){b=c[i>>2]|0;if(!b){Td=i;Xd=i;L=1551;break}}else{if((b|0)>=1073741931){Vd=i;L=1557;break}Ud=i+4|0;b=c[Ud>>2]|0;if(!b){Wd=i;L=1555;break}}i=b}if((L|0)==1551){c[a>>2]=Xd;Zd=Td;Yd=Xd;L=1558;break}else if((L|0)==1555){c[a>>2]=Wd;Zd=Ud;Yd=Wd;L=1558;break}else if((L|0)==1557){c[a>>2]=Vd;if(!Vd){Zd=a;Yd=Vd;L=1558;break}else{_d=Sd;h=Vd;break}}}while(0);if((L|0)==1558){h=YAb(24)|0;c[h+16>>2]=1073741931;c[h+20>>2]=0;c[h>>2]=0;c[h+4>>2]=0;c[h+8>>2]=Yd;c[Zd>>2]=h;b=c[c[Ge>>2]>>2]|0;if(!b)b=h;else{c[Ge>>2]=b;b=c[Zd>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;_d=c[Ge+4>>2]|0}c[h+20>>2]=120;do if(!_d){c[a>>2]=Ge+4;fe=Ge+4|0;ee=Ge+4|0;L=1571}else{h=_d;while(1){b=c[h+16>>2]|0;if((b|0)>1073741932){b=c[h>>2]|0;if(!b){$d=h;de=h;L=1564;break}}else{if((b|0)>=1073741932){be=h;L=1570;break}ae=h+4|0;b=c[ae>>2]|0;if(!b){ce=h;L=1568;break}}h=b}if((L|0)==1564){c[a>>2]=de;fe=$d;ee=de;L=1571;break}else if((L|0)==1568){c[a>>2]=ce;fe=ae;ee=ce;L=1571;break}else if((L|0)==1570){c[a>>2]=be;if(!be){fe=a;ee=be;L=1571;break}else{ge=_d;g=be;break}}}while(0);if((L|0)==1571){g=YAb(24)|0;c[g+16>>2]=1073741932;c[g+20>>2]=0;c[g>>2]=0;c[g+4>>2]=0;c[g+8>>2]=ee;c[fe>>2]=g;b=c[c[Ge>>2]>>2]|0;if(!b)b=g;else{c[Ge>>2]=b;b=c[fe>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;ge=c[Ge+4>>2]|0}c[g+20>>2]=121;do if(!ge){c[a>>2]=Ge+4;ne=Ge+4|0;me=Ge+4|0;L=1584}else{g=ge;while(1){b=c[g+16>>2]|0;if((b|0)>1073741933){b=c[g>>2]|0;if(!b){he=g;le=g;L=1577;break}}else{if((b|0)>=1073741933){je=g;L=1583;break}ie=g+4|0;b=c[ie>>2]|0;if(!b){ke=g;L=1581;break}}g=b}if((L|0)==1577){c[a>>2]=le;ne=he;me=le;L=1584;break}else if((L|0)==1581){c[a>>2]=ke;ne=ie;me=ke;L=1584;break}else if((L|0)==1583){c[a>>2]=je;if(!je){ne=a;me=je;L=1584;break}else{oe=ge;f=je;break}}}while(0);if((L|0)==1584){f=YAb(24)|0;c[f+16>>2]=1073741933;c[f+20>>2]=0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=me;c[ne>>2]=f;b=c[c[Ge>>2]>>2]|0;if(!b)b=f;else{c[Ge>>2]=b;b=c[ne>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;oe=c[Ge+4>>2]|0}c[f+20>>2]=122;do if(!oe){c[a>>2]=Ge+4;ve=Ge+4|0;ue=Ge+4|0;L=1597}else{f=oe;while(1){b=c[f+16>>2]|0;if((b|0)>1073741934){b=c[f>>2]|0;if(!b){pe=f;te=f;L=1590;break}}else{if((b|0)>=1073741934){re=f;L=1596;break}qe=f+4|0;b=c[qe>>2]|0;if(!b){se=f;L=1594;break}}f=b}if((L|0)==1590){c[a>>2]=te;ve=pe;ue=te;L=1597;break}else if((L|0)==1594){c[a>>2]=se;ve=qe;ue=se;L=1597;break}else if((L|0)==1596){c[a>>2]=re;if(!re){ve=a;ue=re;L=1597;break}else{we=oe;e=re;break}}}while(0);if((L|0)==1597){e=YAb(24)|0;c[e+16>>2]=1073741934;c[e+20>>2]=0;c[e>>2]=0;c[e+4>>2]=0;c[e+8>>2]=ue;c[ve>>2]=e;b=c[c[Ge>>2]>>2]|0;if(!b)b=e;else{c[Ge>>2]=b;b=c[ve>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;we=c[Ge+4>>2]|0}c[e+20>>2]=123;do if(!we){c[a>>2]=Ge+4;Fe=Ge+4|0;De=Ge+4|0;L=1610}else{e=we;while(1){b=c[e+16>>2]|0;if((b|0)>1073741935){b=c[e>>2]|0;if(!b){xe=e;Be=e;L=1603;break}}else{if((b|0)>=1073741935){ze=e;L=1609;break}ye=e+4|0;b=c[ye>>2]|0;if(!b){Ae=e;L=1607;break}}e=b}if((L|0)==1603){c[a>>2]=Be;Fe=xe;De=Be;L=1610;break}else if((L|0)==1607){c[a>>2]=Ae;Fe=ye;De=Ae;L=1610;break}else if((L|0)==1609){c[a>>2]=ze;if(!ze){Fe=a;De=ze;L=1610;break}else{Ee=we;d=ze;break}}}while(0);if((L|0)==1610){d=YAb(24)|0;c[d+16>>2]=1073741935;c[d+20>>2]=0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=De;c[Fe>>2]=d;b=c[c[Ge>>2]>>2]|0;if(!b)b=d;else{c[Ge>>2]=b;b=c[Fe>>2]|0}Fj(c[Ge+4>>2]|0,b);c[Ge+8>>2]=(c[Ge+8>>2]|0)+1;Ee=c[Ge+4>>2]|0}c[a+9336>>2]=Ce;c[a+11968>>2]=Ee;c[a+24600>>2]=M;c[a+24888>>2]=d;c[a+25904>>2]=L}function $ea(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,jb=0,kb=0,lb=0,mb=0,nb=0,ob=0,pb=0,qb=0,rb=0,sb=0,tb=0,ub=0,vb=0,wb=0,xb=0,yb=0,zb=0,Ab=0,Bb=0,Cb=0,Db=0,Eb=0,Fb=0,Gb=0,Hb=0,Ib=0,Jb=0,Kb=0,Lb=0,Mb=0,Nb=0,Ob=0,Pb=0,Qb=0,Rb=0,Sb=0,Tb=0,Ub=0,Vb=0,Wb=0,Xb=0,Yb=0,Zb=0,_b=0,$b=0,ac=0,bc=0,cc=0,dc=0,ec=0,fc=0,gc=0,hc=0,ic=0,jc=0,kc=0,lc=0,mc=0,nc=0,oc=0,pc=0,qc=0,rc=0,sc=0,tc=0,uc=0,vc=0,wc=0,xc=0,yc=0,zc=0,Ac=0,Bc=0,Cc=0,Dc=0,Ec=0,Fc=0,Gc=0,Hc=0,Ic=0,Jc=0,Kc=0,Lc=0,Mc=0,Nc=0,Oc=0,Pc=0,Qc=0,Rc=0,Sc=0,Tc=0,Uc=0,Vc=0,Wc=0,Xc=0,Yc=0,Zc=0,_c=0,$c=0,ad=0,bd=0,cd=0,dd=0,ed=0,fd=0,gd=0,hd=0,id=0,jd=0,kd=0,ld=0,md=0,nd=0,od=0,pd=0,qd=0,rd=0,sd=0,td=0,ud=0,vd=0,wd=0,xd=0,yd=0,zd=0,Ad=0,Bd=0,Cd=0,Dd=0,Ed=0,Fd=0,Gd=0,Hd=0,Id=0,Jd=0,Kd=0,Ld=0,Md=0,Nd=0,Od=0,Pd=0,Qd=0,Rd=0,Sd=0,Td=0,Ud=0,Vd=0,Wd=0,Xd=0,Yd=0,Zd=0,_d=0,$d=0,ae=0,be=0,ce=0,de=0,ee=0,fe=0,ge=0,he=0,ie=0,je=0,ke=0,le=0,me=0,ne=0,oe=0,pe=0,qe=0,re=0,se=0,te=0,ue=0,ve=0,we=0,xe=0,ye=0,ze=0,Ae=0,Be=0,Ce=0,De=0,Ee=0,Fe=0,Ge=0,He=0,Ie=0,Je=0,Ke=0,Le=0,Me=0,Ne=0,Oe=0,Pe=0;Fe=c[a+32>>2]|0;He=c[a+240>>2]|0;M=c[a+6624>>2]|0;Ke=c[a+9304>>2]|0;Le=c[a+9336>>2]|0;Pe=c[a+24600>>2]|0;do if(!M){c[a>>2]=Fe+4;S=Fe+4|0;R=Fe+4|0;b=752}else{K=M;while(1){b=c[K+16>>2]|0;if((b|0)>111){b=c[K>>2]|0;if(!b){L=K;Q=K;b=745;break}}else{if((b|0)>=111){O=K;b=751;break}N=K+4|0;b=c[N>>2]|0;if(!b){P=K;b=749;break}}K=b}if((b|0)==745){c[a>>2]=Q;S=L;R=Q;b=752;break}else if((b|0)==749){c[a>>2]=P;S=N;R=P;b=752;break}else if((b|0)==751){c[a>>2]=O;if(!O){S=a;R=O;b=752;break}else{T=M;J=O;break}}}while(0);if((b|0)==752){J=YAb(24)|0;c[J+16>>2]=111;c[J+20>>2]=0;c[J>>2]=0;c[J+4>>2]=0;c[J+8>>2]=R;c[S>>2]=J;b=c[c[Fe>>2]>>2]|0;if(!b)b=J;else{c[Fe>>2]=b;b=c[S>>2]|0}Fj(c[Fe+4>>2]|0,b);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;T=c[Fe+4>>2]|0}c[J+20>>2]=58;do if(!T){c[a>>2]=Fe+4;_=Fe+4|0;Z=Fe+4|0;b=765}else{J=T;while(1){b=c[J+16>>2]|0;if((b|0)>112){b=c[J>>2]|0;if(!b){U=J;Y=J;b=758;break}}else{if((b|0)>=112){W=J;b=764;break}V=J+4|0;b=c[V>>2]|0;if(!b){X=J;b=762;break}}J=b}if((b|0)==758){c[a>>2]=Y;_=U;Z=Y;b=765;break}else if((b|0)==762){c[a>>2]=X;_=V;Z=X;b=765;break}else if((b|0)==764){c[a>>2]=W;if(!W){_=a;Z=W;b=765;break}else{$=T;I=W;break}}}while(0);if((b|0)==765){I=YAb(24)|0;c[I+16>>2]=112;c[I+20>>2]=0;c[I>>2]=0;c[I+4>>2]=0;c[I+8>>2]=Z;c[_>>2]=I;b=c[c[Fe>>2]>>2]|0;if(!b)b=I;else{c[Fe>>2]=b;b=c[_>>2]|0}Fj(c[Fe+4>>2]|0,b);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;$=c[Fe+4>>2]|0}c[I+20>>2]=59;do if(!$){c[a>>2]=Fe+4;ga=Fe+4|0;fa=Fe+4|0;b=778}else{I=$;while(1){b=c[I+16>>2]|0;if((b|0)>113){b=c[I>>2]|0;if(!b){aa=I;ea=I;b=771;break}}else{if((b|0)>=113){ca=I;b=777;break}ba=I+4|0;b=c[ba>>2]|0;if(!b){da=I;b=775;break}}I=b}if((b|0)==771){c[a>>2]=ea;ga=aa;fa=ea;b=778;break}else if((b|0)==775){c[a>>2]=da;ga=ba;fa=da;b=778;break}else if((b|0)==777){c[a>>2]=ca;if(!ca){ga=a;fa=ca;b=778;break}else{ha=$;H=ca;break}}}while(0);if((b|0)==778){H=YAb(24)|0;c[H+16>>2]=113;c[H+20>>2]=0;c[H>>2]=0;c[H+4>>2]=0;c[H+8>>2]=fa;c[ga>>2]=H;b=c[c[Fe>>2]>>2]|0;if(!b)b=H;else{c[Fe>>2]=b;b=c[ga>>2]|0}Fj(c[Fe+4>>2]|0,b);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;ha=c[Fe+4>>2]|0}c[H+20>>2]=60;do if(!ha){c[a>>2]=Fe+4;oa=Fe+4|0;na=Fe+4|0;b=791}else{H=ha;while(1){b=c[H+16>>2]|0;if((b|0)>114){b=c[H>>2]|0;if(!b){ia=H;ma=H;b=784;break}}else{if((b|0)>=114){ka=H;b=790;break}ja=H+4|0;b=c[ja>>2]|0;if(!b){la=H;b=788;break}}H=b}if((b|0)==784){c[a>>2]=ma;oa=ia;na=ma;b=791;break}else if((b|0)==788){c[a>>2]=la;oa=ja;na=la;b=791;break}else if((b|0)==790){c[a>>2]=ka;if(!ka){oa=a;na=ka;b=791;break}else{pa=ha;G=ka;break}}}while(0);if((b|0)==791){G=YAb(24)|0;c[G+16>>2]=114;c[G+20>>2]=0;c[G>>2]=0;c[G+4>>2]=0;c[G+8>>2]=na;c[oa>>2]=G;b=c[c[Fe>>2]>>2]|0;if(!b)b=G;else{c[Fe>>2]=b;b=c[oa>>2]|0}Fj(c[Fe+4>>2]|0,b);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;pa=c[Fe+4>>2]|0}c[G+20>>2]=61;do if(!pa){c[a>>2]=Fe+4;wa=Fe+4|0;va=Fe+4|0;b=804}else{G=pa;while(1){b=c[G+16>>2]|0;if((b|0)>115){b=c[G>>2]|0;if(!b){qa=G;ua=G;b=797;break}}else{if((b|0)>=115){sa=G;b=803;break}ra=G+4|0;b=c[ra>>2]|0;if(!b){ta=G;b=801;break}}G=b}if((b|0)==797){c[a>>2]=ua;wa=qa;va=ua;b=804;break}else if((b|0)==801){c[a>>2]=ta;wa=ra;va=ta;b=804;break}else if((b|0)==803){c[a>>2]=sa;if(!sa){wa=a;va=sa;b=804;break}else{xa=pa;F=sa;break}}}while(0);if((b|0)==804){F=YAb(24)|0;c[F+16>>2]=115;c[F+20>>2]=0;c[F>>2]=0;c[F+4>>2]=0;c[F+8>>2]=va;c[wa>>2]=F;b=c[c[Fe>>2]>>2]|0;if(!b)b=F;else{c[Fe>>2]=b;b=c[wa>>2]|0}Fj(c[Fe+4>>2]|0,b);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;xa=c[Fe+4>>2]|0}c[F+20>>2]=62;do if(!xa){c[a>>2]=Fe+4;Ea=Fe+4|0;Da=Fe+4|0;b=817}else{F=xa;while(1){b=c[F+16>>2]|0;if((b|0)>116){b=c[F>>2]|0;if(!b){ya=F;Ca=F;b=810;break}}else{if((b|0)>=116){Aa=F;b=816;break}za=F+4|0;b=c[za>>2]|0;if(!b){Ba=F;b=814;break}}F=b}if((b|0)==810){c[a>>2]=Ca;Ea=ya;Da=Ca;b=817;break}else if((b|0)==814){c[a>>2]=Ba;Ea=za;Da=Ba;b=817;break}else if((b|0)==816){c[a>>2]=Aa;if(!Aa){Ea=a;Da=Aa;b=817;break}else{Fa=xa;E=Aa;break}}}while(0);if((b|0)==817){E=YAb(24)|0;c[E+16>>2]=116;c[E+20>>2]=0;c[E>>2]=0;c[E+4>>2]=0;c[E+8>>2]=Da;c[Ea>>2]=E;b=c[c[Fe>>2]>>2]|0;if(!b)b=E;else{c[Fe>>2]=b;b=c[Ea>>2]|0}Fj(c[Fe+4>>2]|0,b);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;Fa=c[Fe+4>>2]|0}c[E+20>>2]=63;do if(!Fa){c[a>>2]=Fe+4;Ma=Fe+4|0;La=Fe+4|0;b=830}else{E=Fa;while(1){b=c[E+16>>2]|0;if((b|0)>117){b=c[E>>2]|0;if(!b){Ga=E;Ka=E;b=823;break}}else{if((b|0)>=117){Ia=E;b=829;break}Ha=E+4|0;b=c[Ha>>2]|0;if(!b){Ja=E;b=827;break}}E=b}if((b|0)==823){c[a>>2]=Ka;Ma=Ga;La=Ka;b=830;break}else if((b|0)==827){c[a>>2]=Ja;Ma=Ha;La=Ja;b=830;break}else if((b|0)==829){c[a>>2]=Ia;if(!Ia){Ma=a;La=Ia;b=830;break}else{Na=Fa;D=Ia;break}}}while(0);if((b|0)==830){D=YAb(24)|0;c[D+16>>2]=117;c[D+20>>2]=0;c[D>>2]=0;c[D+4>>2]=0;c[D+8>>2]=La;c[Ma>>2]=D;b=c[c[Fe>>2]>>2]|0;if(!b)b=D;else{c[Fe>>2]=b;b=c[Ma>>2]|0}Fj(c[Fe+4>>2]|0,b);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;Na=c[Fe+4>>2]|0}c[D+20>>2]=64;do if(!Na){c[a>>2]=Fe+4;Ua=Fe+4|0;Ta=Fe+4|0;b=843}else{D=Na;while(1){b=c[D+16>>2]|0;if((b|0)>118){b=c[D>>2]|0;if(!b){Oa=D;Sa=D;b=836;break}}else{if((b|0)>=118){Qa=D;b=842;break}Pa=D+4|0;b=c[Pa>>2]|0;if(!b){Ra=D;b=840;break}}D=b}if((b|0)==836){c[a>>2]=Sa;Ua=Oa;Ta=Sa;b=843;break}else if((b|0)==840){c[a>>2]=Ra;Ua=Pa;Ta=Ra;b=843;break}else if((b|0)==842){c[a>>2]=Qa;if(!Qa){Ua=a;Ta=Qa;b=843;break}else{Va=Na;C=Qa;break}}}while(0);if((b|0)==843){C=YAb(24)|0;c[C+16>>2]=118;c[C+20>>2]=0;c[C>>2]=0;c[C+4>>2]=0;c[C+8>>2]=Ta;c[Ua>>2]=C;b=c[c[Fe>>2]>>2]|0;if(!b)b=C;else{c[Fe>>2]=b;b=c[Ua>>2]|0}Fj(c[Fe+4>>2]|0,b);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;Va=c[Fe+4>>2]|0}c[C+20>>2]=65;do if(!Va){c[a>>2]=Fe+4;ab=Fe+4|0;$a=Fe+4|0;b=856}else{C=Va;while(1){b=c[C+16>>2]|0;if((b|0)>119){b=c[C>>2]|0;if(!b){Wa=C;_a=C;b=849;break}}else{if((b|0)>=119){Ya=C;b=855;break}Xa=C+4|0;b=c[Xa>>2]|0;if(!b){Za=C;b=853;break}}C=b}if((b|0)==849){c[a>>2]=_a;ab=Wa;$a=_a;b=856;break}else if((b|0)==853){c[a>>2]=Za;ab=Xa;$a=Za;b=856;break}else if((b|0)==855){c[a>>2]=Ya;if(!Ya){ab=a;$a=Ya;b=856;break}else{bb=Va;B=Ya;break}}}while(0);if((b|0)==856){B=YAb(24)|0;c[B+16>>2]=119;c[B+20>>2]=0;c[B>>2]=0;c[B+4>>2]=0;c[B+8>>2]=$a;c[ab>>2]=B;b=c[c[Fe>>2]>>2]|0;if(!b)b=B;else{c[Fe>>2]=b;b=c[ab>>2]|0}Fj(c[Fe+4>>2]|0,b);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;bb=c[Fe+4>>2]|0}c[B+20>>2]=66;do if(!bb){c[a>>2]=Fe+4;ib=Fe+4|0;hb=Fe+4|0;b=869}else{B=bb;while(1){b=c[B+16>>2]|0;if((b|0)>120){b=c[B>>2]|0;if(!b){cb=B;gb=B;b=862;break}}else{if((b|0)>=120){eb=B;b=868;break}db=B+4|0;b=c[db>>2]|0;if(!b){fb=B;b=866;break}}B=b}if((b|0)==862){c[a>>2]=gb;ib=cb;hb=gb;b=869;break}else if((b|0)==866){c[a>>2]=fb;ib=db;hb=fb;b=869;break}else if((b|0)==868){c[a>>2]=eb;if(!eb){ib=a;hb=eb;b=869;break}else{jb=bb;A=eb;break}}}while(0);if((b|0)==869){A=YAb(24)|0;c[A+16>>2]=120;c[A+20>>2]=0;c[A>>2]=0;c[A+4>>2]=0;c[A+8>>2]=hb;c[ib>>2]=A;b=c[c[Fe>>2]>>2]|0;if(!b)b=A;else{c[Fe>>2]=b;b=c[ib>>2]|0}Fj(c[Fe+4>>2]|0,b);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;jb=c[Fe+4>>2]|0}c[A+20>>2]=67;do if(!jb){c[a>>2]=Fe+4;qb=Fe+4|0;pb=Fe+4|0;b=882}else{A=jb;while(1){b=c[A+16>>2]|0;if((b|0)>121){b=c[A>>2]|0;if(!b){kb=A;ob=A;b=875;break}}else{if((b|0)>=121){mb=A;b=881;break}lb=A+4|0;b=c[lb>>2]|0;if(!b){nb=A;b=879;break}}A=b}if((b|0)==875){c[a>>2]=ob;qb=kb;pb=ob;b=882;break}else if((b|0)==879){c[a>>2]=nb;qb=lb;pb=nb;b=882;break}else if((b|0)==881){c[a>>2]=mb;if(!mb){qb=a;pb=mb;b=882;break}else{rb=jb;z=mb;break}}}while(0);if((b|0)==882){z=YAb(24)|0;c[z+16>>2]=121;c[z+20>>2]=0;c[z>>2]=0;c[z+4>>2]=0;c[z+8>>2]=pb;c[qb>>2]=z;b=c[c[Fe>>2]>>2]|0;if(!b)b=z;else{c[Fe>>2]=b;b=c[qb>>2]|0}Fj(c[Fe+4>>2]|0,b);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;rb=c[Fe+4>>2]|0}c[z+20>>2]=68;do if(!rb){c[a>>2]=Fe+4;yb=Fe+4|0;xb=Fe+4|0;b=895}else{z=rb;while(1){b=c[z+16>>2]|0;if((b|0)>122){b=c[z>>2]|0;if(!b){sb=z;wb=z;b=888;break}}else{if((b|0)>=122){ub=z;b=894;break}tb=z+4|0;b=c[tb>>2]|0;if(!b){vb=z;b=892;break}}z=b}if((b|0)==888){c[a>>2]=wb;yb=sb;xb=wb;b=895;break}else if((b|0)==892){c[a>>2]=vb;yb=tb;xb=vb;b=895;break}else if((b|0)==894){c[a>>2]=ub;if(!ub){yb=a;xb=ub;b=895;break}else{zb=rb;y=ub;break}}}while(0);if((b|0)==895){y=YAb(24)|0;c[y+16>>2]=122;c[y+20>>2]=0;c[y>>2]=0;c[y+4>>2]=0;c[y+8>>2]=xb;c[yb>>2]=y;b=c[c[Fe>>2]>>2]|0;if(!b)b=y;else{c[Fe>>2]=b;b=c[yb>>2]|0}Fj(c[Fe+4>>2]|0,b);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;zb=c[Fe+4>>2]|0}c[y+20>>2]=69;do if(!zb){c[a>>2]=Fe+4;Gb=Fe+4|0;Fb=Fe+4|0;b=908}else{y=zb;while(1){b=c[y+16>>2]|0;if((b|0)>1073741881){b=c[y>>2]|0;if(!b){Ab=y;Eb=y;b=901;break}}else{if((b|0)>=1073741881){Cb=y;b=907;break}Bb=y+4|0;b=c[Bb>>2]|0;if(!b){Db=y;b=905;break}}y=b}if((b|0)==901){c[a>>2]=Eb;Gb=Ab;Fb=Eb;b=908;break}else if((b|0)==905){c[a>>2]=Db;Gb=Bb;Fb=Db;b=908;break}else if((b|0)==907){c[a>>2]=Cb;if(!Cb){Gb=a;Fb=Cb;b=908;break}else{Hb=zb;x=Cb;break}}}while(0);if((b|0)==908){x=YAb(24)|0;c[x+16>>2]=1073741881;c[x+20>>2]=0;c[x>>2]=0;c[x+4>>2]=0;c[x+8>>2]=Fb;c[Gb>>2]=x;b=c[c[Fe>>2]>>2]|0;if(!b)b=x;else{c[Fe>>2]=b;b=c[Gb>>2]|0}Fj(c[Fe+4>>2]|0,b);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;Hb=c[Fe+4>>2]|0}c[x+20>>2]=70;do if(!Hb){c[a>>2]=Fe+4;Ob=Fe+4|0;Nb=Fe+4|0;b=921}else{x=Hb;while(1){b=c[x+16>>2]|0;if((b|0)>1073741882){b=c[x>>2]|0;if(!b){Ib=x;Mb=x;b=914;break}}else{if((b|0)>=1073741882){Kb=x;b=920;break}Jb=x+4|0;b=c[Jb>>2]|0;if(!b){Lb=x;b=918;break}}x=b}if((b|0)==914){c[a>>2]=Mb;Ob=Ib;Nb=Mb;b=921;break}else if((b|0)==918){c[a>>2]=Lb;Ob=Jb;Nb=Lb;b=921;break}else if((b|0)==920){c[a>>2]=Kb;if(!Kb){Ob=a;Nb=Kb;b=921;break}else{Pb=Hb;w=Kb;break}}}while(0);if((b|0)==921){w=YAb(24)|0;c[w+16>>2]=1073741882;c[w+20>>2]=0;c[w>>2]=0;c[w+4>>2]=0;c[w+8>>2]=Nb;c[Ob>>2]=w;b=c[c[Fe>>2]>>2]|0;if(!b)b=w;else{c[Fe>>2]=b;b=c[Ob>>2]|0}Fj(c[Fe+4>>2]|0,b);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;Pb=c[Fe+4>>2]|0}c[w+20>>2]=71;do if(!Pb){c[a>>2]=Fe+4;Wb=Fe+4|0;Vb=Fe+4|0;b=934}else{w=Pb;while(1){b=c[w+16>>2]|0;if((b|0)>1073741883){b=c[w>>2]|0;if(!b){Qb=w;Ub=w;b=927;break}}else{if((b|0)>=1073741883){Sb=w;b=933;break}Rb=w+4|0;b=c[Rb>>2]|0;if(!b){Tb=w;b=931;break}}w=b}if((b|0)==927){c[a>>2]=Ub;Wb=Qb;Vb=Ub;b=934;break}else if((b|0)==931){c[a>>2]=Tb;Wb=Rb;Vb=Tb;b=934;break}else if((b|0)==933){c[a>>2]=Sb;if(!Sb){Wb=a;Vb=Sb;b=934;break}else{Xb=Pb;v=Sb;break}}}while(0);if((b|0)==934){v=YAb(24)|0;c[v+16>>2]=1073741883;c[v+20>>2]=0;c[v>>2]=0;c[v+4>>2]=0;c[v+8>>2]=Vb;c[Wb>>2]=v;b=c[c[Fe>>2]>>2]|0;if(!b)b=v;else{c[Fe>>2]=b;b=c[Wb>>2]|0}Fj(c[Fe+4>>2]|0,b);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;Xb=c[Fe+4>>2]|0}c[v+20>>2]=72;do if(!Xb){c[a>>2]=Fe+4;cc=Fe+4|0;bc=Fe+4|0;b=947}else{v=Xb;while(1){b=c[v+16>>2]|0;if((b|0)>1073741884){b=c[v>>2]|0;if(!b){Yb=v;ac=v;b=940;break}}else{if((b|0)>=1073741884){_b=v;b=946;break}Zb=v+4|0;b=c[Zb>>2]|0;if(!b){$b=v;b=944;break}}v=b}if((b|0)==940){c[a>>2]=ac;cc=Yb;bc=ac;b=947;break}else if((b|0)==944){c[a>>2]=$b;cc=Zb;bc=$b;b=947;break}else if((b|0)==946){c[a>>2]=_b;if(!_b){cc=a;bc=_b;b=947;break}else{dc=Xb;u=_b;break}}}while(0);if((b|0)==947){u=YAb(24)|0;c[u+16>>2]=1073741884;c[u+20>>2]=0;c[u>>2]=0;c[u+4>>2]=0;c[u+8>>2]=bc;c[cc>>2]=u;b=c[c[Fe>>2]>>2]|0;if(!b)b=u;else{c[Fe>>2]=b;b=c[cc>>2]|0}Fj(c[Fe+4>>2]|0,b);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;dc=c[Fe+4>>2]|0}c[u+20>>2]=73;do if(!dc){c[a>>2]=Fe+4;kc=Fe+4|0;jc=Fe+4|0;b=960}else{u=dc;while(1){b=c[u+16>>2]|0;if((b|0)>1073741885){b=c[u>>2]|0;if(!b){ec=u;ic=u;b=953;break}}else{if((b|0)>=1073741885){gc=u;b=959;break}fc=u+4|0;b=c[fc>>2]|0;if(!b){hc=u;b=957;break}}u=b}if((b|0)==953){c[a>>2]=ic;kc=ec;jc=ic;b=960;break}else if((b|0)==957){c[a>>2]=hc;kc=fc;jc=hc;b=960;break}else if((b|0)==959){c[a>>2]=gc;if(!gc){kc=a;jc=gc;b=960;break}else{lc=dc;t=gc;break}}}while(0);if((b|0)==960){t=YAb(24)|0;c[t+16>>2]=1073741885;c[t+20>>2]=0;c[t>>2]=0;c[t+4>>2]=0;c[t+8>>2]=jc;c[kc>>2]=t;b=c[c[Fe>>2]>>2]|0;if(!b)b=t;else{c[Fe>>2]=b;b=c[kc>>2]|0}Fj(c[Fe+4>>2]|0,b);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;lc=c[Fe+4>>2]|0}c[t+20>>2]=74;do if(!lc){c[a>>2]=Fe+4;sc=Fe+4|0;rc=Fe+4|0;b=973}else{t=lc;while(1){b=c[t+16>>2]|0;if((b|0)>1073741886){b=c[t>>2]|0;if(!b){mc=t;qc=t;b=966;break}}else{if((b|0)>=1073741886){oc=t;b=972;break}nc=t+4|0;b=c[nc>>2]|0;if(!b){pc=t;b=970;break}}t=b}if((b|0)==966){c[a>>2]=qc;sc=mc;rc=qc;b=973;break}else if((b|0)==970){c[a>>2]=pc;sc=nc;rc=pc;b=973;break}else if((b|0)==972){c[a>>2]=oc;if(!oc){sc=a;rc=oc;b=973;break}else{tc=lc;s=oc;break}}}while(0);if((b|0)==973){s=YAb(24)|0;c[s+16>>2]=1073741886;c[s+20>>2]=0;c[s>>2]=0;c[s+4>>2]=0;c[s+8>>2]=rc;c[sc>>2]=s;b=c[c[Fe>>2]>>2]|0;if(!b)b=s;else{c[Fe>>2]=b;b=c[sc>>2]|0}Fj(c[Fe+4>>2]|0,b);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;tc=c[Fe+4>>2]|0}c[s+20>>2]=75;do if(!tc){c[a>>2]=Fe+4;Ac=Fe+4|0;zc=Fe+4|0;b=986}else{s=tc;while(1){b=c[s+16>>2]|0;if((b|0)>1073741887){b=c[s>>2]|0;if(!b){uc=s;yc=s;b=979;break}}else{if((b|0)>=1073741887){wc=s;b=985;break}vc=s+4|0;b=c[vc>>2]|0;if(!b){xc=s;b=983;break}}s=b}if((b|0)==979){c[a>>2]=yc;Ac=uc;zc=yc;b=986;break}else if((b|0)==983){c[a>>2]=xc;Ac=vc;zc=xc;b=986;break}else if((b|0)==985){c[a>>2]=wc;if(!wc){Ac=a;zc=wc;b=986;break}else{Bc=tc;r=wc;break}}}while(0);if((b|0)==986){r=YAb(24)|0;c[r+16>>2]=1073741887;c[r+20>>2]=0;c[r>>2]=0;c[r+4>>2]=0;c[r+8>>2]=zc;c[Ac>>2]=r;b=c[c[Fe>>2]>>2]|0;if(!b)b=r;else{c[Fe>>2]=b;b=c[Ac>>2]|0}Fj(c[Fe+4>>2]|0,b);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;Bc=c[Fe+4>>2]|0}c[r+20>>2]=76;do if(!Bc){c[a>>2]=Fe+4;Ic=Fe+4|0;Hc=Fe+4|0;b=999}else{r=Bc;while(1){b=c[r+16>>2]|0;if((b|0)>1073741888){b=c[r>>2]|0;if(!b){Cc=r;Gc=r;b=992;break}}else{if((b|0)>=1073741888){Ec=r;b=998;break}Dc=r+4|0;b=c[Dc>>2]|0;if(!b){Fc=r;b=996;break}}r=b}if((b|0)==992){c[a>>2]=Gc;Ic=Cc;Hc=Gc;b=999;break}else if((b|0)==996){c[a>>2]=Fc;Ic=Dc;Hc=Fc;b=999;break}else if((b|0)==998){c[a>>2]=Ec;if(!Ec){Ic=a;Hc=Ec;b=999;break}else{Jc=Bc;q=Ec;break}}}while(0);if((b|0)==999){q=YAb(24)|0;c[q+16>>2]=1073741888;c[q+20>>2]=0;c[q>>2]=0;c[q+4>>2]=0;c[q+8>>2]=Hc;c[Ic>>2]=q;b=c[c[Fe>>2]>>2]|0;if(!b)b=q;else{c[Fe>>2]=b;b=c[Ic>>2]|0}Fj(c[Fe+4>>2]|0,b);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;Jc=c[Fe+4>>2]|0}c[q+20>>2]=77;do if(!Jc){c[a>>2]=Fe+4;Qc=Fe+4|0;Pc=Fe+4|0;b=1012}else{q=Jc;while(1){b=c[q+16>>2]|0;if((b|0)>1073741889){b=c[q>>2]|0;if(!b){Kc=q;Oc=q;b=1005;break}}else{if((b|0)>=1073741889){Mc=q;b=1011;break}Lc=q+4|0;b=c[Lc>>2]|0;if(!b){Nc=q;b=1009;break}}q=b}if((b|0)==1005){c[a>>2]=Oc;Qc=Kc;Pc=Oc;b=1012;break}else if((b|0)==1009){c[a>>2]=Nc;Qc=Lc;Pc=Nc;b=1012;break}else if((b|0)==1011){c[a>>2]=Mc;if(!Mc){Qc=a;Pc=Mc;b=1012;break}else{Rc=Jc;p=Mc;break}}}while(0);if((b|0)==1012){p=YAb(24)|0;c[p+16>>2]=1073741889;c[p+20>>2]=0;c[p>>2]=0;c[p+4>>2]=0;c[p+8>>2]=Pc;c[Qc>>2]=p;b=c[c[Fe>>2]>>2]|0;if(!b)b=p;else{c[Fe>>2]=b;b=c[Qc>>2]|0}Fj(c[Fe+4>>2]|0,b);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;Rc=c[Fe+4>>2]|0}c[p+20>>2]=78;do if(!Rc){c[a>>2]=Fe+4;Yc=Fe+4|0;Xc=Fe+4|0;b=1025}else{p=Rc;while(1){b=c[p+16>>2]|0;if((b|0)>1073741890){b=c[p>>2]|0;if(!b){Sc=p;Wc=p;b=1018;break}}else{if((b|0)>=1073741890){Uc=p;b=1024;break}Tc=p+4|0;b=c[Tc>>2]|0;if(!b){Vc=p;b=1022;break}}p=b}if((b|0)==1018){c[a>>2]=Wc;Yc=Sc;Xc=Wc;b=1025;break}else if((b|0)==1022){c[a>>2]=Vc;Yc=Tc;Xc=Vc;b=1025;break}else if((b|0)==1024){c[a>>2]=Uc;if(!Uc){Yc=a;Xc=Uc;b=1025;break}else{Zc=Rc;o=Uc;break}}}while(0);if((b|0)==1025){o=YAb(24)|0;c[o+16>>2]=1073741890;c[o+20>>2]=0;c[o>>2]=0;c[o+4>>2]=0;c[o+8>>2]=Xc;c[Yc>>2]=o;b=c[c[Fe>>2]>>2]|0;if(!b)b=o;else{c[Fe>>2]=b;b=c[Yc>>2]|0}Fj(c[Fe+4>>2]|0,b);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;Zc=c[Fe+4>>2]|0}c[o+20>>2]=79;do if(!Zc){c[a>>2]=Fe+4;ed=Fe+4|0;dd=Fe+4|0;b=1038}else{o=Zc;while(1){b=c[o+16>>2]|0;if((b|0)>1073741891){b=c[o>>2]|0;if(!b){_c=o;cd=o;b=1031;break}}else{if((b|0)>=1073741891){ad=o;b=1037;break}$c=o+4|0;b=c[$c>>2]|0;if(!b){bd=o;b=1035;break}}o=b}if((b|0)==1031){c[a>>2]=cd;ed=_c;dd=cd;b=1038;break}else if((b|0)==1035){c[a>>2]=bd;ed=$c;dd=bd;b=1038;break}else if((b|0)==1037){c[a>>2]=ad;if(!ad){ed=a;dd=ad;b=1038;break}else{fd=Zc;n=ad;break}}}while(0);if((b|0)==1038){n=YAb(24)|0;c[n+16>>2]=1073741891;c[n+20>>2]=0;c[n>>2]=0;c[n+4>>2]=0;c[n+8>>2]=dd;c[ed>>2]=n;b=c[c[Fe>>2]>>2]|0;if(!b)b=n;else{c[Fe>>2]=b;b=c[ed>>2]|0}Fj(c[Fe+4>>2]|0,b);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;fd=c[Fe+4>>2]|0}c[n+20>>2]=80;do if(!fd){c[a>>2]=Fe+4;md=Fe+4|0;ld=Fe+4|0;b=1051}else{n=fd;while(1){b=c[n+16>>2]|0;if((b|0)>1073741892){b=c[n>>2]|0;if(!b){gd=n;kd=n;b=1044;break}}else{if((b|0)>=1073741892){id=n;b=1050;break}hd=n+4|0;b=c[hd>>2]|0;if(!b){jd=n;b=1048;break}}n=b}if((b|0)==1044){c[a>>2]=kd;md=gd;ld=kd;b=1051;break}else if((b|0)==1048){c[a>>2]=jd;md=hd;ld=jd;b=1051;break}else if((b|0)==1050){c[a>>2]=id;if(!id){md=a;ld=id;b=1051;break}else{nd=fd;m=id;break}}}while(0);if((b|0)==1051){m=YAb(24)|0;c[m+16>>2]=1073741892;c[m+20>>2]=0;c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=ld;c[md>>2]=m;b=c[c[Fe>>2]>>2]|0;if(!b)b=m;else{c[Fe>>2]=b;b=c[md>>2]|0}Fj(c[Fe+4>>2]|0,b);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;nd=c[Fe+4>>2]|0}c[m+20>>2]=81;do if(!nd){c[a>>2]=Fe+4;ud=Fe+4|0;td=Fe+4|0;b=1064}else{m=nd;while(1){b=c[m+16>>2]|0;if((b|0)>1073741893){b=c[m>>2]|0;if(!b){od=m;sd=m;b=1057;break}}else{if((b|0)>=1073741893){qd=m;b=1063;break}pd=m+4|0;b=c[pd>>2]|0;if(!b){rd=m;b=1061;break}}m=b}if((b|0)==1057){c[a>>2]=sd;ud=od;td=sd;b=1064;break}else if((b|0)==1061){c[a>>2]=rd;ud=pd;td=rd;b=1064;break}else if((b|0)==1063){c[a>>2]=qd;if(!qd){ud=a;td=qd;b=1064;break}else{vd=nd;l=qd;break}}}while(0);if((b|0)==1064){l=YAb(24)|0;c[l+16>>2]=1073741893;c[l+20>>2]=0;c[l>>2]=0;c[l+4>>2]=0;c[l+8>>2]=td;c[ud>>2]=l;b=c[c[Fe>>2]>>2]|0;if(!b)b=l;else{c[Fe>>2]=b;b=c[ud>>2]|0}Fj(c[Fe+4>>2]|0,b);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;vd=c[Fe+4>>2]|0}c[l+20>>2]=82;do if(!vd){c[a>>2]=Fe+4;Cd=Fe+4|0;Bd=Fe+4|0;b=1077}else{l=vd;while(1){b=c[l+16>>2]|0;if((b|0)>1073741894){b=c[l>>2]|0;if(!b){wd=l;Ad=l;b=1070;break}}else{if((b|0)>=1073741894){yd=l;b=1076;break}xd=l+4|0;b=c[xd>>2]|0;if(!b){zd=l;b=1074;break}}l=b}if((b|0)==1070){c[a>>2]=Ad;Cd=wd;Bd=Ad;b=1077;break}else if((b|0)==1074){c[a>>2]=zd;Cd=xd;Bd=zd;b=1077;break}else if((b|0)==1076){c[a>>2]=yd;if(!yd){Cd=a;Bd=yd;b=1077;break}else{Dd=vd;k=yd;break}}}while(0);if((b|0)==1077){k=YAb(24)|0;c[k+16>>2]=1073741894;c[k+20>>2]=0;c[k>>2]=0;c[k+4>>2]=0;c[k+8>>2]=Bd;c[Cd>>2]=k;b=c[c[Fe>>2]>>2]|0;if(!b)b=k;else{c[Fe>>2]=b;b=c[Cd>>2]|0}Fj(c[Fe+4>>2]|0,b);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;Dd=c[Fe+4>>2]|0}c[k+20>>2]=83;do if(!Dd){c[a>>2]=Fe+4;Kd=Fe+4|0;Jd=Fe+4|0;b=1090}else{k=Dd;while(1){b=c[k+16>>2]|0;if((b|0)>1073741895){b=c[k>>2]|0;if(!b){Ed=k;Id=k;b=1083;break}}else{if((b|0)>=1073741895){Gd=k;b=1089;break}Fd=k+4|0;b=c[Fd>>2]|0;if(!b){Hd=k;b=1087;break}}k=b}if((b|0)==1083){c[a>>2]=Id;Kd=Ed;Jd=Id;b=1090;break}else if((b|0)==1087){c[a>>2]=Hd;Kd=Fd;Jd=Hd;b=1090;break}else if((b|0)==1089){c[a>>2]=Gd;if(!Gd){Kd=a;Jd=Gd;b=1090;break}else{Ld=Dd;j=Gd;break}}}while(0);if((b|0)==1090){j=YAb(24)|0;c[j+16>>2]=1073741895;c[j+20>>2]=0;c[j>>2]=0;c[j+4>>2]=0;c[j+8>>2]=Jd;c[Kd>>2]=j;b=c[c[Fe>>2]>>2]|0;if(!b)b=j;else{c[Fe>>2]=b;b=c[Kd>>2]|0}Fj(c[Fe+4>>2]|0,b);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;Ld=c[Fe+4>>2]|0}c[j+20>>2]=84;do if(!Ld){c[a>>2]=Fe+4;Sd=Fe+4|0;Rd=Fe+4|0;b=1103}else{j=Ld;while(1){b=c[j+16>>2]|0;if((b|0)>1073741896){b=c[j>>2]|0;if(!b){Md=j;Qd=j;b=1096;break}}else{if((b|0)>=1073741896){Od=j;b=1102;break}Nd=j+4|0;b=c[Nd>>2]|0;if(!b){Pd=j;b=1100;break}}j=b}if((b|0)==1096){c[a>>2]=Qd;Sd=Md;Rd=Qd;b=1103;break}else if((b|0)==1100){c[a>>2]=Pd;Sd=Nd;Rd=Pd;b=1103;break}else if((b|0)==1102){c[a>>2]=Od;if(!Od){Sd=a;Rd=Od;b=1103;break}else{Td=Ld;i=Od;break}}}while(0);if((b|0)==1103){i=YAb(24)|0;c[i+16>>2]=1073741896;c[i+20>>2]=0;c[i>>2]=0;c[i+4>>2]=0;c[i+8>>2]=Rd;c[Sd>>2]=i;b=c[c[Fe>>2]>>2]|0;if(!b)b=i;else{c[Fe>>2]=b;b=c[Sd>>2]|0}Fj(c[Fe+4>>2]|0,b);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;Td=c[Fe+4>>2]|0}c[i+20>>2]=85;do if(!Td){c[a>>2]=Fe+4;_d=Fe+4|0;Zd=Fe+4|0;b=1116}else{i=Td;while(1){b=c[i+16>>2]|0;if((b|0)>1073741897){b=c[i>>2]|0;if(!b){Ud=i;Yd=i;b=1109;break}}else{if((b|0)>=1073741897){Wd=i;b=1115;break}Vd=i+4|0;b=c[Vd>>2]|0;if(!b){Xd=i;b=1113;break}}i=b}if((b|0)==1109){c[a>>2]=Yd;_d=Ud;Zd=Yd;b=1116;break}else if((b|0)==1113){c[a>>2]=Xd;_d=Vd;Zd=Xd;b=1116;break}else if((b|0)==1115){c[a>>2]=Wd;if(!Wd){_d=a;Zd=Wd;b=1116;break}else{$d=Td;h=Wd;break}}}while(0);if((b|0)==1116){h=YAb(24)|0;c[h+16>>2]=1073741897;c[h+20>>2]=0;c[h>>2]=0;c[h+4>>2]=0;c[h+8>>2]=Zd;c[_d>>2]=h;b=c[c[Fe>>2]>>2]|0;if(!b)b=h;else{c[Fe>>2]=b;b=c[_d>>2]|0}Fj(c[Fe+4>>2]|0,b);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;$d=c[Fe+4>>2]|0}c[h+20>>2]=86;do if(!$d){c[a>>2]=Fe+4;ge=Fe+4|0;fe=Fe+4|0;b=1129}else{h=$d;while(1){b=c[h+16>>2]|0;if((b|0)>1073741898){b=c[h>>2]|0;if(!b){ae=h;ee=h;b=1122;break}}else{if((b|0)>=1073741898){ce=h;b=1128;break}be=h+4|0;b=c[be>>2]|0;if(!b){de=h;b=1126;break}}h=b}if((b|0)==1122){c[a>>2]=ee;ge=ae;fe=ee;b=1129;break}else if((b|0)==1126){c[a>>2]=de;ge=be;fe=de;b=1129;break}else if((b|0)==1128){c[a>>2]=ce;if(!ce){ge=a;fe=ce;b=1129;break}else{he=$d;g=ce;break}}}while(0);if((b|0)==1129){g=YAb(24)|0;c[g+16>>2]=1073741898;c[g+20>>2]=0;c[g>>2]=0;c[g+4>>2]=0;c[g+8>>2]=fe;c[ge>>2]=g;b=c[c[Fe>>2]>>2]|0;if(!b)b=g;else{c[Fe>>2]=b;b=c[ge>>2]|0}Fj(c[Fe+4>>2]|0,b);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;he=c[Fe+4>>2]|0}c[g+20>>2]=87;do if(!he){c[a>>2]=Fe+4;oe=Fe+4|0;ne=Fe+4|0;b=1142}else{g=he;while(1){b=c[g+16>>2]|0;if((b|0)>1073741899){b=c[g>>2]|0;if(!b){ie=g;me=g;b=1135;break}}else{if((b|0)>=1073741899){ke=g;b=1141;break}je=g+4|0;b=c[je>>2]|0;if(!b){le=g;b=1139;break}}g=b}if((b|0)==1135){c[a>>2]=me;oe=ie;ne=me;b=1142;break}else if((b|0)==1139){c[a>>2]=le;oe=je;ne=le;b=1142;break}else if((b|0)==1141){c[a>>2]=ke;if(!ke){oe=a;ne=ke;b=1142;break}else{pe=he;f=ke;break}}}while(0);if((b|0)==1142){f=YAb(24)|0;c[f+16>>2]=1073741899;c[f+20>>2]=0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=ne;c[oe>>2]=f;b=c[c[Fe>>2]>>2]|0;if(!b)b=f;else{c[Fe>>2]=b;b=c[oe>>2]|0}Fj(c[Fe+4>>2]|0,b);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;pe=c[Fe+4>>2]|0}c[f+20>>2]=88;do if(!pe){c[a>>2]=Fe+4;we=Fe+4|0;ve=Fe+4|0;b=1155}else{f=pe;while(1){b=c[f+16>>2]|0;if((b|0)>127){b=c[f>>2]|0;if(!b){qe=f;ue=f;b=1148;break}}else{if((b|0)>=127){se=f;b=1154;break}re=f+4|0;b=c[re>>2]|0;if(!b){te=f;b=1152;break}}f=b}if((b|0)==1148){c[a>>2]=ue;we=qe;ve=ue;b=1155;break}else if((b|0)==1152){c[a>>2]=te;we=re;ve=te;b=1155;break}else if((b|0)==1154){c[a>>2]=se;if(!se){we=a;ve=se;b=1155;break}else{xe=pe;e=se;break}}}while(0);if((b|0)==1155){e=YAb(24)|0;c[e+16>>2]=127;c[e+20>>2]=0;c[e>>2]=0;c[e+4>>2]=0;c[e+8>>2]=ve;c[we>>2]=e;b=c[c[Fe>>2]>>2]|0;if(!b)b=e;else{c[Fe>>2]=b;b=c[we>>2]|0}Fj(c[Fe+4>>2]|0,b);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;xe=c[Fe+4>>2]|0}c[e+20>>2]=89;do if(!xe){c[a>>2]=Fe+4;Ee=Fe+4|0;De=Fe+4|0;b=1168}else{e=xe;while(1){b=c[e+16>>2]|0;if((b|0)>1073741901){b=c[e>>2]|0;if(!b){ye=e;Ce=e;b=1161;break}}else{if((b|0)>=1073741901){Ae=e;b=1167;break}ze=e+4|0;b=c[ze>>2]|0;if(!b){Be=e;b=1165;break}}e=b}if((b|0)==1161){c[a>>2]=Ce;Ee=ye;De=Ce;b=1168;break}else if((b|0)==1165){c[a>>2]=Be;Ee=ze;De=Be;b=1168;break}else if((b|0)==1167){c[a>>2]=Ae;if(!Ae){Ee=a;De=Ae;b=1168;break}else{Ge=xe;d=Ae;break}}}while(0);if((b|0)==1168){d=YAb(24)|0;c[d+16>>2]=1073741901;c[d+20>>2]=0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=De;c[Ee>>2]=d;b=c[c[Fe>>2]>>2]|0;if(!b)b=d;else{c[Fe>>2]=b;b=c[Ee>>2]|0}Fj(c[Fe+4>>2]|0,b);c[Fe+8>>2]=(c[Fe+8>>2]|0)+1;Ge=c[Fe+4>>2]|0}c[d+20>>2]=90;do if(!Ge){c[a>>2]=Fe+4;He=Fe+4|0;Ke=Fe+4|0;b=1181}else{d=Ge;while(1){b=c[d+16>>2]|0;if((b|0)>1073741902){b=c[d>>2]|0;if(!b){Ie=d;Oe=d;b=1174;break}}else{if((b|0)>=1073741902){Me=d;b=1180;break}Je=d+4|0;b=c[Je>>2]|0;if(!b){Ne=d;b=1178;break}}d=b}if((b|0)==1174){c[a>>2]=Oe;He=Ie;Ke=Oe;b=1181;break}else if((b|0)==1178){c[a>>2]=Ne;He=Je;Ke=Ne;b=1181;break}else if((b|0)==1180){c[a>>2]=Me;if(!Me){He=a;Ke=Me;b=1181;break}else{Le=Ge;Pe=Me;break}}}while(0);c[a+240>>2]=He;c[a+9304>>2]=Ke;c[a+9336>>2]=Le;c[a+24600>>2]=Pe;c[a+25904>>2]=b}function afa(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,jb=0,kb=0,lb=0,mb=0,nb=0,ob=0,pb=0,qb=0,rb=0,sb=0,tb=0,ub=0,vb=0,wb=0,xb=0,yb=0,zb=0,Ab=0,Bb=0,Cb=0,Db=0,Eb=0,Fb=0,Gb=0,Hb=0,Ib=0,Jb=0,Kb=0,Lb=0,Mb=0,Nb=0,Ob=0,Pb=0,Qb=0,Rb=0,Sb=0,Tb=0,Ub=0,Vb=0,Wb=0,Xb=0,Yb=0,Zb=0,_b=0,$b=0,ac=0,bc=0,cc=0,dc=0,ec=0,fc=0,gc=0,hc=0,ic=0,jc=0,kc=0,lc=0,mc=0,nc=0,oc=0,pc=0,qc=0,rc=0,sc=0,tc=0,uc=0,vc=0,wc=0,xc=0,yc=0,zc=0,Ac=0,Bc=0,Cc=0,Dc=0,Ec=0,Fc=0,Gc=0,Hc=0,Ic=0,Jc=0,Kc=0,Lc=0,Mc=0,Nc=0,Oc=0,Pc=0,Qc=0,Rc=0,Sc=0,Tc=0,Uc=0,Vc=0,Wc=0,Xc=0,Yc=0,Zc=0,_c=0,$c=0,ad=0,bd=0,cd=0,dd=0,ed=0,fd=0,gd=0,hd=0,id=0,jd=0,kd=0,ld=0,md=0,nd=0,od=0,pd=0,qd=0,rd=0,sd=0,td=0,ud=0,vd=0,wd=0,xd=0,yd=0,zd=0,Ad=0,Bd=0,Cd=0,Dd=0,Ed=0,Fd=0,Gd=0,Hd=0,Id=0,Jd=0,Kd=0,Ld=0,Md=0,Nd=0,Od=0,Pd=0,Qd=0,Rd=0,Sd=0,Td=0,Ud=0,Vd=0,Wd=0,Xd=0,Yd=0,Zd=0,_d=0,$d=0,ae=0,be=0,ce=0,de=0,ee=0,fe=0,ge=0,he=0,ie=0,je=0,ke=0,le=0,me=0,ne=0,oe=0,pe=0,qe=0,re=0,se=0,te=0,ue=0,ve=0,we=0,xe=0,ye=0,ze=0,Ae=0,Be=0,Ce=0,De=0,Ee=0,Fe=0,Ge=0,He=0,Ie=0;He=c[a+32>>2]|0;K=c[a+1160>>2]|0;Ee=c[a+6624>>2]|0;b=c[a+17640>>2]|0;Fe=c[a+17672>>2]|0;L=c[a+25520>>2]|0;Ie=c[a+25904>>2]|0;if((Ie|0)==310){L=YAb(24)|0;c[L+16>>2]=51;c[L+20>>2]=0;c[L>>2]=0;c[L+4>>2]=0;c[L+8>>2]=b;c[K>>2]=L;b=c[c[He>>2]>>2]|0;if(!b)b=L;else{c[He>>2]=b;b=c[K>>2]|0}Fj(c[He+4>>2]|0,b);c[He+8>>2]=(c[He+8>>2]|0)+1;Fe=c[He+4>>2]|0}c[L+20>>2]=24;do if(!Fe){c[a>>2]=He+4;S=He+4|0;R=He+4|0;K=323}else{K=Fe;while(1){b=c[K+16>>2]|0;if((b|0)>52){b=c[K>>2]|0;if(!b){M=K;Q=K;K=316;break}}else{if((b|0)>=52){O=K;K=322;break}N=K+4|0;b=c[N>>2]|0;if(!b){P=K;K=320;break}}K=b}if((K|0)==316){c[a>>2]=Q;S=M;R=Q;K=323;break}else if((K|0)==320){c[a>>2]=P;S=N;R=P;K=323;break}else if((K|0)==322){c[a>>2]=O;if(!O){S=a;R=O;K=323;break}else{T=Fe;J=O;break}}}while(0);if((K|0)==323){J=YAb(24)|0;c[J+16>>2]=52;c[J+20>>2]=0;c[J>>2]=0;c[J+4>>2]=0;c[J+8>>2]=R;c[S>>2]=J;b=c[c[He>>2]>>2]|0;if(!b)b=J;else{c[He>>2]=b;b=c[S>>2]|0}Fj(c[He+4>>2]|0,b);c[He+8>>2]=(c[He+8>>2]|0)+1;T=c[He+4>>2]|0}c[J+20>>2]=25;do if(!T){c[a>>2]=He+4;_=He+4|0;Z=He+4|0;K=336}else{J=T;while(1){b=c[J+16>>2]|0;if((b|0)>53){b=c[J>>2]|0;if(!b){U=J;Y=J;K=329;break}}else{if((b|0)>=53){W=J;K=335;break}V=J+4|0;b=c[V>>2]|0;if(!b){X=J;K=333;break}}J=b}if((K|0)==329){c[a>>2]=Y;_=U;Z=Y;K=336;break}else if((K|0)==333){c[a>>2]=X;_=V;Z=X;K=336;break}else if((K|0)==335){c[a>>2]=W;if(!W){_=a;Z=W;K=336;break}else{$=T;I=W;break}}}while(0);if((K|0)==336){I=YAb(24)|0;c[I+16>>2]=53;c[I+20>>2]=0;c[I>>2]=0;c[I+4>>2]=0;c[I+8>>2]=Z;c[_>>2]=I;b=c[c[He>>2]>>2]|0;if(!b)b=I;else{c[He>>2]=b;b=c[_>>2]|0}Fj(c[He+4>>2]|0,b);c[He+8>>2]=(c[He+8>>2]|0)+1;$=c[He+4>>2]|0}c[I+20>>2]=26;do if(!$){c[a>>2]=He+4;ga=He+4|0;fa=He+4|0;K=349}else{I=$;while(1){b=c[I+16>>2]|0;if((b|0)>54){b=c[I>>2]|0;if(!b){aa=I;ea=I;K=342;break}}else{if((b|0)>=54){ca=I;K=348;break}ba=I+4|0;b=c[ba>>2]|0;if(!b){da=I;K=346;break}}I=b}if((K|0)==342){c[a>>2]=ea;ga=aa;fa=ea;K=349;break}else if((K|0)==346){c[a>>2]=da;ga=ba;fa=da;K=349;break}else if((K|0)==348){c[a>>2]=ca;if(!ca){ga=a;fa=ca;K=349;break}else{ha=$;H=ca;break}}}while(0);if((K|0)==349){H=YAb(24)|0;c[H+16>>2]=54;c[H+20>>2]=0;c[H>>2]=0;c[H+4>>2]=0;c[H+8>>2]=fa;c[ga>>2]=H;b=c[c[He>>2]>>2]|0;if(!b)b=H;else{c[He>>2]=b;b=c[ga>>2]|0}Fj(c[He+4>>2]|0,b);c[He+8>>2]=(c[He+8>>2]|0)+1;ha=c[He+4>>2]|0}c[H+20>>2]=27;do if(!ha){c[a>>2]=He+4;oa=He+4|0;na=He+4|0;K=362}else{H=ha;while(1){b=c[H+16>>2]|0;if((b|0)>55){b=c[H>>2]|0;if(!b){ia=H;ma=H;K=355;break}}else{if((b|0)>=55){ka=H;K=361;break}ja=H+4|0;b=c[ja>>2]|0;if(!b){la=H;K=359;break}}H=b}if((K|0)==355){c[a>>2]=ma;oa=ia;na=ma;K=362;break}else if((K|0)==359){c[a>>2]=la;oa=ja;na=la;K=362;break}else if((K|0)==361){c[a>>2]=ka;if(!ka){oa=a;na=ka;K=362;break}else{pa=ha;G=ka;break}}}while(0);if((K|0)==362){G=YAb(24)|0;c[G+16>>2]=55;c[G+20>>2]=0;c[G>>2]=0;c[G+4>>2]=0;c[G+8>>2]=na;c[oa>>2]=G;b=c[c[He>>2]>>2]|0;if(!b)b=G;else{c[He>>2]=b;b=c[oa>>2]|0}Fj(c[He+4>>2]|0,b);c[He+8>>2]=(c[He+8>>2]|0)+1;pa=c[He+4>>2]|0}c[G+20>>2]=28;do if(!pa){c[a>>2]=He+4;wa=He+4|0;va=He+4|0;K=375}else{G=pa;while(1){b=c[G+16>>2]|0;if((b|0)>56){b=c[G>>2]|0;if(!b){qa=G;ua=G;K=368;break}}else{if((b|0)>=56){sa=G;K=374;break}ra=G+4|0;b=c[ra>>2]|0;if(!b){ta=G;K=372;break}}G=b}if((K|0)==368){c[a>>2]=ua;wa=qa;va=ua;K=375;break}else if((K|0)==372){c[a>>2]=ta;wa=ra;va=ta;K=375;break}else if((K|0)==374){c[a>>2]=sa;if(!sa){wa=a;va=sa;K=375;break}else{xa=pa;F=sa;break}}}while(0);if((K|0)==375){F=YAb(24)|0;c[F+16>>2]=56;c[F+20>>2]=0;c[F>>2]=0;c[F+4>>2]=0;c[F+8>>2]=va;c[wa>>2]=F;b=c[c[He>>2]>>2]|0;if(!b)b=F;else{c[He>>2]=b;b=c[wa>>2]|0}Fj(c[He+4>>2]|0,b);c[He+8>>2]=(c[He+8>>2]|0)+1;xa=c[He+4>>2]|0}c[F+20>>2]=29;do if(!xa){c[a>>2]=He+4;Ea=He+4|0;Da=He+4|0;K=388}else{F=xa;while(1){b=c[F+16>>2]|0;if((b|0)>57){b=c[F>>2]|0;if(!b){ya=F;Ca=F;K=381;break}}else{if((b|0)>=57){Aa=F;K=387;break}za=F+4|0;b=c[za>>2]|0;if(!b){Ba=F;K=385;break}}F=b}if((K|0)==381){c[a>>2]=Ca;Ea=ya;Da=Ca;K=388;break}else if((K|0)==385){c[a>>2]=Ba;Ea=za;Da=Ba;K=388;break}else if((K|0)==387){c[a>>2]=Aa;if(!Aa){Ea=a;Da=Aa;K=388;break}else{Fa=xa;E=Aa;break}}}while(0);if((K|0)==388){E=YAb(24)|0;c[E+16>>2]=57;c[E+20>>2]=0;c[E>>2]=0;c[E+4>>2]=0;c[E+8>>2]=Da;c[Ea>>2]=E;b=c[c[He>>2]>>2]|0;if(!b)b=E;else{c[He>>2]=b;b=c[Ea>>2]|0}Fj(c[He+4>>2]|0,b);c[He+8>>2]=(c[He+8>>2]|0)+1;Fa=c[He+4>>2]|0}c[E+20>>2]=30;do if(!Fa){c[a>>2]=He+4;Ma=He+4|0;La=He+4|0;K=401}else{E=Fa;while(1){b=c[E+16>>2]|0;if((b|0)>58){b=c[E>>2]|0;if(!b){Ga=E;Ka=E;K=394;break}}else{if((b|0)>=58){Ia=E;K=400;break}Ha=E+4|0;b=c[Ha>>2]|0;if(!b){Ja=E;K=398;break}}E=b}if((K|0)==394){c[a>>2]=Ka;Ma=Ga;La=Ka;K=401;break}else if((K|0)==398){c[a>>2]=Ja;Ma=Ha;La=Ja;K=401;break}else if((K|0)==400){c[a>>2]=Ia;if(!Ia){Ma=a;La=Ia;K=401;break}else{Na=Fa;D=Ia;break}}}while(0);if((K|0)==401){D=YAb(24)|0;c[D+16>>2]=58;c[D+20>>2]=0;c[D>>2]=0;c[D+4>>2]=0;c[D+8>>2]=La;c[Ma>>2]=D;b=c[c[He>>2]>>2]|0;if(!b)b=D;else{c[He>>2]=b;b=c[Ma>>2]|0}Fj(c[He+4>>2]|0,b);c[He+8>>2]=(c[He+8>>2]|0)+1;Na=c[He+4>>2]|0}c[D+20>>2]=31;do if(!Na){c[a>>2]=He+4;Ua=He+4|0;Ta=He+4|0;K=414}else{D=Na;while(1){b=c[D+16>>2]|0;if((b|0)>59){b=c[D>>2]|0;if(!b){Oa=D;Sa=D;K=407;break}}else{if((b|0)>=59){Qa=D;K=413;break}Pa=D+4|0;b=c[Pa>>2]|0;if(!b){Ra=D;K=411;break}}D=b}if((K|0)==407){c[a>>2]=Sa;Ua=Oa;Ta=Sa;K=414;break}else if((K|0)==411){c[a>>2]=Ra;Ua=Pa;Ta=Ra;K=414;break}else if((K|0)==413){c[a>>2]=Qa;if(!Qa){Ua=a;Ta=Qa;K=414;break}else{Va=Na;C=Qa;break}}}while(0);if((K|0)==414){C=YAb(24)|0;c[C+16>>2]=59;c[C+20>>2]=0;c[C>>2]=0;c[C+4>>2]=0;c[C+8>>2]=Ta;c[Ua>>2]=C;b=c[c[He>>2]>>2]|0;if(!b)b=C;else{c[He>>2]=b;b=c[Ua>>2]|0}Fj(c[He+4>>2]|0,b);c[He+8>>2]=(c[He+8>>2]|0)+1;Va=c[He+4>>2]|0}c[C+20>>2]=32;do if(!Va){c[a>>2]=He+4;ab=He+4|0;$a=He+4|0;K=427}else{C=Va;while(1){b=c[C+16>>2]|0;if((b|0)>60){b=c[C>>2]|0;if(!b){Wa=C;_a=C;K=420;break}}else{if((b|0)>=60){Ya=C;K=426;break}Xa=C+4|0;b=c[Xa>>2]|0;if(!b){Za=C;K=424;break}}C=b}if((K|0)==420){c[a>>2]=_a;ab=Wa;$a=_a;K=427;break}else if((K|0)==424){c[a>>2]=Za;ab=Xa;$a=Za;K=427;break}else if((K|0)==426){c[a>>2]=Ya;if(!Ya){ab=a;$a=Ya;K=427;break}else{bb=Va;B=Ya;break}}}while(0);if((K|0)==427){B=YAb(24)|0;c[B+16>>2]=60;c[B+20>>2]=0;c[B>>2]=0;c[B+4>>2]=0;c[B+8>>2]=$a;c[ab>>2]=B;b=c[c[He>>2]>>2]|0;if(!b)b=B;else{c[He>>2]=b;b=c[ab>>2]|0}Fj(c[He+4>>2]|0,b);c[He+8>>2]=(c[He+8>>2]|0)+1;bb=c[He+4>>2]|0}c[B+20>>2]=33;do if(!bb){c[a>>2]=He+4;ib=He+4|0;hb=He+4|0;K=440}else{B=bb;while(1){b=c[B+16>>2]|0;if((b|0)>61){b=c[B>>2]|0;if(!b){cb=B;gb=B;K=433;break}}else{if((b|0)>=61){eb=B;K=439;break}db=B+4|0;b=c[db>>2]|0;if(!b){fb=B;K=437;break}}B=b}if((K|0)==433){c[a>>2]=gb;ib=cb;hb=gb;K=440;break}else if((K|0)==437){c[a>>2]=fb;ib=db;hb=fb;K=440;break}else if((K|0)==439){c[a>>2]=eb;if(!eb){ib=a;hb=eb;K=440;break}else{jb=bb;A=eb;break}}}while(0);if((K|0)==440){A=YAb(24)|0;c[A+16>>2]=61;c[A+20>>2]=0;c[A>>2]=0;c[A+4>>2]=0;c[A+8>>2]=hb;c[ib>>2]=A;b=c[c[He>>2]>>2]|0;if(!b)b=A;else{c[He>>2]=b;b=c[ib>>2]|0}Fj(c[He+4>>2]|0,b);c[He+8>>2]=(c[He+8>>2]|0)+1;jb=c[He+4>>2]|0}c[A+20>>2]=34;do if(!jb){c[a>>2]=He+4;qb=He+4|0;pb=He+4|0;K=453}else{A=jb;while(1){b=c[A+16>>2]|0;if((b|0)>62){b=c[A>>2]|0;if(!b){kb=A;ob=A;K=446;break}}else{if((b|0)>=62){mb=A;K=452;break}lb=A+4|0;b=c[lb>>2]|0;if(!b){nb=A;K=450;break}}A=b}if((K|0)==446){c[a>>2]=ob;qb=kb;pb=ob;K=453;break}else if((K|0)==450){c[a>>2]=nb;qb=lb;pb=nb;K=453;break}else if((K|0)==452){c[a>>2]=mb;if(!mb){qb=a;pb=mb;K=453;break}else{rb=jb;z=mb;break}}}while(0);if((K|0)==453){z=YAb(24)|0;c[z+16>>2]=62;c[z+20>>2]=0;c[z>>2]=0;c[z+4>>2]=0;c[z+8>>2]=pb;c[qb>>2]=z;b=c[c[He>>2]>>2]|0;if(!b)b=z;else{c[He>>2]=b;b=c[qb>>2]|0}Fj(c[He+4>>2]|0,b);c[He+8>>2]=(c[He+8>>2]|0)+1;rb=c[He+4>>2]|0}c[z+20>>2]=35;do if(!rb){c[a>>2]=He+4;yb=He+4|0;xb=He+4|0;K=466}else{z=rb;while(1){b=c[z+16>>2]|0;if((b|0)>63){b=c[z>>2]|0;if(!b){sb=z;wb=z;K=459;break}}else{if((b|0)>=63){ub=z;K=465;break}tb=z+4|0;b=c[tb>>2]|0;if(!b){vb=z;K=463;break}}z=b}if((K|0)==459){c[a>>2]=wb;yb=sb;xb=wb;K=466;break}else if((K|0)==463){c[a>>2]=vb;yb=tb;xb=vb;K=466;break}else if((K|0)==465){c[a>>2]=ub;if(!ub){yb=a;xb=ub;K=466;break}else{zb=rb;y=ub;break}}}while(0);if((K|0)==466){y=YAb(24)|0;c[y+16>>2]=63;c[y+20>>2]=0;c[y>>2]=0;c[y+4>>2]=0;c[y+8>>2]=xb;c[yb>>2]=y;b=c[c[He>>2]>>2]|0;if(!b)b=y;else{c[He>>2]=b;b=c[yb>>2]|0}Fj(c[He+4>>2]|0,b);c[He+8>>2]=(c[He+8>>2]|0)+1;zb=c[He+4>>2]|0}c[y+20>>2]=36;do if(!zb){c[a>>2]=He+4;Gb=He+4|0;Fb=He+4|0;K=479}else{y=zb;while(1){b=c[y+16>>2]|0;if((b|0)>64){b=c[y>>2]|0;if(!b){Ab=y;Eb=y;K=472;break}}else{if((b|0)>=64){Cb=y;K=478;break}Bb=y+4|0;b=c[Bb>>2]|0;if(!b){Db=y;K=476;break}}y=b}if((K|0)==472){c[a>>2]=Eb;Gb=Ab;Fb=Eb;K=479;break}else if((K|0)==476){c[a>>2]=Db;Gb=Bb;Fb=Db;K=479;break}else if((K|0)==478){c[a>>2]=Cb;if(!Cb){Gb=a;Fb=Cb;K=479;break}else{Hb=zb;x=Cb;break}}}while(0);if((K|0)==479){x=YAb(24)|0;c[x+16>>2]=64;c[x+20>>2]=0;c[x>>2]=0;c[x+4>>2]=0;c[x+8>>2]=Fb;c[Gb>>2]=x;b=c[c[He>>2]>>2]|0;if(!b)b=x;else{c[He>>2]=b;b=c[Gb>>2]|0}Fj(c[He+4>>2]|0,b);c[He+8>>2]=(c[He+8>>2]|0)+1;Hb=c[He+4>>2]|0}c[x+20>>2]=37;do if(!Hb){c[a>>2]=He+4;Ob=He+4|0;Nb=He+4|0;K=492}else{x=Hb;while(1){b=c[x+16>>2]|0;if((b|0)>91){b=c[x>>2]|0;if(!b){Ib=x;Mb=x;K=485;break}}else{if((b|0)>=91){Kb=x;K=491;break}Jb=x+4|0;b=c[Jb>>2]|0;if(!b){Lb=x;K=489;break}}x=b}if((K|0)==485){c[a>>2]=Mb;Ob=Ib;Nb=Mb;K=492;break}else if((K|0)==489){c[a>>2]=Lb;Ob=Jb;Nb=Lb;K=492;break}else if((K|0)==491){c[a>>2]=Kb;if(!Kb){Ob=a;Nb=Kb;K=492;break}else{Pb=Hb;w=Kb;break}}}while(0);if((K|0)==492){w=YAb(24)|0;c[w+16>>2]=91;c[w+20>>2]=0;c[w>>2]=0;c[w+4>>2]=0;c[w+8>>2]=Nb;c[Ob>>2]=w;b=c[c[He>>2]>>2]|0;if(!b)b=w;else{c[He>>2]=b;b=c[Ob>>2]|0}Fj(c[He+4>>2]|0,b);c[He+8>>2]=(c[He+8>>2]|0)+1;Pb=c[He+4>>2]|0}c[w+20>>2]=38;do if(!Pb){c[a>>2]=He+4;Wb=He+4|0;Vb=He+4|0;K=505}else{w=Pb;while(1){b=c[w+16>>2]|0;if((b|0)>92){b=c[w>>2]|0;if(!b){Qb=w;Ub=w;K=498;break}}else{if((b|0)>=92){Sb=w;K=504;break}Rb=w+4|0;b=c[Rb>>2]|0;if(!b){Tb=w;K=502;break}}w=b}if((K|0)==498){c[a>>2]=Ub;Wb=Qb;Vb=Ub;K=505;break}else if((K|0)==502){c[a>>2]=Tb;Wb=Rb;Vb=Tb;K=505;break}else if((K|0)==504){c[a>>2]=Sb;if(!Sb){Wb=a;Vb=Sb;K=505;break}else{Xb=Pb;v=Sb;break}}}while(0);if((K|0)==505){v=YAb(24)|0;c[v+16>>2]=92;c[v+20>>2]=0;c[v>>2]=0;c[v+4>>2]=0;c[v+8>>2]=Vb;c[Wb>>2]=v;b=c[c[He>>2]>>2]|0;if(!b)b=v;else{c[He>>2]=b;b=c[Wb>>2]|0}Fj(c[He+4>>2]|0,b);c[He+8>>2]=(c[He+8>>2]|0)+1;Xb=c[He+4>>2]|0}c[v+20>>2]=39;do if(!Xb){c[a>>2]=He+4;cc=He+4|0;bc=He+4|0;K=518}else{v=Xb;while(1){b=c[v+16>>2]|0;if((b|0)>93){b=c[v>>2]|0;if(!b){Yb=v;ac=v;K=511;break}}else{if((b|0)>=93){_b=v;K=517;break}Zb=v+4|0;b=c[Zb>>2]|0;if(!b){$b=v;K=515;break}}v=b}if((K|0)==511){c[a>>2]=ac;cc=Yb;bc=ac;K=518;break}else if((K|0)==515){c[a>>2]=$b;cc=Zb;bc=$b;K=518;break}else if((K|0)==517){c[a>>2]=_b;if(!_b){cc=a;bc=_b;K=518;break}else{dc=Xb;u=_b;break}}}while(0);if((K|0)==518){u=YAb(24)|0;c[u+16>>2]=93;c[u+20>>2]=0;c[u>>2]=0;c[u+4>>2]=0;c[u+8>>2]=bc;c[cc>>2]=u;b=c[c[He>>2]>>2]|0;if(!b)b=u;else{c[He>>2]=b;b=c[cc>>2]|0}Fj(c[He+4>>2]|0,b);c[He+8>>2]=(c[He+8>>2]|0)+1;dc=c[He+4>>2]|0}c[u+20>>2]=40;do if(!dc){c[a>>2]=He+4;kc=He+4|0;jc=He+4|0;K=531}else{u=dc;while(1){b=c[u+16>>2]|0;if((b|0)>94){b=c[u>>2]|0;if(!b){ec=u;ic=u;K=524;break}}else{if((b|0)>=94){gc=u;K=530;break}fc=u+4|0;b=c[fc>>2]|0;if(!b){hc=u;K=528;break}}u=b}if((K|0)==524){c[a>>2]=ic;kc=ec;jc=ic;K=531;break}else if((K|0)==528){c[a>>2]=hc;kc=fc;jc=hc;K=531;break}else if((K|0)==530){c[a>>2]=gc;if(!gc){kc=a;jc=gc;K=531;break}else{lc=dc;t=gc;break}}}while(0);if((K|0)==531){t=YAb(24)|0;c[t+16>>2]=94;c[t+20>>2]=0;c[t>>2]=0;c[t+4>>2]=0;c[t+8>>2]=jc;c[kc>>2]=t;b=c[c[He>>2]>>2]|0;if(!b)b=t;else{c[He>>2]=b;b=c[kc>>2]|0}Fj(c[He+4>>2]|0,b);c[He+8>>2]=(c[He+8>>2]|0)+1;lc=c[He+4>>2]|0}c[t+20>>2]=41;do if(!lc){c[a>>2]=He+4;sc=He+4|0;rc=He+4|0;K=544}else{t=lc;while(1){b=c[t+16>>2]|0;if((b|0)>95){b=c[t>>2]|0;if(!b){mc=t;qc=t;K=537;break}}else{if((b|0)>=95){oc=t;K=543;break}nc=t+4|0;b=c[nc>>2]|0;if(!b){pc=t;K=541;break}}t=b}if((K|0)==537){c[a>>2]=qc;sc=mc;rc=qc;K=544;break}else if((K|0)==541){c[a>>2]=pc;sc=nc;rc=pc;K=544;break}else if((K|0)==543){c[a>>2]=oc;if(!oc){sc=a;rc=oc;K=544;break}else{tc=lc;s=oc;break}}}while(0);if((K|0)==544){s=YAb(24)|0;c[s+16>>2]=95;c[s+20>>2]=0;c[s>>2]=0;c[s+4>>2]=0;c[s+8>>2]=rc;c[sc>>2]=s;b=c[c[He>>2]>>2]|0;if(!b)b=s;else{c[He>>2]=b;b=c[sc>>2]|0}Fj(c[He+4>>2]|0,b);c[He+8>>2]=(c[He+8>>2]|0)+1;tc=c[He+4>>2]|0}c[s+20>>2]=42;do if(!tc){c[a>>2]=He+4;Ac=He+4|0;zc=He+4|0;K=557}else{s=tc;while(1){b=c[s+16>>2]|0;if((b|0)>96){b=c[s>>2]|0;if(!b){uc=s;yc=s;K=550;break}}else{if((b|0)>=96){wc=s;K=556;break}vc=s+4|0;b=c[vc>>2]|0;if(!b){xc=s;K=554;break}}s=b}if((K|0)==550){c[a>>2]=yc;Ac=uc;zc=yc;K=557;break}else if((K|0)==554){c[a>>2]=xc;Ac=vc;zc=xc;K=557;break}else if((K|0)==556){c[a>>2]=wc;if(!wc){Ac=a;zc=wc;K=557;break}else{Bc=tc;r=wc;break}}}while(0);if((K|0)==557){r=YAb(24)|0;c[r+16>>2]=96;c[r+20>>2]=0;c[r>>2]=0;c[r+4>>2]=0;c[r+8>>2]=zc;c[Ac>>2]=r;b=c[c[He>>2]>>2]|0;if(!b)b=r;else{c[He>>2]=b;b=c[Ac>>2]|0}Fj(c[He+4>>2]|0,b);c[He+8>>2]=(c[He+8>>2]|0)+1;Bc=c[He+4>>2]|0}c[r+20>>2]=43;do if(!Bc){c[a>>2]=He+4;Ic=He+4|0;Hc=He+4|0;K=570}else{r=Bc;while(1){b=c[r+16>>2]|0;if((b|0)>97){b=c[r>>2]|0;if(!b){Cc=r;Gc=r;K=563;break}}else{if((b|0)>=97){Ec=r;K=569;break}Dc=r+4|0;b=c[Dc>>2]|0;if(!b){Fc=r;K=567;break}}r=b}if((K|0)==563){c[a>>2]=Gc;Ic=Cc;Hc=Gc;K=570;break}else if((K|0)==567){c[a>>2]=Fc;Ic=Dc;Hc=Fc;K=570;break}else if((K|0)==569){c[a>>2]=Ec;if(!Ec){Ic=a;Hc=Ec;K=570;break}else{Jc=Bc;q=Ec;break}}}while(0);if((K|0)==570){q=YAb(24)|0;c[q+16>>2]=97;c[q+20>>2]=0;c[q>>2]=0;c[q+4>>2]=0;c[q+8>>2]=Hc;c[Ic>>2]=q;b=c[c[He>>2]>>2]|0;if(!b)b=q;else{c[He>>2]=b;b=c[Ic>>2]|0}Fj(c[He+4>>2]|0,b);c[He+8>>2]=(c[He+8>>2]|0)+1;Jc=c[He+4>>2]|0}c[q+20>>2]=44;do if(!Jc){c[a>>2]=He+4;Qc=He+4|0;Pc=He+4|0;K=583}else{q=Jc;while(1){b=c[q+16>>2]|0;if((b|0)>98){b=c[q>>2]|0;if(!b){Kc=q;Oc=q;K=576;break}}else{if((b|0)>=98){Mc=q;K=582;break}Lc=q+4|0;b=c[Lc>>2]|0;if(!b){Nc=q;K=580;break}}q=b}if((K|0)==576){c[a>>2]=Oc;Qc=Kc;Pc=Oc;K=583;break}else if((K|0)==580){c[a>>2]=Nc;Qc=Lc;Pc=Nc;K=583;break}else if((K|0)==582){c[a>>2]=Mc;if(!Mc){Qc=a;Pc=Mc;K=583;break}else{Rc=Jc;p=Mc;break}}}while(0);if((K|0)==583){p=YAb(24)|0;c[p+16>>2]=98;c[p+20>>2]=0;c[p>>2]=0;c[p+4>>2]=0;c[p+8>>2]=Pc;c[Qc>>2]=p;b=c[c[He>>2]>>2]|0;if(!b)b=p;else{c[He>>2]=b;b=c[Qc>>2]|0}Fj(c[He+4>>2]|0,b);c[He+8>>2]=(c[He+8>>2]|0)+1;Rc=c[He+4>>2]|0}c[p+20>>2]=45;do if(!Rc){c[a>>2]=He+4;Yc=He+4|0;Xc=He+4|0;K=596}else{p=Rc;while(1){b=c[p+16>>2]|0;if((b|0)>99){b=c[p>>2]|0;if(!b){Sc=p;Wc=p;K=589;break}}else{if((b|0)>=99){Uc=p;K=595;break}Tc=p+4|0;b=c[Tc>>2]|0;if(!b){Vc=p;K=593;break}}p=b}if((K|0)==589){c[a>>2]=Wc;Yc=Sc;Xc=Wc;K=596;break}else if((K|0)==593){c[a>>2]=Vc;Yc=Tc;Xc=Vc;K=596;break}else if((K|0)==595){c[a>>2]=Uc;if(!Uc){Yc=a;Xc=Uc;K=596;break}else{Zc=Rc;o=Uc;break}}}while(0);if((K|0)==596){o=YAb(24)|0;c[o+16>>2]=99;c[o+20>>2]=0;c[o>>2]=0;c[o+4>>2]=0;c[o+8>>2]=Xc;c[Yc>>2]=o;b=c[c[He>>2]>>2]|0;if(!b)b=o;else{c[He>>2]=b;b=c[Yc>>2]|0}Fj(c[He+4>>2]|0,b);c[He+8>>2]=(c[He+8>>2]|0)+1;Zc=c[He+4>>2]|0}c[o+20>>2]=46;do if(!Zc){c[a>>2]=He+4;ed=He+4|0;dd=He+4|0;K=609}else{o=Zc;while(1){b=c[o+16>>2]|0;if((b|0)>100){b=c[o>>2]|0;if(!b){_c=o;cd=o;K=602;break}}else{if((b|0)>=100){ad=o;K=608;break}$c=o+4|0;b=c[$c>>2]|0;if(!b){bd=o;K=606;break}}o=b}if((K|0)==602){c[a>>2]=cd;ed=_c;dd=cd;K=609;break}else if((K|0)==606){c[a>>2]=bd;ed=$c;dd=bd;K=609;break}else if((K|0)==608){c[a>>2]=ad;if(!ad){ed=a;dd=ad;K=609;break}else{fd=Zc;n=ad;break}}}while(0);if((K|0)==609){n=YAb(24)|0;c[n+16>>2]=100;c[n+20>>2]=0;c[n>>2]=0;c[n+4>>2]=0;c[n+8>>2]=dd;c[ed>>2]=n;b=c[c[He>>2]>>2]|0;if(!b)b=n;else{c[He>>2]=b;b=c[ed>>2]|0}Fj(c[He+4>>2]|0,b);c[He+8>>2]=(c[He+8>>2]|0)+1;fd=c[He+4>>2]|0}c[n+20>>2]=47;do if(!fd){c[a>>2]=He+4;md=He+4|0;ld=He+4|0;K=622}else{n=fd;while(1){b=c[n+16>>2]|0;if((b|0)>101){b=c[n>>2]|0;if(!b){gd=n;kd=n;K=615;break}}else{if((b|0)>=101){id=n;K=621;break}hd=n+4|0;b=c[hd>>2]|0;if(!b){jd=n;K=619;break}}n=b}if((K|0)==615){c[a>>2]=kd;md=gd;ld=kd;K=622;break}else if((K|0)==619){c[a>>2]=jd;md=hd;ld=jd;K=622;break}else if((K|0)==621){c[a>>2]=id;if(!id){md=a;ld=id;K=622;break}else{nd=fd;m=id;break}}}while(0);if((K|0)==622){m=YAb(24)|0;c[m+16>>2]=101;c[m+20>>2]=0;c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=ld;c[md>>2]=m;b=c[c[He>>2]>>2]|0;if(!b)b=m;else{c[He>>2]=b;b=c[md>>2]|0}Fj(c[He+4>>2]|0,b);c[He+8>>2]=(c[He+8>>2]|0)+1;nd=c[He+4>>2]|0}c[m+20>>2]=48;do if(!nd){c[a>>2]=He+4;ud=He+4|0;td=He+4|0;K=635}else{m=nd;while(1){b=c[m+16>>2]|0;if((b|0)>102){b=c[m>>2]|0;if(!b){od=m;sd=m;K=628;break}}else{if((b|0)>=102){qd=m;K=634;break}pd=m+4|0;b=c[pd>>2]|0;if(!b){rd=m;K=632;break}}m=b}if((K|0)==628){c[a>>2]=sd;ud=od;td=sd;K=635;break}else if((K|0)==632){c[a>>2]=rd;ud=pd;td=rd;K=635;break}else if((K|0)==634){c[a>>2]=qd;if(!qd){ud=a;td=qd;K=635;break}else{vd=nd;l=qd;break}}}while(0);if((K|0)==635){l=YAb(24)|0;c[l+16>>2]=102;c[l+20>>2]=0;c[l>>2]=0;c[l+4>>2]=0;c[l+8>>2]=td;c[ud>>2]=l;b=c[c[He>>2]>>2]|0;if(!b)b=l;else{c[He>>2]=b;b=c[ud>>2]|0}Fj(c[He+4>>2]|0,b);c[He+8>>2]=(c[He+8>>2]|0)+1;vd=c[He+4>>2]|0}c[l+20>>2]=49;do if(!vd){c[a>>2]=He+4;Cd=He+4|0;Bd=He+4|0;K=648}else{l=vd;while(1){b=c[l+16>>2]|0;if((b|0)>103){b=c[l>>2]|0;if(!b){wd=l;Ad=l;K=641;break}}else{if((b|0)>=103){yd=l;K=647;break}xd=l+4|0;b=c[xd>>2]|0;if(!b){zd=l;K=645;break}}l=b}if((K|0)==641){c[a>>2]=Ad;Cd=wd;Bd=Ad;K=648;break}else if((K|0)==645){c[a>>2]=zd;Cd=xd;Bd=zd;K=648;break}else if((K|0)==647){c[a>>2]=yd;if(!yd){Cd=a;Bd=yd;K=648;break}else{Dd=vd;k=yd;break}}}while(0);if((K|0)==648){k=YAb(24)|0;c[k+16>>2]=103;c[k+20>>2]=0;c[k>>2]=0;c[k+4>>2]=0;c[k+8>>2]=Bd;c[Cd>>2]=k;b=c[c[He>>2]>>2]|0;if(!b)b=k;else{c[He>>2]=b;b=c[Cd>>2]|0}Fj(c[He+4>>2]|0,b);c[He+8>>2]=(c[He+8>>2]|0)+1;Dd=c[He+4>>2]|0}c[k+20>>2]=50;do if(!Dd){c[a>>2]=He+4;Kd=He+4|0;Jd=He+4|0;K=661}else{k=Dd;while(1){b=c[k+16>>2]|0;if((b|0)>104){b=c[k>>2]|0;if(!b){Ed=k;Id=k;K=654;break}}else{if((b|0)>=104){Gd=k;K=660;break}Fd=k+4|0;b=c[Fd>>2]|0;if(!b){Hd=k;K=658;break}}k=b}if((K|0)==654){c[a>>2]=Id;Kd=Ed;Jd=Id;K=661;break}else if((K|0)==658){c[a>>2]=Hd;Kd=Fd;Jd=Hd;K=661;break}else if((K|0)==660){c[a>>2]=Gd;if(!Gd){Kd=a;Jd=Gd;K=661;break}else{Ld=Dd;j=Gd;break}}}while(0);if((K|0)==661){j=YAb(24)|0;c[j+16>>2]=104;c[j+20>>2]=0;c[j>>2]=0;c[j+4>>2]=0;c[j+8>>2]=Jd;c[Kd>>2]=j;b=c[c[He>>2]>>2]|0;if(!b)b=j;else{c[He>>2]=b;b=c[Kd>>2]|0}Fj(c[He+4>>2]|0,b);c[He+8>>2]=(c[He+8>>2]|0)+1;Ld=c[He+4>>2]|0}c[j+20>>2]=51;do if(!Ld){c[a>>2]=He+4;Sd=He+4|0;Rd=He+4|0;K=674}else{j=Ld;while(1){b=c[j+16>>2]|0;if((b|0)>105){b=c[j>>2]|0;if(!b){Md=j;Qd=j;K=667;break}}else{if((b|0)>=105){Od=j;K=673;break}Nd=j+4|0;b=c[Nd>>2]|0;if(!b){Pd=j;K=671;break}}j=b}if((K|0)==667){c[a>>2]=Qd;Sd=Md;Rd=Qd;K=674;break}else if((K|0)==671){c[a>>2]=Pd;Sd=Nd;Rd=Pd;K=674;break}else if((K|0)==673){c[a>>2]=Od;if(!Od){Sd=a;Rd=Od;K=674;break}else{Td=Ld;i=Od;break}}}while(0);if((K|0)==674){i=YAb(24)|0;c[i+16>>2]=105;c[i+20>>2]=0;c[i>>2]=0;c[i+4>>2]=0;c[i+8>>2]=Rd;c[Sd>>2]=i;b=c[c[He>>2]>>2]|0;if(!b)b=i;else{c[He>>2]=b;b=c[Sd>>2]|0}Fj(c[He+4>>2]|0,b);c[He+8>>2]=(c[He+8>>2]|0)+1;Td=c[He+4>>2]|0}c[i+20>>2]=52;do if(!Td){c[a>>2]=He+4;_d=He+4|0;Zd=He+4|0;K=687}else{i=Td;while(1){b=c[i+16>>2]|0;if((b|0)>106){b=c[i>>2]|0;if(!b){Ud=i;Yd=i;K=680;break}}else{if((b|0)>=106){Wd=i;K=686;break}Vd=i+4|0;b=c[Vd>>2]|0;if(!b){Xd=i;K=684;break}}i=b}if((K|0)==680){c[a>>2]=Yd;_d=Ud;Zd=Yd;K=687;break}else if((K|0)==684){c[a>>2]=Xd;_d=Vd;Zd=Xd;K=687;break}else if((K|0)==686){c[a>>2]=Wd;if(!Wd){_d=a;Zd=Wd;K=687;break}else{$d=Td;h=Wd;break}}}while(0);if((K|0)==687){h=YAb(24)|0;c[h+16>>2]=106;c[h+20>>2]=0;c[h>>2]=0;c[h+4>>2]=0;c[h+8>>2]=Zd;c[_d>>2]=h;b=c[c[He>>2]>>2]|0;if(!b)b=h;else{c[He>>2]=b;b=c[_d>>2]|0}Fj(c[He+4>>2]|0,b);c[He+8>>2]=(c[He+8>>2]|0)+1;$d=c[He+4>>2]|0}c[h+20>>2]=53;do if(!$d){c[a>>2]=He+4;ge=He+4|0;fe=He+4|0;K=700}else{h=$d;while(1){b=c[h+16>>2]|0;if((b|0)>107){b=c[h>>2]|0;if(!b){ae=h;ee=h;K=693;break}}else{if((b|0)>=107){ce=h;K=699;break}be=h+4|0;b=c[be>>2]|0;if(!b){de=h;K=697;break}}h=b}if((K|0)==693){c[a>>2]=ee;ge=ae;fe=ee;K=700;break}else if((K|0)==697){c[a>>2]=de;ge=be;fe=de;K=700;break}else if((K|0)==699){c[a>>2]=ce;if(!ce){ge=a;fe=ce;K=700;break}else{he=$d;g=ce;break}}}while(0);if((K|0)==700){g=YAb(24)|0;c[g+16>>2]=107;c[g+20>>2]=0;c[g>>2]=0;c[g+4>>2]=0;c[g+8>>2]=fe;c[ge>>2]=g;b=c[c[He>>2]>>2]|0;if(!b)b=g;else{c[He>>2]=b;b=c[ge>>2]|0}Fj(c[He+4>>2]|0,b);c[He+8>>2]=(c[He+8>>2]|0)+1;he=c[He+4>>2]|0}c[g+20>>2]=54;do if(!he){c[a>>2]=He+4;oe=He+4|0;ne=He+4|0;K=713}else{g=he;while(1){b=c[g+16>>2]|0;if((b|0)>108){b=c[g>>2]|0;if(!b){ie=g;me=g;K=706;break}}else{if((b|0)>=108){ke=g;K=712;break}je=g+4|0;b=c[je>>2]|0;if(!b){le=g;K=710;break}}g=b}if((K|0)==706){c[a>>2]=me;oe=ie;ne=me;K=713;break}else if((K|0)==710){c[a>>2]=le;oe=je;ne=le;K=713;break}else if((K|0)==712){c[a>>2]=ke;if(!ke){oe=a;ne=ke;K=713;break}else{pe=he;f=ke;break}}}while(0);if((K|0)==713){f=YAb(24)|0;c[f+16>>2]=108;c[f+20>>2]=0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=ne;c[oe>>2]=f;b=c[c[He>>2]>>2]|0;if(!b)b=f;else{c[He>>2]=b;b=c[oe>>2]|0}Fj(c[He+4>>2]|0,b);c[He+8>>2]=(c[He+8>>2]|0)+1;pe=c[He+4>>2]|0}c[f+20>>2]=55;do if(!pe){c[a>>2]=He+4;we=He+4|0;ve=He+4|0;K=726}else{f=pe;while(1){b=c[f+16>>2]|0;if((b|0)>109){b=c[f>>2]|0;if(!b){qe=f;ue=f;K=719;break}}else{if((b|0)>=109){se=f;K=725;break}re=f+4|0;b=c[re>>2]|0;if(!b){te=f;K=723;break}}f=b}if((K|0)==719){c[a>>2]=ue;we=qe;ve=ue;K=726;break}else if((K|0)==723){c[a>>2]=te;we=re;ve=te;K=726;break}else if((K|0)==725){c[a>>2]=se;if(!se){we=a;ve=se;K=726;break}else{xe=pe;e=se;break}}}while(0);if((K|0)==726){e=YAb(24)|0;c[e+16>>2]=109;c[e+20>>2]=0;c[e>>2]=0;c[e+4>>2]=0;c[e+8>>2]=ve;c[we>>2]=e;b=c[c[He>>2]>>2]|0;if(!b)b=e;else{c[He>>2]=b;b=c[we>>2]|0}Fj(c[He+4>>2]|0,b);c[He+8>>2]=(c[He+8>>2]|0)+1;xe=c[He+4>>2]|0}c[e+20>>2]=56;do if(!xe){c[a>>2]=He+4;Ge=He+4|0;De=He+4|0;K=739}else{e=xe;while(1){b=c[e+16>>2]|0;if((b|0)>110){b=c[e>>2]|0;if(!b){ye=e;Ce=e;K=732;break}}else{if((b|0)>=110){Ae=e;K=738;break}ze=e+4|0;b=c[ze>>2]|0;if(!b){Be=e;K=736;break}}e=b}if((K|0)==732){c[a>>2]=Ce;Ge=ye;De=Ce;K=739;break}else if((K|0)==736){c[a>>2]=Be;Ge=ze;De=Be;K=739;break}else if((K|0)==738){c[a>>2]=Ae;if(!Ae){Ge=a;De=Ae;K=739;break}else{Ee=xe;d=Ae;break}}}while(0);if((K|0)==739){d=YAb(24)|0;c[d+16>>2]=110;c[d+20>>2]=0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=De;c[Ge>>2]=d;b=c[c[He>>2]>>2]|0;if(!b)b=d;else{c[He>>2]=b;b=c[Ge>>2]|0}Fj(c[He+4>>2]|0,b);c[He+8>>2]=(c[He+8>>2]|0)+1;Ee=c[He+4>>2]|0}c[d+20>>2]=57;c[a+6624>>2]=Ee;c[a+17672>>2]=Fe;c[a+25520>>2]=L;c[a+25904>>2]=K} -function Edb(a,b,e,f,g,h,i,j,k,l,m){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;C=c[a+4>>2]|0;if((h+-1|0)>>>0<2){n=l&255;B=((_(l&255,k&255)|0)>>>0)/255|0;A=((_(l&255,j&255)|0)>>>0)/255|0;z=((_(l&255,i&255)|0)>>>0)/255|0}else{n=l&255;B=k&255;A=j&255;z=i&255}y=n^255;if((g|0)==(e|0))switch(h|0){case 1:{k=(c[a+20>>2]|0)+((_((c[a+16>>2]|0)/(d[C+9>>0]|0|0)|0,g)|0)<<2)|0;if((f|0)<(b|0)){j=b-f+((m|0)!=0&1)|0;k=m|0?k+(f<<2)|0:k+(f<<2)+4|0}else{j=f-b+((m|0)!=0&1)|0;k=k+(b<<2)|0}if(!j)return;l=c[C+32>>2]|0;i=c[C+28>>2]|0;n=c[124356+((i&255)<<2)>>2]|0;h=c[124356+((i>>>8&255)<<2)>>2]|0;g=c[124356+((i>>>16&255)<<2)>>2]|0;while(1){j=j+-1|0;e=c[k>>2]|0;b=((((_(d[h+((c[C+16>>2]&e)>>>(l>>>8&255))>>0]|0,y)|0)>>>0)/255|0)+A|0)>>>(i>>>8&255)<<(l>>>8&255)|((((_(d[n+((c[C+12>>2]&e)>>>(l&255))>>0]|0,y)|0)>>>0)/255|0)+z|0)>>>(i&255)<<(l&255);e=((((_(d[g+((c[C+20>>2]&e)>>>(l>>>16&255))>>0]|0,y)|0)>>>0)/255|0)+B|0)>>>(i>>>16&255)<<(l>>>16&255);c[k>>2]=b|c[C+24>>2]|e;if(!j)break;else k=k+4|0}return}case 2:{k=(c[a+20>>2]|0)+((_((c[a+16>>2]|0)/(d[C+9>>0]|0|0)|0,g)|0)<<2)|0;if((f|0)<(b|0)){j=b-f+((m|0)!=0&1)|0;k=m|0?k+(f<<2)|0:k+(f<<2)+4|0}else{j=f-b+((m|0)!=0&1)|0;k=k+(b<<2)|0}if(!j)return;l=c[C+32>>2]|0;i=c[C+28>>2]|0;n=c[124356+((i&255)<<2)>>2]|0;h=c[124356+((i>>>8&255)<<2)>>2]|0;g=c[124356+((i>>>16&255)<<2)>>2]|0;while(1){j=j+-1|0;e=c[k>>2]|0;b=(d[n+((c[C+12>>2]&e)>>>(l&255))>>0]|0)+z|0;a=(d[h+((c[C+16>>2]&e)>>>(l>>>8&255))>>0]|0)+A|0;e=(d[g+((c[C+20>>2]&e)>>>(l>>>16&255))>>0]|0)+B|0;c[k>>2]=(a>>>0>255?255:a)>>>(i>>>8&255)<<(l>>>8&255)|(b>>>0>255?255:b)>>>(i&255)<<(l&255)|c[C+24>>2]|(e>>>0>255?255:e)>>>(i>>>16&255)<<(l>>>16&255);if(!j)break;else k=k+4|0}return}case 4:{k=(c[a+20>>2]|0)+((_((c[a+16>>2]|0)/(d[C+9>>0]|0|0)|0,g)|0)<<2)|0;if((f|0)<(b|0)){j=b-f+((m|0)!=0&1)|0;k=m|0?k+(f<<2)|0:k+(f<<2)+4|0}else{j=f-b+((m|0)!=0&1)|0;k=k+(b<<2)|0}if(!j)return;l=c[C+32>>2]|0;i=c[C+28>>2]|0;n=c[124356+((i&255)<<2)>>2]|0;h=c[124356+((i>>>8&255)<<2)>>2]|0;g=c[124356+((i>>>16&255)<<2)>>2]|0;while(1){j=j+-1|0;e=c[k>>2]|0;b=(((_(d[h+((c[C+16>>2]&e)>>>(l>>>8&255))>>0]|0,A)|0)>>>0)/255|0)>>>(i>>>8&255)<<(l>>>8&255)|(((_(d[n+((c[C+12>>2]&e)>>>(l&255))>>0]|0,z)|0)>>>0)/255|0)>>>(i&255)<<(l&255);e=(((_(d[g+((c[C+20>>2]&e)>>>(l>>>16&255))>>0]|0,B)|0)>>>0)/255|0)>>>(i>>>16&255)<<(l>>>16&255);c[k>>2]=b|c[C+24>>2]|e;if(!j)break;else k=k+4|0}return}default:{k=(c[a+20>>2]|0)+((_((c[a+16>>2]|0)/(d[C+9>>0]|0|0)|0,g)|0)<<2)|0;if((f|0)<(b|0)){j=b-f+((m|0)!=0&1)|0;k=m|0?k+(f<<2)|0:k+(f<<2)+4|0}else{j=f-b+((m|0)!=0&1)|0;k=k+(b<<2)|0}if(!j)return;e=c[C+28>>2]|0;l=c[C+32>>2]|0;i=A>>>(e>>>8&255)<<(l>>>8&255)|z>>>(e&255)<<(l&255);l=B>>>(e>>>16&255)<<(l>>>16&255);while(1){j=j+-1|0;c[k>>2]=i|c[C+24>>2]|l;if(!j)break;else k=k+4|0}return}}if((f|0)==(b|0))switch(h|0){case 1:{o=(c[a+16>>2]|0)/(d[C+9>>0]|0|0)|0;k=c[a+20>>2]|0;if((g|0)<(e|0)){k=k+((_(o,g)|0)<<2)+(f<<2)|0;j=e-g+((m|0)!=0&1)|0;k=m|0?k:k+(o<<2)|0}else{j=g-e+((m|0)!=0&1)|0;k=k+((_(o,e)|0)<<2)+(f<<2)|0}if(!j)return;l=c[C+32>>2]|0;i=c[C+28>>2]|0;n=c[124356+((i&255)<<2)>>2]|0;h=c[124356+((i>>>8&255)<<2)>>2]|0;g=c[124356+((i>>>16&255)<<2)>>2]|0;while(1){j=j+-1|0;e=c[k>>2]|0;b=((((_(d[h+((c[C+16>>2]&e)>>>(l>>>8&255))>>0]|0,y)|0)>>>0)/255|0)+A|0)>>>(i>>>8&255)<<(l>>>8&255)|((((_(d[n+((c[C+12>>2]&e)>>>(l&255))>>0]|0,y)|0)>>>0)/255|0)+z|0)>>>(i&255)<<(l&255);e=((((_(d[g+((c[C+20>>2]&e)>>>(l>>>16&255))>>0]|0,y)|0)>>>0)/255|0)+B|0)>>>(i>>>16&255)<<(l>>>16&255);c[k>>2]=b|c[C+24>>2]|e;if(!j)break;else k=k+(o<<2)|0}return}case 2:{o=(c[a+16>>2]|0)/(d[C+9>>0]|0|0)|0;k=c[a+20>>2]|0;if((g|0)<(e|0)){k=k+((_(o,g)|0)<<2)+(f<<2)|0;j=e-g+((m|0)!=0&1)|0;k=m|0?k:k+(o<<2)|0}else{j=g-e+((m|0)!=0&1)|0;k=k+((_(o,e)|0)<<2)+(f<<2)|0}if(!j)return;l=c[C+32>>2]|0;i=c[C+28>>2]|0;n=c[124356+((i&255)<<2)>>2]|0;h=c[124356+((i>>>8&255)<<2)>>2]|0;g=c[124356+((i>>>16&255)<<2)>>2]|0;while(1){j=j+-1|0;e=c[k>>2]|0;b=(d[n+((c[C+12>>2]&e)>>>(l&255))>>0]|0)+z|0;a=(d[h+((c[C+16>>2]&e)>>>(l>>>8&255))>>0]|0)+A|0;e=(d[g+((c[C+20>>2]&e)>>>(l>>>16&255))>>0]|0)+B|0;c[k>>2]=(a>>>0>255?255:a)>>>(i>>>8&255)<<(l>>>8&255)|(b>>>0>255?255:b)>>>(i&255)<<(l&255)|c[C+24>>2]|(e>>>0>255?255:e)>>>(i>>>16&255)<<(l>>>16&255);if(!j)break;else k=k+(o<<2)|0}return}case 4:{o=(c[a+16>>2]|0)/(d[C+9>>0]|0|0)|0;k=c[a+20>>2]|0;if((g|0)<(e|0)){k=k+((_(o,g)|0)<<2)+(f<<2)|0;j=e-g+((m|0)!=0&1)|0;k=m|0?k:k+(o<<2)|0}else{j=g-e+((m|0)!=0&1)|0;k=k+((_(o,e)|0)<<2)+(f<<2)|0}if(!j)return;l=c[C+32>>2]|0;i=c[C+28>>2]|0;n=c[124356+((i&255)<<2)>>2]|0;h=c[124356+((i>>>8&255)<<2)>>2]|0;g=c[124356+((i>>>16&255)<<2)>>2]|0;while(1){j=j+-1|0;e=c[k>>2]|0;b=(((_(d[h+((c[C+16>>2]&e)>>>(l>>>8&255))>>0]|0,A)|0)>>>0)/255|0)>>>(i>>>8&255)<<(l>>>8&255)|(((_(d[n+((c[C+12>>2]&e)>>>(l&255))>>0]|0,z)|0)>>>0)/255|0)>>>(i&255)<<(l&255);e=(((_(d[g+((c[C+20>>2]&e)>>>(l>>>16&255))>>0]|0,B)|0)>>>0)/255|0)>>>(i>>>16&255)<<(l>>>16&255);c[k>>2]=b|c[C+24>>2]|e;if(!j)break;else k=k+(o<<2)|0}return}default:{n=(c[a+16>>2]|0)/(d[C+9>>0]|0|0)|0;k=c[a+20>>2]|0;if((g|0)<(e|0)){k=k+((_(n,g)|0)<<2)+(f<<2)|0;j=e-g+((m|0)!=0&1)|0;k=m|0?k:k+(n<<2)|0}else{j=g-e+((m|0)!=0&1)|0;k=k+((_(n,e)|0)<<2)+(f<<2)|0}if(!j)return;e=c[C+28>>2]|0;l=c[C+32>>2]|0;i=A>>>(e>>>8&255)<<(l>>>8&255)|z>>>(e&255)<<(l&255);l=B>>>(e>>>16&255)<<(l>>>16&255);while(1){j=j+-1|0;c[k>>2]=i|c[C+24>>2]|l;if(!j)break;else k=k+(n<<2)|0}return}}if((((b-f|0)<0?0-(b-f)|0:b-f|0)|0)==(((e-g|0)<0?0-(e-g)|0:e-g|0)|0))switch(h|0){case 1:{j=(c[a+16>>2]|0)/(d[C+9>>0]|0|0)|0;k=c[a+20>>2]|0;if((g|0)<(e|0)){a=k+((_(j,g)|0)<<2)+(f<<2)|0;j=j+((f|0)>(b|0)?-1:1)|0;k=e-g|0;o=j;j=(m|0)==0?a+(j<<2)|0:a}else{a=k+((_(j,e)|0)<<2)+(b<<2)|0;k=g-e|0;o=j+((f|0)<(b|0)?-1:1)|0;j=a}k=k+((m|0)!=0&1)|0;if(!k)return;l=c[C+32>>2]|0;i=c[C+28>>2]|0;n=c[124356+((i&255)<<2)>>2]|0;h=c[124356+((i>>>8&255)<<2)>>2]|0;g=c[124356+((i>>>16&255)<<2)>>2]|0;while(1){k=k+-1|0;e=c[j>>2]|0;b=((((_(d[h+((c[C+16>>2]&e)>>>(l>>>8&255))>>0]|0,y)|0)>>>0)/255|0)+A|0)>>>(i>>>8&255)<<(l>>>8&255)|((((_(d[n+((c[C+12>>2]&e)>>>(l&255))>>0]|0,y)|0)>>>0)/255|0)+z|0)>>>(i&255)<<(l&255);e=((((_(d[g+((c[C+20>>2]&e)>>>(l>>>16&255))>>0]|0,y)|0)>>>0)/255|0)+B|0)>>>(i>>>16&255)<<(l>>>16&255);c[j>>2]=b|c[C+24>>2]|e;if(!k)break;else j=j+(o<<2)|0}return}case 2:{j=(c[a+16>>2]|0)/(d[C+9>>0]|0|0)|0;k=c[a+20>>2]|0;if((g|0)<(e|0)){a=k+((_(j,g)|0)<<2)+(f<<2)|0;j=j+((f|0)>(b|0)?-1:1)|0;k=e-g|0;o=j;j=(m|0)==0?a+(j<<2)|0:a}else{a=k+((_(j,e)|0)<<2)+(b<<2)|0;k=g-e|0;o=j+((f|0)<(b|0)?-1:1)|0;j=a}k=k+((m|0)!=0&1)|0;if(!k)return;l=c[C+32>>2]|0;i=c[C+28>>2]|0;n=c[124356+((i&255)<<2)>>2]|0;h=c[124356+((i>>>8&255)<<2)>>2]|0;g=c[124356+((i>>>16&255)<<2)>>2]|0;while(1){k=k+-1|0;e=c[j>>2]|0;b=(d[n+((c[C+12>>2]&e)>>>(l&255))>>0]|0)+z|0;a=(d[h+((c[C+16>>2]&e)>>>(l>>>8&255))>>0]|0)+A|0;e=(d[g+((c[C+20>>2]&e)>>>(l>>>16&255))>>0]|0)+B|0;c[j>>2]=(a>>>0>255?255:a)>>>(i>>>8&255)<<(l>>>8&255)|(b>>>0>255?255:b)>>>(i&255)<<(l&255)|c[C+24>>2]|(e>>>0>255?255:e)>>>(i>>>16&255)<<(l>>>16&255);if(!k)break;else j=j+(o<<2)|0}return}case 4:{j=(c[a+16>>2]|0)/(d[C+9>>0]|0|0)|0;k=c[a+20>>2]|0;if((g|0)<(e|0)){a=k+((_(j,g)|0)<<2)+(f<<2)|0;j=j+((f|0)>(b|0)?-1:1)|0;k=e-g|0;o=j;j=(m|0)==0?a+(j<<2)|0:a}else{a=k+((_(j,e)|0)<<2)+(b<<2)|0;k=g-e|0;o=j+((f|0)<(b|0)?-1:1)|0;j=a}k=k+((m|0)!=0&1)|0;if(!k)return;l=c[C+32>>2]|0;i=c[C+28>>2]|0;n=c[124356+((i&255)<<2)>>2]|0;h=c[124356+((i>>>8&255)<<2)>>2]|0;g=c[124356+((i>>>16&255)<<2)>>2]|0;while(1){k=k+-1|0;e=c[j>>2]|0;b=(((_(d[h+((c[C+16>>2]&e)>>>(l>>>8&255))>>0]|0,A)|0)>>>0)/255|0)>>>(i>>>8&255)<<(l>>>8&255)|(((_(d[n+((c[C+12>>2]&e)>>>(l&255))>>0]|0,z)|0)>>>0)/255|0)>>>(i&255)<<(l&255);e=(((_(d[g+((c[C+20>>2]&e)>>>(l>>>16&255))>>0]|0,B)|0)>>>0)/255|0)>>>(i>>>16&255)<<(l>>>16&255);c[j>>2]=b|c[C+24>>2]|e;if(!k)break;else j=j+(o<<2)|0}return}default:{l=(c[a+16>>2]|0)/(d[C+9>>0]|0|0)|0;k=c[a+20>>2]|0;if((g|0)<(e|0)){k=k+((_(l,g)|0)<<2)+(f<<2)|0;b=l+((f|0)>(b|0)?-1:1)|0;j=e-g|0;n=b;k=(m|0)==0?k+(b<<2)|0:k}else{k=k+((_(l,e)|0)<<2)+(b<<2)|0;j=g-e|0;n=l+((f|0)<(b|0)?-1:1)|0}j=j+((m|0)!=0&1)|0;if(!j)return;e=c[C+28>>2]|0;l=c[C+32>>2]|0;i=A>>>(e>>>8&255)<<(l>>>8&255)|z>>>(e&255)<<(l&255);l=B>>>(e>>>16&255)<<(l>>>16&255);while(1){j=j+-1|0;c[k>>2]=i|c[C+24>>2]|l;if(!j)break;else k=k+(n<<2)|0}return}}else switch(h|0){case 1:{k=(f-b|0)<0?0-(f-b)|0:f-b|0;j=(g-e|0)<0?0-(g-e)|0:g-e|0;if((k|0)<(j|0)){n=(k<<1)-j|0;x=k<<1;l=k-j|0;k=j;j=0;i=1}else{n=(j<<1)-k|0;x=j<<1;l=j-k|0;j=1;i=0}w=l<<1;v=(f|0)<(b|0)?0-j|0:j;u=(f|0)<(b|0)?-1:1;t=(g|0)<(e|0)?0-i|0:i;s=(g|0)<(e|0)?-1:1;r=k+((m|0)!=0&1)|0;if((r|0)<=0)return;h=c[a+20>>2]|0;g=c[C+32>>2]|0;o=c[C+28>>2]|0;f=c[124356+((o&255)<<2)>>2]|0;p=c[124356+((o>>>8&255)<<2)>>2]|0;q=c[124356+((o>>>16&255)<<2)>>2]|0;i=n;n=0;l=b;j=e;while(1){k=h+(_(c[a+16>>2]|0,j)|0)+(l<<2)|0;e=c[k>>2]|0;b=((((_(d[p+((c[C+16>>2]&e)>>>(g>>>8&255))>>0]|0,y)|0)>>>0)/255|0)+A|0)>>>(o>>>8&255)<<(g>>>8&255)|((((_(d[f+((c[C+12>>2]&e)>>>(g&255))>>0]|0,y)|0)>>>0)/255|0)+z|0)>>>(o&255)<<(g&255);e=((((_(d[q+((c[C+20>>2]&e)>>>(g>>>16&255))>>0]|0,y)|0)>>>0)/255|0)+B|0)>>>(o>>>16&255)<<(g>>>16&255);c[k>>2]=b|c[C+24>>2]|e;k=(i|0)<0;n=n+1|0;if((n|0)>=(r|0))break;else{i=(k?x:w)+i|0;l=(k?v:u)+l|0;j=j+(k?t:s)|0}}return}case 2:{k=(f-b|0)<0?0-(f-b)|0:f-b|0;j=(g-e|0)<0?0-(g-e)|0:g-e|0;if((k|0)<(j|0)){n=(k<<1)-j|0;x=k<<1;l=k-j|0;k=j;j=0;i=1}else{n=(j<<1)-k|0;x=j<<1;l=j-k|0;j=1;i=0}w=l<<1;v=(f|0)<(b|0)?0-j|0:j;u=(f|0)<(b|0)?-1:1;t=(g|0)<(e|0)?0-i|0:i;s=(g|0)<(e|0)?-1:1;r=k+((m|0)!=0&1)|0;if((r|0)<=0)return;h=c[a+20>>2]|0;g=c[C+32>>2]|0;o=c[C+28>>2]|0;f=c[124356+((o&255)<<2)>>2]|0;p=c[124356+((o>>>8&255)<<2)>>2]|0;q=c[124356+((o>>>16&255)<<2)>>2]|0;i=n;n=0;l=b;j=e;while(1){k=h+(_(c[a+16>>2]|0,j)|0)+(l<<2)|0;e=c[k>>2]|0;b=(d[f+((c[C+12>>2]&e)>>>(g&255))>>0]|0)+z|0;m=(d[p+((c[C+16>>2]&e)>>>(g>>>8&255))>>0]|0)+A|0;e=(d[q+((c[C+20>>2]&e)>>>(g>>>16&255))>>0]|0)+B|0;c[k>>2]=(m>>>0>255?255:m)>>>(o>>>8&255)<<(g>>>8&255)|(b>>>0>255?255:b)>>>(o&255)<<(g&255)|c[C+24>>2]|(e>>>0>255?255:e)>>>(o>>>16&255)<<(g>>>16&255);k=(i|0)<0;n=n+1|0;if((n|0)>=(r|0))break;else{i=(k?x:w)+i|0;l=(k?v:u)+l|0;j=j+(k?t:s)|0}}return}case 4:{k=(f-b|0)<0?0-(f-b)|0:f-b|0;j=(g-e|0)<0?0-(g-e)|0:g-e|0;if((k|0)<(j|0)){n=(k<<1)-j|0;x=k<<1;l=k-j|0;k=j;j=0;i=1}else{n=(j<<1)-k|0;x=j<<1;l=j-k|0;j=1;i=0}w=l<<1;v=(f|0)<(b|0)?0-j|0:j;u=(f|0)<(b|0)?-1:1;t=(g|0)<(e|0)?0-i|0:i;s=(g|0)<(e|0)?-1:1;r=k+((m|0)!=0&1)|0;if((r|0)<=0)return;h=c[a+20>>2]|0;g=c[C+32>>2]|0;o=c[C+28>>2]|0;f=c[124356+((o&255)<<2)>>2]|0;p=c[124356+((o>>>8&255)<<2)>>2]|0;q=c[124356+((o>>>16&255)<<2)>>2]|0;i=n;n=0;l=b;j=e;while(1){k=h+(_(c[a+16>>2]|0,j)|0)+(l<<2)|0;e=c[k>>2]|0;b=(((_(d[p+((c[C+16>>2]&e)>>>(g>>>8&255))>>0]|0,A)|0)>>>0)/255|0)>>>(o>>>8&255)<<(g>>>8&255)|(((_(d[f+((c[C+12>>2]&e)>>>(g&255))>>0]|0,z)|0)>>>0)/255|0)>>>(o&255)<<(g&255);e=(((_(d[q+((c[C+20>>2]&e)>>>(g>>>16&255))>>0]|0,B)|0)>>>0)/255|0)>>>(o>>>16&255)<<(g>>>16&255);c[k>>2]=b|c[C+24>>2]|e;k=(i|0)<0;n=n+1|0;if((n|0)>=(r|0))break;else{i=(k?x:w)+i|0;l=(k?v:u)+l|0;j=j+(k?t:s)|0}}return}default:{k=(f-b|0)<0?0-(f-b)|0:f-b|0;j=(g-e|0)<0?0-(g-e)|0:g-e|0;if((k|0)<(j|0)){i=(k<<1)-j|0;u=k<<1;l=k-j|0;k=j;j=0;n=1}else{i=(j<<1)-k|0;u=j<<1;l=j-k|0;j=1;n=0}t=l<<1;s=(f|0)<(b|0)?0-j|0:j;r=(f|0)<(b|0)?-1:1;q=(g|0)<(e|0)?0-n|0:n;p=(g|0)<(e|0)?-1:1;f=k+((m|0)!=0&1)|0;if((f|0)<=0)return;o=c[a+20>>2]|0;n=c[C+28>>2]|0;h=c[C+32>>2]|0;g=A>>>(n>>>8&255)<<(h>>>8&255)|z>>>(n&255)<<(h&255);h=B>>>(n>>>16&255)<<(h>>>16&255);n=0;l=b;j=e;while(1){k=o+(_(c[a+16>>2]|0,j)|0)+(l<<2)|0;c[k>>2]=g|c[C+24>>2]|h;k=(i|0)<0;n=n+1|0;if((n|0)>=(f|0))break;else{i=(k?u:t)+i|0;l=(k?s:r)+l|0;j=j+(k?q:p)|0}}return}}}function Fdb(b,d,e,f,g,h,j,k){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0;p=i;i=i+16|0;if(!b){e=l6a(601117,p)|0;i=p;return e|0}n=c[b+4>>2]|0;o=a[n+8>>0]|0;if((o&255)<8){e=l6a(601038,p+8|0)|0;i=p;return e|0}m=c[b+36>>2]|0;if((m|0)>(d|0)){e=0;i=p;return e|0}l=c[b+40>>2]|0;if((l|0)>(e|0)){e=0;i=p;return e|0}if(((c[b+44>>2]|0)+m|0)<=(d|0)){e=0;i=p;return e|0}if(((c[b+48>>2]|0)+l|0)<=(e|0)){e=0;i=p;return e|0}if((f+-1|0)>>>0<2){j=(((_(k&255,j&255)|0)>>>0)/255|0)&255;h=(((_(k&255,h&255)|0)>>>0)/255|0)&255;g=(((_(k&255,g&255)|0)>>>0)/255|0)&255}switch(o&255|0){case 15:{if((c[n+12>>2]|0)==31744){ndb(b,d,e,f,g,h,j,k)|0;e=0;i=p;return e|0}break}case 16:{if((c[n+12>>2]|0)==63488){odb(b,d,e,f,g,h,j,k)|0;e=0;i=p;return e|0}break}case 32:{if((c[n+12>>2]|0)==16711680)if(!(c[n+24>>2]|0)){jdb(b,d,e,f,g,h,j,k)|0;e=0;i=p;return e|0}else{kdb(b,d,e,f,g,h,j,k)|0;e=0;i=p;return e|0}break}default:{}}if(!(c[n+24>>2]|0)){e=ldb(b,d,e,f,g,h,j,k)|0;i=p;return e|0}else{e=mdb(b,d,e,f,g,h,j,k)|0;i=p;return e|0}return 0}function Gdb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0,j=0.0,k=0,l=0,m=0;m=i;f=c[a+316>>2]|0;e=c[f>>2]|0;if(!e){e=c[f+4>>2]|0;c[f>>2]=e;if(!e){e=Fcb(c[a+188>>2]|0)|0;do if(e|0){c[f+4>>2]=e;c[f>>2]=e;e=c[c[a+316>>2]>>2]|0;if(e|0){Rcb(e,a+212|0)|0;e=c[c[a+316>>2]>>2]|0;if(e|0)if(!(c[a+276>>2]|0)){Rcb(e,0)|0;break}else{Rcb(e,a+244|0)|0;break}}}while(0);e=c[f>>2]|0}if(!e){d=-1;i=m;return d|0}}k=i;i=i+((1*(d<<4)|0)+15&-16)|0;h=c[a+212>>2]|0;if(!h)if(!(c[a+216>>2]|0)){if((d|0)>0){f=0;do{c[k+(f<<4)>>2]=~~+g[b+(f<<4)>>2];c[k+(f<<4)+4>>2]=~~+g[b+(f<<4)+4>>2];h=~~+g[b+(f<<4)+8>>2];c[k+(f<<4)+8>>2]=(h|0)>1?h:1;h=~~+g[b+(f<<4)+12>>2];c[k+(f<<4)+12>>2]=(h|0)>1?h:1;f=f+1|0}while((f|0)!=(d|0))}}else l=14;else l=14;if((l|0)==14)if((d|0)>0){j=+(c[a+216>>2]|0);f=0;do{c[k+(f<<4)>>2]=~~(+(h|0)+ +g[b+(f<<4)>>2]);c[k+(f<<4)+4>>2]=~~(j+ +g[b+(f<<4)+4>>2]);l=~~+g[b+(f<<4)+8>>2];c[k+(f<<4)+8>>2]=(l|0)>1?l:1;l=~~+g[b+(f<<4)+12>>2];c[k+(f<<4)+12>>2]=(l|0)>1?l:1;f=f+1|0}while((f|0)!=(d|0))}h=c[a+312>>2]|0;f=c[a+308>>2]|0;if(!h){d=Hdb(e,k,d,fdb(c[e+4>>2]|0,f&255,(f&65535)>>>8&255,f>>>16&255,f>>>24&255)|0)|0;i=m;return d|0}else{d=Idb(e,k,d,h,f&255,(f&65535)>>>8&255,f>>>16&255,f>>>24&255)|0;i=m;return d|0}return 0}function Hdb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+16|0;if(!b)e=l6a(601083,g)|0;else if((c|0)>0){f=0;e=0;do{e=(D7a(a,b+(f<<4)|0,d)|0)+e|0;f=f+1|0}while((f|0)!=(c|0))}else e=0;i=g;return e|0}function Idb(b,d,e,f,g,h,j,k){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+32|0;if(!b){d=l6a(601117,q)|0;i=q;return d|0}l=c[b+4>>2]|0;m=a[l+8>>0]|0;if((m&255)<8){d=l6a(601149,q+8|0)|0;i=q;return d|0}if((f+-1|0)>>>0<2){p=(((_(k&255,j&255)|0)>>>0)/255|0)&255;h=(((_(k&255,h&255)|0)>>>0)/255|0)&255;n=(((_(k&255,g&255)|0)>>>0)/255|0)&255}else{p=j;n=g}switch(m&255|0){case 15:{if((c[l+12>>2]|0)==31744)l=12;else o=12;break}case 16:{if((c[l+12>>2]|0)==63488)l=13;else o=12;break}case 32:{if((c[l+12>>2]|0)==16711680)l=(c[l+24>>2]|0)==0?8:9;else o=12;break}default:o=12}if((o|0)==12)l=(c[l+24>>2]|0)==0?10:11;if((e|0)<=0){d=0;i=q;return d|0}g=0;j=0;do{if(E7a(d+(g<<4)|0,b+36|0,q+16|0)|0)j=mi[l&15](b,q+16|0,f,n,h,p,k)|0;g=g+1|0}while((g|0)!=(e|0));i=q;return j|0}function Jdb(a,b,e,f,g,h,i){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;switch(e|0){case 1:{l=c[b+8>>2]|0;e=c[b+12>>2]|0;k=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;if(!e)return 0;j=e;e=(c[a+20>>2]|0)+((_(c[b+4>>2]|0,k)|0)<<2)+(c[b>>2]<<2)|0;a:while(1){j=j+-1|0;switch(l&3|0){case 0:{m=(l+3|0)/4|0;y=e;e=5;break}case 3:{n=(l+3|0)/4|0;z=e;e=6;break}case 2:{o=(l+3|0)/4|0;A=e;e=7;break}case 1:{p=(l+3|0)/4|0;B=e;e=8;break}default:{e=9;break a}}while(1)if((e|0)==5){n=c[y>>2]|0;c[y>>2]=(((_(n>>>8&255,i&255^255)|0)>>>0)/255|0)+(g&255)<<8|(((_(n&255,i&255^255)|0)>>>0)/255|0)+(h&255)|(((_(n>>>16&255,i&255^255)|0)>>>0)/255|0)+(f&255)<<16;n=m;z=y+4|0;e=6;continue}else if((e|0)==6){o=c[z>>2]|0;c[z>>2]=(((_(o>>>8&255,i&255^255)|0)>>>0)/255|0)+(g&255)<<8|(((_(o&255,i&255^255)|0)>>>0)/255|0)+(h&255)|(((_(o>>>16&255,i&255^255)|0)>>>0)/255|0)+(f&255)<<16;o=n;A=z+4|0;e=7;continue}else if((e|0)==7){p=c[A>>2]|0;c[A>>2]=(((_(p>>>8&255,i&255^255)|0)>>>0)/255|0)+(g&255)<<8|(((_(p&255,i&255^255)|0)>>>0)/255|0)+(h&255)|(((_(p>>>16&255,i&255^255)|0)>>>0)/255|0)+(f&255)<<16;p=o;B=A+4|0;e=8;continue}else if((e|0)==8){e=c[B>>2]|0;c[B>>2]=(((_(e>>>8&255,i&255^255)|0)>>>0)/255|0)+(g&255)<<8|(((_(e&255,i&255^255)|0)>>>0)/255|0)+(h&255)|(((_(e>>>16&255,i&255^255)|0)>>>0)/255|0)+(f&255)<<16;e=B+4|0;if((p|0)>1){m=p+-1|0;y=e;e=5;continue}else break}if(!j){e=46;break}else e=e+(k-l<<2)|0}if((e|0)!=9)if((e|0)==46)return 0;break}case 2:{k=c[b+8>>2]|0;e=c[b+12>>2]|0;l=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;if(!e)return 0;a=(c[a+20>>2]|0)+((_(c[b+4>>2]|0,l)|0)<<2)|0;j=e;e=a+(c[b>>2]<<2)|0;b:while(1){j=j+-1|0;switch(k&3|0){case 0:{q=(k+3|0)/4|0;C=e;e=14;break}case 3:{r=(k+3|0)/4|0;D=e;e=15;break}case 2:{s=(k+3|0)/4|0;E=e;e=16;break}case 1:{t=(k+3|0)/4|0;F=e;e=17;break}default:{e=18;break b}}while(1)if((e|0)==14){r=c[C>>2]|0;c[C>>2]=(((r>>>8&255)+(g&255)|0)>>>0>255?255:(r>>>8&255)+(g&255)|0)<<8|(((r&255)+(h&255)|0)>>>0>255?255:(r&255)+(h&255)|0)|(((r>>>16&255)+(f&255)|0)>>>0>255?255:(r>>>16&255)+(f&255)|0)<<16;r=q;D=C+4|0;e=15;continue}else if((e|0)==15){s=c[D>>2]|0;c[D>>2]=(((s>>>8&255)+(g&255)|0)>>>0>255?255:(s>>>8&255)+(g&255)|0)<<8|(((s&255)+(h&255)|0)>>>0>255?255:(s&255)+(h&255)|0)|(((s>>>16&255)+(f&255)|0)>>>0>255?255:(s>>>16&255)+(f&255)|0)<<16;s=r;E=D+4|0;e=16;continue}else if((e|0)==16){t=c[E>>2]|0;c[E>>2]=(((t>>>8&255)+(g&255)|0)>>>0>255?255:(t>>>8&255)+(g&255)|0)<<8|(((t&255)+(h&255)|0)>>>0>255?255:(t&255)+(h&255)|0)|(((t>>>16&255)+(f&255)|0)>>>0>255?255:(t>>>16&255)+(f&255)|0)<<16;t=s;F=E+4|0;e=17;continue}else if((e|0)==17){e=c[F>>2]|0;c[F>>2]=(((e>>>8&255)+(g&255)|0)>>>0>255?255:(e>>>8&255)+(g&255)|0)<<8|(((e&255)+(h&255)|0)>>>0>255?255:(e&255)+(h&255)|0)|(((e>>>16&255)+(f&255)|0)>>>0>255?255:(e>>>16&255)+(f&255)|0)<<16;e=F+4|0;if((t|0)>1){q=t+-1|0;C=e;e=14;continue}else break}if(!j){e=46;break}else e=e+(l-k<<2)|0}if((e|0)!=18)if((e|0)==46)return 0;break}case 4:{k=c[b+8>>2]|0;e=c[b+12>>2]|0;l=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;if(!e)return 0;a=(c[a+20>>2]|0)+((_(c[b+4>>2]|0,l)|0)<<2)|0;j=e;e=a+(c[b>>2]<<2)|0;c:while(1){j=j+-1|0;switch(k&3|0){case 0:{u=(k+3|0)/4|0;G=e;e=23;break}case 3:{v=(k+3|0)/4|0;H=e;e=24;break}case 2:{w=(k+3|0)/4|0;I=e;e=25;break}case 1:{x=(k+3|0)/4|0;J=e;e=26;break}default:{e=27;break c}}while(1)if((e|0)==23){v=c[G>>2]|0;c[G>>2]=(((_(v>>>8&255,g&255)|0)>>>0)/255|0)<<8|(((_(v&255,h&255)|0)>>>0)/255|0)|(((_(v>>>16&255,f&255)|0)>>>0)/255|0)<<16;v=u;H=G+4|0;e=24;continue}else if((e|0)==24){w=c[H>>2]|0;c[H>>2]=(((_(w>>>8&255,g&255)|0)>>>0)/255|0)<<8|(((_(w&255,h&255)|0)>>>0)/255|0)|(((_(w>>>16&255,f&255)|0)>>>0)/255|0)<<16;w=v;I=H+4|0;e=25;continue}else if((e|0)==25){x=c[I>>2]|0;c[I>>2]=(((_(x>>>8&255,g&255)|0)>>>0)/255|0)<<8|(((_(x&255,h&255)|0)>>>0)/255|0)|(((_(x>>>16&255,f&255)|0)>>>0)/255|0)<<16;x=w;J=I+4|0;e=26;continue}else if((e|0)==26){e=c[J>>2]|0;c[J>>2]=(((_(e>>>8&255,g&255)|0)>>>0)/255|0)<<8|(((_(e&255,h&255)|0)>>>0)/255|0)|(((_(e>>>16&255,f&255)|0)>>>0)/255|0)<<16;e=J+4|0;if((x|0)>1){u=x+-1|0;G=e;e=23;continue}else break}if(!j){e=46;break}else e=e+(l-k<<2)|0}if((e|0)!=27)if((e|0)==46)return 0;break}default:{i=c[b+8>>2]|0;j=c[b+12>>2]|0;m=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;e=(c[a+20>>2]|0)+((_(c[b+4>>2]|0,m)|0)<<2)|0;e=e+(c[b>>2]<<2)|0;if(!j)return 0;switch(i&3|0){case 0:{k=j+-1|0;while(1){j=(i+3|0)/4|0;while(1){c[e>>2]=(g&255)<<8|(f&255)<<16|h&255;c[e+4>>2]=(g&255)<<8|(f&255)<<16|h&255;c[e+8>>2]=(g&255)<<8|(f&255)<<16|h&255;c[e+12>>2]=(g&255)<<8|(f&255)<<16|h&255;e=e+16|0;if((j|0)>1)j=j+-1|0;else break}if(!k)break;else{k=k+-1|0;e=e+(m-i<<2)|0}}return 0}case 3:{l=j+-1|0;j=e;while(1){c[j>>2]=(g&255)<<8|(f&255)<<16|h&255;c[j+4>>2]=(g&255)<<8|(f&255)<<16|h&255;c[j+8>>2]=(g&255)<<8|(f&255)<<16|h&255;e=j+12|0;if((i+3|0)>7){k=(i+3|0)/4|0;while(1){k=k+-1|0;c[e>>2]=(g&255)<<8|(f&255)<<16|h&255;e=j;j=j+16|0;c[j>>2]=(g&255)<<8|(f&255)<<16|h&255;c[e+20>>2]=(g&255)<<8|(f&255)<<16|h&255;c[e+24>>2]=(g&255)<<8|(f&255)<<16|h&255;if((k|0)<=1){e=e+28|0;break}else e=e+28|0}}if(!l)break;else{l=l+-1|0;j=e+(m-i<<2)|0}}return 0}case 2:{l=j+-1|0;j=e;while(1){c[j>>2]=(g&255)<<8|(f&255)<<16|h&255;c[j+4>>2]=(g&255)<<8|(f&255)<<16|h&255;e=j+8|0;if((i+3|0)>7){k=(i+3|0)/4|0;while(1){k=k+-1|0;c[e>>2]=(g&255)<<8|(f&255)<<16|h&255;c[j+12>>2]=(g&255)<<8|(f&255)<<16|h&255;e=j;j=j+16|0;c[j>>2]=(g&255)<<8|(f&255)<<16|h&255;c[e+20>>2]=(g&255)<<8|(f&255)<<16|h&255;if((k|0)<=1){e=e+24|0;break}else e=e+24|0}}if(!l)break;else{l=l+-1|0;j=e+(m-i<<2)|0}}return 0}default:{l=j+-1|0;j=e;while(1){c[j>>2]=(g&255)<<8|(f&255)<<16|h&255;e=j+4|0;if((i+3|0)>7){k=(i+3|0)/4|0;while(1){k=k+-1|0;c[e>>2]=(g&255)<<8|(f&255)<<16|h&255;c[j+8>>2]=(g&255)<<8|(f&255)<<16|h&255;c[j+12>>2]=(g&255)<<8|(f&255)<<16|h&255;e=j;j=j+16|0;c[j>>2]=(g&255)<<8|(f&255)<<16|h&255;if((k|0)<=1){e=e+20|0;break}else e=e+20|0}}if(!l)break;else{l=l+-1|0;j=e+(m-i<<2)|0}}return 0}}}}return 0}function Kdb(a,b,e,f,g,h,i){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;m=i&255^255;switch(e|0){case 1:{l=c[b+8>>2]|0;e=c[b+12>>2]|0;k=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;if(!e)return 0;j=e;e=(c[a+20>>2]|0)+((_(c[b+4>>2]|0,k)|0)<<2)+(c[b>>2]<<2)|0;a:while(1){j=j+-1|0;switch(l&3|0){case 0:{n=(l+3|0)/4|0;z=e;e=5;break}case 3:{o=(l+3|0)/4|0;A=e;e=6;break}case 2:{p=(l+3|0)/4|0;B=e;e=7;break}case 1:{q=(l+3|0)/4|0;C=e;e=8;break}default:{e=9;break a}}while(1)if((e|0)==5){o=c[z>>2]|0;c[z>>2]=(((_(o>>>24,m)|0)>>>0)/255|0)+(i&255)<<24|(((_(o&255,m)|0)>>>0)/255|0)+(h&255)|(((_(o>>>16&255,m)|0)>>>0)/255|0)+(f&255)<<16|(((_(o>>>8&255,m)|0)>>>0)/255|0)+(g&255)<<8;o=n;A=z+4|0;e=6;continue}else if((e|0)==6){p=c[A>>2]|0;c[A>>2]=(((_(p>>>24,m)|0)>>>0)/255|0)+(i&255)<<24|(((_(p&255,m)|0)>>>0)/255|0)+(h&255)|(((_(p>>>16&255,m)|0)>>>0)/255|0)+(f&255)<<16|(((_(p>>>8&255,m)|0)>>>0)/255|0)+(g&255)<<8;p=o;B=A+4|0;e=7;continue}else if((e|0)==7){q=c[B>>2]|0;c[B>>2]=(((_(q>>>24,m)|0)>>>0)/255|0)+(i&255)<<24|(((_(q&255,m)|0)>>>0)/255|0)+(h&255)|(((_(q>>>16&255,m)|0)>>>0)/255|0)+(f&255)<<16|(((_(q>>>8&255,m)|0)>>>0)/255|0)+(g&255)<<8;q=p;C=B+4|0;e=8;continue}else if((e|0)==8){e=c[C>>2]|0;c[C>>2]=(((_(e>>>24,m)|0)>>>0)/255|0)+(i&255)<<24|(((_(e&255,m)|0)>>>0)/255|0)+(h&255)|(((_(e>>>16&255,m)|0)>>>0)/255|0)+(f&255)<<16|(((_(e>>>8&255,m)|0)>>>0)/255|0)+(g&255)<<8;e=C+4|0;if((q|0)>1){n=q+-1|0;z=e;e=5;continue}else break}if(!j){e=46;break}else e=e+(k-l<<2)|0}if((e|0)!=9)if((e|0)==46)return 0;break}case 2:{k=c[b+8>>2]|0;e=c[b+12>>2]|0;l=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;if(!e)return 0;a=(c[a+20>>2]|0)+((_(c[b+4>>2]|0,l)|0)<<2)|0;j=e;e=a+(c[b>>2]<<2)|0;b:while(1){j=j+-1|0;switch(k&3|0){case 0:{r=(k+3|0)/4|0;D=e;e=14;break}case 3:{s=(k+3|0)/4|0;E=e;e=15;break}case 2:{t=(k+3|0)/4|0;F=e;e=16;break}case 1:{u=(k+3|0)/4|0;G=e;e=17;break}default:{e=18;break b}}while(1)if((e|0)==14){s=c[D>>2]|0;c[D>>2]=(((s&255)+(h&255)|0)>>>0>255?255:(s&255)+(h&255)|0)|s&-16777216|(((s>>>16&255)+(f&255)|0)>>>0>255?255:(s>>>16&255)+(f&255)|0)<<16|(((s>>>8&255)+(g&255)|0)>>>0>255?255:(s>>>8&255)+(g&255)|0)<<8;s=r;E=D+4|0;e=15;continue}else if((e|0)==15){t=c[E>>2]|0;c[E>>2]=(((t&255)+(h&255)|0)>>>0>255?255:(t&255)+(h&255)|0)|t&-16777216|(((t>>>16&255)+(f&255)|0)>>>0>255?255:(t>>>16&255)+(f&255)|0)<<16|(((t>>>8&255)+(g&255)|0)>>>0>255?255:(t>>>8&255)+(g&255)|0)<<8;t=s;F=E+4|0;e=16;continue}else if((e|0)==16){u=c[F>>2]|0;c[F>>2]=(((u&255)+(h&255)|0)>>>0>255?255:(u&255)+(h&255)|0)|u&-16777216|(((u>>>16&255)+(f&255)|0)>>>0>255?255:(u>>>16&255)+(f&255)|0)<<16|(((u>>>8&255)+(g&255)|0)>>>0>255?255:(u>>>8&255)+(g&255)|0)<<8;u=t;G=F+4|0;e=17;continue}else if((e|0)==17){e=c[G>>2]|0;c[G>>2]=(((e&255)+(h&255)|0)>>>0>255?255:(e&255)+(h&255)|0)|e&-16777216|(((e>>>16&255)+(f&255)|0)>>>0>255?255:(e>>>16&255)+(f&255)|0)<<16|(((e>>>8&255)+(g&255)|0)>>>0>255?255:(e>>>8&255)+(g&255)|0)<<8;e=G+4|0;if((u|0)>1){r=u+-1|0;D=e;e=14;continue}else break}if(!j){e=46;break}else e=e+(l-k<<2)|0}if((e|0)!=18)if((e|0)==46)return 0;break}case 4:{k=c[b+8>>2]|0;e=c[b+12>>2]|0;l=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;if(!e)return 0;a=(c[a+20>>2]|0)+((_(c[b+4>>2]|0,l)|0)<<2)|0;j=e;e=a+(c[b>>2]<<2)|0;c:while(1){j=j+-1|0;switch(k&3|0){case 0:{v=(k+3|0)/4|0;H=e;e=23;break}case 3:{w=(k+3|0)/4|0;I=e;e=24;break}case 2:{x=(k+3|0)/4|0;J=e;e=25;break}case 1:{y=(k+3|0)/4|0;K=e;e=26;break}default:{e=27;break c}}while(1)if((e|0)==23){w=c[H>>2]|0;c[H>>2]=((_(w&255,h&255)|0)>>>0)/255|0|w&-16777216|(((_(w>>>16&255,f&255)|0)>>>0)/255|0)<<16|(((_(w>>>8&255,g&255)|0)>>>0)/255|0)<<8;w=v;I=H+4|0;e=24;continue}else if((e|0)==24){x=c[I>>2]|0;c[I>>2]=((_(x&255,h&255)|0)>>>0)/255|0|x&-16777216|(((_(x>>>16&255,f&255)|0)>>>0)/255|0)<<16|(((_(x>>>8&255,g&255)|0)>>>0)/255|0)<<8;x=w;J=I+4|0;e=25;continue}else if((e|0)==25){y=c[J>>2]|0;c[J>>2]=((_(y&255,h&255)|0)>>>0)/255|0|y&-16777216|(((_(y>>>16&255,f&255)|0)>>>0)/255|0)<<16|(((_(y>>>8&255,g&255)|0)>>>0)/255|0)<<8;y=x;K=J+4|0;e=26;continue}else if((e|0)==26){e=c[K>>2]|0;c[K>>2]=((_(e&255,h&255)|0)>>>0)/255|0|e&-16777216|(((_(e>>>16&255,f&255)|0)>>>0)/255|0)<<16|(((_(e>>>8&255,g&255)|0)>>>0)/255|0)<<8;e=K+4|0;if((y|0)>1){v=y+-1|0;H=e;e=23;continue}else break}if(!j){e=46;break}else e=e+(l-k<<2)|0}if((e|0)!=27)if((e|0)==46)return 0;break}default:{n=c[b+8>>2]|0;j=c[b+12>>2]|0;o=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;e=(c[a+20>>2]|0)+((_(c[b+4>>2]|0,o)|0)<<2)|0;e=e+(c[b>>2]<<2)|0;if(!j)return 0;m=(g&255)<<8|(f&255)<<16|h&255|(i&255)<<24;switch(n&3|0){case 0:{k=j+-1|0;while(1){j=(n+3|0)/4|0;while(1){c[e>>2]=m;c[e+4>>2]=m;c[e+8>>2]=m;c[e+12>>2]=m;e=e+16|0;if((j|0)>1)j=j+-1|0;else break}if(!k)break;else{k=k+-1|0;e=e+(o-n<<2)|0}}return 0}case 3:{l=j+-1|0;j=e;while(1){c[j>>2]=m;c[j+4>>2]=m;c[j+8>>2]=m;e=j+12|0;if((n+3|0)>7){k=(n+3|0)/4|0;while(1){k=k+-1|0;c[e>>2]=m;e=j;j=j+16|0;c[j>>2]=m;c[e+20>>2]=m;c[e+24>>2]=m;if((k|0)<=1){e=e+28|0;break}else e=e+28|0}}if(!l)break;else{l=l+-1|0;j=e+(o-n<<2)|0}}return 0}case 2:{l=j+-1|0;j=e;while(1){c[j>>2]=m;c[j+4>>2]=m;e=j+8|0;if((n+3|0)>7){k=(n+3|0)/4|0;while(1){k=k+-1|0;c[e>>2]=m;c[j+12>>2]=m;e=j;j=j+16|0;c[j>>2]=m;c[e+20>>2]=m;if((k|0)<=1){e=e+24|0;break}else e=e+24|0}}if(!l)break;else{l=l+-1|0;j=e+(o-n<<2)|0}}return 0}default:{l=j+-1|0;j=e;while(1){c[j>>2]=m;e=j+4|0;if((n+3|0)>7){k=(n+3|0)/4|0;while(1){k=k+-1|0;c[e>>2]=m;c[j+8>>2]=m;c[j+12>>2]=m;e=j;j=j+16|0;c[j>>2]=m;if((k|0)<=1){e=e+20|0;break}else e=e+20|0}}if(!l)break;else{l=l+-1|0;j=e+(o-n<<2)|0}}return 0}}}}return 0}function Ldb(a,f,g,h,i,j,k){a=a|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,jb=0,kb=0,lb=0,mb=0,nb=0,ob=0,pb=0,qb=0,rb=0,sb=0,tb=0,ub=0,vb=0,wb=0,xb=0,yb=0,zb=0,Ab=0,Bb=0,Cb=0,Db=0,Eb=0,Fb=0,Gb=0,Hb=0,Ib=0,Jb=0,Kb=0,Lb=0,Mb=0,Nb=0,Ob=0,Pb=0,Qb=0,Rb=0,Sb=0,Tb=0,Ub=0,Vb=0,Wb=0,Xb=0,Yb=0,Zb=0,_b=0,$b=0,ac=0,bc=0,cc=0,dc=0,ec=0,fc=0,gc=0,hc=0,ic=0,jc=0,kc=0,lc=0,mc=0,nc=0,oc=0,pc=0,qc=0,rc=0,sc=0,tc=0,uc=0,vc=0,wc=0,xc=0,yc=0,zc=0,Ac=0,Bc=0,Cc=0,Dc=0,Ec=0,Fc=0,Gc=0,Hc=0,Ic=0,Jc=0,Kc=0,Lc=0,Mc=0,Nc=0,Oc=0,Pc=0,Qc=0,Rc=0,Sc=0,Tc=0,Uc=0,Vc=0,Wc=0,Xc=0,Yc=0,Zc=0,_c=0,$c=0,ad=0,bd=0,cd=0,dd=0,ed=0,fd=0,gd=0,hd=0,id=0,jd=0,kd=0,ld=0,md=0,nd=0,od=0,pd=0,qd=0,rd=0,sd=0,td=0,ud=0,vd=0,wd=0,xd=0,yd=0,zd=0,Ad=0,Bd=0,Cd=0,Dd=0,Ed=0,Fd=0,Gd=0,Hd=0,Id=0,Jd=0,Kd=0,Ld=0,Md=0,Nd=0,Od=0,Pd=0,Qd=0,Rd=0,Sd=0,Td=0,Ud=0,Vd=0,Wd=0,Xd=0,Yd=0,Zd=0,_d=0,$d=0,ae=0,be=0,ce=0,de=0,ee=0,fe=0,ge=0,he=0,ie=0,je=0,ke=0,le=0,me=0,ne=0,oe=0,pe=0,qe=0,re=0,se=0,te=0,ue=0,ve=0,we=0,xe=0,ye=0,ze=0,Ae=0,Be=0,Ce=0,De=0,Ee=0,Fe=0,Ge=0,He=0,Ie=0,Je=0,Ke=0,Le=0,Me=0,Ne=0,Oe=0,Pe=0,Qe=0,Re=0,Se=0,Te=0,Ue=0,Ve=0,We=0,Xe=0,Ye=0,Ze=0,_e=0,$e=0,af=0,bf=0,cf=0,df=0,ef=0,ff=0,gf=0,hf=0,jf=0,kf=0,lf=0,mf=0,nf=0,of=0,pf=0,qf=0,rf=0,sf=0,tf=0,uf=0,vf=0,wf=0,xf=0,yf=0,zf=0,Af=0,Bf=0,Cf=0,Df=0,Ef=0,Ff=0,Gf=0,Hf=0,If=0,Jf=0,Kf=0,Lf=0,Mf=0,Nf=0,Of=0,Pf=0,Qf=0,Rf=0,Sf=0,Tf=0,Uf=0,Vf=0,Wf=0,Xf=0,Yf=0,Zf=0,_f=0,$f=0,ag=0,bg=0,cg=0,dg=0,eg=0,fg=0,gg=0,hg=0,ig=0,jg=0,kg=0,lg=0,mg=0,ng=0,og=0,pg=0,qg=0,rg=0,sg=0,tg=0,ug=0,vg=0,wg=0,xg=0,yg=0,zg=0,Ag=0,Bg=0,Cg=0,Dg=0,Eg=0,Fg=0,Gg=0,Hg=0,Ig=0,Jg=0,Kg=0,Lg=0,Mg=0,Ng=0,Og=0,Pg=0,Qg=0,Rg=0,Sg=0,Tg=0,Ug=0,Vg=0,Wg=0,Xg=0,Yg=0,Zg=0,_g=0,$g=0,ah=0,bh=0,ch=0,dh=0,eh=0,fh=0,gh=0;gh=c[a+4>>2]|0;switch(d[gh+9>>0]|0|0){case 2:{switch(g|0){case 1:{p=c[f+8>>2]|0;g=c[f+12>>2]|0;o=(c[a+16>>2]|0)/2|0;if(!g){h=0;return h|0}n=g;g=(c[a+20>>2]|0)+((_(c[f+4>>2]|0,o)|0)<<1)+(c[f>>2]<<1)|0;a:while(1){n=n+-1|0;switch(p&3|0){case 0:{jd=c[gh+32>>2]|0;id=c[gh+28>>2]|0;$a=c[gh+12>>2]|0;ab=jd&255;bb=id&255;cb=c[124356+((id&255)<<2)>>2]|0;db=c[gh+16>>2]|0;eb=(jd&65535)>>>8&255;hb=(id&65535)>>>8&255;nb=c[124356+(((id&65535)>>>8&65535)<<2)>>2]|0;sb=c[gh+20>>2]|0;xb=jd>>>16&255;Ab=id>>>16&255;Db=c[124356+((id>>>16&255)<<2)>>2]|0;Mb=c[gh+24>>2]|0;gd=(e[gh+28>>1]|0)>>>8&255;hd=(e[gh+32>>1]|0)>>>8&255;id=id&255;jd=jd&255;lg=(p+3|0)/4|0;Jg=g;g=10;break}case 3:{fd=c[gh+32>>2]|0;ed=c[gh+28>>2]|0;_b=c[gh+12>>2]|0;bc=fd&255;fc=ed&255;pc=c[gh+16>>2]|0;qc=(fd&65535)>>>8&255;rc=(ed&65535)>>>8&255;sc=c[gh+20>>2]|0;uc=fd>>>16&255;Dc=ed>>>16&255;Wc=c[gh+24>>2]|0;cd=(e[gh+28>>1]|0)>>>8&255;dd=(e[gh+32>>1]|0)>>>8&255;ed=ed&255;fd=fd&255;mg=(p+3|0)/4|0;Kg=g;g=11;break}case 2:{ue=c[gh+32>>2]|0;ve=c[gh+28>>2]|0;Xc=c[gh+12>>2]|0;Yc=ue&255;Zc=ve&255;_c=(e[gh+28>>1]|0)>>>8&255;$c=(e[gh+32>>1]|0)>>>8&255;ad=ve&255;bd=ue&255;Id=c[gh+16>>2]|0;Td=(ue&65535)>>>8&255;se=(ve&65535)>>>8&255;te=c[gh+20>>2]|0;ue=ue>>>16&255;ve=ve>>>16&255;we=c[gh+24>>2]|0;ng=(p+3|0)/4|0;Lg=g;g=12;break}case 1:{Ee=c[gh+32>>2]|0;Fe=c[gh+28>>2]|0;xe=c[gh+12>>2]|0;ye=Ee&255;ze=Fe&255;Ae=c[gh+16>>2]|0;Be=(Ee&65535)>>>8&255;Ce=(Fe&65535)>>>8&255;De=c[gh+20>>2]|0;Ee=Ee>>>16&255;Fe=Fe>>>16&255;Ge=c[gh+24>>2]|0;og=(p+3|0)/4|0;Mg=g;g=13;break}default:{g=14;break a}}while(1)if((g|0)==10){bc=e[Jg>>1]|0;fc=ab&255;pc=eb&255;_b=xb&255;b[Jg>>1]=((((_(d[nb+((db&bc)>>>pc)>>0]|0,k&255^255)|0)>>>0)/255|0)+(i&255)|0)>>>(hb&255)<>>fc)>>0]|0,k&255^255)|0)>>>0)/255|0)+(h&255)|0)>>>(bb&255)<>>_b)>>0]|0,k&255^255)|0)>>>0)/255|0)+(j&255)|0)>>>(Ab&255)<<_b;_b=$a;bc=jd;fc=id;pc=db;qc=hd;rc=gd;sc=sb;uc=xb;Dc=Ab;Wc=Mb;cd=gd;dd=hd;ed=id;fd=jd;mg=lg;Kg=Jg+2|0;g=11;continue}else if((g|0)==11){Zc=e[Kg>>1]|0;_c=bc&255;$c=fc&255;ad=qc&255;bd=rc&255;Xc=uc&255;Yc=Dc&255;b[Kg>>1]=((((_(d[(c[124356+(bd<<2)>>2]|0)+((pc&Zc)>>>ad)>>0]|0,k&255^255)|0)>>>0)/255|0)+(i&255)|0)>>>bd<>2]|0)+((Zc&_b)>>>_c)>>0]|0,k&255^255)|0)>>>0)/255|0)+(h&255)|0)>>>$c<<_c|Wc|((((_(d[(c[124356+(Yc<<2)>>2]|0)+((sc&Zc)>>>Xc)>>0]|0,k&255^255)|0)>>>0)/255|0)+(j&255)|0)>>>Yc<>1]|0;Ae=Yc&255;Be=Zc&255;Ce=Td&255;De=se&255;xe=ue&255;ye=ve&255;b[Lg>>1]=((((_(d[(c[124356+(De<<2)>>2]|0)+((Id&ze)>>>Ce)>>0]|0,k&255^255)|0)>>>0)/255|0)+(i&255)|0)>>>De<>2]|0)+((ze&Xc)>>>Ae)>>0]|0,k&255^255)|0)>>>0)/255|0)+(h&255)|0)>>>Be<>2]|0)+((te&ze)>>>xe)>>0]|0,k&255^255)|0)>>>0)/255|0)+(j&255)|0)>>>ye<>1]|0;dh=ye&255;ch=ze&255;g=c[124356+(ch<<2)>>2]|0;bh=Be&255;ah=Ce&255;a=c[124356+(ah<<2)>>2]|0;m=Ee&255;f=Fe&255;l=c[124356+(f<<2)>>2]|0;b[Mg>>1]=((((_(d[a+((Ae&eh)>>>bh)>>0]|0,k&255^255)|0)>>>0)/255|0)+(i&255)|0)>>>ah<>>dh)>>0]|0,k&255^255)|0)>>>0)/255|0)+(h&255)|0)>>>ch<>>m)>>0]|0,k&255^255)|0)>>>0)/255|0)+(j&255)|0)>>>f<1){$a=xe;ab=ye;bb=ze;cb=g;db=Ae;eb=Be;hb=Ce;nb=a;sb=De;xb=Ee;Ab=Fe;Db=l;Mb=Ge;gd=Ce;hd=Be;id=ze;jd=ye;lg=og+-1|0;Jg=m;g=10;continue}else break}if(!n){fh=0;g=109;break}else g=m+(o-p<<1)|0}if((g|0)!=14)if((g|0)==109)return fh|0;break}case 2:{o=c[f+8>>2]|0;g=c[f+12>>2]|0;p=(c[a+16>>2]|0)/2|0;if(!g){h=0;return h|0}k=(c[a+20>>2]|0)+((_(c[f+4>>2]|0,p)|0)<<1)|0;n=g;g=k+(c[f>>2]<<1)|0;b:while(1){n=n+-1|0;switch(o&3|0){case 0:{Qe=c[gh+32>>2]|0;Se=c[gh+28>>2]|0;sd=(e[gh+28>>1]|0)>>>8&255;td=(e[gh+32>>1]|0)>>>8&255;ud=Se&255;vd=Qe&255;He=c[gh+12>>2]|0;Ie=Qe&255;Je=Se&255;Ke=c[124356+((Se&255)<<2)>>2]|0;Le=c[gh+16>>2]|0;Me=(Qe&65535)>>>8&255;Ne=(Se&65535)>>>8&255;Oe=c[124356+(((Se&65535)>>>8&65535)<<2)>>2]|0;Pe=c[gh+20>>2]|0;Qe=Qe>>>16&255;Re=Se>>>16&255;Se=c[124356+((Se>>>16&255)<<2)>>2]|0;Te=c[gh+24>>2]|0;xg=(o+3|0)/4|0;Vg=g;g=23;break}case 3:{$e=c[gh+32>>2]|0;af=c[gh+28>>2]|0;od=(e[gh+28>>1]|0)>>>8&255;pd=(e[gh+32>>1]|0)>>>8&255;qd=af&255;rd=$e&255;Ue=c[gh+12>>2]|0;Ve=$e&255;We=af&255;Xe=c[gh+16>>2]|0;Ye=($e&65535)>>>8&255;Ze=(af&65535)>>>8&255;_e=c[gh+20>>2]|0;$e=$e>>>16&255;af=af>>>16&255;bf=c[gh+24>>2]|0;yg=(o+3|0)/4|0;Wg=g;g=24;break}case 2:{kf=c[gh+32>>2]|0;lf=c[gh+28>>2]|0;kd=(e[gh+28>>1]|0)>>>8&255;ld=(e[gh+32>>1]|0)>>>8&255;md=lf&255;nd=kf&255;cf=c[gh+12>>2]|0;df=kf&255;ef=lf&255;ff=c[gh+16>>2]|0;gf=(kf&65535)>>>8&255;hf=(lf&65535)>>>8&255;jf=c[gh+20>>2]|0;kf=kf>>>16&255;lf=lf>>>16&255;mf=c[gh+24>>2]|0;zg=(o+3|0)/4|0;Xg=g;g=25;break}case 1:{uf=c[gh+32>>2]|0;vf=c[gh+28>>2]|0;nf=c[gh+12>>2]|0;of=uf&255;pf=vf&255;qf=c[gh+16>>2]|0;rf=(uf&65535)>>>8&255;sf=(vf&65535)>>>8&255;tf=c[gh+20>>2]|0;uf=uf>>>16&255;vf=vf>>>16&255;wf=c[gh+24>>2]|0;Ag=(o+3|0)/4|0;Yg=g;g=26;break}default:{g=27;break b}}while(1)if((g|0)==23){pd=e[Vg>>1]|0;qd=Ie&255;Ue=Me&255;od=Qe&255;rd=(d[Ke+((pd&He)>>>qd)>>0]|0)+(h&255)|0;Ve=(d[Oe+((Le&pd)>>>Ue)>>0]|0)+(i&255)|0;pd=(d[Se+((Pe&pd)>>>od)>>0]|0)+(j&255)|0;b[Vg>>1]=(Ve>>>0>255?255:Ve)>>>(Ne&255)<>>0>255?255:rd)>>>(Je&255)<>>0>255?255:pd)>>>(Re&255)<>1]|0;nd=Ve&255;cf=We&255;ef=Ye&255;ff=Ze&255;kd=$e&255;ld=af&255;df=(d[(c[124356+(cf<<2)>>2]|0)+((md&Ue)>>>nd)>>0]|0)+(h&255)|0;gf=(d[(c[124356+(ff<<2)>>2]|0)+((Xe&md)>>>ef)>>0]|0)+(i&255)|0;md=(d[(c[124356+(ld<<2)>>2]|0)+((_e&md)>>>kd)>>0]|0)+(j&255)|0;b[Wg>>1]=(gf>>>0>255?255:gf)>>>ff<>>0>255?255:df)>>>cf<>>0>255?255:md)>>>ld<>1]|0;qf=df&255;rf=ef&255;tf=gf&255;uf=hf&255;nf=kf&255;of=lf&255;sf=(d[(c[124356+(rf<<2)>>2]|0)+((pf&cf)>>>qf)>>0]|0)+(h&255)|0;vf=(d[(c[124356+(uf<<2)>>2]|0)+((ff&pf)>>>tf)>>0]|0)+(i&255)|0;pf=(d[(c[124356+(of<<2)>>2]|0)+((jf&pf)>>>nf)>>0]|0)+(j&255)|0;b[Xg>>1]=(vf>>>0>255?255:vf)>>>uf<>>0>255?255:sf)>>>rf<>>0>255?255:pf)>>>of<>1]|0;eh=of&255;dh=pf&255;g=c[124356+(dh<<2)>>2]|0;bh=rf&255;ah=sf&255;a=c[124356+(ah<<2)>>2]|0;m=uf&255;f=vf&255;l=c[124356+(f<<2)>>2]|0;ch=(d[g+((k&nf)>>>eh)>>0]|0)+(h&255)|0;$g=(d[a+((qf&k)>>>bh)>>0]|0)+(i&255)|0;k=(d[l+((tf&k)>>>m)>>0]|0)+(j&255)|0;b[Yg>>1]=($g>>>0>255?255:$g)>>>ah<>>0>255?255:ch)>>>dh<>>0>255?255:k)>>>f<1){sd=sf;td=rf;ud=pf;vd=of;He=nf;Ie=of;Je=pf;Ke=g;Le=qf;Me=rf;Ne=sf;Oe=a;Pe=tf;Qe=uf;Re=vf;Se=l;Te=wf;xg=Ag+-1|0;Vg=m;g=23;continue}else break}if(!n){fh=0;g=109;break}else g=m+(p-o<<1)|0}if((g|0)!=27)if((g|0)==109)return fh|0;break}case 4:{o=c[f+8>>2]|0;g=c[f+12>>2]|0;p=(c[a+16>>2]|0)/2|0;if(!g){h=0;return h|0}k=(c[a+20>>2]|0)+((_(c[f+4>>2]|0,p)|0)<<1)|0;n=g;g=k+(c[f>>2]<<1)|0;c:while(1){n=n+-1|0;switch(o&3|0){case 0:{Gf=c[gh+32>>2]|0;If=c[gh+28>>2]|0;Ed=(e[gh+28>>1]|0)>>>8&255;Fd=(e[gh+32>>1]|0)>>>8&255;Gd=If&255;Hd=Gf&255;xf=c[gh+12>>2]|0;yf=Gf&255;zf=If&255;Af=c[124356+((If&255)<<2)>>2]|0;Bf=c[gh+16>>2]|0;Cf=(Gf&65535)>>>8&255;Df=(If&65535)>>>8&255;Ef=c[124356+(((If&65535)>>>8&65535)<<2)>>2]|0;Ff=c[gh+20>>2]|0;Gf=Gf>>>16&255;Hf=If>>>16&255;If=c[124356+((If>>>16&255)<<2)>>2]|0;Jf=c[gh+24>>2]|0;Bg=(o+3|0)/4|0;Zg=g;g=36;break}case 3:{Rf=c[gh+32>>2]|0;Sf=c[gh+28>>2]|0;Ad=(e[gh+28>>1]|0)>>>8&255;Bd=(e[gh+32>>1]|0)>>>8&255;Cd=Sf&255;Dd=Rf&255;Kf=c[gh+12>>2]|0;Lf=Rf&255;Mf=Sf&255;Nf=c[gh+16>>2]|0;Of=(Rf&65535)>>>8&255;Pf=(Sf&65535)>>>8&255;Qf=c[gh+20>>2]|0;Rf=Rf>>>16&255;Sf=Sf>>>16&255;Tf=c[gh+24>>2]|0;Cg=(o+3|0)/4|0;_g=g;g=37;break}case 2:{$f=c[gh+32>>2]|0;ag=c[gh+28>>2]|0;wd=(e[gh+28>>1]|0)>>>8&255;xd=(e[gh+32>>1]|0)>>>8&255;yd=ag&255;zd=$f&255;Uf=c[gh+12>>2]|0;Vf=$f&255;Wf=ag&255;Xf=c[gh+16>>2]|0;Yf=($f&65535)>>>8&255;Zf=(ag&65535)>>>8&255;_f=c[gh+20>>2]|0;$f=$f>>>16&255;ag=ag>>>16&255;bg=c[gh+24>>2]|0;Dg=(o+3|0)/4|0;$g=g;g=38;break}case 1:{jg=c[gh+32>>2]|0;kg=c[gh+28>>2]|0;_a=c[gh+24>>2]|0;cg=c[gh+12>>2]|0;dg=jg&255;eg=kg&255;fg=c[gh+16>>2]|0;gg=(jg&65535)>>>8&255;hg=(kg&65535)>>>8&255;ig=c[gh+20>>2]|0;jg=jg>>>16&255;kg=kg>>>16&255;Eg=(o+3|0)/4|0;ah=g;g=39;break}default:{g=40;break c}}while(1)if((g|0)==36){Bd=e[Zg>>1]|0;Cd=yf&255;Dd=Cf&255;Ad=Gf&255;b[Zg>>1]=(((_(d[Ef+((Bf&Bd)>>>Dd)>>0]|0,i&255)|0)>>>0)/255|0)>>>(Df&255)<>>Cd)>>0]|0,h&255)|0)>>>0)/255|0)>>>(zf&255)<>>Ad)>>0]|0,j&255)|0)>>>0)/255|0)>>>(Hf&255)<>1]|0;zd=Lf&255;Uf=Mf&255;Vf=Of&255;Wf=Pf&255;wd=Rf&255;xd=Sf&255;b[_g>>1]=(((_(d[(c[124356+(Wf<<2)>>2]|0)+((Nf&yd)>>>Vf)>>0]|0,i&255)|0)>>>0)/255|0)>>>Wf<>2]|0)+((yd&Kf)>>>zd)>>0]|0,h&255)|0)>>>0)/255|0)>>>Uf<>2]|0)+((Qf&yd)>>>wd)>>0]|0,j&255)|0)>>>0)/255|0)>>>xd<>1]|0;eg=Vf&255;fg=Wf&255;gg=Yf&255;hg=Zf&255;_a=$f&255;cg=ag&255;b[$g>>1]=(((_(d[(c[124356+(hg<<2)>>2]|0)+((Xf&dg)>>>gg)>>0]|0,i&255)|0)>>>0)/255|0)>>>hg<>2]|0)+((dg&Uf)>>>eg)>>0]|0,h&255)|0)>>>0)/255|0)>>>fg<>2]|0)+((_f&dg)>>>_a)>>0]|0,j&255)|0)>>>0)/255|0)>>>cg<<_a;_a=bg;cg=Uf;dg=zd;eg=yd;fg=Xf;gg=xd;hg=wd;ig=_f;jg=$f;kg=ag;Eg=Dg;ah=$g+2|0;g=39;continue}else if((g|0)==39){k=e[ah>>1]|0;eh=dg&255;dh=eg&255;a=c[124356+(dh<<2)>>2]|0;ch=gg&255;bh=hg&255;l=c[124356+(bh<<2)>>2]|0;g=jg&255;f=kg&255;m=c[124356+(f<<2)>>2]|0;b[ah>>1]=(((_(d[l+((fg&k)>>>ch)>>0]|0,i&255)|0)>>>0)/255|0)>>>bh<>>eh)>>0]|0,h&255)|0)>>>0)/255|0)>>>dh<>>g)>>0]|0,j&255)|0)>>>0)/255|0)>>>f<1){Ed=hg;Fd=gg;Gd=eg;Hd=dg;xf=cg;yf=dg;zf=eg;Af=a;Bf=fg;Cf=gg;Df=hg;Ef=l;Ff=ig;Gf=jg;Hf=kg;If=m;Jf=_a;Bg=Eg+-1|0;Zg=g;g=36;continue}else break}if(!n){fh=0;g=109;break}else g=g+(p-o<<1)|0}if((g|0)!=40)if((g|0)==109)return fh|0;break}default:{l=c[f+8>>2]|0;g=c[f+12>>2]|0;m=(c[a+16>>2]|0)/2|0;if(!g){h=0;return h|0}k=(c[a+20>>2]|0)+((_(c[f+4>>2]|0,m)|0)<<1)|0;a=g;g=k+(c[f>>2]<<1)|0;d:while(1){a=a+-1|0;switch(l&3|0){case 0:{xa=c[gh+28>>2]|0;wa=c[gh+32>>2]|0;n=xa&255;o=wa&255;p=(xa&65535)>>>8&255;q=(wa&65535)>>>8&255;r=xa>>>16&255;s=wa>>>16&255;t=c[gh+24>>2]|0;ua=(e[gh+32>>1]|0)>>>8&255;va=(e[gh+28>>1]|0)>>>8&255;wa=wa&255;xa=xa&255;Oa=(l+3|0)/4|0;Wa=g;g=49;break}case 3:{ta=c[gh+28>>2]|0;sa=c[gh+32>>2]|0;u=ta&255;v=sa&255;w=(ta&65535)>>>8&255;x=(sa&65535)>>>8&255;y=ta>>>16&255;z=sa>>>16&255;A=c[gh+24>>2]|0;qa=(e[gh+32>>1]|0)>>>8&255;ra=(e[gh+28>>1]|0)>>>8&255;sa=sa&255;ta=ta&255;Pa=(l+3|0)/4|0;Xa=g;g=50;break}case 2:{pa=c[gh+28>>2]|0;oa=c[gh+32>>2]|0;B=pa&255;C=oa&255;D=(pa&65535)>>>8&255;E=(oa&65535)>>>8&255;F=pa>>>16&255;G=oa>>>16&255;H=c[gh+24>>2]|0;ma=(e[gh+32>>1]|0)>>>8&255;na=(e[gh+28>>1]|0)>>>8&255;oa=oa&255;pa=pa&255;Qa=(l+3|0)/4|0;Ya=g;g=51;break}case 1:{M=c[gh+28>>2]|0;N=c[gh+32>>2]|0;I=M&255;J=N&255;K=(M&65535)>>>8&255;L=(N&65535)>>>8&255;M=M>>>16&255;N=N>>>16&255;O=c[gh+24>>2]|0;Ra=(l+3|0)/4|0;Za=g;g=52;break}default:{g=53;break d}}while(1)if((g|0)==49){b[Wa>>1]=(i&255)>>>(p&255)<<(q&255)|(h&255)>>>(n&255)<<(o&255)|t|(j&255)>>>(r&255)<<(s&255);u=xa;v=wa;w=va;x=ua;y=r;z=s;A=t;qa=ua;ra=va;sa=wa;ta=xa;Pa=Oa;Xa=Wa+2|0;g=50;continue}else if((g|0)==50){b[Xa>>1]=(i&255)>>>(w&255)<<(x&255)|(h&255)>>>(u&255)<<(v&255)|A|(j&255)>>>(y&255)<<(z&255);B=ta;C=sa;D=ra;E=qa;F=y;G=z;H=A;ma=qa;na=ra;oa=sa;pa=ta;Qa=Pa;Ya=Xa+2|0;g=51;continue}else if((g|0)==51){b[Ya>>1]=(i&255)>>>(D&255)<<(E&255)|(h&255)>>>(B&255)<<(C&255)|H|(j&255)>>>(F&255)<<(G&255);I=pa;J=oa;K=na;L=ma;M=F;N=G;O=H;Ra=Qa;Za=Ya+2|0;g=52;continue}else if((g|0)==52){b[Za>>1]=(i&255)>>>(K&255)<<(L&255)|(h&255)>>>(I&255)<<(J&255)|O|(j&255)>>>(M&255)<<(N&255);g=Za+2|0;if((Ra|0)>1){n=I;o=J;p=K;q=L;r=M;s=N;t=O;ua=L;va=K;wa=J;xa=I;Oa=Ra+-1|0;Wa=g;g=49;continue}else break}if(!a){fh=0;g=109;break}else g=g+(m-l<<1)|0}if((g|0)!=53)if((g|0)==109)return fh|0}}break}case 4:{switch(g|0){case 1:{o=c[f+8>>2]|0;g=c[f+12>>2]|0;p=(c[a+16>>2]|0)/4|0;if(!g){h=0;return h|0}n=g;g=(c[a+20>>2]|0)+((_(c[f+4>>2]|0,p)|0)<<2)+(c[f>>2]<<2)|0;e:while(1){n=n+-1|0;switch(o&3|0){case 0:{Vd=c[gh+32>>2]|0;Ud=c[gh+28>>2]|0;fb=Vd&255;gb=Ud&255;ib=c[124356+((Ud&255)<<2)>>2]|0;jb=(Vd&65535)>>>8&255;kb=(Ud&65535)>>>8&255;lb=c[124356+(((Ud&65535)>>>8&65535)<<2)>>2]|0;mb=Vd>>>16&255;ob=Ud>>>16&255;pb=c[124356+((Ud>>>16&255)<<2)>>2]|0;Rd=(e[gh+28>>1]|0)>>>8&255;Sd=(e[gh+32>>1]|0)>>>8&255;Ud=Ud&255;Vd=Vd&255;Fg=(o+3|0)/4|0;bh=g;g=63;break}case 3:{Qd=c[gh+32>>2]|0;Pd=c[gh+28>>2]|0;qb=Qd&255;rb=Pd&255;tb=(Qd&65535)>>>8&255;ub=(Pd&65535)>>>8&255;vb=Qd>>>16&255;wb=Pd>>>16&255;Nd=(e[gh+28>>1]|0)>>>8&255;Od=(e[gh+32>>1]|0)>>>8&255;Pd=Pd&255;Qd=Qd&255;Gg=(o+3|0)/4|0;ch=g;g=64;break}case 2:{Md=c[gh+32>>2]|0;Ld=c[gh+28>>2]|0;yb=Md&255;zb=Ld&255;Bb=(Md&65535)>>>8&255;Cb=(Ld&65535)>>>8&255;Eb=Md>>>16&255;Fb=Ld>>>16&255;Jd=(e[gh+28>>1]|0)>>>8&255;Kd=(e[gh+32>>1]|0)>>>8&255;Ld=Ld&255;Md=Md&255;Hg=(o+3|0)/4|0;dh=g;g=65;break}case 1:{Kb=c[gh+32>>2]|0;Lb=c[gh+28>>2]|0;Gb=Kb&255;Hb=Lb&255;Ib=(Kb&65535)>>>8&255;Jb=(Lb&65535)>>>8&255;Kb=Kb>>>16&255;Lb=Lb>>>16&255;Ig=(o+3|0)/4|0;eh=g;g=66;break}default:{g=67;break e}}while(1)if((g|0)==63){tb=c[bh>>2]|0;rb=fb&255;ub=jb&255;qb=mb&255;rb=((((_(d[lb+((c[gh+16>>2]&tb)>>>ub)>>0]|0,k&255^255)|0)>>>0)/255|0)+(i&255)|0)>>>(kb&255)<>2]&tb)>>>rb)>>0]|0,k&255^255)|0)>>>0)/255|0)+(h&255)|0)>>>(gb&255)<>2]&tb)>>>qb)>>0]|0,k&255^255)|0)>>>0)/255|0)+(j&255)|0)>>>(ob&255)<>2]=rb|c[gh+24>>2]|qb;qb=Vd;rb=Ud;tb=Sd;ub=Rd;vb=mb;wb=ob;Nd=Rd;Od=Sd;Pd=Ud;Qd=Vd;Gg=Fg;ch=bh+4|0;g=64;continue}else if((g|0)==64){Cb=c[ch>>2]|0;zb=qb&255;Eb=rb&255;Fb=tb&255;Jd=ub&255;yb=vb&255;Bb=wb&255;zb=((((_(d[(c[124356+(Jd<<2)>>2]|0)+((c[gh+16>>2]&Cb)>>>Fb)>>0]|0,k&255^255)|0)>>>0)/255|0)+(i&255)|0)>>>Jd<>2]|0)+((c[gh+12>>2]&Cb)>>>zb)>>0]|0,k&255^255)|0)>>>0)/255|0)+(h&255)|0)>>>Eb<>2]|0)+((c[gh+20>>2]&Cb)>>>yb)>>0]|0,k&255^255)|0)>>>0)/255|0)+(j&255)|0)>>>Bb<>2]=zb|c[gh+24>>2]|yb;yb=Qd;zb=Pd;Bb=Od;Cb=Nd;Eb=vb;Fb=wb;Jd=Nd;Kd=Od;Ld=Pd;Md=Qd;Hg=Gg;dh=ch+4|0;g=65;continue}else if((g|0)==65){Jb=c[dh>>2]|0;Hb=yb&255;Kb=zb&255;Lb=Bb&255;Ig=Cb&255;Gb=Eb&255;Ib=Fb&255;Hb=((((_(d[(c[124356+(Ig<<2)>>2]|0)+((c[gh+16>>2]&Jb)>>>Lb)>>0]|0,k&255^255)|0)>>>0)/255|0)+(i&255)|0)>>>Ig<>2]|0)+((c[gh+12>>2]&Jb)>>>Hb)>>0]|0,k&255^255)|0)>>>0)/255|0)+(h&255)|0)>>>Kb<>2]|0)+((c[gh+20>>2]&Jb)>>>Gb)>>0]|0,k&255^255)|0)>>>0)/255|0)+(j&255)|0)>>>Ib<>2]=Hb|c[gh+24>>2]|Gb;Gb=Md;Hb=Ld;Ib=Kd;Jb=Jd;Kb=Eb;Lb=Fb;Ig=Hg;eh=dh+4|0;g=66;continue}else if((g|0)==66){$g=c[eh>>2]|0;f=Gb&255;_g=Hb&255;g=c[124356+(_g<<2)>>2]|0;Zg=Ib&255;Yg=Jb&255;a=c[124356+(Yg<<2)>>2]|0;m=Kb&255;ah=Lb&255;l=c[124356+(ah<<2)>>2]|0;f=((((_(d[a+((c[gh+16>>2]&$g)>>>Zg)>>0]|0,k&255^255)|0)>>>0)/255|0)+(i&255)|0)>>>Yg<>2]&$g)>>>f)>>0]|0,k&255^255)|0)>>>0)/255|0)+(h&255)|0)>>>_g<>2]&$g)>>>m)>>0]|0,k&255^255)|0)>>>0)/255|0)+(j&255)|0)>>>ah<>2]=f|c[gh+24>>2]|m;m=eh+4|0;if((Ig|0)>1){fb=Gb;gb=Hb;ib=g;jb=Ib;kb=Jb;lb=a;mb=Kb;ob=Lb;pb=l;Rd=Jb;Sd=Ib;Ud=Hb;Vd=Gb;Fg=Ig+-1|0;bh=m;g=63;continue}else break}if(!n){fh=0;g=109;break}else g=m+(p-o<<2)|0}if((g|0)!=67)if((g|0)==109)return fh|0;break}case 2:{o=c[f+8>>2]|0;g=c[f+12>>2]|0;p=(c[a+16>>2]|0)/4|0;if(!g){h=0;return h|0}k=(c[a+20>>2]|0)+((_(c[f+4>>2]|0,p)|0)<<2)|0;n=g;g=k+(c[f>>2]<<2)|0;f:while(1){n=n+-1|0;switch(o&3|0){case 0:{fe=c[gh+32>>2]|0;ee=c[gh+28>>2]|0;Nb=fe&255;Ob=ee&255;Pb=c[124356+((ee&255)<<2)>>2]|0;Qb=(fe&65535)>>>8&255;Rb=(ee&65535)>>>8&255;Sb=c[124356+(((ee&65535)>>>8&65535)<<2)>>2]|0;Tb=fe>>>16&255;Ub=ee>>>16&255;Vb=c[124356+((ee>>>16&255)<<2)>>2]|0;ce=(e[gh+28>>1]|0)>>>8&255;de=(e[gh+32>>1]|0)>>>8&255;ee=ee&255;fe=fe&255;pg=(o+3|0)/4|0;Ng=g;g=76;break}case 3:{be=c[gh+32>>2]|0;ae=c[gh+28>>2]|0;Wb=be&255;Xb=ae&255;Yb=(be&65535)>>>8&255;Zb=(ae&65535)>>>8&255;$b=be>>>16&255;ac=ae>>>16&255;_d=(e[gh+28>>1]|0)>>>8&255;$d=(e[gh+32>>1]|0)>>>8&255;ae=ae&255;be=be&255;qg=(o+3|0)/4|0;Og=g;g=77;break}case 2:{Zd=c[gh+32>>2]|0;Yd=c[gh+28>>2]|0;cc=Zd&255;dc=Yd&255;ec=(Zd&65535)>>>8&255;gc=(Yd&65535)>>>8&255;hc=Zd>>>16&255;ic=Yd>>>16&255;Wd=(e[gh+28>>1]|0)>>>8&255;Xd=(e[gh+32>>1]|0)>>>8&255;Yd=Yd&255;Zd=Zd&255;rg=(o+3|0)/4|0;Pg=g;g=78;break}case 1:{nc=c[gh+32>>2]|0;oc=c[gh+28>>2]|0;jc=nc&255;kc=oc&255;lc=(nc&65535)>>>8&255;mc=(oc&65535)>>>8&255;nc=nc>>>16&255;oc=oc>>>16&255;sg=(o+3|0)/4|0;Qg=g;g=79;break}default:{g=80;break f}}while(1)if((g|0)==76){Xb=c[Ng>>2]|0;Yb=Nb&255;$b=Qb&255;Wb=Tb&255;Zb=(d[Pb+((c[gh+12>>2]&Xb)>>>Yb)>>0]|0)+(h&255)|0;ac=(d[Sb+((c[gh+16>>2]&Xb)>>>$b)>>0]|0)+(i&255)|0;Xb=(d[Vb+((c[gh+20>>2]&Xb)>>>Wb)>>0]|0)+(j&255)|0;c[Ng>>2]=(ac>>>0>255?255:ac)>>>(Rb&255)<<$b|(Zb>>>0>255?255:Zb)>>>(Ob&255)<>2]|(Xb>>>0>255?255:Xb)>>>(Ub&255)<>2]|0;gc=Wb&255;hc=Xb&255;Wd=Yb&255;Xd=Zb&255;cc=$b&255;dc=ac&255;ic=(d[(c[124356+(hc<<2)>>2]|0)+((c[gh+12>>2]&ec)>>>gc)>>0]|0)+(h&255)|0;Yd=(d[(c[124356+(Xd<<2)>>2]|0)+((c[gh+16>>2]&ec)>>>Wd)>>0]|0)+(i&255)|0;ec=(d[(c[124356+(dc<<2)>>2]|0)+((c[gh+20>>2]&ec)>>>cc)>>0]|0)+(j&255)|0;c[Og>>2]=(Yd>>>0>255?255:Yd)>>>Xd<>>0>255?255:ic)>>>hc<>2]|(ec>>>0>255?255:ec)>>>dc<>2]|0;mc=cc&255;nc=dc&255;sg=ec&255;Qg=gc&255;jc=hc&255;kc=ic&255;oc=(d[(c[124356+(nc<<2)>>2]|0)+((c[gh+12>>2]&lc)>>>mc)>>0]|0)+(h&255)|0;g=(d[(c[124356+(Qg<<2)>>2]|0)+((c[gh+16>>2]&lc)>>>sg)>>0]|0)+(i&255)|0;lc=(d[(c[124356+(kc<<2)>>2]|0)+((c[gh+20>>2]&lc)>>>jc)>>0]|0)+(j&255)|0;c[Pg>>2]=(g>>>0>255?255:g)>>>Qg<>>0>255?255:oc)>>>nc<>2]|(lc>>>0>255?255:lc)>>>kc<>2]|0;eh=jc&255;dh=kc&255;g=c[124356+(dh<<2)>>2]|0;bh=lc&255;ah=mc&255;a=c[124356+(ah<<2)>>2]|0;m=nc&255;f=oc&255;l=c[124356+(f<<2)>>2]|0;ch=(d[g+((c[gh+12>>2]&k)>>>eh)>>0]|0)+(h&255)|0;$g=(d[a+((c[gh+16>>2]&k)>>>bh)>>0]|0)+(i&255)|0;k=(d[l+((c[gh+20>>2]&k)>>>m)>>0]|0)+(j&255)|0;c[Qg>>2]=($g>>>0>255?255:$g)>>>ah<>>0>255?255:ch)>>>dh<>2]|(k>>>0>255?255:k)>>>f<1){Nb=jc;Ob=kc;Pb=g;Qb=lc;Rb=mc;Sb=a;Tb=nc;Ub=oc;Vb=l;ce=mc;de=lc;ee=kc;fe=jc;pg=sg+-1|0;Ng=m;g=76;continue}else break}if(!n){fh=0;g=109;break}else g=m+(p-o<<2)|0}if((g|0)!=80)if((g|0)==109)return fh|0;break}case 4:{o=c[f+8>>2]|0;g=c[f+12>>2]|0;p=(c[a+16>>2]|0)/4|0;if(!g){h=0;return h|0}k=(c[a+20>>2]|0)+((_(c[f+4>>2]|0,p)|0)<<2)|0;n=g;g=k+(c[f>>2]<<2)|0;g:while(1){n=n+-1|0;switch(o&3|0){case 0:{re=c[gh+32>>2]|0;qe=c[gh+28>>2]|0;tc=re&255;vc=qe&255;wc=c[124356+((qe&255)<<2)>>2]|0;xc=(re&65535)>>>8&255;yc=(qe&65535)>>>8&255;zc=c[124356+(((qe&65535)>>>8&65535)<<2)>>2]|0;Ac=re>>>16&255;Bc=qe>>>16&255;Cc=c[124356+((qe>>>16&255)<<2)>>2]|0;oe=(e[gh+28>>1]|0)>>>8&255;pe=(e[gh+32>>1]|0)>>>8&255;qe=qe&255;re=re&255;tg=(o+3|0)/4|0;Rg=g;g=89;break}case 3:{ne=c[gh+32>>2]|0;me=c[gh+28>>2]|0;Ec=ne&255;Fc=me&255;Gc=(ne&65535)>>>8&255;Hc=(me&65535)>>>8&255;Ic=ne>>>16&255;Jc=me>>>16&255;ke=(e[gh+28>>1]|0)>>>8&255;le=(e[gh+32>>1]|0)>>>8&255;me=me&255;ne=ne&255;ug=(o+3|0)/4|0;Sg=g;g=90;break}case 2:{je=c[gh+32>>2]|0;ie=c[gh+28>>2]|0;Kc=je&255;Lc=ie&255;Mc=(je&65535)>>>8&255;Nc=(ie&65535)>>>8&255;Oc=je>>>16&255;Pc=ie>>>16&255;ge=(e[gh+28>>1]|0)>>>8&255;he=(e[gh+32>>1]|0)>>>8&255;ie=ie&255;je=je&255;vg=(o+3|0)/4|0;Tg=g;g=91;break}case 1:{Uc=c[gh+32>>2]|0;Vc=c[gh+28>>2]|0;Qc=Uc&255;Rc=Vc&255;Sc=(Uc&65535)>>>8&255;Tc=(Vc&65535)>>>8&255;Uc=Uc>>>16&255;Vc=Vc>>>16&255;wg=(o+3|0)/4|0;Ug=g;g=92;break}default:{g=93;break g}}while(1)if((g|0)==89){Gc=c[Rg>>2]|0;Fc=tc&255;Hc=xc&255;Ec=Ac&255;Fc=(((_(d[zc+((c[gh+16>>2]&Gc)>>>Hc)>>0]|0,i&255)|0)>>>0)/255|0)>>>(yc&255)<>2]&Gc)>>>Fc)>>0]|0,h&255)|0)>>>0)/255|0)>>>(vc&255)<>2]&Gc)>>>Ec)>>0]|0,j&255)|0)>>>0)/255|0)>>>(Bc&255)<>2]=Fc|c[gh+24>>2]|Ec;Ec=re;Fc=qe;Gc=pe;Hc=oe;Ic=Ac;Jc=Bc;ke=oe;le=pe;me=qe;ne=re;ug=tg;Sg=Rg+4|0;g=90;continue}else if((g|0)==90){Nc=c[Sg>>2]|0;Lc=Ec&255;Oc=Fc&255;Pc=Gc&255;ge=Hc&255;Kc=Ic&255;Mc=Jc&255;Lc=(((_(d[(c[124356+(ge<<2)>>2]|0)+((c[gh+16>>2]&Nc)>>>Pc)>>0]|0,i&255)|0)>>>0)/255|0)>>>ge<>2]|0)+((c[gh+12>>2]&Nc)>>>Lc)>>0]|0,h&255)|0)>>>0)/255|0)>>>Oc<>2]|0)+((c[gh+20>>2]&Nc)>>>Kc)>>0]|0,j&255)|0)>>>0)/255|0)>>>Mc<>2]=Lc|c[gh+24>>2]|Kc;Kc=ne;Lc=me;Mc=le;Nc=ke;Oc=Ic;Pc=Jc;ge=ke;he=le;ie=me;je=ne;vg=ug;Tg=Sg+4|0;g=91;continue}else if((g|0)==91){Tc=c[Tg>>2]|0;Rc=Kc&255;Uc=Lc&255;Vc=Mc&255;wg=Nc&255;Qc=Oc&255;Sc=Pc&255;Rc=(((_(d[(c[124356+(wg<<2)>>2]|0)+((c[gh+16>>2]&Tc)>>>Vc)>>0]|0,i&255)|0)>>>0)/255|0)>>>wg<>2]|0)+((c[gh+12>>2]&Tc)>>>Rc)>>0]|0,h&255)|0)>>>0)/255|0)>>>Uc<>2]|0)+((c[gh+20>>2]&Tc)>>>Qc)>>0]|0,j&255)|0)>>>0)/255|0)>>>Sc<>2]=Rc|c[gh+24>>2]|Qc;Qc=je;Rc=ie;Sc=he;Tc=ge;Uc=Oc;Vc=Pc;wg=vg;Ug=Tg+4|0;g=92;continue}else if((g|0)==92){eh=c[Ug>>2]|0;f=Qc&255;dh=Rc&255;g=c[124356+(dh<<2)>>2]|0;ch=Sc&255;bh=Tc&255;a=c[124356+(bh<<2)>>2]|0;m=Uc&255;k=Vc&255;l=c[124356+(k<<2)>>2]|0;f=(((_(d[a+((c[gh+16>>2]&eh)>>>ch)>>0]|0,i&255)|0)>>>0)/255|0)>>>bh<>2]&eh)>>>f)>>0]|0,h&255)|0)>>>0)/255|0)>>>dh<>2]&eh)>>>m)>>0]|0,j&255)|0)>>>0)/255|0)>>>k<>2]=f|c[gh+24>>2]|m;m=Ug+4|0;if((wg|0)>1){tc=Qc;vc=Rc;wc=g;xc=Sc;yc=Tc;zc=a;Ac=Uc;Bc=Vc;Cc=l;oe=Tc;pe=Sc;qe=Rc;re=Qc;tg=wg+-1|0;Rg=m;g=89;continue}else break}if(!n){fh=0;g=109;break}else g=m+(p-o<<2)|0}if((g|0)!=93)if((g|0)==109)return fh|0;break}default:{l=c[f+8>>2]|0;g=c[f+12>>2]|0;m=(c[a+16>>2]|0)/4|0;if(!g){h=0;return h|0}k=(c[a+20>>2]|0)+((_(c[f+4>>2]|0,m)|0)<<2)|0;a=g;g=k+(c[f>>2]<<2)|0;h:while(1){a=a+-1|0;switch(l&3|0){case 0:{Ja=c[gh+28>>2]|0;Ia=c[gh+32>>2]|0;P=Ja&255;Q=Ia&255;R=(Ja&65535)>>>8&255;S=(Ia&65535)>>>8&255;T=Ja>>>16&255;U=Ia>>>16&255;Ga=(e[gh+32>>1]|0)>>>8&255;Ha=(e[gh+28>>1]|0)>>>8&255;Ia=Ia&255;Ja=Ja&255;Ka=(l+3|0)/4|0;Sa=g;g=102;break}case 3:{Fa=c[gh+28>>2]|0;Ea=c[gh+32>>2]|0;V=Fa&255;W=Ea&255;X=(Fa&65535)>>>8&255;Y=(Ea&65535)>>>8&255;Z=Fa>>>16&255;$=Ea>>>16&255;Ca=(e[gh+32>>1]|0)>>>8&255;Da=(e[gh+28>>1]|0)>>>8&255;Ea=Ea&255;Fa=Fa&255;La=(l+3|0)/4|0;Ta=g;g=103;break}case 2:{Ba=c[gh+28>>2]|0;Aa=c[gh+32>>2]|0;aa=Ba&255;ba=Aa&255;ca=(Ba&65535)>>>8&255;da=(Aa&65535)>>>8&255;ea=Ba>>>16&255;fa=Aa>>>16&255;ya=(e[gh+32>>1]|0)>>>8&255;za=(e[gh+28>>1]|0)>>>8&255;Aa=Aa&255;Ba=Ba&255;Ma=(l+3|0)/4|0;Ua=g;g=104;break}case 1:{ka=c[gh+28>>2]|0;la=c[gh+32>>2]|0;ga=ka&255;ha=la&255;ia=(ka&65535)>>>8&255;ja=(la&65535)>>>8&255;ka=ka>>>16&255;la=la>>>16&255;Na=(l+3|0)/4|0;Va=g;g=105;break}default:{g=106;break h}}while(1)if((g|0)==102){c[Sa>>2]=(i&255)>>>(R&255)<<(S&255)|(h&255)>>>(P&255)<<(Q&255)|c[gh+24>>2]|(j&255)>>>(T&255)<<(U&255);V=Ja;W=Ia;X=Ha;Y=Ga;Z=T;$=U;Ca=Ga;Da=Ha;Ea=Ia;Fa=Ja;La=Ka;Ta=Sa+4|0;g=103;continue}else if((g|0)==103){c[Ta>>2]=(i&255)>>>(X&255)<<(Y&255)|(h&255)>>>(V&255)<<(W&255)|c[gh+24>>2]|(j&255)>>>(Z&255)<<($&255);aa=Fa;ba=Ea;ca=Da;da=Ca;ea=Z;fa=$;ya=Ca;za=Da;Aa=Ea;Ba=Fa;Ma=La;Ua=Ta+4|0;g=104;continue}else if((g|0)==104){c[Ua>>2]=(i&255)>>>(ca&255)<<(da&255)|(h&255)>>>(aa&255)<<(ba&255)|c[gh+24>>2]|(j&255)>>>(ea&255)<<(fa&255);ga=Ba;ha=Aa;ia=za;ja=ya;ka=ea;la=fa;Na=Ma;Va=Ua+4|0;g=105;continue}else if((g|0)==105){c[Va>>2]=(i&255)>>>(ia&255)<<(ja&255)|(h&255)>>>(ga&255)<<(ha&255)|c[gh+24>>2]|(j&255)>>>(ka&255)<<(la&255);g=Va+4|0;if((Na|0)>1){P=ga;Q=ha;R=ia;S=ja;T=ka;U=la;Ga=ja;Ha=ia;Ia=ha;Ja=ga;Ka=Na+-1|0;Sa=g;g=102;continue}else break}if(!a){fh=0;g=109;break}else g=g+(m-l<<2)|0}if((g|0)!=106)if((g|0)==109)return fh|0}}break}default:{h=k7a(4)|0;return h|0}}return 0}function Mdb(b,f,g,h,i,j,k){b=b|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,jb=0,kb=0,lb=0,mb=0,nb=0,ob=0,pb=0,qb=0,rb=0,sb=0,tb=0,ub=0,vb=0,wb=0,xb=0,yb=0,zb=0,Ab=0,Bb=0,Cb=0,Db=0,Eb=0,Fb=0,Gb=0,Hb=0,Ib=0,Jb=0,Kb=0,Lb=0,Mb=0,Nb=0,Ob=0,Pb=0,Qb=0,Rb=0,Sb=0,Tb=0,Ub=0,Vb=0,Wb=0,Xb=0,Yb=0,Zb=0,_b=0,$b=0,ac=0,bc=0,cc=0,dc=0,ec=0,fc=0,gc=0,hc=0,ic=0,jc=0,kc=0,lc=0,mc=0,nc=0,oc=0,pc=0,qc=0,rc=0,sc=0,tc=0,uc=0,vc=0,wc=0,xc=0,yc=0,zc=0,Ac=0,Bc=0,Cc=0,Dc=0,Ec=0,Fc=0,Gc=0,Hc=0,Ic=0,Jc=0,Kc=0,Lc=0,Mc=0,Nc=0,Oc=0,Pc=0,Qc=0,Rc=0,Sc=0,Tc=0,Uc=0,Vc=0,Wc=0,Xc=0,Yc=0,Zc=0,_c=0,$c=0,ad=0,bd=0,cd=0,dd=0,ed=0,fd=0,gd=0,hd=0,id=0,jd=0,kd=0,ld=0,md=0,nd=0,od=0,pd=0,qd=0,rd=0,sd=0,td=0,ud=0,vd=0;vd=c[b+4>>2]|0;Rb=k&255^255;l=a[vd+9>>0]|0;if(l<<24>>24!=4){h=k7a(4)|0;return h|0}switch(g|0){case 1:{r=c[f+8>>2]|0;g=c[f+12>>2]|0;q=(c[b+16>>2]|0)/(l&255|0)|0;if(!g){h=0;return h|0}p=g;g=(c[b+20>>2]|0)+((_(c[f+4>>2]|0,q)|0)<<2)+(c[f>>2]<<2)|0;a:while(1){p=p+-1|0;switch(r&3|0){case 0:{Cb=c[vd+32>>2]|0;Eb=c[vd+28>>2]|0;La=Cb&255;Ma=Eb&255;Na=c[124356+((Eb&255)<<2)>>2]|0;Wa=(e[vd+28>>1]|0)>>>8&255;Xa=(e[vd+32>>1]|0)>>>8&255;Ya=Eb&255;Za=Cb&255;ob=(Cb&65535)>>>8&255;xb=(Eb&65535)>>>8&255;yb=c[124356+(((Eb&65535)>>>8&65535)<<2)>>2]|0;zb=Cb>>>16&255;Ab=Eb>>>16&255;Bb=c[124356+((Eb>>>16&255)<<2)>>2]|0;Cb=Cb>>>24&255;Db=Eb>>>24&255;Eb=c[124356+(Eb>>>24<<2)>>2]|0;Yc=(r+3|0)/4|0;id=g;g=10;break}case 3:{Lb=c[vd+32>>2]|0;Mb=c[vd+28>>2]|0;Sa=(e[vd+28>>1]|0)>>>8&255;Ta=(e[vd+32>>1]|0)>>>8&255;Ua=Mb&255;Va=Lb&255;Fb=Lb&255;Gb=Mb&255;Hb=(Lb&65535)>>>8&255;Ib=(Mb&65535)>>>8&255;Jb=Lb>>>16&255;Kb=Mb>>>16&255;Lb=Lb>>>24&255;Mb=Mb>>>24&255;Zc=(r+3|0)/4|0;jd=g;g=11;break}case 2:{Ub=c[vd+32>>2]|0;Vb=c[vd+28>>2]|0;Oa=(e[vd+28>>1]|0)>>>8&255;Pa=(e[vd+32>>1]|0)>>>8&255;Qa=Vb&255;Ra=Ub&255;Nb=Ub&255;Ob=Vb&255;Pb=(Ub&65535)>>>8&255;Qb=(Vb&65535)>>>8&255;Sb=Ub>>>16&255;Tb=Vb>>>16&255;Ub=Ub>>>24&255;Vb=Vb>>>24&255;_c=(r+3|0)/4|0;kd=g;g=12;break}case 1:{ac=c[vd+32>>2]|0;bc=c[vd+28>>2]|0;Wb=ac&255;Xb=bc&255;Yb=(ac&65535)>>>8&255;Zb=(bc&65535)>>>8&255;_b=ac>>>16&255;$b=bc>>>16&255;ac=ac>>>24&255;bc=bc>>>24&255;$c=(r+3|0)/4|0;ld=g;g=13;break}default:{g=14;break a}}while(1)if((g|0)==10){Ta=c[id>>2]|0;Va=La&255;Fb=ob&255;Ua=zb&255;Sa=Cb&255;c[id>>2]=((((_(d[yb+((c[vd+16>>2]&Ta)>>>Fb)>>0]|0,Rb)|0)>>>0)/255|0)+(i&255)|0)>>>(xb&255)<>2]&Ta)>>>Va)>>0]|0,Rb)|0)>>>0)/255|0)+(h&255)|0)>>>(Ma&255)<>2]&Ta)>>>Ua)>>0]|0,Rb)|0)>>>0)/255|0)+(j&255)|0)>>>(Ab&255)<>2]&Ta)>>>Sa)>>0]|0,Rb)|0)>>>0)/255|0)+(k&255)|0)>>>(Db&255)<>2]|0;Ob=Fb&255;Pb=Gb&255;Qb=Hb&255;Sb=Ib&255;Ra=Jb&255;Nb=Kb&255;Oa=Lb&255;Pa=Mb&255;c[jd>>2]=((((_(d[(c[124356+(Sb<<2)>>2]|0)+((c[vd+16>>2]&Qa)>>>Qb)>>0]|0,Rb)|0)>>>0)/255|0)+(i&255)|0)>>>Sb<>2]|0)+((c[vd+12>>2]&Qa)>>>Ob)>>0]|0,Rb)|0)>>>0)/255|0)+(h&255)|0)>>>Pb<>2]|0)+((c[vd+20>>2]&Qa)>>>Ra)>>0]|0,Rb)|0)>>>0)/255|0)+(j&255)|0)>>>Nb<>2]|0)+((c[vd+24>>2]&Qa)>>>Oa)>>0]|0,Rb)|0)>>>0)/255|0)+(k&255)|0)>>>Pa<>2]|0;$b=Nb&255;ac=Ob&255;bc=Pb&255;$c=Qb&255;Zb=Sb&255;_b=Tb&255;Wb=Ub&255;Xb=Vb&255;c[kd>>2]=((((_(d[(c[124356+($c<<2)>>2]|0)+((c[vd+16>>2]&Yb)>>>bc)>>0]|0,Rb)|0)>>>0)/255|0)+(i&255)|0)>>>$c<>2]|0)+((c[vd+12>>2]&Yb)>>>$b)>>0]|0,Rb)|0)>>>0)/255|0)+(h&255)|0)>>>ac<<$b|((((_(d[(c[124356+(_b<<2)>>2]|0)+((c[vd+20>>2]&Yb)>>>Zb)>>0]|0,Rb)|0)>>>0)/255|0)+(j&255)|0)>>>_b<>2]|0)+((c[vd+24>>2]&Yb)>>>Wb)>>0]|0,Rb)|0)>>>0)/255|0)+(k&255)|0)>>>Xb<>2]|0;rd=Wb&255;qd=Xb&255;g=c[124356+(qd<<2)>>2]|0;pd=Yb&255;od=Zb&255;l=c[124356+(od<<2)>>2]|0;td=_b&255;sd=$b&255;m=c[124356+(sd<<2)>>2]|0;o=ac&255;f=bc&255;n=c[124356+(f<<2)>>2]|0;c[ld>>2]=((((_(d[l+((c[vd+16>>2]&b)>>>pd)>>0]|0,Rb)|0)>>>0)/255|0)+(i&255)|0)>>>od<>2]&b)>>>rd)>>0]|0,Rb)|0)>>>0)/255|0)+(h&255)|0)>>>qd<>2]&b)>>>td)>>0]|0,Rb)|0)>>>0)/255|0)+(j&255)|0)>>>sd<>2]&b)>>>o)>>0]|0,Rb)|0)>>>0)/255|0)+(k&255)|0)>>>f<1){La=Wb;Ma=Xb;Na=g;Wa=Zb;Xa=Yb;Ya=Xb;Za=Wb;ob=Yb;xb=Zb;yb=l;zb=_b;Ab=$b;Bb=m;Cb=ac;Db=bc;Eb=n;Yc=$c+-1|0;id=o;g=10;continue}else break}if(!p){ud=0;g=56;break}else g=o+(q-r<<2)|0}if((g|0)!=14)if((g|0)==56)return ud|0;break}case 2:{r=c[f+8>>2]|0;g=c[f+12>>2]|0;q=(c[b+16>>2]|0)/(l&255|0)|0;if(!g){h=0;return h|0}k=(c[b+20>>2]|0)+((_(c[f+4>>2]|0,q)|0)<<2)|0;p=g;g=k+(c[f>>2]<<2)|0;b:while(1){p=p+-1|0;switch(r&3|0){case 0:{lc=c[vd+32>>2]|0;nc=c[vd+28>>2]|0;gb=(e[vd+28>>1]|0)>>>8&255;hb=(e[vd+32>>1]|0)>>>8&255;ib=nc&255;jb=lc&255;cc=lc&255;dc=nc&255;ec=c[124356+((nc&255)<<2)>>2]|0;fc=(lc&65535)>>>8&255;gc=(nc&65535)>>>8&255;hc=c[124356+(((nc&65535)>>>8&65535)<<2)>>2]|0;ic=lc>>>16&255;jc=nc>>>16&255;kc=c[124356+((nc>>>16&255)<<2)>>2]|0;lc=lc>>>24&255;mc=nc>>>24&255;nc=c[124356+(nc>>>24<<2)>>2]|0;ad=(r+3|0)/4|0;md=g;g=23;break}case 3:{uc=c[vd+32>>2]|0;vc=c[vd+28>>2]|0;cb=(e[vd+28>>1]|0)>>>8&255;db=(e[vd+32>>1]|0)>>>8&255;eb=vc&255;fb=uc&255;oc=uc&255;pc=vc&255;qc=(uc&65535)>>>8&255;rc=(vc&65535)>>>8&255;sc=uc>>>16&255;tc=vc>>>16&255;uc=uc>>>24&255;vc=vc>>>24&255;bd=(r+3|0)/4|0;nd=g;g=24;break}case 2:{Cc=c[vd+32>>2]|0;Dc=c[vd+28>>2]|0;_a=(e[vd+28>>1]|0)>>>8&255;$a=(e[vd+32>>1]|0)>>>8&255;ab=Dc&255;bb=Cc&255;wc=Cc&255;xc=Dc&255;yc=(Cc&65535)>>>8&255;zc=(Dc&65535)>>>8&255;Ac=Cc>>>16&255;Bc=Dc>>>16&255;Cc=Cc>>>24&255;Dc=Dc>>>24&255;cd=(r+3|0)/4|0;od=g;g=25;break}case 1:{Kc=c[vd+32>>2]|0;Lc=c[vd+28>>2]|0;Ec=Kc&255;Fc=Lc&255;Gc=(Kc&65535)>>>8&255;Hc=(Lc&65535)>>>8&255;Ic=Kc>>>16&255;Jc=Lc>>>16&255;Kc=Kc>>>24&255;Lc=Lc>>>24&255;dd=(r+3|0)/4|0;pd=g;g=26;break}default:{g=27;break b}}while(1)if((g|0)==23){db=c[md>>2]|0;oc=cc&255;qc=fc&255;eb=ic&255;cb=lc&255;pc=(d[ec+((c[vd+12>>2]&db)>>>oc)>>0]|0)+(h&255)|0;rc=(d[hc+((c[vd+16>>2]&db)>>>qc)>>0]|0)+(i&255)|0;fb=(d[kc+((c[vd+20>>2]&db)>>>eb)>>0]|0)+(j&255)|0;c[md>>2]=(rc>>>0>255?255:rc)>>>(gc&255)<>>0>255?255:pc)>>>(dc&255)<>>0>255?255:fb)>>>(jc&255)<>2]&db)>>>cb)>>0]|0)>>>(mc&255)<>2]|0;yc=oc&255;zc=pc&255;Bc=qc&255;Cc=rc&255;bb=sc&255;wc=tc&255;_a=uc&255;$a=vc&255;Ac=(d[(c[124356+(zc<<2)>>2]|0)+((c[vd+12>>2]&ab)>>>yc)>>0]|0)+(h&255)|0;Dc=(d[(c[124356+(Cc<<2)>>2]|0)+((c[vd+16>>2]&ab)>>>Bc)>>0]|0)+(i&255)|0;xc=(d[(c[124356+(wc<<2)>>2]|0)+((c[vd+20>>2]&ab)>>>bb)>>0]|0)+(j&255)|0;c[nd>>2]=(Dc>>>0>255?255:Dc)>>>Cc<>>0>255?255:Ac)>>>zc<>>0>255?255:xc)>>>wc<>2]|0)+((c[vd+24>>2]&ab)>>>_a)>>0]|0)>>>$a<<_a;_a=cb;$a=db;ab=eb;bb=fb;wc=fb;xc=eb;yc=db;zc=cb;Ac=sc;Bc=tc;Cc=uc;Dc=vc;cd=bd;od=nd+4|0;g=25;continue}else if((g|0)==25){Gc=c[od>>2]|0;Kc=wc&255;Lc=xc&255;pd=yc&255;g=zc&255;Hc=Ac&255;Ic=Bc&255;Ec=Cc&255;Fc=Dc&255;dd=(d[(c[124356+(Lc<<2)>>2]|0)+((c[vd+12>>2]&Gc)>>>Kc)>>0]|0)+(h&255)|0;k=(d[(c[124356+(g<<2)>>2]|0)+((c[vd+16>>2]&Gc)>>>pd)>>0]|0)+(i&255)|0;Jc=(d[(c[124356+(Ic<<2)>>2]|0)+((c[vd+20>>2]&Gc)>>>Hc)>>0]|0)+(j&255)|0;c[od>>2]=(k>>>0>255?255:k)>>>g<>>0>255?255:dd)>>>Lc<>>0>255?255:Jc)>>>Ic<>2]|0)+((c[vd+24>>2]&Gc)>>>Ec)>>0]|0)>>>Fc<>2]|0;rd=Ec&255;qd=Fc&255;g=c[124356+(qd<<2)>>2]|0;kd=Gc&255;jd=Hc&255;l=c[124356+(jd<<2)>>2]|0;b=Ic&255;td=Jc&255;m=c[124356+(td<<2)>>2]|0;o=Kc&255;k=Lc&255;n=c[124356+(k<<2)>>2]|0;ld=(d[g+((c[vd+12>>2]&f)>>>rd)>>0]|0)+(h&255)|0;id=(d[l+((c[vd+16>>2]&f)>>>kd)>>0]|0)+(i&255)|0;sd=(d[m+((c[vd+20>>2]&f)>>>b)>>0]|0)+(j&255)|0;c[pd>>2]=(id>>>0>255?255:id)>>>jd<>>0>255?255:ld)>>>qd<>>0>255?255:sd)>>>td<>2]&f)>>>o)>>0]|0)>>>k<1){gb=Hc;hb=Gc;ib=Fc;jb=Ec;cc=Ec;dc=Fc;ec=g;fc=Gc;gc=Hc;hc=l;ic=Ic;jc=Jc;kc=m;lc=Kc;mc=Lc;nc=n;ad=dd+-1|0;md=o;g=23;continue}else break}if(!p){ud=0;g=56;break}else g=o+(q-r<<2)|0}if((g|0)!=27)if((g|0)==56)return ud|0;break}case 4:{r=c[f+8>>2]|0;g=c[f+12>>2]|0;q=(c[b+16>>2]|0)/(l&255|0)|0;if(!g){h=0;return h|0}k=(c[b+20>>2]|0)+((_(c[f+4>>2]|0,q)|0)<<2)|0;p=g;g=k+(c[f>>2]<<2)|0;c:while(1){p=p+-1|0;switch(r&3|0){case 0:{Vc=c[vd+32>>2]|0;Xc=c[vd+28>>2]|0;tb=(e[vd+28>>1]|0)>>>8&255;ub=(e[vd+32>>1]|0)>>>8&255;vb=Xc&255;wb=Vc&255;Mc=Vc&255;Nc=Xc&255;Oc=c[124356+((Xc&255)<<2)>>2]|0;Pc=(Vc&65535)>>>8&255;Qc=(Xc&65535)>>>8&255;Rc=c[124356+(((Xc&65535)>>>8&65535)<<2)>>2]|0;Sc=Vc>>>16&255;Tc=Xc>>>16&255;Uc=c[124356+((Xc>>>16&255)<<2)>>2]|0;Vc=Vc>>>24&255;Wc=Xc>>>24&255;Xc=c[124356+(Xc>>>24<<2)>>2]|0;ed=(r+3|0)/4|0;qd=g;g=36;break}case 3:{sb=c[vd+32>>2]|0;rb=c[vd+28>>2]|0;na=sb&255;oa=rb&255;pa=(sb&65535)>>>8&255;qa=(rb&65535)>>>8&255;ra=sb>>>16&255;sa=rb>>>16&255;ta=sb>>>24&255;ua=rb>>>24&255;pb=(e[vd+28>>1]|0)>>>8&255;qb=(e[vd+32>>1]|0)>>>8&255;rb=rb&255;sb=sb&255;fd=(r+3|0)/4|0;rd=g;g=37;break}case 2:{nb=c[vd+32>>2]|0;mb=c[vd+28>>2]|0;va=nb&255;wa=mb&255;xa=(nb&65535)>>>8&255;ya=(mb&65535)>>>8&255;za=nb>>>16&255;Aa=mb>>>16&255;Ba=nb>>>24&255;Ca=mb>>>24&255;kb=(e[vd+28>>1]|0)>>>8&255;lb=(e[vd+32>>1]|0)>>>8&255;mb=mb&255;nb=nb&255;gd=(r+3|0)/4|0;sd=g;g=38;break}case 1:{Ja=c[vd+32>>2]|0;Ka=c[vd+28>>2]|0;Da=Ja&255;Ea=Ka&255;Fa=(Ja&65535)>>>8&255;Ga=(Ka&65535)>>>8&255;Ha=Ja>>>16&255;Ia=Ka>>>16&255;Ja=Ja>>>24&255;Ka=Ka>>>24&255;hd=(r+3|0)/4|0;td=g;g=39;break}default:{g=40;break c}}while(1)if((g|0)==36){oa=c[qd>>2]|0;qa=Mc&255;ra=Pc&255;pa=Sc&255;na=Vc&255;c[qd>>2]=(((_(d[Rc+((c[vd+16>>2]&oa)>>>ra)>>0]|0,i&255)|0)>>>0)/255|0)>>>(Qc&255)<>2]&oa)>>>qa)>>0]|0,h&255)|0)>>>0)/255|0)>>>(Nc&255)<>2]&oa)>>>pa)>>0]|0,j&255)|0)>>>0)/255|0)>>>(Tc&255)<>2]&oa)>>>na)>>0]|0)>>>(Wc&255)<>2]|0;Aa=na&255;Ba=oa&255;Ca=pa&255;kb=qa&255;ya=ra&255;za=sa&255;va=ta&255;wa=ua&255;c[rd>>2]=(((_(d[(c[124356+(kb<<2)>>2]|0)+((c[vd+16>>2]&xa)>>>Ca)>>0]|0,i&255)|0)>>>0)/255|0)>>>kb<>2]|0)+((c[vd+12>>2]&xa)>>>Aa)>>0]|0,h&255)|0)>>>0)/255|0)>>>Ba<>2]|0)+((c[vd+20>>2]&xa)>>>ya)>>0]|0,j&255)|0)>>>0)/255|0)>>>za<>2]|0)+((c[vd+24>>2]&xa)>>>va)>>0]|0)>>>wa<>2]|0;Ia=va&255;Ja=wa&255;Ka=xa&255;hd=ya&255;Ga=za&255;Ha=Aa&255;Da=Ba&255;Ea=Ca&255;c[sd>>2]=(((_(d[(c[124356+(hd<<2)>>2]|0)+((c[vd+16>>2]&Fa)>>>Ka)>>0]|0,i&255)|0)>>>0)/255|0)>>>hd<>2]|0)+((c[vd+12>>2]&Fa)>>>Ia)>>0]|0,h&255)|0)>>>0)/255|0)>>>Ja<>2]|0)+((c[vd+20>>2]&Fa)>>>Ga)>>0]|0,j&255)|0)>>>0)/255|0)>>>Ha<>2]|0)+((c[vd+24>>2]&Fa)>>>Da)>>0]|0)>>>Ea<>2]|0;od=Da&255;nd=Ea&255;g=c[124356+(nd<<2)>>2]|0;md=Fa&255;ld=Ga&255;l=c[124356+(ld<<2)>>2]|0;b=Ha&255;pd=Ia&255;m=c[124356+(pd<<2)>>2]|0;o=Ja&255;k=Ka&255;n=c[124356+(k<<2)>>2]|0;c[td>>2]=(((_(d[l+((c[vd+16>>2]&f)>>>md)>>0]|0,i&255)|0)>>>0)/255|0)>>>ld<>2]&f)>>>od)>>0]|0,h&255)|0)>>>0)/255|0)>>>nd<>2]&f)>>>b)>>0]|0,j&255)|0)>>>0)/255|0)>>>pd<>2]&f)>>>o)>>0]|0)>>>k<1){tb=Ga;ub=Fa;vb=Ea;wb=Da;Mc=Da;Nc=Ea;Oc=g;Pc=Fa;Qc=Ga;Rc=l;Sc=Ha;Tc=Ia;Uc=m;Vc=Ja;Wc=Ka;Xc=n;ed=hd+-1|0;qd=o;g=36;continue}else break}if(!p){ud=0;g=56;break}else g=o+(q-r<<2)|0}if((g|0)!=40)if((g|0)==56)return ud|0;break}default:{n=c[f+8>>2]|0;g=c[f+12>>2]|0;m=(c[b+16>>2]|0)/(l&255|0)|0;if(!g){h=0;return h|0}b=(c[b+20>>2]|0)+((_(c[f+4>>2]|0,m)|0)<<2)|0;l=g;g=b+(c[f>>2]<<2)|0;d:while(1){l=l+-1|0;switch(n&3|0){case 0:{ea=c[vd+28>>2]|0;da=c[vd+32>>2]|0;o=ea&255;p=da&255;q=(ea&65535)>>>8&255;r=(da&65535)>>>8&255;s=ea>>>16&255;t=da>>>16&255;u=ea>>>24&255;v=da>>>24&255;ba=(e[vd+32>>1]|0)>>>8&255;ca=(e[vd+28>>1]|0)>>>8&255;da=da&255;ea=ea&255;fa=(n+3|0)/4|0;ja=g;g=49;break}case 3:{aa=c[vd+28>>2]|0;$=c[vd+32>>2]|0;w=aa&255;x=$&255;y=(aa&65535)>>>8&255;z=($&65535)>>>8&255;A=aa>>>16&255;B=$>>>16&255;C=aa>>>24&255;D=$>>>24&255;Y=(e[vd+32>>1]|0)>>>8&255;Z=(e[vd+28>>1]|0)>>>8&255;$=$&255;aa=aa&255;ga=(n+3|0)/4|0;ka=g;g=50;break}case 2:{X=c[vd+28>>2]|0;W=c[vd+32>>2]|0;E=X&255;F=W&255;G=(X&65535)>>>8&255;H=(W&65535)>>>8&255;I=X>>>16&255;J=W>>>16&255;K=X>>>24&255;L=W>>>24&255;U=(e[vd+32>>1]|0)>>>8&255;V=(e[vd+28>>1]|0)>>>8&255;W=W&255;X=X&255;ha=(n+3|0)/4|0;la=g;g=51;break}case 1:{S=c[vd+28>>2]|0;T=c[vd+32>>2]|0;M=S&255;N=T&255;O=(S&65535)>>>8&255;P=(T&65535)>>>8&255;Q=S>>>16&255;R=T>>>16&255;S=S>>>24&255;T=T>>>24&255;ia=(n+3|0)/4|0;ma=g;g=52;break}default:{g=53;break d}}while(1)if((g|0)==49){c[ja>>2]=(i&255)>>>(q&255)<<(r&255)|(h&255)>>>(o&255)<<(p&255)|(j&255)>>>(s&255)<<(t&255)|(k&255)>>>(u&255)<<(v&255);w=ea;x=da;y=ca;z=ba;A=s;B=t;C=u;D=v;Y=ba;Z=ca;$=da;aa=ea;ga=fa;ka=ja+4|0;g=50;continue}else if((g|0)==50){c[ka>>2]=(i&255)>>>(y&255)<<(z&255)|(h&255)>>>(w&255)<<(x&255)|(j&255)>>>(A&255)<<(B&255)|(k&255)>>>(C&255)<<(D&255);E=aa;F=$;G=Z;H=Y;I=A;J=B;K=C;L=D;U=Y;V=Z;W=$;X=aa;ha=ga;la=ka+4|0;g=51;continue}else if((g|0)==51){c[la>>2]=(i&255)>>>(G&255)<<(H&255)|(h&255)>>>(E&255)<<(F&255)|(j&255)>>>(I&255)<<(J&255)|(k&255)>>>(K&255)<<(L&255);M=X;N=W;O=V;P=U;Q=I;R=J;S=K;T=L;ia=ha;ma=la+4|0;g=52;continue}else if((g|0)==52){c[ma>>2]=(i&255)>>>(O&255)<<(P&255)|(h&255)>>>(M&255)<<(N&255)|(j&255)>>>(Q&255)<<(R&255)|(k&255)>>>(S&255)<<(T&255);g=ma+4|0;if((ia|0)>1){o=M;p=N;q=O;r=P;s=Q;t=R;u=S;v=T;ba=P;ca=O;da=N;ea=M;fa=ia+-1|0;ja=g;g=49;continue}else break}if(!l){ud=0;g=56;break}else g=g+(m-n<<2)|0}if((g|0)!=53)if((g|0)==56)return ud|0}}return 0}function Ndb(a,f,g,h,i,j,k){a=a|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0;switch(g|0){case 1:{n=c[f+8>>2]|0;g=c[f+12>>2]|0;m=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;if(!g)return 0;l=g;g=(c[a+20>>2]|0)+((_(c[f+4>>2]|0,m)|0)<<1)+(c[f>>2]<<1)|0;a:while(1){l=l+-1|0;switch(n&3|0){case 0:{u=594592;A=(n+3|0)/4|0;M=g;g=5;break}case 3:{z=594592;B=(n+3|0)/4|0;N=g;g=6;break}case 2:{o=594592;C=(n+3|0)/4|0;O=g;g=7;break}case 1:{p=594592;D=(n+3|0)/4|0;P=g;g=8;break}default:{g=9;break a}}while(1)if((g|0)==5){z=e[M>>1]|0;b[M>>1]=((((_(d[u+(z>>>5&31)>>0]|0,k&255^255)|0)>>>0)/255|0)+(i&255)|0)>>>3<<5|((((_(d[u+(z>>>10&31)>>0]|0,k&255^255)|0)>>>0)/255|0)+(h&255)|0)>>>3<<10|((((_(d[u+(z&31)>>0]|0,k&255^255)|0)>>>0)/255|0)+(j&255)|0)>>>3;z=u;B=A;N=M+2|0;g=6;continue}else if((g|0)==6){o=e[N>>1]|0;b[N>>1]=((((_(d[z+(o>>>5&31)>>0]|0,k&255^255)|0)>>>0)/255|0)+(i&255)|0)>>>3<<5|((((_(d[z+(o>>>10&31)>>0]|0,k&255^255)|0)>>>0)/255|0)+(h&255)|0)>>>3<<10|((((_(d[z+(o&31)>>0]|0,k&255^255)|0)>>>0)/255|0)+(j&255)|0)>>>3;o=z;C=B;O=N+2|0;g=7;continue}else if((g|0)==7){p=e[O>>1]|0;b[O>>1]=((((_(d[o+(p>>>5&31)>>0]|0,k&255^255)|0)>>>0)/255|0)+(i&255)|0)>>>3<<5|((((_(d[o+(p>>>10&31)>>0]|0,k&255^255)|0)>>>0)/255|0)+(h&255)|0)>>>3<<10|((((_(d[o+(p&31)>>0]|0,k&255^255)|0)>>>0)/255|0)+(j&255)|0)>>>3;p=o;D=C;P=O+2|0;g=8;continue}else if((g|0)==8){g=e[P>>1]|0;b[P>>1]=((((_(d[p+(g>>>5&31)>>0]|0,k&255^255)|0)>>>0)/255|0)+(i&255)|0)>>>3<<5|((((_(d[p+(g>>>10&31)>>0]|0,k&255^255)|0)>>>0)/255|0)+(h&255)|0)>>>3<<10|((((_(d[p+(g&31)>>0]|0,k&255^255)|0)>>>0)/255|0)+(j&255)|0)>>>3;g=P+2|0;if((D|0)>1){u=p;A=D+-1|0;M=g;g=5;continue}else break}if(!l){g=46;break}else g=g+(m-n<<1)|0}if((g|0)!=9)if((g|0)==46)return 0;break}case 2:{m=c[f+8>>2]|0;g=c[f+12>>2]|0;n=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;if(!g)return 0;a=(c[a+20>>2]|0)+((_(c[f+4>>2]|0,n)|0)<<1)|0;l=g;g=a+(c[f>>2]<<1)|0;b:while(1){l=l+-1|0;switch(m&3|0){case 0:{q=594592;E=(m+3|0)/4|0;Q=g;g=14;break}case 3:{r=594592;F=(m+3|0)/4|0;R=g;g=15;break}case 2:{s=594592;G=(m+3|0)/4|0;S=g;g=16;break}case 1:{t=594592;H=(m+3|0)/4|0;T=g;g=17;break}default:{g=18;break b}}while(1)if((g|0)==14){r=e[Q>>1]|0;F=(d[q+(r>>>10&31)>>0]|0)+(h&255)|0;R=(d[q+(r>>>5&31)>>0]|0)+(i&255)|0;r=(d[q+(r&31)>>0]|0)+(j&255)|0;b[Q>>1]=(R>>>0>255?255:R)>>>3<<5|(F>>>0>255?255:F)>>>3<<10|(r>>>0>255?255:r)>>>3;r=q;F=E;R=Q+2|0;g=15;continue}else if((g|0)==15){s=e[R>>1]|0;G=(d[r+(s>>>10&31)>>0]|0)+(h&255)|0;S=(d[r+(s>>>5&31)>>0]|0)+(i&255)|0;s=(d[r+(s&31)>>0]|0)+(j&255)|0;b[R>>1]=(S>>>0>255?255:S)>>>3<<5|(G>>>0>255?255:G)>>>3<<10|(s>>>0>255?255:s)>>>3;s=r;G=F;S=R+2|0;g=16;continue}else if((g|0)==16){t=e[S>>1]|0;H=(d[s+(t>>>10&31)>>0]|0)+(h&255)|0;T=(d[s+(t>>>5&31)>>0]|0)+(i&255)|0;t=(d[s+(t&31)>>0]|0)+(j&255)|0;b[S>>1]=(T>>>0>255?255:T)>>>3<<5|(H>>>0>255?255:H)>>>3<<10|(t>>>0>255?255:t)>>>3;t=s;H=G;T=S+2|0;g=17;continue}else if((g|0)==17){g=e[T>>1]|0;f=(d[t+(g>>>10&31)>>0]|0)+(h&255)|0;a=(d[t+(g>>>5&31)>>0]|0)+(i&255)|0;g=(d[t+(g&31)>>0]|0)+(j&255)|0;b[T>>1]=(a>>>0>255?255:a)>>>3<<5|(f>>>0>255?255:f)>>>3<<10|(g>>>0>255?255:g)>>>3;g=T+2|0;if((H|0)>1){q=t;E=H+-1|0;Q=g;g=14;continue}else break}if(!l){g=46;break}else g=g+(n-m<<1)|0}if((g|0)!=18)if((g|0)==46)return 0;break}case 4:{m=c[f+8>>2]|0;g=c[f+12>>2]|0;n=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;if(!g)return 0;a=(c[a+20>>2]|0)+((_(c[f+4>>2]|0,n)|0)<<1)|0;l=g;g=a+(c[f>>2]<<1)|0;c:while(1){l=l+-1|0;switch(m&3|0){case 0:{v=594592;I=(m+3|0)/4|0;U=g;g=23;break}case 3:{w=594592;J=(m+3|0)/4|0;V=g;g=24;break}case 2:{x=594592;K=(m+3|0)/4|0;W=g;g=25;break}case 1:{y=594592;L=(m+3|0)/4|0;X=g;g=26;break}default:{g=27;break c}}while(1)if((g|0)==23){w=e[U>>1]|0;b[U>>1]=(((_(d[v+(w>>>5&31)>>0]|0,i&255)|0)>>>0)/255|0)>>>3<<5|(((_(d[v+(w>>>10&31)>>0]|0,h&255)|0)>>>0)/255|0)>>>3<<10|(((_(d[v+(w&31)>>0]|0,j&255)|0)>>>0)/255|0)>>>3;w=v;J=I;V=U+2|0;g=24;continue}else if((g|0)==24){x=e[V>>1]|0;b[V>>1]=(((_(d[w+(x>>>5&31)>>0]|0,i&255)|0)>>>0)/255|0)>>>3<<5|(((_(d[w+(x>>>10&31)>>0]|0,h&255)|0)>>>0)/255|0)>>>3<<10|(((_(d[w+(x&31)>>0]|0,j&255)|0)>>>0)/255|0)>>>3;x=w;K=J;W=V+2|0;g=25;continue}else if((g|0)==25){y=e[W>>1]|0;b[W>>1]=(((_(d[x+(y>>>5&31)>>0]|0,i&255)|0)>>>0)/255|0)>>>3<<5|(((_(d[x+(y>>>10&31)>>0]|0,h&255)|0)>>>0)/255|0)>>>3<<10|(((_(d[x+(y&31)>>0]|0,j&255)|0)>>>0)/255|0)>>>3;y=x;L=K;X=W+2|0;g=26;continue}else if((g|0)==26){g=e[X>>1]|0;b[X>>1]=(((_(d[y+(g>>>5&31)>>0]|0,i&255)|0)>>>0)/255|0)>>>3<<5|(((_(d[y+(g>>>10&31)>>0]|0,h&255)|0)>>>0)/255|0)>>>3<<10|(((_(d[y+(g&31)>>0]|0,j&255)|0)>>>0)/255|0)>>>3;g=X+2|0;if((L|0)>1){v=y;I=L+-1|0;U=g;g=23;continue}else break}if(!l){g=46;break}else g=g+(n-m<<1)|0}if((g|0)!=27)if((g|0)==46)return 0;break}default:{o=c[f+8>>2]|0;l=c[f+12>>2]|0;p=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;g=(c[a+20>>2]|0)+((_(c[f+4>>2]|0,p)|0)<<1)|0;g=g+(c[f>>2]<<1)|0;if(!l)return 0;switch(o&3|0){case 0:{m=l+-1|0;while(1){l=(o+3|0)/4|0;while(1){b[g>>1]=(i&255)>>>3<<5|(h&255)>>>3<<10|(j&255)>>>3;b[g+2>>1]=(i&255)>>>3<<5|(h&255)>>>3<<10|(j&255)>>>3;b[g+4>>1]=(i&255)>>>3<<5|(h&255)>>>3<<10|(j&255)>>>3;b[g+6>>1]=(i&255)>>>3<<5|(h&255)>>>3<<10|(j&255)>>>3;g=g+8|0;if((l|0)>1)l=l+-1|0;else break}if(!m)break;else{m=m+-1|0;g=g+(p-o<<1)|0}}return 0}case 3:{n=l+-1|0;l=g;while(1){b[l>>1]=(i&255)>>>3<<5|(h&255)>>>3<<10|(j&255)>>>3;b[l+2>>1]=(i&255)>>>3<<5|(h&255)>>>3<<10|(j&255)>>>3;b[l+4>>1]=(i&255)>>>3<<5|(h&255)>>>3<<10|(j&255)>>>3;g=l+6|0;if((o+3|0)>7){m=(o+3|0)/4|0;while(1){m=m+-1|0;b[g>>1]=(i&255)>>>3<<5|(h&255)>>>3<<10|(j&255)>>>3;g=l;l=l+8|0;b[l>>1]=(i&255)>>>3<<5|(h&255)>>>3<<10|(j&255)>>>3;b[g+10>>1]=(i&255)>>>3<<5|(h&255)>>>3<<10|(j&255)>>>3;b[g+12>>1]=(i&255)>>>3<<5|(h&255)>>>3<<10|(j&255)>>>3;if((m|0)<=1){g=g+14|0;break}else g=g+14|0}}if(!n)break;else{n=n+-1|0;l=g+(p-o<<1)|0}}return 0}case 2:{n=l+-1|0;l=g;while(1){b[l>>1]=(i&255)>>>3<<5|(h&255)>>>3<<10|(j&255)>>>3;b[l+2>>1]=(i&255)>>>3<<5|(h&255)>>>3<<10|(j&255)>>>3;g=l+4|0;if((o+3|0)>7){m=(o+3|0)/4|0;while(1){m=m+-1|0;b[g>>1]=(i&255)>>>3<<5|(h&255)>>>3<<10|(j&255)>>>3;b[l+6>>1]=(i&255)>>>3<<5|(h&255)>>>3<<10|(j&255)>>>3;g=l;l=l+8|0;b[l>>1]=(i&255)>>>3<<5|(h&255)>>>3<<10|(j&255)>>>3;b[g+10>>1]=(i&255)>>>3<<5|(h&255)>>>3<<10|(j&255)>>>3;if((m|0)<=1){g=g+12|0;break}else g=g+12|0}}if(!n)break;else{n=n+-1|0;l=g+(p-o<<1)|0}}return 0}default:{n=l+-1|0;l=g;while(1){b[l>>1]=(i&255)>>>3<<5|(h&255)>>>3<<10|(j&255)>>>3;g=l+2|0;if((o+3|0)>7){m=(o+3|0)/4|0;while(1){m=m+-1|0;b[g>>1]=(i&255)>>>3<<5|(h&255)>>>3<<10|(j&255)>>>3;b[l+4>>1]=(i&255)>>>3<<5|(h&255)>>>3<<10|(j&255)>>>3;b[l+6>>1]=(i&255)>>>3<<5|(h&255)>>>3<<10|(j&255)>>>3;g=l;l=l+8|0;b[l>>1]=(i&255)>>>3<<5|(h&255)>>>3<<10|(j&255)>>>3;if((m|0)<=1){g=g+10|0;break}else g=g+10|0}}if(!n)break;else{n=n+-1|0;l=g+(p-o<<1)|0}}return 0}}}}return 0}function Odb(a,f,g,h,i,j,k){a=a|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0;switch(g|0){case 1:{n=c[f+8>>2]|0;g=c[f+12>>2]|0;m=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;if(!g)return 0;l=g;g=(c[a+20>>2]|0)+((_(c[f+4>>2]|0,m)|0)<<1)+(c[f>>2]<<1)|0;a:while(1){l=l+-1|0;switch(n&3|0){case 0:{A=594592;F=594528;M=(n+3|0)/4|0;Y=g;g=5;break}case 3:{K=594592;L=594528;N=(n+3|0)/4|0;Z=g;g=6;break}case 2:{o=594592;p=594528;O=(n+3|0)/4|0;$=g;g=7;break}case 1:{q=594592;r=594528;P=(n+3|0)/4|0;aa=g;g=8;break}default:{g=9;break a}}while(1)if((g|0)==5){K=e[Y>>1]|0;b[Y>>1]=((((_(d[F+(K>>>5&63)>>0]|0,k&255^255)|0)>>>0)/255|0)+(i&255)|0)>>>2<<5|((((_(d[A+(K>>>11)>>0]|0,k&255^255)|0)>>>0)/255|0)+(h&255)|0)>>>3<<11|((((_(d[A+(K&31)>>0]|0,k&255^255)|0)>>>0)/255|0)+(j&255)|0)>>>3;K=A;L=F;N=M;Z=Y+2|0;g=6;continue}else if((g|0)==6){o=e[Z>>1]|0;b[Z>>1]=((((_(d[L+(o>>>5&63)>>0]|0,k&255^255)|0)>>>0)/255|0)+(i&255)|0)>>>2<<5|((((_(d[K+(o>>>11)>>0]|0,k&255^255)|0)>>>0)/255|0)+(h&255)|0)>>>3<<11|((((_(d[K+(o&31)>>0]|0,k&255^255)|0)>>>0)/255|0)+(j&255)|0)>>>3;o=K;p=L;O=N;$=Z+2|0;g=7;continue}else if((g|0)==7){q=e[$>>1]|0;b[$>>1]=((((_(d[p+(q>>>5&63)>>0]|0,k&255^255)|0)>>>0)/255|0)+(i&255)|0)>>>2<<5|((((_(d[o+(q>>>11)>>0]|0,k&255^255)|0)>>>0)/255|0)+(h&255)|0)>>>3<<11|((((_(d[o+(q&31)>>0]|0,k&255^255)|0)>>>0)/255|0)+(j&255)|0)>>>3;q=o;r=p;P=O;aa=$+2|0;g=8;continue}else if((g|0)==8){g=e[aa>>1]|0;b[aa>>1]=((((_(d[r+(g>>>5&63)>>0]|0,k&255^255)|0)>>>0)/255|0)+(i&255)|0)>>>2<<5|((((_(d[q+(g>>>11)>>0]|0,k&255^255)|0)>>>0)/255|0)+(h&255)|0)>>>3<<11|((((_(d[q+(g&31)>>0]|0,k&255^255)|0)>>>0)/255|0)+(j&255)|0)>>>3;g=aa+2|0;if((P|0)>1){A=q;F=r;M=P+-1|0;Y=g;g=5;continue}else break}if(!l){g=46;break}else g=g+(m-n<<1)|0}if((g|0)!=9)if((g|0)==46)return 0;break}case 2:{m=c[f+8>>2]|0;g=c[f+12>>2]|0;n=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;if(!g)return 0;a=(c[a+20>>2]|0)+((_(c[f+4>>2]|0,n)|0)<<1)|0;l=g;g=a+(c[f>>2]<<1)|0;b:while(1){l=l+-1|0;switch(m&3|0){case 0:{s=594592;t=594528;Q=(m+3|0)/4|0;ba=g;g=14;break}case 3:{u=594592;v=594528;R=(m+3|0)/4|0;ca=g;g=15;break}case 2:{w=594592;x=594528;S=(m+3|0)/4|0;da=g;g=16;break}case 1:{y=594592;z=594528;T=(m+3|0)/4|0;ea=g;g=17;break}default:{g=18;break b}}while(1)if((g|0)==14){u=e[ba>>1]|0;v=(d[s+(u>>>11)>>0]|0)+(h&255)|0;R=(d[t+(u>>>5&63)>>0]|0)+(i&255)|0;u=(d[s+(u&31)>>0]|0)+(j&255)|0;b[ba>>1]=(R>>>0>255?255:R)>>>2<<5|(v>>>0>255?255:v)>>>3<<11|(u>>>0>255?255:u)>>>3;u=s;v=t;R=Q;ca=ba+2|0;g=15;continue}else if((g|0)==15){w=e[ca>>1]|0;x=(d[u+(w>>>11)>>0]|0)+(h&255)|0;S=(d[v+(w>>>5&63)>>0]|0)+(i&255)|0;w=(d[u+(w&31)>>0]|0)+(j&255)|0;b[ca>>1]=(S>>>0>255?255:S)>>>2<<5|(x>>>0>255?255:x)>>>3<<11|(w>>>0>255?255:w)>>>3;w=u;x=v;S=R;da=ca+2|0;g=16;continue}else if((g|0)==16){y=e[da>>1]|0;z=(d[w+(y>>>11)>>0]|0)+(h&255)|0;T=(d[x+(y>>>5&63)>>0]|0)+(i&255)|0;y=(d[w+(y&31)>>0]|0)+(j&255)|0;b[da>>1]=(T>>>0>255?255:T)>>>2<<5|(z>>>0>255?255:z)>>>3<<11|(y>>>0>255?255:y)>>>3;y=w;z=x;T=S;ea=da+2|0;g=17;continue}else if((g|0)==17){g=e[ea>>1]|0;f=(d[y+(g>>>11)>>0]|0)+(h&255)|0;a=(d[z+(g>>>5&63)>>0]|0)+(i&255)|0;g=(d[y+(g&31)>>0]|0)+(j&255)|0;b[ea>>1]=(a>>>0>255?255:a)>>>2<<5|(f>>>0>255?255:f)>>>3<<11|(g>>>0>255?255:g)>>>3;g=ea+2|0;if((T|0)>1){s=y;t=z;Q=T+-1|0;ba=g;g=14;continue}else break}if(!l){g=46;break}else g=g+(n-m<<1)|0}if((g|0)!=18)if((g|0)==46)return 0;break}case 4:{m=c[f+8>>2]|0;g=c[f+12>>2]|0;n=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;if(!g)return 0;a=(c[a+20>>2]|0)+((_(c[f+4>>2]|0,n)|0)<<1)|0;l=g;g=a+(c[f>>2]<<1)|0;c:while(1){l=l+-1|0;switch(m&3|0){case 0:{B=594592;C=594528;U=(m+3|0)/4|0;fa=g;g=23;break}case 3:{D=594592;E=594528;V=(m+3|0)/4|0;ga=g;g=24;break}case 2:{G=594592;H=594528;W=(m+3|0)/4|0;ha=g;g=25;break}case 1:{I=594592;J=594528;X=(m+3|0)/4|0;ia=g;g=26;break}default:{g=27;break c}}while(1)if((g|0)==23){D=e[fa>>1]|0;b[fa>>1]=(((_(d[C+(D>>>5&63)>>0]|0,i&255)|0)>>>0)/255|0)>>>2<<5|(((_(d[B+(D>>>11)>>0]|0,h&255)|0)>>>0)/255|0)>>>3<<11|(((_(d[B+(D&31)>>0]|0,j&255)|0)>>>0)/255|0)>>>3;D=B;E=C;V=U;ga=fa+2|0;g=24;continue}else if((g|0)==24){G=e[ga>>1]|0;b[ga>>1]=(((_(d[E+(G>>>5&63)>>0]|0,i&255)|0)>>>0)/255|0)>>>2<<5|(((_(d[D+(G>>>11)>>0]|0,h&255)|0)>>>0)/255|0)>>>3<<11|(((_(d[D+(G&31)>>0]|0,j&255)|0)>>>0)/255|0)>>>3;G=D;H=E;W=V;ha=ga+2|0;g=25;continue}else if((g|0)==25){I=e[ha>>1]|0;b[ha>>1]=(((_(d[H+(I>>>5&63)>>0]|0,i&255)|0)>>>0)/255|0)>>>2<<5|(((_(d[G+(I>>>11)>>0]|0,h&255)|0)>>>0)/255|0)>>>3<<11|(((_(d[G+(I&31)>>0]|0,j&255)|0)>>>0)/255|0)>>>3;I=G;J=H;X=W;ia=ha+2|0;g=26;continue}else if((g|0)==26){g=e[ia>>1]|0;b[ia>>1]=(((_(d[J+(g>>>5&63)>>0]|0,i&255)|0)>>>0)/255|0)>>>2<<5|(((_(d[I+(g>>>11)>>0]|0,h&255)|0)>>>0)/255|0)>>>3<<11|(((_(d[I+(g&31)>>0]|0,j&255)|0)>>>0)/255|0)>>>3;g=ia+2|0;if((X|0)>1){B=I;C=J;U=X+-1|0;fa=g;g=23;continue}else break}if(!l){g=46;break}else g=g+(n-m<<1)|0}if((g|0)!=27)if((g|0)==46)return 0;break}default:{o=c[f+8>>2]|0;l=c[f+12>>2]|0;p=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;g=(c[a+20>>2]|0)+((_(c[f+4>>2]|0,p)|0)<<1)|0;g=g+(c[f>>2]<<1)|0;if(!l)return 0;switch(o&3|0){case 0:{m=l+-1|0;while(1){l=(o+3|0)/4|0;while(1){b[g>>1]=(i&255)>>>2<<5|(h&255)>>>3<<11|(j&255)>>>3;b[g+2>>1]=(i&255)>>>2<<5|(h&255)>>>3<<11|(j&255)>>>3;b[g+4>>1]=(i&255)>>>2<<5|(h&255)>>>3<<11|(j&255)>>>3;b[g+6>>1]=(i&255)>>>2<<5|(h&255)>>>3<<11|(j&255)>>>3;g=g+8|0;if((l|0)>1)l=l+-1|0;else break}if(!m)break;else{m=m+-1|0;g=g+(p-o<<1)|0}}return 0}case 3:{n=l+-1|0;l=g;while(1){b[l>>1]=(i&255)>>>2<<5|(h&255)>>>3<<11|(j&255)>>>3;b[l+2>>1]=(i&255)>>>2<<5|(h&255)>>>3<<11|(j&255)>>>3;b[l+4>>1]=(i&255)>>>2<<5|(h&255)>>>3<<11|(j&255)>>>3;g=l+6|0;if((o+3|0)>7){m=(o+3|0)/4|0;while(1){m=m+-1|0;b[g>>1]=(i&255)>>>2<<5|(h&255)>>>3<<11|(j&255)>>>3;g=l;l=l+8|0;b[l>>1]=(i&255)>>>2<<5|(h&255)>>>3<<11|(j&255)>>>3;b[g+10>>1]=(i&255)>>>2<<5|(h&255)>>>3<<11|(j&255)>>>3;b[g+12>>1]=(i&255)>>>2<<5|(h&255)>>>3<<11|(j&255)>>>3;if((m|0)<=1){g=g+14|0;break}else g=g+14|0}}if(!n)break;else{n=n+-1|0;l=g+(p-o<<1)|0}}return 0}case 2:{n=l+-1|0;l=g;while(1){b[l>>1]=(i&255)>>>2<<5|(h&255)>>>3<<11|(j&255)>>>3;b[l+2>>1]=(i&255)>>>2<<5|(h&255)>>>3<<11|(j&255)>>>3;g=l+4|0;if((o+3|0)>7){m=(o+3|0)/4|0;while(1){m=m+-1|0;b[g>>1]=(i&255)>>>2<<5|(h&255)>>>3<<11|(j&255)>>>3;b[l+6>>1]=(i&255)>>>2<<5|(h&255)>>>3<<11|(j&255)>>>3;g=l;l=l+8|0;b[l>>1]=(i&255)>>>2<<5|(h&255)>>>3<<11|(j&255)>>>3;b[g+10>>1]=(i&255)>>>2<<5|(h&255)>>>3<<11|(j&255)>>>3;if((m|0)<=1){g=g+12|0;break}else g=g+12|0}}if(!n)break;else{n=n+-1|0;l=g+(p-o<<1)|0}}return 0}default:{n=l+-1|0;l=g;while(1){b[l>>1]=(i&255)>>>2<<5|(h&255)>>>3<<11|(j&255)>>>3;g=l+2|0;if((o+3|0)>7){m=(o+3|0)/4|0;while(1){m=m+-1|0;b[g>>1]=(i&255)>>>2<<5|(h&255)>>>3<<11|(j&255)>>>3;b[l+4>>1]=(i&255)>>>2<<5|(h&255)>>>3<<11|(j&255)>>>3;b[l+6>>1]=(i&255)>>>2<<5|(h&255)>>>3<<11|(j&255)>>>3;g=l;l=l+8|0;b[l>>1]=(i&255)>>>2<<5|(h&255)>>>3<<11|(j&255)>>>3;if((m|0)<=1){g=g+10|0;break}else g=g+10|0}}if(!n)break;else{n=n+-1|0;l=g+(p-o<<1)|0}}return 0}}}}return 0}function Pdb(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0,j=0,k=0;k=i;i=i+16|0;h=c[a+316>>2]|0;f=c[h>>2]|0;if(!f){f=c[h+4>>2]|0;c[h>>2]=f;if(!f){f=Fcb(c[a+188>>2]|0)|0;do if(f|0){c[h+4>>2]=f;c[h>>2]=f;f=c[c[a+316>>2]>>2]|0;if(f|0){Rcb(f,a+212|0)|0;f=c[c[a+316>>2]>>2]|0;if(f|0)if(!(c[a+276>>2]|0)){Rcb(f,0)|0;break}else{Rcb(f,a+244|0)|0;break}}}while(0);f=c[h>>2]|0}if(!f){d=-1;i=k;return d|0}else{j=c[b+68>>2]|0;b=f}}else{j=c[b+68>>2]|0;b=f}h=c[a+212>>2]|0;f=c[a+216>>2]|0;if(!(h|f)){c[k>>2]=~~+g[e>>2];c[k+4>>2]=~~+g[e+4>>2]}else{c[k>>2]=~~(+(h|0)+ +g[e>>2]);c[k+4>>2]=~~(+(f|0)+ +g[e+4>>2])}a=~~+g[e+8>>2];c[k+8>>2]=a;f=~~+g[e+12>>2];c[k+12>>2]=f;if((c[d+8>>2]|0)==(a|0))if((c[d+12>>2]|0)==(f|0)){d=Qdb(j,d,b,k)|0;i=k;return d|0}Wcb(b,0)|0;d=Rdb(j,d,b,k)|0;i=k;return d|0}function Qdb(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+48|0;if(!((a|0)!=0&(d|0)!=0)){a=l6a(601198,o)|0;i=o;return a|0}if(!(c[a+28>>2]|0))if(!(c[d+28>>2]|0)){if(!e){c[o+32+4>>2]=0;c[o+32>>2]=0;c[o+32+8>>2]=c[d+8>>2];c[o+32+12>>2]=c[d+12>>2];e=o+32|0}if(!b){n=c[a+12>>2]|0;l=0;h=0;f=c[a+8>>2]|0}else{f=c[b>>2]|0;g=c[b+8>>2]|0;if((f|0)<0){c[e>>2]=(c[e>>2]|0)-f;k=0;g=g+f|0}else k=f;j=(c[a+8>>2]|0)-k|0;h=c[b+4>>2]|0;f=c[b+12>>2]|0;if((h|0)<0){n=e+4|0;c[n>>2]=(c[n>>2]|0)-h;f=f+h|0;h=0}n=(c[a+12>>2]|0)-h|0;n=(n|0)<(f|0)?n:f;l=k;f=(j|0)<(g|0)?j:g}g=c[d+36>>2]|0;b=c[e>>2]|0;if((g-b|0)>0){c[e>>2]=g;j=g;k=c[d+36>>2]|0;l=g-b+l|0;f=f-(g-b)|0}else{j=b;k=g}m=j+f-k-(c[d+44>>2]|0)|0;m=f-((m|0)>0?m:0)|0;g=c[d+40>>2]|0;f=e+4|0;b=c[f>>2]|0;if((g-b|0)>0){c[f>>2]=g;j=g;k=c[d+40>>2]|0;f=n-(g-b)|0;b=g-b+h|0}else{j=b;k=g;f=n;b=h}g=j+f-k-(c[d+48>>2]|0)|0;f=f-((g|0)>0?g:0)|0;g=c[a+52>>2]|0;h=c[g+68>>2]|0;if(h&512|0){c[g+68>>2]=h&-513;W7a(g)}if(!((m|0)>0&(f|0)>0)){c[e+12>>2]=0;c[e+8>>2]=0;a=0;i=o;return a|0}c[o+16>>2]=l;c[o+16+4>>2]=b;c[e+8>>2]=m;c[o+16+8>>2]=m;c[e+12>>2]=f;c[o+16+12>>2]=f;g=c[a+52>>2]|0;do if((c[g>>2]|0)==(d|0)){f=c[(c[d+4>>2]|0)+4>>2]|0;if(f|0)if((c[g+80>>2]|0)!=(c[f+8>>2]|0)){g=27;break}f=c[(c[a+4>>2]|0)+4>>2]|0;if(!f){f=g;g=29}else if((c[g+84>>2]|0)==(c[f+8>>2]|0)){f=g;g=29}else g=27}else g=27;while(0);if((g|0)==27)if((S8a(a,d)|0)<0)e=-1;else{f=c[a+52>>2]|0;g=29}if((g|0)==29)e=cj[c[f+8>>2]&127](a,o+16|0,d,e)|0;a=e;i=o;return a|0}a=l6a(601235,o+8|0)|0;i=o;return a|0}function Rdb(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0.0,j=0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0,w=0.0,x=0.0,y=0;y=i;i=i+48|0;if(!((a|0)!=0&(d|0)!=0)){a=l6a(601275,y)|0;i=y;return a|0}if(!(c[a+28>>2]|0))if(!(c[d+28>>2]|0)){v=c[((b|0)==0?a+12|0:b+12|0)>>2]|0;j=c[((b|0)==0?a+8|0:b+8|0)>>2]|0;g=c[((e|0)==0?d+12|0:e+12|0)>>2]|0;f=c[((e|0)==0?d+8|0:e+8|0)>>2]|0;if((g|0)==(v|0)&(f|0)==(j|0)){a=Qdb(a,b,d,e)|0;i=y;return a|0}w=+(f|0)/+(j|0);x=+(g|0)/+(v|0);if(!e){h=0.0;k=+(f+-1|0);o=0.0;q=+(g+-1|0)}else{k=+(c[e>>2]|0);q=+(c[e+4>>2]|0);h=k;k=+(f|0)+k+-1.0;o=q;q=+(g|0)+q+-1.0}if(!b){l=h;n=k;p=0.0;m=+(j+-1|0);k=0.0;h=+(v+-1|0)}else{g=c[b>>2]|0;b=c[b+4>>2]|0;l=(g|0)<0?h-w*+(g|0):h;p=+(((g|0)>0?g:0)|0);f=c[a+8>>2]|0;if(!(+(j|0)+ +(g|0)+-1.0>=+(f|0))){n=k;m=+(j|0)+ +(g|0)+-1.0}else{n=k-w*(+(j|0)+ +(g|0)+-1.0-+(f|0)+1.0);m=+(f+-1|0)}k=+(((b|0)>0?b:0)|0);h=(b|0)<0?o-x*+(b|0):o;f=c[a+12>>2]|0;if(!(+(v|0)+ +(b|0)+-1.0>=+(f|0))){o=h;h=+(v|0)+ +(b|0)+-1.0}else{o=h;q=q-x*(+(v|0)+ +(b|0)+-1.0-+(f|0)+1.0);h=+(f+-1|0)}}u=+(c[d+36>>2]|0);l=l-u;n=n-u;t=+(c[d+40>>2]|0);o=o-t;q=q-t;if(l<0.0){r=0.0;p=p-l/w}else r=l;f=c[d+44>>2]|0;if(!(n>=+(f|0)))s=n;else{s=+(f+-1|0);m=m-(n-+(f|0)+1.0)/w}if(o<0.0){l=0.0;k=k-o/x}else l=o;f=c[d+48>>2]|0;if(!(q>=+(f|0)))n=q;else{n=+(f+-1|0);h=h-(q-+(f|0)+1.0)/x}w=r+u;x=l+t;c[y+32>>2]=~~+Sdb(p+.5);c[y+32+4>>2]=~~+Sdb(k+.5);j=~~+Sdb(m-p+1.5);c[y+32+8>>2]=j;b=~~+Sdb(h-k+1.5);c[y+32+12>>2]=b;c[y+16>>2]=~~+Sdb(w+.5);c[y+16+4>>2]=~~+Sdb(x+.5);g=~~+Sdb(s+u-w+1.5);c[y+16+8>>2]=g;f=~~+Sdb(n+t-x+1.5);c[y+16+12>>2]=f;if((g|0)<0){c[y+16+8>>2]=0;g=0}if((f|0)<0){c[y+16+12>>2]=0;f=0}if(e|0){c[e>>2]=c[y+16>>2];c[e+4>>2]=c[y+16+4>>2];c[e+8>>2]=c[y+16+8>>2];c[e+12>>2]=c[y+16+12>>2]}if((g|0)==0|(f|0)==0|(j|0)<1|(b|0)<1){a=0;i=y;return a|0}a=Tdb(a,y+32|0,d,y+16|0)|0;i=y;return a|0}a=l6a(601235,y+8|0)|0;i=y;return a|0}function Sdb(a){a=+a;return +(+M(+a))}function Tdb(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=c[a+52>>2]|0;g=c[f+68>>2]|0;if(!(g&512)){c[f+68>>2]=g|512;W7a(f);g=c[a+52>>2]|0;f=g;g=c[g+68>>2]|0}do if(!(g&371)){g=c[c[a+4>>2]>>2]|0;if((g|0)==(c[c[d+4>>2]>>2]|0)){if((g|0)==0|(g&-268435456|0)==268435456)if(((g>>>24&15)+-1|0)>>>0<3)break;h=Udb(a,b,d,e)|0;return h|0}}while(0);do if((c[f>>2]|0)==(d|0)){g=c[(c[d+4>>2]|0)+4>>2]|0;if(g|0)if((c[f+80>>2]|0)!=(c[g+8>>2]|0)){h=13;break}g=c[(c[a+4>>2]|0)+4>>2]|0;if(g)if((c[f+84>>2]|0)!=(c[g+8>>2]|0))h=13}else h=13;while(0);do if((h|0)==13)if((S8a(a,d)|0)<0){h=-1;return h|0}else{f=c[a+52>>2]|0;break}while(0);h=cj[c[f+8>>2]&127](a,b,d,e)|0;return h|0}function Udb(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;D=i;i=i+80|0;B=c[g+4>>2]|0;C=d[B+9>>0]|0;if((c[c[e+4>>2]>>2]|0)!=(c[B>>2]|0)){e=l6a(601318,D)|0;i=D;return e|0}do if(!f){c[D+56>>2]=0;c[D+56+4>>2]=0;c[D+56+8>>2]=c[e+8>>2];c[D+56+12>>2]=c[e+12>>2];f=D+56|0}else{j=c[f>>2]|0;if((j|0)>=0){k=c[f+4>>2]|0;if((k|0)>=0)if(((c[f+8>>2]|0)+j|0)<=(c[e+8>>2]|0))if(((c[f+12>>2]|0)+k|0)<=(c[e+12>>2]|0))break}e=l6a(601355,D+8|0)|0;i=D;return e|0}while(0);do if(!h){c[D+40>>2]=0;c[D+40+4>>2]=0;c[D+40+8>>2]=c[g+8>>2];c[D+40+12>>2]=c[g+12>>2];h=D+40|0}else{j=c[h>>2]|0;if((j|0)>=0){k=c[h+4>>2]|0;if((k|0)>=0)if(((c[h+8>>2]|0)+j|0)<=(c[g+8>>2]|0))if(((c[h+12>>2]|0)+k|0)<=(c[g+12>>2]|0))break}e=l6a(601385,D+16|0)|0;i=D;return e|0}while(0);if(!(c[g>>2]&2))z=0;else if((G7a(g)|0)<0){e=l6a(601420,D+24|0)|0;i=D;return e|0}else z=1;if(!(c[e>>2]&2))B=0;else if((G7a(e)|0)<0){if(z|0)H7a(g);e=l6a(601455,D+32|0)|0;i=D;return e|0}else B=1;u=c[h+12>>2]|0;v=(c[f+12>>2]<<16|0)/(u|0)|0;w=c[h+4>>2]|0;a:do if((u|0)>0){x=f+8|0;y=h+8|0;A=w;j=65536;k=c[f+4>>2]|0;l=0;while(1){q=(c[g+20>>2]|0)+(_(c[g+16>>2]|0,A)|0)|0;q=q+(_(c[h>>2]|0,C)|0)|0;if((j|0)>65535){t=j+-65536|0;l=(c[e+20>>2]|0)+(_(c[e+16>>2]|0,k+(t>>>16)|0)|0)|0;j=t-(t>>>16<<16)|0;k=k+1+(t>>>16)|0;l=l+(_(c[f>>2]|0,C)|0)|0}switch(C|0){case 1:{m=c[y>>2]|0;s=(c[x>>2]<<16|0)/(m|0)|0;if((m|0)>0){r=l;n=0;o=65536;while(1){if((o|0)>65535){o=o+-65536|0;p=r+1+(o>>>16)|0;n=a[r+(o>>>16)>>0]|0;o=o-(o>>>16<<16)|0}else p=r;a[q>>0]=n;if((m|0)>1){q=q+1|0;r=p;m=m+-1|0;o=o+s|0}else break}}break}case 2:{m=c[y>>2]|0;s=(c[x>>2]<<16|0)/(m|0)|0;if((m|0)>0){r=l;n=0;o=65536;while(1){if((o|0)>65535){o=o+-65536|0;p=r+2+(o>>>16<<1)|0;n=b[r+(o>>>16<<1)>>1]|0;o=o-(o>>>16<<16)|0}else p=r;b[q>>1]=n;if((m|0)>1){q=q+2|0;r=p;m=m+-1|0;o=o+s|0}else break}}break}case 3:{m=c[y>>2]|0;t=(c[x>>2]<<16|0)/(m|0)|0;if((m|0)>0){n=l;o=0;p=0;r=0;s=65536;while(1){if((s|0)>65535){s=s+-65536|0;r=n+((s>>>16)*3|0)|0;n=n+3+((s>>>16)*3|0)|0;o=a[r>>0]|0;p=a[r+1>>0]|0;r=a[r+2>>0]|0;s=s-(s>>>16<<16)|0}a[q>>0]=o;a[q+1>>0]=p;a[q+2>>0]=r;if((m|0)>1){q=q+3|0;m=m+-1|0;s=s+t|0}else break}}break}case 4:{m=c[y>>2]|0;s=(c[x>>2]<<16|0)/(m|0)|0;if((m|0)>0){r=l;n=0;o=65536;while(1){if((o|0)>65535){o=o+-65536|0;p=r+4+(o>>>16<<2)|0;n=c[r+(o>>>16<<2)>>2]|0;o=o-(o>>>16<<16)|0}else p=r;c[q>>2]=n;if((m|0)>1){q=q+4|0;r=p;m=m+-1|0;o=o+s|0}else break}}break}default:{}}A=A+1|0;if((A|0)>=(w+u|0))break a;else j=j+v|0}}while(0);if(z|0)H7a(g);if(!B){e=0;i=D;return e|0}H7a(e);e=0;i=D;return e|0}function Vdb(b,e,f,j,k,l,m){b=b|0;e=e|0;f=f|0;j=j|0;k=+k;l=l|0;m=m|0;var n=0,o=0,p=0.0,q=0.0,r=0,s=0,t=0,u=0,v=0,w=0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0;w=i;i=i+64|0;o=c[b+316>>2]|0;n=c[o>>2]|0;if(!n){n=c[o+4>>2]|0;c[o>>2]=n;if(!n){n=Fcb(c[b+188>>2]|0)|0;do if(n|0){c[o+4>>2]=n;c[o>>2]=n;n=c[c[b+316>>2]>>2]|0;if(n|0){Rcb(n,b+212|0)|0;n=c[c[b+316>>2]>>2]|0;if(n|0)if(!(c[b+276>>2]|0)){Rcb(n,0)|0;break}else{Rcb(n,b+244|0)|0;break}}}while(0);u=c[o>>2]|0}else u=n}else u=n;v=c[e+68>>2]|0;if(!u){l=-1;i=w;return l|0}n=c[b+212>>2]|0;o=c[b+216>>2]|0;if(!(n|o)){q=+g[j>>2];p=+g[j+4>>2]}else{q=+(n|0)+ +g[j>>2];p=+(o|0)+ +g[j+4>>2]}t=~~p;s=~~q;r=~~+g[j+8>>2];j=~~+g[j+12>>2];c[w+32+8>>2]=r;c[w+32+12>>2]=j;c[w+32>>2]=0;c[w+32+4>>2]=0;if((c[f+8>>2]|0)==(r|0))if((c[f+12>>2]|0)==(j|0))if(!(c[f>>2]|0))if(!(c[f+4>>2]|0)){o=r;e=j;n=v;b=32}else b=18;else b=18;else b=18;else b=18;if((b|0)==18){n=c[v+4>>2]|0;n=Hcb(0,r,j,d[n+8>>0]|0,c[n+12>>2]|0,c[n+16>>2]|0,c[n+20>>2]|0,c[n+24>>2]|0)|0;do if(!n){e=0;o=0}else{if(!(Wdb(v,w+20|0)|0)){Xdb(n,1,c[w+20>>2]|0)|0;e=1}else e=0;Ydb(v,w+51|0)|0;Zdb(v,w+16|0)|0;_db(v,w+50|0,w+49|0,w+48|0)|0;if(!(c[w+16>>2]|0))o=(a[w+50>>0]&a[w+51>>0]&a[w+49>>0]&a[w+48>>0])<<24>>24!=-1;else o=1;if(!(o&1|e)){e=1;o=Rdb(v,f,n,w+32|0)|0;break}e=$db(v,c[v+4>>2]|0,c[v>>2]|0)|0;if(!e){A7a(n);e=0;o=0;break}Ucb(e,-1)|0;Vcb(e,0)|0;Xdb(e,0,0)|0;Tcb(e,-1,-1,-1)|0;Wcb(e,0)|0;Ucb(n,a[w+51>>0]|0)|0;Vcb(n,c[w+16>>2]|0)|0;Tcb(n,a[w+50>>0]|0,a[w+49>>0]|0,a[w+48>>0]|0)|0;o=Rdb(e,f,n,w+32|0)|0;if((e|0)==(v|0))e=1;else{A7a(e);e=1}}while(0);if(!e){l=-1;i=w;return l|0}if(!o){o=c[w+32+8>>2]|0;e=c[w+32+12>>2]|0;b=32}}if((b|0)==32){aeb(o,e,-k,w+28|0,w+24|0,w+8|0,w);e=(c[w+28>>2]|0)/2|0;b=(c[w+24>>2]|0)/2|0;o=p7a(601523)|0;if(!o)o=0;else if((a[o>>0]|0)==48)o=0;else o=(w8a(o,601548)|0)!=0&1;o=ceb(n,-k,e,b,o,m&1,m&2,c[w+28>>2]|0,c[w+24>>2]|0,+h[w+8>>3],+h[w>>3])|0;if(!o)o=0;else{m=~~+g[l>>2];l=~~+g[l+4>>2];x=-+h[w>>3];h[w>>3]=x;k=+h[w+8>>3];D=+(m+s|0)+(+(0-m|0)*k-+(0-l|0)*x);y=+(l+t|0)+(+(0-m|0)*x+ +(0-l|0)*k);B=+(r+s-(m+s)|0)*k;A=+(m+s|0)+(B-+(0-l|0)*x);p=+(r+s-(m+s)|0)*x;q=+(l+t|0)+(p+ +(0-l|0)*k);z=+(j+t-(l+t)|0)*x;C=+(m+s|0)+(+(0-m|0)*k-z);k=k*+(j+t-(l+t)|0);x=+(l+t|0)+(+(0-m|0)*x+k);A=D>2]=~~(A>2]=~~(q>2]=c[w+28>>2];c[w+32+12>>2]=c[w+24>>2];l=Qdb(o,0,u,w+32|0)|0;A7a(o);o=l}}if((n|0)==(v|0)){l=o;i=w;return l|0}A7a(n);l=o;i=w;return l|0}function Wdb(a,b){a=a|0;b=b|0;if(!a){b=-1;return b|0}a=c[a+52>>2]|0;if(!(c[a+68>>2]&256)){b=-1;return b|0}if(!b){b=0;return b|0}c[b>>2]=c[a+72>>2];b=0;return b|0}function Xdb(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0;j=i;i=i+16|0;if(!b){c[j>>2]=601485;e=l6a(608461,j)|0;i=j;return e|0}f=c[(c[b+4>>2]|0)+4>>2]|0;if(f|0)if((c[f>>2]|0)>>>0<=e>>>0){c[j+8>>2]=601493;e=l6a(608461,j+8|0)|0;i=j;return e|0}if(d&2|0){f=c[b+52>>2]|0;h=c[f+68>>2]|0;c[f+68>>2]=h|4096;if((h|4096|0)!=(h|0))W7a(f)}g=c[b+52>>2]|0;h=c[g+68>>2]|0;if(!d){f=c[(c[b+4>>2]|0)+4>>2]|0;if(f|0){a[(c[f+4>>2]|0)+(c[g+72>>2]<<2)+3>>0]=-1;e=(c[f+8>>2]|0)+1|0;c[f+8>>2]=(e|0)==0?1:e}c[g+68>>2]=h&-257;f=h&-257}else{c[g+68>>2]=h|256;c[g+72>>2]=e;f=c[(c[b+4>>2]|0)+4>>2]|0;if(!f)f=h|256;else{a[(c[f+4>>2]|0)+(e<<2)+3>>0]=0;e=(c[f+8>>2]|0)+1|0;c[f+8>>2]=(e|0)==0?1:e;f=h|256}}if((f|0)==(h|0)){e=0;i=j;return e|0}W7a(g);e=0;i=j;return e|0}function Ydb(b,d){b=b|0;d=d|0;if(!b){b=-1;return b|0}if(!d){b=0;return b|0}a[d>>0]=a[(c[b+52>>2]|0)+79>>0]|0;b=0;return b|0}function Zdb(a,b){a=a|0;b=b|0;a:do if(!a)b=-1;else if(!b)b=0;else switch(c[(c[a+52>>2]|0)+68>>2]&112|0){case 16:{c[b>>2]=1;b=0;break a}case 32:{c[b>>2]=2;b=0;break a}case 64:{c[b>>2]=4;b=0;break a}default:{c[b>>2]=0;b=0;break a}}while(0);return b|0}function _db(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;if(!b){b=-1;return b|0}if(d|0)a[d>>0]=a[(c[b+52>>2]|0)+76>>0]|0;if(e|0)a[e>>0]=a[(c[b+52>>2]|0)+77>>0]|0;if(!f){b=0;return b|0}a[f>>0]=a[(c[b+52>>2]|0)+78>>0]|0;b=0;return b|0}function $db(f,g,h){f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=i;i=i+80|0;j=c[g+4>>2]|0;if(j|0){l=c[j>>2]|0;a:do if((l|0)>0){k=c[j+4>>2]|0;j=0;do{if((a[k+(j<<2)>>0]|0)!=-1)break a;if((a[k+(j<<2)+1>>0]|0)!=-1)break a;if((a[k+(j<<2)+2>>0]|0)!=-1)break a;j=j+1|0}while((j|0)<(l|0))}else j=0;while(0);if((j|0)==(l|0)){l6a(601497,w)|0;h=0;i=w;return h|0}}v=Hcb(0,c[f+8>>2]|0,c[f+12>>2]|0,d[g+8>>0]|0,c[g+12>>2]|0,c[g+16>>2]|0,c[g+20>>2]|0,c[g+24>>2]|0)|0;if(!v){h=0;i=w;return h|0}j=c[g+4>>2]|0;if(j|0){k=c[(c[v+4>>2]|0)+4>>2]|0;if(k|0){l7a(c[k+4>>2]|0,c[j+4>>2]|0,c[j>>2]<<2)|0;c[c[(c[v+4>>2]|0)+4>>2]>>2]=c[c[g+4>>2]>>2]}}k=c[f+52>>2]|0;u=c[k+68>>2]|0;l=c[k+76>>2]|0;c[k+76>>2]=-1;c[k+68>>2]=0;W7a(k);c[w+32>>2]=0;c[w+32+4>>2]=0;c[w+32+8>>2]=c[f+8>>2];c[w+32+12>>2]=c[f+12>>2];k=c[f+52>>2]|0;do if((c[k>>2]|0)==(v|0)){j=c[(c[v+4>>2]|0)+4>>2]|0;if(j|0)if((c[k+80>>2]|0)!=(c[j+8>>2]|0)){t=19;break}j=c[(c[f+4>>2]|0)+4>>2]|0;if(!j){j=k;t=21}else if((c[k+84>>2]|0)==(c[j+8>>2]|0)){j=k;t=21}else t=19}else t=19;while(0);if((t|0)==19)if((S8a(f,v)|0)>=0){j=c[f+52>>2]|0;t=21}if((t|0)==21)cj[c[j+8>>2]&127](f,w+32|0,v,w+32|0)|0;s=c[v+52>>2]|0;a[s+76>>0]=l;a[s+77>>0]=(l&65535)>>>8;a[s+78>>0]=l>>>16;a[s+79>>0]=l>>>24;c[s+68>>2]=u&-28945;s=c[f+52>>2]|0;a[s+76>>0]=l;a[s+77>>0]=(l&65535)>>>8;a[s+78>>0]=l>>>16;a[s+79>>0]=l>>>24;c[s+68>>2]=u;W7a(s);do if(u&256|0){j=c[f+4>>2]|0;l=c[j+4>>2]|0;if(l){j=c[g+4>>2]|0;if(j|0){k=c[l>>2]|0;if((k|0)<=(c[j>>2]|0))if(!(H6a(c[l+4>>2]|0,c[j+4>>2]|0,k<<2)|0)){j=c[(c[f+52>>2]|0)+72>>2]|0;k=c[(c[v+4>>2]|0)+4>>2]|0;if(k|0)if((c[k>>2]|0)>>>0<=j>>>0){c[w+8>>2]=601493;l6a(608461,w+8|0)|0;break}l=c[v+52>>2]|0;m=c[l+68>>2]|0;c[l+68>>2]=m|256;c[l+72>>2]=j;if(k|0){a[(c[k+4>>2]|0)+(j<<2)+3>>0]=0;s=(c[k+8>>2]|0)+1|0;c[k+8>>2]=(s|0)==0?1:s}if((m|256|0)==(m|0))break;W7a(l);break}}if(c[g+24>>2]|0)break;j=c[f+4>>2]|0}sdb(c[(c[f+52>>2]|0)+72>>2]|0,j,w+48|0,w+66|0,w+65|0,w+64|0);j=fdb(c[v+4>>2]|0,a[w+48>>0]|0,a[w+66>>0]|0,a[w+65>>0]|0,a[w+64>>0]|0)|0;k=c[(c[v+4>>2]|0)+4>>2]|0;if(!k)t=39;else if((c[k>>2]|0)>>>0>j>>>0)t=39;else{c[w+16>>2]=601493;l6a(608461,w+16|0)|0}if((t|0)==39){l=c[v+52>>2]|0;m=c[l+68>>2]|0;c[l+68>>2]=m|256;c[l+72>>2]=j;if(k|0){a[(c[k+4>>2]|0)+(j<<2)+3>>0]=0;s=(c[k+8>>2]|0)+1|0;c[k+8>>2]=(s|0)==0?1:s}if((m|256|0)!=(m|0))W7a(l)}if(c[(c[v+52>>2]|0)+68>>2]&256|0){j=c[v+4>>2]|0;if(c[j+24>>2]|0){k=c[v+28>>2]|0;if(!k)if(!(c[v>>2]&2))k=0;else{C7a(v,1);c[v>>2]=c[v>>2]|2;k=c[v+28>>2]|0;j=c[v+4>>2]|0}k=k+1|0;c[v+28>>2]=k;switch(d[j+9>>0]|0){case 2:{p=c[j+24>>2]&65535^65535;q=p&c[(c[v+52>>2]|0)+72>>2];l=c[v+12>>2]|0;if(l){r=c[v+8>>2]|0;s=(c[v+16>>2]|0)/2|0;if(r){n=c[v+20>>2]|0;while(1){m=r;o=n;while(1){m=m+-1|0;if((e[o>>1]&p|0)==(q|0))b[o>>1]=q;if(!m)break;else o=o+2|0}l=l+-1|0;if(!l)break;else n=n+(s<<1)|0}}}break}case 4:{o=~c[j+24>>2];p=c[(c[v+52>>2]|0)+72>>2]&o;l=c[v+12>>2]|0;if(l){n=c[v+20>>2]|0;while(1){l=l+-1|0;k=c[v+8>>2]|0;if(k|0){m=n;while(1){k=k+-1|0;if((c[m>>2]&o|0)==(p|0))c[m>>2]=p;if(!k)break;else m=m+4|0}}if(!l)break;else n=n+(((c[v+16>>2]|0)/4|0)<<2)|0}k=c[v+28>>2]|0}break}default:{}}if(k){c[v+28>>2]=k+-1;if((k|0)<=1){k=c[v>>2]|0;if(k&2){c[v>>2]=k&-3;B7a(v)|0;j=c[v+4>>2]|0}}}j=c[j+4>>2]|0;do if(!j){l=c[v+52>>2]|0;j=c[l+68>>2]|0;k=l+68|0;t=74}else if(!(c[j>>2]|0)){c[w+24>>2]=601493;l6a(608461,w+24|0)|0;break}else{l=c[v+52>>2]|0;k=c[l+68>>2]|0;a[(c[j+4>>2]|0)+(c[l+72>>2]<<2)+3>>0]=-1;t=(c[j+8>>2]|0)+1|0;c[j+8>>2]=(t|0)==0?1:t;j=k;k=l+68|0;t=74;break}while(0);if((t|0)==74){s=j&-257;c[k>>2]=s;if((s|0)!=(j|0))W7a(l)}j=c[v+52>>2]|0;s=c[j+68>>2]|0;c[j+68>>2]=s&-113|16;if((s&-113|16|0)!=(s|0))W7a(j)}}}while(0);c[w+48>>2]=0;c[w+48+4>>2]=0;c[w+48+8>>2]=c[v+8>>2];c[w+48+12>>2]=c[v+12>>2];E7a(f+36|0,w+48|0,v+36|0)|0;if(!(c[(c[f+4>>2]|0)+24>>2]|0)){if(u&258|0)t=82}else if(c[g+24>>2]|u&258|0)t=82;if((t|0)==82){j=c[v+52>>2]|0;f=c[j+68>>2]|0;c[j+68>>2]=f&-113|16;if((f&-113|16|0)!=(f|0))W7a(j)}if(!(u&4096|h&2)){h=v;i=w;return h|0}j=c[v+52>>2]|0;h=c[j+68>>2]|0;c[j+68>>2]=h|4096;if((h|4096|0)==(h|0)){h=v;i=w;return h|0}W7a(j);h=v;i=w;return h|0}function aeb(a,b,d,e,f,g,i){a=a|0;b=b|0;d=+d;e=e|0;f=f|0;g=g|0;i=i|0;var j=0.0,k=0.0,l=0.0,m=0.0;h[i>>3]=+i7a(d*.017453292519943295);m=+h7a(d*.017453292519943295);h[g>>3]=m;k=+((a|0)/2|0|0)*m;m=+((b|0)/2|0|0)*m;j=+h[i>>3];l=+((a|0)/2|0|0)*j;j=+((b|0)/2|0|0)*j;d=+n7a(k+j);b=d>+n7a(k-j);d=+n7a(b?k+j:k-j);do if(d>+n7a(j-k)){d=+n7a(k+j);if(d>+n7a(k-j)){d=+n7a(k+j);break}else{d=+n7a(k-j);break}}else d=+n7a(j-k);while(0);do if(d>+n7a(-k-j)){d=+n7a(k+j);b=d>+n7a(k-j);d=+n7a(b?k+j:k-j);if(!(d>+n7a(j-k))){d=+n7a(j-k);break}d=+n7a(k+j);if(d>+n7a(k-j)){d=+n7a(k+j);break}else{d=+n7a(k-j);break}}else d=+n7a(-k-j);while(0);if((~~+beb(d)|0)>1){d=+n7a(k+j);b=d>+n7a(k-j);d=+n7a(b?k+j:k-j);do if(d>+n7a(j-k)){d=+n7a(k+j);if(d>+n7a(k-j)){d=+n7a(k+j);break}else{d=+n7a(k-j);break}}else d=+n7a(j-k);while(0);do if(d>+n7a(-k-j)){d=+n7a(k+j);b=d>+n7a(k-j);d=+n7a(b?k+j:k-j);if(!(d>+n7a(j-k))){d=+n7a(j-k);break}d=+n7a(k+j);if(d>+n7a(k-j)){d=+n7a(k+j);break}else{d=+n7a(k-j);break}}else d=+n7a(-k-j);while(0);g=~~+beb(d)<<1}else g=2;k=+n7a(m+l);b=k>+n7a(l-m);k=+n7a(b?m+l:l-m);do if(k>+n7a(m-l)){k=+n7a(m+l);if(k>+n7a(l-m)){d=+n7a(m+l);break}else{d=+n7a(l-m);break}}else d=+n7a(m-l);while(0);do if(d>+n7a(-l-m)){k=+n7a(m+l);b=k>+n7a(l-m);k=+n7a(b?m+l:l-m);if(!(k>+n7a(m-l))){d=+n7a(m-l);break}k=+n7a(m+l);if(k>+n7a(l-m)){d=+n7a(m+l);break}else{d=+n7a(l-m);break}}else d=+n7a(-l-m);while(0);if((~~+beb(d)|0)<=1){b=2;c[e>>2]=g;c[f>>2]=b;return}k=+n7a(m+l);b=k>+n7a(l-m);k=+n7a(b?m+l:l-m);do if(k>+n7a(m-l)){k=+n7a(m+l);if(k>+n7a(l-m)){d=+n7a(m+l);break}else{d=+n7a(l-m);break}}else d=+n7a(m-l);while(0);do if(d>+n7a(-l-m)){k=+n7a(m+l);b=k>+n7a(l-m);k=+n7a(b?m+l:l-m);if(!(k>+n7a(m-l))){d=+n7a(m-l);break}k=+n7a(m+l);if(k>+n7a(l-m)){d=+n7a(m+l);break}else{d=+n7a(l-m);break}}else d=+n7a(-l-m);while(0);b=~~+beb(d)<<1;c[e>>2]=g;c[f>>2]=b;return}function beb(a){a=+a;return +(+Z(+a))}function ceb(b,e,f,g,h,j,k,l,m,n,o){b=b|0;e=+e;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;n=+n;o=+o;var p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0;K=i;i=i+16|0;if(!b){b=0;i=K;return b|0}if(!(c[b>>2]&1)){p=b+4|0;t=0}else{c[K>>2]=0;Wdb(b,K)|0;deb(c[K>>2]|0,c[b+4>>2]|0,K+10|0,K+9|0,K+8|0);p=b+4|0;t=1}p=c[p>>2]|0;q=a[p+8>>0]|0;switch(q<<24>>24){case 8:case 32:{if(q<<24>>24==32){s=m+2|0;n=n*65536.0;e=o*65536.0;r=b;u=8}else{e=o*65536.0;n=n*65536.0;q=0;J=Hcb(0,l,m+2|0,8,0,0,0,0)|0;I=b}break}default:{r=eeb(b,Icb(32,255,65280,16711680,-16777216)|0,c[b>>2]|0)|0;p=c[r+4>>2]|0;s=m+2|0;n=n*65536.0;e=o*65536.0;u=8}}if((u|0)==8){q=1;J=Hcb(0,l,s,32,c[p+12>>2]|0,c[p+16>>2]|0,c[p+20>>2]|0,c[p+24>>2]|0)|0;I=r}if(!J){b=0;i=K;return b|0}H=J+12|0;c[H>>2]=m;if((t|0)==1)D7a(J,0,feb(c[J+4>>2]|0,a[K+10>>0]|0,a[K+9>>0]|0,a[K+8>>0]|0)|0)|0;if(c[I>>2]&2|0)G7a(I)|0;if(q){G=~~e;z=~~n;v=I+8|0;A=c[v>>2]|0;B=J+8|0;C=c[B>>2]|0;w=I+12|0;D=c[w>>2]|0;E=c[H>>2]|0;F=_(65536-z|0,f)|0;x=(g<<16)-(_(G,f)|0)|0;q=c[J+20>>2]|0;y=(c[J+16>>2]|0)-(C<<2)|0;if(!h){if((E|0)>0){h=I+20|0;f=I+16|0;p=C;m=0;while(1){l=g-m|0;u=(A-C<<15)+F+(_(l,G)|0)|0;l=(D-E<<15)+x-(_(l,z)|0)|0;if((p|0)>0)if(!j)if(!k){t=0;while(1){r=u>>16;s=l>>16;do if(r>>>0<(c[v>>2]|0)>>>0){if(s>>>0>=(c[w>>2]|0)>>>0)break;p=(c[h>>2]|0)+(_(c[f>>2]|0,s)|0)+(r<<2)|0;p=d[p>>0]|d[p+1>>0]<<8|d[p+2>>0]<<16|d[p+3>>0]<<24;a[q>>0]=p;a[q+1>>0]=p>>8;a[q+2>>0]=p>>16;a[q+3>>0]=p>>24;p=c[B>>2]|0}while(0);q=q+4|0;t=t+1|0;if((t|0)>=(p|0))break;else{u=u+z|0;l=l+G|0}}}else{t=0;while(1){r=u>>16;s=l>>16;do if(r>>>0<(c[v>>2]|0)>>>0){if(s>>>0>=(c[w>>2]|0)>>>0)break;p=(c[h>>2]|0)+(_(c[f>>2]|0,D+-1-s|0)|0)+(r<<2)|0;p=d[p>>0]|d[p+1>>0]<<8|d[p+2>>0]<<16|d[p+3>>0]<<24;a[q>>0]=p;a[q+1>>0]=p>>8;a[q+2>>0]=p>>16;a[q+3>>0]=p>>24;p=c[B>>2]|0}while(0);q=q+4|0;t=t+1|0;if((t|0)>=(p|0))break;else{u=u+z|0;l=l+G|0}}}else if(!k){t=0;while(1){r=u>>16;s=l>>16;do if(r>>>0<(c[v>>2]|0)>>>0){if(s>>>0>=(c[w>>2]|0)>>>0)break;p=(c[h>>2]|0)+(_(c[f>>2]|0,s)|0)+(A+-1-r<<2)|0;p=d[p>>0]|d[p+1>>0]<<8|d[p+2>>0]<<16|d[p+3>>0]<<24;a[q>>0]=p;a[q+1>>0]=p>>8;a[q+2>>0]=p>>16;a[q+3>>0]=p>>24;p=c[B>>2]|0}while(0);q=q+4|0;t=t+1|0;if((t|0)>=(p|0))break;else{u=u+z|0;l=l+G|0}}}else{t=0;while(1){r=u>>16;s=l>>16;do if(r>>>0<(c[v>>2]|0)>>>0){if(s>>>0>=(c[w>>2]|0)>>>0)break;p=(c[h>>2]|0)+(_(c[f>>2]|0,D+-1-s|0)|0)+(A+-1-r<<2)|0;p=d[p>>0]|d[p+1>>0]<<8|d[p+2>>0]<<16|d[p+3>>0]<<24;a[q>>0]=p;a[q+1>>0]=p>>8;a[q+2>>0]=p>>16;a[q+3>>0]=p>>24;p=c[B>>2]|0}while(0);q=q+4|0;t=t+1|0;if((t|0)>=(p|0))break;else{u=u+z|0;l=l+G|0}}}m=m+1|0;if((m|0)>=(c[H>>2]|0))break;else q=q+y|0}}}else if((E|0)>0){h=I+20|0;f=I+16|0;r=E;p=C;m=0;while(1){s=g-m|0;if((p|0)>0){u=(A-C<<15)+F+(_(s,G)|0)|0;l=(D-E<<15)+x-(_(s,z)|0)|0;t=0;while(1){r=u>>16;s=l>>16;r=j|0?A+-1-r|0:r;s=k|0?D+-1-s|0:s;if(r>>>0<(A+-1|0)>>>0&s>>>0<(D+-1|0)>>>0){Z=c[f>>2]|0;s=(c[h>>2]|0)+(_(Z,s)|0)|0;v=a[s+(r<<2)>>0]|0;N=a[s+(r<<2)+1>>0]|0;R=a[s+(r<<2)+2>>0]|0;V=a[s+(r<<2)+3>>0]|0;s=s+(r<<2)+4|0;X=a[s>>0]|0;T=a[s+1>>0]|0;P=a[s+2>>0]|0;L=a[s+3>>0]|0;W=a[s+(((Z|0)/4|0)<<2)>>0]|0;S=a[s+(((Z|0)/4|0)<<2)+1>>0]|0;O=a[s+(((Z|0)/4|0)<<2)+2>>0]|0;r=a[s+(((Z|0)/4|0)<<2)+3>>0]|0;Z=s+(((Z|0)/4|0)<<2)+-4|0;s=a[Z>>0]|0;w=a[Z+1>>0]|0;p=a[Z+2>>0]|0;Z=a[Z+3>>0]|0;M=j|0?L:V;Q=j|0?P:R;U=j|0?T:N;Y=j|0?X:v;L=j|0?V:L;P=j|0?R:P;T=j|0?N:T;X=j|0?v:X;v=j|0?r:Z;N=j|0?O:p;R=j|0?S:w;V=j|0?W:s;r=j|0?Z:r;O=j|0?p:O;S=j|0?w:S;W=j|0?s:W;s=u&65535;w=l&65535;p=(k|0?V:Y)&255;p=((_(((k|0?W:X)&255)-p|0,s)|0)>>>16)+p|0;V=(k|0?Y:V)&255;a[q>>0]=((_((((_(((k|0?X:W)&255)-V|0,s)|0)>>>16)+V&255)-(p&255)|0,w)|0)>>>16)+p;p=(k|0?R:U)&255;p=((_(((k|0?S:T)&255)-p|0,s)|0)>>>16)+p|0;R=(k|0?U:R)&255;a[q+1>>0]=((_((((_(((k|0?T:S)&255)-R|0,s)|0)>>>16)+R&255)-(p&255)|0,w)|0)>>>16)+p;p=(k|0?N:Q)&255;p=((_(((k|0?O:P)&255)-p|0,s)|0)>>>16)+p|0;N=(k|0?Q:N)&255;a[q+2>>0]=((_((((_(((k|0?P:O)&255)-N|0,s)|0)>>>16)+N&255)-(p&255)|0,w)|0)>>>16)+p;p=(k|0?v:M)&255;p=((_(((k|0?r:L)&255)-p|0,s)|0)>>>16)+p|0;v=(k|0?M:v)&255;a[q+3>>0]=((_((((_(((k|0?L:r)&255)-v|0,s)|0)>>>16)+v&255)-(p&255)|0,w)|0)>>>16)+p;p=c[B>>2]|0}q=q+4|0;t=t+1|0;if((t|0)>=(p|0))break;else{u=u+z|0;l=l+G|0}}r=c[H>>2]|0}m=m+1|0;if((m|0)>=(r|0))break;else q=q+y|0}}c[K>>2]=0;Wdb(I,K)|0;Xdb(J,3,c[K>>2]|0)|0}else{l=I+4|0;r=c[(c[l>>2]|0)+4>>2]|0;q=c[r>>2]|0;t=J+4|0;p=c[(c[t>>2]|0)+4>>2]|0;if((q|0)>0){s=0;do{q=(c[p+4>>2]|0)+(s<<2)|0;p=(c[r+4>>2]|0)+(s<<2)|0;p=d[p>>0]|d[p+1>>0]<<8|d[p+2>>0]<<16|d[p+3>>0]<<24;a[q>>0]=p;a[q+1>>0]=p>>8;a[q+2>>0]=p>>16;a[q+3>>0]=p>>24;s=s+1|0;r=c[(c[l>>2]|0)+4>>2]|0;q=c[r>>2]|0;p=c[(c[t>>2]|0)+4>>2]|0}while((s|0)<(q|0))}c[p>>2]=q;G=~~e;z=~~n;A=I+8|0;p=c[A>>2]|0;B=J+8|0;q=c[B>>2]|0;C=I+12|0;D=c[C>>2]|0;E=c[H>>2]|0;r=c[J+20>>2]|0;Z=J+16|0;F=(c[Z>>2]|0)-q|0;c[K>>2]=0;Wdb(I,K)|0;B6a(r,c[K>>2]&255,_(c[H>>2]|0,c[Z>>2]|0)|0)|0;if((c[H>>2]|0)>0){w=(p-q<<15)+(_(65536-z|0,f)|0)|0;x=I+20|0;y=I+16|0;v=_(G,f)|0;q=c[B>>2]|0;p=r;f=0;while(1){l=g-f|0;u=w+(_(l,G)|0)|0;l=(D-E<<15)+(g<<16)-((_(l,z)|0)+v)|0;if((q|0)>0)if(!j)if(!k){t=0;while(1){r=u>>16;s=l>>16;do if(r>>>0<(c[A>>2]|0)>>>0){if(s>>>0>=(c[C>>2]|0)>>>0)break;a[p>>0]=a[(c[x>>2]|0)+(_(c[y>>2]|0,s)|0)+r>>0]|0;q=c[B>>2]|0}while(0);p=p+1|0;t=t+1|0;if((t|0)>=(q|0))break;else{u=u+z|0;l=l+G|0}}}else{t=l;m=0;while(1){r=u>>16;s=t>>16;do if(r>>>0<(c[A>>2]|0)>>>0){l=c[C>>2]|0;if(s>>>0>=l>>>0)break;a[p>>0]=a[(c[x>>2]|0)+(_(c[y>>2]|0,l+~s|0)|0)+r>>0]|0;q=c[B>>2]|0}while(0);p=p+1|0;m=m+1|0;if((m|0)>=(q|0))break;else{u=u+z|0;t=t+G|0}}}else if(!k){t=l;m=0;while(1){r=u>>16;s=t>>16;l=c[A>>2]|0;do if(r>>>0>>0){if(s>>>0>=(c[C>>2]|0)>>>0)break;a[p>>0]=a[(c[x>>2]|0)+(_(c[y>>2]|0,s)|0)+(l+~r)>>0]|0;q=c[B>>2]|0}while(0);p=p+1|0;m=m+1|0;if((m|0)>=(q|0))break;else{u=u+z|0;t=t+G|0}}}else{m=l;h=0;while(1){r=u>>16;s=m>>16;l=c[A>>2]|0;do if(r>>>0>>0){t=c[C>>2]|0;if(s>>>0>=t>>>0)break;a[p>>0]=a[(c[x>>2]|0)+(_(c[y>>2]|0,t+~s|0)|0)+(l+~r)>>0]|0;q=c[B>>2]|0}while(0);p=p+1|0;h=h+1|0;if((h|0)>=(q|0))break;else{u=u+z|0;m=m+G|0}}}f=f+1|0;if((f|0)>=(c[H>>2]|0))break;else p=p+F|0}}c[K>>2]=0;Wdb(I,K)|0;Xdb(J,3,c[K>>2]|0)|0}Ydb(b,K+7|0)|0;Zdb(b,K)|0;_db(b,K+6|0,K+5|0,K+4|0)|0;Ucb(J,a[K+7>>0]|0)|0;Vcb(J,c[K>>2]|0)|0;Tcb(J,a[K+6>>0]|0,a[K+5>>0]|0,a[K+4>>0]|0)|0;if(c[I>>2]&2|0)H7a(I);if((I|0)==(b|0)){Z=J;i=K;return Z|0}A7a(I);Z=J;i=K;return Z|0}function deb(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0;i=c[e+4>>2]|0;if(!i){a[f>>0]=a[(c[124356+((d[e+28>>0]|0)<<2)>>2]|0)+((c[e+12>>2]&b)>>>(d[e+32>>0]|0))>>0]|0;a[g>>0]=a[(c[124356+((d[e+29>>0]|0)<<2)>>2]|0)+((c[e+16>>2]&b)>>>(d[e+33>>0]|0))>>0]|0;a[h>>0]=a[(c[124356+((d[e+30>>0]|0)<<2)>>2]|0)+((c[e+20>>2]&b)>>>(d[e+34>>0]|0))>>0]|0;return}if((c[i>>2]|0)>>>0>b>>>0){a[f>>0]=a[(c[i+4>>2]|0)+(b<<2)>>0]|0;a[g>>0]=a[(c[(c[e+4>>2]|0)+4>>2]|0)+(b<<2)+1>>0]|0;a[h>>0]=a[(c[(c[e+4>>2]|0)+4>>2]|0)+(b<<2)+2>>0]|0;return}else{a[h>>0]=0;a[g>>0]=0;a[f>>0]=0;return}}function eeb(a,b,c){a=a|0;b=b|0;c=c|0;b=Jcb(b)|0;if(!b){a=0;return a|0}a=$db(a,b,c)|0;X7a(b);return a|0}function feb(a,b,e,f){a=a|0;b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;g=c[a+4>>2]|0;if(!g){j=c[a+28>>2]|0;k=c[a+32>>2]|0;b=(e&255)>>>(j>>>8&255)<<(k>>>8&255)|(b&255)>>>(j&255)<<(k&255)|c[a+24>>2]|(f&255)>>>(j>>>16&255)<<(k>>>16&255);return b|0}k=c[g>>2]|0;a:do if((k|0)>0){i=c[g+4>>2]|0;j=0;a=0;h=-1;while(1){m=(d[i+(j<<2)>>0]|0)-(b&255)|0;n=(d[i+(j<<2)+1>>0]|0)-(e&255)|0;l=(d[i+(j<<2)+2>>0]|0)-(f&255)|0;g=(d[i+(j<<2)+3>>0]|0)+-255|0;g=(_(n,n)|0)+(_(m,m)|0)+(_(l,l)|0)+(_(g,g)|0)|0;if(g>>>0>>0){a=j&255;if(!g)break a}else g=h;j=j+1|0;if((j|0)>=(k|0))break;else h=g}}else a=0;while(0);n=a&255;return n|0}function geb(a,b,e,f,g){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0;l=i;i=i+32|0;j=c[a+316>>2]|0;h=c[j>>2]|0;if(!h){h=c[j+4>>2]|0;c[j>>2]=h;if(!h){h=Fcb(c[a+188>>2]|0)|0;do if(h|0){c[j+4>>2]=h;c[j>>2]=h;h=c[c[a+316>>2]>>2]|0;if(h|0){Rcb(h,a+212|0)|0;h=c[c[a+316>>2]>>2]|0;if(h|0)if(!(c[a+276>>2]|0)){Rcb(h,0)|0;break}else{Rcb(h,a+244|0)|0;break}}}while(0);h=c[j>>2]|0}if(!h){f=-1;i=l;return f|0}}k=c[a+212>>2]|0;j=c[a+216>>2]|0;a=c[b>>2]|0;if(!(k|j))j=b;else{c[l+8>>2]=a+k;c[l+8+4>>2]=(c[b+4>>2]|0)+j;c[l+8+8>>2]=c[b+8>>2];c[l+8+12>>2]=c[b+12>>2];j=l+8|0;a=a+k|0}if((a|0)>=0){k=c[j+8>>2]|0;if((k+a|0)<=(c[h+8>>2]|0)){b=c[j+4>>2]|0;if((b|0)>=0){j=c[j+12>>2]|0;if((j+b|0)<=(c[h+12>>2]|0)){n=c[h+4>>2]|0;m=c[h+16>>2]|0;b=(c[h+20>>2]|0)+(_(m,b)|0)|0;f=P8a(k,j,c[n>>2]|0,b+(_(d[n+9>>0]|0,a)|0)|0,m,e,f,g)|0;i=l;return f|0}}}}n=l6a(601556,l)|0;i=l;return n|0}function heb(a){a=a|0;a=c[a+188>>2]|0;if(!a)return;ieb(a)|0;return}function ieb(a){a=a|0;var b=0,d=0;d=i;i=i+48|0;b=c[299450]|0;if(!b){l6a(593111,d)|0;a=-1;i=d;return a|0}if(a|0)if((c[a>>2]|0)==(b+256|0)){c[d+24>>2]=0;c[d+24+4>>2]=0;c[d+24+8>>2]=c[a+24>>2];c[d+24+12>>2]=c[a+28>>2];if(!(c[a+108>>2]|0)){a=l6a(601596,d+16|0)|0;i=d;return a|0}else{a=cj[c[b+112>>2]&127](b,a,d+24|0,1)|0;i=d;return a|0}}l6a(606608,d+8|0)|0;a=-1;i=d;return a|0}function jeb(a,b){a=a|0;b=b|0;A7a(c[b+68>>2]|0);return}function keb(a){a=a|0;L7a(c[a+316>>2]|0);L7a(a);return}function leb(){return 1}function meb(a){a=a|0;a=Y6a(1,664)|0;if(!a){k7a(0)|0;a=0;return a|0}else{neb(601707,601740)|0;c[a+4>>2]=1548;c[a+8>>2]=740;c[a+24>>2]=160;c[a+180>>2]=741;c[a+28>>2]=383;c[a+36>>2]=234;c[a+48>>2]=235;c[a+104>>2]=236;c[a+88>>2]=51;c[a+108>>2]=106;c[a+112>>2]=98;c[a+116>>2]=237;c[a+140>>2]=384;c[a+144>>2]=385;c[a+148>>2]=742;c[a+152>>2]=386;c[a+156>>2]=161;c[a+164>>2]=387;c[a+168>>2]=1549;c[a+172>>2]=238;c[a+176>>2]=239;c[a+160>>2]=52;c[a+660>>2]=743;return a|0}return 0}function neb(a,b){a=a|0;b=b|0;return oeb(a,b,1)|0}function oeb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;if(!((a|0)!=0&(b|0)!=0)){b=0;return b|0}if(d>>>0<2&(q7a(a)|0)!=0){b=0;return b|0}e=c[299742]|0;a:do if(e|0){while(1){if(!(r7a(a,c[e>>2]|0)|0)){f=e;break}e=c[e+16>>2]|0;if(!e)break a}if((c[f+8>>2]|0)>>>0>d>>>0){b=0;return b|0}e=c[f+4>>2]|0;if(!e)g=8;else if(r7a(e,b)|0)g=8;if((g|0)==8){e=c[f+12>>2]|0;if(e|0)do{g=e;e=c[e+8>>2]|0;kj[c[g>>2]&127](c[g+4>>2]|0,a,c[f+4>>2]|0,b)}while((e|0)!=0);L7a(c[f+4>>2]|0);c[f+4>>2]=peb(b)|0}c[f+8>>2]=d;b=1;return b|0}while(0);e=c7a(20)|0;if(!e){b=0;return b|0}c[e>>2]=peb(a)|0;c[e+4>>2]=peb(b)|0;c[e+8>>2]=d;c[e+12>>2]=0;c[e+16>>2]=c[299742];c[299742]=e;b=1;return b|0}function peb(a){a=a|0;return Pnb(a)|0}function qeb(a){a=a|0;var b=0;b=i;i=i+32|0;c[b>>2]=370546692;c[b+4>>2]=ii(1)|0;c[b+8>>2]=ii(2)|0;c[b+12>>2]=0;c[b+16>>2]=0;if((reb(b)|0)<0){a=-1;i=b;return a|0}B6a(b,0,20)|0;veb(c[a+244>>2]|0,b)|0;web();a=0;i=b;return a|0}function reb(a){a=a|0;var b=0;b=i;i=i+80|0;B6a(b,0,68)|0;if(a|0){c[b+16>>2]=c[a>>2];c[b+16+4>>2]=c[a+4>>2];c[b+16+8>>2]=c[a+8>>2];c[b+16+12>>2]=c[a+12>>2];c[b+16+16>>2]=c[a+16>>2]}c[b+36>>2]=c[b+16>>2];c[b+36+4>>2]=c[b+16+4>>2];c[b+36+8>>2]=c[b+16+8>>2];c[b+36+12>>2]=c[b+16+12>>2];c[b+36+16>>2]=c[b+16+16>>2];a=seb(b)|0;i=b;return a|0}function seb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0;j=i;i=i+32|0;h=c[299450]|0;h=j7a(c[h+244>>2]|0,((c[h+240>>2]|0)*68|0)+68|0)|0;if(!h){k7a(0)|0;h=-1;i=j;return h|0}b=c[299450]|0;g=c[b+240>>2]|0;c[b+240>>2]=g+1;d=h+(g*68|0)|0;e=a;f=d+68|0;do{c[d>>2]=c[e>>2];d=d+4|0;e=e+4|0}while((d|0)<(f|0));c[h+(g*68|0)+60>>2]=b;c[b+244>>2]=h;b=c[a>>2]|0;if(!b){teb(g,j,10)|0;c[h+(g*68|0)>>2]=peb(j)|0;h=g;i=j;return h|0}else{c[h+(g*68|0)>>2]=peb(b)|0;h=g;i=j;return h|0}return 0}function teb(a,b,c){a=a|0;b=b|0;c=c|0;return ueb(a,b,c)|0}function ueb(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0;if((b|0)<0){a[c>>0]=45;b=0-b|0;f=c+1|0;while(1){e=f+1|0;a[f>>0]=a[601793+((b>>>0)%(d>>>0)|0)>>0]|0;b=(b>>>0)/(d>>>0)|0;if(!b)break;else f=e}a[e>>0]=0;b=rnb(c+1|0)|0;if(!(b>>>1))return c|0;e=c+1|0;f=c+1+(b+-1)|0;b=b>>>1;while(1){b=b+-1|0;d=a[e>>0]|0;a[e>>0]=a[f>>0]|0;a[f>>0]=d;if(!b)break;else{e=e+1|0;f=f+-1|0}}return c|0}if(!b){a[c>>0]=48;b=c+1|0}else{e=b;f=c;while(1){b=f+1|0;a[f>>0]=a[601793+((e>>>0)%(d>>>0)|0)>>0]|0;e=(e>>>0)/(d>>>0)|0;if(!e)break;else f=b}}a[b>>0]=0;b=rnb(c)|0;if(!(b>>>1))return c|0;e=c;f=c+(b+-1)|0;b=b>>>1;while(1){b=b+-1|0;d=a[e>>0]|0;a[e>>0]=a[f>>0]|0;a[f>>0]=d;if(!b)break;else{e=e+1|0;f=f+-1|0}}return c|0}function veb(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;d=c[a+12>>2]|0;i=c[a+8>>2]|0;a:do if((i|0)>0){h=0;b:while(1){g=d+(h*20|0)|0;if((g|0)==(b|0)){d=0;e=20;break}e=c[b+4>>2]|0;f=c[d+(h*20|0)+4>>2]|0;do if((f|0)==(e|0)){e=c[b+8>>2]|0;f=c[d+(h*20|0)+8>>2]|0;if((f|0)!=(e|0)){e=f-e|0;break}f=c[b>>2]|0;e=c[g>>2]|0;if((e>>>8&255|0)!=(f>>>8&255|0)){e=(e>>>8&255)-(f>>>8&255)|0;break}if((e>>>16&15|0)==(f>>>16&15|0)){e=c[b+12>>2]|0;f=c[d+(h*20|0)+12>>2]|0;if((f|0)==(e|0)){d=0;e=20;break b}else{e=f-e|0;break}}else{e=(e>>>16&15)-(f>>>16&15)|0;break}}else e=f-e|0;while(0);h=h+1|0;if(!e){d=0;e=20;break}if((h|0)>=(i|0))break a}if((e|0)==20)return d|0}while(0);do if((i|0)==(c[a+4>>2]|0)){d=j7a(d,(i*20|0)+640|0)|0;if(!d){b=0;return b|0}else{c[a+12>>2]=d;c[a+4>>2]=(c[a+4>>2]|0)+32;e=a+12|0;break}}else e=a+12|0;while(0);i=d+(i*20|0)|0;c[i>>2]=c[b>>2];c[i+4>>2]=c[b+4>>2];c[i+8>>2]=c[b+8>>2];c[i+12>>2]=c[b+12>>2];c[i+16>>2]=c[b+16>>2];b=(c[a+8>>2]|0)+1|0;c[a+8>>2]=b;F6a(c[e>>2]|0,b,20,374);b=1;return b|0}function web(){var a=0,b=0;a=R6a()|0;c[a>>2]=162;c[a+8>>2]=1550;c[a+16>>2]=744;c[a+20>>2]=114;c[a+4>>2]=1551;c[a+28>>2]=1552;a=Y6a(1,8)|0;if(!a){k7a(0)|0;b=a;Deb(b);return}b=Y6a(1,4)|0;if(!b){k7a(0)|0;L7a(a);b=0;Deb(b);return}else{c[b>>2]=601829;c[a+4>>2]=b;b=a;Deb(b);return}}function xeb(a,b,d){a=a|0;b=b|0;d=d|0;b=Y6a(1,8)|0;if(!b){k7a(0)|0;a=b;return a|0}d=Y6a(1,4)|0;if(!d){k7a(0)|0;L7a(b);a=0;return a|0}else{c[d>>2]=601829;c[b+4>>2]=d;a=b;return a|0}return 0}function yeb(a){a=a|0;if(!(y7a()|0))return 0;if(a|0){a=c[a+4>>2]|0;if(a|0){a=c[a>>2]|0;if(!a)return 0;Lc(3,a|0)|0;return 0}}Wg(4);return 0}function zeb(a){a=a|0;var b=0;if(!a)return;b=c[a+4>>2]|0;if(b|0)L7a(b);L7a(a);return}function Aeb(a,b,c){a=a|0;b=b|0;c=c|0;k7a(4)|0;return}function Beb(a){a=a|0;var b=0,d=0;do switch(a|0){case 0:{d=601829;b=13;break}case 1:{d=602102;b=13;break}case 2:{d=602097;b=13;break}case 3:{d=602087;b=13;break}case 4:{d=602078;b=13;break}case 5:{d=602066;b=13;break}case 6:{d=602054;b=13;break}case 7:{d=602044;b=13;break}case 8:{d=602034;b=13;break}case 9:{d=0;b=13;break}case 10:{d=602022;b=13;break}case 11:{d=602014;b=13;break}default:a=0}while(0);do if((b|0)==13){a=Y6a(1,8)|0;if(!a){k7a(0)|0;a=0;break}b=Y6a(1,4)|0;if(!b){k7a(0)|0;L7a(a);a=0;break}else{c[b>>2]=d;c[a+4>>2]=b;break}}while(0);return a|0}function Ceb(a){a=a|0;if(!a){if((Nh()|0)>-1){a=0;return a|0}}else if((Pf(0,1)|0)>-1){a=0;return a|0}a=-1;return a|0}function Deb(a){a=a|0;var b=0;c[299475]=a;if(c[299476]|0)return;if(!a)a=0;else c[299476]=a;b=c[299453]|0;if((a|0)!=0&(c[299477]|0)!=0&(c[299470]|0)==0){if(!b)return;vi[b&2047](a)|0;return}else{if(!b)return;vi[b&2047](0)|0;return}}function Eeb(a){a=a|0;Feb();return}function Feb(){var a=0,b=0,d=0;a=R6a()|0;b=c[a+96>>2]|0;if(b|0){d=c[b+4>>2]|0;if(d|0)L7a(d);L7a(b)}c[a+96>>2]=0;c[a>>2]=0;c[a+8>>2]=0;c[a+16>>2]=0;c[a+20>>2]=0;c[a+4>>2]=0;c[a+28>>2]=0;return}function Geb(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function Heb(a){a=a|0;return}function Ieb(a,b){a=a|0;b=b|0;var d=0.0,e=0,f=0.0,j=0.0,k=0.0,l=0,m=0,n=0;n=i;i=i+32|0;m=Y6a(1,28)|0;if(!m){b=k7a(0)|0;i=n;return b|0}if(!(c[b+48>>2]&8192)){g[m+12>>2]=1.0;l=m+12|0;d=1.0}else{d=+td();g[m+12>>2]=d;l=m+12|0}d=+Sdb(+(c[b+24>>2]|0)*d);f=+Sdb(+(c[b+28>>2]|0)*+g[l>>2]);Ug(~~d|0,~~f|0);lg(0,n+8|0,n|0)|0;j=+h[n+8>>3];k=+h[n>>3];c[m+16>>2]=(j!=d|k!=f)&1;if((c[b+48>>2]&32|0)==0|(j!=d|k!=f)^1)e=(j!=d|k!=f)&1;else{f=+g[l>>2];Ug(~~(j*f)|0,~~(k*f)|0);I6a(b,5,~~+h[n+8>>3],~~+h[n>>3])|0;e=c[m+16>>2]|0}if(!e)if(+g[l>>2]!=1.0)Ee(0,+(+(c[b+24>>2]|0)),+(+(c[b+28>>2]|0)))|0;if(c[b+48>>2]&2|0){if(!(c[a+652>>2]|0))if((Jeb(0)|0)<0){b=-1;i=n;return b|0}a=Keb(a,0)|0;c[m>>2]=a;if(!a){b=l6a(602232,n+16|0)|0;i=n;return b|0}}c[m+4>>2]=b;c[b+136>>2]=m;S6a(b);Meb(b);Reb(m);b=0;i=n;return b|0}function Jeb(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+32|0;b=c[299450]|0;if(!b){a=l6a(593111,e)|0;i=e;return a|0}do if(!(c[b+364>>2]|0)){d=c[b+140>>2]|0;if(!d){a=l6a(593181,e+16|0)|0;i=e;return a|0}d=Xi[d&511](b,a)|0;b=c[299450]|0;if(d){a=c[b+148>>2]|0;if(!a){a=d;i=e;return a|0}Hi[a&1023](b);a=d;i=e;return a|0}}else if(a){if(!(r7a(a,b+368|0)|0)){b=c[299450]|0;break}a=l6a(602107,e+8|0)|0;i=e;return a|0}while(0);a=b+364|0;c[a>>2]=(c[a>>2]|0)+1;a=0;i=e;return a|0}function Keb(a,b){a=a|0;b=b|0;if(Leb(a)|0){b=0;return b|0}a=c[a+652>>2]|0;b=cj[c[a+48>>2]&127](c[a+8>>2]|0,c[a+12>>2]|0,b,0)|0;return b|0}function Leb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0;k=i;i=i+800|0;c[k+532>>2]=0;f=c[a+652>>2]|0;if(!f){a=-1;i=k;return a|0}c[k+536>>2]=12324;c[k+536+4>>2]=c[a+268>>2];c[k+536+8>>2]=12323;c[k+536+12>>2]=c[a+272>>2];c[k+536+16>>2]=12322;c[k+536+20>>2]=c[a+276>>2];b=c[a+280>>2]|0;if(!b)d=6;else{c[k+536+24>>2]=12321;c[k+536+28>>2]=b;d=8}b=c[a+288>>2]|0;if(b){j=d|1;c[k+536+(d<<2)>>2]=12320;c[k+536+(j<<2)>>2]=b;d=j+1|0}c[k+536+(d<<2)>>2]=12325;b=d+2|0;c[k+536+(d+1<<2)>>2]=c[a+284>>2];e=c[a+292>>2]|0;if(!e)d=b;else{c[k+536+(b<<2)>>2]=12326;c[k+536+(d+3<<2)>>2]=e;d=d+4|0}b=c[a+320>>2]|0;if(b){c[k+536+(d<<2)>>2]=12338;c[k+536+(d+1<<2)>>2]=b;d=d+2|0}b=c[a+324>>2]|0;if(b){c[k+536+(d<<2)>>2]=12337;c[k+536+(d+1<<2)>>2]=b;d=d+2|0}if(c[a+356>>2]|0){a=l6a(602137,k)|0;i=k;return a|0}c[k+536+(d<<2)>>2]=12352;if((c[a+344>>2]|0)==4){b=(c[a+332>>2]|0)>1?4:1;vi[c[f+84>>2]&2047](12448)|0}else{vi[c[f+84>>2]&2047](12450)|0;b=8}c[k+536+(d+1<<2)>>2]=b;c[k+536+(d+2<<2)>>2]=12344;j=c[a+652>>2]|0;j=(Ci[c[j+36>>2]&127](c[j+8>>2]|0,k+536|0,k+16|0,128,k+532|0)|0)==0;b=c[k+532>>2]|0;if(j|(b|0)==0){a=l6a(602198,k+8|0)|0;i=k;return a|0}if((b|0)>0){b=-1;j=0}else{a=0;i=k;return a|0}do{h=k+16+(j<<2)|0;d=0;g=0;do{e=c[k+536+(g<<2)>>2]|0;if((e|0)==12344)break;f=k+536+((g|1)<<2)|0;if((e+-12321|0)>>>0<6&(c[f>>2]|0)!=-1){l=c[a+652>>2]|0;cj[c[l+72>>2]&127](c[l+8>>2]|0,c[h>>2]|0,e,k+528|0)|0;d=(c[k+528>>2]|0)+d-(c[f>>2]|0)|0}g=g+2|0}while(g>>>0<63);if((b|0)==-1|(d|0)<(b|0)){c[(c[a+652>>2]|0)+12>>2]=c[h>>2];b=d}j=j+1|0}while(d|0?(j|0)<(c[k+532>>2]|0):0);b=0;i=k;return b|0}function Meb(b){b=b|0;var d=0,e=0;d=c[299747]|0;if(!((b|0)!=0|(d|0)==0)){d=0;do{if((a[1198994+d>>0]|0)==1)Neb(0,d)|0;d=d+1|0}while((d|0)!=512);d=c[299747]|0}if(!((d|0)==0|(d|0)==(b|0))){if(c[d+48>>2]&16384){Oeb(0)|0;d=c[299747]|0}I6a(d,13,0,0)|0;if((X6a(771,-1)|0)<<24>>24){d=Qeb()|0;if(d|0){e=c[d+192>>2]|0;if(e|0)Hi[e&1023](d)}}}c[299747]=b;if(!b)return;I6a(b,12,0,0)|0;if(!((X6a(771,-1)|0)<<24>>24))return;d=Qeb()|0;if(!d)return;e=c[d+188>>2]|0;if(!e)return;Hi[e&1023](d);return}function Neb(d,f){d=d|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+64|0;if(!f){l=0;i=m;return l|0}switch(d&255|0){case 1:{l=768;break}case 0:{l=769;break}default:{l=0;i=m;return l|0}}k=a[1198994+f>>0]|0;j=d<<24>>24==0?0:k<<24>>24!=0&1;if(!(j<<24>>24?1:k<<24>>24!=d<<24>>24)){l=0;i=m;return l|0}a[1198994+f>>0]=d;k=c[1199508+(f<<2)>>2]|0;switch(k|0){case 1073742048:{h=64;break}case 1073742052:{h=128;break}case 1073742049:{h=1;break}case 1073742053:{h=2;break}case 1073742050:{h=256;break}case 1073742054:{h=512;break}case 1073742051:{h=1024;break}case 1073742055:{h=2048;break}case 1073742081:{h=16384;break}default:h=0}a:do if((l|0)==768){g=b[599496]|0;switch(k|0){case 1073741907:{b[599496]=g&65535^4096;break a}case 1073741881:{b[599496]=g&65535^8192;break a}default:{b[599496]=g&65535|h;break a}}}else{g=(e[599496]|0)&(h^65535)&65535;b[599496]=g}while(0);if((X6a(l,-1)|0)<<24>>24!=1){l=0;i=m;return l|0}c[m>>2]=l;a[m+12>>0]=d;a[m+13>>0]=j;c[m+16>>2]=f;c[m+16+4>>2]=k;b[m+16+8>>1]=g;g=c[299747]|0;if(!g)g=0;else g=c[g+4>>2]|0;c[m+8>>2]=g;l=($6a(m)|0)>0&1;i=m;return l|0}function Oeb(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;do if(!(c[299459]|0))b=k7a(4)|0;else{d=Peb()|0;if(d|0)b=(c[d+48>>2]&16384|0)!=0;else b=0;if((b&1|0)==(a|0))b=0;else{if(!a){if((vi[c[1197836>>2]&2047](0)|0)==-1){b=-1;break}c[d+48>>2]=c[d+48>>2]&-16385;b=0;break}if(!d){b=l6a(602269,e)|0;break}if((vi[c[1197836>>2]&2047](d)|0)==-1)b=-1;else{c[d+48>>2]=c[d+48>>2]|16384;b=0}}}while(0);i=e;return b|0}function Peb(){return c[299747]|0}function Qeb(){return c[299450]|0}function Reb(a){a=a|0;var b=0;Yd(602289,a|0,0,163)|0;Ue(602289,a|0,0,164)|0;ud(602297,a|0,0,164)|0;Yg(602289,a|0,0,165)|0;kg(602289,a|0,0,165)|0;ei(602289,a|0,0,166)|0;Uf(602307,a|0,0,167)|0;Pb(602307,a|0,0,167)|0;Nf(602289,a|0,0,168)|0;Wh(602289,a|0,0,168)|0;xe(602289,a|0,0,168)|0;Sf(602289,a|0,0,168)|0;b=p7a(602336)|0;b=b|0?b:602307;mc(b|0,a|0,0,169)|0;Ie(b|0,a|0,0,169)|0;ph(b|0,a|0,0,170)|0;mg(602297,a|0,0,171)|0;yd(602307,a|0,0,172)|0;Pg(a|0,0,173)|0;return}function Seb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0.0,g=0,j=0,k=0.0;g=i;i=i+288|0;lg(0,g+8|0,g|0)|0;a=c[d+4>>2]|0;f=+(c[a+24>>2]|0)/+h[g+8>>3];e=+(c[a+28>>2]|0)/+h[g>>3];a=(bg(g+16|0)|0)==0;a=a?c[g+16>>2]|0:0;if(!a){j=~~(f*+(c[b+60>>2]|0));b=~~(e*+(c[b+64>>2]|0));d=c[d+4>>2]|0;Teb(d,0,a,j,b)|0;i=g;return 0}else{k=+h[77751]+f*+(c[b+44>>2]|0);f=+h[77752]+e*+(c[b+48>>2]|0);h[77751]=k-+(~~k|0);h[77752]=f-+(~~f|0);b=~~k;j=~~f;d=c[d+4>>2]|0;Teb(d,0,a,b,j)|0;i=g;return 0}return 0}function Teb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(!((a|0)==0|(c|0)!=0))if(!(U6a(a,d,e)|0)){e=0;return e|0}e=W6a(a,b,c,d,e)|0;return e|0}function Ueb(a,d,e){a=a|0;d=d|0;e=e|0;d=b[d+40>>1]|0;if((d&65535)>=3){e=0;return e|0}Veb(c[e+4>>2]|0,0,(a|0)==5&1,(d&255)+1<<24>>24)|0;e=(X6a((a|0)==5&1,-1)|0)<<24>>24==1&1;return e|0}function Veb(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+64|0;j=c[299469]|0;if((f&255|0)<(c[299472]|0))o=7;else{h=j7a(c[299473]|0,(f&255)+1<<4)|0;if(!h)m=0;else{c[299473]=h;g=c[299472]|0;if((g|0)<=(f&255|0)){B6a(h+(g<<4)|0,0,16)|0;if((g|0)<(f&255|0))do{g=g+1|0;B6a((c[299473]|0)+(g<<4)|0,0,16)|0}while((g|0)!=(f&255|0))}c[299472]=(f&255)+1;o=7}}if((o|0)==7)m=(c[299473]|0)+((f&255)<<4)|0;switch(e&255|0){case 1:{g=j|1<<(f&255)+-1;n=1025;break}case 0:{g=j&~(1<<(f&255)+-1);n=1026;break}default:{b=0;i=p;return b|0}}if((b|0)!=0&e<<24>>24==1)U6a(b,c[299463]|0,c[299464]|0)|0;if((g|0)==(c[299469]|0)){b=0;i=p;return b|0}c[299469]=g;do if(!m)h=1;else{if(e<<24>>24!=1){h=a[m+12>>0]|0;break}k=a7a()|0;l=m+8|0;if(((c[l>>2]|0)-k+500|0)<1){g=m;o=21}else if((Web((c[299463]|0)-(c[m>>2]|0)|0)|0)>1){g=m;o=21}else{j=m+4|0;if((Web((c[299464]|0)-(c[j>>2]|0)|0)|0)>1){g=m;o=21}else{h=m+12|0;g=a[h>>0]|0;c[l>>2]=k;c[m>>2]=c[299463];c[j>>2]=c[299464];if(g<<24>>24==-1){h=-1;break}}}if((o|0)==21){h=m+12|0;a[h>>0]=0;c[l>>2]=k;c[g>>2]=c[299463];c[m+4>>2]=c[299464];g=0}o=g+1<<24>>24;a[h>>0]=o;h=o}while(0);if((X6a(n,-1)|0)<<24>>24==1){c[p>>2]=n;g=c[299462]|0;if(!g)g=0;else g=c[g+4>>2]|0;c[p+8>>2]=g;c[p+12>>2]=d;a[p+17>>0]=e;a[p+16>>0]=f;a[p+18>>0]=h;c[p+20>>2]=c[299463];c[p+24>>2]=c[299464];g=($6a(p)|0)>0&1}else g=0;if(!((b|0)!=0&e<<24>>24==0)){b=g;i=p;return b|0}U6a(b,c[299463]|0,c[299464]|0)|0;b=g;i=p;return b|0}function Web(a){a=a|0;return ((a|0)>-1?a:0-a|0)|0}function Xeb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;f=i;i=i+288|0;e=c[b+60>>2]|0;b=c[b+64>>2]|0;g=bg(f+16|0)|0;if((c[f+16>>2]|0)==0|(g|0)!=0){lg(0,f+8|0,f|0)|0;g=c[d+4>>2]|0;Teb(g,0,0,~~(+(e|0)*(+(c[g+24>>2]|0)/+h[f+8>>3])),~~(+(b|0)*(+(c[g+28>>2]|0)/+h[f>>3])))|0}if((a|0)!=33){g=0;S6a(g);g=X6a(512,-1)|0;g=g<<24>>24==1;g=g&1;i=f;return g|0}g=c[d+4>>2]|0;S6a(g);g=X6a(512,-1)|0;g=g<<24>>24==1;g=g&1;i=f;return g|0}function Yeb(a,b,d){a=a|0;b=b|0;d=d|0;Zeb(c[d+4>>2]|0,0,~~+h[b+72>>3],~~-+h[b+80>>3],0)|0;return (X6a(1027,-1)|0)<<24>>24==1|0}function Zeb(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;h=i;i=i+64|0;do if(a|0){g=c[299462]|0;if((g|0)!=(a|0)){if(g|0)I6a(g,11,0,0)|0;c[299462]=a;I6a(a,10,0,0)|0;g=(c[299462]|0)==0?c[299475]|0:c[299476]|0;a=c[299453]|0;if((g|0)!=0&(c[299477]|0)!=0&(c[299470]|0)==0){if(!a)break;vi[a&2047](g)|0;break}else{if(!a)break;vi[a&2047](0)|0;break}}}while(0);if(!(e|d)){e=0;i=h;return e|0}if((X6a(1027,-1)|0)<<24>>24!=1){e=0;i=h;return e|0}c[h>>2]=1027;g=c[299462]|0;if(!g)g=0;else g=c[g+4>>2]|0;c[h+8>>2]=g;c[h+12>>2]=b;c[h+16>>2]=d;c[h+20>>2]=e;c[h+24>>2]=f;e=($6a(h)|0)>0&1;i=h;return e|0}function _eb(a,b,d){a=a|0;b=b|0;d=d|0;if((a|0)==12)$eb();I6a(c[d+4>>2]|0,(a|0)==13?12:13,0,0)|0;return (X6a(512,-1)|0)<<24>>24==1|0}function $eb(){var b=0;b=0;do{if((a[1198994+b>>0]|0)==1)Neb(0,b)|0;b=b+1|0}while((b|0)!=512);return}function afb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0.0,g=0.0,j=0,k=0;k=i;i=i+16|0;if((bfb(1,0,1279070)|0)<0){b=0;i=k;return b|0}lg(0,k+8|0,k|0)|0;a:do if((c[b>>2]|0)>0){if((a|0)==24){e=0;d=0;while(1){if(c[b+20+(e*52|0)+28>>2]|0){a=c[b+20+(e*52|0)>>2]|0;dfb(1,0,a,((a|0)<0)<<31>>31,+(c[b+20+(e*52|0)+44>>2]|0)/+h[k+8>>3],+(c[b+20+(e*52|0)+48>>2]|0)/+h[k>>3],1.0)|0;if(!d)d=(X6a(1794,-1)|0)<<24>>24==1&1}e=e+1|0;if((e|0)>=(c[b>>2]|0))break a}}j=0;d=0;do{do if(c[b+20+(j*52|0)+28>>2]|0){e=c[b+20+(j*52|0)>>2]|0;f=+(c[b+20+(j*52|0)+44>>2]|0)/+h[k+8>>3];g=+(c[b+20+(j*52|0)+48>>2]|0)/+h[k>>3];if((a|0)==22){efb(1,0,e,((e|0)<0)<<31>>31,1,f,g,1.0)|0;if(d|0)break;d=(X6a(1792,-1)|0)<<24>>24==1&1;break}else{efb(1,0,e,((e|0)<0)<<31>>31,0,f,g,1.0)|0;if(d|0)break;d=(X6a(1793,-1)|0)<<24>>24==1&1;break}}while(0);j=j+1|0}while((j|0)<(c[b>>2]|0))}else d=0;while(0);b=d;i=k;return b|0}function bfb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;f=c[300389]|0;a:do if((f|0)>0){d=c[300390]|0;e=0;while(1){g=c[d+(e<<2)>>2]|0;if((c[g>>2]|0)==(a|0)?(c[g+4>>2]|0)==(b|0):0)break;e=e+1|0;if((e|0)>=(f|0))break a}if((e|0)>-1){g=e;return g|0}}else d=c[300390]|0;while(0);d=j7a(d,(f<<2)+4|0)|0;if(!d){g=k7a(0)|0;return g|0}c[300390]=d;d=c[300389]|0;e=c7a(24)|0;c[(c[300390]|0)+(d<<2)>>2]=e;if(!e){g=k7a(0)|0;return g|0}else{c[300389]=(c[300389]|0)+1;c[e>>2]=a;c[e+4>>2]=b;c[e+8>>2]=0;c[e+12>>2]=0;c[e+16>>2]=0;cfb(a,b)|0;g=d;return g|0}return 0}function cfb(a,b){a=a|0;b=b|0;var d=0,e=0;d=j7a(c[299448]|0,((c[299447]|0)*8232|0)+8232|0)|0;if(!d){d=k7a(0)|0;return d|0}else{c[299448]=d;B6a(d+((c[299447]|0)*8232|0)|0,0,8232)|0;d=c[299447]|0;e=(c[299448]|0)+(d*8232|0)|0;c[e>>2]=a;c[e+4>>2]=b;c[299447]=d+1;d=0;return d|0}return 0}function dfb(a,b,d,e,f,h,j){a=a|0;b=b|0;d=d|0;e=e|0;f=+f;h=+h;j=+j;var k=0.0,l=0.0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+64|0;o=c[300389]|0;a:do if((o|0)>0){n=c[300390]|0;m=0;while(1){p=c[n+(m<<2)>>2]|0;if((c[p>>2]|0)==(a|0)?(c[p+4>>2]|0)==(b|0):0)break;m=m+1|0;if((m|0)>=(o|0))break a}if((m|0)>-1&(m|0)<(o|0)){if(!p){e=-1;i=q;return e|0}o=c[p+8>>2]|0;b:do if((o|0)>0){n=c[p+16>>2]|0;m=0;while(1){p=c[n+(m<<2)>>2]|0;if((c[p>>2]|0)==(d|0)?(c[p+4>>2]|0)==(e|0):0)break;m=m+1|0;if((m|0)>=(o|0))break b}if(!((m|0)>=(o|0)|(m|0)<0|(p|0)==0)){k=f-+g[p+8>>2];l=h-+g[p+12>>2];if(!(k!=0.0|l!=0.0|j-+g[p+16>>2]!=0.0)){e=0;i=q;return e|0}g[p+8>>2]=f;g[p+12>>2]=h;g[p+16>>2]=j;if((X6a(1794,-1)|0)<<24>>24!=1){e=0;i=q;return e|0}c[q>>2]=1794;c[q+8>>2]=a;c[q+8+4>>2]=b;c[q+16>>2]=d;c[q+16+4>>2]=e;g[q+24>>2]=f;g[q+28>>2]=h;g[q+32>>2]=k;g[q+36>>2]=l;g[q+40>>2]=j;e=($6a(q)|0)>0&1;i=q;return e|0}}while(0);e=efb(a,b,d,e,1,f,h,j)|0;i=q;return e|0}}while(0);l6a(602315,q+56|0)|0;e=-1;i=q;return e|0}function efb(a,b,d,e,f,h,j,k){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;h=+h;j=+j;k=+k;var l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+64|0;n=c[300389]|0;a:do if((n|0)>0){m=c[300390]|0;l=0;while(1){p=c[m+(l<<2)>>2]|0;if((c[p>>2]|0)==(a|0)?(c[p+4>>2]|0)==(b|0):0)break;l=l+1|0;if((l|0)>=(n|0))break a}if((l|0)>-1&(l|0)<(n|0)){if(!p){q=-1;i=r;return q|0}n=c[p+8>>2]|0;b:do if((n|0)>0){m=c[p+16>>2]|0;l=0;while(1){o=c[m+(l<<2)>>2]|0;if((c[o>>2]|0)==(d|0)?(c[o+4>>2]|0)==(e|0):0)break;l=l+1|0;if((l|0)>=(n|0)){m=0;break b}}m=(l|0)>-1&(l|0)<(n|0)?o:0}else m=0;while(0);l=(m|0)!=0;if(!f){if(!l){q=0;i=r;return q|0}if((X6a(1793,-1)|0)<<24>>24==1){c[r>>2]=1793;c[r+8>>2]=a;c[r+8+4>>2]=b;c[r+16>>2]=d;c[r+16+4>>2]=e;c[r+24>>2]=c[m+8>>2];c[r+28>>2]=c[m+12>>2];g[r+32>>2]=0.0;g[r+36>>2]=0.0;g[r+40>>2]=k;l=($6a(r)|0)>0&1}else l=0;n=c[p+8>>2]|0;if((n|0)<=0){q=l;i=r;return q|0}o=c[p+16>>2]|0;m=0;while(1){f=o+(m<<2)|0;a=c[f>>2]|0;if((c[a>>2]|0)==(d|0)?(c[a+4>>2]|0)==(e|0):0)break;m=m+1|0;if((m|0)>=(n|0)){q=35;break}}if((q|0)==35){i=r;return l|0}if((m|0)<0){q=l;i=r;return q|0}c[p+8>>2]=n+-1;c[f>>2]=c[o+(n+-1<<2)>>2];c[(c[p+16>>2]|0)+(n+-1<<2)>>2]=a;q=l;i=r;return q|0}if(l){q=0;i=r;return q|0}c:do if((n|0)==(c[p+12>>2]|0)){l=j7a(c[p+16>>2]|0,(n<<2)+4|0)|0;do if(!l)l=k7a(0)|0;else{c[p+16>>2]=l;m=c7a(24)|0;l=c[p+12>>2]|0;c[(c[p+16>>2]|0)+(l<<2)>>2]=m;m=c[p+16>>2]|0;if(!(c[m+(l<<2)>>2]|0)){l=k7a(0)|0;break}else{c[p+12>>2]=l+1;n=c[p+8>>2]|0;l=m;q=22;break c}}while(0);if((l|0)<0){q=0;i=r;return q|0}}else{l=c[p+16>>2]|0;q=22}while(0);if((q|0)==22){c[p+8>>2]=n+1;q=c[l+(n<<2)>>2]|0;c[q>>2]=d;c[q+4>>2]=e;g[q+8>>2]=h;g[q+12>>2]=j;g[q+16>>2]=k}if((X6a(1792,-1)|0)<<24>>24!=1){q=0;i=r;return q|0}c[r>>2]=1792;c[r+8>>2]=a;c[r+8+4>>2]=b;c[r+16>>2]=d;c[r+16+4>>2]=e;g[r+24>>2]=h;g[r+28>>2]=j;g[r+32>>2]=0.0;g[r+36>>2]=0.0;g[r+40>>2]=k;q=($6a(r)|0)>0&1;i=r;return q|0}}while(0);l6a(602315,r+56|0)|0;q=-1;i=r;return q|0}function ffb(a,b,d){a=a|0;b=b|0;d=d|0;d=c[b+156>>2]|0;if(d>>>0<223){d=c[136372+(d<<2)>>2]|0;if(d|0){a:do if((c[b+64>>2]|0)==2)switch(d|0){case 225:{d=229;break a}case 224:{d=228;break a}case 226:{d=230;break a}case 227:{d=231;break a}default:break a}while(0);Neb((a|0)==2&1,d)|0}}d=(X6a((a|0)==2?768:769,-1)|0)<<24>>24==1&1;if((a|0)!=2)return d|0;if((X6a(771,-1)|0)<<24>>24==1)return ((c[b+156>>2]&-2|0)==8?d:0)|0;else return d|0;return 0}function gfb(b,d,e){b=b|0;d=d|0;e=e|0;e=i;i=i+16|0;b=c[d+152>>2]|0;do if(b>>>0<128){a[e>>0]=b;a[e+1>>0]=0}else{if(b>>>0<2048){a[e>>0]=b>>>6&31|192;a[e+1>>0]=b&63|128;a[e+2>>0]=0;break}if(b>>>0<65536){a[e>>0]=b>>>12&15|224;a[e+1>>0]=b>>>6&63|128;a[e+2>>0]=b&63|128;a[e+3>>0]=0;break}if(b>>>0<1114112){a[e>>0]=b>>>18|240;a[e+1>>0]=b>>>12&63|128;a[e+2>>0]=b>>>6&63|128;a[e+3>>0]=b&63|128;a[e+4>>0]=0;break}else{d=X6a(771,-1)|0;d=d<<24>>24==1;d=d&1;i=e;return d|0}}while(0);hfb(e)|0;d=X6a(771,-1)|0;d=d<<24>>24==1;d=d&1;i=e;return d|0}function hfb(b){b=b|0;var d=0,e=0;e=i;i=i+64|0;d=a[b>>0]|0;if((d&255)<32|d<<24>>24==127){b=0;i=e;return b|0}if((X6a(771,-1)|0)<<24>>24!=1){b=0;i=e;return b|0}c[e>>2]=771;d=c[299747]|0;if(!d)d=0;else d=c[d+4>>2]|0;c[e+8>>2]=d;ifb(e+12|0,b,32)|0;b=($6a(e)|0)>0&1;i=e;return b|0}function ifb(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;g=rnb(c)|0;d=g>>>0<(d+-1|0)>>>0?g:d+-1|0;if(!d){c=0;b=b+c|0;a[b>>0]=0;return c|0}e=a[c+(d+-1)>>0]|0;a:do if((e+64&255)<53)d=d+-1|0;else if(!((e&255)>191|e<<24>>24>-1|(d+-1|0)==0)){b:do if((e&-32)<<24>>24==-64){g=2;e=d+-1|0}else{f=d+-1|0;while(1){if((e&-16)<<24>>24==-32){g=3;e=f;break b}if((e+16&255)<5){g=4;e=f;break b}f=f+-1|0;if(!f)break a;e=a[c+f>>0]|0;if((e&-32)<<24>>24==-64){g=2;e=f;break}}}while(0);d=(d-e|0)==(g|0)?d:e}while(0);mBb(b|0,c|0,d|0)|0;c=d;b=b+c|0;a[b>>0]=0;return c|0}function jfb(a,b,d){a=a|0;b=b|0;d=d|0;if(!(c[b>>2]|0)){d=(c[d+4>>2]|0)+48|0;c[d>>2]=c[d>>2]&-4098;return 0}else{b=(c[d+4>>2]|0)+48|0;a=c[b>>2]|c[d+20>>2];c[d+20>>2]=0;c[b>>2]=a|1;return 0}return 0}function kfb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0.0,j=0.0;b=i;i=i+16|0;a=c[d+4>>2]|0;if((c[a+48>>2]&4129|0)!=32){i=b;return 0}f=+(c[a+24>>2]|0);h[b+8>>3]=f;e=+(c[a+28>>2]|0);h[b>>3]=e;if(c[d+16>>2]|0){lg(0,b+8|0,b|0)|0;f=+h[b+8>>3];e=+h[b>>3]}j=+g[d+12>>2];Ug(~~(f*j)|0,~~(e*j)|0);if(!(c[d+16>>2]|0))if(+g[d+12>>2]!=1.0)Ee(0,+(+h[b+8>>3]),+(+h[b>>3]))|0;I6a(c[d+4>>2]|0,5,~~+h[b+8>>3],~~+h[b>>3])|0;i=b;return 0}function lfb(a,b,d){a=a|0;b=b|0;d=d|0;I6a(c[d+4>>2]|0,c[b>>2]|0?2:1,0,0)|0;return 0}function mfb(a,b){a=a|0;b=b|0;Lc(5,c[b+8>>2]|0)|0;return}function nfb(a,b){a=a|0;b=b|0;var d=0.0;a=c[b+136>>2]|0;if(!a)return;d=+g[a+12>>2];Ug(~~(+(c[b+24>>2]|0)*d)|0,~~(d*+(c[b+28>>2]|0))|0);if(c[a+16>>2]|0)return;if(!(+g[a+12>>2]!=1.0))return;Ee(0,+(+(c[b+24>>2]|0)),+(+(c[b+28>>2]|0)))|0;return}function ofb(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[b+136>>2]|0;if(!d)return;pfb(d);e=c[d>>2]|0;if(e|0){qfb(a,e);c[d>>2]=0}L7a(c[b+136>>2]|0);c[b+136>>2]=0;return}function pfb(a){a=a|0;Yd(602289,0,0,0)|0;Ue(602289,0,0,0)|0;ud(602297,0,0,0)|0;Yg(602289,0,0,0)|0;kg(602289,0,0,0)|0;ei(602289,0,0,0)|0;Uf(602307,0,0,0)|0;Pb(602307,0,0,0)|0;Nf(602289,0,0,0)|0;Wh(602289,0,0,0)|0;xe(602289,0,0,0)|0;Sf(602289,0,0,0)|0;a=p7a(602336)|0;a=a|0?a:602307;mc(a|0,0,0,0)|0;Ie(a|0,0,0,0)|0;ph(a|0,0,0,0)|0;mg(602297,0,0,0)|0;yd(602307,0,0,0)|0;Pg(0,0,0)|0;return}function qfb(a,b){a=a|0;b=b|0;a=c[a+652>>2]|0;if(!((b|0)!=0&(a|0)!=0))return;Xi[c[a+52>>2]&511](c[a+8>>2]|0,b)|0;return}function rfb(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+32|0;d=c[b+136>>2]|0;if(!d){i=f;return}if(!e){$d()|0;i=f;return}a=c[b+48>>2]|0;c[f>>2]=(a&4097|0)==4097?1:2;do if((a&4097|0)==4097)if(!(a&8192)){c[f+4>>2]=1;break}else{c[f+4>>2]=2;break}else c[f+4>>2]=0;while(0);c[f+8>>2]=0;c[f+12>>2]=174;c[f+16>>2]=d;c[d+20>>2]=a&4097;c[d+24>>2]=(a&4097|0)==4097&1;if((Yc(0,1,f|0)|0)>>>0>1)c[b+48>>2]=c[b+48>>2]&-4098;i=f;return}function sfb(a,b,d){a=a|0;b=b|0;d=d|0;a=i;i=i+16|0;if(!(c[d+24>>2]|0)){i=a;return 0}lg(0,a+8|0,a|0)|0;I6a(c[d+4>>2]|0,5,~~+h[a+8>>3],~~+h[a>>3])|0;i=a;return 0}function tfb(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;h=i;i=i+32|0;g=(c[b+136>>2]|0)+8|0;A7a(c[g>>2]|0);R8a(374740996,h+16|0,h+12|0,h+8|0,h+4|0,h)|0;V6a(b,h+24|0,h+20|0);a=Hcb(0,c[h+24>>2]|0,c[h+20>>2]|0,c[h+16>>2]|0,c[h+12>>2]|0,c[h+8>>2]|0,c[h+4>>2]|0,c[h>>2]|0)|0;if(!a){e=-1;i=h;return e|0}c[g>>2]=a;c[d>>2]=374740996;c[e>>2]=c[a+20>>2];c[f>>2]=c[a+16>>2];e=0;i=h;return e|0}function ufb(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;e=i;i=i+16|0;a=c[(c[b+136>>2]|0)+8>>2]|0;if(!a){b=l6a(602498,e)|0;i=e;return b|0}else{je(6,c[a+8>>2]|0,c[a+12>>2]|0,c[a+20>>2]|0)|0;b=0;i=e;return b|0}return 0}function vfb(a,b){a=a|0;b=b|0;b=(c[b+136>>2]|0)+8|0;A7a(c[b>>2]|0);c[b>>2]=0;return}function wfb(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+16|0;e=Y6a(1,88)|0;c[b+652>>2]=e;if(!e){d=k7a(0)|0;i=g;return d|0}c[e+20>>2]=1553;c[e+24>>2]=175;c[e+28>>2]=1554;c[e+32>>2]=1555;c[e+36>>2]=107;c[e+72>>2]=99;c[e+40>>2]=100;c[e+44>>2]=388;c[e+48>>2]=101;c[e+52>>2]=389;c[e+56>>2]=102;c[e+60>>2]=390;c[e+64>>2]=391;c[e+76>>2]=1556;c[e+80>>2]=3;c[e+84>>2]=1557;e=vi[c[e+20>>2]&2047](0)|0;f=c[b+652>>2]|0;c[f+8>>2]=e;if(!e){d=l6a(603998,g)|0;i=g;return d|0}if((Gi[c[f+24>>2]&255](e,0,0)|0)!=1){d=l6a(604024,g+8|0)|0;i=g;return d|0}c[b+364>>2]=1;if(!d){a[b+368>>0]=0;d=0;i=g;return d|0}else{m6a(b+368|0,d,255)|0;d=0;i=g;return d|0}return 0}function xfb(b,d){b=b|0;d=d|0;var e=0,f=0;e=c[b+652>>2]|0;f=c[e+32>>2]|0;do if(f){e=vi[f&2047](d)|0;if(!e){e=c[b+652>>2]|0;break}else{d=e;return d|0}}while(0);e=yfb(c[e>>2]|0,d)|0;if(e|0){d=e;return d|0}if((t6a(d)|0)>>>0>=1023){d=0;return d|0}a[1275906]=95;m6a(1275907,d,1022)|0;d=yfb(c[c[b+652>>2]>>2]|0,1275906)|0;return d|0}function yfb(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;f=i;i=i+16|0;e=re(b|0,d|0)|0;if(e|0){d=e;i=f;return d|0}g=(t6a(d)|0)+2|0;e=i;i=i+((1*g|0)+15&-16)|0;a[e>>0]=95;m6a(e+1|0,d,g)|0;e=re(b|0,e|0)|0;if(e|0){g=e;i=f;return g|0}g=Ub()|0;c[f>>2]=d;c[f+4>>2]=g;l6a(604049,f)|0;g=0;i=f;return g|0}function zfb(a){a=a|0;var b=0,d=0;b=c[a+652>>2]|0;if(!b)return;d=c[b+8>>2]|0;if(d){vi[c[b+28>>2]&2047](d)|0;b=c[a+652>>2]|0;c[b+8>>2]=0}d=c[b+4>>2]|0;if(d){Afb(d);b=c[a+652>>2]|0;c[b+4>>2]=0}d=c[b>>2]|0;if(d){Afb(d);b=c[a+652>>2]|0;c[b>>2]=0}L7a(b);c[a+652>>2]=0;return}function Afb(a){a=a|0;if(!a)return;wc(a|0)|0;return}function Bfb(a,b){a=a|0;b=b|0;return Cfb(a,c[c[b+136>>2]>>2]|0)|0}function Cfb(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+96|0;d=c[a+344>>2]|0;e=c[a+332>>2]|0;f=c[a+336>>2]|0;if(!(c[a+652>>2]|0)){a=0;i=h;return a|0}if(!(c[a+348>>2]|0))g=0;else g=Dfb()|0;if((e|0)<3|(d|0)==4&(f|0)==0)if((d|4|0)==4&(c[a+340>>2]|0)==0){if((d|0)==4){c[h+36>>2]=12440;c[h+36+4>>2]=(e|0)>1?e:1;c[h+36+8>>2]=12344;vi[c[(c[a+652>>2]|0)+84>>2]&2047](12448)|0}else{c[h+36>>2]=12344;vi[c[(c[a+652>>2]|0)+84>>2]&2047](12450)|0}f=c[a+652>>2]|0;f=cj[c[f+40>>2]&127](c[f+8>>2]|0,c[f+12>>2]|0,g,h+36|0)|0;if(!f){l6a(604139,h+8|0)|0;a=0;i=h;return a|0}d=c[a+652>>2]|0;c[d+16>>2]=0;do if(!d)d=l6a(604168,h+16|0)|0;else{e=c[d+56>>2]|0;d=c[d+8>>2]|0;if(!b){cj[e&127](d,0,0,0)|0;a=f;i=h;return a|0}if(!(cj[e&127](d,b,b,f)|0)){d=l6a(604191,h+24|0)|0;break}else{a=f;i=h;return a|0}}while(0);if((d|0)>=0){a=f;i=h;return a|0}d=c[a+652>>2]|0;if(d|0){cj[c[d+56>>2]&127](c[d+8>>2]|0,0,0,0)|0;a=c[a+652>>2]|0;Xi[c[a+44>>2]&511](c[a+8>>2]|0,f)|0}l6a(604226,h+32|0)|0;a=0;i=h;return a|0}l6a(604071,h)|0;a=0;i=h;return a|0}function Dfb(){var a=0,b=0;b=i;i=i+16|0;a=c[299450]|0;if(!a){l6a(593111,b)|0;a=0;i=b;return a|0}else{a=b8a(c[a+640>>2]|0)|0;i=b;return a|0}return 0}function Efb(a,b,d){a=a|0;b=b|0;d=d|0;if((b|0)!=0&(d|0)!=0){b=Ffb(a,c[c[b+136>>2]>>2]|0,d)|0;return b|0}else{b=Ffb(a,0,0)|0;return b|0}return 0}function Ffb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;a=c[a+652>>2]|0;if(!a){b=l6a(604168,f)|0;i=f;return b|0}e=c[a+56>>2]|0;a=c[a+8>>2]|0;if(!((b|0)!=0&(d|0)!=0)){cj[e&127](a,0,0,0)|0;b=0;i=f;return b|0}if(cj[e&127](a,b,b,d)|0){b=0;i=f;return b|0}b=l6a(604191,f+8|0)|0;i=f;return b|0}function Gfb(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;d=c[a+652>>2]|0;if(!d){b=l6a(604261,e)|0;i=e;return b|0}if((Xi[c[d+64>>2]&511](c[d+8>>2]|0,b)|0)==1){c[(c[a+652>>2]|0)+16>>2]=b;b=0;i=e;return b|0}else{b=l6a(604281,e+8|0)|0;i=e;return b|0}return 0}function Hfb(a){a=a|0;var b=0;b=i;i=i+16|0;a=c[a+652>>2]|0;if(!a){a=l6a(604261,b)|0;i=b;return a|0}else{a=c[a+16>>2]|0;i=b;return a|0}return 0}function Ifb(a,b){a=a|0;b=b|0;Jfb(a,c[c[b+136>>2]>>2]|0);return}function Jfb(a,b){a=a|0;b=b|0;a=c[a+652>>2]|0;Xi[c[a+60>>2]&511](c[a+8>>2]|0,b)|0;return}function Kfb(a,b){a=a|0;b=b|0;Yf(17664);Lfb(a,b);return}function Lfb(a,b){a=a|0;b=b|0;var d=0;d=c[a+652>>2]|0;if((b|0)==0|(d|0)==0)return;cj[c[d+56>>2]&127](c[d+8>>2]|0,0,0,0)|0;a=c[a+652>>2]|0;Xi[c[a+44>>2]&511](c[a+8>>2]|0,b)|0;return}function Mfb(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;a=c[b+136>>2]|0;if(!a)return;if(d|0)c[d>>2]=~~(+(c[b+24>>2]|0)*+g[a+12>>2]);if(!e)return;c[e>>2]=~~(+(c[b+28>>2]|0)*+g[a+12>>2]);return}function Nfb(a){a=a|0;L7a(a);return}function Ofb(a){a=a|0;var b=0;b=i;i=i+16|0;c[a+4>>2]=103;c[a+32>>2]=745;c[a+64>>2]=1;c[a+56>>2]=1;c[a+52>>2]=1;a=ii(7)|0;if(a|0){i=b;return a|0}l6a(605748,b)|0;i=b;return a|0}function Pfb(a,f,g,h){a=a|0;f=f|0;g=g|0;h=h|0;var j=0.0,k=0;k=i;i=i+16|0;g=Qfb(b[a+8>>1]|0)|0;a:do if(g<<16>>16){while(1){if(g<<16>>16==-32480)break;g=Rfb()|0;if(!(g<<16>>16))break a}b[a+8>>1]=-32480;Rfb()|0;g=c7a(20)|0;c[a+184>>2]=g;if(!g){a=k7a(0)|0;i=k;return a|0}B6a(g,0,20)|0;if((ii(8)|0)<0){a=l6a(604724,k+8|0)|0;i=k;return a|0}h=ii(9)|0;g=c[a+4>>2]|0;if((g|0)!=(h|0)){f=b[a+12>>1]|0;b:do if(f<<16>>16){if(+Sdb(+(f&65535)/+(h|0)*+(g|0))==+(f&65535)/+(h|0)*+(g|0))j=+(f&65535)/+(h|0)*+(g|0);else{g=f&65535;do{if((g|0)<=1)break b;g=g+-1|0;j=+(g|0)/+(h|0)*+(c[a+4>>2]|0)}while(!(+Sdb(j)==j))}f=~~+Sdb(j)>>>0;c[(c[a+184>>2]|0)+8>>2]=f}while(0);c[a+4>>2]=h}Sfb(a+4|0);bd(10,d[a+10>>0]|0|0,e[a+12>>1]|0|0,746,a|0)|0;a=0;i=k;return a|0}while(0);a=l6a(604345,k)|0;i=k;return a|0}function Qfb(a){a=a|0;c[300391]=0;if(a<<16>>16==8)a=0;else{c[300391]=1;if(a<<16>>16==-32760)a=1;else{c[300391]=2;if(a<<16>>16==-32752)a=2;else{c[300391]=3;if(a<<16>>16==-28656)a=3;else{c[300391]=4;if(a<<16>>16==16)a=4;else{c[300391]=5;if(a<<16>>16==4112)a=5;else{c[300391]=6;if(a<<16>>16==-32736)a=6;else{c[300391]=7;if(a<<16>>16==-28640)a=7;else{c[300391]=8;if(a<<16>>16==-32480)a=8;else{c[300391]=9;if(a<<16>>16==-28384)a=9;else{c[300391]=10;c[300392]=0;a=0;return a|0}}}}}}}}}}c[300392]=1;a=b[173522+(a*20|0)>>1]|0;return a|0}function Rfb(){var a=0,d=0;a=c[300391]|0;d=c[300392]|0;if((a|0)==10|(d|0)==10){d=0;return d|0}c[300392]=d+1;d=b[173522+(a*20|0)+(d<<1)>>1]|0;return d|0}function Sfb(b){b=b|0;var d=0;d=c[b+4>>2]|0;a[b+7>>0]=(d&65535)<<16>>16==8?-128:0;d=_(d>>>16&255,d>>>3&31)|0;c[b+12>>2]=_(e[b+8>>1]|0,d)|0;return}function Tfb(a){a=a|0;var b=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;m=c[a+8>>2]|0;g=(e[a+32>>1]|0)>>>3&31;if(!(c[a+136>>2]|0))return;if(c[a+144>>2]|0)return;f=c[a+184>>2]|0;if(!(c[a+28>>2]|0)){b=c[f>>2]|0;if(!b){b=c[a+16>>2]|0;c[f+4>>2]=b;b=c7a(b)|0;f=c[a+184>>2]|0;c[f>>2]=b}$i[c[a+20>>2]&255](c[a+24>>2]|0,b,c[f+4>>2]|0);b=c[a+184>>2]|0;f=c[b>>2]|0;b=c[b+4>>2]|0}else{b=c[f+8>>2]|0;if(!b){l=a+48|0;b=c[a+48>>2]|0}else{b=_(_(b,g)|0,m>>>16&255)|0;c[a+48>>2]=b;l=a+48|0}$i[c[a+20>>2]&255](c[a+24>>2]|0,c[a+44>>2]|0,b);Ufb(a+28|0)|0;b=c[a+52>>2]|0;f=c[a+16>>2]|0;if((b|0)==(f|0))f=c[a+44>>2]|0;else{g=c[a+184>>2]|0;h=c[g>>2]|0;if(!h){f=(f>>>0>b>>>0?f:b)<<1;c[g+4>>2]=f;f=c7a(f)|0;g=c[a+184>>2]|0;c[g>>2]=f;b=c[a+52>>2]|0}else f=h;h=g+12|0;k=c[h>>2]|0;i=c[g+4>>2]|0;if((b+k|0)>>>0>i>>>0){j=c[g+16>>2]|0;if(k>>>0>j>>>0){xcb(f,f+j|0,i-j|0)|0;g=c[a+184>>2]|0;h=(c[g+12>>2]|0)-(c[g+16>>2]|0)|0;c[g+12>>2]=h;b=c[a+52>>2]|0;f=c[g>>2]|0}else{c[h>>2]=0;h=0}c[g+16>>2]=0;g=h}else g=k;l7a(f+g|0,c[a+44>>2]|0,b)|0;g=c[a+184>>2]|0;k=(c[g+12>>2]|0)+(c[a+52>>2]|0)|0;c[g+12>>2]=k;f=c[g+16>>2]|0;b=c[a+16>>2]|0;if((k-f|0)>>>0>>0)do{$i[c[a+20>>2]&255](c[a+24>>2]|0,c[a+44>>2]|0,c[l>>2]|0);Ufb(a+28|0)|0;b=c[a+184>>2]|0;g=c[b+12>>2]|0;f=c[a+52>>2]|0;h=c[b+4>>2]|0;if((f+g|0)>>>0>h>>>0){i=c[b+16>>2]|0;if(g>>>0>i>>>0){b=c[b>>2]|0;xcb(b,b+i|0,h-i|0)|0;b=c[a+184>>2]|0;g=(c[b+12>>2]|0)-(c[b+16>>2]|0)|0;c[b+12>>2]=g;f=c[a+52>>2]|0}else{c[b+12>>2]=0;g=0}c[b+16>>2]=0}l7a((c[b>>2]|0)+g|0,c[a+44>>2]|0,f)|0;g=c[a+184>>2]|0;k=(c[g+12>>2]|0)+(c[a+52>>2]|0)|0;c[g+12>>2]=k;f=c[g+16>>2]|0;b=c[a+16>>2]|0}while((k-f|0)>>>0>>0);l=(c[g>>2]|0)+f|0;c[g+16>>2]=f+b;f=l}}if(!f)return;dc(11,f|0,((b|0)/(m>>>3&31|0)|0|0)/(d[a+10>>0]|0|0)|0|0)|0;return}function Ufb(b){b=b|0;var c=0,e=0;e=i;i=i+16|0;if(!(d[b+16>>0]|d[b+16+1>>0]<<8|d[b+16+2>>0]<<16|d[b+16+3>>0]<<24)){l6a(605123,e)|0;b=-1;i=e;return b|0}c=d[b+20>>0]|d[b+20+1>>0]<<8|d[b+20+2>>0]<<16|d[b+20+3>>0]<<24;a[b+24>>0]=c;a[b+24+1>>0]=c>>8;a[b+24+2>>0]=c>>16;a[b+24+3>>0]=c>>24;c=d[b+40>>0]|d[b+40+1>>0]<<8|d[b+40+2>>0]<<16|d[b+40+3>>0]<<24;if(!c){b=0;i=e;return b|0}a[b+80>>0]=0;a[b+80+1>>0]=0;a[b+80+2>>0]=0;a[b+80+3>>0]=0;si[c&511](b,d[b+4>>0]|d[b+4+1>>0]<<8);b=0;i=e;return b|0}function Vfb(a){a=a|0;var b=0,d=0;b=c[a+184>>2]|0;if(!b)return;d=c[b>>2]|0;if(d){L7a(d);b=c[a+184>>2]|0;c[b>>2]=0}L7a(b);c[a+184>>2]=0;return}function Wfb(){var a=0;a=q7a(606446)|0;if(a|0)if(!(r7a(a,606194)|0)){a=1;return a|0}a=0;return a|0}function Xfb(a){a=a|0;a=Y6a(1,664)|0;if(!a){k7a(0)|0;a=0;return a|0}else{c[a+4>>2]=1558;c[a+8>>2]=747;c[a+24>>2]=176;c[a+180>>2]=748;c[a+108>>2]=108;c[a+112>>2]=104;c[a+116>>2]=240;c[a+660>>2]=749;return a|0}return 0}function Yfb(a){a=a|0;var b=0;b=i;i=i+32|0;c[b>>2]=370546692;c[b+4>>2]=1024;c[b+8>>2]=768;c[b+12>>2]=0;c[b+16>>2]=0;if((reb(b)|0)<0){a=-1;i=b;return a|0}B6a(b,0,20)|0;veb(c[a+244>>2]|0,b)|0;a=0;i=b;return a|0}function Zfb(a){a=a|0;return}function _fb(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function $fb(a){a=a|0;return}function agb(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=i;i=i+32|0;A7a(bgb(b,605798)|0);R8a(370546692,g+16|0,g+12|0,g+8|0,g+4|0,g)|0;V6a(b,g+24|0,g+20|0);a=Hcb(0,c[g+24>>2]|0,c[g+20>>2]|0,c[g+16>>2]|0,c[g+12>>2]|0,c[g+8>>2]|0,c[g+4>>2]|0,c[g>>2]|0)|0;if(!a){b=-1;i=g;return b|0}cgb(b,605798,a)|0;c[d>>2]=370546692;c[e>>2]=c[a+20>>2];c[f>>2]=c[a+16>>2];b=0;i=g;return b|0}function bgb(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+32|0;e=c[299450]|0;if(!e){l6a(593111,g)|0;f=0;i=g;return f|0}if(b|0)if((c[b>>2]|0)==(e+256|0)){if(d|0)if(a[d>>0]|0){e=c[b+132>>2]|0;if(!e){f=0;i=g;return f|0}while(1){b=c[e>>2]|0;if(b|0)if(!(r7a(b,d)|0))break;e=c[e+8>>2]|0;if(!e){e=0;f=14;break}}if((f|0)==14){i=g;return e|0}f=c[e+4>>2]|0;i=g;return f|0}c[g+16>>2]=607569;l6a(608461,g+16|0)|0;f=0;i=g;return f|0}l6a(606608,g+8|0)|0;f=0;i=g;return f|0}function cgb(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;k=i;i=i+32|0;f=c[299450]|0;if(!f){l6a(593111,k)|0;b=0;i=k;return b|0}if(b|0)if((c[b>>2]|0)==(f+256|0)){if(d|0)if(a[d>>0]|0){f=c[b+132>>2]|0;a:do if(f|0){h=0;while(1){g=c[f>>2]|0;if(g|0)if(!(r7a(g,d)|0)){j=f;d=f;break}g=c[f+8>>2]|0;if(!g)break a;else{h=f;f=g}}g=c[d+4>>2]|0;if(e|0){c[d+4>>2]=e;b=g;i=k;return b|0}f=c[d+8>>2]|0;if(!h)c[b+132>>2]=f;else c[h+8>>2]=f;L7a(c[j>>2]|0);L7a(d);b=g;i=k;return b|0}while(0);if(!e){b=0;i=k;return b|0}j=c7a(12)|0;c[j>>2]=peb(d)|0;c[j+4>>2]=e;c[j+8>>2]=c[b+132>>2];c[b+132>>2]=j;b=0;i=k;return b|0}c[k+16>>2]=607569;l6a(608461,k+16|0)|0;b=0;i=k;return b|0}l6a(606608,k+8|0)|0;b=0;i=k;return b|0}function dgb(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;e=i;i=i+144|0;a=bgb(b,605798)|0;if(!a){b=l6a(605816,e)|0;i=e;return b|0}if(!(q7a(605855)|0)){b=0;i=e;return b|0}d=egb(b)|0;b=(c[300393]|0)+1|0;c[300393]=b;c[e+8>>2]=d;c[e+8+4>>2]=b;o6a(e+16|0,128,605883,e+8|0)|0;lgb(a,fgb(e+16|0,606110)|0,1)|0;b=0;i=e;return b|0}function egb(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=c[299450]|0;if(!b){l6a(593111,d)|0;a=0;i=d;return a|0}if(a|0)if((c[a>>2]|0)==(b+256|0)){a=c[a+4>>2]|0;i=d;return a|0}l6a(606608,d+8|0)|0;a=0;i=d;return a|0}function fgb(b,d){b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if(b|0)if((d|0)!=0&(a[b>>0]|0)!=0)if(a[d>>0]|0){e=Xnb(b,d)|0;if(!e){c[f+8>>2]=b;l6a(605953,f+8|0)|0;b=0;i=f;return b|0}d=c7a(36)|0;if(!d){k7a(0)|0;b=d;i=f;return b|0}else{c[d>>2]=1559;c[d+4>>2]=105;c[d+8>>2]=106;c[d+12>>2]=107;c[d+16>>2]=1560;c[d+28>>2]=e;c[d+24>>2]=1;c[d+20>>2]=2;b=d;i=f;return b|0}}l6a(605906,f)|0;b=0;i=f;return b|0}function ggb(a){a=a|0;var b=0,d=0,e=0,f=0;b=cj[c[a+4>>2]&127](a,0,0,1)|0;d=C;if((d|0)<0){d=-1;a=-1;C=d;return a|0}e=cj[c[a+4>>2]&127](a,0,0,2)|0;f=C;cj[c[a+4>>2]&127](a,b,d,0)|0;d=f;a=e;C=d;return a|0}function hgb(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;if(!(mob(c[a+28>>2]|0,b,e)|0))b=lpb(c[a+28>>2]|0)|0;else b=k7a(3)|0;C=((b|0)<0)<<31>>31;return b|0}function igb(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;e=qpb(b,d,e,c[a+28>>2]|0)|0;if(e|0)return e|0;if(!(dob(c[a+28>>2]|0)|0))return e|0;k7a(1)|0;return e|0}function jgb(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;e=ppb(b,d,e,c[a+28>>2]|0)|0;if(e|0)return e|0;if(!(dob(c[a+28>>2]|0)|0))return e|0;k7a(2)|0;return e|0}function kgb(a){a=a|0;var b=0;if(!a){b=0;return b|0}if(!(c[a+24>>2]|0))b=0;else if(!(_nb(c[a+28>>2]|0)|0))b=0;else b=k7a(2)|0;L7a(a);return b|0}function lgb(e,f,g){e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=i;i=i+64|0;b[u+56>>1]=19778;if(!f){e=-1;i=u;return e|0}j=c[e+4>>2]|0;if(!(c[(c[e+52>>2]|0)+68>>2]&256))if(!(c[j+24>>2]|0))k=0;else l=4;else l=4;if((l|0)==4)k=1;h=a[j+8>>0]|0;do if(k|(c[j+4>>2]|0)==0){if(h<<24>>24==24)if((c[j+12>>2]|0)==16711680)if((c[j+16>>2]|0)==65280)if((c[j+20>>2]|0)==255){h=e;l=18;break}if(k)Q8a(u+12|0,372645892)|0;else Q8a(u+12|0,390076419)|0;h=$db(e,u+12|0,0)|0;if(!h){c[u+8>>2]=d[u+12+8>>0];l6a(606001,u+8|0)|0;break}else{l=18;break}}else if(h<<24>>24==8){h=e;l=18}else{c[u>>2]=h&255;l6a(605970,u)|0}while(0);if((l|0)==18)if(!(G7a(h)|0)){l=h+8|0;k=h+4|0;q=_(d[(c[k>>2]|0)+9>>0]|0,c[l>>2]|0)|0;s=cj[c[f+4>>2]&127](f,0,0,1)|0;t=C;mgb();cj[c[f+12>>2]&127](f,u+56|0,2,1)|0;ngb(f,0)|0;ogb(f,0)|0;ogb(f,0)|0;ngb(f,0)|0;l=c[l>>2]|0;p=h+12|0;m=c[p>>2]|0;j=c[k>>2]|0;n=d[j+8>>0]|0;r=h+16|0;o=_(c[r>>2]|0,m)|0;j=c[j+4>>2]|0;if(!j)j=0;else j=c[j>>2]|0;ngb(f,40)|0;ngb(f,l)|0;ngb(f,m)|0;ogb(f,1)|0;ogb(f,n)|0;ngb(f,0)|0;ngb(f,o)|0;ngb(f,0)|0;ngb(f,0)|0;ngb(f,j)|0;ngb(f,0)|0;j=c[(c[k>>2]|0)+4>>2]|0;if(j|0){l=c[j+4>>2]|0;j=c[j>>2]|0;if((j|0)>0){k=0;do{cj[c[f+12>>2]&127](f,l+(k<<2)+2|0,1,1)|0;cj[c[f+12>>2]&127](f,l+(k<<2)+1|0,1,1)|0;cj[c[f+12>>2]&127](f,l+(k<<2)|0,1,1)|0;cj[c[f+12>>2]&127](f,l+(k<<2)+3|0,1,1)|0;k=k+1|0}while((k|0)!=(j|0))}}j=cj[c[f+4>>2]&127](f,0,0,1)|0;j=qBb(j|0,C|0,s|0,t|0)|0;n=c[f+4>>2]|0;o=jBb(s|0,t|0,10,0)|0;cj[n&127](f,o,C,0)|0;if((C|0)<0)k7a(3)|0;ngb(f,j)|0;n=c[f+4>>2]|0;o=jBb(j|0,0,s|0,t|0)|0;cj[n&127](f,o,C,0)|0;if((C|0)<0)k7a(3)|0;n=h+20|0;l=c[r>>2]|0;p=_(l,c[p>>2]|0)|0;j=(c[n>>2]|0)+p|0;m=((q|0)%4|0|0)==0?0:4-((q|0)%4|0)|0;a:do if((p|0)>0){b:do if(!m){if((cj[c[f+12>>2]&127](f,j+(0-l)|0,1,q)|0)==(q|0)){j=j+(0-l)|0;do{if(j>>>0<=(c[n>>2]|0)>>>0)break a;j=j+(0-(c[r>>2]|0))|0}while((cj[c[f+12>>2]&127](f,j,1,q)|0)==(q|0))}}else{k=(cj[c[f+12>>2]&127](f,j+(0-l)|0,1,q)|0)==(q|0);if((m|0)<=0){if(k)j=j+(0-l)|0;else break;while(1){if(j>>>0<=(c[n>>2]|0)>>>0)break a;j=j+(0-(c[r>>2]|0))|0;if((cj[c[f+12>>2]&127](f,j,1,q)|0)!=(q|0))break b}}if(k){j=j+(0-l)|0;do{a[u+12>>0]=0;k=0;do{cj[c[f+12>>2]&127](f,u+12|0,1,1)|0;k=k+1|0}while((k|0)!=(m|0));if(j>>>0<=(c[n>>2]|0)>>>0)break a;j=j+(0-(c[r>>2]|0))|0}while((cj[c[f+12>>2]&127](f,j,1,q)|0)==(q|0))}}while(0);k7a(2)|0}while(0);j=cj[c[f+4>>2]&127](f,0,0,1)|0;j=qBb(j|0,C|0,s|0,t|0)|0;q=c[f+4>>2]|0;r=jBb(s|0,t|0,2,0)|0;cj[q&127](f,r,C,0)|0;if((C|0)<0)k7a(3)|0;ngb(f,j)|0;r=c[f+4>>2]|0;t=jBb(j|0,0,s|0,t|0)|0;cj[r&127](f,t,C,0)|0;if((C|0)<0)k7a(3)|0;H7a(h);if((h|0)!=(e|0))A7a(h)}if(g|0)vi[c[f+16>>2]&2047](f)|0;e=((r7a(n6a()|0,1279070)|0)!=0)<<31>>31;i=u;return e|0}function mgb(){c[155308]=0;return}function ngb(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d>>2]=b;b=cj[c[a+12>>2]&127](a,d,4,1)|0;i=d;return b|0}function ogb(a,d){a=a|0;d=d|0;var e=0;e=i;i=i+16|0;b[e>>1]=d;d=cj[c[a+12>>2]&127](a,e,2,1)|0;i=e;return d|0}function pgb(a,b){a=a|0;b=b|0;A7a(cgb(b,605798,0)|0);return}function qgb(a){a=a|0;L7a(a);return}function rgb(a){a=a|0;c[a+4>>2]=108;c[a+12>>2]=750;c[a+16>>2]=751;c[a+24>>2]=1561;c[a+32>>2]=752;c[a>>2]=5;c[a+72>>2]=1;return 1}function sgb(a,b,e,f){a=a|0;b=b|0;e=e|0;f=f|0;var g=0;g=i;i=i+16|0;f=b|0?0:e;if(!f){f=q7a(606060)|0;f=(f|0)==0?606078:f}b=q7a(606091)|0;e=c7a(16)|0;c[a+184>>2]=e;if(!e){a=k7a(0)|0;i=g;return a|0}B6a(e,0,16)|0;e=c[a+184>>2]|0;c[e+8>>2]=c[a+16>>2];if(!b)b=150;else{b=tgb(b)|0;e=c[a+184>>2]|0}c[e+12>>2]=b;b=fgb(f,606110)|0;e=c[a+184>>2]|0;c[e>>2]=b;if(!b){if(!e){a=-1;i=g;return a|0}L7a(c[e+4>>2]|0);f=c[a+184>>2]|0;c[f+4>>2]=0;e=c[f>>2]|0;if(e){vi[c[e+16>>2]&2047](e)|0;f=c[a+184>>2]|0;c[f>>2]=0}L7a(f);c[a+184>>2]=0;a=-1;i=g;return a|0}e=c7a(c[e+8>>2]|0)|0;b=c[a+184>>2]|0;c[b+4>>2]=e;if(e|0){B6a(e,d[a+11>>0]|0,c[a+16>>2]|0)|0;a=c[37151]|0;c[g>>2]=f;oob(a,606113,g)|0;a=0;i=g;return a|0}if(!b){a=-1;i=g;return a|0}L7a(0);f=c[a+184>>2]|0;c[f+4>>2]=0;e=c[f>>2]|0;if(e){vi[c[e+16>>2]&2047](e)|0;f=c[a+184>>2]|0;c[f>>2]=0}L7a(f);c[a+184>>2]=0;a=-1;i=g;return a|0}function tgb(a){a=a|0;return Hpb(a)|0}function ugb(a){a=a|0;g8a(c[(c[a+184>>2]|0)+12>>2]|0);return}function vgb(a){a=a|0;var b=0,d=0;b=c[a+184>>2]|0;d=c[b>>2]|0;b=cj[c[d+12>>2]&127](d,c[b+4>>2]|0,1,c[b+8>>2]|0)|0;if((b|0)==(c[(c[a+184>>2]|0)+8>>2]|0))return;wgb(a);return}function wgb(b){b=b|0;var d=0;d=i;i=i+64|0;if(!(c[b+136>>2]|0)){i=d;return}Hi[c[1201620>>2]&1023](b);c[b+136>>2]=0;Hi[c[1201624>>2]&1023](b);if((X6a(4353,-1)|0)<<24>>24!=1){i=d;return}B6a(d,0,56)|0;c[d>>2]=4353;c[d+8>>2]=c[b>>2];a[d+12>>0]=(c[b+132>>2]|0)!=0&1;$6a(d)|0;i=d;return}function xgb(a){a=a|0;return c[(c[a+184>>2]|0)+4>>2]|0}function ygb(a){a=a|0;var b=0,d=0;b=c[a+184>>2]|0;if(!b)return;L7a(c[b+4>>2]|0);b=c[a+184>>2]|0;c[b+4>>2]=0;d=c[b>>2]|0;if(d){vi[c[d+16>>2]&2047](d)|0;b=c[a+184>>2]|0;c[b>>2]=0}L7a(b);c[a+184>>2]=0;return}function zgb(){Agb(0,607477,1);return}function Agb(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=i;i=i+64|0;f=t6a(d)|0;g=c7a(f+9|0)|0;do if(!b)if(!g){i=h;return}else{c[g>>2]=e;m6a(g+8|0,d,f+1|0)|0;c[g+4>>2]=c[300420];c[300420]=g;f=c[300418]|0;c[300418]=f+1;break}else if(!g){i=h;return}else{c[g>>2]=e;m6a(g+8|0,d,f+1|0)|0;c[g+4>>2]=c[300421];c[300421]=g;f=c[300419]|0;c[300419]=f+1;break}while(0);if((f|0)==-1){i=h;return}if((X6a(4352,-1)|0)<<24>>24!=1){i=h;return}B6a(h,0,56)|0;c[h>>2]=4352;c[h+8>>2]=f;a[h+12>>0]=b;$6a(h)|0;i=h;return}function Bgb(a){a=a|0;c[a+4>>2]=109;c[a+64>>2]=1;return 1}function Cgb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return 0}function Dgb(b){b=b|0;var c=0,d=0;d=i;i=i+16|0;mgb();Egb();c=((b>>>4&512|b)&544|0)==0?b>>>4&512|b:b>>>4&512|b|16384;if(c&16384|0){b=a[1276944]|0;do if(!(b<<24>>24))if((Fgb()|0)<0){c=-1;i=d;return c|0}else{Ggb()|0;b=a[1276944]|0;break}while(0);a[1276944]=b+1<<24>>24}if(c&1|0){b=a[1276930]|0;do if(!(b<<24>>24))if((Igb()|0)<0){c=-1;i=d;return c|0}else{b=a[1276930]|0;break}while(0);a[1276930]=b+1<<24>>24}if(c&32|0){b=a[1276935]|0;do if(!(b<<24>>24))if((Xgb(0)|0)<0){c=-1;i=d;return c|0}else{b=a[1276935]|0;break}while(0);a[1276935]=b+1<<24>>24}if(c&16|0){b=a[1276934]|0;do if(!(b<<24>>24))if((tib(0)|0)<0){c=-1;i=d;return c|0}else{b=a[1276934]|0;break}while(0);a[1276934]=b+1<<24>>24}if(c&512|0){b=a[1276939]|0;do if(!(b<<24>>24))if((Iib()|0)<0){c=-1;i=d;return c|0}else{b=a[1276939]|0;break}while(0);a[1276939]=b+1<<24>>24}if(c&8192|0){b=a[1276943]|0;do if(!(b<<24>>24))if((Oib()|0)<0){c=-1;i=d;return c|0}else{b=a[1276943]|0;break}while(0);a[1276943]=b+1<<24>>24}if(!(c&4096)){c=0;i=d;return c|0}c=l6a(608356,d)|0;i=d;return c|0}function Egb(){if(c[299735]|0)return;c[299735]=1;if(!(Hd(4,1198944)|0)){c[299738]=1;return}else{hf(1198956,0)|0;return}}function Fgb(){X6a(771,0)|0;X6a(770,0)|0;X6a(513,0)|0;c[31081]=1;return 0}function Ggb(){var a=0,b=0;b=i;i=i+144|0;a=p7a(606223)|0;if(!a)c[300422]=0;else{a=(tgb(a)|0)==1;c[300422]=a&1;if(a){i=b;return 0}}Wd(2,0,b|0)|0;if(!(c[b>>2]|0)){c[b>>2]=753;Wd(2,b|0,0)|0}Wd(15,0,b|0)|0;if(!(c[b>>2]|0)){c[b>>2]=753;Wd(15,b|0,0)|0}i=b;return 0}function Hgb(a){a=a|0;tg(a|0,753)|0;c[299743]=1;return}function Igb(){var a=0;if(c[300463]|0){a=0;return a|0}a=Jgb()|0;c[300426]=a;if(!a){a=-1;return a|0}a=Kgb(0)|0;c[300460]=a;if(!a){Lgb(c[300426]|0);a=-1;return a|0}c[300463]=1;a=Pgb(1562,606280,1201692)|0;c[300423]=a;if(!a){Tgb();a=-1;return a|0}else{Qgb(1201696,1)|0;a=0;return a|0}return 0}function Jgb(){var a=0,b=0;a=c7a(12)|0;if(!a){k7a(0)|0;return a|0}b=Kgb(1)|0;c[a+8>>2]=b;c[a>>2]=0;c[a+4>>2]=0;if(b|0){b=a;return b|0}L7a(a);b=0;return b|0}function Kgb(a){a=a|0;a=i;i=i+16|0;l6a(606246,a)|0;i=a;return 0}function Lgb(a){a=a|0;if(!a)return;L7a(a);return}function Mgb(a){a=a|0;return}function Ngb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=0;d=0;while(1){f8a(a+144|0);b=c[a+152>>2]|0;c[a+152>>2]=0;if(e|0){c[d+24>>2]=c[a+156>>2];c[a+156>>2]=e}h8a(a+144|0);if(b|0)do{i=b+24|0;h=b;b=c[i>>2]|0;d=c[a+164>>2]|0;do if(!d){d=0;m=11}else{g=c[h+16>>2]|0;e=d;f=0;while(1){if((g-(c[e+16>>2]|0)|0)<0){d=e;e=f;m=9;break}d=c[e+24>>2]|0;if(!d){d=0;break}else{f=e;e=d}}if((m|0)==9){m=0;if(!e){m=11;break}}c[e+24>>2]=h}while(0);if((m|0)==11){m=0;c[a+164>>2]=h}c[i>>2]=d}while((b|0)!=0);if(!(c[a+160>>2]|0))break;l=a7a()|0;b=c[a+164>>2]|0;a:do if(!b){b=-1;e=0;d=0}else{e=0;k=0;b:while(1){while(1){d=b+16|0;f=c[d>>2]|0;if((l-f|0)<0){d=k;break b}j=b+24|0;c[a+164>>2]=c[j>>2];f=b+20|0;if(c[f>>2]|0){d=b;break}h=Xi[c[b+4>>2]&511](c[b+12>>2]|0,c[b+8>>2]|0)|0;if(!h){d=b;break}c[d>>2]=h+l;i=c[a+164>>2]|0;do if(!i){d=0;m=25}else{f=i;g=0;while(1){if((h+l-(c[f+16>>2]|0)|0)<0){d=f;f=g;m=23;break}d=c[f+24>>2]|0;if(!d){d=0;break}else{g=f;f=d}}if((m|0)==23){m=0;if(!f){m=25;break}}c[f+24>>2]=b;b=i}while(0);if((m|0)==25){m=0;c[a+164>>2]=b}c[j>>2]=d;if(!b){b=-1;d=k;break a}}e=(e|0)==0?d:e;if(k|0)c[k+24>>2]=d;c[f>>2]=1;b=c[a+164>>2]|0;if(!b){b=-1;break a}else k=d}b=f-l|0}while(0);l=(a7a()|0)-l|0;Ogb(c[a+148>>2]|0,b>>>0>>0?0:b-l|0)|0}return 0}function Ogb(a,b){a=a|0;b=b|0;a=i;i=i+16|0;b=l6a(606246,a)|0;i=a;return b|0}function Pgb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=c7a(800)|0;if(!f){k7a(0)|0;f=0;return f|0}B6a(f,0,800)|0;c[f+8>>2]=-1;Qgb(f+12|0,0)|0;if(b|0){e=peb(b)|0;c[f+792>>2]=e;if(!e){k7a(0)|0;L7a(f);f=0;return f|0}}e=c7a(16)|0;if(!e){k7a(0)|0;b=c[f+792>>2]|0;if(b|0)L7a(b);L7a(f);f=0;return f|0}c[e>>2]=a;c[e+4>>2]=d;c[e+8>>2]=f;a=Kgb(0)|0;c[e+12>>2]=a;if(!a){b=c[f+792>>2]|0;if(b|0)L7a(b);L7a(f);L7a(e);f=0;return f|0}if((Rgb(f,e)|0)>-1){Sgb(c[e+12>>2]|0)|0;b=f}else{b=c[f+792>>2]|0;if(b|0)L7a(b);L7a(f);b=0}L7a(e);f=b;return f|0}function Qgb(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;c[a>>2]=b;return d|0}function Rgb(a,b){a=a|0;b=b|0;b=i;i=i+16|0;a=l6a(606289,b)|0;i=b;return a|0}function Sgb(a){a=a|0;var b=0;b=i;i=i+16|0;a=l6a(606246,b)|0;i=b;return a|0}function Tgb(){var a=0;if(!(c[300463]|0))return;c[300463]=0;if(c[300423]|0){Ugb(c[300460]|0)|0;Vgb(c[300423]|0,0);c[300423]=0}c[300460]=0;a=c[300464]|0;if(a|0)do{c[300464]=c[a+24>>2];L7a(a);a=c[300464]|0}while((a|0)!=0);if(c[300462]|0)do{a=c[300462]|0;c[300462]=c[a+24>>2];L7a(a)}while((c[300462]|0)!=0);a=c[300425]|0;if(a|0)do{c[300425]=c[a+8>>2];L7a(a);a=c[300425]|0}while((a|0)!=0);Lgb(c[300426]|0);c[300426]=0;return}function Ugb(a){a=a|0;var b=0;b=i;i=i+16|0;a=l6a(606246,b)|0;i=b;return a|0}function Vgb(a,b){a=a|0;b=b|0;if(!a)return;if(b|0)c[b>>2]=c[a+8>>2];b=c[a+792>>2]|0;if(b|0)L7a(b);L7a(a);return}function Wgb(a){a=a|0;return}function Xgb(b){b=b|0;var d=0,e=0,f=0,g=0;g=i;i=i+32|0;if(c[299450]|0)Ygb();Egb();if((Dgb(16384)|0)<0){f=-1;i=g;return f|0}if((zhb()|0)<0){f=-1;i=g;return f|0}if((Ahb()|0)<0){f=-1;i=g;return f|0}if((Bhb()|0)<0){f=-1;i=g;return f|0}do if(!b){b=q7a(606446)|0;if(!b){if(dj[c[136364>>2]&7]()|0){b=vi[c[136368>>2]&2047](0)|0;if(b|0){e=0;break}}if(dj[c[137288>>2]&7]()|0){b=vi[c[137292>>2]&2047](0)|0;if(b|0){e=1;break}}f=l6a(606479,g+8|0)|0;i=g;return f|0}else f=10}else f=10;while(0);do if((f|0)==10){f=c[34089]|0;if(!(Chb(f,b,t6a(b)|0)|0))if(!(dj[c[136364>>2]&7]()|0))f=12;else{d=139376;e=0;f=15}else f=12;if((f|0)==12){e=c[34320]|0;if(!(Chb(e,b,t6a(b)|0)|0))if(dj[c[137288>>2]&7]()|0){d=139380;e=1;f=15}}if((f|0)==15){d=vi[c[(c[d>>2]|0)+12>>2]&2047](0)|0;if(d|0){b=d;break}}c[g>>2]=b;f=l6a(606462,g)|0;i=g;return f|0}while(0);c[299450]=b;c[b>>2]=c[c[139376+(e<<2)>>2]>>2];b=c[299450]|0;c[b+260>>2]=1;c[b+364>>2]=0;c[b+624>>2]=0;if(b|0){c[b+268>>2]=3;c[b+272>>2]=3;c[b+276>>2]=2;c[b+280>>2]=0;c[b+288>>2]=0;c[b+284>>2]=16;c[b+292>>2]=0;c[b+296>>2]=1;c[b+300>>2]=0;c[b+300+4>>2]=0;c[b+300+8>>2]=0;c[b+300+12>>2]=0;c[b+300+16>>2]=0;c[b+300+20>>2]=0;c[b+300+24>>2]=0;c[b+360>>2]=1;c[b+328>>2]=-1;c[b+332>>2]=2;c[b+336>>2]=0;c[b+344>>2]=4;c[b+340>>2]=0;c[b+356>>2]=0;c[b+352>>2]=1;c[b+348>>2]=0}d=Dhb()|0;c[(c[299450]|0)+636>>2]=d;d=Dhb()|0;e=c[299450]|0;c[e+640>>2]=d;if((vi[c[e+4>>2]&2047](e)|0)<0){Ygb();f=-1;i=g;return f|0}b=c[299450]|0;if(!(c[b+240>>2]|0)){Ygb();f=l6a(606505,g+16|0)|0;i=g;return f|0}do if(!(c[b+108>>2]|0))f=30;else{b=p7a(606702)|0;if(b|0)if(!(w8a(b,606547)|0))break;b=p7a(606556)|0;if(b|0)if((a[b>>0]|0)!=48){b=c[299450]|0;f=30}}while(0);if((f|0)==30){c[b+108>>2]=109;c[b+112>>2]=110;c[b+116>>2]=241}b=p7a(607375)|0;if(!b)f=33;else if(!(tgb(b)|0))f=33;else f=37;if((f|0)==33){d=c[299450]|0;if(d|0)if(!(c[d+236>>2]|0)){c[d+236>>2]=1;b=c[d+184>>2]|0;if(!b)f=37;else{Hi[b&1023](d);f=37}}else f=37}if((f|0)==37){b=c[299450]|0;if(b|0){d=c[b+200>>2]|0;if(d|0)if(vi[d&2047](b)|0){f=0;i=g;return f|0}}}X6a(771,1)|0;X6a(770,1)|0;b=c[299450]|0;if(!b){f=0;i=g;return f|0}d=c[b+248>>2]|0;do if(d){do{if(c[d+48>>2]&512|0){e=d;f=44;break}d=c[d+144>>2]|0}while((d|0)!=0);if((f|0)==44){d=c[b+204>>2]|0;if(!d)break;si[d&511](b,e);b=c[299450]|0}if(!b){f=0;i=g;return f|0}}while(0);d=c[b+188>>2]|0;if(!d){f=0;i=g;return f|0}Hi[d&1023](b);f=0;i=g;return f|0}function Ygb(){var a=0,b=0,d=0,e=0,f=0;if(!(c[299450]|0))return;Zgb();$gb();ehb(16384);a=c[299450]|0;if(c[a+236>>2]|0){c[a+236>>2]=0;b=c[a+184>>2]|0;if(b){Hi[b&1023](a);a=c[299450]|0}}b=c[a+248>>2]|0;if(b)do{yhb(b);a=c[299450]|0;b=c[a+248>>2]|0}while((b|0)!=0);Hi[c[a+8>>2]&1023](a);a=c[299450]|0;d=c[a+240>>2]|0;b=c[a+244>>2]|0;if((d|0)>0){f=0;do{a=c[b+(f*68|0)+8>>2]|0;e=b+(f*68|0)+12|0;if(!a)a=c[e>>2]|0;else{d=c[e>>2]|0;do{a=a+-1|0;L7a(c[d+(a*20|0)+16>>2]|0);d=c[e>>2]|0;c[d+(a*20|0)+16>>2]=0}while((a|0)!=0);a=d}L7a(a);c[e>>2]=0;a=b+(f*68|0)+32|0;L7a(c[a>>2]|0);c[a>>2]=0;a=b+(f*68|0)+64|0;L7a(c[a>>2]|0);c[a>>2]=0;f=f+1|0;a=c[299450]|0;d=c[a+240>>2]|0;b=c[a+244>>2]|0}while((f|0)<(d|0))}if(b){a=a+244|0;if((d|0)>0){L7a(c[b>>2]|0);a=c[299450]|0;if((c[a+240>>2]|0)>1){a=a+244|0;b=1;while(1){L7a(c[(c[a>>2]|0)+(b*68|0)>>2]|0);b=b+1|0;a=c[299450]|0;if((b|0)>=(c[a+240>>2]|0)){a=a+244|0;break}else a=a+244|0}}else a=a+244|0}L7a(c[a>>2]|0);a=c[299450]|0;c[a+244>>2]=0;c[a+240>>2]=0}L7a(c[a+264>>2]|0);f=c[299450]|0;c[f+264>>2]=0;Hi[c[f+660>>2]&1023](f);c[299450]=0;return}function Zgb(){var a=0,b=0;a=c[300389]|0;if(a|0)do{a=a+-1|0;b=c[(c[300390]|0)+(a<<2)>>2]|0;_gb(c[b>>2]|0,c[b+4>>2]|0)}while((a|0)!=0);L7a(c[300390]|0);c[300390]=0;return}function _gb(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;j=i;i=i+16|0;h=c[300389]|0;a:do if((h|0)>0){e=c[300390]|0;d=0;while(1){g=c[e+(d<<2)>>2]|0;if((c[g>>2]|0)==(a|0)?(c[g+4>>2]|0)==(b|0):0){f=d;break}d=d+1|0;if((d|0)>=(h|0)){f=-1;break}}d=0;while(1){g=c[e+(d<<2)>>2]|0;if((c[g>>2]|0)==(a|0)?(c[g+4>>2]|0)==(b|0):0)break;d=d+1|0;if((d|0)>=(h|0))break a}if((d|0)>-1&(d|0)<(h|0)){if(!g){i=j;return}if((c[g+12>>2]|0)>0){d=0;do{L7a(c[(c[g+16>>2]|0)+(d<<2)>>2]|0);d=d+1|0}while((d|0)<(c[g+12>>2]|0))}L7a(c[g+16>>2]|0);L7a(g);g=(c[300389]|0)+-1|0;c[300389]=g;h=c[300390]|0;c[h+(f<<2)>>2]=c[h+(g<<2)>>2];i=j;return}}while(0);l6a(602315,j)|0;i=j;return}function $gb(){var a=0,b=0,d=0,e=0,f=0;if(c[299459]|0){a=Peb()|0;if(a|0)if(c[a+48>>2]&16384|0)if((vi[c[1197836>>2]&2047](0)|0)!=-1)c[a+48>>2]=c[a+48>>2]&-16385}ahb(0)|0;e=c[299477]|0;c[299477]=1;do if((e|0)!=1){a=(c[299462]|0)==0?c[299475]|0:c[299476]|0;b=c[299453]|0;if((a|0)!=0&(c[299470]|0)==0){if(!b)break;vi[b&2047](a)|0;break}else{if(!b)break;vi[b&2047](0)|0;break}}while(0);a=c[299474]|0;if(a|0)do{e=a;a=c[a>>2]|0;b=c[299475]|0;a:do if((b|0)!=(e|0)){do if((c[299476]|0)==(e|0)){if(!b)b=(c[299462]|0)==0?0:e;else c[299476]=b;d=c[299453]|0;if((b|0)!=0&(c[299477]|0)!=0&(c[299470]|0)==0){if(!d)break;vi[d&2047](b)|0;break}else{if(!d)break;vi[d&2047](0)|0;break}}while(0);b=c[299474]|0;if(b|0){d=0;while(1){if((b|0)==(e|0))break;d=c[b>>2]|0;if(!d)break a;else{f=b;b=d;d=f}}b=c[e>>2]|0;if(!d)c[299474]=b;else c[d>>2]=b;b=c[299455]|0;if(b|0)Hi[b&1023](e)}}while(0)}while((a|0)!=0);a=c[299475]|0;if(a|0){b=c[299455]|0;if(b|0)Hi[b&1023](a)}a=c[299473]|0;if(!a){B6a(1197804,0,112)|0;return}L7a(a);B6a(1197804,0,112)|0;return}function ahb(b){b=b|0;var d=0,e=0,f=0,g=0;g=Peb()|0;if((c[299470]|0)==(b|0))return 0;do if((b|0)!=0&(g|0)!=0){d=c[299462]|0;do if((d|0)!=(g|0)){if(d|0)I6a(d,11,0,0)|0;c[299462]=g;I6a(g,10,0,0)|0;d=(c[299462]|0)==0?c[299475]|0:c[299476]|0;e=c[299453]|0;if((d|0)!=0&(c[299477]|0)!=0&(c[299470]|0)==0){if(!e)break;vi[e&2047](d)|0;break}else{if(!e)break;vi[e&2047](0)|0;break}}while(0);e=(c[g+24>>2]|0)/2|0;f=(c[g+28>>2]|0)/2|0;d=c[299456]|0;if(d|0){$i[d&255](g,e,f);break}d=c[299461]|0;if(U6a(g,e,f)|0)W6a(g,d,0,e,f)|0}while(0);a:do if((b|0)!=0|(c[299471]|0)==0){do if(b|0){if(c[299458]|0){d=p7a(606332)|0;if(!d)break;if((a[d>>0]|0)==48)break}c[299471]=1;break a}while(0);if((b|0)!=0&(vi[c[1197832>>2]&2047](b)|0)<0)c[299471]=1}else c[299471]=0;while(0);c[299470]=b;d=c[299462]|0;do if(d|0){bhb(d);if(!b){e=c[299462]|0;f=c[299463]|0;g=c[299464]|0;if(e|0){d=c[299456]|0;if(d|0){$i[d&255](e,f,g);break}d=c[299461]|0;if(U6a(e,f,g)|0)W6a(e,d,0,f,g)|0}}}while(0);chb(1024);d=(c[299462]|0)==0?c[299475]|0:c[299476]|0;e=c[299453]|0;if((d|0)!=0&(c[299477]|0)!=0&(c[299470]|0)==0){if(!e)return 0;vi[e&2047](d)|0;return 0}else{if(!e)return 0;vi[e&2047](0)|0;return 0}return 0}function bhb(a){a=a|0;var b=0,d=0,e=0,f=0;f=c[(R6a()|0)+76>>2]|0;e=c[a+48>>2]|0;b=c[299450]|0;d=c[b+252>>2]|0;if((f|e&256|0)==0|(e&512|0)==0)if((d|0)==(a|0)){c[b+252>>2]=0;e=0}else e=0;else{if(!((d|0)==0|(d|0)==(a|0))){c[d+48>>2]=c[d+48>>2]&-257;e=c[b+100>>2]|0;if(e){$i[e&255](b,d,0);b=c[299450]|0}}c[b+252>>2]=a;e=1}d=c[b+100>>2]|0;if(!d)return;$i[d&255](b,a,e);return}function chb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;if(!(c[31081]|0))return;if(Z6a(c[31080]|0)|0)return;b=c[31084]|0;if(b|0)do{f=b+72|0;g=b;b=c[f>>2]|0;d=b;if((c[g>>2]|0)==(a|0)){e=c[g+68>>2]|0;if(!e)d=b;else{c[e+72>>2]=d;d=c[f>>2]|0}if(d|0)c[d+68>>2]=e;if((c[31084]|0)==(g|0))c[31084]=d;if((c[31085]|0)==(g|0))c[31085]=c[g+68>>2];c[f>>2]=c[31086];c[31086]=g;c[31082]=(c[31082]|0)+-1}}while((b|0)!=0);return}function dhb(){return}function ehb(b){b=b|0;var c=0;do if(b&8192){c=a[1276943]|0;if(!(c<<24>>24))b=b|512;else{if(c<<24>>24==1|0){fhb();c=a[1276943]|0;if(!(c<<24>>24)){b=b|512;break}}a[1276943]=c+-1<<24>>24;b=b|512}}while(0);do if(b&512){b=b|16384;c=a[1276939]|0;if(c<<24>>24){if(c<<24>>24==1|0){rhb();c=a[1276939]|0;if(!(c<<24>>24))break}a[1276939]=c+-1<<24>>24}}while(0);do if(b&16|0){c=a[1276934]|0;if(c<<24>>24){if(c<<24>>24==1|0){thb();c=a[1276934]|0;if(!(c<<24>>24))break}a[1276934]=c+-1<<24>>24}}while(0);do if(b&32){b=b|16384;c=a[1276935]|0;if(c<<24>>24){if(c<<24>>24==1|0){Ygb();c=a[1276935]|0;if(!(c<<24>>24))break}a[1276935]=c+-1<<24>>24}}while(0);do if(b&1|0){c=a[1276930]|0;if(c<<24>>24){if(c<<24>>24==1|0){Tgb();c=a[1276930]|0;if(!(c<<24>>24))break}a[1276930]=c+-1<<24>>24}}while(0);if(!(b&16384))return;b=a[1276944]|0;if(!(b<<24>>24))return;if(b<<24>>24==1|0){vhb();whb();b=a[1276944]|0;if(!(b<<24>>24))return}a[1276944]=b+-1<<24>>24;return}function fhb(){var a=0,b=0,d=0,e=0;a=c[300465]|0;if(a|0)do{c[a+4>>2]=0;ghb(c[a>>2]|0);b=c[300465]|0;a:do if(b|0){d=0;while(1){if((b|0)==(a|0))break;d=c[b+896>>2]|0;if(!d)break a;else{e=b;b=d;d=e}}b=c[a+896>>2]|0;if(!d){c[300465]=b;break}else{c[d+896>>2]=b;break}}while(0);L7a(a);a=c[300465]|0}while((a|0)!=0);a=c[300466]|0;if(!a){qhb(392,0);return}do{c[300466]=c[a+24>>2];L7a(c[a+16>>2]|0);L7a(c[a+20>>2]|0);L7a(a);a=c[300466]|0}while((a|0)!=0);qhb(392,0);return}function ghb(a){a=a|0;var b=0,d=0,e=0;if(!a)return;d=c[a+44>>2]|0;c[a+44>>2]=d+-1;if((d|0)>1|(c[300467]|0)==(a|0))return;c[a+40>>2]=0;b=c[300468]|0;a:do if(b|0){d=0;while(1){if((b|0)==(a|0))break;d=c[b+56>>2]|0;if(!d)break a;else{e=b;b=d;d=e}}b=c[a+56>>2]|0;if(!d){c[300468]=b;break}else{c[d+56>>2]=b;break}}while(0);L7a(c[a+4>>2]|0);L7a(c[a+12>>2]|0);L7a(c[a+20>>2]|0);L7a(c[a+28>>2]|0);L7a(c[a+36>>2]|0);L7a(a);return}function hhb(a){a=a|0;return}function ihb(e,f){e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+64|0;switch(c[f>>2]|0){case 1536:{h=a[f+12>>0]|0;if((h&255)>19){i=r;return 1}e=c[300465]|0;if(!e){i=r;return 1}g=c[f+8>>2]|0;while(1){if((c[c[e>>2]>>2]|0)==(g|0)){n=e;k=e;break}e=c[e+896>>2]|0;if(!e){q=18;break}}if((q|0)==18){i=r;return 1}g=c[k+320+((h&255)<<2)>>2]|0;if((g|0)>-1){e=b[f+16>>1]|0;if((g&-2|0)==4)e=((e<<16>>16|0)/2|0)+16384&65535;if((X6a(1616,-1)|0)<<24>>24!=1){i=r;return 1}c[r>>2]=1616;c[r+8>>2]=c[c[n>>2]>>2];a[r+12>>0]=g;b[r+16>>1]=e;$6a(r)|0;i=r;return 1}else{g=c[k+560+((h&255)<<2)>>2]|0;if((g|0)<=-1){i=r;return 1}e=b[f+16>>1]|0;e=((e<<16>>16<0?0-(e<<16>>16)|0:e<<16>>16)|0)>16384;f=e?1617:1618;c[r>>2]=f;if((X6a(f,-1)|0)<<24>>24==1){c[r+8>>2]=c[c[n>>2]>>2];a[r+12>>0]=g;a[r+13>>0]=e&1;$6a(r)|0}i=r;return 1}}case 1540:case 1539:{h=b[f+12>>1]|0;if((h&255)>19){i=r;return 1}e=c[300465]|0;if(!e){i=r;return 1}g=c[f+8>>2]|0;while(1){if((c[c[e>>2]>>2]|0)==(g|0)){m=e;l=e;break}e=c[e+896>>2]|0;if(!e){q=18;break}}if((q|0)==18){i=r;return 1}e=c[l+480+((h&255)<<2)>>2]|0;if((e|0)<=-1){e=c[l+400+((h&255)<<2)>>2]|0;if((e|0)<=-1){i=r;return 1}if((X6a(1616,-1)|0)<<24>>24!=1){i=r;return 1}c[r>>2]=1616;c[r+8>>2]=c[c[m>>2]>>2];a[r+12>>0]=e;b[r+16>>1]=((h&65535)>>>8&255)<<24>>24?32767:0;$6a(r)|0;i=r;return 1}switch((h&65535)>>>8&65535|0){case 1:{c[r>>2]=1617;j=1617;q=27;break}case 0:{c[r>>2]=1618;j=1618;q=27;break}default:{}}if((q|0)==27)if((X6a(j,-1)|0)<<24>>24==1){c[r+8>>2]=c[c[m>>2]>>2];a[r+12>>0]=e;a[r+13>>0]=(h&65535)>>>8;$6a(r)|0}i=r;return 1}case 1538:{k=b[f+12>>1]|0;if((k&255)>3){i=r;return 1}e=c[300465]|0;if(!e){i=r;return 1}g=c[f+8>>2]|0;while(1){if((c[c[e>>2]>>2]|0)==(g|0)){o=e;p=e;break}e=c[e+896>>2]|0;if(!e){q=18;break}}if((q|0)==18){i=r;return 1}h=a[p+8+(k&255)>>0]|0;j=(k&255)<<4;g=((k&65535)>>>8&255&h^h)&255;if(g&4|0){e=c[p+640+((j|4)<<2)>>2]|0;if((e|0)!=-1){c[r>>2]=1618;if((X6a(1618,-1)|0)<<24>>24==1){c[r+8>>2]=c[c[o>>2]>>2];a[r+12>>0]=e;a[r+13>>0]=0;$6a(r)|0}}}if(g&1|0){e=c[p+640+((j|1)<<2)>>2]|0;if((e|0)!=-1){c[r>>2]=1618;if((X6a(1618,-1)|0)<<24>>24==1){c[r+8>>2]=c[c[o>>2]>>2];a[r+12>>0]=e;a[r+13>>0]=0;$6a(r)|0}}}if(g&8|0){e=c[p+640+((j|8)<<2)>>2]|0;if((e|0)!=-1){c[r>>2]=1618;if((X6a(1618,-1)|0)<<24>>24==1){c[r+8>>2]=c[c[o>>2]>>2];a[r+12>>0]=e;a[r+13>>0]=0;$6a(r)|0}}}if(g&2|0){e=c[p+640+((j|2)<<2)>>2]|0;if((e|0)!=-1){c[r>>2]=1618;if((X6a(1618,-1)|0)<<24>>24==1){c[r+8>>2]=c[c[o>>2]>>2];a[r+12>>0]=e;a[r+13>>0]=0;$6a(r)|0}}}g=(a[f+13>>0]^(k&65535)>>>8&255&h)&255;if(g&4|0){e=c[p+640+((j|4)<<2)>>2]|0;if((e|0)!=-1){c[r>>2]=1617;if((X6a(1617,-1)|0)<<24>>24==1){c[r+8>>2]=c[c[o>>2]>>2];a[r+12>>0]=e;a[r+13>>0]=1;$6a(r)|0}}}if(g&1|0){e=c[p+640+((j|1)<<2)>>2]|0;if((e|0)!=-1){c[r>>2]=1617;if((X6a(1617,-1)|0)<<24>>24==1){c[r+8>>2]=c[c[o>>2]>>2];a[r+12>>0]=e;a[r+13>>0]=1;$6a(r)|0}}}if(g&8|0){e=c[p+640+((j|8)<<2)>>2]|0;if((e|0)!=-1){c[r>>2]=1617;if((X6a(1617,-1)|0)<<24>>24==1){c[r+8>>2]=c[c[o>>2]>>2];a[r+12>>0]=e;a[r+13>>0]=1;$6a(r)|0}}}if(g&2|0){e=c[p+640+((j|2)<<2)>>2]|0;if((e|0)!=-1){c[r>>2]=1617;if((X6a(1617,-1)|0)<<24>>24==1){c[r+8>>2]=c[c[o>>2]>>2];a[r+12>>0]=e;a[r+13>>0]=1;$6a(r)|0}}}a[(d[f+12>>0]|0)+(p+8)>>0]=a[f+13>>0]|0;i=r;return 1}case 1541:{if(!(jhb(c[f+8>>2]|0)|0)){i=r;return 1}c[r>>2]=1619;c[r+8>>2]=c[f+8>>2];$6a(r)|0;i=r;return 1}case 1542:{e=c[300465]|0;if(!e){i=r;return 1}g=c[f+8>>2]|0;while(1){if((c[c[e>>2]>>2]|0)==(g|0))break;e=c[e+896>>2]|0;if(!e){q=18;break}}if((q|0)==18){i=r;return 1}c[r>>2]=1620;c[r+8>>2]=g;$6a(r)|0;i=r;return 1}default:{i=r;return 1}}return 0}function jhb(a){a=a|0;var b=0,d=0,e=0;d=i;i=i+16|0;khb(d,a);b=c[300466]|0;a:do if(!b)b=0;else while(1){if(!(H6a(d,b,16)|0))break a;b=c[b+24>>2]|0;if(!b){b=0;break}}while(0);e=c[300471]|0;b=(b|0)==0&(e|0)!=0?e:b;if(b|0){e=b;i=d;return e|0}b=nhb(a)|0;if(!b){e=0;i=d;return e|0}if(!(phb(b,606361)|0))if(!(phb(b,606366)|0)){e=0;i=d;return e|0}e=c[300472]|0;i=d;return e|0}function khb(b,d){b=b|0;d=d|0;var e=0,f=0;f=i;i=i+32|0;if((d|0)>=0)if((lhb()|0)>(d|0)){mhb(b,d);i=f;return}c[f>>2]=lhb()|0;l6a(609159,f)|0;B6a(f+8|0,0,16)|0;d=f+8|0;e=b+16|0;do{a[b>>0]=a[d>>0]|0;b=b+1|0;d=d+1|0}while((b|0)<(e|0));i=f;return}function lhb(){return c[300469]|0}function mhb(b,d){b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;e=c[300470]|0;if((d|0)>0)while(1){e=c[e+1320>>2]|0;if((d|0)>1)d=d+-1|0;else break}e=c[e+4>>2]|0;B6a(f,0,16)|0;if((t6a(e)|0)>>>0>16)d=16;else d=t6a(e)|0;l7a(f,e,d)|0;e=b;d=f;b=e+16|0;do{a[e>>0]=a[d>>0]|0;e=e+1|0;d=d+1|0}while((e|0)<(b|0));i=f;return}function nhb(a){a=a|0;var b=0;b=i;i=i+16|0;if((a|0)>=0)if((lhb()|0)>(a|0)){a=ohb(a)|0;i=b;return a|0}c[b>>2]=lhb()|0;l6a(609159,b)|0;a=0;i=b;return a|0}function ohb(a){a=a|0;var b=0;b=c[300470]|0;if((a|0)>0)while(1){b=c[b+1320>>2]|0;if((a|0)>1)a=a+-1|0;else break}return c[b+4>>2]|0}function phb(a,b){a=a|0;b=b|0;return pob(a,b)|0}function qhb(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;d=c[299741]|0;if(!d)return;else e=0;while(1){if((c[d>>2]|0)==(a|0))if((c[d+4>>2]|0)==(b|0)){a=d;break}e=c[d+8>>2]|0;if(!e){f=9;break}else{g=d;d=e;e=g}}if((f|0)==9)return;d=c[a+8>>2]|0;if(!e)c[299741]=d;else c[e+8>>2]=d;L7a(a);return}function rhb(){var a=0;a=c[300468]|0;if(a|0)do{c[a+44>>2]=1;ghb(a);a=c[300468]|0}while((a|0)!=0);shb();ehb(16384);return}function shb(){var a=0,b=0;a=c[300470]|0;if(a|0)do{b=a;a=c[a+1320>>2]|0;L7a(c[b+8>>2]|0);L7a(c[b+4>>2]|0);L7a(b)}while((a|0)!=0);c[300473]=0;c[300470]=0;c[300469]=0;c[300474]=0;Oh(0,0,0)|0;zf(0,0,0)|0;return}function thb(){var a=0,b=0,d=0;if(!(c[300394]|0))return;a=c[300475]|0;if(a|0){uhb(a);c[300475]=0}a=c[300476]|0;if(a|0){uhb(a);c[300476]=0}a=c[300477]|0;if(a|0){uhb(a);c[300477]=0}a=c[300478]|0;if(a|0){uhb(a);c[300478]=0}a=c[300479]|0;if(a|0){uhb(a);c[300479]=0}a=c[300480]|0;if(a|0){uhb(a);c[300480]=0}a=c[300481]|0;if(a|0){uhb(a);c[300481]=0}a=c[300482]|0;if(a|0){uhb(a);c[300482]=0}a=c[300483]|0;if(a|0){uhb(a);c[300483]=0}a=c[300484]|0;if(a|0){uhb(a);c[300484]=0}a=c[300485]|0;if(a|0){uhb(a);c[300485]=0}a=c[300486]|0;if(a|0){uhb(a);c[300486]=0}a=c[300487]|0;if(a|0){uhb(a);c[300487]=0}a=c[300488]|0;if(a|0){uhb(a);c[300488]=0}a=c[300489]|0;if(a|0){uhb(a);c[300489]=0}a=c[300490]|0;if(a|0){uhb(a);c[300490]=0}a=c[300420]|0;if(a|0)do{d=a;a=c[a+4>>2]|0;b=c[d>>2]|0;if(b|0)Hi[c[1201628>>2]&1023](b);L7a(d)}while((a|0)!=0);c[300420]=0;c[300418]=0;a=c[300421]|0;if(a|0)do{d=a;a=c[a+4>>2]|0;b=c[d>>2]|0;if(b|0)Hi[c[1201628>>2]&1023](b);L7a(d)}while((a|0)!=0);c[300421]=0;c[300419]=0;gj[c[1201632>>2]&15]();Lgb(c[300415]|0);B6a(1201576,0,112)|0;B6a(1201900,0,64)|0;return}function uhb(a){a=a|0;var b=0,d=0;c[a+136>>2]=0;c[a+140>>2]=1;b=c[a+160>>2]|0;if(b|0)Vgb(b,0);b=c[a+156>>2]|0;if(b|0)Lgb(b);L7a(c[a+152>>2]|0);if(c[a+28>>2]|0)L7a(c[a+44>>2]|0);if(c[a+148>>2]|0){Hi[c[1201616>>2]&1023](a);c[a+148>>2]=0}b=c[a+168>>2]|0;if(b|0)do{d=b;b=c[b+8200>>2]|0;L7a(d)}while((b|0)!=0);b=c[a+176>>2]|0;if(!b){L7a(a);return}do{d=b;b=c[b+8200>>2]|0;L7a(d)}while((b|0)!=0);L7a(a);return}function vhb(){var a=0;a=i;i=i+144|0;if(c[300422]|0){i=a;return}Wd(2,0,a|0)|0;if((c[a>>2]|0)==753){c[a>>2]=0;Wd(2,a|0,0)|0}Wd(15,0,a|0)|0;if((c[a>>2]|0)==753){c[a>>2]=0;Wd(15,a|0,0)|0}i=a;return}function whb(){var a=0,b=0,d=0;b=i;i=i+16|0;a=p7a(606372)|0;c[31081]=0;if(a|0)if(tgb(a)|0){c[b>>2]=c[31083];xhb(606399,b)}a=c[31084]|0;if(a|0)do{d=a;a=c[a+72>>2]|0;L7a(d)}while((a|0)!=0);a=c[31086]|0;if(a|0)do{d=a;a=c[a+72>>2]|0;L7a(d)}while((a|0)!=0);a=c[31087]|0;if(a|0)do{d=a;a=c[a+12>>2]|0;L7a(d)}while((a|0)!=0);a=c[31088]|0;if(a|0)do{d=a;a=c[a+12>>2]|0;L7a(d)}while((a|0)!=0);c[31082]=0;c[31083]=0;c[31084]=0;c[31085]=0;c[31086]=0;c[31087]=0;c[31088]=0;a=0;do{d=1197916+(a<<2)|0;L7a(c[d>>2]|0);c[d>>2]=0;a=a+1|0}while((a|0)!=256);a=c[299741]|0;if(a|0)do{c[299741]=c[a+8>>2];L7a(a);a=c[299741]|0}while((a|0)!=0);if(!(c[31080]|0)){i=b;return}Lgb(c[31080]|0);c[31080]=0;i=b;return}function xhb(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d>>2]=b;q6a(0,3,a,d);i=d;return}function yhb(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+32|0;b=c[299450]|0;if(!b){l6a(593111,e)|0;i=e;return}if(a|0)if((c[a>>2]|0)==(b+256|0)){c[a+116>>2]=1;if(c[a+48>>2]&4|0){c[a+112>>2]=1;x6a(a,0)|0;b=c[299450]|0;d=c[b+64>>2]|0;if(d|0)si[d&511](b,a);c[a+112>>2]=0;I6a(a,2,0,0)|0}if((Peb()|0)==(a|0))Meb(0);if((y7a()|0)==(a|0))S6a(0);if(c[a+48>>2]&2|0)if((c[(c[299450]|0)+628>>2]|0)==(a|0))a8a(a,0)|0;b=c[a+104>>2]|0;if(b|0){c[b>>2]=c[b>>2]&-5;A7a(b)}b=c[299450]|0;d=c[b+116>>2]|0;if(d){si[d&511](b,a);b=c[299450]|0}d=c[b+104>>2]|0;if(d|0)si[d&511](b,a);do if(c[a+48>>2]&2|0){d=c[299450]|0;if(!d){l6a(593111,e+16|0)|0;break}b=c[d+364>>2]|0;if((b|0)>0){c[d+364>>2]=b+-1;if((b|0)<=1){b=c[d+148>>2]|0;if(b|0)Hi[b&1023](d)}}}while(0);b=y6a(a)|0;if((b|0)>-1)b=(c[(c[299450]|0)+244>>2]|0)+(b*68|0)|0;else b=0;b=b+56|0;if((c[b>>2]|0)==(a|0))c[b>>2]=0;c[a>>2]=0;L7a(c[a+8>>2]|0);A7a(c[a+12>>2]|0);L7a(c[a+96>>2]|0);b=c[a+132>>2]|0;if(b|0)do{c[a+132>>2]=c[b+8>>2];L7a(c[b>>2]|0);L7a(b);b=c[a+132>>2]|0}while((b|0)!=0);b=c[a+144>>2]|0;if(b|0)c[b+140>>2]=c[a+140>>2];d=c[a+140>>2]|0;if(!d)c[(c[299450]|0)+248>>2]=b;else c[d+144>>2]=b;L7a(a);i=e;return}l6a(606608,e+8|0)|0;i=e;return}function zhb(){l7a(1199508,137328,2048)|0;return 0}function Ahb(){c[299477]=1;return 0}function Bhb(){return 0}function Chb(a,b,c){a=a|0;b=b|0;c=c|0;return Anb(a,b,c)|0}function Dhb(){return (Ehb(1201964,1)|0)+1|0}function Ehb(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;c[a>>2]=d+b;return d|0}function Fhb(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+112|0;b=c[299450]|0;a:do if(!b){l6a(593111,p)|0;j=11}else{if(d|0)if((c[d>>2]|0)==(b+256|0)){b=c[d+132>>2]|0;if(!b){j=11;break}while(1){h=c[b>>2]|0;if(h|0)if(!(r7a(h,606585)|0))break;b=c[b+8>>2]|0;if(!b){j=11;break a}}b=c[b+4>>2]|0;if(!b){j=11;break}else break}l6a(606608,p+8|0)|0;j=11}while(0);do if((j|0)==11){h=p7a(606556)|0;b:do if(!h)j=19;else if((a[h>>0]&-2)<<24>>24==48)j=19;else if(!(w8a(h,606547)|0))j=19;else if((Ghb()|0)>0){b=0;while(1){Hhb(b,p+20|0)|0;if(!(w8a(c[p+20>>2]|0,h)|0))break;b=b+1|0;if((b|0)>=(Ghb()|0)){j=19;break b}}b=Ihb(d,b,0)|0;if(!b)j=19;else h=b}else j=19;while(0);c:do if((j|0)==19){d:do if((Ghb()|0)>0){h=0;while(1){Hhb(h,p+20|0)|0;if(r7a(c[p+20>>2]|0,606547)|0){b=Ihb(d,h,0)|0;if(b|0)break}h=h+1|0;if((h|0)>=(Ghb()|0))break d}h=b;break c}while(0);f=l6a(606914,p+16|0)|0;i=p;return f|0}while(0);b=Y6a(1,20)|0;if(b|0){cgb(d,606585,b)|0;c[b>>2]=h;break}Qhb(h);f=k7a(0)|0;i=p;return f|0}while(0);n=b+4|0;h=c[n>>2]|0;if(h|0){Rhb(h);c[n>>2]=0}o=b+8|0;L7a(c[o>>2]|0);c[o>>2]=0;if((Thb(c[b>>2]|0,p+20|0)|0)<0){f=-1;i=p;return f|0}l=c[p+20+12>>2]|0;c[e>>2]=l;m=c[p+20+8>>2]|0;e:do if(!m)h=l;else{h=l;j=0;f:while(1){g:do if((h|0)==0|(h&-268435456|0)==268435456){k=h>>>24&15;if((k+-4|0)>>>0<3)switch(h>>>20&15|0){case 8:case 7:case 4:case 3:break g;default:{}}if((k+-7|0)>>>0>=5)break f;switch(h>>>20&15|0){case 5:case 6:case 2:case 3:break;default:break f}}while(0);j=j+1|0;if(j>>>0>=m>>>0){h=l;break e}h=c[p+20+12+(j<<2)>>2]|0}c[e>>2]=h}while(0);m=Uhb(c[b>>2]|0,h,1,c[d+24>>2]|0,c[d+28>>2]|0)|0;c[n>>2]=m;if(!m){f=-1;i=p;return f|0}h=c[e>>2]|0;h:do if((h|0)==0|(h&-268435456|0)==268435456)h=h&255;else{if((h|0)<1498831189)switch(h|0){case 844715353:{h=2;break h}default:{}}else switch(h|0){case 1498831189:{h=2;break h}default:{}}h=(h|0)==1431918169?2:1}while(0);c[b+16>>2]=h;h=(_(c[d+24>>2]|0,h)|0)+3&-4;j=b+12|0;c[j>>2]=h;h=c7a(_(h,c[d+28>>2]|0)|0)|0;c[o>>2]=h;if(!h){f=k7a(0)|0;i=p;return f|0}else{c[f>>2]=h;c[g>>2]=c[j>>2];Jhb(c[b>>2]|0,0)|0;f=0;i=p;return f|0}return 0}function Ghb(){return 2}function Hhb(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;if(a>>>0>1){c[e>>2]=1;d=l6a(609514,e)|0;i=e;return d|0}else{a=(c[139388+(a<<2)>>2]|0)+4|0;d=b+84|0;do{c[b>>2]=c[a>>2];b=b+4|0;a=a+4|0}while((b|0)<(d|0));d=0;i=e;return d|0}return 0}function Ihb(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,h=0;h=i;i=i+48|0;if(!b){l6a(606608,h)|0;b=0;i=h;return b|0}if(bgb(b,606623)|0){l6a(606645,h+8|0)|0;b=0;i=h;return b|0}f=p7a(606685)|0;do if(f)if((a[f>>0]|0)==48){e=e&-5;break}else{e=e|4;break}while(0);a:do if((d|0)<0){f=p7a(606702)|0;do if(f|0){if(!(w8a(f,c[31052]|0)|0))f=124204;else if(!(w8a(f,c[34068]|0)|0))f=136268;else break;f=Xi[c[f>>2]&511](b,e)|0;if(f|0)break a}while(0);if((c[31053]&e|0)==(e|0)){f=Xi[c[31051]&511](b,e)|0;if(f|0)break}if((c[34069]&e|0)==(e|0)){f=Xi[c[34067]&511](b,e)|0;if(f|0)break}l6a(606720,h+16|0)|0;b=0;i=h;return b|0}else if((d|0)>1){c[h+24>>2]=1;l6a(606757,h+24|0)|0;b=0;i=h;return b|0}else{f=Xi[c[c[139388+(d<<2)>>2]>>2]&511](b,e)|0;if(!f)f=0;else break;i=h;return f|0}while(0);c[f>>2]=1275904;c[f+188>>2]=b;g[f+284>>2]=1.0;g[f+288>>2]=1.0;c[f+192>>2]=((u6a(b)|0)&72|0)!=0&1;cgb(b,606623,f)|0;Jhb(f,0)|0;Ohb(393,f);c[h+32>>2]=c[f+104>>2];Phb(6,606893,h+32|0);b=f;i=h;return b|0}function Jhb(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+32|0;if(a|0)if((c[a>>2]|0)==1275904){a:do if(!b){c[a+212>>2]=0;c[a+216>>2]=0;b=c[a+304>>2]|0;if(b|0){if((c[b>>2]|0)==1275905){c[a+220>>2]=c[b+12>>2];c[a+224>>2]=c[b+16>>2];break}l6a(594848,d+8|0)|0;a=-1;i=d;return a|0}b=c[a+8>>2]|0;do if(!b){b=c[a+188>>2]|0;if(!b){b=l6a(594864,d+16|0)|0;break}else{V6a(b,a+220|0,a+224|0);break a}}else b=Gi[b&255](a,a+220|0,a+224|0)|0;while(0);if((b|0)<0){a=-1;i=d;return a|0}}else{c[a+212>>2]=~~+Sdb(+(c[b>>2]|0)*+g[a+284>>2]);c[a+216>>2]=~~+Sdb(+(c[b+4>>2]|0)*+g[a+288>>2]);c[a+220>>2]=~~+beb(+(c[b+8>>2]|0)*+g[a+284>>2]);c[a+224>>2]=~~+beb(+(c[b+12>>2]|0)*+g[a+288>>2])}while(0);a=vi[c[a+48>>2]&2047](a)|0;i=d;return a|0}l6a(594831,d)|0;a=-1;i=d;return a|0}function Khb(b,d){b=b|0;d=d|0;var e=0,f=0,h=0.0,j=0.0,k=0;k=i;i=i+16|0;switch(c[d>>2]|0){case 512:{e=Lhb(c[d+8>>2]|0)|0;if((e|0)!=(c[b+188>>2]|0)){i=k;return 0}f=c[b+4>>2]|0;if(f|0)si[f&511](b,d);switch(a[d+12>>0]|0){case 6:{f=c[b+304>>2]|0;do if(f|0){e=c[b+44>>2]|0;if(e|0)if(c[b+108>>2]&8|0){c[b+304>>2]=0;if((Xi[e&511](b,0)|0)<0)break;c[b+212>>2]=c[b+228>>2];c[b+212+4>>2]=c[b+228+4>>2];c[b+212+8>>2]=c[b+228+8>>2];c[b+212+12>>2]=c[b+228+12>>2];c[b+244>>2]=c[b+260>>2];c[b+244+4>>2]=c[b+260+4>>2];c[b+244+8>>2]=c[b+260+8>>2];c[b+244+12>>2]=c[b+260+12>>2];c[b+276>>2]=c[b+280>>2];d=c[b+292+4>>2]|0;c[b+284>>2]=c[b+292>>2];c[b+284+4>>2]=d;d=c[b+208>>2]|0;c[b+196>>2]=c[b+204>>2];c[b+200>>2]=d;if((vi[c[b+48>>2]&2047](b)|0)<0)break;vi[c[b+52>>2]&2047](b)|0;break}k7a(4)|0}while(0);if(!(c[b+196>>2]|0)){e=c[b+8>>2]|0;if(!e)V6a(c[b+188>>2]|0,k+4|0,k);else Gi[e&255](b,k+4|0,k)|0;if(!(c[b+304>>2]|0)){c[b+212>>2]=0;c[b+216>>2]=0;c[b+220>>2]=c[k+4>>2];c[b+224>>2]=c[k>>2];vi[c[b+48>>2]&2047](b)|0}else{c[b+228>>2]=0;c[b+232>>2]=0;c[b+236>>2]=c[k+4>>2];c[b+240>>2]=c[k>>2]}}else Mhb(b)|0;if(!f){i=k;return 0}Nhb(b,f)|0;i=k;return 0}case 2:{c[b+192>>2]=1;i=k;return 0}case 1:{if((u6a(e)|0)&64|0){i=k;return 0}c[b+192>>2]=0;i=k;return 0}case 7:{c[b+192>>2]=1;i=k;return 0}case 8:case 9:{if((u6a(e)|0)&8|0){i=k;return 0}c[b+192>>2]=0;i=k;return 0}default:{i=k;return 0}}}case 1024:{e=Lhb(c[d+8>>2]|0)|0;if(!(c[b+196>>2]|0)){i=k;return 0}if((e|0)!=(c[b+188>>2]|0)){i=k;return 0}e=(c[d+24>>2]|0)-(c[b+216>>2]|0)|0;h=+g[b+284>>2];c[d+20>>2]=~~(+((c[d+20>>2]|0)-(c[b+212>>2]|0)|0)/h);j=+g[b+288>>2];c[d+24>>2]=~~(+(e|0)/j);e=c[d+28>>2]|0;if((e|0)>0)c[d+28>>2]=(~~(+(e|0)/h)|0)<1?1:~~(+(e|0)/h);else if((e|0)<0)c[d+28>>2]=(~~(+(e|0)/h)|0)>-1?-1:~~(+(e|0)/h);e=c[d+32>>2]|0;if((e|0)>0){c[d+32>>2]=(~~(+(e|0)/j)|0)<1?1:~~(+(e|0)/j);i=k;return 0}if((e|0)>=0){i=k;return 0}c[d+32>>2]=(~~(+(e|0)/j)|0)>-1?-1:~~(+(e|0)/j);i=k;return 0}case 1026:case 1025:{e=Lhb(c[d+8>>2]|0)|0;if(!(c[b+196>>2]|0)){i=k;return 0}if((e|0)!=(c[b+188>>2]|0)){i=k;return 0}f=(c[d+24>>2]|0)-(c[b+216>>2]|0)|0;c[d+20>>2]=~~(+((c[d+20>>2]|0)-(c[b+212>>2]|0)|0)/+g[b+284>>2]);c[d+24>>2]=~~(+(f|0)/+g[b+288>>2]);i=k;return 0}default:{i=k;return 0}}return 0}function Lhb(a){a=a|0;var b=0;b=c[299450]|0;if(!b){a=0;return a|0}b=c[b+248>>2]|0;if(!b){a=0;return a|0}while(1){if((c[b+4>>2]|0)==(a|0)){a=5;break}b=c[b+144>>2]|0;if(!b){b=0;a=5;break}}if((a|0)==5)return b|0;return 0}function Mhb(a){a=a|0;var b=0,d=0.0,e=0.0,f=0;f=i;i=i+64|0;c[f+60>>2]=1;c[f+56>>2]=1;if(a|0)if((c[a>>2]|0)==1275904){b=c[a+304>>2]|0;a:do if(!b){b=c[a+8>>2]|0;do if(!b){b=c[a+188>>2]|0;if(!b){b=l6a(594864,f+16|0)|0;break}else{V6a(b,f+60|0,f+56|0);break a}}else b=Gi[b&255](a,f+60|0,f+56|0)|0;while(0);if((b|0)<0){a=-1;i=f;return a|0}}else{if((c[b>>2]|0)==1275905){c[f+60>>2]=c[b+12>>2];c[f+56>>2]=c[b+16>>2];break}l6a(594848,f+8|0)|0;a=-1;i=f;return a|0}while(0);d=+(c[a+196>>2]|0)/+(c[a+200>>2]|0);e=+(c[f+60>>2]|0)/+(c[f+56>>2]|0);if((c[a>>2]|0)==1275904){g[a+284>>2]=1.0;g[a+288>>2]=1.0}else l6a(594831,f+24|0)|0;do if(+n7a(d-e)<.0001){d=+(c[f+60>>2]|0)/+(c[a+196>>2]|0);Jhb(a,0)|0}else if(d>e){b=c[f+60>>2]|0;d=+(b|0)/+(c[a+196>>2]|0);c[f+40>>2]=0;c[f+40+8>>2]=b;b=~~+beb(d*+(c[a+200>>2]|0));c[f+40+12>>2]=b;c[f+40+4>>2]=((c[f+56>>2]|0)-b|0)/2|0;Jhb(a,f+40|0)|0;break}else{b=c[f+56>>2]|0;d=+(b|0)/+(c[a+200>>2]|0);c[f+40+4>>2]=0;c[f+40+12>>2]=b;b=~~+beb(d*+(c[a+196>>2]|0));c[f+40+8>>2]=b;c[f+40>>2]=((c[f+60>>2]|0)-b|0)/2|0;Jhb(a,f+40|0)|0;break}while(0);if((c[a>>2]|0)==1275904){g[a+284>>2]=d;g[a+288>>2]=d;a=0;i=f;return a|0}else{l6a(594831,f+32|0)|0;a=0;i=f;return a|0}}l6a(594831,f)|0;a=-1;i=f;return a|0}function Nhb(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0;f=i;i=i+32|0;if(a|0){e=c[a+44>>2]|0;if(e|0)if(c[a+108>>2]&8|0){d=c[a+304>>2]|0;if((d|0)==(b|0)){a=0;i=f;return a|0}do if(!b){d=0;b=0}else{if((c[b>>2]|0)!=1275905){l6a(594848,f)|0;a=-1;i=f;return a|0}if((c[b+32>>2]|0)!=(a|0)){a=l6a(606800,f+8|0)|0;i=f;return a|0}if((c[b+8>>2]|0)==2){h=c[b+36>>2]|0;b=(h|0)==0?b:h;if(d|0){d=b;b=(b|0)!=0;break}c[a+228>>2]=c[a+212>>2];c[a+228+4>>2]=c[a+212+4>>2];c[a+228+8>>2]=c[a+212+8>>2];c[a+228+12>>2]=c[a+212+12>>2];c[a+260>>2]=c[a+244>>2];c[a+260+4>>2]=c[a+244+4>>2];c[a+260+8>>2]=c[a+244+8>>2];c[a+260+12>>2]=c[a+244+12>>2];c[a+280>>2]=c[a+276>>2];d=c[a+284+4>>2]|0;c[a+292>>2]=c[a+284>>2];c[a+292+4>>2]=d;c[a+204>>2]=c[a+196>>2];c[a+208>>2]=c[a+200>>2];d=b;b=(b|0)!=0;break}else{h=l6a(606843,f+16|0)|0;i=f;return h|0}}while(0);c[a+304>>2]=d;if((Xi[e&511](a,d)|0)<0){h=-1;i=f;return h|0}if(b){c[a+212>>2]=0;c[a+216>>2]=0;h=c[d+12>>2]|0;c[a+220>>2]=h;b=c[d+16>>2]|0;c[a+224>>2]=b;g[a+284>>2]=1.0;g[a+288>>2]=1.0;d=h}else{c[a+212>>2]=c[a+228>>2];c[a+212+4>>2]=c[a+228+4>>2];c[a+212+8>>2]=c[a+228+8>>2];c[a+212+12>>2]=c[a+228+12>>2];c[a+244>>2]=c[a+260>>2];c[a+244+4>>2]=c[a+260+4>>2];c[a+244+8>>2]=c[a+260+8>>2];c[a+244+12>>2]=c[a+260+12>>2];c[a+276>>2]=c[a+280>>2];b=c[a+292+4>>2]|0;c[a+284>>2]=c[a+292>>2];c[a+284+4>>2]=b;b=c[a+208>>2]|0;d=c[a+204>>2]|0}c[a+196>>2]=d;c[a+200>>2]=b;if((vi[c[a+48>>2]&2047](a)|0)<0){h=-1;i=f;return h|0}h=(vi[c[a+52>>2]&2047](a)|0)>>31;i=f;return h|0}}h=k7a(4)|0;i=f;return h|0}function Ohb(a,b){a=a|0;b=b|0;var d=0;d=c7a(12)|0;if(!d)return;c[d>>2]=a;c[d+4>>2]=b;c[d+8>>2]=0;a=c[299741]|0;if(!a){c[299741]=d;return}do{b=a+8|0;a=c[b>>2]|0}while((a|0)!=0);c[b>>2]=d;return}function Phb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;c[e>>2]=d;q6a(a,3,b,e);i=e;return}function Qhb(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;if(a|0)if((c[a>>2]|0)==1275904){qhb(393,a);b=c[a+300>>2]|0;if(b|0)do{Rhb(b);b=c[a+300>>2]|0}while((b|0)!=0);b=c[a+188>>2]|0;if(b|0)cgb(b,606623,0)|0;c[a>>2]=0;Hi[c[a+92>>2]&1023](a);i=d;return}l6a(594831,d)|0;i=d;return}function Rhb(a){a=a|0;var b=0,d=0,e=0,f=0;f=i;i=i+16|0;if(a|0)if((c[a>>2]|0)==1275905){e=c[a+32>>2]|0;do if((c[e+304>>2]|0)==(a|0)){if(e|0){b=c[e+44>>2]|0;if(b|0)if(c[e+108>>2]&8|0){c[e+304>>2]=0;if((Xi[b&511](e,0)|0)<0)break;c[e+212>>2]=c[e+228>>2];c[e+212+4>>2]=c[e+228+4>>2];c[e+212+8>>2]=c[e+228+8>>2];c[e+212+12>>2]=c[e+228+12>>2];c[e+244>>2]=c[e+260>>2];c[e+244+4>>2]=c[e+260+4>>2];c[e+244+8>>2]=c[e+260+8>>2];c[e+244+12>>2]=c[e+260+12>>2];c[e+276>>2]=c[e+280>>2];d=c[e+292+4>>2]|0;c[e+284>>2]=c[e+292>>2];c[e+284+4>>2]=d;d=c[e+208>>2]|0;c[e+196>>2]=c[e+204>>2];c[e+200>>2]=d;if((vi[c[e+48>>2]&2047](e)|0)<0)break;vi[c[e+52>>2]&2047](e)|0;break}}k7a(4)|0}while(0);c[a>>2]=0;b=c[a+76>>2]|0;if(b|0)c[b+72>>2]=c[a+72>>2];d=c[a+72>>2]|0;if(!d)c[e+300>>2]=b;else c[d+76>>2]=b;b=c[a+36>>2]|0;if(b|0)Rhb(b);b=c[a+40>>2]|0;if(b|0)Shb(b);L7a(c[a+44>>2]|0);si[c[e+88>>2]&511](e,a);L7a(a);i=f;return}l6a(594848,f)|0;i=f;return}function Shb(a){a=a|0;if(!a)return;L7a(c[a+16>>2]|0);L7a(c[a+20>>2]|0);L7a(c[a+24>>2]|0);A7a(c[a+56>>2]|0);A7a(c[a+60>>2]|0);L7a(a);return}function Thb(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;if(a|0)if((c[a>>2]|0)==1275904){a=a+104|0;d=b+84|0;do{c[b>>2]=c[a>>2];b=b+4|0;a=a+4|0}while((b|0)<(d|0));d=0;i=e;return d|0}l6a(594831,e)|0;d=-1;i=e;return d|0}function Uhb(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+48|0;if(a|0)if((c[a>>2]|0)==1275904){if(!b)b=c[a+116>>2]|0;m=(b|0)==0|(b&-268435456|0)==268435456;if(m){if(!(b&255)){l6a(606958,n+8|0)|0;e=0;i=n;return e|0}if(((b>>>24&15)+-1|0)>>>0<3){l6a(606981,n+16|0)|0;e=0;i=n;return e|0}}if((e|0)<1|(f|0)<1){l6a(607019,n+24|0)|0;e=0;i=n;return e|0}h=c[a+180>>2]|0;g=c[a+184>>2]|0;if(!((h|0)!=0&(h|0)<(e|0)))if(!((g|0)!=0&(g|0)<(f|0))){l=Y6a(1,80)|0;if(!l){k7a(0)|0;e=0;i=n;return e|0}c[l>>2]=1275905;c[l+4>>2]=b;c[l+8>>2]=d;c[l+12>>2]=e;c[l+16>>2]=f;c[l+28>>2]=-1;c[l+32>>2]=a;g=c[a+300>>2]|0;c[l+76>>2]=g;if(g|0)c[g+72>>2]=l;c[a+300>>2]=l;j=c[a+112>>2]|0;a:do if(j|0){g=0;while(1){if((c[a+116+(g<<2)>>2]|0)==(b|0))break;g=g+1|0;if(g>>>0>=j>>>0)break a}if((Xi[c[a+12>>2]&511](a,l)|0)>=0){e=l;i=n;return e|0}Rhb(l);e=0;i=n;return e|0}while(0);b:do if(m){g=b>>>24&15;if((g+-4|0)>>>0<3){h=(b>>>20&15)+-3|0;if(h>>>0<6)if(!(51>>>(h&255)&1))k=31;else g=1;else k=31}else k=31;if((k|0)==31)if((g+-7|0)>>>0<5){g=(b>>>20&15)+-2|0;if(g>>>0<5)g=(27>>>(g&31)&1)!=0;else g=0}else g=0;if(!j)k=53;else if(g){h=0;while(1){g=c[a+116+(h<<2)>>2]|0;do if((g|0)==0|(g&-268435456|0)==268435456){do if(((g>>>24&15)+-4|0)>>>0<3){if(((g>>>20&15)+-3|0)>>>0>=6)break;if(51>>>((g>>>20&15)+-3&255)&1)break b}while(0);if(((g>>>24&15)+-7|0)>>>0>=5)break;if(((g>>>20&15)+-2|0)>>>0>=5)break;if(27>>>((g>>>20&15)+-2&31)&1)break b}while(0);h=h+1|0;if(h>>>0>=j>>>0){k=53;break}}}else{h=0;while(1){g=c[a+116+(h<<2)>>2]|0;c:do if((g|0)==0|(g&-268435456|0)==268435456){do if(((g>>>24&15)+-4|0)>>>0<3){if(((g>>>20&15)+-3|0)>>>0>=6)break;if(51>>>((g>>>20&15)+-3&255)&1)break c}while(0);if(((g>>>24&15)+-7|0)>>>0>=5)break b;if(((g>>>20&15)+-2|0)>>>0>=5)break b;if(!(27>>>((g>>>20&15)+-2&31)&1))break b}while(0);h=h+1|0;if(h>>>0>=j>>>0){k=53;break}}}}else if(!j)k=53;else{g=0;while(1){if((c[a+116+(g<<2)>>2]|0)==(b|0)){g=b;break b}g=g+1|0;if(g>>>0>=j>>>0){k=53;break}}}while(0);if((k|0)==53)g=c[a+116>>2]|0;h=Uhb(a,g,d,e,f)|0;c[l+36>>2]=h;if(!h){Rhb(l);e=0;i=n;return e|0}g=c[l+76>>2]|0;c[h+76>>2]=g;if(g|0)c[g+72>>2]=h;g=c[h+72>>2]|0;c[l+72>>2]=g;if(g|0)c[g+76>>2]=l;c[h+72>>2]=l;c[l+76>>2]=h;c[a+300>>2]=l;a=c[l+4>>2]|0;if(!((a|0)==0|(a&-268435456|0)==268435456)){e=Vhb(b,e,f)|0;c[l+40>>2]=e;if(e|0){e=l;i=n;return e|0}Rhb(l);e=0;i=n;return e|0}if((d|0)!=1){e=l;i=n;return e|0}d:do if(m)b=b&255;else{if((b|0)<1498831189)switch(b|0){case 844715353:{b=2;break d}default:{}}else switch(b|0){case 1498831189:{b=2;break d}default:{}}b=(b|0)==1431918169?2:1}while(0);e=(_(b,e)|0)+3&-4;c[l+48>>2]=e;e=Y6a(1,_(e,f)|0)|0;c[l+44>>2]=e;if(e|0){e=l;i=n;return e|0}Rhb(l);e=0;i=n;return e|0}c[n+32>>2]=h;c[n+32+4>>2]=g;l6a(607049,n+32|0)|0;e=0;i=n;return e|0}l6a(594831,n)|0;e=0;i=n;return e|0}function Vhb(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0.0;k=i;i=i+16|0;a:do if((a|0)<1431918169)if((a|0)<844715353)switch(a|0){case 842094169:break a;default:{g=2;break a}}else switch(a|0){case 844715353:break a;default:{g=2;break a}}else{if((a|0)<1448433993)switch(a|0){case 1431918169:break a;default:{g=2;break a}}if((a|0)<1498831189)switch(a|0){case 1448433993:break a;default:{g=2;break a}}else switch(a|0){case 1498831189:break a;default:{g=2;break a}}}while(0);if((g|0)==2){l6a(607089,k)|0;d=0;i=k;return d|0}f=Y6a(1,64)|0;if(!f){k7a(0)|0;d=0;i=k;return d|0}c[f>>2]=a;c[f+4>>2]=0;c[f+8>>2]=d;c[f+12>>2]=e;c[f+16>>2]=c7a(_(d<<1,e)|0)|0;c[f+20>>2]=c7a(4096)|0;g=c7a(9216)|0;c[f+24>>2]=g;j=c[f+16>>2]|0;if(j|0){h=c[f+20>>2]|0;if(!((g|0)==0|(h|0)==0)){g=0;do{l=+(g+-128|0);c[h+(g<<2)>>2]=~~(l*1.4013377926421404);c[h+1024+(g<<2)>>2]=~~(l*-.7136038186157518);c[h+2048+(g<<2)>>2]=~~(l*-.34441087613293053);c[h+3072+(g<<2)>>2]=~~(l*1.7734138972809665);g=g+1|0}while((g|0)!=256);b:do if((a|0)<1431918169)if((a|0)<844715353){switch(a|0){case 842094169:{g=11;break b}default:{}}i=k;return f|0}else{switch(a|0){case 844715353:{g=12;break b}default:{}}i=k;return f|0}else{if((a|0)<1448433993){switch(a|0){case 1431918169:{g=12;break b}default:{}}i=k;return f|0}if((a|0)<1498831189){switch(a|0){case 1448433993:{g=11;break b}default:{}}i=k;return f|0}else{switch(a|0){case 1498831189:{g=12;break b}default:{}}i=k;return f|0}}while(0);if((g|0)==11){b[f+36>>1]=d;b[f+38>>1]=d>>>1&32767;b[f+40>>1]=(d&65535)>>>1;c[f+44>>2]=j;a=j+(_(d&65535,e)|0)|0;c[f+48>>2]=a;c[f+52>>2]=a+((_(d>>>1&32767,e)|0)/2|0);d=f;i=k;return d|0}else if((g|0)==12){b[f+36>>1]=d<<1;c[f+44>>2]=j;d=f;i=k;return d|0}}}L7a(j);L7a(c[f+20>>2]|0);L7a(c[f+24>>2]|0);A7a(c[f+56>>2]|0);A7a(c[f+60>>2]|0);L7a(f);k7a(0)|0;d=0;i=k;return d|0}function Whb(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;g=i;i=i+48|0;a=c[299450]|0;a:do if(!a)l6a(593111,g)|0;else{if(b|0)if((c[b>>2]|0)==(a+256|0)){a=c[b+132>>2]|0;if(!a)break;while(1){f=c[a>>2]|0;if(f|0)if(!(r7a(f,606585)|0))break;a=c[a+8>>2]|0;if(!a)break a}a=c[a+4>>2]|0;if(!a)break;if(!(c[a+4>>2]|0))break;if(!(Xhb(c[b+24>>2]|0,c[b+28>>2]|0,e,d,g+24|0)|0)){b=0;i=g;return b|0}b=c[a+12>>2]|0;d=(c[a+8>>2]|0)+(_(b,c[g+24+4>>2]|0)|0)|0;d=d+(_(c[a+16>>2]|0,c[g+24>>2]|0)|0)|0;if((Yhb(c[a+4>>2]|0,g+24|0,d,b)|0)<0){b=-1;i=g;return b|0}if((pib(c[a>>2]|0,c[a+4>>2]|0,0,0)|0)<0){b=-1;i=g;return b|0}rib(c[a>>2]|0);b=0;i=g;return b|0}l6a(606608,g+8|0)|0}while(0);b=l6a(607112,g+16|0)|0;i=g;return b|0}function Xhb(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0;k=i;i=i+48|0;if((a|0)<1){c[k>>2]=607135;l6a(608461,k)|0;a=0;i=k;return a|0}if((b|0)<1){c[k+8>>2]=607141;l6a(608461,k+8|0)|0;a=0;i=k;return a|0}if(!e){c[k+16>>2]=607148;l6a(608461,k+16|0)|0;a=0;i=k;return a|0}if(!f){c[k+24>>2]=607154;l6a(608461,k+24|0)|0;a=0;i=k;return a|0}if((d|0)<1){c[k+32>>2]=607159;l6a(608461,k+32|0)|0;a=0;i=k;return a|0}else{j=0;g=b;h=0}do{m=c[e+(j<<4)+4>>2]|0;l=(c[e+(j<<4)+12>>2]|0)+m|0;g=(m|0)<0?0:(m|0)<(g|0)?m:g;h=(l|0)>(b|0)?b:(l|0)>(h|0)?l:h;j=j+1|0}while((j|0)!=(d|0));if((h|0)<=(g|0)){m=0;i=k;return m|0}c[f>>2]=0;c[f+4>>2]=g;c[f+8>>2]=a;c[f+12>>2]=h-g;m=1;i=k;return m|0}function Yhb(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+64|0;if(a|0)if((c[a>>2]|0)==1275905){if(!d){c[m+8>>2]=607168;a=l6a(608461,m+8|0)|0;i=m;return a|0}if(!e){c[m+16>>2]=607175;a=l6a(608461,m+16|0)|0;i=m;return a|0}if(!b){c[m+24>>2]=0;c[m+24+4>>2]=0;f=c[a+12>>2]|0;c[m+24+8>>2]=f;c[m+24+12>>2]=c[a+16>>2];k=m+24|0}else{k=b;f=c[b+8>>2]|0}h=k+8|0;if(!f){a=0;i=m;return a|0}j=k+12|0;g=c[j>>2]|0;if(!g){a=0;i=m;return a|0}b=c[a+40>>2]|0;l=c[a+36>>2]|0;if(b|0){do if((Zhb(b,k,d,e)|0)<0)b=-1;else{c[m+48>>2]=0;c[m+48+4>>2]=0;f=c[a+12>>2]|0;c[m+48+8>>2]=f;g=c[a+16>>2]|0;c[m+48+12>>2]=g;if((c[a+8>>2]|0)==1)if((_hb(l,m+48|0,m+44|0,m+40|0)|0)<0){b=-1;break}else{aib(c[a+40>>2]|0,m+48|0,c[l+4>>2]|0,c[m+48+8>>2]|0,c[m+48+12>>2]|0,c[m+44>>2]|0,c[m+40>>2]|0)|0;oib(l);b=0;break}b=c[l+4>>2]|0;a:do if((b|0)==0|(b&-268435456|0)==268435456)b=b&255;else{if((b|0)<1498831189)switch(b|0){case 844715353:{b=2;break a}default:{}}else switch(b|0){case 1498831189:{b=2;break a}default:{}}b=(b|0)==1431918169?2:1}while(0);f=(_(b,f)|0)+3&-4;b=c7a(_(f,g)|0)|0;if(!b){b=k7a(0)|0;break}else{aib(c[a+40>>2]|0,m+48|0,c[l+4>>2]|0,c[m+48+8>>2]|0,c[m+48+12>>2]|0,b,f)|0;Yhb(l,m+48|0,b,f)|0;L7a(b);b=0;break}}while(0);a=b;i=m;return a|0}if(!l){l=c[a+32>>2]|0;a=Ci[c[l+28>>2]&127](l,a,k,d,e)|0;i=m;return a|0}if((c[a+8>>2]|0)==1)if((_hb(l,k,m+48|0,m+44|0)|0)<0){a=-1;i=m;return a|0}else{P8a(c[h>>2]|0,c[j>>2]|0,c[a+4>>2]|0,d,e,c[l+4>>2]|0,c[m+48>>2]|0,c[m+44>>2]|0)|0;oib(l);a=0;i=m;return a|0}b=c[l+4>>2]|0;b:do if((b|0)==0|(b&-268435456|0)==268435456)b=b&255;else{if((b|0)<1498831189)switch(b|0){case 844715353:{b=2;break b}default:{}}else switch(b|0){case 1498831189:{b=2;break b}default:{}}b=(b|0)==1431918169?2:1}while(0);f=(_(b,f)|0)+3&-4;b=c7a(_(f,g)|0)|0;if(!b){a=k7a(0)|0;i=m;return a|0}else{P8a(c[h>>2]|0,c[j>>2]|0,c[a+4>>2]|0,d,e,c[l+4>>2]|0,b,f)|0;Yhb(l,k,b,f)|0;L7a(b);a=0;i=m;return a|0}}l6a(594848,m)|0;a=-1;i=m;return a|0}function Zhb(a,b,d,f){a=a|0;b=b|0;d=d|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=c[a>>2]|0;a:do if((g|0)<1431918169)if((g|0)<844715353){switch(g|0){case 842094169:break a;default:{}}return 0}else{switch(g|0){case 844715353:{h=15;break a}default:{}}return 0}else{if((g|0)<1448433993){switch(g|0){case 1431918169:{h=15;break a}default:{}}return 0}if((g|0)<1498831189){switch(g|0){case 1448433993:break a;default:{}}return 0}else{switch(g|0){case 1498831189:{h=15;break a}default:{}}return 0}}while(0);if((h|0)==15){h=c[b+8>>2]<<1;if((c[b+12>>2]|0)<=0)return 0;i=(c[a+44>>2]|0)+(_(e[a+36>>1]|0,c[b+4>>2]|0)|0)|0;i=i+(c[b>>2]<<1)|0;j=0;g=d;while(1){l7a(i,g,h)|0;j=j+1|0;if((j|0)>=(c[b+12>>2]|0))break;else{i=i+(e[a+36>>1]|0)|0;g=g+f|0}}return 0}i=c[b>>2]|0;g=c[b+4>>2]|0;if(!(i|g)){h=c[b+8>>2]|0;if((h|0)==(c[a+8>>2]|0)){g=c[b+12>>2]|0;if((g|0)==(c[a+12>>2]|0)){b=_(g,h)|0;l7a(c[a+16>>2]|0,d,((b|0)/2|0)+b|0)|0;return 0}else g=0}else g=0}k=c[b+8>>2]|0;if((c[b+12>>2]|0)<=0)return 0;g=(c[a+16>>2]|0)+(_(c[a+8>>2]|0,g)|0)+i|0;h=0;i=d;while(1){l7a(g,i,k)|0;j=c[a+8>>2]|0;h=h+1|0;l=c[b+12>>2]|0;if((h|0)>=(l|0))break;else{g=g+j|0;i=i+f|0}}k=(c[b+8>>2]|0)/2|0;if((l|0)<=1)return 0;i=(c[a+16>>2]|0)+(_(j,c[a+12>>2]|0)|0)|0;h=(_((c[b+4>>2]|0)/2|0,j)|0)/2|0;h=i+(h+((c[b>>2]|0)/2|0))|0;i=0;g=d+(_(l,f)|0)|0;while(1){l7a(h,g,k)|0;l=c[a+8>>2]|0;i=i+1|0;m=c[b+12>>2]|0;if((i|0)>=((m|0)/2|0|0))break;else{h=h+((l|0)/2|0)|0;g=g+((f|0)/2|0)|0}}j=_(m,f)|0;g=_(l,c[a+12>>2]|0)|0;k=(c[b+8>>2]|0)/2|0;if((m|0)<=1)return 0;h=(_((c[b+4>>2]|0)/2|0,l)|0)/2|0;h=(c[a+16>>2]|0)+g+((g|0)/4|0)+(h+((c[b>>2]|0)/2|0))|0;i=0;g=d+j+((j|0)/4|0)|0;while(1){l7a(h,g,k)|0;i=i+1|0;if((i|0)>=((c[b+12>>2]|0)/2|0|0))break;else{h=h+((c[a+8>>2]|0)/2|0)|0;g=g+((f|0)/2|0)|0}}return 0}function _hb(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0;j=i;i=i+32|0;if(a|0)if((c[a>>2]|0)==1275905){if((c[a+8>>2]|0)!=1){d=l6a(607181,j+8|0)|0;i=j;return d|0}if(!b){c[j+16>>2]=0;c[j+16+4>>2]=0;c[j+16+8>>2]=c[a+12>>2];c[j+16+12>>2]=c[a+16>>2];b=j+16|0}f=c[a+40>>2]|0;if(f|0){d=$hb(f,b,d,e)|0;i=j;return d|0}if(!(c[a+36>>2]|0)){h=c[a+32>>2]|0;d=Ci[c[h+36>>2]&127](h,a,b,d,e)|0;i=j;return d|0}c[a+52>>2]=c[b>>2];c[a+52+4>>2]=c[b+4>>2];c[a+52+8>>2]=c[b+8>>2];c[a+52+12>>2]=c[b+12>>2];g=c[a+48>>2]|0;h=(c[a+44>>2]|0)+(_(g,c[b+4>>2]|0)|0)|0;f=c[b>>2]|0;b=c[a+4>>2]|0;a:do if((b|0)==0|(b&-268435456|0)==268435456)b=b&255;else{if((b|0)<1498831189)switch(b|0){case 844715353:{b=2;break a}default:{}}else switch(b|0){case 1498831189:{b=2;break a}default:{}}b=(b|0)==1431918169?2:1}while(0);c[d>>2]=h+(_(b,f)|0);c[e>>2]=g;d=0;i=j;return d|0}l6a(594848,j)|0;d=-1;i=j;return d|0}function $hb(a,b,d,f){a=a|0;b=b|0;d=d|0;f=f|0;var g=0,h=0,j=0,k=0;k=i;i=i+16|0;g=c[a>>2]|0;if((g|0)<1448433993)switch(g|0){case 842094169:{j=2;break}default:j=10}else switch(g|0){case 1448433993:{j=2;break}default:j=10}do if((j|0)==2){if(!b){g=c[a+44>>2]|0;break}if(!(c[b>>2]|0))if(!(c[b+4>>2]|0))if((c[b+8>>2]|0)==(c[a+8>>2]|0))if((c[b+12>>2]|0)==(c[a+12>>2]|0)){h=0;g=c[a+44>>2]|0;b=0;j=12;break}a=l6a(607226,k)|0;i=k;return a|0}else if((j|0)==10){g=c[a+44>>2]|0;if(b){h=c[b+4>>2]|0;b=c[b>>2]<<1;j=12}}while(0);if((j|0)==12)g=g+(_(e[a+36>>1]|0,h)|0)+b|0;c[d>>2]=g;c[f>>2]=e[a+36>>1];a=0;i=k;return a|0}function aib(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+64|0;a:do if((d|0)==0|(d&-268435456|0)==268435456)if(!(d&255)){a=l6a(607281,r)|0;i=r;return a|0}else p=d&255;else{b:do if((d|0)<1431918169)switch(d|0){case 844715353:break;default:{p=1;break a}}else if((d|0)<1498831189)switch(d|0){case 1431918169:break b;default:{p=1;break a}}else switch(d|0){case 1498831189:break b;default:{p=1;break a}}while(0);p=2}while(0);do if((c[a+4>>2]|0)!=(d|0)){o=(R8a(d,r+40|0,r+32|0,r+28|0,r+24|0,r+20|0)|0)==0;if(o|(c[r+40>>2]|0)<15){if((l6a(607309,r+8|0)|0)<0)j=-1;else break;i=r;return j|0}c[a+4>>2]=d;n=c[a+24>>2]|0;m=0;do{j=c[r+32>>2]|0;if(!j)j=0;else{k=0;do{k=(j&1)+k|0;j=j>>>1}while((j|0)!=0);j=k}j=m>>8-j;l=m+256|0;c[n+(l<<2)>>2]=j;j=j<<(bib(c[r+32>>2]|0)|0);c[n+(l<<2)>>2]=j;c[n+(l<<2)>>2]=c[r+20>>2]|j;j=c[r+28>>2]|0;if(!j)j=0;else{k=0;do{k=(j&1)+k|0;j=j>>>1}while((j|0)!=0);j=k}j=m>>8-j;c[n+3072+(l<<2)>>2]=j;j=j<<(bib(c[r+28>>2]|0)|0);c[n+3072+(l<<2)>>2]=j;c[n+3072+(l<<2)>>2]=c[r+20>>2]|j;j=c[r+24>>2]|0;if(!j)j=0;else{k=0;do{k=(j&1)+k|0;j=j>>>1}while((j|0)!=0);j=k}o=m>>8-j;c[n+6144+(l<<2)>>2]=o;o=o<<(bib(c[r+24>>2]|0)|0);c[n+6144+(l<<2)>>2]=o;c[n+6144+(l<<2)>>2]=c[r+20>>2]|o;m=m+1|0}while((m|0)!=256);c:do if((d|0)==0|(d&-268435456|0)==268435456){if((d&255|0)==2){j=0;q=21}}else{if((d|0)<1431918169)switch(d|0){case 844715353:{j=0;q=21;break c}default:break c}if((d|0)<1498831189)switch(d|0){case 1431918169:{j=0;q=21;break c}default:break c}else switch(d|0){case 1498831189:{j=0;q=21;break c}default:break c}}while(0);if((q|0)==21)while(1){q=0;o=j+256|0;m=c[n+(o<<2)>>2]|0;c[n+(o<<2)>>2]=m<<16|m;m=c[n+3072+(o<<2)>>2]|0;c[n+3072+(o<<2)>>2]=m<<16|m;m=c[n+6144+(o<<2)>>2]|0;c[n+6144+(o<<2)>>2]=m<<16|m;j=j+1|0;if((j|0)==256)break;else q=21}j=0;do{c[n+(j<<2)>>2]=c[n+1024>>2];o=j+512|0;c[n+(o<<2)>>2]=c[n+2044>>2];c[n+3072+(j<<2)>>2]=c[n+4096>>2];c[n+3072+(o<<2)>>2]=c[n+5116>>2];c[n+6144+(j<<2)>>2]=c[n+7168>>2];c[n+6144+(o<<2)>>2]=c[n+8188>>2];j=j+1|0}while((j|0)!=256);j=c[a>>2]|0;d:do if((j|0)<1431918169)if((j|0)<844715353)switch(j|0){case 842094169:{q=24;break d}default:break d}else switch(j|0){case 844715353:{q=31;break d}default:break d}else{if((j|0)<1448433993)switch(j|0){case 1431918169:{q=31;break d}default:break d}if((j|0)<1498831189)switch(j|0){case 1448433993:{q=24;break d}default:break d}else switch(j|0){case 1498831189:{q=31;break d}default:break d}}while(0);e:do if((q|0)==24){if((d|0)==0|(d&-268435456|0)==268435456)switch(d&255|0){case 2:{c[a+28>>2]=1;c[a+32>>2]=2;break e}case 3:{c[a+28>>2]=3;c[a+32>>2]=4;break e}case 4:{c[a+28>>2]=5;c[a+32>>2]=6;break e}default:break e}f:do if((d|0)<1431918169)switch(d|0){case 844715353:break;default:break e}else if((d|0)<1498831189)switch(d|0){case 1431918169:break f;default:break e}else switch(d|0){case 1498831189:break f;default:break e}while(0);c[a+28>>2]=1;c[a+32>>2]=2}else if((q|0)==31){if((d|0)==0|(d&-268435456|0)==268435456)switch(d&255|0){case 2:{c[a+28>>2]=7;c[a+32>>2]=8;break e}case 3:{c[a+28>>2]=9;c[a+32>>2]=10;break e}case 4:{c[a+28>>2]=11;c[a+32>>2]=12;break e}default:break e}g:do if((d|0)<1431918169)switch(d|0){case 844715353:break;default:break e}else if((d|0)<1498831189)switch(d|0){case 1431918169:break g;default:break e}else switch(d|0){case 1498831189:break g;default:break e}while(0);c[a+28>>2]=7;c[a+32>>2]=8}while(0);A7a(c[a+60>>2]|0);c[a+60>>2]=0}while(0);if(!(c[b>>2]|0))if(!(c[b+4>>2]|0)){j=c[b+8>>2]|0;if((j|0)<(c[a+8>>2]|0))q=45;else{k=c[b+12>>2]|0;if((k|0)<(c[a+12>>2]|0))q=45;else if((j|0)==(e|0)&(k|0)==(f|0)){j=g;g=0;o=0}else if((j<<1|0)==(e|0)&(k<<1|0)==(f|0)){j=g;g=1;o=0}else q=45}}else q=45;else q=45;if((q|0)==45){j=c[a+60>>2]|0;if(!j){R8a(d,r+40|0,r+32|0,r+28|0,r+24|0,r+20|0)|0;o=Gcb(g,e,f,c[r+40>>2]|0,h,c[r+32>>2]|0,c[r+28>>2]|0,c[r+24>>2]|0,c[r+20>>2]|0)|0;c[a+60>>2]=o;if(!o){k=0;j=g}else q=48}else{c[j+8>>2]=e;c[j+12>>2]=f;c[j+20>>2]=g;c[j+16>>2]=h;q=48}do if((q|0)==48){j=c[a+56>>2]|0;if(!j){R8a(d,r+40|0,r+32|0,r+28|0,r+24|0,r+20|0)|0;j=Hcb(0,c[a+8>>2]|0,c[a+12>>2]|0,c[r+40>>2]|0,c[r+32>>2]|0,c[r+28>>2]|0,c[r+24>>2]|0,c[r+20>>2]|0)|0;c[a+56>>2]=j;if(!j){k=0;j=g;break}}k=1;h=c[j+16>>2]|0;j=c[j+20>>2]|0}while(0);if(k){g=0;o=1}else{a=-1;i=r;return a|0}}k=c[a>>2]|0;h:do if((k|0)<1431918169)if((k|0)<844715353){switch(k|0){case 842094169:break;default:{q=58;break h}}f=c[a+52>>2]|0;e=c[a+48>>2]|0;d=c[a+44>>2]|0;break}else{switch(k|0){case 844715353:break;default:{q=58;break h}}d=c[a+44>>2]|0;f=d+1|0;e=d+3|0;break}else{if((k|0)<1448433993){switch(k|0){case 1431918169:break;default:{q=58;break h}}d=c[a+44>>2]|0;f=d+3|0;e=d+1|0;break}if((k|0)<1498831189){switch(k|0){case 1448433993:break;default:{q=58;break h}}f=c[a+48>>2]|0;e=c[a+52>>2]|0;d=c[a+44>>2]|0;break}else{switch(k|0){case 1498831189:break;default:{q=58;break h}}d=c[a+44>>2]|0;f=d;e=d+2|0;d=d+1|0;break}}while(0);if((q|0)==58){a=l6a(607344,r+16|0)|0;i=r;return a|0}h=(h|0)/(p|0)|0;k=c[a+8>>2]|0;l=c[a+20>>2]|0;m=c[a+24>>2]|0;n=c[a+12>>2]|0;if(!g)Vi[c[a+28>>2]&15](l,m,d,e,f,j,n,k,h-k|0);else Vi[c[a+32>>2]&15](l,m,d,e,f,j,n,k,h-(k<<1)|0);if(!o){a=0;i=r;return a|0};c[r+40>>2]=c[b>>2];c[r+40+4>>2]=c[b+4>>2];c[r+40+8>>2]=c[b+8>>2];c[r+40+12>>2]=c[b+12>>2];Udb(c[a+56>>2]|0,r+40|0,c[a+60>>2]|0,0)|0;a=0;i=r;return a|0}function bib(a){a=a|0;if(!a){a=32;return a|0}if(!(a&1))return (bib(a>>>1)|0)+1|0;else{a=0;return a|0}return 0}function cib(a,e,f,g,h,i,j,k,l){a=a|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;if((j+1|0)>>>0<3|(k+1|0)>>>0<3)return;u=((k|0)/2|0)<<1;t=(j|0)/2|0;j=i;i=i+(k<<1)+(l<<1)|0;while(1){t=t+-1|0;r=i+(u<<1)|0;s=j+(u<<1)|0;n=f;o=g;p=h;h=h+((k|0)/2|0)|0;q=f+k|0;m=(k|0)/2|0;while(1){m=m+-1|0;y=d[o>>0]|0;x=(c[a+(y<<2)>>2]|0)+256|0;v=d[p>>0]|0;y=(c[a+((y|256)<<2)>>2]|0)+1024+(c[a+((v|512)<<2)>>2]|0)|0;v=(c[a+((v|768)<<2)>>2]|0)+1792|0;w=d[n>>0]|0;b[j>>1]=c[e+(w+y<<2)>>2]|c[e+(w+x<<2)>>2]|c[e+(w+v<<2)>>2];w=d[n+1>>0]|0;b[j+2>>1]=c[e+(w+y<<2)>>2]|c[e+(w+x<<2)>>2]|c[e+(w+v<<2)>>2];w=d[q>>0]|0;b[i>>1]=c[e+(w+y<<2)>>2]|c[e+(w+x<<2)>>2]|c[e+(w+v<<2)>>2];w=d[q+1>>0]|0;b[i+2>>1]=c[e+(w+y<<2)>>2]|c[e+(w+x<<2)>>2]|c[e+(w+v<<2)>>2];if(!m)break;else{n=n+2|0;o=o+1|0;p=p+1|0;q=q+2|0;j=j+4|0;i=i+4|0}}if(!t)break;else{g=g+((k|0)/2|0)|0;f=f+u+k|0;j=s+((l<<1)+k<<1)|0;i=r+((l<<1)+k<<1)|0}}return}function dib(a,b,e,f,g,h,i,j,k){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;t=((k|0)/2|0)+j|0;if((i+1|0)>>>0<3|(j+1|0)>>>0<3)return;u=((j|0)/2|0)<<1;s=(i|0)/2|0;i=h;h=h+(t<<1<<2)|0;while(1){s=s+-1|0;q=h+(u<<2)|0;r=i+(u<<2)|0;m=e;n=f;o=g;g=g+((j|0)/2|0)|0;p=e+j|0;l=(j|0)/2|0;while(1){l=l+-1|0;z=d[n>>0]|0;y=(c[a+(z<<2)>>2]|0)+256|0;w=d[o>>0]|0;z=(c[a+((z|256)<<2)>>2]|0)+1024+(c[a+((w|512)<<2)>>2]|0)|0;w=(c[a+((w|768)<<2)>>2]|0)+1792|0;v=d[m>>0]|0;v=c[b+(v+z<<2)>>2]|c[b+(v+y<<2)>>2]|c[b+(v+w<<2)>>2];c[i+(t<<2)>>2]=v;c[i>>2]=v;v=i+4|0;x=d[m+1>>0]|0;x=c[b+(x+z<<2)>>2]|c[b+(x+y<<2)>>2]|c[b+(x+w<<2)>>2];c[v+(t<<2)>>2]=x;c[v>>2]=x;v=d[p>>0]|0;v=c[b+(v+z<<2)>>2]|c[b+(v+y<<2)>>2]|c[b+(v+w<<2)>>2];c[h+(t<<2)>>2]=v;c[h>>2]=v;v=h+4|0;x=d[p+1>>0]|0;w=c[b+(x+z<<2)>>2]|c[b+(x+y<<2)>>2]|c[b+(x+w<<2)>>2];c[v+(t<<2)>>2]=w;c[v>>2]=w;if(!l)break;else{m=m+2|0;n=n+1|0;o=o+1|0;p=p+2|0;i=i+8|0;h=h+8|0}}if(!s)break;else{f=f+((j|0)/2|0)|0;e=e+u+j|0;i=r+((t*3|0)+((k|0)/2|0)<<2)|0;h=q+((t*3|0)+((k|0)/2|0)<<2)|0}}return}function eib(b,e,f,g,h,i,j,k,l){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;if((j+1|0)>>>0<3)return;t=f;u=(j|0)/2|0;s=f;f=i;j=i+(k*3|0)+(l*3|0)|0;while(1){u=u+-1|0;i=s+k|0;if((k+1|0)>>>0<3)m=t;else{r=j+(((k|0)/2|0)*6|0)|0;q=f+(((k|0)/2|0)*6|0)|0;p=h+((k|0)/2|0)|0;n=t;o=g;m=(k|0)/2|0;while(1){m=m+-1|0;y=d[o>>0]|0;x=(c[b+(y<<2)>>2]|0)+256|0;v=d[h>>0]|0;y=(c[b+((y|256)<<2)>>2]|0)+1024+(c[b+((v|512)<<2)>>2]|0)|0;v=(c[b+((v|768)<<2)>>2]|0)+1792|0;w=d[n>>0]|0;w=c[e+(w+y<<2)>>2]|c[e+(w+x<<2)>>2]|c[e+(w+v<<2)>>2];a[f>>0]=w;a[f+1>>0]=w>>>8;a[f+2>>0]=w>>>16;w=d[n+1>>0]|0;w=c[e+(w+y<<2)>>2]|c[e+(w+x<<2)>>2]|c[e+(w+v<<2)>>2];a[f+3>>0]=w;a[f+4>>0]=w>>>8;a[f+5>>0]=w>>>16;w=d[i>>0]|0;w=c[e+(w+y<<2)>>2]|c[e+(w+x<<2)>>2]|c[e+(w+v<<2)>>2];a[j>>0]=w;a[j+1>>0]=w>>>8;a[j+2>>0]=w>>>16;w=d[i+1>>0]|0;v=c[e+(w+y<<2)>>2]|c[e+(w+x<<2)>>2]|c[e+(w+v<<2)>>2];a[j+3>>0]=v;a[j+4>>0]=v>>>8;a[j+5>>0]=v>>>16;if(!m)break;else{n=n+2|0;o=o+1|0;h=h+1|0;i=i+2|0;f=f+6|0;j=j+6|0}}m=t+(((k|0)/2|0)<<1)|0;g=g+((k|0)/2|0)|0;h=p;i=s+((((k|0)/2|0)<<1)+k)|0;f=q;j=r}if(!u)break;else{t=m+k|0;s=i;f=f+(((l<<1)+k|0)*3|0)|0;j=j+(((l<<1)+k|0)*3|0)|0}}return}function fib(b,e,f,g,h,i,j,k,l){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;v=((k<<1)+l|0)*3|0;if((j+1|0)>>>0<3)return;t=f;u=(j|0)/2|0;s=f;f=i;j=i+(((k<<1)+l|0)*6|0)|0;while(1){u=u+-1|0;i=s+k|0;if((k+1|0)>>>0<3)m=t;else{r=j+(((k|0)/2|0)*12|0)|0;q=f+(((k|0)/2|0)*12|0)|0;p=h+((k|0)/2|0)|0;n=t;o=g;m=(k|0)/2|0;while(1){m=m+-1|0;A=d[o>>0]|0;z=(c[b+(A<<2)>>2]|0)+256|0;w=d[h>>0]|0;A=(c[b+((A|256)<<2)>>2]|0)+1024+(c[b+((w|512)<<2)>>2]|0)|0;w=(c[b+((w|768)<<2)>>2]|0)+1792|0;y=d[n>>0]|0;y=c[e+(y+A<<2)>>2]|c[e+(y+z<<2)>>2]|c[e+(y+w<<2)>>2];a[f+(v+3)>>0]=y;a[f+v>>0]=y;a[f+3>>0]=y;a[f>>0]=y;a[f+(v+4)>>0]=y>>>8;a[f+(v+1)>>0]=y>>>8;a[f+4>>0]=y>>>8;a[f+1>>0]=y>>>8;a[f+(v+5)>>0]=y>>>16;a[f+(v+2)>>0]=y>>>16;a[f+5>>0]=y>>>16;a[f+2>>0]=y>>>16;y=f+6|0;x=d[n+1>>0]|0;x=c[e+(x+A<<2)>>2]|c[e+(x+z<<2)>>2]|c[e+(x+w<<2)>>2];a[y+(v+3)>>0]=x;a[y+v>>0]=x;a[f+9>>0]=x;a[y>>0]=x;a[y+(v+4)>>0]=x>>>8;a[y+(v+1)>>0]=x>>>8;a[f+10>>0]=x>>>8;a[f+7>>0]=x>>>8;a[y+(v+5)>>0]=x>>>16;a[y+(v+2)>>0]=x>>>16;a[f+11>>0]=x>>>16;a[f+8>>0]=x>>>16;x=d[i>>0]|0;x=c[e+(x+A<<2)>>2]|c[e+(x+z<<2)>>2]|c[e+(x+w<<2)>>2];a[j+(v+3)>>0]=x;a[j+v>>0]=x;a[j+3>>0]=x;a[j>>0]=x;a[j+(v+4)>>0]=x>>>8;a[j+(v+1)>>0]=x>>>8;a[j+4>>0]=x>>>8;a[j+1>>0]=x>>>8;a[j+(v+5)>>0]=x>>>16;a[j+(v+2)>>0]=x>>>16;a[j+5>>0]=x>>>16;a[j+2>>0]=x>>>16;x=j+6|0;y=d[i+1>>0]|0;w=c[e+(y+A<<2)>>2]|c[e+(y+z<<2)>>2]|c[e+(y+w<<2)>>2];a[x+(v+3)>>0]=w;a[x+v>>0]=w;a[j+9>>0]=w;a[x>>0]=w;a[x+(v+4)>>0]=w>>>8;a[x+(v+1)>>0]=w>>>8;a[j+10>>0]=w>>>8;a[j+7>>0]=w>>>8;a[x+(v+5)>>0]=w>>>16;a[x+(v+2)>>0]=w>>>16;a[j+11>>0]=w>>>16;a[j+8>>0]=w>>>16;if(!m)break;else{n=n+2|0;o=o+1|0;h=h+1|0;i=i+2|0;f=f+12|0;j=j+12|0}}m=t+(((k|0)/2|0)<<1)|0;g=g+((k|0)/2|0)|0;h=p;i=s+((((k|0)/2|0)<<1)+k)|0;f=q;j=r}if(!u)break;else{t=m+k|0;s=i;f=f+((((k<<1)+l|0)*9|0)+(l*3|0))|0;j=j+((((k<<1)+l|0)*9|0)+(l*3|0))|0}}return}function gib(a,b,e,f,g,h,i,j,k){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;if((i+1|0)>>>0<3|(j+1|0)>>>0<3)return;t=((j|0)/2|0)<<1;s=(i|0)/2|0;i=h;h=h+(j<<2)+(k<<2)|0;while(1){s=s+-1|0;q=h+(t<<2)|0;r=i+(t<<2)|0;m=e;n=f;o=g;g=g+((j|0)/2|0)|0;p=e+j|0;l=(j|0)/2|0;while(1){l=l+-1|0;x=d[n>>0]|0;w=(c[a+(x<<2)>>2]|0)+256|0;u=d[o>>0]|0;x=(c[a+((x|256)<<2)>>2]|0)+1024+(c[a+((u|512)<<2)>>2]|0)|0;u=(c[a+((u|768)<<2)>>2]|0)+1792|0;v=d[m>>0]|0;c[i>>2]=c[b+(v+x<<2)>>2]|c[b+(v+w<<2)>>2]|c[b+(v+u<<2)>>2];v=d[m+1>>0]|0;c[i+4>>2]=c[b+(v+x<<2)>>2]|c[b+(v+w<<2)>>2]|c[b+(v+u<<2)>>2];v=d[p>>0]|0;c[h>>2]=c[b+(v+x<<2)>>2]|c[b+(v+w<<2)>>2]|c[b+(v+u<<2)>>2];v=d[p+1>>0]|0;c[h+4>>2]=c[b+(v+x<<2)>>2]|c[b+(v+w<<2)>>2]|c[b+(v+u<<2)>>2];if(!l)break;else{m=m+2|0;n=n+1|0;o=o+1|0;p=p+2|0;i=i+8|0;h=h+8|0}}if(!s)break;else{f=f+((j|0)/2|0)|0;e=e+t+j|0;i=r+((k<<1)+j<<2)|0;h=q+((k<<1)+j<<2)|0}}return}function hib(a,b,e,f,g,h,i,j,k){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;if((i+1|0)>>>0<3)return;u=(j<<1)+k+1|0;s=e;t=(i|0)/2|0;r=e;e=h;i=h+((j<<1)+k<<1<<2)|0;while(1){t=t+-1|0;h=r+j|0;if((j+1|0)>>>0<3)l=s;else{q=i+(((j|0)/2|0)<<2<<2)|0;p=e+(((j|0)/2|0)<<2<<2)|0;o=g+((j|0)/2|0)|0;m=s;n=f;l=(j|0)/2|0;while(1){l=l+-1|0;z=d[n>>0]|0;y=(c[a+(z<<2)>>2]|0)+256|0;w=d[g>>0]|0;z=(c[a+((z|256)<<2)>>2]|0)+1024+(c[a+((w|512)<<2)>>2]|0)|0;w=(c[a+((w|768)<<2)>>2]|0)+1792|0;v=d[m>>0]|0;v=c[b+(v+z<<2)>>2]|c[b+(v+y<<2)>>2]|c[b+(v+w<<2)>>2];c[e+(u<<2)>>2]=v;c[e+((j<<1)+k<<2)>>2]=v;c[e+4>>2]=v;c[e>>2]=v;v=e+8|0;x=d[m+1>>0]|0;x=c[b+(x+z<<2)>>2]|c[b+(x+y<<2)>>2]|c[b+(x+w<<2)>>2];c[v+(u<<2)>>2]=x;c[v+((j<<1)+k<<2)>>2]=x;c[e+12>>2]=x;c[v>>2]=x;v=d[h>>0]|0;v=c[b+(v+z<<2)>>2]|c[b+(v+y<<2)>>2]|c[b+(v+w<<2)>>2];c[i+(u<<2)>>2]=v;c[i+((j<<1)+k<<2)>>2]=v;c[i+4>>2]=v;c[i>>2]=v;v=i+8|0;x=d[h+1>>0]|0;w=c[b+(x+z<<2)>>2]|c[b+(x+y<<2)>>2]|c[b+(x+w<<2)>>2];c[v+(u<<2)>>2]=w;c[v+((j<<1)+k<<2)>>2]=w;c[i+12>>2]=w;c[v>>2]=w;if(!l)break;else{m=m+2|0;n=n+1|0;g=g+1|0;h=h+2|0;e=e+16|0;i=i+16|0}}l=s+(((j|0)/2|0)<<1)|0;f=f+((j|0)/2|0)|0;g=o;h=r+((((j|0)/2|0)<<1)+j)|0;e=p;i=q}if(!t)break;else{s=l+j|0;r=h;e=e+((((j<<1)+k|0)*3|0)+k<<2)|0;i=i+((((j<<1)+k|0)*3|0)+k<<2)|0}}return}function iib(a,e,f,g,h,i,j,k,l){a=a|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;if((j|0)==0|(k+1|0)>>>0<3)return;r=((k|0)/2|0)<<2;while(1){j=j+-1|0;q=i+(((k|0)/2|0)<<1<<1)|0;n=g;o=h;h=h+r|0;p=f;m=(k|0)/2|0;while(1){m=m+-1|0;v=d[n>>0]|0;u=(c[a+(v<<2)>>2]|0)+256|0;s=d[o>>0]|0;v=(c[a+((v|256)<<2)>>2]|0)+1024+(c[a+((s|512)<<2)>>2]|0)|0;s=(c[a+((s|768)<<2)>>2]|0)+1792|0;t=d[p>>0]|0;b[i>>1]=c[e+(t+v<<2)>>2]|c[e+(t+u<<2)>>2]|c[e+(t+s<<2)>>2];t=d[p+2>>0]|0;b[i+2>>1]=c[e+(t+v<<2)>>2]|c[e+(t+u<<2)>>2]|c[e+(t+s<<2)>>2];if(!m)break;else{n=n+4|0;o=o+4|0;p=p+4|0;i=i+4|0}}if(!j)break;else{g=g+r|0;f=f+r|0;i=q+(l<<1)|0}}return}function jib(a,b,e,f,g,h,i,j,k){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;if((i|0)==0|(j+1|0)>>>0<3)return;q=((j|0)/2|0)<<2;while(1){i=i+-1|0;p=h+(((j|0)/2|0)<<1<<2)|0;m=f;n=g;g=g+q|0;o=e;l=(j|0)/2|0;while(1){l=l+-1|0;v=d[m>>0]|0;u=(c[a+(v<<2)>>2]|0)+256|0;s=d[n>>0]|0;v=(c[a+((v|256)<<2)>>2]|0)+1024+(c[a+((s|512)<<2)>>2]|0)|0;s=(c[a+((s|768)<<2)>>2]|0)+1792|0;r=d[o>>0]|0;r=c[b+(r+v<<2)>>2]|c[b+(r+u<<2)>>2]|c[b+(r+s<<2)>>2];c[h+(((k|0)/2|0)+j<<2)>>2]=r;c[h>>2]=r;r=h+4|0;t=d[o+2>>0]|0;s=c[b+(t+v<<2)>>2]|c[b+(t+u<<2)>>2]|c[b+(t+s<<2)>>2];c[r+(((k|0)/2|0)+j<<2)>>2]=s;c[r>>2]=s;if(!l)break;else{m=m+4|0;n=n+4|0;o=o+4|0;h=h+8|0}}if(!i)break;else{f=f+q|0;e=e+q|0;h=p+(((k|0)/2|0)+j<<2)|0}}return}function kib(b,e,f,g,h,i,j,k,l){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;if((j|0)==0|(k+1|0)>>>0<3)return;r=((k|0)/2|0)<<2;while(1){j=j+-1|0;q=i+(((k|0)/2|0)*6|0)|0;n=g;o=h;h=h+r|0;p=f;m=(k|0)/2|0;while(1){m=m+-1|0;v=d[n>>0]|0;u=(c[b+(v<<2)>>2]|0)+256|0;s=d[o>>0]|0;v=(c[b+((v|256)<<2)>>2]|0)+1024+(c[b+((s|512)<<2)>>2]|0)|0;s=(c[b+((s|768)<<2)>>2]|0)+1792|0;t=d[p>>0]|0;t=c[e+(t+v<<2)>>2]|c[e+(t+u<<2)>>2]|c[e+(t+s<<2)>>2];a[i>>0]=t;a[i+1>>0]=t>>>8;a[i+2>>0]=t>>>16;t=d[p+2>>0]|0;s=c[e+(t+v<<2)>>2]|c[e+(t+u<<2)>>2]|c[e+(t+s<<2)>>2];a[i+3>>0]=s;a[i+4>>0]=s>>>8;a[i+5>>0]=s>>>16;if(!m)break;else{n=n+4|0;o=o+4|0;p=p+4|0;i=i+6|0}}if(!j)break;else{g=g+r|0;f=f+r|0;i=q+(l*3|0)|0}}return}function lib(b,e,f,g,h,i,j,k,l){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;if(!j)return;if((k+1|0)>>>0<3)return;r=((k|0)/2|0)<<2;while(1){j=j+-1|0;q=i+(((k|0)/2|0)*12|0)|0;n=g;o=h;h=h+r|0;p=f;m=(k|0)/2|0;while(1){m=m+-1|0;w=d[n>>0]|0;v=(c[b+(w<<2)>>2]|0)+256|0;s=d[o>>0]|0;w=(c[b+((w|256)<<2)>>2]|0)+1024+(c[b+((s|512)<<2)>>2]|0)|0;s=(c[b+((s|768)<<2)>>2]|0)+1792|0;t=d[p>>0]|0;t=c[e+(t+w<<2)>>2]|c[e+(t+v<<2)>>2]|c[e+(t+s<<2)>>2];a[i+((((k<<1)+l|0)*3|0)+3)>>0]=t;a[i+(((k<<1)+l|0)*3|0)>>0]=t;a[i+3>>0]=t;a[i>>0]=t;a[i+((((k<<1)+l|0)*3|0)+4)>>0]=t>>>8;a[i+((((k<<1)+l|0)*3|0)+1)>>0]=t>>>8;a[i+4>>0]=t>>>8;a[i+1>>0]=t>>>8;a[i+((((k<<1)+l|0)*3|0)+5)>>0]=t>>>16;a[i+((((k<<1)+l|0)*3|0)+2)>>0]=t>>>16;a[i+5>>0]=t>>>16;a[i+2>>0]=t>>>16;t=i+6|0;u=d[p+2>>0]|0;s=c[e+(u+w<<2)>>2]|c[e+(u+v<<2)>>2]|c[e+(u+s<<2)>>2];a[t+((((k<<1)+l|0)*3|0)+3)>>0]=s;a[t+(((k<<1)+l|0)*3|0)>>0]=s;a[i+9>>0]=s;a[t>>0]=s;a[t+((((k<<1)+l|0)*3|0)+4)>>0]=s>>>8;a[t+((((k<<1)+l|0)*3|0)+1)>>0]=s>>>8;a[i+10>>0]=s>>>8;a[i+7>>0]=s>>>8;a[t+((((k<<1)+l|0)*3|0)+5)>>0]=s>>>16;a[t+((((k<<1)+l|0)*3|0)+2)>>0]=s>>>16;a[i+11>>0]=s>>>16;a[i+8>>0]=s>>>16;if(!m)break;else{n=n+4|0;o=o+4|0;p=p+4|0;i=i+12|0}}if(!j)break;else{g=g+r|0;f=f+r|0;i=q+(((k<<1)+l|0)*3|0)|0}}return}function mib(a,b,e,f,g,h,i,j,k){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;if((i|0)==0|(j+1|0)>>>0<3)return;q=((j|0)/2|0)<<2;while(1){i=i+-1|0;p=h+(((j|0)/2|0)<<1<<2)|0;m=f;n=g;g=g+q|0;o=e;l=(j|0)/2|0;while(1){l=l+-1|0;u=d[m>>0]|0;t=(c[a+(u<<2)>>2]|0)+256|0;r=d[n>>0]|0;u=(c[a+((u|256)<<2)>>2]|0)+1024+(c[a+((r|512)<<2)>>2]|0)|0;r=(c[a+((r|768)<<2)>>2]|0)+1792|0;s=d[o>>0]|0;c[h>>2]=c[b+(s+u<<2)>>2]|c[b+(s+t<<2)>>2]|c[b+(s+r<<2)>>2];s=d[o+2>>0]|0;c[h+4>>2]=c[b+(s+u<<2)>>2]|c[b+(s+t<<2)>>2]|c[b+(s+r<<2)>>2];if(!l)break;else{m=m+4|0;n=n+4|0;o=o+4|0;h=h+8|0}}if(!i)break;else{f=f+q|0;e=e+q|0;h=p+(k<<2)|0}}return}function nib(a,b,e,f,g,h,i,j,k){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;if(!i)return;if((j+1|0)>>>0<3)return;q=((j|0)/2|0)<<2;while(1){i=i+-1|0;p=h+(q<<2)|0;m=f;n=g;g=g+q|0;o=e;l=(j|0)/2|0;while(1){l=l+-1|0;v=d[m>>0]|0;u=(c[a+(v<<2)>>2]|0)+256|0;s=d[n>>0]|0;v=(c[a+((v|256)<<2)>>2]|0)+1024+(c[a+((s|512)<<2)>>2]|0)|0;s=(c[a+((s|768)<<2)>>2]|0)+1792|0;r=d[o>>0]|0;r=c[b+(r+v<<2)>>2]|c[b+(r+u<<2)>>2]|c[b+(r+s<<2)>>2];c[h+((j<<1)+k+1<<2)>>2]=r;c[h+((j<<1)+k<<2)>>2]=r;c[h+4>>2]=r;c[h>>2]=r;r=h+8|0;t=d[o+2>>0]|0;s=c[b+(t+v<<2)>>2]|c[b+(t+u<<2)>>2]|c[b+(t+s<<2)>>2];c[r+((j<<1)+k+1<<2)>>2]=s;c[r+((j<<1)+k<<2)>>2]=s;c[h+12>>2]=s;c[r>>2]=s;if(!l)break;else{m=m+4|0;n=n+4|0;o=o+4|0;h=h+16|0}}if(!i)break;else{f=f+q|0;e=e+q|0;h=p+((j<<1)+k<<2)|0}}return}function oib(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;h=i;i=i+32|0;if(a|0)if((c[a>>2]|0)==1275905){if((c[a+8>>2]|0)!=1){i=h;return}d=c[a+36>>2]|0;if(c[a+40>>2]|0){c[h+28>>2]=0;c[h+24>>2]=0;c[h+8>>2]=0;c[h+8+4>>2]=0;c[h+8+8>>2]=c[a+12>>2];c[h+8+12>>2]=c[a+16>>2];if((_hb(d,h+8|0,h+28|0,h+24|0)|0)>=0){aib(c[a+40>>2]|0,h+8|0,c[d+4>>2]|0,c[h+8+8>>2]|0,c[h+8+12>>2]|0,c[h+28>>2]|0,c[h+24>>2]|0)|0;oib(d)}i=h;return}if(!d){g=c[a+32>>2]|0;si[c[g+40>>2]&511](g,a);i=h;return}c[h+28>>2]=0;c[h+24>>2]=0;e=c[a+48>>2]|0;f=(c[a+44>>2]|0)+(_(e,c[a+56>>2]|0)|0)|0;g=c[a+52>>2]|0;b=c[a+4>>2]|0;a:do if((b|0)==0|(b&-268435456|0)==268435456)b=b&255;else{if((b|0)<1498831189)switch(b|0){case 844715353:{b=2;break a}default:{}}else switch(b|0){case 1498831189:{b=2;break a}default:{}}b=(b|0)==1431918169?2:1}while(0);if((_hb(d,a+52|0,h+28|0,h+24|0)|0)>=0){g=f+(_(b,g)|0)|0;P8a(c[a+60>>2]|0,c[a+64>>2]|0,c[a+4>>2]|0,g,e,c[d+4>>2]|0,c[h+28>>2]|0,c[h+24>>2]|0)|0;oib(d)}i=h;return}l6a(594848,h)|0;i=h;return}function pib(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0,j=0,k=0,l=0.0,m=0.0;k=i;i=i+80|0;c[k+64>>2]=0;c[k+64+4>>2]=0;c[k+64+8>>2]=0;c[k+64+12>>2]=0;c[k+48>>2]=0;c[k+48+4>>2]=0;c[k+48+8>>2]=0;c[k+48+12>>2]=0;if(a|0)if((c[a>>2]|0)==1275904){if(b|0)if((c[b>>2]|0)==1275905){if((c[b+32>>2]|0)!=(a|0)){b=l6a(606800,k+16|0)|0;i=k;return b|0}c[k+64>>2]=0;c[k+64+4>>2]=0;c[k+64+8>>2]=c[b+12>>2];c[k+64+12>>2]=c[b+16>>2];if(!d)j=13;else{if(!(E7a(d,k+64|0,k+64|0)|0)){b=0;i=k;return b|0}if((c[a>>2]|0)==1275904)j=13;else{l6a(594831,k+24|0)|0;f=k+48+4|0;h=k+48|0}}if((j|0)==13){m=+g[a+284>>2];c[k+48>>2]=~~(+(c[a+212>>2]|0)/m);l=+g[a+288>>2];c[k+48+4>>2]=~~(+(c[a+216>>2]|0)/l);c[k+48+8>>2]=~~(+(c[a+220>>2]|0)/m);c[k+48+12>>2]=~~(+(c[a+224>>2]|0)/l);f=k+48+4|0;h=k+48|0}c[h>>2]=0;c[f>>2]=0;do if(e|0)if(!(qib(e,k+48|0)|0)){b=0;i=k;return b|0}else{c[k+48>>2]=c[e>>2];c[k+48+4>>2]=c[e+4>>2];c[k+48+8>>2]=c[e+8>>2];c[k+48+12>>2]=c[e+12>>2];break}while(0);d=c[b+36>>2]|0;if(c[a+192>>2]|0){b=0;i=k;return b|0}l=+g[a+284>>2];g[k+32>>2]=+(c[h>>2]|0)*l;m=+g[a+288>>2];g[k+32+4>>2]=+(c[f>>2]|0)*m;g[k+32+8>>2]=+(c[k+48+8>>2]|0)*l;g[k+32+12>>2]=+(c[k+48+12>>2]|0)*m;b=cj[c[a+72>>2]&127](a,(d|0)==0?b:d,k+64|0,k+32|0)|0;i=k;return b|0}l6a(594848,k+8|0)|0;b=-1;i=k;return b|0}l6a(594831,k)|0;b=-1;i=k;return b|0}function qib(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0;h=i;i=i+16|0;do if(!a){c[h>>2]=594091;l6a(608461,h)|0;d=0}else{if(!b){c[h+8>>2]=594093;l6a(608461,h+8|0)|0;d=0;break}e=c[a+8>>2]|0;if((e|0)<1)d=0;else{f=c[a+12>>2]|0;if((f|0)<1)d=0;else{g=c[b+8>>2]|0;if((g|0)<1)d=0;else{d=c[b+12>>2]|0;if((d|0)<1)d=0;else{j=c[a>>2]|0;k=c[b>>2]|0;if((((g+k|0)<(e+j|0)?g+k|0:e+j|0)|0)>(((k|0)>(j|0)?k:j)|0)){k=c[a+4>>2]|0;j=c[b+4>>2]|0;d=(((d+j|0)<(f+k|0)?d+j|0:f+k|0)|0)>(((j|0)>(k|0)?j:k)|0)&1}else d=0}}}}}while(0);i=h;return d|0}function rib(a){a=a|0;var b=0;b=i;i=i+16|0;if(a|0)if((c[a>>2]|0)==1275904){if(c[a+192>>2]|0){i=b;return}Hi[c[a+84>>2]&1023](a);i=b;return}l6a(594831,b)|0;i=b;return}function sib(a,b){a=a|0;b=b|0;b=cgb(b,606585,0)|0;if(!b)return;a=c[b+4>>2]|0;if(a|0)Rhb(a);a=c[b>>2]|0;if(a|0)Qhb(a);L7a(c[b+8>>2]|0);L7a(b);return}function tib(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;g=i;i=i+16|0;if(uib(16)|0)thb();B6a(1201576,0,112)|0;B6a(1201900,0,64)|0;a:do if(!a){e=q7a(607403)|0;if(!e){a=0;b=0;while(1){if((a|0)==3){a=e;d=(e|0)==0;f=14;break a}while(1){d=c[139396+(a<<2)>>2]|0;if(!(c[d+12>>2]|0))break;a=a+1|0;if((a|0)==3){a=e;d=(e|0)==0;f=14;break a}}B6a(1201576,0,112)|0;c[300394]=c[d>>2];c[300395]=c[d+4>>2];if(!(vi[c[d+8>>2]&2047](1201584)|0)){a=a+1|0;b=1}else break}}else{a=e;f=5}}else f=5;while(0);b:do if((f|0)==5){b=0;e=0;while(1){if((b|0)==3){d=0;b=e;f=14;break b}while(1){d=c[139396+(b<<2)>>2]|0;h=c[d>>2]|0;if(!(Chb(h,a,t6a(a)|0)|0))break;b=b+1|0;if((b|0)==3){d=0;b=e;f=14;break b}}B6a(1201576,0,112)|0;c[300394]=c[d>>2];c[300395]=c[d+4>>2];if(!(vi[c[d+8>>2]&2047](1201584)|0)){b=b+1|0;e=1}else break}}while(0);if((f|0)==14){do if(!b)if(d){l6a(607451,g+8|0)|0;break}else{c[g>>2]=a;l6a(607419,g)|0;break}while(0);B6a(1201576,0,112)|0;h=-1;i=g;return h|0}c[300415]=Jgb()|0;a=c[300396]|0;if(!a){c[300396]=6;a=6}if(!(c[300397]|0))c[300397]=111;if(!(c[300398]|0))c[300398]=754;if(!(c[300399]|0))c[300399]=755;if(!(c[300400]|0))c[300400]=756;if(!(c[300401]|0))c[300401]=1563;if(!(c[300402]|0))c[300402]=1564;if(!(c[300403]|0))c[300403]=757;if(!(c[300404]|0))c[300404]=758;if(!(c[300405]|0))c[300405]=759;if(!(c[300406]|0))c[300406]=760;if(!(c[300407]|0))c[300407]=761;if(!(c[300408]|0))c[300408]=7;gj[a&15]();h=0;i=g;return h|0}function uib(b){b=b|0;var c=0,d=0,e=0;b=(b|0)==0?29233:b;e=aa(b|0)|0;if(e>>>0>31){e=0;return e|0}c=b;d=0;b=0;while(1){if(c&1)if(a[1276930+d>>0]|0)b=b|1<>>1}return b|0}function vib(){Agb(0,607477,1);if(!(c[300411]|0))return;Agb(1,607504,2);return}function wib(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return k7a(4)|0}function xib(a){a=a|0;return}function yib(a){a=a|0;return}function zib(a){a=a|0;return}function Aib(a){a=a|0;return 0}function Bib(a){a=a|0;return 0}function Cib(a){a=a|0;return}function Dib(a){a=a|0;return}function Eib(a){a=a|0;var b=0;if(c[a+160>>2]|0){b=e8a()|0;if((b|0)==(c[a+164>>2]|0))return}return}function Fib(a){a=a|0;var b=0;if(c[a+160>>2]|0){b=e8a()|0;if((b|0)==(c[a+164>>2]|0))return}return}function Gib(a){a=a|0;return}function Hib(){return}function Iib(){var a=0;Kib(607532,53,0);if((Dgb(16384)|0)<0){a=-1;return a|0}a=Lib()|0;a=(a|0)<0?a:0;return a|0}function Jib(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0;if(!f)g=3;else if((a[f>>0]|0)==49)f=1;else g=3;if((g|0)==3)f=0;c[300492]=f;return}function Kib(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0;l=i;i=i+16|0;if(b|0)if(a[b>>0]|0){if(!d){c[l+8>>2]=607574;l6a(608461,l+8|0)|0;i=l;return}f=c[299742]|0;a:do if(f|0){while(1){if(!(r7a(b,c[f>>2]|0)|0))break;f=c[f+16>>2]|0;if(!f)break a}g=c[f+12>>2]|0;if(g|0){h=0;while(1){if((c[g>>2]|0)==(d|0))if((c[g+4>>2]|0)==(e|0)){j=h;break}h=c[g+8>>2]|0;if(!h)break a;else{j=g;g=h;h=j}}h=c[g+8>>2]|0;if(!j)c[f+12>>2]=h;else c[j+8>>2]=h;L7a(g)}}while(0);g=c7a(12)|0;if(!g){k7a(0)|0;i=l;return}c[g>>2]=d;c[g+4>>2]=e;f=c[299742]|0;b:do if(!f)k=22;else while(1){if(!(r7a(b,c[f>>2]|0)|0))break b;f=c[f+16>>2]|0;if(!f){k=22;break}}while(0);do if((k|0)==22){f=c7a(20)|0;if(f|0){c[f>>2]=peb(b)|0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;c[f+16>>2]=c[299742];c[299742]=f;break}k7a(0)|0;L7a(g);i=l;return}while(0);f=f+12|0;c[g+8>>2]=c[f>>2];c[f>>2]=g;f=q7a(b)|0;g=c[299742]|0;c:do if(g){while(1){if(!(r7a(b,c[g>>2]|0)|0))break;g=c[g+16>>2]|0;if(!g)break c}if(f|0)if((c[g+8>>2]|0)!=2)break;f=c[g+4>>2]|0}while(0);kj[d&127](e,b,f,f);i=l;return}c[l>>2]=607569;l6a(608461,l)|0;i=l;return}function Lib(){var a=0,b=0,d=0;d=i;i=i+1456|0;c[300469]=0;a=of()|0;if((a|0)==-1){b=l6a(607583,d+1432|0)|0;i=d;return b|0}if((a|0)>0){b=0;do{if(!(Vb(b|0,d|0)|0))Mib(0,d,0)|0;b=b+1|0}while((b|0)!=(a|0))}if(Oh(0,0,177)|0){a=c[300470]|0;if(a|0)do{b=a;a=c[a+1320>>2]|0;L7a(c[b+8>>2]|0);L7a(c[b+4>>2]|0);L7a(b)}while((a|0)!=0);c[300473]=0;c[300470]=0;c[300469]=0;c[300474]=0;Oh(0,0,0)|0;zf(0,0,0)|0;b=l6a(607606,d+1440|0)|0;i=d;return b|0}if(!(zf(0,0,178)|0)){b=0;i=d;return b|0}a=c[300470]|0;if(a|0)do{b=a;a=c[a+1320>>2]|0;L7a(c[b+8>>2]|0);L7a(c[b+4>>2]|0);L7a(b)}while((a|0)!=0);c[300473]=0;c[300470]=0;c[300469]=0;c[300474]=0;Oh(0,0,0)|0;zf(0,0,0)|0;b=l6a(607645,d+1448|0)|0;i=d;return b|0}function Mib(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;e=i;i=i+64|0;d=c[b+1300>>2]|0;a:do if((d|0)>=0){a=c[300470]|0;if(a|0){while(1){if((c[a>>2]|0)==(d|0))break;a=c[a+1320>>2]|0;if(!a)break a}i=e;return 1}}while(0);d=c7a(1328)|0;do if(d|0){B6a(d,0,1328)|0;c[d>>2]=c[b+1300>>2];a=peb(b+1304|0)|0;c[d+4>>2]=a;if(!a){L7a(d);break}a=peb(b+1368|0)|0;c[d+8>>2]=a;if(!a){L7a(c[d+4>>2]|0);L7a(d);break}f=c[b+8>>2]|0;c[d+24>>2]=f;a=c[b+12>>2]|0;c[d+20>>2]=a;g=c[300474]|0;c[300474]=g+1;c[d+12>>2]=g;h[d+32>>3]=+h[b>>3];if((f|0)>0){a=0;do{h[d+40+(a<<3)>>3]=+h[b+16+(a<<3)>>3];a=a+1|0}while((a|0)<(c[d+24>>2]|0));a=c[d+20>>2]|0}if((a|0)>0){a=0;do{h[d+552+(a<<3)>>3]=+h[b+528+(a<<3)>>3];c[d+1064+(a<<2)>>2]=c[b+1040+(a<<2)>>2];a=a+1|0}while((a|0)<(c[d+20>>2]|0))}a=c[300473]|0;if(!a){c[300473]=d;c[300470]=d}else{c[a+1320>>2]=d;c[300473]=d}c[300469]=(c[300469]|0)+1;c[e>>2]=1541;if((X6a(1541,-1)|0)<<24>>24==1){c[e+8>>2]=(c[300469]|0)+-1;if(0)if(!(ba(0,e|0)|0))break;$6a(e)|0}}while(0);i=e;return 1}function Nib(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;f=i;i=i+64|0;a=c[300470]|0;if(!a){i=f;return 1}b=c[b+1300>>2]|0;d=0;while(1){if((c[a>>2]|0)==(b|0)){b=a;break}d=c[a+1320>>2]|0;if(!d){e=17;break}else{g=a;a=d;d=g}}if((e|0)==17){i=f;return 1}a=c[b+16>>2]|0;if(a|0)c[a+40>>2]=0;a=c[b+1320>>2]|0;if(!d)c[300470]=a;else c[d+1320>>2]=a;if((b|0)==(c[300473]|0))c[300473]=d;c[300469]=(c[300469]|0)+-1;c[f>>2]=1542;do if((X6a(1542,-1)|0)<<24>>24==1){c[f+8>>2]=c[b+12>>2];if(0)if(!(ba(0,f|0)|0))break;$6a(f)|0}while(0);L7a(c[b+4>>2]|0);L7a(c[b+8>>2]|0);L7a(b);i=f;return 1}function Oib(){var b=0,d=0,e=0,f=0;f=i;i=i+64|0;c[300466]=0;Pib(607687)|0;b=p7a(608331)|0;if(b|0)if(a[b>>0]|0){d=t6a(b)|0;e=c7a(d+1|0)|0;l7a(e,b,d)|0;a[e+d>>0]=0;if(e|0){b=Qib(e,10)|0;if(!b)b=e;else{d=e;do{a[b>>0]=0;Pib(d)|0;d=b+1|0;b=Qib(d,10)|0}while((b|0)!=0);b=d}Pib(b)|0}L7a(e)}Ohb(392,0);if((Wib()|0)<=0){i=f;return 0}b=0;do{if(jhb(b)|0){c[f>>2]=1619;c[f+8>>2]=b;$6a(f)|0}b=b+1|0}while((b|0)<(Wib()|0));i=f;return 0}function Pib(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+160|0;if(!b){c[p+72>>2]=607937;o=l6a(608461,p+72|0)|0;i=p;return o|0}d=Qib(b,44)|0;do if(d|0){e=c7a(d-b+1|0)|0;if(!e){k7a(0)|0;break}l7a(e,b,d-b|0)|0;a[e+(d-b)>>0]=0;m=(w8a(e,607979)|0)==0;n=(w8a(e,607986)|0)==0;Rib(p+104|0,e);j=p+120|0;k=p+104|0;l=j+16|0;do{a[j>>0]=a[k>>0]|0;j=j+1|0;k=k+1|0}while((j|0)<(l|0));L7a(e);j=p;k=p+120|0;l=j+16|0;do{a[j>>0]=a[k>>0]|0;j=j+1|0;k=k+1|0}while((j|0)<(l|0));d=Qib(b,44)|0;a:do if(!d)o=11;else{e=Qib(d+1|0,44)|0;if(!e)o=11;else{f=c7a(e-d|0)|0;if(!f){k7a(0)|0;o=11;break}l7a(f,d+1|0,e-d|0)|0;a[f+(e-d+-1)>>0]=0;d=Qib(b,44)|0;if(d|0){d=Qib(d+1|0,44)|0;if(d|0){e=peb(d+1|0)|0;if(e|0){d=c[300466]|0;b:do if(!d)o=25;else{while(1){if(!(H6a(p,d,16)|0)){h=d;break}d=c[d+24>>2]|0;if(!d){o=25;break b}}L7a(c[d+16>>2]|0);c[d+16>>2]=f;L7a(c[d+20>>2]|0);c[d+20>>2]=e;e=c[300465]|0;if(!e){o=0;i=p;return o|0}do{b=e+12|0;if(!(H6a(b,h,16)|0)){c[p+16>>2]=1621;c[p+16+8>>2]=c[c[e>>2]>>2];$6a(p+16|0)|0;f=c[d+16>>2]|0;g=c[d+20>>2]|0;j=p+136|0;k=d;l=j+16|0;do{a[j>>0]=a[k>>0]|0;j=j+1|0;k=k+1|0}while((j|0)<(l|0));Sib(b,p+136|0,f,g)}e=c[e+896>>2]|0}while((e|0)!=0);e=1}while(0);do if((o|0)==25){d=c7a(28)|0;if(!d){L7a(f);L7a(e);k7a(0)|0;break a}else{j=d;k=p;l=j+16|0;do{a[j>>0]=a[k>>0]|0;j=j+1|0;k=k+1|0}while((j|0)<(l|0));c[d+16>>2]=f;c[d+20>>2]=e;c[d+24>>2]=c[300466];c[300466]=d;e=0;break}}while(0);if(!d){o=-1;i=p;return o|0}if(e|0){o=0;i=p;return o|0}if(m)c[300472]=d;if(!n){o=1;i=p;return o|0}c[300471]=d;o=1;i=p;return o|0}}}L7a(f);c[p+96>>2]=b;l6a(608025,p+96|0)|0}}while(0);if((o|0)==11){c[p+88>>2]=b;l6a(607997,p+88|0)|0}o=-1;i=p;return o|0}while(0);c[p+80>>2]=b;o=l6a(607951,p+80|0)|0;i=p;return o|0}function Qib(a,b){a=a|0;b=b|0;return Unb(a,b)|0}function Rib(b,c){b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0;j=i;i=i+16|0;f=(t6a(c)|0)&-2;B6a(j,0,16)|0;a:do if(f|0){g=0;h=j;while(1){if((h-j|0)>=16)break a;d=a[c+g>>0]|0;do if((d+-48&255)<10)d=(d<<24>>24)+208|0;else if((d+-65&255)<6){d=(d<<24>>24)+201|0;break}else{d=(d+-97&255)<6?(d<<24>>24)+169|0:0;break}while(0);e=d<<4;d=a[c+(g|1)>>0]|0;do if((d+-48&255)<10)d=(d<<24>>24)+208|0;else if((d+-65&255)<6){d=(d<<24>>24)+201|0;break}else{d=(d+-97&255)<6?(d<<24>>24)+169|0:0;break}while(0);a[h>>0]=d|e;g=g+2|0;if(g>>>0>=f>>>0)break;else h=h+1|0}}while(0);d=j;e=b+16|0;do{a[b>>0]=a[d>>0]|0;b=b+1|0;d=d+1|0}while((b|0)<(e|0));i=j;return}function Sib(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0;j=i;i=i+64|0;h=b;g=h+16|0;do{a[h>>0]=a[d>>0]|0;h=h+1|0;d=d+1|0}while((h|0)<(g|0));c[b+16>>2]=e;c[b+196>>2]=-1;c[b+204>>2]=-1;c[b+212>>2]=-1;c[b+220>>2]=-1;c[b+228>>2]=-1;c[b+236>>2]=-1;c[b+244>>2]=-1;c[b+252>>2]=-1;c[b+260>>2]=-1;c[b+268>>2]=-1;c[b+276>>2]=-1;c[b+284>>2]=-1;c[b+292>>2]=-1;c[b+300>>2]=-1;hBb(b+20|0,-1,172)|0;d=0;do{c[b+308+(d<<2)>>2]=-1;c[b+388+(d<<2)>>2]=-1;c[b+468+(d<<2)>>2]=-1;c[b+548+(d<<2)>>2]=-1;d=d+1|0}while((d|0)!=20);hBb(b+628|0,-1,256)|0;B6a(j+32|0,0,20)|0;B6a(j+12|0,0,20)|0;a:do if(f|0){d=1;g=0;b:while(1){e=a[f>>0]|0;c:do switch(e<<24>>24){case 0:break a;case 58:{d=0;g=0;break}default:{switch(e<<24>>24){case 32:break c;case 44:{Tib(j+32|0,j+12|0,b);B6a(j+32|0,0,20)|0;B6a(j+12|0,0,20)|0;d=1;g=0;break c}default:{}}h=g>>>0>19;if(!d){if(h){d=12;break b}a[j+12+g>>0]=e;d=0;g=g+1|0;break c}else{if(h){d=9;break b}a[j+32+g>>0]=e;g=g+1|0;break c}}}while(0);f=f+1|0}if((d|0)==9){c[j>>2]=j+32;l6a(608270,j)|0;i=j;return}else if((d|0)==12){c[j+8>>2]=j+12;l6a(608296,j+8|0)|0;i=j;return}}while(0);Tib(j+32|0,j+12|0,b);i=j;return}function Tib(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0;j=i;i=i+32|0;h=Uib(b)|0;b=Vib(b)|0;g=tgb(d+1|0)|0;switch(a[d>>0]|0){case 97:{if((g|0)>19){c[j>>2]=g;l6a(608194,j)|0;i=j;return}if((b|0)!=-1){c[e+20+(b<<2)>>2]=g;c[e+308+(g<<2)>>2]=b;i=j;return}if((h|0)==-1){i=j;return}c[e+128+(h<<2)>>2]=g;c[e+548+(g<<2)>>2]=h;i=j;return}case 98:{if((g|0)>19){c[j+8>>2]=g;l6a(608219,j+8|0)|0;i=j;return}if((h|0)!=-1){c[e+68+(h<<2)>>2]=g;c[e+468+(g<<2)>>2]=h;i=j;return}if((b|0)==-1){i=j;return}c[e+44+(b<<2)>>2]=g;c[e+388+(g<<2)>>2]=b;i=j;return}case 104:{f=tgb(d+1|0)|0;b=tgb(d+3|0)|0;if((f|0)>3){c[j+16>>2]=g;l6a(608246,j+16|0)|0}if((h|0)==-1){i=j;return}c[e+188+(h<<3)>>2]=f;a[e+188+(h<<3)+4>>0]=b;c[e+628+((f<<4|b)<<2)>>2]=h;i=j;return}default:{i=j;return}}}function Uib(b){b=b|0;if(!b)b=-1;else if(!(a[b>>0]|0))b=-1;else if(!(w8a(b,608043)|0))b=0;else if(!(w8a(b,608045)|0))b=1;else if(!(w8a(b,608047)|0))b=2;else if(!(w8a(b,608049)|0))b=3;else if(!(w8a(b,608051)|0))b=4;else if(!(w8a(b,608056)|0))b=5;else if(!(w8a(b,608062)|0))b=6;else if(!(w8a(b,608068)|0))b=7;else if(!(w8a(b,608078)|0))b=8;else if(!(w8a(b,608089)|0))b=9;else if(!(w8a(b,608102)|0))b=10;else if(!(w8a(b,608116)|0))b=11;else if(!(w8a(b,608121)|0))b=12;else if(!(w8a(b,608128)|0))b=13;else{b=(w8a(b,608135)|0)==0;return (b?14:-1)|0}return b|0}function Vib(b){b=b|0;if(!b){b=-1;return b|0}if(!(a[b>>0]|0)){b=-1;return b|0}if(!(w8a(b,608143)|0)){b=0;return b|0}if(!(w8a(b,608149)|0)){b=1;return b|0}if(!(w8a(b,608155)|0)){b=2;return b|0}if(!(w8a(b,608162)|0)){b=3;return b|0}if(!(w8a(b,608169)|0)){b=4;return b|0}else{b=(w8a(b,608181)|0)==0;return (b?5:-1)|0}return 0}function Wib(){return lhb()|0}function Xib(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;b=c[299450]|0;if(!b){l6a(593111,e)|0;i=e;return}if(a|0)if((c[a>>2]|0)==(b+256|0)){if(c[a+48>>2]&64|0){i=e;return}x6a(a,0)|0;b=c[299450]|0;d=c[b+76>>2]|0;if(!d){i=e;return}si[d&511](b,a);i=e;return}l6a(606608,e+8|0)|0;i=e;return}function Yib(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0;l=i;i=i+48|0;if(!a){c[l>>2]=608407;k=l6a(608461,l)|0;i=l;return k|0}k=Peb()|0;do if(k|0){d=c[299450]|0;if(!d){l6a(593111,l+8|0)|0;j=0;break}if((c[k>>2]|0)==(d+256|0)){j=(c[k+48>>2]&16384|0)!=0;break}else{l6a(606608,l+16|0)|0;j=0;break}}else j=0;while(0);g=Zib()|0;Oeb(0)|0;ahb(0)|0;h=_ib(1)|0;$eb();e=(b|0)==0?l+44|0:b;d=c[299450]|0;if(!d)f=12;else{b=c[d+228>>2]|0;if(!b)f=12;else{d=Gi[b&255](d,a,e)|0;if((d|0)==-1)f=12}}if((f|0)==12){l6a(608422,l+24|0)|0;d=-1}if(k|0){b=c[299450]|0;do if(!b)l6a(593111,l+32|0)|0;else{if((c[k>>2]|0)!=(b+256|0)){l6a(606608,l+40|0)|0;break}if(c[k+48>>2]&4|0){e=c[b+68>>2]|0;if(e|0)si[e&511](b,k)}}while(0);if(j)Oeb(1)|0}_ib(h)|0;ahb(g)|0;k=d;i=l;return k|0}function Zib(){return c[299470]|0}function _ib(a){a=a|0;var b=0,d=0,e=0;d=c[299477]|0;if((a|0)<=-1)return d|0;c[299477]=(a|0)!=0&1;if(((a|0)!=0|0)==(d|0))return d|0;b=(c[299462]|0)==0?c[299475]|0:c[299476]|0;e=c[299453]|0;if((b|0)!=0&(a|0)!=0&(c[299470]|0)==0){if(!e)return d|0;vi[e&2047](b)|0;return d|0}else{if(!e)return d|0;vi[e&2047](0)|0;return d|0}return 0}function $ib(b){b=b|0;a[b>>0]=2;a[b+1>>0]=0;a[b+2>>0]=4;return}function ajb(){return 608450}function bjb(){var a=0;a=c[300493]|0;if(a|0)return a|0;c[300493]=1;a=1;return a|0}function cjb(){var a=0;a=Qeb()|0;if(a|0)Hi[c[a+180>>2]&1023](a);if(c[299485]|0)if(!(djb(-1)|0)){jjb();return}ejb();jjb();return}function djb(a){a=a|0;var b=0;if((a|0)==-1)b=0;else{X6a(1536,a)|0;X6a(1537,a)|0;X6a(1538,a)|0;X6a(1539,a)|0;X6a(1540,a)|0;X6a(1541,a)|0;X6a(1542,a)|0;b=a;return b|0}do{a=X6a(c[139412+(b<<2)>>2]|0,-1)|0;b=b+1|0}while(a<<24>>24!=1&b>>>0<7);b=a&255;return b|0}function ejb(){var d=0,e=0,f=0,g=0,h=0,j=0,k=0;k=i;i=i+64|0;d=c[300468]|0;if(!d){i=k;return}do{j=d;d=c[d+56>>2]|0;c[300467]=j;fjb(j);if(c[j+48>>2]|0){e=c[j+8>>2]|0;if((e|0)>0){h=0;do{f=h&255;g=h&255;if((g|0)<(e|0))if(b[(c[j+12>>2]|0)+(g<<1)>>1]|0){if(!(c[300492]|0))uib(32)|0;b[(c[j+12>>2]|0)+(g<<1)>>1]=0;if((X6a(1536,-1)|0)<<24>>24==1){c[k>>2]=1536;c[k+8>>2]=c[j>>2];a[k+12>>0]=f;b[k+16>>1]=0;$6a(k)|0}}h=h+1|0;e=c[j+8>>2]|0}while((h|0)<(e|0))}if((c[j+32>>2]|0)>0){g=0;do{e=g&255;c[k>>2]=1540;f=g&255;if((f|0)<(c[j+32>>2]|0))if(a[(c[j+36>>2]|0)+f>>0]|0){if(!(c[300492]|0))uib(32)|0;a[(c[j+36>>2]|0)+f>>0]=0;if((X6a(c[k>>2]|0,-1)|0)<<24>>24==1){c[k+8>>2]=c[j>>2];a[k+12>>0]=e;a[k+13>>0]=0;$6a(k)|0}}g=g+1|0}while((g|0)<(c[j+32>>2]|0))}e=c[j+16>>2]|0;if((e|0)>0){h=0;do{f=h&255;g=h&255;if((g|0)<(e|0))if(a[(c[j+20>>2]|0)+g>>0]|0){if(!(c[300492]|0))uib(32)|0;a[(c[j+20>>2]|0)+g>>0]=0;if((X6a(1538,-1)|0)<<24>>24==1){c[k>>2]=1538;c[k+8>>2]=c[j>>2];a[k+12>>0]=f;a[k+13>>0]=0;$6a(k)|0}}h=h+1|0;e=c[j+16>>2]|0}while((h|0)<(e|0))}c[j+48>>2]=0}c[300467]=0;if((c[j+44>>2]|0)<1)ghb(j)}while((d|0)!=0);i=k;return}function fjb(a){a=a|0;var b=0.0,d=0,e=0,f=0,g=0,j=0,k=0;k=i;i=i+1440|0;j=c[a+40>>2]|0;if(!j){i=k;return}if(Vb(c[j>>2]|0,k|0)|0){i=k;return}b=+h[k>>3];if(!(b==0.0))if(!(b!=+h[j+32>>3])){i=k;return}if((c[j+20>>2]|0)>0){g=0;do{f=j+1064+(g<<2)|0;a=c[f>>2]|0;d=k+1040+(g<<2)|0;e=c[d>>2]|0;if((a|0)!=(e|0)){gjb(c[j+16>>2]|0,g&255,(e|0)!=0&1)|0;a=c[d>>2]|0}h[j+552+(g<<3)>>3]=+h[k+528+(g<<3)>>3];c[f>>2]=a;g=g+1|0}while((g|0)<(c[j+20>>2]|0))}if((c[j+24>>2]|0)>0){e=0;do{d=j+40+(e<<3)|0;a=k+16+(e<<3)|0;b=+h[a>>3];if(+h[d>>3]!=b){hjb(c[j+16>>2]|0,e&255,~~(b*32767.0))|0;b=+h[a>>3]}h[d>>3]=b;e=e+1|0}while((e|0)<(c[j+24>>2]|0))}h[j+32>>3]=+h[k>>3];i=k;return}function gjb(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+64|0;switch(e&255|0){case 1:{c[f>>2]=1539;break}case 0:{c[f>>2]=1540;break}default:{e=0;i=f;return e|0}}if((d&255|0)>=(c[b+32>>2]|0)){e=0;i=f;return e|0}if((a[(c[b+36>>2]|0)+(d&255)>>0]|0)==e<<24>>24){e=0;i=f;return e|0}if(!(c[300492]|0))if(uib(32)|0)if(e<<24>>24==1&(Peb()|0)==0){e=0;i=f;return e|0}a[(c[b+36>>2]|0)+(d&255)>>0]=e;if((X6a(c[f>>2]|0,-1)|0)<<24>>24!=1){e=0;i=f;return e|0}c[f+8>>2]=c[b>>2];a[f+12>>0]=d;a[f+13>>0]=e;e=($6a(f)|0)==1&1;i=f;return e|0}function hjb(d,e,f){d=d|0;e=e|0;f=f|0;var g=0;g=i;i=i+64|0;if((e&255|0)>=(c[d+8>>2]|0)){f=0;i=g;return f|0}if((b[(c[d+12>>2]|0)+((e&255)<<1)>>1]|0)==f<<16>>16){f=0;i=g;return f|0}do if(!(c[300492]|0))if(uib(32)|0)if(!(Peb()|0)){if(f<<16>>16>0){if((b[(c[d+12>>2]|0)+((e&255)<<1)>>1]|0)>f<<16>>16)break;else e=0;i=g;return e|0}if(f<<16>>16<0)if((b[(c[d+12>>2]|0)+((e&255)<<1)>>1]|0)>=f<<16>>16){f=0;i=g;return f|0}}while(0);b[(c[d+12>>2]|0)+((e&255)<<1)>>1]=f;if((X6a(1536,-1)|0)<<24>>24!=1){f=0;i=g;return f|0}c[g>>2]=1536;c[g+8>>2]=c[d>>2];a[g+12>>0]=e;b[g+16>>1]=f;f=($6a(g)|0)==1&1;i=g;return f|0}function ijb(){return}function jjb(){if(!(c[299743]|0))return;c[299743]=0;x7a(256)|0;return}function kjb(a){a=a|0;var b=0,d=0;a:while(1){b=Qeb()|0;if(b|0)Hi[c[b+180>>2]&1023](b);if(!(c[299485]|0))d=6;else if(djb(-1)|0)d=6;if((d|0)==6){d=0;ejb()}jjb();switch(b7a(a,1,2,0,65535)|0){case 1:break a;case 0:case -1:{b=0;d=9;break a}default:{}}}if((d|0)==9)return b|0;d=1;return d|0}function ljb(a){a=a|0;var b=0,d=0;a:while(1){b=Qeb()|0;if(b|0)Hi[c[b+180>>2]&1023](b);if(!(c[299485]|0))d=6;else if(djb(-1)|0)d=6;if((d|0)==6){d=0;ejb()}jjb();switch(b7a(a,1,2,0,65535)|0){case 1:break a;case -1:{b=0;d=10;break a}case 0:break;default:continue a}g8a(10)}if((d|0)==10)return b|0;d=1;return d|0}function mjb(a){a=a|0;if(a|0)c[a>>2]=512;return 1198994}function njb(a){a=a|0;var b=0;b=i;i=i+16|0;if(a>>>0>511){c[b>>2]=608487;l6a(608461,b)|0;a=0;i=b;return a|0}else{a=c[1199508+(a<<2)>>2]|0;i=b;return a|0}return 0}function ojb(a){a=a|0;var b=0;b=0;while(1){if((c[1199508+(b<<2)>>2]|0)==(a|0)){a=4;break}b=b+1|0;if(b>>>0>=512){b=0;a=4;break}}if((a|0)==4)return b|0;return 0}function pjb(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;do if(!a)if(!(c[299462]|0)){a=c[299475]|0;break}else{a=c[299476]|0;break}else{if((c[299475]|0)!=(a|0)){d=1197896;do{d=c[d>>2]|0;b=(d|0)!=0}while(!((d|0)==(a|0)|b^1));if(!b){l6a(608496,e)|0;i=e;return}}c[299476]=a}while(0);b=c[299453]|0;if((a|0)!=0&(c[299477]|0)!=0&(c[299470]|0)==0){if(!b){i=e;return}vi[b&2047](a)|0;i=e;return}else{if(!b){i=e;return}vi[b&2047](0)|0;i=e;return}}function qjb(a){a=a|0;var b=0,d=0,e=0,f=0;if(!a)return;b=c[299475]|0;if((b|0)==(a|0))return;do if((c[299476]|0)==(a|0)){if(!b)b=(c[299462]|0)==0?0:a;else c[299476]=b;d=c[299453]|0;if((b|0)!=0&(c[299477]|0)!=0&(c[299470]|0)==0){if(!d)break;vi[d&2047](b)|0;break}else{if(!d)break;vi[d&2047](0)|0;break}}while(0);b=c[299474]|0;if(!b)return;else d=0;while(1){if((b|0)==(a|0))break;d=c[b>>2]|0;if(!d){e=20;break}else{f=b;b=d;d=f}}if((e|0)==20)return;b=c[a>>2]|0;if(!d)c[299474]=b;else c[d>>2]=b;b=c[299455]|0;if(!b)return;Hi[b&1023](a);return}function rjb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+32|0;if(!a){l6a(608619,g)|0;d=0;i=g;return d|0}e=c[299451]|0;if(!e){l6a(608541,g+8|0)|0;d=0;i=g;return d|0}if((d|b|0)>=0)if((c[a+8>>2]|0)>(b|0))if((c[a+12>>2]|0)>(d|0)){do if((c[c[a+4>>2]>>2]|0)==372645892)f=0;else{f=eeb(a,372645892,0)|0;if(!f){d=0;i=g;return d|0}else{a=f;e=c[299451]|0;break}}while(0);a=Gi[e&255](a,b,d)|0;if(a|0){c[a>>2]=c[299474];c[299474]=a}A7a(f);d=a;i=g;return d|0}l6a(608577,g+16|0)|0;d=0;i=g;return d|0}function sjb(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=c[299452]|0;if(!b){l6a(608646,d)|0;b=0}else{b=vi[b&2047](a)|0;if(!b)b=0;else{c[b>>2]=c[299474];c[299474]=b}}i=d;return b|0}function tjb(){return c[299475]|0}function ujb(){return 0}function vjb(a){a=a|0;var b=0,e=0;e=i;i=i+16|0;a:do if(a|0){b=c[299449]|0;if(b|0){while(1){if((b|0)==(a|0))break;b=c[b+104>>2]|0;if(!b)break a}a=d[a>>0]|0;i=e;return a|0}}while(0);l6a(608780,e)|0;a=-1;i=e;return a|0}function wjb(a){a=a|0;var b=0;b=i;i=i+16|0;if(!a){l6a(608821,b)|0;a=0}else a=1;i=b;return a|0}function xjb(a){a=a|0;return 0}function yjb(a){a=a|0;var b=0,d=0;d=i;i=i+32|0;if((ujb()|0)<1){c[d>>2]=ujb()|0;l6a(608692,d)|0;a=0;i=d;return a|0}if(!(wjb(a)|0)){l6a(608853,d+8|0)|0;a=0;i=d;return a|0}if((xjb(a)|0)<1){l6a(608883,d+16|0)|0;a=0;i=d;return a|0}b=c[299449]|0;a:do if(b|0){while(1){if(zjb(b,a)|0)break;b=c[b+104>>2]|0;if(!b)break a}c[b+28>>2]=(c[b+28>>2]|0)+1;a=b;i=d;return a|0}while(0);b=c7a(108)|0;if(!b){k7a(0)|0;a=0;i=d;return a|0}B6a(b,0,108)|0;c[b+32>>2]=-1;if((Ajb(b,a)|0)<0){L7a(b);a=0;i=d;return a|0}else{c[b+28>>2]=(c[b+28>>2]|0)+1;c[b+104>>2]=c[299449];c[299449]=b;a=b;i=d;return a|0}return 0}function zjb(a,b){a=a|0;b=b|0;return 0}function Ajb(a,b){a=a|0;b=b|0;a=i;i=i+16|0;b=l6a(608738,a)|0;i=a;return b|0}function Bjb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;g=i;i=i+32|0;a:do if(a|0){b=c[299449]|0;if(b|0){while(1){if((b|0)==(a|0))break;b=c[b+104>>2]|0;if(!b)break a}f=c[a+28>>2]|0;c[a+28>>2]=f+-1;if((f|0)>1){i=g;return}b=c[a+8>>2]|0;if((b|0)>0){f=0;do{e=c[a+4>>2]|0;b:do if(c[e+(f*72|0)+68>>2]|0){d=c[299449]|0;c:do if(d|0){while(1){if((d|0)==(a|0))break;d=c[d+104>>2]|0;if(!d)break c}if((b|0)>(f|0)){Cjb(a,e+(f*72|0)|0);break b}else{l6a(608923,g+16|0)|0;break b}}while(0);l6a(608780,g+8|0)|0}while(0);f=f+1|0;b=c[a+8>>2]|0}while((f|0)<(b|0))}b=c[299449]|0;d:do if(b|0){d=0;while(1){if((b|0)==(a|0))break;d=c[b+104>>2]|0;if(!d)break d;else{f=b;b=d;d=f}}b=c[a+104>>2]|0;if(!d){c[299449]=b;break}else{c[d+104>>2]=b;break}}while(0);L7a(a);i=g;return}}while(0);l6a(608780,g)|0;i=g;return}function Cjb(a,b){a=a|0;b=b|0;a=i;i=i+16|0;l6a(608738,a)|0;i=a;return}function Djb(a){a=a|0;return}function Ejb(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;a:do if(a|0){d=c[299449]|0;if(d|0){while(1){if((d|0)==(a|0))break;d=c[d+104>>2]|0;if(!d)break a}if((b|0)>=0)if((c[a+8>>2]|0)>(b|0)){d=c[a+4>>2]|0;if(!(c[d+(b*72|0)+68>>2]|0)){i=e;return}Cjb(a,d+(b*72|0)|0);i=e;return}l6a(608923,e+8|0)|0;i=e;return}}while(0);l6a(608780,e)|0;i=e;return}function Fjb(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;a:do if(a|0){b=c[299449]|0;if(b|0){while(1){if((b|0)==(a|0))break;b=c[b+104>>2]|0;if(!b)break a}a=c[a+16>>2]|0;i=d;return a|0}}while(0);l6a(608780,d)|0;a=0;i=d;return a|0}function Gjb(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;a:do if(a|0){b=c[299449]|0;if(b|0){while(1){if((b|0)==(a|0))break;b=c[b+104>>2]|0;if(!b)break a}a=c[a+20>>2]|0;i=d;return a|0}}while(0);l6a(608780,d)|0;a=-1;i=d;return a|0}function Hjb(a,b){a=a|0;b=b|0;var d=0,f=0,g=0,h=0;h=i;i=i+32|0;a:do if(a|0){d=c[299449]|0;if(d|0){f=d;while(1){if((f|0)==(a|0))break;f=c[f+104>>2]|0;if(!f)break a}while(1){if((d|0)==(a|0)){d=9;break}d=c[d+104>>2]|0;if(!d){d=8;break}}if((d|0)==8)l6a(608780,h+8|0)|0;else if((d|0)==9)if(!((e[b>>1]|0)&c[a+16>>2])){a=l6a(608958,h+16|0)|0;i=h;return a|0}f=c[a+8>>2]|0;b:do if((f|0)>0){g=c[a+4>>2]|0;d=0;while(1){if(!(c[g+(d*72|0)+68>>2]|0))break;d=d+1|0;if((d|0)>=(f|0))break b}if(Ijb(a,g+(d*72|0)|0,b)|0){a=-1;i=h;return a|0}l7a((c[a+4>>2]|0)+(d*72|0)|0,b,68)|0;a=d;i=h;return a|0}while(0);a=l6a(609005,h+24|0)|0;i=h;return a|0}}while(0);l6a(608780,h)|0;a=-1;i=h;return a|0}function Ijb(a,b,c){a=a|0;b=b|0;c=c|0;b=i;i=i+16|0;a=l6a(608738,b)|0;i=b;return a|0}function Jjb(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0;g=i;i=i+32|0;a:do if(a|0){f=c[299449]|0;if(f|0){while(1){if((f|0)==(a|0))break;f=c[f+104>>2]|0;if(!f)break a}if((d|0)>=0)if((c[a+8>>2]|0)>(d|0)){f=(c[a+4>>2]|0)+(d*72|0)|0;if((b[e>>1]|0)!=(b[f>>1]|0)){a=l6a(609044,g+16|0)|0;i=g;return a|0}if((Kjb(a,f,e)|0)<0){a=-1;i=g;return a|0}l7a((c[a+4>>2]|0)+(d*72|0)|0,e,68)|0;a=0;i=g;return a|0}l6a(608923,g+8|0)|0;a=-1;i=g;return a|0}}while(0);l6a(608780,g)|0;a=-1;i=g;return a|0}function Kjb(a,b,c){a=a|0;b=b|0;c=c|0;b=i;i=i+16|0;a=l6a(608738,b)|0;i=b;return a|0}function Ljb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;a:do if(a|0){e=c[299449]|0;if(e|0){while(1){if((e|0)==(a|0))break;e=c[e+104>>2]|0;if(!e)break a}if((b|0)>=0)if((c[a+8>>2]|0)>(b|0)){d=(Mjb(a,(c[a+4>>2]|0)+(b*72|0)|0,d)|0)>>31;i=f;return d|0}l6a(608923,f+8|0)|0;d=-1;i=f;return d|0}}while(0);l6a(608780,f)|0;d=-1;i=f;return d|0}function Mjb(a,b,c){a=a|0;b=b|0;c=c|0;a=i;i=i+16|0;c=l6a(608738,a)|0;i=a;return c|0}function Njb(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;a:do if(a|0){d=c[299449]|0;if(d|0){while(1){if((d|0)==(a|0))break;d=c[d+104>>2]|0;if(!d)break a}if((b|0)>=0)if((c[a+8>>2]|0)>(b|0)){a=(Ojb(a,(c[a+4>>2]|0)+(b*72|0)|0)|0)>>31;i=e;return a|0}l6a(608923,e+8|0)|0;a=-1;i=e;return a|0}}while(0);l6a(608780,e)|0;a=-1;i=e;return a|0}function Ojb(a,b){a=a|0;b=b|0;b=i;i=i+16|0;a=l6a(608738,b)|0;i=b;return a|0}function Pjb(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+32|0;a:do if(a|0){d=c[299449]|0;if(d|0){while(1){if((d|0)==(a|0))break;d=c[d+104>>2]|0;if(!d)break a}if((b|0)>=0)if((c[a+8>>2]|0)>(b|0))if(!(c[a+16>>2]&16384)){a=l6a(609085,e+16|0)|0;i=e;return a|0}else{a=Qjb(a,(c[a+4>>2]|0)+(b*72|0)|0)|0;i=e;return a|0}l6a(608923,e+8|0)|0;a=-1;i=e;return a|0}}while(0);l6a(608780,e)|0;a=-1;i=e;return a|0}function Qjb(a,b){a=a|0;b=b|0;b=i;i=i+16|0;a=l6a(608738,b)|0;i=b;return a|0}function Rjb(a){a=a|0;return (jhb(a)|0)!=0|0}function Sjb(a){a=a|0;if(a>>>0>=6){a=0;return a|0}a=c[139440+(a<<2)>>2]|0;return a|0}function Tjb(a){a=a|0;if(a>>>0>=15){a=0;return a|0}a=c[139468+(a<<2)>>2]|0;return a|0}function Ujb(b){b=b|0;var d=0,e=0,f=0,g=0;g=i;i=i+64|0;d=c[300466]|0;if(!d){f=0;i=g;return f|0}while(1){if(!(H6a(b,d,16)|0)){f=d;break}d=c[d+24>>2]|0;if(!d){d=0;e=7;break}}if((e|0)==7){i=g;return d|0}e=g+48|0;d=b;b=e+16|0;do{a[e>>0]=a[d>>0]|0;e=e+1|0;d=d+1|0}while((e|0)<(b|0));Vjb(g+48|0,g+12|0,33);b=t6a(g+12|0)|0;d=t6a(c[f+16>>2]|0)|0;d=b+3+d+(t6a(c[f+20>>2]|0)|0)|0;b=c7a(d)|0;if(!b){k7a(0)|0;f=0;i=g;return f|0}else{e=c[f+16>>2]|0;f=c[f+20>>2]|0;c[g>>2]=g+12;c[g+4>>2]=e;c[g+8>>2]=f;o6a(b,d,609150,g)|0;f=b;i=g;return f|0}return 0}function Vjb(b,c,e){b=b|0;c=c|0;e=e|0;var f=0,g=0,h=0;if((c|0)==0|(e|0)<1)return;if((e+-1|0)>1){f=c;g=0;while(1){h=d[b+g>>0]|0;a[f>>0]=a[609133+(h>>>4)>>0]|0;c=f+2|0;a[f+1>>0]=a[609133+(h&15)>>0]|0;g=g+1|0;if(!(g>>>0<16?(g|0)<((e+-1|0)/2|0|0):0))break;else f=c}}a[c>>0]=0;return}function Wjb(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;j=i;i=i+32|0;if((b|0)>=0)if((Wib()|0)>(b|0)){d=c[300465]|0;a:do if(d|0){while(1){h=Xjb(b)|0;if((h|0)==(c[c[d>>2]>>2]|0))break;d=c[d+896>>2]|0;if(!d)break a}c[d+4>>2]=(c[d+4>>2]|0)+1;h=d;i=j;return h|0}while(0);d=jhb(b)|0;if(!d){c[j+8>>2]=b;l6a(609192,j+8|0)|0;h=0;i=j;return h|0}h=c7a(900)|0;if(!h){k7a(0)|0;h=0;i=j;return h|0}B6a(h,0,900)|0;g=Yjb(b)|0;c[h>>2]=g;if(!g){L7a(h);h=0;i=j;return h|0}else{e=c[d+16>>2]|0;f=c[d+20>>2]|0;g=j+16|0;b=g+16|0;do{a[g>>0]=a[d>>0]|0;g=g+1|0;d=d+1|0}while((g|0)<(b|0));Sib(h+12|0,j+16|0,e,f);c[h+4>>2]=(c[h+4>>2]|0)+1;c[h+896>>2]=c[300465];c[300465]=h;fjb(c[h>>2]|0);i=j;return h|0}}c[j>>2]=Wib()|0;l6a(609159,j)|0;h=0;i=j;return h|0}function Xjb(a){a=a|0;var b=0;b=c[300470]|0;if((a|0)>0)while(1){b=c[b+1320>>2]|0;if((a|0)>1)a=a+-1|0;else break}return c[b+12>>2]|0}function Yjb(a){a=a|0;var b=0,d=0,e=0,f=0;f=i;i=i+16|0;if((a|0)>=0)if((lhb()|0)>(a|0)){b=c[300468]|0;a:do if(b|0){while(1){e=Xjb(a)|0;if((e|0)==(c[b>>2]|0))break;b=c[b+56>>2]|0;if(!b)break a}c[b+44>>2]=(c[b+44>>2]|0)+1;e=b;i=f;return e|0}while(0);e=c7a(60)|0;if(!e){k7a(0)|0;e=0;i=f;return e|0}B6a(e,0,60)|0;if((Zjb(e,a)|0)<0){L7a(e);e=0;i=f;return e|0}b=ohb(a)|0;if(!b)c[e+4>>2]=0;else c[e+4>>2]=peb(b)|0;b=c[e+8>>2]|0;if((b|0)>0)c[e+12>>2]=c7a(b<<1)|0;b=c[e+16>>2]|0;if((b|0)>0)c[e+20>>2]=c7a(b)|0;b=c[e+24>>2]|0;if((b|0)>0)c[e+28>>2]=c7a(b<<3)|0;b=c[e+32>>2]|0;if((b|0)>0)c[e+36>>2]=c7a(b)|0;a=c[e+8>>2]|0;if((a|0)>0){if(c[e+12>>2]|0)d=25}else d=25;do if((d|0)==25){if((c[e+16>>2]|0)>0)if(!(c[e+20>>2]|0))break;if((c[e+24>>2]|0)>0)if(!(c[e+28>>2]|0))break;if((c[e+32>>2]|0)>0)if(!(c[e+36>>2]|0))break;b=c[e+12>>2]|0;if(b|0)B6a(b,0,a<<1)|0;b=c[e+20>>2]|0;if(b|0)B6a(b,0,c[e+16>>2]|0)|0;b=c[e+28>>2]|0;if(b|0)B6a(b,0,c[e+24>>2]<<3)|0;b=c[e+36>>2]|0;if(b|0)B6a(b,0,c[e+32>>2]|0)|0;c[e+52>>2]=-1;c[e+44>>2]=(c[e+44>>2]|0)+1;c[e+56>>2]=c[300468];c[300468]=e;fjb(e);i=f;return e|0}while(0);k7a(0)|0;ghb(e);e=0;i=f;return e|0}c[f>>2]=lhb()|0;l6a(609159,f)|0;e=0;i=f;return e|0}function Zjb(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;d=c[300470]|0;if((b|0)>0)while(1){d=c[d+1320>>2]|0;if((b|0)>1)b=b+-1|0;else break}if(!d){a=l6a(609230,e)|0;i=e;return a|0}b=d+16|0;if(!(c[b>>2]|0)){c[a>>2]=c[d+12>>2];c[a+40>>2]=d;c[b>>2]=a;c[a+16>>2]=0;c[a+24>>2]=0;c[a+32>>2]=c[d+20>>2];c[a+8>>2]=c[d+24>>2];a=0;i=e;return a|0}else{a=l6a(609245,e+8|0)|0;i=e;return a|0}return 0}function _jb(a,b){a=a|0;b=b|0;var d=0;if(!a){a=0;return a|0}d=c[a+32+(b<<2)>>2]|0;if((d|0)>-1){d=$jb(c[a>>2]|0,d)|0;if((b&-2|0)!=4){a=d;return a|0}a=((d<<16>>16|0)/2|0)+16384&65535;return a|0}else{d=c[a+56+(b<<2)>>2]|0;if((d|0)<=-1){a=0;return a|0}a=(akb(c[a>>2]|0,d)|0)<<24>>24==0;a=a?0:32767;return a|0}return 0}function $jb(a,d){a=a|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if(!a){l6a(608821,f)|0;a=0;i=f;return a|0}e=c[a+8>>2]|0;if((e|0)>(d|0)){a=b[(c[a+12>>2]|0)+(d<<1)>>1]|0;i=f;return a|0}else{c[f+8>>2]=e;l6a(609269,f+8|0)|0;a=0;i=f;return a|0}return 0}function akb(b,d){b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if(!b){l6a(608821,f)|0;b=0;i=f;return b|0}e=c[b+32>>2]|0;if((e|0)>(d|0)){b=a[(c[b+36>>2]|0)+d>>0]|0;i=f;return b|0}else{c[f+8>>2]=e;l6a(609295,f+8|0)|0;b=0;i=f;return b|0}return 0}function bkb(b,d){b=b|0;d=d|0;var e=0;if(!b){b=0;return b|0}e=c[b+80+(d<<2)>>2]|0;if((e|0)>-1){b=akb(c[b>>2]|0,e)|0;return b|0}e=c[b+140+(d<<2)>>2]|0;if((e|0)>-1){b=$jb(c[b>>2]|0,e)|0;b=((b<<16>>16<0?0-(b<<16>>16)|0:b<<16>>16)|0)>16384&1;return b|0}e=c[b+200+(d<<3)>>2]|0;if((e|0)<=-1){b=0;return b|0}e=ckb(c[b>>2]|0,e)|0;b=(a[b+200+(d<<3)+4>>0]&e)<<24>>24!=0&1;return b|0}function ckb(b,d){b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if(!b){l6a(608821,f)|0;b=0;i=f;return b|0}e=c[b+16>>2]|0;if((e|0)>(d|0)){b=a[(c[b+20>>2]|0)+d>>0]|0;i=f;return b|0}else{c[f+8>>2]=e;l6a(609324,f+8|0)|0;b=0;i=f;return b|0}return 0}function dkb(a){a=a|0;var b=0;b=i;i=i+16|0;if(!a){l6a(608821,b)|0;a=0;i=b;return a|0}else{a=ekb(a)|0;i=b;return a|0}return 0}function ekb(a){a=a|0;return (c[a+40>>2]|0)!=0|0}function fkb(a){a=a|0;if(!a){a=0;return a|0}a=c[a+28>>2]|0;return a|0}function gkb(a){a=a|0;if(!a){a=0;return a|0}a=c[a>>2]|0;return a|0}function hkb(a){a=a|0;var b=0,d=0,e=0;if(!a)return;d=c[a+4>>2]|0;c[a+4>>2]=d+-1;if((d|0)>1)return;ghb(c[a>>2]|0);b=c[300465]|0;a:do if(b|0){d=0;while(1){if((b|0)==(a|0))break;d=c[b+896>>2]|0;if(!d)break a;else{e=b;b=d;d=e}}b=c[a+896>>2]|0;if(!d){c[300465]=b;break}else{c[d+896>>2]=b;break}}while(0);L7a(a);return}function ikb(a){a=a|0;var b=0;if((a|0)==-1)b=0;else{X6a(1616,a)|0;X6a(1617,a)|0;X6a(1618,a)|0;X6a(1619,a)|0;X6a(1620,a)|0;X6a(1621,a)|0;b=a;return b|0}do{a=X6a(c[139532+(b<<2)>>2]|0,-1)|0;b=b+1|0}while(a<<24>>24!=1&b>>>0<6);b=a&255;return b|0}function jkb(a){a=a|0;var b=0;b=i;i=i+16|0;if(!a){l6a(608821,b)|0;a=-1;i=b;return a|0}else{a=c[a+8>>2]|0;i=b;return a|0}return 0}function kkb(a){a=a|0;var b=0;b=i;i=i+16|0;if(!a){l6a(608821,b)|0;a=-1;i=b;return a|0}else{a=c[a+16>>2]|0;i=b;return a|0}return 0}function lkb(a){a=a|0;var b=0;b=i;i=i+16|0;if(!a){l6a(608821,b)|0;a=-1;i=b;return a|0}else{a=c[a+32>>2]|0;i=b;return a|0}return 0}function mkb(a){a=a|0;var b=0;b=i;i=i+16|0;if(!a){l6a(608821,b)|0;a=-1}else a=c[a>>2]|0;i=b;return a|0}function nkb(a){a=a|0;var b=0;b=i;i=i+16|0;if(!a){l6a(608821,b)|0;a=0;i=b;return a|0}else{a=c[a+4>>2]|0;i=b;return a|0}return 0}function okb(b,c){b=b|0;c=c|0;var d=0,e=0;e=i;i=i+16|0;if(!c){l6a(608821,e)|0;B6a(e,0,16)|0;c=e;d=b+16|0;do{a[b>>0]=a[c>>0]|0;b=b+1|0;c=c+1|0}while((b|0)<(d|0));i=e;return}else{pkb(b,c);i=e;return}}function pkb(b,d){b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;d=c[d+4>>2]|0;B6a(f,0,16)|0;if((t6a(d)|0)>>>0>16)e=16;else e=t6a(d)|0;l7a(f,d,e)|0;d=b;e=f;b=d+16|0;do{a[d>>0]=a[e>>0]|0;d=d+1|0;e=e+1|0}while((d|0)<(b|0));i=f;return}function qkb(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;c[e>>2]=0;d=(a|0)==0?e+8|0:a;a=(b|0)==0?e+4|0:b;if(!(rkb(e,d,a)|0)){c[d>>2]=-1;c[a>>2]=-1;b=0;i=e;return b|0}else{b=c[e>>2]|0;i=e;return b|0}return 0}function rkb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0.0,g=0,j=0;j=i;i=i+32|0;if((If(j|0)|0)==-1){g=0;i=j;return g|0}f=+h[j+16>>3];e=(c[j+24>>2]|0)==0;if(f!=1.0)if(e)e=1;else g=7;else if(e)e=1;else if(+h[j>>3]!=0.0)g=7;else{c[a>>2]=2;c[b>>2]=-1;c[d>>2]=-1;g=1;i=j;return g|0}if((g|0)==7)e=+h[j>>3]==0.0?4:3;c[a>>2]=e;c[b>>2]=~~+h[j+8>>3];c[d>>2]=~~(f*100.0);g=1;i=j;return g|0}function skb(a,b,d,e,f,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+64|0;if(!(c[299450]|0))if((Xgb(0)|0)<0){a=0;i=p;return a|0}o=(e|0)<1?1:e;n=(f|0)<1?1:f;if((o|0)>16384|(n|0)>16384){l6a(609350,p)|0;a=0;i=p;return a|0}a:do if(h&2|0){f=c[299450]|0;if(!(c[f+152>>2]|0)){l6a(593457,p+8|0)|0;a=0;i=p;return a|0}b:do if(!f)e=l6a(593111,p+16|0)|0;else{e=c[f+364>>2]|0;do if(!e){e=c[f+140>>2]|0;if(!e){e=l6a(593181,p+24|0)|0;break b}e=Xi[e&511](f,0)|0;j=c[299450]|0;if(!e){f=j;e=c[j+364>>2]|0;break}f=c[j+148>>2]|0;if(!f)break b;Hi[f&1023](j);break b}while(0);c[f+364>>2]=e+1;break a}while(0);if((e|0)<0){a=0;i=p;return a|0}}while(0);if(!(h&8192))l=h;else{e=p7a(609371)|0;if(!e)l=h;else{l=(tgb(e)|0)>0;l=l?h&-8193:h}}m=Y6a(1,148)|0;if(!m){k7a(0)|0;a=0;i=p;return a|0}f=c[299450]|0;c[m>>2]=f+256;k=c[f+260>>2]|0;c[f+260>>2]=k+1;c[m+4>>2]=k;c[m+16>>2]=b;c[m+20>>2]=d;c[m+24>>2]=o;c[m+28>>2]=n;if((b&-65536|0)<805240832)switch(b&-65536|0){case 536805376:{k=26;break}default:k=25}else switch(b&-65536|0){case 805240832:{k=26;break}default:k=25}c:do if((k|0)==25)if((d&-65536|0)<805240832)switch(d&-65536|0){case 536805376:{k=26;break c}default:break c}else switch(d&-65536|0){case 805240832:{k=26;break c}default:break c}while(0);if((k|0)==26){e=y6a(m)|0;f=c[299450]|0;if((e|0)>-1)j=(c[f+244>>2]|0)+(e*68|0)|0;else j=0;h=c[f+240>>2]|0;d:do if((h|0)>0){f=c[f+244>>2]|0;e=0;while(1){if((f+(e*68|0)|0)==(j|0))break d;e=e+1|0;if((e|0)>=(h|0)){e=0;break}}}else e=0;while(0);z6a(e,p+48|0)|0;if((b&-65536|0)<805240832)switch(b&-65536|0){case 536805376:{k=33;break}default:{}}else switch(b&-65536|0){case 805240832:{k=33;break}default:{}}if((k|0)==33)c[m+16>>2]=(((c[p+48+8>>2]|0)-o|0)/2|0)+(c[p+48>>2]|0);if((d&-65536|0)<805240832)switch(d&-65536|0){case 536805376:{k=35;break}default:{}}else switch(d&-65536|0){case 805240832:{k=35;break}default:{}}if((k|0)==35)c[m+20>>2]=(((c[p+48+12>>2]|0)-n|0)/2|0)+(c[p+48+4>>2]|0);f=c[299450]|0}e=l&8242|8;c[m+48>>2]=e;c[m+52>>2]=e;g[m+92>>2]=1.0;e=c[f+248>>2]|0;c[m+144>>2]=e;c[m+116>>2]=0;if(!e)e=f;else{c[e+140>>2]=m;e=c[299450]|0}c[e+248>>2]=m;f=c[e+28>>2]|0;if(f|0)if((Xi[f&511](e,m)|0)<0){yhb(m);a=0;i=p;return a|0}do if(a|0){e=c[299450]|0;if(!e){l6a(593111,p+32|0)|0;break}if((c[m>>2]|0)!=(e+256|0)){l6a(606608,p+40|0)|0;break}e=c[m+8>>2]|0;if((e|0)!=(a|0)){L7a(e);c[m+8>>2]=peb(a)|0;e=c[299450]|0;f=c[e+36>>2]|0;if(f|0)si[f&511](e,m)}}while(0);Z7a(m,l);x6a(m,(c[m+48>>2]&69|0)==5&1)|0;a=m;i=p;return a|0}function tkb(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;d=Qeb()|0;if(!d){d=l6a(609398,e)|0;i=e;return d|0}a=(a|0)==0?1279070:a;b=c[d+216>>2]|0;if(!b){L7a(c[d+264>>2]|0);c[d+264>>2]=peb(a)|0;d=0;i=e;return d|0}else{d=Xi[b&511](d,a)|0;i=e;return d|0}return 0}function ukb(){var a=0,b=0,d=0;d=i;i=i+16|0;a=Qeb()|0;if(!a){l6a(609456,d)|0;b=peb(1279070)|0;i=d;return b|0}b=c[a+220>>2]|0;if(!b){b=c[a+264>>2]|0;b=peb(b|0?b:1279070)|0;i=d;return b|0}else{b=vi[b&2047](a)|0;i=d;return b|0}return 0}function vkb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+32|0;e=c[299450]|0;if(!e){l6a(593111,g)|0;i=g;return}if(a|0)if((c[a>>2]|0)==(e+256|0)){if((b&-65536|0)==805240832|(d&-65536|0)==805240832){f=(b&65535|0)>(c[e+240>>2]|0)?0:b&65535;B6a(g+16|0,0,16)|0;z6a(f,g+16|0)|0;if((b&-65536|0)==805240832)e=(((c[g+16+8>>2]|0)-(c[a+24>>2]|0)|0)/2|0)+(c[g+16>>2]|0)|0;else e=b;if((d&-65536|0)==805240832)d=(((c[g+16+12>>2]|0)-(c[a+28>>2]|0)|0)/2|0)+(c[g+16+4>>2]|0)|0;f=e}else f=b;e=(f&-65536|0)==536805376;if(c[a+48>>2]&1|0){if(!e)c[a+56>>2]=f;if((d&-65536|0)==536805376){i=g;return}c[a+60>>2]=d;i=g;return}if(!e)c[a+16>>2]=f;if((d&-65536|0)!=536805376)c[a+20>>2]=d;e=c[299450]|0;b=c[e+44>>2]|0;if(b|0)si[b&511](e,a);I6a(a,4,f,d)|0;i=g;return}l6a(606608,g+8|0)|0;i=g;return}function wkb(){var a=0,b=0;a=c[299450]|0;if(!a)return;if(c[a+236>>2]|0)return;c[a+236>>2]=1;b=c[a+184>>2]|0;if(!b)return;Hi[b&1023](a);return}function xkb(){var a=0,b=0;a=c[299450]|0;if(!a){b=0;return b|0}b=c[a+200>>2]|0;if(!b){b=0;return b|0}b=vi[b&2047](a)|0;return b|0}function ykb(){var a=0,b=0,d=0,e=0;X6a(771,1)|0;X6a(770,1)|0;a=c[299450]|0;if(!a)return;b=c[a+248>>2]|0;do if(b){do{if(c[b+48>>2]&512|0){d=b;e=5;break}b=c[b+144>>2]|0}while((b|0)!=0);if((e|0)==5){b=c[a+204>>2]|0;if(!b)break;si[b&511](a,d);a=c[299450]|0}if(!a)return}while(0);b=c[a+188>>2]|0;if(!b)return;Hi[b&1023](a);return}function zkb(){var a=0,b=0;b=i;i=i+16|0;a=c[299450]|0;if(!a){l6a(593111,b)|0;a=0;i=b;return a|0}else{a=c[a>>2]|0;i=b;return a|0}return 0}function Akb(){var a=0,b=0;b=i;i=i+16|0;a=c[299450]|0;if(!a){l6a(593111,b)|0;a=0;i=b;return a|0}else{a=c[a+240>>2]|0;i=b;return a|0}return 0}function Bkb(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;d=c[299450]|0;if(!d){l6a(593111,e)|0;a=0;i=e;return a|0}b=c[d+240>>2]|0;if((a|0)>-1&(b|0)>(a|0)){a=c[(c[d+244>>2]|0)+(a*68|0)>>2]|0;i=e;return a|0}else{c[e+8>>2]=b+-1;l6a(593491,e+8|0)|0;a=0;i=e;return a|0}return 0}function Ckb(a){a=a|0;var b=0,d=0,e=0,f=0;f=i;i=i+16|0;e=c[299450]|0;if(!e){l6a(593111,f)|0;a=-1;i=f;return a|0}b=c[e+240>>2]|0;if(!((a|0)>-1&(b|0)>(a|0))){c[f+8>>2]=b+-1;l6a(593491,f+8|0)|0;a=-1;i=f;return a|0}d=c[e+244>>2]|0;b=c[d+(a*68|0)+8>>2]|0;if(b|0){a=b;i=f;return a|0}b=c[e+20>>2]|0;if(!b){a=0;i=f;return a|0}si[b&511](e,d+(a*68|0)|0);F6a(c[d+(a*68|0)+12>>2]|0,c[d+(a*68|0)+8>>2]|0,20,374);a=c[d+(a*68|0)+8>>2]|0;i=f;return a|0}function Dkb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+32|0;f=c[299450]|0;if(!f){l6a(593111,h)|0;a=-1;i=h;return a|0}e=c[f+240>>2]|0;if(!((a|0)>-1&(e|0)>(a|0))){c[h+8>>2]=e+-1;l6a(593491,h+8|0)|0;a=-1;i=h;return a|0}g=c[f+244>>2]|0;e=c[g+(a*68|0)+8>>2]|0;if((b|0)>=0){if(!e){e=c[f+20>>2]|0;if(!e)e=0;else{si[e&511](f,g+(a*68|0)|0);F6a(c[g+(a*68|0)+12>>2]|0,c[g+(a*68|0)+8>>2]|0,20,374);e=c[g+(a*68|0)+8>>2]|0}}if((e|0)>(b|0)){if(!d){a=0;i=h;return a|0}a=(c[g+(a*68|0)+12>>2]|0)+(b*20|0)|0;c[d>>2]=c[a>>2];c[d+4>>2]=c[a+4>>2];c[d+8>>2]=c[a+8>>2];c[d+12>>2]=c[a+12>>2];c[d+16>>2]=c[a+16>>2];a=0;i=h;return a|0}}if(!e){e=c[299450]|0;f=c[e+20>>2]|0;if(!f)e=0;else{si[f&511](e,g+(a*68|0)|0);F6a(c[g+(a*68|0)+12>>2]|0,c[g+(a*68|0)+8>>2]|0,20,374);e=c[g+(a*68|0)+8>>2]|0}}c[h+16>>2]=e+-1;a=l6a(609514,h+16|0)|0;i=h;return a|0}function Ekb(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+16|0;e=c[299450]|0;if(!e){l6a(593111,f)|0;b=-1;i=f;return b|0}d=c[e+240>>2]|0;if(!((a|0)>-1&(d|0)>(a|0))){c[f+8>>2]=d+-1;l6a(593491,f+8|0)|0;b=-1;i=f;return b|0}if(!b){b=0;i=f;return b|0}a=(c[e+244>>2]|0)+(a*68|0)+16|0;c[b>>2]=c[a>>2];c[b+4>>2]=c[a+4>>2];c[b+8>>2]=c[a+8>>2];c[b+12>>2]=c[a+12>>2];c[b+16>>2]=c[a+16>>2];b=0;i=f;return b|0}function Fkb(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+16|0;e=c[299450]|0;if(!e){l6a(593111,f)|0;b=-1;i=f;return b|0}d=c[e+240>>2]|0;if(!((a|0)>-1&(d|0)>(a|0))){c[f+8>>2]=d+-1;l6a(593491,f+8|0)|0;b=-1;i=f;return b|0}if(!b){b=0;i=f;return b|0}a=(c[e+244>>2]|0)+(a*68|0)+36|0;c[b>>2]=c[a>>2];c[b+4>>2]=c[a+4>>2];c[b+8>>2]=c[a+8>>2];c[b+12>>2]=c[a+12>>2];c[b+16>>2]=c[a+16>>2];b=0;i=f;return b|0}function Gkb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+16|0;f=c[299450]|0;if(!f){l6a(593111,g)|0;b=0;i=g;return b|0}e=c[f+240>>2]|0;if((a|0)>-1&(e|0)>(a|0)){b=D6a((c[f+244>>2]|0)+(a*68|0)|0,b,d)|0;i=g;return b|0}else{c[g+8>>2]=e+-1;l6a(593491,g+8|0)|0;b=0;i=g;return b|0}return 0}function Hkb(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+32|0;d=c[299450]|0;if(!d){l6a(593111,e)|0;a=-1;i=e;return a|0}if(a|0)if((c[a>>2]|0)==(d+256|0)){if(!b)B6a(a+72|0,0,20)|0;else{c[a+72>>2]=c[b>>2];c[a+72+4>>2]=c[b+4>>2];c[a+72+8>>2]=c[b+8>>2];c[a+72+12>>2]=c[b+12>>2];c[a+72+16>>2]=c[b+16>>2]}b=c[a+48>>2]|0;if((b&69|0)!=5|(b&4097|0)==4097){a=0;i=e;return a|0}if(!(C6a(a,e+12|0)|0)){d=y6a(a)|0;if((d|0)>-1)d=(c[(c[299450]|0)+244>>2]|0)+(d*68|0)|0;else d=0;G6a(d,e+12|0)|0}a=0;i=e;return a|0}l6a(606608,e+8|0)|0;a=-1;i=e;return a|0}function Ikb(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;d=c[299450]|0;if(!d){l6a(593111,e)|0;i=e;return}if(a|0)if((c[a>>2]|0)==(d+256|0)){d=c[a+8>>2]|0;if((d|0)==(b|0)){i=e;return}L7a(d);c[a+8>>2]=peb(b|0?b:1279070)|0;d=c[299450]|0;b=c[d+36>>2]|0;if(!b){i=e;return}si[b&511](d,a);i=e;return}l6a(606608,e+8|0)|0;i=e;return}function Jkb(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+16|0;d=c[299450]|0;if(!d){l6a(593111,f)|0;i=f;return}if(a|0)if((c[a>>2]|0)==(d+256|0)){if(!b){i=f;return}A7a(c[a+12>>2]|0);e=eeb(b,372645892,0)|0;c[a+12>>2]=e;if(!e){i=f;return}d=c[299450]|0;b=c[d+40>>2]|0;if(!b){i=f;return}$i[b&255](d,a,e);i=f;return}l6a(606608,f+8|0)|0;i=f;return}function Kkb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+32|0;e=c[299450]|0;if(!e){l6a(593111,f)|0;i=f;return}if(a|0)if((c[a>>2]|0)==(e+256|0)){if(!(c[a+48>>2]&1)){if(b|0)c[b>>2]=c[a+16>>2];if(!d){i=f;return}c[d>>2]=c[a+20>>2];i=f;return}if(b|0)c[b>>2]=0;if(d|0)c[d>>2]=0;e=y6a(a)|0;if((e|0)<=-1){i=f;return}B6a(f+16|0,0,16)|0;z6a(e,f+16|0)|0;if(b|0)c[b>>2]=c[f+16>>2];if(d|0)c[d>>2]=c[f+16+4>>2];i=f;return}l6a(606608,f+8|0)|0;i=f;return}function Lkb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+32|0;f=c[299450]|0;if(!f){l6a(593111,g)|0;i=g;return}if(a|0)if((c[a>>2]|0)==(f+256|0)){if((b|0)<1){c[g+16>>2]=609551;l6a(608461,g+16|0)|0;i=g;return}if((d|0)<1){c[g+24>>2]=609553;l6a(608461,g+24|0)|0;i=g;return}e=c[a+32>>2]|0;e=(e|0)!=0&(e|0)>(b|0)?e:b;b=c[a+40>>2]|0;e=(b|0)!=0&(e|0)>(b|0)?b:e;b=c[a+36>>2]|0;d=(b|0)!=0&(b|0)>(d|0)?b:d;b=c[a+44>>2]|0;d=(b|0)!=0&(d|0)>(b|0)?b:d;c[a+64>>2]=e;c[a+68>>2]=d;b=c[a+48>>2]|0;if(b&1|0){if((b&68|0)!=4|(b&4097|0)==4097){i=g;return}c[a+52>>2]=0;x6a(a,1)|0;i=g;return}c[a+24>>2]=e;c[a+28>>2]=d;b=c[f+48>>2]|0;if(b|0){si[b&511](f,a);if((c[a+24>>2]|0)!=(e|0)){i=g;return}}if((c[a+28>>2]|0)!=(d|0)){i=g;return}c[a+108>>2]=0;I6a(a,6,e,d)|0;i=g;return}l6a(606608,g+8|0)|0;i=g;return}function Mkb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+32|0;e=c[299450]|0;if(!e){l6a(593111,g)|0;i=g;return}if(a|0)if((c[a>>2]|0)==(e+256|0)){if((b|0)<1){c[g+16>>2]=609555;l6a(608461,g+16|0)|0;i=g;return}if((d|0)<1){c[g+24>>2]=609561;l6a(608461,g+24|0)|0;i=g;return}if(c[a+48>>2]&1|0){i=g;return}c[a+32>>2]=b;c[a+36>>2]=d;f=c[e+52>>2]|0;if(f){si[f&511](e,a);b=c[a+32>>2]|0;d=c[a+36>>2]|0}e=c[a+24>>2]|0;f=c[a+28>>2]|0;Lkb(a,(e|0)>(b|0)?e:b,(f|0)>(d|0)?f:d);i=g;return}l6a(606608,g+8|0)|0;i=g;return}function Nkb(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;b=c[299450]|0;if(!b){l6a(593111,e)|0;i=e;return}if(a|0)if((c[a>>2]|0)==(b+256|0)){if(!(c[a+48>>2]&4)){i=e;return}d=c[b+68>>2]|0;if(!d){i=e;return}si[d&511](b,a);i=e;return}l6a(606608,e+8|0)|0;i=e;return}function Okb(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;b=c[299450]|0;if(!b){l6a(593111,e)|0;i=e;return}if(a|0)if((c[a>>2]|0)==(b+256|0)){if(c[a+48>>2]&128|0){i=e;return}d=c[b+72>>2]|0;if(!d){i=e;return}si[d&511](b,a);i=e;return}l6a(606608,e+8|0)|0;i=e;return}function Pkb(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+16|0;d=c[299450]|0;if(!d){l6a(593111,f)|0;a=-1;i=f;return a|0}if(a|0)if((c[a>>2]|0)==(d+256|0)){e=c[a+48>>2]|0;if((b&4097|0)==(e&4097|0)){a=0;i=f;return a|0}c[a+48>>2]=e&-4098|b&4097;if((b&1|0)==0|(e&4|0)==0)d=0;else d=(e&64|0)==0;if(!(x6a(a,d&1)|0)){a=0;i=f;return a|0}c[a+48>>2]=c[a+48>>2]&-4098|e&4097;a=-1;i=f;return a|0}l6a(606608,f+8|0)|0;a=-1;i=f;return a|0}function Qkb(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=c[299450]|0;if(!b){l6a(593111,d)|0;a=0;i=d;return a|0}if(a|0)if((c[a>>2]|0)==(b+256|0)){a=(c[b+252>>2]|0)==(a|0)&1;i=d;return a|0}l6a(606608,d+8|0)|0;a=0;i=d;return a|0}function Rkb(){var a=0;a=c[299450]|0;if(!a){a=1;return a|0}a=(c[a+236>>2]|0)==0&1;return a|0}function Skb(){var a=0,b=0;a=c[299450]|0;if(!a)return;if(!(c[a+236>>2]|0))return;c[a+236>>2]=0;b=c[a+184>>2]|0;if(!b)return;Hi[b&1023](a);return}function Tkb(){return (X6a(771,-1)|0)<<24>>24==1|0}function Ukb(){var a=0,b=0,d=0;a=c[299450]|0;a:do if(a|0){b=c[a+192>>2]|0;if(b){Hi[b&1023](a);a=c[299450]|0;if(!a)break}b=c[a+248>>2]|0;if(b|0){while(1){if(c[b+48>>2]&512|0)break;b=c[b+144>>2]|0;if(!b)break a}d=c[a+208>>2]|0;if(d|0)si[d&511](a,b)}}while(0);X6a(771,0)|0;X6a(770,0)|0;return}function Vkb(a){a=a|0;var b=0,d=0;b=c[299450]|0;if(!b)return;d=c[b+196>>2]|0;if(!d)return;si[d&511](b,a);return}function Wkb(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+48|0;B6a(f+12|0,0,28)|0;c[f+12>>2]=a;c[f+12+8>>2]=b;c[f+12+12>>2]=d;c[f+12+16>>2]=1;c[f+12+20>>2]=f;c[f+12+4>>2]=e;B6a(f,0,12)|0;c[f>>2]=c[f>>2]|3;c[f+8>>2]=609567;e=Yib(f+12|0,0)|0;i=f;return e|0}function Xkb(){var a=0,b=0,d=0,e=0;e=c7a(20)|0;if(!e){k7a(0)|0;return e|0}c[e>>2]=Jgb()|0;c[e+12>>2]=Kgb(0)|0;b=Kgb(0)|0;c[e+16>>2]=b;c[e+8>>2]=0;c[e+4>>2]=0;a=(c[e+12>>2]|0)==0;if(!(c[e>>2]|0)){if(!a)d=6}else if(!a)if(!b)d=6;else return e|0;a=c[e>>2]|0;if(a|0)Lgb(a);L7a(e);e=0;return e|0}function Ykb(a){a=a|0;var b=0;if(!a)return;b=c[a>>2]|0;if(b|0)Lgb(b);L7a(a);return}function Zkb(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;if(!a){a=l6a(609570,d)|0;i=d;return a|0}b=c[a+8>>2]|0;if((c[a+4>>2]|0)>(b|0)){c[a+8>>2]=b+1;Ugb(c[a+12>>2]|0)|0;Sgb(c[a+16>>2]|0)|0;a=0;i=d;return a|0}else{a=0;i=d;return a|0}return 0}function _kb(a){a=a|0;var b=0,d=0,e=0,f=0;f=i;i=i+16|0;do if(!a)b=l6a(609570,f)|0;else{d=c[a+4>>2]|0;e=c[a+8>>2]|0;if((d|0)<=(e|0)){b=0;break}c[a+8>>2]=d;if((d-e|0)<=0){b=0;break}b=0;do{Ugb(c[a+12>>2]|0)|0;b=b+1|0}while((b|0)!=(d-e|0));if((d-e|0)>0){b=0;do{Sgb(c[a+16>>2]|0)|0;b=b+1|0}while((b|0)!=(d-e|0));b=0}else b=0}while(0);i=f;return b|0}function $kb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;if(!a){a=l6a(609570,e)|0;i=e;return a|0}c[a+4>>2]=(c[a+4>>2]|0)+1;b=c[a+12>>2]|0;if((d|0)==-1)b=Sgb(b)|0;else b=Ogb(b,d)|0;if((c[a+8>>2]|0)>0){if((b|0)>0)Sgb(c[a+12>>2]|0)|0;Ugb(c[a+16>>2]|0)|0;c[a+8>>2]=(c[a+8>>2]|0)+-1}c[a+4>>2]=(c[a+4>>2]|0)+-1;a=b;i=e;return a|0}function alb(a,b){a=a|0;b=b|0;return $kb(a,b,-1)|0}function blb(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+64|0;c[f>>2]=d;c[f+4>>2]=e;c[f+12>>2]=a;c[f+16>>2]=c[b>>2];c[f+32>>2]=0;c[f+36>>2]=0;c[f+40>>2]=0;a=dlb(f,-1,610771,56)|0;if(a|0){b=a;i=f;return b|0}a=mlb(f,4)|0;if((a|0)==1){c[b>>2]=c[f+20>>2];b=llb(f)|0;i=f;return b|0}else{llb(f)|0;b=(a|0)==0?-5:a;i=f;return b|0}return 0}function clb(a){a=a|0;return a+13+(a>>>12)+(a>>>14)+(a>>>25)|0}function dlb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return elb(a,b,8,15,8,0,c,d)|0}function elb(b,d,e,f,g,h,i,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0;if(!i){b=-6;return b|0}if((j|0)!=56|(a[i>>0]|0)!=49){b=-6;return b|0}if(!b){b=-2;return b|0}c[b+24>>2]=0;j=c[b+32>>2]|0;if(!j){c[b+32>>2]=179;c[b+40>>2]=0;j=179}if(!(c[b+36>>2]|0))c[b+36>>2]=242;k=(d|0)==-1?6:d;if((f|0)<0){i=0-f|0;f=0}else{i=(f|0)>15?f+-16|0:f;f=(f|0)>15?2:1}if(h>>>0>4|(k>>>0>9|((e|0)!=8|(g+-1|0)>>>0>8|(i&-8|0)!=8))){b=-2;return b|0}i=(i|0)==8?9:i;d=Gi[j&255](c[b+40>>2]|0,1,5828)|0;if(!d){b=-4;return b|0}c[b+28>>2]=d;c[d>>2]=b;c[d+24>>2]=f;c[d+28>>2]=0;c[d+48>>2]=i;c[d+44>>2]=1<>2]=(1<>2]=g+7;c[d+76>>2]=1<>2]=(1<>2]=((g+9|0)>>>0)/3|0;c[d+56>>2]=Gi[c[b+32>>2]&255](c[b+40>>2]|0,1<>2]=Gi[c[b+32>>2]&255](c[b+40>>2]|0,c[d+44>>2]|0,2)|0;c[d+68>>2]=Gi[c[b+32>>2]&255](c[b+40>>2]|0,c[d+76>>2]|0,2)|0;c[d+5824>>2]=0;c[d+5788>>2]=1<>2]&255](c[b+40>>2]|0,1<>2]=j;i=c[d+5788>>2]|0;c[d+12>>2]=i<<2;if(c[d+56>>2]|0)if(c[d+64>>2]|0)if(!((c[d+68>>2]|0)==0|(j|0)==0)){c[d+5796>>2]=j+(i>>>1<<1);c[d+5784>>2]=j+(i*3|0);c[d+132>>2]=k;c[d+136>>2]=h;a[d+36>>0]=8;b=flb(b)|0;return b|0}c[d+4>>2]=666;c[b+24>>2]=c[35048];j=c[b+28>>2]|0;if(!j){b=-4;return b|0}switch(c[j+4>>2]|0){case 42:case 69:case 73:case 91:case 103:case 113:case 666:break;default:{b=-4;return b|0}}i=c[j+8>>2]|0;if(i){si[c[b+36>>2]&511](c[b+40>>2]|0,i);j=c[b+28>>2]|0}i=c[j+68>>2]|0;if(i){si[c[b+36>>2]&511](c[b+40>>2]|0,i);j=c[b+28>>2]|0}i=c[j+64>>2]|0;if(i){si[c[b+36>>2]&511](c[b+40>>2]|0,i);j=c[b+28>>2]|0}i=c[j+56>>2]|0;if(i){si[c[b+36>>2]&511](c[b+40>>2]|0,i);j=c[b+28>>2]|0}si[c[b+36>>2]&511](c[b+40>>2]|0,j);c[b+28>>2]=0;b=-4;return b|0}function flb(a){a=a|0;var d=0,f=0;if(!a){a=-2;return a|0}f=c[a+28>>2]|0;if(!f){a=-2;return a|0}if(!(c[a+32>>2]|0)){a=-2;return a|0}if(!(c[a+36>>2]|0)){a=-2;return a|0}c[a+20>>2]=0;c[a+8>>2]=0;c[a+24>>2]=0;c[a+44>>2]=2;c[f+20>>2]=0;c[f+16>>2]=c[f+8>>2];d=c[f+24>>2]|0;if((d|0)<0){c[f+24>>2]=0-d;d=0-d|0}c[f+4>>2]=d|0?42:113;if((d|0)==2)d=Hlb(0,0,0)|0;else d=Glb(0,0,0)|0;c[a+48>>2]=d;c[f+40>>2]=0;ulb(f);a=c[a+28>>2]|0;c[a+60>>2]=c[a+44>>2]<<1;f=c[a+76>>2]|0;d=c[a+68>>2]|0;b[d+(f+-1<<1)>>1]=0;hBb(d|0,0,(f<<1)+-2|0)|0;f=c[a+132>>2]|0;c[a+128>>2]=e[139556+(f*12|0)+2>>1];c[a+140>>2]=e[139556+(f*12|0)>>1];c[a+144>>2]=e[139556+(f*12|0)+4>>1];c[a+124>>2]=e[139556+(f*12|0)+6>>1];c[a+108>>2]=0;c[a+92>>2]=0;c[a+116>>2]=0;c[a+5812>>2]=0;c[a+120>>2]=2;c[a+96>>2]=2;c[a+104>>2]=0;c[a+72>>2]=0;a=0;return a|0}function glb(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;g=(c[a+12>>2]|0)+-5|0;g=g>>>0<65535?g:65535;while(1){d=c[a+116>>2]|0;if(d>>>0<2){hlb(a);d=c[a+116>>2]|0;if(!(d|b)){d=0;e=35;break}if(!d){e=20;break}}d=(c[a+108>>2]|0)+d|0;c[a+108>>2]=d;c[a+116>>2]=0;e=c[a+92>>2]|0;if(!((d|0)!=0&d>>>0<(e+g|0)>>>0)){c[a+116>>2]=d-(e+g);c[a+108>>2]=e+g;if((e|0)>-1)d=(c[a+56>>2]|0)+e|0;else d=0;zlb(a,d,g,0);c[a+92>>2]=c[a+108>>2];e=c[a>>2]|0;f=c[e+28>>2]|0;xlb(f);d=c[f+20>>2]|0;h=c[e+16>>2]|0;d=d>>>0>h>>>0?h:d;if(d|0){mBb(c[e+12>>2]|0,c[f+16>>2]|0,d|0)|0;c[e+12>>2]=(c[e+12>>2]|0)+d;c[f+16>>2]=(c[f+16>>2]|0)+d;c[e+20>>2]=(c[e+20>>2]|0)+d;c[e+16>>2]=(c[e+16>>2]|0)-d;h=c[f+20>>2]|0;c[f+20>>2]=h-d;if((h|0)==(d|0))c[f+16>>2]=c[f+8>>2]}if(!(c[(c[a>>2]|0)+16>>2]|0)){d=0;e=35;break}d=c[a+108>>2]|0;e=c[a+92>>2]|0}f=d-e|0;if(f>>>0<((c[a+44>>2]|0)+-262|0)>>>0)continue;if((e|0)>-1)d=(c[a+56>>2]|0)+e|0;else d=0;zlb(a,d,f,0);c[a+92>>2]=c[a+108>>2];e=c[a>>2]|0;f=c[e+28>>2]|0;xlb(f);d=c[f+20>>2]|0;h=c[e+16>>2]|0;d=d>>>0>h>>>0?h:d;if(d|0){mBb(c[e+12>>2]|0,c[f+16>>2]|0,d|0)|0;c[e+12>>2]=(c[e+12>>2]|0)+d;c[f+16>>2]=(c[f+16>>2]|0)+d;c[e+20>>2]=(c[e+20>>2]|0)+d;c[e+16>>2]=(c[e+16>>2]|0)-d;h=c[f+20>>2]|0;c[f+20>>2]=h-d;if((h|0)==(d|0))c[f+16>>2]=c[f+8>>2]}if(!(c[(c[a>>2]|0)+16>>2]|0)){d=0;e=35;break}}if((e|0)==20){c[a+5812>>2]=0;if((b|0)==4){d=c[a+92>>2]|0;if((d|0)>-1)e=(c[a+56>>2]|0)+d|0;else e=0;zlb(a,e,(c[a+108>>2]|0)-d|0,1);c[a+92>>2]=c[a+108>>2];e=c[a>>2]|0;f=c[e+28>>2]|0;xlb(f);d=c[f+20>>2]|0;h=c[e+16>>2]|0;d=d>>>0>h>>>0?h:d;if(d|0){mBb(c[e+12>>2]|0,c[f+16>>2]|0,d|0)|0;c[e+12>>2]=(c[e+12>>2]|0)+d;c[f+16>>2]=(c[f+16>>2]|0)+d;c[e+20>>2]=(c[e+20>>2]|0)+d;c[e+16>>2]=(c[e+16>>2]|0)-d;h=c[f+20>>2]|0;c[f+20>>2]=h-d;if((h|0)==(d|0))c[f+16>>2]=c[f+8>>2]}h=(c[(c[a>>2]|0)+16>>2]|0)==0?2:3;return h|0}d=c[a+108>>2]|0;e=c[a+92>>2]|0;if((d|0)>(e|0)){if((e|0)>-1)f=(c[a+56>>2]|0)+e|0;else f=0;zlb(a,f,d-e|0,0);c[a+92>>2]=c[a+108>>2];e=c[a>>2]|0;f=c[e+28>>2]|0;xlb(f);d=c[f+20>>2]|0;h=c[e+16>>2]|0;d=d>>>0>h>>>0?h:d;if(d|0){mBb(c[e+12>>2]|0,c[f+16>>2]|0,d|0)|0;c[e+12>>2]=(c[e+12>>2]|0)+d;c[f+16>>2]=(c[f+16>>2]|0)+d;c[e+20>>2]=(c[e+20>>2]|0)+d;c[e+16>>2]=(c[e+16>>2]|0)-d;h=c[f+20>>2]|0;c[f+20>>2]=h-d;if((h|0)==(d|0))c[f+16>>2]=c[f+8>>2]}if(!(c[(c[a>>2]|0)+16>>2]|0)){h=0;return h|0}}h=1;return h|0}else if((e|0)==35)return d|0;return 0}function hlb(a){a=a|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;m=c[a+44>>2]|0;f=c[a+116>>2]|0;h=m;while(1){g=c[a+108>>2]|0;i=(c[a+60>>2]|0)-f-g|0;if(g>>>0>=(m+-262+h|0)>>>0){g=c[a+56>>2]|0;mBb(g|0,g+m|0,m|0)|0;c[a+112>>2]=(c[a+112>>2]|0)-m;g=(c[a+108>>2]|0)-m|0;c[a+108>>2]=g;c[a+92>>2]=(c[a+92>>2]|0)-m;h=c[a+76>>2]|0;f=h;h=(c[a+68>>2]|0)+(h<<1)|0;do{h=h+-2|0;l=e[h>>1]|0;b[h>>1]=l>>>0>>0?0:l-m&65535;f=f+-1|0}while((f|0)!=0);f=m;h=(c[a+64>>2]|0)+(m<<1)|0;do{h=h+-2|0;l=e[h>>1]|0;b[h>>1]=l>>>0>>0?0:l-m&65535;f=f+-1|0}while((f|0)!=0);i=i+m|0}j=c[a>>2]|0;k=c[j+4>>2]|0;if(!k)break;f=c[a+116>>2]|0;h=(c[a+56>>2]|0)+g+f|0;g=k>>>0>i>>>0?i:k;if(!g)g=0;else{c[j+4>>2]=k-g;mBb(h|0,c[j>>2]|0,g|0)|0;switch(c[(c[j+28>>2]|0)+24>>2]|0){case 1:{c[j+48>>2]=Glb(c[j+48>>2]|0,h,g)|0;break}case 2:{c[j+48>>2]=Hlb(c[j+48>>2]|0,h,g)|0;break}default:{}}c[j>>2]=(c[j>>2]|0)+g;c[j+8>>2]=(c[j+8>>2]|0)+g;f=c[a+116>>2]|0}f=f+g|0;c[a+116>>2]=f;g=c[a+5812>>2]|0;a:do if((g+f|0)>>>0>2){i=(c[a+108>>2]|0)-g|0;k=c[a+56>>2]|0;h=d[k+i>>0]|0;c[a+72>>2]=h;l=c[a+88>>2]|0;j=c[a+84>>2]|0;h=((d[k+(i+1)>>0]|0)^h<>2]=h;while(1){if(!g)break a;h=((d[k+(i+2)>>0]|0)^h<>2]=h;n=(c[a+68>>2]|0)+(h<<1)|0;b[(c[a+64>>2]|0)+((c[a+52>>2]&i)<<1)>>1]=b[n>>1]|0;b[n>>1]=i;g=g+-1|0;c[a+5812>>2]=g;if((f+g|0)>>>0<3)break;else i=i+1|0}}while(0);if(f>>>0>=262)break;if(!(c[(c[a>>2]|0)+4>>2]|0))break;h=c[a+44>>2]|0}f=c[a+5824>>2]|0;g=c[a+60>>2]|0;if(g>>>0<=f>>>0)return;h=(c[a+116>>2]|0)+(c[a+108>>2]|0)|0;if(f>>>0>>0){n=(g-h|0)>>>0>258?258:g-h|0;hBb((c[a+56>>2]|0)+h|0,0,n|0)|0;c[a+5824>>2]=n+h;return}if((h+258|0)>>>0<=f>>>0)return;n=(h+258-f|0)>>>0>(g-f|0)>>>0?g-f|0:h+258-f|0;hBb((c[a+56>>2]|0)+f|0,0,n|0)|0;c[a+5824>>2]=(c[a+5824>>2]|0)+n;return}function ilb(e,f){e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;while(1){if((c[e+116>>2]|0)>>>0<262){hlb(e);g=c[e+116>>2]|0;if((f|0)==0&g>>>0<262){g=0;i=39;break}if(!g){i=24;break}if(g>>>0>2)i=6;else i=9}else i=6;if((i|0)==6){i=0;g=c[e+108>>2]|0;q=((d[(c[e+56>>2]|0)+(g+2)>>0]|0)^c[e+72>>2]<>2])&c[e+84>>2];c[e+72>>2]=q;q=(c[e+68>>2]|0)+(q<<1)|0;h=b[q>>1]|0;b[(c[e+64>>2]|0)+((c[e+52>>2]&g)<<1)>>1]=h;b[q>>1]=g;if(!(h<<16>>16))i=9;else if((g-(h&65535)|0)>>>0>((c[e+44>>2]|0)+-262|0)>>>0)i=9;else{g=jlb(e,h&65535)|0;c[e+96>>2]=g}}if((i|0)==9)g=c[e+96>>2]|0;do if(g>>>0>2){g=g+253|0;q=(c[e+108>>2]|0)-(c[e+112>>2]|0)|0;p=c[e+5792>>2]|0;b[(c[e+5796>>2]|0)+(p<<1)>>1]=q;c[e+5792>>2]=p+1;a[(c[e+5784>>2]|0)+p>>0]=g;g=e+148+((d[610496+(g&255)>>0]|0|256)+1<<2)|0;b[g>>1]=(b[g>>1]|0)+1<<16>>16;q=e+2440+((d[609984+((q+65535&65535)>>>0<256?q+65535&65535:((q+65535&65535)>>>7)+256|0)>>0]|0)<<2)|0;b[q>>1]=(b[q>>1]|0)+1<<16>>16;q=(c[e+5792>>2]|0)==((c[e+5788>>2]|0)+-1|0)&1;g=c[e+96>>2]|0;p=(c[e+116>>2]|0)-g|0;c[e+116>>2]=p;if(!(p>>>0>2?g>>>0<=(c[e+128>>2]|0)>>>0:0)){i=(c[e+108>>2]|0)+g|0;c[e+108>>2]=i;c[e+96>>2]=0;p=c[e+56>>2]|0;g=d[p+i>>0]|0;c[e+72>>2]=g;c[e+72>>2]=((d[p+(i+1)>>0]|0)^g<>2])&c[e+84>>2];g=q;break}c[e+96>>2]=g+-1;k=c[e+88>>2]|0;l=c[e+56>>2]|0;m=c[e+84>>2]|0;n=c[e+68>>2]|0;o=c[e+52>>2]|0;p=c[e+64>>2]|0;h=g+-1|0;g=c[e+108>>2]|0;j=c[e+72>>2]|0;while(1){i=g+1|0;c[e+108>>2]=i;j=((d[l+(g+3)>>0]|0)^j<>2]=j;r=n+(j<<1)|0;b[p+((o&i)<<1)>>1]=b[r>>1]|0;b[r>>1]=i;h=h+-1|0;c[e+96>>2]=h;if(!h)break;else g=i}c[e+108>>2]=g+2;i=g+2|0;g=q}else{g=a[(c[e+56>>2]|0)+(c[e+108>>2]|0)>>0]|0;i=c[e+5792>>2]|0;b[(c[e+5796>>2]|0)+(i<<1)>>1]=0;c[e+5792>>2]=i+1;a[(c[e+5784>>2]|0)+i>>0]=g;b[e+148+((g&255)<<2)>>1]=(b[e+148+((g&255)<<2)>>1]|0)+1<<16>>16;g=(c[e+5792>>2]|0)==((c[e+5788>>2]|0)+-1|0)&1;c[e+116>>2]=(c[e+116>>2]|0)+-1;i=(c[e+108>>2]|0)+1|0;c[e+108>>2]=i}while(0);if(!g)continue;g=c[e+92>>2]|0;if((g|0)>-1)h=(c[e+56>>2]|0)+g|0;else h=0;zlb(e,h,i-g|0,0);c[e+92>>2]=c[e+108>>2];h=c[e>>2]|0;i=c[h+28>>2]|0;xlb(i);g=c[i+20>>2]|0;r=c[h+16>>2]|0;g=g>>>0>r>>>0?r:g;if(g|0){mBb(c[h+12>>2]|0,c[i+16>>2]|0,g|0)|0;c[h+12>>2]=(c[h+12>>2]|0)+g;c[i+16>>2]=(c[i+16>>2]|0)+g;c[h+20>>2]=(c[h+20>>2]|0)+g;c[h+16>>2]=(c[h+16>>2]|0)-g;r=c[i+20>>2]|0;c[i+20>>2]=r-g;if((r|0)==(g|0))c[i+16>>2]=c[i+8>>2]}if(!(c[(c[e>>2]|0)+16>>2]|0)){g=0;i=39;break}}if((i|0)==24){i=c[e+108>>2]|0;c[e+5812>>2]=i>>>0<2?i:2;if((f|0)==4){g=c[e+92>>2]|0;if((g|0)>-1)h=(c[e+56>>2]|0)+g|0;else h=0;zlb(e,h,i-g|0,1);c[e+92>>2]=c[e+108>>2];h=c[e>>2]|0;i=c[h+28>>2]|0;xlb(i);g=c[i+20>>2]|0;r=c[h+16>>2]|0;g=g>>>0>r>>>0?r:g;if(g|0){mBb(c[h+12>>2]|0,c[i+16>>2]|0,g|0)|0;c[h+12>>2]=(c[h+12>>2]|0)+g;c[i+16>>2]=(c[i+16>>2]|0)+g;c[h+20>>2]=(c[h+20>>2]|0)+g;c[h+16>>2]=(c[h+16>>2]|0)-g;r=c[i+20>>2]|0;c[i+20>>2]=r-g;if((r|0)==(g|0))c[i+16>>2]=c[i+8>>2]}r=(c[(c[e>>2]|0)+16>>2]|0)==0?2:3;return r|0}if(c[e+5792>>2]|0){g=c[e+92>>2]|0;if((g|0)>-1)h=(c[e+56>>2]|0)+g|0;else h=0;zlb(e,h,i-g|0,0);c[e+92>>2]=c[e+108>>2];h=c[e>>2]|0;i=c[h+28>>2]|0;xlb(i);g=c[i+20>>2]|0;r=c[h+16>>2]|0;g=g>>>0>r>>>0?r:g;if(g|0){mBb(c[h+12>>2]|0,c[i+16>>2]|0,g|0)|0;c[h+12>>2]=(c[h+12>>2]|0)+g;c[i+16>>2]=(c[i+16>>2]|0)+g;c[h+20>>2]=(c[h+20>>2]|0)+g;c[h+16>>2]=(c[h+16>>2]|0)-g;r=c[i+20>>2]|0;c[i+20>>2]=r-g;if((r|0)==(g|0))c[i+16>>2]=c[i+8>>2]}if(!(c[(c[e>>2]|0)+16>>2]|0)){r=0;return r|0}}r=1;return r|0}else if((i|0)==39)return g|0;return 0}function jlb(b,d){b=b|0;d=d|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;m=c[b+124>>2]|0;r=c[b+56>>2]|0;t=c[b+108>>2]|0;k=c[b+120>>2]|0;o=c[b+144>>2]|0;n=(c[b+44>>2]|0)+-262|0;n=t>>>0>n>>>0?t-n|0:0;p=c[b+64>>2]|0;q=c[b+52>>2]|0;u=c[b+116>>2]|0;o=o>>>0>u>>>0?u:o;s=r+t+258+-258|0;l=d;d=k;m=k>>>0<(c[b+140>>2]|0)>>>0?m:m>>>2;g=r+t|0;h=a[r+t+k>>0]|0;k=a[r+t+(k+-1)>>0]|0;while(1){f=r+l|0;if((a[f+d>>0]|0)==h<<24>>24)if((a[f+(d+-1)>>0]|0)==k<<24>>24)if((a[f>>0]|0)==(a[g>>0]|0))if((a[f+1>>0]|0)==(a[g+1>>0]|0)){j=f+1|0;i=g+2|0;while(1){f=i+1|0;if((a[f>>0]|0)!=(a[j+2>>0]|0))break;f=i+2|0;if((a[f>>0]|0)!=(a[j+3>>0]|0))break;f=i+3|0;if((a[f>>0]|0)!=(a[j+4>>0]|0))break;f=i+4|0;if((a[f>>0]|0)!=(a[j+5>>0]|0))break;f=i+5|0;if((a[f>>0]|0)!=(a[j+6>>0]|0))break;f=i+6|0;if((a[f>>0]|0)!=(a[j+7>>0]|0))break;f=i+7|0;g=j;j=j+8|0;if((a[f>>0]|0)!=(a[j>>0]|0))break;f=i+8|0;if(!(f>>>0<(r+t+258|0)>>>0?(a[f>>0]|0)==(a[g+9>>0]|0):0))break;else i=f}f=f-(r+t+258)|0;if((f+258|0)>(d|0)){c[b+112>>2]=l;if((f+258|0)>=(o|0)){d=f+258|0;f=20;break}d=f+258|0;g=s;h=a[s+(f+258)>>0]|0;f=a[s+(f+257)>>0]|0}else{g=s;f=k}}else f=k;else f=k;else f=k;else f=k;l=e[p+((l&q)<<1)>>1]|0;if(l>>>0<=n>>>0){f=20;break}m=m+-1|0;if(!m){f=20;break}else k=f}if((f|0)==20)return (d>>>0>u>>>0?u:d)|0;return 0}function klb(e,f){e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:while(1){g=c[e+116>>2]|0;while(1){if(g>>>0<262){hlb(e);g=c[e+116>>2]|0;if((f|0)==0&g>>>0<262){g=0;i=55;break a}if(!g){i=38;break a}if(g>>>0>2)i=8;else{c[e+120>>2]=c[e+96>>2];c[e+100>>2]=c[e+112>>2];c[e+96>>2]=2;g=2;i=16}}else i=8;do if((i|0)==8){i=0;l=c[e+108>>2]|0;h=((d[(c[e+56>>2]|0)+(l+2)>>0]|0)^c[e+72>>2]<>2])&c[e+84>>2];c[e+72>>2]=h;h=(c[e+68>>2]|0)+(h<<1)|0;g=b[h>>1]|0;b[(c[e+64>>2]|0)+((c[e+52>>2]&l)<<1)>>1]=g;b[h>>1]=l;h=c[e+96>>2]|0;c[e+120>>2]=h;c[e+100>>2]=c[e+112>>2];c[e+96>>2]=2;if(!(g<<16>>16)){g=2;i=16}else if(h>>>0<(c[e+128>>2]|0)>>>0)if(((c[e+108>>2]|0)-(g&65535)|0)>>>0>((c[e+44>>2]|0)+-262|0)>>>0){g=2;i=16}else{g=jlb(e,g&65535)|0;c[e+96>>2]=g;if(g>>>0<6){if((c[e+136>>2]|0)!=1){if((g|0)!=3){i=16;break}if(((c[e+108>>2]|0)-(c[e+112>>2]|0)|0)>>>0<=4096){g=3;i=16;break}}c[e+96>>2]=2;g=2;i=16}else i=16}else g=2}while(0);if((i|0)==16)h=c[e+120>>2]|0;if(!(h>>>0<3|g>>>0>h>>>0)){g=h;break}if(!(c[e+104>>2]|0)){c[e+104>>2]=1;c[e+108>>2]=(c[e+108>>2]|0)+1;g=(c[e+116>>2]|0)+-1|0;c[e+116>>2]=g;continue}l=a[(c[e+56>>2]|0)+((c[e+108>>2]|0)+-1)>>0]|0;k=c[e+5792>>2]|0;b[(c[e+5796>>2]|0)+(k<<1)>>1]=0;c[e+5792>>2]=k+1;a[(c[e+5784>>2]|0)+k>>0]=l;b[e+148+((l&255)<<2)>>1]=(b[e+148+((l&255)<<2)>>1]|0)+1<<16>>16;if((c[e+5792>>2]|0)==((c[e+5788>>2]|0)+-1|0)){g=c[e+92>>2]|0;if((g|0)>-1)h=(c[e+56>>2]|0)+g|0;else h=0;zlb(e,h,(c[e+108>>2]|0)-g|0,0);c[e+92>>2]=c[e+108>>2];h=c[e>>2]|0;i=c[h+28>>2]|0;xlb(i);g=c[i+20>>2]|0;l=c[h+16>>2]|0;g=g>>>0>l>>>0?l:g;if(g|0){mBb(c[h+12>>2]|0,c[i+16>>2]|0,g|0)|0;c[h+12>>2]=(c[h+12>>2]|0)+g;c[i+16>>2]=(c[i+16>>2]|0)+g;c[h+20>>2]=(c[h+20>>2]|0)+g;c[h+16>>2]=(c[h+16>>2]|0)-g;l=c[i+20>>2]|0;c[i+20>>2]=l-g;if((l|0)==(g|0))c[i+16>>2]=c[i+8>>2]}}c[e+108>>2]=(c[e+108>>2]|0)+1;g=(c[e+116>>2]|0)+-1|0;c[e+116>>2]=g;if(!(c[(c[e>>2]|0)+16>>2]|0)){g=0;i=55;break a}}j=c[e+108>>2]|0;l=j+-3+(c[e+116>>2]|0)|0;j=j+65535-(c[e+100>>2]|0)|0;k=c[e+5792>>2]|0;b[(c[e+5796>>2]|0)+(k<<1)>>1]=j;c[e+5792>>2]=k+1;a[(c[e+5784>>2]|0)+k>>0]=g+253;k=e+148+((d[610496+(g+253&255)>>0]|0|256)+1<<2)|0;b[k>>1]=(b[k>>1]|0)+1<<16>>16;j=e+2440+((d[609984+((j+65535&65535)>>>0<256?j+65535&65535:((j+65535&65535)>>>7)+256|0)>>0]|0)<<2)|0;b[j>>1]=(b[j>>1]|0)+1<<16>>16;j=c[e+5792>>2]|0;k=(c[e+5788>>2]|0)+-1|0;h=c[e+120>>2]|0;c[e+116>>2]=1-h+(c[e+116>>2]|0);c[e+120>>2]=h+-2;i=c[e+108>>2]|0;h=h+-2|0;while(1){g=i+1|0;c[e+108>>2]=g;if(g>>>0<=l>>>0){m=((d[(c[e+56>>2]|0)+(i+3)>>0]|0)^c[e+72>>2]<>2])&c[e+84>>2];c[e+72>>2]=m;m=(c[e+68>>2]|0)+(m<<1)|0;b[(c[e+64>>2]|0)+((c[e+52>>2]&g)<<1)>>1]=b[m>>1]|0;b[m>>1]=g}h=h+-1|0;c[e+120>>2]=h;if(!h)break;else i=g}c[e+104>>2]=0;c[e+96>>2]=2;c[e+108>>2]=i+2;if((j|0)!=(k|0))continue;g=c[e+92>>2]|0;if((g|0)>-1)h=(c[e+56>>2]|0)+g|0;else h=0;zlb(e,h,i+2-g|0,0);c[e+92>>2]=c[e+108>>2];h=c[e>>2]|0;i=c[h+28>>2]|0;xlb(i);g=c[i+20>>2]|0;m=c[h+16>>2]|0;g=g>>>0>m>>>0?m:g;if(g|0){mBb(c[h+12>>2]|0,c[i+16>>2]|0,g|0)|0;c[h+12>>2]=(c[h+12>>2]|0)+g;c[i+16>>2]=(c[i+16>>2]|0)+g;c[h+20>>2]=(c[h+20>>2]|0)+g;c[h+16>>2]=(c[h+16>>2]|0)-g;m=c[i+20>>2]|0;c[i+20>>2]=m-g;if((m|0)==(g|0))c[i+16>>2]=c[i+8>>2]}if(!(c[(c[e>>2]|0)+16>>2]|0)){g=0;i=55;break}}if((i|0)==38){if(c[e+104>>2]|0){m=a[(c[e+56>>2]|0)+((c[e+108>>2]|0)+-1)>>0]|0;l=c[e+5792>>2]|0;b[(c[e+5796>>2]|0)+(l<<1)>>1]=0;c[e+5792>>2]=l+1;a[(c[e+5784>>2]|0)+l>>0]=m;b[e+148+((m&255)<<2)>>1]=(b[e+148+((m&255)<<2)>>1]|0)+1<<16>>16;c[e+104>>2]=0}i=c[e+108>>2]|0;c[e+5812>>2]=i>>>0<2?i:2;if((f|0)==4){g=c[e+92>>2]|0;if((g|0)>-1)h=(c[e+56>>2]|0)+g|0;else h=0;zlb(e,h,i-g|0,1);c[e+92>>2]=c[e+108>>2];h=c[e>>2]|0;i=c[h+28>>2]|0;xlb(i);g=c[i+20>>2]|0;m=c[h+16>>2]|0;g=g>>>0>m>>>0?m:g;if(g|0){mBb(c[h+12>>2]|0,c[i+16>>2]|0,g|0)|0;c[h+12>>2]=(c[h+12>>2]|0)+g;c[i+16>>2]=(c[i+16>>2]|0)+g;c[h+20>>2]=(c[h+20>>2]|0)+g;c[h+16>>2]=(c[h+16>>2]|0)-g;m=c[i+20>>2]|0;c[i+20>>2]=m-g;if((m|0)==(g|0))c[i+16>>2]=c[i+8>>2]}m=(c[(c[e>>2]|0)+16>>2]|0)==0?2:3;return m|0}if(c[e+5792>>2]|0){g=c[e+92>>2]|0;if((g|0)>-1)h=(c[e+56>>2]|0)+g|0;else h=0;zlb(e,h,i-g|0,0);c[e+92>>2]=c[e+108>>2];h=c[e>>2]|0;i=c[h+28>>2]|0;xlb(i);g=c[i+20>>2]|0;m=c[h+16>>2]|0;g=g>>>0>m>>>0?m:g;if(g|0){mBb(c[h+12>>2]|0,c[i+16>>2]|0,g|0)|0;c[h+12>>2]=(c[h+12>>2]|0)+g;c[i+16>>2]=(c[i+16>>2]|0)+g;c[h+20>>2]=(c[h+20>>2]|0)+g;c[h+16>>2]=(c[h+16>>2]|0)-g;m=c[i+20>>2]|0;c[i+20>>2]=m-g;if((m|0)==(g|0))c[i+16>>2]=c[i+8>>2]}if(!(c[(c[e>>2]|0)+16>>2]|0)){m=0;return m|0}}m=1;return m|0}else if((i|0)==55)return g|0;return 0}function llb(a){a=a|0;var b=0,d=0,e=0,f=0;if(!a){a=-2;return a|0}b=c[a+28>>2]|0;if(!b){a=-2;return a|0}f=c[b+4>>2]|0;switch(f|0){case 42:case 69:case 73:case 91:case 103:case 113:case 666:break;default:{a=-2;return a|0}}d=c[b+8>>2]|0;if(d){si[c[a+36>>2]&511](c[a+40>>2]|0,d);b=c[a+28>>2]|0}d=c[b+68>>2]|0;if(d){si[c[a+36>>2]&511](c[a+40>>2]|0,d);b=c[a+28>>2]|0}d=c[b+64>>2]|0;if(d){si[c[a+36>>2]&511](c[a+40>>2]|0,d);b=c[a+28>>2]|0}d=c[b+56>>2]|0;if(!d){d=a+40|0;e=a+36|0}else{si[c[a+36>>2]&511](c[a+40>>2]|0,d);d=a+40|0;e=a+36|0;b=c[a+28>>2]|0}si[c[e>>2]&511](c[d>>2]|0,b);c[a+28>>2]=0;a=(f|0)==113?-3:0;return a|0}function mlb(e,f){e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;if(!e){n=-2;return n|0}n=c[e+28>>2]|0;if(f>>>0>5|(n|0)==0){n=-2;return n|0}do if(c[e+12>>2]|0){if(!(c[e>>2]|0))if(c[e+4>>2]|0)break;g=c[n+4>>2]|0;if(!((f|0)!=4&(g|0)==666)){if(!(c[e+16>>2]|0)){c[e+24>>2]=c[35049];n=-5;return n|0}c[n>>2]=e;l=c[n+40>>2]|0;c[n+40>>2]=f;do if((g|0)==42){if((c[n+24>>2]|0)!=2){h=(c[n+48>>2]<<12)+-30720|0;if((c[n+136>>2]|0)>1)g=0;else{g=c[n+132>>2]|0;if((g|0)<2)g=0;else if((g|0)<6)g=64;else g=(g|0)==6?128:192}k=g|h;k=(c[n+108>>2]|0)==0?k:k|32;c[n+4>>2]=113;m=c[n+20>>2]|0;c[n+20>>2]=m+1;a[(c[n+8>>2]|0)+m>>0]=k>>>8;m=c[n+20>>2]|0;c[n+20>>2]=m+1;a[(c[n+8>>2]|0)+m>>0]=((k>>>0)%31|0|k)^31;if(c[n+108>>2]|0){m=c[e+48>>2]|0;k=c[n+20>>2]|0;c[n+20>>2]=k+1;a[(c[n+8>>2]|0)+k>>0]=m>>>24;k=c[n+20>>2]|0;c[n+20>>2]=k+1;a[(c[n+8>>2]|0)+k>>0]=m>>>16;k=c[e+48>>2]|0;m=c[n+20>>2]|0;c[n+20>>2]=m+1;a[(c[n+8>>2]|0)+m>>0]=k>>>8;m=c[n+20>>2]|0;c[n+20>>2]=m+1;a[(c[n+8>>2]|0)+m>>0]=k}c[e+48>>2]=Glb(0,0,0)|0;g=c[n+4>>2]|0;m=30;break}c[e+48>>2]=Hlb(0,0,0)|0;g=c[n+20>>2]|0;c[n+20>>2]=g+1;a[(c[n+8>>2]|0)+g>>0]=31;g=c[n+20>>2]|0;c[n+20>>2]=g+1;a[(c[n+8>>2]|0)+g>>0]=-117;g=c[n+20>>2]|0;c[n+20>>2]=g+1;a[(c[n+8>>2]|0)+g>>0]=8;g=c[n+28>>2]|0;if(!g){g=c[n+20>>2]|0;c[n+20>>2]=g+1;a[(c[n+8>>2]|0)+g>>0]=0;g=c[n+20>>2]|0;c[n+20>>2]=g+1;a[(c[n+8>>2]|0)+g>>0]=0;g=c[n+20>>2]|0;c[n+20>>2]=g+1;a[(c[n+8>>2]|0)+g>>0]=0;g=c[n+20>>2]|0;c[n+20>>2]=g+1;a[(c[n+8>>2]|0)+g>>0]=0;g=c[n+20>>2]|0;c[n+20>>2]=g+1;a[(c[n+8>>2]|0)+g>>0]=0;g=c[n+132>>2]|0;if((g|0)==9)g=2;else g=((g|0)<2?1:(c[n+136>>2]|0)>1)?4:0;k=c[n+20>>2]|0;c[n+20>>2]=k+1;a[(c[n+8>>2]|0)+k>>0]=g;k=c[n+20>>2]|0;c[n+20>>2]=k+1;a[(c[n+8>>2]|0)+k>>0]=3;c[n+4>>2]=113;break}m=((c[g+44>>2]|0?2:0)|(c[g>>2]|0)!=0|((c[g+16>>2]|0)==0?0:4)|((c[g+28>>2]|0)==0?0:8)|((c[g+36>>2]|0)==0?0:16))&255;g=c[n+20>>2]|0;c[n+20>>2]=g+1;a[(c[n+8>>2]|0)+g>>0]=m;g=c[(c[n+28>>2]|0)+4>>2]&255;m=c[n+20>>2]|0;c[n+20>>2]=m+1;a[(c[n+8>>2]|0)+m>>0]=g;m=(c[(c[n+28>>2]|0)+4>>2]|0)>>>8&255;g=c[n+20>>2]|0;c[n+20>>2]=g+1;a[(c[n+8>>2]|0)+g>>0]=m;g=(c[(c[n+28>>2]|0)+4>>2]|0)>>>16&255;m=c[n+20>>2]|0;c[n+20>>2]=m+1;a[(c[n+8>>2]|0)+m>>0]=g;m=(c[(c[n+28>>2]|0)+4>>2]|0)>>>24&255;g=c[n+20>>2]|0;c[n+20>>2]=g+1;a[(c[n+8>>2]|0)+g>>0]=m;g=c[n+132>>2]|0;if((g|0)==9)g=2;else g=((g|0)<2?1:(c[n+136>>2]|0)>1)?4:0;m=c[n+20>>2]|0;c[n+20>>2]=m+1;a[(c[n+8>>2]|0)+m>>0]=g;m=c[(c[n+28>>2]|0)+12>>2]&255;g=c[n+20>>2]|0;c[n+20>>2]=g+1;a[(c[n+8>>2]|0)+g>>0]=m;g=c[n+28>>2]|0;if(c[g+16>>2]|0){g=c[g+20>>2]&255;m=c[n+20>>2]|0;c[n+20>>2]=m+1;a[(c[n+8>>2]|0)+m>>0]=g;m=(c[(c[n+28>>2]|0)+20>>2]|0)>>>8&255;g=c[n+20>>2]|0;c[n+20>>2]=g+1;a[(c[n+8>>2]|0)+g>>0]=m;g=c[n+28>>2]|0}if(c[g+44>>2]|0)c[e+48>>2]=Hlb(c[e+48>>2]|0,c[n+8>>2]|0,c[n+20>>2]|0)|0;c[n+32>>2]=0;c[n+4>>2]=69;g=n+28|0;m=32}else m=30;while(0);if((m|0)==30)if((g|0)==69){g=n+28|0;m=32}else m=53;do if((m|0)==32){h=c[g>>2]|0;if(!(c[h+16>>2]|0)){c[n+4>>2]=73;m=55;break}j=c[n+20>>2]|0;i=c[n+32>>2]|0;a:do if(i>>>0<(c[h+20>>2]&65535)>>>0){k=j;while(1){if((k|0)==(c[n+12>>2]|0)){if(k>>>0>j>>>0&(c[h+44>>2]|0)!=0)c[e+48>>2]=Hlb(c[e+48>>2]|0,(c[n+8>>2]|0)+j|0,k-j|0)|0;i=c[e+28>>2]|0;xlb(i);h=c[i+20>>2]|0;m=c[e+16>>2]|0;h=h>>>0>m>>>0?m:h;if(h|0){mBb(c[e+12>>2]|0,c[i+16>>2]|0,h|0)|0;c[e+12>>2]=(c[e+12>>2]|0)+h;c[i+16>>2]=(c[i+16>>2]|0)+h;c[e+20>>2]=(c[e+20>>2]|0)+h;c[e+16>>2]=(c[e+16>>2]|0)-h;m=c[i+20>>2]|0;c[i+20>>2]=m-h;if((m|0)==(h|0))c[i+16>>2]=c[i+8>>2]}j=c[n+20>>2]|0;if((j|0)==(c[n+12>>2]|0))break;h=c[g>>2]|0;i=c[n+32>>2]|0;k=j}i=a[(c[h+16>>2]|0)+i>>0]|0;c[n+20>>2]=k+1;a[(c[n+8>>2]|0)+k>>0]=i;i=(c[n+32>>2]|0)+1|0;c[n+32>>2]=i;h=c[g>>2]|0;if(i>>>0>=(c[h+20>>2]&65535)>>>0)break a;k=c[n+20>>2]|0}h=c[g>>2]|0}while(0);if(c[h+44>>2]|0){i=c[n+20>>2]|0;if(i>>>0>j>>>0){c[e+48>>2]=Hlb(c[e+48>>2]|0,(c[n+8>>2]|0)+j|0,i-j|0)|0;h=c[g>>2]|0}}if((c[n+32>>2]|0)==(c[h+20>>2]|0)){c[n+32>>2]=0;c[n+4>>2]=73;m=55;break}else{g=c[n+4>>2]|0;m=53;break}}while(0);if((m|0)==53)if((g|0)==73){g=n+28|0;h=c[n+28>>2]|0;m=55}else m=73;do if((m|0)==55){if(!(c[h+28>>2]|0)){c[n+4>>2]=91;m=75;break}h=c[n+20>>2]|0;i=h;while(1){if((i|0)==(c[n+12>>2]|0)){if(i>>>0>h>>>0?(c[(c[g>>2]|0)+44>>2]|0)!=0:0)c[e+48>>2]=Hlb(c[e+48>>2]|0,(c[n+8>>2]|0)+h|0,i-h|0)|0;i=c[e+28>>2]|0;xlb(i);h=c[i+20>>2]|0;m=c[e+16>>2]|0;h=h>>>0>m>>>0?m:h;if(h|0){mBb(c[e+12>>2]|0,c[i+16>>2]|0,h|0)|0;c[e+12>>2]=(c[e+12>>2]|0)+h;c[i+16>>2]=(c[i+16>>2]|0)+h;c[e+20>>2]=(c[e+20>>2]|0)+h;c[e+16>>2]=(c[e+16>>2]|0)-h;m=c[i+20>>2]|0;c[i+20>>2]=m-h;if((m|0)==(h|0))c[i+16>>2]=c[i+8>>2]}h=c[n+20>>2]|0;if((h|0)==(c[n+12>>2]|0)){j=1;break}else i=h}j=c[n+32>>2]|0;c[n+32>>2]=j+1;j=a[(c[(c[g>>2]|0)+28>>2]|0)+j>>0]|0;c[n+20>>2]=i+1;a[(c[n+8>>2]|0)+i>>0]=j;if(!(j<<24>>24)){j=j&255;break}i=c[n+20>>2]|0}if(c[(c[g>>2]|0)+44>>2]|0){i=c[n+20>>2]|0;if(i>>>0>h>>>0)c[e+48>>2]=Hlb(c[e+48>>2]|0,(c[n+8>>2]|0)+h|0,i-h|0)|0}if(!j){c[n+32>>2]=0;c[n+4>>2]=91;m=75;break}else{g=c[n+4>>2]|0;m=73;break}}while(0);if((m|0)==73)if((g|0)==91){g=n+28|0;m=75}else m=93;do if((m|0)==75){if(!(c[(c[g>>2]|0)+36>>2]|0)){c[n+4>>2]=103;m=95;break}h=c[n+20>>2]|0;i=h;while(1){if((i|0)==(c[n+12>>2]|0)){if(i>>>0>h>>>0?(c[(c[g>>2]|0)+44>>2]|0)!=0:0)c[e+48>>2]=Hlb(c[e+48>>2]|0,(c[n+8>>2]|0)+h|0,i-h|0)|0;i=c[e+28>>2]|0;xlb(i);h=c[i+20>>2]|0;m=c[e+16>>2]|0;h=h>>>0>m>>>0?m:h;if(h|0){mBb(c[e+12>>2]|0,c[i+16>>2]|0,h|0)|0;c[e+12>>2]=(c[e+12>>2]|0)+h;c[i+16>>2]=(c[i+16>>2]|0)+h;c[e+20>>2]=(c[e+20>>2]|0)+h;c[e+16>>2]=(c[e+16>>2]|0)-h;m=c[i+20>>2]|0;c[i+20>>2]=m-h;if((m|0)==(h|0))c[i+16>>2]=c[i+8>>2]}h=c[n+20>>2]|0;if((h|0)==(c[n+12>>2]|0)){j=1;break}else i=h}j=c[n+32>>2]|0;c[n+32>>2]=j+1;j=a[(c[(c[g>>2]|0)+36>>2]|0)+j>>0]|0;c[n+20>>2]=i+1;a[(c[n+8>>2]|0)+i>>0]=j;if(!(j<<24>>24)){j=j&255;break}i=c[n+20>>2]|0}if(c[(c[g>>2]|0)+44>>2]|0){i=c[n+20>>2]|0;if(i>>>0>h>>>0)c[e+48>>2]=Hlb(c[e+48>>2]|0,(c[n+8>>2]|0)+h|0,i-h|0)|0}if(!j){c[n+4>>2]=103;m=95;break}else{g=c[n+4>>2]|0;m=93;break}}while(0);if((m|0)==93)if((g|0)==103){g=n+28|0;m=95}do if((m|0)==95){if(!(c[(c[g>>2]|0)+44>>2]|0)){c[n+4>>2]=113;break}if(((c[n+20>>2]|0)+2|0)>>>0>(c[n+12>>2]|0)>>>0){h=c[e+28>>2]|0;xlb(h);g=c[h+20>>2]|0;m=c[e+16>>2]|0;g=g>>>0>m>>>0?m:g;if(g|0){mBb(c[e+12>>2]|0,c[h+16>>2]|0,g|0)|0;c[e+12>>2]=(c[e+12>>2]|0)+g;c[h+16>>2]=(c[h+16>>2]|0)+g;c[e+20>>2]=(c[e+20>>2]|0)+g;c[e+16>>2]=(c[e+16>>2]|0)-g;m=c[h+20>>2]|0;c[h+20>>2]=m-g;if((m|0)==(g|0))c[h+16>>2]=c[h+8>>2]}}g=c[n+20>>2]|0;if((g+2|0)>>>0<=(c[n+12>>2]|0)>>>0){k=c[e+48>>2]&255;c[n+20>>2]=g+1;a[(c[n+8>>2]|0)+g>>0]=k;k=(c[e+48>>2]|0)>>>8&255;m=c[n+20>>2]|0;c[n+20>>2]=m+1;a[(c[n+8>>2]|0)+m>>0]=k;c[e+48>>2]=Hlb(0,0,0)|0;c[n+4>>2]=113}}while(0);if(!(c[n+20>>2]|0)){if(!(c[e+4>>2]|0))if((f|0)!=4?((f<<1)-((f|0)>4?9:0)|0)<=((l<<1)-((l|0)>4?9:0)|0):0){c[e+24>>2]=c[35049];n=-5;return n|0}}else{i=c[e+28>>2]|0;xlb(i);h=c[i+20>>2]|0;g=c[e+16>>2]|0;h=h>>>0>g>>>0?g:h;if(h){mBb(c[e+12>>2]|0,c[i+16>>2]|0,h|0)|0;c[e+12>>2]=(c[e+12>>2]|0)+h;c[i+16>>2]=(c[i+16>>2]|0)+h;c[e+20>>2]=(c[e+20>>2]|0)+h;g=(c[e+16>>2]|0)-h|0;c[e+16>>2]=g;m=c[i+20>>2]|0;c[i+20>>2]=m-h;if((m|0)==(h|0))c[i+16>>2]=c[i+8>>2]}if(!g){c[n+40>>2]=-1;n=0;return n|0}}h=(c[n+4>>2]|0)==666;g=(c[e+4>>2]|0)==0;if(h)if(g)m=116;else{c[e+24>>2]=c[35049];n=-5;return n|0}else if(g)m=116;else m=117;if((m|0)==116)if(!((c[n+116>>2]|0)==0&((f|0)==0|h)))m=117;do if((m|0)==117){b:do switch(c[n+136>>2]|0){case 2:{while(1){if(!(c[n+116>>2]|0)){hlb(n);if(!(c[n+116>>2]|0))break}c[n+96>>2]=0;l=a[(c[n+56>>2]|0)+(c[n+108>>2]|0)>>0]|0;g=c[n+5792>>2]|0;b[(c[n+5796>>2]|0)+(g<<1)>>1]=0;c[n+5792>>2]=g+1;a[(c[n+5784>>2]|0)+g>>0]=l;b[n+148+((l&255)<<2)>>1]=(b[n+148+((l&255)<<2)>>1]|0)+1<<16>>16;l=(c[n+5792>>2]|0)==((c[n+5788>>2]|0)+-1|0);c[n+116>>2]=(c[n+116>>2]|0)+-1;g=(c[n+108>>2]|0)+1|0;c[n+108>>2]=g;if(!l)continue;h=c[n+92>>2]|0;if((h|0)>-1)i=(c[n+56>>2]|0)+h|0;else i=0;zlb(n,i,g-h|0,0);c[n+92>>2]=c[n+108>>2];h=c[n>>2]|0;i=c[h+28>>2]|0;xlb(i);g=c[i+20>>2]|0;l=c[h+16>>2]|0;g=g>>>0>l>>>0?l:g;if(g|0){mBb(c[h+12>>2]|0,c[i+16>>2]|0,g|0)|0;c[h+12>>2]=(c[h+12>>2]|0)+g;c[i+16>>2]=(c[i+16>>2]|0)+g;c[h+20>>2]=(c[h+20>>2]|0)+g;c[h+16>>2]=(c[h+16>>2]|0)-g;l=c[i+20>>2]|0;c[i+20>>2]=l-g;if((l|0)==(g|0))c[i+16>>2]=c[i+8>>2]}if(!(c[(c[n>>2]|0)+16>>2]|0)){m=191;break b}}if(!f)m=191;else{c[n+5812>>2]=0;if((f|0)==4){g=c[n+92>>2]|0;if((g|0)>-1)h=(c[n+56>>2]|0)+g|0;else h=0;zlb(n,h,(c[n+108>>2]|0)-g|0,1);c[n+92>>2]=c[n+108>>2];h=c[n>>2]|0;i=c[h+28>>2]|0;xlb(i);g=c[i+20>>2]|0;m=c[h+16>>2]|0;g=g>>>0>m>>>0?m:g;if(g|0){mBb(c[h+12>>2]|0,c[i+16>>2]|0,g|0)|0;c[h+12>>2]=(c[h+12>>2]|0)+g;c[i+16>>2]=(c[i+16>>2]|0)+g;c[h+20>>2]=(c[h+20>>2]|0)+g;c[h+16>>2]=(c[h+16>>2]|0)-g;m=c[i+20>>2]|0;c[i+20>>2]=m-g;if((m|0)==(g|0))c[i+16>>2]=c[i+8>>2]}g=(c[(c[n>>2]|0)+16>>2]|0)==0?2:3;m=188;break b}if(c[n+5792>>2]|0){g=c[n+92>>2]|0;if((g|0)>-1)h=(c[n+56>>2]|0)+g|0;else h=0;zlb(n,h,(c[n+108>>2]|0)-g|0,0);c[n+92>>2]=c[n+108>>2];h=c[n>>2]|0;i=c[h+28>>2]|0;xlb(i);g=c[i+20>>2]|0;l=c[h+16>>2]|0;g=g>>>0>l>>>0?l:g;if(g|0){mBb(c[h+12>>2]|0,c[i+16>>2]|0,g|0)|0;c[h+12>>2]=(c[h+12>>2]|0)+g;c[i+16>>2]=(c[i+16>>2]|0)+g;c[h+20>>2]=(c[h+20>>2]|0)+g;c[h+16>>2]=(c[h+16>>2]|0)-g;l=c[i+20>>2]|0;c[i+20>>2]=l-g;if((l|0)==(g|0))c[i+16>>2]=c[i+8>>2]}if(!(c[(c[n>>2]|0)+16>>2]|0))m=191}}break}case 3:{while(1){g=c[n+116>>2]|0;if(g>>>0<259){hlb(n);g=c[n+116>>2]|0;if((f|0)==0&g>>>0<259){m=191;break b}if(!g)break;c[n+96>>2]=0;if(g>>>0>2)m=150;else{g=c[n+108>>2]|0;m=165}}else{c[n+96>>2]=0;m=150}if((m|0)==150){m=0;l=c[n+108>>2]|0;if(!l){g=0;m=165}else{k=(c[n+56>>2]|0)+l|0;j=a[k+-1>>0]|0;if(j<<24>>24==(a[k+-1+1>>0]|0)){h=k+-1+1+1|0;if(j<<24>>24==(a[h>>0]|0))if(j<<24>>24==(a[h+1>>0]|0)){i=h;while(1){h=i+2|0;if(j<<24>>24!=(a[h>>0]|0))break;h=i+3|0;if(j<<24>>24!=(a[h>>0]|0))break;h=i+4|0;if(j<<24>>24!=(a[h>>0]|0))break;h=i+5|0;if(j<<24>>24!=(a[h>>0]|0))break;h=i+6|0;if(j<<24>>24!=(a[h>>0]|0))break;h=i+7|0;if(j<<24>>24!=(a[h>>0]|0))break;h=i;i=i+8|0;if(j<<24>>24!=(a[i>>0]|0)){h=i;break}if(!((h+9|0)>>>0<(k+258|0)>>>0?j<<24>>24==(a[h+9>>0]|0):0)){h=h+9|0;break}}k=h-(k+258)+258|0;g=k>>>0>g>>>0?g:k;c[n+96>>2]=g;if(g>>>0>2){i=c[n+5792>>2]|0;b[(c[n+5796>>2]|0)+(i<<1)>>1]=1;c[n+5792>>2]=i+1;a[(c[n+5784>>2]|0)+i>>0]=g+253;g=n+148+((d[610496+(g+253&255)>>0]|256)+1<<2)|0;b[g>>1]=(b[g>>1]|0)+1<<16>>16;g=n+2440+(d[609984]<<2)|0;b[g>>1]=(b[g>>1]|0)+1<<16>>16;g=(c[n+5792>>2]|0)==((c[n+5788>>2]|0)+-1|0)&1;i=c[n+96>>2]|0;c[n+116>>2]=(c[n+116>>2]|0)-i;i=(c[n+108>>2]|0)+i|0;c[n+108>>2]=i;c[n+96>>2]=0}else{g=l;m=165}}else{g=l;m=165}else{g=l;m=165}}else{g=l;m=165}}}if((m|0)==165){m=0;g=a[(c[n+56>>2]|0)+g>>0]|0;i=c[n+5792>>2]|0;b[(c[n+5796>>2]|0)+(i<<1)>>1]=0;c[n+5792>>2]=i+1;a[(c[n+5784>>2]|0)+i>>0]=g;b[n+148+((g&255)<<2)>>1]=(b[n+148+((g&255)<<2)>>1]|0)+1<<16>>16;g=(c[n+5792>>2]|0)==((c[n+5788>>2]|0)+-1|0)&1;c[n+116>>2]=(c[n+116>>2]|0)+-1;i=(c[n+108>>2]|0)+1|0;c[n+108>>2]=i}if(!g)continue;g=c[n+92>>2]|0;if((g|0)>-1)h=(c[n+56>>2]|0)+g|0;else h=0;zlb(n,h,i-g|0,0);c[n+92>>2]=c[n+108>>2];h=c[n>>2]|0;i=c[h+28>>2]|0;xlb(i);g=c[i+20>>2]|0;l=c[h+16>>2]|0;g=g>>>0>l>>>0?l:g;if(g|0){mBb(c[h+12>>2]|0,c[i+16>>2]|0,g|0)|0;c[h+12>>2]=(c[h+12>>2]|0)+g;c[i+16>>2]=(c[i+16>>2]|0)+g;c[h+20>>2]=(c[h+20>>2]|0)+g;c[h+16>>2]=(c[h+16>>2]|0)-g;l=c[i+20>>2]|0;c[i+20>>2]=l-g;if((l|0)==(g|0))c[i+16>>2]=c[i+8>>2]}if(!(c[(c[n>>2]|0)+16>>2]|0)){m=191;break b}}c[n+5812>>2]=0;if((f|0)==4){g=c[n+92>>2]|0;if((g|0)>-1)h=(c[n+56>>2]|0)+g|0;else h=0;zlb(n,h,(c[n+108>>2]|0)-g|0,1);c[n+92>>2]=c[n+108>>2];h=c[n>>2]|0;i=c[h+28>>2]|0;xlb(i);g=c[i+20>>2]|0;m=c[h+16>>2]|0;g=g>>>0>m>>>0?m:g;if(g|0){mBb(c[h+12>>2]|0,c[i+16>>2]|0,g|0)|0;c[h+12>>2]=(c[h+12>>2]|0)+g;c[i+16>>2]=(c[i+16>>2]|0)+g;c[h+20>>2]=(c[h+20>>2]|0)+g;c[h+16>>2]=(c[h+16>>2]|0)-g;m=c[i+20>>2]|0;c[i+20>>2]=m-g;if((m|0)==(g|0))c[i+16>>2]=c[i+8>>2]}g=(c[(c[n>>2]|0)+16>>2]|0)==0?2:3;m=188;break b}if(c[n+5792>>2]|0){g=c[n+92>>2]|0;if((g|0)>-1)h=(c[n+56>>2]|0)+g|0;else h=0;zlb(n,h,(c[n+108>>2]|0)-g|0,0);c[n+92>>2]=c[n+108>>2];h=c[n>>2]|0;i=c[h+28>>2]|0;xlb(i);g=c[i+20>>2]|0;l=c[h+16>>2]|0;g=g>>>0>l>>>0?l:g;if(g|0){mBb(c[h+12>>2]|0,c[i+16>>2]|0,g|0)|0;c[h+12>>2]=(c[h+12>>2]|0)+g;c[i+16>>2]=(c[i+16>>2]|0)+g;c[h+20>>2]=(c[h+20>>2]|0)+g;c[h+16>>2]=(c[h+16>>2]|0)-g;l=c[i+20>>2]|0;c[i+20>>2]=l-g;if((l|0)==(g|0))c[i+16>>2]=c[i+8>>2]}if(!(c[(c[n>>2]|0)+16>>2]|0))m=191}break}default:{g=Xi[c[139556+((c[n+132>>2]|0)*12|0)+8>>2]&511](n,f)|0;m=188}}while(0);if((m|0)==188){if((g|1|0)==3)c[n+4>>2]=666;if((g|2|0)==2)m=191;else if((g|0)!=1)break}if((m|0)==191){if(c[e+16>>2]|0){n=0;return n|0}c[n+40>>2]=-1;n=0;return n|0}switch(f|0){case 1:{ylb(n);break}case 5:break;default:{wlb(n,0,0,0);if((f|0)==3){m=c[n+76>>2]|0;l=c[n+68>>2]|0;b[l+(m+-1<<1)>>1]=0;hBb(l|0,0,(m<<1)+-2|0)|0;if(!(c[n+116>>2]|0)){c[n+108>>2]=0;c[n+92>>2]=0;c[n+5812>>2]=0}}}}i=c[e+28>>2]|0;xlb(i);h=c[i+20>>2]|0;g=c[e+16>>2]|0;h=h>>>0>g>>>0?g:h;if(h){mBb(c[e+12>>2]|0,c[i+16>>2]|0,h|0)|0;c[e+12>>2]=(c[e+12>>2]|0)+h;c[i+16>>2]=(c[i+16>>2]|0)+h;c[e+20>>2]=(c[e+20>>2]|0)+h;g=(c[e+16>>2]|0)-h|0;c[e+16>>2]=g;m=c[i+20>>2]|0;c[i+20>>2]=m-h;if((m|0)==(h|0))c[i+16>>2]=c[i+8>>2]}if(!g){c[n+40>>2]=-1;n=0;return n|0}}while(0);if((f|0)!=4){n=0;return n|0}g=c[n+24>>2]|0;if((g|0)<1){n=1;return n|0}h=c[e+48>>2]|0;if((g|0)==2){m=c[n+20>>2]|0;c[n+20>>2]=m+1;a[(c[n+8>>2]|0)+m>>0]=h;m=(c[e+48>>2]|0)>>>8&255;f=c[n+20>>2]|0;c[n+20>>2]=f+1;a[(c[n+8>>2]|0)+f>>0]=m;f=(c[e+48>>2]|0)>>>16&255;m=c[n+20>>2]|0;c[n+20>>2]=m+1;a[(c[n+8>>2]|0)+m>>0]=f;m=(c[e+48>>2]|0)>>>24&255;f=c[n+20>>2]|0;c[n+20>>2]=f+1;a[(c[n+8>>2]|0)+f>>0]=m;f=c[e+8>>2]&255;m=c[n+20>>2]|0;c[n+20>>2]=m+1;a[(c[n+8>>2]|0)+m>>0]=f;m=(c[e+8>>2]|0)>>>8&255;f=c[n+20>>2]|0;c[n+20>>2]=f+1;a[(c[n+8>>2]|0)+f>>0]=m;f=(c[e+8>>2]|0)>>>16&255;m=c[n+20>>2]|0;c[n+20>>2]=m+1;a[(c[n+8>>2]|0)+m>>0]=f;m=(c[e+8>>2]|0)>>>24&255;f=c[n+20>>2]|0;c[n+20>>2]=f+1;a[(c[n+8>>2]|0)+f>>0]=m}else{m=c[n+20>>2]|0;c[n+20>>2]=m+1;a[(c[n+8>>2]|0)+m>>0]=h>>>24;m=c[n+20>>2]|0;c[n+20>>2]=m+1;a[(c[n+8>>2]|0)+m>>0]=h>>>16;m=c[e+48>>2]|0;f=c[n+20>>2]|0;c[n+20>>2]=f+1;a[(c[n+8>>2]|0)+f>>0]=m>>>8;f=c[n+20>>2]|0;c[n+20>>2]=f+1;a[(c[n+8>>2]|0)+f>>0]=m}h=c[e+28>>2]|0;xlb(h);g=c[h+20>>2]|0;f=c[e+16>>2]|0;g=g>>>0>f>>>0?f:g;if(g|0){mBb(c[e+12>>2]|0,c[h+16>>2]|0,g|0)|0;c[e+12>>2]=(c[e+12>>2]|0)+g;c[h+16>>2]=(c[h+16>>2]|0)+g;c[e+20>>2]=(c[e+20>>2]|0)+g;c[e+16>>2]=(c[e+16>>2]|0)-g;e=c[h+20>>2]|0;c[h+20>>2]=e-g;if((e|0)==(g|0))c[h+16>>2]=c[h+8>>2]}g=c[n+24>>2]|0;if((g|0)>0)c[n+24>>2]=0-g;n=(c[n+20>>2]|0)==0&1;return n|0}}while(0);c[e+24>>2]=c[35046];n=-2;return n|0}function nlb(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;if(!a){a=-2;return a|0}g=c[a+28>>2]|0;if(!g){a=-2;return a|0}if((b|0)<0){f=0-b|0;e=0}else{f=(b|0)<48?b&15:b;e=(b>>4)+1|0}if(!((f|0)==0|(f&-8|0)==8)){a=-2;return a|0}b=c[g+52>>2]|0;if(!b)h=9;else if((c[g+36>>2]|0)==(f|0))h=9;else{si[c[a+36>>2]&511](c[a+40>>2]|0,b);c[g+52>>2]=0;d=c[a+28>>2]|0;c[g+8>>2]=e;c[g+36>>2]=f;if(!d){a=-2;return a|0}}if((h|0)==9){c[g+8>>2]=e;c[g+36>>2]=f;d=g}c[d+40>>2]=0;c[d+44>>2]=0;c[d+48>>2]=0;c[d+28>>2]=0;c[a+20>>2]=0;c[a+8>>2]=0;c[a+24>>2]=0;b=c[d+8>>2]|0;if(b|0)c[a+48>>2]=b&1;c[d>>2]=0;c[d+4>>2]=0;c[d+12>>2]=0;c[d+20>>2]=32768;c[d+32>>2]=0;c[d+56>>2]=0;c[d+60>>2]=0;a=d+1328|0;c[d+108>>2]=a;c[d+80>>2]=a;c[d+76>>2]=a;c[d+7104>>2]=1;c[d+7108>>2]=-1;a=0;return a|0}function olb(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;if(!e){b=-6;return b|0}if((f|0)!=56|(a[e>>0]|0)!=49){b=-6;return b|0}if(!b){b=-2;return b|0}c[b+24>>2]=0;f=c[b+32>>2]|0;if(!f){c[b+32>>2]=179;c[b+40>>2]=0;f=179}if(!(c[b+36>>2]|0))c[b+36>>2]=242;e=Gi[f&255](c[b+40>>2]|0,1,7116)|0;if(!e){b=-4;return b|0}c[b+28>>2]=e;c[e+52>>2]=0;f=nlb(b,d)|0;if(!f){b=0;return b|0}si[c[b+36>>2]&511](c[b+40>>2]|0,e);c[b+28>>2]=0;b=f;return b|0}function plb(b,d,e){b=b|0;d=d|0;e=e|0;if(!d){b=-6;return b|0}if((e|0)!=56|(a[d>>0]|0)!=49){b=-6;return b|0}if(!b){b=-2;return b|0}c[b+24>>2]=0;e=c[b+32>>2]|0;if(!e){c[b+32>>2]=179;c[b+40>>2]=0;e=179}if(!(c[b+36>>2]|0))c[b+36>>2]=242;e=Gi[e&255](c[b+40>>2]|0,1,7116)|0;if(!e){b=-4;return b|0}c[b+28>>2]=e;c[e+52>>2]=0;c[e+8>>2]=1;c[e+36>>2]=15;c[e+40>>2]=0;c[e+44>>2]=0;c[e+48>>2]=0;c[e+28>>2]=0;c[b+20>>2]=0;c[b+8>>2]=0;c[b+24>>2]=0;c[b+48>>2]=1;c[e>>2]=0;c[e+4>>2]=0;c[e+12>>2]=0;c[e+20>>2]=32768;c[e+32>>2]=0;c[e+56>>2]=0;c[e+60>>2]=0;c[e+108>>2]=e+1328;c[e+80>>2]=e+1328;c[e+76>>2]=e+1328;c[e+7104>>2]=1;c[e+7108>>2]=-1;b=0;return b|0}function qlb(f,g){f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;J=i;i=i+16|0;if(!f){f=-2;i=J;return f|0}I=c[f+28>>2]|0;if(!I){f=-2;i=J;return f|0}n=c[f+12>>2]|0;if(!n){f=-2;i=J;return f|0}h=c[f>>2]|0;if(!h)if(c[f+4>>2]|0){f=-2;i=J;return f|0}j=c[I>>2]|0;if((j|0)==11){c[I>>2]=12;j=12}o=c[f+16>>2]|0;H=c[f+4>>2]|0;q=j;m=c[I+60>>2]|0;l=H;k=c[I+56>>2]|0;j=o;p=0;a:while(1){b:do switch(q|0){case 28:{p=1;y=282;break a}case 29:{G=n;F=j;E=m;D=l;B=k;z=h;C=o;A=-3;break a}case 30:{y=296;break a}case 0:{s=c[I+8>>2]|0;if(!s){c[I>>2]=12;r=j;break b}if(m>>>0<16){q=h;while(1){if(!l){G=n;F=j;E=m;D=0;B=k;z=q;C=o;A=p;break a}l=l+-1|0;h=q+1|0;k=(d[q>>0]<>>0<16)q=h;else{r=k;break}}}else r=k;if((r|0)==35615&(s&2|0)!=0){c[I+24>>2]=Hlb(0,0,0)|0;a[J>>0]=31;a[J+1>>0]=-117;c[I+24>>2]=Hlb(c[I+24>>2]|0,J,2)|0;c[I>>2]=1;m=0;k=0;r=j;break b}c[I+16>>2]=0;k=c[I+32>>2]|0;if(k|0)c[k+48>>2]=-1;if(s&1|0)if(!((((r<<8&65280)+(r>>>8)|0)>>>0)%31|0)){if((r&15|0)!=8){c[f+24>>2]=609626;c[I>>2]=29;k=r;r=j;break b}k=r>>>4;m=m+-4|0;q=c[I+36>>2]|0;if(!q)c[I+36>>2]=(k&15)+8;else if(((k&15)+8|0)>>>0>q>>>0){c[f+24>>2]=609653;c[I>>2]=29;r=j;break b}c[I+20>>2]=1<<(k&15)+8;m=Glb(0,0,0)|0;c[I+24>>2]=m;c[f+48>>2]=m;c[I>>2]=r>>>12&2^11;m=0;k=0;r=j;break b}c[f+24>>2]=609603;c[I>>2]=29;k=r;r=j;break}case 1:{if(m>>>0<16){q=h;while(1){if(!l){G=n;F=j;E=m;D=0;B=k;z=q;C=o;A=p;break a}l=l+-1|0;h=q+1|0;k=(d[q>>0]<>>0<16)q=h;else break}}c[I+16>>2]=k;if((k&255|0)!=8){c[f+24>>2]=609626;c[I>>2]=29;r=j;break b}if(k&57344|0){c[f+24>>2]=609673;c[I>>2]=29;r=j;break b}m=c[I+32>>2]|0;if(m|0)c[m>>2]=k>>>8&1;if(k&512|0){a[J>>0]=k;a[J+1>>0]=k>>>8;c[I+24>>2]=Hlb(c[I+24>>2]|0,J,2)|0}c[I>>2]=2;m=0;k=0;y=47;break}case 2:{if(m>>>0<32)y=47;else y=49;break}case 3:{if(m>>>0<16){q=h;y=55}else y=57;break}case 4:{y=62;break}case 5:{y=73;break}case 6:{y=83;break}case 7:{y=96;break}case 8:{y=109;break}case 9:{if(m>>>0<32){q=h;while(1){if(!l){G=n;F=j;E=m;D=0;B=k;z=q;C=o;A=p;break a}l=l+-1|0;h=q+1|0;k=(d[q>>0]<>>0>=32)break;else q=h}}m=gBb(k|0)|0;c[I+24>>2]=m;c[f+48>>2]=m;c[I>>2]=10;m=0;k=0;y=121;break}case 10:{y=121;break}case 11:{y=124;break}case 12:{y=125;break}case 13:{x=m&7;k=k>>>x;m=m-x|0;if(m>>>0<32){q=h;while(1){if(!l){G=n;F=j;E=m;D=0;B=k;z=q;C=o;A=p;break a}l=l+-1|0;h=q+1|0;k=(d[q>>0]<>>0<32)q=h;else break}}q=k&65535;if((q|0)==(k>>>16^65535|0)){c[I+64>>2]=q;c[I>>2]=14;if((g|0)==6){m=0;k=0;y=282;break a}else{m=0;k=0;y=144;break b}}else{c[f+24>>2]=609737;c[I>>2]=29;r=j;break b}}case 14:{y=144;break}case 15:{y=145;break}case 16:{if(m>>>0<14){q=h;while(1){if(!l){G=n;F=j;E=m;D=0;B=k;z=q;C=o;A=p;break a}l=l+-1|0;h=q+1|0;k=(d[q>>0]<>>0<14)q=h;else break}}w=(k&31)+257|0;c[I+96>>2]=w;x=(k>>>5&31)+1|0;c[I+100>>2]=x;q=(k>>>10&15)+4|0;c[I+92>>2]=q;k=k>>>14;m=m+-14|0;if(w>>>0>286|x>>>0>30){c[f+24>>2]=609766;c[I>>2]=29;r=j;break b}else{c[I+104>>2]=0;c[I>>2]=17;r=0;y=155;break b}}case 17:{r=c[I+104>>2]|0;q=c[I+92>>2]|0;if(r>>>0>>0)y=155;else{p=r;y=156}break}case 18:{s=c[I+104>>2]|0;y=166;break}case 19:{y=200;break}case 20:{y=201;break}case 21:{r=c[I+72>>2]|0;y=219;break}case 22:{y=226;break}case 23:{r=c[I+72>>2]|0;y=238;break}case 24:{y=244;break}case 25:{if(!j){j=0;y=282;break a}a[n>>0]=c[I+64>>2];c[I>>2]=20;r=j+-1|0;n=n+1|0;break}case 26:{if(c[I+8>>2]|0){if(m>>>0<32){q=h;while(1){if(!l){G=n;F=j;E=m;D=0;B=k;z=q;C=o;A=p;break a}l=l+-1|0;h=q+1|0;k=(d[q>>0]<>>0<32)q=h;else break}}r=o-j|0;c[f+20>>2]=(c[f+20>>2]|0)+r;c[I+28>>2]=(c[I+28>>2]|0)+r;if((o|0)==(j|0))o=c[I+24>>2]|0;else{o=c[I+24>>2]|0;q=n+(0-r)|0;if(!(c[I+16>>2]|0))o=Glb(o,q,r)|0;else o=Hlb(o,q,r)|0;c[I+24>>2]=o;c[f+48>>2]=o}w=(c[I+16>>2]|0)==0;x=gBb(k|0)|0;if(((w?x:k)|0)==(o|0)){m=0;k=0;o=j}else{c[f+24>>2]=609940;c[I>>2]=29;r=j;o=j;break b}}c[I>>2]=27;y=274;break}case 27:{y=274;break}default:{h=-2;y=297;break a}}while(0);if((y|0)==47)while(1){y=0;if(!l){G=n;F=j;E=m;D=0;B=k;z=h;C=o;A=p;break a}l=l+-1|0;q=h+1|0;k=(d[h>>0]<>>0>=32){h=q;y=49;break}else{h=q;y=47}}else if((y|0)==121){if(!(c[I+12>>2]|0)){y=122;break}y=Glb(0,0,0)|0;c[I+24>>2]=y;c[f+48>>2]=y;c[I>>2]=11;y=124}else if((y|0)==144){c[I>>2]=15;y=145}else if((y|0)==155){y=0;while(1){if(m>>>0<3){if(!l){G=n;F=j;E=m;D=0;B=k;z=h;C=o;A=p;break a}t=m+8|0;l=l+-1|0;k=(d[h>>0]<>2]=s;b[I+112+(e[175898+(r<<1)>>1]<<1)>>1]=k&7;k=k>>>3;m=t+-3|0;if(s>>>0>>0)r=s;else{p=s;y=156;break}}}else if((y|0)==274){y=0;if(!(c[I+8>>2]|0)){y=281;break}if(!(c[I+16>>2]|0)){y=281;break}if(m>>>0<32){q=h;while(1){if(!l){G=n;F=j;E=m;D=0;B=k;z=q;C=o;A=p;break a}l=l+-1|0;h=q+1|0;k=(d[q>>0]<>>0<32)q=h;else break}}if((k|0)==(c[I+28>>2]|0)){m=0;k=0;y=281;break}c[f+24>>2]=609961;c[I>>2]=29;r=j}do if((y|0)==49){m=c[I+32>>2]|0;if(m|0)c[m+4>>2]=k;if(c[I+16>>2]&512|0){a[J>>0]=k;a[J+1>>0]=k>>>8;a[J+2>>0]=k>>>16;a[J+3>>0]=k>>>24;c[I+24>>2]=Hlb(c[I+24>>2]|0,J,4)|0}c[I>>2]=3;m=0;k=0;q=h;y=55}else if((y|0)==124)if((g+-5|0)>>>0<2){y=282;break a}else y=125;else if((y|0)==145){y=0;q=c[I+64>>2]|0;if(!q){c[I>>2]=11;r=j;break}q=q>>>0>l>>>0?l:q;q=q>>>0>j>>>0?j:q;if(!q){y=282;break a}mBb(n|0,h|0,q|0)|0;c[I+64>>2]=(c[I+64>>2]|0)-q;l=l-q|0;r=j-q|0;h=h+q|0;n=n+q|0}else if((y|0)==156){y=0;if(p>>>0<19){do{b[I+112+(e[175898+(p<<1)>>1]<<1)>>1]=0;p=p+1|0}while((p|0)!=19);c[I+104>>2]=19}c[I+108>>2]=I+1328;c[I+76>>2]=I+1328;c[I+84>>2]=7;p=tlb(0,I+112|0,19,I+108|0,I+84|0,I+752|0)|0;if(!p){c[I+104>>2]=0;c[I>>2]=18;s=0;p=0;y=166;break}else{c[f+24>>2]=609802;c[I>>2]=29;r=j;break}}while(0);c:do if((y|0)==55)while(1){y=0;if(!l){G=n;F=j;E=m;D=0;B=k;z=q;C=o;A=p;break a}l=l+-1|0;h=q+1|0;k=(d[q>>0]<>>0>=16){y=57;break}else{q=h;y=55}}else if((y|0)==125){y=0;if(c[I+4>>2]|0){r=m&7;c[I>>2]=26;m=m-r|0;k=k>>>r;r=j;break}if(m>>>0<3){if(!l){l=0;y=282;break a}q=m+8|0;l=l+-1|0;k=(d[h>>0]<>2]=k&1;switch(k>>>1&3|0){case 0:{c[I>>2]=13;break}case 1:{c[I+76>>2]=173722;c[I+84>>2]=9;c[I+80>>2]=175770;c[I+88>>2]=5;c[I>>2]=19;if((g|0)==6){m=p;y=133;break a}break}case 2:{c[I>>2]=16;break}case 3:{c[f+24>>2]=609718;c[I>>2]=29;break}default:{y=136;break a}}m=q+-3|0;k=k>>>3;r=j}else if((y|0)==166){y=0;r=c[I+96>>2]|0;q=c[I+100>>2]|0;do if(s>>>0<(q+r|0)>>>0){x=s;w=r;d:while(1){t=(1<>2])+-1|0;s=t&k;u=c[I+76>>2]|0;r=d[u+(s<<2)+1>>0]|0;if(m>>>0>>0){r=h;while(1){if(!l){G=n;F=j;E=m;D=0;B=k;z=r;C=o;A=p;break a}l=l+-1|0;h=r+1|0;k=(d[r>>0]<>0]|0;if(m>>>0>>0)r=h;else{v=r;s=t&k;break}}}else v=r;r=b[u+(s<<2)+2>>1]|0;if((r&65535)<16){c[I+104>>2]=x+1;b[I+112+(x<<1)>>1]=r;m=m-v|0;k=k>>>v}else{switch(r<<16>>16){case 16:{s=v+2|0;if(m>>>0>>0){r=h;while(1){if(!l){G=n;F=j;E=m;D=0;B=k;z=r;C=o;A=p;break a}l=l+-1|0;h=r+1|0;k=(d[r>>0]<>>0>>0)r=h;else break}}k=k>>>v;m=m-v|0;if(!x){y=180;break d}m=m+-2|0;s=(k&3)+3|0;k=k>>>2;r=e[I+112+(x+-1<<1)>>1]|0;break}case 17:{s=v+3|0;if(m>>>0>>0){r=h;while(1){if(!l){G=n;F=j;E=m;D=0;B=k;z=r;C=o;A=p;break a}l=l+-1|0;h=r+1|0;k=(d[r>>0]<>>0>>0)r=h;else break}}k=k>>>v;m=-3-v+m|0;s=(k&7)+3|0;k=k>>>3;r=0;break}default:{s=v+7|0;if(m>>>0>>0){r=h;while(1){if(!l){G=n;F=j;E=m;D=0;B=k;z=r;C=o;A=p;break a}l=l+-1|0;h=r+1|0;k=(d[r>>0]<>>0>>0)r=h;else break}}k=k>>>v;m=-7-v+m|0;s=(k&127)+11|0;k=k>>>7;r=0}}if((x+s|0)>>>0>(q+w|0)>>>0){y=190;break}r=r&65535;q=s+-1|0;c[I+104>>2]=x+1;b[I+112+(x<<1)>>1]=r;if(q)do{x=c[I+104>>2]|0;q=q+-1|0;c[I+104>>2]=x+1;b[I+112+(x<<1)>>1]=r}while((q|0)!=0)}x=c[I+104>>2]|0;r=c[I+96>>2]|0;q=c[I+100>>2]|0;if(x>>>0>=(q+r|0)>>>0){y=192;break}else w=r}if((y|0)==180){y=0;c[f+24>>2]=609827;c[I>>2]=29;r=j;break c}else if((y|0)==190){y=0;c[f+24>>2]=609827;c[I>>2]=29;r=j;break c}else if((y|0)==192){y=0;if((c[I>>2]|0)==29){r=j;break c}else break}}while(0);if(!(b[I+624>>1]|0)){c[f+24>>2]=609853;c[I>>2]=29;r=j;break}c[I+108>>2]=I+1328;c[I+76>>2]=I+1328;c[I+84>>2]=9;p=tlb(1,I+112|0,r,I+108|0,I+84|0,I+752|0)|0;if(p|0){c[f+24>>2]=609890;c[I>>2]=29;r=j;break}c[I+80>>2]=c[I+108>>2];c[I+88>>2]=6;p=tlb(2,I+112+(c[I+96>>2]<<1)|0,c[I+100>>2]|0,I+108|0,I+88|0,I+752|0)|0;if(!p){c[I>>2]=19;if((g|0)==6){p=0;y=282;break a}else{p=0;y=200;break}}else{c[f+24>>2]=609918;c[I>>2]=29;r=j;break}}while(0);if((y|0)==57){m=c[I+32>>2]|0;if(m|0){c[m+8>>2]=k&255;c[m+12>>2]=k>>>8}if(c[I+16>>2]&512|0){a[J>>0]=k;a[J+1>>0]=k>>>8;c[I+24>>2]=Hlb(c[I+24>>2]|0,J,2)|0}c[I>>2]=4;m=0;k=0;y=62}else if((y|0)==200){c[I>>2]=20;y=201}do if((y|0)==62){y=0;r=c[I+16>>2]|0;if(!(r&1024)){q=c[I+32>>2]|0;if(q)c[q+16>>2]=0}else{if(m>>>0<16){q=h;while(1){if(!l){G=n;F=j;E=m;D=0;B=k;z=q;C=o;A=p;break a}l=l+-1|0;h=q+1|0;k=(d[q>>0]<>>0>=16)break;else q=h}}c[I+64>>2]=k;m=c[I+32>>2]|0;if(m|0)c[m+20>>2]=k;if(!(r&512)){m=0;k=0}else{a[J>>0]=k;a[J+1>>0]=k>>>8;c[I+24>>2]=Hlb(c[I+24>>2]|0,J,2)|0;m=0;k=0}}c[I>>2]=5;y=73}else if((y|0)==201){y=0;if(j>>>0>257&l>>>0>5){c[f+12>>2]=n;c[f+16>>2]=j;c[f>>2]=h;c[f+4>>2]=l;c[I+56>>2]=k;c[I+60>>2]=m;Ilb(f,o);n=c[f+12>>2]|0;j=c[f+16>>2]|0;h=c[f>>2]|0;l=c[f+4>>2]|0;k=c[I+56>>2]|0;m=c[I+60>>2]|0;if((c[I>>2]|0)!=11){r=j;break}c[I+7108>>2]=-1;r=j;break}c[I+7108>>2]=0;s=(1<>2])+-1|0;r=s&k;t=c[I+76>>2]|0;q=a[t+(r<<2)+1>>0]|0;if((q&255)>>>0>m>>>0){q=h;while(1){if(!l){G=n;F=j;E=m;D=0;B=k;z=q;C=o;A=p;break a}l=l+-1|0;h=q+1|0;k=(d[q>>0]<>0]|0;if((q&255)>>>0>m>>>0)q=h;else{u=q;w=q&255;r=s&k;break}}}else{u=q;w=q&255}q=a[t+(r<<2)>>0]|0;v=b[t+(r<<2)+2>>1]|0;if(q<<24>>24!=0&(q&240|0)==0){s=(1<>>w)+(v&65535)|0;r=a[t+(q<<2)+1>>0]|0;if(((r&255)+w|0)>>>0>m>>>0){q=h;while(1){if(!l){G=n;F=j;E=m;D=0;B=k;z=q;C=o;A=p;break a}l=l+-1|0;h=q+1|0;k=(d[q>>0]<>>w)+(v&65535)|0;r=a[t+(q<<2)+1>>0]|0;if(((r&255)+w|0)>>>0>m>>>0)q=h;else break}}x=b[t+(q<<2)+2>>1]|0;s=a[t+(q<<2)>>0]|0;c[I+7108>>2]=w;t=w;m=m-w|0;q=x;k=k>>>w}else{t=0;s=q;r=u;q=v}x=r&255;k=k>>>x;m=m-x|0;c[I+7108>>2]=t+x;c[I+64>>2]=q&65535;q=s&255;if(!(s<<24>>24)){c[I>>2]=25;r=j;break}if(q&32|0){c[I+7108>>2]=-1;c[I>>2]=11;r=j;break}if(!(q&64)){c[I+72>>2]=q&15;c[I>>2]=21;r=q&15;y=219;break}else{c[f+24>>2]=610945;c[I>>2]=29;r=j;break}}while(0);if((y|0)==73){q=c[I+16>>2]|0;if(q&1024){r=c[I+64>>2]|0;u=r>>>0>l>>>0?l:r;if(!u)q=r;else{s=c[I+32>>2]|0;if(s){t=c[s+16>>2]|0;if(t){q=(c[s+20>>2]|0)-r|0;y=c[s+24>>2]|0;mBb(t+q|0,h|0,((q+u|0)>>>0>y>>>0?y-q|0:u)|0)|0;q=c[I+16>>2]|0}}if(q&512|0)c[I+24>>2]=Hlb(c[I+24>>2]|0,h,u)|0;q=(c[I+64>>2]|0)-u|0;c[I+64>>2]=q;l=l-u|0;h=h+u|0}if(q){y=282;break}}c[I+64>>2]=0;c[I>>2]=6;y=83}else if((y|0)==219){y=0;if(!r)q=c[I+64>>2]|0;else{if(m>>>0>>0){q=h;while(1){if(!l){G=n;F=j;E=m;D=0;B=k;z=q;C=o;A=p;break a}l=l+-1|0;h=q+1|0;k=(d[q>>0]<>>0>>0)q=h;else break}}q=(c[I+64>>2]|0)+((1<>2]=q;c[I+7108>>2]=(c[I+7108>>2]|0)+r;m=m-r|0;k=k>>>r}c[I+7112>>2]=q;c[I>>2]=22;y=226}do if((y|0)==83){if(!(c[I+16>>2]&2048)){q=c[I+32>>2]|0;if(q)c[q+28>>2]=0}else{if(!l){l=0;y=282;break a}else q=0;while(1){t=q+1|0;u=a[h+q>>0]|0;q=c[I+32>>2]|0;if(q|0){r=c[q+28>>2]|0;if(r|0){s=c[I+64>>2]|0;if(s>>>0<(c[q+32>>2]|0)>>>0){c[I+64>>2]=s+1;a[r+s>>0]=u}}}if(u<<24>>24!=0&l>>>0>t>>>0)q=t;else break}if(c[I+16>>2]&512|0)c[I+24>>2]=Hlb(c[I+24>>2]|0,h,t)|0;l=l-t|0;h=h+t|0;if(u<<24>>24){y=282;break a}}c[I+64>>2]=0;c[I>>2]=7;y=96}else if((y|0)==226){y=0;s=(1<>2])+-1|0;r=s&k;w=c[I+80>>2]|0;q=a[w+(r<<2)+1>>0]|0;if((q&255)>>>0>m>>>0){q=h;while(1){if(!l){G=n;F=j;E=m;D=0;B=k;z=q;C=o;A=p;break a}l=l+-1|0;h=q+1|0;k=(d[q>>0]<>0]|0;if((q&255)>>>0>m>>>0)q=h;else{u=q;v=q&255;r=s&k;break}}}else{u=q;v=q&255}q=a[w+(r<<2)>>0]|0;s=b[w+(r<<2)+2>>1]|0;if(!(q&240)){t=(1<>>v)+(s&65535)|0;r=a[w+(q<<2)+1>>0]|0;if(((r&255)+v|0)>>>0>m>>>0){q=h;while(1){if(!l){G=n;F=j;E=m;D=0;B=k;z=q;C=o;A=p;break a}l=l+-1|0;h=q+1|0;k=(d[q>>0]<>>v)+(s&65535)|0;r=a[w+(q<<2)+1>>0]|0;if(((r&255)+v|0)>>>0>m>>>0)q=h;else break}}s=b[w+(q<<2)+2>>1]|0;q=a[w+(q<<2)>>0]|0;t=(c[I+7108>>2]|0)+v|0;c[I+7108>>2]=t;m=m-v|0;k=k>>>v}else{t=c[I+7108>>2]|0;r=u}x=r&255;k=k>>>x;m=m-x|0;c[I+7108>>2]=t+x;q=q&255;if(!(q&64)){c[I+68>>2]=s&65535;c[I+72>>2]=q&15;c[I>>2]=23;r=q&15;y=238;break}else{c[f+24>>2]=610923;c[I>>2]=29;r=j;break}}while(0);if((y|0)==96){if(!(c[I+16>>2]&4096)){q=c[I+32>>2]|0;if(q)c[q+36>>2]=0}else{if(!l){l=0;y=282;break}else q=0;while(1){t=q+1|0;u=a[h+q>>0]|0;q=c[I+32>>2]|0;if(q|0){r=c[q+36>>2]|0;if(r|0){s=c[I+64>>2]|0;if(s>>>0<(c[q+40>>2]|0)>>>0){c[I+64>>2]=s+1;a[r+s>>0]=u}}}if(u<<24>>24!=0&l>>>0>t>>>0)q=t;else break}if(c[I+16>>2]&512|0)c[I+24>>2]=Hlb(c[I+24>>2]|0,h,t)|0;l=l-t|0;h=h+t|0;if(u<<24>>24){y=282;break}}c[I>>2]=8;y=109}else if((y|0)==238){y=0;if(r){if(m>>>0>>0){q=h;while(1){if(!l){G=n;F=j;E=m;D=0;B=k;z=q;C=o;A=p;break a}l=l+-1|0;h=q+1|0;k=(d[q>>0]<>>0>>0)q=h;else break}}c[I+68>>2]=(c[I+68>>2]|0)+((1<>2]=(c[I+7108>>2]|0)+r;m=m-r|0;k=k>>>r}c[I>>2]=24;y=244}do if((y|0)==109){y=0;r=c[I+16>>2]|0;if(r&512){if(m>>>0<16){q=h;while(1){if(!l){G=n;F=j;E=m;D=0;B=k;z=q;C=o;A=p;break a}l=l+-1|0;h=q+1|0;k=(d[q>>0]<>>0<16)q=h;else break}}if((k|0)==(c[I+24>>2]&65535|0)){m=0;k=0}else{c[f+24>>2]=609698;c[I>>2]=29;r=j;break}}q=c[I+32>>2]|0;if(q|0){c[q+44>>2]=r>>>9&1;c[q+48>>2]=1}r=Hlb(0,0,0)|0;c[I+24>>2]=r;c[f+48>>2]=r;c[I>>2]=11;r=j}else if((y|0)==244){y=0;if(!j){j=0;y=282;break a}q=o-j|0;s=c[I+68>>2]|0;if(s>>>0>q>>>0){if((s-q|0)>>>0>(c[I+44>>2]|0)>>>0)if(c[I+7104>>2]|0){c[f+24>>2]=610893;c[I>>2]=29;r=j;break}r=c[I+48>>2]|0;if((s-q|0)>>>0>r>>>0){t=s-q-r|0;q=(c[I+52>>2]|0)+((c[I+40>>2]|0)-(s-q-r))|0}else{t=s-q|0;q=(c[I+52>>2]|0)+(r-(s-q))|0}r=c[I+64>>2]|0;u=r;r=t>>>0>r>>>0?r:t}else{r=c[I+64>>2]|0;u=r;q=n+(0-s)|0}t=r>>>0>j>>>0?j:r;c[I+64>>2]=u-t;s=t;r=n;while(1){n=r+1|0;a[r>>0]=a[q>>0]|0;s=s+-1|0;if(!s)break;else{q=q+1|0;r=n}}j=j-t|0;if(!(c[I+64>>2]|0)){c[I>>2]=20;r=j}else r=j}while(0);q=c[I>>2]|0;j=r}if((y|0)==122){c[f+12>>2]=n;c[f+16>>2]=j;c[f>>2]=h;c[f+4>>2]=l;c[I+56>>2]=k;c[I+60>>2]=m;f=2;i=J;return f|0}else if((y|0)==133){G=n;F=j;E=q+-3|0;D=l;B=k>>>3;z=h;C=o;A=m}else if((y|0)!=136)if((y|0)==281){c[I>>2]=28;G=n;F=j;E=m;D=l;B=k;z=h;C=o;A=1}else if((y|0)==282){G=n;F=j;E=m;D=l;B=k;z=h;C=o;A=p}else if((y|0)==296){f=-4;i=J;return f|0}else if((y|0)==297){i=J;return h|0}c[f+12>>2]=G;c[f+16>>2]=F;c[f>>2]=z;c[f+4>>2]=D;c[I+56>>2]=B;c[I+60>>2]=E;if(!(c[I+40>>2]|0))if((C|0)==(F|0)){m=D;l=F}else{h=c[I>>2]|0;if(h>>>0<29)if((g|0)!=4|h>>>0<26)y=287;else{m=D;l=F}else{m=D;l=F}}else y=287;do if((y|0)==287){if(!(rlb(f,G,C-F|0)|0)){m=c[f+4>>2]|0;l=c[f+16>>2]|0;break}c[I>>2]=30;f=-4;i=J;return f|0}while(0);h=C-l|0;c[f+8>>2]=H-m+(c[f+8>>2]|0);c[f+20>>2]=(c[f+20>>2]|0)+h;c[I+28>>2]=(c[I+28>>2]|0)+h;if((C|0)!=(l|0)&(c[I+8>>2]|0)!=0){j=c[I+24>>2]|0;k=(c[f+12>>2]|0)+(0-h)|0;if(!(c[I+16>>2]|0))h=Glb(j,k,h)|0;else h=Hlb(j,k,h)|0;c[I+24>>2]=h;c[f+48>>2]=h}G=c[I>>2]|0;c[f+44>>2]=(c[I+4>>2]|0?64:0)+(c[I+60>>2]|0)+((G|0)==11?128:0)+((G|0)==19|(G|0)==14?256:0);f=(A|0)==0&((g|0)==4|(H|0)==(m|0)&(C|0)==(l|0))?-5:A;i=J;return f|0}function rlb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;f=c[a+28>>2]|0;e=c[f+52>>2]|0;if(!e){e=Gi[c[a+32>>2]&255](c[a+40>>2]|0,1<>2],1)|0;c[f+52>>2]=e;if(!e){d=1;return d|0}}a=c[f+40>>2]|0;if(!a){a=1<>2];c[f+40>>2]=a;c[f+48>>2]=0;c[f+44>>2]=0}if(a>>>0<=d>>>0){mBb(e|0,b+(0-a)|0,a|0)|0;c[f+48>>2]=0;c[f+44>>2]=c[f+40>>2];d=0;return d|0}g=c[f+48>>2]|0;a=a-g|0;a=a>>>0>d>>>0?d:a;mBb(e+g|0,b+(0-d)|0,a|0)|0;if((a|0)!=(d|0)){mBb(c[f+52>>2]|0,b+(0-(d-a))|0,d-a|0)|0;c[f+48>>2]=d-a;c[f+44>>2]=c[f+40>>2];g=0;return g|0}e=(c[f+48>>2]|0)+d|0;g=c[f+40>>2]|0;c[f+48>>2]=(e|0)==(g|0)?0:e;e=c[f+44>>2]|0;if(e>>>0>=g>>>0){g=0;return g|0}c[f+44>>2]=e+d;g=0;return g|0}function slb(a){a=a|0;var b=0,d=0,e=0;if(!a){a=-2;return a|0}b=c[a+28>>2]|0;if(!b){a=-2;return a|0}d=c[a+36>>2]|0;if(!d){a=-2;return a|0}e=c[b+52>>2]|0;if(e){si[d&511](c[a+40>>2]|0,e);d=c[a+36>>2]|0;b=c[a+28>>2]|0}si[d&511](c[a+40>>2]|0,b);c[a+28>>2]=0;a=0;return a|0}function tlb(d,f,g,h,j,k){d=d|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;F=i;i=i+64|0;l=F+32|0;m=l+32|0;do{b[l>>1]=0;l=l+2|0}while((l|0)<(m|0));if(!g){l=c[j>>2]|0;E=5}else{l=0;do{E=F+32+(e[f+(l<<1)>>1]<<1)|0;b[E>>1]=(b[E>>1]|0)+1<<16>>16;l=l+1|0}while((l|0)!=(g|0));m=b[F+32+30>>1]|0;l=c[j>>2]|0;if(!(m<<16>>16))E=5;else{o=15;E=7}}do if((E|0)==5)if(!(b[F+32+28>>1]|0))if(!(b[F+32+26>>1]|0))if(!(b[F+32+24>>1]|0))if(!(b[F+32+22>>1]|0))if(!(b[F+32+20>>1]|0))if(!(b[F+32+18>>1]|0))if(!(b[F+32+16>>1]|0))if(!(b[F+32+14>>1]|0))if(!(b[F+32+12>>1]|0))if(!(b[F+32+10>>1]|0))if(!(b[F+32+8>>1]|0))if(!(b[F+32+6>>1]|0))if(!(b[F+32+4>>1]|0)){if(b[F+32+2>>1]|0){m=0;l=l>>>0>1?1:l;o=1;p=1;break}k=c[h>>2]|0;c[h>>2]=k+4;a[k>>0]=64;a[k+1>>0]=1;b[k+2>>1]=0;k=c[h>>2]|0;c[h>>2]=k+4;a[k>>0]=64;a[k+1>>0]=1;b[k+2>>1]=0;c[j>>2]=1;h=0;i=F;return h|0}else{m=0;o=2;E=7}else{m=0;o=3;E=7}else{m=0;o=4;E=7}else{m=0;o=5;E=7}else{m=0;o=6;E=7}else{m=0;o=7;E=7}else{m=0;o=8;E=7}else{m=0;o=9;E=7}else{m=0;o=10;E=7}else{m=0;o=11;E=7}else{m=0;o=12;E=7}else{m=0;o=13;E=7}else{m=0;o=14;E=7}while(0);a:do if((E|0)==7){l=l>>>0>o>>>0?o:l;n=1;while(1){if(b[F+32+(n<<1)>>1]|0){p=n;break a}n=n+1|0;if(n>>>0>=o>>>0){p=n;break}}}while(0);D=l>>>0

>>0?p:l;n=b[F+32+2>>1]|0;if((2-(n&65535)|0)<0){h=-1;i=F;return h|0}l=(2-(n&65535)<<1)-(e[F+32+4>>1]|0)|0;if((l|0)<0){h=-1;i=F;return h|0}l=(l<<1)-(e[F+32+6>>1]|0)|0;if((l|0)<0){h=-1;i=F;return h|0}l=(l<<1)-(e[F+32+8>>1]|0)|0;if((l|0)<0){h=-1;i=F;return h|0}l=(l<<1)-(e[F+32+10>>1]|0)|0;if((l|0)<0){h=-1;i=F;return h|0}l=(l<<1)-(e[F+32+12>>1]|0)|0;if((l|0)<0){h=-1;i=F;return h|0}l=(l<<1)-(e[F+32+14>>1]|0)|0;if((l|0)<0){h=-1;i=F;return h|0}l=(l<<1)-(e[F+32+16>>1]|0)|0;if((l|0)<0){h=-1;i=F;return h|0}l=(l<<1)-(e[F+32+18>>1]|0)|0;if((l|0)<0){h=-1;i=F;return h|0}l=(l<<1)-(e[F+32+20>>1]|0)|0;if((l|0)<0){h=-1;i=F;return h|0}l=(l<<1)-(e[F+32+22>>1]|0)|0;if((l|0)<0){h=-1;i=F;return h|0}l=(l<<1)-(e[F+32+24>>1]|0)|0;if((l|0)<0){h=-1;i=F;return h|0}l=(l<<1)-(e[F+32+26>>1]|0)|0;if((l|0)<0){h=-1;i=F;return h|0}l=(l<<1)-(e[F+32+28>>1]|0)|0;if((l|0)<0){h=-1;i=F;return h|0}l=(l<<1)-(m&65535)|0;if((l|0)<0){h=-1;i=F;return h|0}if((l|0)>0)if((d|0)==0|(o|0)!=1){h=-1;i=F;return h|0}b[F+2>>1]=0;b[F+4>>1]=n;B=(e[F+32+4>>1]|0)+(n&65535)|0;b[F+6>>1]=B;C=e[F+32+6>>1]|0;b[F+8>>1]=C+B;A=e[F+32+8>>1]|0;b[F+10>>1]=A+(B+C);z=e[F+32+10>>1]|0;b[F+12>>1]=z+(B+C+A);y=e[F+32+12>>1]|0;b[F+14>>1]=y+(B+C+A+z);x=e[F+32+14>>1]|0;b[F+16>>1]=x+(B+C+A+z+y);x=B+C+A+z+y+x|0;y=e[F+32+16>>1]|0;b[F+18>>1]=y+x;z=e[F+32+18>>1]|0;b[F+20>>1]=z+(x+y);A=e[F+32+20>>1]|0;b[F+22>>1]=A+(x+y+z);C=e[F+32+22>>1]|0;b[F+24>>1]=C+(x+y+z+A);B=e[F+32+24>>1]|0;b[F+26>>1]=B+(x+y+z+A+C);B=x+y+z+A+C+B|0;C=e[F+32+26>>1]|0;b[F+28>>1]=C+B;b[F+30>>1]=(e[F+32+28>>1]|0)+(B+C);if(g|0){m=0;do{l=b[f+(m<<1)>>1]|0;if(l<<16>>16){C=b[F+((l&65535)<<1)>>1]|0;b[F+((l&65535)<<1)>>1]=C+1<<16>>16;b[k+((C&65535)<<1)>>1]=m}m=m+1|0}while((m|0)!=(g|0))}switch(d|0){case 0:{y=0;z=0;A=k;B=19;C=k;break}case 1:{if(D>>>0>9){h=1;i=F;return h|0}else{y=0;z=1;A=175486;B=256;C=175612}break}default:if((d|0)==2&D>>>0>9){h=1;i=F;return h|0}else{y=(d|0)==2;z=0;A=175936;B=-1;C=176062}}g=D;x=0;n=0;w=-1;m=c[h>>2]|0;d=0;l=1<>1]|0;do if((g&65535|0)<(B|0))r=0;else{if((g&65535|0)<=(B|0)){r=96;g=0;break}r=b[C+((g&65535)<<1)>>1]&255;g=b[A+((g&65535)<<1)>>1]|0}while(0);p=n>>>x;q=u;do{v=q;q=q-(1<>0]=r;a[m+(G<<2)+1>>0]=t;b[m+(G<<2)+2>>1]=g}while((v|0)!=(1<>>1;if(!g)n=0;else n=(g+-1&n)+g|0;v=d+1|0;r=F+32+(s<<1)|0;G=(b[r>>1]|0)+-1<<16>>16;b[r>>1]=G;if(!(G<<16>>16)){if((s|0)==(o|0))break b;g=e[f+(e[k+(v<<1)>>1]<<1)>>1]|0}else g=s;if(g>>>0<=D>>>0){s=g;d=v;continue}s=n&(1<>>0>>0){p=r;g=r-q|0;d=1<>1]|0)|0;if((d|0)<1)break c;g=g+1|0;p=g+q|0;if(p>>>0>=o>>>0)break;else d=d<<1}}else g=r-q|0;while(0);l=(1<>>0>852|y&l>>>0>592){l=1;E=45;break}x=c[h>>2]|0;a[x+(s<<2)>>0]=g;a[x+(s<<2)+1>>0]=D;b[x+(s<<2)+2>>1]=(m-x|0)>>>2;x=q;p=r;w=s;d=v}if((E|0)==45){i=F;return l|0}if(n|0){a[m+(n<<2)>>0]=64;a[m+(n<<2)+1>>0]=t;b[m+(n<<2)+2>>1]=0}c[h>>2]=(c[h>>2]|0)+(l<<2);c[j>>2]=D;G=0;i=F;return G|0}function ulb(a){a=a|0;c[a+2840>>2]=a+148;c[a+2848>>2]=139676;c[a+2852>>2]=a+2440;c[a+2860>>2]=139696;c[a+2864>>2]=a+2684;c[a+2872>>2]=139836;b[a+5816>>1]=0;c[a+5820>>2]=0;vlb(a);return}function vlb(a){a=a|0;var d=0;d=0;do{b[a+148+(d<<2)>>1]=0;d=d+1|0}while((d|0)!=286);b[a+2440>>1]=0;b[a+2444>>1]=0;b[a+2448>>1]=0;b[a+2452>>1]=0;b[a+2456>>1]=0;b[a+2460>>1]=0;b[a+2464>>1]=0;b[a+2468>>1]=0;b[a+2472>>1]=0;b[a+2476>>1]=0;b[a+2480>>1]=0;b[a+2484>>1]=0;b[a+2488>>1]=0;b[a+2492>>1]=0;b[a+2496>>1]=0;b[a+2500>>1]=0;b[a+2504>>1]=0;b[a+2508>>1]=0;b[a+2512>>1]=0;b[a+2516>>1]=0;b[a+2520>>1]=0;b[a+2524>>1]=0;b[a+2528>>1]=0;b[a+2532>>1]=0;b[a+2536>>1]=0;b[a+2540>>1]=0;b[a+2544>>1]=0;b[a+2548>>1]=0;b[a+2552>>1]=0;b[a+2556>>1]=0;b[a+2684>>1]=0;b[a+2688>>1]=0;b[a+2692>>1]=0;b[a+2696>>1]=0;b[a+2700>>1]=0;b[a+2704>>1]=0;b[a+2708>>1]=0;b[a+2712>>1]=0;b[a+2716>>1]=0;b[a+2720>>1]=0;b[a+2724>>1]=0;b[a+2728>>1]=0;b[a+2732>>1]=0;b[a+2736>>1]=0;b[a+2740>>1]=0;b[a+2744>>1]=0;b[a+2748>>1]=0;b[a+2752>>1]=0;b[a+2756>>1]=0;b[a+1172>>1]=1;c[a+5804>>2]=0;c[a+5800>>2]=0;c[a+5808>>2]=0;c[a+5792>>2]=0;return}function wlb(d,f,g,h){d=d|0;f=f|0;g=g|0;h=h|0;var i=0,j=0;j=c[d+5820>>2]|0;i=e[d+5816>>1]|0|(h&65535)<>1]=i;if((j|0)>13){j=c[d+20>>2]|0;c[d+20>>2]=j+1;a[(c[d+8>>2]|0)+j>>0]=i;i=(e[d+5816>>1]|0)>>>8&255;j=c[d+20>>2]|0;c[d+20>>2]=j+1;a[(c[d+8>>2]|0)+j>>0]=i;j=c[d+5820>>2]|0;b[d+5816>>1]=(h&65535)>>>(16-j|0);i=(h&65535)>>>(16-j|0);h=j+-13|0}else h=j+3|0;i=i&255;c[d+5820>>2]=h;do if((h|0)>8){h=c[d+20>>2]|0;c[d+20>>2]=h+1;a[(c[d+8>>2]|0)+h>>0]=i;h=(e[d+5816>>1]|0)>>>8&255;i=c[d+20>>2]|0;c[d+20>>2]=i+1;a[(c[d+8>>2]|0)+i>>0]=h;i=d+20|0;h=d+8|0}else if((h|0)>0){h=c[d+20>>2]|0;c[d+20>>2]=h+1;a[(c[d+8>>2]|0)+h>>0]=i;i=d+20|0;h=d+8|0;break}else{i=d+20|0;h=d+8|0;break}while(0);b[d+5816>>1]=0;c[d+5820>>2]=0;d=c[i>>2]|0;c[i>>2]=d+1;a[(c[h>>2]|0)+d>>0]=g;d=c[i>>2]|0;c[i>>2]=d+1;a[(c[h>>2]|0)+d>>0]=g>>>8;d=c[i>>2]|0;c[i>>2]=d+1;a[(c[h>>2]|0)+d>>0]=g&65535^65535;d=c[i>>2]|0;c[i>>2]=d+1;a[(c[h>>2]|0)+d>>0]=(g&65535^65535)>>>8;if(!g)return;while(1){g=g+-1|0;j=a[f>>0]|0;d=c[i>>2]|0;c[i>>2]=d+1;a[(c[h>>2]|0)+d>>0]=j;if(!g)break;else f=f+1|0}return}function xlb(d){d=d|0;var f=0,g=0;f=c[d+5820>>2]|0;if((f|0)==16){f=b[d+5816>>1]&255;g=c[d+20>>2]|0;c[d+20>>2]=g+1;a[(c[d+8>>2]|0)+g>>0]=f;g=(e[d+5816>>1]|0)>>>8&255;f=c[d+20>>2]|0;c[d+20>>2]=f+1;a[(c[d+8>>2]|0)+f>>0]=g;b[d+5816>>1]=0;c[d+5820>>2]=0;return}if((f|0)<=7)return;f=b[d+5816>>1]&255;g=c[d+20>>2]|0;c[d+20>>2]=g+1;a[(c[d+8>>2]|0)+g>>0]=f;b[d+5816>>1]=(e[d+5816>>1]|0)>>>8;c[d+5820>>2]=(c[d+5820>>2]|0)+-8;return}function ylb(d){d=d|0;var f=0,g=0;g=c[d+5820>>2]|0;f=e[d+5816>>1]|0|2<>1]=f;if((g|0)>13){g=c[d+20>>2]|0;c[d+20>>2]=g+1;a[(c[d+8>>2]|0)+g>>0]=f;f=(e[d+5816>>1]|0)>>>8&255;g=c[d+20>>2]|0;c[d+20>>2]=g+1;a[(c[d+8>>2]|0)+g>>0]=f;g=c[d+5820>>2]|0;b[d+5816>>1]=2>>>(16-g|0);f=2>>>(16-g|0);g=g+-13|0}else g=g+3|0;f=f&255;c[d+5820>>2]=g;if((g|0)>9){g=c[d+20>>2]|0;c[d+20>>2]=g+1;a[(c[d+8>>2]|0)+g>>0]=f;g=(e[d+5816>>1]|0)>>>8&255;f=c[d+20>>2]|0;c[d+20>>2]=f+1;a[(c[d+8>>2]|0)+f>>0]=g;b[d+5816>>1]=0;f=0;g=(c[d+5820>>2]|0)+-9|0}else g=g+7|0;c[d+5820>>2]=g;if((g|0)==16){g=c[d+20>>2]|0;c[d+20>>2]=g+1;a[(c[d+8>>2]|0)+g>>0]=f;f=(e[d+5816>>1]|0)>>>8&255;g=c[d+20>>2]|0;c[d+20>>2]=g+1;a[(c[d+8>>2]|0)+g>>0]=f;b[d+5816>>1]=0;c[d+5820>>2]=0;return}if((g|0)<=7)return;g=c[d+20>>2]|0;c[d+20>>2]=g+1;a[(c[d+8>>2]|0)+g>>0]=f;b[d+5816>>1]=(e[d+5816>>1]|0)>>>8;c[d+5820>>2]=(c[d+5820>>2]|0)+-8;return}function zlb(f,g,h,i){f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;if((c[f+132>>2]|0)>0){m=(c[f>>2]|0)+44|0;if((c[m>>2]|0)==2){j=-201342849;k=0;while(1){if(j&1|0)if(b[f+148+(k<<2)>>1]|0){j=0;break}k=k+1|0;if((k|0)>=32){l=6;break}else j=j>>>1}a:do if((l|0)==6)if(!(b[f+184>>1]|0))if(!(b[f+188>>1]|0))if(!(b[f+200>>1]|0)){j=32;while(1){if(b[f+148+(j<<2)>>1]|0){j=1;break a}j=j+1|0;if((j|0)>=256){j=0;break}}}else j=1;else j=1;else j=1;while(0);c[m>>2]=j}Alb(f,f+2840|0);Alb(f,f+2852|0);n=c[f+2844>>2]|0;q=b[f+150>>1]|0;b[f+148+(n+1<<2)+2>>1]=-1;o=q<<16>>16==0?138:7;p=q<<16>>16==0?3:4;j=0;q=q&65535;r=-1;b:while(1){k=0;do{if((j|0)>(n|0))break b;j=j+1|0;m=b[f+148+(j<<2)+2>>1]|0;k=k+1|0;l=(q|0)==(m&65535|0)}while((k|0)<(o|0)&l);do if((k|0)<(p|0)){r=f+2684+(q<<2)|0;b[r>>1]=(e[r>>1]|0)+k}else if(!q)if((k|0)<11){b[f+2752>>1]=(b[f+2752>>1]|0)+1<<16>>16;break}else{b[f+2756>>1]=(b[f+2756>>1]|0)+1<<16>>16;break}else{if((q|0)!=(r|0)){r=f+2684+(q<<2)|0;b[r>>1]=(b[r>>1]|0)+1<<16>>16}b[f+2748>>1]=(b[f+2748>>1]|0)+1<<16>>16;break}while(0);r=q;o=m<<16>>16==0?138:l?6:7;p=m<<16>>16==0|l?3:4;q=m&65535}n=c[f+2856>>2]|0;q=b[f+2442>>1]|0;b[f+2440+(n+1<<2)+2>>1]=-1;o=q<<16>>16==0?138:7;p=q<<16>>16==0?3:4;j=0;q=q&65535;r=-1;c:while(1){k=0;do{if((j|0)>(n|0))break c;j=j+1|0;m=b[f+2440+(j<<2)+2>>1]|0;k=k+1|0;l=(q|0)==(m&65535|0)}while((k|0)<(o|0)&l);do if((k|0)<(p|0)){r=f+2684+(q<<2)|0;b[r>>1]=(e[r>>1]|0)+k}else if(!q)if((k|0)<11){b[f+2752>>1]=(b[f+2752>>1]|0)+1<<16>>16;break}else{b[f+2756>>1]=(b[f+2756>>1]|0)+1<<16>>16;break}else{if((q|0)!=(r|0)){r=f+2684+(q<<2)|0;b[r>>1]=(b[r>>1]|0)+1<<16>>16}b[f+2748>>1]=(b[f+2748>>1]|0)+1<<16>>16;break}while(0);r=q;o=m<<16>>16==0?138:l?6:7;p=m<<16>>16==0|l?3:4;q=m&65535}Alb(f,f+2864|0);if(!(b[f+2746>>1]|0))if(!(b[f+2690>>1]|0))if(!(b[f+2742>>1]|0))if(!(b[f+2694>>1]|0))if(!(b[f+2738>>1]|0))if(!(b[f+2698>>1]|0))if(!(b[f+2734>>1]|0))if(!(b[f+2702>>1]|0))if(!(b[f+2730>>1]|0))if(!(b[f+2706>>1]|0))if(!(b[f+2726>>1]|0))if(!(b[f+2710>>1]|0))if(!(b[f+2722>>1]|0))if(!(b[f+2714>>1]|0))if(!(b[f+2718>>1]|0))j=(b[f+2686>>1]|0)==0?2:3;else j=4;else j=5;else j=6;else j=7;else j=8;else j=9;else j=10;else j=11;else j=12;else j=13;else j=14;else j=15;else j=16;else j=17;else j=18;q=(j*3|0)+17+(c[f+5800>>2]|0)|0;c[f+5800>>2]=q;k=((c[f+5804>>2]|0)+10|0)>>>3;r=j;j=k>>>0>(q+10|0)>>>3>>>0?(q+10|0)>>>3:k}else{r=0;j=h+5|0;k=h+5|0}do if((g|0)!=0&(h+4|0)>>>0<=j>>>0)wlb(f,g,h,i);else{l=c[f+5820>>2]|0;if((k|0)==(j|0)?1:(c[f+136>>2]|0)==4){j=e[f+5816>>1]|(i+2&65535)<>1]=j;if((l|0)>13){h=c[f+20>>2]|0;c[f+20>>2]=h+1;a[(c[f+8>>2]|0)+h>>0]=j;h=(e[f+5816>>1]|0)>>>8&255;j=c[f+20>>2]|0;c[f+20>>2]=j+1;a[(c[f+8>>2]|0)+j>>0]=h;j=c[f+5820>>2]|0;b[f+5816>>1]=(i+2&65535)>>>(16-j|0);j=j+-13|0}else j=l+3|0;c[f+5820>>2]=j;Blb(f,176188,177340);break}j=e[f+5816>>1]|(i+4&65535)<>1]=j;if((l|0)>13){k=c[f+20>>2]|0;c[f+20>>2]=k+1;a[(c[f+8>>2]|0)+k>>0]=j;j=(e[f+5816>>1]|0)>>>8&255;k=c[f+20>>2]|0;c[f+20>>2]=k+1;a[(c[f+8>>2]|0)+k>>0]=j;k=c[f+5820>>2]|0;b[f+5816>>1]=(i+4&65535)>>>(16-k|0);j=(i+4&65535)>>>(16-k|0);k=k+-13|0}else k=l+3|0;c[f+5820>>2]=k;p=c[f+2844>>2]|0;q=c[f+2856>>2]|0;j=j&65535|(p+65280&65535)<>1]=j;if((k|0)>11){k=c[f+20>>2]|0;c[f+20>>2]=k+1;a[(c[f+8>>2]|0)+k>>0]=j;k=(e[f+5816>>1]|0)>>>8&255;j=c[f+20>>2]|0;c[f+20>>2]=j+1;a[(c[f+8>>2]|0)+j>>0]=k;j=c[f+5820>>2]|0;b[f+5816>>1]=(p+65280&65535)>>>(16-j|0);k=j+-11|0;j=(p+65280&65535)>>>(16-j|0)}else k=k+5|0;c[f+5820>>2]=k;j=(q&65535)<>1]=j;if((k|0)>11){l=c[f+20>>2]|0;c[f+20>>2]=l+1;a[(c[f+8>>2]|0)+l>>0]=j;l=(e[f+5816>>1]|0)>>>8&255;j=c[f+20>>2]|0;c[f+20>>2]=j+1;a[(c[f+8>>2]|0)+j>>0]=l;j=c[f+5820>>2]|0;b[f+5816>>1]=(q&65535)>>>(16-j|0);l=j+-11|0;j=(q&65535)>>>(16-j|0)}else l=k+5|0;c[f+5820>>2]=l;k=r+65533&65535;j=k<>1]=j;if((l|0)>12){n=c[f+20>>2]|0;c[f+20>>2]=n+1;a[(c[f+8>>2]|0)+n>>0]=j;n=(e[f+5816>>1]|0)>>>8&255;j=c[f+20>>2]|0;c[f+20>>2]=j+1;a[(c[f+8>>2]|0)+j>>0]=n;j=c[f+5820>>2]|0;b[f+5816>>1]=k>>>(16-j|0);n=f+8|0;o=f+20|0;k=k>>>(16-j|0);j=j+-12|0}else{n=f+8|0;o=f+20|0;k=j;j=l+4|0}c[f+5820>>2]=j;m=0;while(1){l=e[f+2684+(d[610752+m>>0]<<2)+2>>1]|0;k=l<>1]=k;if((j|0)>13){j=c[o>>2]|0;c[o>>2]=j+1;a[(c[n>>2]|0)+j>>0]=k;k=(e[f+5816>>1]|0)>>>8&255;j=c[o>>2]|0;c[o>>2]=j+1;a[(c[n>>2]|0)+j>>0]=k;j=c[f+5820>>2]|0;b[f+5816>>1]=l>>>(16-j|0);k=l>>>(16-j|0);j=j+-13|0}else j=j+3|0;c[f+5820>>2]=j;if((m|0)==(r|0))break;else m=m+1|0}Clb(f,f+148|0,p);Clb(f,f+2440|0,q);Blb(f,f+148|0,f+2440|0)}while(0);vlb(f);if(!i)return;j=c[f+5820>>2]|0;if((j|0)>8){j=b[f+5816>>1]&255;i=c[f+20>>2]|0;c[f+20>>2]=i+1;a[(c[f+8>>2]|0)+i>>0]=j;i=(e[f+5816>>1]|0)>>>8&255;j=c[f+20>>2]|0;c[f+20>>2]=j+1;a[(c[f+8>>2]|0)+j>>0]=i;j=f+5816|0}else if((j|0)>0){i=b[f+5816>>1]&255;j=c[f+20>>2]|0;c[f+20>>2]=j+1;a[(c[f+8>>2]|0)+j>>0]=i;j=f+5816|0}else j=f+5816|0;b[j>>1]=0;c[f+5820>>2]=0;return}function Alb(f,g){f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+32|0;u=c[g>>2]|0;s=c[g+8>>2]|0;l=c[s>>2]|0;s=c[s+12>>2]|0;c[f+5200>>2]=0;c[f+5204>>2]=573;if((s|0)>0){j=-1;h=0;do{if(!(b[u+(h<<2)>>1]|0))b[u+(h<<2)+2>>1]=0;else{j=(c[f+5200>>2]|0)+1|0;c[f+5200>>2]=j;c[f+2908+(j<<2)>>2]=h;a[f+5208+h>>0]=0;j=h}h=h+1|0}while((h|0)!=(s|0));h=c[f+5200>>2]|0;if((h|0)<2)k=3;else t=j}else{h=0;j=-1;k=3}if((k|0)==3)if(!l){do{r=(j|0)<2;t=j+1|0;j=r?t:j;t=r?t:0;h=h+1|0;c[f+5200>>2]=h;c[f+2908+(h<<2)>>2]=t;b[u+(t<<2)>>1]=1;a[f+5208+t>>0]=0;c[f+5800>>2]=(c[f+5800>>2]|0)+-1;h=c[f+5200>>2]|0}while((h|0)<2);t=j}else{do{r=(j|0)<2;t=j+1|0;j=r?t:j;t=r?t:0;h=h+1|0;c[f+5200>>2]=h;c[f+2908+(h<<2)>>2]=t;b[u+(t<<2)>>1]=1;a[f+5208+t>>0]=0;c[f+5800>>2]=(c[f+5800>>2]|0)+-1;c[f+5804>>2]=(c[f+5804>>2]|0)-(e[l+(t<<2)+2>>1]|0);h=c[f+5200>>2]|0}while((h|0)<2);t=j}c[g+4>>2]=t;j=h;q=(h|0)/2|0;while(1){p=c[f+2908+(q<<2)>>2]|0;k=q<<1;a:do if((k|0)>(j|0))h=q;else{h=q;while(1){do if((k|0)<(j|0)){j=k|1;l=c[f+2908+(j<<2)>>2]|0;m=b[u+(l<<2)>>1]|0;n=c[f+2908+(k<<2)>>2]|0;o=b[u+(n<<2)>>1]|0;if((m&65535)>=(o&65535)){if(m<<16>>16!=o<<16>>16){m=k;break}if((d[f+5208+l>>0]|0)>(d[f+5208+n>>0]|0)){m=k;break}}m=j}else m=k;while(0);j=b[u+(p<<2)>>1]|0;k=c[f+2908+(m<<2)>>2]|0;l=b[u+(k<<2)>>1]|0;if((j&65535)<(l&65535))break a;if(j<<16>>16==l<<16>>16)if((d[f+5208+p>>0]|0)<=(d[f+5208+k>>0]|0))break a;c[f+2908+(h<<2)>>2]=k;k=m<<1;j=c[f+5200>>2]|0;if((k|0)>(j|0)){h=m;break}else h=m}}while(0);c[f+2908+(h<<2)>>2]=p;if((q|0)<=1)break;j=c[f+5200>>2]|0;q=q+-1|0}h=c[f+5200>>2]|0;do{r=c[f+2912>>2]|0;j=h+-1|0;c[f+5200>>2]=j;p=c[f+2908+(h<<2)>>2]|0;c[f+2912>>2]=p;b:do if((h|0)<3)h=1;else{h=1;o=2;while(1){do if((o|0)<(j|0)){j=o|1;k=c[f+2908+(j<<2)>>2]|0;l=b[u+(k<<2)>>1]|0;m=c[f+2908+(o<<2)>>2]|0;n=b[u+(m<<2)>>1]|0;if((l&65535)>=(n&65535)){if(l<<16>>16!=n<<16>>16){m=o;break}if((d[f+5208+k>>0]|0)>(d[f+5208+m>>0]|0)){m=o;break}}m=j}else m=o;while(0);j=b[u+(p<<2)>>1]|0;k=c[f+2908+(m<<2)>>2]|0;l=b[u+(k<<2)>>1]|0;if((j&65535)<(l&65535))break b;if(j<<16>>16==l<<16>>16)if((d[f+5208+p>>0]|0)<=(d[f+5208+k>>0]|0))break b;c[f+2908+(h<<2)>>2]=k;o=m<<1;j=c[f+5200>>2]|0;if((o|0)>(j|0)){h=m;break}else h=m}}while(0);c[f+2908+(h<<2)>>2]=p;o=c[f+2912>>2]|0;p=(c[f+5204>>2]|0)+-1|0;c[f+5204>>2]=p;c[f+2908+(p<<2)>>2]=r;p=(c[f+5204>>2]|0)+-1|0;c[f+5204>>2]=p;c[f+2908+(p<<2)>>2]=o;p=u+(s<<2)|0;b[p>>1]=(e[u+(o<<2)>>1]|0)+(e[u+(r<<2)>>1]|0);j=a[f+5208+r>>0]|0;n=a[f+5208+o>>0]|0;q=f+5208+s|0;a[q>>0]=(((j&255)<(n&255)?n:j)&255)+1;j=s&65535;b[u+(o<<2)+2>>1]=j;b[u+(r<<2)+2>>1]=j;c[f+2912>>2]=s;j=c[f+5200>>2]|0;c:do if((j|0)<2)h=1;else{h=1;o=2;while(1){do if((o|0)<(j|0)){j=o|1;k=c[f+2908+(j<<2)>>2]|0;l=b[u+(k<<2)>>1]|0;m=c[f+2908+(o<<2)>>2]|0;n=b[u+(m<<2)>>1]|0;if((l&65535)>=(n&65535)){if(l<<16>>16!=n<<16>>16){m=o;break}if((d[f+5208+k>>0]|0)>(d[f+5208+m>>0]|0)){m=o;break}}m=j}else m=o;while(0);j=b[p>>1]|0;k=c[f+2908+(m<<2)>>2]|0;l=b[u+(k<<2)>>1]|0;if((j&65535)<(l&65535))break c;if(j<<16>>16==l<<16>>16)if((d[q>>0]|0)<=(d[f+5208+k>>0]|0))break c;c[f+2908+(h<<2)>>2]=k;o=m<<1;j=c[f+5200>>2]|0;if((o|0)>(j|0)){h=m;break}else h=m}}while(0);c[f+2908+(h<<2)>>2]=s;s=s+1|0;h=c[f+5200>>2]|0}while((h|0)>1);s=c[f+2912>>2]|0;r=(c[f+5204>>2]|0)+-1|0;c[f+5204>>2]=r;c[f+2908+(r<<2)>>2]=s;r=c[g>>2]|0;s=c[g+4>>2]|0;q=c[g+8>>2]|0;n=c[q>>2]|0;o=c[q+4>>2]|0;p=c[q+8>>2]|0;q=c[q+16>>2]|0;h=f+2876|0;j=h+32|0;do{b[h>>1]=0;h=h+2|0}while((h|0)<(j|0));h=c[f+5204>>2]|0;b[r+(c[f+2908+(h<<2)>>2]<<2)+2>>1]=0;d:do if((h+1|0)<573){if(!n){m=h+1|0;h=0;do{l=c[f+2908+(m<<2)>>2]|0;g=e[r+(e[r+(l<<2)+2>>1]<<2)+2>>1]|0;k=(g|0)<(q|0)?g+1|0:q;h=((g|0)<(q|0)^1)+h|0;b[r+(l<<2)+2>>1]=k;if((l|0)<=(s|0)){b[f+2876+(k<<1)>>1]=(b[f+2876+(k<<1)>>1]|0)+1<<16>>16;if((l|0)<(p|0))j=0;else j=c[o+(l-p<<2)>>2]|0;g=_(e[r+(l<<2)>>1]|0,j+k|0)|0;c[f+5800>>2]=g+(c[f+5800>>2]|0)}m=m+1|0}while((m|0)!=573)}else{m=h+1|0;h=0;do{l=c[f+2908+(m<<2)>>2]|0;g=e[r+(e[r+(l<<2)+2>>1]<<2)+2>>1]|0;k=(g|0)<(q|0)?g+1|0:q;h=((g|0)<(q|0)^1)+h|0;b[r+(l<<2)+2>>1]=k;if((l|0)<=(s|0)){b[f+2876+(k<<1)>>1]=(b[f+2876+(k<<1)>>1]|0)+1<<16>>16;if((l|0)<(p|0))j=0;else j=c[o+(l-p<<2)>>2]|0;g=e[r+(l<<2)>>1]|0;k=_(g,j+k|0)|0;c[f+5800>>2]=k+(c[f+5800>>2]|0);g=_((e[n+(l<<2)+2>>1]|0)+j|0,g)|0;c[f+5804>>2]=g+(c[f+5804>>2]|0)}m=m+1|0}while((m|0)!=573)}if(h|0){while(1){j=q;while(1){l=j+-1|0;k=b[f+2876+(l<<1)>>1]|0;if(!(k<<16>>16))j=l;else break}b[f+2876+(l<<1)>>1]=k+-1<<16>>16;b[f+2876+(j<<1)>>1]=(e[f+2876+(j<<1)>>1]|0)+2;j=(b[f+2876+(q<<1)>>1]|0)+-1<<16>>16;b[f+2876+(q<<1)>>1]=j;if((h|0)>2)h=h+-2|0;else break}if(q|0){h=q;k=573;while(1){n=h&65535;if(j<<16>>16){m=j&65535;do{do{k=k+-1|0;j=c[f+2908+(k<<2)>>2]|0}while((j|0)>(s|0));l=e[r+(j<<2)+2>>1]|0;if((h|0)!=(l|0)){g=_(e[r+(j<<2)>>1]|0,h-l|0)|0;c[f+5800>>2]=g+(c[f+5800>>2]|0);b[r+(j<<2)+2>>1]=n}m=m+-1|0}while((m|0)!=0)}h=h+-1|0;if(!h)break d;j=b[f+2876+(h<<1)>>1]|0}}}}while(0);h=1;j=0;do{j=(e[f+2876+(h+-1<<1)>>1]|0)+(j&65534)<<1;b[v+(h<<1)>>1]=j;h=h+1|0}while((h|0)!=16);if((t|0)<0){i=v;return}else l=0;while(1){h=b[u+(l<<2)+2>>1]|0;if(h<<16>>16){k=b[v+((h&65535)<<1)>>1]|0;b[v+((h&65535)<<1)>>1]=k+1<<16>>16;j=h&65535;k=k&65535;h=0;while(1){h=h|k&1;if((j|0)>1){j=j+-1|0;k=k>>>1;h=h<<1}else break}b[u+(l<<2)>>1]=h}if((l|0)==(t|0))break;else l=l+1|0}i=v;return}function Blb(f,g,h){f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;if(!(c[f+5792>>2]|0)){m=f+5816|0;n=f+5820|0;l=c[f+5820>>2]|0;i=b[f+5816>>1]|0}else{p=0;do{o=b[(c[f+5796>>2]|0)+(p<<1)>>1]|0;n=d[(c[f+5784>>2]|0)+p>>0]|0;p=p+1|0;if(!(o<<16>>16)){k=e[g+(n<<2)+2>>1]|0;l=c[f+5820>>2]|0;i=e[g+(n<<2)>>1]|0;j=e[f+5816>>1]|0|i<>1]=j;if((l|0)>(16-k|0)){o=c[f+20>>2]|0;c[f+20>>2]=o+1;a[(c[f+8>>2]|0)+o>>0]=j;j=(e[f+5816>>1]|0)>>>8&255;o=c[f+20>>2]|0;c[f+20>>2]=o+1;a[(c[f+8>>2]|0)+o>>0]=j;o=c[f+5820>>2]|0;b[f+5816>>1]=i>>>(16-o|0);j=i>>>(16-o|0)&65535;i=k+-16+o|0}else{j=j&65535;i=l+k|0}c[f+5820>>2]=i}else{m=d[610496+n>>0]|0;k=e[g+((m|256)+1<<2)+2>>1]|0;l=c[f+5820>>2]|0;i=e[g+((m|256)+1<<2)>>1]|0;j=e[f+5816>>1]|0|i<>1]=j;if((l|0)>(16-k|0)){l=c[f+20>>2]|0;c[f+20>>2]=l+1;a[(c[f+8>>2]|0)+l>>0]=j;j=(e[f+5816>>1]|0)>>>8&255;l=c[f+20>>2]|0;c[f+20>>2]=l+1;a[(c[f+8>>2]|0)+l>>0]=j;l=c[f+5820>>2]|0;b[f+5816>>1]=i>>>(16-l|0);j=i>>>(16-l|0)&65535;i=k+-16+l|0}else{j=j&65535;i=l+k|0}c[f+5820>>2]=i;l=c[31980+(m<<2)>>2]|0;if((m+-8|0)>>>0<20){k=n-(c[139932+(m<<2)>>2]|0)&65535;j=k<>1]=j;if((i|0)>(16-l|0)){i=c[f+20>>2]|0;c[f+20>>2]=i+1;a[(c[f+8>>2]|0)+i>>0]=j;j=(e[f+5816>>1]|0)>>>8&255;i=c[f+20>>2]|0;c[f+20>>2]=i+1;a[(c[f+8>>2]|0)+i>>0]=j;i=c[f+5820>>2]|0;b[f+5816>>1]=k>>>(16-i|0);j=k>>>(16-i|0)&65535;i=l+-16+i|0}else{j=j&65535;i=i+l|0}c[f+5820>>2]=i}m=d[609984+(((o&65535)+-1|0)>>>0<256?(o&65535)+-1|0:(((o&65535)+-1|0)>>>7)+256|0)>>0]|0;k=e[h+(m<<2)+2>>1]|0;l=e[h+(m<<2)>>1]|0;j=j&65535|l<>1]=j;if((i|0)>(16-k|0)){i=c[f+20>>2]|0;c[f+20>>2]=i+1;a[(c[f+8>>2]|0)+i>>0]=j;i=(e[f+5816>>1]|0)>>>8&255;j=c[f+20>>2]|0;c[f+20>>2]=j+1;a[(c[f+8>>2]|0)+j>>0]=i;j=c[f+5820>>2]|0;b[f+5816>>1]=l>>>(16-j|0);i=k+-16+j|0;j=l>>>(16-j|0)&65535}else{i=i+k|0;j=j&65535}c[f+5820>>2]=i;l=c[139716+(m<<2)>>2]|0;if((m+-4|0)>>>0<26){k=(o&65535)+-1-(c[140048+(m<<2)>>2]|0)&65535;j=k<>1]=j;if((i|0)>(16-l|0)){i=c[f+20>>2]|0;c[f+20>>2]=i+1;a[(c[f+8>>2]|0)+i>>0]=j;j=(e[f+5816>>1]|0)>>>8&255;i=c[f+20>>2]|0;c[f+20>>2]=i+1;a[(c[f+8>>2]|0)+i>>0]=j;i=c[f+5820>>2]|0;b[f+5816>>1]=k>>>(16-i|0);j=k>>>(16-i|0)&65535;i=l+-16+i|0}else{j=j&65535;i=i+l|0}c[f+5820>>2]=i}}}while(p>>>0<(c[f+5792>>2]|0)>>>0);m=f+5816|0;n=f+5820|0;l=i;i=j}k=e[g+1026>>1]|0;j=e[g+1024>>1]|0;i=i&65535|j<>1]=i;if((l|0)>(16-k|0)){p=c[f+20>>2]|0;c[f+20>>2]=p+1;a[(c[f+8>>2]|0)+p>>0]=i;p=(e[m>>1]|0)>>>8&255;g=c[f+20>>2]|0;c[f+20>>2]=g+1;a[(c[f+8>>2]|0)+g>>0]=p;f=c[n>>2]|0;b[m>>1]=j>>>(16-f|0);f=k+-16+f|0;c[n>>2]=f;return}else{f=l+k|0;c[n>>2]=f;return}}function Clb(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=b[f+2>>1]|0;j=r<<16>>16==0?138:7;k=r<<16>>16==0?3:4;h=0;r=r&65535;l=-1;a:while(1){i=0;while(1){if((h|0)>(g|0))break a;o=h+1|0;q=b[f+(o<<2)+2>>1]|0;m=i+1|0;p=(r|0)==(q&65535|0);if((m|0)<(j|0)&p){i=m;h=o}else{n=i;break}}do if((m|0)<(k|0)){l=d+2684+(r<<2)+2|0;n=d+2684+(r<<2)|0;h=c[d+5820>>2]|0;i=b[d+5816>>1]|0;do{k=e[l>>1]|0;j=e[n>>1]|0;i=i&65535|j<>1]=i;if((h|0)>(16-k|0)){h=c[d+20>>2]|0;c[d+20>>2]=h+1;a[(c[d+8>>2]|0)+h>>0]=i;i=(e[d+5816>>1]|0)>>>8&255;h=c[d+20>>2]|0;c[d+20>>2]=h+1;a[(c[d+8>>2]|0)+h>>0]=i;h=c[d+5820>>2]|0;b[d+5816>>1]=j>>>(16-h|0);i=j>>>(16-h|0)&65535;h=k+-16+h|0}else{i=i&65535;h=h+k|0}c[d+5820>>2]=h;m=m+-1|0}while((m|0)!=0)}else{if(r|0){if((r|0)==(l|0)){i=b[d+5816>>1]|0;l=c[d+5820>>2]|0}else{j=e[d+2684+(r<<2)+2>>1]|0;k=c[d+5820>>2]|0;h=e[d+2684+(r<<2)>>1]|0;i=e[d+5816>>1]|0|h<>1]=i;if((k|0)>(16-j|0)){m=c[d+20>>2]|0;c[d+20>>2]=m+1;a[(c[d+8>>2]|0)+m>>0]=i;i=(e[d+5816>>1]|0)>>>8&255;m=c[d+20>>2]|0;c[d+20>>2]=m+1;a[(c[d+8>>2]|0)+m>>0]=i;m=c[d+5820>>2]|0;b[d+5816>>1]=h>>>(16-m|0);i=h>>>(16-m|0)&65535;h=j+-16+m|0}else{i=i&65535;h=k+j|0}c[d+5820>>2]=h;l=h;m=n}j=e[d+2750>>1]|0;k=e[d+2748>>1]|0;h=i&65535|k<>1]=h;if((l|0)>(16-j|0)){n=c[d+20>>2]|0;c[d+20>>2]=n+1;a[(c[d+8>>2]|0)+n>>0]=h;n=(e[d+5816>>1]|0)>>>8&255;h=c[d+20>>2]|0;c[d+20>>2]=h+1;a[(c[d+8>>2]|0)+h>>0]=n;h=c[d+5820>>2]|0;b[d+5816>>1]=k>>>(16-h|0);j=j+-16+h|0;h=k>>>(16-h|0)}else j=l+j|0;c[d+5820>>2]=j;i=m+65533&65535;h=h&65535|i<>1]=h;if((j|0)>14){n=c[d+20>>2]|0;c[d+20>>2]=n+1;a[(c[d+8>>2]|0)+n>>0]=h;n=(e[d+5816>>1]|0)>>>8&255;h=c[d+20>>2]|0;c[d+20>>2]=h+1;a[(c[d+8>>2]|0)+h>>0]=n;h=c[d+5820>>2]|0;b[d+5816>>1]=i>>>(16-h|0);h=h+-14|0}else h=j+2|0;c[d+5820>>2]=h;break}if((m|0)<11){i=e[d+2754>>1]|0;j=c[d+5820>>2]|0;k=e[d+2752>>1]|0;h=e[d+5816>>1]|0|k<>1]=h;if((j|0)>(16-i|0)){m=c[d+20>>2]|0;c[d+20>>2]=m+1;a[(c[d+8>>2]|0)+m>>0]=h;m=(e[d+5816>>1]|0)>>>8&255;h=c[d+20>>2]|0;c[d+20>>2]=h+1;a[(c[d+8>>2]|0)+h>>0]=m;h=c[d+5820>>2]|0;b[d+5816>>1]=k>>>(16-h|0);i=i+-16+h|0;h=k>>>(16-h|0)}else i=j+i|0;c[d+5820>>2]=i;h=h&65535|(n+65534&65535)<>1]=h;if((i|0)>13){m=c[d+20>>2]|0;c[d+20>>2]=m+1;a[(c[d+8>>2]|0)+m>>0]=h;m=(e[d+5816>>1]|0)>>>8&255;h=c[d+20>>2]|0;c[d+20>>2]=h+1;a[(c[d+8>>2]|0)+h>>0]=m;h=c[d+5820>>2]|0;b[d+5816>>1]=(n+65534&65535)>>>(16-h|0);h=h+-13|0}else h=i+3|0;c[d+5820>>2]=h;break}else{i=e[d+2758>>1]|0;j=c[d+5820>>2]|0;k=e[d+2756>>1]|0;h=e[d+5816>>1]|0|k<>1]=h;if((j|0)>(16-i|0)){m=c[d+20>>2]|0;c[d+20>>2]=m+1;a[(c[d+8>>2]|0)+m>>0]=h;m=(e[d+5816>>1]|0)>>>8&255;h=c[d+20>>2]|0;c[d+20>>2]=h+1;a[(c[d+8>>2]|0)+h>>0]=m;h=c[d+5820>>2]|0;b[d+5816>>1]=k>>>(16-h|0);i=i+-16+h|0;h=k>>>(16-h|0)}else i=j+i|0;c[d+5820>>2]=i;h=h&65535|(n+65526&65535)<>1]=h;if((i|0)>9){m=c[d+20>>2]|0;c[d+20>>2]=m+1;a[(c[d+8>>2]|0)+m>>0]=h;m=(e[d+5816>>1]|0)>>>8&255;h=c[d+20>>2]|0;c[d+20>>2]=h+1;a[(c[d+8>>2]|0)+h>>0]=m;h=c[d+5820>>2]|0;b[d+5816>>1]=(n+65526&65535)>>>(16-h|0);h=h+-9|0}else h=i+7|0;c[d+5820>>2]=h;break}}while(0);l=r;j=q<<16>>16==0?138:p?6:7;k=q<<16>>16==0|p?3:4;h=o;r=q&65535}return}function Dlb(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;g=i;i=i+64|0;c[g>>2]=d;c[g+4>>2]=e;c[g+12>>2]=a;c[g+16>>2]=c[b>>2];c[g+32>>2]=0;c[g+36>>2]=0;a=plb(g,610771,56)|0;if(a|0){f=a;i=g;return f|0}a=qlb(g,4)|0;if((a|0)==1){c[b>>2]=c[g+20>>2];f=slb(g)|0;i=g;return f|0}slb(g)|0;switch(a|0){case -5:{f=4;break}case 2:{f=-3;i=g;return f|0}default:{}}if((f|0)==4)if(!(c[g+4>>2]|0)){f=-3;i=g;return f|0}f=a;i=g;return f|0}function Elb(a,b,c){a=a|0;b=b|0;c=c|0;return Vpb(_(c,b)|0)|0}function Flb(a,b){a=a|0;b=b|0;Wpb(b);return}function Glb(a,b,c){a=a|0;b=b|0;c=c|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;if((c|0)==1){j=(d[b>>0]|0)+(a&65535)|0;j=j>>>0>65520?j+-65521|0:j;j=((j+(a>>>16)|0)>>>0>65520?j+(a>>>16)+15|0:j+(a>>>16)|0)<<16|j;return j|0}if(!b){j=1;return j|0}if(c>>>0<16){if(!c){c=a&65535;b=a>>>16}else{f=b;e=c;c=a&65535;b=a>>>16;while(1){e=e+-1|0;c=(d[f>>0]|0)+c|0;b=c+b|0;if(!e)break;else f=f+1|0}}j=((b>>>0)%65521|0)<<16|(c>>>0>65520?c+-65521|0:c);return j|0}if(c>>>0>5551){e=a&65535;f=a>>>16;while(1){i=c+-5552|0;g=b;a=347;c=f;while(1){w=(d[g>>0]|0)+e|0;v=w+(d[g+1>>0]|0)|0;u=v+(d[g+2>>0]|0)|0;t=u+(d[g+3>>0]|0)|0;s=t+(d[g+4>>0]|0)|0;r=s+(d[g+5>>0]|0)|0;q=r+(d[g+6>>0]|0)|0;p=q+(d[g+7>>0]|0)|0;o=p+(d[g+8>>0]|0)|0;n=o+(d[g+9>>0]|0)|0;m=n+(d[g+10>>0]|0)|0;l=m+(d[g+11>>0]|0)|0;k=l+(d[g+12>>0]|0)|0;f=k+(d[g+13>>0]|0)|0;h=f+(d[g+14>>0]|0)|0;e=h+(d[g+15>>0]|0)|0;h=w+c+v+u+t+s+r+q+p+o+n+m+l+k+f+h+e|0;a=a+-1|0;if(!a)break;else{g=g+16|0;c=h}}f=b+5552|0;if(i>>>0>5551){b=f;c=i;e=(e>>>0)%65521|0;f=(h>>>0)%65521|0}else{c=(e>>>0)%65521|0;b=(h>>>0)%65521|0;break}}if(i)if(i>>>0>15){e=i;j=14}else{e=i;j=17}}else{e=c;f=b;c=a&65535;b=a>>>16;j=14}if((j|0)==14){a=e+-16|0;g=f+((a&-16)+16)|0;while(1){e=e+-16|0;i=(d[f>>0]|0)+c|0;j=i+(d[f+1>>0]|0)|0;k=j+(d[f+2>>0]|0)|0;l=k+(d[f+3>>0]|0)|0;m=l+(d[f+4>>0]|0)|0;n=m+(d[f+5>>0]|0)|0;o=n+(d[f+6>>0]|0)|0;p=o+(d[f+7>>0]|0)|0;q=p+(d[f+8>>0]|0)|0;r=q+(d[f+9>>0]|0)|0;s=r+(d[f+10>>0]|0)|0;t=s+(d[f+11>>0]|0)|0;u=t+(d[f+12>>0]|0)|0;v=u+(d[f+13>>0]|0)|0;w=v+(d[f+14>>0]|0)|0;c=w+(d[f+15>>0]|0)|0;b=i+b+j+k+l+m+n+o+p+q+r+s+t+u+v+w+c|0;if(e>>>0<=15)break;else f=f+16|0}if((a|0)==(a&-16|0))j=18;else{e=a-(a&-16)|0;f=g;j=17}}if((j|0)==17)while(1){e=e+-1|0;c=(d[f>>0]|0)+c|0;b=c+b|0;if(!e){j=18;break}else{f=f+1|0;j=17}}if((j|0)==18){c=(c>>>0)%65521|0;b=(b>>>0)%65521|0}w=b<<16|c;return w|0}function Hlb(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0;if(!b){g=0;return g|0}a:do if(!e)b=~a;else{f=b;b=~a;while(1){if(!(f&3))break;b=c[140208+(((d[f>>0]|0)^b&255)<<2)>>2]^b>>>8;e=e+-1|0;if(!e)break a;else f=f+1|0}if(e>>>0>31){a=e;g=f;while(1){b=c[g>>2]^b;b=c[142256+((b>>>8&255)<<2)>>2]^c[143280+((b&255)<<2)>>2]^c[141232+((b>>>16&255)<<2)>>2]^c[140208+(b>>>24<<2)>>2]^c[g+4>>2];b=c[142256+((b>>>8&255)<<2)>>2]^c[143280+((b&255)<<2)>>2]^c[141232+((b>>>16&255)<<2)>>2]^c[140208+(b>>>24<<2)>>2]^c[g+8>>2];b=c[142256+((b>>>8&255)<<2)>>2]^c[143280+((b&255)<<2)>>2]^c[141232+((b>>>16&255)<<2)>>2]^c[140208+(b>>>24<<2)>>2]^c[g+12>>2];b=c[142256+((b>>>8&255)<<2)>>2]^c[143280+((b&255)<<2)>>2]^c[141232+((b>>>16&255)<<2)>>2]^c[140208+(b>>>24<<2)>>2]^c[g+16>>2];b=c[142256+((b>>>8&255)<<2)>>2]^c[143280+((b&255)<<2)>>2]^c[141232+((b>>>16&255)<<2)>>2]^c[140208+(b>>>24<<2)>>2]^c[g+20>>2];b=c[142256+((b>>>8&255)<<2)>>2]^c[143280+((b&255)<<2)>>2]^c[141232+((b>>>16&255)<<2)>>2]^c[140208+(b>>>24<<2)>>2]^c[g+24>>2];b=c[142256+((b>>>8&255)<<2)>>2]^c[143280+((b&255)<<2)>>2]^c[141232+((b>>>16&255)<<2)>>2]^c[140208+(b>>>24<<2)>>2]^c[g+28>>2];b=c[142256+((b>>>8&255)<<2)>>2]^c[143280+((b&255)<<2)>>2]^c[141232+((b>>>16&255)<<2)>>2]^c[140208+(b>>>24<<2)>>2];a=a+-32|0;if(a>>>0<=31)break;else g=g+32|0}a=e+-32-(e+-32&-32)|0;f=f+((e+-32&-32)+32)|0}else a=e;if(a>>>0>3){g=a+-4|0;e=a;a=f;while(1){b=c[a>>2]^b;b=c[142256+((b>>>8&255)<<2)>>2]^c[143280+((b&255)<<2)>>2]^c[141232+((b>>>16&255)<<2)>>2]^c[140208+(b>>>24<<2)>>2];e=e+-4|0;if(e>>>0<=3)break;else a=a+4|0}e=g-(g>>>2<<2)|0;f=f+((g>>>2)+1<<2)|0}else e=a;if(e)while(1){b=c[140208+(((d[f>>0]|0)^b&255)<<2)>>2]^b>>>8;e=e+-1|0;if(!e)break;else f=f+1|0}}while(0);g=~b;return g|0}function Ilb(e,f){e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;z=c[e+28>>2]|0;j=(c[e>>2]|0)+-1|0;C=j+((c[e+4>>2]|0)+-5)|0;A=(c[e+12>>2]|0)+-1|0;B=c[e+16>>2]|0;r=c[z+40>>2]|0;s=c[z+44>>2]|0;t=c[z+48>>2]|0;u=c[z+76>>2]|0;v=c[z+80>>2]|0;w=(1<>2])+-1|0;x=(1<>2])+-1|0;y=(c[z+52>>2]|0)+-1|0;h=c[z+60>>2]|0;i=c[z+56>>2]|0;g=A;a:do{if(h>>>0<15){q=j+2|0;k=h+16|0;i=((d[j+1>>0]|0)<>0]|0)<>0]|0;l=b[u+(h<<2)+2>>1]|0;h=d[u+(h<<2)+1>>0]|0;i=i>>>h;h=k-h|0;do if(!(m<<24>>24)){k=l&255;D=7}else{k=m&255;while(1){if(k&16|0){m=l;break}if(k&64|0){D=55;break a}q=(i&(1<>0]|0;l=b[u+(q<<2)+2>>1]|0;q=d[u+(q<<2)+1>>0]|0;i=i>>>q;h=h-q|0;if(!(k<<24>>24)){D=6;break}else k=k&255}if((D|0)==6){k=l&255;D=7;break}if(!(k&15)){n=i;l=m&65535}else{if(h>>>0<(k&15)>>>0){j=j+1|0;l=h+8|0;i=((d[j>>0]|0)<>>(k&15);l=(i&(1<<(k&15))+-1)+(m&65535)|0}if(h>>>0<15){q=j+2|0;m=h+16|0;h=((d[j+1>>0]|0)<>0]|0)<>1]|0;p=d[v+(q<<2)+1>>0]|0;i=h>>>p;h=m-p|0;m=d[v+(q<<2)>>0]|0;if(!(m&16))do{if(m&64|0){D=52;break a}m=(i&(1<>1]|0;q=d[v+(m<<2)+1>>0]|0;i=i>>>q;h=h-q|0;m=d[v+(m<<2)>>0]|0}while((m&16|0)==0);n=k&65535;o=m&15;if(h>>>0>>0){m=j+1|0;i=((d[m>>0]|0)<>>0>>0){j=j+2|0;h=h+16|0;i=((d[j>>0]|0)<>>o;h=h-o|0;p=g;if(q>>>0<=(p-(A+(B-f))|0)>>>0){k=g+(0-q)|0;n=g;while(1){a[n+1>>0]=a[k+1>>0]|0;a[n+2>>0]=a[k+2>>0]|0;m=k+3|0;g=n+3|0;a[g>>0]=a[m>>0]|0;l=l+-3|0;if(l>>>0>2){k=m;n=g}else break}if(!l)break;a[n+4>>0]=a[k+4>>0]|0;if(l>>>0<=1){g=n+4|0;break}a[n+5>>0]=a[k+5>>0]|0;g=n+5|0;break}k=q-(p-(A+(B-f)))|0;if(k>>>0>s>>>0)if(c[z+7104>>2]|0){D=22;break a}do if(!t)if(l>>>0>k>>>0){l=l-k|0;n=y+(r-k)|0;m=g;do{n=n+1|0;m=m+1|0;a[m>>0]=a[n>>0]|0;k=k+-1|0}while((k|0)!=0);g=g+(A+(B-f))+(q-p)|0;k=g+(0-q)|0}else k=y+(r-k)|0;else{if(t>>>0>=k>>>0){if(l>>>0<=k>>>0){k=y+(t-k)|0;break}l=l-k|0;n=y+(t-k)|0;m=g;do{n=n+1|0;m=m+1|0;a[m>>0]=a[n>>0]|0;k=k+-1|0}while((k|0)!=0);g=g+(A+(B-f))+(q-p)|0;k=g+(0-q)|0;break}if(l>>>0>(k-t|0)>>>0){l=l-(k-t)|0;n=y+(t+r-k)|0;k=k-t|0;m=g;do{n=n+1|0;m=m+1|0;a[m>>0]=a[n>>0]|0;k=k+-1|0}while((k|0)!=0);o=g+(A+(B-f)-t)+(q-p)|0;if(l>>>0>t>>>0){m=y;n=t;k=o;do{m=m+1|0;k=k+1|0;a[k>>0]=a[m>>0]|0;n=n+-1|0}while((n|0)!=0);g=g+(A+(B-f))+(q-p)|0;k=g+(0-q)|0;l=l-t|0}else{k=y;g=o}}else k=y+(t+r-k)|0}while(0);if(l>>>0>2)do{a[g+1>>0]=a[k+1>>0]|0;a[g+2>>0]=a[k+2>>0]|0;k=k+3|0;g=g+3|0;a[g>>0]=a[k>>0]|0;l=l+-3|0}while(l>>>0>2);if(l){m=g+1|0;a[m>>0]=a[k+1>>0]|0;if(l>>>0>1){g=g+2|0;a[g>>0]=a[k+2>>0]|0}else g=m}}while(0);if((D|0)==7){D=0;g=g+1|0;a[g>>0]=k}}while(g>>>0<(A+(B+-257)|0)>>>0&j>>>0>>0);do if((D|0)==22){c[e+24>>2]=610893;c[z>>2]=29}else if((D|0)==52){c[e+24>>2]=610923;c[z>>2]=29}else if((D|0)==55)if(!(k&32)){c[e+24>>2]=610945;c[z>>2]=29;break}else{c[z>>2]=11;break}while(0);D=h>>>3;f=j+(0-D)|0;D=h-(D<<3)|0;c[e>>2]=f+1;c[e+12>>2]=g+1;c[e+4>>2]=C+5-f;c[e+16>>2]=A+(B+-257)+257-g;c[z+56>>2]=(1<>2]=D;return}function Jlb(b){b=b|0;var d=0;d=i;i=i+16|0;c[d+8>>2]=b;c[d+4>>2]=Vpb((rnb(c[d+8>>2]|0)|0)+1|0)|0;Bnb(c[d+4>>2]|0,c[d+8>>2]|0)|0;c[d>>2]=pob(c[d+4>>2]|0,610973)|0;if(c[d>>2]|0)a[c[d>>2]>>0]=0;c[d>>2]=pob(c[d+4>>2]|0,610977)|0;if(c[d>>2]|0)a[c[d>>2]>>0]=0;c[d>>2]=pob(c[d+4>>2]|0,610981)|0;if(c[d>>2]|0)a[c[d>>2]>>0]=0;c[d>>2]=pob(c[d+4>>2]|0,610985)|0;if(c[d>>2]|0)a[c[d>>2]>>0]=0;do if(Imb(c[d+4>>2]|0,610991)|0){if(!(Imb(c[d+4>>2]|0,611029)|0)){c[d+4>>2]=611048;break}if(!(Imb(c[d+4>>2]|0,611061)|0)){c[d+4>>2]=611082;break}if(!(Imb(c[d+4>>2]|0,611097)|0)){c[d+4>>2]=611112;break}if(!(Imb(c[d+4>>2]|0,611127)|0))c[d+4>>2]=611142}else c[d+4>>2]=611013;while(0);do if(Imb(c[d+4>>2]|0,611157)|0){if(!(Imb(c[d+4>>2]|0,611171)|0)){c[d+12>>2]=1565;break}if(!(Imb(c[d+4>>2]|0,611183)|0)){c[d+12>>2]=244;break}if(!(Imb(c[d+4>>2]|0,611197)|0)){c[d+12>>2]=245;break}if(!(Imb(c[d+4>>2]|0,611209)|0)){c[d+12>>2]=246;break}if(!(Imb(c[d+4>>2]|0,611223)|0)){c[d+12>>2]=247;break}if(!(Imb(c[d+4>>2]|0,611237)|0)){c[d+12>>2]=248;break}if(!(Imb(c[d+4>>2]|0,611254)|0)){c[d+12>>2]=1;break}if(!(Imb(c[d+4>>2]|0,611277)|0)){c[d+12>>2]=13;break}if(!(Imb(c[d+4>>2]|0,611303)|0)){c[d+12>>2]=14;break}if(!(Imb(c[d+4>>2]|0,611316)|0)){c[d+12>>2]=15;break}if(!(Imb(c[d+4>>2]|0,611332)|0)){c[d+12>>2]=5;break}if(!(Imb(c[d+4>>2]|0,611345)|0)){c[d+12>>2]=249;break}if(!(Imb(c[d+4>>2]|0,611359)|0)){c[d+12>>2]=115;break}if(!(Imb(c[d+4>>2]|0,611379)|0)){c[d+12>>2]=116;break}if(!(Imb(c[d+4>>2]|0,611399)|0)){c[d+12>>2]=117;break}if(!(Imb(c[d+4>>2]|0,611416)|0)){c[d+12>>2]=118;break}if(!(Imb(c[d+4>>2]|0,611433)|0)){c[d+12>>2]=1566;break}if(!(Imb(c[d+4>>2]|0,611445)|0)){c[d+12>>2]=250;break}if(!(Imb(c[d+4>>2]|0,611458)|0)){c[d+12>>2]=251;break}if(!(Imb(c[d+4>>2]|0,611474)|0)){c[d+12>>2]=119;break}if(!(Imb(c[d+4>>2]|0,611497)|0)){c[d+12>>2]=54;break}if(!(Imb(c[d+4>>2]|0,611510)|0)){c[d+12>>2]=55;break}if(!(Imb(c[d+4>>2]|0,611526)|0)){c[d+12>>2]=1567;break}if(!(Imb(c[d+4>>2]|0,611537)|0)){c[d+12>>2]=252;break}if(!(Imb(c[d+4>>2]|0,611556)|0)){c[d+12>>2]=253;break}if(!(Imb(c[d+4>>2]|0,611578)|0)){c[d+12>>2]=254;break}if(!(Imb(c[d+4>>2]|0,611597)|0)){c[d+12>>2]=120;break}if(!(Imb(c[d+4>>2]|0,611626)|0)){c[d+12>>2]=1568;break}if(!(Imb(c[d+4>>2]|0,611643)|0)){c[d+12>>2]=121;break}if(!(Imb(c[d+4>>2]|0,611658)|0)){c[d+12>>2]=122;break}if(!(Imb(c[d+4>>2]|0,611673)|0)){c[d+12>>2]=394;break}if(!(Imb(c[d+4>>2]|0,611694)|0)){c[d+12>>2]=123;break}if(!(Imb(c[d+4>>2]|0,611714)|0)){c[d+12>>2]=124;break}if(!(Imb(c[d+4>>2]|0,611734)|0)){c[d+12>>2]=125;break}if(!(Imb(c[d+4>>2]|0,611760)|0)){c[d+12>>2]=6;break}if(!(Imb(c[d+4>>2]|0,611779)|0)){c[d+12>>2]=28;break}if(!(Imb(c[d+4>>2]|0,611791)|0)){c[d+12>>2]=2;break}if(!(Imb(c[d+4>>2]|0,611803)|0)){c[d+12>>2]=3;break}if(!(Imb(c[d+4>>2]|0,611815)|0)){c[d+12>>2]=1;break}if(!(Imb(c[d+4>>2]|0,611827)|0)){c[d+12>>2]=255;break}if(!(Imb(c[d+4>>2]|0,611839)|0)){c[d+12>>2]=126;break}if(!(Imb(c[d+4>>2]|0,611851)|0)){c[d+12>>2]=56;break}if(!(Imb(c[d+4>>2]|0,611863)|0)){c[d+12>>2]=10;break}if(!(Imb(c[d+4>>2]|0,611875)|0)){c[d+12>>2]=127;break}if(!(Imb(c[d+4>>2]|0,611888)|0)){c[d+12>>2]=128;break}if(!(Imb(c[d+4>>2]|0,611901)|0)){c[d+12>>2]=129;break}if(!(Imb(c[d+4>>2]|0,611914)|0)){c[d+12>>2]=130;break}if(!(Imb(c[d+4>>2]|0,611927)|0)){c[d+12>>2]=131;break}if(!(Imb(c[d+4>>2]|0,611940)|0)){c[d+12>>2]=132;break}if(!(Imb(c[d+4>>2]|0,611953)|0)){c[d+12>>2]=133;break}if(!(Imb(c[d+4>>2]|0,611966)|0)){c[d+12>>2]=134;break}if(!(Imb(c[d+4>>2]|0,611979)|0)){c[d+12>>2]=57;break}if(!(Imb(c[d+4>>2]|0,611998)|0)){c[d+12>>2]=58;break}if(!(Imb(c[d+4>>2]|0,612017)|0)){c[d+12>>2]=59;break}if(!(Imb(c[d+4>>2]|0,612036)|0)){c[d+12>>2]=256;break}if(!(Imb(c[d+4>>2]|0,612049)|0)){c[d+12>>2]=257;break}if(!(Imb(c[d+4>>2]|0,612067)|0)){c[d+12>>2]=258;break}if(!(Imb(c[d+4>>2]|0,612085)|0)){c[d+12>>2]=259;break}if(!(Imb(c[d+4>>2]|0,612103)|0)){c[d+12>>2]=260;break}if(!(Imb(c[d+4>>2]|0,612121)|0)){c[d+12>>2]=395;break}if(!(Imb(c[d+4>>2]|0,612141)|0)){c[d+12>>2]=7;break}if(!(Imb(c[d+4>>2]|0,611082)|0)){c[d+12>>2]=1569;break}if(!(Imb(c[d+4>>2]|0,612159)|0)){c[d+12>>2]=762;break}if(!(Imb(c[d+4>>2]|0,612174)|0)){c[d+12>>2]=60;break}if(!(Imb(c[d+4>>2]|0,612195)|0)){c[d+12>>2]=61;break}if(!(Imb(c[d+4>>2]|0,612210)|0)){c[d+12>>2]=62;break}if(!(Imb(c[d+4>>2]|0,612228)|0)){c[d+12>>2]=763;break}if(!(Imb(c[d+4>>2]|0,612244)|0)){c[d+12>>2]=63;break}if(!(Imb(c[d+4>>2]|0,612263)|0)){c[d+12>>2]=135;break}if(!(Imb(c[d+4>>2]|0,612277)|0)){c[d+12>>2]=136;break}if(!(Imb(c[d+4>>2]|0,612292)|0)){c[d+12>>2]=1570;break}if(!(Imb(c[d+4>>2]|0,611013)|0)){c[d+12>>2]=4;break}if(!(Imb(c[d+4>>2]|0,612303)|0)){c[d+12>>2]=764;break}if(!(Imb(c[d+4>>2]|0,611112)|0)){c[d+12>>2]=261;break}if(!(Imb(c[d+4>>2]|0,611142)|0)){c[d+12>>2]=262;break}if(!(Imb(c[d+4>>2]|0,612319)|0)){c[d+12>>2]=64;break}if(!(Imb(c[d+4>>2]|0,612346)|0)){c[d+12>>2]=765;break}if(!(Imb(c[d+4>>2]|0,612360)|0)){c[d+12>>2]=65;break}if(!(Imb(c[d+4>>2]|0,611048)|0)){c[d+12>>2]=766;break}if(!(Imb(c[d+4>>2]|0,612380)|0)){c[d+12>>2]=767;break}if(!(Imb(c[d+4>>2]|0,612398)|0)){c[d+12>>2]=1571;break}if(!(Imb(c[d+4>>2]|0,612410)|0)){c[d+12>>2]=137;break}if(!(Imb(c[d+4>>2]|0,612431)|0)){c[d+12>>2]=263;break}if(!(Imb(c[d+4>>2]|0,612449)|0)){c[d+12>>2]=264;break}if(!(Imb(c[d+4>>2]|0,612467)|0)){c[d+12>>2]=265;break}if(!(Imb(c[d+4>>2]|0,612488)|0)){c[d+12>>2]=66;break}if(!(Imb(c[d+4>>2]|0,612514)|0)){c[d+12>>2]=11;break}if(!(Imb(c[d+4>>2]|0,612537)|0)){c[d+12>>2]=67;break}if(!(Imb(c[d+4>>2]|0,612575)|0)){c[d+12>>2]=1572;break}if(!(Imb(c[d+4>>2]|0,612591)|0)){c[d+12>>2]=768;break}if(!(Imb(c[d+4>>2]|0,612606)|0)){c[d+12>>2]=138;break}if(!(Imb(c[d+4>>2]|0,612629)|0)){c[d+12>>2]=68;break}if(!(Imb(c[d+4>>2]|0,612642)|0)){c[d+12>>2]=266;break}if(!(Imb(c[d+4>>2]|0,612656)|0)){c[d+12>>2]=267;break}if(!(Imb(c[d+4>>2]|0,612670)|0)){c[d+12>>2]=55;break}if(!(Imb(c[d+4>>2]|0,612690)|0)){c[d+12>>2]=769;break}if(!(Imb(c[d+4>>2]|0,612710)|0)){c[d+12>>2]=69;break}if(!(Imb(c[d+4>>2]|0,612726)|0)){c[d+12>>2]=70;break}if(!(Imb(c[d+4>>2]|0,612744)|0)){c[d+12>>2]=139;break}if(!(Imb(c[d+4>>2]|0,612760)|0)){c[d+12>>2]=71;break}if(!(Imb(c[d+4>>2]|0,612775)|0)){c[d+12>>2]=770;break}if(!(Imb(c[d+4>>2]|0,612797)|0)){c[d+12>>2]=268;break}if(!(Imb(c[d+4>>2]|0,612815)|0)){c[d+12>>2]=269;break}if(!(Imb(c[d+4>>2]|0,612836)|0)){c[d+12>>2]=771;break}if(!(Imb(c[d+4>>2]|0,612854)|0)){c[d+12>>2]=772;break}if(!(Imb(c[d+4>>2]|0,612867)|0)){c[d+12>>2]=8;break}if(!(Imb(c[d+4>>2]|0,612882)|0)){c[d+12>>2]=773;break}if(!(Imb(c[d+4>>2]|0,612896)|0)){c[d+12>>2]=1;break}if(!(Imb(c[d+4>>2]|0,612906)|0)){c[d+12>>2]=1;break}if(!(Imb(c[d+4>>2]|0,612916)|0)){c[d+12>>2]=56;break}if(!(Imb(c[d+4>>2]|0,612938)|0)){c[d+12>>2]=774;break}if(!(Imb(c[d+4>>2]|0,612964)|0)){c[d+12>>2]=775;break}if(!(Imb(c[d+4>>2]|0,612991)|0)){c[d+12>>2]=140;break}if(!(Imb(c[d+4>>2]|0,613004)|0)){c[d+12>>2]=72;break}if(!(Imb(c[d+4>>2]|0,613019)|0)){c[d+12>>2]=12;break}if(!(Imb(c[d+4>>2]|0,613034)|0)){c[d+12>>2]=9;break}if(!(Imb(c[d+4>>2]|0,613058)|0)){c[d+12>>2]=5;break}if(!(Imb(c[d+4>>2]|0,613069)|0)){c[d+12>>2]=270;break}if(!(Imb(c[d+4>>2]|0,613091)|0)){c[d+12>>2]=73;break}if(!(Imb(c[d+4>>2]|0,613113)|0)){c[d+12>>2]=13;break}if(!(Imb(c[d+4>>2]|0,613137)|0)){c[d+12>>2]=10;break}if(!(Imb(c[d+4>>2]|0,613146)|0)){c[d+12>>2]=11;break}if(!(Imb(c[d+4>>2]|0,613154)|0)){c[d+12>>2]=1;break}if(!(Imb(c[d+4>>2]|0,613167)|0)){c[d+12>>2]=2;break}if(!(Imb(c[d+4>>2]|0,613181)|0)){c[d+12>>2]=776;break}if(!(Imb(c[d+4>>2]|0,613193)|0)){c[d+12>>2]=777;break}if(!(Imb(c[d+4>>2]|0,613202)|0)){c[d+12>>2]=778;break}if(!(Imb(c[d+4>>2]|0,613212)|0)){c[d+12>>2]=779;break}if(!(Imb(c[d+4>>2]|0,613224)|0)){c[d+12>>2]=780;break}if(!(Imb(c[d+4>>2]|0,613235)|0)){c[d+12>>2]=781;break}if(!(Imb(c[d+4>>2]|0,613243)|0)){c[d+12>>2]=3;break}if(!(Imb(c[d+4>>2]|0,613255)|0)){c[d+12>>2]=782;break}if(!(Imb(c[d+4>>2]|0,613270)|0)){c[d+12>>2]=783;break}if(!(Imb(c[d+4>>2]|0,613282)|0)){c[d+12>>2]=784;break}if(!(Imb(c[d+4>>2]|0,613296)|0)){c[d+12>>2]=1573;break}if(!(Imb(c[d+4>>2]|0,613321)|0)){c[d+12>>2]=785;break}if(!(Imb(c[d+4>>2]|0,613338)|0)){c[d+12>>2]=786;break}if(!(Imb(c[d+4>>2]|0,613354)|0)){c[d+12>>2]=787;break}if(!(Imb(c[d+4>>2]|0,613370)|0)){c[d+12>>2]=1574;break}if(!(Imb(c[d+4>>2]|0,613382)|0)){c[d+12>>2]=271;break}if(!(Imb(c[d+4>>2]|0,613394)|0)){c[d+12>>2]=272;break}if(!(Imb(c[d+4>>2]|0,613418)|0)){c[d+12>>2]=1;break}if(!(Imb(c[d+4>>2]|0,613431)|0)){c[d+12>>2]=2;break}if(!(Imb(c[d+4>>2]|0,613445)|0)){c[d+12>>2]=273;break}if(!(Imb(c[d+4>>2]|0,613467)|0)){c[d+12>>2]=274;break}if(!(Imb(c[d+4>>2]|0,613474)|0)){c[d+12>>2]=3;break}if(!(Imb(c[d+4>>2]|0,613490)|0)){c[d+12>>2]=29;break}if(!(Imb(c[d+4>>2]|0,613507)|0)){c[d+12>>2]=1;break}if(!(Imb(c[d+4>>2]|0,613524)|0)){c[d+12>>2]=141;break}if(!(Imb(c[d+4>>2]|0,613540)|0)){c[d+12>>2]=16;break}if(!(Imb(c[d+4>>2]|0,613556)|0)){c[d+12>>2]=3;break}if(!(Imb(c[d+4>>2]|0,613573)|0)){c[d+12>>2]=142;break}if(!(Imb(c[d+4>>2]|0,613587)|0)){c[d+12>>2]=143;break}if(!(Imb(c[d+4>>2]|0,613599)|0)){c[d+12>>2]=74;break}if(!(Imb(c[d+4>>2]|0,613610)|0)){c[d+12>>2]=2;break}if(!(Imb(c[d+4>>2]|0,613623)|0)){c[d+12>>2]=75;break}if(!(Imb(c[d+4>>2]|0,613633)|0)){c[d+12>>2]=4;break}if(!(Imb(c[d+4>>2]|0,613650)|0)){c[d+12>>2]=76;break}if(!(Imb(c[d+4>>2]|0,613662)|0)){c[d+12>>2]=77;break}if(!(Imb(c[d+4>>2]|0,613684)|0)){c[d+12>>2]=78;break}if(!(Imb(c[d+4>>2]|0,613704)|0)){c[d+12>>2]=3;break}if(!(Imb(c[d+4>>2]|0,613717)|0)){c[d+12>>2]=79;break}if(!(Imb(c[d+4>>2]|0,613739)|0)){c[d+12>>2]=80;break}if(!(Imb(c[d+4>>2]|0,613759)|0)){c[d+12>>2]=2;break}if(!(Imb(c[d+4>>2]|0,613776)|0)){c[d+12>>2]=2;break}if(!(Imb(c[d+4>>2]|0,613793)|0)){c[d+12>>2]=3;break}if(Imb(c[d+4>>2]|0,613813)|0){dc(12,c[d+8>>2]|0,c[d+4>>2]|0)|0;c[d+12>>2]=0;break}else{c[d+12>>2]=275;break}}else c[d+12>>2]=243;while(0);i=d;return c[d+12>>2]|0}function Klb(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=c[a+60>>2];a=Llb(fh(6,b|0)|0)|0;i=b;return a|0}function Llb(a){a=a|0;if(a>>>0>4294963200){c[(Mlb()|0)>>2]=0-a;a=-1}return a|0}function Mlb(){var a=0;if(!(c[300494]|0))a=1202024;else a=c[(uc()|0)+64>>2]|0;return a|0}function Nlb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0;k=i;i=i+48|0;f=c[a+28>>2]|0;c[k+32>>2]=f;f=(c[a+20>>2]|0)-f|0;c[k+32+4>>2]=f;c[k+32+8>>2]=b;c[k+32+12>>2]=d;e=k+32|0;b=2;f=f+d|0;while(1){if(!(c[300494]|0)){c[k+16>>2]=c[a+60>>2];c[k+16+4>>2]=e;c[k+16+8>>2]=b;h=Llb(wb(146,k+16|0)|0)|0}else{De(788,a|0);c[k>>2]=c[a+60>>2];c[k+4>>2]=e;c[k+8>>2]=b;h=Llb(wb(146,k|0)|0)|0;ad(0)}if((f|0)==(h|0)){f=6;break}if((h|0)<0){f=8;break}f=f-h|0;g=c[e+4>>2]|0;if(h>>>0>g>>>0){j=c[a+44>>2]|0;c[a+28>>2]=j;c[a+20>>2]=j;j=c[e+12>>2]|0;h=h-g|0;e=e+8|0;b=b+-1|0}else if((b|0)==2){c[a+28>>2]=(c[a+28>>2]|0)+h;j=g;b=2}else j=g;c[e>>2]=(c[e>>2]|0)+h;c[e+4>>2]=j-h}if((f|0)==6){j=c[a+44>>2]|0;c[a+16>>2]=j+(c[a+48>>2]|0);c[a+28>>2]=j;c[a+20>>2]=j}else if((f|0)==8){c[a+16>>2]=0;c[a+28>>2]=0;c[a+20>>2]=0;c[a>>2]=c[a>>2]|32;if((b|0)==2)d=0;else d=d-(c[e+4>>2]|0)|0}i=k;return d|0}function Olb(a){a=a|0;if(!(c[a+68>>2]|0))Plb(a);return}function Plb(a){a=a|0;return}function Qlb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+32|0;c[e>>2]=c[a+60>>2];c[e+4>>2]=0;c[e+8>>2]=b;c[e+12>>2]=e+20;c[e+16>>2]=d;if((Llb(sb(140,e|0)|0)|0)<0){c[e+20>>2]=-1;a=-1}else a=c[e+20>>2]|0;i=e;return a|0}function Rlb(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0;j=i;i=i+48|0;c[j+32>>2]=d;h=c[b+48>>2]|0;c[j+32+4>>2]=e-((h|0)!=0&1);c[j+32+8>>2]=c[b+44>>2];c[j+32+12>>2]=h;if(!(c[300494]|0)){c[j+16>>2]=c[b+60>>2];c[j+16+4>>2]=j+32;c[j+16+8>>2]=2;f=Llb(vb(145,j+16|0)|0)|0}else{De(789,b|0);c[j>>2]=c[b+60>>2];c[j+4>>2]=j+32;c[j+8>>2]=2;f=Llb(vb(145,j|0)|0)|0;ad(0)}if((f|0)<1){c[b>>2]=c[b>>2]|f&48^16;c[b+8>>2]=0;c[b+4>>2]=0}else{g=c[j+32+4>>2]|0;if(f>>>0>g>>>0){h=c[b+44>>2]|0;c[b+4>>2]=h;c[b+8>>2]=h+(f-g);if(!(c[b+48>>2]|0))f=e;else{c[b+4>>2]=h+1;a[d+(e+-1)>>0]=a[h>>0]|0;f=e}}}i=j;return f|0}function Slb(a){a=a|0;if(!(c[a+68>>2]|0))Plb(a);return}function Tlb(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+80|0;c[b+36>>2]=94;if(!(c[b>>2]&64)){c[f>>2]=c[b+60>>2];c[f+4>>2]=21505;c[f+8>>2]=f+12;if(gi(54,f|0)|0)a[b+75>>0]=-1}e=Nlb(b,d,e)|0;i=f;return e|0}function Ulb(a){a=a|0;var b=0;b=(Vlb(a)|0)==0;return (b?a:a|32)|0}function Vlb(a){a=a|0;return (a+-65|0)>>>0<26|0}function Wlb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=Xlb(a,b,c)|0;return a|0}function Xlb(a,b,c){a=a|0;b=b|0;c=c|0;a=Ylb(a,b,c,-1,-1)|0;return a|0}function Ylb(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=i;i=i+112|0;c[g>>2]=0;c[g+4>>2]=a;c[g+44>>2]=a;c[g+8>>2]=(a|0)<0?-1:a+2147483647|0;c[g+76>>2]=-1;Zlb(g,0);e=_lb(g,d,1,e,f)|0;if(b|0)c[b>>2]=a+((c[g+4>>2]|0)+(c[g+108>>2]|0)-(c[g+8>>2]|0));i=g;return e|0}function Zlb(a,b){a=a|0;b=b|0;var d=0,e=0;c[a+104>>2]=b;d=c[a+8>>2]|0;e=c[a+4>>2]|0;c[a+108>>2]=d-e;if((b|0)!=0&(d-e|0)>(b|0))c[a+100>>2]=e+b;else c[a+100>>2]=d;return}function _lb(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:do if(e>>>0>36){c[(Mlb()|0)>>2]=22;h=0;g=0}else{do{i=c[b+4>>2]|0;if(i>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=i+1;i=d[i>>0]|0}else i=$lb(b)|0}while((cmb(i)|0)!=0);b:do switch(i|0){case 43:case 45:{j=c[b+4>>2]|0;if(j>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=j+1;j=d[j>>0]|0;p=((i|0)==45)<<31>>31;break b}else{j=$lb(b)|0;p=((i|0)==45)<<31>>31;break b}}default:{j=i;p=0}}while(0);do if((e|16|0)==16&(j|0)==48){i=c[b+4>>2]|0;if(i>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=i+1;j=d[i>>0]|0}else j=$lb(b)|0;if((j|32|0)!=120)if(!e){e=8;n=46;break}else{n=32;break}e=c[b+4>>2]|0;if(e>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=e+1;i=d[e>>0]|0}else i=$lb(b)|0;if((d[613930+i>>0]|0)>15){g=(c[b+100>>2]|0)==0;if(!g)c[b+4>>2]=(c[b+4>>2]|0)+-1;if(!f){Zlb(b,0);h=0;g=0;break a}if(g){h=0;g=0;break a}c[b+4>>2]=(c[b+4>>2]|0)+-1;h=0;g=0;break a}else{e=16;j=i;n=46}}else{e=(e|0)==0?10:e;if((d[613930+j>>0]|0)>>>0>>0)n=32;else{if(c[b+100>>2]|0)c[b+4>>2]=(c[b+4>>2]|0)+-1;Zlb(b,0);c[(Mlb()|0)>>2]=22;h=0;g=0;break a}}while(0);if((n|0)==32)if((e|0)==10){e=j+-48|0;if(e>>>0<10){i=0;do{i=(i*10|0)+e|0;e=c[b+4>>2]|0;if(e>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=e+1;j=d[e>>0]|0}else j=$lb(b)|0;e=j+-48|0}while(e>>>0<10&i>>>0<429496729);f=0}else{i=0;f=0}e=j+-48|0;if(e>>>0<10){do{k=wBb(i|0,f|0,10,0)|0;l=C;m=((e|0)<0)<<31>>31;if(l>>>0>~m>>>0|(l|0)==(~m|0)&k>>>0>~e>>>0)break;i=jBb(k|0,l|0,e|0,m|0)|0;f=C;e=c[b+4>>2]|0;if(e>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=e+1;j=d[e>>0]|0}else j=$lb(b)|0;e=j+-48|0}while(e>>>0<10&(f>>>0<429496729|(f|0)==429496729&i>>>0<2576980378));if(e>>>0>9){j=f;e=p}else{e=10;n=72}}else{j=f;e=p}}else n=46;c:do if((n|0)==46){if(!(e+-1&e)){n=a[614186+((e*23|0)>>>5&7)>>0]|0;i=a[613930+j>>0]|0;if((i&255)>>>0>>0){f=i&255;i=0;do{i=f|i<>2]|0;if(j>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=j+1;j=d[j>>0]|0}else j=$lb(b)|0;k=a[613930+j>>0]|0;f=k&255}while(i>>>0<134217728&f>>>0>>0);f=0}else{k=i;f=0;i=0}l=rBb(-1,-1,n|0)|0;m=C;if((k&255)>>>0>=e>>>0|(f>>>0>m>>>0|(f|0)==(m|0)&i>>>0>l>>>0)){n=72;break}else j=f;while(1){i=pBb(i|0,j|0,n|0)|0;f=C;i=k&255|i;j=c[b+4>>2]|0;if(j>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=j+1;j=d[j>>0]|0}else j=$lb(b)|0;k=a[613930+j>>0]|0;if((k&255)>>>0>=e>>>0|(f>>>0>m>>>0|(f|0)==(m|0)&i>>>0>l>>>0)){n=72;break c}else j=f}}i=a[613930+j>>0]|0;if((i&255)>>>0>>0){f=i&255;i=0;while(1){k=f+(_(i,e)|0)|0;i=c[b+4>>2]|0;if(i>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=i+1;j=d[i>>0]|0}else j=$lb(b)|0;i=a[613930+j>>0]|0;f=i&255;if(!(k>>>0<119304647&f>>>0>>0))break;else i=k}f=0}else{k=0;f=0}if((i&255)>>>0>>0){n=xBb(-1,-1,e|0,0)|0;o=C;while(1){if(f>>>0>o>>>0|(f|0)==(o|0)&k>>>0>n>>>0){i=k;n=72;break c}l=wBb(k|0,f|0,e|0,0)|0;m=C;i=i&255;if(m>>>0>4294967295|(m|0)==-1&l>>>0>~i>>>0){i=k;n=72;break c}k=jBb(i|0,0,l|0,m|0)|0;f=C;i=c[b+4>>2]|0;if(i>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=i+1;j=d[i>>0]|0}else j=$lb(b)|0;i=a[613930+j>>0]|0;if((i&255)>>>0>=e>>>0){i=k;n=72;break}}}else{i=k;n=72}}while(0);if((n|0)==72)if((d[613930+j>>0]|0)>>>0>>0){do{i=c[b+4>>2]|0;if(i>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=i+1;i=d[i>>0]|0}else i=$lb(b)|0}while((d[613930+i>>0]|0)>>>0>>0);c[(Mlb()|0)>>2]=34;j=h;i=g;e=(g&1|0)==0&0==0?p:0}else{j=f;e=p}if(c[b+100>>2]|0)c[b+4>>2]=(c[b+4>>2]|0)+-1;if(!(j>>>0>>0|(j|0)==(h|0)&i>>>0>>0)){if(!((g&1|0)!=0|0!=0|(e|0)!=0)){c[(Mlb()|0)>>2]=34;g=jBb(g|0,h|0,-1,-1)|0;h=C;break}if(j>>>0>h>>>0|(j|0)==(h|0)&i>>>0>g>>>0){c[(Mlb()|0)>>2]=34;break}}g=((e|0)<0)<<31>>31;g=qBb(i^e|0,j^g|0,e|0,g|0)|0;h=C}while(0);C=h;return g|0}function $lb(b){b=b|0;var e=0,f=0,g=0,h=0,i=0;e=c[b+104>>2]|0;if(!e)i=3;else if((c[b+108>>2]|0)<(e|0))i=3;else i=4;if((i|0)==3){e=amb(b)|0;if((e|0)<0)i=4;else{g=c[b+104>>2]|0;f=c[b+8>>2]|0;if(!g){g=f;i=9}else{h=c[b+4>>2]|0;g=g-(c[b+108>>2]|0)|0;if((f-h|0)<(g|0)){g=f;i=9}else c[b+100>>2]=h+(g+-1)}if((i|0)==9){c[b+100>>2]=f;f=g}if(!f)f=c[b+4>>2]|0;else{h=c[b+4>>2]|0;c[b+108>>2]=f+1-h+(c[b+108>>2]|0);f=h}f=f+-1|0;if((d[f>>0]|0|0)!=(e|0))a[f>>0]=e}}if((i|0)==4){c[b+100>>2]=0;e=-1}return e|0}function amb(a){a=a|0;var b=0,e=0;e=i;i=i+16|0;if(!(c[a+8>>2]|0))if(!(bmb(a)|0))b=3;else a=-1;else b=3;if((b|0)==3)if((Gi[c[a+32>>2]&255](a,e,1)|0)==1)a=d[e>>0]|0;else a=-1;i=e;return a|0}function bmb(b){b=b|0;var d=0;d=a[b+74>>0]|0;a[b+74>>0]=d+255|d;if((c[b+20>>2]|0)>>>0>(c[b+44>>2]|0)>>>0)Gi[c[b+36>>2]&255](b,0,0)|0;c[b+16>>2]=0;c[b+28>>2]=0;c[b+20>>2]=0;d=c[b>>2]|0;if(!(d&20)){d=c[b+44>>2]|0;c[b+8>>2]=d;c[b+4>>2]=d;d=0}else if(!(d&4))d=-1;else{c[b>>2]=d|32;d=-1}return d|0}function cmb(a){a=a|0;return ((a|0)==32|(a+-9|0)>>>0<5)&1|0}function dmb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=emb(a,b,c)|0;return a|0}function emb(a,b,c){a=a|0;b=b|0;c=c|0;a=Ylb(a,b,c,0,-2147483648)|0;return a|0}function fmb(a,b,c){a=a|0;b=b|0;c=c|0;a=Ylb(a,b,c,-1,0)|0;return a|0}function gmb(a,b,c){a=a|0;b=b|0;c=c|0;a=Ylb(a,b,c,-2147483648,0)|0;return a|0}function hmb(a){a=a|0;var b=0;b=(imb(a)|0)==0;return (b?a:a&95)|0}function imb(a){a=a|0;return (a+-97|0)>>>0<26|0}function jmb(a,b){a=+a;b=+b;var d=0;h[k>>3]=b;d=c[k+4>>2]|0;b=+N(+a);h[k>>3]=b;d=d&-2147483648|c[k+4>>2];c[k>>2]=c[k>>2];c[k+4>>2]=d;return +(+h[k>>3])}function kmb(a){a=+a;var b=0;a=+N(+a);h[k>>3]=a;b=c[k+4>>2]|0;do if(b>>>0<1072049730)if(b>>>0<1045430272)a=1.0;else{a=+lmb(a);a=a*a/((a+1.0)*2.0)+1.0}else if(b>>>0<1082535490){a=+X(+a);a=(a+1.0/a)*.5;break}else{a=+mmb(a);break}while(0);return +a}function lmb(a){a=+a;var b=0,d=0,e=0.0,f=0.0,g=0.0,i=0,j=0;h[k>>3]=a;b=c[k+4>>2]|0;d=rBb(c[k>>2]|0,b|0,63)|0;do if((b&2147483647)>>>0>1078159481){g=+N(+a);h[k>>3]=g;i=c[k+4>>2]|0;if(!(i>>>0>2146435072|(i|0)==2146435072&(c[k>>2]|0)>>>0>0))if(!d)if(a>709.782712893384)a=a*8988465674311579538646525.0e283;else j=11;else a=-1.0}else{if((b&2147483647)>>>0<=1071001154)if((b&2147483647)>>>0<1016070144)break;else{g=0.0;i=0;j=14;break}if((b&2147483647)>>>0<1072734898)if(!d){e=a+-.6931471803691238;b=1;f=1.9082149292705877e-10;j=12;break}else{e=a+.6931471803691238;b=-1;f=-1.9082149292705877e-10;j=12;break}else j=11}while(0);if((j|0)==11){i=~~(a*1.4426950408889634+(d|0?-.5:.5));e=a-+(i|0)*.6931471803691238;b=i;f=+(i|0)*1.9082149292705877e-10;j=12}if((j|0)==12){g=e-f;a=g;g=e-g-f;i=b;j=14}a:do if((j|0)==14){f=a*.5;e=a*f;f=3.0-f*(e*(e*(e*(e*(4.008217827329362e-06-e*2.0109921818362437e-07)+-7.93650757867488e-05)+1.5873015872548146e-03)+-.03333333333333313)+1.0);f=e*((e*(e*(e*(e*(4.008217827329362e-06-e*2.0109921818362437e-07)+-7.93650757867488e-05)+1.5873015872548146e-03)+-.03333333333333313)+1.0-f)/(6.0-a*f));if(!i){a=a-(a*f-e);break}e=a*(f-g)-g-e;switch(i|0){case -1:{a=(a-e)*.5+-.5;break a}case 1:if(a<-.25){a=(e-(a+.5))*-2.0;break a}else{a=(a-e)*2.0+1.0;break a}default:{d=pBb(i+1023|0,0,52)|0;j=C;c[k>>2]=d;c[k+4>>2]=j;f=+h[k>>3];if(i>>>0>56){a=a-e+1.0;a=((i|0)==1024?a*2.0*8988465674311579538646525.0e283:f*a)+-1.0;break a}b=pBb(1023-i|0,0,52)|0;d=C;if((i|0)<20){c[k>>2]=b;c[k+4>>2]=d;a=1.0-+h[k>>3]+(a-e)}else{c[k>>2]=b;c[k+4>>2]=d;a=a-(+h[k>>3]+e)+1.0}a=f*a;break a}}}while(0);return +a}function mmb(a){a=+a;return +(+X(+(a+-1416.0996898839683))*2247116418577894884661631.0e283*2247116418577894884661631.0e283)}function nmb(a){a=+a;var b=0.0,d=0.0,e=0;h[k>>3]=a;d=(c[k+4>>2]|0)<0?-.5:.5;b=+N(+a);h[k>>3]=b;e=c[k+4>>2]|0;do if(e>>>0<1082535490){b=+lmb(b);if(e>>>0>=1072693248){a=d*(b+b/(b+1.0));break}if(e>>>0>=1045430272)a=d*(b*2.0-b*b/(b+1.0))}else a=d*2.0*+mmb(b);while(0);return +a}function omb(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;a:do if((e|0)!=0&(b&3|0)!=0)while(1){if((a[b>>0]|0)==(d&255)<<24>>24){g=6;break a}b=b+1|0;e=e+-1|0;if(!((e|0)!=0&(b&3|0)!=0)){f=e;e=(e|0)!=0;g=5;break}}else{f=e;e=(e|0)!=0;g=5}while(0);if((g|0)==5)if(e){e=f;g=6}else e=0;b:do if((g|0)==6)if((a[b>>0]|0)!=(d&255)<<24>>24){f=_(d&255,16843009)|0;c:do if(e>>>0>3)while(1){h=c[b>>2]^f;if((h&-2139062144^-2139062144)&h+-16843009|0)break;b=b+4|0;e=e+-4|0;if(e>>>0<=3){g=11;break c}}else g=11;while(0);if((g|0)==11)if(!e){e=0;break}while(1){if((a[b>>0]|0)==(d&255)<<24>>24)break b;b=b+1|0;e=e+-1|0;if(!e){e=0;break}}}while(0);return (e|0?b:0)|0}function pmb(b,c,e){b=b|0;c=c|0;e=e|0;var f=0,g=0;if(!e)c=0;else{f=a[b>>0]|0;a:do if(!(f<<24>>24))f=0;else while(1){e=e+-1|0;g=a[c>>0]|0;if(!(f<<24>>24==g<<24>>24&((e|0)!=0&g<<24>>24!=0)))break a;b=b+1|0;c=c+1|0;f=a[b>>0]|0;if(!(f<<24>>24)){f=0;break}}while(0);c=(f&255)-(d[c>>0]|0)|0}return c|0}function qmb(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0;a:do if(!d)d=0;else{while(1){e=a[b>>0]|0;f=a[c>>0]|0;if(e<<24>>24!=f<<24>>24)break;d=d+-1|0;if(!d){d=0;break a}else{b=b+1|0;c=c+1|0}}d=(e&255)-(f&255)|0}while(0);return d|0}function rmb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;c[e>>2]=d;d=smb(a,b,e)|0;i=e;return d|0}function smb(a,b,c){a=a|0;b=b|0;c=c|0;return tmb(a,2147483647,b,c)|0}function tmb(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0;l=i;i=i+128|0;g=l;h=148956;j=g+112|0;do{c[g>>2]=c[h>>2];g=g+4|0;h=h+4|0}while((g|0)<(j|0));if((d+-1|0)>>>0>2147483646)if(!d){b=l+112|0;d=1;k=4}else{c[(Mlb()|0)>>2]=75;d=-1}else k=4;if((k|0)==4){k=-2-b|0;k=d>>>0>k>>>0?k:d;c[l+48>>2]=k;c[l+20>>2]=b;c[l+44>>2]=b;d=b+k|0;c[l+16>>2]=d;c[l+28>>2]=d;d=vmb(l,e,f)|0;if(k){k=c[l+20>>2]|0;a[k+(((k|0)==(c[l+16>>2]|0))<<31>>31)>>0]=0}}i=l;return d|0}function umb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=c[a+20>>2]|0;e=(c[a+16>>2]|0)-f|0;e=e>>>0>d>>>0?d:e;mBb(f|0,b|0,e|0)|0;c[a+20>>2]=(c[a+20>>2]|0)+e;return d|0}function vmb(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0;j=i;i=i+224|0;f=j+80|0;g=f+40|0;do{c[f>>2]=0;f=f+4|0}while((f|0)<(g|0));c[j+120>>2]=c[e>>2];if((wmb(0,d,j+120|0,j,j+80|0)|0)<0)e=-1;else{if((c[b+76>>2]|0)>-1)g=Hmb(b)|0;else g=0;h=c[b>>2]|0;if((a[b+74>>0]|0)<1)c[b>>2]=h&-33;if(!(c[b+48>>2]|0)){f=c[b+44>>2]|0;c[b+44>>2]=j+136;c[b+28>>2]=j+136;c[b+20>>2]=j+136;c[b+48>>2]=80;c[b+16>>2]=j+136+80;e=wmb(b,d,j+120|0,j,j+80|0)|0;if(f){Gi[c[b+36>>2]&255](b,0,0)|0;e=(c[b+20>>2]|0)==0?-1:e;c[b+44>>2]=f;c[b+48>>2]=0;c[b+16>>2]=0;c[b+28>>2]=0;c[b+20>>2]=0}}else e=wmb(b,d,j+120|0,j,j+80|0)|0;f=c[b>>2]|0;c[b>>2]=f|h&32;if(g|0)Plb(b);e=(f&32|0)==0?e:-1}i=j;return e|0}function wmb(e,f,g,j,l){e=e|0;f=f|0;g=g|0;j=j|0;l=l|0;var m=0,n=0,o=0,p=0,q=0.0,r=0,s=0.0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0;N=i;i=i+624|0;J=N+536+40|0;L=N+588|0;M=N+576+12|0;K=N+588+9|0;m=0;o=0;n=0;y=f;a:while(1){do if((m|0)>-1)if((o|0)>(2147483647-m|0)){c[(Mlb()|0)>>2]=75;m=-1;break}else{m=o+m|0;break}while(0);f=a[y>>0]|0;if(!(f<<24>>24)){I=244;break}else o=y;b:while(1){switch(f<<24>>24){case 37:{f=o;I=9;break b}case 0:{f=o;break b}default:{}}H=o+1|0;f=a[H>>0]|0;o=H}c:do if((I|0)==9)while(1){I=0;if((a[f+1>>0]|0)!=37)break c;o=o+1|0;f=f+2|0;if((a[f>>0]|0)==37)I=9;else break}while(0);x=o-y|0;if(e|0)if(!(c[e>>2]&32))xmb(y,x,e)|0;if((o|0)!=(y|0)){o=x;y=f;continue}p=f+1|0;o=a[p>>0]|0;if(((o<<24>>24)+-48|0)>>>0<10){H=(a[f+2>>0]|0)==36;p=H?f+3|0:p;r=a[p>>0]|0;v=H?(o<<24>>24)+-48|0:-1;n=H?1:n}else{r=o;v=-1}f=r<<24>>24;d:do if((f&-32|0)==32){o=r;r=0;do{if(!(1<>24)+-32|r;p=p+1|0;o=a[p>>0]|0;f=o<<24>>24}while((f&-32|0)==32)}else{o=r;r=0}while(0);do if(o<<24>>24==42){o=p+1|0;f=(a[o>>0]|0)+-48|0;if(f>>>0<10)if((a[p+2>>0]|0)==36){c[l+(f<<2)>>2]=10;n=1;p=p+3|0;f=c[j+((a[o>>0]|0)+-48<<3)>>2]|0}else I=24;else I=24;if((I|0)==24){I=0;if(n|0){m=-1;break a}if(!e){w=r;n=0;p=o;H=0;break}n=(c[g>>2]|0)+(4-1)&~(4-1);f=c[n>>2]|0;c[g>>2]=n+4;n=0;p=o}if((f|0)<0){w=r|8192;H=0-f|0}else{w=r;H=f}}else{o=(o<<24>>24)+-48|0;if(o>>>0<10){f=0;do{f=(f*10|0)+o|0;p=p+1|0;o=(a[p>>0]|0)+-48|0}while(o>>>0<10);if((f|0)<0){m=-1;break a}else{w=r;H=f}}else{w=r;H=0}}while(0);e:do if((a[p>>0]|0)==46){f=p+1|0;r=a[f>>0]|0;if(r<<24>>24!=42){if(((r<<24>>24)+-48|0)>>>0<10){o=0;p=(r<<24>>24)+-48|0}else{t=0;break}while(1){o=(o*10|0)+p|0;f=f+1|0;p=(a[f>>0]|0)+-48|0;if(p>>>0>=10){t=o;break e}}}f=p+2|0;o=(a[f>>0]|0)+-48|0;if(o>>>0<10)if((a[p+3>>0]|0)==36){c[l+(o<<2)>>2]=10;t=c[j+((a[f>>0]|0)+-48<<3)>>2]|0;f=p+4|0;break}if(n|0){m=-1;break a}if(e|0){G=(c[g>>2]|0)+(4-1)&~(4-1);t=c[G>>2]|0;c[g>>2]=G+4}else t=0}else{t=-1;f=p}while(0);p=0;while(1){o=(a[f>>0]|0)+-65|0;if(o>>>0>57){m=-1;break a}G=f+1|0;r=a[614195+(p*58|0)+o>>0]|0;if(((r&255)+-1|0)>>>0<8){f=G;p=r&255}else{u=p;break}}if(!(r<<24>>24)){m=-1;break}o=(v|0)>-1;do if(r<<24>>24==19)if(o){m=-1;break a}else I=52;else{if(o){c[l+(v<<2)>>2]=r&255;F=j+(v<<3)|0;I=c[F+4>>2]|0;c[N>>2]=c[F>>2];c[N+4>>2]=I;I=52;break}if(!e){m=0;break a}zmb(N,r&255,g)}while(0);if((I|0)==52){I=0;if(!e){o=x;y=G;continue}}v=a[f>>0]|0;v=(u|0)!=0&(v&15|0)==3?v&-33:v;p=w&-65537;F=(w&8192|0)==0?w:p;f:do switch(v|0){case 110:switch(u|0){case 0:{c[c[N>>2]>>2]=m;o=x;y=G;continue a}case 1:{c[c[N>>2]>>2]=m;o=x;y=G;continue a}case 2:{o=c[N>>2]|0;c[o>>2]=m;c[o+4>>2]=((m|0)<0)<<31>>31;o=x;y=G;continue a}case 3:{b[c[N>>2]>>1]=m;o=x;y=G;continue a}case 4:{a[c[N>>2]>>0]=m;o=x;y=G;continue a}case 6:{c[c[N>>2]>>2]=m;o=x;y=G;continue a}case 7:{o=c[N>>2]|0;c[o>>2]=m;c[o+4>>2]=((m|0)<0)<<31>>31;o=x;y=G;continue a}default:{o=x;y=G;continue a}}case 112:{u=F|8;t=t>>>0>8?t:8;v=120;I=64;break}case 88:case 120:{u=F;I=64;break}case 111:{o=c[N>>2]|0;p=c[N+4>>2]|0;if((o|0)==0&(p|0)==0)f=J;else{f=J;do{f=f+-1|0;a[f>>0]=o&7|48;o=rBb(o|0,p|0,3)|0;p=C}while(!((o|0)==0&(p|0)==0))}if(!(F&8)){o=F;u=0;r=614675;I=77}else{u=J-f|0;o=F;t=(t|0)>(u|0)?t:u+1|0;u=0;r=614675;I=77}break}case 105:case 100:{f=c[N>>2]|0;o=c[N+4>>2]|0;if((o|0)<0){f=qBb(0,0,f|0,o|0)|0;o=C;c[N>>2]=f;c[N+4>>2]=o;p=1;r=614675;I=76;break f}if(!(F&2048)){p=F&1;r=(F&1|0)==0?614675:614677;I=76}else{p=1;r=614676;I=76}break}case 117:{f=c[N>>2]|0;o=c[N+4>>2]|0;p=0;r=614675;I=76;break}case 99:{a[N+536+39>>0]=c[N>>2];f=N+536+39|0;v=1;x=0;w=614675;o=J;break}case 109:{o=Bmb(c[(Mlb()|0)>>2]|0)|0;I=82;break}case 115:{o=c[N>>2]|0;o=o|0?o:616577;I=82;break}case 67:{c[N+8>>2]=c[N>>2];c[N+8+4>>2]=0;c[N>>2]=N+8;f=N+8|0;t=-1;I=86;break}case 83:{f=c[N>>2]|0;if(!t){Cmb(e,32,H,0,F);f=0;I=97}else I=86;break}case 65:case 71:case 70:case 69:case 97:case 103:case 102:case 101:{q=+h[N>>3];c[N+16>>2]=0;h[k>>3]=q;if((c[k+4>>2]|0)<0){q=-q;D=1;E=616584}else if(!(F&2048)){D=F&1;E=(F&1|0)==0?616585:616590}else{D=1;E=616587}h[k>>3]=q;B=c[k+4>>2]&2146435072;do if(B>>>0<2146435072|(B|0)==2146435072&0<0){q=+Fmb(q,N+16|0)*2.0;if(q!=0.0)c[N+16>>2]=(c[N+16>>2]|0)+-1;if((v|32|0)==97){w=(v&32|0)==0?E:E+9|0;u=D|2;f=12-t|0;do if(!(t>>>0>11|(f|0)==0)){s=8.0;do{f=f+-1|0;s=s*16.0}while((f|0)!=0);if((a[w>>0]|0)==45){q=-(s+(-q-s));break}else{q=q+s-s;break}}while(0);o=c[N+16>>2]|0;f=(o|0)<0?0-o|0:o;f=Amb(f,((f|0)<0)<<31>>31,N+576+12|0)|0;if((f|0)==(N+576+12|0)){a[N+576+11>>0]=48;f=N+576+11|0}a[f+-1>>0]=(o>>31&2)+43;r=f+-2|0;a[r>>0]=v+15;p=(t|0)<1;f=N+588|0;while(1){E=~~q;o=f+1|0;a[f>>0]=d[614659+E>>0]|v&32;q=(q-+(E|0))*16.0;do if((o-L|0)==1){if((F&8|0)==0&(p&q==0.0))break;a[o>>0]=46;o=f+2|0}while(0);if(!(q!=0.0))break;else f=o}f=(t|0)!=0&(-2-L+o|0)<(t|0)?M+2+t-r|0:M-L-r+o|0;Cmb(e,32,H,f+u|0,F);if(!(c[e>>2]&32))xmb(w,u,e)|0;Cmb(e,48,H,f+u|0,F^65536);if(!(c[e>>2]&32))xmb(N+588|0,o-L|0,e)|0;Cmb(e,48,f-(o-L+(M-r))|0,0,0);if(!(c[e>>2]&32))xmb(r,M-r|0,e)|0;Cmb(e,32,H,f+u|0,F^8192);f=(f+u|0)<(H|0)?H:f+u|0;break}f=(t|0)<0?6:t;if(q!=0.0){o=(c[N+16>>2]|0)+-28|0;c[N+16>>2]=o;q=q*268435456.0}else o=c[N+16>>2]|0;B=(o|0)<0?N+24|0:N+24+288|0;o=B;while(1){A=~~q>>>0;c[o>>2]=A;p=o+4|0;q=(q-+(A>>>0))*1.0e9;if(!(q!=0.0))break;else o=p}o=c[N+16>>2]|0;if((o|0)>0){t=B;while(1){u=(o|0)>29?29:o;r=p+-4|0;do if(r>>>0>>0)r=t;else{o=0;do{A=pBb(c[r>>2]|0,0,u|0)|0;A=jBb(A|0,C|0,o|0,0)|0;o=C;z=yBb(A|0,o|0,1e9,0)|0;c[r>>2]=z;o=xBb(A|0,o|0,1e9,0)|0;r=r+-4|0}while(r>>>0>=t>>>0);if(!o){r=t;break}r=t+-4|0;c[r>>2]=o}while(0);while(1){if(p>>>0<=r>>>0)break;o=p+-4|0;if(!(c[o>>2]|0))p=o;else break}o=(c[N+16>>2]|0)-u|0;c[N+16>>2]=o;if((o|0)>0)t=r;else break}}else r=B;if((o|0)<0){do{w=0-o|0;w=(w|0)>9?9:w;do if(r>>>0

>>0){o=0;u=r;while(1){t=c[u>>2]|0;c[u>>2]=(t>>>w)+o;t=_(t&(1<>>w)|0;u=u+4|0;if(u>>>0>=p>>>0)break;else o=t}o=(c[r>>2]|0)==0?r+4|0:r;if(!t){r=o;o=p;break}c[p>>2]=t;r=o;o=p+4|0}else{r=(c[r>>2]|0)==0?r+4|0:r;o=p}while(0);p=(v|32|0)==102?B:r;p=(o-p>>2|0)>(((f+25|0)/9|0)+1|0)?p+(((f+25|0)/9|0)+1<<2)|0:o;o=(c[N+16>>2]|0)+w|0;c[N+16>>2]=o}while((o|0)<0);o=r;z=p}else{o=r;z=p}do if(o>>>0>>0){p=(B-o>>2)*9|0;t=c[o>>2]|0;if(t>>>0<10)break;else r=10;do{r=r*10|0;p=p+1|0}while(t>>>0>=r>>>0)}else p=0;while(0);r=f-((v|32|0)!=102?p:0)+(((f|0)!=0&(v|32|0)==103)<<31>>31)|0;if((r|0)<(((z-B>>2)*9|0)+-9|0)){y=B+4+(((r+9216|0)/9|0)+-1024<<2)|0;if((((r+9216|0)%9|0)+1|0)<9){t=10;u=((r+9216|0)%9|0)+1|0;while(1){r=t*10|0;u=u+1|0;if((u|0)==9)break;else t=r}}else r=10;w=c[y>>2]|0;x=(w>>>0)%(r>>>0)|0;t=(y+4|0)==(z|0);do if(t&(x|0)==0)r=y;else{s=(((w>>>0)/(r>>>0)|0)&1|0)==0?9007199254740992.0:9007199254740994.0;u=(r|0)/2|0;if(x>>>0>>0)q=.5;else q=t&(x|0)==(u|0)?1.0:1.5;do if(D){if((a[E>>0]|0)!=45)break;s=-s;q=-q}while(0);c[y>>2]=w-x;if(!(s+q!=s)){r=y;break}A=w-x+r|0;c[y>>2]=A;if(A>>>0>999999999){p=y;while(1){r=p+-4|0;c[p>>2]=0;if(r>>>0>>0){o=o+-4|0;c[o>>2]=0}A=(c[r>>2]|0)+1|0;c[r>>2]=A;if(A>>>0>999999999)p=r;else break}}else r=y;p=(B-o>>2)*9|0;u=c[o>>2]|0;if(u>>>0<10)break;else t=10;do{t=t*10|0;p=p+1|0}while(u>>>0>=t>>>0)}while(0);y=r+4|0;A=o;o=z>>>0>y>>>0?y:z}else{A=o;o=z}u=0-p|0;while(1){if(o>>>0<=A>>>0){x=0;z=o;break}r=o+-4|0;if(!(c[r>>2]|0))o=r;else{x=1;z=o;break}}do if((v|32|0)==103){if((((f|0)!=0^1)+f|0)>(p|0)&(p|0)>-5){v=v+-1|0;f=((f|0)!=0^1)+f+-1-p|0}else{v=v+-2|0;f=((f|0)!=0^1)+f+-1|0}if(F&8|0){t=F&8;break}do if(x){o=c[z+-4>>2]|0;if(!o){r=9;break}if(!((o>>>0)%10|0)){t=10;r=0}else{r=0;break}do{t=t*10|0;r=r+1|0}while(!((o>>>0)%(t>>>0)|0|0))}else r=9;while(0);o=((z-B>>2)*9|0)+-9|0;if((v|32|0)==102){t=o-r|0;t=(t|0)<0?0:t;f=(f|0)<(t|0)?f:t;t=0;break}else{t=o+p-r|0;t=(t|0)<0?0:t;f=(f|0)<(t|0)?f:t;t=0;break}}else t=F&8;while(0);w=f|t;r=(v|32|0)==102;if(r){o=(p|0)>0?p:0;v=0}else{o=(p|0)<0?u:p;o=Amb(o,((o|0)<0)<<31>>31,N+576+12|0)|0;if((M-o|0)<2)do{o=o+-1|0;a[o>>0]=48}while((M-o|0)<2);a[o+-1>>0]=(p>>31&2)+43;y=o+-2|0;a[y>>0]=v;o=M-y|0;v=y}y=D+1+f+((w|0)!=0&1)+o|0;Cmb(e,32,H,y,F);if(!(c[e>>2]&32))xmb(E,D,e)|0;Cmb(e,48,H,y,F^65536);do if(r){r=A>>>0>B>>>0?B:A;p=r;while(1){o=Amb(c[p>>2]|0,0,K)|0;do if((p|0)==(r|0)){if((o|0)!=(K|0))break;a[N+588+8>>0]=48;o=N+588+8|0}else{if(o>>>0<=(N+588|0)>>>0)break;hBb(N+588|0,48,o-L|0)|0;do o=o+-1|0;while(o>>>0>(N+588|0)>>>0)}while(0);if(!(c[e>>2]&32))xmb(o,K-o|0,e)|0;o=p+4|0;if(o>>>0>B>>>0)break;else p=o}do if(w|0){if(c[e>>2]&32|0)break;xmb(616643,1,e)|0}while(0);if((f|0)>0&o>>>0>>0){p=o;while(1){o=Amb(c[p>>2]|0,0,K)|0;if(o>>>0>(N+588|0)>>>0){hBb(N+588|0,48,o-L|0)|0;do o=o+-1|0;while(o>>>0>(N+588|0)>>>0)}if(!(c[e>>2]&32))xmb(o,(f|0)>9?9:f,e)|0;p=p+4|0;o=f+-9|0;if(!((f|0)>9&p>>>0>>0)){f=o;break}else f=o}}Cmb(e,48,f+9|0,9,0)}else{u=x?z:A+4|0;if((f|0)>-1){t=(t|0)==0;r=A;do{o=Amb(c[r>>2]|0,0,K)|0;if((o|0)==(K|0)){a[N+588+8>>0]=48;o=N+588+8|0}do if((r|0)==(A|0)){p=o+1|0;if(!(c[e>>2]&32))xmb(o,1,e)|0;if(t&(f|0)<1){o=p;break}if(c[e>>2]&32|0){o=p;break}xmb(616643,1,e)|0;o=p}else{if(o>>>0<=(N+588|0)>>>0)break;hBb(N+588|0,48,o+(0-L)|0)|0;do o=o+-1|0;while(o>>>0>(N+588|0)>>>0)}while(0);p=K-o|0;if(!(c[e>>2]&32))xmb(o,(f|0)>(p|0)?p:f,e)|0;f=f-p|0;r=r+4|0}while(r>>>0>>0&(f|0)>-1)}Cmb(e,48,f+18|0,18,0);if(c[e>>2]&32|0)break;xmb(v,M-v|0,e)|0}while(0);Cmb(e,32,H,y,F^8192);f=(y|0)<(H|0)?H:y}else{r=q!=q|0.0!=0.0;o=r?0:D;Cmb(e,32,H,o+3|0,p);f=c[e>>2]|0;if(!(f&32)){xmb(E,o,e)|0;f=c[e>>2]|0}if(!(f&32))xmb(r?(v&32|0?616639:616611):v&32|0?616603:616607,3,e)|0;Cmb(e,32,H,o+3|0,F^8192);f=(o+3|0)<(H|0)?H:o+3|0}while(0);o=f;y=G;continue a}default:{f=y;p=F;v=t;x=0;w=614675;o=J}}while(0);g:do if((I|0)==64){o=c[N>>2]|0;p=c[N+4>>2]|0;r=v&32;if((o|0)==0&(p|0)==0){f=J;o=u;u=0;r=614675;I=77}else{f=J;do{f=f+-1|0;a[f>>0]=d[614659+(o&15)>>0]|r;o=rBb(o|0,p|0,4)|0;p=C}while(!((o|0)==0&(p|0)==0));if((u&8|0)==0|(c[N>>2]|0)==0&(c[N+4>>2]|0)==0){o=u;u=0;r=614675;I=77}else{o=u;u=2;r=614675+(v>>4)|0;I=77}}}else if((I|0)==76){f=Amb(f,o,J)|0;o=F;u=p;I=77}else if((I|0)==82){I=0;F=omb(o,0,t)|0;f=o;v=(F|0)==0?t:F-o|0;x=0;w=614675;o=(F|0)==0?o+t|0:F}else if((I|0)==86){I=0;p=0;o=0;u=f;while(1){r=c[u>>2]|0;if(!r)break;o=Dmb(N+528|0,r)|0;if((o|0)<0|o>>>0>(t-p|0)>>>0)break;p=o+p|0;if(t>>>0>p>>>0)u=u+4|0;else break}if((o|0)<0){m=-1;break a}Cmb(e,32,H,p,F);if(!p){f=0;I=97}else{r=0;while(1){o=c[f>>2]|0;if(!o){f=p;I=97;break g}o=Dmb(N+528|0,o)|0;r=o+r|0;if((r|0)>(p|0)){f=p;I=97;break g}if(!(c[e>>2]&32))xmb(N+528|0,o,e)|0;if(r>>>0>=p>>>0){f=p;I=97;break}else f=f+4|0}}}while(0);if((I|0)==97){I=0;Cmb(e,32,H,f,F^8192);o=(H|0)>(f|0)?H:f;y=G;continue}if((I|0)==77){I=0;p=(t|0)>-1?o&-65537:o;o=(c[N>>2]|0)!=0|(c[N+4>>2]|0)!=0;if((t|0)!=0|o){v=(o&1^1)+(J-f)|0;v=(t|0)>(v|0)?t:v;x=u;w=r;o=J}else{f=J;v=0;x=u;w=r;o=J}}u=o-f|0;r=(v|0)<(u|0)?u:v;t=x+r|0;o=(H|0)<(t|0)?t:H;Cmb(e,32,o,t,p);if(!(c[e>>2]&32))xmb(w,x,e)|0;Cmb(e,48,o,t,p^65536);Cmb(e,48,r,u,0);if(!(c[e>>2]&32))xmb(f,u,e)|0;Cmb(e,32,o,t,p^8192);y=G}h:do if((I|0)==244)if(!e)if(!n)m=0;else{m=1;while(1){n=c[l+(m<<2)>>2]|0;if(!n)break;zmb(j+(m<<3)|0,n,g);m=m+1|0;if((m|0)>=10){m=1;break h}}if((m|0)<10)while(1){if(c[l+(m<<2)>>2]|0){m=-1;break h}m=m+1|0;if((m|0)>=10){m=1;break}}else m=1}while(0);i=N;return m|0}function xmb(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=c[e+16>>2]|0;if(!f)if(!(ymb(e)|0)){f=c[e+16>>2]|0;g=5}else f=0;else g=5;a:do if((g|0)==5){h=c[e+20>>2]|0;if((f-h|0)>>>0>>0){f=Gi[c[e+36>>2]&255](e,b,d)|0;break}b:do if((a[e+75>>0]|0)>-1){f=d;while(1){if(!f){g=h;f=0;break b}g=f+-1|0;if((a[b+g>>0]|0)==10)break;else f=g}if((Gi[c[e+36>>2]&255](e,b,f)|0)>>>0>>0)break a;d=d-f|0;b=b+f|0;g=c[e+20>>2]|0}else{g=h;f=0}while(0);mBb(g|0,b|0,d|0)|0;c[e+20>>2]=(c[e+20>>2]|0)+d;f=f+d|0}while(0);return f|0}function ymb(b){b=b|0;var d=0;d=a[b+74>>0]|0;a[b+74>>0]=d+255|d;d=c[b>>2]|0;if(!(d&8)){c[b+8>>2]=0;c[b+4>>2]=0;d=c[b+44>>2]|0;c[b+28>>2]=d;c[b+20>>2]=d;c[b+16>>2]=d+(c[b+48>>2]|0);d=0}else{c[b>>2]=d|32;d=-1}return d|0}function zmb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0.0;a:do if(b>>>0<=20)do switch(b|0){case 9:{e=(c[d>>2]|0)+(4-1)&~(4-1);b=c[e>>2]|0;c[d>>2]=e+4;c[a>>2]=b;break a}case 10:{b=(c[d>>2]|0)+(4-1)&~(4-1);e=c[b>>2]|0;c[d>>2]=b+4;c[a>>2]=e;c[a+4>>2]=((e|0)<0)<<31>>31;break a}case 11:{b=(c[d>>2]|0)+(4-1)&~(4-1);e=c[b>>2]|0;c[d>>2]=b+4;c[a>>2]=e;c[a+4>>2]=0;break a}case 12:{f=(c[d>>2]|0)+(8-1)&~(8-1);b=c[f>>2]|0;e=c[f+4>>2]|0;c[d>>2]=f+8;c[a>>2]=b;c[a+4>>2]=e;break a}case 13:{e=(c[d>>2]|0)+(4-1)&~(4-1);f=c[e>>2]|0;c[d>>2]=e+4;c[a>>2]=(f&65535)<<16>>16;c[a+4>>2]=(((f&65535)<<16>>16|0)<0)<<31>>31;break a}case 14:{e=(c[d>>2]|0)+(4-1)&~(4-1);f=c[e>>2]|0;c[d>>2]=e+4;c[a>>2]=f&65535;c[a+4>>2]=0;break a}case 15:{e=(c[d>>2]|0)+(4-1)&~(4-1);f=c[e>>2]|0;c[d>>2]=e+4;c[a>>2]=(f&255)<<24>>24;c[a+4>>2]=(((f&255)<<24>>24|0)<0)<<31>>31;break a}case 16:{e=(c[d>>2]|0)+(4-1)&~(4-1);f=c[e>>2]|0;c[d>>2]=e+4;c[a>>2]=f&255;c[a+4>>2]=0;break a}case 17:{f=(c[d>>2]|0)+(8-1)&~(8-1);g=+h[f>>3];c[d>>2]=f+8;h[a>>3]=g;break a}case 18:{f=(c[d>>2]|0)+(8-1)&~(8-1);g=+h[f>>3];c[d>>2]=f+8;h[a>>3]=g;break a}default:break a}while(0);while(0);return}function Amb(b,c,d){b=b|0;c=c|0;d=d|0;var e=0;if(c>>>0>0|(c|0)==0&b>>>0>4294967295){while(1){e=yBb(b|0,c|0,10,0)|0;d=d+-1|0;a[d>>0]=e|48;e=xBb(b|0,c|0,10,0)|0;if(c>>>0>9|(c|0)==9&b>>>0>4294967295){b=e;c=C}else break}b=e}if(b)while(1){d=d+-1|0;a[d>>0]=(b>>>0)%10|0|48;if(b>>>0<10)break;else b=(b>>>0)/10|0}return d|0}function Bmb(b){b=b|0;var c=0,e=0;c=0;while(1){if((d[614685+c>>0]|0)==(b|0)){e=2;break}c=c+1|0;if((c|0)==87){c=87;b=614773;e=5;break}}if((e|0)==2)if(!c)b=614773;else{b=614773;e=5}if((e|0)==5)while(1){e=b;while(1){b=e+1|0;if(!(a[e>>0]|0))break;else e=b}c=c+-1|0;if(!c)break;else e=5}return b|0}function Cmb(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;h=i;i=i+256|0;do if((d|0)>(e|0)&(f&73728|0)==0){hBb(h|0,b|0,((d-e|0)>>>0>256?256:d-e|0)|0)|0;f=c[a>>2]|0;if((d-e|0)>>>0>255){g=d-e|0;b=f;f=(f&32|0)==0;do{if(f){xmb(h,256,a)|0;b=c[a>>2]|0}g=g+-256|0;f=(b&32|0)==0}while(g>>>0>255);if(f)b=d-e&255;else break}else if(!(f&32))b=d-e|0;else break;xmb(h,b,a)|0}while(0);i=h;return}function Dmb(a,b){a=a|0;b=b|0;if(!a)a=0;else a=Emb(a,b,0)|0;return a|0}function Emb(b,d,e){b=b|0;d=d|0;e=e|0;do if(!b)b=1;else{if(d>>>0<128){a[b>>0]=d;b=1;break}if(d>>>0<2048){a[b>>0]=d>>>6|192;a[b+1>>0]=d&63|128;b=2;break}if(d>>>0<55296|(d&-8192|0)==57344){a[b>>0]=d>>>12|224;a[b+1>>0]=d>>>6&63|128;a[b+2>>0]=d&63|128;b=3;break}if((d+-65536|0)>>>0<1048576){a[b>>0]=d>>>18|240;a[b+1>>0]=d>>>12&63|128;a[b+2>>0]=d>>>6&63|128;a[b+3>>0]=d&63|128;b=4;break}else{c[(Mlb()|0)>>2]=84;b=-1;break}}while(0);return b|0}function Fmb(a,b){a=+a;b=b|0;return +(+Gmb(a,b))}function Gmb(a,b){a=+a;b=b|0;var d=0,e=0,f=0;h[k>>3]=a;d=c[k>>2]|0;e=c[k+4>>2]|0;f=rBb(d|0,e|0,52)|0;switch(f&2047|0){case 0:{if(a!=0.0){a=+Gmb(a*18446744073709551616.0,b);d=(c[b>>2]|0)+-64|0}else d=0;c[b>>2]=d;break}case 2047:break;default:{c[b>>2]=(f&2047)+-1022;c[k>>2]=d;c[k+4>>2]=e&-2146435073|1071644672;a=+h[k>>3]}}return +a}function Hmb(a){a=a|0;return 0}function Imb(b,c){b=b|0;c=c|0;var d=0,e=0;e=a[b>>0]|0;d=a[c>>0]|0;if(e<<24>>24==0?1:e<<24>>24!=d<<24>>24)c=e;else{do{b=b+1|0;c=c+1|0;e=a[b>>0]|0;d=a[c>>0]|0}while(!(e<<24>>24==0?1:e<<24>>24!=d<<24>>24));c=e}return (c&255)-(d&255)|0}function Jmb(){return 149068}function Kmb(){return 149072}function Lmb(){return 150612}function Mmb(a){a=a|0;return ((a+-48|0)>>>0<10|(Nmb(a)|0)!=0)&1|0}function Nmb(a){a=a|0;return ((a|32)+-97|0)>>>0<26|0}function Omb(a){a=a|0;return ((a|0)==32|(a|0)==9)&1|0}function Pmb(a){a=a|0;return (a>>>0<32|(a|0)==127)&1|0}function Qmb(a){a=a|0;return (a+-33|0)>>>0<94|0}function Rmb(a){a=a|0;if(!(Qmb(a)|0))a=0;else a=(Mmb(a)|0)==0;return a&1|0}function Smb(a){a=a|0;var b=0;b=a;while(1)if(!(c[b>>2]|0))break;else b=b+4|0;return b-a>>2|0}function Tmb(a){a=a|0;if((a+-48|0)>>>0<10)a=1;else a=((a|32)+-97|0)>>>0<6;return a&1|0}function Umb(a,b){a=a|0;b=b|0;return Imb(a,b)|0}function Vmb(a){a=a|0;var b=0;b=Wmb(c[a>>2]|0)|0;Wpb(a);return b|0}function Wmb(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;a=fh(6,b|0)|0;a=Llb((a|0)==-4?-115:a)|0;i=b;return a|0}function Xmb(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+48|0;c[f>>2]=a;c[f+4>>2]=b;d=xh(197,f|0)|0;if((d|0)==-9){c[f+8>>2]=a;c[f+8+4>>2]=1;if((db(221,f+8|0)|0)<0)e=3;else{Ymb(f+8|0,a);c[f+40>>2]=f+8;c[f+40+4>>2]=b;d=Llb(zh(195,f+40|0)|0)|0}}else e=3;if((e|0)==3)d=Llb(d)|0;i=f;return d|0}function Ymb(b,c){b=b|0;c=c|0;var d=0,e=0,f=0;d=b;e=616615;f=d+15|0;do{a[d>>0]=a[e>>0]|0;d=d+1|0;e=e+1|0}while((d|0)<(f|0));if(!c){a[b+14>>0]=48;a[b+15>>0]=0}else{d=14;e=c;while(1){d=d+1|0;if(e>>>0<10)break;else e=(e>>>0)/10|0}a[b+d>>0]=0;while(1){d=d+-1|0;a[b+d>>0]=(c>>>0)%10|0|48;if(c>>>0<10)break;else c=(c>>>0)/10|0}}return}function Zmb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+192|0;c[f+176>>2]=d;d=(c[f+176>>2]|0)+(4-1)&~(4-1);e=c[d>>2]|0;c[f+176>>2]=d+4;e=(b|0)==4?e|32768:e;a:do switch(b|0){case 14:{c[f>>2]=a;c[f+4>>2]=14;c[f+8>>2]=e;d=Llb(db(221,f|0)|0)|0;break}case 9:{c[f+16>>2]=a;c[f+16+4>>2]=16;c[f+16+8>>2]=f+168;d=db(221,f+16|0)|0;switch(d|0){case -22:{c[f+32>>2]=a;c[f+32+4>>2]=9;c[f+32+8>>2]=e;d=db(221,f+32|0)|0;break}case 0:{d=c[f+168+4>>2]|0;d=(c[f+168>>2]|0)==2?0-d|0:d;break}default:d=Llb(d)|0}break}case 1030:{c[f+48>>2]=a;c[f+48+4>>2]=1030;c[f+48+8>>2]=e;d=db(221,f+48|0)|0;if((d|0)!=-22){if((d|0)>-1){c[f+64>>2]=d;c[f+64+4>>2]=2;c[f+64+8>>2]=1;db(221,f+64|0)|0}d=Llb(d)|0;break a}c[f+80>>2]=a;c[f+80+4>>2]=1030;c[f+80+8>>2]=0;d=db(221,f+80|0)|0;if((d|0)==-22){c[f+104>>2]=a;c[f+104+4>>2]=0;c[f+104+8>>2]=e;d=db(221,f+104|0)|0;if((d|0)>-1){c[f+120>>2]=d;c[f+120+4>>2]=2;c[f+120+8>>2]=1;db(221,f+120|0)|0}d=Llb(d)|0;break a}else{if((d|0)>-1){c[f+96>>2]=d;fh(6,f+96|0)|0}d=Llb(-22)|0;break a}}default:if((b+-12|0)>>>0<5){c[f+136>>2]=a;c[f+136+4>>2]=b;c[f+136+8>>2]=e;d=Llb(db(221,f+136|0)|0)|0;break a}else{c[f+152>>2]=a;c[f+152+4>>2]=b;c[f+152+8>>2]=e;d=Llb(db(221,f+152|0)|0)|0;break a}}while(0);i=f;return d|0}function _mb(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=$mb(a,589824,d)|0;do if((b|0)<0)a=0;else{a=Xpb(1,2072)|0;if(!a){c[d+8>>2]=b;fh(6,d+8|0)|0;a=0;break}else{c[a>>2]=b;break}}while(0);i=d;return a|0}function $mb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=i;i=i+32|0;c[e+16>>2]=d;f=(c[e+16>>2]|0)+(4-1)&~(4-1);d=c[f>>2]|0;c[e+16>>2]=f+4;c[e>>2]=a;c[e+4>>2]=b|32768;c[e+8>>2]=d;d=Llb(gh(5,e|0)|0)|0;i=e;return d|0}function anb(a){a=a|0;var b=0,d=0,f=0;f=i;i=i+16|0;b=c[a+8>>2]|0;do if((b|0)<(c[a+12>>2]|0))d=6;else{c[f>>2]=c[a>>2];c[f+4>>2]=a+24;c[f+8>>2]=2048;b=fb(220,f|0)|0;if((b|0)>=1){c[a+12>>2]=b;c[a+8>>2]=0;b=0;d=6;break}if((b|0)<0&(b|0)!=-2){c[(Mlb()|0)>>2]=0-b;b=0}else b=0}while(0);if((d|0)==6){d=a+24+b|0;c[a+8>>2]=(e[d+8>>1]|0)+b;c[a+4>>2]=c[d+4>>2];b=d}i=f;return b|0}function bnb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+32|0;c[e>>2]=a;c[e+4>>2]=0;c[e+8>>2]=b;c[e+12>>2]=e+20;c[e+16>>2]=d;d=(Llb(sb(140,e|0)|0)|0)!=0;i=e;return (d?-1:c[e+20>>2]|0)|0}function cnb(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+208|0;j=_(d,b)|0;c[m>>2]=1;c[m+4>>2]=0;if(j|0){c[m+8+4>>2]=d;c[m+8>>2]=d;f=d;b=d;g=2;while(1){b=b+d+f|0;c[m+8+(g<<2)>>2]=b;if(b>>>0>>0){k=f;f=b;g=g+1|0;b=k}else break}if((a+j+(0-d)|0)>>>0>a>>>0){f=1;h=a;g=1;while(1){do if((f&3|0)==3){dnb(h,d,e,g,m+8|0);k=c[m+4>>2]|0;b=k<<30|(c[m>>2]|0)>>>2;c[m>>2]=b;c[m+4>>2]=k>>>2;g=g+2|0}else{b=g+-1|0;if((c[m+8+(b<<2)>>2]|0)>>>0<(a+j+(0-d)-h|0)>>>0)dnb(h,d,e,g,m+8|0);else fnb(h,d,e,m,g,0,m+8|0);if((g|0)==1){b=c[m>>2]|0;c[m+4>>2]=b>>>31|c[m+4>>2]<<1;c[m>>2]=b<<1;b=b<<1;g=0;break}if(b>>>0>31){f=c[m>>2]|0;c[m+4>>2]=f;c[m>>2]=0;b=g+-33|0;g=0}else{f=c[m+4>>2]|0;g=c[m>>2]|0}c[m+4>>2]=g>>>(32-b|0)|f<>2]=b;g=1}while(0);f=b|1;c[m>>2]=f;b=h+d|0;if(b>>>0>=(a+j+(0-d)|0)>>>0){h=g;break}else h=b}}else{b=a;h=1}fnb(b,d,e,m,h,0,m+8|0);f=c[m>>2]|0;g=c[m+4>>2]|0;if(!((h|0)==1&(f|0)==1&(g|0)==0)){a=(g|0)==0;j=b;k=h;while(1){if((k|0)<2){b=f+-1|0;do if(!b){h=32;l=28}else{if(!(b&1)){h=0;do{h=h+1|0;b=b>>>1}while(!(b&1|0))}else{if(a)b=32;else{if(!(g&1)){h=g;b=0}else{b=0;h=0;break}do{b=b+1|0;h=h>>>1}while(!(h&1|0))}h=b+32|0}if(h>>>0>31)l=28;else b=h}while(0);if((l|0)==28){l=0;c[m>>2]=g;c[m+4>>2]=0;b=h+-32|0;f=g;g=0}c[m>>2]=g<<32-b|f>>>b;c[m+4>>2]=g>>>b;j=j+(0-d)|0;b=h+k|0}else{a=f>>>30;b=k+-2|0;c[m>>2]=(f<<1&2147483646|a<<31)^3;c[m+4>>2]=(a|g<<2)>>>1;fnb(j+(0-(c[m+8+(b<<2)>>2]|0))+(0-d)|0,d,e,m,k+-1|0,1,m+8|0);k=c[m>>2]|0;c[m+4>>2]=k>>>31|c[m+4>>2]<<1;c[m>>2]=k<<1|1;j=j+(0-d)|0;fnb(j,d,e,m,b,1,m+8|0)}f=c[m>>2]|0;g=c[m+4>>2]|0;a=(g|0)==0;if((b|0)==1&(f|0)==1&a)break;else k=b}}}i=m;return}function dnb(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+240|0;c[n>>2]=a;a:do if((e|0)>1){g=e;h=a;k=a;l=1;while(1){a=h+(0-b)|0;m=g+-2|0;j=a+(0-(c[f+(m<<2)>>2]|0))|0;if((Xi[d&511](k,j)|0)>-1)if((Xi[d&511](k,a)|0)>-1){e=l;break a}e=l+1|0;h=n+(l<<2)|0;if((Xi[d&511](j,a)|0)>-1){c[h>>2]=j;a=j;g=g+-1|0}else{c[h>>2]=a;g=m}if((g|0)<=1)break a;h=a;k=c[n>>2]|0;l=e}}else e=1;while(0);enb(b,n,e);i=n;return}function enb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;g=i;i=i+256|0;a:do if((d|0)>=2){c[b+(d<<2)>>2]=g;if(a|0){e=g;while(1){f=a>>>0>256?256:a;mBb(e|0,c[b>>2]|0,f|0)|0;e=0;do{h=b+(e<<2)|0;e=e+1|0;mBb(c[h>>2]|0,c[b+(e<<2)>>2]|0,f|0)|0;c[h>>2]=(c[h>>2]|0)+f}while((e|0)!=(d|0));if((a|0)==(f|0))break a;a=a-f|0;e=c[b+(d<<2)>>2]|0}}}while(0);i=g;return}function fnb(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+240|0;k=c[e>>2]|0;j=c[e+4>>2]|0;c[p>>2]=a;a:do if((j|0)!=0|(k|0)!=1){e=a+(0-(c[h+(f<<2)>>2]|0))|0;if((Xi[d&511](e,a)|0)<1){e=1;o=18}else{g=(g|0)==0;n=e;l=1;m=k;while(1){if(g&(f|0)>1){e=a+(0-b)|0;g=c[h+(f+-2<<2)>>2]|0;if((Xi[d&511](e,n)|0)>-1){g=f;e=l;o=19;break a}if((Xi[d&511](e+(0-g)|0,n)|0)>-1){g=f;e=l;o=19;break a}}e=l+1|0;c[p+(l<<2)>>2]=n;g=m+-1|0;do if(!g){a=32;o=15}else{if(!(g&1)){a=0;do{a=a+1|0;g=g>>>1}while(!(g&1|0))}else{if(!j)g=32;else{if(!(j&1)){a=j;g=0}else{k=0;g=m;a=0;break}do{g=g+1|0;a=a>>>1}while(!(a&1|0))}a=g+32|0}if(a>>>0>31)o=15;else{k=a;g=m}}while(0);if((o|0)==15){o=0;k=a+-32|0;g=j;j=0}m=j<<32-k|g>>>k;j=j>>>k;g=a+f|0;if(!((j|0)!=0|(m|0)!=1)){a=n;o=19;break a}a=n+(0-(c[h+(g<<2)>>2]|0))|0;if((Xi[d&511](a,c[p>>2]|0)|0)<1){a=n;f=g;g=0;o=18;break}else{k=n;f=g;g=1;n=a;l=e;a=k}}}}else{e=1;o=18}while(0);if((o|0)==18)if(!g){g=f;o=19}if((o|0)==19){enb(b,p,e);dnb(a,b,d,g,h)}i=p;return}function gnb(b,e,f){b=b|0;e=e|0;f=f|0;var g=0.0,h=0,j=0.0,k=0,l=0,m=0,n=0.0,o=0,p=0.0,q=0,t=0.0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0.0;G=i;i=i+512|0;switch(e|0){case 0:{F=24;D=-149;B=4;break}case 1:{F=53;D=-1074;B=4;break}case 2:{F=53;D=-1074;B=4;break}default:g=0.0}a:do if((B|0)==4){do{e=c[b+4>>2]|0;if(e>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=e+1;e=d[e>>0]|0}else e=$lb(b)|0}while((cmb(e)|0)!=0);b:do switch(e|0){case 43:case 45:{h=c[b+4>>2]|0;if(h>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=h+1;h=d[h>>0]|0;E=1-(((e|0)==45&1)<<1)|0;break b}else{h=$lb(b)|0;E=1-(((e|0)==45&1)<<1)|0;break b}}default:{h=e;E=1}}while(0);e=0;do{if((h|32|0)!=(a[616630+e>>0]|0))break;do if(e>>>0<7){h=c[b+4>>2]|0;if(h>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=h+1;h=d[h>>0]|0;break}else{h=$lb(b)|0;break}}while(0);e=e+1|0}while(e>>>0<8);c:do switch(e|0){case 8:break;case 3:{B=23;break}default:{if((f|0)!=0&e>>>0>3)if((e|0)==8)break c;else{B=23;break c}d:do if(!e){e=0;do{if((h|32|0)!=(a[616639+e>>0]|0))break d;do if(e>>>0<2){h=c[b+4>>2]|0;if(h>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=h+1;h=d[h>>0]|0;break}else{h=$lb(b)|0;break}}while(0);e=e+1|0}while(e>>>0<3)}while(0);switch(e|0){case 3:{e=c[b+4>>2]|0;if(e>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=e+1;e=d[e>>0]|0}else e=$lb(b)|0;if((e|0)==40)e=1;else{if(!(c[b+100>>2]|0)){g=r;break a}c[b+4>>2]=(c[b+4>>2]|0)+-1;g=r;break a}while(1){h=c[b+4>>2]|0;if(h>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=h+1;h=d[h>>0]|0}else h=$lb(b)|0;if(!((h+-48|0)>>>0<10|(h+-65|0)>>>0<26))if(!((h|0)==95|(h+-97|0)>>>0<26))break;e=e+1|0}if((h|0)==41){g=r;break a}h=(c[b+100>>2]|0)==0;if(!h)c[b+4>>2]=(c[b+4>>2]|0)+-1;if(!f){c[(Mlb()|0)>>2]=22;Zlb(b,0);g=0.0;break a}if(!e){g=r;break a}while(1){e=e+-1|0;if(!h)c[b+4>>2]=(c[b+4>>2]|0)+-1;if(!e){g=r;break a}}}case 0:{do if((h|0)==48){e=c[b+4>>2]|0;if(e>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=e+1;e=d[e>>0]|0}else e=$lb(b)|0;if((e|32|0)!=120){if(!(c[b+100>>2]|0)){e=48;break}c[b+4>>2]=(c[b+4>>2]|0)+-1;e=48;break}e=c[b+4>>2]|0;if(e>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=e+1;e=d[e>>0]|0;k=0}else{e=$lb(b)|0;k=0}e:while(1){switch(e|0){case 46:{B=74;break e}case 48:break;default:{y=0;l=0;x=0;h=0;m=k;o=0;w=0;n=1.0;k=0;g=0.0;break e}}e=c[b+4>>2]|0;if(e>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=e+1;e=d[e>>0]|0;k=1;continue}else{e=$lb(b)|0;k=1;continue}}if((B|0)==74){e=c[b+4>>2]|0;if(e>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=e+1;e=d[e>>0]|0}else e=$lb(b)|0;if((e|0)==48){k=0;h=0;do{e=c[b+4>>2]|0;if(e>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=e+1;e=d[e>>0]|0}else e=$lb(b)|0;k=jBb(k|0,h|0,-1,-1)|0;h=C}while((e|0)==48);y=0;l=0;x=k;m=1;o=1;w=0;n=1.0;k=0;g=0.0}else{y=0;l=0;x=0;h=0;m=k;o=1;w=0;n=1.0;k=0;g=0.0}}while(1){u=e+-48|0;q=e|32;if(u>>>0<10)B=86;else{v=(e|0)==46;if(!(v|(q+-97|0)>>>0<6)){q=x;u=y;break}if(v)if(!o){v=l;h=y;u=y;o=1;q=w;j=n}else{q=x;u=y;e=46;break}else B=86}if((B|0)==86){B=0;e=(e|0)>57?q+-87|0:u;do if((y|0)<0|(y|0)==0&l>>>0<8){q=w;j=n;k=e+(k<<4)|0}else{if((y|0)<0|(y|0)==0&l>>>0<14){t=n*.0625;q=w;j=t;g=g+t*+(e|0);break}if((w|0)!=0|(e|0)==0){q=w;j=n}else{q=1;j=n;g=g+n*.5}}while(0);l=jBb(l|0,y|0,1,0)|0;v=x;u=C;m=1}e=c[b+4>>2]|0;if(e>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=e+1;y=u;x=v;e=d[e>>0]|0;w=q;n=j;continue}else{y=u;x=v;e=$lb(b)|0;w=q;n=j;continue}}if(!m){e=(c[b+100>>2]|0)==0;if(!e)c[b+4>>2]=(c[b+4>>2]|0)+-1;if(!f)Zlb(b,0);else if(!e){e=c[b+4>>2]|0;c[b+4>>2]=e+-1;if(o|0)c[b+4>>2]=e+-2}g=+(E|0)*0.0;break a}m=(o|0)==0;o=m?l:q;m=m?u:h;if((u|0)<0|(u|0)==0&l>>>0<8){h=u;do{k=k<<4;l=jBb(l|0,h|0,1,0)|0;h=C}while((h|0)<0|(h|0)==0&l>>>0<8)}if((e|32|0)==112){h=hnb(b,f)|0;e=C;if((h|0)==0&(e|0)==-2147483648){if(!f){Zlb(b,0);g=0.0;break a}if(!(c[b+100>>2]|0)){h=0;e=0}else{c[b+4>>2]=(c[b+4>>2]|0)+-1;h=0;e=0}}}else if(!(c[b+100>>2]|0)){h=0;e=0}else{c[b+4>>2]=(c[b+4>>2]|0)+-1;h=0;e=0}B=pBb(o|0,m|0,2)|0;B=jBb(B|0,C|0,-32,-1)|0;e=jBb(B|0,C|0,h|0,e|0)|0;h=C;if(!k){g=+(E|0)*0.0;break a}if((h|0)>0|(h|0)==0&e>>>0>(0-D|0)>>>0){c[(Mlb()|0)>>2]=34;g=+(E|0)*1797693134862315708145274.0e284*1797693134862315708145274.0e284;break a}B=D+-106|0;if((h|0)<(((B|0)<0)<<31>>31|0)|(h|0)==(((B|0)<0)<<31>>31|0)&e>>>0>>0){c[(Mlb()|0)>>2]=34;g=+(E|0)*2.2250738585072014e-308*2.2250738585072014e-308;break a}if((k|0)>-1)while(1){B=!(g>=.5);k=B&1|k<<1;g=g+(B?g:g+-1.0);e=jBb(e|0,h|0,-1,-1)|0;h=C;if((k|0)>-1)k=k^1;else{l=e;k=k^1;n=g;break}}else{l=e;n=g}e=qBb(32,0,D|0,((D|0)<0)<<31>>31|0)|0;e=jBb(l|0,h|0,e|0,C|0)|0;D=C;if(0>(D|0)|0==(D|0)&F>>>0>e>>>0)if((e|0)<0){e=0;B=127}else B=125;else{e=F;B=125}if((B|0)==125)if((e|0)<53)B=127;else{h=e;j=+(E|0);g=0.0}if((B|0)==127){g=+(E|0);h=e;j=g;g=+jnb(+inb(1.0,84-e|0),g)}F=(k&1|0)==0&(n!=0.0&(h|0)<32);g=j*(F?0.0:n)+(g+j*+(((F&1)+k|0)>>>0))-g;if(!(g!=0.0))c[(Mlb()|0)>>2]=34;g=+knb(g,l);break a}else e=h;while(0);A=D+F|0;k=0;f:while(1){switch(e|0){case 46:{B=138;break f}case 48:break;default:{h=0;u=0;q=0;break f}}e=c[b+4>>2]|0;if(e>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=e+1;e=d[e>>0]|0;k=1;continue}else{e=$lb(b)|0;k=1;continue}}if((B|0)==138){e=c[b+4>>2]|0;if(e>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=e+1;e=d[e>>0]|0}else e=$lb(b)|0;if((e|0)==48){h=0;e=0;while(1){h=jBb(h|0,e|0,-1,-1)|0;k=C;e=c[b+4>>2]|0;if(e>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=e+1;e=d[e>>0]|0}else e=$lb(b)|0;if((e|0)==48)e=k;else{u=k;k=1;q=1;break}}}else{h=0;u=0;q=1}}c[G>>2]=0;m=e+-48|0;l=(e|0)==46;g:do if(l|m>>>0<10){y=0;v=0;w=l;z=0;l=0;o=0;h:while(1){do if(w)if(!q){h=y;u=v;q=1}else{e=y;m=v;q=z;break h}else{w=jBb(y|0,v|0,1,0)|0;v=C;x=(e|0)!=48;if((l|0)>=125){if(!x){y=w;break}c[G+496>>2]=c[G+496>>2]|1;y=w;break}k=G+(l<<2)|0;if(z)m=e+-48+((c[k>>2]|0)*10|0)|0;c[k>>2]=m;B=z+1|0;y=w;k=1;z=(B|0)==9?0:B;l=((B|0)==9&1)+l|0;o=x?w:o}while(0);e=c[b+4>>2]|0;if(e>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=e+1;e=d[e>>0]|0}else e=$lb(b)|0;m=e+-48|0;w=(e|0)==46;if(!(w|m>>>0<10)){m=v;B=161;break g}}v=(k|0)!=0;k=q;B=169}else{y=0;m=0;z=0;l=0;o=0;B=161}while(0);do if((B|0)==161){x=(q|0)==0;h=x?y:h;u=x?m:u;k=(k|0)!=0;if(!((e|32|0)==101&k))if((e|0)>-1){e=y;v=k;k=z;B=169;break}else{e=y;v=k;k=z;B=171;break}k=hnb(b,f)|0;e=C;if((k|0)==0&(e|0)==-2147483648){if(!f){Zlb(b,0);g=0.0;break}if(!(c[b+100>>2]|0)){k=0;e=0}else{c[b+4>>2]=(c[b+4>>2]|0)+-1;k=0;e=0}}h=jBb(k|0,e|0,h|0,u|0)|0;q=y;u=C;k=z;B=173}while(0);if((B|0)==169)if(!(c[b+100>>2]|0))B=171;else{c[b+4>>2]=(c[b+4>>2]|0)+-1;if(v){q=e;B=173}else B=172}if((B|0)==171)if(v){q=e;B=173}else B=172;do if((B|0)==172){c[(Mlb()|0)>>2]=22;Zlb(b,0);g=0.0}else if((B|0)==173){e=c[G>>2]|0;if(!e){g=+(E|0)*0.0;break}if(((m|0)<0|(m|0)==0&q>>>0<10)&((h|0)==(q|0)&(u|0)==(m|0)))if(F>>>0>30|(e>>>F|0)==0){g=+(E|0)*+(e>>>0);break}b=(D|0)/-2|0;if((u|0)>(((b|0)<0)<<31>>31|0)|(u|0)==(((b|0)<0)<<31>>31|0)&h>>>0>b>>>0){c[(Mlb()|0)>>2]=34;g=+(E|0)*1797693134862315708145274.0e284*1797693134862315708145274.0e284;break}b=D+-106|0;if((u|0)<(((b|0)<0)<<31>>31|0)|(u|0)==(((b|0)<0)<<31>>31|0)&h>>>0>>0){c[(Mlb()|0)>>2]=34;g=+(E|0)*2.2250738585072014e-308*2.2250738585072014e-308;break}if(k){if((k|0)<9){m=G+(l<<2)|0;e=c[m>>2]|0;do{e=e*10|0;k=k+1|0}while((k|0)!=9);c[m>>2]=e}l=l+1|0}if((o|0)<9)if((o|0)<=(h|0)&(h|0)<18){if((h|0)==9){g=+(E|0)*+((c[G>>2]|0)>>>0);break}if((h|0)<9){g=+(E|0)*+((c[G>>2]|0)>>>0)/+(c[152152+(8-h<<2)>>2]|0);break}b=F+27+(_(h,-3)|0)|0;e=c[G>>2]|0;if((b|0)>30|(e>>>b|0)==0){g=+(E|0)*+(e>>>0)*+(c[152152+(h+-10<<2)>>2]|0);break}}e=(h|0)%9|0;if(!e){k=0;e=0}else{q=(h|0)>-1?e:e+9|0;m=c[152152+(8-q<<2)>>2]|0;if(!l){k=0;l=0}else{k=0;e=0;o=0;do{z=G+(o<<2)|0;f=c[z>>2]|0;b=((f>>>0)/(m>>>0)|0)+e|0;c[z>>2]=b;e=_((f>>>0)%(m>>>0)|0,1e9/(m|0)|0)|0;b=(o|0)==(k|0)&(b|0)==0;o=o+1|0;h=b?h+-9|0:h;k=b?o&127:k}while((o|0)!=(l|0));if(e){c[G+(l<<2)>>2]=e;l=l+1|0}}e=0;h=9-q+h|0}i:while(1){u=(h|0)<18;v=(h|0)==18;w=G+(k<<2)|0;do{if(!u){if(!v){x=l;break i}if((c[w>>2]|0)>>>0>=9007199){h=18;x=l;break i}}o=0;m=l+127|0;while(1){q=m&127;m=pBb(c[G+(q<<2)>>2]|0,0,29)|0;m=jBb(m|0,C|0,o|0,0)|0;o=C;if(o>>>0>0|(o|0)==0&m>>>0>1e9){b=xBb(m|0,o|0,1e9,0)|0;m=yBb(m|0,o|0,1e9,0)|0;o=b}else o=0;c[G+(q<<2)>>2]=m;b=(q|0)==(k|0);l=(q|0)!=(l+127&127|0)|b?l:(m|0)==0?q:l;if(b)break;else m=q+-1|0}e=e+-29|0}while((o|0)==0);k=k+127&127;if((k|0)==(l|0)){c[G+((l+126&127)<<2)>>2]=c[G+((l+126&127)<<2)>>2]|c[G+((l+127&127)<<2)>>2];l=l+127&127}c[G+(k<<2)>>2]=o;h=h+9|0}j:while(1){l=x+1&127;w=G+((x+127&127)<<2)|0;while(1){u=(h|0)==18;v=(h|0)>27?9:1;while(1){o=k&127;q=(o|0)==(x|0);do if(q)B=219;else{m=c[G+(o<<2)>>2]|0;if(m>>>0<9007199){B=219;break}if(m>>>0>9007199)break;m=k+1&127;if((m|0)==(x|0)){B=219;break}m=c[G+(m<<2)>>2]|0;if(m>>>0<254740991){B=219;break}if(!(m>>>0>254740991|u^1)){h=o;l=x;break j}}while(0);if((B|0)==219){B=0;if(u){B=220;break j}}e=e+v|0;if((k|0)==(x|0))k=x;else break}o=k;m=0;q=k;while(1){f=G+(q<<2)|0;b=c[f>>2]|0;k=(b>>>v)+m|0;c[f>>2]=k;m=_(b&(1<>>v)|0;k=(q|0)==(o|0)&(k|0)==0;q=q+1&127;h=k?h+-9|0:h;k=k?q:o;if((q|0)==(x|0))break;else o=k}if(!m)continue;if((l|0)!=(k|0))break;c[w>>2]=c[w>>2]|1}c[G+(x<<2)>>2]=m;x=l}if((B|0)==220)if(q){c[G+(l+-1<<2)>>2]=0;h=x}else{h=o;l=x}g=+((c[G+(h<<2)>>2]|0)>>>0);h=k+1&127;if((h|0)==(l|0)){l=k+2&127;c[G+(l+-1<<2)>>2]=0}t=+(E|0);j=t*(g*1.0e9+ +((c[G+(h<<2)>>2]|0)>>>0));u=e+53|0;o=u-D|0;q=(o|0)<(F|0);m=q?((o|0)<0?0:o):F;if((m|0)<53){H=+jnb(+inb(1.0,105-m|0),j);n=+lnb(j,+inb(1.0,53-m|0));p=H;g=n;n=H+(j-n)}else{p=0.0;g=0.0;n=j}h=k+2&127;do if((h|0)==(l|0))j=g;else{h=c[G+(h<<2)>>2]|0;do if(h>>>0<5e8){if(!h)if((k+3&127|0)==(l|0))break;g=t*.25+g}else{if(h>>>0>5e8){g=t*.75+g;break}if((k+3&127|0)==(l|0)){g=t*.5+g;break}else{g=t*.75+g;break}}while(0);if((53-m|0)<=1){j=g;break}if(+lnb(g,1.0)!=0.0){j=g;break}j=g+1.0}while(0);g=n+j-p;do if((u&2147483647|0)>(-2-A|0)){if(!(+N(+g)>=9007199254740992.0))h=q&1;else{h=q&(m|0)==(o|0)?0:q&1;e=e+1|0;g=g*.5}if((e+50|0)<=(0-A|0))if(!(j!=0.0&(h|0)!=0))break;c[(Mlb()|0)>>2]=34}while(0);g=+knb(g,e)}while(0);break a}default:{if(c[b+100>>2]|0)c[b+4>>2]=(c[b+4>>2]|0)+-1;c[(Mlb()|0)>>2]=22;Zlb(b,0);g=0.0;break a}}}}while(0);if((B|0)==23){h=(c[b+100>>2]|0)==0;if(!h)c[b+4>>2]=(c[b+4>>2]|0)+-1;if((f|0)!=0&e>>>0>3)do{if(!h)c[b+4>>2]=(c[b+4>>2]|0)+-1;e=e+-1|0}while(e>>>0>3)}g=+(E|0)*s}while(0);i=G;return +g}function hnb(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0;e=c[a+4>>2]|0;if(e>>>0<(c[a+100>>2]|0)>>>0){c[a+4>>2]=e+1;e=d[e>>0]|0}else e=$lb(a)|0;switch(e|0){case 43:case 45:{f=(e|0)==45&1;e=c[a+4>>2]|0;if(e>>>0<(c[a+100>>2]|0)>>>0){c[a+4>>2]=e+1;e=d[e>>0]|0}else e=$lb(a)|0;if((b|0)!=0&(e+-48|0)>>>0>9)if(!(c[a+100>>2]|0))h=f;else{c[a+4>>2]=(c[a+4>>2]|0)+-1;h=f}else h=f;break}default:h=0}if((e+-48|0)>>>0>9)if(!(c[a+100>>2]|0)){f=-2147483648;e=0}else{c[a+4>>2]=(c[a+4>>2]|0)+-1;f=-2147483648;e=0}else{f=0;do{f=e+-48+(f*10|0)|0;e=c[a+4>>2]|0;if(e>>>0<(c[a+100>>2]|0)>>>0){c[a+4>>2]=e+1;e=d[e>>0]|0}else e=$lb(a)|0}while((e+-48|0)>>>0<10&(f|0)<214748364);if((e+-48|0)>>>0<10){g=f;f=((f|0)<0)<<31>>31;while(1){b=wBb(g|0,f|0,10,0)|0;f=C;e=jBb(e|0,((e|0)<0)<<31>>31|0,-48,-1)|0;f=jBb(e|0,C|0,b|0,f|0)|0;b=C;e=c[a+4>>2]|0;if(e>>>0<(c[a+100>>2]|0)>>>0){c[a+4>>2]=e+1;e=d[e>>0]|0}else e=$lb(a)|0;if((e+-48|0)>>>0<10&((b|0)<21474836|(b|0)==21474836&f>>>0<2061584302)){g=f;f=b}else{g=f;break}}}else{g=f;b=((f|0)<0)<<31>>31}if((e+-48|0)>>>0<10)do{e=c[a+4>>2]|0;if(e>>>0<(c[a+100>>2]|0)>>>0){c[a+4>>2]=e+1;e=d[e>>0]|0}else e=$lb(a)|0}while((e+-48|0)>>>0<10);if(c[a+100>>2]|0)c[a+4>>2]=(c[a+4>>2]|0)+-1;a=(h|0)!=0;e=qBb(0,0,g|0,b|0)|0;f=a?C:b;e=a?e:g}C=f;return e|0}function inb(a,b){a=+a;b=b|0;var d=0;if((b|0)>1023)if((b+-1023|0)>1023){b=(b+-2046|0)>1023?1023:b+-2046|0;a=a*8988465674311579538646525.0e283*8988465674311579538646525.0e283}else{b=b+-1023|0;a=a*8988465674311579538646525.0e283}else if((b|0)<-1022)if((b+1022|0)<-1022){b=(b+2044|0)<-1022?-1022:b+2044|0;a=a*2.2250738585072014e-308*2.2250738585072014e-308}else{b=b+1022|0;a=a*2.2250738585072014e-308}d=pBb(b+1023|0,0,52)|0;b=C;c[k>>2]=d;c[k+4>>2]=b;return +(a*+h[k>>3])}function jnb(a,b){a=+a;b=+b;return +(+jmb(a,b))}function knb(a,b){a=+a;b=b|0;return +(+inb(a,b))}function lnb(a,b){a=+a;b=+b;return +(+mnb(a,b))}function mnb(a,b){a=+a;b=+b;var d=0,e=0,f=0,g=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0.0;h[k>>3]=a;d=c[k>>2]|0;o=c[k+4>>2]|0;h[k>>3]=b;m=c[k>>2]|0;n=c[k+4>>2]|0;j=rBb(d|0,o|0,52)|0;l=rBb(m|0,n|0,52)|0;g=pBb(m|0,n|0,1)|0;i=C;a:do if((g|0)==0&(i|0)==0)p=3;else{q=+N(+b);h[k>>3]=q;f=c[k+4>>2]|0;if(f>>>0>2146435072|(f|0)==2146435072&(c[k>>2]|0)>>>0>0|(j&2047|0)==2047)p=3;else{e=pBb(d|0,o|0,1)|0;f=C;if(!(f>>>0>i>>>0|(f|0)==(i|0)&e>>>0>g>>>0))return +((e|0)==(g|0)&(f|0)==(i|0)?a*0.0:a);if(!(j&2047)){e=pBb(d|0,o|0,12)|0;f=C;if((f|0)>-1|(f|0)==-1&e>>>0>4294967295){g=e;e=0;do{e=e+-1|0;g=pBb(g|0,f|0,1)|0;f=C}while((f|0)>-1|(f|0)==-1&g>>>0>4294967295)}else e=0;d=pBb(d|0,o|0,1-e|0)|0;f=C}else{f=o&1048575|1048576;e=j&2047}if(!(l&2047)){g=pBb(m|0,n|0,12)|0;i=C;if((i|0)>-1|(i|0)==-1&g>>>0>4294967295){j=0;do{j=j+-1|0;g=pBb(g|0,i|0,1)|0;i=C}while((i|0)>-1|(i|0)==-1&g>>>0>4294967295)}else j=0;m=pBb(m|0,n|0,1-j|0)|0;n=C}else{n=n&1048575|1048576;j=l&2047}i=qBb(d|0,f|0,m|0,n|0)|0;g=C;b:do if((e|0)>(j|0)){l=(g|0)>-1|(g|0)==-1&i>>>0>4294967295;while(1){if(l)if((d|0)==(m|0)&(f|0)==(n|0))break;else{d=i;f=g}d=pBb(d|0,f|0,1)|0;f=C;e=e+-1|0;i=qBb(d|0,f|0,m|0,n|0)|0;g=C;if((e|0)>(j|0))l=(g|0)>-1|(g|0)==-1&i>>>0>4294967295;else{j=(g|0)>-1|(g|0)==-1&i>>>0>4294967295;break b}}b=a*0.0;break a}else j=(g|0)>-1|(g|0)==-1&i>>>0>4294967295;while(0);if(j)if((d|0)==(m|0)&(f|0)==(n|0)){b=a*0.0;break}else{f=g;d=i}if(f>>>0<1048576|(f|0)==1048576&d>>>0<0)do{d=pBb(d|0,f|0,1)|0;f=C;e=e+-1|0}while(f>>>0<1048576|(f|0)==1048576&d>>>0<0);if((e|0)>0){n=jBb(d|0,f|0,0,-1048576)|0;d=C;e=pBb(e|0,0,52)|0;d=d|C;e=n|e}else{e=rBb(d|0,f|0,1-e|0)|0;d=C}c[k>>2]=e;c[k+4>>2]=d|o&-2147483648;b=+h[k>>3]}}while(0);if((p|0)==3)b=a*b/(a*b);return +b}function nnb(a){a=a|0;return 0}function onb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return d|0}function pnb(a,b){a=a|0;b=b|0;return -1|0}function qnb(a){a=a|0;Wpb(a);return}function rnb(b){b=b|0;var d=0,e=0,f=0;a:do if(!(b&3)){d=b;f=4}else{e=b;d=b;while(1){if(!(a[e>>0]|0))break a;e=e+1|0;d=e;if(!(d&3)){d=e;f=4;break}}}while(0);if((f|0)==4){while(1){e=c[d>>2]|0;if(!((e&-2139062144^-2139062144)&e+-16843009))d=d+4|0;else break}if((e&255)<<24>>24)do d=d+1|0;while((a[d>>0]|0)!=0)}return d-b|0}function snb(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0;l=i;i=i+16|0;j=(f|0)==0?1202028:f;f=c[j>>2]|0;a:do if(!d)if(!f)f=0;else k=15;else{h=(b|0)==0?l:b;if(!e)f=-2;else{if(!f){f=a[d>>0]|0;if(f<<24>>24>-1){c[h>>2]=f&255;f=f<<24>>24!=0&1;break}if(((f&255)+-194|0)>>>0>50){k=15;break}f=c[148400+((f&255)+-194<<2)>>2]|0;if(e+-1|0){b=e+-1|0;d=d+1|0;k=9}}else{b=e;k=9}b:do if((k|0)==9){g=a[d>>0]|0;if((((g&255)>>>3)+-16|((g&255)>>>3)+(f>>26))>>>0>7){k=15;break a}while(1){d=d+1|0;f=(g&255)+-128|f<<6;b=b+-1|0;if((f|0)>=0)break;if(!b)break b;g=a[d>>0]|0;if((g&-64)<<24>>24!=-128){k=15;break a}}c[j>>2]=0;c[h>>2]=f;f=e-b|0;break a}while(0);c[j>>2]=f;f=-2}}while(0);if((k|0)==15){c[j>>2]=0;c[(Mlb()|0)>>2]=84;f=-1}i=l;return f|0}function tnb(b,c){b=b|0;c=c|0;var e=0,f=0,g=0;e=a[b>>0]|0;a:do if(!(e<<24>>24))b=0;else{g=e;f=e&255;while(1){e=a[c>>0]|0;if(!(e<<24>>24)){b=g;break a}if(g<<24>>24!=e<<24>>24){g=Ulb(f)|0;if((g|0)!=(Ulb(d[c>>0]|0)|0))break}b=b+1|0;c=c+1|0;e=a[b>>0]|0;if(!(e<<24>>24)){b=0;break a}else{g=e;f=e&255}}b=a[b>>0]|0}while(0);g=Ulb(b&255)|0;return g-(Ulb(d[c>>0]|0)|0)|0}function unb(a,b){a=a|0;b=b|0;return (a+-48|0)>>>0<10|0}function vnb(a,b){a=a|0;b=b|0;return Tmb(a)|0}function wnb(){return 152184}function xnb(b,c,d){b=b|0;c=c|0;d=d|0;var e=0;if(!(a[c>>0]|0))e=4;else if(!(Imb(c,617725)|0))e=4;else if(!(Imb(c,616645)|0))e=4;else d=0;if((e|0)==4)if(!d)d=Xpb(1,4)|0;return d|0}function ynb(a,b){a=a|0;b=b|0;return 616651}function znb(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+16|0;c[f>>2]=e;e=tmb(a,b,d,f)|0;i=f;return e|0}function Anb(b,c,e){b=b|0;c=c|0;e=e|0;var f=0,g=0,h=0;if(!e)c=0;else{f=a[b>>0]|0;a:do if(!(f<<24>>24))b=0;else{h=f;g=f&255;while(1){e=e+-1|0;f=a[c>>0]|0;if(!((e|0)!=0&f<<24>>24!=0)){b=h;break a}if(h<<24>>24!=f<<24>>24){h=Ulb(g)|0;if((h|0)!=(Ulb(d[c>>0]|0)|0))break}b=b+1|0;c=c+1|0;f=a[b>>0]|0;if(!(f<<24>>24)){b=0;break a}else{h=f;g=f&255}}b=a[b>>0]|0}while(0);h=Ulb(b&255)|0;c=h-(Ulb(d[c>>0]|0)|0)|0}return c|0}function Bnb(a,b){a=a|0;b=b|0;Cnb(a,b)|0;return a|0}function Cnb(b,d){b=b|0;d=d|0;var e=0,f=0;a:do if(!((d^b)&3)){if(d&3)do{f=a[d>>0]|0;a[b>>0]=f;if(!(f<<24>>24))break a;d=d+1|0;b=b+1|0}while((d&3|0)!=0);e=c[d>>2]|0;if(!((e&-2139062144^-2139062144)&e+-16843009)){f=b;while(1){d=d+4|0;b=f+4|0;c[f>>2]=e;e=c[d>>2]|0;if((e&-2139062144^-2139062144)&e+-16843009|0)break;else f=b}}e=8}else e=8;while(0);if((e|0)==8){f=a[d>>0]|0;a[b>>0]=f;if(f<<24>>24)do{d=d+1|0;b=b+1|0;f=a[d>>0]|0;a[b>>0]=f}while(f<<24>>24!=0)}return b|0}function Dnb(a){a=a|0;var b=0,d=0;b=(uc()|0)+180|0;d=c[b>>2]|0;if(a|0)c[b>>2]=a;return d|0}function Enb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;if(d|0){e=a;while(1){d=d+-1|0;c[e>>2]=c[b>>2];if(!d)break;else{b=b+4|0;e=e+4|0}}}return a|0}function Fnb(a,b){a=+a;b=b|0;var d=0,e=0,f=0,g=0,i=0.0;h[k>>3]=a;f=c[k>>2]|0;g=c[k+4>>2]|0;d=rBb(f|0,g|0,52)|0;do if(((d&2047)+-1023|0)>51){h[b>>3]=a;if((f|0)==0&(g&1048575|0)==0|((d&2047)+-1023|0)!=1024){c[k>>2]=0;c[k+4>>2]=g&-2147483648;a=+h[k>>3]}}else{if((d&2047)>>>0<1023){c[b>>2]=0;c[b+4>>2]=g&-2147483648;break}d=rBb(-1,1048575,(d&2047)+-1023|0)|0;e=C;if((d&f|0)==0&(e&g|0)==0){h[b>>3]=a;c[k>>2]=0;c[k+4>>2]=g&-2147483648;a=+h[k>>3];break}else{c[k>>2]=f&~d;c[k+4>>2]=g&~e;i=+h[k>>3];c[b>>2]=f&~d;c[b+4>>2]=g&~e;a=a-i;break}}while(0);return +a}function Gnb(a){a=+a;var b=0,d=0,e=0,f=0.0;h[k>>3]=a;b=c[k+4>>2]|0;do if((b&2147483647)>>>0>1083174911){d=(b|0)>-1|(b|0)==-1&(c[k>>2]|0)>>>0>4294967295;if(d&(b&2147483647)>>>0>1083179007){a=a*8988465674311579538646525.0e283;break}if((b&2147483647)>>>0>2146435071){a=-1.0/a;break}else if(!(a<=-1075.0)|d){e=9;break}else{a=0.0;break}}else if((b&2147483647)>>>0<1016070144)a=a+1.0;else e=9;while(0);if((e|0)==9){h[k>>3]=a+26388279066624.0;e=(c[k>>2]|0)+128|0;f=+h[3448+((e<<1&510)<<3)>>3];a=a-(a+26388279066624.0+-26388279066624.0)-+h[3448+((e<<1&510|1)<<3)>>3];a=+inb(f+f*a*(a*(a*(a*(a*1.3333559164630223e-03+.009618129842126066)+.0555041086648214)+.2402265069591)+.6931471805599453),(e&-256|0)/256|0)}return +a}function Hnb(a,b){a=+a;b=b|0;return +(+inb(a,b))}function Inb(a){a=+a;var b=0;h[k>>3]=a;b=c[k+4>>2]|0;if(!((b&2146435072)>>>0>1126170624|(b&2146435072|0)==1126170624&0>0)){a=(b|0)<0?a+-4503599627370496.0+4503599627370496.0:a+4503599627370496.0+-4503599627370496.0;if(a==0.0)a=(b|0)<0?-0.0:0.0}return +a}function Jnb(a){a=+a;var b=0;b=(g[k>>2]=a,c[k>>2]|0);if((b&2130706432)>>>0<=1249902592){a=(b|0)<0?a+-8388608.0+8388608.0:a+8388608.0+-8388608.0;if(a==0.0)a=(b|0)<0?-0.0:0.0}return +a}function Knb(a){a=+a;var b=0,d=0,e=0,f=0,g=0.0,i=0.0;h[k>>3]=a;b=c[k>>2]|0;d=c[k+4>>2]|0;do if((d|0)<0|d>>>0<1048576){g=+N(+a);h[k>>3]=g;if((c[k>>2]|0)==0&(c[k+4>>2]|0)==0){a=-1.0/(a*a);break}if((d|0)<0){a=(a-a)/0.0;break}else{h[k>>3]=a*18014398509481984.0;d=c[k+4>>2]|0;b=c[k>>2]|0;e=-1077;f=9;break}}else if(d>>>0<=2146435071)if((b|0)==0&0==0&(d|0)==1072693248)a=0.0;else{e=-1023;f=9}while(0);if((f|0)==9){f=d+614242|0;c[k>>2]=b;c[k+4>>2]=(f&1048575)+1072079006;i=+h[k>>3]+-1.0;a=i/(i+2.0)*(i/(i+2.0));h[k>>3]=i-i*(i*.5);d=c[k+4>>2]|0;c[k>>2]=0;c[k+4>>2]=d;g=+h[k>>3];a=i-g-i*(i*.5)+i/(i+2.0)*(i*(i*.5)+(a*a*(a*a*(a*a*.15313837699209373+.22222198432149784)+.3999999999940942)+a*(a*a*(a*a*(a*a*.14798198605116586+.1818357216161805)+.2857142874366239)+.6666666666666735)));i=+(e+(f>>>20)|0);a=i*.30102999566361177+g*.4342944818781689+(g*.4342944818781689+(i*.30102999566361177-(i*.30102999566361177+g*.4342944818781689))+(a*.4342944818781689+(i*3.694239077158931e-13+(g+a)*2.5082946711645275e-11)))}return +a}function Lnb(a){a=+a;var b=0,d=0,e=0,f=0,g=0.0,i=0.0;h[k>>3]=a;b=c[k>>2]|0;d=c[k+4>>2]|0;do if((d|0)<0|d>>>0<1048576){g=+N(+a);h[k>>3]=g;if((c[k>>2]|0)==0&(c[k+4>>2]|0)==0){a=-1.0/(a*a);break}if((d|0)<0){a=(a-a)/0.0;break}else{h[k>>3]=a*18014398509481984.0;d=c[k+4>>2]|0;b=c[k>>2]|0;e=-1077;f=9;break}}else if(d>>>0<=2146435071)if((b|0)==0&0==0&(d|0)==1072693248)a=0.0;else{e=-1023;f=9}while(0);if((f|0)==9){f=d+614242|0;c[k>>2]=b;c[k+4>>2]=(f&1048575)+1072079006;i=+h[k>>3]+-1.0;a=i/(i+2.0)*(i/(i+2.0));h[k>>3]=i-i*(i*.5);d=c[k+4>>2]|0;c[k>>2]=0;c[k+4>>2]=d;g=+h[k>>3];a=i-g-i*(i*.5)+i/(i+2.0)*(i*(i*.5)+(a*a*(a*a*(a*a*.15313837699209373+.22222198432149784)+.3999999999940942)+a*(a*a*(a*a*(a*a*.14798198605116586+.1818357216161805)+.2857142874366239)+.6666666666666735)));i=+(e+(f>>>20)|0);a=i+g*1.4426950407214463+(g*1.4426950407214463+(i-(i+g*1.4426950407214463))+(a*1.4426950407214463+(g+a)*1.6751713164886512e-10))}return +a}function Mnb(a){a=+a;var b=0,d=0;h[k>>3]=a;d=c[k+4>>2]|0;a=+N(+a);h[k>>3]=a;b=c[k+4>>2]|0;do if(b>>>0>1071748074)if(b>>>0>1077149696){a=1.0-0.0/a;break}else{a=1.0-2.0/(+lmb(a*2.0)+2.0);break}else{if(b>>>0>1070618798){a=+lmb(a*2.0);a=a/(a+2.0);break}if(b>>>0>1048575){a=+lmb(a*-2.0);a=-a/(a+2.0)}}while(0);return +((d|0)<0?-a:a)}function Nnb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=i;i=i+32|0;c[e+16>>2]=d;f=(c[e+16>>2]|0)+(4-1)&~(4-1);d=c[f>>2]|0;c[e+16>>2]=f+4;c[e>>2]=a;c[e+4>>2]=b;c[e+8>>2]=d;d=Llb(gi(54,e|0)|0)|0;i=e;return d|0}function Onb(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d>>2]=a;c[d+4>>2]=b;a=Llb(zh(195,d|0)|0)|0;i=d;return a|0}function Pnb(a){a=a|0;var b=0,c=0;c=(rnb(a)|0)+1|0;b=Vpb(c)|0;if(!b)b=0;else mBb(b|0,a|0,c|0)|0;return b|0}function Qnb(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+4112|0;if(!a){b=4096;a=e+8|0;d=4}else if(!b){c[(Mlb()|0)>>2]=22;a=0}else d=4;if((d|0)==4){c[e>>2]=a;c[e+4>>2]=b;if((Llb(ic(183,e|0)|0)|0)<0)a=0;else if((a|0)==(e+8|0))a=Pnb(e+8|0)|0}i=e;return a|0}function Rnb(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;a=Llb(cd(122,b|0)|0)|0;i=b;return a|0}function Snb(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,j=0;j=i;i=i+16|0;a:do if(!e)b=0;else{do if(f|0){h=(b|0)==0?j:b;b=a[e>>0]|0;if(b<<24>>24>-1){c[h>>2]=b&255;b=b<<24>>24!=0&1;break a}if(((b&255)+-194|0)>>>0<=50){g=c[148400+((b&255)+-194<<2)>>2]|0;if(f>>>0<4)if(g&-2147483648>>>((f*6|0)+-6|0)|0)break;b=d[e+1>>0]|0;if(((b>>>3)+-16|(b>>>3)+(g>>26))>>>0<=7){if((b+-128|g<<6|0)>=0){c[h>>2]=b+-128|g<<6;b=2;break a}f=d[e+2>>0]|0;if((f&192|0)==128){f=f+-128|(b+-128|g<<6)<<6;if((f|0)>=0){c[h>>2]=f;b=3;break a}b=d[e+3>>0]|0;if((b&192|0)==128){c[h>>2]=b+-128|f<<6;b=4;break a}}}}}while(0);c[(Mlb()|0)>>2]=84;b=-1}while(0);i=j;return b|0}function Tnb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;c[e>>2]=a;c[e+4>>2]=b;c[e+8>>2]=d;a=Llb(hh(4,e|0)|0)|0;i=e;return a|0}function Unb(b,c){b=b|0;c=c|0;b=Vnb(b,c)|0;return ((a[b>>0]|0)==(c&255)<<24>>24?b:0)|0}function Vnb(b,d){b=b|0;d=d|0;var e=0,f=0;a:do if(!(d&255))b=b+(rnb(b)|0)|0;else{if(b&3)do{f=a[b>>0]|0;if(f<<24>>24==0?1:f<<24>>24==(d&255)<<24>>24)break a;b=b+1|0}while((b&3|0)!=0);f=_(d&255,16843009)|0;e=c[b>>2]|0;b:do if(!((e&-2139062144^-2139062144)&e+-16843009))do{e=e^f;if((e&-2139062144^-2139062144)&e+-16843009|0)break b;b=b+4|0;e=c[b>>2]|0}while(!((e&-2139062144^-2139062144)&e+-16843009|0));while(0);while(1){f=a[b>>0]|0;if(f<<24>>24==0?1:f<<24>>24==(d&255)<<24>>24)break;else b=b+1|0}}while(0);return b|0}function Wnb(){var a=0,b=0;b=i;i=i+16|0;a=Wb(20,b|0)|0;i=b;return a|0}function Xnb(b,d){b=b|0;d=d|0;var e=0,f=0;f=i;i=i+32|0;if(!(omb(616659,a[d>>0]|0,4)|0)){c[(Mlb()|0)>>2]=22;b=0}else{e=Ynb(d)|0|32768;c[f>>2]=b;c[f+4>>2]=e;c[f+8>>2]=438;e=Llb(gh(5,f|0)|0)|0;if((e|0)<0)b=0;else{b=Znb(e,d)|0;if(!b){c[f+16>>2]=e;fh(6,f+16|0)|0;b=0}}}i=f;return b|0}function Ynb(b){b=b|0;var c=0,d=0,e=0;d=(Unb(b,43)|0)==0;c=a[b>>0]|0;d=d?c<<24>>24!=114&1:2;e=(Unb(b,120)|0)==0;d=e?d:d|128;b=(Unb(b,101)|0)==0;b=b?d:d|524288;b=c<<24>>24==114?b:b|64;b=c<<24>>24==119?b|512:b;return (c<<24>>24==97?b|1024:b)|0}function Znb(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;j=i;i=i+112|0;f=a[d>>0]|0;if(!(omb(616659,f<<24>>24,4)|0)){c[(Mlb()|0)>>2]=22;e=0}else{e=Vpb(1144)|0;if(!e)e=0;else{g=e;h=g+112|0;do{c[g>>2]=0;g=g+4|0}while((g|0)<(h|0));if(!(Unb(d,43)|0))c[e>>2]=f<<24>>24==114?8:4;if(Unb(d,101)|0){c[j>>2]=b;c[j+4>>2]=2;c[j+8>>2]=1;db(221,j|0)|0;f=a[d>>0]|0}if(f<<24>>24==97){c[j+16>>2]=b;c[j+16+4>>2]=3;f=db(221,j+16|0)|0;if(!(f&1024)){c[j+24>>2]=b;c[j+24+4>>2]=4;c[j+24+8>>2]=f|1024;db(221,j+24|0)|0}f=c[e>>2]|128;c[e>>2]=f}else f=c[e>>2]|0;c[e+60>>2]=b;c[e+44>>2]=e+120;c[e+48>>2]=1024;a[e+75>>0]=-1;if(!(f&8)){c[j+40>>2]=b;c[j+40+4>>2]=21505;c[j+40+8>>2]=j+52;if(!(gi(54,j+40|0)|0))a[e+75>>0]=10}c[e+32>>2]=96;c[e+36>>2]=94;c[e+40>>2]=95;c[e+12>>2]=1410;if(!(c[300495]|0))c[e+76>>2]=-1;dh(1202004);f=c[300500]|0;c[e+56>>2]=f;if(f|0)c[f+52>>2]=e;c[300500]=e;dg(1202004)}}i=j;return e|0}function _nb(a){a=a|0;var b=0,d=0,e=0;e=(c[a>>2]&1|0)!=0;if(!e){dh(1202004);d=c[a+52>>2]|0;if(d|0)c[d+56>>2]=c[a+56>>2];b=c[a+56>>2]|0;if(b|0)c[b+52>>2]=d;if((c[300500]|0)==(a|0))c[300500]=b;dg(1202004)}b=$nb(a)|0;b=vi[c[a+12>>2]&2047](a)|0|b;d=c[a+92>>2]|0;if(d|0)Wpb(d);if(!e)Wpb(a);return b|0}function $nb(a){a=a|0;var b=0,d=0;do if(!a){if(!(c[37238]|0))b=0;else b=$nb(c[37238]|0)|0;dh(1202004);a=c[300500]|0;if(a)do{if((c[a+76>>2]|0)>-1)d=Hmb(a)|0;else d=0;if((c[a+20>>2]|0)>>>0>(c[a+28>>2]|0)>>>0)b=aob(a)|0|b;if(d|0)Plb(a);a=c[a+56>>2]|0}while((a|0)!=0);dg(1202004)}else{if((c[a+76>>2]|0)<=-1){b=aob(a)|0;break}d=(Hmb(a)|0)==0;b=aob(a)|0;if(!d)Plb(a)}while(0);return b|0}function aob(a){a=a|0;var b=0,d=0;if((c[a+20>>2]|0)>>>0>(c[a+28>>2]|0)>>>0){Gi[c[a+36>>2]&255](a,0,0)|0;if(!(c[a+20>>2]|0))b=-1;else d=3}else d=3;if((d|0)==3){b=c[a+4>>2]|0;d=c[a+8>>2]|0;if(b>>>0>>0)Gi[c[a+40>>2]&255](a,b-d|0,1)|0;c[a+16>>2]=0;c[a+28>>2]=0;c[a+20>>2]=0;c[a+8>>2]=0;c[a+4>>2]=0;b=0}return b|0}function bob(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;if((c[f+76>>2]|0)>-1)i=Hmb(f)|0;else i=0;if((e|0)<2){j=a[f+74>>0]|0;a[f+74>>0]=j+255|j;if(i|0)Plb(f);if(!(e+-1|0))a[b>>0]=0;else b=0}else{a:do if(!(e+-1|0)){e=b;j=17}else{h=e+-1|0;e=b;while(1){g=c[f+4>>2]|0;m=(c[f+8>>2]|0)-g|0;l=omb(g,10,m)|0;m=(l|0)==0?m:1-g+l|0;k=m>>>0>>0;m=k?m:h;mBb(e|0,g|0,m|0)|0;g=(c[f+4>>2]|0)+m|0;c[f+4>>2]=g;e=e+m|0;h=h-m|0;if(!((l|0)==0&k)){j=17;break a}if(g>>>0<(c[f+8>>2]|0)>>>0){c[f+4>>2]=g+1;g=d[g>>0]|0}else{g=amb(f)|0;if((g|0)<0)break}h=h+-1|0;a[e>>0]=g;if(!((h|0)!=0&(g&255|0)!=10)){e=e+1|0;j=17;break a}else e=e+1|0}if((e|0)==(b|0))b=0;else if(!(c[f>>2]&16))b=0;else j=17}while(0);if((j|0)==17)if(!b)b=0;else a[e>>0]=0;if(i)Plb(f)}return b|0}function cob(a){a=a|0;var b=0;if((c[a+76>>2]|0)>-1){b=(Hmb(a)|0)==0;a=(c[a>>2]|0)>>>4&1}else a=(c[a>>2]|0)>>>4&1;return a|0}function dob(a){a=a|0;var b=0;if((c[a+76>>2]|0)>-1){b=(Hmb(a)|0)==0;a=(c[a>>2]|0)>>>5&1}else a=(c[a>>2]|0)>>>5&1;return a|0}function eob(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;c[e>>2]=d;d=fob(a,b,e)|0;i=e;return d|0}function fob(e,f,j){e=e|0;f=f|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0.0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=i;i=i+304|0;if((c[e+76>>2]|0)>-1)A=Hmb(e)|0;else A=0;k=a[f>>0]|0;a:do if(!(k<<24>>24))k=0;else{y=B+33+10|0;m=k;k=0;n=f;s=0;l=0;f=0;b:while(1){c:do if(!(cmb(m&255)|0)){m=(a[n>>0]|0)==37;d:do if(m){q=n+1|0;o=a[q>>0]|0;e:do switch(o<<24>>24){case 37:break d;case 42:{m=0;q=n+2|0;break}default:{if(((o&255)+-48|0)>>>0<10)if((a[n+2>>0]|0)==36){c[B+16>>2]=c[j>>2];o=(o&255)+-48|0;while(1){x=(c[B+16>>2]|0)+(4-1)&~(4-1);m=c[x>>2]|0;c[B+16>>2]=x+4;if(o>>>0>1)o=o+-1|0;else break}q=n+3|0;break e}x=(c[j>>2]|0)+(4-1)&~(4-1);m=c[x>>2]|0;c[j>>2]=x+4}}while(0);n=a[q>>0]|0;if(((n&255)+-48|0)>>>0<10){r=n&255;n=0;while(1){o=(n*10|0)+-48+r|0;q=q+1|0;n=a[q>>0]|0;r=n&255;if((r+-48|0)>>>0>=10){r=o;break}else n=o}}else r=0;if(n<<24>>24==109){q=q+1|0;o=a[q>>0]|0;x=(m|0)!=0&1;l=0;f=0}else{o=n;x=0}n=q+1|0;switch(o&255|0){case 104:{o=(a[n>>0]|0)==104;n=o?q+2|0:n;o=o?-2:-1;break}case 108:{o=(a[n>>0]|0)==108;n=o?q+2|0:n;o=o?3:1;break}case 106:{o=3;break}case 116:case 122:{o=1;break}case 76:{o=2;break}case 110:case 112:case 67:case 83:case 91:case 99:case 115:case 88:case 71:case 70:case 69:case 65:case 103:case 102:case 101:case 97:case 120:case 117:case 111:case 105:case 100:{n=q;o=0;break}default:{m=x;z=154;break b}}v=d[n>>0]|0;u=(v&47|0)==3?v|32:v;v=(v&47|0)==3?1:o;switch(u|0){case 99:{w=s;t=(r|0)<1?1:r;break}case 91:{w=s;t=r;break}case 110:{if(!m){o=s;break c}switch(v|0){case -2:{a[m>>0]=s;o=s;break c}case -1:{b[m>>1]=s;o=s;break c}case 0:{c[m>>2]=s;o=s;break c}case 1:{c[m>>2]=s;o=s;break c}case 3:{o=m;c[o>>2]=s;c[o+4>>2]=((s|0)<0)<<31>>31;o=s;break c}default:{o=s;break c}}}default:{Zlb(e,0);do{o=c[e+4>>2]|0;if(o>>>0<(c[e+100>>2]|0)>>>0){c[e+4>>2]=o+1;o=d[o>>0]|0}else o=$lb(e)|0}while((cmb(o)|0)!=0);if(!(c[e+100>>2]|0))o=c[e+4>>2]|0;else{o=(c[e+4>>2]|0)+-1|0;c[e+4>>2]=o}w=(c[e+108>>2]|0)+s+o-(c[e+8>>2]|0)|0;t=r}}Zlb(e,t);o=c[e+4>>2]|0;q=c[e+100>>2]|0;if(o>>>0>>0)c[e+4>>2]=o+1;else{if(($lb(e)|0)<0){m=x;z=154;break b}q=c[e+100>>2]|0}if(q|0)c[e+4>>2]=(c[e+4>>2]|0)+-1;f:do switch(u|0){case 91:case 99:case 115:{g:do if((u|16|0)==115){hBb(B+33|0,-1,257)|0;a[B+33>>0]=0;if((u|0)==115){a[B+33+33>>0]=0;a[y>>0]=0;a[y+1>>0]=0;a[y+2>>0]=0;a[y+3>>0]=0;a[y+4>>0]=0}}else{s=n+1|0;o=(a[s>>0]|0)==94;n=o?n+2|0:s;hBb(B+33|0,o&1|0,257)|0;a[B+33>>0]=0;switch(a[n>>0]|0){case 45:{a[B+33+46>>0]=o&1^1;s=(o&1^1)&255;n=n+1|0;break}case 93:{a[B+33+94>>0]=o&1^1;s=(o&1^1)&255;n=n+1|0;break}default:s=(o&1^1)&255}while(1){o=a[n>>0]|0;h:do switch(o<<24>>24){case 0:{m=x;z=154;break b}case 93:break g;case 45:{r=n+1|0;o=a[r>>0]|0;switch(o<<24>>24){case 93:case 0:{o=45;break h}default:{}}n=a[n+-1>>0]|0;if((n&255)<(o&255)){n=n&255;do{n=n+1|0;a[B+33+n>>0]=s;o=a[r>>0]|0}while((n|0)<(o&255|0));n=r}else n=r;break}default:{}}while(0);a[B+33+((o&255)+1)>>0]=s;n=n+1|0}}while(0);r=(u|0)==99?t+1|0:31;s=(x|0)!=0;i:do if((v|0)==1){if(s){f=Vpb(r<<2)|0;if(!f){m=x;l=0;z=154;break b}}else f=m;c[B+8>>2]=0;c[B+8+4>>2]=0;l=0;j:while(1){q=(f|0)==0;do{k:while(1){o=c[e+4>>2]|0;if(o>>>0<(c[e+100>>2]|0)>>>0){c[e+4>>2]=o+1;o=d[o>>0]|0}else o=$lb(e)|0;if(!(a[B+33+(o+1)>>0]|0))break j;a[B+32>>0]=o;switch(snb(B,B+32|0,1,B+8|0)|0){case -1:{m=x;l=0;z=154;break b}case -2:break;default:break k}}if(!q){c[f+(l<<2)>>2]=c[B>>2];l=l+1|0}}while(!(s&(l|0)==(r|0)));l=r<<1|1;o=Ypb(f,l<<2)|0;if(!o){m=x;l=0;z=154;break b}else{q=r;r=l;f=o;l=q}}if(!(gob(B+8|0)|0)){m=x;l=0;z=154;break b}else{q=l;l=0}}else{if(s){l=Vpb(r)|0;if(!l){m=x;l=0;f=0;z=154;break b}else o=0;while(1){do{f=c[e+4>>2]|0;if(f>>>0<(c[e+100>>2]|0)>>>0){c[e+4>>2]=f+1;f=d[f>>0]|0}else f=$lb(e)|0;if(!(a[B+33+(f+1)>>0]|0)){q=o;f=0;break i}a[l+o>>0]=f;o=o+1|0}while((o|0)!=(r|0));f=r<<1|1;o=Ypb(l,f)|0;if(!o){m=x;f=0;z=154;break b}else{q=r;r=f;l=o;o=q}}}if(!m){l=q;while(1){f=c[e+4>>2]|0;if(f>>>0>>0){c[e+4>>2]=f+1;f=d[f>>0]|0}else f=$lb(e)|0;if(!(a[B+33+(f+1)>>0]|0)){q=0;l=0;f=0;break i}l=c[e+100>>2]|0}}else{l=0;while(1){f=c[e+4>>2]|0;if(f>>>0>>0){c[e+4>>2]=f+1;f=d[f>>0]|0}else f=$lb(e)|0;if(!(a[B+33+(f+1)>>0]|0)){q=l;l=m;f=0;break i}a[m+l>>0]=f;q=c[e+100>>2]|0;l=l+1|0}}}while(0);if(!(c[e+100>>2]|0))o=c[e+4>>2]|0;else{o=(c[e+4>>2]|0)+-1|0;c[e+4>>2]=o}o=o-(c[e+8>>2]|0)+(c[e+108>>2]|0)|0;if(!o){m=x;break b}if(!((o|0)==(t|0)|(u|0)==99^1)){m=x;break b}do if(s)if((v|0)==1){c[m>>2]=f;break}else{c[m>>2]=l;break}while(0);if((u|0)!=99){if(f|0)c[f+(q<<2)>>2]=0;if(!l){l=0;break f}a[l+q>>0]=0}break}case 120:case 88:case 112:{o=16;z=136;break}case 111:{o=8;z=136;break}case 117:case 100:{o=10;z=136;break}case 105:{o=0;z=136;break}case 71:case 103:case 70:case 102:case 69:case 101:case 65:case 97:{p=+gnb(e,v,0);if((c[e+108>>2]|0)==((c[e+8>>2]|0)-(c[e+4>>2]|0)|0)){m=x;break b}if(m)switch(v|0){case 0:{g[m>>2]=p;break f}case 1:{h[m>>3]=p;break f}case 2:{h[m>>3]=p;break f}default:break f}break}default:{}}while(0);l:do if((z|0)==136){z=0;o=_lb(e,o,0,-1,-1)|0;if((c[e+108>>2]|0)==((c[e+8>>2]|0)-(c[e+4>>2]|0)|0)){m=x;break b}if((m|0)!=0&(u|0)==112){c[m>>2]=o;break}if(m)switch(v|0){case -2:{a[m>>0]=o;break l}case -1:{b[m>>1]=o;break l}case 0:{c[m>>2]=o;break l}case 1:{c[m>>2]=o;break l}case 3:{x=m;c[x>>2]=o;c[x+4>>2]=C;break l}default:break l}}while(0);k=((m|0)!=0&1)+k|0;o=(c[e+108>>2]|0)+w+(c[e+4>>2]|0)-(c[e+8>>2]|0)|0;break c}while(0);n=n+(m&1)|0;Zlb(e,0);m=c[e+4>>2]|0;if(m>>>0<(c[e+100>>2]|0)>>>0){c[e+4>>2]=m+1;m=d[m>>0]|0}else m=$lb(e)|0;if((m|0)!=(d[n>>0]|0)){z=22;break b}o=s+1|0}else{while(1){m=n+1|0;if(!(cmb(d[m>>0]|0)|0))break;else n=m}Zlb(e,0);do{m=c[e+4>>2]|0;if(m>>>0<(c[e+100>>2]|0)>>>0){c[e+4>>2]=m+1;m=d[m>>0]|0}else m=$lb(e)|0}while((cmb(m)|0)!=0);if(!(c[e+100>>2]|0))m=c[e+4>>2]|0;else{m=(c[e+4>>2]|0)+-1|0;c[e+4>>2]=m}o=(c[e+108>>2]|0)+s+m-(c[e+8>>2]|0)|0}while(0);n=n+1|0;m=a[n>>0]|0;if(!(m<<24>>24))break a;else s=o}if((z|0)==22){if(c[e+100>>2]|0)c[e+4>>2]=(c[e+4>>2]|0)+-1;if((k|0)!=0|(m|0)>-1)break;else{k=0;z=155}}else if((z|0)==154)if(!k){k=m;z=155}if((z|0)==155){m=k;k=-1}if(m){Wpb(l);Wpb(f)}}while(0);if(A|0)Plb(e);i=B;return k|0}function gob(a){a=a|0;if(!a)a=1;else a=(c[a>>2]|0)==0;return a&1|0}function hob(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;c[e>>2]=d;d=iob(a,b,e)|0;i=e;return d|0}function iob(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;f=i;i=i+112|0;e=f;g=e+112|0;do{c[e>>2]=0;e=e+4|0}while((e|0)<(g|0));c[f+32>>2]=180;c[f+44>>2]=a;c[f+76>>2]=-1;c[f+84>>2]=a;g=fob(f,b,d)|0;i=f;return g|0}function job(a,b,c){a=a|0;b=b|0;c=c|0;return kob(a,b,c)|0}function kob(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=c[a+84>>2]|0;e=omb(f,0,d+256|0)|0;e=(e|0)==0?d+256|0:e-f|0;d=e>>>0>>0?e:d;mBb(b|0,f|0,d|0)|0;c[a+4>>2]=f+d;c[a+8>>2]=f+e;c[a+84>>2]=f+e;return d|0}function lob(a,b,c){a=a|0;b=b|0;c=c|0;return mob(a,b,c)|0}function mob(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;if((c[a+76>>2]|0)>-1){e=(Hmb(a)|0)==0;b=nob(a,b,d)|0;if(!e)Plb(a)}else b=nob(a,b,d)|0;return b|0}function nob(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;if((d|0)==1)b=b-(c[a+8>>2]|0)+(c[a+4>>2]|0)|0;if((c[a+20>>2]|0)>>>0>(c[a+28>>2]|0)>>>0){Gi[c[a+36>>2]&255](a,0,0)|0;if(!(c[a+20>>2]|0))b=-1;else e=5}else e=5;if((e|0)==5){c[a+16>>2]=0;c[a+28>>2]=0;c[a+20>>2]=0;if((Gi[c[a+40>>2]&255](a,b,d)|0)<0)b=-1;else{c[a+8>>2]=0;c[a+4>>2]=0;c[a>>2]=c[a>>2]&-17;b=0}}return b|0}function oob(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;c[e>>2]=d;d=vmb(a,b,e)|0;i=e;return d|0}function pob(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+1056|0;n=a[e>>0]|0;do if(n<<24>>24){q=Unb(b,n<<24>>24)|0;if(!q)b=0;else{m=a[e+1>>0]|0;if(!(m<<24>>24))b=q;else{h=a[q+1>>0]|0;if(!(h<<24>>24))b=0;else{l=a[e+2>>0]|0;if(!(l<<24>>24)){f=q+1|0;b=h;g=d[q>>0]<<8|h&255;while(1){g=g&65535;if((g|0)==(m&255|(n&255)<<8|0))break;f=f+1|0;h=a[f>>0]|0;if(!(h<<24>>24)){b=0;break}else{b=h;g=h&255|g<<8}}b=b<<24>>24?f+-1|0:0;break}b=a[q+2>>0]|0;if(!(b<<24>>24))b=0;else{j=a[e+3>>0]|0;if(!(j<<24>>24)){g=(b&255)<<8|(h&255)<<16|d[q>>0]<<24;if((g|0)==((m&255)<<16|(n&255)<<24|(l&255)<<8|0))f=q+2|0;else{f=q+2|0;do{f=f+1|0;b=a[f>>0]|0;g=(b&255|g)<<8}while(!(b<<24>>24==0?1:(g|0)==((m&255)<<16|(n&255)<<24|(l&255)<<8|0)))}b=b<<24>>24?f+-2|0:0;break}g=a[q+3>>0]|0;if(!(g<<24>>24))b=0;else{if(!(a[e+4>>0]|0)){b=(b&255)<<8|(h&255)<<16|g&255|d[q>>0]<<24;if((b|0)==((m&255)<<16|(n&255)<<24|(l&255)<<8|j&255|0)){f=q+3|0;b=g}else{f=q+3|0;g=b;do{f=f+1|0;b=a[f>>0]|0;g=b&255|g<<8}while(!(b<<24>>24==0?1:(g|0)==((m&255)<<16|(n&255)<<24|(l&255)<<8|j&255|0)))}b=b<<24>>24?f+-3|0:0;break};c[s+1024>>2]=0;c[s+1024+4>>2]=0;c[s+1024+8>>2]=0;c[s+1024+12>>2]=0;c[s+1024+16>>2]=0;c[s+1024+20>>2]=0;c[s+1024+24>>2]=0;c[s+1024+28>>2]=0;b=n;f=0;while(1){if(!(a[q+f>>0]|0)){b=0;break}r=s+1024+(((b&255)>>>5&255)<<2)|0;c[r>>2]=c[r>>2]|1<<(b&31);r=f+1|0;c[s+((b&255)<<2)>>2]=r;b=a[e+r>>0]|0;if(!(b<<24>>24)){k=23;break}else f=r}a:do if((k|0)==23){b:do if(r>>>0>1){b=1;m=-1;g=0;c:while(1){j=1;while(1){h=g;d:while(1){g=1;while(1){k=a[e+(g+m)>>0]|0;l=a[e+b>>0]|0;if(k<<24>>24!=l<<24>>24){g=b;break d}if((g|0)==(j|0))break;g=g+1|0;b=g+h|0;if(b>>>0>=r>>>0){k=m;break c}}h=h+j|0;b=h+1|0;if(b>>>0>=r>>>0){k=m;break c}}j=g-m|0;if((k&255)<=(l&255))break;if((g+1|0)>>>0>>0)b=g+1|0;else{k=m;break c}}b=h+2|0;if(b>>>0>=r>>>0){k=h;j=1;break}else{m=h;g=h+1|0}}b=1;o=-1;g=0;while(1){h=b;b=1;while(1){l=g;e:while(1){g=h;h=1;while(1){m=a[e+(h+o)>>0]|0;n=a[e+g>>0]|0;if(m<<24>>24!=n<<24>>24){h=l;break e}if((h|0)==(b|0))break;h=h+1|0;g=h+l|0;if(g>>>0>=r>>>0){h=o;g=j;break b}}l=l+b|0;h=l+1|0;if(h>>>0>=r>>>0){h=o;g=j;break b}}b=g-o|0;if((m&255)>=(n&255))break;if((g+1|0)>>>0>>0)h=g+1|0;else{h=o;g=j;break b}}b=h+2|0;if(b>>>0>=r>>>0){g=j;b=1;break}else{o=h;g=h+1|0}}}else{k=-1;h=-1;g=1;b=1}while(0);o=(h+1|0)>>>0>(k+1|0)>>>0;b=o?b:g;o=o?h:k;if(!(qmb(e,e+b|0,o+1|0)|0)){p=r-b|0;n=b}else{p=0;n=(o>>>0>(r-o+-1|0)>>>0?o:r-o+-1|0)+1|0}l=(p|0)!=0;m=r-n|0;b=q;k=0;j=q;f:while(1){g=b;do if((j-g|0)>>>0>>0){h=omb(j,0,r|63)|0;if(!h){h=j+(r|63)|0;break}else if((h-g|0)>>>0>>0){b=0;break a}else break}else h=j;while(0);g=a[b+f>>0]|0;if(!(1<<(g&31)&c[s+1024+(((g&255)>>>5&255)<<2)>>2])){b=b+r|0;k=0;j=h;continue}g=c[s+((g&255)<<2)>>2]|0;if((r|0)!=(g|0)){b=b+(l&(k|0)!=0&(r-g|0)>>>0>>0?m:r-g|0)|0;k=0;j=h;continue}g=(o+1|0)>>>0>k>>>0?o+1|0:k;j=a[e+g>>0]|0;g:do if(!(j<<24>>24))g=o+1|0;else{while(1){if(j<<24>>24!=(a[b+g>>0]|0))break;g=g+1|0;j=a[e+g>>0]|0;if(!(j<<24>>24)){g=o+1|0;break g}}b=b+(g-o)|0;k=0;j=h;continue f}while(0);do{if(g>>>0<=k>>>0)break a;g=g+-1|0}while((a[e+g>>0]|0)==(a[b+g>>0]|0));b=b+n|0;k=p;j=h}}while(0)}}}}}}while(0);i=s;return b|0}function qob(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d>>2]=a;c[d+4>>2]=b;a=Llb(yh(196,d|0)|0)|0;i=d;return a|0}function rob(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d>>2]=a;c[d+4>>2]=b;a=Llb(Md(33,d|0)|0)|0;i=d;return a|0}function sob(a,b){a=a|0;b=b|0;return tob(a,b,(rnb(a)|0)+1|0)|0}function tob(b,c,d){b=b|0;c=c|0;d=d|0;var e=0;e=d;do{if(!e){d=0;break}e=e+-1|0;d=b+e|0}while((a[d>>0]|0)!=(c&255)<<24>>24);return d|0}function uob(b,d){b=b|0;d=d|0;var e=0,f=0;f=i;i=i+4304|0;do if(!b){c[(Mlb()|0)>>2]=22;b=0}else{c[f>>2]=b;c[f+4>>2]=2656256;e=Llb(gh(5,f|0)|0)|0;if((e|0)<0)b=0;else{Ymb(f+4272|0,e);b=vob(f+4272|0,f+176|0,4095)|0;if((b|0)>=0){a[f+176+b>>0]=0;Xmb(e,f+96|0)|0;b=Onb(f+176|0,f+20|0)|0;if((b|0)>=0){if((c[f+96>>2]|0)==(c[f+20>>2]|0))if((c[f+96+72>>2]|0)==(c[f+20+72>>2]|0)){c[f+8>>2]=e;fh(6,f+8|0)|0;if(!d){b=Pnb(f+176|0)|0;break}else{b=Bnb(d,f+176|0)|0;break}}if(!b)c[(Mlb()|0)>>2]=40}}c[f+16>>2]=e;fh(6,f+16|0)|0;b=0}}while(0);i=f;return b|0}function vob(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;c[e>>2]=a;c[e+4>>2]=b;c[e+8>>2]=d;a=Llb(Gg(85,e|0)|0)|0;i=e;return a|0}function wob(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+96|0;c[f+64>>2]=a;c[f+64+4>>2]=b;c[f+64+8>>2]=d;c[f+64+12>>2]=0;c[f+64+16>>2]=0;c[f+64+20>>2]=0;c[f>>2]=1;c[f+4>>2]=f+64;e=Llb(oh(102,f|0)|0)|0;a:do if((e|0)<0){switch(c[(Mlb()|0)>>2]|0){case 93:case 22:break;default:break a}if(b&526336){c[f+40>>2]=a;c[f+40+4>>2]=b&-526337;c[f+40+8>>2]=d;c[f+40+12>>2]=0;c[f+40+16>>2]=0;c[f+40+20>>2]=0;c[f+8>>2]=1;c[f+8+4>>2]=f+40;e=Llb(oh(102,f+8|0)|0)|0;if((e|0)>=0){if(b&524288|0){c[f+16>>2]=1;Zmb(e,2,f+16|0)|0}if(b&2048){c[f+32>>2]=Zmb(e,3,f+24|0)|0|2048;Zmb(e,4,f+32|0)|0}}}}while(0);i=f;return e|0}function xob(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+32|0;c[e+8>>2]=a;c[e+8+4>>2]=b;c[e+8+8>>2]=d;c[e+8+12>>2]=0;c[e+8+16>>2]=0;c[e+8+20>>2]=0;c[e>>2]=3;c[e+4>>2]=e+8;d=Llb(oh(102,e|0)|0)|0;i=e;return d|0}function yob(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return zob(a,b,c,d,0,0)|0}function zob(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+32|0;c[h+8>>2]=a;c[h+8+4>>2]=b;c[h+8+8>>2]=d;c[h+8+12>>2]=e;c[h+8+16>>2]=f;c[h+8+20>>2]=g;c[h>>2]=11;c[h+4>>2]=h+8;d=Llb(oh(102,h|0)|0)|0;i=h;return d|0}function Aob(a,b,c){a=a|0;b=b|0;c=c|0;return snb(0,a,b,c|0?c:1202032)|0}function Bob(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0;m=i;i=i+1040|0;h=c[b>>2]|0;c[m>>2]=h;e=a|0?e:256;g=a|0?a:m+8|0;a:do if((e|0)!=0&(h|0)!=0){k=e;l=h;e=0;while(1){h=d>>>2;j=h>>>0>=k>>>0;if(!(d>>>0>131|j)){h=l;break a}h=j?k:h;d=d-h|0;h=Cob(g,m,h,f)|0;if((h|0)==-1)break;n=(g|0)==(m+8|0);l=n?0:h;j=k-l|0;g=n?g:g+(h<<2)|0;e=h+e|0;h=c[m>>2]|0;if((k|0)!=(l|0)&(h|0)!=0){k=j;l=h}else{k=j;break a}}k=0;h=c[m>>2]|0;e=-1}else{k=e;e=0}while(0);b:do if(h)if((k|0)!=0&(d|0)!=0){j=h;while(1){h=snb(g,j,d,f)|0;if((h+2|0)>>>0<3)break;j=(c[m>>2]|0)+h|0;c[m>>2]=j;k=k+-1|0;e=e+1|0;if(!((k|0)!=0&(d|0)!=(h|0)))break b;else{d=d-h|0;g=g+4|0}}switch(h|0){case -1:{e=-1;break b}case 0:{c[m>>2]=0;break b}default:{c[f>>2]=0;break b}}}while(0);if(a|0)c[b>>2]=c[m>>2];i=m;return e|0}function Cob(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;h=c[e>>2]|0;if(!g)l=5;else{j=c[g>>2]|0;if(!j)l=5;else if(!b){g=f;k=h;l=16}else{c[g>>2]=0;i=b;g=f;k=j;l=37}}if((l|0)==5)if(!b){g=f;l=7}else{i=b;g=f;l=6}a:while(1)if((l|0)==6){if(!g){l=26;break}while(1){j=a[h>>0]|0;do if(((j&255)+-1|0)>>>0<127)if(g>>>0>4&(h&3|0)==0){k=h;while(1){j=c[k>>2]|0;if((j+-16843009|j)&-2139062144|0){h=k;l=32;break}c[i>>2]=j&255;c[i+4>>2]=d[k+1>>0];c[i+8>>2]=d[k+2>>0];h=k+4|0;j=i+16|0;c[i+12>>2]=d[k+3>>0];g=g+-4|0;if(g>>>0>4){i=j;k=h}else{l=31;break}}if((l|0)==31){i=j;j=a[h>>0]|0;break}else if((l|0)==32){j=j&255;break}}while(0);j=j&255;if((j+-1|0)>>>0>=127)break;h=h+1|0;c[i>>2]=j;g=g+-1|0;if(!g){l=26;break a}else i=i+4|0}if((j+-194|0)>>>0>50){l=48;break}k=c[148400+(j+-194<<2)>>2]|0;h=h+1|0;l=37;continue}else if((l|0)==7){i=a[h>>0]|0;if(((i&255)+-1|0)>>>0<127)if(!(h&3)){i=c[h>>2]|0;if(!((i+-16843009|i)&-2139062144)){do{h=h+4|0;g=g+-4|0;i=c[h>>2]|0}while(((i+-16843009|i)&-2139062144|0)==0);i=i&255}else i=i&255}i=i&255;if((i+-1|0)>>>0<127){g=g+-1|0;h=h+1|0;l=7;continue}if((i+-194|0)>>>0>50){i=b;l=48;break}j=c[148400+(i+-194<<2)>>2]|0;k=h+1|0;l=16;continue}else if((l|0)==16){l=(d[k>>0]|0)>>>3;if((l+-16|l+(j>>26))>>>0>7){l=17;break}h=k+1|0;if(j&33554432){if((a[h>>0]&-64)<<24>>24!=-128){l=20;break}h=k+2|0;if(j&524288){if((a[h>>0]&-64)<<24>>24!=-128){l=23;break}h=k+3|0}}g=g+-1|0;l=7;continue}else if((l|0)==37){j=d[h>>0]|0;if(((j>>>3)+-16|(j>>>3)+(k>>26))>>>0>7){l=38;break}b=h+1|0;l=j+-128|k<<6;if((l|0)<0){k=d[b>>0]|0;if((k&192|0)!=128){l=41;break}j=h+2|0;if((k+-128|l<<6|0)<0){j=d[j>>0]|0;if((j&192|0)!=128){l=44;break}k=j+-128|(k+-128|l<<6)<<6;h=h+3|0}else{k=k+-128|l<<6;h=j}}else{k=l;h=b}c[i>>2]=k;i=i+4|0;g=g+-1|0;l=6;continue}if((l|0)==17){i=b;h=k+-1|0;l=47}else if((l|0)==20){i=b;h=k+-1|0;l=47}else if((l|0)==23){i=b;h=k+-1|0;l=47}else if((l|0)==26)c[e>>2]=h;else if((l|0)==38){j=k;h=h+-1|0;l=47}else if((l|0)==41){g=i;f=h+-1|0;l=52}else if((l|0)==44){g=i;f=h+-1|0;l=52}if((l|0)==47)if(!j)l=48;else{g=i;f=h;l=52}if((l|0)==48)if(!(a[h>>0]|0)){if(i|0){c[i>>2]=0;c[e>>2]=0}f=f-g|0}else{g=i;f=h;l=52}if((l|0)==52){c[(Mlb()|0)>>2]=84;if(!g)f=-1;else{c[e>>2]=f;f=-1}}return f|0}function Dob(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0;l=i;i=i+272|0;g=c[b>>2]|0;c[l>>2]=g;f=a|0?e:256;e=a|0?a:l+8|0;a:do if((f|0)!=0&(g|0)!=0){j=f;f=0;k=e;while(1){e=d>>>0>=j>>>0;if(!(e|d>>>0>32)){e=k;break a}g=e?j:d;d=d-g|0;g=Eob(k,l,g,0)|0;if((g|0)==-1){e=k;break}e=(k|0)==(l+8|0);m=e?0:g;h=j-m|0;e=e?k:k+g|0;f=g+f|0;g=c[l>>2]|0;if((j|0)!=(m|0)&(g|0)!=0){j=h;k=e}else{j=h;break a}}j=0;g=c[l>>2]|0;f=-1}else{j=f;f=0}while(0);b:do if(g)if((j|0)!=0&(d|0)!=0){h=g;while(1){g=Emb(e,c[h>>2]|0,0)|0;if((g+1|0)>>>0<2)break;h=(c[l>>2]|0)+4|0;c[l>>2]=h;d=d+-1|0;f=f+1|0;if(!((j|0)!=(g|0)&(d|0)!=0))break b;else{j=j-g|0;e=e+g|0}}if(!g)c[l>>2]=0;else f=-1}while(0);if(a|0)c[b>>2]=c[l>>2];i=l;return f|0}function Eob(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0;j=i;i=i+16|0;a:do if(!b){b=c[d>>2]|0;f=c[b>>2]|0;if(!f)e=0;else{e=0;do{if(f>>>0>127){f=Emb(j,f,0)|0;if((f|0)==-1){e=-1;break a}}else f=1;e=f+e|0;b=b+4|0;f=c[b>>2]|0}while((f|0)!=0)}}else{b:do if(e>>>0>3){f=e;g=c[d>>2]|0;while(1){h=c[g>>2]|0;if((h+-1|0)>>>0>126){if(!h)break;h=Emb(b,h,0)|0;if((h|0)==-1){e=-1;break a}b=b+h|0;f=f-h|0}else{a[b>>0]=h;b=b+1|0;f=f+-1|0;g=c[d>>2]|0}g=g+4|0;c[d>>2]=g;if(f>>>0<=3)break b}a[b>>0]=0;c[d>>2]=0;e=e-f|0;break a}else f=e;while(0);if(f){g=c[d>>2]|0;while(1){h=c[g>>2]|0;if((h+-1|0)>>>0>126){if(!h){g=19;break}h=Emb(j,h,0)|0;if((h|0)==-1){e=-1;break a}if(f>>>0>>0){g=22;break}Emb(b,c[g>>2]|0,0)|0;b=b+h|0;f=f-h|0}else{a[b>>0]=h;b=b+1|0;f=f+-1|0;g=c[d>>2]|0}g=g+4|0;c[d>>2]=g;if(!f)break a}if((g|0)==19){a[b>>0]=0;c[d>>2]=0;e=e-f|0;break}else if((g|0)==22){e=e-f|0;break}}}while(0);i=j;return e|0}function Fob(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+80|0;g=m+8|0;h=g+64|0;do{c[g>>2]=0;g=g+4|0}while((g|0)<(h|0));a:do if((e|0)==10)l=16;else{g=0;j=f;b:while(1){c[m+8+(g<<2)>>2]=fmb(j,m,0)|0;k=c[m>>2]|0;if((k|0)==(j|0)){l=5;break}h=a[k>>0]|0;switch(h<<24>>24){case 46:case 0:break;default:{l=5;break b}}if(((a[j>>0]|0)+-48|0)>>>0>=10){l=5;break}if(!(h<<24>>24))break;g=g+1|0;if((g|0)<4)j=k+1|0;else break}if((l|0)==5)if((e|0)==2){g=-1;break}else{l=16;break}switch(g|0){case 4:{g=-1;break a}case 0:{h=c[m+8>>2]|0;c[m+8+4>>2]=h&16777215;c[m+8>>2]=h>>>24;g=m+8+4|0;h=h&16777215;l=12;break}case 1:{g=m+8+4|0;h=c[m+8+4>>2]|0;l=12;break}case 2:{g=m+8+8|0;h=c[m+8+8>>2]|0;l=13;break}default:{}}if((l|0)==12){f=h&65535;c[m+8+8>>2]=f;c[g>>2]=h>>>16;g=m+8+8|0;h=f;l=13}if((l|0)==13){c[m+8+12>>2]=h&255;c[g>>2]=h>>>8}b[d>>1]=2;g=c[m+8>>2]|0;if(g>>>0>255)g=-1;else{a[d+4>>0]=g;g=c[m+8+4>>2]|0;if(g>>>0>255)g=-1;else{a[d+5>>0]=g;g=c[m+8+8>>2]|0;if(g>>>0>255)g=-1;else{a[d+6>>0]=g;g=c[m+8+12>>2]|0;if(g>>>0>255)g=-1;else{a[d+7>>0]=g;g=0}}}}}while(0);if((l|0)==16){b[d>>1]=10;g=((Gob(10,f,d+8|0)|0)<1)<<31>>31}i=m;return g|0}function Gob(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;a:do switch(d|0){case 2:{l=0;while(1){k=a[f>>0]|0;if(((k<<24>>24)+-48|0)>>>0>=10){d=0;break a}d=a[f+1>>0]|0;if((d+-48|0)>>>0<10){h=a[f+2>>0]|0;if((h+-48|0)>>>0<10){j=3;d=(((((k<<24>>24)+-48|0)*10|0)+-48+d|0)*10|0)+-48+h|0}else{j=2;d=(((k<<24>>24)+-48|0)*10|0)+-48+d|0}if((d|0)>255|k<<24>>24==48){d=0;break a}else h=j}else{h=1;d=(k<<24>>24)+-48|0}a[g+l>>0]=d;d=a[f+h>>0]|0;if((l|0)==3&d<<24>>24==0){d=1;break a}if(d<<24>>24!=46){d=0;break a}l=l+1|0;if((l|0)>=4){d=0;break}else f=f+(h+1)|0}break}case 10:{d=a[f>>0]|0;if(d<<24>>24==58)if((a[f+1>>0]|0)==58){f=f+1|0;d=58;j=-1;h=0}else{d=0;break a}else{j=-1;h=0}b:while(1){m=(j|0)<0;if(m&d<<24>>24==58){b[o+((h&7)<<1)>>1]=0;f=f+1|0;d=a[f>>0]|0;if(!(d<<24>>24)){j=h;k=0;break}if((h|0)==7){d=0;break a}else j=h}else{k=0;l=0;while(1){d=d<<24>>24;if((d+-48|0)>>>0<10)d=d+-48|0;else if(((d|32)+-97|0)>>>0<6&((d|32)+-87|0)>-1)d=(d|32)+-87|0;else{d=l;n=18;break}l=d+(l<<4)|0;k=k+1|0;if((k|0)>=4){d=l;break}d=a[f+k>>0]|0}if((n|0)==18){n=0;if(!k){d=0;break a}}b[o+((h&7)<<1)>>1]=d;d=a[f+k>>0]|0;if(!(d<<24>>24))if((h|0)==7|(j|0)>-1){k=0;break}if((h|0)==7){d=0;break a}switch(d<<24>>24){case 46:{d=j;n=23;break b}case 58:break;default:{d=0;break a}}d=f+(k+1)|0;f=d;d=a[d>>0]|0}h=h+1|0}if((n|0)==23){if((h|0)<6&m){d=0;break a}j=d;h=h+1|0;k=1}if((j|0)>-1){d=o+(j<<1)|0;nBb(d+14+(0-h<<1)|0,d|0,h+1-j<<1|0)|0;if((7-h|0)>0){hBb(d|0,0,14-(h<<1)|0)|0;d=g;h=0}else{d=g;h=0}}else{d=g;h=0}while(1){n=o+(h<<1)|0;a[d>>0]=(e[n>>1]|0)>>>8;a[d+1>>0]=b[n>>1];h=h+1|0;if((h|0)==8)break;else d=d+2|0}if(k|0)if((Gob(2,f,g+12|0)|0)<1){d=0;break a}d=1;break}default:{c[(Mlb()|0)>>2]=97;d=-1}}while(0);i=o;return d|0}function Hob(a){a=a|0;return ((a&65535)<<8|(a&65535)>>>8)&65535|0}function Iob(a){a=a|0;return gBb(a|0)|0}function Job(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=i;i=i+32|0;c[g+8>>2]=a;c[g+8+4>>2]=b;c[g+8+8>>2]=d;c[g+8+12>>2]=e;c[g+8+16>>2]=f;c[g+8+20>>2]=0;c[g>>2]=14;c[g+4>>2]=g+8;e=Llb(oh(102,g|0)|0)|0;i=g;return e|0}function Kob(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+32|0;c[e+8>>2]=a;c[e+8+4>>2]=b;c[e+8+8>>2]=d;c[e+8+12>>2]=0;c[e+8+16>>2]=0;c[e+8+20>>2]=0;c[e>>2]=2;c[e+4>>2]=e+8;d=Llb(oh(102,e|0)|0)|0;i=e;return d|0}function Lob(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+32|0;c[h+8>>2]=a;c[h+8+4>>2]=b;c[h+8+8>>2]=d;c[h+8+12>>2]=e;c[h+8+16>>2]=f;c[h+8+20>>2]=g;c[h>>2]=12;c[h+4>>2]=h+8;d=Llb(oh(102,h|0)|0)|0;i=h;return d|0}function Mob(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+32|0;c[e+8>>2]=a;c[e+8+4>>2]=b;c[e+8+8>>2]=d;c[e+8+12>>2]=0;c[e+8+16>>2]=0;c[e+8+20>>2]=0;c[e>>2]=5;c[e+4>>2]=e+8;d=Llb(oh(102,e|0)|0)|0;i=e;return d|0}function Nob(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+32|0;c[e+8>>2]=a;c[e+8+4>>2]=b;c[e+8+8>>2]=d;c[e+8+12>>2]=0;c[e+8+16>>2]=0;c[e+8+20>>2]=0;c[e>>2]=7;c[e+4>>2]=e+8;d=Llb(oh(102,e|0)|0)|0;i=e;return d|0}function Oob(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+32|0;c[e+8>>2]=a;c[e+8+4>>2]=b;c[e+8+8>>2]=d;c[e+8+12>>2]=0;c[e+8+16>>2]=0;c[e+8+20>>2]=0;c[e>>2]=6;c[e+4>>2]=e+8;d=Llb(oh(102,e|0)|0)|0;i=e;return d|0}function Pob(){return 1202020}function Qob(b){b=b|0;var c=0,d=0;a:do if(!(b+-1|0))b=616663;else{d=b+-1|0;b=616663;do{if(!(a[b>>0]|0))break a;c=b+1|0;while(1){b=c+1|0;if(!(a[c>>0]|0))break;else c=b}d=d+-1|0}while((d|0)!=0)}while(0);return (a[b>>0]|0?b:b+1|0)|0}function Rob(a,b,c){a=a|0;b=b|0;c=c|0;Sob(a,b,c)|0;return a|0}function Sob(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;do if(!((d^b)&3)){a:do if((e|0)!=0&(d&3|0)!=0){f=e;while(1){e=a[d>>0]|0;a[b>>0]=e;if(!(e<<24>>24))break a;e=f+-1|0;d=d+1|0;b=b+1|0;if((e|0)!=0&(d&3|0)!=0)f=e;else{f=e;e=(e|0)!=0;g=5;break}}}else{f=e;e=(e|0)!=0;g=5}while(0);if((g|0)==5)if(!e){f=0;break}if(a[d>>0]|0){b:do if(f>>>0>3)do{e=c[d>>2]|0;if((e&-2139062144^-2139062144)&e+-16843009|0)break b;c[b>>2]=e;f=f+-4|0;d=d+4|0;b=b+4|0}while(f>>>0>3);while(0);g=11}}else{f=e;g=11}while(0);c:do if((g|0)==11)if(!f)f=0;else while(1){g=a[d>>0]|0;a[b>>0]=g;if(!(g<<24>>24))break c;f=f+-1|0;b=b+1|0;if(!f){f=0;break}else d=d+1|0}while(0);hBb(b|0,0,f|0)|0;return b|0}function Tob(a){a=a|0;return gBb(a|0)|0}function Uob(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;if((Fob(d,2,a)|0)<0)a=0;else{c[b>>2]=c[d+4>>2];a=1}i=d;return a|0}function Vob(a){a=a|0;var b=0;b=i;i=i+16|0;a=c[a>>2]|0;c[b>>2]=a&255;c[b+4>>2]=a>>>8&255;c[b+8>>2]=a>>>16&255;c[b+12>>2]=a>>>24;znb(1279034,16,616747,b)|0;i=b;return 1279034}function Wob(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+32|0;c[d+8>>2]=a;c[d+8+4>>2]=b;c[d+8+8>>2]=0;c[d+8+8+4>>2]=0;c[d+8+8+8>>2]=0;c[d+8+8+12>>2]=0;c[d>>2]=4;c[d+4>>2]=d+8;a=Llb(oh(102,d|0)|0)|0;i=d;return a|0}function Xob(a){a=a|0;return ((a&65535)<<8|(a&65535)>>>8)&65535|0}function Yob(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Lob(a,b,c,d,0,0)|0}function Zob(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+32|0;c[e+8>>2]=a;c[e+8+4>>2]=b;c[e+8+8>>2]=d;c[e+8+12>>2]=0;c[e+8+16>>2]=0;c[e+8+20>>2]=0;c[e>>2]=17;c[e+4>>2]=e+8;b=Llb(oh(102,e|0)|0)|0;i=e;return b|0}function _ob(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+32|0;c[e+8>>2]=a;c[e+8+4>>2]=b;c[e+8+8>>2]=d;c[e+8+12>>2]=0;c[e+8+16>>2]=0;c[e+8+20>>2]=0;c[e>>2]=16;c[e+4>>2]=e+8;b=Llb(oh(102,e|0)|0)|0;i=e;return b|0}function $ob(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+32|0;c[d+8>>2]=a;c[d+8+4>>2]=b;c[d+8+8>>2]=0;c[d+8+8+4>>2]=0;c[d+8+8+8>>2]=0;c[d+8+8+12>>2]=0;c[d>>2]=13;c[d+4>>2]=d+8;b=Llb(oh(102,d|0)|0)|0;i=d;return b|0}function apb(a){a=a|0;c[155506]=a+-1;c[155507]=0;return}function bpb(){var a=0,b=0;b=wBb(c[155506]|0,c[155507]|0,1284865837,1481765933)|0;b=jBb(b|0,C|0,1,0)|0;a=C;c[155506]=b;c[155507]=a;a=rBb(b|0,a|0,33)|0;return a|0}function cpb(a){a=a|0;dh(1202036);dpb(a);dg(1202036);return}function dpb(a){a=a|0;var b=0,d=0,e=0;if(!31)c[38061]=a;else{c[38092]=31==31|31==7?3:1;c[300511]=0;if(31>0){b=0;d=0;do{e=wBb(a|0,b|0,1284865837,1481765933)|0;a=jBb(e|0,C|0,1,0)|0;b=C;c[152244+(d<<2)>>2]=b;d=d+1|0}while((d|0)<31);a=152244}else a=152244;c[a>>2]=c[a>>2]|1}return}function epb(){var a=0,b=0,d=0;dh(1202036);if(!31){a=(_(c[38061]|0,1103515245)|0)+12345&2147483647;c[38061]=a}else{b=c[300511]|0;d=c[38092]|0;a=(c[152244+(d<<2)>>2]|0)+(c[152244+(b<<2)>>2]|0)|0;c[152244+(d<<2)>>2]=a;c[38092]=(d+1|0)==31?0:d+1|0;c[300511]=(b+1|0)==31?0:b+1|0;a=a>>>1}dg(1202036);return a|0}function fpb(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=i;i=i+32|0;c[g>>2]=a;c[g+4>>2]=b;c[g+8>>2]=d;c[g+12>>2]=e;c[g+16>>2]=f;d=Llb(ub(142,g|0)|0)|0;i=g;return d|0}function gpb(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d>>2]=a;c[d+4>>2]=b;a=Llb(Qd(39,d|0)|0)|0;i=d;return a|0}function hpb(b,e){b=b|0;e=e|0;var f=0,g=0,h=0;h=i;i=i+16|0;a[h>>0]=e;f=c[b+16>>2]|0;if(!f)if(!(ymb(b)|0)){f=c[b+16>>2]|0;g=4}else f=-1;else g=4;do if((g|0)==4){g=c[b+20>>2]|0;if(g>>>0>>0)if((e&255|0)!=(a[b+75>>0]|0)){c[b+20>>2]=g+1;a[g>>0]=e;f=e&255;break}if((Gi[c[b+36>>2]&255](b,h,1)|0)==1)f=d[h>>0]|0;else f=-1}while(0);i=h;return f|0}function ipb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+16|0;f=Vpb(240)|0;do if(!f)e=-1;else{c[g>>2]=c[d>>2];e=tmb(f,240,b,g)|0;if(e>>>0<240){b=Ypb(f,e+1|0)|0;c[a>>2]=b|0?b:f;break}Wpb(f);if((e|0)<0)e=-1;else{f=Vpb(e+1|0)|0;c[a>>2]=f;if(!f)e=-1;else e=tmb(f,e+1|0,b,d)|0}}while(0);i=g;return e|0}function jpb(a){a=a|0;var b=0;if((c[a+76>>2]|0)>-1){b=(Hmb(a)|0)==0;c[a>>2]=c[a>>2]&-49;if(!b)Plb(a)}else c[a>>2]=c[a>>2]&-49;return}function kpb(b,d){b=b|0;d=d|0;var e=0,f=0;do if((b|0)==-1)b=-1;else{if((c[d+76>>2]|0)>-1)f=Hmb(d)|0;else f=0;if(!(c[d+8>>2]|0)){if(!(bmb(d)|0))e=6}else e=6;if((e|0)==6){e=c[d+4>>2]|0;if(e>>>0>((c[d+44>>2]|0)+-8|0)>>>0){c[d+4>>2]=e+-1;a[e+-1>>0]=b;c[d>>2]=c[d>>2]&-17;if(!f)break;Plb(d);break}}if(!f)b=-1;else{Plb(d);b=-1}}while(0);return b|0}function lpb(a){a=a|0;var b=0;if((c[a+76>>2]|0)>-1){b=(Hmb(a)|0)==0;a=mpb(a)|0}else a=mpb(a)|0;return a|0}function mpb(a){a=a|0;var b=0;if(!(c[a>>2]&128))b=1;else b=(c[a+20>>2]|0)>>>0>(c[a+28>>2]|0)>>>0?2:1;b=Gi[c[a+40>>2]&255](a,0,b)|0;if((b|0)>=0)b=b-(c[a+8>>2]|0)+(c[a+4>>2]|0)+(c[a+20>>2]|0)-(c[a+28>>2]|0)|0;return b|0}function npb(b,d){b=b|0;d=d|0;var e=0,f=0;if((c[d+76>>2]|0)<0)f=3;else if(!(Hmb(d)|0))f=3;else{if((a[d+75>>0]|0)==(b|0))f=10;else{e=c[d+20>>2]|0;if(e>>>0<(c[d+16>>2]|0)>>>0){c[d+20>>2]=e+1;a[e>>0]=b;e=b&255}else f=10}if((f|0)==10)e=hpb(d,b)|0;Plb(d)}do if((f|0)==3){if((a[d+75>>0]|0)!=(b|0)){e=c[d+20>>2]|0;if(e>>>0<(c[d+16>>2]|0)>>>0){c[d+20>>2]=e+1;a[e>>0]=b;e=b&255;break}}e=hpb(d,b)|0}while(0);return e|0}function opb(a,b){a=a|0;b=b|0;return (ppb(a,rnb(a)|0,1,b)|0)+-1|0}function ppb(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=_(d,b)|0;if((c[e+76>>2]|0)>-1){g=(Hmb(e)|0)==0;a=xmb(a,f,e)|0;if(!g)Plb(e)}else a=xmb(a,f,e)|0;if((a|0)!=(f|0))d=(a>>>0)/(b>>>0)|0;return d|0}function qpb(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;i=_(e,d)|0;if((c[f+76>>2]|0)>-1)j=Hmb(f)|0;else j=0;g=a[f+74>>0]|0;a[f+74>>0]=g+255|g;g=c[f+4>>2]|0;h=(c[f+8>>2]|0)-g|0;if((h|0)>0){h=h>>>0>>0?h:i;mBb(b|0,g|0,h|0)|0;c[f+4>>2]=g+h;b=b+h|0;g=i-h|0}else g=i;a:do if(!g)k=13;else{h=g;while(1){if(bmb(f)|0){e=h;break}g=Gi[c[f+32>>2]&255](f,b,h)|0;if((g+1|0)>>>0<2){e=h;break}if((h|0)==(g|0)){k=13;break a}else{b=b+g|0;h=h-g|0}}if(j|0)Plb(f);e=((i-e|0)>>>0)/(d>>>0)|0}while(0);if((k|0)==13)if(j)Plb(f);return e|0}function rpb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+32|0;f=Ynb(b)|0;if((c[d+76>>2]|0)>-1)g=Hmb(d)|0;else g=0;$nb(d)|0;do if(!a){if(f&524288|0){c[h>>2]=c[d+60>>2];c[h+4>>2]=2;c[h+8>>2]=1;db(221,h|0)|0}c[h+16>>2]=c[d+60>>2];c[h+16+4>>2]=4;c[h+16+8>>2]=f&-524481;if((Llb(db(221,h+16|0)|0)|0)<0)a=15;else a=12}else{a=Xnb(a,b)|0;if(!a)a=15;else{b=c[a+60>>2]|0;e=c[d+60>>2]|0;if((b|0)==(e|0))c[a+60>>2]=-1;else if((spb(b,e,f&524288)|0)<0){_nb(a)|0;a=15;break}c[d>>2]=c[d>>2]&1|c[a>>2];c[d+32>>2]=c[a+32>>2];c[d+36>>2]=c[a+36>>2];c[d+40>>2]=c[a+40>>2];c[d+12>>2]=c[a+12>>2];_nb(a)|0;a=12}}while(0);if((a|0)==12){if(g)Plb(d)}else if((a|0)==15){_nb(d)|0;d=0}i=h;return d|0}function spb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+48|0;a:do if((a|0)==(b|0))e=Llb(-22)|0;else{b:do if(d&524288|0){c:while(1){c[f>>2]=a;c[f+4>>2]=b;c[f+8>>2]=d;e=Te(330,f|0)|0;switch(e|0){case -38:break b;case -16:break;default:break c}}e=Llb(e)|0;break a}while(0);do{c[f+16>>2]=a;c[f+16+4>>2]=b;e=Gc(63,f+16|0)|0}while((e|0)==-16);if(d&524288|0){c[f+24>>2]=b;c[f+24+4>>2]=2;c[f+24+8>>2]=1;db(221,f+24|0)|0}e=Llb(e)|0}while(0);i=f;return e|0}function tpb(a){a=a|0;return lpb(a)|0}function upb(a){a=a|0;var b=0,e=0;if((c[a+76>>2]|0)<0)e=3;else if(!(Hmb(a)|0))e=3;else{b=c[a+4>>2]|0;if(b>>>0<(c[a+8>>2]|0)>>>0){c[a+4>>2]=b+1;b=d[b>>0]|0}else b=amb(a)|0}do if((e|0)==3){b=c[a+4>>2]|0;if(b>>>0<(c[a+8>>2]|0)>>>0){c[a+4>>2]=b+1;b=d[b>>0]|0;break}else{b=amb(a)|0;break}}while(0);return b|0}function vpb(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d>>2]=b;b=vmb(c[37209]|0,a,d)|0;i=d;return b|0}function wpb(a){a=a|0;return npb(a,c[37209]|0)|0}function xpb(b){b=b|0;var d=0,e=0;d=c[37209]|0;if((c[d+76>>2]|0)>-1)e=Hmb(d)|0;else e=0;do if((opb(b,d)|0)<0)b=1;else{if((a[d+75>>0]|0)!=10){b=c[d+20>>2]|0;if(b>>>0<(c[d+16>>2]|0)>>>0){c[d+20>>2]=b+1;a[b>>0]=10;b=0;break}}b=(hpb(d,10)|0)<0}while(0);if(e|0)Plb(d);return b<<31>>31|0}function ypb(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;c[d>>2]=a;b=Llb(_g(10,d|0)|0)|0;if(!b)b=0;else if((c[(Mlb()|0)>>2]|0)==21){c[d+8>>2]=a;b=Llb(Qf(40,d+8|0)|0)|0}i=d;return b|0}function zpb(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d>>2]=a;c[d+4>>2]=b;a=Llb(Rd(38,d|0)|0)|0;i=d;return a|0}function Apb(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;a[b+75>>0]=-1;switch(e|0){case 2:{c[b+48>>2]=0;break}case 1:{a[b+75>>0]=10;break}default:{}}c[b>>2]=c[b>>2]|64;return 0}function Bpb(){var a=0,b=0,d=0,e=0,f=0;f=i;i=i+48|0;d=0;while(1){a=Cpb(f+20|0)|0;if(!a){a=0;break}c[f>>2]=a;c[f+4>>2]=32962;c[f+8>>2]=384;b=Llb(gh(5,f|0)|0)|0;d=d+1|0;if((b|0)>-1){e=5;break}if((d|0)>=100){a=0;break}}if((e|0)==5){e=Znb(b,616776)|0;c[f+16>>2]=a;_g(10,f+16|0)|0;a=e}i=f;return a|0}function Cpb(a){a=a|0;var b=0,d=0,e=0,f=0;d=i;i=i+64|0;c[d+40>>2]=a;if(!a)c[d+40>>2]=1279050;c[d>>2]=616759;c[d+4>>2]=7;if(!(Md(33,d|0)|0)){b=0;while(1){c[d+8>>2]=0;c[d+8+4>>2]=d+48;c[d+8+8>>2]=0;Nc(265,d+8|0)|0;a=c[d+40>>2]|0;e=c[d+48+4>>2]^d+40^a;f=c[300512]|0;c[300512]=f+1;c[d+24>>2]=f;c[d+24+4>>2]=e;znb(a,20,616764,d+24|0)|0;c[d+32>>2]=c[d+40>>2];c[d+32+4>>2]=0;if(Md(33,d+32|0)|0){a=b;break}a=b+1|0;if((b|0)<100)b=a;else break}a=(a|0)>99?0:c[d+40>>2]|0}else a=0;i=d;return a|0}function Dpb(a,b){a=a|0;b=b|0;return vmb(c[37209]|0,a,b)|0}function Epb(a){a=a|0;return +(+Fpb(a,0))}function Fpb(a,b){a=a|0;b=b|0;return +(+Gpb(a,b,1))}function Gpb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0,g=0,h=0;h=i;i=i+112|0;f=h;g=f+112|0;do{c[f>>2]=0;f=f+4|0}while((f|0)<(g|0));c[h+4>>2]=a;c[h+8>>2]=-1;c[h+44>>2]=a;c[h+76>>2]=-1;Zlb(h,0);e=+gnb(h,d,1);d=(c[h+4>>2]|0)-(c[h+8>>2]|0)+(c[h+108>>2]|0)|0;if(b|0)c[b>>2]=d|0?a+d|0:a;i=h;return +e}function Hpb(b){b=b|0;var c=0,d=0,e=0,f=0;while(1){e=b+1|0;if(!(cmb(a[b>>0]|0)|0))break;else b=e}c=a[b>>0]|0;switch(c<<24>>24|0){case 45:{d=1;f=5;break}case 43:{d=0;f=5;break}default:d=0}if((f|0)==5){b=e;c=a[e>>0]|0}c=(c<<24>>24)+-48|0;if(c>>>0<10){e=b;b=0;do{e=e+1|0;b=(b*10|0)-c|0;c=(a[e>>0]|0)+-48|0}while(c>>>0<10)}else b=0;return (d|0?b:0-b|0)|0}function Ipb(b){b=b|0;var c=0,d=0,e=0,f=0;while(1){e=b+1|0;if(!(cmb(a[b>>0]|0)|0))break;else b=e}c=a[b>>0]|0;switch(c<<24>>24|0){case 45:{d=1;f=5;break}case 43:{d=0;f=5;break}default:d=0}if((f|0)==5){b=e;c=a[e>>0]|0}c=(c<<24>>24)+-48|0;if(c>>>0<10){e=b;b=0;do{e=e+1|0;b=(b*10|0)-c|0;c=(a[e>>0]|0)+-48|0}while(c>>>0<10)}else b=0;return (d|0?b:0-b|0)|0}function Jpb(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;g=i;i=i+32|0;e=a[d>>0]|0;if(!(e<<24>>24))f=3;else if(!(a[d+1>>0]|0))f=3;else{c[g>>2]=0;c[g+4>>2]=0;c[g+8>>2]=0;c[g+12>>2]=0;c[g+16>>2]=0;c[g+20>>2]=0;c[g+24>>2]=0;c[g+28>>2]=0;do{h=g+(((e&255)>>>5&255)<<2)|0;c[h>>2]=c[h>>2]|1<<(e&31);d=d+1|0;e=a[d>>0]|0}while(e<<24>>24!=0);d=a[b>>0]|0;a:do if(!(d<<24>>24))e=b;else{e=b;do{if(c[g+(((d&255)>>>5&255)<<2)>>2]&1<<(d&31)|0)break a;e=e+1|0;d=a[e>>0]|0}while(d<<24>>24!=0)}while(0);e=e-b|0}if((f|0)==3)e=(Vnb(b,e<<24>>24)|0)-b|0;i=g;return e|0}function Kpb(a,b,c){a=a|0;b=b|0;c=c|0;return +(+Gpb(a,b,2))}function Lpb(a,b){a=a|0;b=b|0;Bnb(a+(rnb(a)|0)|0,b)|0;return a|0}function Mpb(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=b+(rnb(b)|0)|0;a:do if(d)while(1){f=a[c>>0]|0;if(!(f<<24>>24))break a;d=d+-1|0;g=e+1|0;a[e>>0]=f;if(!d){e=g;break}else{c=c+1|0;e=g}}while(0);a[e>>0]=0;return b|0}function Npb(b,c){b=b|0;c=c|0;b=b+(Jpb(b,c)|0)|0;return (a[b>>0]|0?b:0)|0}function Opb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;if(d|0){e=a;while(1){d=d+-1|0;c[e>>2]=b;if(!d)break;else e=e+4|0}}return a|0}function Ppb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;if(a-b>>2>>>0>>0){if(d|0)do{d=d+-1|0;c[a+(d<<2)>>2]=c[b+(d<<2)>>2]}while((d|0)!=0)}else if(d|0){e=a;while(1){d=d+-1|0;c[e>>2]=c[b>>2];if(!d)break;else{b=b+4|0;e=e+4|0}}}return a|0}function Qpb(){var a=0,b=0;b=i;i=i+16|0;a=Bh(199,b|0)|0;i=b;return a|0}function Rpb(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;a=Llb(Ye(118,b|0)|0)|0;i=b;return a|0}function Spb(b,c){b=b|0;c=c|0;var d=0,e=0,f=0;e=i;i=i+400|0;if(!(Rnb(e)|0)){d=c>>>0>65?65:c;a:do if(!d)c=0;else{c=0;do{f=a[e+65+c>>0]|0;a[b+c>>0]=f;if(!(f<<24>>24))break a;c=c+1|0}while(c>>>0>>0)}while(0);if((c|0)==(d|0)){a[b+(d+-1)>>0]=0;c=0}else c=0}else c=-1;i=e;return c|0}function Tpb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;c[e>>2]=a;c[e+4>>2]=b;c[e+8>>2]=d;a=Llb(ch(3,e|0)|0)|0;i=e;return a|0}function Upb(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;c[b+4>>2]=0;a=(Lb(b|0,b|0)|0)==0;i=b;return (a?0:c[b>>2]|0)|0}function Vpb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;do if(a>>>0<245){n=a>>>0<11?16:a+11&-8;g=c[300513]|0;if(g>>>(n>>>3)&3|0){a=1202092+((g>>>(n>>>3)&1^1)+(n>>>3)<<1<<2)|0;b=c[a+8>>2]|0;d=c[b+8>>2]|0;do if((a|0)==(d|0))c[300513]=g&~(1<<(g>>>(n>>>3)&1^1)+(n>>>3));else{if(d>>>0<(c[300517]|0)>>>0)Ph();if((c[d+12>>2]|0)==(b|0)){c[d+12>>2]=a;c[a+8>>2]=d;break}else Ph()}while(0);x=(g>>>(n>>>3)&1^1)+(n>>>3)<<3;c[b+4>>2]=x|3;c[b+x+4>>2]=c[b+x+4>>2]|1;x=b+8|0;return x|0}b=c[300515]|0;if(n>>>0>b>>>0){if(g>>>(n>>>3)|0){a=g>>>(n>>>3)<<(n>>>3)&(2<<(n>>>3)|0-(2<<(n>>>3)));f=((a&0-a)+-1|0)>>>(((a&0-a)+-1|0)>>>12&16);e=f>>>(f>>>5&8)>>>(f>>>(f>>>5&8)>>>2&4);e=(f>>>5&8|((a&0-a)+-1|0)>>>12&16|f>>>(f>>>5&8)>>>2&4|e>>>1&2|e>>>(e>>>1&2)>>>1&1)+(e>>>(e>>>1&2)>>>(e>>>(e>>>1&2)>>>1&1))|0;f=c[1202092+(e<<1<<2)+8>>2]|0;a=c[f+8>>2]|0;do if((1202092+(e<<1<<2)|0)==(a|0)){c[300513]=g&~(1<>>0<(c[300517]|0)>>>0)Ph();if((c[a+12>>2]|0)==(f|0)){c[a+12>>2]=1202092+(e<<1<<2);c[1202092+(e<<1<<2)+8>>2]=a;h=c[300515]|0;break}else Ph()}while(0);c[f+4>>2]=n|3;c[f+n+4>>2]=(e<<3)-n|1;c[f+n+((e<<3)-n)>>2]=(e<<3)-n;if(h|0){d=c[300518]|0;b=h>>>3;a=c[300513]|0;if(!(a&1<>2]|0;if(a>>>0<(c[300517]|0)>>>0)Ph();else{i=1202092+(b<<1<<2)+8|0;j=a}}c[i>>2]=d;c[j+12>>2]=d;c[d+8>>2]=j;c[d+12>>2]=1202092+(b<<1<<2)}c[300515]=(e<<3)-n;c[300518]=f+n;x=f+8|0;return x|0}a=c[300514]|0;if(a){d=((a&0-a)+-1|0)>>>(((a&0-a)+-1|0)>>>12&16);e=d>>>(d>>>5&8)>>>(d>>>(d>>>5&8)>>>2&4);e=c[1202356+((d>>>5&8|((a&0-a)+-1|0)>>>12&16|d>>>(d>>>5&8)>>>2&4|e>>>1&2|e>>>(e>>>1&2)>>>1&1)+(e>>>(e>>>1&2)>>>(e>>>(e>>>1&2)>>>1&1))<<2)>>2]|0;d=(c[e+4>>2]&-8)-n|0;b=e;while(1){a=c[b+16>>2]|0;if(!a){a=c[b+20>>2]|0;if(!a){i=d;break}}b=(c[a+4>>2]&-8)-n|0;x=b>>>0>>0;d=x?b:d;b=a;e=x?a:e}g=c[300517]|0;if(e>>>0>>0)Ph();if(e>>>0>=(e+n|0)>>>0)Ph();h=c[e+24>>2]|0;a=c[e+12>>2]|0;do if((a|0)==(e|0)){a=c[e+20>>2]|0;if(!a){a=c[e+16>>2]|0;if(!a){k=0;break}else b=e+16|0}else b=e+20|0;while(1){d=a+20|0;f=c[d>>2]|0;if(f|0){a=f;b=d;continue}d=a+16|0;f=c[d>>2]|0;if(!f)break;else{a=f;b=d}}if(b>>>0>>0)Ph();else{c[b>>2]=0;k=a;break}}else{b=c[e+8>>2]|0;if(b>>>0>>0)Ph();if((c[b+12>>2]|0)!=(e|0))Ph();if((c[a+8>>2]|0)==(e|0)){c[b+12>>2]=a;c[a+8>>2]=b;k=a;break}else Ph()}while(0);do if(h|0){a=c[e+28>>2]|0;if((e|0)==(c[1202356+(a<<2)>>2]|0)){c[1202356+(a<<2)>>2]=k;if(!k){c[300514]=c[300514]&~(1<>>0<(c[300517]|0)>>>0)Ph();if((c[h+16>>2]|0)==(e|0))c[h+16>>2]=k;else c[h+20>>2]=k;if(!k)break}b=c[300517]|0;if(k>>>0>>0)Ph();c[k+24>>2]=h;a=c[e+16>>2]|0;do if(a|0)if(a>>>0>>0)Ph();else{c[k+16>>2]=a;c[a+24>>2]=k;break}while(0);a=c[e+20>>2]|0;if(a|0)if(a>>>0<(c[300517]|0)>>>0)Ph();else{c[k+20>>2]=a;c[a+24>>2]=k;break}}while(0);if(i>>>0<16){c[e+4>>2]=i+n|3;c[e+(i+n)+4>>2]=c[e+(i+n)+4>>2]|1}else{c[e+4>>2]=n|3;c[e+n+4>>2]=i|1;c[e+n+i>>2]=i;b=c[300515]|0;if(b|0){d=c[300518]|0;a=c[300513]|0;if(!(a&1<<(b>>>3))){c[300513]=a|1<<(b>>>3);l=1202092+(b>>>3<<1<<2)+8|0;m=1202092+(b>>>3<<1<<2)|0}else{a=c[1202092+(b>>>3<<1<<2)+8>>2]|0;if(a>>>0<(c[300517]|0)>>>0)Ph();else{l=1202092+(b>>>3<<1<<2)+8|0;m=a}}c[l>>2]=d;c[m+12>>2]=d;c[d+8>>2]=m;c[d+12>>2]=1202092+(b>>>3<<1<<2)}c[300515]=i;c[300518]=e+n}x=e+8|0;return x|0}}}else if(a>>>0>4294967231)n=-1;else{n=a+11&-8;i=c[300514]|0;if(i){if(!((a+11|0)>>>8))h=0;else if(n>>>0>16777215)h=31;else{h=(a+11|0)>>>8<<((((a+11|0)>>>8)+1048320|0)>>>16&8);h=14-((h+520192|0)>>>16&4|(((a+11|0)>>>8)+1048320|0)>>>16&8|((h<<((h+520192|0)>>>16&4))+245760|0)>>>16&2)+(h<<((h+520192|0)>>>16&4)<<(((h<<((h+520192|0)>>>16&4))+245760|0)>>>16&2)>>>15)|0;h=n>>>(h+7|0)&1|h<<1}b=c[1202356+(h<<2)>>2]|0;a:do if(!b){d=0-n|0;a=0;b=0;r=86}else{d=0-n|0;a=0;f=n<<((h|0)==31?0:25-(h>>>1)|0);g=b;b=0;while(1){e=c[g+4>>2]&-8;if((e-n|0)>>>0>>0)if((e|0)==(n|0)){d=e-n|0;a=g;b=g;r=90;break a}else{d=e-n|0;b=g}e=c[g+20>>2]|0;g=c[g+16+(f>>>31<<2)>>2]|0;a=(e|0)==0|(e|0)==(g|0)?a:e;e=(g|0)==0;if(e){r=86;break}else f=f<<(e&1^1)}}while(0);if((r|0)==86){if((a|0)==0&(b|0)==0){a=2<>>(l>>>12&16)>>>(l>>>(l>>>12&16)>>>5&8);a=m>>>(m>>>2&4)>>>(m>>>(m>>>2&4)>>>1&2);a=c[1202356+((l>>>(l>>>12&16)>>>5&8|l>>>12&16|m>>>2&4|m>>>(m>>>2&4)>>>1&2|a>>>1&1)+(a>>>(a>>>1&1))<<2)>>2]|0}if(!a){i=d;j=b}else r=90}if((r|0)==90)while(1){r=0;m=(c[a+4>>2]&-8)-n|0;e=m>>>0>>0;d=e?m:d;b=e?a:b;e=c[a+16>>2]|0;if(e|0){a=e;r=90;continue}a=c[a+20>>2]|0;if(!a){i=d;j=b;break}else r=90}if(j)if(i>>>0<((c[300515]|0)-n|0)>>>0){f=c[300517]|0;if(j>>>0>>0)Ph();h=j+n|0;if(j>>>0>=h>>>0)Ph();g=c[j+24>>2]|0;a=c[j+12>>2]|0;do if((a|0)==(j|0)){b=j+20|0;a=c[b>>2]|0;if(!a){b=j+16|0;a=c[b>>2]|0;if(!a){o=0;break}}while(1){d=a+20|0;e=c[d>>2]|0;if(e|0){a=e;b=d;continue}d=a+16|0;e=c[d>>2]|0;if(!e)break;else{a=e;b=d}}if(b>>>0>>0)Ph();else{c[b>>2]=0;o=a;break}}else{b=c[j+8>>2]|0;if(b>>>0>>0)Ph();if((c[b+12>>2]|0)!=(j|0))Ph();if((c[a+8>>2]|0)==(j|0)){c[b+12>>2]=a;c[a+8>>2]=b;o=a;break}else Ph()}while(0);do if(g|0){a=c[j+28>>2]|0;if((j|0)==(c[1202356+(a<<2)>>2]|0)){c[1202356+(a<<2)>>2]=o;if(!o){c[300514]=c[300514]&~(1<>>0<(c[300517]|0)>>>0)Ph();if((c[g+16>>2]|0)==(j|0))c[g+16>>2]=o;else c[g+20>>2]=o;if(!o)break}b=c[300517]|0;if(o>>>0>>0)Ph();c[o+24>>2]=g;a=c[j+16>>2]|0;do if(a|0)if(a>>>0>>0)Ph();else{c[o+16>>2]=a;c[a+24>>2]=o;break}while(0);a=c[j+20>>2]|0;if(a|0)if(a>>>0<(c[300517]|0)>>>0)Ph();else{c[o+20>>2]=a;c[a+24>>2]=o;break}}while(0);do if(i>>>0<16){x=i+n|0;c[j+4>>2]=x|3;x=j+x+4|0;c[x>>2]=c[x>>2]|1}else{c[j+4>>2]=n|3;c[h+4>>2]=i|1;c[h+i>>2]=i;b=i>>>3;if(i>>>0<256){a=c[300513]|0;if(!(a&1<>2]|0;if(a>>>0<(c[300517]|0)>>>0)Ph();else{p=1202092+(b<<1<<2)+8|0;q=a}}c[p>>2]=h;c[q+12>>2]=h;c[h+8>>2]=q;c[h+12>>2]=1202092+(b<<1<<2);break}a=i>>>8;if(!a)d=0;else if(i>>>0>16777215)d=31;else{d=a<<((a+1048320|0)>>>16&8)<<(((a<<((a+1048320|0)>>>16&8))+520192|0)>>>16&4);d=14-(((a<<((a+1048320|0)>>>16&8))+520192|0)>>>16&4|(a+1048320|0)>>>16&8|(d+245760|0)>>>16&2)+(d<<((d+245760|0)>>>16&2)>>>15)|0;d=i>>>(d+7|0)&1|d<<1}e=1202356+(d<<2)|0;c[h+28>>2]=d;c[h+16+4>>2]=0;c[h+16>>2]=0;a=c[300514]|0;b=1<>2]=h;c[h+24>>2]=e;c[h+12>>2]=h;c[h+8>>2]=h;break}d=i<<((d|0)==31?0:25-(d>>>1)|0);b=c[e>>2]|0;while(1){if((c[b+4>>2]&-8|0)==(i|0)){r=148;break}e=b+16+(d>>>31<<2)|0;a=c[e>>2]|0;if(!a){r=145;break}else{d=d<<1;b=a}}if((r|0)==145)if(e>>>0<(c[300517]|0)>>>0)Ph();else{c[e>>2]=h;c[h+24>>2]=b;c[h+12>>2]=h;c[h+8>>2]=h;break}else if((r|0)==148){a=c[b+8>>2]|0;x=c[300517]|0;if(a>>>0>=x>>>0&b>>>0>=x>>>0){c[a+12>>2]=h;c[b+8>>2]=h;c[h+8>>2]=a;c[h+12>>2]=b;c[h+24>>2]=0;break}else Ph()}}while(0);x=j+8|0;return x|0}}}while(0);d=c[300515]|0;if(d>>>0>=n>>>0){a=d-n|0;b=c[300518]|0;if(a>>>0>15){x=b+n|0;c[300518]=x;c[300515]=a;c[x+4>>2]=a|1;c[x+a>>2]=a;c[b+4>>2]=n|3}else{c[300515]=0;c[300518]=0;c[b+4>>2]=d|3;c[b+d+4>>2]=c[b+d+4>>2]|1}x=b+8|0;return x|0}a=c[300516]|0;if(a>>>0>n>>>0){v=a-n|0;c[300516]=v;x=c[300519]|0;w=x+n|0;c[300519]=w;c[w+4>>2]=v|1;c[x+4>>2]=n|3;x=x+8|0;return x|0}do if(!(c[300631]|0)){a=Ae(30)|0;if(!(a+-1&a)){c[300633]=a;c[300632]=a;c[300634]=-1;c[300635]=-1;c[300636]=0;c[300624]=0;c[300631]=(jh(0)|0)&-16^1431655768;break}else Ph()}while(0);g=n+48|0;e=c[300633]|0;h=n+47|0;i=e+h&0-e;if(i>>>0<=n>>>0){x=0;return x|0}a=c[300623]|0;if(a|0){q=c[300621]|0;if((q+i|0)>>>0<=q>>>0|(q+i|0)>>>0>a>>>0){x=0;return x|0}}b:do if(!(c[300624]&4)){a=c[300519]|0;c:do if(!a)r=173;else{d=1202500;while(1){b=c[d>>2]|0;if(b>>>0<=a>>>0){f=d+4|0;if((b+(c[f>>2]|0)|0)>>>0>a>>>0)break}d=c[d+8>>2]|0;if(!d){r=173;break c}}a=e+h-(c[300516]|0)&0-e;if(a>>>0<2147483647){b=vg(a|0)|0;if((b|0)==((c[d>>2]|0)+(c[f>>2]|0)|0)){if((b|0)!=(-1|0)){f=b;h=a;r=193;break b}}else{f=b;r=183}}}while(0);do if((r|0)==173){f=vg(0)|0;if((f|0)!=(-1|0)){a=c[300632]|0;if(!(a+-1&f))a=i;else a=i-f+(a+-1+f&0-a)|0;b=c[300621]|0;d=b+a|0;if(a>>>0>n>>>0&a>>>0<2147483647){e=c[300623]|0;if(e|0)if(d>>>0<=b>>>0|d>>>0>e>>>0)break;b=vg(a|0)|0;if((b|0)==(f|0)){h=a;r=193;break b}else{f=b;r=183}}}}while(0);d:do if((r|0)==183){d=0-a|0;do if(g>>>0>a>>>0&(a>>>0<2147483647&(f|0)!=(-1|0))){b=c[300633]|0;b=h-a+b&0-b;if(b>>>0<2147483647)if((vg(b|0)|0)==(-1|0)){vg(d|0)|0;break d}else{a=b+a|0;break}}while(0);if((f|0)!=(-1|0)){h=a;r=193;break b}}while(0);c[300624]=c[300624]|4;r=190}else r=190;while(0);if((r|0)==190)if(i>>>0<2147483647){a=vg(i|0)|0;b=vg(0)|0;if(a>>>0>>0&((a|0)!=(-1|0)&(b|0)!=(-1|0)))if((b-a|0)>>>0>(n+40|0)>>>0){f=a;h=b-a|0;r=193}}if((r|0)==193){a=(c[300621]|0)+h|0;c[300621]=a;if(a>>>0>(c[300622]|0)>>>0)c[300622]=a;k=c[300519]|0;do if(!k){x=c[300517]|0;if((x|0)==0|f>>>0>>0)c[300517]=f;c[300625]=f;c[300626]=h;c[300628]=0;c[300522]=c[300631];c[300521]=-1;a=0;do{x=1202092+(a<<1<<2)|0;c[x+12>>2]=x;c[x+8>>2]=x;a=a+1|0}while((a|0)!=32);x=f+8|0;x=(x&7|0)==0?0:0-x&7;w=f+x|0;x=h+-40-x|0;c[300519]=w;c[300516]=x;c[w+4>>2]=x|1;c[w+x+4>>2]=40;c[300520]=c[300635]}else{a=1202500;do{b=c[a>>2]|0;d=a+4|0;e=c[d>>2]|0;if((f|0)==(b+e|0)){r=203;break}a=c[a+8>>2]|0}while((a|0)!=0);if((r|0)==203)if(!(c[a+12>>2]&8))if(k>>>0>>0&k>>>0>=b>>>0){c[d>>2]=e+h;w=(k+8&7|0)==0?0:0-(k+8)&7;x=h-w+(c[300516]|0)|0;c[300519]=k+w;c[300516]=x;c[k+w+4>>2]=x|1;c[k+w+x+4>>2]=40;c[300520]=c[300635];break}a=c[300517]|0;if(f>>>0>>0){c[300517]=f;j=f}else j=a;d=f+h|0;a=1202500;while(1){if((c[a>>2]|0)==(d|0)){b=a;r=211;break}a=c[a+8>>2]|0;if(!a){d=1202500;break}}if((r|0)==211)if(!(c[a+12>>2]&8)){c[b>>2]=f;c[a+4>>2]=(c[a+4>>2]|0)+h;m=f+8|0;m=f+((m&7|0)==0?0:0-m&7)|0;a=d+((d+8&7|0)==0?0:0-(d+8)&7)|0;l=m+n|0;i=a-m-n|0;c[m+4>>2]=n|3;do if((a|0)==(k|0)){x=(c[300516]|0)+i|0;c[300516]=x;c[300519]=l;c[l+4>>2]=x|1}else{if((a|0)==(c[300518]|0)){x=(c[300515]|0)+i|0;c[300515]=x;c[300518]=l;c[l+4>>2]=x|1;c[l+x>>2]=x;break}h=c[a+4>>2]|0;if((h&3|0)==1){e:do if(h>>>0<256){b=c[a+8>>2]|0;d=c[a+12>>2]|0;do if((b|0)!=(1202092+(h>>>3<<1<<2)|0)){if(b>>>0>>0)Ph();if((c[b+12>>2]|0)==(a|0))break;Ph()}while(0);if((d|0)==(b|0)){c[300513]=c[300513]&~(1<<(h>>>3));break}do if((d|0)==(1202092+(h>>>3<<1<<2)|0))s=d+8|0;else{if(d>>>0>>0)Ph();if((c[d+8>>2]|0)==(a|0)){s=d+8|0;break}Ph()}while(0);c[b+12>>2]=d;c[s>>2]=b}else{g=c[a+24>>2]|0;b=c[a+12>>2]|0;do if((b|0)==(a|0)){b=c[a+16+4>>2]|0;if(!b){b=c[a+16>>2]|0;if(!b){v=0;break}else d=a+16|0}else d=a+16+4|0;while(1){e=b+20|0;f=c[e>>2]|0;if(f|0){b=f;d=e;continue}e=b+16|0;f=c[e>>2]|0;if(!f)break;else{b=f;d=e}}if(d>>>0>>0)Ph();else{c[d>>2]=0;v=b;break}}else{d=c[a+8>>2]|0;if(d>>>0>>0)Ph();if((c[d+12>>2]|0)!=(a|0))Ph();if((c[b+8>>2]|0)==(a|0)){c[d+12>>2]=b;c[b+8>>2]=d;v=b;break}else Ph()}while(0);if(!g)break;b=c[a+28>>2]|0;do if((a|0)==(c[1202356+(b<<2)>>2]|0)){c[1202356+(b<<2)>>2]=v;if(v|0)break;c[300514]=c[300514]&~(1<>>0<(c[300517]|0)>>>0)Ph();if((c[g+16>>2]|0)==(a|0))c[g+16>>2]=v;else c[g+20>>2]=v;if(!v)break e}while(0);d=c[300517]|0;if(v>>>0>>0)Ph();c[v+24>>2]=g;b=c[a+16>>2]|0;do if(b|0)if(b>>>0>>0)Ph();else{c[v+16>>2]=b;c[b+24>>2]=v;break}while(0);b=c[a+16+4>>2]|0;if(!b)break;if(b>>>0<(c[300517]|0)>>>0)Ph();else{c[v+20>>2]=b;c[b+24>>2]=v;break}}while(0);a=a+(h&-8)|0;f=(h&-8)+i|0}else f=i;b=a+4|0;c[b>>2]=c[b>>2]&-2;c[l+4>>2]=f|1;c[l+f>>2]=f;b=f>>>3;if(f>>>0<256){a=c[300513]|0;do if(!(a&1<>2]|0;if(a>>>0>=(c[300517]|0)>>>0){w=1202092+(b<<1<<2)+8|0;x=a;break}Ph()}while(0);c[w>>2]=l;c[x+12>>2]=l;c[l+8>>2]=x;c[l+12>>2]=1202092+(b<<1<<2);break}a=f>>>8;do if(!a)d=0;else{if(f>>>0>16777215){d=31;break}d=a<<((a+1048320|0)>>>16&8)<<(((a<<((a+1048320|0)>>>16&8))+520192|0)>>>16&4);d=14-(((a<<((a+1048320|0)>>>16&8))+520192|0)>>>16&4|(a+1048320|0)>>>16&8|(d+245760|0)>>>16&2)+(d<<((d+245760|0)>>>16&2)>>>15)|0;d=f>>>(d+7|0)&1|d<<1}while(0);e=1202356+(d<<2)|0;c[l+28>>2]=d;c[l+16+4>>2]=0;c[l+16>>2]=0;a=c[300514]|0;b=1<>2]=l;c[l+24>>2]=e;c[l+12>>2]=l;c[l+8>>2]=l;break}d=f<<((d|0)==31?0:25-(d>>>1)|0);b=c[e>>2]|0;while(1){if((c[b+4>>2]&-8|0)==(f|0)){r=281;break}e=b+16+(d>>>31<<2)|0;a=c[e>>2]|0;if(!a){r=278;break}else{d=d<<1;b=a}}if((r|0)==278)if(e>>>0<(c[300517]|0)>>>0)Ph();else{c[e>>2]=l;c[l+24>>2]=b;c[l+12>>2]=l;c[l+8>>2]=l;break}else if((r|0)==281){a=c[b+8>>2]|0;x=c[300517]|0;if(a>>>0>=x>>>0&b>>>0>=x>>>0){c[a+12>>2]=l;c[b+8>>2]=l;c[l+8>>2]=a;c[l+12>>2]=b;c[l+24>>2]=0;break}else Ph()}}while(0);x=m+8|0;return x|0}else d=1202500;while(1){a=c[d>>2]|0;if(a>>>0<=k>>>0){b=a+(c[d+4>>2]|0)|0;if(b>>>0>k>>>0)break}d=c[d+8>>2]|0}g=b+-47+((b+-47+8&7|0)==0?0:0-(b+-47+8)&7)|0;g=g>>>0<(k+16|0)>>>0?k:g;a=f+8|0;a=(a&7|0)==0?0:0-a&7;x=f+a|0;a=h+-40-a|0;c[300519]=x;c[300516]=a;c[x+4>>2]=a|1;c[x+a+4>>2]=40;c[300520]=c[300635];c[g+4>>2]=27;c[g+8>>2]=c[300625];c[g+8+4>>2]=c[300626];c[g+8+8>>2]=c[300627];c[g+8+12>>2]=c[300628];c[300625]=f;c[300626]=h;c[300628]=0;c[300627]=g+8;a=g+24|0;do{a=a+4|0;c[a>>2]=7}while((a+4|0)>>>0>>0);if((g|0)!=(k|0)){c[g+4>>2]=c[g+4>>2]&-2;c[k+4>>2]=g-k|1;c[g>>2]=g-k;if((g-k|0)>>>0<256){b=1202092+((g-k|0)>>>3<<1<<2)|0;a=c[300513]|0;if(!(a&1<<((g-k|0)>>>3))){c[300513]=a|1<<((g-k|0)>>>3);t=b+8|0;u=b}else{a=c[b+8>>2]|0;if(a>>>0<(c[300517]|0)>>>0)Ph();else{t=b+8|0;u=a}}c[t>>2]=k;c[u+12>>2]=k;c[k+8>>2]=u;c[k+12>>2]=b;break}if(!((g-k|0)>>>8))d=0;else if((g-k|0)>>>0>16777215)d=31;else{d=(g-k|0)>>>8<<((((g-k|0)>>>8)+1048320|0)>>>16&8);d=14-((d+520192|0)>>>16&4|(((g-k|0)>>>8)+1048320|0)>>>16&8|((d<<((d+520192|0)>>>16&4))+245760|0)>>>16&2)+(d<<((d+520192|0)>>>16&4)<<(((d<<((d+520192|0)>>>16&4))+245760|0)>>>16&2)>>>15)|0;d=(g-k|0)>>>(d+7|0)&1|d<<1}e=1202356+(d<<2)|0;c[k+28>>2]=d;c[k+20>>2]=0;c[k+16>>2]=0;a=c[300514]|0;b=1<>2]=k;c[k+24>>2]=e;c[k+12>>2]=k;c[k+8>>2]=k;break}d=g-k<<((d|0)==31?0:25-(d>>>1)|0);b=c[e>>2]|0;while(1){if((c[b+4>>2]&-8|0)==(g-k|0)){r=307;break}e=b+16+(d>>>31<<2)|0;a=c[e>>2]|0;if(!a){r=304;break}else{d=d<<1;b=a}}if((r|0)==304)if(e>>>0<(c[300517]|0)>>>0)Ph();else{c[e>>2]=k;c[k+24>>2]=b;c[k+12>>2]=k;c[k+8>>2]=k;break}else if((r|0)==307){a=c[b+8>>2]|0;x=c[300517]|0;if(a>>>0>=x>>>0&b>>>0>=x>>>0){c[a+12>>2]=k;c[b+8>>2]=k;c[k+8>>2]=a;c[k+12>>2]=b;c[k+24>>2]=0;break}else Ph()}}}while(0);a=c[300516]|0;if(a>>>0>n>>>0){v=a-n|0;c[300516]=v;x=c[300519]|0;w=x+n|0;c[300519]=w;c[w+4>>2]=v|1;c[x+4>>2]=n|3;x=x+8|0;return x|0}}c[(Mlb()|0)>>2]=12;x=0;return x|0}function Wpb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;if(!a)return;h=c[300517]|0;if((a+-8|0)>>>0>>0)Ph();b=c[a+-4>>2]|0;if((b&3|0)==1)Ph();n=a+-8+(b&-8)|0;do if(!(b&1)){e=c[a+-8>>2]|0;if(!(b&3))return;k=a+-8+(0-e)|0;j=e+(b&-8)|0;if(k>>>0>>0)Ph();if((k|0)==(c[300518]|0)){a=c[n+4>>2]|0;if((a&3|0)!=3){q=k;f=j;break}c[300515]=j;c[n+4>>2]=a&-2;c[k+4>>2]=j|1;c[k+j>>2]=j;return}if(e>>>0<256){a=c[k+8>>2]|0;b=c[k+12>>2]|0;if((a|0)!=(1202092+(e>>>3<<1<<2)|0)){if(a>>>0>>0)Ph();if((c[a+12>>2]|0)!=(k|0))Ph()}if((b|0)==(a|0)){c[300513]=c[300513]&~(1<<(e>>>3));q=k;f=j;break}if((b|0)==(1202092+(e>>>3<<1<<2)|0))d=b+8|0;else{if(b>>>0>>0)Ph();if((c[b+8>>2]|0)==(k|0))d=b+8|0;else Ph()}c[a+12>>2]=b;c[d>>2]=a;q=k;f=j;break}g=c[k+24>>2]|0;a=c[k+12>>2]|0;do if((a|0)==(k|0)){a=c[k+16+4>>2]|0;if(!a){a=c[k+16>>2]|0;if(!a){i=0;break}else b=k+16|0}else b=k+16+4|0;while(1){d=a+20|0;e=c[d>>2]|0;if(e|0){a=e;b=d;continue}d=a+16|0;e=c[d>>2]|0;if(!e)break;else{a=e;b=d}}if(b>>>0>>0)Ph();else{c[b>>2]=0;i=a;break}}else{b=c[k+8>>2]|0;if(b>>>0>>0)Ph();if((c[b+12>>2]|0)!=(k|0))Ph();if((c[a+8>>2]|0)==(k|0)){c[b+12>>2]=a;c[a+8>>2]=b;i=a;break}else Ph()}while(0);if(!g){q=k;f=j}else{a=c[k+28>>2]|0;if((k|0)==(c[1202356+(a<<2)>>2]|0)){c[1202356+(a<<2)>>2]=i;if(!i){c[300514]=c[300514]&~(1<>>0<(c[300517]|0)>>>0)Ph();if((c[g+16>>2]|0)==(k|0))c[g+16>>2]=i;else c[g+20>>2]=i;if(!i){q=k;f=j;break}}b=c[300517]|0;if(i>>>0>>0)Ph();c[i+24>>2]=g;a=c[k+16>>2]|0;do if(a|0)if(a>>>0>>0)Ph();else{c[i+16>>2]=a;c[a+24>>2]=i;break}while(0);a=c[k+16+4>>2]|0;if(!a){q=k;f=j}else if(a>>>0<(c[300517]|0)>>>0)Ph();else{c[i+20>>2]=a;c[a+24>>2]=i;q=k;f=j;break}}}else{q=a+-8|0;f=b&-8}while(0);if(q>>>0>=n>>>0)Ph();d=c[n+4>>2]|0;if(!(d&1))Ph();if(!(d&2)){if((n|0)==(c[300519]|0)){p=(c[300516]|0)+f|0;c[300516]=p;c[300519]=q;c[q+4>>2]=p|1;if((q|0)!=(c[300518]|0))return;c[300518]=0;c[300515]=0;return}if((n|0)==(c[300518]|0)){p=(c[300515]|0)+f|0;c[300515]=p;c[300518]=q;c[q+4>>2]=p|1;c[q+p>>2]=p;return}f=(d&-8)+f|0;do if(d>>>0<256){a=c[n+8>>2]|0;b=c[n+12>>2]|0;if((a|0)!=(1202092+(d>>>3<<1<<2)|0)){if(a>>>0<(c[300517]|0)>>>0)Ph();if((c[a+12>>2]|0)!=(n|0))Ph()}if((b|0)==(a|0)){c[300513]=c[300513]&~(1<<(d>>>3));break}if((b|0)==(1202092+(d>>>3<<1<<2)|0))l=b+8|0;else{if(b>>>0<(c[300517]|0)>>>0)Ph();if((c[b+8>>2]|0)==(n|0))l=b+8|0;else Ph()}c[a+12>>2]=b;c[l>>2]=a}else{g=c[n+24>>2]|0;a=c[n+12>>2]|0;do if((a|0)==(n|0)){a=c[n+16+4>>2]|0;if(!a){a=c[n+16>>2]|0;if(!a){m=0;break}else b=n+16|0}else b=n+16+4|0;while(1){d=a+20|0;e=c[d>>2]|0;if(e|0){a=e;b=d;continue}d=a+16|0;e=c[d>>2]|0;if(!e)break;else{a=e;b=d}}if(b>>>0<(c[300517]|0)>>>0)Ph();else{c[b>>2]=0;m=a;break}}else{b=c[n+8>>2]|0;if(b>>>0<(c[300517]|0)>>>0)Ph();if((c[b+12>>2]|0)!=(n|0))Ph();if((c[a+8>>2]|0)==(n|0)){c[b+12>>2]=a;c[a+8>>2]=b;m=a;break}else Ph()}while(0);if(g|0){a=c[n+28>>2]|0;if((n|0)==(c[1202356+(a<<2)>>2]|0)){c[1202356+(a<<2)>>2]=m;if(!m){c[300514]=c[300514]&~(1<>>0<(c[300517]|0)>>>0)Ph();if((c[g+16>>2]|0)==(n|0))c[g+16>>2]=m;else c[g+20>>2]=m;if(!m)break}b=c[300517]|0;if(m>>>0>>0)Ph();c[m+24>>2]=g;a=c[n+16>>2]|0;do if(a|0)if(a>>>0>>0)Ph();else{c[m+16>>2]=a;c[a+24>>2]=m;break}while(0);a=c[n+16+4>>2]|0;if(a|0)if(a>>>0<(c[300517]|0)>>>0)Ph();else{c[m+20>>2]=a;c[a+24>>2]=m;break}}}while(0);c[q+4>>2]=f|1;c[q+f>>2]=f;if((q|0)==(c[300518]|0)){c[300515]=f;return}}else{c[n+4>>2]=d&-2;c[q+4>>2]=f|1;c[q+f>>2]=f}b=f>>>3;if(f>>>0<256){a=c[300513]|0;if(!(a&1<>2]|0;if(a>>>0<(c[300517]|0)>>>0)Ph();else{o=1202092+(b<<1<<2)+8|0;p=a}}c[o>>2]=q;c[p+12>>2]=q;c[q+8>>2]=p;c[q+12>>2]=1202092+(b<<1<<2);return}a=f>>>8;if(!a)d=0;else if(f>>>0>16777215)d=31;else{d=a<<((a+1048320|0)>>>16&8)<<(((a<<((a+1048320|0)>>>16&8))+520192|0)>>>16&4);d=14-(((a<<((a+1048320|0)>>>16&8))+520192|0)>>>16&4|(a+1048320|0)>>>16&8|(d+245760|0)>>>16&2)+(d<<((d+245760|0)>>>16&2)>>>15)|0;d=f>>>(d+7|0)&1|d<<1}e=1202356+(d<<2)|0;c[q+28>>2]=d;c[q+20>>2]=0;c[q+16>>2]=0;a=c[300514]|0;b=1<>2]=q;c[q+24>>2]=e;c[q+12>>2]=q;c[q+8>>2]=q}else{d=f<<((d|0)==31?0:25-(d>>>1)|0);b=c[e>>2]|0;while(1){if((c[b+4>>2]&-8|0)==(f|0)){a=130;break}e=b+16+(d>>>31<<2)|0;a=c[e>>2]|0;if(!a){a=127;break}else{d=d<<1;b=a}}if((a|0)==127)if(e>>>0<(c[300517]|0)>>>0)Ph();else{c[e>>2]=q;c[q+24>>2]=b;c[q+12>>2]=q;c[q+8>>2]=q;break}else if((a|0)==130){a=c[b+8>>2]|0;p=c[300517]|0;if(a>>>0>=p>>>0&b>>>0>=p>>>0){c[a+12>>2]=q;c[b+8>>2]=q;c[q+8>>2]=a;c[q+12>>2]=b;c[q+24>>2]=0;break}else Ph()}}while(0);q=(c[300521]|0)+-1|0;c[300521]=q;if(!q)a=1202508;else return;while(1){a=c[a>>2]|0;if(!a)break;else a=a+8|0}c[300521]=-1;return}function Xpb(a,b){a=a|0;b=b|0;var d=0;if(!a)d=0;else{d=_(b,a)|0;if((b|a)>>>0>65535)d=((d>>>0)/(a>>>0)|0|0)==(b|0)?d:-1}b=Vpb(d)|0;if(!b)return b|0;if(!(c[b+-4>>2]&3))return b|0;hBb(b|0,0,d|0)|0;return b|0}function Ypb(a,b){a=a|0;b=b|0;var d=0,e=0;if(!a){a=Vpb(b)|0;return a|0}if(b>>>0>4294967231){c[(Mlb()|0)>>2]=12;a=0;return a|0}d=Zpb(a+-8|0,b>>>0<11?16:b+11&-8)|0;if(d|0){a=d+8|0;return a|0}d=Vpb(b)|0;if(!d){a=0;return a|0}e=c[a+-4>>2]|0;e=(e&-8)-((e&3|0)==0?8:4)|0;mBb(d|0,a|0,(e>>>0>>0?e:b)|0)|0;Wpb(a);a=d;return a|0}function Zpb(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;n=c[a+4>>2]|0;k=a+(n&-8)|0;i=c[300517]|0;if(!((n&3|0)!=1&a>>>0>=i>>>0&a>>>0>>0))Ph();m=c[k+4>>2]|0;if(!(m&1))Ph();if(!(n&3)){if(b>>>0<256){a=0;return a|0}if((n&-8)>>>0>=(b+4|0)>>>0)if(((n&-8)-b|0)>>>0<=c[300633]<<1>>>0)return a|0;a=0;return a|0}if((n&-8)>>>0>=b>>>0){if(((n&-8)-b|0)>>>0<=15)return a|0;c[a+4>>2]=n&1|b|2;c[a+b+4>>2]=(n&-8)-b|3;c[a+b+((n&-8)-b)+4>>2]=c[a+b+((n&-8)-b)+4>>2]|1;_pb(a+b|0,(n&-8)-b|0);return a|0}if((k|0)==(c[300519]|0)){d=(c[300516]|0)+(n&-8)|0;if(d>>>0<=b>>>0){a=0;return a|0}c[a+4>>2]=n&1|b|2;c[a+b+4>>2]=d-b|1;c[300519]=a+b;c[300516]=d-b;return a|0}if((k|0)==(c[300518]|0)){d=(c[300515]|0)+(n&-8)|0;if(d>>>0>>0){a=0;return a|0}if((d-b|0)>>>0>15){c[a+4>>2]=n&1|b|2;c[a+b+4>>2]=d-b|1;c[a+b+(d-b)>>2]=d-b;c[a+b+(d-b)+4>>2]=c[a+b+(d-b)+4>>2]&-2;e=a+b|0;d=d-b|0}else{c[a+4>>2]=n&1|d|2;c[a+d+4>>2]=c[a+d+4>>2]|1;e=0;d=0}c[300515]=d;c[300518]=e;return a|0}if(m&2|0){a=0;return a|0}if(((m&-8)+(n&-8)|0)>>>0>>0){a=0;return a|0}l=(m&-8)+(n&-8)-b|0;do if(m>>>0<256){d=c[k+8>>2]|0;e=c[k+12>>2]|0;if((d|0)!=(1202092+(m>>>3<<1<<2)|0)){if(d>>>0>>0)Ph();if((c[d+12>>2]|0)!=(k|0))Ph()}if((e|0)==(d|0)){c[300513]=c[300513]&~(1<<(m>>>3));break}if((e|0)==(1202092+(m>>>3<<1<<2)|0))f=e+8|0;else{if(e>>>0>>0)Ph();if((c[e+8>>2]|0)==(k|0))f=e+8|0;else Ph()}c[d+12>>2]=e;c[f>>2]=d}else{h=c[k+24>>2]|0;d=c[k+12>>2]|0;do if((d|0)==(k|0)){d=c[k+16+4>>2]|0;if(!d){d=c[k+16>>2]|0;if(!d){j=0;break}else e=k+16|0}else e=k+16+4|0;while(1){f=d+20|0;g=c[f>>2]|0;if(g|0){d=g;e=f;continue}f=d+16|0;g=c[f>>2]|0;if(!g)break;else{d=g;e=f}}if(e>>>0>>0)Ph();else{c[e>>2]=0;j=d;break}}else{e=c[k+8>>2]|0;if(e>>>0>>0)Ph();if((c[e+12>>2]|0)!=(k|0))Ph();if((c[d+8>>2]|0)==(k|0)){c[e+12>>2]=d;c[d+8>>2]=e;j=d;break}else Ph()}while(0);if(h|0){d=c[k+28>>2]|0;if((k|0)==(c[1202356+(d<<2)>>2]|0)){c[1202356+(d<<2)>>2]=j;if(!j){c[300514]=c[300514]&~(1<>>0<(c[300517]|0)>>>0)Ph();if((c[h+16>>2]|0)==(k|0))c[h+16>>2]=j;else c[h+20>>2]=j;if(!j)break}e=c[300517]|0;if(j>>>0>>0)Ph();c[j+24>>2]=h;d=c[k+16>>2]|0;do if(d|0)if(d>>>0>>0)Ph();else{c[j+16>>2]=d;c[d+24>>2]=j;break}while(0);d=c[k+16+4>>2]|0;if(d|0)if(d>>>0<(c[300517]|0)>>>0)Ph();else{c[j+20>>2]=d;c[d+24>>2]=j;break}}}while(0);if(l>>>0<16){c[a+4>>2]=(m&-8)+(n&-8)|n&1|2;c[a+((m&-8)+(n&-8))+4>>2]=c[a+((m&-8)+(n&-8))+4>>2]|1;return a|0}else{c[a+4>>2]=n&1|b|2;c[a+b+4>>2]=l|3;c[a+b+l+4>>2]=c[a+b+l+4>>2]|1;_pb(a+b|0,l);return a|0}return 0}function _pb(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;d=c[a+4>>2]|0;do if(!(d&1)){l=c[a>>2]|0;if(!(d&3))return;j=c[300517]|0;if((a+(0-l)|0)>>>0>>0)Ph();if((a+(0-l)|0)==(c[300518]|0)){d=c[a+b+4>>2]|0;if((d&3|0)!=3){q=a+(0-l)|0;h=l+b|0;break}c[300515]=l+b;c[a+b+4>>2]=d&-2;c[a+(0-l)+4>>2]=l+b|1;c[a+(0-l)+(l+b)>>2]=l+b;return}if(l>>>0<256){d=c[a+(0-l)+8>>2]|0;e=c[a+(0-l)+12>>2]|0;if((d|0)!=(1202092+(l>>>3<<1<<2)|0)){if(d>>>0>>0)Ph();if((c[d+12>>2]|0)!=(a+(0-l)|0))Ph()}if((e|0)==(d|0)){c[300513]=c[300513]&~(1<<(l>>>3));q=a+(0-l)|0;h=l+b|0;break}if((e|0)==(1202092+(l>>>3<<1<<2)|0))f=e+8|0;else{if(e>>>0>>0)Ph();if((c[e+8>>2]|0)==(a+(0-l)|0))f=e+8|0;else Ph()}c[d+12>>2]=e;c[f>>2]=d;q=a+(0-l)|0;h=l+b|0;break}i=c[a+(0-l)+24>>2]|0;d=c[a+(0-l)+12>>2]|0;do if((d|0)==(a+(0-l)|0)){e=a+(0-l)+16|0;d=c[e+4>>2]|0;if(!d){d=c[e>>2]|0;if(!d){k=0;break}}else e=e+4|0;while(1){f=d+20|0;g=c[f>>2]|0;if(g|0){d=g;e=f;continue}f=d+16|0;g=c[f>>2]|0;if(!g)break;else{d=g;e=f}}if(e>>>0>>0)Ph();else{c[e>>2]=0;k=d;break}}else{e=c[a+(0-l)+8>>2]|0;if(e>>>0>>0)Ph();if((c[e+12>>2]|0)!=(a+(0-l)|0))Ph();if((c[d+8>>2]|0)==(a+(0-l)|0)){c[e+12>>2]=d;c[d+8>>2]=e;k=d;break}else Ph()}while(0);if(!i){q=a+(0-l)|0;h=l+b|0}else{d=c[a+(0-l)+28>>2]|0;if((a+(0-l)|0)==(c[1202356+(d<<2)>>2]|0)){c[1202356+(d<<2)>>2]=k;if(!k){c[300514]=c[300514]&~(1<>>0<(c[300517]|0)>>>0)Ph();if((c[i+16>>2]|0)==(a+(0-l)|0))c[i+16>>2]=k;else c[i+20>>2]=k;if(!k){q=a+(0-l)|0;h=l+b|0;break}}e=c[300517]|0;if(k>>>0>>0)Ph();c[k+24>>2]=i;d=c[a+(0-l)+16>>2]|0;do if(d|0)if(d>>>0>>0)Ph();else{c[k+16>>2]=d;c[d+24>>2]=k;break}while(0);d=c[a+(0-l)+16+4>>2]|0;if(!d){q=a+(0-l)|0;h=l+b|0}else if(d>>>0<(c[300517]|0)>>>0)Ph();else{c[k+20>>2]=d;c[d+24>>2]=k;q=a+(0-l)|0;h=l+b|0;break}}}else{q=a;h=b}while(0);j=c[300517]|0;if((a+b|0)>>>0>>0)Ph();f=c[a+b+4>>2]|0;if(!(f&2)){if((a+b|0)==(c[300519]|0)){p=(c[300516]|0)+h|0;c[300516]=p;c[300519]=q;c[q+4>>2]=p|1;if((q|0)!=(c[300518]|0))return;c[300518]=0;c[300515]=0;return}if((a+b|0)==(c[300518]|0)){p=(c[300515]|0)+h|0;c[300515]=p;c[300518]=q;c[q+4>>2]=p|1;c[q+p>>2]=p;return}h=(f&-8)+h|0;do if(f>>>0<256){d=c[a+b+8>>2]|0;e=c[a+b+12>>2]|0;if((d|0)!=(1202092+(f>>>3<<1<<2)|0)){if(d>>>0>>0)Ph();if((c[d+12>>2]|0)!=(a+b|0))Ph()}if((e|0)==(d|0)){c[300513]=c[300513]&~(1<<(f>>>3));break}if((e|0)==(1202092+(f>>>3<<1<<2)|0))m=e+8|0;else{if(e>>>0>>0)Ph();if((c[e+8>>2]|0)==(a+b|0))m=e+8|0;else Ph()}c[d+12>>2]=e;c[m>>2]=d}else{i=c[a+b+24>>2]|0;d=c[a+b+12>>2]|0;do if((d|0)==(a+b|0)){d=c[a+b+16+4>>2]|0;if(!d){d=c[a+b+16>>2]|0;if(!d){n=0;break}else e=a+b+16|0}else e=a+b+16+4|0;while(1){f=d+20|0;g=c[f>>2]|0;if(g|0){d=g;e=f;continue}f=d+16|0;g=c[f>>2]|0;if(!g)break;else{d=g;e=f}}if(e>>>0>>0)Ph();else{c[e>>2]=0;n=d;break}}else{e=c[a+b+8>>2]|0;if(e>>>0>>0)Ph();if((c[e+12>>2]|0)!=(a+b|0))Ph();if((c[d+8>>2]|0)==(a+b|0)){c[e+12>>2]=d;c[d+8>>2]=e;n=d;break}else Ph()}while(0);if(i|0){d=c[a+b+28>>2]|0;if((a+b|0)==(c[1202356+(d<<2)>>2]|0)){c[1202356+(d<<2)>>2]=n;if(!n){c[300514]=c[300514]&~(1<>>0<(c[300517]|0)>>>0)Ph();if((c[i+16>>2]|0)==(a+b|0))c[i+16>>2]=n;else c[i+20>>2]=n;if(!n)break}e=c[300517]|0;if(n>>>0>>0)Ph();c[n+24>>2]=i;d=c[a+b+16>>2]|0;do if(d|0)if(d>>>0>>0)Ph();else{c[n+16>>2]=d;c[d+24>>2]=n;break}while(0);d=c[a+b+16+4>>2]|0;if(d|0)if(d>>>0<(c[300517]|0)>>>0)Ph();else{c[n+20>>2]=d;c[d+24>>2]=n;break}}}while(0);c[q+4>>2]=h|1;c[q+h>>2]=h;if((q|0)==(c[300518]|0)){c[300515]=h;return}}else{c[a+b+4>>2]=f&-2;c[q+4>>2]=h|1;c[q+h>>2]=h}e=h>>>3;if(h>>>0<256){d=c[300513]|0;if(!(d&1<>2]|0;if(d>>>0<(c[300517]|0)>>>0)Ph();else{o=1202092+(e<<1<<2)+8|0;p=d}}c[o>>2]=q;c[p+12>>2]=q;c[q+8>>2]=p;c[q+12>>2]=1202092+(e<<1<<2);return}d=h>>>8;if(!d)f=0;else if(h>>>0>16777215)f=31;else{f=d<<((d+1048320|0)>>>16&8)<<(((d<<((d+1048320|0)>>>16&8))+520192|0)>>>16&4);f=14-(((d<<((d+1048320|0)>>>16&8))+520192|0)>>>16&4|(d+1048320|0)>>>16&8|(f+245760|0)>>>16&2)+(f<<((f+245760|0)>>>16&2)>>>15)|0;f=h>>>(f+7|0)&1|f<<1}g=1202356+(f<<2)|0;c[q+28>>2]=f;c[q+20>>2]=0;c[q+16>>2]=0;d=c[300514]|0;e=1<>2]=q;c[q+24>>2]=g;c[q+12>>2]=q;c[q+8>>2]=q;return}f=h<<((f|0)==31?0:25-(f>>>1)|0);e=c[g>>2]|0;while(1){if((c[e+4>>2]&-8|0)==(h|0)){d=127;break}g=e+16+(f>>>31<<2)|0;d=c[g>>2]|0;if(!d){d=124;break}else{f=f<<1;e=d}}if((d|0)==124){if(g>>>0<(c[300517]|0)>>>0)Ph();c[g>>2]=q;c[q+24>>2]=e;c[q+12>>2]=q;c[q+8>>2]=q;return}else if((d|0)==127){d=c[e+8>>2]|0;p=c[300517]|0;if(!(d>>>0>=p>>>0&e>>>0>=p>>>0))Ph();c[d+12>>2]=q;c[e+8>>2]=q;c[q+8>>2]=d;c[q+12>>2]=e;c[q+24>>2]=0;return}}function $pb(){aqb(0);return}function aqb(a){a=a|0;var b=0,d=0,e=0;d=c[37180]|0;bqb(1203228,d,1203284);c[300637]=153168;c[300639]=153188;c[300638]=0;rsb(1202556,1203228);c[300657]=0;c[300658]=-1;b=c[37209]|0;iqb(1203332,b,1203292);c[300659]=153248;c[300660]=153268;rsb(1202640,1203332);c[300678]=0;c[300679]=-1;a=c[37151]|0;iqb(1203380,a,1203300);c[300680]=153248;c[300681]=153268;rsb(1202724,1203380);c[300699]=0;c[300700]=-1;e=c[1202720+(c[(c[300680]|0)+-12>>2]|0)+24>>2]|0;c[300701]=153248;c[300702]=153268;rsb(1202808,e);c[300720]=0;c[300721]=-1;c[1202548+(c[(c[300637]|0)+-12>>2]|0)+72>>2]=1202636;e=1202720+(c[(c[300680]|0)+-12>>2]|0)+4|0;c[e>>2]=c[e>>2]|8192;c[1202720+(c[(c[300680]|0)+-12>>2]|0)+72>>2]=1202636;oqb(1203428,d,1203308);c[300722]=153208;c[300724]=153228;c[300723]=0;rsb(1202896,1203428);c[300742]=0;c[300743]=-1;vqb(1203484,b,1203316);c[300744]=153288;c[300745]=153308;rsb(1202980,1203484);c[300763]=0;c[300764]=-1;vqb(1203532,a,1203324);c[300765]=153288;c[300766]=153308;rsb(1203064,1203532);c[300784]=0;c[300785]=-1;a=c[1203060+(c[(c[300765]|0)+-12>>2]|0)+24>>2]|0;c[300786]=153288;c[300787]=153308;rsb(1203148,a);c[300805]=0;c[300806]=-1;c[1202888+(c[(c[300722]|0)+-12>>2]|0)+72>>2]=1202976;a=1203060+(c[(c[300765]|0)+-12>>2]|0)+4|0;c[a>>2]=c[a>>2]|8192;c[1203060+(c[(c[300765]|0)+-12>>2]|0)+72>>2]=1202976;return}function bqb(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+16|0;tsb(b);c[b>>2]=152380;c[b+32>>2]=d;c[b+40>>2]=e;c[b+48>>2]=-1;a[b+52>>0]=0;aAb(f+4|0,b+4|0);c[f>>2]=c[f+4>>2];dqb(b,f);bAb(f);i=f;return}function cqb(a){a=a|0;urb(a);oAb(a);return}function dqb(b,d){b=b|0;d=d|0;d=Usb(d,1205388)|0;c[b+36>>2]=d;c[b+44>>2]=vi[c[(c[d>>2]|0)+24>>2]&2047](d)|0;d=c[b+36>>2]|0;a[b+53>>0]=(vi[c[(c[d>>2]|0)+28>>2]&2047](d)|0)&1;return}function eqb(a){a=a|0;return fqb(a,0)|0}function fqb(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;l=i;i=i+32|0;if(!(a[b+52>>0]|0)){f=c[b+44>>2]|0;f=(f|0)>1?f:1;h=0;while(1){if((h|0)>=(f|0)){k=8;break}g=upb(c[b+32>>2]|0)|0;if((g|0)==-1){f=-1;break}a[l+16+h>>0]=g;h=h+1|0}if((k|0)==8){do if(!(a[b+53>>0]|0)){a:while(1){m=c[b+40>>2]|0;g=c[m>>2]|0;h=c[m+4>>2]|0;n=c[b+36>>2]|0;j=l+16+f|0;switch(hj[c[(c[n>>2]|0)+16>>2]&31](n,m,l+16|0,j,l+4|0,l+8|0,l+8+1|0,l)|0){case 3:{k=15;break a}case 2:{k=17;break a}case 1:break;default:break a}n=c[b+40>>2]|0;c[n>>2]=g;c[n+4>>2]=h;if((f|0)==8){k=17;break}g=upb(c[b+32>>2]|0)|0;if((g|0)==-1){k=17;break}a[j>>0]=g;f=f+1|0}if((k|0)==15)a[l+8>>0]=a[l+16>>0]|0;else if((k|0)==17){f=-1;break}k=18}else{a[l+8>>0]=a[l+16>>0]|0;k=18}while(0);b:do if((k|0)==18){if(e){f=a[l+8>>0]|0;c[b+48>>2]=f&255}else{while(1){if((f|0)<=0)break;f=f+-1|0;if((kpb(d[l+16+f>>0]|0,c[b+32>>2]|0)|0)==-1){f=-1;break b}}f=a[l+8>>0]|0}f=f&255}while(0)}}else{f=c[b+48>>2]|0;if(e){c[b+48>>2]=-1;a[b+52>>0]=0}}i=l;return f|0}function gqb(a){a=a|0;return fqb(a,1)|0}function hqb(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+32|0;e=(a[b+52>>0]|0)!=0;a:do if((d|0)==-1)if(e)d=-1;else{d=c[b+48>>2]|0;a[b+52>>0]=(d|0)!=-1&1}else{do if(e){a[g+8>>0]=c[b+48>>2];f=c[b+36>>2]|0;switch(hj[c[(c[f>>2]|0)+12>>2]&31](f,c[b+40>>2]|0,g+8|0,g+8+1|0,g,g+16|0,g+16+8|0,g+4|0)|0){case 1:case 2:{d=-1;break a}case 3:{a[g+16>>0]=c[b+48>>2];c[g+4>>2]=g+16+1;break}default:{}}while(1){e=c[g+4>>2]|0;if(e>>>0<=(g+16|0)>>>0){f=13;break}c[g+4>>2]=e+-1;if((kpb(a[e+-1>>0]|0,c[b+32>>2]|0)|0)==-1){f=12;break}}if((f|0)==12){d=-1;break a}else if((f|0)==13){e=b+48|0;break}}else e=b+48|0;while(0);c[e>>2]=d;a[b+52>>0]=1}while(0);i=g;return d|0}function iqb(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+16|0;tsb(b);c[b>>2]=152444;c[b+32>>2]=d;aAb(f+4|0,b+4|0);c[f>>2]=c[f+4>>2];d=Usb(f,1205388)|0;bAb(f);c[b+36>>2]=d;c[b+40>>2]=e;a[b+44>>0]=(vi[c[(c[d>>2]|0)+28>>2]&2047](d)|0)&1;i=f;return}function jqb(a){a=a|0;urb(a);oAb(a);return}function kqb(b,d){b=b|0;d=d|0;vi[c[(c[b>>2]|0)+24>>2]&2047](b)|0;d=Usb(d,1205388)|0;c[b+36>>2]=d;a[b+44>>0]=(vi[c[(c[d>>2]|0)+28>>2]&2047](d)|0)&1;return}function lqb(a){a=a|0;var b=0,d=0,e=0,f=0;e=i;i=i+16|0;a:while(1){b=c[a+36>>2]|0;b=Ci[c[(c[b>>2]|0)+20>>2]&127](b,c[a+40>>2]|0,e+8|0,e+8+8|0,e)|0;f=(c[e>>2]|0)-(e+8)|0;if((ppb(e+8|0,1,f,c[a+32>>2]|0)|0)!=(f|0)){b=-1;break}switch(b|0){case 1:break;case 2:{b=-1;break a}default:{d=4;break a}}}if((d|0)==4)b=(($nb(c[a+32>>2]|0)|0)!=0)<<31>>31;i=e;return b|0}function mqb(b,e,f){b=b|0;e=e|0;f=f|0;var g=0;a:do if(!(a[b+44>>0]|0)){g=e;e=0;while(1){if((e|0)>=(f|0))break a;if((Xi[c[(c[b>>2]|0)+52>>2]&511](b,d[g>>0]|0)|0)==-1)break a;g=g+1|0;e=e+1|0}}else e=ppb(e,1,f,c[b+32>>2]|0)|0;while(0);return e|0}function nqb(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+32|0;do if((d|0)==-1)g=14;else{a[h+8>>0]=d;if(a[b+44>>0]|0)if((ppb(h+8|0,1,1,c[b+32>>2]|0)|0)==1){g=14;break}else{e=-1;break}c[h+4>>2]=h+16;f=h+8|0;while(1){e=c[b+36>>2]|0;e=hj[c[(c[e>>2]|0)+12>>2]&31](e,c[b+40>>2]|0,f,h+8+1|0,h,h+16|0,h+16+8|0,h+4|0)|0;if((c[h>>2]|0)==(f|0)){g=13;break}if((e|0)==3){g=7;break}if((e|1|0)!=1){g=13;break}g=(c[h+4>>2]|0)-(h+16)|0;if((ppb(h+16|0,1,g,c[b+32>>2]|0)|0)!=(g|0)){g=13;break}if((e|0)==1)f=c[h>>2]|0;else{g=12;break}}if((g|0)==7)if((ppb(f,1,1,c[b+32>>2]|0)|0)==1)g=12;else g=13;if((g|0)==12){g=14;break}else if((g|0)==13){e=-1;break}}while(0);if((g|0)==14)e=(d|0)==-1?0:d;i=h;return e|0}function oqb(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+16|0;usb(b);c[b>>2]=152508;c[b+32>>2]=d;c[b+40>>2]=e;c[b+48>>2]=-1;a[b+52>>0]=0;aAb(f+4|0,b+4|0);c[f>>2]=c[f+4>>2];qqb(b,f);bAb(f);i=f;return}function pqb(a){a=a|0;Irb(a);oAb(a);return}function qqb(b,d){b=b|0;d=d|0;d=Usb(d,1205396)|0;c[b+36>>2]=d;c[b+44>>2]=vi[c[(c[d>>2]|0)+24>>2]&2047](d)|0;d=c[b+36>>2]|0;a[b+53>>0]=(vi[c[(c[d>>2]|0)+28>>2]&2047](d)|0)&1;return}function rqb(a){a=a|0;return sqb(a,0)|0}function sqb(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;k=i;i=i+32|0;if(!(a[b+52>>0]|0)){e=c[b+44>>2]|0;e=(e|0)>1?e:1;g=0;while(1){if((g|0)>=(e|0)){j=8;break}f=upb(c[b+32>>2]|0)|0;if((f|0)==-1){e=-1;break}a[k+16+g>>0]=f;g=g+1|0}if((j|0)==8){do if(!(a[b+53>>0]|0)){a:while(1){l=c[b+40>>2]|0;f=c[l>>2]|0;g=c[l+4>>2]|0;m=c[b+36>>2]|0;h=k+16+e|0;switch(hj[c[(c[m>>2]|0)+16>>2]&31](m,l,k+16|0,h,k+4|0,k+8|0,k+8+4|0,k)|0){case 3:{j=15;break a}case 2:{j=17;break a}case 1:break;default:break a}m=c[b+40>>2]|0;c[m>>2]=f;c[m+4>>2]=g;if((e|0)==8){j=17;break}f=upb(c[b+32>>2]|0)|0;if((f|0)==-1){j=17;break}a[h>>0]=f;e=e+1|0}if((j|0)==15)c[k+8>>2]=a[k+16>>0];else if((j|0)==17){e=-1;break}j=18}else{c[k+8>>2]=a[k+16>>0];j=18}while(0);b:do if((j|0)==18){if(d){e=c[k+8>>2]|0;c[b+48>>2]=e;break}while(1){if((e|0)<=0)break;e=e+-1|0;if((kpb(a[k+16+e>>0]|0,c[b+32>>2]|0)|0)==-1){e=-1;break b}}e=c[k+8>>2]|0}while(0)}}else{e=c[b+48>>2]|0;if(d){c[b+48>>2]=-1;a[b+52>>0]=0}}i=k;return e|0}function tqb(a){a=a|0;return sqb(a,1)|0}function uqb(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+32|0;e=(a[b+52>>0]|0)!=0;a:do if((d|0)==-1)if(e)d=-1;else{d=c[b+48>>2]|0;a[b+52>>0]=(d|0)!=-1&1}else{do if(e){c[g+4>>2]=c[b+48>>2];f=c[b+36>>2]|0;switch(hj[c[(c[f>>2]|0)+12>>2]&31](f,c[b+40>>2]|0,g+4|0,g+4+4|0,g,g+16|0,g+16+8|0,g+8|0)|0){case 1:case 2:{d=-1;break a}case 3:{a[g+16>>0]=c[b+48>>2];c[g+8>>2]=g+16+1;break}default:{}}while(1){e=c[g+8>>2]|0;if(e>>>0<=(g+16|0)>>>0){f=13;break}c[g+8>>2]=e+-1;if((kpb(a[e+-1>>0]|0,c[b+32>>2]|0)|0)==-1){f=12;break}}if((f|0)==12){d=-1;break a}else if((f|0)==13){e=b+48|0;break}}else e=b+48|0;while(0);c[e>>2]=d;a[b+52>>0]=1}while(0);i=g;return d|0}function vqb(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+16|0;usb(b);c[b>>2]=152572;c[b+32>>2]=d;aAb(f+4|0,b+4|0);c[f>>2]=c[f+4>>2];d=Usb(f,1205396)|0;bAb(f);c[b+36>>2]=d;c[b+40>>2]=e;a[b+44>>0]=(vi[c[(c[d>>2]|0)+28>>2]&2047](d)|0)&1;i=f;return}function wqb(a){a=a|0;Irb(a);oAb(a);return}function xqb(b,d){b=b|0;d=d|0;vi[c[(c[b>>2]|0)+24>>2]&2047](b)|0;d=Usb(d,1205396)|0;c[b+36>>2]=d;a[b+44>>0]=(vi[c[(c[d>>2]|0)+28>>2]&2047](d)|0)&1;return}function yqb(a){a=a|0;var b=0,d=0,e=0,f=0;e=i;i=i+16|0;a:while(1){b=c[a+36>>2]|0;b=Ci[c[(c[b>>2]|0)+20>>2]&127](b,c[a+40>>2]|0,e+8|0,e+8+8|0,e)|0;f=(c[e>>2]|0)-(e+8)|0;if((ppb(e+8|0,1,f,c[a+32>>2]|0)|0)!=(f|0)){b=-1;break}switch(b|0){case 1:break;case 2:{b=-1;break a}default:{d=4;break a}}}if((d|0)==4)b=(($nb(c[a+32>>2]|0)|0)!=0)<<31>>31;i=e;return b|0}function zqb(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;a:do if(!(a[b+44>>0]|0)){f=d;d=0;while(1){if((d|0)>=(e|0))break a;if((Xi[c[(c[b>>2]|0)+52>>2]&511](b,c[f>>2]|0)|0)==-1)break a;f=f+4|0;d=d+1|0}}else d=ppb(d,4,e,c[b+32>>2]|0)|0;while(0);return d|0} -function Ksa(b){b=b|0;var d=0,e=0,f=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+368|0;r=0;c[165797]=0;d=vi[b&2047](611171)|0;c[164183]=d;if(!d){r=0;i=s;return r|0}f=vi[d&2047](7938)|0;d=a[f>>0]|0;e=a[f+2>>0]|0;if(!(pmb(f,444898,10)|0)){l=1;d=a[f+10>>0]|0;e=a[f+12>>0]|0}else l=0;k=d+-48|0;d=1;if(d){d=0;if(!(pmb(f,444909,6)|0)){q=a[f+8>>0]|0;o=(a[f+6>>0]|0)+-47|0;c[165797]=o;p=q;q=q+-48|0;r=7}else d=1}if(d)if(1){h=e+-48|0;c[165797]=k;j=1;if(j){j=0;if(!l){a[1248826]=((k|0)>1|(k|0)==1&(h|0)>-1)&1;d=(e|0)>48;a[1248827]=((k|0)>1|(k|0)==1&d)&1;a[1248828]=((k|0)>1|(k|0)==1&(h|0)>1)&1;a[1248829]=((k|0)>1|(k|0)==1&(h|0)>2)&1;a[1248830]=((k|0)>1|(k|0)==1&(h|0)>3)&1;a[1248831]=((k|0)>1|(k|0)==1&(h|0)>4)&1;a[1248832]=((k|0)>2|(k|0)==2&(h|0)>-1)&1;a[1248833]=((k|0)>2|(k|0)==2&d)&1;a[1248834]=((k|0)>3|(k|0)==3&(h|0)>-1)&1;a[1248835]=((k|0)>3|(k|0)==3&d)&1;a[1248836]=((k|0)>3|(k|0)==3&(h|0)>1)&1;a[1248837]=(k|0)==3&(h|0)>2?1:(k|0)>3&1;a[1248838]=(k|0)==4&(h|0)>-1?1:(k|0)>4&1;a[1248839]=(k|0)==4&d?1:(k|0)>4&1;a[1248840]=(k|0)==4&(h|0)>1?1:(k|0)>4&1;a[1248841]=(k|0)==4&(h|0)>2?1:(k|0)>4&1;a[1248842]=(k|0)==4&(h|0)>3?1:(k|0)>4&1;a[1248843]=(k|0)==4&(h|0)>4?1:(k|0)>4&1;a[1248844]=0;a[1248845]=0;a[1248846]=0;a[1248847]=0;f=1;if(f){f=0;if((k|0)>1|(k|0)==1&(h|0)>-1){c[164248]=vi[b&2047](613224)|0;c[164696]=vi[b&2047](613212)|0;c[164177]=vi[b&2047](613467)|0;c[163684]=vi[b&2047](613243)|0;c[163737]=vi[b&2047](444916)|0;c[164088]=vi[b&2047](444928)|0;c[164426]=vi[b&2047](613623)|0;c[164149]=vi[b&2047](613540)|0;c[164660]=vi[b&2047](611399)|0;c[164151]=vi[b&2047](613524)|0;c[163831]=vi[b&2047](611416)|0;c[163828]=vi[b&2047](444942)|0;c[164645]=vi[b&2047](611303)|0;c[163911]=vi[b&2047](444955)|0;c[163811]=vi[b&2047](613235)|0;c[164438]=vi[b&2047](613610)|0;c[163959]=vi[b&2047](613255)|0;c[164147]=vi[b&2047](613154)|0;c[164646]=vi[b&2047](613282)|0;c[164509]=vi[b&2047](613650)|0;c[164687]=vi[b&2047](613270)|0;c[164236]=vi[b&2047](613202)|0;c[163875]=vi[b&2047](613193)|0;c[164125]=vi[b&2047](613137)|0;c[163926]=vi[b&2047](613146)|0;c[164407]=vi[b&2047](613382)|0;c[164237]=vi[b&2047](444968)|0;c[164365]=vi[b&2047](613573)|0;c[163818]=vi[b&2047](613587)|0;c[164491]=vi[b&2047](613181)|0;c[164159]=vi[b&2047](444978)|0;c[164061]=vi[b&2047](611157)|0;c[164288]=vi[b&2047](444992)|0;c[164337]=vi[b&2047](611332)|0;c[164127]=vi[b&2047](611209)|0;c[164047]=vi[b&2047](445005)|0;c[164614]=vi[b&2047](613058)|0;c[164618]=vi[b&2047](611197)|0;c[164630]=vi[b&2047](611183)|0;c[164183]=vi[b&2047](611171)|0;c[163835]=vi[b&2047](445018)|0;c[164499]=vi[b&2047](611359)|0;c[164213]=vi[b&2047](611379)|0;c[164624]=vi[b&2047](445032)|0;c[163946]=vi[b&2047](445057)|0;c[163817]=vi[b&2047](613370)|0;c[163907]=vi[b&2047](613418)|0;c[164137]=vi[b&2047](613599)|0;c[164172]=vi[b&2047](445082)|0;c[164568]=vi[b&2047](445092)|0;c[164044]=vi[b&2047](445102)|0;c[164063]=vi[b&2047](445113)|0;c[164299]=vi[b&2047](445125)|0;c[164558]=vi[b&2047](445139)|0;c[164493]=vi[b&2047](445150)|0;c[163796]=vi[b&2047](445161)|0;c[163849]=vi[b&2047](445169)|0;c[163749]=vi[b&2047](445178)|0;c[164559]=vi[b&2047](445188)|0;c[164251]=vi[b&2047](445199)|0;c[164211]=vi[b&2047](445209)|0;c[164243]=vi[b&2047](445220)|0;c[164689]=vi[b&2047](445230)|0;c[163757]=vi[b&2047](445241)|0;c[164536]=vi[b&2047](445251)|0;c[163761]=vi[b&2047](445262)|0;c[163783]=vi[b&2047](445272)|0;c[164495]=vi[b&2047](445283)|0;c[163798]=vi[b&2047](445294)|0;c[164500]=vi[b&2047](445306)|0;c[164488]=vi[b&2047](445317)|0;c[164487]=vi[b&2047](445329)|0;c[164574]=vi[b&2047](445340)|0;c[164110]=vi[b&2047](445352)|0;c[163741]=vi[b&2047](445362)|0;c[164113]=vi[b&2047](445373)|0;c[164457]=vi[b&2047](445383)|0;c[164112]=vi[b&2047](445394)|0;c[163877]=vi[b&2047](445404)|0;c[164114]=vi[b&2047](445415)|0;c[164305]=vi[b&2047](445425)|0;c[164099]=vi[b&2047](445436)|0;c[164523]=vi[b&2047](445446)|0;c[164167]=vi[b&2047](445457)|0;c[164386]=vi[b&2047](445468)|0;c[163701]=vi[b&2047](445480)|0;c[164369]=vi[b&2047](445491)|0;c[164174]=vi[b&2047](445503)|0;c[164664]=vi[b&2047](445514)|0;c[163751]=vi[b&2047](445526)|0;c[164185]=vi[b&2047](445537)|0;c[164423]=vi[b&2047](445549)|0;c[163680]=vi[b&2047](445555)|0;c[164140]=vi[b&2047](445564)|0;c[163682]=vi[b&2047](445574)|0;c[163693]=vi[b&2047](445583)|0;c[163672]=vi[b&2047](445593)|0;c[163930]=vi[b&2047](445602)|0;c[163688]=vi[b&2047](445612)|0;c[163843]=vi[b&2047](445621)|0;c[164674]=vi[b&2047](445631)|0;c[163991]=vi[b&2047](445642)|0;c[164673]=vi[b&2047](445654)|0;c[164328]=vi[b&2047](445665)|0;c[164672]=vi[b&2047](445677)|0;c[163904]=vi[b&2047](445688)|0;c[164671]=vi[b&2047](445700)|0;c[164474]=vi[b&2047](445711)|0;c[164440]=vi[b&2047](445723)|0;c[164171]=vi[b&2047](445734)|0;c[163743]=vi[b&2047](445746)|0;c[164279]=vi[b&2047](445760)|0;c[163742]=vi[b&2047](445775)|0;c[163698]=vi[b&2047](445789)|0;c[163745]=vi[b&2047](445804)|0;c[164392]=vi[b&2047](445818)|0;c[164131]=vi[b&2047](445833)|0;c[164097]=vi[b&2047](445847)|0;c[164072]=vi[b&2047](445862)|0;c[164373]=vi[b&2047](445876)|0;c[164073]=vi[b&2047](445891)|0;c[163914]=vi[b&2047](445905)|0;c[164070]=vi[b&2047](445920)|0;c[164118]=vi[b&2047](445934)|0;c[164087]=vi[b&2047](445949)|0;c[163932]=vi[b&2047](445963)|0;c[164310]=vi[b&2047](445978)|0;c[164635]=vi[b&2047](445992)|0;c[164311]=vi[b&2047](446007)|0;c[164162]=vi[b&2047](446021)|0;c[164436]=vi[b&2047](446036)|0;c[164180]=vi[b&2047](446050)|0;c[164517]=vi[b&2047](446065)|0;c[164098]=vi[b&2047](446079)|0;c[164170]=vi[b&2047](446094)|0;c[163675]=vi[b&2047](446102)|0;c[164169]=vi[b&2047](446111)|0;c[164247]=vi[b&2047](446119)|0;c[164166]=vi[b&2047](446128)|0;c[164370]=vi[b&2047](446136)|0;c[164178]=vi[b&2047](446145)|0;c[164663]=vi[b&2047](446153)|0;c[164542]=vi[b&2047](446162)|0;c[164612]=vi[b&2047](446175)|0;c[164543]=vi[b&2047](446189)|0;c[163878]=vi[b&2047](446202)|0;c[164540]=vi[b&2047](446216)|0;c[163767]=vi[b&2047](446229)|0;c[164554]=vi[b&2047](446243)|0;c[164607]=vi[b&2047](446256)|0;c[164302]=vi[b&2047](446270)|0;c[164179]=vi[b&2047](446283)|0;c[164304]=vi[b&2047](446297)|0;c[163730]=vi[b&2047](446310)|0;c[164309]=vi[b&2047](446324)|0;c[164637]=vi[b&2047](446337)|0;c[164316]=vi[b&2047](446351)|0;c[163883]=vi[b&2047](446364)|0;c[164077]=vi[b&2047](446378)|0;c[164468]=vi[b&2047](446391)|0;c[164075]=vi[b&2047](446405)|0;c[163888]=vi[b&2047](446418)|0;c[164068]=vi[b&2047](446432)|0;c[164142]=vi[b&2047](446445)|0;c[164085]=vi[b&2047](446459)|0;c[163825]=vi[b&2047](446472)|0;c[163859]=vi[b&2047](446486)|0;c[164319]=vi[b&2047](446499)|0;c[163857]=vi[b&2047](446513)|0;c[163734]=vi[b&2047](446526)|0;c[163862]=vi[b&2047](446540)|0;c[163966]=vi[b&2047](446553)|0;c[163865]=vi[b&2047](446567)|0;c[164122]=vi[b&2047](446580)|0;c[163978]=vi[b&2047](446594)|0;c[164121]=vi[b&2047](446605)|0;c[163977]=vi[b&2047](446617)|0;c[163671]=vi[b&2047](446628)|0;c[163984]=vi[b&2047](446640)|0;c[163781]=vi[b&2047](446651)|0;c[163988]=vi[b&2047](446663)|0;c[164054]=vi[b&2047](446674)|0;c[163753]=vi[b&2047](446686)|0;c[163871]=vi[b&2047](446697)|0;c[163754]=vi[b&2047](446709)|0;c[164318]=vi[b&2047](446720)|0;c[163756]=vi[b&2047](446732)|0;c[163848]=vi[b&2047](446743)|0;c[163762]=vi[b&2047](446755)|0;c[164001]=vi[b&2047](446766)|0;c[164605]=vi[b&2047](446778)|0;c[164301]=vi[b&2047](446789)|0;c[164662]=vi[b&2047](446801)|0;c[163724]=vi[b&2047](446812)|0;c[164336]=vi[b&2047](446824)|0;c[163711]=vi[b&2047](446835)|0;c[164325]=vi[b&2047](446847)|0;c[163790]=vi[b&2047](446858)|0;c[164428]=vi[b&2047](446870)|0;c[164218]=vi[b&2047](446882)|0;c[164529]=vi[b&2047](446898)|0;c[163706]=vi[b&2047](446905)|0;c[163795]=vi[b&2047](446913)|0;c[163696]=vi[b&2047](446920)|0;c[163950]=vi[b&2047](446928)|0;c[163808]=vi[b&2047](446937)|0;c[163947]=vi[b&2047](446947)|0;c[164413]=vi[b&2047](446956)|0;c[164051]=vi[b&2047](446966)|0;c[164297]=vi[b&2047](446980)|0;c[164057]=vi[b&2047](446995)|0;c[163699]=vi[b&2047](447009)|0;c[164102]=vi[b&2047](447024)|0;c[163864]=vi[b&2047](447038)|0;c[164135]=vi[b&2047](447050)|0;c[163852]=vi[b&2047](447063)|0;c[164320]=vi[b&2047](447075)|0;c[164667]=vi[b&2047](447088)|0;c[164344]=vi[b&2047](447105)|0;c[164004]=vi[b&2047](447118)|0;c[164287]=vi[b&2047](447128)|0;c[164011]=vi[b&2047](447139)|0;c[164397]=vi[b&2047](447149)|0;c[164253]=vi[b&2047](447160)|0;c[164430]=vi[b&2047](447170)|0;c[163890]=vi[b&2047](447181)|0;c[164419]=vi[b&2047](447191)|0;c[164255]=vi[b&2047](447202)|0;c[164278]=vi[b&2047](447212)|0;c[164026]=vi[b&2047](447223)|0;c[164401]=vi[b&2047](447240)|0;c[164227]=vi[b&2047](447255)|0;c[164209]=vi[b&2047](447268)|0;c[164339]=vi[b&2047](447280)|0;c[163793]=vi[b&2047](447291)|0;c[164157]=vi[b&2047](447305)|0;c[164429]=vi[b&2047](447315)|0;c[164589]=vi[b&2047](447326)|0;c[163923]=vi[b&2047](447339)|0;c[164580]=vi[b&2047](447352)|0;c[164631]=vi[b&2047](447364)|0;c[164199]=vi[b&2047](447372)|0;c[164405]=vi[b&2047](447384)|0;c[163924]=vi[b&2047](447397)|0;c[163925]=vi[b&2047](447405)|0;c[164601]=vi[b&2047](447413)|0;c[164602]=vi[b&2047](447421)|0;c[164345]=vi[b&2047](447429)|0;c[164347]=vi[b&2047](447441)|0;c[163981]=vi[b&2047](447453)|0;c[163982]=vi[b&2047](447465)|0;c[164623]=vi[b&2047](447477)|0;c[164163]=vi[b&2047](447491)|0;c[164625]=vi[b&2047](447506)|0;c[163712]=vi[b&2047](447520)|0;c[163677]=vi[b&2047](447535)|0;c[163797]=vi[b&2047](447549)|0;c[163678]=vi[b&2047](447564)|0;c[164383]=vi[b&2047](447578)|0;c[164375]=vi[b&2047](447593)|0;c[164609]=vi[b&2047](447605)|0;c[164374]=vi[b&2047](447618)|0;c[164238]=vi[b&2047](447630)|0;c[164358]=vi[b&2047](447643)|0;c[163934]=vi[b&2047](447655)|0;c[164239]=vi[b&2047](447667)|0;c[164234]=vi[b&2047](447684)|0;c[164626]=vi[b&2047](447701)|0;c[163837]=vi[b&2047](447714)|0;c[164676]=vi[b&2047](447728)|0;c[164196]=vi[b&2047](447742)|0;c[164647]=vi[b&2047](447755)|0;c[164300]=vi[b&2047](447768)|0;c[164249]=vi[b&2047](447783)|0;c[164490]=vi[b&2047](447796)|0;c[164133]=vi[b&2047](447809)|0;c[163687]=vi[b&2047](447820)|0;c[164029]=vi[b&2047](447831)|0;c[163834]=vi[b&2047](447842)|0;c[164651]=vi[b&2047](447858)|0;c[164003]=vi[b&2047](447874)|0;c[163964]=vi[b&2047](447890)|0;c[164628]=vi[b&2047](447907)|0;c[164504]=vi[b&2047](447924)|0;c[164246]=vi[b&2047](447944)|0;c[164615]=vi[b&2047](447958)|0;c[164565]=vi[b&2047](447972)|0;c[164269]=vi[b&2047](447986)|0;c[164677]=vi[b&2047](448e3)|0;c[164095]=vi[b&2047](448014)|0;c[163908]=vi[b&2047](612896)|0;c[163744]=vi[b&2047](612867)|0;c[164654]=vi[b&2047](612882)|0;c[164656]=vi[b&2047](448023)|0;c[164024]=vi[b&2047](612854)|0;c[164649]=vi[b&2047](448037)|0;c[164648]=vi[b&2047](448051)|0;c[163915]=vi[b&2047](448065)|0;c[164303]=vi[b&2047](448073)|0;c[163912]=vi[b&2047](448085)|0;c[164333]=vi[b&2047](448098)|0;c[164335]=vi[b&2047](612906)|0;c[164190]=vi[b&2047](448108)|0;c[164188]=vi[b&2047](448117)|0;c[163824]=vi[b&2047](448126)|0;c[163822]=vi[b&2047](448139)|0;n=a[1248827]|0}else f=1}if(f)if(1)n=((k|0)>1|(k|0)==1&d)&1;if(n<<24>>24){c[163802]=vi[b&2047](612991)|0;c[164129]=vi[b&2047](613004)|0;c[163900]=vi[b&2047](612656)|0;c[163902]=vi[b&2047](613474)|0;c[163661]=vi[b&2047](448152)|0;c[164010]=vi[b&2047](613776)|0;c[164539]=vi[b&2047](448169)|0;c[163720]=vi[b&2047](613793)|0;c[164619]=vi[b&2047](448189)|0;c[164235]=vi[b&2047](611316)|0;c[163728]=vi[b&2047](611345)|0;c[164200]=vi[b&2047](611237)|0;c[163965]=vi[b&2047](611223)|0;c[164650]=vi[b&2047](611433)|0;c[164678]=vi[b&2047](448205)|0;c[164695]=vi[b&2047](612760)|0;c[164350]=vi[b&2047](448220)|0;c[164191]=vi[b&2047](448241)|0;c[164546]=vi[b&2047](612690)|0;c[163971]=vi[b&2047](448259)|0;c[164669]=vi[b&2047](448274)|0;c[163788]=vi[b&2047](612744)|0;c[164376]=vi[b&2047](612726)|0;c[163799]=vi[b&2047](612710)|0;c[164092]=vi[b&2047](448294)|0;c[164043]=vi[b&2047](448316)|0;c[164431]=vi[b&2047](448337)|0;c[164306]=vi[b&2047](448347)|0;c[164526]=vi[b&2047](448358)|0;c[164581]=vi[b&2047](448376)|0}}else j=1}if(j)if(1){o=k;p=e;q=h;r=7}}if((r|0)==7){a[1248826]=0;a[1248827]=0;a[1248828]=0;a[1248829]=0;a[1248830]=0;a[1248831]=0;a[1248832]=0;a[1248833]=0;a[1248834]=0;a[1248835]=0;a[1248836]=0;a[1248837]=0;a[1248838]=0;a[1248839]=0;a[1248840]=0;a[1248841]=0;a[1248842]=0;a[1248843]=0;l=(q|0)>-1;a[1248844]=l&(o|0)==2?1:(o|0)>2&1;n=(o|0)==3;r=(o|0)>3&1;a[1248845]=l&n?1:r;a[1248846]=(p|0)>48&n?1:r;a[1248847]=(q|0)>1&n?1:r}if(a[1248828]|0){c[164553]=vi[b&2047](612670)|0;c[164410]=vi[b&2047](448395)|0;c[164006]=vi[b&2047](448408)|0;c[164141]=vi[b&2047](448424)|0}if(a[1248829]|0){c[164331]=vi[b&2047](613338)|0;c[164219]=vi[b&2047](613507)|0;c[164074]=vi[b&2047](448444)|0;c[163721]=vi[b&2047](611254)|0;c[164537]=vi[b&2047](448467)|0;c[163676]=vi[b&2047](448490)|0;c[164492]=vi[b&2047](611277)|0;c[164124]=vi[b&2047](448516)|0;c[164228]=vi[b&2047](448542)|0;c[164281]=vi[b&2047](612775)|0;c[163805]=vi[b&2047](448566)|0;c[163885]=vi[b&2047](448584)|0;c[163806]=vi[b&2047](448603)|0;c[164367]=vi[b&2047](448621)|0;c[163812]=vi[b&2047](448640)|0;c[164012]=vi[b&2047](448658)|0;c[163816]=vi[b&2047](448677)|0;c[164103]=vi[b&2047](448695)|0;c[164034]=vi[b&2047](448714)|0;c[164019]=vi[b&2047](448732)|0;c[164035]=vi[b&2047](448751)|0;c[164620]=vi[b&2047](448769)|0;c[163887]=vi[b&2047](448788)|0;c[164107]=vi[b&2047](448806)|0;c[163869]=vi[b&2047](448825)|0;c[164551]=vi[b&2047](448843)|0;c[164265]=vi[b&2047](448862)|0;c[164521]=vi[b&2047](448880)|0;c[164263]=vi[b&2047](448899)|0;c[163963]=vi[b&2047](448917)|0;c[164262]=vi[b&2047](448936)|0;c[164048]=vi[b&2047](448954)|0;c[164258]=vi[b&2047](448973)|0;c[164351]=vi[b&2047](448991)|0;c[164496]=vi[b&2047](449010)|0;c[164508]=vi[b&2047](449028)|0;c[164494]=vi[b&2047](449047)|0;c[164069]=vi[b&2047](449065)|0;c[164502]=vi[b&2047](449084)|0;c[164362]=vi[b&2047](449102)|0;c[164483]=vi[b&2047](449121)|0;c[163909]=vi[b&2047](449139)|0;c[164388]=vi[b&2047](449158)|0;c[164387]=vi[b&2047](449181)|0;c[164168]=vi[b&2047](449204)|0;c[164437]=vi[b&2047](449227)|0}if(a[1248830]|0){c[163723]=vi[b&2047](613684)|0;c[164567]=vi[b&2047](449250)|0;c[164083]=vi[b&2047](449268)|0;c[164479]=vi[b&2047](449288)|0;c[164459]=vi[b&2047](449306)|0;c[164444]=vi[b&2047](449325)|0;c[163873]=vi[b&2047](449343)|0;c[164009]=vi[b&2047](449362)|0;c[163836]=vi[b&2047](449374)|0;c[164008]=vi[b&2047](449387)|0;c[164267]=vi[b&2047](449399)|0;c[164271]=vi[b&2047](449412)|0;c[164071]=vi[b&2047](449430)|0;c[163833]=vi[b&2047](449449)|0;c[164067]=vi[b&2047](449469)|0;c[164280]=vi[b&2047](449488)|0;c[164111]=vi[b&2047](449508)|0;c[163702]=vi[b&2047](449527)|0;c[164240]=vi[b&2047](449547)|0;c[164435]=vi[b&2047](449566)|0;c[163905]=vi[b&2047](449586)|0;c[163997]=vi[b&2047](449605)|0;c[164464]=vi[b&2047](449625)|0;c[164046]=vi[b&2047](449645)|0;c[164467]=vi[b&2047](449666)|0;c[163800]=vi[b&2047](449686)|0;c[164285]=vi[b&2047](449707)|0;c[163889]=vi[b&2047](449727)|0;c[164357]=vi[b&2047](449748)|0;c[163670]=vi[b&2047](449772)|0;c[164230]=vi[b&2047](449786)|0;c[163669]=vi[b&2047](449801)|0;c[164575]=vi[b&2047](449815)|0;c[163668]=vi[b&2047](449830)|0;c[163691]=vi[b&2047](449844)|0;c[163665]=vi[b&2047](449859)|0;c[163713]=vi[b&2047](449873)|0;c[164450]=vi[b&2047](449888)|0;c[164644]=vi[b&2047](449902)|0;c[164485]=vi[b&2047](449917)|0;c[164295]=vi[b&2047](449931)|0;c[164482]=vi[b&2047](449946)|0;c[164058]=vi[b&2047](449960)|0;c[164478]=vi[b&2047](449975)|0;c[163917]=vi[b&2047](449989)|0;c[164447]=vi[b&2047](613704)|0;c[164512]=vi[b&2047](613354)|0}if(a[1248831]|0){c[164002]=vi[b&2047](450004)|0;c[164204]=vi[b&2047](450017)|0;c[164639]=vi[b&2047](450033)|0;c[164598]=vi[b&2047](450043)|0;c[164189]=vi[b&2047](450056)|0;c[163856]=vi[b&2047](450067)|0;c[164364]=vi[b&2047](450080)|0;c[163819]=vi[b&2047](450099)|0;c[164600]=vi[b&2047](612036)|0;c[164424]=vi[b&2047](611458)|0;c[164400]=vi[b&2047](611445)|0;c[163716]=vi[b&2047](611526)|0;c[164608]=vi[b&2047](611497)|0;c[164556]=vi[b&2047](611510)|0;c[164393]=vi[b&2047](450119)|0;c[164066]=vi[b&2047](450138)|0;c[164308]=vi[b&2047](450150)|0;c[164106]=vi[b&2047](611474)|0;c[164633]=vi[b&2047](450164)|0}if(a[1248832]|0){c[164398]=vi[b&2047](613394)|0;c[164089]=vi[b&2047](613813)|0;c[164202]=vi[b&2047](613739)|0;c[163954]=vi[b&2047](613717)|0;c[163697]=vi[b&2047](613445)|0;c[164266]=vi[b&2047](611112)|0;c[164547]=vi[b&2047](612410)|0;c[163689]=vi[b&2047](612228)|0;c[164408]=vi[b&2047](611013)|0;c[163715]=vi[b&2047](611082)|0;c[163740]=vi[b&2047](612303)|0;c[164128]=vi[b&2047](612159)|0;c[164186]=vi[b&2047](611142)|0;c[163854]=vi[b&2047](612964)|0;c[164332]=vi[b&2047](612938)|0;c[164232]=vi[b&2047](612141)|0;c[164694]=vi[b&2047](611760)|0;c[163846]=vi[b&2047](612174)|0;c[163952]=vi[b&2047](612121)|0;c[164616]=vi[b&2047](612277)|0;c[164104]=vi[b&2047](612360)|0;c[164033]=vi[b&2047](612263)|0;c[163838]=vi[b&2047](612244)|0;c[164153]=vi[b&2047](612210)|0;c[164513]=vi[b&2047](611673)|0;c[164346]=vi[b&2047](611643)|0;c[164052]=vi[b&2047](611658)|0;c[163784]=vi[b&2047](450184)|0;c[164225]=vi[b&2047](611694)|0;c[164081]=vi[b&2047](611714)|0;c[163933]=vi[b&2047](611734)|0;c[164323]=vi[b&2047](612398)|0;c[163868]=vi[b&2047](612292)|0;c[164176]=vi[b&2047](612346)|0;c[164582]=vi[b&2047](612195)|0;c[164101]=vi[b&2047](611048)|0;c[164224]=vi[b&2047](611779)|0;c[164596]=vi[b&2047](611791)|0;c[163759]=vi[b&2047](611803)|0;c[164340]=vi[b&2047](611815)|0;c[164231]=vi[b&2047](611827)|0;c[163980]=vi[b&2047](611839)|0;c[164233]=vi[b&2047](611851)|0;c[164330]=vi[b&2047](611863)|0;c[164653]=vi[b&2047](611927)|0;c[164461]=vi[b&2047](611940)|0;c[164060]=vi[b&2047](611953)|0;c[164693]=vi[b&2047](611966)|0;c[164359]=vi[b&2047](611875)|0;c[164020]=vi[b&2047](611888)|0;c[164086]=vi[b&2047](611901)|0;c[163958]=vi[b&2047](611914)|0;c[164606]=vi[b&2047](611979)|0;c[164661]=vi[b&2047](611998)|0;c[164692]=vi[b&2047](612017)|0;c[164158]=vi[b&2047](612380)|0;c[164049]=vi[b&2047](450204)|0;c[164552]=vi[b&2047](450221)|0;c[163722]=vi[b&2047](613490)|0;c[164021]=vi[b&2047](612049)|0;c[163729]=vi[b&2047](450239)|0;c[163681]=vi[b&2047](450256)|0;c[164682]=vi[b&2047](450274)|0;c[163739]=vi[b&2047](450291)|0;c[164684]=vi[b&2047](613556)|0;c[164622]=vi[b&2047](612067)|0;c[164688]=vi[b&2047](450309)|0;c[164403]=vi[b&2047](450326)|0;c[163810]=vi[b&2047](450344)|0;c[164685]=vi[b&2047](450361)|0;c[163779]=vi[b&2047](613633)|0;c[164084]=vi[b&2047](612085)|0;c[164315]=vi[b&2047](450379)|0;c[163940]=vi[b&2047](450396)|0;c[163973]=vi[b&2047](450414)|0;c[164441]=vi[b&2047](450433)|0;c[164134]=vi[b&2047](450452)|0;c[163823]=vi[b&2047](450471)|0;c[164379]=vi[b&2047](450490)|0;c[163992]=vi[b&2047](450510)|0;c[164489]=vi[b&2047](450530)|0;c[164324]=vi[b&2047](450550)|0;c[164207]=vi[b&2047](450568)|0;c[163884]=vi[b&2047](450585)|0;c[164206]=vi[b&2047](613759)|0;c[164327]=vi[b&2047](612103)|0;c[164557]=vi[b&2047](450603)|0;c[164217]=vi[b&2047](450621)|0;c[164643]=vi[b&2047](450638)|0;c[163760]=vi[b&2047](450656)|0;c[164439]=vi[b&2047](450675)|0;c[164519]=vi[b&2047](450694)|0;c[163985]=vi[b&2047](612916)|0}if(a[1248833]|0){c[164268]=vi[b&2047](450713)|0;c[163735]=vi[b&2047](450734)|0;c[164108]=vi[b&2047](450755)|0;c[164548]=vi[b&2047](450776)|0;c[163786]=vi[b&2047](450797)|0;c[163748]=vi[b&2047](450818)|0}if(a[1248834]|0){c[163764]=vi[b&2047](450839)|0;c[164701]=vi[b&2047](450852)|0;c[163686]=vi[b&2047](450868)|0;c[163709]=vi[b&2047](450884)|0;c[164577]=vi[b&2047](450894)|0;c[164013]=vi[b&2047](450905)|0;c[164528]=vi[b&2047](450918)|0;c[164518]=vi[b&2047](450943)|0;c[164473]=vi[b&2047](450966)|0;c[164555]=vi[b&2047](450984)|0;c[164139]=vi[b&2047](451001)|0;c[163690]=vi[b&2047](451029)|0;c[163957]=vi[b&2047](451059)|0;c[163941]=vi[b&2047](451072)|0;c[164545]=vi[b&2047](451097)|0;c[164406]=vi[b&2047](451120)|0;c[164634]=vi[b&2047](451143)|0;c[164481]=vi[b&2047](451164)|0;c[164212]=vi[b&2047](451186)|0;c[164016]=vi[b&2047](451204)|0;c[164144]=vi[b&2047](451222)|0;c[164391]=vi[b&2047](451240)|0;c[164399]=vi[b&2047](451258)|0;c[164197]=vi[b&2047](451277)|0;c[163663]=vi[b&2047](451296)|0;c[164506]=vi[b&2047](451315)|0;c[164530]=vi[b&2047](451334)|0;c[164572]=vi[b&2047](451353)|0;c[164338]=vi[b&2047](451372)|0;c[164380]=vi[b&2047](451391)|0;c[164681]=vi[b&2047](451410)|0;c[164452]=vi[b&2047](451430)|0;c[164585]=vi[b&2047](451450)|0;c[164458]=vi[b&2047](451470)|0;c[164497]=vi[b&2047](451490)|0;c[164283]=vi[b&2047](451509)|0;c[163870]=vi[b&2047](451528)|0;c[164148]=vi[b&2047](451548)|0;c[163903]=vi[b&2047](451568)|0;c[164040]=vi[b&2047](451584)|0;c[163826]=vi[b&2047](451607)|0;c[163803]=vi[b&2047](451629)|0;c[164571]=vi[b&2047](451642)|0;c[164455]=vi[b&2047](451655)|0;c[164242]=vi[b&2047](451668)|0;c[164138]=vi[b&2047](451681)|0;c[164123]=vi[b&2047](451695)|0;c[164160]=vi[b&2047](451709)|0;c[164023]=vi[b&2047](451723)|0;c[164511]=vi[b&2047](451737)|0;c[164290]=vi[b&2047](451755)|0;c[164610]=vi[b&2047](451774)|0;c[163969]=vi[b&2047](451795)|0;c[164443]=vi[b&2047](451817)|0;c[164704]=vi[b&2047](451833)|0;c[163750]=vi[b&2047](451850)|0;c[163765]=vi[b&2047](451866)|0;c[164259]=vi[b&2047](451882)|0;c[163847]=vi[b&2047](611626)|0;c[164317]=vi[b&2047](611578)|0;c[163979]=vi[b&2047](611556)|0;c[163719]=vi[b&2047](611537)|0;c[163747]=vi[b&2047](613662)|0;c[163927]=vi[b&2047](611597)|0;c[164411]=vi[b&2047](612575)|0;c[164245]=vi[b&2047](612431)|0;c[163801]=vi[b&2047](612467)|0;c[163840]=vi[b&2047](612449)|0;c[164541]=vi[b&2047](613296)|0;c[164031]=vi[b&2047](451895)|0;c[163820]=vi[b&2047](612514)|0;c[164277]=vi[b&2047](451918)|0;c[163673]=vi[b&2047](612488)|0;c[163821]=vi[b&2047](612537)|0;c[164292]=vi[b&2047](613321)|0;c[163768]=vi[b&2047](451941)|0;c[164341]=vi[b&2047](451959)|0;c[163987]=vi[b&2047](451992)|0;c[164560]=vi[b&2047](452018)|0;c[163993]=vi[b&2047](452035)|0;c[164109]=vi[b&2047](612836)|0;c[163936]=vi[b&2047](612815)|0;c[164343]=vi[b&2047](612797)|0;c[163853]=vi[b&2047](452060)|0}if(a[1248835]|0){c[164291]=vi[b&2047](613091)|0;c[163916]=vi[b&2047](613113)|0;c[164156]=vi[b&2047](452076)|0;c[164416]=vi[b&2047](452088)|0;c[164680]=vi[b&2047](452112)|0;c[163867]=vi[b&2047](452132)|0;c[163876]=vi[b&2047](452152)|0;c[163813]=vi[b&2047](452174)|0;c[164599]=vi[b&2047](452197)|0;c[164091]=vi[b&2047](452220)|0;c[164584]=vi[b&2047](452246)|0;c[164368]=vi[b&2047](452274)|0;c[164473]=vi[b&2047](450966)|0;c[164555]=vi[b&2047](450984)|0;c[163686]=vi[b&2047](450868)|0}if(a[1248836]|0){c[163945]=vi[b&2047](452296)|0;c[163733]=vi[b&2047](452321)|0;c[164353]=vi[b&2047](452351)|0;c[164116]=vi[b&2047](452385)|0;c[164273]=vi[b&2047](452415)|0;c[163935]=vi[b&2047](452433)|0;c[163976]=vi[b&2047](452445)|0;c[164076]=vi[b&2047](452454)|0;c[164505]=vi[b&2047](452467)|0;c[164214]=vi[b&2047](452484)|0;c[163872]=vi[b&2047](452495)|0;c[164590]=vi[b&2047](452511)|0;c[164007]=vi[b&2047](452523)|0;c[164210]=vi[b&2047](452541)|0;c[164561]=vi[b&2047](452566)|0;c[164080]=vi[b&2047](452587)|0;c[164690]=vi[b&2047](452611)|0;c[163717]=vi[b&2047](452635)|0;c[163731]=vi[b&2047](452654)|0}if(a[1248837]|0){c[164017]=vi[b&2047](452668)|0;c[163776]=vi[b&2047](452698)|0;c[163956]=vi[b&2047](452717)|0;c[163752]=vi[b&2047](452731)|0;c[164532]=vi[b&2047](452748)|0;c[163683]=vi[b&2047](452760)|0;c[164220]=vi[b&2047](452774)|0;c[164298]=vi[b&2047](452794)|0;c[164222]=vi[b&2047](452815)|0;c[164348]=vi[b&2047](452835)|0;c[164115]=vi[b&2047](452856)|0;c[164454]=vi[b&2047](452878)|0;c[164514]=vi[b&2047](452901)|0;c[163775]=vi[b&2047](452925)|0;c[163861]=vi[b&2047](452950)|0;c[164472]=vi[b&2047](452974)|0;c[164270]=vi[b&2047](453e3)|0;c[163839]=vi[b&2047](453015)|0;c[164686]=vi[b&2047](453036)|0;c[164534]=vi[b&2047](613069)|0;c[164005]=vi[b&2047](453058)|0;c[164175]=vi[b&2047](453077)|0;c[164617]=vi[b&2047](453097)|0;c[164184]=vi[b&2047](453116)|0;c[163893]=vi[b&2047](453136)|0;c[164627]=vi[b&2047](453155)|0;c[163714]=vi[b&2047](453175)|0;c[164321]=vi[b&2047](453194)|0;c[163732]=vi[b&2047](453214)|0;c[164434]=vi[b&2047](453227)|0;c[164533]=vi[b&2047](453241)|0;c[163830]=vi[b&2047](453254)|0;c[163707]=vi[b&2047](453268)|0;c[164570]=vi[b&2047](453281)|0;c[164613]=vi[b&2047](453295)|0;c[163960]=vi[b&2047](453310)|0;c[163763]=vi[b&2047](453326)|0;c[164593]=vi[b&2047](453341)|0;c[163809]=vi[b&2047](453357)|0;c[163789]=vi[b&2047](453372)|0;c[163983]=vi[b&2047](453388)|0;c[164427]=vi[b&2047](453403)|0;c[163897]=vi[b&2047](453419)|0;c[164059]=vi[b&2047](453439)|0;c[163770]=vi[b&2047](453460)|0;c[164164]=vi[b&2047](453480)|0;c[163703]=vi[b&2047](453501)|0;c[163892]=vi[b&2047](453521)|0;c[163794]=vi[b&2047](453542)|0;c[163948]=vi[b&2047](453562)|0;c[164286]=vi[b&2047](453583)|0;c[164205]=vi[b&2047](453596)|0;c[163937]=vi[b&2047](453610)|0;c[163685]=vi[b&2047](453622)|0;c[164371]=vi[b&2047](453635)|0;c[164446]=vi[b&2047](453647)|0;c[164015]=vi[b&2047](453660)|0;c[164629]=vi[b&2047](453681)|0}if(a[1248838]|0){c[163725]=vi[b&2047](453703)|0;c[163882]=vi[b&2047](453722)|0;c[164498]=vi[b&2047](453739)|0;c[164550]=vi[b&2047](453764)|0;c[164562]=vi[b&2047](453777)|0;c[163766]=vi[b&2047](453798)|0;c[164465]=vi[b&2047](453819)|0;c[164226]=vi[b&2047](453842)|0;c[164604]=vi[b&2047](453854)|0;c[163758]=vi[b&2047](453866)|0;c[164032]=vi[b&2047](453878)|0;c[163968]=vi[b&2047](453890)|0;c[163920]=vi[b&2047](453903)|0;c[164665]=vi[b&2047](453916)|0;c[164050]=vi[b&2047](453929)|0;c[164549]=vi[b&2047](453942)|0;c[163787]=vi[b&2047](453961)|0;c[164079]=vi[b&2047](453980)|0;c[163995]=vi[b&2047](453999)|0;c[164621]=vi[b&2047](454020)|0;c[164326]=vi[b&2047](454041)|0;c[164296]=vi[b&2047](454062)|0;c[164082]=vi[b&2047](454083)|0;c[164194]=vi[b&2047](454104)|0;c[164477]=vi[b&2047](454125)|0;c[164670]=vi[b&2047](454140)|0;c[164402]=vi[b&2047](454171)|0;c[164152]=vi[b&2047](454192)|0;c[164462]=vi[b&2047](454223)|0;c[164361]=vi[b&2047](454256)|0;c[163674]=vi[b&2047](454282)|0;c[164520]=vi[b&2047](454306)|0;c[164322]=vi[b&2047](454332)|0;c[164594]=vi[b&2047](454352)|0;c[164045]=vi[b&2047](454370)|0;c[164683]=vi[b&2047](454389)|0;c[164538]=vi[b&2047](454413)|0;c[164486]=vi[b&2047](454440)|0;c[164329]=vi[b&2047](454464)|0;c[163769]=vi[b&2047](454486)|0;c[164460]=vi[b&2047](454511)|0;c[163967]=vi[b&2047](454537)|0;c[164264]=vi[b&2047](454561)|0;c[163928]=vi[b&2047](454591)|0;c[164028]=vi[b&2047](454611)|0;c[164385]=vi[b&2047](454629)|0}if(a[1248839]|0){c[164586]=vi[b&2047](613034)|0;c[164274]=vi[b&2047](613019)|0;c[163943]=vi[b&2047](612319)|0;c[163700]=vi[b&2047](613431)|0;c[164480]=vi[b&2047](613167)|0;c[164100]=vi[b&2047](454649)|0;c[164531]=vi[b&2047](454668)|0;c[163807]=vi[b&2047](454684)|0;c[164372]=vi[b&2047](454704)|0;c[163785]=vi[b&2047](454723)|0;c[164360]=vi[b&2047](454745)|0;c[164425]=vi[b&2047](454768)|0;c[164703]=vi[b&2047](454790)|0;c[164165]=vi[b&2047](454815)|0;c[164334]=vi[b&2047](454837)|0;c[164381]=vi[b&2047](454857)|0;c[163919]=vi[b&2047](454880)|0;c[164312]=vi[b&2047](454899)|0;c[163922]=vi[b&2047](454919)|0;c[164691]=vi[b&2047](454938)|0;c[163921]=vi[b&2047](454958)|0;c[164216]=vi[b&2047](454977)|0;c[163986]=vi[b&2047](454997)|0;c[163851]=vi[b&2047](455017)|0;c[164595]=vi[b&2047](455038)|0;c[163855]=vi[b&2047](455057)|0;c[164182]=vi[b&2047](455077)|0;c[163994]=vi[b&2047](455096)|0;c[164093]=vi[b&2047](455116)|0;c[164027]=vi[b&2047](455135)|0;c[164641]=vi[b&2047](455155)|0;c[164591]=vi[b&2047](455175)|0;c[164187]=vi[b&2047](455196)|0;c[163929]=vi[b&2047](455215)|0;c[164377]=vi[b&2047](455235)|0;c[164451]=vi[b&2047](455254)|0;c[164378]=vi[b&2047](455274)|0;c[163710]=vi[b&2047](455293)|0;c[163898]=vi[b&2047](455313)|0;c[164456]=vi[b&2047](455333)|0;c[164252]=vi[b&2047](455354)|0;c[164096]=vi[b&2047](455373)|0;c[164254]=vi[b&2047](455393)|0;c[164636]=vi[b&2047](455412)|0;c[164256]=vi[b&2047](455432)|0;c[164445]=vi[b&2047](455451)|0;c[164642]=vi[b&2047](455471)|0;c[164241]=vi[b&2047](455491)|0;c[164294]=vi[b&2047](455512)|0;c[164036]=vi[b&2047](455538)|0;c[163780]=vi[b&2047](455564)|0;c[163718]=vi[b&2047](455590)|0;c[164272]=vi[b&2047](455616)|0;c[163996]=vi[b&2047](455642)|0;c[164442]=vi[b&2047](455668)|0;c[163774]=vi[b&2047](455696)|0;c[164578]=vi[b&2047](455724)|0;c[164563]=vi[b&2047](455752)|0;c[164064]=vi[b&2047](455780)|0;c[164666]=vi[b&2047](455808)|0;c[164173]=vi[b&2047](455836)|0;c[163771]=vi[b&2047](455864)|0;c[163999]=vi[b&2047](455892)|0;c[163866]=vi[b&2047](455920)|0;c[163845]=vi[b&2047](455948)|0;c[164094]=vi[b&2047](455976)|0;c[163944]=vi[b&2047](456004)|0;c[164062]=vi[b&2047](456030)|0;c[164564]=vi[b&2047](456058)|0;c[164363]=vi[b&2047](456076)|0;c[164702]=vi[b&2047](456094)|0;c[163777]=vi[b&2047](456112)|0;c[163894]=vi[b&2047](456130)|0;c[164354]=vi[b&2047](456149)|0;c[164476]=vi[b&2047](456168)|0;c[163918]=vi[b&2047](456187)|0;c[164349]=vi[b&2047](456206)|0;c[164394]=vi[b&2047](456229)|0;c[164289]=vi[b&2047](456250)|0;c[164161]=vi[b&2047](456267)|0;c[164208]=vi[b&2047](456286)|0;c[164042]=vi[b&2047](456306)|0;c[164569]=vi[b&2047](456322)|0;c[164404]=vi[b&2047](456339)|0;c[164195]=vi[b&2047](456357)|0;c[164126]=vi[b&2047](456376)|0;c[164507]=vi[b&2047](456396)|0;c[163679]=vi[b&2047](456410)|0}if(a[1248840]|0){c[164700]=vi[b&2047](456425)|0;c[163708]=vi[b&2047](456459)|0;c[163938]=vi[b&2047](456495)|0;c[164022]=vi[b&2047](456541)|0;c[164201]=vi[b&2047](456563)|0;c[163778]=vi[b&2047](456596)|0;c[163814]=vi[b&2047](456615)|0;c[164223]=vi[b&2047](456631)|0;c[164655]=vi[b&2047](456646)|0;c[164382]=vi[b&2047](456661)|0;c[163962]=vi[b&2047](456676)|0;c[163692]=vi[b&2047](456709)|0}if(a[1248841]|0){c[164527]=vi[b&2047](456748)|0;c[164221]=vi[b&2047](456766)|0;c[164e3]=vi[b&2047](456787)|0;c[164470]=vi[b&2047](456805)|0;c[164018]=vi[b&2047](456831)|0;c[164192]=vi[b&2047](456850)|0;c[164675]=vi[b&2047](456874)|0;c[164130]=vi[b&2047](456902)|0;c[164418]=vi[b&2047](456926)|0;c[164145]=vi[b&2047](456950)|0;c[163792]=vi[b&2047](456971)|0;c[164053]=vi[b&2047](456997)|0;c[164038]=vi[b&2047](457020)|0;c[164065]=vi[b&2047](457044)|0;c[163746]=vi[b&2047](457071)|0;c[164355]=vi[b&2047](457097)|0;c[163886]=vi[b&2047](457125)|0;c[164463]=vi[b&2047](457149)|0;c[164193]=vi[b&2047](457175)|0;c[164706]=vi[b&2047](457200)|0;c[164198]=vi[b&2047](457223)|0;c[164501]=vi[b&2047](457252)|0;c[163863]=vi[b&2047](457286)|0;c[164697]=vi[b&2047](457314)|0;c[164603]=vi[b&2047](457331)|0;c[163953]=vi[b&2047](457357)|0;c[164576]=vi[b&2047](457383)|0;c[164522]=vi[b&2047](457397)|0;c[164146]=vi[b&2047](457416)|0;c[164587]=vi[b&2047](457437)|0;c[164117]=vi[b&2047](457459)|0;c[164150]=vi[b&2047](457481)|0;c[163901]=vi[b&2047](457503)|0;c[163736]=vi[b&2047](457526)|0;c[164524]=vi[b&2047](457548)|0;c[164143]=vi[b&2047](457569)|0;c[163850]=vi[b&2047](457592)|0;c[163942]=vi[b&2047](457613)|0;c[163881]=vi[b&2047](457630)|0;c[164390]=vi[b&2047](457646)|0;c[164181]=vi[b&2047](457660)|0;c[164037]=vi[b&2047](457677)|0;c[163989]=vi[b&2047](457694)|0;c[163900]=vi[b&2047](612656)|0;c[163900]=vi[b&2047](612656)|0}if(a[1248842]|0){c[164503]=vi[b&2047](457714)|0;c[164105]=vi[b&2047](457730)|0;c[163844]=vi[b&2047](457746)|0;c[164668]=vi[b&2047](457765)|0;c[164014]=vi[b&2047](457783)|0;c[164039]=vi[b&2047](457802)|0;c[164535]=vi[b&2047](457817)|0;c[164422]=vi[b&2047](457832)|0;c[163951]=vi[b&2047](457852)|0}c[s+16>>2]=b;c[s+224>>2]=0;c[s+228>>2]=0;rza(s);c[s+16>>2]=b;c[s+24>>2]=m;c[s+216>>2]=0;c[s+220>>2]=0;qza(s);A=c[s+216>>2]|0;t=c[s+220>>2]|0;B=+g[s+220>>2];c[s+216>>2]=0;c[s+220>>2]=0;if((A|0)==6){i=s;return t|0}i=s;return 0|0;return 0}function Lsa(){a[1248848]=(Msa(460816)|0)&1;Msa(460847)|0;Msa(460887)|0;a[1248849]=(Msa(460916)|0)&1;Msa(460929)|0;Msa(460945)|0;a[1248850]=(Msa(460982)|0)&1;Msa(461e3)|0;a[1248851]=(Msa(461036)|0)&1;Msa(461072)|0;Msa(461114)|0;a[1248852]=(Msa(461138)|0)&1;a[1248853]=(Msa(461159)|0)&1;a[1248854]=(Msa(461183)|0)&1;a[1248855]=(Msa(461210)|0)&1;a[1248856]=(Msa(461232)|0)&1;a[1248857]=(Msa(461248)|0)&1;a[1248858]=(Msa(461275)|0)&1;a[1248859]=(Msa(461296)|0)&1;a[1248860]=(Msa(461316)|0)&1;Msa(461342)|0;Msa(461363)|0;a[1248861]=(Msa(461403)|0)&1;a[1248862]=(Msa(461425)|0)&1;Msa(461460)|0;Msa(461495)|0;a[1248863]=(Msa(461521)|0)&1;a[1248864]=(Msa(461540)|0)&1;Msa(461558)|0;a[1248865]=(Msa(461579)|0)&1;Msa(461599)|0;Msa(461625)|0;Msa(461644)|0;a[1248866]=(Msa(461670)|0)&1;a[1248867]=(Msa(461697)|0)&1;a[1248868]=(Msa(461723)|0)&1;a[1248869]=(Msa(461756)|0)&1;a[1248870]=(Msa(461777)|0)&1;Msa(461799)|0;a[1248871]=(Msa(461823)|0)&1;a[1248872]=(Msa(461848)|0)&1;a[1248873]=(Msa(461875)|0)&1;a[1248874]=(Msa(461902)|0)&1;Msa(461927)|0;Msa(461959)|0;Msa(461992)|0;Msa(462026)|0;Msa(462057)|0;a[1248875]=(Msa(462090)|0)&1;a[1248876]=(Msa(462124)|0)&1;a[1248877]=(Msa(462150)|0)&1;a[1248878]=(Msa(462174)|0)&1;a[1248879]=(Msa(462198)|0)&1;a[1248880]=(Msa(462224)|0)&1;Msa(462253)|0;a[1248881]=(Msa(462272)|0)&1;a[1248882]=(Msa(462295)|0)&1;Msa(462319)|0;Msa(462343)|0;a[1248883]=(Msa(462368)|0)&1;a[1248884]=(Msa(462395)|0)&1;a[1248885]=(Msa(462419)|0)&1;a[1248886]=(Msa(462447)|0)&1;a[1248887]=(Msa(462476)|0)&1;Msa(462502)|0;a[1248888]=(Msa(462530)|0)&1;a[1248889]=(Msa(462554)|0)&1;a[1248890]=(Msa(462572)|0)&1;Msa(462599)|0;a[1248891]=(Msa(462623)|0)&1;Msa(462654)|0;Msa(462687)|0;Msa(462714)|0;a[1248892]=(Msa(462741)|0)&1;a[1248893]=(Msa(462772)|0)&1;Msa(462796)|0;Msa(462823)|0;a[1248894]=(Msa(462860)|0)&1;Msa(462878)|0;a[1248895]=(Msa(462906)|0)&1;a[1248896]=(Msa(462930)|0)&1;a[1248897]=(Msa(462952)|0)&1;Msa(462975)|0;Msa(463e3)|0;a[1248898]=(Msa(463036)|0)&1;Msa(463067)|0;a[1248899]=(Msa(463100)|0)&1;Msa(463130)|0;Msa(463151)|0;Msa(463178)|0;Msa(463198)|0;Msa(463228)|0;a[1248900]=(Msa(463253)|0)&1;Msa(463284)|0;Msa(463309)|0;Msa(463333)|0;a[1248901]=(Msa(463362)|0)&1;a[1248902]=(Msa(463398)|0)&1;Msa(463423)|0;Msa(463459)|0;Msa(463485)|0;Msa(463520)|0;a[1248903]=(Msa(463552)|0)&1;Msa(463584)|0;a[1248904]=(Msa(463616)|0)&1;a[1248905]=(Msa(463637)|0)&1;Msa(463659)|0;Msa(463682)|0;Msa(463710)|0;a[1248906]=(Msa(463735)|0)&1;a[1248907]=(Msa(463747)|0)&1;a[1248908]=(Msa(463774)|0)&1;a[1248909]=(Msa(463797)|0)&1;Msa(463826)|0;a[1248910]=(Msa(463861)|0)&1;a[1248911]=(Msa(463889)|0)&1;a[1248912]=(Msa(463921)|0)&1;Msa(463953)|0;Msa(463983)|0;a[1248913]=(Msa(464012)|0)&1;Msa(464033)|0;Msa(464055)|0;a[1248914]=(Msa(464091)|0)&1;Msa(464118)|0;Msa(464146)|0;Msa(464171)|0;a[1248915]=(Msa(464196)|0)&1;Msa(464214)|0;Msa(464240)|0;a[1248916]=(Msa(464264)|0)&1;a[1248917]=(Msa(464287)|0)&1;Msa(464322)|0;a[1248918]=(Msa(464345)|0)&1;a[1248919]=(Msa(464365)|0)&1;a[1248920]=(Msa(464384)|0)&1;a[1248921]=(Msa(464411)|0)&1;a[1248922]=(Msa(464438)|0)&1;Msa(464474)|0;a[1248923]=(Msa(464515)|0)&1;Msa(464544)|0;a[1248924]=(Msa(464569)|0)&1;a[1248925]=(Msa(464596)|0)&1;a[1248926]=(Msa(464623)|0)&1;Msa(464652)|0;a[1248927]=(Msa(464687)|0)&1;a[1248928]=(Msa(464721)|0)&1;a[1248929]=(Msa(464743)|0)&1;Msa(464764)|0;a[1248930]=(Msa(464776)|0)&1;a[1248931]=(Msa(464800)|0)&1;a[1248932]=(Msa(464827)|0)&1;a[1248933]=(Msa(464847)|0)&1;Msa(464869)|0;a[1248934]=(Msa(464895)|0)&1;a[1248935]=(Msa(464926)|0)&1;a[1248936]=(Msa(464944)|0)&1;a[1248937]=(Msa(464963)|0)&1;a[1248938]=(Msa(464983)|0)&1;a[1248939]=(Msa(465010)|0)&1;a[1248940]=(Msa(465037)|0)&1;a[1248941]=(Msa(465065)|0)&1;a[1248942]=(Msa(465085)|0)&1;a[1248943]=(Msa(465106)|0)&1;a[1248944]=(Msa(465134)|0)&1;a[1248945]=(Msa(465167)|0)&1;Msa(465189)|0;a[1248946]=(Msa(465208)|0)&1;a[1248947]=(Msa(465232)|0)&1;Msa(465263)|0;a[1248948]=(Msa(465306)|0)&1;a[1248949]=(Msa(465332)|0)&1;Msa(465356)|0;a[1248950]=(Msa(465383)|0)&1;a[1248951]=(Msa(465406)|0)&1;a[1248952]=(Msa(465430)|0)&1;a[1248953]=(Msa(465460)|0)&1;Msa(465479)|0;a[1248954]=(Msa(465498)|0)&1;a[1248955]=(Msa(465522)|0)&1;a[1248956]=(Msa(465546)|0)&1;Msa(465573)|0;a[1248957]=(Msa(465607)|0)&1;a[1248958]=(Msa(465645)|0)&1;a[1248959]=(Msa(465675)|0)&1;a[1248960]=(Msa(465706)|0)&1;a[1248961]=(Msa(465734)|0)&1;Msa(465754)|0;a[1248962]=(Msa(465781)|0)&1;Msa(465809)|0;a[1248963]=(Msa(465836)|0)&1;a[1248964]=(Msa(465866)|0)&1;a[1248965]=(Msa(465890)|0)&1;a[1248966]=(Msa(465908)|0)&1;Msa(465934)|0;Msa(465958)|0;a[1248967]=(Msa(465978)|0)&1;a[1248968]=(Msa(465996)|0)&1;Msa(466027)|0;Msa(466059)|0;a[1248969]=(Msa(466094)|0)&1;Msa(466125)|0;Msa(466160)|0;Msa(466186)|0;Msa(466210)|0;Msa(466244)|0;Msa(466270)|0;a[1248970]=(Msa(466293)|0)&1;Msa(466315)|0;a[1248971]=(Msa(466338)|0)&1;a[1248972]=(Msa(466350)|0)&1;a[1248973]=(Msa(466376)|0)&1;Msa(466401)|0;a[1248974]=(Msa(466432)|0)&1;a[1248975]=(Msa(466459)|0)&1;a[1248976]=(Msa(466480)|0)&1;a[1248977]=(Msa(466508)|0)&1;a[1248978]=(Msa(466530)|0)&1;a[1248979]=(Msa(466559)|0)&1;Msa(466591)|0;a[1248980]=(Msa(466623)|0)&1;a[1248981]=(Msa(466655)|0)&1;Msa(466687)|0;Msa(466711)|0;a[1248982]=(Msa(466741)|0)&1;a[1248983]=(Msa(466775)|0)&1;Msa(466804)|0;a[1248984]=(Msa(466835)|0)&1;Msa(466858)|0;a[1248985]=(Msa(466880)|0)&1;Msa(466898)|0;Msa(466929)|0;a[1248986]=(Msa(466950)|0)&1;Msa(466970)|0;Msa(466997)|0;Msa(467020)|0;a[1248987]=(Msa(467044)|0)&1;Msa(467067)|0;Msa(467090)|0;a[1248988]=(Msa(467125)|0)&1;a[1248989]=(Msa(467145)|0)&1;a[1248990]=(Msa(467164)|0)&1;Msa(467190)|0;Msa(467213)|0;a[1248991]=(Msa(467238)|0)&1;a[1248992]=(Msa(467265)|0)&1;Msa(467288)|0;Msa(467306)|0;a[1248993]=(Msa(467346)|0)&1;a[1248994]=(Msa(467382)|0)&1;Msa(467400)|0;Msa(467415)|0;Msa(467430)|0;a[1248995]=(Msa(467451)|0)&1;a[1248996]=(Msa(467479)|0)&1;a[1248997]=(Msa(467512)|0)&1;Msa(467529)|0;Msa(467555)|0;Msa(467587)|0;Msa(467613)|0;Msa(467638)|0;Msa(467669)|0;a[1248998]=(Msa(467696)|0)&1;a[1248999]=(Msa(467719)|0)&1;Msa(467745)|0;a[1249e3]=(Msa(467764)|0)&1;a[1249001]=(Msa(467781)|0)&1;a[1249002]=(Msa(467809)|0)&1;Msa(467839)|0;a[1249003]=(Msa(467870)|0)&1;a[1249004]=(Msa(467888)|0)&1;Msa(467910)|0;Msa(467934)|0;Msa(467961)|0;Msa(467985)|0;Msa(468025)|0;Msa(468053)|0;Msa(468069)|0;Msa(468085)|0;Msa(468112)|0;a[1249005]=(Msa(468143)|0)&1;a[1249006]=(Msa(468170)|0)&1;a[1249007]=(Msa(468188)|0)&1;a[1249008]=(Msa(468216)|0)&1;Msa(468238)|0;Msa(468270)|0;Msa(468300)|0;Msa(468321)|0;a[1249009]=(Msa(468349)|0)&1;Msa(468375)|0;a[1249010]=(Msa(468408)|0)&1;Msa(468428)|0;a[1249011]=(Msa(468452)|0)&1;a[1249012]=(Msa(468496)|0)&1;a[1249013]=(Msa(468516)|0)&1;Msa(468543)|0;Msa(468568)|0;Msa(468598)|0;Msa(468625)|0;Msa(468655)|0;Msa(468685)|0;a[1249014]=(Msa(468711)|0)&1;Msa(468731)|0;a[1249015]=(Msa(468759)|0)&1;Msa(468785)|0;a[1249016]=(Msa(468803)|0)&1;a[1249017]=(Msa(468827)|0)&1;a[1249018]=(Msa(468855)|0)&1;a[1249019]=(Msa(468882)|0)&1;a[1249020]=(Msa(468905)|0)&1;a[1249021]=(Msa(468934)|0)&1;Msa(468961)|0;Msa(468982)|0;Msa(469009)|0;a[1249022]=(Msa(469036)|0)&1;Msa(469060)|0;Msa(469096)|0;Msa(469129)|0;Msa(469158)|0;a[1249023]=(Msa(469187)|0)&1;a[1249024]=(Msa(469209)|0)&1;Msa(469243)|0;Msa(469267)|0;Msa(469310)|0;Msa(469337)|0;a[1249025]=(Msa(469364)|0)&1;Msa(469397)|0;Msa(469433)|0;Msa(469465)|0;a[1249026]=(Msa(469488)|0)&1;a[1249027]=(Msa(469514)|0)&1;a[1249028]=(Msa(469547)|0)&1;Msa(469573)|0;Msa(469605)|0;a[1249029]=(Msa(469629)|0)&1;a[1249030]=(Msa(469663)|0)&1;a[1249031]=(Msa(469697)|0)&1;a[1249032]=(Msa(469720)|0)&1;Msa(469754)|0;Msa(469781)|0;Msa(469805)|0;a[1249033]=(Msa(469828)|0)&1;a[1249034]=(Msa(469863)|0)&1;a[1249035]=(Msa(469892)|0)&1;a[1249036]=(Msa(469915)|0)&1;Msa(469930)|0;a[1249037]=(Msa(469952)|0)&1;a[1249038]=(Msa(469980)|0)&1;a[1249039]=(Msa(470013)|0)&1;Msa(470039)|0;Msa(470056)|0;a[1249040]=(Msa(470075)|0)&1;Msa(470089)|0;Msa(470122)|0;Msa(470149)|0;a[1249041]=(Msa(470179)|0)&1;a[1249042]=(Msa(470202)|0)&1;a[1249043]=(Msa(470231)|0)&1;a[1249044]=(Msa(470259)|0)&1;Msa(470294)|0;Msa(470313)|0;Msa(470340)|0;a[1249045]=(Msa(470366)|0)&1;Msa(470379)|0;Msa(470411)|0;Msa(470457)|0;Msa(470472)|0;Msa(470498)|0;Msa(470520)|0;Msa(470541)|0;a[1249046]=(Msa(470567)|0)&1;a[1249047]=(Msa(470595)|0)&1;a[1249048]=(Msa(470620)|0)&1;Msa(470658)|0;Msa(470680)|0;Msa(470699)|0;a[1249049]=(Msa(470720)|0)&1;Msa(470753)|0;Msa(470787)|0;a[1249050]=(Msa(470815)|0)&1;Msa(470843)|0;a[1249051]=(Msa(470877)|0)&1;a[1249052]=(Msa(470903)|0)&1;a[1249053]=(Msa(470924)|0)&1;Msa(470951)|0;Msa(470971)|0;Msa(470993)|0;a[1249054]=(Msa(471016)|0)&1;a[1249055]=(Msa(471051)|0)&1;a[1249056]=(Msa(471092)|0)&1;a[1249057]=(Msa(471115)|0)&1;Msa(471145)|0;a[1249058]=(Msa(471184)|0)&1;Msa(471203)|0;a[1249059]=(Msa(471226)|0)&1;a[1249060]=(Msa(471251)|0)&1;a[1249061]=(Msa(471277)|0)&1;a[1249062]=(Msa(471310)|0)&1;a[1249063]=(Msa(471328)|0)&1;a[1249064]=(Msa(471345)|0)&1;Msa(471367)|0;a[1249065]=(Msa(471388)|0)&1;Msa(471413)|0;Msa(471431)|0;a[1249066]=(Msa(471453)|0)&1;a[1249067]=(Msa(471472)|0)&1;a[1249068]=(Msa(471493)|0)&1;Msa(471512)|0;a[1249069]=(Msa(471543)|0)&1;Msa(471570)|0;a[1249070]=(Msa(471598)|0)&1;Msa(471610)|0;Msa(471631)|0;a[1249071]=(Msa(471650)|0)&1;Msa(471683)|0;Msa(471707)|0;a[1249072]=(Msa(471739)|0)&1;a[1249073]=(Msa(471762)|0)&1;a[1249074]=(Msa(471794)|0)&1;a[1249075]=(Msa(471824)|0)&1;Msa(471863)|0;a[1249076]=(Msa(471890)|0)&1;Msa(471914)|0;Msa(471937)|0;a[1249077]=(Msa(471971)|0)&1;a[1249078]=(Msa(471990)|0)&1;Msa(472009)|0;a[1249079]=(Msa(472041)|0)&1;a[1249080]=(Msa(472059)|0)&1;Msa(472076)|0;a[1249081]=(Msa(472096)|0)&1;a[1249082]=(Msa(472119)|0)&1;Msa(472153)|0;a[1249083]=(Msa(472180)|0)&1;a[1249084]=(Msa(472206)|0)&1;a[1249085]=(Msa(472228)|0)&1;Msa(472258)|0;a[1249086]=(Msa(472289)|0)&1;Msa(472310)|0;a[1249087]=(Msa(472343)|0)&1;a[1249088]=(Msa(472362)|0)&1;a[1249089]=(Msa(472382)|0)&1;a[1249090]=(Msa(472406)|0)&1;Msa(472424)|0;Msa(472448)|0;Msa(472465)|0;Msa(472490)|0;a[1249091]=(Msa(472509)|0)&1;Msa(472532)|0;Msa(472568)|0;Msa(472597)|0;Msa(472623)|0;Msa(472655)|0;a[1249092]=(Msa(472681)|0)&1;Msa(472706)|0;Msa(472732)|0;Msa(472773)|0;Msa(472808)|0;Msa(472834)|0;Msa(472862)|0;Msa(472890)|0;Msa(472917)|0;Msa(472936)|0;a[1249093]=(Msa(472964)|0)&1;a[1249094]=(Msa(472986)|0)&1;Msa(473013)|0;a[1249095]=(Msa(473051)|0)&1;Msa(473077)|0;a[1249096]=(Msa(473106)|0)&1;a[1249097]=(Msa(473131)|0)&1;Msa(473157)|0;a[1249098]=(Msa(473193)|0)&1;a[1249099]=(Msa(473213)|0)&1;a[1249100]=(Msa(473247)|0)&1;a[1249101]=(Msa(473282)|0)&1;a[1249102]=(Msa(473304)|0)&1;a[1249103]=(Msa(473324)|0)&1;Msa(473345)|0;a[1249104]=(Msa(473367)|0)&1;Msa(473393)|0;a[1249105]=(Msa(473416)|0)&1;Msa(473433)|0;a[1249106]=(Msa(473451)|0)&1;a[1249107]=(Msa(473499)|0)&1;Msa(473518)|0;a[1249108]=(Msa(473542)|0)&1;a[1249109]=(Msa(473565)|0)&1;a[1249110]=(Msa(473586)|0)&1;Msa(473608)|0;a[1249111]=(Msa(473636)|0)&1;Msa(473660)|0;Msa(473688)|0;return}function Msa(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+16|0;if((c[165797]|0)>=3){si[c[164630]&511](33309,h);if((c[h>>2]|0)>0)d=0;else{g=0;i=h;return g|0}while(1){if(!(Imb(Xi[c[164259]&511](7939,d)|0,b)|0)){d=1;g=12;break}d=d+1|0;if((d|0)>=(c[h>>2]|0)){d=0;g=12;break}}if((g|0)==12){i=h;return d|0}}e=vi[c[164183]&2047](7939)|0;if((b|0)==0|(e|0)==0){g=0;i=h;return g|0}d=pob(e,b)|0;if(!d){g=0;i=h;return g|0}f=rnb(b)|0;a:while(1){if((d|0)==(e|0))g=7;else if((a[d+-1>>0]|0)==32)g=7;e=d+f|0;if((g|0)==7){g=0;switch(a[e>>0]|0){case 0:case 32:{d=1;g=13;break a}default:{}}}d=pob(e,b)|0;if(!d){d=0;g=13;break}}if((g|0)==13){i=h;return d|0}return 0}function Nsa(a){a=a|0;var b=0;c[a>>2]=31972;b=c[a+108>>2]|0;if(b|0)Wpb(b);c[a+108>>2]=0;c[a+112>>2]=0;Osa(a+132|0);return}function Osa(a){a=a|0;var b=0,d=0;b=c[a+20>>2]|0;if(b|0)Wpb(b);c[a+20>>2]=0;c[a+24>>2]=0;if(c[a+60>>2]|0){b=0;do{d=(c[a+64>>2]|0)+(b<<2)|0;Wpb(c[d>>2]|0);c[d>>2]=0;d=(c[a+68>>2]|0)+(b<<2)|0;Wpb(c[d>>2]|0);c[d>>2]=0;b=b+1|0}while((b|0)!=(c[a+60>>2]|0))}Wpb(c[a+64>>2]|0);Wpb(c[a+68>>2]|0);Psa(a);Wpb(c[a+136>>2]|0);Wpb(c[a+140>>2]|0);Wpb(c[a+144>>2]|0);return}function Psa(a){a=a|0;var b=0,d=0;if(!(c[a+72>>2]|0)){b=c[a+76>>2]|0;Wpb(b);b=c[a+80>>2]|0;Wpb(b);b=c[a+84>>2]|0;Wpb(b);a=c[a+88>>2]|0;Wpb(a);return}else b=0;do{d=(c[a+76>>2]|0)+(b<<2)|0;Wpb(c[d>>2]|0);c[d>>2]=0;d=(c[a+80>>2]|0)+(b<<2)|0;Wpb(c[d>>2]|0);c[d>>2]=0;d=(c[a+84>>2]|0)+(b<<2)|0;Wpb(c[d>>2]|0);c[d>>2]=0;d=(c[a+88>>2]|0)+(b<<2)|0;Wpb(c[d>>2]|0);c[d>>2]=0;b=b+1|0}while((b|0)!=(c[a+72>>2]|0));d=c[a+76>>2]|0;Wpb(d);d=c[a+80>>2]|0;Wpb(d);d=c[a+84>>2]|0;Wpb(d);d=c[a+88>>2]|0;Wpb(d);return}function Qsa(a){a=a|0;var b=0;c[a>>2]=31972;b=c[a+108>>2]|0;if(b|0)Wpb(b);c[a+108>>2]=0;c[a+112>>2]=0;Osa(a+132|0);oAb(a);return}function Rsa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;if(!d){a=80;return a|0}else{i=0;h=0;f=0}while(1){A=c[b+(i<<2)>>2]|0;f=A+f|0;A=((A|0)!=0&1)+h|0;i=i+1|0;if((i|0)==(d|0))break;else h=A}hBb(a|0,0,d<<2|0)|0;switch(A|0){case 0:{c[a+4>>2]=1;c[a>>2]=1;a=0;return a|0}case 1:{f=0;while(1){if(c[b+(f<<2)>>2]|0)break;f=f+1|0;if((f|0)==(d|0)){f=0;z=66;break}}if((z|0)==66)return f|0;c[a+(f<<2)>>2]=1;c[a+(((f|0)==0&1)<<2)>>2]=1;a=0;return a|0}default:{l=Vpb(A<<5)|0;k=Vpb(A<<5)|0;if(!((l|0)!=0&(k|0)!=0)){Wpb(l);Wpb(k);a=83;return a|0}if(A<<1|0){h=0;do{c[l+(h<<4)>>2]=0;c[l+(h<<4)+8>>2]=0;c[l+(h<<4)+4>>2]=0;h=h+1|0}while((h|0)!=(A<<1|0));h=0;do{c[k+(h<<4)>>2]=0;c[k+(h<<4)+8>>2]=0;c[k+(h<<4)+4>>2]=0;h=h+1|0}while((h|0)!=(A<<1|0))}q=0;h=0;do{i=c[b+(q<<2)>>2]|0;if(i){g[l+(h<<4)+12>>2]=+(i>>>0)/+(f>>>0);m=l+(h<<4)|0;o=l+(h<<4)+4|0;p=c[o>>2]|0;n=l+(h<<4)+8|0;i=c[n>>2]|0;if(i>>>0>>0){j=i<<1>>>0>>0?p+1<<2:((p+1|0)*12|0)>>>1;i=Ypb(c[m>>2]|0,j)|0;if(i|0){c[n>>2]=j;c[m>>2]=i;z=19}}else{i=c[m>>2]|0;z=19}if((z|0)==19){z=0;c[o>>2]=p+1;c[i+(p<<2)>>2]=q}h=h+1|0}q=q+1|0}while((q|0)!=(d|0));cnb(l,A,16,348);if(e){y=l;w=1;x=A;i=0;while(1){if(i|0){h=0;do{v=k+(h<<4)|0;c[k+(h<<4)+8>>2]=0;c[k+(h<<4)+4>>2]=0;Wpb(c[v>>2]|0);c[v>>2]=0;h=h+1|0}while((h|0)!=(i|0));h=0;do{c[k+(h<<4)>>2]=0;c[k+(h<<4)+8>>2]=0;c[k+(h<<4)+4>>2]=0;h=h+1|0}while((h|0)!=(i|0))}if(x>>>0>1){r=1;v=0;n=0;while(1){h=n+1|0;s=k+(n<<4)|0;t=k+(n<<4)+12|0;c[t>>2]=c[y+(v<<4)+12>>2];m=y+(v<<4)+4|0;l=c[m>>2]|0;u=k+(n<<4)+8|0;i=c[u>>2]|0;if(i>>>0>>0){i=i<<1>>>0>>0?l<<2:(l*12|0)>>>1;j=Ypb(c[s>>2]|0,i)|0;if(j|0){c[u>>2]=i;c[s>>2]=j;i=c[m>>2]|0;z=32}}else{i=l;z=32}if((z|0)==32){z=0;c[k+(n<<4)+4>>2]=l;if(i|0){i=c[y+(v<<4)>>2]|0;j=c[s>>2]|0;l=0;do{c[j+(l<<2)>>2]=c[i+(l<<2)>>2];l=l+1|0}while((l|0)!=(c[m>>2]|0))}}p=y+(r<<4)+4|0;if(c[p>>2]|0){q=y+(r<<4)|0;l=k+(n<<4)+4|0;o=0;do{m=c[(c[q>>2]|0)+(o<<2)>>2]|0;n=c[l>>2]|0;i=c[u>>2]|0;if(i>>>0>>0){j=i<<1>>>0>>0?n+1<<2:((n+1|0)*12|0)>>>1;i=Ypb(c[s>>2]|0,j)|0;if(i|0){c[u>>2]=j;c[s>>2]=i;z=41}}else{i=c[s>>2]|0;z=41}if((z|0)==41){z=0;c[l>>2]=n+1;c[i+(n<<2)>>2]=m}o=o+1|0}while((o|0)!=(c[p>>2]|0))}g[t>>2]=+g[y+(r<<4)+12>>2]+ +g[t>>2];v=v+2|0;r=v|1;if(r>>>0>=x>>>0)break;else n=h}}else h=0;if(w>>>0>>0){q=k+(h<<4)|0;r=0;i=0;do{j=c[b+(r<<2)>>2]|0;if(j){g[q+(i<<4)+12>>2]=+(j>>>0)/+(f>>>0);m=q+(i<<4)|0;o=q+(i<<4)+4|0;p=c[o>>2]|0;n=q+(i<<4)+8|0;j=c[n>>2]|0;if(j>>>0>>0){l=j<<1>>>0>>0?p+1<<2:((p+1|0)*12|0)>>>1;j=Ypb(c[m>>2]|0,l)|0;if(j|0){c[n>>2]=l;c[m>>2]=j;z=51}}else{j=c[m>>2]|0;z=51}if((z|0)==51){z=0;c[o>>2]=p+1;c[j+(p<<2)>>2]=r}i=i+1|0}r=r+1|0}while((r|0)!=(d|0));h=h+A|0}cnb(k,h,16,348);w=w+1|0;if(w>>>0>e>>>0){l=k;k=y;break}else{i=x;v=k;x=h;k=y;y=v}}}if(A>>>0>1){j=1;f=0;while(1){i=l+(f<<4)+4|0;if(c[i>>2]|0){f=c[l+(f<<4)>>2]|0;h=0;do{z=a+(c[f+(h<<2)>>2]<<2)|0;c[z>>2]=(c[z>>2]|0)+1;h=h+1|0}while(h>>>0<(c[i>>2]|0)>>>0)}f=j+1|0;if((f|0)==(A|0))break;else{z=j;j=f;f=z}}}if(!(A<<1))Wpb(l);else{f=0;do{a=l+(f<<4)|0;c[l+(f<<4)+8>>2]=0;c[l+(f<<4)+4>>2]=0;Wpb(c[a>>2]|0);c[a>>2]=0;f=f+1|0}while((f|0)!=(A<<1|0));Wpb(l);f=0;do{a=k+(f<<4)|0;c[k+(f<<4)+8>>2]=0;c[k+(f<<4)+4>>2]=0;Wpb(c[a>>2]|0);c[a>>2]=0;f=f+1|0}while((f|0)!=(A<<1|0))}Wpb(k);a=0;return a|0}}return 0}function Ssa(a,b){a=a|0;b=b|0;var c=0.0,d=0.0;d=+g[a+12>>2];c=+g[b+12>>2];return (d>c?1:(d>31)|0}function Tsa(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;A=i;i=i+64|0;m=c[e>>2]|0;n=0;k=0;l=0;j=c[b>>2]|0;h=m;a:while(1){if(!n){p=k;s=h}else{m=0;B=110;break}b:while(1){h=p+2|0;if(h>>>0>=g<<3>>>0){m=52;h=s;B=110;break a}n=(d[f+(p>>>3)>>0]|0)>>>(p&7)&1;o=p+1|0;k=p+3|0;o=(d[f+(h>>>3)>>0]|0)>>>(h&7)<<1&2|(d[f+(o>>>3)>>0]|0)>>>(o&7)&1;switch(o|0){case 3:{m=20;h=s;B=110;break a}case 0:break;default:{h=s;z=m;break b}}if(!(k&7))h=k;else{h=k;do h=h+1|0;while((h&7|0)!=0)}q=h>>>3;if((q+4|0)>>>0>=g>>>0){m=52;h=s;B=110;break a}r=(d[f+(q+1)>>0]|0)<<8|(d[f+q>>0]|0);if((((d[f+(q+3)>>0]|0)<<8|(d[f+(q+2)>>0]|0))+r|0)!=65535){m=21;h=s;B=110;break a}h=r+l|0;if(m>>>0>>0){m=m<<1>>>0>>0?h:(h*3|0)>>>1;k=Ypb(j,m)|0;if(!k){m=83;h=s;B=110;break a}j=k}if((r+(q+4)|0)>>>0>g>>>0){m=23;B=110;break a}if(!r)k=q+4|0;else{k=j;o=0;p=q+4|0;while(1){a[k+l>>0]=a[f+p>>0]|0;o=o+1|0;if((o|0)==(r|0)){k=r+(q+4)|0;l=h;break}else{p=p+1|0;l=l+1|0}}}if(!n){p=k<<3;s=h}else{m=0;B=110;break a}}c[A+20>>2]=0;c[A+20+4>>2]=0;c[A+20+8>>2]=0;c[A>>2]=0;c[A+4>>2]=0;c[A+8>>2]=0;c:do switch(o|0){case 1:{Usa(A+20|0);Xsa(A);B=74;break}case 2:{if((p+17|0)>>>0>g<<3>>>0){m=49;B=71}else{x=(d[f+((p+4|0)>>>3)>>0]|0)>>>(p+4&7)<<1&2|(d[f+(k>>>3)>>0]|0)>>>(k&7)&1|(d[f+((p+5|0)>>>3)>>0]|0)>>>(p+5&7)<<2&4|(d[f+((p+6|0)>>>3)>>0]|0)>>>(p+6&7)<<3&8|(d[f+((p+7|0)>>>3)>>0]|0)>>>(p+7&7)<<4&16;r=(d[f+((p+9|0)>>>3)>>0]|0)>>>(p+9&7)<<1&2|(d[f+((p+8|0)>>>3)>>0]|0)>>>(p+8&7)&1|(d[f+((p+10|0)>>>3)>>0]|0)>>>(p+10&7)<<2&4|(d[f+((p+11|0)>>>3)>>0]|0)>>>(p+11&7)<<3&8|(d[f+((p+12|0)>>>3)>>0]|0)>>>(p+12&7)<<4&16;q=((d[f+((p+14|0)>>>3)>>0]|0)>>>(p+14&7)<<1&2|(d[f+((p+13|0)>>>3)>>0]|0)>>>(p+13&7)&1|(d[f+((p+15|0)>>>3)>>0]|0)>>>(p+15&7)<<2&4|(d[f+((p+16|0)>>>3)>>0]|0)>>>(p+16&7)<<3&8)+4|0;if(((q*3|0)+(p+17)|0)>>>0>g<<3>>>0){m=50;k=p+17|0;B=71}else{c[A+40>>2]=0;c[A+40+4>>2]=0;c[A+40+8>>2]=0;y=Vpb(76)|0;d:do if(!y){q=0;o=0;k=p+17|0;m=83}else{m=p+17|0;k=p+17|0;p=0;while(1){if(p>>>0>>0){v=m+1|0;w=m+2|0;k=m+3|0;o=k;m=(d[f+(v>>>3)>>0]|0)>>>(v&7)<<1&2|(d[f+(m>>>3)>>0]|0)>>>(m&7)&1|(d[f+(w>>>3)>>0]|0)>>>(w&7)<<2&4}else{o=m;m=0}c[y+(c[65548+(p<<2)>>2]<<2)>>2]=m;p=p+1|0;if((p|0)==19)break;else m=o}m=Vpb(76)|0;c[A+40+8>>2]=m;if(!m){q=0;o=0;m=83}else{o=y;p=m+76|0;do{c[m>>2]=c[o>>2];m=m+4|0;o=o+4|0}while((m|0)<(p|0));c[A+40+16>>2]=19;c[A+40+12>>2]=7;m=Wsa(A+40|0)|0;if(!m){w=Vpb(1152)|0;v=Vpb(128)|0;if((w|0)!=0&(v|0)!=0){hBb(w|0,0,1152)|0;m=v;p=m+128|0;do{c[m>>2]=0;m=m+4|0}while((m|0)<(p|0));s=r+(x+258)|0;if(!s){q=v;o=w;m=64}else{t=c[A+40>>2]|0;u=c[A+40+16>>2]|0;m=0;o=0;e:do{while(1){q=k;p=0;while(1){if(q>>>0>=g<<3>>>0){m=q;B=64;break e}p=c[t+(((d[f+(q>>>3)>>0]|0)>>>(q&7)&1|p<<1)<<2)>>2]|0;k=q+1|0;if(p>>>0>>0)break;p=p-u|0;if(p>>>0>=u>>>0){m=k;B=64;break e}else q=k}if(p>>>0>=16)break;if(o>>>0<(x+257|0)>>>0)c[w+(o<<2)>>2]=p;else c[v+(o-(x+257)<<2)>>2]=p;o=o+1|0;if(o>>>0>=s>>>0)break e}f:do switch(p|0){case -1:{m=k;B=64;break e}case 16:{if(!o){q=v;o=w;m=54;break d}if((q+3|0)>>>0>g<<3>>>0){q=v;o=w;m=50;break d}p=((d[f+((q+2|0)>>>3)>>0]|0)>>>(q+2&7)<<1&2|(d[f+(k>>>3)>>0]|0)>>>(k&7)&1)+3|0;r=c[(o>>>0<(x+258|0)>>>0?w+(o+-1<<2)|0:v+(-258-x+o<<2)|0)>>2]|0;k=0;while(1){if(o>>>0>=s>>>0){k=q+3|0;m=13;break f}if(o>>>0<(x+257|0)>>>0)c[w+(o<<2)>>2]=r;else c[v+(o-(x+257)<<2)>>2]=r;o=o+1|0;k=k+1|0;if(k>>>0>=p>>>0){k=q+3|0;break}}break}case 17:{if((q+4|0)>>>0>g<<3>>>0){q=v;o=w;m=50;break d}p=((d[f+((q+2|0)>>>3)>>0]|0)>>>(q+2&7)<<1&2|(d[f+(k>>>3)>>0]|0)>>>(k&7)&1|(d[f+((q+3|0)>>>3)>>0]|0)>>>(q+3&7)<<2&4)+3|0;k=0;while(1){if(o>>>0>=s>>>0){k=q+4|0;m=14;break f}if(o>>>0<(x+257|0)>>>0)c[w+(o<<2)>>2]=0;else c[v+(o-(x+257)<<2)>>2]=0;o=o+1|0;k=k+1|0;if(k>>>0>=p>>>0){k=q+4|0;break}}break}case 18:{if((q+8|0)>>>0>g<<3>>>0){q=v;o=w;m=50;break d}p=((d[f+((q+2|0)>>>3)>>0]|0)>>>(q+2&7)<<1&2|(d[f+(k>>>3)>>0]|0)>>>(k&7)&1|(d[f+((q+3|0)>>>3)>>0]|0)>>>(q+3&7)<<2&4|(d[f+((q+4|0)>>>3)>>0]|0)>>>(q+4&7)<<3&8|(d[f+((q+5|0)>>>3)>>0]|0)>>>(q+5&7)<<4&16|(d[f+((q+6|0)>>>3)>>0]|0)>>>(q+6&7)<<5&32|(d[f+((q+7|0)>>>3)>>0]|0)>>>(q+7&7)<<6&64)+11|0;if(!p)k=q+8|0;else{k=0;while(1){if(o>>>0>=s>>>0){k=q+8|0;m=15;break f}if(o>>>0<(x+257|0)>>>0)c[w+(o<<2)>>2]=0;else c[v+(o-(x+257)<<2)>>2]=0;o=o+1|0;k=k+1|0;if(k>>>0>=p>>>0){k=q+8|0;break}}}break}default:{q=v;o=w;m=16;break d}}while(0)}while(o>>>0>>0);if((B|0)==64){B=0;q=v;o=w;k=m;m=m>>>0>g<<3>>>0?10:11;break}if(!m)if(!(c[w+1024>>2]|0)){q=v;o=w;m=64}else{m=Vpb(1152)|0;c[A+20+8>>2]=m;if(!m){q=v;o=w;m=83}else{mBb(m|0,w|0,1152)|0;c[A+20+16>>2]=288;c[A+20+12>>2]=15;m=Wsa(A+20|0)|0;if(!m){m=Vpb(128)|0;c[A+8>>2]=m;if(!m){q=v;o=w;m=83}else{o=v;p=m+128|0;do{c[m>>2]=c[o>>2];m=m+4|0;o=o+4|0}while((m|0)<(p|0));c[A+16>>2]=32;c[A+12>>2]=15;q=v;o=w;m=Wsa(A)|0}}else{q=v;o=w}}}else{q=v;o=w}}}else{q=v;o=w;m=83}}else{q=0;o=0}}}while(0);Wpb(y);Wpb(o);Wpb(q);Wpb(c[A+40>>2]|0);Wpb(c[A+40+4>>2]|0);Wpb(c[A+40+8>>2]|0);if(!m){B=74;break c}else o=z}}if((B|0)==71){B=0;o=z}r=c[A+20>>2]|0;q=c[A>>2]|0;break}default:B=74}while(0);g:do if((B|0)==74){B=0;x=c[A+20>>2]|0;v=c[A+20+16>>2]|0;y=c[A>>2]|0;w=c[A+16>>2]|0;m=z;h:while(1){o=m;while(1){m=0;while(1){if(k>>>0>=g<<3>>>0){m=k;break h}t=c[x+(((d[f+(k>>>3)>>0]|0)>>>(k&7)&1|m<<1)<<2)>>2]|0;k=k+1|0;if(t>>>0>>0)break;m=t-v|0;if(m>>>0>=v>>>0){m=k;break h}}if(t>>>0<256)break;if((t+-257|0)>>>0>=29){B=107;break h}p=c[31980+(t+-257<<2)>>2]|0;if((p+k|0)>>>0>g<<3>>>0){r=x;q=y;m=51;break g}s=c[32096+(t+-257<<2)>>2]|0;if((t+-265|0)>>>0>19)m=0;else{q=k;r=0;m=0;while(1){m=(((d[f+(q>>>3)>>0]|0)>>>(q&7)&1)<>>0>=g<<3>>>0){m=t;p=k;B=95;break h}m=c[y+(((d[f+(k>>>3)>>0]|0)>>>(k&7)&1|m<<1)<<2)>>2]|0;k=k+1|0;if(m>>>0>>0)break;m=m-w|0;if(m>>>0>=w>>>0){m=t;p=k;B=95;break h}}if(m>>>0>29){m=t;p=k;B=95;break h}r=c[32212+(m<<2)>>2]|0;if((r+k|0)>>>0>g<<3>>>0){r=x;q=y;m=51;break g}s=c[32332+(m<<2)>>2]|0;if(m>>>0<4)m=0;else{p=k;q=0;m=0;while(1){m=(((d[f+(p>>>3)>>0]|0)>>>(p&7)&1)<>>0>>0){r=x;q=y;m=52;break g}r=u+l|0;if(o>>>0>>0){m=o<<1>>>0>>0?r:(r*3|0)>>>1;p=Ypb(j,m)|0;if(!p){r=x;q=y;m=83;break g}j=p}else m=o;if(!u){h=r;o=m}else{B=105;break}}if((B|0)==105){B=0;p=l-q|0;h=p;o=0;q=l;while(1){a[j+q>>0]=a[j+h>>0]|0;h=h+1|0;h=h>>>0>>0?h:p;o=o+1|0;if((o|0)==(u|0)){l=r;h=r;continue h}else q=q+1|0}}q=l+1|0;if(o>>>0>>0){m=o<<1>>>0>>0?q:(q*3|0)>>>1;p=Ypb(j,m)|0;if(!p){r=x;q=y;m=83;break g}h=p;j=p}else{h=j;m=o}a[h+l>>0]=t;l=q;h=q}if((B|0)==95){B=0;if((m|0)!=-1){r=x;q=y;k=p;m=18;break}r=x;q=y;k=p;m=p>>>0>g<<3>>>0?10:11;break}else if((B|0)==107){B=0;if((t|0)==256){r=x;q=y;m=0;break}else m=k}r=x;q=y;k=m;m=m>>>0>g<<3>>>0?10:11}while(0);Wpb(r);Wpb(c[A+20+4>>2]|0);Wpb(c[A+20+8>>2]|0);Wpb(q);Wpb(c[A+4>>2]|0);Wpb(c[A+8>>2]|0);if(!m)m=o;else{B=110;break}}if((B|0)==110){c[b>>2]=j;c[e>>2]=h;i=A;return m|0}return 0}function Usa(a){a=a|0;var b=0,d=0;d=Vpb(1152)|0;if(!d)return;else b=0;do{c[d+(b<<2)>>2]=8;b=b+1|0}while((b|0)!=144);b=144;do{c[d+(b<<2)>>2]=9;b=b+1|0}while((b|0)!=256);c[d+1024>>2]=7;c[d+1028>>2]=7;c[d+1032>>2]=7;c[d+1036>>2]=7;c[d+1040>>2]=7;c[d+1044>>2]=7;c[d+1048>>2]=7;c[d+1052>>2]=7;c[d+1056>>2]=7;c[d+1060>>2]=7;c[d+1064>>2]=7;c[d+1068>>2]=7;c[d+1072>>2]=7;c[d+1076>>2]=7;c[d+1080>>2]=7;c[d+1084>>2]=7;c[d+1088>>2]=7;c[d+1092>>2]=7;c[d+1096>>2]=7;c[d+1100>>2]=7;c[d+1104>>2]=7;c[d+1108>>2]=7;c[d+1112>>2]=7;c[d+1116>>2]=7;c[d+1120>>2]=8;c[d+1124>>2]=8;c[d+1128>>2]=8;c[d+1132>>2]=8;c[d+1136>>2]=8;c[d+1140>>2]=8;c[d+1144>>2]=8;c[d+1148>>2]=8;Vsa(a,d,288,15)|0;Wpb(d);return}function Vsa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=Vpb(d<<2)|0;c[a+8>>2]=f;if(!f){a=83;return a|0}if(d|0){g=0;do{c[f+(g<<2)>>2]=c[b+(g<<2)>>2];g=g+1|0}while((g|0)!=(d|0))}c[a+16>>2]=d;c[a+12>>2]=e;a=Wsa(a)|0;return a|0}function Wsa(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=Vpb(c[a+16>>2]<<2)|0;c[a+4>>2]=f;b=(c[a+12>>2]|0)+1|0;if(!(b<<2)){d=0;e=4}else{d=Ypb(0,b<<2)|0;if(!d){d=0;b=0}else e=4}do if((e|0)==4){if(b|0)hBb(d|0,0,b<<2|0)|0;e=(c[a+12>>2]|0)+1|0;if(!(e<<2))b=0;else{b=Ypb(0,e<<2)|0;if(!b){b=0;break}}if(e|0)hBb(b|0,0,e<<2|0)|0;if(f){i=c[a+16>>2]|0;if(i|0){e=c[a+8>>2]|0;f=0;do{l=d+(c[e+(f<<2)>>2]<<2)|0;c[l>>2]=(c[l>>2]|0)+1;f=f+1|0}while((f|0)!=(i|0))}e=c[a+12>>2]|0;if(e|0){f=c[b>>2]|0;g=1;do{f=(c[d+(g+-1<<2)>>2]|0)+f<<1;c[b+(g<<2)>>2]=f;g=g+1|0}while(g>>>0<=e>>>0)}if(i|0){h=c[a+8>>2]|0;e=i;g=0;do{f=c[h+(g<<2)>>2]|0;if(f){l=b+(f<<2)|0;e=c[l>>2]|0;c[l>>2]=e+1;c[(c[a+4>>2]|0)+(g<<2)>>2]=e;e=c[a+16>>2]|0}g=g+1|0}while((g|0)!=(e|0))}Wpb(d);Wpb(b);b=c[a+16>>2]|0;l=Vpb(b<<3)|0;c[a>>2]=l;if(!l){a=83;return a|0}if(b&2147483647|0){d=0;do{c[l+(d<<2)>>2]=32767;d=d+1|0}while(d>>>0>>0)}if(!b){a=0;return a|0}k=c[a+8>>2]|0;j=0;d=0;e=0;a:while(1){f=c[k+(j<<2)>>2]|0;if(f){i=(c[a+4>>2]|0)+(j<<2)|0;b=0;do{if((e|0)<0){b=55;e=47;break a}h=c[a+16>>2]|0;if((e+2|0)>>>0>h>>>0){b=55;e=47;break a}e=l+(((c[i>>2]|0)>>>(f+~b|0)&1|e<<1)<<2)|0;g=c[e>>2]|0;do if((g|0)==32767){b=b+1|0;if((b|0)==(f|0)){c[e>>2]=j;b=f;e=0;break}else{g=d+1|0;c[e>>2]=h+g;d=g;e=g;break}}else{b=b+1|0;e=g-h|0}while(0);f=c[(c[a+8>>2]|0)+(j<<2)>>2]|0}while((f|0)!=(b|0));b=c[a+16>>2]|0}j=j+1|0;if(j>>>0>=b>>>0){e=31;break}}if((e|0)==31){if(!(b&2147483647)){a=0;return a|0}f=c[a>>2]|0;e=0;do{d=f+(e<<2)|0;if((c[d>>2]|0)==32767){c[d>>2]=0;b=c[a+16>>2]|0}e=e+1|0}while(e>>>0>>0);b=0;return b|0}else if((e|0)==47)return b|0}}while(0);Wpb(d);Wpb(b);a=83;return a|0}function Xsa(a){a=a|0;var b=0,d=0,e=0,f=0;f=Vpb(128)|0;if(!f)return;c[f>>2]=5;c[f+4>>2]=5;c[f+8>>2]=5;c[f+12>>2]=5;c[f+16>>2]=5;c[f+20>>2]=5;c[f+24>>2]=5;c[f+28>>2]=5;c[f+32>>2]=5;c[f+36>>2]=5;c[f+40>>2]=5;c[f+44>>2]=5;c[f+48>>2]=5;c[f+52>>2]=5;c[f+56>>2]=5;c[f+60>>2]=5;c[f+64>>2]=5;c[f+68>>2]=5;c[f+72>>2]=5;c[f+76>>2]=5;c[f+80>>2]=5;c[f+84>>2]=5;c[f+88>>2]=5;c[f+92>>2]=5;c[f+96>>2]=5;c[f+100>>2]=5;c[f+104>>2]=5;c[f+108>>2]=5;c[f+112>>2]=5;c[f+116>>2]=5;c[f+120>>2]=5;c[f+124>>2]=5;b=Vpb(128)|0;c[a+8>>2]=b;if(b|0){d=f;e=b+128|0;do{c[b>>2]=c[d>>2];b=b+4|0;d=d+4|0}while((b|0)<(e|0));c[a+16>>2]=32;c[a+12>>2]=15;Wsa(a)|0}Wpb(f);return}function Ysa(e,f,g,h,j){e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;K=i;i=i+128|0;k=c[f>>2]|0;c[K>>2]=c[e>>2];c[K+4>>2]=k;c[K+8>>2]=k;c[K+40>>2]=0;r=c[j>>2]|0;if(r>>>0>2){h=61;g=c[K>>2]|0;c[e>>2]=g;e=c[K+4>>2]|0;c[f>>2]=e;i=K;return h|0}switch(r|0){case 0:{if((h+65534|0)>>>0<65535){h=0;g=c[K>>2]|0;c[e>>2]=g;e=c[K+4>>2]|0;c[f>>2]=e;i=K;return h|0}q=k;r=k;k=0;l=0;while(1){o=(l|0)==((((h+65534|0)>>>0)/65535|0)+-1|0)&1;p=q+1|0;if(r>>>0

>>0){n=r<<1>>>0

>>0?p:(p*3|0)>>>1;m=Ypb(c[K>>2]|0,n)|0;if(!m)p=r;else{c[K+8>>2]=n;c[K>>2]=m;J=9}}else{m=c[K>>2]|0;J=9}if((J|0)==9){J=0;c[K+4>>2]=p;a[m+q>>0]=o;q=c[K+4>>2]|0;p=c[K+8>>2]|0}r=h-k|0;r=r>>>0<65535?r:65535;o=q+1|0;if(p>>>0>>0){n=p<<1>>>0>>0?o:(o*3|0)>>>1;m=Ypb(c[K>>2]|0,n)|0;if(m){c[K+8>>2]=n;c[K>>2]=m;J=14}}else{m=c[K>>2]|0;J=14}if((J|0)==14){J=0;c[K+4>>2]=o;a[m+q>>0]=r;q=c[K+4>>2]|0;p=c[K+8>>2]|0}o=q+1|0;if(p>>>0>>0){n=p<<1>>>0>>0?o:(o*3|0)>>>1;m=Ypb(c[K>>2]|0,n)|0;if(m){c[K+8>>2]=n;c[K>>2]=m;J=19}}else{m=c[K>>2]|0;J=19}if((J|0)==19){J=0;c[K+4>>2]=o;a[m+q>>0]=r>>>8;q=c[K+4>>2]|0;p=c[K+8>>2]|0}o=q+1|0;if(p>>>0>>0){n=p<<1>>>0>>0?o:(o*3|0)>>>1;m=Ypb(c[K>>2]|0,n)|0;if(!m)m=p;else{c[K+8>>2]=n;c[K>>2]=m;J=24}}else{m=c[K>>2]|0;J=24}if((J|0)==24){J=0;c[K+4>>2]=o;a[m+q>>0]=65535-r;q=c[K+4>>2]|0;m=c[K+8>>2]|0}o=q+1|0;if(m>>>0>>0){n=m<<1>>>0>>0?o:(o*3|0)>>>1;m=Ypb(c[K>>2]|0,n)|0;if(m|0){c[K+8>>2]=n;c[K>>2]=m;J=29}}else{m=c[K>>2]|0;J=29}if((J|0)==29){J=0;c[K+4>>2]=o;a[m+q>>0]=(65535-r|0)>>>8}if(k>>>0>>0){q=0;while(1){p=k+1|0;n=a[g+k>>0]|0;o=c[K+4>>2]|0;k=c[K+8>>2]|0;if(k>>>0<(o+1|0)>>>0){m=k<<1>>>0<(o+1|0)>>>0?o+1|0:((o+1|0)*3|0)>>>1;k=Ypb(c[K>>2]|0,m)|0;if(k|0){c[K+8>>2]=m;c[K>>2]=k;J=35}}else{k=c[K>>2]|0;J=35}if((J|0)==35){J=0;c[K+4>>2]=o+1;a[k+o>>0]=n}q=q+1|0;if(!(q>>>0<65535&p>>>0>>0)){k=p;break}else k=p}}l=l+1|0;if((l|0)==(((h+65534|0)>>>0)/65535|0|0)){k=0;break}q=c[K+4>>2]|0;r=c[K+8>>2]|0}h=c[K>>2]|0;c[e>>2]=h;e=c[K+4>>2]|0;c[f>>2]=e;i=K;return k|0}case 1:{I=h;break}default:I=((h>>>3)+8|0)>>>0<65535?65535:(h>>>3)+8|0}H=((h+-1+I|0)>>>0)/(I>>>0)|0;H=(H|0)==0?1:H;p=c[j+8>>2]|0;k=Vpb(262144)|0;c[K+16>>2]=k;l=Vpb(p<<2)|0;c[K+16+8>>2]=l;n=Vpb(p<<1)|0;c[K+16+4>>2]=n;m=Vpb(p<<1)|0;c[K+16+20>>2]=m;o=Vpb(1036)|0;c[K+16+12>>2]=o;q=Vpb(p<<1)|0;c[K+16+16>>2]=q;if((l|0)==0|((k|0)==0|(n|0)==0)){h=83;g=c[K>>2]|0;c[e>>2]=g;e=c[K+4>>2]|0;c[f>>2]=e;i=K;return h|0}if((m|0)==0|((o|0)==0|(q|0)==0)){h=83;g=c[K>>2]|0;c[e>>2]=g;e=c[K+4>>2]|0;c[f>>2]=e;i=K;return h|0}hBb(k|0,-1,262144)|0;if(!p)hBb(o|0,-1,1036)|0;else{hBb(l|0,-1,p<<2|0)|0;k=0;do{b[n+(k<<1)>>1]=k;k=k+1|0}while((k|0)!=(p|0));hBb(o|0,-1,1036)|0;k=0;do{b[q+(k<<1)>>1]=k;k=k+1|0}while((k|0)!=(p|0))}F=K+84+8|0;G=K+44+8|0;m=r;l=0;while(1){A=(l|0)==(H+-1|0)&1;k=_(l,I)|0;u=k+I|0;u=u>>>0>h>>>0?h:u;switch(m|0){case 1:{c[K+104>>2]=0;c[K+104+4>>2]=0;c[K+104+8>>2]=0;c[K+84>>2]=0;c[K+84+4>>2]=0;c[K+84+8>>2]=0;Usa(K+104|0);Xsa(K+84|0);do if(!(c[K+40>>2]&7)){o=c[K+4>>2]|0;m=c[K+8>>2]|0;if(m>>>0<(o+1|0)>>>0){n=m<<1>>>0<(o+1|0)>>>0?o+1|0:((o+1|0)*3|0)>>>1;m=Ypb(c[K>>2]|0,n)|0;if(!m)break;c[K+8>>2]=n;c[K>>2]=m}else m=c[K>>2]|0;c[K+4>>2]=o+1;a[m+o>>0]=0}while(0);E=(c[K>>2]|0)+((c[K+4>>2]|0)+-1)|0;a[E>>0]=d[E>>0]|0|A<<(c[K+40>>2]&7);E=(c[K+40>>2]|0)+1|0;c[K+40>>2]=E;do if(!(E&7)){o=c[K+4>>2]|0;m=c[K+8>>2]|0;if(m>>>0<(o+1|0)>>>0){n=m<<1>>>0<(o+1|0)>>>0?o+1|0:((o+1|0)*3|0)>>>1;m=Ypb(c[K>>2]|0,n)|0;if(!m)break;c[K+8>>2]=n;c[K>>2]=m}else m=c[K>>2]|0;c[K+4>>2]=o+1;a[m+o>>0]=0}while(0);E=(c[K>>2]|0)+((c[K+4>>2]|0)+-1)|0;a[E>>0]=d[E>>0]|0|1<<(c[K+40>>2]&7);E=(c[K+40>>2]|0)+1|0;c[K+40>>2]=E;do if(!(E&7)){o=c[K+4>>2]|0;m=c[K+8>>2]|0;if(m>>>0<(o+1|0)>>>0){n=m<<1>>>0<(o+1|0)>>>0?o+1|0:((o+1|0)*3|0)>>>1;m=Ypb(c[K>>2]|0,n)|0;if(!m)break;c[K+8>>2]=n;c[K>>2]=m}else m=c[K>>2]|0;c[K+4>>2]=o+1;a[m+o>>0]=0}while(0);m=(c[K+40>>2]|0)+1|0;c[K+40>>2]=m;do if(!(c[j+4>>2]|0))if(u>>>0>k>>>0){s=c[K+104+4>>2]|0;t=c[K+104+8>>2]|0;do{r=d[g+k>>0]|0;q=c[s+(r<<2)>>2]|0;r=c[t+(r<<2)>>2]|0;if(r){p=0;do{do if(!(m&7)){o=c[K+4>>2]|0;m=c[K+8>>2]|0;if(m>>>0<(o+1|0)>>>0){n=m<<1>>>0<(o+1|0)>>>0?o+1|0:((o+1|0)*3|0)>>>1;m=Ypb(c[K>>2]|0,n)|0;if(!m)break;c[K+8>>2]=n;c[K>>2]=m}else m=c[K>>2]|0;c[K+4>>2]=o+1;a[m+o>>0]=0}while(0);m=(c[K>>2]|0)+((c[K+4>>2]|0)+-1)|0;a[m>>0]=d[m>>0]|0|(q>>>(r+-1-p|0)&1)<<(c[K+40>>2]&7);m=(c[K+40>>2]|0)+1|0;c[K+40>>2]=m;p=p+1|0}while((p|0)!=(r|0))}k=k+1|0}while((k|0)!=(u|0));J=84}else J=84;else{c[K+64>>2]=0;c[K+64+8>>2]=0;c[K+64+4>>2]=0;k=Zsa(K+64|0,K+16|0,g,k,u,c[j+8>>2]|0,c[j+12>>2]|0,c[j+16>>2]|0,c[j+20>>2]|0)|0;if(!k){_sa(K+40|0,K,K+64|0,K+104|0,K+84|0);c[K+64+8>>2]=0;c[K+64+4>>2]=0;Wpb(c[K+64>>2]|0);J=84;break}else{c[K+64+8>>2]=0;c[K+64+4>>2]=0;Wpb(c[K+64>>2]|0);n=c[K+104+4>>2]|0;m=c[K+104+8>>2]|0;break}}while(0);if((J|0)==84){J=0;n=c[K+104+4>>2]|0;q=c[n+1024>>2]|0;m=c[K+104+8>>2]|0;r=c[m+1024>>2]|0;if(!r)k=0;else{k=c[K+40>>2]|0;s=0;do{do if(!(k&7)){p=c[K+4>>2]|0;k=c[K+8>>2]|0;if(k>>>0<(p+1|0)>>>0){o=k<<1>>>0<(p+1|0)>>>0?p+1|0:((p+1|0)*3|0)>>>1;k=Ypb(c[K>>2]|0,o)|0;if(!k)break;c[K+8>>2]=o;c[K>>2]=k}else k=c[K>>2]|0;c[K+4>>2]=p+1;a[k+p>>0]=0}while(0);k=(c[K>>2]|0)+((c[K+4>>2]|0)+-1)|0;a[k>>0]=d[k>>0]|0|(q>>>(r+-1-s|0)&1)<<(c[K+40>>2]&7);k=(c[K+40>>2]|0)+1|0;c[K+40>>2]=k;s=s+1|0}while((s|0)!=(r|0));k=0}}Wpb(c[K+104>>2]|0);Wpb(n);Wpb(m);Wpb(c[K+84>>2]|0);Wpb(c[K+84+4>>2]|0);Wpb(c[K+84+8>>2]|0);break}case 2:{c[K+104>>2]=0;c[K+104+8>>2]=0;c[K+104+4>>2]=0;c[K+84>>2]=0;c[K+84+4>>2]=0;c[F>>2]=0;c[K+64>>2]=0;c[K+64+4>>2]=0;c[K+64+8>>2]=0;c[K+44>>2]=0;c[K+44+4>>2]=0;c[G>>2]=0;do if(!(c[j+4>>2]|0)){if(!(u-k<<2))m=0;else{m=Ypb(0,u-k<<2)|0;if(!m){r=0;q=0;p=0;k=83;o=0;n=0;m=0;break}c[K+104+8>>2]=u-k<<2;c[K+104>>2]=m}c[K+104+4>>2]=u-k;if(u>>>0>k>>>0){do{c[m+(k<<2)>>2]=d[g+k>>0];k=k+1|0}while((k|0)!=(u|0));J=101}else J=101}else{k=Zsa(K+104|0,K+16|0,g,k,u,c[j+8>>2]|0,c[j+12>>2]|0,c[j+16>>2]|0,c[j+20>>2]|0)|0;if(!k)J=101;else{r=0;q=0;p=0;o=0;n=0;m=0}}while(0);a:do if((J|0)==101){J=0;E=Ypb(0,1144)|0;if(!E){r=0;q=0;p=0;k=83;o=0;n=0;m=0}else{hBb(E|0,0,1144)|0;D=Ypb(0,120)|0;if(!D){r=0;q=0;p=0;k=83;o=0;n=0;m=E}else{m=D;n=m+120|0;do{c[m>>2]=0;m=m+4|0}while((m|0)<(n|0));m=c[K+104+4>>2]|0;if(m|0){n=c[K+104>>2]|0;k=0;do{C=c[n+(k<<2)>>2]|0;c[E+(C<<2)>>2]=(c[E+(C<<2)>>2]|0)+1;if(C>>>0>256){C=D+(c[n+(k+2<<2)>>2]<<2)|0;c[C>>2]=(c[C>>2]|0)+1;k=k+3|0}k=k+1|0}while((k|0)!=(m|0))}c[E+1024>>2]=1;k=286;while(1){m=k+-1|0;if(k>>>0>257?(c[E+(m<<2)>>2]|0)==0:0)k=m;else break}c[K+84+12>>2]=15;c[K+84+16>>2]=k;m=Ypb(0,k<<2)|0;c[F>>2]=m;if(!m){r=0;q=0;p=0;k=83;o=0;n=D;m=E}else{hBb(m|0,0,k<<2|0)|0;k=Rsa(m,E,k,15)|0;if(!k){k=Wsa(K+84|0)|0;if(!k){k=30;while(1){m=k+-1|0;if(k>>>0>2?(c[D+(m<<2)>>2]|0)==0:0)k=m;else break}c[K+64+12>>2]=15;c[K+64+16>>2]=k;m=Ypb(0,k<<2)|0;c[K+64+8>>2]=m;if(!m){r=0;q=0;p=0;k=83;o=0;n=D;m=E}else{hBb(m|0,0,k<<2|0)|0;k=Rsa(m,D,k,15)|0;if(!k){k=Wsa(K+64|0)|0;if(!k){z=c[K+84+16>>2]|0;z=z>>>0>286?286:z;B=c[K+64+16>>2]|0;B=B>>>0>30?30:B;if(!z){k=0;n=0;m=0}else{k=0;r=0;m=0;s=0;while(1){q=c[(c[F>>2]|0)+(s<<2)>>2]|0;n=r+1|0;do if(m>>>0>>0){p=m<<1>>>0>>0?n<<2:(n*12|0)>>>1;o=Ypb(k,p)|0;if(!o){n=r;break}k=o;m=p;J=122}else J=122;while(0);if((J|0)==122){J=0;c[k+(r<<2)>>2]=q}s=s+1|0;if((s|0)==(z|0))break;else r=n}}if(!B)C=k;else{r=n;s=0;while(1){q=c[(c[K+64+8>>2]|0)+(s<<2)>>2]|0;n=r+1|0;do if(m>>>0>>0){p=m<<1>>>0>>0?n<<2:(n*12|0)>>>1;o=Ypb(k,p)|0;if(!o){n=r;break}k=o;m=p;J=128}else J=128;while(0);if((J|0)==128){J=0;c[k+(r<<2)>>2]=q}s=s+1|0;if((s|0)==(B|0)){C=k;break}else r=n}}if(!n){y=0;r=0}else{u=0;t=0;s=0;k=0;while(1){o=k+1|0;q=c[C+(k<<2)>>2]|0;do if(o>>>0>>0){p=o;m=0;do{if((c[C+(p<<2)>>2]|0)!=(q|0))break;m=m+1|0;p=m+o|0}while(p>>>0>>0);if((q|0)==0&m>>>0>1){p=m+1|0;do if(p>>>0<11){r=t+1|0;do if(s>>>0>>0){o=s<<1>>>0>>0?r<<2:(r*12|0)>>>1;q=Ypb(u,o)|0;if(!q){q=u;u=t;o=s;break}J=138}else{q=u;o=s;J=138}while(0);if((J|0)==138){J=0;c[q+(t<<2)>>2]=17;u=r}s=m+-2|0;t=u+1|0;if(o>>>0>>0){r=o<<1>>>0>>0?t<<2:(t*12|0)>>>1;m=Ypb(q,r)|0;if(!m){m=q;r=u;break}o=r}else m=q;c[m+(u<<2)>>2]=s;r=t}else{p=p>>>0>138?138:p;q=t+1|0;do if(s>>>0>>0){o=s<<1>>>0>>0?q<<2:(q*12|0)>>>1;m=Ypb(u,o)|0;if(!m){m=u;break}J=146}else{m=u;o=s;J=146}while(0);if((J|0)==146){J=0;c[m+(t<<2)>>2]=18;t=q;s=o}r=t+1|0;if(s>>>0>>0){q=s<<1>>>0>>0?r<<2:(r*12|0)>>>1;o=Ypb(m,q)|0;if(!o){r=t;o=s;break}m=o;o=q}else o=s;c[m+(t<<2)>>2]=p+-11}while(0);q=m;k=k+-1+p|0;break}if(m>>>0<=2){J=178;break}v=(m>>>0)/6|0;w=(m>>>0)%6|0;r=t+1|0;do if(s>>>0>>0){o=s<<1>>>0>>0?r<<2:(r*12|0)>>>1;p=Ypb(u,o)|0;if(!p){p=u;r=t;o=s;break}J=156}else{p=u;o=s;J=156}while(0);if((J|0)==156){J=0;c[p+(t<<2)>>2]=q}if(m>>>0>5){u=0;do{t=r+1|0;do if(o>>>0>>0){s=o<<1>>>0>>0?t<<2:(t*12|0)>>>1;q=Ypb(p,s)|0;if(!q)break;p=q;o=s;J=161}else J=161;while(0);if((J|0)==161){J=0;c[p+(r<<2)>>2]=16;r=t}t=r+1|0;do if(o>>>0>>0){s=o<<1>>>0>>0?t<<2:(t*12|0)>>>1;q=Ypb(p,s)|0;if(!q)break;p=q;o=s;J=165}else J=165;while(0);if((J|0)==165){J=0;c[p+(r<<2)>>2]=3;r=t}u=u+1|0}while(u>>>0>>0);t=p}else t=p;do if(w>>>0>2){s=r+1|0;do if(o>>>0>>0){q=o<<1>>>0>>0?s<<2:(s*12|0)>>>1;p=Ypb(t,q)|0;if(!p){p=t;s=r;break}o=q;J=171}else{p=t;J=171}while(0);if((J|0)==171){J=0;c[p+(r<<2)>>2]=16}t=s+1|0;if(o>>>0>>0){r=o<<1>>>0>>0?t<<2:(t*12|0)>>>1;q=Ypb(p,r)|0;if(!q){r=s;break}p=q;o=r}c[p+(s<<2)>>2]=w+-3;r=t}else{p=t;m=m-w|0}while(0);q=p;k=m+k|0}else J=178;while(0);do if((J|0)==178){J=0;r=t+1|0;if(s>>>0>>0){o=s<<1>>>0>>0?r<<2:(r*12|0)>>>1;m=Ypb(u,o)|0;if(!m){q=u;r=t;o=s;break}}else{m=u;o=s}c[m+(t<<2)>>2]=q;q=m}while(0);k=k+1|0;if((k|0)==(n|0)){y=q;break}else{u=q;t=r;s=o}}}o=Ypb(0,76)|0;if(!o){r=0;q=C;p=y;k=83;o=0;n=D;m=E;break}m=o;n=m+76|0;do{c[m>>2]=0;m=m+4|0}while((m|0)<(n|0));t=(r|0)==0;if(!t){k=0;do{x=y+(k<<2)|0;w=o+(c[x>>2]<<2)|0;c[w>>2]=(c[w>>2]|0)+1;k=k+1+((c[x>>2]|0)>>>0>15&1)|0}while((k|0)!=(r|0))}c[K+44+12>>2]=7;c[K+44+16>>2]=19;k=Ypb(c[G>>2]|0,76)|0;c[G>>2]=k;if(!k){r=0;q=C;p=y;k=83;n=D;m=E;break}m=k;n=m+76|0;do{c[m>>2]=0;m=m+4|0}while((m|0)<(n|0));k=Rsa(k,o,19,7)|0;if(k|0){r=0;q=C;p=y;n=D;m=E;break}k=Wsa(K+44|0)|0;if(k|0){r=0;q=C;p=y;n=D;m=E;break}m=c[K+44+16>>2]|0;if(!(m<<2)){k=0;n=0}else{k=Ypb(0,m<<2)|0;if(!k){r=0;q=C;p=y;k=83;n=D;m=E;break}n=m<<2}if(!m)m=0;else{q=c[G>>2]|0;p=0;do{c[k+(p<<2)>>2]=c[q+(c[65548+(p<<2)>>2]<<2)>>2];p=p+1|0}while((p|0)!=(m|0))}b:while(1){while(1){p=m+-1|0;if(!(m>>>0>4?(c[k+(p<<2)>>2]|0)==0:0)){x=k;p=m;break b}if(n>>>0>>0)break;else m=p}n=n<<1>>>0>>0?p<<2:(p*12|0)>>>1;m=Ypb(k,n)|0;if(!m){r=k;q=C;p=y;k=83;n=D;m=E;break a}k=m;m=p}do if(!(c[K+40>>2]&7)){n=c[K+4>>2]|0;k=c[K+8>>2]|0;if(k>>>0<(n+1|0)>>>0){m=k<<1>>>0<(n+1|0)>>>0?n+1|0:((n+1|0)*3|0)>>>1;k=Ypb(c[K>>2]|0,m)|0;if(!k)break;c[K+8>>2]=m;c[K>>2]=k}else k=c[K>>2]|0;c[K+4>>2]=n+1;a[k+n>>0]=0}while(0);w=(c[K>>2]|0)+((c[K+4>>2]|0)+-1)|0;a[w>>0]=d[w>>0]|0|A<<(c[K+40>>2]&7);A=(c[K+40>>2]|0)+1|0;c[K+40>>2]=A;do if(!(A&7)){n=c[K+4>>2]|0;k=c[K+8>>2]|0;if(k>>>0<(n+1|0)>>>0){m=k<<1>>>0<(n+1|0)>>>0?n+1|0:((n+1|0)*3|0)>>>1;k=Ypb(c[K>>2]|0,m)|0;if(!k)break;c[K+8>>2]=m;c[K>>2]=k}else k=c[K>>2]|0;c[K+4>>2]=n+1;a[k+n>>0]=0}while(0);A=(c[K+40>>2]|0)+1|0;c[K+40>>2]=A;do if(!(A&7)){n=c[K+4>>2]|0;k=c[K+8>>2]|0;if(k>>>0<(n+1|0)>>>0){m=k<<1>>>0<(n+1|0)>>>0?n+1|0:((n+1|0)*3|0)>>>1;k=Ypb(c[K>>2]|0,m)|0;if(!k)break;c[K+8>>2]=m;c[K>>2]=k}else k=c[K>>2]|0;c[K+4>>2]=n+1;a[k+n>>0]=0}while(0);k=(c[K>>2]|0)+((c[K+4>>2]|0)+-1)|0;a[k>>0]=d[k>>0]|0|1<<(c[K+40>>2]&7);k=(c[K+40>>2]|0)+1|0;c[K+40>>2]=k;m=p+-4|0;while(1)if(m|0?(c[x+(m+3<<2)>>2]|0)==0:0)m=m+-1|0;else break;q=0;do{do if(!(k&7)){p=c[K+4>>2]|0;k=c[K+8>>2]|0;if(k>>>0<(p+1|0)>>>0){n=k<<1>>>0<(p+1|0)>>>0?p+1|0:((p+1|0)*3|0)>>>1;k=Ypb(c[K>>2]|0,n)|0;if(!k)break;c[K+8>>2]=n;c[K>>2]=k}else k=c[K>>2]|0;c[K+4>>2]=p+1;a[k+p>>0]=0}while(0);k=(c[K>>2]|0)+((c[K+4>>2]|0)+-1)|0;a[k>>0]=d[k>>0]|0|((z+-257|0)>>>q&1)<<(c[K+40>>2]&7);k=(c[K+40>>2]|0)+1|0;c[K+40>>2]=k;q=q+1|0}while((q|0)!=5);q=0;do{do if(!(k&7)){p=c[K+4>>2]|0;k=c[K+8>>2]|0;if(k>>>0<(p+1|0)>>>0){n=k<<1>>>0<(p+1|0)>>>0?p+1|0:((p+1|0)*3|0)>>>1;k=Ypb(c[K>>2]|0,n)|0;if(!k)break;c[K+8>>2]=n;c[K>>2]=k}else k=c[K>>2]|0;c[K+4>>2]=p+1;a[k+p>>0]=0}while(0);k=(c[K>>2]|0)+((c[K+4>>2]|0)+-1)|0;a[k>>0]=d[k>>0]|0|((B+-1|0)>>>q&1)<<(c[K+40>>2]&7);k=(c[K+40>>2]|0)+1|0;c[K+40>>2]=k;q=q+1|0}while((q|0)!=5);q=0;do{do if(!(k&7)){p=c[K+4>>2]|0;k=c[K+8>>2]|0;if(k>>>0<(p+1|0)>>>0){n=k<<1>>>0<(p+1|0)>>>0?p+1|0:((p+1|0)*3|0)>>>1;k=Ypb(c[K>>2]|0,n)|0;if(!k)break;c[K+8>>2]=n;c[K>>2]=k}else k=c[K>>2]|0;c[K+4>>2]=p+1;a[k+p>>0]=0}while(0);k=(c[K>>2]|0)+((c[K+4>>2]|0)+-1)|0;a[k>>0]=d[k>>0]|0|(m>>>q&1)<<(c[K+40>>2]&7);k=(c[K+40>>2]|0)+1|0;c[K+40>>2]=k;q=q+1|0}while((q|0)!=4);if(m+4|0){s=0;do{q=c[x+(s<<2)>>2]|0;do if(!(k&7)){p=c[K+4>>2]|0;k=c[K+8>>2]|0;if(k>>>0<(p+1|0)>>>0){n=k<<1>>>0<(p+1|0)>>>0?p+1|0:((p+1|0)*3|0)>>>1;k=Ypb(c[K>>2]|0,n)|0;if(!k)break;c[K+8>>2]=n;c[K>>2]=k}else k=c[K>>2]|0;c[K+4>>2]=p+1;a[k+p>>0]=0}while(0);B=(c[K>>2]|0)+((c[K+4>>2]|0)+-1)|0;a[B>>0]=d[B>>0]|0|(q&1)<<(c[K+40>>2]&7);B=(c[K+40>>2]|0)+1|0;c[K+40>>2]=B;do if(!(B&7)){p=c[K+4>>2]|0;k=c[K+8>>2]|0;if(k>>>0<(p+1|0)>>>0){n=k<<1>>>0<(p+1|0)>>>0?p+1|0:((p+1|0)*3|0)>>>1;k=Ypb(c[K>>2]|0,n)|0;if(!k)break;c[K+8>>2]=n;c[K>>2]=k}else k=c[K>>2]|0;c[K+4>>2]=p+1;a[k+p>>0]=0}while(0);B=(c[K>>2]|0)+((c[K+4>>2]|0)+-1)|0;a[B>>0]=d[B>>0]|0|(q>>>1&1)<<(c[K+40>>2]&7);B=(c[K+40>>2]|0)+1|0;c[K+40>>2]=B;do if(!(B&7)){p=c[K+4>>2]|0;k=c[K+8>>2]|0;if(k>>>0<(p+1|0)>>>0){n=k<<1>>>0<(p+1|0)>>>0?p+1|0:((p+1|0)*3|0)>>>1;k=Ypb(c[K>>2]|0,n)|0;if(!k)break;c[K+8>>2]=n;c[K>>2]=k}else k=c[K>>2]|0;c[K+4>>2]=p+1;a[k+p>>0]=0}while(0);k=(c[K>>2]|0)+((c[K+4>>2]|0)+-1)|0;a[k>>0]=d[k>>0]|0|(q>>>2&1)<<(c[K+40>>2]&7);k=(c[K+40>>2]|0)+1|0;c[K+40>>2]=k;s=s+1|0}while((s|0)!=(m+4|0))}c:do if(!t){v=c[K+44+4>>2]|0;w=c[G>>2]|0;m=0;while(1){u=y+(m<<2)|0;n=c[u>>2]|0;s=c[v+(n<<2)>>2]|0;t=c[w+(n<<2)>>2]|0;if(t){q=0;do{do if(!(k&7)){p=c[K+4>>2]|0;k=c[K+8>>2]|0;if(k>>>0<(p+1|0)>>>0){n=k<<1>>>0<(p+1|0)>>>0?p+1|0:((p+1|0)*3|0)>>>1;k=Ypb(c[K>>2]|0,n)|0;if(!k)break;c[K+8>>2]=n;c[K>>2]=k}else k=c[K>>2]|0;c[K+4>>2]=p+1;a[k+p>>0]=0}while(0);k=(c[K>>2]|0)+((c[K+4>>2]|0)+-1)|0;a[k>>0]=d[k>>0]|0|(s>>>(t+-1-q|0)&1)<<(c[K+40>>2]&7);k=(c[K+40>>2]|0)+1|0;c[K+40>>2]=k;q=q+1|0}while((q|0)!=(t|0));n=c[u>>2]|0}switch(n|0){case 16:{m=m+1|0;q=c[y+(m<<2)>>2]|0;do if(!(k&7)){p=c[K+4>>2]|0;k=c[K+8>>2]|0;if(k>>>0<(p+1|0)>>>0){n=k<<1>>>0<(p+1|0)>>>0?p+1|0:((p+1|0)*3|0)>>>1;k=Ypb(c[K>>2]|0,n)|0;if(!k)break;c[K+8>>2]=n;c[K>>2]=k}else k=c[K>>2]|0;c[K+4>>2]=p+1;a[k+p>>0]=0}while(0);B=(c[K>>2]|0)+((c[K+4>>2]|0)+-1)|0;a[B>>0]=d[B>>0]|0|(q&1)<<(c[K+40>>2]&7);B=(c[K+40>>2]|0)+1|0;c[K+40>>2]=B;do if(!(B&7)){p=c[K+4>>2]|0;k=c[K+8>>2]|0;if(k>>>0<(p+1|0)>>>0){n=k<<1>>>0<(p+1|0)>>>0?p+1|0:((p+1|0)*3|0)>>>1;k=Ypb(c[K>>2]|0,n)|0;if(!k)break;c[K+8>>2]=n;c[K>>2]=k}else k=c[K>>2]|0;c[K+4>>2]=p+1;a[k+p>>0]=0}while(0);k=(c[K>>2]|0)+((c[K+4>>2]|0)+-1)|0;a[k>>0]=d[k>>0]|0|(q>>>1&1)<<(c[K+40>>2]&7);k=(c[K+40>>2]|0)+1|0;c[K+40>>2]=k;break}case 17:{m=m+1|0;q=c[y+(m<<2)>>2]|0;do if(!(k&7)){p=c[K+4>>2]|0;k=c[K+8>>2]|0;if(k>>>0<(p+1|0)>>>0){n=k<<1>>>0<(p+1|0)>>>0?p+1|0:((p+1|0)*3|0)>>>1;k=Ypb(c[K>>2]|0,n)|0;if(!k)break;c[K+8>>2]=n;c[K>>2]=k}else k=c[K>>2]|0;c[K+4>>2]=p+1;a[k+p>>0]=0}while(0);B=(c[K>>2]|0)+((c[K+4>>2]|0)+-1)|0;a[B>>0]=d[B>>0]|0|(q&1)<<(c[K+40>>2]&7);B=(c[K+40>>2]|0)+1|0;c[K+40>>2]=B;do if(!(B&7)){p=c[K+4>>2]|0;k=c[K+8>>2]|0;if(k>>>0<(p+1|0)>>>0){n=k<<1>>>0<(p+1|0)>>>0?p+1|0:((p+1|0)*3|0)>>>1;k=Ypb(c[K>>2]|0,n)|0;if(!k)break;c[K+8>>2]=n;c[K>>2]=k}else k=c[K>>2]|0;c[K+4>>2]=p+1;a[k+p>>0]=0}while(0);B=(c[K>>2]|0)+((c[K+4>>2]|0)+-1)|0;a[B>>0]=d[B>>0]|0|(q>>>1&1)<<(c[K+40>>2]&7);B=(c[K+40>>2]|0)+1|0;c[K+40>>2]=B;do if(!(B&7)){p=c[K+4>>2]|0;k=c[K+8>>2]|0;if(k>>>0<(p+1|0)>>>0){n=k<<1>>>0<(p+1|0)>>>0?p+1|0:((p+1|0)*3|0)>>>1;k=Ypb(c[K>>2]|0,n)|0;if(!k)break;c[K+8>>2]=n;c[K>>2]=k}else k=c[K>>2]|0;c[K+4>>2]=p+1;a[k+p>>0]=0}while(0);k=(c[K>>2]|0)+((c[K+4>>2]|0)+-1)|0;a[k>>0]=d[k>>0]|0|(q>>>2&1)<<(c[K+40>>2]&7);k=(c[K+40>>2]|0)+1|0;c[K+40>>2]=k;break}case 18:{m=m+1|0;s=c[y+(m<<2)>>2]|0;q=0;do{do if(!(k&7)){p=c[K+4>>2]|0;k=c[K+8>>2]|0;if(k>>>0<(p+1|0)>>>0){n=k<<1>>>0<(p+1|0)>>>0?p+1|0:((p+1|0)*3|0)>>>1;k=Ypb(c[K>>2]|0,n)|0;if(!k)break;c[K+8>>2]=n;c[K>>2]=k}else k=c[K>>2]|0;c[K+4>>2]=p+1;a[k+p>>0]=0}while(0);k=(c[K>>2]|0)+((c[K+4>>2]|0)+-1)|0;a[k>>0]=d[k>>0]|0|(s>>>q&1)<<(c[K+40>>2]&7);k=(c[K+40>>2]|0)+1|0;c[K+40>>2]=k;q=q+1|0}while((q|0)!=7);break}default:{}}m=m+1|0;if((m|0)==(r|0))break c}}while(0);_sa(K+40|0,K,K+104|0,K+84|0,K+64|0);p=c[(c[F>>2]|0)+1024>>2]|0;if(!p){r=x;q=C;p=y;k=64;n=D;m=E;break}q=c[(c[K+84+4>>2]|0)+1024>>2]|0;k=c[K+40>>2]|0;r=0;do{do if(!(k&7)){n=c[K+4>>2]|0;k=c[K+8>>2]|0;if(k>>>0<(n+1|0)>>>0){m=k<<1>>>0<(n+1|0)>>>0?n+1|0:((n+1|0)*3|0)>>>1;k=Ypb(c[K>>2]|0,m)|0;if(!k)break;c[K+8>>2]=m;c[K>>2]=k}else k=c[K>>2]|0;c[K+4>>2]=n+1;a[k+n>>0]=0}while(0);k=(c[K>>2]|0)+((c[K+4>>2]|0)+-1)|0;a[k>>0]=d[k>>0]|0|(q>>>(p+-1-r|0)&1)<<(c[K+40>>2]&7);k=(c[K+40>>2]|0)+1|0;c[K+40>>2]=k;r=r+1|0}while((r|0)!=(p|0));r=x;q=C;p=y;k=0;n=D;m=E}else{r=0;q=0;p=0;o=0;n=D;m=E}}else{r=0;q=0;p=0;o=0;n=D;m=E}}}else{r=0;q=0;p=0;o=0;n=D;m=E}}else{r=0;q=0;p=0;o=0;n=D;m=E}}}}}while(0);c[K+104+8>>2]=0;c[K+104+4>>2]=0;Wpb(c[K+104>>2]|0);c[K+104>>2]=0;Wpb(c[K+84>>2]|0);Wpb(c[K+84+4>>2]|0);Wpb(c[F>>2]|0);Wpb(c[K+64>>2]|0);Wpb(c[K+64+4>>2]|0);Wpb(c[K+64+8>>2]|0);Wpb(c[K+44>>2]|0);Wpb(c[K+44+4>>2]|0);Wpb(c[G>>2]|0);Wpb(m);Wpb(n);Wpb(o);Wpb(p);Wpb(q);Wpb(r);break}default:k=0}l=l+1|0;if(!((l|0)!=(H|0)&(k|0)==0))break;m=c[j>>2]|0}J=c[K+16+4>>2]|0;g=c[K+16+20>>2]|0;h=c[K+16+12>>2]|0;Wpb(c[K+16>>2]|0);Wpb(c[K+16+8>>2]|0);Wpb(J);Wpb(g);Wpb(h);Wpb(c[K+16+16>>2]|0);h=k;g=c[K>>2]|0;c[e>>2]=g;e=c[K+4>>2]|0;c[f>>2]=e;i=K;return h|0}function Zsa(f,g,h,i,j,k,l,m,n){f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;var o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;J=k>>>0>8191?k:k>>>3;K=k>>>0>8191?258:64;if((k+-1|0)>>>0>32767){k=60;return k|0}if(k+-1&k|0){k=90;return k|0}I=m>>>0>258?258:m;if(i>>>0>=j>>>0){k=0;return k|0}q=0;G=0;H=0;r=0;a:while(1){E=i&k+-1;m=i+2|0;if(m>>>0>>0){m=d[h+(i+1)>>0]<<4^d[h+i>>0]^d[h+m>>0]<<8;F=9}else{o=j-i|0;if((i|0)==(j|0))F=10;else{p=0;m=0;do{m=d[h+(p+i)>>0]<<(p<<3)^m;p=p+1|0}while((p|0)!=(o|0));F=9}}if((F|0)==9){F=0;m=m&65535;if(!m)F=10;else r=0}do if((F|0)==10){F=0;if(r|0){m=i+r|0;if(m>>>0<=j>>>0)if(!(a[h+(m+-1)>>0]|0)){m=0;break}m=0;r=r+-1|0;break}p=h+i|0;m=(p+258|0)>>>0>(h+j|0)>>>0?h+j|0:p+258|0;b:do if((p|0)==(m|0))o=p;else{o=p;while(1){if(a[o>>0]|0)break b;o=o+1|0;if((o|0)==(m|0)){o=m;break}}}while(0);m=0;r=o-p|0}while(0);B=c[g+8>>2]|0;c[B+(E<<2)>>2]=m;D=(c[g>>2]|0)+(m<<2)|0;o=c[D>>2]|0;if((o|0)!=-1)b[(c[g+4>>2]|0)+(E<<1)>>1]=o;c[D>>2]=E;x=c[g+20>>2]|0;b[x+(E<<1)>>1]=r;C=c[g+12>>2]|0;o=C+((r&65535)<<2)|0;p=c[o>>2]|0;if((p|0)!=-1)b[(c[g+16>>2]|0)+(E<<1)>>1]=p;c[o>>2]=E;y=c[g+4>>2]|0;o=e[y+(E<<1)>>1]|0;z=i+258|0;z=z>>>0>j>>>0?j:z;c:do if(!J){u=0;s=0}else{A=h+i|0;if(r>>>0>2){v=1;u=0;s=0;w=0}else{v=(i|0)==(z|0);w=1;u=0;s=0;x=0;while(1){t=x;x=(E>>>0>=o>>>0?0:k)+(E-o)|0;if(x>>>0>>0)break c;if(!x)p=u;else{d:do if(v)p=A;else{t=h+(i-x)|0;p=A;while(1){if((a[t>>0]|0)!=(a[p>>0]|0))break d;p=p+1|0;if((p|0)==(h+z|0)){p=h+z|0;break}else t=t+1|0}}while(0);p=p-A|0;if(p>>>0>u>>>0)if(p>>>0>>0)s=x;else{u=p;s=x;break c}else p=u}u=o;o=e[y+(o<<1)>>1]|0;if((u|0)==(o|0)){u=p;break c}if((c[B+(o<<2)>>2]|0)!=(m|0)){u=p;break c}if(w>>>0>=J>>>0){u=p;break c}else{w=w+1|0;u=p}}}while(1){t=w;w=(E>>>0>=o>>>0?0:k)+(E-o)|0;if(w>>>0>>0)break c;if(!w){p=u;t=s}else{p=e[x+(o<<1)>>1]|0;p=p>>>0>r>>>0?r:p;e:do if((A+p|0)==(h+z|0))p=h+z|0;else{t=h+(i-w)+p|0;p=A+p|0;while(1){if((a[t>>0]|0)!=(a[p>>0]|0))break e;p=p+1|0;if((p|0)==(h+z|0)){p=h+z|0;break}else t=t+1|0}}while(0);p=p-A|0;if(p>>>0>u>>>0)if(p>>>0>>0)t=w;else{u=p;s=w;break c}else{p=u;t=s}}s=e[y+(o<<1)>>1]|0;if((o|0)==(s|0)){u=p;s=t;break c}if(p>>>0>r>>>0){o=e[(c[g+16>>2]|0)+(o<<1)>>1]|0;if((e[x+(o<<1)>>1]|0)!=(r|0)){u=p;s=t;break c}}else if((c[B+(s<<2)>>2]|0)==(m|0))o=s;else{u=p;s=t;break c}if(v>>>0>=J>>>0){u=p;s=t;break}else{v=v+1|0;u=p;s=t}}}while(0);do if(!n){x=q;F=61}else{m=(q|0)==0;if(m&u>>>0>2)if(u>>>0<=K>>>0&u>>>0<258){q=1;p=u;o=s;m=r;break}if(m){x=0;F=61}else{if(!i){m=81;F=129;break a}if(u>>>0<=(G+1|0)>>>0){c[D>>2]=-1;c[C+(r<<2)>>2]=-1;x=0;u=G;s=H;i=i+-1|0;F=61;break}p=d[h+(i+-1)>>0]|0;q=c[f+4>>2]|0;m=c[f+8>>2]|0;if(m>>>0>>0){o=m<<1>>>0>>0?q+1<<2:((q+1|0)*12|0)>>>1;m=Ypb(c[f>>2]|0,o)|0;if(!m){m=83;F=129;break a}c[f+8>>2]=o;c[f>>2]=m}else m=c[f>>2]|0;c[f+4>>2]=q+1;c[m+(q<<2)>>2]=p;x=0;F=61}}while(0);do if((F|0)==61){F=0;if(s>>>0>k>>>0&u>>>0>2){m=86;F=129;break a}if(u>>>0<3){p=d[h+i>>0]|0;q=c[f+4>>2]|0;m=c[f+8>>2]|0;if(m>>>0>>0){o=m<<1>>>0>>0?q+1<<2:((q+1|0)*12|0)>>>1;m=Ypb(c[f>>2]|0,o)|0;if(!m){m=83;F=129;break a}c[f+8>>2]=o;c[f>>2]=m}else m=c[f>>2]|0;c[f+4>>2]=q+1;c[m+(q<<2)>>2]=p;q=x;p=G;o=H;m=r;break}if(u>>>0>=l>>>0)if(!(s>>>0>4096&(u|0)==3)){p=1;m=28;f:while(1){while(1){if(p>>>0>m>>>0){q=28;m=258;break f}o=(m+p|0)>>>1;if((c[32096+(o<<2)>>2]|0)>>>0<=u>>>0)break;m=c[32096+(o+-1<<2)>>2]|0;if(m>>>0>u>>>0)m=o+-1|0;else{q=o+-1|0;break f}}p=o+1|0}v=u-m|0;p=1;m=29;g:while(1){while(1){if(p>>>0>m>>>0){t=29;m=24577;break g}o=(m+p|0)>>>1;if((c[32332+(o<<2)>>2]|0)>>>0<=s>>>0)break;m=c[32332+(o+-1<<2)>>2]|0;if(m>>>0>s>>>0)m=o+-1|0;else{t=o+-1|0;break g}}p=o+1|0}s=s-m|0;p=q+257|0;q=c[f+4>>2]|0;m=c[f+8>>2]|0;if(m>>>0>>0){o=m<<1>>>0>>0?q+1<<2:((q+1|0)*12|0)>>>1;m=Ypb(c[f>>2]|0,o)|0;if(m|0){c[f+8>>2]=o;c[f>>2]=m;F=90}}else{m=c[f>>2]|0;F=90}if((F|0)==90){F=0;c[f+4>>2]=q+1;c[m+(q<<2)>>2]=p}p=c[f+4>>2]|0;m=c[f+8>>2]|0;if(m>>>0>>0){o=m<<1>>>0>>0?p+1<<2:((p+1|0)*12|0)>>>1;m=Ypb(c[f>>2]|0,o)|0;if(m|0){c[f+8>>2]=o;c[f>>2]=m;F=95}}else{m=c[f>>2]|0;F=95}if((F|0)==95){F=0;c[f+4>>2]=p+1;c[m+(p<<2)>>2]=v}p=c[f+4>>2]|0;m=c[f+8>>2]|0;if(m>>>0>>0){o=m<<1>>>0>>0?p+1<<2:((p+1|0)*12|0)>>>1;m=Ypb(c[f>>2]|0,o)|0;if(m|0){c[f+8>>2]=o;c[f>>2]=m;F=100}}else{m=c[f>>2]|0;F=100}if((F|0)==100){F=0;c[f+4>>2]=p+1;c[m+(p<<2)>>2]=t}p=c[f+4>>2]|0;m=c[f+8>>2]|0;do if(m>>>0>>0){o=m<<1>>>0>>0?p+1<<2:((p+1|0)*12|0)>>>1;m=Ypb(c[f>>2]|0,o)|0;if(!m)break;c[f+8>>2]=o;c[f>>2]=m;F=105}else{m=c[f>>2]|0;F=105}while(0);if((F|0)==105){c[f+4>>2]=p+1;c[m+(p<<2)>>2]=s}if(u>>>0<=1){q=x;p=G;o=H;m=r;break}w=u+-1|0;v=1;m=r;t=i;do{r=t;t=t+1|0;s=t&k+-1;do if((r+3|0)>>>0>>0){o=d[h+(r+2)>>0]<<4^d[h+t>>0]^d[h+(r+3)>>0]<<8;F=113}else{if(t>>>0>=j>>>0){F=114;break}p=j-t|0;if((t|0)==(j|0)){F=114;break}else{q=0;o=0}do{o=d[h+(q+t)>>0]<<(q<<3)^o;q=q+1|0}while((q|0)!=(p|0));F=113}while(0);if((F|0)==113){F=0;o=o&65535;if(!o)F=114;else m=0}do if((F|0)==114){if(m|0){if((t+m|0)>>>0<=j>>>0)if(!(a[h+(r+m)>>0]|0)){o=0;break}o=0;m=m+-1|0;break}p=h+t|0;m=(p+258|0)>>>0>(h+j|0)>>>0?h+j|0:p+258|0;h:do if((p|0)==(m|0))m=p;else{o=p;do{if(a[o>>0]|0){m=o;break h}o=o+1|0}while((o|0)!=(m|0))}while(0);o=0;m=m-p|0}while(0);c[(c[g+8>>2]|0)+(s<<2)>>2]=o;o=(c[g>>2]|0)+(o<<2)|0;p=c[o>>2]|0;if((p|0)!=-1)b[(c[g+4>>2]|0)+(s<<1)>>1]=p;c[o>>2]=s;b[(c[g+20>>2]|0)+(s<<1)>>1]=m;o=(c[g+12>>2]|0)+((m&65535)<<2)|0;p=c[o>>2]|0;if((p|0)!=-1)b[(c[g+16>>2]|0)+(s<<1)>>1]=p;c[o>>2]=s;v=v+1|0}while((v|0)!=(u|0));q=x;p=G;o=H;i=w+i|0;break}p=d[h+i>>0]|0;q=c[f+4>>2]|0;m=c[f+8>>2]|0;if(m>>>0>>0){o=m<<1>>>0>>0?q+1<<2:((q+1|0)*12|0)>>>1;m=Ypb(c[f>>2]|0,o)|0;if(!m){m=83;F=129;break a}c[f+8>>2]=o;c[f>>2]=m}else m=c[f>>2]|0;c[f+4>>2]=q+1;c[m+(q<<2)>>2]=p;q=x;p=G;o=H;m=r}while(0);i=i+1|0;if(i>>>0>=j>>>0){m=0;F=129;break}else{G=p;H=o;r=m}}if((F|0)==129)return m|0;return 0}function _sa(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;if(!(c[f+4>>2]|0))return;i=0;do{p=c[(c[f>>2]|0)+(i<<2)>>2]|0;n=c[(c[g+4>>2]|0)+(p<<2)>>2]|0;m=c[(c[g+8>>2]|0)+(p<<2)>>2]|0;if(m|0){j=c[b>>2]|0;o=0;do{do if(!(j&7)){l=c[e+4>>2]|0;j=c[e+8>>2]|0;if(j>>>0<(l+1|0)>>>0){k=j<<1>>>0<(l+1|0)>>>0?l+1|0:((l+1|0)*3|0)>>>1;j=Ypb(c[e>>2]|0,k)|0;if(!j)break;c[e+8>>2]=k;c[e>>2]=j}else j=c[e>>2]|0;c[e+4>>2]=l+1;a[j+l>>0]=0}while(0);j=(c[e>>2]|0)+((c[e+4>>2]|0)+-1)|0;a[j>>0]=d[j>>0]|0|(n>>>(m+-1-o|0)&1)<<(c[b>>2]&7);j=(c[b>>2]|0)+1|0;c[b>>2]=j;o=o+1|0}while((o|0)!=(m|0))}if(p>>>0>256){n=c[31980+(p+-257<<2)>>2]|0;r=c[f>>2]|0;o=c[r+(i+1<<2)>>2]|0;q=c[r+(i+2<<2)>>2]|0;s=c[32212+(q<<2)>>2]|0;i=i+3|0;r=c[r+(i<<2)>>2]|0;if((p+-265|0)>>>0<=19){j=c[b>>2]|0;m=0;do{do if(!(j&7)){l=c[e+4>>2]|0;j=c[e+8>>2]|0;if(j>>>0<(l+1|0)>>>0){k=j<<1>>>0<(l+1|0)>>>0?l+1|0:((l+1|0)*3|0)>>>1;j=Ypb(c[e>>2]|0,k)|0;if(!j)break;c[e+8>>2]=k;c[e>>2]=j}else j=c[e>>2]|0;c[e+4>>2]=l+1;a[j+l>>0]=0}while(0);j=(c[e>>2]|0)+((c[e+4>>2]|0)+-1)|0;a[j>>0]=d[j>>0]|0|(o>>>m&1)<<(c[b>>2]&7);j=(c[b>>2]|0)+1|0;c[b>>2]=j;m=m+1|0}while((m|0)!=(n|0))}m=c[(c[h+4>>2]|0)+(q<<2)>>2]|0;n=c[(c[h+8>>2]|0)+(q<<2)>>2]|0;if(n|0){j=c[b>>2]|0;o=0;do{do if(!(j&7)){l=c[e+4>>2]|0;j=c[e+8>>2]|0;if(j>>>0<(l+1|0)>>>0){k=j<<1>>>0<(l+1|0)>>>0?l+1|0:((l+1|0)*3|0)>>>1;j=Ypb(c[e>>2]|0,k)|0;if(!j)break;c[e+8>>2]=k;c[e>>2]=j}else j=c[e>>2]|0;c[e+4>>2]=l+1;a[j+l>>0]=0}while(0);j=(c[e>>2]|0)+((c[e+4>>2]|0)+-1)|0;a[j>>0]=d[j>>0]|0|(m>>>(n+-1-o|0)&1)<<(c[b>>2]&7);j=(c[b>>2]|0)+1|0;c[b>>2]=j;o=o+1|0}while((o|0)!=(n|0))}if(q>>>0>=4){j=c[b>>2]|0;m=0;do{do if(!(j&7)){l=c[e+4>>2]|0;j=c[e+8>>2]|0;if(j>>>0<(l+1|0)>>>0){k=j<<1>>>0<(l+1|0)>>>0?l+1|0:((l+1|0)*3|0)>>>1;j=Ypb(c[e>>2]|0,k)|0;if(!j)break;c[e+8>>2]=k;c[e>>2]=j}else j=c[e>>2]|0;c[e+4>>2]=l+1;a[j+l>>0]=0}while(0);j=(c[e>>2]|0)+((c[e+4>>2]|0)+-1)|0;a[j>>0]=d[j>>0]|0|(r>>>m&1)<<(c[b>>2]&7);j=(c[b>>2]|0)+1|0;c[b>>2]=j;m=m+1|0}while((m|0)!=(s|0))}}i=i+1|0}while((i|0)!=(c[f+4>>2]|0));return}function $sa(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0;if(g>>>0<2){l=53;return l|0}i=a[f>>0]|0;j=d[f+1>>0]|0;if((((i&255)<<8|j)>>>0)%31|0|0){l=24;return l|0}if(i<<24>>24<0|(i&15|0)!=8){l=25;return l|0}if(j&32|0){l=26;return l|0}i=c[h+8>>2]|0;if(!i)i=Tsa(b,e,f+2|0,g+-2|0,0)|0;else i=Ci[i&127](b,e,f+2|0,g+-2|0,h)|0;if(i|0){l=i;return l|0}if(!(c[h>>2]|0)){l=(d[f+(g+-4)+1>>0]|0)<<16|(d[f+(g+-4)>>0]|0)<<24|(d[f+(g+-4)+2>>0]|0)<<8|(d[f+(g+-4)+3>>0]|0);i=c[e>>2]|0;if(!i){j=1;i=0}else{g=c[b>>2]|0;j=1;f=0;do{k=i>>>0>5550?5550:i;b=i;i=i-k|0;if(k){h=g;e=k;while(1){g=h+1|0;j=(d[h>>0]|0)+j|0;f=j+f|0;e=e+-1|0;if(!e)break;else h=g}}j=(j>>>0)%65521|0;f=(f>>>0)%65521|0}while((b|0)!=(k|0));i=f<<16}if((j|i|0)!=(l|0)){l=58;return l|0}}l=0;return l|0}function ata(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=i;i=i+16|0;c[t+4>>2]=0;c[t>>2]=0;j=c[b>>2]|0;l=c[e>>2]|0;c[t+8>>2]=j;if((l|0)==-1){k=-1;s=5}else{k=l<<1>>>0<(l+1|0)>>>0?l+1|0:((l+1|0)*3|0)>>>1;j=Ypb(j,k)|0;if(!j){p=l;k=l}else{c[t+8>>2]=j;s=5}}if((s|0)==5){a[j+l>>0]=120;p=l+1|0}n=p+1|0;if(k>>>0>>0){m=k<<1>>>0>>0?n:(n*3|0)>>>1;j=c[t+8>>2]|0;l=Ypb(j,m)|0;if(!l){o=j;l=j;m=p}else{c[t+8>>2]=l;j=l;k=m;s=10}}else{l=c[t+8>>2]|0;j=l;s=10}if((s|0)==10){a[l+p>>0]=1;o=j;m=n}j=c[h+28>>2]|0;if(!j)r=Ysa(t+4|0,t,f,g,h)|0;else r=Ci[j&127](t+4|0,t,f,g,h)|0;if(r|0){q=o;s=m;c[b>>2]=q;c[e>>2]=s;i=t;return r|0}if(!g){n=1;q=0}else{n=1;j=0;do{q=g>>>0>5550?5550:g;h=g;g=g-q|0;if(q){o=f;p=q;while(1){f=o+1|0;n=(d[o>>0]|0)+n|0;j=n+j|0;p=p+-1|0;if(!p)break;else o=f}}n=(n>>>0)%65521|0;j=(j>>>0)%65521|0}while((h|0)!=(q|0));q=j<<16}j=c[t+4>>2]|0;if(c[t>>2]|0){f=l;h=0;while(1){p=a[j+h>>0]|0;g=m+1|0;if(k>>>0>>0){f=k<<1>>>0>>0?g:(g*3|0)>>>1;j=Ypb(l,f)|0;if(!j)o=l;else{c[t+8>>2]=j;o=j;l=j;k=f;s=24}}else{o=l;l=f;s=24}if((s|0)==24){s=0;a[l+m>>0]=p;m=g}h=h+1|0;j=c[t+4>>2]|0;if((h|0)==(c[t>>2]|0))break;else{f=l;l=o}}}Wpb(j);j=m+4|0;if(k>>>0>>0){l=c[t+8>>2]|0;k=Ypb(l,k<<1>>>0>>0?j:(j*3|0)>>>1)|0;if(!k){k=l;j=m}else c[t+8>>2]=k}else k=c[t+8>>2]|0;s=k+(j+-4)|0;a[s>>0]=q>>>24;a[s+1>>0]=q>>>16;a[s+2>>0]=n>>>8;a[s+3>>0]=n;q=c[t+8>>2]|0;s=j;c[b>>2]=q;c[e>>2]=s;i=t;return r|0}function bta(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0;i=c[e>>2]|0;if((f+12+i|0)>>>0>>0?1:(f+12+i|0)>>>0<(f+12|0)>>>0){j=77;return j|0}j=Ypb(c[b>>2]|0,f+12+i|0)|0;if(!j){j=83;return j|0}c[b>>2]=j;c[e>>2]=f+12+i;a[j+i>>0]=f>>>24;a[j+i+1>>0]=f>>>16;a[j+i+2>>0]=f>>>8;a[j+i+3>>0]=f;a[j+i+4>>0]=a[g>>0]|0;a[j+i+5>>0]=a[g+1>>0]|0;a[j+i+6>>0]=a[g+2>>0]|0;a[j+i+7>>0]=a[g+3>>0]|0;if(!f){e=f>>>24&255;g=f>>>16&255;h=f>>>8&255;b=f&255}else{b=0;do{a[j+i+(b+8)>>0]=a[h+b>>0]|0;b=b+1|0}while((b|0)!=(f|0));e=a[j+i>>0]|0;g=a[j+i+1>>0]|0;h=a[j+i+2>>0]|0;b=a[j+i+3>>0]|0}g=(g&255)<<16|(e&255)<<24|(h&255)<<8|b&255;if(!(g+4|0))b=0;else{b=-1;e=0;do{b=c[32452+(((d[j+i+4+e>>0]|0)^b&255)<<2)>>2]^b>>>8;e=e+1|0}while((e|0)!=(g+4|0));b=~b}a[j+i+8+g>>0]=b>>>24;a[j+i+8+g+1>>0]=b>>>16;a[j+i+8+g+2>>0]=b>>>8;a[j+i+8+g+3>>0]=b;j=0;return j|0}function cta(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=Ypb(c[b+64>>2]|0,(c[b+60>>2]<<2)+4|0)|0;f=Ypb(c[b+68>>2]|0,(c[b+60>>2]<<2)+4|0)|0;if(!((h|0)!=0&(f|0)!=0)){Wpb(h);Wpb(f);e=83;return e|0}g=c[b+60>>2]|0;c[b+60>>2]=g+1;c[b+64>>2]=h;c[b+68>>2]=f;c[h+(g<<2)>>2]=0;f=Ypb(0,1)|0;if(f|0){a[f>>0]=0;c[h+(g<<2)>>2]=f}g=(c[b+64>>2]|0)+((c[b+60>>2]|0)+-1<<2)|0;h=rnb(d)|0;f=Ypb(c[g>>2]|0,h+1|0)|0;if(f|0){a[f+h>>0]=0;c[g>>2]=f;if(h|0){a[f>>0]=a[d>>0]|0;if((h|0)!=1){f=1;do{a[(c[g>>2]|0)+f>>0]=a[d+f>>0]|0;f=f+1|0}while((f|0)!=(h|0))}}}f=(c[b+68>>2]|0)+((c[b+60>>2]|0)+-1<<2)|0;c[f>>2]=0;g=Ypb(0,1)|0;if(g|0){a[g>>0]=0;c[f>>2]=g}g=(c[b+68>>2]|0)+((c[b+60>>2]|0)+-1<<2)|0;h=rnb(e)|0;f=Ypb(c[g>>2]|0,h+1|0)|0;if(!f){e=0;return e|0}a[f+h>>0]=0;c[g>>2]=f;if(!h){e=0;return e|0}a[f>>0]=a[e>>0]|0;if((h|0)==1){e=0;return e|0}else f=1;do{a[(c[g>>2]|0)+f>>0]=a[e+f>>0]|0;f=f+1|0}while((f|0)!=(h|0));f=0;return f|0}function dta(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;l=Ypb(c[b+76>>2]|0,(c[b+72>>2]<<2)+4|0)|0;h=Ypb(c[b+80>>2]|0,(c[b+72>>2]<<2)+4|0)|0;i=Ypb(c[b+84>>2]|0,(c[b+72>>2]<<2)+4|0)|0;j=Ypb(c[b+88>>2]|0,(c[b+72>>2]<<2)+4|0)|0;if(!((l|0)!=0&(h|0)!=0&(i|0)!=0&(j|0)!=0)){Wpb(l);Wpb(h);Wpb(i);Wpb(j);g=83;return g|0}k=c[b+72>>2]|0;c[b+72>>2]=k+1;c[b+76>>2]=l;c[b+80>>2]=h;c[b+84>>2]=i;c[b+88>>2]=j;c[l+(k<<2)>>2]=0;h=Ypb(0,1)|0;if(h|0){a[h>>0]=0;c[l+(k<<2)>>2]=h}i=(c[b+76>>2]|0)+((c[b+72>>2]|0)+-1<<2)|0;j=rnb(d)|0;h=Ypb(c[i>>2]|0,j+1|0)|0;if(h|0){a[h+j>>0]=0;c[i>>2]=h;if(j|0){a[h>>0]=a[d>>0]|0;if((j|0)!=1){h=1;do{a[(c[i>>2]|0)+h>>0]=a[d+h>>0]|0;h=h+1|0}while((h|0)!=(j|0))}}}h=(c[b+80>>2]|0)+((c[b+72>>2]|0)+-1<<2)|0;c[h>>2]=0;i=Ypb(0,1)|0;if(i|0){a[i>>0]=0;c[h>>2]=i}i=(c[b+80>>2]|0)+((c[b+72>>2]|0)+-1<<2)|0;j=rnb(e)|0;h=Ypb(c[i>>2]|0,j+1|0)|0;if(h|0){a[h+j>>0]=0;c[i>>2]=h;if(j|0){a[h>>0]=a[e>>0]|0;if((j|0)!=1){h=1;do{a[(c[i>>2]|0)+h>>0]=a[e+h>>0]|0;h=h+1|0}while((h|0)!=(j|0))}}}h=(c[b+84>>2]|0)+((c[b+72>>2]|0)+-1<<2)|0;c[h>>2]=0;i=Ypb(0,1)|0;if(i|0){a[i>>0]=0;c[h>>2]=i}i=(c[b+84>>2]|0)+((c[b+72>>2]|0)+-1<<2)|0;j=rnb(f)|0;h=Ypb(c[i>>2]|0,j+1|0)|0;if(h|0){a[h+j>>0]=0;c[i>>2]=h;if(j|0){a[h>>0]=a[f>>0]|0;if((j|0)!=1){h=1;do{a[(c[i>>2]|0)+h>>0]=a[f+h>>0]|0;h=h+1|0}while((h|0)!=(j|0))}}}h=(c[b+88>>2]|0)+((c[b+72>>2]|0)+-1<<2)|0;c[h>>2]=0;i=Ypb(0,1)|0;if(i|0){a[i>>0]=0;c[h>>2]=i}i=(c[b+88>>2]|0)+((c[b+72>>2]|0)+-1<<2)|0;j=rnb(g)|0;h=Ypb(c[i>>2]|0,j+1|0)|0;if(!h){g=0;return g|0}a[h+j>>0]=0;c[i>>2]=h;if(!j){g=0;return g|0}a[h>>0]=a[g>>0]|0;if((j|0)==1){g=0;return g|0}else h=1;do{a[(c[i>>2]|0)+h>>0]=a[g+h>>0]|0;h=h+1|0}while((h|0)!=(j|0));h=0;return h|0}function eta(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;Osa(b);mBb(b|0,d|0,160)|0;c[b+28>>2]=0;c[b+28+4>>2]=0;c[b+28+8>>2]=0;c[b+28+12>>2]=0;c[b+12>>2]=6;c[b+16>>2]=8;c[b+20>>2]=0;c[b+20+4>>2]=0;c[b+12>>2]=c[d+12>>2];c[b+12+4>>2]=c[d+12+4>>2];c[b+12+8>>2]=c[d+12+8>>2];c[b+12+12>>2]=c[d+12+12>>2];c[b+12+16>>2]=c[d+12+16>>2];c[b+12+20>>2]=c[d+12+20>>2];c[b+12+24>>2]=c[d+12+24>>2];c[b+12+28>>2]=c[d+12+28>>2];do if(c[d+20>>2]|0){e=Vpb(1024)|0;c[b+20>>2]=e;f=c[d+24>>2]|0;if(!e){if(!f)break;else e=83;return e|0}if(f&1073741823|0){g=c[d+20>>2]|0;a[e>>0]=a[g>>0]|0;a[e+1>>0]=a[g+1>>0]|0;e=2;do{a[(c[b+20>>2]|0)+e>>0]=a[(c[d+20>>2]|0)+e>>0]|0;e=e+1|0}while((e|0)!=(c[d+24>>2]<<2|0))}}while(0);c[b+64>>2]=0;c[b+68>>2]=0;c[b+60>>2]=0;a:do if(c[d+60>>2]|0){f=0;while(1){e=cta(b,c[(c[d+64>>2]|0)+(f<<2)>>2]|0,c[(c[d+68>>2]|0)+(f<<2)>>2]|0)|0;f=f+1|0;if(e|0)break;if((f|0)==(c[d+60>>2]|0))break a}return e|0}while(0);c[b+72>>2]=0;c[b+72+4>>2]=0;c[b+72+8>>2]=0;c[b+72+12>>2]=0;c[b+72+16>>2]=0;b:do if(c[d+72>>2]|0){f=0;while(1){e=dta(b,c[(c[d+76>>2]|0)+(f<<2)>>2]|0,c[(c[d+80>>2]|0)+(f<<2)>>2]|0,c[(c[d+84>>2]|0)+(f<<2)>>2]|0,c[(c[d+88>>2]|0)+(f<<2)>>2]|0)|0;f=f+1|0;if(e|0)break;if((f|0)==(c[d+72>>2]|0))break b}return e|0}while(0);c[b+136>>2]=0;c[b+136+4>>2]=0;c[b+136+8>>2]=0;c[b+136+12>>2]=0;c[b+136+16>>2]=0;c[b+136+20>>2]=0;Wpb(c[b+140>>2]|0);Wpb(c[b+144>>2]|0);g=c[d+148>>2]|0;c[b+148>>2]=g;e=c[d+148>>2]|0;f=Vpb(e)|0;c[b+136>>2]=f;if(!((g|0)==0|(f|0)!=0)){d=83;return d|0}if(e|0){g=c[d+136>>2]|0;a[f>>0]=a[g>>0]|0;if(e>>>0>1){a[f+1>>0]=a[g+1>>0]|0;if((c[d+148>>2]|0)>>>0>2){e=2;do{a[(c[b+136>>2]|0)+e>>0]=a[(c[d+136>>2]|0)+e>>0]|0;e=e+1|0}while(e>>>0<(c[d+148>>2]|0)>>>0)}}}g=c[d+152>>2]|0;c[b+152>>2]=g;e=c[d+152>>2]|0;f=Vpb(e)|0;c[b+140>>2]=f;if(!((g|0)==0|(f|0)!=0)){d=83;return d|0}if(e|0){g=c[d+140>>2]|0;a[f>>0]=a[g>>0]|0;if(e>>>0>1){a[f+1>>0]=a[g+1>>0]|0;if((c[d+152>>2]|0)>>>0>2){e=2;do{a[(c[b+140>>2]|0)+e>>0]=a[(c[d+140>>2]|0)+e>>0]|0;e=e+1|0}while(e>>>0<(c[d+152>>2]|0)>>>0)}}}g=c[d+156>>2]|0;c[b+156>>2]=g;e=c[d+156>>2]|0;f=Vpb(e)|0;c[b+144>>2]=f;if(!((g|0)==0|(f|0)!=0)){d=83;return d|0}if(!e){d=0;return d|0}g=c[d+144>>2]|0;a[f>>0]=a[g>>0]|0;if(e>>>0<=1){d=0;return d|0}a[f+1>>0]=a[g+1>>0]|0;if((c[d+156>>2]|0)>>>0>2)e=2;else{d=0;return d|0}do{a[(c[b+144>>2]|0)+e>>0]=a[(c[d+144>>2]|0)+e>>0]|0;e=e+1|0}while(e>>>0<(c[d+156>>2]|0)>>>0);e=0;return e|0}function fta(e,f,g,h,j,k){e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=i;i=i+80|0;v=_(k,j)|0;u=c[g>>2]|0;a:do if((u|0)==(c[h>>2]|0)){n=c[g+4>>2]|0;if((n|0)==(c[h+4>>2]|0)){k=c[g+16>>2]|0;if((k|0)==(c[h+16>>2]|0)){if(k|0){if((c[g+20>>2]|0)!=(c[h+20>>2]|0))break;if((c[g+24>>2]|0)!=(c[h+24>>2]|0))break;if((c[g+28>>2]|0)!=(c[h+28>>2]|0))break}k=c[g+12>>2]|0;if((k|0)==(c[h+12>>2]|0)){if(k&1073741823|0){j=c[g+8>>2]|0;l=c[h+8>>2]|0;m=0;do{if((a[j+m>>0]|0)!=(a[l+m>>0]|0))break a;m=m+1|0}while((m|0)!=(k<<2|0))}switch(u|0){case 3:case 0:{k=1;break}case 2:{k=3;break}case 4:{k=2;break}case 6:{k=4;break}default:k=0}k=((_(_(n,v)|0,k)|0)+7|0)>>>3;if(!k){i=w;return 0}else j=0;do{a[e+j>>0]=a[f+j>>0]|0;j=j+1|0}while((j|0)!=(k|0));i=w;return 0}}}}while(0);if((u|0)==3){s=1<>2];j=c[g+12>>2]|0;s=j>>>0>>0?j:s;j=w;l=j+64|0;do{c[j>>2]=0;j=j+4|0}while((j|0)<(l|0));c[w+64>>2]=-1;if(s|0){t=0;do{q=(c[g+8>>2]|0)+(t<<2)|0;n=d[q>>0]|0;o=d[q+1>>0]|0;p=d[q+2>>0]|0;q=d[q+3>>0]|0;k=w;r=0;do{m=k+((o>>>r<<2&4|q>>>r&1|n>>>r<<3&8|p>>>r<<1&2)<<2)|0;k=c[m>>2]|0;if(!k){k=Vpb(68)|0;c[m>>2]=k;j=k;l=j+64|0;do{c[j>>2]=0;j=j+4|0}while((j|0)<(l|0));c[k+64>>2]=-1;k=c[m>>2]|0}r=r+1|0}while((r|0)!=8);c[k+64>>2]=t;t=t+1|0}while((t|0)!=(s|0))}}k=c[g+4>>2]|0;b:do if((k|0)==16?(c[h+4>>2]|0)==16:0){if(v|0){n=0;while(1){b[w+74>>1]=0;b[w+72>>1]=0;b[w+70>>1]=0;b[w+68>>1]=0;gta(w+74|0,w+72|0,w+70|0,w+68|0,f,n,h);k=b[w+74>>1]|0;j=b[w+72>>1]|0;l=b[w+70>>1]|0;m=b[w+68>>1]|0;switch(c[g>>2]|0){case 0:{u=n<<1;a[e+u>>0]=(k&65535)>>>8;a[e+(u|1)>>0]=k;break}case 2:{u=n*6|0;a[e+u>>0]=(k&65535)>>>8;a[e+(u|1)>>0]=k;a[e+(u+2)>>0]=(j&65535)>>>8;a[e+(u+3)>>0]=j;a[e+(u+4)>>0]=(l&65535)>>>8;a[e+(u+5)>>0]=l;break}case 4:{u=n<<2;a[e+u>>0]=(k&65535)>>>8;a[e+(u|1)>>0]=k;a[e+(u|2)>>0]=(m&65535)>>>8;a[e+(u|3)>>0]=m;break}case 6:{u=n<<3;a[e+u>>0]=(k&65535)>>>8;a[e+(u|1)>>0]=k;a[e+(u|2)>>0]=(j&65535)>>>8;a[e+(u|3)>>0]=j;a[e+(u|4)>>0]=(l&65535)>>>8;a[e+(u|5)>>0]=l;a[e+(u|6)>>0]=(m&65535)>>>8;a[e+(u|7)>>0]=m;break}default:{}}n=n+1|0;if((n|0)==(v|0))break b}}}else{c:do if((k|0)==8)switch(u|0){case 6:{hta(e,v,1,f,h);break b}case 2:{hta(e,v,0,f,h);break b}default:break c}while(0);a[w+74>>0]=0;a[w+72>>0]=0;a[w+70>>0]=0;a[w+68>>0]=0;d:do if(v|0){p=0;while(1){ita(w+74|0,w+72|0,w+70|0,w+68|0,f,p,h);o=a[w+74>>0]|0;j=a[w+72>>0]|0;l=a[w+70>>0]|0;m=a[w+68>>0]|0;e:do switch(c[g>>2]|0){case 0:{j=c[g+4>>2]|0;switch(j|0){case 8:{a[e+p>>0]=o;break e}case 16:{u=p<<1;a[e+(u|1)>>0]=o;a[e+u>>0]=o;break e}default:{k=(j|0)==1?7:(j|0)==2?3:1;u=k&p;k=((1<>>(8-j|0))<<(_(k-u|0,j)|0);if(!u){a[e+((_(j,p)|0)>>>3)>>0]=k;break e}else{u=e+((_(j,p)|0)>>>3)|0;a[u>>0]=d[u>>0]|k;break e}}}}case 2:if((c[g+4>>2]|0)==8){u=p*3|0;a[e+u>>0]=o;a[e+(u+1)>>0]=j;a[e+(u+2)>>0]=l;break e}else{u=p*6|0;a[e+(u|1)>>0]=o;a[e+u>>0]=o;a[e+(u+3)>>0]=j;a[e+(u+2)>>0]=j;a[e+(u+5)>>0]=l;a[e+(u+4)>>0]=l;break e}case 3:{k=w;n=0;do{k=c[k+(((j&255)>>>n<<2&4|(m&255)>>>n&1|(o&255)>>>n<<3&8|(l&255)>>>n<<1&2)<<2)>>2]|0;if(!k)break e;n=n+1|0}while((n|0)<8);k=c[k+64>>2]|0;if((k|0)>=0){j=c[g+4>>2]|0;if((j|0)==8){a[e+p>>0]=k;break e}t=(j|0)==1?7:(j|0)==2?3:1;u=t&p;k=((1<>>3)>>0]=k;break e}else{u=e+((_(j,p)|0)>>>3)|0;a[u>>0]=d[u>>0]|k;break e}}break}case 4:switch(c[g+4>>2]|0){case 8:{u=p<<1;a[e+u>>0]=o;a[e+(u|1)>>0]=m;break e}case 16:{u=p<<2;a[e+(u|1)>>0]=o;a[e+u>>0]=o;a[e+(u|3)>>0]=m;a[e+(u|2)>>0]=m;break e}default:break e}case 6:if((c[g+4>>2]|0)==8){u=p<<2;a[e+u>>0]=o;a[e+(u|1)>>0]=j;a[e+(u|2)>>0]=l;a[e+(u|3)>>0]=m;break e}else{u=p<<3;a[e+(u|1)>>0]=o;a[e+u>>0]=o;a[e+(u|3)>>0]=j;a[e+(u|2)>>0]=j;a[e+(u|5)>>0]=l;a[e+(u|4)>>0]=l;a[e+(u|7)>>0]=m;a[e+(u|6)>>0]=m;break e}default:{}}while(0);p=p+1|0;if((p|0)==(v|0))break d}}while(0)}while(0);if((c[g>>2]|0)!=3){i=w;return 0}jta(w);i=w;return 0}function gta(a,e,f,g,h,i,j){a=a|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0;switch(c[j>>2]|0){case 0:{k=((d[h+(i<<1)>>0]|0)<<8|(d[h+(i<<1|1)>>0]|0))&65535;b[f>>1]=k;b[e>>1]=k;b[a>>1]=k;if(c[j+16>>2]|0)if(((d[h+(i<<1)>>0]|0)<<8|(d[h+(i<<1|1)>>0]|0)|0)==(c[j+20>>2]|0)){b[g>>1]=0;return}b[g>>1]=-1;return}case 2:{b[a>>1]=(d[h+(i*6|0)>>0]|0)<<8|(d[h+(i*6|1)>>0]|0);b[e>>1]=(d[h+((i*6|0)+2)>>0]|0)<<8|(d[h+((i*6|0)+3)>>0]|0);b[f>>1]=(d[h+((i*6|0)+4)>>0]|0)<<8|(d[h+((i*6|0)+5)>>0]|0);if(c[j+16>>2]|0)if(((d[h+(i*6|0)>>0]|0)<<8|(d[h+(i*6|1)>>0]|0)|0)==(c[j+20>>2]|0))if(((d[h+((i*6|0)+2)>>0]|0)<<8|(d[h+((i*6|0)+3)>>0]|0)|0)==(c[j+24>>2]|0))if(((d[h+((i*6|0)+4)>>0]|0)<<8|(d[h+((i*6|0)+5)>>0]|0)|0)==(c[j+28>>2]|0)){b[g>>1]=0;return}b[g>>1]=-1;return}case 4:{k=((d[h+(i<<2)>>0]|0)<<8|(d[h+(i<<2|1)>>0]|0))&65535;b[f>>1]=k;b[e>>1]=k;b[a>>1]=k;b[g>>1]=(d[h+(i<<2|2)>>0]|0)<<8|(d[h+(i<<2|3)>>0]|0);return}case 6:{b[a>>1]=(d[h+(i<<3)>>0]|0)<<8|(d[h+(i<<3|1)>>0]|0);b[e>>1]=(d[h+(i<<3|2)>>0]|0)<<8|(d[h+(i<<3|3)>>0]|0);b[f>>1]=(d[h+(i<<3|4)>>0]|0)<<8|(d[h+(i<<3|5)>>0]|0);b[g>>1]=(d[h+(i<<3|6)>>0]|0)<<8|(d[h+(i<<3|7)>>0]|0);return}default:return}}function hta(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=f|0?4:3;switch(c[h>>2]|0){case 0:{n=c[h+4>>2]|0;switch(n|0){case 8:{if(!e)return;if(f|0)i=0;else{f=0;while(1){h=a[g+f>>0]|0;a[b+2>>0]=h;a[b+1>>0]=h;a[b>>0]=h;f=f+1|0;if((f|0)==(e|0))break;else b=b+o|0}return}while(1){f=g+i|0;n=a[f>>0]|0;a[b+2>>0]=n;a[b+1>>0]=n;a[b>>0]=n;if(!(c[h+16>>2]|0))f=0;else f=(d[f>>0]|0|0)==(c[h+20>>2]|0);a[b+3>>0]=(f^1)<<31>>31;i=i+1|0;if((i|0)==(e|0))break;else b=b+o|0}return}case 16:{if(!e)return;if(f|0)i=0;else{f=0;while(1){h=a[g+(f<<1)>>0]|0;a[b+2>>0]=h;a[b+1>>0]=h;a[b>>0]=h;f=f+1|0;if((f|0)==(e|0))break;else b=b+o|0}return}while(1){f=i<<1;n=a[g+f>>0]|0;a[b+2>>0]=n;a[b+1>>0]=n;a[b>>0]=n;if(!(c[h+16>>2]|0))f=0;else f=((d[g+f>>0]|0)<<8|(d[g+(f|1)>>0]|0)|0)==(c[h+20>>2]|0);a[b+3>>0]=(f^1)<<31>>31;i=i+1|0;if((i|0)==(e|0))break;else b=b+o|0}return}default:{if(!e)return;if(f|0){l=n;m=0;f=0}else{m=n;f=0;i=0;while(1){if(!m)j=0;else{l=m+-1|0;j=0;while(1){k=i+1|0;j=(((d[g+(i>>>3)>>0]|0)>>>(i&7^7)&1)<>>0>=m>>>0){i=k;break}else i=k}}m=(((j*255|0)>>>0)/(((1<>>0)|0)&255;a[b+2>>0]=m;a[b+1>>0]=m;a[b>>0]=m;f=f+1|0;if((f|0)==(e|0))break;b=b+o|0;m=c[h+4>>2]|0}return}while(1){if(!l){j=f;f=0}else{k=l+-1|0;i=0;while(1){j=f+1|0;i=(((d[g+(f>>>3)>>0]|0)>>>(f&7^7)&1)<>>0>=l>>>0){f=i;break}else f=j}}l=(((f*255|0)>>>0)/(((1<>>0)|0)&255;a[b+2>>0]=l;a[b+1>>0]=l;a[b>>0]=l;if(!(c[h+16>>2]|0))f=0;else f=(f|0)==(c[h+20>>2]|0);a[b+3>>0]=(f^1)<<31>>31;f=m+1|0;if((f|0)==(e|0))break;b=b+o|0;l=c[h+4>>2]|0;m=f;f=j}return}}}case 2:if((c[h+4>>2]|0)==8){if(!e)return;if(f|0)k=0;else{f=0;while(1){h=f*3|0;a[b>>0]=a[g+h>>0]|0;a[b+1>>0]=a[g+(h+1)>>0]|0;a[b+2>>0]=a[g+(h+2)>>0]|0;f=f+1|0;if((f|0)==(e|0))break;else b=b+o|0}return}while(1){j=k*3|0;f=a[g+j>>0]|0;a[b>>0]=f;i=a[g+(j+1)>>0]|0;a[b+1>>0]=i;j=a[g+(j+2)>>0]|0;a[b+2>>0]=j;if(!(c[h+16>>2]|0))f=0;else if((f&255|0)==(c[h+20>>2]|0))if((i&255|0)==(c[h+24>>2]|0))f=(j&255|0)==(c[h+28>>2]|0);else f=0;else f=0;a[b+3>>0]=(f^1)<<31>>31;k=k+1|0;if((k|0)==(e|0))break;else b=b+o|0}return}else{if(!e)return;if(f|0)i=0;else{f=0;while(1){h=f*6|0;a[b>>0]=a[g+h>>0]|0;a[b+1>>0]=a[g+(h+2)>>0]|0;a[b+2>>0]=a[g+(h+4)>>0]|0;f=f+1|0;if((f|0)==(e|0))break;else b=b+o|0}return}while(1){f=i*6|0;a[b>>0]=a[g+f>>0]|0;a[b+1>>0]=a[g+(f+2)>>0]|0;a[b+2>>0]=a[g+(f+4)>>0]|0;if(!(c[h+16>>2]|0))f=0;else if(((d[g+f>>0]|0)<<8|(d[g+(f|1)>>0]|0)|0)==(c[h+20>>2]|0))if(((d[g+(f+2)>>0]|0)<<8|(d[g+(f+3)>>0]|0)|0)==(c[h+24>>2]|0))f=((d[g+(f+4)>>0]|0)<<8|(d[g+(f+5)>>0]|0)|0)==(c[h+28>>2]|0);else f=0;else f=0;a[b+3>>0]=(f^1)<<31>>31;i=i+1|0;if((i|0)==(e|0))break;else b=b+o|0}return}case 3:{if(!e)return;if(f|0){m=0;f=0;while(1){l=c[h+4>>2]|0;switch(l|0){case 8:{j=d[g+m>>0]|0;i=f;break}case 0:{j=0;i=f;break}default:{k=l+-1|0;j=0;while(1){i=f+1|0;j=(((d[g+(f>>>3)>>0]|0)>>>(f&7^7)&1)<>>0>=l>>>0)break;else f=i}}}if(j>>>0<(c[h+12>>2]|0)>>>0){f=j<<2;a[b>>0]=a[(c[h+8>>2]|0)+f>>0]|0;a[b+1>>0]=a[(c[h+8>>2]|0)+(f|1)>>0]|0;a[b+2>>0]=a[(c[h+8>>2]|0)+(f|2)>>0]|0;f=a[(c[h+8>>2]|0)+(f|3)>>0]|0}else{a[b+2>>0]=0;a[b+1>>0]=0;a[b>>0]=0;f=-1}a[b+3>>0]=f;m=m+1|0;if((m|0)==(e|0))break;else{b=b+o|0;f=i}}return}else{m=0;f=0;while(1){l=c[h+4>>2]|0;switch(l|0){case 8:{j=d[g+m>>0]|0;i=f;break}case 0:{j=0;i=f;break}default:{k=l+-1|0;j=0;while(1){i=f+1|0;j=(((d[g+(f>>>3)>>0]|0)>>>(f&7^7)&1)<>>0>=l>>>0)break;else f=i}}}if(j>>>0<(c[h+12>>2]|0)>>>0){f=j<<2;a[b>>0]=a[(c[h+8>>2]|0)+f>>0]|0;a[b+1>>0]=a[(c[h+8>>2]|0)+(f|1)>>0]|0;f=a[(c[h+8>>2]|0)+(f|2)>>0]|0}else{a[b+1>>0]=0;a[b>>0]=0;f=0}a[b+2>>0]=f;m=m+1|0;if((m|0)==(e|0))break;else{b=b+o|0;f=i}}return}}case 4:if((c[h+4>>2]|0)==8){if(!e)return;if(f|0){f=0;while(1){h=f<<1;n=a[g+h>>0]|0;a[b+2>>0]=n;a[b+1>>0]=n;a[b>>0]=n;a[b+3>>0]=a[g+(h|1)>>0]|0;f=f+1|0;if((f|0)==(e|0))break;else b=b+o|0}return}else{f=0;while(1){h=a[g+(f<<1)>>0]|0;a[b+2>>0]=h;a[b+1>>0]=h;a[b>>0]=h;f=f+1|0;if((f|0)==(e|0))break;else b=b+o|0}return}}else{if(!e)return;if(f|0){f=0;while(1){h=f<<2;n=a[g+h>>0]|0;a[b+2>>0]=n;a[b+1>>0]=n;a[b>>0]=n;a[b+3>>0]=a[g+(h|2)>>0]|0;f=f+1|0;if((f|0)==(e|0))break;else b=b+o|0}return}else{f=0;while(1){h=a[g+(f<<2)>>0]|0;a[b+2>>0]=h;a[b+1>>0]=h;a[b>>0]=h;f=f+1|0;if((f|0)==(e|0))break;else b=b+o|0}return}}case 6:if((c[h+4>>2]|0)==8){if(!e)return;if(f|0){f=0;while(1){h=f<<2;a[b>>0]=a[g+h>>0]|0;a[b+1>>0]=a[g+(h|1)>>0]|0;a[b+2>>0]=a[g+(h|2)>>0]|0;a[b+3>>0]=a[g+(h|3)>>0]|0;f=f+1|0;if((f|0)==(e|0))break;else b=b+o|0}return}else{f=0;while(1){h=f<<2;a[b>>0]=a[g+h>>0]|0;a[b+1>>0]=a[g+(h|1)>>0]|0;a[b+2>>0]=a[g+(h|2)>>0]|0;f=f+1|0;if((f|0)==(e|0))break;else b=b+o|0}return}}else{if(!e)return;if(f|0){f=0;while(1){h=f<<3;a[b>>0]=a[g+h>>0]|0;a[b+1>>0]=a[g+(h|2)>>0]|0;a[b+2>>0]=a[g+(h|4)>>0]|0;a[b+3>>0]=a[g+(h|6)>>0]|0;f=f+1|0;if((f|0)==(e|0))break;else b=b+o|0}return}else{f=0;while(1){h=f<<3;a[b>>0]=a[g+h>>0]|0;a[b+1>>0]=a[g+(h|2)>>0]|0;a[b+2>>0]=a[g+(h|4)>>0]|0;f=f+1|0;if((f|0)==(e|0))break;else b=b+o|0}return}}default:return}}function ita(b,e,f,g,h,i,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0;switch(c[j>>2]|0){case 0:{m=c[j+4>>2]|0;switch(m|0){case 8:{i=a[h+i>>0]|0;a[f>>0]=i;a[e>>0]=i;a[b>>0]=i;if(c[j+16>>2]|0)if((i&255|0)==(c[j+20>>2]|0)){a[g>>0]=0;return}a[g>>0]=-1;return}case 16:{n=a[h+(i<<1)>>0]|0;a[f>>0]=n;a[e>>0]=n;a[b>>0]=n;if(c[j+16>>2]|0)if(((d[h+(i<<1)>>0]|0)<<8|(d[h+(i<<1|1)>>0]|0)|0)==(c[j+20>>2]|0)){a[g>>0]=0;return}a[g>>0]=-1;return}default:{if(!m)i=0;else{k=_(m,i)|0;l=m+-1|0;i=0;while(1){i=(((d[h+(k>>>3)>>0]|0)>>>(k&7^7)&1)<>>0>=m>>>0)break;else k=k+1|0}}h=(((i*255|0)>>>0)/(((1<>>0)|0)&255;a[f>>0]=h;a[e>>0]=h;a[b>>0]=h;if(!(c[j+16>>2]|0))n=16;else if((i|0)==(c[j+20>>2]|0))i=0;else n=16;if((n|0)==16)i=-1;a[g>>0]=i;return}}}case 2:if((c[j+4>>2]|0)==8){a[b>>0]=a[h+(i*3|0)>>0]|0;a[e>>0]=a[h+((i*3|0)+1)>>0]|0;i=a[h+((i*3|0)+2)>>0]|0;a[f>>0]=i;if(c[j+16>>2]|0)if((d[b>>0]|0|0)==(c[j+20>>2]|0))if((d[e>>0]|0|0)==(c[j+24>>2]|0))if((i&255|0)==(c[j+28>>2]|0)){a[g>>0]=0;return}a[g>>0]=-1;return}else{a[b>>0]=a[h+(i*6|0)>>0]|0;a[e>>0]=a[h+((i*6|0)+2)>>0]|0;a[f>>0]=a[h+((i*6|0)+4)>>0]|0;if(c[j+16>>2]|0)if(((d[h+(i*6|0)>>0]|0)<<8|(d[h+(i*6|1)>>0]|0)|0)==(c[j+20>>2]|0))if(((d[h+((i*6|0)+2)>>0]|0)<<8|(d[h+((i*6|0)+3)>>0]|0)|0)==(c[j+24>>2]|0))if(((d[h+((i*6|0)+4)>>0]|0)<<8|(d[h+((i*6|0)+5)>>0]|0)|0)==(c[j+28>>2]|0)){a[g>>0]=0;return}a[g>>0]=-1;return}case 3:{m=c[j+4>>2]|0;switch(m|0){case 8:{i=d[h+i>>0]|0;break}case 0:{i=0;break}default:{k=_(m,i)|0;l=m+-1|0;i=0;while(1){i=(((d[h+(k>>>3)>>0]|0)>>>(k&7^7)&1)<>>0>=m>>>0)break;else k=k+1|0}}}if(i>>>0<(c[j+12>>2]|0)>>>0){i=i<<2;a[b>>0]=a[(c[j+8>>2]|0)+i>>0]|0;a[e>>0]=a[(c[j+8>>2]|0)+(i|1)>>0]|0;a[f>>0]=a[(c[j+8>>2]|0)+(i|2)>>0]|0;i=a[(c[j+8>>2]|0)+(i|3)>>0]|0}else{a[f>>0]=0;a[e>>0]=0;a[b>>0]=0;i=-1}a[g>>0]=i;return}case 4:if((c[j+4>>2]|0)==8){j=a[h+(i<<1)>>0]|0;a[f>>0]=j;a[e>>0]=j;a[b>>0]=j;a[g>>0]=a[h+(i<<1|1)>>0]|0;return}else{j=a[h+(i<<2)>>0]|0;a[f>>0]=j;a[e>>0]=j;a[b>>0]=j;a[g>>0]=a[h+(i<<2|2)>>0]|0;return}case 6:if((c[j+4>>2]|0)==8){a[b>>0]=a[h+(i<<2)>>0]|0;a[e>>0]=a[h+(i<<2|1)>>0]|0;a[f>>0]=a[h+(i<<2|2)>>0]|0;a[g>>0]=a[h+(i<<2|3)>>0]|0;return}else{a[b>>0]=a[h+(i<<3)>>0]|0;a[e>>0]=a[h+(i<<3|2)>>0]|0;a[f>>0]=a[h+(i<<3|4)>>0]|0;a[g>>0]=a[h+(i<<3|6)>>0]|0;return}default:return}}function jta(a){a=a|0;var b=0,d=0,e=0;e=0;do{b=a+(e<<2)|0;d=c[b>>2]|0;if(d|0){jta(d);Wpb(c[b>>2]|0)}e=e+1|0}while((e|0)!=16);return}function kta(f,g,h,j,k){f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;C=i;i=i+80|0;A=_(j,h)|0;m=c[k>>2]|0;a:do if(!(c[k+16>>2]|m&4)){j=c[k+12>>2]|0;if(!j)j=1;else{h=c[k+8>>2]|0;l=0;while(1){if((a[h+(l<<2|3)>>0]|0)!=-1){j=0;break a}l=l+1|0;if((l|0)==(j|0)){j=1;break}}}}else j=0;while(0);l=c[k+4>>2]|0;switch(m|0){case 3:case 0:{h=1;break}case 2:{h=3;break}case 4:{h=2;break}case 6:{h=4;break}default:h=0}y=_(h,l)|0;if(y>>>0>8|(y|0)==1)z=y>>>0>8?257:2;else if((y|0)==2)z=4;else z=(y|0)==4?16:256;o=C;p=o+64|0;do{c[o>>2]=0;o=o+4|0}while((o|0)<(p|0));c[C+64>>2]=-1;if((l|0)==16)b:do if(A|0){h=0;while(1){gta(C+74|0,C+72|0,C+70|0,C+68|0,g,h,k);x=e[C+74>>1]|0;if((x&255|0)!=(x>>>8|0))break;x=e[C+72>>1]|0;if((x&255|0)!=(x>>>8|0))break;x=e[C+70>>1]|0;if((x&255|0)!=(x>>>8|0))break;x=e[C+68>>1]|0;h=h+1|0;if((x&255|0)!=(x>>>8|0))break;if((h|0)==(A|0))break b}b[C+74>>1]=0;b[C+72>>1]=0;b[C+70>>1]=0;b[C+68>>1]=0;c[f+1048>>2]=16;h=(m|4|0)==4&1;n=0;do{gta(C+74|0,C+72|0,C+70|0,C+68|0,g,n,k);if(!h){z=b[C+74>>1]|0;if(z<<16>>16==(b[C+72>>1]|0)?z<<16>>16==(b[C+70>>1]|0):0)h=0;else{c[f>>2]=1;h=1}}c:do if(!j){m=b[C+74>>1]|0;j=c[f+8>>2]|0;if(m<<16>>16==(j&65535)<<16>>16)if((b[C+72>>1]|0)==(j>>>16&65535)<<16>>16)l=(b[C+70>>1]|0)==(b[f+12>>1]|0);else l=0;else l=0;switch(b[C+68>>1]|0){case -1:{if(!(l&(c[f+4>>2]|0)!=0)){j=0;break c}c[f+16>>2]=1;j=1;B=37;break c}case 0:{B=30;break}default:{}}if((B|0)==30){B=0;j=(c[f+4>>2]|0)==0;if(l|j){if((c[f+16>>2]|0)!=0|j^1){j=0;break}c[f+4>>2]=1;b[f+8>>1]=m;b[f+10>>1]=b[C+72>>1]|0;b[f+12>>1]=b[C+70>>1]|0;j=0;break}}c[f+16>>2]=1;if((c[f+1048>>2]|0)>>>0<8){c[f+1048>>2]=8;j=1;B=37}else{j=1;B=37}}else B=37;while(0);if((B|0)==37){B=0;if((h|0)!=0&(j|0)!=0)break}n=n+1|0}while((n|0)!=(A|0));jta(C);i=C;return 0}while(0);if(!A){h=f+10|0;l=f+12|0;j=f+8|0}else{w=(y|0)==1&1;m=(m|4|0)==4&1;x=0;n=0;while(1){a[C+74>>0]=0;a[C+72>>0]=0;a[C+70>>0]=0;a[C+68>>0]=0;ita(C+74|0,C+72|0,C+70|0,C+68|0,g,x,k);l=c[f+1048>>2]|0;if((w|0)==0&l>>>0<8){h=a[C+74>>0]|0;switch(h<<24>>24){case -1:case 0:{h=1;break}default:if(!(((h&255)%17|0)<<24>>24))h=((h&255)%85|0)<<24>>24==0?2:4;else h=8}if(h>>>0>l>>>0)c[f+1048>>2]=h;else h=l}else h=l;v=h>>>0>=y>>>0;w=v&1;if(!m){u=a[C+74>>0]|0;if(u<<24>>24==(a[C+72>>0]|0)?u<<24>>24==(a[C+70>>0]|0):0)u=0;else{c[f>>2]=1;if(h>>>0<8){c[f+1048>>2]=8;h=8;u=1}else u=1}}else u=m;d:do if(!j){m=a[C+74>>0]|0;j=c[f+8>>2]|0;if((m&255|0)==(j&65535|0))if((d[C+72>>0]|0)==(j>>>16|0))l=(d[C+70>>0]|0)==(e[f+12>>1]|0);else l=0;else l=0;switch(a[C+68>>0]|0){case -1:{if(!(l&(c[f+4>>2]|0)!=0)){j=0;break d}c[f+16>>2]=1;if(h>>>0>=8){j=1;break d}c[f+1048>>2]=8;j=1;break d}case 0:{j=(c[f+4>>2]|0)==0;if(l|j){if((c[f+16>>2]|0)!=0|j^1){j=0;break d}c[f+4>>2]=1;b[f+8>>1]=m&255;b[f+10>>1]=d[C+72>>0]|0;b[f+12>>1]=d[C+70>>0]|0;j=0;break d}break}default:{}}c[f+16>>2]=1;if(h>>>0<8){c[f+1048>>2]=8;j=1}else j=1}while(0);do if(!n){q=a[C+74>>0]|0;r=a[C+72>>0]|0;s=a[C+70>>0]|0;t=a[C+68>>0]|0;h=C;l=0;while(1){h=c[h+(((r&255)>>>l<<2&4|(t&255)>>>l&1|(q&255)>>>l<<3&8|(s&255)>>>l<<1&2)<<2)>>2]|0;if(!h)break;l=l+1|0;if((l|0)>=8){B=71;break}}if((B|0)==71){B=0;if((c[h+64>>2]|0)>=0){h=0;break}}h=c[f+20>>2]|0;l=C;n=0;do{m=l+(((r&255)>>>n<<2&4|(t&255)>>>n&1|(q&255)>>>n<<3&8|(s&255)>>>n<<1&2)<<2)|0;l=c[m>>2]|0;if(!l){l=Vpb(68)|0;c[m>>2]=l;o=l;p=o+64|0;do{c[o>>2]=0;o=o+4|0}while((o|0)<(p|0));c[l+64>>2]=-1;l=c[m>>2]|0}n=n+1|0}while((n|0)!=8);c[l+64>>2]=h;if(h>>>0<256){a[f+24+(h<<2)>>0]=q;a[(h<<2|1)+(f+24)>>0]=r;a[(h<<2|2)+(f+24)>>0]=s;a[(h<<2|3)+(f+24)>>0]=t;h=c[f+20>>2]|0}h=h+1|0;c[f+20>>2]=h;h=h>>>0>=z>>>0&1}else h=n;while(0);x=x+1|0;if(v&((u|0)!=0&((j|0)!=0&(h|0)!=0))|(x|0)==(A|0)){h=f+10|0;l=f+12|0;j=f+8|0;break}else{m=u;n=h}}}f=c[j>>2]|0;b[j>>1]=(f&65535)*257;b[h>>1]=(f>>>16)*257;b[l>>1]=(e[l>>1]|0)*257;jta(C);i=C;return 0}function lta(d,f,g,h,j){d=d|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+1056|0;c[s+16>>2]=0;c[s+20>>2]=0;c[s>>2]=0;c[s+4>>2]=0;c[s+8>>2]=0;b[s+12>>1]=0;c[s+1048>>2]=1;kta(s,f,g,h,j)|0;c[d+16>>2]=0;p=(c[s+4>>2]|0)!=0;o=_(h,g)|0;if(o>>>0<17&p){c[s+16>>2]=1;if((c[s+1048>>2]|0)>>>0<8){c[s+1048>>2]=8;n=1}else n=1}else n=c[s+16>>2]|0;l=c[s>>2]|0;m=n|l;f=c[s+20>>2]|0;if(f>>>0<3){h=1;q=9}else if(f>>>0<5){h=2;q=9}else{h=f>>>0<17?4:8;if(f>>>0<257)q=9;else{k=f<<1;r=h;g=1}}if((q|0)==9)if(f<<1>>>0>>0){k=f<<1;r=h;g=(c[s+1048>>2]|0)>>>0>8}else{k=f<<1;r=h;g=1}h=c[s+1048>>2]|0;if(o>>>0>>0|g|(m|0)==0&h>>>0<=r>>>0){c[d+4>>2]=h;c[d>>2]=n|0?(l|0?6:4):l|0?2:0;if(!(p&(n|0)==0)){d=0;i=s;return d|0}j=c[s+8>>2]|0;c[d+20>>2]=j&65535&(1<>2]=j>>>16&(1<>2]=(e[s+12>>1]|0)&(1<>2]=1;d=0;i=s;return d|0}h=c[d+8>>2]|0;if(h){Wpb(h);f=c[s+20>>2]|0}c[d+8>>2]=0;c[d+12>>2]=0;a:do if(!f)f=0;else{f=0;g=0;h=0;while(1){n=h<<2;k=a[s+24+n>>0]|0;l=a[(n|1)+(s+24)>>0]|0;m=a[(n|2)+(s+24)>>0]|0;n=a[(n|3)+(s+24)>>0]|0;if(!g){g=Ypb(0,1024)|0;if(!g){f=83;break a}c[d+8>>2]=g;f=c[d+12>>2]|0}a[g+(f<<2)>>0]=k;a[(c[d+8>>2]|0)+(c[d+12>>2]<<2|1)>>0]=l;a[(c[d+8>>2]|0)+(c[d+12>>2]<<2|2)>>0]=m;a[(c[d+8>>2]|0)+(c[d+12>>2]<<2|3)>>0]=n;f=(c[d+12>>2]|0)+1|0;c[d+12>>2]=f;h=h+1|0;if((h|0)==(c[s+20>>2]|0)){f=0;break a}g=c[d+8>>2]|0}}while(0);c[d>>2]=3;c[d+4>>2]=r;if((c[j>>2]|0)!=3){d=f;i=s;return d|0}if((c[j+12>>2]|0)>>>0<(c[d+12>>2]|0)>>>0){d=f;i=s;return d|0}if((c[j+4>>2]|0)!=(r|0)){d=f;i=s;return d|0}h=c[d+8>>2]|0;if(h|0)Wpb(h);c[d+8>>2]=0;c[d+8+4>>2]=0;c[d>>2]=c[j>>2];c[d+4>>2]=c[j+4>>2];c[d+8>>2]=c[j+8>>2];c[d+12>>2]=c[j+12>>2];c[d+16>>2]=c[j+16>>2];c[d+20>>2]=c[j+20>>2];c[d+24>>2]=c[j+24>>2];c[d+28>>2]=c[j+28>>2];if(!(c[j+8>>2]|0)){d=f;i=s;return d|0}h=Vpb(1024)|0;c[d+8>>2]=h;if(!h){d=f;i=s;return d|0}if(!(c[j+12>>2]&1073741823)){d=f;i=s;return d|0}r=c[j+8>>2]|0;a[h>>0]=a[r>>0]|0;a[h+1>>0]=a[r+1>>0]|0;h=2;do{a[(c[d+8>>2]|0)+h>>0]=a[(c[j+8>>2]|0)+h>>0]|0;h=h+1|0}while((h|0)!=(c[j+12>>2]<<2|0));i=s;return f|0}function mta(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;if((g|0)==0|(h|0)==0){c[f+292>>2]=48;q=48;return q|0}if(h>>>0<33){c[f+292>>2]=27;q=27;return q|0}Osa(f+132|0);c[f+160>>2]=0;c[f+160+4>>2]=0;c[f+160+8>>2]=0;c[f+160+12>>2]=0;c[f+144>>2]=6;c[f+148>>2]=8;c[f+152>>2]=0;c[f+156>>2]=0;c[f+140>>2]=0;c[f+132>>2]=0;c[f+136>>2]=0;c[f+252>>2]=0;c[f+268>>2]=0;c[f+268+4>>2]=0;c[f+268+8>>2]=0;c[f+268+12>>2]=0;c[f+268+16>>2]=0;c[f+268+20>>2]=0;h=f+176|0;i=h+52|0;do{c[h>>2]=0;h=h+4|0}while((h|0)<(i|0));if((a[g>>0]|0)==-119)if((a[g+1>>0]|0)==80)if((a[g+2>>0]|0)==78)if((a[g+3>>0]|0)==71)if((a[g+4>>0]|0)==13)if((a[g+5>>0]|0)==10)if((a[g+6>>0]|0)==26)if((a[g+7>>0]|0)==10){if((a[g+12>>0]|0)==73)if((a[g+13>>0]|0)==72)if((a[g+14>>0]|0)==68)if((a[g+15>>0]|0)==82){c[b>>2]=d[g+17>>0]<<16|d[g+16>>0]<<24|d[g+18>>0]<<8|d[g+19>>0];c[e>>2]=d[g+21>>0]<<16|d[g+20>>0]<<24|d[g+22>>0]<<8|d[g+23>>0];m=d[g+24>>0]|0;c[f+148>>2]=m;n=d[g+25>>0]|0;c[f+144>>2]=n;o=a[g+26>>0]|0;c[f+132>>2]=o&255;p=a[g+27>>0]|0;c[f+136>>2]=p&255;l=a[g+28>>0]|0;c[f+140>>2]=l&255;if(c[b>>2]|0)if(c[e>>2]|0){do if(!(c[f+20>>2]|0)){i=d[g+29>>0]|0;e=d[g+30>>0]<<16;b=d[g+31>>0]<<8;j=d[g+32>>0]|0;h=-1;k=0;do{h=c[32452+((d[g+12+k>>0]^h&255)<<2)>>2]^h>>>8;k=k+1|0}while((k|0)!=17);if((e|i<<24|b|j|0)==(~h|0))break;c[f+292>>2]=57;q=57;return q|0}while(0);if(o<<24>>24){c[f+292>>2]=32;q=32;return q|0}if(p<<24>>24){c[f+292>>2]=33;q=33;return q|0}if((l&255)>1){c[f+292>>2]=34;q=34;return q|0}switch(n|0){case 0:{switch(m|0){case 1:case 2:case 4:case 8:case 16:{q=39;break}default:h=37}break}case 2:{switch(m|0){case 8:case 16:{q=39;break}default:h=37}break}case 3:{switch(m|0){case 1:case 2:case 4:case 8:{q=39;break}default:h=37}break}case 4:{switch(m|0){case 8:case 16:{q=39;break}default:h=37}break}case 6:{switch(m|0){case 8:case 16:{q=39;break}default:h=37}break}default:h=31}if((q|0)==39)h=0;c[f+292>>2]=h;q=h;return q|0}c[f+292>>2]=93;q=93;return q|0}c[f+292>>2]=29;q=29;return q|0}c[f+292>>2]=28;q=28;return q|0}function nta(b,e,f,g,h,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;I=i;i=i+320|0;c[b>>2]=0;k=mta(e,f,g,h,j)|0;c[g+292>>2]=k;do if(!k){k=c[e>>2]|0;l=c[f>>2]|0;m=_(l,k)|0;if(l|0)if(((m>>>0)/(l>>>0)|0|0)!=(k|0)){c[g+292>>2]=92;k=92;break}if(m>>>0>268435455){c[g+292>>2]=92;k=92;break}A=I+292+4|0;B=I+292+8|0;C=I+292+4|0;G=h+33|0;x=1;k=0;y=0;l=0;r=0;a:while(1){m=G-h+12|0;if(G>>>0>>0|m>>>0>j>>>0){H=9;break}D=G+1|0;E=G+2|0;F=G+3|0;v=d[D>>0]<<16|d[G>>0]<<24|d[E>>0]<<8|d[F>>0];if((v|0)<0){H=11;break}if((v+m|0)>>>0>j>>>0){H=14;break}if((G+v+12|0)>>>0>>0){H=14;break}w=G+8|0;z=G+4|0;m=a[z>>0]|0;b:do switch(m<<24>>24){case 73:{switch(a[G+5>>0]|0){case 68:break;case 69:{if((a[G+6>>0]|0)!=78){H=165;break a}if((a[G+7>>0]|0)==68){t=1;s=x;n=y;break b}else{H=165;break a}}default:{H=165;break a}}if((a[G+6>>0]|0)!=65){H=165;break a}if((a[G+7>>0]|0)!=84){H=165;break a}o=v+l|0;if(y>>>0>>0){n=y<<1>>>0>>0?o:(o*3|0)>>>1;m=Ypb(k,n)|0;if(!m){H=23;break a}else k=m}else n=y;if(!v){t=0;s=3;l=o}else{m=0;do{a[k+(m+l)>>0]=a[w+m>>0]|0;m=m+1|0}while((m|0)!=(v|0));t=0;s=3;l=o}break}case 80:{if((a[G+5>>0]|0)!=76){H=165;break a}if((a[G+6>>0]|0)!=84){H=165;break a}if((a[G+7>>0]|0)!=69){H=165;break a}m=c[g+152>>2]|0;if(m|0)Wpb(m);c[g+156>>2]=(v>>>0)/3|0;m=Vpb(((v>>>0)/3|0)<<2)|0;c[g+152>>2]=m;c:do if(!m){if(v>>>0>=3){H=33;break a}}else{if(v>>>0>770){m=38;H=39;break a}if(v>>>0>=3){n=0;o=0;while(1){x=n<<2;a[m+x>>0]=a[w+o>>0]|0;a[(c[g+152>>2]|0)+(x|1)>>0]=a[w+(o+1)>>0]|0;a[(c[g+152>>2]|0)+(x|2)>>0]=a[w+(o+2)>>0]|0;a[(c[g+152>>2]|0)+(x|3)>>0]=-1;n=n+1|0;if((n|0)==(c[g+156>>2]|0))break c;m=c[g+152>>2]|0;o=o+3|0}}}while(0);c[g+292>>2]=0;t=0;s=2;n=y;break}case 116:switch(a[G+5>>0]|0){case 82:{if((a[G+6>>0]|0)!=78){H=166;break b}if((a[G+7>>0]|0)!=83){H=166;break b}switch(c[g+144>>2]|0){case 3:{if((c[g+156>>2]|0)>>>0>>0){m=38;H=52;break a}if(v|0){m=0;do{a[(c[g+152>>2]|0)+(m<<2|3)>>0]=a[w+m>>0]|0;m=m+1|0}while((m|0)!=(v|0))}break}case 0:{if((v|0)!=2){m=30;H=52;break a}c[g+160>>2]=1;w=d[w>>0]<<8|d[G+9>>0];c[g+172>>2]=w;c[g+168>>2]=w;c[g+164>>2]=w;break}case 2:{if((v|0)!=6){m=41;H=52;break a}c[g+160>>2]=1;c[g+164>>2]=d[w>>0]<<8|d[G+9>>0];c[g+168>>2]=d[G+10>>0]<<8|d[G+11>>0];c[g+172>>2]=d[G+12>>0]<<8|d[G+13>>0];break}default:{m=42;H=52;break a}}c[g+292>>2]=0;t=0;s=x;n=y;break b}case 69:{if((a[G+6>>0]|0)!=88){H=166;break b}if((a[G+7>>0]|0)!=116){H=166;break b}if(!(c[g+28>>2]|0)){t=0;s=x;n=y;break b}if(!v){o=89;n=0;m=0}else{m=0;do{if(!(a[w+m>>0]|0))break;m=m+1|0}while(m>>>0>>0);if((m+-1|0)>>>0>78){o=89;n=0;m=0}else{p=m+1|0;n=Vpb(p)|0;if(!n){o=83;n=0;m=0}else{a[n+m>>0]=0;if(m|0)mBb(n|0,w|0,m|0)|0;o=v>>>0

>>0?0:v-p|0;q=Vpb(o+1|0)|0;if(!q){o=83;m=0}else{a[q+o>>0]=0;if(o|0)mBb(q|0,w+p|0,(v>>>0>p>>>0?v:p)+~m|0)|0;o=cta(g+132|0,n,q)|0;m=q}}}}Wpb(n);Wpb(m);c[g+292>>2]=o;if(!o){t=0;s=x;n=y;break b}else{r=k;break a}}case 73:{if((a[G+6>>0]|0)!=77){H=166;break b}if((a[G+7>>0]|0)!=69){H=166;break b}if((v|0)!=7){H=157;break a}c[g+224>>2]=1;c[g+228>>2]=d[w>>0]<<8|d[G+9>>0];c[g+232>>2]=d[G+10>>0];c[g+236>>2]=d[G+11>>0];c[g+240>>2]=d[G+12>>0];c[g+244>>2]=d[G+13>>0];c[g+248>>2]=d[G+14>>0];c[g+292>>2]=0;t=0;s=x;n=y;break b}default:{H=166;break b}}case 98:{if((a[G+5>>0]|0)==75)if((a[G+6>>0]|0)==71)if((a[G+7>>0]|0)==68){switch(c[g+144>>2]|0){case 3:{if((v|0)!=1){m=43;H=64;break a}c[g+176>>2]=1;w=d[w>>0]|0;c[g+188>>2]=w;c[g+184>>2]=w;c[g+180>>2]=w;break}case 4:case 0:{if((v|0)!=2){m=44;H=64;break a}c[g+176>>2]=1;w=d[w>>0]<<8|d[G+9>>0];c[g+188>>2]=w;c[g+184>>2]=w;c[g+180>>2]=w;break}case 6:case 2:{if((v|0)!=6){m=45;H=64;break a}c[g+176>>2]=1;c[g+180>>2]=d[w>>0]<<8|d[G+9>>0];c[g+184>>2]=d[G+10>>0]<<8|d[G+11>>0];c[g+188>>2]=d[G+12>>0]<<8|d[G+13>>0];break}default:{}}c[g+292>>2]=0;t=0;s=x;n=y}else H=166;else H=166;else H=166;break}case 122:{if((a[G+5>>0]|0)==84)if((a[G+6>>0]|0)==88)if((a[G+7>>0]|0)==116)if(!(c[g+28>>2]|0)){t=0;s=x;n=y}else{c[I+292>>2]=0;c[I+292+8>>2]=0;c[A>>2]=0;d:do if(!v)m=0;else{m=0;do{if(!(a[w+m>>0]|0))break d;m=m+1|0}while(m>>>0>>0)}while(0);p=m+2|0;do if(v>>>0>p>>>0)if((m+-1|0)>>>0>78){m=89;n=0}else{o=m+1|0;n=Vpb(o)|0;if(!n){m=83;n=0}else{a[n+m>>0]=0;if(m|0)mBb(n|0,w|0,m|0)|0;if(a[w+o>>0]|0){m=72;break}if(v>>>0

>>0){m=75;break}m=c[g+8>>2]|0;if(!m)m=$sa(I+292|0,A,w+p|0,v-p|0,g+4|0)|0;else m=Ci[m&127](I+292|0,A,w+p|0,v-p|0,g+4|0)|0;if(m|0)break;p=c[A>>2]|0;m=c[I+292+8>>2]|0;do if(m>>>0<(p+1|0)>>>0){o=m<<1>>>0<(p+1|0)>>>0?p+1|0:((p+1|0)*3|0)>>>1;m=Ypb(c[I+292>>2]|0,o)|0;if(!m)break;c[I+292+8>>2]=o;c[I+292>>2]=m;H=102}else{m=c[I+292>>2]|0;H=102}while(0);if((H|0)==102){H=0;c[A>>2]=p+1;a[m+p>>0]=0}m=cta(g+132|0,n,c[I+292>>2]|0)|0}}else{m=75;n=0}while(0);Wpb(n);c[I+292+8>>2]=0;c[A>>2]=0;Wpb(c[I+292>>2]|0);c[g+292>>2]=m;if(!m){t=0;s=x;n=y}else{r=k;break a}}else H=166;else H=166;else H=166;break}case 105:{if((a[G+5>>0]|0)==84)if((a[G+6>>0]|0)==88)if((a[G+7>>0]|0)==116)if(!(c[g+28>>2]|0)){t=0;s=x;n=y}else{c[I+292>>2]=0;c[B>>2]=0;c[C>>2]=0;e:do if(v>>>0<5){m=30;p=0;o=0;n=0}else{m=0;do{if(!(a[w+m>>0]|0))break;m=m+1|0}while(m>>>0>>0);p=m+3|0;if(p>>>0>>0)if((m+-1|0)>>>0>78){m=89;p=0;o=0;n=0}else{n=m+1|0;u=Vpb(n)|0;if(!u){m=83;p=0;o=0;n=0}else{a[u+m>>0]=0;if(m|0)mBb(u|0,w|0,m|0)|0;t=a[w+n>>0]|0;if(!(a[w+(m+2)>>0]|0)){n=p;m=0}else{m=72;p=u;o=0;n=0;break}while(1){o=m+1|0;if(!(a[w+n>>0]|0)){n=o;break}n=n+1|0;if(n>>>0>=v>>>0){H=119;break}else m=o}if((H|0)==119){H=0;n=m+2|0;m=o}o=Vpb(n)|0;if(!o){m=83;p=u;o=0;n=0;break}a[o+m>>0]=0;if(m|0)mBb(o|0,w+p|0,m|0)|0;s=n+p|0;f:do if(s>>>0>>0){n=s;p=0;while(1){m=p+1|0;if(!(a[w+n>>0]|0)){q=m;m=p;break f}n=n+1|0;if(n>>>0>=v>>>0){H=126;break}else p=m}}else{m=0;H=126}while(0);if((H|0)==126){H=0;q=m+1|0}n=Vpb(q)|0;if(!n){m=83;p=u;n=0;break}a[n+m>>0]=0;if(m|0)mBb(n|0,w+s|0,m|0)|0;q=q+s|0;p=v>>>0>>0?0:v-q|0;do if(!(t<<24>>24)){if(!(p+1|0))m=0;else{m=Ypb(0,p+1|0)|0;if(!m){m=83;p=u;break e}c[B>>2]=p+1;c[I+292>>2]=m}c[C>>2]=p+1;a[m+p>>0]=0;if(!p)break;a[m>>0]=a[w+q>>0]|0;if((p|0)==1)break;a[m+1>>0]=a[w+(q+1)>>0]|0;if((p|0)==2)break;a[m+2>>0]=a[w+(q+2)>>0]|0;if((p|0)==3)break;else m=3;do{a[(c[I+292>>2]|0)+m>>0]=a[w+(m+q)>>0]|0;m=m+1|0}while((m|0)!=(p|0))}else{m=c[g+8>>2]|0;if(!m)m=$sa(I+292|0,C,w+q|0,p,g+4|0)|0;else m=Ci[m&127](I+292|0,C,w+q|0,p,g+4|0)|0;if(m|0){p=u;break e}m=c[B>>2]|0;q=c[C>>2]|0;if(m>>>0>>0){c[B>>2]=q;m=q}if(m>>>0<(q+1|0)>>>0){p=m<<1>>>0<(q+1|0)>>>0?q+1|0:((q+1|0)*3|0)>>>1;m=Ypb(c[I+292>>2]|0,p)|0;if(!m)break;c[B>>2]=p;c[I+292>>2]=m}else m=c[I+292>>2]|0;c[C>>2]=q+1;a[m+q>>0]=0}while(0);m=dta(g+132|0,u,o,n,c[I+292>>2]|0)|0;p=u}}else{m=75;p=0;o=0;n=0}}while(0);Wpb(p);Wpb(o);Wpb(n);c[B>>2]=0;c[C>>2]=0;Wpb(c[I+292>>2]|0);c[g+292>>2]=m;if(!m){t=0;s=x;n=y}else{r=k;break a}}else H=166;else H=166;else H=166;break}case 112:{if((a[G+5>>0]|0)==72)if((a[G+6>>0]|0)==89)if((a[G+7>>0]|0)==115){if((v|0)!=9){H=163;break a}c[g+252>>2]=1;c[g+256>>2]=d[G+9>>0]<<16|d[w>>0]<<24|d[G+10>>0]<<8|d[G+11>>0];c[g+260>>2]=d[G+13>>0]<<16|d[G+12>>0]<<24|d[G+14>>0]<<8|d[G+15>>0];c[g+264>>2]=d[G+16>>0];c[g+292>>2]=0;t=0;s=x;n=y}else H=166;else H=166;else H=166;break}default:if(!(m&32)){H=165;break a}else H=166}while(0);if((H|0)==166){H=0;if(!(c[g+32>>2]|0)){t=0;s=x;n=y;r=1}else{m=x+-1|0;n=c[g+280+(m<<2)>>2]|0;if((n+(v+12)|0)>>>0>>0?1:(n+(v+12)|0)>>>0<(v+12|0)>>>0){m=77;H=172;break}o=Ypb(c[g+268+(m<<2)>>2]|0,n+(v+12)|0)|0;if(!o){m=83;H=172;break}c[g+268+(m<<2)>>2]=o;c[g+280+(m<<2)>>2]=n+(v+12);m=0;do{a[o+n+m>>0]=a[G+m>>0]|0;m=m+1|0}while((m|0)!=(v+12|0));c[g+292>>2]=0;t=0;s=x;n=y;r=1}}if(!(c[g+20>>2]|r)){o=d[D>>0]<<16|d[G>>0]<<24|d[E>>0]<<8|d[F>>0];q=G+(o+8)|0;q=d[q+1>>0]<<16|d[q>>0]<<24|d[q+2>>0]<<8|d[q+3>>0];if(!(o+4|0))m=0;else{m=-1;p=0;do{m=c[32452+((d[z+p>>0]^m&255)<<2)>>2]^m>>>8;p=p+1|0}while((p|0)!=(o+4|0));m=~m}if((q|0)!=(m|0)){H=178;break}}if(t<<24>>24){r=k;break}if(!(c[g+292>>2]|0)){G=G+((d[D>>0]<<16|d[G>>0]<<24|d[E>>0]<<8|d[F>>0])+12)|0;x=s;y=n}else{r=k;break}}switch(H|0){case 9:{c[g+292>>2]=30;r=k;break}case 11:{c[g+292>>2]=63;r=k;break}case 14:{c[g+292>>2]=64;r=k;break}case 23:{c[g+292>>2]=83;r=k;break}case 33:{c[g+156>>2]=0;m=83;H=39;break}case 52:{c[g+292>>2]=m;r=k;break}case 64:{c[g+292>>2]=m;r=k;break}case 157:{c[g+292>>2]=73;r=k;break}case 163:{c[g+292>>2]=74;r=k;break}case 165:{c[g+292>>2]=69;r=k;break}case 172:{c[g+292>>2]=m;r=k;break}case 178:{c[g+292>>2]=57;r=k;break}}if((H|0)==39){c[g+292>>2]=m;r=k}c[I>>2]=0;c[I+8>>2]=0;c[I+4>>2]=0;q=c[e>>2]|0;if(!(c[g+140>>2]|0)){n=c[f>>2]|0;m=c[g+148>>2]|0;switch(c[g+144>>2]|0){case 3:case 0:{k=1;break}case 2:{k=3;break}case 4:{k=2;break}case 6:{k=4;break}default:k=0}m=(_(((_(_(m,q)|0,k)|0)+7|0)>>>3,n)|0)+n|0}else{p=c[f>>2]|0;n=c[g+144>>2]|0;o=c[g+148>>2]|0;switch(n|0){case 3:case 0:{k=1;break}case 2:{k=3;break}case 4:{k=2;break}case 6:{k=4;break}default:k=0}m=(_(((_(_(o,(q+7|0)>>>3)|0,k)|0)+7|0)>>>3,(p+7|0)>>>3)|0)+((p+7|0)>>>3)|0;if(q>>>0>4){switch(n|0){case 3:case 0:{k=1;break}case 2:{k=3;break}case 4:{k=2;break}case 6:{k=4;break}default:k=0}m=m+((p+7|0)>>>3)+(_(((_(_(o,(q+3|0)>>>3)|0,k)|0)+7|0)>>>3,(p+7|0)>>>3)|0)|0}switch(n|0){case 3:case 0:{k=1;break}case 2:{k=3;break}case 4:{k=2;break}case 6:{k=4;break}default:k=0}m=m+((p+3|0)>>>3)+(_(((_(_(o,(q+3|0)>>>2)|0,k)|0)+7|0)>>>3,(p+3|0)>>>3)|0)|0;if(q>>>0>2){switch(n|0){case 3:case 0:{k=1;break}case 2:{k=3;break}case 4:{k=2;break}case 6:{k=4;break}default:k=0}m=m+((p+3|0)>>>2)+(_(((_(_(o,(q+1|0)>>>2)|0,k)|0)+7|0)>>>3,(p+3|0)>>>2)|0)|0}switch(n|0){case 3:case 0:{k=1;break}case 2:{k=3;break}case 4:{k=2;break}case 6:{k=4;break}default:k=0}m=m+((p+1|0)>>>2)+(_(((_(_(o,(q+1|0)>>>1)|0,k)|0)+7|0)>>>3,(p+1|0)>>>2)|0)|0;if(q>>>0>1){switch(n|0){case 3:case 0:{k=1;break}case 2:{k=3;break}case 4:{k=2;break}case 6:{k=4;break}default:k=0}m=m+((p+1|0)>>>1)+(_(((_(_(o,q>>>1)|0,k)|0)+7|0)>>>3,(p+1|0)>>>1)|0)|0}switch(n|0){case 3:case 0:{k=1;break}case 2:{k=3;break}case 4:{k=2;break}case 6:{k=4;break}default:k=0}m=m+(p>>>1)+(_(((_(_(o,q)|0,k)|0)+7|0)>>>3,p>>>1)|0)|0}g:do if(!(c[g+292>>2]|0)){do if(m|0){k=Ypb(0,m)|0;if(!k){c[g+292>>2]=83;break g}else{c[I+8>>2]=m;c[I>>2]=k;if(!(c[g+292>>2]|0))break;else break g}}while(0);k=c[g+8>>2]|0;if(!k)k=$sa(I,I+4|0,r,l,g+4|0)|0;else k=Ci[k&127](I,I+4|0,r,l,g+4|0)|0;c[g+292>>2]=(k|0?1:(c[I+4>>2]|0)==(m|0))?k:91}while(0);Wpb(r);if(!(c[g+292>>2]|0)){o=c[e>>2]|0;p=c[f>>2]|0;l=c[g+144>>2]|0;n=c[g+148>>2]|0;switch(l|0){case 3:case 0:{k=1;break}case 2:{k=3;break}case 4:{k=2;break}case 6:{k=4;break}default:k=0}m=((_(_(_(p,o)|0,n)|0,k)|0)+7|0)>>>3;do if(!m){F=0;H=250}else{k=Ypb(0,m)|0;if(!k){c[g+292>>2]=83;k=0;break}hBb(k|0,0,m|0)|0;if(!(c[g+292>>2]|0)){l=c[g+144>>2]|0;n=c[g+148>>2]|0;o=c[e>>2]|0;p=c[f>>2]|0;F=k;H=250}}while(0);if((H|0)==250){D=F;E=c[I>>2]|0;switch(l|0){case 3:case 0:{k=1;break}case 2:{k=3;break}case 4:{k=2;break}case 6:{k=4;break}default:k=0}C=_(k,n)|0;h:do if(!C)k=31;else{i:do if(!(c[g+140>>2]|0)){if(C>>>0<8){s=_(C,o)|0;if((s|0)!=(s+7&-8|0)){k=ota(E,E,o,p,C)|0;if(k|0)break h;if((p|0)==0|(s|0)==0)break;else{l=0;n=0;r=0}while(1){m=l;o=n;q=0;while(1){k=1<<(o&7^7);if(!(1<<(m&7^7)&d[E+(m>>>3)>>0])){H=D+(o>>>3)|0;a[H>>0]=d[H>>0]&(k^255)}else{H=D+(o>>>3)|0;a[H>>0]=d[H>>0]|k}q=q+1|0;if((q|0)==(s|0))break;else{m=m+1|0;o=o+1|0}}r=r+1|0;if((r|0)==(p|0))break i;else{l=l+(s+7&-8)|0;n=n+s|0}}}}k=ota(D,E,o,p,C)|0;if(k|0)break h}else{pta(I+140|0,I+112|0,I+80|0,I+48|0,I+16|0,o,p,C);j:do if(C>>>0<8){k=0;y=0;while(1){w=E+(c[I+48+(y<<2)>>2]|0)|0;l=c[I+140+(y<<2)>>2]|0;x=c[I+112+(y<<2)>>2]|0;m=ota(w,E+(c[I+80+(y<<2)>>2]|0)|0,l,x,C)|0;k=(m|0)==0?k:m;if(m|0){l=0;k=m;break j}v=E+(c[I+16+(y<<2)>>2]|0)|0;l=_(l,C)|0;if(!((x|0)==0|(l|0)==0)){n=0;r=0;u=0;while(1){q=n;s=r;t=0;while(1){m=1<<(s&7^7);if(!(1<<(q&7^7)&d[w+(q>>>3)>>0])){j=v+(s>>>3)|0;a[j>>0]=d[j>>0]&(m^255)}else{j=v+(s>>>3)|0;a[j>>0]=d[j>>0]|m}t=t+1|0;if((t|0)==(l|0))break;else{q=q+1|0;s=s+1|0}}u=u+1|0;if((u|0)==(x|0))break;else{n=n+(l+7&-8)|0;r=r+l|0}}}y=y+1|0;if((y|0)==7){H=280;break}}}else{k=ota(E+(c[I+48>>2]|0)|0,E+(c[I+80>>2]|0)|0,c[I+140>>2]|0,c[I+112>>2]|0,C)|0;if(!k){k=ota(E+(c[I+48+4>>2]|0)|0,E+(c[I+80+4>>2]|0)|0,c[I+140+4>>2]|0,c[I+112+4>>2]|0,C)|0;if(!k){k=ota(E+(c[I+48+8>>2]|0)|0,E+(c[I+80+8>>2]|0)|0,c[I+140+8>>2]|0,c[I+112+8>>2]|0,C)|0;if(!k){k=ota(E+(c[I+48+12>>2]|0)|0,E+(c[I+80+12>>2]|0)|0,c[I+140+12>>2]|0,c[I+112+12>>2]|0,C)|0;if(!k){k=ota(E+(c[I+48+16>>2]|0)|0,E+(c[I+80+16>>2]|0)|0,c[I+140+16>>2]|0,c[I+112+16>>2]|0,C)|0;if(k|0){l=0;break}k=ota(E+(c[I+48+20>>2]|0)|0,E+(c[I+80+20>>2]|0)|0,c[I+140+20>>2]|0,c[I+112+20>>2]|0,C)|0;if(k|0){l=0;break}k=ota(E+(c[I+48+24>>2]|0)|0,E+(c[I+80+24>>2]|0)|0,c[I+140+24>>2]|0,c[I+112+24>>2]|0,C)|0;if(!k){k=0;H=280}else l=0}else l=0}else l=0}else l=0}else l=0}while(0);if((H|0)==280){pta(I+292|0,I+264|0,I+232|0,I+200|0,I+168|0,o,p,C);if(C>>>0>7){if(C>>>3|0){y=0;do{r=c[I+264+(y<<2)>>2]|0;do if(r|0){s=c[I+292+(y<<2)>>2]|0;if(!s)break;l=c[I+168+(y<<2)>>2]|0;m=c[33560+(y<<2)>>2]|0;n=c[33532+(y<<2)>>2]|0;p=c[33504+(y<<2)>>2]|0;q=c[33476+(y<<2)>>2]|0;A=0;do{t=(_((_(A,n)|0)+m|0,o)|0)+p|0;u=_(A,s)|0;z=0;do{v=(_(z+u|0,C>>>3)|0)+l|0;w=_(t+(_(z,q)|0)|0,C>>>3)|0;x=0;do{a[D+(x+w)>>0]=a[E+(v+x)>>0]|0;x=x+1|0}while((x|0)!=(C>>>3|0));z=z+1|0}while((z|0)!=(s|0));A=A+1|0}while((A|0)!=(r|0))}while(0);y=y+1|0}while((y|0)!=7)}}else{x=0;do{q=c[I+292+(x<<2)>>2]|0;r=c[I+264+(x<<2)>>2]|0;if(!((q|0)==0|(r|0)==0)){l=c[33560+(x<<2)>>2]|0;m=c[33532+(x<<2)>>2]|0;n=c[33504+(x<<2)>>2]|0;p=c[33476+(x<<2)>>2]|0;s=c[I+168+(x<<2)>>2]<<3;B=0;do{t=_(B,q)|0;u=(_((_(B,m)|0)+l|0,o)|0)+n|0;A=0;do{w=0;y=(_(A+t|0,C)|0)+s|0;z=_(u+(_(A,p)|0)|0,C)|0;while(1){v=(d[E+(y>>>3)>>0]|0)>>>(y&7^7)&1;if(v|0){H=D+(z>>>3)|0;a[H>>0]=d[H>>0]|v<<(z&7^7)}w=w+1|0;if((w|0)==(C|0))break;else{y=y+1|0;z=z+1|0}}A=A+1|0}while((A|0)!=(q|0));B=B+1|0}while((B|0)!=(r|0))}x=x+1|0}while((x|0)!=7)}l=1}if(!l)break h}while(0);k=0}while(0);c[g+292>>2]=k;k=F}c[b>>2]=k}c[I+8>>2]=0;c[I+4>>2]=0;Wpb(c[I>>2]|0);k=c[g+292>>2]|0;if(k|0){g=k;i=I;return g|0}if(!(c[g+24>>2]|0)){k=c[g+108>>2]|0;if(k|0)Wpb(k);c[g+100>>2]=c[g+144>>2];c[g+100+4>>2]=c[g+144+4>>2];c[g+100+8>>2]=c[g+144+8>>2];c[g+100+12>>2]=c[g+144+12>>2];c[g+100+16>>2]=c[g+144+16>>2];c[g+100+20>>2]=c[g+144+20>>2];c[g+100+24>>2]=c[g+144+24>>2];c[g+100+28>>2]=c[g+144+28>>2];k=c[g+152>>2]|0;do if(k|0){l=Vpb(1024)|0;c[g+108>>2]=l;m=c[g+156>>2]|0;if(!l){if(!m)break;c[g+292>>2]=83;g=83;i=I;return g|0}else{if(!(m&1073741823))break;a[l>>0]=a[k>>0]|0;a[l+1>>0]=a[k+1>>0]|0;k=2;do{a[(c[g+108>>2]|0)+k>>0]=a[(c[g+152>>2]|0)+k>>0]|0;k=k+1|0}while((k|0)!=(c[g+156>>2]<<2|0))}}while(0);c[g+292>>2]=0;g=0;i=I;return g|0}p=c[g+100>>2]|0;k:do if((p|0)==(c[g+144>>2]|0))if((c[g+104>>2]|0)==(c[g+148>>2]|0)){k=c[g+116>>2]|0;if((k|0)==(c[g+160>>2]|0)){if(k|0){if((c[g+120>>2]|0)!=(c[g+164>>2]|0))break;if((c[g+124>>2]|0)!=(c[g+168>>2]|0))break;if((c[g+128>>2]|0)!=(c[g+172>>2]|0))break}k=c[g+112>>2]|0;if((k|0)==(c[g+156>>2]|0)){if(!(k&1073741823)){g=0;i=I;return g|0}l=c[g+108>>2]|0;m=c[g+152>>2]|0;n=0;while(1){if((a[l+n>>0]|0)!=(a[m+n>>0]|0))break k;n=n+1|0;if((n|0)==(k<<2|0)){k=0;break}}i=I;return k|0}}}while(0);o=c[b>>2]|0;switch(p|0){case 6:case 2:break;default:if((c[g+104>>2]|0)!=8){g=56;i=I;return g|0}}n=c[e>>2]|0;m=c[f>>2]|0;l=c[g+104>>2]|0;switch(p|0){case 3:case 0:{k=1;break}case 2:{k=3;break}case 4:{k=2;break}case 6:{k=4;break}default:k=0}k=Vpb(((_(_(_(m,n)|0,l)|0,k)|0)+7|0)>>>3)|0;c[b>>2]=k;if(!k)k=83;else{fta(k,o,g+100|0,g+144|0,n,m)|0;k=0}c[g+292>>2]=k;Wpb(o);g=c[g+292>>2]|0;i=I;return g|0}while(0);g=k;i=I;return g|0}function ota(b,c,e,f,g){b=b|0;c=c|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;j=((_(g,e)|0)+7|0)>>>3;if(!f){b=0;return b|0}k=((g+7|0)>>>3|0)==0;l=(g+7|0)>>>3>>>0>>0;m=0;n=0;a:while(1){e=_(n,j)|0;i=_(n,j+1|0)|0;h=m;m=b+e|0;b:do switch(d[c+i>>0]|0|0){case 0:{if(j|0){e=0;do{a[m+e>>0]=a[c+(i+1)+e>>0]|0;e=e+1|0}while((e|0)!=(j|0))}break}case 1:{if(!k){e=0;do{a[m+e>>0]=a[c+(i+1)+e>>0]|0;e=e+1|0}while((e|0)!=((g+7|0)>>>3|0))}if(l){e=(g+7|0)>>>3;do{a[m+e>>0]=(d[m+(e-((g+7|0)>>>3))>>0]|0)+(d[c+(i+1)+e>>0]|0);e=e+1|0}while((e|0)!=(j|0))}break}case 2:{if(!h){if(!j)break b;else e=0;do{a[m+e>>0]=a[c+(i+1)+e>>0]|0;e=e+1|0}while((e|0)!=(j|0))}else{if(!j)break b;else e=0;do{a[m+e>>0]=(d[h+e>>0]|0)+(d[c+(i+1)+e>>0]|0);e=e+1|0}while((e|0)!=(j|0))}break}case 3:{if(!h){if(!k){e=0;do{a[m+e>>0]=a[c+(i+1)+e>>0]|0;e=e+1|0}while((e|0)!=((g+7|0)>>>3|0))}if(l)e=(g+7|0)>>>3;else break b;do{a[m+e>>0]=((d[m+(e-((g+7|0)>>>3))>>0]|0)>>>1&255)+(d[c+(i+1)+e>>0]|0);e=e+1|0}while((e|0)!=(j|0))}else{if(!k){e=0;do{a[m+e>>0]=((d[h+e>>0]|0)>>>1&255)+(d[c+(i+1)+e>>0]|0);e=e+1|0}while((e|0)!=((g+7|0)>>>3|0))}if(l)e=(g+7|0)>>>3;else break b;do{a[m+e>>0]=(((d[h+e>>0]|0)+(d[m+(e-((g+7|0)>>>3))>>0]|0)|0)>>>1)+(d[c+(i+1)+e>>0]|0);e=e+1|0}while((e|0)!=(j|0))}break}case 4:{if(!h){if(!k){e=0;do{a[m+e>>0]=a[c+(i+1)+e>>0]|0;e=e+1|0}while((e|0)!=((g+7|0)>>>3|0))}if(l)e=(g+7|0)>>>3;else break b;do{a[m+e>>0]=(d[m+(e-((g+7|0)>>>3))>>0]|0)+(d[c+(i+1)+e>>0]|0);e=e+1|0}while((e|0)!=(j|0))}else{if(!k){e=0;do{a[m+e>>0]=(d[h+e>>0]|0)+(d[c+(i+1)+e>>0]|0);e=e+1|0}while((e|0)!=((g+7|0)>>>3|0))}if(l)e=(g+7|0)>>>3;else break b;do{s=e-((g+7|0)>>>3)|0;o=a[m+s>>0]|0;p=a[h+e>>0]|0;s=a[h+s>>0]|0;q=((p&255)-(s&255)|0)>-1?(p&255)-(s&255)|0:0-((p&255)-(s&255))|0;r=((o&255)-(s&255)|0)>-1?(o&255)-(s&255)|0:0-((o&255)-(s&255))|0;t=(p&255)+(o&255)+(_(s&255,-2)|0)|0;t=((t|0)>-1?t:0-t|0)<<16>>16;a[m+e>>0]=(((t|0)<(q|0)&(t|0)<(r|0)?s:(r|0)<(q|0)?p:o)&255)+(d[c+(i+1)+e>>0]|0);e=e+1|0}while((e|0)!=(j|0))}break}default:{e=36;h=34;break a}}while(0);n=n+1|0;if(n>>>0>=f>>>0){e=0;h=34;break}}if((h|0)==34)return e|0;return 0}function pta(a,b,d,e,f,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0;k=0;do{m=c[33476+(k<<2)>>2]|0;j=a+(k<<2)|0;c[j>>2]=((g+-1+m-(c[33504+(k<<2)>>2]|0)|0)>>>0)/(m>>>0)|0;m=c[33532+(k<<2)>>2]|0;m=((h+-1+m-(c[33560+(k<<2)>>2]|0)|0)>>>0)/(m>>>0)|0;l=b+(k<<2)|0;c[l>>2]=m;m=(c[j>>2]|0)==0?0:m;c[l>>2]=m;if(!m)c[j>>2]=0;k=k+1|0}while((k|0)!=7);c[f>>2]=0;c[e>>2]=0;c[d>>2]=0;l=0;m=0;while(1){g=a+(m<<2)|0;j=c[g>>2]|0;k=b+(m<<2)|0;if(!j)j=0;else{h=c[k>>2]|0;if(!h)j=0;else j=_(h,(((_(j,i)|0)+7|0)>>>3)+1|0)|0}h=m+1|0;c[d+(h<<2)>>2]=j+l;c[e+(h<<2)>>2]=(_(((_(c[g>>2]|0,i)|0)+7|0)>>>3,c[k>>2]|0)|0)+(c[e+(m<<2)>>2]|0);c[f+(h<<2)>>2]=(((_(_(c[k>>2]|0,i)|0,c[g>>2]|0)|0)+7|0)>>>3)+(c[f+(m<<2)>>2]|0);if((h|0)==7)break;l=c[d+(h<<2)>>2]|0;m=h}return}function qta(b,e,f,g,h,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=i;i=i+208|0;c[A+4>>2]=0;c[A>>2]=0;c[b>>2]=0;c[e>>2]=0;c[j+292>>2]=0;w=A+24+28|0;c[w>>2]=0;c[w+4>>2]=0;c[w+8>>2]=0;c[w+12>>2]=0;c[A+24+12>>2]=6;c[A+24+16>>2]=8;t=A+24+20|0;c[t>>2]=0;u=A+24+24|0;c[u>>2]=0;c[A+24+8>>2]=0;c[A+24>>2]=0;c[A+24+4>>2]=0;c[A+24+120>>2]=0;s=A+24+136|0;c[s>>2]=0;c[s+4>>2]=0;c[s+8>>2]=0;c[s+12>>2]=0;c[s+16>>2]=0;c[s+20>>2]=0;k=A+24+44|0;l=k+52|0;do{c[k>>2]=0;k=k+4|0}while((k|0)<(l|0));eta(A+24|0,j+132|0)|0;v=A+24+12|0;if((c[v>>2]|0)==3)x=3;else if(c[j+88>>2]|0)x=3;if((x|0)==3)if(((c[u>>2]|0)+-1|0)>>>0>255){c[j+292>>2]=68;j=68;i=A;return j|0}if(!(c[j+72>>2]|0))k=c[j+292>>2]|0;else{k=lta(v,f,g,h,j+100|0)|0;c[j+292>>2]=k}if(k|0){j=k;i=A;return j|0}if((c[j+36>>2]|0)>>>0>2){c[j+292>>2]=61;j=61;i=A;return j|0}if((c[j+140>>2]|0)>>>0>1){c[j+292>>2]=71;j=71;i=A;return j|0}o=c[v>>2]|0;p=c[A+24+16>>2]|0;switch(o|0){case 0:{switch(p|0){case 1:case 2:case 4:case 8:case 16:break;default:{k=37;x=19}}break}case 2:{switch(p|0){case 8:case 16:break;default:{k=37;x=19}}break}case 3:{switch(p|0){case 1:case 2:case 4:case 8:break;default:{k=37;x=19}}break}case 4:{switch(p|0){case 8:case 16:break;default:{k=37;x=19}}break}case 6:{switch(p|0){case 8:case 16:break;default:{k=37;x=19}}break}default:{k=31;x=19}}if((x|0)==19){c[j+292>>2]=k;j=k;i=A;return j|0}c[j+292>>2]=0;k=c[j+100>>2]|0;l=c[j+104>>2]|0;switch(k|0){case 0:{switch(l|0){case 1:case 2:case 4:case 8:case 16:break;default:{k=37;x=26}}break}case 2:{switch(l|0){case 8:case 16:break;default:{k=37;x=26}}break}case 3:{switch(l|0){case 1:case 2:case 4:case 8:break;default:{k=37;x=26}}break}case 4:{switch(l|0){case 8:case 16:break;default:{k=37;x=26}}break}case 6:{switch(l|0){case 8:case 16:break;default:{k=37;x=26}}break}default:{k=31;x=26}}if((x|0)==26){c[j+292>>2]=k;j=k;i=A;return j|0}c[j+292>>2]=0;a:do if((k|0)==(o|0)&(l|0)==(p|0)){k=c[j+116>>2]|0;if((k|0)==(c[w>>2]|0)){if(k|0){if((c[j+120>>2]|0)!=(c[A+24+32>>2]|0)){x=38;break}if((c[j+124>>2]|0)!=(c[A+24+36>>2]|0)){x=38;break}if((c[j+128>>2]|0)!=(c[A+24+40>>2]|0)){x=38;break}}k=c[j+112>>2]|0;if((k|0)==(c[u>>2]|0)){if(k&1073741823|0){l=c[j+108>>2]|0;m=c[t>>2]|0;n=0;do{if((a[l+n>>0]|0)!=(a[m+n>>0]|0)){x=38;break a}n=n+1|0}while((n|0)!=(k<<2|0))}rta(A+4|0,A,f,g,h,A+24|0,j+36|0)}else x=38}else x=38}else x=38;while(0);if((x|0)==38){switch(o|0){case 3:case 0:{k=1;break}case 2:{k=3;break}case 4:{k=2;break}case 6:{k=4;break}default:k=0}z=((_(_(_(h,g)|0,p)|0,k)|0)+7|0)>>>3;k=Vpb(z)|0;if((k|0)==0&(z|0)!=0)c[j+292>>2]=83;else{fta(k,f,v,j+100|0,g,h)|0;c[j+292>>2]=0;rta(A+4|0,A,k,g,h,A+24|0,j+36|0)}Wpb(k)}c[A+8>>2]=0;y=A+8+8|0;c[y>>2]=0;z=A+8+4|0;c[z>>2]=0;b:do if(!(c[j+292>>2]|0)){k=Ypb(0,1)|0;if(!k){n=c[z>>2]|0;k=c[y>>2]|0}else{c[y>>2]=1;c[A+8>>2]=k;c[z>>2]=1;a[k>>0]=-119;n=1;k=1}m=n+1|0;if(k>>>0>>0){l=k<<1>>>0>>0?m:(m*3|0)>>>1;k=Ypb(c[A+8>>2]|0,l)|0;if(k|0){c[y>>2]=l;c[A+8>>2]=k;x=56}}else{k=c[A+8>>2]|0;x=56}if((x|0)==56){c[z>>2]=m;a[k+n>>0]=80}m=c[z>>2]|0;k=c[y>>2]|0;if(k>>>0<(m+1|0)>>>0){l=k<<1>>>0<(m+1|0)>>>0?m+1|0:((m+1|0)*3|0)>>>1;k=Ypb(c[A+8>>2]|0,l)|0;if(k|0){c[y>>2]=l;c[A+8>>2]=k;x=61}}else{k=c[A+8>>2]|0;x=61}if((x|0)==61){c[z>>2]=m+1;a[k+m>>0]=78}m=c[z>>2]|0;k=c[y>>2]|0;if(k>>>0<(m+1|0)>>>0){l=k<<1>>>0<(m+1|0)>>>0?m+1|0:((m+1|0)*3|0)>>>1;k=Ypb(c[A+8>>2]|0,l)|0;if(k|0){c[y>>2]=l;c[A+8>>2]=k;x=66}}else{k=c[A+8>>2]|0;x=66}if((x|0)==66){c[z>>2]=m+1;a[k+m>>0]=71}m=c[z>>2]|0;k=c[y>>2]|0;if(k>>>0<(m+1|0)>>>0){l=k<<1>>>0<(m+1|0)>>>0?m+1|0:((m+1|0)*3|0)>>>1;k=Ypb(c[A+8>>2]|0,l)|0;if(k|0){c[y>>2]=l;c[A+8>>2]=k;x=71}}else{k=c[A+8>>2]|0;x=71}if((x|0)==71){c[z>>2]=m+1;a[k+m>>0]=13}m=c[z>>2]|0;k=c[y>>2]|0;if(k>>>0<(m+1|0)>>>0){l=k<<1>>>0<(m+1|0)>>>0?m+1|0:((m+1|0)*3|0)>>>1;k=Ypb(c[A+8>>2]|0,l)|0;if(k|0){c[y>>2]=l;c[A+8>>2]=k;x=76}}else{k=c[A+8>>2]|0;x=76}if((x|0)==76){c[z>>2]=m+1;a[k+m>>0]=10}m=c[z>>2]|0;k=c[y>>2]|0;if(k>>>0<(m+1|0)>>>0){l=k<<1>>>0<(m+1|0)>>>0?m+1|0:((m+1|0)*3|0)>>>1;k=Ypb(c[A+8>>2]|0,l)|0;if(k|0){c[y>>2]=l;c[A+8>>2]=k;x=81}}else{k=c[A+8>>2]|0;x=81}if((x|0)==81){c[z>>2]=m+1;a[k+m>>0]=26}m=c[z>>2]|0;k=c[y>>2]|0;if(k>>>0<(m+1|0)>>>0){l=k<<1>>>0<(m+1|0)>>>0?m+1|0:((m+1|0)*3|0)>>>1;k=Ypb(c[A+8>>2]|0,l)|0;if(k|0){c[y>>2]=l;c[A+8>>2]=k;x=86}}else{k=c[A+8>>2]|0;x=86}if((x|0)==86){c[z>>2]=m+1;a[k+m>>0]=10}q=c[v>>2]|0;p=c[A+24+16>>2]|0;r=c[A+24+8>>2]|0;m=Ypb(0,4)|0;o=(m|0)==0?0:4;l=m+((m|0)==0?-4:0)|0;a[l>>0]=g>>>24;a[l+1>>0]=g>>>16;a[l+2>>0]=g>>>8;a[l+3>>0]=g;l=o<<1>>>0<(o+4|0)>>>0?o+4|0:((o+4|0)*3|0)>>>1;g=Ypb(m,l)|0;m=(g|0)==0?m:g;l=(g|0)==0?o:l;o=(g|0)==0?o:o+4|0;a[m+(o+-4)>>0]=h>>>24;a[m+(o+-4)+1>>0]=h>>>16;a[m+(o+-4)+2>>0]=h>>>8;a[m+(o+-4)+3>>0]=h;if(l>>>0<(o|1)>>>0){n=l<<1>>>0<(o|1)>>>0?o|1:((o|1)*3|0)>>>1;k=Ypb(m,n)|0;if(!k){k=m;f=o;n=l}else{l=n;x=89}}else{k=m;x=89}if((x|0)==89){a[k+o>>0]=p;f=o|1;n=l}o=f+1|0;if(n>>>0>>0){m=n<<1>>>0>>0?o:(o*3|0)>>>1;l=Ypb(k,m)|0;if(!l){p=k;o=f}else{k=l;l=m;x=92}}else{l=n;x=92}if((x|0)==92){a[k+f>>0]=q;p=k;n=l}m=o+1|0;if(n>>>0>>0){l=n<<1>>>0>>0?m:(m*3|0)>>>1;k=Ypb(p,l)|0;if(!k){k=p;p=o;o=n}else x=95}else{k=p;l=n;x=95}if((x|0)==95){a[k+o>>0]=0;p=m;o=l}n=p+1|0;if(o>>>0>>0){l=o<<1>>>0>>0?n:(n*3|0)>>>1;m=Ypb(k,l)|0;if(!m){m=k;n=p;l=o}else{k=m;x=98}}else{l=o;x=98}if((x|0)==98){a[k+p>>0]=0;m=k}k=n+1|0;if(l>>>0>>0){l=Ypb(m,l<<1>>>0>>0?k:(k*3|0)>>>1)|0;if(!l){l=m;k=n}else x=101}else{l=m;x=101}if((x|0)==101)a[l+n>>0]=r;if(!(bta(A+8|0,z,k,499939,l)|0))c[y>>2]=c[z>>2];Wpb(l);k=c[s>>2]|0;if(k|0){l=c[A+24+148>>2]|0;c:do if(l|0){f=c[z>>2]|0;h=k;while(1){m=h+1|0;n=h+2|0;o=h+3|0;p=(d[m>>0]<<16|d[h>>0]<<24|d[n>>0]<<8|d[o>>0])+12|0;q=f;f=p+f|0;if(f>>>0

>>0|f>>>0>>0){k=77;break}r=Ypb(c[A+8>>2]|0,f)|0;if(!r){k=83;break}c[A+8>>2]=r;c[z>>2]=f;if(p|0){g=0;do{a[r+q+g>>0]=a[h+g>>0]|0;g=g+1|0}while((g|0)!=(p|0))}c[y>>2]=f;h=h+((d[m>>0]<<16|d[h>>0]<<24|d[n>>0]<<8|d[o>>0])+12)|0;if((h-k|0)>>>0>=l>>>0)break c}c[j+292>>2]=k;break b}while(0);c[j+292>>2]=0}if((c[v>>2]|0)==3){if(!(c[u>>2]&1073741823)){l=0;k=0}else{l=0;p=0;f=0;q=0;while(1){do if((q&3|0)==3){m=p;k=f}else{o=a[(c[t>>2]|0)+q>>0]|0;k=f+1|0;if(p>>>0>>0){m=p<<1>>>0>>0?k:(k*3|0)>>>1;n=Ypb(l,m)|0;if(!n){m=p;k=f;break}else l=n}else m=p;a[l+f>>0]=o}while(0);q=q+1|0;if((q|0)==(c[u>>2]<<2|0))break;else{p=m;f=k}}}if(!(bta(A+8|0,z,k,499944,l)|0))c[y>>2]=c[z>>2];Wpb(l)}d:do if(!(c[j+88>>2]|0))x=135;else{k=c[v>>2]|0;switch(k|0){case 6:case 2:break;default:break d}if(!(c[u>>2]&1073741823)){l=0;k=0}else{l=0;p=0;f=0;q=0;while(1){do if((q&3|0)==3){m=p;k=f}else{o=a[(c[t>>2]|0)+q>>0]|0;k=f+1|0;if(p>>>0>>0){m=p<<1>>>0>>0?k:(k*3|0)>>>1;n=Ypb(l,m)|0;if(!n){m=p;k=f;break}else l=n}else m=p;a[l+f>>0]=o}while(0);q=q+1|0;if((q|0)==(c[u>>2]<<2|0))break;else{p=m;f=k}}}if(!(bta(A+8|0,z,k,499944,l)|0))c[y>>2]=c[z>>2];Wpb(l);x=135}while(0);if((x|0)==135)k=c[v>>2]|0;do if((k|0)==3){g=c[t>>2]|0;r=c[u>>2]|0;if(!r)break;else{n=0;o=0;f=0;k=0;q=0}e:while(1){m=(k|0)!=0;p=f<<2;l=a[g+(p|3)>>0]|0;do if(l<<24>>24==0&(m^1)){n=d[g+(p|2)>>0]|0;o=d[g+(p|1)>>0]|0;l=-1;k=1;m=d[g+p>>0]|0}else{if(l<<24>>24!=-1)break e;if(!m){l=f;k=0;m=q;break}if((q|0)!=(d[g+p>>0]|0)){l=f;m=q;break}if((o|0)!=(d[g+(p|1)>>0]|0)){l=f;m=q;break}if((n|0)==(d[g+(p|2)>>0]|0))break e;else{l=f;m=q}}while(0);f=l+1|0;if((f|0)==(r|0)){x=146;break}else q=m}if((x|0)==146)if(!k)break;wta(A+8|0,v);k=c[v>>2]|0;x=148}else x=148;while(0);f:do if((x|0)==148){switch(k|0){case 2:case 0:break;default:break f}if(!(c[w>>2]|0))break;wta(A+8|0,v)}while(0);if(c[A+24+44>>2]|0){g:do switch(c[A+24+12>>2]|0){case 4:case 0:{k=c[A+24+48>>2]|0;l=Ypb(0,1)|0;if(!l){k=1;n=0;o=0}else{a[l>>0]=k>>>8;k=2;n=l;o=1}m=c[A+24+48>>2]|0;l=Ypb(n,o<<1>>>0>>0?k:(k*3|0)>>>1)|0;if(!l){l=n;k=o;break g}a[l+o>>0]=m;break}case 6:case 2:{k=c[A+24+48>>2]|0;l=Ypb(0,1)|0;if(!l){n=1;l=0;p=0}else{a[l>>0]=k>>>8;n=2;p=1}k=c[A+24+48>>2]|0;o=p<<1>>>0>>0?n:(n*3|0)>>>1;m=Ypb(l,o)|0;if(!m){n=p;o=p}else{a[m+p>>0]=k;l=m}p=(c[A+24+52>>2]|0)>>>8&255;f=n+1|0;if(o>>>0>>0){m=o<<1>>>0>>0?f:(f*3|0)>>>1;k=Ypb(l,m)|0;if(!k){q=l;k=o}else{l=k;k=m;x=163}}else{k=o;x=163}if((x|0)==163){a[l+n>>0]=p;q=l;n=f}o=c[A+24+52>>2]&255;p=n+1|0;if(k>>>0

>>0){m=k<<1>>>0

>>0?p:(p*3|0)>>>1;l=Ypb(q,m)|0;if(!l){l=q;f=k}else{k=m;x=166}}else{l=q;x=166}if((x|0)==166){a[l+n>>0]=o;n=p;f=k}o=(c[A+24+56>>2]|0)>>>8&255;p=n+1|0;if(f>>>0

>>0){m=f<<1>>>0

>>0?p:(p*3|0)>>>1;k=Ypb(l,m)|0;if(!k){p=n;m=f}else{l=k;x=169}}else{m=f;x=169}if((x|0)==169)a[l+n>>0]=o;n=c[A+24+56>>2]&255;k=p+1|0;if(m>>>0>>0){m=Ypb(l,m<<1>>>0>>0?k:(k*3|0)>>>1)|0;if(!m){k=p;break g}else l=m}a[l+p>>0]=n;break}case 3:{k=c[A+24+48>>2]|0;l=Ypb(0,1)|0;if(!l){l=0;k=0;break g}a[l>>0]=k;k=1;break}default:{l=0;k=0}}while(0);if(!(bta(A+8|0,z,k,499954,l)|0))c[y>>2]=c[z>>2];Wpb(l)}if(c[A+24+120>>2]|0){m=c[A+24+124>>2]|0;l=Ypb(0,4)|0;k=(l|0)==0?0:4;n=l+((l|0)==0?-4:0)|0;a[n>>0]=m>>>24;a[n+1>>0]=m>>>16;a[n+2>>0]=m>>>8;a[n+3>>0]=m;n=c[A+24+128>>2]|0;m=k<<1>>>0<(k+4|0)>>>0?k+4|0:((k+4|0)*3|0)>>>1;w=Ypb(l,m)|0;l=(w|0)==0?l:w;m=(w|0)==0?k:m;k=(w|0)==0?k:k+4|0;a[l+(k+-4)>>0]=n>>>24;a[l+(k+-4)+1>>0]=n>>>16;a[l+(k+-4)+2>>0]=n>>>8;a[l+(k+-4)+3>>0]=n;n=c[A+24+132>>2]&255;if(m>>>0<(k|1)>>>0){m=Ypb(l,m<<1>>>0<(k|1)>>>0?k|1:((k|1)*3|0)>>>1)|0;if(m){l=m;x=181}}else x=181;if((x|0)==181){a[l+k>>0]=n;k=k|1}if(!(bta(A+8|0,z,k,499959,l)|0))c[y>>2]=c[z>>2];Wpb(l)}k=c[A+24+140>>2]|0;if(k|0){l=c[A+24+152>>2]|0;h:do if(l|0){f=c[z>>2]|0;h=k;while(1){m=h+1|0;n=h+2|0;o=h+3|0;p=(d[m>>0]<<16|d[h>>0]<<24|d[n>>0]<<8|d[o>>0])+12|0;q=f;f=p+f|0;if(f>>>0

>>0|f>>>0>>0){k=77;break}r=Ypb(c[A+8>>2]|0,f)|0;if(!r){k=83;break}c[A+8>>2]=r;c[z>>2]=f;if(p|0){g=0;do{a[r+q+g>>0]=a[h+g>>0]|0;g=g+1|0}while((g|0)!=(p|0))}c[y>>2]=f;h=h+((d[m>>0]<<16|d[h>>0]<<24|d[n>>0]<<8|d[o>>0])+12)|0;if((h-k|0)>>>0>=l>>>0)break h}c[j+292>>2]=k;break b}while(0);c[j+292>>2]=0}k=c[A+4>>2]|0;l=c[A>>2]|0;c[A+184>>2]=0;c[A+184+8>>2]=0;n=A+184+4|0;c[n>>2]=0;m=c[j+60>>2]|0;if(!m)k=ata(A+184|0,n,k,l,j+36|0)|0;else k=Ci[m&127](A+184|0,n,k,l,j+36|0)|0;do if(!k){k=bta(A+8|0,z,c[n>>2]|0,499934,c[A+184>>2]|0)|0;if(k|0)break;c[y>>2]=c[z>>2];k=0}while(0);c[A+184+8>>2]=0;c[n>>2]=0;Wpb(c[A+184>>2]|0);c[j+292>>2]=k;if(k|0)break;do if(c[A+24+92>>2]|0){k=Vpb(7)|0;if(!k)break;w=c[A+24+96>>2]|0;a[k>>0]=w>>>8;a[k+1>>0]=w;a[k+2>>0]=c[A+24+100>>2];a[k+3>>0]=c[A+24+104>>2];a[k+4>>0]=c[A+24+108>>2];a[k+5>>0]=c[A+24+112>>2];a[k+6>>0]=c[A+24+116>>2];if(!(bta(A+8|0,z,7,499964,k)|0))c[y>>2]=c[z>>2];Wpb(k)}while(0);k=c[A+24+60>>2]|0;i:do if(!k)k=0;else{t=A+184+4|0;l=0;while(1){g=c[(c[A+24+64>>2]|0)+(l<<2)>>2]|0;if((rnb(g)|0)>>>0>79){x=210;break}if(!(a[g>>0]|0)){x=212;break}h=c[(c[A+24+68>>2]|0)+(l<<2)>>2]|0;if(!(c[j+96>>2]|0))xta(A+8|0,g,h);else{s=rnb(h)|0;c[A+184>>2]=0;c[A+184+8>>2]=0;c[t>>2]=0;k=a[g>>0]|0;do if(k<<24>>24){r=k;k=0;q=0;f=0;m=0;while(1){p=q+1|0;if(f>>>0

>>0){o=f<<1>>>0

>>0?p:(p*3|0)>>>1;n=Ypb(k,o)|0;if(!n){p=q;n=f}else{k=n;n=o;x=217}}else{n=f;x=217}if((x|0)==217){x=0;a[k+q>>0]=r}o=m+1|0;r=a[g+o>>0]|0;if(!(r<<24>>24)){o=p;p=n;break}else{q=p;f=n;m=o}}if(m>>>0>78)break;if(p>>>0<(o+1|0)>>>0){n=p<<1>>>0<(o+1|0)>>>0?o+1|0:((o+1|0)*3|0)>>>1;m=Ypb(k,n)|0;if(!m)f=o;else{k=m;m=n;x=222}}else{m=p;x=222}if((x|0)==222){x=0;a[k+o>>0]=0;f=o+1|0;p=m}m=f+1|0;if(p>>>0>>0){o=p<<1>>>0>>0?m:(m*3|0)>>>1;n=Ypb(k,o)|0;if(!n){m=f;o=p}else{k=n;n=o;x=225}}else{n=p;x=225}if((x|0)==225){x=0;a[k+f>>0]=0;o=n}n=c[j+60>>2]|0;if(!n)n=ata(A+184|0,t,h,s,j+36|0)|0;else n=Ci[n&127](A+184|0,t,h,s,j+36|0)|0;do if(!n){if(c[t>>2]|0){n=o;r=0;do{f=a[(c[A+184>>2]|0)+r>>0]|0;q=m+1|0;if(n>>>0>>0){p=n<<1>>>0>>0?q:(q*3|0)>>>1;o=Ypb(k,p)|0;if(o){k=o;n=p;x=233}}else x=233;if((x|0)==233){x=0;a[k+m>>0]=f;m=q}r=r+1|0}while((r|0)!=(c[t>>2]|0))}if(bta(A+8|0,z,m,499969,k)|0)break;c[y>>2]=c[z>>2]}while(0);c[A+184+8>>2]=0;c[t>>2]=0;Wpb(c[A+184>>2]|0);c[A+184>>2]=0;Wpb(k)}while(0)}l=l+1|0;k=c[A+24+60>>2]|0;if((l|0)==(k|0)){k=l;break i}}if((x|0)==210){c[j+292>>2]=66;break}else if((x|0)==212){c[j+292>>2]=67;break}}while(0);j:do if(c[j+92>>2]|0){if(k|0){l=c[A+24+64>>2]|0;m=0;do{if(!(Imb(c[l+(m<<2)>>2]|0,499979)|0))break j;m=m+1|0}while((m|0)!=(k|0))}xta(A+8|0,499979,499987)}while(0);k:do if(c[A+24+72>>2]|0){v=A+184+4|0;w=0;while(1){q=c[(c[A+24+76>>2]|0)+(w<<2)>>2]|0;if((rnb(q)|0)>>>0>79){x=250;break}k=a[q>>0]|0;if(!(k<<24>>24)){x=252;break}s=c[j+96>>2]|0;g=c[(c[A+24+80>>2]|0)+(w<<2)>>2]|0;h=c[(c[A+24+84>>2]|0)+(w<<2)>>2]|0;u=c[(c[A+24+88>>2]|0)+(w<<2)>>2]|0;t=rnb(u)|0;p=0;f=0;n=0;r=0;while(1){o=f+1|0;if(n>>>0>>0){m=n<<1>>>0>>0?o:(o*3|0)>>>1;l=Ypb(p,m)|0;if(!l){l=p;o=f}else x=256}else{l=p;m=n;x=256}if((x|0)==256){x=0;a[l+f>>0]=k;n=m}m=r+1|0;k=a[q+m>>0]|0;if(!(k<<24>>24)){m=l;k=r;break}else{p=l;f=o;r=m}}if(k>>>0<=78){if(n>>>0<(o+1|0)>>>0){l=n<<1>>>0<(o+1|0)>>>0?o+1|0:((o+1|0)*3|0)>>>1;k=Ypb(m,l)|0;if(!k){k=m;p=o;l=n}else x=261}else{k=m;l=n;x=261}if((x|0)==261){x=0;a[k+o>>0]=0;p=o+1|0}o=p+1|0;if(l>>>0>>0){n=l<<1>>>0>>0?o:(o*3|0)>>>1;m=Ypb(k,n)|0;if(!m)o=p;else{k=m;l=n;x=264}}else x=264;if((x|0)==264){x=0;a[k+p>>0]=(s|0)!=0&1}p=o+1|0;if(l>>>0

>>0){n=l<<1>>>0

>>0?p:(p*3|0)>>>1;m=Ypb(k,n)|0;if(!m)p=o;else{k=m;l=n;x=267}}else x=267;if((x|0)==267){x=0;a[k+o>>0]=0}o=a[g>>0]|0;m=p+1|0;n=l>>>0>>0;if(!(o<<24>>24))o=k;else{f=l;q=0;while(1){if(n){l=f<<1>>>0>>0?m:(m*3|0)>>>1;n=Ypb(k,l)|0;if(!n)l=f;else{k=n;x=271}}else{l=f;x=271}if((x|0)==271){x=0;a[k+p>>0]=o;p=m}q=q+1|0;o=a[g+q>>0]|0;m=p+1|0;n=l>>>0>>0;if(!(o<<24>>24)){o=k;break}else f=l}}if(n){n=l<<1>>>0>>0?m:(m*3|0)>>>1;k=Ypb(o,n)|0;if(!k){k=o;n=l}else x=275}else{k=o;n=l;x=275}if((x|0)==275){x=0;a[k+p>>0]=0;p=m}o=a[h>>0]|0;l=p+1|0;m=n>>>0>>0;if(o<<24>>24){f=p;q=0;while(1){if(m){p=n<<1>>>0>>0?l:(l*3|0)>>>1;m=Ypb(k,p)|0;if(!m)p=f;else{k=m;n=p;x=279}}else x=279;if((x|0)==279){x=0;a[k+f>>0]=o;p=l}q=q+1|0;o=a[h+q>>0]|0;l=p+1|0;m=n>>>0>>0;if(!(o<<24>>24))break;else f=p}}if(m){o=n<<1>>>0>>0?l:(l*3|0)>>>1;m=Ypb(k,o)|0;if(!m)l=p;else{k=m;n=o;x=283}}else x=283;if((x|0)==283){x=0;a[k+p>>0]=0}do if(s|0){c[A+184>>2]=0;c[A+184+8>>2]=0;c[v>>2]=0;m=c[j+60>>2]|0;if(!m)m=ata(A+184|0,v,u,t,j+36|0)|0;else m=Ci[m&127](A+184|0,v,u,t,j+36|0)|0;r=(m|0)==0;if(!((c[v>>2]|0)==0|r^1)){m=n;q=0;do{p=a[(c[A+184>>2]|0)+q>>0]|0;f=l+1|0;if(m>>>0>>0){o=m<<1>>>0>>0?f:(f*3|0)>>>1;n=Ypb(k,o)|0;if(n){k=n;m=o;x=292}}else x=292;if((x|0)==292){x=0;a[k+l>>0]=p;l=f}q=q+1|0}while((q|0)!=(c[v>>2]|0))}c[A+184+8>>2]=0;c[v>>2]=0;Wpb(c[A+184>>2]|0);if(r)x=299}else{m=a[u>>0]|0;if(!(m<<24>>24)){x=299;break}else q=0;do{f=l+1|0;if(n>>>0>>0){p=n<<1>>>0>>0?f:(f*3|0)>>>1;o=Ypb(k,p)|0;if(o){k=o;n=p;x=297}}else x=297;if((x|0)==297){x=0;a[k+l>>0]=m;l=f}q=q+1|0;m=a[u+q>>0]|0}while(m<<24>>24!=0);x=299}while(0);do if((x|0)==299){x=0;if(bta(A+8|0,z,l,499996,k)|0)break;c[y>>2]=c[z>>2]}while(0);Wpb(k)}w=w+1|0;if((w|0)==(c[A+24+72>>2]|0))break k}if((x|0)==250){c[j+292>>2]=66;break}else if((x|0)==252){c[j+292>>2]=67;break}}while(0);l=c[A+24+144>>2]|0;if(l|0){m=c[A+24+156>>2]|0;l:do if(m|0){q=c[z>>2]|0;h=l;while(1){n=h+1|0;o=h+2|0;p=h+3|0;f=(d[n>>0]<<16|d[h>>0]<<24|d[o>>0]<<8|d[p>>0])+12|0;r=q;q=f+q|0;if(q>>>0>>0|q>>>0>>0){k=77;break}k=Ypb(c[A+8>>2]|0,q)|0;if(!k){k=83;break}c[A+8>>2]=k;c[z>>2]=q;if(f|0){g=0;do{a[k+r+g>>0]=a[h+g>>0]|0;g=g+1|0}while((g|0)!=(f|0))}c[y>>2]=q;h=h+((d[n>>0]<<16|d[h>>0]<<24|d[o>>0]<<8|d[p>>0])+12)|0;if((h-l|0)>>>0>=m>>>0)break l}c[j+292>>2]=k;break b}while(0);c[j+292>>2]=0}if(bta(A+8|0,z,0,500001,0)|0)break;c[y>>2]=c[z>>2]}while(0);Osa(A+24|0);Wpb(c[A+4>>2]|0);c[b>>2]=c[A+8>>2];c[e>>2]=c[z>>2];j=c[j+292>>2]|0;i=A;return j|0}function rta(b,e,f,g,h,j,k){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;B=i;i=i+304|0;o=c[j+12>>2]|0;m=c[j+16>>2]|0;switch(o|0){case 3:case 0:{l=1;break}case 2:{l=3;break}case 4:{l=2;break}case 6:{l=4;break}default:l=0}A=_(l,m)|0;if(!(c[j+8>>2]|0)){n=_(A,g)|0;m=_((n+7|0)>>>3,h)|0;c[e>>2]=m+h;l=Vpb(m+h|0)|0;c[b>>2]=l;if(!((l|0)!=0|(m+h|0)==0)){i=B;return}if(A>>>0<8)if((n|0)!=((n+7|0)>>>3<<3|0)){l=Vpb(m)|0;if(l|0){sta(l,f,(n+7|0)>>>3<<3,n,h);uta(c[b>>2]|0,l,g,h,c[j+12>>2]|0,c[j+16>>2]|0,k)|0}Wpb(l);i=B;return}uta(l,f,g,h,o,c[j+16>>2]|0,k)|0;i=B;return}pta(B+124|0,B+96|0,B+64|0,B+32|0,B,g,h,A);x=c[B+64+28>>2]|0;c[e>>2]=x;x=Vpb(x)|0;c[b>>2]=x;y=c[B+28>>2]|0;z=Vpb(y)|0;a:do if((x|0)!=0&((y|0)==0|(z|0)!=0)){pta(B+276|0,B+248|0,B+216|0,B+184|0,B+152|0,g,h,A);if(A>>>0>7){if(A>>>3|0){m=_(A>>>3,g)|0;t=0;do{n=c[B+248+(t<<2)>>2]|0;if(n|0){e=c[B+276+(t<<2)>>2]|0;if(e|0){l=c[B+152+(t<<2)>>2]|0;o=_(A>>>3,e)|0;h=_(A>>>3,(c[33504+(t<<2)>>2]|0)+(_(c[33560+(t<<2)>>2]|0,g)|0)|0)|0;p=_(m,c[33532+(t<<2)>>2]|0)|0;q=_(A>>>3,c[33476+(t<<2)>>2]|0)|0;v=0;do{r=l+(_(o,v)|0)|0;s=h+(_(p,v)|0)|0;u=0;do{mBb(z+(r+(_(A>>>3,u)|0))|0,f+(s+(_(q,u)|0))|0,A>>>3|0)|0;u=u+1|0}while((u|0)!=(e|0));v=v+1|0}while((v|0)!=(n|0))}}t=t+1|0}while((t|0)!=7)}}else{u=0;do{m=c[B+276+(u<<2)>>2]|0;n=c[B+248+(u<<2)>>2]|0;if(n|0){e=33560+(u<<2)|0;o=33532+(u<<2)|0;h=33504+(u<<2)|0;if(m|0){l=c[33476+(u<<2)>>2]|0;p=c[B+152+(u<<2)>>2]<<3;y=0;do{q=_(y,m)|0;if(A|0){r=_(c[o>>2]|0,y)|0;r=(_(r+(c[e>>2]|0)|0,g)|0)+(c[h>>2]|0)|0;x=0;do{t=0;v=_(r+(_(x,l)|0)|0,A)|0;w=(_(x+q|0,A)|0)+p|0;while(1){s=1<<(w&7^7);if(!((d[f+(v>>>3)>>0]|0)&1<<(v&7^7))){C=z+(w>>>3)|0;a[C>>0]=(d[C>>0]|0)&(s^255)}else{C=z+(w>>>3)|0;a[C>>0]=d[C>>0]|0|s}t=t+1|0;if((t|0)==(A|0))break;else{v=v+1|0;w=w+1|0}}x=x+1|0}while((x|0)!=(m|0))}y=y+1|0}while((y|0)!=(n|0))}}u=u+1|0}while((u|0)!=7)}if(A>>>0<8){m=0;do{n=m;m=m+1|0;l=Vpb((c[B+32+(m<<2)>>2]|0)-(c[B+32+(n<<2)>>2]|0)|0)|0;if(!l)break a;g=c[B+124+(n<<2)>>2]|0;f=_(g,A)|0;C=c[B+96+(n<<2)>>2]|0;sta(l,z+(c[B+(n<<2)>>2]|0)|0,f+7&-8,f,C);C=uta((c[b>>2]|0)+(c[B+64+(n<<2)>>2]|0)|0,l,g,C,c[j+12>>2]|0,c[j+16>>2]|0,k)|0;Wpb(l)}while(!((C|0)!=0|(m|0)==7))}else{l=0;do{if(uta((c[b>>2]|0)+(c[B+64+(l<<2)>>2]|0)|0,z+(c[B+32+(l<<2)>>2]|0)|0,c[B+124+(l<<2)>>2]|0,c[B+96+(l<<2)>>2]|0,c[j+12>>2]|0,c[j+16>>2]|0,k)|0)break a;l=l+1|0}while((l|0)!=7)}}while(0);Wpb(z);i=B;return}function sta(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0;o=i;i=i+16|0;c[o>>2]=0;if(!h){i=o;return}if(!g){if((f|0)==(g|0)){i=o;return}else{j=0;m=0}do{k=j;l=0;while(1){n=b+(k>>>3)|0;a[n>>0]=(1<<(k&7^7)^255)&(d[n>>0]|0);l=l+1|0;if((l|0)==(f-g|0))break;else k=k+1|0}j=j+f|0;m=m+1|0}while((m|0)!=(h|0));c[o>>2]=j;i=o;return}else{m=0;n=0}do{j=m;k=0;while(1){tta(o,b,(d[e+(j>>>3)>>0]|0)>>>(j&7^7)&1);k=k+1|0;if((k|0)==(g|0))break;else j=j+1|0}m=m+g|0;if((f|0)!=(g|0)){k=c[o>>2]|0;j=k;l=0;while(1){p=b+(j>>>3)|0;a[p>>0]=(1<<(j&7^7)^255)&(d[p>>0]|0);l=l+1|0;if((l|0)==(f-g|0))break;else j=j+1|0}c[o>>2]=f-g+k}n=n+1|0}while((n|0)!=(h|0));i=o;return}function tta(b,e,f){b=b|0;e=e|0;f=f|0;var g=0;g=c[b>>2]|0;if(!(f<<24>>24)){a[e+(g>>>3)>>0]=(d[e+(g>>>3)>>0]|0)&(1<<(g&7^7)^255);e=c[b>>2]|0;e=e+1|0;c[b>>2]=e;return}else{a[e+(g>>>3)>>0]=d[e+(g>>>3)>>0]|0|1<<(g&7^7);e=c[b>>2]|0;e=e+1|0;c[b>>2]=e;return}}function uta(b,e,f,g,h,j,k){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0.0,q=0,r=0.0,s=0,t=0.0,u=0.0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0.0;D=i;i=i+1136|0;switch(h|0){case 3:case 0:{l=1;break}case 2:{l=3;break}case 4:{l=2;break}case 6:{l=4;break}default:l=0}B=_(l,j)|0;C=((_(B,f)|0)+7|0)>>>3;l=c[k+44>>2]|0;if(c[k+40>>2]|0)l=(h|0)==3|j>>>0<8?0:l;if(!B){b=31;i=D;return b|0}switch(l|0){case 0:{if(!g){b=0;i=D;return b|0}if(!C){l=0;do{a[b+(_(l,C+1|0)|0)>>0]=0;l=l+1|0}while((l|0)!=(g|0));l=0;i=D;return l|0}else j=0;do{l=_(j,C+1|0)|0;f=_(j,C)|0;a[b+l>>0]=0;h=0;do{a[b+(l+1)+h>>0]=a[e+f+h>>0]|0;h=h+1|0}while((h|0)!=(C|0));j=j+1|0}while((j|0)!=(g|0));l=0;i=D;return l|0}case 1:{l=C|0?C:(C*3|0)>>>1;do if(!C){h=D+1064|0;f=h+60|0;do{c[h>>2]=0;h=h+4|0}while((h|0)<(f|0));f=0;h=0;j=0;k=0;m=0}else{c[D+1064>>2]=0;c[D+1064+8>>2]=0;c[D+1064+4>>2]=0;f=Ypb(0,l)|0;if(f|0){c[D+1064+8>>2]=l;c[D+1064>>2]=f;c[D+1064+4>>2]=C;c[D+1064+12>>2]=0;c[D+1064+20>>2]=0;c[D+1064+16>>2]=0;h=Ypb(0,l)|0;if(h|0){c[D+1064+20>>2]=l;c[D+1064+12>>2]=h;c[D+1064+16>>2]=C;c[D+1064+24>>2]=0;c[D+1064+32>>2]=0;c[D+1064+28>>2]=0;j=Ypb(0,l)|0;if(j|0){c[D+1064+32>>2]=l;c[D+1064+24>>2]=j;c[D+1064+28>>2]=C;c[D+1064+36>>2]=0;c[D+1064+44>>2]=0;c[D+1064+40>>2]=0;k=Ypb(0,l)|0;if(k|0){c[D+1064+44>>2]=l;c[D+1064+36>>2]=k;c[D+1064+40>>2]=C;c[D+1064+48>>2]=0;c[D+1064+56>>2]=0;c[D+1064+52>>2]=0;m=Ypb(0,l)|0;if(m|0){c[D+1064+56>>2]=l;c[D+1064+48>>2]=m;c[D+1064+52>>2]=C;break}}}}}b=83;i=D;return b|0}while(0);if(g|0){l=0;z=0;n=0;A=0;while(1){y=z;z=e+(_(A,C)|0)|0;if(!C){vta(c[D+1064>>2]|0,z,y,0,(B+7|0)>>>3,0);vta(c[D+1064+12>>2]|0,z,y,0,(B+7|0)>>>3,1);vta(c[D+1064+24>>2]|0,z,y,0,(B+7|0)>>>3,2);vta(c[D+1064+36>>2]|0,z,y,0,(B+7|0)>>>3,3);vta(c[D+1064+48>>2]|0,z,y,0,(B+7|0)>>>3,4);l=0;s=0}else{x=0;do{s=c[D+1064+(x*12|0)>>2]|0;w=x&255;vta(s,z,y,C,(B+7|0)>>>3,w);v=(x|0)==0;if(v){o=0;q=0;do{o=o+(d[s+q>>0]|0)|0;q=q+1|0}while((q|0)!=(C|0))}else{o=0;q=0;do{E=a[s+q>>0]|0;o=(E<<24>>24>-1?E&255:E&255^255)+o|0;q=q+1|0}while((q|0)!=(C|0))}E=v|o>>>0>>0;n=E?o:n;l=E?w:l;x=x+1|0}while((x|0)!=5);s=n}n=_(A,C+1|0)|0;a[b+n>>0]=l;if(C|0){o=c[D+1064+((l&255)*12|0)>>2]|0;q=0;do{a[b+(n+1+q)>>0]=a[o+q>>0]|0;q=q+1|0}while((q|0)!=(C|0))}A=A+1|0;if((A|0)==(g|0))break;else n=s}}Wpb(f);Wpb(h);Wpb(j);Wpb(k);Wpb(m);E=0;i=D;return E|0}case 2:{l=C|0?C:(C*3|0)>>>1;do if(!C){h=D+1064|0;f=h+60|0;do{c[h>>2]=0;h=h+4|0}while((h|0)<(f|0));f=0;h=0;j=0;k=0;m=0}else{c[D+1064>>2]=0;c[D+1064+8>>2]=0;c[D+1064+4>>2]=0;f=Ypb(0,l)|0;if(f|0){c[D+1064+8>>2]=l;c[D+1064>>2]=f;c[D+1064+4>>2]=C;c[D+1064+12>>2]=0;c[D+1064+20>>2]=0;c[D+1064+16>>2]=0;h=Ypb(0,l)|0;if(h|0){c[D+1064+20>>2]=l;c[D+1064+12>>2]=h;c[D+1064+16>>2]=C;c[D+1064+24>>2]=0;c[D+1064+32>>2]=0;c[D+1064+28>>2]=0;j=Ypb(0,l)|0;if(j|0){c[D+1064+32>>2]=l;c[D+1064+24>>2]=j;c[D+1064+28>>2]=C;c[D+1064+36>>2]=0;c[D+1064+44>>2]=0;c[D+1064+40>>2]=0;k=Ypb(0,l)|0;if(k|0){c[D+1064+44>>2]=l;c[D+1064+36>>2]=k;c[D+1064+40>>2]=C;c[D+1064+48>>2]=0;c[D+1064+56>>2]=0;c[D+1064+52>>2]=0;m=Ypb(0,l)|0;if(m|0){c[D+1064+56>>2]=l;c[D+1064+48>>2]=m;c[D+1064+52>>2]=C;break}}}}}E=83;i=D;return E|0}while(0);if(g|0){n=0;v=0;p=0.0;w=0;while(1){x=e+(_(w,C)|0)|0;s=0;while(1){l=c[D+1064+(s*12|0)>>2]|0;vta(l,x,v,C,(B+7|0)>>>3,s&255);hBb(D+40|0,0,1024)|0;if(C|0){o=0;do{E=D+40+((d[l+o>>0]|0)<<2)|0;c[E>>2]=(c[E>>2]|0)+1;o=o+1|0}while((o|0)!=(C|0))}o=D+40+(s<<2)|0;c[o>>2]=(c[o>>2]|0)+1;r=0.0;o=0;do{l=c[D+40+(o<<2)>>2]|0;if(!l)t=0.0;else{t=1.0/(+(l>>>0)/+((C+1|0)>>>0));if(t>32.0){u=0.0;do{u=u+4.0;t=t*.0625}while(t>32.0)}else u=0.0;if(t>2.0)do{u=u+1.0;t=t*.5}while(t>2.0);F=t*3.0;t=+(l>>>0)/+((C+1|0)>>>0)*(u+(F+(t*(t*t)/3.0-t*F*.5)+-1.8333300352096558)*1.4426950216293335)}r=t+r;o=o+1|0}while((o|0)!=256);q=(s|0)==0|r>0]=q;if(C|0){n=c[D+1064+(q*12|0)>>2]|0;o=0;do{a[b+(l+1+o)>>0]=a[n+o>>0]|0;o=o+1|0}while((o|0)!=(C|0))}l=w+1|0;if((l|0)==(g|0))break;else{n=q;v=x;w=l}}}Wpb(f);Wpb(h);Wpb(j);Wpb(k);Wpb(m);E=0;i=D;return E|0}case 4:{if(!g){E=0;i=D;return E|0}l=0;f=0;do{z=_(f,C+1|0)|0;y=_(f,C)|0;E=a[(c[k+48>>2]|0)+f>>0]|0;a[b+z>>0]=E;A=l;l=e+y|0;vta(b+(z+1)|0,l,A,C,(B+7|0)>>>3,E);f=f+1|0}while((f|0)!=(g|0));l=0;i=D;return l|0}case 3:{h=D;l=k;f=h+36|0;do{c[h>>2]=c[l>>2];h=h+4|0;l=l+4|0}while((h|0)<(f|0));c[D>>2]=1;c[D+24>>2]=0;c[D+28>>2]=0;h=C|0?C:(C*3|0)>>>1;if(!C){h=D+40|0;f=h+60|0;do{c[h>>2]=0;h=h+4|0}while((h|0)<(f|0));l=0}else{c[D+40>>2]=0;c[D+40+8>>2]=0;c[D+40+4>>2]=0;l=Ypb(0,h)|0;if(!l)l=0;else{c[D+40+8>>2]=h;c[D+40>>2]=l;c[D+40+4>>2]=C}c[D+40+12>>2]=0;c[D+40+20>>2]=0;c[D+40+16>>2]=0;f=Ypb(0,h)|0;if(f|0){c[D+40+20>>2]=h;c[D+40+12>>2]=f;c[D+40+16>>2]=C}c[D+40+24>>2]=0;c[D+40+32>>2]=0;c[D+40+28>>2]=0;f=Ypb(0,h)|0;if(f|0){c[D+40+32>>2]=h;c[D+40+24>>2]=f;c[D+40+28>>2]=C}c[D+40+36>>2]=0;c[D+40+44>>2]=0;c[D+40+40>>2]=0;f=Ypb(0,h)|0;if(f|0){c[D+40+44>>2]=h;c[D+40+36>>2]=f;c[D+40+40>>2]=C}c[D+40+48>>2]=0;c[D+40+56>>2]=0;c[D+40+52>>2]=0;f=Ypb(0,h)|0;if(f){c[D+40+56>>2]=h;c[D+40+48>>2]=f;c[D+40+52>>2]=C}}if(!g)f=D+40|0;else{f=0;o=0;h=0;q=0;while(1){s=e+(_(q,C)|0)|0;n=0;while(1){l=c[D+40+(n*12|0)+4>>2]|0;j=c[D+40+(n*12|0)>>2]|0;vta(j,s,o,C,(B+7|0)>>>3,n&255);k=D+1064+(n<<2)|0;c[k>>2]=0;c[D+36>>2]=0;m=c[D+24>>2]|0;if(!m)ata(D+36|0,k,j,l,D)|0;else Ci[m&127](D+36|0,k,j,l,D)|0;Wpb(c[D+36>>2]|0);E=c[k>>2]|0;k=(n|0)==0|E>>>0>>0;h=k?E:h;k=k?n:f;n=n+1|0;if((n|0)==5)break;else f=k}l=_(q,C+1|0)|0;a[b+l>>0]=k;if(C|0){f=c[D+40+(k*12|0)>>2]|0;j=0;do{a[b+(l+1+j)>>0]=a[f+j>>0]|0;j=j+1|0}while((j|0)!=(C|0))}l=q+1|0;if((l|0)==(g|0))break;else{f=k;o=s;q=l}}f=D+40|0;l=c[D+40>>2]|0}c[D+40+8>>2]=0;c[D+40+4>>2]=0;Wpb(l);c[f>>2]=0;c[D+40+20>>2]=0;c[D+40+16>>2]=0;Wpb(c[D+40+12>>2]|0);c[D+40+12>>2]=0;c[D+40+32>>2]=0;c[D+40+28>>2]=0;Wpb(c[D+40+24>>2]|0);c[D+40+24>>2]=0;c[D+40+44>>2]=0;c[D+40+40>>2]=0;Wpb(c[D+40+36>>2]|0);c[D+40+36>>2]=0;c[D+40+56>>2]=0;c[D+40+52>>2]=0;Wpb(c[D+40+48>>2]|0);E=0;i=D;return E|0}default:{E=88;i=D;return E|0}}return 0}function vta(b,c,e,f,g,h){b=b|0;c=c|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0;switch(h&255|0){case 0:{if(!f)return;else h=0;do{a[b+h>>0]=a[c+h>>0]|0;h=h+1|0}while((h|0)!=(f|0));return}case 1:{if(g|0){h=0;do{a[b+h>>0]=a[c+h>>0]|0;h=h+1|0}while((h|0)!=(g|0))}if(g>>>0>>0)h=g;else return;do{a[b+h>>0]=(d[c+h>>0]|0)-(d[c+(h-g)>>0]|0);h=h+1|0}while((h|0)!=(f|0));return}case 2:if(!e){if(!f)return;else h=0;do{a[b+h>>0]=a[c+h>>0]|0;h=h+1|0}while((h|0)!=(f|0));return}else{if(!f)return;else h=0;do{a[b+h>>0]=(d[c+h>>0]|0)-(d[e+h>>0]|0);h=h+1|0}while((h|0)!=(f|0));return}case 3:if(!e){if(g|0){h=0;do{a[b+h>>0]=a[c+h>>0]|0;h=h+1|0}while((h|0)!=(g|0))}if(g>>>0>>0)h=g;else return;do{a[b+h>>0]=(d[c+h>>0]|0)-((d[c+(h-g)>>0]|0)>>>1&255);h=h+1|0}while((h|0)!=(f|0));return}else{if(g|0){h=0;do{a[b+h>>0]=(d[c+h>>0]|0)-((d[e+h>>0]|0)>>>1&255);h=h+1|0}while((h|0)!=(g|0))}if(g>>>0>>0)h=g;else return;do{a[b+h>>0]=(d[c+h>>0]|0)-(((d[e+h>>0]|0)+(d[c+(h-g)>>0]|0)|0)>>>1);h=h+1|0}while((h|0)!=(f|0));return}case 4:if(!e){if(g|0){h=0;do{a[b+h>>0]=a[c+h>>0]|0;h=h+1|0}while((h|0)!=(g|0))}if(g>>>0>>0)h=g;else return;do{a[b+h>>0]=(d[c+h>>0]|0)-(d[c+(h-g)>>0]|0);h=h+1|0}while((h|0)!=(f|0));return}else{if(g|0){h=0;do{a[b+h>>0]=(d[c+h>>0]|0)-(d[e+h>>0]|0);h=h+1|0}while((h|0)!=(g|0))}if(g>>>0>>0)h=g;else return;do{m=h-g|0;i=a[c+m>>0]|0;j=a[e+h>>0]|0;m=a[e+m>>0]|0;k=((j&255)-(m&255)|0)>-1?(j&255)-(m&255)|0:0-((j&255)-(m&255))|0;l=((i&255)-(m&255)|0)>-1?(i&255)-(m&255)|0:0-((i&255)-(m&255))|0;n=(j&255)+(i&255)+(_(m&255,-2)|0)|0;n=((n|0)>-1?n:0-n|0)<<16>>16;a[b+h>>0]=(d[c+h>>0]|0)-(((n|0)<(k|0)&(n|0)<(l|0)?m:(l|0)<(k|0)?j:i)&255);h=h+1|0}while((h|0)!=(f|0));return}default:return}}function wta(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:do switch(c[d>>2]|0){case 3:{e=c[d+12>>2]|0;if(!e){f=0;e=0}else{f=c[d+8>>2]|0;while(1){if((a[f+((e<<2)+-1)>>0]|0)!=-1){l=e;break}e=e+-1|0;if(!e){f=0;e=0;break a}}m=0;f=0;k=0;g=0;while(1){j=a[(c[d+8>>2]|0)+(m<<2|3)>>0]|0;e=k+1|0;if(g>>>0>>0){i=g<<1>>>0>>0?e:(e*3|0)>>>1;h=Ypb(f,i)|0;if(!h)e=k;else{f=h;g=i;n=9}}else n=9;if((n|0)==9){n=0;a[f+k>>0]=j}m=m+1|0;if((m|0)==(l|0))break;else k=e}}break}case 0:{if(!(c[d+16>>2]|0)){f=0;e=0}else{e=c[d+20>>2]|0;f=Ypb(0,1)|0;if(!f){e=1;f=0;i=0}else{a[f>>0]=e>>>8;e=2;i=1}g=c[d+20>>2]|0;h=Ypb(f,i<<1>>>0>>0?e:(e*3|0)>>>1)|0;if(!h)e=i;else{a[h+i>>0]=g;f=h}}break}case 2:{if(!(c[d+16>>2]|0)){f=0;e=0}else{e=c[d+20>>2]|0;f=Ypb(0,1)|0;if(!f){i=1;h=0;j=0}else{a[f>>0]=e>>>8;i=2;h=f;j=1}e=c[d+20>>2]|0;g=j<<1>>>0>>0?i:(i*3|0)>>>1;f=Ypb(h,g)|0;if(!f){f=h;i=j;g=j}else a[f+j>>0]=e;j=(c[d+24>>2]|0)>>>8&255;k=i+1|0;if(g>>>0>>0){h=g<<1>>>0>>0?k:(k*3|0)>>>1;e=Ypb(f,h)|0;if(e){f=e;g=h;n=23}}else n=23;if((n|0)==23){a[f+i>>0]=j;i=k}j=c[d+24>>2]&255;k=i+1|0;if(g>>>0>>0){h=g<<1>>>0>>0?k:(k*3|0)>>>1;e=Ypb(f,h)|0;if(e){f=e;g=h;n=26}}else n=26;if((n|0)==26){a[f+i>>0]=j;i=k}j=(c[d+28>>2]|0)>>>8&255;k=i+1|0;if(g>>>0>>0){h=g<<1>>>0>>0?k:(k*3|0)>>>1;e=Ypb(f,h)|0;if(e){f=e;g=h;n=29}}else n=29;if((n|0)==29){a[f+i>>0]=j;i=k}h=c[d+28>>2]&255;e=i+1|0;if(g>>>0>>0){g=Ypb(f,g<<1>>>0>>0?e:(e*3|0)>>>1)|0;if(!g){e=i;break a}else f=g}a[f+i>>0]=h}break}default:{f=0;e=0}}while(0);if(bta(b,b+4|0,e,499949,f)|0){Wpb(f);return}c[b+8>>2]=c[b+4>>2];Wpb(f);return}function xta(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=a[d>>0]|0;if(!(f<<24>>24))return;else{l=f;m=0;g=0;k=0;j=0}while(1){f=k+1|0;if(j>>>0>>0){i=j<<1>>>0>>0?f:(f*3|0)>>>1;h=Ypb(g,i)|0;if(!h)f=k;else{g=h;h=i;n=4}}else{h=j;n=4}if((n|0)==4){n=0;a[g+k>>0]=l;j=h}h=m+1|0;l=a[d+h>>0]|0;if(!(l<<24>>24)){h=m;break}else{m=h;k=f}}if(h>>>0>78)return;if(j>>>0<(f+1|0)>>>0){i=j<<1>>>0<(f+1|0)>>>0?f+1|0:((f+1|0)*3|0)>>>1;h=Ypb(g,i)|0;if(!h)i=j;else{g=h;h=i;n=9}}else{h=j;n=9}if((n|0)==9){a[g+f>>0]=0;f=f+1|0;i=h}h=a[e>>0]|0;if(h<<24>>24){m=0;do{l=f+1|0;if(i>>>0>>0){k=i<<1>>>0>>0?l:(l*3|0)>>>1;j=Ypb(g,k)|0;if(j){g=j;i=k;n=13}}else n=13;if((n|0)==13){n=0;a[g+f>>0]=h;f=l}m=m+1|0;h=a[e+m>>0]|0}while(h<<24>>24!=0)}if(!(bta(b,b+4|0,f,499974,g)|0))c[b+8>>2]=c[b+4>>2];Wpb(g);return}function yta(a){a=a|0;do switch(a|0){case 0:{a=503700;break}case 1:{a=503683;break}case 10:{a=503630;break}case 11:{a=503574;break}case 13:{a=503527;break}case 14:{a=503527;break}case 15:{a=503527;break}case 16:{a=503472;break}case 17:{a=503276;break}case 18:{a=503434;break}case 19:{a=503276;break}case 20:{a=503379;break}case 21:{a=503325;break}case 22:{a=503276;break}case 23:{a=503228;break}case 24:{a=503198;break}case 25:{a=503156;break}case 26:{a=503095;break}case 27:{a=503057;break}case 28:{a=503007;break}case 29:{a=502971;break}case 30:{a=502915;break}case 31:{a=502885;break}case 32:{a=502854;break}case 33:{a=502828;break}case 34:{a=502799;break}case 35:{a=502739;break}case 36:{a=502703;break}case 37:{a=502659;break}case 38:{a=502636;break}case 39:{a=502553;break}case 40:{a=502507;break}case 41:{a=502467;break}case 42:{a=502402;break}case 43:{a=502358;break}case 44:{a=502312;break}case 45:{a=502272;break}case 48:{a=502238;break}case 49:{a=502181;break}case 50:{a=502181;break}case 51:{a=502132;break}case 52:{a=502097;break}case 53:{a=502069;break}case 54:{a=502011;break}case 55:{a=501964;break}case 56:{a=501888;break}case 57:{a=501833;break}case 58:{a=501770;break}case 59:{a=501729;break}case 60:{a=501654;break}case 61:{a=501573;break}case 62:{a=501524;break}case 63:{a=501446;break}case 64:{a=501388;break}case 66:{a=501293;break}case 67:{a=501199;break}case 68:{a=501110;break}case 69:{a=501043;break}case 71:{a=500983;break}case 72:{a=500887;break}case 73:{a=500863;break}case 74:{a=500839;break}case 75:{a=500782;break}case 76:{a=500735;break}case 77:{a=500703;break}case 78:{a=500671;break}case 79:{a=500639;break}case 80:{a=500604;break}case 81:{a=500567;break}case 82:{a=500498;break}case 83:{a=500473;break}case 84:{a=500415;break}case 86:{a=500365;break}case 87:{a=500284;break}case 88:{a=500211;break}case 89:{a=500153;break}case 90:{a=500119;break}case 91:{a=500088;break}case 92:{a=500057;break}case 93:{a=500025;break}default:a=500006}while(0);return a|0}function zta(a){a=a|0;var b=0,d=0;c[a>>2]=31972;c[a+24>>2]=1;c[a+28>>2]=1;c[a+32>>2]=0;c[a+4>>2]=0;c[a+4+4>>2]=0;c[a+4+8>>2]=0;c[a+4+12>>2]=0;c[a+4+16>>2]=0;c[a+36>>2]=2;c[a+40>>2]=1;c[a+44>>2]=2048;c[a+48>>2]=3;c[a+52>>2]=128;c[a+56>>2]=1;c[a+60>>2]=0;c[a+64>>2]=0;c[a+68>>2]=0;c[a+76>>2]=1;c[a+80>>2]=1;c[a+72>>2]=1;c[a+88>>2]=0;c[a+84>>2]=0;c[a+92>>2]=0;c[a+96>>2]=1;c[a+116>>2]=0;c[a+116+4>>2]=0;c[a+116+8>>2]=0;c[a+116+12>>2]=0;c[a+100>>2]=6;c[a+104>>2]=8;c[a+108>>2]=0;c[a+112>>2]=0;c[a+160>>2]=0;c[a+160+4>>2]=0;c[a+160+8>>2]=0;c[a+160+12>>2]=0;c[a+144>>2]=6;c[a+148>>2]=8;c[a+152>>2]=0;c[a+156>>2]=0;c[a+140>>2]=0;c[a+132>>2]=0;c[a+136>>2]=0;c[a+252>>2]=0;c[a+268>>2]=0;c[a+268+4>>2]=0;c[a+268+8>>2]=0;c[a+268+12>>2]=0;c[a+268+16>>2]=0;c[a+268+20>>2]=0;b=a+176|0;d=b+52|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(d|0));c[a+292>>2]=1;return}function Ata(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;i=b;return 0}function Bta(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+16|0;c[f+8>>2]=b;c[f+4>>2]=d;c[f>>2]=e;VGa(c[f+8>>2]|0,c[f+4>>2]|0)|0;LDa(c[f+8>>2]|0,520409);WDa(c[f+8>>2]|0,0,0);LDa(c[f+8>>2]|0,503729);LDa(c[f+8>>2]|0,c[f+4>>2]|0);$Da(c[f+8>>2]|0,-3);while(1){b=c[f+8>>2]|0;if(!(c[c[f>>2]>>2]|0))break;LDa(b,c[c[f>>2]>>2]|0);ODa(c[f+8>>2]|0,c[(c[f>>2]|0)+4>>2]|0,0);$Da(c[f+8>>2]|0,(a[c[c[f>>2]>>2]>>0]|0)==95?-5:-3);c[f>>2]=(c[f>>2]|0)+8}$Da(b,-3);lDa(c[f+8>>2]|0,-2);i=f;return}function Cta(a){a=a|0;var b=0;b=i;i=i+64|0;c[b+16>>2]=a;if(XDa(c[b+16>>2]|0,1)|0){LDa(c[b+16>>2]|0,520409);SDa(c[b+16>>2]|0,-2);if((qDa(c[b+16>>2]|0,-1)|0)==5){LDa(c[b+16>>2]|0,503729);SDa(c[b+16>>2]|0,-2);if(uDa(c[b+16>>2]|0,-1)|0){c[b>>2]=EDa(c[b+16>>2]|0,1)|0;rmb(b+24|0,617727,b)|0;a=c[b+16>>2]|0;c[b+8>>2]=BDa(c[b+16>>2]|0,-1,0)|0;c[b+8+4>>2]=b+24;NDa(a,519336,b+8|0)|0;c[b+20>>2]=1;a=c[b+20>>2]|0;i=b;return a|0}}}LDa(c[b+16>>2]|0,503735);kEa(c[b+16>>2]|0)|0;c[b+20>>2]=1;a=c[b+20>>2]|0;i=b;return a|0}function Dta(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;c[e+8>>2]=a;c[e+4>>2]=b;c[e>>2]=d;TDa(c[e+8>>2]|0,-1e4,c[e+4>>2]|0);LDa(c[e+8>>2]|0,c[e>>2]|0);PDa(c[e+8>>2]|0,1);$Da(c[e+8>>2]|0,-3);lDa(c[e+8>>2]|0,-2);i=e;return}function Eta(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d+4>>2]=a;c[d>>2]=b;if((qDa(c[d+4>>2]|0,c[d>>2]|0)|0)!=1){a=c[d+4>>2]|0;b=c[d>>2]|0;QGa(a,b,rDa(c[d+4>>2]|0,1)|0)|0}b=ADa(c[d+4>>2]|0,c[d>>2]|0)|0;i=d;return b|0}function Fta(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+80|0;c[e+16>>2]=a;c[e+12>>2]=b;c[e+8>>2]=d;c[e+4>>2]=Gta(c[e+16>>2]|0,c[e+12>>2]|0,c[e+8>>2]|0)|0;if(c[e+4>>2]|0){d=c[e+4>>2]|0;i=e;return d|0}c[e>>2]=c[e+12>>2];rmb(e+20|0,503784,e)|0;OGa(c[e+16>>2]|0,c[e+8>>2]|0,e+20|0)|0;d=c[e+4>>2]|0;i=e;return d|0}function Gta(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;c[e+8>>2]=a;c[e+4>>2]=b;c[e>>2]=d;d=WGa(c[e+8>>2]|0,c[e>>2]|0,c[e+4>>2]|0)|0;i=e;return d|0}function Hta(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+80|0;c[e+16>>2]=a;c[e+12>>2]=b;c[e+8>>2]=d;c[e+4>>2]=Ita(c[e+16>>2]|0,c[e+12>>2]|0,c[e+8>>2]|0)|0;if(c[e+4>>2]|0){d=c[e+4>>2]|0;i=e;return d|0}c[e>>2]=c[e+12>>2];rmb(e+20|0,503784,e)|0;OGa(c[e+16>>2]|0,c[e+8>>2]|0,e+20|0)|0;d=c[e+4>>2]|0;i=e;return d|0}function Ita(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;c[e+8>>2]=a;c[e+4>>2]=b;c[e>>2]=d;if(!(XDa(c[e+8>>2]|0,c[e>>2]|0)|0)){c[e+12>>2]=0;d=c[e+12>>2]|0;i=e;return d|0}LDa(c[e+8>>2]|0,c[e+4>>2]|0);UDa(c[e+8>>2]|0,-2);d=(qDa(c[e+8>>2]|0,-1)|0)==0;lDa(c[e+8>>2]|0,-3);if(d){c[e+12>>2]=0;d=c[e+12>>2]|0;i=e;return d|0}else{c[e+12>>2]=EDa(c[e+8>>2]|0,c[e>>2]|0)|0;d=c[e+12>>2]|0;i=e;return d|0}return 0}function Jta(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;c[e+8>>2]=a;c[e+4>>2]=b;c[e>>2]=d;TDa(c[e+8>>2]|0,-1e4,c[e+4>>2]|0);if((c[e>>2]|0)<0)c[e>>2]=(c[e>>2]|0)+-1;bEa(c[e+8>>2]|0,c[e>>2]|0)|0;i=e;return}function Kta(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;i=b;return 0}function Lta(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0.0;e=i;i=i+16|0;c[e+8>>2]=a;c[e+4>>2]=b;c[e>>2]=d;c[(c[e+8>>2]|0)+28>>2]=0;c[(c[e+8>>2]|0)+24>>2]=0;c[(c[e+8>>2]|0)+16>>2]=c[e+4>>2];c[(c[e+8>>2]|0)+20>>2]=c[e>>2];c[(c[e+8>>2]|0)+8>>2]=0;c[(c[e+8>>2]|0)+12>>2]=0;f=+cY();h[c[e+8>>2]>>3]=f;i=e;return}function Mta(a,b){a=a|0;b=b|0;var d=0,e=0.0;d=i;i=i+16|0;c[d+4>>2]=a;c[d>>2]=b;IDa(c[d+4>>2]|0,+((c[(c[d>>2]|0)+12>>2]|0)>>>0));IDa(c[d+4>>2]|0,+((c[(c[d>>2]|0)+8>>2]|0)>>>0));b=c[d+4>>2]|0;e=+cY();IDa(b,e-+h[c[d>>2]>>3]);i=d;return 3}function Nta(a,b){a=a|0;b=b|0;var d=0,e=0.0;d=i;i=i+16|0;c[d+4>>2]=a;c[d>>2]=b;b=~~+$Ga(c[d+4>>2]|0,2,+((c[(c[d>>2]|0)+12>>2]|0)>>>0));c[(c[d>>2]|0)+12>>2]=b;b=~~+$Ga(c[d+4>>2]|0,3,+((c[(c[d>>2]|0)+8>>2]|0)>>>0));c[(c[d>>2]|0)+8>>2]=b;if(!(tDa(c[d+4>>2]|0,4)|0)){b=c[d+4>>2]|0;IDa(b,1.0);i=d;return 1}e=+cY();e=e-+yDa(c[d+4>>2]|0,4);h[c[d>>2]>>3]=e;b=c[d+4>>2]|0;IDa(b,1.0);i=d;return 1}function Ota(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+48|0;c[d+36>>2]=a;c[d+32>>2]=b;c[d+28>>2]=kDa(c[d+36>>2]|0)|0;c[d+24>>2]=0;c[d+20>>2]=0;c[d+16>>2]=0;c[d+12>>2]=UGa(c[d+36>>2]|0,2,d+20|0)|0;c[d+8>>2]=~~+$Ga(c[d+36>>2]|0,3,1.0);c[d+4>>2]=~~+$Ga(c[d+36>>2]|0,4,-1.0);c[d>>2]=eY(c[(c[d+32>>2]|0)+20>>2]|0)|0;if((c[d+8>>2]|0)<0)c[d+8>>2]=(c[d+20>>2]|0)+(c[d+8>>2]|0)+1;if((c[d+4>>2]|0)<0)c[d+4>>2]=(c[d+20>>2]|0)+(c[d+4>>2]|0)+1;if((c[d+8>>2]|0)<1)c[d+8>>2]=1;if((c[d+4>>2]|0)>(c[d+20>>2]|0))c[d+4>>2]=c[d+20>>2];if((c[d+8>>2]|0)<=(c[d+4>>2]|0))c[d+24>>2]=Pta(c[d+32>>2]|0,(c[d+12>>2]|0)+(c[d+8>>2]|0)+-1|0,(c[d+4>>2]|0)-(c[d+8>>2]|0)+1|0,d+16|0)|0;a=c[d+36>>2]|0;if(c[d+24>>2]|0){HDa(a);a=c[d+36>>2]|0;LDa(a,Xi[c[(c[(c[d+32>>2]|0)+16>>2]|0)+12>>2]&511](c[c[(c[d+32>>2]|0)+16>>2]>>2]|0,c[d+24>>2]|0)|0);IDa(c[d+36>>2]|0,+(((c[d+16>>2]|0)+(c[d+8>>2]|0)-1|0)>>>0));a=c[d+36>>2]|0;a=kDa(a)|0;b=c[d+28>>2]|0;b=a-b|0;i=d;return b|0}else{IDa(a,+(((c[d+16>>2]|0)+(c[d+8>>2]|0)-1|0)>>>0));HDa(c[d+36>>2]|0);HDa(c[d+36>>2]|0);a=c[d+36>>2]|0;a=kDa(a)|0;b=c[d+28>>2]|0;b=a-b|0;i=d;return b|0}return 0}function Pta(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+48|0;c[f+36>>2]=a;c[f+32>>2]=b;c[f+28>>2]=d;c[f+24>>2]=e;c[f+20>>2]=c[(c[f+36>>2]|0)+16>>2];c[f+16>>2]=c[(c[f+36>>2]|0)+20>>2];c[f+12>>2]=0;c[f+8>>2]=0;while(1){if(!((c[f+12>>2]|0)>>>0<(c[f+28>>2]|0)>>>0?(c[f+8>>2]|0)==0:0))break;if(((c[f+28>>2]|0)-(c[f+12>>2]|0)|0)>>>0<=8192)a=(c[f+28>>2]|0)-(c[f+12>>2]|0)|0;else a=8192;c[f>>2]=a;c[f+8>>2]=Ci[c[(c[f+20>>2]|0)+4>>2]&127](c[c[f+20>>2]>>2]|0,(c[f+32>>2]|0)+(c[f+12>>2]|0)|0,c[f>>2]|0,f+4|0,c[f+16>>2]|0)|0;c[f+12>>2]=(c[f+12>>2]|0)+(c[f+4>>2]|0)}c[c[f+24>>2]>>2]=c[f+12>>2];e=(c[f+36>>2]|0)+8|0;c[e>>2]=(c[e>>2]|0)+(c[f+12>>2]|0);i=f;return c[f+8>>2]|0}function Qta(b,d){b=b|0;d=d|0;var e=0;e=i;i=i+1072|0;c[e+1064>>2]=b;c[e+1060>>2]=d;c[e+1056>>2]=0;c[e+1052>>2]=kDa(c[e+1064>>2]|0)|0;c[e+8>>2]=TGa(c[e+1064>>2]|0,3,1279070,e+12|0)|0;c[e+4>>2]=eY(c[(c[e+1060>>2]|0)+20>>2]|0)|0;jHa(c[e+1064>>2]|0,e+16|0);kHa(e+16|0,c[e+8>>2]|0,c[e+12>>2]|0);do if(tDa(c[e+1064>>2]|0,2)|0){b=c[e+1060>>2]|0;d=~~+yDa(c[e+1064>>2]|0,2)>>>0;c[e+1056>>2]=Wta(b,d-(c[e+12>>2]|0)|0,e+16|0)|0}else{c[e>>2]=TGa(c[e+1064>>2]|0,2,503799,0)|0;if((a[c[e>>2]>>0]|0)==42)if((a[(c[e>>2]|0)+1>>0]|0)==108){c[e+1056>>2]=Rta(c[e+1060>>2]|0,e+16|0)|0;break}if((a[c[e>>2]>>0]|0)==42)if((a[(c[e>>2]|0)+1>>0]|0)==97){c[e+1056>>2]=Vta(c[e+1060>>2]|0,e+16|0)|0;break}OGa(c[e+1064>>2]|0,2,503802)|0}while(0);d=(c[e+1056>>2]|0)!=0;mHa(e+16|0);b=c[e+1064>>2]|0;if(d){LDa(b,Xi[c[(c[(c[e+1060>>2]|0)+16>>2]|0)+12>>2]&511](c[c[(c[e+1060>>2]|0)+16>>2]>>2]|0,c[e+1056>>2]|0)|0);pDa(c[e+1064>>2]|0,-2);HDa(c[e+1064>>2]|0);oDa(c[e+1064>>2]|0,-4);b=c[e+1064>>2]|0;b=kDa(b)|0;d=c[e+1052>>2]|0;d=b-d|0;i=e;return d|0}else{HDa(b);HDa(c[e+1064>>2]|0);b=c[e+1064>>2]|0;b=kDa(b)|0;d=c[e+1052>>2]|0;d=b-d|0;i=e;return d|0}return 0}function Rta(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+32|0;c[g+20>>2]=b;c[g+16>>2]=d;c[g+12>>2]=0;while(1){if(c[g+12>>2]|0){f=15;break}c[g+12>>2]=Sta(c[g+20>>2]|0,g,g+8|0)|0;c[g+4>>2]=0;while(1){if((c[g+4>>2]|0)>>>0<(c[g+8>>2]|0)>>>0)d=(a[(c[g>>2]|0)+(c[g+4>>2]|0)>>0]|0)!=10;else d=0;e=c[g+4>>2]|0;if(!d)break;if((a[(c[g>>2]|0)+e>>0]|0)!=13){if((c[c[g+16>>2]>>2]|0)>>>0>=((c[g+16>>2]|0)+12+1024|0)>>>0)iHa(c[g+16>>2]|0)|0;b=a[(c[g>>2]|0)+(c[g+4>>2]|0)>>0]|0;d=c[g+16>>2]|0;e=c[d>>2]|0;c[d>>2]=e+1;a[e>>0]=b}c[g+4>>2]=(c[g+4>>2]|0)+1}d=c[g+20>>2]|0;b=c[g+4>>2]|0;if(e>>>0<(c[g+8>>2]|0)>>>0)break;Uta(d,b)}if((f|0)==15){f=c[g+12>>2]|0;i=g;return f|0}Uta(d,b+1|0);f=c[g+12>>2]|0;i=g;return f|0}function Sta(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+32|0;c[e+24>>2]=a;c[e+20>>2]=b;c[e+16>>2]=d;c[e+12>>2]=0;c[e+8>>2]=c[(c[e+24>>2]|0)+16>>2];c[e+4>>2]=c[(c[e+24>>2]|0)+20>>2];if(Tta(c[e+24>>2]|0)|0){c[e+12>>2]=Ci[c[(c[e+8>>2]|0)+8>>2]&127](c[c[e+8>>2]>>2]|0,(c[e+24>>2]|0)+32|0,8192,e,c[e+4>>2]|0)|0;c[(c[e+24>>2]|0)+24>>2]=0;c[(c[e+24>>2]|0)+28>>2]=c[e>>2]}c[c[e+16>>2]>>2]=(c[(c[e+24>>2]|0)+28>>2]|0)-(c[(c[e+24>>2]|0)+24>>2]|0);c[c[e+20>>2]>>2]=(c[e+24>>2]|0)+32+(c[(c[e+24>>2]|0)+24>>2]|0);i=e;return c[e+12>>2]|0}function Tta(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;i=b;return (c[(c[b>>2]|0)+24>>2]|0)>>>0>=(c[(c[b>>2]|0)+28>>2]|0)>>>0|0}function Uta(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d+4>>2]=a;c[d>>2]=b;b=(c[d+4>>2]|0)+12|0;c[b>>2]=(c[b>>2]|0)+(c[d>>2]|0);b=(c[d+4>>2]|0)+24|0;c[b>>2]=(c[b>>2]|0)+(c[d>>2]|0);if(!(Tta(c[d+4>>2]|0)|0)){i=d;return}c[(c[d+4>>2]|0)+28>>2]=0;c[(c[d+4>>2]|0)+24>>2]=0;i=d;return}function Vta(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+32|0;c[d+20>>2]=a;c[d+16>>2]=b;c[d+12>>2]=0;c[d+8>>2]=0;while(1){if(c[d+12>>2]|0)break;c[d+12>>2]=Sta(c[d+20>>2]|0,d+4|0,d)|0;c[d+8>>2]=(c[d+8>>2]|0)+(c[d>>2]|0);kHa(c[d+16>>2]|0,c[d+4>>2]|0,c[d>>2]|0);Uta(c[d+20>>2]|0,c[d>>2]|0)}if((c[d+12>>2]|0)!=-2){c[d+24>>2]=c[d+12>>2];a=c[d+24>>2]|0;i=d;return a|0}if((c[d+8>>2]|0)>>>0>0){c[d+24>>2]=0;a=c[d+24>>2]|0;i=d;return a|0}else{c[d+24>>2]=-2;a=c[d+24>>2]|0;i=d;return a|0}return 0}function Wta(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+32|0;c[e+24>>2]=a;c[e+20>>2]=b;c[e+16>>2]=d;c[e+12>>2]=0;c[e+8>>2]=0;if(c[e+12>>2]|0){b=c[e+12>>2]|0;i=e;return b|0}do{c[e+12>>2]=Sta(c[e+24>>2]|0,e,e+4|0)|0;if((c[e+4>>2]|0)>>>0<((c[e+20>>2]|0)-(c[e+8>>2]|0)|0)>>>0)d=c[e+4>>2]|0;else d=(c[e+20>>2]|0)-(c[e+8>>2]|0)|0;c[e+4>>2]=d;kHa(c[e+16>>2]|0,c[e>>2]|0,c[e+4>>2]|0);Uta(c[e+24>>2]|0,c[e+4>>2]|0);c[e+8>>2]=(c[e+8>>2]|0)+(c[e+4>>2]|0)}while((c[e+12>>2]|0)==0?(c[e+8>>2]|0)>>>0<(c[e+20>>2]|0)>>>0:0);b=c[e+12>>2]|0;i=e;return b|0}function Xta(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;Os(c[b>>2]|0,0,33588);i=b;return 0}function Yta(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;lDa(c[b>>2]|0,1);if(!(qDa(c[b>>2]|0,1)|0))ODa(c[b>>2]|0,1498,0);ODa(c[b>>2]|0,1499,1);i=b;return 1}function Zta(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;i=b;return 0}function _ta(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;c[b>>2]=a;d=(ADa(c[b>>2]|0,1)|0)!=0;a=c[b>>2]|0;if(d){c[b+4>>2]=kDa(a)|0;d=c[b+4>>2]|0;i=b;return d|0}else{pDa(a,-10003);eEa(c[b>>2]|0,0,0,0)|0;lDa(c[b>>2]|0,2);$ta(c[b>>2]|0);kEa(c[b>>2]|0)|0;c[b+4>>2]=0;d=c[b+4>>2]|0;i=b;return d|0}return 0}function $ta(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;WDa(c[b>>2]|0,0,0);IDa(c[b>>2]|0,1.0);pDa(c[b>>2]|0,-3);ZDa(c[b>>2]|0,-3);nDa(c[b>>2]|0,-2);lDa(c[b>>2]|0,-2);i=b;return}function aua(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;ODa(c[b>>2]|0,1500,1);i=b;return 1}function bua(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;c[b>>2]=a;pDa(c[b>>2]|0,-10003);nDa(c[b>>2]|0,1);d=c[b>>2]|0;d=(eEa(d,(kDa(c[b>>2]|0)|0)-1|0,-1,0)|0)!=0;a=c[b>>2]|0;do if(d)if(cua(a)|0){c[b+4>>2]=2;break}else{kEa(c[b>>2]|0)|0;c[b+4>>2]=0;break}else c[b+4>>2]=kDa(a)|0;while(0);i=b;return c[b+4>>2]|0}function cua(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;if((qDa(c[b>>2]|0,-1)|0)==5){IDa(c[b>>2]|0,1.0);SDa(c[b>>2]|0,-2);HDa(c[b>>2]|0);nDa(c[b>>2]|0,-2);c[b+4>>2]=1;a=c[b+4>>2]|0;i=b;return a|0}else{c[b+4>>2]=0;a=c[b+4>>2]|0;i=b;return a|0}return 0}function dua(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;LDa(c[b>>2]|0,503841);WDa(c[b>>2]|0,0,0);Os(c[b>>2]|0,0,33612);ZDa(c[b>>2]|0,-3);i=b;return 0}function eua(a){a=a|0;var b=0;b=i;i=i+32|0;c[b+12>>2]=a;c[b+8>>2]=UGa(c[b+12>>2]|0,1,0)|0;c[b+4>>2]=0;c[b>>2]=fua(c[b+8>>2]|0,b+4|0)|0;a=c[b+12>>2]|0;if(c[b>>2]|0){HDa(a);a=c[b+12>>2]|0;LDa(a,TY(c[b>>2]|0)|0);c[b+16>>2]=2;a=c[b+16>>2]|0;i=b;return a|0}else{c[b+20>>2]=c[c[c[(c[b+4>>2]|0)+16>>2]>>2]>>2];LDa(a,Vob(b+20|0)|0);gua(c[b+12>>2]|0,c[b+4>>2]|0);c[b+16>>2]=2;a=c[b+16>>2]|0;i=b;return a|0}return 0}function fua(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d+8>>2]=a;c[d+4>>2]=b;if(Uob(c[d+8>>2]|0,d)|0){c[d+12>>2]=RY(d,4,c[d+4>>2]|0)|0;b=c[d+12>>2]|0;i=d;return b|0}else{c[d+12>>2]=SY(c[d+8>>2]|0,c[d+4>>2]|0)|0;b=c[d+12>>2]|0;i=d;return b|0}return 0}function gua(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+32|0;c[d+20>>2]=a;c[d+16>>2]=b;WDa(c[d+20>>2]|0,0,0);c[d>>2]=kDa(c[d+20>>2]|0)|0;LDa(c[d+20>>2]|0,607569);LDa(c[d+20>>2]|0,c[c[d+16>>2]>>2]|0);ZDa(c[d+20>>2]|0,c[d>>2]|0);LDa(c[d+20>>2]|0,503850);LDa(c[d+20>>2]|0,503853);c[d+4>>2]=1;c[d+12>>2]=c[(c[d+16>>2]|0)+4>>2];WDa(c[d+20>>2]|0,0,0);a:do if(c[d+12>>2]|0)while(1){if(!(c[c[d+12>>2]>>2]|0))break a;IDa(c[d+20>>2]|0,+(c[d+4>>2]|0));LDa(c[d+20>>2]|0,c[c[d+12>>2]>>2]|0);ZDa(c[d+20>>2]|0,-3);c[d+4>>2]=(c[d+4>>2]|0)+1;c[d+12>>2]=(c[d+12>>2]|0)+4}while(0);ZDa(c[d+20>>2]|0,c[d>>2]|0);c[d+4>>2]=1;WDa(c[d+20>>2]|0,0,0);c[d+8>>2]=c[(c[d+16>>2]|0)+16>>2];if(!(c[d+8>>2]|0)){a=c[d+20>>2]|0;b=c[d>>2]|0;ZDa(a,b);i=d;return}while(1){if(!(c[c[d+8>>2]>>2]|0))break;IDa(c[d+20>>2]|0,+(c[d+4>>2]|0));b=c[d+20>>2]|0;c[d+24>>2]=c[c[c[d+8>>2]>>2]>>2];LDa(b,Vob(d+24|0)|0);ZDa(c[d+20>>2]|0,-3);c[d+4>>2]=(c[d+4>>2]|0)+1;c[d+8>>2]=(c[d+8>>2]|0)+4}a=c[d+20>>2]|0;b=c[d>>2]|0;ZDa(a,b);i=d;return}function hua(a){a=a|0;var b=0;b=i;i=i+32|0;c[b+12>>2]=a;c[b+8>>2]=UGa(c[b+12>>2]|0,1,0)|0;c[b+4>>2]=0;c[b>>2]=fua(c[b+8>>2]|0,b+4|0)|0;a=c[b+12>>2]|0;if(c[b>>2]|0){HDa(a);a=c[b+12>>2]|0;LDa(a,TY(c[b>>2]|0)|0);c[b+16>>2]=2;a=c[b+16>>2]|0;i=b;return a|0}else{LDa(a,c[c[b+4>>2]>>2]|0);gua(c[b+12>>2]|0,c[b+4>>2]|0);c[b+16>>2]=2;a=c[b+16>>2]|0;i=b;return a|0}return 0}function iua(b){b=b|0;var d=0,e=0;d=i;i=i+272|0;c[d>>2]=b;a[d+8+256>>0]=0;e=(Spb(d+8|0,256)|0)<0;b=c[d>>2]|0;if(e){HDa(b);LDa(c[d>>2]|0,503882);c[d+4>>2]=2;e=c[d+4>>2]|0;i=d;return e|0}else{LDa(b,d+8|0);c[d+4>>2]=1;e=c[d+4>>2]|0;i=d;return e|0}return 0}function jua(a,d){a=a|0;d=d|0;var e=0;e=i;i=i+48|0;c[e+28>>2]=a;c[e+24>>2]=d;c[e>>2]=16;d=(Nob(c[c[e+24>>2]>>2]|0,e+8|0,e)|0)<0;a=c[e+28>>2]|0;if(d){HDa(a);LDa(c[e+28>>2]|0,503901);i=e;return 2}else{c[e+32>>2]=c[e+8+4>>2];LDa(a,Vob(e+32|0)|0);d=c[e+28>>2]|0;IDa(d,+((Xob(b[e+8+2>>1]|0)|0)&65535));i=e;return 2}return 0}function kua(a,d){a=a|0;d=d|0;var e=0;e=i;i=i+48|0;c[e+28>>2]=a;c[e+24>>2]=d;c[e>>2]=16;d=(Oob(c[c[e+24>>2]>>2]|0,e+8|0,e)|0)<0;a=c[e+28>>2]|0;if(d){HDa(a);LDa(c[e+28>>2]|0,503920);i=e;return 2}else{c[e+32>>2]=c[e+8+4>>2];LDa(a,Vob(e+32|0)|0);d=c[e+28>>2]|0;IDa(d,+((Xob(b[e+8+2>>1]|0)|0)&65535));i=e;return 2}return 0}function lua(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d+4>>2]=a;c[d>>2]=b;b=UY(GY(c[d+4>>2]|0,2,c[d>>2]|0,0)|0)|0;i=d;return b|0}function mua(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0;g=i;i=i+64|0;c[g+40>>2]=a;c[g+36>>2]=d;b[g+48>>1]=e;c[g+32>>2]=f;c[g+16>>2]=0;c[g+16+4>>2]=0;c[g+16+8>>2]=0;c[g+16+12>>2]=0;b[g+16>>1]=2;b[g+16+2>>1]=Hob(b[g+48>>1]|0)|0;do if(Imb(c[g+36>>2]|0,504178)|0){if(!(Uob(c[g+36>>2]|0,g+16+4|0)|0)){c[g+4>>2]=0;c[g+8>>2]=SY(c[g+36>>2]|0,g+4|0)|0;if(!(c[g+8>>2]|0)){c[g>>2]=c[(c[g+4>>2]|0)+16>>2];c[g+16+4>>2]=c[c[c[g>>2]>>2]>>2];break}c[g+44>>2]=TY(c[g+8>>2]|0)|0;f=c[g+44>>2]|0;i=g;return f|0}}else b[g+16>>1]=0;while(0);c[g+8>>2]=LY(c[g+40>>2]|0,g+16|0,16,c[g+32>>2]|0)|0;c[g+44>>2]=UY(c[g+8>>2]|0)|0;f=c[g+44>>2]|0;i=g;return f|0}function nua(a,d,e){a=a|0;d=d|0;e=e|0;var f=0;f=i;i=i+48|0;c[f+36>>2]=a;c[f+32>>2]=d;b[f+44>>1]=e;c[f+16>>2]=0;c[f+16+4>>2]=0;c[f+16+8>>2]=0;c[f+16+12>>2]=0;c[f+16+4>>2]=Iob(0)|0;b[f+16+2>>1]=Hob(b[f+44>>1]|0)|0;b[f+16>>1]=2;do if(Imb(c[f+32>>2]|0,504178)|0)if(!(Uob(c[f+32>>2]|0,f+16+4|0)|0)){c[f+4>>2]=0;c[f+8>>2]=SY(c[f+32>>2]|0,f+4|0)|0;if(!(c[f+8>>2]|0)){c[f>>2]=c[(c[f+4>>2]|0)+16>>2];c[f+16+4>>2]=c[c[c[f>>2]>>2]>>2];break}c[f+40>>2]=TY(c[f+8>>2]|0)|0;a=c[f+40>>2]|0;i=f;return a|0}while(0);c[f+8>>2]=HY(c[f+36>>2]|0,f+16|0,16)|0;if(c[f+8>>2]|0)DY(c[f+36>>2]|0);c[f+40>>2]=UY(c[f+8>>2]|0)|0;a=c[f+40>>2]|0;i=f;return a|0}function oua(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=i;i=i+32|0;c[g+16>>2]=a;c[g+12>>2]=b;c[g+8>>2]=d;c[g+4>>2]=e;c[g>>2]=f;c[(c[g+16>>2]|0)+4>>2]=c[g+12>>2];c[(c[g+16>>2]|0)+8>>2]=c[g+8>>2];c[(c[g+16>>2]|0)+12>>2]=c[g+4>>2];c[c[g+16>>2]>>2]=c[g>>2];i=g;return}function pua(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;switch(c[b>>2]|0){case 0:{c[b+4>>2]=0;break}case -2:{c[b+4>>2]=503939;break}case -1:{c[b+4>>2]=504019;break}default:c[b+4>>2]=514668}i=b;return c[b+4>>2]|0}function qua(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+80|0;c[e+16>>2]=a;c[e+12>>2]=b;c[e+8>>2]=d;c[e+4>>2]=UGa(c[e+16>>2]|0,2,0)|0;while(1){if(c[c[e+12>>2]>>2]|0)b=(Imb(c[e+4>>2]|0,c[c[e+12>>2]>>2]|0)|0)!=0;else b=0;a=c[e+12>>2]|0;if(!b)break;c[e+12>>2]=a+8}if(!(c[a+4>>2]|0)){c[e>>2]=c[e+4>>2];rmb(e+20|0,503946,e)|0;OGa(c[e+16>>2]|0,2,e+20|0)|0}d=Xi[c[(c[e+12>>2]|0)+4>>2]&511](c[e+16>>2]|0,c[e+8>>2]|0)|0;i=e;return d|0}function rua(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d+4>>2]=a;c[d>>2]=b;b=sua(c[d+4>>2]|0,c[d>>2]|0,1,2)|0;i=d;return b|0}function sua(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+32|0;c[f+16>>2]=a;c[f+12>>2]=b;c[f+8>>2]=d;c[f+4>>2]=e;c[f>>2]=Eta(c[f+16>>2]|0,3)|0;b=tua(c[f+16>>2]|0,c[f+12>>2]|0,c[f+8>>2]|0,c[f+4>>2]|0,f,4)|0;i=f;return b|0}function tua(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+32|0;c[h+20>>2]=a;c[h+16>>2]=b;c[h+12>>2]=d;c[h+8>>2]=e;c[h+4>>2]=f;c[h>>2]=g;f=(Job(c[c[h+16>>2]>>2]|0,c[h+12>>2]|0,c[h+8>>2]|0,c[h+4>>2]|0,c[h>>2]|0)|0)<0;a=c[h+20>>2]|0;if(f){HDa(a);LDa(c[h+20>>2]|0,503973);c[h+24>>2]=2;f=c[h+24>>2]|0;i=h;return f|0}else{IDa(a,1.0);c[h+24>>2]=1;f=c[h+24>>2]|0;i=h;return f|0}return 0}function uua(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d+4>>2]=a;c[d>>2]=b;b=sua(c[d+4>>2]|0,c[d>>2]|0,6,1)|0;i=d;return b|0}function vua(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d+4>>2]=a;c[d>>2]=b;b=sua(c[d+4>>2]|0,c[d>>2]|0,1,9)|0;i=d;return b|0}function wua(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d+4>>2]=a;c[d>>2]=b;b=sua(c[d+4>>2]|0,c[d>>2]|0,1,5)|0;i=d;return b|0}function xua(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d+4>>2]=a;c[d>>2]=b;b=sua(c[d+4>>2]|0,c[d>>2]|0,1,6)|0;i=d;return b|0}function yua(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d+4>>2]=a;c[d>>2]=b;b=sua(c[d+4>>2]|0,c[d>>2]|0,0,34)|0;i=d;return b|0}function zua(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d+12>>2]=a;c[d+8>>2]=b;if((qDa(c[d+12>>2]|0,3)|0)!=5){b=c[d+12>>2]|0;QGa(b,3,rDa(c[d+12>>2]|0,5)|0)|0}LDa(c[d+12>>2]|0,523707);SDa(c[d+12>>2]|0,3);if((qDa(c[d+12>>2]|0,-1)|0)!=1)OGa(c[d+12>>2]|0,3,503991)|0;c[d>>2]=(ADa(c[d+12>>2]|0,-1)|0)&65535;LDa(c[d+12>>2]|0,504019);SDa(c[d+12>>2]|0,3);if(!(tDa(c[d+12>>2]|0,-1)|0))OGa(c[d+12>>2]|0,3,504027)|0;c[d+4>>2]=~~+yDa(c[d+12>>2]|0,-1)&65535;b=tua(c[d+12>>2]|0,c[d+8>>2]|0,1,13,d,8)|0;i=d;return b|0}function Aua(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d+8>>2]=a;c[d+4>>2]=b;c[d>>2]=~~+_Ga(c[d+8>>2]|0,3);b=tua(c[d+8>>2]|0,c[d+4>>2]|0,1,13,d,4)|0;i=d;return b|0}function Bua(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d+4>>2]=a;c[d>>2]=b;b=Cua(c[d+4>>2]|0,c[d>>2]|0,0,35)|0;i=d;return b|0}function Cua(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+32|0;c[f+20>>2]=a;c[f+16>>2]=b;c[f+12>>2]=d;c[f+8>>2]=e;if((qDa(c[f+20>>2]|0,3)|0)!=5){b=c[f+20>>2]|0;QGa(b,3,rDa(c[f+20>>2]|0,5)|0)|0}LDa(c[f+20>>2]|0,504059);SDa(c[f+20>>2]|0,3);if(!(uDa(c[f+20>>2]|0,-1)|0))OGa(c[f+20>>2]|0,3,504069)|0;if(!(Uob(BDa(c[f+20>>2]|0,-1,0)|0,f)|0))OGa(c[f+20>>2]|0,3,504103)|0;LDa(c[f+20>>2]|0,504134);SDa(c[f+20>>2]|0,3);if(!(uDa(c[f+20>>2]|0,-1)|0))OGa(c[f+20>>2]|0,3,504144)|0;c[f+4>>2]=Iob(0)|0;if(Imb(BDa(c[f+20>>2]|0,-1,0)|0,504178)|0)if(!(Uob(BDa(c[f+20>>2]|0,-1,0)|0,f+4|0)|0))OGa(c[f+20>>2]|0,3,504180)|0;b=tua(c[f+20>>2]|0,c[f+16>>2]|0,c[f+12>>2]|0,c[f+8>>2]|0,f,8)|0;i=f;return b|0}function Dua(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d+4>>2]=a;c[d>>2]=b;b=Cua(c[d+4>>2]|0,c[d>>2]|0,0,36)|0;i=d;return b|0}function Eua(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+16|0;c[e>>2]=((d|0)/4|0)*3;n=_Ab((d|0)<-3?-1:((d|0)/4|0)*3|0)|0;c[p>>2]=0;if((d|0)<0){i=p;return n|0}else{m=n;e=0}a:while(1){l=0;k=0;while(1){if((e|0)>(d|0))o=13;else{do{j=e;e=e+1|0;f=a[b+j>>0]|0;if((f+-43&255)>79)f=0;else f=a[504211+((f<<24>>24)+-43)>>0]|0;if(!((f&255)<<24>>24))h=0;else h=(f|0)==36?0:f+195&255;g=h<<24>>24==0}while(g&(j|0)<(d|0));if((j|0)<(d|0)){f=k+1|0;if(!g)a[p+l>>0]=(h&255)+255}else o=13}if((o|0)==13){o=0;a[p+l>>0]=0;f=k}if(!((l|0)>2|(e|0)>(d|0))){l=l+1|0;k=f;continue}if(f|0){g=c[p>>2]|0;a[p+4>>0]=g>>>8<<24>>24>>>4|g<<2;a[p+4+1>>0]=g<<8>>24>>>2|g>>>8<<4;a[p+4+2>>0]=g<<8>>24<<6|g>>>24;if((f|0)>1){h=f;j=e;break}}if((e|0)>(d|0)){o=20;break a}else{l=0;k=0}}e=m+1|0;a[m>>0]=g>>>8<<24>>24>>>4|g<<2;if((h+-1|0)>1){g=1;while(1){f=e+1|0;a[e>>0]=a[p+4+g>>0]|0;g=g+1|0;if((g|0)>=(h+-1|0)){e=f;break}else e=f}}if((j|0)>(d|0)){o=20;break}else{m=e;e=j}}if((o|0)==20){i=p;return n|0}return 0}function Fua(a){a=a|0;var b=0,d=0;b=a;d=b+60|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(d|0));g[a+60>>2]=1.0;g[a+40>>2]=1.0;g[a+20>>2]=1.0;g[a>>2]=1.0;return}function Gua(a){a=a|0;var b=0,d=0;b=a;d=b+60|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(d|0));g[a+60>>2]=1.0;g[a+40>>2]=1.0;g[a+20>>2]=1.0;g[a>>2]=1.0;return}function Hua(a,b,d,e,f,h,i,j,k,l){a=a|0;b=+b;d=+d;e=+e;f=+f;h=+h;i=+i;j=+j;k=+k;l=+l;var m=0,n=0,o=0.0;m=a;n=m+60|0;do{c[m>>2]=0;m=m+4|0}while((m|0)<(n|0));o=+Q(+e);e=+R(+e);g[a+60>>2]=1.0;g[a+40>>2]=1.0;g[a>>2]=o*f-e*l*h;g[a+4>>2]=e*f+o*l*h;g[a+16>>2]=o*k*f-e*h;g[a+20>>2]=o*h+e*k*f;g[a+48>>2]=b-(o*f-e*l*h)*i-(o*k*f-e*h)*j;g[a+52>>2]=d-(e*f+o*l*h)*i-(o*h+e*k*f)*j;return}function Iua(a){a=a|0;return}function Jua(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0;e=a;f=e+60|0;do{c[e>>2]=0;e=e+4|0}while((e|0)<(f|0));g[a+60>>2]=1.0;g[a+40>>2]=1.0;g[a+20>>2]=1.0;A=+g[b>>2];h=+g[d>>2];z=+g[b+16>>2];j=+g[d+4>>2];y=+g[b+32>>2];l=+g[d+8>>2];x=+g[b+48>>2];n=+g[d+12>>2];g[a>>2]=A*h+z*j+y*l+x*n;p=+g[d+16>>2];q=+g[d+20>>2];r=+g[d+24>>2];s=+g[d+28>>2];g[a+16>>2]=A*p+z*q+y*r+x*s;t=+g[d+32>>2];u=+g[d+36>>2];v=+g[d+40>>2];w=+g[d+44>>2];g[a+32>>2]=A*t+z*u+y*v+x*w;o=+g[d+48>>2];m=+g[d+52>>2];k=+g[d+56>>2];i=+g[d+60>>2];g[a+48>>2]=A*o+z*m+y*k+x*i;x=+g[b+4>>2];y=+g[b+20>>2];z=+g[b+36>>2];A=+g[b+52>>2];g[a+4>>2]=x*h+y*j+z*l+A*n;g[a+20>>2]=x*p+y*q+z*r+A*s;g[a+36>>2]=x*t+y*u+z*v+A*w;g[a+52>>2]=x*o+y*m+z*k+A*i;i=+g[b+8>>2];A=+g[d>>2];k=+g[b+24>>2];z=+g[d+4>>2];m=+g[b+40>>2];y=+g[d+8>>2];o=+g[b+56>>2];x=+g[d+12>>2];g[a+8>>2]=i*A+k*z+m*y+o*x;w=+g[d+16>>2];v=+g[d+20>>2];u=+g[d+24>>2];t=+g[d+28>>2];g[a+24>>2]=i*w+k*v+m*u+o*t;s=+g[d+32>>2];r=+g[d+36>>2];q=+g[d+40>>2];p=+g[d+44>>2];g[a+40>>2]=i*s+k*r+m*q+o*p;n=+g[d+48>>2];l=+g[d+52>>2];j=+g[d+56>>2];h=+g[d+60>>2];g[a+56>>2]=i*n+k*l+m*j+o*h;o=+g[b+12>>2];m=+g[b+28>>2];k=+g[b+44>>2];i=+g[b+60>>2];g[a+12>>2]=o*A+m*z+k*y+i*x;g[a+28>>2]=o*w+m*v+k*u+i*t;g[a+44>>2]=o*s+m*r+k*q+i*p;g[a+60>>2]=o*n+m*l+k*j+i*h;return}function Kua(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+64|0;Jua(e,a,b);b=e;d=a+64|0;do{c[a>>2]=c[b>>2];a=a+4|0;b=b+4|0}while((a|0)<(d|0));i=e;return}function Lua(a){a=a|0;return a|0}function Mua(a,b,d){a=a|0;b=+b;d=+d;var e=0,f=0;e=a;f=e+60|0;do{c[e>>2]=0;e=e+4|0}while((e|0)<(f|0));g[a+60>>2]=1.0;g[a+40>>2]=1.0;g[a+20>>2]=1.0;g[a>>2]=1.0;g[a+48>>2]=b;g[a+52>>2]=d;return}function Nua(a,b,d){a=a|0;b=+b;d=+d;var e=0,f=0,h=0;f=i;i=i+128|0;e=f;h=e+60|0;do{c[e>>2]=0;e=e+4|0}while((e|0)<(h|0));g[f+60>>2]=1.0;g[f+40>>2]=1.0;g[f+20>>2]=1.0;g[f>>2]=1.0;g[f+48>>2]=b;g[f+52>>2]=d;Jua(f+64|0,a,f);e=a;a=f+64|0;h=e+64|0;do{c[e>>2]=c[a>>2];e=e+4|0;a=a+4|0}while((e|0)<(h|0));i=f;return}function Oua(a,b){a=a|0;b=+b;var d=0,e=0,f=0,h=0.0;e=i;i=i+128|0;d=e;f=d+60|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(f|0));g[e+60>>2]=1.0;g[e+40>>2]=1.0;h=+Q(+b);b=+R(+b);g[e>>2]=h;g[e+16>>2]=-b;g[e+4>>2]=b;g[e+20>>2]=h;Jua(e+64|0,a,e);d=a;a=e+64|0;f=d+64|0;do{c[d>>2]=c[a>>2];d=d+4|0;a=a+4|0}while((d|0)<(f|0));i=e;return}function Pua(a,b,d){a=a|0;b=+b;d=+d;var e=0,f=0,h=0;f=i;i=i+128|0;e=f;h=e+60|0;do{c[e>>2]=0;e=e+4|0}while((e|0)<(h|0));g[f+60>>2]=1.0;g[f+40>>2]=1.0;g[f>>2]=b;g[f+20>>2]=d;Jua(f+64|0,a,f);e=a;a=f+64|0;h=e+64|0;do{c[e>>2]=c[a>>2];e=e+4|0;a=a+4|0}while((e|0)<(h|0));i=f;return}function Qua(a,b,d){a=a|0;b=+b;d=+d;var e=0,f=0,h=0;f=i;i=i+128|0;e=f;h=e+60|0;do{c[e>>2]=0;e=e+4|0}while((e|0)<(h|0));g[f+60>>2]=1.0;g[f+40>>2]=1.0;g[f+20>>2]=1.0;g[f>>2]=1.0;g[f+4>>2]=d;g[f+16>>2]=b;Jua(f+64|0,a,f);e=a;a=f+64|0;h=e+64|0;do{c[e>>2]=c[a>>2];e=e+4|0;a=a+4|0}while((e|0)<(h|0));i=f;return}function Rua(a,b,d,e,f){a=a|0;b=+b;d=+d;e=+e;f=+f;var h=0,i=0;h=a;i=h+60|0;do{c[h>>2]=0;h=h+4|0}while((h|0)<(i|0));g[a+60>>2]=1.0;g[a>>2]=2.0/(d-b);g[a+20>>2]=2.0/(f-e);g[a+40>>2]=-1.0;g[a+48>>2]=-(b+d)/(d-b);g[a+52>>2]=-(e+f)/(f-e);return}function Sua(a){a=a|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[a+20>>2]=0;c[a+24>>2]=0;c[a+28>>2]=0;g[a>>2]=1.0;g[a+16>>2]=1.0;g[a+32>>2]=1.0;return}function Tua(a,b){a=a|0;b=b|0;c[a>>2]=c[b>>2];c[a+4>>2]=c[b+4>>2];c[a+8>>2]=c[b+8>>2];c[a+12>>2]=c[b+16>>2];c[a+16>>2]=c[b+20>>2];c[a+20>>2]=c[b+24>>2];c[a+24>>2]=c[b+32>>2];c[a+28>>2]=c[b+36>>2];c[a+32>>2]=c[b+40>>2];return}function Uua(a,b,c,d,e,f,h,i,j,k){a=a|0;b=+b;c=+c;d=+d;e=+e;f=+f;h=+h;i=+i;j=+j;k=+k;var l=0.0;l=+Q(+d);d=+R(+d);g[a>>2]=l*e-d*k*f;g[a+4>>2]=d*e+l*k*f;g[a+12>>2]=l*j*e-d*f;g[a+16>>2]=l*f+d*j*e;g[a+24>>2]=b-(l*e-d*k*f)*h-(l*j*e-d*f)*i;g[a+28>>2]=c-(d*e+l*k*f)*h-(l*f+d*j*e)*i;g[a+20>>2]=0.0;g[a+8>>2]=0.0;g[a+32>>2]=1.0;return}function Vua(a,b,c,d,e,f,h,i,j,k){a=a|0;b=+b;c=+c;d=+d;e=+e;f=+f;h=+h;i=+i;j=+j;k=+k;var l=0.0;l=+Q(+d);d=+R(+d);g[a>>2]=l*e-d*k*f;g[a+4>>2]=d*e+l*k*f;g[a+12>>2]=l*j*e-d*f;g[a+16>>2]=l*f+d*j*e;g[a+24>>2]=b-(l*e-d*k*f)*h-(l*j*e-d*f)*i;g[a+28>>2]=c-(d*e+l*k*f)*h-(l*f+d*j*e)*i;g[a+20>>2]=0.0;g[a+8>>2]=0.0;g[a+32>>2]=1.0;return}function Wua(a){a=a|0;return}function Xua(a){a=a|0;return a|0}function Yua(a,b){a=a|0;b=b|0;var d=0.0,e=0.0,f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0;h=+g[b>>2];f=+g[b+16>>2];n=+g[b+32>>2];k=+g[b+28>>2];m=+g[b+20>>2];d=+g[b+4>>2];e=+g[b+12>>2];j=+g[b+24>>2];l=+g[b+8>>2];i=1.0/(l*(k*e-f*j)+(h*(f*n-k*m)-d*(n*e-m*j)));c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[a+20>>2]=0;c[a+24>>2]=0;g[a>>2]=i*(f*n-k*m);g[a+12>>2]=(d*n-l*k)*-i;g[a+24>>2]=i*(d*m-l*f);g[a+4>>2]=(n*e-m*j)*-i;g[a+16>>2]=i*(h*n-l*j);g[a+28>>2]=(h*m-e*l)*-i;g[a+8>>2]=i*(k*e-f*j);g[a+20>>2]=(h*k-j*d)*-i;g[a+32>>2]=i*(h*f-e*d);return}function Zua(a){a=a|0;var b=0;c[a>>2]=33652;if(c[a+24>>2]|0){b=c[a+20>>2]|0;if(b|0)if(SAa(b)|0){c[a+24>>2]=0;c[a+20>>2]=0}}Mqb(a+8|0);_3(a);return}function _ua(a){a=a|0;var b=0;c[a>>2]=33652;if(c[a+24>>2]|0){b=c[a+20>>2]|0;if(b|0)if(SAa(b)|0){c[a+24>>2]=0;c[a+20>>2]=0}}Mqb(a+8|0);_3(a);oAb(a);return}function $ua(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+32|0;if(!d){b=1;i=g;return b|0}if(!(pAa()|0)){b=nf(16)|0;ds(b,504324,g);zc(b|0,96,27)}if((d|0)==1){if(!(a[b+8>>0]&1))e=b+8+1|0;else e=c[b+16>>2]|0;if(!(KAa(e)|0)){e=nf(16)|0;if(!(a[b+8>>0]&1)){b=b+8+1|0;c[g+8>>2]=b;ds(e,504351,g+8|0);zc(e|0,96,27)}else{b=c[b+16>>2]|0;c[g+8>>2]=b;ds(e,504351,g+8|0);zc(e|0,96,27)}}}else if((d|1|0)==3)if(!(sAa()|0))if(!(xu()|0)){b=nf(16)|0;ds(b,504391,g+16|0);zc(b|0,96,27)}if(c[b+20>>2]|0){b=0;i=g;return b|0}Sza()|0;switch(d|0){case 1:{if(!(a[b+8>>0]&1))e=b+8+1|0;else e=c[b+16>>2]|0;e=RAa(e)|0;f=31;break}case 3:{if(!(a[b+8>>0]&1))e=b+8+1|0;else e=c[b+16>>2]|0;e=QAa(e)|0;f=31;break}case 2:{if(!(a[b+8>>0]&1))e=b+8+1|0;else e=c[b+16>>2]|0;e=OAa(e)|0;f=31;break}default:{}}if((f|0)==31)if(e|0){c[b+20>>2]=e;c[b+24>>2]=d;if(!(cj[c[(c[b>>2]|0)+64>>2]&127](b,c[b+28>>2]|0,c[b+32>>2]|0,c[b+32+4>>2]|0)|0)){c[b+28>>2]=0;c[b+32>>2]=0;c[b+32+4>>2]=0}b=(c[b+20>>2]|0)!=0;i=g;return b|0}e=Sza()|0;e=(e|0)==0?514668:e;f=nf(16)|0;if(!(a[b+8>>0]&1)){b=b+8+1|0;c[g+24>>2]=b;b=g+24+4|0;c[b>>2]=e;ds(f,504422,g+24|0);zc(f|0,96,27)}else{b=c[b+16>>2]|0;c[g+24>>2]=b;b=g+24+4|0;c[b>>2]=e;ds(f,504422,g+24|0);zc(f|0,96,27)}return 0}function ava(a){a=a|0;var b=0;b=c[a+20>>2]|0;if(!b){a=0;return a|0}if(!(SAa(b)|0)){a=0;return a|0}c[a+24>>2]=0;c[a+20>>2]=0;a=1;return a|0}function bva(a){a=a|0;if(!(c[a+24>>2]|0)){a=0;return a|0}a=(c[a+20>>2]|0)!=0;return a|0}function cva(a){a=a|0;var b=0,d=0;b=c[a+20>>2]|0;if(!b){Xi[c[(c[a>>2]|0)+16>>2]&511](a,1)|0;d=aBa(c[a+20>>2]|0)|0;b=C;vi[c[(c[a>>2]|0)+20>>2]&2047](a)|0;a=d;C=b;return a|0}else{d=aBa(b)|0;a=C;C=a;return d|0}return 0}function dva(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0;g=i;i=i+16|0;f=c[a+20>>2]|0;if(!f){a=nf(16)|0;ds(a,504450,g);zc(a|0,96,27)}if((c[a+24>>2]|0)!=1){a=nf(16)|0;ds(a,504450,g);zc(a|0,96,27)}h=aBa(f)|0;f=C;j=(d|0)==-1&(e|0)==-1?h:d;e=(d|0)==-1&(e|0)==-1?f:e;d=(e|0)>(f|0)|(e|0)==(f|0)&j>>>0>h>>>0?h:j;e=(e|0)>(f|0)|(e|0)==(f|0)&j>>>0>h>>>0?f:e;if((((e|0)>0|(e|0)==0&d>>>0>4294967295?0:e)|0)<0){j=nf(16)|0;ds(j,504482,g+8|0);zc(j|0,96,27)}else{j=VAa(c[a+20>>2]|0,b,1,(e|0)>0|(e|0)==0&d>>>0>4294967295?-1:d)|0;i=g;return j|0}return 0}function eva(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=i;i=i+16|0;g=c[a+20>>2]|0;if(!g){a=nf(16)|0;ds(a,504501,h);zc(a|0,96,27)}if((c[a+24>>2]&-2|0)!=2){a=nf(16)|0;ds(a,504501,h);zc(a|0,96,27)}f=(e|0)>0|(e|0)==0&d>>>0>4294967295?-1:d;d=(e|0)>0|(e|0)==0&d>>>0>4294967295?0:e;if((d|0)<0){a=nf(16)|0;ds(a,504533,h+8|0);zc(a|0,96,27)}g=XAa(g,b,1,f)|0;if(!((g|0)==(f|0)&(C|0)==(d|0))){a=0;i=h;return a|0}if((c[a+28>>2]|0)==1){g=c[a+32+4>>2]|0;if((g|0)>(d|0)|((g|0)==(d|0)?(c[a+32>>2]|0)>>>0>f>>>0:0))if(omb(b,10,f)|0)vi[c[(c[a>>2]|0)+48>>2]&2047](a)|0}Wg(0);a=1;i=h;return a|0}function fva(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=c[a+20>>2]|0;if(b|0)if((c[a+24>>2]&-2|0)==2){a=(UAa(b)|0)!=0;i=d;return a|0}a=nf(16)|0;ds(a,504501,d);zc(a|0,96,27);return 0}function gva(a){a=a|0;a=c[a+20>>2]|0;if(!a){a=1;return a|0}a=(ZAa(a)|0)!=0;return a|0}function hva(a){a=a|0;var b=0;a=c[a+20>>2]|0;if(!a){a=-1;b=-1}else{b=_Aa(a)|0;a=C}C=a;return b|0}function iva(a,b,d){a=a|0;b=b|0;d=d|0;a=c[a+20>>2]|0;if(!a){d=0;return d|0}d=($Aa(a,b,d)|0)!=0;return d|0}function jva(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;if((e|0)<0){a=0;return a|0}if(!(vi[c[(c[a>>2]|0)+24>>2]&2047](a)|0)){c[a+28>>2]=b;c[a+32>>2]=d;c[a+32+4>>2]=e;a=1;return a|0}f=c[a+20>>2]|0;if((b+-1|0)>>>0<2){g=d;h=e;d=bBa(f,d,e)|0}else{g=0;h=0;d=bBa(f,0,0)|0}if(!d){a=0;return a|0}c[a+28>>2]=b;c[a+32>>2]=g;c[a+32+4>>2]=h;a=1;return a|0}function kva(a,b){a=a|0;b=b|0;var d=0;d=c[a+32+4>>2]|0;c[b>>2]=c[a+32>>2];c[b+4>>2]=d;return c[a+28>>2]|0}function lva(a){a=a|0;return c[a+24>>2]|0}function mva(a){a=a|0;return a+8|0}function nva(a,b){a=a|0;b=b|0;Jj(a);c[a>>2]=33652;Hqb(a+8|0,b);c[a+20>>2]=0;c[a+20+4>>2]=0;c[a+20+8>>2]=0;c[a+20+12>>2]=0;c[a+20+16>>2]=0;return}function ova(a){a=a|0;oAb(a);return}function pva(a,b){a=a|0;b=b|0;if((vi[c[(c[b>>2]|0)+20>>2]&2047](b)|0)>>>0<17){a=0;return a|0}a=vi[c[(c[b>>2]|0)+16>>2]&2047](b)|0;a=((d[a+1>>0]|0)<<8|(d[a>>0]|0)|(d[a+2>>0]|0)<<16|(d[a+3>>0]|0)<<24|0)==1554098963;return a|0}function qva(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+48|0;if(!(Xi[c[(c[b>>2]|0)+16>>2]&511](b,d)|0)){h=nf(16)|0;ds(h,504656,v);zc(h|0,96,27)}n=vi[c[(c[d>>2]|0)+16>>2]&2047](d)|0;b=a[n+4>>0]|0;j=a[n+5>>0]|0;k=a[n+6>>0]|0;o=a[n+7>>0]|0;p=a[n+8>>0]|0;q=a[n+9>>0]|0;r=a[n+10>>0]|0;s=a[n+11>>0]|0;t=a[n+12>>0]|0;l=a[n+13>>0]|0;m=a[n+14>>0]|0;n=a[n+15>>0]|0;if((k&255)>1){h=nf(16)|0;c[v+8>>2]=b&255;e=v+8+4|0;c[e>>2]=j&255;e=v+8+8|0;c[e>>2]=k&255;ds(h,504710,v+8|0);zc(h|0,96,27)}if(b<<24>>24==4&j<<24>>24==4)u=23;else if(b<<24>>24==5&j<<24>>24==4)u=24;else if(b<<24>>24==5&j<<24>>24==5)u=25;else if(b<<24>>24==6&j<<24>>24==5)u=26;else if(b<<24>>24==6&j<<24>>24==6)u=27;else if(b<<24>>24==8&j<<24>>24==5)u=28;else if(b<<24>>24==8&j<<24>>24==6)u=29;else if(b<<24>>24==8&j<<24>>24==8)u=30;else if(b<<24>>24==10&j<<24>>24==5)u=31;else if(b<<24>>24==10&j<<24>>24==6)u=32;else if(b<<24>>24==10&j<<24>>24==8)u=33;else if(b<<24>>24==10&j<<24>>24==10)u=34;else if(b<<24>>24==12&j<<24>>24==10)u=35;else if(b<<24>>24==12&j<<24>>24==12)u=36;else{h=nf(16)|0;c[v+8>>2]=b&255;e=v+8+4|0;c[e>>2]=j&255;e=v+8+8|0;c[e>>2]=k&255;ds(h,504710,v+8|0);zc(h|0,96,27)}j=_(_(((((b&255)+-1+((p&255)<<8|o&255|(q&255)<<16)|0)>>>0)/((b&255)>>>0)|0)<<4,(((j&255)+-1+((s&255)<<8|r&255|(t&255)<<16)|0)>>>0)/((j&255)>>>0)|0)|0,(((k&255)+-1+((m&255)<<8|l&255|(n&255)<<16)|0)>>>0)/((k&255)>>>0)|0)|0;if((j+16|0)>>>0>(vi[c[(c[d>>2]|0)+20>>2]&2047](d)|0)>>>0){h=nf(16)|0;ds(h,504772,v+24|0);zc(h|0,96,27)}k=_Ab(j)|0;mBb(k|0,(vi[c[(c[d>>2]|0)+16>>2]&2047](d)|0)+16|0,j|0)|0;c[v+32>>2]=(p&255)<<8|o&255|(q&255)<<16;c[v+32+4>>2]=(s&255)<<8|r&255|(t&255)<<16;c[v+32+8>>2]=j;c[v+32+12>>2]=k;b=c[e+4>>2]|0;if((b|0)==(c[e+8>>2]|0)){eha(e,v+32|0);c[f>>2]=j;c[g>>2]=u;a[h>>0]=0;i=v;return k|0}else{c[b>>2]=c[v+32>>2];c[b+4>>2]=c[v+32+4>>2];c[b+8>>2]=c[v+32+8>>2];c[b+12>>2]=c[v+32+12>>2];c[e+4>>2]=(c[e+4>>2]|0)+16;c[f>>2]=j;c[g>>2]=u;a[h>>0]=0;i=v;return k|0}return 0}function rva(a){a=a|0;var b=0;c[a>>2]=33776;b=c[a+16>>2]|0;if(b|0)aBb(b);lD(a);return}function sva(a){a=a|0;var b=0;c[a>>2]=33776;b=c[a+16>>2]|0;if(b|0)aBb(b);lD(a);oAb(a);return}function tva(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+32|0;rD(a);c[a>>2]=33776;e=c[b+4>>2]|0;if((e|0)==(b|0)){a=nf(16)|0;ds(a,504861,h);zc(a|0,96,27)}else{f=e;g=e}while(1){e=c[f+8>>2]|0;if(Xi[c[(c[e>>2]|0)+16>>2]&511](e,d)|0)break;g=c[g+4>>2]|0;f=g;if((f|0)==(b|0)){e=0;break}}if(!e){a=nf(16)|0;ds(a,504861,h);zc(a|0,96,27)}e=ti[c[(c[e>>2]|0)+20>>2]&63](e,d,a+24|0,a+20|0,a+8|0,a+12|0)|0;c[a+16>>2]=e;if(!e){a=nf(16)|0;ds(a,504910,h+8|0);zc(a|0,96,27)}if(!(c[a+8>>2]|0)){aBb(e);a=nf(16)|0;ds(a,504861,h+16|0);zc(a|0,96,27)}if((c[a+28>>2]|0)==(c[a+24>>2]|0)){aBb(e);a=nf(16)|0;ds(a,504943,h+24|0);zc(a|0,96,27)}if(!(c[a+20>>2]|0)){aBb(e);a=nf(16)|0;ds(a,504943,h+24|0);zc(a|0,96,27)}else{i=h;return}}function uva(a){a=a|0;oAb(a);return}function vva(a,b){a=a|0;b=b|0;a=vi[c[(c[b>>2]|0)+16>>2]&2047](b)|0;return Nva(a,vi[c[(c[b>>2]|0)+20>>2]&2047](b)|0)|0}function wva(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0;n=i;i=i+64|0;m=vi[c[(c[d>>2]|0)+16>>2]&2047](d)|0;if(!(Mva(m,vi[c[(c[d>>2]|0)+20>>2]&2047](d)|0)|0)){h=nf(16)|0;ds(h,505024,n);zc(h|0,96,27)}c[f>>2]=0;b=c[e>>2]|0;j=c[e+4>>2]|0;if((j|0)!=(b|0))c[e+4>>2]=j+(~((j+-16-b|0)>>>4)<<4);m=vi[c[(c[d>>2]|0)+16>>2]&2047](d)|0;Ova(n+40|0,m,vi[c[(c[d>>2]|0)+20>>2]&2047](d)|0);do switch(Uva(n+40|0)|0){case 0:{l=1;m=0;break}case 1:{l=2;m=0;break}case 2:{l=3;m=0;break}case 3:{l=4;m=0;break}case 4:{l=5;m=0;break}case 5:{l=6;m=0;break}case 6:{l=7;m=0;break}case 7:{l=8;m=0;break}case 8:{l=9;m=0;break}case 9:{l=10;m=0;break}case 10:{l=10;m=1;break}default:{h=nf(16)|0;ds(h,505075,n+8|0);zc(h|0,96,27)}}while(0);if(!(Wva(n+40|0)|0)){h=nf(16)|0;ds(h,505128,n+16|0);zc(h|0,96,27)}else b=0;while(1){if(b>>>0>=(Wva(n+40|0)|0)>>>0)break;k=c[(Vva(n+40|0,b)|0)+8>>2]|0;c[f>>2]=(c[f>>2]|0)+k;b=b+1|0}b=_Ab(c[f>>2]|0)|0;f=0;k=0;while(1){if(k>>>0>=(Wva(n+40|0)|0)>>>0)break;o=Vva(n+40|0,k)|0;c[n+24>>2]=c[o>>2];c[n+24+4>>2]=c[o+4>>2];j=c[o+8>>2]|0;c[n+24+8>>2]=j;d=b+f|0;mBb(d|0,c[o+12>>2]|0,j|0)|0;c[n+24+12>>2]=d;d=c[e+4>>2]|0;if((d|0)==(c[e+8>>2]|0))eha(e,n+24|0);else{c[d>>2]=c[n+24>>2];c[d+4>>2]=c[n+24+4>>2];c[d+8>>2]=c[n+24+8>>2];c[d+12>>2]=c[n+24+12>>2];c[e+4>>2]=(c[e+4>>2]|0)+16}f=j+f|0;k=k+1|0}Tva(n+40|0);c[g>>2]=l;a[h>>0]=m;i=n;return b|0}function xva(a){a=a|0;return}function yva(a){a=a|0;oAb(a);return}function zva(a,b){a=a|0;b=b|0;return 0}function Ava(a,b){a=a|0;b=b|0;return 0}function Bva(a,b,c){a=a|0;b=b|0;c=c|0;a=i;i=i+16|0;b=nf(16)|0;ds(b,505223,a);zc(b|0,96,27)}function Cva(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=i;i=i+16|0;b=nf(16)|0;ds(b,505282,a);zc(b|0,96,27)}function Dva(a,b){a=a|0;b=b|0;if(!b)return;aBb(b);return}function Eva(a){a=a|0;Jj(a);c[a>>2]=33840;return}function Fva(b){b=b|0;var d=0,e=0;d=i;i=i+16|0;c[b>>2]=33884;if(!(a[b+8>>0]|0)){RO(d,b+16|0);e=(c[b+12>>2]|0)==0;SO(d);if(!e){Vgb(c[b+12>>2]|0,0);RO(d,b+16|0);a[b+8>>0]=0;c[b+12>>2]=0;SO(d)}}Boa(b+16|0);i=d;return}function Gva(a){a=a|0;Fva(a);oAb(a);return}function Hva(b){b=b|0;var d=0,e=0;e=i;i=i+16|0;RO(e,b+16|0);if(a[b+8>>0]|0){b=0;SO(e);i=e;return b|0}d=c[b+12>>2]|0;if(d|0)Vgb(d,0);d=Pgb(1501,_O(c[b+4>>2]|0)|0,b)|0;c[b+12>>2]=d;a[b+8>>0]=(d|0)!=0&1;b=(d|0)!=0;SO(e);i=e;return b|0}function Iva(b){b=b|0;var d=0,e=0;d=i;i=i+16|0;e=c[b+4>>2]|0;Hi[c[(c[e>>2]|0)+8>>2]&1023](e);RO(d,b+16|0);a[b+8>>0]=0;SO(d);i=d;return 0}function Jva(b){b=b|0;var d=0,e=0;d=i;i=i+16|0;RO(d,b+16|0);e=(c[b+12>>2]|0)==0;SO(d);if(e){i=d;return}Vgb(c[b+12>>2]|0,0);RO(d,b+16|0);a[b+8>>0]=0;c[b+12>>2]=0;SO(d);i=d;return}function Kva(b){b=b|0;var c=0;c=i;i=i+16|0;RO(c,b+16|0);b=(a[b+8>>0]|0)!=0;SO(c);i=c;return b|0}function Lva(b,d){b=b|0;d=d|0;c[b>>2]=33884;c[b+4>>2]=d;a[b+8>>0]=0;c[b+12>>2]=0;Koa(b+16|0);return}function Mva(a,b){a=a|0;b=b|0;if(b>>>0<128){b=0;return b|0}if((c[a>>2]|0)!=542327876){b=0;return b|0}if((c[a+4>>2]|0)!=124){b=0;return b|0}if((c[a+76>>2]|0)!=32){b=0;return b|0}if(c[a+80>>2]&4|0)if(b>>>0<148?(c[a+84>>2]|0)==808540228:0){b=0;return b|0}b=1;return b|0}function Nva(a,b){a=a|0;b=b|0;a:do if(b>>>0<128)a=0;else if((c[a>>2]|0)==542327876)if((c[a+4>>2]|0)==124)if((c[a+76>>2]|0)==32)if(!(c[a+80>>2]&4))a=0;else if(b>>>0<148?(c[a+84>>2]|0)==808540228:0)a=0;else{if((c[a+84>>2]|0)==808540228){a=(c[a+128>>2]|0)+-70|0;if(a>>>0>=30){a=0;break}a=(1056997375>>>(a&1073741823)&1|0)!=0;break}a=c[a+84>>2]|0;b:do if((a|0)<894720068)if((a|0)<843666497){if((a|0)<827611204)switch(a|0){case 826889281:{b=13;break b}default:{a=0;break a}}switch(a|0){case 827611204:break;default:{a=0;break a}}a=1;break a}else{if((a|0)<861165636)switch(a|0){case 843666497:{b=15;break b}default:{a=0;break a}}switch(a|0){case 861165636:break;default:{a=0;break a}}a=1;break a}else{if((a|0)<1395999554)if((a|0)<1395934018){switch(a|0){case 894720068:break;default:{a=0;break a}}a=1;break a}else{switch(a|0){case 1395934018:break;default:{a=0;break a}}a=1;break a}if((a|0)<1429488450){switch(a|0){case 1395999554:break;default:{a=0;break a}}a=1;break a}if((a|0)<1429553986)switch(a|0){case 1429488450:{b=13;break b}default:{a=0;break a}}else switch(a|0){case 1429553986:{b=15;break b}default:{a=0;break a}}}while(0);if((b|0)==13){a=1;break}else if((b|0)==15){a=1;break}}else a=0;else a=0;else a=0;while(0);return a|0}function Ova(a,b,d){a=a|0;b=b|0;d=d|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=11;Pva(a,b,d)|0;return}function Pva(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;if(d>>>0<128){a=0;return a|0}if((c[b>>2]|0)!=542327876){a=0;return a|0}if((c[b+4>>2]|0)!=124){a=0;return a|0}if((c[b+76>>2]|0)!=32){a=0;return a|0}a:do if(!(c[b+80>>2]&4)){e=11;g=31}else{if(d>>>0<148?(c[b+84>>2]|0)==808540228:0){a=0;return a|0}if((c[b+84>>2]|0)==808540228){switch(c[b+132>>2]|0){case 0:case 3:break;default:{a=0;return a|0}}if((c[b+140>>2]|0)>>>0>1){a=0;return a|0}do switch(c[b+128>>2]|0){case 72:case 71:case 70:{e=0;break}case 75:case 74:case 73:{e=1;break}case 78:case 77:case 76:{e=2;break}case 80:case 79:{e=3;break}case 81:{e=4;break}case 83:case 82:{e=5;break}case 84:{e=6;break}case 95:case 94:{e=7;break}case 96:{e=8;break}case 98:case 97:{e=9;break}case 99:{e=10;break}default:e=11}while(0);c[a+12>>2]=e;f=148;break}e=c[b+84>>2]|0;b:do if((e|0)<894720068)if((e|0)<843666497){if((e|0)<827611204)switch(e|0){case 826889281:{g=27;break b}default:{e=11;g=31;break a}}switch(e|0){case 827611204:break;default:{e=11;g=31;break a}}e=0;g=31;break a}else{if((e|0)<861165636)switch(e|0){case 843666497:{g=29;break b}default:{e=11;g=31;break a}}switch(e|0){case 861165636:break;default:{e=11;g=31;break a}}e=1;g=31;break a}else{if((e|0)<1395999554)if((e|0)<1395934018){switch(e|0){case 894720068:break;default:{e=11;g=31;break a}}e=2;g=31;break a}else{switch(e|0){case 1395934018:break;default:{e=11;g=31;break a}}e=4;g=31;break a}if((e|0)<1429488450){switch(e|0){case 1395999554:break;default:{e=11;g=31;break a}}e=6;g=31;break a}if((e|0)<1429553986)switch(e|0){case 1429488450:{g=27;break b}default:{e=11;g=31;break a}}else switch(e|0){case 1429553986:{g=29;break b}default:{e=11;g=31;break a}}}while(0);if((g|0)==27){e=3;g=31;break}else if((g|0)==29){e=5;g=31;break}}while(0);if((g|0)==31){c[a+12>>2]=e;f=128}if((e|0)==11){a=0;return a|0}g=c[b+28>>2]|0;a=Qva(a,b+f|0,d-f|0,e,c[b+16>>2]|0,c[b+12>>2]|0,(g|0)<1?1:g)|0;return a|0}function Qva(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+32|0;c[q+16>>2]=0;p=q+16+4|0;c[p>>2]=0;c[q+16+8>>2]=0;a:do if((h|0)>0){b:do if(!e){k=g;l=0;m=0;while(1){c[q>>2]=0;c[q+4>>2]=0;c[q+8>>2]=0;c[q+12>>2]=0;c[q>>2]=f;c[q+4>>2]=k;if((f|0)>0){j=(f+3|0)/4|0;j=(j|0)>1?j:1}else j=0;if((k|0)>0){g=(k+3|0)/4|0;g=(g|0)>1?g:1}else g=0;e=_(j<<3,g)|0;c[q+8>>2]=e;g=m;m=e+m|0;if((e|0)==0|m>>>0>d>>>0)break b;c[q+12>>2]=b+g;g=c[p>>2]|0;if((g|0)==(c[q+16+8>>2]|0))Rva(q+16|0,q);else{c[g>>2]=c[q>>2];c[g+4>>2]=c[q+4>>2];c[g+8>>2]=c[q+8>>2];c[g+12>>2]=c[q+12>>2];c[p>>2]=g+16}f=(f|0)/2|0;g=(k|0)/2|0;l=l+1|0;if((l|0)>=(h|0)){o=25;break a}else{f=(f|0)<1?1:f;k=(g|0)<1?1:g}}}else{m=0;n=0;while(1){c[q>>2]=0;c[q+4>>2]=0;c[q+8>>2]=0;c[q+12>>2]=0;c[q>>2]=f;c[q+4>>2]=g;switch(e|0){case 4:case 3:case 0:{l=8;break}case 10:case 9:case 7:case 5:case 6:case 2:case 1:{l=16;break}default:l=0}if((f|0)>0){k=(f+3|0)/4|0;k=(k|0)>1?k:1}else k=0;if((g|0)>0){j=(g+3|0)/4|0;j=(j|0)>1?j:1}else j=0;l=_(_(k,l)|0,j)|0;c[q+8>>2]=l;j=n;n=l+n|0;if((l|0)==0|n>>>0>d>>>0)break b;c[q+12>>2]=b+j;j=c[p>>2]|0;if((j|0)==(c[q+16+8>>2]|0))Rva(q+16|0,q);else{c[j>>2]=c[q>>2];c[j+4>>2]=c[q+4>>2];c[j+8>>2]=c[q+8>>2];c[j+12>>2]=c[q+12>>2];c[p>>2]=j+16}f=(f|0)/2|0;g=(g|0)/2|0;m=m+1|0;if((m|0)>=(h|0)){o=25;break a}else{f=(f|0)<1?1:f;g=(g|0)<1?1:g}}}while(0);j=0}else o=25;while(0);if((o|0)==25)if((a|0)==(q+16|0))j=1;else{Sva(a,c[q+16>>2]|0,c[p>>2]|0);j=1}f=c[q+16>>2]|0;if(!f){i=q;return j|0}g=c[p>>2]|0;if((g|0)!=(f|0))c[p>>2]=g+(~((g+-16-f|0)>>>4)<<4);oAb(f);i=q;return j|0}function Rva(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=c[a>>2]|0;d=((c[a+4>>2]|0)-j>>4)+1|0;if(d>>>0>268435455)jzb(a);e=(c[a+8>>2]|0)-j|0;if(e>>4>>>0<134217727){d=e>>3>>>0>>0?d:e>>3;f=c[a+4>>2]|0;if(!d){i=0;g=0;e=f-j>>4;d=f}else{h=f;e=f-j>>4;k=6}}else{e=c[a+4>>2]|0;d=268435455;h=e;e=e-j>>4;k=6}if((k|0)==6){i=d;g=YAb(d<<4)|0;d=h}k=g+(e<<4)|0;c[k>>2]=c[b>>2];c[k+4>>2]=c[b+4>>2];c[k+8>>2]=c[b+8>>2];c[k+12>>2]=c[b+12>>2];b=d-j|0;mBb(k+(0-(b>>4)<<4)|0,j|0,b|0)|0;c[a>>2]=k+(0-(b>>4)<<4);c[a+4>>2]=k+16;c[a+8>>2]=g+(i<<4);if(!j)return;oAb(j);return}function Sva(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;e=c[a+8>>2]|0;g=c[a>>2]|0;if(d-b>>4>>>0<=e-g>>4>>>0){e=(c[a+4>>2]|0)-g>>4;f=d-b>>4>>>0>e>>>0?b+(e<<4)|0:d;nBb(g|0,b|0,f-b|0)|0;if(d-b>>4>>>0<=e>>>0){e=c[a+4>>2]|0;if((e|0)==(g+(f-b>>4<<4)|0))return;c[a+4>>2]=e+(~((e+-16-(g+(f-b>>4<<4))|0)>>>4)<<4);return}if((f|0)==(d|0))return;e=b+(e<<4)|0;b=c[a+4>>2]|0;do{c[b>>2]=c[e>>2];c[b+4>>2]=c[e+4>>2];c[b+8>>2]=c[e+8>>2];c[b+12>>2]=c[e+12>>2];b=(c[a+4>>2]|0)+16|0;c[a+4>>2]=b;e=e+16|0}while((e|0)!=(d|0));return}if(g){e=c[a+4>>2]|0;if((e|0)!=(g|0))c[a+4>>2]=e+(~((e+-16-g|0)>>>4)<<4);oAb(g);c[a+8>>2]=0;c[a+4>>2]=0;c[a>>2]=0;e=0}if(d-b>>4>>>0>268435455)jzb(a);e=e-0|0;if(e>>4>>>0<134217727){e=e>>3>>>0>4>>>0?d-b>>4:e>>3;if(e>>>0>268435455)jzb(a);else f=e}else f=268435455;e=YAb(f<<4)|0;c[a+4>>2]=e;c[a>>2]=e;c[a+8>>2]=e+(f<<4);if((b|0)==(d|0))return;do{c[e>>2]=c[b>>2];c[e+4>>2]=c[b+4>>2];c[e+8>>2]=c[b+8>>2];c[e+12>>2]=c[b+12>>2];e=(c[a+4>>2]|0)+16|0;c[a+4>>2]=e;b=b+16|0}while((b|0)!=(d|0));return}function Tva(a){a=a|0;var b=0,d=0;b=c[a>>2]|0;if(!b)return;d=c[a+4>>2]|0;if((d|0)!=(b|0))c[a+4>>2]=d+(~((d+-16-b|0)>>>4)<<4);oAb(b);return}function Uva(a){a=a|0;return c[a+12>>2]|0}function Vva(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;return ((c[a+4>>2]|0)-d>>4>>>0>b>>>0?d+(b<<4)|0:0)|0}function Wva(a){a=a|0;return (c[a+4>>2]|0)-(c[a>>2]|0)>>4|0}function Xva(a,b){a=a|0;b=b|0;if(!a){b=Vpb(b)|0;return b|0}else{b=Ypb(a,b)|0;return b|0}return 0}function Yva(a){a=a|0;return Wmb(a)|0}function Zva(a){a=a|0;return c[34288+(c[a+19704>>2]<<2)>>2]|0}function _va(b){b=b|0;var e=0,f=0,j=0,k=0,l=0.0,m=0.0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=i;i=i+272|0;c[u+236>>2]=0;r=c[b+19736>>2]|0;s=c[b+9584>>2]|0;c[b+19860>>2]=r;e=c[b+28084>>2]|0;do if(e|0){if(!s){c[b+9584>>2]=e+-1;break}c[b+27904>>2]=1;c[b+27900>>2]=1;c[b+9584>>2]=s+-1;c[b+19784>>2]=0;e=c[b+27808>>2]|0;c[b+19788>>2]=e;if((c[b+19688>>2]|0)==3)mBb(e|0,b+9548|0,c[b+19864>>2]|0)|0;if(!(c[b+19696>>2]|0)){b=1;i=u;return b|0}r=c[b+19788>>2]|0;s=c[b+19784>>2]|0;t=((d[r>>0]<<8|d[r+1>>0])<<8|d[r+2>>0])<>>8&65535;c[b+19788>>2]=r+(s+16>>3);c[b+19784>>2]=s+16&7;c[b+27952>>2]=t;b=1;i=u;return b|0}while(0);t=c[37151]|0;f=0;a:while(1){e=c[b+27956>>2]|0;j=c[e+44>>2]|0;if(j){Hi[j&1023](b);e=c[b+27956>>2]|0}e=Xi[c[e+12>>2]&511](b,u+232|0)|0;if((e|0)<1)break;b:while(1){c[b+19684>>2]=2;e=c[b+27820>>2]|0;do if(e|0){j=c[u+232>>2]|0;if((e|0)==(j|0)){c[b+19684>>2]=0;break}if(!((j^e)&1575936))if(!((e&192|0)==192^(j&192|0)==192))c[b+19684>>2]=1}while(0);c:do if(!(c[b+27824>>2]|0)){e=c[u+232>>2]|0;if((e&3072|0)==3072|((e&61440|0)==61440|(e>>>0<4292870144|(e&393216|0)==0))){c[u>>2]=0;c[u+248>>2]=e;if((e&-256|0)==1229206272){q=21;break b}if(!(c[b+28068>>2]&32))if((c[b+28064>>2]|0)>1)if(!(a[b+19768>>0]|0)){c[u+8>>2]=e;oob(t,508177,u+8|0)|0}d:do if((e|0)==1380533830){if(!(c[b+28068>>2]&32))if((c[b+28064>>2]|0)>1)if(!(a[b+19768>>0]|0))ppb(508216,32,1,t)|0;e=Xi[c[(c[b+27956>>2]|0)+12>>2]&511](b,u+248|0)|0;if((e|0)>=1){while(1){e=c[b+27956>>2]|0;if((c[u+248>>2]|0)==1684108385)break;e=Xi[c[e+16>>2]&511](b,u+248|0)|0;if((e|0)<1)break d}e=Xi[c[e+12>>2]&511](b,u+248|0)|0;if((e|0)>=1){e=f;q=37;break b}}}else{c[u+232>>2]=0;j=c[b+28352>>2]|0;j=j>>>0>65536?j:65536;f=f+1|0;e:do if((f|0)<(j|0)|(j|0)>-1^1){f:do if((j|0)>-1)while(1){e=Xi[c[(c[b+27956>>2]|0)+16>>2]&511](b,u+248|0)|0;if((e|0)<1)break d;e=c[u+248>>2]|0;if(!((e&3072|0)==3072|((e&61440|0)==61440|(e>>>0<4292870144|(e&393216|0)==0)))){e=iwa(b,e,u)|0;if(e|0)break f}e=f+1|0;if((e|0)<(j|0))f=e;else break e}else{e=Xi[c[(c[b+27956>>2]|0)+16>>2]&511](b,u+248|0)|0;if((e|0)<1)break d;while(1){e=c[u+248>>2]|0;if(!((e&3072|0)==3072|((e&61440|0)==61440|(e>>>0<4292870144|(e&393216|0)==0)))){e=iwa(b,e,u)|0;if(e|0)break f}f=f+1|0;e=Xi[c[(c[b+27956>>2]|0)+16>>2]&511](b,u+248|0)|0;if((e|0)<1)break d}}while(0);if((e|0)<0){q=56;break a}else e=f}else e=f;while(0);if(!((e|0)<(j|0)|(j|0)>-1^1)){q=54;break a}c[u+232>>2]=c[u+248>>2];j=e;break c}while(0);if((e|0)<0)break a;else j=f}else j=f}else j=f;while(0);f=c[u+232>>2]|0;if(!((f&3072|0)==3072|((f&61440|0)==61440|(f>>>0<4292870144|(f&393216|0)==0)))){e=iwa(b,f,u+236|0)|0;if((e|0)<0)break a;switch(e|0){case 3:{f=j;continue a}case 10:{e=10;break a}case 2:{f=j;continue b}case 0:break;default:{q=105;break b}}f=c[u+232>>2]|0}c[u>>2]=f;c[u+232>>2]=0;k=f&-256;if((k|0)<1413564160)switch(k|0){case 1229206272:{q=70;break b}default:{}}else switch(k|0){case 1413564160:{q=66;break b}default:{}}e=c[b+28068>>2]|0;if(!(e&32))if(!(a[b+19768>>0]|0)){e=(vi[c[(c[b+27956>>2]|0)+36>>2]&2047](b)|0)+-4|0;c[u+24>>2]=f;c[u+24+4>>2]=e;oob(t,509348,u+24|0)|0;e=c[b+28068>>2]|0}if((k|0)==1651339264&(e&32|0)==0){ppb(509404,32,1,t)|0;e=c[b+28068>>2]|0}if(e&128|0){q=99;break a}n=c[b+28352>>2]|0;c[b+19868>>2]=0;if(!(e&32))if(!(a[b+19768>>0]|0))ppb(509437,26,1,t)|0;g:do if((n|0)<0){e=0;while(1){k=e+1|0;e=Xi[c[(c[b+27956>>2]|0)+16>>2]&511](b,u)|0;f=c[u>>2]|0;if((e|0)<1){q=87;break a}if((f&3072|0)==3072|((f&61440|0)==61440|(f>>>0<4292870144|(f&393216|0)==0)))e=k;else{e=k;k=1;break}}}else{e=0;while(1){k=e+1|0;if((k|0)>=(n|0)){e=k;k=0;break g}e=Xi[c[(c[b+27956>>2]|0)+16>>2]&511](b,u)|0;f=c[u>>2]|0;if((e|0)<1){q=87;break a}if((f&3072|0)==3072|((f&61440|0)==61440|(f>>>0<4292870144|(f&393216|0)==0)))e=k;else{e=k;k=1;break}}}while(0);c[u+232>>2]=f;if(!(c[b+28068>>2]&32))if(!(a[b+19768>>0]|0)){c[u+32>>2]=e;oob(t,509514,u+32|0)|0}if(!k){q=96;break a}c[b+27824>>2]=0;f=j}if((q|0)==21){c[b+27820>>2]=0;e=$va(b,e)|0;if((e|0)<0){q=56;break}if((e|0)>0){c[b+28392>>2]=c[b+28392>>2]|3;e=f;q=58}else{e=f;q=58}}else if((q|0)==37){if(!(c[b+28068>>2]&32))if((c[b+28064>>2]|0)>1)if(!(a[b+19768>>0]|0))ppb(508249,27,1,t)|0;c[b+27820>>2]=0;c[u+232>>2]=c[u+248>>2];q=58}else if((q|0)==66){a[b+28396>>0]=f>>>24;a[b+28397>>0]=f>>>16;a[b+28398>>0]=f>>>8;a[b+28399>>0]=f;e=Gi[c[(c[b+27956>>2]|0)+8>>2]&255](b,b+28400|0,124)|0;if((e|0)<0){q=102;break}c[b+28392>>2]=c[b+28392>>2]|3;c[b+27976>>2]=c[b+27976>>2]|2;if(!(c[b+28068>>2]&32))if((c[b+28064>>2]|0)>2){ppb(509322,25,1,t)|0;e=j;q=103}else{e=j;q=103}else{e=j;q=103}}else if((q|0)==70){c[b+27820>>2]=0;e=$va(b,f)|0;if((e|0)<0){q=102;break}if((e|0)>0){c[b+28392>>2]=c[b+28392>>2]|3;e=j;q=103}else{e=j;q=103}}else if((q|0)==105){q=0;if(!(c[b+27824>>2]|0)){k=c[u+232>>2]|0;c[u>>2]=0;do if(c[b+27976>>2]&12|0){f=vi[c[(c[b+27956>>2]|0)+36>>2]&2047](b)|0;e=Xi[c[(c[b+27956>>2]|0)+20>>2]&511](b,c[b+19736>>2]|0)|0;if((e|0)<0){q=108;break a}e=Xi[c[(c[b+27956>>2]|0)+12>>2]&511](b,u)|0;p=c[b+27956>>2]|0;o=c[p+28>>2]|0;p=(vi[c[p+36>>2]&2047](b)|0)-f|0;if((Xi[o&511](b,p)|0)<0){q=113;break a}switch(e|0){case -10:{e=-10;q=123;break a}case 0:{q=116;break a}default:{}}e=c[u>>2]|0;if(!((e&3072|0)==3072|((e&61440|0)==61440|(e>>>0<4292870144|(e&393216|0)==0))))if(!((e^k)&-128e3))break;c[b+27820>>2]=0;if((Xi[c[(c[b+27956>>2]|0)+28>>2]&511](b,3)|0)<0){q=121;break a}f=j;continue a}while(0)}n=(vi[c[(c[b+27956>>2]|0)+36>>2]&2047](b)|0)+-4|0;f=b+19872+((c[b+27816>>2]|0)*3968|0)+512|0;e=Gi[c[(c[b+27956>>2]|0)+24>>2]&255](b,f,c[b+19736>>2]|0)|0;if((e|0)<0)break;c[b+27812>>2]=c[b+27808>>2];c[b+27808>>2]=f;c[b+27816>>2]=c[b+27816>>2]&1^1;if(c[b+27824>>2]|0){e=n;q=237;break}c[b+27824>>2]=c[u+232>>2];if((c[b+19748>>2]|0)>=0){e=n;q=237;break}c[b+19760>>2]=n;if((c[b+19688>>2]|0)!=3){e=n;q=236;break}o=(c[b+19672>>2]|0)!=0;o=(c[b+19652>>2]|0)==2?(o?17:32):o?9:17;k=c[b+28068>>2]|0;if(k&16384|0){e=n;q=236;break}if((c[b+19736>>2]|0)<(o+120|0)){e=n;q=236;break}else e=2;do{if(a[f+e>>0]|0)break;e=e+1|0}while((e|0)<(o|0));if((e|0)!=(o|0)){e=n;q=236;break}switch(a[f+o>>0]|0){case 73:{if((a[f+(o+1)>>0]|0)!=110){e=n;q=236;break a}if((a[f+(o|2)>>0]|0)!=102){e=n;q=236;break a}if((a[f+(o+3)>>0]|0)!=111){e=n;q=236;break a}break}case 88:{if((a[f+(o+1)>>0]|0)!=105){e=n;q=236;break a}if((a[f+(o|2)>>0]|0)!=110){e=n;q=236;break a}if((a[f+(o+3)>>0]|0)!=103){e=n;q=236;break a}c[b+19744>>2]=1;break}default:{e=n;q=236;break a}}if(!(k&32))if((c[b+28064>>2]|0)>1){ppb(509920,37,1,t)|0;f=c[b+27808>>2]|0}p=d[f+((o|4)+3)>>0]|0;if(!(p&1))e=(o|4)+4|0;else{e=c[b+28068>>2]|0;do if(!(e&4096)){f=d[f+((o|4)+5)>>0]<<16|d[f+((o|4)+4)>>0]<<24|d[f+((o|4)+6)>>0]<<8|d[f+((o|4)+7)>>0];f=f>>>0>932067?0:f;c[b+19840>>2]=f;if(e&64){swa(b,f,0,0);e=c[b+28068>>2]|0}if(!(e&32)){if((c[b+28064>>2]|0)<=2)break;c[u+88>>2]=c[b+19840>>2];oob(t,510024,u+88|0)|0}}else if(!(e&32))if((c[b+28064>>2]|0)>2)ppb(509958,65,1,t)|0;while(0);e=(o|4)+8|0}if(p&2){f=c[b+28068>>2]|0;do if(!(f&4096)){n=c[b+27808>>2]|0;n=d[n+(e+1)>>0]<<16|d[n+e>>0]<<24|d[n+(e+2)>>0]<<8|d[n+(e+3)>>0];k=c[b+27960>>2]|0;do if((k|0)<1)c[b+27960>>2]=n;else{if(!((f&32|0)==0&(k|0)!=(n|0)))break;l=+(k-n|0)*(1.0/+(k|0))<0.0?-(+(k-n|0)*(1.0/+(k|0))):+(k-n|0)*(1.0/+(k|0));if((c[b+28064>>2]|0)>2){c[u+96>>2]=n;h[u+96+8>>3]=l;oob(t,510113,u+96|0)|0}if(!(l>1.0))break;oob(t,510190,u+112|0)|0}while(0);if(c[b+28068>>2]&32|0)break;if((c[b+28064>>2]|0)<=2)break;c[u+120>>2]=n;oob(t,510292,u+120|0)|0}else if(!(f&32)){if((c[b+28064>>2]|0)<=2)break;ppb(510048,64,1,t)|0}while(0);e=e+4|0}if(p&4){twa(b,(c[b+27808>>2]|0)+e|0)|0;e=e+100|0}if(!(p&8))n=e;else{do if(!(c[b+28068>>2]&32)){if((c[b+28064>>2]|0)<=2)break;p=c[b+27808>>2]|0;c[u+128>>2]=d[p+(e+1)>>0]<<16|d[p+e>>0]<<24|d[p+(e+2)>>0]<<8|d[p+(e+3)>>0];oob(t,510315,u+128|0)|0}while(0);n=e+4|0}e=(c[b+27808>>2]|0)+n|0;if(a[e>>0]|0){c[u>>2]=0;c[u+4>>2]=0;k=u+248|0;f=k+9|0;do{a[k>>0]=a[e>>0]|0;k=k+1|0;e=e+1|0}while((k|0)<(f|0));a[u+248+9>>0]=0;do if(!(c[b+28068>>2]&32)){if((c[b+28064>>2]|0)<=2)break;c[u+136>>2]=u+248;oob(t,510342,u+136|0)|0}while(0);if(!(pmb(510367,u+248|0,4)|0)){a[u+258>>0]=0;c[u+144>>2]=u+244;c[u+144+4>>2]=u+240;c[u+144+8>>2]=u+258;do if((hob(u+248+4|0,510372,u+144|0)|0)>1){e=c[u+244>>2]|0;if(e>>>0>=3)if(!((e|0)==3?(c[u+240>>2]|0)>>>0<95:0)){l=0.0;break}if(c[b+28068>>2]&32|0){l=6.0;break}if((c[b+28064>>2]|0)<=2){l=6.0;break}h[u+160>>3]=6.0;oob(t,510380,u+160|0)|0;l=6.0}else{if(c[b+28068>>2]&32|0){l=0.0;break}if((c[b+28064>>2]|0)<=2){l=0.0;break}ppb(510446,43,1,t)|0;l=0.0}while(0)}else l=0.0;e=d[(c[b+27808>>2]|0)+(n+9)>>0]|0;do if(!(c[b+28068>>2]&32)){if((c[b+28064>>2]|0)<=2)break;c[u+168>>2]=e>>>4;oob(t,510490,u+168|0)|0;c[u+176>>2]=e&15;oob(t,510510,u+176|0)|0}while(0);switch(e&15|0){case 8:case 1:{c[b+19744>>2]=0;break}case 9:case 2:{c[b+19744>>2]=2;break}default:c[b+19744>>2]=1}do if(!(c[b+28068>>2]&32)){if((c[b+28064>>2]|0)<=2)break;h[u+184>>3]=0.0;oob(t,510535,u+184|0)|0}while(0);k=n+15|0;o=c[b+27808>>2]|0;f=a[o+k>>0]|0;h:do if(!((f&255)>>>2&7))q=210;else{switch((f&255)>>>5<<24>>24){case 1:{e=0;break}case 2:{e=1;break}default:break h}m=+(d[o+(n+16)>>0]|(f&255)<<8&256|0)*(f&2?-.10000000149011612:.10000000149011612);g[u+(e<<2)>>2]=((f&255)>>>2&7|0)==3?m+l:m;q=210}while(0);if((q|0)==210){q=0;k=n+17|0;f=a[o+k>>0]|0}n=f&255;i:do if(!(n>>>2&7))q=231;else{switch((f&255)>>>5<<24>>24){case 1:{e=0;break}case 2:{e=1;break}default:break i}m=+(d[o+(k+1)>>0]|n<<8&256|0)*(f&2?-.10000000149011612:.10000000149011612);g[u+(e<<2)>>2]=(n>>>2&7|0)==3?m+l:m;q=231}while(0);if((q|0)==231){q=0;k=k+2|0}do if(!(c[b+28068>>2]&32)){if((c[b+28064>>2]|0)<=2)break;h[u+192>>3]=+g[u>>2];oob(t,510577,u+192|0)|0;h[u+200>>3]=+g[u+4>>2];oob(t,510612,u+200|0)|0}while(0);if((c[b+19816>>2]|0)<1){g[b+19832>>2]=0.0;c[b+19824>>2]=c[u>>2];c[b+19816>>2]=0}if((c[b+19820>>2]|0)<1){g[b+19836>>2]=0.0;c[b+19828>>2]=c[u+4>>2];c[b+19820>>2]=0}do if((c[b+19744>>2]|0)==2){e=d[(c[b+27808>>2]|0)+(k+1)>>0]|0;c[b+27828>>2]=e;if(c[b+28068>>2]&32|0)break;if((c[b+28064>>2]|0)<=2)break;c[u+208>>2]=e;oob(t,510652,u+208|0)|0}while(0);f=k+2|0;e=c[b+28068>>2]|0;do if(!(e&32)){if((c[b+28064>>2]|0)<=2)break;p=c[b+27808>>2]|0;o=d[p+(k+3)>>0]|0;e=o<<8&3840|d[p+(k+4)>>0];c[u+216>>2]=o>>>4|d[p+f>>0]<<4;c[u+216+4>>2]=e;oob(t,510679,u+216|0)|0;e=c[b+28068>>2]|0}while(0);if(e&64|0){p=c[b+27808>>2]|0;o=d[p+(k+3)>>0]|0;swa(b,c[b+19840>>2]|0,o>>>4|d[p+f>>0]<<4,o<<8&3840|d[p+(k+4)>>0])}}e=c[b+27816>>2]|0;c[b+27808>>2]=b+19872+(e*3968|0)+512;c[b+27816>>2]=e&1^1;e=c[(c[b+27956>>2]|0)+44>>2]|0;if(e|0)Hi[e&1023](b);c[b+27820>>2]=0;f=j;continue}if((q|0)==58){q=0;f=e;continue}else if((q|0)==103){q=0;f=e;continue}}switch(q|0){case 54:{if(!(c[b+28068>>2]&32)){c[u+16>>2]=1078;c[u+16+4>>2]=e;oob(t,509238,u+16|0)|0}e=10;break}case 56:break;case 87:{c[u+232>>2]=f;if(!(c[b+28068>>2]&32))ppb(509464,49,1,t)|0;if(!e)e=10;else q=102;break}case 96:{if(!(c[b+28068>>2]&32)){c[u+40>>2]=1159;c[u+40+4>>2]=e;oob(t,509549,u+40|0)|0}c[b+28376>>2]=28;e=-1;q=102;break}case 99:{if(!(e&32)){c[u+48>>2]=1173;oob(t,509676,u+48|0)|0}c[b+28376>>2]=27;e=-1;q=102;break}case 108:{if((e|0)==-1)if(!(c[b+28068>>2]&32)){c[u+56>>2]=966;oob(t,509725,u+56|0)|0}e=(e|0)==-10?-10:-1;q=123;break}case 113:{if(!(c[b+28068>>2]&32)){c[u+64>>2]=975;oob(t,509759,u+64|0)|0;e=-1;q=123}else{e=-1;q=123}break}case 116:{if(!(c[b+28068>>2]&32)){c[u+72>>2]=984;oob(t,509798,u+72|0)|0}e=10;break}case 121:{if(!(c[b+28068>>2]&32)){c[u+80>>2]=996;oob(t,509873,u+80|0)|0;e=-1;q=123}else{e=-1;q=123}break}case 236:{uwa(b);f=c[b+27808>>2]|0;q=238;break}case 237:{q=238;break}}if((q|0)!=102)if((q|0)==123)Xi[c[(c[b+27956>>2]|0)+28>>2]&511](b,4)|0;else if((q|0)==238){c[b+19784>>2]=0;c[b+19788>>2]=f;j=c[b+19856>>2]|0;c[b+19856>>2]=j+1;if(j+1|0){m=+h[b+19848>>3]*+(j|0);f=c[b+19688>>2]|0;switch(f|0){case 1:{s=c[b+19672>>2]|0;l=+(c[33904+(s*192|0)+(c[b+19700>>2]<<2)>>2]|0)*48.0e3/+(c[34288+(c[b+19704>>2]<<2)>>2]<>2]|0;l=+(c[33904+(s*192|0)+(f+-1<<6)+(c[b+19700>>2]<<2)>>2]|0)*144.0e3/+(c[34288+(c[b+19704>>2]<<2)>>2]<>3]=(l+m)/+(j+1|0)}f=(c[b+19748>>2]|0)+1|0;c[b+19748>>2]=f;j=c[b+19764>>2]|0;do if(!(j&2)){k=c[b+19840>>2]|0;if((k|0)<1|(f|0)<(k|0)){s=c[b+27920>>2]|0;if((s|0)<1|(f|0)<(s|0))break}c[b+19764>>2]=j|2;if(!(c[b+28068>>2]&32)){s=c[b+27920>>2]|0;c[u+224>>2]=f;c[u+224+4>>2]=(s|0)>0?s:k;oob(t,510852,u+224|0)|0}}while(0);if(c[b+28084>>2]|0)if((c[b+19688>>2]|0)==3)mBb(b+9548|0,c[b+27808>>2]|0,c[b+19864>>2]|0)|0;c[b+19752>>2]=e;if(c[b+19764>>2]&1|0)if(c[b+27844>>2]|0)if((c[b+19748>>2]|0)==(c[b+27840>>2]|0))vwa(b+27832|0,e);e=a[b+19768>>0]|0;if(e<<24>>24>0)a[b+19768>>0]=e+-1<<24>>24;e=c[(c[b+27956>>2]|0)+44>>2]|0;if(e|0)Hi[e&1023](b);c[b+27904>>2]=1;c[b+27900>>2]=1;if(c[b+19696>>2]|0){r=c[b+19788>>2]|0;s=c[b+19784>>2]|0;t=((d[r>>0]<<8|d[r+1>>0])<<8|d[r+2>>0])<>>8&65535;c[b+19788>>2]=r+(s+16>>3);c[b+19784>>2]=s+16&7;c[b+27952>>2]=t}c[b+27820>>2]=c[u+232>>2];b=1;i=u;return b|0}f=c[(c[b+27956>>2]|0)+44>>2]|0;if(f|0)Hi[f&1023](b);a[b+19768>>0]=0;if(!(c[b+28376>>2]|0))c[b+28376>>2]=18;c[b+19736>>2]=r;c[b+9584>>2]=s;b=e;i=u;return b|0}function $va(e,f){e=e|0;f=f|0;var j=0,k=0,l=0,m=0,n=0.0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;I=i;i=i+384|0;if((f&255|0)==255){e=0;i=I;return e|0}j=Gi[c[(c[e+27956>>2]|0)+24>>2]&255](e,I+368|0,6)|0;if((j|0)<0){e=j;i=I;return e|0}k=a[I+368>>0]|0;if(k<<24>>24==-1){e=0;i=I;return e|0}D=a[I+368+1>>0]|0;E=a[I+368+2>>0]|0;F=a[I+368+3>>0]|0;G=a[I+368+4>>0]|0;H=a[I+368+5>>0]|0;if((F|E|G|H)<<24>>24<0){if(c[e+28068>>2]&32|0){e=0;i=I;return e|0}e=c[37151]|0;c[I>>2]=583;c[I+4>>2]=E&255;c[I+8>>2]=F&255;c[I+12>>2]=G&255;c[I+16>>2]=H&255;oob(e,505389,I)|0;e=0;i=I;return e|0}j=c[e+28068>>2]|0;if(!(j&32))if((c[e+28064>>2]|0)>1){j=c[37151]|0;c[I+24>>2]=f&255;c[I+24+4>>2]=k&255;c[I+24+8>>2]=(F&255)<<14|(E&255)<<21|(G&255)<<7|H&255;oob(j,505488,I+24|0)|0;j=c[e+28068>>2]|0}k=(j&8192|0)==0;if(k)if(((f&255)+-2|0)>>>0>2|(D&15|0)!=0)B=12;else{a[e+28524>>0]=f;C=Vpb(((F&255)<<14|(E&255)<<21|(G&255)<<7|H&255)+1|0)|0;if(!C){if(!(j&32)){D=c[37151]|0;c[I+320>>2]=816;c[I+320+4>>2]=(F&255)<<14|(E&255)<<21|(G&255)<<7|H&255;oob(D,508062,I+320|0)|0}e=Xi[c[(c[e+27956>>2]|0)+20>>2]&511](e,(F&255)<<14|(E&255)<<21|(G&255)<<7|H&255)|0;e=(e|0)<0?e:0;i=I;return e|0}j=Gi[c[(c[e+27956>>2]|0)+24>>2]&255](e,C,(F&255)<<14|(E&255)<<21|(G&255)<<7|H&255)|0;a:do if((j|0)>0){a[C+((F&255)<<14|(E&255)<<21|(G&255)<<7|H&255)>>0]=0;do if(!(D&64))j=0;else{m=a[C>>0]|0;if((f&255|0)==3){j=d[C+1>>0]<<16|(m&255)<<24|d[C+2>>0]<<8|d[C+3>>0];break}j=a[C+1>>0]|0;k=a[C+2>>0]|0;l=a[C+3>>0]|0;if((j|m|k|l)<<24>>24>=0){j=(j&255)<<14|(m&255)<<21|(k&255)<<7|l&255;break}if(c[e+28068>>2]&32|0){j=0;break a}f=c[37151]|0;c[I+56>>2]=626;c[I+56+4>>2]=m&255;c[I+56+8>>2]=j&255;c[I+56+12>>2]=k&255;c[I+56+16>>2]=l&255;oob(f,505696,I+56|0)|0;j=0;break a}while(0);a[I+328+4>>0]=0;y=((F&255)<<14|(E&255)<<21|(G&255)<<7|H&255)+-10|0;b:do if(j>>>0>>0){z=c[37151]|0;A=I+336+8|0;c:while(1){q=(a[e+28524>>0]|0)==2;p=q?3:4;k=0;do{x=a[C+(k+j)>>0]|0;k=k+1|0;if(!((x+-48&255)<10|(x+-65&255)<26))break b}while((k|0)<(p|0));Rob(I+328|0,C+j|0,p)|0;a[I+328+p>>0]=0;o=p+j|0;j=a[C+o>>0]|0;do if((a[e+28524>>0]|0)==2)r=d[C+o+1>>0]<<8|(j&255)<<16|d[C+o+2>>0];else{if((f&255|0)==3){r=d[C+o+1>>0]<<16|(j&255)<<24|d[C+o+2>>0]<<8|d[C+o+3>>0];break}k=a[C+o+1>>0]|0;l=a[C+o+2>>0]|0;m=a[C+o+3>>0]|0;if((k|j|l|m)<<24>>24<0){B=38;break c}r=(k&255)<<14|(j&255)<<21|(l&255)<<7|m&255}while(0);if(!(c[e+28068>>2]&32))if((c[e+28064>>2]|0)>2){c[I+88>>2]=I+328;c[I+88+4>>2]=r;oob(z,505853,I+88|0)|0}j=o+p+r|0;if(j>>>0>((F&255)<<14|(E&255)<<21|(G&255)<<7|H&255)>>>0){B=44;break}if((d[e+28524>>0]|0)>2){m=d[C+(o+p)>>0]<<8|d[C+(o+p+1)>>0];p=o+p+2|0;j=j+2|0}else{m=0;p=o+p|0}do if(q){k=0;while(1){l=c[34324+(k<<2)>>2]|0;if(!(pmb(I+328|0,l,3)|0)){B=50;break}k=k+1|0;if(k>>>0>=37){B=54;break}}if((B|0)==50){k=c[34472+(k<<2)>>2]|0;c[I+328>>2]=d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24;if(c[e+28068>>2]&32|0){B=57;break}if((c[e+28064>>2]|0)<=2){B=57;break}c[I+104>>2]=l;c[I+104+4>>2]=k;oob(z,506305,I+104|0)|0;B=57;break}else if((B|0)==54){B=0;if(c[e+28068>>2]&32|0)break;if((c[e+28064>>2]|0)<=2)break;x=c[I+328>>2]|0;c[I+112>>2]=x<<24>>24;c[I+112+4>>2]=x>>>8<<24>>24;c[I+112+8>>2]=x<<8>>24;oob(z,506340,I+112|0)|0;break}}else B=57;while(0);d:do if((B|0)==57){B=0;if(m&36796|0){if(c[e+28068>>2]&32|0)break;c[I+128>>2]=701;oob(z,506404,I+128|0)|0;break}do if(!(pmb(506384,I+328|0,4)|0))k=0;else{if(!(pmb(506389,I+328|0,4)|0)){k=1;break}if(!(pmb(506394,I+328|0,4)|0)){k=2;break}k=(pmb(506399,I+328|0,4)|0)==0;k=k?3:-2}while(0);w=(k|0)!=1&(a[I+328>>0]|0)==84?-1:k;if((w|0)==-2)break;k=C+p|0;x=(m&2|D&128|0)==0;e:do if(x){q=k;p=r}else{q=Vpb(r)|0;if(!q){if(c[e+28068>>2]&32|0)break d;c[I+136>>2]=726;oob(z,506467,I+136|0)|0;break d}a[q>>0]=a[k>>0]|0;o=p+r|0;k=p;p=1;while(1){while(1){m=k+1|0;if(m>>>0>=o>>>0)break e;l=a[C+m>>0]|0;if(l<<24>>24){k=m;break}if((a[C+k>>0]|0)==-1)k=m;else{k=m;break}}a[q+p>>0]=l;p=p+1|0}}while(0);f:do switch(w|0){case 3:case 0:{u=a[q>>0]|0;l=q+1|0;s=q+4|0;v=q;g:do if((p|0)<4){if(c[e+28068>>2]&32|0)break;c[I+144>>2]=327;c[I+144+4>>2]=p;oob(z,506541,I+144|0)|0}else{do if((w|0)==3){k=Xva(c[e+28560>>2]|0,(c[e+28564>>2]<<5)+32|0)|0;if(!k){t=0;break}c[e+28560>>2]=k;t=c[e+28564>>2]|0;c[e+28564>>2]=t+1;awa(k+(t<<5)+20|0);awa(k+(t<<5)+8|0);c[k+(t<<5)>>2]=0;b[k+(t<<5)+4>>1]=0;a[k+(t<<5)+6>>0]=0;t=(c[e+28560>>2]|0)+((c[e+28564>>2]|0)+-1<<5)|0}else{k=Xva(c[e+28552>>2]|0,(c[e+28556>>2]<<5)+32|0)|0;if(!k){t=0;break}c[e+28552>>2]=k;t=c[e+28556>>2]|0;c[e+28556>>2]=t+1;awa(k+(t<<5)+20|0);awa(k+(t<<5)+8|0);c[k+(t<<5)>>2]=0;b[k+(t<<5)+4>>1]=0;a[k+(t<<5)+6>>0]=0;t=(c[e+28552>>2]|0)+((c[e+28556>>2]|0)+-1<<5)|0}while(0);do if(!(c[e+28068>>2]&32)){if((c[e+28064>>2]|0)<=3)break;switch(a[q>>0]|0){case 0:{k=506648;break}case 1:{k=506637;break}case 2:{k=506627;break}case 3:{k=506621;break}default:k=506612}c[I+152>>2]=k;oob(z,506656,I+152|0)|0}while(0);if(!t){if(c[e+28068>>2]&32|0)break;c[I+160>>2]=334;oob(z,506696,I+160|0)|0;break};a[t>>0]=a[l>>0]|0;a[t+1>>0]=a[l+1>>0]|0;a[t+2>>0]=a[l+2>>0]|0;o=t+3|0;r=c[I+328>>2]|0;a[o>>0]=r;a[o+1>>0]=r>>8;a[o+2>>0]=r>>16;a[o+3>>0]=r>>24;o=q+3|0;a[o>>0]=u;r=p+-4|0;m=c[34620+(u<<24>>24<<2)>>2]|0;h:do if((r|0)>0){if(((u<<24>>24)+-1|0)>>>0<2){l=0;k=s;while(1){if(!(a[k>>0]|0)){if(m>>>0>(r-l|0)>>>0)break h;else l=1;do{if(a[k+l>>0]|0)break;l=l+1|0}while(l>>>0>>0);k=k+m|0;if((l|0)==(m|0)){B=117;break h}}else k=k+m|0;l=k-s|0;if((l|0)>=(r|0)){B=117;break h}}}switch(u<<24>>24|0){case 3:{l=0;k=s;while(1){if(!(a[k>>0]|0))break;k=k+m|0;l=k-s|0;if((l|0)>=(r|0)){B=117;break h}}if(m>>>0>(r-l|0)>>>0)break h;k=k+m|0;B=117;break h}case 0:{l=0;k=s;while(1){if(!(a[k>>0]|0))break;k=k+m|0;l=k-s|0;if((l|0)>=(r|0)){B=117;break h}}if(m>>>0>(r-l|0)>>>0)break h;k=k+m|0;B=117;break h}default:{l=0;k=s;while(1){if(!(a[k>>0]|0)){if(m>>>0>(r-l|0)>>>0)break h;k=k+m|0;switch(u<<24>>24|0){case 0:case 3:{B=117;break h}default:{}}}else k=k+m|0;l=k-s|0;if((l|0)>=(r|0)){B=117;break}}}}}else{k=s;B=117}while(0);do if((B|0)==117){B=0;l=k;if((k|0)==0|(l-s|0)>>>0>=r>>>0)break;awa(I+336+20|0);awa(I+336+8|0);c[I+336>>2]=0;b[I+336+4>>1]=0;a[I+336+6>>0]=0;r=c[e+28068>>2]|0;cwa(t+8|0,o,l-s+1|0,r>>>5&1^1,r&2048);if(!w)cwa(I+336+8|0,o,l-s+1|0,(c[e+28068>>2]|0)>>>5&1^1,0);o=k+-1|0;a[o>>0]=u;m=p+1+(v-l)|0;v=c[e+28068>>2]|0;cwa(t+20|0,o,m,v>>>5&1^1,v&2048);do if(!(c[e+28068>>2]&32)){if((c[e+28064>>2]|0)<=3)break;c[I+176>>2]=c[t+16>>2];oob(z,507216,I+176|0)|0;c[I+184>>2]=c[t+28>>2];oob(z,507257,I+184|0)|0}while(0);i:do if(!((c[I+336+16>>2]|0)==0|(w|0)==0^1)){k=c[I+336+8>>2]|0;do if(!(tnb(k,507298)|0))l=0;else{if(!(tnb(k,507302)|0)){l=0;break}if(!(tnb(k,507310)|0)){l=0;break}if(!(tnb(k,507320)|0)){l=0;break}if(!(tnb(k,507330)|0)){l=1;break}if(!(tnb(k,507340)|0)){l=1;break}if(!(tnb(k,507355)|0))l=1;else break i}while(0);k=e+19816+(l<<2)|0;if((c[k>>2]|0)>=2)break;cwa(I+336+20|0,o,m,(c[e+28068>>2]|0)>>>5&1^1,0);if(!(c[I+336+28>>2]|0))break;n=+Epb(c[I+336+20>>2]|0);g[e+19824+(l<<2)>>2]=n;do if(!(c[e+28068>>2]&32)){if((c[e+28064>>2]|0)<=2)break;h[I+192>>3]=n;oob(z,507364,I+192|0)|0}while(0);g[e+19832+(l<<2)>>2]=0.0;c[k>>2]=1}while(0);bwa(I+336+20|0);bwa(I+336+8|0);break g}while(0);if(!(c[e+28068>>2]&32)){c[I+168>>2]=345;oob(z,506745,I+168|0)|0}k=c[e+28556>>2]|0;if(!k)break;l=c[e+28552>>2]|0;bwa(l+(k+-1<<5)+20|0);bwa(l+(k+-1<<5)+8|0);k=c[e+28556>>2]|0;l=c[e+28552>>2]|0;if(k>>>0<=1){Wpb(l);c[e+28552>>2]=0;c[e+28556>>2]=0;break}k=Xva(l,(k<<5)+-32|0)|0;if(!k)break;c[e+28552>>2]=k;c[e+28556>>2]=(c[e+28556>>2]|0)+-1}while(0);break}case 1:{s=a[q>>0]|0;r=q+1|0;t=q;j:do if((p|0)<1){if(c[e+28068>>2]&32|0)break;c[I+200>>2]=409;c[I+200+4>>2]=p;oob(z,506541,I+200|0)|0}else{o=p+-1|0;m=c[34620+(s<<24>>24<<2)>>2]|0;k:do if((o|0)>0){if(((s<<24>>24)+-1|0)>>>0<2){l=0;k=r;while(1){if(!(a[k>>0]|0)){if(m>>>0>(o-l|0)>>>0){l=0;break k}else l=1;do{if(a[k+l>>0]|0)break;l=l+1|0}while(l>>>0>>0);k=k+m|0;if((l|0)==(m|0)){B=172;break k}}else k=k+m|0;l=k-r|0;if((l|0)>=(o|0)){B=172;break k}}}switch(s<<24>>24|0){case 3:{l=0;k=r;while(1){if(!(a[k>>0]|0))break;k=k+m|0;l=k-r|0;if((l|0)>=(o|0)){B=172;break k}}if(m>>>0>(o-l|0)>>>0){l=0;break k}k=k+m|0;B=172;break k}case 0:{l=0;k=r;while(1){if(!(a[k>>0]|0))break;k=k+m|0;l=k-r|0;if((l|0)>=(o|0)){B=172;break k}}if(m>>>0>(o-l|0)>>>0){l=0;break k}k=k+m|0;B=172;break k}default:{l=0;k=r;while(1){if(!(a[k>>0]|0)){if(m>>>0>(o-l|0)>>>0){l=0;break k}k=k+m|0;switch(s<<24>>24|0){case 0:case 3:{B=172;break k}default:{}}}else k=k+m|0;l=k-r|0;if((l|0)>=(o|0)){B=172;break}}}}}else{k=r;B=172}while(0);if((B|0)==172){B=0;l=(k-r|0)>>>0>>0?k:0}do if(!(c[e+28068>>2]&32)){if((c[e+28064>>2]|0)<=3)break;switch(s<<24>>24|0){case 0:{k=506648;break}case 1:{k=506637;break}case 2:{k=506627;break}case 3:{k=506621;break}default:k=506612}c[I+208>>2]=k;oob(z,507386,I+208|0)|0}while(0);if(!l){if(c[e+28068>>2]&32|0)break;c[I+216>>2]=416;oob(z,507424,I+216|0)|0;break}k=Xva(c[e+28568>>2]|0,(c[e+28572>>2]<<5)+32|0)|0;do if(k|0){c[e+28568>>2]=k;m=c[e+28572>>2]|0;c[e+28572>>2]=m+1;awa(k+(m<<5)+20|0);awa(k+(m<<5)+8|0);c[k+(m<<5)>>2]=0;b[k+(m<<5)+4>>1]=0;a[k+(m<<5)+6>>0]=0;k=(c[e+28572>>2]|0)+-1|0;m=c[e+28568>>2]|0;if(!(m+(k<<5)|0))break;o=c[I+328>>2]|0;a[m+(k<<5)+3>>0]=o;a[m+(k<<5)+3+1>>0]=o>>8;a[m+(k<<5)+3+2>>0]=o>>16;a[m+(k<<5)+3+3>>0]=o>>24;awa(I+336+20|0);awa(A);c[I+336>>2]=0;b[I+336+4>>1]=0;a[I+336+6>>0]=0;o=l;w=c[e+28068>>2]|0;cwa(m+(k<<5)+8|0,q,o-r+1|0,w>>>5&1^1,w&2048);cwa(A,q,o-r+1|0,(c[e+28068>>2]|0)>>>5&1^1,0);r=l+-1|0;a[r>>0]=s;o=p+1+t-o|0;w=c[e+28068>>2]|0;cwa(m+(k<<5)+20|0,r,o,w>>>5&1^1,w&2048);l:do if(c[I+336+16>>2]|0){k=c[A>>2]|0;do if(!(Anb(k,507536,17)|0)){do if(!(c[e+28068>>2]&32)){if((c[e+28064>>2]|0)<=2)break;ppb(507554,37,1,z)|0;k=c[A>>2]|0}while(0);if(!(tnb(k,507592)|0)){l=1;m=0;break}if(!(tnb(k,507614)|0)){l=0;m=0}else break l}else{if(Anb(k,507636,17)|0)break l;do if(!(c[e+28068>>2]&32)){if((c[e+28064>>2]|0)<=2)break;ppb(507654,37,1,z)|0;k=c[A>>2]|0}while(0);if(!(tnb(k,507692)|0)){l=1;m=1;break}if(!(tnb(k,507714)|0)){l=0;m=1}else break l}while(0);k=e+19816+(m<<2)|0;if((c[k>>2]|0)>=3)break;cwa(I+336+20|0,r,o,(c[e+28068>>2]|0)>>>5&1^1,0);if(!(c[I+336+28>>2]|0))break;n=+Epb(c[I+336+20>>2]|0);do if(!l){g[e+19824+(m<<2)>>2]=n;if(c[e+28068>>2]&32|0)break;if((c[e+28064>>2]|0)<=2)break;h[I+240>>3]=n;oob(z,507755,I+240|0)|0}else{g[e+19832+(m<<2)>>2]=n;if(c[e+28068>>2]&32|0)break;if((c[e+28064>>2]|0)<=2)break;h[I+232>>3]=n;oob(z,507736,I+232|0)|0}while(0);c[k>>2]=2}while(0);bwa(I+336+20|0);bwa(A);break j}while(0);if(c[e+28068>>2]&32|0)break;c[I+224>>2]=422;oob(z,507484,I+224|0)|0}while(0);break}case 2:{do if(!(c[e+28068>>2]&32)){if((c[e+28064>>2]|0)<=2)break;c[I+248>>2]=q;oob(z,507776,I+248|0)|0}while(0);do if(!(Anb(q,507808,5)|0))B=219;else{if(!(Anb(q,507814,10)|0)){B=219;break}if(!(Anb(q,507825,4)|0))B=219;else m=0}while(0);if((B|0)==219){B=0;m=1}l=e+19816+(m<<2)|0;if((c[l>>2]|0)>=4)break f;k=rnb(q)|0;if((a[q+(k+1)>>0]|0)!=1)break f;n=+(a[q+(k+2)>>0]<<8|d[q+(k+3)>>0]|0)*.001953125;g[e+19824+(m<<2)>>2]=n;do if(!(c[e+28068>>2]&32)){if((c[e+28064>>2]|0)<=2)break;h[I+256>>3]=n;oob(z,507364,I+256|0)|0}while(0);g[e+19832+(m<<2)>>2]=0.0;c[l>>2]=3;break}case -1:{k=Xva(c[e+28560>>2]|0,(c[e+28564>>2]<<5)+32|0)|0;if(!k)k=0;else{c[e+28560>>2]=k;w=c[e+28564>>2]|0;c[e+28564>>2]=w+1;awa(k+(w<<5)+20|0);awa(k+(w<<5)+8|0);c[k+(w<<5)>>2]=0;b[k+(w<<5)+4>>1]=0;a[k+(w<<5)+6>>0]=0;k=(c[e+28560>>2]|0)+((c[e+28564>>2]|0)+-1<<5)|0}do if(!(c[e+28068>>2]&32)){if((c[e+28064>>2]|0)<=3)break;switch(a[q>>0]|0){case 0:{l=506648;break}case 1:{l=506637;break}case 2:{l=506627;break}case 3:{l=506621;break}default:l=506612}c[I+264>>2]=l;oob(z,507830,I+264|0)|0}while(0);if(!k){if(c[e+28068>>2]&32|0)break f;c[I+272>>2]=302;oob(z,507867,I+272|0)|0;break f}w=k+3|0;v=c[I+328>>2]|0;a[w>>0]=v;a[w+1>>0]=v>>8;a[w+2>>0]=v>>16;a[w+3>>0]=v>>24;k=k+20|0;w=c[e+28068>>2]|0;cwa(k,q,p,w>>>5&1^1,w&2048);if(c[e+28068>>2]&32|0)break f;if((c[e+28064>>2]|0)<=3)break f;v=c[I+328>>2]|0;w=c[k>>2]|0;c[I+280>>2]=v<<24>>24;c[I+280+4>>2]=v>>>8<<24>>24;c[I+280+8>>2]=v<<8>>24;c[I+280+12>>2]=v>>24;c[I+280+16>>2]=w;oob(z,507913,I+280|0)|0;break}default:{if(c[e+28068>>2]&32|0)break f;c[I+304>>2]=786;c[I+304+4>>2]=w;oob(z,507950,I+304|0)|0}}while(0);if(x)break;Wpb(q)}while(0);if(j>>>0>=y>>>0)break b}if((B|0)==38){if(c[e+28068>>2]&32|0)break;c[I+80>>2]=666;c[I+80+4>>2]=I+328;oob(z,505766,I+80|0)|0;break}else if((B|0)==44){if(c[e+28068>>2]&32|0)break;c[I+96>>2]=673;oob(z,505887,I+96|0)|0;break}}while(0);j=1}else if((F&255)<<14|(E&255)<<21|(G&255)<<7|H&255)if((j|0)!=-10?(c[e+28068>>2]&32|0)==0:0){f=c[37151]|0;c[I+312>>2]=808;oob(f,507998,I+312|0)|0}while(0);Wpb(C)}else B=12;if((B|0)==12){do if(!(j&32)){if(k){C=c[37151]|0;c[I+40>>2]=599;c[I+40+4>>2]=f&255;c[I+40+8>>2]=D&255;oob(C,505572,I+40|0)|0;break}if((c[e+28064>>2]|0)>2)ppb(505528,43,1,c[37151]|0)|0}while(0);j=Xi[c[(c[e+27956>>2]|0)+20>>2]&511](e,(F&255)<<14|(E&255)<<21|(G&255)<<7|H&255)|0;j=(j|0)<0?j:1}if((D&16)==0|(j|0)<1){e=j;i=I;return e|0}e=Xi[c[(c[e+27956>>2]|0)+20>>2]&511](e,(F&255)<<14|(E&255)<<21|(G&255)<<7|H&255)|0;e=(e|0)<0?e:j;i=I;return e|0}function awa(a){a=a|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;return}function bwa(a){a=a|0;var b=0;b=c[a>>2]|0;if(b|0)Wpb(b);c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;return}function cwa(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0;l=i;i=i+48|0;if(!e){i=l;return}if(g|0){if(dwa(b,e)|0){mBb(c[b>>2]|0,d|0,e|0)|0;c[b+8>>2]=e;i=l;return}if(!f){i=l;return}b=c[37151]|0;c[l>>2]=203;oob(b,506801,l)|0;i=l;return}k=a[d>>0]|0;if((k&255)>3){if(f|0){j=c[37151]|0;c[l+8>>2]=227;c[l+8+4>>2]=k&255;oob(j,506864,l+8|0)|0}bwa(b)}else{j=c[34620+((k&255)<<2)>>2]|0;a:do if(k<<24>>24!=2&j>>>0<(e+-1|0)>>>0){g=e+-1|0;d=d+1|0;while(1){if(a[d>>0]|0){h=d;break a}g=g+-1|0;d=d+1|0;if(g>>>0<=j>>>0){h=d;break}}}else{h=d+1|0;g=e+-1|0}while(0);d=(g>>>0)%(j>>>0)|0;if(d){if(f|0){j=c[37151]|0;c[l+16>>2]=244;c[l+16+4>>2]=g;c[l+16+8>>2]=k&255;oob(j,506935,l+16|0)|0}g=g-d|0}kj[c[34636+((k&255)<<2)>>2]&127](b,h,g,f)}if(!((f|0)!=0&(c[b+8>>2]|0)==0)){i=l;return}b=c[37151]|0;c[l+32>>2]=215;oob(b,507133,l+32|0)|0;i=l;return}function dwa(a,b){a=a|0;b=b|0;var d=0;d=c[a+4>>2]|0;if(!b){if(d|0){d=c[a>>2]|0;if(d|0)Wpb(d)}c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;a=1;return a|0}if((d|0)==(b|0)){a=1;return a|0}d=Xva(c[a>>2]|0,b)|0;if(!d){a=0;return a|0}c[a>>2]=d;c[a+4>>2]=b;a=1;return a|0}function ewa(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;if(!f)l=0;else{h=0;g=f;do{g=((d[e+h>>0]|0)>>>7&255)+g|0;h=h+1|0}while((h|0)!=(f|0));l=g}k=l+1|0;if(!(dwa(b,k)|0)){bwa(b);return}g=c[b>>2]|0;if(f){j=0;do{i=e+j|0;h=a[i>>0]|0;if(h<<24>>24>-1){a[g>>0]=h;g=g+1|0}else{a[g>>0]=(h&255)>>>6|192;a[g+1>>0]=(d[i>>0]|0)&63|128;g=g+2|0}j=j+1|0}while((j|0)!=(f|0));g=c[b>>2]|0}a[g+l>>0]=0;c[b+8>>2]=k;return}function fwa(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0;n=i;i=i+32|0;c[n+16>>2]=e;c[n+12>>2]=f;m=(gwa(n+16|0,n+12|0)|0)==-1;l=c[n+12>>2]|0;a:do if(!(l&-2)){f=0;h=0}else{j=c[n+16>>2]|0;k=m?3:2;h=0;f=0;while(1){o=(d[j+(h+(m&1))>>0]|0)<<8;e=o|(d[j+(h+(m&1^1))>>0]|0);if((o&55296|0)==55296){if((h+3|0)>>>0>=l>>>0)break;if((a[j+(k+h)>>0]&-36)<<24>>24!=-36)break;e=4;h=h+2|0}else e=e>>>0<128?1:e>>>0<2048?2:3;f=e+f|0;h=h+2|0;if(h>>>0>=(l&-2)>>>0){h=l&-2;break a}}if(g){o=c[37151]|0;c[n>>2]=941;c[n+4>>2]=h;c[n+8>>2]=e;oob(o,507067,n)|0}}while(0);if(!(dwa(b,f+1|0)|0)){bwa(b);i=n;return}f=c[b>>2]|0;if(h){e=0;do{j=c[n+16>>2]|0;k=d[j+(e+(m&1))>>0]|0;l=a[j+(e+(m&1^1))>>0]|0;g=k<<8|l&255;do if((k<<8&55296|0)==55296){e=e+2|0;o=(d[j+(e+(m&1^1))>>0]|0|g<<10&1047552|(d[j+(e+(m&1))>>0]|0)<<8&768)+65536|0;a[f>>0]=o>>>18|240;a[f+1>>0]=o>>>12&63|128;a[f+2>>0]=o>>>6&63|128;a[f+3>>0]=o&63|128;f=f+4|0}else{if(g>>>0<128){a[f>>0]=l;f=f+1|0;break}if(g>>>0<2048){a[f>>0]=g>>>6|192;a[f+1>>0]=l&63|128;f=f+2|0;break}else{a[f>>0]=k>>>4|224;a[f+1>>0]=g>>>6&63|128;a[f+2>>0]=l&63|128;f=f+3|0;break}}while(0);e=e+2|0}while(e>>>0>>0);f=c[b>>2]|0}a[f+((c[b+4>>2]|0)+-1)>>0]=0;c[b+8>>2]=c[b+4>>2];i=n;return}function gwa(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;f=c[d>>2]|0;if(f>>>0<2)return 0;g=c[b>>2]|0;switch(a[g>>0]|0){case -1:{e=(a[g+1>>0]|0)==-2;if(e)e=e<<31>>31;else return 0;break}case -2:{if((a[g+1>>0]|0)==-1)e=1;else return 0;break}default:return 0}c[b>>2]=g+2;c[d>>2]=f+-2;b=gwa(b,d)|0;return ((b|0)==0?e:b)|0}function hwa(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;if(!(dwa(b,e+1|0)|0)){bwa(b);return}else{mBb(c[b>>2]|0,d|0,e|0)|0;a[(c[b>>2]|0)+e>>0]=0;c[b+8>>2]=e+1;return}}function iwa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;j=i;i=i+64|0;f=(b>>>19&2|0)==0?1:b>>>19&1^1;c[a+19672>>2]=f;c[a+19676>>2]=(b>>>19&2)>>>1^1;g=c[a+28068>>2]|0;if(!(g&128)){e=c[a+27820>>2]|0;if(!e)h=4;else if((e>>>19^b>>>19)&3|0)h=4}else h=4;do if((h|0)==4){c[a+19688>>2]=4-(b>>>17&3);if(((b>>>19&2)>>>1|0)==1){c[a+19704>>2]=(0-f&3)+(b>>>10&3);break}else{c[a+19704>>2]=(b>>>10&3)+6;break}}while(0);c[a+19696>>2]=b>>>16&1^1;c[a+19700>>2]=(b&61440)>>>12;c[a+19708>>2]=b>>>9&1;c[a+19712>>2]=b>>>8&1;c[a+19716>>2]=b>>>6&3;c[a+19720>>2]=b>>>4&3;c[a+19724>>2]=b>>>3&1;c[a+19728>>2]=b>>>2&1;c[a+19732>>2]=b&3;c[a+19776>>2]=(b&61440|0)==0&1;c[a+19652>>2]=(b>>>6&3|0)==3?1:2;a:do if(!(b&61440)){e=c[a+19780>>2]|0;if((e|0)>=0){c[a+19736>>2]=(b>>>9&1)+e;break}h=c[d>>2]|0;c[d>>2]=h+1;if((h|0)>4){if(g&32|0){a=0;i=j;return a|0}if((c[a+28064>>2]|0)<=2){a=0;i=j;return a|0}a=c[37151]|0;c[j>>2]=728;oob(a,508277,j)|0;a=0;i=j;return a|0}b:do if(!(c[a+27976>>2]&12))if(!(g&32)){h=c[37151]|0;c[j+8>>2]=634;oob(h,508373,j+8|0)|0;h=23}else h=23;else{e=Xi[c[(c[a+27956>>2]|0)+12>>2]&511](a,j+48|0)|0;c:do if((e|0)<1)h=24;else{e=c[a+27956>>2]|0;f=4;while(1){e=Xi[c[e+16>>2]&511](a,j+48|0)|0;if((e|0)<1){h=24;break c}if(!((c[a+27820>>2]^c[j+48>>2])&-66320)){e=f;h=20;break}f=f+1|0;e=c[a+27956>>2]|0;if((f|0)>=3460){h=22;break}}if((h|0)==20){Xi[c[(c[a+27956>>2]|0)+28>>2]&511](a,e+1|0)|0;c[a+19736>>2]=e+-3;e=e+-3|0;break}else if((h|0)==22){Xi[c[e+28>>2]&511](a,f)|0;h=23;break b}}while(0);d:do if((h|0)==24)switch(e|0){case 1:{e=c[a+19736>>2]|0;break d}case -10:{a=-10;i=j;return a|0}default:break b}while(0);e=e-(c[a+19708>>2]|0)|0;c[a+19780>>2]=e;if(c[a+28068>>2]&32|0)break a;if((c[a+28064>>2]|0)<=1)break a;h=c[37151]|0;c[j+16>>2]=e;oob(h,508475,j+16|0)|0;break a}while(0);if((h|0)==23)e=0;if(c[a+28068>>2]&32|0){a=e;i=j;return a|0}if((c[a+28064>>2]|0)<=2){a=e;i=j;return a|0}a=c[37151]|0;c[j+24>>2]=743;oob(a,508509,j+24|0)|0;a=e;i=j;return a|0}while(0);e=c[a+19688>>2]|0;switch(e|0){case 1:{c[a+19692>>2]=1502;if(!(c[a+19776>>2]|0))c[a+19736>>2]=((c[a+19708>>2]|0)+(((c[33904+((c[a+19672>>2]|0)*192|0)+(c[a+19700>>2]<<2)>>2]|0)*12e3|0)/(c[34288+(c[a+19704>>2]<<2)>>2]|0)|0)<<2)+-4;break}case 2:{c[a+19692>>2]=1503;if(!(c[a+19776>>2]|0))c[a+19736>>2]=(((c[33904+((c[a+19672>>2]|0)*192|0)+64+(c[a+19700>>2]<<2)>>2]|0)*144e3|0)/(c[34288+(c[a+19704>>2]<<2)>>2]|0)|0)+-4+(c[a+19708>>2]|0);break}case 3:{c[a+19692>>2]=1504;e=c[a+19672>>2]|0;f=(c[a+19652>>2]|0)==1;f=(e|0)==0?(f?17:32):f?9:17;c[a+19864>>2]=f;if(c[a+19696>>2]|0)c[a+19864>>2]=f|2;if(!(c[a+19776>>2]|0))c[a+19736>>2]=(((c[33904+(e*192|0)+128+(c[a+19700>>2]<<2)>>2]|0)*144e3|0)/(c[34288+(c[a+19704>>2]<<2)>>2]<>2]|0);break}default:{if(c[a+28068>>2]&32|0){a=0;i=j;return a|0}a=c[37151]|0;c[j+32>>2]=800;c[j+32+4>>2]=e;oob(a,509130,j+32|0)|0;a=0;i=j;return a|0}}e=c[a+19736>>2]|0;if((e|0)<=3456){a=1;i=j;return a|0}if(c[a+28068>>2]&32|0){a=0;i=j;return a|0}h=c[37151]|0;a=e+4-(c[a+19708>>2]|0)|0;c[j+40>>2]=806;c[j+40+4>>2]=a;oob(h,509194,j+40|0)|0;a=0;i=j;return a|0}function jwa(a){a=a|0;var b=0,e=0,f=0,h=0,j=0,k=0.0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=i;i=i+768|0;e=c[a+19652>>2]|0;w=c[a+28592>>2]|0;b=c[a+19660>>2]|0;if((c[a+19716>>2]|0)==1)m=(c[a+19720>>2]<<2)+4|0;else m=32;c[a+19656>>2]=m;v=(e|0)==1|(b|0)==3?0:b;if((e|0)==2){j=(m|0)>0;if(j){b=c[a+19788>>2]|0;f=y+256|0;h=0;while(1){u=c[a+19784>>2]|0;e=(((d[b>>0]|0)<<8|(d[b+1>>0]|0))<<8|(d[b+2>>0]|0))<>>20&15;b=b+(u+4>>3)|0;c[a+19788>>2]=b;c[a+19784>>2]=u+4&7;c[f>>2]=e;e=c[a+19784>>2]|0;u=(((d[b>>0]|0)<<8|(d[b+1>>0]|0))<<8|(d[b+2>>0]|0))<>>20&15;c[a+19788>>2]=b+(e+4>>3);c[a+19784>>2]=e+4&7;c[f+4>>2]=u;h=h+1|0;if((h|0)==(m|0))break;else{b=b+(e+4>>3)|0;f=f+8|0}}if((m|0)<32){h=a+19784|0;b=b+(e+4>>3)|0;e=y+256+(m<<1<<2)|0;x=9}else{b=b+(e+4>>3)|0;l=0}}else{h=a+19784|0;b=c[a+19788>>2]|0;e=y+256|0;x=9}if((x|0)==9){f=m;while(1){t=c[h>>2]|0;u=(((d[b>>0]|0)<<8|(d[b+1>>0]|0))<<8|(d[b+2>>0]|0))<>>20&15;b=b+(t+4>>3)|0;c[a+19788>>2]=b;c[h>>2]=t+4&7;c[e>>2]=u;f=f+1|0;if((f|0)==32){l=1;break}else e=e+4|0}}if(j){f=y+256|0;h=0;e=y;while(1){if(c[f>>2]|0){t=c[a+19784>>2]|0;u=(((d[b>>0]|0)<<8|(d[b+1>>0]|0))<<8|(d[b+2>>0]|0))<>>18&63;b=b+(t+6>>3)|0;c[a+19788>>2]=b;c[a+19784>>2]=t+6&7;c[e>>2]=u;e=e+4|0}if(c[f+4>>2]|0){t=c[a+19784>>2]|0;u=(((d[b>>0]|0)<<8|(d[b+1>>0]|0))<<8|(d[b+2>>0]|0))<>>18&63;b=b+(t+6>>3)|0;c[a+19788>>2]=b;c[a+19784>>2]=t+6&7;c[e>>2]=u;e=e+4|0}h=h+1|0;if((h|0)==(m|0))break;else f=f+8|0}f=y+256+(m<<1<<2)|0}else{f=y+256|0;e=y}if(l){h=m;while(1){if(c[f>>2]|0){s=c[a+19784>>2]|0;t=(((d[b>>0]|0)<<8|(d[b+1>>0]|0))<<8|(d[b+2>>0]|0))<>>18&63;u=b+(s+6>>3)|0;c[a+19788>>2]=u;c[a+19784>>2]=s+6&7;c[e>>2]=t;b=c[a+19784>>2]|0;t=(((d[u>>0]|0)<<8|(d[u+1>>0]|0))<<8|(d[u+2>>0]|0))<>>18&63;c[a+19788>>2]=u+(b+6>>3);c[a+19784>>2]=b+6&7;c[e+4>>2]=t;b=u+(b+6>>3)|0;e=e+8|0}h=h+1|0;if((h|0)==32){s=a+19788|0;t=a+19784|0;break}else f=f+4|0}}else{s=a+19788|0;t=a+19784|0}}else{b=c[a+19788>>2]|0;e=y+256|0;f=0;while(1){t=c[a+19784>>2]|0;u=(((d[b>>0]|0)<<8|(d[b+1>>0]|0))<<8|(d[b+2>>0]|0))<>>20&15;b=b+(t+4>>3)|0;c[a+19788>>2]=b;c[a+19784>>2]=t+4&7;c[e>>2]=u;f=f+1|0;if((f|0)==32){f=y+256|0;h=0;e=y;break}else e=e+4|0}while(1){if(c[f>>2]|0){t=c[a+19784>>2]|0;u=(((d[b>>0]|0)<<8|(d[b+1>>0]|0))<<8|(d[b+2>>0]|0))<>>18&63;b=b+(t+6>>3)|0;c[a+19788>>2]=b;c[a+19784>>2]=t+6&7;c[e>>2]=u;e=e+4|0}h=h+1|0;if((h|0)==32){s=a+19788|0;t=a+19784|0;break}else f=f+4|0}}b=0;u=0;do{if((c[a+19652>>2]|0)==2){m=c[a+19656>>2]|0;if((m|0)>0){h=y+256|0;j=0;e=y+512|0;while(1){f=c[h>>2]|0;if(f){p=c[s>>2]|0;q=c[t>>2]|0;r=((((d[p>>0]|0)<<8|(d[p+1>>0]|0))<<8|(d[p+2>>0]|0))<>>(23-f|0);c[s>>2]=p+(f+1+q>>3);c[t>>2]=f+1+q&7;c[e>>2]=r;e=e+4|0}f=c[h+4>>2]|0;if(f){p=c[s>>2]|0;q=c[t>>2]|0;r=((((d[p>>0]|0)<<8|(d[p+1>>0]|0))<<8|(d[p+2>>0]|0))<>>(23-f|0);c[s>>2]=p+(f+1+q>>3);c[t>>2]=f+1+q&7;c[e>>2]=r;e=e+4|0}j=j+1|0;if((j|0)==(m|0))break;else h=h+8|0}if((m|0)<32){h=y+256+(m<<1<<2)|0;j=m;x=39}else r=0}else{h=y+256|0;j=m;e=y+512|0;x=39}if((x|0)==39)while(1){x=0;f=c[h>>2]|0;if(f){p=c[s>>2]|0;q=c[t>>2]|0;r=((((d[p>>0]|0)<<8|(d[p+1>>0]|0))<<8|(d[p+2>>0]|0))<>>(23-f|0);c[s>>2]=p+(f+1+q>>3);c[t>>2]=f+1+q&7;c[e>>2]=r;e=e+4|0}j=j+1|0;if((j|0)==32){r=1;break}else{h=h+4|0;x=39}}if((m|0)>0){n=y+256|0;o=w;p=w+128|0;q=0;e=y+512|0;f=y;while(1){h=c[n>>2]|0;if(!h){j=e;l=f;k=0.0}else{j=e+4|0;l=f+4|0;k=+((-1<>2]|0)|0)*+g[a+12440+(h+1<<8)+(c[f>>2]<<2)>>2]}g[o>>2]=k;h=c[n+4>>2]|0;if(!h){e=j;f=l;k=0.0}else{e=j+4|0;f=l+4|0;k=+((-1<>2]|0)|0)*+g[a+12440+(h+1<<8)+(c[l>>2]<<2)>>2]}g[p>>2]=k;q=q+1|0;if((q|0)==(m|0))break;else{n=n+8|0;o=o+4|0;p=p+4|0}}h=y+256+(m<<1<<2)|0;j=w+(m<<2)|0;l=w+128+(m<<2)|0}else{h=y+256|0;j=w;l=w+128|0;e=y+512|0;f=y}if(r){n=j;j=e;while(1){e=c[h>>2]|0;if(!e){g[l>>2]=0.0;g[n>>2]=0.0;e=j}else{k=+((-1<>2]|0)|0);g[n>>2]=k*+g[a+12440+(e+1<<8)+(c[f>>2]<<2)>>2];g[l>>2]=+g[a+12440+(e+1<<8)+(c[f+4>>2]<<2)>>2]*k;e=j+4|0;f=f+8|0}m=m+1|0;if((m|0)==32)break;else{h=h+4|0;n=n+4|0;l=l+4|0;j=e}}}e=c[a+19668>>2]|0;if((e|0)<32)do{g[w+128+(e<<2)>>2]=0.0;g[w+(e<<2)>>2]=0.0;e=e+1|0}while((e|0)!=32)}else{h=y+256|0;j=0;e=y+512|0;while(1){f=c[h>>2]|0;if(f){p=c[s>>2]|0;q=c[t>>2]|0;r=((((d[p>>0]|0)<<8|(d[p+1>>0]|0))<<8|(d[p+2>>0]|0))<>>(23-f|0);c[s>>2]=p+(f+1+q>>3);c[t>>2]=f+1+q&7;c[e>>2]=r;e=e+4|0}j=j+1|0;if((j|0)==32){j=y+256|0;l=w;m=0;f=y+512|0;h=y;break}else h=h+4|0}while(1){e=c[j>>2]|0;if(!e){n=f;o=h;k=0.0}else{n=f+4|0;o=h+4|0;k=+((-1<>2]|0)|0)*+g[a+12440+(e+1<<8)+(c[h>>2]<<2)>>2]}g[l>>2]=k;m=m+1|0;if((m|0)==32)break;else{j=j+4|0;l=l+4|0;f=n;h=o}}e=c[a+19668>>2]|0;if((e|0)<32)hBb(w+(e<<2)|0,0,128-(e<<2)|0)|0}if((v|0)==-1)e=Gi[c[a+19640>>2]&255](w,w+128|0,a)|0;else e=Xi[c[a+19644>>2]&511](w+(v<<7)|0,a)|0;b=e+b|0;u=u+1|0}while((u|0)!=12);i=y;return b|0}function kwa(a){a=a|0;var e=0,f=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0.0,C=0,D=0,E=0;A=i;i=i+1280|0;k=c[a+19652>>2]|0;z=c[a+28596>>2]|0;l=c[a+19660>>2]|0;e=c[a+19704>>2]|0;if((e|0)>2)e=4;else e=c[34652+(e<<7)+(2-k<<6)+(c[a+19700>>2]<<2)>>2]|0;f=c[35036+(e<<2)>>2]|0;h=c[35056+(e<<2)>>2]|0;c[a+19632>>2]=h;c[a+19664>>2]=f;if((c[a+19716>>2]|0)==1){e=(c[a+19720>>2]<<2)+4|0;c[a+19656>>2]=e;if((e|0)>(f|0)){ppb(508594,46,1,c[37151]|0)|0;e=c[a+19664>>2]|0;c[a+19656>>2]=e;j=c[a+19652>>2]|0;n=e;y=a+19656|0;o=c[a+19632>>2]|0}else{j=k;n=f;y=a+19656|0;o=h}}else{c[a+19656>>2]=f;j=k;n=f;y=a+19656|0;e=f;o=h}x=(k|0)==1|(l|0)==3?0:l;w=j+-1|0;j=n<>2]|0;h=o;k=A+768|0;l=n;while(1){f=b[h>>1]|0;v=c[a+19784>>2]|0;w=(((d[e>>0]<<8|d[e+1>>0])<<8|d[e+2>>0])<>>(24-f|0);e=e+(v+f>>3)|0;c[a+19788>>2]=e;c[a+19784>>2]=v+f&7;c[k>>2]=w<<24>>24;l=l+-1|0;if(!l)break;else{h=h+(1<>2]|0){v=c[a+19784>>2]|0;w=d[e>>0]<>2]=w;w=(d[e+1>>0]<>>8|w)>>>6;c[a+19792>>2]=w;e=e+(v+2>>3)|0;c[a+19788>>2]=e;c[a+19784>>2]=v+2&7;c[f>>2]=w<<24>>24;f=f+4|0}h=h+-1|0;if(!h){m=27;break}else k=k+4|0}}else{if(!e){f=o;h=A+768|0}else{h=c[a+19788>>2]|0;f=o;k=A+768|0;l=e;while(1){w=b[f>>1]|0;v=c[a+19784>>2]|0;u=(((d[h>>0]<<8|d[h+1>>0])<<8|d[h+2>>0])<>>(24-w|0);t=h+(v+w>>3)|0;c[a+19788>>2]=t;c[a+19784>>2]=v+w&7;c[k>>2]=u<<24>>24;u=c[a+19784>>2]|0;v=(((d[t>>0]<<8|d[t+1>>0])<<8|d[t+2>>0])<>>(24-w|0);h=t+(u+w>>3)|0;c[a+19788>>2]=h;c[a+19784>>2]=u+w&7;c[k+4>>2]=v<<24>>24;l=l+-1|0;f=f+(1<>2]|0;k=h;h=n-e|0;while(1){e=b[f>>1]|0;v=c[a+19784>>2]|0;w=(((d[l>>0]<<8|d[l+1>>0])<<8|d[l+2>>0])<>>(24-e|0);l=l+(v+e>>3)|0;c[a+19788>>2]=l;c[a+19784>>2]=v+e&7;c[k>>2]=w<<24>>24;c[k+4>>2]=w<<24>>24;h=h+-1|0;if(!h)break;else{f=f+(1<>2]|0){u=c[a+19788>>2]|0;v=c[a+19784>>2]|0;w=d[u>>0]<>2]=w;w=(d[u+1>>0]<>>8|w)>>>6;c[a+19792>>2]=w;c[a+19788>>2]=u+(v+2>>3);c[a+19784>>2]=v+2&7;c[e>>2]=w<<24>>24;e=e+4|0}h=h+-1|0;if(!h){m=27;break}else f=f+4|0}}}if((m|0)==27)if(j|0){f=A;k=A+768|0;h=A+1024|0;while(1){a:do if(!(c[k>>2]|0))e=h;else{e=h+4|0;switch(c[h>>2]|0){case 0:{t=c[a+19788>>2]|0;u=c[a+19784>>2]|0;w=d[t>>0]<>2]=w;w=(d[t+1>>0]<>>8|w)>>>2;c[a+19792>>2]=w;c[a+19788>>2]=t+(u+6>>3);c[a+19784>>2]=u+6&7;c[f>>2]=w;w=c[a+19784>>2]|0;v=d[t+(u+6>>3)>>0]<>2]=v;v=(d[t+(u+6>>3)+1>>0]<>>8|v)>>>2;c[a+19792>>2]=v;u=t+(u+6>>3)+(w+6>>3)|0;c[a+19788>>2]=u;c[a+19784>>2]=w+6&7;c[f+4>>2]=v;v=c[a+19784>>2]|0;w=d[u>>0]<>2]=w;w=(d[u+1>>0]<>>8|w)>>>2;c[a+19792>>2]=w;c[a+19788>>2]=u+(v+6>>3);c[a+19784>>2]=v+6&7;c[f+8>>2]=w;f=f+12|0;break a}case 1:{t=c[a+19788>>2]|0;u=c[a+19784>>2]|0;v=d[t>>0]<>2]=v;v=(d[t+1>>0]<>>8|v)>>>2;c[a+19792>>2]=v;c[a+19788>>2]=t+(u+6>>3);c[a+19784>>2]=u+6&7;c[f>>2]=v;c[f+4>>2]=v;v=c[a+19784>>2]|0;w=d[t+(u+6>>3)>>0]<>2]=w;w=(d[t+(u+6>>3)+1>>0]<>>8|w)>>>2;c[a+19792>>2]=w;c[a+19788>>2]=t+(u+6>>3)+(v+6>>3);c[a+19784>>2]=v+6&7;c[f+8>>2]=w;f=f+12|0;break a}case 2:{u=c[a+19788>>2]|0;v=c[a+19784>>2]|0;w=d[u>>0]<>2]=w;w=(d[u+1>>0]<>>8|w)>>>2;c[a+19792>>2]=w;c[a+19788>>2]=u+(v+6>>3);c[a+19784>>2]=v+6&7;c[f>>2]=w;c[f+4>>2]=w;c[f+8>>2]=w;f=f+12|0;break a}default:{t=c[a+19788>>2]|0;u=c[a+19784>>2]|0;v=d[t>>0]<>2]=v;v=(d[t+1>>0]<>>8|v)>>>2;c[a+19792>>2]=v;c[a+19788>>2]=t+(u+6>>3);c[a+19784>>2]=u+6&7;c[f>>2]=v;v=c[a+19784>>2]|0;w=d[t+(u+6>>3)>>0]<>2]=w;w=(d[t+(u+6>>3)+1>>0]<>>8|w)>>>2;c[a+19792>>2]=w;c[a+19788>>2]=t+(u+6>>3)+(v+6>>3);c[a+19784>>2]=v+6&7;c[f+4>>2]=w;c[f+8>>2]=w;f=f+12|0;break a}}}while(0);k=k+4|0;j=j+-1|0;if(!j)break;else h=e}}h=o;e=0;w=0;while(1){t=w>>2;v=c[a+19652>>2]|0;u=c[a+19664>>2]|0;n=c[y>>2]|0;if((n|0)>0){f=A;j=A+768|0;q=0;do{p=b[h>>1]|0;if((v|0)>0){m=j;o=0;do{k=c[m>>2]|0;m=m+4|0;if(!k){g[z+(o<<9)+256+(q<<2)>>2]=0.0;g[z+(o<<9)+128+(q<<2)>>2]=0.0;g[z+(o<<9)+(q<<2)>>2]=0.0}else{l=b[h+(k<<2)>>1]|0;k=b[h+(k<<2)+2>>1]|0;if(k<<16>>16<0){B=+g[a+12440+(l<<8)+(c[f+(t<<2)>>2]<<2)>>2];D=c[a+19788>>2]|0;r=c[a+19784>>2]|0;s=(((d[D>>0]<<8|d[D+1>>0])<<8|d[D+2>>0])<>>(24-l|0);D=D+(r+l>>3)|0;c[a+19788>>2]=D;c[a+19784>>2]=r+l&7;g[z+(o<<9)+(q<<2)>>2]=+(s+(k<<16>>16)|0)*B;s=(((d[D>>0]<<8|d[D+1>>0])<<8|d[D+2>>0])<<(r+l&7)&16777215)>>>(24-l|0);D=D+((r+l&7)+l>>3)|0;c[a+19788>>2]=D;C=r+l+l&7;c[a+19784>>2]=C;g[z+(o<<9)+128+(q<<2)>>2]=+(s+(k<<16>>16)|0)*B;s=(((d[D>>0]<<8|d[D+1>>0])<<8|d[D+2>>0])<>>(24-l|0);c[a+19788>>2]=D+(C+l>>3);c[a+19784>>2]=r+l+l+l&7;g[z+(o<<9)+256+(q<<2)>>2]=+(s+(k<<16>>16)|0)*B}else{r=A+1024|0;s=r+36|0;do{c[r>>2]=0;r=r+4|0}while((r|0)<(s|0));c[A+1024+12>>2]=663312;c[A+1024+20>>2]=663696;c[A+1024+36>>2]=665232;D=c[f+(t<<2)>>2]|0;r=c[a+19788>>2]|0;s=c[a+19784>>2]|0;C=(((d[r>>0]<<8|d[r+1>>0])<<8|d[r+2>>0])<>>(24-l|0);c[a+19788>>2]=r+(s+l>>3);c[a+19784>>2]=s+l&7;C=(c[A+1024+(k<<16>>16<<2)>>2]|0)+(C<<2)+(C<<2)+(C<<2)|0;c[z+(o<<9)+(q<<2)>>2]=c[a+12440+(c[C>>2]<<8)+(D<<2)>>2];c[z+(o<<9)+128+(q<<2)>>2]=c[a+12440+(c[C+4>>2]<<8)+(D<<2)>>2];c[z+(o<<9)+256+(q<<2)>>2]=c[a+12440+(c[C+4+4>>2]<<8)+(D<<2)>>2]}f=f+12|0}o=o+1|0}while((o|0)!=(v|0));j=j+(v<<2)|0}q=q+1|0;h=h+(1<>1]|0;k=c[j+4>>2]|0;j=j+8|0;if(!k){g[z+768+(n<<2)>>2]=0.0;g[z+640+(n<<2)>>2]=0.0;g[z+512+(n<<2)>>2]=0.0;g[z+256+(n<<2)>>2]=0.0;g[z+128+(n<<2)>>2]=0.0;g[z+(n<<2)>>2]=0.0}else{l=b[h+(k<<2)>>1]|0;k=b[h+(k<<2)+2>>1]|0;if(k<<16>>16<0){B=+g[a+12440+(l<<8)+(c[f+(t+3<<2)>>2]<<2)>>2];E=c[a+19788>>2]|0;D=c[a+19784>>2]|0;p=(((d[E>>0]<<8|d[E+1>>0])<<8|d[E+2>>0])<>>(24-l|0);E=E+(D+l>>3)|0;c[a+19788>>2]=E;c[a+19784>>2]=D+l&7;q=z+(n<<2)|0;g[q>>2]=+(p+(k<<16>>16)|0);r=(((d[E>>0]<<8|d[E+1>>0])<<8|d[E+2>>0])<<(D+l&7)&16777215)>>>(24-l|0);E=E+((D+l&7)+l>>3)|0;c[a+19788>>2]=E;o=D+l+l&7;c[a+19784>>2]=o;s=z+128+(n<<2)|0;g[s>>2]=+(r+(k<<16>>16)|0);C=(((d[E>>0]<<8|d[E+1>>0])<<8|d[E+2>>0])<>>(24-l|0);c[a+19788>>2]=E+(o+l>>3);c[a+19784>>2]=D+l+l+l&7;D=z+256+(n<<2)|0;g[D>>2]=+(C+(k<<16>>16)|0);g[z+512+(n<<2)>>2]=+(p+(k<<16>>16)|0)*B;g[z+640+(n<<2)>>2]=+(r+(k<<16>>16)|0)*B;g[z+768+(n<<2)>>2]=+(C+(k<<16>>16)|0)*B;B=+g[a+12440+(l<<8)+(c[f+(t<<2)>>2]<<2)>>2];g[q>>2]=B*+(p+(k<<16>>16)|0);g[s>>2]=B*+(r+(k<<16>>16)|0);g[D>>2]=+(C+(k<<16>>16)|0)*B}else{r=A+1024|0;s=r+36|0;do{c[r>>2]=0;r=r+4|0}while((r|0)<(s|0));c[A+1024+12>>2]=663312;c[A+1024+20>>2]=663696;c[A+1024+36>>2]=665232;C=c[f+(t<<2)>>2]|0;E=c[f+(t+3<<2)>>2]|0;r=c[a+19788>>2]|0;s=c[a+19784>>2]|0;D=(((d[r>>0]<<8|d[r+1>>0])<<8|d[r+2>>0])<>>(24-l|0);c[a+19788>>2]=r+(s+l>>3);c[a+19784>>2]=s+l&7;D=(c[A+1024+(k<<16>>16<<2)>>2]|0)+(D<<2)+(D<<2)+(D<<2)|0;s=c[D>>2]|0;c[z+(n<<2)>>2]=c[a+12440+(s<<8)+(C<<2)>>2];c[z+512+(n<<2)>>2]=c[a+12440+(s<<8)+(E<<2)>>2];s=c[D+4>>2]|0;c[z+128+(n<<2)>>2]=c[a+12440+(s<<8)+(C<<2)>>2];c[z+640+(n<<2)>>2]=c[a+12440+(s<<8)+(E<<2)>>2];D=c[D+4+4>>2]|0;c[z+256+(n<<2)>>2]=c[a+12440+(D<<8)+(C<<2)>>2];c[z+768+(n<<2)>>2]=c[a+12440+(D<<8)+(E<<2)>>2]}f=f+24|0}n=n+1|0;if((n|0)==(u|0))break;else h=h+(1<>2]|0;f=(u|0)>(f|0)?f:u;if((v|0)>0&(f|0)<32)do{h=0;do{g[z+(h<<9)+256+(f<<2)>>2]=0.0;g[z+(h<<9)+128+(f<<2)>>2]=0.0;g[z+(h<<9)+(f<<2)>>2]=0.0;h=h+1|0}while((h|0)!=(v|0));f=f+1|0}while((f|0)<32);if((x|0)==-1){e=(Gi[c[a+19640>>2]&255](z,z+512|0,a)|0)+e|0;e=(Gi[c[a+19640>>2]&255](z+128|0,z+640|0,a)|0)+e|0;e=(Gi[c[a+19640>>2]&255](z+256|0,z+768|0,a)|0)+e|0}else{e=(Xi[c[a+19644>>2]&511](z+(x<<9)|0,a)|0)+e|0;e=(Xi[c[a+19644>>2]&511](z+(x<<9)+128|0,a)|0)+e|0;e=(Xi[c[a+19644>>2]&511](z+(x<<9)+256|0,a)|0)+e|0}f=w+1|0;if((f|0)==12)break;h=c[a+19632>>2]|0;w=f}i=A;return e|0}function lwa(b){b=b|0;var f=0,h=0,j=0,k=0,l=0,m=0.0,n=0.0,o=0,p=0,q=0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0.0,Y=0.0;W=i;i=i+736|0;P=c[b+19652>>2]|0;U=c[b+19660>>2]|0;R=c[b+19704>>2]|0;V=(P|0)==1?1:(U|0)==-1?2:1;U=(P|0)==1?0:U;if((c[b+19716>>2]|0)==1){T=c[b+19720>>2]|0;S=T&1;T=T>>>1&1}else{S=0;T=0}I=c[b+19672>>2]|0;Q=I|0?1:2;J=(U|0)==3?4:0;o=c[35076+(I*20|0)+4>>2]|0;k=c[b+19788>>2]|0;f=c[b+19784>>2]|0;h=((((d[k>>0]|0)<<8|(d[k+1>>0]|0))<<8|(d[k+2>>0]|0))<>>(24-o|0);k=k+(f+o>>3)|0;c[b+19788>>2]=k;f=f+o&7;c[b+19784>>2]=f;c[W+48>>2]=h;j=c[b+19868>>2]|0;if(h>>>0>j>>>0){if(!(c[b+27904>>2]|0))if(!(c[b+28068>>2]&32))if((c[b+28064>>2]|0)>1){f=c[37151]|0;k=c[b+19748>>2]|0;c[W>>2]=h-j;c[W+4>>2]=k;oob(f,508641,W)|0;f=c[b+19784>>2]|0;h=c[b+19788>>2]|0;k=c[b+19672>>2]|0;j=c[b+19868>>2]|0}else{h=k;k=I}else{h=k;k=I}else{h=k;k=I}N=f-o|0;f=h+(N>>3)|0;c[b+19788>>2]=f;c[b+19784>>2]=N&7;if(!k){a[f>>0]=j>>>1;a[(c[b+19788>>2]|0)+1>>0]=c[b+19868>>2]<<7}else a[f>>0]=j;hBb((c[b+19788>>2]|0)+2|0,0,(c[b+19864>>2]|0)+-2|0)|0;k=c[b+19788>>2]|0;f=c[b+19784>>2]|0;l=((((d[k>>0]|0)<<8|(d[k+1>>0]|0))<<8|(d[k+2>>0]|0))<>>(24-o|0);c[b+19788>>2]=k+(f+o>>3);c[b+19784>>2]=f+o&7;c[W+48>>2]=l;l=b+19864|0;j=c[b+19868>>2]|0;h=c[b+19672>>2]|0;k=k+(f+o>>3)|0;f=f+o&7}else{l=b+19864|0;h=I}M=(c[b+19736>>2]|0)+j-(c[l>>2]|0)+(c[b+19696>>2]|0?-2:0)|0;N=(h|0)==0;h=N?511:255;c[b+19868>>2]=M>>>0>h>>>0?h:M;M=(d[k>>0]|0)<>2]=M;h=c[((P|0)==1?35076+(I*20|0)+8|0:35076+(I*20|0)+12|0)>>2]|0;M=((d[k+1>>0]|0)<>>8|M)<>>8;c[b+19792>>2]=M;h=h+f|0;f=k+(h>>3)|0;c[b+19788>>2]=f;c[b+19784>>2]=h&7;c[W+48+4>>2]=M;if((P|0)>0&N){h=h&7;j=0;while(1){c[W+48+8+(j*184|0)>>2]=-1;N=(d[f>>0]|0)<>2]=N;N=((d[f+1>>0]|0)<>>8|N)>>>4;c[b+19792>>2]=N;h=h+4|0;f=f+(h>>>3)|0;c[b+19788>>2]=f;c[b+19784>>2]=h&7;c[W+48+8+(j*184|0)+92>>2]=N;j=j+1|0;if((j|0)==(P|0)){h=h&7;break}else h=h&7}}else h=h&7;a:do if((I|1|0)==1){G=c[37151]|0;H=(T|0)==0;F=0;b:while(1){if((P|0)>0){q=c[35076+(I*20|0)+16>>2]|0;p=0;while(1){k=h+12|0;N=(((d[f>>0]|0)<<8|(d[f+1>>0]|0))<<8|(d[f+2>>0]|0))<>>12&4095;j=f+(k>>3)|0;c[b+19788>>2]=j;c[b+19784>>2]=k&7;c[W+48+8+(p*184|0)+(F*92|0)+4>>2]=N;N=(((d[j>>0]|0)<<8|(d[j+1>>0]|0))<<8|(d[j+2>>0]|0))<<(k&7)>>>15&511;c[b+19788>>2]=j+(((k&7)+9|0)>>>3);f=h+5&7;c[b+19784>>2]=f;l=W+48+8+(p*184|0)+(F*92|0)+8|0;c[l>>2]=N;if(N>>>0>288){if(!(c[b+28068>>2]&32)){c[W+8>>2]=454;oob(G,508696,W+8|0)|0;h=c[b+19788>>2]|0;f=c[b+19784>>2]|0}else h=j+(((k&7)+9|0)>>>3)|0;c[l>>2]=288}else h=j+(((k&7)+9|0)>>>3)|0;k=(d[h>>0]|0)<>2]=k;k=((d[h+1>>0]|0)<>>8;c[b+19792>>2]=k;o=f+8|0;f=h+(o>>3)|0;c[b+19788>>2]=f;c[b+19784>>2]=o&7;k=H?b+11952+(0-k<<2)+(J<<2)|0:b+11952+(0-k<<2)+(J<<2)+8|0;c[W+48+8+(p*184|0)+(F*92|0)+88>>2]=k;N=((((d[f>>0]|0)<<8|(d[f+1>>0]|0))<<8|(d[f+2>>0]|0))<<(o&7)&16777215)>>>(24-q|0);c[b+19788>>2]=f+((o&7)+q>>3);c[b+19784>>2]=o+q&7;c[W+48+8+(p*184|0)+(F*92|0)+12>>2]=N;N=(d[f+((o&7)+q>>3)>>0]|0)<<(o+q&7)&255;a[b+19796>>0]=N;f=f+((o&7)+q>>3)+(((o+q&7)+1|0)>>>3)|0;c[b+19788>>2]=f;j=o+q+1&7;c[b+19784>>2]=j;h=(d[f>>0]|0)<>2]=h;h=(d[f+1>>0]|0)<>>8|h;do if(N<<24>>24<0){c[b+19792>>2]=h>>>6;c[b+19788>>2]=f+((j+2|0)>>>3);c[b+19784>>2]=o+q+3&7;N=W+48+8+(p*184|0)+(F*92|0)+16|0;c[N>>2]=h>>>6;h=(d[f+((j+2|0)>>>3)>>0]|0)<<(o+q+3&7);a[b+19796>>0]=h;f=f+((j+2|0)>>>3)+(((o+q+3&7)+1|0)>>>3)|0;c[b+19788>>2]=f;c[b+19784>>2]=o+q+4&7;l=W+48+8+(p*184|0)+(F*92|0)+20|0;c[l>>2]=h>>>7&1;h=(d[f>>0]|0)<<(o+q+4&7)&255;c[b+19792>>2]=h;h=((d[f+1>>0]|0)<<(o+q+4&7)>>>8|h)>>>3;c[b+19792>>2]=h;f=f+(((o+q+4&7)+5|0)>>>3)|0;c[b+19788>>2]=f;c[b+19784>>2]=j;c[W+48+8+(p*184|0)+(F*92|0)+24>>2]=h;h=(d[f>>0]|0)<>2]=h;h=((d[f+1>>0]|0)<>>8|h)>>>3;c[b+19792>>2]=h;c[b+19788>>2]=f+((j+5|0)>>>3);c[b+19784>>2]=o+q+6&7;c[W+48+8+(p*184|0)+(F*92|0)+28>>2]=h;c[W+48+8+(p*184|0)+(F*92|0)+32>>2]=0;h=(d[f+((j+5|0)>>>3)>>0]|0)<<(o+q+6&7)&255;c[b+19792>>2]=h;h=((d[f+((j+5|0)>>>3)+1>>0]|0)<<(o+q+6&7)>>>8|h)>>>5;c[b+19792>>2]=h;f=f+((j+5|0)>>>3)+(((o+q+6&7)+3|0)>>>3)|0;c[b+19788>>2]=f;c[b+19784>>2]=o+q+1&7;c[W+48+8+(p*184|0)+(F*92|0)+76>>2]=k+(h<<3<<2);h=(d[f>>0]|0)<<(o+q+1&7)&255;c[b+19792>>2]=h;h=((d[f+1>>0]|0)<<(o+q+1&7)>>>8|h)>>>5;c[b+19792>>2]=h;f=f+(((o+q+1&7)+3|0)>>>3)|0;c[b+19788>>2]=f;c[b+19784>>2]=o+q+4&7;c[W+48+8+(p*184|0)+(F*92|0)+80>>2]=k+(h<<3<<2);h=(d[f>>0]|0)<<(o+q+4&7)&255;c[b+19792>>2]=h;h=((d[f+1>>0]|0)<<(o+q+4&7)>>>8|h)>>>5;c[b+19792>>2]=h;f=f+(((o+q+4&7)+3|0)>>>3)|0;c[b+19788>>2]=f;c[b+19784>>2]=o+q+7&7;c[W+48+8+(p*184|0)+(F*92|0)+84>>2]=k+(h<<3<<2);h=c[N>>2]|0;if(!h)break b;k=c[b+19672>>2]|0;j=(c[b+19676>>2]|0)==0;if((h|0)==2|(k|0)==0){if(j){c[W+48+8+(p*184|0)+(F*92|0)+56>>2]=18;c[W+48+8+(p*184|0)+(F*92|0)+60>>2]=288;h=o+q+7&7;break}}else if(j){c[W+48+8+(p*184|0)+(F*92|0)+56>>2]=27;c[W+48+8+(p*184|0)+(F*92|0)+60>>2]=288;h=o+q+7&7;break}if((h|0)==2)if(!(c[l>>2]|0))h=6;else O=34;else O=34;if((O|0)==34){O=0;h=8}c[W+48+8+(p*184|0)+(F*92|0)+56>>2]=(e[160188+(R*110|0)+(h<<1)>>1]|0)>>>1;c[W+48+8+(p*184|0)+(F*92|0)+60>>2]=(e[160188+(R*110|0)+44>>1]|0)>>>1;h=o+q+7&7}else{c[b+19792>>2]=h>>>3;c[b+19788>>2]=f+((j+5|0)>>>3);c[b+19784>>2]=o+q+6&7;c[W+48+8+(p*184|0)+(F*92|0)+24>>2]=h>>>3;h=(d[f+((j+5|0)>>>3)>>0]|0)<<(o+q+6&7)&255;c[b+19792>>2]=h;h=((d[f+((j+5|0)>>>3)+1>>0]|0)<<(o+q+6&7)>>>8|h)>>>3;c[b+19792>>2]=h;j=f+((j+5|0)>>>3)+(((o+q+6&7)+5|0)>>>3)|0;c[b+19788>>2]=j;c[b+19784>>2]=o+q+3&7;c[W+48+8+(p*184|0)+(F*92|0)+28>>2]=h;f=(d[j>>0]|0)<<(o+q+3&7)&255;c[b+19792>>2]=f;f=((d[j+1>>0]|0)<<(o+q+3&7)>>>8|f)>>>3;c[b+19792>>2]=f;j=j+(((o+q+3&7)+5|0)>>>3)|0;c[b+19788>>2]=j;c[b+19784>>2]=o+q&7;c[W+48+8+(p*184|0)+(F*92|0)+32>>2]=f;f=(d[j>>0]|0)<<(o+q&7)&255;c[b+19792>>2]=f;f=((d[j+1>>0]|0)<<(o+q&7)>>>8|f)>>>4;c[b+19792>>2]=f;j=j+(((o+q&7)+4|0)>>>3)|0;c[b+19788>>2]=j;c[b+19784>>2]=o+q+4&7;h=(d[j>>0]|0)<<(o+q+4&7)&255;c[b+19792>>2]=h;h=((d[j+1>>0]|0)<<(o+q+4&7)>>>8|h)>>>5;c[b+19792>>2]=h;c[b+19788>>2]=j+(((o+q+4&7)+3|0)>>>3);c[b+19784>>2]=o+q+7&7;c[W+48+8+(p*184|0)+(F*92|0)+56>>2]=(e[160188+(R*110|0)+(f+1<<1)>>1]|0)>>>1;if((h+(f+1)|0)>>>0>21)f=288;else f=(e[160188+(R*110|0)+(h+(f+1)+1<<1)>>1]|0)>>>1;c[W+48+8+(p*184|0)+(F*92|0)+60>>2]=f;c[W+48+8+(p*184|0)+(F*92|0)+16>>2]=0;c[W+48+8+(p*184|0)+(F*92|0)+20>>2]=0;k=c[b+19672>>2]|0;f=j+(((o+q+4&7)+3|0)>>>3)|0;h=o+q+7&7}while(0);if(!k){N=(d[f>>0]|0)<>0]=N;h=h+1|0;f=f+(h>>>3)|0;c[b+19788>>2]=f;c[b+19784>>2]=h&7;c[W+48+8+(p*184|0)+(F*92|0)+64>>2]=N>>>7&1;h=h&7}N=(d[f>>0]|0)<>0]=N;j=h+1|0;f=f+(j>>3)|0;c[b+19788>>2]=f;c[b+19784>>2]=j&7;c[W+48+8+(p*184|0)+(F*92|0)+68>>2]=N>>>7&1;N=(d[f>>0]|0)<<(j&7);a[b+19796>>0]=N;c[b+19788>>2]=f+(((j&7)+1|0)>>>3);h=h+2&7;c[b+19784>>2]=h;c[W+48+8+(p*184|0)+(F*92|0)+72>>2]=N>>>7&1;p=p+1|0;if((p|0)>=(P|0)){f=f+(((j&7)+1|0)>>>3)|0;break}else f=f+(((j&7)+1|0)>>>3)|0}}F=F+1|0;if((F|0)>=(c[35076+(I*20|0)>>2]|0))break a}f=c[b+28068>>2]|0;if(!(f&32)){f=c[37151]|0;c[W+16>>2]=479;oob(f,508740,W+16|0)|0;f=c[b+28068>>2]|0}if(f&32|0){b=0;i=W;return b|0}b=c[37151]|0;c[W+24>>2]=1923;oob(b,508816,W+24|0)|0;b=0;i=W;return b|0}while(0);mwa(b,c[W+48>>2]|0);K=(T|0)==0;L=(S|0)==0;N=(U|0)==3|(T|S|0)!=0;f=0;M=0;c:while(1){I=c[b+28600>>2]|0;J=c[b+28604>>2]|0;h=W+48+8+(M*92|0)|0;if(!(c[b+19672>>2]|0))j=owa(b,W+424|0,h)|0;else j=nwa(b,W+424|0,h,0)|0;if(pwa(b,I,W+424|0,h,R,j)|0){O=50;break}d:do if((P|0)==2){h=W+48+192+(M*92|0)|0;if(!(c[b+19672>>2]|0))j=owa(b,W+424+156|0,h)|0;else j=nwa(b,W+424+156|0,h,S)|0;if(pwa(b,I+2304|0,W+424+156|0,h,R,j)|0){O=58;break c}if(!K){h=c[W+48+8+(M*92|0)+52>>2]|0;H=c[W+48+192+(M*92|0)+52>>2]|0;h=H>>>0>h>>>0?H:h;if((h|0)>0){j=0;do{G=I+(j<<2)|0;D=+g[G>>2];H=I+2304+(j<<2)|0;E=+g[H>>2];g[G>>2]=E+D;g[H>>2]=D-E;j=j+1|0}while((j|0)<(h*18|0))}}e:do if(!L){H=c[b+19672>>2]|0;H=(c[W+48+192+(M*92|0)+12>>2]&H)+H|0;G=c[35388+(H<<4)+(T<<3)>>2]|0;H=c[35388+(H<<4)+(T<<3)+4>>2]|0;if((c[W+48+192+(M*92|0)+16>>2]|0)!=2){j=c[W+48+192+(M*92|0)+48>>2]|0;if((j|0)>21)break;h=e[160188+(R*110|0)+(j<<1)>>1]|0;if((j|0)<21)do{l=a[160188+(R*110|0)+46+j>>0]|0;k=c[W+424+156+(j<<2)>>2]|0;do if((k|0)==7)h=(l&255)+h|0;else{n=+g[G+(k<<2)>>2];m=+g[H+(k<<2)>>2];if(!(l<<24>>24))break;else k=l&255;while(1){F=I+(h<<2)|0;E=+g[F>>2];g[F>>2]=E*n;g[I+2304+(h<<2)>>2]=E*m;h=h+1|0;if((k|0)>1)k=k+-1|0;else break}}while(0);j=j+1|0}while((j|0)!=21);j=c[W+424+236>>2]|0;if((j|0)==7)break;n=+g[G+(j<<2)>>2];m=+g[H+(j<<2)>>2];j=d[160188+(R*110|0)+67>>0]|0;while(1){H=I+(h<<2)|0;E=+g[H>>2];g[H>>2]=E*n;g[I+2304+(h<<2)>>2]=E*m;if((j|0)>1){h=h+1|0;j=j+-1|0}else break e}}q=c[W+48+192+(M*92|0)+20>>2]|0;h=(q|0)!=0&1;F=0;do{j=c[W+48+192+(M*92|0)+36+(F<<2)>>2]|0;h=(j|0)>3?0:h;if((j|0)<12){p=F-q|0;do{k=c[W+424+156+(p+(j*3|0)<<2)>>2]|0;do if((k|0)!=7){l=a[160188+(R*110|0)+96+j>>0]|0;n=+g[G+(k<<2)>>2];m=+g[H+(k<<2)>>2];if(!(l<<24>>24))break;o=(e[160188+(R*110|0)+68+(j<<1)>>1]|0)+F|0;k=l&255;while(1){l=I+(o<<2)|0;E=+g[l>>2];g[l>>2]=E*n;g[I+2304+(o<<2)>>2]=E*m;if((k|0)>1){o=o+3|0;k=k+-1|0}else break}}while(0);j=j+1|0}while((j|0)!=12)}j=c[W+424+156+(33-q+F<<2)>>2]|0;if((j|0)!=7){n=+g[G+(j<<2)>>2];m=+g[H+(j<<2)>>2];j=(e[160188+(R*110|0)+92>>1]|0)+F|0;k=d[160188+(R*110|0)+108>>0]|0;while(1){p=I+(j<<2)|0;E=+g[p>>2];g[p>>2]=E*n;g[I+2304+(j<<2)>>2]=E*m;if((k|0)>1){j=j+3|0;k=k+-1|0}else break}}F=F+1|0}while((F|0)!=3);if(h|0){h=c[W+48+192+(M*92|0)+48>>2]|0;if((h|0)<8){j=e[160188+(R*110|0)+(h<<1)>>1]|0;do{l=a[160188+(R*110|0)+46+h>>0]|0;k=c[W+424+156+(h<<2)>>2]|0;do if((k|0)==7)j=(l&255)+j|0;else{n=+g[G+(k<<2)>>2];m=+g[H+(k<<2)>>2];if(!(l<<24>>24))break;else k=l&255;while(1){F=I+(j<<2)|0;E=+g[F>>2];g[F>>2]=E*n;g[I+2304+(j<<2)>>2]=E*m;j=j+1|0;if((k|0)>1)k=k+-1|0;else break}}while(0);h=h+1|0}while((h|0)!=8)}}}while(0);do if(N){h=W+48+192+(M*92|0)+52|0;j=c[h>>2]|0;k=W+48+8+(M*92|0)+52|0;l=c[k>>2]|0;if(j>>>0>l>>>0){c[k>>2]=j;break}else{c[h>>2]=l;break}}while(0);switch(U|0){case 3:{h=c[W+48+192+(M*92|0)+52>>2]|0;if((h|0)<=0){F=0;break d}j=0;k=I;l=I+2304|0;while(1){g[k>>2]=+g[l>>2]+ +g[k>>2];j=j+1|0;if((j|0)>=(h*18|0)){F=0;break}else{k=k+4|0;l=l+4|0}}break}case 1:{h=c[W+48+192+(M*92|0)+52>>2]|0;if((h|0)<=0){F=0;break d}j=0;k=I;l=I+2304|0;while(1){c[k>>2]=c[l>>2];j=j+1|0;if((j|0)>=(h*18|0)){F=0;break}else{k=k+4|0;l=l+4|0}}break}default:{F=0;break d}}}else F=0;while(0);do{o=W+48+8+(F*184|0)+(M*92|0)+16|0;if((c[o>>2]|0)==2){if(c[W+48+8+(F*184|0)+(M*92|0)+20>>2]|0){h=1;O=114}}else{h=(c[W+48+8+(F*184|0)+(M*92|0)+52>>2]|0)+-1|0;if(h|0)O=114}if((O|0)==114){m=+g[178601];n=+g[178609];r=+g[178602];s=+g[178610];t=+g[178603];u=+g[178611];v=+g[178604];w=+g[178612];x=+g[178605];y=+g[178613];z=+g[178606];A=+g[178614];B=+g[178607];C=+g[178615];D=+g[178608];E=+g[178616];j=I+(F*2304|0)+72|0;while(1){O=j+-4|0;X=+g[O>>2];Y=+g[j>>2];g[O>>2]=m*X-n*Y;O=j+4|0;g[j>>2]=n*X+m*Y;H=j+-8|0;Y=+g[H>>2];X=+g[O>>2];g[H>>2]=r*Y-s*X;H=j+8|0;g[O>>2]=s*Y+r*X;O=j+-12|0;X=+g[O>>2];Y=+g[H>>2];g[O>>2]=t*X-u*Y;O=j+12|0;g[H>>2]=u*X+t*Y;H=j+-16|0;Y=+g[H>>2];X=+g[O>>2];g[H>>2]=v*Y-w*X;H=j+16|0;g[O>>2]=w*Y+v*X;O=j+-20|0;X=+g[O>>2];Y=+g[H>>2];g[O>>2]=x*X-y*Y;O=j+20|0;g[H>>2]=y*X+x*Y;H=j+-24|0;Y=+g[H>>2];X=+g[O>>2];g[H>>2]=z*Y-A*X;H=j+24|0;g[O>>2]=A*Y+z*X;O=j+-28|0;X=+g[O>>2];Y=+g[H>>2];g[O>>2]=B*X-C*Y;O=j+28|0;g[H>>2]=C*X+B*Y;H=j+-32|0;Y=+g[H>>2];X=+g[O>>2];g[H>>2]=D*Y-E*X;g[O>>2]=E*Y+D*X;h=h+-1|0;if(!h)break;else j=j+72|0}}j=J+(F*2304|0)|0;O=b+9224+(F<<2)|0;k=c[O>>2]|0;h=b+8+(k*4608|0)+(F*2304|0)|0;l=b+8+((1-k|0)*4608|0)+(F*2304|0)|0;c[O>>2]=1-k;if(!(c[W+48+8+(F*184|0)+(M*92|0)+20>>2]|0))p=0;else{qwa(I+(F*2304|0)|0,h,l,714468,j);qwa(I+(F*2304|0)+72|0,b+8+(k*4608|0)+(F*2304|0)+72|0,b+8+((1-k|0)*4608|0)+(F*2304|0)+72|0,715076,J+(F*2304|0)+4|0);h=b+8+(k*4608|0)+(F*2304|0)+144|0;l=b+8+((1-k|0)*4608|0)+(F*2304|0)+144|0;p=2;j=J+(F*2304|0)+8|0}o=c[o>>2]|0;q=W+48+8+(F*184|0)+(M*92|0)+52|0;k=p>>>0<(c[q>>2]|0)>>>0;if((o|0)==2)if(k){k=p;do{rwa(I+(F*2304|0)+(k*72|0)|0,h,l,714756,j);rwa(I+(F*2304|0)+((k|1)*72|0)|0,h+72|0,l+72|0,715364,j+4|0);k=k+2|0;j=j+8|0;h=h+144|0;l=l+144|0}while(k>>>0<(c[q>>2]|0)>>>0);O=122}else{k=p;O=125}else if(k){k=p;do{qwa(I+(F*2304|0)+(k*72|0)|0,h,l,714468+(o*144|0)|0,j);qwa(I+(F*2304|0)+((k|1)*72|0)|0,h+72|0,l+72|0,715076+(o*144|0)|0,j+4|0);k=k+2|0;j=j+8|0;h=h+144|0;l=l+144|0}while(k>>>0<(c[q>>2]|0)>>>0);O=122}else{k=p;O=125}if((O|0)==122){O=0;if(k>>>0<32)O=125}if((O|0)==125)while(1){O=0;c[j>>2]=c[h>>2];g[l>>2]=0.0;c[j+128>>2]=c[h+4>>2];g[l+4>>2]=0.0;c[j+256>>2]=c[h+8>>2];g[l+8>>2]=0.0;c[j+384>>2]=c[h+12>>2];g[l+12>>2]=0.0;c[j+512>>2]=c[h+16>>2];g[l+16>>2]=0.0;c[j+640>>2]=c[h+20>>2];g[l+20>>2]=0.0;c[j+768>>2]=c[h+24>>2];g[l+24>>2]=0.0;c[j+896>>2]=c[h+28>>2];g[l+28>>2]=0.0;c[j+1024>>2]=c[h+32>>2];g[l+32>>2]=0.0;c[j+1152>>2]=c[h+36>>2];g[l+36>>2]=0.0;c[j+1280>>2]=c[h+40>>2];g[l+40>>2]=0.0;c[j+1408>>2]=c[h+44>>2];g[l+44>>2]=0.0;c[j+1536>>2]=c[h+48>>2];g[l+48>>2]=0.0;c[j+1664>>2]=c[h+52>>2];g[l+52>>2]=0.0;c[j+1792>>2]=c[h+56>>2];g[l+56>>2]=0.0;c[j+1920>>2]=c[h+60>>2];g[l+60>>2]=0.0;c[j+2048>>2]=c[h+64>>2];g[l+64>>2]=0.0;c[j+2176>>2]=c[h+68>>2];g[l+68>>2]=0.0;k=k+1|0;if((k|0)==32)break;else{h=h+72|0;l=l+72|0;j=j+4|0;O=125}}F=F+1|0}while((F|0)<(V|0));if((U|0)==-1){h=0;do{f=(Gi[c[b+19640>>2]&255](J+(h<<7)|0,J+2304+(h<<7)|0,b)|0)+f|0;h=h+1|0}while((h|0)!=18)}else{f=(Xi[c[b+19644>>2]&511](J,b)|0)+f|0;f=(Xi[c[b+19644>>2]&511](J+128|0,b)|0)+f|0;f=(Xi[c[b+19644>>2]&511](J+256|0,b)|0)+f|0;f=(Xi[c[b+19644>>2]&511](J+384|0,b)|0)+f|0;f=(Xi[c[b+19644>>2]&511](J+512|0,b)|0)+f|0;f=(Xi[c[b+19644>>2]&511](J+640|0,b)|0)+f|0;f=(Xi[c[b+19644>>2]&511](J+768|0,b)|0)+f|0;f=(Xi[c[b+19644>>2]&511](J+896|0,b)|0)+f|0;f=(Xi[c[b+19644>>2]&511](J+1024|0,b)|0)+f|0;f=(Xi[c[b+19644>>2]&511](J+1152|0,b)|0)+f|0;f=(Xi[c[b+19644>>2]&511](J+1280|0,b)|0)+f|0;f=(Xi[c[b+19644>>2]&511](J+1408|0,b)|0)+f|0;f=(Xi[c[b+19644>>2]&511](J+1536|0,b)|0)+f|0;f=(Xi[c[b+19644>>2]&511](J+1664|0,b)|0)+f|0;f=(Xi[c[b+19644>>2]&511](J+1792|0,b)|0)+f|0;f=(Xi[c[b+19644>>2]&511](J+1920|0,b)|0)+f|0;f=(Xi[c[b+19644>>2]&511](J+2048|0,b)|0)+f|0;f=(Xi[c[b+19644>>2]&511](J+2176|0,b)|0)+f|0}M=M+1|0;if((M|0)>=(Q|0)){O=128;break}}if((O|0)==50){if(c[b+28068>>2]&32|0){b=f;i=W;return b|0}if((c[b+28064>>2]|0)<=1){b=f;i=W;return b|0}b=c[37151]|0;c[W+32>>2]=1946;oob(b,509085,W+32|0)|0;b=f;i=W;return b|0}else if((O|0)==58){if(c[b+28068>>2]&32|0){b=f;i=W;return b|0}if((c[b+28064>>2]|0)<=1){b=f;i=W;return b|0}b=c[37151]|0;c[W+40>>2]=1962;oob(b,509085,W+40|0)|0;b=f;i=W;return b|0}else if((O|0)==128){i=W;return f|0}return 0}function mwa(a,b){a=a|0;b=b|0;var d=0;d=(c[a+27808>>2]|0)+(c[a+19864>>2]|0)+(0-b)|0;c[a+19788>>2]=d;if(!b){a=a+19784|0;c[a>>2]=0;return}mBb(d|0,(c[a+27812>>2]|0)+(c[a+19860>>2]|0)+(0-b)|0,b|0)|0;a=a+19784|0;c[a>>2]=0;return}function nwa(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;n=c[f+12>>2]|0;n=c[((g|0)==0?678544+(n<<2)|0:677520+(n>>>1<<2)|0)>>2]|0;c[f+64>>2]=n>>>15&1;if((c[f+16>>2]|0)==2)o=(c[f+20>>2]|0)==0?1:2;else o=0;l=0;g=0;m=n;do{j=m&7;k=a[508879+(o*24|0)+((n>>>12&7)<<2)+l>>0]|0;if(!j){if(k<<24>>24){hBb(e|0,0,((k&255)>>>0>1?k&255:1)<<2|0)|0;f=0;do{e=e+4|0;f=f+1|0}while((f|0)<(k&255|0))}}else{if(k<<24>>24){f=e;h=c[b+19788>>2]|0;i=0;while(1){e=c[b+19784>>2]|0;p=(d[h>>0]|0)<>2]=p;p=((d[h+1>>0]|0)<>>8|p)<>>8;c[b+19792>>2]=p;h=h+(e+j>>3)|0;c[b+19788>>2]=h;c[b+19784>>2]=e+m&7;e=f+4|0;c[f>>2]=p;i=i+1|0;if((i|0)>=(k&255|0))break;else f=e}}g=(_(k&255,j)|0)+g|0}m=m>>>3;l=l+1|0}while((l|0)!=4);hBb(e|0,0,o<<3|4|0)|0;return g|0}function owa(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;m=c[e+12>>2]|0;l=d[508951+m>>0]|0;m=d[508967+m>>0]|0;if((c[e+16>>2]|0)==2){if(!(c[e+20>>2]|0)){j=a+19784|0;k=a+19792|0;e=c[a+19788>>2]|0;h=18;i=(m+l|0)*18|0}else{f=b;e=c[a+19788>>2]|0;g=8;while(1){j=c[a+19784>>2]|0;k=(d[e>>0]|0)<>2]=k;k=((d[e+1>>0]|0)<>>8|k)<>>8;c[a+19792>>2]=k;e=e+(j+l>>3)|0;c[a+19788>>2]=e;c[a+19784>>2]=j+l&7;c[f>>2]=k;g=g+-1|0;if(!g)break;else f=f+4|0}b=b+32|0;j=a+19784|0;k=a+19792|0;h=9;i=((m+l|0)*18|0)-l|0}g=b;f=h;while(1){o=c[j>>2]|0;n=(d[e>>0]|0)<>2]=n;n=((d[e+1>>0]|0)<>>8|n)<>>8;c[k>>2]=n;e=e+(o+l>>3)|0;c[a+19788>>2]=e;c[j>>2]=o+l&7;c[g>>2]=n;f=f+-1|0;if(!f)break;else g=g+4|0}h=b+(h<<2)|0;g=h;f=18;while(1){n=c[j>>2]|0;o=(d[e>>0]|0)<>2]=o;o=((d[e+1>>0]|0)<>>8|o)<>>8;c[k>>2]=o;e=e+(n+m>>3)|0;c[a+19788>>2]=e;c[j>>2]=n+m&7;c[g>>2]=o;f=f+-1|0;if(!f)break;else g=g+4|0}c[h+72>>2]=0;c[h+68+8>>2]=0;c[h+68+12>>2]=0;o=i;return o|0}f=c[e>>2]|0;if((f|0)<0){f=b;e=c[a+19788>>2]|0;g=11;while(1){n=c[a+19784>>2]|0;o=(d[e>>0]|0)<>2]=o;o=((d[e+1>>0]|0)<>>8|o)<>>8;c[a+19792>>2]=o;e=e+(n+l>>3)|0;c[a+19788>>2]=e;c[a+19784>>2]=n+l&7;c[f>>2]=o;g=g+-1|0;if(!g)break;else f=f+4|0}g=b+44|0;f=10;while(1){n=c[a+19784>>2]|0;o=(d[e>>0]|0)<>2]=o;o=((d[e+1>>0]|0)<>>8|o)<>>8;c[a+19792>>2]=o;e=e+(n+m>>3)|0;c[a+19788>>2]=e;c[a+19784>>2]=n+m&7;c[g>>2]=o;f=f+-1|0;if(!f)break;else g=g+4|0}c[b+84>>2]=0;o=((m+l|0)*10|0)+l|0;return o|0}if(!(f&8)){n=c[a+19788>>2]|0;e=c[a+19784>>2]|0;o=(d[n>>0]|0)<>2]=o;o=((d[n+1>>0]|0)<>>8|o)<>>8;c[a+19792>>2]=o;c[a+19788>>2]=n+(e+l>>3);c[a+19784>>2]=e+l&7;c[b>>2]=o;o=c[a+19784>>2]|0;k=(d[n+(e+l>>3)>>0]|0)<>2]=k;k=((d[n+(e+l>>3)+1>>0]|0)<>>8|k)<>>8;c[a+19792>>2]=k;e=n+(e+l>>3)+(o+l>>3)|0;c[a+19788>>2]=e;c[a+19784>>2]=o+l&7;c[b+4>>2]=k;k=c[a+19784>>2]|0;o=(d[e>>0]|0)<>2]=o;o=((d[e+1>>0]|0)<>>8|o)<>>8;c[a+19792>>2]=o;c[a+19788>>2]=e+(k+l>>3);c[a+19784>>2]=k+l&7;c[b+8>>2]=o;o=c[a+19784>>2]|0;n=(d[e+(k+l>>3)>>0]|0)<>2]=n;n=((d[e+(k+l>>3)+1>>0]|0)<>>8|n)<>>8;c[a+19792>>2]=n;k=e+(k+l>>3)+(o+l>>3)|0;c[a+19788>>2]=k;c[a+19784>>2]=o+l&7;c[b+12>>2]=n;n=c[a+19784>>2]|0;o=(d[k>>0]|0)<>2]=o;o=((d[k+1>>0]|0)<>>8|o)<>>8;c[a+19792>>2]=o;c[a+19788>>2]=k+(n+l>>3);c[a+19784>>2]=n+l&7;c[b+16>>2]=o;o=c[a+19784>>2]|0;e=(d[k+(n+l>>3)>>0]|0)<>2]=e;e=((d[k+(n+l>>3)+1>>0]|0)<>>8|e)<>>8;c[a+19792>>2]=e;c[a+19788>>2]=k+(n+l>>3)+(o+l>>3);c[a+19784>>2]=o+l&7;c[b+20>>2]=e;e=l*6|0}else e=0;if(!(f&4)){n=c[a+19788>>2]|0;j=c[a+19784>>2]|0;o=(d[n>>0]|0)<>2]=o;o=((d[n+1>>0]|0)<>>8|o)<>>8;c[a+19792>>2]=o;c[a+19788>>2]=n+(j+l>>3);c[a+19784>>2]=j+l&7;c[b+24>>2]=o;o=c[a+19784>>2]|0;k=(d[n+(j+l>>3)>>0]|0)<>2]=k;k=((d[n+(j+l>>3)+1>>0]|0)<>>8|k)<>>8;c[a+19792>>2]=k;j=n+(j+l>>3)+(o+l>>3)|0;c[a+19788>>2]=j;c[a+19784>>2]=o+l&7;c[b+28>>2]=k;k=c[a+19784>>2]|0;o=(d[j>>0]|0)<>2]=o;o=((d[j+1>>0]|0)<>>8|o)<>>8;c[a+19792>>2]=o;c[a+19788>>2]=j+(k+l>>3);c[a+19784>>2]=k+l&7;c[b+32>>2]=o;o=c[a+19784>>2]|0;n=(d[j+(k+l>>3)>>0]|0)<>2]=n;n=((d[j+(k+l>>3)+1>>0]|0)<>>8|n)<>>8;c[a+19792>>2]=n;k=j+(k+l>>3)+(o+l>>3)|0;c[a+19788>>2]=k;c[a+19784>>2]=o+l&7;c[b+36>>2]=n;n=c[a+19784>>2]|0;o=(d[k>>0]|0)<>2]=o;o=((d[k+1>>0]|0)<>>8|o)<>>8;c[a+19792>>2]=o;c[a+19788>>2]=k+(n+l>>3);c[a+19784>>2]=n+l&7;c[b+40>>2]=o;e=e+(l*5|0)|0}if(!(f&2)){n=c[a+19788>>2]|0;k=c[a+19784>>2]|0;o=(d[n>>0]|0)<>2]=o;o=((d[n+1>>0]|0)<>>8|o)<>>8;c[a+19792>>2]=o;c[a+19788>>2]=n+(k+m>>3);c[a+19784>>2]=k+m&7;c[b+44>>2]=o;o=c[a+19784>>2]|0;l=(d[n+(k+m>>3)>>0]|0)<>2]=l;l=((d[n+(k+m>>3)+1>>0]|0)<>>8|l)<>>8;c[a+19792>>2]=l;k=n+(k+m>>3)+(o+m>>3)|0;c[a+19788>>2]=k;c[a+19784>>2]=o+m&7;c[b+48>>2]=l;l=c[a+19784>>2]|0;o=(d[k>>0]|0)<>2]=o;o=((d[k+1>>0]|0)<>>8|o)<>>8;c[a+19792>>2]=o;c[a+19788>>2]=k+(l+m>>3);c[a+19784>>2]=l+m&7;c[b+52>>2]=o;o=c[a+19784>>2]|0;n=(d[k+(l+m>>3)>>0]|0)<>2]=n;n=((d[k+(l+m>>3)+1>>0]|0)<>>8|n)<>>8;c[a+19792>>2]=n;l=k+(l+m>>3)+(o+m>>3)|0;c[a+19788>>2]=l;c[a+19784>>2]=o+m&7;c[b+56>>2]=n;n=c[a+19784>>2]|0;o=(d[l>>0]|0)<>2]=o;o=((d[l+1>>0]|0)<>>8|o)<>>8;c[a+19792>>2]=o;c[a+19788>>2]=l+(n+m>>3);c[a+19784>>2]=n+m&7;c[b+60>>2]=o;e=e+(m*5|0)|0}if(!(f&1)){n=c[a+19788>>2]|0;k=c[a+19784>>2]|0;o=(d[n>>0]|0)<>2]=o;o=((d[n+1>>0]|0)<>>8|o)<>>8;c[a+19792>>2]=o;c[a+19788>>2]=n+(k+m>>3);c[a+19784>>2]=k+m&7;c[b+64>>2]=o;o=c[a+19784>>2]|0;l=(d[n+(k+m>>3)>>0]|0)<>2]=l;l=((d[n+(k+m>>3)+1>>0]|0)<>>8|l)<>>8;c[a+19792>>2]=l;k=n+(k+m>>3)+(o+m>>3)|0;c[a+19788>>2]=k;c[a+19784>>2]=o+m&7;c[b+68>>2]=l;l=c[a+19784>>2]|0;o=(d[k>>0]|0)<>2]=o;o=((d[k+1>>0]|0)<>>8|o)<>>8;c[a+19792>>2]=o;c[a+19788>>2]=k+(l+m>>3);c[a+19784>>2]=l+m&7;c[b+72>>2]=o;o=c[a+19784>>2]|0;n=(d[k+(l+m>>3)>>0]|0)<>2]=n;n=((d[k+(l+m>>3)+1>>0]|0)<>>8|n)<>>8;c[a+19792>>2]=n;l=k+(l+m>>3)+(o+m>>3)|0;c[a+19788>>2]=l;c[a+19784>>2]=o+m&7;c[b+76>>2]=n;n=c[a+19784>>2]|0;o=(d[l>>0]|0)<>2]=o;o=((d[l+1>>0]|0)<>>8|o)<>>8;c[a+19792>>2]=o;c[a+19788>>2]=l+(n+m>>3);c[a+19784>>2]=n+m&7;c[b+80>>2]=o;e=e+(m*5|0)|0}c[b+84>>2]=0;o=e;return o|0}function pwa(a,e,f,h,j,k){a=a|0;e=e|0;f=f|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0.0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0.0;J=i;i=i+48|0;H=(c[h+68>>2]|0)+1|0;t=(c[h+4>>2]|0)-k|0;w=c[a+19784>>2]|0;n=c[a+19788>>2]|0;p=((((d[n>>0]|0)<<8|(d[n+1>>0]|0))<<8|(d[n+2>>0]|0))<>>(24-(0-w&7)|0);c[a+19788>>2]=n+((0-w&7)+w>>3);c[a+19784>>2]=0;G=c[h+8>>2]|0;k=c[h+56>>2]|0;l=c[h+60>>2]|0;do if((G|0)>(k|0)){c[J+32>>2]=k;if((G|0)>(l|0)){c[J+32+4>>2]=l-k;c[J+32+8>>2]=G-l;break}else{c[J+32+4>>2]=G-k;c[J+32+8>>2]=0;break}}else{c[J+32>>2]=G;c[J+32+4>>2]=0;c[J+32+8>>2]=0;k=G}while(0);if((c[h+16>>2]|0)==2){F=(c[h+20>>2]|0)==0;c[J+16+12>>2]=-1;if(F){c[J+16+8>>2]=-1;l=-1;o=680592+(j*12|0)+4|0;m=680700+(j*12|0)+4|0}else{c[J+16+8>>2]=2;l=2;o=680592+(j*12|0)|0;m=680700+(j*12|0)|0}c[J+16+4>>2]=l;c[J+16>>2]=l;E=c[m>>2]|0;r=f;n=n+((0-w&7)+w>>3)|0;v=k;s=0;D=0;x=3;o=c[o>>2]|0;q=p<<24<<8-(0-w&7);l=0;f=0-w&7;m=t-(0-w&7)|0;t=0;u=0.0;k=e;while(1){B=c[h+24+(D<<2)>>2]|0;a:do if(v){C=c[35116+(B<<3)+4>>2]|0;w=r;p=x;while(1){do if(!l){l=c[o>>2]|0;k=e+(c[o+4>>2]<<2)|0;t=c[o+8>>2]|0;r=o+16|0;p=c[o+12>>2]|0;o=w+4|0;s=c[w>>2]<>2]|0)+(s<<2)>>2];break}else{y=o;z=p;x=t;o=r;A=3;u=+g[(c[h+76+(t<<2)>>2]|0)+(s<<2)>>2];break}}else{y=w;z=s;x=p;A=t}while(0);if(f>>>0<24){s=23-f&-8;r=f+8|0;while(1){p=n+1|0;c[a+19788>>2]=p;q=(d[n>>0]|0)<<24-f|q;f=f+8|0;if(f>>>0>=24)break;else n=p}n=p;f=r+s|0;m=m+-8-s|0}p=b[C>>1]|0;if(p<<16>>16<0){p=p<<16>>16;r=C;while(1){F=r+2|0;r=(q|0)<0?F+(0-p<<1)|0:F;f=f+-1|0;q=q<<1;p=b[r>>1]|0;if(p<<16>>16>=0){r=p<<16>>16;break}else p=p<<16>>16}}else r=p<<16>>16;p=r>>4;w=r&15;switch(p|0){case 15:{t=c[35116+(B<<3)>>2]|0;if(B>>>0<16)I=32;else{c[J+16+(x<<2)>>2]=z;if(f>>>0<24){s=23-f&-8;r=f+8|0;while(1){p=n+1|0;c[a+19788>>2]=p;q=(d[n>>0]|0)<<24-f|q;f=f+8|0;if(f>>>0>=24)break;else n=p}n=p;f=r+s|0;m=m+-8-s|0}F=q<>>(32-t|0))+15<<2)>>2];g[k>>2]=u*((F|0)<0?-K:K);q=F<<1;f=f+-1-t|0}break}case 0:{g[k>>2]=0.0;break}default:I=32}if((I|0)==32){I=0;c[J+16+(x<<2)>>2]=z;K=+g[680808+(p<<2)>>2];g[k>>2]=u*((q|0)<0?-K:K);q=q<<1;f=f+-1|0}t=k+(A<<2)|0;switch(w|0){case 15:{s=c[35116+(B<<3)>>2]|0;if(B>>>0<16)I=41;else{c[J+16+(x<<2)>>2]=z;if(f>>>0<24){r=23-f&-8;p=f+8|0;while(1){k=n+1|0;c[a+19788>>2]=k;q=(d[n>>0]|0)<<24-f|q;f=f+8|0;if(f>>>0>=24)break;else n=k}n=k;f=p+r|0;m=m+-8-r|0}F=q<>>(32-s|0))+15<<2)>>2];g[t>>2]=u*((F|0)<0?-K:K);q=F<<1;f=f+-1-s|0}break}case 0:{g[t>>2]=0.0;break}default:I=41}if((I|0)==41){I=0;c[J+16+(x<<2)>>2]=z;K=+g[680808+(w<<2)>>2];g[t>>2]=u*((q|0)<0?-K:K);q=q<<1;f=f+-1|0}k=t+(A<<2)|0;v=v+-1|0;l=l+-1|0;if(!v){r=y;s=z;t=A;break a}else{w=y;s=z;p=x;t=A}}}while(0);p=D+1|0;if((p|0)==2){p=x;break}v=c[J+32+(p<<2)>>2]|0;D=p}b:do if((288-G>>1|0)!=0&(m+f|0)>0){x=r;y=s;A=288-G>>1;w=p;v=t;while(1){if(k>>>0>=(e+2324|0)>>>0)break;r=c[35372+(c[h+72>>2]<<3)+4>>2]|0;if(f>>>0<24){t=23-f&-8;s=f+8|0;p=n;while(1){n=p+1|0;c[a+19788>>2]=n;q=(d[p>>0]|0)<<24-f|q;f=f+8|0;if(f>>>0>=24)break;else p=n}f=s+t|0;m=m+-8-t|0}p=b[r>>1]|0;if(p<<16>>16<0){p=p<<16>>16;while(1){G=r+2|0;r=(q|0)<0?G+(0-p<<1)|0:G;f=f+-1|0;q=q<<1;p=b[r>>1]|0;if(p<<16>>16>=0){z=p<<16>>16;break}else p=p<<16>>16}}else z=p<<16>>16;if((f+m|0)<1){f=w;I=67;break}else{p=y;y=0}while(1){if(!(y&1)){do if(!l){l=c[o>>2]|0;k=e+(c[o+4>>2]<<2)|0;t=c[o+8>>2]|0;r=o+16|0;p=c[o+12>>2]|0;o=x+4|0;s=c[x>>2]<>2]|0)+(s<<2)>>2];break}else{x=o;w=t;o=r;v=3;u=+g[(c[h+76+(t<<2)>>2]|0)+(s<<2)>>2];break}}while(0);r=x;l=l+-1|0}else r=x;if(!(8>>>y&z))g[k>>2]=0.0;else{c[J+16+(w<<2)>>2]=p;if((f+m|0)<1)break;g[k>>2]=(q|0)<0?-u:u;q=q<<1;f=f+-1|0}k=k+(v<<2)|0;y=y+1|0;if((y|0)>=4)break;else x=r}A=A+-1|0;if(!((A|0)!=0&(m+f|0)>0)){p=w;break b}else{x=r;y=p}}if((I|0)==67){p=f;f=0-m|0;break}if(!(c[a+28068>>2]&32)){a=c[37151]|0;c[J>>2]=884;c[J+4>>2]=k;c[J+8>>2]=e+2304;oob(a,508983,J)|0}a=2;i=J;return a|0}while(0);c:do if((p|0)<3)while(1){if((l|0)>0)while(1){g[k>>2]=0.0;g[k+12>>2]=0.0;k=k+24|0;if((l|0)>1)l=l+-1|0;else break}if(o>>>0>=E>>>0)break c;k=e+(c[o+4>>2]<<2)|0;if(!(c[o+8>>2]|0))break c;l=c[o>>2]|0;o=o+16|0}while(0);H=c[J+16>>2]|0;c[h+36>>2]=H+1;I=c[J+16+4>>2]|0;c[h+40>>2]=I+1;o=c[J+16+8>>2]|0;c[h+44>>2]=o+1;l=(c[J+16+12>>2]|0)+1|0;c[h+48>>2]=l;I=(H|0)>(I|0)?H:I;o=((I|0)>(o|0)?I:o)+1|0;c[h+52>>2]=c[((o|0)==0?a+9596+(j*92|0)+(l<<2)|0:a+10424+(j*56|0)+(o<<2)|0)>>2];o=c[a+19784>>2]|0;l=k}else{q=f;x=k;k=n+((0-w&7)+w>>3)|0;r=0;n=0;s=c[680592+(j*12|0)+8>>2]|0;o=p<<24<<8-(0-w&7);f=-1;v=0;p=0-w&7;m=t-(0-w&7)|0;t=509041+((c[h+64>>2]|0)*22|0)|0;u=0.0;l=e;while(1){D=c[h+24+(n<<2)>>2]|0;if(x){E=c[35116+(D<<3)+4>>2]|0;F=x<<1;A=l;while(1){if(!v){z=q+4|0;r=c[s+4>>2]|0;B=s+8|0;v=c[s>>2]|0;C=t+1|0;u=+g[(c[h+88>>2]|0)+((d[t>>0]|0)+(c[q>>2]|0)<>2]}else{z=q;B=s;C=t}if(p>>>0<24){t=23-p&-8;s=p+8|0;while(1){q=k+1|0;c[a+19788>>2]=q;o=(d[k>>0]|0)<<24-p|o;p=p+8|0;if(p>>>0>=24)break;else k=q}k=q;p=s+t|0;m=m+-8-t|0}q=b[E>>1]|0;if(q<<16>>16<0){q=q<<16>>16;s=E;while(1){y=s+2|0;s=(o|0)<0?y+(0-q<<1)|0:y;p=p+-1|0;o=o<<1;q=b[s>>1]|0;if(q<<16>>16>=0){s=q<<16>>16;break}else q=q<<16>>16}}else s=q<<16>>16;q=s>>4;y=s&15;switch(q|0){case 15:{t=c[35116+(D<<3)>>2]|0;if(D>>>0<16)I=97;else{if(p>>>0<24){s=23-p&-8;q=p+8|0;while(1){f=k+1|0;c[a+19788>>2]=f;o=(d[k>>0]|0)<<24-p|o;p=p+8|0;if(p>>>0>=24)break;else k=f}k=f;p=q+s|0;m=m+-8-s|0}f=o<>>(32-t|0))+15<<2)>>2];g[A>>2]=u*((f|0)<0?-K:K);o=f<<1;f=r;p=p+-1-t|0}break}case 0:{g[A>>2]=0.0;break}default:I=97}if((I|0)==97){I=0;K=+g[680808+(q<<2)>>2];g[A>>2]=u*((o|0)<0?-K:K);o=o<<1;f=r;p=p+-1|0}t=A+4|0;switch(y|0){case 15:{w=c[35116+(D<<3)>>2]|0;if(D>>>0<16)I=106;else{if(p>>>0<24){s=23-p&-8;q=p+8|0;while(1){f=k+1|0;c[a+19788>>2]=f;o=(d[k>>0]|0)<<24-p|o;p=p+8|0;if(p>>>0>=24)break;else k=f}k=f;p=q+s|0;m=m+-8-s|0}f=o<>>(32-w|0))+15<<2)>>2];g[t>>2]=u*((f|0)<0?-K:K);o=f<<1;f=r;p=p+-1-w|0}break}case 0:{g[t>>2]=0.0;break}default:I=106}if((I|0)==106){I=0;K=+g[680808+(y<<2)>>2];g[t>>2]=u*((o|0)<0?-K:K);o=o<<1;f=r;p=p+-1|0}x=x+-1|0;v=v+-1|0;if(!x){q=z;s=B;t=C;break}else{q=z;s=B;t=C;A=A+8|0}}l=l+(F<<2)|0}n=n+1|0;if((n|0)==3){n=q;q=r;r=v;break}x=c[J+32+(n<<2)>>2]|0}d:do if((288-G>>1|0)!=0&(m+p|0)>0){B=n;v=q;C=288-G>>1;A=s;y=r;while(1){q=c[35372+(c[h+72>>2]<<3)+4>>2]|0;if(p>>>0<24){s=23-p&-8;r=p+8|0;while(1){n=k+1|0;c[a+19788>>2]=n;o=(d[k>>0]|0)<<24-p|o;p=p+8|0;if(p>>>0>=24)break;else k=n}k=n;p=r+s|0;m=m+-8-s|0}n=b[q>>1]|0;if(n<<16>>16<0){n=n<<16>>16;while(1){G=q+2|0;q=(o|0)<0?G+(0-n<<1)|0:G;p=p+-1|0;o=o<<1;n=b[q>>1]|0;if(n<<16>>16>=0){z=n<<16>>16;break}else n=n<<16>>16}}else z=n<<16>>16;if((p+m|0)<1)break;if(!y){x=B+4|0;v=c[A+4>>2]|0;w=A+8|0;n=c[A>>2]|0;y=t+1|0;u=+g[(c[h+88>>2]|0)+((d[t>>0]|0)+(c[B>>2]|0)<>2]}else{x=B;w=A;n=y;y=t}n=n+-1|0;if(!(z&8))g[l>>2]=0.0;else{g[l>>2]=(o|0)<0?-u:u;o=o<<1;f=v;p=p+-1|0}q=l+4|0;if(!(z&4)){g[q>>2]=0.0;I=142}else if((p+m|0)<1){r=x;x=v;s=w;f=v;t=y;l=q}else{g[q>>2]=(o|0)<0?-u:u;o=o<<1;f=v;p=p+-1|0;I=142}do if((I|0)==142){I=0;q=l+8|0;if(!n){r=x+4|0;v=c[w+4>>2]|0;s=w+8|0;n=c[w>>2]|0;t=y+1|0;u=+g[(c[h+88>>2]|0)+((d[y>>0]|0)+(c[x>>2]|0)<>2]}else{r=x;s=w;t=y}n=n+-1|0;if(!(z&2))g[q>>2]=0.0;else{if((p+m|0)<1){x=v;f=v;l=q;break}g[q>>2]=(o|0)<0?-u:u;o=o<<1;f=v;p=p+-1|0}q=l+12|0;if(!(z&1))g[q>>2]=0.0;else{if((p+m|0)<1){x=v;f=v;l=q;break}g[q>>2]=(o|0)<0?-u:u;o=o<<1;f=v;p=p+-1|0}x=v;l=l+16|0}while(0);C=C+-1|0;if(!((C|0)!=0&(m+p|0)>0))break d;else{B=r;v=x;A=s;y=n}}p=0-m|0}while(0);o=f+1|0;c[h+48>>2]=o;c[h+52>>2]=c[a+9596+(j*92|0)+(o<<2)>>2];o=0;n=k;f=p}k=m+f|0;j=o-f|0;c[a+19788>>2]=n+(j>>3);c[a+19784>>2]=j&7;if(l>>>0<(e+2304|0)>>>0)hBb(l|0,0,e+2300+(3-l)+4&-4|0)|0;if((k|0)>16){l=c[a+19784>>2]|0;m=c[a+19788>>2]|0;f=k;while(1){l=l+16|0;m=m+(l>>3)|0;f=f+-16|0;if((f|0)<=16)break;else l=l&7}c[a+19788>>2]=m;c[a+19784>>2]=l&7;c[a+19792>>2]=l&7;k=k+-16-(k+-17&-16)|0}if((k|0)>0){e=(c[a+19784>>2]|0)+k|0;c[a+19788>>2]=(c[a+19788>>2]|0)+(e>>3);c[a+19784>>2]=e&7;c[a+19792>>2]=e&7}else if((k|0)<0){a=1;i=J;return a|0}a=0;i=J;return a|0}function qwa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0.0,K=0.0,L=0.0,M=0.0,N=0.0,O=0.0,P=0.0,Q=0.0;x=+g[a+64>>2];D=+g[a+68>>2]+x;C=+g[a+60>>2];g[a+64>>2]=x+C;q=+g[a+56>>2];r=+g[a+52>>2];g[a+56>>2]=r+q;G=+g[a+48>>2];H=+g[a+44>>2];g[a+48>>2]=H+G;o=+g[a+40>>2];p=+g[a+36>>2];g[a+40>>2]=p+o;I=+g[a+32>>2];M=+g[a+28>>2];g[a+32>>2]=M+I;N=+g[a+24>>2];O=+g[a+20>>2];g[a+24>>2]=O+N;P=+g[a+16>>2];K=+g[a+12>>2];g[a+16>>2]=K+P;m=+g[a+8>>2];n=+g[a+4>>2];g[a+8>>2]=n+m;L=+g[a>>2];g[a+4>>2]=L+n;g[a+68>>2]=D+(q+C);g[a+60>>2]=G+r+(q+C);g[a+52>>2]=o+H+(G+r);g[a+44>>2]=I+p+(o+H);g[a+36>>2]=N+M+(I+p);g[a+28>>2]=P+O+(N+M);g[a+20>>2]=m+K+(P+O);g[a+12>>2]=L+n+(m+K);B=+g[178761];k=L-(H+G)*B-(H+G)*B-(x+C+(M+I)-(K+P))*B;z=L-(H+G)*B-(H+G)*B+(x+C+(M+I)-(K+P))*B*2.0;l=+g[178762];A=+g[178763];f=+g[178764];F=+g[178765];u=L+(H+G)*B-A*(K+P+(M+I))-F*(K+P+(x+C));i=A*(K+P+(M+I))+(L+(H+G)*B)+f*(M+I-(x+C));x=L+(H+G)*B-f*(M+I-(x+C))+F*(K+P+(x+C));v=+g[178766];s=+g[178767];h=s*(p+o-(r+q))+v*(n+m+(p+o))+(O+N)*l;J=+g[178768];w=v*(n+m+(p+o))-(O+N)*l+J*(n+m+(r+q));t=s*(p+o-(r+q))-(O+N)*l-J*(n+m+(r+q));j=(D+(q+C)+(N+M+(I+p))-(m+K+(P+O)))*B;Q=L+n+(o+H+(G+r))*B;B=L+n-(o+H+(G+r))*B-(o+H+(G+r))*B;y=(j*2.0+B)*+g[301576];E=Q-(m+K+(P+O)+(N+M+(I+p)))*A-(m+K+(P+O)+(D+(q+C)))*F;A=Q+(N+M+(I+p)-(D+(q+C)))*f+(m+K+(P+O)+(N+M+(I+p)))*A;Q=(m+K+(P+O)+(D+(q+C)))*F-(N+M+(I+p)-(D+(q+C)))*f+Q;f=(I+p+(o+H)-(G+r+(q+C)))*s+(I+p+(o+H)+(L+n+(m+K)))*v+(P+O+(N+M))*l;D=(f+A)*+g[301572];f=(A-f)*+g[301580];v=(G+r+(q+C)+(L+n+(m+K)))*J-(P+O+(N+M))*l+(I+p+(o+H)+(L+n+(m+K)))*v;A=(v+Q)*+g[301575];F=(I+p+(o+H)-(L+n+(m+K))+(G+r+(q+C)))*l;v=(Q-v)*+g[301577];s=-((P+O+(N+M))*l)-(G+r+(q+C)+(L+n+(m+K)))*J+(I+p+(o+H)-(G+r+(q+C)))*s;C=+g[301573]*(B-j-F);j=+g[301579]*(F+(B-j));B=+g[301574]*(s+E);s=+g[301578]*(E-s);g[c+36>>2]=+g[d+108>>2]*(D+(h+i));g[c+32>>2]=+g[d+104>>2]*(D+(h+i));g[e+1024>>2]=+g[d+32>>2]*(h+i-D)+ +g[b+32>>2];g[e+1152>>2]=+g[d+36>>2]*(h+i-D)+ +g[b+36>>2];D=C+(k-(r+q+(p+o)-(n+m))*l);g[c+40>>2]=+g[d+112>>2]*D;g[c+28>>2]=+g[d+100>>2]*D;C=k-(r+q+(p+o)-(n+m))*l-C;g[e+896>>2]=+g[d+28>>2]*C+ +g[b+28>>2];g[e+1280>>2]=+g[d+40>>2]*C+ +g[b+40>>2];g[c+44>>2]=+g[d+116>>2]*(B+(t+u));g[c+24>>2]=+g[d+96>>2]*(B+(t+u));g[e+768>>2]=+g[d+24>>2]*(t+u-B)+ +g[b+24>>2];g[e+1408>>2]=+g[d+44>>2]*(t+u-B)+ +g[b+44>>2];g[c+48>>2]=+g[d+120>>2]*(A+(w+x));g[c+20>>2]=+g[d+92>>2]*(A+(w+x));g[e+640>>2]=+g[d+20>>2]*(w+x-A)+ +g[b+20>>2];g[e+1536>>2]=+g[d+48>>2]*(w+x-A)+ +g[b+48>>2];g[c+52>>2]=+g[d+124>>2]*(y+z);g[c+16>>2]=+g[d+88>>2]*(y+z);g[e+512>>2]=+g[d+16>>2]*(z-y)+ +g[b+16>>2];g[e+1664>>2]=+g[d+52>>2]*(z-y)+ +g[b+52>>2];g[c+56>>2]=+g[d+128>>2]*(v+(x-w));g[c+12>>2]=+g[d+84>>2]*(v+(x-w));g[e+384>>2]=+g[d+12>>2]*(x-w-v)+ +g[b+12>>2];g[e+1792>>2]=+g[d+56>>2]*(x-w-v)+ +g[b+56>>2];g[c+60>>2]=+g[d+132>>2]*(s+(u-t));g[c+8>>2]=+g[d+80>>2]*(s+(u-t));g[e+256>>2]=+g[d+8>>2]*(u-t-s)+ +g[b+8>>2];g[e+1920>>2]=+g[d+60>>2]*(u-t-s)+ +g[b+60>>2];s=j+((r+q+(p+o)-(n+m))*l+k);g[c+64>>2]=+g[d+136>>2]*s;g[c+4>>2]=+g[d+76>>2]*s;j=(r+q+(p+o)-(n+m))*l+k-j;g[e+128>>2]=+g[d+4>>2]*j+ +g[b+4>>2];g[e+2048>>2]=+g[d+64>>2]*j+ +g[b+64>>2];g[c+68>>2]=+g[d+140>>2]*(f+(i-h));g[c>>2]=+g[d+72>>2]*(f+(i-h));g[e>>2]=+g[d>>2]*(i-h-f)+ +g[b>>2];g[e+2176>>2]=+g[d+68>>2]*(i-h-f)+ +g[b+68>>2];return}function rwa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0;c[f>>2]=c[b>>2];c[f+128>>2]=c[b+4>>2];c[f+256>>2]=c[b+8>>2];c[f+384>>2]=c[b+12>>2];c[f+512>>2]=c[b+16>>2];c[f+640>>2]=c[b+20>>2];h=+g[a+48>>2];j=+g[a+36>>2];k=+g[a+24>>2];n=+g[a+12>>2];l=+g[a>>2];m=h+ +g[a+60>>2]+(k+j);i=+g[178762];o=(l+n-m)*+g[301582];g[f+2048>>2]=(o+(l-(j+h)))*+g[e+40>>2]+ +g[b+64>>2];g[f+1664>>2]=+g[e+28>>2]*(o+(l-(j+h)))+ +g[b+52>>2];g[f+896>>2]=+g[e+4>>2]*(l-(j+h)-o)+ +g[b+28>>2];g[f+1280>>2]=+g[e+16>>2]*(l-(j+h)-o)+ +g[b+40>>2];o=+g[178761];p=(o*m+(l+n)+(l+n+(k+j))*i)*+g[301581];m=(o*m+(l+n)-(l+n+(k+j))*i)*+g[301583];g[f+2176>>2]=(m+(o*(j+h)+l-i*(n+k)))*+g[e+44>>2]+ +g[b+68>>2];g[f+1536>>2]=+g[e+24>>2]*(m+(o*(j+h)+l-i*(n+k)))+ +g[b+48>>2];g[f+1792>>2]=+g[e+32>>2]*(p+(o*(j+h)+l+i*(n+k)))+ +g[b+56>>2];g[f+1920>>2]=+g[e+36>>2]*(p+(o*(j+h)+l+i*(n+k)))+ +g[b+60>>2];g[f+768>>2]=+g[e>>2]*(o*(j+h)+l-i*(n+k)-m)+ +g[b+24>>2];g[f+1408>>2]=+g[e+20>>2]*(o*(j+h)+l-i*(n+k)-m)+ +g[b+44>>2];g[f+1024>>2]=+g[e+8>>2]*(o*(j+h)+l+i*(n+k)-p)+ +g[b+32>>2];g[f+1152>>2]=+g[e+12>>2]*(o*(j+h)+l+i*(n+k)-p)+ +g[b+36>>2];p=+g[a+52>>2];k=+g[a+40>>2];n=+g[a+28>>2];i=+g[a+16>>2];l=+g[a+4>>2];h=p+ +g[a+64>>2]+(n+k);j=+g[178762];o=(l+i-h)*+g[301582];g[d+16>>2]=(o+(l-(k+p)))*+g[e+40>>2];g[d+4>>2]=+g[e+28>>2]*(o+(l-(k+p)));g[f+1664>>2]=+g[f+1664>>2]+ +g[e+4>>2]*(l-(k+p)-o);g[f+2048>>2]=+g[f+2048>>2]+ +g[e+16>>2]*(l-(k+p)-o);o=+g[178761];m=(o*h+(l+i)+(l+i+(n+k))*j)*+g[301581];h=(o*h+(l+i)-(l+i+(n+k))*j)*+g[301583];g[d+20>>2]=(h+(o*(k+p)+l-j*(i+n)))*+g[e+44>>2];g[d>>2]=(h+(o*(k+p)+l-j*(i+n)))*+g[e+24>>2];g[d+8>>2]=+g[e+32>>2]*(m+(o*(k+p)+l+j*(i+n)));g[d+12>>2]=+g[e+36>>2]*(m+(o*(k+p)+l+j*(i+n)));g[f+1536>>2]=+g[f+1536>>2]+ +g[e>>2]*(o*(k+p)+l-j*(i+n)-h);g[f+2176>>2]=+g[f+2176>>2]+ +g[e+20>>2]*(o*(k+p)+l-j*(i+n)-h);g[f+1792>>2]=+g[f+1792>>2]+ +g[e+8>>2]*(o*(k+p)+l+j*(i+n)-m);g[f+1920>>2]=+g[f+1920>>2]+ +g[e+12>>2]*(o*(k+p)+l+j*(i+n)-m);c[d+48>>2]=0;c[d+48+4>>2]=0;c[d+48+8>>2]=0;c[d+48+12>>2]=0;c[d+48+16>>2]=0;c[d+48+20>>2]=0;m=+g[a+56>>2];n=+g[a+44>>2];i=+g[a+32>>2];j=+g[a+20>>2];l=+g[a+8>>2];p=m+ +g[a+68>>2]+(i+n);k=+g[178762];o=(l+j-p)*+g[301582];g[d+40>>2]=(o+(l-(n+m)))*+g[e+40>>2];g[d+28>>2]=+g[e+28>>2]*(o+(l-(n+m)));g[d+4>>2]=+g[d+4>>2]+ +g[e+4>>2]*(l-(n+m)-o);g[d+16>>2]=+g[d+16>>2]+ +g[e+16>>2]*(l-(n+m)-o);o=+g[178761];h=(o*p+(l+j)+(l+j+(i+n))*k)*+g[301581];p=(o*p+(l+j)-(l+j+(i+n))*k)*+g[301583];g[d+44>>2]=(p+(o*(n+m)+l-k*(j+i)))*+g[e+44>>2];g[d+24>>2]=(p+(o*(n+m)+l-k*(j+i)))*+g[e+24>>2];g[d+32>>2]=+g[e+32>>2]*(h+(o*(n+m)+l+k*(j+i)));g[d+36>>2]=+g[e+36>>2]*(h+(o*(n+m)+l+k*(j+i)));g[d>>2]=+g[d>>2]+ +g[e>>2]*(o*(n+m)+l-k*(j+i)-p);g[d+20>>2]=+g[d+20>>2]+ +g[e+20>>2]*(o*(n+m)+l-k*(j+i)-p);g[d+8>>2]=+g[d+8>>2]+ +g[e+8>>2]*(o*(n+m)+l+k*(j+i)-h);g[d+12>>2]=+g[d+12>>2]+ +g[e+12>>2]*(o*(n+m)+l+k*(j+i)-h);return}function swa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;c[a+27920>>2]=b;if((b|0)<=0){c[a+27940>>2]=0;c[a+27932>>2]=0;b=a+27936|0;c[b>>2]=0;b=a+27944|0;c[b>>2]=0;b=a+27948|0;c[b>>2]=0;return}c[a+27932>>2]=d+529;d=c[a+19688>>2]|0;if((d|0)==1)d=384;else if((d|0)==2)d=1152;else if(!(c[a+19672>>2]|0))d=c[a+19676>>2]|0?576:1152;else d=576;c[a+27940>>2]=529-e+(_(d,b)|0);b=a+27936|0;c[b>>2]=0;b=a+27944|0;c[b>>2]=0;b=a+27948|0;c[b>>2]=0;return}function twa(b,d){b=b|0;d=d|0;var e=0;e=c[b+19772>>2]|0;if(!e){e=Vpb(100)|0;c[b+19772>>2]=e;if(!e){b=0;return b|0}}b=e+100|0;do{a[e>>0]=a[d>>0]|0;e=e+1|0;d=d+1|0}while((e|0)<(b|0));b=1;return b|0}function uwa(a){a=a|0;var b=0,d=0.0,e=0.0,f=0,j=0;j=i;i=i+32|0;switch(c[a+28080>>2]|0){case 0:{e=-1.0;d=1.0;break}case 2:{b=(c[a+19820>>2]|0)!=-1&1;f=3;break}default:{b=0;f=3}}if((f|0)==3)if((c[a+19816+(b<<2)>>2]|0)==-1){e=-1.0;d=1.0}else{e=+g[a+19832+(b<<2)>>2];d=+g[a+19824+(b<<2)>>2];if(!(c[a+28068>>2]&32))if((c[a+28064>>2]|0)>1){f=c[37151]|0;h[j>>3]=d;oob(f,510719,j)|0}d=+P(10.0,+(d*.05))}d=+h[a+28344>>3]*d;if(d*e>1.0){d=1.0/e;f=c[37151]|0;c[j+8>>2]=1019;h[j+8+8>>3]=d;h[j+8+16>>3]=e;oob(f,510749,j+8|0)|0}if(!(d!=+h[a+19808>>3]))if(!(c[a+28380>>2]|0)){i=j;return}h[a+19808>>3]=d;b=c[a+19648>>2]|0;if(!b){i=j;return}Hi[b&1023](a);i=j;return}function vwa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;e=c[a+16>>2]|0;d=c[a+12>>2]|0;do if((e|0)==(d|0)){g=_(c[a+4>>2]|0,e)|0;d=c[a+20>>2]|0;if(!d)f=5;else if(wwa(a,d+e|0)|0){e=c[a+16>>2]|0;f=5}if((f|0)==5)if(e>>>0>=2){d=c[a+4>>2]<<1;c[a+4>>2]=d;f=e>>>1;c[a+16>>2]=f;if(!f)e=0;else{d=c[a>>2]|0;f=0;do{c[d+(f<<2)>>2]=c[d+(f<<1<<2)>>2];f=f+1|0;e=c[a+16>>2]|0}while(f>>>0>>0);d=c[a+4>>2]|0}c[a+8>>2]=_(d,e)|0}if((c[a+8>>2]|0)==(g|0)){e=c[a+16>>2]|0;d=c[a+12>>2]|0;break}else return}while(0);if(e>>>0>=d>>>0)return;c[(c[a>>2]|0)+(e<<2)>>2]=b;b=(c[a+16>>2]|0)+1|0;c[a+16>>2]=b;c[a+8>>2]=_(c[a+4>>2]|0,b)|0;return}function wwa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;d=c[a+12>>2]|0;if((d|0)==(b|0)){a=0;i=g;return a|0}if((b|0)!=0&d>>>0>b>>>0){d=c[a+16>>2]|0;if(d>>>0>b>>>0)do if(d>>>0>=2){e=c[a+4>>2]<<1;c[a+4>>2]=e;f=d>>>1;c[a+16>>2]=f;if(!f)d=0;else{e=c[a>>2]|0;f=0;do{c[e+(f<<2)>>2]=c[e+(f<<1<<2)>>2];f=f+1|0;d=c[a+16>>2]|0}while(f>>>0>>0);e=c[a+4>>2]|0}c[a+8>>2]=_(e,d)|0}while(d>>>0>b>>>0)}d=Xva(c[a>>2]|0,b<<2)|0;if(!((b|0)==0|(d|0)!=0)){a=c[37151]|0;c[g>>2]=78;oob(a,510945,g)|0;a=-1;i=g;return a|0}c[a>>2]=d;c[a+12>>2]=b;d=c[a+16>>2]|0;if(d>>>0>b>>>0){c[a+16>>2]=b;d=b}c[a+8>>2]=_(d,c[a+4>>2]|0)|0;a=0;i=g;return a|0}function xwa(a){a=a|0;var b=0,d=0.0,e=0;b=c[a+19688>>2]|0;switch(b|0){case 1:{b=c[a+19672>>2]|0;d=+(c[33904+(b*192|0)+(c[a+19700>>2]<<2)>>2]|0)*48.0e3/+(c[34288+(c[a+19704>>2]<<2)>>2]<>2]|0;d=+(c[33904+(e*192|0)+(b+-1<<6)+(c[a+19700>>2]<<2)>>2]|0)*144.0e3/+(c[34288+(c[a+19704>>2]<<2)>>2]<>2]=1;c[a+27856>>2]=0;c[a+27872>>2]=0;c[a+27864>>2]=0;c[a+27868>>2]=0;c[a+9264>>2]=0;c[a+9268>>2]=0;c[a+9276>>2]=0;c[a+9280>>2]=0;c[a+9588>>2]=0;c[a+28588>>2]=0;c[a+19772>>2]=0;d=zwa()|0;c[a+19620>>2]=d;c[a+19624>>2]=Awa(d)|0;c[a+19352>>2]=16384;c[a+19356>>2]=16384;c[a+19360>>2]=32768;c[a+9288>>2]=0;d=0;do{g[a+9420+(d<<2)>>2]=1.0;g[a+9292+(d<<2)>>2]=1.0;d=d+1|0}while((d|0)!=32);Bwa(a+28576|0);Cwa(a);Dwa(a+27876|0);c[a+27972>>2]=0;c[a+28608>>2]=0;c[a+28612>>2]=0;c[a+27988>>2]=0;c[a+27988+4>>2]=0;c[a+27988+8>>2]=0;c[a+27988+12>>2]=0;c[a+27988+16>>2]=0;c[a+28380>>2]=1;c[a+28376>>2]=0;if(!b){h[a+28344>>3]=1.0;c[a+28068>>2]=32832;c[a+28064>>2]=0;c[a+28336>>2]=0;c[a+28072>>2]=0;c[a+28072+4>>2]=0;c[a+28072+8>>2]=0;c[a+28072+12>>2]=0;c[a+28072+16>>2]=0;c[a+28072+20>>2]=0;c[a+28352>>2]=1024;c[a+28356>>2]=1e3;c[a+28360>>2]=4;Ewa(a+28064|0)|0;c[a+28364>>2]=5;c[a+28368>>2]=4096;d=a+28356|0;b=5;e=4096}else{mBb(a+28064|0,b|0,312)|0;d=a+28356|0;b=c[a+28364>>2]|0;e=c[a+28368>>2]|0}Fwa(a+28020|0,b,e);c[a+19680>>2]=0;Gwa(a);c[a+19636>>2]=0;c[a+19644>>2]=0;c[a+19648>>2]=0;Xwa(a+27832|0);d=c[d>>2]|0;if((d|0)>-1){c[a+27852>>2]=0;wwa(a+27832|0,d)|0;return}c[a+27852>>2]=0-d;if((c[a+27844>>2]|0)>>>0>=(0-d|0)>>>0)return;wwa(a+27832|0,0-d|0)|0;return}function zwa(){return 1}function Awa(a){a=a|0;return ((a|2|0)==14|((a|0)==7|(a|2|0)==11)?2:1)|0}function Bwa(a){a=a|0;c[a>>2]=0;return}function Cwa(b){b=b|0;var d=0;a[b+28524>>0]=0;b=b+28528|0;d=b+48|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(d|0));return}function Dwa(a){a=a|0;c[a>>2]=0;c[a+12>>2]=0;c[a+8>>2]=0;return}function Ewa(b){b=b|0;var d=0;if(!b){b=25;return b|0}if(!(c[b+4>>2]&32))if((c[b>>2]|0)>2){ppb(510990,28,1,c[37151]|0)|0;d=0}else d=0;else d=0;do{a[b+32+(d*12|0)>>0]=1;a[b+32+(d*12|0)+1>>0]=1;a[b+32+(d*12|0)+2>>0]=1;a[b+32+(d*12|0)+3>>0]=1;a[b+32+(d*12|0)+4>>0]=1;a[b+32+(d*12|0)+5>>0]=1;a[b+32+(d*12|0)+6>>0]=1;a[b+32+(d*12|0)+7>>0]=0;a[b+32+(d*12|0)+8>>0]=1;a[b+32+(d*12|0)+9>>0]=1;a[b+32+(d*12|0)+10>>0]=1;a[b+32+(d*12|0)+11>>0]=1;d=d+1|0}while((d|0)!=10);d=0;do{a[b+152+(d*12|0)>>0]=1;a[b+152+(d*12|0)+1>>0]=1;a[b+152+(d*12|0)+2>>0]=1;a[b+152+(d*12|0)+3>>0]=1;a[b+152+(d*12|0)+4>>0]=1;a[b+152+(d*12|0)+5>>0]=1;a[b+152+(d*12|0)+6>>0]=1;a[b+152+(d*12|0)+7>>0]=0;a[b+152+(d*12|0)+8>>0]=1;a[b+152+(d*12|0)+9>>0]=1;a[b+152+(d*12|0)+10>>0]=1;a[b+152+(d*12|0)+11>>0]=1;d=d+1|0}while((d|0)!=10);d=0;return d|0}function Fwa(a,b,d){a=a|0;b=b|0;d=d|0;c[a+28>>2]=b;c[a+24>>2]=d;c[a+36>>2]=0;c[a+32>>2]=0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[a+20>>2]=0;return}function Gwa(b){b=b|0;var d=0;d=c[b+28576>>2]|0;if(d|0)Wpb(d);c[b+28576>>2]=0;c[b+28580>>2]=0;c[b+28584>>2]=0;Hwa(b);c[b+27900>>2]=0;c[b+27904>>2]=0;c[b+28392>>2]=0;c[b+27896>>2]=0;c[b+19748>>2]=-1;c[b+19752>>2]=-1;c[b+19756>>2]=-1;c[b+19764>>2]=1;a[b+19768>>0]=0;c[b+19760>>2]=0;c[b+28388>>2]=0;c[b+27820>>2]=0;c[b+27824>>2]=0;c[b+19744>>2]=0;c[b+27828>>2]=0;c[b+19840>>2]=0;c[b+19844>>2]=-1;c[b+19736>>2]=0;c[b+19856>>2]=0;h[b+19848>>3]=0.0;c[b+19740>>2]=0;h[b+19808>>3]=-1.0;c[b+19816>>2]=-1;c[b+19820>>2]=-1;c[b+19860>>2]=0;c[b+27908>>2]=0;c[b+19824>>2]=0;c[b+19824+4>>2]=0;c[b+19824+8>>2]=0;c[b+19824+12>>2]=0;c[b+27916>>2]=0-(c[b+28360>>2]|0);c[b+27912>>2]=-1;c[b>>2]=1;c[b+4>>2]=0;c[b+27920>>2]=-1;c[b+27924>>2]=0;c[b+27924+4>>2]=0;c[b+27924+8>>2]=0;c[b+27924+12>>2]=0;c[b+27924+16>>2]=0;c[b+27924+20>>2]=0;c[b+27924+24>>2]=0;c[b+9272>>2]=1;Uwa(b);Wwa(b+28576|0);c[b+28580>>2]=0;c[b+28584>>2]=0;c[b+9584>>2]=0;c[b+19696>>2]=0;c[b+19780>>2]=-1;return}function Hwa(a){a=a|0;Iwa(a+28576|0);c[a+27956>>2]=35436;c[a+27976>>2]=0;c[a+28020>>2]=0;c[a+28020+4>>2]=0;c[a+28020+8>>2]=0;c[a+28020+12>>2]=0;c[a+28020+16>>2]=0;c[a+28020+20>>2]=0;c[a+27960>>2]=-1;return}function Iwa(a){a=a|0;var b=0;b=c[a>>2]|0;if(b|0)Wpb(b);c[a>>2]=0;return}function Jwa(a){a=a|0;c[a+28376>>2]=24;return -1}function Kwa(a){a=a|0;return}function Lwa(a,b,d){a=a|0;b=b|0;d=d|0;c[a+28376>>2]=24;return -1}function Mwa(a,b){a=a|0;b=b|0;c[a+28376>>2]=24;return -1}function Nwa(a,b){a=a|0;b=b|0;c[a+28376>>2]=24;return -1}function Owa(a,b){a=a|0;b=b|0;c[a+28376>>2]=24;return -1}function Pwa(a,b,d){a=a|0;b=b|0;d=d|0;c[a+28376>>2]=24;return -1}function Qwa(a,b){a=a|0;b=b|0;c[a+28376>>2]=24;return -1}function Rwa(a,b){a=a|0;b=b|0;c[a+28376>>2]=24;return -1}function Swa(a){a=a|0;c[a+28376>>2]=24;return -1}function Twa(a){a=a|0;return}function Uwa(b){b=b|0;var d=0;Vwa(b);a[b+28524>>0]=0;b=b+28528|0;d=b+48|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(d|0));return}function Vwa(a){a=a|0;var b=0,d=0;if(c[a+28556>>2]|0){b=0;do{d=c[a+28552>>2]|0;bwa(d+(b<<5)+20|0);bwa(d+(b<<5)+8|0);b=b+1|0}while(b>>>0<(c[a+28556>>2]|0)>>>0)}Wpb(c[a+28552>>2]|0);c[a+28552>>2]=0;c[a+28556>>2]=0;if(c[a+28572>>2]|0){b=0;do{d=c[a+28568>>2]|0;bwa(d+(b<<5)+20|0);bwa(d+(b<<5)+8|0);b=b+1|0}while(b>>>0<(c[a+28572>>2]|0)>>>0)}Wpb(c[a+28568>>2]|0);c[a+28568>>2]=0;c[a+28572>>2]=0;if(!(c[a+28564>>2]|0)){d=c[a+28560>>2]|0;Wpb(d);c[a+28560>>2]=0;c[a+28564>>2]=0;return}else b=0;do{d=c[a+28560>>2]|0;bwa(d+(b<<5)+20|0);bwa(d+(b<<5)+8|0);b=b+1|0}while(b>>>0<(c[a+28564>>2]|0)>>>0);d=c[a+28560>>2]|0;Wpb(d);c[a+28560>>2]=0;c[a+28564>>2]=0;return}function Wwa(a){a=a|0;var b=0;b=c[a>>2]|0;if(b|0)Wpb(b);c[a>>2]=0;return}function Xwa(a){a=a|0;c[a>>2]=0;c[a+4>>2]=1;c[a+8>>2]=0;c[a+8+4>>2]=0;c[a+8+8>>2]=0;c[a+8+12>>2]=0;return}function Ywa(a){a=a|0;var b=0;b=c[a+28356>>2]|0;if((b|0)>-1){c[a+27852>>2]=0;a=wwa(a+27832|0,b)|0;return a|0}c[a+27852>>2]=0-b;if((c[a+27844>>2]|0)>>>0>=(0-b|0)>>>0){a=0;return a|0}a=wwa(a+27832|0,0-b|0)|0;return a|0}function Zwa(a){a=a|0;var b=0,d=0,e=0,f=0;f=i;i=i+16|0;d=c[a+27896>>2]|0;if(!(c[a+27892>>2]|0)){b=c[a+27868>>2]|0;if(b>>>0>>0){c[a+28376>>2]=6;if(c[a+28068>>2]&32|0){a=-1;i=f;return a|0}a=c[37151]|0;c[f>>2]=184;c[f+4>>2]=b;c[f+8>>2]=d;oob(a,511019,f)|0;a=-1;i=f;return a|0}}b=c[a+27872>>2]|0;do if(!b)e=9;else if((c[a+27868>>2]|0)==(d|0)){c[a+27868>>2]=d;c[a+27856>>2]=0;d=a+27856|0;break}else{Wpb(b);c[a+27872>>2]=0;e=9;break}while(0);if((e|0)==9){c[a+27868>>2]=d;c[a+27856>>2]=0;b=Vpb(d+15|0)|0;c[a+27872>>2]=b;if(!b){c[a+28376>>2]=7;a=-1;i=f;return a|0}else d=a+27856|0}e=b&15;c[d>>2]=(e|0)==0?b:b+16+(0-e)|0;c[a+27892>>2]=1;c[a+27864>>2]=0;a=0;i=f;return a|0}function _wa(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a+19620>>2]|0;switch(b|0){case 10:{b=17408;break}case 6:case 5:{f=3;break}default:if((b|0)==8)f=3;else b=0}if((f|0)==3)b=4352;d=(b>>>0<4352?4352:b)|15;b=c[a+9264>>2]|0;if(!b)f=7;else if((c[a+9268>>2]|0)==(d|0))e=a+9268|0;else{Wpb(b);c[a+9264>>2]=0;f=7}do if((f|0)==7){b=Vpb(d)|0;c[a+9264>>2]=b;if(!b){a=-1;return a|0}else{e=a+9268|0;break}}while(0);c[e>>2]=d;d=b&15;b=(d|0)==0?b:b+16+(0-d)|0;c[a+9232>>2]=b;c[a+9236>>2]=b+544;c[a+9240>>2]=b+1088;c[a+9244>>2]=b+1632;c[a+9248>>2]=b;c[a+9252>>2]=b+1088;c[a+9256>>2]=b+2176;c[a+9260>>2]=b+3264;b=c[a+9276>>2]|0;if(!b)f=12;else if((c[a+9280>>2]|0)==2176)d=a+9280|0;else{Wpb(b);c[a+9276>>2]=0;f=12}do if((f|0)==12){b=Vpb(2176)|0;c[a+9276>>2]=b;if(!b){a=-1;return a|0}else{d=a+9280|0;break}}while(0);c[d>>2]=2176;c[a+9284>>2]=b;do if(!(c[a+28588>>2]|0)){b=Vpb(10559)|0;c[a+28588>>2]=b;if(!b){a=-1;return a|0}else{f=(b&63|0)==0?b:b+64+(0-(b&63))|0;c[a+28592>>2]=f;c[a+28596>>2]=f+256;c[a+28600>>2]=f+1280;c[a+28604>>2]=f+5888;break}}while(0);hBb(c[a+9264>>2]|0,0,c[e>>2]|0)|0;a=0;return a|0}function $wa(a){a=a|0;c[a+27864>>2]=0;c[a+27816>>2]=0;c[a+27808>>2]=a+23840;c[a+27812>>2]=a+23840;c[a+19868>>2]=0;hBb(c[a+9264>>2]|0,0,c[a+9268>>2]|0)|0;hBb(a+19872|0,0,7936)|0;c[a+9548>>2]=0;c[a+9548+4>>2]=0;c[a+9548+8>>2]=0;c[a+9548+12>>2]=0;c[a+9548+16>>2]=0;c[a+9548+20>>2]=0;c[a+9548+24>>2]=0;c[a+9548+28>>2]=0;b[a+9548+32>>1]=0;hBb(a+8|0,0,9224)|0;return 0}function axa(a){a=a|0;var d=0;c[a+27864>>2]=0;c[a+27816>>2]=0;c[a+27808>>2]=a+23840;c[a+27812>>2]=a+23840;c[a+19868>>2]=0;hBb(c[a+9264>>2]|0,0,c[a+9268>>2]|0)|0;hBb(a+19872|0,0,7936)|0;c[a+9548>>2]=0;c[a+9548+4>>2]=0;c[a+9548+8>>2]=0;c[a+9548+12>>2]=0;c[a+9548+16>>2]=0;c[a+9548+20>>2]=0;c[a+9548+24>>2]=0;c[a+9548+28>>2]=0;b[a+9548+32>>1]=0;hBb(a+8|0,0,9224)|0;Gwa(a);d=c[a+19772>>2]|0;if(!d){a=a+27832|0;bxa(a);return 0}Wpb(d);c[a+19772>>2]=0;a=a+27832|0;bxa(a);return 0}function bxa(a){a=a|0;c[a+16>>2]=0;c[a+4>>2]=1;c[a+8>>2]=0;return}function cxa(a){a=a|0;var b=0;b=c[a+27872>>2]|0;if(b|0)Wpb(b);c[a+27872>>2]=0;b=c[a+9264>>2]|0;if(b|0)Wpb(b);c[a+9264>>2]=0;c[a+9268>>2]=0;b=c[a+9276>>2]|0;if(b|0)Wpb(b);c[a+9276>>2]=0;c[a+9280>>2]=0;b=c[a+9588>>2]|0;if(b|0)Wpb(b);c[a+9588>>2]=0;b=c[a+28588>>2]|0;if(b|0)Wpb(b);b=c[a+19772>>2]|0;if(b|0){Wpb(b);c[a+19772>>2]=0}dxa(a+27832|0);Vwa(a);Iwa(a+28576|0);b=c[a+28612>>2]|0;if(!b){a=a+28020|0;exa(a);return}Hi[b&1023](c[a+28608>>2]|0);c[a+28608>>2]=0;a=a+28020|0;exa(a);return}function dxa(a){a=a|0;var b=0;if(c[a+12>>2]|0){b=c[a>>2]|0;if(b|0)Wpb(b)}c[a>>2]=0;c[a+4>>2]=1;c[a+8>>2]=0;c[a+8+4>>2]=0;c[a+8+8>>2]=0;c[a+8+12>>2]=0;return}function exa(a){a=a|0;var b=0,d=0;b=c[a+36>>2]|0;if(b|0)do{d=b;b=c[b+12>>2]|0;Wpb(c[d>>2]|0);Wpb(d)}while((b|0)!=0);c[a+36>>2]=0;c[a+32>>2]=0;return}function fxa(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,i=0.0,j=0,k=0,l=0;c[f>>2]=0;j=c[b+27848>>2]|0;if(!j){if(!(c[b+28068>>2]&512)){c[b+27824>>2]=0;c[b+27820>>2]=0;f=0;return f|0}k=c[b+19760>>2]|0;c[f>>2]=0;g=c[b+19772>>2]|0;if(g|0){j=c[b+19840>>2]|0;if((j|0)>0)if((c[b+27960>>2]|0)>0){e=(~~(+(e|0)*100.0/+(j|0))|0)<0?0:~~(+(e|0)*100.0/+(j|0));e=(e|0)>99?99:e;c[f>>2]=~~(+(j|0)*.01*+(e|0));c[b+19764>>2]=c[b+19764>>2]&-2;a[b+19768>>0]=1;f=~~(+(d[g+e>>0]|0)*.00390625*+(c[b+27960>>2]|0));return f|0}}i=+h[b+19848>>3];if(!(i>0.0)){f=k;return f|0}c[b+19764>>2]=c[b+19764>>2]&-2;a[b+19768>>0]=1;c[f>>2]=e;f=~~(+(c[b+19760>>2]|0)+i*+(e|0));return f|0}g=c[b+27836>>2]|0;if(((e|0)/(g|0)|0)>>>0>>0){k=g;g=(e|0)/(g|0)|0}else{do if(c[b+28068>>2]&512)if((e-(_(g,j+-1|0)|0)|0)>>>0>10){g=c[b+19760>>2]|0;c[f>>2]=0;j=c[b+19772>>2]|0;if(!j)l=9;else{k=c[b+19840>>2]|0;if((k|0)>0)if((c[b+27960>>2]|0)>0){g=(~~(+(e|0)*100.0/+(k|0))|0)<0?0:~~(+(e|0)*100.0/+(k|0));g=(g|0)>99?99:g;c[f>>2]=~~(+(k|0)*.01*+(g|0));c[b+19764>>2]=c[b+19764>>2]&-2;a[b+19768>>0]=1;g=~~(+(d[j+g>>0]|0)*.00390625*+(c[b+27960>>2]|0))}else l=9;else l=9}if((l|0)==9){i=+h[b+19848>>3];if(i>0.0){c[b+19764>>2]=c[b+19764>>2]&-2;a[b+19768>>0]=1;c[f>>2]=e;g=~~(+(c[b+19760>>2]|0)+i*+(e|0))}}if((g|0)>(c[b+19760>>2]|0)){f=g;return f|0}else{g=c[b+27836>>2]|0;j=c[b+27848>>2]|0;break}}while(0);k=g;g=j+-1|0}c[f>>2]=_(k,g)|0;f=c[(c[b+27832>>2]|0)+(g<<2)>>2]|0;c[b+19764>>2]=c[b+19764>>2]|1;return f|0}function gxa(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;d=c[a+19680>>2]|0;switch(d|0){case 2:case 1:case 0:{d=b>>d;break}case 3:{d=hxa(a,b)|0;break}default:{b=c[37151]|0;c[e>>2]=769;c[e+4>>2]=d;oob(b,511083,e)|0;d=0}}i=e;return d|0}function hxa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;d=c[a+19688>>2]|0;if((d|0)==1)f=384;else if((d|0)==2)f=1152;else if(!(c[a+19672>>2]|0))f=c[a+19676>>2]|0?576:1152;else f=576;if((b|0)<1){f=0;return f|0}e=c[a+19360>>2]|0;a=16384;d=0;while(1){g=(b|0)>(f|0)?f:b;a=(_(g,e)|0)+a|0;d=((a|0)/32768|0)+d|0;b=b-g|0;if((b|0)<=0)break;else a=a-(((a|0)/32768|0)<<15)|0}return d|0}function ixa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+16|0;e=c[a+19680>>2]|0;switch(e|0){case 2:case 1:case 0:{d=c[a+19688>>2]|0;if((d|0)==1)d=384;else if((d|0)==2)d=1152;else if(!(c[a+19672>>2]|0))d=c[a+19676>>2]|0?576:1152;else d=576;b=_(d>>>e,b)|0;i=f;return b|0}case 3:{b=jxa(a,b)|0;i=f;return b|0}default:{b=c[37151]|0;c[f>>2]=789;c[f+4>>2]=e;oob(b,511083,f)|0;b=0;i=f;return b|0}}return 0}function jxa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;if((b|0)<=0){b=0;return b|0}j=c[a+19360>>2]|0;switch(c[a+19688>>2]|0){case 1:{f=0;e=16384;d=0;while(1){e=(j*384|0)+e|0;d=((e|0)/32768|0)+d|0;f=f+1|0;if((f|0)==(b|0))break;else e=e-(((e|0)/32768|0)<<15)|0}return d|0}case 2:{f=0;e=16384;d=0;while(1){e=(j*1152|0)+e|0;d=((e|0)/32768|0)+d|0;f=f+1|0;if((f|0)==(b|0))break;else e=e-(((e|0)/32768|0)<<15)|0}return d|0}default:{g=(c[a+19672>>2]|0)==0;h=0;f=16384;d=0;while(1){if(g)if(!(c[a+19676>>2]|0))e=1152;else i=10;else i=10;if((i|0)==10){i=0;e=576}e=(_(j,e)|0)+f|0;d=((e|0)/32768|0)+d|0;h=h+1|0;if((h|0)==(b|0))break;else f=e-(((e|0)/32768|0)<<15)|0}return d|0}}return 0}function kxa(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;d=c[a+19680>>2]|0;switch(d|0){case 2:case 1:case 0:{b=c[a+19688>>2]|0;if((b|0)==1)b=384;else if((b|0)==2)b=1152;else if(!(c[a+19672>>2]|0))b=c[a+19676>>2]|0?576:1152;else b=576;d=b>>>d;i=e;return d|0}case 3:{d=lxa(a)|0;i=e;return d|0}default:{a=c[37151]|0;c[e>>2]=811;c[e+4>>2]=d;oob(a,511083,e)|0;d=0;i=e;return d|0}}return 0}function lxa(a){a=a|0;var b=0,d=0;d=c[a+19352>>2]|0;b=c[a+19688>>2]|0;if((b|0)==1)b=384;else if((b|0)==2)b=1152;else if(!(c[a+19672>>2]|0))b=c[a+19676>>2]|0?576:1152;else b=576;return ((_(c[a+19360>>2]|0,b)|0)+d|0)/32768|0|0}function mxa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;if((b|0)<1){i=0;return i|0}i=c[a+19360>>2]|0;switch(c[a+19688>>2]|0){case 1:{if((((i*384|0)+16384|0)/32768|0|0)>(b|0)){i=0;return i|0}else{d=b;e=((i*384|0)+16384|0)/32768|0;f=(i*384|0)+16384|0;b=0}do{d=d-e|0;b=b+1|0;f=(i*384|0)+(f-(e<<15))|0;e=(f|0)/32768|0}while((d|0)>=(e|0));return b|0}case 2:{if((((i*1152|0)+16384|0)/32768|0|0)>(b|0)){i=0;return i|0}else{d=b;e=((i*1152|0)+16384|0)/32768|0;f=(i*1152|0)+16384|0;b=0}do{d=d-e|0;b=b+1|0;f=(i*1152|0)+(f-(e<<15))|0;e=(f|0)/32768|0}while((d|0)>=(e|0));return b|0}default:{g=(c[a+19672>>2]|0)==0;f=b;b=0;e=16384;while(1){if(g)if(!(c[a+19676>>2]|0))d=1152;else h=10;else h=10;if((h|0)==10){h=0;d=576}d=(_(i,d)|0)+e|0;if((f|0)<((d|0)/32768|0|0))break;f=f-((d|0)/32768|0)|0;b=b+1|0;e=d-(((d|0)/32768|0)<<15)|0}return b|0}}return 0}function nxa(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+32|0;b=c[a+27932>>2]|0;d=c[a+19680>>2]|0;switch(d|0){case 2:case 1:case 0:{b=b>>d;break}case 3:{b=hxa(a,b)|0;break}default:{b=c[37151]|0;c[e>>2]=769;c[e+4>>2]=d;oob(b,511083,e)|0;b=0}}c[a+27936>>2]=b;d=c[a+27940>>2]|0;b=c[a+19680>>2]|0;switch(b|0){case 2:case 1:case 0:{b=d>>b;break}case 3:{b=hxa(a,d)|0;break}default:{d=c[37151]|0;c[e+8>>2]=769;c[e+8+4>>2]=b;oob(d,511083,e+8|0)|0;b=0}}c[a+27944>>2]=b;d=c[a+27920>>2]|0;b=c[a+19688>>2]|0;if((b|0)==1)b=384;else if((b|0)==2)b=1152;else if(!(c[a+19672>>2]|0))b=c[a+19676>>2]|0?576:1152;else b=576;b=_(b,d)|0;d=c[a+19680>>2]|0;switch(d|0){case 2:case 1:case 0:{d=b>>d;a=a+27948|0;c[a>>2]=d;i=e;return}case 3:{d=hxa(a,b)|0;a=a+27948|0;c[a>>2]=d;i=e;return}default:{b=c[37151]|0;c[e+16>>2]=769;c[e+16+4>>2]=d;oob(b,511083,e+16|0)|0;d=0;a=a+27948|0;c[a>>2]=d;i=e;return}}}function oxa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+16|0;e=c[a+27920>>2]|0;d=c[a+19688>>2]|0;if((d|0)==1)d=384;else if((d|0)==2)d=1152;else if(!(c[a+19672>>2]|0))d=c[a+19676>>2]|0?576:1152;else d=576;d=_(d,e)|0;if(!((d|0)==(b|0)?1:(c[a+28068>>2]&32|0)!=0))ppb(511220,90,1,c[37151]|0)|0;if((d|0)<=(b|0)){i=f;return}if(!(c[a+28068>>2]&32)){d=c[37151]|0;e=c[a+27940>>2]|0;c[f>>2]=873;c[f+4>>2]=b;c[f+8>>2]=e;oob(d,511311,f)|0;d=a+27940|0}else d=a+27940|0;c[a+27920>>2]=-1;c[d>>2]=0;c[a+27932>>2]=0;c[a+27936>>2]=0;c[a+27944>>2]=0;c[a+27948>>2]=0;nxa(a);c[a+27912>>2]=-1;c[a+27928>>2]=0;i=f;return}function pxa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;j=i;i=i+32|0;c[a+27908>>2]=b;do if(!(c[a+28068>>2]&64))h=41;else if((c[a+27920>>2]|0)>0){f=c[a+27936>>2]|0;e=c[a+19680>>2]|0;switch(e|0){case 2:case 1:case 0:{d=c[a+19688>>2]|0;if((d|0)==1)d=384;else if((d|0)==2)d=1152;else if(!(c[a+19672>>2]|0))d=c[a+19676>>2]|0?576:1152;else d=576;g=(f|0)/(d>>>e|0)|0;break}case 3:{g=mxa(a,f)|0;break}default:{g=c[37151]|0;c[j>>2]=831;oob(g,511154,j)|0;g=0}}if((g|0)<(b|0))c[a+27924>>2]=0;else{c[a+27908>>2]=g;f=c[a+27936>>2]|0;e=c[a+19680>>2]|0;switch(e|0){case 2:case 1:case 0:{d=c[a+19688>>2]|0;if((d|0)==1)d=384;else if((d|0)==2)d=1152;else if(!(c[a+19672>>2]|0))d=c[a+19676>>2]|0?576:1152;else d=576;d=_(d>>>e,g)|0;break}case 3:{d=jxa(a,g)|0;break}default:{d=c[37151]|0;c[j+8>>2]=789;c[j+8+4>>2]=e;oob(d,511083,j+8|0)|0;d=0}}c[a+27924>>2]=f-d}e=c[a+27944>>2]|0;if((e|0)<=0){c[a+27912>>2]=-1;c[a+27928>>2]=0;break}f=c[a+19680>>2]|0;switch(f|0){case 2:case 1:case 0:{d=c[a+19688>>2]|0;if((d|0)==1)d=384;else if((d|0)==2)d=1152;else if(!(c[a+19672>>2]|0))d=c[a+19676>>2]|0?576:1152;else d=576;f=(e|0)/(d>>>f|0)|0;break}case 3:{f=mxa(a,e)|0;break}default:{f=c[37151]|0;c[j+16>>2]=831;oob(f,511154,j+16|0)|0;f=0}}c[a+27912>>2]=f;b=c[a+27944>>2]|0;e=c[a+19680>>2]|0;switch(e|0){case 2:case 1:case 0:{d=c[a+19688>>2]|0;if((d|0)==1)d=384;else if((d|0)==2)d=1152;else if(!(c[a+19672>>2]|0))d=c[a+19676>>2]|0?576:1152;else d=576;d=_(d>>>e,f)|0;break}case 3:{d=jxa(a,f)|0;break}default:{d=c[37151]|0;c[j+24>>2]=789;c[j+24+4>>2]=e;oob(d,511083,j+24|0)|0;d=0}}c[a+27928>>2]=b-d}else h=41;while(0);if((h|0)==41){c[a+27928>>2]=0;c[a+27924>>2]=0;c[a+27912>>2]=-1}g=c[a+19688>>2]|0;h=c[a+28360>>2]|0;h=(g|0)==3&(h|0)<1?1:h;c[a+27916>>2]=(c[a+27908>>2]|0)-((g|0)!=3&(h|0)>2?2:h);i=j;return}function qxa(a){a=a|0;if((c[a+19688>>2]|0)!=3)return;mwa(a,512);return}function rxa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;g=i;i=i+16|0;e=c[a+19680>>2]|0;switch(e|0){case 2:case 1:case 0:{d=c[a+19688>>2]|0;if((d|0)==1)d=384;else if((d|0)==2)d=1152;else if(!(c[a+19672>>2]|0))d=c[a+19676>>2]|0?576:1152;else d=576;d=(b|0)/(d>>>e|0)|0;break}case 3:{d=mxa(a,b)|0;break}default:{d=c[37151]|0;c[g>>2]=831;oob(d,511154,g)|0;d=0}}c[a+27908>>2]=d;e=c[a+19680>>2]|0;if((e|0)==3){sxa(a,d);d=c[a+27908>>2]|0;e=c[a+19680>>2]|0}f=c[a+19688>>2]|0;h=c[a+28360>>2]|0;h=(f|0)==3&(h|0)<1?1:h;c[a+27916>>2]=d-((f|0)!=3&(h|0)>2?2:h);switch(e|0){case 2:case 1:case 0:{if((f|0)==1)f=384;else if((f|0)==2)f=1152;else if(!(c[a+19672>>2]|0))f=c[a+19676>>2]|0?576:1152;else f=576;h=_(f>>>e,d)|0;b=b-h|0;h=a+27924|0;c[h>>2]=b;i=g;return}case 3:{h=jxa(a,d)|0;b=b-h|0;h=a+27924|0;c[h>>2]=b;i=g;return}default:{h=c[37151]|0;c[g+8>>2]=789;c[g+8+4>>2]=e;oob(h,511083,g+8|0)|0;h=0;b=b-h|0;h=a+27924|0;c[h>>2]=b;i=g;return}}}function sxa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if((b|0)>0){f=c[a+19360>>2]|0;switch(c[a+19688>>2]|0){case 1:{e=0;d=16384;while(1){d=d+(f*384|0)|0;e=e+1|0;if((e|0)==(b|0)){d=d-(((d|0)/32768|0)<<15)|0;break}else d=d-(((d|0)/32768|0)<<15)|0}break}case 2:{e=0;d=16384;while(1){d=d+(f*1152|0)|0;e=e+1|0;if((e|0)==(b|0)){d=d-(((d|0)/32768|0)<<15)|0;break}else d=d-(((d|0)/32768|0)<<15)|0}break}default:if(!(c[a+19672>>2]|0)){e=_((c[a+19676>>2]|0)==0?1152:576,f)|0;f=0;d=16384;while(1){d=e+d|0;f=f+1|0;if((f|0)==(b|0)){d=d-(((d|0)/32768|0)<<15)|0;break}else d=d-(((d|0)/32768|0)<<15)|0}}else{e=0;d=16384;while(1){d=(f*576|0)+d|0;e=e+1|0;if((e|0)==(b|0)){d=d-(((d|0)/32768|0)<<15)|0;break}else d=d-(((d|0)/32768|0)<<15)|0}}}}else d=16384;c[a+19352>>2]=d;c[a+19356>>2]=d;return}function txa(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+64|0;f=c[b+19652>>2]|0;l=m+48+8|0;c[l>>2]=f;k=c[b+28068>>2]|0;h=(k&1024|0)==0?k>>>1&8:6;f=(k&8|0)==0?((k&7|0)==0?f:1):2;if(k&15|0)c[l>>2]=f;j=c[b+28072>>2]|0;a:do if(!j){if(!(uxa(b,m+48|0,h,2)|0)){d=h>>>0>2?h:2;if(!(uxa(b,m+48|0,d,(k&1024)>>>8^12)|0)){switch(c[l>>2]|0){case 2:{if(!(c[b+28068>>2]&8))c[l>>2]=1;break}case 1:{if(!(c[b+28068>>2]&7))c[l>>2]=2;break}default:{}}if(!(uxa(b,m+48|0,h,2)|0))if(!(uxa(b,m+48|0,d,(k&1024)>>>8^12)|0)){d=c[b+28068>>2]|0;if(!(d&32)){e=c[37151]|0;if(!(d&8))f=d&7|0?511424:1279070;else f=511431;j=Zva(b)|0;k=(Zva(b)|0)>>1;l=(Zva(b)|0)>>2;c[m+16>>2]=269;c[m+16+4>>2]=f;c[m+16+8>>2]=d&16|0?511440:1279070;c[m+16+12>>2]=j;c[m+16+16>>2]=k;c[m+16+20>>2]=l;oob(e,511525,m+16|0)|0}c[b+28376>>2]=1;b=-1;i=m;return b|0}}}}else{c[m+48+12>>2]=j;if((j|0)==8e3)e=0;else if((j|0)==11025)e=1;else if((j|0)==12e3)e=2;else if((j|0)==16e3)e=3;else if((j|0)==22050)e=4;else if((j|0)==24e3)e=5;else if((j|0)==32e3)e=6;else if((j|0)==44100)e=7;else e=(j|0)==48e3?8:9;b:do if(h>>>0<2){d=k>>>1&8;while(1){if(a[b+28096+((f+-1|0)*120|0)+(e*12|0)+d>>0]|0)break;d=d+1|0;if((d|0)>=2)break b}c[m+48>>2]=c[35520+(d<<2)>>2];break a}while(0);g=h>>>0>2?h:2;if((j|0)==8e3)e=0;else if((j|0)==11025)e=1;else if((j|0)==12e3)e=2;else if((j|0)==16e3)e=3;else if((j|0)==22050)e=4;else if((j|0)==24e3)e=5;else if((j|0)==32e3)e=6;else if((j|0)==44100)e=7;else e=(j|0)==48e3?8:9;c:do if((g|0)<((k&1024)>>>8^12|0)){d=g;while(1){if(a[b+28096+((f+-1|0)*120|0)+(e*12|0)+d>>0]|0)break;d=d+1|0;if((d|0)>=((k&1024)>>>8^12|0))break c}c[m+48>>2]=c[35520+(d<<2)>>2];break a}while(0);switch(f|0){case 2:{if(!(k&8)){c[l>>2]=1;d=1}else d=2;break}case 1:{if(!(k&7)){c[l>>2]=2;d=2}else d=1;break}default:d=f}f=d+-1|0;if((j|0)==8e3)e=0;else if((j|0)==11025)e=1;else if((j|0)==12e3)e=2;else if((j|0)==16e3)e=3;else if((j|0)==22050)e=4;else if((j|0)==24e3)e=5;else if((j|0)==32e3)e=6;else if((j|0)==44100)e=7;else e=(j|0)==48e3?8:9;d:do if(h>>>0<2){d=k>>>1&8;while(1){if(a[b+28096+(f*120|0)+(e*12|0)+d>>0]|0)break;d=d+1|0;if((d|0)>=2)break d}c[m+48>>2]=c[35520+(d<<2)>>2];break a}while(0);if((j|0)==8e3)e=0;else if((j|0)==11025)e=1;else if((j|0)==12e3)e=2;else if((j|0)==16e3)e=3;else if((j|0)==22050)e=4;else if((j|0)==24e3)e=5;else if((j|0)==32e3)e=6;else if((j|0)==44100)e=7;else e=(j|0)==48e3?8:9;e:do if((g|0)<((k&1024)>>>8^12|0)){d=g;while(1){if(a[b+28096+(f*120|0)+(e*12|0)+d>>0]|0)break;d=d+1|0;if((d|0)>=((k&1024)>>>8^12|0))break e}c[m+48>>2]=c[35520+(d<<2)>>2];break a}while(0);if(!(k&32)){l=c[37151]|0;c[m>>2]=244;c[m+4>>2]=(k&8|0)==0?(k&7|0?511424:1279070):511431;c[m+8>>2]=k&16|0?511440:1279070;c[m+12>>2]=j;oob(l,511447,m)|0}c[b+28376>>2]=1;b=-1;i=m;return b|0}while(0);e=c[m+48+12>>2]|0;d=c[l>>2]|0;if((e|0)==(c[b+27888>>2]|0))if((d|0)==(c[b+27884>>2]|0))if((c[m+48>>2]|0)==(c[b+27876>>2]|0)){b=0;i=m;return b|0}c[b+27888>>2]=e;c[b+27884>>2]=d;d=c[m+48>>2]|0;c[b+27876>>2]=d;if(!(d&15))if(!(d&64))if(!(d&16384))if((d|0)==512|(d&256|0)!=0)d=4;else if((d|0)==1024)d=8;else{c[b+27880>>2]=0;if(!(c[b+28068>>2]&32)){l=c[37151]|0;c[m+40>>2]=293;c[m+40+4>>2]=d;oob(l,511615,m+40|0)|0}c[b+28376>>2]=1;b=-1;i=m;return b|0}else d=3;else d=2;else d=1;c[b+27880>>2]=d;b=1;i=m;return b|0}function uxa(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;i=Zva(b)|0;k=c[b+28076>>2]|0;c[d+12>>2]=i>>k;l=(c[d+8>>2]|0)+-1|0;if((i>>k|0)==8e3){h=0;m=11}else if((i>>k|0)==11025){h=1;m=11}else if((i>>k|0)==12e3){h=2;m=11}else if((i>>k|0)==16e3){h=3;m=11}else if((i>>k|0)==22050){h=4;m=11}else if((i>>k|0)==24e3){h=5;m=11}else if((i>>k|0)==32e3){h=6;m=11}else if((i>>k|0)==44100){h=7;m=11}else if((i>>k|0)==48e3){h=8;m=11}else{j=c[b+28072>>2]|0;if((j|0)!=0&(j|0)==(i>>k|0)){h=9;m=11}}a:do if((m|0)==11)if((e|0)<(f|0)){g=e;while(1){if(a[b+28096+(l*120|0)+(h*12|0)+g>>0]|0)break;g=g+1|0;if((g|0)>=(f|0))break a}c[d>>2]=c[35520+(g<<2)>>2];d=1;return d|0}while(0);j=(c[b+28068>>2]&32768|0)==0;if(j){d=0;return d|0}g=i>>k>>1;c[d+12>>2]=g;if((g|0)==8e3){h=0;m=26}else if((g|0)==11025){h=1;m=26}else if((g|0)==12e3){h=2;m=26}else if((g|0)==16e3){h=3;m=26}else if((g|0)==22050){h=4;m=26}else if((g|0)==24e3){h=5;m=26}else if((g|0)==32e3){h=6;m=26}else if((g|0)==44100){h=7;m=26}else if((g|0)==48e3){h=8;m=26}else{h=c[b+28072>>2]|0;if((h|0)!=0&(h|0)==(g|0)){h=9;m=26}}b:do if((m|0)==26)if((e|0)<(f|0)){g=e;while(1){if(a[b+28096+(l*120|0)+(h*12|0)+g>>0]|0)break;g=g+1|0;if((g|0)>=(f|0))break b}c[d>>2]=c[35520+(g<<2)>>2];d=1;return d|0}while(0);g=i>>k>>2;c[d+12>>2]=g;if((g|0)==8e3){h=0;m=40}else if((g|0)==11025){h=1;m=40}else if((g|0)==12e3){h=2;m=40}else if((g|0)==16e3){h=3;m=40}else if((g|0)==22050){h=4;m=40}else if((g|0)==24e3){h=5;m=40}else if((g|0)==32e3){h=6;m=40}else if((g|0)==44100){h=7;m=40}else if((g|0)==48e3){h=8;m=40}else{i=c[b+28072>>2]|0;if((i|0)!=0&(i|0)==(g|0)){h=9;m=40}}c:do if((m|0)==40)if((e|0)<(f|0)){g=e;while(1){if(a[b+28096+(l*120|0)+(h*12|0)+g>>0]|0)break;g=g+1|0;if((g|0)>=(f|0))break c}c[d>>2]=c[35520+(g<<2)>>2];d=1;return d|0}while(0);if(j){d=0;return d|0}if(c[b+28072>>2]|k|0){d=0;return d|0}g=Zva(b)|0;if((g|0)==8e3)j=0;else if((g|0)==11025)j=1;else if((g|0)==12e3)j=2;else if((g|0)==16e3)j=3;else if((g|0)==22050)j=4;else if((g|0)==24e3)j=5;else if((g|0)==32e3)j=6;else if((g|0)==44100)j=7;else if((g|0)==48e3)j=8;else{k=c[b+28072>>2]|0;if((k|0)!=0&(k|0)==(g|0))j=9;else{d=0;return d|0}}if((e|0)<(f|0))g=e;else{d=0;return d|0}d:do{h=j;while(1){h=h+1|0;if((h|0)>=9)break;if(a[b+28096+(l*120|0)+(h*12|0)+g>>0]|0){m=61;break d}}g=g+1|0}while((g|0)<(f|0));if((m|0)==61){c[d+12>>2]=c[35484+(h<<2)>>2];c[d>>2]=c[35520+(g<<2)>>2];d=1;return d|0}if((e|0)<(f|0))g=e;else{d=0;return d|0}e:while(1){h=j;while(1){i=h+-1|0;if((h|0)<=0)break;if(!(a[b+28096+(l*120|0)+(i*12|0)+g>>0]|0))h=i;else break e}g=g+1|0;if((g|0)>=(f|0)){g=0;m=68;break}}if((m|0)==68)return g|0;c[d+12>>2]=c[35484+(i<<2)>>2];c[d>>2]=c[35520+(g<<2)>>2];d=1;return d|0}function vxa(a){a=a|0;if(!a){a=-1;return a|0}if(!(c[a+28068>>2]&32))if((c[a+28064>>2]|0)>2)ppb(511667,29,1,c[37151]|0)|0;hBb(a+28096|0,0,240)|0;a=0;return a|0}function wxa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;if(!a){a=-1;return a|0}d=xxa(a+28064|0,b,d,e)|0;if(!d){a=0;return a|0}c[a+28376>>2]=d;a=-1;return a|0}function xxa(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0;j=i;i=i+32|0;c[j>>2]=0;c[j+4>>2]=1;if(!b){b=25;i=j;return b|0}if(!(e&3)){b=2;i=j;return b|0}if(!(c[b+4>>2]&32))if((c[b>>2]|0)>2){h=c[37151]|0;c[j+8>>2]=d;c[j+8+4>>2]=e;c[j+8+8>>2]=f;oob(h,511697,j+8|0)|0}if(!(e&2)){c[j+4>>2]=0;g=0;h=0}else if(!(e&1)){c[j>>2]=1;g=1;h=1}else{g=0;h=1}if((d|0)==8e3)e=0;else if((d|0)==11025)e=1;else if((d|0)==12e3)e=2;else if((d|0)==16e3)e=3;else if((d|0)==22050)e=4;else if((d|0)==24e3)e=5;else if((d|0)==32e3)e=6;else if((d|0)==44100)e=7;else if((d|0)==48e3)e=8;else{e=c[b+8>>2]|0;if((e|0)!=0&(e|0)==(d|0))e=9;else{b=3;i=j;return b|0}}if((g|0)==(h|0)){if((f&208|0)==208)a[b+32+(h*120|0)+(e*12|0)>>0]=1;if((f&96|0)==96)a[b+32+(h*120|0)+(e*12|0)+1>>0]=1;if((f&4480|0)==4480)a[b+32+(h*120|0)+(e*12|0)+2>>0]=1;if((f&8448|0)==8448)a[b+32+(h*120|0)+(e*12|0)+3>>0]=1;if((f&20608|0)==20608)a[b+32+(h*120|0)+(e*12|0)+4>>0]=1;if((f&24576|0)==24576)a[b+32+(h*120|0)+(e*12|0)+5>>0]=1;if(f&512|0)a[b+32+(h*120|0)+(e*12|0)+6>>0]=1;if((f&130|0)==130)a[b+32+(h*120|0)+(e*12|0)+8>>0]=1;if(f&1|0)a[b+32+(h*120|0)+(e*12|0)+9>>0]=1;if(f&4|0)a[b+32+(h*120|0)+(e*12|0)+10>>0]=1;if(!(f&8)){b=0;i=j;return b|0}a[b+32+(h*120|0)+(e*12|0)+11>>0]=1;b=0;i=j;return b|0}if((f&208|0)==208)a[b+32+((c[j>>2]|0)*120|0)+(e*12|0)>>0]=1;if((f&96|0)==96)a[b+32+((c[j>>2]|0)*120|0)+(e*12|0)+1>>0]=1;if((f&4480|0)==4480)a[b+32+((c[j>>2]|0)*120|0)+(e*12|0)+2>>0]=1;if((f&8448|0)==8448)a[b+32+((c[j>>2]|0)*120|0)+(e*12|0)+3>>0]=1;if((f&20608|0)==20608)a[b+32+((c[j>>2]|0)*120|0)+(e*12|0)+4>>0]=1;if((f&24576|0)==24576)a[b+32+((c[j>>2]|0)*120|0)+(e*12|0)+5>>0]=1;if(f&512|0)a[b+32+((c[j>>2]|0)*120|0)+(e*12|0)+6>>0]=1;if((f&130|0)==130)a[b+32+((c[j>>2]|0)*120|0)+(e*12|0)+8>>0]=1;if(f&1|0)a[b+32+((c[j>>2]|0)*120|0)+(e*12|0)+9>>0]=1;if(f&4|0)a[b+32+((c[j>>2]|0)*120|0)+(e*12|0)+10>>0]=1;if(f&8|0)a[b+32+((c[j>>2]|0)*120|0)+(e*12|0)+11>>0]=1;if((f&208|0)==208)a[b+32+((c[j+4>>2]|0)*120|0)+(e*12|0)>>0]=1;if((f&96|0)==96)a[b+32+((c[j+4>>2]|0)*120|0)+(e*12|0)+1>>0]=1;if((f&4480|0)==4480)a[b+32+((c[j+4>>2]|0)*120|0)+(e*12|0)+2>>0]=1;if((f&8448|0)==8448)a[b+32+((c[j+4>>2]|0)*120|0)+(e*12|0)+3>>0]=1;if((f&20608|0)==20608)a[b+32+((c[j+4>>2]|0)*120|0)+(e*12|0)+4>>0]=1;if((f&24576|0)==24576)a[b+32+((c[j+4>>2]|0)*120|0)+(e*12|0)+5>>0]=1;if(f&512|0)a[b+32+((c[j+4>>2]|0)*120|0)+(e*12|0)+6>>0]=1;if((f&130|0)==130)a[b+32+((c[j+4>>2]|0)*120|0)+(e*12|0)+8>>0]=1;if(f&1|0)a[b+32+((c[j+4>>2]|0)*120|0)+(e*12|0)+9>>0]=1;if(f&4|0)a[b+32+((c[j+4>>2]|0)*120|0)+(e*12|0)+10>>0]=1;if(!(f&8)){b=0;i=j;return b|0}a[b+32+((c[j+4>>2]|0)*120|0)+(e*12|0)+11>>0]=1;b=0;i=j;return b|0}function yxa(a,b){a=a|0;b=b|0;var d=0;d=c[a+27884>>2]|0;if(!(c[a+27876>>2]&16384)){b=_(c[a+27880>>2]|0,b)|0;b=_(b,d)|0;return b|0}else{b=b<<2;b=_(b,d)|0;return b|0}return 0}function zxa(a,b){a=a|0;b=b|0;b=_(c[a+27880>>2]|0,b)|0;return _(b,c[a+27884>>2]|0)|0}function Axa(a,b){a=a|0;b=b|0;return ((b|0)/(c[a+27880>>2]|0)|0|0)/(c[a+27884>>2]|0)|0|0}function Bxa(d){d=d|0;var f=0,g=0,h=0,i=0,j=0;f=c[d+27876>>2]|0;a:do if((f|0)<20608)switch(f|0){case 8448:{i=2;break}default:{}}else{if((f|0)>=24576)switch(f|0){case 24576:{i=2;break a}default:break a}switch(f|0){case 20608:break;default:break a}f=c[d+27856>>2]|0;if((c[d+27864>>2]|0)>>>0<4)g=f;else{h=f;do{a[f>>0]=a[h+1>>0]|0;a[f+1>>0]=a[h+2>>0]|0;a[f+2>>0]=a[h+3>>0]|0;f=f+3|0;h=h+4|0;g=c[d+27856>>2]|0}while((h+4-g|0)>>>0<=(c[d+27864>>2]|0)>>>0)}c[d+27864>>2]=f-g;i=17}while(0);if((i|0)==2){j=c[d+27856>>2]|0;g=c[d+27864>>2]|0;if(g>>>0>3){h=0;do{f=j+(h<<2)|0;g=c[f>>2]|0;do if((g|0)>-1)c[f>>2]=g^-2147483648;else if((g|0)==-2147483648){c[f>>2]=0;break}else{c[f>>2]=g^-2147483648;break}while(0);h=h+1|0;g=c[d+27864>>2]|0}while(h>>>0>>2>>>0);f=c[d+27876>>2]|0}if((f|0)==24576){if(g>>>0<4){g=j;f=j}else{h=j;f=j;do{a[f>>0]=a[h+1>>0]|0;a[f+1>>0]=a[h+2>>0]|0;a[f+2>>0]=a[h+3>>0]|0;f=f+3|0;h=h+4|0;g=c[d+27856>>2]|0}while((h+4-g|0)>>>0<=(c[d+27864>>2]|0)>>>0)}c[d+27864>>2]=f-g;i=17}}if((i|0)==17)f=c[d+27876>>2]|0;if((f|0)!=96)return;h=c[d+27856>>2]|0;f=c[d+27864>>2]|0;if(f>>>0<=1)return;g=0;do{d=h+(g<<1)|0;b[d>>1]=(e[d>>1]|0)+32768;g=g+1|0}while(g>>>0>>1>>>0);return}function Cxa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0,j=0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0;j=i;i=i+256|0;g[j>>2]=+g[d+124>>2]+ +g[d>>2];g[j+4>>2]=+g[d+120>>2]+ +g[d+4>>2];g[j+8>>2]=+g[d+116>>2]+ +g[d+8>>2];g[j+12>>2]=+g[d+112>>2]+ +g[d+12>>2];g[j+16>>2]=+g[d+108>>2]+ +g[d+16>>2];g[j+20>>2]=+g[d+104>>2]+ +g[d+20>>2];g[j+24>>2]=+g[d+100>>2]+ +g[d+24>>2];g[j+28>>2]=+g[d+96>>2]+ +g[d+28>>2];g[j+32>>2]=+g[d+92>>2]+ +g[d+32>>2];g[j+36>>2]=+g[d+88>>2]+ +g[d+36>>2];g[j+40>>2]=+g[d+84>>2]+ +g[d+40>>2];g[j+44>>2]=+g[d+80>>2]+ +g[d+44>>2];g[j+48>>2]=+g[d+76>>2]+ +g[d+48>>2];g[j+52>>2]=+g[d+72>>2]+ +g[d+52>>2];g[j+56>>2]=+g[d+68>>2]+ +g[d+56>>2];g[j+60>>2]=+g[d+64>>2]+ +g[d+60>>2];g[j+64>>2]=(+g[d+60>>2]-+g[d+64>>2])*+g[165813];g[j+68>>2]=(+g[d+56>>2]-+g[d+68>>2])*+g[165812];g[j+72>>2]=(+g[d+52>>2]-+g[d+72>>2])*+g[165811];g[j+76>>2]=(+g[d+48>>2]-+g[d+76>>2])*+g[165810];g[j+80>>2]=(+g[d+44>>2]-+g[d+80>>2])*+g[165809];g[j+84>>2]=(+g[d+40>>2]-+g[d+84>>2])*+g[165808];g[j+88>>2]=(+g[d+36>>2]-+g[d+88>>2])*+g[165807];g[j+92>>2]=(+g[d+32>>2]-+g[d+92>>2])*+g[165806];g[j+96>>2]=(+g[d+28>>2]-+g[d+96>>2])*+g[165805];g[j+100>>2]=(+g[d+24>>2]-+g[d+100>>2])*+g[165804];g[j+104>>2]=(+g[d+20>>2]-+g[d+104>>2])*+g[165803];g[j+108>>2]=(+g[d+16>>2]-+g[d+108>>2])*+g[165802];g[j+112>>2]=(+g[d+12>>2]-+g[d+112>>2])*+g[165801];g[j+116>>2]=(+g[d+8>>2]-+g[d+116>>2])*+g[165800];g[j+120>>2]=(+g[d+4>>2]-+g[d+120>>2])*+g[165799];g[j+124>>2]=(+g[d>>2]-+g[d+124>>2])*+g[165798];g[j+128>>2]=+g[j+60>>2]+ +g[j>>2];g[j+132>>2]=+g[j+56>>2]+ +g[j+4>>2];g[j+136>>2]=+g[j+52>>2]+ +g[j+8>>2];g[j+140>>2]=+g[j+48>>2]+ +g[j+12>>2];g[j+144>>2]=+g[j+44>>2]+ +g[j+16>>2];g[j+148>>2]=+g[j+40>>2]+ +g[j+20>>2];g[j+152>>2]=+g[j+36>>2]+ +g[j+24>>2];g[j+156>>2]=+g[j+32>>2]+ +g[j+28>>2];g[j+160>>2]=(+g[j+28>>2]-+g[j+32>>2])*+g[165821];g[j+164>>2]=(+g[j+24>>2]-+g[j+36>>2])*+g[165820];g[j+168>>2]=(+g[j+20>>2]-+g[j+40>>2])*+g[165819];g[j+172>>2]=(+g[j+16>>2]-+g[j+44>>2])*+g[165818];g[j+176>>2]=(+g[j+12>>2]-+g[j+48>>2])*+g[165817];g[j+180>>2]=(+g[j+8>>2]-+g[j+52>>2])*+g[165816];g[j+184>>2]=(+g[j+4>>2]-+g[j+56>>2])*+g[165815];g[j+188>>2]=(+g[j>>2]-+g[j+60>>2])*+g[165814];g[j+192>>2]=+g[j+124>>2]+ +g[j+64>>2];g[j+196>>2]=+g[j+120>>2]+ +g[j+68>>2];g[j+200>>2]=+g[j+116>>2]+ +g[j+72>>2];g[j+204>>2]=+g[j+112>>2]+ +g[j+76>>2];g[j+208>>2]=+g[j+108>>2]+ +g[j+80>>2];g[j+212>>2]=+g[j+104>>2]+ +g[j+84>>2];g[j+216>>2]=+g[j+100>>2]+ +g[j+88>>2];g[j+220>>2]=+g[j+96>>2]+ +g[j+92>>2];g[j+224>>2]=(+g[j+96>>2]-+g[j+92>>2])*+g[165821];g[j+228>>2]=(+g[j+100>>2]-+g[j+88>>2])*+g[165820];g[j+232>>2]=(+g[j+104>>2]-+g[j+84>>2])*+g[165819];g[j+236>>2]=(+g[j+108>>2]-+g[j+80>>2])*+g[165818];g[j+240>>2]=(+g[j+112>>2]-+g[j+76>>2])*+g[165817];g[j+244>>2]=(+g[j+116>>2]-+g[j+72>>2])*+g[165816];g[j+248>>2]=(+g[j+120>>2]-+g[j+68>>2])*+g[165815];g[j+252>>2]=(+g[j+124>>2]-+g[j+64>>2])*+g[165814];d=j+128|0;e=j+160|0;f=j;h=2;while(1){g[f>>2]=+g[e+-4>>2]+ +g[d>>2];g[f+4>>2]=+g[e+-8>>2]+ +g[d+4>>2];g[f+8>>2]=+g[e+-12>>2]+ +g[d+8>>2];g[f+12>>2]=+g[e+-16>>2]+ +g[d+12>>2];g[f+16>>2]=(+g[e+-20>>2]-+g[d+16>>2])*+g[165825];g[f+20>>2]=(+g[e+-24>>2]-+g[d+20>>2])*+g[165824];g[f+24>>2]=(+g[e+-28>>2]-+g[d+24>>2])*+g[165823];g[f+28>>2]=(+g[e+-32>>2]-+g[d+28>>2])*+g[165822];g[f+32>>2]=+g[e+28>>2]+ +g[d+32>>2];g[f+36>>2]=+g[e+24>>2]+ +g[d+36>>2];g[f+40>>2]=+g[e+20>>2]+ +g[d+40>>2];g[f+44>>2]=+g[e+16>>2]+ +g[d+44>>2];g[f+48>>2]=(+g[d+48>>2]-+g[e+12>>2])*+g[165825];g[f+52>>2]=(+g[d+52>>2]-+g[e+8>>2])*+g[165824];g[f+56>>2]=(+g[d+56>>2]-+g[e+4>>2])*+g[165823];g[f+60>>2]=(+g[d+60>>2]-+g[e>>2])*+g[165822];h=h+-1|0;if(!h)break;else{d=d+64|0;e=e+64|0;f=f+64|0}}d=j;e=j+16|0;f=j+128|0;h=4;while(1){g[f>>2]=+g[e+-4>>2]+ +g[d>>2];g[f+4>>2]=+g[e+-8>>2]+ +g[d+4>>2];g[f+8>>2]=(+g[e+-12>>2]-+g[d+8>>2])*+g[165827];g[f+12>>2]=(+g[e+-16>>2]-+g[d+12>>2])*+g[165826];g[f+16>>2]=+g[e+12>>2]+ +g[d+16>>2];g[f+20>>2]=+g[e+8>>2]+ +g[d+20>>2];g[f+24>>2]=(+g[d+24>>2]-+g[e+4>>2])*+g[165827];g[f+28>>2]=(+g[d+28>>2]-+g[e>>2])*+g[165826];h=h+-1|0;if(!h)break;else{d=d+32|0;e=e+32|0;f=f+32|0}}o=+g[j+128>>2];s=+g[j+132>>2];g[j>>2]=s+o;g[j+4>>2]=+g[301571]*(o-s);s=+g[j+136>>2];o=+g[j+140>>2];g[j+8>>2]=o+s;g[j+12>>2]=+g[301571]*(o-s);s=+g[j+144>>2];o=+g[j+148>>2];g[j+16>>2]=o+s;g[j+20>>2]=+g[301571]*(s-o);o=+g[j+152>>2];s=+g[j+156>>2];g[j+24>>2]=s+o;g[j+28>>2]=+g[301571]*(s-o);o=+g[j+160>>2];s=+g[j+164>>2];g[j+32>>2]=s+o;g[j+36>>2]=+g[301571]*(o-s);s=+g[j+168>>2];o=+g[j+172>>2];g[j+40>>2]=o+s;g[j+44>>2]=+g[301571]*(o-s);s=+g[j+176>>2];o=+g[j+180>>2];g[j+48>>2]=o+s;g[j+52>>2]=+g[301571]*(s-o);o=+g[j+184>>2];s=+g[j+188>>2];g[j+56>>2]=s+o;g[j+60>>2]=+g[301571]*(s-o);o=+g[j+192>>2];s=+g[j+196>>2];g[j+64>>2]=s+o;g[j+68>>2]=+g[301571]*(o-s);s=+g[j+200>>2];o=+g[j+204>>2];g[j+72>>2]=o+s;g[j+76>>2]=+g[301571]*(o-s);s=+g[j+208>>2];o=+g[j+212>>2];g[j+80>>2]=o+s;g[j+84>>2]=+g[301571]*(s-o);o=+g[j+216>>2];s=+g[j+220>>2];g[j+88>>2]=s+o;g[j+92>>2]=+g[301571]*(s-o);o=+g[j+224>>2];s=+g[j+228>>2];g[j+96>>2]=s+o;g[j+100>>2]=+g[301571]*(o-s);s=+g[j+232>>2];o=+g[j+236>>2];g[j+104>>2]=o+s;g[j+108>>2]=+g[301571]*(o-s);s=+g[j+240>>2];o=+g[j+244>>2];g[j+112>>2]=o+s;g[j+116>>2]=+g[301571]*(s-o);o=+g[j+248>>2];s=+g[j+252>>2];g[j+120>>2]=s+o;g[j+124>>2]=+g[301571]*(s-o);g[j+8>>2]=+g[j+8>>2]+ +g[j+12>>2];g[j+24>>2]=+g[j+24>>2]+ +g[j+28>>2];g[j+40>>2]=+g[j+40>>2]+ +g[j+44>>2];g[j+56>>2]=+g[j+56>>2]+ +g[j+60>>2];g[j+72>>2]=+g[j+72>>2]+ +g[j+76>>2];g[j+88>>2]=+g[j+88>>2]+ +g[j+92>>2];g[j+104>>2]=+g[j+104>>2]+ +g[j+108>>2];o=+g[j+120>>2]+ +g[j+124>>2];s=+g[j+24>>2];g[j+16>>2]=+g[j+16>>2]+s;r=+g[j+20>>2];g[j+24>>2]=s+r;g[j+20>>2]=+g[j+28>>2]+r;r=+g[j+56>>2];s=+g[j+48>>2]+r;q=+g[j+52>>2];p=+g[j+60>>2];m=+g[j+88>>2];v=+g[j+80>>2]+m;g[j+80>>2]=v;t=+g[j+84>>2];g[j+88>>2]=m+t;g[j+84>>2]=+g[j+92>>2]+t;t=+g[j+112>>2]+o;m=+g[j+116>>2];n=+g[j+124>>2];w=+g[j+32>>2]+s;g[j+32>>2]=w;l=+g[j+40>>2];g[j+48>>2]=s+l;g[j+40>>2]=r+q+l;u=+g[j+36>>2];g[j+56>>2]=u+(r+q);g[j+36>>2]=p+q+u;u=+g[j+44>>2];g[j+52>>2]=u+(p+q);g[j+44>>2]=p+u;u=+g[j+96>>2]+t;g[j+96>>2]=u;p=+g[j+104>>2];g[j+112>>2]=t+p;g[j+104>>2]=o+m+p;k=+g[j+100>>2];g[j+120>>2]=k+(o+m);g[j+100>>2]=n+m+k;x=+g[j+108>>2];g[j+116>>2]=x+(n+m);g[j+108>>2]=n+x;c[a+1024>>2]=c[j>>2];g[a+960>>2]=u+ +g[j+64>>2];g[a+896>>2]=w;g[a+832>>2]=v+u;c[a+768>>2]=c[j+16>>2];g[a+704>>2]=t+p+ +g[j+80>>2];g[a+640>>2]=s+l;s=+g[j+72>>2];g[a+576>>2]=s+(t+p);c[a+512>>2]=c[j+8>>2];g[a+448>>2]=o+m+p+s;g[a+384>>2]=r+q+l;l=+g[j+88>>2];g[a+320>>2]=l+(o+m+p);c[a+256>>2]=c[j+24>>2];g[a+192>>2]=k+(o+m)+l;c[a+128>>2]=c[j+56>>2];l=+g[j+68>>2];g[a+64>>2]=l+(k+(o+m));h=c[j+4>>2]|0;c[a>>2]=h;c[b>>2]=h;g[b+64>>2]=n+m+k+l;c[b+128>>2]=c[j+36>>2];l=+g[j+84>>2];g[b+192>>2]=l+ +g[j+100>>2];c[b+256>>2]=c[j+20>>2];k=+g[j+116>>2];g[b+320>>2]=k+l;c[b+384>>2]=c[j+52>>2];l=+g[j+76>>2];g[b+448>>2]=l+k;c[b+512>>2]=c[j+12>>2];k=+g[j+108>>2];g[b+576>>2]=k+l;c[b+640>>2]=c[j+44>>2];l=+g[j+92>>2];g[b+704>>2]=l+k;c[b+768>>2]=c[j+28>>2];k=+g[j+124>>2];g[b+832>>2]=k+l;c[b+896>>2]=c[j+60>>2];g[b+960>>2]=k;i=j;return}function Dxa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=0;do{e=a+(d<<2)|0;g[e>>2]=+g[c+(b<<7)+(d<<2)>>2]*+g[e>>2];d=d+1|0}while((d|0)!=32);return}function Exa(a){a=a|0;var b=0,d=0,e=0,f=0;f=i;i=i+48|0;b=c[a+27876>>2]|0;if(!(b&64))if(!(b&15))if(!(b&3584))if(!(b&16640)){if(c[a+28068>>2]&32|0){a=-1;i=f;return a|0}a=c[37151]|0;c[f>>2]=339;oob(a,511753,f)|0;a=-1;i=f;return a|0}else e=3;else e=2;else e=1;else e=0;d=c[a+19680>>2]|0;if(d>>>0>=4){if(c[a+28068>>2]&32|0){a=-1;i=f;return a|0}a=c[37151]|0;c[f+8>>2]=359;oob(a,511844,f+8|0)|0;a=-1;i=f;return a|0}b=c[a+19364+(d<<4)+(e<<2)>>2]|0;c[a+19636>>2]=b;c[a+19640>>2]=c[a+19428+(d<<4)+(e<<2)>>2];c[a+19644>>2]=c[((c[a+27884>>2]|0)==2?a+19492+(d<<4)+(e<<2)|0:a+19556+(d<<4)+(e<<2)|0)>>2];if((b|0)==78)b=c[a+19364>>2]|0;d=(b|0)==31|((b|0)==30|((b|0)==29|((b|0)==28|((b|0)==27|((b|0)==26|((b|0)==25|((b|0)==24|((b|0)==23|((b|0)==22|((b|0)==21|((b|0)==20|((b|0)==19|((b|0)==18|((b|0)==16|(b|0)==17))))))))))))));b=d?1:15;if(!d){if(!(c[a+28068>>2]&32)){e=c[37151]|0;c[f+16>>2]=303;oob(e,511942,f+16|0)|0}c[a+28376>>2]=37;a=-1;i=f;return a|0}c[a+19620>>2]=b;c[a+19624>>2]=(b|2|0)==11?2:1;if(_wa(a)|0){c[a+28376>>2]=11;if(c[a+28068>>2]&32|0){a=-1;i=f;return a|0}a=c[37151]|0;c[f+24>>2]=381;oob(a,512034,f+24|0)|0;a=-1;i=f;return a|0}if((e|0)==1)if(Wxa(a)|0){if(c[a+28068>>2]&32|0){a=-1;i=f;return a|0}a=c[37151]|0;c[f+32>>2]=391;oob(a,512194,f+32|0)|0;a=-1;i=f;return a|0}Yxa(a,9);_xa(a,118);c[a+19648>>2]=689;$xa(a);a=0;i=f;return a|0}function Fxa(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0;m=i;i=i+128|0;k=c[f+27856>>2]|0;l=c[f+27864>>2]|0;c[f+27856>>2]=m;c[f+27864>>2]=0;h=cj[c[f+19364>>2]&127](d,e,f,0)|0;c[f+27856>>2]=k;j=0;k=k+(l+e)|0;d=m+(e<<1)|0;while(1){a[k>>0]=a[(c[f+9592>>2]|0)+(b[d>>1]>>3)>>0]|0;j=j+1|0;if((j|0)==32)break;else{k=k+2|0;d=d+4|0}}c[f+27864>>2]=l+(g|0?64:0);i=m;return h|0}function Gxa(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var h=0,i=0.0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;h=(c[e+27856>>2]|0)+(c[e+27864>>2]|0)|0;if(c[e+9288>>2]|0)Dxa(a,d,e+9292|0);if(!d){k=(c[e+9272>>2]|0)+15&15;c[e+9272>>2]=k;j=e+9248|0}else{k=c[e+9272>>2]|0;j=e+9256|0;h=h+2|0}d=c[j+4>>2]|0;if(!(k&1)){Cxa((c[j>>2]|0)+(k<<2)|0,d+(k<<2)+4|0,a);o=d;k=k+1|0}else{o=c[j>>2]|0;Cxa(d+((k+1&15)<<2)|0,o+(k<<2)|0,a)}q=c[e+9284>>2]|0;p=h+64|0;n=q+(528-k<<2)|0;r=496-k|0;j=o;d=0;a=16;l=h;m=q+64+(0-k<<2)|0;while(1){i=+g[j+8>>2]*+g[m+8>>2]+ +g[j>>2]*+g[m>>2]+ +g[j+16>>2]*+g[m+16>>2]+ +g[j+24>>2]*+g[m+24>>2]+ +g[j+32>>2]*+g[m+32>>2]+ +g[j+40>>2]*+g[m+40>>2]+ +g[j+48>>2]*+g[m+48>>2]+ +g[j+56>>2]*+g[m+56>>2]-(+g[j+12>>2]*+g[m+12>>2]+ +g[j+4>>2]*+g[m+4>>2])-(+g[j+28>>2]*+g[m+28>>2]+ +g[j+20>>2]*+g[m+20>>2])-(+g[j+44>>2]*+g[m+44>>2]+ +g[j+36>>2]*+g[m+36>>2])-(+g[j+60>>2]*+g[m+60>>2]+ +g[j+52>>2]*+g[m+52>>2]);j=j+64|0;do if(i>32767.0){b[l>>1]=32767;d=d+1|0}else if(i<-32768.0){b[l>>1]=-32768;d=d+1|0;break}else{b[l>>1]=~~i;break}while(0);a=a+-1|0;if(!a)break;else{l=l+4|0;m=m+128|0}}a=o+1024|0;m=o+960|0;i=+g[o+1032>>2]*+g[q+(r<<2)+136>>2]+ +g[a>>2]*+g[n>>2]+ +g[o+1040>>2]*+g[q+(r<<2)+144>>2]+ +g[o+1048>>2]*+g[q+(r<<2)+152>>2]+ +g[o+1056>>2]*+g[q+(r<<2)+160>>2]+ +g[o+1064>>2]*+g[q+(r<<2)+168>>2]+ +g[o+1072>>2]*+g[q+(r<<2)+176>>2]+ +g[o+1080>>2]*+g[q+(r<<2)+184>>2];do if(i>32767.0){b[p>>1]=32767;d=d+1|0}else if(i<-32768.0){b[p>>1]=-32768;d=d+1|0;break}else{b[p>>1]=~~i;break}while(0);l=15;j=h+68|0;h=q+(r<<2)+(k<<1<<2)|0;while(1){i=-(+g[a+-56>>2]*+g[h+-12>>2]+ +g[a+-60>>2]*+g[h+-8>>2])-(+g[a+-48>>2]*+g[h+-20>>2]+ +g[a+-52>>2]*+g[h+-16>>2])-(+g[a+-40>>2]*+g[h+-28>>2]+ +g[a+-44>>2]*+g[h+-24>>2])-(+g[a+-32>>2]*+g[h+-36>>2]+ +g[a+-36>>2]*+g[h+-32>>2])-(+g[a+-24>>2]*+g[h+-44>>2]+ +g[a+-28>>2]*+g[h+-40>>2])-(+g[a+-16>>2]*+g[h+-52>>2]+ +g[a+-20>>2]*+g[h+-48>>2])-(+g[a+-8>>2]*+g[h+-60>>2]+ +g[a+-12>>2]*+g[h+-56>>2])-(+g[a+-4>>2]*+g[h+-64>>2]+ +g[m>>2]*+g[h+-4>>2]);do if(i>32767.0){b[j>>1]=32767;d=d+1|0}else if(i<-32768.0){b[j>>1]=-32768;d=d+1|0;break}else{b[j>>1]=~~i;break}while(0);l=l+-1|0;if(!l)break;else{a=m;m=m+-64|0;j=j+4|0;h=h+-128|0}}if(!f)return d|0;c[e+27864>>2]=(c[e+27864>>2]|0)+128;return d|0}function Hxa(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var h=0,i=0,j=0,k=0.0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;h=(c[e+27856>>2]|0)+(c[e+27864>>2]|0)|0;if(c[e+9288>>2]|0)Dxa(b,d,e+9292|0);if(!d){j=(c[e+9272>>2]|0)+15&15;c[e+9272>>2]=j;i=e+9248|0}else{j=c[e+9272>>2]|0;i=e+9256|0;h=h+1|0}d=c[i+4>>2]|0;if(!(j&1)){Cxa((c[i>>2]|0)+(j<<2)|0,d+(j<<2)+4|0,b);p=d;j=j+1|0}else{p=c[i>>2]|0;Cxa(d+((j+1&15)<<2)|0,p+(j<<2)|0,b)}q=c[e+9284>>2]|0;o=q+(528-j<<2)|0;r=496-j|0;b=p;d=0;l=16;m=h;n=q+64+(0-j<<2)|0;while(1){k=+g[b+8>>2]*+g[n+8>>2]+ +g[b>>2]*+g[n>>2]+ +g[b+16>>2]*+g[n+16>>2]+ +g[b+24>>2]*+g[n+24>>2]+ +g[b+32>>2]*+g[n+32>>2]+ +g[b+40>>2]*+g[n+40>>2]+ +g[b+48>>2]*+g[n+48>>2]+ +g[b+56>>2]*+g[n+56>>2]-(+g[b+12>>2]*+g[n+12>>2]+ +g[b+4>>2]*+g[n+4>>2])-(+g[b+28>>2]*+g[n+28>>2]+ +g[b+20>>2]*+g[n+20>>2])-(+g[b+44>>2]*+g[n+44>>2]+ +g[b+36>>2]*+g[n+36>>2])-(+g[b+60>>2]*+g[n+60>>2]+ +g[b+52>>2]*+g[n+52>>2]);b=b+64|0;do if(k>32767.0){d=d+1|0;i=32767}else if(k<-32768.0){d=d+1|0;i=-32768;break}else{i=~~k;break}while(0);a[m>>0]=a[(c[e+9592>>2]|0)+(i<<16>>16>>3)>>0]|0;l=l+-1|0;if(!l)break;else{m=m+2|0;n=n+128|0}}l=h+32|0;b=p+1024|0;n=p+960|0;k=+g[p+1032>>2]*+g[q+(r<<2)+136>>2]+ +g[b>>2]*+g[o>>2]+ +g[p+1040>>2]*+g[q+(r<<2)+144>>2]+ +g[p+1048>>2]*+g[q+(r<<2)+152>>2]+ +g[p+1056>>2]*+g[q+(r<<2)+160>>2]+ +g[p+1064>>2]*+g[q+(r<<2)+168>>2]+ +g[p+1072>>2]*+g[q+(r<<2)+176>>2]+ +g[p+1080>>2]*+g[q+(r<<2)+184>>2];do if(k>32767.0){d=d+1|0;i=32767}else if(k<-32768.0){d=d+1|0;i=-32768;break}else{i=~~k;break}while(0);a[l>>0]=a[(c[e+9592>>2]|0)+(i<<16>>16>>3)>>0]|0;m=15;l=h+34|0;i=q+(r<<2)+(j<<1<<2)|0;while(1){k=-(+g[b+-56>>2]*+g[i+-12>>2]+ +g[b+-60>>2]*+g[i+-8>>2])-(+g[b+-48>>2]*+g[i+-20>>2]+ +g[b+-52>>2]*+g[i+-16>>2])-(+g[b+-40>>2]*+g[i+-28>>2]+ +g[b+-44>>2]*+g[i+-24>>2])-(+g[b+-32>>2]*+g[i+-36>>2]+ +g[b+-36>>2]*+g[i+-32>>2])-(+g[b+-24>>2]*+g[i+-44>>2]+ +g[b+-28>>2]*+g[i+-40>>2])-(+g[b+-16>>2]*+g[i+-52>>2]+ +g[b+-20>>2]*+g[i+-48>>2])-(+g[b+-8>>2]*+g[i+-60>>2]+ +g[b+-12>>2]*+g[i+-56>>2])-(+g[b+-4>>2]*+g[i+-64>>2]+ +g[n>>2]*+g[i+-4>>2]);do if(k>32767.0){d=d+1|0;h=32767}else if(k<-32768.0){d=d+1|0;h=-32768;break}else{h=~~k;break}while(0);a[l>>0]=a[(c[e+9592>>2]|0)+(h<<16>>16>>3)>>0]|0;m=m+-1|0;if(!m)break;else{b=n;n=n+-64|0;l=l+2|0;i=i+-128|0}}if(!f)return d|0;c[e+27864>>2]=(c[e+27864>>2]|0)+64;return d|0}function Ixa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=(c[d+27856>>2]|0)+(c[d+27864>>2]|0)|0;if(c[d+9288>>2]|0)Dxa(a,b,d+9292|0);if(!b){i=(c[d+9272>>2]|0)+15&15;c[d+9272>>2]=i;h=d+9248|0}else{i=c[d+9272>>2]|0;h=d+9256|0;f=f+4|0}b=c[h+4>>2]|0;if(!(i&1)){Cxa((c[h>>2]|0)+(i<<2)|0,b+(i<<2)+4|0,a);i=i+1|0}else{n=c[h>>2]|0;Cxa(b+((i+1&15)<<2)|0,n+(i<<2)|0,a);b=n}m=c[d+9284>>2]|0;k=f+128|0;l=m+(528-i<<2)|0;n=m+(496-i<<2)|0;h=b;a=16;j=f;m=m+64+(0-i<<2)|0;while(1){g[j>>2]=(+g[h+8>>2]*+g[m+8>>2]+ +g[h>>2]*+g[m>>2]+ +g[h+16>>2]*+g[m+16>>2]+ +g[h+24>>2]*+g[m+24>>2]+ +g[h+32>>2]*+g[m+32>>2]+ +g[h+40>>2]*+g[m+40>>2]+ +g[h+48>>2]*+g[m+48>>2]+ +g[h+56>>2]*+g[m+56>>2]-(+g[h+12>>2]*+g[m+12>>2]+ +g[h+4>>2]*+g[m+4>>2])-(+g[h+28>>2]*+g[m+28>>2]+ +g[h+20>>2]*+g[m+20>>2])-(+g[h+44>>2]*+g[m+44>>2]+ +g[h+36>>2]*+g[m+36>>2])-(+g[h+60>>2]*+g[m+60>>2]+ +g[h+52>>2]*+g[m+52>>2]))*.000030517578125;a=a+-1|0;if(!a)break;else{h=h+64|0;j=j+8|0;m=m+128|0}}j=b+1024|0;g[k>>2]=(+g[b+1032>>2]*+g[n+136>>2]+ +g[j>>2]*+g[l>>2]+ +g[b+1040>>2]*+g[n+144>>2]+ +g[b+1048>>2]*+g[n+152>>2]+ +g[b+1056>>2]*+g[n+160>>2]+ +g[b+1064>>2]*+g[n+168>>2]+ +g[b+1072>>2]*+g[n+176>>2]+ +g[b+1080>>2]*+g[n+184>>2])*.000030517578125;h=b+960|0;a=15;f=f+136|0;b=n+(i<<1<<2)|0;while(1){g[f>>2]=(-(+g[j+-56>>2]*+g[b+-12>>2]+ +g[j+-60>>2]*+g[b+-8>>2])-(+g[j+-48>>2]*+g[b+-20>>2]+ +g[j+-52>>2]*+g[b+-16>>2])-(+g[j+-40>>2]*+g[b+-28>>2]+ +g[j+-44>>2]*+g[b+-24>>2])-(+g[j+-32>>2]*+g[b+-36>>2]+ +g[j+-36>>2]*+g[b+-32>>2])-(+g[j+-24>>2]*+g[b+-44>>2]+ +g[j+-28>>2]*+g[b+-40>>2])-(+g[j+-16>>2]*+g[b+-52>>2]+ +g[j+-20>>2]*+g[b+-48>>2])-(+g[j+-8>>2]*+g[b+-60>>2]+ +g[j+-12>>2]*+g[b+-56>>2])-(+g[j+-4>>2]*+g[b+-64>>2]+ +g[h>>2]*+g[b+-4>>2]))*.000030517578125;a=a+-1|0;if(!a)break;else{j=h;h=h+-64|0;f=f+8|0;b=b+-128|0}}if(!e)return 0;c[d+27864>>2]=(c[d+27864>>2]|0)+256;return 0}function Jxa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0.0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;f=(c[d+27856>>2]|0)+(c[d+27864>>2]|0)|0;if(c[d+9288>>2]|0)Dxa(a,b,d+9292|0);if(!b){j=(c[d+9272>>2]|0)+15&15;c[d+9272>>2]=j;i=d+9248|0}else{j=c[d+9272>>2]|0;i=d+9256|0;f=f+4|0}b=c[i+4>>2]|0;if(!(j&1)){Cxa((c[i>>2]|0)+(j<<2)|0,b+(j<<2)+4|0,a);n=b;j=j+1|0}else{n=c[i>>2]|0;Cxa(b+((j+1&15)<<2)|0,n+(j<<2)|0,a)}l=c[d+9284>>2]|0;o=f+128|0;m=l+(528-j<<2)|0;p=l+(496-j<<2)|0;i=n;b=0;a=16;k=f;l=l+64+(0-j<<2)|0;while(1){h=(+g[i+8>>2]*+g[l+8>>2]+ +g[i>>2]*+g[l>>2]+ +g[i+16>>2]*+g[l+16>>2]+ +g[i+24>>2]*+g[l+24>>2]+ +g[i+32>>2]*+g[l+32>>2]+ +g[i+40>>2]*+g[l+40>>2]+ +g[i+48>>2]*+g[l+48>>2]+ +g[i+56>>2]*+g[l+56>>2]-(+g[i+12>>2]*+g[l+12>>2]+ +g[i+4>>2]*+g[l+4>>2])-(+g[i+28>>2]*+g[l+28>>2]+ +g[i+20>>2]*+g[l+20>>2])-(+g[i+44>>2]*+g[l+44>>2]+ +g[i+36>>2]*+g[l+36>>2])-(+g[i+60>>2]*+g[l+60>>2]+ +g[i+52>>2]*+g[l+52>>2]))*65536.0;i=i+64|0;do if(h>2147483647.0){c[k>>2]=2147483647;b=b+1|0}else if(h<-2147483648.0){c[k>>2]=-2147483648;b=b+1|0;break}else{c[k>>2]=~~h;break}while(0);a=a+-1|0;if(!a)break;else{k=k+8|0;l=l+128|0}}a=n+1024|0;l=n+960|0;h=(+g[n+1032>>2]*+g[p+136>>2]+ +g[a>>2]*+g[m>>2]+ +g[n+1040>>2]*+g[p+144>>2]+ +g[n+1048>>2]*+g[p+152>>2]+ +g[n+1056>>2]*+g[p+160>>2]+ +g[n+1064>>2]*+g[p+168>>2]+ +g[n+1072>>2]*+g[p+176>>2]+ +g[n+1080>>2]*+g[p+184>>2])*65536.0;do if(h>2147483647.0){c[o>>2]=2147483647;b=b+1|0}else if(h<-2147483648.0){c[o>>2]=-2147483648;b=b+1|0;break}else{c[o>>2]=~~h;break}while(0);k=15;i=f+136|0;f=p+(j<<1<<2)|0;while(1){h=(-(+g[a+-56>>2]*+g[f+-12>>2]+ +g[a+-60>>2]*+g[f+-8>>2])-(+g[a+-48>>2]*+g[f+-20>>2]+ +g[a+-52>>2]*+g[f+-16>>2])-(+g[a+-40>>2]*+g[f+-28>>2]+ +g[a+-44>>2]*+g[f+-24>>2])-(+g[a+-32>>2]*+g[f+-36>>2]+ +g[a+-36>>2]*+g[f+-32>>2])-(+g[a+-24>>2]*+g[f+-44>>2]+ +g[a+-28>>2]*+g[f+-40>>2])-(+g[a+-16>>2]*+g[f+-52>>2]+ +g[a+-20>>2]*+g[f+-48>>2])-(+g[a+-8>>2]*+g[f+-60>>2]+ +g[a+-12>>2]*+g[f+-56>>2])-(+g[a+-4>>2]*+g[f+-64>>2]+ +g[l>>2]*+g[f+-4>>2]))*65536.0;do if(h>2147483647.0){c[i>>2]=2147483647;b=b+1|0}else if(h<-2147483648.0){c[i>>2]=-2147483648;b=b+1|0;break}else{c[i>>2]=~~h;break}while(0);k=k+-1|0;if(!k)break;else{a=l;l=l+-64|0;i=i+8|0;f=f+-128|0}}if(!e)return b|0;c[d+27864>>2]=(c[d+27864>>2]|0)+256;return b|0}function Kxa(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var h=0,i=0.0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;h=(c[e+27856>>2]|0)+(c[e+27864>>2]|0)|0;if(c[e+9288>>2]|0)Dxa(a,d,e+9292|0);if(!d){k=(c[e+9272>>2]|0)+15&15;c[e+9272>>2]=k;j=e+9248|0}else{k=c[e+9272>>2]|0;j=e+9256|0;h=h+2|0}d=c[j+4>>2]|0;if(!(k&1)){Cxa((c[j>>2]|0)+(k<<2)|0,d+(k<<2)+4|0,a);o=d;k=k+1|0}else{o=c[j>>2]|0;Cxa(d+((k+1&15)<<2)|0,o+(k<<2)|0,a)}q=c[e+9284>>2]|0;p=h+32|0;n=q+(528-k<<2)|0;r=464-k|0;j=o;d=0;a=8;l=h;m=q+64+(0-k<<2)|0;while(1){i=+g[j+8>>2]*+g[m+8>>2]+ +g[j>>2]*+g[m>>2]+ +g[j+16>>2]*+g[m+16>>2]+ +g[j+24>>2]*+g[m+24>>2]+ +g[j+32>>2]*+g[m+32>>2]+ +g[j+40>>2]*+g[m+40>>2]+ +g[j+48>>2]*+g[m+48>>2]+ +g[j+56>>2]*+g[m+56>>2]-(+g[j+12>>2]*+g[m+12>>2]+ +g[j+4>>2]*+g[m+4>>2])-(+g[j+28>>2]*+g[m+28>>2]+ +g[j+20>>2]*+g[m+20>>2])-(+g[j+44>>2]*+g[m+44>>2]+ +g[j+36>>2]*+g[m+36>>2])-(+g[j+60>>2]*+g[m+60>>2]+ +g[j+52>>2]*+g[m+52>>2]);do if(i>32767.0){b[l>>1]=32767;d=d+1|0}else if(i<-32768.0){b[l>>1]=-32768;d=d+1|0;break}else{b[l>>1]=~~i;break}while(0);a=a+-1|0;if(!a)break;else{j=j+128|0;l=l+4|0;m=m+256|0}}a=o+1024|0;m=o+896|0;i=+g[o+1032>>2]*+g[q+(r<<2)+264>>2]+ +g[a>>2]*+g[n>>2]+ +g[o+1040>>2]*+g[q+(r<<2)+272>>2]+ +g[o+1048>>2]*+g[q+(r<<2)+280>>2]+ +g[o+1056>>2]*+g[q+(r<<2)+288>>2]+ +g[o+1064>>2]*+g[q+(r<<2)+296>>2]+ +g[o+1072>>2]*+g[q+(r<<2)+304>>2]+ +g[o+1080>>2]*+g[q+(r<<2)+312>>2];do if(i>32767.0){b[p>>1]=32767;d=d+1|0}else if(i<-32768.0){b[p>>1]=-32768;d=d+1|0;break}else{b[p>>1]=~~i;break}while(0);l=7;j=h+36|0;h=q+(r<<2)+(k<<1<<2)|0;while(1){i=-(+g[a+-120>>2]*+g[h+-12>>2]+ +g[a+-124>>2]*+g[h+-8>>2])-(+g[a+-112>>2]*+g[h+-20>>2]+ +g[a+-116>>2]*+g[h+-16>>2])-(+g[a+-104>>2]*+g[h+-28>>2]+ +g[a+-108>>2]*+g[h+-24>>2])-(+g[a+-96>>2]*+g[h+-36>>2]+ +g[a+-100>>2]*+g[h+-32>>2])-(+g[a+-88>>2]*+g[h+-44>>2]+ +g[a+-92>>2]*+g[h+-40>>2])-(+g[a+-80>>2]*+g[h+-52>>2]+ +g[a+-84>>2]*+g[h+-48>>2])-(+g[a+-72>>2]*+g[h+-60>>2]+ +g[a+-76>>2]*+g[h+-56>>2])-(+g[a+-68>>2]*+g[h+-64>>2]+ +g[m>>2]*+g[h+-4>>2]);do if(i>32767.0){b[j>>1]=32767;d=d+1|0}else if(i<-32768.0){b[j>>1]=-32768;d=d+1|0;break}else{b[j>>1]=~~i;break}while(0);l=l+-1|0;if(!l)break;else{a=m;m=m+-128|0;j=j+4|0;h=h+-256|0}}if(!f)return d|0;c[e+27864>>2]=(c[e+27864>>2]|0)+64;return d|0}function Lxa(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var h=0,i=0,j=0,k=0.0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;h=(c[e+27856>>2]|0)+(c[e+27864>>2]|0)|0;if(c[e+9288>>2]|0)Dxa(b,d,e+9292|0);if(!d){j=(c[e+9272>>2]|0)+15&15;c[e+9272>>2]=j;i=e+9248|0}else{j=c[e+9272>>2]|0;i=e+9256|0;h=h+1|0}d=c[i+4>>2]|0;if(!(j&1)){Cxa((c[i>>2]|0)+(j<<2)|0,d+(j<<2)+4|0,b);p=d;j=j+1|0}else{p=c[i>>2]|0;Cxa(d+((j+1&15)<<2)|0,p+(j<<2)|0,b)}q=c[e+9284>>2]|0;o=q+(528-j<<2)|0;r=464-j|0;b=p;d=0;l=8;m=h;n=q+64+(0-j<<2)|0;while(1){k=+g[b+8>>2]*+g[n+8>>2]+ +g[b>>2]*+g[n>>2]+ +g[b+16>>2]*+g[n+16>>2]+ +g[b+24>>2]*+g[n+24>>2]+ +g[b+32>>2]*+g[n+32>>2]+ +g[b+40>>2]*+g[n+40>>2]+ +g[b+48>>2]*+g[n+48>>2]+ +g[b+56>>2]*+g[n+56>>2]-(+g[b+12>>2]*+g[n+12>>2]+ +g[b+4>>2]*+g[n+4>>2])-(+g[b+28>>2]*+g[n+28>>2]+ +g[b+20>>2]*+g[n+20>>2])-(+g[b+44>>2]*+g[n+44>>2]+ +g[b+36>>2]*+g[n+36>>2])-(+g[b+60>>2]*+g[n+60>>2]+ +g[b+52>>2]*+g[n+52>>2]);do if(k>32767.0){d=d+1|0;i=32767}else if(k<-32768.0){d=d+1|0;i=-32768;break}else{i=~~k;break}while(0);a[m>>0]=a[(c[e+9592>>2]|0)+(i<<16>>16>>3)>>0]|0;l=l+-1|0;if(!l)break;else{b=b+128|0;m=m+2|0;n=n+256|0}}l=h+16|0;b=p+1024|0;n=p+896|0;k=+g[p+1032>>2]*+g[q+(r<<2)+264>>2]+ +g[b>>2]*+g[o>>2]+ +g[p+1040>>2]*+g[q+(r<<2)+272>>2]+ +g[p+1048>>2]*+g[q+(r<<2)+280>>2]+ +g[p+1056>>2]*+g[q+(r<<2)+288>>2]+ +g[p+1064>>2]*+g[q+(r<<2)+296>>2]+ +g[p+1072>>2]*+g[q+(r<<2)+304>>2]+ +g[p+1080>>2]*+g[q+(r<<2)+312>>2];do if(k>32767.0){d=d+1|0;i=32767}else if(k<-32768.0){d=d+1|0;i=-32768;break}else{i=~~k;break}while(0);a[l>>0]=a[(c[e+9592>>2]|0)+(i<<16>>16>>3)>>0]|0;m=7;l=h+18|0;i=q+(r<<2)+(j<<1<<2)|0;while(1){k=-(+g[b+-120>>2]*+g[i+-12>>2]+ +g[b+-124>>2]*+g[i+-8>>2])-(+g[b+-112>>2]*+g[i+-20>>2]+ +g[b+-116>>2]*+g[i+-16>>2])-(+g[b+-104>>2]*+g[i+-28>>2]+ +g[b+-108>>2]*+g[i+-24>>2])-(+g[b+-96>>2]*+g[i+-36>>2]+ +g[b+-100>>2]*+g[i+-32>>2])-(+g[b+-88>>2]*+g[i+-44>>2]+ +g[b+-92>>2]*+g[i+-40>>2])-(+g[b+-80>>2]*+g[i+-52>>2]+ +g[b+-84>>2]*+g[i+-48>>2])-(+g[b+-72>>2]*+g[i+-60>>2]+ +g[b+-76>>2]*+g[i+-56>>2])-(+g[b+-68>>2]*+g[i+-64>>2]+ +g[n>>2]*+g[i+-4>>2]);do if(k>32767.0){d=d+1|0;h=32767}else if(k<-32768.0){d=d+1|0;h=-32768;break}else{h=~~k;break}while(0);a[l>>0]=a[(c[e+9592>>2]|0)+(h<<16>>16>>3)>>0]|0;m=m+-1|0;if(!m)break;else{b=n;n=n+-128|0;l=l+2|0;i=i+-256|0}}if(!f)return d|0;c[e+27864>>2]=(c[e+27864>>2]|0)+32;return d|0}function Mxa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=(c[d+27856>>2]|0)+(c[d+27864>>2]|0)|0;if(c[d+9288>>2]|0)Dxa(a,b,d+9292|0);if(!b){i=(c[d+9272>>2]|0)+15&15;c[d+9272>>2]=i;h=d+9248|0}else{i=c[d+9272>>2]|0;h=d+9256|0;f=f+4|0}b=c[h+4>>2]|0;if(!(i&1)){Cxa((c[h>>2]|0)+(i<<2)|0,b+(i<<2)+4|0,a);i=i+1|0}else{n=c[h>>2]|0;Cxa(b+((i+1&15)<<2)|0,n+(i<<2)|0,a);b=n}m=c[d+9284>>2]|0;k=f+64|0;l=m+(528-i<<2)|0;n=m+(464-i<<2)|0;h=b;a=8;j=f;m=m+64+(0-i<<2)|0;while(1){g[j>>2]=(+g[h+8>>2]*+g[m+8>>2]+ +g[h>>2]*+g[m>>2]+ +g[h+16>>2]*+g[m+16>>2]+ +g[h+24>>2]*+g[m+24>>2]+ +g[h+32>>2]*+g[m+32>>2]+ +g[h+40>>2]*+g[m+40>>2]+ +g[h+48>>2]*+g[m+48>>2]+ +g[h+56>>2]*+g[m+56>>2]-(+g[h+12>>2]*+g[m+12>>2]+ +g[h+4>>2]*+g[m+4>>2])-(+g[h+28>>2]*+g[m+28>>2]+ +g[h+20>>2]*+g[m+20>>2])-(+g[h+44>>2]*+g[m+44>>2]+ +g[h+36>>2]*+g[m+36>>2])-(+g[h+60>>2]*+g[m+60>>2]+ +g[h+52>>2]*+g[m+52>>2]))*.000030517578125;a=a+-1|0;if(!a)break;else{h=h+128|0;j=j+8|0;m=m+256|0}}j=b+1024|0;g[k>>2]=(+g[b+1032>>2]*+g[n+264>>2]+ +g[j>>2]*+g[l>>2]+ +g[b+1040>>2]*+g[n+272>>2]+ +g[b+1048>>2]*+g[n+280>>2]+ +g[b+1056>>2]*+g[n+288>>2]+ +g[b+1064>>2]*+g[n+296>>2]+ +g[b+1072>>2]*+g[n+304>>2]+ +g[b+1080>>2]*+g[n+312>>2])*.000030517578125;h=b+896|0;a=7;f=f+72|0;b=n+(i<<1<<2)|0;while(1){g[f>>2]=(-(+g[j+-120>>2]*+g[b+-12>>2]+ +g[j+-124>>2]*+g[b+-8>>2])-(+g[j+-112>>2]*+g[b+-20>>2]+ +g[j+-116>>2]*+g[b+-16>>2])-(+g[j+-104>>2]*+g[b+-28>>2]+ +g[j+-108>>2]*+g[b+-24>>2])-(+g[j+-96>>2]*+g[b+-36>>2]+ +g[j+-100>>2]*+g[b+-32>>2])-(+g[j+-88>>2]*+g[b+-44>>2]+ +g[j+-92>>2]*+g[b+-40>>2])-(+g[j+-80>>2]*+g[b+-52>>2]+ +g[j+-84>>2]*+g[b+-48>>2])-(+g[j+-72>>2]*+g[b+-60>>2]+ +g[j+-76>>2]*+g[b+-56>>2])-(+g[j+-68>>2]*+g[b+-64>>2]+ +g[h>>2]*+g[b+-4>>2]))*.000030517578125;a=a+-1|0;if(!a)break;else{j=h;h=h+-128|0;f=f+8|0;b=b+-256|0}}if(!e)return 0;c[d+27864>>2]=(c[d+27864>>2]|0)+128;return 0}function Nxa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0.0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;f=(c[d+27856>>2]|0)+(c[d+27864>>2]|0)|0;if(c[d+9288>>2]|0)Dxa(a,b,d+9292|0);if(!b){j=(c[d+9272>>2]|0)+15&15;c[d+9272>>2]=j;i=d+9248|0}else{j=c[d+9272>>2]|0;i=d+9256|0;f=f+4|0}b=c[i+4>>2]|0;if(!(j&1)){Cxa((c[i>>2]|0)+(j<<2)|0,b+(j<<2)+4|0,a);n=b;j=j+1|0}else{n=c[i>>2]|0;Cxa(b+((j+1&15)<<2)|0,n+(j<<2)|0,a)}l=c[d+9284>>2]|0;o=f+64|0;m=l+(528-j<<2)|0;p=l+(464-j<<2)|0;i=n;b=0;a=8;k=f;l=l+64+(0-j<<2)|0;while(1){h=(+g[i+8>>2]*+g[l+8>>2]+ +g[i>>2]*+g[l>>2]+ +g[i+16>>2]*+g[l+16>>2]+ +g[i+24>>2]*+g[l+24>>2]+ +g[i+32>>2]*+g[l+32>>2]+ +g[i+40>>2]*+g[l+40>>2]+ +g[i+48>>2]*+g[l+48>>2]+ +g[i+56>>2]*+g[l+56>>2]-(+g[i+12>>2]*+g[l+12>>2]+ +g[i+4>>2]*+g[l+4>>2])-(+g[i+28>>2]*+g[l+28>>2]+ +g[i+20>>2]*+g[l+20>>2])-(+g[i+44>>2]*+g[l+44>>2]+ +g[i+36>>2]*+g[l+36>>2])-(+g[i+60>>2]*+g[l+60>>2]+ +g[i+52>>2]*+g[l+52>>2]))*65536.0;do if(h>2147483647.0){c[k>>2]=2147483647;b=b+1|0}else if(h<-2147483648.0){c[k>>2]=-2147483648;b=b+1|0;break}else{c[k>>2]=~~h;break}while(0);a=a+-1|0;if(!a)break;else{i=i+128|0;k=k+8|0;l=l+256|0}}a=n+1024|0;l=n+896|0;h=(+g[n+1032>>2]*+g[p+264>>2]+ +g[a>>2]*+g[m>>2]+ +g[n+1040>>2]*+g[p+272>>2]+ +g[n+1048>>2]*+g[p+280>>2]+ +g[n+1056>>2]*+g[p+288>>2]+ +g[n+1064>>2]*+g[p+296>>2]+ +g[n+1072>>2]*+g[p+304>>2]+ +g[n+1080>>2]*+g[p+312>>2])*65536.0;do if(h>2147483647.0){c[o>>2]=2147483647;b=b+1|0}else if(h<-2147483648.0){c[o>>2]=-2147483648;b=b+1|0;break}else{c[o>>2]=~~h;break}while(0);k=7;i=f+72|0;f=p+(j<<1<<2)|0;while(1){h=(-(+g[a+-120>>2]*+g[f+-12>>2]+ +g[a+-124>>2]*+g[f+-8>>2])-(+g[a+-112>>2]*+g[f+-20>>2]+ +g[a+-116>>2]*+g[f+-16>>2])-(+g[a+-104>>2]*+g[f+-28>>2]+ +g[a+-108>>2]*+g[f+-24>>2])-(+g[a+-96>>2]*+g[f+-36>>2]+ +g[a+-100>>2]*+g[f+-32>>2])-(+g[a+-88>>2]*+g[f+-44>>2]+ +g[a+-92>>2]*+g[f+-40>>2])-(+g[a+-80>>2]*+g[f+-52>>2]+ +g[a+-84>>2]*+g[f+-48>>2])-(+g[a+-72>>2]*+g[f+-60>>2]+ +g[a+-76>>2]*+g[f+-56>>2])-(+g[a+-68>>2]*+g[f+-64>>2]+ +g[l>>2]*+g[f+-4>>2]))*65536.0;do if(h>2147483647.0){c[i>>2]=2147483647;b=b+1|0}else if(h<-2147483648.0){c[i>>2]=-2147483648;b=b+1|0;break}else{c[i>>2]=~~h;break}while(0);k=k+-1|0;if(!k)break;else{a=l;l=l+-128|0;i=i+8|0;f=f+-256|0}}if(!e)return b|0;c[d+27864>>2]=(c[d+27864>>2]|0)+128;return b|0}function Oxa(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var h=0,i=0.0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;h=(c[e+27856>>2]|0)+(c[e+27864>>2]|0)|0;if(c[e+9288>>2]|0)Dxa(a,d,e+9292|0);if(!d){k=(c[e+9272>>2]|0)+15&15;c[e+9272>>2]=k;j=e+9248|0}else{k=c[e+9272>>2]|0;j=e+9256|0;h=h+2|0}d=c[j+4>>2]|0;if(!(k&1)){Cxa((c[j>>2]|0)+(k<<2)|0,d+(k<<2)+4|0,a);o=d;k=k+1|0}else{o=c[j>>2]|0;Cxa(d+((k+1&15)<<2)|0,o+(k<<2)|0,a)}q=c[e+9284>>2]|0;p=h+16|0;n=q+(528-k<<2)|0;r=400-k|0;j=o;d=0;a=4;l=h;m=q+64+(0-k<<2)|0;while(1){i=+g[j+8>>2]*+g[m+8>>2]+ +g[j>>2]*+g[m>>2]+ +g[j+16>>2]*+g[m+16>>2]+ +g[j+24>>2]*+g[m+24>>2]+ +g[j+32>>2]*+g[m+32>>2]+ +g[j+40>>2]*+g[m+40>>2]+ +g[j+48>>2]*+g[m+48>>2]+ +g[j+56>>2]*+g[m+56>>2]-(+g[j+12>>2]*+g[m+12>>2]+ +g[j+4>>2]*+g[m+4>>2])-(+g[j+28>>2]*+g[m+28>>2]+ +g[j+20>>2]*+g[m+20>>2])-(+g[j+44>>2]*+g[m+44>>2]+ +g[j+36>>2]*+g[m+36>>2])-(+g[j+60>>2]*+g[m+60>>2]+ +g[j+52>>2]*+g[m+52>>2]);do if(i>32767.0){b[l>>1]=32767;d=d+1|0}else if(i<-32768.0){b[l>>1]=-32768;d=d+1|0;break}else{b[l>>1]=~~i;break}while(0);a=a+-1|0;if(!a)break;else{j=j+256|0;l=l+4|0;m=m+512|0}}a=o+1024|0;m=o+768|0;i=+g[o+1032>>2]*+g[q+(r<<2)+520>>2]+ +g[a>>2]*+g[n>>2]+ +g[o+1040>>2]*+g[q+(r<<2)+528>>2]+ +g[o+1048>>2]*+g[q+(r<<2)+536>>2]+ +g[o+1056>>2]*+g[q+(r<<2)+544>>2]+ +g[o+1064>>2]*+g[q+(r<<2)+552>>2]+ +g[o+1072>>2]*+g[q+(r<<2)+560>>2]+ +g[o+1080>>2]*+g[q+(r<<2)+568>>2];do if(i>32767.0){b[p>>1]=32767;d=d+1|0}else if(i<-32768.0){b[p>>1]=-32768;d=d+1|0;break}else{b[p>>1]=~~i;break}while(0);l=3;j=h+20|0;h=q+(r<<2)+(k<<1<<2)|0;while(1){i=-(+g[a+-248>>2]*+g[h+-12>>2]+ +g[a+-252>>2]*+g[h+-8>>2])-(+g[a+-240>>2]*+g[h+-20>>2]+ +g[a+-244>>2]*+g[h+-16>>2])-(+g[a+-232>>2]*+g[h+-28>>2]+ +g[a+-236>>2]*+g[h+-24>>2])-(+g[a+-224>>2]*+g[h+-36>>2]+ +g[a+-228>>2]*+g[h+-32>>2])-(+g[a+-216>>2]*+g[h+-44>>2]+ +g[a+-220>>2]*+g[h+-40>>2])-(+g[a+-208>>2]*+g[h+-52>>2]+ +g[a+-212>>2]*+g[h+-48>>2])-(+g[a+-200>>2]*+g[h+-60>>2]+ +g[a+-204>>2]*+g[h+-56>>2])-(+g[a+-196>>2]*+g[h+-64>>2]+ +g[m>>2]*+g[h+-4>>2]);do if(i>32767.0){b[j>>1]=32767;d=d+1|0}else if(i<-32768.0){b[j>>1]=-32768;d=d+1|0;break}else{b[j>>1]=~~i;break}while(0);l=l+-1|0;if(!l)break;else{a=m;m=m+-256|0;j=j+4|0;h=h+-512|0}}if(!f)return d|0;c[e+27864>>2]=(c[e+27864>>2]|0)+32;return d|0}function Pxa(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var h=0,i=0,j=0,k=0.0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;h=(c[e+27856>>2]|0)+(c[e+27864>>2]|0)|0;if(c[e+9288>>2]|0)Dxa(b,d,e+9292|0);if(!d){j=(c[e+9272>>2]|0)+15&15;c[e+9272>>2]=j;i=e+9248|0}else{j=c[e+9272>>2]|0;i=e+9256|0;h=h+1|0}d=c[i+4>>2]|0;if(!(j&1)){Cxa((c[i>>2]|0)+(j<<2)|0,d+(j<<2)+4|0,b);p=d;j=j+1|0}else{p=c[i>>2]|0;Cxa(d+((j+1&15)<<2)|0,p+(j<<2)|0,b)}q=c[e+9284>>2]|0;o=q+(528-j<<2)|0;r=400-j|0;b=p;d=0;l=4;m=h;n=q+64+(0-j<<2)|0;while(1){k=+g[b+8>>2]*+g[n+8>>2]+ +g[b>>2]*+g[n>>2]+ +g[b+16>>2]*+g[n+16>>2]+ +g[b+24>>2]*+g[n+24>>2]+ +g[b+32>>2]*+g[n+32>>2]+ +g[b+40>>2]*+g[n+40>>2]+ +g[b+48>>2]*+g[n+48>>2]+ +g[b+56>>2]*+g[n+56>>2]-(+g[b+12>>2]*+g[n+12>>2]+ +g[b+4>>2]*+g[n+4>>2])-(+g[b+28>>2]*+g[n+28>>2]+ +g[b+20>>2]*+g[n+20>>2])-(+g[b+44>>2]*+g[n+44>>2]+ +g[b+36>>2]*+g[n+36>>2])-(+g[b+60>>2]*+g[n+60>>2]+ +g[b+52>>2]*+g[n+52>>2]);do if(k>32767.0){d=d+1|0;i=32767}else if(k<-32768.0){d=d+1|0;i=-32768;break}else{i=~~k;break}while(0);a[m>>0]=a[(c[e+9592>>2]|0)+(i<<16>>16>>3)>>0]|0;l=l+-1|0;if(!l)break;else{b=b+256|0;m=m+2|0;n=n+512|0}}l=h+8|0;b=p+1024|0;n=p+768|0;k=+g[p+1032>>2]*+g[q+(r<<2)+520>>2]+ +g[b>>2]*+g[o>>2]+ +g[p+1040>>2]*+g[q+(r<<2)+528>>2]+ +g[p+1048>>2]*+g[q+(r<<2)+536>>2]+ +g[p+1056>>2]*+g[q+(r<<2)+544>>2]+ +g[p+1064>>2]*+g[q+(r<<2)+552>>2]+ +g[p+1072>>2]*+g[q+(r<<2)+560>>2]+ +g[p+1080>>2]*+g[q+(r<<2)+568>>2];do if(k>32767.0){d=d+1|0;i=32767}else if(k<-32768.0){d=d+1|0;i=-32768;break}else{i=~~k;break}while(0);a[l>>0]=a[(c[e+9592>>2]|0)+(i<<16>>16>>3)>>0]|0;m=3;l=h+10|0;i=q+(r<<2)+(j<<1<<2)|0;while(1){k=-(+g[b+-248>>2]*+g[i+-12>>2]+ +g[b+-252>>2]*+g[i+-8>>2])-(+g[b+-240>>2]*+g[i+-20>>2]+ +g[b+-244>>2]*+g[i+-16>>2])-(+g[b+-232>>2]*+g[i+-28>>2]+ +g[b+-236>>2]*+g[i+-24>>2])-(+g[b+-224>>2]*+g[i+-36>>2]+ +g[b+-228>>2]*+g[i+-32>>2])-(+g[b+-216>>2]*+g[i+-44>>2]+ +g[b+-220>>2]*+g[i+-40>>2])-(+g[b+-208>>2]*+g[i+-52>>2]+ +g[b+-212>>2]*+g[i+-48>>2])-(+g[b+-200>>2]*+g[i+-60>>2]+ +g[b+-204>>2]*+g[i+-56>>2])-(+g[b+-196>>2]*+g[i+-64>>2]+ +g[n>>2]*+g[i+-4>>2]);do if(k>32767.0){d=d+1|0;h=32767}else if(k<-32768.0){d=d+1|0;h=-32768;break}else{h=~~k;break}while(0);a[l>>0]=a[(c[e+9592>>2]|0)+(h<<16>>16>>3)>>0]|0;m=m+-1|0;if(!m)break;else{b=n;n=n+-256|0;l=l+2|0;i=i+-512|0}}if(!f)return d|0;c[e+27864>>2]=(c[e+27864>>2]|0)+16;return d|0}function Qxa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=(c[d+27856>>2]|0)+(c[d+27864>>2]|0)|0;if(c[d+9288>>2]|0)Dxa(a,b,d+9292|0);if(!b){i=(c[d+9272>>2]|0)+15&15;c[d+9272>>2]=i;h=d+9248|0}else{i=c[d+9272>>2]|0;h=d+9256|0;f=f+4|0}b=c[h+4>>2]|0;if(!(i&1)){Cxa((c[h>>2]|0)+(i<<2)|0,b+(i<<2)+4|0,a);i=i+1|0}else{n=c[h>>2]|0;Cxa(b+((i+1&15)<<2)|0,n+(i<<2)|0,a);b=n}m=c[d+9284>>2]|0;k=f+32|0;l=m+(528-i<<2)|0;n=m+(400-i<<2)|0;h=b;a=4;j=f;m=m+64+(0-i<<2)|0;while(1){g[j>>2]=(+g[h+8>>2]*+g[m+8>>2]+ +g[h>>2]*+g[m>>2]+ +g[h+16>>2]*+g[m+16>>2]+ +g[h+24>>2]*+g[m+24>>2]+ +g[h+32>>2]*+g[m+32>>2]+ +g[h+40>>2]*+g[m+40>>2]+ +g[h+48>>2]*+g[m+48>>2]+ +g[h+56>>2]*+g[m+56>>2]-(+g[h+12>>2]*+g[m+12>>2]+ +g[h+4>>2]*+g[m+4>>2])-(+g[h+28>>2]*+g[m+28>>2]+ +g[h+20>>2]*+g[m+20>>2])-(+g[h+44>>2]*+g[m+44>>2]+ +g[h+36>>2]*+g[m+36>>2])-(+g[h+60>>2]*+g[m+60>>2]+ +g[h+52>>2]*+g[m+52>>2]))*.000030517578125;a=a+-1|0;if(!a)break;else{h=h+256|0;j=j+8|0;m=m+512|0}}j=b+1024|0;g[k>>2]=(+g[b+1032>>2]*+g[n+520>>2]+ +g[j>>2]*+g[l>>2]+ +g[b+1040>>2]*+g[n+528>>2]+ +g[b+1048>>2]*+g[n+536>>2]+ +g[b+1056>>2]*+g[n+544>>2]+ +g[b+1064>>2]*+g[n+552>>2]+ +g[b+1072>>2]*+g[n+560>>2]+ +g[b+1080>>2]*+g[n+568>>2])*.000030517578125;h=b+768|0;a=3;f=f+40|0;b=n+(i<<1<<2)|0;while(1){g[f>>2]=(-(+g[j+-248>>2]*+g[b+-12>>2]+ +g[j+-252>>2]*+g[b+-8>>2])-(+g[j+-240>>2]*+g[b+-20>>2]+ +g[j+-244>>2]*+g[b+-16>>2])-(+g[j+-232>>2]*+g[b+-28>>2]+ +g[j+-236>>2]*+g[b+-24>>2])-(+g[j+-224>>2]*+g[b+-36>>2]+ +g[j+-228>>2]*+g[b+-32>>2])-(+g[j+-216>>2]*+g[b+-44>>2]+ +g[j+-220>>2]*+g[b+-40>>2])-(+g[j+-208>>2]*+g[b+-52>>2]+ +g[j+-212>>2]*+g[b+-48>>2])-(+g[j+-200>>2]*+g[b+-60>>2]+ +g[j+-204>>2]*+g[b+-56>>2])-(+g[j+-196>>2]*+g[b+-64>>2]+ +g[h>>2]*+g[b+-4>>2]))*.000030517578125;a=a+-1|0;if(!a)break;else{j=h;h=h+-256|0;f=f+8|0;b=b+-512|0}}if(!e)return 0;c[d+27864>>2]=(c[d+27864>>2]|0)+64;return 0}function Rxa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0.0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;f=(c[d+27856>>2]|0)+(c[d+27864>>2]|0)|0;if(c[d+9288>>2]|0)Dxa(a,b,d+9292|0);if(!b){j=(c[d+9272>>2]|0)+15&15;c[d+9272>>2]=j;i=d+9248|0}else{j=c[d+9272>>2]|0;i=d+9256|0;f=f+4|0}b=c[i+4>>2]|0;if(!(j&1)){Cxa((c[i>>2]|0)+(j<<2)|0,b+(j<<2)+4|0,a);n=b;j=j+1|0}else{n=c[i>>2]|0;Cxa(b+((j+1&15)<<2)|0,n+(j<<2)|0,a)}l=c[d+9284>>2]|0;o=f+32|0;m=l+(528-j<<2)|0;p=l+(400-j<<2)|0;i=n;b=0;a=4;k=f;l=l+64+(0-j<<2)|0;while(1){h=(+g[i+8>>2]*+g[l+8>>2]+ +g[i>>2]*+g[l>>2]+ +g[i+16>>2]*+g[l+16>>2]+ +g[i+24>>2]*+g[l+24>>2]+ +g[i+32>>2]*+g[l+32>>2]+ +g[i+40>>2]*+g[l+40>>2]+ +g[i+48>>2]*+g[l+48>>2]+ +g[i+56>>2]*+g[l+56>>2]-(+g[i+12>>2]*+g[l+12>>2]+ +g[i+4>>2]*+g[l+4>>2])-(+g[i+28>>2]*+g[l+28>>2]+ +g[i+20>>2]*+g[l+20>>2])-(+g[i+44>>2]*+g[l+44>>2]+ +g[i+36>>2]*+g[l+36>>2])-(+g[i+60>>2]*+g[l+60>>2]+ +g[i+52>>2]*+g[l+52>>2]))*65536.0;do if(h>2147483647.0){c[k>>2]=2147483647;b=b+1|0}else if(h<-2147483648.0){c[k>>2]=-2147483648;b=b+1|0;break}else{c[k>>2]=~~h;break}while(0);a=a+-1|0;if(!a)break;else{i=i+256|0;k=k+8|0;l=l+512|0}}a=n+1024|0;l=n+768|0;h=(+g[n+1032>>2]*+g[p+520>>2]+ +g[a>>2]*+g[m>>2]+ +g[n+1040>>2]*+g[p+528>>2]+ +g[n+1048>>2]*+g[p+536>>2]+ +g[n+1056>>2]*+g[p+544>>2]+ +g[n+1064>>2]*+g[p+552>>2]+ +g[n+1072>>2]*+g[p+560>>2]+ +g[n+1080>>2]*+g[p+568>>2])*65536.0;do if(h>2147483647.0){c[o>>2]=2147483647;b=b+1|0}else if(h<-2147483648.0){c[o>>2]=-2147483648;b=b+1|0;break}else{c[o>>2]=~~h;break}while(0);k=3;i=f+40|0;f=p+(j<<1<<2)|0;while(1){h=(-(+g[a+-248>>2]*+g[f+-12>>2]+ +g[a+-252>>2]*+g[f+-8>>2])-(+g[a+-240>>2]*+g[f+-20>>2]+ +g[a+-244>>2]*+g[f+-16>>2])-(+g[a+-232>>2]*+g[f+-28>>2]+ +g[a+-236>>2]*+g[f+-24>>2])-(+g[a+-224>>2]*+g[f+-36>>2]+ +g[a+-228>>2]*+g[f+-32>>2])-(+g[a+-216>>2]*+g[f+-44>>2]+ +g[a+-220>>2]*+g[f+-40>>2])-(+g[a+-208>>2]*+g[f+-52>>2]+ +g[a+-212>>2]*+g[f+-48>>2])-(+g[a+-200>>2]*+g[f+-60>>2]+ +g[a+-204>>2]*+g[f+-56>>2])-(+g[a+-196>>2]*+g[f+-64>>2]+ +g[l>>2]*+g[f+-4>>2]))*65536.0;do if(h>2147483647.0){c[i>>2]=2147483647;b=b+1|0}else if(h<-2147483648.0){c[i>>2]=-2147483648;b=b+1|0;break}else{c[i>>2]=~~h;break}while(0);k=k+-1|0;if(!k)break;else{a=l;l=l+-256|0;i=i+8|0;f=f+-512|0}}if(!e)return b|0;c[d+27864>>2]=(c[d+27864>>2]|0)+64;return b|0}function Sxa(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var h=0,i=0,j=0,k=0,l=0.0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;h=(c[e+27856>>2]|0)+(c[e+27864>>2]|0)|0;if(c[e+9288>>2]|0)Dxa(a,d,e+9292|0);if(d|0){k=c[e+9272>>2]|0;j=e+9256|0;m=c[e+19356>>2]|0;h=h+2|0}else{k=(c[e+9272>>2]|0)+15&15;c[e+9272>>2]=k;m=c[e+19352>>2]|0;c[e+19356>>2]=m;j=e+9248|0}i=c[j+4>>2]|0;if(!(k&1)){Cxa((c[j>>2]|0)+(k<<2)|0,i+(k<<2)+4|0,a);k=k+1|0}else{w=c[j>>2]|0;Cxa(i+((k+1&15)<<2)|0,w+(k<<2)|0,a);i=w}v=c[e+9284>>2]|0;s=c[e+19360>>2]|0;t=528-k|0;u=i+1024|0;w=496-k|0;j=s+m|0;q=i;a=0;r=16;p=v+64+(0-k<<2)|0;while(1){do if((j|0)>=32768){l=+g[q+8>>2]*+g[p+8>>2]+ +g[q>>2]*+g[p>>2]+ +g[q+16>>2]*+g[p+16>>2]+ +g[q+24>>2]*+g[p+24>>2]+ +g[q+32>>2]*+g[p+32>>2]+ +g[q+40>>2]*+g[p+40>>2]+ +g[q+48>>2]*+g[p+48>>2]+ +g[q+56>>2]*+g[p+56>>2]-(+g[q+12>>2]*+g[p+12>>2]+ +g[q+4>>2]*+g[p+4>>2])-(+g[q+28>>2]*+g[p+28>>2]+ +g[q+20>>2]*+g[p+20>>2])-(+g[q+44>>2]*+g[p+44>>2]+ +g[q+36>>2]*+g[p+36>>2])-(+g[q+60>>2]*+g[p+60>>2]+ +g[q+52>>2]*+g[p+52>>2]);n=j+-32768|0;if(l>32767.0){m=a+1|0;if(l<-32768.0){a=j;j=h;while(1){b[j>>1]=32767;a=a+-32768|0;if((a|0)<=32767)break;else j=j+4|0}a=m+(n>>>15)|0;j=n-(n>>>15<<15)|0;h=h+4+(n>>>15<<1<<1)|0;break}else{a=j;j=h;while(1){b[j>>1]=32767;a=a+-32768|0;if((a|0)<=32767)break;else j=j+4|0}a=m+(n>>>15)|0;j=n-(n>>>15<<15)|0;h=h+4+(n>>>15<<1<<1)|0;break}}if(!(l<-32768.0)){m=h;while(1){b[m>>1]=~~l;j=j+-32768|0;if((j|0)<=32767)break;else m=m+4|0}j=n-(n>>>15<<15)|0;h=h+4+(n>>>15<<1<<1)|0;break}m=a+1|0;a=j;j=h;while(1){b[j>>1]=-32768;a=a+-32768|0;if((a|0)<=32767)break;else j=j+4|0}a=m+(n>>>15)|0;j=n-(n>>>15<<15)|0;h=h+4+(n>>>15<<1<<1)|0}while(0);r=r+-1|0;o=s+j|0;if(!r)break;else{j=o;q=q+64|0;p=p+128|0}}n=i+960|0;do if((o|0)>32767){l=+g[i+1032>>2]*+g[v+(w<<2)+136>>2]+ +g[u>>2]*+g[v+(t<<2)>>2]+ +g[i+1040>>2]*+g[v+(w<<2)+144>>2]+ +g[i+1048>>2]*+g[v+(w<<2)+152>>2]+ +g[i+1056>>2]*+g[v+(w<<2)+160>>2]+ +g[i+1064>>2]*+g[v+(w<<2)+168>>2]+ +g[i+1072>>2]*+g[v+(w<<2)+176>>2]+ +g[i+1080>>2]*+g[v+(w<<2)+184>>2];m=(o+-32768|0)>>>15;if(l>32767.0)if(l<-32768.0){i=a;j=h;while(1){b[j>>1]=32767;i=i+1|0;if((i|0)==(a+m+1|0))break;else j=j+4|0}a=a+m+1|0;i=o+-32768-(m<<15)|0;h=h+((m<<1)+2<<1)|0;break}else{i=a;j=h;while(1){b[j>>1]=32767;i=i+1|0;if((i|0)==(a+m+1|0))break;else j=j+4|0}a=a+m+1|0;i=o+-32768-(m<<15)|0;h=h+((m<<1)+2<<1)|0;break}if(!(l<-32768.0)){i=o;j=h;while(1){b[j>>1]=~~l;i=i+-32768|0;if((i|0)<=32767)break;else j=j+4|0}i=o+-32768-(m<<15)|0;h=h+((m<<1)+2<<1)|0;break}i=a;j=h;while(1){b[j>>1]=-32768;i=i+1|0;if((i|0)==(a+m+1|0))break;else j=j+4|0}a=a+m+1|0;i=o+-32768-(m<<15)|0;h=h+((m<<1)+2<<1)|0}else i=o;while(0);q=c[e+19360>>2]|0;m=u;p=n;o=15;j=i;n=v+(w<<2)+(k<<1<<2)|0;while(1){i=q+j|0;do if((i|0)>=32768){l=-(+g[m+-56>>2]*+g[n+-12>>2]+ +g[m+-60>>2]*+g[n+-8>>2])-(+g[m+-48>>2]*+g[n+-20>>2]+ +g[m+-52>>2]*+g[n+-16>>2])-(+g[m+-40>>2]*+g[n+-28>>2]+ +g[m+-44>>2]*+g[n+-24>>2])-(+g[m+-32>>2]*+g[n+-36>>2]+ +g[m+-36>>2]*+g[n+-32>>2])-(+g[m+-24>>2]*+g[n+-44>>2]+ +g[m+-28>>2]*+g[n+-40>>2])-(+g[m+-16>>2]*+g[n+-52>>2]+ +g[m+-20>>2]*+g[n+-48>>2])-(+g[m+-8>>2]*+g[n+-60>>2]+ +g[m+-12>>2]*+g[n+-56>>2])-(+g[m+-4>>2]*+g[n+-64>>2]+ +g[p>>2]*+g[n+-4>>2]);k=q+-32768+j|0;if(l>32767.0){j=a+1|0;if(l<-32768.0){a=h;while(1){b[a>>1]=32767;i=i+-32768|0;if((i|0)<=32767)break;else a=a+4|0}a=j+(k>>>15)|0;i=k-(k>>>15<<15)|0;h=h+4+(k>>>15<<1<<1)|0;break}else{a=h;while(1){b[a>>1]=32767;i=i+-32768|0;if((i|0)<=32767)break;else a=a+4|0}a=j+(k>>>15)|0;i=k-(k>>>15<<15)|0;h=h+4+(k>>>15<<1<<1)|0;break}}if(!(l<-32768.0)){j=h;while(1){b[j>>1]=~~l;i=i+-32768|0;if((i|0)<=32767)break;else j=j+4|0}i=k-(k>>>15<<15)|0;h=h+4+(k>>>15<<1<<1)|0;break}j=a+1|0;a=h;while(1){b[a>>1]=-32768;i=i+-32768|0;if((i|0)<=32767)break;else a=a+4|0}a=j+(k>>>15)|0;i=k-(k>>>15<<15)|0;h=h+4+(k>>>15<<1<<1)|0}while(0);o=o+-1|0;if(!o)break;else{m=p;p=p+-64|0;j=i;n=n+-128|0}}c[e+19352+(d<<2)>>2]=i;if(!f)return a|0;c[e+27864>>2]=h+(d|0?-2:0)-(c[e+27856>>2]|0);return a|0}function Txa(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var h=0,i=0,j=0,k=0,l=0.0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;h=(c[e+27856>>2]|0)+(c[e+27864>>2]|0)|0;if(c[e+9288>>2]|0)Dxa(b,d,e+9292|0);if(d|0){k=c[e+9272>>2]|0;j=e+9256|0;m=c[e+19356>>2]|0;h=h+1|0}else{k=(c[e+9272>>2]|0)+15&15;c[e+9272>>2]=k;m=c[e+19352>>2]|0;c[e+19356>>2]=m;j=e+9248|0}i=c[j+4>>2]|0;if(!(k&1)){Cxa((c[j>>2]|0)+(k<<2)|0,i+(k<<2)+4|0,b);k=k+1|0}else{v=c[j>>2]|0;Cxa(i+((k+1&15)<<2)|0,v+(k<<2)|0,b);i=v}u=c[e+9284>>2]|0;t=528-k|0;n=i+1024|0;v=496-k|0;j=(c[e+19360>>2]|0)+m|0;r=i;b=0;s=16;q=u+64+(0-k<<2)|0;while(1){do if((j|0)>=32768){l=+g[r+8>>2]*+g[q+8>>2]+ +g[r>>2]*+g[q>>2]+ +g[r+16>>2]*+g[q+16>>2]+ +g[r+24>>2]*+g[q+24>>2]+ +g[r+32>>2]*+g[q+32>>2]+ +g[r+40>>2]*+g[q+40>>2]+ +g[r+48>>2]*+g[q+48>>2]+ +g[r+56>>2]*+g[q+56>>2]-(+g[r+12>>2]*+g[q+12>>2]+ +g[r+4>>2]*+g[q+4>>2])-(+g[r+28>>2]*+g[q+28>>2]+ +g[r+20>>2]*+g[q+20>>2])-(+g[r+44>>2]*+g[q+44>>2]+ +g[r+36>>2]*+g[q+36>>2])-(+g[r+60>>2]*+g[q+60>>2]+ +g[r+52>>2]*+g[q+52>>2]);o=j+-32768|0;if(l>32767.0){m=b+1|0;if(l<-32768.0){b=j;j=h;while(1){a[j>>0]=a[(c[e+9592>>2]|0)+4095>>0]|0;b=b+-32768|0;if((b|0)<=32767)break;else j=j+2|0}b=m+(o>>>15)|0;j=o-(o>>>15<<15)|0;h=h+2+(o>>>15<<1)|0;break}else{b=j;j=h;while(1){a[j>>0]=a[(c[e+9592>>2]|0)+4095>>0]|0;b=b+-32768|0;if((b|0)<=32767)break;else j=j+2|0}b=m+(o>>>15)|0;j=o-(o>>>15<<15)|0;h=h+2+(o>>>15<<1)|0;break}}if(l<-32768.0){m=b+1|0;b=j;j=h;while(1){a[j>>0]=a[(c[e+9592>>2]|0)+-4096>>0]|0;b=b+-32768|0;if((b|0)<=32767)break;else j=j+2|0}b=m+(o>>>15)|0;j=o-(o>>>15<<15)|0;h=h+2+(o>>>15<<1)|0;break}else{m=h;while(1){a[m>>0]=a[(c[e+9592>>2]|0)+(~~l<<16>>16>>3)>>0]|0;j=j+-32768|0;if((j|0)<=32767)break;else m=m+2|0}j=o-(o>>>15<<15)|0;h=h+2+(o>>>15<<1)|0;break}}while(0);s=s+-1|0;p=(c[e+19360>>2]|0)+j|0;if(!s)break;else{j=p;r=r+64|0;q=q+128|0}}o=i+960|0;do if((p|0)>32767){l=+g[i+1032>>2]*+g[u+(v<<2)+136>>2]+ +g[n>>2]*+g[u+(t<<2)>>2]+ +g[i+1040>>2]*+g[u+(v<<2)+144>>2]+ +g[i+1048>>2]*+g[u+(v<<2)+152>>2]+ +g[i+1056>>2]*+g[u+(v<<2)+160>>2]+ +g[i+1064>>2]*+g[u+(v<<2)+168>>2]+ +g[i+1072>>2]*+g[u+(v<<2)+176>>2]+ +g[i+1080>>2]*+g[u+(v<<2)+184>>2];m=(p+-32768|0)>>>15;if(l>32767.0)if(l<-32768.0){i=b;j=h;while(1){i=i+1|0;a[j>>0]=a[(c[e+9592>>2]|0)+4095>>0]|0;if((i|0)==(b+m+1|0))break;else j=j+2|0}b=b+m+1|0;i=p+-32768-(m<<15)|0;h=h+((m<<1)+2)|0;break}else{i=b;j=h;while(1){i=i+1|0;a[j>>0]=a[(c[e+9592>>2]|0)+4095>>0]|0;if((i|0)==(b+m+1|0))break;else j=j+2|0}b=b+m+1|0;i=p+-32768-(m<<15)|0;h=h+((m<<1)+2)|0;break}if(l<-32768.0){i=b;j=h;while(1){i=i+1|0;a[j>>0]=a[(c[e+9592>>2]|0)+-4096>>0]|0;if((i|0)==(b+m+1|0))break;else j=j+2|0}b=b+m+1|0;i=p+-32768-(m<<15)|0;h=h+((m<<1)+2)|0;break}else{i=p;j=h;while(1){a[j>>0]=a[(c[e+9592>>2]|0)+(~~l<<16>>16>>3)>>0]|0;i=i+-32768|0;if((i|0)<=32767)break;else j=j+2|0}i=p+-32768-(m<<15)|0;h=h+((m<<1)+2)|0;break}}else i=p;while(0);q=15;m=i;p=u+(v<<2)+(k<<1<<2)|0;while(1){j=c[e+19360>>2]|0;i=j+m|0;do if((i|0)>=32768){l=-(+g[n+-56>>2]*+g[p+-12>>2]+ +g[n+-60>>2]*+g[p+-8>>2])-(+g[n+-48>>2]*+g[p+-20>>2]+ +g[n+-52>>2]*+g[p+-16>>2])-(+g[n+-40>>2]*+g[p+-28>>2]+ +g[n+-44>>2]*+g[p+-24>>2])-(+g[n+-32>>2]*+g[p+-36>>2]+ +g[n+-36>>2]*+g[p+-32>>2])-(+g[n+-24>>2]*+g[p+-44>>2]+ +g[n+-28>>2]*+g[p+-40>>2])-(+g[n+-16>>2]*+g[p+-52>>2]+ +g[n+-20>>2]*+g[p+-48>>2])-(+g[n+-8>>2]*+g[p+-60>>2]+ +g[n+-12>>2]*+g[p+-56>>2])-(+g[n+-4>>2]*+g[p+-64>>2]+ +g[o>>2]*+g[p+-4>>2]);k=m+-32768+j|0;if(l>32767.0){j=b+1|0;if(l<-32768.0){b=h;while(1){a[b>>0]=a[(c[e+9592>>2]|0)+4095>>0]|0;i=i+-32768|0;if((i|0)<=32767)break;else b=b+2|0}b=j+(k>>>15)|0;i=k-(k>>>15<<15)|0;h=h+2+(k>>>15<<1)|0;break}else{b=h;while(1){a[b>>0]=a[(c[e+9592>>2]|0)+4095>>0]|0;i=i+-32768|0;if((i|0)<=32767)break;else b=b+2|0}b=j+(k>>>15)|0;i=k-(k>>>15<<15)|0;h=h+2+(k>>>15<<1)|0;break}}if(l<-32768.0){j=b+1|0;b=h;while(1){a[b>>0]=a[(c[e+9592>>2]|0)+-4096>>0]|0;i=i+-32768|0;if((i|0)<=32767)break;else b=b+2|0}b=j+(k>>>15)|0;i=k-(k>>>15<<15)|0;h=h+2+(k>>>15<<1)|0;break}else{j=h;while(1){a[j>>0]=a[(c[e+9592>>2]|0)+(~~l<<16>>16>>3)>>0]|0;i=i+-32768|0;if((i|0)<=32767)break;else j=j+2|0}i=k-(k>>>15<<15)|0;h=h+2+(k>>>15<<1)|0;break}}while(0);q=q+-1|0;if(!q)break;else{n=o;o=o+-64|0;m=i;p=p+-128|0}}c[e+19352+(d<<2)>>2]=i;if(!f)return b|0;c[e+27864>>2]=h+(((d|0)!=0)<<31>>31)-(c[e+27856>>2]|0);return b|0}function Uxa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0,i=0,j=0,k=0.0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;f=(c[d+27856>>2]|0)+(c[d+27864>>2]|0)|0;if(c[d+9288>>2]|0)Dxa(a,b,d+9292|0);if(b|0){j=c[d+9272>>2]|0;i=d+9256|0;l=c[d+19356>>2]|0;f=f+4|0}else{j=(c[d+9272>>2]|0)+15&15;c[d+9272>>2]=j;l=c[d+19352>>2]|0;c[d+19356>>2]=l;i=d+9248|0}h=c[i+4>>2]|0;if(!(j&1)){Cxa((c[i>>2]|0)+(j<<2)|0,h+(j<<2)+4|0,a);j=j+1|0}else{t=c[i>>2]|0;Cxa(h+((j+1&15)<<2)|0,t+(j<<2)|0,a);h=t}s=c[d+9284>>2]|0;p=c[d+19360>>2]|0;q=528-j|0;r=h+1024|0;t=496-j|0;a=p+l|0;n=h;o=16;m=s+64+(0-j<<2)|0;while(1){if((a|0)>=32768){k=(+g[n+8>>2]*+g[m+8>>2]+ +g[n>>2]*+g[m>>2]+ +g[n+16>>2]*+g[m+16>>2]+ +g[n+24>>2]*+g[m+24>>2]+ +g[n+32>>2]*+g[m+32>>2]+ +g[n+40>>2]*+g[m+40>>2]+ +g[n+48>>2]*+g[m+48>>2]+ +g[n+56>>2]*+g[m+56>>2]-(+g[n+12>>2]*+g[m+12>>2]+ +g[n+4>>2]*+g[m+4>>2])-(+g[n+28>>2]*+g[m+28>>2]+ +g[n+20>>2]*+g[m+20>>2])-(+g[n+44>>2]*+g[m+44>>2]+ +g[n+36>>2]*+g[m+36>>2])-(+g[n+60>>2]*+g[m+60>>2]+ +g[n+52>>2]*+g[m+52>>2]))*.000030517578125;l=a+-32768|0;i=f;while(1){g[i>>2]=k;a=a+-32768|0;if((a|0)<=32767)break;else i=i+8|0}a=l-(l>>>15<<15)|0;f=f+8+(l>>>15<<1<<2)|0}o=o+-1|0;l=p+a|0;if(!o)break;else{a=l;n=n+64|0;m=m+128|0}}i=h+960|0;if((l|0)>32767){k=(+g[h+1032>>2]*+g[s+(t<<2)+136>>2]+ +g[r>>2]*+g[s+(q<<2)>>2]+ +g[h+1040>>2]*+g[s+(t<<2)+144>>2]+ +g[h+1048>>2]*+g[s+(t<<2)+152>>2]+ +g[h+1056>>2]*+g[s+(t<<2)+160>>2]+ +g[h+1064>>2]*+g[s+(t<<2)+168>>2]+ +g[h+1072>>2]*+g[s+(t<<2)+176>>2]+ +g[h+1080>>2]*+g[s+(t<<2)+184>>2])*.000030517578125;h=l;a=f;while(1){g[a>>2]=k;h=h+-32768|0;if((h|0)<=32767)break;else a=a+8|0}h=l+-32768-((l+-32768|0)>>>15<<15)|0;f=f+(((l+-32768|0)>>>15<<1)+2<<2)|0}else h=l;n=c[d+19360>>2]|0;a=r;l=i;m=15;i=h;j=s+(t<<2)+(j<<1<<2)|0;while(1){h=n+i|0;if((h|0)>=32768){k=(-(+g[a+-56>>2]*+g[j+-12>>2]+ +g[a+-60>>2]*+g[j+-8>>2])-(+g[a+-48>>2]*+g[j+-20>>2]+ +g[a+-52>>2]*+g[j+-16>>2])-(+g[a+-40>>2]*+g[j+-28>>2]+ +g[a+-44>>2]*+g[j+-24>>2])-(+g[a+-32>>2]*+g[j+-36>>2]+ +g[a+-36>>2]*+g[j+-32>>2])-(+g[a+-24>>2]*+g[j+-44>>2]+ +g[a+-28>>2]*+g[j+-40>>2])-(+g[a+-16>>2]*+g[j+-52>>2]+ +g[a+-20>>2]*+g[j+-48>>2])-(+g[a+-8>>2]*+g[j+-60>>2]+ +g[a+-12>>2]*+g[j+-56>>2])-(+g[a+-4>>2]*+g[j+-64>>2]+ +g[l>>2]*+g[j+-4>>2]))*.000030517578125;i=n+-32768+i|0;a=f;while(1){g[a>>2]=k;h=h+-32768|0;if((h|0)<=32767)break;else a=a+8|0}h=i-(i>>>15<<15)|0;f=f+8+(i>>>15<<1<<2)|0}m=m+-1|0;if(!m)break;else{a=l;l=l+-64|0;i=h;j=j+-128|0}}c[d+19352+(b<<2)>>2]=h;if(!e)return 0;c[d+27864>>2]=f+(b|0?-4:0)-(c[d+27856>>2]|0);return 0}function Vxa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0,i=0,j=0,k=0.0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;f=(c[d+27856>>2]|0)+(c[d+27864>>2]|0)|0;if(c[d+9288>>2]|0)Dxa(a,b,d+9292|0);if(b|0){j=c[d+9272>>2]|0;i=d+9256|0;l=c[d+19356>>2]|0;f=f+4|0}else{j=(c[d+9272>>2]|0)+15&15;c[d+9272>>2]=j;l=c[d+19352>>2]|0;c[d+19356>>2]=l;i=d+9248|0}h=c[i+4>>2]|0;if(!(j&1)){Cxa((c[i>>2]|0)+(j<<2)|0,h+(j<<2)+4|0,a);j=j+1|0}else{t=c[i>>2]|0;Cxa(h+((j+1&15)<<2)|0,t+(j<<2)|0,a);h=t}n=c[d+9284>>2]|0;r=c[d+19360>>2]|0;s=n+(528-j<<2)|0;t=n+(496-j<<2)|0;i=r+l|0;p=h;a=0;q=16;n=n+64+(0-j<<2)|0;while(1){do if((i|0)>=32768){k=(+g[p+8>>2]*+g[n+8>>2]+ +g[p>>2]*+g[n>>2]+ +g[p+16>>2]*+g[n+16>>2]+ +g[p+24>>2]*+g[n+24>>2]+ +g[p+32>>2]*+g[n+32>>2]+ +g[p+40>>2]*+g[n+40>>2]+ +g[p+48>>2]*+g[n+48>>2]+ +g[p+56>>2]*+g[n+56>>2]-(+g[p+12>>2]*+g[n+12>>2]+ +g[p+4>>2]*+g[n+4>>2])-(+g[p+28>>2]*+g[n+28>>2]+ +g[p+20>>2]*+g[n+20>>2])-(+g[p+44>>2]*+g[n+44>>2]+ +g[p+36>>2]*+g[n+36>>2])-(+g[p+60>>2]*+g[n+60>>2]+ +g[p+52>>2]*+g[n+52>>2]))*65536.0;m=i+-32768|0;if(k>2147483647.0){l=a+1|0;if(k<-2147483648.0){a=i;i=f;while(1){c[i>>2]=2147483647;a=a+-32768|0;if((a|0)<=32767)break;else i=i+8|0}a=l+(m>>>15)|0;i=m-(m>>>15<<15)|0;f=f+8+(m>>>15<<1<<2)|0;break}else{a=i;i=f;while(1){c[i>>2]=2147483647;a=a+-32768|0;if((a|0)<=32767)break;else i=i+8|0}a=l+(m>>>15)|0;i=m-(m>>>15<<15)|0;f=f+8+(m>>>15<<1<<2)|0;break}}if(!(k<-2147483648.0)){l=f;while(1){c[l>>2]=~~k;i=i+-32768|0;if((i|0)<=32767)break;else l=l+8|0}i=m-(m>>>15<<15)|0;f=f+8+(m>>>15<<1<<2)|0;break}l=a+1|0;a=i;i=f;while(1){c[i>>2]=-2147483648;a=a+-32768|0;if((a|0)<=32767)break;else i=i+8|0}a=l+(m>>>15)|0;i=m-(m>>>15<<15)|0;f=f+8+(m>>>15<<1<<2)|0}while(0);q=q+-1|0;o=r+i|0;if(!q)break;else{i=o;p=p+64|0;n=n+128|0}}l=h+1024|0;n=h+960|0;do if((o|0)>32767){k=(+g[h+1032>>2]*+g[t+136>>2]+ +g[l>>2]*+g[s>>2]+ +g[h+1040>>2]*+g[t+144>>2]+ +g[h+1048>>2]*+g[t+152>>2]+ +g[h+1056>>2]*+g[t+160>>2]+ +g[h+1064>>2]*+g[t+168>>2]+ +g[h+1072>>2]*+g[t+176>>2]+ +g[h+1080>>2]*+g[t+184>>2])*65536.0;m=(o+-32768|0)>>>15;if(k>2147483647.0)if(k<-2147483648.0){h=a;i=f;while(1){c[i>>2]=2147483647;h=h+1|0;if((h|0)==(a+m+1|0))break;else i=i+8|0}a=a+m+1|0;h=o+-32768-(m<<15)|0;f=f+((m<<1)+2<<2)|0;break}else{h=a;i=f;while(1){c[i>>2]=2147483647;h=h+1|0;if((h|0)==(a+m+1|0))break;else i=i+8|0}a=a+m+1|0;h=o+-32768-(m<<15)|0;f=f+((m<<1)+2<<2)|0;break}if(!(k<-2147483648.0)){h=o;i=f;while(1){c[i>>2]=~~k;h=h+-32768|0;if((h|0)<=32767)break;else i=i+8|0}h=o+-32768-(m<<15)|0;f=f+((m<<1)+2<<2)|0;break}h=a;i=f;while(1){c[i>>2]=-2147483648;h=h+1|0;if((h|0)==(a+m+1|0))break;else i=i+8|0}a=a+m+1|0;h=o+-32768-(m<<15)|0;f=f+((m<<1)+2<<2)|0}else h=o;while(0);p=c[d+19360>>2]|0;o=15;i=h;m=t+(j<<1<<2)|0;while(1){h=p+i|0;do if((h|0)>=32768){k=(-(+g[l+-56>>2]*+g[m+-12>>2]+ +g[l+-60>>2]*+g[m+-8>>2])-(+g[l+-48>>2]*+g[m+-20>>2]+ +g[l+-52>>2]*+g[m+-16>>2])-(+g[l+-40>>2]*+g[m+-28>>2]+ +g[l+-44>>2]*+g[m+-24>>2])-(+g[l+-32>>2]*+g[m+-36>>2]+ +g[l+-36>>2]*+g[m+-32>>2])-(+g[l+-24>>2]*+g[m+-44>>2]+ +g[l+-28>>2]*+g[m+-40>>2])-(+g[l+-16>>2]*+g[m+-52>>2]+ +g[l+-20>>2]*+g[m+-48>>2])-(+g[l+-8>>2]*+g[m+-60>>2]+ +g[l+-12>>2]*+g[m+-56>>2])-(+g[l+-4>>2]*+g[m+-64>>2]+ +g[n>>2]*+g[m+-4>>2]))*65536.0;j=p+-32768+i|0;if(k>2147483647.0){i=a+1|0;if(k<-2147483648.0){a=f;while(1){c[a>>2]=2147483647;h=h+-32768|0;if((h|0)<=32767)break;else a=a+8|0}a=i+(j>>>15)|0;h=j-(j>>>15<<15)|0;f=f+8+(j>>>15<<1<<2)|0;break}else{a=f;while(1){c[a>>2]=2147483647;h=h+-32768|0;if((h|0)<=32767)break;else a=a+8|0}a=i+(j>>>15)|0;h=j-(j>>>15<<15)|0;f=f+8+(j>>>15<<1<<2)|0;break}}if(!(k<-2147483648.0)){i=f;while(1){c[i>>2]=~~k;h=h+-32768|0;if((h|0)<=32767)break;else i=i+8|0}h=j-(j>>>15<<15)|0;f=f+8+(j>>>15<<1<<2)|0;break}i=a+1|0;a=f;while(1){c[a>>2]=-2147483648;h=h+-32768|0;if((h|0)<=32767)break;else a=a+8|0}a=i+(j>>>15)|0;h=j-(j>>>15<<15)|0;f=f+8+(j>>>15<<1<<2)|0}while(0);o=o+-1|0;if(!o)break;else{l=n;n=n+-64|0;i=h;m=m+-128|0}}c[d+19352+(b<<2)>>2]=h;if(!e)return a|0;c[d+27864>>2]=f+(b|0?-4:0)-(c[d+27856>>2]|0);return a|0}function Wxa(b){b=b|0;var d=0,e=0,f=0.0,g=0,h=0;h=i;i=i+32|0;d=c[b+27876>>2]|0;do if(!(c[b+9588>>2]|0)){e=Vpb(8192)|0;c[b+9588>>2]=e;if(e|0){c[b+9592>>2]=e+4096;break}c[b+28376>>2]=4;if(c[b+28068>>2]&32|0){b=-1;i=h;return b|0}b=c[37151]|0;c[h>>2]=253;oob(b,512092,h)|0;b=-1;i=h;return b|0}while(0);switch(d|0){case 4:{e=c[37151]|0;g=-4096;do{f=+(g|0)*.062255859375;if((g|0)<0)d=127-~~(+Y(+(1.0-f))*22.902783774112294)|0;else d=255-~~(+Y(+(f+1.0))*22.902783774112294)|0;if(d>>>0>255)if(!(c[b+28068>>2]&32)){c[h+8>>2]=269;c[h+8+4>>2]=g;c[h+8+8>>2]=d;oob(e,512155,h+8|0)|0}a[(c[b+9592>>2]|0)+g>>0]=(d|0)==0?2:d&255;g=g+1|0}while((g|0)!=4096);d=0;i=h;return d|0}case 130:{d=-4096;do{a[(c[b+9592>>2]|0)+d>>0]=d>>>5;d=d+1|0}while((d|0)!=4096);d=0;i=h;return d|0}case 1:{d=-4096;do{a[(c[b+9592>>2]|0)+d>>0]=(d>>>5)+128;d=d+1|0}while((d|0)!=4096);d=0;i=h;return d|0}default:{d=-4096;do{a[(c[b+9592>>2]|0)+d>>0]=0;d=d+1|0}while((d|0)!=4096);d=0;i=h;return d|0}}return 0}function Xxa(a,b){a=a|0;b=b|0;return +(+Gnb(+(b+210|0)*-.25))}function Yxa(a,b){a=a|0;b=b|0;var d=0,f=0,h=0,i=0;d=-256;do{g[a+10928+(d+256<<2)>>2]=+_i[b&15](a,d);d=d+1|0}while((d|0)!=122);d=0;do{b=0;do{i=(((e[160188+(d*110|0)+(b<<1)>>1]|0)+7|0)>>>0)/18|0;f=a+9596+(d*92|0)+(b<<2)|0;c[f>>2]=i+1;h=c[a+19668>>2]|0;c[f>>2]=(i|0)<(h|0)?i+1|0:h;b=b+1|0}while((b|0)!=23);b=0;do{f=((e[160188+(d*110|0)+68+(b<<1)>>1]|0)+-1|0)/18|0;i=a+10424+(d*56|0)+(b<<2)|0;c[i>>2]=f+1;h=c[a+19668>>2]|0;c[i>>2]=(f|0)<(h|0)?f+1|0:h;b=b+1|0}while((b|0)!=14);d=d+1|0}while((d|0)!=9);return}function Zxa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0;d=+h[3024+(c<<3)>>3];a=b;c=0;e=3;while(1){g[a>>2]=+Gnb(+(e|0)*.3333333333333333)*d;c=c+1|0;if((c|0)==63)break;else{a=a+4|0;e=e+-1|0}}return b+252|0}function _xa(a,b){a=a|0;b=b|0;var c=0;c=0;do{g[(Gi[b&255](a,a+12440+(c<<8)|0,c)|0)>>2]=0.0;c=c+1|0}while((c|0)!=27);return}function $xa(a){a=a|0;var b=0.0,d=0,e=0,f=0,i=0.0,j=0;b=+h[a+19808>>3];if(b<0.0)b=+h[a+28344>>3];d=0;e=0;b=b*-.5;do{if((d|0)<528){i=+(c[35568+(e<<2)>>2]|0)*b;f=c[a+9284>>2]|0;g[f+(d<<2)>>2]=i;g[f+(d+16<<2)>>2]=i}b=((e|0)%64|0|0)==63?-b:b;d=(((e|0)%32|0|0)==31?d+-1023|0:d)+32|0;e=e+1|0}while((e|0)!=256);f=256;e=256;while(1){if((d|0)<528){i=+(c[35568+(e<<2)>>2]|0)*b;j=c[a+9284>>2]|0;g[j+(d<<2)>>2]=i;g[j+(d+16<<2)>>2]=i}b=((f|0)%64|0|0)==63?-b:b;j=f;f=f+1|0;d=(((j|0)%32|0|0)==31?d+-1023|0:d)+32|0;if((f|0)==512)break;else e=e+-1|0}return}function aya(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;e=i;i=i+32|0;b=bya(b)|0;mBb(a+19364|0,36596,256)|0;if(b>>>0>1)if(!(c[a+28068>>2]&32)){f=c[37151]|0;c[e>>2]=460;c[e+4>>2]=b;c[e+8>>2]=1;oob(f,512346,e)|0;b=(c[a+19364>>2]|0)==16;c[a+19620>>2]=1;c[a+19624>>2]=1;if(!b){c[a+19368>>2]=78;c[a+19560>>2]=349;c[a+19496>>2]=350}}else d=3;else d=3;if((d|0)==3){c[a+19620>>2]=1;c[a+19624>>2]=1}if(c[a+28068>>2]&32|0){i=e;return 1}if(!(c[a+28064>>2]|0)){i=e;return 1}f=c[37151]|0;c[e+16>>2]=594910;oob(f,512413,e+16|0)|0;i=e;return 1}function bya(b){b=b|0;if(!b)b=0;else if(!(a[b>>0]|0))b=0;else if(!(tnb(b,512252)|0))b=0;else if(!(tnb(b,594910)|0))b=1;else if(!(tnb(b,512257)|0))b=2;else if(!(tnb(b,512272)|0))b=3;else if(!(tnb(b,512277)|0))b=4;else if(!(tnb(b,512282)|0))b=5;else if(!(tnb(b,512287)|0))b=6;else if(!(tnb(b,512299)|0))b=7;else if(!(tnb(b,512303)|0))b=8;else if(!(tnb(b,512309)|0))b=9;else if(!(tnb(b,512318)|0))b=10;else if(!(tnb(b,512326)|0))b=11;else if(!(tnb(b,512330)|0))b=12;else if(!(tnb(b,512337)|0))b=13;else{b=(tnb(b,512341)|0)==0;return (b?14:15)|0}return b|0}function cya(a,b,d){a=a|0;b=b|0;d=d|0;a=cj[c[d+19636>>2]&127](a,0,d,0)|0;return (cj[c[d+19636>>2]&127](b,1,d,1)|0)+a|0}function dya(a,d){a=a|0;d=d|0;var e=0;e=c[d+27856>>2]|0;a=cj[c[d+19364>>2]&127](a,0,d,1)|0;d=e+((c[d+27864>>2]|0)+-128)|0;b[d+2>>1]=b[d>>1]|0;b[d+4+2>>1]=b[d+4>>1]|0;b[d+4+4+2>>1]=b[d+4+4>>1]|0;d=d+4+4+4|0;b[d+2>>1]=b[d>>1]|0;b[d+4+2>>1]=b[d+4>>1]|0;b[d+4+4+2>>1]=b[d+4+4>>1]|0;d=d+4+4+4|0;b[d+2>>1]=b[d>>1]|0;b[d+4+2>>1]=b[d+4>>1]|0;b[d+4+4+2>>1]=b[d+4+4>>1]|0;d=d+4+4+4|0;b[d+2>>1]=b[d>>1]|0;b[d+4+2>>1]=b[d+4>>1]|0;b[d+4+4+2>>1]=b[d+4+4>>1]|0;d=d+4+4+4|0;b[d+2>>1]=b[d>>1]|0;b[d+4+2>>1]=b[d+4>>1]|0;b[d+4+4+2>>1]=b[d+4+4>>1]|0;d=d+4+4+4|0;b[d+2>>1]=b[d>>1]|0;b[d+4+2>>1]=b[d+4>>1]|0;b[d+4+4+2>>1]=b[d+4+4>>1]|0;d=d+4+4+4|0;b[d+2>>1]=b[d>>1]|0;b[d+4+2>>1]=b[d+4>>1]|0;b[d+4+4+2>>1]=b[d+4+4>>1]|0;d=d+4+4+4|0;b[d+2>>1]=b[d>>1]|0;b[d+4+2>>1]=b[d+4>>1]|0;b[d+4+4+2>>1]=b[d+4+4>>1]|0;d=d+4+4+4|0;b[d+2>>1]=b[d>>1]|0;b[d+4+2>>1]=b[d+4>>1]|0;b[d+4+4+2>>1]=b[d+4+4>>1]|0;d=d+4+4+4|0;b[d+2>>1]=b[d>>1]|0;b[d+4+2>>1]=b[d+4>>1]|0;b[d+4+4+2>>1]=b[d+4+4>>1]|0;d=d+4+4+4|0;b[d+2>>1]=b[d>>1]|0;b[d+4+2>>1]=b[d+4>>1]|0;return a|0}function eya(b,d){b=b|0;d=d|0;var e=0;e=c[d+27856>>2]|0;b=cj[c[d+19368>>2]&127](b,0,d,1)|0;d=e+((c[d+27864>>2]|0)+-64)|0;a[d+1>>0]=a[d>>0]|0;a[d+2+1>>0]=a[d+2>>0]|0;a[d+2+2+1>>0]=a[d+2+2>>0]|0;d=d+2+2+2|0;a[d+1>>0]=a[d>>0]|0;a[d+2+1>>0]=a[d+2>>0]|0;a[d+2+2+1>>0]=a[d+2+2>>0]|0;d=d+2+2+2|0;a[d+1>>0]=a[d>>0]|0;a[d+2+1>>0]=a[d+2>>0]|0;a[d+2+2+1>>0]=a[d+2+2>>0]|0;d=d+2+2+2|0;a[d+1>>0]=a[d>>0]|0;a[d+2+1>>0]=a[d+2>>0]|0;a[d+2+2+1>>0]=a[d+2+2>>0]|0;d=d+2+2+2|0;a[d+1>>0]=a[d>>0]|0;a[d+2+1>>0]=a[d+2>>0]|0;a[d+2+2+1>>0]=a[d+2+2>>0]|0;d=d+2+2+2|0;a[d+1>>0]=a[d>>0]|0;a[d+2+1>>0]=a[d+2>>0]|0;a[d+2+2+1>>0]=a[d+2+2>>0]|0;d=d+2+2+2|0;a[d+1>>0]=a[d>>0]|0;a[d+2+1>>0]=a[d+2>>0]|0;a[d+2+2+1>>0]=a[d+2+2>>0]|0;d=d+2+2+2|0;a[d+1>>0]=a[d>>0]|0;a[d+2+1>>0]=a[d+2>>0]|0;a[d+2+2+1>>0]=a[d+2+2>>0]|0;d=d+2+2+2|0;a[d+1>>0]=a[d>>0]|0;a[d+2+1>>0]=a[d+2>>0]|0;a[d+2+2+1>>0]=a[d+2+2>>0]|0;d=d+2+2+2|0;a[d+1>>0]=a[d>>0]|0;a[d+2+1>>0]=a[d+2>>0]|0;a[d+2+2+1>>0]=a[d+2+2>>0]|0;d=d+2+2+2|0;a[d+1>>0]=a[d>>0]|0;a[d+2+1>>0]=a[d+2>>0]|0;return b|0}function fya(a,b){a=a|0;b=b|0;var d=0;d=c[b+27856>>2]|0;a=cj[c[b+19372>>2]&127](a,0,b,1)|0;b=d+((c[b+27864>>2]|0)+-256)|0;c[b+4>>2]=c[b>>2];c[b+8+4>>2]=c[b+8>>2];c[b+8+8+4>>2]=c[b+8+8>>2];b=b+8+8+8|0;c[b+4>>2]=c[b>>2];c[b+8+4>>2]=c[b+8>>2];c[b+8+8+4>>2]=c[b+8+8>>2];b=b+8+8+8|0;c[b+4>>2]=c[b>>2];c[b+8+4>>2]=c[b+8>>2];c[b+8+8+4>>2]=c[b+8+8>>2];b=b+8+8+8|0;c[b+4>>2]=c[b>>2];c[b+8+4>>2]=c[b+8>>2];c[b+8+8+4>>2]=c[b+8+8>>2];b=b+8+8+8|0;c[b+4>>2]=c[b>>2];c[b+8+4>>2]=c[b+8>>2];c[b+8+8+4>>2]=c[b+8+8>>2];b=b+8+8+8|0;c[b+4>>2]=c[b>>2];c[b+8+4>>2]=c[b+8>>2];c[b+8+8+4>>2]=c[b+8+8>>2];b=b+8+8+8|0;c[b+4>>2]=c[b>>2];c[b+8+4>>2]=c[b+8>>2];c[b+8+8+4>>2]=c[b+8+8>>2];b=b+8+8+8|0;c[b+4>>2]=c[b>>2];c[b+8+4>>2]=c[b+8>>2];c[b+8+8+4>>2]=c[b+8+8>>2];b=b+8+8+8|0;c[b+4>>2]=c[b>>2];c[b+8+4>>2]=c[b+8>>2];c[b+8+8+4>>2]=c[b+8+8>>2];b=b+8+8+8|0;c[b+4>>2]=c[b>>2];c[b+8+4>>2]=c[b+8>>2];c[b+8+8+4>>2]=c[b+8+8>>2];b=b+8+8+8|0;c[b+4>>2]=c[b>>2];c[b+8+4>>2]=c[b+8>>2];return a|0}function gya(a,b){a=a|0;b=b|0;var d=0;d=c[b+27856>>2]|0;a=cj[c[b+19376>>2]&127](a,0,b,1)|0;b=d+((c[b+27864>>2]|0)+-256)|0;c[b+4>>2]=c[b>>2];c[b+8+4>>2]=c[b+8>>2];c[b+8+8+4>>2]=c[b+8+8>>2];b=b+8+8+8|0;c[b+4>>2]=c[b>>2];c[b+8+4>>2]=c[b+8>>2];c[b+8+8+4>>2]=c[b+8+8>>2];b=b+8+8+8|0;c[b+4>>2]=c[b>>2];c[b+8+4>>2]=c[b+8>>2];c[b+8+8+4>>2]=c[b+8+8>>2];b=b+8+8+8|0;c[b+4>>2]=c[b>>2];c[b+8+4>>2]=c[b+8>>2];c[b+8+8+4>>2]=c[b+8+8>>2];b=b+8+8+8|0;c[b+4>>2]=c[b>>2];c[b+8+4>>2]=c[b+8>>2];c[b+8+8+4>>2]=c[b+8+8>>2];b=b+8+8+8|0;c[b+4>>2]=c[b>>2];c[b+8+4>>2]=c[b+8>>2];c[b+8+8+4>>2]=c[b+8+8>>2];b=b+8+8+8|0;c[b+4>>2]=c[b>>2];c[b+8+4>>2]=c[b+8>>2];c[b+8+8+4>>2]=c[b+8+8>>2];b=b+8+8+8|0;c[b+4>>2]=c[b>>2];c[b+8+4>>2]=c[b+8>>2];c[b+8+8+4>>2]=c[b+8+8>>2];b=b+8+8+8|0;c[b+4>>2]=c[b>>2];c[b+8+4>>2]=c[b+8>>2];c[b+8+8+4>>2]=c[b+8+8>>2];b=b+8+8+8|0;c[b+4>>2]=c[b>>2];c[b+8+4>>2]=c[b+8>>2];c[b+8+8+4>>2]=c[b+8+8>>2];b=b+8+8+8|0;c[b+4>>2]=c[b>>2];c[b+8+4>>2]=c[b+8>>2];return a|0}function hya(a,d){a=a|0;d=d|0;var e=0;e=c[d+27856>>2]|0;a=cj[c[d+19380>>2]&127](a,0,d,1)|0;d=e+((c[d+27864>>2]|0)+-64)|0;b[d+2>>1]=b[d>>1]|0;b[d+4+2>>1]=b[d+4>>1]|0;b[d+4+4+2>>1]=b[d+4+4>>1]|0;d=d+4+4+4|0;b[d+2>>1]=b[d>>1]|0;b[d+4+2>>1]=b[d+4>>1]|0;b[d+4+4+2>>1]=b[d+4+4>>1]|0;d=d+4+4+4|0;b[d+2>>1]=b[d>>1]|0;b[d+4+2>>1]=b[d+4>>1]|0;b[d+4+4+2>>1]=b[d+4+4>>1]|0;d=d+4+4+4|0;b[d+2>>1]=b[d>>1]|0;b[d+4+2>>1]=b[d+4>>1]|0;b[d+4+4+2>>1]=b[d+4+4>>1]|0;d=d+4+4+4|0;b[d+2>>1]=b[d>>1]|0;b[d+4+2>>1]=b[d+4>>1]|0;b[d+4+4+2>>1]=b[d+4+4>>1]|0;b[d+4+4+4+2>>1]=b[d+4+4+4>>1]|0;return a|0}function iya(b,d){b=b|0;d=d|0;var e=0;e=c[d+27856>>2]|0;b=cj[c[d+19384>>2]&127](b,0,d,1)|0;d=e+((c[d+27864>>2]|0)+-32)|0;a[d+1>>0]=a[d>>0]|0;a[d+2+1>>0]=a[d+2>>0]|0;a[d+2+2+1>>0]=a[d+2+2>>0]|0;d=d+2+2+2|0;a[d+1>>0]=a[d>>0]|0;a[d+2+1>>0]=a[d+2>>0]|0;a[d+2+2+1>>0]=a[d+2+2>>0]|0;d=d+2+2+2|0;a[d+1>>0]=a[d>>0]|0;a[d+2+1>>0]=a[d+2>>0]|0;a[d+2+2+1>>0]=a[d+2+2>>0]|0;d=d+2+2+2|0;a[d+1>>0]=a[d>>0]|0;a[d+2+1>>0]=a[d+2>>0]|0;a[d+2+2+1>>0]=a[d+2+2>>0]|0;d=d+2+2+2|0;a[d+1>>0]=a[d>>0]|0;a[d+2+1>>0]=a[d+2>>0]|0;a[d+2+2+1>>0]=a[d+2+2>>0]|0;a[d+2+2+2+1>>0]=a[d+2+2+2>>0]|0;return b|0}function jya(a,b){a=a|0;b=b|0;var d=0;d=c[b+27856>>2]|0;a=cj[c[b+19388>>2]&127](a,0,b,1)|0;b=d+((c[b+27864>>2]|0)+-128)|0;c[b+4>>2]=c[b>>2];c[b+8+4>>2]=c[b+8>>2];c[b+8+8+4>>2]=c[b+8+8>>2];b=b+8+8+8|0;c[b+4>>2]=c[b>>2];c[b+8+4>>2]=c[b+8>>2];c[b+8+8+4>>2]=c[b+8+8>>2];b=b+8+8+8|0;c[b+4>>2]=c[b>>2];c[b+8+4>>2]=c[b+8>>2];c[b+8+8+4>>2]=c[b+8+8>>2];b=b+8+8+8|0;c[b+4>>2]=c[b>>2];c[b+8+4>>2]=c[b+8>>2];c[b+8+8+4>>2]=c[b+8+8>>2];b=b+8+8+8|0;c[b+4>>2]=c[b>>2];c[b+8+4>>2]=c[b+8>>2];c[b+8+8+4>>2]=c[b+8+8>>2];c[b+8+8+8+4>>2]=c[b+8+8+8>>2];return a|0}function kya(a,b){a=a|0;b=b|0;var d=0;d=c[b+27856>>2]|0;a=cj[c[b+19392>>2]&127](a,0,b,1)|0;b=d+((c[b+27864>>2]|0)+-128)|0;c[b+4>>2]=c[b>>2];c[b+8+4>>2]=c[b+8>>2];c[b+8+8+4>>2]=c[b+8+8>>2];b=b+8+8+8|0;c[b+4>>2]=c[b>>2];c[b+8+4>>2]=c[b+8>>2];c[b+8+8+4>>2]=c[b+8+8>>2];b=b+8+8+8|0;c[b+4>>2]=c[b>>2];c[b+8+4>>2]=c[b+8>>2];c[b+8+8+4>>2]=c[b+8+8>>2];b=b+8+8+8|0;c[b+4>>2]=c[b>>2];c[b+8+4>>2]=c[b+8>>2];c[b+8+8+4>>2]=c[b+8+8>>2];b=b+8+8+8|0;c[b+4>>2]=c[b>>2];c[b+8+4>>2]=c[b+8>>2];c[b+8+8+4>>2]=c[b+8+8>>2];c[b+8+8+8+4>>2]=c[b+8+8+8>>2];return a|0}function lya(a,d){a=a|0;d=d|0;var e=0;e=c[d+27856>>2]|0;a=cj[c[d+19396>>2]&127](a,0,d,1)|0;d=e+((c[d+27864>>2]|0)+-32)|0;b[d+2>>1]=b[d>>1]|0;b[d+4+2>>1]=b[d+4>>1]|0;b[d+4+4+2>>1]=b[d+4+4>>1]|0;d=d+4+4+4|0;b[d+2>>1]=b[d>>1]|0;b[d+4+2>>1]=b[d+4>>1]|0;b[d+4+4+2>>1]=b[d+4+4>>1]|0;d=d+4+4+4|0;b[d+2>>1]=b[d>>1]|0;b[d+4+2>>1]=b[d+4>>1]|0;return a|0}function mya(b,d){b=b|0;d=d|0;var e=0;e=c[d+27856>>2]|0;b=cj[c[d+19400>>2]&127](b,0,d,1)|0;d=e+((c[d+27864>>2]|0)+-16)|0;a[d+1>>0]=a[d>>0]|0;a[d+2+1>>0]=a[d+2>>0]|0;a[d+2+2+1>>0]=a[d+2+2>>0]|0;d=d+2+2+2|0;a[d+1>>0]=a[d>>0]|0;a[d+2+1>>0]=a[d+2>>0]|0;a[d+2+2+1>>0]=a[d+2+2>>0]|0;d=d+2+2+2|0;a[d+1>>0]=a[d>>0]|0;a[d+2+1>>0]=a[d+2>>0]|0;return b|0}function nya(a,b){a=a|0;b=b|0;var d=0;d=c[b+27856>>2]|0;a=cj[c[b+19404>>2]&127](a,0,b,1)|0;b=d+((c[b+27864>>2]|0)+-64)|0;c[b+4>>2]=c[b>>2];c[b+8+4>>2]=c[b+8>>2];c[b+8+8+4>>2]=c[b+8+8>>2];b=b+8+8+8|0;c[b+4>>2]=c[b>>2];c[b+8+4>>2]=c[b+8>>2];c[b+8+8+4>>2]=c[b+8+8>>2];b=b+8+8+8|0;c[b+4>>2]=c[b>>2];c[b+8+4>>2]=c[b+8>>2];return a|0}function oya(a,b){a=a|0;b=b|0;var d=0;d=c[b+27856>>2]|0;a=cj[c[b+19408>>2]&127](a,0,b,1)|0;b=d+((c[b+27864>>2]|0)+-64)|0;c[b+4>>2]=c[b>>2];c[b+8+4>>2]=c[b+8>>2];c[b+8+8+4>>2]=c[b+8+8>>2];b=b+8+8+8|0;c[b+4>>2]=c[b>>2];c[b+8+4>>2]=c[b+8>>2];c[b+8+8+4>>2]=c[b+8+8>>2];b=b+8+8+8|0;c[b+4>>2]=c[b>>2];c[b+8+4>>2]=c[b+8>>2];return a|0}function pya(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0;f=c[d+27864>>2]|0;g=c[d+27856>>2]|0;h=Sxa(a,0,d,1)|0;d=(c[d+27864>>2]|0)-f|0;if(d>>>0<=3)return h|0;e=0;a=g+f|0;while(1){b[a+2>>1]=b[a>>1]|0;e=e+1|0;if(e>>>0>=d>>>2>>>0)break;else a=a+4|0}return h|0}function qya(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=c[d+27864>>2]|0;e=c[d+27856>>2]|0;f=Txa(b,0,d,1)|0;if(((c[d+27864>>2]|0)-h|0)>>>0<=1)return f|0;g=0;b=e+h|0;while(1){a[b+1>>0]=a[b>>0]|0;g=g+1|0;if(g>>>0>=((c[d+27864>>2]|0)-h|0)>>>1>>>0)break;else b=b+2|0}return f|0}function rya(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;e=c[b+27864>>2]|0;f=c[b+27856>>2]|0;Uxa(a,0,b,1)|0;b=(c[b+27864>>2]|0)-e|0;if(b>>>0<=7)return 0;d=0;a=f+e|0;while(1){c[a+4>>2]=c[a>>2];d=d+1|0;if(d>>>0>=b>>>3>>>0)break;else a=a+8|0}return 0}function sya(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=c[b+27864>>2]|0;d=c[b+27856>>2]|0;e=Vxa(a,0,b,1)|0;if(((c[b+27864>>2]|0)-g|0)>>>0<=7)return e|0;f=0;a=d+g|0;while(1){c[a+4>>2]=c[a>>2];f=f+1|0;if(f>>>0>=((c[b+27864>>2]|0)-g|0)>>>3>>>0)break;else a=a+8|0}return e|0}function tya(a,d){a=a|0;d=d|0;var e=0,f=0,g=0;e=i;i=i+128|0;g=c[d+27856>>2]|0;f=c[d+27864>>2]|0;c[d+27856>>2]=e;c[d+27864>>2]=0;a=cj[c[d+19364>>2]&127](a,0,d,0)|0;c[d+27856>>2]=g;b[g+f>>1]=b[e>>1]|0;b[g+f+2>>1]=b[e+4>>1]|0;b[g+f+2+2>>1]=b[e+8>>1]|0;b[g+f+2+2+2>>1]=b[e+12>>1]|0;g=g+f+2+2+2+2|0;b[g>>1]=b[e+16>>1]|0;b[g+2>>1]=b[e+20>>1]|0;b[g+2+2>>1]=b[e+24>>1]|0;b[g+2+2+2>>1]=b[e+28>>1]|0;b[g+2+2+2+2>>1]=b[e+32>>1]|0;g=g+2+2+2+2+2|0;b[g>>1]=b[e+36>>1]|0;b[g+2>>1]=b[e+40>>1]|0;b[g+2+2>>1]=b[e+44>>1]|0;b[g+2+2+2>>1]=b[e+48>>1]|0;b[g+2+2+2+2>>1]=b[e+52>>1]|0;g=g+2+2+2+2+2|0;b[g>>1]=b[e+56>>1]|0;b[g+2>>1]=b[e+60>>1]|0;b[g+2+2>>1]=b[e+64>>1]|0;b[g+2+2+2>>1]=b[e+68>>1]|0;b[g+2+2+2+2>>1]=b[e+72>>1]|0;g=g+2+2+2+2+2|0;b[g>>1]=b[e+76>>1]|0;b[g+2>>1]=b[e+80>>1]|0;b[g+2+2>>1]=b[e+84>>1]|0;b[g+2+2+2>>1]=b[e+88>>1]|0;b[g+2+2+2+2>>1]=b[e+92>>1]|0;g=g+2+2+2+2+2|0;b[g>>1]=b[e+96>>1]|0;b[g+2>>1]=b[e+100>>1]|0;b[g+2+2>>1]=b[e+104>>1]|0;b[g+2+2+2>>1]=b[e+108>>1]|0;b[g+2+2+2+2>>1]=b[e+112>>1]|0;g=g+2+2+2+2+2|0;b[g>>1]=b[e+116>>1]|0;b[g+2>>1]=b[e+120>>1]|0;b[g+2+2>>1]=b[e+124>>1]|0;c[d+27864>>2]=f+64;i=e;return a|0}function uya(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;e=i;i=i+64|0;g=c[d+27856>>2]|0;f=c[d+27864>>2]|0;c[d+27856>>2]=e;c[d+27864>>2]=0;b=cj[c[d+19368>>2]&127](b,0,d,0)|0;c[d+27856>>2]=g;a[g+f>>0]=a[e>>0]|0;a[g+f+1>>0]=a[e+2>>0]|0;a[g+f+1+1>>0]=a[e+4>>0]|0;a[g+f+1+1+1>>0]=a[e+6>>0]|0;g=g+f+1+1+1+1|0;a[g>>0]=a[e+8>>0]|0;a[g+1>>0]=a[e+10>>0]|0;a[g+1+1>>0]=a[e+12>>0]|0;a[g+1+1+1>>0]=a[e+14>>0]|0;a[g+1+1+1+1>>0]=a[e+16>>0]|0;g=g+1+1+1+1+1|0;a[g>>0]=a[e+18>>0]|0;a[g+1>>0]=a[e+20>>0]|0;a[g+1+1>>0]=a[e+22>>0]|0;a[g+1+1+1>>0]=a[e+24>>0]|0;a[g+1+1+1+1>>0]=a[e+26>>0]|0;g=g+1+1+1+1+1|0;a[g>>0]=a[e+28>>0]|0;a[g+1>>0]=a[e+30>>0]|0;a[g+1+1>>0]=a[e+32>>0]|0;a[g+1+1+1>>0]=a[e+34>>0]|0;a[g+1+1+1+1>>0]=a[e+36>>0]|0;g=g+1+1+1+1+1|0;a[g>>0]=a[e+38>>0]|0;a[g+1>>0]=a[e+40>>0]|0;a[g+1+1>>0]=a[e+42>>0]|0;a[g+1+1+1>>0]=a[e+44>>0]|0;a[g+1+1+1+1>>0]=a[e+46>>0]|0;g=g+1+1+1+1+1|0;a[g>>0]=a[e+48>>0]|0;a[g+1>>0]=a[e+50>>0]|0;a[g+1+1>>0]=a[e+52>>0]|0;a[g+1+1+1>>0]=a[e+54>>0]|0;a[g+1+1+1+1>>0]=a[e+56>>0]|0;g=g+1+1+1+1+1|0;a[g>>0]=a[e+58>>0]|0;a[g+1>>0]=a[e+60>>0]|0;a[g+1+1>>0]=a[e+62>>0]|0;c[d+27864>>2]=f+32;i=e;return b|0}function vya(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=i;i=i+256|0;f=c[b+27856>>2]|0;e=c[b+27864>>2]|0;c[b+27856>>2]=d;c[b+27864>>2]=0;a=cj[c[b+19372>>2]&127](a,0,b,0)|0;c[b+27856>>2]=f;c[f+e>>2]=c[d>>2];c[f+e+4>>2]=c[d+8>>2];c[f+e+4+4>>2]=c[d+16>>2];c[f+e+4+4+4>>2]=c[d+24>>2];f=f+e+4+4+4+4|0;c[f>>2]=c[d+32>>2];c[f+4>>2]=c[d+40>>2];c[f+4+4>>2]=c[d+48>>2];c[f+4+4+4>>2]=c[d+56>>2];c[f+4+4+4+4>>2]=c[d+64>>2];f=f+4+4+4+4+4|0;c[f>>2]=c[d+72>>2];c[f+4>>2]=c[d+80>>2];c[f+4+4>>2]=c[d+88>>2];c[f+4+4+4>>2]=c[d+96>>2];c[f+4+4+4+4>>2]=c[d+104>>2];f=f+4+4+4+4+4|0;c[f>>2]=c[d+112>>2];c[f+4>>2]=c[d+120>>2];c[f+4+4>>2]=c[d+128>>2];c[f+4+4+4>>2]=c[d+136>>2];c[f+4+4+4+4>>2]=c[d+144>>2];f=f+4+4+4+4+4|0;c[f>>2]=c[d+152>>2];c[f+4>>2]=c[d+160>>2];c[f+4+4>>2]=c[d+168>>2];c[f+4+4+4>>2]=c[d+176>>2];c[f+4+4+4+4>>2]=c[d+184>>2];f=f+4+4+4+4+4|0;c[f>>2]=c[d+192>>2];c[f+4>>2]=c[d+200>>2];c[f+4+4>>2]=c[d+208>>2];c[f+4+4+4>>2]=c[d+216>>2];c[f+4+4+4+4>>2]=c[d+224>>2];f=f+4+4+4+4+4|0;c[f>>2]=c[d+232>>2];c[f+4>>2]=c[d+240>>2];c[f+4+4>>2]=c[d+248>>2];c[b+27864>>2]=e+128;i=d;return a|0}function wya(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=i;i=i+256|0;f=c[b+27856>>2]|0;e=c[b+27864>>2]|0;c[b+27856>>2]=d;c[b+27864>>2]=0;a=cj[c[b+19376>>2]&127](a,0,b,0)|0;c[b+27856>>2]=f;c[f+e>>2]=c[d>>2];c[f+e+4>>2]=c[d+8>>2];c[f+e+4+4>>2]=c[d+16>>2];c[f+e+4+4+4>>2]=c[d+24>>2];f=f+e+4+4+4+4|0;c[f>>2]=c[d+32>>2];c[f+4>>2]=c[d+40>>2];c[f+4+4>>2]=c[d+48>>2];c[f+4+4+4>>2]=c[d+56>>2];c[f+4+4+4+4>>2]=c[d+64>>2];f=f+4+4+4+4+4|0;c[f>>2]=c[d+72>>2];c[f+4>>2]=c[d+80>>2];c[f+4+4>>2]=c[d+88>>2];c[f+4+4+4>>2]=c[d+96>>2];c[f+4+4+4+4>>2]=c[d+104>>2];f=f+4+4+4+4+4|0;c[f>>2]=c[d+112>>2];c[f+4>>2]=c[d+120>>2];c[f+4+4>>2]=c[d+128>>2];c[f+4+4+4>>2]=c[d+136>>2];c[f+4+4+4+4>>2]=c[d+144>>2];f=f+4+4+4+4+4|0;c[f>>2]=c[d+152>>2];c[f+4>>2]=c[d+160>>2];c[f+4+4>>2]=c[d+168>>2];c[f+4+4+4>>2]=c[d+176>>2];c[f+4+4+4+4>>2]=c[d+184>>2];f=f+4+4+4+4+4|0;c[f>>2]=c[d+192>>2];c[f+4>>2]=c[d+200>>2];c[f+4+4>>2]=c[d+208>>2];c[f+4+4+4>>2]=c[d+216>>2];c[f+4+4+4+4>>2]=c[d+224>>2];f=f+4+4+4+4+4|0;c[f>>2]=c[d+232>>2];c[f+4>>2]=c[d+240>>2];c[f+4+4>>2]=c[d+248>>2];c[b+27864>>2]=e+128;i=d;return a|0}function xya(a,d){a=a|0;d=d|0;var e=0,f=0,g=0;e=i;i=i+64|0;g=c[d+27856>>2]|0;f=c[d+27864>>2]|0;c[d+27856>>2]=e;c[d+27864>>2]=0;a=cj[c[d+19380>>2]&127](a,0,d,0)|0;c[d+27856>>2]=g;b[g+f>>1]=b[e>>1]|0;b[g+f+2>>1]=b[e+4>>1]|0;b[g+f+2+2>>1]=b[e+8>>1]|0;b[g+f+2+2+2>>1]=b[e+12>>1]|0;g=g+f+2+2+2+2|0;b[g>>1]=b[e+16>>1]|0;b[g+2>>1]=b[e+20>>1]|0;b[g+2+2>>1]=b[e+24>>1]|0;b[g+2+2+2>>1]=b[e+28>>1]|0;b[g+2+2+2+2>>1]=b[e+32>>1]|0;g=g+2+2+2+2+2|0;b[g>>1]=b[e+36>>1]|0;b[g+2>>1]=b[e+40>>1]|0;b[g+2+2>>1]=b[e+44>>1]|0;b[g+2+2+2>>1]=b[e+48>>1]|0;b[g+2+2+2+2>>1]=b[e+52>>1]|0;g=g+2+2+2+2+2|0;b[g>>1]=b[e+56>>1]|0;b[g+2>>1]=b[e+60>>1]|0;c[d+27864>>2]=f+32;i=e;return a|0}function yya(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;e=i;i=i+32|0;g=c[d+27856>>2]|0;f=c[d+27864>>2]|0;c[d+27856>>2]=e;c[d+27864>>2]=0;b=cj[c[d+19384>>2]&127](b,0,d,0)|0;c[d+27856>>2]=g;a[g+f>>0]=a[e>>0]|0;a[g+f+1>>0]=a[e+2>>0]|0;a[g+f+1+1>>0]=a[e+4>>0]|0;a[g+f+1+1+1>>0]=a[e+6>>0]|0;g=g+f+1+1+1+1|0;a[g>>0]=a[e+8>>0]|0;a[g+1>>0]=a[e+10>>0]|0;a[g+1+1>>0]=a[e+12>>0]|0;a[g+1+1+1>>0]=a[e+14>>0]|0;a[g+1+1+1+1>>0]=a[e+16>>0]|0;g=g+1+1+1+1+1|0;a[g>>0]=a[e+18>>0]|0;a[g+1>>0]=a[e+20>>0]|0;a[g+1+1>>0]=a[e+22>>0]|0;a[g+1+1+1>>0]=a[e+24>>0]|0;a[g+1+1+1+1>>0]=a[e+26>>0]|0;g=g+1+1+1+1+1|0;a[g>>0]=a[e+28>>0]|0;a[g+1>>0]=a[e+30>>0]|0;c[d+27864>>2]=f+16;i=e;return b|0}function zya(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=i;i=i+128|0;f=c[b+27856>>2]|0;e=c[b+27864>>2]|0;c[b+27856>>2]=d;c[b+27864>>2]=0;a=cj[c[b+19388>>2]&127](a,0,b,0)|0;c[b+27856>>2]=f;c[f+e>>2]=c[d>>2];c[f+e+4>>2]=c[d+8>>2];c[f+e+4+4>>2]=c[d+16>>2];c[f+e+4+4+4>>2]=c[d+24>>2];f=f+e+4+4+4+4|0;c[f>>2]=c[d+32>>2];c[f+4>>2]=c[d+40>>2];c[f+4+4>>2]=c[d+48>>2];c[f+4+4+4>>2]=c[d+56>>2];c[f+4+4+4+4>>2]=c[d+64>>2];f=f+4+4+4+4+4|0;c[f>>2]=c[d+72>>2];c[f+4>>2]=c[d+80>>2];c[f+4+4>>2]=c[d+88>>2];c[f+4+4+4>>2]=c[d+96>>2];c[f+4+4+4+4>>2]=c[d+104>>2];f=f+4+4+4+4+4|0;c[f>>2]=c[d+112>>2];c[f+4>>2]=c[d+120>>2];c[b+27864>>2]=e+64;i=d;return a|0}function Aya(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=i;i=i+128|0;f=c[b+27856>>2]|0;e=c[b+27864>>2]|0;c[b+27856>>2]=d;c[b+27864>>2]=0;a=cj[c[b+19392>>2]&127](a,0,b,0)|0;c[b+27856>>2]=f;c[f+e>>2]=c[d>>2];c[f+e+4>>2]=c[d+8>>2];c[f+e+4+4>>2]=c[d+16>>2];c[f+e+4+4+4>>2]=c[d+24>>2];f=f+e+4+4+4+4|0;c[f>>2]=c[d+32>>2];c[f+4>>2]=c[d+40>>2];c[f+4+4>>2]=c[d+48>>2];c[f+4+4+4>>2]=c[d+56>>2];c[f+4+4+4+4>>2]=c[d+64>>2];f=f+4+4+4+4+4|0;c[f>>2]=c[d+72>>2];c[f+4>>2]=c[d+80>>2];c[f+4+4>>2]=c[d+88>>2];c[f+4+4+4>>2]=c[d+96>>2];c[f+4+4+4+4>>2]=c[d+104>>2];f=f+4+4+4+4+4|0;c[f>>2]=c[d+112>>2];c[f+4>>2]=c[d+120>>2];c[b+27864>>2]=e+64;i=d;return a|0}function Bya(a,d){a=a|0;d=d|0;var e=0,f=0,g=0;e=i;i=i+32|0;g=c[d+27856>>2]|0;f=c[d+27864>>2]|0;c[d+27856>>2]=e;c[d+27864>>2]=0;a=cj[c[d+19396>>2]&127](a,0,d,0)|0;c[d+27856>>2]=g;b[g+f>>1]=b[e>>1]|0;b[g+f+2>>1]=b[e+4>>1]|0;b[g+f+2+2>>1]=b[e+8>>1]|0;b[g+f+2+2+2>>1]=b[e+12>>1]|0;g=g+f+2+2+2+2|0;b[g>>1]=b[e+16>>1]|0;b[g+2>>1]=b[e+20>>1]|0;b[g+2+2>>1]=b[e+24>>1]|0;b[g+2+2+2>>1]=b[e+28>>1]|0;c[d+27864>>2]=f+16;i=e;return a|0}function Cya(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;e=i;i=i+16|0;g=c[d+27856>>2]|0;f=c[d+27864>>2]|0;c[d+27856>>2]=e;c[d+27864>>2]=0;b=cj[c[d+19400>>2]&127](b,0,d,0)|0;c[d+27856>>2]=g;a[g+f>>0]=a[e>>0]|0;a[g+f+1>>0]=a[e+2>>0]|0;a[g+f+1+1>>0]=a[e+4>>0]|0;a[g+f+1+1+1>>0]=a[e+6>>0]|0;g=g+f+1+1+1+1|0;a[g>>0]=a[e+8>>0]|0;a[g+1>>0]=a[e+10>>0]|0;a[g+1+1>>0]=a[e+12>>0]|0;a[g+1+1+1>>0]=a[e+14>>0]|0;c[d+27864>>2]=f+8;i=e;return b|0}function Dya(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=i;i=i+64|0;f=c[b+27856>>2]|0;e=c[b+27864>>2]|0;c[b+27856>>2]=d;c[b+27864>>2]=0;a=cj[c[b+19404>>2]&127](a,0,b,0)|0;c[b+27856>>2]=f;c[f+e>>2]=c[d>>2];c[f+e+4>>2]=c[d+8>>2];c[f+e+4+4>>2]=c[d+16>>2];c[f+e+4+4+4>>2]=c[d+24>>2];f=f+e+4+4+4+4|0;c[f>>2]=c[d+32>>2];c[f+4>>2]=c[d+40>>2];c[f+4+4>>2]=c[d+48>>2];c[f+4+4+4>>2]=c[d+56>>2];c[b+27864>>2]=e+32;i=d;return a|0}function Eya(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=i;i=i+64|0;f=c[b+27856>>2]|0;e=c[b+27864>>2]|0;c[b+27856>>2]=d;c[b+27864>>2]=0;a=cj[c[b+19408>>2]&127](a,0,b,0)|0;c[b+27856>>2]=f;c[f+e>>2]=c[d>>2];c[f+e+4>>2]=c[d+8>>2];c[f+e+4+4>>2]=c[d+16>>2];c[f+e+4+4+4>>2]=c[d+24>>2];f=f+e+4+4+4+4|0;c[f>>2]=c[d+32>>2];c[f+4>>2]=c[d+40>>2];c[f+4+4>>2]=c[d+48>>2];c[f+4+4+4>>2]=c[d+56>>2];c[b+27864>>2]=e+32;i=d;return a|0}function Fya(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0;k=i;i=i+1024|0;j=c[d+27864>>2]|0;e=c[d+27856>>2]|0;c[d+27856>>2]=k;c[d+27864>>2]=0;f=Sxa(a,0,d,1)|0;c[d+27856>>2]=e;g=c[d+27864>>2]|0;if(g>>>0<=3){h=g>>>1;j=h+j|0;c[d+27864>>2]=j;i=k;return f|0}h=0;a=e+j|0;e=k;while(1){b[a>>1]=b[e>>1]|0;h=h+1|0;if(h>>>0>=g>>>2>>>0)break;else{a=a+2|0;e=e+4|0}}h=g>>>1;j=h+j|0;c[d+27864>>2]=j;i=k;return f|0}function Gya(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0;k=i;i=i+512|0;j=c[d+27864>>2]|0;e=c[d+27856>>2]|0;c[d+27856>>2]=k;c[d+27864>>2]=0;h=Txa(b,0,d,1)|0;c[d+27856>>2]=e;if((c[d+27864>>2]|0)>>>0<2){g=0;j=g+j|0;c[d+27864>>2]=j;i=k;return h|0}g=0;e=e+j|0;f=k;while(1){a[e>>0]=a[f>>0]|0;g=g+1|0;b=(c[d+27864>>2]|0)>>>1;if(g>>>0>=b>>>0)break;else{e=e+1|0;f=f+2|0}}j=b+j|0;c[d+27864>>2]=j;i=k;return h|0}function Hya(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+2048|0;g=c[b+27864>>2]|0;d=c[b+27856>>2]|0;c[b+27856>>2]=h;c[b+27864>>2]=0;Uxa(a,0,b,1)|0;c[b+27856>>2]=d;e=c[b+27864>>2]|0;if(e>>>0<=7){f=e>>>1;g=f+g|0;c[b+27864>>2]=g;i=h;return 0}f=0;a=d+g|0;d=h;while(1){c[a>>2]=c[d>>2];f=f+1|0;if(f>>>0>=e>>>3>>>0)break;else{a=a+4|0;d=d+8|0}}f=e>>>1;g=f+g|0;c[b+27864>>2]=g;i=h;return 0}function Iya(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;j=i;i=i+2048|0;h=c[b+27864>>2]|0;d=c[b+27856>>2]|0;c[b+27856>>2]=j;c[b+27864>>2]=0;g=Vxa(a,0,b,1)|0;c[b+27856>>2]=d;a=c[b+27864>>2]|0;if(a>>>0<=7){f=a;f=f>>>1;h=f+h|0;c[b+27864>>2]=h;i=j;return g|0}f=0;d=d+h|0;e=j;while(1){c[d>>2]=c[e>>2];f=f+1|0;a=c[b+27864>>2]|0;if(f>>>0>=a>>>3>>>0)break;else{d=d+4|0;e=e+8|0}}f=a>>>1;h=f+h|0;c[b+27864>>2]=h;i=j;return g|0}function Jya(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;k=i;i=i+128|0;g=c[e+27856>>2]|0;j=c[e+27864>>2]|0;c[e+27856>>2]=k;c[e+27864>>2]=0;d=cj[c[e+19364>>2]&127](d,0,e,0)|0;c[e+27856>>2]=g;f=0;g=g+j|0;h=k;while(1){a[g>>0]=a[(c[e+9592>>2]|0)+(b[h>>1]>>3)>>0]|0;f=f+1|0;if((f|0)==32)break;else{g=g+1|0;h=h+4|0}}c[e+27864>>2]=j+32;i=k;return d|0}function Kya(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;k=i;i=i+128|0;g=c[e+27856>>2]|0;j=c[e+27864>>2]|0;c[e+27856>>2]=k;c[e+27864>>2]=0;d=cj[c[e+19364>>2]&127](d,0,e,0)|0;c[e+27856>>2]=g;f=0;g=g+j|0;h=k;while(1){a[g>>0]=a[(c[e+9592>>2]|0)+(b[h>>1]>>3)>>0]|0;a[g+1>>0]=a[(c[e+9592>>2]|0)+(b[h>>1]>>3)>>0]|0;f=f+1|0;if((f|0)==32)break;else{g=g+2|0;h=h+4|0}}c[e+27864>>2]=j+64;i=k;return d|0}function Lya(){return}function Mya(a,b,d){a=a|0;b=b|0;d=d|0;c[a+28>>2]=b;c[a+24>>2]=d;return}function Nya(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;if(!(Oya(a+28020|0,b,d)|0)){b=0;i=e;return b|0}if(c[a+28068>>2]&32|0){b=-1;i=e;return b|0}b=c[37151]|0;c[e>>2]=767;c[e+4>>2]=-1;oob(b,512426,e)|0;b=-1;i=e;return b|0}function Oya(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;if((d|0)<=0){a=0;return a|0}e=c[a+4>>2]|0;while(1){if(!e)g=e;else{g=c[e+4>>2]|0;f=c[e+8>>2]|0;if((f|0)>(g|0)){f=(f-g|0)>(d|0)?d:f-g|0;mBb((c[e>>2]|0)+g|0,b|0,f|0)|0;g=c[a+4>>2]|0;c[g+4>>2]=(c[g+4>>2]|0)+f;c[a+8>>2]=(c[a+8>>2]|0)+f;d=d-f|0;b=b+f|0}else g=e}if((d|0)<=0){d=0;b=18;break}e=c[a+36>>2]|0;if(!e){f=c[a+24>>2]|0;e=Vpb(16)|0;if(!e){d=-2;b=18;break}f=f>>>0>>0?d:f;c[e+8>>2]=f;f=Vpb(f)|0;c[e>>2]=f;if(!f){b=11;break}c[e+4>>2]=0;c[e+12>>2]=0}else{c[a+36>>2]=c[e+12>>2];c[e+12>>2]=0;c[e+4>>2]=0;c[a+32>>2]=(c[a+32>>2]|0)+-1}if(!g){if(!(c[a>>2]|0))c[a>>2]=e}else c[g+12>>2]=e;c[a+4>>2]=e}if((b|0)==11){Wpb(e);a=-2;return a|0}else if((b|0)==18)return d|0;return 0}function Pya(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;b=c[a+32>>2]|0;d=c[a+28>>2]|0;if(b>>>0>d>>>0){e=d;while(1){d=c[a+36>>2]|0;c[a+36>>2]=c[d+12>>2];if(!d)d=e;else{Wpb(c[d>>2]|0);Wpb(d);b=c[a+32>>2]|0;d=c[a+28>>2]|0}b=b+-1|0;c[a+32>>2]=b;if(b>>>0>d>>>0)e=d;else break}}if(b>>>0>=d>>>0)return;e=c[a+24>>2]|0;while(1){f=Vpb(16)|0;if(!f){b=12;break}c[f+8>>2]=e;g=Vpb(e)|0;c[f>>2]=g;if(!g){b=10;break}c[f+4>>2]=0;c[f+12>>2]=c[a+36>>2];c[a+36>>2]=f;b=b+1|0;c[a+32>>2]=b;if(b>>>0>=d>>>0){b=12;break}}if((b|0)==10){Wpb(f);return}else if((b|0)==12)return}function Qya(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;g=i;i=i+32|0;do if((c[a+28092>>2]|0)>0){if(!(c[a+27988>>2]|0)){f=Zmb(c[a+27968>>2]|0,3,g+8|0)|0|2048;d=c[a+27968>>2]|0;c[g+16>>2]=f;Zmb(d,4,g+16|0)|0;c[a+27984>>2]=119;c[a+27980>>2]=c[a+28092>>2];d=c[a+27976>>2]|32;c[a+27976>>2]=d;f=a+27976|0;b=a+27988|0;break}a=c[37151]|0;c[g>>2]=1031;oob(a,512482,g)|0;a=-1;i=g;return a|0}else{c[a+27984>>2]=120;f=a+27976|0;b=a+27988|0;d=c[a+27976>>2]|0}while(0);b=c[b>>2]|0;c[a+28008>>2]=(b|0)==0?121:b;b=c[a+27992>>2]|0;b=(c[a+28336>>2]|0)>0?123:(b|0)==0?122:b;c[a+28012>>2]=b;if(!(d&64)){d=Gi[b&255](c[a+27968>>2]|0,0,2)|0;e=10}else{b=c[a+28e3>>2]|0;if(b|0){d=Gi[b&255](c[a+27972>>2]|0,0,2)|0;e=10}}do if((e|0)==10)if((d|0)>=0){if(!(c[f>>2]&64))b=Gi[c[a+28012>>2]&255](c[a+27968>>2]|0,-128,2)|0;else{b=c[a+28e3>>2]|0;if(!b)break;b=Gi[b&255](c[a+27972>>2]|0,-128,2)|0}if((b|0)>=0)if((Gi[c[(c[a+27956>>2]|0)+8>>2]&255](a,a+28396|0,128)|0)==128){e=(pmb(a+28396|0,512632,3)|0)==0;d=e?d+-128|0:d;if(!(c[f>>2]&64))b=Gi[c[a+28012>>2]&255](c[a+27968>>2]|0,0,0)|0;else{b=c[a+28e3>>2]|0;if(!b)break;b=Gi[b&255](c[a+27972>>2]|0,0,0)|0}if(!((d|0)<1|(b|0)<0)){c[a+27960>>2]=d;c[a+27964>>2]=0;b=c[f>>2]|0;c[f>>2]=b|4;if(pmb(a+28396|0,512632,3)|0){a=0;i=g;return a|0}c[f>>2]=b|6;c[a+28392>>2]=c[a+28392>>2]|1;a=0;i=g;return a|0}}}while(0);c[a+27960>>2]=-1;c[a+27964>>2]=0;b=c[a+28068>>2]|0;if(!(b&256)){a=0;i=g;return a|0}d=c[a+27956>>2]|0;do if((d|0)==36852){c[a+27956>>2]=36996;c[a+28016>>2]=35}else{if((d|0)==36900){c[a+27956>>2]=37044;c[a+28016>>2]=37;break}if(b&32|0){a=-1;i=g;return a|0}a=c[37151]|0;c[g+24>>2]=1090;oob(a,512993,g+24|0)|0;a=-1;i=g;return a|0}while(0);c[a+28020>>2]=0;c[a+28020+4>>2]=0;c[a+28020+8>>2]=0;c[a+28020+12>>2]=0;c[a+28020+16>>2]=0;c[a+28020+20>>2]=0;c[a+27960>>2]=0;c[f>>2]=c[f>>2]|8;a=0;i=g;return a|0}function Rya(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;f=i;i=i+144|0;c[f+136>>2]=c[a+27980>>2];c[f+136+4>>2]=0;e=f+8|0;g=e+128|0;do{c[e>>2]=0;e=e+4|0}while((e|0)<(g|0));g=c[a+27968>>2]|0;c[f+8+(g>>>5<<2)>>2]=1<<(g&31)|c[f+8+(g>>>5<<2)>>2];if((fpb(g+1|0,f+8|0,0,0,f+136|0)|0)>0){g=Tpb(c[a+27968>>2]|0,b,d)|0;i=f;return g|0}if(c[a+28068>>2]&32|0){g=-1;i=f;return g|0}g=c[37151]|0;c[f>>2]=83;oob(g,512592,f)|0;g=-1;i=f;return g|0}function Sya(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;if(!(c[a+27976>>2]&64)){a=Gi[c[a+28008>>2]&255](c[a+27968>>2]|0,b,d)|0;return a|0}e=c[a+27996>>2]|0;if(!e){a=-1;return a|0}a=Gi[e&255](c[a+27972>>2]|0,b,d)|0;return a|0}function Tya(a,b,c){a=a|0;b=b|0;c=c|0;return Tpb(a,b,c)|0}function Uya(a,b,c){a=a|0;b=b|0;c=c|0;return bnb(a,b,c)|0}function Vya(a,b,c){a=a|0;b=b|0;c=c|0;return -1}function Wya(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;if((d|0)<=0){a=0;return a|0}e=0;while(1){f=Gi[c[a+27984>>2]&255](a,b+e|0,d-e|0)|0;if((f|0)<0){e=-1;f=8;break}if(!f){f=8;break}if(!(c[a+27976>>2]&8))c[a+27964>>2]=(c[a+27964>>2]|0)+f;e=f+e|0;if((e|0)>=(d|0)){f=8;break}}if((f|0)==8)return e|0;return 0}function Xya(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+64|0;if(c[b+27976>>2]&4|0){if(c[b+28068>>2]&32|0){m=-1;i=n;return m|0}m=c[37151]|0;c[n>>2]=97;oob(m,512636,n)|0;m=-1;i=n;return m|0}if((e|0)<=0){m=0;i=n;return m|0}l=c[37151]|0;g=c[b+28584>>2]|0;f=0;a:while(1){k=e-f|0;if((g|0)<(k|0)){if((g|0)>0){g=Gi[c[b+27984>>2]&255](b,d+f|0,g)|0;if((g|0)<1){m=9;break}if(!(c[b+27976>>2]&8))c[b+27964>>2]=(c[b+27964>>2]|0)+g;f=g+f|0;g=(c[b+28584>>2]|0)-g|0;c[b+28584>>2]=g;if((g|0)<=0)m=15}else m=15;if((m|0)==15){m=0;g=Gi[c[b+27984>>2]&255](b,n+48|0,1)|0;if((g|0)<0){m=16;break}if(!g){m=39;break}if(!(c[b+27976>>2]&8))c[b+27964>>2]=(c[b+27964>>2]|0)+g;g=a[n+48>>0]|0;do if(g<<24>>24){k=Vpb((g&255)<<4|1)|0;if(!k){if(!(c[b+28068>>2]&32)){c[n+32>>2]=177;c[n+32+4>>2]=(g&255)<<4;oob(l,512841,n+32|0)|0}Xi[c[(c[b+27956>>2]|0)+20>>2]&511](b,(g&255)<<4)|0;break}j=(g&255)<<4;do{h=Gi[c[b+27984>>2]&255](b,k+((g&255)<<4)+(0-j)|0,j)|0;j=j-h|0;if((h|0)<1){m=26;break a}}while((j|0)>0);j=c[b+27976>>2]|0;a[k+((g&255)<<4)>>0]=0;if(!(j&8))c[b+27964>>2]=(c[b+27964>>2]|0)+h;g=c[b+28576>>2]|0;if(g|0)Wpb(g);c[b+28576>>2]=k;c[b+28392>>2]=c[b+28392>>2]|4}while(0);g=c[b+28580>>2]|0;c[b+28584>>2]=g}}else{j=d+f|0;if((k|0)>0)h=0;else{m=52;break}do{g=Gi[c[b+27984>>2]&255](b,j+h|0,k-h|0)|0;if((g|0)<0){f=k;m=47;break a}if(!g)break;if(!(c[b+27976>>2]&8))c[b+27964>>2]=(c[b+27964>>2]|0)+g;h=g+h|0}while((h|0)<(k|0));if((h|0)<0){f=k;m=47;break}if(!h){m=52;break}g=(c[b+28584>>2]|0)-h|0;c[b+28584>>2]=g;f=h+f|0}if((f|0)>=(e|0)){m=52;break}}if((m|0)==9)if(!g)m=39;else if(!(c[b+28068>>2]&32)){c[n+8>>2]=126;oob(l,512720,n+8|0)|0;m=37}else m=37;else if((m|0)==16)if(!(c[b+28068>>2]&32)){c[n+16>>2]=145;oob(l,512761,n+16|0)|0;m=37}else m=37;else if((m|0)==26)if(!(c[b+28068>>2]&32)){c[n+24>>2]=164;oob(l,512801,n+24|0)|0;m=37}else m=37;else if((m|0)==47){if(c[b+28068>>2]&32|0){m=-1;i=n;return m|0}c[n+40>>2]=186;c[n+40+4>>2]=f;oob(l,512946,n+40|0)|0;m=-1;i=n;return m|0}else if((m|0)==52){i=n;return f|0}if((m|0)==37){m=-1;i=n;return m|0}else if((m|0)==39){m=f;i=n;return m|0}return 0}function Yya(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a+27976>>2]|0;if(b&1){Yva(c[a+27968>>2]|0)|0;b=c[a+27976>>2]|0}c[a+27968>>2]=0;if(b&8){b=c[a+28020>>2]|0;if(b|0)do{d=b+12|0;e=c[d>>2]|0;c[a+28020>>2]=e;f=c[a+28052>>2]|0;if(f>>>0<(c[a+28048>>2]|0)>>>0){c[d>>2]=c[a+28056>>2];c[a+28056>>2]=b;c[a+28052>>2]=f+1;b=e}else{Wpb(c[b>>2]|0);Wpb(b);b=c[a+28020>>2]|0}}while((b|0)!=0);Pya(a+28020|0);c[a+28020>>2]=0;c[a+28020+4>>2]=0;c[a+28020+8>>2]=0;c[a+28020+12>>2]=0;c[a+28020+16>>2]=0;c[a+28020+20>>2]=0;b=c[a+27976>>2]|0}if(!(b&64))return;b=c[a+28004>>2]|0;if(b|0)Hi[b&1023](c[a+27972>>2]|0);c[a+27972>>2]=0;return}function Zya(a,b){a=a|0;b=b|0;var e=0;e=i;i=i+16|0;switch(Gi[c[(c[a+27956>>2]|0)+8>>2]&255](a,e,4)|0){case 4:{c[b>>2]=(d[e+1>>0]|0)<<16|(d[e>>0]|0)<<24|(d[e+2>>0]|0)<<8|(d[e+3>>0]|0);b=1;i=e;return b|0}case -10:{b=-10;i=e;return b|0}default:{b=0;i=e;return b|0}}return 0}function _ya(a,b){a=a|0;b=b|0;var e=0;e=i;i=i+16|0;switch(Gi[c[(c[a+27956>>2]|0)+8>>2]&255](a,e,1)|0){case 1:{c[b>>2]=d[e>>0]|0|c[b>>2]<<8;b=1;i=e;return b|0}case -10:{b=-10;i=e;return b|0}default:{b=0;i=e;return b|0}}return 0}function $ya(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+1024|0;d=c[a+27976>>2]|0;if(d&4|0){if(!(d&64)){d=Gi[c[a+28012>>2]&255](c[a+27968>>2]|0,b,1)|0;e=6}else{d=c[a+28e3>>2]|0;if(!d)e=8;else{d=Gi[d&255](c[a+27972>>2]|0,b,1)|0;e=6}}if((e|0)==6)if((d|0)>-1)c[a+27964>>2]=d;else e=8;if((e|0)==8){c[a+28376>>2]=40;d=-1}e=(d|0)>-1?d:-1;i=f;return e|0}if((b|0)>-1){while(1){if((b|0)<=0){e=15;break}d=Gi[c[(c[a+27956>>2]|0)+8>>2]&255](a,f,(b|0)<1024?b:1024)|0;if((d|0)<0)break;if(!d){e=15;break}else b=b-d|0}if((e|0)==15)d=vi[c[(c[a+27956>>2]|0)+36>>2]&2047](a)|0;e=d;i=f;return e|0}if(!(d&8)){c[a+28376>>2]=23;e=-1;i=f;return e|0}d=c[a+28032>>2]|0;if((d|0)<(0-b|0)){c[a+28376>>2]=23;e=-1;i=f;return e|0}else{c[a+28032>>2]=d+b;e=vi[c[(c[a+27956>>2]|0)+36>>2]&2047](a)|0;i=f;return e|0}return 0}function aza(a,b,d){a=a|0;b=b|0;d=d|0;a=Gi[c[(c[a+27956>>2]|0)+8>>2]&255](a,b,d)|0;return ((a|0)==(d|0)?a:-10)|0}function bza(a,b){a=a|0;b=b|0;var d=0;d=(vi[c[(c[a+27956>>2]|0)+36>>2]&2047](a)|0)-b|0;if((d|0)<0){a=-1;return a|0}a=(($ya(a,0-b|0)|0)!=(d|0))<<31>>31;return a|0}function cza(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;if(!(c[a+27976>>2]&4))if((c[a+19748>>2]|0)>(b|0)){c[a+28376>>2]=23;f=-1;i=g;return f|0}e=fxa(a,b,g)|0;d=c[a+19748>>2]|0;if((d|0)>=(b|0)?1:(d|0)<(c[g>>2]|0)){d=e-(vi[c[(c[a+27956>>2]|0)+36>>2]&2047](a)|0)|0;if((Xi[c[(c[a+27956>>2]|0)+20>>2]&511](a,d)|0)==(e|0)){d=(c[g>>2]|0)+-1|0;c[a+19748>>2]=d;f=6}else d=-1}else f=6;a:do if((f|0)==6)if((d|0)<(b|0))while(1){if(!(_va(a)|0)){d=0;break a}if((c[a+19748>>2]|0)>=(b|0)){d=0;break}}else d=0;while(0);f=d;i=g;return f|0}function dza(a){a=a|0;var b=0;if(!(c[a+27976>>2]&8)){a=c[a+27964>>2]|0;return a|0}else{b=(c[a+28032>>2]|0)+(c[a+28040>>2]|0)|0;c[a+27964>>2]=b;a=b;return a|0}return 0}function eza(a){a=a|0;var b=0,d=0,e=0;b=c[a+27976>>2]|0;if(b&4){if(!(b&64)){b=Gi[c[a+28012>>2]&255](c[a+27968>>2]|0,0,0)|0;e=6}else{b=c[a+28e3>>2]|0;if(!b)e=8;else{b=Gi[b&255](c[a+27972>>2]|0,0,0)|0;e=6}}if((e|0)==6)if((b|0)>-1){c[a+27964>>2]=b;d=a+27964|0}else e=8;if((e|0)==8){c[a+28376>>2]=40;d=a+27964|0;b=-1}c[d>>2]=b;c[a+28040>>2]=b;b=c[a+27976>>2]|0}if(!(b&8))return;c[a+28032>>2]=0;c[a+28036>>2]=0;c[a+27964>>2]=c[a+28040>>2];return}function fza(a){a=a|0;c[a+28020>>2]=0;c[a+28020+4>>2]=0;c[a+28020+8>>2]=0;c[a+28020+12>>2]=0;c[a+28020+16>>2]=0;c[a+28020+20>>2]=0;Pya(a+28020|0);c[a+27960>>2]=0;c[a+27964>>2]=0;c[a+27976>>2]=c[a+27976>>2]|8;return 0}function gza(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=c[a+28032>>2]|0;a:do if(((c[a+28028>>2]|0)-k|0)<(d|0)){c[a+28032>>2]=c[a+28036>>2];e=-10}else{e=c[a+28020>>2]|0;if(!e)e=0;else{f=0;while(1){j=c[e+4>>2]|0;h=f;f=j+f|0;if((f|0)>(k|0)){f=e;break}e=c[e+12>>2]|0;if(!e){e=0;break a}}if((d|0)>0){e=(j-(k-h)|0)<(d|0)?j-(k-h)|0:d;mBb(b|0,(c[f>>2]|0)+(k-h)|0,e|0)|0;i=(c[a+28032>>2]|0)+e|0;c[a+28032>>2]=i;g=c[f+12>>2]|0;if(g|0?(j-(k-h)|0)<(d|0):0)while(1){h=(c[f+4>>2]|0)+h|0;k=i-h|0;f=d-e|0;j=(c[g+4>>2]|0)-k|0;f=(f|0)>(j|0)?j:f;mBb(b+e|0,(c[g>>2]|0)+k|0,f|0)|0;e=f+e|0;i=(c[a+28032>>2]|0)+f|0;c[a+28032>>2]=i;f=c[g+12>>2]|0;if(!((e|0)<(d|0)&(f|0)!=0))break;else{k=g;g=f;f=k}}}else e=0}}while(0);return ((e|0)<0|(e|0)==(d|0)?e:-1)|0}function hza(a,b){a=a|0;b=b|0;var d=0;if((b|0)<=-1){b=-1;return b|0}d=c[a+28032>>2]|0;if(((c[a+28028>>2]|0)-d|0)<(b|0)){c[a+28032>>2]=c[a+28036>>2];b=-10;return b|0}c[a+28032>>2]=d+b;if((d+b|0)<0){b=d+b|0;return b|0}b=(c[a+28040>>2]|0)+(d+b)|0;return b|0}function iza(a,b){a=a|0;b=b|0;var d=0;do if((b|0)>-1){d=c[a+28032>>2]|0;if((d|0)<(b|0))d=-1;else{c[a+28032>>2]=d-b;d=d-b|0}}else{d=c[a+28032>>2]|0;if(((c[a+28028>>2]|0)-d|0)<(0-b|0)){c[a+28032>>2]=c[a+28036>>2];d=-10;break}c[a+28032>>2]=d-b;if((d-b|0)<0)d=d-b|0;else d=(c[a+28040>>2]|0)+(d-b)|0}while(0);return d>>31|0}function jza(a,b){a=a|0;b=b|0;return -1}function kza(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;b=c[a+28020>>2]|0;a:do if(!b){d=a+28040|0;b=0}else while(1){d=c[a+28032>>2]|0;e=c[b+4>>2]|0;if((d|0)<(e|0)){d=a+28040|0;break a}f=b+12|0;h=b;b=c[f>>2]|0;g=(b|0)==0;if(g)c[a+28024>>2]=0;c[a+28040>>2]=(c[a+28040>>2]|0)+e;c[a+28032>>2]=d-e;c[a+28028>>2]=(c[a+28028>>2]|0)-e;d=c[a+28052>>2]|0;if(d>>>0<(c[a+28048>>2]|0)>>>0){c[f>>2]=c[a+28056>>2];c[a+28056>>2]=h;c[a+28052>>2]=d+1}else{Wpb(c[h>>2]|0);Wpb(h)}if(g){d=a+28040|0;b=0;break}}while(0);c[a+28020>>2]=b;h=c[a+28032>>2]|0;c[a+28036>>2]=h;c[a+27964>>2]=(c[d>>2]|0)+h;return}function lza(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+4128|0;e=c[a+28028>>2]|0;f=c[a+28032>>2]|0;do if((e-f|0)<(d|0)){f=d-e+f|0;while(1){if((f|0)<=0){e=15;break}e=Gi[c[a+28016>>2]&255](a,m+24|0,4096)|0;if((e|0)<0){e=5;break}if((e|0)<=0){e=12;break}g=Oya(a+28020|0,m+24|0,e)|0;if(g|0){e=9;break}if(e>>>0<4096){e=12;break}else f=f-e|0}if((e|0)==5){if(!(c[a+28068>>2]&32)){a=c[37151]|0;c[m>>2]=844;oob(a,513058,m)|0}}else if((e|0)==9){if(!(c[a+28068>>2]&32)){a=c[37151]|0;c[m+8>>2]=851;c[m+8+4>>2]=g;oob(a,513096,m+8|0)|0}}else if((e|0)==12)if(!(c[a+28068>>2]&32))if((c[a+28064>>2]|0)>2){ppb(513154,22,1,c[37151]|0)|0;e=15}else e=15;else e=15;if((e|0)==15){e=c[a+28028>>2]|0;f=c[a+28032>>2]|0;l=(e-f|0)<(d|0)?e-f|0:d;break}a=-1;i=m;return a|0}else l=d;while(0);a:do if((e-f|0)<(l|0)){c[a+28032>>2]=c[a+28036>>2];e=-10}else{e=c[a+28020>>2]|0;if(!e)e=0;else{g=0;while(1){d=c[e+4>>2]|0;k=g;g=d+g|0;if((g|0)>(f|0)){j=e;break}e=c[e+12>>2]|0;if(!e){e=0;break a}}if((l|0)>0){g=f-k|0;h=(l|0)>(d-g|0);e=h?d-g|0:l;mBb(b|0,(c[j>>2]|0)+g|0,e|0)|0;g=(c[a+28032>>2]|0)+e|0;c[a+28032>>2]=g;f=c[j+12>>2]|0;if(h&(f|0)!=0){h=g;g=j;d=k;while(1){d=(c[g+4>>2]|0)+d|0;k=h-d|0;g=l-e|0;j=(c[f+4>>2]|0)-k|0;g=(g|0)>(j|0)?j:g;mBb(b+e|0,(c[f>>2]|0)+k|0,g|0)|0;e=g+e|0;h=(c[a+28032>>2]|0)+g|0;c[a+28032>>2]=h;g=c[f+12>>2]|0;if(!((e|0)<(l|0)&(g|0)!=0))break;else{k=f;f=g;g=k}}}}else e=0}}while(0);if((e|0)==(l|0)){a=l;i=m;return a|0}if(c[a+28068>>2]&32|0){a=-1;i=m;return a|0}a=c[37151]|0;c[m+16>>2]=869;oob(a,513177,m+16|0)|0;a=-1;i=m;return a|0}function mza(a,b){a=a|0;b=b|0;Iwa(a+28576|0);c[a+27960>>2]=-1;c[a+27968>>2]=-1;c[a+27972>>2]=b;c[a+27976>>2]=64;b=c[a+28336>>2]|0;if((b|0)>0){c[a+28580>>2]=b;c[a+28584>>2]=b;b=36900}else b=36852;c[a+27956>>2]=b;return (vi[c[b>>2]&2047](a)|0)>>31|0}function nza(){var a=0;a=0;do{g[663192+(a<<2)>>2]=.5/+Q(+(+(a|0)*.09817477042468103+.04908738521234052));a=a+1|0}while((a|0)!=16);g[165814]=.5024192929267883;g[165815]=.522498607635498;g[165816]=.5669440627098083;g[165817]=.6468217968940735;g[165818]=.7881546020507812;g[165819]=1.0606776475906372;g[165820]=1.722447156906128;g[165821]=5.10114860534668;g[165822]=.509795606136322;g[165823]=.601344883441925;g[165824]=.8999761939048767;g[165825]=2.562915563583374;g[165826]=.5411961078643799;g[165827]=1.3065630197525024;g[301571]=.7071067690849304;return}function oza(){if(c[178913]|0)return 0;pza();sza();nza();c[178913]=1;return 0}function pza(){var a=0,b=0,d=0,e=0,f=0;c[165828]=1;c[165829]=1;c[165830]=1;c[165831]=0;c[165832]=1;c[165833]=1;c[165834]=2;c[165835]=1;c[165836]=1;c[165837]=1;c[165838]=0;c[165839]=1;c[165840]=0;c[165841]=0;c[165842]=1;c[165843]=2;c[165844]=0;c[165845]=1;c[165846]=1;c[165847]=2;c[165848]=1;c[165849]=0;c[165850]=2;c[165851]=1;c[165852]=2;c[165853]=2;c[165854]=1;c[165855]=1;c[165856]=1;c[165857]=0;c[165858]=0;c[165859]=1;c[165860]=0;c[165861]=2;c[165862]=1;c[165863]=0;c[165864]=1;c[165865]=0;c[165866]=0;c[165867]=0;c[165868]=0;c[165869]=0;c[165870]=2;c[165871]=0;c[165872]=0;c[165873]=1;c[165874]=2;c[165875]=0;c[165876]=0;c[165877]=2;c[165878]=0;c[165879]=2;c[165880]=2;c[165881]=0;c[165882]=1;c[165883]=1;c[165884]=2;c[165885]=0;c[165886]=1;c[165887]=2;c[165888]=2;c[165889]=1;c[165890]=2;c[165891]=1;c[165892]=0;c[165893]=2;c[165894]=0;c[165895]=0;c[165896]=2;c[165897]=2;c[165898]=0;c[165899]=2;c[165900]=1;c[165901]=2;c[165902]=2;c[165903]=0;c[165904]=2;c[165905]=2;c[165906]=2;c[165907]=2;c[165908]=2;a=663696;b=0;while(1){f=c[37128+(b<<2)>>2]|0;c[a>>2]=17;c[a+4>>2]=17;c[a+8>>2]=f;c[a+12>>2]=18;c[a+16>>2]=17;c[a+20>>2]=f;c[a+24>>2]=0;c[a+28>>2]=17;c[a+32>>2]=f;c[a+36>>2]=19;c[a+40>>2]=17;c[a+44>>2]=f;c[a+48>>2]=20;c[a+52>>2]=17;c[a+56>>2]=f;c[a+60>>2]=17;c[a+64>>2]=18;c[a+68>>2]=f;c[a+72>>2]=18;c[a+76>>2]=18;c[a+80>>2]=f;c[a+84>>2]=0;c[a+88>>2]=18;c[a+92>>2]=f;c[a+96>>2]=19;c[a+100>>2]=18;c[a+104>>2]=f;c[a+108>>2]=20;c[a+112>>2]=18;c[a+116>>2]=f;c[a+120>>2]=17;c[a+124>>2]=0;c[a+128>>2]=f;c[a+132>>2]=18;c[a+136>>2]=0;c[a+140>>2]=f;c[a+144>>2]=0;c[a+148>>2]=0;c[a+152>>2]=f;c[a+156>>2]=19;c[a+160>>2]=0;c[a+164>>2]=f;c[a+168>>2]=20;c[a+172>>2]=0;c[a+176>>2]=f;c[a+180>>2]=17;c[a+184>>2]=19;c[a+188>>2]=f;c[a+192>>2]=18;c[a+196>>2]=19;c[a+200>>2]=f;c[a+204>>2]=0;c[a+208>>2]=19;c[a+212>>2]=f;c[a+216>>2]=19;c[a+220>>2]=19;c[a+224>>2]=f;c[a+228>>2]=20;c[a+232>>2]=19;c[a+236>>2]=f;c[a+240>>2]=17;c[a+244>>2]=20;c[a+248>>2]=f;c[a+252>>2]=18;c[a+256>>2]=20;c[a+260>>2]=f;c[a+264>>2]=0;c[a+268>>2]=20;c[a+272>>2]=f;c[a+276>>2]=19;c[a+280>>2]=20;c[a+284>>2]=f;c[a+288>>2]=20;c[a+292>>2]=20;c[a+296>>2]=f;b=b+1|0;if((b|0)>=5){b=665232;a=0;break}else a=a+300|0}do{f=c[37164+(a<<2)>>2]|0;d=b;e=0;while(1){b=c[37164+(e<<2)>>2]|0;c[d>>2]=21;c[d+4>>2]=b;c[d+8>>2]=f;c[d+12>>2]=1;c[d+16>>2]=b;c[d+20>>2]=f;c[d+24>>2]=22;c[d+28>>2]=b;c[d+32>>2]=f;c[d+36>>2]=23;c[d+40>>2]=b;c[d+44>>2]=f;c[d+48>>2]=0;c[d+52>>2]=b;c[d+56>>2]=f;c[d+60>>2]=24;c[d+64>>2]=b;c[d+68>>2]=f;c[d+72>>2]=25;c[d+76>>2]=b;c[d+80>>2]=f;c[d+84>>2]=2;c[d+88>>2]=b;c[d+92>>2]=f;c[d+96>>2]=26;c[d+100>>2]=b;b=d+108|0;c[d+104>>2]=f;e=e+1|0;if((e|0)>=9)break;else d=b}a=a+1|0}while((a|0)<9);return}function qza(b){b=b|0;var d=0;d=c[b+16>>2]|0;a:{if(a[1248938]|0){c[164851]=vi[d&2047](477091)|0;c[164852]=vi[d&2047](477108)|0;c[164853]=vi[d&2047](477125)|0;c[164854]=vi[d&2047](477142)|0;c[164855]=vi[d&2047](477159)|0;c[164856]=vi[d&2047](477183)|0;c[164857]=vi[d&2047](477202)|0;c[164858]=vi[d&2047](477221)|0;c[164859]=vi[d&2047](477239)|0;c[164860]=vi[d&2047](477257)|0;c[164861]=vi[d&2047](477279)|0;c[164862]=vi[d&2047](477301)|0;c[164863]=vi[d&2047](477320)|0;c[164864]=vi[d&2047](477337)|0;c[164865]=vi[d&2047](477352)|0;c[164866]=vi[d&2047](477368)|0;c[164867]=vi[d&2047](477393)|0;c[164868]=vi[d&2047](477422)|0;c[164869]=vi[d&2047](477445)|0;c[164870]=vi[d&2047](477469)|0;c[164871]=vi[d&2047](477492)|0;c[164872]=vi[d&2047](477516)|0;c[164873]=vi[d&2047](477536)|0;c[164874]=vi[d&2047](477556)|0;c[164875]=vi[d&2047](477579)|0;c[164876]=vi[d&2047](477602)|0;c[164877]=vi[d&2047](477626)|0;c[164878]=vi[d&2047](477650)|0;c[164879]=vi[d&2047](477677)|0;c[164880]=vi[d&2047](477704)|0;c[164881]=vi[d&2047](477725)|0;c[164882]=vi[d&2047](477752)|0;c[164883]=vi[d&2047](477779)|0;c[164884]=vi[d&2047](477811)|0;c[164885]=vi[d&2047](477843)|0;c[164886]=vi[d&2047](477863)|0;c[164887]=vi[d&2047](477886)|0;c[164888]=vi[d&2047](477913)|0;c[164889]=vi[d&2047](477935)|0;c[164890]=vi[d&2047](477961)|0;c[164891]=vi[d&2047](477979)|0;c[164892]=vi[d&2047](477998)|0;c[164893]=vi[d&2047](478016)|0;c[164894]=vi[d&2047](478035)|0;c[164895]=vi[d&2047](478053)|0;c[164896]=vi[d&2047](478072)|0;c[164897]=vi[d&2047](478090)|0;c[164898]=vi[d&2047](478109)|0;c[164899]=vi[d&2047](478127)|0;c[164900]=vi[d&2047](478146)|0;c[164901]=vi[d&2047](478168)|0;c[164902]=vi[d&2047](478190)|0;c[164903]=vi[d&2047](478212)|0;c[164904]=vi[d&2047](478234)|0;c[164905]=vi[d&2047](478256)|0;c[164906]=vi[d&2047](478280)|0;c[164907]=vi[d&2047](478305)|0;c[164908]=vi[d&2047](478329)|0;c[164909]=vi[d&2047](478354)|0;c[164910]=vi[d&2047](478375)|0;c[164911]=vi[d&2047](478396)|0;c[164912]=vi[d&2047](478420)|0;c[164913]=vi[d&2047](478444)|0;c[164914]=vi[d&2047](478469)|0;c[164915]=vi[d&2047](478494)|0;c[164916]=vi[d&2047](478522)|0;c[164917]=vi[d&2047](478550)|0;c[164918]=vi[d&2047](478572)|0;c[164919]=vi[d&2047](478600)|0;c[164920]=vi[d&2047](478628)|0;c[164921]=vi[d&2047](478661)|0;c[164922]=vi[d&2047](478694)|0;c[164923]=vi[d&2047](478715)|0;c[164924]=vi[d&2047](478739)|0;c[164925]=vi[d&2047](478767)|0;c[164926]=vi[d&2047](478797)|0;c[164927]=vi[d&2047](478828)|0;c[164928]=vi[d&2047](478850)|0;c[164929]=vi[d&2047](478873)|0;c[164930]=vi[d&2047](478897)|0;c[164931]=vi[d&2047](478916)|0;c[164932]=vi[d&2047](478936)|0;c[164933]=vi[d&2047](478958)|0;c[164934]=vi[d&2047](478982)|0;c[164935]=vi[d&2047](479006)|0;c[164936]=vi[d&2047](479036)|0;c[164937]=vi[d&2047](479066)|0;c[164938]=vi[d&2047](479096)|0;c[164939]=vi[d&2047](479129)|0;c[164940]=vi[d&2047](479162)|0;c[164941]=vi[d&2047](479195)|0;c[164942]=vi[d&2047](479226)|0;c[164943]=vi[d&2047](479257)|0;c[164944]=vi[d&2047](479288)|0;c[164945]=vi[d&2047](479319)|0;c[164946]=vi[d&2047](479353)|0;c[164947]=vi[d&2047](479387)|0;c[164948]=vi[d&2047](479421)|0;c[164949]=vi[d&2047](479453)|0;c[164950]=vi[d&2047](479479)|0;c[164951]=vi[d&2047](479505)|0;c[164952]=vi[d&2047](479531)|0;c[164953]=vi[d&2047](479557)|0;c[164954]=vi[d&2047](479578)|0;c[164955]=vi[d&2047](479602)|0;c[164956]=vi[d&2047](479622)|0;c[164957]=vi[d&2047](479644)|0;c[164958]=vi[d&2047](479675)|0;c[164959]=vi[d&2047](479703)|0;c[164960]=vi[d&2047](479730)|0;c[164961]=vi[d&2047](479752)|0;c[164962]=vi[d&2047](479774)|0;c[164963]=vi[d&2047](479796)|0;c[164964]=vi[d&2047](479818)|0;c[164965]=vi[d&2047](479840)|0;c[164966]=vi[d&2047](479862)|0;c[164967]=vi[d&2047](479884)|0;c[164968]=vi[d&2047](479906)|0;c[164969]=vi[d&2047](479929)|0;c[164970]=vi[d&2047](479952)|0;c[164971]=vi[d&2047](479975)|0;c[164972]=vi[d&2047](479998)|0;c[164973]=vi[d&2047](480021)|0;c[164974]=vi[d&2047](480044)|0;c[164975]=vi[d&2047](480067)|0;c[164976]=vi[d&2047](480090)|0;c[164977]=vi[d&2047](480119)|0;c[164978]=vi[d&2047](480148)|0;c[164979]=vi[d&2047](480177)|0;c[164980]=vi[d&2047](480208)|0;c[164981]=vi[d&2047](480239)|0;c[164982]=vi[d&2047](480270)|0;c[164983]=vi[d&2047](480301)|0;c[164984]=vi[d&2047](480332)|0;c[164985]=vi[d&2047](480363)|0;c[164986]=vi[d&2047](480382)|0;c[164987]=vi[d&2047](480402)|0;c[164988]=vi[d&2047](480427)|0;c[164989]=vi[d&2047](480453)|0;c[164990]=vi[d&2047](480481)|0;c[164991]=vi[d&2047](480510)|0;c[164992]=vi[d&2047](480536)|0;c[164993]=vi[d&2047](480563)|0;c[164994]=vi[d&2047](480592)|0;c[164995]=vi[d&2047](480622)|0;c[164996]=vi[d&2047](480645)|0;c[164997]=vi[d&2047](480668)|0;c[164998]=vi[d&2047](480691)|0;c[164999]=vi[d&2047](480714)|0;c[165e3]=vi[d&2047](480738)|0;c[165001]=vi[d&2047](480762)|0;c[165002]=vi[d&2047](480786)|0;c[165003]=vi[d&2047](480810)|0;c[165004]=vi[d&2047](480846)|0;c[165005]=vi[d&2047](480881)|0;c[165006]=vi[d&2047](480917)|0;c[165007]=vi[d&2047](480954)|0;c[165008]=vi[d&2047](480990)|0;c[165009]=vi[d&2047](481027)|0;c[165010]=vi[d&2047](481065)|0;c[165011]=vi[d&2047](481103)|0;c[165012]=vi[d&2047](481142)|0;c[165013]=vi[d&2047](481166)|0;c[165014]=vi[d&2047](481191)|0;c[165015]=vi[d&2047](481208)|0;c[165016]=vi[d&2047](481226)|0;c[165017]=vi[d&2047](481245)|0;c[165018]=vi[d&2047](481269)|0;c[165019]=vi[d&2047](481303)|0;c[165020]=vi[d&2047](481338)|0;c[165021]=vi[d&2047](481372)|0;c[165022]=vi[d&2047](481407)|0;c[165023]=vi[d&2047](481444)|0;c[165024]=vi[d&2047](481481)|0;c[165025]=vi[d&2047](481504)|0;c[165026]=vi[d&2047](481531)|0;c[165027]=vi[d&2047](481561)|0;c[165028]=vi[d&2047](481598)|0;c[165029]=vi[d&2047](481639)|0;c[165030]=vi[d&2047](481688)|0;c[165031]=vi[d&2047](481721)|0;c[165032]=vi[d&2047](481752)|0;c[165033]=vi[d&2047](481783)|0;c[165034]=vi[d&2047](481814)|0;c[165035]=vi[d&2047](481848)|0;c[165036]=vi[d&2047](481894)|0;c[165037]=vi[d&2047](481921)|0;c[165038]=vi[d&2047](481949)|0;c[165039]=vi[d&2047](481976)|0;c[165040]=vi[d&2047](482004)|0;c[165041]=vi[d&2047](482031)|0;c[165042]=vi[d&2047](482062)|0;c[165043]=vi[d&2047](482090)|0;c[165044]=vi[d&2047](482119)|0;c[165045]=vi[d&2047](482153)|0;c[165046]=vi[d&2047](482186)|0;c[165047]=vi[d&2047](482211)|0;c[165048]=vi[d&2047](482237)|0;c[165049]=vi[d&2047](482266)|0;c[165050]=vi[d&2047](482294)|0;c[165051]=vi[d&2047](482325)|0;c[165052]=vi[d&2047](482353)|0;c[165053]=vi[d&2047](482382)|0;c[165054]=vi[d&2047](482413)|0;c[165055]=vi[d&2047](482449)|0;c[165056]=vi[d&2047](482480)|0;c[165057]=vi[d&2047](482517)|0;c[165058]=vi[d&2047](482552)|0;c[165059]=vi[d&2047](482588)|0;c[165060]=vi[d&2047](482611)|0;c[165061]=vi[d&2047](482635)|0;c[165062]=vi[d&2047](482664)|0;c[165063]=vi[d&2047](482694)|0;c[165064]=vi[d&2047](482722)|0;c[165065]=vi[d&2047](482750)|0;c[165066]=vi[d&2047](482780)|0;c[165067]=vi[d&2047](482810)|0;c[165068]=vi[d&2047](482835)|0;c[165069]=vi[d&2047](482868)|0;c[165070]=vi[d&2047](482892)|0;c[165071]=vi[d&2047](482918)|0;c[165072]=vi[d&2047](482947)|0;c[165073]=vi[d&2047](482979)|0;c[165074]=vi[d&2047](483015)|0;c[165075]=vi[d&2047](483037)|0;c[165076]=vi[d&2047](483059)|0;c[165077]=vi[d&2047](483081)|0;c[165078]=vi[d&2047](483103)|0;c[165079]=vi[d&2047](483126)|0;c[165080]=vi[d&2047](483149)|0;c[165081]=vi[d&2047](483172)|0;c[165082]=vi[d&2047](483195)|0;c[165083]=vi[d&2047](483224)|0;c[165084]=vi[d&2047](483253)|0;c[165085]=vi[d&2047](483282)|0;c[165086]=vi[d&2047](483313)|0;c[165087]=vi[d&2047](483344)|0;c[165088]=vi[d&2047](483375)|0;c[165089]=vi[d&2047](483406)|0;c[165090]=vi[d&2047](483437)|0;c[165091]=vi[d&2047](483468)|0;c[165092]=vi[d&2047](483492)|0;c[165093]=vi[d&2047](483514)|0;c[165094]=vi[d&2047](483536)|0;c[165095]=vi[d&2047](483558)|0;c[165096]=vi[d&2047](483591)|0;c[165097]=vi[d&2047](483624)|0;c[165098]=vi[d&2047](483657)|0;c[165099]=vi[d&2047](483692)|0;c[165100]=vi[d&2047](483728)|0;c[165101]=vi[d&2047](483764)|0;c[165102]=vi[d&2047](483800)|0;c[165103]=vi[d&2047](483837)|0;c[165104]=vi[d&2047](483873)|0;c[165105]=vi[d&2047](483900)|0}if(a[1248939]|0)c[165106]=vi[d&2047](483936)|0;if(a[1248940]|0){c[165107]=vi[d&2047](483960)|0;c[165108]=vi[d&2047](483976)|0;c[165109]=vi[d&2047](483995)|0;c[165110]=vi[d&2047](484008)|0;c[165111]=vi[d&2047](484024)|0;c[165112]=vi[d&2047](484038)|0;c[165113]=vi[d&2047](484056)|0;c[165114]=vi[d&2047](484072)|0;c[165115]=vi[d&2047](484094)|0;c[165116]=vi[d&2047](484117)|0;c[165117]=vi[d&2047](484141)|0}if(a[1248941]|0)c[165118]=vi[d&2047](484166)|0;if(a[1248942]|0){c[165119]=vi[d&2047](484183)|0;c[164934]=vi[d&2047](478982)|0;c[164933]=vi[d&2047](478958)|0;c[164930]=vi[d&2047](478897)|0;c[164931]=vi[d&2047](478916)|0;c[164932]=vi[d&2047](478936)|0}if(a[1248943]|0){c[165120]=vi[d&2047](484205)|0;c[165121]=vi[d&2047](484218)|0;c[165122]=vi[d&2047](484232)|0;c[165123]=vi[d&2047](484252)|0;c[165124]=vi[d&2047](484280)|0;c[165125]=vi[d&2047](484296)|0;c[165126]=vi[d&2047](484320)|0;c[165127]=vi[d&2047](484336)|0}if(a[1248944]|0){c[165128]=vi[d&2047](484352)|0;c[165129]=vi[d&2047](484380)|0;c[165130]=vi[d&2047](484413)|0;c[165131]=vi[d&2047](484450)|0}if(a[1248945]|0){c[165132]=vi[d&2047](484483)|0;c[165133]=vi[d&2047](484508)|0}if(a[1248946]|0)c[165134]=vi[d&2047](484535)|0;if(a[1248947]|0)c[165135]=vi[d&2047](484556)|0;if(a[1248948]|0){c[165136]=vi[d&2047](484592)|0;c[165137]=vi[d&2047](484612)|0;c[165138]=vi[d&2047](484634)|0;c[165139]=vi[d&2047](484659)|0;c[165140]=vi[d&2047](484681)|0;c[165141]=vi[d&2047](484706)|0;c[165142]=vi[d&2047](484738)|0;c[165143]=vi[d&2047](484757)|0;c[165144]=vi[d&2047](484778)|0;c[165145]=vi[d&2047](484802)|0;c[165146]=vi[d&2047](484823)|0;c[165147]=vi[d&2047](484851)|0;c[165148]=vi[d&2047](484877)|0;c[165149]=vi[d&2047](484903)|0;c[165150]=vi[d&2047](484929)|0;c[165151]=vi[d&2047](484958)|0;c[165152]=vi[d&2047](484999)|0}if(a[1248950]|0)c[165153]=vi[d&2047](485019)|0;if(a[1248951]|0)c[165154]=vi[d&2047](485043)|0;if(a[1248952]|0){c[165155]=vi[d&2047](485066)|0;c[165156]=vi[d&2047](485095)|0}if(a[1248953]|0){c[165157]=vi[d&2047](485126)|0;c[164840]=vi[d&2047](476845)|0;c[165158]=vi[d&2047](485145)|0;c[165159]=vi[d&2047](485170)|0;c[165160]=vi[d&2047](485186)|0;c[165161]=vi[d&2047](485202)|0;c[165162]=vi[d&2047](485218)|0;c[165163]=vi[d&2047](485234)|0;c[165164]=vi[d&2047](485251)|0;c[165165]=vi[d&2047](485268)|0;c[165166]=vi[d&2047](485285)|0}if(a[1248954]|0){c[165132]=vi[d&2047](484483)|0;c[165133]=vi[d&2047](484508)|0;c[165167]=vi[d&2047](485302)|0}if(a[1248955]|0){c[165168]=vi[d&2047](485327)|0;c[165169]=vi[d&2047](485347)|0}if(a[1248956]|0){c[165170]=vi[d&2047](485375)|0;c[165171]=vi[d&2047](485404)|0}if(a[1248957]|0){c[165135]=vi[d&2047](484556)|0;c[165172]=vi[d&2047](485435)|0}if(a[1248958]|0){c[165173]=vi[d&2047](485472)|0;c[165174]=vi[d&2047](485495)|0;c[165175]=vi[d&2047](485519)|0}if(a[1248959]|0){c[165107]=vi[d&2047](483960)|0;c[165108]=vi[d&2047](483976)|0;c[165109]=vi[d&2047](483995)|0;c[165110]=vi[d&2047](484008)|0;c[165111]=vi[d&2047](484024)|0;c[165113]=vi[d&2047](484056)|0;c[165115]=vi[d&2047](484094)|0}if(a[1248962]|0)c[165176]=vi[d&2047](485538)|0;if(a[1248963]|0)c[165177]=vi[d&2047](485562)|0;if(a[1248964]|0)c[165178]=vi[d&2047](485588)|0;if(a[1248966]|0)c[165179]=vi[d&2047](485609)|0;if(a[1248967]|0){c[165180]=vi[d&2047](485628)|0;c[165181]=vi[d&2047](485656)|0;c[165182]=vi[d&2047](485673)|0;c[165183]=vi[d&2047](485692)|0}if(a[1248968]|0){c[165184]=vi[d&2047](485711)|0;c[165185]=vi[d&2047](485733)|0;c[165186]=vi[d&2047](485752)|0;c[165187]=vi[d&2047](485777)|0;c[165188]=vi[d&2047](485802)|0;c[165189]=vi[d&2047](485827)|0;c[165190]=vi[d&2047](485853)|0;c[165191]=vi[d&2047](485881)|0;c[165192]=vi[d&2047](485906)|0;c[165193]=vi[d&2047](485937)|0;c[165194]=vi[d&2047](485963)|0;c[165154]=vi[d&2047](485043)|0;c[164960]=vi[d&2047](479730)|0;c[164968]=vi[d&2047](479906)|0;c[164964]=vi[d&2047](479818)|0;c[164972]=vi[d&2047](479998)|0;c[164961]=vi[d&2047](479752)|0;c[164969]=vi[d&2047](479929)|0;c[164965]=vi[d&2047](479840)|0;c[164973]=vi[d&2047](480021)|0;c[164962]=vi[d&2047](479774)|0;c[164970]=vi[d&2047](479952)|0;c[164966]=vi[d&2047](479862)|0;c[164974]=vi[d&2047](480044)|0;c[164963]=vi[d&2047](479796)|0;c[164971]=vi[d&2047](479975)|0;c[164967]=vi[d&2047](479884)|0;c[164975]=vi[d&2047](480067)|0;c[164976]=vi[d&2047](480090)|0;c[164977]=vi[d&2047](480119)|0;c[164978]=vi[d&2047](480148)|0;c[165195]=vi[d&2047](485986)|0;c[165196]=vi[d&2047](486008)|0;c[164995]=vi[d&2047](480622)|0;c[164996]=vi[d&2047](480645)|0;c[164997]=vi[d&2047](480668)|0;c[164998]=vi[d&2047](480691)|0;c[164999]=vi[d&2047](480714)|0;c[165e3]=vi[d&2047](480738)|0;c[165001]=vi[d&2047](480762)|0;c[165002]=vi[d&2047](480786)|0;c[164978]=vi[d&2047](480148)|0;c[164979]=vi[d&2047](480177)|0;c[164980]=vi[d&2047](480208)|0;c[164981]=vi[d&2047](480239)|0;c[164982]=vi[d&2047](480270)|0;c[164983]=vi[d&2047](480301)|0;c[164984]=vi[d&2047](480332)|0}if(a[1248969]|0){c[165197]=vi[d&2047](486037)|0;c[165198]=vi[d&2047](486059)|0}if(a[1248970]|0)c[165199]=vi[d&2047](486078)|0;if(a[1248973]|0)c[165200]=vi[d&2047](486101)|0;if(a[1248974]|0)c[165201]=vi[d&2047](486122)|0;if(a[1248975]|0)c[165202]=vi[d&2047](486143)|0;if(a[1248976]|0){c[165203]=vi[d&2047](486172)|0;c[165204]=vi[d&2047](486193)|0;c[165205]=vi[d&2047](486215)|0;c[165206]=vi[d&2047](486239)|0;c[165207]=vi[d&2047](486264)|0;c[165208]=vi[d&2047](486289)|0;c[165209]=vi[d&2047](486315)|0;c[165210]=vi[d&2047](486343)|0}if(a[1248977]|0){c[165211]=vi[d&2047](486372)|0;c[165212]=vi[d&2047](486387)|0}if(a[1248978]|0)c[165211]=vi[d&2047](486372)|0;if(a[1248983]|0)c[165179]=vi[d&2047](485609)|0;if(a[1248984]|0){c[165203]=vi[d&2047](486172)|0;c[165204]=vi[d&2047](486193)|0;c[165205]=vi[d&2047](486215)|0;c[165206]=vi[d&2047](486239)|0;c[165213]=vi[d&2047](486407)|0;c[165214]=vi[d&2047](486425)|0}if(a[1248987]|0){c[165215]=vi[d&2047](486444)|0;c[165216]=vi[d&2047](486462)|0;c[165217]=vi[d&2047](486480)|0;c[165092]=vi[d&2047](483492)|0;c[165093]=vi[d&2047](483514)|0;c[165094]=vi[d&2047](483536)|0}if(a[1248988]|0)c[165218]=vi[d&2047](486498)|0;if(a[1248989]|0){c[165116]=vi[d&2047](484117)|0;c[165117]=vi[d&2047](484141)|0}if(a[1248990]|0){c[165219]=vi[d&2047](486515)|0;c[165220]=vi[d&2047](486543)|0;c[165221]=vi[d&2047](486569)|0;c[165222]=vi[d&2047](486590)|0;c[165223]=vi[d&2047](486612)|0;c[165224]=vi[d&2047](486632)|0;c[165225]=vi[d&2047](486663)|0}if(a[1248991]|0){c[165226]=vi[d&2047](486696)|0;c[165227]=vi[d&2047](486717)|0;c[165228]=vi[d&2047](486738)|0;c[165229]=vi[d&2047](486759)|0;c[165230]=vi[d&2047](486780)|0;c[165231]=vi[d&2047](486802)|0;c[165232]=vi[d&2047](486824)|0;c[165233]=vi[d&2047](486846)|0;c[165234]=vi[d&2047](486868)|0;c[165235]=vi[d&2047](486894)|0}if(a[1248992]|0)c[165236]=vi[d&2047](486918)|0;if(a[1248994]|0)c[165237]=vi[d&2047](486934)|0;if(a[1248995]|0){c[165238]=vi[d&2047](486956)|0;c[165239]=vi[d&2047](486969)|0;c[165240]=vi[d&2047](486983)|0;c[165241]=vi[d&2047](487003)|0;c[165242]=vi[d&2047](487031)|0;c[165243]=vi[d&2047](487047)|0;c[165244]=vi[d&2047](487071)|0;c[165245]=vi[d&2047](487087)|0}if(a[1248996]|0){c[165246]=vi[d&2047](487103)|0;c[165247]=vi[d&2047](487131)|0;c[165248]=vi[d&2047](487164)|0;c[165249]=vi[d&2047](487201)|0}if(a[1248997]|0){c[165250]=vi[d&2047](487234)|0;c[165251]=vi[d&2047](487263)|0}if(a[1248998]|0)c[165252]=vi[d&2047](487302)|0;if(a[1248999]|0){c[165253]=vi[d&2047](487326)|0;c[165254]=vi[d&2047](487348)|0}if(a[1249e3]|0){c[165255]=vi[d&2047](487367)|0;c[165256]=vi[d&2047](487382)|0;c[165257]=vi[d&2047](487399)|0}if(a[1249002]|0)c[165258]=vi[d&2047](487422)|0;if(a[1249004]|0)c[165259]=vi[d&2047](487448)|0;if(a[1249005]|0)c[165260]=vi[d&2047](487470)|0;if(a[1249006]|0){c[165261]=vi[d&2047](487491)|0;c[165262]=vi[d&2047](487507)|0;c[165263]=vi[d&2047](487526)|0;c[165264]=vi[d&2047](487549)|0;c[165265]=vi[d&2047](487575)|0;c[165266]=vi[d&2047](487604)|0}if(a[1249007]|0){c[165267]=vi[d&2047](487630)|0;c[165268]=vi[d&2047](487651)|0;c[165269]=vi[d&2047](487673)|0;c[165270]=vi[d&2047](487697)|0;c[165271]=vi[d&2047](487722)|0;c[165272]=vi[d&2047](487747)|0;c[165273]=vi[d&2047](487773)|0;c[165274]=vi[d&2047](487801)|0}if(a[1249008]|0){c[165275]=vi[d&2047](487830)|0;c[165276]=vi[d&2047](487845)|0}if(a[1249011]|0)c[165277]=vi[d&2047](487865)|0;if(a[1249012]|0)c[165278]=vi[d&2047](487894)|0;if(a[1249013]|0){c[165279]=vi[d&2047](487911)|0;c[165280]=vi[d&2047](487932)|0;c[165281]=vi[d&2047](487956)|0;c[165282]=vi[d&2047](487977)|0}if(a[1249014]|0){c[165283]=vi[d&2047](487996)|0;c[165284]=vi[d&2047](488020)|0;c[165285]=vi[d&2047](488044)|0;c[165286]=vi[d&2047](488070)|0}if(a[1249015]|0){c[165287]=vi[d&2047](488094)|0;c[165288]=vi[d&2047](488116)|0;c[165289]=vi[d&2047](488146)|0;c[165290]=vi[d&2047](488172)|0}if(a[1249016]|0){c[165291]=vi[d&2047](488206)|0;c[165292]=vi[d&2047](488222)|0;c[165293]=vi[d&2047](488238)|0;c[165294]=vi[d&2047](488254)|0;c[165295]=vi[d&2047](488270)|0;c[165296]=vi[d&2047](488287)|0;c[165297]=vi[d&2047](488304)|0;c[165298]=vi[d&2047](488321)|0;c[165299]=vi[d&2047](488338)|0;c[165300]=vi[d&2047](488355)|0;c[165301]=vi[d&2047](488372)|0;c[165302]=vi[d&2047](488389)|0;c[165303]=vi[d&2047](488406)|0;c[165304]=vi[d&2047](488424)|0;c[165305]=vi[d&2047](488442)|0;c[165306]=vi[d&2047](488460)|0;c[165307]=vi[d&2047](488478)|0;c[165308]=vi[d&2047](488497)|0;c[165309]=vi[d&2047](488517)|0;c[165310]=vi[d&2047](488540)|0;c[165311]=vi[d&2047](488563)|0;c[165312]=vi[d&2047](488586)|0;c[165313]=vi[d&2047](488609)|0;c[165314]=vi[d&2047](488633)|0;c[165315]=vi[d&2047](488657)|0;c[165316]=vi[d&2047](488681)|0;c[165317]=vi[d&2047](488705)|0;c[165318]=vi[d&2047](488729)|0;c[165319]=vi[d&2047](488753)|0;c[165320]=vi[d&2047](488777)|0;c[165321]=vi[d&2047](488801)|0;c[165322]=vi[d&2047](488826)|0;c[165323]=vi[d&2047](488851)|0;c[165324]=vi[d&2047](488876)|0}if(a[1249017]|0)c[165325]=vi[d&2047](488901)|0;if(a[1249018]|0){c[165326]=vi[d&2047](488929)|0;c[165327]=vi[d&2047](488958)|0}if(a[1249019]|0){c[165328]=vi[d&2047](488989)|0;c[165329]=vi[d&2047](489003)|0;c[165330]=vi[d&2047](489020)|0}if(a[1249020]|0)c[165331]=vi[d&2047](489032)|0;if(a[1249021]|0){c[165332]=vi[d&2047](489060)|0;c[165333]=vi[d&2047](489086)|0;c[165334]=vi[d&2047](489114)|0;c[165335]=vi[d&2047](489145)|0;c[165336]=vi[d&2047](489178)|0;c[165337]=vi[d&2047](489209)|0;c[165338]=vi[d&2047](489230)|0;c[165339]=vi[d&2047](489254)|0;c[165340]=vi[d&2047](489285)|0;c[165341]=vi[d&2047](489307)|0;c[165342]=vi[d&2047](489327)|0}if(a[1249022]|0)c[165343]=vi[d&2047](489358)|0;if(a[1249023]|0){c[165344]=vi[d&2047](489380)|0;c[165345]=vi[d&2047](489402)|0}if(a[1249024]|0)c[165346]=vi[d&2047](489428)|0;if(a[1249025]|0){c[165347]=vi[d&2047](489448)|0;c[165348]=vi[d&2047](489472)|0}if(a[1249026]|0)c[165349]=vi[d&2047](489494)|0;if(a[1249027]|0)c[165350]=vi[d&2047](489517)|0;if(a[1249028]|0){c[165351]=vi[d&2047](489555)|0;c[165352]=vi[d&2047](489582)|0;c[165353]=vi[d&2047](489611)|0}if(a[1249032]|0)c[165354]=vi[d&2047](489638)|0;if(a[1249034]|0)c[165355]=vi[d&2047](489671)|0;if(a[1249035]|0){c[165356]=vi[d&2047](489696)|0;c[165357]=vi[d&2047](489718)|0;c[165358]=vi[d&2047](489742)|0;c[165359]=vi[d&2047](489771)|0;c[165360]=vi[d&2047](489800)|0}if(a[1249036]|0){c[165361]=vi[d&2047](489834)|0;c[165362]=vi[d&2047](489851)|0;c[165363]=vi[d&2047](489871)|0;c[165364]=vi[d&2047](489887)|0;c[165365]=vi[d&2047](489902)|0;c[165366]=vi[d&2047](489919)|0;c[165367]=vi[d&2047](489938)|0;c[165368]=vi[d&2047](489956)|0}if(a[1249037]|0){c[165369]=vi[d&2047](489976)|0;c[165370]=vi[d&2047](49e4)|0}if(a[1249038]|0){c[165371]=vi[d&2047](490030)|0;c[165372]=vi[d&2047](490068)|0}if(a[1249039]|0){c[165373]=vi[d&2047](490105)|0;c[165374]=vi[d&2047](490128)|0;c[165375]=vi[d&2047](490153)|0}if(a[1249040]|0){c[165376]=vi[d&2047](490181)|0;c[165377]=vi[d&2047](490198)|0;c[165378]=vi[d&2047](490212)|0;c[165379]=vi[d&2047](490230)|0;c[165380]=vi[d&2047](490252)|0;c[165381]=vi[d&2047](490268)|0;c[165382]=vi[d&2047](490289)|0}if(a[1249041]|0){c[165383]=vi[d&2047](490306)|0;c[165384]=vi[d&2047](490326)|0}if(a[1249042]|0){c[165385]=vi[d&2047](490357)|0;c[165386]=vi[d&2047](490380)|0;c[165387]=vi[d&2047](490406)|0;c[165388]=vi[d&2047](490429)|0}if(a[1249043]|0){c[165389]=vi[d&2047](490450)|0;c[165390]=vi[d&2047](490474)|0;c[165391]=vi[d&2047](490503)|0}if(a[1249044]|0){c[165392]=vi[d&2047](490532)|0;c[165393]=vi[d&2047](490558)|0;c[165394]=vi[d&2047](490585)|0;c[165395]=vi[d&2047](490614)|0;c[165396]=vi[d&2047](490639)|0;c[165397]=vi[d&2047](490664)|0;c[165398]=vi[d&2047](490689)|0}if(a[1249046]|0)c[165399]=vi[d&2047](490714)|0;if(a[1249047]|0)c[165400]=vi[d&2047](490739)|0;if(a[1249048]|0){c[165401]=vi[d&2047](490761)|0;c[165402]=vi[d&2047](490797)|0}if(a[1249050]|0)c[165403]=vi[d&2047](490834)|0;if(a[1249051]|0)c[165404]=vi[d&2047](490858)|0;if(a[1249052]|0){c[165405]=vi[d&2047](490896)|0;c[165406]=vi[d&2047](490915)|0;c[165407]=vi[d&2047](490937)|0}if(a[1249053]|0){c[165408]=vi[d&2047](490957)|0;c[165409]=vi[d&2047](490979)|0;c[165410]=vi[d&2047](491002)|0;c[165411]=vi[d&2047](491025)|0;c[165412]=vi[d&2047](491045)|0;c[165413]=vi[d&2047](491072)|0;c[165414]=vi[d&2047](491098)|0;c[165415]=vi[d&2047](491124)|0;c[165416]=vi[d&2047](491148)|0;c[165417]=vi[d&2047](491176)|0}if(a[1249054]|0){c[165418]=vi[d&2047](491200)|0;c[165419]=vi[d&2047](491236)|0}if(a[1249055]|0){c[165420]=vi[d&2047](491274)|0;c[165421]=vi[d&2047](491315)|0}if(a[1249056]|0){c[165422]=vi[d&2047](491358)|0;c[165423]=vi[d&2047](491379)|0;c[165424]=vi[d&2047](491407)|0;c[165425]=vi[d&2047](491437)|0;c[165426]=vi[d&2047](491470)|0;c[165427]=vi[d&2047](491489)|0;c[165428]=vi[d&2047](491517)|0;c[165429]=vi[d&2047](491548)|0;c[165430]=vi[d&2047](491570)|0;c[165431]=vi[d&2047](491593)|0;c[165432]=vi[d&2047](491622)|0;c[165433]=vi[d&2047](491652)|0;c[165434]=vi[d&2047](491680)|0}if(a[1249057]|0){c[165435]=vi[d&2047](491706)|0;c[165436]=vi[d&2047](491726)|0}if(a[1249058]|0){c[165437]=vi[d&2047](491743)|0;c[165438]=vi[d&2047](491760)|0;c[165439]=vi[d&2047](491777)|0;c[165440]=vi[d&2047](491789)|0;c[165441]=vi[d&2047](491806)|0;c[165442]=vi[d&2047](491827)|0;c[165443]=vi[d&2047](491845)|0;c[165444]=vi[d&2047](491862)|0;c[165445]=vi[d&2047](491886)|0;c[165446]=vi[d&2047](491909)|0;c[165447]=vi[d&2047](491939)|0;c[165448]=vi[d&2047](491962)|0;c[165449]=vi[d&2047](491985)|0;c[165450]=vi[d&2047](492003)|0;c[165451]=vi[d&2047](492036)|0;c[165452]=vi[d&2047](492060)|0;c[165453]=vi[d&2047](492083)|0}if(a[1249059]|0){c[165454]=vi[d&2047](492103)|0;c[165455]=vi[d&2047](492130)|0}if(a[1249060]|0)c[165456]=vi[d&2047](492155)|0;if(a[1249061]|0)c[165457]=vi[d&2047](492181)|0;if(a[1249062]|0)c[165458]=vi[d&2047](492214)|0;if(a[1249063]|0)c[165459]=vi[d&2047](492236)|0;if(a[1249064]|0){c[165460]=vi[d&2047](492257)|0;c[165461]=vi[d&2047](492274)|0}if(a[1249065]|0){c[165462]=vi[d&2047](492296)|0;c[165463]=vi[d&2047](492312)|0;c[165464]=vi[d&2047](492328)|0}if(a[1249066]|0)c[165465]=vi[d&2047](492345)|0;if(a[1249067]|0){c[165466]=vi[d&2047](492361)|0;c[165467]=vi[d&2047](492385)|0}if(a[1249068]|0)c[165468]=vi[d&2047](492411)|0;if(a[1249069]|0){c[165469]=vi[d&2047](492427)|0;c[165470]=vi[d&2047](492448)|0;c[165471]=vi[d&2047](492470)|0}if(a[1249070]|0){c[165472]=vi[d&2047](492490)|0;c[165473]=vi[d&2047](492507)|0;c[165474]=vi[d&2047](492521)|0;c[165475]=vi[d&2047](492533)|0;c[165476]=vi[d&2047](492547)|0;c[165477]=vi[d&2047](492562)|0;c[165478]=vi[d&2047](492578)|0}if(a[1249071]|0)c[165479]=vi[d&2047](492591)|0;if(a[1249072]|0)c[165480]=vi[d&2047](492617)|0;if(a[1249073]|0){c[165179]=vi[d&2047](485609)|0;c[165481]=vi[d&2047](492637)|0;c[165482]=vi[d&2047](492665)|0;c[165483]=vi[d&2047](492696)|0}if(a[1249074]|0)c[165484]=vi[d&2047](492719)|0;if(a[1249075]|0)c[165485]=vi[d&2047](492754)|0;if(a[1249076]|0){c[165486]=vi[d&2047](492797)|0;c[165153]=vi[d&2047](485019)|0;c[165202]=vi[d&2047](486143)|0;c[165487]=vi[d&2047](492820)|0}if(a[1249077]|0){c[165488]=vi[d&2047](492848)|0;c[165489]=vi[d&2047](492877)|0;c[165490]=vi[d&2047](492907)|0;c[165491]=vi[d&2047](492938)|0;c[165492]=vi[d&2047](492968)|0;c[165493]=vi[d&2047](492999)|0;c[165494]=vi[d&2047](493031)|0;c[165495]=vi[d&2047](493058)|0;c[165496]=vi[d&2047](493086)|0;c[165497]=vi[d&2047](493115)|0;c[165498]=vi[d&2047](493143)|0;c[165499]=vi[d&2047](493172)|0;c[165500]=vi[d&2047](493202)|0;c[165501]=vi[d&2047](493234)|0;c[165502]=vi[d&2047](493267)|0;c[165503]=vi[d&2047](493297)|0}if(a[1249078]|0){c[165504]=vi[d&2047](493328)|0;c[165505]=vi[d&2047](493363)|0}if(a[1249079]|0){c[165291]=vi[d&2047](488206)|0;c[165292]=vi[d&2047](488222)|0;c[165293]=vi[d&2047](488238)|0;c[165294]=vi[d&2047](488254)|0;c[165295]=vi[d&2047](488270)|0;c[165296]=vi[d&2047](488287)|0;c[165297]=vi[d&2047](488304)|0;c[165298]=vi[d&2047](488321)|0;c[165299]=vi[d&2047](488338)|0;c[165300]=vi[d&2047](488355)|0;c[165301]=vi[d&2047](488372)|0;c[165302]=vi[d&2047](488389)|0;c[165303]=vi[d&2047](488406)|0;c[165304]=vi[d&2047](488424)|0;c[165305]=vi[d&2047](488442)|0;c[165306]=vi[d&2047](488460)|0;c[165307]=vi[d&2047](488478)|0;c[165309]=vi[d&2047](488517)|0;c[165310]=vi[d&2047](488540)|0;c[165311]=vi[d&2047](488563)|0;c[165312]=vi[d&2047](488586)|0;c[165313]=vi[d&2047](488609)|0;c[165314]=vi[d&2047](488633)|0;c[165315]=vi[d&2047](488657)|0;c[165316]=vi[d&2047](488681)|0;c[165317]=vi[d&2047](488705)|0;c[165318]=vi[d&2047](488729)|0;c[165319]=vi[d&2047](488753)|0;c[165320]=vi[d&2047](488777)|0;c[165321]=vi[d&2047](488801)|0;c[165322]=vi[d&2047](488826)|0;c[165323]=vi[d&2047](488851)|0;c[165324]=vi[d&2047](488876)|0}if(a[1249080]|0){c[165506]=vi[d&2047](493400)|0;c[165507]=vi[d&2047](493413)|0;c[165508]=vi[d&2047](493427)|0;c[165509]=vi[d&2047](493440)|0;c[165510]=vi[d&2047](493454)|0;c[165511]=vi[d&2047](493467)|0;c[165512]=vi[d&2047](493481)|0;c[165513]=vi[d&2047](493494)|0;c[165514]=vi[d&2047](493508)|0;c[165515]=vi[d&2047](493520)|0;c[165516]=vi[d&2047](493533)|0;c[165517]=vi[d&2047](493545)|0;c[165518]=vi[d&2047](493558)|0;c[165519]=vi[d&2047](493573)|0;c[165520]=vi[d&2047](493589)|0;c[165521]=vi[d&2047](493604)|0;c[165522]=vi[d&2047](493620)|0;c[165523]=vi[d&2047](493635)|0;c[165524]=vi[d&2047](493651)|0;c[165525]=vi[d&2047](493666)|0;c[165526]=vi[d&2047](493682)|0;c[165527]=vi[d&2047](493702)|0;c[165528]=vi[d&2047](493723)|0;c[165529]=vi[d&2047](493743)|0;c[165530]=vi[d&2047](493764)|0;c[165531]=vi[d&2047](493784)|0;c[165532]=vi[d&2047](493805)|0;c[165533]=vi[d&2047](493825)|0;c[165534]=vi[d&2047](493846)|0;c[165535]=vi[d&2047](493860)|0;c[165536]=vi[d&2047](493875)|0;c[165537]=vi[d&2047](493896)|0;c[165538]=vi[d&2047](493918)|0;c[165539]=vi[d&2047](493936)|0;c[165540]=vi[d&2047](493955)|0;c[165541]=vi[d&2047](493974)|0;c[165542]=vi[d&2047](493994)|0;c[165543]=vi[d&2047](494013)|0;c[165544]=vi[d&2047](494033)|0;c[165545]=vi[d&2047](494052)|0;c[165546]=vi[d&2047](494072)|0;c[165547]=vi[d&2047](494091)|0;c[165548]=vi[d&2047](494111)|0;c[165549]=vi[d&2047](494132)|0;c[165550]=vi[d&2047](494153)|0;c[165551]=vi[d&2047](494174)|0}if(a[1249081]|0)c[165552]=vi[d&2047](494195)|0;if(a[1249082]|0)c[165553]=vi[d&2047](494219)|0;if(a[1249083]|0){c[165554]=vi[d&2047](494249)|0;c[165555]=vi[d&2047](494272)|0;c[165556]=vi[d&2047](494295)|0;c[165557]=vi[d&2047](494318)|0;c[165558]=vi[d&2047](494341)|0;c[165559]=vi[d&2047](494364)|0}if(a[1249084]|0){c[165560]=vi[d&2047](494387)|0;c[165561]=vi[d&2047](494411)|0;c[165562]=vi[d&2047](494438)|0;c[165563]=vi[d&2047](494459)|0;c[165564]=vi[d&2047](494483)|0;c[165565]=vi[d&2047](494505)|0;c[165566]=vi[d&2047](494529)|0}if(a[1249085]|0){c[165567]=vi[d&2047](494554)|0;c[165568]=vi[d&2047](494584)|0;c[165569]=vi[d&2047](494615)|0}if(a[1249086]|0){c[165570]=vi[d&2047](494647)|0;c[165571]=vi[d&2047](494660)|0;c[165572]=vi[d&2047](494676)|0;c[165573]=vi[d&2047](494687)|0;c[165574]=vi[d&2047](494704)|0;c[165575]=vi[d&2047](494719)|0;c[165576]=vi[d&2047](494739)|0;c[165577]=vi[d&2047](494757)|0;c[165578]=vi[d&2047](494772)|0;c[165579]=vi[d&2047](494787)|0;c[165580]=vi[d&2047](494806)|0;c[165581]=vi[d&2047](494822)|0;c[165582]=vi[d&2047](494835)|0;c[165583]=vi[d&2047](494856)|0;c[165584]=vi[d&2047](494874)|0;c[165585]=vi[d&2047](494894)|0;c[165586]=vi[d&2047](494913)|0;c[165587]=vi[d&2047](494933)|0;c[165588]=vi[d&2047](494952)|0;c[165589]=vi[d&2047](494970)|0;c[165590]=vi[d&2047](494990)|0;c[165591]=vi[d&2047](495017)|0;c[165592]=vi[d&2047](495037)|0;c[165593]=vi[d&2047](495059)|0;c[165594]=vi[d&2047](495088)|0;c[165595]=vi[d&2047](495119)|0;c[165596]=vi[d&2047](495142)|0;c[165597]=vi[d&2047](495160)|0;c[165598]=vi[d&2047](495180)|0;c[165599]=vi[d&2047](495207)|0;c[165600]=vi[d&2047](495236)|0;c[165601]=vi[d&2047](495259)|0;c[165602]=vi[d&2047](495282)|0;c[165603]=vi[d&2047](495302)|0;c[165604]=vi[d&2047](495320)|0;c[165605]=vi[d&2047](495341)|0;c[165606]=vi[d&2047](495360)|0;c[165607]=vi[d&2047](495383)|0;c[165608]=vi[d&2047](495402)|0;c[165609]=vi[d&2047](495424)|0;c[165610]=vi[d&2047](495448)|0;c[165611]=vi[d&2047](495466)|0;c[165612]=vi[d&2047](495485)|0;c[165613]=vi[d&2047](495504)|0;c[165614]=vi[d&2047](495523)|0;c[165615]=vi[d&2047](495551)|0;c[165616]=vi[d&2047](495570)|0;c[165617]=vi[d&2047](495589)|0;c[165618]=vi[d&2047](495617)|0;c[165619]=vi[d&2047](495646)|0;c[165620]=vi[d&2047](495677)|0;c[165621]=vi[d&2047](495715)|0;c[165622]=vi[d&2047](495755)|0;c[165623]=vi[d&2047](495779)|0;c[165624]=vi[d&2047](495803)|0;c[165625]=vi[d&2047](495833)|0;c[165626]=vi[d&2047](495865)|0;c[165627]=vi[d&2047](495890)|0;c[165628]=vi[d&2047](495907)|0;c[165629]=vi[d&2047](495922)|0;c[165630]=vi[d&2047](495937)|0;c[165631]=vi[d&2047](495959)|0;c[165632]=vi[d&2047](495981)|0;c[165633]=vi[d&2047](496001)|0}if(a[1249087]|0)c[165634]=vi[d&2047](496021)|0;if(a[1249088]|0){c[165635]=vi[d&2047](496037)|0;c[165636]=vi[d&2047](496059)|0;c[165637]=vi[d&2047](496084)|0;c[165638]=vi[d&2047](496099)|0;c[165639]=vi[d&2047](496115)|0;c[165640]=vi[d&2047](496132)|0}if(a[1249089]|0){c[165641]=vi[d&2047](496150)|0;c[165642]=vi[d&2047](496171)|0}if(a[1249090]|0)c[165643]=vi[d&2047](496197)|0;if(a[1249091]|0){c[165644]=vi[d&2047](496212)|0;c[165645]=vi[d&2047](496245)|0;c[165646]=vi[d&2047](496283)|0}if(a[1249092]|0){c[165647]=vi[d&2047](496306)|0;c[165648]=vi[d&2047](496329)|0;c[165649]=vi[d&2047](496355)|0;c[165650]=vi[d&2047](496376)|0;c[165651]=vi[d&2047](496404)|0;c[165652]=vi[d&2047](496435)|0;c[165653]=vi[d&2047](496461)|0;c[165654]=vi[d&2047](496489)|0;c[165655]=vi[d&2047](496522)|0;c[165656]=vi[d&2047](496542)|0;c[165657]=vi[d&2047](496558)|0;c[165308]=vi[d&2047](488497)|0;c[165658]=vi[d&2047](496575)|0;c[165659]=vi[d&2047](496598)|0}if(a[1249093]|0)c[165660]=vi[d&2047](496622)|0;if(a[1249095]|0){c[165661]=vi[d&2047](496641)|0;c[165662]=vi[d&2047](496675)|0;c[165663]=vi[d&2047](496709)|0;c[165664]=vi[d&2047](496739)|0;c[165665]=vi[d&2047](496769)|0;c[165666]=vi[d&2047](496807)|0}if(a[1249096]|0){c[165667]=vi[d&2047](496845)|0;c[165668]=vi[d&2047](496872)|0;c[165669]=vi[d&2047](496897)|0;c[165670]=vi[d&2047](496926)|0;c[165671]=vi[d&2047](496946)|0;c[165672]=vi[d&2047](496967)|0;c[165673]=vi[d&2047](496986)|0;c[165674]=vi[d&2047](497016)|0;c[165675]=vi[d&2047](497034)|0;c[165676]=vi[d&2047](497057)|0;c[165677]=vi[d&2047](497078)|0;c[165678]=vi[d&2047](497110)|0}if(a[1249097]|0){c[165679]=vi[d&2047](497145)|0;c[165680]=vi[d&2047](497171)|0;c[165681]=vi[d&2047](497200)|0;c[165682]=vi[d&2047](497226)|0;c[165683]=vi[d&2047](497250)|0;c[165684]=vi[d&2047](497277)|0;c[165685]=vi[d&2047](497305)|0}if(a[1249098]|0){c[165686]=vi[d&2047](497331)|0;c[165687]=vi[d&2047](497345)|0;c[165688]=vi[d&2047](497359)|0;c[165689]=vi[d&2047](497389)|0;c[165690]=vi[d&2047](497420)|0;c[165691]=vi[d&2047](497439)|0;c[165692]=vi[d&2047](497466)|0;c[165693]=vi[d&2047](497488)|0;c[165694]=vi[d&2047](497511)|0;c[165695]=vi[d&2047](497532)|0}if(a[1249099]|0){c[165696]=vi[d&2047](497555)|0;c[165697]=vi[d&2047](497577)|0;c[165698]=vi[d&2047](497599)|0;c[165699]=vi[d&2047](497621)|0;c[165700]=vi[d&2047](497643)|0;c[165701]=vi[d&2047](497666)|0;c[165702]=vi[d&2047](497689)|0;c[165703]=vi[d&2047](497712)|0;c[165704]=vi[d&2047](497735)|0;c[165705]=vi[d&2047](497758)|0;c[165706]=vi[d&2047](497781)|0;c[165707]=vi[d&2047](497804)|0;c[165708]=vi[d&2047](497827)|0;c[165709]=vi[d&2047](497851)|0;c[165710]=vi[d&2047](497875)|0;c[165711]=vi[d&2047](497899)|0;c[165712]=vi[d&2047](497923)|0;c[165713]=vi[d&2047](497948)|0;c[165714]=vi[d&2047](497974)|0}if(a[1249100]|0){c[165715]=vi[d&2047](497998)|0;c[165716]=vi[d&2047](498021)|0;c[165717]=vi[d&2047](498038)|0;c[165718]=vi[d&2047](498055)|0;c[165719]=vi[d&2047](498071)|0;c[165720]=vi[d&2047](498087)|0;c[165721]=vi[d&2047](498106)|0;c[165722]=vi[d&2047](498125)|0;c[165723]=vi[d&2047](498150)|0;c[165724]=vi[d&2047](498169)|0;c[165725]=vi[d&2047](498192)|0;c[165726]=vi[d&2047](498216)|0}if(a[1249101]|0){c[165727]=vi[d&2047](498238)|0;c[165728]=vi[d&2047](498259)|0;c[165729]=vi[d&2047](498280)|0;c[165730]=vi[d&2047](498301)|0;c[165731]=vi[d&2047](498322)|0;c[165732]=vi[d&2047](498344)|0;c[165733]=vi[d&2047](498366)|0;c[165734]=vi[d&2047](498388)|0;c[165735]=vi[d&2047](498410)|0;c[165736]=vi[d&2047](498432)|0;c[165737]=vi[d&2047](498454)|0;c[165738]=vi[d&2047](498476)|0;c[165739]=vi[d&2047](498498)|0;c[165740]=vi[d&2047](498521)|0;c[165741]=vi[d&2047](498544)|0;c[165742]=vi[d&2047](498567)|0;c[165743]=vi[d&2047](498590)|0;c[165744]=vi[d&2047](498612)|0;c[165745]=vi[d&2047](498634)|0;c[165746]=vi[d&2047](498657)|0;c[165747]=vi[d&2047](498680)|0;c[165748]=vi[d&2047](498706)|0;c[165749]=vi[d&2047](498730)|0}if(a[1249102]|0){c[165750]=vi[d&2047](498755)|0;c[165751]=vi[d&2047](498777)|0;c[165752]=vi[d&2047](498810)|0;c[165753]=vi[d&2047](498844)|0;c[165754]=vi[d&2047](498864)|0;c[165755]=vi[d&2047](498886)|0;c[165756]=vi[d&2047](498914)|0;c[165757]=vi[d&2047](498942)|0;c[165758]=vi[d&2047](498970)|0;c[165759]=vi[d&2047](498987)|0;c[165760]=vi[d&2047](499021)|0;c[165761]=vi[d&2047](499055)|0}if(a[1249103]|0){c[165762]=vi[d&2047](499089)|0;c[165763]=vi[d&2047](499108)|0;c[165764]=vi[d&2047](499129)|0;c[165765]=vi[d&2047](499151)|0;c[165766]=vi[d&2047](499169)|0;c[165767]=vi[d&2047](499188)|0;c[165768]=vi[d&2047](499208)|0;c[165769]=vi[d&2047](499230)|0;c[165770]=vi[d&2047](499253)|0;c[165771]=vi[d&2047](499269)|0;c[165772]=vi[d&2047](499281)|0;c[165773]=vi[d&2047](499294)|0}if(a[1249104]|0){c[165774]=vi[d&2047](499309)|0;c[165775]=vi[d&2047](499337)|0}if(a[1249105]|0)c[165776]=vi[d&2047](499363)|0;if(a[1249106]|0)c[165777]=vi[d&2047](499396)|0;if(a[1249107]|0)c[165778]=vi[d&2047](499440)|0;if(a[1249108]|0){c[165779]=vi[d&2047](499456)|0;c[165780]=vi[d&2047](499480)|0;c[165781]=vi[d&2047](499509)|0;c[165782]=vi[d&2047](499535)|0}if(a[1249109]|0){c[165783]=vi[d&2047](499562)|0;c[165784]=vi[d&2047](499583)|0;c[165785]=vi[d&2047](499603)|0;c[165786]=vi[d&2047](499629)|0;c[165787]=vi[d&2047](499654)|0;c[165788]=vi[d&2047](499686)|0;c[165789]=vi[d&2047](499719)|0;c[165790]=vi[d&2047](499743)|0}if(a[1249110]|0){c[165791]=vi[d&2047](499770)|0;c[165792]=vi[d&2047](499790)|0;c[165793]=vi[d&2047](499811)|0;c[165794]=vi[d&2047](499836)|0}if(!(a[1249111]|0)){d=1;c[b+216>>2]=6;c[b+220>>2]=d|0;break a}c[165795]=vi[d&2047](499868)|0;c[165796]=vi[d&2047](499886)|0;d=1;c[b+216>>2]=6;c[b+220>>2]=d|0;break a}c[b+24>>2]=d}function rza(b){b=b|0;b=c[b+16>>2]|0;if(a[1248843]|0){c[164705]=vi[b&2047](457872)|0;c[164154]=vi[b&2047](457886)|0;c[163842]=vi[b&2047](457913)|0;c[163899]=vi[b&2047](457943)|0;c[163804]=vi[b&2047](457974)|0;c[163970]=vi[b&2047](457999)|0;c[164078]=vi[b&2047](458025)|0;c[164698]=vi[b&2047](458053)|0;c[164041]=vi[b&2047](458069)|0;c[164652]=vi[b&2047](458090)|0;c[164409]=vi[b&2047](458108)|0;c[163772]=vi[b&2047](458129)|0;c[164284]=vi[b&2047](458154)|0;c[164657]=vi[b&2047](458177)|0;c[163891]=vi[b&2047](458203)|0;c[164658]=vi[b&2047](458220)|0;c[164275]=vi[b&2047](458242)|0;c[164417]=vi[b&2047](458261)|0;c[163705]=vi[b&2047](458291)|0;c[164597]=vi[b&2047](458319)|0;c[164469]=vi[b&2047](458349)|0;c[164414]=vi[b&2047](458374)|0;c[164588]=vi[b&2047](458398)|0;c[164433]=vi[b&2047](458419)|0;c[164699]=vi[b&2047](458450)|0;c[163773]=vi[b&2047](458479)|0;c[164659]=vi[b&2047](458505)|0;c[164384]=vi[b&2047](458536)|0;c[163906]=vi[b&2047](458565)|0;c[164244]=vi[b&2047](458595)|0;c[164366]=vi[b&2047](458624)|0;c[164471]=vi[b&2047](458657)|0;c[164566]=vi[b&2047](458693)|0;c[163974]=vi[b&2047](458719)|0;c[164412]=vi[b&2047](458746)|0;c[163726]=vi[b&2047](458772)|0;c[163858]=vi[b&2047](458798)|0;c[164307]=vi[b&2047](458821)|0;c[164453]=vi[b&2047](458851)|0;c[164432]=vi[b&2047](458884)|0;c[164579]=vi[b&2047](458927)|0;c[163931]=vi[b&2047](458949)|0;c[164282]=vi[b&2047](458976)|0;c[163961]=vi[b&2047](459014)|0;c[163841]=vi[b&2047](459048)|0;c[164510]=vi[b&2047](459065)|0;c[163895]=vi[b&2047](459081)|0;c[163880]=vi[b&2047](459102)|0;c[164119]=vi[b&2047](459121)|0;c[164544]=vi[b&2047](459140)|0;c[163939]=vi[b&2047](459159)|0;c[163666]=vi[b&2047](459189)|0;c[164475]=vi[b&2047](459219)|0;c[164261]=vi[b&2047](459239)|0;c[164030]=vi[b&2047](459259)|0;c[164056]=vi[b&2047](459279)|0;c[164293]=vi[b&2047](459309)|0;c[164415]=vi[b&2047](459339)|0;c[164132]=vi[b&2047](459369)|0;c[164314]=vi[b&2047](459393)|0;c[163829]=vi[b&2047](459417)|0;c[163662]=vi[b&2047](459441)|0;c[163667]=vi[b&2047](459461)|0;c[163990]=vi[b&2047](459482)|0;c[164257]=vi[b&2047](459502)|0;c[164136]=vi[b&2047](459524)|0;c[164389]=vi[b&2047](459547)|0;c[164120]=vi[b&2047](459568)|0;c[163738]=vi[b&2047](459592)|0;c[164025]=vi[b&2047](459610)|0;c[163694]=vi[b&2047](459628)|0;c[164466]=vi[b&2047](459656)|0;c[164449]=vi[b&2047](459685)|0;c[164260]=vi[b&2047](459714)|0;c[163827]=vi[b&2047](459738)|0;c[164420]=vi[b&2047](459763)|0;c[164203]=vi[b&2047](459789)|0;c[164215]=vi[b&2047](459813)|0;c[163955]=vi[b&2047](459834)|0;c[164356]=vi[b&2047](459861)|0;c[163664]=vi[b&2047](459887)|0;c[163949]=vi[b&2047](459914)|0;c[164055]=vi[b&2047](459940)|0;c[163879]=vi[b&2047](459967)|0;c[164515]=vi[b&2047](459994)|0;c[163832]=vi[b&2047](460020)|0;c[163791]=vi[b&2047](460047)|0;c[163910]=vi[b&2047](460074)|0;c[164313]=vi[b&2047](460102)|0;c[163975]=vi[b&2047](460121)|0;c[164632]=vi[b&2047](460147)|0;c[164525]=vi[b&2047](460175)|0;c[164342]=vi[b&2047](460192)|0;c[163860]=vi[b&2047](460217)|0;c[163782]=vi[b&2047](460233)|0;c[164396]=vi[b&2047](460260)|0;c[164611]=vi[b&2047](460285)|0;c[163727]=vi[b&2047](460313)|0;c[163704]=vi[b&2047](460339)|0;c[164484]=vi[b&2047](460363)|0;c[164679]=vi[b&2047](460384)|0;c[163815]=vi[b&2047](460415)|0;c[164229]=vi[b&2047](460440)|0;c[164155]=vi[b&2047](460465)|0;c[163896]=vi[b&2047](460480)|0;c[164352]=vi[b&2047](460496)|0;c[164250]=vi[b&2047](460512)|0;c[164395]=vi[b&2047](460528)|0;c[164516]=vi[b&2047](460545)|0;c[164573]=vi[b&2047](460559)|0;c[163695]=vi[b&2047](460571)|0;c[163755]=vi[b&2047](460583)|0;c[164592]=vi[b&2047](460595)|0;c[164448]=vi[b&2047](460612)|0;c[163913]=vi[b&2047](460630)|0;c[163972]=vi[b&2047](460648)|0;c[164276]=vi[b&2047](460669)|0;c[164421]=vi[b&2047](460686)|0;c[164583]=vi[b&2047](460710)|0;c[164090]=vi[b&2047](460732)|0;c[163874]=vi[b&2047](460748)|0;c[164638]=vi[b&2047](460761)|0}if(a[1248844]|0){c[164331]=vi[b&2047](613338)|0;c[164266]=vi[b&2047](611112)|0;c[164547]=vi[b&2047](612410)|0;c[164600]=vi[b&2047](612036)|0;c[164245]=vi[b&2047](612431)|0;c[164317]=vi[b&2047](611578)|0;c[163728]=vi[b&2047](611345)|0;c[164447]=vi[b&2047](613704)|0;c[164512]=vi[b&2047](613354)|0;c[164398]=vi[b&2047](613394)|0;c[164407]=vi[b&2047](613382)|0;c[163723]=vi[b&2047](613684)|0;c[164608]=vi[b&2047](611497)|0;c[164556]=vi[b&2047](611510)|0;c[164541]=vi[b&2047](613296)|0;c[163811]=vi[b&2047](613235)|0;c[164438]=vi[b&2047](613610)|0;c[164480]=vi[b&2047](613167)|0;c[163959]=vi[b&2047](613255)|0;c[164509]=vi[b&2047](613650)|0;c[163689]=vi[b&2047](612228)|0;c[163721]=vi[b&2047](611254)|0;c[164492]=vi[b&2047](611277)|0;c[164010]=vi[b&2047](613776)|0;c[163720]=vi[b&2047](613793)|0;c[164408]=vi[b&2047](611013)|0;c[163715]=vi[b&2047](611082)|0;c[164248]=vi[b&2047](613224)|0;c[164424]=vi[b&2047](611458)|0;c[163801]=vi[b&2047](612467)|0;c[163740]=vi[b&2047](612303)|0;c[163979]=vi[b&2047](611556)|0;c[164128]=vi[b&2047](612159)|0;c[164200]=vi[b&2047](611237)|0;c[164491]=vi[b&2047](613181)|0;c[164687]=vi[b&2047](613270)|0;c[163700]=vi[b&2047](613431)|0;c[164186]=vi[b&2047](611142)|0;c[164236]=vi[b&2047](613202)|0;c[163854]=vi[b&2047](612964)|0;c[163802]=vi[b&2047](612991)|0;c[164129]=vi[b&2047](613004)|0;c[163875]=vi[b&2047](613193)|0;c[164332]=vi[b&2047](612938)|0;c[164125]=vi[b&2047](613137)|0;c[163926]=vi[b&2047](613146)|0;c[163673]=vi[b&2047](612488)|0;c[163820]=vi[b&2047](612514)|0;c[164696]=vi[b&2047](613212)|0;c[164400]=vi[b&2047](611445)|0;c[164292]=vi[b&2047](613321)|0;c[163840]=vi[b&2047](612449)|0;c[163719]=vi[b&2047](611537)|0;c[163965]=vi[b&2047](611223)|0;c[164232]=vi[b&2047](612141)|0;c[164694]=vi[b&2047](611760)|0;c[163846]=vi[b&2047](612174)|0;c[163952]=vi[b&2047](612121)|0;c[164127]=vi[b&2047](611209)|0;c[164106]=vi[b&2047](611474)|0;c[164614]=vi[b&2047](613058)|0;c[164618]=vi[b&2047](611197)|0;c[163821]=vi[b&2047](612537)|0;c[164630]=vi[b&2047](611183)|0;c[164616]=vi[b&2047](612277)|0;c[164104]=vi[b&2047](612360)|0;c[163927]=vi[b&2047](611597)|0;c[164033]=vi[b&2047](612263)|0;c[163838]=vi[b&2047](612244)|0;c[163943]=vi[b&2047](612319)|0;c[164153]=vi[b&2047](612210)|0;c[164183]=vi[b&2047](611171)|0;c[164499]=vi[b&2047](611359)|0;c[164213]=vi[b&2047](611379)|0;c[164346]=vi[b&2047](611643)|0;c[164052]=vi[b&2047](611658)|0;c[164513]=vi[b&2047](611673)|0;c[164225]=vi[b&2047](611694)|0;c[164081]=vi[b&2047](611714)|0;c[163933]=vi[b&2047](611734)|0;c[164177]=vi[b&2047](613467)|0;c[163716]=vi[b&2047](611526)|0;c[163817]=vi[b&2047](613370)|0;c[164411]=vi[b&2047](612575)|0;c[164323]=vi[b&2047](612398)|0;c[163847]=vi[b&2047](611626)|0;c[163868]=vi[b&2047](612292)|0;c[164650]=vi[b&2047](611433)|0;c[163684]=vi[b&2047](613243)|0;c[164176]=vi[b&2047](612346)|0;c[164061]=vi[b&2047](611157)|0;c[163902]=vi[b&2047](613474)|0;c[164337]=vi[b&2047](611332)|0;c[164586]=vi[b&2047](613034)|0;c[163747]=vi[b&2047](613662)|0;c[164219]=vi[b&2047](613507)|0;c[164426]=vi[b&2047](613623)|0;c[164274]=vi[b&2047](613019)|0;c[164582]=vi[b&2047](612195)|0;c[164365]=vi[b&2047](613573)|0;c[163954]=vi[b&2047](613717)|0;c[164646]=vi[b&2047](613282)|0;c[163697]=vi[b&2047](613445)|0;c[163818]=vi[b&2047](613587)|0;c[164202]=vi[b&2047](613739)|0;c[164645]=vi[b&2047](611303)|0;c[164149]=vi[b&2047](613540)|0;c[164660]=vi[b&2047](611399)|0;c[164151]=vi[b&2047](613524)|0;c[163831]=vi[b&2047](611416)|0;c[164235]=vi[b&2047](611316)|0;c[164224]=vi[b&2047](611779)|0;c[164653]=vi[b&2047](611927)|0;c[164231]=vi[b&2047](611827)|0;c[164359]=vi[b&2047](611875)|0;c[164596]=vi[b&2047](611791)|0;c[164461]=vi[b&2047](611940)|0;c[163980]=vi[b&2047](611839)|0;c[164020]=vi[b&2047](611888)|0;c[163759]=vi[b&2047](611803)|0;c[164060]=vi[b&2047](611953)|0;c[164233]=vi[b&2047](611851)|0;c[164086]=vi[b&2047](611901)|0;c[164340]=vi[b&2047](611815)|0;c[164693]=vi[b&2047](611966)|0;c[164330]=vi[b&2047](611863)|0;c[163958]=vi[b&2047](611914)|0;c[164606]=vi[b&2047](611979)|0;c[164661]=vi[b&2047](611998)|0;c[164692]=vi[b&2047](612017)|0;c[164101]=vi[b&2047](611048)|0;c[164158]=vi[b&2047](612380)|0;c[163722]=vi[b&2047](613490)|0;c[164021]=vi[b&2047](612049)|0;c[164684]=vi[b&2047](613556)|0;c[164622]=vi[b&2047](612067)|0;c[163779]=vi[b&2047](613633)|0;c[164084]=vi[b&2047](612085)|0;c[164206]=vi[b&2047](613759)|0;c[164327]=vi[b&2047](612103)|0;c[163985]=vi[b&2047](612916)|0;c[164137]=vi[b&2047](613599)|0}if(a[1248845]|0){c[164288]=vi[b&2047](444992)|0;c[164553]=vi[b&2047](612670)|0;c[164410]=vi[b&2047](448395)|0;c[164006]=vi[b&2047](448408)|0;c[164141]=vi[b&2047](448424)|0;c[164074]=vi[b&2047](448444)|0;c[163676]=vi[b&2047](448490)|0;c[164002]=vi[b&2047](450004)|0;c[164204]=vi[b&2047](450017)|0;c[164639]=vi[b&2047](450033)|0;c[164598]=vi[b&2047](450043)|0;c[164189]=vi[b&2047](450056)|0;c[163856]=vi[b&2047](450067)|0;c[163819]=vi[b&2047](450099)|0;c[164308]=vi[b&2047](450150)|0;c[164633]=vi[b&2047](450164)|0;c[164089]=vi[b&2047](613813)|0;c[164268]=vi[b&2047](450713)|0;c[163735]=vi[b&2047](450734)|0;c[164108]=vi[b&2047](450755)|0;c[164548]=vi[b&2047](450776)|0;c[163786]=vi[b&2047](450797)|0;c[163748]=vi[b&2047](450818)|0;c[163768]=vi[b&2047](451941)|0;c[164341]=vi[b&2047](451959)|0;c[163987]=vi[b&2047](451992)|0;c[164560]=vi[b&2047](452018)|0;c[163993]=vi[b&2047](452035)|0;c[164109]=vi[b&2047](612836)|0;c[163936]=vi[b&2047](612815)|0;c[164343]=vi[b&2047](612797)|0;c[163853]=vi[b&2047](452060)|0;c[163686]=vi[b&2047](450868)|0;c[164528]=vi[b&2047](450918)|0;c[164518]=vi[b&2047](450943)|0;c[164473]=vi[b&2047](450966)|0;c[164555]=vi[b&2047](450984)|0;c[164139]=vi[b&2047](451001)|0;c[163690]=vi[b&2047](451029)|0;c[164406]=vi[b&2047](451120)|0;c[164634]=vi[b&2047](451143)|0;c[164481]=vi[b&2047](451164)|0;c[164391]=vi[b&2047](451240)|0;c[164506]=vi[b&2047](451315)|0;c[164380]=vi[b&2047](451391)|0;c[164458]=vi[b&2047](451470)|0;c[163903]=vi[b&2047](451568)|0;c[163826]=vi[b&2047](451607)|0;c[163803]=vi[b&2047](451629)|0;c[164571]=vi[b&2047](451642)|0;c[164455]=vi[b&2047](451655)|0;c[164242]=vi[b&2047](451668)|0;c[164138]=vi[b&2047](451681)|0;c[164123]=vi[b&2047](451695)|0;c[164160]=vi[b&2047](451709)|0;c[164023]=vi[b&2047](451723)|0;c[164443]=vi[b&2047](451817)|0;c[164704]=vi[b&2047](451833)|0;c[163750]=vi[b&2047](451850)|0;c[163765]=vi[b&2047](451866)|0;c[164259]=vi[b&2047](451882)|0;c[164680]=vi[b&2047](452112)|0;c[163867]=vi[b&2047](452132)|0;c[163876]=vi[b&2047](452152)|0;c[164599]=vi[b&2047](452197)|0;c[164091]=vi[b&2047](452220)|0;c[164584]=vi[b&2047](452246)|0;c[164368]=vi[b&2047](452274)|0;c[164291]=vi[b&2047](613091)|0;c[163916]=vi[b&2047](613113)|0;c[163935]=vi[b&2047](452433)|0;c[163976]=vi[b&2047](452445)|0;c[164076]=vi[b&2047](452454)|0;c[164505]=vi[b&2047](452467)|0;c[164214]=vi[b&2047](452484)|0;c[163872]=vi[b&2047](452495)|0;c[164590]=vi[b&2047](452511)|0;c[164007]=vi[b&2047](452523)|0;c[164210]=vi[b&2047](452541)|0;c[163956]=vi[b&2047](452717)|0;c[163752]=vi[b&2047](452731)|0;c[164532]=vi[b&2047](452748)|0;c[163683]=vi[b&2047](452760)|0;c[164220]=vi[b&2047](452774)|0;c[164298]=vi[b&2047](452794)|0;c[164222]=vi[b&2047](452815)|0;c[164348]=vi[b&2047](452835)|0;c[164514]=vi[b&2047](452901)|0;c[163861]=vi[b&2047](452950)|0;c[164534]=vi[b&2047](613069)|0;c[164683]=vi[b&2047](454389)|0;c[164538]=vi[b&2047](454413)|0;c[164486]=vi[b&2047](454440)|0;c[164329]=vi[b&2047](454464)|0;c[163769]=vi[b&2047](454486)|0;c[164460]=vi[b&2047](454511)|0;c[164100]=vi[b&2047](454649)|0;c[164531]=vi[b&2047](454668)|0;c[163807]=vi[b&2047](454684)|0;c[164038]=vi[b&2047](457020)|0;c[164065]=vi[b&2047](457044)|0;c[164655]=vi[b&2047](456646)|0;c[164382]=vi[b&2047](456661)|0;c[164022]=vi[b&2047](456541)|0}if(a[1248846]|0){c[164e3]=vi[b&2047](456787)|0;c[164470]=vi[b&2047](456805)|0;c[163766]=vi[b&2047](453798)|0;c[164465]=vi[b&2047](453819)|0;c[164192]=vi[b&2047](456850)|0;c[164675]=vi[b&2047](456874)|0;c[163886]=vi[b&2047](457125)|0;c[164463]=vi[b&2047](457149)|0;c[164193]=vi[b&2047](457175)|0;c[164706]=vi[b&2047](457200)|0;c[164198]=vi[b&2047](457223)|0;c[164372]=vi[b&2047](454704)|0;c[163785]=vi[b&2047](454723)|0;c[164360]=vi[b&2047](454745)|0;c[164425]=vi[b&2047](454768)|0;c[164703]=vi[b&2047](454790)|0;c[164165]=vi[b&2047](454815)|0;c[164334]=vi[b&2047](454837)|0;c[164381]=vi[b&2047](454857)|0;c[163919]=vi[b&2047](454880)|0;c[164595]=vi[b&2047](455038)|0;c[164187]=vi[b&2047](455196)|0;c[164252]=vi[b&2047](455354)|0;c[163986]=vi[b&2047](454997)|0;c[164641]=vi[b&2047](455155)|0;c[163898]=vi[b&2047](455313)|0;c[164642]=vi[b&2047](455471)|0;c[163922]=vi[b&2047](454919)|0;c[164182]=vi[b&2047](455077)|0;c[164377]=vi[b&2047](455235)|0;c[164254]=vi[b&2047](455393)|0;c[164312]=vi[b&2047](454899)|0;c[163855]=vi[b&2047](455057)|0;c[163929]=vi[b&2047](455215)|0;c[164096]=vi[b&2047](455373)|0;c[163851]=vi[b&2047](455017)|0;c[164591]=vi[b&2047](455175)|0;c[164456]=vi[b&2047](455333)|0;c[164241]=vi[b&2047](455491)|0;c[164691]=vi[b&2047](454938)|0;c[163994]=vi[b&2047](455096)|0;c[164451]=vi[b&2047](455254)|0;c[164636]=vi[b&2047](455412)|0;c[164294]=vi[b&2047](455512)|0;c[164036]=vi[b&2047](455538)|0;c[163780]=vi[b&2047](455564)|0;c[164442]=vi[b&2047](455668)|0;c[163774]=vi[b&2047](455696)|0;c[164578]=vi[b&2047](455724)|0;c[164563]=vi[b&2047](455752)|0;c[164064]=vi[b&2047](455780)|0;c[164666]=vi[b&2047](455808)|0;c[163944]=vi[b&2047](456004)|0;c[164062]=vi[b&2047](456030)|0;c[163778]=vi[b&2047](456596)|0;c[164701]=vi[b&2047](450852)|0;c[163814]=vi[b&2047](456615)|0;c[163704]=vi[b&2047](460339)|0;c[164603]=vi[b&2047](457331)|0;c[163717]=vi[b&2047](452635)|0;c[163731]=vi[b&2047](452654)|0;c[163946]=vi[b&2047](445057)|0;c[164624]=vi[b&2047](445032)|0;c[164522]=vi[b&2047](457397)|0;c[164146]=vi[b&2047](457416)|0;c[164587]=vi[b&2047](457437)|0;c[164150]=vi[b&2047](457481)|0;c[163901]=vi[b&2047](457503)|0}if(a[1248847]|0){c[164640]=vi[b&2047](460778)|0;c[164018]=vi[b&2047](456831)|0;c[163736]=vi[b&2047](457526)|0;c[164524]=vi[b&2047](457548)|0;c[164143]=vi[b&2047](457569)|0;c[163850]=vi[b&2047](457592)|0;c[163942]=vi[b&2047](457613)|0;c[163881]=vi[b&2047](457630)|0;c[164390]=vi[b&2047](457646)|0;c[164181]=vi[b&2047](457660)|0;c[164037]=vi[b&2047](457677)|0;c[163989]=vi[b&2047](457694)|0;c[163900]=vi[b&2047](612656)|0;c[163709]=vi[b&2047](450884)|0;c[164577]=vi[b&2047](450894)|0;c[163882]=vi[b&2047](453722)|0;c[164498]=vi[b&2047](453739)|0;c[164550]=vi[b&2047](453764)|0;c[164562]=vi[b&2047](453777)|0;c[163764]=vi[b&2047](450839)|0;c[164013]=vi[b&2047](450905)|0;c[163945]=vi[b&2047](452296)|0;c[163733]=vi[b&2047](452321)|0;c[164353]=vi[b&2047](452351)|0;c[164561]=vi[b&2047](452566)|0;c[163998]=vi[b&2047](460793)|0;c[163815]=vi[b&2047](460415)|0;c[164516]=vi[b&2047](460545)|0;c[164352]=vi[b&2047](460496)|0;c[164250]=vi[b&2047](460512)|0;c[164395]=vi[b&2047](460528)|0;c[163725]=vi[b&2047](453703)|0;c[164594]=vi[b&2047](454352)|0;c[164511]=vi[b&2047](451737)|0;c[164290]=vi[b&2047](451755)|0;c[164610]=vi[b&2047](451774)|0;c[163969]=vi[b&2047](451795)|0;c[164115]=vi[b&2047](452856)|0;c[164454]=vi[b&2047](452878)|0;c[163775]=vi[b&2047](452925)|0;c[164472]=vi[b&2047](452974)|0;c[164156]=vi[b&2047](452076)|0;c[164697]=vi[b&2047](457314)|0;c[163953]=vi[b&2047](457357)|0}Lsa();if(a[1248848]|0)c[164707]=vi[b&2047](473709)|0;if(a[1248849]|0){c[163736]=vi[b&2047](457526)|0;c[164524]=vi[b&2047](457548)|0;c[164143]=vi[b&2047](457569)|0;c[163850]=vi[b&2047](457592)|0;c[163942]=vi[b&2047](457613)|0;c[163881]=vi[b&2047](457630)|0;c[164390]=vi[b&2047](457646)|0;c[164181]=vi[b&2047](457660)|0;c[164037]=vi[b&2047](457677)|0;c[163989]=vi[b&2047](457694)|0;c[163900]=vi[b&2047](612656)|0;c[164708]=vi[b&2047](473727)|0;c[164709]=vi[b&2047](473752)|0;c[164710]=vi[b&2047](473776)|0;c[164711]=vi[b&2047](473802)|0;c[164712]=vi[b&2047](473826)|0;c[164713]=vi[b&2047](473846)|0;c[164714]=vi[b&2047](473865)|0;c[164715]=vi[b&2047](473882)|0;c[164716]=vi[b&2047](473902)|0;c[164717]=vi[b&2047](473922)|0;c[164718]=vi[b&2047](473945)|0}if(a[1248850]|0){c[163815]=vi[b&2047](460415)|0;c[164516]=vi[b&2047](460545)|0;c[164352]=vi[b&2047](460496)|0;c[164250]=vi[b&2047](460512)|0;c[164395]=vi[b&2047](460528)|0;c[164719]=vi[b&2047](473962)|0;c[164720]=vi[b&2047](473990)|0;c[164721]=vi[b&2047](474007)|0;c[164722]=vi[b&2047](474026)|0;c[164723]=vi[b&2047](474045)|0}if(a[1248852]|0){c[164700]=vi[b&2047](456425)|0;c[163708]=vi[b&2047](456459)|0;c[163938]=vi[b&2047](456495)|0}if(a[1248853]|0){c[164724]=vi[b&2047](474065)|0;c[164725]=vi[b&2047](474087)|0;c[164726]=vi[b&2047](474116)|0;c[164727]=vi[b&2047](474147)|0;c[164728]=vi[b&2047](474181)|0;c[164729]=vi[b&2047](474201)|0;c[164730]=vi[b&2047](474230)|0;c[164731]=vi[b&2047](474262)|0;c[164732]=vi[b&2047](474285)|0;c[164733]=vi[b&2047](474309)|0;c[164734]=vi[b&2047](474339)|0;c[164735]=vi[b&2047](474370)|0;c[164736]=vi[b&2047](474399)|0;c[164737]=vi[b&2047](474426)|0;c[164738]=vi[b&2047](474450)|0;c[164739]=vi[b&2047](474475)|0}if(a[1248854]|0){c[164017]=vi[b&2047](452668)|0;c[163776]=vi[b&2047](452698)|0}if(a[1248855]|0)c[164503]=vi[b&2047](457714)|0;if(a[1248856]|0)c[164740]=vi[b&2047](474502)|0;if(a[1248857]|0){c[164527]=vi[b&2047](456748)|0;c[164221]=vi[b&2047](456766)|0}if(a[1248858]|0){c[164105]=vi[b&2047](457730)|0;c[163844]=vi[b&2047](457746)|0}if(a[1248859]|0)c[164705]=vi[b&2047](457872)|0;if(a[1248860]|0)c[164741]=vi[b&2047](474529)|0;if(a[1248861]|0){c[164e3]=vi[b&2047](456787)|0;c[164470]=vi[b&2047](456805)|0}if(a[1248862]|0)c[164742]=vi[b&2047](474545)|0;if(a[1248863]|0)c[164680]=vi[b&2047](452112)|0;if(a[1248864]|0)c[164018]=vi[b&2047](456831)|0;if(a[1248865]|0){c[164743]=vi[b&2047](474575)|0;c[164744]=vi[b&2047](474600)|0;c[164745]=vi[b&2047](474624)|0;c[164746]=vi[b&2047](474650)|0}if(a[1248866]|0){c[164154]=vi[b&2047](457886)|0;c[163842]=vi[b&2047](457913)|0;c[163899]=vi[b&2047](457943)|0;c[163804]=vi[b&2047](457974)|0;c[163970]=vi[b&2047](457999)|0;c[164078]=vi[b&2047](458025)|0;c[164698]=vi[b&2047](458053)|0;c[164041]=vi[b&2047](458069)|0;c[164652]=vi[b&2047](458090)|0;c[164409]=vi[b&2047](458108)|0;c[163772]=vi[b&2047](458129)|0;c[164284]=vi[b&2047](458154)|0;c[164657]=vi[b&2047](458177)|0;c[163891]=vi[b&2047](458203)|0;c[164658]=vi[b&2047](458220)|0;c[164275]=vi[b&2047](458242)|0;c[164417]=vi[b&2047](458261)|0;c[163705]=vi[b&2047](458291)|0;c[164597]=vi[b&2047](458319)|0;c[164469]=vi[b&2047](458349)|0;c[164414]=vi[b&2047](458374)|0;c[164588]=vi[b&2047](458398)|0;c[164433]=vi[b&2047](458419)|0;c[164699]=vi[b&2047](458450)|0;c[163773]=vi[b&2047](458479)|0;c[164659]=vi[b&2047](458505)|0;c[164384]=vi[b&2047](458536)|0;c[163906]=vi[b&2047](458565)|0;c[164244]=vi[b&2047](458595)|0;c[164366]=vi[b&2047](458624)|0;c[164471]=vi[b&2047](458657)|0;c[164566]=vi[b&2047](458693)|0;c[163974]=vi[b&2047](458719)|0;c[164412]=vi[b&2047](458746)|0;c[163726]=vi[b&2047](458772)|0;c[163858]=vi[b&2047](458798)|0;c[164307]=vi[b&2047](458821)|0;c[164453]=vi[b&2047](458851)|0;c[164432]=vi[b&2047](458884)|0;c[164579]=vi[b&2047](458927)|0;c[163931]=vi[b&2047](458949)|0;c[164282]=vi[b&2047](458976)|0;c[163961]=vi[b&2047](459014)|0;c[163841]=vi[b&2047](459048)|0;c[164510]=vi[b&2047](459065)|0;c[163895]=vi[b&2047](459081)|0;c[163880]=vi[b&2047](459102)|0;c[164119]=vi[b&2047](459121)|0;c[164544]=vi[b&2047](459140)|0;c[163939]=vi[b&2047](459159)|0;c[163666]=vi[b&2047](459189)|0;c[164475]=vi[b&2047](459219)|0;c[164261]=vi[b&2047](459239)|0;c[164030]=vi[b&2047](459259)|0;c[164056]=vi[b&2047](459279)|0;c[164293]=vi[b&2047](459309)|0;c[164415]=vi[b&2047](459339)|0;c[164132]=vi[b&2047](459369)|0;c[164314]=vi[b&2047](459393)|0;c[163829]=vi[b&2047](459417)|0;c[163662]=vi[b&2047](459441)|0;c[163667]=vi[b&2047](459461)|0;c[163990]=vi[b&2047](459482)|0;c[164257]=vi[b&2047](459502)|0;c[164136]=vi[b&2047](459524)|0;c[164389]=vi[b&2047](459547)|0;c[164120]=vi[b&2047](459568)|0;c[163738]=vi[b&2047](459592)|0;c[164025]=vi[b&2047](459610)|0;c[163694]=vi[b&2047](459628)|0;c[164466]=vi[b&2047](459656)|0;c[164449]=vi[b&2047](459685)|0;c[164260]=vi[b&2047](459714)|0;c[163827]=vi[b&2047](459738)|0;c[164420]=vi[b&2047](459763)|0;c[164203]=vi[b&2047](459789)|0;c[164215]=vi[b&2047](459813)|0;c[163955]=vi[b&2047](459834)|0;c[164356]=vi[b&2047](459861)|0;c[163664]=vi[b&2047](459887)|0;c[163949]=vi[b&2047](459914)|0;c[164055]=vi[b&2047](459940)|0;c[163879]=vi[b&2047](459967)|0;c[164515]=vi[b&2047](459994)|0;c[163832]=vi[b&2047](460020)|0;c[163791]=vi[b&2047](460047)|0;c[163910]=vi[b&2047](460074)|0;c[164313]=vi[b&2047](460102)|0;c[163975]=vi[b&2047](460121)|0;c[164632]=vi[b&2047](460147)|0;c[164525]=vi[b&2047](460175)|0;c[164342]=vi[b&2047](460192)|0;c[163860]=vi[b&2047](460217)|0;c[163782]=vi[b&2047](460233)|0;c[164396]=vi[b&2047](460260)|0;c[164611]=vi[b&2047](460285)|0;c[163727]=vi[b&2047](460313)|0}if(a[1248867]|0){c[164747]=vi[b&2047](474674)|0;c[164748]=vi[b&2047](474694)|0;c[164749]=vi[b&2047](474722)|0;c[164750]=vi[b&2047](474738)|0}if(a[1248868]|0){c[163945]=vi[b&2047](452296)|0;c[163733]=vi[b&2047](452321)|0;c[164353]=vi[b&2047](452351)|0;c[164116]=vi[b&2047](452385)|0}if(a[1248869]|0){c[163766]=vi[b&2047](453798)|0;c[164465]=vi[b&2047](453819)|0}if(a[1248870]|0){c[164751]=vi[b&2047](474762)|0;c[164752]=vi[b&2047](474787)|0}if(a[1248871]|0){c[164586]=vi[b&2047](613034)|0;c[164274]=vi[b&2047](613019)|0;c[163943]=vi[b&2047](612319)|0;c[163700]=vi[b&2047](613431)|0;c[164480]=vi[b&2047](613167)|0}if(a[1248872]|0)c[163704]=vi[b&2047](460339)|0;if(a[1248873]|0)c[164753]=vi[b&2047](474814)|0;if(a[1248875]|0){c[164192]=vi[b&2047](456850)|0;c[164675]=vi[b&2047](456874)|0}if(a[1248876]|0){c[163847]=vi[b&2047](611626)|0;c[164317]=vi[b&2047](611578)|0;c[163979]=vi[b&2047](611556)|0;c[163719]=vi[b&2047](611537)|0;c[163747]=vi[b&2047](613662)|0;c[163927]=vi[b&2047](611597)|0;c[164411]=vi[b&2047](612575)|0;c[164245]=vi[b&2047](612431)|0;c[163801]=vi[b&2047](612467)|0;c[163840]=vi[b&2047](612449)|0;c[164541]=vi[b&2047](613296)|0;c[164031]=vi[b&2047](451895)|0;c[163820]=vi[b&2047](612514)|0;c[164277]=vi[b&2047](451918)|0;c[163673]=vi[b&2047](612488)|0;c[163821]=vi[b&2047](612537)|0;c[164292]=vi[b&2047](613321)|0;c[163768]=vi[b&2047](451941)|0;c[164341]=vi[b&2047](451959)|0;c[163987]=vi[b&2047](451992)|0}if(a[1248878]|0){c[164754]=vi[b&2047](474840)|0;c[164755]=vi[b&2047](474863)|0;c[164756]=vi[b&2047](474887)|0;c[164757]=vi[b&2047](474916)|0}if(a[1248879]|0){c[164100]=vi[b&2047](454649)|0;c[164531]=vi[b&2047](454668)|0;c[163807]=vi[b&2047](454684)|0}if(a[1248880]|0){c[164484]=vi[b&2047](460363)|0;c[164679]=vi[b&2047](460384)|0}if(a[1248881]|0){c[164226]=vi[b&2047](453842)|0;c[164604]=vi[b&2047](453854)|0;c[163758]=vi[b&2047](453866)|0;c[164032]=vi[b&2047](453878)|0;c[163968]=vi[b&2047](453890)|0;c[163920]=vi[b&2047](453903)|0;c[164665]=vi[b&2047](453916)|0;c[164050]=vi[b&2047](453929)|0;c[164549]=vi[b&2047](453942)|0;c[163787]=vi[b&2047](453961)|0;c[164079]=vi[b&2047](453980)|0;c[163995]=vi[b&2047](453999)|0;c[164621]=vi[b&2047](454020)|0;c[164326]=vi[b&2047](454041)|0;c[164296]=vi[b&2047](454062)|0;c[164082]=vi[b&2047](454083)|0;c[164194]=vi[b&2047](454104)|0;c[164477]=vi[b&2047](454125)|0}if(a[1248882]|0){c[164758]=vi[b&2047](474944)|0;c[164759]=vi[b&2047](474961)|0;c[164760]=vi[b&2047](474978)|0;c[164761]=vi[b&2047](474995)|0;c[164762]=vi[b&2047](475012)|0;c[164763]=vi[b&2047](475030)|0;c[164764]=vi[b&2047](475048)|0;c[164765]=vi[b&2047](475066)|0;c[164766]=vi[b&2047](475084)|0;c[164767]=vi[b&2047](475102)|0;c[164768]=vi[b&2047](475120)|0;c[164769]=vi[b&2047](475138)|0;c[164770]=vi[b&2047](475156)|0;c[164771]=vi[b&2047](475175)|0;c[164772]=vi[b&2047](475194)|0;c[164773]=vi[b&2047](475213)|0;c[164774]=vi[b&2047](475232)|0;c[164775]=vi[b&2047](475252)|0;c[164776]=vi[b&2047](475273)|0;c[164777]=vi[b&2047](475294)|0;c[164778]=vi[b&2047](475316)|0;c[164779]=vi[b&2047](475340)|0;c[164780]=vi[b&2047](475364)|0;c[164781]=vi[b&2047](475388)|0;c[164782]=vi[b&2047](475412)|0;c[164783]=vi[b&2047](475437)|0;c[164784]=vi[b&2047](475462)|0;c[164785]=vi[b&2047](475487)|0;c[164786]=vi[b&2047](475512)|0;c[164787]=vi[b&2047](475537)|0;c[164788]=vi[b&2047](475562)|0;c[164789]=vi[b&2047](475587)|0;c[164790]=vi[b&2047](475612)|0;c[164791]=vi[b&2047](475638)|0;c[164792]=vi[b&2047](475664)|0;c[164793]=vi[b&2047](475690)|0}if(a[1248883]|0){c[164794]=vi[b&2047](475716)|0;c[164795]=vi[b&2047](475750)|0}if(a[1248884]|0)c[164796]=vi[b&2047](475786)|0;if(a[1248885]|0)c[164022]=vi[b&2047](456541)|0;if(a[1248886]|0)c[164130]=vi[b&2047](456902)|0;if(a[1248887]|0){c[164418]=vi[b&2047](456926)|0;c[164145]=vi[b&2047](456950)|0;c[163792]=vi[b&2047](456971)|0;c[164053]=vi[b&2047](456997)|0;c[164038]=vi[b&2047](457020)|0;c[164065]=vi[b&2047](457044)|0}if(a[1248888]|0){c[164560]=vi[b&2047](452018)|0;c[163993]=vi[b&2047](452035)|0}if(a[1248889]|0){c[164668]=vi[b&2047](457765)|0;c[164014]=vi[b&2047](457783)|0;c[164039]=vi[b&2047](457802)|0;c[164535]=vi[b&2047](457817)|0;c[164422]=vi[b&2047](457832)|0;c[163951]=vi[b&2047](457852)|0}if(a[1248890]|0){c[163746]=vi[b&2047](457071)|0;c[164355]=vi[b&2047](457097)|0}if(a[1248891]|0)c[164797]=vi[b&2047](475811)|0;if(a[1248892]|0){c[163886]=vi[b&2047](457125)|0;c[164463]=vi[b&2047](457149)|0;c[164193]=vi[b&2047](457175)|0;c[164706]=vi[b&2047](457200)|0;c[164198]=vi[b&2047](457223)|0;c[164501]=vi[b&2047](457252)|0}if(a[1248893]|0)c[164273]=vi[b&2047](452415)|0;if(a[1248894]|0){c[164798]=vi[b&2047](475841)|0;c[164799]=vi[b&2047](475869)|0;c[164800]=vi[b&2047](475887)|0;c[164801]=vi[b&2047](475904)|0;c[164802]=vi[b&2047](475932)|0;c[164803]=vi[b&2047](475951)|0;c[164804]=vi[b&2047](475970)|0;c[164805]=vi[b&2047](475990)|0;c[164806]=vi[b&2047](476009)|0;c[164807]=vi[b&2047](476024)|0;c[164808]=vi[b&2047](476039)|0;c[164809]=vi[b&2047](476054)|0;c[164810]=vi[b&2047](476074)|0;c[164811]=vi[b&2047](476095)|0;c[164812]=vi[b&2047](476116)|0;c[164813]=vi[b&2047](476140)|0;c[164814]=vi[b&2047](476160)|0;c[164815]=vi[b&2047](476187)|0;c[164816]=vi[b&2047](476212)|0;c[164817]=vi[b&2047](476231)|0}if(a[1248895]|0){c[164818]=vi[b&2047](476247)|0;c[164819]=vi[b&2047](476281)|0;c[164820]=vi[b&2047](476320)|0}if(a[1248896]|0)c[164821]=vi[b&2047](476345)|0;if(a[1248897]|0){c[163956]=vi[b&2047](452717)|0;c[163752]=vi[b&2047](452731)|0;c[164532]=vi[b&2047](452748)|0;c[163683]=vi[b&2047](452760)|0;c[164220]=vi[b&2047](452774)|0;c[164298]=vi[b&2047](452794)|0;c[164222]=vi[b&2047](452815)|0;c[164348]=vi[b&2047](452835)|0;c[164115]=vi[b&2047](452856)|0;c[164454]=vi[b&2047](452878)|0;c[164514]=vi[b&2047](452901)|0;c[163775]=vi[b&2047](452925)|0;c[163861]=vi[b&2047](452950)|0;c[164472]=vi[b&2047](452974)|0}if(a[1248898]|0){c[164372]=vi[b&2047](454704)|0;c[163785]=vi[b&2047](454723)|0;c[164360]=vi[b&2047](454745)|0;c[164425]=vi[b&2047](454768)|0;c[164703]=vi[b&2047](454790)|0;c[164165]=vi[b&2047](454815)|0;c[164334]=vi[b&2047](454837)|0;c[164381]=vi[b&2047](454857)|0;c[163919]=vi[b&2047](454880)|0;c[164312]=vi[b&2047](454899)|0;c[163922]=vi[b&2047](454919)|0;c[164691]=vi[b&2047](454938)|0;c[163921]=vi[b&2047](454958)|0;c[164216]=vi[b&2047](454977)|0;c[163986]=vi[b&2047](454997)|0;c[163851]=vi[b&2047](455017)|0;c[164595]=vi[b&2047](455038)|0;c[163855]=vi[b&2047](455057)|0;c[164182]=vi[b&2047](455077)|0;c[163994]=vi[b&2047](455096)|0;c[164093]=vi[b&2047](455116)|0;c[164027]=vi[b&2047](455135)|0;c[164641]=vi[b&2047](455155)|0;c[164591]=vi[b&2047](455175)|0;c[164187]=vi[b&2047](455196)|0;c[163929]=vi[b&2047](455215)|0;c[164377]=vi[b&2047](455235)|0;c[164451]=vi[b&2047](455254)|0;c[164378]=vi[b&2047](455274)|0;c[163710]=vi[b&2047](455293)|0;c[163898]=vi[b&2047](455313)|0;c[164456]=vi[b&2047](455333)|0;c[164252]=vi[b&2047](455354)|0;c[164096]=vi[b&2047](455373)|0;c[164254]=vi[b&2047](455393)|0;c[164636]=vi[b&2047](455412)|0;c[164256]=vi[b&2047](455432)|0;c[164445]=vi[b&2047](455451)|0;c[164642]=vi[b&2047](455471)|0;c[164241]=vi[b&2047](455491)|0;c[164294]=vi[b&2047](455512)|0;c[164036]=vi[b&2047](455538)|0;c[163780]=vi[b&2047](455564)|0;c[163718]=vi[b&2047](455590)|0;c[164272]=vi[b&2047](455616)|0;c[163996]=vi[b&2047](455642)|0;c[164442]=vi[b&2047](455668)|0;c[163774]=vi[b&2047](455696)|0;c[164578]=vi[b&2047](455724)|0;c[164563]=vi[b&2047](455752)|0;c[164064]=vi[b&2047](455780)|0;c[164666]=vi[b&2047](455808)|0;c[164173]=vi[b&2047](455836)|0;c[163771]=vi[b&2047](455864)|0;c[163999]=vi[b&2047](455892)|0;c[163866]=vi[b&2047](455920)|0;c[163845]=vi[b&2047](455948)|0;c[164094]=vi[b&2047](455976)|0;c[163944]=vi[b&2047](456004)|0;c[164062]=vi[b&2047](456030)|0}if(a[1248899]|0)c[164201]=vi[b&2047](456563)|0;if(a[1248900]|0){c[163778]=vi[b&2047](456596)|0;c[163814]=vi[b&2047](456615)|0}if(a[1248901]|0)c[163863]=vi[b&2047](457286)|0;if(a[1248902]|0){c[164670]=vi[b&2047](454140)|0;c[164402]=vi[b&2047](454171)|0;c[164152]=vi[b&2047](454192)|0;c[164462]=vi[b&2047](454223)|0;c[164361]=vi[b&2047](454256)|0;c[163674]=vi[b&2047](454282)|0;c[164520]=vi[b&2047](454306)|0;c[164322]=vi[b&2047](454332)|0}if(a[1248903]|0){c[164822]=vi[b&2047](476367)|0;c[164823]=vi[b&2047](476384)|0;c[164824]=vi[b&2047](476407)|0;c[164825]=vi[b&2047](476433)|0;c[164826]=vi[b&2047](476452)|0;c[164827]=vi[b&2047](476472)|0}if(a[1248904]|0){c[164828]=vi[b&2047](476494)|0;c[164829]=vi[b&2047](476520)|0;c[164830]=vi[b&2047](476551)|0}if(a[1248905]|0)c[164831]=vi[b&2047](476582)|0;if(a[1248906]|0){c[163935]=vi[b&2047](452433)|0;c[163976]=vi[b&2047](452445)|0;c[164076]=vi[b&2047](452454)|0;c[164505]=vi[b&2047](452467)|0;c[164214]=vi[b&2047](452484)|0;c[163872]=vi[b&2047](452495)|0;c[164590]=vi[b&2047](452511)|0}if(a[1248907]|0){c[164594]=vi[b&2047](454352)|0;c[164045]=vi[b&2047](454370)|0}if(a[1248908]|0)c[164638]=vi[b&2047](460761)|0;if(a[1248909]|0)c[164832]=vi[b&2047](476605)|0;if(a[1248910]|0)c[164697]=vi[b&2047](457314)|0;if(a[1248914]|0){c[164080]=vi[b&2047](452587)|0;c[164690]=vi[b&2047](452611)|0;c[163717]=vi[b&2047](452635)|0;c[163731]=vi[b&2047](452654)|0}if(a[1248916]|0){c[164223]=vi[b&2047](456631)|0;c[164655]=vi[b&2047](456646)|0;c[164382]=vi[b&2047](456661)|0}if(a[1248917]|0){c[164603]=vi[b&2047](457331)|0;c[163953]=vi[b&2047](457357)|0}if(a[1248918]|0)c[164576]=vi[b&2047](457383)|0;if(a[1248919]|0){c[164270]=vi[b&2047](453e3)|0;c[163839]=vi[b&2047](453015)|0;c[164686]=vi[b&2047](453036)|0}if(a[1248920]|0){c[164683]=vi[b&2047](454389)|0;c[164538]=vi[b&2047](454413)|0;c[164486]=vi[b&2047](454440)|0;c[164329]=vi[b&2047](454464)|0;c[163769]=vi[b&2047](454486)|0;c[164460]=vi[b&2047](454511)|0;c[163967]=vi[b&2047](454537)|0}if(a[1248921]|0){c[164264]=vi[b&2047](454561)|0;c[163928]=vi[b&2047](454591)|0;c[164028]=vi[b&2047](454611)|0;c[164385]=vi[b&2047](454629)|0}if(a[1248922]|0){c[163962]=vi[b&2047](456676)|0;c[163692]=vi[b&2047](456709)|0}if(a[1248923]|0){c[163867]=vi[b&2047](452132)|0;c[163876]=vi[b&2047](452152)|0;c[163813]=vi[b&2047](452174)|0;c[164599]=vi[b&2047](452197)|0;c[164091]=vi[b&2047](452220)|0;c[164584]=vi[b&2047](452246)|0;c[164368]=vi[b&2047](452274)|0;c[164473]=vi[b&2047](450966)|0;c[164555]=vi[b&2047](450984)|0;c[163686]=vi[b&2047](450868)|0}if(a[1248924]|0){c[164109]=vi[b&2047](612836)|0;c[163936]=vi[b&2047](612815)|0;c[164343]=vi[b&2047](612797)|0;c[163853]=vi[b&2047](452060)|0}if(a[1248925]|0){c[164564]=vi[b&2047](456058)|0;c[164363]=vi[b&2047](456076)|0;c[164702]=vi[b&2047](456094)|0;c[163777]=vi[b&2047](456112)|0;c[163894]=vi[b&2047](456130)|0;c[164354]=vi[b&2047](456149)|0;c[164476]=vi[b&2047](456168)|0;c[163918]=vi[b&2047](456187)|0;c[164349]=vi[b&2047](456206)|0;c[164394]=vi[b&2047](456229)|0}if(a[1248926]|0){c[164522]=vi[b&2047](457397)|0;c[164146]=vi[b&2047](457416)|0;c[164587]=vi[b&2047](457437)|0;c[164117]=vi[b&2047](457459)|0;c[164150]=vi[b&2047](457481)|0;c[163901]=vi[b&2047](457503)|0}if(a[1248927]|0){c[164005]=vi[b&2047](453058)|0;c[164175]=vi[b&2047](453077)|0;c[164617]=vi[b&2047](453097)|0;c[164184]=vi[b&2047](453116)|0;c[163893]=vi[b&2047](453136)|0;c[164627]=vi[b&2047](453155)|0;c[163714]=vi[b&2047](453175)|0;c[164321]=vi[b&2047](453194)|0;c[163732]=vi[b&2047](453214)|0;c[164434]=vi[b&2047](453227)|0;c[164533]=vi[b&2047](453241)|0;c[163830]=vi[b&2047](453254)|0;c[163707]=vi[b&2047](453268)|0;c[164570]=vi[b&2047](453281)|0;c[164613]=vi[b&2047](453295)|0;c[163960]=vi[b&2047](453310)|0;c[163763]=vi[b&2047](453326)|0;c[164593]=vi[b&2047](453341)|0;c[163809]=vi[b&2047](453357)|0;c[163789]=vi[b&2047](453372)|0;c[163983]=vi[b&2047](453388)|0;c[164427]=vi[b&2047](453403)|0;c[163897]=vi[b&2047](453419)|0;c[164059]=vi[b&2047](453439)|0;c[163770]=vi[b&2047](453460)|0;c[164164]=vi[b&2047](453480)|0;c[163703]=vi[b&2047](453501)|0;c[163892]=vi[b&2047](453521)|0;c[163794]=vi[b&2047](453542)|0;c[163948]=vi[b&2047](453562)|0;c[164286]=vi[b&2047](453583)|0;c[164205]=vi[b&2047](453596)|0;c[163937]=vi[b&2047](453610)|0;c[163685]=vi[b&2047](453622)|0;c[164371]=vi[b&2047](453635)|0;c[164446]=vi[b&2047](453647)|0;c[164015]=vi[b&2047](453660)|0;c[164629]=vi[b&2047](453681)|0}if(a[1248928]|0){c[164289]=vi[b&2047](456250)|0;c[164161]=vi[b&2047](456267)|0;c[164208]=vi[b&2047](456286)|0;c[164042]=vi[b&2047](456306)|0;c[164569]=vi[b&2047](456322)|0;c[164404]=vi[b&2047](456339)|0;c[164195]=vi[b&2047](456357)|0;c[164126]=vi[b&2047](456376)|0;c[164507]=vi[b&2047](456396)|0;c[163679]=vi[b&2047](456410)|0}if(a[1248929]|0){c[164833]=vi[b&2047](476620)|0;c[164834]=vi[b&2047](476657)|0;c[164835]=vi[b&2047](476696)|0}if(a[1248930]|0){c[164836]=vi[b&2047](476745)|0;c[164837]=vi[b&2047](476764)|0;c[164838]=vi[b&2047](476790)|0}if(a[1248931]|0){c[164839]=vi[b&2047](476812)|0;c[164840]=vi[b&2047](476845)|0;c[164841]=vi[b&2047](476871)|0;c[164842]=vi[b&2047](476908)|0}if(a[1248932]|0)c[164843]=vi[b&2047](476930)|0;if(a[1248933]|0)c[164844]=vi[b&2047](476949)|0;if(a[1248935]|0)c[164845]=vi[b&2047](476968)|0;if(a[1248936]|0){c[164846]=vi[b&2047](476990)|0;c[164847]=vi[b&2047](477007)|0}if(a[1248937]|0){c[164848]=vi[b&2047](477027)|0;c[164849]=vi[b&2047](477050)|0;c[164850]=vi[b&2047](477071)|0}} -function m2a(a,b){a=a|0;b=b|0;c[a+4>>2]=c[b>>2];c[a+4+4>>2]=c[b+4>>2];c[a+4+8>>2]=c[b+8>>2];c[a+4+12>>2]=c[b+12>>2];c[a+4+16>>2]=c[b+16>>2];c[a+4+20>>2]=c[b+20>>2];c[a+4+24>>2]=c[b+24>>2];d2a(a,b,0);d2a(a,b,1);return}function n2a(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;c[b+2988>>2]=d;g=c[d+28>>2]|0;c[b+4>>2]=c[d+44>>2];c[b+8>>2]=c[d+48>>2];c[b+12>>2]=c[d+1616>>2];c[b+16>>2]=c[d+1620>>2];f=c[d+24>>2]|0;e=(f|0)==2|(f|0)==4?(f|1|0)==3|2:(f|1|0)==3&1;e=(f|0)==1?e:e|4;c[b+2980>>2]=((a[(c[(c[d+36>>2]|0)+212>>2]|0)+20>>0]|0)==0?12:4)|g;c[b+2984>>2]=(f|0)==2?e|8:e;return 0}function o2a(a,b,c){a=a|0;b=b|0;c=c|0;return f2a(a,b,c)|0}function p2a(e,f,g,h,j){e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+6992|0;g=c[c[e+4>>2]>>2]|0;hBb(q+64|0,0,3e3)|0;c[q+64>>2]=g;g=q;k=g+60|0;do{c[g>>2]=0;g=g+4|0}while((g|0)<(k|0));c[q+8>>2]=q+64;k=c[f+4>>2]|0;g=c[k+88>>2]|0;if(!g){p=36;h=q+4|0;j=q;c[j>>2]=0;c[h>>2]=0;c[q+8>>2]=0;Q1a(q+64|0);i=q;return p|0};c[q+6936>>2]=0;c[q+6936+4>>2]=0;c[q+6936+8>>2]=0;c[q+6936+12>>2]=0;c[q+6936+16>>2]=0;c[q+6936>>2]=k;c[q+6936+4>>2]=c[g+16>>2];c[q+6936+12>>2]=0;c[q+6936+8>>2]=c[g+20>>2];c[q+6936+16>>2]=0;c[q+6936+20>>2]=j>>>16&15;c[q+6936+24>>2]=0;c[q>>2]=k;g=c[k+116>>2]|0;c[q+4>>2]=g;do if(!g){g=q2a(k,q+4|0,e)|0;if(!g){f=c[q+4>>2]|0;c[k+116>>2]=f;c[k+120>>2]=703;break}else{p=g;h=q+4|0;j=q;c[j>>2]=0;c[h>>2]=0;c[q+8>>2]=0;Q1a(q+64|0);i=q;return p|0}}else f=g;while(0);c[q+6976>>2]=0;a:do if((c[f+4>>2]|0)>>>0>h>>>0){l=d[(c[f+8>>2]|0)+h>>0]&127;k=c[60920+(l<<2)>>2]|0;e=c[60900+(c[k+4>>2]<<2)>>2]|0;l=f+16+(l<<2)|0;g=c[l>>2]|0;do if(!g){m=c[(c[f>>2]|0)+100>>2]|0;n=HTa(m,c[e+4>>2]|0,q+6976|0)|0;g=c[q+6976>>2]|0;if(g|0)break a;c[n>>2]=k;c[n+36>>2]=f;g=c[e+8>>2]|0;if(g|0){o=Xi[g&511](n,c[f>>2]|0)|0;c[q+6976>>2]=o;if(o|0){g=c[e+16>>2]|0;if(g|0)Hi[g&1023](n);LTa(m,n);g=c[q+6976>>2]|0;if(!g){g=0;break}else{k=q+4|0;f=q}c[f>>2]=0;c[k>>2]=0;c[q+8>>2]=0;Q1a(q+64|0);i=q;return g|0}}c[l>>2]=n;g=n;p=15}else p=15;while(0);k=c[60900+(c[(c[g>>2]|0)+4>>2]<<2)>>2]|0;c[q+12>>2]=g;f=c[k+12>>2]|0;if(!f){o=g+4|0;c[o>>2]=c[q+6936>>2];c[o+4>>2]=c[q+6936+4>>2];c[o+8>>2]=c[q+6936+8>>2];c[o+12>>2]=c[q+6936+12>>2];c[o+16>>2]=c[q+6936+16>>2];c[o+20>>2]=c[q+6936+20>>2];c[o+24>>2]=c[q+6936+24>>2]}else si[f&511](g,q+6936|0);k=c[k+20>>2]|0;if(k|0){g=Xi[k&511](c[q+8>>2]|0,g)|0;if(g|0){p=g;h=q+4|0;j=q;c[j>>2]=0;c[h>>2]=0;c[q+8>>2]=0;Q1a(q+64|0);i=q;return p|0}}g=c[q>>2]|0;n=c[q+12>>2]|0;f=c[q+8>>2]|0;o=c[g+84>>2]|0;k=c[o+156>>2]|0;m=c[k>>2]|0;g=RRa(g,h,j&-10246|10241)|0;if(g|0){p=g;h=q+4|0;j=q;c[j>>2]=0;c[h>>2]=0;c[q+8>>2]=0;Q1a(q+64|0);i=q;return p|0}j=a[k+8>>0]|0;a[q+16>>0]=j;if(j<<24>>24){c[q+20>>2]=c[k+12>>2];c[q+20+4>>2]=c[k+12+4>>2];c[q+20+8>>2]=c[k+12+8>>2];c[q+20+12>>2]=c[k+12+12>>2];j=c[k+28+4>>2]|0;c[q+36>>2]=c[k+28>>2];c[q+36+4>>2]=j;c[q+6976>>2]=c[q+20>>2];c[q+6976+4>>2]=c[q+20+4>>2];c[q+6976+8>>2]=c[q+20+8>>2];c[q+6976+12>>2]=c[q+20+12>>2];if(!(J2a(q+6976|0)|0))JSa(q+36|0,q+6976|0)}do if((c[o+72>>2]|0)==1869968492){if(a[q+16>>0]|0)ISa(o+108|0,c[q+36>>2]|0,c[q+40>>2]|0);c[q+44>>2]=c[f+8>>2];c[q+48>>2]=c[f+16>>2];j=H2a(c[o+40>>2]|0,c[f+4>>2]|0)|0;c[q+52>>2]=(c[f+8>>2]|0)+j;c[q+56>>2]=c[f+16>>2];if(!(b[o+110>>1]|0))k=0;else{g=c[(c[60900+(c[(c[n>>2]|0)+4>>2]<<2)>>2]|0)+24>>2]|0;if(g|0)Gi[g&255](f,m+20|0,n)|0;if((c[q+6936+20>>2]|0)==1){l=c[q+44>>2]|0;k=c[q+52>>2]|0;e=l+32+(c[f+2992>>2]|0)&-64;c[q+44>>2]=e;j=k+32+(c[f+2996>>2]|0)&-64;c[q+52>>2]=j;c[o+144>>2]=e-l;c[o+148>>2]=j-k;k=0;break}g=c[f+64>>2]|0;k=c[f+56>>2]|0;if((k|0)>1)if(!(c[f+2980>>2]&4)){l=(c[q+52>>2]|0)-(c[g+(k*48|0)+-48+4>>2]|0)|0;f=c[g+4>>2]|0;j=c[g+8>>2]|0;g=c[g+(k*48|0)+-48+8>>2]|0;k=(f|0)<24?j-f+-8|0:j-f|0;e=(l|0)<24?g+l+8|0:g+l|0;c[q+44>>2]=k+32&-64;c[q+52>>2]=e+32&-64;if((f|0)>0&(k+32&-64|0)>=(j|0)){c[q+44>>2]=(k+32&-64)+-64;f=(k+32&-64)+-64|0}else f=k+32&-64;if((l|0)>0&(e+32&-64|0)<=(g|0)){c[q+52>>2]=(e+32&-64)+64;g=(e+32&-64)+64|0}else g=e+32&-64;c[o+144>>2]=f-k;c[o+148>>2]=g-e;k=0;break}j=c[q+44>>2]|0;k=c[q+52>>2]|0;c[q+44>>2]=j+32&-64;c[q+52>>2]=k+32&-64;c[o+144>>2]=(j+32&-64)-j;c[o+148>>2]=(k+32&-64)-k;k=0}}else k=7;while(0);j=(c[o+48>>2]|0)-(c[o+36>>2]|0)|0;c[q+6968>>2]=H2a((c[o+44>>2]|0)-(c[o+32>>2]|0)|0,c[n+8>>2]|0)|0;c[q+6968+4>>2]=H2a(j,c[n+12>>2]|0)|0;if(a[q+16>>0]|0){KSa(m+20|0,q+20|0);JSa(q+6968|0,q+20|0)}g=c[q+44>>2]|0;if(g|0)ISa(m+20|0,0-g|0,0);HSa(m+20|0,q+6976|0);m=c[q+6976>>2]&-64;c[q+6976>>2]=m;l=c[q+6976+4>>2]&-64;c[q+6976+4>>2]=l;e=(c[q+6976+8>>2]|0)+63&-64;c[q+6976+8>>2]=e;j=(c[q+6976+12>>2]|0)+63&-64;c[q+6976+12>>2]=j;c[o+24>>2]=e-m;c[o+28>>2]=j-l;c[o+32>>2]=m;c[o+36>>2]=j;c[o+44>>2]=(c[q+6968>>2]|0)+m&-64;c[o+48>>2]=(c[q+6968+4>>2]|0)+j&-64;do if((c[q+6936+20>>2]|0)==1)p=54;else{if(!(c[(c[o+4>>2]|0)+8>>2]&4)){g=c[q+4>>2]|0;if((c[g+4>>2]|0)>>>0<=h>>>0){p=54;break}if((a[(c[g+8>>2]|0)+h>>0]|0)>-1){p=54;break}if(!(a[n+32>>0]|0)){p=54;break}}c[o+40>>2]=H2a(c[o+40>>2]|0,c[n+8>>2]|0)|0;c[o+144>>2]=0;c[o+148>>2]=0;g=o+40|0}while(0);if((p|0)==54)if(!(c[o+40>>2]|0))g=o+40|0;else{c[o+40>>2]=(c[q+52>>2]|0)-(c[q+44>>2]|0);g=o+40|0}p=H2a(c[o+52>>2]|0,c[n+12>>2]|0)|0;c[o+52>>2]=p;c[g>>2]=(c[g>>2]|0)+32&-64;c[o+52>>2]=p+32&-64;c[o+72>>2]=1869968492;p=k;h=q+4|0;j=q;c[j>>2]=0;c[h>>2]=0;c[q+8>>2]=0;Q1a(q+64|0);i=q;return p|0}else{c[q+6976>>2]=6;g=6}while(0);p=g;h=q+4|0;j=q;c[j>>2]=0;c[h>>2]=0;c[q+8>>2]=0;Q1a(q+64|0);i=q;return p|0}function q2a(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;n=HTa(c[b+100>>2]|0,(c[b+16>>2]|0)+216|0,o)|0;g=c[o>>2]|0;if(g|0){b=g;c[e>>2]=n;i=o;return b|0}c[n>>2]=b;l=c[b+16>>2]|0;c[n+4>>2]=l;c[n+8>>2]=n+216;c[n+212>>2]=f;m=c[b+92>>2]|0;hBb(n+216|0,127,l|0)|0;if(!(oSa(b,1970170211)|0)){f=59460;g=0;while(1){h=c[(c[60496+(c[f+8>>2]<<2)>>2]|0)+4>>2]|0;if(h|0)if((c[f+16>>2]|0)==10){f=c[h>>2]|0;if(f|0){l=g&255;k=h;do{h=TRa(b,f)|0;c[o+4>>2]=h;if(h|0)if(h>>>0<(c[n+4>>2]|0)>>>0)if((a[n+216+h>>0]|0)==127)a[n+216+h>>0]=l;j=k+4|0;f=rSa(b,f,o+4|0)|0;h=c[o+4>>2]|0;a:do if(h|0)do{if(f>>>0>(c[j>>2]|0)>>>0)break a;if(h>>>0<(c[n+4>>2]|0)>>>0){h=n+216+h|0;if((a[h>>0]|0)==127)a[h>>0]=l}f=rSa(b,f,o+4|0)|0;h=c[o+4>>2]|0}while((h|0)!=0);while(0);k=k+8|0;f=c[k>>2]|0}while((f|0)!=0)}}g=g+1|0;if((g|0)==49){f=48;break}else f=c[60920+(g<<2)>>2]|0}do{g=TRa(b,f)|0;if(g|0)if(g>>>0<(c[n+4>>2]|0)>>>0)a[n+216+g>>0]=d[n+216+g>>0]|128;f=f+1|0}while((f|0)!=58)}if((c[(c[n+212>>2]|0)+12>>2]|0)!=127){g=c[n+4>>2]|0;if((g|0)>0){j=0;do{f=n+216+j|0;h=d[f>>0]|0;if((h&127|0)==127){a[f>>0]=h&128;a[f>>0]=c[(c[n+212>>2]|0)+12>>2]|h&128;g=c[n+4>>2]|0}j=j+1|0}while((j|0)<(g|0))}}pSa(b,m)|0;c[o>>2]=0;c[n+12>>2]=0;b=c[o>>2]|0;c[e>>2]=n;i=o;return b|0}function r2a(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;if(!a)return;e=c[(c[a>>2]|0)+100>>2]|0;g=0;do{f=a+16+(g<<2)|0;b=c[f>>2]|0;if(b|0){d=c[(c[60900+(c[(c[60920+(g<<2)>>2]|0)+4>>2]<<2)>>2]|0)+16>>2]|0;if(d){Hi[d&1023](b);b=c[f>>2]|0}LTa(e,b);c[f>>2]=0}g=g+1|0}while((g|0)!=49);c[a+4>>2]=0;c[a+8>>2]=0;c[a>>2]=0;LTa(e,a);return}function s2a(b){b=b|0;c[b+12>>2]=48;c[b+16>>2]=5;a[b+20>>0]=0;return 0}function t2a(a){a=a|0;return}function u2a(a,b){a=a|0;b=b|0;return HRa(61172,b)|0}function v2a(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;g=i;i=i+16|0;if(!(Imb(d,592718)|0)){f=c[e>>2]|0;e=59460;d=0;while(1){if((c[e+8>>2]|0)==(f|0))if((c[e+16>>2]|0)==10){f=5;break}d=d+1|0;if((d|0)==49){d=6;f=19;break}else e=c[60920+(d<<2)>>2]|0}if((f|0)==5){c[b+12>>2]=d;i=g;return 0}else if((f|0)==19){i=g;return d|0}}if(!(Imb(d,592734)|0)){c[b+16>>2]=c[e>>2];b=0;i=g;return b|0}if(Imb(d,592749)|0){if(Imb(d,592767)|0){b=12;i=g;return b|0}a[b+20>>0]=a[e>>0]|0;b=0;i=g;return b|0}f=c[e>>2]|0;do if(!f)d=35;else{d=c[f+116>>2]|0;c[g>>2]=d;if(!d){d=q2a(f,g,b)|0;if(d|0)break;d=c[g>>2]|0;c[f+116>>2]=d;c[f+120>>2]=703}c[d+12>>2]=c[e+4>>2];b=0;i=g;return b|0}while(0);b=d;i=g;return b|0}function w2a(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0;j=i;i=i+16|0;f=c[b+12>>2]|0;g=c[b+16>>2]|0;h=a[b+20>>0]|0;if(!(Imb(d,592775)|0)){g=c[e>>2]|0;do if(!g)f=35;else{f=c[g+116>>2]|0;c[j>>2]=f;if(!f){f=q2a(g,j,b)|0;if(f|0)break;f=c[j>>2]|0;c[g+116>>2]=f;c[g+120>>2]=703}c[e+4>>2]=c[f+8>>2];e=0;i=j;return e|0}while(0);e=f;i=j;return e|0}if(!(Imb(d,592718)|0)){c[e>>2]=c[(c[60920+(f<<2)>>2]|0)+8>>2];e=0;i=j;return e|0}if(!(Imb(d,592734)|0)){c[e>>2]=g;e=0;i=j;return e|0}if(Imb(d,592749)|0){if(Imb(d,592767)|0){e=12;i=j;return e|0}a[e>>0]=h;e=0;i=j;return e|0}g=c[e>>2]|0;do if(!g)f=35;else{f=c[g+116>>2]|0;c[j>>2]=f;if(!f){f=q2a(g,j,b)|0;if(f|0)break;f=c[j>>2]|0;c[g+116>>2]=f;c[g+120>>2]=703}c[e+4>>2]=c[f+12>>2];e=0;i=j;return e|0}while(0);e=f;i=j;return e|0}function x2a(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;if(!a){e=35;return e|0}if(!e){e=6;return e|0}if((c[a+16>>2]|0)>>>0<=b>>>0){e=16;return e|0}f=c[(c[(c[a+96>>2]|0)+12>>2]|0)+84>>2]|0;do if(f|0)if((d&3|0)!=0|(d&983040|0)==65536){f=Ci[f&127](a,b,1,d,e)|0;if(f|0){if((f&255|0)==7)break;return f|0}if(d&1|0){e=0;return e|0}f=c[a+88>>2]|0;if(!f){e=36;return e|0}c[e>>2]=F2a(c[e>>2]|0,c[((d&16|0)==0?f+16|0:f+20|0)>>2]|0,64)|0;e=0;return e|0}while(0);e=y2a(a,b,1,d,e)|0;return e|0}function y2a(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;if(!a){f=35;return f|0}if(!f){f=6;return f|0}h=c[a+16>>2]|0;if((d+b|0)>>>0>h>>>0|((d+b|0)>>>0>>0|h>>>0<=b>>>0)){f=16;return f|0}if(!d){f=0;return f|0}g=c[(c[(c[a+96>>2]|0)+12>>2]|0)+84>>2]|0;do if(g|0)if((e&3|0)!=0|(e&983040|0)==65536){g=Ci[g&127](a,b,d,e,f)|0;if(g|0){if((g&255|0)==7)break;return g|0}if(e&1|0){f=0;return f|0}g=c[a+88>>2]|0;if(!g){f=36;return f|0}h=c[((e&16|0)==0?g+16|0:g+20|0)>>2]|0;g=0;do{e=f+(g<<2)|0;c[e>>2]=F2a(c[e>>2]|0,h,64)|0;g=g+1|0}while((g|0)!=(d|0));g=0;return g|0}while(0);if(e&536870912|0){f=7;return f|0}if(!(e&16)){h=0;while(1){g=RRa(a,h+b|0,e|256)|0;if(g|0){h=19;break}c[f+(h<<2)>>2]=c[(c[a+84>>2]|0)+64>>2]<<10;h=h+1|0;if(h>>>0>=d>>>0){g=0;h=19;break}}if((h|0)==19)return g|0}else{h=0;while(1){g=RRa(a,h+b|0,e|256)|0;if(g|0){h=19;break}c[f+(h<<2)>>2]=c[(c[a+84>>2]|0)+68>>2]<<10;h=h+1|0;if(h>>>0>=d>>>0){g=0;h=19;break}}if((h|0)==19)return g|0}return 0}function z2a(a){a=a|0;if(!a)return;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[a+20>>2]=0;return}function A2a(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+16|0;c[m>>2]=0;if(!a){l=33;i=m;return l|0}if(!((b|0)!=0&(d|0)!=0)){l=6;i=m;return l|0}if((b|0)==(d|0)){l=0;i=m;return l|0}j=c[b+8>>2]|0;k=c[d+8>>2]|0;if(!(c[b+12>>2]|0)){c[d>>2]=c[b>>2];c[d+4>>2]=c[b+4>>2];c[d+8>>2]=c[b+8>>2];c[d+12>>2]=c[b+12>>2];c[d+16>>2]=c[b+16>>2];c[d+20>>2]=c[b+20>>2];if((j>>31|1|0)==(k>>31|1|0)){l=0;i=m;return l|0}c[d+8>>2]=0-(c[d+8>>2]|0);l=0;i=m;return l|0}a=c[a>>2]|0;l=(j|0)<0?0-j|0:j;g=_(c[b>>2]|0,l)|0;e=c[d+12>>2]|0;if(!e){h=ITa(a,g,m)|0;c[d+12>>2]=h}else{f=_(c[d>>2]|0,(k|0)<0?0-k|0:k)|0;if((f|0)==(g|0))h=e;else{h=KTa(a,1,f,g,e,m)|0;c[d+12>>2]=h}}do if(!(c[m>>2]|0)){c[d>>2]=c[b>>2];c[d+4>>2]=c[b+4>>2];c[d+8>>2]=c[b+8>>2];c[d+12>>2]=c[b+12>>2];c[d+16>>2]=c[b+16>>2];c[d+20>>2]=c[b+20>>2];c[d+12>>2]=h;e=c[b+12>>2]|0;if((j>>31|1|0)==(k>>31|1|0)){mBb(h|0,e|0,g|0)|0;break}a=c[d>>2]|0;if(a|0){f=a;a=h+(_(a+-1|0,l)|0)|0;while(1){mBb(a|0,e|0,l|0)|0;f=f+-1|0;if(!f)break;else{e=e+l|0;a=a+(0-l)|0}}}}while(0);l=c[m>>2]|0;i=m;return l|0}function B2a(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;p=i;i=i+16|0;c[p>>2]=0;if(!e){g=33;i=p;return g|0}if(!((f|0)!=0&(g|0)!=0)){g=6;i=p;return g|0}m=c[e>>2]|0;if(((d[f+18>>0]|0)+-1|0)>>>0<7){e=c[g+8>>2]|0;l=_((e|0)<0?0-e|0:e,c[g>>2]|0)|0;a[g+18>>0]=2;k=c[f>>2]|0;c[g>>2]=k;c[g+4>>2]=c[f+4>>2];j=c[f+4>>2]|0;if((h|0)>0)h=((j|0)%(h|0)|0|0)==0?0:h-((j|0)%(h|0)|0)|0;else h=0;j=j+h|0;if((j|0)>0)if(k>>>0>(4294967295/(j>>>0)|0)>>>0){g=6;i=p;return g|0}h=_(k,j)|0;do if(h>>>0>l>>>0){c[g+12>>2]=KTa(m,1,l,h,c[g+12>>2]|0,p)|0;e=c[p>>2]|0;if(!e){e=c[g+8>>2]|0;break}else{g=e;i=p;return g|0}}while(0);c[g+8>>2]=(e|0)<0?0-j|0:j}else c[p>>2]=6;e=c[f+12>>2]|0;h=c[g+12>>2]|0;l=c[f+8>>2]|0;if((l|0)<0)j=e+(_((c[f>>2]|0)+-1|0,0-l|0)|0)|0;else j=e;e=c[g+8>>2]|0;if((e|0)<0)h=h+(_((c[g>>2]|0)+-1|0,0-e|0)|0)|0;switch(d[f+18>>0]|0|0){case 1:{b[g+16>>1]=2;e=c[f>>2]|0;if(e|0)while(1){n=c[f+4>>2]|0;if(!(n>>>3)){k=n;l=j;m=h}else{k=n>>>3;l=j;m=h;while(1){o=a[l>>0]|0;a[m>>0]=(o&255)>>>7;a[m+1>>0]=(o&255)>>>6&1;a[m+2>>0]=(o&255)>>>5&1;a[m+3>>0]=(o&255)>>>4&1;a[m+4>>0]=(o&255)>>>3&1;a[m+5>>0]=(o&255)>>>2&1;a[m+6>>0]=(o&255)>>>1&1;a[m+7>>0]=o&1;k=k+-1|0;if(!k)break;else{l=l+1|0;m=m+8|0}}k=c[f+4>>2]|0;l=j+(n>>>3)|0;m=h+(n>>>3<<3)|0}k=k&7;if(k|0){l=d[l>>0]|0;while(1){a[m>>0]=l>>>7&1;k=k+-1|0;if(!k)break;else{m=m+1|0;l=l<<1}}}e=e+-1|0;if(!e)break;else{j=j+(c[f+8>>2]|0)|0;h=h+(c[g+8>>2]|0)|0}}break}case 6:case 5:case 2:{k=c[f+4>>2]|0;b[g+16>>1]=256;e=c[f>>2]|0;if(e|0)while(1){mBb(h|0,j|0,k|0)|0;e=e+-1|0;if(!e)break;else{j=j+(c[f+8>>2]|0)|0;h=h+(c[g+8>>2]|0)|0}}break}case 3:{b[g+16>>1]=4;e=c[f>>2]|0;if(e|0)while(1){o=c[f+4>>2]|0;if(!(o>>>2)){k=o;l=j;m=h}else{m=h+(o>>>2<<2)|0;k=o>>>2;l=j;n=h;while(1){q=a[l>>0]|0;a[n>>0]=(q&255)>>>6;a[n+1>>0]=(q&255)>>>4&3;a[n+2>>0]=(q&255)>>>2&3;a[n+3>>0]=q&3;k=k+-1|0;if(!k)break;else{l=l+1|0;n=n+4|0}}k=c[f+4>>2]|0;l=j+(o>>>2)|0}k=k&3;if(k|0){l=d[l>>0]|0;while(1){a[m>>0]=l>>>6&3;k=k+-1|0;if(!k)break;else{m=m+1|0;l=l<<2}}}e=e+-1|0;if(!e)break;else{j=j+(c[f+8>>2]|0)|0;h=h+(c[g+8>>2]|0)|0}}break}case 4:{b[g+16>>1]=16;e=c[f>>2]|0;if(e|0)while(1){o=c[f+4>>2]|0;if(!(o>>>1)){m=o;l=j;k=h}else{k=h+(o>>>1<<1)|0;l=o>>>1;m=j;n=h;while(1){q=a[m>>0]|0;a[n>>0]=(q&255)>>>4;a[n+1>>0]=q&15;l=l+-1|0;if(!l)break;else{m=m+1|0;n=n+2|0}}m=c[f+4>>2]|0;l=j+(o>>>1)|0}if(m&1|0)a[k>>0]=(d[l>>0]|0)>>>4;e=e+-1|0;if(!e)break;else{j=j+(c[f+8>>2]|0)|0;h=h+(c[g+8>>2]|0)|0}}break}case 7:{b[g+16>>1]=256;k=c[f>>2]|0;if(k|0){m=e;n=k;while(1){e=c[f+4>>2]|0;if(!e){e=l;k=m}else{l=j;m=h;while(1){k=a[l+3>>0]|0;if(!(k<<24>>24))k=0;else{o=d[l>>0]|0;o=_(o*4732|0,o)|0;q=d[l+1>>0]|0;o=(_(q*46871|0,q)|0)+o|0;q=d[l+2>>0]|0;k=(k&255)-(((o+(_(q*13933|0,q)|0)|0)>>>16>>>0)/((k&255)>>>0)|0)&255}a[m>>0]=k;e=e+-1|0;if(!e)break;else{l=l+4|0;m=m+1|0}}e=c[f+8>>2]|0;k=c[g+8>>2]|0}n=n+-1|0;if(!n)break;else{m=k;l=e;j=j+e|0;h=h+k|0}}}break}default:{}}q=c[p>>2]|0;i=p;return q|0}function C2a(a,b){a=a|0;b=b|0;if(!a){a=33;return a|0}if(!b){a=6;return a|0}LTa(c[a>>2]|0,c[b+12>>2]|0);c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;c[b+16>>2]=0;c[b+20>>2]=0;a=0;return a|0}function D2a(a){a=a|0;if((a|0)>-1){a=a+32768&-65536;return a|0}else{a=0-(32768-a&-65536)|0;return a|0}return 0}function E2a(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d>>2]=a;c[d+4>>2]=b;b=GTa(d)|0;i=d;return b|0}function F2a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;if((a|0)==0|(b|0)==(c|0)){g=a;return g|0}e=(a|0)<0?0-a|0:a;d=(b|0)<0?0-b|0:b;g=(b|0)<0?0-(a>>31|1)|0:a>>31|1;f=(c|0)<0?0-c|0:c;g=(c|0)<0?0-g|0:g;do if(!f)a=2147483647;else{if((d+e|0)>>>0<=(129894-(f>>>17)|0)>>>0){a=(((f>>>1)+(_(d,e)|0)|0)>>>0)/(f>>>0)|0;break}a=_(d&65535,e>>>16)|0;b=(_(d>>>16,e&65535)|0)+a|0;c=(b<<16)+(_(d&65535,e&65535)|0)|0;b=(b>>>16)+(_(d>>>16,e>>>16)|0)+((b>>>0>>0&1)<<16)+(c>>>0>>0&1)+((c+(f>>>1)|0)>>>0>>0&1)|0;if(!b){a=((c+(f>>>1)|0)>>>0)/(f>>>0)|0;break}if(b>>>0>>0){i=aa(b|0)|0;h=(((c+(f>>>1)|0)>>>(32-i|0)|b<>>0)/(f>>>0)|0;d=c+(f>>>1)<>>1)|0)>>>(32-i|0)|b<>>31;a=(b>>>0>>0|a<<1)^1;e=e+-1|0;if(!e)break;else{d=d<<1;b=b-(b>>>0>>0?0:f)|0}}}else a=2147483647}while(0);i=(g|0)<0?0-a|0:a;return i|0}function G2a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;if((a|0)==0|(b|0)==(c|0)){g=a;return g|0}e=(a|0)<0?0-a|0:a;d=(b|0)<0?0-b|0:b;g=(b|0)<0?0-(a>>31|1)|0:a>>31|1;f=(c|0)<0?0-c|0:c;g=(c|0)<0?0-g|0:g;do if(!f)a=2147483647;else{if((d+e|0)>>>0<131072){a=((_(d,e)|0)>>>0)/(f>>>0)|0;break}a=_(d&65535,e>>>16)|0;b=(_(d>>>16,e&65535)|0)+a|0;c=(b<<16)+(_(d&65535,e&65535)|0)|0;b=(b>>>16)+(_(d>>>16,e>>>16)|0)+((b>>>0>>0&1)<<16)+(c>>>0>>0&1)|0;if(!b){a=(c>>>0)/(f>>>0)|0;break}if(b>>>0>>0){h=aa(b|0)|0;d=c<>>(32-h|0)|b<>>0)/(f>>>0)|0;b=(c>>>(32-h|0)|b<>>(32-h|0)|b<>>0)/(f>>>0)|0,f)|0)|0;while(1){b=b<<1|d>>>31;a=(b>>>0>>0|a<<1)^1;e=e+-1|0;if(!e)break;else{d=d<<1;b=b-(b>>>0>>0?0:f)|0}}}else a=2147483647}while(0);h=(g|0)<0?0-a|0:a;return h|0}function H2a(a,b){a=a|0;b=b|0;var c=0,d=0;if((a|0)==0|(b|0)==65536){b=a;return b|0}d=(a|0)<0?0-a|0:a;c=(b|0)<0?0-b|0:b;if(((c>>>8)+d|0)>>>0<8191)c=((_(c,d)|0)+32768|0)>>>16;else c=(_(c>>>16,d&65535)|0)+(_(d>>>16,c)|0)+(((_(c&65535,d&65535)|0)+32768|0)>>>16)|0;b=(((b|0)<0?0-(a>>31|1)|0:a>>31)|0)<0?0-c|0:c;return b|0}function I2a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=(a|0)<0?0-a|0:a;g=(b|0)<0?0-(a>>31|1)|0:a>>31;d=(b|0)<0?0-b|0:b;do if(!d)a=2147483647;else{if(c>>>0<=(d>>>17^65535)>>>0){a=(((d>>>1)+(c<<16)|0)>>>0)/(d>>>0)|0;break}b=(((d>>>1)+(c<<16)|0)>>>0>>0&1)+(c>>>16)|0;if(b>>>0>>0){i=aa(b|0)|0;h=((((d>>>1)+(c<<16)|0)>>>(32-i|0)|b<>>0)/(d>>>0)|0;e=(d>>>1)+(c<<16)<>>1)+(c<<16)|0)>>>(32-i|0)|b<>>31;a=(b>>>0>>0|a<<1)^1;f=f+-1|0;if(!f)break;else{e=e<<1;b=b-(b>>>0>>0?0:d)|0}}}else a=2147483647}while(0);return ((g|0)<0?0-a|0:a)|0}function J2a(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;if(!a){a=6;return a|0}m=c[a>>2]|0;j=c[a+12>>2]|0;if((m|0)==0|(j|0)==65536)e=m;else{d=(m|0)<0?0-m|0:m;b=(j|0)<0?0-j|0:j;if(((b>>>8)+d|0)>>>0<8191)b=((_(b,d)|0)+32768|0)>>>16;else b=(_(b>>>16,d&65535)|0)+(_(d>>>16,b)|0)+(((_(b&65535,d&65535)|0)+32768|0)>>>16)|0;e=(((j|0)<0?0-(m>>31|1)|0:m>>31)|0)<0?0-b|0:b}f=c[a+4>>2]|0;i=c[a+8>>2]|0;if((f|0)==0|(i|0)==65536)b=f;else{d=(f|0)<0?0-f|0:f;b=(i|0)<0?0-i|0:i;if(((b>>>8)+d|0)>>>0<8191)b=((_(b,d)|0)+32768|0)>>>16;else b=(_(b>>>16,d&65535)|0)+(_(d>>>16,b)|0)+(((_(b&65535,d&65535)|0)+32768|0)>>>16)|0;b=(((i|0)<0?0-(f>>31|1)|0:f>>31)|0)<0?0-b|0:b}k=e-b|0;if((e|0)==(b|0)){a=6;return a|0}e=(f|0)<0?0-f|0:f;h=(k|0)<0?0-(f>>31|1)|0:f>>31;l=(k|0)<0?0-k|0:k;do if(!l)b=2147483647;else{if(e>>>0<=(l>>>17^65535)>>>0){b=(((e<<16)+(l>>>1)|0)>>>0)/(l>>>0)|0;break}d=(((e<<16)+(l>>>1)|0)>>>0>>0&1)+(e>>>16)|0;if(d>>>0>>0){o=aa(d|0)|0;n=((((e<<16)+(l>>>1)|0)>>>(32-o|0)|d<>>0)/(l>>>0)|0;f=(e<<16)+(l>>>1)<>>1)|0)>>>(32-o|0)|d<>>31;b=(d>>>0>>0|b<<1)^1;g=g+-1|0;if(!g)break;else{f=f<<1;d=d-(d>>>0>>0?0:l)|0}}}else b=2147483647}while(0);c[a+4>>2]=0-((h|0)<0?0-b|0:b);e=(i|0)<0?0-i|0:i;h=(k|0)<0?0-(i>>31|1)|0:i>>31;do if(!l)b=2147483647;else{if(e>>>0<=(l>>>17^65535)>>>0){b=(((e<<16)+(l>>>1)|0)>>>0)/(l>>>0)|0;break}d=(((e<<16)+(l>>>1)|0)>>>0>>0&1)+(e>>>16)|0;if(d>>>0>>0){n=aa(d|0)|0;o=((((e<<16)+(l>>>1)|0)>>>(32-n|0)|d<>>0)/(l>>>0)|0;f=(e<<16)+(l>>>1)<>>1)|0)>>>(32-n|0)|d<>>31;b=(d>>>0>>0|b<<1)^1;g=g+-1|0;if(!g)break;else{f=f<<1;d=d-(d>>>0>>0?0:l)|0}}}else b=2147483647}while(0);c[a+8>>2]=0-((h|0)<0?0-b|0:b);e=(j|0)<0?0-j|0:j;h=(k|0)<0?0-(j>>31|1)|0:j>>31;do if(!l)b=2147483647;else{if(e>>>0<=(l>>>17^65535)>>>0){b=(((e<<16)+(l>>>1)|0)>>>0)/(l>>>0)|0;break}d=(((e<<16)+(l>>>1)|0)>>>0>>0&1)+(e>>>16)|0;if(d>>>0>>0){n=aa(d|0)|0;o=((((e<<16)+(l>>>1)|0)>>>(32-n|0)|d<>>0)/(l>>>0)|0;f=(e<<16)+(l>>>1)<>>1)|0)>>>(32-n|0)|d<>>31;b=(d>>>0>>0|b<<1)^1;g=g+-1|0;if(!g)break;else{f=f<<1;d=d-(d>>>0>>0?0:l)|0}}}else b=2147483647}while(0);c[a>>2]=(h|0)<0?0-b|0:b;e=(m|0)<0?0-m|0:m;h=(k|0)<0?0-(m>>31|1)|0:m>>31;do if(!l)b=2147483647;else{if(e>>>0<=(l>>>17^65535)>>>0){b=(((e<<16)+(l>>>1)|0)>>>0)/(l>>>0)|0;break}d=(((e<<16)+(l>>>1)|0)>>>0>>0&1)+(e>>>16)|0;if(d>>>0>>0){n=aa(d|0)|0;o=((((e<<16)+(l>>>1)|0)>>>(32-n|0)|d<>>0)/(l>>>0)|0;f=(e<<16)+(l>>>1)<>>1)|0)>>>(32-n|0)|d<>>31;b=(d>>>0>>0|b<<1)^1;g=g+-1|0;if(!g)break;else{f=f<<1;d=d-(d>>>0>>0?0:l)|0}}}else b=2147483647}while(0);c[a+12>>2]=(h|0)<0?0-b|0:b;o=0;return o|0}function K2a(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;if(!((a|0)!=0&(b|0)!=0))return;e=c[a>>2]|0;k=c[b>>2]|0;f=F2a(e,k,d<<16)|0;j=c[a+4>>2]|0;l=c[b+8>>2]|0;f=(F2a(j,l,d<<16)|0)+f|0;g=c[b+4>>2]|0;e=F2a(e,g,d<<16)|0;h=c[b+12>>2]|0;e=(F2a(j,h,d<<16)|0)+e|0;j=c[a+8>>2]|0;k=F2a(j,k,d<<16)|0;i=c[a+12>>2]|0;a=(F2a(i,l,d<<16)|0)+k|0;g=F2a(j,g,d<<16)|0;d=(F2a(i,h,d<<16)|0)+g|0;c[b>>2]=f;c[b+4>>2]=e;c[b+8>>2]=a;c[b+12>>2]=d;return}function L2a(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;if(!((a|0)!=0&(b|0)!=0))return;f=c[a>>2]|0;e=F2a(f,c[b>>2]|0,d<<16)|0;g=c[a+4>>2]|0;e=(F2a(g,c[b+4>>2]|0,d<<16)|0)+e|0;f=F2a(f,c[b+8>>2]|0,d<<16)|0;d=(F2a(g,c[b+12>>2]|0,d<<16)|0)+f|0;c[a>>2]=e;c[a+4>>2]=d;return}function M2a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;if(!b)return ((a|0)>-1?d:0-d|0)|0;if(!a){f=(b|0)>-1?0-c|0:c;return f|0}if(!d){f=(c|0)>-1?b:0-b|0;return f|0}if(!c){f=(d|0)>-1?0-a|0:a;return f|0}e=_(d&65535,a>>>16)|0;g=(_(d>>>16,a&65535)|0)+e|0;f=(g<<16)+(_(d&65535,a&65535)|0)|0;d=(g>>>16)+(_(d>>>16,a>>>16)|0)+((g>>>0>>0&1)<<16)+(f>>>0>>0&1)|0;g=_(c&65535,b>>>16)|0;a=(_(c>>>16,b&65535)|0)+g|0;e=(a<<16)+(_(c&65535,b&65535)|0)|0;a=(a>>>16)+(_(c>>>16,b>>>16)|0)+((a>>>0>>0&1)<<16)+(e>>>0>>0&1)|0;if(d>>>0>a>>>0){g=1;return g|0}if(d>>>0>>0){g=-1;return g|0}if(f>>>0>e>>>0){g=1;return g|0}g=(f>>>0>>0)<<31>>31;return g|0}function N2a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;e=(a|0)<0?0-a|0:a;f=(b|0)<0?0-b|0:b;if((e|0)>(f|0))h=(f*3>>3)+e|0;else h=(e*3>>3)+f|0;e=(c|0)<0?0-c|0:c;f=(d|0)<0?0-d|0:d;if((e|0)>(f|0))g=(f*3>>3)+e|0;else g=(e*3>>3)+f|0;f=(c+a|0)<0?0-(c+a)|0:c+a|0;e=(d+b|0)<0?0-(d+b)|0:d+b|0;if((f|0)>(e|0)){d=(e*3>>3)+f|0;b=g+h|0;b=b-d|0;d=d>>4;d=(b|0)<(d|0);d=d&1;return d|0}else{d=(f*3>>3)+e|0;b=g+h|0;b=b-d|0;d=d>>4;d=(b|0)<(d|0);d=d&1;return d|0}return 0}function O2a(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+16|0;d=HTa(a,96,f)|0;e=c[f>>2]|0;if(e|0){i=f;return e|0}c[d>>2]=a;c[b>>2]=d;i=f;return e|0}function P2a(a){a=a|0;var d=0,e=0;b[a+22>>1]=0;b[a+20>>1]=0;c[a+48>>2]=0;e=a+56|0;a=a+20|0;d=e+36|0;do{c[e>>2]=c[a>>2];e=e+4|0;a=a+4|0}while((e|0)<(d|0));return}function Q2a(a){a=a|0;var d=0,e=0,f=0,g=0;if(!a)return;d=c[a>>2]|0;LTa(d,c[a+24>>2]|0);c[a+24>>2]=0;LTa(d,c[a+28>>2]|0);c[a+28>>2]=0;LTa(d,c[a+32>>2]|0);c[a+32>>2]=0;LTa(d,c[a+40>>2]|0);c[a+40>>2]=0;LTa(d,c[a+52>>2]|0);c[a+52>>2]=0;c[a+44>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;b[a+22>>1]=0;b[a+20>>1]=0;c[a+48>>2]=0;e=a+56|0;f=a+20|0;g=e+36|0;do{c[e>>2]=c[f>>2];e=e+4|0;f=f+4|0}while((e|0)<(g|0));LTa(d,a);return}function R2a(d){d=d|0;var e=0,f=0,g=0,h=0,j=0;g=i;i=i+16|0;e=JTa(c[d>>2]|0,8,0,c[d+4>>2]<<1,0,g)|0;c[d+40>>2]=e;f=c[g>>2]|0;if(f|0){i=g;return f|0}a[d+16>>0]=1;j=e+(c[d+4>>2]<<3)|0;c[d+44>>2]=j;h=b[d+22>>1]|0;c[d+60>>2]=(c[d+24>>2]|0)+(h<<3);c[d+64>>2]=(c[d+28>>2]|0)+h;h=c[d+20>>2]|0;c[d+68>>2]=(c[d+32>>2]|0)+(h<<16>>16<<1);c[d+76>>2]=e+(h>>16<<3);c[d+80>>2]=j+(h>>16<<3);i=g;return f|0}function S2a(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+16|0;k=c[d>>2]|0;c[m>>2]=0;h=(b[d+22>>1]|0)+e+(b[d+58>>1]|0)|0;e=c[d+4>>2]|0;do if(h>>>0>e>>>0){if((h+7&-8)>>>0>32767){d=10;i=m;return d|0}c[d+24>>2]=JTa(k,8,e,h+7&-8,c[d+24>>2]|0,m)|0;if(!(c[m>>2]|0)){c[d+28>>2]=JTa(k,1,e,h+7&-8,c[d+28>>2]|0,m)|0;if(!(c[m>>2]|0)){if(a[d+16>>0]|0){g=JTa(k,8,e<<1,(h+7&-8)<<1,c[d+40>>2]|0,m)|0;c[d+40>>2]=g;if(c[m>>2]|0)break;nBb(g+((h+7&-8)<<3)|0,g+(e<<3)|0,e<<3|0)|0;c[d+44>>2]=(c[d+40>>2]|0)+((h+7&-8)<<3)}c[d+4>>2]=h+7&-8;j=1;l=9}}}else{j=0;l=9}while(0);do if((l|0)==9){e=c[d+8>>2]|0;g=c[d+20>>2]|0;h=(g<<16>>16)+f+(b[d+56>>1]|0)|0;if(h>>>0>e>>>0){if((h+3&-4)>>>0>32767){d=10;i=m;return d|0}e=JTa(k,2,e,h+3&-4,c[d+32>>2]|0,m)|0;c[d+32>>2]=e;if(c[m>>2]|0)break;c[d+8>>2]=h+3&-4;h=b[d+22>>1]|0;g=c[d+20>>2]|0;l=15}else if(j<<24>>24){h=g>>>16&65535;e=c[d+32>>2]|0;l=15}if((l|0)==15){l=h<<16>>16;c[d+60>>2]=(c[d+24>>2]|0)+(l<<3);c[d+64>>2]=(c[d+28>>2]|0)+l;c[d+68>>2]=e+(g<<16>>16<<1);if(a[d+16>>0]|0){l=g>>16;c[d+76>>2]=(c[d+40>>2]|0)+(l<<3);c[d+80>>2]=(c[d+44>>2]|0)+(l<<3)}}if(!(c[m>>2]|0)){d=0;i=m;return d|0}}while(0);h=c[d>>2]|0;LTa(h,c[d+24>>2]|0);c[d+24>>2]=0;LTa(h,c[d+28>>2]|0);c[d+28>>2]=0;LTa(h,c[d+32>>2]|0);c[d+32>>2]=0;LTa(h,c[d+40>>2]|0);c[d+40>>2]=0;LTa(h,c[d+52>>2]|0);c[d+52>>2]=0;c[d+44>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;c[d+12>>2]=0;b[d+22>>1]=0;b[d+20>>1]=0;c[d+48>>2]=0;h=d+56|0;e=d+20|0;g=h+36|0;do{c[h>>2]=c[e>>2];h=h+4|0;e=e+4|0}while((h|0)<(g|0));d=c[m>>2]|0;i=m;return d|0}function T2a(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+16|0;d=c[a>>2]|0;c[f>>2]=0;e=(c[a+48>>2]|0)+b+(c[a+84>>2]|0)|0;b=c[a+12>>2]|0;if(e>>>0<=b>>>0){a=0;i=f;return a|0}b=JTa(d,32,b,e+1&-2,c[a+52>>2]|0,f)|0;c[a+52>>2]=b;d=c[f>>2]|0;if(d|0){a=d;i=f;return a|0}c[a+12>>2]=e+1&-2;c[a+88>>2]=b+(c[a+48>>2]<<5);a=0;i=f;return a|0}function U2a(d){d=d|0;var e=0,f=0;b[d+58>>1]=0;b[d+56>>1]=0;c[d+84>>2]=0;e=b[d+22>>1]|0;c[d+60>>2]=(c[d+24>>2]|0)+(e<<3);c[d+64>>2]=(c[d+28>>2]|0)+e;e=c[d+20>>2]|0;c[d+68>>2]=(c[d+32>>2]|0)+(e<<16>>16<<1);if(!(a[d+16>>0]|0)){f=d+52|0;f=c[f>>2]|0;e=d+48|0;e=c[e>>2]|0;e=f+(e<<5)|0;d=d+88|0;c[d>>2]=e;return}c[d+76>>2]=(c[d+40>>2]|0)+(e>>16<<3);c[d+80>>2]=(c[d+44>>2]|0)+(e>>16<<3);f=d+52|0;f=c[f>>2]|0;e=d+48|0;e=c[e>>2]|0;e=f+(e<<5)|0;f=d+88|0;c[f>>2]=e;return}function V2a(d){d=d|0;var f=0,g=0,h=0,i=0,j=0,k=0;if(!d)return;h=c[d+56>>2]|0;i=b[d+22>>1]|0;b[d+22>>1]=(h>>>16)+i;f=c[d+20>>2]|0;b[d+20>>1]=h+f;j=(c[d+48>>2]|0)+(c[d+84>>2]|0)|0;c[d+48>>2]=j;if((h&65535)<<16>>16>0){f=c[d+68>>2]|0;g=0;do{k=f+(g<<1)|0;b[k>>1]=(e[k>>1]|0)+i;g=g+1|0}while((g|0)!=(h<<16>>16|0));g=d+68|0;f=b[d+22>>1]|0}else{g=d+68|0;f=f>>>16&65535}b[d+58>>1]=0;b[d+56>>1]=0;c[d+84>>2]=0;f=f<<16>>16;c[d+60>>2]=(c[d+24>>2]|0)+(f<<3);c[d+64>>2]=(c[d+28>>2]|0)+f;f=c[d+20>>2]|0;c[g>>2]=(c[d+32>>2]|0)+(f<<16>>16<<1);if(a[d+16>>0]|0){c[d+76>>2]=(c[d+40>>2]|0)+(f>>16<<3);c[d+80>>2]=(c[d+44>>2]|0)+(f>>16<<3)}c[d+88>>2]=(c[d+52>>2]|0)+(j<<5);return}function W2a(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+16|0;if(!((a|0)!=0&(b|0)!=0)){c[h>>2]=40;g=c[h>>2]|0;i=h;return g|0}g=c[b+28>>2]|0;f=X2a(b)|0;c[h>>2]=f;if(f|0){g=c[h>>2]|0;i=h;return g|0}d=a;e=d+40|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));c[a+28>>2]=g;f=ITa(g,8276,h)|0;do if(!(c[h>>2]|0)){c[f+4>>2]=a;c[f>>2]=b;c[f+8>>2]=c[a+28>>2];c[f+8272>>2]=f+8264;c[f+8268>>2]=f+8264;c[f+8264>>2]=0;d=X2a(b)|0;if(!d){c[f+68>>2]=eTa(b)|0;c[f+44>>2]=149;c[f+48>>2]=226;c[f+52>>2]=c[b+28>>2];c[f+16>>2]=0;c[f+12>>2]=f+4168;if(!(_2a(f+12|0,-15)|0))if(!(c[f+12>>2]|0))d=3;else{c[h>>2]=0;c[a+12>>2]=f;break}else d=3}c[h>>2]=d;LTa(g,f);g=c[h>>2]|0;i=h;return g|0}while(0);d=c[b+8>>2]|0;if(!(cTa(b,(c[b+4>>2]|0)+-4|0)|0)){e=vTa(b,h+4|0)|0;e=c[h+4>>2]|0?0:e;cTa(b,d)|0;if((e+-1|0)>>>0<40959){d=HTa(g,e,h)|0;do if(!(c[h>>2]|0)){if((d3a(f,0,d,e)|0)!=(e|0)){d3a(f,0,0,0)|0;LTa(g,d);break}b3a(f+12|0)|0;c[f+44>>2]=0;c[f+48>>2]=0;c[f+52>>2]=0;c[f+24>>2]=0;c[f+28>>2]=0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;c[f+16>>2]=0;LTa(g,f);c[a+12>>2]=0;c[a+4>>2]=e;c[a+8>>2]=0;c[a>>2]=d;c[a+20>>2]=0;c[a+24>>2]=704;g=c[h>>2]|0;i=h;return g|0}while(0);c[h>>2]=0}}c[a+4>>2]=2147483647;c[a+8>>2]=0;c[a>>2]=0;c[a+20>>2]=88;c[a+24>>2]=704;g=c[h>>2]|0;i=h;return g|0}function X2a(b){b=b|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;e=cTa(b,0)|0;c[n>>2]=e;if(e|0){b=e;i=n;return b|0}e=fTa(b,n+4|0,4)|0;c[n>>2]=e;if(e|0){b=e;i=n;return b|0}if((a[n+4>>0]|0)==31)if((a[n+4+1>>0]|0)==-117)if((a[n+4+2>>0]|0)==8){g=n+4+3|0;if((d[g>>0]|0)<=31){f=dTa(b,6)|0;c[n>>2]=f;e=a[g>>0]|0;do if(e&4){e=tTa(b,n)|0;f=c[n>>2]|0;if(f|0){b=f;i=n;return b|0}e=dTa(b,e&65535)|0;c[n>>2]=e;if(!e){e=a[g>>0]|0;f=0;break}else{b=e;i=n;return b|0}}while(0);do if(!(e&8)){h=e;j=f}else{a:while(1){f=rTa(b,n)|0;e=c[n>>2]|0;switch(((e|0)==0?(f<<24>>24==0?3:0):2)|0){case 0:break;case 3:{f=14;break a}default:{k=e;f=20;break a}}}if((f|0)==14){h=a[g>>0]|0;j=e;break}else if((f|0)==20){i=n;return k|0}}while(0);do if(!(h&16)){l=h;m=j}else{b:while(1){j=rTa(b,n)|0;e=c[n>>2]|0;switch(((e|0)==0?(j<<24>>24==0?5:0):2)|0){case 0:break;case 5:{f=17;break b}default:{k=e;f=20;break b}}}if((f|0)==17){l=a[g>>0]|0;m=e;break}else if((f|0)==20){i=n;return k|0}}while(0);if(!(l&2)){b=m;i=n;return b|0}b=dTa(b,2)|0;c[n>>2]=b;i=n;return b|0}}c[n>>2]=3;b=3;i=n;return b|0}function Y2a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=i;i=i+16|0;c=HTa(a,_(c,b)|0,d)|0;i=d;return c|0}function Z2a(a,b){a=a|0;b=b|0;LTa(a,b);return}function _2a(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!a){a=-2;return a|0}c[a+24>>2]=0;d=c[a+32>>2]|0;if(!d){c[a+32>>2]=150;c[a+40>>2]=0;d=150}if(!(c[a+36>>2]|0))c[a+36>>2]=227;d=Gi[d&255](c[a+40>>2]|0,1,24)|0;c[a+28>>2]=d;if(!d){a=-4;return a|0}c[d+20>>2]=0;f=(b|0)<0?0-b|0:b;c[d+12>>2]=b>>>31;if((f&-8|0)!=8){b3a(a)|0;a=-2;return a|0}c[d+16>>2]=f;d=(b|0)<0?0:151;g=Gi[c[a+32>>2]&255](c[a+40>>2]|0,1,64)|0;if(!g)c[(c[a+28>>2]|0)+20>>2]=0;else{e=Gi[c[a+32>>2]&255](c[a+40>>2]|0,8,1440)|0;c[g+36>>2]=e;do if(!e)si[c[a+36>>2]&511](c[a+40>>2]|0,g);else{e=Gi[c[a+32>>2]&255](c[a+40>>2]|0,1,1<>2]=e;if(!e){si[c[a+36>>2]&511](c[a+40>>2]|0,c[g+36>>2]|0);si[c[a+36>>2]&511](c[a+40>>2]|0,g);break}c[g+44>>2]=e+(1<>2]=d;c[g>>2]=0;c[g+28>>2]=0;c[g+32>>2]=0;c[g+52>>2]=e;c[g+48>>2]=e;if((b|0)>=0){b=Gi[d&255](0,0,0)|0;c[g+60>>2]=b;c[a+48>>2]=b}d=c[a+28>>2]|0;c[d+20>>2]=g;if(!d){a=0;return a|0}c[a+20>>2]=0;c[a+8>>2]=0;c[a+24>>2]=0;c[d>>2]=c[d+12>>2]|0?7:0;d=c[g>>2]|0;if((d&-2|0)==4){si[c[a+36>>2]&511](c[a+40>>2]|0,c[g+12>>2]|0);d=c[g>>2]|0}if((d|0)==6)si[c[a+36>>2]&511](c[a+40>>2]|0,c[g+4>>2]|0);c[g>>2]=0;c[g+28>>2]=0;c[g+32>>2]=0;d=c[g+40>>2]|0;c[g+52>>2]=d;c[g+48>>2]=d;d=c[g+56>>2]|0;if(!d){a=0;return a|0}b=Gi[d&255](0,0,0)|0;c[g+60>>2]=b;c[a+48>>2]=b;a=0;return a|0}while(0);c[(c[a+28>>2]|0)+20>>2]=0}b3a(a)|0;a=-4;return a|0}function $2a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=i;i=i+16|0;c=HTa(a,_(c,b)|0,d)|0;i=d;return c|0}function a3a(a,b){a=a|0;b=b|0;LTa(a,b);return}function b3a(a){a=a|0;var b=0,d=0,e=0;if(!a){a=-2;return a|0}b=c[a+28>>2]|0;if(!b){a=-2;return a|0}d=c[a+36>>2]|0;if(!d){a=-2;return a|0}e=c[b+20>>2]|0;if(!e)e=a+40|0;else{b=c[e>>2]|0;if((b&-2|0)==4){si[d&511](c[a+40>>2]|0,c[e+12>>2]|0);b=c[e>>2]|0}if((b|0)==6)si[c[a+36>>2]&511](c[a+40>>2]|0,c[e+4>>2]|0);c[e>>2]=0;c[e+28>>2]=0;c[e+32>>2]=0;b=c[e+40>>2]|0;c[e+52>>2]=b;c[e+48>>2]=b;d=c[e+56>>2]|0;if(d){b=Gi[d&255](0,0,0)|0;c[e+60>>2]=b;c[a+48>>2]=b;b=c[e+40>>2]|0}si[c[a+36>>2]&511](c[a+40>>2]|0,b);si[c[a+36>>2]&511](c[a+40>>2]|0,c[e+36>>2]|0);si[c[a+36>>2]&511](c[a+40>>2]|0,e);e=a+40|0;d=c[a+36>>2]|0;b=c[a+28>>2]|0}si[d&511](c[e>>2]|0,b);c[a+28>>2]=0;a=0;return a|0}function c3a(a,b,c){a=a|0;b=b|0;c=c|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;if(!b){k=1;return k|0}if(!c){c=a&65535;b=a>>>16}else{e=b;g=a&65535;b=a>>>16;while(1){k=c>>>0<5552?c:5552;j=c;c=c-k|0;if((k|0)>15){h=(j>>>0<5552?j:5552)+-16&-16;i=e+16|0;f=e;e=k;a=g;while(1){y=(d[f>>0]|0)+a|0;x=y+(d[f+1>>0]|0)|0;w=x+(d[f+2>>0]|0)|0;v=w+(d[f+3>>0]|0)|0;u=v+(d[f+4>>0]|0)|0;t=u+(d[f+5>>0]|0)|0;s=t+(d[f+6>>0]|0)|0;r=s+(d[f+7>>0]|0)|0;q=r+(d[f+8>>0]|0)|0;p=q+(d[f+9>>0]|0)|0;o=p+(d[f+10>>0]|0)|0;n=o+(d[f+11>>0]|0)|0;m=n+(d[f+12>>0]|0)|0;l=m+(d[f+13>>0]|0)|0;g=l+(d[f+14>>0]|0)|0;a=g+(d[f+15>>0]|0)|0;b=y+b+x+w+v+u+t+s+r+q+p+o+n+m+l+g+a|0;e=e+-16|0;if((e|0)>15)f=f+16|0;else break}h=i+h|0}else{h=e;e=j;a=g}if(!e)e=h;else{f=h;g=e;while(1){a=(d[f>>0]|0)+a|0;b=a+b|0;g=g+-1|0;if(!g)break;else f=f+1|0}e=h+e|0}a=(a>>>0)%65521|0;b=(b>>>0)%65521|0;if((j|0)==(k|0)){c=a;break}else g=a}}y=b<<16|c;return y|0}function d3a(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;h=c[a+8264>>2]|0;if(h>>>0>b>>>0){if(cTa(c[a>>2]|0,c[a+68>>2]|0)|0){a=0;return a|0}h=c[a+40>>2]|0;if(h|0){c[a+32>>2]=0;c[a+20>>2]=0;c[a+36>>2]=0;c[h>>2]=c[h+12>>2]|0?7:0;i=c[h+20>>2]|0;h=c[i>>2]|0;if((h&-2|0)==4){si[c[a+48>>2]&511](c[a+52>>2]|0,c[i+12>>2]|0);h=c[i>>2]|0}if((h|0)==6)si[c[a+48>>2]&511](c[a+52>>2]|0,c[i+4>>2]|0);c[i>>2]=0;c[i+28>>2]=0;c[i+32>>2]=0;h=c[i+40>>2]|0;c[i+52>>2]=h;c[i+48>>2]=h;h=c[i+56>>2]|0;if(h|0){o=Gi[h&255](0,0,0)|0;c[i+60>>2]=o;c[a+60>>2]=o}}c[a+16>>2]=0;c[a+12>>2]=a+72;c[a+28>>2]=0;c[a+24>>2]=a+4168;c[a+8272>>2]=a+8264;c[a+8268>>2]=a+8264;c[a+8264>>2]=0;h=0}do if(h>>>0>>0){k=b-h|0;b=c[a+8272>>2]|0;j=c[a+8268>>2]|0;i=(b-j|0)>>>0>>0?b-j|0:k;c[a+8268>>2]=j+i;c[a+8264>>2]=i+h;a:do if((i|0)==(k|0)){q=j+i|0;p=b}else{b:while(1){k=k-i|0;c[a+8268>>2]=a+4168;c[a+24>>2]=a+4168;c[a+28>>2]=4096;c:while(1){if(!(c[a+16>>2]|0)){b=c[a>>2]|0;h=c[b+20>>2]|0;if(!h){i=c[b+8>>2]|0;h=(c[b+4>>2]|0)-i|0;h=h>>>0>4096?4096:h;if(!h){f=0;h=43;break b}mBb(a+72|0,(c[b>>2]|0)+i|0,h|0)|0;i=b+8|0}else{h=cj[h&127](b,c[b+8>>2]|0,a+72|0,4096)|0;if(!h){f=0;h=43;break b}else i=b+8|0}c[i>>2]=(c[i>>2]|0)+h;c[a+12>>2]=a+72;c[a+16>>2]=h}switch(e3a(a+12|0,0)|0){case 1:{h=23;break c}case 0:break;default:{f=0;h=43;break b}}if(!(c[a+28>>2]|0)){h=24;break}}if((h|0)==23){f=c[a+24>>2]|0;c[a+8272>>2]=f;h=c[a+8268>>2]|0;if((f|0)==(h|0)){f=0;h=43;break}else l=h}else if((h|0)==24){f=c[a+8272>>2]|0;l=c[a+8268>>2]|0}i=f-l|0;i=i>>>0>>0?i:k;h=l+i|0;c[a+8268>>2]=h;c[a+8264>>2]=i+(c[a+8264>>2]|0);if((k|0)==(i|0)){q=h;p=f;break a}}if((h|0)==43)return f|0}while(0);if(!e){a=0;return a|0}else{l=a+8272|0;m=a+8268|0;n=a+8268|0;o=a+8272|0;f=p;h=q}}else if(!e){a=0;return a|0}else{l=a+8272|0;m=a+8268|0;n=a+8268|0;o=a+8272|0;f=c[a+8272>>2]|0;h=c[a+8268>>2]|0;break}while(0);f=f-h|0;f=f>>>0>>0?f:e;mBb(d|0,h|0,f|0)|0;c[m>>2]=(c[m>>2]|0)+f;c[a+8264>>2]=(c[a+8264>>2]|0)+f;if((f|0)==(e|0)){a=e;return a|0}k=e-f|0;j=d+f|0;d:while(1){c[m>>2]=a+4168;c[a+24>>2]=a+4168;c[a+28>>2]=4096;e:while(1){if(!(c[a+16>>2]|0)){b=c[a>>2]|0;h=c[b+20>>2]|0;if(!h){i=c[b+8>>2]|0;h=(c[b+4>>2]|0)-i|0;h=h>>>0>4096?4096:h;if(!h){h=43;break d}mBb(a+72|0,(c[b>>2]|0)+i|0,h|0)|0;i=b+8|0}else{h=cj[h&127](b,c[b+8>>2]|0,a+72|0,4096)|0;if(!h){h=43;break d}else i=b+8|0}c[i>>2]=(c[i>>2]|0)+h;c[a+12>>2]=a+72;c[a+16>>2]=h}switch(e3a(a+12|0,0)|0){case 1:{h=40;break e}case 0:break;default:{h=43;break d}}if(!(c[a+28>>2]|0)){h=41;break}}if((h|0)==40){g=c[a+24>>2]|0;c[o>>2]=g;h=c[m>>2]|0;if((g|0)==(h|0)){h=43;break}else r=h}else if((h|0)==41){g=c[l>>2]|0;r=c[n>>2]|0}h=g-r|0;h=h>>>0>>0?h:k;mBb(j|0,r|0,h|0)|0;f=h+f|0;c[m>>2]=(c[m>>2]|0)+h;c[a+8264>>2]=(c[a+8264>>2]|0)+h;if((k|0)==(h|0)){h=43;break}else{k=k-h|0;j=j+h|0}}if((h|0)==43)return f|0;return 0}function e3a(b,e){b=b|0;e=e|0;var f=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,v=0,w=0,x=0,y=0,z=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,jb=0,kb=0,lb=0,mb=0,nb=0,ob=0,pb=0,qb=0,rb=0,sb=0,tb=0,ub=0,vb=0,wb=0,xb=0,yb=0,zb=0,Ab=0,Bb=0,Cb=0,Db=0,Eb=0,Fb=0,Gb=0,Hb=0,Ib=0,Jb=0,Kb=0,Lb=0,Mb=0,Nb=0,Ob=0,Pb=0,Qb=0,Rb=0,Sb=0,Tb=0,Ub=0,Vb=0,Wb=0,Xb=0,Yb=0,Zb=0,_b=0,$b=0,ac=0,bc=0,cc=0,dc=0,ec=0,fc=0,gc=0,hc=0,ic=0,jc=0,kc=0,lc=0,mc=0,nc=0,oc=0,pc=0,qc=0,rc=0,sc=0,tc=0,uc=0,vc=0,wc=0,xc=0,yc=0,zc=0,Ac=0,Bc=0,Cc=0,Dc=0,Ec=0,Fc=0,Gc=0,Hc=0,Ic=0,Jc=0,Kc=0,Lc=0,Mc=0,Nc=0,Oc=0,Pc=0,Qc=0,Rc=0,Sc=0,Tc=0,Uc=0,Vc=0,Wc=0,Xc=0,Yc=0,Zc=0,_c=0,$c=0,ad=0,bd=0,cd=0,dd=0,ed=0,fd=0,gd=0,hd=0,id=0,jd=0,kd=0,ld=0,md=0,nd=0,od=0,pd=0,qd=0,rd=0,sd=0,td=0,ud=0,vd=0,wd=0,xd=0;xd=i;i=i+5648|0;if(!b){b=-2;i=xd;return b|0}f=c[b+28>>2]|0;if(!f){b=-2;i=xd;return b|0}if(!(c[b>>2]|0)){b=-2;i=xd;return b|0}H=(e|0)==4?-5:0;e=-5;a:while(1){j=f+4|0;k=f+16|0;l=f+4|0;b:while(1){c:do switch(c[f>>2]|0){case 2:{fa=f;ma=f;hd=e;F=22;break a}case 3:{ga=f;na=f;id=e;F=25;break a}case 4:{ha=f;oa=f;jd=e;F=28;break a}case 5:{ia=f;pa=f;kd=e;F=31;break a}case 6:{ja=f;qa=f;F=34;break a}case 12:{O=1;F=272;break a}case 13:{F=273;break a}case 7:{ld=e;F=35;break b}case 8:{Ka=f;ud=e;F=262;break b}case 9:{md=e;F=9;break b}case 10:{nd=e;F=8;break b}case 11:{od=e;F=7;break b}case 0:{h=c[b+4>>2]|0;if(!h){O=e;F=272;break a}c[b+4>>2]=h+-1;c[b+8>>2]=(c[b+8>>2]|0)+1;e=c[b>>2]|0;c[b>>2]=e+1;e=d[e>>0]|0;c[j>>2]=e;if((e&15|0)!=8){c[f>>2]=13;c[b+24>>2]=609626;c[j>>2]=5;e=H;continue b}if(((e>>>4)+8|0)>>>0>(c[k>>2]|0)>>>0){c[f>>2]=13;c[b+24>>2]=609653;c[j>>2]=5;e=H;continue b}else{c[f>>2]=1;e=H;break c}}case 1:break;default:{L=-2;F=274;break a}}while(0);wa=c[b+4>>2]|0;if(!wa){O=e;F=272;break a}c[b+4>>2]=wa+-1;c[b+8>>2]=(c[b+8>>2]|0)+1;e=c[b>>2]|0;c[b>>2]=e+1;e=d[e>>0]|0;if(((c[l>>2]<<8|e)>>>0)%31|0|0){c[f>>2]=13;c[b+24>>2]=609603;c[l>>2]=5;e=H;continue}if(e&32|0){ka=f;ra=f;F=21;break a}c[f>>2]=7;e=H}do{e=1;if(e){e=0;if((F|0)==7){F=0;Na=c[b+4>>2]|0;Pa=f;pd=od}else if((F|0)==8){La=c[b+4>>2]|0;Ma=f;vd=nd;F=266}else if((F|0)==9){I=c[b+4>>2]|0;J=f;K=md;F=264}else if((F|0)==35)e=1}if(e)if(1){F=0;E=c[f+20>>2]|0;e=c[E+52>>2]|0;f=c[E+48>>2]|0;if(e>>>0>>0){C=E+44|0;D=E+44|0;f=f+~e|0}else{C=E+44|0;D=E+44|0;f=(c[E+44>>2]|0)-e|0}w=0;x=ld;y=c[E+32>>2]|0;z=c[E+28>>2]|0;u=c[b+4>>2]|0;v=c[b>>2]|0;d:while(1){j=x;l=y;k=z;h=f;m=u;n=v;o=e;e:while(1){f:while(1){q=j;p=c[E>>2]|0;j=h;s=m;r=n;m=o;while(1){switch(p|0){case 7:{W=q;$a=l;zb=k;$b=s;wc=r;fd=m;F=244;break d}case 8:{ab=l;Ab=k;ac=s;xc=r;gd=m;F=247;break d}case 9:{Ua=l;sb=k;Wb=s;qc=r;Sc=m;F=248;break d}case 3:{R=q;Ra=l;pb=k;Tb=s;nc=r;Pc=m;F=43;break e}case 4:{S=q;Sa=l;qb=k;Ub=s;oc=r;Qc=m;F=91;break e}case 5:{T=q;Ta=l;rb=k;Vb=s;pc=r;Rc=m;F=110;break e}case 6:{V=q;Z=w;_a=l;yb=k;_b=s;vc=r;Wc=m;break e}case 0:{P=q;Ob=j;Rb=s;lc=r;Nc=m;break f}case 1:{Q=q;Pb=j;Sb=s;mc=r;Oc=m;F=44;break f}case 2:break;default:{Qa=l;ob=k;Qb=s;kc=r;Mc=m;F=249;break d}}if(!s){U=q;Va=l;tb=k;rc=r;Tc=m;F=66;break d}do if(!j){if((m|0)==(c[C>>2]|0)){j=c[E+48>>2]|0;h=c[E+40>>2]|0;if((j|0)==(h|0))h=m;else{j=h>>>0>>0?j+-1|0:m;if((j|0)!=(h|0)){j=j-h|0;break}}}else h=m;c[E+52>>2]=h;G=f3a(E,b,q)|0;h=c[E+52>>2]|0;m=c[E+48>>2]|0;if(h>>>0>>0){j=c[C>>2]|0;o=m+~h|0}else{o=c[D>>2]|0;j=o;o=o-h|0}if((h|0)==(j|0)){n=c[E+40>>2]|0;if((m|0)==(n|0))j=o;else{j=(n>>>0>>0?m+-1|0:h)-n|0;h=n}}else j=o;if(!j){Wa=l;ub=k;Xb=s;sc=r;ed=h;F=78;break d}}else h=m;while(0);q=c[E+4>>2]|0;q=q>>>0>s>>>0?s:q;q=q>>>0>j>>>0?j:q;mBb(h|0,r|0,q|0)|0;n=r+q|0;m=s-q|0;o=h+q|0;h=j-q|0;s=c[E+4>>2]|0;c[E+4>>2]=s-q;if((s|0)!=(q|0)){j=0;continue f}p=c[E+24>>2]|0?7:0;c[E>>2]=p;q=0;j=h;s=m;r=n;m=o}}if((F|0)==44){F=0;if(k>>>0<32){m=Q;j=l;l=k;h=Sb;k=mc;while(1){if(!h){X=m;cb=j;Cb=l;zc=k;F=58;break d}h=h+-1|0;n=k+1|0;j=(d[k>>0]|0)<>>0<32){m=0;l=k;k=n}else{o=0;m=h;break}}}else{o=Q;j=l;m=Sb;n=mc}h=j>>>16;if((h^65535|0)!=(j&65535|0)){bb=j;Bb=k;bc=m;yc=n;F=60;break d}c[E+4>>2]=h^65535;if((h|0)==65535)h=c[E+24>>2]|0?7:0;else h=2;c[E>>2]=h;j=o;l=0;k=0;h=Pb;o=Oc;continue}if(k>>>0<3){if(!Rb){Xa=l;vb=k;F=47;break d}j=0;l=(d[lc>>0]|0)<>2]=l&1;switch(l>>>1&3|0){case 3:{Ya=l;wb=k;Yb=m;tc=n;F=55;break d}case 0:{k=k+-3|0;c[E>>2]=1;l=l>>>3>>>(k&7);k=k-(k&7)|0;h=Ob;o=Nc;continue e}case 1:{h=Gi[c[b+32>>2]&255](c[b+40>>2]|0,1,28)|0;if(!h){Za=l;xb=k;Zb=m;uc=n;F=53;break d}c[h>>2]=0;a[h+16>>0]=9;a[h+17>>0]=5;c[h+20>>2]=61196;c[h+24>>2]=65292;c[E+4>>2]=h;c[E>>2]=6;l=l>>>3;k=k+-3|0;h=Ob;o=Nc;continue e}case 2:{c[E>>2]=3;l=l>>>3;k=k+-3|0;h=Ob;o=Nc;continue e}default:{F=40;break a}}}c[xd+48>>2]=b;c[xd+96>>2]=M;c[xd+104>>2]=N;c[xd+120>>2]=w;c[xd+168>>2]=R;c[xd+176>>2]=S;c[xd+184>>2]=T;c[xd+208>>2]=x;c[xd+256>>2]=V;c[xd+392>>2]=Y;c[xd+400>>2]=Z;c[xd+448>>2]=_;c[xd+464>>2]=$;c[xd+552>>2]=aa;c[xd+576>>2]=ba;c[xd+584>>2]=ca;c[xd+592>>2]=da;c[xd+600>>2]=ea;c[xd+768>>2]=C;c[xd+776>>2]=D;c[xd+824>>2]=E;c[xd+1256>>2]=xa;c[xd+2248>>2]=Ea;c[xd+2256>>2]=Fa;c[xd+2264>>2]=Ga;c[xd+2272>>2]=Ha;c[xd+2280>>2]=Ia;c[xd+2664>>2]=Ra;c[xd+2672>>2]=Sa;c[xd+2680>>2]=Ta;c[xd+2720>>2]=y;c[xd+2760>>2]=_a;c[xd+2872>>2]=db;c[xd+2880>>2]=eb;c[xd+2896>>2]=fb;c[xd+2920>>2]=gb;c[xd+2928>>2]=hb;c[xd+2936>>2]=ib;c[xd+2944>>2]=jb;c[xd+2952>>2]=kb;c[xd+2984>>2]=lb;c[xd+3096>>2]=mb;c[xd+3120>>2]=nb;c[xd+3232>>2]=pb;c[xd+3240>>2]=qb;c[xd+3248>>2]=rb;c[xd+3288>>2]=z;c[xd+3328>>2]=yb;c[xd+3440>>2]=Db;c[xd+3448>>2]=Eb;c[xd+3464>>2]=Fb;c[xd+3488>>2]=Gb;c[xd+3496>>2]=Hb;c[xd+3504>>2]=Ib;c[xd+3512>>2]=Jb;c[xd+3520>>2]=Kb;c[xd+3552>>2]=Lb;c[xd+3672>>2]=Mb;c[xd+3704>>2]=Nb;c[xd+3776>>2]=f;c[xd+3936>>2]=Tb;c[xd+3944>>2]=Ub;c[xd+3952>>2]=Vb;c[xd+3984>>2]=u;c[xd+4040>>2]=_b;c[xd+4128>>2]=cc;c[xd+4136>>2]=dc;c[xd+4176>>2]=ec;c[xd+4184>>2]=fc;c[xd+4192>>2]=gc;c[xd+4200>>2]=hc;c[xd+4208>>2]=ic;c[xd+4344>>2]=jc;c[xd+4432>>2]=nc;c[xd+4440>>2]=oc;c[xd+4448>>2]=pc;c[xd+4488>>2]=v;c[xd+4544>>2]=vc;c[xd+4656>>2]=Ac;c[xd+4664>>2]=Bc;c[xd+4680>>2]=Cc;c[xd+4712>>2]=Dc;c[xd+4720>>2]=Ec;c[xd+4728>>2]=Fc;c[xd+4736>>2]=Gc;c[xd+4744>>2]=Hc;c[xd+4776>>2]=Ic;c[xd+4896>>2]=Jc;c[xd+4920>>2]=Kc;c[xd+4936>>2]=Lc;c[xd+5064>>2]=Pc;c[xd+5072>>2]=Qc;c[xd+5080>>2]=Rc;c[xd+5112>>2]=Uc;c[xd+5120>>2]=Vc;c[xd+5128>>2]=Wc;c[xd+5144>>2]=Xc;c[xd+5152>>2]=Yc;c[xd+5160>>2]=Zc;c[xd+5176>>2]=_c;c[xd+5184>>2]=$c;c[xd+5192>>2]=ad;c[xd+5200>>2]=bd;c[xd+5208>>2]=cd;c[xd+5224>>2]=dd;c[xd+5240>>2]=e;c[xd+5560>>2]=wd;c[xd+5584>>2]=F;c[xd+5600>>2]=0;c[xd+5604>>2]=0;w9a(xd);M=c[xd+96>>2]|0;N=c[xd+104>>2]|0;w=c[xd+120>>2]|0;x=c[xd+208>>2]|0;V=c[xd+256>>2]|0;Y=c[xd+392>>2]|0;Z=c[xd+400>>2]|0;_=c[xd+448>>2]|0;$=c[xd+464>>2]|0;aa=c[xd+552>>2]|0;ba=c[xd+576>>2]|0;ca=c[xd+584>>2]|0;da=c[xd+592>>2]|0;ea=c[xd+600>>2]|0;xa=c[xd+1256>>2]|0;Ea=c[xd+2248>>2]|0;Fa=c[xd+2256>>2]|0;Ga=c[xd+2264>>2]|0;Ha=c[xd+2272>>2]|0;Ia=c[xd+2280>>2]|0;y=c[xd+2720>>2]|0;_a=c[xd+2760>>2]|0;db=c[xd+2872>>2]|0;eb=c[xd+2880>>2]|0;fb=c[xd+2896>>2]|0;gb=c[xd+2920>>2]|0;hb=c[xd+2928>>2]|0;ib=c[xd+2936>>2]|0;jb=c[xd+2944>>2]|0;kb=c[xd+2952>>2]|0;lb=c[xd+2984>>2]|0;mb=c[xd+3096>>2]|0;nb=c[xd+3120>>2]|0;z=c[xd+3288>>2]|0;yb=c[xd+3328>>2]|0;Db=c[xd+3440>>2]|0;Eb=c[xd+3448>>2]|0;Fb=c[xd+3464>>2]|0;Gb=c[xd+3488>>2]|0;Hb=c[xd+3496>>2]|0;Ib=c[xd+3504>>2]|0;Jb=c[xd+3512>>2]|0;Kb=c[xd+3520>>2]|0;Lb=c[xd+3552>>2]|0;Mb=c[xd+3672>>2]|0;Nb=c[xd+3704>>2]|0;f=c[xd+3776>>2]|0;u=c[xd+3984>>2]|0;_b=c[xd+4040>>2]|0;cc=c[xd+4128>>2]|0;dc=c[xd+4136>>2]|0;ec=c[xd+4176>>2]|0;fc=c[xd+4184>>2]|0;gc=c[xd+4192>>2]|0;hc=c[xd+4200>>2]|0;ic=c[xd+4208>>2]|0;jc=c[xd+4344>>2]|0;v=c[xd+4488>>2]|0;vc=c[xd+4544>>2]|0;Ac=c[xd+4656>>2]|0;Bc=c[xd+4664>>2]|0;Cc=c[xd+4680>>2]|0;Dc=c[xd+4712>>2]|0;Ec=c[xd+4720>>2]|0;Fc=c[xd+4728>>2]|0;Gc=c[xd+4736>>2]|0;Hc=c[xd+4744>>2]|0;Ic=c[xd+4776>>2]|0;Jc=c[xd+4896>>2]|0;Kc=c[xd+4920>>2]|0;Lc=c[xd+4936>>2]|0;Uc=c[xd+5112>>2]|0;Vc=c[xd+5120>>2]|0;Wc=c[xd+5128>>2]|0;Xc=c[xd+5144>>2]|0;Yc=c[xd+5152>>2]|0;Zc=c[xd+5160>>2]|0;_c=c[xd+5176>>2]|0;$c=c[xd+5184>>2]|0;ad=c[xd+5192>>2]|0;bd=c[xd+5200>>2]|0;cd=c[xd+5208>>2]|0;dd=c[xd+5224>>2]|0;e=c[xd+5240>>2]|0;wd=c[xd+5560>>2]|0;F=c[xd+5584>>2]|0;A=c[xd+5600>>2]|0;t=c[xd+5604>>2]|0;B=+g[xd+5604>>2];c[xd+5600>>2]=0;c[xd+5604>>2]=0;if((A|0)==1)break;if((A|0)==2)switch(t|0){case 14:break d}}switch(F|0){case 47:{F=0;c[E+32>>2]=Xa;c[E+28>>2]=vb;c[b+4>>2]=0;c[b+8>>2]=lc-(c[b>>2]|0)+(c[b+8>>2]|0);c[b>>2]=lc;c[E+52>>2]=Nc;$=f3a(E,b,P)|0;break}case 53:{F=0;c[E+4>>2]=0;c[E+32>>2]=Za;c[E+28>>2]=xb;c[b+4>>2]=Zb;c[b+8>>2]=uc-(c[b>>2]|0)+(c[b+8>>2]|0);c[b>>2]=uc;c[E+52>>2]=Nc;$=f3a(E,b,-4)|0;break}case 55:{F=0;c[E>>2]=9;c[b+24>>2]=609718;c[E+32>>2]=Ya>>>3;c[E+28>>2]=wb+-3;c[b+4>>2]=Yb;c[b+8>>2]=tc-(c[b>>2]|0)+(c[b+8>>2]|0);c[b>>2]=tc;c[E+52>>2]=Nc;$=f3a(E,b,-3)|0;break}case 58:{F=0;c[E+32>>2]=cb;c[E+28>>2]=Cb;c[b+4>>2]=0;c[b+8>>2]=zc-(c[b>>2]|0)+(c[b+8>>2]|0);c[b>>2]=zc;c[E+52>>2]=Oc;$=f3a(E,b,X)|0;break}case 60:{F=0;c[E>>2]=9;c[b+24>>2]=609737;c[E+32>>2]=bb;c[E+28>>2]=Bb;c[b+4>>2]=bc;c[b+8>>2]=yc-(c[b>>2]|0)+(c[b+8>>2]|0);c[b>>2]=yc;c[E+52>>2]=Oc;$=f3a(E,b,-3)|0;break}case 66:{F=0;c[E+32>>2]=Va;c[E+28>>2]=tb;c[b+4>>2]=0;c[b+8>>2]=rc-(c[b>>2]|0)+(c[b+8>>2]|0);c[b>>2]=rc;c[E+52>>2]=Tc;$=f3a(E,b,U)|0;break}case 78:{F=0;c[E+32>>2]=Wa;c[E+28>>2]=ub;c[b+4>>2]=Xb;c[b+8>>2]=sc-(c[b>>2]|0)+(c[b+8>>2]|0);c[b>>2]=sc;c[E+52>>2]=ed;$=f3a(E,b,G)|0;break}case 83:{F=0;c[E+32>>2]=fb;c[E+28>>2]=Fb;c[b+4>>2]=0;c[b+8>>2]=Cc-(c[b>>2]|0)+(c[b+8>>2]|0);c[b>>2]=Cc;c[E+52>>2]=Pc;$=f3a(E,b,Y)|0;break}case 86:{F=0;c[E>>2]=9;c[b+24>>2]=609766;c[E+32>>2]=db;c[E+28>>2]=Db;c[b+4>>2]=cc;c[b+8>>2]=Ac-(c[b>>2]|0)+(c[b+8>>2]|0);c[b>>2]=Ac;c[E+52>>2]=Uc;$=f3a(E,b,-3)|0;break}case 88:{F=0;c[E+32>>2]=eb;c[E+28>>2]=Eb;c[b+4>>2]=dc;c[b+8>>2]=Bc-(c[b>>2]|0)+(c[b+8>>2]|0);c[b>>2]=Bc;c[E+52>>2]=Vc;$=f3a(E,b,-4)|0;break}case 96:{F=0;c[E+32>>2]=lb;c[E+28>>2]=Lb;c[b+4>>2]=0;c[b+8>>2]=Ic-(c[b>>2]|0)+(c[b+8>>2]|0);c[b>>2]=Ic;c[E+52>>2]=dd;$=f3a(E,b,_)|0;break}case 101:{N=-4;ib=gb;Ib=Gb;gc=ec;Fc=Dc;ad=_c;F=108;break}case 104:{xa=ea;kb=hb;Kb=Hb;ic=fc;Hc=Ec;cd=$c;wd=592835;F=105;break}case 116:{F=0;c[E+32>>2]=mb;c[E+28>>2]=Mb;c[b+4>>2]=0;c[b+8>>2]=Jc-(c[b>>2]|0)+(c[b+8>>2]|0);c[b>>2]=Jc;c[E+52>>2]=Xc;$=f3a(E,b,aa)|0;break}case 123:{F=0;c[E+32>>2]=nb;c[E+28>>2]=Nb;c[b+4>>2]=0;c[b+8>>2]=Lc-(c[b>>2]|0)+(c[b+8>>2]|0);c[b>>2]=Lc;c[E+52>>2]=Yc;$=f3a(E,b,ba)|0;break}case 126:{F=0;si[c[b+36>>2]&511](c[b+40>>2]|0,c[E+12>>2]|0);c[E>>2]=9;c[b+24>>2]=609827;c[E+32>>2]=ca;c[E+28>>2]=da;c[b+4>>2]=jc;c[b+8>>2]=Kc-(c[b>>2]|0)+(c[b+8>>2]|0);c[b>>2]=Kc;c[E+52>>2]=Zc;$=f3a(E,b,-3)|0;break}case 237:{F=0;$=f3a(E,b,M)|0;break}case 243:{c[E>>2]=7;W=0;$a=Ga;zb=Ha;$b=Fa;wc=Ea;fd=Ia;F=244;break}case 248:{F=0;c[E+32>>2]=Ua;c[E+28>>2]=sb;c[b+4>>2]=Wb;c[b+8>>2]=qc-(c[b>>2]|0)+(c[b+8>>2]|0);c[b>>2]=qc;c[E+52>>2]=Sc;$=f3a(E,b,-3)|0;break}case 249:{F=0;c[E+32>>2]=Qa;c[E+28>>2]=ob;c[b+4>>2]=Qb;c[b+8>>2]=kc-(c[b>>2]|0)+(c[b+8>>2]|0);c[b>>2]=kc;c[E+52>>2]=Mc;$=f3a(E,b,-2)|0;break}}do if((F|0)==105){c[b+24>>2]=wd;si[c[b+36>>2]&511](c[b+40>>2]|0,xa);jb=kb;Jb=Kb;hc=ic;Gc=Hc;bd=cd;F=107}else if((F|0)==244){F=0;c[E+52>>2]=fd;f=f3a(E,b,W)|0;e=c[E+52>>2]|0;if((c[E+48>>2]|0)==(e|0)){c[E>>2]=8;ab=$a;Ab=zb;ac=$b;xc=wc;gd=e;F=247;break}else{c[E+32>>2]=$a;c[E+28>>2]=zb;c[b+4>>2]=$b;c[b+8>>2]=wc-(c[b>>2]|0)+(c[b+8>>2]|0);c[b>>2]=wc;$=f3a(E,b,f)|0;break}}while(0);if((F|0)==107){si[c[b+36>>2]&511](c[b+40>>2]|0,c[E+12>>2]|0);c[E>>2]=9;N=-3;ib=jb;Ib=Jb;gc=hc;Fc=Gc;ad=bd;F=108}else if((F|0)==247){F=0;c[E+32>>2]=ab;c[E+28>>2]=Ab;c[b+4>>2]=ac;c[b+8>>2]=xc-(c[b>>2]|0)+(c[b+8>>2]|0);c[b>>2]=xc;c[E+52>>2]=gd;$=f3a(E,b,1)|0}if((F|0)==108){c[E+32>>2]=ib;c[E+28>>2]=Ib;c[b+4>>2]=gc;c[b+8>>2]=Fc-(c[b>>2]|0)+(c[b+8>>2]|0);c[b>>2]=Fc;c[E+52>>2]=ad;$=f3a(E,b,N)|0}switch($|0){case 0:{L=H;F=274;break a}case -3:{f=c[b+28>>2]|0;c[f>>2]=13;c[f+4>>2]=0;e=-3;continue a}default:{}}if(($|0)!=1){L=$;F=274;break a}f=c[b+28>>2]|0;e=c[f+20>>2]|0;c[f+4>>2]=c[e+60>>2];f=c[e>>2]|0;if((f&-2|0)==4){si[c[b+36>>2]&511](c[b+40>>2]|0,c[e+12>>2]|0);f=c[e>>2]|0}if((f|0)==6)si[c[b+36>>2]&511](c[b+40>>2]|0,c[e+4>>2]|0);c[e>>2]=0;c[e+28>>2]=0;c[e+32>>2]=0;f=c[e+40>>2]|0;c[e+52>>2]=f;c[e+48>>2]=f;f=c[e+56>>2]|0;if(f|0){F=Gi[f&255](0,0,0)|0;c[e+60>>2]=F;c[b+48>>2]=F}f=c[b+28>>2]|0;if(!(c[f+12>>2]|0)){c[f>>2]=8;Ka=f;ud=H;F=262;break}else{c[f>>2]=12;e=H;continue a}}}while(0);if((F|0)==262){f=c[b+4>>2]|0;if(!f){L=ud;F=274;break}c[b+4>>2]=f+-1;c[b+8>>2]=(c[b+8>>2]|0)+1;I=c[b>>2]|0;c[b>>2]=I+1;c[Ka+8>>2]=(d[I>>0]|0)<<24;c[Ka>>2]=9;I=f+-1|0;J=Ka;K=H;F=264}if((F|0)==264){if(!I){L=K;F=274;break}La=I+-1|0;c[b+4>>2]=La;c[b+8>>2]=(c[b+8>>2]|0)+1;vd=c[b>>2]|0;c[b>>2]=vd+1;Ma=J+8|0;c[Ma>>2]=(c[Ma>>2]|0)+((d[vd>>0]|0)<<16);c[J>>2]=10;Ma=J;vd=H;F=266}if((F|0)==266){if(!La){L=vd;F=274;break}Na=La+-1|0;c[b+4>>2]=Na;c[b+8>>2]=(c[b+8>>2]|0)+1;pd=c[b>>2]|0;c[b>>2]=pd+1;Pa=Ma+8|0;c[Pa>>2]=(c[Pa>>2]|0)+((d[pd>>0]|0)<<8);c[Ma>>2]=11;Pa=Ma;pd=H}if(!Na){L=pd;F=274;break}c[b+4>>2]=Na+-1;c[b+8>>2]=(c[b+8>>2]|0)+1;F=c[b>>2]|0;c[b>>2]=F+1;f=Pa+8|0;F=(c[f>>2]|0)+(d[F>>0]|0)|0;c[f>>2]=F;f=Pa+4|0;if((c[f>>2]|0)==(F|0)){la=Pa;F=271;break}c[Pa>>2]=13;c[b+24>>2]=609940;c[f>>2]=5;f=Pa;e=H}switch(F|0){case 21:{c[ka>>2]=2;va=ra;ya=wa+-1|0;za=ka;qd=H;F=23;break}case 22:{va=ma;ya=c[b+4>>2]|0;za=fa;qd=hd;F=23;break}case 25:{ua=na;Aa=c[b+4>>2]|0;Ba=ga;rd=id;F=26;break}case 28:{ta=oa;Ca=c[b+4>>2]|0;Da=ha;sd=jd;F=29;break}case 31:{sa=pa;Ja=c[b+4>>2]|0;Oa=ia;td=kd;break}case 34:{c[ja>>2]=13;c[b+24>>2]=610777;c[qa+4>>2]=0;b=-2;i=xd;return b|0}case 40:break;case 271:{c[la>>2]=12;b=1;i=xd;return b|0}case 272:{b=O;i=xd;return b|0}case 273:{b=-3;i=xd;return b|0}case 274:{i=xd;return L|0}}do if((F|0)==23)if(!ya){b=qd;i=xd;return b|0}else{Aa=ya+-1|0;c[b+4>>2]=Aa;c[b+8>>2]=(c[b+8>>2]|0)+1;ua=c[b>>2]|0;c[b>>2]=ua+1;c[va+8>>2]=(d[ua>>0]|0)<<24;c[za>>2]=3;ua=va;Ba=za;rd=H;F=26;break}while(0);do if((F|0)==26)if(!Aa){b=rd;i=xd;return b|0}else{Ca=Aa+-1|0;c[b+4>>2]=Ca;c[b+8>>2]=(c[b+8>>2]|0)+1;Da=c[b>>2]|0;c[b>>2]=Da+1;ta=ua+8|0;c[ta>>2]=(c[ta>>2]|0)+((d[Da>>0]|0)<<16);c[Ba>>2]=4;ta=ua;Da=Ba;sd=H;F=29;break}while(0);do if((F|0)==29)if(!Ca){b=sd;i=xd;return b|0}else{Ja=Ca+-1|0;c[b+4>>2]=Ja;c[b+8>>2]=(c[b+8>>2]|0)+1;Oa=c[b>>2]|0;c[b>>2]=Oa+1;sa=ta+8|0;c[sa>>2]=(c[sa>>2]|0)+((d[Oa>>0]|0)<<8);c[Da>>2]=5;sa=ta;Oa=Da;td=H;break}while(0);if(!Ja){b=td;i=xd;return b|0}c[b+4>>2]=Ja+-1;c[b+8>>2]=(c[b+8>>2]|0)+1;wd=c[b>>2]|0;c[b>>2]=wd+1;vd=sa+8|0;wd=(c[vd>>2]|0)+(d[wd>>0]|0)|0;c[vd>>2]=wd;c[b+48>>2]=wd;c[Oa>>2]=6;b=2;i=xd;return b|0}function f3a(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;j=c[b+12>>2]|0;f=c[a+48>>2]|0;e=c[a+52>>2]|0;if(f>>>0>e>>>0)e=c[a+44>>2]|0;i=e-f|0;e=c[b+16>>2]|0;i=i>>>0>e>>>0?e:i;h=(d|0)==-5&(i|0)!=0?0:d;c[b+16>>2]=e-i;c[b+20>>2]=i+(c[b+20>>2]|0);e=c[a+56>>2]|0;if(e|0){g=Gi[e&255](c[a+60>>2]|0,f,i)|0;c[a+60>>2]=g;c[b+48>>2]=g}mBb(j|0,f|0,i|0)|0;if((f+i|0)!=(c[a+44>>2]|0)){g=j+i|0;j=f+i|0;c[b+12>>2]=g;c[a+48>>2]=j;return h|0}g=c[a+40>>2]|0;e=c[a+52>>2]|0;if((e|0)==(f+i|0)){c[a+52>>2]=g;d=g;e=g}else d=g;e=e-d|0;d=c[b+16>>2]|0;e=e>>>0>d>>>0?d:e;c[b+16>>2]=d-e;c[b+20>>2]=(c[b+20>>2]|0)+e;d=c[a+56>>2]|0;if(d|0){f=Gi[d&255](c[a+60>>2]|0,g,e)|0;c[a+60>>2]=f;c[b+48>>2]=f}mBb(j+i|0,g|0,e|0)|0;h=(h|0)==-5&(e|0)!=0?0:h;i=j+i+e|0;j=g+e|0;c[b+12>>2]=i;c[a+48>>2]=j;return h|0}function g3a(b,d,e,f,g,h,j,k,l,m){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;H=i;i=i+192|0;n=H+128|0;o=n+64|0;do{c[n>>2]=0;n=n+4|0}while((n|0)<(o|0));n=d;o=b;while(1){G=H+128+(c[o>>2]<<2)|0;c[G>>2]=(c[G>>2]|0)+1;n=n+-1|0;if(!n)break;else o=o+4|0}if((c[H+128>>2]|0)==(d|0)){c[h>>2]=0;c[j>>2]=0;m=0;i=H;return m|0}n=c[j>>2]|0;o=(c[H+128+4>>2]|0)==0;do if(o)if(!(c[H+128+8>>2]|0))if(!(c[H+128+12>>2]|0))if(!(c[H+128+16>>2]|0))if(!(c[H+128+20>>2]|0))if(!(c[H+128+24>>2]|0))if(!(c[H+128+28>>2]|0))if(!(c[H+128+32>>2]|0))if(!(c[H+128+36>>2]|0))if(!(c[H+128+40>>2]|0))if(!(c[H+128+44>>2]|0))if(!(c[H+128+48>>2]|0))if(!(c[H+128+52>>2]|0))if(!(c[H+128+56>>2]|0))if(!(c[H+128+60>>2]|0)){n=n>>>0<16?16:n;q=16;r=9;break}else{p=15;n=n>>>0<15?15:n;o=15;r=10;break}else{p=14;r=7}else{p=13;r=7}else{p=12;r=7}else{p=11;r=7}else{p=10;r=7}else{p=9;r=7}else{p=8;r=7}else{p=7;r=7}else{p=6;r=7}else{p=5;r=7}else{p=4;r=7}else{p=3;r=7}else{p=2;r=7}else{p=1;r=7}while(0);if((r|0)==7){n=n>>>0

>>0?p:n;if(!(c[H+128+60>>2]|0)){q=p;r=9}else{o=n>>>0>15?15:n;c[j>>2]=o;j=15;q=p;n=1<>2]|0))if(!(c[H+128+52>>2]|0))if(!(c[H+128+48>>2]|0))if(!(c[H+128+44>>2]|0))if(!(c[H+128+40>>2]|0))if(!(c[H+128+36>>2]|0))if(!(c[H+128+32>>2]|0))if(!(c[H+128+28>>2]|0))if(!(c[H+128+24>>2]|0))if(!(c[H+128+20>>2]|0))if(!(c[H+128+16>>2]|0))if(!(c[H+128+12>>2]|0))if(!(c[H+128+8>>2]|0)){p=o&1^1;o=q;r=10;break}else p=2;else p=3;else p=4;else p=5;else p=6;else p=7;else p=8;else p=9;else p=10;else p=11;else p=12;else p=13;else p=14;o=n>>>0>p>>>0?p:n;c[j>>2]=o;n=1<>>0

>>0){j=p;r=12}else{G=o;F=p;s=q}}while(0);a:do if((r|0)==10){G=n>>>0>p>>>0?p:n;c[j>>2]=G;F=p;s=o;n=1<>2]|0)|0;if((n|0)<0){n=-3;break}p=p+1|0;if(p>>>0>=j>>>0){G=o;F=j;s=q;n=n<<1;break a}else n=n<<1}i=H;return n|0}while(0);o=H+128+(F<<2)|0;E=c[o>>2]|0;if((n-E|0)<0){m=-3;i=H;return m|0}c[o>>2]=n;c[H+4>>2]=0;o=F+-1|0;if(!o){j=0;p=b}else{p=0;j=H+128+4|0;q=H+8|0;while(1){p=(c[j>>2]|0)+p|0;c[q>>2]=p;o=o+-1|0;if(!o){j=0;p=b;break}else{j=j+4|0;q=q+4|0}}}while(1){o=c[p>>2]|0;if(o|0){D=c[H+(o<<2)>>2]|0;c[H+(o<<2)>>2]=D+1;c[m+(D<<2)>>2]=j}j=j+1|0;if(j>>>0>=d>>>0)break;else p=p+4|0}C=c[H+(F<<2)>>2]|0;c[H>>2]=0;c[H+64>>2]=0;b:do if(s>>>0<=F>>>0){D=G&255;d=-1;t=0;B=s;b=m;s=0;q=0;p=0-G|0;r=0;c:while(1){z=H+128+(B<<2)|0;o=c[z>>2]|0;if(!o){o=d;j=r}else{A=1<(p|0)){v=q;while(1){q=o;u=j;while(1){o=q+1|0;t=F-p|0;t=t>>>0>G>>>0?G:t;j=B-p|0;e:do if(1<>>0>y>>>0&j>>>0>>0)if((j+1|0)>>>0>>0){r=j+1|0;j=(1<>2]|0;if(b>>>0<=s>>>0)break e;j=r+1|0;if(j>>>0>=t>>>0){r=j;break}else{r=j;j=b-s|0}}}else r=j+1|0;else r=j;while(0);t=1<>2]|0;if((d+t|0)>>>0>1440){n=-3;break c}c[H+64+(o<<2)>>2]=k+(d<<3);c[l>>2]=d+t;if(o|0){j=p;p=u;break}c[h>>2]=k+(d<<3);o=p+G|0;if((B|0)>(o|0)){u=p;p=o;q=0}else{o=0;s=k+(d<<3)|0;q=v;r=t;break d}}c[H+(o<<2)>>2]=x;b=x>>>p;q=c[H+64+(q<<2)>>2]|0;a[q+(b<<3)>>0]=r;a[q+(b<<3)+1>>0]=D;c[q+(b<<3)+4>>2]=(k+(d<<3)-q>>3)-b;p=j+G|0;if((B|0)<=(p|0)){s=k+(d<<3)|0;q=(k+(d<<3)-q>>3)-b|0;p=j;r=t;break}else v=(k+(d<<3)-q>>3)-b|0}}else p=j;while(0);y=y+-1|0;d=B-p|0;do if(w>>>0<(m+(C<<2)|0)>>>0){j=c[w>>2]|0;if(j>>>0>>0){u=w+4|0;b=j>>>0<256?0:96;v=j;break}else{u=w+4|0;b=(c[g+(j-e<<2)>>2]|0)+80&255;v=c[f+(j-e<<2)>>2]|0;break}}else{u=w;b=-64;v=q}while(0);j=x>>>p;if(j>>>0>>0){do{w=s+(j<<3)|0;a[w>>0]=b;a[w+1>>0]=d;c[s+(j<<3)+4>>2]=v;j=j+(1<>>0>>0);j=x;q=A}else{j=x;q=A}while(1){t=q^j;if(!(q&j))break;else{j=t;q=q>>>1}}if(((1<>2]|0))do{o=o+-1|0;p=p-G|0}while(((1<>2]|0));if(!y){b=u;q=v;j=r;break}else{x=t;w=u;q=v;j=p}}}if((B|0)<(F|0)){d=o;B=B+1|0;r=j}else break b}i=H;return n|0}while(0);m=(F|0)!=1&(n|0)!=(E|0)?-5:0;i=H;return m|0}function h3a(a){a=a|0;var b=0,d=0;b=c[a+12>>2]|0;if(!b)return;d=c[a+28>>2]|0;b3a(b+12|0)|0;c[b+44>>2]=0;c[b+48>>2]=0;c[b+52>>2]=0;c[b+24>>2]=0;c[b+28>>2]=0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;c[b+16>>2]=0;LTa(d,b);c[a+12>>2]=0;return}function i3a(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;return d3a(c[a+12>>2]|0,b,d,e)|0}function j3a(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=i;i=i+64|0;if(!((b|0)!=0&((a|0)!=0&(d|0)!=0))){d=6;i=g;return d|0}c[g>>2]=e;c[g+4>>2]=f;c[g+12>>2]=b;c[g+16>>2]=c[d>>2];c[g+32>>2]=149;c[g+36>>2]=226;c[g+40>>2]=a;if(_2a(g,15)|0){d=6;i=g;return d|0}b=e3a(g,4)|0;a:do if((b|0)==1){c[d>>2]=c[g+20>>2];e=c[g+28>>2]|0;if(e|0){f=c[g+36>>2]|0;if(f|0){a=c[e+20>>2]|0;if(a){e=c[a>>2]|0;if((e&-2|0)==4){si[f&511](c[g+40>>2]|0,c[a+12>>2]|0);e=c[a>>2]|0}if((e|0)==6)si[c[g+36>>2]&511](c[g+40>>2]|0,c[a+4>>2]|0);c[a>>2]=0;c[a+28>>2]=0;c[a+32>>2]=0;e=c[a+40>>2]|0;c[a+52>>2]=e;c[a+48>>2]=e;f=c[a+56>>2]|0;if(f){e=Gi[f&255](0,0,0)|0;c[a+60>>2]=e;c[g+48>>2]=e;e=c[a+40>>2]|0}si[c[g+36>>2]&511](c[g+40>>2]|0,e);si[c[g+36>>2]&511](c[g+40>>2]|0,c[a+36>>2]|0);si[c[g+36>>2]&511](c[g+40>>2]|0,a);f=c[g+36>>2]|0;e=c[g+28>>2]|0}si[f&511](c[g+40>>2]|0,e);c[g+28>>2]=0}}}else{e=c[g+28>>2]|0;if(e|0){f=c[g+36>>2]|0;if(f|0){a=c[e+20>>2]|0;if(a){e=c[a>>2]|0;if((e&-2|0)==4){si[f&511](c[g+40>>2]|0,c[a+12>>2]|0);e=c[a>>2]|0}if((e|0)==6)si[c[g+36>>2]&511](c[g+40>>2]|0,c[a+4>>2]|0);c[a>>2]=0;c[a+28>>2]=0;c[a+32>>2]=0;e=c[a+40>>2]|0;c[a+52>>2]=e;c[a+48>>2]=e;f=c[a+56>>2]|0;if(f){e=Gi[f&255](0,0,0)|0;c[a+60>>2]=e;c[g+48>>2]=e;e=c[a+40>>2]|0}si[c[g+36>>2]&511](c[g+40>>2]|0,e);si[c[g+36>>2]&511](c[g+40>>2]|0,c[a+36>>2]|0);si[c[g+36>>2]&511](c[g+40>>2]|0,a);f=c[g+36>>2]|0;e=c[g+28>>2]|0}si[f&511](c[g+40>>2]|0,e);c[g+28>>2]=0}}switch(((b|0)==0?-5:b)|0){case -5:{d=10;i=g;return d|0}case -3:{d=8;i=g;return d|0}case -4:{d=64;i=g;return d|0}default:break a}}while(0);d=0;i=g;return d|0}function k3a(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+16|0;if(!((b|0)!=0&(d|0)!=0)){c[h>>2]=40;b=40;i=h;return b|0}g=c[d+28>>2]|0;e=cTa(d,0)|0;if(!e){e=fTa(d,h+4|0,2)|0;if(!e)if((a[h+4>>0]|0)==31)if((a[h+4+1>>0]|0)==-99){c[h>>2]=0;e=b;f=e+40|0;do{c[e>>2]=0;e=e+4|0}while((e|0)<(f|0));c[b+28>>2]=g;f=HTa(g,4292,h)|0;e=c[h>>2]|0;do if(!e){c[f+4>>2]=b;c[f>>2]=d;c[f+8>>2]=c[b+28>>2];c[f+4288>>2]=f+4280;c[f+4284>>2]=f+4280;c[f+4280>>2]=0;e=cTa(d,0)|0;if(!e){e=fTa(d,h+4|0,2)|0;if(!e)if((a[h+4>>0]|0)==31?(a[h+4+1>>0]|0)==-99:0){hBb(f+12|0,0,164)|0;c[f+176>>2]=d;c[f+180>>2]=c[d+28>>2];c[f+88>>2]=0;c[f+92>>2]=0;c[f+96>>2]=0;c[f+100>>2]=f+112;c[f+108>>2]=64;c[f+16>>2]=0;c[f+36>>2]=0;c[f+40>>2]=0;a[f+44>>0]=0;c[f+48>>2]=0;c[f+104>>2]=0;c[f+64>>2]=9;c[f+12>>2]=0;c[h>>2]=0;c[b+12>>2]=f;e=0;break}else e=3}c[h>>2]=e;LTa(g,f);b=c[h>>2]|0;i=h;return b|0}while(0);c[b+4>>2]=2147483647;c[b+8>>2]=0;c[b>>2]=0;c[b+20>>2]=89;c[b+24>>2]=705;b=e;i=h;return b|0}else e=3;else e=3}c[h>>2]=e;b=e;i=h;return b|0}function l3a(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;k=c[b+12>>2]|0;b=c[k+4280>>2]|0;do if(b>>>0>d>>>0){g=c[k+4284>>2]|0;if((b-d|0)>>>0<=(g-(k+184)|0)>>>0){c[k+4284>>2]=g+(0-(b-d));c[k+4280>>2]=d;h=12;break}if(!(cTa(c[k>>2]|0,0)|0)){c[k+16>>2]=0;c[k+36>>2]=0;c[k+40>>2]=0;a[k+44>>0]=0;c[k+48>>2]=0;c[k+104>>2]=0;c[k+64>>2]=9;c[k+12>>2]=0;c[k+4288>>2]=k+4280;c[k+4284>>2]=k+4280;c[k+4280>>2]=0;b=0;h=6;break}else{e=0;return e|0}}else h=6;while(0);if((h|0)==6)if(b>>>0>>0){d=d-b|0;j=c[k+4284>>2]|0;g=(c[k+4288>>2]|0)-j|0;g=g>>>0>>0?g:d;c[k+4284>>2]=j+g;c[k+4280>>2]=g+b;a:do if((d|0)!=(g|0)){g=d-g|0;while(1){b=g>>>0<4096?g:4096;if((m3a(k+12|0,0,b)|0)>>>0>>0){b=0;break}c[k+4280>>2]=(c[k+4280>>2]|0)+b;if((g|0)==(b|0))break a;else g=g-b|0}return b|0}while(0);if(!f){e=0;return e|0}else{i=k+4288|0;j=k+4284|0;g=k+4284|0;b=k+4288|0}}else h=12;do if((h|0)==12)if(!f){e=0;return e|0}else{i=k+4288|0;j=k+4284|0;g=k+4284|0;b=k+4288|0;break}while(0);h=c[b>>2]|0;d=c[g>>2]|0;b=0;while(1){g=h-d|0;g=g>>>0>>0?g:f;mBb(e+b|0,d|0,g|0)|0;b=g+b|0;c[j>>2]=(c[j>>2]|0)+g;c[k+4280>>2]=(c[k+4280>>2]|0)+g;if((f|0)==(g|0)){h=17;break}c[j>>2]=k+184;l=m3a(k+12|0,k+184|0,4096)|0;d=c[j>>2]|0;h=d+l|0;c[i>>2]=h;if(!l){h=17;break}else f=f-g|0}if((h|0)==17)return b|0;return 0}function m3a(e,f,g){e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+16|0;l=c[e+68>>2]|0;k=c[e+64>>2]|0;h=c[e+72>>2]|0;if(!g){f=h;r=l;q=k;g=0;c[e+64>>2]=q;c[e+68>>2]=r;c[e+72>>2]=f;i=s;return g|0}a:do switch(c[e>>2]|0){case 0:{if(!(cTa(c[e+164>>2]|0,2)|0))if((hTa(c[e+164>>2]|0,s,1)|0)==1){j=d[s>>0]|0;c[e+40>>2]=j&31;c[e+44>>2]=j&128;c[e+48>>2]=(1<<(j&31))+-256;if((j&31)>>>0<=16){c[e+52>>2]=9;c[e+56>>2]=j>>>7;c[e+60>>2]=(j&31)>>>0>9?256:(1<<(j&31))+-255|0;j=n3a(e)|0;if(j>>>0>255)h=0;else{if(f|0)a[f>>0]=j;if(g>>>0>=2){c[e>>2]=1;h=0;l=j;k=j;r=1;q=12;break a}f=0;r=j;q=j;g=1;c[e+64>>2]=q;c[e+68>>2]=r;c[e+72>>2]=f;i=s;return g|0}}}j=0;q=68;break}case 1:{r=0;q=12;break}case 2:{m=e+92|0;n=e+88|0;p=h;o=l;j=0;q=54;break}default:{f=h;r=l;q=k;g=0;c[e+64>>2]=q;c[e+68>>2]=r;c[e+72>>2]=f;i=s;return g|0}}while(0);b:while(1)if((q|0)==12){j=n3a(e)|0;if((j|0)<0){j=r;q=68;continue}while(1){if((j|0)!=256){q=19;break}if(!(c[e+44>>2]|0)){h=256;j=l;q=20;break}c[e+56>>2]=0;a[e+32>>0]=1;j=n3a(e)|0;if((j|0)<0){l=0;k=0;j=r;q=68;continue b}else{l=0;k=0}}if((q|0)==19){q=0;if(j>>>0>255){h=j;j=l;q=20}else{h=j;l=j}}c:do if((q|0)==20){q=0;l=h+-256|0;m=c[e+56>>2]|0;if(l>>>0>>0)l=h;else{if(l>>>0>m>>>0){l=j;j=r;q=68;continue b}l=c[e+92>>2]|0;n=c[e+96>>2]|0;do if(l>>>0>>0)m=c[e+88>>2]|0;else{o=c[e+168>>2]|0;l=c[e+88>>2]|0;if((l|0)==(e+100|0)){c[e+88>>2]=0;l=0;m=0}else m=n;if((n+4+(n>>>1)|0)>>>0>65536){if((m|0)!=65536){n=65536;q=28}}else{n=n+4+(n>>>1)|0;q=28}if((q|0)==28){q=0;m=JTa(o,1,m,n,l,s)|0;c[e+88>>2]=m;if(!(c[s>>2]|0)){c[e+96>>2]=n;l=c[e+92>>2]|0;break}}l=j;j=r;q=68;continue b}while(0);c[e+92>>2]=l+1;a[m+l>>0]=j;if(k>>>0>255)l=k;else{l=k;break}}m=c[e+76>>2]|0;while(1){if(!m){l=j;j=r;q=68;continue b}m=c[e+92>>2]|0;n=c[e+96>>2]|0;if(m>>>0>>0){n=m;m=c[e+88>>2]|0}else{p=c[e+168>>2]|0;m=c[e+88>>2]|0;if((m|0)==(e+100|0)){c[e+88>>2]=0;m=0;o=0}else o=n;if((n+4+(n>>>1)|0)>>>0>65536)if((o|0)==65536)break;else n=65536;else n=n+4+(n>>>1)|0;m=JTa(p,1,o,n,m,s)|0;c[e+88>>2]=m;if(c[s>>2]|0)break;c[e+96>>2]=n;n=c[e+92>>2]|0}l=l+-256|0;p=a[(c[e+80>>2]|0)+l>>0]|0;c[e+92>>2]=n+1;a[m+n>>0]=p;m=c[e+76>>2]|0;l=b[m+(l<<1)>>1]|0;if((l&65535)<=255){l=l&65535;break c}else l=l&65535}l=j;j=r;q=68;continue b}while(0);j=c[e+92>>2]|0;m=c[e+96>>2]|0;do if(j>>>0>>0){n=e+88|0;m=j;j=c[e+88>>2]|0}else{o=c[e+168>>2]|0;j=c[e+88>>2]|0;if((j|0)==(e+100|0)){c[e+88>>2]=0;j=0;n=0}else n=m;if((m+4+(m>>>1)|0)>>>0>65536){if((n|0)!=65536){m=65536;q=50}}else{m=m+4+(m>>>1)|0;q=50}if((q|0)==50){j=JTa(o,1,n,m,j,s)|0;c[e+88>>2]=j;if(!(c[s>>2]|0)){c[e+96>>2]=m;n=e+88|0;m=c[e+92>>2]|0;break}}j=r;q=68;continue b}while(0);c[e+92>>2]=m+1;a[j+m>>0]=l;c[e>>2]=2;m=e+92|0;p=h;o=l;j=r;q=54;continue}else if((q|0)==54){d:do if(!f){h=c[m>>2]|0;while(1){if(!h)break d;h=h+-1|0;c[m>>2]=h;j=j+1|0;if((j|0)==(g|0)){h=p;l=o;j=g;q=69;break b}}}else while(1){h=c[m>>2]|0;if(!h)break d;c[m>>2]=h+-1;a[f+j>>0]=a[(c[n>>2]|0)+(h+-1)>>0]|0;j=j+1|0;if((j|0)==(g|0)){h=p;l=o;j=g;q=69;break b}}while(0);h=c[e+56>>2]|0;if(h>>>0<(c[e+48>>2]|0)>>>0){m=c[e+84>>2]|0;do if(h>>>0>>0){l=e+76|0;m=e+80|0}else{l=(m|0)==0?512:(m>>>2)+m|0;h=JTa(c[e+168>>2]|0,3,m,l,c[e+76>>2]|0,s)|0;c[e+76>>2]=h;if(!(c[s>>2]|0)){c[e+80>>2]=h+(l<<1);nBb(h+(l<<1)|0,h+(m<<1)|0,m|0)|0;c[e+84>>2]=l;l=e+76|0;m=e+80|0;h=c[e+56>>2]|0;break}else{h=p;l=o;q=68;continue b}}while(0);b[(c[l>>2]|0)+(h<<1)>>1]=k;a[(c[m>>2]|0)+h>>0]=o;c[e+56>>2]=(c[e+56>>2]|0)+1}c[e>>2]=1;h=p;l=o;k=p;r=j;q=12;continue}else if((q|0)==68){c[e>>2]=3;q=69;break}if((q|0)==69){c[e+64>>2]=k;c[e+68>>2]=l;c[e+72>>2]=h;i=s;return j|0}return 0}function n3a(b){b=b|0;var e=0,f=0,g=0,h=0,i=0;e=c[b+52>>2]|0;f=c[b+24>>2]|0;g=(a[b+32>>0]|0)==0;if(g)if(f>>>0<(c[b+28>>2]|0)>>>0){if((c[b+56>>2]|0)>>>0>=(c[b+60>>2]|0)>>>0)h=4}else h=4;else h=4;if((h|0)==4){if((c[b+56>>2]|0)>>>0>=(c[b+60>>2]|0)>>>0){c[b+52>>2]=e+1;if((e+1|0)>>>0<(c[b+40>>2]|0)>>>0)f=(1<>2]|0)+1|0;c[b+60>>2]=f;e=e+1|0}if(!g){c[b+52>>2]=9;c[b+60>>2]=256;a[b+32>>0]=0;e=9}if(c[b+4>>2]|0){i=-1;return i|0}i=hTa(c[b+164>>2]|0,b+8|0,e)|0;c[b+36>>2]=(c[b+36>>2]|0)+i;h=c[b+52>>2]|0;c[b+4>>2]=i>>>0>>0&1;c[b+24>>2]=0;c[b+28>>2]=(i<<3|1)-h;if(!i){i=-1;return i|0}else f=0}c[b+24>>2]=f+e;i=(f>>>3)+(b+8)|0;b=f&7;f=(d[i>>0]|0)>>>b;e=e-(8-b)|0;if(e>>>0>7){e=e+-8|0;g=8-b+8|0;h=i+2|0;f=d[i+1>>0]<<8-b|f}else{g=8-b|0;h=i+1|0}if(!e){i=f;return i|0}i=(d[h>>0]&(1<>2]|0;if(!d)return;f=c[b+28>>2]|0;g=c[d+180>>2]|0;c[d+16>>2]=0;c[d+36>>2]=0;c[d+40>>2]=0;a[d+44>>0]=0;c[d+48>>2]=0;c[d+104>>2]=0;c[d+64>>2]=9;c[d+12>>2]=0;e=c[d+100>>2]|0;if((e|0)!=(d+112|0)){LTa(g,e);c[d+100>>2]=0}LTa(g,c[d+88>>2]|0);hBb(d|0,0,184)|0;LTa(f,d);c[b+12>>2]=0;return}function p3a(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;g=c[a+28>>2]|0;a=Vpb(96)|0;h=O5a(b,8)|0;c[a>>2]=h;e=O5a(b,16)|0;c[a+4>>2]=e;f=O5a(b,16)|0;c[a+8>>2]=f;c[a+12>>2]=O5a(b,6)|0;c[a+16>>2]=O5a(b,8)|0;d=O5a(b,4)|0;c[a+20>>2]=d+1;a:do if((h|0)<1){if(!a){h=0;return h|0}}else if((e|0)>=1)if(!((d|0)<0|(f|0)<1)){if((d|0)<=-1){h=a;return h|0}e=0;do{d=O5a(b,8)|0;c[a+24+(e<<2)>>2]=d;if((d|0)<0)break a;if((d|0)>=(c[g+24>>2]|0))break a;d=c[g+1824+(d<<2)>>2]|0;if(!(c[d+12>>2]|0))break a;e=e+1|0;if((c[d>>2]|0)<1)break a}while((e|0)<(c[a+20>>2]|0));return a|0}while(0);Wpb(a);h=0;return h|0}function q3a(a,b){a=a|0;b=b|0;a=Xpb(1,32)|0;c[a+4>>2]=c[b>>2];c[a>>2]=c[b+8>>2];c[a+20>>2]=b;c[a+8>>2]=Xpb(2,4)|0;return a|0}function r3a(a){a=a|0;if(a|0)Wpb(a);return}function s3a(a){a=a|0;var b=0,d=0;if(!a)return;b=c[a+8>>2]|0;if(b|0){d=c[b>>2]|0;if(d){Wpb(d);b=c[a+8>>2]|0}d=c[b+4>>2]|0;if(d){Wpb(d);b=c[a+8>>2]|0}Wpb(b)}Wpb(a);return}function t3a(a,b){a=a|0;b=b|0;var d=0,e=0,f=0.0,h=0,i=0,j=0.0,k=0;e=c[b+20>>2]|0;d=O5a(a+4|0,c[e+12>>2]|0)|0;if((d|0)<=0){i=0;return i|0}j=+(c[e+16>>2]|0)*(+(d|0)/+((1<>2])+-1|0));d=O5a(a+4|0,u3a(c[e+20>>2]|0)|0)|0;if((d|0)==-1){i=0;return i|0}if((d|0)>=(c[e+20>>2]|0)){i=0;return i|0}h=(c[(c[(c[(c[a+64>>2]|0)+4>>2]|0)+28>>2]|0)+2848>>2]|0)+((c[e+24+(d<<2)>>2]|0)*56|0)|0;i=v3a(a,((c[h>>2]|0)+(c[b+4>>2]|0)<<2)+4|0)|0;if((w3a(h,i,a+4|0,c[b+4>>2]|0)|0)==-1){i=0;return i|0}a=c[b+4>>2]|0;if((a|0)>0){e=0;f=0.0;while(1){a:do if((e|0)<(a|0)){b=c[h>>2]|0;d=e;e=0;while(1){if((e|0)>=(b|0))break a;k=i+(d<<2)|0;g[k>>2]=f+ +g[k>>2];d=d+1|0;if((d|0)<(a|0))e=e+1|0;else break}}else d=e;while(0);if((d|0)<(a|0)){e=d;f=+g[i+(d+-1<<2)>>2]}else break}}g[i+(a<<2)>>2]=j;k=i;return k|0}function u3a(a){a=a|0;var b=0;if(!a)a=0;else{b=a;a=0;do{b=b>>>1;a=a+1|0}while((b|0)!=0)}return a|0}function v3a(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=c[a+72>>2]|0;e=c[a+68>>2]|0;if((d+(b+7&-8)|0)<=(c[a+76>>2]|0)){e=e+d|0;b=d+(b+7&-8)|0;c[a+72>>2]=b;return e|0}if(e|0){f=Vpb(8)|0;c[a+80>>2]=(c[a+80>>2]|0)+d;c[f+4>>2]=c[a+84>>2];c[f>>2]=e;c[a+84>>2]=f}c[a+76>>2]=b+7&-8;f=Vpb(b+7&-8)|0;c[a+68>>2]=f;c[a+72>>2]=0;e=0;f=f+e|0;b=e+(b+7&-8)|0;c[a+72>>2]=b;return f|0}function w3a(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;if((c[a+8>>2]|0)<=0){if((e|0)<=0){e=0;return e|0}hBb(b|0,0,e<<2|0)|0;e=0;return e|0}if((e|0)<=0){e=0;return e|0}f=0;while(1){g=x3a(a,d)|0;if((g|0)==-1){f=-1;g=11;break}j=c[a>>2]|0;i=(c[a+16>>2]|0)+((_(j,g)|0)<<2)|0;a:do if((f|0)<(e|0)){g=f;h=0;while(1){if((h|0)>=(j|0)){f=g;break a}f=g+1|0;c[b+(g<<2)>>2]=c[i+(h<<2)>>2];if((f|0)<(e|0)){g=f;h=h+1|0}else break}}while(0);if((f|0)>=(e|0)){f=0;g=11;break}}if((g|0)==11)return f|0;return 0}function x3a(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=c[b+40>>2]|0;e=M5a(d,c[b+36>>2]|0)|0;do if((e|0)>-1){e=c[(c[b+32>>2]|0)+(e<<2)>>2]|0;if((e|0)<0){k=(c[b+8>>2]|0)-(e&32767)|0;f=e>>>15&32767;break}N5a(d,a[(c[b+28>>2]|0)+(e+-1)>>0]|0);d=e+-1|0;return d|0}else{k=c[b+8>>2]|0;f=0}while(0);e=M5a(d,h)|0;if((e|0)<0&(h|0)>1){e=h;do{e=e+-1|0;g=M5a(d,e)|0}while((g|0)<0&(e|0)>1);i=(g|0)<0;h=e}else{i=(e|0)<0;g=e}if(i){d=-1;return d|0}i=gBb(g|0)|0;i=(i>>>4&252645135|i<<4&-252645136)>>>2&858993459|(i>>>4&252645135|i<<4&-252645136)<<2&-858993460;e=k-f|0;if((e|0)>1){j=c[b+20>>2]|0;g=k;do{k=e>>1;l=(c[j+(k+f<<2)>>2]|0)>>>0>(i>>>1&1431655765|i<<1&-1431655766)>>>0;f=(l?0:k)+f|0;g=g-(l?k:0)|0;e=g-f|0}while((e|0)>1)}e=a[(c[b+28>>2]|0)+f>>0]|0;if((e|0)>(h|0)){N5a(d,h);l=-1;return l|0}else{N5a(d,e);l=f;return l|0}return 0}function y3a(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0.0,h=0,i=0.0,j=0,k=0,l=0,m=0,n=0,o=0.0;l=c[b+20>>2]|0;m=c[a+28>>2]|0;h=(c[b+8>>2]|0)+(m<<2)|0;if(!(c[h>>2]|0)){k=c[(c[(c[(c[a+64>>2]|0)+4>>2]|0)+28>>2]|0)+(m<<2)>>2]|0;a=c[b>>2]|0;f=+(c[l+4>>2]|0)*.5;c[h>>2]=Vpb((((k|0)/2|0)<<2)+4|0)|0;a:do if((k|0)>1){f=+(a|0)/(f*9.999999747378752e-05+(+V(+(f*7.399999885819852e-04))*13.100000381469727+ +V(+(f*f*1.8499999754340024e-08))*2.240000009536743));i=+(c[l+4>>2]|0)*.5/+((k|0)/2|0|0);j=c[(c[b+8>>2]|0)+(m<<2)>>2]|0;h=a;a=0;while(1){o=i*+(a|0);n=~~+M(+(f*(+V(+(o*7.399999885819852e-04))*13.100000381469727+ +V(+(o*o*1.8499999754340024e-08))*2.240000009536743+o*9.999999747378752e-05)));c[j+(a<<2)>>2]=(n|0)<(h|0)?n:h+-1|0;a=a+1|0;if((a|0)>=((k|0)/2|0|0))break a;h=c[b>>2]|0}}else a=0;while(0);c[(c[(c[b+8>>2]|0)+(m<<2)>>2]|0)+(a<<2)>>2]=-1;c[b+12+(m<<2)>>2]=(k|0)/2|0}if(!d){hBb(e|0,0,c[b+12+(m<<2)>>2]<<2|0)|0;n=0;return n|0}else{n=c[b+4>>2]|0;z3a(e,c[(c[b+8>>2]|0)+(m<<2)>>2]|0,c[b+12+(m<<2)>>2]|0,c[b>>2]|0,d,n,+g[d+(n<<2)>>2],+(c[l+16>>2]|0));n=1;return n|0}return 0}function z3a(a,b,d,e,f,h,i,j){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=+i;j=+j;var k=0,l=0.0,m=0.0,n=0.0,o=0,p=0.0,q=0;if((h|0)>0){k=0;do{q=f+(k<<2)|0;g[q>>2]=+Q(+(+g[q>>2]))*2.0;k=k+1|0}while((k|0)!=(h|0))}if((d|0)<=0)return;if((h|0)<=1){k=0;do{o=c[b+(k<<2)>>2]|0;l=+Q(+(3.141592653589793/+(e|0)*+(o|0)))*2.0;if((h|0)==1){p=(l-+g[f>>2])*.5;m=4.0-l*l;l=p*p}else{m=2.0-l;l=(l+2.0)*.5*.5}l=+X(+((i/+O(+(l+m*.5*.5))-j)*.1151292473077774));q=a+(k<<2)|0;g[q>>2]=+g[q>>2]*l;k=k+1|0;if((c[b+(k<<2)>>2]|0)==(o|0))do{q=a+(k<<2)|0;g[q>>2]=l*+g[q>>2];k=k+1|0}while((c[b+(k<<2)>>2]|0)==(o|0))}while((k|0)<(d|0));return}k=0;do{q=c[b+(k<<2)>>2]|0;p=+Q(+(3.141592653589793/+(e|0)*+(q|0)))*2.0;o=1;m=.5;l=.5;while(1){l=l*(p-+g[f+(o+-1<<2)>>2]);n=m*(p-+g[f+(o<<2)>>2]);o=o+2|0;if((o|0)>=(h|0))break;else m=n}if(((h+-2&-2)+3|0)==(h|0)){l=l*(p-+g[f+((h+-2|1)+1<<2)>>2]);m=4.0-p*p;l=l*l}else{m=2.0-p;l=l*((p+2.0)*l)}l=+X(+((i/+O(+(l+n*(n*m)))-j)*.1151292473077774));o=a+(k<<2)|0;g[o>>2]=+g[o>>2]*l;k=k+1|0;if((c[b+(k<<2)>>2]|0)==(q|0))do{o=a+(k<<2)|0;g[o>>2]=l*+g[o>>2];k=k+1|0}while((c[b+(k<<2)>>2]|0)==(q|0))}while((k|0)<(d|0));return}function A3a(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;h=c[a+840>>2]|0;J5a(b,c[a>>2]|0,5);if((c[a>>2]|0)>0){e=0;d=-1;do{g=a+4+(e<<2)|0;J5a(b,c[g>>2]|0,4);g=c[g>>2]|0;d=(d|0)<(g|0)?g:d;e=e+1|0}while((e|0)<(c[a>>2]|0));if((d|0)>=0){f=0;while(1){J5a(b,(c[a+128+(f<<2)>>2]|0)+-1|0,3);e=a+192+(f<<2)|0;J5a(b,c[e>>2]|0,2);if(!(c[e>>2]|0)){g=0;i=8}else{J5a(b,c[a+256+(f<<2)>>2]|0,8);if((c[e>>2]|0)!=31){g=0;i=8}}if((i|0)==8)while(1){i=0;J5a(b,(c[a+320+(f<<5)+(g<<2)>>2]|0)+1|0,8);g=g+1|0;if((g|0)>=(1<>2]|0))break;else i=8}if((f|0)==(d|0))break;else f=f+1|0}}}J5a(b,(c[a+832>>2]|0)+-1|0,2);J5a(b,u3a(h+-1|0)|0,4);h=u3a(h+-1|0)|0;d=c[a>>2]|0;if((d|0)<=0)return;f=0;g=0;e=0;do{f=(c[a+128+(c[a+4+(g<<2)>>2]<<2)>>2]|0)+f|0;if((e|0)<(f|0)){d=e;do{J5a(b,c[a+836+(d+2<<2)>>2]|0,h);d=d+1|0}while((d|0)!=(f|0));d=c[a>>2]|0;e=f}g=g+1|0}while((g|0)<(d|0));return}function B3a(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0;l=i;i=i+272|0;h=c[a+28>>2]|0;k=Xpb(1,1120)|0;g=O5a(b,5)|0;c[k>>2]=g;a:do if((g|0)>0){e=0;d=-1;do{a=O5a(b,4)|0;c[k+4+(e<<2)>>2]=a;if((a|0)<0)break a;d=(d|0)<(a|0)?a:d;e=e+1|0}while((e|0)<(c[k>>2]|0));if((d|0)<0)j=18;else{g=0;while(1){c[k+128+(g<<2)>>2]=(O5a(b,3)|0)+1;a=O5a(b,2)|0;f=k+192+(g<<2)|0;c[f>>2]=a;if((a|0)<0)break a;if(!a)a=c[k+256+(g<<2)>>2]|0;else{a=O5a(b,8)|0;c[k+256+(g<<2)>>2]=a}if((a|0)<0)break a;if((a|0)>=(c[h+24>>2]|0))break a;if((c[f>>2]|0)!=31){e=0;do{a=O5a(b,8)|0;c[k+320+(g<<5)+(e<<2)>>2]=a+-1;if((a|0)<0)break a;e=e+1|0;if((a|0)>(c[h+24>>2]|0))break a}while((e|0)<(1<>2]|0))}if((g|0)<(d|0))g=g+1|0;else{j=18;break}}}}else j=18;while(0);b:do if((j|0)==18){c[k+832>>2]=(O5a(b,2)|0)+1;g=O5a(b,4)|0;if((g|0)>=0){a=c[k>>2]|0;if((a|0)>0){d=0;f=0;e=0;while(1){d=(c[k+128+(c[k+4+(f<<2)>>2]<<2)>>2]|0)+d|0;if((d|0)>63)break b;if((e|0)<(d|0)){a=e;while(1){j=O5a(b,g)|0;c[k+836+(a+2<<2)>>2]=j;if(!((j|0)>-1&(j|0)<(1<>2]|0}f=f+1|0;if((f|0)>=(a|0)){f=k+836|0;a=1<>2]=0;c[k+840>>2]=a;e=d+2|0;if((d|0)>-2){a=0;do{c[l+(a<<2)>>2]=f+(a<<2);a=a+1|0}while((a|0)<(e|0))}cnb(l,e,4,368);c:do if((e|0)>1){a=c[c[l>>2]>>2]|0;d=1;while(1){b=a;a=c[c[l+(d<<2)>>2]>>2]|0;d=d+1|0;if((b|0)==(a|0))break;if((d|0)>=(e|0))break c}if(!k)a=0;else break b;i=l;return a|0}while(0);i=l;return k|0}}while(0);Wpb(k);k=0;i=l;return k|0}function C3a(a,b){a=a|0;b=b|0;return (c[c[a>>2]>>2]|0)-(c[c[b>>2]>>2]|0)|0}function D3a(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+272|0;p=Xpb(1,1312)|0;c[p+1296>>2]=b;c[p+1288>>2]=c[b+840>>2];d=c[b>>2]|0;if((d|0)>0){e=0;a=0;do{a=(c[b+128+(c[b+4+(e<<2)>>2]<<2)>>2]|0)+a|0;e=e+1|0}while((e|0)<(d|0));c[p+1284>>2]=a+2;if((a|0)>-2){e=a+2|0;d=a;f=7}else cnb(q,a+2|0,4,368)}else{c[p+1284>>2]=2;e=2;d=0;f=7}if((f|0)==7){a=0;do{c[q+(a<<2)>>2]=b+836+(a<<2);a=a+1|0}while((a|0)<(e|0));cnb(q,e,4,368);a=0;do{c[p+260+(a<<2)>>2]=(c[q+(a<<2)>>2]|0)-(b+836)>>2;a=a+1|0}while((a|0)<(e|0));a=0;do{c[p+520+(c[p+260+(a<<2)>>2]<<2)>>2]=a;a=a+1|0}while((a|0)<(e|0));a=0;do{c[p+(a<<2)>>2]=c[b+836+(c[p+260+(a<<2)>>2]<<2)>>2];a=a+1|0}while((a|0)<(e|0));a=d}switch(c[b+832>>2]|0){case 1:{c[p+1292>>2]=256;break}case 2:{c[p+1292>>2]=128;break}case 3:{c[p+1292>>2]=86;break}case 4:{c[p+1292>>2]=64;break}default:{}}if((a|0)<=0){i=q;return p|0}k=0;l=2;while(1){g=c[b+836+(k+2<<2)>>2]|0;e=1;j=c[p+1288>>2]|0;m=0;d=0;n=0;while(1){h=c[b+836+(m<<2)>>2]|0;o=(h|0)>(n|0)&(h|0)<(g|0);d=o?m:d;f=(h|0)<(j|0)&(h|0)>(g|0);e=f?m:e;m=m+1|0;if((m|0)==(l|0))break;else{j=f?h:j;n=o?h:n}}c[p+1032+(k<<2)>>2]=d;c[p+780+(k<<2)>>2]=e;k=k+1|0;if((k|0)==(a|0))break;else l=l+1|0}i=q;return p|0}function E3a(a){a=a|0;if(a|0)Wpb(a);return}function F3a(a){a=a|0;if(a|0)Wpb(a);return}function G3a(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;n=c[b+1296>>2]|0;k=c[(c[(c[(c[a+64>>2]|0)+4>>2]|0)+28>>2]|0)+2848>>2]|0;if((O5a(a+4|0,1)|0)!=1){b=0;return b|0}d=v3a(a,c[b+1284>>2]<<2)|0;c[d>>2]=O5a(a+4|0,u3a((c[b+1292>>2]|0)+-1|0)|0)|0;c[d+4>>2]=O5a(a+4|0,u3a((c[b+1292>>2]|0)+-1|0)|0)|0;a:do if((c[n>>2]|0)>0){l=0;m=2;b:while(1){h=c[n+4+(l<<2)>>2]|0;i=c[n+128+(h<<2)>>2]|0;j=c[n+192+(h<<2)>>2]|0;if(!j)e=0;else{e=H3a(k+((c[n+256+(h<<2)>>2]|0)*56|0)|0,a+4|0)|0;if((e|0)==-1){d=0;e=25;break}}if((i|0)>0){g=0;do{f=c[n+320+(h<<5)+((e&(1<>2]|0;e=e>>j;if((f|0)>-1){f=H3a(k+(f*56|0)|0,a+4|0)|0;c[d+(g+m<<2)>>2]=f;if((f|0)==-1){d=0;e=25;break b}}else c[d+(g+m<<2)>>2]=0;g=g+1|0}while((g|0)<(i|0))}l=l+1|0;if((l|0)>=(c[n>>2]|0))break a;else m=i+m|0}if((e|0)==25)return d|0}while(0);if((c[b+1284>>2]|0)<=2){b=d;return b|0}j=2;do{h=j+-2|0;g=c[b+1032+(h<<2)>>2]|0;e=c[n+836+(g<<2)>>2]|0;f=c[b+780+(h<<2)>>2]|0;g=c[d+(g<<2)>>2]&32767;i=(c[d+(f<<2)>>2]&32767)-g|0;e=(_((i|0)>-1?i:0-i|0,(c[n+836+(j<<2)>>2]|0)-e|0)|0)/((c[n+836+(f<<2)>>2]|0)-e|0)|0;g=((i|0)<0?0-e|0:e)+g|0;e=(c[b+1292>>2]|0)-g|0;i=d+(j<<2)|0;f=c[i>>2]|0;if(!f)c[i>>2]=g|32768;else{do if((f|0)<(((e|0)<(g|0)?e:g)<<1|0))if(!(f&1)){e=f>>1;break}else{e=0-(f+1>>1)|0;break}else if((e|0)>(g|0)){e=f-g|0;break}else{e=~(f-e);break}while(0);c[i>>2]=e+g&32767;a=d+(c[b+1032+(h<<2)>>2]<<2)|0;c[a>>2]=c[a>>2]&32767;a=d+(c[b+780+(h<<2)>>2]<<2)|0;c[a>>2]=c[a>>2]&32767}j=j+1|0}while((j|0)<(c[b+1284>>2]|0));return d|0}function H3a(a,b){a=a|0;b=b|0;if((c[a+8>>2]|0)<=0){a=-1;return a|0}b=x3a(a,b)|0;if((b|0)<=-1){a=-1;return a|0}a=c[(c[a+24>>2]|0)+(b<<2)>>2]|0;return a|0}function I3a(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0.0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;t=c[b+1296>>2]|0;u=(c[(c[(c[(c[a+64>>2]|0)+4>>2]|0)+28>>2]|0)+(c[a+28>>2]<<2)>>2]|0)/2|0;if(!d){hBb(e|0,0,u<<2|0)|0;e=0;return e|0}q=c[t+832>>2]|0;f=_(q,c[d>>2]|0)|0;f=(f|0)<0?0:(f|0)>255?255:f;r=c[b+1284>>2]|0;if((r|0)>1){a=0;s=1;n=0;while(1){i=c[b+260+(s<<2)>>2]|0;j=c[d+(i<<2)>>2]|0;if((j&32767|0)==(j|0)){o=c[t+836+(i<<2)>>2]|0;p=_(q,j)|0;p=(p|0)<0?0:(p|0)>255?255:p;j=p-f|0;k=o-n|0;l=_((j|0)/(k|0)|0,k)|0;l=((j|0)>-1?j:0-j|0)-((l|0)>-1?l:0-l|0)|0;m=(u|0)>(o|0)?o:u;if((m|0)>(n|0)){i=e+(n<<2)|0;g[i>>2]=+g[98688+(f<<2)>>2]*+g[i>>2]}a=n+1|0;if((a|0)<(m|0)){i=0;while(1){i=i+l|0;f=f+((j|0)/(k|0)|0)+((i|0)<(k|0)?0:j>>31|1)|0;n=e+(a<<2)|0;g[n>>2]=+g[98688+(f<<2)>>2]*+g[n>>2];a=a+1|0;if((a|0)>=(m|0)){a=o;i=o;f=p;break}else i=i-((i|0)<(k|0)?0:k)|0}}else{a=o;i=o;f=p}}else i=n;s=s+1|0;if((s|0)>=(r|0))break;else n=i}}else a=0;if((a|0)>=(u|0)){e=1;return e|0}h=+g[98688+(f<<2)>>2];do{d=e+(a<<2)|0;g[d>>2]=h*+g[d>>2];a=a+1|0}while((a|0)!=(u|0));a=1;return a|0}function J3a(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;if((c[b>>2]|0)>1){J5a(d,1,1);J5a(d,(c[b>>2]|0)+-1|0,4)}else J5a(d,0,1);if((c[b+1156>>2]|0)>0){J5a(d,1,1);J5a(d,(c[b+1156>>2]|0)+-1|0,8);if((c[b+1156>>2]|0)>0){e=0;do{g=c[b+1160+(e<<2)>>2]|0;J5a(d,g,u3a((c[a+4>>2]|0)+-1|0)|0);g=c[b+2184+(e<<2)>>2]|0;J5a(d,g,u3a((c[a+4>>2]|0)+-1|0)|0);e=e+1|0}while((e|0)<(c[b+1156>>2]|0))}}else J5a(d,0,1);J5a(d,0,2);e=c[b>>2]|0;if((e|0)>1){if((c[a+4>>2]|0)>0){e=0;do{J5a(d,c[b+4+(e<<2)>>2]|0,4);e=e+1|0}while((e|0)<(c[a+4>>2]|0));e=c[b>>2]|0;f=13}}else f=13;if((f|0)==13)if((e|0)<=0)return;e=0;do{J5a(d,0,8);J5a(d,c[b+1028+(e<<2)>>2]|0,8);J5a(d,c[b+1092+(e<<2)>>2]|0,8);e=e+1|0}while((e|0)<(c[b>>2]|0));return}function K3a(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=Xpb(1,3208)|0;i=c[a+28>>2]|0;hBb(d|0,0,3208)|0;a:do if((c[a+4>>2]|0)<1)j=24;else{e=O5a(b,1)|0;if((e|0)<0)j=24;else{if(!e)c[d>>2]=1;else{h=O5a(b,4)|0;c[d>>2]=h+1;if((h|0)<0)break}e=O5a(b,1)|0;if((e|0)>=0){if(e|0){h=O5a(b,8)|0;c[d+1156>>2]=h+1;if((h|0)<0)break;e=c[a+4>>2]|0;h=0;do{f=O5a(b,u3a(e+-1|0)|0)|0;c[d+1160+(h<<2)>>2]=f;g=O5a(b,u3a((c[a+4>>2]|0)+-1|0)|0)|0;c[d+2184+(h<<2)>>2]=g;if((f|0)==(g|0)|(g|f|0)<0)break a;e=c[a+4>>2]|0;h=h+1|0;if(!((f|0)<(e|0)&(g|0)<(e|0)))break a}while((h|0)<(c[d+1156>>2]|0))}if(!(O5a(b,2)|0)){e=c[d>>2]|0;if((e|0)>1){if((c[a+4>>2]|0)>0){f=0;while(1){h=O5a(b,4)|0;c[d+4+(f<<2)>>2]=h;e=c[d>>2]|0;f=f+1|0;if((h|0)<0|(h|0)>=(e|0))break a;if((f|0)>=(c[a+4>>2]|0)){j=17;break}}}}else j=17;if((j|0)==17)if((e|0)<=0){j=d;return j|0}e=0;do{O5a(b,8)|0;a=O5a(b,8)|0;c[d+1028+(e<<2)>>2]=a;if((a|0)<0?1:(a|0)>=(c[i+16>>2]|0))break a;a=O5a(b,8)|0;c[d+1092+(e<<2)>>2]=a;e=e+1|0;if((a|0)<0?1:(a|0)>=(c[i+20>>2]|0))break a}while((e|0)<(c[d>>2]|0));return d|0}}}}while(0);if((j|0)==24)if(!d){j=0;return j|0}Wpb(d);j=0;return j|0}function L3a(a){a=a|0;if(a|0)Wpb(a);return}function M3a(a){a=a|0;var b=0,d=0.0,e=0.0,f=0,h=0.0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0.0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0.0;H=i;F=c[a+64>>2]|0;A=c[F+4>>2]|0;E=c[A+28>>2]|0;F=c[F+104>>2]|0;G=c[a+104>>2]|0;u=c[a+36>>2]|0;x=c[A+4>>2]<<2;w=i;i=i+((1*x|0)+15&-16)|0;x=v3a(a,x)|0;y=v3a(a,c[A+4>>2]<<2)|0;z=v3a(a,c[A+4>>2]<<2)|0;d=+g[G+4>>2];t=c[A+4>>2]|0;v=i;i=i+((1*(t<<2)|0)+15&-16)|0;B=c[a+28>>2]|0;C=c[E+544+(B<<2)>>2]|0;D=(c[F+56>>2]|0)+((c[G+8>>2]|0)*52|0)+((B|0?2:0)*52|0)|0;c[a+40>>2]=B;a:do if((t|0)>0){m=((u|0)/2|0)<<2;s=+N(+(4.0/+(u|0)));s=+((g[k>>2]=s,c[k>>2]|0)>>>0)*7.177114298428933e-07+-764.6162109375+.345;if((u+-1|0)>1)l=0;else{b=0;while(1){t=c[(c[a>>2]|0)+(b<<2)>>2]|0;c[y+(b<<2)>>2]=v3a(a,m)|0;r=x+(b<<2)|0;c[r>>2]=v3a(a,m)|0;N3a(t,F+4|0,E,c[a+24>>2]|0,c[a+28>>2]|0,c[a+32>>2]|0);O3a(c[c[F+12+(c[a+28>>2]<<2)>>2]>>2]|0,t,c[r>>2]|0);Q3a(F+20+((c[a+28>>2]|0)*12|0)|0,t);h=s+(+((c[t>>2]&2147483647)>>>0)*7.177114298428933e-07+-764.6162109375)+.345;g[t>>2]=h;h=h>0.0?0.0:h;g[v+(b<<2)>>2]=h;d=h>d?h:d;b=b+1|0;if((b|0)>=(c[A+4>>2]|0)){b=m;t=(u|0)/2|0;break a}}}do{b=c[(c[a>>2]|0)+(l<<2)>>2]|0;c[y+(l<<2)>>2]=v3a(a,m)|0;j=x+(l<<2)|0;c[j>>2]=v3a(a,m)|0;N3a(b,F+4|0,E,c[a+24>>2]|0,c[a+28>>2]|0,c[a+32>>2]|0);O3a(c[c[F+12+(c[a+28>>2]<<2)>>2]>>2]|0,b,c[j>>2]|0);Q3a(F+20+((c[a+28>>2]|0)*12|0)|0,b);h=s+(+((c[b>>2]&2147483647)>>>0)*7.177114298428933e-07+-764.6162109375)+.345;g[b>>2]=h;j=v+(l<<2)|0;g[j>>2]=h;f=1;while(1){I=+g[b+(f<<2)>>2];t=f+1|0;e=+g[b+(t<<2)>>2];e=+N(+(I*I+e*e));e=s+(+((g[k>>2]=e,c[k>>2]|0)>>>0)*7.177114298428933e-07+-764.6162109375)*.5+.345;g[b+(t>>1<<2)>>2]=e;if(e>h)g[j>>2]=e;else e=h;f=f+2|0;if((f|0)>=(u+-1|0))break;else h=e}if(e>0.0){g[j>>2]=0.0;e=0.0}d=e>d?e:d;l=l+1|0}while((l|0)<(c[A+4>>2]|0));b=m;t=(u|0)/2|0}else{b=((u|0)/2|0)<<2;t=(u|0)/2|0}while(0);r=v3a(a,b)|0;q=v3a(a,b)|0;b=c[A+4>>2]|0;b:do if((b|0)>0){p=0;while(1){j=c[C+4+(p<<2)>>2]|0;l=c[x+(p<<2)>>2]|0;m=c[(c[a>>2]|0)+(p<<2)>>2]|0;n=m+(t<<2)|0;c[a+40>>2]=B;b=v3a(a,60)|0;o=z+(p<<2)|0;c[o>>2]=b;f=b+60|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(f|0));if((u|0)>1){b=0;do{g[n+(b<<2)>>2]=+((c[l+(b<<2)>>2]&2147483647)>>>0)*7.177114298428933e-07+-764.6162109375+.345;b=b+1|0}while((b|0)<(t|0))}U3a(D,n,r);W3a(D,m,q,d,+g[v+(p<<2)>>2]);Y3a(D,r,q,1,m,l,n);b=c[C+1028+(j<<2)>>2]|0;if((c[E+800+(b<<2)>>2]|0)!=1){b=-1;break}f=Z3a(a,c[(c[F+48>>2]|0)+(b<<2)>>2]|0,n,m)|0;c[(c[o>>2]|0)+28>>2]=f;if($3a(a)|0)if(c[(c[o>>2]|0)+28>>2]|0){Y3a(D,r,q,2,m,l,n);f=Z3a(a,c[(c[F+48>>2]|0)+(c[C+1028+(j<<2)>>2]<<2)>>2]|0,n,m)|0;c[(c[o>>2]|0)+56>>2]=f;Y3a(D,r,q,0,m,l,n);n=Z3a(a,c[(c[F+48>>2]|0)+(c[C+1028+(j<<2)>>2]<<2)>>2]|0,n,m)|0;c[c[o>>2]>>2]=n;n=c[o>>2]|0;n=a4a(a,c[(c[F+48>>2]|0)+(c[C+1028+(j<<2)>>2]<<2)>>2]|0,c[n>>2]|0,c[n+28>>2]|0,9362)|0;c[(c[o>>2]|0)+4>>2]=n;n=c[o>>2]|0;n=a4a(a,c[(c[F+48>>2]|0)+(c[C+1028+(j<<2)>>2]<<2)>>2]|0,c[n>>2]|0,c[n+28>>2]|0,18724)|0;c[(c[o>>2]|0)+8>>2]=n;n=c[o>>2]|0;n=a4a(a,c[(c[F+48>>2]|0)+(c[C+1028+(j<<2)>>2]<<2)>>2]|0,c[n>>2]|0,c[n+28>>2]|0,28086)|0;c[(c[o>>2]|0)+12>>2]=n;n=c[o>>2]|0;n=a4a(a,c[(c[F+48>>2]|0)+(c[C+1028+(j<<2)>>2]<<2)>>2]|0,c[n>>2]|0,c[n+28>>2]|0,37449)|0;c[(c[o>>2]|0)+16>>2]=n;n=c[o>>2]|0;n=a4a(a,c[(c[F+48>>2]|0)+(c[C+1028+(j<<2)>>2]<<2)>>2]|0,c[n>>2]|0,c[n+28>>2]|0,46811)|0;c[(c[o>>2]|0)+20>>2]=n;n=c[o>>2]|0;n=a4a(a,c[(c[F+48>>2]|0)+(c[C+1028+(j<<2)>>2]<<2)>>2]|0,c[n>>2]|0,c[n+28>>2]|0,56173)|0;c[(c[o>>2]|0)+24>>2]=n;n=c[o>>2]|0;n=a4a(a,c[(c[F+48>>2]|0)+(c[C+1028+(j<<2)>>2]<<2)>>2]|0,c[n+28>>2]|0,c[n+56>>2]|0,9362)|0;c[(c[o>>2]|0)+32>>2]=n;n=c[o>>2]|0;n=a4a(a,c[(c[F+48>>2]|0)+(c[C+1028+(j<<2)>>2]<<2)>>2]|0,c[n+28>>2]|0,c[n+56>>2]|0,18724)|0;c[(c[o>>2]|0)+36>>2]=n;n=c[o>>2]|0;n=a4a(a,c[(c[F+48>>2]|0)+(c[C+1028+(j<<2)>>2]<<2)>>2]|0,c[n+28>>2]|0,c[n+56>>2]|0,28086)|0;c[(c[o>>2]|0)+40>>2]=n;n=c[o>>2]|0;n=a4a(a,c[(c[F+48>>2]|0)+(c[C+1028+(j<<2)>>2]<<2)>>2]|0,c[n+28>>2]|0,c[n+56>>2]|0,37449)|0;c[(c[o>>2]|0)+44>>2]=n;n=c[o>>2]|0;n=a4a(a,c[(c[F+48>>2]|0)+(c[C+1028+(j<<2)>>2]<<2)>>2]|0,c[n+28>>2]|0,c[n+56>>2]|0,46811)|0;c[(c[o>>2]|0)+48>>2]=n;n=c[o>>2]|0;n=a4a(a,c[(c[F+48>>2]|0)+(c[C+1028+(j<<2)>>2]<<2)>>2]|0,c[n+28>>2]|0,c[n+56>>2]|0,56173)|0;c[(c[o>>2]|0)+52>>2]=n}p=p+1|0;b=c[A+4>>2]|0;if((p|0)>=(b|0)){t=F+48|0;break b}}i=H;return b|0}else t=F+48|0;while(0);g[G+4>>2]=d;r=b<<2;o=i;i=i+((1*r|0)+15&-16)|0;p=i;i=i+((1*r|0)+15&-16)|0;r=($3a(a)|0)!=0;r=r?0:7;while(1){q=c[G+12+(r<<2)>>2]|0;J5a(q,0,1);J5a(q,B,c[F+44>>2]|0);if(c[a+28>>2]|0){J5a(q,c[a+24>>2]|0,1);J5a(q,c[a+32>>2]|0,1)}b=c[A+4>>2]|0;if((b|0)>0){f=0;do{c[w+(f<<2)>>2]=b4a(q,a,c[(c[t>>2]|0)+(c[C+1028+(c[C+4+(f<<2)>>2]<<2)>>2]<<2)>>2]|0,c[(c[z+(f<<2)>>2]|0)+(r<<2)>>2]|0,c[y+(f<<2)>>2]|0)|0;f=f+1|0;b=c[A+4>>2]|0}while((f|0)<(b|0))}d4a(r,E+2868|0,D,C,x,y,w,c[E+3240+((c[a+28>>2]|0)*60|0)+(r<<2)>>2]|0,b);if((c[C>>2]|0)>0){n=0;do{m=c[C+1092+(n<<2)>>2]|0;b=c[A+4>>2]|0;if((b|0)>0){f=0;j=0;do{if((c[C+4+(j<<2)>>2]|0)==(n|0)){c[p+(f<<2)>>2]=(c[w+(j<<2)>>2]|0)!=0&1;c[o+(f<<2)>>2]=c[y+(j<<2)>>2];b=c[A+4>>2]|0;f=f+1|0}j=j+1|0}while((j|0)<(b|0));b=f}else b=0;l=Ci[c[(c[99712+(c[E+1312+(m<<2)>>2]<<2)>>2]|0)+20>>2]&127](a,c[(c[F+52>>2]|0)+(m<<2)>>2]|0,o,p,b)|0;f=c[A+4>>2]|0;if((f|0)>0){b=0;j=0;do{if((c[C+4+(j<<2)>>2]|0)==(n|0)){c[o+(b<<2)>>2]=c[y+(j<<2)>>2];b=b+1|0}j=j+1|0}while((j|0)<(f|0))}else b=0;hj[c[(c[99712+(c[E+1312+(m<<2)>>2]<<2)>>2]|0)+24>>2]&31](q,a,c[(c[F+52>>2]|0)+(m<<2)>>2]|0,o,p,b,l,n)|0;n=n+1|0}while((n|0)<(c[C>>2]|0))}v=($3a(a)|0)!=0;if((r|0)<((v?14:7)|0))r=r+1|0;else{b=0;break}}i=H;return b|0}function N3a(a,b,d,e,f,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;var i=0,j=0,k=0,l=0;e=f|0?e:0;i=f|0?h:0;j=c[66016+(c[b+(e<<2)>>2]<<2)>>2]|0;k=c[66016+(c[b+(i<<2)>>2]<<2)>>2]|0;l=c[d+(f<<2)>>2]|0;b=c[d+(e<<2)>>2]|0;i=c[d+(i<<2)>>2]|0;h=((l|0)/4|0)-((b|0)/4|0)|0;e=((l|0)/2|0)+((l|0)/4|0)+((i|0)/-4|0)|0;if((h|0)>0){hBb(a|0,0,((l|0)/4|0)-((b|0)/4|0)<<2|0)|0;d=h}else d=0;if((d|0)<(h+((b|0)/2|0)|0)){f=((l|0)/4|0)+((b|0)/2|0)-d-((b|0)/4|0)|0;h=d;b=0;while(1){d=a+(h<<2)|0;g[d>>2]=+g[j+(b<<2)>>2]*+g[d>>2];b=b+1|0;if((b|0)==(f|0))break;else h=h+1|0}}if((i|0)>1){h=e;b=(i|0)/2|0;do{b=b+-1|0;j=a+(h<<2)|0;g[j>>2]=+g[k+(b<<2)>>2]*+g[j>>2];h=h+1|0}while((h|0)<(e+((i|0)/2|0)|0));e=h}if((l|0)<=(e|0))return;hBb(a+(e<<2)|0,0,l-e<<2|0)|0;return}function O3a(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0.0,s=0.0,t=0,u=0.0,v=0.0,w=0.0,x=0.0;q=i;p=c[a>>2]|0;e=i;i=i+((1*(p<<2)|0)+15&-16)|0;o=c[a+8>>2]|0;if((p>>3|0)>0){f=o+(p>>1<<2)|0;h=0;j=b+(p>>1<<2)+(p>>2<<2)|0;k=b+(p>>1<<2)+(p>>2<<2)+4|0;while(1){m=j;j=j+-16|0;n=f;f=f+-8|0;r=+g[m+-8>>2]+ +g[k>>2];s=+g[j>>2]+ +g[k+8>>2];g[e+(p>>1<<2)+(h<<2)>>2]=s*+g[n+-4>>2]+r*+g[f>>2];g[e+(p>>1<<2)+((h|1)<<2)>>2]=s*+g[f>>2]-r*+g[n+-4>>2];h=h+2|0;if((h|0)>=(p>>3|0))break;else k=k+16|0}j=o+((p>>1)+-2-(((p>>3)+-1|0)>>>1<<1)<<2)|0;h=(((p>>3)+-1|0)>>>1<<1)+2|0;f=b+((p>>2)+(p>>1)+-4-(((p>>3)+-1|0)>>>1<<2)<<2)|0}else{j=o+(p>>1<<2)|0;h=0;f=b+(p>>1<<2)+(p>>2<<2)|0}if((h|0)<((p>>1)-(p>>3)|0)){n=((p>>1)+-1-h-(p>>3)|0)>>>1;m=h+(n<<1)|0;l=j;k=b+4|0;while(1){t=l;l=l+-8|0;s=+g[f+-8>>2]-+g[k>>2];f=f+-16|0;r=+g[f>>2]-+g[k+8>>2];g[e+(p>>1<<2)+(h<<2)>>2]=r*+g[t+-4>>2]+s*+g[l>>2];g[e+(p>>1<<2)+((h|1)<<2)>>2]=r*+g[l>>2]-s*+g[t+-4>>2];h=h+2|0;if((h|0)>=((p>>1)-(p>>3)|0))break;else k=k+16|0}j=j+(-2-(n<<1)<<2)|0;h=m+2|0;f=b+((n<<2)+5<<2)|0}else f=b+4|0;if((h|0)<(p>>1|0)){k=j;j=h;h=b+(p<<2)|0;while(1){t=k;k=k+-8|0;s=-+g[h+-8>>2]-+g[f>>2];h=h+-16|0;r=-+g[h>>2]-+g[f+8>>2];g[e+(p>>1<<2)+(j<<2)>>2]=r*+g[t+-4>>2]+s*+g[k>>2];g[e+(p>>1<<2)+((j|1)<<2)>>2]=r*+g[k>>2]-s*+g[t+-4>>2];j=j+2|0;if((j|0)>=(p>>1|0))break;else f=f+16|0}}P3a(c[a+4>>2]|0,o,e+(p>>1<<2)|0,p>>1);j=c[a>>2]|0;k=c[a+8>>2]|0;f=k+(j<<2)|0;h=c[a+12>>2]|0;l=e;m=e+(j>>1<<2)|0;while(1){b=e+(j>>1<<2)+(c[h>>2]<<2)|0;t=e+(j>>1<<2)+(c[h+4>>2]<<2)|0;u=+g[b+4>>2];s=+g[t+4>>2];v=+g[b>>2];w=+g[t>>2];r=+g[f>>2];x=+g[f+4>>2];t=m;m=m+-16|0;g[l>>2]=(u+s)*.5+((v+w)*r+(u-s)*x);g[t+-8>>2]=(u+s)*.5-((v+w)*r+(u-s)*x);g[l+4>>2]=(v-w)*.5+((v+w)*x-(u-s)*r);g[t+-4>>2]=(v+w)*x-(u-s)*r-(v-w)*.5;b=e+(j>>1<<2)+(c[h+8>>2]<<2)|0;o=e+(j>>1<<2)+(c[h+12>>2]<<2)|0;w=+g[b+4>>2];v=+g[o+4>>2];r=+g[b>>2];s=+g[o>>2];u=+g[f+8>>2];x=+g[f+12>>2];g[l+8>>2]=(w+v)*.5+((r+s)*u+(w-v)*x);g[m>>2]=(w+v)*.5-((r+s)*u+(w-v)*x);g[l+12>>2]=(r-s)*.5+((r+s)*x-(w-v)*u);g[t+-12>>2]=(r+s)*x-(w-v)*u-(r-s)*.5;l=l+16|0;if(l>>>0>=m>>>0)break;else{f=f+16|0;h=h+16|0}}if((p>>2|0)<=0){i=q;return}h=k+(p>>1<<2)|0;j=0;f=d+(p>>1<<2)|0;while(1){f=f+-4|0;t=e+4|0;o=h+4|0;g[d+(j<<2)>>2]=+g[a+16>>2]*(+g[e>>2]*+g[h>>2]+ +g[t>>2]*+g[o>>2]);g[f>>2]=+g[a+16>>2]*(+g[e>>2]*+g[o>>2]-+g[t>>2]*+g[h>>2]);j=j+1|0;if((j|0)==(p>>2|0))break;else{h=h+8|0;e=e+8|0}}i=q;return}function P3a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0.0,p=0.0,q=0.0,r=0.0,s=0,t=0,u=0,v=0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0.0,K=0.0,L=0.0,M=0.0,N=0.0,O=0.0,P=0.0,Q=0.0,R=0.0,S=0.0,T=0.0,U=0.0,V=0.0;if((a|0)>6){e=b;f=c+(d<<2)|0;h=c+(d>>1<<2)+-32|0;while(1){m=f;f=f+-32|0;o=+g[m+-8>>2];n=h+24|0;p=+g[n>>2];q=+g[m+-4>>2];k=h+28|0;r=q-+g[k>>2];g[m+-8>>2]=o+p;g[m+-4>>2]=q+ +g[k>>2];j=e+4|0;g[n>>2]=r*+g[j>>2]+(o-p)*+g[e>>2];g[k>>2]=r*+g[e>>2]-(o-p)*+g[j>>2];p=+g[m+-16>>2];k=h+16|0;o=+g[k>>2];r=+g[m+-12>>2];j=h+20|0;q=r-+g[j>>2];g[m+-16>>2]=p+o;g[m+-12>>2]=r+ +g[j>>2];n=e+20|0;l=e+16|0;g[k>>2]=q*+g[n>>2]+(p-o)*+g[l>>2];g[j>>2]=q*+g[l>>2]-(p-o)*+g[n>>2];o=+g[m+-24>>2];j=h+8|0;p=+g[j>>2];q=+g[m+-20>>2];n=h+12|0;r=q-+g[n>>2];g[m+-24>>2]=o+p;g[m+-20>>2]=q+ +g[n>>2];l=e+36|0;k=e+32|0;g[j>>2]=r*+g[l>>2]+(o-p)*+g[k>>2];g[n>>2]=r*+g[k>>2]-(o-p)*+g[l>>2];p=+g[f>>2];o=+g[h>>2];r=+g[m+-28>>2];n=h+4|0;q=r-+g[n>>2];g[f>>2]=p+o;g[m+-28>>2]=r+ +g[n>>2];m=e+52|0;l=e+48|0;g[h>>2]=q*+g[m>>2]+(p-o)*+g[l>>2];g[n>>2]=q*+g[l>>2]-(p-o)*+g[m>>2];h=h+-32|0;if(h>>>0>>0)break;else e=e+64|0}}if((a+-6|0)>1){l=1;do{h=1<>l;j=4<>1<<2)+-32|0;while(1){t=f;f=f+-32|0;r=+g[t+-8>>2];v=n+24|0;q=+g[v>>2];p=+g[t+-4>>2];s=n+28|0;o=p-+g[s>>2];g[t+-8>>2]=r+q;g[t+-4>>2]=p+ +g[s>>2];u=e+4|0;g[v>>2]=o*+g[u>>2]+(r-q)*+g[e>>2];g[s>>2]=o*+g[e>>2]-(r-q)*+g[u>>2];e=e+(j<<2)|0;q=+g[t+-16>>2];s=n+16|0;r=+g[s>>2];o=+g[t+-12>>2];u=n+20|0;p=o-+g[u>>2];g[t+-16>>2]=q+r;g[t+-12>>2]=o+ +g[u>>2];g[s>>2]=p*+g[e+4>>2]+(q-r)*+g[e>>2];g[u>>2]=p*+g[e>>2]-(q-r)*+g[e+4>>2];r=+g[t+-24>>2];u=n+8|0;q=+g[u>>2];p=+g[t+-20>>2];s=n+12|0;o=p-+g[s>>2];g[t+-24>>2]=r+q;g[t+-20>>2]=p+ +g[s>>2];g[u>>2]=o*+g[e+(j<<2)+4>>2]+(r-q)*+g[e+(j<<2)>>2];g[s>>2]=o*+g[e+(j<<2)>>2]-(r-q)*+g[e+(j<<2)+4>>2];e=e+(j<<2)+(j<<2)|0;q=+g[f>>2];r=+g[n>>2];o=+g[t+-28>>2];s=n+4|0;p=o-+g[s>>2];g[f>>2]=q+r;g[t+-28>>2]=o+ +g[s>>2];g[n>>2]=p*+g[e+4>>2]+(q-r)*+g[e>>2];g[s>>2]=p*+g[e>>2]-(q-r)*+g[e+4>>2];n=n+-32|0;if(n>>>0>>0)break;else e=e+(j<<2)|0}m=m+1|0}while((m|0)<(h|0))}l=l+1|0}while((l|0)!=(a+-6|0))}if((d|0)>0)e=0;else return;do{v=c+(e<<2)|0;L=+g[v+120>>2];F=+g[v+56>>2];N=+g[v+124>>2];O=+g[v+60>>2];g[v+120>>2]=L+F;g[v+124>>2]=N+O;g[v+56>>2]=L-F;g[v+60>>2]=N-O;O=+g[v+112>>2];N=+g[v+48>>2];F=+g[v+116>>2];L=+g[v+52>>2];g[v+112>>2]=O+N;g[v+116>>2]=F+L;g[v+48>>2]=(O-N)*.9238795042037964-(F-L)*.3826834261417389;g[v+52>>2]=(O-N)*.3826834261417389+(F-L)*.9238795042037964;L=+g[v+104>>2];F=+g[v+40>>2];N=+g[v+108>>2];O=+g[v+44>>2];g[v+104>>2]=L+F;g[v+108>>2]=N+O;g[v+40>>2]=(L-F-(N-O))*.7071067690849304;g[v+44>>2]=(L-F+(N-O))*.7071067690849304;O=+g[v+96>>2];N=+g[v+32>>2];F=+g[v+100>>2];L=+g[v+36>>2];g[v+96>>2]=O+N;g[v+100>>2]=F+L;H=+g[v+88>>2];B=+g[v+24>>2];P=+g[v+28>>2];M=+g[v+92>>2];g[v+88>>2]=H+B;g[v+92>>2]=P+M;g[v+28>>2]=H-B;y=+g[v+16>>2];I=+g[v+80>>2];K=+g[v+20>>2];x=+g[v+84>>2];g[v+80>>2]=y+I;g[v+84>>2]=K+x;q=+g[v+8>>2];E=+g[v+72>>2];J=+g[v+12>>2];r=+g[v+76>>2];g[v+72>>2]=q+E;g[v+76>>2]=J+r;D=+g[v>>2];C=+g[v+64>>2];w=+g[v+4>>2];o=+g[v+68>>2];g[v+64>>2]=D+C;g[v+68>>2]=w+o;S=(w-o)*.9238795042037964-(D-C)*.3826834261417389-((O-N)*.9238795042037964+(F-L)*.3826834261417389);R=(D-C)*.9238795042037964+(w-o)*.3826834261417389-((O-N)*.3826834261417389-(F-L)*.9238795042037964);A=(O-N)*.3826834261417389-(F-L)*.9238795042037964+((D-C)*.9238795042037964+(w-o)*.3826834261417389);L=(O-N)*.9238795042037964+(F-L)*.3826834261417389+((w-o)*.9238795042037964-(D-C)*.3826834261417389);F=+g[v+44>>2];N=+g[v+40>>2];O=+g[v+48>>2];p=+g[v+52>>2];U=(O-((y-I)*.3826834261417389+(K-x)*.9238795042037964)-(p-((K-x)*.3826834261417389-(y-I)*.9238795042037964)))*.7071067690849304;z=(O-((y-I)*.3826834261417389+(K-x)*.9238795042037964)+(p-((K-x)*.3826834261417389-(y-I)*.9238795042037964)))*.7071067690849304;Q=+g[v+56>>2];G=+g[v+60>>2];V=(J-r-(q-E))*.7071067690849304-F+(Q-(P-M));T=Q-(P-M)-((J-r-(q-E))*.7071067690849304-F);g[v+24>>2]=V+((S+R)*.7071067690849304+U);g[v+16>>2]=V-((S+R)*.7071067690849304+U);V=G-(H-B)-(N-(q-E+(J-r))*.7071067690849304);g[v>>2]=T+(z-(S-R)*.7071067690849304);g[v+8>>2]=T-(z-(S-R)*.7071067690849304);T=N-(q-E+(J-r))*.7071067690849304+(G-(H-B));g[v+12>>2]=U-(S+R)*.7071067690849304+V;g[v+4>>2]=V-(U-(S+R)*.7071067690849304);g[v+28>>2]=(S-R)*.7071067690849304+z+T;g[v+20>>2]=T-((S-R)*.7071067690849304+z);z=(q-E+(J-r))*.7071067690849304+N+(Q+(P-M));N=Q+(P-M)-((q-E+(J-r))*.7071067690849304+N);M=A+((y-I)*.3826834261417389+(K-x)*.9238795042037964+O);A=(y-I)*.3826834261417389+(K-x)*.9238795042037964+O-A;g[v+56>>2]=M+z;g[v+48>>2]=z-M;M=(K-x)*.3826834261417389-(y-I)*.9238795042037964+p-L;z=G+(H-B)-((J-r-(q-E))*.7071067690849304+F);g[v+32>>2]=M+N;g[v+40>>2]=N-M;p=L+((K-x)*.3826834261417389-(y-I)*.9238795042037964+p);B=(J-r-(q-E))*.7071067690849304+F+(G+(H-B));g[v+44>>2]=A+z;g[v+36>>2]=z-A;g[v+60>>2]=p+B;g[v+52>>2]=B-p;p=+g[v+100>>2];B=+g[v+96>>2];A=+g[v+76>>2];z=+g[v+108>>2];H=+g[v+104>>2];G=+g[v+72>>2];F=+g[v+112>>2];E=+g[v+80>>2];q=+g[v+116>>2];r=+g[v+84>>2];J=+g[v+120>>2];I=+g[v+88>>2];y=+g[v+124>>2];x=+g[v+92>>2];K=(w+o-p+(D+C-B))*.7071067690849304+(F-E-(q-r))*.7071067690849304;L=(F-E-(q-r))*.7071067690849304-(w+o-p+(D+C-B))*.7071067690849304;g[v+88>>2]=A-z+(J-I)+K;g[v+80>>2]=A-z+(J-I)-K;K=(F-E+(q-r))*.7071067690849304-(w+o-p-(D+C-B))*.7071067690849304;g[v+64>>2]=J-I-(A-z)+K;g[v+72>>2]=J-I-(A-z)-K;K=(w+o-p-(D+C-B))*.7071067690849304+(F-E+(q-r))*.7071067690849304;g[v+76>>2]=L+(y-x-(H-G));g[v+68>>2]=y-x-(H-G)-L;g[v+92>>2]=K+(H-G+(y-x));g[v+84>>2]=H-G+(y-x)-K;g[v+120>>2]=D+C+B+(F+E)+(H+G+(J+I));g[v+112>>2]=H+G+(J+I)-(D+C+B+(F+E));g[v+96>>2]=q+r-(w+o+p)+(J+I-(H+G));g[v+104>>2]=J+I-(H+G)-(q+r-(w+o+p));g[v+108>>2]=F+E-(D+C+B)+(y+x-(A+z));g[v+100>>2]=y+x-(A+z)-(F+E-(D+C+B));g[v+124>>2]=w+o+p+(q+r)+(A+z+(y+x));g[v+116>>2]=A+z+(y+x)-(w+o+p+(q+r));e=e+32|0}while((e|0)<(d|0));return}function Q3a(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;n=c[a>>2]|0;if((n|0)==1)return;o=c[a+4>>2]|0;i=c[a+8>>2]|0;j=c[i+4>>2]|0;if((j|0)<=0)return;k=n;l=0;m=n;g=1;while(1){d=c[i+(j+1-l<<2)>>2]|0;h=(n|0)/(m|0)|0;m=(m|0)/(d|0)|0;e=_(h,m)|0;k=k-(_(h,d+-1|0)|0)|0;a=1-g|0;a:do switch(d|0){case 4:{d=k+h|0;e=o+(n<<2)+(k<<2)+-4|0;if(!a){R3a(h,m,b,o,e,o+(n<<2)+(d<<2)+-4|0,o+(n<<2)+(d+h<<2)+-4|0);a=0;break a}else{R3a(h,m,o,b,e,o+(n<<2)+(d<<2)+-4|0,o+(n<<2)+(d+h<<2)+-4|0);break a}}case 2:{d=o+(n<<2)+(k<<2)+-4|0;if(!a){S3a(h,m,b,o,d);a=0;break a}else{S3a(h,m,o,b,d);break a}}default:{f=o+(n<<2)+(k<<2)+-4|0;if(!(((h|0)==1?g:a)|0)){T3a(h,d,m,e,b,b,b,o,o,f);a=1;break a}else{T3a(h,d,m,e,o,o,o,b,b,f);a=0;break a}}}while(0);l=l+1|0;if((l|0)==(j|0))break;else g=a}if((n|0)>0&(a|0)!=1)a=0;else return;do{c[b+(a<<2)>>2]=c[o+(a<<2)>>2];a=a+1|0}while((a|0)!=(n|0));return}function R3a(a,b,c,d,e,f,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0,I=0;o=_(b,a)|0;if((b|0)>0){i=0;j=o;k=o*3|0;l=0;m=o<<1;while(1){p=c+(j<<2)|0;q=c+(k<<2)|0;t=+g[p>>2]+ +g[q>>2];s=c+(l<<2)|0;r=c+(m<<2)|0;u=+g[s>>2]+ +g[r>>2];n=l<<2;g[d+(n<<2)>>2]=t+u;g[d+((a<<2)+-1+n<<2)>>2]=u-t;g[d+(n+(a<<1)+-1<<2)>>2]=+g[s>>2]-+g[r>>2];g[d+(n+(a<<1)<<2)>>2]=+g[q>>2]-+g[p>>2];i=i+1|0;if((i|0)==(b|0))break;else{j=j+a|0;k=k+a|0;l=l+a|0;m=m+a|0}}}if((a|0)<2)return;if((a|0)!=2){if((b|0)>0){j=0;k=0;while(1){n=k<<2;i=2;l=k;m=n;n=n+(a<<1)|0;do{q=l;l=l+2|0;r=m;m=m+2|0;s=n;n=n+-2|0;p=l+o|0;I=i+-2|0;F=+g[e+(I<<2)>>2];D=+g[c+(p+-1<<2)>>2];H=i+-1|0;C=+g[e+(H<<2)>>2];E=+g[c+(p<<2)>>2];x=+g[f+(I<<2)>>2];v=+g[c+(p+o+-1<<2)>>2];t=+g[f+(H<<2)>>2];w=+g[c+(p+o<<2)>>2];B=+g[h+(I<<2)>>2];z=+g[c+(p+o+o+-1<<2)>>2];y=+g[h+(H<<2)>>2];A=+g[c+(p+o+o<<2)>>2];u=+g[c+(l<<2)>>2];G=+g[c+(q+1<<2)>>2];g[d+((r|1)<<2)>>2]=F*D+C*E+(B*z+y*A)+(x*v+t*w+G);g[d+(m<<2)>>2]=x*w-v*t+u+(F*E-D*C+(B*A-z*y));g[d+(s+-3<<2)>>2]=G-(x*v+t*w)-(F*E-D*C-(B*A-z*y));g[d+(n<<2)>>2]=B*z+y*A-(F*D+C*E)-(u-(x*w-v*t));s=m+(a<<1)|0;g[d+(s+-1<<2)>>2]=F*E-D*C-(B*A-z*y)+(G-(x*v+t*w));g[d+(s<<2)>>2]=u-(x*w-v*t)+(B*z+y*A-(F*D+C*E));s=n+(a<<1)|0;g[d+(s+-1<<2)>>2]=x*v+t*w+G-(F*D+C*E+(B*z+y*A));g[d+(s<<2)>>2]=F*E-D*C+(B*A-z*y)-(x*w-v*t+u);i=i+2|0}while((i|0)<(a|0));j=j+1|0;if((j|0)==(b|0))break;else k=k+a|0}}if(a&1|0)return}if((b|0)<=0)return;i=0;j=a+-1+o|0;k=a+-1+o+(o<<1)|0;l=a;m=a;while(1){F=+g[c+(j<<2)>>2];G=+g[c+(k<<2)>>2];H=c+(m+-1<<2)|0;g[d+(l+-1<<2)>>2]=+g[H>>2]+(F-G)*.7071067690849304;I=l+(a<<1)|0;g[d+(I+-1<<2)>>2]=+g[H>>2]-(F-G)*.7071067690849304;H=c+(j+o<<2)|0;g[d+(l<<2)>>2]=(F+G)*-.7071067690849304-+g[H>>2];g[d+(I<<2)>>2]=(F+G)*-.7071067690849304+ +g[H>>2];i=i+1|0;if((i|0)==(b|0))break;else{j=j+a|0;k=k+a|0;l=l+(a<<2)|0;m=m+a|0}}return}function S3a(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0.0,s=0.0,t=0.0,u=0.0,v=0,w=0,x=0;p=_(b,a)|0;if((b|0)>0){h=0;i=0;j=p;while(1){m=d+(i<<2)|0;n=d+(j<<2)|0;o=i<<1;g[e+(o<<2)>>2]=+g[m>>2]+ +g[n>>2];g[e+((a<<1)+-1+o<<2)>>2]=+g[m>>2]-+g[n>>2];h=h+1|0;if((h|0)==(b|0))break;else{i=i+a|0;j=j+a|0}}}if((a|0)<2)return;if((a|0)!=2){if((b|0)>0){i=0;j=0;k=p;while(1){o=j<<1;h=2;l=k;m=o+(a<<1)|0;n=j;do{x=l;l=l+2|0;q=m;m=m+-2|0;v=n;n=n+2|0;w=o;o=o+2|0;u=+g[f+(h+-2<<2)>>2];t=+g[d+(x+1<<2)>>2];s=+g[f+(h+-1<<2)>>2];r=+g[d+(l<<2)>>2];x=d+(n<<2)|0;g[e+(o<<2)>>2]=+g[x>>2]+(u*r-t*s);g[e+(m<<2)>>2]=u*r-t*s-+g[x>>2];g[e+((w|1)<<2)>>2]=u*t+s*r+ +g[d+(v+1<<2)>>2];g[e+(q+-3<<2)>>2]=+g[d+(v+1<<2)>>2]-(u*t+s*r);h=h+2|0}while((h|0)<(a|0));i=i+1|0;if((i|0)==(b|0))break;else{j=j+a|0;k=k+a|0}}}if(((a|0)%2|0|0)==1)return}if((b|0)<=0)return;j=0;k=a;h=p+(a+-1)|0;i=a+-1|0;while(1){g[e+(k<<2)>>2]=-+g[d+(h<<2)>>2];c[e+(k+-1<<2)>>2]=c[d+(i<<2)>>2];j=j+1|0;if((j|0)==(b|0))break;else{k=k+(a<<1)|0;h=h+a|0;i=i+a|0}}return}function T3a(a,b,d,e,f,h,i,j,k,l){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0.0,x=0.0,y=0.0,z=0.0,A=0,B=0.0,C=0.0,D=0,E=0,F=0,G=0,H=0.0;B=+Q(+(6.2831854820251465/+(b|0)));C=+R(+(6.2831854820251465/+(b|0)));D=_(d,a)|0;E=_(b,a)|0;do if((a|0)!=1){if((e|0)>0){m=0;do{c[k+(m<<2)>>2]=c[i+(m<<2)>>2];m=m+1|0}while((m|0)!=(e|0))}if((b|0)>1&(d|0)>0){m=1;o=0;do{o=o+D|0;n=0;p=o;while(1){c[j+(p<<2)>>2]=c[h+(p<<2)>>2];n=n+1|0;if((n|0)==(d|0))break;else p=p+a|0}m=m+1|0}while((m|0)!=(b|0))}if((a+-1>>1|0)>(d|0)){if((b|0)>1){p=0-a|0;q=1;s=0;do{s=s+D|0;p=p+a|0;if((d|0)>0){m=p+-1|0;if((a|0)>2){r=0;t=s-a|0;do{t=t+a|0;n=2;o=m;u=t;do{G=o;o=o+2|0;A=u+1|0;u=u+2|0;v=l+(o<<2)|0;F=h+(u<<2)|0;g[j+(A<<2)>>2]=+g[l+(G+1<<2)>>2]*+g[h+(A<<2)>>2]+ +g[v>>2]*+g[F>>2];g[j+(u<<2)>>2]=+g[l+(G+1<<2)>>2]*+g[F>>2]-+g[v>>2]*+g[h+(A<<2)>>2];n=n+2|0}while((n|0)<(a|0));r=r+1|0}while((r|0)!=(d|0))}}q=q+1|0}while((q|0)!=(b|0))}}else if((b|0)>1){q=0-a|0;r=1;t=0;do{q=q+a|0;t=t+D|0;if(!((a|0)<3|(d|0)<1)){n=2;o=q+-1|0;u=t;do{p=o;o=o+2|0;u=u+2|0;m=l+(o<<2)|0;s=0;v=u;while(1){G=v+-1|0;F=h+(v<<2)|0;g[j+(G<<2)>>2]=+g[l+(p+1<<2)>>2]*+g[h+(G<<2)>>2]+ +g[m>>2]*+g[F>>2];g[j+(v<<2)>>2]=+g[l+(p+1<<2)>>2]*+g[F>>2]-+g[m>>2]*+g[h+(G<<2)>>2];s=s+1|0;if((s|0)==(d|0))break;else v=v+a|0}n=n+2|0}while((n|0)<(a|0))}r=r+1|0}while((r|0)!=(b|0))}m=_(D,b)|0;if((a+-1>>1|0)<(d|0)){if((b+1>>1|0)<=1)break;t=1;u=0;do{u=u+D|0;m=m-D|0;if(!((a|0)<3|(d|0)<1)){n=2;p=u;q=m;do{p=p+2|0;q=q+2|0;o=0;r=p-a|0;s=q-a|0;do{r=r+a|0;s=s+a|0;G=r+-1|0;F=s+-1|0;g[h+(G<<2)>>2]=+g[j+(G<<2)>>2]+ +g[j+(F<<2)>>2];l=j+(r<<2)|0;A=j+(s<<2)|0;g[h+(F<<2)>>2]=+g[l>>2]-+g[A>>2];g[h+(r<<2)>>2]=+g[l>>2]+ +g[A>>2];g[h+(s<<2)>>2]=+g[j+(F<<2)>>2]-+g[j+(G<<2)>>2];o=o+1|0}while((o|0)!=(d|0));n=n+2|0}while((n|0)<(a|0))}t=t+1|0}while((t|0)!=(b+1>>1|0))}else{if((b+1>>1|0)<=1)break;t=1;u=0;do{u=u+D|0;m=m-D|0;if(!((d|0)<1|(a|0)<3)){o=0;p=u;q=m;while(1){n=2;r=p;s=q;do{G=r;r=r+2|0;F=s+1|0;s=s+2|0;g[h+(G+1<<2)>>2]=+g[j+(G+1<<2)>>2]+ +g[j+(F<<2)>>2];l=j+(r<<2)|0;A=j+(s<<2)|0;g[h+(F<<2)>>2]=+g[l>>2]-+g[A>>2];g[h+(r<<2)>>2]=+g[l>>2]+ +g[A>>2];g[h+(s<<2)>>2]=+g[j+(F<<2)>>2]-+g[j+(G+1<<2)>>2];n=n+2|0}while((n|0)<(a|0));o=o+1|0;if((o|0)==(d|0))break;else{p=p+a|0;q=q+a|0}}}t=t+1|0}while((t|0)!=(b+1>>1|0))}}while(0);if((e|0)>0){m=0;do{c[i+(m<<2)>>2]=c[k+(m<<2)>>2];m=m+1|0}while((m|0)!=(e|0))}s=_(e,b)|0;A=(b+1>>1|0)>1;do if(A){if((d|0)>0){m=1;o=0;p=s;do{o=o+D|0;p=p-D|0;n=0;q=o-a|0;r=p-a|0;do{q=q+a|0;r=r+a|0;G=j+(q<<2)|0;F=j+(r<<2)|0;g[h+(q<<2)>>2]=+g[G>>2]+ +g[F>>2];g[h+(r<<2)>>2]=+g[F>>2]-+g[G>>2];n=n+1|0}while((n|0)!=(d|0));m=m+1|0}while((m|0)!=(b+1>>1|0));if(!A)break}v=_(b+-1|0,e)|0;y=0.0;z=1.0;l=1;h=0;do{h=h+e|0;s=s-e|0;x=z;z=B*z-C*y;y=B*y+C*x;if((e|0)>0){m=0;n=h;o=s;p=v;q=e;while(1){g[k+(n<<2)>>2]=+g[i+(m<<2)>>2]+z*+g[i+(q<<2)>>2];g[k+(o<<2)>>2]=y*+g[i+(p<<2)>>2];m=m+1|0;if((m|0)==(e|0))break;else{n=n+1|0;o=o+1|0;p=p+1|0;q=q+1|0}}}if(!((b+1>>1|0)<3|(e|0)>0^1)){w=y;x=z;n=2;o=e;p=v;do{o=o+e|0;p=p-e|0;H=x;x=z*x-y*w;w=z*w+y*H;m=0;q=h;r=s;t=o;u=p;while(1){G=k+(q<<2)|0;g[G>>2]=+g[G>>2]+x*+g[i+(t<<2)>>2];G=k+(r<<2)|0;g[G>>2]=+g[G>>2]+w*+g[i+(u<<2)>>2];m=m+1|0;if((m|0)==(e|0))break;else{q=q+1|0;r=r+1|0;t=t+1|0;u=u+1|0}}n=n+1|0}while((n|0)!=(b+1>>1|0))}l=l+1|0}while((l|0)!=(b+1>>1|0));if(A&(e|0)>0){n=1;o=0;do{o=o+e|0;m=0;p=o;while(1){G=k+(m<<2)|0;g[G>>2]=+g[i+(p<<2)>>2]+ +g[G>>2];m=m+1|0;if((m|0)==(e|0))break;else p=p+1|0}n=n+1|0}while((n|0)!=(b+1>>1|0))}}while(0);if((a|0)<(d|0)){if((a|0)>0&(d|0)>0){m=0;do{n=0;o=m;p=m;while(1){c[f+(p<<2)>>2]=c[j+(o<<2)>>2];n=n+1|0;if((n|0)==(d|0))break;else{o=o+a|0;p=p+E|0}}m=m+1|0}while((m|0)!=(a|0))}}else if((d|0)>0&(a|0)>0){n=0;o=0;p=0;while(1){m=0;q=o;r=p;while(1){c[f+(r<<2)>>2]=c[j+(q<<2)>>2];m=m+1|0;if((m|0)==(a|0))break;else{q=q+1|0;r=r+1|0}}n=n+1|0;if((n|0)==(d|0))break;else{o=o+a|0;p=p+E|0}}}i=_(D,b)|0;if(A&(d|0)>0){m=1;o=0;p=0;q=i;do{o=o+(a<<1)|0;p=p+D|0;q=q-D|0;n=0;r=o;s=p;t=q;while(1){c[f+(r+-1<<2)>>2]=c[j+(s<<2)>>2];c[f+(r<<2)>>2]=c[j+(t<<2)>>2];n=n+1|0;if((n|0)==(d|0))break;else{r=r+E|0;s=s+a|0;t=t+a|0}}m=m+1|0}while((m|0)!=(b+1>>1|0))}if((a|0)==1)return;if((a+-1>>1|0)>=(d|0)){if(!A)return;t=1;u=0-a|0;v=0;l=0;o=i;do{u=u+(a<<1)|0;v=v+(a<<1)|0;l=l+D|0;o=o-D|0;if(!((d|0)<1|(a|0)<3)){n=0;p=u;q=v;r=l;s=o;while(1){m=2;do{F=m+r|0;e=m+s|0;k=m+q|0;g[f+(k+-1<<2)>>2]=+g[j+(F+-1<<2)>>2]+ +g[j+(e+-1<<2)>>2];G=a-m+p|0;g[f+(G+-1<<2)>>2]=+g[j+(F+-1<<2)>>2]-+g[j+(e+-1<<2)>>2];g[f+(k<<2)>>2]=+g[j+(F<<2)>>2]+ +g[j+(e<<2)>>2];g[f+(G<<2)>>2]=+g[j+(e<<2)>>2]-+g[j+(F<<2)>>2];m=m+2|0}while((m|0)<(a|0));n=n+1|0;if((n|0)==(d|0))break;else{p=p+E|0;q=q+E|0;r=r+a|0;s=s+a|0}}}t=t+1|0}while((t|0)!=(b+1>>1|0));return}if(!A)return;u=1;v=0-a|0;l=0;h=0;p=i;do{v=v+(a<<1)|0;l=l+(a<<1)|0;h=h+D|0;p=p-D|0;if((a|0)>2){m=v+a|0;if((d|0)>0){n=2;do{o=0;q=m-n|0;r=n+l|0;s=n+h|0;t=n+p|0;while(1){F=j+(s+-1<<2)|0;G=j+(t+-1<<2)|0;g[f+(r+-1<<2)>>2]=+g[F>>2]+ +g[G>>2];g[f+(q+-1<<2)>>2]=+g[F>>2]-+g[G>>2];G=j+(s<<2)|0;F=j+(t<<2)|0;g[f+(r<<2)>>2]=+g[G>>2]+ +g[F>>2];g[f+(q<<2)>>2]=+g[F>>2]-+g[G>>2];o=o+1|0;if((o|0)==(d|0))break;else{q=q+E|0;r=r+E|0;s=s+a|0;t=t+a|0}}n=n+2|0}while((n|0)<(a|0))}}u=u+1|0}while((u|0)!=(b+1>>1|0));return}function U3a(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0,j=0,k=0;j=i;f=c[a>>2]|0;h=i;i=i+((1*(f<<2)|0)+15&-16)|0;V3a(f,c[a+24>>2]|0,b,d,140.0,-1);if((f|0)>0){e=0;do{g[h+(e<<2)>>2]=+g[b+(e<<2)>>2]-+g[d+(e<<2)>>2];e=e+1|0}while((e|0)!=(f|0))}V3a(f,c[a+24>>2]|0,h,d,0.0,c[(c[a+4>>2]|0)+128>>2]|0);if((f|0)>0)e=0;else{i=j;return}do{k=h+(e<<2)|0;g[k>>2]=+g[b+(e<<2)>>2]-+g[k>>2];e=e+1|0}while((e|0)!=(f|0));if((f|0)<=0){i=j;return}e=c[a+4>>2]|0;b=0;do{k=d+(b<<2)|0;a=~~(+g[k>>2]+.5);a=(a|0)>39?39:a;g[k>>2]=+g[h+(b<<2)>>2]+ +g[e+336+(((a|0)<0?0:a)<<2)>>2];b=b+1|0}while((b|0)!=(f|0));i=j;return}function V3a(a,b,d,e,f,h){a=a|0;b=b|0;d=d|0;e=e|0;f=+f;h=h|0;var j=0.0,k=0.0,l=0,m=0.0,n=0.0,o=0.0,p=0.0,q=0,r=0,s=0.0,t=0.0,u=0,v=0,w=0,x=0,y=0,z=0;z=i;u=i;i=i+((1*(a<<2)|0)+15&-16)|0;v=i;i=i+((1*(a<<2)|0)+15&-16)|0;w=i;i=i+((1*(a<<2)|0)+15&-16)|0;x=i;i=i+((1*(a<<2)|0)+15&-16)|0;y=i;i=i+((1*(a<<2)|0)+15&-16)|0;k=+g[d>>2]+f;k=k<1.0?1.0:k;j=k*k*.5+0.0;g[u>>2]=j;g[v>>2]=j;g[w>>2]=0.0;g[x>>2]=k*(k*k*.5)+0.0;g[y>>2]=0.0;if((a|0)>1){l=1;p=j;m=j;n=0.0;o=0.0;j=k*(k*k*.5)+0.0;k=1.0;while(1){s=+g[d+(l<<2)>>2]+f;s=s<1.0?1.0:s;p=p+s*s;t=k*(s*s);m=m+t;n=n+k*t;j=j+s*(s*s);o=o+s*t;g[u+(l<<2)>>2]=p;g[v+(l<<2)>>2]=m;g[w+(l<<2)>>2]=n;g[x+(l<<2)>>2]=j;g[y+(l<<2)>>2]=o;l=l+1|0;if((l|0)==(a|0))break;else k=k+1.0}}d=c[b>>2]|0;if((d>>16|0)>-1){t=0.0;n=0.0;m=1.0;q=0;j=0.0}else{l=d;r=d>>16;d=0;j=0.0;while(1){l=l&65535;q=0-r|0;o=+g[u+(l<<2)>>2]+ +g[u+(q<<2)>>2];p=+g[v+(l<<2)>>2]-+g[v+(q<<2)>>2];s=+g[w+(l<<2)>>2]+ +g[w+(q<<2)>>2];k=+g[x+(l<<2)>>2]+ +g[x+(q<<2)>>2];m=+g[y+(l<<2)>>2]-+g[y+(q<<2)>>2];t=(s*k-p*m+j*(o*m-p*k))/(o*s-p*p);g[e+(d<<2)>>2]=(t<0.0?0.0:t)-f;q=d+1|0;j=j+1.0;d=c[b+(q<<2)>>2]|0;r=d>>16;if((r|0)>-1){t=s*k-p*m;n=o*m-p*k;m=o*s-p*p;break}else{l=d;d=q}}}l=d&65535;if((l|0)<(a|0)){do{r=d>>16;s=+g[u+(l<<2)>>2]-+g[u+(r<<2)>>2];o=+g[v+(l<<2)>>2]-+g[v+(r<<2)>>2];p=+g[w+(l<<2)>>2]-+g[w+(r<<2)>>2];k=+g[x+(l<<2)>>2]-+g[x+(r<<2)>>2];m=+g[y+(l<<2)>>2]-+g[y+(r<<2)>>2];t=(p*k-o*m+j*(s*m-o*k))/(s*p-o*o);g[e+(q<<2)>>2]=(t<0.0?0.0:t)-f;q=q+1|0;j=j+1.0;d=c[b+(q<<2)>>2]|0;l=d&65535}while((l|0)<(a|0));t=p*k-o*m;n=s*m-o*k;m=s*p-o*o;d=q}else d=q;if((d|0)<(a|0))while(1){s=(t+n*j)/m;g[e+(d<<2)>>2]=(s<0.0?0.0:s)-f;d=d+1|0;if((d|0)==(a|0))break;else j=j+1.0}if((h|0)<1){i=z;return}if((((h|0)/2|0)-h|0)>-1){k=t;d=0;j=0.0}else{l=(h|0)/2|0;d=((h|0)/2|0)-h|0;q=0;j=0.0;while(1){d=0-d|0;o=+g[u+(l<<2)>>2]+ +g[u+(d<<2)>>2];p=+g[v+(l<<2)>>2]-+g[v+(d<<2)>>2];s=+g[w+(l<<2)>>2]+ +g[w+(d<<2)>>2];n=+g[x+(l<<2)>>2]+ +g[x+(d<<2)>>2];m=+g[y+(l<<2)>>2]-+g[y+(d<<2)>>2];k=(s*n-p*m+j*(o*m-p*n))/(o*s-p*p)-f;d=e+(q<<2)|0;if(k<+g[d>>2])g[d>>2]=k;q=q+1|0;j=j+1.0;d=q+((h|0)/2|0)|0;if((q|0)==(h-((h|0)/2|0)|0)){k=s*n-p*m;n=o*m-p*n;m=o*s-p*p;d=h-((h|0)/2|0)|0;break}else{l=d;d=d-h|0}}}l=d+((h|0)/2|0)|0;if((l|0)<(a|0))while(1){b=l-h|0;o=+g[u+(l<<2)>>2]-+g[u+(b<<2)>>2];p=+g[v+(l<<2)>>2]-+g[v+(b<<2)>>2];s=+g[w+(l<<2)>>2]-+g[w+(b<<2)>>2];n=+g[x+(l<<2)>>2]-+g[x+(b<<2)>>2];m=+g[y+(l<<2)>>2]-+g[y+(b<<2)>>2];k=(s*n-p*m+j*(o*m-p*n))/(o*s-p*p)-f;l=e+(d<<2)|0;if(k<+g[l>>2])g[l>>2]=k;d=d+1|0;j=j+1.0;if((d|0)==(a-((h|0)/2|0)|0)){t=s*n-p*m;n=o*m-p*n;m=o*s-p*p;d=a-((h|0)/2|0)|0;break}else l=d+((h|0)/2|0)|0}else t=k;if((d|0)<(a|0))l=d;else{i=z;return}while(1){k=(t+n*j)/m-f;d=e+(l<<2)|0;if(k<+g[d>>2])g[d>>2]=k;l=l+1|0;if((l|0)==(a|0))break;else j=j+1.0}i=z;return}function W3a(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=+e;f=+f;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0.0,s=0,t=0,u=0,v=0,w=0,x=0;x=i;u=c[a>>2]|0;j=c[a+40>>2]|0;w=i;i=i+((1*(j<<2)|0)+15&-16)|0;k=c[a+4>>2]|0;f=+g[k+4>>2]+f;if((j|0)>0){h=0;do{g[w+(h<<2)>>2]=-9999.0;h=h+1|0}while((h|0)<(j|0))}r=+g[k+8>>2];f=f0){h=c[a+16>>2]|0;j=0;do{g[d+(j<<2)>>2]=f+ +g[h+(j<<2)>>2];j=j+1|0}while((j|0)!=(u|0));t=c[a+8>>2]|0;r=+g[k+496>>2]-e;if((u|0)>0){s=c[a+20>>2]|0;h=0;while(1){k=c[s+(h<<2)>>2]|0;j=h;e=+g[b+(h<<2)>>2];a:while(1)while(1){h=j+1|0;if((h|0)>=(u|0)){q=0;break a}if((c[s+(h<<2)>>2]|0)!=(k|0)){q=1;break a}f=+g[b+(h<<2)>>2];if(f>e){j=h;e=f;continue a}else j=h}if(e+6.0>+g[d+(j<<2)>>2]){o=k>>c[a+32>>2];o=(o|0)>16?16:o;l=c[a+40>>2]|0;m=c[a+36>>2]|0;n=~~((r+e+-30.0)*.10000000149011612);n=(n|0)<0?0:n;n=c[(c[t+(((o|0)<0?0:o)<<2)>>2]|0)+(((n|0)>7?7:n)<<2)>>2]|0;o=~~+g[n+4>>2];f=+g[n>>2];if((~~f|0)<(o|0)){p=~~f;k=~~(+(m|0)*(f+-16.0)+ +((c[s+(j<<2)>>2]|0)-(c[a+28>>2]|0)|0)-+(m>>1|0));do{if((k|0)>0){f=e+ +g[n+8+(p<<2)>>2];j=w+(k<<2)|0;if(+g[j>>2]>2]=f}k=k+m|0;p=p+1|0}while((p|0)<(o|0)&(k|0)<(l|0))}}if(!q){q=a+20|0;h=a+36|0;break}}}else v=7}else v=7;if((v|0)==7){q=a+20|0;h=a+36|0}k=c[h>>2]|0;X3a(w,k,c[a+40>>2]|0);s=c[a>>2]|0;b:do if((s|0)>1){n=c[q>>2]|0;v=c[n>>2]|0;o=c[a+28>>2]|0;p=(c[a+4>>2]|0)+32|0;h=1;l=v;j=0;k=v-(k>>1)-o|0;while(1){f=+g[w+(k<<2)>>2];l=((c[n+(h<<2)>>2]|0)+l>>1)-o|0;r=+g[p>>2];f=f>r?r:f;c:do if((k|0)<(l|0)){h=k;e=f;while(1){h=h+1|0;d:do if(e==-9999.0){k=h;f=+g[w+(h<<2)>>2]}else while(1){f=+g[w+(h<<2)>>2];if(f>-9999.0&f>2]|0;do{if((c[m+(j<<2)>>2]|0)>(l|0))break e;h=d+(j<<2)|0;if(+g[h>>2]>2]=f;j=j+1|0}while((j|0)<(s|0))}while(0);h=j+1|0;if((h|0)>=(s|0))break b;l=c[n+(j<<2)>>2]|0}}else j=0;while(0);f=+g[w+((c[a+40>>2]|0)+-1<<2)>>2];if((j|0)>=(s|0)){i=x;return}do{h=d+(j<<2)|0;if(+g[h>>2]>2]=f;j=j+1|0}while((j|0)!=(s|0));i=x;return}function X3a(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0.0,j=0,k=0,l=0.0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;p=i;i=i+((1*(d<<2)|0)+15&-16)|0;q=i;i=i+((1*(d<<2)|0)+15&-16)|0;if((d|0)>0){k=0;e=0}else{i=r;return}while(1){do if((e|0)<2){c[p+(e<<2)>>2]=k;c[q+(e<<2)>>2]=c[a+(k<<2)>>2]}else{l=+g[a+(k<<2)>>2];while(1){f=e+-1|0;h=+g[q+(f<<2)>>2];if(l1?(k|0)<((c[p+(f<<2)>>2]|0)+b|0):0)){o=12;break}j=e+-2|0;if(!(h<=+g[q+(j<<2)>>2])){o=12;break}if((k|0)<((c[p+(j<<2)>>2]|0)+b|0))e=f;else{o=12;break}}if((o|0)==8){o=0;c[p+(e<<2)>>2]=k;g[q+(e<<2)>>2]=l;break}else if((o|0)==12){o=0;c[p+(e<<2)>>2]=k;g[q+(e<<2)>>2]=l;break}}while(0);n=e+1|0;k=k+1|0;if((k|0)==(d|0))break;else e=n}if((e|0)<=-1){i=r;return}m=0;j=0;while(1){if((m|0)<(e|0)){f=m+1|0;if(+g[q+(f<<2)>>2]>+g[q+(m<<2)>>2])f=c[p+(f<<2)>>2]|0;else o=17}else o=17;if((o|0)==17){o=0;f=b+1+(c[p+(m<<2)>>2]|0)|0}f=(f|0)>(d|0)?d:f;if((j|0)<(f|0)){k=c[q+(m<<2)>>2]|0;do{c[a+(j<<2)>>2]=k;j=j+1|0}while((j|0)<(f|0))}else f=j;m=m+1|0;if((m|0)==(n|0))break;else j=f}i=r;return}function Y3a(a,b,d,e,f,h,i){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;var j=0.0,k=0.0,l=0,m=0,n=0,o=0.0,p=0.0;l=c[a>>2]|0;n=c[a+4>>2]|0;o=+g[n+12+(e<<2)>>2];if((l|0)<=0)return;m=c[(c[a+12>>2]|0)+(e<<2)>>2]|0;k=+g[a+48>>2];if((e|0)==1)a=0;else{a=0;do{k=+g[b+(a<<2)>>2]+ +g[m+(a<<2)>>2];j=+g[n+108>>2];k=k>j?j:k;j=o+ +g[d+(a<<2)>>2];g[f+(a<<2)>>2]=k>2]+ +g[m+(a<<2)>>2];p=+g[n+108>>2];j=j>p?p:j;p=o+ +g[d+(a<<2)>>2];g[f+(a<<2)>>2]=j>2];if(j>-17.200000762939453)if(1.0-k*((j+17.200000762939453)*.005)<0.0)j=9.999999747378752e-05;else j=1.0-k*((j+17.200000762939453)*.005);else j=1.0-k*((j+17.200000762939453)*.0003);e=h+(a<<2)|0;g[e>>2]=j*+g[e>>2];a=a+1|0}while((a|0)!=(l|0));return}function Z3a(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0,j=0,k=0,l=0,m=0.0,n=0.0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0.0;K=i;i=i+4912|0;I=c[b+1296>>2]|0;F=c[b+1288>>2]|0;J=c[b+1284>>2]|0;if((J|0)>0){h=0;do{c[K+1064+(h<<2)>>2]=-200;h=h+1|0}while((h|0)!=(J|0));if((J|0)>0){h=0;do{c[K+804+(h<<2)>>2]=-200;h=h+1|0}while((h|0)!=(J|0));if((J|0)>0){hBb(K+544|0,0,J<<2|0)|0;h=0;do{c[K+284+(h<<2)>>2]=1;h=h+1|0}while((h|0)!=(J|0));if((J|0)>0){hBb(K+24|0,-1,J<<2|0)|0;if((J|0)<=1){b=0;i=K;return b|0}D=c[b>>2]|0;E=0;h=0;do{C=E;E=E+1|0;l=D;D=c[b+(E<<2)>>2]|0;j=K+1328+(C*56|0)|0;k=j+56|0;do{c[j>>2]=0;j=j+4|0}while((j|0)<(k|0));c[K+1328+(C*56|0)>>2]=l;c[K+1328+(C*56|0)+4>>2]=D;B=(D|0)<(F|0)?D:F+-1|0;if((B|0)<(l|0)){w=0;v=0;u=0;t=0;s=0;r=0;q=0;p=0;o=0;l=0;k=0;j=0}else{w=0;v=0;u=0;t=0;s=0;r=0;q=0;p=0;o=0;A=0;k=0;j=0;while(1){m=+g[e+(l<<2)>>2];x=(~~(m*7.314285755157471+1023.5)|0)>1023;y=(~~(m*7.314285755157471+1023.5)|0)<0;z=x?1023:y?0:~~(m*7.314285755157471+1023.5);do if(z)if(!(+g[d+(l<<2)>>2]+ +g[I+1112>>2]>=m)){t=(_(l,l)|0)+t|0;L=_(~~(m*7.314285755157471+1023.5),~~(m*7.314285755157471+1023.5))|0;v=v+1|0;r=l+r|0;p=(_(z,l)|0)+p|0;A=(x?1046529:y?0:L)+A|0;j=z+j|0;break}else{u=(_(l,l)|0)+u|0;L=_(~~(m*7.314285755157471+1023.5),~~(m*7.314285755157471+1023.5))|0;w=w+1|0;s=l+s|0;q=(_(z,l)|0)+q|0;o=(x?1046529:y?0:L)+o|0;k=z+k|0;break}while(0);if((l|0)<(B|0))l=l+1|0;else{l=A;break}}}c[K+1328+(C*56|0)+8>>2]=s;c[K+1328+(C*56|0)+12>>2]=k;c[K+1328+(C*56|0)+16>>2]=u;c[K+1328+(C*56|0)+20>>2]=o;c[K+1328+(C*56|0)+24>>2]=q;c[K+1328+(C*56|0)+28>>2]=w;c[K+1328+(C*56|0)+32>>2]=r;c[K+1328+(C*56|0)+36>>2]=j;c[K+1328+(C*56|0)+40>>2]=t;c[K+1328+(C*56|0)+44>>2]=l;c[K+1328+(C*56|0)+48>>2]=p;c[K+1328+(C*56|0)+52>>2]=v;h=w+h|0}while((E|0)!=(J+-1|0))}else G=9}else G=9}else G=9}else G=9;if((G|0)==9){if(J|0){L=0;i=K;return L|0}j=K+1328|0;k=j+56|0;do{c[j>>2]=0;j=j+4|0}while((j|0)<(k|0));c[K+1328+4>>2]=F;if((F|0)<1){h=0;v=0;u=0;t=0;s=0;r=0;q=0;p=0;o=0;l=0;k=0;j=0}else{z=0;h=0;v=0;u=0;t=0;s=0;r=0;q=0;p=0;o=0;l=0;k=0;j=0;do{m=+g[e+(z<<2)>>2];w=(~~(m*7.314285755157471+1023.5)|0)>1023;x=(~~(m*7.314285755157471+1023.5)|0)<0;y=w?1023:x?0:~~(m*7.314285755157471+1023.5);do if(y)if(!(+g[d+(z<<2)>>2]+ +g[I+1112>>2]>=m)){t=(_(z,z)|0)+t|0;L=_(~~(m*7.314285755157471+1023.5),~~(m*7.314285755157471+1023.5))|0;v=v+1|0;r=z+r|0;p=(_(y,z)|0)+p|0;l=(w?1046529:x?0:L)+l|0;j=y+j|0;break}else{u=(_(z,z)|0)+u|0;L=_(~~(m*7.314285755157471+1023.5),~~(m*7.314285755157471+1023.5))|0;h=h+1|0;s=z+s|0;q=(_(y,z)|0)+q|0;o=(w?1046529:x?0:L)+o|0;k=y+k|0;break}while(0);z=z+1|0}while((z|0)!=(F|0))}c[K+1328+8>>2]=s;c[K+1328+12>>2]=k;c[K+1328+16>>2]=u;c[K+1328+20>>2]=o;c[K+1328+24>>2]=q;c[K+1328+28>>2]=h;c[K+1328+32>>2]=r;c[K+1328+36>>2]=j;c[K+1328+40>>2]=t;c[K+1328+44>>2]=l;c[K+1328+48>>2]=p;c[K+1328+52>>2]=v}if(!h){L=0;i=K;return L|0}c[K+20>>2]=-200;c[K+16>>2]=-200;_3a(K+1328|0,J+-1|0,K+20|0,K+16|0,I)|0;h=c[K+20>>2]|0;c[K+1064>>2]=h;c[K+804>>2]=h;L=c[K+16>>2]|0;c[K+804+4>>2]=L;c[K+1064+4>>2]=L;do if((J|0)>2){B=2;a:while(1){y=c[b+520+(B<<2)>>2]|0;A=c[K+544+(y<<2)>>2]|0;z=c[K+284+(y<<2)>>2]|0;b:do if((c[K+24+(A<<2)>>2]|0)!=(z|0)){w=c[b+520+(A<<2)>>2]|0;x=c[b+520+(z<<2)>>2]|0;c[K+24+(A<<2)>>2]=z;s=c[I+836+(A<<2)>>2]|0;t=c[I+836+(z<<2)>>2]|0;h=c[K+1064+(A<<2)>>2]|0;j=c[K+804+(A<<2)>>2]|0;if((h|0)<0)v=j;else if((j|0)<0)v=h;else v=j+h>>1;h=c[K+1064+(z<<2)>>2]|0;j=c[K+804+(z<<2)>>2]|0;if((h|0)<0)u=j;else if((j|0)<0)u=h;else u=j+h>>1;if((v|0)==-1|(u|0)==-1){G=38;break a}q=u-v|0;m=+g[e+(s<<2)>>2];h=(~~(m*7.314285755157471+1023.5)|0)>1023?1023:(~~(m*7.314285755157471+1023.5)|0)<0?0:~~(m*7.314285755157471+1023.5);r=_((q|0)/(t-s|0)|0,t-s|0)|0;r=((q|0)>-1?q:0-q|0)-((r|0)>-1?r:0-r|0)|0;j=v-h|0;j=_(j,j)|0;n=+g[I+1112>>2];if(!(+g[d+(s<<2)>>2]+n>=m))G=42;else{m=+(v|0);if(!(m+ +g[I+1096>>2]<+(h|0)))if(!(m-+g[I+1100>>2]>+(h|0)))G=42}c:do if((G|0)==42){G=0;if((s+1|0)<(t|0)){o=s+1|0;p=0;h=1;l=v;do{k=p+r|0;p=k-((k|0)<(t-s|0)?0:t-s|0)|0;l=l+((q|0)/(t-s|0)|0)+((k|0)<(t-s|0)?0:q>>31|1)|0;m=+g[e+(o<<2)>>2];k=(~~(m*7.314285755157471+1023.5)|0)>1023?1023:(~~(m*7.314285755157471+1023.5)|0)<0?0:~~(m*7.314285755157471+1023.5);L=l-k|0;j=(_(L,L)|0)+j|0;h=h+1|0;if(k|0?n+ +g[d+(o<<2)>>2]>=m:0){m=+(l|0);if(m+ +g[I+1096>>2]<+(k|0))break c;if(m-+g[I+1100>>2]>+(k|0))break c}o=o+1|0}while((o|0)<(t|0))}else h=1;M=+g[I+1096>>2];m=+(h|0);n=+g[I+1104>>2];if(!(M*M/m>n)){M=+g[I+1100>>2];if(!(M*M/m>n))if(+((j|0)/(h|0)|0|0)>n)break}c[K+1064+(B<<2)>>2]=-200;c[K+804+(B<<2)>>2]=-200;break b}while(0);c[K+12>>2]=-200;c[K+8>>2]=-200;c[K+4>>2]=-200;c[K>>2]=-200;j=_3a(K+1328+(w*56|0)|0,y-w|0,K+12|0,K+8|0,I)|0;h=_3a(K+1328+(y*56|0)|0,x-y|0,K+4|0,K,I)|0;if(j|0){c[K+12>>2]=v;c[K+8>>2]=c[K+4>>2]}if(!h)G=55;else{c[K+4>>2]=c[K+8>>2];c[K>>2]=u;if(j|0){c[K+1064+(B<<2)>>2]=-200;c[K+804+(B<<2)>>2]=-200}else G=55}d:do if((G|0)==55){G=0;h=c[K+12>>2]|0;c[K+804+(A<<2)>>2]=h;if(!A)c[K+1064>>2]=h;h=c[K+8>>2]|0;c[K+1064+(B<<2)>>2]=h;j=c[K+4>>2]|0;c[K+804+(B<<2)>>2]=j;k=c[K>>2]|0;c[K+1064+(z<<2)>>2]=k;if((z|0)==1)c[K+804+4>>2]=k;if((j&h|0)>-1){e:do if((y|0)>0){j=y;do{k=j;j=j+-1|0;h=K+284+(j<<2)|0;if((c[h>>2]|0)!=(z|0))break e;c[h>>2]=B}while((k|0)>1)}while(0);if((y+1|0)<(J|0)){j=y+1|0;do{h=K+544+(j<<2)|0;if((c[h>>2]|0)!=(A|0))break d;c[h>>2]=B;j=j+1|0}while((j|0)<(J|0))}}}while(0)}while(0);B=B+1|0;if((B|0)>=(J|0)){G=69;break}}if((G|0)==38)lh(1);else if((G|0)==69){f=c[K+1064>>2]|0;H=c[K+804>>2]|0;break}}else{f=h;H=h}while(0);l=v3a(a,J<<2)|0;if((f|0)<0)f=H;else if((H|0)>=0)f=H+f>>1;c[l>>2]=f;f=c[K+1064+4>>2]|0;h=c[K+804+4>>2]|0;if((f|0)<0)f=h;else if((h|0)>=0)f=h+f>>1;c[l+4>>2]=f;if((J|0)>2){k=2;do{L=k+-2|0;j=c[b+1032+(L<<2)>>2]|0;L=c[b+780+(L<<2)>>2]|0;f=c[I+836+(j<<2)>>2]|0;j=c[l+(j<<2)>>2]&32767;h=(c[l+(L<<2)>>2]&32767)-j|0;f=(_((h|0)>-1?h:0-h|0,(c[I+836+(k<<2)>>2]|0)-f|0)|0)/((c[I+836+(L<<2)>>2]|0)-f|0)|0;j=((h|0)<0?0-f|0:f)+j|0;f=c[K+1064+(k<<2)>>2]|0;h=c[K+804+(k<<2)>>2]|0;if((f|0)<0)f=h;else if((h|0)>=0)f=h+f>>1;c[l+(k<<2)>>2]=(f|0)<0|(j|0)==(f|0)?j|32768:f;k=k+1|0}while((k|0)!=(J|0))}L=l;i=K;return L|0}function _3a(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0,o=0,p=0,q=0;n=c[a>>2]|0;o=c[a+((b+-1|0)*56|0)+4>>2]|0;if((b|0)>0){m=+g[f+1108>>2];h=0.0;f=0;l=0.0;k=0.0;j=0.0;i=0.0;do{q=c[a+(f*56|0)+52>>2]|0;p=c[a+(f*56|0)+28>>2]|0;k=k+(+(c[a+(f*56|0)+32>>2]|0)+ +(c[a+(f*56|0)+8>>2]|0)*(m*+(p+q|0)/+(p+1|0)+1.0));i=i+(+(c[a+(f*56|0)+36>>2]|0)+ +(c[a+(f*56|0)+12>>2]|0)*(m*+(p+q|0)/+(p+1|0)+1.0));l=l+(+(c[a+(f*56|0)+40>>2]|0)+(m*+(p+q|0)/+(p+1|0)+1.0)*+(c[a+(f*56|0)+16>>2]|0));j=j+(+(c[a+(f*56|0)+48>>2]|0)+(m*+(p+q|0)/+(p+1|0)+1.0)*+(c[a+(f*56|0)+24>>2]|0));h=h+(+(q|0)+ +(p|0)*(m*+(p+q|0)/+(p+1|0)+1.0));f=f+1|0}while((f|0)!=(b|0))}else{h=0.0;l=0.0;k=0.0;j=0.0;i=0.0}f=c[d>>2]|0;if((f|0)>-1){h=h+1.0;l=+(_(n,n)|0)+l;k=+(n|0)+k;j=j+ +(_(f,n)|0);i=i+ +(f|0)}f=c[e>>2]|0;if((f|0)>-1){m=h+1.0;l=+(_(o,o)|0)+l;k=+(o|0)+k;j=j+ +(_(f,o)|0);i=i+ +(f|0)}else m=h;h=m*l-k*k;if(!(h>0.0)){c[d>>2]=0;c[e>>2]=0;q=1;return q|0}l=(l*i-j*k)/h;m=(m*j-i*k)/h;c[d>>2]=~~+Inb(l+ +(n|0)*m);f=~~+Inb(l+ +(o|0)*m);c[e>>2]=f;a=c[d>>2]|0;if((a|0)>1023){c[d>>2]=1023;f=c[e>>2]|0;a=1023}if((f|0)>1023){c[e>>2]=1023;a=c[d>>2]|0;f=1023}if((a|0)<0){c[d>>2]=0;f=c[e>>2]|0}if((f|0)>=0){q=0;return q|0}c[e>>2]=0;q=0;return q|0}function $3a(a){a=a|0;return (c[(c[(c[a+64>>2]|0)+104>>2]|0)+80>>2]|0)!=0|0}function a4a(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;j=c[b+1284>>2]|0;if(!((d|0)!=0&(e|0)!=0)){f=0;return f|0}b=v3a(a,j<<2)|0;if((j|0)<=0){f=b;return f|0}i=0;do{k=d+(i<<2)|0;g=_(c[k>>2]&32767,65536-f|0)|0;a=e+(i<<2)|0;g=g+32768+(_(c[a>>2]&32767,f)|0)>>16;h=b+(i<<2)|0;c[h>>2]=g;if(c[k>>2]&32768|0)if(c[a>>2]&32768|0)c[h>>2]=g|32768;i=i+1|0}while((i|0)!=(j|0));return b|0}function b4a(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=i;i=i+336|0;t=c[d+1296>>2]|0;o=c[d+1284>>2]|0;s=c[(c[(c[b+64>>2]|0)+4>>2]|0)+28>>2]|0;r=c[s+2848>>2]|0;if(!e){J5a(a,0,1);hBb(f|0,0,((c[b+36>>2]|0)/2|0)<<2|0)|0;b=0;i=u;return b|0}a:do if((o|0)>0){j=0;while(1){g=e+(j<<2)|0;h=c[g>>2]|0;switch(c[t+832>>2]|0){case 1:{k=(h&32767)>>>2;break}case 2:{k=(h&32767)>>>3;break}case 3:{k=((h&32767)>>>0)/12|0;break}case 4:{k=(h&32767)>>>4;break}default:k=h&32767}c[g>>2]=h&32768|k;j=j+1|0;if((j|0)==(o|0))break a}}while(0);h=c[e>>2]|0;c[u+64>>2]=h;g=c[e+4>>2]|0;c[u+64+4>>2]=g;if((o|0)>2){n=2;do{l=n+-2|0;k=c[d+1032+(l<<2)>>2]|0;l=c[d+780+(l<<2)>>2]|0;h=c[t+836+(k<<2)>>2]|0;m=c[e+(k<<2)>>2]&32767;g=(c[e+(l<<2)>>2]&32767)-m|0;h=(_((g|0)>-1?g:0-g|0,(c[t+836+(n<<2)>>2]|0)-h|0)|0)/((c[t+836+(l<<2)>>2]|0)-h|0)|0;h=((g|0)<0?0-h|0:h)+m|0;g=e+(n<<2)|0;j=c[g>>2]|0;if((j&32768|0)!=0|(j|0)==(h|0)){c[g>>2]=h|32768;c[u+64+(n<<2)>>2]=0}else{g=(c[d+1292>>2]|0)-h|0;g=(g|0)<(h|0)?g:h;do if((j-h|0)<0)if((j-h|0)<(0-g|0)){g=g+~(j-h)|0;break}else{g=~(j-h<<1);break}else if((g|0)>(j-h|0)){g=j-h<<1;break}else{g=g+(j-h)|0;break}while(0);c[u+64+(n<<2)>>2]=g;c[e+(k<<2)>>2]=m;c[e+(l<<2)>>2]=c[e+(l<<2)>>2]&32767}n=n+1|0}while((n|0)!=(o|0));h=c[u+64>>2]|0;g=c[u+64+4>>2]|0}J5a(a,1,1);c[d+1308>>2]=(c[d+1308>>2]|0)+1;q=(u3a((c[d+1292>>2]|0)+-1|0)|0)<<1;c[d+1304>>2]=(c[d+1304>>2]|0)+q;J5a(a,h,u3a((c[d+1292>>2]|0)+-1|0)|0);J5a(a,g,u3a((c[d+1292>>2]|0)+-1|0)|0);if((c[t>>2]|0)>0){p=0;q=2;while(1){n=c[t+4+(p<<2)>>2]|0;o=c[t+128+(n<<2)>>2]|0;m=c[t+192+(n<<2)>>2]|0;c[u+32>>2]=0;c[u+32+4>>2]=0;c[u+32+8>>2]=0;c[u+32+12>>2]=0;c[u+32+16>>2]=0;c[u+32+20>>2]=0;c[u+32+24>>2]=0;c[u+32+28>>2]=0;if(m|0){c[u>>2]=0;c[u+4>>2]=0;c[u+8>>2]=0;c[u+12>>2]=0;c[u+16>>2]=0;c[u+20>>2]=0;c[u+24>>2]=0;c[u+28>>2]=0;if((m|0)!=31){h=0;do{g=c[t+320+(n<<5)+(h<<2)>>2]|0;if((g|0)<0)g=1;else g=c[(c[s+1824+(g<<2)>>2]|0)+4>>2]|0;c[u+(h<<2)>>2]=g;h=h+1|0}while((h|0)<(1<0){if((m|0)==31){h=0;g=0;j=0;while(1){g=c[u+32+(j<<2)>>2]<>2]|0;j=0;while(1){if((h|0)<(c[u+(j<<2)>>2]|0)){h=j;j=31;break}j=j+1|0;if((j|0)>=(1<>2]=h;else if((j|0)==32)h=c[u+32+(l<<2)>>2]|0;g=h<>2]|0)*56|0)|0,g,a)|0;c[d+1300>>2]=(c[d+1300>>2]|0)+m}if((o|0)>0){j=0;do{g=c[t+320+(n<<5)+(c[u+32+(j<<2)>>2]<<2)>>2]|0;if((g|0)>-1){h=c[u+64+(j+q<<2)>>2]|0;if((h|0)<(c[r+(g*56|0)+4>>2]|0)){m=c4a(r+(g*56|0)|0,h,a)|0;c[d+1304>>2]=(c[d+1304>>2]|0)+m}}j=j+1|0}while((j|0)!=(o|0))}p=p+1|0;if((p|0)>=(c[t>>2]|0))break;else q=o+q|0}}h=_(c[t+832>>2]|0,c[e>>2]|0)|0;r=(c[s+(c[b+28>>2]<<2)>>2]|0)/2|0;if((c[d+1284>>2]|0)>1){g=0;a=1;p=0;while(1){k=c[d+260+(a<<2)>>2]|0;j=c[e+(k<<2)>>2]|0;if((j&32767|0)==(j|0)){q=_(c[t+832>>2]|0,j)|0;o=c[t+836+(k<<2)>>2]|0;k=q-h|0;l=o-p|0;m=_((k|0)/(l|0)|0,l)|0;m=((k|0)>-1?k:0-k|0)-((m|0)>-1?m:0-m|0)|0;n=(r|0)>(o|0)?o:r;if((n|0)>(p|0))c[f+(p<<2)>>2]=h;g=p+1|0;if((g|0)<(n|0)){j=0;while(1){j=j+m|0;h=h+((k|0)/(l|0)|0)+((j|0)<(l|0)?0:k>>31|1)|0;c[f+(g<<2)>>2]=h;g=g+1|0;if((g|0)>=(n|0)){g=o;j=o;h=q;break}else j=j-((j|0)<(l|0)?0:l)|0}}else{g=o;j=o;h=q}}else j=p;a=a+1|0;if((a|0)>=(c[d+1284>>2]|0))break;else p=j}}else g=0;if((g|0)>=((c[b+36>>2]|0)/2|0|0)){b=1;i=u;return b|0}do{c[f+(g<<2)>>2]=h;g=g+1|0}while((g|0)<((c[b+36>>2]|0)/2|0|0));g=1;i=u;return g|0}function c4a(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;if((d|0)<0){b=0;return b|0}f=c[b+12>>2]|0;if((c[f+4>>2]|0)<=(d|0)){b=0;return b|0}J5a(e,c[(c[b+20>>2]|0)+(d<<2)>>2]|0,a[(c[f+8>>2]|0)+d>>0]|0);b=a[(c[(c[b+12>>2]|0)+8>>2]|0)+d>>0]|0;return b|0}function d4a(a,b,d,e,f,j,k,l,m){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0.0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0.0,J=0,K=0.0,L=0,M=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0.0,W=0.0;U=i;R=c[d>>2]|0;n=c[d+4>>2]|0;if(!(c[n+500>>2]|0))S=16;else S=c[n+508>>2]|0;J=c[b+132+((c[n>>2]|0)*60|0)+(a<<2)>>2]|0;K=+h[3304+(c[b+252+(a<<2)>>2]<<3)>>3];L=i;i=i+((1*(m<<2)|0)+15&-16)|0;M=i;i=i+((1*(m<<2)|0)+15&-16)|0;O=i;i=i+((1*(m<<2)|0)+15&-16)|0;P=i;i=i+((1*(m<<2)|0)+15&-16)|0;Q=i;i=i+((1*(m<<2)|0)+15&-16)|0;I=+h[((R|0)>1e3?3376:3304)+(c[b+312+(a<<2)>>2]<<3)>>3];H=_(m<<2,S)|0;n=i;i=i+((1*H|0)+15&-16)|0;c[L>>2]=n;a=i;i=i+((1*H|0)+15&-16)|0;c[M>>2]=a;b=i;i=i+((1*H|0)+15&-16)|0;c[O>>2]=b;o=i;i=i+((1*H|0)+15&-16)|0;c[P>>2]=o;if((m|0)>1){c[L+4>>2]=n+(S<<2);c[M+4>>2]=a+(S<<2);c[O+4>>2]=b+(S<<2);c[P+4>>2]=o+(S<<2);if((m|0)!=2){n=2;do{D=c[M>>2]|0;E=c[O>>2]|0;F=c[P>>2]|0;G=_(n,S)|0;c[L+(n<<2)>>2]=(c[L>>2]|0)+(G<<2);c[M+(n<<2)>>2]=D+(G<<2);c[O+(n<<2)>>2]=E+(G<<2);c[P+(n<<2)>>2]=F+(G<<2);n=n+1|0}while((n|0)!=(m|0))}}n=c[e+1156>>2]|0;if((R|0)>0){F=c[P>>2]|0;G=0;do{E=R-G|0;E=(S|0)>(E|0)?E:S;mBb(Q|0,k|0,m<<2|0)|0;hBb(F|0,0,H|0)|0;if((m|0)>0){s=J-G|0;u=0;do{t=(c[j+(u<<2)>>2]|0)+(G<<2)|0;if(!(c[Q+(u<<2)>>2]|0)){if((E|0)>0){n=c[O+(u<<2)>>2]|0;a=c[L+(u<<2)>>2]|0;b=c[M+(u<<2)>>2]|0;o=c[P+(u<<2)>>2]|0;p=0;do{g[n+(p<<2)>>2]=1.000000013351432e-10;g[a+(p<<2)>>2]=0.0;g[b+(p<<2)>>2]=0.0;c[o+(p<<2)>>2]=0;c[t+(p<<2)>>2]=0;p=p+1|0}while((p|0)<(E|0))}}else{q=c[O+(u<<2)>>2]|0;if((E|0)>0){n=0;do{c[q+(n<<2)>>2]=c[98688+(c[t+(n<<2)>>2]<<2)>>2];n=n+1|0}while((n|0)<(E|0));n=f+(u<<2)|0;a=(c[n>>2]|0)+(G<<2)|0;b=c[P+(u<<2)>>2]|0;if((E|0)>0){o=0;do{r=+N(+(+g[a+(o<<2)>>2]));c[b+(o<<2)>>2]=!(r/+g[q+(o<<2)>>2]<((o|0)>=(s|0)?I:K))&1;o=o+1|0}while((o|0)!=(E|0));if((E|0)>0){b=c[n>>2]|0;a=c[L+(u<<2)>>2]|0;n=c[M+(u<<2)>>2]|0;p=0;do{D=b+(p+G<<2)|0;r=+g[D>>2];o=a+(p<<2)|0;g[o>>2]=r*r;g[n+(p<<2)>>2]=r*r;if(+g[D>>2]<0.0)g[o>>2]=-+g[o>>2];D=q+(p<<2)|0;r=+g[D>>2];g[D>>2]=r*r;p=p+1|0}while((p|0)<(E|0))}else T=21}else T=21}else T=21;if((T|0)==21){T=0;a=c[L+(u<<2)>>2]|0;n=c[M+(u<<2)>>2]|0}+e4a(c[d+4>>2]|0,J,a,n,q,0,G,E,t)}u=u+1|0}while((u|0)!=(m|0))}n=c[e+1156>>2]|0;if((n|0)>0){C=l-G|0;D=J-G|0;B=0;do{a=c[e+1160+(B<<2)>>2]|0;b=c[e+2184+(B<<2)>>2]|0;q=(c[j+(a<<2)>>2]|0)+(G<<2)|0;s=(c[j+(b<<2)>>2]|0)+(G<<2)|0;t=c[L+(a<<2)>>2]|0;u=c[L+(b<<2)>>2]|0;v=c[M+(a<<2)>>2]|0;w=c[M+(b<<2)>>2]|0;x=c[O+(a<<2)>>2]|0;y=c[O+(b<<2)>>2]|0;z=c[P+(a<<2)>>2]|0;A=c[P+(b<<2)>>2]|0;if(!(c[Q+(a<<2)>>2]|0)){if(c[Q+(b<<2)>>2]|0)T=31}else T=31;if((T|0)==31){T=0;c[Q+(b<<2)>>2]=1;c[Q+(a<<2)>>2]=1;if((E|0)>0){p=0;do{do if((p|0)<(C|0)){n=z+(p<<2)|0;b=A+(p<<2)|0;if(!(c[n>>2]|0))if(!(c[b>>2]|0)){do if((p|0)<(D|0)){n=u+(p<<2)|0;o=t+(p<<2)|0;r=+g[n>>2]+ +g[o>>2];g[o>>2]=r;g[v+(p<<2)>>2]=+N(+r)}else{a=t+(p<<2)|0;W=+g[a>>2];n=u+(p<<2)|0;V=+g[n>>2];r=+N(+W)+ +N(+V);g[v+(p<<2)>>2]=r;if(W+V<0.0){g[a>>2]=-r;break}else{g[a>>2]=r;break}}while(0);g[w+(p<<2)>>2]=0.0;g[n>>2]=0.0;c[b>>2]=1;c[s+(p<<2)>>2]=0;break}o=t+(p<<2)|0;W=+N(+(+g[o>>2]));g[o>>2]=W+ +N(+(+g[u+(p<<2)>>2]));o=v+(p<<2)|0;g[o>>2]=+g[o>>2]+ +g[w+(p<<2)>>2];c[b>>2]=1;c[n>>2]=1;b=q+(p<<2)|0;n=c[b>>2]|0;o=s+(p<<2)|0;a=c[o>>2]|0;if((((n|0)>-1?n:0-n|0)|0)>(((a|0)>-1?a:0-a|0)|0)){n=(n|0)>0?n-a|0:a-n|0;c[o>>2]=n;a=c[b>>2]|0}else{c[o>>2]=(a|0)>0?n-a|0:a-n|0;c[b>>2]=a;n=c[o>>2]|0}if((n|0)>=(((a|0)>-1?a:0-a|0)<<1|0)){c[o>>2]=0-n;c[b>>2]=0-(c[b>>2]|0)}}while(0);o=x+(p<<2)|0;b=y+(p<<2)|0;W=+g[o>>2]+ +g[b>>2];g[b>>2]=W;g[o>>2]=W;p=p+1|0}while((p|0)<(E|0))}+e4a(c[d+4>>2]|0,J,t,v,x,z,G,E,q);n=c[e+1156>>2]|0}B=B+1|0}while((B|0)<(n|0))}G=G+S|0}while((R|0)>(G|0))}if((n|0)>0)o=0;else{i=U;return}do{a=k+(c[e+1160+(o<<2)>>2]<<2)|0;b=e+2184+(o<<2)|0;if(!(c[a>>2]|0)){if(c[k+(c[b>>2]<<2)>>2]|0)T=52}else T=52;if((T|0)==52){T=0;c[a>>2]=1;c[k+(c[b>>2]<<2)>>2]=1;n=c[e+1156>>2]|0}o=o+1|0}while((o|0)<(n|0));i=U;return}function e4a(a,b,d,e,f,j,l,m,n){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;j=j|0;l=l|0;m=m|0;n=n|0;var o=0.0,p=0,q=0.0,r=0,s=0,t=0.0,u=0,v=0,w=0,x=0;w=i;v=i;i=i+((1*(m<<2)|0)+15&-16)|0;if(!(c[a+500>>2]|0))p=m;else p=(c[a+504>>2]|0)-l|0;r=(p|0)>(m|0)?m:p;a:do if((r|0)>0){if(!j){p=0;while(1){u=+g[d+(p<<2)>>2]<0.0;t=+Inb(+O(+(+g[e+(p<<2)>>2]/+g[f+(p<<2)>>2])));c[n+(p<<2)>>2]=~~(u?-t:t);p=p+1|0;if((p|0)>=(r|0))break a}}else p=0;do{do if(!(c[j+(p<<2)>>2]|0)){u=+g[d+(p<<2)>>2]<0.0;o=+Inb(+O(+(+g[e+(p<<2)>>2]/+g[f+(p<<2)>>2])));if(u){c[n+(p<<2)>>2]=~~-o;break}else{c[n+(p<<2)>>2]=~~o;break}}while(0);p=p+1|0}while((p|0)<(r|0))}else r=0;while(0);if((r|0)>=(m|0)){t=0.0;i=w;return +t}if(!j){o=0.0;p=0;u=r;do{r=e+(u<<2)|0;s=f+(u<<2)|0;q=+g[r>>2]/+g[s>>2];if(q<.25){c[v+(p<<2)>>2]=r;o=o+q;p=p+1|0}else{b=+g[d+(u<<2)>>2]<0.0;t=+Inb(+O(+q));b=~~(b?-t:t);c[n+(u<<2)>>2]=b;t=+(_(b,b)|0);g[r>>2]=+g[s>>2]*t}u=u+1|0}while((u|0)!=(m|0));u=p}else{o=0.0;u=0;do{do if(!(c[j+(r<<2)>>2]|0)){p=e+(r<<2)|0;s=f+(r<<2)|0;q=+g[p>>2]/+g[s>>2];if(!(q<.25)|(r|0)<(b-l|0)){x=+g[d+(r<<2)>>2]<0.0;t=+Inb(+O(+q));x=~~(x?-t:t);c[n+(r<<2)>>2]=x;t=+(_(x,x)|0);g[p>>2]=+g[s>>2]*t;break}else{c[v+(u<<2)>>2]=p;o=o+q;u=u+1|0;break}}while(0);r=r+1|0}while((r|0)!=(m|0))}if(!u){t=o;i=w;return +t}cnb(v,u,4,369);if((u|0)<=0){t=o;i=w;return +t}t=+h[a+512>>3];s=0;do{r=c[v+(s<<2)>>2]|0;if(!(o>=t)){p=0;q=0.0}else{o=o+-1.0;p=~~(c[k>>2]=c[d+(r-e>>2<<2)>>2]&-2147483648|1065353216,+g[k>>2]);q=+g[f+(r-e>>2<<2)>>2]}c[n+(r-e>>2<<2)>>2]=p;g[r>>2]=q;s=s+1|0}while((s|0)!=(u|0));i=w;return +o}function f4a(a,b){a=a|0;b=b|0;var d=0.0,e=0.0;e=+g[c[a>>2]>>2];d=+g[c[b>>2]>>2];return (ed&1)|0}function g4a(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;h=Xpb(1,2840)|0;g=c[a+28>>2]|0;c[h>>2]=O5a(b,24)|0;c[h+4>>2]=O5a(b,24)|0;c[h+8>>2]=(O5a(b,24)|0)+1;a=O5a(b,6)|0;c[h+12>>2]=a+1;f=O5a(b,8)|0;c[h+20>>2]=f;a:do if((f|0)<0)i=25;else{if((a|0)>-1){e=0;f=0;do{a=O5a(b,3)|0;d=O5a(b,1)|0;if((d|0)<0){i=25;break a}if(d){d=O5a(b,5)|0;if(!(d>>31&2))a=((d|0)<0?0:d<<3)|a;else{i=25;break a}}c[h+24+(f<<2)>>2]=a;if(!a)a=0;else{d=0;do{d=(a&1)+d|0;a=a>>>1}while((a|0)!=0);a=d}e=a+e|0;f=f+1|0}while((f|0)<(c[h+12>>2]|0));if((e|0)>0){d=0;while(1){a=O5a(b,8)|0;if((a|0)<0)break a;c[h+280+(d<<2)>>2]=a;d=d+1|0;if((d|0)>=(e|0)){a=(e|0)>0;break}}}else a=0}else{a=0;e=0}f=c[h+20>>2]|0;b=c[g+24>>2]|0;if((f|0)<(b|0)){if(a){d=0;do{a=c[h+280+(d<<2)>>2]|0;if((a|0)>=(b|0))break a;d=d+1|0;if(!(c[(c[g+1824+(a<<2)>>2]|0)+12>>2]|0))break a}while((d|0)<(e|0))}a=c[g+1824+(f<<2)>>2]|0;e=c[a+4>>2]|0;a=c[a>>2]|0;if((a|0)>=1){f=c[h+12>>2]|0;d=1;while(1){d=_(f,d)|0;if((d|0)>(e|0))break a;if((a|0)>1)a=a+-1|0;else break}c[h+16>>2]=d;i=h;return i|0}}}while(0);if((i|0)==25)if(!h){i=0;return i|0}Wpb(h);i=0;return i|0}function h4a(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;n=Xpb(1,44)|0;j=c[(c[a+4>>2]|0)+28>>2]|0;c[n>>2]=b;k=c[b+12>>2]|0;c[n+4>>2]=k;m=c[j+2848>>2]|0;c[n+12>>2]=m;m=m+((c[b+20>>2]|0)*56|0)|0;c[n+16>>2]=m;m=c[m>>2]|0;i=Xpb(k,4)|0;c[n+20>>2]=i;if((k|0)>0){a=0;l=0;f=0;do{d=b+24+(l<<2)|0;h=u3a(c[d>>2]|0)|0;if(h){f=(h|0)>(f|0)?h:f;c[i+(l<<2)>>2]=Xpb(h,4)|0;if((h|0)>0){e=c[d>>2]|0;g=i+(l<<2)|0;d=0;do{if(e&1<>2]|0)+(d<<2)>>2]=(c[j+2848>>2]|0)+((c[b+280+(a<<2)>>2]|0)*56|0);a=a+1|0}d=d+1|0}while((d|0)!=(h|0))}}l=l+1|0}while((l|0)<(k|0))}else f=0;c[n+24>>2]=1;if((m|0)>0){d=c[n+4>>2]|0;a=1;e=0;do{a=_(a,d)|0;e=e+1|0}while((e|0)!=(m|0));c[n+24>>2]=a;k=a}else k=1;c[n+8>>2]=f;j=Vpb(k<<2)|0;c[n+28>>2]=j;if((k|0)<=0)return n|0;if((m|0)<=0){a=0;do{c[j+(a<<2)>>2]=Vpb(m<<2)|0;a=a+1|0}while((a|0)<(k|0));return n|0}d=c[n+4>>2]|0;e=c[n+28>>2]|0;g=0;do{c[j+(g<<2)>>2]=Vpb(m<<2)|0;f=c[e+(g<<2)>>2]|0;a=k;h=0;i=g;do{a=(a|0)/(d|0)|0;b=(i|0)/(a|0)|0;i=i-(_(b,a)|0)|0;c[f+(h<<2)>>2]=b;h=h+1|0}while((h|0)!=(m|0));g=g+1|0}while((g|0)<(k|0));return n|0}function i4a(a){a=a|0;if(a|0)Wpb(a);return}function j4a(a){a=a|0;var b=0,d=0,e=0;if(!a)return;b=c[a+4>>2]|0;if((b|0)>0){e=0;do{d=c[(c[a+20>>2]|0)+(e<<2)>>2]|0;if(d){Wpb(d);b=c[a+4>>2]|0}e=e+1|0}while((e|0)<(b|0))}Wpb(c[a+20>>2]|0);if((c[a+24>>2]|0)>0){b=0;do{Wpb(c[(c[a+28>>2]|0)+(b<<2)>>2]|0);b=b+1|0}while((b|0)<(c[a+24>>2]|0))}Wpb(c[a+28>>2]|0);Wpb(a);return}function k4a(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;if((f|0)>0){h=0;g=0}else return 0;do{if(c[e+(h<<2)>>2]|0){c[d+(g<<2)>>2]=c[d+(h<<2)>>2];g=g+1|0}h=h+1|0}while((h|0)!=(f|0));if(!g)return 0;m4a(a,b,d,g,90);return 0}function l4a(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0,j=0,k=0,l=0,m=0;m=i;if((c[a+8>>2]|0)<=0){e=0;i=m;return e|0}k=c[a>>2]|0;l=i;i=i+((1*(((e|0)/(k|0)|0)<<2)|0)+15&-16)|0;a:do if(((e|0)/(k|0)|0|0)>0){j=0;while(1){h=x3a(a,d)|0;if((h|0)==-1){f=-1;break}f=c[a>>2]|0;c[l+(j<<2)>>2]=(c[a+16>>2]|0)+((_(f,h)|0)<<2);j=j+1|0;if((j|0)>=((e|0)/(k|0)|0|0))break a}i=m;return f|0}else f=k;while(0);if((f|0)<1|((e|0)/(k|0)|0|0)>0^1){e=0;i=m;return e|0}else{h=0;a=0}while(1){d=0;do{j=b+(d+a<<2)|0;g[j>>2]=+g[(c[l+(d<<2)>>2]|0)+(h<<2)>>2]+ +g[j>>2];d=d+1|0}while((d|0)!=((e|0)/(k|0)|0|0));h=h+1|0;if((h|0)>=(f|0)){f=0;break}else a=a+((e|0)/(k|0)|0)|0}i=m;return f|0}function m4a(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=i;r=c[b>>2]|0;u=c[r+8>>2]|0;v=c[c[b+16>>2]>>2]|0;s=c[a+36>>2]>>1;t=c[r+4>>2]|0;s=((t|0)<(s|0)?t:s)-(c[r>>2]|0)|0;if((s|0)<=0){i=w;return}t=i;i=i+((1*(e<<2)|0)+15&-16)|0;if((e|0)>0){g=0;do{c[t+(g<<2)>>2]=v3a(a,((v+-1+((s|0)/(u|0)|0)|0)/(v|0)|0)<<2)|0;g=g+1|0}while((g|0)!=(e|0))}g=c[b+8>>2]|0;if((g|0)<=0){i=w;return}q=0;a:while(1){if(((s|0)/(u|0)|0|0)>0){n=1<>2]|0,a+4|0)|0;if((h|0)==-1){g=26;break a}if((h|0)>=(c[r+16>>2]|0)){g=26;break a}m=c[(c[b+28>>2]|0)+(h<<2)>>2]|0;c[(c[t+(j<<2)>>2]|0)+(p<<2)>>2]=m;j=j+1|0;if(!m){g=26;break a}}while((j|0)<(e|0))}do if((v|0)>0?(g|0)<((s|0)/(u|0)|0|0):0){if((e|0)>0)m=0;else{m=g-((s|0)/(u|0)|0)|0;g=g-(m>>>0<(0-v|0)>>>0?0-v|0:m)|0;break}do{k=_(g,u)|0;l=0;do{j=(c[r>>2]|0)+k|0;h=c[(c[(c[t+(l<<2)>>2]|0)+(p<<2)>>2]|0)+(m<<2)>>2]|0;if(c[r+24+(h<<2)>>2]&n|0){h=c[(c[(c[b+20>>2]|0)+(h<<2)>>2]|0)+(q<<2)>>2]|0;if(h|0)if((cj[f&127](h,(c[d+(l<<2)>>2]|0)+(j<<2)|0,a+4|0,u)|0)==-1){g=26;break a}}l=l+1|0}while((l|0)<(e|0));m=m+1|0;g=g+1|0}while((m|0)<(v|0)?(g|0)<((s|0)/(u|0)|0|0):0)}while(0);if((g|0)<((s|0)/(u|0)|0|0))p=p+1|0;else break}g=c[b+8>>2]|0}q=q+1|0;if((q|0)>=(g|0)){g=26;break}}if((g|0)==26){i=w;return}}function n4a(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;J5a(b,c[a>>2]|0,24);J5a(b,c[a+4>>2]|0,24);J5a(b,(c[a+8>>2]|0)+-1|0,24);J5a(b,(c[a+12>>2]|0)+-1|0,6);J5a(b,c[a+20>>2]|0,8);if((c[a+12>>2]|0)<=0)return;e=0;g=0;do{d=a+24+(g<<2)|0;h=(u3a(c[d>>2]|0)|0)>3;f=c[d>>2]|0;if(h){J5a(b,f,3);J5a(b,1,1);J5a(b,c[d>>2]>>3,5)}else J5a(b,f,4);d=c[d>>2]|0;if(!d)d=0;else{f=0;do{f=(d&1)+f|0;d=d>>>1}while((d|0)!=0);d=f}e=d+e|0;g=g+1|0}while((g|0)<(c[a+12>>2]|0));if((e|0)<=0)return;d=0;do{J5a(b,c[a+280+(d<<2)>>2]|0,8);d=d+1|0}while((d|0)!=(e|0));return}function o4a(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;if((f|0)>0){h=0;g=0}else{b=0;return b|0}do{if(c[e+(h<<2)>>2]|0){c[d+(g<<2)>>2]=c[d+(h<<2)>>2];g=g+1|0}h=h+1|0}while((h|0)!=(f|0));if(!g){b=0;return b|0}m=c[b>>2]|0;n=c[m+8>>2]|0;o=c[m+12>>2]|0;p=((c[m+4>>2]|0)-(c[m>>2]|0)|0)/(n|0)|0;q=v3a(a,g<<2)|0;if((g|0)>0){f=0;do{l=v3a(a,p<<2)|0;c[q+(f<<2)>>2]=l;hBb(l|0,0,p<<2|0)|0;f=f+1|0}while((f|0)!=(g|0))}if((p|0)>0){l=0;do{j=_(l,n)|0;j=(c[m>>2]|0)+j|0;a:do if((g|0)>0){if((n|0)<=0){if((o|0)>1)h=0;else{f=0;while(1){c[(c[q+(f<<2)>>2]|0)+(l<<2)>>2]=0;f=f+1|0;if((f|0)==(g|0))break a}}while(1){f=0;do{if((c[m+2328+(f<<2)>>2]|0)>=0){k=c[m+2584+(f<<2)>>2]|0;if((k|0)<0?1:(~~(100.0/+(n|0)*0.0)|0)<(k|0))break}f=f+1|0}while((f|0)<(o+-1|0));c[(c[q+(h<<2)>>2]|0)+(l<<2)>>2]=f;h=h+1|0;if((h|0)==(g|0))break a}}if((o|0)>1)k=0;else{f=0;while(1){c[(c[q+(f<<2)>>2]|0)+(l<<2)>>2]=0;f=f+1|0;if((f|0)==(g|0))break a}}do{e=c[d+(k<<2)>>2]|0;h=0;a=0;f=0;while(1){r=c[e+(j+a<<2)>>2]|0;r=(r|0)>-1?r:0-r|0;i=(r|0)>(f|0)?r:f;h=r+h|0;a=a+1|0;if((a|0)==(n|0))break;else f=i}f=0;do{if((i|0)<=(c[m+2328+(f<<2)>>2]|0)){r=c[m+2584+(f<<2)>>2]|0;if((r|0)<0?1:(~~(100.0/+(n|0)*+(h|0))|0)<(r|0))break}f=f+1|0}while((f|0)<(o+-1|0));c[(c[q+(k<<2)>>2]|0)+(l<<2)>>2]=f;k=k+1|0}while((k|0)!=(g|0))}while(0);l=l+1|0}while((l|0)!=(p|0))}c[b+40>>2]=(c[b+40>>2]|0)+1;r=q;return r|0}function p4a(a,b,d,e,f,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;if((g|0)>0){b=0;i=0}else return 0;do{if(c[f+(b<<2)>>2]|0){c[e+(i<<2)>>2]=c[e+(b<<2)>>2];i=i+1|0}b=b+1|0}while((b|0)!=(g|0));if(!i)return 0;q4a(a,d,e,i,h);return 0}function q4a(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0;N=i;i=i+1088|0;I=c[d>>2]|0;K=c[I+8>>2]|0;L=c[I+12>>2]|0;M=c[c[d+16>>2]>>2]|0;J=((c[I+4>>2]|0)-(c[I>>2]|0)|0)/(K|0)|0;hBb(N+512|0,0,512)|0;hBb(N|0,0,512)|0;h=c[d+8>>2]|0;if((h|0)<=0){i=N;return}H=0;do{if((J|0)>0){F=(H|0)==0;G=1<1)n=0;else{l=0;while(1){j=c[(c[g+(l<<2)>>2]|0)+(h<<2)>>2]|0;k=c[d+16>>2]|0;if((j|0)<(c[k+4>>2]|0)){E=c4a(k,j,b)|0;c[d+36>>2]=(c[d+36>>2]|0)+E}l=l+1|0;if((l|0)==(f|0))break a}}do{l=c[g+(n<<2)>>2]|0;m=1;k=c[l+(h<<2)>>2]|0;do{k=_(k,L)|0;j=m+h|0;if((j|0)<(J|0))k=(c[l+(j<<2)>>2]|0)+k|0;m=m+1|0}while((m|0)!=(M|0));j=c[d+16>>2]|0;if((k|0)<(c[j+4>>2]|0)){E=c4a(j,k,b)|0;c[d+36>>2]=(c[d+36>>2]|0)+E}n=n+1|0}while((n|0)!=(f|0))}while(0);if((M|0)>0&(h|0)<(J|0)){E=0;do{C=_(h,K)|0;C=(c[I>>2]|0)+C|0;if((f|0)>0){D=0;do{B=g+(D<<2)|0;k=c[B>>2]|0;j=c[k+(h<<2)>>2]|0;if(F)c[N+(j<<2)>>2]=(c[N+(j<<2)>>2]|0)+K;if(c[I+24+(j<<2)>>2]&G|0){y=c[(c[(c[d+20>>2]|0)+(j<<2)>>2]|0)+(H<<2)>>2]|0;if(y|0){z=(c[e+(D<<2)>>2]|0)+(C<<2)|0;A=c[y>>2]|0;if(((K|0)/(A|0)|0|0)>0){x=A;j=0;k=0;while(1){l=z+((_(k,A)|0)<<2)|0;r=c[y+48>>2]|0;v=c[y+52>>2]|0;s=c[y+44>>2]|0;c[N+1056>>2]=0;c[N+1056+4>>2]=0;c[N+1056+8>>2]=0;c[N+1056+12>>2]=0;c[N+1056+16>>2]=0;c[N+1056+20>>2]=0;c[N+1056+24>>2]=0;c[N+1056+28>>2]=0;w=(x|0)>0;do if((v|0)==1){if(!w){m=0;break}mBb(N+1056|0,l|0,x<<2|0)|0;o=0;m=0;p=x;do{p=p+-1|0;n=(c[l+(p<<2)>>2]|0)-r|0;if((n|0)<(s>>1|0))n=((s>>1)-n<<1)+-1|0;else n=n-(s>>1)<<1;m=_(m,s)|0;m=((n|0)<0?0:(n|0)>=(s|0)?s+-1|0:n)+m|0;o=o+1|0}while((o|0)!=(x|0))}else{if(!w){m=0;break}p=0;m=0;q=x;do{q=q+-1|0;o=((v>>1)-r+(c[l+(q<<2)>>2]|0)|0)/(v|0)|0;if((o|0)<(s>>1|0))n=((s>>1)-o<<1)+-1|0;else n=o-(s>>1)<<1;m=_(m,s)|0;m=((n|0)<0?0:(n|0)>=(s|0)?s+-1|0:n)+m|0;c[N+1056+(q<<2)>>2]=(_(o,v)|0)+r;p=p+1|0}while((p|0)!=(x|0))}while(0);u=c[(c[y+12>>2]|0)+8>>2]|0;if((a[u+m>>0]|0)<1){c[N+1024>>2]=0;c[N+1024+4>>2]=0;c[N+1024+8>>2]=0;c[N+1024+12>>2]=0;c[N+1024+16>>2]=0;c[N+1024+20>>2]=0;c[N+1024+24>>2]=0;c[N+1024+28>>2]=0;s=(_(s+-1|0,v)|0)+r|0;t=c[y+4>>2]|0;b:do if((t|0)>0){if(w){p=-1;r=0}else{n=-1;r=0;while(1){do if((a[u+r>>0]|0)>0){if(!((n|0)==-1|(n|0)>0)){q=n;break};c[N+1056>>2]=c[N+1024>>2];c[N+1056+4>>2]=c[N+1024+4>>2];c[N+1056+8>>2]=c[N+1024+8>>2];c[N+1056+12>>2]=c[N+1024+12>>2];c[N+1056+16>>2]=c[N+1024+16>>2];c[N+1056+20>>2]=c[N+1024+20>>2];c[N+1056+24>>2]=c[N+1024+24>>2];c[N+1056+28>>2]=c[N+1024+28>>2];q=0;m=r}else q=n;while(0);n=c[N+1024>>2]|0;if((n|0)<(s|0))o=N+1024|0;else{n=N+1024|0;p=0;while(1){p=p+1|0;c[n>>2]=0;o=N+1024+(p<<2)|0;n=c[o>>2]|0;if((n|0)<(s|0))break;else n=o}}if((n|0)>-1){n=n+v|0;c[o>>2]=n}c[o>>2]=0-n;r=r+1|0;if((r|0)==(t|0))break b;else n=q}}while(1){do if((a[u+r>>0]|0)>0){o=0;n=0;do{q=(c[N+1024+(o<<2)>>2]|0)-(c[l+(o<<2)>>2]|0)|0;n=(_(q,q)|0)+n|0;o=o+1|0}while((o|0)!=(x|0));if(!((p|0)==-1|(n|0)<(p|0))){q=p;break};c[N+1056>>2]=c[N+1024>>2];c[N+1056+4>>2]=c[N+1024+4>>2];c[N+1056+8>>2]=c[N+1024+8>>2];c[N+1056+12>>2]=c[N+1024+12>>2];c[N+1056+16>>2]=c[N+1024+16>>2];c[N+1056+20>>2]=c[N+1024+20>>2];c[N+1056+24>>2]=c[N+1024+24>>2];c[N+1056+28>>2]=c[N+1024+28>>2];q=n;m=r}else q=p;while(0);n=c[N+1024>>2]|0;if((n|0)<(s|0))o=N+1024|0;else{n=N+1024|0;p=0;while(1){p=p+1|0;c[n>>2]=0;o=N+1024+(p<<2)|0;n=c[o>>2]|0;if((n|0)<(s|0))break;else n=o}}if((n|0)>-1){n=n+v|0;c[o>>2]=n}c[o>>2]=0-n;r=r+1|0;if((r|0)==(t|0))break;else p=q}}while(0);n=m}else n=m;if(w&(n|0)>-1){m=0;while(1){c[l>>2]=(c[l>>2]|0)-(c[N+1056+(m<<2)>>2]|0);m=m+1|0;if((m|0)==(x|0))break;else l=l+4|0}}j=(c4a(y,n,b)|0)+j|0;k=k+1|0;if((k|0)==((K|0)/(A|0)|0|0))break;x=c[y>>2]|0}k=c[B>>2]|0}else j=0;c[d+32>>2]=(c[d+32>>2]|0)+j;B=N+512+(c[k+(h<<2)>>2]<<2)|0;c[B>>2]=(c[B>>2]|0)+j}}D=D+1|0}while((D|0)!=(f|0))}E=E+1|0;h=h+1|0}while((E|0)<(M|0)&(h|0)<(J|0))}}while((h|0)<(J|0));h=c[d+8>>2]|0}H=H+1|0}while((H|0)<(h|0));i=N;return}function r4a(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;if((f|0)>0){h=0;g=0}else return 0;do{if(c[e+(h<<2)>>2]|0){c[d+(g<<2)>>2]=c[d+(h<<2)>>2];g=g+1|0}h=h+1|0}while((h|0)!=(f|0));if(!g)return 0;m4a(a,b,d,g,91);return 0}function s4a(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;if((c[a+8>>2]|0)<=0){e=0;return e|0}if((c[a>>2]|0)>8){if((e|0)<=0){e=0;return e|0}f=0;while(1){h=x3a(a,d)|0;if((h|0)==-1){f=-1;j=28;break}k=c[a>>2]|0;j=(c[a+16>>2]|0)+((_(k,h)|0)<<2)|0;if((k|0)>0){h=f;i=0;while(1){f=h+1|0;h=b+(h<<2)|0;g[h>>2]=+g[j+(i<<2)>>2]+ +g[h>>2];i=i+1|0;if((i|0)>=(k|0))break;else h=f}}if((f|0)>=(e|0)){f=0;j=28;break}}if((j|0)==28)return f|0}if((e|0)>0)i=0;else{e=0;return e|0}a:while(1){b:while(1){f=x3a(a,d)|0;if((f|0)==-1){f=-1;j=28;break a}h=c[a+16>>2]|0;switch(c[a>>2]|0){case 8:{j=20;break b}case 7:{j=21;break b}case 6:{j=22;break b}case 5:{j=23;break b}case 4:{j=24;break b}case 3:{j=25;break b}case 2:{j=26;break b}case 1:{j=27;break b}default:{}}}if((j|0)==20){l=b+(i<<2)|0;g[l>>2]=+g[h+(f<<3<<2)>>2]+ +g[l>>2];l=h+(f<<3<<2)|0;s=i+1|0;z=1;j=10}else if((j|0)==21){l=h+(f*7<<2)|0;s=i;z=0;j=10}else if((j|0)==22){m=h+(f*6<<2)|0;t=i;A=0;j=11}else if((j|0)==23){n=h+(f*5<<2)|0;u=i;B=0;j=12}else if((j|0)==24){o=h+(f<<2<<2)|0;v=i;C=0;j=13}else if((j|0)==25){p=h+(f*3<<2)|0;w=i;D=0;j=14}else if((j|0)==26){q=h+(f<<1<<2)|0;x=i;E=0;j=15}else if((j|0)==27){j=0;r=h+(f<<2)|0;y=i;F=0}if((j|0)==10){m=b+(s<<2)|0;g[m>>2]=+g[l+(z<<2)>>2]+ +g[m>>2];m=l;t=s+1|0;A=z+1|0;j=11}if((j|0)==11){n=b+(t<<2)|0;g[n>>2]=+g[m+(A<<2)>>2]+ +g[n>>2];n=m;u=t+1|0;B=A+1|0;j=12}if((j|0)==12){o=b+(u<<2)|0;g[o>>2]=+g[n+(B<<2)>>2]+ +g[o>>2];o=n;v=u+1|0;C=B+1|0;j=13}if((j|0)==13){p=b+(v<<2)|0;g[p>>2]=+g[o+(C<<2)>>2]+ +g[p>>2];p=o;w=v+1|0;D=C+1|0;j=14}if((j|0)==14){q=b+(w<<2)|0;g[q>>2]=+g[p+(D<<2)>>2]+ +g[q>>2];q=p;x=w+1|0;E=D+1|0;j=15}if((j|0)==15){r=b+(x<<2)|0;g[r>>2]=+g[q+(E<<2)>>2]+ +g[r>>2];r=q;y=x+1|0;F=E+1|0}i=y+1|0;k=b+(y<<2)|0;g[k>>2]=+g[r+(F<<2)>>2]+ +g[k>>2];if((i|0)>=(e|0)){f=0;j=28;break}}if((j|0)==28)return f|0;return 0}function t4a(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;if((f|0)>0){h=0;g=0}else{b=0;return b|0}do{g=((c[e+(h<<2)>>2]|0)!=0&1)+g|0;h=h+1|0}while((h|0)!=(f|0));if(!g){b=0;return b|0}s=c[b>>2]|0;n=c[s+8>>2]|0;p=c[s+12>>2]|0;q=((c[s+4>>2]|0)-(c[s>>2]|0)|0)/(n|0)|0;r=v3a(a,4)|0;o=v3a(a,q<<2)|0;c[r>>2]=o;hBb(o|0,0,q<<2|0)|0;a:do if((q|0)>0){o=c[r>>2]|0;if((n|0)<=0){if((p|0)>1)h=0;else{hBb(o|0,0,q<<2|0)|0;break}while(1){g=0;do{if((c[s+2328+(g<<2)>>2]|0)>=0)if((c[s+2584+(g<<2)>>2]|0)>=0)break;g=g+1|0}while((g|0)<(p+-1|0));c[o+(h<<2)>>2]=g;h=h+1|0;if((h|0)==(q|0))break a}}h=(c[s>>2]|0)/(f|0)|0;if((f|0)>1)g=0;else{g=0;while(1){i=c[d>>2]|0;j=0;e=0;while(1){a=c[i+(h<<2)>>2]|0;a=(a|0)>-1?a:0-a|0;a=(a|0)>(e|0)?a:e;h=h+1|0;j=j+f|0;if((j|0)>=(n|0))break;else e=a}b:do if((p|0)>1){e=0;do{if((a|0)<=(c[s+2328+(e<<2)>>2]|0))if((c[s+2584+(e<<2)>>2]|0)>=0)break b;e=e+1|0}while((e|0)<(p+-1|0))}else e=0;while(0);c[o+(g<<2)>>2]=e;g=g+1|0;if((g|0)==(q|0))break a}}do{l=c[d>>2]|0;e=0;m=0;j=0;while(1){i=c[l+(h<<2)>>2]|0;i=(i|0)>-1?i:0-i|0;a=1;while(1){k=c[(c[d+(a<<2)>>2]|0)+(h<<2)>>2]|0;k=(k|0)>-1?k:0-k|0;k=(k|0)>(e|0)?k:e;a=a+1|0;if((a|0)==(f|0))break;else e=k}a=(i|0)>(j|0)?i:j;h=h+1|0;m=m+f|0;if((m|0)>=(n|0))break;else{e=k;j=a}}c:do if((p|0)>1){e=0;do{if((a|0)<=(c[s+2328+(e<<2)>>2]|0))if((k|0)<=(c[s+2584+(e<<2)>>2]|0))break c;e=e+1|0}while((e|0)<(p+-1|0))}else e=0;while(0);c[o+(g<<2)>>2]=e;g=g+1|0}while((g|0)!=(q|0))}while(0);c[b+40>>2]=(c[b+40>>2]|0)+1;b=r;return b|0}function u4a(a,b,d,e,f,g,h,j){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+16|0;p=c[b+36>>2]|0;n=v3a(b,_(g<<2,(p|0)/2|0)|0)|0;c[q>>2]=n;if((g|0)<=0){i=q;return 0}if((p|0)>1){o=0;j=0;do{k=c[e+(o<<2)>>2]|0;b=(c[f+(o<<2)>>2]|0)!=0&1;l=0;m=o;while(1){c[n+(m<<2)>>2]=c[k+(l<<2)>>2];l=l+1|0;if((l|0)>=((p|0)/2|0|0))break;else m=m+g|0}j=b+j|0;o=o+1|0}while((o|0)!=(g|0))}else{b=0;j=0;do{j=((c[f+(b<<2)>>2]|0)!=0&1)+j|0;b=b+1|0}while((b|0)!=(g|0))}if(!j){i=q;return 0}q4a(a,d,q,1,h);i=q;return 0}function v4a(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;m=c[b>>2]|0;o=c[m+8>>2]|0;q=c[c[b+16>>2]>>2]|0;n=(_(c[a+36>>2]|0,f)|0)>>1;p=c[m+4>>2]|0;n=((p|0)<(n|0)?p:n)-(c[m>>2]|0)|0;if((n|0)<=0)return 0;p=v3a(a,((q+-1+((n|0)/(o|0)|0)|0)/(q|0)|0)<<2)|0;a:do if((f|0)>0){g=0;do{if(c[e+(g<<2)>>2]|0)break a;g=g+1|0}while((g|0)<(f|0))}else g=0;while(0);if((g|0)==(f|0))return 0;if((c[b+8>>2]|0)<=0)return 0;l=0;b:while(1){c:do if(((n|0)/(o|0)|0|0)>0){k=1<0?(g|0)<((n|0)/(o|0)|0|0):0){i=p+(j<<2)|0;h=0;do{e=c[(c[i>>2]|0)+(h<<2)>>2]|0;if(c[m+24+(e<<2)>>2]&k|0){e=c[(c[(c[b+20>>2]|0)+(e<<2)>>2]|0)+(l<<2)>>2]|0;if(e|0){r=_(g,o)|0;if((w4a(e,d,(c[m>>2]|0)+r|0,f,a+4|0,o)|0)==-1){g=28;break b}}}h=h+1|0;g=g+1|0}while((h|0)<(q|0)?(g|0)<((n|0)/(o|0)|0|0):0)}if((g|0)<((n|0)/(o|0)|0|0))j=j+1|0;else break c}}while(1){e=H3a(c[b+16>>2]|0,a+4|0)|0;if((e|0)==-1){g=28;break b}if((e|0)>=(c[m+16>>2]|0)){g=28;break b}e=c[(c[b+28>>2]|0)+(e<<2)>>2]|0;i=p+(j<<2)|0;c[i>>2]=e;if(!e){g=28;break b}d:do if((q|0)>0?(g|0)<((n|0)/(o|0)|0|0):0){h=0;while(1){e=c[e+(h<<2)>>2]|0;if(c[m+24+(e<<2)>>2]&k|0){e=c[c[(c[b+20>>2]|0)+(e<<2)>>2]>>2]|0;if(e|0){r=_(g,o)|0;if((w4a(e,d,(c[m>>2]|0)+r|0,f,a+4|0,o)|0)==-1){g=28;break b}}}h=h+1|0;g=g+1|0;if(!((h|0)<(q|0)?(g|0)<((n|0)/(o|0)|0|0):0))break d;e=c[i>>2]|0}}while(0);if((g|0)<((n|0)/(o|0)|0|0))j=j+1|0;else break}}while(0);l=l+1|0;if((l|0)>=(c[b+8>>2]|0)){g=28;break}}if((g|0)==28)return 0;return 0}function w4a(a,b,d,e,f,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0;if((c[a+8>>2]|0)<=0){d=0;return d|0}if(((d|0)/(e|0)|0|0)>=((h+d|0)/(e|0)|0|0)){d=0;return d|0}k=0;i=(d|0)/(e|0)|0;while(1){j=x3a(a,f)|0;if((j|0)==-1){i=-1;j=8;break}m=c[a>>2]|0;l=(c[a+16>>2]|0)+((_(m,j)|0)<<2)|0;if((m|0)>0){j=k;k=0;do{n=j+1|0;j=(c[b+(j<<2)>>2]|0)+(i<<2)|0;g[j>>2]=+g[l+(k<<2)>>2]+ +g[j>>2];i=((n|0)==(e|0)&1)+i|0;j=(n|0)==(e|0)?0:n;k=k+1|0}while((k|0)<(m|0))}else j=k;if((i|0)<((h+d|0)/(e|0)|0|0))k=j;else{i=0;j=8;break}}if((j|0)==8)return i|0;return 0}function x4a(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0,j=0,k=0.0,l=0.0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;u=c[a+64>>2]|0;t=c[u+4>>2]|0;s=c[t+28>>2]|0;u=c[u+104>>2]|0;q=c[s+(c[a+28>>2]<<2)>>2]|0;c[a+36>>2]=q;d=c[t+4>>2]|0;n=i;i=i+((1*(d<<2)|0)+15&-16)|0;o=i;i=i+((1*(d<<2)|0)+15&-16)|0;p=i;i=i+((1*(d<<2)|0)+15&-16)|0;r=i;i=i+((1*(d<<2)|0)+15&-16)|0;if((d|0)>0){e=0;do{d=c[b+1028+(c[b+4+(e<<2)>>2]<<2)>>2]|0;d=Xi[c[(c[99820+(c[s+800+(d<<2)>>2]<<2)>>2]|0)+20>>2]&511](a,c[(c[u+48>>2]|0)+(d<<2)>>2]|0)|0;c[r+(e<<2)>>2]=d;c[p+(e<<2)>>2]=(d|0)!=0&1;hBb(c[(c[a>>2]|0)+(e<<2)>>2]|0,0,q<<1&2147483646|0)|0;e=e+1|0;d=c[t+4>>2]|0}while((e|0)<(d|0));e=d}else e=d;d=c[b+1156>>2]|0;if((d|0)>0){j=0;do{f=p+(c[b+1160+(j<<2)>>2]<<2)|0;h=c[b+2184+(j<<2)>>2]|0;if(!(c[f>>2]|0)){if(c[p+(h<<2)>>2]|0)m=10}else m=10;if((m|0)==10){m=0;c[f>>2]=1;c[p+(h<<2)>>2]=1}j=j+1|0}while((j|0)<(d|0))}if((c[b>>2]|0)>0){d=0;while(1){if((e|0)>0){f=e;e=0;h=0;do{if((c[b+4+(h<<2)>>2]|0)==(d|0)){c[o+(e<<2)>>2]=(c[p+(h<<2)>>2]|0)!=0&1;c[n+(e<<2)>>2]=c[(c[a>>2]|0)+(h<<2)>>2];f=c[t+4>>2]|0;e=e+1|0}h=h+1|0}while((h|0)<(f|0))}else e=0;m=c[b+1092+(d<<2)>>2]|0;Ci[c[(c[99712+(c[s+1312+(m<<2)>>2]<<2)>>2]|0)+28>>2]&127](a,c[(c[u+52>>2]|0)+(m<<2)>>2]|0,n,o,e)|0;d=d+1|0;if((d|0)>=(c[b>>2]|0))break;e=c[t+4>>2]|0}d=c[b+1156>>2]|0}if((d|0)>0){o=c[a>>2]|0;if((q|0)>1)do{m=d;d=d+-1|0;e=c[o+(c[b+1160+(d<<2)>>2]<<2)>>2]|0;f=c[o+(c[b+2184+(d<<2)>>2]<<2)>>2]|0;n=0;do{h=e+(n<<2)|0;k=+g[h>>2];j=f+(n<<2)|0;l=+g[j>>2];do if(k>0.0)if(l>0.0){g[j>>2]=k-l;break}else{g[j>>2]=k;g[h>>2]=k+l;break}else if(l>0.0){g[j>>2]=k+l;break}else{g[j>>2]=k;g[h>>2]=k-l;break}while(0);n=n+1|0}while((n|0)<((q|0)/2|0|0))}while((m|0)>1)}if((c[t+4>>2]|0)<=0){i=v;return 0}e=0;do{d=c[b+1028+(c[b+4+(e<<2)>>2]<<2)>>2]|0;cj[c[(c[99820+(c[s+800+(d<<2)>>2]<<2)>>2]|0)+24>>2]&127](a,c[(c[u+48>>2]|0)+(d<<2)>>2]|0,c[r+(e<<2)>>2]|0,c[(c[a>>2]|0)+(e<<2)>>2]|0)|0;e=e+1|0;d=c[t+4>>2]|0}while((e|0)<(d|0));if((d|0)<=0){i=v;return 0}d=0;do{b=c[(c[a>>2]|0)+(d<<2)>>2]|0;y4a(c[c[u+12+(c[a+28>>2]<<2)>>2]>>2]|0,b,b);d=d+1|0}while((d|0)<(c[t+4>>2]|0));i=v;return 0}function y4a(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0;l=c[a>>2]|0;k=d+(l>>1<<2)+(l>>2<<2)|0;i=c[a+8>>2]|0;e=i+(l>>2<<2)|0;f=b+(l>>1<<2)+-28|0;h=k;while(1){j=h;h=h+-16|0;n=f+8|0;o=e+12|0;m=e+8|0;g[h>>2]=-(+g[n>>2]*+g[o>>2])-+g[f>>2]*+g[m>>2];g[j+-12>>2]=+g[f>>2]*+g[o>>2]-+g[n>>2]*+g[m>>2];m=f+24|0;n=e+4|0;o=f+16|0;g[j+-8>>2]=-(+g[m>>2]*+g[n>>2])-+g[o>>2]*+g[e>>2];g[j+-4>>2]=+g[o>>2]*+g[n>>2]-+g[m>>2]*+g[e>>2];f=f+-32|0;if(f>>>0>>0)break;else e=e+16|0}e=i+(l>>2<<2)|0;f=b+(l>>1<<2)+-32|0;h=k;while(1){j=f+16|0;o=e+-4|0;n=f+24|0;m=e+-8|0;g[h>>2]=+g[j>>2]*+g[o>>2]+ +g[n>>2]*+g[m>>2];g[h+4>>2]=+g[j>>2]*+g[m>>2]-+g[n>>2]*+g[o>>2];o=e+-12|0;e=e+-16|0;n=f+8|0;g[h+8>>2]=+g[f>>2]*+g[o>>2]+ +g[n>>2]*+g[e>>2];g[h+12>>2]=+g[f>>2]*+g[e>>2]-+g[n>>2]*+g[o>>2];f=f+-32|0;if(f>>>0>>0)break;else h=h+16|0}P3a(c[a+4>>2]|0,i,d+(l>>1<<2)|0,l>>1);b=c[a>>2]|0;j=c[a+8>>2]|0;i=j+(b<<2)|0;e=c[a+12>>2]|0;f=d;h=d+(b>>1<<2)|0;while(1){m=d+(b>>1<<2)+(c[e>>2]<<2)|0;o=d+(b>>1<<2)+(c[e+4>>2]<<2)|0;r=+g[m+4>>2];p=+g[o+4>>2];s=+g[m>>2];t=+g[o>>2];q=+g[i>>2];u=+g[i+4>>2];o=h;h=h+-16|0;g[f>>2]=(r+p)*.5+((s+t)*q+(r-p)*u);g[o+-8>>2]=(r+p)*.5-((s+t)*q+(r-p)*u);g[f+4>>2]=(s-t)*.5+((s+t)*u-(r-p)*q);g[o+-4>>2]=(s+t)*u-(r-p)*q-(s-t)*.5;m=d+(b>>1<<2)+(c[e+8>>2]<<2)|0;n=d+(b>>1<<2)+(c[e+12>>2]<<2)|0;t=+g[m+4>>2];s=+g[n+4>>2];q=+g[m>>2];p=+g[n>>2];r=+g[i+8>>2];u=+g[i+12>>2];g[f+8>>2]=(t+s)*.5+((q+p)*r+(t-s)*u);g[h>>2]=(t+s)*.5-((q+p)*r+(t-s)*u);g[f+12>>2]=(q-p)*.5+((q+p)*u-(t-s)*r);g[o+-12>>2]=(q+p)*u-(t-s)*r-(q-p)*.5;f=f+16|0;if(f>>>0>=h>>>0)break;else{i=i+16|0;e=e+16|0}}e=j+(l>>1<<2)|0;f=d;h=k;i=k;while(1){n=e+4|0;m=f+4|0;g[h+-4>>2]=+g[f>>2]*+g[n>>2]-+g[m>>2]*+g[e>>2];g[i>>2]=-(+g[f>>2]*+g[e>>2]+ +g[m>>2]*+g[n>>2]);n=f+8|0;m=e+12|0;a=f+12|0;o=e+8|0;g[h+-8>>2]=+g[n>>2]*+g[m>>2]-+g[a>>2]*+g[o>>2];g[i+4>>2]=-(+g[n>>2]*+g[o>>2]+ +g[a>>2]*+g[m>>2]);m=f+16|0;a=e+20|0;o=f+20|0;n=e+16|0;g[h+-12>>2]=+g[m>>2]*+g[a>>2]-+g[o>>2]*+g[n>>2];h=h+-16|0;g[i+8>>2]=-(+g[m>>2]*+g[n>>2]+ +g[o>>2]*+g[a>>2]);a=f+24|0;o=e+28|0;n=f+28|0;m=e+24|0;g[h>>2]=+g[a>>2]*+g[o>>2]-+g[n>>2]*+g[m>>2];g[i+12>>2]=-(+g[a>>2]*+g[m>>2]+ +g[n>>2]*+g[o>>2]);f=f+32|0;if(f>>>0>=h>>>0)break;else{e=e+32|0;i=i+16|0}}e=k;f=d+(l>>2<<2)|0;h=d+(l>>2<<2)|0;do{o=f;f=f+-16|0;u=+g[e+-4>>2];g[o+-4>>2]=u;g[h>>2]=-u;u=+g[e+-8>>2];g[o+-8>>2]=u;g[h+4>>2]=-u;u=+g[e+-12>>2];e=e+-16|0;g[o+-12>>2]=u;g[h+8>>2]=-u;u=+g[e>>2];g[f>>2]=u;g[h+12>>2]=-u;h=h+16|0}while(h>>>0>>0);f=k;e=k;while(1){o=e;e=e+-16|0;c[e>>2]=c[f+12>>2];c[o+-12>>2]=c[f+8>>2];c[o+-8>>2]=c[f+4>>2];c[o+-4>>2]=c[f>>2];if(e>>>0<=(d+(l>>1<<2)|0)>>>0)break;else f=f+16|0}return}function z4a(a){a=a|0;var b=0;b=a+48|0;do{c[a>>2]=0;a=a+4|0}while((a|0)<(b|0));return}function A4a(a,b){a=a|0;b=b|0;var d=0,e=0;d=b;e=d+112|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));c[b+64>>2]=a;c[b+76>>2]=0;c[b+68>>2]=0;if(!(c[a>>2]|0))return 0;d=Xpb(1,72)|0;c[b+104>>2]=d;g[d+4>>2]=-9999.0;a=0;while(1)if((a|0)==7){c[d+40>>2]=b+4;I5a(b+4|0);a=8;continue}else{e=Xpb(1,20)|0;c[d+12+(a<<2)>>2]=e;I5a(e);a=a+1|0;if((a|0)==15)break;else continue}return 0}function B4a(a){a=a|0;var b=0,d=0;b=c[a+84>>2]|0;if(b|0)do{d=b;b=c[b+4>>2]|0;Wpb(c[d>>2]|0);Wpb(d)}while((b|0)!=0);b=c[a+80>>2]|0;if(!b){d=a+72|0;c[d>>2]=0;c[a+84>>2]=0;return}c[a+68>>2]=Ypb(c[a+68>>2]|0,(c[a+76>>2]|0)+b|0)|0;c[a+76>>2]=(c[a+76>>2]|0)+(c[a+80>>2]|0);c[a+80>>2]=0;d=a+72|0;c[d>>2]=0;c[a+84>>2]=0;return}function C4a(a){a=a|0;var b=0,d=0,e=0;e=c[a+104>>2]|0;b=c[a+84>>2]|0;if(b|0)do{d=b;b=c[b+4>>2]|0;Wpb(c[d>>2]|0);Wpb(d)}while((b|0)!=0);d=c[a+80>>2]|0;b=c[a+68>>2]|0;if(d){b=Ypb(b,(c[a+76>>2]|0)+d|0)|0;c[a+68>>2]=b;c[a+76>>2]=(c[a+76>>2]|0)+(c[a+80>>2]|0);c[a+80>>2]=0}c[a+72>>2]=0;c[a+84>>2]=0;if(b|0)Wpb(b);if(!e){b=a+112|0;do{c[a>>2]=0;a=a+4|0}while((a|0)<(b|0));return 0}else d=0;while(1){b=e+12+(d<<2)|0;K5a(c[b>>2]|0);if((d|0)==7){d=8;continue}Wpb(c[b>>2]|0);d=d+1|0;if((d|0)==15)break}Wpb(e);b=a+112|0;do{c[a>>2]=0;a=a+4|0}while((a|0)<(b|0));return 0}function D4a(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=c[b+28>>2]|0;if(!j){a=1;return a|0}if((c[j+8>>2]|0)<1){a=1;return a|0}e=c[j>>2]|0;if((e|0)<64){a=1;return a|0}if((c[j+4>>2]|0)<(e|0)){a=1;return a|0}g=c[j+3656>>2]|0;e=a;f=e+112|0;do{c[e>>2]=0;e=e+4|0}while((e|0)<(f|0));i=Xpb(1,136)|0;c[a+104>>2]=i;c[a+4>>2]=b;c[i+44>>2]=u3a((c[j+8>>2]|0)+-1|0)|0;k=Xpb(1,4)|0;c[i+12>>2]=k;e=Xpb(1,4)|0;c[i+16>>2]=e;f=Xpb(1,20)|0;c[k>>2]=f;c[e>>2]=Xpb(1,20)|0;E4a(f,c[j>>2]>>g);E4a(c[c[i+16>>2]>>2]|0,c[j+4>>2]>>g);c[i+4>>2]=(u3a(c[j>>2]|0)|0)+-7;c[i+8>>2]=(u3a(c[j+4>>2]|0)|0)+-7;a:do if(!d){if(!(c[j+2848>>2]|0)){c[j+2848>>2]=Xpb(c[j+24>>2]|0,56)|0;e=c[j+24>>2]|0;if((e|0)>0){d=0;while(1){f=j+1824+(d<<2)|0;g=c[f>>2]|0;if(!g)break;if(K4a((c[j+2848>>2]|0)+(d*56|0)|0,g)|0){h=20;break}N4a(c[f>>2]|0);c[f>>2]=0;d=d+1|0;e=c[j+24>>2]|0;if((d|0)>=(e|0))break a}if((h|0)==20)e=c[j+24>>2]|0;if((e|0)>0){d=0;do{f=j+1824+(d<<2)|0;g=c[f>>2]|0;if(g){N4a(g);c[f>>2]=0;e=c[j+24>>2]|0}d=d+1|0}while((d|0)<(e|0))}O4a(a);k=-1;return k|0}}}else{F4a(i+20|0,c[j>>2]|0);F4a(i+32|0,c[j+4>>2]|0);if(!(c[j+2848>>2]|0)){e=Xpb(c[j+24>>2]|0,56)|0;c[j+2848>>2]=e;if((c[j+24>>2]|0)>0){G4a(e,c[j+1824>>2]|0)|0;if((c[j+24>>2]|0)>1){e=1;do{G4a((c[j+2848>>2]|0)+(e*56|0)|0,c[j+1824+(e<<2)>>2]|0)|0;e=e+1|0}while((e|0)<(c[j+24>>2]|0))}}}e=Xpb(c[j+28>>2]|0,52)|0;c[i+56>>2]=e;b:do if((c[j+28>>2]|0)>0){f=0;while(1){k=c[j+2852+(f<<2)>>2]|0;I4a(e+(f*52|0)|0,k,j+2868|0,(c[j+(c[k>>2]<<2)>>2]|0)/2|0,c[b+8>>2]|0);f=f+1|0;if((f|0)>=(c[j+28>>2]|0))break b;e=c[i+56>>2]|0}}while(0);c[a>>2]=1}while(0);g=c[j+4>>2]|0;c[a+16>>2]=g;f=c[b+4>>2]|0;e=Vpb(f<<2)|0;c[a+8>>2]=e;c[a+12>>2]=Vpb(f<<2)|0;if((f|0)>0){c[e>>2]=Xpb(g,4)|0;if((f|0)>1){e=1;do{k=c[a+8>>2]|0;c[k+(e<<2)>>2]=Xpb(g,4)|0;e=e+1|0}while((e|0)<(f|0))}}c[a+36>>2]=0;c[a+40>>2]=0;k=(c[j+4>>2]|0)/2|0;c[a+48>>2]=k;c[a+20>>2]=k;c[i+48>>2]=Xpb(c[j+16>>2]|0,4)|0;c[i+52>>2]=Xpb(c[j+20>>2]|0,4)|0;if((c[j+16>>2]|0)>0){e=0;do{k=Xi[c[(c[99820+(c[j+800+(e<<2)>>2]<<2)>>2]|0)+8>>2]&511](a,c[j+1056+(e<<2)>>2]|0)|0;c[(c[i+48>>2]|0)+(e<<2)>>2]=k;e=e+1|0}while((e|0)<(c[j+16>>2]|0))}if((c[j+20>>2]|0)>0)e=0;else{k=0;return k|0}do{k=Xi[c[(c[99712+(c[j+1312+(e<<2)>>2]<<2)>>2]|0)+8>>2]&511](a,c[j+1568+(e<<2)>>2]|0)|0;c[(c[i+52>>2]|0)+(e<<2)>>2]=k;e=e+1|0}while((e|0)<(c[j+20>>2]|0));e=0;return e|0}function E4a(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0,i=0,j=0,k=0.0;j=Vpb(((b|0)/4|0)<<2)|0;e=Vpb(((b|0)/4|0)+b<<2)|0;i=~~+Inb(+Y(+(+(b|0)))/.6931471805599453);c[a+4>>2]=i;c[a>>2]=b;c[a+8>>2]=e;c[a+12>>2]=j;if((b|0)<=3){k=4.0/+(b|0);b=a+16|0;g[b>>2]=k;return}d=0;do{k=3.141592653589793/+(b|0)*+(d<<2|0);h=d<<1;g[e+(h<<2)>>2]=+Q(+k);g[e+((h|1)<<2)>>2]=-+R(+k);g[e+(h+(b>>1)<<2)>>2]=+Q(+(3.141592653589793/+(b<<1|0)*+(h|1|0)));g[e+(h+(b>>1)+1<<2)>>2]=+R(+(3.141592653589793/+(b<<1|0)*+(h|1|0)));d=d+1|0}while((d|0)<((b|0)/4|0|0));if((b|0)<=7){k=4.0/+(b|0);b=a+16|0;g[b>>2]=k;return}d=0;do{k=3.141592653589793/+(b|0)*+(d<<2|2|0);h=(d<<1)+b|0;g[e+(h<<2)>>2]=+Q(+k)*.5;g[e+(h+1<<2)>>2]=+R(+k)*-.5;d=d+1|0}while((d|0)<((b|0)/8|0|0));if((b|0)>7)f=0;else{k=4.0/+(b|0);b=a+16|0;g[b>>2]=k;return}do{e=1<>h}while((e|0)!=0);h=f<<1;c[j+(h<<2)>>2]=((1<>2]=d;f=f+1|0}while((f|0)<((b|0)/8|0|0));k=4.0/+(b|0);b=a+16|0;g[b>>2]=k;return}function F4a(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0,i=0,j=0.0,k=0.0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0.0;c[a>>2]=b;s=Xpb(b*3|0,4)|0;c[a+4>>2]=s;t=Xpb(32,4)|0;c[a+8>>2]=t;if((b|0)==1)return;f=-1;a=0;e=b;d=0;a:while(1){l=f+1|0;if((l|0)<4)m=c[99832+(l<<2)>>2]|0;else m=d+2|0;if((m|0)==2)h=e;else{d=e;while(1){e=d;d=(d|0)/(m|0)|0;if((e|0)!=(_(d,m)|0)){f=l;d=m;continue a}e=a+1|0;c[t+(a+2<<2)>>2]=m;if((d|0)==1){n=15;break a}else a=e}}while(1){e=a+1|0;i=h;h=(h|0)/2|0;if((i|0)!=(h<<1|0)){f=l;e=i;d=m;continue a}c[t+(a+2<<2)>>2]=2;d=(a|0)==0;if(!d){if((a|0)>=1){f=1;do{r=e-f|0;c[t+(r+2<<2)>>2]=c[t+(r+1<<2)>>2];f=f+1|0}while((f|0)!=(e|0))}c[t+8>>2]=2}if((i&-2|0)==2){r=a;break a}else a=e}}if((n|0)==15){d=(a|0)==0;r=a}c[t>>2]=b;c[t+4>>2]=e;if((r|0)>0&(d^1)){a=0;p=0;q=1}else return;do{d=c[t+(p+2<<2)>>2]|0;n=q;q=_(d,q)|0;e=(b|0)/(q|0)|0;do if((d|0)>1){f=_(e,d+-1|0)|0;if((e|0)>2){l=a;m=0;o=0}else{a=f+a|0;break}while(1){o=o+n|0;j=6.2831854820251465/+(b|0)*+(o|0);k=0.0;h=l;i=2;while(1){k=k+1.0;u=j*k;g[s+(b<<2)+(h<<2)>>2]=+Q(+u);g[s+(b<<2)+(h+1<<2)>>2]=+R(+u);i=i+2|0;if((i|0)>=(e|0))break;else h=h+2|0}m=m+1|0;if((m|0)==(d+-1|0))break;else l=l+e|0}a=f+a|0}while(0);p=p+1|0}while((p|0)!=(r|0));return}function G4a(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=a;e=d+56|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));c[a+12>>2]=b;g=c[b+4>>2]|0;c[a+4>>2]=g;c[a+8>>2]=g;c[a>>2]=c[b>>2];c[a+20>>2]=H4a(c[b+8>>2]|0,g,0)|0;g=c[b+4>>2]|0;h=c[b>>2]|0;if((h|0)<=0)while(1){}d=~~+M(+(+P(+(+(g|0)),+(1.0/+(h|0)))));while(1){i=d+1|0;e=1;f=1;j=0;do{e=_(e,d)|0;f=_(f,i)|0;j=j+1|0}while((j|0)!=(h|0));if((f|0)>(g|0)&(e|0)<=(g|0))break;d=((e|0)>(g|0)?-1:1)+d|0}c[a+44>>2]=d;j=c[b+16>>2]|0;c[a+48>>2]=~~+Jnb(+Hnb((j|0)<0?-+(j&2097151|0):+(j&2097151|0),(j>>>21&1023)+-788|0));b=c[b+20>>2]|0;c[a+52>>2]=~~+Jnb(+Hnb((b|0)<0?-+(b&2097151|0):+(b&2097151|0),(b>>>21&1023)+-788|0));return 0}function H4a(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+144|0;f=Vpb((e|0?e:d)<<2)|0;hBb(q|0,0,132)|0;do if((d|0)>0){h=0;o=0;a:while(1){n=a[b+o>>0]|0;b:do if(n<<24>>24>0){l=c[q+(n<<24>>24<<2)>>2]|0;if(!(n<<24>>24>31|(l>>>(n<<24>>24)|0)==0)){p=15;break a}g=h+1|0;c[f+(h<<2)>>2]=l;c:do if(!(l&1)){j=l;k=q+(n<<24>>24<<2)|0;m=n<<24>>24;while(1){c[k>>2]=j+1;h=m+-1|0;if((m|0)<=1)break c;j=c[q+(h<<2)>>2]|0;if(j&1|0){j=q+(h<<2)|0;p=7;break}else{k=q+(h<<2)|0;m=h}}}else{j=q+(n<<24>>24<<2)|0;h=n<<24>>24;p=7}while(0);do if((p|0)==7){p=0;if((h|0)==1){c[q+4>>2]=(c[q+4>>2]|0)+1;break}else{c[j>>2]=c[q+(h+-1<<2)>>2]<<1;break}}while(0);if(((n<<24>>24)+1|0)<33){j=n<<24>>24;k=(n<<24>>24)+1|0;while(1){h=q+(k<<2)|0;n=l;l=c[h>>2]|0;if((l>>>1|0)!=(n|0))break b;c[h>>2]=c[q+(j<<2)>>2]<<1;h=k+1|0;if((h|0)>=33)break;else{j=k;k=h}}}}else g=h+((e|0)==0&1)|0;while(0);o=o+1|0;if((o|0)>=(d|0)){p=17;break}else h=g}if((p|0)==15){Wpb(f);d=0;i=q;return d|0}else if((p|0)==17){if((g|0)!=1){g=1;p=28;break}if((c[q+8>>2]|0)==2)break;else{g=1;p=28;break}}}else{g=1;p=28}while(0);d:do if((p|0)==28){while(1){if(c[q+(g<<2)>>2]&-1>>>(32-g|0)|0)break;g=g+1|0;if((g|0)>=33)break d;else p=28}Wpb(f);d=0;i=q;return d|0}while(0);if((d|0)<=0){d=f;i=q;return d|0}if(e|0){g=0;m=0}else{m=0;do{h=a[b+m>>0]|0;l=f+(m<<2)|0;if(h<<24>>24>0){j=c[l>>2]|0;k=0;g=0;do{g=j>>>k&1|g<<1;k=k+1|0}while((k|0)<(h<<24>>24|0))}else g=0;m=m+1|0;c[l>>2]=g}while((m|0)!=(d|0));i=q;return f|0}do{l=a[b+m>>0]|0;if(l<<24>>24>0){j=c[f+(g<<2)>>2]|0;k=0;h=0;do{h=j>>>k&1|h<<1;k=k+1|0}while((k|0)<(l<<24>>24|0))}else h=0;if(l<<24>>24){c[f+(g<<2)>>2]=h;g=g+1|0}m=m+1|0}while((m|0)!=(d|0));i=q;return f|0}function I4a(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var h=0,i=0,j=0,k=0,l=0.0,m=0.0,n=0,o=0;h=a;i=h+48|0;do{c[h>>2]=0;h=h+4|0}while((h|0)<(i|0));n=c[d>>2]|0;c[a+36>>2]=n;o=~~(+Inb(+Y(+(+(n|0)*8.0))/.6931471805599453)+-1.0);c[a+32>>2]=o;n=~~((+Y(+(+(f|0)*.25*.5/+(e|0)))*1.4426950216293335+-5.965784072875977)*+(1<>2]=n;c[a+40>>2]=1-n+~~((+Y(+((+(e|0)+.25)*+(f|0)*.5/+(e|0)))*1.4426950216293335+-5.965784072875977)*+(1<>2]=Vpb(e<<2)|0;c[a+20>>2]=Vpb(e<<2)|0;c[a+24>>2]=Vpb(e<<2)|0;c[a+4>>2]=b;c[a>>2]=e;c[a+44>>2]=f;g[a+48>>2]=1.0;do if((f|0)<26e3)g[a+48>>2]=0.0;else{if((f|0)<38e3){g[a+48>>2]=.9399999976158142;break}if((f|0)>46e3)g[a+48>>2]=1.274999976158142}while(0);h=0;d=0;a:while(1){i=(d|0)>=(e|0);while(1){if((h|0)>=87)break a;j=h+1|0;k=~~+Inb(+(e|0)*(+X(+((+(j|0)*.125+-2.0+5.965784072875977)*.6931470036506653))*2.0)/+(f|0));if((k|0)<=(d|0)|i)h=j;else break}m=+g[99848+(h<<2)>>2];l=(+g[99848+(j<<2)>>2]-m)/+(k-d|0);h=c[a+16>>2]|0;while(1){g[h+(d<<2)>>2]=m+100.0;d=d+1|0;if((d|0)<(k|0)&(d|0)<(e|0))m=l+m;else{h=j;continue a}}}if((d|0)<(e|0)){h=c[a+16>>2]|0;do{c[h+(d<<2)>>2]=c[h+(d+-1<<2)>>2];d=d+1|0}while((d|0)!=(e|0))}if((e|0)>0){k=c[b+120>>2]|0;n=c[a+24>>2]|0;d=1;o=0;h=-99;do{j=_((f|0)/(e<<1|0)|0,o)|0;m=+V(+(+(j|0)*7.399999885819852e-04))*13.100000381469727+ +V(+(+(_(j,j)|0)*1.8499999754340024e-08))*2.240000009536743+ +(j|0)*9.999999747378752e-05;b:do if((k+h|0)<(o|0)){l=m-+g[b+112>>2];do{j=_(h,(f|0)/(e<<1|0)|0)|0;if(!(+(j|0)*9.999999747378752e-05+(+V(+(+(j|0)*7.399999885819852e-04))*13.100000381469727+ +V(+(+(_(j,j)|0)*1.8499999754340024e-08))*2.240000009536743)>2]|0)+h|0)<(o|0))}while(0);c:do if((d|0)<=(e|0)){j=(c[b+124>>2]|0)+o|0;i=d;while(1){if((i|0)>=(j|0)){d=_(i,(f|0)/(e<<1|0)|0)|0;l=+(d|0)*9.999999747378752e-05+(+V(+(+(d|0)*7.399999885819852e-04))*13.100000381469727+ +V(+(+(_(d,d)|0)*1.8499999754340024e-08))*2.240000009536743);if(!(l>2])){d=i;break c}}d=i+1|0;if((i|0)<(e|0))i=d;else break}}while(0);c[n+(o<<2)>>2]=(h<<16)+-65537+d;o=o+1|0}while((o|0)!=(e|0));if((e|0)>0){d=c[a+20>>2]|0;h=0;do{m=+Y(+(+(f|0)*((+(h|0)+.25)*.5)/+(e|0)))*1.4426950216293335+-5.965784072875977;c[d+(h<<2)>>2]=~~(m*+(1<<(c[a+32>>2]|0)+1|0)+.5);h=h+1|0}while((h|0)!=(e|0))}}c[a+8>>2]=J4a(b+36|0,+(f|0)*.5/+(e|0),e,+g[b+24>>2],+g[b+28>>2])|0;d=Vpb(12)|0;c[a+12>>2]=d;c[d>>2]=Vpb(e<<2)|0;c[d+4>>2]=Vpb(e<<2)|0;c[d+8>>2]=Vpb(e<<2)|0;if((e|0)<=0)return;k=c[a+4>>2]|0;i=c[d>>2]|0;j=c[d+4>>2]|0;d=c[d+8>>2]|0;h=0;do{m=(+Y(+(+(f|0)*(+(h|0)+.5)/(+(e|0)*2.0)))*1.4426950216293335+-5.965784072875977)*2.0;m=m<0.0?0.0:m;m=m>=16.0?16.0:m;l=1.0-(m-+(~~m|0));g[i+(h<<2)>>2]=l*+g[k+132+(~~m<<2)>>2]+(m-+(~~m|0))*+g[k+132+(~~m+1<<2)>>2];g[j+(h<<2)>>2]=l*+g[k+200+(~~m<<2)>>2]+(m-+(~~m|0))*+g[k+200+(~~m+1<<2)>>2];g[d+(h<<2)>>2]=l*+g[k+268+(~~m<<2)>>2]+(m-+(~~m|0))*+g[k+268+(~~m+1<<2)>>2];h=h+1|0}while((h|0)!=(e|0));return}function J4a(a,b,d,e,f){a=a|0;b=+b;d=d|0;e=+e;f=+f;var h=0,j=0,k=0.0,l=0.0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;x=i;i=i+32480|0;v=i;i=i+((1*(d<<2)|0)+15&-16)|0;w=Vpb(68)|0;hBb(x+1792|0,0,30464)|0;o=0;do{j=o<<2;m=0;do{h=m+j|0;if((h|0)<88)l=+g[99848+(h<<2)>>2];else l=-30.0;if((h+1|0)<88){k=+g[99848+(h+1<<2)>>2];if(!(l>k))k=l}else if(l>-30.0)k=-30.0;else k=l;if((h+2|0)<88){l=+g[99848+(h+2<<2)>>2];if(!(k>l))l=k}else if(k>-30.0)l=-30.0;else l=k;if((h+3|0)<88){k=+g[99848+(h+3<<2)>>2];if(!(l>k))k=l}else if(l>-30.0)k=-30.0;else k=l;g[x+32256+(m<<2)>>2]=k;m=m+1|0}while((m|0)!=56);u=100200+(o*1344|0)|0;mBb(x+1792+(o*1792|0)+448|0,u|0,224)|0;mBb(x+1792+(o*1792|0)+672|0,100200+(o*1344|0)+224|0,224)|0;mBb(x+1792+(o*1792|0)+896|0,100200+(o*1344|0)+448|0,224)|0;mBb(x+1792+(o*1792|0)+1120|0,100200+(o*1344|0)+672|0,224)|0;mBb(x+1792+(o*1792|0)+1344|0,100200+(o*1344|0)+896|0,224)|0;mBb(x+1792+(o*1792|0)+1568|0,100200+(o*1344|0)+1120|0,224)|0;mBb(x+1792+(o*1792|0)|0,u|0,224)|0;mBb(x+1792+(o*1792|0)+224|0,u|0,224)|0;if(e>0.0){j=0;do{if(e<0.0){h=0;do{u=16-h|0;l=+(((u|0)>-1?u:0-u|0)|0)*f+e;l=l<0.0?0.0:l;u=x+1792+(o*1792|0)+(j*224|0)+(h<<2)|0;g[u>>2]=(l>0.0?0.0:l)+ +g[u>>2];h=h+1|0}while((h|0)!=56)}else{h=0;do{u=16-h|0;l=+(((u|0)>-1?u:0-u|0)|0)*f+e;u=x+1792+(o*1792|0)+(j*224|0)+(h<<2)|0;g[u>>2]=(l<0.0?0.0:l)+ +g[u>>2];h=h+1|0}while((h|0)!=56)}j=j+1|0}while((j|0)!=8)}else{j=0;do{if(e<0.0){h=0;do{u=16-h|0;l=+(((u|0)>-1?u:0-u|0)|0)*f+e;u=x+1792+(o*1792|0)+(j*224|0)+(h<<2)|0;g[u>>2]=(l>0.0?0.0:l)+ +g[u>>2];h=h+1|0}while((h|0)!=56)}else{h=0;do{t=16-h|0;u=x+1792+(o*1792|0)+(j*224|0)+(h<<2)|0;g[u>>2]=+(((t|0)>-1?t:0-t|0)|0)*f+e+ +g[u>>2];h=h+1|0}while((h|0)!=56)}j=j+1|0}while((j|0)!=8)}l=+g[a+(o<<2)>>2]+100.0;m=0;do{k=l-+(((m|0)<2?2:m)|0)*10.0+-30.0;h=0;do{u=x+1792+(o*1792|0)+(m*224|0)+(h<<2)|0;g[u>>2]=k+ +g[u>>2];h=h+1|0}while((h|0)!=56);mBb(x+(m*224|0)|0,x+32256|0,224)|0;k=100.0-+(m|0)*10.0+-30.0;h=0;do{u=x+(m*224|0)+(h<<2)|0;g[u>>2]=k+ +g[u>>2];h=h+1|0}while((h|0)!=56);j=0;do{k=+g[x+1792+(o*1792|0)+(m*224|0)+(j<<2)>>2];h=x+(m*224|0)+(j<<2)|0;if(k>+g[h>>2])g[h>>2]=k;j=j+1|0}while((j|0)!=56);m=m+1|0}while((m|0)!=8);n=1;do{h=n+-1|0;m=0;do{k=+g[x+(h*224|0)+(m<<2)>>2];j=x+(n*224|0)+(m<<2)|0;if(k<+g[j>>2])g[j>>2]=k;m=m+1|0}while((m|0)!=56);j=0;do{k=+g[x+(n*224|0)+(j<<2)>>2];h=x+1792+(o*1792|0)+(n*224|0)+(j<<2)|0;if(k<+g[h>>2])g[h>>2]=k;j=j+1|0}while((j|0)!=56);n=n+1|0}while((n|0)!=8);o=o+1|0}while((o|0)!=17);s=0;do{q=Vpb(32)|0;c[w+(s<<2)>>2]=q;e=+(s|0)*.5;p=~~+M(+(+X(+((e+5.965784072875977)*.6931470036506653))/b));t=~~+Z(+((+Y(+(+(p|0)*b+1.0))*1.4426950216293335+-5.965784072875977)*2.0));p=~~+M(+((+Y(+(+(p+1|0)*b))*1.4426950216293335+-5.965784072875977)*2.0));t=(t|0)>(s|0)?s:t;t=(t|0)<0?0:t;p=(p|0)>16?16:p;s=s+1|0;r=(s|0)<17;u=0;do{o=q+(u<<2)|0;c[o>>2]=Vpb(232)|0;if((d|0)>0){h=0;do{g[v+(h<<2)>>2]=999.0;h=h+1|0}while((h|0)!=(d|0))}if((t|0)<=(p|0)){a=t;while(1){l=+(a|0)*.5;n=0;h=0;do{f=l+ +(n|0)*.125;j=~~(+X(+((f+-2.0625+5.965784072875977)*.6931470036506653))/b);m=~~(+X(+((f+-1.9375+5.965784072875977)*.6931470036506653))/b+1.0);j=(j|0)<0?0:j;j=(j|0)>(d|0)?d:j;h=(j|0)<(h|0)?j:h;m=(m|0)<0?0:m;m=(m|0)>(d|0)?d:m;if((h|0)<(m|0)&(h|0)<(d|0)){k=+g[x+1792+(a*1792|0)+(u*224|0)+(n<<2)>>2];do{j=v+(h<<2)|0;if(+g[j>>2]>k)g[j>>2]=k;h=h+1|0}while((h|0)<(m|0)&(h|0)<(d|0))}n=n+1|0}while((n|0)!=56);if((h|0)<(d|0)){k=+g[x+1792+(a*1792|0)+(u*224|0)+220>>2];do{j=v+(h<<2)|0;if(+g[j>>2]>k)g[j>>2]=k;h=h+1|0}while((h|0)!=(d|0))}if((a|0)<(p|0))a=a+1|0;else break}}if(r){n=0;h=0;do{f=e+ +(n|0)*.125;a=~~(+X(+((f+-2.0625+5.965784072875977)*.6931470036506653))/b);m=~~(+X(+((f+-1.9375+5.965784072875977)*.6931470036506653))/b+1.0);a=(a|0)<0?0:a;a=(a|0)>(d|0)?d:a;h=(a|0)<(h|0)?a:h;m=(m|0)<0?0:m;m=(m|0)>(d|0)?d:m;if((h|0)<(m|0)&(h|0)<(d|0)){k=+g[x+1792+(s*1792|0)+(u*224|0)+(n<<2)>>2];do{j=v+(h<<2)|0;if(+g[j>>2]>k)g[j>>2]=k;h=h+1|0}while((h|0)<(m|0)&(h|0)<(d|0))}n=n+1|0}while((n|0)!=56);if((h|0)<(d|0)){k=+g[x+1792+(s*1792|0)+(u*224|0)+220>>2];do{j=v+(h<<2)|0;if(+g[j>>2]>k)g[j>>2]=k;h=h+1|0}while((h|0)!=(d|0))}}h=q+(u<<2)|0;j=q+(u<<2)|0;m=q+(u<<2)|0;a=0;do{n=~~(+X(+((e+ +(a|0)*.125+-2.0+5.965784072875977)*.6931470036506653))/b);do if((n|0)<0)g[(c[h>>2]|0)+(a+2<<2)>>2]=-999.0;else if((n|0)<(d|0)){c[(c[j>>2]|0)+(a+2<<2)>>2]=c[v+(n<<2)>>2];break}else{g[(c[m>>2]|0)+(a+2<<2)>>2]=-999.0;break}while(0);a=a+1|0}while((a|0)!=56);h=c[o>>2]|0;do if(+g[h+8>>2]>-200.0)k=0.0;else if(+g[h+12>>2]>-200.0)k=1.0;else if(+g[h+16>>2]>-200.0)k=2.0;else if(+g[h+20>>2]>-200.0)k=3.0;else if(+g[h+24>>2]>-200.0)k=4.0;else if(+g[h+28>>2]>-200.0)k=5.0;else if(+g[h+32>>2]>-200.0)k=6.0;else if(+g[h+36>>2]>-200.0)k=7.0;else if(+g[h+40>>2]>-200.0)k=8.0;else if(+g[h+44>>2]>-200.0)k=9.0;else if(+g[h+48>>2]>-200.0)k=10.0;else if(+g[h+52>>2]>-200.0)k=11.0;else if(+g[h+56>>2]>-200.0)k=12.0;else if(+g[h+60>>2]>-200.0)k=13.0;else{if(+g[h+64>>2]>-200.0){k=14.0;break}if(+g[h+68>>2]>-200.0){k=15.0;break}k=16.0}while(0);g[h>>2]=k;j=c[o>>2]|0;h=55;do{if(+g[j+(h+2<<2)>>2]>-200.0)break;h=h+-1|0}while((h|0)>17);g[j+4>>2]=+(h|0);u=u+1|0}while((u|0)!=8)}while((s|0)!=17);i=x;return w|0}function K4a(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;e=b;f=e+56|0;do{c[e>>2]=0;e=e+4|0}while((e|0)<(f|0));h=c[d+4>>2]|0;if((h|0)>0){f=c[d+8>>2]|0;g=0;e=0;do{e=((a[f+g>>0]|0)>0&1)+e|0;g=g+1|0}while((g|0)<(h|0))}else e=0;c[b+4>>2]=h;c[b+8>>2]=e;c[b>>2]=c[d>>2];if((e|0)<=0){b=0;i=p;return b|0}j=H4a(c[d+8>>2]|0,h,e)|0;k=e<<2;g=i;i=i+((1*k|0)+15&-16)|0;if(!j){e=c[b+16>>2]|0;if(e|0)Wpb(e);e=c[b+20>>2]|0;if(e|0)Wpb(e);e=c[b+24>>2]|0;if(e|0)Wpb(e);e=c[b+28>>2]|0;if(e|0)Wpb(e);e=c[b+32>>2]|0;if(e|0)Wpb(e);e=b;f=e+56|0;do{c[e>>2]=0;e=e+4|0}while((e|0)<(f|0));b=-1;i=p;return b|0}else f=0;do{o=j+(f<<2)|0;n=gBb(c[o>>2]|0)|0;n=(n>>>4&252645135|n<<4&-252645136)>>>2&858993459|(n>>>4&252645135|n<<4&-252645136)<<2&-858993460;c[o>>2]=n>>>1&1431655765|n<<1&-1431655766;c[g+(f<<2)>>2]=o;f=f+1|0}while((f|0)!=(e|0));cnb(g,e,4,370);l=i;i=i+((1*k|0)+15&-16)|0;h=Vpb(k)|0;c[b+20>>2]=h;f=0;do{c[l+((c[g+(f<<2)>>2]|0)-j>>2<<2)>>2]=f;f=f+1|0}while((f|0)!=(e|0));f=0;do{c[h+(c[l+(f<<2)>>2]<<2)>>2]=c[j+(f<<2)>>2];f=f+1|0}while((f|0)!=(e|0));Wpb(j);c[b+16>>2]=M4a(d,e,l)|0;g=Vpb(k)|0;c[b+24>>2]=g;j=c[d+4>>2]|0;if((j|0)>0){f=c[d+8>>2]|0;h=0;e=0;do{if((a[f+h>>0]|0)>0){c[g+(c[l+(e<<2)>>2]<<2)>>2]=h;e=e+1|0}h=h+1|0}while((h|0)<(j|0))}else e=0;c[b+28>>2]=Vpb(e)|0;c[b+40>>2]=0;if((j|0)>0){f=0;h=c[d+8>>2]|0;k=0;j=0;while(1){g=a[h+k>>0]|0;if(g<<24>>24>0){e=j+1|0;a[(c[b+28>>2]|0)+(c[l+(j<<2)>>2]|0)>>0]=g;h=c[d+8>>2]|0;f=a[h+k>>0]|0;g=c[b+40>>2]|0;if((f|0)>(g|0))c[b+40>>2]=f;else f=g}else e=j;k=k+1|0;if((k|0)>=(c[d+4>>2]|0))break;else j=e}if((e|0)==1)if((f|0)==1){c[b+36>>2]=1;o=Xpb(2,4)|0;c[b+32>>2]=o;c[o+4>>2]=1;c[o>>2]=1;b=0;i=p;return b|0}else o=1;else o=e}else o=0;e=c[b+8>>2]|0;if(!e)e=-4;else{f=0;while(1){e=e>>>1;if(!e){e=f;break}else f=f+1|0}e=e+-3|0}n=(e|0)<5?5:e;n=(n|0)>8?8:n;c[b+36>>2]=n;l=Xpb(1<>2]=l;if((o|0)>0){e=n;d=0;do{j=(c[b+28>>2]|0)+d|0;f=a[j>>0]|0;if((e|0)>=(f|0)){k=gBb(c[(c[b+20>>2]|0)+(d<<2)>>2]|0)|0;k=(k>>>4&252645135|k<<4&-252645136)>>>2&858993459|(k>>>4&252645135|k<<4&-252645136)<<2&-858993460;if((e-f|0)!=31){h=d+1|0;g=0;do{c[l+((k>>>1&1431655765|k<<1&-1431655766|g<>2]=h;g=g+1|0;e=c[b+36>>2]|0;f=a[j>>0]|0}while((g|0)<(1<>2]|0;h=0;f=0;g=0;while(1){k=f<<32-e;l=gBb(k|0)|0;l=(l>>>4&252645135|l<<4&-252645136)>>>2&858993459|(l>>>4&252645135|l<<4&-252645136)<<2&-858993460;if(!(c[m+((l>>>1&1431655765|l<<1&-1431655766)<<2)>>2]|0)){while(1){e=g+1|0;if((e|0)>=(o|0))break;if((c[(c[b+20>>2]|0)+(e<<2)>>2]|0)>>>0>k>>>0)break;else g=e}a:do if((o|0)>(h|0)){j=c[b+20>>2]|0;e=h;do{if(k>>>0<(c[j+(e<<2)>>2]&d)>>>0)break a;e=e+1|0}while((o|0)>(e|0))}else e=h;while(0);h=o-e|0;c[(c[b+32>>2]|0)+((l>>>1&1431655765|l<<1&-1431655766)<<2)>>2]=(g>>>0>32767?32767:g)<<15|(h>>>0>32767?32767:h)|-2147483648;h=e}f=f+1|0;if((f|0)>=(1<>2]|0}i=p;return e|0}function L4a(a,b){a=a|0;b=b|0;a=c[c[a>>2]>>2]|0;b=c[c[b>>2]>>2]|0;return (a>>>0>b>>>0&1)-(a>>>0>>0&1)|0}function M4a(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,h=0,i=0,j=0,k=0.0,l=0,m=0,n=0,o=0.0,p=0,q=0,r=0,s=0.0,t=0.0,u=0;f=c[b+12>>2]|0;if((f+-1|0)>>>0>=2){e=0;return e|0}u=c[b+16>>2]|0;s=+Hnb((u|0)<0?-+(u&2097151|0):+(u&2097151|0),(u>>>21&1023)+-788|0);u=c[b+20>>2]|0;t=+Hnb((u|0)<0?-+(u&2097151|0):+(u&2097151|0),(u>>>21&1023)+-788|0);u=c[b>>2]|0;d=Xpb(_(u,d)|0,4)|0;switch(f|0){case 1:{q=c[b+4>>2]|0;if((u|0)<=0)while(1){}l=~~+M(+(+P(+(+(q|0)),+(1.0/+(u|0)))));while(1){i=l+1|0;f=1;h=1;j=0;do{f=_(f,l)|0;h=_(h,i)|0;j=j+1|0}while((j|0)!=(u|0));if((h|0)>(q|0)&(f|0)<=(q|0))break;l=((f|0)>(q|0)?-1:1)+l|0}if((q|0)<=0){e=d;return e|0}f=0;p=0;do{if(!e){j=c[b+32>>2]|0;m=_(u,f)|0;if(!(c[b+28>>2]|0)){h=1;i=0;do{g[d+(m+i<<2)>>2]=s+t*+N(+(+(c[j+((((p|0)/(h|0)|0|0)%(l|0)|0)<<2)>>2]|0)))+0.0;h=_(h,l)|0;i=i+1|0}while((i|0)<(u|0));r=21}else{h=1;i=0;k=0.0;do{k=k+(s+t*+N(+(+(c[j+((((p|0)/(h|0)|0|0)%(l|0)|0)<<2)>>2]|0))));g[d+(m+i<<2)>>2]=k;h=_(h,l)|0;i=i+1|0}while((i|0)<(u|0));r=21}}else if(a[(c[b+8>>2]|0)+p>>0]|0){h=c[b+32>>2]|0;i=(c[b+28>>2]|0)==0;j=_(c[e+(f<<2)>>2]|0,u)|0;m=1;n=0;o=0.0;while(1){k=o+(s+t*+N(+(+(c[h+((((p|0)/(m|0)|0|0)%(l|0)|0)<<2)>>2]|0))));g[d+(j+n<<2)>>2]=k;m=_(m,l)|0;n=n+1|0;if((n|0)>=(u|0)){r=21;break}else o=i?o:k}}if((r|0)==21){r=0;f=f+1|0}p=p+1|0}while((p|0)<(q|0));return d|0}case 2:{m=c[b+4>>2]|0;if((m|0)<=0){e=d;return e|0}f=0;n=0;do{if(e|0){if(a[(c[b+8>>2]|0)+n>>0]|0)r=25}else r=25;if((r|0)==25){r=0;if((u|0)>0){l=c[b+32>>2]|0;h=(c[b+28>>2]|0)==0;if(e|0){i=_(u,n)|0;j=_(c[e+(f<<2)>>2]|0,u)|0;if(h){h=0;do{g[d+(j+h<<2)>>2]=s+t*+N(+(+(c[l+(i+h<<2)>>2]|0)))+0.0;h=h+1|0}while((h|0)<(u|0))}else{h=0;k=0.0;do{k=k+(s+t*+N(+(+(c[l+(i+h<<2)>>2]|0))));g[d+(j+h<<2)>>2]=k;h=h+1|0}while((h|0)<(u|0))}}else{i=_(u,n)|0;j=_(u,f)|0;if(h){h=0;do{g[d+(j+h<<2)>>2]=s+t*+N(+(+(c[l+(i+h<<2)>>2]|0)))+0.0;h=h+1|0}while((h|0)<(u|0))}else{h=0;k=0.0;do{k=k+(s+t*+N(+(+(c[l+(i+h<<2)>>2]|0))));g[d+(j+h<<2)>>2]=k;h=h+1|0}while((h|0)<(u|0))}}}f=f+1|0}n=n+1|0}while((n|0)<(m|0));return d|0}default:{e=d;return e|0}}return 0}function N4a(a){a=a|0;var b=0;if(!(c[a+36>>2]|0))return;b=c[a+32>>2]|0;if(b|0)Wpb(b);b=c[a+8>>2]|0;if(b|0)Wpb(b);Wpb(a);return}function O4a(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;if(!a)return;g=c[a+4>>2]|0;if(g|0)f=c[g+28>>2]|0;else f=0;h=c[a+104>>2]|0;if(h|0){b=c[h>>2]|0;if(b|0){P4a(b);Wpb(c[h>>2]|0)}b=c[h+12>>2]|0;if(b|0){Q4a(c[b>>2]|0);Wpb(c[c[h+12>>2]>>2]|0);Wpb(c[h+12>>2]|0)}b=c[h+16>>2]|0;if(b|0){Q4a(c[b>>2]|0);Wpb(c[c[h+16>>2]>>2]|0);Wpb(c[h+16>>2]|0)}b=c[h+48>>2]|0;if(b|0){if(f){d=f+16|0;if((c[d>>2]|0)>0){e=f+800|0;Hi[c[(c[99820+(c[e>>2]<<2)>>2]|0)+16>>2]&1023](c[b>>2]|0);if((c[d>>2]|0)>1){b=1;do{Hi[c[(c[99820+(c[e+(b<<2)>>2]<<2)>>2]|0)+16>>2]&1023](c[(c[h+48>>2]|0)+(b<<2)>>2]|0);b=b+1|0}while((b|0)<(c[d>>2]|0))}b=c[h+48>>2]|0}}Wpb(b)}b=c[h+52>>2]|0;if(b|0){if(f){d=f+20|0;if((c[d>>2]|0)>0){e=f+1312|0;Hi[c[(c[99712+(c[e>>2]<<2)>>2]|0)+16>>2]&1023](c[b>>2]|0);if((c[d>>2]|0)>1){b=1;do{Hi[c[(c[99712+(c[e+(b<<2)>>2]<<2)>>2]|0)+16>>2]&1023](c[(c[h+52>>2]|0)+(b<<2)>>2]|0);b=b+1|0}while((b|0)<(c[d>>2]|0))}b=c[h+52>>2]|0}}Wpb(b)}b=c[h+56>>2]|0;if(b|0){if(f){d=f+28|0;if((c[d>>2]|0)>0){R4a(b);if((c[d>>2]|0)>1){b=1;do{R4a((c[h+56>>2]|0)+(b*52|0)|0);b=b+1|0}while((b|0)<(c[d>>2]|0))}b=c[h+56>>2]|0}}Wpb(b)}b=c[h+60>>2]|0;if(b|0)S4a(b);z4a(h+80|0);T4a(h+20|0);T4a(h+32|0)}b=c[a+8>>2]|0;if(b|0){if(g|0){d=c[g+4>>2]|0;if((d|0)>0){e=0;while(1){b=c[b+(e<<2)>>2]|0;if(b){Wpb(b);d=c[g+4>>2]|0}e=e+1|0;if((e|0)>=(d|0))break;b=c[a+8>>2]|0}b=c[a+8>>2]|0}}Wpb(b);b=c[a+12>>2]|0;if(b|0)Wpb(b)}if(h|0){b=c[h+64>>2]|0;if(b|0)Wpb(b);b=c[h+68>>2]|0;if(b|0)Wpb(b);b=c[h+72>>2]|0;if(b|0)Wpb(b);Wpb(h)}b=a+112|0;do{c[a>>2]=0;a=a+4|0}while((a|0)<(b|0));return}function P4a(a){a=a|0;Q4a(a+16|0);Wpb(c[a+48>>2]|0);Wpb(c[a+64>>2]|0);Wpb(c[a+80>>2]|0);Wpb(c[a+96>>2]|0);Wpb(c[a+112>>2]|0);Wpb(c[a+128>>2]|0);Wpb(c[a+144>>2]|0);Wpb(c[a+36>>2]|0);Wpb(c[a+152>>2]|0);Wpb(c[a+160>>2]|0);hBb(a|0,0,180)|0;return}function Q4a(a){a=a|0;var b=0;if(!a)return;b=c[a+8>>2]|0;if(b|0)Wpb(b);b=c[a+12>>2]|0;if(b|0)Wpb(b);c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;return}function R4a(a){a=a|0;var b=0,d=0;if(!a)return;b=c[a+16>>2]|0;if(b|0)Wpb(b);b=c[a+20>>2]|0;if(b|0)Wpb(b);b=c[a+24>>2]|0;if(b|0)Wpb(b);b=c[a+8>>2]|0;if(b|0){d=0;while(1){Wpb(c[c[b+(d<<2)>>2]>>2]|0);Wpb(c[(c[(c[a+8>>2]|0)+(d<<2)>>2]|0)+4>>2]|0);Wpb(c[(c[(c[a+8>>2]|0)+(d<<2)>>2]|0)+8>>2]|0);Wpb(c[(c[(c[a+8>>2]|0)+(d<<2)>>2]|0)+12>>2]|0);Wpb(c[(c[(c[a+8>>2]|0)+(d<<2)>>2]|0)+16>>2]|0);Wpb(c[(c[(c[a+8>>2]|0)+(d<<2)>>2]|0)+20>>2]|0);Wpb(c[(c[(c[a+8>>2]|0)+(d<<2)>>2]|0)+24>>2]|0);Wpb(c[(c[(c[a+8>>2]|0)+(d<<2)>>2]|0)+28>>2]|0);Wpb(c[(c[a+8>>2]|0)+(d<<2)>>2]|0);d=d+1|0;if((d|0)==17)break;b=c[a+8>>2]|0}Wpb(c[a+8>>2]|0)}b=c[a+12>>2]|0;if(b|0){Wpb(c[b>>2]|0);Wpb(c[(c[a+12>>2]|0)+4>>2]|0);Wpb(c[(c[a+12>>2]|0)+8>>2]|0);Wpb(c[a+12>>2]|0)}b=a;d=b+52|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(d|0));return}function S4a(a){a=a|0;if(!a)return;Wpb(a);return}function T4a(a){a=a|0;var b=0;if(!a)return;b=c[a+4>>2]|0;if(b|0)Wpb(b);b=c[a+8>>2]|0;if(b|0)Wpb(b);c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;return}function U4a(a){a=a|0;var b=0,d=0,e=0;b=c[a+4>>2]|0;d=c[a+104>>2]|0;if((b|0)==0|(d|0)==0){a=-1;return a|0}b=c[b+28>>2]|0;if(!b){a=-1;return a|0}e=c[b+3656>>2]|0;b=c[b+4>>2]>>e+1;c[a+48>>2]=b;c[a+20>>2]=b>>e;c[a+24>>2]=-1;c[a+56>>2]=-1;c[a+56+4>>2]=-1;c[a+56+8>>2]=-1;c[a+56+12>>2]=-1;c[a+32>>2]=0;c[d+128>>2]=-1;c[d+128+4>>2]=-1;a=0;return a|0}function V4a(a,b){a=a|0;b=b|0;var d=0,e=0;if(D4a(a,b,0)|0){O4a(a);a=1;return a|0}b=c[a+4>>2]|0;d=c[a+104>>2]|0;if((b|0)==0|(d|0)==0){a=0;return a|0}b=c[b+28>>2]|0;if(!b){a=0;return a|0}e=c[b+3656>>2]|0;b=c[b+4>>2]>>e+1;c[a+48>>2]=b;c[a+20>>2]=b>>e;c[a+24>>2]=-1;c[a+56>>2]=-1;c[a+56+4>>2]=-1;c[a+56+8>>2]=-1;c[a+56+12>>2]=-1;c[a+32>>2]=0;c[d+128>>2]=-1;c[d+128+4>>2]=-1;a=0;return a|0}function W4a(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;s=c[a+4>>2]|0;u=c[s+28>>2]|0;t=c[a+104>>2]|0;v=c[u+3656>>2]|0;if(!b){b=-131;return b|0}j=c[a+20>>2]|0;d=c[a+24>>2]|0;if(!((j|0)<=(d|0)|(d|0)==-1)){b=-131;return b|0}l=c[a+40>>2]|0;c[a+36>>2]=l;m=c[b+28>>2]|0;c[a+40>>2]=m;c[a+44>>2]=-1;e=c[a+64>>2]|0;f=c[a+64+4>>2]|0;if((e|0)==-1&(f|0)==-1){f=c[b+56>>2]|0;e=c[b+56+4>>2]|0;k=6}else{h=jBb(e|0,f|0,1,0)|0;e=C;f=c[b+56>>2]|0;i=c[b+56+4>>2]|0;if((h|0)==(f|0)&(e|0)==(i|0))f=h;else{e=i;k=6}}if((k|0)==6){c[a+56>>2]=-1;c[a+56+4>>2]=-1;c[t+128>>2]=-1;c[t+128+4>>2]=-1}c[a+64>>2]=f;c[a+64+4>>2]=e;if(!(c[b>>2]|0))i=d;else{n=c[u+(m<<2)>>2]>>v+1;o=c[u>>2]>>v+1;p=c[u+4>>2]>>v+1;e=c[b+88>>2]|0;e=jBb(c[a+72>>2]|0,c[a+72+4>>2]|0,e|0,((e|0)<0)<<31>>31|0)|0;c[a+72>>2]=e;c[a+72+4>>2]=C;e=c[b+92>>2]|0;e=jBb(c[a+80>>2]|0,c[a+80+4>>2]|0,e|0,((e|0)<0)<<31>>31|0)|0;c[a+80>>2]=e;c[a+80+4>>2]=C;e=c[b+96>>2]|0;e=jBb(c[a+88>>2]|0,c[a+88+4>>2]|0,e|0,((e|0)<0)<<31>>31|0)|0;c[a+88>>2]=e;c[a+88+4>>2]=C;e=c[b+100>>2]|0;e=jBb(c[a+96>>2]|0,c[a+96+4>>2]|0,e|0,((e|0)<0)<<31>>31|0)|0;c[a+96>>2]=e;c[a+96+4>>2]=C;e=c[a+48>>2]|0;q=(e|0)==0?p:0;r=(e|0)==0?0:p;if((c[s+4>>2]|0)>0){k=((p|0)/2|0)+((o|0)/2|0)|0;f=l;e=m;d=0;while(1){i=(e|0)!=0;a:do if(!f){j=X4a((c[t+4>>2]|0)-v|0)|0;h=c[(c[a+8>>2]|0)+(d<<2)>>2]|0;e=c[(c[b>>2]|0)+(d<<2)>>2]|0;if(!i){if((o|0)>0)f=0;else break;while(1){m=h+(q<<2)+(f<<2)|0;g[m>>2]=+g[m>>2]*+g[j+(o+-1-f<<2)>>2]+ +g[e+(f<<2)>>2]*+g[j+(f<<2)>>2];f=f+1|0;if((f|0)==(o|0))break a}}i=e+(((p|0)/2|0)<<2)+(0-((o|0)/2|0)<<2)|0;if((o|0)>0){f=0;do{m=h+(q<<2)+(f<<2)|0;g[m>>2]=+g[m>>2]*+g[j+(o+-1-f<<2)>>2]+ +g[i+(f<<2)>>2]*+g[j+(f<<2)>>2];f=f+1|0}while((f|0)!=(o|0));f=o}else f=0;if((f|0)<(k|0))do{c[h+(q<<2)+(f<<2)>>2]=c[i+(f<<2)>>2];f=f+1|0}while((f|0)<(k|0))}else if(i){f=X4a((c[t+8>>2]|0)-v|0)|0;h=c[(c[a+8>>2]|0)+(d<<2)>>2]|0;e=c[(c[b>>2]|0)+(d<<2)>>2]|0;if((p|0)>0)i=0;else break;do{m=h+(q<<2)+(i<<2)|0;g[m>>2]=+g[m>>2]*+g[f+(p+-1-i<<2)>>2]+ +g[e+(i<<2)>>2]*+g[f+(i<<2)>>2];i=i+1|0}while((i|0)!=(p|0))}else{f=X4a((c[t+4>>2]|0)-v|0)|0;h=c[(c[a+8>>2]|0)+(d<<2)>>2]|0;e=c[(c[b>>2]|0)+(d<<2)>>2]|0;if((o|0)>0)i=0;else break;do{m=h+(q<<2)+(((p|0)/2|0)<<2)+(((o|0)/-2|0)<<2)+(i<<2)|0;g[m>>2]=+g[m>>2]*+g[f+(o+-1-i<<2)>>2]+ +g[e+(i<<2)>>2]*+g[f+(i<<2)>>2];i=i+1|0}while((i|0)!=(o|0))}while(0);h=h+(r<<2)|0;e=e+(n<<2)|0;if((n|0)>0){f=0;do{c[h+(f<<2)>>2]=c[e+(f<<2)>>2];f=f+1|0}while((f|0)!=(n|0))}d=d+1|0;if((d|0)>=(c[s+4>>2]|0))break;f=c[a+36>>2]|0;e=c[a+40>>2]|0}e=c[a+48>>2]|0;d=c[a+24>>2]|0}c[a+48>>2]=(e|0)==0?p:0;if((d|0)==-1){c[a+24>>2]=r;e=r;d=r}else{c[a+24>>2]=q;e=q;d=(((c[u+(c[a+40>>2]<<2)>>2]|0)/4|0)+((c[u+(c[a+36>>2]<<2)>>2]|0)/4|0)>>v)+q|0}c[a+20>>2]=d;j=d;i=e}d=c[t+128>>2]|0;e=c[t+128+4>>2]|0;if((d|0)==-1&(e|0)==-1){f=0;h=0}else{f=((c[u+(c[a+40>>2]<<2)>>2]|0)/4|0)+((c[u+(c[a+36>>2]<<2)>>2]|0)/4|0)|0;f=jBb(f|0,((f|0)<0)<<31>>31|0,d|0,e|0)|0;h=C}c[t+128>>2]=f;c[t+128+4>>2]=h;d=c[a+56>>2]|0;e=c[a+56+4>>2]|0;do if((d|0)==-1&(e|0)==-1){d=c[b+48>>2]|0;e=c[b+48+4>>2]|0;if(!((d|0)==-1&(e|0)==-1)){c[a+56>>2]=d;c[a+56+4>>2]=e;if((h|0)>(e|0)|(h|0)==(e|0)&f>>>0>d>>>0){d=qBb(f|0,h|0,d|0,e|0)|0;d=(d|0)<0?0:d;if(!(c[b+44>>2]|0)){v=i+(d>>v)|0;c[a+24>>2]=(v|0)>(j|0)?j:v;break}else{u=j-i<>2]=j-(((d|0)>(u|0)?u:d)>>v);break}}}}else{f=((c[u+(c[a+40>>2]<<2)>>2]|0)/4|0)+((c[u+(c[a+36>>2]<<2)>>2]|0)/4|0)|0;d=jBb(f|0,((f|0)<0)<<31>>31|0,d|0,e|0)|0;e=C;c[a+56>>2]=d;c[a+56+4>>2]=e;f=c[b+48>>2]|0;h=c[b+48+4>>2]|0;if(!((f|0)==-1&(h|0)==-1|(d|0)==(f|0)&(e|0)==(h|0))){if((e|0)>(h|0)|(e|0)==(h|0)&d>>>0>f>>>0){d=qBb(d|0,e|0,f|0,h|0)|0;if(d|0)if(c[b+44>>2]|0){u=j-i<(u|0)?u:d;c[a+20>>2]=j-(((u|0)<0?0:u)>>v)}}c[a+56>>2]=f;c[a+56+4>>2]=h}}while(0);if(!(c[b+44>>2]|0)){b=0;return b|0}c[a+32>>2]=1;b=0;return b|0}function X4a(a){a=a|0;return c[66016+(a<<2)>>2]|0}function Y4a(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;f=c[a+24>>2]|0;if((f|0)<=-1){b=0;return b|0}g=c[a+20>>2]|0;if((g|0)<=(f|0)){b=0;return b|0}if(b|0){d=c[(c[a+4>>2]|0)+4>>2]|0;if((d|0)>0){e=0;do{c[(c[a+12>>2]|0)+(e<<2)>>2]=(c[(c[a+8>>2]|0)+(e<<2)>>2]|0)+(f<<2);e=e+1|0}while((e|0)<(d|0));d=a+12|0}else d=a+12|0;c[b>>2]=c[d>>2]}b=g-f|0;return b|0}function Z4a(a,b){a=a|0;b=b|0;var d=0;d=c[a+24>>2]|0;if(b|0)if((d+b|0)>(c[a+20>>2]|0)){a=-131;return a|0}c[a+24>>2]=d+b;a=0;return a|0}function _4a(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;h=c[a+4>>2]|0;f=c[a>>2]|0;if((f|0)<=0)while(1){}a=~~+M(+(+P(+(+(h|0)),+(1.0/+(f|0)))));while(1){e=a+1|0;b=1;d=1;g=0;do{b=_(b,a)|0;d=_(d,e)|0;g=g+1|0}while((g|0)<(f|0));if((b|0)<=(h|0)&(d|0)>(h|0))break;a=((b|0)>(h|0)?-1:1)+a|0}return a|0}function $4a(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=Xpb(1,40)|0;c[j+36>>2]=1;a:do if((O5a(b,24)|0)==5653314){c[j>>2]=O5a(b,16)|0;i=O5a(b,24)|0;c[j+4>>2]=i;if((i|0)!=-1){i=u3a(c[j>>2]|0)|0;if(((u3a(c[j+4>>2]|0)|0)+i|0)<=24){b:do switch(O5a(b,1)|0){case 0:{d=(O5a(b,1)|0)!=0;if(((_(d?1:5,c[j+4>>2]|0)|0)+7>>3|0)>((c[b+16>>2]|0)-(P5a(b)|0)|0))break a;e=c[j+4>>2]|0;c[j+8>>2]=Vpb(e)|0;if(!d){if((e|0)>0)e=0;else break b;while(1){d=O5a(b,5)|0;if((d|0)==-1)break a;a[(c[j+8>>2]|0)+e>>0]=d+1;e=e+1|0;if((e|0)>=(c[j+4>>2]|0))break b}}if((e|0)>0){e=0;do{if(!(O5a(b,1)|0))a[(c[j+8>>2]|0)+e>>0]=0;else{d=O5a(b,5)|0;if((d|0)==-1)break a;a[(c[j+8>>2]|0)+e>>0]=d+1}e=e+1|0}while((e|0)<(c[j+4>>2]|0))}break}case 1:{e=(O5a(b,5)|0)+1|0;if(!e)break a;d=c[j+4>>2]|0;c[j+8>>2]=Vpb(d)|0;if((d|0)>0){f=0;while(1){i=O5a(b,u3a(d-f|0)|0)|0;if((e|0)>32|(i|0)==-1)break a;d=c[j+4>>2]|0;if((i|0)>(d-f|0))break a;if((i|0)>0){if((i+-1>>e+-1|0)>1)break a;d=e&255;g=f;h=0;while(1){a[(c[j+8>>2]|0)+g>>0]=d;h=h+1|0;if((h|0)==(i|0))break;else g=g+1|0}d=c[j+4>>2]|0;f=i+f|0}if((d|0)>(f|0))e=e+1|0;else break}}break}default:break a}while(0);i=O5a(b,4)|0;c[j+12>>2]=i;switch(i|0){case 2:case 1:break;case 0:return j|0;default:break a}c[j+16>>2]=O5a(b,32)|0;c[j+20>>2]=O5a(b,32)|0;c[j+24>>2]=(O5a(b,4)|0)+1;i=O5a(b,1)|0;c[j+28>>2]=i;if((i|0)!=-1){switch(c[j+12>>2]|0){case 1:{if(!(c[j>>2]|0))f=0;else f=_4a(j)|0;break}case 2:{f=_(c[j>>2]|0,c[j+4>>2]|0)|0;break}default:f=0}h=(_(c[j+24>>2]|0,f)|0)+7>>3;i=c[b+16>>2]|0;if((h|0)<=(i-(P5a(b)|0)|0)){d=Vpb(f<<2)|0;c[j+32>>2]=d;if((f|0)>0){e=0;do{i=O5a(b,c[j+24>>2]|0)|0;d=c[j+32>>2]|0;c[d+(e<<2)>>2]=i;e=e+1|0}while((e|0)!=(f|0))}if(!f)return j|0;if((c[d+(f+-1<<2)>>2]|0)!=-1)return j|0}}}}}while(0);N4a(j);j=0;return j|0}function a5a(a){a=a|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;return}function b5a(a){a=a|0;var b=0,d=0,e=0;if(!a)return;b=c[a>>2]|0;if(b|0){d=c[a+8>>2]|0;if((d|0)>0){e=0;while(1){b=c[b+(e<<2)>>2]|0;if(b){Wpb(b);d=c[a+8>>2]|0}e=e+1|0;if((e|0)>=(d|0))break;b=c[a>>2]|0}b=c[a>>2]|0}Wpb(b)}b=c[a+4>>2]|0;if(b|0)Wpb(b);b=c[a+12>>2]|0;if(b|0)Wpb(b);c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;return}function c5a(a,b){a=a|0;b=b|0;a=c[a+28>>2]|0;if(!a){b=-1;return b|0}b=c[a+(b<<2)>>2]|0;return b|0}function d5a(a){a=a|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[a+20>>2]=0;c[a+24>>2]=0;c[a+28>>2]=Xpb(1,3664)|0;return}function e5a(a){a=a|0;var b=0,d=0,e=0,f=0;f=c[a+28>>2]|0;if(!f){c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[a+20>>2]=0;c[a+24>>2]=0;c[a+28>>2]=0;return}b=c[f+8>>2]|0;if((b|0)>0){e=0;do{d=c[f+32+(e<<2)>>2]|0;if(d){Wpb(d);b=c[f+8>>2]|0}e=e+1|0}while((e|0)<(b|0))}b=c[f+12>>2]|0;if((b|0)>0){e=0;do{d=c[f+544+(e<<2)>>2]|0;if(d){Hi[c[(c[99828+(c[f+288+(e<<2)>>2]<<2)>>2]|0)+8>>2]&1023](d);b=c[f+12>>2]|0}e=e+1|0}while((e|0)<(b|0))}b=c[f+16>>2]|0;if((b|0)>0){e=0;do{d=c[f+1056+(e<<2)>>2]|0;if(d){Hi[c[(c[99820+(c[f+800+(e<<2)>>2]<<2)>>2]|0)+12>>2]&1023](d);b=c[f+16>>2]|0}e=e+1|0}while((e|0)<(b|0))}b=c[f+20>>2]|0;if((b|0)>0){e=0;do{d=c[f+1568+(e<<2)>>2]|0;if(d){Hi[c[(c[99712+(c[f+1312+(e<<2)>>2]<<2)>>2]|0)+12>>2]&1023](d);b=c[f+20>>2]|0}e=e+1|0}while((e|0)<(b|0))}if((c[f+24>>2]|0)>0){d=0;do{b=c[f+1824+(d<<2)>>2]|0;if(b|0)N4a(b);b=c[f+2848>>2]|0;if(b|0)f5a(b+(d*56|0)|0);d=d+1|0}while((d|0)<(c[f+24>>2]|0))}b=c[f+2848>>2]|0;if(b|0)Wpb(b);if((c[f+28>>2]|0)>0){b=0;do{g5a(c[f+2852+(b<<2)>>2]|0);b=b+1|0}while((b|0)<(c[f+28>>2]|0))}Wpb(f);c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[a+20>>2]=0;c[a+24>>2]=0;c[a+28>>2]=0;return}function f5a(a){a=a|0;var b=0;b=c[a+16>>2]|0;if(b|0)Wpb(b);b=c[a+20>>2]|0;if(b|0)Wpb(b);b=c[a+24>>2]|0;if(b|0)Wpb(b);b=c[a+28>>2]|0;if(b|0)Wpb(b);b=c[a+32>>2]|0;if(b|0)Wpb(b);b=a;a=b+56|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(a|0));return}function g5a(a){a=a|0;if(a|0)Wpb(a);return}function h5a(b){b=b|0;var d=0;d=i;i=i+32|0;if(!b){b=0;i=d;return b|0}L5a(d,c[b>>2]|0,c[b+4>>2]|0);if(!(c[b+8>>2]|0)){b=0;i=d;return b|0}if((O5a(d,8)|0)!=1){b=0;i=d;return b|0};a[d+20>>0]=0;a[d+20+1>>0]=0;a[d+20+2>>0]=0;a[d+20+3>>0]=0;a[d+20+4>>0]=0;a[d+20>>0]=O5a(d,8)|0;a[d+20+1>>0]=O5a(d,8)|0;a[d+20+2>>0]=O5a(d,8)|0;a[d+20+3>>0]=O5a(d,8)|0;a[d+20+4>>0]=O5a(d,8)|0;a[d+20+5>>0]=O5a(d,8)|0;b=(qmb(d+20|0,593024,6)|0)==0&1;i=d;return b|0}function i5a(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;k=i;i=i+32|0;if(!e){d=-133;i=k;return d|0}L5a(k,c[e>>2]|0,c[e+4>>2]|0);f=O5a(k,8)|0;a[k+20>>0]=0;a[k+20+1>>0]=0;a[k+20+2>>0]=0;a[k+20+3>>0]=0;a[k+20+4>>0]=0;a[k+20>>0]=O5a(k,8)|0;a[k+20+1>>0]=O5a(k,8)|0;a[k+20+2>>0]=O5a(k,8)|0;a[k+20+3>>0]=O5a(k,8)|0;a[k+20+4>>0]=O5a(k,8)|0;a[k+20+5>>0]=O5a(k,8)|0;a:do if(!(qmb(k+20|0,593024,6)|0))switch(f|0){case 1:{if(!(c[e+8>>2]|0)){f=-133;break a}if(c[b+8>>2]|0){f=-133;break a}f=c[b+28>>2]|0;if(!f){f=-129;break a}d=O5a(k,32)|0;c[b>>2]=d;if(d|0){f=-134;break a}c[b+4>>2]=O5a(k,8)|0;c[b+8>>2]=O5a(k,32)|0;c[b+12>>2]=O5a(k,32)|0;c[b+16>>2]=O5a(k,32)|0;c[b+20>>2]=O5a(k,32)|0;c[f>>2]=1<<(O5a(k,4)|0);e=1<<(O5a(k,4)|0);c[f+4>>2]=e;if((c[b+8>>2]|0)>=1)if((c[b+4>>2]|0)>=1){d=c[f>>2]|0;if(!((e|0)>8192|((d|0)<64|(e|0)<(d|0))))if((O5a(k,1)|0)==1){f=0;break a}}e5a(b);f=-133;break a}case 3:{if(!(c[b+8>>2]|0)){f=-133;break a}if(c[d+12>>2]|0){f=-133;break a}f=O5a(k,32)|0;b:do if((f|0)<0)j=30;else if((f|0)>((c[k+16>>2]|0)+-8|0))j=30;else{e=Xpb(f+1|0,1)|0;c[d+12>>2]=e;if(f|0)while(1){f=f+-1|0;a[e>>0]=O5a(k,8)|0;if(!f)break;else e=e+1|0}f=O5a(k,32)|0;if((f|0)>=0){b=c[k+16>>2]|0;if((f|0)<=(b-(P5a(k)|0)>>2|0)){c[d+8>>2]=f;c[d>>2]=Xpb(f+1|0,4)|0;c[d+4>>2]=Xpb(f+1|0,4)|0;if((f|0)>0){g=0;do{f=O5a(k,32)|0;if((f|0)<0){h=d;break b}b=c[k+16>>2]|0;if((f|0)>(b-(P5a(k)|0)|0)){j=30;break b}c[(c[d+4>>2]|0)+(g<<2)>>2]=f;b=Xpb(f+1|0,1)|0;c[(c[d>>2]|0)+(g<<2)>>2]=b;if(f|0){e=c[(c[d>>2]|0)+(g<<2)>>2]|0;while(1){f=f+-1|0;a[e>>0]=O5a(k,8)|0;if(!f)break;else e=e+1|0}}g=g+1|0}while((g|0)<(c[d+8>>2]|0))}if((O5a(k,1)|0)==1){f=0;break a}else{h=d;break}}}if(!d){f=-133;break a}else j=30}while(0);if((j|0)==30)h=d;f=c[h>>2]|0;if(f|0){e=c[d+8>>2]|0;if((e|0)>0){g=0;while(1){f=c[f+(g<<2)>>2]|0;if(f){Wpb(f);e=c[d+8>>2]|0}g=g+1|0;if((g|0)>=(e|0))break;f=c[h>>2]|0}f=c[d>>2]|0}Wpb(f)}f=c[d+4>>2]|0;if(f|0)Wpb(f);f=c[d+12>>2]|0;if(f|0)Wpb(f);c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;c[d+12>>2]=0;f=-133;break a}case 5:{if(!(c[b+8>>2]|0)){f=-133;break a}if(!(c[d+12>>2]|0)){f=-133;break a}h=c[b+28>>2]|0;if(!h){f=-129;break a}if((c[h+24>>2]|0)>0){f=-133;break a}d=O5a(k,8)|0;c[h+24>>2]=d+1;c:do if((d|0)>=0){f=0;do{d=$4a(k)|0;c[h+1824+(f<<2)>>2]=d;f=f+1|0;if(!d)break c}while((f|0)<(c[h+24>>2]|0));f=O5a(k,6)|0;if((f|0)>=0){e=0;while(1){if(O5a(k,16)|0)break c;if((e|0)<(f|0))e=e+1|0;else break}d=O5a(k,6)|0;c[h+16>>2]=d+1;if((d|0)>=0){e=0;do{f=O5a(k,16)|0;c[h+800+(e<<2)>>2]=f;if(f>>>0>1)break c;d=Xi[c[(c[99820+(f<<2)>>2]|0)+4>>2]&511](b,k)|0;c[h+1056+(e<<2)>>2]=d;e=e+1|0;if(!d)break c}while((e|0)<(c[h+16>>2]|0));d=O5a(k,6)|0;c[h+20>>2]=d+1;if((d|0)>=0){e=0;do{f=O5a(k,16)|0;c[h+1312+(e<<2)>>2]=f;if(f>>>0>2)break c;d=Xi[c[(c[99712+(f<<2)>>2]|0)+4>>2]&511](b,k)|0;c[h+1568+(e<<2)>>2]=d;e=e+1|0;if(!d)break c}while((e|0)<(c[h+20>>2]|0));d=O5a(k,6)|0;c[h+12>>2]=d+1;if((d|0)>=0){f=0;do{d=O5a(k,16)|0;c[h+288+(f<<2)>>2]=d;if(d|0)break c;d=Xi[c[(c[24957]|0)+4>>2]&511](b,k)|0;c[h+544+(f<<2)>>2]=d;f=f+1|0;if(!d)break c}while((f|0)<(c[h+12>>2]|0));d=O5a(k,6)|0;c[h+8>>2]=d+1;if((d|0)>=0){g=0;do{e=h+32+(g<<2)|0;c[e>>2]=Xpb(1,16)|0;f=O5a(k,1)|0;c[c[e>>2]>>2]=f;f=O5a(k,16)|0;c[(c[e>>2]|0)+4>>2]=f;f=O5a(k,16)|0;c[(c[e>>2]|0)+8>>2]=f;f=O5a(k,8)|0;e=c[e>>2]|0;c[e+12>>2]=f;if((c[e+4>>2]|0)>0)break c;if((c[e+8>>2]|0)>0)break c;g=g+1|0;if((f|0)<0?1:(f|0)>=(c[h+12>>2]|0))break c}while((g|0)<(c[h+8>>2]|0));if((O5a(k,1)|0)==1){f=0;break a}}}}}}}while(0);e5a(b);f=-133;break a}default:{f=-133;break a}}else f=-132;while(0);d=f;i=k;return d|0}function j5a(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(a|0){d=c[a+64>>2]|0;if(!d){e=0;f=0;g=0;j=0;i=0}else{e=c[d+104>>2]|0;d=c[d+4>>2]|0;if(!d){f=1;g=0;j=0;i=0}else{f=1;g=1;j=c[d+28>>2]|0;i=d}}}else{e=0;f=0;g=0;j=0;i=0}h=a|0?a+4|0:0;if(!((a|0)!=0&((j|0)!=0&(g&(f&(e|0)!=0))))){a=-136;return a|0}B4a(a);L5a(h,c[b>>2]|0,c[b+4>>2]|0);if(O5a(h,1)|0){a=-135;return a|0}d=O5a(h,c[e+44>>2]|0)|0;if((d|0)==-1){a=-136;return a|0}c[a+40>>2]=d;f=j+32+(d<<2)|0;d=c[f>>2]|0;if(!d){a=-136;return a|0}g=c[d>>2]|0;c[a+28>>2]=g;do if(!g){c[a+24>>2]=0;c[a+32>>2]=0;d=0}else{c[a+24>>2]=O5a(h,1)|0;h=O5a(h,1)|0;c[a+32>>2]=h;if((h|0)==-1){a=-136;return a|0}else{d=c[a+28>>2]|0;break}}while(0);h=c[b+16+4>>2]|0;c[a+48>>2]=c[b+16>>2];c[a+48+4>>2]=h;h=c[b+24+4>>2]|0;c[a+56>>2]=c[b+24>>2];c[a+56+4>>2]=h;c[a+44>>2]=c[b+12>>2];c[a+36>>2]=c[j+(d<<2)>>2];d=i+4|0;c[a>>2]=v3a(a,c[d>>2]<<2)|0;if((c[d>>2]|0)>0){e=0;do{b=v3a(a,c[a+36>>2]<<2)|0;c[(c[a>>2]|0)+(e<<2)>>2]=b;e=e+1|0}while((e|0)<(c[d>>2]|0))}b=c[(c[f>>2]|0)+12>>2]|0;a=Xi[c[(c[99828+(c[j+288+(b<<2)>>2]<<2)>>2]|0)+16>>2]&511](a,c[j+544+(b<<2)>>2]|0)|0;return a|0}function k5a(a,b){a=a|0;b=b|0;var d=0,e=0;e=c[a+64>>2]|0;d=c[e+104>>2]|0;e=c[(c[e+4>>2]|0)+28>>2]|0;B4a(a);L5a(a+4|0,c[b>>2]|0,c[b+4>>2]|0);if(O5a(a+4|0,1)|0){a=-135;return a|0}d=O5a(a+4|0,c[d+44>>2]|0)|0;if((d|0)==-1){a=-136;return a|0}c[a+40>>2]=d;d=c[e+32+(d<<2)>>2]|0;if(!d){a=-136;return a|0}e=c[d>>2]|0;c[a+28>>2]=e;if(!e){c[a+24>>2]=0;c[a+32>>2]=0}else{c[a+24>>2]=O5a(a+4|0,1)|0;e=O5a(a+4|0,1)|0;c[a+32>>2]=e;if((e|0)==-1){a=-136;return a|0}}e=c[b+16+4>>2]|0;c[a+48>>2]=c[b+16>>2];c[a+48+4>>2]=e;e=c[b+24+4>>2]|0;c[a+56>>2]=c[b+24>>2];c[a+56+4>>2]=e;c[a+44>>2]=c[b+12>>2];c[a+36>>2]=0;c[a>>2]=0;a=0;return a|0}function l5a(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+32|0;d=c[a+28>>2]|0;if(!d)a=-129;else if((c[d+8>>2]|0)<1)a=-129;else{L5a(e,c[b>>2]|0,c[b+4>>2]|0);if(!(O5a(e,1)|0)){a=O5a(e,u3a((c[d+8>>2]|0)+-1|0)|0)|0;if((a|0)==-1)a=-136;else{a=c[d+32+(a<<2)>>2]|0;if(!a)a=-136;else a=c[d+(c[a>>2]<<2)>>2]|0}}else a=-135}i=e;return a|0}function m5a(a){a=a|0;return c[(c[a+28>>2]|0)+3656>>2]|0}function n5a(a){a=a|0;var b=0,d=0;if(!a)return 0;C4a(a+592|0)|0;O4a(a+480|0);W5a(a+120|0)|0;b=c[a+72>>2]|0;if(b|0){d=c[a+52>>2]|0;if(d|0){if((d|0)>0){d=0;do{e5a(b+(d<<5)|0);b5a((c[a+76>>2]|0)+(d<<4)|0);d=d+1|0;b=c[a+72>>2]|0}while((d|0)<(c[a+52>>2]|0))}Wpb(b);Wpb(c[a+76>>2]|0)}}b=c[a+60>>2]|0;if(b|0)Wpb(b);b=c[a+68>>2]|0;if(b|0)Wpb(b);b=c[a+64>>2]|0;if(b|0)Wpb(b);b=c[a+56>>2]|0;if(b|0)Wpb(b);_5a(a+24|0)|0;b=c[a>>2]|0;if(b|0){d=c[a+712>>2]|0;if(d|0)vi[d&2047](b)|0}hBb(a|0,0,720)|0;return 0}function o5a(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=i;i=i+16|0;c[g>>2]=c[f>>2];c[g+4>>2]=c[f+4>>2];c[g+8>>2]=c[f+8>>2];c[g+12>>2]=c[f+12>>2];f=p5a(a,b,d,e,g)|0;if(f|0){b=f;i=g;return b|0}b=s5a(b)|0;i=g;return b|0}function p5a(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;h=i;i=i+16|0;if(!a)g=-1;else{g=c[f+4>>2]|0;if(!g)g=-1;else g=cj[g&127](a,0,0,1)|0}c[h+4>>2]=0;c[h>>2]=0;hBb(b|0,0,704)|0;c[b>>2]=a;c[b+704>>2]=c[f>>2];c[b+704+4>>2]=c[f+4>>2];c[b+704+8>>2]=c[f+8>>2];c[b+704+12>>2]=c[f+12>>2];Z5a(b+24|0)|0;if(d|0){mBb($5a(b+24|0,e)|0,d|0,e|0)|0;a6a(b+24|0,e)|0}if((g|0)!=-1)c[b+4>>2]=1;c[b+52>>2]=1;c[b+72>>2]=Xpb(1,32)|0;c[b+76>>2]=Xpb(1,16)|0;V5a(b+120|0,-1)|0;f=q5a(b,c[b+72>>2]|0,c[b+76>>2]|0,h+4|0,h,0)|0;if((f|0)<0){c[b>>2]=0;n5a(b)|0;g=c[h+4>>2]|0}else{e=c[h>>2]|0;d=Xpb(e+2|0,4)|0;c[b+64>>2]=d;g=c[b+456>>2]|0;c[b+92>>2]=g;c[d>>2]=g;c[d+4>>2]=e;g=c[h+4>>2]|0;mBb(d+8|0,g|0,e<<2|0)|0;e=Xpb(1,8)|0;c[b+56>>2]=e;d=Xpb(1,8)|0;c[b+60>>2]=d;c[e>>2]=0;c[e+4>>2]=0;e=c[b+8+4>>2]|0;c[d>>2]=c[b+8>>2];c[d+4>>2]=e;c[b+88>>2]=1}if(!g){i=h;return f|0}Wpb(g);i=h;return f|0}function q5a(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+48|0;if(!g){m=r5a(a,n+32|0,65536,0)|0;g=C;if((m|0)==-128&(g|0)==-1){b=-128;i=n;return b|0}if((g|0)<0){b=-132;i=n;return b|0}else m=n+32|0}else m=g;d5a(b);a5a(d);c[a+88>>2]=2;a:do if(!(R5a(m)|0))l=34;else{b:do if(!e)while(1){if((c[a+88>>2]|0)<3){g6a(a+120|0,U5a(m)|0)|0;d6a(a+120|0,m)|0;if((h6a(a+120|0,n)|0)>0)if(h5a(n)|0){c[a+88>>2]=3;if(i5a(b,d,n)|0){g=-133;break a}}}f=r5a(a,m,65536,0)|0;g=C;if((f|0)==-128&(g|0)==-1){g=-128;break a}if((g|0)<0){g=-132;break a}if((c[a+88>>2]|0)==3){f=c[a+456>>2]|0;if((f|0)==(U5a(m)|0))break b}if(!(R5a(m)|0)){l=34;break a}}else{c:while(1){h=c[e>>2]|0;g=c[f>>2]|0;j=U5a(m)|0;if(!((h|0)==0|(g|0)==0))while(1){g=g+-1|0;if((c[h>>2]|0)==(j|0))break c;if(!g)break;else h=h+4|0}k=U5a(m)|0;j=(c[f>>2]|0)+1|0;c[f>>2]=j;g=c[e>>2]|0;if(!g){h=Vpb(4)|0;c[e>>2]=h;g=j}else{h=Ypb(g,j<<2)|0;c[e>>2]=h;g=c[f>>2]|0}c[h+(g+-1<<2)>>2]=k;if((c[a+88>>2]|0)<3){g6a(a+120|0,U5a(m)|0)|0;d6a(a+120|0,m)|0;if((h6a(a+120|0,n)|0)>0)if(h5a(n)|0){c[a+88>>2]=3;if(i5a(b,d,n)|0){g=-133;break a}}}k=r5a(a,m,65536,0)|0;g=C;if((k|0)==-128&(g|0)==-1){g=-128;break a}if((g|0)<0){g=-132;break a}if((c[a+88>>2]|0)==3){k=c[a+456>>2]|0;if((k|0)==(U5a(m)|0))break b}if(!(R5a(m)|0)){l=34;break a}}g=c[e>>2]|0;if(g|0)Wpb(g);c[e>>2]=0;c[f>>2]=0;g=-133;break a}while(0);d6a(a+120|0,m)|0;l=34}while(0);d:do if((l|0)==34)if((c[a+88>>2]|0)==3){h=0;g=0;e:while(1){j=g;f:while(1){k=(j|0)<2;if(!k){g=0;l=48;break e}switch(h6a(a+120|0,n)|0){case -1:{g=-133;break d}case 0:{g=j;break f}default:{}}g=i5a(b,d,n)|0;if(!g)j=((g|0)==0&1)+j|0;else break d}g:while(1){do{r5a(a,m,65536,0)|0;if((C|0)<0){g=-133;break d}l=c[a+456>>2]|0;if((l|0)==(U5a(m)|0))break g}while(!(R5a(m)|0));if(!h)h=1;else{g=-133;break d}}d6a(a+120|0,m)|0;if(!k){g=0;l=48;break}}if((l|0)==48){i=n;return g|0}}else g=-132;while(0);e5a(b);b5a(d);c[a+88>>2]=2;b=g;i=n;return b|0}function r5a(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;a:do if((e|0)>0|(e|0)==0&d>>>0>0){f=jBb(c[a+8>>2]|0,c[a+8+4>>2]|0,d|0,e|0)|0;g=C;if(!((g|0)>0|(g|0)==0&f>>>0>0))if((f|0)==0&(g|0)==0){e=a+24|0;i=16;break}else{f=a+24|0;g=a+704|0;h=a;i=15;break}h=c[a+8+4>>2]|0;if(!((h|0)<(g|0)|((h|0)==(g|0)?(c[a+8>>2]|0)>>>0>>0:0))){a=-1;i=-1;C=a;return i|0}while(1){d=b6a(a+24|0,b)|0;if((d|0)<0){h=qBb(c[a+8>>2]|0,c[a+8+4>>2]|0,d|0,((d|0)<0)<<31>>31|0)|0;c[a+8>>2]=h;c[a+8+4>>2]=C}else{if(d|0){i=29;break a}if((f|0)==0&(g|0)==0){d=-1;e=-1;i=30;break}e=Mlb()|0;c[e>>2]=0;if(!(c[a+704>>2]|0))break a;if(!(c[a>>2]|0)){d=-1;e=-2;i=30;break}d=$5a(a+24|0,2048)|0;d=cj[c[a+704>>2]&127](d,1,2048,c[a>>2]|0)|0;if((d|0)<=0){i=25;break a}a6a(a+24|0,d)|0}h=c[a+8+4>>2]|0;if(!((h|0)<(g|0)|((h|0)==(g|0)?(c[a+8>>2]|0)>>>0>>0:0))){d=-1;e=-1;i=30;break}}if((i|0)==30){C=d;return e|0}}else if((d|0)==0&(e|0)==0){e=a+24|0;i=16}else{f=a+24|0;g=a+704|0;h=a;i=15}while(0);b:do if((i|0)==15){while(1){d=b6a(f,b)|0;if((d|0)<0){e=qBb(c[a+8>>2]|0,c[a+8+4>>2]|0,d|0,((d|0)<0)<<31>>31|0)|0;c[a+8>>2]=e;c[a+8+4>>2]=C;continue}if(d|0){i=29;break b}e=Mlb()|0;c[e>>2]=0;if(!(c[g>>2]|0))break b;if(!(c[h>>2]|0)){d=-1;e=-2;break}d=$5a(f,2048)|0;d=cj[c[g>>2]&127](d,1,2048,c[h>>2]|0)|0;if((d|0)<=0){i=25;break b}a6a(f,d)|0}C=d;return e|0}else if((i|0)==16){d=b6a(e,b)|0;if((d|0)<0)do{d=qBb(c[a+8>>2]|0,c[a+8+4>>2]|0,d|0,((d|0)<0)<<31>>31|0)|0;c[a+8>>2]=d;c[a+8+4>>2]=C;d=b6a(e,b)|0}while((d|0)<0);if(!d){a=-1;i=-1;C=a;return i|0}else i=29}while(0);if((i|0)==29){i=c[a+8>>2]|0;b=c[a+8+4>>2]|0;h=jBb(i|0,b|0,d|0,((d|0)<0)<<31>>31|0)|0;c[a+8>>2]=h;c[a+8+4>>2]=C;a=b;C=a;return i|0}if((i|0)==25)if(!d)if(!(c[e>>2]|0)){a=-1;i=-2;C=a;return i|0}a=-1;i=-128;C=a;return i|0}function s5a(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;l=i;i=i+16|0;if((c[a+88>>2]|0)!=1){k=-131;i=l;return k|0}c[a+88>>2]=2;if(!(c[a+4>>2]|0)){c[a+88>>2]=3;k=0;i=l;return k|0}f=c[a+60>>2]|0;e=c[f>>2]|0;f=c[f+4>>2]|0;c[l>>2]=-1;c[l+4>>2]=-1;g=c[a+456>>2]|0;c[l+8>>2]=g;h=t5a(a,c[a+72>>2]|0)|0;j=C;b=c[a+708>>2]|0;do if(!b)k=5;else if(!(c[a+716>>2]|0))k=5;else{cj[b&127](c[a>>2]|0,0,0,2)|0;b=vi[c[a+716>>2]&2047](c[a>>2]|0)|0;c[a+16>>2]=b;c[a+16+4>>2]=((b|0)<0)<<31>>31;c[a+8>>2]=b;c[a+8+4>>2]=((b|0)<0)<<31>>31;if((b|0)==-1){b=-131;d=a;k=11}else{d=c[a+64>>2]|0;b=u5a(a,b,((b|0)<0)<<31>>31,d+8|0,c[d+4>>2]|0,l+8|0,l)|0;d=C;if((d|0)>=0){m=c[a+64>>2]|0;if((v5a(a,0,0,e,f,b,d,c[l>>2]|0,c[l+4>>2]|0,c[l+8>>2]|0,m+8|0,c[m+4>>2]|0,0)|0)<0){b=-128;d=a;k=11;break}b=c[a+56>>2]|0;c[b>>2]=0;c[b+4>>2]=0;c[c[a+64>>2]>>2]=g;b=c[a+60>>2]|0;c[b>>2]=e;c[b+4>>2]=f;b=c[a+68>>2]|0;c[b>>2]=h;c[b+4>>2]=j;j=qBb(c[b+8>>2]|0,c[b+8+4>>2]|0,h|0,j|0)|0;m=C;c[b+8>>2]=(m|0)<0?0:j;c[b+8+4>>2]=(m|0)<0?0:m;b=w5a(a,e,f)|0}if(!b){m=0;i=l;return m|0}else d=a}}while(0);if((k|0)==5){c[a+8>>2]=-1;c[a+8+4>>2]=-1;c[a+8+8>>2]=-1;c[a+8+12>>2]=-1;b=-131;d=a;k=11}c[d>>2]=0;n5a(a)|0;m=b;i=l;return m|0}function t5a(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;j=i;i=i+48|0;h=c[a+456>>2]|0;r5a(a,j+32|0,-1,-1)|0;a:do if((C|0)<0){d=0;e=0}else{e=0;d=0;f=-1;while(1){if(R5a(j+32|0)|0)break a;if((U5a(j+32|0)|0)==(h|0)){d6a(a+120|0,j+32|0)|0;b:while(1){g=f;while(1){f=h6a(a+120|0,j)|0;if(!f){f=g;break b}while(1){if((f|0)>0){f=l5a(b,j)|0;if((f|0)>-1)break}f=h6a(a+120|0,j)|0;if(!f){f=g;break b}}if((g|0)==-1)g=f;else break}g=jBb(f+g>>2|0,((f+g>>2|0)<0)<<31>>31|0,e|0,d|0)|0;e=g;d=C}g=T5a(j+32|0)|0;if(!((g|0)==-1&(C|0)==-1))break}r5a(a,j+32|0,-1,-1)|0;if((C|0)<0)break a}b=T5a(j+32|0)|0;e=qBb(b|0,C|0,e|0,d|0)|0;d=C}while(0);b=(d|0)<0;C=b?0:d;i=j;return (b?0:e)|0}function u5a(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;L=i;i=i+16|0;a:do if((e|0)==0|(f|0)==0){m=-1;n=-1;k=b;j=d;o=-1;b:while(1){while(1){t=jBb(k|0,j|0,-65536,-1)|0;j=C;t=(j|0)<0?0:t;j=(j|0)<0?0:j;k=c[a>>2]|0;if(!k){y=-1;z=-129;j=35;break b}if((c[a+8>>2]|0)==(t|0)?(c[a+8+4>>2]|0)==(j|0):0){l=j;k=t}else{l=c[a+708>>2]|0;if(!l){y=-1;z=-128;j=35;break b}if((cj[l&127](k,t,j,0)|0)==-1){y=-1;z=-128;j=35;break b}c[a+8>>2]=t;c[a+8+4>>2]=j;e6a(a+24|0)|0;l=c[a+8+4>>2]|0;k=c[a+8>>2]|0}if((l|0)<(d|0)|(l|0)==(d|0)&k>>>0>>0)break;else k=t}q=-1;s=-1;while(1){p=qBb(b|0,d|0,k|0,l|0)|0;p=r5a(a,L,p,C)|0;r=C;if((p|0)==-128&(r|0)==-1){y=-1;z=-128;j=35;break b}if((r|0)<0){l=q;k=s;break}o=U5a(L)|0;m=T5a(L)|0;n=C;if((o|0)==(c[g>>2]|0)){c[h>>2]=m;c[h+4>>2]=n}k=c[a+8>>2]|0;l=c[a+8+4>>2]|0;if(!((l|0)<(d|0)|(l|0)==(d|0)&k>>>0>>0)){l=p;k=r;break}else{q=p;s=r}}if((l|0)==-1&(k|0)==-1)k=t;else{G=m;H=n;I=l;J=k;K=o;break a}}if((j|0)==35){C=y;i=L;return z|0}}else{p=-1;q=-1;m=-1;n=-1;k=b;j=d;o=-1;c:while(1){while(1){v=jBb(k|0,j|0,-65536,-1)|0;j=C;v=(j|0)<0?0:v;j=(j|0)<0?0:j;l=c[a>>2]|0;if(!l){y=-1;z=-129;j=35;break c}if((c[a+8>>2]|0)==(v|0)?(c[a+8+4>>2]|0)==(j|0):0){l=j;k=v}else{k=c[a+708>>2]|0;if(!k){y=-1;z=-128;j=35;break c}if((cj[k&127](l,v,j,0)|0)==-1){y=-1;z=-128;j=35;break c}c[a+8>>2]=v;c[a+8+4>>2]=j;e6a(a+24|0)|0;l=c[a+8+4>>2]|0;k=c[a+8>>2]|0}if((l|0)<(d|0)|(l|0)==(d|0)&k>>>0>>0)break;else k=v}r=-1;s=-1;while(1){t=qBb(b|0,d|0,k|0,l|0)|0;t=r5a(a,L,t,C)|0;u=C;if((t|0)==-128&(u|0)==-1){y=-1;z=-128;j=35;break c}if((u|0)<0){l=r;k=s;break}o=U5a(L)|0;p=T5a(L)|0;q=C;if((o|0)==(c[g>>2]|0)){c[h>>2]=p;c[h+4>>2]=q;m=t;n=u}k=e;l=f;while(1){l=l+-1|0;if((c[k>>2]|0)==(o|0))break;if(!l){m=-1;n=-1;break}else k=k+4|0}k=c[a+8>>2]|0;l=c[a+8+4>>2]|0;if(!((l|0)<(d|0)|(l|0)==(d|0)&k>>>0>>0)){l=t;k=u;break}else{r=t;s=u}}if((l|0)==-1&(k|0)==-1)k=v;else{w=n;x=m;A=l;B=k;D=p;E=q;F=o;j=33;break}}if((j|0)==33){if((w|0)>-1|(w|0)==-1&x>>>0>4294967295){y=w;z=x}else{G=D;H=E;I=A;J=B;K=F;break}C=y;i=L;return z|0}else if((j|0)==35){C=y;i=L;return z|0}}while(0);c[g>>2]=K;c[h>>2]=G;c[h+4>>2]=H;K=J;g=I;C=K;i=L;return g|0}function v5a(a,b,d,e,f,g,h,j,k,l,m,n,o){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;var p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=i;i=i+112|0;c[A+8>>2]=j;c[A+8+4>>2]=k;c[A+96>>2]=l;c[A>>2]=-1;c[A+4>>2]=-1;y=c[a+456>>2]|0;a:do if((m|0)==0|(n|0)==0)z=13;else{p=m;q=n;while(1){q=q+-1|0;if((c[p>>2]|0)==(l|0))break;if(!q){z=13;break a}else p=p+4|0}if((y|0)!=(l|0)){p=g;q=h;while(1){c[A+96>>2]=y;p=u5a(a,p,q,m,n,A+96|0,A+8|0)|0;if((c[A+96>>2]|0)==(y|0))break;else q=C}}c[a+52>>2]=o+1;p=c[a+56>>2]|0;if(p|0)Wpb(p);p=c[a+64>>2]|0;if(p|0)Wpb(p);p=c[a+60>>2]|0;if(p|0)Wpb(p);l=c[a+52>>2]|0;c[a+56>>2]=Vpb((l<<3)+8|0)|0;c[a+72>>2]=Ypb(c[a+72>>2]|0,l<<5)|0;c[a+76>>2]=Ypb(c[a+76>>2]|0,c[a+52>>2]<<4)|0;l=c[a+52>>2]|0;c[a+64>>2]=Vpb(l<<2)|0;c[a+60>>2]=Vpb(l<<3)|0;l=Vpb(l<<4)|0;c[a+68>>2]=l;a=c[a+56>>2]|0;c[a+(o+1<<3)>>2]=g;c[a+(o+1<<3)+4>>2]=h;c[a+(o<<3)>>2]=b;c[a+(o<<3)+4>>2]=d;a=c[A+8+4>>2]|0;c[l+((o<<1|1)<<3)>>2]=(a|0)<0?0:c[A+8>>2]|0;c[l+((o<<1|1)<<3)+4>>2]=(a|0)<0?0:a}while(0);if((z|0)==13){c[A+76>>2]=0;c[A+72>>2]=0;c[A+16>>2]=y+1;b:do if((h|0)>(f|0)|(h|0)==(f|0)&g>>>0>e>>>0){p=f;b=g;d=h;q=g;f=h;while(1){if((m|0)==0|(n|0)==0)break;c:while(1){x=qBb(q|0,f|0,e|0,p|0)|0;w=C;if((w|0)<0|(w|0)==0&x>>>0<65536){w=e;x=p}else{w=jBb(q|0,f|0,e|0,p|0)|0;w=uBb(w|0,C|0,2,0)|0;x=C}r=c[a>>2]|0;if(!r){q=0;p=-129;break b}if(!((c[a+8>>2]|0)==(w|0)?(c[a+8+4>>2]|0)==(x|0):0)){s=c[a+708>>2]|0;if(!s){q=0;p=-128;break b}if((cj[s&127](r,w,x,0)|0)==-1){q=0;p=-128;break b}c[a+8>>2]=w;c[a+8+4>>2]=x;e6a(a+24|0)|0}u=r5a(a,A+80|0,-1,-1)|0;v=C;if((u|0)==-128&(v|0)==-1){q=0;p=-128;break b}if((v|0)>=0){t=U5a(A+80|0)|0;r=m;s=n;while(1){s=s+-1|0;if((c[r>>2]|0)==(t|0))break c;if(!s)break;else r=r+4|0}}b=(v|0)>-1|(v|0)==-1&u>>>0>4294967295?u:b;d=(v|0)>-1|(v|0)==-1&u>>>0>4294967295?v:d;if((x|0)>(p|0)|(x|0)==(p|0)&w>>>0>e>>>0){q=w;f=x}else{s=b;r=d;z=28;break b}}e=c[a+8>>2]|0;p=c[a+8+4>>2]|0;if(!((f|0)>(p|0)|(f|0)==(p|0)&q>>>0>e>>>0)){s=b;r=d;z=28;break b}}while(1){x=qBb(q|0,f|0,e|0,p|0)|0;w=C;if((w|0)<0|(w|0)==0&x>>>0<65536){r=e;s=p}else{r=jBb(q|0,f|0,e|0,p|0)|0;r=uBb(r|0,C|0,2,0)|0;s=C}q=c[a>>2]|0;if(!q){q=0;p=-129;break b}if(!((c[a+8>>2]|0)==(r|0)?(c[a+8+4>>2]|0)==(s|0):0)){f=c[a+708>>2]|0;if(!f){q=0;p=-128;break b}if((cj[f&127](q,r,s,0)|0)==-1){q=0;p=-128;break b}c[a+8>>2]=r;c[a+8+4>>2]=s;e6a(a+24|0)|0}q=r5a(a,A+80|0,-1,-1)|0;f=C;if((q|0)==-128&(f|0)==-1){q=0;p=-128;break b}b=(f|0)>-1|(f|0)==-1&q>>>0>4294967295?q:b;d=(f|0)>-1|(f|0)==-1&q>>>0>4294967295?f:d;if((s|0)>(p|0)|(s|0)==(p|0)&r>>>0>e>>>0){q=r;f=s}else{s=b;r=d;z=28;break}}}else{s=g;r=h;z=28}while(0);do if((z|0)==28){p=s;q=r;while(1){c[A+16>>2]=y;p=u5a(a,p,q,m,n,A+16|0,A)|0;if((c[A+16>>2]|0)==(y|0))break;else q=C}p=c[a>>2]|0;if(!p){q=0;p=-129}else{if(!((c[a+8>>2]|0)==(s|0)?(c[a+8+4>>2]|0)==(r|0):0)){q=c[a+708>>2]|0;if(!q){q=0;p=-128;break}if((cj[q&127](p,s,r,0)|0)==-1){q=0;p=-128;break}c[a+8>>2]=s;c[a+8+4>>2]=r;e6a(a+24|0)|0}p=q5a(a,A+40|0,A+24|0,A+76|0,A+72|0,0)|0;if(!p){q=c[a+456>>2]|0;e=c[a+8>>2]|0;f=c[a+8+4>>2]|0;b=t5a(a,A+40|0)|0;d=C;p=v5a(a,s,r,c[a+8>>2]|0,c[a+8+4>>2]|0,g,h,j,k,l,c[A+76>>2]|0,c[A+72>>2]|0,o+1|0)|0;if(!p){p=c[A+76>>2]|0;if(p|0)Wpb(p);p=(c[a+56>>2]|0)+(o+1<<3)|0;c[p>>2]=s;c[p+4>>2]=r;c[(c[a+64>>2]|0)+(o+1<<2)>>2]=q;p=(c[a+60>>2]|0)+(o+1<<3)|0;c[p>>2]=e;c[p+4>>2]=f;p=(c[a+72>>2]|0)+(o+1<<5)|0;c[p>>2]=c[A+40>>2];c[p+4>>2]=c[A+40+4>>2];c[p+8>>2]=c[A+40+8>>2];c[p+12>>2]=c[A+40+12>>2];c[p+16>>2]=c[A+40+16>>2];c[p+20>>2]=c[A+40+20>>2];c[p+24>>2]=c[A+40+24>>2];c[p+28>>2]=c[A+40+28>>2];p=(c[a+76>>2]|0)+(o+1<<4)|0;c[p>>2]=c[A+24>>2];c[p+4>>2]=c[A+24+4>>2];c[p+8>>2]=c[A+24+8>>2];c[p+12>>2]=c[A+24+12>>2];p=c[A+4>>2]|0;q=c[a+68>>2]|0;c[q+((o<<1|1)<<3)>>2]=c[A>>2];c[q+((o<<1|1)<<3)+4>>2]=p;c[q+((o<<1)+2<<3)>>2]=b;c[q+((o<<1)+2<<3)+4>>2]=d;a=qBb(c[q+((o<<1)+3<<3)>>2]|0,c[q+((o<<1)+3<<3)+4>>2]|0,b|0,d|0)|0;p=C;c[q+((o<<1)+3<<3)>>2]=(p|0)<0?0:a;c[q+((o<<1)+3<<3)+4>>2]=(p|0)<0?0:p;q=1;p=0}else q=0}else q=0}}while(0);if(!q){a=p;i=A;return a|0}}a=0;i=A;return a|0}function w5a(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+416|0;e=c[a+88>>2]|0;if((e|0)<2){o=-131;i=p;return o|0}if(!(c[a+4>>2]|0)){o=-138;i=p;return o|0}if((d|0)<0){o=-131;i=p;return o|0}n=c[a+16+4>>2]|0;if((n|0)<(d|0)|((n|0)==(d|0)?(c[a+16>>2]|0)>>>0>>0:0)){o=-131;i=p;return o|0}do if((e|0)>2){e=c[a+96>>2]|0;f=c[a+56>>2]|0;n=c[f+(e<<3)+4>>2]|0;if(!((n|0)>(d|0)|((n|0)==(d|0)?(c[f+(e<<3)>>2]|0)>>>0>b>>>0:0))){n=c[f+(e+1<<3)+4>>2]|0;if((n|0)>(d|0)|((n|0)==(d|0)?(c[f+(e+1<<3)>>2]|0)>>>0>b>>>0:0))break}O4a(a+480|0);C4a(a+592|0)|0;c[a+88>>2]=2}while(0);c[a+80>>2]=-1;c[a+80+4>>2]=-1;g6a(a+120|0,c[a+92>>2]|0)|0;U4a(a+480|0)|0;e=c[a>>2]|0;do if(e|0){if(!((c[a+8>>2]|0)==(b|0)?(c[a+8+4>>2]|0)==(d|0):0)){f=c[a+708>>2]|0;if(!f)break;if((cj[f&127](e,b,d,0)|0)==-1)break;c[a+8>>2]=b;c[a+8+4>>2]=d;e6a(a+24|0)|0}V5a(p+32|0,c[a+92>>2]|0)|0;f6a(p+32|0)|0;b=0;e=0;n=0;f=0;a:while(1){m=(n|0)==0;b:do if(m){h=f;while(1){while(1){if((c[a+88>>2]|0)>2)if((h6a(p+32|0,p)|0)>0){f=c[a+96>>2]|0;d=c[a+72>>2]|0;if(c[d+(f<<5)+28>>2]|0)break b;h6a(a+120|0,0)|0}j=r5a(a,p+392|0,-1,-1)|0;k=C;if((k|0)<0){o=46;break a}if((c[a+88>>2]|0)>2){l=c[a+92>>2]|0;if((l|0)!=(U5a(p+392|0)|0))if(R5a(p+392|0)|0){O4a(a+480|0);C4a(a+592|0)|0;c[a+88>>2]=2;W5a(p+32|0)|0}if((c[a+88>>2]|0)>=3)break}l=U5a(p+392|0)|0;g=c[a+52>>2]|0;c:do if((g|0)>0){d=c[a+64>>2]|0;f=0;do{if((c[d+(f<<2)>>2]|0)==(l|0))break c;f=f+1|0}while((f|0)<(g|0))}else f=0;while(0);if((f|0)!=(g|0)){e=f;o=48;break}}if((o|0)==48){o=0;c[a+96>>2]=e;c[a+92>>2]=l;g6a(a+120|0,l)|0;g6a(p+32|0,l)|0;c[a+88>>2]=3;e=(c[a+60>>2]|0)+(e<<3)|0;l=c[e+4>>2]|0;e=((k|0)<(l|0)|((k|0)==(l|0)?j>>>0<=(c[e>>2]|0)>>>0:0))&1}d6a(a+120|0,p+392|0)|0;d6a(p+32|0,p+392|0)|0;f=S5a(p+392|0)|0;if(m)h=f;else{g=f;o=32;break}}}else{g=f;o=32}while(0);if((o|0)==32){o=0;if((c[a+88>>2]|0)<=2){o=47;break}if((h6a(p+32|0,p)|0)<=0){o=47;break}f=c[a+96>>2]|0;d=c[a+72>>2]|0;if(!(c[d+(f<<5)+28>>2]|0)){o=45;break}else h=g}f=l5a(d+(f<<5)|0,p)|0;do if((f|0)<0){h6a(a+120|0,0)|0;f=0}else{if(!((h|0)==0|(e|0)!=0)){h6a(a+120|0,0)|0;break}if(!m)b=(f+n>>2)+b|0}while(0);d=c[p+16>>2]|0;g=c[p+16+4>>2]|0;if((d|0)==-1&(g|0)==-1){n=f;f=h}else{o=42;break}}if((o|0)==42){h=c[a+96>>2]|0;j=c[a+68>>2]|0;f=qBb(d|0,g|0,c[j+(h<<1<<3)>>2]|0,c[j+(h<<1<<3)+4>>2]|0)|0;e=C;f=(e|0)<0?0:f;e=(e|0)<0?0:e;if((h|0)>0){d=0;do{n=j+((d<<1|1)<<3)|0;f=jBb(c[n>>2]|0,c[n+4>>2]|0,f|0,e|0)|0;e=C;d=d+1|0}while((d|0)!=(h|0))}m=qBb(f|0,e|0,b|0,((b|0)<0)<<31>>31|0)|0;n=C;c[a+80>>2]=(n|0)<0?0:m;c[a+80+4>>2]=(n|0)<0?0:n}else if((o|0)==45){h6a(a+120|0,0)|0;o=47}else if((o|0)==46){n=x5a(a,-1)|0;c[a+80>>2]=n;c[a+80+4>>2]=C}if((o|0)==47){c[a+80>>2]=-1;c[a+80+4>>2]=-1}W5a(p+32|0)|0;c[a+104>>2]=0;c[a+104+4>>2]=0;c[a+104+8>>2]=0;c[a+104+12>>2]=0;o=0;i=p;return o|0}while(0);c[a+80>>2]=-1;c[a+80+4>>2]=-1;W5a(p+32|0)|0;O4a(a+480|0);C4a(a+592|0)|0;c[a+88>>2]=2;o=-137;i=p;return o|0}function x5a(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;do if((c[a+88>>2]|0)<2){d=-1;b=-131}else if(!(c[a+4>>2]|0)){d=-1;b=-131}else{f=c[a+52>>2]|0;if((f|0)>(b|0)){if((b|0)>=0){b=(c[a+68>>2]|0)+((b<<1|1)<<3)|0;d=c[b+4>>2]|0;b=c[b>>2]|0;break}if((f|0)>0){b=0;d=0;e=0;do{g=x5a(a,e)|0;b=jBb(g|0,C|0,b|0,d|0)|0;d=C;e=e+1|0}while((e|0)<(f|0))}else{d=0;b=0}}else{d=-1;b=-131}}while(0);C=d;return b|0}function y5a(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;t=i;i=i+48|0;e=z5a(a,b,d)|0;if((e|0)<0){a=e;i=t;return a|0}e=c[a+88>>2]|0;if((e|0)>3){m=a+592|0;s=a+480|0;n=a+4|0;o=a+104|0;p=a+104|0;q=a+72|0}else{if((e|0)<3){a=-129;i=t;return a|0}e=c[a+72>>2]|0;if(!(c[a+4>>2]|0)){if(V4a(a+480|0,e)|0){a=-137;i=t;return a|0}}else if(V4a(a+480|0,e+(c[a+96>>2]<<5)|0)|0){a=-137;i=t;return a|0}A4a(a+480|0,a+592|0)|0;c[a+88>>2]=4;c[a+104>>2]=0;c[a+104+4>>2]=0;c[a+104+8>>2]=0;c[a+104+12>>2]=0;m=a+592|0;s=a+480|0;n=a+4|0;o=a+104|0;p=a+104|0;q=a+72|0}e=0;a:while(1){f=i6a(a+120|0,t)|0;b:do if((f|0)>0)r=11;else{while(1){if((f|0)<0&(f|0)!=-3)break a;r5a(a,t+32|0,-1,-1)|0;if((C|0)<0)break a;if(!(R5a(t+32|0)|0)){if((c[a+88>>2]|0)>=3)break}else{O4a(s);C4a(m)|0;c[a+88>>2]=2}k=U5a(t+32|0)|0;j=c[a+52>>2]|0;c:do if((j|0)>0){g=c[a+64>>2]|0;f=0;do{if((c[g+(f<<2)>>2]|0)==(k|0))break c;f=f+1|0}while((f|0)<(j|0))}else f=0;while(0);if((f|0)!=(j|0)){e=f;r=30;break}f=i6a(a+120|0,t)|0;if((f|0)>0){r=11;break b}}if((r|0)==30){r=0;c[a+96>>2]=e;c[a+88>>2]=3;c[a+92>>2]=U5a(t+32|0)|0;g6a(a+120|0,k)|0;e=c[a+88>>2]|0;if((e|0)>3)e=0;else{if((e|0)<3){e=-129;r=36;break a}e=c[q>>2]|0;if(!(c[n>>2]|0)){if(V4a(s,e)|0){e=-137;r=36;break a}}else if(V4a(s,e+(c[a+96>>2]<<5)|0)|0){e=-137;r=36;break a}A4a(s,m)|0;c[a+88>>2]=4;c[p>>2]=0;c[p+4>>2]=0;c[p+8>>2]=0;c[p+12>>2]=0;e=0}}d6a(a+120|0,t+32|0)|0}while(0);do if((r|0)==11){r=0;l=l5a((c[q>>2]|0)+(c[a+96>>2]<<5)|0,t)|0;if((l|0)<0){h6a(a+120|0,0)|0;break}if(!e){e=c[a+80>>2]|0;f=c[a+80+4>>2]|0}else{e=l+e>>2;e=jBb(c[a+80>>2]|0,c[a+80+4>>2]|0,e|0,((e|0)<0)<<31>>31|0)|0;f=C;c[a+80>>2]=e;c[a+80+4>>2]=f}k=(c5a(c[q>>2]|0,1)|0)+l>>2;k=jBb(k|0,((k|0)<0)<<31>>31|0,e|0,f|0)|0;j=C;if(!((j|0)<(d|0)|(j|0)==(d|0)&k>>>0>>0))break a;h6a(a+120|0,0)|0;k5a(m,t)|0;W4a(s,m)|0;e=c[t+16>>2]|0;f=c[t+16+4>>2]|0;if((f|0)>-1|(f|0)==-1&e>>>0>4294967295){j=c[a+96>>2]|0;k=c[a+68>>2]|0;e=qBb(e|0,f|0,c[k+(j<<1<<3)>>2]|0,c[k+(j<<1<<3)+4>>2]|0)|0;f=C;e=(f|0)<0?0:e;f=(f|0)<0?0:f;c[a+80>>2]=e;c[a+80+4>>2]=f;if((j|0)>0){g=0;do{u=k+((g<<1|1)<<3)|0;e=jBb(e|0,f|0,c[u>>2]|0,c[u+4>>2]|0)|0;f=C;c[a+80>>2]=e;c[a+80+4>>2]=f;g=g+1|0}while((g|0)<(j|0));e=l}else e=l}else e=l}while(0)}if((r|0)==36){u=e;i=t;return u|0}h[o>>3]=0.0;h[a+112>>3]=0.0;g=m5a(c[q>>2]|0)|0;e=c[a+80>>2]|0;f=c[a+80+4>>2]|0;j=sBb(b|0,d|0,g|0)|0;j=pBb(j|0,C|0,g|0)|0;k=C;if(!((f|0)<(k|0)|(f|0)==(k|0)&e>>>0>>0)){u=0;i=t;return u|0}do{u=qBb(b|0,d|0,e|0,f|0)|0;u=sBb(u|0,C|0,g|0)|0;q=C;r=Y4a(s,0)|0;r=(((r|0)<0)<<31>>31|0)>(q|0)|(((r|0)<0)<<31>>31|0)==(q|0)&r>>>0>u>>>0?u:r;Z4a(s,r)|0;e=jBb(r<>31|0,c[a+80>>2]|0,c[a+80+4>>2]|0)|0;f=C;c[a+80>>2]=e;c[a+80+4>>2]=f;do if((((r|0)<0)<<31>>31|0)<(q|0)|(((r|0)<0)<<31>>31|0)==(q|0)&r>>>0>>0)if((A5a(a,1)|0)<1){e=x5a(a,-1)|0;f=C;c[a+80>>2]=e;c[a+80+4>>2]=f;break}else{f=c[a+80+4>>2]|0;e=c[a+80>>2]|0;break}while(0)}while((f|0)<(k|0)|(f|0)==(k|0)&e>>>0>>0);e=0;i=t;return e|0}function z5a(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0.0;G=i;i=i+64|0;e=x5a(a,-1)|0;f=C;if((c[a+88>>2]|0)<2){a=-131;i=G;return a|0}if(!(c[a+4>>2]|0)){a=-138;i=G;return a|0}if((d|0)<0|((f|0)<(d|0)|(f|0)==(d|0)&e>>>0>>0)){a=-131;i=G;return a|0}h=c[a+52>>2]|0;while(1){l=h+-1|0;if((h|0)<=0){F=6;break}g=c[a+68>>2]|0;j=c[g+((l<<1|1)<<3)>>2]|0;k=c[g+((l<<1|1)<<3)+4>>2]|0;e=qBb(e|0,f|0,j|0,k|0)|0;f=C;if((f|0)>(d|0)|(f|0)==(d|0)&e>>>0>b>>>0)h=l;else{m=l<<1;E=e;D=f;e=h;B=l;break}}if((F|0)==6){k=c[a+68>>2]|0;m=l<<1;g=k;j=c[k+((l<<1|1)<<3)>>2]|0;k=c[k+((l<<1|1)<<3)+4>>2]|0;E=e;D=f;e=h;B=l}p=(c[a+56>>2]|0)+(e<<3)|0;l=c[p>>2]|0;p=c[p+4>>2]|0;o=(c[a+60>>2]|0)+(B<<3)|0;h=c[o>>2]|0;o=c[o+4>>2]|0;m=g+(m<<3)|0;n=c[m>>2]|0;m=c[m+4>>2]|0;g=jBb(j|0,k|0,n|0,m|0)|0;j=C;z=qBb(b|0,d|0,E|0,D|0)|0;z=jBb(n|0,m|0,z|0,C|0)|0;A=C;do if((h|0)==(l|0)&(o|0)==(p|0)){e=c[a>>2]|0;if(!e){e=-129;F=102}else{if(!((c[a+8>>2]|0)==(l|0)?(c[a+8+4>>2]|0)==(p|0):0)){f=c[a+708>>2]|0;if(!f){e=-128;F=102;break}if((cj[f&127](e,l,p,0)|0)==-1){e=-128;F=102;break}c[a+8>>2]=l;c[a+8+4>>2]=p;e6a(a+24|0)|0}e=r5a(a,G+48|0,1,0)|0;if((C|0)<0)F=102;else{k=1;F=15}}}else{k=0;e=0;F=15}while(0);a:do if((F|0)==15){b:do if((p|0)>(o|0)|(p|0)==(o|0)&l>>>0>h>>>0){y=g;x=j;f=-1;g=-1;q=n;j=o;e=p;c:while(1){p=l;o=e;r=m;d:while(1){e=qBb(p|0,o|0,h|0,j|0)|0;l=C;if((l|0)<0|(l|0)==0&e>>>0<65536){l=h;n=j}else{v=qBb(z|0,A|0,q|0,r|0)|0;H=(+(e>>>0)+4294967296.0*+(l|0))*(+(v>>>0)+4294967296.0*+(C|0));v=qBb(y|0,x|0,q|0,r|0)|0;H=H/(+(v>>>0)+4294967296.0*+(C|0));v=+N(H)>=1.0?(H>0.0?~~+$(+M(H/4294967296.0),4294967295.0)>>>0:~~+Z((H-+(~~H>>>0))/4294967296.0)>>>0):0;n=jBb(h|0,j|0,-65536,-1)|0;v=jBb(n|0,C|0,~~H>>>0|0,v|0)|0;n=C;w=jBb(h|0,j|0,65536,0)|0;u=C;l=(n|0)<(u|0)|(n|0)==(u|0)&v>>>0>>0?h:v;n=(n|0)<(u|0)|(n|0)==(u|0)&v>>>0>>0?j:n}e=c[a>>2]|0;if(!e){e=-129;F=102;break a}if(!((c[a+8>>2]|0)==(l|0)?(c[a+8+4>>2]|0)==(n|0):0)){m=c[a+708>>2]|0;if(!m){e=-128;F=102;break a}if((cj[m&127](e,l,n,0)|0)==-1){e=-128;F=102;break a}c[a+8>>2]=l;c[a+8+4>>2]=n;e6a(a+24|0)|0}e:do if((o|0)>(j|0)|(o|0)==(j|0)&p>>>0>h>>>0){v=p;w=g;u=r;while(1){e=qBb(v|0,o|0,c[a+8>>2]|0,c[a+8+4>>2]|0)|0;e=r5a(a,G+48|0,e,C)|0;g=C;if((e|0)==-128&(g|0)==-1){e=-128;F=102;break a}do if((g|0)<0){g=jBb(h|0,j|0,1,0)|0;m=C;if(!((n|0)>(m|0)|(n|0)==(m|0)&l>>>0>g>>>0)){g=w;F=30;break c}if((l|0)==0&(n|0)==0){F=33;break c}l=jBb(l|0,n|0,-65536,-1)|0;n=C;e=(n|0)>(j|0)|(n|0)==(j|0)&l>>>0>h>>>0;l=e?l:g;n=e?n:m;e=c[a>>2]|0;if(!e){e=-129;F=102;break a}if((c[a+8>>2]|0)==(l|0)?(c[a+8+4>>2]|0)==(n|0):0){r=o;s=v;g=w;m=q;p=u;e=0;break}g=c[a+708>>2]|0;if(!g){e=-128;F=102;break a}if((cj[g&127](e,l,n,0)|0)==-1){e=-128;F=102;break a}c[a+8>>2]=l;c[a+8+4>>2]=n;e6a(a+24|0)|0;r=o;s=v;g=w;m=q;p=u;e=0}else{t=U5a(G+48|0)|0;if((t|0)!=(c[(c[a+64>>2]|0)+(B<<2)>>2]|0)){r=o;s=v;g=w;m=q;p=u;k=1;break}t=T5a(G+48|0)|0;p=C;if((t|0)==-1&(p|0)==-1){r=o;s=v;g=w;m=q;p=u;k=1;break}if((A|0)>(p|0)|(A|0)==(p|0)&z>>>0>t>>>0){k=c[a+8>>2]|0;f=c[a+8+4>>2]|0;w=qBb(z|0,A|0,t|0,p|0)|0;u=C;if((u|0)>0|(u|0)==0&w>>>0>44100){j=f;n=v;h=k;f=e;m=t;l=p;k=1;break e}else{j=f;r=o;h=k;s=v;l=k;n=f;f=e;m=t;k=1;break}}k=jBb(h|0,j|0,1,0)|0;m=C;if(!((n|0)>(m|0)|(n|0)==(m|0)&l>>>0>k>>>0)){g=w;F=46;break c}if(!((v|0)==(c[a+8>>2]|0)?(o|0)==(c[a+8+4>>2]|0):0)){k=q;m=u;g=w;break d}l=jBb(l|0,n|0,-65536,-1)|0;n=C;t=(n|0)>(j|0)|(n|0)==(j|0)&l>>>0>h>>>0;l=t?l:k;n=t?n:m;m=c[a>>2]|0;if(!m){e=-129;F=102;break a}if((v|0)==(l|0)&(o|0)==(n|0)){r=g;s=e;l=v;n=o;g=w;m=q;p=u;k=1;e=0;break}k=c[a+708>>2]|0;if(!k){e=-128;F=102;break a}if((cj[k&127](m,l,n,0)|0)==-1){e=-128;F=102;break a}c[a+8>>2]=l;c[a+8+4>>2]=n;e6a(a+24|0)|0;r=g;s=e;g=w;m=q;p=u;k=1;e=0}while(0);if((j|0)<(r|0)|(j|0)==(r|0)&h>>>0>>0){v=s;o=r;w=g;q=m;u=p}else{o=r;n=s;l=p;break}}}else{n=p;m=q;l=r;e=0}while(0);if((o|0)>(j|0)|(o|0)==(j|0)&n>>>0>h>>>0){p=n;q=m;r=l}else{p=f;f=k;break c}}if((n|0)>(j|0)|(n|0)==(j|0)&l>>>0>h>>>0){y=t;x=p;q=k;e=n;k=1}else{F=54;break}}if((F|0)==30){p=f;f=k}else if((F|0)==33){F=102;break a}else if((F|0)==46){p=f;f=1}else if((F|0)==54){p=f;f=1}if((p|0)==-1&(g|0)==-1){g=j;F=56}else{e=c[a>>2]|0;f:do if(!e){e=-129;F=68}else{if(!((c[a+8>>2]|0)==(p|0)?(c[a+8+4>>2]|0)==(g|0):0)){f=c[a+708>>2]|0;if(!f){e=-128;F=68;break}if((cj[f&127](e,p,g,0)|0)==-1){e=-128;F=68;break}c[a+8>>2]=p;c[a+8+4>>2]=g;e6a(a+24|0)|0}c[a+80>>2]=-1;c[a+80+4>>2]=-1;e=r5a(a,G+32|0,-1,-1)|0;if((C|0)<0)break;if((B|0)==(c[a+96>>2]|0)){U4a(a+480|0)|0;o=a+92|0;e=c[a+92>>2]|0}else{O4a(a+480|0);C4a(a+592|0)|0;c[a+96>>2]=B;e=c[(c[a+64>>2]|0)+(B<<2)>>2]|0;c[a+92>>2]=e;c[a+88>>2]=3;o=a+92|0}g6a(a+120|0,e)|0;d6a(a+120|0,G+32|0)|0;g:while(1){e=i6a(a+120|0,G)|0;if(!e){A=(c[a+60>>2]|0)+(B<<3)|0;z=c[A+4>>2]|0;if((g|0)>(z|0)|((g|0)==(z|0)?p>>>0>(c[A>>2]|0)>>>0:0)){n=g;m=p;while(1){k=m;l=n;do{A=jBb(k|0,l|0,-65536,-1)|0;e=C;k=(e|0)<0?0:A;l=(e|0)<0?0:e;e=c[a>>2]|0;if(!e){e=-129;break f}if((c[a+8>>2]|0)==(k|0)?(c[a+8+4>>2]|0)==(l|0):0){f=-1;e=-1}else{f=c[a+708>>2]|0;if(!f){e=-128;break f}if((cj[f&127](e,k,l,0)|0)==-1){e=-128;break f}c[a+8>>2]=k;c[a+8+4>>2]=l;e6a(a+24|0)|0;f=-1;e=-1}while(1){h=c[a+8>>2]|0;j=c[a+8+4>>2]|0;if(!((n|0)>(j|0)|(n|0)==(j|0)&m>>>0>h>>>0))break;c[G+32>>2]=0;c[G+32+4>>2]=0;c[G+32+8>>2]=0;c[G+32+12>>2]=0;h=qBb(m|0,n|0,h|0,j|0)|0;h=r5a(a,G+32|0,h,C)|0;j=C;if((h|0)==-128&(j|0)==-1){e=-128;break f}if((j|0)<0)break;else{f=h;e=j}}}while((f|0)==-1&(e|0)==-1);if(!(c[G+32+4>>2]|0)){h=c[a>>2]|0;if(!h){e=-129;break f}if(!((c[a+8>>2]|0)==(f|0)?(c[a+8+4>>2]|0)==(e|0):0)){j=c[a+708>>2]|0;if(!j){e=-128;break f}if((cj[j&127](h,f,e,0)|0)==-1){e=-128;break f}c[a+8>>2]=f;c[a+8+4>>2]=e;e6a(a+24|0)|0}r5a(a,G+32|0,65536,0)|0;if((C|0)<0){e=-129;break f}}A=U5a(G+32|0)|0;if((A|0)==(c[o>>2]|0)){A=T5a(G+32|0)|0;z=C;if((z|0)>-1|(z|0)==-1&A>>>0>4294967295)break g;if(!(Q5a(G+32|0)|0))break g}A=(c[a+60>>2]|0)+(B<<3)|0;z=c[A+4>>2]|0;if((e|0)>(z|0)|((e|0)==(z|0)?f>>>0>(c[A>>2]|0)>>>0:0)){n=e;m=f}else break}}else e=g}else e=((e|0)<0)<<31>>31;if((e|0)<0){e=-136;break f}e=c[G+16>>2]|0;f=c[G+16+4>>2]|0;if(!((e|0)==-1&(f|0)==-1)){F=101;break}h6a(a+120|0,0)|0}if((F|0)==101){B=(c[a+68>>2]|0)+(c[a+96>>2]<<1<<3)|0;e=qBb(e|0,f|0,c[B>>2]|0,c[B+4>>2]|0)|0;f=C;f=jBb(((f|0)<0?0:e)|0,((f|0)<0?0:f)|0,E|0,D|0)|0;e=C;c[a+80>>2]=f;c[a+80+4>>2]=e;break b}a=w5a(a,f,e)|0;i=G;return a|0}while(0);if((F|0)==68){c[a+80>>2]=-1;c[a+80+4>>2]=-1}break a}}else{g=o;f=k;F=56}while(0);if((F|0)==56){if(!f){F=102;break}A=(c[a+60>>2]|0)+(B<<3)|0;if(!((h|0)==(c[A>>2]|0)?(g|0)==(c[A+4>>2]|0):0)){F=102;break}A=U5a(G+48|0)|0;if((A|0)!=(c[(c[a+64>>2]|0)+(B<<2)>>2]|0)){F=102;break}c[a+80>>2]=E;c[a+80+4>>2]=D;if((B|0)==(c[a+96>>2]|0)){U4a(a+480|0)|0;e=c[a+92>>2]|0}else{O4a(a+480|0);C4a(a+592|0)|0;c[a+96>>2]=B;e=c[(c[a+64>>2]|0)+(B<<2)>>2]|0;c[a+92>>2]=e;c[a+88>>2]=3}g6a(a+120|0,e)|0;d6a(a+120|0,G+48|0)|0;e=c[a+80+4>>2]|0;f=c[a+80>>2]|0}if((e|0)>(d|0)|(e|0)==(d|0)&f>>>0>b>>>0)e=-129;else{E=x5a(a,-1)|0;D=C;if((D|0)<(d|0)|(D|0)==(d|0)&E>>>0>>0)e=-129;else{c[a+104>>2]=0;c[a+104+4>>2]=0;c[a+104+8>>2]=0;c[a+104+12>>2]=0;a=0;i=G;return a|0}}}while(0);c[a+80>>2]=-1;c[a+80+4>>2]=-1;O4a(a+480|0);C4a(a+592|0)|0;c[a+88>>2]=2;a=e;i=G;return a|0}function A5a(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,j=0,k=0,l=0.0;k=i;i=i+48|0;a:while(1){d=c[a+88>>2]|0;switch(d|0){case 3:{d=c[a+72>>2]|0;if(!(c[a+4>>2]|0)){if(V4a(a+480|0,d)|0){d=-137;j=43;break a}}else if(V4a(a+480|0,d+(c[a+96>>2]<<5)|0)|0){d=-137;j=43;break a}A4a(a+480|0,a+592|0)|0;c[a+88>>2]=4;c[a+104>>2]=0;c[a+104+4>>2]=0;c[a+104+8>>2]=0;c[a+104+12>>2]=0;j=7;break}case 4:{j=7;break}default:{}}if((j|0)==7){j=0;g=m5a(c[a+72>>2]|0)|0;d=h6a(a+120|0,k)|0;if((d|0)==-1){d=-3;break}while(1){if((d|0)<=0)break;d=c[k+16>>2]|0;e=c[k+16+4>>2]|0;if(!(j5a(a+592|0,k)|0)){j=11;break a}d=h6a(a+120|0,k)|0;if((d|0)==-1){d=-3;break a}}d=c[a+88>>2]|0}do if((d|0)>1){while(1){r5a(a,k+32|0,-1,-1)|0;if((C|0)<0){d=-2;j=43;break a}h[a+104>>3]=+h[a+104>>3]+ +(c[k+32+4>>2]<<3|0);d=c[a+88>>2]|0;if((d|0)!=4)break;g=c[a+92>>2]|0;if((g|0)==(U5a(k+32|0)|0)){j=31;break}if(R5a(k+32|0)|0){j=28;break}}if((j|0)==28){if(!b){d=-2;j=43;break a}O4a(a+480|0);C4a(a+592|0)|0;c[a+88>>2]=2;if(c[a+4>>2]|0){j=34;break}e5a(c[a+72>>2]|0);b5a(c[a+76>>2]|0);j=31}if((j|0)==31){j=0;d=c[a+88>>2]|0;if((d|0)==4)break}if((d|0)<3)j=33}else j=33;while(0);if((j|0)==33){j=0;if(!(c[a+4>>2]|0)){d=q5a(a,c[a+72>>2]|0,c[a+76>>2]|0,0,0,k+32|0)|0;if(d|0){j=43;break}c[a+92>>2]=c[a+456>>2];c[a+96>>2]=(c[a+96>>2]|0)+1}else j=34}if((j|0)==34){j=0;f=U5a(k+32|0)|0;g=c[a+52>>2]|0;b:do if((g|0)>0){e=c[a+64>>2]|0;d=0;do{if((c[e+(d<<2)>>2]|0)==(f|0))break b;d=d+1|0}while((d|0)<(g|0))}else d=0;while(0);if((d|0)==(g|0))continue;c[a+92>>2]=f;c[a+96>>2]=d;g6a(a+120|0,f)|0;c[a+88>>2]=3}d6a(a+120|0,k+32|0)|0}if((j|0)==11)if(!(Y4a(a+480|0,0)|0)){W4a(a+480|0,a+592|0)|0;l=+((Y4a(a+480|0,0)|0)<>3]=+h[a+112>>3]+l;h[a+104>>3]=+h[a+104>>3]+ +(c[k+4>>2]<<3|0);if((d|0)==-1&(e|0)==-1)d=1;else if(!(c[k+12>>2]|0)){if(!(c[a+4>>2]|0))f=0;else{f=c[a+96>>2]|0;if((f|0)>0){j=(c[a+68>>2]|0)+(f<<1<<3)|0;d=qBb(d|0,e|0,c[j>>2]|0,c[j+4>>2]|0)|0;e=C}}b=(e|0)<0;j=(Y4a(a+480|0,0)|0)<>31|0)|0;d=C;if((f|0)>0){b=c[a+68>>2]|0;g=0;do{j=b+((g<<1|1)<<3)|0;e=jBb(c[j>>2]|0,c[j+4>>2]|0,e|0,d|0)|0;d=C;g=g+1|0}while((g|0)!=(f|0))}c[a+80>>2]=e;c[a+80+4>>2]=d;d=1}else d=1}else d=-129;else if((j|0)==43){i=k;return d|0}a=d;i=k;return a|0}function B5a(a){a=a|0;return c[a+4>>2]|0}function C5a(a,b){a=a|0;b=b|0;var d=0.0,e=0;if((c[a+88>>2]|0)<2){d=-131.0;return +d}if(!(c[a+4>>2]|0)){d=-131.0;return +d}e=c[a+52>>2]|0;if((e|0)<=(b|0)){d=-131.0;return +d}if((b|0)>=0){e=(c[a+68>>2]|0)+((b<<1|1)<<3)|0;d=(+((c[e>>2]|0)>>>0)+4294967296.0*+(c[e+4>>2]|0))/+(c[(c[a+72>>2]|0)+(b<<5)+8>>2]|0);return +d}if((e|0)>0){d=0.0;b=0}else{d=0.0;return +d}do{d=d+ +C5a(a,b);b=b+1|0}while((b|0)<(e|0));return +d}function D5a(a,b){a=a|0;b=+b;var d=0.0,e=0,f=0,g=0,h=0.0,i=0,j=0;if((c[a+88>>2]|0)<2){a=-131;return a|0}if(!(c[a+4>>2]|0)){a=-138;return a|0}if(b<0.0){a=-131;return a|0}i=c[a+52>>2]|0;a:do if((i|0)>0){e=0;g=0;f=0;h=0.0;while(1){d=h+ +C5a(a,f);if(d>b){d=h;break a}j=(c[a+68>>2]|0)+((f<<1|1)<<3)|0;e=jBb(c[j>>2]|0,c[j+4>>2]|0,e|0,g|0)|0;g=C;f=f+1|0;if((f|0)<(i|0))h=d;else break}}else{e=0;g=0;f=0;d=0.0}while(0);if((f|0)==(i|0)){j=-131;return j|0}b=+(e>>>0)+4294967296.0*+(g|0)+(b-d)*+(c[(c[a+72>>2]|0)+(f<<5)+8>>2]|0);j=y5a(a,~~b>>>0,+N(b)>=1.0?(b>0.0?~~+$(+M(b/4294967296.0),4294967295.0)>>>0:~~+Z((b-+(~~b>>>0))/4294967296.0)>>>0):0)|0;return j|0}function E5a(a,b){a=a|0;b=b|0;if(!(c[a+4>>2]|0)){a=c[a+72>>2]|0;return a|0}if((b|0)<0){b=c[a+72>>2]|0;if((c[a+88>>2]|0)<=2){a=b;return a|0}a=b+(c[a+96>>2]<<5)|0;return a|0}else{if((c[a+52>>2]|0)<=(b|0)){a=0;return a|0}a=(c[a+72>>2]|0)+(b<<5)|0;return a|0}return 0}function F5a(a,b){a=a|0;b=b|0;if(!(c[a+4>>2]|0)){a=c[a+76>>2]|0;return a|0}if((b|0)<0){b=c[a+76>>2]|0;if((c[a+88>>2]|0)<=2){a=b;return a|0}a=b+(c[a+96>>2]<<4)|0;return a|0}else{if((c[a+52>>2]|0)<=(b|0)){a=0;return a|0}a=(c[a+76>>2]|0)+(b<<4)|0;return a|0}return 0}function G5a(d,e,f,h,j,k,l,m,n){d=d|0;e=e|0;f=f|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;var o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=i;i=i+16|0;o=c[d+88>>2]|0;if((o|0)<2){d=-131;i=u;return d|0}while(1){if((o|0)==4){q=Y4a(d+480|0,u)|0;if(q|0){p=8;break}}o=A5a(d,1)|0;if((o|0)==-2){o=0;p=41;break}if((o|0)<1){p=41;break}o=c[d+88>>2]|0}if((p|0)==8){if((q|0)<=0){d=q;i=u;return d|0}if(!(c[d+4>>2]|0))o=c[d+72>>2]|0;else{o=c[d+72>>2]|0;if((c[d+88>>2]|0)>2)o=o+(c[d+96>>2]<<5)|0}s=c[o+4>>2]|0;t=_(s,j)|0;r=(q|0)>((f|0)/(t|0)|0|0)?(f|0)/(t|0)|0:q;if((r|0)<1){d=-131;i=u;return d|0}if(m|0)kj[m&127](c[u>>2]|0,s,r,n);a:do if((j|0)==1){m=k|0?0:128;if((r|0)>0&(s|0)>0){o=e;f=0;while(1){p=o;q=0;while(1){e=~~+M(+(+g[(c[(c[u>>2]|0)+(q<<2)>>2]|0)+(f<<2)>>2]*128.0+.5));a[p>>0]=((e|0)>127?127:(e|0)<-128?-128:e)+m;q=q+1|0;if((q|0)==(s|0))break;else p=p+1|0}f=f+1|0;if((f|0)>=(r|0))break;else o=o+s|0}}}else{n=k|0?0:32768;if(h|0){if(!((r|0)>0&(s|0)>0))break;o=e;f=0;while(1){p=o;q=0;while(1){e=~~+M(+(+g[(c[(c[u>>2]|0)+(q<<2)>>2]|0)+(f<<2)>>2]*32768.0+.5));e=((e|0)>32767?32767:(e|0)<-32768?-32768:e)+n|0;a[p>>0]=e>>>8;a[p+1>>0]=e;q=q+1|0;if((q|0)==(s|0))break;else p=p+2|0}f=f+1|0;if((f|0)>=(r|0))break a;else o=o+(s<<1)|0}}if(k|0){if((s|0)<=0)break;o=c[u>>2]|0;if((r|0)>0)f=0;else break;do{p=c[o+(f<<2)>>2]|0;q=e+(f<<1)|0;m=0;while(1){k=~~+M(+(+g[p+(m<<2)>>2]*32768.0+.5));b[q>>1]=(k|0)>32767?32767:((k|0)<-32768?-32768:k)&65535;m=m+1|0;if((m|0)>=(r|0))break;else q=q+(s<<1)|0}f=f+1|0}while((f|0)!=(s|0))}else{if((s|0)<=0)break;o=c[u>>2]|0;if((r|0)>0)f=0;else break;do{p=c[o+(f<<2)>>2]|0;q=e+(f<<1)|0;m=0;while(1){k=~~+M(+(+g[p+(m<<2)>>2]*32768.0+.5));b[q>>1]=((k|0)>32767?32767:(k|0)<-32768?-32768:k)+n;m=m+1|0;if((m|0)>=(r|0))break;else q=q+(s<<1)|0}f=f+1|0}while((f|0)!=(s|0))}}while(0);Z4a(d+480|0,r)|0;s=r<<(m5a(c[d+72>>2]|0)|0);s=jBb(s|0,((s|0)<0)<<31>>31|0,c[d+80>>2]|0,c[d+80+4>>2]|0)|0;c[d+80>>2]=s;c[d+80+4>>2]=C;if(l|0)c[l>>2]=c[d+96>>2];d=_(r,t)|0;i=u;return d|0}else if((p|0)==41){i=u;return o|0}return 0}function H5a(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;return G5a(a,b,c,d,e,f,g,0,0)|0}function I5a(b){b=b|0;var d=0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;d=Vpb(256)|0;c[b+8>>2]=d;c[b+12>>2]=d;a[d>>0]=0;c[b+16>>2]=256;return}function J5a(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0;do if(f>>>0<=32){h=c[b+16>>2]|0;g=c[b+12>>2]|0;if((c[b>>2]|0)>=(h+-4|0)){if(!g)return;if((h|0)>2147483391)break;g=Ypb(c[b+8>>2]|0,h+256|0)|0;if(!g)break;c[b+8>>2]=g;c[b+16>>2]=(c[b+16>>2]|0)+256;g=g+(c[b>>2]|0)|0;c[b+12>>2]=g}h=c[123048+(f<<2)>>2]&e;e=c[b+4>>2]|0;a[g>>0]=d[g>>0]|0|h<7){a[(c[b+12>>2]|0)+1>>0]=h>>>(8-(c[b+4>>2]|0)|0);if((e+f|0)>15){a[(c[b+12>>2]|0)+2>>0]=h>>>(16-(c[b+4>>2]|0)|0);if((e+f|0)>23){a[(c[b+12>>2]|0)+3>>0]=h>>>(24-(c[b+4>>2]|0)|0);if((e+f|0)>31){g=c[b+4>>2]|0;if(!g){a[(c[b+12>>2]|0)+4>>0]=0;break}else{a[(c[b+12>>2]|0)+4>>0]=h>>>(32-g|0);break}}}}}while(0);c[b>>2]=(c[b>>2]|0)+((e+f|0)/8|0);c[b+12>>2]=(c[b+12>>2]|0)+((e+f|0)/8|0);c[b+4>>2]=e+f&7;return}while(0);g=c[b+8>>2]|0;if(g|0)Wpb(g);c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;c[b+16>>2]=0;return}function K5a(a){a=a|0;var b=0;b=c[a+8>>2]|0;if(b|0)Wpb(b);c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;return}function L5a(a,b,d){a=a|0;b=b|0;d=d|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+12>>2]=b;c[a+8>>2]=b;c[a+16>>2]=d;return}function M5a(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0;if(b>>>0>32){h=-1;return h|0}h=c[123048+(b<<2)>>2]|0;g=c[a+4>>2]|0;e=c[a>>2]|0;f=c[a+16>>2]|0;if((e|0)>=(f+-4|0)){if((e|0)>(f-(g+b+7>>3)|0)){h=-1;return h|0}if(!(g+b|0)){h=0;return h|0}}f=c[a+12>>2]|0;e=(d[f>>0]|0)>>>g;if((g+b|0)>8){e=(d[f+1>>0]|0)<<8-g|e;if((g+b|0)>16){e=(d[f+2>>0]|0)<<16-g|e;if((g+b|0)>24){e=(d[f+3>>0]|0)<<24-g|e;if(!((g+b|0)<33|(g|0)==0))e=(d[f+4>>0]|0)<<32-g|e}}}h=e&h;return h|0}function N5a(a,b){a=a|0;b=b|0;var d=0,e=0;b=(c[a+4>>2]|0)+b|0;d=c[a>>2]|0;e=c[a+16>>2]|0;if((d|0)>(e-(b+7>>3)|0)){c[a+12>>2]=0;c[a>>2]=e;e=1;c[a+4>>2]=e;return}else{c[a+12>>2]=(c[a+12>>2]|0)+((b|0)/8|0);c[a>>2]=d+((b|0)/8|0);e=b&7;c[a+4>>2]=e;return}}function O5a(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,i=0;do if(b>>>0>32){f=a;g=a+4|0;e=c[a+16>>2]|0}else{g=c[123048+(b<<2)>>2]|0;h=c[a+4>>2]|0;i=c[a>>2]|0;e=c[a+16>>2]|0;if((i|0)>=(e+-4|0)){if((i|0)>(e-(h+b+7>>3)|0)){f=a;g=a+4|0;break}if(!(h+b|0)){a=0;return a|0}}f=c[a+12>>2]|0;e=(d[f>>0]|0)>>>h;if((h+b|0)>8){e=(d[f+1>>0]|0)<<8-h|e;if((h+b|0)>16){e=(d[f+2>>0]|0)<<16-h|e;if((h+b|0)>24){e=(d[f+3>>0]|0)<<24-h|e;if(!((h+b|0)<33|(h|0)==0))e=(d[f+4>>0]|0)<<32-h|e}}}c[a+12>>2]=f+((h+b|0)/8|0);c[a>>2]=i+((h+b|0)/8|0);c[a+4>>2]=h+b&7;a=e&g;return a|0}while(0);c[a+12>>2]=0;c[f>>2]=e;c[g>>2]=1;a=-1;return a|0}function P5a(a){a=a|0;return (((c[a+4>>2]|0)+7|0)/8|0)+(c[a>>2]|0)|0}function Q5a(a){a=a|0;return (d[(c[a>>2]|0)+5>>0]|0)&1|0}function R5a(a){a=a|0;return (d[(c[a>>2]|0)+5>>0]|0)&2|0}function S5a(a){a=a|0;return (d[(c[a>>2]|0)+5>>0]|0)&4|0}function T5a(a){a=a|0;var b=0;a=c[a>>2]|0;b=pBb(d[a+13>>0]|0|0,0,8)|0;b=pBb(b|(d[a+12>>0]|0)|0,C|0,8)|0;b=pBb(b|(d[a+11>>0]|0)|0,C|0,8)|0;b=pBb(b|(d[a+10>>0]|0)|0,C|0,8)|0;b=pBb(b|(d[a+9>>0]|0)|0,C|0,8)|0;b=pBb(b|(d[a+8>>0]|0)|0,C|0,8)|0;b=pBb(b|(d[a+7>>0]|0)|0,C|0,8)|0;return b|(d[a+6>>0]|0)|0}function U5a(a){a=a|0;a=c[a>>2]|0;return (d[a+15>>0]|0)<<8|(d[a+14>>0]|0)|(d[a+16>>0]|0)<<16|(d[a+17>>0]|0)<<24|0}function V5a(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if(!a){a=-1;return a|0}hBb(a|0,0,360)|0;c[a+4>>2]=16384;c[a+24>>2]=1024;e=Vpb(16384)|0;c[a>>2]=e;d=Vpb(4096)|0;c[a+16>>2]=d;f=Vpb(8192)|0;c[a+20>>2]=f;do if(e){if((f|0)==0|(d|0)==0){Wpb(e);d=c[a+16>>2]|0;break}c[a+336>>2]=b;a=0;return a|0}while(0);if(d|0)Wpb(d);d=c[a+20>>2]|0;if(d|0)Wpb(d);hBb(a|0,0,360)|0;a=-1;return a|0}function W5a(a){a=a|0;var b=0;if(!a)return 0;b=c[a>>2]|0;if(b|0)Wpb(b);b=c[a+16>>2]|0;if(b|0)Wpb(b);b=c[a+20>>2]|0;if(b|0)Wpb(b);hBb(a|0,0,360)|0;return 0}function X5a(a){a=a|0;if(!a)return -1;else return ((c[a>>2]|0)==0)<<31>>31|0;return 0}function Y5a(a,b){a=a|0;b=b|0;var d=0;d=c[a+24>>2]|0;if((d-b|0)>(c[a+28>>2]|0)){a=0;return a|0}if((d|0)>(2147483647-b|0)){d=c[a>>2]|0;if(d|0)Wpb(d);d=c[a+16>>2]|0;if(d|0)Wpb(d);d=c[a+20>>2]|0;if(d|0)Wpb(d);hBb(a|0,0,360)|0;a=-1;return a|0}b=(d+b|0)<2147483615?d+b+32|0:d+b|0;d=Ypb(c[a+16>>2]|0,b<<2)|0;if(!d){d=c[a>>2]|0;if(d|0)Wpb(d);d=c[a+16>>2]|0;if(d|0)Wpb(d);d=c[a+20>>2]|0;if(d|0)Wpb(d);hBb(a|0,0,360)|0;a=-1;return a|0}c[a+16>>2]=d;d=Ypb(c[a+20>>2]|0,b<<3)|0;if(d|0){c[a+20>>2]=d;c[a+24>>2]=b;a=0;return a|0}d=c[a>>2]|0;if(d|0)Wpb(d);d=c[a+16>>2]|0;if(d|0)Wpb(d);d=c[a+20>>2]|0;if(d|0)Wpb(d);hBb(a|0,0,360)|0;a=-1;return a|0}function Z5a(a){a=a|0;if(!a)return 0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[a+20>>2]=0;c[a+24>>2]=0;return 0}function _5a(a){a=a|0;var b=0;if(!a)return 0;b=c[a>>2]|0;if(b|0)Wpb(b);c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[a+20>>2]=0;c[a+24>>2]=0;return 0}function $5a(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=c[a+4>>2]|0;if((d|0)<=-1){a=0;return a|0}e=c[a+12>>2]|0;if(!e)e=d;else{f=(c[a+8>>2]|0)-e|0;c[a+8>>2]=f;if((f|0)>0){d=c[a>>2]|0;nBb(d|0,d+e|0,f|0)|0;d=c[a+4>>2]|0}c[a+12>>2]=0;e=d}d=c[a+8>>2]|0;do if((e-d|0)<(b|0)){e=c[a>>2]|0;if(!e)e=Vpb(b+4096+d|0)|0;else e=Ypb(e,b+4096+d|0)|0;if(e|0){c[a>>2]=e;c[a+4>>2]=b+4096+d;d=c[a+8>>2]|0;break}d=c[a>>2]|0;if(d|0)Wpb(d);c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[a+20>>2]=0;c[a+24>>2]=0;a=0;return a|0}else e=c[a>>2]|0;while(0);a=e+d|0;return a|0}function a6a(a,b){a=a|0;b=b|0;var d=0;d=c[a+4>>2]|0;if((d|0)<=-1){a=-1;return a|0}b=(c[a+8>>2]|0)+b|0;if((b|0)>(d|0)){a=-1;return a|0}c[a+8>>2]=b;a=0;return a|0}function b6a(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;l=c[b+12>>2]|0;m=(c[b>>2]|0)+l|0;l=(c[b+8>>2]|0)-l|0;if((c[b+4>>2]|0)<=-1){b=0;i=n;return b|0}f=c[b+20>>2]|0;do if(!f){if((l|0)<27){b=0;i=n;return b|0}if(qmb(m,593031,4)|0){f=b+24|0;break}f=a[m+26>>0]|0;if((l|0)<((f&255)+27|0)){b=0;i=n;return b|0}if(f<<24>>24){g=c[b+24>>2]|0;h=0;do{g=g+(d[m+(h+27)>>0]|0)|0;c[b+24>>2]=g;h=h+1|0}while((h|0)<(d[m+26>>0]|0|0))}c[b+20>>2]=(f&255)+27;f=(f&255)+27|0;g=11}else g=11;while(0);do if((g|0)==11){if((f+(c[b+24>>2]|0)|0)>(l|0)){b=0;i=n;return b|0}k=d[m+22>>0]|d[m+22+1>>0]<<8|d[m+22+2>>0]<<16|d[m+22+3>>0]<<24;c[n>>2]=k;a[m+22>>0]=0;a[m+22+1>>0]=0;a[m+22+2>>0]=0;a[m+22+3>>0]=0;h=c[b+20>>2]|0;j=c[b+24>>2]|0;a[m+22>>0]=0;a[m+22+1>>0]=0;a[m+22+2>>0]=0;a[m+22+3>>0]=0;if((h|0)>0){f=0;g=0;do{f=c[123180+(((d[m+g>>0]|0)^f>>>24)<<2)>>2]^f<<8;g=g+1|0}while((g|0)!=(h|0))}else f=0;if((j|0)>0){g=0;do{f=c[123180+(((d[m+h+g>>0]|0)^f>>>24)<<2)>>2]^f<<8;g=g+1|0}while((g|0)!=(j|0))}a[m+22>>0]=f;a[m+23>>0]=f>>>8;a[m+24>>0]=f>>>16;a[m+25>>0]=f>>>24;if(qmb(n,m+22|0,4)|0){a[m+22>>0]=k;a[m+22+1>>0]=k>>8;a[m+22+2>>0]=k>>16;a[m+22+3>>0]=k>>24;f=b+24|0;break}h=c[b+12>>2]|0;f=(c[b>>2]|0)+h|0;if(!e){f=c[b+24>>2]|0;g=c[b+20>>2]|0}else{c[e>>2]=f;g=c[b+20>>2]|0;c[e+4>>2]=g;c[e+8>>2]=f+g;f=c[b+24>>2]|0;c[e+12>>2]=f}c[b+16>>2]=0;m=f+g|0;c[b+12>>2]=h+m;c[b+20>>2]=0;c[b+24>>2]=0;b=m;i=n;return b|0}while(0);c[b+20>>2]=0;c[f>>2]=0;f=omb(m+1|0,79,l+-1|0)|0;if(!f){f=c[b>>2]|0;g=f;f=f+(c[b+8>>2]|0)|0}else g=c[b>>2]|0;e=f;c[b+12>>2]=e-g;b=m-e|0;i=n;return b|0}function c6a(a,b){a=a|0;b=b|0;var d=0;a:do if((c[a+4>>2]|0)>-1){do{d=b6a(a,b)|0;if((d|0)>0){d=1;break a}if(!d){d=0;break a}}while((c[a+16>>2]|0)!=0);c[a+16>>2]=1;d=-1}else d=0;while(0);return d|0}function d6a(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;o=c[e>>2]|0;l=c[e+8>>2]|0;f=c[e+12>>2]|0;j=a[o+4>>0]|0;r=d[o+5>>0]|0;q=pBb(d[o+13>>0]|0|0,0,8)|0;q=pBb(q|(d[o+12>>0]|0)|0,C|0,8)|0;q=pBb(q|(d[o+11>>0]|0)|0,C|0,8)|0;q=pBb(q|(d[o+10>>0]|0)|0,C|0,8)|0;q=pBb(q|(d[o+9>>0]|0)|0,C|0,8)|0;q=pBb(q|(d[o+8>>0]|0)|0,C|0,8)|0;q=pBb(q|(d[o+7>>0]|0)|0,C|0,8)|0;p=C;q=q|(d[o+6>>0]|0);k=(d[o+15>>0]|0)<<8|(d[o+14>>0]|0)|(d[o+16>>0]|0)<<16|(d[o+17>>0]|0)<<24;s=(d[o+19>>0]|0)<<8|(d[o+18>>0]|0)|(d[o+20>>0]|0)<<16|(d[o+21>>0]|0)<<24;n=a[o+26>>0]|0;if(!b){b=-1;return b|0}h=c[b>>2]|0;if(!h){b=-1;return b|0}i=c[b+36>>2]|0;e=c[b+12>>2]|0;if(e|0){g=c[b+8>>2]|0;c[b+8>>2]=g-e;if((g|0)!=(e|0))nBb(h|0,h+e|0,g-e|0)|0;c[b+12>>2]=0}if(i|0){e=c[b+28>>2]|0;if((e|0)==(i|0))e=i;else{m=c[b+16>>2]|0;nBb(m|0,m+(i<<2)|0,e-i<<2|0)|0;e=c[b+20>>2]|0;nBb(e|0,e+(i<<3)|0,(c[b+28>>2]|0)-i<<3|0)|0;e=c[b+28>>2]|0}c[b+28>>2]=e-i;c[b+32>>2]=(c[b+32>>2]|0)-i;c[b+36>>2]=0}if(j<<24>>24?1:(k|0)!=(c[b+336>>2]|0)){b=-1;return b|0}if(Y5a(b,(n&255)+1|0)|0){b=-1;return b|0}g=c[b+340>>2]|0;if((s|0)!=(g|0)){h=c[b+32>>2]|0;i=c[b+28>>2]|0;if((h|0)<(i|0)){j=c[b+16>>2]|0;e=c[b+8>>2]|0;k=h;do{e=e-(c[j+(k<<2)>>2]&255)|0;k=k+1|0}while((k|0)<(i|0));c[b+8>>2]=e}c[b+28>>2]=h;if((g|0)!=-1){c[b+28>>2]=h+1;c[(c[b+16>>2]|0)+(h<<2)>>2]=1024;c[b+32>>2]=h+1}}a:do if(!(r&1)){e=l;j=r&2;k=0}else{e=c[b+28>>2]|0;if((e|0)>=1)if((c[(c[b+16>>2]|0)+(e+-1<<2)>>2]|0)!=1024){e=l;j=r&2;k=0;break}if(!(n<<24>>24)){e=l;j=0;k=0}else{e=l;g=0;while(1){m=a[o+(g+27)>>0]|0;e=e+(m&255)|0;f=f-(m&255)|0;g=(m<<24>>24==-1^1)+g|0;if(m<<24>>24!=-1){j=0;k=g;break a}if((g+1|0)<(n&255|0))g=g+1|0;else{j=0;k=g+1|0;break}}}}while(0);if(f|0){g=c[b+4>>2]|0;i=c[b+8>>2]|0;do if((g-f|0)>(i|0)){h=c[b>>2]|0;g=i}else{if((g|0)>(2147483647-f|0)){e=c[b>>2]|0;if(e|0)Wpb(e);e=c[b+16>>2]|0;if(e|0)Wpb(e);e=c[b+20>>2]|0;if(e|0)Wpb(e);hBb(b|0,0,360)|0;b=-1;return b|0}g=g+f|0;g=(g|0)<2147482623?g+1024|0:g;h=Ypb(c[b>>2]|0,g)|0;if(h|0){c[b+4>>2]=g;c[b>>2]=h;g=c[b+8>>2]|0;break}e=c[b>>2]|0;if(e|0)Wpb(e);e=c[b+16>>2]|0;if(e|0)Wpb(e);e=c[b+20>>2]|0;if(e|0)Wpb(e);hBb(b|0,0,360)|0;b=-1;return b|0}while(0);mBb(h+g|0,e|0,f|0)|0;c[b+8>>2]=(c[b+8>>2]|0)+f}if((k|0)<(n&255|0)){l=c[b+16>>2]|0;m=c[b+20>>2]|0;f=c[b+28>>2]|0;i=j;j=-1;g=k;b:while(1){while(1){h=a[o+(g+27)>>0]|0;e=l+(f<<2)|0;c[e>>2]=h&255;k=m+(f<<3)|0;c[k>>2]=-1;c[k+4>>2]=-1;if(i|0)c[e>>2]=h&255|256;e=f;f=f+1|0;c[b+28>>2]=f;g=g+1|0;if(h<<24>>24!=-1)break;if((g|0)>=(n&255|0)){e=j;break b}else i=0}c[b+32>>2]=f;if((g|0)<(n&255|0)){i=0;j=e}else break}if((e|0)!=-1){o=(c[b+20>>2]|0)+(e<<3)|0;c[o>>2]=q;c[o+4>>2]=p}}if(r&4|0){c[b+328>>2]=1;e=c[b+28>>2]|0;if((e|0)>0){r=(c[b+16>>2]|0)+(e+-1<<2)|0;c[r>>2]=c[r>>2]|512}}c[b+340>>2]=s+1;b=0;return b|0}function e6a(a){a=a|0;if((c[a+4>>2]|0)<=-1){a=-1;return a|0}c[a+8>>2]=0;c[a+8+4>>2]=0;c[a+8+8>>2]=0;c[a+8+12>>2]=0;c[a+8+16>>2]=0;a=0;return a|0}function f6a(a){a=a|0;if(!a){a=-1;return a|0}if(!(c[a>>2]|0)){a=-1;return a|0}c[a+8>>2]=0;c[a+12>>2]=0;c[a+28>>2]=0;c[a+32>>2]=0;c[a+36>>2]=0;c[a+324>>2]=0;c[a+328>>2]=0;c[a+332>>2]=0;c[a+340>>2]=-1;c[a+344>>2]=0;c[a+344+4>>2]=0;c[a+344+8>>2]=0;c[a+344+12>>2]=0;a=0;return a|0}function g6a(a,b){a=a|0;b=b|0;if(!a){b=-1;return b|0}if(!(c[a>>2]|0)){b=-1;return b|0}c[a+8>>2]=0;c[a+12>>2]=0;c[a+28>>2]=0;c[a+32>>2]=0;c[a+36>>2]=0;c[a+324>>2]=0;c[a+328>>2]=0;c[a+332>>2]=0;c[a+340>>2]=-1;c[a+344>>2]=0;c[a+344+4>>2]=0;c[a+344+8>>2]=0;c[a+344+12>>2]=0;c[a+336>>2]=b;b=0;return b|0}function h6a(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;if(!a){a=0;return a|0}h=c[a>>2]|0;if(!h){a=0;return a|0}e=c[a+36>>2]|0;if((c[a+32>>2]|0)<=(e|0)){a=0;return a|0}g=c[a+16>>2]|0;j=c[g+(e<<2)>>2]|0;if(j&1024|0){c[a+36>>2]=e+1;b=jBb(c[a+344>>2]|0,c[a+344+4>>2]|0,1,0)|0;c[a+344>>2]=b;c[a+344+4>>2]=C;a=-1;return a|0}if((j&255|0)==255){d=255;f=j&512;do{e=e+1|0;k=c[g+(e<<2)>>2]|0;f=(k&512|0)==0?f:512;d=(k&255)+d|0}while((k&255|0)==255);k=d;d=f;i=e}else{k=j&255;d=j&512;i=e}if(!b){d=a+344|0;e=a+12|0;f=c[a+12>>2]|0;g=c[a+344>>2]|0;h=c[a+344+4>>2]|0}else{c[b+12>>2]=d;c[b+8>>2]=j&256;f=c[a+12>>2]|0;c[b>>2]=h+f;g=c[a+344>>2]|0;h=c[a+344+4>>2]|0;c[b+24>>2]=g;c[b+24+4>>2]=h;e=(c[a+20>>2]|0)+(i<<3)|0;d=c[e+4>>2]|0;c[b+16>>2]=c[e>>2];c[b+16+4>>2]=d;c[b+4>>2]=k;d=a+344|0;e=a+12|0}c[e>>2]=f+k;c[a+36>>2]=i+1;b=jBb(g|0,h|0,1,0)|0;a=d;c[a>>2]=b;c[a+4>>2]=C;a=1;return a|0}function i6a(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!a){a=0;return a|0}h=c[a>>2]|0;if(!h){a=0;return a|0}d=c[a+36>>2]|0;if((c[a+32>>2]|0)<=(d|0)){a=0;return a|0}g=c[a+16>>2]|0;i=c[g+(d<<2)>>2]|0;if(i&1024|0){c[a+36>>2]=d+1;b=jBb(c[a+344>>2]|0,c[a+344+4>>2]|0,1,0)|0;c[a+344>>2]=b;c[a+344+4>>2]=C;a=-1;return a|0}if(!b){a=1;return a|0}if((i&255|0)==255){e=255;f=i&512;do{d=d+1|0;j=c[g+(d<<2)>>2]|0;f=(j&512|0)==0?f:512;e=(j&255)+e|0}while((j&255|0)==255)}else{e=i&255;f=i&512}c[b+12>>2]=f;c[b+8>>2]=i&256;c[b>>2]=h+(c[a+12>>2]|0);j=c[a+344+4>>2]|0;c[b+24>>2]=c[a+344>>2];c[b+24+4>>2]=j;a=(c[a+20>>2]|0)+(d<<3)|0;j=c[a+4>>2]|0;c[b+16>>2]=c[a>>2];c[b+16+4>>2]=j;c[b+4>>2]=e;j=1;return j|0}function j6a(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+496|0;c[n+464>>2]=0;c[n+460>>2]=0;c[n+456>>2]=0;k6a(21,n+464|0)|0;k6a(17,n+460|0)|0;k6a(18,n+456|0)|0;k=u6a(b)|0;if(((k&2|0)==0?1:(c[n+464>>2]|0)!=4)|(c[n+460>>2]|0)!=2|(c[n+456>>2]|0)!=0){v6a(21,4)|0;v6a(17,2)|0;v6a(18,0)|0;if((w6a(b,k|2)|0)>=0){m=1;j=3}}else{m=0;j=3}if((j|0)==3){e=Y6a(1,320)|0;do if(!e)k7a(0)|0;else{l=Y6a(1,308)|0;if(!l){$7a(e);k7a(0)|0;break}f=e+104|0;g=124208;h=f+84|0;do{c[f>>2]=c[g>>2];f=f+4|0;g=g+4|0}while((f|0)<(h|0));c[e+108>>2]=10;c[e+316>>2]=l;c[e+188>>2]=b;f=o8a(b)|0;c[l>>2]=f;if(!f){$7a(e);break}if((a8a(b,f)|0)<0){$7a(e);break}h=p8a(613338)|0;c[l+16>>2]=h;do if(!h){f=n6a()|0;c[n>>2]=613338;c[n+4>>2]=f;f=l6a(595200,n)|0;j=119}else{h=p8a(611112)|0;c[l+20>>2]=h;if(!h){f=n6a()|0;c[n+8>>2]=611112;c[n+8+4>>2]=f;f=l6a(595200,n+8|0)|0;j=119;break}h=p8a(612410)|0;c[l+24>>2]=h;if(!h){f=n6a()|0;c[n+16>>2]=612410;c[n+16+4>>2]=f;f=l6a(595200,n+16|0)|0;j=119;break}h=p8a(611345)|0;c[l+28>>2]=h;if(!h){f=n6a()|0;c[n+24>>2]=611345;c[n+24+4>>2]=f;f=l6a(595200,n+24|0)|0;j=119;break}h=p8a(613684)|0;c[l+32>>2]=h;if(!h){f=n6a()|0;c[n+32>>2]=613684;c[n+32+4>>2]=f;f=l6a(595200,n+32|0)|0;j=119;break}h=p8a(613235)|0;c[l+36>>2]=h;if(!h){f=n6a()|0;c[n+40>>2]=613235;c[n+40+4>>2]=f;f=l6a(595200,n+40|0)|0;j=119;break}h=p8a(613610)|0;c[l+40>>2]=h;if(!h){f=n6a()|0;c[n+48>>2]=613610;c[n+48+4>>2]=f;f=l6a(595200,n+48|0)|0;j=119;break}h=p8a(612228)|0;c[l+44>>2]=h;if(!h){f=n6a()|0;c[n+56>>2]=612228;c[n+56+4>>2]=f;f=l6a(595200,n+56|0)|0;j=119;break}h=p8a(611013)|0;c[l+48>>2]=h;if(!h){f=n6a()|0;c[n+64>>2]=611013;c[n+64+4>>2]=f;f=l6a(595200,n+64|0)|0;j=119;break}h=p8a(611082)|0;c[l+52>>2]=h;if(!h){f=n6a()|0;c[n+72>>2]=611082;c[n+72+4>>2]=f;f=l6a(595200,n+72|0)|0;j=119;break}h=p8a(612303)|0;c[l+56>>2]=h;if(!h){f=n6a()|0;c[n+80>>2]=612303;c[n+80+4>>2]=f;f=l6a(595200,n+80|0)|0;j=119;break}h=p8a(612159)|0;c[l+60>>2]=h;if(!h){f=n6a()|0;c[n+88>>2]=612159;c[n+88+4>>2]=f;f=l6a(595200,n+88|0)|0;j=119;break}h=p8a(611237)|0;c[l+64>>2]=h;if(!h){f=n6a()|0;c[n+96>>2]=611237;c[n+96+4>>2]=f;f=l6a(595200,n+96|0)|0;j=119;break}h=p8a(613202)|0;c[l+68>>2]=h;if(!h){f=n6a()|0;c[n+104>>2]=613202;c[n+104+4>>2]=f;f=l6a(595200,n+104|0)|0;j=119;break}h=p8a(612964)|0;c[l+72>>2]=h;if(!h){f=n6a()|0;c[n+112>>2]=612964;c[n+112+4>>2]=f;f=l6a(595200,n+112|0)|0;j=119;break}h=p8a(612991)|0;c[l+76>>2]=h;if(!h){f=n6a()|0;c[n+120>>2]=612991;c[n+120+4>>2]=f;f=l6a(595200,n+120|0)|0;j=119;break}h=p8a(613193)|0;c[l+80>>2]=h;if(!h){f=n6a()|0;c[n+128>>2]=613193;c[n+128+4>>2]=f;f=l6a(595200,n+128|0)|0;j=119;break}h=p8a(612938)|0;c[l+84>>2]=h;if(!h){f=n6a()|0;c[n+136>>2]=612938;c[n+136+4>>2]=f;f=l6a(595200,n+136|0)|0;j=119;break}h=p8a(613137)|0;c[l+88>>2]=h;if(!h){f=n6a()|0;c[n+144>>2]=613137;c[n+144+4>>2]=f;f=l6a(595200,n+144|0)|0;j=119;break}h=p8a(612449)|0;c[l+92>>2]=h;if(!h){f=n6a()|0;c[n+152>>2]=612449;c[n+152+4>>2]=f;f=l6a(595200,n+152|0)|0;j=119;break}h=p8a(611223)|0;c[l+96>>2]=h;if(!h){f=n6a()|0;c[n+160>>2]=611223;c[n+160+4>>2]=f;f=l6a(595200,n+160|0)|0;j=119;break}h=p8a(611209)|0;c[l+100>>2]=h;if(!h){f=n6a()|0;c[n+168>>2]=611209;c[n+168+4>>2]=f;f=l6a(595200,n+168|0)|0;j=119;break}h=p8a(611171)|0;c[l+104>>2]=h;if(!h){f=n6a()|0;c[n+176>>2]=611171;c[n+176+4>>2]=f;f=l6a(595200,n+176|0)|0;j=119;break}h=p8a(613058)|0;c[l+108>>2]=h;if(!h){f=n6a()|0;c[n+184>>2]=613058;c[n+184+4>>2]=f;f=l6a(595200,n+184|0)|0;j=119;break}h=p8a(611183)|0;c[l+112>>2]=h;if(!h){f=n6a()|0;c[n+192>>2]=611183;c[n+192+4>>2]=f;f=l6a(595200,n+192|0)|0;j=119;break}h=p8a(612277)|0;c[l+116>>2]=h;if(!h){f=n6a()|0;c[n+200>>2]=612277;c[n+200+4>>2]=f;f=l6a(595200,n+200|0)|0;j=119;break}h=p8a(612244)|0;c[l+120>>2]=h;if(!h){f=n6a()|0;c[n+208>>2]=612244;c[n+208+4>>2]=f;f=l6a(595200,n+208|0)|0;j=119;break}h=p8a(612263)|0;c[l+124>>2]=h;if(!h){f=n6a()|0;c[n+216>>2]=612263;c[n+216+4>>2]=f;f=l6a(595200,n+216|0)|0;j=119;break}h=p8a(611673)|0;c[l+128>>2]=h;if(!h){f=n6a()|0;c[n+224>>2]=611673;c[n+224+4>>2]=f;f=l6a(595200,n+224|0)|0;j=119;break}h=p8a(612346)|0;c[l+132>>2]=h;if(!h){f=n6a()|0;c[n+232>>2]=612346;c[n+232+4>>2]=f;f=l6a(595200,n+232|0)|0;j=119;break}h=p8a(611157)|0;c[l+136>>2]=h;if(!h){f=n6a()|0;c[n+240>>2]=611157;c[n+240+4>>2]=f;f=l6a(595200,n+240|0)|0;j=119;break}h=p8a(611332)|0;c[l+140>>2]=h;if(!h){f=n6a()|0;c[n+248>>2]=611332;c[n+248+4>>2]=f;f=l6a(595200,n+248|0)|0;j=119;break}h=p8a(613623)|0;c[l+144>>2]=h;if(!h){f=n6a()|0;c[n+256>>2]=613623;c[n+256+4>>2]=f;f=l6a(595200,n+256|0)|0;j=119;break}h=p8a(613019)|0;c[l+148>>2]=h;if(!h){f=n6a()|0;c[n+264>>2]=613019;c[n+264+4>>2]=f;f=l6a(595200,n+264|0)|0;j=119;break}h=p8a(612195)|0;c[l+152>>2]=h;if(!h){f=n6a()|0;c[n+272>>2]=612195;c[n+272+4>>2]=f;f=l6a(595200,n+272|0)|0;j=119;break}h=p8a(611303)|0;c[l+156>>2]=h;if(!h){f=n6a()|0;c[n+280>>2]=611303;c[n+280+4>>2]=f;f=l6a(595200,n+280|0)|0;j=119;break}h=p8a(613524)|0;c[l+160>>2]=h;if(!h){f=n6a()|0;c[n+288>>2]=613524;c[n+288+4>>2]=f;f=l6a(595200,n+288|0)|0;j=119;break}h=p8a(611316)|0;c[l+164>>2]=h;if(!h){f=n6a()|0;c[n+296>>2]=611316;c[n+296+4>>2]=f;f=l6a(595200,n+296|0)|0;j=119;break}h=p8a(611827)|0;c[l+168>>2]=h;if(!h){f=n6a()|0;c[n+304>>2]=611827;c[n+304+4>>2]=f;f=l6a(595200,n+304|0)|0;j=119;break}h=p8a(611815)|0;c[l+172>>2]=h;if(!h){f=n6a()|0;c[n+312>>2]=611815;c[n+312+4>>2]=f;f=l6a(595200,n+312|0)|0;j=119;break}h=p8a(612017)|0;c[l+176>>2]=h;if(!h){f=n6a()|0;c[n+320>>2]=612017;c[n+320+4>>2]=f;f=l6a(595200,n+320|0)|0;j=119;break}h=p8a(611048)|0;c[l+180>>2]=h;if(!h){f=n6a()|0;c[n+328>>2]=611048;c[n+328+4>>2]=f;f=l6a(595200,n+328|0)|0;j=119;break}h=p8a(612916)|0;c[l+184>>2]=h;if(!h){f=n6a()|0;c[n+336>>2]=612916;c[n+336+4>>2]=f;f=l6a(595200,n+336|0)|0;j=119;break}h=p8a(613599)|0;c[l+188>>2]=h;if(!h){f=n6a()|0;c[n+344>>2]=613599;c[n+344+4>>2]=f;f=l6a(595200,n+344|0)|0;j=119;break}h=p8a(612431)|0;c[l+192>>2]=h;if(!h){f=n6a()|0;c[n+352>>2]=612431;c[n+352+4>>2]=f;f=l6a(595200,n+352|0)|0;j=119;break}h=p8a(612514)|0;c[l+196>>2]=h;if(!h){f=n6a()|0;c[n+360>>2]=612514;c[n+360+4>>2]=f;f=l6a(595200,n+360|0)|0;j=119;break}h=p8a(613296)|0;c[l+200>>2]=h;if(!h){f=n6a()|0;c[n+368>>2]=613296;c[n+368+4>>2]=f;f=l6a(595200,n+368|0)|0;j=119;break}h=p8a(612467)|0;c[l+204>>2]=h;if(!h){f=n6a()|0;c[n+376>>2]=612467;c[n+376+4>>2]=f;f=l6a(595200,n+376|0)|0;j=119;break}h=p8a(612121)|0;c[l+208>>2]=h;if(!h){f=n6a()|0;c[n+384>>2]=612121;c[n+384+4>>2]=f;f=l6a(595200,n+384|0)|0;j=119;break}h=p8a(612360)|0;c[l+212>>2]=h;if(!h){f=n6a()|0;c[n+392>>2]=612360;c[n+392+4>>2]=f;f=l6a(595200,n+392|0)|0;j=119;break}h=p8a(611445)|0;c[l+216>>2]=h;if(!h){f=n6a()|0;c[n+400>>2]=611445;c[n+400+4>>2]=f;f=l6a(595200,n+400|0)|0;j=119;break}h=p8a(612036)|0;c[l+220>>2]=h;if(!h){f=n6a()|0;c[n+408>>2]=612036;c[n+408+4>>2]=f;f=l6a(595200,n+408|0)|0;j=119;break}h=p8a(611497)|0;c[l+224>>2]=h;if(!h){f=n6a()|0;c[n+416>>2]=611497;c[n+416+4>>2]=f;f=l6a(595200,n+416|0)|0;j=119;break}h=p8a(611510)|0;c[l+228>>2]=h;if(h|0)break;f=n6a()|0;c[n+424>>2]=611510;c[n+424+4>>2]=f;f=l6a(595200,n+424|0)|0;j=119}while(0);if((j|0)==119)if((f|0)<0){$7a(e);break}if(!(d&4))q8a(0)|0;else q8a(1)|0;if((r8a()|0)>0)c[e+108>>2]=c[e+108>>2]|4;if(!(k6a(20,n+468|0)|0))if(c[n+468>>2]&1|0)c[l+4>>2]=1;c[n+468>>2]=0;si[c[l+112>>2]&511](3379,n+468|0);c[e+180>>2]=c[n+468>>2];c[n+468>>2]=0;si[c[l+112>>2]&511](3379,n+468|0);c[e+184>>2]=c[n+468>>2];si[c[l+112>>2]&511](36345,n+476|0);si[c[l+100>>2]&511](36346,n+480|0);f=c[n+476>>2]|0;if(a[n+480>>0]|0){c[n+476>>2]=f+1;f=f+1|0}f=Y6a(f,4)|0;c[l+244>>2]=f;if(!f){$7a(e);k7a(0)|0;break}c[l+240>>2]=c[n+476>>2];si[c[l+112>>2]&511](36344,f);if(a[n+480>>0]|0)c[(c[l+244>>2]|0)+((c[n+476>>2]|0)+-1<<2)>>2]=-1;c[l+232>>2]=0;si[c[l+112>>2]&511](36006,n+472|0);c[l+236>>2]=c[n+472>>2];c[e+4>>2]=228;c[e+8>>2]=152;c[e+12>>2]=371;c[e+28>>2]=93;c[e+32>>2]=2;c[e+36>>2]=94;c[e+40>>2]=229;c[e+44>>2]=372;c[e+48>>2]=1542;c[e+52>>2]=1543;c[e+56>>2]=1544;c[e+60>>2]=153;c[e+64>>2]=154;c[e+68>>2]=155;c[e+72>>2]=92;c[e+76>>2]=1;c[e+80>>2]=95;c[e+84>>2]=706;c[e+88>>2]=230;c[e+92>>2]=707;c[e+96>>2]=93;c[e+100>>2]=373;g=c[e+112>>2]|0;c[e+112>>2]=g+1;c[e+116+(g<<2)>>2]=842094169;g=c[e+112>>2]|0;c[e+112>>2]=g+1;c[e+116+(g<<2)>>2]=1448433993;g=c[e+112>>2]|0;c[e+112>>2]=g+1;c[e+116+(g<<2)>>2]=842094158;g=c[e+112>>2]|0;c[e+112>>2]=g+1;c[e+116+(g<<2)>>2]=825382478;g=c[e+316>>2]|0;f=c[g>>2]|0;if((c[299745]|0)==(f|0))l8a(e)|0;else{c[g+268>>2]=0;if((a8a(c[e+188>>2]|0,f)|0)>=0){c[299745]=c[g>>2];l8a(e)|0;f=c[e+316>>2]|0;if(c[f+4>>2]|0)do{}while((dj[c[f+108>>2]&7]()|0)!=0)}}c[g+8>>2]=-1;c[g+12>>2]=0;Hi[c[g+16>>2]&1023](33984);si[c[g+136>>2]&511](3333,1);si[c[g+136>>2]&511](3317,1);d=c[g+272>>2]|0;ej[c[g+40>>2]&3](+(d&255)*.003921568859368563,+((d&65535)>>>8&255)*.003921568859368563,+(d>>>16&255)*.003921568859368563,+(d>>>24&255)*.003921568859368563);Hi[c[g+84>>2]&1023](0);Hi[c[g+72>>2]&1023](1);d=c[e+316>>2]|0;if(!(c[d+4>>2]|0)){b=e;i=n;return b|0}f=dj[c[d+108>>2]&7]()|0;if(!f){b=e;i=n;return b|0}else h=1279070;do{h=(a[h>>0]|0)==0?594910:h;switch(f|0){case 1280:{g=594981;break}case 1281:{g=594964;break}case 1282:{g=594943;break}case 1285:{g=594926;break}default:g=594918}c[n+432>>2]=h;c[n+432+4>>2]=595023;c[n+432+8>>2]=1944;c[n+432+12>>2]=600502;c[n+432+16>>2]=g;c[n+432+20>>2]=f;l6a(594997,n+432|0)|0;f=dj[c[d+108>>2]&7]()|0}while((f|0)!=0);i=n;return e|0}while(0);if(!m){b=0;i=n;return b|0}}v6a(21,c[n+464>>2]|0)|0;v6a(17,c[n+460>>2]|0)|0;v6a(18,c[n+456>>2]|0)|0;w6a(b,k)|0;b=0;i=n;return b|0}function k6a(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+112|0;c[b>>2]=0;do switch(a|0){case 0:{e=3410;break}case 2:{e=3412;break}case 1:{e=3411;break}case 3:{e=3413;break}case 5:{c[b>>2]=c[(c[299450]|0)+296>>2];b=0;i=f;return b|0}case 6:{e=3414;break}case 7:{e=3415;break}case 12:case 11:case 10:case 9:case 8:{c[b>>2]=0;b=0;i=f;return b|0}case 13:{e=32936;break}case 14:{e=32937;break}case 24:{e=33531;break}case 4:{c[f+104>>2]=0;c[f+100>>2]=0;c[f+96>>2]=0;c[f+92>>2]=0;if((k6a(0,f+104|0)|0)<0)a=-1;else if((k6a(1,f+100|0)|0)<0)a=-1;else if((k6a(2,f+96|0)|0)<0)a=-1;else if((k6a(3,f+92|0)|0)<0)a=-1;else{c[b>>2]=(c[f+100>>2]|0)+(c[f+104>>2]|0)+(c[f+96>>2]|0)+(c[f+92>>2]|0);a=0}b=a;i=f;return b|0}case 15:{c[b>>2]=(c[(c[299450]|0)+328>>2]|0)!=0&1;b=0;i=f;return b|0}case 16:{c[b>>2]=c[(c[299450]|0)+360>>2];b=0;i=f;return b|0}case 17:{c[b>>2]=c[(c[299450]|0)+332>>2];b=0;i=f;return b|0}case 18:{c[b>>2]=c[(c[299450]|0)+336>>2];b=0;i=f;return b|0}case 19:{c[b>>2]=(c[(c[299450]|0)+344>>2]|0)==4&1;b=0;i=f;return b|0}case 20:{c[b>>2]=c[(c[299450]|0)+340>>2];b=0;i=f;return b|0}case 21:{c[b>>2]=c[(c[299450]|0)+344>>2];b=0;i=f;return b|0}case 22:{c[b>>2]=c[(c[299450]|0)+348>>2];b=0;i=f;return b|0}case 23:{c[b>>2]=c[(c[299450]|0)+356>>2];b=0;i=f;return b|0}default:{b=l6a(593036,f)|0;i=f;return b|0}}while(0);a=c[299450]|0;do if(!a)l6a(593111,f+8|0)|0;else{d=c[a+144>>2]|0;if(!d){l6a(593181,f+24|0)|0;break}if(!(c[a+364>>2]|0)){l6a(593152,f+16|0)|0;break}a=Xi[d&511](a,611183)|0;if(a|0){si[a&511](e,b);a=c[299450]|0;do if(!a)l6a(593111,f+40|0)|0;else{d=c[a+144>>2]|0;if(!d){l6a(593181,f+56|0)|0;break}if(!(c[a+364>>2]|0)){l6a(593152,f+48|0)|0;break}a=Xi[d&511](a,613058)|0;if(a|0){a=dj[a&7]()|0;switch(a|0){case 1280:{b=l6a(593312,f+72|0)|0;i=f;return b|0}case 1281:{b=l6a(593342,f+80|0)|0;i=f;return b|0}case 0:{b=0;i=f;return b|0}default:{c[f+88>>2]=a;b=l6a(593373,f+88|0)|0;i=f;return b|0}}}}while(0);b=l6a(593267,f+64|0)|0;i=f;return b|0}}while(0);b=l6a(593219,f+32|0)|0;i=f;return b|0}function l6a(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,j=0.0;g=i;i=i+32|0;if(!b){i=g;return -1}c[155308]=1;m6a(621236,b,128)|0;c[g+8>>2]=d;c[155341]=0;e=a[b>>0]|0;a:do if(e<<24>>24){d=b;b=0;do{d=d+1|0;if(e<<24>>24==37){while(1){f=a[d>>0]|0;if(f<<24>>24==46){d=d+1|0;continue}else{e=d+1|0;if((f+-48&255)<10){d=e;continue}else break}}switch(f<<24>>24|0){case 0:break;case 88:case 120:case 111:case 117:case 100:case 105:case 99:{f=(c[g+8>>2]|0)+(4-1)&~(4-1);d=c[f>>2]|0;c[g+8>>2]=f+4;f=b+1|0;c[155341]=f;c[621368+(b<<7)>>2]=d;d=e;b=f;break}case 102:{f=(c[g+8>>2]|0)+(8-1)&~(8-1);j=+h[f>>3];c[g+8>>2]=f+8;f=b+1|0;c[155341]=f;h[621368+(b<<7)>>3]=j;d=e;b=f;break}case 112:{f=(c[g+8>>2]|0)+(4-1)&~(4-1);d=c[f>>2]|0;c[g+8>>2]=f+4;f=b+1|0;c[155341]=f;c[621368+(b<<7)>>2]=d;d=e;b=f;break}case 115:{f=(c[g+8>>2]|0)+(4-1)&~(4-1);d=c[f>>2]|0;c[g+8>>2]=f+4;m6a(621368+(b<<7)|0,(d|0)==0?616577:d,128)|0;b=(c[155341]|0)+1|0;c[155341]=b;d=e;break}default:d=e}if((b|0)>4)break a}e=a[d>>0]|0}while(e<<24>>24!=0)}while(0);n6a()|0;c[g>>2]=1274880;p6a(1,593061,g);i=g;return -1}function m6a(b,c,d){b=b|0;c=c|0;d=d|0;var e=0;e=rnb(c)|0;if(!d)return e|0;d=e>>>0<(d+-1|0)>>>0?e:d+-1|0;mBb(b|0,c|0,d|0)|0;a[b+d>>0]=0;return e|0}function n6a(){var b=0,d=0,e=0,f=0,g=0,j=0,k=0,l=0,m=0;m=i;i=i+64|0;a[1274880]=0;if(!(c[155308]|0)){i=m;return 1274880}b=a[621236]|0;a:do if(!(b<<24>>24)){d=1023;b=1274880}else{d=1023;g=b;k=0;e=621236;b=1274880;while(1){f=b;while(1){if(g<<24>>24==37){b=f;break}e=e+1|0;b=f+1|0;a[f>>0]=g;f=d+-1|0;g=a[e>>0]|0;if(!((d|0)>1&g<<24>>24!=0)){d=f;break a}else{d=f;f=b}}a[m+32>>0]=37;e=e+1|0;g=m+32+1|0;while(1){j=a[e>>0]|0;if(j<<24>>24!=46){if(j<<24>>24<=47){f=g;l=12;break}if(j<<24>>24>=58){f=g;l=11;break}}e=e+1|0;f=g+1|0;a[g>>0]=j;if(g>>>0<(m+32+30|0)>>>0)g=f;else break}if((l|0)==11){l=0;a[f>>0]=j;e=e+1|0;g=f;f=f+1|0}else if((l|0)==12){l=0;a[f>>0]=j;e=e+1|0;g=f;f=f+1|0}a[f>>0]=0;switch(a[g>>0]|0){case 37:{a[b>>0]=37;d=d+-1|0;f=k;b=b+1|0;break}case 88:case 120:case 111:case 117:case 100:case 105:case 99:{f=k+1|0;c[m>>2]=c[621368+(k<<7)>>2];g=o6a(b,d,m+32|0,m)|0;if((g|0)>0){d=d-g|0;b=b+g|0}break}case 102:{f=k+1|0;h[m+8>>3]=+h[621368+(k<<7)>>3];g=o6a(b,d,m+32|0,m+8|0)|0;if((g|0)>0){d=d-g|0;b=b+g|0}break}case 112:{f=k+1|0;c[m+16>>2]=c[621368+(k<<7)>>2];g=o6a(b,d,m+32|0,m+16|0)|0;if((g|0)>0){d=d-g|0;b=b+g|0}break}case 115:{f=k+1|0;c[m+24>>2]=621368+(k<<7);g=o6a(b,d,m+32|0,m+24|0)|0;if((g|0)>0){d=d-g|0;b=b+g|0}break}default:f=k}g=a[e>>0]|0;if(!((d|0)>0&g<<24>>24!=0))break a;else k=f}}while(0);a[((d|0)<0?b+(d+-1)|0:b)>>0]=0;i=m;return 1274880}function o6a(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+16|0;c[f>>2]=e;e=tmb(a,b,(d|0)==0?1279070:d,f)|0;i=f;return e|0}function p6a(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;c[e>>2]=d;q6a(a,2,b,e);i=e;return}function q6a(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0;j=i;if(!50){i=j;return}if((d|0)<0|d>>>0>6){i=j;return}a:do if(!0)h=7;else{g=0;while(1){if((c[g>>2]|0)==(b|0))break;g=c[g+8>>2]|0;if(!g){h=7;break a}}g=c[g+4>>2]|0}while(0);b:do if((h|0)==7)switch(b|0){case 8:{g=1;break b}case 0:{g=3;break b}case 2:{g=4;break b}default:{g=6;break b}}while(0);if(g>>>0>d>>>0){i=j;return}h=i;i=i+4096|0;s6a(h,4096,e,f)|0;g=t6a(h)|0;if(g|0)if((a[h+(g+-1)>>0]|0)==10){a[h+(g+-1)>>0]=0;if(g+-1|0)if((a[h+(g+-2)>>0]|0)==13)a[h+(g+-2)>>0]=0}r6a(0,b,d,h);i=j;return}function r6a(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;a=i;i=i+16|0;b=c[37151]|0;c[a>>2]=c[124292+(d<<2)>>2];c[a+4>>2]=e;oob(b,593103,a)|0;i=a;return}function s6a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return tmb(a,b,(c|0)==0?1279070:c,d)|0}function t6a(a){a=a|0;return rnb(a)|0}function u6a(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=c[299450]|0;if(!b){l6a(593111,d)|0;a=0;i=d;return a|0}if(a|0)if((c[a>>2]|0)==(b+256|0)){a=c[a+48>>2]|0;i=d;return a|0}l6a(606608,d+8|0)|0;a=0;i=d;return a|0}function v6a(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+32|0;d=c[299450]|0;a:do if(!d)d=l6a(593111,e)|0;else do switch(a|0){case 0:{c[d+268>>2]=b;d=0;break a}case 1:{c[d+272>>2]=b;d=0;break a}case 2:{c[d+276>>2]=b;d=0;break a}case 3:{c[d+280>>2]=b;d=0;break a}case 5:{c[d+296>>2]=b;d=0;break a}case 4:{c[d+288>>2]=b;d=0;break a}case 6:{c[d+284>>2]=b;d=0;break a}case 7:{c[d+292>>2]=b;d=0;break a}case 8:{c[d+300>>2]=b;d=0;break a}case 9:{c[d+304>>2]=b;d=0;break a}case 10:{c[d+308>>2]=b;d=0;break a}case 11:{c[d+312>>2]=b;d=0;break a}case 12:{c[d+316>>2]=b;d=0;break a}case 13:{c[d+320>>2]=b;d=0;break a}case 14:{c[d+324>>2]=b;d=0;break a}case 15:{c[d+328>>2]=b;d=0;break a}case 16:{c[d+360>>2]=b;d=0;break a}case 17:{c[d+332>>2]=b;d=0;break a}case 18:{c[d+336>>2]=b;d=0;break a}case 19:if(!b){c[d+344>>2]=0;d=0;break a}else{c[d+344>>2]=4;d=0;break a}case 20:if(b>>>0>15){c[e+8>>2]=b;d=l6a(593392,e+8|0)|0;break a}else{c[d+340>>2]=b;d=0;break a}case 21:switch(b|0){case 0:case 1:case 2:case 4:{c[d+344>>2]=b;d=0;break a}default:{c[e+16>>2]=b;d=l6a(593423,e+16|0)|0;break a}}case 22:{c[d+348>>2]=b;d=0;break a}case 23:{c[d+356>>2]=b;d=0;break a}case 24:{c[d+352>>2]=b;d=0;break a}default:{d=l6a(593036,e+24|0)|0;break a}}while(0);while(0);i=e;return d|0}function w6a(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=i;i=i+64|0;d=c[299450]|0;if(b&2|0)if(!(c[d+152>>2]|0)){a=l6a(593457,g)|0;i=g;return a|0}e=c[a+48>>2]|0;f=(e&2048|0)==0?b&-2049:b|2048;do if(!d)l6a(593111,g+8|0)|0;else{if((c[a>>2]|0)!=(d+256|0)){l6a(606608,g+16|0)|0;break}if(e&4|0){c[a+112>>2]=1;x6a(a,0)|0;b=c[299450]|0;d=c[b+64>>2]|0;if(d|0)si[d&511](b,a);c[a+112>>2]=0;I6a(a,2,0,0)|0}}while(0);b=c[a+104>>2]|0;if(b|0){c[b>>2]=c[b>>2]&-5;A7a(b);c[a+104>>2]=0}b=c[299450]|0;d=c[b+116>>2]|0;if(d){si[d&511](b,a);b=c[299450]|0}d=c[b+104>>2]|0;if((f&2048|0)==0&(d|0)!=0)si[d&511](b,a);a:do if((c[a+48>>2]&2|0)==(f&2|0))e=0;else{d=c[299450]|0;if(!(f&2)){if(!d){l6a(593111,g+40|0)|0;e=0;break}b=c[d+364>>2]|0;if((b|0)<=0){e=0;break}c[d+364>>2]=b+-1;if((b|0)>1){e=0;break}b=c[d+148>>2]|0;if(!b){e=0;break}Hi[b&1023](d);e=0;break}b:do if(!d)b=l6a(593111,g+24|0)|0;else{b=c[d+364>>2]|0;do if(!b){b=c[d+140>>2]|0;if(!b){b=l6a(593181,g+32|0)|0;break b}b=Xi[b&511](d,0)|0;e=c[299450]|0;if(!b){d=e;b=c[e+364>>2]|0;break}d=c[e+148>>2]|0;if(!d)break b;Hi[d&1023](e);break b}while(0);c[d+364>>2]=b+1;e=1;break a}while(0);if((b|0)<0){a=-1;i=g;return a|0}else e=1}while(0);c[a+48>>2]=f&8242|8;c[a+52>>2]=f&8242|8;c[a+116>>2]=0;b=c[299450]|0;d=c[b+28>>2]|0;if((f&2048|0)==0&(d|0)!=0)if((Xi[d&511](b,a)|0)<0){if(!e){a=-1;i=g;return a|0}d=c[299450]|0;if(!d)l6a(593111,g+48|0)|0;else{b=c[d+364>>2]|0;if((b|0)>0){c[d+364>>2]=b+-1;if((b|0)<=1){b=c[d+148>>2]|0;if(b|0)Hi[b&1023](d)}}}c[a+48>>2]=c[a+48>>2]&-3;a=-1;i=g;return a|0}if(f&2048|0)c[a+48>>2]=c[a+48>>2]|2048;b=c[299450]|0;d=c[b+36>>2]|0;if(d)if(c[a+8>>2]|0){si[d&511](b,a);b=c[299450]|0}d=c[b+40>>2]|0;if(d|0){e=c[a+12>>2]|0;if(e|0)$i[d&255](b,a,e)}if(c[a+124>>2]|0)Xi[c[(c[299450]|0)+232>>2]&511](a,1)|0;Z7a(a,f);a=0;i=g;return a|0}function x6a(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+112|0;d=c[299450]|0;if(!d){l6a(593111,m)|0;a=-1;i=m;return a|0}if(a|0)if((c[a>>2]|0)==(d+256|0)){if((b|0)!=0&(c[a+112>>2]|0)!=0){a=0;i=m;return a|0}d=y6a(a)|0;if((d|0)>-1)k=(c[(c[299450]|0)+244>>2]|0)+(d*68|0)|0;else k=0;l=k+56|0;do if(b|0){f=c[l>>2]|0;if(!((f|0)==0|(f|0)==(a|0))){d=c[299450]|0;if(!d){l6a(593111,m+16|0)|0;break}if((c[f>>2]|0)!=(d+256|0)){l6a(606608,m+24|0)|0;break}if(!(c[f+48>>2]&64)){x6a(f,0)|0;d=c[299450]|0;e=c[d+76>>2]|0;if(e|0)si[e&511](d,f)}}}while(0);if(((c[l>>2]|0)==(a|0)|0)==(b|0))if(!((c[a+48>>2]^c[a+52>>2])&4097)){a=0;i=m;return a|0}d=c[(c[299450]|0)+248>>2]|0;a:do if(d|0){b:do if(!b){e=d;while(1){if((e|0)!=(a|0))if((c[e+48>>2]&69|0)==5){d=y6a(e)|0;if((d|0)>-1)d=(c[(c[299450]|0)+244>>2]|0)+(d*68|0)|0;else d=0;if((d|0)==(k|0)){B6a(m+44|0,0,20)|0;if(!(C6a(e,m+44|0)|0))break b}}e=c[e+144>>2]|0;if(!e)break a}}else{e=d;while(1){if((e|0)==(a|0))j=35;else if((c[e+48>>2]&69|0)==5){d=y6a(e)|0;if((d|0)>-1)d=(c[(c[299450]|0)+244>>2]|0)+(d*68|0)|0;else d=0;if((d|0)==(k|0))j=35}if((j|0)==35){j=0;B6a(m+44|0,0,20)|0;if(!(C6a(e,m+44|0)|0))break b}e=c[e+144>>2]|0;if(!e)break a}}while(0);g=e+24|0;if((c[g>>2]|0)==(c[m+44+4>>2]|0))h=(c[e+28>>2]|0)!=(c[m+44+8>>2]|0)&1;else h=1;c:do if((c[a+48>>2]&4097|0)==4097){d=k+16|0;c[m+84>>2]=c[d>>2];c[m+84+4>>2]=c[d+4>>2];c[m+84+8>>2]=c[d+8>>2];c[m+84+12>>2]=c[d+12>>2];c[m+84+16>>2]=c[d+16>>2];d=k+36|0;c[m+64>>2]=c[d>>2];c[m+64+4>>2]=c[d+4>>2];c[m+64+8>>2]=c[d+8>>2];c[m+64+12>>2]=c[d+12>>2];c[m+64+16>>2]=c[d+16>>2];do if(H6a(m+84|0,m+64|0,20)|0){f=c[299450]|0;b=c[f+24>>2]|0;if(!b)if((l6a(593694,m+32|0)|0)<0){d=-1;break c}else{j=47;break c}if((Gi[b&255](f,k,m+84|0)|0)<0){d=-1;break c}else{c[d>>2]=c[m+84>>2];c[d+4>>2]=c[m+84+4>>2];c[d+8>>2]=c[m+84+8>>2];c[d+12>>2]=c[m+84+12>>2];c[d+16>>2]=c[m+84+16>>2];break}}while(0);j=47}else if((G6a(k,m+44|0)|0)<0)d=-1;else j=47;while(0);if((j|0)==47){d=c[299450]|0;f=c[d+88>>2]|0;if(f|0)kj[f&127](d,e,k,1);c[l>>2]=e;if(!h){c[e+108>>2]=0;I6a(e,6,c[g>>2]|0,c[e+28>>2]|0)|0}else I6a(e,5,c[m+44+4>>2]|0,c[m+44+8>>2]|0)|0;if((y7a()|0)==(e|0)){z7a(m+84|0,m+64|0)|0;T6a(e,c[m+84>>2]|0,c[m+64>>2]|0)}c[a+52>>2]=c[a+48>>2];d=0}a=d;i=m;return a|0}while(0);d=k+16|0;c[m+84>>2]=c[d>>2];c[m+84+4>>2]=c[d+4>>2];c[m+84+8>>2]=c[d+8>>2];c[m+84+12>>2]=c[d+12>>2];c[m+84+16>>2]=c[d+16>>2];d=k+36|0;c[m+64>>2]=c[d>>2];c[m+64+4>>2]=c[d+4>>2];c[m+64+8>>2]=c[d+8>>2];c[m+64+12>>2]=c[d+12>>2];c[m+64+16>>2]=c[d+16>>2];do if(H6a(m+84|0,m+64|0,20)|0){e=c[299450]|0;f=c[e+24>>2]|0;if(!f){l6a(593694,m+40|0)|0;break}if((Gi[f&255](e,k,m+84|0)|0)>=0){c[d>>2]=c[m+84>>2];c[d+4>>2]=c[m+84+4>>2];c[d+8>>2]=c[m+84+8>>2];c[d+12>>2]=c[m+84+12>>2];c[d+16>>2]=c[m+84+16>>2]}}while(0);d=c[299450]|0;e=c[d+88>>2]|0;if(e|0)kj[e&127](d,a,k,0);c[l>>2]=0;c[a+108>>2]=0;I6a(a,6,c[a+24>>2]|0,c[a+28>>2]|0)|0;if((y7a()|0)==(a|0)){z7a(m+84|0,m+64|0)|0;T6a(a,c[m+84>>2]|0,c[m+64>>2]|0)}c[a+52>>2]=c[a+48>>2];a=0;i=m;return a|0}l6a(606608,m+8|0)|0;a=-1;i=m;return a|0}function y6a(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0;j=i;i=i+48|0;b=c[299450]|0;if(!b){l6a(593111,j)|0;h=-1;i=j;return h|0}if(a|0)if((c[a>>2]|0)==(b+256|0)){g=c[a+16>>2]|0;if((g&-65536|0)<805240832)switch(g&-65536|0){case 536805376:{h=7;break}default:{}}else switch(g&-65536|0){case 805240832:{h=7;break}default:{}}if((h|0)==7){h=(g&65535|0)>=(c[b+240>>2]|0)?0:g&65535;i=j;return h|0}e=c[a+20>>2]|0;if((e&-65536|0)<805240832)switch(e&-65536|0){case 536805376:{h=11;break}default:{}}else switch(e&-65536|0){case 805240832:{h=11;break}default:{}}if((h|0)==11){h=(e&65535|0)>=(c[b+240>>2]|0)?0:e&65535;i=j;return h|0}f=c[b+240>>2]|0;a:do if((f|0)>0){d=c[b+244>>2]|0;b=0;while(1){if((c[d+(b*68|0)+56>>2]|0)==(a|0))break;b=b+1|0;if((b|0)>=(f|0))break a}i=j;return b|0}while(0);c[j+40>>2]=((c[a+24>>2]|0)/2|0)+g;c[j+40+4>>2]=((c[a+28>>2]|0)/2|0)+e;if((f|0)>0){b=-1;f=2147483647;g=0;while(1){z6a(g,j+24|0)|0;if(A6a(j+40|0,1,j+24|0,0)|0){b=g;h=20;break}d=(c[j+40>>2]|0)-(c[j+24>>2]|0)+((c[j+24+8>>2]|0)/-2|0)|0;e=(c[j+40+4>>2]|0)-(c[j+24+4>>2]|0)+((c[j+24+12>>2]|0)/-2|0)|0;d=(_(e,e)|0)+(_(d,d)|0)|0;e=(d|0)<(f|0);b=e?g:b;g=g+1|0;if((g|0)>=(c[(c[299450]|0)+240>>2]|0))break;else f=e?d:f}if((h|0)==20){i=j;return b|0}if((b|0)>=0){h=b;i=j;return h|0}}else b=-1;l6a(593545,j+16|0)|0;h=b;i=j;return h|0}l6a(606608,j+8|0)|0;h=-1;i=j;return h|0}function z6a(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;e=c[299450]|0;if(!e){l6a(593111,g)|0;b=-1;i=g;return b|0}d=c[e+240>>2]|0;if(!((a|0)>-1&(d|0)>(a|0))){c[g+8>>2]=d+-1;l6a(593491,g+8|0)|0;b=-1;i=g;return b|0}if(!b){b=0;i=g;return b|0}f=c[e+244>>2]|0;d=c[e+12>>2]|0;if(d|0)if(!(Gi[d&255](e,f+(a*68|0)|0,b)|0)){b=0;i=g;return b|0}if(!a){c[b>>2]=0;c[b+4>>2]=0;d=b+8|0}else{z6a(a+-1|0,b)|0;c[b>>2]=(c[b>>2]|0)+(c[b+8>>2]|0);d=b+8|0}c[d>>2]=c[f+(a*68|0)+40>>2];c[b+12>>2]=c[f+(a*68|0)+44>>2];b=0;i=g;return b|0}function A6a(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;r=i;i=i+16|0;if(!a){c[r>>2]=593532;l6a(608461,r)|0;e=0;i=r;return e|0}if((b|0)<1){c[r+8>>2]=593539;l6a(608461,r+8|0)|0;e=0;i=r;return e|0}if(!d){if(!e){e=1;i=r;return e|0}d=c[a>>2]|0;j=c[a+4>>2]|0;if((b|0)>1){k=1;g=d;h=j;f=d;d=j;do{p=c[a+(k<<3)>>2]|0;q=c[a+(k<<3)+4>>2]|0;o=(p|0)<(f|0);g=o?g:(p|0)>(g|0)?p:g;f=o?p:f;p=(q|0)<(d|0);h=p?h:(q|0)>(h|0)?q:h;d=p?q:d;k=k+1|0}while((k|0)!=(b|0));k=19}else{g=d;h=j;f=d;d=j}}else{o=c[d>>2]|0;p=c[d+4>>2]|0;q=c[d+8>>2]|0;n=c[d+12>>2]|0;if((q|0)<1|(n|0)<1){e=0;i=r;return e|0}if(!e){d=0;while(1){m=c[a+(d<<3)>>2]|0;e=c[a+(d<<3)+4>>2]|0;if((e|0)<(n+p|0)&(((m|0)>=(q+o|0)|(m|0)<(o|0)|(e|0)<(p|0))^1)){d=1;k=21;break}d=d+1|0;if((d|0)>=(b|0)){d=0;k=21;break}}if((k|0)==21){i=r;return d|0}}else{j=0;m=0;g=0;h=0;f=0;l=0}while(1){k=c[a+(m<<3)>>2]|0;d=c[a+(m<<3)+4>>2]|0;if((d|0)<(n+p|0)&(((k|0)>=(q+o|0)|(k|0)<(o|0)|(d|0)<(p|0))^1))if(!j){j=1;g=k;h=d;f=k}else{s=(k|0)<(f|0);g=s?g:(k|0)>(g|0)?k:g;f=s?k:f;if((d|0)>=(l|0)){h=(d|0)>(h|0)?d:h;d=l}}else d=l;m=m+1|0;if((m|0)==(b|0))break;else l=d}if(!j){s=0;i=r;return s|0}else k=19}if((k|0)==19)if(!e){s=1;i=r;return s|0}c[e>>2]=f;c[e+4>>2]=d;c[e+8>>2]=g+1-f;c[e+12>>2]=h+1-d;s=1;i=r;return s|0}function B6a(a,b,c){a=a|0;b=b|0;c=c|0;hBb(a|0,b&255|0,c|0)|0;return a|0}function C6a(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+48|0;d=c[299450]|0;if(!d){l6a(593111,e)|0;b=-1;i=e;return b|0}if(a|0)if((c[a>>2]|0)==(d+256|0)){if(!b){c[e+16>>2]=593572;b=l6a(608461,e+16|0)|0;i=e;return b|0}c[e+28>>2]=c[a+72>>2];c[e+28+4>>2]=c[a+72+4>>2];c[e+28+8>>2]=c[a+72+8>>2];c[e+28+12>>2]=c[a+72+12>>2];c[e+28+16>>2]=c[a+72+16>>2];if(!(c[e+28+4>>2]|0))c[e+28+4>>2]=c[a+64>>2];if(!(c[e+28+8>>2]|0))c[e+28+8>>2]=c[a+68>>2];d=y6a(a)|0;if((d|0)>-1)d=(c[(c[299450]|0)+244>>2]|0)+(d*68|0)|0;else d=0;if((c[a+48>>2]&4097|0)==4097){a=d+16|0;c[e+28>>2]=c[a>>2];c[e+28+4>>2]=c[a+4>>2];c[e+28+8>>2]=c[a+8>>2];c[e+28+12>>2]=c[a+12>>2];c[e+28+16>>2]=c[a+16>>2]}else{d=y6a(a)|0;if((d|0)>-1)d=(c[(c[299450]|0)+244>>2]|0)+(d*68|0)|0;else d=0;if(!(D6a(d,e+28|0,e+28|0)|0)){b=l6a(593624,e+24|0)|0;i=e;return b|0}};c[b>>2]=c[e+28>>2];c[b+4>>2]=c[e+28+4>>2];c[b+8>>2]=c[e+28+8>>2];c[b+12>>2]=c[e+28+12>>2];c[b+16>>2]=c[e+28+16>>2];b=0;i=e;return b|0}l6a(606608,e+8|0)|0;b=-1;i=e;return b|0}function D6a(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+16|0;if(!((b|0)!=0&(d|0)!=0)){l6a(593577,q)|0;d=0;i=q;return d|0}e=c[b>>2]|0;if(!e)e=c[a+16>>2]|0;f=c[b+12>>2]|0;if(!f)f=c[a+28>>2]|0;n=e>>>8&255;g=c[a+8>>2]|0;o=0;j=0;while(1){if(!g){g=c[299450]|0;h=c[g+20>>2]|0;if(!h)g=0;else{si[h&511](g,a);F6a(c[a+12>>2]|0,c[a+8>>2]|0,20,374);g=c[a+8>>2]|0}}if((o|0)>=(g|0))break;m=c[a+12>>2]|0;h=m+(o*20|0)|0;k=c[m+(o*20|0)+4>>2]|0;if(k|0)if((k|0)<(c[b+4>>2]|0))break;l=c[m+(o*20|0)+8>>2]|0;if(!l)p=18;else if((l|0)<(c[b+8>>2]|0))if(!k)h=j;else if((k|0)==(c[b+4>>2]|0))break;else h=j;else p=18;do if((p|0)==18){p=0;if(j)if((k|0)>=(c[j+4>>2]|0))if((l|0)>=(c[j+8>>2]|0)){k=c[h>>2]|0;if((k|0)==(c[j>>2]|0)){m=c[m+(o*20|0)+12>>2]|0;h=((m|0)<(f|0)?1:(m|0)==(c[j+12>>2]|0))?j:h;break}if((k|0)!=(e|0)){if((k>>>8&255)>>>0>>0){h=j;break}if((k^e)&251658240|0){h=j;break}}}}while(0);o=o+1|0;j=h}if(!j){d=0;i=q;return d|0}e=c[j>>2]|0;if(!e)e=c[b>>2]|0;c[d>>2]=e;f=c[j+4>>2]|0;if(!f)p=34;else{g=c[j+8>>2]|0;if(!g)p=34;else{c[d+4>>2]=f;c[d+8>>2]=g;h=f}}if((p|0)==34){h=c[b+4>>2]|0;c[d+4>>2]=h;g=c[b+8>>2]|0;c[d+8>>2]=g}f=c[j+12>>2]|0;if(!f)f=c[b+12>>2]|0;c[d+12>>2]=f;c[d+16>>2]=c[j+16>>2];if(!e)c[d>>2]=370546692;if(!h)c[d+4>>2]=640;if(g|0){i=q;return d|0}c[d+8>>2]=480;i=q;return d|0}function E6a(a,b){a=a|0;b=b|0;var d=0,e=0;if((a|0)==(b|0)){b=0;return b|0}d=c[a+4>>2]|0;e=c[b+4>>2]|0;if((e|0)!=(d|0)){b=e-d|0;return b|0}e=c[a+8>>2]|0;d=c[b+8>>2]|0;if((d|0)!=(e|0)){b=d-e|0;return b|0}d=c[a>>2]|0;e=c[b>>2]|0;if((e>>>8&255|0)!=(d>>>8&255|0)){b=(e>>>8&255)-(d>>>8&255)|0;return b|0}if((e>>>16&15|0)==(d>>>16&15|0)){a=c[a+12>>2]|0;b=c[b+12>>2]|0;return ((b|0)==(a|0)?0:b-a|0)|0}b=(e>>>16&15)-(d>>>16&15)|0;return b|0}function F6a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;cnb(a,b,c,d);return}function G6a(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+64|0;if(!b){c[e+32>>2]=c[a+16>>2];c[e+32+4>>2]=c[a+16+4>>2];c[e+32+8>>2]=c[a+16+8>>2];c[e+32+12>>2]=c[a+16+12>>2];c[e+32+16>>2]=c[a+16+16>>2]}else{c[e+32>>2]=c[b>>2];c[e+32+4>>2]=c[b+4>>2];c[e+32+8>>2]=c[b+8>>2];c[e+32+12>>2]=c[b+12>>2];c[e+32+16>>2]=c[b+16>>2];if(!(c[e+32>>2]|0))c[e+32>>2]=c[a+36>>2];if(!(c[e+32+4>>2]|0))c[e+32+4>>2]=c[a+40>>2];if(!(c[e+32+8>>2]|0))c[e+32+8>>2]=c[a+44>>2];if(!(c[e+32+12>>2]|0))c[e+32+12>>2]=c[a+48>>2];if(!(D6a(a,e+32|0,e+32|0)|0)){a=c[e+32+8>>2]|0;c[e>>2]=c[e+32+4>>2];c[e+4>>2]=a;a=l6a(593657,e)|0;i=e;return a|0}}c[e+12>>2]=c[a+36>>2];c[e+12+4>>2]=c[a+36+4>>2];c[e+12+8>>2]=c[a+36+8>>2];c[e+12+12>>2]=c[a+36+12>>2];c[e+12+16>>2]=c[a+36+16>>2];if(!(H6a(e+32|0,e+12|0,20)|0)){a=0;i=e;return a|0}b=c[299450]|0;d=c[b+24>>2]|0;if(!d){a=l6a(593694,e+8|0)|0;i=e;return a|0}if((Gi[d&255](b,a,e+32|0)|0)<0){a=-1;i=e;return a|0};c[a+36>>2]=c[e+32>>2];c[a+36+4>>2]=c[e+32+4>>2];c[a+36+8>>2]=c[e+32+8>>2];c[a+36+12>>2]=c[e+32+12>>2];c[a+36+16>>2]=c[e+32+16>>2];a=0;i=e;return a|0}function H6a(a,b,c){a=a|0;b=b|0;c=c|0;return qmb(a,b,c)|0}function I6a(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;h=i;i=i+64|0;if(!b){d=0;i=h;return d|0}a:do switch(d&255|0){case 1:{g=c[b+48>>2]|0;if(!(g&4)){c[b+48>>2]=g&-13|4;J6a(b);break a}else{d=0;i=h;return d|0}}case 2:{g=c[b+48>>2]|0;if(!(g&4)){d=0;i=h;return d|0}else{c[b+48>>2]=g&-13|8;K6a(b);break a}}case 4:{if((e&-65536|0)==536805376|(f&-65536|0)==536805376){d=0;i=h;return d|0}if(!(c[b+48>>2]&1)){c[b+56>>2]=e;c[b+60>>2]=f}if((c[b+16>>2]|0)==(e|0))if((c[b+20>>2]|0)==(f|0)){d=0;i=h;return d|0}c[b+16>>2]=e;c[b+20>>2]=f;break}case 5:{if(!(c[b+48>>2]&1)){c[b+64>>2]=e;c[b+68>>2]=f}if((c[b+24>>2]|0)==(e|0))if((c[b+28>>2]|0)==(f|0)){d=0;i=h;return d|0}c[b+24>>2]=e;c[b+28>>2]=f;L6a(b);break}case 7:{g=c[b+48>>2]|0;if(!(g&64)){c[b+48>>2]=g&-193|64;M6a(b);break a}else{d=0;i=h;return d|0}}case 8:{g=c[b+48>>2]|0;if(!(g&128)){c[b+48>>2]=g&-193|128;break a}else{d=0;i=h;return d|0}}case 9:{g=c[b+48>>2]|0;if(!(g&192)){d=0;i=h;return d|0}else{c[b+48>>2]=g&-193;N6a(b);break a}}case 10:{g=c[b+48>>2]|0;if(!(g&1024)){c[b+48>>2]=g|1024;O6a(b);break a}else{d=0;i=h;return d|0}}case 11:{g=c[b+48>>2]|0;if(!(g&1024)){d=0;i=h;return d|0}else{c[b+48>>2]=g&-1025;break a}}case 12:{g=c[b+48>>2]|0;if(!(g&512)){c[b+48>>2]=g|512;Q6a(b);break a}else{d=0;i=h;return d|0}}case 13:{g=c[b+48>>2]|0;if(!(g&512)){d=0;i=h;return d|0}else{c[b+48>>2]=g&-513;o7a(b);break a}}default:{}}while(0);if((X6a(512,-1)|0)<<24>>24==1){c[h>>2]=512;a[h+12>>0]=d;c[h+16>>2]=e;c[h+20>>2]=f;c[h+8>>2]=c[b+4>>2];switch(d<<24>>24){case 5:{t7a(375,h);break}case 6:{t7a(376,h);break}case 4:{t7a(377,h);break}default:{}}g=($6a(h)|0)>0&1}else g=0;if(d<<24>>24!=14){d=g;i=h;return d|0}if(c[b+140>>2]|0){d=g;i=h;return d|0}if(c[b+144>>2]|0){d=g;i=h;return d|0}w7a()|0;d=g;i=h;return d|0}function J6a(a){a=a|0;if((c[a+48>>2]&69|0)!=5)return;x6a(a,1)|0;return}function K6a(a){a=a|0;x6a(a,0)|0;return}function L6a(a){a=a|0;c[a+108>>2]=0;I6a(a,6,c[a+24>>2]|0,c[a+28>>2]|0)|0;return}function M6a(a){a=a|0;x6a(a,0)|0;return}function N6a(a){a=a|0;if((c[a+48>>2]&69|0)!=5)return;x6a(a,1)|0;return}function O6a(a){a=a|0;var b=0,d=0;b=c[299450]|0;d=c[b+120>>2]|0;if(!d)return;si[d&511](b,a);return}function P6a(a){a=a|0;return}function Q6a(a){a=a|0;var b=0,d=0,e=0,f=0;b=R6a()|0;d=c[a+96>>2]|0;if(d|0){e=c[299450]|0;f=c[e+92>>2]|0;if(f|0)Gi[f&255](e,a,d)|0}if(b|0)if(c[b+76>>2]|0){S6a(a);T6a(a,(c[a+24>>2]|0)/2|0,(c[a+28>>2]|0)/2|0)}f=c[(R6a()|0)+76>>2]|0;e=c[a+48>>2]|0;b=c[299450]|0;d=c[b+252>>2]|0;if((e&512|0)==0|(e&256|f|0)==0)if((d|0)==(a|0)){c[b+252>>2]=0;e=0}else e=0;else{if(!((d|0)==0|(d|0)==(a|0))){c[d+48>>2]=c[d+48>>2]&-257;e=c[b+100>>2]|0;if(e){$i[e&255](b,d,0);b=c[299450]|0}}c[b+252>>2]=a;e=1}d=c[b+100>>2]|0;if(!d)return;$i[d&255](b,a,e);return}function R6a(){return 1197804}function S6a(a){a=a|0;var b=0,d=0;b=c[299462]|0;if((b|0)==(a|0))return;if(b|0)I6a(b,11,0,0)|0;c[299462]=a;if(!a)d=6;else{I6a(a,10,0,0)|0;if(!(c[299462]|0))d=6;else b=1197904}if((d|0)==6)b=1197900;b=c[b>>2]|0;a=c[299453]|0;if((b|0)!=0&(c[299477]|0)!=0&(c[299470]|0)==0){if(!a)return;vi[a&2047](b)|0;return}else{if(!a)return;vi[a&2047](0)|0;return}}function T6a(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=(a|0)==0?c[299462]|0:a;if(!e)return;a=c[299456]|0;if(a|0){$i[a&255](e,b,d);return}a=c[299461]|0;if(!(U6a(e,b,d)|0))return;W6a(e,a,0,b,d)|0;return}function U6a(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+16|0;if(a|0)if(!(c[a+48>>2]&16384)){V6a(a,g+4|0,g);if(!(((d|b|0)>-1?(c[g+4>>2]|0)>(b|0):0)&(c[g>>2]|0)>(d|0))){if((c[299462]|0)!=(a|0)){d=0;i=g;return d|0}W6a(a,c[299461]|0,0,b,d)|0;e=c[299462]|0;if(!e){d=0;i=g;return d|0}I6a(e,11,0,0)|0;c[299462]=0;e=c[299475]|0;f=c[299453]|0;if((e|0)!=0&(c[299477]|0)!=0&(c[299470]|0)==0){if(!f){d=0;i=g;return d|0}vi[f&2047](e)|0;d=0;i=g;return d|0}else{if(!f){d=0;i=g;return d|0}vi[f&2047](0)|0;d=0;i=g;return d|0}}}e=c[299462]|0;if((e|0)==(a|0)){d=1;i=g;return d|0}if(e|0)I6a(e,11,0,0)|0;c[299462]=a;if(!a)f=16;else{I6a(a,10,0,0)|0;if(!(c[299462]|0))f=16;else e=1197904}if((f|0)==16)e=1197900;e=c[e>>2]|0;f=c[299453]|0;if((e|0)!=0&(c[299477]|0)!=0&(c[299470]|0)==0){if(f|0)vi[f&2047](e)|0}else if(f|0)vi[f&2047](0)|0;W6a(a,c[299461]|0,0,b,d)|0;d=1;i=g;return d|0}function V6a(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;e=c[299450]|0;if(!e){l6a(593111,f)|0;i=f;return}if(a|0)if((c[a>>2]|0)==(e+256|0)){if(b|0)c[b>>2]=c[a+24>>2];if(!d){i=f;return}c[d>>2]=c[a+28>>2];i=f;return}l6a(606608,f+8|0)|0;i=f;return}function W6a(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+64|0;if(c[299471]|0){c[m>>2]=0;c[m+56>>2]=0;V6a(a,m,m+56|0);j=(c[m>>2]|0)/2|0;c[m>>2]=j;k=(c[m+56>>2]|0)/2|0;c[m+56>>2]=k;if((j|0)==(e|0)&(k|0)==(f|0)){c[299467]=e;c[299468]=f;d=0;i=m;return d|0}h=(a|0)==0?c[299462]|0:a;do if(h|0){g=c[299456]|0;if(g|0){$i[g&255](h,j,k);break}g=c[299461]|0;if(U6a(h,j,k)|0)W6a(h,g,0,j,k)|0}while(0)}h=c[299467]|0;if(d|0){g=(c[299468]|0)+f|0;l=h+e|0}else{g=f;l=e;e=e-h|0;f=f-(c[299468]|0)|0}if(!(f|e)){d=0;i=m;return d|0}h=c[299470]|0;if(!h){c[299463]=l;j=g}else{c[299463]=(c[299463]|0)+e;j=(c[299464]|0)+f|0}c[299464]=j;if(a)if(!(c[a+48>>2]&16384)){c[m>>2]=0;c[m+56>>2]=0;V6a(c[299462]|0,m,m+56|0);j=c[m>>2]|0;c[m>>2]=j+-1;k=c[m+56>>2]|0;c[m+56>>2]=k+-1;h=c[299463]|0;if((h|0)>=(j|0)){c[299463]=j+-1;h=j+-1|0}if((h|0)<0)c[299463]=0;h=c[299464]|0;if((h|0)>=(k|0)){c[299464]=k+-1;h=k+-1|0}if((h|0)<0)c[299464]=0;h=c[299470]|0}c[299465]=(c[299465]|0)+e;c[299466]=(c[299466]|0)+f;if((c[299477]|0)!=0&(h|0)==0){h=c[299454]|0;if(h|0){j=c[299476]|0;if(j|0)Hi[h&1023](j)}}if((X6a(1024,-1)|0)<<24>>24==1){c[m>>2]=1024;h=c[299462]|0;if(!h)h=0;else h=c[h+4>>2]|0;c[m+8>>2]=h;c[m+12>>2]=b;c[m+16>>2]=c[299469];c[m+20>>2]=c[299463];c[m+24>>2]=c[299464];c[m+28>>2]=e;c[m+32>>2]=f;h=($6a(m)|0)>0&1}else h=0;if(d|0){c[299467]=c[299463];g=c[299464]|0}else c[299467]=l;c[299468]=g;d=h;i=m;return d|0}function X6a(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;d=c[1197916+((a>>>8&255)<<2)>>2]|0;if(!d)e=3;else if(!(c[d+((a>>>5&7)<<2)>>2]&1<<(a&31)))e=3;else h=0;if((e|0)==3)h=1;if((h&255|0)==(b|0))return h|0;switch(b|0){case 0:{if(!d){d=Y6a(1,32)|0;c[1197916+((a>>>8&255)<<2)>>2]=d;if(!d)return h|0}g=d+((a>>>5&7)<<2)|0;c[g>>2]=c[g>>2]|1<<(a&31);if(!(c[31081]|0))return h|0;if(Z6a(c[31080]|0)|0)return h|0;d=c[31084]|0;if(d|0)do{e=d+72|0;g=d;d=c[e>>2]|0;b=d;if((c[g>>2]|0)==(a|0)){f=c[g+68>>2]|0;if(!f)b=d;else{c[f+72>>2]=b;b=c[e>>2]|0}if(b|0)c[b+68>>2]=f;if((c[31084]|0)==(g|0))c[31084]=b;if((c[31085]|0)==(g|0))c[31085]=c[g+68>>2];c[e>>2]=c[31086];c[31086]=g;c[31082]=(c[31082]|0)+-1}}while((d|0)!=0);return h|0}case 1:{c[d+((a>>>5&7)<<2)>>2]=c[d+((a>>>5&7)<<2)>>2]&~(1<<(a&31));return h|0}default:return h|0}return 0}function Y6a(a,b){a=a|0;b=b|0;return Xpb(a,b)|0}function Z6a(a){a=a|0;return 0}function _6a(a){a=a|0;return 0}function $6a(a){a=a|0;var b=0;c[a+4>>2]=a7a()|0;if(0)if(!(ba(0,a|0)|0)){a=0;return a|0}b=c[299741]|0;if(b|0)do{Xi[c[b>>2]&511](c[b+4>>2]|0,a)|0;b=c[b+8>>2]|0}while((b|0)!=0);if((b7a(a,1,0,0,0)|0)<1){a=-1;return a|0}d7a(a);a=1;return a|0}function a7a(){var a=0,b=0;b=i;i=i+16|0;do if(!(c[299735]|0)){c[299735]=1;if(!(Hd(4,1198944)|0)){c[299738]=1;break}else{hf(1198956,0)|0;a=5;break}}else a=5;while(0);if((a|0)==5)if(!(c[299738]|0)){hf(b|0,0)|0;a=(((c[b+4>>2]|0)-(c[299740]|0)|0)/1e3|0)+(((c[b>>2]|0)-(c[299739]|0)|0)*1e3|0)|0;i=b;return a|0}Hd(4,b|0)|0;a=(((c[b+4>>2]|0)-(c[299737]|0)|0)/1e6|0)+(((c[b>>2]|0)-(c[299736]|0)|0)*1e3|0)|0;i=b;return a|0}function b7a(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+80|0;if(!(c[31081]|0)){if(!d){e=-1;i=p;return e|0}l6a(593745,p+56|0)|0;e=-1;i=p;return e|0}g=c[31080]|0;if(g|0)if(Z6a(g)|0){e=l6a(593813,p+72|0)|0;i=p;return e|0}if(!d)if((b|0)>0){d=0;g=0;do{j=a+(d*56|0)|0;do if((c[31082]|0)>65534){c[p+64>>2]=c[31082];l6a(593781,p+64|0)|0;h=0}else{h=c[31086]|0;if(!h){h=c7a(80)|0;if(!h){h=0;break}}else c[31086]=c[h+72>>2];k=h;l=j;m=k+56|0;do{c[k>>2]=c[l>>2];k=k+4|0;l=l+4|0}while((k|0)<(m|0));if((c[j>>2]|0)==513){e=h+56|0;f=c[a+(d*56|0)+8>>2]|0;c[e>>2]=c[f>>2];c[e+4>>2]=c[f+4>>2];c[e+8>>2]=c[f+8>>2];c[h+8>>2]=e}j=c[31085]|0;if(!j){c[31084]=h;c[31085]=h;c[h+68>>2]=0}else{c[j+72>>2]=h;c[h+68>>2]=j;c[31085]=h}c[h+72>>2]=0;c[31082]=(c[31082]|0)+1;if((c[31082]|0)>(c[31083]|0)){c[31083]=c[31082];h=1}else h=1}while(0);g=h+g|0;d=d+1|0}while((d|0)!=(b|0))}else g=0;else{n=(a|0)==0?1:b;o=(a|0)==0?p:a;g=c[31087]|0;if(g|0){j=c[31088]|0;while(1){m=g+12|0;h=c[m>>2]|0;c[m>>2]=j;if(!h)break;else{j=g;g=h}}c[31088]=g}c[31087]=0;h=c[31084]|0;a:do if((d|0)==2&((a|0)==0^1))if((n|0)>0){g=0;do{j=h;while(1){if(!j)break a;a=j+72|0;h=c[a>>2]|0;m=c[j>>2]|0;if(m>>>0>>0|m>>>0>f>>>0)j=h;else{d=j;b=j;break}}k=o+(g*56|0)|0;l=b;m=k+56|0;do{c[k>>2]=c[l>>2];k=k+4|0;l=l+4|0}while((k|0)<(m|0));if((c[d>>2]|0)==513){j=c[31088]|0;if(!j)j=c7a(16)|0;else c[31088]=c[j+12>>2];m=c[b+8>>2]|0;c[j>>2]=c[m>>2];c[j+4>>2]=c[m+4>>2];c[j+8>>2]=c[m+8>>2];c[j+12>>2]=c[31087];c[31087]=j;c[o+(g*56|0)+8>>2]=j}g=g+1|0;j=c[b+68>>2]|0;if(j|0)c[j+72>>2]=c[a>>2];d=c[a>>2]|0;if(d|0)c[d+68>>2]=j;if((c[31084]|0)==(b|0))c[31084]=d;if((c[31085]|0)==(b|0))c[31085]=c[b+68>>2];c[a>>2]=c[31086];c[31086]=b;c[31082]=(c[31082]|0)+-1}while((g|0)<(n|0))}else g=0;else if((n|0)>0){j=0;g=0;do{d=h;while(1){if(!d)break a;h=c[d+72>>2]|0;m=c[d>>2]|0;if(m>>>0>>0|m>>>0>f>>>0)d=h;else{b=d;a=d;break}}k=o+(g*56|0)|0;l=a;m=k+56|0;do{c[k>>2]=c[l>>2];k=k+4|0;l=l+4|0}while((k|0)<(m|0));if((c[b>>2]|0)==513){d=c[31088]|0;if(!d){d=c7a(16)|0;j=c[31087]|0}else c[31088]=c[d+12>>2];m=c[a+8>>2]|0;c[d>>2]=c[m>>2];c[d+4>>2]=c[m+4>>2];c[d+8>>2]=c[m+8>>2];c[d+12>>2]=j;c[31087]=d;c[o+(g*56|0)+8>>2]=d;j=d}g=g+1|0}while((g|0)<(n|0))}else g=0;while(0)}e=g;i=p;return e|0}function c7a(a){a=a|0;return Vpb(a)|0}function d7a(a){a=a|0;var d=0,f=0,h=0,j=0.0,k=0,l=0.0,m=0,n=0.0,o=0.0,p=0,q=0.0,r=0.0,s=0.0,t=0.0,u=0,v=0.0,w=0.0,x=0.0,y=0,z=0,A=0,B=0.0;A=i;i=i+1040|0;m=c[a>>2]|0;if((m+-1792|0)>>>0>=3){i=A;return}d=c[a+8>>2]|0;f=c[a+8+4>>2]|0;h=c[299447]|0;if((h|0)<=0){i=A;return}z=c[299448]|0;k=0;while(1){y=z+(k*8232|0)|0;if((c[y>>2]|0)==(d|0)?(c[y+4>>2]|0)==(f|0):0)break;k=k+1|0;if((k|0)>=(h|0)){u=52;break}}if((u|0)==52){i=A;return}if(!y){i=A;return}w=+g[a+24>>2];x=+g[a+28>>2];switch(m|0){case 1793:{b[z+(k*8232|0)+8216>>1]=(b[z+(k*8232|0)+8216>>1]|0)+-1<<16>>16;do if(!(c[z+(k*8232|0)+8228>>2]|0)){B6a(A,0,512)|0;e7a(z+(k*8232|0)+16|0,A);if((c[z+(k*8232|0)+8220>>2]|0)<=0)break;j=1.0e4;d=-1;m=0;do{h=(c[z+(k*8232|0)+8224>>2]|0)+(m*516|0)|0;n=+m7a(A,h,-.185407355427742);l=+m7a(A,h,.185407355427742);a:do if(+n7a(-1.5707963267948966)>.03490658503988659){f=n.03490658503988659)){n=l;l=q;break a}else{B=o;t=l;l=q;o=n;q=B;n=t}}n=+m7a(A,h,o*.38196601100000005+r*.618033989);if(+n7a(r-o)>.03490658503988659){f=n>2]|0));if((d|0)>-1){u=c[(c[z+(k*8232|0)+8224>>2]|0)+(d*516|0)+512>>2]|0;c[A>>2]=2048;p=c[y+4>>2]|0;c[A+8>>2]=c[y>>2];c[A+8+4>>2]=p;c[A+32>>2]=c[z+(k*8232|0)+8>>2];c[A+36>>2]=c[z+(k*8232|0)+12>>2];c[A+16>>2]=u;c[A+16+4>>2]=0;g[A+28>>2]=j;c[A+24>>2]=(e[z+(k*8232|0)+8216>>1]|0)+1;$6a(A)|0}}else{c[z+(k*8232|0)+8228>>2]=0;e7a(z+(k*8232|0)+16|0,A+520|0);do if(!0){d=c[z+(k*8232|0)+8220>>2]|0;h=j7a(c[z+(k*8232|0)+8224>>2]|0,(d*516|0)+516|0)|0;if(!h){d=k7a(0)|0;break}c[z+(k*8232|0)+8224>>2]=h;l7a(h+(d*516|0)|0,A+520|0,512)|0;f=5381;m=0;do{f=(((~~+g[h+(d*516|0)+(m<<3)>>2]>>>0)+(f*33|0)|0)*33|0)+(~~+g[h+(d*516|0)+(m<<3)+4>>2]>>>0)|0;m=m+1|0}while((m|0)!=64);c[h+(d*516|0)+512>>2]=f;c[z+(k*8232|0)+8220>>2]=(c[z+(k*8232|0)+8220>>2]|0)+1}else{d=c[299447]|0;b:do if(!d){d=l6a(593862,A+512|0)|0;u=20}else if((d|0)>0){p=0;while(1){f=c[299448]|0;m=f+(p*8232|0)+8220|0;d=c[m>>2]|0;f=f+(p*8232|0)+8224|0;a=j7a(c[f>>2]|0,(d*516|0)+516|0)|0;if(!a)d=k7a(0)|0;else{c[f>>2]=a;l7a(a+(d*516|0)|0,A+520|0,512)|0;f=5381;h=0;do{f=(((~~+g[a+(d*516|0)+(h<<3)>>2]>>>0)+(f*33|0)|0)*33|0)+(~~+g[a+(d*516|0)+(h<<3)+4>>2]>>>0)|0;h=h+1|0}while((h|0)!=64);c[a+(d*516|0)+512>>2]=f;c[m>>2]=(c[m>>2]|0)+1}p=p+1|0;if((d|0)<0){d=-1;u=20;break b}f=c[299447]|0;if((p|0)>=(f|0)){m=f;break}}}else{d=-1;u=20}while(0);if((u|0)==20)m=c[299447]|0;if((m|0)>0){f=c[299448]|0;h=0;do{c[f+(h*8232|0)+8228>>2]=0;h=h+1|0}while((h|0)<(m|0))}}while(0);h=c[y>>2]|0;f=c[y+4>>2]|0;if((d|0)>-1){y=c[(c[z+(k*8232|0)+8224>>2]|0)+(d*516|0)+512>>2]|0;c[A>>2]=2049;c[A+8>>2]=h;c[A+8+4>>2]=f;c[A+16>>2]=y;c[A+16+4>>2]=0;$6a(A)|0;break}else{c[A>>2]=2049;c[A+8>>2]=h;c[A+8+4>>2]=f;c[A+16>>2]=-1;c[A+16+4>>2]=-1;$6a(A)|0;break}}while(0);d=b[z+(k*8232|0)+8216>>1]|0;if(d<<16>>16){g[z+(k*8232|0)+8>>2]=(+((d&65535)+1|0)*+g[z+(k*8232|0)+8>>2]-w)/+(d&65535);g[z+(k*8232|0)+12>>2]=(+g[z+(k*8232|0)+12>>2]*+((d&65535)+1|0)-x)/+(d&65535)}i=A;return}case 1794:{o=+g[a+32>>2];n=+g[a+36>>2];d=c[z+(k*8232|0)+20>>2]|0;if((d|0)<1024){c[z+(k*8232|0)+24+(d<<3)>>2]=c[z+(k*8232|0)+8>>2];c[z+(k*8232|0)+24+(d<<3)+4>>2]=c[z+(k*8232|0)+12>>2];d=c[z+(k*8232|0)+20>>2]|0;v=+g[z+(k*8232|0)+24+(d<<3)>>2]-+g[z+(k*8232|0)+24+(d+-1<<3)>>2];B=+g[z+(k*8232|0)+24+(d<<3)+4>>2]-+g[z+(k*8232|0)+24+(d+-1<<3)+4>>2];B=+f7a(v*v+B*B);g[z+(k*8232|0)+16>>2]=+g[z+(k*8232|0)+16>>2]+B;c[z+(k*8232|0)+20>>2]=(c[z+(k*8232|0)+20>>2]|0)+1;d=z+(k*8232|0)+12|0}else d=z+(k*8232|0)+12|0;j=+g[z+(k*8232|0)+8>>2];l=+g[d>>2];u=b[z+(k*8232|0)+8216>>1]|0;g[z+(k*8232|0)+8>>2]=j+o/+(u&65535);g[d>>2]=l+n/+(u&65535);if((u&65535)<=1){i=A;return}B=+f7a((w-o-j)*(w-o-j)+(x-n-l)*(x-n-l));s=w-+g[z+(k*8232|0)+8>>2];t=x-+g[d>>2];v=+f7a(s*s+t*t);x=+g7a((w-o-j)/B*(t/v)-(x-n-l)/B*(s/v),(w-o-j)/B*(s/v)+(x-n-l)/B*(t/v));c[A>>2]=2050;u=c[y+4>>2]|0;c[A+8>>2]=c[y>>2];c[A+8+4>>2]=u;c[A+24>>2]=c[z+(k*8232|0)+8>>2];c[A+28>>2]=c[d>>2];g[A+16>>2]=B==0.0?0.0:x;g[A+20>>2]=B==0.0?0.0:v-B;b[A+32>>1]=b[z+(k*8232|0)+8216>>1]|0;$6a(A)|0;i=A;return}case 1792:{y=(b[z+(k*8232|0)+8216>>1]|0)+1<<16>>16;b[z+(k*8232|0)+8216>>1]=y;g[z+(k*8232|0)+8>>2]=(w+ +g[z+(k*8232|0)+8>>2]*+((y&65535)+-1|0))/+(y&65535);g[z+(k*8232|0)+12>>2]=(x+ +g[z+(k*8232|0)+12>>2]*+((y&65535)+-1|0))/+(y&65535);g[z+(k*8232|0)+16>>2]=0.0;g[z+(k*8232|0)+24>>2]=w;g[z+(k*8232|0)+28>>2]=x;c[z+(k*8232|0)+20>>2]=1;i=A;return}default:{i=A;return}}}function e7a(a,b){a=a|0;b=b|0;var d=0,e=0.0,f=0,h=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0,p=0,q=0,r=0,s=0.0,t=0.0,u=0.0;r=i;i=i+16|0;e=+g[a>>2];d=c[a+4>>2]|0;if(!(e<=0.0))f=4;else if((d|0)>1){f=1;do{d=f+-1|0;m=+g[a+8+(f<<3)>>2]-+g[a+8+(d<<3)>>2];n=+g[a+8+(f<<3)+4>>2]-+g[a+8+(d<<3)+4>>2];e=e+ +f7a(m*m+n*n);f=f+1|0;d=c[a+4>>2]|0}while((f|0)<(d|0));f=4}else d=0;if((f|0)==4){m=e/63.0;if((d|0)>1){h=0.0;j=0.0;k=m;q=1;d=0;while(1){f=q+-1|0;o=a+8+(q<<3)|0;e=+g[a+8+(f<<3)>>2]-+g[o>>2];p=a+8+(q<<3)+4|0;l=+g[a+8+(f<<3)+4>>2]-+g[p>>2];l=+f7a(e*e+l*l);e=l+k;if(e>m)do{n=+g[a+8+(f<<3)>>2];s=(m-k)/l;n=n+s*(+g[o>>2]-n);g[b+(d<<3)>>2]=n;e=+g[a+8+(f<<3)+4>>2];e=e+s*(+g[p>>2]-e);g[b+(d<<3)+4>>2]=e;h=h+n;j=j+e;d=d+1|0;k=k-m;e=l+k}while(e>m);q=q+1|0;f=c[a+4>>2]|0;if((q|0)>=(f|0)){n=h;m=j;break}else k=e}if((d|0)>=63){d=c[a+8+(f+-1<<3)+4>>2]|0;c[b+504>>2]=c[a+8+(f+-1<<3)>>2];c[b+504+4>>2]=d;l=+g7a(m*.015625-+g[b+4>>2],n*.015625-+g[b>>2]);d=0;j=n*.015625;e=n*.015625;k=m*.015625;h=m*.015625;do{a=b+(d<<3)|0;q=b+(d<<3)+4|0;s=+g[q>>2];t=+g[a>>2]-n*.015625;u=t*+h7a(l);g[a>>2]=n*.015625+(u-(s-m*.015625)*+i7a(l));t=t*+i7a(l);s=m*.015625+(t+(s-m*.015625)*+h7a(l));g[q>>2]=s;t=+g[a>>2];e=tj?t:j;h=sk?s:k;d=d+1|0}while((d|0)!=64);d=0;do{a=b+(d<<3)|0;g[a>>2]=(+g[a>>2]-n*.015625)*256.0/(j-e);a=b+(d<<3)+4|0;g[a>>2]=(+g[a>>2]-m*.015625)*256.0/(k-h);d=d+1|0}while((d|0)!=64);i=r;return}}else d=0}c[r>>2]=d;l6a(593839,r)|0;i=r;return}function f7a(a){a=+a;return +(+O(+a))}function g7a(a,b){a=+a;b=+b;return +(+W(+a,+b))}function h7a(a){a=+a;return +(+Q(+a))}function i7a(a){a=+a;return +(+R(+a))}function j7a(a,b){a=a|0;b=b|0;return Ypb(a,b)|0}function k7a(a){a=a|0;var b=0;b=i;i=i+48|0;switch(a|0){case 0:{l6a(593898,b)|0;break}case 1:{l6a(593912,b+8|0)|0;break}case 2:{l6a(593942,b+16|0)|0;break}case 3:{l6a(593970,b+24|0)|0;break}case 4:{l6a(593998,b+32|0)|0;break}default:l6a(594030,b+40|0)|0}i=b;return -1}function l7a(a,b,c){a=a|0;b=b|0;c=c|0;mBb(a|0,b|0,c|0)|0;return a|0}function m7a(a,b,c){a=a|0;b=b|0;c=+c;var d=0.0,e=0,f=0.0,h=0.0,i=0.0,j=0,k=0;d=0.0;e=0;do{k=a+(e<<3)|0;i=+g[k>>2];i=i*+h7a(c);j=a+(e<<3)+4|0;h=+g[j>>2];h=i-h*+i7a(c);i=+g[k>>2];i=i*+i7a(c);f=+g[j>>2];f=i+f*+h7a(c);h=h-+g[b+(e<<3)>>2];f=f-+g[b+(e<<3)+4>>2];d=d+ +f7a(h*h+f*f);e=e+1|0}while((e|0)!=64);return +(d*.015625)}function n7a(a){a=+a;return +(+N(+a))}function o7a(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;g=i;i=i+16|0;if(c[b+96>>2]|0){d=c[299450]|0;e=c[d+92>>2]|0;if(e|0)Gi[e&255](d,b,c[b+100>>2]|0)|0}f=c[(R6a()|0)+76>>2]|0;h=c[b+48>>2]|0;d=c[299450]|0;e=c[d+252>>2]|0;if((h&512|0)==0|(h&256|f|0)==0)if((e|0)==(b|0)){c[d+252>>2]=0;f=0}else f=0;else{if(!((e|0)==0|(e|0)==(b|0))){c[e+48>>2]=c[e+48>>2]&-257;f=c[d+100>>2]|0;if(f){$i[f&255](d,e,0);d=c[299450]|0}}c[d+252>>2]=b;f=1}e=c[d+100>>2]|0;if(e|0)$i[e&255](d,b,f);if(!(c[b+48>>2]&1)){i=g;return}if(c[b+116>>2]|0){i=g;return}d=p7a(601707)|0;if(d|0)if((a[d>>0]|0)==48){i=g;return}d=c[299450]|0;if(!d){l6a(593111,g)|0;i=g;return}if((c[b>>2]|0)!=(d+256|0)){l6a(606608,g+8|0)|0;i=g;return}if(c[b+48>>2]&64|0){i=g;return}x6a(b,0)|0;d=c[299450]|0;e=c[d+76>>2]|0;if(!e){i=g;return}si[e&511](d,b);i=g;return}function p7a(a){a=a|0;var b=0,d=0,e=0;b=q7a(a)|0;d=c[299742]|0;if(!d){e=b;return e|0}while(1){if(!(r7a(a,c[d>>2]|0)|0))break;d=c[d+16>>2]|0;if(!d){e=7;break}}if((e|0)==7)return b|0;if(b|0)if((c[d+8>>2]|0)!=2){e=b;return e|0}e=c[d+4>>2]|0;return e|0}function q7a(a){a=a|0;if(!a)a=0;else if(!(t6a(a)|0))a=0;else a=yf(a|0)|0;return a|0}function r7a(a,b){a=a|0;b=b|0;return Imb(a,b)|0}function s7a(b,d){b=b|0;d=d|0;if((c[d>>2]|0)==512)if((a[d+12>>0]|0)==5)if((c[d+8>>2]|0)==(c[b+8>>2]|0)){b=0;return b|0}b=1;return b|0}function t7a(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;d=c[31080]|0;if(!d)return;if(Z6a(d)|0)return;d=c[31084]|0;if(d|0)do{g=d+72|0;h=d;d=c[g>>2]|0;if(!(Xi[a&511](b,h)|0)){e=c[h+68>>2]|0;if(e|0)c[e+72>>2]=c[g>>2];f=c[g>>2]|0;if(f|0)c[f+68>>2]=e;if((c[31084]|0)==(h|0))c[31084]=f;if((c[31085]|0)==(h|0))c[31085]=c[h+68>>2];c[g>>2]=c[31086];c[31086]=h;c[31082]=(c[31082]|0)+-1}}while((d|0)!=0);return}function u7a(b,d){b=b|0;d=d|0;if((c[d>>2]|0)==512)if((a[d+12>>0]|0)==6)if((c[d+8>>2]|0)==(c[b+8>>2]|0)){b=0;return b|0}b=1;return b|0}function v7a(b,d){b=b|0;d=d|0;if((c[d>>2]|0)==512)if((a[d+12>>0]|0)==4)if((c[d+8>>2]|0)==(c[b+8>>2]|0)){b=0;return b|0}b=1;return b|0}function w7a(){c[299743]=0;return x7a(256)|0}function x7a(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+64|0;b=c[1197916+((a>>>8&255)<<2)>>2]|0;if(b|0)if(c[b+((a>>>5&7)<<2)>>2]&1<<(a&31)|0){d=0;i=e;return d|0}c[e>>2]=a;c[e+4>>2]=a7a()|0;if(!0)d=5;else if(!(ba(0,e|0)|0))b=0;else d=5;if((d|0)==5){b=c[299741]|0;if(b|0)do{Xi[c[b>>2]&511](c[b+4>>2]|0,e)|0;b=c[b+8>>2]|0}while((b|0)!=0);if((b7a(e,1,0,0,0)|0)<1)b=0;else{d7a(e);b=1}}d=b;i=e;return d|0}function y7a(){return c[299462]|0}function z7a(a,b){a=a|0;b=b|0;if(a|0)c[a>>2]=c[299463];if(b|0)c[b>>2]=c[299464];return c[299469]|0}function A7a(a){a=a|0;var b=0,d=0;if(!a)return;b=c[a>>2]|0;if(b&4|0)return;d=c[a+56>>2]|0;c[a+56>>2]=d+-1;if((d|0)>1)return;d=c[a+28>>2]|0;if((d|0)>0){while(1){b=d+-1|0;c[a+28>>2]=b;if((d|0)<=1){d=c[a>>2]|0;if(d&2){c[a>>2]=d&-3;B7a(a)|0;b=c[a+28>>2]|0}}if((b|0)>0)d=b;else break}b=c[a>>2]|0}if(b&2|0)C7a(a,0);b=c[a+4>>2]|0;if(b|0){if((V7a(b,0)|0)>=0)W7a(c[a+52>>2]|0);X7a(c[a+4>>2]|0);c[a+4>>2]=0}b=c[a+52>>2]|0;if(b|0){Y7a(b);c[a+52>>2]=0}if(!(c[a>>2]&1))L7a(c[a+20>>2]|0);L7a(a);return}function B7a(e){e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;if(c[e>>2]&2|0)C7a(e,1);f=c[e+4>>2]|0;i=b[f+8>>1]|0;if((i&255)<8){e=-1;return e|0}if(!(c[e+20>>2]|0)){e=-1;return e|0}g=c[e+52>>2]|0;h=c[g+68>>2]|0;if(!((h&272|0)!=0&(h&1|0)==0)){e=-1;return e|0}do if(!(h&2))if(!(h&608)){f=c[f+24>>2]|0;break}else{e=-1;return e|0}else{f=c[f+24>>2]|0;if(h&608|f){e=-1;return e|0}}while(0);if((h&16|0)==0|(f|0)==0){if(!(c[g+4>>2]|0)){e=-1;return e|0}y=(i&65535)>>>8&65535;switch(y|0){case 1:{f=(_((c[e+12>>2]|0)*3|0,((c[e+8>>2]|0)/2|0)+1|0)|0)+2|0;break}case 3:case 2:{f=c[e+8>>2]|0;f=(_((_(f,y)|0)+2+(((f|0)/255|0)<<1)|0,c[e+12>>2]|0)|0)+2|0;break}case 4:{f=c[e+8>>2]|0;f=(_((((f|0)/65535|0)+f<<2)+4|0,c[e+12>>2]|0)|0)+4|0;break}default:f=0}z=c7a(f)|0;do if(!z)if((k7a(0)|0)<0){e=-1;return e|0}else{f=c[e+52>>2]|0;break}else{x=(i&65535)>>>8<<16>>16==4;q=x?65535:255;r=~c[(c[e+4>>2]|0)+24>>2];s=c[(c[e+52>>2]|0)+72>>2]&r;t=c[124392+(y+-1<<2)>>2]|0;u=c[e+8>>2]|0;v=c[e+12>>2]|0;if((v|0)>0){g=z;f=z;w=c[e+20>>2]|0;h=0;while(1){p=0;k=0;while(1){a:do if((k|0)<(u|0)){i=k;do{o=w+(_(i,y)|0)|0;if(((vi[t&2047](o)|0)&r|0)!=(s|0))break a;i=i+1|0}while((i|0)<(u|0))}else i=k;while(0);b:do if((i|0)<(u|0)){j=i;while(1){o=w+(_(j,y)|0)|0;if(((vi[t&2047](o)|0)&r|0)==(s|0)){o=1;break b}j=j+1|0;if((j|0)>=(u|0)){o=0;break}}}else{o=0;j=i}while(0);k=i-k|0;p=(k|0)==(u|0)?1:p;n=j-i|0;if((k|0)>(q|0))if(x)do{b[g>>1]=q;b[g+2>>1]=0;g=g+4|0;k=k-q|0}while((k|0)>(q|0));else do{a[g>>0]=-1;a[g+1>>0]=0;g=g+2|0;k=k-q|0}while((k|0)>(q|0));m=(n|0)<(q|0)?n:q;if(x){b[g>>1]=k;b[g+2>>1]=m;g=g+4|0}else{a[g>>0]=k;a[g+1>>0]=m;g=g+2|0}l=_(m,y)|0;l7a(g,w+(_(i,y)|0)|0,l)|0;g=g+l|0;l=m+i|0;if((n|0)!=(m|0))if(x){m=n-m|0;while(1){k=(m|0)<(q|0)?m:q;b[g>>1]=0;b[g+2>>1]=k;g=g+4|0;i=_(k,y)|0;l7a(g,w+(_(l,y)|0)|0,i)|0;if((m|0)==(k|0)){g=g+i|0;break}else{g=g+i|0;m=m-k|0;l=k+l|0}}}else{m=n-m|0;while(1){k=(m|0)<(q|0)?m:q;a[g>>0]=0;a[g+1>>0]=k;g=g+2|0;i=_(k,y)|0;l7a(g,w+(_(l,y)|0)|0,i)|0;if((m|0)==(k|0)){g=g+i|0;break}else{g=g+i|0;m=m-k|0;l=k+l|0}}}f=(p|0)==0?g:f;if(!o)break;else k=j}h=h+1|0;if((h|0)==(v|0))break;else w=w+(c[e+16>>2]|0)|0}}else f=z;if(x){b[f>>1]=0;b[f+2>>1]=0;f=f+4|0}else{a[f>>0]=0;a[f+1>>0]=0;f=f+2|0}if(!(c[e>>2]&1)){L7a(c[e+20>>2]|0);c[e+20>>2]=0}y=j7a(z,f-z|0)|0;f=c[e+52>>2]|0;c[f+12>>2]=(y|0)==0?z:y}while(0);c[f+8>>2]=94;z=f+68|0;c[z>>2]=c[z>>2]|8192}else{f=c[g>>2]|0;if(!f){e=-1;return e|0}w=c[f+4>>2]|0;if((i&255)<<24>>24!=32){e=-1;return e|0}f=c[w+12>>2]|0;g=c[w+16>>2]|0;h=c[w+20>>2]|0;c:do switch(d[w+9>>0]|0){case 2:{if((g|f|h|0)<65535){switch(g|f|h|0){case 32767:break;default:{e=-1;return e|0}}if((f|0)==992|(g|0)==992|(h|0)==992)f=97;else{e=-1;return e|0}}else{switch(g|f|h|0){case 65535:break;default:{e=-1;return e|0}}if((f|0)==2016|(g|0)==2016|(h|0)==2016)f=96;else{e=-1;return e|0}}u=98;g=(_(((c[e+8>>2]|0)*6|0)+8|0,c[e+12>>2]|0)|0)+2|0;break}case 4:if((g|f|h|0)==16777215){u=99;f=99;g=_(c[e+12>>2]<<3,(c[e+8>>2]|0)+1|0)|0|4;break c}else{e=-1;return e|0}default:{e=-1;return e|0}}while(0);v=c7a(g+28|0)|0;do if(!v)if((k7a(0)|0)<0){e=-1;return e|0}else{f=c[e+52>>2]|0;break}else{g=a[w+9>>0]|0;a[v>>0]=g;c[v+4>>2]=c[w+12>>2];c[v+8>>2]=c[w+16>>2];c[v+12>>2]=c[w+20>>2];c[v+16>>2]=c[w+24>>2];r=c[w+28>>2]|0;a[v+20>>0]=r;a[v+21>>0]=(r&65535)>>>8;a[v+22>>0]=r>>>16;a[v+23>>0]=r>>>24;r=c[w+32>>2]|0;a[v+24>>0]=r;a[v+25>>0]=(r&65535)>>>8;a[v+26>>0]=r>>>16;a[v+27>>0]=r>>>24;r=c[e+12>>2]|0;s=c[e+8>>2]|0;t=c[e+4>>2]|0;if((r|0)>0){g=v+28|0;p=v+28|0;q=c[e+20>>2]|0;h=0;while(1){n=0;m=0;while(1){d:do if((m|0)<(s|0)){j=c[t+24>>2]|0;k=d[t+35>>0]|0;i=m;do{if(((c[q+(i<<2)>>2]&j)>>>k|0)==255)break d;i=i+1|0}while((i|0)<(s|0))}else i=m;while(0);e:do if((i|0)<(s|0)){j=c[t+24>>2]|0;k=d[t+35>>0]|0;l=i;while(1){if(((c[q+(l<<2)>>2]&j)>>>k|0)!=255){o=1;break e}l=l+1|0;if((l|0)>=(s|0)){o=0;break}}}else{o=0;l=i}while(0);j=i-m|0;n=(j|0)==(s|0)?1:n;k=l-i|0;if((j|0)>255)do{if((a[w+9>>0]|0)==4){b[g>>1]=255;b[g+2>>1]=0;g=g+4|0}else{a[g>>0]=-1;a[g+1>>0]=0;g=g+2|0}j=j+-255|0}while((j|0)>255);m=(k|0)<255?k:255;if((a[w+9>>0]|0)==4){b[g>>1]=j;b[g+2>>1]=m;g=g+4|0}else{a[g>>0]=j;a[g+1>>0]=m;g=g+2|0}g=g+(Ci[u&127](g,q+(i<<2)|0,m,t,w)|0)|0;if((k|0)!=(m|0)){k=k-m|0;j=m+i|0;while(1){i=(k|0)<255?k:255;if((a[w+9>>0]|0)==4){b[g>>1]=0;b[g+2>>1]=i;g=g+4|0}else{a[g>>0]=0;a[g+1>>0]=i;g=g+2|0}g=g+(Ci[u&127](g,q+(j<<2)|0,i,t,w)|0)|0;if((k|0)==(i|0))break;else{k=k-i|0;j=i+j|0}}}if(o)m=l;else break}g=g+(g&2)|0;m=0;while(1){f:do if((m|0)<(s|0)){j=c[t+24>>2]|0;k=d[t+35>>0]|0;i=m;do{if((((c[q+(i<<2)>>2]&j)>>>k)+-1|0)>>>0<=253)break f;i=i+1|0}while((i|0)<(s|0))}else i=m;while(0);g:do if((i|0)<(s|0)){j=c[t+24>>2]|0;k=d[t+35>>0]|0;l=i;while(1){if((((c[q+(l<<2)>>2]&j)>>>k)+-1|0)>>>0>=254){o=1;break g}l=l+1|0;if((l|0)>=(s|0)){o=0;break}}}else{o=0;l=i}while(0);j=i-m|0;n=(j|0)==(s|0)&n;k=l-i|0;if((j|0)>65535)do{b[g>>1]=-1;b[g+2>>1]=0;g=g+4|0;j=j+-65535|0}while((j|0)>65535);m=(k|0)<65535?k:65535;b[g>>1]=j;b[g+2>>1]=m;g=g+4|0;g=g+(Ci[f&127](g,q+(i<<2)|0,m,t,w)|0)|0;if((k|0)!=(m|0)){k=k-m|0;j=m+i|0;while(1){i=(k|0)<65535?k:65535;b[g>>1]=0;b[g+2>>1]=i;g=g+4|0;g=g+(Ci[f&127](g,q+(j<<2)|0,i,t,w)|0)|0;if((k|0)==(i|0))break;else{k=k-i|0;j=i+j|0}}}i=(n|0)==0?g:p;if(!o)break;else{p=i;m=l}}h=h+1|0;if((h|0)==(r|0))break;else{p=i;q=q+(c[e+16>>2]>>2<<2)|0}}g=a[w+9>>0]|0;f=i}else f=v+28|0;if(g<<24>>24==4){b[f>>1]=0;b[f+2>>1]=0;f=f+4|0}else{a[f>>0]=0;a[f+1>>0]=0;f=f+2|0}if(!(c[e>>2]&1)){L7a(c[e+20>>2]|0);c[e+20>>2]=0}z=j7a(v,f-v|0)|0;f=c[e+52>>2]|0;c[f+12>>2]=(z|0)==0?v:z}while(0);c[f+8>>2]=95;z=f+68|0;c[z>>2]=c[z>>2]|16384}c[e>>2]=c[e>>2]|2;e=0;return e|0}function C7a(f,g){f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+16|0;h=c[f>>2]|0;if(!(h&2)){i=r;return}c[f>>2]=h&-3;a:do if((g|0)!=0&(h&1|0)==0){h=c[f+52>>2]|0;if(c[h+68>>2]&8192|0){q=c7a(_(c[f+16>>2]|0,c[f+12>>2]|0)|0)|0;c[f+20>>2]=q;if(q|0){D7a(f,0,c[(c[f+52>>2]|0)+72>>2]|0)|0;c[r+4>>2]=0;c[r>>2]=0;c[r+8>>2]=c[f+8>>2];c[r+12>>2]=c[f+12>>2];F7a(f,r,f,r)|0;break}c[f>>2]=c[f>>2]|2;i=r;return}q=c[f+4>>2]|0;m=c[h+12>>2]|0;n=c[f+8>>2]|0;g=(a[m>>0]|0)==2;o=g?100:101;p=g?102:101;h=c7a(_(c[f+16>>2]|0,c[f+12>>2]|0)|0)|0;c[f+20>>2]=h;if(!h){c[f>>2]=c[f>>2]|2;i=r;return}B6a(h,0,_(c[f+16>>2]|0,c[f+12>>2]|0)|0)|0;h=c[f+20>>2]|0;if(g)g=m+28|0;else{g=m+28|0;while(1){j=0;while(1){k=b[g+2>>1]|0;l=g+4|0;g=(e[g>>1]|0)+j|0;if(!(k<<16>>16))if(!g)break a;else{j=g;g=l}else{j=g+(k&65535)|0;g=l+(Ci[o&127](h+(g<<2)|0,l,k&65535,m,q)|0)|0}if((j|0)>=(n|0)){j=0;break}}do{k=(e[g>>1]|0)+j|0;l=b[g+2>>1]|0;g=g+4|0;if(!(l<<16>>16))j=k;else{j=k+(l&65535)|0;g=g+(Ci[p&127](h+(k<<2)|0,g,l&65535,m,q)|0)|0}}while((j|0)<(n|0));h=h+(c[f+16>>2]>>2<<2)|0}}while(1){j=0;do{k=a[g+1>>0]|0;l=g+2|0;g=(d[g>>0]|0)+j|0;if(!(k<<24>>24))if(!g)break a;else{j=g;g=l}else{j=g+(k&255)|0;g=l+(Ci[o&127](h+(g<<2)|0,l,k&255,m,q)|0)|0}}while((j|0)<(n|0));j=0;g=g+(g&2)|0;do{k=(e[g>>1]|0)+j|0;l=b[g+2>>1]|0;g=g+4|0;if(!(l<<16>>16))j=k;else{j=k+(l&65535)|0;g=g+(Ci[p&127](h+(k<<2)|0,g,l&65535,m,q)|0)|0}}while((j|0)<(n|0));h=h+(c[f+16>>2]>>2<<2)|0}}while(0);q=c[f+52>>2]|0;c[q+68>>2]=c[q+68>>2]&-24577;L7a(c[q+12>>2]|0);c[(c[f+52>>2]|0)+12>>2]=0;i=r;return}function D7a(e,f,g){e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;O=i;i=i+48|0;if(!e){g=l6a(601117,O)|0;i=O;return g|0}if((d[(c[e+4>>2]|0)+8>>0]|0)<8){g=l6a(594048,O+8|0)|0;i=O;return g|0}if(!f){if((c[e+44>>2]|0)<1){g=0;i=O;return g|0}if((c[e+48>>2]|0)<1){g=0;i=O;return g|0}else m=e+36|0}else if(!(E7a(f,e+36|0,O+24|0)|0)){g=0;i=O;return g|0}else m=O+24|0;f=c[e+20>>2]|0;if(!f){g=l6a(594102,O+16|0)|0;i=O;return g|0}N=c[e+16>>2]|0;h=f+(_(N,c[m+4>>2]|0)|0)|0;j=d[(c[e+4>>2]|0)+9>>0]|0;e=h+(_(j,c[m>>2]|0)|0)|0;switch(j|0){case 1:{h=(g<<8|g)<<16|(g<<8|g);j=c[m+8>>2]|0;f=c[m+12>>2]|0;if(!f){g=0;i=O;return g|0}if((j|0)>3){k=e;l=f+-1|0}else switch(j&3|0){case 3:{f=f+-1|0;while(1){M=e+(j&-4)|0;a[M>>0]=g;a[M+1>>0]=g;a[M+1+1>>0]=g;if(!f){M=0;break}else{e=e+N|0;f=f+-1|0}}i=O;return M|0}case 2:{f=f+-1|0;while(1){M=e+(j&-4)|0;a[M>>0]=g;a[M+1>>0]=g;if(!f){M=0;break}else{e=e+N|0;f=f+-1|0}}i=O;return M|0}case 1:{f=f+-1|0;while(1){a[e+(j&-4)>>0]=g;if(!f){M=0;break}else{e=e+N|0;f=f+-1|0}}i=O;return M|0}case 0:{g=0;i=O;return g|0}default:{}}a:while(1){switch(k&3|0){case 1:{a[k>>0]=g;v=j+-1|0;y=k+1|0;L=20;break}case 2:{v=j;y=k;L=20;break}case 3:{w=j;z=k;L=21;break}default:{x=j;A=k}}if((L|0)==20){a[y>>0]=g;w=v+-1|0;z=y+1|0;L=21}if((L|0)==21){L=0;a[z>>0]=g;x=w+-1|0;A=z+1|0}f=x>>2;if(f|0){switch(f&3|0){case 0:{n=(f+3|0)>>>2;r=A;L=24;break}case 3:{o=(f+3|0)>>>2;s=A;L=25;break}case 2:{p=(f+3|0)>>>2;t=A;L=26;break}case 1:{q=(f+3|0)>>>2;u=A;L=27;break}default:{L=34;break a}}while(1)if((L|0)==24){c[r>>2]=h;o=n;s=r+4|0;L=25;continue}else if((L|0)==25){c[s>>2]=h;p=o;t=s+4|0;L=26;continue}else if((L|0)==26){c[t>>2]=h;q=p;u=t+4|0;L=27;continue}else if((L|0)==27){L=0;c[u>>2]=h;f=q+-1|0;if(!f)break;else{n=f;r=u+4|0;L=24;continue}}}f=x&3;b:do if(f|0){e=A+(x&-4)|0;switch(f|0){case 3:{a[e>>0]=g;B=e+1|0;L=31;break}case 2:{B=e;L=31;break}case 1:{C=e;break}default:break b}if((L|0)==31){L=0;a[B>>0]=g;C=B+1|0}a[C>>0]=g}while(0);if(!l){M=0;L=75;break}else{k=k+N|0;l=l+-1|0}}if((L|0)!=34)if((L|0)==75){i=O;return M|0}break}case 2:{l=c[m+8>>2]|0;f=c[m+12>>2]|0;if(!f){g=0;i=O;return g|0}if((l|0)>1)h=f+-1|0;else{if(!(l&1)){g=0;i=O;return g|0}else f=f+-1|0;while(1){b[e+(l+-1<<1)>>1]=g;if(!f){M=0;break}else{e=e+N|0;f=f+-1|0}}i=O;return M|0}c:while(1){if(!(e&2)){j=l;k=e}else{b[e>>1]=g;j=l+-1|0;k=e+2|0}f=j>>1;if(f|0){switch(f&3|0){case 0:{D=(f+3|0)>>>2;H=k;L=43;break}case 3:{E=(f+3|0)>>>2;I=k;L=44;break}case 2:{F=(f+3|0)>>>2;J=k;L=45;break}case 1:{G=(f+3|0)>>>2;K=k;L=46;break}default:{L=50;break c}}while(1)if((L|0)==43){c[H>>2]=g<<16|g;E=D;I=H+4|0;L=44;continue}else if((L|0)==44){c[I>>2]=g<<16|g;F=E;J=I+4|0;L=45;continue}else if((L|0)==45){c[J>>2]=g<<16|g;G=F;K=J+4|0;L=46;continue}else if((L|0)==46){c[K>>2]=g<<16|g;f=G+-1|0;if(!f)break;else{D=f;H=K+4|0;L=43;continue}}}if(j&1|0)b[k+(j+-1<<1)>>1]=g;if(!h){M=0;L=75;break}else{e=e+N|0;h=h+-1|0}}if((L|0)!=50)if((L|0)==75){i=O;return M|0}break}case 3:{k=c[m+8>>2]|0;f=c[m+12>>2]|0;if((k|0)==0|(f|0)==0){g=0;i=O;return g|0}while(1){h=k;j=e;while(1){h=h+-1|0;a[j>>0]=g;a[j+1>>0]=g>>>8;a[j+2>>0]=g>>>16;if(!h)break;else j=j+3|0}f=f+-1|0;if(!f){M=0;break}else e=e+N|0}i=O;return M|0}case 4:{k=c[m+8>>2]|0;f=c[m+12>>2]|0;if(!f){g=0;i=O;return g|0}if(!k){g=0;i=O;return g|0}switch(k&3|0){case 0:{while(1){h=(k+3|0)>>>2;j=e;while(1){c[j>>2]=g;c[j+4>>2]=g;c[j+8>>2]=g;c[j+12>>2]=g;h=h+-1|0;if(!h)break;else j=j+16|0}f=f+-1|0;if(!f){M=0;break}else e=e+N|0}i=O;return M|0}case 3:{if(!(((k+3|0)>>>2)+-1|0)){while(1){c[e>>2]=g;c[e+4>>2]=g;c[e+8>>2]=g;f=f+-1|0;if(!f){M=0;break}else e=e+N|0}i=O;return M|0}while(1){c[e>>2]=g;c[e+4>>2]=g;c[e+8>>2]=g;h=((k+3|0)>>>2)+-1|0;j=e;do{M=j;j=j+16|0;c[M+12>>2]=g;c[j>>2]=g;c[M+20>>2]=g;c[M+24>>2]=g;h=h+-1|0}while((h|0)!=0);f=f+-1|0;if(!f){M=0;break}else e=e+N|0}i=O;return M|0}case 1:{while(1){c[e>>2]=g;if(((k+3|0)>>>2)+-1|0){h=((k+3|0)>>>2)+-1|0;j=e;do{c[j+4>>2]=g;c[j+8>>2]=g;c[j+12>>2]=g;j=j+16|0;c[j>>2]=g;h=h+-1|0}while((h|0)!=0)}f=f+-1|0;if(!f){M=0;break}else e=e+N|0}i=O;return M|0}default:{while(1){c[e>>2]=g;c[e+4>>2]=g;if(((k+3|0)>>>2)+-1|0){h=((k+3|0)>>>2)+-1|0;j=e;do{c[j+8>>2]=g;M=j;j=j+16|0;c[M+12>>2]=g;c[j>>2]=g;c[M+20>>2]=g;h=h+-1|0}while((h|0)!=0)}f=f+-1|0;if(!f){M=0;break}else e=e+N|0}i=O;return M|0}}}default:{g=0;i=O;return g|0}}return 0}function E7a(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;j=i;i=i+32|0;if(!a){c[j>>2]=594091;l6a(608461,j)|0;d=0;i=j;return d|0}if(!b){c[j+8>>2]=594093;l6a(608461,j+8|0)|0;d=0;i=j;return d|0}if(!d){c[j+16>>2]=594095;l6a(608461,j+16|0)|0;d=0;i=j;return d|0}g=c[a+8>>2]|0;if((g|0)>=1){h=c[a+12>>2]|0;if((h|0)>=1){e=c[b+8>>2]|0;if((e|0)>=1){f=c[b+12>>2]|0;if((f|0)>=1){l=c[a>>2]|0;m=c[b>>2]|0;k=(m|0)>(l|0)?m:l;c[d>>2]=k;g=((e+m|0)<(g+l|0)?e+m|0:g+l|0)-k|0;c[d+8>>2]=g;a=c[a+4>>2]|0;e=c[b+4>>2]|0;b=(e|0)>(a|0)?e:a;c[d+4>>2]=b;b=((f+e|0)<(h+a|0)?f+e|0:h+a|0)-b|0;c[d+12>>2]=b;d=((g|0)<1|(b|0)<1)&1^1;i=j;return d|0}}}}c[d+8>>2]=0;c[d+12>>2]=0;m=0;i=j;return m|0}function F7a(f,g,h,i){f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;A=c[f+8>>2]|0;if(c[h>>2]&2|0)if((G7a(h)|0)<0){h=-1;return h|0}x=c[h+16>>2]|0;m=(c[h+20>>2]|0)+(_(x,c[i+4>>2]|0)|0)|0;s=c[f+4>>2]|0;p=d[s+9>>0]|0;m=m+(_(p,c[i>>2]|0)|0)|0;n=c[f+52>>2]|0;j=c[n+12>>2]|0;i=c[g+4>>2]|0;a:do if(!i)o=29;else switch(p|0){case 1:{l=i;while(1){i=0;do{i=(d[j>>0]|0)+i|0;k=a[j+1>>0]|0;j=j+2|0;if(!(k<<24>>24)){if(!i)break a}else{i=i+(k&255)|0;j=j+(k&255)|0}}while((i|0)!=(A|0));l=l+-1|0;if(!l){o=29;break}}break}case 2:{l=i;while(1){i=0;do{i=(d[j>>0]|0)+i|0;k=a[j+1>>0]|0;j=j+2|0;if(!(k<<24>>24)){if(!i)break a}else{i=i+(k&255)|0;j=j+((k&255)<<1)|0}}while((i|0)!=(A|0));l=l+-1|0;if(!l){o=29;break}}break}case 3:{l=i;while(1){i=0;do{i=(d[j>>0]|0)+i|0;k=a[j+1>>0]|0;j=j+2|0;if(!(k<<24>>24)){if(!i)break a}else{i=i+(k&255)|0;j=j+((k&255)*3|0)|0}}while((i|0)!=(A|0));l=l+-1|0;if(!l){o=29;break}}break}case 4:{l=i;while(1){i=0;do{i=(e[j>>1]|0)+i|0;k=b[j+2>>1]|0;j=j+4|0;if(!(k<<16>>16)){if(!i)break a}else{i=i+(k&65535)|0;j=j+((k&65535)<<2)|0}}while((i|0)!=(A|0));l=l+-1|0;if(!l){o=29;break}}break}default:{o=29;break a}}while(0);b:do if((o|0)==29){y=a[n+79>>0]|0;z=c[g>>2]|0;if(!z)if((c[g+8>>2]|0)==(c[f+8>>2]|0)){if(y<<24>>24==-1)switch(p|0){case 1:{i=c[g+12>>2]|0;while(1){k=0;do{k=(d[j>>0]|0)+k|0;l=a[j+1>>0]|0;j=j+2|0;if(!(l<<24>>24)){if(!k)break b}else{l7a(m+k|0,j,l&255)|0;k=k+(l&255)|0;j=j+(l&255)|0}}while((k|0)!=(A|0));i=i+-1|0;if(!i)break b;else m=m+(c[h+16>>2]|0)|0}}case 2:{i=c[g+12>>2]|0;while(1){k=0;do{k=(d[j>>0]|0)+k|0;l=a[j+1>>0]|0;j=j+2|0;if(!(l<<24>>24)){if(!k)break b}else{l7a(m+(k<<1)|0,j,(l&255)<<1)|0;k=k+(l&255)|0;j=j+((l&255)<<1)|0}}while((k|0)!=(A|0));i=i+-1|0;if(!i)break b;else m=m+(c[h+16>>2]|0)|0}}case 3:{i=c[g+12>>2]|0;while(1){k=0;do{k=(d[j>>0]|0)+k|0;l=a[j+1>>0]|0;j=j+2|0;if(!(l<<24>>24)){if(!k)break b}else{l7a(m+(k*3|0)|0,j,(l&255)*3|0)|0;k=k+(l&255)|0;j=j+((l&255)*3|0)|0}}while((k|0)!=(A|0));i=i+-1|0;if(!i)break b;else m=m+(c[h+16>>2]|0)|0}}case 4:{i=c[g+12>>2]|0;while(1){k=0;do{k=(e[j>>1]|0)+k|0;l=b[j+2>>1]|0;j=j+4|0;if(!(l<<16>>16)){if(!k)break b}else{l7a(m+(k<<2)|0,j,(l&65535)<<2)|0;k=k+(l&65535)|0;j=j+((l&65535)<<2)|0}}while((k|0)!=(A|0));i=i+-1|0;if(!i)break b;else m=m+(c[h+16>>2]|0)|0}}default:break b}switch(p|0){case 4:{i=c[s+12>>2]|0;k=c[s+16>>2]|0;l=c[s+20>>2]|0;if((k|i|l|0)==16777215)if((i|0)==65280|(k|0)==65280|(l|0)==65280){i=c[g+12>>2]|0;if(y<<24>>24==-128){p=m;while(1){k=0;do{k=(e[j>>1]|0)+k|0;o=b[j+2>>1]|0;j=j+4|0;if(!(o<<16>>16)){if(!k)break b}else{l=p+(k<<2)|0;m=0;n=j;while(1){y=c[n>>2]|0;z=c[l>>2]|0;c[l>>2]=(((z&16711422)+(y&16711422)|0)>>>1)+(y&65793&z);m=m+1|0;if((m|0)==(o&65535|0))break;else{l=l+4|0;n=n+4|0}}k=k+(o&65535)|0;j=j+((o&65535)<<2)|0}}while((k|0)!=(A|0));i=i+-1|0;if(!i)break b;else p=p+(c[h+16>>2]|0)|0}}else{p=m;while(1){k=0;do{k=(e[j>>1]|0)+k|0;o=b[j+2>>1]|0;j=j+4|0;if(!(o<<16>>16)){if(!k)break b}else{l=p+(k<<2)|0;m=0;n=j;while(1){x=c[n>>2]|0;z=c[l>>2]|0;c[l>>2]=((_((x&16711935)-(z&16711935)|0,y&255)|0)>>>8)+(z&16711935)&16711935|((_((x&65280)-(z&65280)|0,y&255)|0)>>>8)+(z&65280)&65280;m=m+1|0;if((m|0)==(o&65535|0))break;else{l=l+4|0;n=n+4|0}}k=k+(o&65535)|0;j=j+((o&65535)<<2)|0}}while((k|0)!=(A|0));i=i+-1|0;if(!i)break b;else p=p+(c[h+16>>2]|0)|0}}}p=m;i=c[g+12>>2]|0;while(1){k=0;do{k=(e[j>>1]|0)+k|0;o=b[j+2>>1]|0;j=j+4|0;if(!(o<<16>>16)){if(!k)break b}else{l=p+(k<<2)|0;m=0;n=j;while(1){u=c[n>>2]|0;v=c[l>>2]|0;B=c[s+12>>2]|0;z=c[s+32>>2]|0;w=c[s+28>>2]|0;C=c[124356+((w&255)<<2)>>2]|0;q=c[s+16>>2]|0;f=c[124356+((w>>>8&255)<<2)>>2]|0;t=c[s+20>>2]|0;r=c[124356+((w>>>16&255)<<2)>>2]|0;g=d[C+((B&v)>>>(z&255))>>0]|0;x=d[f+((q&v)>>>(z>>>8&255))>>0]|0;v=d[r+((t&v)>>>(z>>>16&255))>>0]|0;g=(((_((d[C+((B&u)>>>(z&255))>>0]|0)-g|0,y&255)|0)>>>8)+g|0)>>>(w&255)<<(z&255);x=(((_((d[f+((q&u)>>>(z>>>8&255))>>0]|0)-x|0,y&255)|0)>>>8)+x|0)>>>(w>>>8&255)<<(z>>>8&255);z=(((_((d[r+((t&u)>>>(z>>>16&255))>>0]|0)-v|0,y&255)|0)>>>8)+v|0)>>>(w>>>16&255)<<(z>>>16&255);c[l>>2]=g|c[s+24>>2]|x|z;m=m+1|0;if((m|0)==(o&65535|0))break;else{l=l+4|0;n=n+4|0}}k=k+(o&65535)|0;j=j+((o&65535)<<2)|0}}while((k|0)!=(A|0));i=i+-1|0;if(!i)break b;else p=p+(c[h+16>>2]|0)|0}}case 2:{f=c[s+12>>2]|0;q=c[s+16>>2]|0;r=c[s+20>>2]|0;c:do if((q|f|r|0)<65535){switch(q|f|r|0){case 32767:break;default:break c}if((f|0)==992|(q|0)==992|(r|0)==992){i=c[g+12>>2]|0;if(y<<24>>24==-128)r=m;else{p=m;while(1){k=0;do{k=(d[j>>0]|0)+k|0;o=a[j+1>>0]|0;j=j+2|0;if(!(o<<24>>24)){if(!k)break b}else{l=p+(k<<1)|0;m=0;n=j;while(1){B=e[n>>1]|0;C=e[l>>1]|0;C=((_(((B<<16|B)&65043487)-((C<<16|C)&65043487)|0,(y&255)>>>3)|0)>>>5)+((C<<16|C)&65043487)&65043487;b[l>>1]=C>>>16|C;m=m+1|0;if((m|0)==(o&255|0))break;else{l=l+2|0;n=n+2|0}}k=k+(o&255)|0;j=j+((o&255)<<1)|0}}while((k|0)!=(A|0));i=i+-1|0;if(!i)break b;else p=p+x|0}}while(1){k=0;do{k=(d[j>>0]|0)+k|0;f=a[j+1>>0]|0;q=j+2|0;if(!(f<<24>>24))if(!k)break b;else j=q;else{l=r+(k<<1)|0;do if(!((l^q)&3)){if(!(q&3)){m=f&255;j=q}else{m=b[q>>1]|0;C=b[l>>1]|0;b[l>>1]=(((C&64478)+(m&64478)|0)>>>1)+(C&m&1057);l=l+2|0;m=(f&255)+-1|0;j=j+4|0}if(m>>>0>1){o=m+-2|0;n=l+4|0;p=j+4|0;while(1){B=c[j>>2]|0;C=c[l>>2]|0;c[l>>2]=(C>>>1&2112847343)+(B>>>1&2112847343)+(B&69272609&C);m=m+-2|0;if(m>>>0<=1)break;else{l=l+4|0;j=j+4|0}}l=n+((o&-2)<<1)|0;m=o-(o&-2)|0;j=p+((o&-2)<<1)|0}if(!m)break;C=b[j>>1]|0;B=b[l>>1]|0;b[l>>1]=(((B&64478)+(C&64478)|0)>>>1)+(B&C&1057)}else{j=f&255;m=q;while(1){j=j+-1|0;C=b[m>>1]|0;B=b[l>>1]|0;b[l>>1]=(((B&64478)+(C&64478)|0)>>>1)+(B&C&1057);if(!j)break;else{l=l+2|0;m=m+2|0}}}while(0);k=k+(f&255)|0;j=q+((f&255)<<1)|0}}while((k|0)!=(A|0));i=i+-1|0;if(!i)break b;else r=r+(c[h+16>>2]|0)|0}}}else{switch(q|f|r|0){case 65535:break;default:break c}if((f|0)==2016|(q|0)==2016|(r|0)==2016){i=c[g+12>>2]|0;if(y<<24>>24==-128)r=m;else{p=m;while(1){k=0;do{k=(d[j>>0]|0)+k|0;o=a[j+1>>0]|0;j=j+2|0;if(!(o<<24>>24)){if(!k)break b}else{l=p+(k<<1)|0;m=0;n=j;while(1){B=e[n>>1]|0;C=e[l>>1]|0;C=((_(((B<<16|B)&132184095)-((C<<16|C)&132184095)|0,(y&255)>>>3)|0)>>>5)+((C<<16|C)&132184095)&132184095;b[l>>1]=C>>>16|C;m=m+1|0;if((m|0)==(o&255|0))break;else{l=l+2|0;n=n+2|0}}k=k+(o&255)|0;j=j+((o&255)<<1)|0}}while((k|0)!=(A|0));i=i+-1|0;if(!i)break b;else p=p+x|0}}while(1){k=0;do{k=(d[j>>0]|0)+k|0;f=a[j+1>>0]|0;q=j+2|0;if(!(f<<24>>24))if(!k)break b;else j=q;else{l=r+(k<<1)|0;do if(!((l^q)&3)){if(!(q&3)){m=f&255;j=q}else{m=b[q>>1]|0;C=b[l>>1]|0;b[l>>1]=(((C&63454)+(m&63454)|0)>>>1)+(C&m&2081);l=l+2|0;m=(f&255)+-1|0;j=j+4|0}if(m>>>0>1){o=m+-2|0;n=l+4|0;p=j+4|0;while(1){B=c[j>>2]|0;C=c[l>>2]|0;c[l>>2]=(C>>>1&2079292399)+(B>>>1&2079292399)+(B&136382497&C);m=m+-2|0;if(m>>>0<=1)break;else{l=l+4|0;j=j+4|0}}l=n+((o&-2)<<1)|0;m=o-(o&-2)|0;j=p+((o&-2)<<1)|0}if(!m)break;C=b[j>>1]|0;B=b[l>>1]|0;b[l>>1]=(((B&63454)+(C&63454)|0)>>>1)+(B&C&2081)}else{j=f&255;m=q;while(1){j=j+-1|0;C=b[m>>1]|0;B=b[l>>1]|0;b[l>>1]=(((B&63454)+(C&63454)|0)>>>1)+(B&C&2081);if(!j)break;else{l=l+2|0;m=m+2|0}}}while(0);k=k+(f&255)|0;j=q+((f&255)<<1)|0}}while((k|0)!=(A|0));i=i+-1|0;if(!i)break b;else r=r+(c[h+16>>2]|0)|0}}}while(0);p=m;i=c[g+12>>2]|0;while(1){k=0;do{k=(d[j>>0]|0)+k|0;o=a[j+1>>0]|0;j=j+2|0;if(!(o<<24>>24)){if(!k)break b}else{l=p+(k<<1)|0;m=0;n=j;while(1){w=e[n>>1]|0;g=e[l>>1]|0;C=c[s+32>>2]|0;x=c[s+28>>2]|0;t=c[124356+((x&255)<<2)>>2]|0;u=c[124356+((x>>>8&255)<<2)>>2]|0;v=c[124356+((x>>>16&255)<<2)>>2]|0;z=d[t+((g&f)>>>(C&255))>>0]|0;B=d[u+((q&g)>>>(C>>>8&255))>>0]|0;g=d[v+((r&g)>>>(C>>>16&255))>>0]|0;z=(((_((d[t+((f&w)>>>(C&255))>>0]|0)-z|0,y&255)|0)>>>8)+z|0)>>>(x&255)<<(C&255);B=(((_((d[u+((q&w)>>>(C>>>8&255))>>0]|0)-B|0,y&255)|0)>>>8)+B|0)>>>(x>>>8&255)<<(C>>>8&255);C=(((_((d[v+((r&w)>>>(C>>>16&255))>>0]|0)-g|0,y&255)|0)>>>8)+g|0)>>>(x>>>16&255)<<(C>>>16&255);b[l>>1]=z|c[s+24>>2]|B|C;m=m+1|0;if((m|0)==(o&255|0))break;else{l=l+2|0;n=n+2|0}}k=k+(o&255)|0;j=j+((o&255)<<1)|0}}while((k|0)!=(A|0));i=i+-1|0;if(!i)break b;else p=p+(c[h+16>>2]|0)|0}}case 3:{p=m;i=c[g+12>>2]|0;while(1){k=0;do{k=(d[j>>0]|0)+k|0;o=a[j+1>>0]|0;j=j+2|0;if(!(o<<24>>24)){if(!k)break b}else{l=p+(k*3|0)|0;m=0;n=j;while(1){u=(d[n+1>>0]|0)<<8|(d[n+2>>0]|0)<<16|(d[n>>0]|0);C=l+2|0;z=l+1|0;v=(d[z>>0]|0)<<8|(d[C>>0]|0)<<16|(d[l>>0]|0);D=c[s+12>>2]|0;B=c[s+32>>2]|0;w=c[s+28>>2]|0;E=c[124356+((w&255)<<2)>>2]|0;q=c[s+16>>2]|0;f=c[124356+((w>>>8&255)<<2)>>2]|0;t=c[s+20>>2]|0;r=c[124356+((w>>>16&255)<<2)>>2]|0;g=d[E+((v&D)>>>(B&255))>>0]|0;x=d[f+((q&v)>>>(B>>>8&255))>>0]|0;v=d[r+((t&v)>>>(B>>>16&255))>>0]|0;g=(((_((d[E+((D&u)>>>(B&255))>>0]|0)-g|0,y&255)|0)>>>8)+g|0)>>>(w&255)<<(B&255);x=(((_((d[f+((q&u)>>>(B>>>8&255))>>0]|0)-x|0,y&255)|0)>>>8)+x|0)>>>(w>>>8&255)<<(B>>>8&255);B=(((_((d[r+((t&u)>>>(B>>>16&255))>>0]|0)-v|0,y&255)|0)>>>8)+v|0)>>>(w>>>16&255)<<(B>>>16&255);B=g|c[s+24>>2]|x|B;a[l>>0]=B;a[z>>0]=B>>>8;a[C>>0]=B>>>16;m=m+1|0;if((m|0)==(o&255|0))break;else{l=l+3|0;n=n+3|0}}k=k+(o&255)|0;j=j+((o&255)*3|0)|0}}while((k|0)!=(A|0));i=i+-1|0;if(!i)break b;else p=p+(c[h+16>>2]|0)|0}}default:break b}}w=c[h+4>>2]|0;i=d[w+9>>0]|0;if(y<<24>>24==-1)switch(i|0){case 1:{p=(c[g+8>>2]|0)+z|0;o=m+(0-z)|0;i=c[g+12>>2]|0;while(1){k=0;do{k=(d[j>>0]|0)+k|0;n=a[j+1>>0]|0;j=j+2|0;if(!(n<<24>>24)){if(!k)break b}else{do if((k|0)<(p|0)){if((z-k|0)>0)if(((n&255)-(z-k)|0)<1)break;else{l=(n&255)-(z-k)|0;m=z-k|0}else{l=n&255;m=0}E=m+k|0;l7a(o+E|0,j+m|0,(l|0)>(p-E|0)?p-E|0:l)|0}while(0);j=j+(n&255)|0;k=k+(n&255)|0}}while((k|0)!=(A|0));i=i+-1|0;if(!i)break b;else o=o+(c[h+16>>2]|0)|0}}case 2:{p=(c[g+8>>2]|0)+z|0;o=m+(0-(z<<1))|0;i=c[g+12>>2]|0;while(1){k=0;do{k=(d[j>>0]|0)+k|0;n=a[j+1>>0]|0;j=j+2|0;if(!(n<<24>>24)){if(!k)break b}else{do if((k|0)<(p|0)){if((z-k|0)>0)if(((n&255)-(z-k)|0)<1)break;else{l=(n&255)-(z-k)|0;m=z-k|0}else{l=n&255;m=0}E=m+k|0;l7a(o+(E<<1)|0,j+(m<<1)|0,((l|0)>(p-E|0)?p-E|0:l)<<1)|0}while(0);j=j+((n&255)<<1)|0;k=k+(n&255)|0}}while((k|0)!=(A|0));i=i+-1|0;if(!i)break b;else o=o+(c[h+16>>2]|0)|0}}case 3:{p=(c[g+8>>2]|0)+z|0;o=m+(_(z,-3)|0)|0;i=c[g+12>>2]|0;while(1){k=0;do{k=(d[j>>0]|0)+k|0;n=a[j+1>>0]|0;j=j+2|0;if(!(n<<24>>24)){if(!k)break b}else{do if((k|0)<(p|0)){if((z-k|0)>0)if(((n&255)-(z-k)|0)<1)break;else{l=(n&255)-(z-k)|0;m=z-k|0}else{l=n&255;m=0}E=m+k|0;l7a(o+(E*3|0)|0,j+(m*3|0)|0,((l|0)>(p-E|0)?p-E|0:l)*3|0)|0}while(0);j=j+((n&255)*3|0)|0;k=k+(n&255)|0}}while((k|0)!=(A|0));i=i+-1|0;if(!i)break b;else o=o+(c[h+16>>2]|0)|0}}case 4:{p=(c[g+8>>2]|0)+z|0;o=m+(0-(z<<2))|0;i=c[g+12>>2]|0;while(1){k=0;do{k=(e[j>>1]|0)+k|0;n=b[j+2>>1]|0;j=j+4|0;if(!(n<<16>>16)){if(!k)break b}else{do if((k|0)<(p|0)){if((z-k|0)>0)if(((n&65535)-(z-k)|0)<1)break;else{l=(n&65535)-(z-k)|0;m=z-k|0}else{l=n&65535;m=0}E=m+k|0;l7a(o+(E<<2)|0,j+(m<<2)|0,((l|0)>(p-E|0)?p-E|0:l)<<2)|0}while(0);j=j+((n&65535)<<2)|0;k=k+(n&65535)|0}}while((k|0)!=(A|0));i=i+-1|0;if(!i)break b;else o=o+(c[h+16>>2]|0)|0}}default:break b}switch(i|0){case 4:{i=c[w+12>>2]|0;k=c[w+16>>2]|0;l=c[w+20>>2]|0;if((k|i|l|0)==16777215)if((i|0)==65280|(k|0)==65280|(l|0)==65280){i=c[g+12>>2]|0;r=(c[g+8>>2]|0)+z|0;if(y<<24>>24==-128){q=m+(0-(z<<2))|0;while(1){k=0;do{k=(e[j>>1]|0)+k|0;f=b[j+2>>1]|0;j=j+4|0;if(!(f<<16>>16)){if(!k)break b}else{do if((k|0)<(r|0)){if((z-k|0)>0)if(((f&65535)-(z-k)|0)<1)break;else{l=(f&65535)-(z-k)|0;p=z-k|0}else{l=f&65535;p=0}m=p+k|0;o=(l|0)>(r-m|0)?r-m|0:l;if((o|0)>0){m=q+(m<<2)|0;n=0;l=j+(p<<2)|0;while(1){D=c[l>>2]|0;E=c[m>>2]|0;c[m>>2]=(((E&16711422)+(D&16711422)|0)>>>1)+(D&65793&E);n=n+1|0;if((n|0)>=(o|0))break;else{m=m+4|0;l=l+4|0}}}}while(0);j=j+((f&65535)<<2)|0;k=k+(f&65535)|0}}while((k|0)!=(A|0));i=i+-1|0;if(!i)break b;else q=q+(c[h+16>>2]|0)|0}}else{q=m+(0-(z<<2))|0;while(1){k=0;do{k=(e[j>>1]|0)+k|0;f=b[j+2>>1]|0;j=j+4|0;if(!(f<<16>>16)){if(!k)break b}else{do if((k|0)<(r|0)){if((z-k|0)>0)if(((f&65535)-(z-k)|0)<1)break;else{l=(f&65535)-(z-k)|0;p=z-k|0}else{l=f&65535;p=0}m=p+k|0;o=(l|0)>(r-m|0)?r-m|0:l;if((o|0)>0){m=q+(m<<2)|0;n=0;l=j+(p<<2)|0;while(1){D=c[l>>2]|0;E=c[m>>2]|0;c[m>>2]=((_((D&16711935)-(E&16711935)|0,y&255)|0)>>>8)+(E&16711935)&16711935|((_((D&65280)-(E&65280)|0,y&255)|0)>>>8)+(E&65280)&65280;n=n+1|0;if((n|0)>=(o|0))break;else{m=m+4|0;l=l+4|0}}}}while(0);j=j+((f&65535)<<2)|0;k=k+(f&65535)|0}}while((k|0)!=(A|0));i=i+-1|0;if(!i)break b;else q=q+(c[h+16>>2]|0)|0}}}r=(c[g+8>>2]|0)+z|0;q=m+(0-(z<<2))|0;i=c[g+12>>2]|0;while(1){k=0;do{k=(e[j>>1]|0)+k|0;f=b[j+2>>1]|0;j=j+4|0;if(!(f<<16>>16)){if(!k)break b}else{do if((k|0)<(r|0)){if((z-k|0)>0)if(((f&65535)-(z-k)|0)<1)break;else{l=(f&65535)-(z-k)|0;p=z-k|0}else{l=f&65535;p=0}m=p+k|0;o=(l|0)>(r-m|0)?r-m|0:l;if((o|0)>0){m=q+(m<<2)|0;n=0;l=j+(p<<2)|0;while(1){g=c[l>>2]|0;x=c[m>>2]|0;p=c[w+12>>2]|0;E=c[w+32>>2]|0;B=c[w+28>>2]|0;F=c[124356+((B&255)<<2)>>2]|0;t=c[w+16>>2]|0;s=c[124356+((B>>>8&255)<<2)>>2]|0;v=c[w+20>>2]|0;u=c[124356+((B>>>16&255)<<2)>>2]|0;C=d[F+((p&x)>>>(E&255))>>0]|0;D=d[s+((t&x)>>>(E>>>8&255))>>0]|0;x=d[u+((v&x)>>>(E>>>16&255))>>0]|0;C=(((_((d[F+((p&g)>>>(E&255))>>0]|0)-C|0,y&255)|0)>>>8)+C|0)>>>(B&255)<<(E&255);D=(((_((d[s+((t&g)>>>(E>>>8&255))>>0]|0)-D|0,y&255)|0)>>>8)+D|0)>>>(B>>>8&255)<<(E>>>8&255);E=(((_((d[u+((v&g)>>>(E>>>16&255))>>0]|0)-x|0,y&255)|0)>>>8)+x|0)>>>(B>>>16&255)<<(E>>>16&255);c[m>>2]=C|c[w+24>>2]|D|E;n=n+1|0;if((n|0)>=(o|0))break;else{m=m+4|0;l=l+4|0}}}}while(0);j=j+((f&65535)<<2)|0;k=k+(f&65535)|0}}while((k|0)!=(A|0));i=i+-1|0;if(!i)break;else q=q+(c[h+16>>2]|0)|0}break}case 2:{s=c[w+12>>2]|0;t=c[w+16>>2]|0;u=c[w+20>>2]|0;d:do if((t|s|u|0)<65535){switch(t|s|u|0){case 32767:break;default:break d}if((s|0)==992|(t|0)==992|(u|0)==992){i=c[g+12>>2]|0;s=(c[g+8>>2]|0)+z|0;if(y<<24>>24==-128)r=m+(0-(z<<1))|0;else{q=m+(0-(z<<1))|0;while(1){k=0;do{k=(d[j>>0]|0)+k|0;f=a[j+1>>0]|0;j=j+2|0;if(!(f<<24>>24)){if(!k)break b}else{do if((k|0)<(s|0)){if((z-k|0)>0)if(((f&255)-(z-k)|0)<1)break;else{l=(f&255)-(z-k)|0;p=z-k|0}else{l=f&255;p=0}m=p+k|0;o=(l|0)>(s-m|0)?s-m|0:l;if((o|0)>0){m=q+(m<<1)|0;n=0;l=j+(p<<1)|0;while(1){E=e[l>>1]|0;F=e[m>>1]|0;F=((_(((E<<16|E)&65043487)-((F<<16|F)&65043487)|0,(y&255)>>>3)|0)>>>5)+((F<<16|F)&65043487)&65043487;b[m>>1]=F>>>16|F;n=n+1|0;if((n|0)>=(o|0))break;else{m=m+2|0;l=l+2|0}}}}while(0);j=j+((f&255)<<1)|0;k=k+(f&255)|0}}while((k|0)!=(A|0));i=i+-1|0;if(!i)break b;else q=q+x|0}}while(1){k=0;do{k=(d[j>>0]|0)+k|0;q=a[j+1>>0]|0;j=j+2|0;if(!(q<<24>>24)){if(!k)break b}else{e:do if((k|0)<(s|0)){if((z-k|0)>0)if(((q&255)-(z-k)|0)<1)break;else{l=(q&255)-(z-k)|0;m=z-k|0}else{l=q&255;m=0}F=m+k|0;n=(l|0)>(s-F|0)?s-F|0:l;m=j+(m<<1)|0;l=r+(F<<1)|0;if((l^m)&3|0){if(!n)break;while(1){n=n+-1|0;F=b[m>>1]|0;E=b[l>>1]|0;b[l>>1]=(((E&64478)+(F&64478)|0)>>>1)+(E&F&1057);if(!n)break e;else{l=l+2|0;m=m+2|0}}}if(m&3){F=b[m>>1]|0;E=b[l>>1]|0;b[l>>1]=(((E&64478)+(F&64478)|0)>>>1)+(E&F&1057);l=l+2|0;n=n+-1|0;m=m+2|0}if(n>>>0>1){f=n+-2|0;p=l+4|0;o=m;while(1){E=c[o>>2]|0;F=c[l>>2]|0;c[l>>2]=(E&69272609&F)+(E>>>1&2112847343)+(F>>>1&2112847343);n=n+-2|0;if(n>>>0<=1)break;else{l=l+4|0;o=o+4|0}}l=p+((f&-2)<<1)|0;n=f-(f&-2)|0;m=m+4+((f&-2)<<1)|0}if(!n)break;F=b[m>>1]|0;E=b[l>>1]|0;b[l>>1]=(((E&64478)+(F&64478)|0)>>>1)+(E&F&1057)}while(0);j=j+((q&255)<<1)|0;k=k+(q&255)|0}}while((k|0)!=(A|0));i=i+-1|0;if(!i)break b;else r=r+(c[h+16>>2]|0)|0}}}else{switch(t|s|u|0){case 65535:break;default:break d}if((s|0)==2016|(t|0)==2016|(u|0)==2016){i=c[g+12>>2]|0;s=(c[g+8>>2]|0)+z|0;if(y<<24>>24==-128)r=m+(0-(z<<1))|0;else{q=m+(0-(z<<1))|0;while(1){k=0;do{k=(d[j>>0]|0)+k|0;f=a[j+1>>0]|0;j=j+2|0;if(!(f<<24>>24)){if(!k)break b}else{do if((k|0)<(s|0)){if((z-k|0)>0)if(((f&255)-(z-k)|0)<1)break;else{l=(f&255)-(z-k)|0;p=z-k|0}else{l=f&255;p=0}m=p+k|0;o=(l|0)>(s-m|0)?s-m|0:l;if((o|0)>0){m=q+(m<<1)|0;n=0;l=j+(p<<1)|0;while(1){E=e[l>>1]|0;F=e[m>>1]|0;F=((_(((E<<16|E)&132184095)-((F<<16|F)&132184095)|0,(y&255)>>>3)|0)>>>5)+((F<<16|F)&132184095)&132184095;b[m>>1]=F>>>16|F;n=n+1|0;if((n|0)>=(o|0))break;else{m=m+2|0;l=l+2|0}}}}while(0);j=j+((f&255)<<1)|0;k=k+(f&255)|0}}while((k|0)!=(A|0));i=i+-1|0;if(!i)break b;else q=q+x|0}}while(1){k=0;do{k=(d[j>>0]|0)+k|0;q=a[j+1>>0]|0;j=j+2|0;if(!(q<<24>>24)){if(!k)break b}else{f:do if((k|0)<(s|0)){if((z-k|0)>0)if(((q&255)-(z-k)|0)<1)break;else{l=(q&255)-(z-k)|0;m=z-k|0}else{l=q&255;m=0}F=m+k|0;n=(l|0)>(s-F|0)?s-F|0:l;m=j+(m<<1)|0;l=r+(F<<1)|0;if((l^m)&3|0){if(!n)break;while(1){n=n+-1|0;F=b[m>>1]|0;E=b[l>>1]|0;b[l>>1]=(((E&63454)+(F&63454)|0)>>>1)+(E&F&2081);if(!n)break f;else{l=l+2|0;m=m+2|0}}}if(m&3){F=b[m>>1]|0;E=b[l>>1]|0;b[l>>1]=(((E&63454)+(F&63454)|0)>>>1)+(E&F&2081);l=l+2|0;n=n+-1|0;m=m+2|0}if(n>>>0>1){f=n+-2|0;p=l+4|0;o=m;while(1){E=c[o>>2]|0;F=c[l>>2]|0;c[l>>2]=(E&136382497&F)+(E>>>1&2079292399)+(F>>>1&2079292399);n=n+-2|0;if(n>>>0<=1)break;else{l=l+4|0;o=o+4|0}}l=p+((f&-2)<<1)|0;n=f-(f&-2)|0;m=m+4+((f&-2)<<1)|0}if(!n)break;F=b[m>>1]|0;E=b[l>>1]|0;b[l>>1]=(((E&63454)+(F&63454)|0)>>>1)+(E&F&2081)}while(0);j=j+((q&255)<<1)|0;k=k+(q&255)|0}}while((k|0)!=(A|0));i=i+-1|0;if(!i)break b;else r=r+(c[h+16>>2]|0)|0}}}while(0);v=(c[g+8>>2]|0)+z|0;r=m+(0-(z<<1))|0;i=c[g+12>>2]|0;while(1){k=0;do{k=(d[j>>0]|0)+k|0;q=a[j+1>>0]|0;j=j+2|0;if(!(q<<24>>24)){if(!k)break b}else{do if((k|0)<(v|0)){if((z-k|0)>0)if(((q&255)-(z-k)|0)<1)break;else{l=(q&255)-(z-k)|0;f=z-k|0}else{l=q&255;f=0}m=f+k|0;o=(l|0)>(v-m|0)?v-m|0:l;if((o|0)>0){p=c[w+24>>2]|0;m=r+(m<<1)|0;n=0;l=j+(f<<1)|0;while(1){C=e[l>>1]|0;D=e[m>>1]|0;F=c[w+32>>2]|0;E=c[w+28>>2]|0;H=c[124356+((E&255)<<2)>>2]|0;f=c[124356+((E>>>8&255)<<2)>>2]|0;B=c[124356+((E>>>16&255)<<2)>>2]|0;G=d[H+((D&s)>>>(F&255))>>0]|0;g=d[f+((D&t)>>>(F>>>8&255))>>0]|0;D=d[B+((D&u)>>>(F>>>16&255))>>0]|0;b[m>>1]=(((_((d[H+((C&s)>>>(F&255))>>0]|0)-G|0,y&255)|0)>>>8)+G|0)>>>(E&255)<<(F&255)|p|(((_((d[f+((C&t)>>>(F>>>8&255))>>0]|0)-g|0,y&255)|0)>>>8)+g|0)>>>(E>>>8&255)<<(F>>>8&255)|(((_((d[B+((C&u)>>>(F>>>16&255))>>0]|0)-D|0,y&255)|0)>>>8)+D|0)>>>(E>>>16&255)<<(F>>>16&255);n=n+1|0;if((n|0)>=(o|0))break;else{m=m+2|0;l=l+2|0}}}}while(0);j=j+((q&255)<<1)|0;k=k+(q&255)|0}}while((k|0)!=(A|0));i=i+-1|0;if(!i)break;else r=r+x|0}break}case 3:{r=(c[g+8>>2]|0)+z|0;q=m+(_(z,-3)|0)|0;i=c[g+12>>2]|0;while(1){k=0;do{k=(d[j>>0]|0)+k|0;f=a[j+1>>0]|0;j=j+2|0;if(!(f<<24>>24)){if(!k)break b}else{do if((k|0)<(r|0)){if((z-k|0)>0)if(((f&255)-(z-k)|0)<1)break;else{l=(f&255)-(z-k)|0;p=z-k|0}else{l=f&255;p=0}m=p+k|0;o=(l|0)>(r-m|0)?r-m|0:l;if((o|0)>0){m=q+(m*3|0)|0;n=0;l=j+(p*3|0)|0;while(1){x=(d[l+1>>0]|0)<<8|(d[l+2>>0]|0)<<16|(d[l>>0]|0);H=m+2|0;F=m+1|0;B=(d[F>>0]|0)<<8|(d[H>>0]|0)<<16|(d[m>>0]|0);s=c[w+12>>2]|0;G=c[w+32>>2]|0;C=c[w+28>>2]|0;p=c[124356+((C&255)<<2)>>2]|0;u=c[w+16>>2]|0;t=c[124356+((C>>>8&255)<<2)>>2]|0;g=c[w+20>>2]|0;v=c[124356+((C>>>16&255)<<2)>>2]|0;D=d[p+((B&s)>>>(G&255))>>0]|0;E=d[t+((u&B)>>>(G>>>8&255))>>0]|0;B=d[v+((g&B)>>>(G>>>16&255))>>0]|0;D=(((_((d[p+((s&x)>>>(G&255))>>0]|0)-D|0,y&255)|0)>>>8)+D|0)>>>(C&255)<<(G&255);E=(((_((d[t+((u&x)>>>(G>>>8&255))>>0]|0)-E|0,y&255)|0)>>>8)+E|0)>>>(C>>>8&255)<<(G>>>8&255);G=(((_((d[v+((g&x)>>>(G>>>16&255))>>0]|0)-B|0,y&255)|0)>>>8)+B|0)>>>(C>>>16&255)<<(G>>>16&255);G=D|c[w+24>>2]|E|G;a[m>>0]=G;a[F>>0]=G>>>8;a[H>>0]=G>>>16;n=n+1|0;if((n|0)>=(o|0))break;else{m=m+3|0;l=l+3|0}}}}while(0);j=j+((f&255)*3|0)|0;k=k+(f&255)|0}}while((k|0)!=(A|0));i=i+-1|0;if(!i)break;else q=q+(c[h+16>>2]|0)|0}break}default:break b}}while(0);if(!(c[h>>2]&2)){H=0;return H|0}H7a(h);H=0;return H|0}function G7a(a){a=a|0;var b=0;b=c[a+28>>2]|0;if(!b)if(!(c[a>>2]&2))b=0;else{C7a(a,1);c[a>>2]=c[a>>2]|2;b=c[a+28>>2]|0}c[a+28>>2]=b+1;return 0}function H7a(a){a=a|0;var b=0;b=c[a+28>>2]|0;if(!b)return;c[a+28>>2]=b+-1;if((b|0)>1)return;b=c[a>>2]|0;if(!(b&2))return;c[a>>2]=b&-3;B7a(a)|0;return}function I7a(a,b,f,g,h){a=a|0;b=b|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;if((f|0)<=0){g=f<<1;return g|0}k=c[g+24>>2]|0;l=c[g+20>>2]|0;m=c[124356+((l&255)<<2)>>2]|0;n=c[124356+((l>>>8&255)<<2)>>2]|0;l=c[124356+((l>>>16&255)<<2)>>2]|0;o=c[h+28>>2]|0;p=c[h+32>>2]|0;j=(c[h+24>>2]|0?255:0)>>>(o>>>24)<<(p>>>24);i=0;h=b;while(1){b=e[h>>1]|0;c[a>>2]=(d[n+((c[g+8>>2]&b)>>>(k>>>8&255))>>0]|0)>>>(o>>>8&255)<<(p>>>8&255)|(d[m+((b&c[g+4>>2])>>>(k&255))>>0]|0)>>>(o&255)<<(p&255)|(d[l+((c[g+12>>2]&b)>>>(k>>>16&255))>>0]|0)>>>(o>>>16&255)<<(p>>>16&255)|j;i=i+1|0;if((i|0)==(f|0))break;else{a=a+4|0;h=h+2|0}}g=f<<1;return g|0}function J7a(a,b,e,f,g){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0;if((e|0)<=0){f=e<<2;return f|0}j=c[f+24>>2]|0;k=c[f+20>>2]|0;l=c[124356+((k&255)<<2)>>2]|0;m=c[124356+((k>>>8&255)<<2)>>2]|0;k=c[124356+((k>>>16&255)<<2)>>2]|0;n=c[g+28>>2]|0;i=c[g+32>>2]|0;h=0;g=b;while(1){b=c[g>>2]|0;c[a>>2]=(d[m+((c[f+8>>2]&b)>>>(j>>>8&255))>>0]|0)>>>(n>>>8&255)<<(i>>>8&255)|(d[l+((c[f+4>>2]&b)>>>(j&255))>>0]|0)>>>(n&255)<<(i&255)|(d[k+((c[f+12>>2]&b)>>>(j>>>16&255))>>0]|0)>>>(n>>>16&255)<<(i>>>16&255)|b>>>24>>>(n>>>24)<<(i>>>24);h=h+1|0;if((h|0)==(e|0))break;else{a=a+4|0;g=g+4|0}}f=e<<2;return f|0}function K7a(a,b,e,f,g){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0;if((e|0)<=0){f=e<<2;return f|0}j=c[f+24>>2]|0;k=c[f+20>>2]|0;l=c[124356+((k&255)<<2)>>2]|0;m=c[124356+((k>>>8&255)<<2)>>2]|0;k=c[124356+((k>>>16&255)<<2)>>2]|0;n=c[g+28>>2]|0;i=c[g+32>>2]|0;h=0;g=b;while(1){b=c[g>>2]|0;c[a>>2]=(d[m+((c[f+8>>2]&(b&-993|b>>>16))>>>(j>>>8&255))>>0]|0)>>>(n>>>8&255)<<(i>>>8&255)|(d[l+(((b&-993|b>>>16)&c[f+4>>2])>>>(j&255))>>0]|0)>>>(n&255)<<(i&255)|(d[k+((c[f+12>>2]&(b&-993|b>>>16))>>>(j>>>16&255))>>0]|0)>>>(n>>>16&255)<<(i>>>16&255)|(b>>>2&248)>>>(n>>>24)<<(i>>>24);h=h+1|0;if((h|0)==(e|0))break;else{a=a+4|0;g=g+4|0}}f=e<<2;return f|0}function L7a(a){a=a|0;Wpb(a);return}function M7a(a){a=a|0;return d[a>>0]|0|0}function N7a(a){a=a|0;return e[a>>1]|0|0}function O7a(a){a=a|0;return (d[a+1>>0]|0)<<8|(d[a>>0]|0)|(d[a+2>>0]|0)<<16|0}function P7a(a){a=a|0;return c[a>>2]|0}function Q7a(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;if((d|0)<=0){e=d<<2;return e|0}j=c[e+32>>2]|0;h=c[f+28>>2]|0;i=c[f+32>>2]|0;g=0;while(1){l=c[b>>2]|0;k=(c[e+16>>2]&l)>>>(j>>>8&255)>>>(h>>>8&255)<<(i>>>8&255)|(c[e+12>>2]&l)>>>(j&255)>>>(h&255)<<(i&255)|c[f+24>>2]|(c[e+20>>2]&l)>>>(j>>>16&255)>>>(h>>>16&255)<<(i>>>16&255);c[a>>2]=k&63519|(c[e+24>>2]&l)>>>(j>>>24)<<2&2016|k<<16&132120576;g=g+1|0;if((g|0)==(d|0))break;else{b=b+4|0;a=a+4|0}}l=d<<2;return l|0}function R7a(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;if((d|0)<=0){e=d<<2;return e|0}j=c[e+32>>2]|0;h=c[f+28>>2]|0;i=c[f+32>>2]|0;g=0;while(1){l=c[b>>2]|0;k=(c[e+16>>2]&l)>>>(j>>>8&255)>>>(h>>>8&255)<<(i>>>8&255)|(c[e+12>>2]&l)>>>(j&255)>>>(h&255)<<(i&255)|c[f+24>>2]|(c[e+20>>2]&l)>>>(j>>>16&255)>>>(h>>>16&255)<<(i>>>16&255);c[a>>2]=k&64543|(c[e+24>>2]&l)>>>(j>>>24)<<2&992|k<<16&65011712;g=g+1|0;if((g|0)==(d|0))break;else{b=b+4|0;a=a+4|0}}l=d<<2;return l|0}function S7a(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;if((d|0)<=0){e=d<<2;return e|0}j=c[e+32>>2]|0;i=c[f+28>>2]|0;h=c[f+32>>2]|0;g=b;f=a;b=0;while(1){a=c[g>>2]|0;c[f>>2]=(c[e+12>>2]&a)>>>(j&255)>>>(i&255)<<(h&255)|(c[e+24>>2]&a)>>>(j>>>24)<<24|(c[e+16>>2]&a)>>>(j>>>8&255)>>>(i>>>8&255)<<(h>>>8&255)|(c[e+20>>2]&a)>>>(j>>>16&255)>>>(i>>>16&255)<<(h>>>16&255);b=b+1|0;if((b|0)==(d|0))break;else{g=g+4|0;f=f+4|0}}e=d<<2;return e|0}function T7a(a,e,f,g,h){a=a|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;if((f|0)<=0){f=f<<1;return f|0}n=c[g+12>>2]|0;p=c[g+32>>2]|0;k=c[g+28>>2]|0;q=c[124356+((k&255)<<2)>>2]|0;r=c[g+16>>2]|0;o=c[124356+((k>>>8&255)<<2)>>2]|0;j=c[g+20>>2]|0;k=c[124356+((k>>>16&255)<<2)>>2]|0;l=c[h+28>>2]|0;m=c[h+32>>2]|0;i=c[h+24>>2]|0;g=a;h=0;while(1){a=c[e>>2]|0;b[g>>1]=(d[o+((r&a)>>>(p>>>8&255))>>0]|0)>>>(l>>>8&255)<<(m>>>8&255)|(d[q+((n&a)>>>(p&255))>>0]|0)>>>(l&255)<<(m&255)|i|(d[k+((j&a)>>>(p>>>16&255))>>0]|0)>>>(l>>>16&255)<<(m>>>16&255);h=h+1|0;if((h|0)==(f|0))break;else{e=e+4|0;g=g+2|0}}f=f<<1;return f|0}function U7a(f,g,h,i){f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;s=c[f+8>>2]|0;o=c[h+4>>2]|0;if(c[h>>2]&2|0)if((G7a(h)|0)<0){h=-1;return h|0}p=(c[h+20>>2]|0)+(_(c[h+16>>2]|0,c[i+4>>2]|0)|0)|0;n=a[o+9>>0]|0;p=p+(_(n&255,c[i>>2]|0)|0)|0;j=(c[(c[f+52>>2]|0)+12>>2]|0)+28|0;i=c[g+4>>2]|0;a:do if(!i)m=20;else{if(n<<24>>24!=2){l=i<<1;while(1){i=0;do{i=(e[j>>1]|0)+i|0;k=b[j+2>>1]|0;j=j+4|0;if(!(k<<16>>16)){if(!i)break a}else{i=i+(k&65535)|0;j=j+((k&65535)<<2)|0}}while((i|0)<(s|0));l=l+-1|0;if(!l){m=20;break a}}}while(1){k=0;do{k=(d[j>>0]|0)+k|0;l=a[j+1>>0]|0;j=j+2|0;if(!(l<<24>>24)){if(!k)break a}else{k=k+(l&255)|0;j=j+((l&255)<<1)|0}}while((k|0)<(s|0));l=0;k=j+(j&2)|0;while(1){r=e[k+2>>1]|0;j=k+((r<<2)+4)|0;l=(e[k>>1]|0)+l+r|0;if((l|0)>=(s|0))break;else k=j}i=i+-1|0;if(!i){m=20;break}}}while(0);b:do if((m|0)==20){r=c[g>>2]|0;if(!r)if((c[g+8>>2]|0)==(c[f+8>>2]|0)){switch(n&255|0){case 2:break;case 4:{i=c[g+12>>2]|0;while(1){k=0;do{k=(e[j>>1]|0)+k|0;l=b[j+2>>1]|0;j=j+4|0;if(!(l<<16>>16)){if(!k)break b}else{l7a(p+(k<<2)|0,j,(l&65535)<<2)|0;k=k+(l&65535)|0;j=j+((l&65535)<<2)|0}}while((k|0)<(s|0));k=0;do{k=(e[j>>1]|0)+k|0;o=b[j+2>>1]|0;j=j+4|0;if(o<<16>>16){l=p+(k<<2)|0;m=0;n=j;while(1){g=c[n>>2]|0;r=c[l>>2]|0;c[l>>2]=((_((g&65280)-(r&65280)|0,g>>>24)|0)>>>8)+(r&65280)&65280|((_((g&16711935)-(r&16711935)|0,g>>>24)|0)>>>8)+(r&16711935)&16711935|-16777216;m=m+1|0;if((m|0)==(o&65535|0))break;else{l=l+4|0;n=n+4|0}}k=k+(o&65535)|0;j=j+((o&65535)<<2)|0}}while((k|0)<(s|0));i=i+-1|0;if(!i)break b;else p=p+(c[h+16>>2]|0)|0}}default:break b}if((c[o+16>>2]|0)!=2016)if((c[o+12>>2]|0)!=2016)if((c[o+20>>2]|0)!=2016){i=c[g+12>>2]|0;while(1){k=0;do{k=(d[j>>0]|0)+k|0;l=a[j+1>>0]|0;j=j+2|0;if(!(l<<24>>24)){if(!k)break b}else{l7a(p+(k<<1)|0,j,(l&255)<<1)|0;k=k+(l&255)|0;j=j+((l&255)<<1)|0}}while((k|0)<(s|0));k=0;j=j+(j&2)|0;do{k=(e[j>>1]|0)+k|0;o=b[j+2>>1]|0;j=j+4|0;if(o<<16>>16){l=p+(k<<1)|0;m=0;n=j;while(1){g=c[n>>2]|0;r=e[l>>1]|0;r=((_((g&65043487)-((r<<16|r)&65043487)|0,g>>>5&31)|0)>>>5)+((r<<16|r)&65043487)&65043487;b[l>>1]=r>>>16|r;m=m+1|0;if((m|0)==(o&65535|0))break;else{l=l+2|0;n=n+4|0}}k=k+(o&65535)|0;j=j+((o&65535)<<2)|0}}while((k|0)<(s|0));i=i+-1|0;if(!i)break b;else p=p+(c[h+16>>2]|0)|0}}i=c[g+12>>2]|0;while(1){k=0;do{k=(d[j>>0]|0)+k|0;l=a[j+1>>0]|0;j=j+2|0;if(!(l<<24>>24)){if(!k)break b}else{l7a(p+(k<<1)|0,j,(l&255)<<1)|0;k=k+(l&255)|0;j=j+((l&255)<<1)|0}}while((k|0)<(s|0));k=0;j=j+(j&2)|0;do{k=(e[j>>1]|0)+k|0;o=b[j+2>>1]|0;j=j+4|0;if(o<<16>>16){l=p+(k<<1)|0;m=0;n=j;while(1){g=c[n>>2]|0;r=e[l>>1]|0;r=((_((g&132184095)-((r<<16|r)&132184095)|0,g>>>5&31)|0)>>>5)+((r<<16|r)&132184095)&132184095;b[l>>1]=r>>>16|r;m=m+1|0;if((m|0)==(o&65535|0))break;else{l=l+2|0;n=n+4|0}}k=k+(o&65535)|0;j=j+((o&65535)<<2)|0}}while((k|0)<(s|0));i=i+-1|0;if(!i)break b;else p=p+(c[h+16>>2]|0)|0}}i=c[h+4>>2]|0;switch(d[i+9>>0]|0|0){case 2:break;case 4:{q=(c[g+8>>2]|0)+r|0;f=p+(0-(r<<2))|0;i=c[g+12>>2]|0;while(1){k=0;do{k=(e[j>>1]|0)+k|0;n=b[j+2>>1]|0;j=j+4|0;if(!(n<<16>>16)){if(!k)break b}else{l=(r-k|0)>0?r:k;m=(n&65535)-((r-k|0)>0?r-k|0:0)|0;m=(m|0)>(q-l|0)?q-l|0:m;if((m|0)>0)l7a(f+(l<<2)|0,j+(l-k<<2)|0,m<<2)|0;j=j+((n&65535)<<2)|0;k=k+(n&65535)|0}}while((k|0)<(s|0));k=0;do{k=(e[j>>1]|0)+k|0;p=b[j+2>>1]|0;j=j+4|0;if(p<<16>>16){l=(r-k|0)>0?r:k;n=(p&65535)-((r-k|0)>0?r-k|0:0)|0;n=(n|0)>(q-l|0)?q-l|0:n;if((n|0)>0){m=f+(l<<2)|0;o=0;do{u=c[j+(l-k<<2)+(o<<2)>>2]|0;g=m+(o<<2)|0;t=c[g>>2]|0;c[g>>2]=((_((u&16711935)-(t&16711935)|0,u>>>24)|0)>>>8)+(t&16711935)&16711935|((_((u&65280)-(t&65280)|0,u>>>24)|0)>>>8)+(t&65280)&65280|-16777216;o=o+1|0}while((o|0)<(n|0))}j=j+((p&65535)<<2)|0;k=k+(p&65535)|0}}while((k|0)<(s|0));i=i+-1|0;if(!i)break b;else f=f+(c[h+16>>2]|0)|0}}default:break b}if((c[i+16>>2]|0)!=2016)if((c[i+12>>2]|0)!=2016)if((c[i+20>>2]|0)!=2016){q=(c[g+8>>2]|0)+r|0;f=p+(0-(r<<1))|0;i=c[g+12>>2]|0;while(1){k=0;do{k=(d[j>>0]|0)+k|0;n=a[j+1>>0]|0;j=j+2|0;if(!(n<<24>>24)){if(!k)break b}else{m=(n&255)-((r-k|0)>0?r-k|0:0)|0;l=(r-k|0)>0?r:k;m=(m|0)>(q-l|0)?q-l|0:m;if((m|0)>0)l7a(f+(l<<1)|0,j+(l-k<<1)|0,m<<1)|0;j=j+((n&255)<<1)|0;k=k+(n&255)|0}}while((k|0)<(s|0));j=j+(j&2)|0;k=0;do{k=(e[j>>1]|0)+k|0;p=b[j+2>>1]|0;j=j+4|0;if(p<<16>>16){n=(p&65535)-((r-k|0)>0?r-k|0:0)|0;l=(r-k|0)>0?r:k;n=(n|0)>(q-l|0)?q-l|0:n;if((n|0)>0){m=f+(l<<1)|0;o=0;do{g=c[j+(l-k<<2)+(o<<2)>>2]|0;u=m+(o<<1)|0;t=e[u>>1]|0;t=((_((g&65043487)-((t<<16|t)&65043487)|0,g>>>5&31)|0)>>>5)+((t<<16|t)&65043487)&65043487;b[u>>1]=t>>>16|t;o=o+1|0}while((o|0)<(n|0))}j=j+((p&65535)<<2)|0;k=k+(p&65535)|0}}while((k|0)<(s|0));i=i+-1|0;if(!i)break b;else f=f+(c[h+16>>2]|0)|0}}q=(c[g+8>>2]|0)+r|0;f=p+(0-(r<<1))|0;i=c[g+12>>2]|0;while(1){k=0;do{k=(d[j>>0]|0)+k|0;n=a[j+1>>0]|0;j=j+2|0;if(!(n<<24>>24)){if(!k)break b}else{m=(n&255)-((r-k|0)>0?r-k|0:0)|0;l=(r-k|0)>0?r:k;m=(m|0)>(q-l|0)?q-l|0:m;if((m|0)>0)l7a(f+(l<<1)|0,j+(l-k<<1)|0,m<<1)|0;j=j+((n&255)<<1)|0;k=k+(n&255)|0}}while((k|0)<(s|0));j=j+(j&2)|0;k=0;do{k=(e[j>>1]|0)+k|0;p=b[j+2>>1]|0;j=j+4|0;if(p<<16>>16){n=(p&65535)-((r-k|0)>0?r-k|0:0)|0;l=(r-k|0)>0?r:k;n=(n|0)>(q-l|0)?q-l|0:n;if((n|0)>0){m=f+(l<<1)|0;o=0;do{g=c[j+(l-k<<2)+(o<<2)>>2]|0;u=m+(o<<1)|0;t=e[u>>1]|0;t=((_((g&132184095)-((t<<16|t)&132184095)|0,g>>>5&31)|0)>>>5)+((t<<16|t)&132184095)&132184095;b[u>>1]=t>>>16|t;o=o+1|0}while((o|0)<(n|0))}j=j+((p&65535)<<2)|0;k=k+(p&65535)|0}}while((k|0)<(s|0));i=i+-1|0;if(!i)break;else f=f+(c[h+16>>2]|0)|0}}while(0);if(!(c[h>>2]&2)){u=0;return u|0}H7a(h);u=0;return u|0}function V7a(a,b){a=a|0;b=b|0;var e=0,f=0,g=0;f=i;i=i+16|0;if(!a){b=l6a(594655,f)|0;i=f;return b|0}if(b|0)if((c[b>>2]|0)!=(1<<(d[a+8>>0]|0)|0)){b=l6a(594702,f+8|0)|0;i=f;return b|0}e=c[a+4>>2]|0;if((e|0)==(b|0)){b=0;i=f;return b|0}if(e|0){g=c[e+12>>2]|0;c[e+12>>2]=g+-1;if((g|0)<=1){L7a(c[e+4>>2]|0);L7a(e)}}c[a+4>>2]=b;if(!b){g=0;i=f;return g|0}c[b+12>>2]=(c[b+12>>2]|0)+1;g=0;i=f;return g|0}function W7a(a){a=a|0;var b=0,d=0;if(!a)return;b=c[a>>2]|0;if(b|0){d=c[b+56>>2]|0;c[b+56>>2]=d+-1;if((d|0)<2)A7a(b)}c[a>>2]=0;c[a+84>>2]=0;c[a+80>>2]=0;L7a(c[a+64>>2]|0);c[a+64>>2]=0;return}function X7a(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;if(!a){c[e>>2]=594777;l6a(608461,e)|0;i=e;return}d=c[a+36>>2]|0;c[a+36>>2]=d+-1;if((d|0)>1){i=e;return}b=c[299744]|0;a:do if((b|0)==(a|0))c[299744]=c[a+40>>2];else if(b|0){do{d=b+40|0;b=c[d>>2]|0;if(!b)break a}while((b|0)!=(a|0));c[d>>2]=c[a+40>>2]}while(0);b=c[a+4>>2]|0;if(b|0){d=c[b+12>>2]|0;c[b+12>>2]=d+-1;if((d|0)<=1){L7a(c[b+4>>2]|0);L7a(b)}}L7a(a);i=e;return}function Y7a(a){a=a|0;var b=0,d=0;if(!a)return;b=c[a>>2]|0;if(b|0){d=c[b+56>>2]|0;c[b+56>>2]=d+-1;if((d|0)<2)A7a(b)}c[a>>2]=0;c[a+84>>2]=0;c[a+80>>2]=0;L7a(c[a+64>>2]|0);c[a+64>>2]=0;L7a(a);return}function Z7a(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+64|0;c[a+56>>2]=c[a+16>>2];c[a+60>>2]=c[a+20>>2];c[a+64>>2]=c[a+24>>2];c[a+68>>2]=c[a+28>>2];do if(b&128|0){d=c[299450]|0;if(!d){l6a(593111,f)|0;break}if((c[a>>2]|0)!=(d+256|0)){l6a(606608,f+8|0)|0;break}if(!(c[a+48>>2]&128)){e=c[d+72>>2]|0;if(e|0)si[e&511](d,a)}}while(0);do if(b&64|0){d=c[299450]|0;if(!d){l6a(593111,f+16|0)|0;break}if((c[a>>2]|0)!=(d+256|0)){l6a(606608,f+24|0)|0;break}if(!(c[a+48>>2]&64)){x6a(a,0)|0;d=c[299450]|0;e=c[d+76>>2]|0;if(e|0)si[e&511](d,a)}}while(0);do if(b&1|0){d=c[299450]|0;if(!d){l6a(593111,f+32|0)|0;break}if((c[a>>2]|0)!=(d+256|0)){l6a(606608,f+40|0)|0;break}d=c[a+48>>2]|0;if((b&4097|0)!=(d&4097|0)){c[a+48>>2]=d&-4098|b&4097;if(x6a(a,(d&68|0)==4&1)|0)c[a+48>>2]=c[a+48>>2]&-4098|d&4097}}while(0);if(b&256|0)_7a(a,1);if(b&8|0){i=f;return}d=c[299450]|0;if(!d){l6a(593111,f+48|0)|0;i=f;return}if(a|0)if((c[a>>2]|0)==(d+256|0)){if(c[a+48>>2]&4|0){i=f;return}e=c[d+60>>2]|0;if(e|0)si[e&511](d,a);I6a(a,1,0,0)|0;i=f;return}l6a(606608,f+56|0)|0;i=f;return}function _7a(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;f=i;i=i+16|0;d=c[299450]|0;if(!d){l6a(593111,f)|0;i=f;return}if(a|0)if((c[a>>2]|0)==(d+256|0)){d=c[a+48>>2]|0;if(!((b|0)!=0^(d&256|0)!=0)){i=f;return}c[a+48>>2]=b|0?d|256:d&-257;e=c[(R6a()|0)+76>>2]|0;g=c[a+48>>2]|0;d=c[299450]|0;b=c[d+252>>2]|0;if((g&512|0)==0|(g&256|e|0)==0)if((b|0)==(a|0)){c[d+252>>2]=0;e=0}else e=0;else{if(!((b|0)==0|(b|0)==(a|0))){c[b+48>>2]=c[b+48>>2]&-257;e=c[d+100>>2]|0;if(e){$i[e&255](d,b,0);d=c[299450]|0}}c[d+252>>2]=a;e=1}b=c[d+100>>2]|0;if(!b){i=f;return}$i[b&255](d,a,e);i=f;return}l6a(606608,f+8|0)|0;i=f;return}function $7a(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0;k=i;i=i+32|0;j=c[b+316>>2]|0;if(!j){L7a(b);i=k;return}d=c[j>>2]|0;if((c[299745]|0)==(d|0)){d=j;e=5}else{c[j+268>>2]=0;if((a8a(c[b+188>>2]|0,d)|0)>=0){c[299745]=c[j>>2];l8a(b)|0;d=c[b+316>>2]|0;e=5}}if((e|0)==5)if(c[d+4>>2]|0){d=d+108|0;do{}while((dj[c[d>>2]&7]()|0)!=0)}d=c[j+252>>2]|0;if(d|0)do{Hi[c[j+60>>2]&1023](c[d>>2]|0);h=d;d=c[d+24>>2]|0;L7a(h)}while((d|0)!=0);d=c[j+260>>2]|0;if(d|0)do{Hi[c[j+56>>2]&1023](c[d>>2]|0);h=d;d=c[d+156>>2]|0;L7a(h)}while((d|0)!=0);d=c[j>>2]|0;if(d|0){e=c[j+232>>2]|0;if(e){do{h=e;e=c[e+12>>2]|0;si[c[j+204>>2]&511](1,h+8|0);h=c[b+316>>2]|0;a:do if(c[h+4>>2]|0){d=dj[c[h+108>>2]&7]()|0;if(d|0){g=1279070;while(1){g=(a[g>>0]|0)==0?594910:g;switch(d|0){case 1280:{f=594981;break}case 1281:{f=594964;break}case 1282:{f=594943;break}case 1285:{f=594926;break}default:f=594918}c[k>>2]=g;c[k+4>>2]=595023;c[k+8>>2]=464;c[k+12>>2]=595157;c[k+16>>2]=f;c[k+20>>2]=d;l6a(594997,k)|0;d=dj[c[h+108>>2]&7]()|0;if(!d)break a}}}while(0);L7a(c[j+232>>2]|0);c[j+232>>2]=e}while((e|0)!=0);d=c[j>>2]|0}n8a(d)}L7a(c[j+244>>2]|0);L7a(j);L7a(b);i=k;return}function a8a(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+48|0;d=c[299450]|0;if(!d){l6a(593111,e)|0;d=0}else d=b8a(c[d+636>>2]|0)|0;if((d|0)==(a|0)){d=c[299450]|0;if(!d){l6a(593111,e+8|0)|0;d=0}else d=b8a(c[d+640>>2]|0)|0;if((d|0)==(b|0)){b=0;i=e;return b|0}}d=c[299450]|0;do if(!b)a=0;else{if(!d){l6a(593111,e+16|0)|0;b=-1;i=e;return b|0}if(a|0)if((c[a>>2]|0)==(d+256|0)){if(c[a+48>>2]&2|0)break;b=l6a(594784,e+32|0)|0;i=e;return b|0}l6a(606608,e+24|0)|0;b=-1;i=e;return b|0}while(0);d=Gi[c[d+156>>2]&255](d,a,b)|0;if(d|0){b=d;i=e;return b|0}d=c[299450]|0;c[d+628>>2]=a;c[d+632>>2]=b;i8a(c[d+636>>2]|0,a,0)|0;i8a(c[(c[299450]|0)+640>>2]|0,b,0)|0;b=0;i=e;return b|0}function b8a(a){a=a|0;var b=0;b=c8a()|0;if((a|0)==0|(b|0)==0){a=0;return a|0}if((c[b>>2]|0)>>>0>>0){a=0;return a|0}a=c[b+4+(a+-1<<3)>>2]|0;return a|0}function c8a(){return d8a()|0}function d8a(){var a=0,b=0,d=0,e=0;e=i;i=i+16|0;b=e8a()|0;c[e>>2]=0;f8a(e);h8a(e);a=c[299746]|0;if(!a){d=0;i=e;return d|0}while(1){if((c[a>>2]|0)==(b|0))break;a=c[a+8>>2]|0;if(!a){a=0;d=5;break}}if((d|0)==5){i=e;return a|0}d=c[a+4>>2]|0;i=e;return d|0}function e8a(){return 0}function f8a(a){a=a|0;var b=0;b=c[a>>2]|0;c[a>>2]=1;if(!b)return;do{g8a(0);b=c[a>>2]|0;c[a>>2]=1}while((b|0)!=0);return}function g8a(a){a=a|0;var b=0,d=0,e=0;d=i;i=i+16|0;c[d+8>>2]=(a>>>0)/1e3|0;c[d+8+4>>2]=((a>>>0)%1e3|0)*1e6;b=Mlb()|0;c[b>>2]=0;c[d>>2]=(a>>>0)/1e3|0;c[d+4>>2]=((a>>>0)%1e3|0)*1e6;if(!(Lb(d|0,d+8|0)|0)){i=d;return}while(1){if((c[b>>2]|0)!=4){b=4;break}e=c[d+8>>2]|0;a=c[d+8+4>>2]|0;c[b>>2]=0;c[d>>2]=e;c[d+4>>2]=a;if(!(Lb(d|0,d+8|0)|0)){b=4;break}}if((b|0)==4){i=d;return}}function h8a(a){a=a|0;c[a>>2]=0;return}function i8a(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+16|0;if(!a){c[h>>2]=594828;b=l6a(608461,h)|0;i=h;return b|0}f=c8a()|0;if(!f){e=0;g=5}else{e=c[f>>2]|0;if(e>>>0>>0)g=5;else e=f}if((g|0)==5){f=j7a(f,(a<<3)+36|0)|0;if(!f){b=k7a(0)|0;i=h;return b|0}c[f>>2]=a+4;if(e>>>0<(a+4|0)>>>0)do{c[f+4+(e<<3)>>2]=0;c[f+4+(e<<3)+4>>2]=0;e=e+1|0}while((e|0)!=(a+4|0));if(!(j8a(f)|0))e=f;else{b=-1;i=h;return b|0}}c[e+4+(a+-1<<3)>>2]=b;c[e+4+(a+-1<<3)+4>>2]=d;b=0;i=h;return b|0}function j8a(a){a=a|0;return k8a(a)|0}function k8a(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;e=e8a()|0;b=c[299746]|0;a:do if(!b)f=10;else{d=0;while(1){if((c[b>>2]|0)==(e|0)){e=b;break}d=c[b+8>>2]|0;if(!d){f=10;break a}else{g=b;b=d;d=g}}if(a|0){c[e+4>>2]=a;break}b=c[e+8>>2]|0;if(!d)c[299746]=b;else c[d+8>>2]=b;L7a(e)}while(0);do if((f|0)==10){b=c7a(12)|0;if(b|0){c[b>>2]=e;c[b+4>>2]=a;c[b+8>>2]=c[299746];c[299746]=b;break}g=k7a(0)|0;return g|0}while(0);g=0;return g|0}function l8a(b){b=b|0;var d=0,e=0,f=0,h=0;h=i;i=i+96|0;d=c[b+316>>2]|0;if((c[299745]|0)!=(c[d>>2]|0)){b=0;i=h;return b|0}if(!(c[b+304>>2]|0)){m8a(b,h+32|0,h+24|0)|0;f=c[b+224>>2]|0;kj[c[d+188>>2]&127](c[b+212>>2]|0,(c[h+24>>2]|0)-(c[b+216>>2]|0)-f|0,c[b+220>>2]|0,f)}else kj[c[d+188>>2]&127](c[b+212>>2]|0,c[b+216>>2]|0,c[b+220>>2]|0,c[b+224>>2]|0);if(c[d+268>>2]|0){d=c[b+316>>2]|0;e=c[b+220>>2]|0;if(e|0){f=c[b+224>>2]|0;if(f|0){g[h+32>>2]=2.0/+(e|0);c[h+32+4>>2]=0;c[h+32+4+4>>2]=0;c[h+32+4+8>>2]=0;c[h+32+4+12>>2]=0;e=(c[b+304>>2]|0)==0;g[h+32+20>>2]=(e?-2.0:2.0)/+(f|0);f=h+32+24|0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;c[f+16>>2]=0;c[f+20>>2]=0;g[h+32+48>>2]=-1.0;g[h+32+52>>2]=e?1.0:-1.0;g[h+32+56>>2]=0.0;g[h+32+60>>2]=1.0;if(H6a((c[d+268>>2]|0)+88|0,h+32|0,64)|0){kj[c[d+176>>2]&127](c[(c[d+268>>2]|0)+16>>2]|0,1,0,h+32|0);l7a((c[d+268>>2]|0)+88|0,h+32|0,64)|0}}}}b=c[b+316>>2]|0;if(!(c[b+4>>2]|0)){b=0;i=h;return b|0}d=dj[c[b+108>>2]&7]()|0;if(!d){b=0;i=h;return b|0}else f=1279070;while(1){f=(a[f>>0]|0)==0?594910:f;switch(d|0){case 1280:{e=594981;break}case 1281:{e=594964;break}case 1282:{e=594943;break}case 1285:{e=594926;break}default:e=594918}c[h>>2]=f;c[h+4>>2]=595023;c[h+8>>2]=399;c[h+12>>2]=595116;c[h+16>>2]=e;c[h+20>>2]=d;l6a(594997,h)|0;d=dj[c[b+108>>2]&7]()|0;if(!d){d=-1;break}}i=h;return d|0}function m8a(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+32|0;do if(!a)f=3;else if((c[a>>2]|0)==1275904){e=c[a+304>>2]|0;if(!e){e=c[a+8>>2]|0;if(e|0){e=Gi[e&255](a,b,d)|0;break}e=c[a+188>>2]|0;if(!e){e=l6a(594864,g+16|0)|0;break}else{V6a(e,b,d);e=0;break}}if((c[e>>2]|0)!=1275905){l6a(594848,g+8|0)|0;e=-1;break}if(b|0)c[b>>2]=c[e+12>>2];if(!d)e=0;else{c[d>>2]=c[e+16>>2];e=0}}else f=3;while(0);if((f|0)==3){l6a(594831,g)|0;e=-1}i=g;return e|0}function n8a(a){a=a|0;var b=0;b=c[299450]|0;if(!((a|0)!=0&(b|0)!=0))return;if((b8a(c[b+640>>2]|0)|0)==(a|0))a8a(0,0)|0;b=c[299450]|0;si[c[b+176>>2]&511](b,a);return}function o8a(a){a=a|0;var b=0,d=0,e=0;d=i;i=i+32|0;b=c[299450]|0;if(!b){l6a(593111,d)|0;a=0;i=d;return a|0}if(a|0)if((c[a>>2]|0)==(b+256|0)){if(!(c[a+48>>2]&2)){l6a(594784,d+16|0)|0;a=0;i=d;return a|0}b=Xi[c[b+152>>2]&511](b,a)|0;if(!b){a=0;i=d;return a|0}e=c[299450]|0;c[e+628>>2]=a;c[e+632>>2]=b;i8a(c[e+636>>2]|0,a,0)|0;i8a(c[(c[299450]|0)+640>>2]|0,b,0)|0;a=b;i=d;return a|0}l6a(606608,d+8|0)|0;e=0;i=d;return e|0}function p8a(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+32|0;b=c[299450]|0;if(!b){l6a(593111,e)|0;a=0;i=e;return a|0}d=c[b+144>>2]|0;if(!d){l6a(593181,e+16|0)|0;a=0;i=e;return a|0}if(!(c[b+364>>2]|0)){l6a(593152,e+8|0)|0;a=0;i=e;return a|0}else{a=Xi[d&511](b,a)|0;i=e;return a|0}return 0}function q8a(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+32|0;b=c[299450]|0;if(!b){a=l6a(593111,e)|0;i=e;return a|0}if(!(b8a(c[b+640>>2]|0)|0)){a=l6a(595237,e+8|0)|0;i=e;return a|0}d=c[299450]|0;b=c[d+164>>2]|0;if(!b){a=l6a(595277,e+16|0)|0;i=e;return a|0}else{a=Xi[b&511](d,a)|0;i=e;return a|0}return 0}function r8a(){var a=0,b=0;a=c[299450]|0;if(!a){b=0;return b|0}if(!(b8a(c[a+640>>2]|0)|0)){b=0;return b|0}a=c[299450]|0;b=c[a+168>>2]|0;if(!b){b=0;return b|0}b=vi[b&2047](a)|0;return b|0}function s8a(b,d){b=b|0;d=d|0;switch(a[d+12>>0]|0){case 2:case 1:case 6:{c[299745]=0;return}case 7:{gj[c[(c[b+316>>2]|0)+88>>2]&15]();return}default:return}}function t8a(a,b,d){a=a|0;b=b|0;d=d|0;u8a(c[a+188>>2]|0,b,d);return 0}function u8a(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+16|0;e=c[299450]|0;if(!e){l6a(593111,g)|0;i=g;return}if(a|0)if((c[a>>2]|0)==(e+256|0)){f=c[e+160>>2]|0;if(f|0){kj[f&127](e,a,b,d);i=g;return}if(b|0)c[b>>2]=c[a+24>>2];if(!d){i=g;return}c[d>>2]=c[a+28>>2];i=g;return}l6a(606608,g+8|0)|0;i=g;return}function v8a(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+224|0;l=c[b+316>>2]|0;e=c[l>>2]|0;if((c[299745]|0)==(e|0)){e=l;n=4}else{c[l+268>>2]=0;if((a8a(c[b+188>>2]|0,e)|0)>=0){c[299745]=c[l>>2];l8a(b)|0;e=c[b+316>>2]|0;n=4}}if((n|0)==4)if(c[e+4>>2]|0){e=e+108|0;do{}while((dj[c[e>>2]&7]()|0)!=0)}e=c[d+4>>2]|0;a:do if((e|0)<825382478)if((e|0)<374740996)if((e|0)<372645892)switch(e|0){case 370546692:{k=6408;break a}default:{n=9;break a}}else switch(e|0){case 372645892:{k=6408;break a}default:{n=9;break a}}else if((e|0)<376840196)switch(e|0){case 374740996:{k=6408;break a}default:{n=9;break a}}else switch(e|0){case 376840196:{k=6408;break a}default:{n=9;break a}}else{b:do if((e|0)<842094169)if((e|0)<842094158)switch(e|0){case 825382478:break b;default:{n=9;break a}}else switch(e|0){case 842094158:break b;default:{n=9;break a}}else if((e|0)<1448433993)switch(e|0){case 842094169:break b;default:{n=9;break a}}else switch(e|0){case 1448433993:break b;default:{n=9;break a}}while(0);k=6409}while(0);if((n|0)==9){n=l6a(595320,o)|0;i=o;return n|0}m=Y6a(1,44)|0;if(!m){n=k7a(0)|0;i=o;return n|0}c[m>>2]=0;c[m+4>>2]=3553;c[m+8>>2]=k;c[m+12>>2]=5121;e=c[d+4>>2]|0;c[m+24>>2]=((e|0)==1448433993|(e|0)==842094169)&1;c[m+28>>2]=((e|0)==842094158|(e|0)==825382478)&1;c[m+36>>2]=0;c[m+32>>2]=0;e=p7a(601523)|0;if(!e)j=9728;else if((a[e>>0]|0)==48)j=9728;else{j=(w8a(e,601548)|0)==0;j=j?9728:9729}if((c[d+8>>2]|0)==1){f=c[d+12>>2]|0;e=c[d+4>>2]|0;c:do if((e|0)==0|(e&-268435456|0)==268435456)e=e&255;else{if((e|0)<1498831189)switch(e|0){case 844715353:{e=2;break c}default:{}}else switch(e|0){case 1498831189:{e=2;break c}default:{}}e=(e|0)==1431918169?2:1}while(0);f=_(e,f)|0;c[m+20>>2]=f;f=_(c[d+16>>2]|0,f)|0;if(!(c[m+24>>2]|0))e=f;else e=((f|0)/2|0)+f|0;if(c[m+28>>2]|0)e=((f|0)/2|0)+e|0;h=Y6a(1,e)|0;c[m+16>>2]=h;if(!h){L7a(m);n=k7a(0)|0;i=o;return n|0}}h=c[b+316>>2]|0;d:do if(c[h+4>>2]|0){e=dj[c[h+108>>2]&7]()|0;if(e|0){g=1279070;while(1){g=(a[g>>0]|0)==0?594910:g;switch(e|0){case 1280:{f=594981;break}case 1281:{f=594964;break}case 1282:{f=594943;break}case 1285:{f=594926;break}default:f=594918}c[o+8>>2]=g;c[o+8+4>>2]=595023;c[o+8+8>>2]=574;c[o+8+12>>2]=595349;c[o+8+16>>2]=f;c[o+8+20>>2]=e;l6a(594997,o+8|0)|0;e=dj[c[h+108>>2]&7]()|0;if(!e)break d}}}while(0);if(c[m+24>>2]|0){si[c[l+96>>2]&511](1,m+32|0);g=c[b+316>>2]|0;if(c[g+4>>2]|0){f=dj[c[g+108>>2]&7]()|0;if(f|0){while(1){switch(f|0){case 1280:{e=594981;break}case 1281:{e=594964;break}case 1282:{e=594943;break}case 1285:{e=594926;break}default:e=594918}c[o+32>>2]=595404;c[o+32+4>>2]=595023;c[o+32+8>>2]=578;c[o+32+12>>2]=595349;c[o+32+16>>2]=e;c[o+32+20>>2]=f;l6a(594997,o+32|0)|0;f=dj[c[g+108>>2]&7]()|0;if(!f){e=-1;break}}i=o;return e|0}}Hi[c[l+16>>2]&1023](33986);si[c[l+28>>2]&511](c[m+4>>2]|0,c[m+32>>2]|0);$i[c[l+160>>2]&255](c[m+4>>2]|0,10241,j);$i[c[l+160>>2]&255](c[m+4>>2]|0,10240,j);$i[c[l+160>>2]&255](c[m+4>>2]|0,10242,33071);$i[c[l+160>>2]&255](c[m+4>>2]|0,10243,33071);Vi[c[l+156>>2]&15](c[m+4>>2]|0,0,k,(c[d+12>>2]|0)/2|0,(c[d+16>>2]|0)/2|0,0,k,5121,0);si[c[l+96>>2]&511](1,m+36|0);g=c[b+316>>2]|0;if(c[g+4>>2]|0){f=dj[c[g+108>>2]&7]()|0;if(f|0){while(1){switch(f|0){case 1280:{e=594981;break}case 1281:{e=594964;break}case 1282:{e=594943;break}case 1285:{e=594926;break}default:e=594918}c[o+56>>2]=595404;c[o+56+4>>2]=595023;c[o+56+8>>2]=590;c[o+56+12>>2]=595349;c[o+56+16>>2]=e;c[o+56+20>>2]=f;l6a(594997,o+56|0)|0;f=dj[c[g+108>>2]&7]()|0;if(!f){e=-1;break}}i=o;return e|0}}Hi[c[l+16>>2]&1023](33985);si[c[l+28>>2]&511](c[m+4>>2]|0,c[m+36>>2]|0);$i[c[l+160>>2]&255](c[m+4>>2]|0,10241,j);$i[c[l+160>>2]&255](c[m+4>>2]|0,10240,j);$i[c[l+160>>2]&255](c[m+4>>2]|0,10242,33071);$i[c[l+160>>2]&255](c[m+4>>2]|0,10243,33071);Vi[c[l+156>>2]&15](c[m+4>>2]|0,0,k,(c[d+12>>2]|0)/2|0,(c[d+16>>2]|0)/2|0,0,k,5121,0);g=c[b+316>>2]|0;if(c[g+4>>2]|0){f=dj[c[g+108>>2]&7]()|0;if(f|0){while(1){switch(f|0){case 1280:{e=594981;break}case 1281:{e=594964;break}case 1282:{e=594943;break}case 1285:{e=594926;break}default:e=594918}c[o+80>>2]=595419;c[o+80+4>>2]=595023;c[o+80+8>>2]=600;c[o+80+12>>2]=595349;c[o+80+16>>2]=e;c[o+80+20>>2]=f;l6a(594997,o+80|0)|0;f=dj[c[g+108>>2]&7]()|0;if(!f){e=-1;break}}i=o;return e|0}}}if(c[m+28>>2]|0){si[c[l+96>>2]&511](1,m+36|0);g=c[b+316>>2]|0;if(c[g+4>>2]|0){f=dj[c[g+108>>2]&7]()|0;if(f|0){while(1){switch(f|0){case 1280:{e=594981;break}case 1281:{e=594964;break}case 1282:{e=594943;break}case 1285:{e=594926;break}default:e=594918}c[o+104>>2]=595404;c[o+104+4>>2]=595023;c[o+104+8>>2]=607;c[o+104+12>>2]=595349;c[o+104+16>>2]=e;c[o+104+20>>2]=f;l6a(594997,o+104|0)|0;f=dj[c[g+108>>2]&7]()|0;if(!f){e=-1;break}}i=o;return e|0}}Hi[c[l+16>>2]&1023](33985);si[c[l+28>>2]&511](c[m+4>>2]|0,c[m+36>>2]|0);$i[c[l+160>>2]&255](c[m+4>>2]|0,10241,j);$i[c[l+160>>2]&255](c[m+4>>2]|0,10240,j);$i[c[l+160>>2]&255](c[m+4>>2]|0,10242,33071);$i[c[l+160>>2]&255](c[m+4>>2]|0,10243,33071);Vi[c[l+156>>2]&15](c[m+4>>2]|0,0,6410,(c[d+12>>2]|0)/2|0,(c[d+16>>2]|0)/2|0,0,6410,5121,0);g=c[b+316>>2]|0;if(c[g+4>>2]|0){f=dj[c[g+108>>2]&7]()|0;if(f|0){while(1){switch(f|0){case 1280:{e=594981;break}case 1281:{e=594964;break}case 1282:{e=594943;break}case 1285:{e=594926;break}default:e=594918}c[o+128>>2]=595419;c[o+128+4>>2]=595023;c[o+128+8>>2]=617;c[o+128+12>>2]=595349;c[o+128+16>>2]=e;c[o+128+20>>2]=f;l6a(594997,o+128|0)|0;f=dj[c[g+108>>2]&7]()|0;if(!f){e=-1;break}}i=o;return e|0}}}si[c[l+96>>2]&511](1,m);g=c[b+316>>2]|0;if(c[g+4>>2]|0){f=dj[c[g+108>>2]&7]()|0;if(f|0){while(1){switch(f|0){case 1280:{e=594981;break}case 1281:{e=594964;break}case 1282:{e=594943;break}case 1285:{e=594926;break}default:e=594918}c[o+152>>2]=595404;c[o+152+4>>2]=595023;c[o+152+8>>2]=623;c[o+152+12>>2]=595349;c[o+152+16>>2]=e;c[o+152+20>>2]=f;l6a(594997,o+152|0)|0;f=dj[c[g+108>>2]&7]()|0;if(!f){e=-1;break}}i=o;return e|0}}c[d+68>>2]=m;Hi[c[l+16>>2]&1023](33984);si[c[l+28>>2]&511](c[m+4>>2]|0,c[m>>2]|0);$i[c[l+160>>2]&255](c[m+4>>2]|0,10241,j);$i[c[l+160>>2]&255](c[m+4>>2]|0,10240,j);$i[c[l+160>>2]&255](c[m+4>>2]|0,10242,33071);$i[c[l+160>>2]&255](c[m+4>>2]|0,10243,33071);Vi[c[l+156>>2]&15](c[m+4>>2]|0,0,k,c[d+12>>2]|0,c[d+16>>2]|0,0,k,5121,0);g=c[b+316>>2]|0;if(c[g+4>>2]|0){f=dj[c[g+108>>2]&7]()|0;if(f|0){while(1){switch(f|0){case 1280:{e=594981;break}case 1281:{e=594964;break}case 1282:{e=594943;break}case 1285:{e=594926;break}default:e=594918}c[o+176>>2]=595419;c[o+176+4>>2]=595023;c[o+176+8>>2]=634;c[o+176+12>>2]=595349;c[o+176+16>>2]=e;c[o+176+20>>2]=f;l6a(594997,o+176|0)|0;f=dj[c[g+108>>2]&7]()|0;if(!f){e=-1;break}}i=o;return e|0}}if((c[d+8>>2]|0)==2){g=c[b+316>>2]|0;h=c[d+12>>2]|0;f=c[d+16>>2]|0;e=c[g+232>>2]|0;e:do if(!e)n=97;else while(1){if((c[e>>2]|0)==(h|0))if((c[e+4>>2]|0)==(f|0))break e;e=c[e+12>>2]|0;if(!e){n=97;break}}while(0);if((n|0)==97){e=c7a(16)|0;c[e>>2]=h;c[e+4>>2]=f;si[c[g+92>>2]&511](1,e+8|0);c[e+12>>2]=c[g+232>>2];c[g+232>>2]=e}c[m+40>>2]=e}else c[m+40>>2]=0;h=c[b+316>>2]|0;if(!(c[h+4>>2]|0)){n=0;i=o;return n|0}e=dj[c[h+108>>2]&7]()|0;if(!e){n=0;i=o;return n|0}else g=1279070;while(1){g=(a[g>>0]|0)==0?594910:g;switch(e|0){case 1280:{f=594981;break}case 1281:{f=594964;break}case 1282:{f=594943;break}case 1285:{f=594926;break}default:f=594918}c[o+200>>2]=g;c[o+200+4>>2]=595023;c[o+200+8>>2]=644;c[o+200+12>>2]=595349;c[o+200+16>>2]=f;c[o+200+20>>2]=e;l6a(594997,o+200|0)|0;e=dj[c[h+108>>2]&7]()|0;if(!e){e=-1;break}}i=o;return e|0}function w8a(a,b){a=a|0;b=b|0;return tnb(a,b)|0}function x8a(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=i;i=i+32|0;v=c[a+316>>2]|0;u=c[b+68>>2]|0;g=c[v>>2]|0;if((c[299745]|0)==(g|0)){g=v;t=4}else{c[v+268>>2]=0;if((a8a(c[a+188>>2]|0,g)|0)>=0){c[299745]=c[v>>2];l8a(a)|0;g=c[a+316>>2]|0;t=4}}if((t|0)==4)if(c[g+4>>2]|0){g=g+108|0;do{}while((dj[c[g>>2]&7]()|0)!=0)}if((c[d+8>>2]|0)<1){a=0;i=w;return a|0}if((c[d+12>>2]|0)<1){a=0;i=w;return a|0}si[c[v+28>>2]&511](c[u+4>>2]|0,c[u>>2]|0);m=c[u+4>>2]|0;n=c[d>>2]|0;o=c[d+4>>2]|0;p=c[d+8>>2]|0;q=c[d+12>>2]|0;r=c[u+8>>2]|0;s=c[u+12>>2]|0;g=c[b+4>>2]|0;a:do if((g|0)==0|(g&-268435456|0)==268435456)g=g&255;else{if((g|0)<1498831189)switch(g|0){case 844715353:{g=2;break a}default:{}}else switch(g|0){case 1498831189:{g=2;break a}default:{}}g=(g|0)==1431918169?2:1}while(0);k=_(g,p)|0;do if((k|0)==(f|0)){h=0;g=e;t=18}else{l=c7a(_(k,q)|0)|0;if(!l){k7a(0)|0;break}if((q|0)>0){g=e;h=l;j=0;while(1){l7a(h,g,k)|0;j=j+1|0;if((j|0)==(q|0)){h=l;g=l;t=18;break}else{g=g+f|0;h=h+k|0}}}else{h=l;g=l;t=18}}while(0);if((t|0)==18){Vi[c[v+164>>2]&15](m,0,n,o,p,q,r,s,g);if(h|0)L7a(h)}do if(c[u+24>>2]|0){r=e+(_(c[d+12>>2]|0,f)|0)|0;e=c[v+28>>2]|0;g=c[u+4>>2]|0;if((c[b+4>>2]|0)==842094169)si[e&511](g,c[u+32>>2]|0);else si[e&511](g,c[u+36>>2]|0);k=c[u+4>>2]|0;l=(c[d>>2]|0)/2|0;m=(c[d+4>>2]|0)/2|0;n=(c[d+8>>2]|0)/2|0;o=c[d+12>>2]|0;p=c[u+8>>2]|0;q=c[u+12>>2]|0;do if((n|0)==((f|0)/2|0|0)){g=0;e=r;t=29}else{j=c7a(_((o|0)/2|0,n)|0)|0;if(!j){k7a(0)|0;break}if((o|0)>1){e=r;g=j;h=0;while(1){l7a(g,e,n)|0;h=h+1|0;if((h|0)==((o|0)/2|0|0)){g=j;e=j;t=29;break}else{e=e+((f|0)/2|0)|0;g=g+n|0}}}else{g=j;e=j;t=29}}while(0);if((t|0)==29){Vi[c[v+164>>2]&15](k,0,l,m,n,(o|0)/2|0,p,q,e);if(g|0)L7a(g)}e=r+((_(c[d+12>>2]|0,f)|0)/4|0)|0;g=c[v+28>>2]|0;h=c[u+4>>2]|0;if((c[b+4>>2]|0)==842094169)si[g&511](h,c[u+36>>2]|0);else si[g&511](h,c[u+32>>2]|0);l=c[u+4>>2]|0;m=(c[d>>2]|0)/2|0;n=(c[d+4>>2]|0)/2|0;o=(c[d+8>>2]|0)/2|0;p=c[d+12>>2]|0;q=c[u+8>>2]|0;r=c[u+12>>2]|0;if((o|0)==((f|0)/2|0|0)){h=0;g=e}else{k=c7a(_((p|0)/2|0,o)|0)|0;if(!k){k7a(0)|0;break}if((p|0)>1){g=e;h=k;j=0;while(1){l7a(h,g,o)|0;j=j+1|0;if((j|0)==((p|0)/2|0|0)){h=k;g=k;break}else{g=g+((f|0)/2|0)|0;h=h+o|0}}}else{h=k;g=k}}Vi[c[v+164>>2]&15](l,0,m,n,o,(p|0)/2|0,q,r,g);if(h)L7a(h)}while(0);do if(c[u+28>>2]|0){e=e+(_(c[d+12>>2]|0,f)|0)|0;si[c[v+28>>2]&511](c[u+4>>2]|0,c[u+36>>2]|0);l=c[u+4>>2]|0;m=(c[d>>2]|0)/2|0;n=(c[d+4>>2]|0)/2|0;o=(c[d+8>>2]|0)/2|0;k=c[d+12>>2]|0;if((o<<1|0)==(f|0))g=0;else{j=c7a(_(o<<1,(k|0)/2|0)|0)|0;if(!j){k7a(0)|0;break}if((k|0)>1){g=j;h=0;while(1){l7a(g,e,o<<1)|0;h=h+1|0;if((h|0)==((k|0)/2|0|0)){g=j;e=j;break}else{e=e+f|0;g=g+(o<<1)|0}}}else{g=j;e=j}}Vi[c[v+164>>2]&15](l,0,m,n,o,(k|0)/2|0,6410,5121,e);if(g|0)L7a(g)}while(0);h=c[a+316>>2]|0;if(!(c[h+4>>2]|0)){a=0;i=w;return a|0}e=dj[c[h+108>>2]&7]()|0;if(!e){a=0;i=w;return a|0}while(1){switch(e|0){case 1280:{g=594981;break}case 1281:{g=594964;break}case 1282:{g=594943;break}case 1285:{g=594926;break}default:g=594918}c[w>>2]=595434;c[w+4>>2]=595023;c[w+8>>2]=753;c[w+12>>2]=595452;c[w+16>>2]=g;c[w+20>>2]=e;l6a(594997,w)|0;e=dj[c[h+108>>2]&7]()|0;if(!e){e=-1;break}}i=w;return e|0}function y8a(a,b,d,e,f,g,h,j,k){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;x=i;i=i+32|0;w=c[a+316>>2]|0;v=c[b+68>>2]|0;b=c[w>>2]|0;if((c[299745]|0)==(b|0)){b=w;u=4}else{c[w+268>>2]=0;if((a8a(c[a+188>>2]|0,b)|0)>=0){c[299745]=c[w>>2];l8a(a)|0;b=c[a+316>>2]|0;u=4}}if((u|0)==4)if(c[b+4>>2]|0){b=b+108|0;do{}while((dj[c[b>>2]&7]()|0)!=0)}if((c[d+8>>2]|0)<1){a=0;i=x;return a|0}if((c[d+12>>2]|0)<1){a=0;i=x;return a|0}si[c[w+28>>2]&511](c[v+4>>2]|0,c[v+32>>2]|0);n=c[v+4>>2]|0;o=(c[d>>2]|0)/2|0;p=(c[d+4>>2]|0)/2|0;q=(c[d+8>>2]|0)/2|0;r=c[d+12>>2]|0;s=c[v+8>>2]|0;t=c[v+12>>2]|0;do if((q|0)==(k|0)){l=0;b=j;u=14}else{m=c7a(_((r|0)/2|0,q)|0)|0;if(!m){k7a(0)|0;break}if((r|0)>1){b=j;l=m;j=0;while(1){l7a(l,b,q)|0;j=j+1|0;if((j|0)==((r|0)/2|0|0)){l=m;b=m;u=14;break}else{b=b+k|0;l=l+q|0}}}else{l=m;b=m;u=14}}while(0);if((u|0)==14){Vi[c[w+164>>2]&15](n,0,o,p,q,(r|0)/2|0,s,t,b);if(l|0)L7a(l)}si[c[w+28>>2]&511](c[v+4>>2]|0,c[v+36>>2]|0);n=c[v+4>>2]|0;o=(c[d>>2]|0)/2|0;p=(c[d+4>>2]|0)/2|0;q=(c[d+8>>2]|0)/2|0;r=c[d+12>>2]|0;s=c[v+8>>2]|0;t=c[v+12>>2]|0;do if((q|0)==(h|0)){l=0;b=g;u=21}else{m=c7a(_((r|0)/2|0,q)|0)|0;if(!m){k7a(0)|0;break}if((r|0)>1){b=g;l=m;j=0;while(1){l7a(l,b,q)|0;j=j+1|0;if((j|0)==((r|0)/2|0|0)){l=m;b=m;u=21;break}else{b=b+h|0;l=l+q|0}}}else{l=m;b=m;u=21}}while(0);if((u|0)==21){Vi[c[w+164>>2]&15](n,0,o,p,q,(r|0)/2|0,s,t,b);if(l|0)L7a(l)}si[c[w+28>>2]&511](c[v+4>>2]|0,c[v>>2]|0);q=c[v+4>>2]|0;r=c[d>>2]|0;s=c[d+4>>2]|0;t=c[d+8>>2]|0;o=c[d+12>>2]|0;p=c[v+8>>2]|0;n=c[v+12>>2]|0;do if((t|0)==(f|0)){l=0;b=e;u=28}else{m=c7a(_(o,t)|0)|0;if(!m){k7a(0)|0;break}if((o|0)>0){b=e;l=m;j=0;while(1){l7a(l,b,t)|0;j=j+1|0;if((j|0)==(o|0)){l=m;b=m;u=28;break}else{b=b+f|0;l=l+t|0}}}else{l=m;b=m;u=28}}while(0);if((u|0)==28){Vi[c[w+164>>2]&15](q,0,r,s,t,o,p,n,b);if(l|0)L7a(l)}j=c[a+316>>2]|0;if(!(c[j+4>>2]|0)){a=0;i=x;return a|0}b=dj[c[j+108>>2]&7]()|0;if(!b){a=0;i=x;return a|0}while(1){switch(b|0){case 1280:{l=594981;break}case 1281:{l=594964;break}case 1282:{l=594943;break}case 1285:{l=594926;break}default:l=594918}c[x>>2]=595434;c[x+4>>2]=595023;c[x+8>>2]=803;c[x+12>>2]=595544;c[x+16>>2]=l;c[x+20>>2]=b;l6a(594997,x)|0;b=dj[c[j+108>>2]&7]()|0;if(!b){b=-1;break}}i=x;return b|0}function z8a(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;h=c[b+68>>2]|0;g=c[h+20>>2]|0;h=(c[h+16>>2]|0)+(_(c[d+4>>2]|0,g)|0)|0;d=c[d>>2]|0;a=c[b+4>>2]|0;a:do if((a|0)==0|(a&-268435456|0)==268435456)a=a&255;else{if((a|0)<1498831189)switch(a|0){case 844715353:{a=2;break a}default:{}}else switch(a|0){case 1498831189:{a=2;break a}default:{}}a=(a|0)==1431918169?2:1}while(0);c[e>>2]=h+(_(a,d)|0);c[f>>2]=g;return 0}function A8a(a,b){a=a|0;b=b|0;var d=0,e=0;d=i;i=i+16|0;e=c[b+68>>2]|0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=c[b+12>>2];c[d+12>>2]=c[b+16>>2];x8a(a,b,d,c[e+16>>2]|0,c[e+20>>2]|0)|0;i=d;return}function B8a(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;a=c[a+316>>2]|0;if(!b){si[c[a+192>>2]&511](36160,c[a+236>>2]|0);b=0;i=d;return b|0}b=c[b+68>>2]|0;si[c[a+192>>2]&511](36160,c[(c[b+40>>2]|0)+8>>2]|0);qi[c[a+196>>2]&15](36160,36064,c[b+4>>2]|0,c[b>>2]|0,0);if((vi[c[a+200>>2]&2047](36160)|0)==36053){b=0;i=d;return b|0}b=l6a(595680,d)|0;i=d;return b|0}function C8a(a){a=a|0;var b=0,d=0,e=0;d=i;i=i+16|0;b=c[a+316>>2]|0;if((c[299745]|0)!=(c[b>>2]|0)){i=d;return 0}if(!(c[a+276>>2]|0)){Hi[c[b+68>>2]&1023](3089);i=d;return 0}Hi[c[b+80>>2]&1023](3089);if(!(c[a+304>>2]|0)){m8a(a,d+4|0,d)|0;e=c[a+256>>2]|0;kj[c[b+144>>2]&127]((c[a+244>>2]|0)+(c[a+212>>2]|0)|0,(c[d>>2]|0)-(c[a+216>>2]|0)-(c[a+248>>2]|0)-e|0,c[a+252>>2]|0,e);i=d;return 0}else{kj[c[b+144>>2]&127]((c[a+244>>2]|0)+(c[a+212>>2]|0)|0,(c[a+248>>2]|0)+(c[a+216>>2]|0)|0,c[a+252>>2]|0,c[a+256>>2]|0);i=d;return 0}return 0}function D8a(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;g=c[b+316>>2]|0;d=c[g>>2]|0;if((c[299745]|0)==(d|0)){d=g;h=4}else{c[g+268>>2]=0;if((a8a(c[b+188>>2]|0,d)|0)>=0){c[299745]=c[g>>2];l8a(b)|0;d=c[b+316>>2]|0;h=4}}if((h|0)==4)if(c[d+4>>2]|0){d=d+108|0;do{}while((dj[c[d>>2]&7]()|0)!=0)}f=c[b+308>>2]|0;if((gBb(c[g+272>>2]|0)|0)==(((f&65535)>>>8&65535)<<16|f<<24|f>>>16<<8&65280|f>>>24|0)){h=g+36|0;h=c[h>>2]|0;Hi[h&1023](16384);return 0}d=c[b+304>>2]|0;a:do if(!d)h=10;else{d=c[d+4>>2]|0;if((d|0)<372645892)switch(d|0){case 370546692:{d=f&255;e=f>>>16&255;break a}default:{h=10;break a}}else switch(d|0){case 372645892:{d=f&255;e=f>>>16&255;break a}default:{h=10;break a}}}while(0);if((h|0)==10){d=a[b+310>>0]|0;e=f&255}ej[c[g+40>>2]&3](+(e&255)*.003921568859368563,+((f&65535)>>>8&255)*.003921568859368563,+(d&255)*.003921568859368563,+(f>>>24&255)*.003921568859368563);h=c[b+308>>2]|0;a[g+272>>0]=h;a[g+273>>0]=(h&65535)>>>8;a[g+274>>0]=h>>>16;a[g+275>>0]=h>>>24;h=g+36|0;h=c[h>>2]|0;Hi[h&1023](16384);return 0}function E8a(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0,j=0,k=0,l=0.0;j=i;f=c[a+316>>2]|0;if((F8a(a)|0)<0){d=-1;i=j;return d|0}h=i;i=i+((1*(d<<3)|0)+15&-16)|0;if((d|0)>0){e=0;do{l=+g[b+(e<<3)+4>>2]+.5;k=e<<1;g[h+(k<<2)>>2]=+g[b+(e<<3)>>2]+.5;g[h+((k|1)<<2)>>2]=l;e=e+1|0}while((e|0)!=(d|0))}b=c[a+316>>2]|0;e=c[b+276>>2]|0;if(!e){si[c[b+216>>2]&511](1,b+276|0);e=c[b+276>>2]|0}si[c[b+220>>2]&511](34962,e);if((c[b+292>>2]|0)>>>0>>0){kj[c[b+224>>2]&127](34962,d<<3,h,35040);c[b+292>>2]=d<<3}else kj[c[b+228>>2]&127](34962,0,d<<3,h);Ii[c[b+184>>2]&63](0,2,5126,0,0,0);$i[c[f+76>>2]&255](0,0,d);k=0;i=j;return k|0}function F8a(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;i=c[b+316>>2]|0;e=c[b+312>>2]|0;d=c[i>>2]|0;if((c[299745]|0)==(d|0)){d=i;h=4}else{c[i+268>>2]=0;if((a8a(c[b+188>>2]|0,d)|0)>=0){c[299745]=c[i>>2];l8a(b)|0;d=c[b+316>>2]|0;h=4}}if((h|0)==4)if(c[d+4>>2]|0){d=d+108|0;do{}while((dj[c[d>>2]&7]()|0)!=0)}if((c[i+8>>2]|0)!=(e|0)){switch(e|0){case 4:{Hi[c[i+80>>2]&1023](3042);kj[c[i+32>>2]&127](0,768,0,1);break}case 1:{Hi[c[i+80>>2]&1023](3042);kj[c[i+32>>2]&127](770,771,1,771);break}case 2:{Hi[c[i+80>>2]&1023](3042);kj[c[i+32>>2]&127](770,1,0,1);break}default:Hi[c[i+68>>2]&1023](3042)}c[i+8>>2]=e}if(c[i+12>>2]|0){Hi[c[i+72>>2]&1023](1);c[i+12>>2]=0}if((G8a(b,0,e)|0)<0){i=-1;return i|0}f=a[b+309>>0]|0;g=a[b+311>>0]|0;d=c[b+304>>2]|0;a:do if(!d)h=20;else{d=c[d+4>>2]|0;if((d|0)<372645892)switch(d|0){case 370546692:break;default:{h=20;break a}}else switch(d|0){case 372645892:break;default:{h=20;break a}}d=b+308|0;e=b+310|0}while(0);if((h|0)==20){d=b+310|0;e=b+308|0}b=a[d>>0]|0;e=a[e>>0]|0;d=c[i+268>>2]|0;if((gBb(c[d+80>>2]|0)|0)==(g&255|(f&255)<<16|(b&255)<<8|(e&255)<<24|0)){i=0;return i|0}Qi[c[i+172>>2]&3](c[d+28>>2]|0,+(e&255)*.003921568859368563,+(f&255)*.003921568859368563,+(b&255)*.003921568859368563,+(g&255)*.003921568859368563);a[d+80>>0]=e;a[d+81>>0]=f;a[d+82>>0]=b;a[d+83>>0]=g;i=0;return i|0}function G8a(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+80|0;l=c[a+316>>2]|0;switch(b|0){case 0:{b=1;h=9;break}case 1:{b=2;h=9;break}case 2:{b=3;h=9;break}case 3:{b=5;h=9;break}case 4:{b=4;h=9;break}case 5:{b=6;h=9;break}case 6:{b=7;h=9;break}case 7:{b=8;h=9;break}default:{}}if((h|0)==9){j=H8a(a,0,d)|0;if(j|0){e=H8a(a,b,d)|0;a:do if(!e)h=0;else{b=c[l+268>>2]|0;if(b|0)if((c[b+8>>2]|0)==(j|0))if((c[b+12>>2]|0)==(e|0)){l=0;i=m;return l|0}k=c[a+316>>2]|0;b=c[k+260>>2]|0;b:do if(!b)h=24;else{f=b;while(1){if((c[f+8>>2]|0)==(j|0))if((c[f+12>>2]|0)==(e|0))break;f=c[f+156>>2]|0;if(!f){h=24;break b}}if((b|0)==(f|0))break;d=c[f+156>>2]|0;if(d|0)c[d+152>>2]=c[f+152>>2];e=c[f+152>>2]|0;if(e|0)c[e+156>>2]=d;c[f+152>>2]=0;c[f+156>>2]=b;c[b+152>>2]=f;c[k+260>>2]=f;b=f;h=49}while(0);c:do if((h|0)==24){b=Y6a(1,160)|0;do if(!b)k7a(0)|0;else{c[b+8>>2]=j;c[b+12>>2]=e;c[b+4>>2]=d;h=dj[c[k+48>>2]&7]()|0;c[b>>2]=h;si[c[k+20>>2]&511](h,c[j>>2]|0);si[c[k+20>>2]&511](c[b>>2]|0,c[e>>2]|0);$i[c[k+24>>2]&255](c[b>>2]|0,0,599650);$i[c[k+24>>2]&255](c[b>>2]|0,1,599661);$i[c[k+24>>2]&255](c[b>>2]|0,2,599672);$i[c[k+24>>2]&255](c[b>>2]|0,3,599680);Hi[c[k+132>>2]&1023](c[b>>2]|0);$i[c[k+116>>2]&255](c[b>>2]|0,35714,m+8|0);if(!(c[m+8>>2]|0)){Hi[c[k+56>>2]&1023](c[b>>2]|0);L7a(b);l6a(599689,m)|0;break}c[b+16>>2]=Xi[c[k+128>>2]&511](c[b>>2]|0,599719)|0;c[b+36>>2]=Xi[c[k+128>>2]&511](c[b>>2]|0,599732)|0;c[b+32>>2]=Xi[c[k+128>>2]&511](c[b>>2]|0,599744)|0;c[b+20>>2]=Xi[c[k+128>>2]&511](c[b>>2]|0,599756)|0;c[b+24>>2]=Xi[c[k+128>>2]&511](c[b>>2]|0,599766)|0;c[b+28>>2]=Xi[c[k+128>>2]&511](c[b>>2]|0,599779)|0;c[b+80>>2]=-1;c[b+80+4>>2]=-1;Hi[c[k+180>>2]&1023](c[b>>2]|0);si[c[k+168>>2]&511](c[b+36>>2]|0,2);si[c[k+168>>2]&511](c[b+32>>2]|0,1);si[c[k+168>>2]&511](c[b+20>>2]|0,0);kj[c[k+176>>2]&127](c[b+16>>2]|0,1,0,b+88|0);Qi[c[k+172>>2]&3](c[b+24>>2]|0,1.0,1.0,1.0,1.0);Qi[c[k+172>>2]&3](c[b+28>>2]|0,1.0,1.0,1.0,1.0);d=c[k+260>>2]|0;if(!d)c[k+264>>2]=b;else{c[b+156>>2]=d;c[d+152>>2]=b}c[k+260>>2]=b;h=c[k+256>>2]|0;c[k+256>>2]=h+1;c[j+12>>2]=(c[j+12>>2]|0)+1;c[e+12>>2]=(c[e+12>>2]|0)+1;if((h|0)<=7){h=49;break c}d=c[k+264>>2]|0;h=c[d+8>>2]|0;j=c[h+12>>2]|0;c[h+12>>2]=j+-1;if((j|0)<2){d=c[a+316>>2]|0;e=c[h+24>>2]|0;if(e|0)c[e+20>>2]=c[h+20>>2];f=c[h+20>>2]|0;if(f|0)c[f+24>>2]=e;if((c[d+252>>2]|0)==(h|0))c[d+252>>2]=c[h+24>>2];c[d+248>>2]=(c[d+248>>2]|0)+-1;Hi[c[d+60>>2]&1023](c[h>>2]|0);L7a(h);d=c[k+264>>2]|0}h=c[d+12>>2]|0;j=c[h+12>>2]|0;c[h+12>>2]=j+-1;if((j|0)<2){d=c[a+316>>2]|0;e=c[h+24>>2]|0;if(e|0)c[e+20>>2]=c[h+20>>2];f=c[h+20>>2]|0;if(f|0)c[f+24>>2]=e;if((c[d+252>>2]|0)==(h|0))c[d+252>>2]=c[h+24>>2];c[d+248>>2]=(c[d+248>>2]|0)+-1;Hi[c[d+60>>2]&1023](c[h>>2]|0);L7a(h);d=c[k+264>>2]|0}Hi[c[k+56>>2]&1023](c[d>>2]|0);h=c[(c[k+264>>2]|0)+152>>2]|0;c[k+264>>2]=h;L7a(c[h+156>>2]|0);c[(c[k+264>>2]|0)+156>>2]=0;c[k+256>>2]=(c[k+256>>2]|0)+-1;h=49;break c}while(0);h=e;break a}while(0);Hi[c[l+180>>2]&1023](c[b>>2]|0);c[l+268>>2]=b;b=c[a+316>>2]|0;d=c[a+220>>2]|0;if(d|0){e=c[a+224>>2]|0;if(e|0){g[m+8>>2]=2.0/+(d|0);c[m+8+4>>2]=0;c[m+8+4+4>>2]=0;c[m+8+4+8>>2]=0;c[m+8+4+12>>2]=0;l=(c[a+304>>2]|0)==0;g[m+8+20>>2]=(l?-2.0:2.0)/+(e|0);a=m+8+24|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[a+20>>2]=0;g[m+8+48>>2]=-1.0;g[m+8+52>>2]=l?1.0:-1.0;g[m+8+56>>2]=0.0;g[m+8+60>>2]=1.0;if(H6a((c[b+268>>2]|0)+88|0,m+8|0,64)|0){kj[c[b+176>>2]&127](c[(c[b+268>>2]|0)+16>>2]|0,1,0,m+8|0);l7a((c[b+268>>2]|0)+88|0,m+8|0,64)|0}}}l=0;i=m;return l|0}while(0);if((c[j+12>>2]|0)<1){b=c[a+316>>2]|0;d=c[j+24>>2]|0;if(d|0)c[d+20>>2]=c[j+20>>2];e=c[j+20>>2]|0;if(e|0)c[e+24>>2]=d;if((c[b+252>>2]|0)==(j|0))c[b+252>>2]=c[j+24>>2];c[b+248>>2]=(c[b+248>>2]|0)+-1;Hi[c[b+60>>2]&1023](c[j>>2]|0);L7a(j)}if(h|0)if((c[h+12>>2]|0)<1){d=c[a+316>>2]|0;e=h+24|0;f=c[e>>2]|0;b=h+20|0;if(f|0)c[f+20>>2]=c[b>>2];b=c[b>>2]|0;if(b|0)c[b+24>>2]=f;if((c[d+252>>2]|0)==(h|0))c[d+252>>2]=c[e>>2];c[d+248>>2]=(c[d+248>>2]|0)+-1;Hi[c[d+60>>2]&1023](c[h>>2]|0);L7a(h)}}}c[l+268>>2]=0;l=-1;i=m;return l|0}function H8a(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+48|0;m=c[a+316>>2]|0;c[n+32>>2]=0;h=I8a(b,d)|0;if(!h){l6a(599473,n)|0;m=0;i=n;return m|0}j=c[h>>2]|0;if((j|0)>0){k=c[m+240>>2]|0;if((k|0)>0){l=0;do{f=c[h+4+(l<<2)>>2]|0;if(!f)f=0;else{d=c[f+4>>2]|0;e=c[m+244>>2]|0;g=0;do{a=(d|0)==(c[e+(g<<2)>>2]|0)?f:0;g=g+1|0}while((a|0)==0&(g|0)<(k|0));f=a}l=l+1|0;a=(f|0)==0}while(a&(l|0)<(j|0));if(!a){a=c[m+252>>2]|0;a:do if(a|0){while(1){if((c[a+8>>2]|0)==(f|0))break;a=c[a+24>>2]|0;if(!a)break a}i=n;return a|0}while(0);e=Y6a(1,28)|0;if(!e){k7a(0)|0;m=0;i=n;return m|0}c[e+4>>2]=b;c[e+8>>2]=f;a=vi[c[m+52>>2]&2047](c[f>>2]|0)|0;c[e>>2]=a;d=c[f+4>>2]|0;if((d|0)==-1){kj[c[m+152>>2]&127](a,1,f+12|0,0);Hi[c[m+44>>2]&1023](c[e>>2]|0);$i[c[m+124>>2]&255](c[e>>2]|0,35713,n+32|0);if(!(c[n+32>>2]|0)){c[n+28>>2]=0;$i[c[m+124>>2]&255](c[e>>2]|0,35716,n+28|0);a=c[n+28>>2]|0;if((a|0)>0){b=i;i=i+((1*a|0)+15&-16)|0;kj[c[m+120>>2]&127](c[e>>2]|0,a,n+28|0,b);c[n+16>>2]=b;l6a(599594,n+16|0)|0}else l6a(599624,n+24|0)|0;Hi[c[m+60>>2]&1023](c[e>>2]|0);L7a(e);m=0;i=n;return m|0}}else{qi[c[m+148>>2]&15](1,e,d,c[f+12>>2]|0,c[f+8>>2]|0);c[n+32>>2]=1}a=c[m+252>>2]|0;if(a|0){c[e+24>>2]=a;c[a+20>>2]=e}c[m+252>>2]=e;c[m+248>>2]=(c[m+248>>2]|0)+1;m=e;i=n;return m|0}}}l6a(599532,n+8|0)|0;m=0;i=n;return m|0}function I8a(a,b){a=a|0;b=b|0;a:do switch(a|0){case 0:{b=124896;break}case 1:switch(b|0){case 0:{b=124932;break a}case 1:{b=124876;break a}case 2:{b=124856;break a}case 4:{b=124820;break a}default:{b=0;break a}}case 2:switch(b|0){case 0:{b=124952;break a}case 1:{b=124800;break a}case 2:{b=124780;break a}case 4:{b=124744;break a}default:{b=0;break a}}case 3:switch(b|0){case 0:{b=124972;break a}case 1:{b=124724;break a}case 2:{b=124704;break a}case 4:{b=124668;break a}default:{b=0;break a}}case 5:switch(b|0){case 0:{b=124992;break a}case 1:{b=124648;break a}case 2:{b=124628;break a}case 4:{b=124592;break a}default:{b=0;break a}}case 4:switch(b|0){case 0:{b=125012;break a}case 1:{b=124572;break a}case 2:{b=124552;break a}case 4:{b=124516;break a}default:{b=0;break a}}case 6:{b=124480;break}case 7:{b=124444;break}case 8:{b=124408;break}default:b=0}while(0);return b|0}function J8a(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,h=0,j=0,k=0,l=0,m=0,n=0.0;m=i;i=i+32|0;k=c[b+316>>2]|0;if((F8a(b)|0)<0){l=-1;i=m;return l|0}j=i;i=i+((1*(e<<3)|0)+15&-16)|0;if((e|0)>0){f=0;do{n=+g[d+(f<<3)+4>>2]+.5;h=f<<1;g[j+(h<<2)>>2]=+g[d+(f<<3)>>2]+.5;g[j+((h|1)<<2)>>2]=n;f=f+1|0}while((f|0)!=(e|0))}h=c[b+316>>2]|0;f=c[h+276>>2]|0;if(!f){si[c[h+216>>2]&511](1,h+276|0);f=c[h+276>>2]|0}si[c[h+220>>2]&511](34962,f);if((c[h+292>>2]|0)>>>0>>0){kj[c[h+224>>2]&127](34962,e<<3,j,35040);c[h+292>>2]=e<<3}else kj[c[h+228>>2]&127](34962,0,e<<3,j);Ii[c[h+184>>2]&63](0,2,5126,0,0,0);$i[c[k+76>>2]&255](3,0,e);if((e|0)==2){f=1;l=12}else if(+g[d>>2]!=+g[d+(e+-1<<3)>>2]){f=e+-1|0;l=12}else if(+g[d+4>>2]!=+g[d+(e+-1<<3)+4>>2]){f=e+-1|0;l=12}if((l|0)==12)$i[c[k+76>>2]&255](0,f,1);e=c[b+316>>2]|0;if(!(c[e+4>>2]|0)){l=0;i=m;return l|0}f=dj[c[e+108>>2]&7]()|0;if(!f){l=0;i=m;return l|0}else j=1279070;while(1){j=(a[j>>0]|0)==0?594910:j;switch(f|0){case 1280:{h=594981;break}case 1281:{h=594964;break}case 1282:{h=594943;break}case 1285:{h=594926;break}default:h=594918}c[m>>2]=j;c[m+4>>2]=595023;c[m+8>>2]=1506;c[m+12>>2]=599787;c[m+16>>2]=h;c[m+20>>2]=f;l6a(594997,m)|0;f=dj[c[e+108>>2]&7]()|0;if(!f){f=-1;break}}i=m;return f|0}function K8a(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,h=0,j=0,k=0,l=0,m=0.0,n=0.0,o=0.0,p=0.0;l=i;i=i+64|0;h=c[b+316>>2]|0;if((F8a(b)|0)<0){b=-1;i=l;return b|0}if((e|0)>0){k=0;do{o=+g[d+(k<<4)>>2];n=o+ +g[d+(k<<4)+8>>2];p=+g[d+(k<<4)+4>>2];m=p+ +g[d+(k<<4)+12>>2];g[l+24>>2]=o;g[l+24+4>>2]=p;g[l+24+8>>2]=n;g[l+24+12>>2]=p;g[l+24+16>>2]=o;g[l+24+20>>2]=m;g[l+24+24>>2]=n;g[l+24+28>>2]=m;j=c[b+316>>2]|0;f=c[j+276>>2]|0;if(!f){si[c[j+216>>2]&511](1,j+276|0);f=c[j+276>>2]|0}si[c[j+220>>2]&511](34962,f);if((c[j+292>>2]|0)>>>0<32){kj[c[j+224>>2]&127](34962,32,l+24|0,35040);c[j+292>>2]=32}else kj[c[j+228>>2]&127](34962,0,32,l+24|0);Ii[c[j+184>>2]&63](0,2,5126,0,0,0);$i[c[h+76>>2]&255](5,0,4);k=k+1|0}while((k|0)!=(e|0))}e=c[b+316>>2]|0;if(!(c[e+4>>2]|0)){b=0;i=l;return b|0}f=dj[c[e+108>>2]&7]()|0;if(!f){b=0;i=l;return b|0}else j=1279070;while(1){j=(a[j>>0]|0)==0?594910:j;switch(f|0){case 1280:{h=594981;break}case 1281:{h=594964;break}case 1282:{h=594943;break}case 1285:{h=594926;break}default:h=594918}c[l>>2]=j;c[l+4>>2]=595023;c[l+8>>2]=1541;c[l+12>>2]=599854;c[l+16>>2]=h;c[l+20>>2]=f;l6a(594997,l)|0;f=dj[c[e+108>>2]&7]()|0;if(!f){f=-1;break}}i=l;return f|0}function L8a(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var h=0,j=0,l=0,m=0,n=0.0,o=0.0,p=0.0;m=i;i=i+96|0;l=c[b+316>>2]|0;h=c[l>>2]|0;if((c[299745]|0)==(h|0)){h=l;j=4}else{c[l+268>>2]=0;if((a8a(c[b+188>>2]|0,h)|0)>=0){c[299745]=c[l>>2];l8a(b)|0;h=c[b+316>>2]|0;j=4}}if((j|0)==4)if(c[h+4>>2]|0){h=h+108|0;do{}while((dj[c[h>>2]&7]()|0)!=0)}if((M8a(b,d)|0)<0){b=-1;i=m;return b|0}h=c[f>>2]|0;c[m+56>>2]=h;j=c[f+4>>2]|0;c[m+56+4>>2]=j;o=(c[k>>2]=h,+g[k>>2])+ +g[f+8>>2];g[m+56+8>>2]=o;c[m+56+12>>2]=j;c[m+56+16>>2]=h;n=(c[k>>2]=j,+g[k>>2])+ +g[f+12>>2];g[m+56+20>>2]=n;g[m+56+24>>2]=o;g[m+56+28>>2]=n;j=c[b+316>>2]|0;h=c[j+276>>2]|0;if(!h){si[c[j+216>>2]&511](1,j+276|0);h=c[j+276>>2]|0}si[c[j+220>>2]&511](34962,h);if((c[j+292>>2]|0)>>>0<32){kj[c[j+224>>2]&127](34962,32,m+56|0,35040);c[j+292>>2]=32}else kj[c[j+228>>2]&127](34962,0,32,m+56|0);Ii[c[j+184>>2]&63](0,2,5126,0,0,0);h=c[e>>2]|0;p=+(c[d+12>>2]|0);g[m+24>>2]=+(h|0)/p;j=c[e+4>>2]|0;o=+(c[d+16>>2]|0);g[m+24+4>>2]=+(j|0)/o;n=+((c[e+8>>2]|0)+h|0)/p;g[m+24+8>>2]=n;g[m+24+12>>2]=+(j|0)/o;g[m+24+16>>2]=+(h|0)/p;o=+((c[e+12>>2]|0)+j|0)/o;g[m+24+20>>2]=o;g[m+24+24>>2]=n;g[m+24+28>>2]=o;j=c[b+316>>2]|0;h=c[j+280>>2]|0;if(!h){si[c[j+216>>2]&511](1,j+280|0);h=c[j+280>>2]|0}si[c[j+220>>2]&511](34962,h);if((c[j+296>>2]|0)>>>0<32){kj[c[j+224>>2]&127](34962,32,m+24|0,35040);c[j+296>>2]=32}else kj[c[j+228>>2]&127](34962,0,32,m+24|0);Ii[c[j+184>>2]&63](1,2,5126,0,0,0);$i[c[l+76>>2]&255](5,0,4);e=c[b+316>>2]|0;if(!(c[e+4>>2]|0)){b=0;i=m;return b|0}h=dj[c[e+108>>2]&7]()|0;if(!h){b=0;i=m;return b|0}else f=1279070;while(1){f=(a[f>>0]|0)==0?594910:f;switch(h|0){case 1280:{j=594981;break}case 1281:{j=594964;break}case 1282:{j=594943;break}case 1285:{j=594926;break}default:j=594918}c[m>>2]=f;c[m+4>>2]=595023;c[m+8>>2]=1743;c[m+12>>2]=599947;c[m+16>>2]=j;c[m+20>>2]=h;l6a(594997,m)|0;h=dj[c[e+108>>2]&7]()|0;if(!h){h=-1;break}}i=m;return h|0}function M8a(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;l=c[b+316>>2]|0;g=c[d+68>>2]|0;m=c[d+24>>2]|0;e=c[b+304>>2]|0;a:do if(!e){e=c[d+4>>2]|0;b:do if((e|0)<825382478){if((e|0)<374740996){if((e|0)>=372645892)switch(e|0){case 372645892:{e=2;break a}default:break b}switch(e|0){case 370546692:break;default:break b}e=3;break a}if((e|0)<376840196){switch(e|0){case 374740996:break;default:break b}e=4;break a}else{switch(e|0){case 376840196:break;default:break b}e=1;break a}}else{if((e|0)>=842094169){if((e|0)<1448433993)switch(e|0){case 842094169:break;default:break b}else switch(e|0){case 1448433993:break;default:break b}e=5;break a}if((e|0)<842094158){switch(e|0){case 825382478:break;default:break b}e=7;break a}else{switch(e|0){case 842094158:break;default:break b}e=6;break a}}while(0);m=l6a(599920,n+8|0)|0;i=n;return m|0}else{e=c[e+4>>2]|0;f=c[d+4>>2]|0;if((e|0)==(f|0))e=1;else{c:do if((f|0)<825382478)if((f|0)<374740996){if((f|0)>=372645892){switch(f|0){case 372645892:break;default:break c}if((e|0)<376840196)switch(e|0){case 374740996:break;default:{e=1;break a}}else switch(e|0){case 376840196:break;default:{e=1;break a}}e=2;break a}switch(f|0){case 370546692:break;default:break c}if((e|0)<374740996){switch(e|0){case 372645892:break;default:{e=1;break a}}e=4;break a}if((e|0)<376840196){switch(e|0){case 374740996:break;default:{e=1;break a}}e=2;break a}else{switch(e|0){case 376840196:break;default:{e=1;break a}}e=2;break a}}else{if((f|0)>=376840196){switch(f|0){case 376840196:break;default:break c}if((e|0)<372645892)switch(e|0){case 370546692:break;default:{e=1;break a}}else switch(e|0){case 372645892:break;default:{e=1;break a}}e=2;break a}switch(f|0){case 374740996:break;default:break c}if((e|0)<372645892){switch(e|0){case 370546692:break;default:{e=1;break a}}e=2;break a}if((e|0)<376840196){switch(e|0){case 372645892:break;default:{e=1;break a}}e=3;break a}else{switch(e|0){case 376840196:break;default:{e=1;break a}}e=4;break a}}else{if((f|0)>=842094169)if((f|0)<1448433993)switch(f|0){case 842094169:{e=5;break a}default:break c}else switch(f|0){case 1448433993:{e=5;break a}default:break c}if((f|0)<842094158){switch(f|0){case 825382478:break;default:break c}e=7;break a}else{switch(f|0){case 842094158:break;default:break c}e=6;break a}}while(0);m=l6a(599920,n)|0;i=n;return m|0}}while(0);if((G8a(b,e,m)|0)<0){m=-1;i=n;return m|0}if(c[g+24>>2]|0){Hi[c[l+16>>2]&1023](33986);si[c[l+28>>2]&511](c[g+4>>2]|0,c[g+32>>2]|0);Hi[c[l+16>>2]&1023](33985);si[c[l+28>>2]&511](c[g+4>>2]|0,c[g+36>>2]|0);Hi[c[l+16>>2]&1023](33984)}if(!(c[g+28>>2]|0)){e=g+4|0;f=l+28|0}else{Hi[c[l+16>>2]&1023](33985);si[c[l+28>>2]&511](c[g+4>>2]|0,c[g+36>>2]|0);Hi[c[l+16>>2]&1023](33984);e=g+4|0;f=l+28|0}si[c[f>>2]&511](c[e>>2]|0,c[g>>2]|0);h=a[d+29>>0]|0;j=a[d+31>>0]|0;e=c[b+304>>2]|0;d:do if(!e)k=36;else{e=c[e+4>>2]|0;if((e|0)<372645892)switch(e|0){case 370546692:break;default:{k=36;break d}}else switch(e|0){case 372645892:break;default:{k=36;break d}}e=d+28|0;f=d+30|0}while(0);if((k|0)==36){e=d+30|0;f=d+28|0}g=a[e>>0]|0;f=a[f>>0]|0;e=c[l+268>>2]|0;if((gBb(c[e+84>>2]|0)|0)!=(j&255|(h&255)<<16|(g&255)<<8|(f&255)<<24|0)){Qi[c[l+172>>2]&3](c[e+24>>2]|0,+(f&255)*.003921568859368563,+(h&255)*.003921568859368563,+(g&255)*.003921568859368563,+(j&255)*.003921568859368563);a[e+84>>0]=f;a[e+85>>0]=h;a[e+86>>0]=g;a[e+87>>0]=j}if((c[l+8>>2]|0)!=(m|0)){switch(m|0){case 4:{Hi[c[l+80>>2]&1023](3042);kj[c[l+32>>2]&127](0,768,0,1);break}case 1:{Hi[c[l+80>>2]&1023](3042);kj[c[l+32>>2]&127](770,771,1,771);break}case 2:{Hi[c[l+80>>2]&1023](3042);kj[c[l+32>>2]&127](770,1,0,1);break}default:Hi[c[l+68>>2]&1023](3042)}c[l+8>>2]=m}if((c[l+12>>2]|0)==1){m=0;i=n;return m|0}Hi[c[l+84>>2]&1023](1);c[l+12>>2]=1;m=0;i=n;return m|0}function N8a(b,d,e,f,h,j,k){b=b|0;d=d|0;e=e|0;f=f|0;h=+h;j=j|0;k=k|0;var l=0,m=0,n=0.0,o=0.0,p=0.0,q=0,r=0;r=i;i=i+144|0;q=c[b+316>>2]|0;l=c[q>>2]|0;if((c[299745]|0)==(l|0)){l=q;m=4}else{c[q+268>>2]=0;if((a8a(c[b+188>>2]|0,l)|0)>=0){c[299745]=c[q>>2];l8a(b)|0;l=c[b+316>>2]|0;m=4}}if((m|0)==4)if(c[l+4>>2]|0){l=l+108|0;do{}while((dj[c[l>>2]&7]()|0)!=0)}if((M8a(b,d)|0)<0){b=-1;i=r;return b|0}Hi[c[q+84>>2]&1023](3);Hi[c[q+84>>2]&1023](2);g[r+24+12>>2]=360.0-h;g[r+24+8>>2]=360.0-h;g[r+24+4>>2]=360.0-h;g[r+24>>2]=360.0-h;o=+g[f>>2];p=+g[j>>2]+o;g[r+40+24>>2]=p;g[r+40+16>>2]=p;g[r+40+8>>2]=p;g[r+40>>2]=p;p=+g[f+4>>2];n=+g[j+4>>2]+p;g[r+40+28>>2]=n;g[r+40+20>>2]=n;g[r+40+12>>2]=n;g[r+40+4>>2]=n;g[r+104>>2]=o;g[r+104+4>>2]=p;n=o+ +g[f+8>>2];g[r+104+8>>2]=n;g[r+104+12>>2]=p;g[r+104+16>>2]=o;h=p+ +g[f+12>>2];g[r+104+20>>2]=h;g[r+104+24>>2]=n;g[r+104+28>>2]=h;if(k&1|0){g[r+104+16>>2]=n;g[r+104>>2]=n;g[r+104+24>>2]=o;g[r+104+8>>2]=o}if(k&2|0){g[r+104+12>>2]=h;g[r+104+4>>2]=h;g[r+104+28>>2]=p;g[r+104+20>>2]=p}m=c[b+316>>2]|0;l=c[m+284>>2]|0;if(!l){si[c[m+216>>2]&511](1,m+284|0);l=c[m+284>>2]|0}si[c[m+220>>2]&511](34962,l);if((c[m+300>>2]|0)>>>0<16){kj[c[m+224>>2]&127](34962,16,r+24|0,35040);c[m+300>>2]=16}else kj[c[m+228>>2]&127](34962,0,16,r+24|0);Ii[c[m+184>>2]&63](2,1,5126,0,0,0);m=c[b+316>>2]|0;l=c[m+288>>2]|0;if(!l){si[c[m+216>>2]&511](1,m+288|0);l=c[m+288>>2]|0}si[c[m+220>>2]&511](34962,l);if((c[m+304>>2]|0)>>>0<32){kj[c[m+224>>2]&127](34962,32,r+40|0,35040);c[m+304>>2]=32}else kj[c[m+228>>2]&127](34962,0,32,r+40|0);Ii[c[m+184>>2]&63](3,2,5126,0,0,0);m=c[b+316>>2]|0;l=c[m+276>>2]|0;if(!l){si[c[m+216>>2]&511](1,m+276|0);l=c[m+276>>2]|0}si[c[m+220>>2]&511](34962,l);if((c[m+292>>2]|0)>>>0<32){kj[c[m+224>>2]&127](34962,32,r+104|0,35040);c[m+292>>2]=32}else kj[c[m+228>>2]&127](34962,0,32,r+104|0);Ii[c[m+184>>2]&63](0,2,5126,0,0,0);l=c[e>>2]|0;n=+(c[d+12>>2]|0);g[r+72>>2]=+(l|0)/n;m=c[e+4>>2]|0;p=+(c[d+16>>2]|0);g[r+72+4>>2]=+(m|0)/p;o=+((c[e+8>>2]|0)+l|0)/n;g[r+72+8>>2]=o;g[r+72+12>>2]=+(m|0)/p;g[r+72+16>>2]=+(l|0)/n;p=+((c[e+12>>2]|0)+m|0)/p;g[r+72+20>>2]=p;g[r+72+24>>2]=o;g[r+72+28>>2]=p;m=c[b+316>>2]|0;l=c[m+280>>2]|0;if(!l){si[c[m+216>>2]&511](1,m+280|0);l=c[m+280>>2]|0}si[c[m+220>>2]&511](34962,l);if((c[m+296>>2]|0)>>>0<32){kj[c[m+224>>2]&127](34962,32,r+72|0,35040);c[m+296>>2]=32}else kj[c[m+228>>2]&127](34962,0,32,r+72|0);Ii[c[m+184>>2]&63](1,2,5126,0,0,0);$i[c[q+76>>2]&255](5,0,4);Hi[c[q+72>>2]&1023](3);Hi[c[q+72>>2]&1023](2);f=c[b+316>>2]|0;if(!(c[f+4>>2]|0)){b=0;i=r;return b|0}l=dj[c[f+108>>2]&7]()|0;if(!l){b=0;i=r;return b|0}else j=1279070;while(1){j=(a[j>>0]|0)==0?594910:j;switch(l|0){case 1280:{m=594981;break}case 1281:{m=594964;break}case 1282:{m=594943;break}case 1285:{m=594926;break}default:m=594918}c[r>>2]=j;c[r+4>>2]=595023;c[r+8>>2]=1812;c[r+12>>2]=600036;c[r+16>>2]=m;c[r+20>>2]=l;l6a(594997,r)|0;l=dj[c[f+108>>2]&7]()|0;if(!l){l=-1;break}}i=r;return l|0}function O8a(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+32|0;j=c[a+316>>2]|0;g=c[j>>2]|0;if((c[299745]|0)==(g|0)){g=j;h=4}else{c[j+268>>2]=0;if((a8a(c[a+188>>2]|0,g)|0)>=0){c[299745]=c[j>>2];l8a(a)|0;g=c[a+316>>2]|0;h=4}}if((h|0)==4)if(c[g+4>>2]|0){g=g+108|0;do{}while((dj[c[g>>2]&7]()|0)!=0)}l=c[b+8>>2]<<2;m=c7a(_(c[b+12>>2]|0,l)|0)|0;if(!m){e=k7a(0)|0;i=n;return e|0}m8a(a,n+28|0,n+24|0)|0;k=c[b+12>>2]|0;Ti[c[j+140>>2]&7](c[b>>2]|0,(c[n+24>>2]|0)-(c[b+4>>2]|0)-k|0,c[b+8>>2]|0,k,6408,5121,m);j=c[a+316>>2]|0;if(c[j+4>>2]|0){h=dj[c[j+108>>2]&7]()|0;if(h|0){while(1){switch(h|0){case 1280:{g=594981;break}case 1281:{g=594964;break}case 1282:{g=594943;break}case 1285:{g=594926;break}default:g=594918}c[n>>2]=600185;c[n+4>>2]=595023;c[n+8>>2]=1839;c[n+12>>2]=600200;c[n+16>>2]=g;c[n+20>>2]=h;l6a(594997,n)|0;h=dj[c[j+108>>2]&7]()|0;if(!h){g=-1;break}}i=n;return g|0}}h=c[b+8>>2]|0;g=c[b+12>>2]|0;j=i;i=i+((1*(h<<2)|0)+15&-16)|0;if((g+1|0)>>>0>=3){a=m;k=(g|0)/2|0;g=m+(_(g+-1|0,l)|0)|0;while(1){k=k+-1|0;l7a(j,a,h<<2)|0;l7a(a,g,h<<2)|0;l7a(g,j,h<<2)|0;if(!k)break;else{a=a+l|0;g=g+(0-l)|0}}h=c[b+8>>2]|0;g=c[b+12>>2]|0}e=P8a(h,g,376840196,m,l,d,e,f)|0;L7a(m);i=n;return e|0}function P8a(a,b,d,e,f,g,h,j){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0;o=i;i=i+448|0;if(!h){c[o>>2]=600282;f=l6a(608461,o)|0;i=o;return f|0}if(!j){c[o+8>>2]=600286;f=l6a(608461,o+8|0)|0;i=o;return f|0}if((d|0)!=(g|0)){if((d|0)==0|(d&-268435456|0)==268435456)if(((d>>>24&15)+-1|0)>>>0<3){l6a(600324,o+24|0)|0;f=-1;i=o;return f|0}if((Q8a(o+276|0,d)|0)<0){f=-1;i=o;return f|0}B6a(o+380|0,0,60)|0;c[o+380>>2]=1;c[o+380+4>>2]=o+276;c[o+380+20>>2]=e;c[o+380+8>>2]=a;c[o+380+12>>2]=b;c[o+380+16>>2]=f;B6a(o+144|0,0,88)|0;c[o+144+76>>2]=-1;c[o+380+52>>2]=o+144;c[o+380+56>>2]=1;if((g|0)==0|(g&-268435456|0)==268435456)if(((g>>>24&15)+-1|0)>>>0<3){l6a(600324,o+32|0)|0;f=-1;i=o;return f|0}if((Q8a(o+232|0,g)|0)<0){f=-1;i=o;return f|0}B6a(o+320|0,0,60)|0;c[o+320>>2]=1;c[o+320+4>>2]=o+232;c[o+320+20>>2]=h;c[o+320+8>>2]=a;c[o+320+12>>2]=b;c[o+320+16>>2]=j;B6a(o+56|0,0,88)|0;c[o+56+76>>2]=-1;c[o+320+52>>2]=o+56;c[o+320+56>>2]=1;c[o+40>>2]=0;c[o+40+4>>2]=0;c[o+40+8>>2]=a;c[o+40+12>>2]=b;g=c[o+380+52>>2]|0;do if((c[g>>2]|0)==(o+320|0)){e=c[(c[o+320+4>>2]|0)+4>>2]|0;if(e|0)if((c[g+80>>2]|0)!=(c[e+8>>2]|0)){k=35;break}e=c[(c[o+380+4>>2]|0)+4>>2]|0;if(e)if((c[g+84>>2]|0)!=(c[e+8>>2]|0))k=35}else k=35;while(0);do if((k|0)==35)if((S8a(o+380|0,o+320|0)|0)<0){f=-1;i=o;return f|0}else{g=c[o+380+52>>2]|0;break}while(0);f=cj[c[g+8>>2]&127](o+380|0,o+40|0,o+320|0,o+40|0)|0;i=o;return f|0}a:do if((d|0)==0|(d&-268435456|0)==268435456)g=d&255;else{b:do if((d|0)<844715353)if((d|0)<842094158)switch(d|0){case 825382478:{k=8;break b}default:break b}else switch(d|0){case 842094158:case 842094169:{k=8;break b}default:break b}else if((d|0)<1448433993)if((d|0)<1431918169)switch(d|0){case 844715353:{g=2;break a}default:break b}else switch(d|0){case 1431918169:{g=2;break a}default:break b}else if((d|0)<1498831189)switch(d|0){case 1448433993:{k=8;break b}default:break b}else switch(d|0){case 1498831189:{g=2;break a}default:break b}while(0);if((k|0)==8){g=1;break}f=l6a(600296,o+16|0)|0;i=o;return f|0}while(0);n=_(g,a)|0;if(b){k=_(j,b)|0;m=_(f,b)|0;g=h;a=e;l=b;while(1){l=l+-1|0;l7a(g,a,n)|0;if(!l)break;else{g=g+j|0;a=a+f|0}}h=h+k|0;e=e+m|0}if((d|0)<842094169){c:do if((d|0)<842094158){switch(d|0){case 825382478:break c;default:g=0}i=o;return g|0}else{switch(d|0){case 842094158:break c;default:g=0}i=o;return g|0}while(0);if((b+1|0)>>>0<3){f=0;i=o;return f|0}g=(b|0)/2|0;while(1){g=g+-1|0;l7a(h,e,n)|0;if(!g){g=0;break}else{e=e+f|0;h=h+j|0}}i=o;return g|0}else{d:do if((d|0)<1448433993){switch(d|0){case 842094169:break d;default:g=0}i=o;return g|0}else{switch(d|0){case 1448433993:break d;default:g=0}i=o;return g|0}while(0);if((b+1|0)>>>0<3){f=0;i=o;return f|0}g=((b|0)/2|0)<<1;while(1){g=g+-1|0;l7a(h,e,(n|0)/2|0)|0;if(!g){g=0;break}else{h=h+((j|0)/2|0)|0;e=e+((f|0)/2|0)|0}}i=o;return g|0}return 0}function Q8a(b,d){b=b|0;d=d|0;var e=0,f=0;f=i;i=i+32|0;if(!(R8a(d,f+16|0,f+12|0,f+8|0,f+4|0,f)|0)){b=-1;i=f;return b|0}B6a(b,0,44)|0;c[b>>2]=d;d=c[f+16>>2]|0;a[b+8>>0]=d;a[b+9>>0]=(d+7|0)/8|0;d=c[f+12>>2]|0;c[b+12>>2]=d;a[b+32>>0]=0;a[b+28>>0]=8;if(d|0){if(!(d&1)){e=0;do{e=e+1<<24>>24;d=d>>>1}while((d&1|0)==0);a[b+32>>0]=e;e=d}else e=d;if(e&1|0){d=8;do{d=d+-1<<24>>24;e=e>>>1}while((e&1|0)!=0);a[b+28>>0]=d}}d=c[f+8>>2]|0;c[b+16>>2]=d;a[b+33>>0]=0;a[b+29>>0]=8;if(d|0){if(!(d&1)){e=0;do{e=e+1<<24>>24;d=d>>>1}while((d&1|0)==0);a[b+33>>0]=e}if(d&1|0){e=8;do{e=e+-1<<24>>24;d=d>>>1}while((d&1|0)!=0);a[b+29>>0]=e}}d=c[f+4>>2]|0;c[b+20>>2]=d;a[b+34>>0]=0;a[b+30>>0]=8;if(d|0){if(!(d&1)){e=0;do{e=e+1<<24>>24;d=d>>>1}while((d&1|0)==0);a[b+34>>0]=e}if(d&1|0){e=8;do{e=e+-1<<24>>24;d=d>>>1}while((d&1|0)!=0);a[b+30>>0]=e}}d=c[f>>2]|0;c[b+24>>2]=d;a[b+35>>0]=0;a[b+31>>0]=8;if(d|0){if(!(d&1)){e=0;do{e=e+1<<24>>24;d=d>>>1}while((d&1|0)==0);a[b+35>>0]=e}if(d&1|0){e=8;do{e=e+-1<<24>>24;d=d>>>1}while((d&1|0)!=0);a[b+31>>0]=e}}c[b+4>>2]=0;c[b+36>>2]=1;c[b+40>>2]=0;b=0;i=f;return b|0}function R8a(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0;l=i;i=i+32|0;if(!((a|0)==0|(a&-268435456|0)==268435456)){l6a(600360,l)|0;a=0;i=l;return a|0}c[b>>2]=(a&255)>>>0<3?a>>>8&255:a<<3&2040;c[g>>2]=0;c[f>>2]=0;c[e>>2]=0;c[d>>2]=0;a:do if((a|0)<390076419){switch(a|0){case 386930691:break;default:break a}c[d>>2]=255;c[e>>2]=65280;c[f>>2]=16711680;a=1;i=l;return a|0}else{switch(a|0){case 390076419:break;default:break a}c[d>>2]=16711680;c[e>>2]=65280;c[f>>2]=255;a=1;i=l;return a|0}while(0);if(((a>>>24&15)+-4|0)>>>0>=3){a=1;i=l;return a|0}switch(a>>>16&15|0){case 1:{b=0;h=224;j=28;k=3;break}case 2:{b=61440;h=3840;j=240;k=15;break}case 3:{b=32768;h=31744;j=992;k=31;break}case 4:{b=63488;h=1984;j=62;k=1;break}case 5:{b=0;h=63488;j=2016;k=31;break}case 6:{b=-16777216;h=16711680;j=65280;k=255;break}case 7:{b=-1073741824;h=1072693248;j=1047552;k=1023;break}case 8:{b=-4194304;h=4190208;j=4092;k=3;break}default:{l6a(600550,l+8|0)|0;a=0;i=l;return a|0}}switch(a>>>20&15|0){case 1:{c[d>>2]=h;c[e>>2]=j;c[f>>2]=k;a=1;i=l;return a|0}case 2:{c[d>>2]=b;c[e>>2]=h;c[f>>2]=j;a=1;i=l;return a|0}case 3:{c[g>>2]=b;c[d>>2]=h;c[e>>2]=j;c[f>>2]=k;a=1;i=l;return a|0}case 4:{c[d>>2]=b;c[e>>2]=h;c[f>>2]=j;c[g>>2]=k;a=1;i=l;return a|0}case 5:{c[f>>2]=h;c[e>>2]=j;c[d>>2]=k;a=1;i=l;return a|0}case 6:{c[f>>2]=b;c[e>>2]=h;c[d>>2]=j;a=1;i=l;return a|0}case 8:{c[f>>2]=b;c[e>>2]=h;c[d>>2]=j;c[g>>2]=k;a=1;i=l;return a|0}case 7:{c[g>>2]=b;c[f>>2]=h;c[e>>2]=j;c[d>>2]=k;a=1;i=l;return a|0}default:{l6a(600550,l+16|0)|0;a=0;i=l;return a|0}}return 0}function S8a(e,f){e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;t=i;i=i+1040|0;s=c[e+52>>2]|0;if(c[e>>2]&2|0)C7a(e,1);if(s|0){g=c[s>>2]|0;if(g|0){r=c[g+56>>2]|0;c[g+56>>2]=r+-1;if((r|0)<2)A7a(g)}c[s>>2]=0;c[s+84>>2]=0;c[s+80>>2]=0;L7a(c[s+64>>2]|0);c[s+64>>2]=0}c[s+4>>2]=0;r=c[e+4>>2]|0;q=c[f+4>>2]|0;g=c[r>>2]|0;do if((g|0)==0|(g&-268435456|0)==268435456)if(((g>>>24&15)+-1|0)>>>0<3){g=c[q>>2]|0;if((g|0)==0|(g&-268435456|0)==268435456)if(((g>>>24&15)+-1|0)>>>0<3){p=T8a(c[r+4>>2]|0,c[q+4>>2]|0,s+4|0)|0;c[s+64>>2]=p;if((p|0)==0&(c[s+4>>2]|0)==0){e=-1;i=t;return e|0}if((a[r+8>>0]|0)==(a[q+8>>0]|0)){g=35;break}c[s+4>>2]=0;g=35;break}j=c[(c[e+52>>2]|0)+76>>2]|0;h=c[r+4>>2]|0;g=a[q+9>>0]|0;g=g<<24>>24==3?4:g&255;k=c7a(_(g,c[h>>2]|0)|0)|0;if(!k){k7a(0)|0;c[s+64>>2]=0;e=-1;i=t;return e|0}if((c[h>>2]|0)<=0){c[s+64>>2]=k;g=35;break}p=0;do{o=c[h+4>>2]|0;l=((_(d[o+(p<<2)>>0]|0,j&255)|0)>>>0)/255|0;m=((_(d[o+(p<<2)+1>>0]|0,j>>>8&255)|0)>>>0)/255|0;n=((_(d[o+(p<<2)+2>>0]|0,j>>>16&255)|0)>>>0)/255|0;o=((_(d[o+(p<<2)+3>>0]|0,j>>>24)|0)>>>0)/255|0;switch(d[q+9>>0]|0){case 1:{v=c[q+28>>2]|0;u=c[q+32>>2]|0;a[k+(_(p,g)|0)>>0]=(o&255)>>>(v>>>24)<<(u>>>24)|(l&255)>>>(v&255)<<(u&255)|(m&255)>>>(v>>>8&255)<<(u>>>8&255)|(n&255)>>>(v>>>16&255)<<(u>>>16&255);break}case 2:{u=c[q+28>>2]|0;v=c[q+32>>2]|0;b[k+(_(p,g)|0)>>1]=(o&255)>>>(u>>>24)<<(v>>>24)|(l&255)>>>(u&255)<<(v&255)|(m&255)>>>(u>>>8&255)<<(v>>>8&255)|(n&255)>>>(u>>>16&255)<<(v>>>16&255);break}case 3:{v=k+(_(p,g)|0)|0;a[v+((d[q+32>>0]|0)>>>3&255)>>0]=l;a[v+((d[q+33>>0]|0)>>>3&255)>>0]=m;a[v+((d[q+34>>0]|0)>>>3&255)>>0]=n;break}case 4:{u=c[q+28>>2]|0;v=c[q+32>>2]|0;c[k+(_(p,g)|0)>>2]=(o&255)>>>(u>>>24)<<(v>>>24)|(l&255)>>>(u&255)<<(v&255)|(m&255)>>>(u>>>8&255)<<(v>>>8&255)|(n&255)>>>(u>>>16&255)<<(v>>>16&255);break}default:{}}p=p+1|0}while((p|0)<(c[h>>2]|0));c[s+64>>2]=k;g=36}else g=27;else g=27;while(0);do if((g|0)==27){g=c[q>>2]|0;if((g|0)==0|(g&-268435456|0)==268435456)if(((g>>>24&15)+-1|0)>>>0<3){g=c[q+4>>2]|0;c[t>>2]=256;h=0;do{v=h&224;a[t+16+(h<<2)>>0]=v>>>6|v|v>>>3;v=h<<3&224;a[t+16+(h<<2)+1>>0]=v>>>6|v|v>>>3;v=h&3;a[t+16+(h<<2)+2>>0]=(v<<2|v)<<4|(v<<2|v);a[t+16+(h<<2)+3>>0]=-1;h=h+1|0}while((h|0)!=256);c[t+4>>2]=t+16;v=T8a(t,g,s+4|0)|0;c[s+64>>2]=v;if((v|0)==0&(c[s+4>>2]|0)==0){v=-1;i=t;return v|0}else{c[s+4>>2]=0;g=36;break}}if((r|0)==(q|0)){c[s+4>>2]=1;g=35}else g=35}while(0);if((g|0)==35){c[s>>2]=f;g=37}else if((g|0)==36){c[s>>2]=f;if(f|0)g=37}if((g|0)==37)c[f+56>>2]=(c[f+56>>2]|0)+1;g=c[q+4>>2]|0;if(!g)g=0;else g=c[g+8>>2]|0;c[s+80>>2]=g;g=c[r+4>>2]|0;if(!g)g=0;else g=c[g+8>>2]|0;c[s+84>>2]=g;v=U8a(e)|0;i=t;return v|0}function T8a(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;if(f|0){g=c[b>>2]|0;do if((g|0)<=(c[e>>2]|0)){if((b|0)!=(e|0))if(H6a(c[b+4>>2]|0,c[e+4>>2]|0,g<<2)|0)break;c[f>>2]=1;b=0;return b|0}while(0);c[f>>2]=0}g=c7a(c[b>>2]|0)|0;if(!g){k7a(0)|0;b=0;return b|0}if((c[b>>2]|0)<=0){b=g;return b|0}q=0;do{f=c[b+4>>2]|0;l=c[e>>2]|0;a:do if((l|0)>0){m=c[e+4>>2]|0;n=d[f+(q<<2)>>0]|0;o=d[f+(q<<2)+1>>0]|0;p=d[f+(q<<2)+2>>0]|0;j=d[f+(q<<2)+3>>0]|0;k=0;f=0;i=-1;while(1){s=(d[m+(k<<2)>>0]|0)-n|0;t=(d[m+(k<<2)+1>>0]|0)-o|0;r=(d[m+(k<<2)+2>>0]|0)-p|0;h=(d[m+(k<<2)+3>>0]|0)-j|0;h=(_(t,t)|0)+(_(s,s)|0)+(_(r,r)|0)+(_(h,h)|0)|0;if(h>>>0>>0){f=k&255;if(!h)break a}else h=i;k=k+1|0;if((k|0)>=(l|0))break;else i=h}}else f=0;while(0);a[g+q>>0]=f;q=q+1|0}while((q|0)<(c[b>>2]|0));return g|0}function U8a(a){a=a|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;m=i;i=i+16|0;l=c[a+52>>2]|0;k=c[l>>2]|0;if(c[a>>2]&2|0)C7a(a,1);c[l+8>>2]=96;c[l+56>>2]=c[a+4>>2];c[l+28>>2]=c[a+16>>2];c[l+60>>2]=c[k+4>>2];c[l+48>>2]=c[k+16>>2];if(c[l+68>>2]&4096|0)if(!(B7a(a)|0)){l=0;i=m;return l|0}if(!(c[l+4>>2]|0))g=7;else if(!(c[l+68>>2]&-4097))d=708;else g=7;a:do if((g|0)==7){d=c[a+4>>2]|0;e=b[d+8>>1]|0;if((e&255)<8){f=c[d>>2]|0;if((f|0)==0|(f&-268435456|0)==268435456)if(((f>>>24&15)+-1|0)>>>0<3)d=W8a(a)|0;else g=11;else g=11}else g=11;do if((g|0)==11){if((e&-256)<<16>>16==256){d=c[d>>2]|0;if((d|0)==0|(d&-268435456|0)==268435456)if(((d>>>24&15)+-1|0)>>>0<3){d=f9a(a)|0;break}}if(!(c[l+68>>2]&16)){d=F9a(a)|0;break}else{d=q9a(a)|0;break}}while(0);if(!d){g=c[c[a+4>>2]>>2]|0;h=c[c[k+4>>2]>>2]|0;j=c[l+68>>2]|0;do if((c[33431]|0)==-1){d=q7a(600399)|0;c[33431]=0;if(d|0){c[m>>2]=133724;$9a(d,600421,m)|0;break}if(O9a()|0)c[33431]=c[33431]|1;if(aab()|0)c[33431]=c[33431]|2;if(bab()|0)c[33431]=c[33431]|4;if(cab()|0)c[33431]=c[33431]|8;if(dab()|0)c[33431]=c[33431]|16}while(0);if(470){e=c[33431]|0;d=470;f=0;do{if((c[133728+(f*20|0)>>2]|0)==(g|0))if((c[133728+(f*20|0)+4>>2]|0)==(h|0))if((c[133728+(f*20|0)+8>>2]&(j&883)|0)==(j&883|0)){n=c[133728+(f*20|0)+12>>2]|0;if((n&e|0)==(n|0))break a}f=f+1|0;d=c[133728+(f*20|0)+16>>2]|0}while((d|0)!=0)}e=c[c[a+4>>2]>>2]|0;d=c[c[k+4>>2]>>2]|0;if((e|0)==0|(e&-268435456|0)==268435456)if(((e>>>24&15)+-1|0)>>>0>=3)if((d|0)==0|(d&-268435456|0)==268435456)if(((d>>>24&15)+-1|0)>>>0>=3){d=709;break}c[l+12>>2]=0;W7a(l);n=l6a(600424,m+8|0)|0;i=m;return n|0}}while(0);c[l+12>>2]=d;n=0;i=m;return n|0}function V8a(a,b,e,f){a=a|0;b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;if(!(c[e>>2]&2)){j=0;h=1}else{h=(G7a(e)|0)>>>31^1;j=h}if(!(c[a>>2]&2)){g=0;i=5}else if((G7a(a)|0)<0){h=-1;g=0}else{g=1;i=5}if((i|0)==5)if(!h)h=-1;else if(!b)h=0;else{h=c[b+8>>2]|0;if((h|0)<1)h=0;else{i=c[b+12>>2]|0;if((i|0)<1)h=0;else{k=c[a+52>>2]|0;m=c[a+16>>2]|0;n=(c[a+20>>2]|0)+(_(c[b+4>>2]&65535,m)|0)|0;l=d[(c[k+56>>2]|0)+9>>0]|0;c[k+16>>2]=n+(_(l,c[b>>2]&65535)|0);c[k+20>>2]=h;c[k+24>>2]=i;c[k+28>>2]=m;c[k+32>>2]=m-(_(l,h)|0);i=c[e+16>>2]|0;h=(c[e+20>>2]|0)+(_(c[f+4>>2]&65535,i)|0)|0;b=d[(c[k+60>>2]|0)+9>>0]|0;c[k+36>>2]=h+(_(b,c[f>>2]&65535)|0);h=c[f+8>>2]|0;c[k+40>>2]=h;c[k+44>>2]=c[f+12>>2];c[k+48>>2]=i;c[k+52>>2]=i-(_(b,h)|0);Hi[c[k+12>>2]&1023](k+16|0);h=0}}}if(j|0)H7a(e);if(!g)return h|0;H7a(a);return h|0}function W8a(d){d=d|0;var e=0;if((a[(c[d+4>>2]|0)+8>>0]|0)!=1){d=0;return d|0}e=c[d+52>>2]|0;d=b[(c[(c[e>>2]|0)+4>>2]|0)+8>>1]|0;d=(d&255)<8?0:(d&65535)>>>8&65535;switch(c[e+68>>2]&-28673|0){case 0:{e=c[125032+(d<<2)>>2]|0;return e|0}case 256:{e=c[125052+(d<<2)>>2]|0;return e|0}case 18:{e=d>>>0>1?710:0;return e|0}case 274:{e=d>>>0>1?711:0;return e|0}default:{e=0;return e|0}}return 0}function X8a(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=c[b+24>>2]|0;e=c[b+28>>2]|0;d=c[b>>2]|0;f=c[b+20>>2]|0;l=c[b+36>>2]|0;i=c[b+48>>2]|0;j=(c[b+16>>2]|0)+(k-((k+7|0)/8|0))|0;if(!i){if((e|0)!=0&(k|0)>0)h=e+-1|0;else return;while(1){b=0;e=0;g=f;while(1){if(!(e&7)){b=a[d>>0]|0;d=d+1|0}a[g>>0]=(b&255)>>>7;e=e+1|0;if((e|0)==(k|0))break;else{b=(b&255)<<1&255;g=g+1|0}}if(!h)break;else{h=h+-1|0;f=f+k+l|0;d=d+j|0}}return}else{if((e|0)!=0&(k|0)>0)h=e+-1|0;else return;while(1){b=0;e=0;g=f;while(1){if(!(e&7)){b=a[d>>0]|0;d=d+1|0}a[g>>0]=a[i+((b&255)>>>7&255)>>0]|0;e=e+1|0;if((e|0)==(k|0))break;else{b=(b&255)<<1&255;g=g+1|0}}if(!h)break;else{h=h+-1|0;f=f+k+l|0;d=d+j|0}}return}}function Y8a(d){d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;j=c[d+24>>2]|0;e=c[d+28>>2]|0;m=(c[d+36>>2]|0)/2|0;k=c[d+48>>2]|0;l=((j+7|0)/-8|0)+j+(c[d+16>>2]|0)|0;if(!((e|0)!=0&(j|0)>0))return;i=c[d+20>>2]|0;d=c[d>>2]|0;while(1){e=e+-1|0;f=0;g=0;h=i;while(1){if(!(g&7)){f=a[d>>0]|0;d=d+1|0}b[h>>1]=b[k+(((f&255)>>>7&255)<<1)>>1]|0;g=g+1|0;if((g|0)==(j|0))break;else{f=(f&255)<<1&255;h=h+2|0}}if(!e)break;else{i=i+(j<<1)+(m<<1)|0;d=d+l|0}}return}function Z8a(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;i=c[b+24>>2]|0;d=c[b+28>>2]|0;k=c[b+36>>2]|0;l=c[b+48>>2]|0;j=((i+7|0)/-8|0)+i+(c[b+16>>2]|0)|0;if(!((d|0)!=0&(i|0)>0))return;h=c[b+20>>2]|0;b=c[b>>2]|0;while(1){d=d+-1|0;e=0;f=0;g=h;while(1){if(!(f&7)){e=a[b>>0]|0;b=b+1|0}m=((e&255)>>>7&255)<<2;a[g>>0]=a[l+m>>0]|0;a[g+1>>0]=a[l+(m|1)>>0]|0;a[g+2>>0]=a[l+((m|1)+1)>>0]|0;f=f+1|0;if((f|0)==(i|0))break;else{e=(e&255)<<1&255;g=g+3|0}}if(!d)break;else{h=h+(i*3|0)+k|0;b=b+j|0}}return}function _8a(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=c[b+24>>2]|0;d=c[b+28>>2]|0;l=(c[b+36>>2]|0)/4|0;j=c[b+48>>2]|0;k=((i+7|0)/-8|0)+i+(c[b+16>>2]|0)|0;if(!((d|0)!=0&(i|0)>0))return;h=c[b+20>>2]|0;b=c[b>>2]|0;while(1){d=d+-1|0;e=0;f=0;g=h;while(1){if(!(f&7)){e=a[b>>0]|0;b=b+1|0}c[g>>2]=c[j+(((e&255)>>>7&255)<<2)>>2];f=f+1|0;if((f|0)==(i|0))break;else{e=(e&255)<<1&255;g=g+4|0}}if(!d)break;else{h=h+(i<<2)+(l<<2)|0;b=b+k|0}}return}function $8a(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;l=c[b+24>>2]|0;e=c[b+28>>2]|0;d=c[b>>2]|0;f=c[b+20>>2]|0;m=c[b+36>>2]|0;n=c[b+56>>2]|0;j=c[b+48>>2]|0;k=(c[b+16>>2]|0)+(l-((l+7|0)/8|0))|0;if(!j){if((e|0)!=0&(l|0)>0)i=e+-1|0;else return;while(1){b=0;g=0;h=f;while(1){if(!(g&7)){e=a[d>>0]|0;d=d+1|0}else e=b;b=(e&255)>>>7;if((b&255|0)!=(n|0))a[h>>0]=b;g=g+1|0;if((g|0)==(l|0))break;else{b=(e&255)<<1&255;h=h+1|0}}if(!i)break;else{i=i+-1|0;f=f+l+m|0;d=d+k|0}}return}else{if((e|0)!=0&(l|0)>0)i=e+-1|0;else return;while(1){b=0;g=0;h=f;while(1){if(!(g&7)){e=a[d>>0]|0;d=d+1|0}else e=b;b=(e&255)>>>7&255;if((b|0)!=(n|0))a[h>>0]=a[j+b>>0]|0;g=g+1|0;if((g|0)==(l|0))break;else{b=(e&255)<<1&255;h=h+1|0}}if(!i)break;else{i=i+-1|0;f=f+l+m|0;d=d+k|0}}return}}function a9a(d){d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;k=c[d+24>>2]|0;e=c[d+28>>2]|0;o=c[d+56>>2]|0;l=c[d+48>>2]|0;m=((k+7|0)/-8|0)+k+(c[d+16>>2]|0)|0;n=(c[d+36>>2]|0)/2|0;if(!((e|0)!=0&(k|0)>0))return;j=c[d+20>>2]|0;d=c[d>>2]|0;while(1){e=e+-1|0;f=0;h=0;i=j;while(1){if(!(h&7)){g=a[d>>0]|0;d=d+1|0}else g=f;f=(g&255)>>>7&255;if((f|0)!=(o|0))b[i>>1]=b[l+(f<<1)>>1]|0;h=h+1|0;if((h|0)==(k|0))break;else{f=(g&255)<<1&255;i=i+2|0}}if(!e)break;else{j=j+(k<<1)+(n<<1)|0;d=d+m|0}}return}function b9a(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;j=c[b+24>>2]|0;d=c[b+28>>2]|0;m=c[b+36>>2]|0;n=c[b+56>>2]|0;k=c[b+48>>2]|0;l=((j+7|0)/-8|0)+j+(c[b+16>>2]|0)|0;if(!((d|0)!=0&(j|0)>0))return;i=c[b+20>>2]|0;b=c[b>>2]|0;while(1){d=d+-1|0;e=0;g=0;h=i;while(1){if(!(g&7)){f=a[b>>0]|0;b=b+1|0}else f=e;e=(f&255)>>>7&255;if((e|0)!=(n|0))l7a(h,k+(e<<2)|0,3)|0;g=g+1|0;if((g|0)==(j|0))break;else{e=(f&255)<<1&255;h=h+3|0}}if(!d)break;else{i=i+(j*3|0)+m|0;b=b+l|0}}return}function c9a(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;j=c[b+24>>2]|0;d=c[b+28>>2]|0;n=c[b+56>>2]|0;k=c[b+48>>2]|0;l=((j+7|0)/-8|0)+j+(c[b+16>>2]|0)|0;m=(c[b+36>>2]|0)/4|0;if(!((d|0)!=0&(j|0)>0))return;i=c[b+20>>2]|0;b=c[b>>2]|0;while(1){d=d+-1|0;e=0;g=0;h=i;while(1){if(!(g&7)){f=a[b>>0]|0;b=b+1|0}else f=e;e=(f&255)>>>7&255;if((e|0)!=(n|0))c[h>>2]=c[k+(e<<2)>>2];g=g+1|0;if((g|0)==(j|0))break;else{e=(f&255)<<1&255;h=h+4|0}}if(!d)break;else{i=i+(j<<2)+(m<<2)|0;b=b+l|0}}return}function d9a(f){f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;s=c[f+24>>2]|0;g=c[f+28>>2]|0;z=c[f+36>>2]|0;t=c[(c[(c[f+40>>2]|0)+4>>2]|0)+4>>2]|0;u=c[f+44>>2]|0;v=d[f+63>>0]|0;w=d[u+9>>0]|0;x=((s+7|0)/-8|0)+s+(c[f+16>>2]|0)|0;if(!g)return;y=_(s,w)|0;h=c[f+20>>2]|0;f=c[f>>2]|0;while(1){g=g+-1|0;if((s|0)>0){i=0;q=0;r=h;while(1){if(!(q&7)){i=a[f>>0]|0;f=f+1|0}p=i&255;o=(i&255)>>>7&255;i=d[t+(o<<2)>>0]|0;n=d[t+(o<<2)+1>>0]|0;o=d[t+(o<<2)+2>>0]|0;switch(w|0){case 1:{A=d[r>>0]|0;m=c[u+32>>2]|0;B=c[u+28>>2]|0;j=a[(c[124356+(B>>>24<<2)>>2]|0)+((c[u+24>>2]&A)>>>(m>>>24))>>0]|0;k=a[(c[124356+((B>>>16&255)<<2)>>2]|0)+((c[u+20>>2]&A)>>>(m>>>16&255))>>0]|0;l=a[(c[124356+((B>>>8&255)<<2)>>2]|0)+((c[u+16>>2]&A)>>>(m>>>8&255))>>0]|0;m=a[(c[124356+((B&255)<<2)>>2]|0)+((A&c[u+12>>2])>>>(m&255))>>0]|0;break}case 2:{B=e[r>>1]|0;m=c[u+32>>2]|0;A=c[u+28>>2]|0;j=a[(c[124356+(A>>>24<<2)>>2]|0)+((c[u+24>>2]&B)>>>(m>>>24))>>0]|0;k=a[(c[124356+((A>>>16&255)<<2)>>2]|0)+((c[u+20>>2]&B)>>>(m>>>16&255))>>0]|0;l=a[(c[124356+((A>>>8&255)<<2)>>2]|0)+((c[u+16>>2]&B)>>>(m>>>8&255))>>0]|0;m=a[(c[124356+((A&255)<<2)>>2]|0)+((B&c[u+12>>2])>>>(m&255))>>0]|0;break}case 3:{m=c[u+32>>2]|0;j=-1;k=a[r+(m>>>19&31)>>0]|0;l=a[r+(m>>>11&31)>>0]|0;m=a[r+(m>>>3&31)>>0]|0;break}case 4:{B=c[r>>2]|0;m=c[u+32>>2]|0;A=c[u+28>>2]|0;j=a[(c[124356+(A>>>24<<2)>>2]|0)+((c[u+24>>2]&B)>>>(m>>>24))>>0]|0;k=a[(c[124356+((A>>>16&255)<<2)>>2]|0)+((c[u+20>>2]&B)>>>(m>>>16&255))>>0]|0;l=a[(c[124356+((A>>>8&255)<<2)>>2]|0)+((c[u+16>>2]&B)>>>(m>>>8&255))>>0]|0;m=a[(c[124356+((A&255)<<2)>>2]|0)+((c[u+12>>2]&B)>>>(m&255))>>0]|0;break}default:{j=0;k=0;l=0;m=0}}j=j&255;B=k&255;k=l&255;l=m&255;l=(((_(i-l|0,v)|0)>>>0)/255|0)+l|0;k=(((_(n-k|0,v)|0)>>>0)/255|0)+k|0;i=(((_(o-B|0,v)|0)>>>0)/255|0)+B|0;j=j+v-(((_(j,v)|0)>>>0)/255|0)|0;switch(w|0){case 1:{A=c[u+28>>2]|0;B=c[u+32>>2]|0;a[r>>0]=k>>>(A>>>8&255)<<(B>>>8&255)|l>>>(A&255)<<(B&255)|i>>>(A>>>16&255)<<(B>>>16&255)|j>>>(A>>>24)<<(B>>>24);break}case 2:{A=c[u+28>>2]|0;B=c[u+32>>2]|0;b[r>>1]=k>>>(A>>>8&255)<<(B>>>8&255)|l>>>(A&255)<<(B&255)|i>>>(A>>>16&255)<<(B>>>16&255)|j>>>(A>>>24)<<(B>>>24);break}case 3:{a[r+((d[u+32>>0]|0)>>>3&255)>>0]=l;a[r+((d[u+33>>0]|0)>>>3&255)>>0]=k;a[r+((d[u+34>>0]|0)>>>3&255)>>0]=i;break}case 4:{A=c[u+28>>2]|0;B=c[u+32>>2]|0;c[r>>2]=k>>>(A>>>8&255)<<(B>>>8&255)|l>>>(A&255)<<(B&255)|i>>>(A>>>16&255)<<(B>>>16&255)|j>>>(A>>>24)<<(B>>>24);break}default:{}}q=q+1|0;if((q|0)==(s|0))break;else{i=p<<1&255;r=r+w|0}}h=h+y|0}if(!g)break;else{h=h+z|0;f=f+x|0}}return}function e9a(f){f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;s=c[f+24>>2]|0;g=c[f+28>>2]|0;A=c[f+36>>2]|0;t=c[f+44>>2]|0;u=c[(c[(c[f+40>>2]|0)+4>>2]|0)+4>>2]|0;v=d[f+63>>0]|0;w=c[f+56>>2]|0;x=d[t+9>>0]|0;y=((s+7|0)/-8|0)+s+(c[f+16>>2]|0)|0;if(!g)return;z=_(s,x)|0;h=c[f+20>>2]|0;f=c[f>>2]|0;while(1){g=g+-1|0;if((s|0)>0){i=0;q=0;r=h;while(1){if(!(q&7)){i=a[f>>0]|0;f=f+1|0}p=i&255;i=(i&255)>>>7&255;a:do if((i|0)!=(w|0)){m=d[u+(i<<2)>>0]|0;n=d[u+(i<<2)+1>>0]|0;o=d[u+(i<<2)+2>>0]|0;switch(x|0){case 1:{B=d[r>>0]|0;l=c[t+32>>2]|0;C=c[t+28>>2]|0;i=a[(c[124356+(C>>>24<<2)>>2]|0)+((c[t+24>>2]&B)>>>(l>>>24))>>0]|0;j=a[(c[124356+((C>>>16&255)<<2)>>2]|0)+((c[t+20>>2]&B)>>>(l>>>16&255))>>0]|0;k=a[(c[124356+((C>>>8&255)<<2)>>2]|0)+((c[t+16>>2]&B)>>>(l>>>8&255))>>0]|0;l=a[(c[124356+((C&255)<<2)>>2]|0)+((B&c[t+12>>2])>>>(l&255))>>0]|0;break}case 2:{C=e[r>>1]|0;l=c[t+32>>2]|0;B=c[t+28>>2]|0;i=a[(c[124356+(B>>>24<<2)>>2]|0)+((c[t+24>>2]&C)>>>(l>>>24))>>0]|0;j=a[(c[124356+((B>>>16&255)<<2)>>2]|0)+((c[t+20>>2]&C)>>>(l>>>16&255))>>0]|0;k=a[(c[124356+((B>>>8&255)<<2)>>2]|0)+((c[t+16>>2]&C)>>>(l>>>8&255))>>0]|0;l=a[(c[124356+((B&255)<<2)>>2]|0)+((C&c[t+12>>2])>>>(l&255))>>0]|0;break}case 3:{l=c[t+32>>2]|0;i=-1;j=a[r+(l>>>19&31)>>0]|0;k=a[r+(l>>>11&31)>>0]|0;l=a[r+(l>>>3&31)>>0]|0;break}case 4:{C=c[r>>2]|0;l=c[t+32>>2]|0;B=c[t+28>>2]|0;i=a[(c[124356+(B>>>24<<2)>>2]|0)+((c[t+24>>2]&C)>>>(l>>>24))>>0]|0;j=a[(c[124356+((B>>>16&255)<<2)>>2]|0)+((c[t+20>>2]&C)>>>(l>>>16&255))>>0]|0;k=a[(c[124356+((B>>>8&255)<<2)>>2]|0)+((c[t+16>>2]&C)>>>(l>>>8&255))>>0]|0;l=a[(c[124356+((B&255)<<2)>>2]|0)+((c[t+12>>2]&C)>>>(l&255))>>0]|0;break}default:{i=0;j=0;k=0;l=0}}C=i&255;i=j&255;k=k&255;l=l&255;l=(((_(m-l|0,v)|0)>>>0)/255|0)+l|0;k=(((_(n-k|0,v)|0)>>>0)/255|0)+k|0;i=(((_(o-i|0,v)|0)>>>0)/255|0)+i|0;j=C+v-(((_(C,v)|0)>>>0)/255|0)|0;switch(x|0){case 1:{B=c[t+28>>2]|0;C=c[t+32>>2]|0;a[r>>0]=k>>>(B>>>8&255)<<(C>>>8&255)|l>>>(B&255)<<(C&255)|i>>>(B>>>16&255)<<(C>>>16&255)|j>>>(B>>>24)<<(C>>>24);break a}case 2:{B=c[t+28>>2]|0;C=c[t+32>>2]|0;b[r>>1]=k>>>(B>>>8&255)<<(C>>>8&255)|l>>>(B&255)<<(C&255)|i>>>(B>>>16&255)<<(C>>>16&255)|j>>>(B>>>24)<<(C>>>24);break a}case 3:{a[r+((d[t+32>>0]|0)>>>3&255)>>0]=l;a[r+((d[t+33>>0]|0)>>>3&255)>>0]=k;a[r+((d[t+34>>0]|0)>>>3&255)>>0]=i;break a}case 4:{B=c[t+28>>2]|0;C=c[t+32>>2]|0;c[r>>2]=k>>>(B>>>8&255)<<(C>>>8&255)|l>>>(B&255)<<(C&255)|i>>>(B>>>16&255)<<(C>>>16&255)|j>>>(B>>>24)<<(C>>>24);break a}default:break a}}while(0);q=q+1|0;if((q|0)==(s|0))break;else{i=p<<1&255;r=r+x|0}}h=h+z|0}if(!g)break;else{h=h+A|0;f=f+y|0}}return}function f9a(a){a=a|0;var d=0;d=c[a+52>>2]|0;a=b[(c[(c[d>>2]|0)+4>>2]|0)+8>>1]|0;a=(a&255)<8?0:(a&65535)>>>8&65535;switch(c[d+68>>2]&-28673|0){case 0:{d=c[125072+(a<<2)>>2]|0;return d|0}case 256:{d=c[125092+(a<<2)>>2]|0;return d|0}case 18:{d=a>>>0>1?712:0;return d|0}case 274:{d=a>>>0>1?713:0;return d|0}default:{d=0;return d|0}}return 0}function g9a(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;l=c[b+24>>2]|0;e=c[b+28>>2]|0;g=c[b>>2]|0;n=c[b+16>>2]|0;f=c[b+20>>2]|0;m=c[b+36>>2]|0;k=c[b+48>>2]|0;if(!e)return;switch(l&7|0){case 0:{h=e+-1|0;b=f;e=g;while(1){f=(l+7|0)/8|0;while(1){a[b>>0]=a[k+(d[e>>0]|0)>>0]|0;a[b+1>>0]=a[k+(d[e+1>>0]|0)>>0]|0;a[b+2>>0]=a[k+(d[e+2>>0]|0)>>0]|0;a[b+3>>0]=a[k+(d[e+3>>0]|0)>>0]|0;a[b+4>>0]=a[k+(d[e+4>>0]|0)>>0]|0;a[b+5>>0]=a[k+(d[e+5>>0]|0)>>0]|0;a[b+6>>0]=a[k+(d[e+6>>0]|0)>>0]|0;a[b+7>>0]=a[k+(d[e+7>>0]|0)>>0]|0;b=b+8|0;e=e+8|0;if((f|0)>1)f=f+-1|0;else break}if(!h)break;else{h=h+-1|0;b=b+m|0;e=e+n|0}}return}case 7:{i=e+-1|0;b=f;e=g;while(1){h=(l+7|0)/8|0;while(1){a[b>>0]=a[k+(d[e>>0]|0)>>0]|0;a[b+1>>0]=a[k+(d[e+1>>0]|0)>>0]|0;a[b+2>>0]=a[k+(d[e+2>>0]|0)>>0]|0;a[b+3>>0]=a[k+(d[e+3>>0]|0)>>0]|0;a[b+4>>0]=a[k+(d[e+4>>0]|0)>>0]|0;a[b+5>>0]=a[k+(d[e+5>>0]|0)>>0]|0;a[b+6>>0]=a[k+(d[e+6>>0]|0)>>0]|0;f=b+7|0;g=e+7|0;if((h|0)<=1)break;a[f>>0]=a[k+(d[g>>0]|0)>>0]|0;b=b+8|0;h=h+-1|0;e=e+8|0}if(!i)break;else{i=i+-1|0;b=f+m|0;e=g+n|0}}return}default:{j=e+-1|0;b=f;e=g;a:while(1){switch(l&7|0){case 1:{h=(l+7|0)/8|0;g=e;i=17;break}case 2:{f=(l+7|0)/8|0;i=16;break}case 6:{f=(l+7|0)/8|0;i=12;break}case 5:{f=(l+7|0)/8|0;i=13;break}case 4:{f=(l+7|0)/8|0;i=14;break}case 3:{f=(l+7|0)/8|0;i=15;break}default:{i=18;break a}}while(1)if((i|0)==12){a[b>>0]=a[k+(d[e>>0]|0)>>0]|0;b=b+1|0;e=e+1|0;i=13;continue}else if((i|0)==13){a[b>>0]=a[k+(d[e>>0]|0)>>0]|0;b=b+1|0;e=e+1|0;i=14;continue}else if((i|0)==14){a[b>>0]=a[k+(d[e>>0]|0)>>0]|0;b=b+1|0;e=e+1|0;i=15;continue}else if((i|0)==15){a[b>>0]=a[k+(d[e>>0]|0)>>0]|0;b=b+1|0;e=e+1|0;i=16;continue}else if((i|0)==16){a[b>>0]=a[k+(d[e>>0]|0)>>0]|0;b=b+1|0;h=f;g=e+1|0;i=17;continue}else if((i|0)==17){a[b>>0]=a[k+(d[g>>0]|0)>>0]|0;e=b+1|0;f=g+1|0;if((h|0)<=1)break;a[e>>0]=a[k+(d[f>>0]|0)>>0]|0;a[b+2>>0]=a[k+(d[g+2>>0]|0)>>0]|0;b=b+3|0;f=h+-1|0;e=g+3|0;i=12;continue}if(!j){i=20;break}else{j=j+-1|0;b=e+m|0;e=f+n|0}}if((i|0)!=18)if((i|0)==20)return}}}function h9a(a){a=a|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;l=c[a+24>>2]|0;e=c[a+28>>2]|0;g=c[a>>2]|0;n=c[a+16>>2]|0;f=c[a+20>>2]|0;m=c[a+36>>2]|0;k=c[a+48>>2]|0;if(!e)return;if(!(l&7)){h=e+-1|0;a=f;e=g;while(1){g=(l+7|0)/8|0;while(1){b[a>>1]=b[k+((d[e>>0]|0)<<1)>>1]|0;b[a+2>>1]=b[k+((d[e+1>>0]|0)<<1)>>1]|0;b[a+4>>1]=b[k+((d[e+2>>0]|0)<<1)>>1]|0;b[a+6>>1]=b[k+((d[e+3>>0]|0)<<1)>>1]|0;b[a+8>>1]=b[k+((d[e+4>>0]|0)<<1)>>1]|0;b[a+10>>1]=b[k+((d[e+5>>0]|0)<<1)>>1]|0;b[a+12>>1]=b[k+((d[e+6>>0]|0)<<1)>>1]|0;f=e+8|0;b[a+14>>1]=b[k+((d[e+7>>0]|0)<<1)>>1]|0;a=a+16|0;if((g|0)>1){g=g+-1|0;e=f}else break}if(!h)break;else{h=h+-1|0;a=a+m|0;e=f+n|0}}return}else{j=e+-1|0;a=f;e=g}a:while(1){switch(l&7|0){case 1:{h=(l+7|0)/8|0;g=e;i=14;break}case 7:{f=(l+7|0)/8|0;i=8;break}case 6:{f=(l+7|0)/8|0;i=9;break}case 5:{f=(l+7|0)/8|0;i=10;break}case 4:{f=(l+7|0)/8|0;i=11;break}case 3:{f=(l+7|0)/8|0;i=12;break}case 2:{f=(l+7|0)/8|0;i=13;break}default:{i=15;break a}}while(1)if((i|0)==8){b[a>>1]=b[k+((d[e>>0]|0)<<1)>>1]|0;a=a+2|0;e=e+1|0;i=9;continue}else if((i|0)==9){b[a>>1]=b[k+((d[e>>0]|0)<<1)>>1]|0;a=a+2|0;e=e+1|0;i=10;continue}else if((i|0)==10){b[a>>1]=b[k+((d[e>>0]|0)<<1)>>1]|0;a=a+2|0;e=e+1|0;i=11;continue}else if((i|0)==11){b[a>>1]=b[k+((d[e>>0]|0)<<1)>>1]|0;a=a+2|0;e=e+1|0;i=12;continue}else if((i|0)==12){b[a>>1]=b[k+((d[e>>0]|0)<<1)>>1]|0;a=a+2|0;e=e+1|0;i=13;continue}else if((i|0)==13){b[a>>1]=b[k+((d[e>>0]|0)<<1)>>1]|0;a=a+2|0;h=f;g=e+1|0;i=14;continue}else if((i|0)==14){f=g+1|0;b[a>>1]=b[k+((d[g>>0]|0)<<1)>>1]|0;e=a+2|0;if((h|0)<=1)break;b[e>>1]=b[k+((d[f>>0]|0)<<1)>>1]|0;a=a+4|0;f=h+-1|0;e=g+2|0;i=8;continue}if(!j){i=17;break}else{j=j+-1|0;a=e+m|0;e=f+n|0}}if((i|0)!=15)if((i|0)==17)return}function i9a(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;i=c[b+24>>2]|0;e=c[b+28>>2]|0;j=c[b+16>>2]|0;k=c[b+36>>2]|0;l=c[b+48>>2]|0;if(!e)return;f=c[b+20>>2]|0;b=c[b>>2]|0;a:while(1){e=e+-1|0;switch(i&7|0){case 0:{g=(i+7|0)/8|0;h=4;break}case 7:{g=(i+7|0)/8|0;h=5;break}case 6:{g=(i+7|0)/8|0;h=6;break}case 5:{g=(i+7|0)/8|0;h=7;break}case 4:{g=(i+7|0)/8|0;h=8;break}case 3:{g=(i+7|0)/8|0;h=9;break}case 2:{g=(i+7|0)/8|0;h=10;break}case 1:{g=(i+7|0)/8|0;h=11;break}default:{h=12;break a}}while(1)if((h|0)==4){m=(d[b>>0]|0)<<2;a[f>>0]=a[l+m>>0]|0;a[f+1>>0]=a[l+(m|1)>>0]|0;a[f+2>>0]=a[l+((m|1)+1)>>0]|0;f=f+3|0;b=b+1|0;h=5;continue}else if((h|0)==5){m=(d[b>>0]|0)<<2;a[f>>0]=a[l+m>>0]|0;a[f+1>>0]=a[l+(m|1)>>0]|0;a[f+2>>0]=a[l+((m|1)+1)>>0]|0;f=f+3|0;b=b+1|0;h=6;continue}else if((h|0)==6){m=(d[b>>0]|0)<<2;a[f>>0]=a[l+m>>0]|0;a[f+1>>0]=a[l+(m|1)>>0]|0;a[f+2>>0]=a[l+((m|1)+1)>>0]|0;f=f+3|0;b=b+1|0;h=7;continue}else if((h|0)==7){m=(d[b>>0]|0)<<2;a[f>>0]=a[l+m>>0]|0;a[f+1>>0]=a[l+(m|1)>>0]|0;a[f+2>>0]=a[l+((m|1)+1)>>0]|0;f=f+3|0;b=b+1|0;h=8;continue}else if((h|0)==8){m=(d[b>>0]|0)<<2;a[f>>0]=a[l+m>>0]|0;a[f+1>>0]=a[l+(m|1)>>0]|0;a[f+2>>0]=a[l+((m|1)+1)>>0]|0;f=f+3|0;b=b+1|0;h=9;continue}else if((h|0)==9){m=(d[b>>0]|0)<<2;a[f>>0]=a[l+m>>0]|0;a[f+1>>0]=a[l+(m|1)>>0]|0;a[f+2>>0]=a[l+((m|1)+1)>>0]|0;f=f+3|0;b=b+1|0;h=10;continue}else if((h|0)==10){m=(d[b>>0]|0)<<2;a[f>>0]=a[l+m>>0]|0;a[f+1>>0]=a[l+(m|1)>>0]|0;a[f+2>>0]=a[l+((m|1)+1)>>0]|0;f=f+3|0;b=b+1|0;h=11;continue}else if((h|0)==11){m=(d[b>>0]|0)<<2;a[f>>0]=a[l+m>>0]|0;a[f+1>>0]=a[l+(m|1)>>0]|0;a[f+2>>0]=a[l+((m|1)+1)>>0]|0;b=b+1|0;f=f+3|0;if((g|0)>1){g=g+-1|0;h=4;continue}else break}if(!e){h=14;break}else{f=f+k|0;b=b+j|0}}if((h|0)!=12)if((h|0)==14)return}function j9a(a){a=a|0;var b=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;k=c[a+24>>2]|0;b=c[a+28>>2]|0;f=c[a>>2]|0;m=c[a+16>>2]|0;e=c[a+20>>2]|0;l=(c[a+36>>2]|0)/4|0;j=c[a+48>>2]|0;if(!b)return;if(!(k&7)){h=b+-1|0;a=e;b=f;while(1){g=(k+7|0)/8|0;while(1){c[a>>2]=c[j+((d[b>>0]|0)<<2)>>2];c[a+4>>2]=c[j+((d[b+1>>0]|0)<<2)>>2];c[a+8>>2]=c[j+((d[b+2>>0]|0)<<2)>>2];c[a+12>>2]=c[j+((d[b+3>>0]|0)<<2)>>2];c[a+16>>2]=c[j+((d[b+4>>0]|0)<<2)>>2];c[a+20>>2]=c[j+((d[b+5>>0]|0)<<2)>>2];c[a+24>>2]=c[j+((d[b+6>>0]|0)<<2)>>2];f=b+8|0;e=a+32|0;c[a+28>>2]=c[j+((d[b+7>>0]|0)<<2)>>2];if((g|0)>1){a=e;g=g+-1|0;b=f}else break}if(!h)break;else{h=h+-1|0;a=e+(l<<2)|0;b=f+m|0}}return}else{i=b+-1|0;a=e;b=f}a:while(1){switch(k&7|0){case 1:{g=(k+7|0)/8|0;f=b;h=14;break}case 7:{e=(k+7|0)/8|0;h=8;break}case 6:{e=(k+7|0)/8|0;h=9;break}case 5:{e=(k+7|0)/8|0;h=10;break}case 4:{e=(k+7|0)/8|0;h=11;break}case 3:{e=(k+7|0)/8|0;h=12;break}case 2:{e=(k+7|0)/8|0;h=13;break}default:{h=15;break a}}while(1)if((h|0)==8){c[a>>2]=c[j+((d[b>>0]|0)<<2)>>2];a=a+4|0;b=b+1|0;h=9;continue}else if((h|0)==9){c[a>>2]=c[j+((d[b>>0]|0)<<2)>>2];a=a+4|0;b=b+1|0;h=10;continue}else if((h|0)==10){c[a>>2]=c[j+((d[b>>0]|0)<<2)>>2];a=a+4|0;b=b+1|0;h=11;continue}else if((h|0)==11){c[a>>2]=c[j+((d[b>>0]|0)<<2)>>2];a=a+4|0;b=b+1|0;h=12;continue}else if((h|0)==12){c[a>>2]=c[j+((d[b>>0]|0)<<2)>>2];a=a+4|0;b=b+1|0;h=13;continue}else if((h|0)==13){c[a>>2]=c[j+((d[b>>0]|0)<<2)>>2];a=a+4|0;g=e;f=b+1|0;h=14;continue}else if((h|0)==14){e=f+1|0;b=a+4|0;c[a>>2]=c[j+((d[f>>0]|0)<<2)>>2];if((g|0)<=1)break;c[b>>2]=c[j+((d[e>>0]|0)<<2)>>2];a=a+8|0;e=g+-1|0;b=f+2|0;h=8;continue}if(!i){h=17;break}else{i=i+-1|0;a=b+(l<<2)|0;b=e+m|0}}if((h|0)!=15)if((h|0)==17)return}function k9a(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0;Z=c[b+24>>2]|0;g=c[b+28>>2]|0;f=c[b>>2]|0;$=c[b+16>>2]|0;e=c[b+20>>2]|0;_=c[b+36>>2]|0;X=c[b+48>>2]|0;Y=c[b+56>>2]|0;if(!X){if(!g)return;if(!(Z&7)){h=g+-1|0;while(1){b=e;g=(Z+7|0)/8|0;while(1){e=a[f>>0]|0;if((e&255|0)!=(Y|0))a[b>>0]=e;e=a[f+1>>0]|0;if((e&255|0)!=(Y|0))a[b+1>>0]=e;e=a[f+2>>0]|0;if((e&255|0)!=(Y|0))a[b+2>>0]=e;e=a[f+3>>0]|0;if((e&255|0)!=(Y|0))a[b+3>>0]=e;e=a[f+4>>0]|0;if((e&255|0)!=(Y|0))a[b+4>>0]=e;e=a[f+5>>0]|0;if((e&255|0)!=(Y|0))a[b+5>>0]=e;e=a[f+6>>0]|0;if((e&255|0)!=(Y|0))a[b+6>>0]=e;e=a[f+7>>0]|0;if((e&255|0)!=(Y|0))a[b+7>>0]=e;e=b+8|0;f=f+8|0;if((g|0)>1){b=e;g=g+-1|0}else break}if(!h)break;else{h=h+-1|0;e=e+_|0;f=f+$|0}}return}else g=g+-1|0;a:while(1){switch(Z&7|0){case 1:{n=e;I=(Z+7|0)/8|0;P=f;e=93;break}case 7:{h=e;C=(Z+7|0)/8|0;J=f;e=75;break}case 6:{i=e;D=(Z+7|0)/8|0;K=f;e=78;break}case 5:{j=e;E=(Z+7|0)/8|0;L=f;e=81;break}case 4:{k=e;F=(Z+7|0)/8|0;M=f;e=84;break}case 3:{l=e;G=(Z+7|0)/8|0;N=f;e=87;break}case 2:{m=e;H=(Z+7|0)/8|0;O=f;e=90;break}default:{e=96;break a}}while(1)if((e|0)==75){e=a[J>>0]|0;if((e&255|0)!=(Y|0))a[h>>0]=e;i=h+1|0;D=C;K=J+1|0;e=78;continue}else if((e|0)==78){e=a[K>>0]|0;if((e&255|0)!=(Y|0))a[i>>0]=e;j=i+1|0;E=D;L=K+1|0;e=81;continue}else if((e|0)==81){e=a[L>>0]|0;if((e&255|0)!=(Y|0))a[j>>0]=e;k=j+1|0;F=E;M=L+1|0;e=84;continue}else if((e|0)==84){e=a[M>>0]|0;if((e&255|0)!=(Y|0))a[k>>0]=e;l=k+1|0;G=F;N=M+1|0;e=87;continue}else if((e|0)==87){e=a[N>>0]|0;if((e&255|0)!=(Y|0))a[l>>0]=e;m=l+1|0;H=G;O=N+1|0;e=90;continue}else if((e|0)==90){e=a[O>>0]|0;if((e&255|0)!=(Y|0))a[m>>0]=e;n=m+1|0;I=H;P=O+1|0;e=93;continue}else if((e|0)==93){e=a[P>>0]|0;if((e&255|0)!=(Y|0))a[n>>0]=e;b=n+1|0;f=P+1|0;if((I|0)<=1)break;e=a[f>>0]|0;if((e&255|0)!=(Y|0))a[b>>0]=e;h=n+2|0;C=I+-1|0;J=P+2|0;e=75;continue}if(!g){e=98;break}else{g=g+-1|0;e=b+_|0;f=f+$|0}}if((e|0)!=96)if((e|0)==98)return}else{if(!g)return;if(!(Z&7)){h=g+-1|0;while(1){g=(Z+7|0)/8|0;while(1){b=d[f>>0]|0;if((b|0)!=(Y|0))a[e>>0]=a[X+b>>0]|0;b=d[f+1>>0]|0;if((b|0)!=(Y|0))a[e+1>>0]=a[X+b>>0]|0;b=d[f+2>>0]|0;if((b|0)!=(Y|0))a[e+2>>0]=a[X+b>>0]|0;b=d[f+3>>0]|0;if((b|0)!=(Y|0))a[e+3>>0]=a[X+b>>0]|0;b=d[f+4>>0]|0;if((b|0)!=(Y|0))a[e+4>>0]=a[X+b>>0]|0;b=d[f+5>>0]|0;if((b|0)!=(Y|0))a[e+5>>0]=a[X+b>>0]|0;b=d[f+6>>0]|0;if((b|0)!=(Y|0))a[e+6>>0]=a[X+b>>0]|0;b=d[f+7>>0]|0;if((b|0)!=(Y|0))a[e+7>>0]=a[X+b>>0]|0;e=e+8|0;f=f+8|0;if((g|0)>1)g=g+-1|0;else break}if(!h)break;else{h=h+-1|0;e=e+_|0;f=f+$|0}}return}else g=g+-1|0;b:while(1){switch(Z&7|0){case 1:{u=e;B=(Z+7|0)/8|0;W=f;e=66;break}case 7:{o=e;v=(Z+7|0)/8|0;Q=f;e=48;break}case 6:{p=e;w=(Z+7|0)/8|0;R=f;e=51;break}case 5:{q=e;x=(Z+7|0)/8|0;S=f;e=54;break}case 4:{r=e;y=(Z+7|0)/8|0;T=f;e=57;break}case 3:{s=e;z=(Z+7|0)/8|0;U=f;e=60;break}case 2:{t=e;A=(Z+7|0)/8|0;V=f;e=63;break}default:{e=69;break b}}while(1)if((e|0)==48){e=d[Q>>0]|0;if((e|0)!=(Y|0))a[o>>0]=a[X+e>>0]|0;p=o+1|0;w=v;R=Q+1|0;e=51;continue}else if((e|0)==51){e=d[R>>0]|0;if((e|0)!=(Y|0))a[p>>0]=a[X+e>>0]|0;q=p+1|0;x=w;S=R+1|0;e=54;continue}else if((e|0)==54){e=d[S>>0]|0;if((e|0)!=(Y|0))a[q>>0]=a[X+e>>0]|0;r=q+1|0;y=x;T=S+1|0;e=57;continue}else if((e|0)==57){e=d[T>>0]|0;if((e|0)!=(Y|0))a[r>>0]=a[X+e>>0]|0;s=r+1|0;z=y;U=T+1|0;e=60;continue}else if((e|0)==60){e=d[U>>0]|0;if((e|0)!=(Y|0))a[s>>0]=a[X+e>>0]|0;t=s+1|0;A=z;V=U+1|0;e=63;continue}else if((e|0)==63){e=d[V>>0]|0;if((e|0)!=(Y|0))a[t>>0]=a[X+e>>0]|0;u=t+1|0;B=A;W=V+1|0;e=66;continue}else if((e|0)==66){e=d[W>>0]|0;if((e|0)!=(Y|0))a[u>>0]=a[X+e>>0]|0;b=u+1|0;f=W+1|0;if((B|0)<=1)break;e=d[f>>0]|0;if((e|0)!=(Y|0))a[b>>0]=a[X+e>>0]|0;o=u+2|0;v=B+-1|0;Q=W+2|0;e=48;continue}if(!g){e=98;break}else{g=g+-1|0;e=b+_|0;f=f+$|0}}if((e|0)!=69)if((e|0)==98)return}}function l9a(a){a=a|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;l=c[a+24>>2]|0;e=c[a+28>>2]|0;g=c[a>>2]|0;o=c[a+16>>2]|0;f=c[a+20>>2]|0;m=c[a+48>>2]|0;n=c[a+56>>2]|0;k=(c[a+36>>2]|0)/2|0;if(!e)return;if(!(l&7)){h=e+-1|0;a=f;e=g;while(1){g=(l+7|0)/8|0;f=e;while(1){e=d[f>>0]|0;if((e|0)!=(n|0))b[a>>1]=b[m+(e<<1)>>1]|0;e=d[f+1>>0]|0;if((e|0)!=(n|0))b[a+2>>1]=b[m+(e<<1)>>1]|0;e=d[f+2>>0]|0;if((e|0)!=(n|0))b[a+4>>1]=b[m+(e<<1)>>1]|0;e=d[f+3>>0]|0;if((e|0)!=(n|0))b[a+6>>1]=b[m+(e<<1)>>1]|0;e=d[f+4>>0]|0;if((e|0)!=(n|0))b[a+8>>1]=b[m+(e<<1)>>1]|0;e=d[f+5>>0]|0;if((e|0)!=(n|0))b[a+10>>1]=b[m+(e<<1)>>1]|0;e=d[f+6>>0]|0;if((e|0)!=(n|0))b[a+12>>1]=b[m+(e<<1)>>1]|0;e=d[f+7>>0]|0;if((e|0)!=(n|0))b[a+14>>1]=b[m+(e<<1)>>1]|0;e=f+8|0;a=a+16|0;if((g|0)>1){g=g+-1|0;f=e}else break}if(!h)break;else{h=h+-1|0;a=a+(k<<1)|0;e=e+o|0}}return}else{j=e+-1|0;a=f}a:while(1){switch(l&7|0){case 1:{h=a;i=(l+7|0)/8|0;a=44;break}case 7:{e=a;f=(l+7|0)/8|0;a=26;break}case 6:{e=a;f=(l+7|0)/8|0;a=29;break}case 5:{e=a;f=(l+7|0)/8|0;a=32;break}case 4:{e=a;f=(l+7|0)/8|0;a=35;break}case 3:{e=a;f=(l+7|0)/8|0;a=38;break}case 2:{e=a;f=(l+7|0)/8|0;a=41;break}default:{a=47;break a}}while(1)if((a|0)==26){a=d[g>>0]|0;if((a|0)!=(n|0))b[e>>1]=b[m+(a<<1)>>1]|0;e=e+2|0;g=g+1|0;a=29;continue}else if((a|0)==29){a=d[g>>0]|0;if((a|0)!=(n|0))b[e>>1]=b[m+(a<<1)>>1]|0;e=e+2|0;g=g+1|0;a=32;continue}else if((a|0)==32){a=d[g>>0]|0;if((a|0)!=(n|0))b[e>>1]=b[m+(a<<1)>>1]|0;e=e+2|0;g=g+1|0;a=35;continue}else if((a|0)==35){a=d[g>>0]|0;if((a|0)!=(n|0))b[e>>1]=b[m+(a<<1)>>1]|0;e=e+2|0;g=g+1|0;a=38;continue}else if((a|0)==38){a=d[g>>0]|0;if((a|0)!=(n|0))b[e>>1]=b[m+(a<<1)>>1]|0;e=e+2|0;g=g+1|0;a=41;continue}else if((a|0)==41){a=d[g>>0]|0;if((a|0)!=(n|0))b[e>>1]=b[m+(a<<1)>>1]|0;h=e+2|0;i=f;g=g+1|0;a=44;continue}else if((a|0)==44){a=d[g>>0]|0;if((a|0)!=(n|0))b[h>>1]=b[m+(a<<1)>>1]|0;e=g+1|0;f=h+2|0;if((i|0)<=1)break;a=d[e>>0]|0;if((a|0)!=(n|0))b[f>>1]=b[m+(a<<1)>>1]|0;e=h+4|0;f=i+-1|0;g=g+2|0;a=26;continue}if(!j){a=49;break}else{j=j+-1|0;a=f+(k<<1)|0;g=e+o|0}}if((a|0)!=47)if((a|0)==49)return}function m9a(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;i=c[b+24>>2]|0;e=c[b+28>>2]|0;k=c[b+16>>2]|0;l=c[b+36>>2]|0;m=c[b+48>>2]|0;j=c[b+56>>2]|0;if(!e)return;f=c[b+20>>2]|0;g=c[b>>2]|0;a:while(1){e=e+-1|0;switch(i&7|0){case 0:{h=(i+7|0)/8|0;b=4;break}case 7:{h=(i+7|0)/8|0;b=7;break}case 6:{h=(i+7|0)/8|0;b=10;break}case 5:{h=(i+7|0)/8|0;b=13;break}case 4:{h=(i+7|0)/8|0;b=16;break}case 3:{h=(i+7|0)/8|0;b=19;break}case 2:{h=(i+7|0)/8|0;b=22;break}case 1:{h=(i+7|0)/8|0;b=25;break}default:{b=28;break a}}while(1)if((b|0)==4){b=d[g>>0]|0;if((b|0)!=(j|0)){a[f>>0]=a[m+(b<<2)>>0]|0;a[f+1>>0]=a[m+(b<<2|1)>>0]|0;a[f+2>>0]=a[m+((b<<2|1)+1)>>0]|0}f=f+3|0;g=g+1|0;b=7;continue}else if((b|0)==7){b=d[g>>0]|0;if((b|0)!=(j|0)){a[f>>0]=a[m+(b<<2)>>0]|0;a[f+1>>0]=a[m+(b<<2|1)>>0]|0;a[f+2>>0]=a[m+((b<<2|1)+1)>>0]|0}f=f+3|0;g=g+1|0;b=10;continue}else if((b|0)==10){b=d[g>>0]|0;if((b|0)!=(j|0)){a[f>>0]=a[m+(b<<2)>>0]|0;a[f+1>>0]=a[m+(b<<2|1)>>0]|0;a[f+2>>0]=a[m+((b<<2|1)+1)>>0]|0}f=f+3|0;g=g+1|0;b=13;continue}else if((b|0)==13){b=d[g>>0]|0;if((b|0)!=(j|0)){a[f>>0]=a[m+(b<<2)>>0]|0;a[f+1>>0]=a[m+(b<<2|1)>>0]|0;a[f+2>>0]=a[m+((b<<2|1)+1)>>0]|0}f=f+3|0;g=g+1|0;b=16;continue}else if((b|0)==16){b=d[g>>0]|0;if((b|0)!=(j|0)){a[f>>0]=a[m+(b<<2)>>0]|0;a[f+1>>0]=a[m+(b<<2|1)>>0]|0;a[f+2>>0]=a[m+((b<<2|1)+1)>>0]|0}f=f+3|0;g=g+1|0;b=19;continue}else if((b|0)==19){b=d[g>>0]|0;if((b|0)!=(j|0)){a[f>>0]=a[m+(b<<2)>>0]|0;a[f+1>>0]=a[m+(b<<2|1)>>0]|0;a[f+2>>0]=a[m+((b<<2|1)+1)>>0]|0}f=f+3|0;g=g+1|0;b=22;continue}else if((b|0)==22){b=d[g>>0]|0;if((b|0)!=(j|0)){a[f>>0]=a[m+(b<<2)>>0]|0;a[f+1>>0]=a[m+(b<<2|1)>>0]|0;a[f+2>>0]=a[m+((b<<2|1)+1)>>0]|0}f=f+3|0;g=g+1|0;b=25;continue}else if((b|0)==25){b=d[g>>0]|0;if((b|0)!=(j|0)){a[f>>0]=a[m+(b<<2)>>0]|0;a[f+1>>0]=a[m+(b<<2|1)>>0]|0;a[f+2>>0]=a[m+((b<<2|1)+1)>>0]|0}g=g+1|0;f=f+3|0;if((h|0)>1){h=h+-1|0;b=4;continue}else break}if(!e){b=30;break}else{f=f+l|0;g=g+k|0}}if((b|0)!=28)if((b|0)==30)return}function n9a(a){a=a|0;var b=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;k=c[a+24>>2]|0;b=c[a+28>>2]|0;f=c[a>>2]|0;n=c[a+16>>2]|0;e=c[a+20>>2]|0;l=c[a+48>>2]|0;m=c[a+56>>2]|0;j=(c[a+36>>2]|0)/4|0;if(!b)return;if(!(k&7)){g=b+-1|0;a=e;b=f;while(1){f=(k+7|0)/8|0;e=b;while(1){b=d[e>>0]|0;if((b|0)!=(m|0))c[a>>2]=c[l+(b<<2)>>2];b=d[e+1>>0]|0;if((b|0)!=(m|0))c[a+4>>2]=c[l+(b<<2)>>2];b=d[e+2>>0]|0;if((b|0)!=(m|0))c[a+8>>2]=c[l+(b<<2)>>2];b=d[e+3>>0]|0;if((b|0)!=(m|0))c[a+12>>2]=c[l+(b<<2)>>2];b=d[e+4>>0]|0;if((b|0)!=(m|0))c[a+16>>2]=c[l+(b<<2)>>2];b=d[e+5>>0]|0;if((b|0)!=(m|0))c[a+20>>2]=c[l+(b<<2)>>2];b=d[e+6>>0]|0;if((b|0)!=(m|0))c[a+24>>2]=c[l+(b<<2)>>2];b=d[e+7>>0]|0;if((b|0)!=(m|0))c[a+28>>2]=c[l+(b<<2)>>2];b=e+8|0;a=a+32|0;if((f|0)>1){f=f+-1|0;e=b}else break}if(!g)break;else{g=g+-1|0;a=a+(j<<2)|0;b=b+n|0}}return}else{i=b+-1|0;a=e}a:while(1){switch(k&7|0){case 1:{g=a;h=(k+7|0)/8|0;a=44;break}case 7:{b=a;e=(k+7|0)/8|0;a=26;break}case 6:{b=a;e=(k+7|0)/8|0;a=29;break}case 5:{b=a;e=(k+7|0)/8|0;a=32;break}case 4:{b=a;e=(k+7|0)/8|0;a=35;break}case 3:{b=a;e=(k+7|0)/8|0;a=38;break}case 2:{b=a;e=(k+7|0)/8|0;a=41;break}default:{a=47;break a}}while(1)if((a|0)==26){a=d[f>>0]|0;if((a|0)!=(m|0))c[b>>2]=c[l+(a<<2)>>2];b=b+4|0;f=f+1|0;a=29;continue}else if((a|0)==29){a=d[f>>0]|0;if((a|0)!=(m|0))c[b>>2]=c[l+(a<<2)>>2];b=b+4|0;f=f+1|0;a=32;continue}else if((a|0)==32){a=d[f>>0]|0;if((a|0)!=(m|0))c[b>>2]=c[l+(a<<2)>>2];b=b+4|0;f=f+1|0;a=35;continue}else if((a|0)==35){a=d[f>>0]|0;if((a|0)!=(m|0))c[b>>2]=c[l+(a<<2)>>2];b=b+4|0;f=f+1|0;a=38;continue}else if((a|0)==38){a=d[f>>0]|0;if((a|0)!=(m|0))c[b>>2]=c[l+(a<<2)>>2];b=b+4|0;f=f+1|0;a=41;continue}else if((a|0)==41){a=d[f>>0]|0;if((a|0)!=(m|0))c[b>>2]=c[l+(a<<2)>>2];g=b+4|0;h=e;f=f+1|0;a=44;continue}else if((a|0)==44){a=d[f>>0]|0;if((a|0)!=(m|0))c[g>>2]=c[l+(a<<2)>>2];b=f+1|0;e=g+4|0;if((h|0)<=1)break;a=d[b>>0]|0;if((a|0)!=(m|0))c[e>>2]=c[l+(a<<2)>>2];b=g+8|0;e=h+-1|0;f=f+2|0;a=26;continue}if(!i){a=49;break}else{i=i+-1|0;a=e+(j<<2)|0;f=b+n|0}}if((a|0)!=47)if((a|0)==49)return}function o9a(f){f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;q=c[f+24>>2]|0;g=c[f+28>>2]|0;u=c[f+16>>2]|0;v=c[f+36>>2]|0;w=c[f+44>>2]|0;r=c[(c[(c[f+40>>2]|0)+4>>2]|0)+4>>2]|0;s=d[f+63>>0]|0;t=d[w+9>>0]|0;if(!g)return;h=c[f+20>>2]|0;f=c[f>>2]|0;a:while(1){g=g+-1|0;switch(q&3|0){case 0:{p=(q+3|0)/4|0;i=4;break}case 3:{p=(q+3|0)/4|0;i=15;break}case 2:{p=(q+3|0)/4|0;i=26;break}case 1:{p=(q+3|0)/4|0;i=37;break}default:{i=48;break a}}while(1)if((i|0)==4){o=d[f>>0]|0;i=d[r+(o<<2)>>0]|0;n=d[r+(o<<2)+1>>0]|0;o=d[r+(o<<2)+2>>0]|0;switch(t|0){case 1:{x=d[h>>0]|0;m=c[w+32>>2]|0;y=c[w+28>>2]|0;j=a[(c[124356+(y>>>24<<2)>>2]|0)+((c[w+24>>2]&x)>>>(m>>>24))>>0]|0;k=a[(c[124356+((y>>>16&255)<<2)>>2]|0)+((c[w+20>>2]&x)>>>(m>>>16&255))>>0]|0;l=a[(c[124356+((y>>>8&255)<<2)>>2]|0)+((c[w+16>>2]&x)>>>(m>>>8&255))>>0]|0;m=a[(c[124356+((y&255)<<2)>>2]|0)+((x&c[w+12>>2])>>>(m&255))>>0]|0;break}case 2:{y=e[h>>1]|0;m=c[w+32>>2]|0;x=c[w+28>>2]|0;j=a[(c[124356+(x>>>24<<2)>>2]|0)+((c[w+24>>2]&y)>>>(m>>>24))>>0]|0;k=a[(c[124356+((x>>>16&255)<<2)>>2]|0)+((c[w+20>>2]&y)>>>(m>>>16&255))>>0]|0;l=a[(c[124356+((x>>>8&255)<<2)>>2]|0)+((c[w+16>>2]&y)>>>(m>>>8&255))>>0]|0;m=a[(c[124356+((x&255)<<2)>>2]|0)+((y&c[w+12>>2])>>>(m&255))>>0]|0;break}case 3:{m=c[w+32>>2]|0;j=-1;k=a[h+(m>>>19&31)>>0]|0;l=a[h+(m>>>11&31)>>0]|0;m=a[h+(m>>>3&31)>>0]|0;break}case 4:{y=c[h>>2]|0;m=c[w+32>>2]|0;x=c[w+28>>2]|0;j=a[(c[124356+(x>>>24<<2)>>2]|0)+((c[w+24>>2]&y)>>>(m>>>24))>>0]|0;k=a[(c[124356+((x>>>16&255)<<2)>>2]|0)+((c[w+20>>2]&y)>>>(m>>>16&255))>>0]|0;l=a[(c[124356+((x>>>8&255)<<2)>>2]|0)+((c[w+16>>2]&y)>>>(m>>>8&255))>>0]|0;m=a[(c[124356+((x&255)<<2)>>2]|0)+((c[w+12>>2]&y)>>>(m&255))>>0]|0;break}default:{j=0;k=0;l=0;m=0}}m=m&255;x=l&255;y=k&255;j=j&255;l=(((_(i-m|0,s)|0)>>>0)/255|0)+m|0;k=(((_(n-x|0,s)|0)>>>0)/255|0)+x|0;i=(((_(o-y|0,s)|0)>>>0)/255|0)+y|0;j=j+s-(((_(j,s)|0)>>>0)/255|0)|0;switch(t|0){case 1:{x=c[w+28>>2]|0;y=c[w+32>>2]|0;a[h>>0]=k>>>(x>>>8&255)<<(y>>>8&255)|l>>>(x&255)<<(y&255)|i>>>(x>>>16&255)<<(y>>>16&255)|j>>>(x>>>24)<<(y>>>24);break}case 2:{x=c[w+28>>2]|0;y=c[w+32>>2]|0;b[h>>1]=k>>>(x>>>8&255)<<(y>>>8&255)|l>>>(x&255)<<(y&255)|i>>>(x>>>16&255)<<(y>>>16&255)|j>>>(x>>>24)<<(y>>>24);break}case 3:{a[h+((d[w+32>>0]|0)>>>3&255)>>0]=l;a[h+((d[w+33>>0]|0)>>>3&255)>>0]=k;a[h+((d[w+34>>0]|0)>>>3&255)>>0]=i;break}case 4:{x=c[w+28>>2]|0;y=c[w+32>>2]|0;c[h>>2]=k>>>(x>>>8&255)<<(y>>>8&255)|l>>>(x&255)<<(y&255)|i>>>(x>>>16&255)<<(y>>>16&255)|j>>>(x>>>24)<<(y>>>24);break}default:{}}h=h+t|0;f=f+1|0;i=15;continue}else if((i|0)==15){o=d[f>>0]|0;i=d[r+(o<<2)>>0]|0;n=d[r+(o<<2)+1>>0]|0;o=d[r+(o<<2)+2>>0]|0;switch(t|0){case 1:{y=d[h>>0]|0;m=c[w+32>>2]|0;x=c[w+28>>2]|0;j=a[(c[124356+(x>>>24<<2)>>2]|0)+((c[w+24>>2]&y)>>>(m>>>24))>>0]|0;k=a[(c[124356+((x>>>16&255)<<2)>>2]|0)+((c[w+20>>2]&y)>>>(m>>>16&255))>>0]|0;l=a[(c[124356+((x>>>8&255)<<2)>>2]|0)+((c[w+16>>2]&y)>>>(m>>>8&255))>>0]|0;m=a[(c[124356+((x&255)<<2)>>2]|0)+((y&c[w+12>>2])>>>(m&255))>>0]|0;break}case 2:{y=e[h>>1]|0;m=c[w+32>>2]|0;x=c[w+28>>2]|0;j=a[(c[124356+(x>>>24<<2)>>2]|0)+((c[w+24>>2]&y)>>>(m>>>24))>>0]|0;k=a[(c[124356+((x>>>16&255)<<2)>>2]|0)+((c[w+20>>2]&y)>>>(m>>>16&255))>>0]|0;l=a[(c[124356+((x>>>8&255)<<2)>>2]|0)+((c[w+16>>2]&y)>>>(m>>>8&255))>>0]|0;m=a[(c[124356+((x&255)<<2)>>2]|0)+((y&c[w+12>>2])>>>(m&255))>>0]|0;break}case 3:{m=c[w+32>>2]|0;j=-1;k=a[h+(m>>>19&31)>>0]|0;l=a[h+(m>>>11&31)>>0]|0;m=a[h+(m>>>3&31)>>0]|0;break}case 4:{y=c[h>>2]|0;m=c[w+32>>2]|0;x=c[w+28>>2]|0;j=a[(c[124356+(x>>>24<<2)>>2]|0)+((c[w+24>>2]&y)>>>(m>>>24))>>0]|0;k=a[(c[124356+((x>>>16&255)<<2)>>2]|0)+((c[w+20>>2]&y)>>>(m>>>16&255))>>0]|0;l=a[(c[124356+((x>>>8&255)<<2)>>2]|0)+((c[w+16>>2]&y)>>>(m>>>8&255))>>0]|0;m=a[(c[124356+((x&255)<<2)>>2]|0)+((c[w+12>>2]&y)>>>(m&255))>>0]|0;break}default:{j=0;k=0;l=0;m=0}}m=m&255;x=l&255;y=k&255;j=j&255;l=(((_(i-m|0,s)|0)>>>0)/255|0)+m|0;k=(((_(n-x|0,s)|0)>>>0)/255|0)+x|0;i=(((_(o-y|0,s)|0)>>>0)/255|0)+y|0;j=j+s-(((_(j,s)|0)>>>0)/255|0)|0;switch(t|0){case 1:{x=c[w+28>>2]|0;y=c[w+32>>2]|0;a[h>>0]=k>>>(x>>>8&255)<<(y>>>8&255)|l>>>(x&255)<<(y&255)|i>>>(x>>>16&255)<<(y>>>16&255)|j>>>(x>>>24)<<(y>>>24);break}case 2:{x=c[w+28>>2]|0;y=c[w+32>>2]|0;b[h>>1]=k>>>(x>>>8&255)<<(y>>>8&255)|l>>>(x&255)<<(y&255)|i>>>(x>>>16&255)<<(y>>>16&255)|j>>>(x>>>24)<<(y>>>24);break}case 3:{a[h+((d[w+32>>0]|0)>>>3&255)>>0]=l;a[h+((d[w+33>>0]|0)>>>3&255)>>0]=k;a[h+((d[w+34>>0]|0)>>>3&255)>>0]=i;break}case 4:{x=c[w+28>>2]|0;y=c[w+32>>2]|0;c[h>>2]=k>>>(x>>>8&255)<<(y>>>8&255)|l>>>(x&255)<<(y&255)|i>>>(x>>>16&255)<<(y>>>16&255)|j>>>(x>>>24)<<(y>>>24);break}default:{}}h=h+t|0;f=f+1|0;i=26;continue}else if((i|0)==26){o=d[f>>0]|0;i=d[r+(o<<2)>>0]|0;n=d[r+(o<<2)+1>>0]|0;o=d[r+(o<<2)+2>>0]|0;switch(t|0){case 1:{y=d[h>>0]|0;m=c[w+32>>2]|0;x=c[w+28>>2]|0;j=a[(c[124356+(x>>>24<<2)>>2]|0)+((c[w+24>>2]&y)>>>(m>>>24))>>0]|0;k=a[(c[124356+((x>>>16&255)<<2)>>2]|0)+((c[w+20>>2]&y)>>>(m>>>16&255))>>0]|0;l=a[(c[124356+((x>>>8&255)<<2)>>2]|0)+((c[w+16>>2]&y)>>>(m>>>8&255))>>0]|0;m=a[(c[124356+((x&255)<<2)>>2]|0)+((y&c[w+12>>2])>>>(m&255))>>0]|0;break}case 2:{y=e[h>>1]|0;m=c[w+32>>2]|0;x=c[w+28>>2]|0;j=a[(c[124356+(x>>>24<<2)>>2]|0)+((c[w+24>>2]&y)>>>(m>>>24))>>0]|0;k=a[(c[124356+((x>>>16&255)<<2)>>2]|0)+((c[w+20>>2]&y)>>>(m>>>16&255))>>0]|0;l=a[(c[124356+((x>>>8&255)<<2)>>2]|0)+((c[w+16>>2]&y)>>>(m>>>8&255))>>0]|0;m=a[(c[124356+((x&255)<<2)>>2]|0)+((y&c[w+12>>2])>>>(m&255))>>0]|0;break}case 3:{m=c[w+32>>2]|0;j=-1;k=a[h+(m>>>19&31)>>0]|0;l=a[h+(m>>>11&31)>>0]|0;m=a[h+(m>>>3&31)>>0]|0;break}case 4:{y=c[h>>2]|0;m=c[w+32>>2]|0;x=c[w+28>>2]|0;j=a[(c[124356+(x>>>24<<2)>>2]|0)+((c[w+24>>2]&y)>>>(m>>>24))>>0]|0;k=a[(c[124356+((x>>>16&255)<<2)>>2]|0)+((c[w+20>>2]&y)>>>(m>>>16&255))>>0]|0;l=a[(c[124356+((x>>>8&255)<<2)>>2]|0)+((c[w+16>>2]&y)>>>(m>>>8&255))>>0]|0;m=a[(c[124356+((x&255)<<2)>>2]|0)+((c[w+12>>2]&y)>>>(m&255))>>0]|0;break}default:{j=0;k=0;l=0;m=0}}m=m&255;x=l&255;y=k&255;j=j&255;l=(((_(i-m|0,s)|0)>>>0)/255|0)+m|0;k=(((_(n-x|0,s)|0)>>>0)/255|0)+x|0;i=(((_(o-y|0,s)|0)>>>0)/255|0)+y|0;j=j+s-(((_(j,s)|0)>>>0)/255|0)|0;switch(t|0){case 1:{x=c[w+28>>2]|0;y=c[w+32>>2]|0;a[h>>0]=k>>>(x>>>8&255)<<(y>>>8&255)|l>>>(x&255)<<(y&255)|i>>>(x>>>16&255)<<(y>>>16&255)|j>>>(x>>>24)<<(y>>>24);break}case 2:{x=c[w+28>>2]|0;y=c[w+32>>2]|0;b[h>>1]=k>>>(x>>>8&255)<<(y>>>8&255)|l>>>(x&255)<<(y&255)|i>>>(x>>>16&255)<<(y>>>16&255)|j>>>(x>>>24)<<(y>>>24);break}case 3:{a[h+((d[w+32>>0]|0)>>>3&255)>>0]=l;a[h+((d[w+33>>0]|0)>>>3&255)>>0]=k;a[h+((d[w+34>>0]|0)>>>3&255)>>0]=i;break}case 4:{x=c[w+28>>2]|0;y=c[w+32>>2]|0;c[h>>2]=k>>>(x>>>8&255)<<(y>>>8&255)|l>>>(x&255)<<(y&255)|i>>>(x>>>16&255)<<(y>>>16&255)|j>>>(x>>>24)<<(y>>>24);break}default:{}}h=h+t|0;f=f+1|0;i=37;continue}else if((i|0)==37){o=d[f>>0]|0;i=d[r+(o<<2)>>0]|0;n=d[r+(o<<2)+1>>0]|0;o=d[r+(o<<2)+2>>0]|0;switch(t|0){case 1:{y=d[h>>0]|0;m=c[w+32>>2]|0;x=c[w+28>>2]|0;j=a[(c[124356+(x>>>24<<2)>>2]|0)+((c[w+24>>2]&y)>>>(m>>>24))>>0]|0;k=a[(c[124356+((x>>>16&255)<<2)>>2]|0)+((c[w+20>>2]&y)>>>(m>>>16&255))>>0]|0;l=a[(c[124356+((x>>>8&255)<<2)>>2]|0)+((c[w+16>>2]&y)>>>(m>>>8&255))>>0]|0;m=a[(c[124356+((x&255)<<2)>>2]|0)+((y&c[w+12>>2])>>>(m&255))>>0]|0;break}case 2:{y=e[h>>1]|0;m=c[w+32>>2]|0;x=c[w+28>>2]|0;j=a[(c[124356+(x>>>24<<2)>>2]|0)+((c[w+24>>2]&y)>>>(m>>>24))>>0]|0;k=a[(c[124356+((x>>>16&255)<<2)>>2]|0)+((c[w+20>>2]&y)>>>(m>>>16&255))>>0]|0;l=a[(c[124356+((x>>>8&255)<<2)>>2]|0)+((c[w+16>>2]&y)>>>(m>>>8&255))>>0]|0;m=a[(c[124356+((x&255)<<2)>>2]|0)+((y&c[w+12>>2])>>>(m&255))>>0]|0;break}case 3:{m=c[w+32>>2]|0;j=-1;k=a[h+(m>>>19&31)>>0]|0;l=a[h+(m>>>11&31)>>0]|0;m=a[h+(m>>>3&31)>>0]|0;break}case 4:{y=c[h>>2]|0;m=c[w+32>>2]|0;x=c[w+28>>2]|0;j=a[(c[124356+(x>>>24<<2)>>2]|0)+((c[w+24>>2]&y)>>>(m>>>24))>>0]|0;k=a[(c[124356+((x>>>16&255)<<2)>>2]|0)+((c[w+20>>2]&y)>>>(m>>>16&255))>>0]|0;l=a[(c[124356+((x>>>8&255)<<2)>>2]|0)+((c[w+16>>2]&y)>>>(m>>>8&255))>>0]|0;m=a[(c[124356+((x&255)<<2)>>2]|0)+((c[w+12>>2]&y)>>>(m&255))>>0]|0;break}default:{j=0;k=0;l=0;m=0}}m=m&255;x=l&255;y=k&255;j=j&255;l=(((_(i-m|0,s)|0)>>>0)/255|0)+m|0;k=(((_(n-x|0,s)|0)>>>0)/255|0)+x|0;i=(((_(o-y|0,s)|0)>>>0)/255|0)+y|0;j=j+s-(((_(j,s)|0)>>>0)/255|0)|0;switch(t|0){case 1:{x=c[w+28>>2]|0;y=c[w+32>>2]|0;a[h>>0]=k>>>(x>>>8&255)<<(y>>>8&255)|l>>>(x&255)<<(y&255)|i>>>(x>>>16&255)<<(y>>>16&255)|j>>>(x>>>24)<<(y>>>24);break}case 2:{x=c[w+28>>2]|0;y=c[w+32>>2]|0;b[h>>1]=k>>>(x>>>8&255)<<(y>>>8&255)|l>>>(x&255)<<(y&255)|i>>>(x>>>16&255)<<(y>>>16&255)|j>>>(x>>>24)<<(y>>>24);break}case 3:{a[h+((d[w+32>>0]|0)>>>3&255)>>0]=l;a[h+((d[w+33>>0]|0)>>>3&255)>>0]=k;a[h+((d[w+34>>0]|0)>>>3&255)>>0]=i;break}case 4:{x=c[w+28>>2]|0;y=c[w+32>>2]|0;c[h>>2]=k>>>(x>>>8&255)<<(y>>>8&255)|l>>>(x&255)<<(y&255)|i>>>(x>>>16&255)<<(y>>>16&255)|j>>>(x>>>24)<<(y>>>24);break}default:{}}f=f+1|0;h=h+t|0;if((p|0)>1){p=p+-1|0;i=4;continue}else break}if(!g){i=50;break}else{h=h+v|0;f=f+u|0}}if((i|0)!=48)if((i|0)==50)return}function p9a(f){f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;q=c[f+24>>2]|0;g=c[f+28>>2]|0;v=c[f+16>>2]|0;w=c[f+36>>2]|0;x=c[f+44>>2]|0;r=c[(c[(c[f+40>>2]|0)+4>>2]|0)+4>>2]|0;s=c[f+56>>2]|0;t=d[f+63>>0]|0;u=d[x+9>>0]|0;if(!g)return;h=c[f+20>>2]|0;o=c[f>>2]|0;a:while(1){g=g+-1|0;switch(q&7|0){case 0:{p=(q+7|0)/8|0;f=4;break}case 7:{p=(q+7|0)/8|0;f=16;break}case 6:{p=(q+7|0)/8|0;f=28;break}case 5:{p=(q+7|0)/8|0;f=40;break}case 4:{p=(q+7|0)/8|0;f=52;break}case 3:{p=(q+7|0)/8|0;f=64;break}case 2:{p=(q+7|0)/8|0;f=76;break}case 1:{p=(q+7|0)/8|0;f=88;break}default:{f=100;break a}}while(1)if((f|0)==4){f=d[o>>0]|0;b:do if((f|0)!=(s|0)){l=d[r+(f<<2)>>0]|0;m=d[r+(f<<2)+1>>0]|0;n=d[r+(f<<2)+2>>0]|0;switch(u|0){case 1:{y=d[h>>0]|0;k=c[x+32>>2]|0;z=c[x+28>>2]|0;f=a[(c[124356+(z>>>24<<2)>>2]|0)+((c[x+24>>2]&y)>>>(k>>>24))>>0]|0;i=a[(c[124356+((z>>>16&255)<<2)>>2]|0)+((c[x+20>>2]&y)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((z>>>8&255)<<2)>>2]|0)+((c[x+16>>2]&y)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((z&255)<<2)>>2]|0)+((y&c[x+12>>2])>>>(k&255))>>0]|0;break}case 2:{z=e[h>>1]|0;k=c[x+32>>2]|0;y=c[x+28>>2]|0;f=a[(c[124356+(y>>>24<<2)>>2]|0)+((c[x+24>>2]&z)>>>(k>>>24))>>0]|0;i=a[(c[124356+((y>>>16&255)<<2)>>2]|0)+((c[x+20>>2]&z)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((y>>>8&255)<<2)>>2]|0)+((c[x+16>>2]&z)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((y&255)<<2)>>2]|0)+((z&c[x+12>>2])>>>(k&255))>>0]|0;break}case 3:{k=c[x+32>>2]|0;f=-1;i=a[h+(k>>>19&31)>>0]|0;j=a[h+(k>>>11&31)>>0]|0;k=a[h+(k>>>3&31)>>0]|0;break}case 4:{z=c[h>>2]|0;k=c[x+32>>2]|0;y=c[x+28>>2]|0;f=a[(c[124356+(y>>>24<<2)>>2]|0)+((c[x+24>>2]&z)>>>(k>>>24))>>0]|0;i=a[(c[124356+((y>>>16&255)<<2)>>2]|0)+((c[x+20>>2]&z)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((y>>>8&255)<<2)>>2]|0)+((c[x+16>>2]&z)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((y&255)<<2)>>2]|0)+((c[x+12>>2]&z)>>>(k&255))>>0]|0;break}default:{f=0;i=0;j=0;k=0}}k=k&255;j=j&255;z=i&255;i=f&255;k=(((_(l-k|0,t)|0)>>>0)/255|0)+k|0;j=(((_(m-j|0,t)|0)>>>0)/255|0)+j|0;f=(((_(n-z|0,t)|0)>>>0)/255|0)+z|0;i=i+t-(((_(i,t)|0)>>>0)/255|0)|0;switch(u|0){case 1:{y=c[x+28>>2]|0;z=c[x+32>>2]|0;a[h>>0]=j>>>(y>>>8&255)<<(z>>>8&255)|k>>>(y&255)<<(z&255)|f>>>(y>>>16&255)<<(z>>>16&255)|i>>>(y>>>24)<<(z>>>24);break b}case 2:{y=c[x+28>>2]|0;z=c[x+32>>2]|0;b[h>>1]=j>>>(y>>>8&255)<<(z>>>8&255)|k>>>(y&255)<<(z&255)|f>>>(y>>>16&255)<<(z>>>16&255)|i>>>(y>>>24)<<(z>>>24);break b}case 3:{a[h+((d[x+32>>0]|0)>>>3&255)>>0]=k;a[h+((d[x+33>>0]|0)>>>3&255)>>0]=j;a[h+((d[x+34>>0]|0)>>>3&255)>>0]=f;break b}case 4:{y=c[x+28>>2]|0;z=c[x+32>>2]|0;c[h>>2]=j>>>(y>>>8&255)<<(z>>>8&255)|k>>>(y&255)<<(z&255)|f>>>(y>>>16&255)<<(z>>>16&255)|i>>>(y>>>24)<<(z>>>24);break b}default:break b}}while(0);h=h+u|0;o=o+1|0;f=16;continue}else if((f|0)==16){f=d[o>>0]|0;c:do if((f|0)!=(s|0)){l=d[r+(f<<2)>>0]|0;m=d[r+(f<<2)+1>>0]|0;n=d[r+(f<<2)+2>>0]|0;switch(u|0){case 1:{z=d[h>>0]|0;k=c[x+32>>2]|0;y=c[x+28>>2]|0;f=a[(c[124356+(y>>>24<<2)>>2]|0)+((c[x+24>>2]&z)>>>(k>>>24))>>0]|0;i=a[(c[124356+((y>>>16&255)<<2)>>2]|0)+((c[x+20>>2]&z)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((y>>>8&255)<<2)>>2]|0)+((c[x+16>>2]&z)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((y&255)<<2)>>2]|0)+((z&c[x+12>>2])>>>(k&255))>>0]|0;break}case 2:{z=e[h>>1]|0;k=c[x+32>>2]|0;y=c[x+28>>2]|0;f=a[(c[124356+(y>>>24<<2)>>2]|0)+((c[x+24>>2]&z)>>>(k>>>24))>>0]|0;i=a[(c[124356+((y>>>16&255)<<2)>>2]|0)+((c[x+20>>2]&z)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((y>>>8&255)<<2)>>2]|0)+((c[x+16>>2]&z)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((y&255)<<2)>>2]|0)+((z&c[x+12>>2])>>>(k&255))>>0]|0;break}case 3:{k=c[x+32>>2]|0;f=-1;i=a[h+(k>>>19&31)>>0]|0;j=a[h+(k>>>11&31)>>0]|0;k=a[h+(k>>>3&31)>>0]|0;break}case 4:{z=c[h>>2]|0;k=c[x+32>>2]|0;y=c[x+28>>2]|0;f=a[(c[124356+(y>>>24<<2)>>2]|0)+((c[x+24>>2]&z)>>>(k>>>24))>>0]|0;i=a[(c[124356+((y>>>16&255)<<2)>>2]|0)+((c[x+20>>2]&z)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((y>>>8&255)<<2)>>2]|0)+((c[x+16>>2]&z)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((y&255)<<2)>>2]|0)+((c[x+12>>2]&z)>>>(k&255))>>0]|0;break}default:{f=0;i=0;j=0;k=0}}k=k&255;j=j&255;z=i&255;i=f&255;k=(((_(l-k|0,t)|0)>>>0)/255|0)+k|0;j=(((_(m-j|0,t)|0)>>>0)/255|0)+j|0;f=(((_(n-z|0,t)|0)>>>0)/255|0)+z|0;i=i+t-(((_(i,t)|0)>>>0)/255|0)|0;switch(u|0){case 1:{y=c[x+28>>2]|0;z=c[x+32>>2]|0;a[h>>0]=j>>>(y>>>8&255)<<(z>>>8&255)|k>>>(y&255)<<(z&255)|f>>>(y>>>16&255)<<(z>>>16&255)|i>>>(y>>>24)<<(z>>>24);break c}case 2:{y=c[x+28>>2]|0;z=c[x+32>>2]|0;b[h>>1]=j>>>(y>>>8&255)<<(z>>>8&255)|k>>>(y&255)<<(z&255)|f>>>(y>>>16&255)<<(z>>>16&255)|i>>>(y>>>24)<<(z>>>24);break c}case 3:{a[h+((d[x+32>>0]|0)>>>3&255)>>0]=k;a[h+((d[x+33>>0]|0)>>>3&255)>>0]=j;a[h+((d[x+34>>0]|0)>>>3&255)>>0]=f;break c}case 4:{y=c[x+28>>2]|0;z=c[x+32>>2]|0;c[h>>2]=j>>>(y>>>8&255)<<(z>>>8&255)|k>>>(y&255)<<(z&255)|f>>>(y>>>16&255)<<(z>>>16&255)|i>>>(y>>>24)<<(z>>>24);break c}default:break c}}while(0);h=h+u|0;o=o+1|0;f=28;continue}else if((f|0)==28){f=d[o>>0]|0;d:do if((f|0)!=(s|0)){l=d[r+(f<<2)>>0]|0;m=d[r+(f<<2)+1>>0]|0;n=d[r+(f<<2)+2>>0]|0;switch(u|0){case 1:{z=d[h>>0]|0;k=c[x+32>>2]|0;y=c[x+28>>2]|0;f=a[(c[124356+(y>>>24<<2)>>2]|0)+((c[x+24>>2]&z)>>>(k>>>24))>>0]|0;i=a[(c[124356+((y>>>16&255)<<2)>>2]|0)+((c[x+20>>2]&z)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((y>>>8&255)<<2)>>2]|0)+((c[x+16>>2]&z)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((y&255)<<2)>>2]|0)+((z&c[x+12>>2])>>>(k&255))>>0]|0;break}case 2:{z=e[h>>1]|0;k=c[x+32>>2]|0;y=c[x+28>>2]|0;f=a[(c[124356+(y>>>24<<2)>>2]|0)+((c[x+24>>2]&z)>>>(k>>>24))>>0]|0;i=a[(c[124356+((y>>>16&255)<<2)>>2]|0)+((c[x+20>>2]&z)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((y>>>8&255)<<2)>>2]|0)+((c[x+16>>2]&z)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((y&255)<<2)>>2]|0)+((z&c[x+12>>2])>>>(k&255))>>0]|0;break}case 3:{k=c[x+32>>2]|0;f=-1;i=a[h+(k>>>19&31)>>0]|0;j=a[h+(k>>>11&31)>>0]|0;k=a[h+(k>>>3&31)>>0]|0;break}case 4:{z=c[h>>2]|0;k=c[x+32>>2]|0;y=c[x+28>>2]|0;f=a[(c[124356+(y>>>24<<2)>>2]|0)+((c[x+24>>2]&z)>>>(k>>>24))>>0]|0;i=a[(c[124356+((y>>>16&255)<<2)>>2]|0)+((c[x+20>>2]&z)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((y>>>8&255)<<2)>>2]|0)+((c[x+16>>2]&z)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((y&255)<<2)>>2]|0)+((c[x+12>>2]&z)>>>(k&255))>>0]|0;break}default:{f=0;i=0;j=0;k=0}}k=k&255;j=j&255;z=i&255;i=f&255;k=(((_(l-k|0,t)|0)>>>0)/255|0)+k|0;j=(((_(m-j|0,t)|0)>>>0)/255|0)+j|0;f=(((_(n-z|0,t)|0)>>>0)/255|0)+z|0;i=i+t-(((_(i,t)|0)>>>0)/255|0)|0;switch(u|0){case 1:{y=c[x+28>>2]|0;z=c[x+32>>2]|0;a[h>>0]=j>>>(y>>>8&255)<<(z>>>8&255)|k>>>(y&255)<<(z&255)|f>>>(y>>>16&255)<<(z>>>16&255)|i>>>(y>>>24)<<(z>>>24);break d}case 2:{y=c[x+28>>2]|0;z=c[x+32>>2]|0;b[h>>1]=j>>>(y>>>8&255)<<(z>>>8&255)|k>>>(y&255)<<(z&255)|f>>>(y>>>16&255)<<(z>>>16&255)|i>>>(y>>>24)<<(z>>>24);break d}case 3:{a[h+((d[x+32>>0]|0)>>>3&255)>>0]=k;a[h+((d[x+33>>0]|0)>>>3&255)>>0]=j;a[h+((d[x+34>>0]|0)>>>3&255)>>0]=f;break d}case 4:{y=c[x+28>>2]|0;z=c[x+32>>2]|0;c[h>>2]=j>>>(y>>>8&255)<<(z>>>8&255)|k>>>(y&255)<<(z&255)|f>>>(y>>>16&255)<<(z>>>16&255)|i>>>(y>>>24)<<(z>>>24);break d}default:break d}}while(0);h=h+u|0;o=o+1|0;f=40;continue}else if((f|0)==40){f=d[o>>0]|0;e:do if((f|0)!=(s|0)){l=d[r+(f<<2)>>0]|0;m=d[r+(f<<2)+1>>0]|0;n=d[r+(f<<2)+2>>0]|0;switch(u|0){case 1:{z=d[h>>0]|0;k=c[x+32>>2]|0;y=c[x+28>>2]|0;f=a[(c[124356+(y>>>24<<2)>>2]|0)+((c[x+24>>2]&z)>>>(k>>>24))>>0]|0;i=a[(c[124356+((y>>>16&255)<<2)>>2]|0)+((c[x+20>>2]&z)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((y>>>8&255)<<2)>>2]|0)+((c[x+16>>2]&z)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((y&255)<<2)>>2]|0)+((z&c[x+12>>2])>>>(k&255))>>0]|0;break}case 2:{z=e[h>>1]|0;k=c[x+32>>2]|0;y=c[x+28>>2]|0;f=a[(c[124356+(y>>>24<<2)>>2]|0)+((c[x+24>>2]&z)>>>(k>>>24))>>0]|0;i=a[(c[124356+((y>>>16&255)<<2)>>2]|0)+((c[x+20>>2]&z)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((y>>>8&255)<<2)>>2]|0)+((c[x+16>>2]&z)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((y&255)<<2)>>2]|0)+((z&c[x+12>>2])>>>(k&255))>>0]|0;break}case 3:{k=c[x+32>>2]|0;f=-1;i=a[h+(k>>>19&31)>>0]|0;j=a[h+(k>>>11&31)>>0]|0;k=a[h+(k>>>3&31)>>0]|0;break}case 4:{z=c[h>>2]|0;k=c[x+32>>2]|0;y=c[x+28>>2]|0;f=a[(c[124356+(y>>>24<<2)>>2]|0)+((c[x+24>>2]&z)>>>(k>>>24))>>0]|0;i=a[(c[124356+((y>>>16&255)<<2)>>2]|0)+((c[x+20>>2]&z)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((y>>>8&255)<<2)>>2]|0)+((c[x+16>>2]&z)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((y&255)<<2)>>2]|0)+((c[x+12>>2]&z)>>>(k&255))>>0]|0;break}default:{f=0;i=0;j=0;k=0}}k=k&255;j=j&255;z=i&255;i=f&255;k=(((_(l-k|0,t)|0)>>>0)/255|0)+k|0;j=(((_(m-j|0,t)|0)>>>0)/255|0)+j|0;f=(((_(n-z|0,t)|0)>>>0)/255|0)+z|0;i=i+t-(((_(i,t)|0)>>>0)/255|0)|0;switch(u|0){case 1:{y=c[x+28>>2]|0;z=c[x+32>>2]|0;a[h>>0]=j>>>(y>>>8&255)<<(z>>>8&255)|k>>>(y&255)<<(z&255)|f>>>(y>>>16&255)<<(z>>>16&255)|i>>>(y>>>24)<<(z>>>24);break e}case 2:{y=c[x+28>>2]|0;z=c[x+32>>2]|0;b[h>>1]=j>>>(y>>>8&255)<<(z>>>8&255)|k>>>(y&255)<<(z&255)|f>>>(y>>>16&255)<<(z>>>16&255)|i>>>(y>>>24)<<(z>>>24);break e}case 3:{a[h+((d[x+32>>0]|0)>>>3&255)>>0]=k;a[h+((d[x+33>>0]|0)>>>3&255)>>0]=j;a[h+((d[x+34>>0]|0)>>>3&255)>>0]=f;break e}case 4:{y=c[x+28>>2]|0;z=c[x+32>>2]|0;c[h>>2]=j>>>(y>>>8&255)<<(z>>>8&255)|k>>>(y&255)<<(z&255)|f>>>(y>>>16&255)<<(z>>>16&255)|i>>>(y>>>24)<<(z>>>24);break e}default:break e}}while(0);h=h+u|0;o=o+1|0;f=52;continue}else if((f|0)==52){f=d[o>>0]|0;f:do if((f|0)!=(s|0)){l=d[r+(f<<2)>>0]|0;m=d[r+(f<<2)+1>>0]|0;n=d[r+(f<<2)+2>>0]|0;switch(u|0){case 1:{z=d[h>>0]|0;k=c[x+32>>2]|0;y=c[x+28>>2]|0;f=a[(c[124356+(y>>>24<<2)>>2]|0)+((c[x+24>>2]&z)>>>(k>>>24))>>0]|0;i=a[(c[124356+((y>>>16&255)<<2)>>2]|0)+((c[x+20>>2]&z)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((y>>>8&255)<<2)>>2]|0)+((c[x+16>>2]&z)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((y&255)<<2)>>2]|0)+((z&c[x+12>>2])>>>(k&255))>>0]|0;break}case 2:{z=e[h>>1]|0;k=c[x+32>>2]|0;y=c[x+28>>2]|0;f=a[(c[124356+(y>>>24<<2)>>2]|0)+((c[x+24>>2]&z)>>>(k>>>24))>>0]|0;i=a[(c[124356+((y>>>16&255)<<2)>>2]|0)+((c[x+20>>2]&z)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((y>>>8&255)<<2)>>2]|0)+((c[x+16>>2]&z)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((y&255)<<2)>>2]|0)+((z&c[x+12>>2])>>>(k&255))>>0]|0;break}case 3:{k=c[x+32>>2]|0;f=-1;i=a[h+(k>>>19&31)>>0]|0;j=a[h+(k>>>11&31)>>0]|0;k=a[h+(k>>>3&31)>>0]|0;break}case 4:{z=c[h>>2]|0;k=c[x+32>>2]|0;y=c[x+28>>2]|0;f=a[(c[124356+(y>>>24<<2)>>2]|0)+((c[x+24>>2]&z)>>>(k>>>24))>>0]|0;i=a[(c[124356+((y>>>16&255)<<2)>>2]|0)+((c[x+20>>2]&z)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((y>>>8&255)<<2)>>2]|0)+((c[x+16>>2]&z)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((y&255)<<2)>>2]|0)+((c[x+12>>2]&z)>>>(k&255))>>0]|0;break}default:{f=0;i=0;j=0;k=0}}k=k&255;j=j&255;z=i&255;i=f&255;k=(((_(l-k|0,t)|0)>>>0)/255|0)+k|0;j=(((_(m-j|0,t)|0)>>>0)/255|0)+j|0;f=(((_(n-z|0,t)|0)>>>0)/255|0)+z|0;i=i+t-(((_(i,t)|0)>>>0)/255|0)|0;switch(u|0){case 1:{y=c[x+28>>2]|0;z=c[x+32>>2]|0;a[h>>0]=j>>>(y>>>8&255)<<(z>>>8&255)|k>>>(y&255)<<(z&255)|f>>>(y>>>16&255)<<(z>>>16&255)|i>>>(y>>>24)<<(z>>>24);break f}case 2:{y=c[x+28>>2]|0;z=c[x+32>>2]|0;b[h>>1]=j>>>(y>>>8&255)<<(z>>>8&255)|k>>>(y&255)<<(z&255)|f>>>(y>>>16&255)<<(z>>>16&255)|i>>>(y>>>24)<<(z>>>24);break f}case 3:{a[h+((d[x+32>>0]|0)>>>3&255)>>0]=k;a[h+((d[x+33>>0]|0)>>>3&255)>>0]=j;a[h+((d[x+34>>0]|0)>>>3&255)>>0]=f;break f}case 4:{y=c[x+28>>2]|0;z=c[x+32>>2]|0;c[h>>2]=j>>>(y>>>8&255)<<(z>>>8&255)|k>>>(y&255)<<(z&255)|f>>>(y>>>16&255)<<(z>>>16&255)|i>>>(y>>>24)<<(z>>>24);break f}default:break f}}while(0);h=h+u|0;o=o+1|0;f=64;continue}else if((f|0)==64){f=d[o>>0]|0;g:do if((f|0)!=(s|0)){l=d[r+(f<<2)>>0]|0;m=d[r+(f<<2)+1>>0]|0;n=d[r+(f<<2)+2>>0]|0;switch(u|0){case 1:{z=d[h>>0]|0;k=c[x+32>>2]|0;y=c[x+28>>2]|0;f=a[(c[124356+(y>>>24<<2)>>2]|0)+((c[x+24>>2]&z)>>>(k>>>24))>>0]|0;i=a[(c[124356+((y>>>16&255)<<2)>>2]|0)+((c[x+20>>2]&z)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((y>>>8&255)<<2)>>2]|0)+((c[x+16>>2]&z)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((y&255)<<2)>>2]|0)+((z&c[x+12>>2])>>>(k&255))>>0]|0;break}case 2:{z=e[h>>1]|0;k=c[x+32>>2]|0;y=c[x+28>>2]|0;f=a[(c[124356+(y>>>24<<2)>>2]|0)+((c[x+24>>2]&z)>>>(k>>>24))>>0]|0;i=a[(c[124356+((y>>>16&255)<<2)>>2]|0)+((c[x+20>>2]&z)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((y>>>8&255)<<2)>>2]|0)+((c[x+16>>2]&z)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((y&255)<<2)>>2]|0)+((z&c[x+12>>2])>>>(k&255))>>0]|0;break}case 3:{k=c[x+32>>2]|0;f=-1;i=a[h+(k>>>19&31)>>0]|0;j=a[h+(k>>>11&31)>>0]|0;k=a[h+(k>>>3&31)>>0]|0;break}case 4:{z=c[h>>2]|0;k=c[x+32>>2]|0;y=c[x+28>>2]|0;f=a[(c[124356+(y>>>24<<2)>>2]|0)+((c[x+24>>2]&z)>>>(k>>>24))>>0]|0;i=a[(c[124356+((y>>>16&255)<<2)>>2]|0)+((c[x+20>>2]&z)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((y>>>8&255)<<2)>>2]|0)+((c[x+16>>2]&z)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((y&255)<<2)>>2]|0)+((c[x+12>>2]&z)>>>(k&255))>>0]|0;break}default:{f=0;i=0;j=0;k=0}}k=k&255;j=j&255;z=i&255;i=f&255;k=(((_(l-k|0,t)|0)>>>0)/255|0)+k|0;j=(((_(m-j|0,t)|0)>>>0)/255|0)+j|0;f=(((_(n-z|0,t)|0)>>>0)/255|0)+z|0;i=i+t-(((_(i,t)|0)>>>0)/255|0)|0;switch(u|0){case 1:{y=c[x+28>>2]|0;z=c[x+32>>2]|0;a[h>>0]=j>>>(y>>>8&255)<<(z>>>8&255)|k>>>(y&255)<<(z&255)|f>>>(y>>>16&255)<<(z>>>16&255)|i>>>(y>>>24)<<(z>>>24);break g}case 2:{y=c[x+28>>2]|0;z=c[x+32>>2]|0;b[h>>1]=j>>>(y>>>8&255)<<(z>>>8&255)|k>>>(y&255)<<(z&255)|f>>>(y>>>16&255)<<(z>>>16&255)|i>>>(y>>>24)<<(z>>>24);break g}case 3:{a[h+((d[x+32>>0]|0)>>>3&255)>>0]=k;a[h+((d[x+33>>0]|0)>>>3&255)>>0]=j;a[h+((d[x+34>>0]|0)>>>3&255)>>0]=f;break g}case 4:{y=c[x+28>>2]|0;z=c[x+32>>2]|0;c[h>>2]=j>>>(y>>>8&255)<<(z>>>8&255)|k>>>(y&255)<<(z&255)|f>>>(y>>>16&255)<<(z>>>16&255)|i>>>(y>>>24)<<(z>>>24);break g}default:break g}}while(0);h=h+u|0;o=o+1|0;f=76;continue}else if((f|0)==76){f=d[o>>0]|0;h:do if((f|0)!=(s|0)){l=d[r+(f<<2)>>0]|0;m=d[r+(f<<2)+1>>0]|0;n=d[r+(f<<2)+2>>0]|0;switch(u|0){case 1:{z=d[h>>0]|0;k=c[x+32>>2]|0;y=c[x+28>>2]|0;f=a[(c[124356+(y>>>24<<2)>>2]|0)+((c[x+24>>2]&z)>>>(k>>>24))>>0]|0;i=a[(c[124356+((y>>>16&255)<<2)>>2]|0)+((c[x+20>>2]&z)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((y>>>8&255)<<2)>>2]|0)+((c[x+16>>2]&z)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((y&255)<<2)>>2]|0)+((z&c[x+12>>2])>>>(k&255))>>0]|0;break}case 2:{z=e[h>>1]|0;k=c[x+32>>2]|0;y=c[x+28>>2]|0;f=a[(c[124356+(y>>>24<<2)>>2]|0)+((c[x+24>>2]&z)>>>(k>>>24))>>0]|0;i=a[(c[124356+((y>>>16&255)<<2)>>2]|0)+((c[x+20>>2]&z)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((y>>>8&255)<<2)>>2]|0)+((c[x+16>>2]&z)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((y&255)<<2)>>2]|0)+((z&c[x+12>>2])>>>(k&255))>>0]|0;break}case 3:{k=c[x+32>>2]|0;f=-1;i=a[h+(k>>>19&31)>>0]|0;j=a[h+(k>>>11&31)>>0]|0;k=a[h+(k>>>3&31)>>0]|0;break}case 4:{z=c[h>>2]|0;k=c[x+32>>2]|0;y=c[x+28>>2]|0;f=a[(c[124356+(y>>>24<<2)>>2]|0)+((c[x+24>>2]&z)>>>(k>>>24))>>0]|0;i=a[(c[124356+((y>>>16&255)<<2)>>2]|0)+((c[x+20>>2]&z)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((y>>>8&255)<<2)>>2]|0)+((c[x+16>>2]&z)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((y&255)<<2)>>2]|0)+((c[x+12>>2]&z)>>>(k&255))>>0]|0;break}default:{f=0;i=0;j=0;k=0}}k=k&255;j=j&255;z=i&255;i=f&255;k=(((_(l-k|0,t)|0)>>>0)/255|0)+k|0;j=(((_(m-j|0,t)|0)>>>0)/255|0)+j|0;f=(((_(n-z|0,t)|0)>>>0)/255|0)+z|0;i=i+t-(((_(i,t)|0)>>>0)/255|0)|0;switch(u|0){case 1:{y=c[x+28>>2]|0;z=c[x+32>>2]|0;a[h>>0]=j>>>(y>>>8&255)<<(z>>>8&255)|k>>>(y&255)<<(z&255)|f>>>(y>>>16&255)<<(z>>>16&255)|i>>>(y>>>24)<<(z>>>24);break h}case 2:{y=c[x+28>>2]|0;z=c[x+32>>2]|0;b[h>>1]=j>>>(y>>>8&255)<<(z>>>8&255)|k>>>(y&255)<<(z&255)|f>>>(y>>>16&255)<<(z>>>16&255)|i>>>(y>>>24)<<(z>>>24);break h}case 3:{a[h+((d[x+32>>0]|0)>>>3&255)>>0]=k;a[h+((d[x+33>>0]|0)>>>3&255)>>0]=j;a[h+((d[x+34>>0]|0)>>>3&255)>>0]=f;break h}case 4:{y=c[x+28>>2]|0;z=c[x+32>>2]|0;c[h>>2]=j>>>(y>>>8&255)<<(z>>>8&255)|k>>>(y&255)<<(z&255)|f>>>(y>>>16&255)<<(z>>>16&255)|i>>>(y>>>24)<<(z>>>24);break h}default:break h}}while(0);h=h+u|0;o=o+1|0;f=88;continue}else if((f|0)==88){f=d[o>>0]|0;i:do if((f|0)!=(s|0)){l=d[r+(f<<2)>>0]|0;m=d[r+(f<<2)+1>>0]|0;n=d[r+(f<<2)+2>>0]|0;switch(u|0){case 1:{z=d[h>>0]|0;k=c[x+32>>2]|0;y=c[x+28>>2]|0;f=a[(c[124356+(y>>>24<<2)>>2]|0)+((c[x+24>>2]&z)>>>(k>>>24))>>0]|0;i=a[(c[124356+((y>>>16&255)<<2)>>2]|0)+((c[x+20>>2]&z)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((y>>>8&255)<<2)>>2]|0)+((c[x+16>>2]&z)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((y&255)<<2)>>2]|0)+((z&c[x+12>>2])>>>(k&255))>>0]|0;break}case 2:{z=e[h>>1]|0;k=c[x+32>>2]|0;y=c[x+28>>2]|0;f=a[(c[124356+(y>>>24<<2)>>2]|0)+((c[x+24>>2]&z)>>>(k>>>24))>>0]|0;i=a[(c[124356+((y>>>16&255)<<2)>>2]|0)+((c[x+20>>2]&z)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((y>>>8&255)<<2)>>2]|0)+((c[x+16>>2]&z)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((y&255)<<2)>>2]|0)+((z&c[x+12>>2])>>>(k&255))>>0]|0;break}case 3:{k=c[x+32>>2]|0;f=-1;i=a[h+(k>>>19&31)>>0]|0;j=a[h+(k>>>11&31)>>0]|0;k=a[h+(k>>>3&31)>>0]|0;break}case 4:{z=c[h>>2]|0;k=c[x+32>>2]|0;y=c[x+28>>2]|0;f=a[(c[124356+(y>>>24<<2)>>2]|0)+((c[x+24>>2]&z)>>>(k>>>24))>>0]|0;i=a[(c[124356+((y>>>16&255)<<2)>>2]|0)+((c[x+20>>2]&z)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((y>>>8&255)<<2)>>2]|0)+((c[x+16>>2]&z)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((y&255)<<2)>>2]|0)+((c[x+12>>2]&z)>>>(k&255))>>0]|0;break}default:{f=0;i=0;j=0;k=0}}k=k&255;j=j&255;z=i&255;i=f&255;k=(((_(l-k|0,t)|0)>>>0)/255|0)+k|0;j=(((_(m-j|0,t)|0)>>>0)/255|0)+j|0;f=(((_(n-z|0,t)|0)>>>0)/255|0)+z|0;i=i+t-(((_(i,t)|0)>>>0)/255|0)|0;switch(u|0){case 1:{y=c[x+28>>2]|0;z=c[x+32>>2]|0;a[h>>0]=j>>>(y>>>8&255)<<(z>>>8&255)|k>>>(y&255)<<(z&255)|f>>>(y>>>16&255)<<(z>>>16&255)|i>>>(y>>>24)<<(z>>>24);break i}case 2:{y=c[x+28>>2]|0;z=c[x+32>>2]|0;b[h>>1]=j>>>(y>>>8&255)<<(z>>>8&255)|k>>>(y&255)<<(z&255)|f>>>(y>>>16&255)<<(z>>>16&255)|i>>>(y>>>24)<<(z>>>24);break i}case 3:{a[h+((d[x+32>>0]|0)>>>3&255)>>0]=k;a[h+((d[x+33>>0]|0)>>>3&255)>>0]=j;a[h+((d[x+34>>0]|0)>>>3&255)>>0]=f;break i}case 4:{y=c[x+28>>2]|0;z=c[x+32>>2]|0;c[h>>2]=j>>>(y>>>8&255)<<(z>>>8&255)|k>>>(y&255)<<(z&255)|f>>>(y>>>16&255)<<(z>>>16&255)|i>>>(y>>>24)<<(z>>>24);break i}default:break i}}while(0);f=o+1|0;h=h+u|0;if((p|0)>1){p=p+-1|0;o=f;f=4;continue}else break}if(!g){f=102;break}else{h=h+w|0;o=f+v|0}}if((f|0)!=100)if((f|0)==102)return}function q9a(b){b=b|0;var e=0,f=0,g=0,h=0;h=c[b+4>>2]|0;b=c[b+52>>2]|0;g=c[(c[b>>2]|0)+4>>2]|0;switch(c[b+68>>2]&-28673|0){case 16:switch(d[g+9>>0]|0){case 2:{if((a[h+9>>0]|0)!=4){h=715;return h|0}if((c[h+24>>2]|0)!=-16777216){h=715;return h|0}if((c[h+16>>2]|0)!=65280){h=715;return h|0}if((c[h+12>>2]|0)==255){if((c[g+12>>2]|0)!=31)e=8}else e=8;if((e|0)==8){if((c[h+20>>2]|0)!=255){h=715;return h|0}if((c[g+20>>2]|0)!=31){h=715;return h|0}}h=c[g+16>>2]|0;h=(h|0)==2016?716:(h|0)==992?714:715;return h|0}case 4:{if((c[h+12>>2]|0)==(c[g+12>>2]|0))if((c[h+16>>2]|0)==(c[g+16>>2]|0))if((c[h+20>>2]|0)==(c[g+20>>2]|0))if((a[h+9>>0]|0)==4)if((c[h+24>>2]|0)==-16777216){h=723;return h|0}h=715;return h|0}case 1:{h=722;return h|0}default:{h=715;return h|0}}case 18:{if(c[h+24>>2]|0){h=0;return h|0}switch(d[g+9>>0]|0){case 2:{if(!(c[b+4>>2]|0)){h=718;return h|0}h=c[g+16>>2]|0;h=(h|0)==2016?719:(h|0)==992?717:718;return h|0}case 4:{b=c[h+12>>2]|0;if((b|0)==(c[g+12>>2]|0)){e=c[h+16>>2]|0;if((e|0)==(c[g+16>>2]|0)){f=c[h+20>>2]|0;if((f|0)==(c[g+20>>2]|0))if((a[h+9>>0]|0)==4)if((e|b|f|0)==16777215){h=725;return h|0}}}h=718;return h|0}case 1:{h=724;return h|0}default:{h=718;return h|0}}}case 274:{if(c[h+24>>2]|0){h=0;return h|0}h=(a[g+9>>0]|0)==1?720:721;return h|0}default:{h=0;return h|0}}return 0}function r9a(a){a=a|0;var d=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=c[a+24>>2]|0;d=c[a+28>>2]|0;j=c[a+16>>2]>>2;k=c[a+36>>2]>>1;if(!d)return;f=c[a+20>>2]|0;g=c[a>>2]|0;a:while(1){d=d+-1|0;switch(i&3|0){case 0:{h=(i+3|0)/4|0;a=4;break}case 3:{h=(i+3|0)/4|0;a=8;break}case 2:{h=(i+3|0)/4|0;a=12;break}case 1:{h=(i+3|0)/4|0;a=16;break}default:{a=20;break a}}while(1)if((a|0)==4){a=c[g>>2]|0;switch(a>>>27|0){case 0:break;case 31:{b[f>>1]=a>>>9&31744|a>>>6&992|a>>>3&31;break}default:{l=e[f>>1]|0;a=((_((a<<10&65011712|a>>>9&31744|a>>>3&31)-((l<<16|l)&65043487)|0,a>>>27)|0)>>>5)+((l<<16|l)&65043487)&65043487;b[f>>1]=a>>>16|a}}f=f+2|0;g=g+4|0;a=8;continue}else if((a|0)==8){a=c[g>>2]|0;switch(a>>>27|0){case 0:break;case 31:{b[f>>1]=a>>>9&31744|a>>>6&992|a>>>3&31;break}default:{l=e[f>>1]|0;l=((_((a<<10&65011712|a>>>9&31744|a>>>3&31)-((l<<16|l)&65043487)|0,a>>>27)|0)>>>5)+((l<<16|l)&65043487)&65043487;b[f>>1]=l>>>16|l}}f=f+2|0;g=g+4|0;a=12;continue}else if((a|0)==12){a=c[g>>2]|0;switch(a>>>27|0){case 0:break;case 31:{b[f>>1]=a>>>9&31744|a>>>6&992|a>>>3&31;break}default:{l=e[f>>1]|0;l=((_((a<<10&65011712|a>>>9&31744|a>>>3&31)-((l<<16|l)&65043487)|0,a>>>27)|0)>>>5)+((l<<16|l)&65043487)&65043487;b[f>>1]=l>>>16|l}}f=f+2|0;g=g+4|0;a=16;continue}else if((a|0)==16){a=c[g>>2]|0;switch(a>>>27|0){case 0:break;case 31:{b[f>>1]=a>>>9&31744|a>>>6&992|a>>>3&31;break}default:{l=e[f>>1]|0;l=((_((a<<10&65011712|a>>>9&31744|a>>>3&31)-((l<<16|l)&65043487)|0,a>>>27)|0)>>>5)+((l<<16|l)&65043487)&65043487;b[f>>1]=l>>>16|l}}g=g+4|0;f=f+2|0;if((h|0)>1){h=h+-1|0;a=4;continue}else break}if(!d){a=22;break}else{f=f+(k<<1)|0;g=g+(j<<2)|0}}if((a|0)!=20)if((a|0)==22)return}function s9a(f){f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;s=c[f+24>>2]|0;g=c[f+28>>2]|0;w=c[f+16>>2]|0;x=c[f+36>>2]|0;y=c[f+40>>2]|0;t=c[f+44>>2]|0;u=d[y+9>>0]|0;v=d[t+9>>0]|0;if(!g)return;h=c[f+20>>2]|0;f=c[f>>2]|0;a:while(1){g=g+-1|0;switch(s&3|0){case 0:{q=(s+3|0)/4|0;r=4;break}case 3:{q=(s+3|0)/4|0;r=21;break}case 2:{q=(s+3|0)/4|0;p=f;r=38;break}case 1:{q=(s+3|0)/4|0;p=f;r=55;break}default:{r=72;break a}}while(1)if((r|0)==4){r=0;switch(u|0){case 1:{r=d[f>>0]|0;l=c[y+32>>2]|0;p=c[y+28>>2]|0;i=(c[124356+(p>>>24<<2)>>2]|0)+((c[y+24>>2]&r)>>>(l>>>24))|0;j=(c[124356+((p>>>16&255)<<2)>>2]|0)+((c[y+20>>2]&r)>>>(l>>>16&255))|0;k=(c[124356+((p>>>8&255)<<2)>>2]|0)+((c[y+16>>2]&r)>>>(l>>>8&255))|0;l=(c[124356+((p&255)<<2)>>2]|0)+((r&c[y+12>>2])>>>(l&255))|0;r=9;break}case 2:{r=e[f>>1]|0;l=c[y+32>>2]|0;p=c[y+28>>2]|0;i=(c[124356+(p>>>24<<2)>>2]|0)+((c[y+24>>2]&r)>>>(l>>>24))|0;j=(c[124356+((p>>>16&255)<<2)>>2]|0)+((c[y+20>>2]&r)>>>(l>>>16&255))|0;k=(c[124356+((p>>>8&255)<<2)>>2]|0)+((c[y+16>>2]&r)>>>(l>>>8&255))|0;l=(c[124356+((p&255)<<2)>>2]|0)+((r&c[y+12>>2])>>>(l&255))|0;r=9;break}case 3:{m=c[y+32>>2]|0;p=255;o=d[f+(m>>>19&31)>>0]|0;n=d[f+(m>>>11&31)>>0]|0;m=d[f+(m>>>3&31)>>0]|0;r=10;break}case 4:{r=c[f>>2]|0;l=c[y+32>>2]|0;p=c[y+28>>2]|0;i=(c[124356+(p>>>24<<2)>>2]|0)+((c[y+24>>2]&r)>>>(l>>>24))|0;j=(c[124356+((p>>>16&255)<<2)>>2]|0)+((c[y+20>>2]&r)>>>(l>>>16&255))|0;k=(c[124356+((p>>>8&255)<<2)>>2]|0)+((c[y+16>>2]&r)>>>(l>>>8&255))|0;l=(c[124356+((p&255)<<2)>>2]|0)+((c[y+12>>2]&r)>>>(l&255))|0;r=9;break}default:{}}if((r|0)==9){r=0;i=a[i>>0]|0;if(i<<24>>24){p=i&255;o=d[j>>0]|0;n=d[k>>0]|0;m=d[l>>0]|0;r=10}}b:do if((r|0)==10){switch(v|0){case 1:{r=d[h>>0]|0;l=c[t+32>>2]|0;z=c[t+28>>2]|0;i=a[(c[124356+(z>>>24<<2)>>2]|0)+((c[t+24>>2]&r)>>>(l>>>24))>>0]|0;j=a[(c[124356+((z>>>16&255)<<2)>>2]|0)+((c[t+20>>2]&r)>>>(l>>>16&255))>>0]|0;k=a[(c[124356+((z>>>8&255)<<2)>>2]|0)+((c[t+16>>2]&r)>>>(l>>>8&255))>>0]|0;l=a[(c[124356+((z&255)<<2)>>2]|0)+((r&c[t+12>>2])>>>(l&255))>>0]|0;break}case 2:{z=e[h>>1]|0;l=c[t+32>>2]|0;r=c[t+28>>2]|0;i=a[(c[124356+(r>>>24<<2)>>2]|0)+((c[t+24>>2]&z)>>>(l>>>24))>>0]|0;j=a[(c[124356+((r>>>16&255)<<2)>>2]|0)+((c[t+20>>2]&z)>>>(l>>>16&255))>>0]|0;k=a[(c[124356+((r>>>8&255)<<2)>>2]|0)+((c[t+16>>2]&z)>>>(l>>>8&255))>>0]|0;l=a[(c[124356+((r&255)<<2)>>2]|0)+((z&c[t+12>>2])>>>(l&255))>>0]|0;break}case 3:{l=c[t+32>>2]|0;i=-1;j=a[h+(l>>>19&31)>>0]|0;k=a[h+(l>>>11&31)>>0]|0;l=a[h+(l>>>3&31)>>0]|0;break}case 4:{z=c[h>>2]|0;l=c[t+32>>2]|0;r=c[t+28>>2]|0;i=a[(c[124356+(r>>>24<<2)>>2]|0)+((c[t+24>>2]&z)>>>(l>>>24))>>0]|0;j=a[(c[124356+((r>>>16&255)<<2)>>2]|0)+((c[t+20>>2]&z)>>>(l>>>16&255))>>0]|0;k=a[(c[124356+((r>>>8&255)<<2)>>2]|0)+((c[t+16>>2]&z)>>>(l>>>8&255))>>0]|0;l=a[(c[124356+((r&255)<<2)>>2]|0)+((c[t+12>>2]&z)>>>(l&255))>>0]|0;break}default:{i=0;j=0;k=0;l=0}}l=l&255;k=k&255;j=j&255;i=i&255;l=(((_(m-l|0,p)|0)>>>0)/255|0)+l|0;k=(((_(n-k|0,p)|0)>>>0)/255|0)+k|0;j=(((_(o-j|0,p)|0)>>>0)/255|0)+j|0;i=i+p-(((_(i,p)|0)>>>0)/255|0)|0;switch(v|0){case 1:{r=c[t+28>>2]|0;z=c[t+32>>2]|0;a[h>>0]=k>>>(r>>>8&255)<<(z>>>8&255)|l>>>(r&255)<<(z&255)|j>>>(r>>>16&255)<<(z>>>16&255)|i>>>(r>>>24)<<(z>>>24);break b}case 2:{r=c[t+28>>2]|0;z=c[t+32>>2]|0;b[h>>1]=k>>>(r>>>8&255)<<(z>>>8&255)|l>>>(r&255)<<(z&255)|j>>>(r>>>16&255)<<(z>>>16&255)|i>>>(r>>>24)<<(z>>>24);break b}case 3:{a[h+((d[t+32>>0]|0)>>>3&255)>>0]=l;a[h+((d[t+33>>0]|0)>>>3&255)>>0]=k;a[h+((d[t+34>>0]|0)>>>3&255)>>0]=j;break b}case 4:{r=c[t+28>>2]|0;z=c[t+32>>2]|0;c[h>>2]=k>>>(r>>>8&255)<<(z>>>8&255)|l>>>(r&255)<<(z&255)|j>>>(r>>>16&255)<<(z>>>16&255)|i>>>(r>>>24)<<(z>>>24);break b}default:break b}}while(0);h=h+v|0;f=f+u|0;r=21;continue}else if((r|0)==21){r=0;switch(u|0){case 1:{r=d[f>>0]|0;l=c[y+32>>2]|0;z=c[y+28>>2]|0;i=(c[124356+(z>>>24<<2)>>2]|0)+((c[y+24>>2]&r)>>>(l>>>24))|0;j=(c[124356+((z>>>16&255)<<2)>>2]|0)+((c[y+20>>2]&r)>>>(l>>>16&255))|0;k=(c[124356+((z>>>8&255)<<2)>>2]|0)+((c[y+16>>2]&r)>>>(l>>>8&255))|0;l=(c[124356+((z&255)<<2)>>2]|0)+((r&c[y+12>>2])>>>(l&255))|0;r=26;break}case 2:{r=e[f>>1]|0;l=c[y+32>>2]|0;z=c[y+28>>2]|0;i=(c[124356+(z>>>24<<2)>>2]|0)+((c[y+24>>2]&r)>>>(l>>>24))|0;j=(c[124356+((z>>>16&255)<<2)>>2]|0)+((c[y+20>>2]&r)>>>(l>>>16&255))|0;k=(c[124356+((z>>>8&255)<<2)>>2]|0)+((c[y+16>>2]&r)>>>(l>>>8&255))|0;l=(c[124356+((z&255)<<2)>>2]|0)+((r&c[y+12>>2])>>>(l&255))|0;r=26;break}case 3:{m=c[y+32>>2]|0;p=255;o=d[f+(m>>>19&31)>>0]|0;n=d[f+(m>>>11&31)>>0]|0;m=d[f+(m>>>3&31)>>0]|0;r=27;break}case 4:{r=c[f>>2]|0;l=c[y+32>>2]|0;z=c[y+28>>2]|0;i=(c[124356+(z>>>24<<2)>>2]|0)+((c[y+24>>2]&r)>>>(l>>>24))|0;j=(c[124356+((z>>>16&255)<<2)>>2]|0)+((c[y+20>>2]&r)>>>(l>>>16&255))|0;k=(c[124356+((z>>>8&255)<<2)>>2]|0)+((c[y+16>>2]&r)>>>(l>>>8&255))|0;l=(c[124356+((z&255)<<2)>>2]|0)+((c[y+12>>2]&r)>>>(l&255))|0;r=26;break}default:{}}if((r|0)==26){r=0;i=a[i>>0]|0;if(i<<24>>24){p=i&255;o=d[j>>0]|0;n=d[k>>0]|0;m=d[l>>0]|0;r=27}}c:do if((r|0)==27){switch(v|0){case 1:{z=d[h>>0]|0;l=c[t+32>>2]|0;r=c[t+28>>2]|0;i=a[(c[124356+(r>>>24<<2)>>2]|0)+((c[t+24>>2]&z)>>>(l>>>24))>>0]|0;j=a[(c[124356+((r>>>16&255)<<2)>>2]|0)+((c[t+20>>2]&z)>>>(l>>>16&255))>>0]|0;k=a[(c[124356+((r>>>8&255)<<2)>>2]|0)+((c[t+16>>2]&z)>>>(l>>>8&255))>>0]|0;l=a[(c[124356+((r&255)<<2)>>2]|0)+((z&c[t+12>>2])>>>(l&255))>>0]|0;break}case 2:{z=e[h>>1]|0;l=c[t+32>>2]|0;r=c[t+28>>2]|0;i=a[(c[124356+(r>>>24<<2)>>2]|0)+((c[t+24>>2]&z)>>>(l>>>24))>>0]|0;j=a[(c[124356+((r>>>16&255)<<2)>>2]|0)+((c[t+20>>2]&z)>>>(l>>>16&255))>>0]|0;k=a[(c[124356+((r>>>8&255)<<2)>>2]|0)+((c[t+16>>2]&z)>>>(l>>>8&255))>>0]|0;l=a[(c[124356+((r&255)<<2)>>2]|0)+((z&c[t+12>>2])>>>(l&255))>>0]|0;break}case 3:{l=c[t+32>>2]|0;i=-1;j=a[h+(l>>>19&31)>>0]|0;k=a[h+(l>>>11&31)>>0]|0;l=a[h+(l>>>3&31)>>0]|0;break}case 4:{z=c[h>>2]|0;l=c[t+32>>2]|0;r=c[t+28>>2]|0;i=a[(c[124356+(r>>>24<<2)>>2]|0)+((c[t+24>>2]&z)>>>(l>>>24))>>0]|0;j=a[(c[124356+((r>>>16&255)<<2)>>2]|0)+((c[t+20>>2]&z)>>>(l>>>16&255))>>0]|0;k=a[(c[124356+((r>>>8&255)<<2)>>2]|0)+((c[t+16>>2]&z)>>>(l>>>8&255))>>0]|0;l=a[(c[124356+((r&255)<<2)>>2]|0)+((c[t+12>>2]&z)>>>(l&255))>>0]|0;break}default:{i=0;j=0;k=0;l=0}}l=l&255;k=k&255;j=j&255;i=i&255;l=(((_(m-l|0,p)|0)>>>0)/255|0)+l|0;k=(((_(n-k|0,p)|0)>>>0)/255|0)+k|0;j=(((_(o-j|0,p)|0)>>>0)/255|0)+j|0;i=i+p-(((_(i,p)|0)>>>0)/255|0)|0;switch(v|0){case 1:{r=c[t+28>>2]|0;z=c[t+32>>2]|0;a[h>>0]=k>>>(r>>>8&255)<<(z>>>8&255)|l>>>(r&255)<<(z&255)|j>>>(r>>>16&255)<<(z>>>16&255)|i>>>(r>>>24)<<(z>>>24);break c}case 2:{r=c[t+28>>2]|0;z=c[t+32>>2]|0;b[h>>1]=k>>>(r>>>8&255)<<(z>>>8&255)|l>>>(r&255)<<(z&255)|j>>>(r>>>16&255)<<(z>>>16&255)|i>>>(r>>>24)<<(z>>>24);break c}case 3:{a[h+((d[t+32>>0]|0)>>>3&255)>>0]=l;a[h+((d[t+33>>0]|0)>>>3&255)>>0]=k;a[h+((d[t+34>>0]|0)>>>3&255)>>0]=j;break c}case 4:{r=c[t+28>>2]|0;z=c[t+32>>2]|0;c[h>>2]=k>>>(r>>>8&255)<<(z>>>8&255)|l>>>(r&255)<<(z&255)|j>>>(r>>>16&255)<<(z>>>16&255)|i>>>(r>>>24)<<(z>>>24);break c}default:break c}}while(0);h=h+v|0;p=f+u|0;r=38;continue}else if((r|0)==38){r=0;switch(u|0){case 1:{r=d[p>>0]|0;k=c[y+32>>2]|0;z=c[y+28>>2]|0;f=(c[124356+(z>>>24<<2)>>2]|0)+((c[y+24>>2]&r)>>>(k>>>24))|0;i=(c[124356+((z>>>16&255)<<2)>>2]|0)+((c[y+20>>2]&r)>>>(k>>>16&255))|0;j=(c[124356+((z>>>8&255)<<2)>>2]|0)+((c[y+16>>2]&r)>>>(k>>>8&255))|0;k=(c[124356+((z&255)<<2)>>2]|0)+((r&c[y+12>>2])>>>(k&255))|0;r=43;break}case 2:{r=e[p>>1]|0;k=c[y+32>>2]|0;z=c[y+28>>2]|0;f=(c[124356+(z>>>24<<2)>>2]|0)+((c[y+24>>2]&r)>>>(k>>>24))|0;i=(c[124356+((z>>>16&255)<<2)>>2]|0)+((c[y+20>>2]&r)>>>(k>>>16&255))|0;j=(c[124356+((z>>>8&255)<<2)>>2]|0)+((c[y+16>>2]&r)>>>(k>>>8&255))|0;k=(c[124356+((z&255)<<2)>>2]|0)+((r&c[y+12>>2])>>>(k&255))|0;r=43;break}case 3:{l=c[y+32>>2]|0;o=255;n=d[p+(l>>>19&31)>>0]|0;m=d[p+(l>>>11&31)>>0]|0;l=d[p+(l>>>3&31)>>0]|0;r=44;break}case 4:{r=c[p>>2]|0;k=c[y+32>>2]|0;z=c[y+28>>2]|0;f=(c[124356+(z>>>24<<2)>>2]|0)+((c[y+24>>2]&r)>>>(k>>>24))|0;i=(c[124356+((z>>>16&255)<<2)>>2]|0)+((c[y+20>>2]&r)>>>(k>>>16&255))|0;j=(c[124356+((z>>>8&255)<<2)>>2]|0)+((c[y+16>>2]&r)>>>(k>>>8&255))|0;k=(c[124356+((z&255)<<2)>>2]|0)+((c[y+12>>2]&r)>>>(k&255))|0;r=43;break}default:{}}if((r|0)==43){r=0;f=a[f>>0]|0;if(f<<24>>24){o=f&255;n=d[i>>0]|0;m=d[j>>0]|0;l=d[k>>0]|0;r=44}}d:do if((r|0)==44){switch(v|0){case 1:{z=d[h>>0]|0;k=c[t+32>>2]|0;r=c[t+28>>2]|0;f=a[(c[124356+(r>>>24<<2)>>2]|0)+((c[t+24>>2]&z)>>>(k>>>24))>>0]|0;i=a[(c[124356+((r>>>16&255)<<2)>>2]|0)+((c[t+20>>2]&z)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((r>>>8&255)<<2)>>2]|0)+((c[t+16>>2]&z)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((r&255)<<2)>>2]|0)+((z&c[t+12>>2])>>>(k&255))>>0]|0;break}case 2:{z=e[h>>1]|0;k=c[t+32>>2]|0;r=c[t+28>>2]|0;f=a[(c[124356+(r>>>24<<2)>>2]|0)+((c[t+24>>2]&z)>>>(k>>>24))>>0]|0;i=a[(c[124356+((r>>>16&255)<<2)>>2]|0)+((c[t+20>>2]&z)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((r>>>8&255)<<2)>>2]|0)+((c[t+16>>2]&z)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((r&255)<<2)>>2]|0)+((z&c[t+12>>2])>>>(k&255))>>0]|0;break}case 3:{k=c[t+32>>2]|0;f=-1;i=a[h+(k>>>19&31)>>0]|0;j=a[h+(k>>>11&31)>>0]|0;k=a[h+(k>>>3&31)>>0]|0;break}case 4:{z=c[h>>2]|0;k=c[t+32>>2]|0;r=c[t+28>>2]|0;f=a[(c[124356+(r>>>24<<2)>>2]|0)+((c[t+24>>2]&z)>>>(k>>>24))>>0]|0;i=a[(c[124356+((r>>>16&255)<<2)>>2]|0)+((c[t+20>>2]&z)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((r>>>8&255)<<2)>>2]|0)+((c[t+16>>2]&z)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((r&255)<<2)>>2]|0)+((c[t+12>>2]&z)>>>(k&255))>>0]|0;break}default:{f=0;i=0;j=0;k=0}}k=k&255;j=j&255;i=i&255;f=f&255;k=(((_(l-k|0,o)|0)>>>0)/255|0)+k|0;j=(((_(m-j|0,o)|0)>>>0)/255|0)+j|0;i=(((_(n-i|0,o)|0)>>>0)/255|0)+i|0;f=f+o-(((_(f,o)|0)>>>0)/255|0)|0;switch(v|0){case 1:{r=c[t+28>>2]|0;z=c[t+32>>2]|0;a[h>>0]=j>>>(r>>>8&255)<<(z>>>8&255)|k>>>(r&255)<<(z&255)|i>>>(r>>>16&255)<<(z>>>16&255)|f>>>(r>>>24)<<(z>>>24);break d}case 2:{r=c[t+28>>2]|0;z=c[t+32>>2]|0;b[h>>1]=j>>>(r>>>8&255)<<(z>>>8&255)|k>>>(r&255)<<(z&255)|i>>>(r>>>16&255)<<(z>>>16&255)|f>>>(r>>>24)<<(z>>>24);break d}case 3:{a[h+((d[t+32>>0]|0)>>>3&255)>>0]=k;a[h+((d[t+33>>0]|0)>>>3&255)>>0]=j;a[h+((d[t+34>>0]|0)>>>3&255)>>0]=i;break d}case 4:{r=c[t+28>>2]|0;z=c[t+32>>2]|0;c[h>>2]=j>>>(r>>>8&255)<<(z>>>8&255)|k>>>(r&255)<<(z&255)|i>>>(r>>>16&255)<<(z>>>16&255)|f>>>(r>>>24)<<(z>>>24);break d}default:break d}}while(0);h=h+v|0;p=p+u|0;r=55;continue}else if((r|0)==55){r=0;switch(u|0){case 1:{r=d[p>>0]|0;k=c[y+32>>2]|0;z=c[y+28>>2]|0;f=(c[124356+(z>>>24<<2)>>2]|0)+((c[y+24>>2]&r)>>>(k>>>24))|0;i=(c[124356+((z>>>16&255)<<2)>>2]|0)+((c[y+20>>2]&r)>>>(k>>>16&255))|0;j=(c[124356+((z>>>8&255)<<2)>>2]|0)+((c[y+16>>2]&r)>>>(k>>>8&255))|0;k=(c[124356+((z&255)<<2)>>2]|0)+((r&c[y+12>>2])>>>(k&255))|0;r=60;break}case 2:{r=e[p>>1]|0;k=c[y+32>>2]|0;z=c[y+28>>2]|0;f=(c[124356+(z>>>24<<2)>>2]|0)+((c[y+24>>2]&r)>>>(k>>>24))|0;i=(c[124356+((z>>>16&255)<<2)>>2]|0)+((c[y+20>>2]&r)>>>(k>>>16&255))|0;j=(c[124356+((z>>>8&255)<<2)>>2]|0)+((c[y+16>>2]&r)>>>(k>>>8&255))|0;k=(c[124356+((z&255)<<2)>>2]|0)+((r&c[y+12>>2])>>>(k&255))|0;r=60;break}case 3:{l=c[y+32>>2]|0;o=255;n=d[p+(l>>>19&31)>>0]|0;m=d[p+(l>>>11&31)>>0]|0;l=d[p+(l>>>3&31)>>0]|0;r=61;break}case 4:{r=c[p>>2]|0;k=c[y+32>>2]|0;z=c[y+28>>2]|0;f=(c[124356+(z>>>24<<2)>>2]|0)+((c[y+24>>2]&r)>>>(k>>>24))|0;i=(c[124356+((z>>>16&255)<<2)>>2]|0)+((c[y+20>>2]&r)>>>(k>>>16&255))|0;j=(c[124356+((z>>>8&255)<<2)>>2]|0)+((c[y+16>>2]&r)>>>(k>>>8&255))|0;k=(c[124356+((z&255)<<2)>>2]|0)+((c[y+12>>2]&r)>>>(k&255))|0;r=60;break}default:{}}if((r|0)==60){r=0;f=a[f>>0]|0;if(f<<24>>24){o=f&255;n=d[i>>0]|0;m=d[j>>0]|0;l=d[k>>0]|0;r=61}}e:do if((r|0)==61){switch(v|0){case 1:{z=d[h>>0]|0;k=c[t+32>>2]|0;r=c[t+28>>2]|0;f=a[(c[124356+(r>>>24<<2)>>2]|0)+((c[t+24>>2]&z)>>>(k>>>24))>>0]|0;i=a[(c[124356+((r>>>16&255)<<2)>>2]|0)+((c[t+20>>2]&z)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((r>>>8&255)<<2)>>2]|0)+((c[t+16>>2]&z)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((r&255)<<2)>>2]|0)+((z&c[t+12>>2])>>>(k&255))>>0]|0;break}case 2:{z=e[h>>1]|0;k=c[t+32>>2]|0;r=c[t+28>>2]|0;f=a[(c[124356+(r>>>24<<2)>>2]|0)+((c[t+24>>2]&z)>>>(k>>>24))>>0]|0;i=a[(c[124356+((r>>>16&255)<<2)>>2]|0)+((c[t+20>>2]&z)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((r>>>8&255)<<2)>>2]|0)+((c[t+16>>2]&z)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((r&255)<<2)>>2]|0)+((z&c[t+12>>2])>>>(k&255))>>0]|0;break}case 3:{k=c[t+32>>2]|0;f=-1;i=a[h+(k>>>19&31)>>0]|0;j=a[h+(k>>>11&31)>>0]|0;k=a[h+(k>>>3&31)>>0]|0;break}case 4:{z=c[h>>2]|0;k=c[t+32>>2]|0;r=c[t+28>>2]|0;f=a[(c[124356+(r>>>24<<2)>>2]|0)+((c[t+24>>2]&z)>>>(k>>>24))>>0]|0;i=a[(c[124356+((r>>>16&255)<<2)>>2]|0)+((c[t+20>>2]&z)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((r>>>8&255)<<2)>>2]|0)+((c[t+16>>2]&z)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((r&255)<<2)>>2]|0)+((c[t+12>>2]&z)>>>(k&255))>>0]|0;break}default:{f=0;i=0;j=0;k=0}}k=k&255;j=j&255;i=i&255;f=f&255;k=(((_(l-k|0,o)|0)>>>0)/255|0)+k|0;j=(((_(m-j|0,o)|0)>>>0)/255|0)+j|0;i=(((_(n-i|0,o)|0)>>>0)/255|0)+i|0;f=f+o-(((_(f,o)|0)>>>0)/255|0)|0;switch(v|0){case 1:{r=c[t+28>>2]|0;z=c[t+32>>2]|0;a[h>>0]=j>>>(r>>>8&255)<<(z>>>8&255)|k>>>(r&255)<<(z&255)|i>>>(r>>>16&255)<<(z>>>16&255)|f>>>(r>>>24)<<(z>>>24);break e}case 2:{r=c[t+28>>2]|0;z=c[t+32>>2]|0;b[h>>1]=j>>>(r>>>8&255)<<(z>>>8&255)|k>>>(r&255)<<(z&255)|i>>>(r>>>16&255)<<(z>>>16&255)|f>>>(r>>>24)<<(z>>>24);break e}case 3:{a[h+((d[t+32>>0]|0)>>>3&255)>>0]=k;a[h+((d[t+33>>0]|0)>>>3&255)>>0]=j;a[h+((d[t+34>>0]|0)>>>3&255)>>0]=i;break e}case 4:{r=c[t+28>>2]|0;z=c[t+32>>2]|0;c[h>>2]=j>>>(r>>>8&255)<<(z>>>8&255)|k>>>(r&255)<<(z&255)|i>>>(r>>>16&255)<<(z>>>16&255)|f>>>(r>>>24)<<(z>>>24);break e}default:break e}}while(0);f=p+u|0;h=h+v|0;if((q|0)>1){q=q+-1|0;r=4;continue}else break}if(!g){r=74;break}else{h=h+x|0;f=f+w|0}}if((r|0)!=72)if((r|0)==74)return}function t9a(a){a=a|0;var d=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=c[a+24>>2]|0;d=c[a+28>>2]|0;j=c[a+16>>2]>>2;k=c[a+36>>2]>>1;if(!d)return;f=c[a+20>>2]|0;g=c[a>>2]|0;a:while(1){d=d+-1|0;switch(i&3|0){case 0:{h=(i+3|0)/4|0;a=4;break}case 3:{h=(i+3|0)/4|0;a=8;break}case 2:{h=(i+3|0)/4|0;a=12;break}case 1:{h=(i+3|0)/4|0;a=16;break}default:{a=20;break a}}while(1)if((a|0)==4){a=c[g>>2]|0;switch(a>>>27|0){case 0:break;case 31:{b[f>>1]=a>>>8&63488|a>>>5&2016|a>>>3&31;break}default:{l=e[f>>1]|0;a=((_((a<<11&132120576|a>>>8&63488|a>>>3&31)-((l<<16|l)&132184095)|0,a>>>27)|0)>>>5)+((l<<16|l)&132184095)&132184095;b[f>>1]=a>>>16|a}}f=f+2|0;g=g+4|0;a=8;continue}else if((a|0)==8){a=c[g>>2]|0;switch(a>>>27|0){case 0:break;case 31:{b[f>>1]=a>>>8&63488|a>>>5&2016|a>>>3&31;break}default:{l=e[f>>1]|0;l=((_((a<<11&132120576|a>>>8&63488|a>>>3&31)-((l<<16|l)&132184095)|0,a>>>27)|0)>>>5)+((l<<16|l)&132184095)&132184095;b[f>>1]=l>>>16|l}}f=f+2|0;g=g+4|0;a=12;continue}else if((a|0)==12){a=c[g>>2]|0;switch(a>>>27|0){case 0:break;case 31:{b[f>>1]=a>>>8&63488|a>>>5&2016|a>>>3&31;break}default:{l=e[f>>1]|0;l=((_((a<<11&132120576|a>>>8&63488|a>>>3&31)-((l<<16|l)&132184095)|0,a>>>27)|0)>>>5)+((l<<16|l)&132184095)&132184095;b[f>>1]=l>>>16|l}}f=f+2|0;g=g+4|0;a=16;continue}else if((a|0)==16){a=c[g>>2]|0;switch(a>>>27|0){case 0:break;case 31:{b[f>>1]=a>>>8&63488|a>>>5&2016|a>>>3&31;break}default:{l=e[f>>1]|0;l=((_((a<<11&132120576|a>>>8&63488|a>>>3&31)-((l<<16|l)&132184095)|0,a>>>27)|0)>>>5)+((l<<16|l)&132184095)&132184095;b[f>>1]=l>>>16|l}}g=g+4|0;f=f+2|0;if((h|0)>1){h=h+-1|0;a=4;continue}else break}if(!d){a=22;break}else{f=f+(k<<1)|0;g=g+(j<<2)|0}}if((a|0)!=20)if((a|0)==22)return}function u9a(d){d=d|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;m=a[d+63>>0]|0;if(m<<24>>24==-128){v9a(d,-1058);return}o=c[d+24>>2]|0;f=c[d+28>>2]|0;h=c[d>>2]|0;n=c[d+16>>2]>>1;g=c[d+20>>2]|0;l=c[d+36>>2]>>1;if(!f)return;if(!(o&3)){i=f+-1|0;d=g;f=h;while(1){h=(o+3|0)/4|0;while(1){k=e[f>>1]|0;g=e[d>>1]|0;g=((_(((k<<16|k)&65043487)-((g<<16|g)&65043487)|0,(m&255)>>>3)|0)>>>5)+((g<<16|g)&65043487)&65043487;k=d+2|0;b[d>>1]=g>>>16|g;g=e[f+2>>1]|0;j=e[k>>1]|0;j=((_(((g<<16|g)&65043487)-((j<<16|j)&65043487)|0,(m&255)>>>3)|0)>>>5)+((j<<16|j)&65043487)&65043487;g=d+4|0;b[k>>1]=j>>>16|j;k=e[f+4>>1]|0;j=e[g>>1]|0;j=((_(((k<<16|k)&65043487)-((j<<16|j)&65043487)|0,(m&255)>>>3)|0)>>>5)+((j<<16|j)&65043487)&65043487;k=d+6|0;b[g>>1]=j>>>16|j;g=f+8|0;f=e[f+6>>1]|0;j=e[k>>1]|0;j=((_(((f<<16|f)&65043487)-((j<<16|j)&65043487)|0,(m&255)>>>3)|0)>>>5)+((j<<16|j)&65043487)&65043487;d=d+8|0;b[k>>1]=j>>>16|j;if((h|0)>1){h=h+-1|0;f=g}else break}if(!i)break;else{i=i+-1|0;d=d+(l<<1)|0;f=g+(n<<1)|0}}return}else{k=f+-1|0;d=g;f=h}a:while(1){switch(o&3|0){case 1:{i=(o+3|0)/4|0;h=f;j=12;break}case 3:{g=(o+3|0)/4|0;j=10;break}case 2:{g=(o+3|0)/4|0;j=11;break}default:{j=13;break a}}while(1)if((j|0)==10){h=e[f>>1]|0;i=e[d>>1]|0;i=((_(((h<<16|h)&65043487)-((i<<16|i)&65043487)|0,(m&255)>>>3)|0)>>>5)+((i<<16|i)&65043487)&65043487;b[d>>1]=i>>>16|i;d=d+2|0;f=f+2|0;j=11;continue}else if((j|0)==11){h=e[f>>1]|0;i=e[d>>1]|0;i=((_(((h<<16|h)&65043487)-((i<<16|i)&65043487)|0,(m&255)>>>3)|0)>>>5)+((i<<16|i)&65043487)&65043487;b[d>>1]=i>>>16|i;d=d+2|0;i=g;h=f+2|0;j=12;continue}else if((j|0)==12){g=h+2|0;f=e[h>>1]|0;j=e[d>>1]|0;j=((_(((f<<16|f)&65043487)-((j<<16|j)&65043487)|0,(m&255)>>>3)|0)>>>5)+((j<<16|j)&65043487)&65043487;f=d+2|0;b[d>>1]=j>>>16|j;if((i|0)<=1)break;j=e[g>>1]|0;g=e[f>>1]|0;g=((_(((j<<16|j)&65043487)-((g<<16|g)&65043487)|0,(m&255)>>>3)|0)>>>5)+((g<<16|g)&65043487)&65043487;b[f>>1]=g>>>16|g;d=d+4|0;g=i+-1|0;f=h+4|0;j=10;continue}if(!k){j=15;break}else{k=k+-1|0;d=f+(l<<1)|0;f=g+(n<<1)|0}}if((j|0)!=13)if((j|0)==15)return}function v9a(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;m=c[a+24>>2]|0;e=c[a+28>>2]|0;o=c[a+16>>2]>>1;p=c[a+36>>2]>>1;if(!e)return;n=(d&65535)<<16|d&65535;f=c[a+20>>2]|0;a=c[a>>2]|0;while(1){e=e+-1|0;g=a;h=f;if(!((g^h)&2)){if(!(g&2))g=m;else{g=b[f>>1]|0;l=b[a>>1]|0;b[f>>1]=(((l&d&65535)+(g&d&65535)|0)>>>1)+(l&g&65535&(d&65535^65535));f=f+2|0;a=a+2|0;g=m+-1|0}if((g|0)>1){j=g+-2|0;h=f+4|0;i=a+4|0;while(1){k=c[a>>2]|0;l=c[f>>2]|0;c[f>>2]=((l&n)>>>1)+((k&n)>>>1)+(k&~n&l);g=g+-2|0;if((g|0)<=1)break;else{f=f+4|0;a=a+4|0}}f=h+((j&-2)<<1)|0;a=i+((j&-2)<<1)|0;g=j-(j&-2)|0}if(g){l=b[f>>1]|0;k=b[a>>1]|0;b[f>>1]=(((k&d&65535)+(l&d&65535)|0)>>>1)+(k&l&65535&(d&65535^65535));f=f+2|0;a=a+2|0}a=a+(o<<1)|0}else{if(!(h&2))g=m;else{g=b[f>>1]|0;l=b[a>>1]|0;b[f>>1]=(((l&d&65535)+(g&d&65535)|0)>>>1)+(l&g&65535&(d&65535^65535));f=f+2|0;a=a+2|0;g=m+-1|0}i=a+2|0;h=c[a+-2>>2]|0;if((g|0)>1){l=g+-2|0;k=a+6|0;j=f+4|0;while(1){a=c[i>>2]|0;q=c[f>>2]|0;h=a<<16|h>>>16;c[f>>2]=((h&n)>>>1)+((q&n)>>>1)+(q&~n&h);g=g+-2|0;if((g|0)<=1)break;else{f=f+4|0;h=a;i=i+4|0}}f=j+((l&-2)<<1)|0;h=a;a=k+((l&-2)<<1)|0;g=l-(l&-2)|0}else a=i;if(g){q=b[f>>1]|0;l=h>>>16;b[f>>1]=(((q&d&65535)+(l&(d&65535))|0)>>>1)+(l&(d&65535^65535)&(q&65535));f=f+2|0;a=a+2|0}a=a+(o+-1<<1)|0}if(!e)break;else f=f+(p<<1)|0}return}function w9a(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,jb=0,kb=0,lb=0,mb=0,nb=0,ob=0,pb=0,qb=0,rb=0,sb=0,tb=0,ub=0,vb=0,wb=0,xb=0,yb=0,zb=0,Ab=0,Bb=0,Cb=0,Db=0,Eb=0,Fb=0,Gb=0,Hb=0,Ib=0,Jb=0,Kb=0,Lb=0,Mb=0,Nb=0,Ob=0,Pb=0,Qb=0,Rb=0,Sb=0,Tb=0,Ub=0,Vb=0,Wb=0,Xb=0,Yb=0,Zb=0,_b=0,$b=0,ac=0,bc=0,cc=0,dc=0,ec=0,fc=0,gc=0,hc=0,ic=0,jc=0,kc=0,lc=0,mc=0,nc=0,oc=0,pc=0,qc=0,rc=0,sc=0,tc=0,uc=0,vc=0,wc=0,xc=0,yc=0,zc=0,Ac=0,Bc=0,Cc=0,Dc=0,Ec=0,Fc=0,Gc=0,Hc=0,Ic=0,Jc=0,Kc=0,Lc=0,Mc=0,Nc=0,Oc=0,Pc=0,Qc=0,Rc=0,Sc=0,Tc=0,Uc=0,Vc=0,Wc=0,Xc=0,Yc=0,Zc=0,_c=0,$c=0,ad=0,bd=0,cd=0;xb=c[b+48>>2]|0;zb=c[b+96>>2]|0;Ab=c[b+104>>2]|0;Bb=c[b+120>>2]|0;r=c[b+168>>2]|0;z=c[b+176>>2]|0;t=c[b+184>>2]|0;Cb=c[b+208>>2]|0;Db=c[b+256>>2]|0;Eb=c[b+392>>2]|0;Fb=c[b+400>>2]|0;Gb=c[b+448>>2]|0;Hb=c[b+464>>2]|0;Ib=c[b+552>>2]|0;Jb=c[b+576>>2]|0;Kb=c[b+584>>2]|0;Lb=c[b+592>>2]|0;Mb=c[b+600>>2]|0;va=c[b+768>>2]|0;yb=c[b+776>>2]|0;Nb=c[b+824>>2]|0;Ob=c[b+1256>>2]|0;Pb=c[b+2248>>2]|0;Qb=c[b+2256>>2]|0;Rb=c[b+2264>>2]|0;Sb=c[b+2272>>2]|0;Tb=c[b+2280>>2]|0;o=c[b+2664>>2]|0;A=c[b+2672>>2]|0;u=c[b+2680>>2]|0;Ub=c[b+2720>>2]|0;Vb=c[b+2760>>2]|0;Wb=c[b+2872>>2]|0;Xb=c[b+2880>>2]|0;Yb=c[b+2896>>2]|0;Zb=c[b+2920>>2]|0;_b=c[b+2928>>2]|0;$b=c[b+2936>>2]|0;ac=c[b+2944>>2]|0;bc=c[b+2952>>2]|0;cc=c[b+2984>>2]|0;dc=c[b+3096>>2]|0;ec=c[b+3120>>2]|0;q=c[b+3232>>2]|0;B=c[b+3240>>2]|0;v=c[b+3248>>2]|0;fc=c[b+3288>>2]|0;gc=c[b+3328>>2]|0;hc=c[b+3440>>2]|0;ic=c[b+3448>>2]|0;jc=c[b+3464>>2]|0;kc=c[b+3488>>2]|0;lc=c[b+3496>>2]|0;mc=c[b+3504>>2]|0;nc=c[b+3512>>2]|0;oc=c[b+3520>>2]|0;pc=c[b+3552>>2]|0;qc=c[b+3672>>2]|0;rc=c[b+3704>>2]|0;sc=c[b+3776>>2]|0;G=c[b+3936>>2]|0;C=c[b+3944>>2]|0;w=c[b+3952>>2]|0;tc=c[b+3984>>2]|0;uc=c[b+4040>>2]|0;vc=c[b+4128>>2]|0;wc=c[b+4136>>2]|0;xc=c[b+4176>>2]|0;yc=c[b+4184>>2]|0;zc=c[b+4192>>2]|0;Ac=c[b+4200>>2]|0;Bc=c[b+4208>>2]|0;Cc=c[b+4344>>2]|0;p=c[b+4432>>2]|0;D=c[b+4440>>2]|0;x=c[b+4448>>2]|0;Dc=c[b+4488>>2]|0;Ec=c[b+4544>>2]|0;Fc=c[b+4656>>2]|0;Gc=c[b+4664>>2]|0;Hc=c[b+4680>>2]|0;Ic=c[b+4712>>2]|0;Jc=c[b+4720>>2]|0;Kc=c[b+4728>>2]|0;Lc=c[b+4736>>2]|0;Mc=c[b+4744>>2]|0;Nc=c[b+4776>>2]|0;Oc=c[b+4896>>2]|0;Pc=c[b+4920>>2]|0;Qc=c[b+4936>>2]|0;s=c[b+5064>>2]|0;E=c[b+5072>>2]|0;y=c[b+5080>>2]|0;Rc=c[b+5112>>2]|0;Sc=c[b+5120>>2]|0;Tc=c[b+5128>>2]|0;Uc=c[b+5144>>2]|0;Vc=c[b+5152>>2]|0;Wc=c[b+5160>>2]|0;Xc=c[b+5176>>2]|0;Yc=c[b+5184>>2]|0;Zc=c[b+5192>>2]|0;_c=c[b+5200>>2]|0;$c=c[b+5208>>2]|0;ad=c[b+5224>>2]|0;bd=c[b+5240>>2]|0;cd=c[b+5560>>2]|0;Q=c[b+5584>>2]|0;a:{if((Q|0)==43){if(q>>>0<14){m=G;while(1){if(!m){Eb=r;Yb=o;jc=q;Hc=p;Q=83;c[b+5600>>2]=2;c[b+5604>>2]=14;break a}m=m+-1|0;l=p+1|0;o=(d[p>>0]|0)<>>0<14){r=0;q=p;p=l}else{r=0;t=p;break}}}else{t=q;m=G;l=p}c[Nb+4>>2]=o&16383;p=o&31;if(p>>>0>29){Wb=o;hc=t;vc=m;Fc=l;Rc=s;Q=86;c[b+5600>>2]=1;break a}q=o>>>5&31;if(q>>>0>29){Wb=o;hc=t;vc=m;Fc=l;Rc=s;Q=86;c[b+5600>>2]=1;break a}Q=Gi[c[xb+32>>2]&255](c[xb+40>>2]|0,p+258+q|0,4)|0;c[Nb+12>>2]=Q;if(!Q){Xb=o;ic=t;wc=m;Gc=l;Sc=s;Q=88;c[b+5600>>2]=1;break a}c[Nb+8>>2]=0;c[Nb>>2]=4;F=r;H=0;I=o>>>14;J=t+-14|0;K=s;Q=90}else if((Q|0)==91){o=c[Nb+8>>2]|0;if(o>>>0<(((c[Nb+4>>2]|0)>>>10)+4|0)>>>0){F=z;H=o;I=A;J=B;m=C;l=D;K=E;Q=90}else{n=z;e=o;j=A;k=B;N=C;L=D;M=E;Q=92}}else if((Q|0)==110){O=t;P=c[Nb+8>>2]|0;f=u;i=v;g=w;h=x;R=y;Q=111}if((Q|0)==90){n=F;e=H;j=I;k=J;while(1){if(k>>>0<3){if(!m){Gb=n;cc=j;pc=k;Nc=l;ad=K;Q=96;c[b+5600>>2]=2;c[b+5604>>2]=14;break a}n=0;j=(d[l>>0]|0)<>2]=e+1;c[(c[Nb+12>>2]|0)+(c[65548+(e<<2)>>2]<<2)>>2]=j&7;j=j>>>3;k=k+-3|0;e=c[Nb+8>>2]|0;if(e>>>0>=(((c[Nb+4>>2]|0)>>>10)+4|0)>>>0){N=m;L=l;M=K;Q=92;break}}}if((Q|0)==92){if(e>>>0<19){f=c[Nb+12>>2]|0;do{c[Nb+8>>2]=e+1;c[f+(c[65548+(e<<2)>>2]<<2)>>2]=0;e=c[Nb+8>>2]|0}while(e>>>0<19)}c[Nb+16>>2]=7;e=c[Nb+12>>2]|0;f=c[Nb+36>>2]|0;c[b+16>>2]=0;g=Gi[c[xb+32>>2]&255](c[xb+40>>2]|0,19,4)|0;if(!g){Zb=j;kc=k;xc=N;Ic=L;Xc=M;Q=101;c[b+5600>>2]=1;break a}e=g3a(e,19,19,0,0,Nb+20|0,Nb+16|0,f,b+16|0,g)|0;switch(e|0){case -5:{Mb=g;_b=j;lc=k;yc=N;Jc=L;Yc=M;Q=104;c[b+5600>>2]=2;c[b+5604>>2]=14;break a}case -3:{Ob=g;bc=j;oc=k;Bc=N;Mc=L;$c=M;cd=592795;Q=105;c[b+5600>>2]=2;c[b+5604>>2]=14;break a}default:{}}if(!(c[Nb+16>>2]|0)){Mb=g;_b=j;lc=k;yc=N;Jc=L;Yc=M;Q=104;c[b+5600>>2]=1;break a}si[c[xb+36>>2]&511](c[xb+40>>2]|0,g);switch(e|0){case -3:{ac=j;nc=k;Ac=N;Lc=L;_c=M;Q=107;c[b+5600>>2]=2;c[b+5604>>2]=14;break a}case 0:break;default:{Ab=e;$b=j;mc=k;zc=N;Kc=L;Zc=M;Q=108;c[b+5600>>2]=2;c[b+5604>>2]=14;break a}}c[Nb+8>>2]=0;c[Nb>>2]=5;O=n;P=0;f=j;i=k;g=N;h=L;R=M;Q=111}if((Q|0)==111){Q=0;e=c[Nb+4>>2]|0;if(P>>>0<((e&31)+258+(e>>>5&31)|0)>>>0){j=O;m=P;while(1){l=c[Nb+16>>2]|0;if(i>>>0>>0)while(1){if(!g){Ib=j;dc=f;qc=i;Oc=h;Uc=R;Q=116;c[b+5600>>2]=2;c[b+5604>>2]=14;break a}g=g+-1|0;k=h+1|0;f=(d[h>>0]|0)<>>0>>0){j=0;i=h;h=k}else{j=0;i=h;h=k;break}}P=c[Nb+20>>2]|0;p=c[65624+(l<<2)>>2]&f;l=d[P+(p<<3)+1>>0]|0;p=c[P+(p<<3)+4>>2]|0;if(p>>>0<16){c[Nb+8>>2]=m+1;P=c[Nb+12>>2]|0;c[P+(m<<2)>>2]=p;k=j;m=c[Nb+8>>2]|0;j=P;f=f>>>l;i=i-l|0}else{r=(p|0)==18?7:p+-14|0;q=(p|0)==18?11:3;if(i>>>0<(r+l|0)>>>0){k=j;j=h;while(1){if(!g){Jb=k;ec=f;rc=i;Qc=j;Vc=R;Q=123;c[b+5600>>2]=2;c[b+5604>>2]=14;break a}g=g+-1|0;h=j+1|0;f=(d[j>>0]|0)<>>0<(r+l|0)>>>0){k=0;j=h}else{o=0;break}}}else o=j;n=f>>>l;k=c[65624+(r<<2)>>2]&n;l=i-l-r|0;if((k+q+m|0)>>>0>((e&31)+258+(e>>>5&31)|0)>>>0){Kb=n>>>r;Lb=l;Cc=g;Pc=h;Wc=R;Q=126;c[b+5600>>2]=2;c[b+5604>>2]=14;break a}if((m|0)==0&(p|0)==16){Kb=n>>>r;Lb=l;Cc=g;Pc=h;Wc=R;Q=126;c[b+5600>>2]=2;c[b+5604>>2]=14;break a}if((p|0)==16){e=c[Nb+12>>2]|0;j=e;e=c[e+(m+-1<<2)>>2]|0}else{j=c[Nb+12>>2]|0;e=0}f=m;i=k+q|0;while(1){c[j+(f<<2)>>2]=e;i=i+-1|0;if(!i)break;else f=f+1|0}m=q+m+k|0;c[Nb+8>>2]=m;k=o;f=n>>>r;i=l}e=c[Nb+4>>2]|0;if(m>>>0<((e&31)+258+(e>>>5&31)|0)>>>0)j=k;else{o=k;l=j;n=f;m=i;k=g;break}}}else{o=O;l=c[Nb+12>>2]|0;n=f;m=i;k=g}c[Nb+20>>2]=0;c[b+12>>2]=9;c[b+8>>2]=6;j=e&31;e=(e>>>5&31)+1|0;f=c[Nb+36>>2]|0;c[b+16>>2]=0;g=Gi[c[xb+32>>2]&255](c[xb+40>>2]|0,288,4)|0;b:do if(!g){Y=-4;Q=150}else{c:do switch(g3a(l,j+257|0,257,65692,65816,b+4|0,b+12|0,f,b+16|0,g)|0){case 0:{i=c[b+12>>2]|0;if(!i)Q=138;else{switch(g3a(l+(j+257<<2)|0,e,0,32332,32212,b,b+8|0,f,b+16|0,g)|0){case 0:{e=c[b+8>>2]|0;if((j|0)!=0&(e|0)==0)Q=144;else{si[c[xb+36>>2]&511](c[xb+40>>2]|0,g);Z=i;_=e;break c}break}case -3:{c[xb+24>>2]=592937;X=-3;break}case -5:{c[xb+24>>2]=592966;X=-3;break}case -4:{X=-4;break}default:Q=144}if((Q|0)==144){c[xb+24>>2]=592991;X=-3}si[c[xb+36>>2]&511](c[xb+40>>2]|0,g);S=X;Q=147}break}case -3:{c[xb+24>>2]=592871;W=-3;Q=139;break}case -4:{W=-4;Q=139;break}default:Q=138}while(0);if((Q|0)==138){c[xb+24>>2]=592906;W=-3;Q=139}if((Q|0)==139){si[c[xb+36>>2]&511](c[xb+40>>2]|0,g);S=W;Q=147}d:do if((Q|0)==147){Q=0;switch(S|0){case 0:{Z=c[b+12>>2]|0;_=c[b+8>>2]|0;break d}case -3:{si[c[xb+36>>2]&511](c[xb+40>>2]|0,c[Nb+12>>2]|0);c[Nb>>2]=9;Y=-3;Q=150;break b}default:{Y=-4;Q=150;break b}}}while(0);e=c[b+4>>2]|0;f=c[b>>2]|0;g=Gi[c[xb+32>>2]&255](c[xb+40>>2]|0,1,28)|0;if(!g){c[Nb+32>>2]=n;c[Nb+28>>2]=m;c[xb+4>>2]=k;c[xb+8>>2]=h-(c[xb>>2]|0)+(c[xb+8>>2]|0);c[xb>>2]=h;c[Nb+52>>2]=R;T=-4;U=0;V=f3a(Nb,xb,-4)|0;break}else{c[g>>2]=0;a[g+16>>0]=Z;a[g+17>>0]=_;c[g+20>>2]=e;c[g+24>>2]=f;c[Nb+4>>2]=g;T=o;U=1;V=Bb;break}}while(0);if((Q|0)==150){Q=0;c[Nb+32>>2]=n;c[Nb+28>>2]=m;c[xb+4>>2]=k;c[xb+8>>2]=h-(c[xb>>2]|0)+(c[xb+8>>2]|0);c[xb>>2]=h;c[Nb+52>>2]=R;T=Y;U=0;V=f3a(Nb,xb,Y)|0}if(!U){Hb=V;c[b+5600>>2]=1;break a}si[c[xb+36>>2]&511](c[xb+40>>2]|0,c[Nb+12>>2]|0);c[Nb>>2]=6;Db=T;Fb=V;Vb=n;gc=m;uc=k;Ec=h;Tc=R}c[Nb+32>>2]=Vb;c[Nb+28>>2]=gc;c[xb+4>>2]=uc;c[xb+8>>2]=Ec-(c[xb>>2]|0)+(c[xb+8>>2]|0);c[xb>>2]=Ec;c[Nb+52>>2]=Tc;t=c[Nb+4>>2]|0;e=c[Nb+48>>2]|0;if(Tc>>>0>>0)e=e+~Tc|0;else e=(c[yb>>2]|0)-Tc|0;k=Db;p=c[t>>2]|0;q=Vb;r=gc;f=e;m=uc;l=Ec;s=Tc;e:while(1){switch(p|0){case 7:{mb=k;pb=q;rb=r;tb=m;lb=l;nb=s;Q=230;break e}case 8:{qb=q;sb=r;ub=m;vb=l;wb=s;Q=233;break e}case 9:{ya=q;Ga=r;Oa=m;Ua=l;cb=s;Q=234;break e}case 0:{wa=d[t+16>>0]|0;c[t+12>>2]=wa;c[t+8>>2]=c[t+20>>2];c[t>>2]=1;Q=165;break}case 1:{wa=c[t+12>>2]|0;Q=165;break}case 2:{o=c[t+8>>2]|0;if(r>>>0>>0){j=k;g=q;i=r;e=m;h=l;while(1){if(!e){sa=j;Ba=g;Ja=i;Ya=h;eb=s;Q=181;break e}e=e+-1|0;n=h+1|0;g=(d[h>>0]|0)<>>0>>0){j=0;i=h;h=n}else{i=0;j=n;break}}}else{i=k;g=q;h=r;e=m;j=l}c[t+4>>2]=(c[t+4>>2]|0)+(c[65624+(o<<2)>>2]&g);ja=d[t+17>>0]|0;c[t+12>>2]=ja;c[t+8>>2]=c[t+24>>2];c[t>>2]=3;ha=i;fa=g>>>o;da=h-o|0;ba=e;$=j;Q=183;break}case 3:{ha=k;ja=c[t+12>>2]|0;fa=q;da=r;ba=m;$=l;Q=183;break}case 4:{o=c[t+8>>2]|0;if(r>>>0>>0){j=k;g=q;i=r;e=m;h=l;while(1){if(!e){ua=j;Da=g;La=i;$a=h;db=s;Q=195;break e}e=e+-1|0;n=h+1|0;g=(d[h>>0]|0)<>>0>>0){j=0;i=h;h=n}else{i=0;j=n;break}}}else{i=k;g=q;h=r;e=m;j=l}ka=(c[t+12>>2]|0)+(c[65624+(o<<2)>>2]&g)|0;c[t+12>>2]=ka;c[t>>2]=5;ia=i;ga=g>>>o;ea=h-o|0;ca=e;aa=j;Q=197;break}case 5:{ia=k;ka=c[t+12>>2]|0;ga=q;ea=r;ca=m;aa=l;Q=197;break}case 6:{do if(!f){if((s|0)==(c[va>>2]|0)){f=c[Nb+48>>2]|0;e=c[Nb+40>>2]|0;if((f|0)==(e|0))e=s;else{f=e>>>0>>0?f+-1|0:s;if((f|0)!=(e|0)){f=f-e|0;break}}}else e=s;c[Nb+52>>2]=e;qa=f3a(Nb,xb,k)|0;e=c[Nb+52>>2]|0;h=c[Nb+48>>2]|0;if(e>>>0>>0){f=h+~e|0;g=c[va>>2]|0}else{g=c[yb>>2]|0;f=g-e|0}if((e|0)==(g|0)){g=c[Nb+40>>2]|0;if((h|0)!=(g|0)){f=(g>>>0>>0?h+-1|0:e)-g|0;e=g}}if(!f){za=q;Ha=r;Pa=m;Va=l;kb=e;Q=228;break e}}else e=s;while(0);a[e>>0]=c[t+8>>2];c[t>>2]=0;k=0;p=0;f=f+-1|0;s=e+1|0;continue e}default:{xa=q;Fa=r;Na=m;Ta=l;bb=s;Q=235;break e}}if((Q|0)==165){if(r>>>0>>0){e=q;i=r;g=m;h=l;while(1){if(!g){ra=k;Aa=e;Ia=i;Xa=h;hb=s;Q=168;break e}g=g+-1|0;j=h+1|0;e=(d[h>>0]|0)<>>0>>0){k=0;i=h;h=j}else{k=0;l=j;break}}}else{e=q;h=r;g=m}i=c[t+8>>2]|0;j=c[65624+(wa<<2)>>2]&e;la=d[i+(j<<3)+1>>0]|0;na=e>>>la;la=h-la|0;e=a[i+(j<<3)>>0]|0;if(!(e<<24>>24)){c[t+8>>2]=c[i+(j<<3)+4>>2];c[t>>2]=6;Z=s;_=f;p=6;q=na;r=la;m=g;s=Z;f=_;continue}if(e&16|0){c[t+8>>2]=e&15;c[t+4>>2]=c[i+(j<<3)+4>>2];c[t>>2]=2;Z=s;_=f;p=2;q=na;r=la;m=g;s=Z;f=_;continue}if(!(e&64)){c[t+12>>2]=e&255;c[t+8>>2]=i+(j<<3)+(c[i+(j<<3)+4>>2]<<3);Z=s;_=f;p=1;q=na;r=la;m=g;s=Z;f=_;continue}if(!(e&32)){Qa=g;Wa=l;ib=s;Q=177;break}c[t>>2]=7;Z=s;_=f;p=7;q=na;r=la;m=g;s=Z;f=_;continue}else if((Q|0)==183){if(da>>>0>>0){j=ha;g=fa;i=da;e=ba;h=$;while(1){if(!e){ta=j;Ca=g;Ka=i;_a=h;fb=s;Q=186;break e}e=e+-1|0;l=h+1|0;g=(d[h>>0]|0)<>>0>>0){j=0;i=h;h=l}else{k=0;m=e;break}}}else{k=ha;g=fa;h=da;m=ba;l=$}i=c[t+8>>2]|0;j=c[65624+(ja<<2)>>2]&g;ma=d[i+(j<<3)+1>>0]|0;oa=g>>>ma;ma=h-ma|0;e=d[i+(j<<3)>>0]|0;if(e&16|0){c[t+8>>2]=e&15;c[t+12>>2]=c[i+(j<<3)+4>>2];c[t>>2]=4;Z=s;_=f;p=4;q=oa;r=ma;s=Z;f=_;continue}if(e&64|0){Ra=m;Za=l;gb=s;Q=191;break}c[t+12>>2]=e;c[t+8>>2]=i+(j<<3)+(c[i+(j<<3)+4>>2]<<3);Z=s;_=f;p=3;q=oa;r=ma;s=Z;f=_;continue}else if((Q|0)==197){e=s+(0-ka)|0;g=c[Nb+40>>2]|0;if(e>>>0>>0){h=(c[yb>>2]|0)-g|0;do e=e+h|0;while(e>>>0>>0)}if(!(c[t+4>>2]|0)){e=ia;g=s}else{i=ia;j=e;g=s;while(1){do if(!f){if((g|0)==(c[va>>2]|0)){f=c[Nb+48>>2]|0;e=c[Nb+40>>2]|0;if((f|0)==(e|0))e=g;else{f=e>>>0>>0?f+-1|0:g;if((f|0)!=(e|0)){f=f-e|0;break}}}else e=g;c[Nb+52>>2]=e;pa=f3a(Nb,xb,i)|0;e=c[Nb+52>>2]|0;g=c[Nb+48>>2]|0;if(e>>>0>>0){f=c[va>>2]|0;i=g+~e|0}else{i=c[yb>>2]|0;f=i;i=i-e|0}do if((e|0)==(f|0)){h=c[Nb+40>>2]|0;if((g|0)==(h|0)){f=i;break}f=(h>>>0>>0?g+-1|0:e)-h|0;e=h}else f=i;while(0);if(!f){Ea=ga;Ma=ea;Sa=ca;ab=aa;jb=e;Q=212;break e}}else e=g;while(0);g=j+1|0;h=e+1|0;a[e>>0]=a[j>>0]|0;f=f+-1|0;if((g|0)==(c[va>>2]|0))e=c[Nb+40>>2]|0;else e=g;_=(c[t+4>>2]|0)+-1|0;c[t+4>>2]=_;if(!_){e=0;g=h;break}else{i=0;j=e;g=h}}}c[t>>2]=0;k=e;p=0;q=ga;r=ea;m=ca;l=aa;s=g;continue}}switch(Q|0){case 168:{Q=0;c[Nb+32>>2]=Aa;c[Nb+28>>2]=Ia;c[xb+4>>2]=0;c[xb+8>>2]=Xa-(c[xb>>2]|0)+(c[xb+8>>2]|0);c[xb>>2]=Xa;c[Nb+52>>2]=hb;ob=f3a(Nb,xb,ra)|0;break}case 177:{Q=0;c[t>>2]=9;c[xb+24>>2]=610945;c[Nb+32>>2]=na;c[Nb+28>>2]=la;c[xb+4>>2]=Qa;c[xb+8>>2]=Wa-(c[xb>>2]|0)+(c[xb+8>>2]|0);c[xb>>2]=Wa;c[Nb+52>>2]=ib;ob=f3a(Nb,xb,-3)|0;break}case 181:{Q=0;c[Nb+32>>2]=Ba;c[Nb+28>>2]=Ja;c[xb+4>>2]=0;c[xb+8>>2]=Ya-(c[xb>>2]|0)+(c[xb+8>>2]|0);c[xb>>2]=Ya;c[Nb+52>>2]=eb;ob=f3a(Nb,xb,sa)|0;break}case 186:{Q=0;c[Nb+32>>2]=Ca;c[Nb+28>>2]=Ka;c[xb+4>>2]=0;c[xb+8>>2]=_a-(c[xb>>2]|0)+(c[xb+8>>2]|0);c[xb>>2]=_a;c[Nb+52>>2]=fb;ob=f3a(Nb,xb,ta)|0;break}case 191:{Q=0;c[t>>2]=9;c[xb+24>>2]=610923;c[Nb+32>>2]=oa;c[Nb+28>>2]=ma;c[xb+4>>2]=Ra;c[xb+8>>2]=Za-(c[xb>>2]|0)+(c[xb+8>>2]|0);c[xb>>2]=Za;c[Nb+52>>2]=gb;ob=f3a(Nb,xb,-3)|0;break}case 195:{Q=0;c[Nb+32>>2]=Da;c[Nb+28>>2]=La;c[xb+4>>2]=0;c[xb+8>>2]=$a-(c[xb>>2]|0)+(c[xb+8>>2]|0);c[xb>>2]=$a;c[Nb+52>>2]=db;ob=f3a(Nb,xb,ua)|0;break}case 212:{Q=0;c[Nb+32>>2]=Ea;c[Nb+28>>2]=Ma;c[xb+4>>2]=Sa;c[xb+8>>2]=ab-(c[xb>>2]|0)+(c[xb+8>>2]|0);c[xb>>2]=ab;c[Nb+52>>2]=jb;ob=f3a(Nb,xb,pa)|0;break}case 228:{Q=0;c[Nb+32>>2]=za;c[Nb+28>>2]=Ha;c[xb+4>>2]=Pa;c[xb+8>>2]=Va-(c[xb>>2]|0)+(c[xb+8>>2]|0);c[xb>>2]=Va;c[Nb+52>>2]=kb;ob=f3a(Nb,xb,qa)|0;break}case 230:{Q=0;h=rb>>>0>7?rb+-8|0:rb;g=rb>>>0>7?lb+-1|0:lb;c[Nb+52>>2]=nb;e=f3a(Nb,xb,mb)|0;f=c[Nb+52>>2]|0;if((c[Nb+48>>2]|0)==(f|0)){c[t>>2]=8;qb=pb;sb=h;ub=tb+(rb>>>0>7&1)|0;vb=g;wb=f;Q=233;break}else{c[Nb+32>>2]=pb;c[Nb+28>>2]=h;c[xb+4>>2]=tb+(rb>>>0>7&1);c[xb+8>>2]=g-(c[xb>>2]|0)+(c[xb+8>>2]|0);c[xb>>2]=g;ob=f3a(Nb,xb,e)|0;break}}case 234:{Q=0;c[Nb+32>>2]=ya;c[Nb+28>>2]=Ga;c[xb+4>>2]=Oa;c[xb+8>>2]=Ua-(c[xb>>2]|0)+(c[xb+8>>2]|0);c[xb>>2]=Ua;c[Nb+52>>2]=cb;ob=f3a(Nb,xb,-3)|0;break}case 235:{Q=0;c[Nb+32>>2]=xa;c[Nb+28>>2]=Fa;c[xb+4>>2]=Na;c[xb+8>>2]=Ta-(c[xb>>2]|0)+(c[xb+8>>2]|0);c[xb>>2]=Ta;c[Nb+52>>2]=bb;ob=f3a(Nb,xb,-2)|0;break}}if((Q|0)==233){Q=0;c[Nb+32>>2]=qb;c[Nb+28>>2]=sb;c[xb+4>>2]=ub;c[xb+8>>2]=vb-(c[xb>>2]|0)+(c[xb+8>>2]|0);c[xb>>2]=vb;c[Nb+52>>2]=wb;ob=f3a(Nb,xb,1)|0}if((ob|0)!=1){zb=ob;Q=237;c[b+5600>>2]=1;break a}si[c[xb+36>>2]&511](c[xb+40>>2]|0,c[Nb+4>>2]|0);Pb=c[xb>>2]|0;Qb=c[xb+4>>2]|0;Rb=c[Nb+32>>2]|0;Sb=c[Nb+28>>2]|0;Tb=c[Nb+52>>2]|0;e=c[Nb+48>>2]|0;if(Tb>>>0>>0)e=e+~Tb|0;else e=(c[yb>>2]|0)-Tb|0;if(c[Nb+24>>2]|0){Q=243;c[b+5600>>2]=1;break a}c[Nb>>2]=0;Bb=Fb;Cb=0;Ub=Rb;fc=Sb;sc=e;tc=Qb;Dc=Pb;bd=Tb}c[b+96>>2]=zb;c[b+104>>2]=Ab;c[b+120>>2]=Bb;c[b+208>>2]=Cb;c[b+256>>2]=Db;c[b+392>>2]=Eb;c[b+400>>2]=Fb;c[b+448>>2]=Gb;c[b+464>>2]=Hb;c[b+552>>2]=Ib;c[b+576>>2]=Jb;c[b+584>>2]=Kb;c[b+592>>2]=Lb;c[b+600>>2]=Mb;c[b+1256>>2]=Ob;c[b+2248>>2]=Pb;c[b+2256>>2]=Qb;c[b+2264>>2]=Rb;c[b+2272>>2]=Sb;c[b+2280>>2]=Tb;c[b+2720>>2]=Ub;c[b+2760>>2]=Vb;c[b+2872>>2]=Wb;c[b+2880>>2]=Xb;c[b+2896>>2]=Yb;c[b+2920>>2]=Zb;c[b+2928>>2]=_b;c[b+2936>>2]=$b;c[b+2944>>2]=ac;c[b+2952>>2]=bc;c[b+2984>>2]=cc;c[b+3096>>2]=dc;c[b+3120>>2]=ec;c[b+3288>>2]=fc;c[b+3328>>2]=gc;c[b+3440>>2]=hc;c[b+3448>>2]=ic;c[b+3464>>2]=jc;c[b+3488>>2]=kc;c[b+3496>>2]=lc;c[b+3504>>2]=mc;c[b+3512>>2]=nc;c[b+3520>>2]=oc;c[b+3552>>2]=pc;c[b+3672>>2]=qc;c[b+3704>>2]=rc;c[b+3776>>2]=sc;c[b+3984>>2]=tc;c[b+4040>>2]=uc;c[b+4128>>2]=vc;c[b+4136>>2]=wc;c[b+4176>>2]=xc;c[b+4184>>2]=yc;c[b+4192>>2]=zc;c[b+4200>>2]=Ac;c[b+4208>>2]=Bc;c[b+4344>>2]=Cc;c[b+4488>>2]=Dc;c[b+4544>>2]=Ec;c[b+4656>>2]=Fc;c[b+4664>>2]=Gc;c[b+4680>>2]=Hc;c[b+4712>>2]=Ic;c[b+4720>>2]=Jc;c[b+4728>>2]=Kc;c[b+4736>>2]=Lc;c[b+4744>>2]=Mc;c[b+4776>>2]=Nc;c[b+4896>>2]=Oc;c[b+4920>>2]=Pc;c[b+4936>>2]=Qc;c[b+5112>>2]=Rc;c[b+5120>>2]=Sc;c[b+5128>>2]=Tc;c[b+5144>>2]=Uc;c[b+5152>>2]=Vc;c[b+5160>>2]=Wc;c[b+5176>>2]=Xc;c[b+5184>>2]=Yc;c[b+5192>>2]=Zc;c[b+5200>>2]=_c;c[b+5208>>2]=$c;c[b+5224>>2]=ad;c[b+5240>>2]=bd;c[b+5560>>2]=cd;c[b+5584>>2]=Q} -function ANa(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;g=c[a+4>>2]|0;f=(c[a>>2]|0)+(g<<1)|0;g=(c[a+36>>2]&64|0)==0?f:f+(g<<1)|0;f=c[a+8>>2]|0;do{h=f>>16;i=b[g+(h<<1)>>1]|0;i=((_((b[g+(h+1<<1)>>1]|0)-i|0,f>>>8&255)|0)>>8)+i|0;i=_(i,c[a+16>>2]|0)|0;c[d>>2]=i+(c[d>>2]|0);h=d+4|0;c[h>>2]=i+(c[h>>2]|0);d=d+8|0;f=(c[a+12>>2]|0)+f|0}while(d>>>0>>0);c[a+4>>2]=(c[a+4>>2]|0)+(f>>16);c[a+8>>2]=f&65535;return}function BNa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;h=c[b>>2]|0;i=c[b+4>>2]|0;h=(c[b+36>>2]&64|0)==0?h:h+i|0;f=c[b+8>>2]|0;g=c[b+48>>2]|0;do{j=f>>16;k=a[h+(j+i)>>0]|0;k=(_((a[h+(i+1+j)>>0]|0)-k|0,f>>>8&255)|0)+(k<<8)|0;g=(c[b+24>>2]|0)+g|0;k=_(k,g>>12)|0;c[d>>2]=k+(c[d>>2]|0);j=d+4|0;c[j>>2]=k+(c[j>>2]|0);d=d+8|0;f=(c[b+12>>2]|0)+f|0}while(d>>>0>>0);c[b+4>>2]=(c[b+4>>2]|0)+(f>>16);c[b+8>>2]=f&65535;c[b+48>>2]=g;c[b+52>>2]=g;c[b+16>>2]=g>>12;c[b+20>>2]=g>>12;return}function CNa(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;h=c[a+4>>2]|0;f=(c[a>>2]|0)+(h<<1)|0;h=(c[a+36>>2]&64|0)==0?f:f+(h<<1)|0;f=c[a+8>>2]|0;g=c[a+48>>2]|0;do{i=f>>16;j=b[h+(i<<1)>>1]|0;j=((_((b[h+(i+1<<1)>>1]|0)-j|0,f>>>8&255)|0)>>8)+j|0;g=(c[a+24>>2]|0)+g|0;j=_(j,g>>12)|0;c[d>>2]=j+(c[d>>2]|0);i=d+4|0;c[i>>2]=j+(c[i>>2]|0);d=d+8|0;f=(c[a+12>>2]|0)+f|0}while(d>>>0>>0);c[a+4>>2]=(c[a+4>>2]|0)+(f>>16);c[a+8>>2]=f&65535;c[a+48>>2]=g;c[a+52>>2]=g;c[a+16>>2]=g>>12;c[a+20>>2]=g>>12;return}function DNa(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;b=c[182099]|0;if(b&128){b=c[196005]|0;d=c[196004]|0;e=c[196007]|0;f=c[196006]|0;g=736604;h=728412;i=a;while(1){l=(c[938176+(f<<2)>>2]|0)+(c[784576+(e<<2)>>2]|0)+(c[1055632+(b<<2)>>2]|0)+(c[1138336+(d<<2)>>2]|0)|0;k=c[196008]|0;o=c[784320+(k<<2)>>2]|0;c[784320+(k<<2)>>2]=l>>1;c[196008]=k+1&31;k=c[196009]|0;j=(c[196010]|0)-(c[784064+(k<<2)>>2]|0)|0;c[784064+(k<<2)>>2]=(l|0)/128|0;c[196010]=j+((l|0)/128|0);l=o-(j+((l|0)/128|0))|0;c[196009]=k+1&63;k=c[g>>2]|0;j=c[g+4>>2]|0;o=j+k>>c[196003];c[h>>2]=l+k+(c[h>>2]|0);k=h+4|0;c[k>>2]=j+l+(c[k>>2]|0);k=c[196005]|0;c[1055632+(k<<2)>>2]=o+(l>>2);j=c[196004]|0;c[1138336+(j<<2)>>2]=o+(l>>2);m=c[196011]|0;n=(o+(l>>2)+(l>>4)>>1)-(c[1194924+(m<<2)>>2]|0)+(c[196012]|0)|0;c[196012]=n;c[1194924+(m<<2)>>2]=o+(l>>2)+(l>>4)>>1;c[196011]=m+1&7;m=c[196007]|0;c[784576+(m<<2)>>2]=n>>2;l=c[196006]|0;c[938176+(l<<2)>>2]=n>>2;e=(m+1|0)>=(c[196002]|0)?0:m+1|0;c[196007]=e;f=(l+1|0)>=(c[196013]|0)?0:l+1|0;c[196006]=f;b=(k+1|0)>=(c[196014]|0)?0:k+1|0;c[196005]=b;d=(j+1|0)>=(c[196015]|0)?0:j+1|0;c[196004]=d;i=i+-1|0;if(!i)break;else{g=g+8|0;h=h+8|0}}b=c[182099]|0}if(b&64){d=c[186206]|0;if(a){f=c[186203]|0;b=728412;e=a;while(1){o=b+4|0;l=_((c[b>>2]|0)+31+(c[o>>2]|0)>>7,c[196001]|0)|0;k=c[186208]|0;m=(c[186207]|0)-(c[745092+(k<<2)>>2]|0)|0;c[745092+(k<<2)>>2]=l;c[186207]=m+l;c[186208]=k+1&3;k=745604+(f<<2)|0;n=c[k>>2]|0;c[k>>2]=m+l;k=c[186204]|0;l=c[745348+(k<<2)>>2]|0;c[745348+(k<<2)>>2]=n;c[186204]=k+1&31;k=744836+(d<<2)|0;m=(c[186205]|0)-(c[k>>2]|0)|0;c[k>>2]=(n|0)/64|0;c[186205]=m+((n|0)/64|0);d=d+1&63;c[b>>2]=l-(m+((n|0)/64|0))+(c[b>>2]|0);c[o>>2]=(c[o>>2]|0)-(l-(m+((n|0)/64|0)));o=(c[186203]|0)+1|0;f=(o|0)>=(c[186202]|0)?0:o;c[186203]=f;e=e+-1|0;if(!e)break;else b=b+8|0}b=c[182099]|0}c[186206]=d}if(b&32){g=(c[9755]|0)+1|0;d=c[298741]|0;if(a){f=c[298740]|0;b=728412;e=a;while(1){m=1194972+(d<<2)|0;n=(c[298742]|0)-(c[m>>2]|0)|0;c[298742]=n;o=b+4|0;l=(c[o>>2]|0)+(c[b>>2]|0)|0;c[m>>2]=(l>>31&(1<>g;n=((l>>31&(1<>g)+n|0;c[298742]=n;l=1195228+(f<<2)|0;m=c[l>>2]|0;c[l>>2]=c[b>>2];c[b>>2]=n+m;m=1195228+((c[298740]|0)+1<<2)|0;n=c[m>>2]|0;c[m>>2]=c[o>>2];c[o>>2]=(c[298742]|0)+n;o=c[298739]|0;f=(c[298740]|0)+2&o;c[298740]=f;d=o&d+1;e=e+-1|0;if(!e)break;else b=b+8|0}b=c[182099]|0}c[298741]=d}if(!(b&2))return;d=c[186201]|0;b=c[186200]|0;if(a){g=d;e=728412;while(1){d=c[e>>2]>>1;c[e>>2]=d+g;o=e+4|0;f=c[o>>2]>>1;c[o>>2]=f+b;a=a+-1|0;if(!a){b=f;break}else{g=d;b=f;e=e+8|0}}}c[186201]=d;c[186200]=b;return}function ENa(a,b){a=a|0;b=b|0;var d=0,e=0;if(!b)return;else d=0;do{e=d<<1;c[a+(d<<2)>>2]=(c[a+((e|1)<<2)>>2]|0)+(c[a+(e<<2)>>2]|0)>>1;d=d+1|0}while((d|0)!=(b|0));return}function FNa(a,b,c){a=a|0;b=b|0;c=c|0;return}function GNa(a){a=a|0;c[a+59680>>2]=0;c[a+59660>>2]=0;c[a+59664>>2]=0;c[a+59668>>2]=0;c[a+59684>>2]=0;c[a+59688>>2]=0;c[a+59792>>2]=0;c[a+59800>>2]=0;c[a+59796>>2]=0;c[a+59756>>2]=128;c[a+59752>>2]=128;c[a+59740>>2]=128;c[a+59764>>2]=32;c[a+59768>>2]=32767;c[a+59772>>2]=0;hBb(a|0,0,51904)|0;hBb(a+53344|0,-1,256)|0;hBb(a+51904|0,0,960)|0;hBb(a+59804|0,0,7680)|0;hBb(a+58496|0,0,1152)|0;return}function HNa(a){a=a|0;INa(a)|0;return}function INa(a){a=a|0;var b=0,d=0,e=0,f=0;e=0;do{b=a+51904+(e<<2)|0;d=c[b>>2]|0;if(d|0){aBb(d);c[b>>2]=0}e=e+1|0}while((e|0)!=240);c[a+59792>>2]=0;b=c[a+59800>>2]|0;if(b|0){aBb(b);c[a+59800>>2]=0}b=c[a+59796>>2]|0;if(!b)e=1;else{aBb(b);c[a+59796>>2]=0;e=1}do{b=a+33280+(e<<6)+20|0;d=c[b>>2]|0;if(d|0){Wpb(d+-16|0);c[b>>2]=0}e=e+1|0}while((e|0)!=240);e=0;do{b=a+48640+(e<<2)|0;d=c[b>>2]|0;if(d|0){oAb(d);c[b>>2]=0}e=e+1|0}while((e|0)!=240);f=0;do{b=a+58496+(f*144|0)+8|0;if(c[b>>2]|0){d=a+58496+(f*144|0)+12|0;e=c[d>>2]|0;if(e|0){c[b>>2]=0;aBb(e);c[d>>2]=0}}c[a+58496+(f*144|0)+4>>2]=0;b=a+58496+(f*144|0)|0;d=c[b>>2]|0;if(d|0){vi[c[(c[d>>2]|0)+12>>2]&2047](d)|0;c[b>>2]=0}f=f+1|0}while((f|0)!=8);c[a+59680>>2]=0;c[a+59688>>2]=0;c[a+59684>>2]=0;c[a+59664>>2]=0;return 1}function JNa(f,g,h){f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;c[o+4>>2]=g;c[o>>2]=h;c[f+59680>>2]=0;c[f+59660>>2]=0;c[f+59664>>2]=0;c[f+59668>>2]=0;c[f+59684>>2]=0;c[f+59688>>2]=0;c[f+59756>>2]=128;c[f+59752>>2]=128;c[f+59740>>2]=128;c[f+59656>>2]=256;c[f+59744>>2]=256;c[f+59760>>2]=0;c[f+59648>>2]=6;c[f+59652>>2]=125;c[f+59700>>2]=0;c[f+59704>>2]=0;c[f+59716>>2]=0;c[f+59716+4>>2]=0;c[f+59716+8>>2]=0;c[f+59716+12>>2]=0;c[f+59716+16>>2]=0;c[f+59716+20>>2]=0;c[f+59764>>2]=16;c[f+59768>>2]=32767;c[f+59748>>2]=48;hBb(f|0,0,49600)|0;c[f+59788>>2]=0;c[f+59788+4>>2]=0;c[f+59788+8>>2]=0;c[f+59788+12>>2]=0;hBb(f+53344|0,-1,256)|0;hBb(f+51904|0,0,960)|0;hBb(f+59804|0,0,7680)|0;hBb(f+58496|0,0,1152)|0;KNa(f);h=0;do{b[f+52864+(h<<1)>>1]=64;h=h+1|0}while((h|0)!=240);h=0;do{c[f+49600+(h*36|0)>>2]=128;c[f+49600+(h*36|0)+4>>2]=64;c[f+49600+(h*36|0)+8>>2]=0;a[f+49600+(h*36|0)+16>>0]=0;h=h+1|0}while((h|0)!=64);if(!g)j=0;else{h=LNa(o+4|0,o)|0;do if(!(NNa(f,c[o+4>>2]|0,c[o>>2]|0)|0))if(!($Na(f,c[o+4>>2]|0,c[o>>2]|0)|0))if(!(aOa(f,c[o+4>>2]|0,c[o>>2]|0)|0))if(!(dOa(f,c[o+4>>2]|0,c[o>>2]|0)|0))if(!(fOa(f,c[o+4>>2]|0,c[o>>2]|0)|0))if(!(UOa(f,c[o+4>>2]|0,c[o>>2]|0)|0))if(!(ZOa(f,c[o+4>>2]|0,c[o>>2]|0)|0))if(!($Oa(f,c[o+4>>2]|0,c[o>>2]|0)|0))if(!(aPa(f,c[o+4>>2]|0,c[o>>2]|0)|0))if(!(dPa(f,c[o+4>>2]|0,c[o>>2]|0)|0))if(!(ePa(f,c[o+4>>2]|0,c[o>>2]|0)|0))if(!(hPa(f,c[o+4>>2]|0,c[o>>2]|0)|0))if(!(jPa(f,c[o+4>>2]|0,c[o>>2]|0)|0))if(!(kPa(f,c[o+4>>2]|0,c[o>>2]|0)|0))if(!(lPa(f,c[o+4>>2]|0,c[o>>2]|0)|0))if(!(nPa(f,c[o+4>>2]|0,c[o>>2]|0)|0))if(!(oPa(f,c[o+4>>2]|0,c[o>>2]|0)|0)){if(pPa(f,c[o+4>>2]|0,c[o>>2]|0)|0)break;if(qPa(f,c[o+4>>2]|0,c[o>>2]|0)|0)break;if(rPa(f,c[o+4>>2]|0,c[o>>2]|0)|0)break;if(sPa(f,c[o+4>>2]|0,c[o>>2]|0)|0)break;if(uPa(f,c[o+4>>2]|0,c[o>>2]|0)|0)break;if(wPa(f,c[o+4>>2]|0,c[o>>2]|0)|0)break;if(xPa(f,c[o+4>>2]|0,c[o>>2]|0)|0)break;if(tPa(f,c[o+4>>2]|0,c[o>>2]|0)|0)break;c[f+59680>>2]=0}while(0);if(h){Wpb(c[o+4>>2]|0);c[o+4>>2]=0;j=0}else j=0}do{a[f+59804+(j<<5)+31>>0]=0;g=31;while(1){h=g+-1|0;a[f+59804+(j<<5)+g>>0]=0;if((g|0)<=0)break;if((a[f+59804+(j<<5)+h>>0]|0)<33)g=h;else break}if((g|0)>0)while(1){g=f+59804+(j<<5)+h|0;if((d[g>>0]|0)<32)a[g>>0]=32;if((h|0)>0)h=h+-1|0;else break}j=j+1|0}while((j|0)!=240);k=0;do{j=f+49600+(k*36|0)+4|0;if((c[j>>2]|0)>>>0>64)c[j>>2]=64;g=f+49600+(k*36|0)|0;h=c[g>>2]|0;if(h>>>0>256){c[g>>2]=128;h=128}c[f+(k<<8)+120>>2]=h;c[f+(k<<8)+168>>2]=c[j>>2];c[f+(k<<8)+36>>2]=c[f+49600+(k*36|0)+8>>2];c[f+(k<<8)+116>>2]=256;a[f+(k<<8)+238>>0]=127;k=k+1|0}while((k|0)!=64);l=0;m=f+33280|0;while(1){if(!(c[m+20>>2]|0)){c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;c[m+12>>2]=0;c[m+16>>2]=0;h=0;n=58}else{k=m+8|0;g=c[k>>2]|0;h=c[m>>2]|0;if(g>>>0>h>>>0){c[k>>2]=h;g=h}j=m+4|0;if(((c[j>>2]|0)+3|0)>>>0>=g>>>0){c[j>>2]=0;c[k>>2]=0;g=0}k=m+16|0;j=c[k>>2]|0;if(j>>>0>h>>>0)c[k>>2]=h;else h=j;j=m+12|0;if(((c[j>>2]|0)+3|0)>>>0>=h>>>0){c[j>>2]=0;c[k>>2]=0;h=0}if(!g)n=58}if((n|0)==58){n=0;k=m+34|0;b[k>>1]=e[k>>1]&65533}if(!h){k=m+34|0;b[k>>1]=e[k>>1]&65527}h=m+32|0;if((e[h>>1]|0)>64)b[h>>1]=64;l=l+1|0;if((l|0)==240)break;else m=m+64|0}h=c[f+59688>>2]|0;a:do if(h|0)do{if(c[f+48640+(h<<2)>>2]|0)break a;h=h+-1|0;c[f+59688>>2]=h}while((h|0)!=0);while(0);if((c[f+59748>>2]|0)>>>0<32)c[f+59748>>2]=32;h=c[f+59652>>2]|0;if(h>>>0<32){c[f+59652>>2]=125;h=125}g=c[f+59648>>2]|0;if(!g){c[f+59648>>2]=6;g=6}c[f+59708>>2]=g;c[f+59712>>2]=h;c[f+59744>>2]=c[f+59656>>2];c[f+59732>>2]=0;c[f+59728>>2]=0;c[f+59724>>2]=0;c[f+59676>>2]=0;c[f+59692>>2]=g;c[f+59716>>2]=0;c[f+59720>>2]=0;h=c[f+59736>>2]|0;if(h>>>0>255)n=75;else if((d[f+53344+h>>0]|0)>239)n=75;if((n|0)==75)c[f+59736>>2]=0;if(0){g=0;do{h=f+58496+(g*144|0)|0;if(!(c[f+58496+(g*144|0)+16>>2]|0)){if(c[f+58496+(g*144|0)+20>>2]|0)n=79}else n=79;if((n|0)==79){n=0;ba(h|0)|0;h=c[h>>2]|0;if(h|0)Hi[c[(c[h>>2]|0)+20>>2]&1023](h)}g=g+1|0}while((g|0)!=8)}if(!(c[f+59680>>2]|0)){f=0;i=o;return f|0}h=(c[f+59664>>2]<<3)+16|0;h=h>>>0>100?100:h;if((c[f+59748>>2]|0)>>>0<=h>>>0){f=1;i=o;return f|0}c[f+59748>>2]=h;f=1;i=o;return f|0}function KNa(b){b=b|0;var d=0;d=i;i=i+128|0;hBb(b+53600|0,0,4896)|0;a[b+53600>>0]=a[521433]|0;a[b+53600+1>>0]=a[521434]|0;a[b+53600+2>>0]=a[521435]|0;a[b+53632>>0]=a[521436]|0;a[b+53632+1>>0]=a[521437]|0;a[b+53632+2>>0]=a[521438]|0;a[b+53696>>0]=a[521439]|0;a[b+53696+1>>0]=a[521440]|0;a[b+53696+2>>0]=a[521441]|0;a[b+53696+3>>0]=a[521442]|0;a[b+53696+4>>0]=a[521443]|0;a[b+53696+5>>0]=a[521444]|0;a[b+53696+6>>0]=a[521445]|0;a[b+53728>>0]=a[521446]|0;a[b+53728+1>>0]=a[521447]|0;a[b+53728+2>>0]=a[521448]|0;a[b+53728+3>>0]=a[521449]|0;a[b+53728+4>>0]=a[521450]|0;a[b+53728+5>>0]=a[521451]|0;a[b+53728+6>>0]=a[521452]|0;a[b+53856>>0]=a[521453]|0;a[b+53856+1>>0]=a[521454]|0;a[b+53856+2>>0]=a[521455]|0;a[b+53856+3>>0]=a[521456]|0;a[b+53856+4>>0]=a[521457]|0;a[b+53888>>0]=70;a[b+53888+1>>0]=48;a[b+53888+2>>0]=70;a[b+53888+3>>0]=48;a[b+53888+4>>0]=48;a[b+53888+4+1>>0]=48;a[b+53888+4+2>>0]=122;a[b+53888+4+3>>0]=0;c[d>>2]=0;rmb(b+54400|0,521458,d)|0;c[d+8>>2]=8;rmb(b+54432|0,521458,d+8|0)|0;c[d+16>>2]=16;rmb(b+54464|0,521458,d+16|0)|0;c[d+24>>2]=24;rmb(b+54496|0,521458,d+24|0)|0;c[d+32>>2]=32;rmb(b+54528|0,521458,d+32|0)|0;c[d+40>>2]=40;rmb(b+54560|0,521458,d+40|0)|0;c[d+48>>2]=48;rmb(b+54592|0,521458,d+48|0)|0;c[d+56>>2]=56;rmb(b+54624|0,521458,d+56|0)|0;c[d+64>>2]=64;rmb(b+54656|0,521458,d+64|0)|0;c[d+72>>2]=72;rmb(b+54688|0,521458,d+72|0)|0;c[d+80>>2]=80;rmb(b+54720|0,521458,d+80|0)|0;c[d+88>>2]=88;rmb(b+54752|0,521458,d+88|0)|0;c[d+96>>2]=96;rmb(b+54784|0,521458,d+96|0)|0;c[d+104>>2]=104;rmb(b+54816|0,521458,d+104|0)|0;c[d+112>>2]=112;rmb(b+54848|0,521458,d+112|0)|0;c[d+120>>2]=120;rmb(b+54880|0,521458,d+120|0)|0;i=d;return}function LNa(f,g){f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;F=c[g>>2]|0;G=c[f>>2]|0;if(!(F>>>0<256|(G|0)==0))if((c[G>>2]|0)==808603728){h=d[G+(F+-3)>>0]<<8|d[G+(F+-4)>>0]<<16|d[G+(F+-2)>>0];if(!(h>>>0>F<<4>>>0|(h+-512|0)>>>0>4193792)){i=Vpb(h+31&33554416)|0;if(i|0){hBb(i|0,0,h+31&33554416|0)|0;MNa(G+4|0,F+-4|0,i,h);c[f>>2]=i;c[g>>2]=h;H=1;return H|0}}}if(!(F>>>0>255&(G|0)!=0)){H=0;return H|0}if((c[G>>2]|0)!=1129474426){H=0;return H|0}if((c[G+4>>2]|0)!=1634291279){H=0;return H|0}if((e[G+8>>1]|0)<14){H=0;return H|0}h=b[G+12>>1]|0;if(!(h<<16>>16)){H=0;return H|0}E=c[G+14>>2]|0;if((E+-16|0)>>>0>134217712){H=0;return H|0}i=c[G+18>>2]|0;if(i>>>0>=F>>>0){H=0;return H|0}if((i+((h&65535)<<2)|0)>>>0>F>>>0){H=0;return H|0}A=Vpb(E+31&-16)|0;if(!A){H=0;return H|0}hBb(A|0,0,E+31&-16|0)|0;B=G+(c[G+18>>2]|0)|0;a:do if(b[G+12>>1]|0){D=0;do{C=c[B+(D<<2)>>2]|0;k=G+(C+20)|0;if((C+20|0)>>>0>=F>>>0)break a;h=b[G+(C+12)>>1]|0;l=((h&65535)<<3)+(C+20)|0;if(l>>>0>=F>>>0)break a;i=e[G+(C+14)>>1]|0;b:do if(!(i&1)){if(h<<16>>16){m=0;while(1){h=c[k>>2]|0;if(h>>>0>E>>>0)break b;i=k+4|0;j=c[i>>2]|0;if((j+h|0)>>>0>E>>>0)break b;mBb(A+h|0,G+l|0,j|0)|0;m=m+1|0;if(m>>>0>=(e[G+(C+12)>>1]|0)>>>0)break;else{l=(c[i>>2]|0)+l|0;k=k+8|0}}}}else{j=c[k>>2]|0;o=e[G+(C+18)>>1]|0;h=G+((e[G+(C+16)>>1]|0)+l)|0;z=G+((c[G+(C+4)>>2]|0)+l)|0;if(!(i&4)){i=0;n=0;m=G+(C+24)|0;p=0;y=0;while(1){x=c[m>>2]|0;w=0;while(1){if(y>>>0>=(e[G+(C+12)>>1]|0)>>>0)break b;t=o+1|0;if(!t)m=0;else{if(n>>>0<24){s=23-n&-8;m=h;r=n;do{if(m>>>0>>0){v=m+1|0;q=d[m>>0]|0;h=v;m=v}else q=0;i=q<>>0<24);n=n+8+s|0}m=i&(1<>>t}u=c[45116+(o<<2)>>2]|0;do if(m>>>0>>0)H=106;else{v=c[45148+(o<<2)>>2]|0;if((o&-2|0)==6)q=0;else{if(n>>>0<24){t=23-n&-8;q=h;s=n;do{if(q>>>0>>0){I=q+1|0;r=d[q>>0]|0;h=I;q=I}else r=0;i=r<>>0<24);n=n+8+t|0}q=i&(1<>>v}m=(m-u<>>0<24){s=23-n&-8;m=h;r=n;do{if(m>>>0>>0){I=m+1|0;q=d[m>>0]|0;h=I;m=I}else q=0;i=q<>>0<24);n=n+8+s|0}q=i&7;i=i>>>3;m=n+-3|0;if((q|0)!=7){n=m;m=q|248;H=106;break}if(m>>>0<24){s=26-n&-8;q=h;do{if(q>>>0>>0){I=q+1|0;r=d[q>>0]|0;h=I;q=I}else r=0;i=r<>>0<24);m=n+5+s|0}if(!(i&1)){n=m+-1|0;i=i>>>1;m=255;H=107}else break b}while(0);if((H|0)==106){H=0;if(m>>>0<256)H=107;else q=w}if((H|0)==107){H=0;q=d[G+(m+l)>>0]|0;v=(b[G+(C+14)>>1]&2)==0;I=q+p|0;a[A+(j+w)>>0]=v?q:I;q=w+1|0;p=v?p:I}if(q>>>0>>0)w=q;else{j=n;break}}I=y+1|0;n=j;j=c[k+(I<<3)>>2]|0;m=k+(I<<3)+4|0;y=I}}else{i=0;p=0;l=G+(C+24)|0;m=o;n=0;x=0}while(1){w=A+j|0;v=(c[l>>2]|0)>>>1;l=p;u=0;while(1){if(x>>>0>=(e[G+(C+12)>>1]|0)>>>0)break b;r=m+1|0;if(!r)j=0;else{if(l>>>0<24){q=23-l&-8;j=h;p=l;do{if(j>>>0>>0){I=j+1|0;o=d[j>>0]|0;h=I;j=I}else o=0;i=o<>>0<24);l=l+8+q|0}j=i&(1<>>r}s=c[44988+(m<<2)>>2]|0;do if(j>>>0>>0)H=60;else{t=c[45052+(m<<2)>>2]|0;if((m+-7|0)>>>0<9)o=0;else{if(l>>>0<24){r=23-l&-8;o=h;q=l;do{if(o>>>0>>0){I=o+1|0;p=d[o>>0]|0;h=I;o=I}else p=0;i=p<>>0<24);l=l+8+r|0}o=i&(1<>>t}o=(j-s<>>0<24){q=23-l&-8;j=h;p=l;do{if(j>>>0>>0){I=j+1|0;o=d[j>>0]|0;h=I;j=I}else o=0;i=o<>>0<24);l=l+8+q|0}o=i&15;i=i>>>4;j=l+-4|0;if((o|0)!=15){l=j;j=o|65520;H=60;break}if(j>>>0<24){q=27-l&-8;o=h;do{if(o>>>0>>0){I=o+1|0;p=d[o>>0]|0;h=I;o=I}else p=0;i=p<>>0<24);j=l+4+q|0}if(!(i&1)){i=i>>>1;l=j+-1|0;j=65535;H=62}else break b}while(0);do if((H|0)==60){H=0;if(j>>>0>=65536){j=l;p=u;break}if(j&1|0){H=62;break}o=j>>>1;H=64}while(0);if((H|0)==62){o=0-((j+1|0)>>>1)|0;H=64}if((H|0)==64){H=0;j=e[G+(C+14)>>1]|0;if(!(j&2))j=(j&512|0)==0?o^32768:o;else{n=o+n|0;j=n}b[w+(u<<1)>>1]=j;j=l;p=u+1|0}if(p>>>0>>0){l=j;u=p}else break}I=x+1|0;p=j;j=c[k+(I<<3)>>2]|0;l=k+(I<<3)+4|0;x=I}}while(0);D=D+1|0}while(D>>>0<(e[G+12>>1]|0)>>>0)}while(0);c[f>>2]=A;c[g>>2]=E;I=1;return I|0}function MNa(b,c,e,f){b=b|0;c=c|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;j=a[b+(c+-1)>>0]|0;if(!(j<<24>>24)){h=0;c=b+(c+-4)|0;g=0}else{g=0;h=0;c=b+(c+-4)|0;i=0;do{if(!h){c=(c|0)==(b|0)?c:c+-1|0;g=d[c>>0]|0;h=8}g=g>>>1;h=h+-1|0;i=i+1|0}while((i|0)!=(j&255|0))}if(!f)return;else k=f;a:while(1){if(!h){c=(c|0)==(b|0)?c:c+-1|0;g=d[c>>0]|0;h=8}i=g>>>1;h=h+-1|0;if(!(g&1)){l=1;while(1){if(l>>>0>=k>>>0)break;if(!h){c=(c|0)==(b|0)?c:c+-1|0;h=d[c>>0]|0;j=h;h=h>>>1;g=7}else{g=h+-1|0;if(!g){c=(c|0)==(b|0)?c:c+-1|0;j=i;h=d[c>>0]|0;g=8}else{j=i;h=i>>>1}}o=h&1|j<<1&2;i=h>>>1;h=g+-1|0;g=o+l|0;if((o|0)==3)l=g;else{l=g;break}}if(!l)g=k;else{n=0;o=k;do{if(!h){c=(c|0)==(b|0)?c:c+-1|0;j=d[c>>0]|0;h=j;j=j>>>1;i=7}else{g=h+-1|0;if(!g){c=(c|0)==(b|0)?c:c+-1|0;h=i;j=d[c>>0]|0;i=8}else{h=i;j=i>>>1;i=g}}g=j&1|h<<1&2;do if((i|0)==1){c=(c|0)==(b|0)?c:c+-1|0;h=d[c>>0]|0;g=h&1|g<<1;i=6;h=h>>>1;m=50}else{g=j>>>1&1|g<<1;if((i|0)==2){h=(c|0)==(b|0)?c:c+-1|0;c=h;i=7;h=d[h>>0]|0;m=50;break}g=j>>>2&1|g<<1;h=i+-3|0;if(!h){c=(c|0)==(b|0)?c:c+-1|0;h=d[c>>0]|0;g=h&1|g<<1;i=6;h=h>>>1;m=55}else{j=j>>>3;m=53}}while(0);if((m|0)==50){g=h&1|g<<1;j=h>>>1;h=i;m=53}do if((m|0)==53){m=0;g=j&1|g<<1;if((h|0)==1){h=(c|0)==(b|0)?c:c+-1|0;c=h;i=7;h=d[h>>0]|0;m=55;break}g=j>>>1&1|g<<1;i=h+-2|0;if(!i){c=(c|0)==(b|0)?c:c+-1|0;j=d[c>>0]|0;g=j&1|g<<1;j=j>>>1;h=7}else{j=j>>>2;m=58}}while(0);if((m|0)==55){g=h&1|g<<1;j=h>>>1;m=58}if((m|0)==58){g=j&1|g<<1;h=i+-1|0;if(!h){c=(c|0)==(b|0)?c:c+-1|0;j=d[c>>0]|0;h=8}else j=j>>>1}i=j>>>1;h=h+-1|0;o=o+-1|0;a[e+o>>0]=j&1|g<<1;n=n+1|0}while((n|0)!=(l|0));g=k-l|0}if(!g){m=42;break}else k=g}if(!h){c=(c|0)==(b|0)?c:c+-1|0;i=d[c>>0]|0;h=i;i=i>>>1;j=7}else{g=h+-1|0;if(!g){c=(c|0)==(b|0)?c:c+-1|0;h=i;i=d[c>>0]|0;j=8}else{h=i;i=i>>>1;j=g}}m=i&1|h<<1&2;g=i>>>1;h=j+-1|0;l=a[b+m>>0]|0;b:do if((m+1|0)==4){if(!h){i=(c|0)==(b|0)?c:c+-1|0;c=i;i=d[i>>0]|0;h=8}else i=g;g=i>>>1;h=h+-1|0;l=i&1|0?l&255:7;if(!l)l=0;else{j=0;i=0;do{if(!h){g=(c|0)==(b|0)?c:c+-1|0;h=8;c=g;g=d[g>>0]|0}i=g&1|i<<1;g=g>>>1;h=h+-1|0;j=j+1|0}while((j|0)!=(l|0));l=i}n=4;while(1){if(n>>>0>=k>>>0){m=n;break b}if(!h){c=(c|0)==(b|0)?c:c+-1|0;j=d[c>>0]|0;m=j;j=j>>>1;h=7}else{h=h+-1|0;if(!h){c=(c|0)==(b|0)?c:c+-1|0;m=g;j=d[c>>0]|0;h=8}else{m=g;j=g>>>1}}g=h+-1|0;if(!g){c=(c|0)==(b|0)?c:c+-1|0;h=d[c>>0]|0;i=8}else{h=j>>>1;i=g}o=h&1|(j&1|m<<1&2)<<1;g=h>>>1;h=i+-1|0;i=o+n|0;if((o|0)==7)n=i;else{m=i;break}}}else if(!(l<<24>>24)){m=m+1|0;l=0}else{j=0;i=0;do{if(!h){c=(c|0)==(b|0)?c:c+-1|0;g=d[c>>0]|0;h=8}i=g&1|i<<1;g=g>>>1;h=h+-1|0;j=j+1|0}while((j|0)!=(l&255|0));m=m+1|0;l=i}while(0);i=0;while(1){j=k+l|0;if(j>>>0>>0)j=d[e+j>>0]|0;else j=0;k=k+-1|0;a[e+k>>0]=j;i=i+1|0;if(!k){m=42;break a}if(i>>>0>m>>>0)continue a}}if((m|0)==42)return}function NNa(f,g,h){f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;J=i;i=i+1312|0;c[f+59664>>2]=0;if((g|0)==0|h>>>0<512){f=0;i=J;return f|0}if(Anb(g,527070,15)|0){f=0;i=J;return f|0}F=f+59804|0;D=g+17|0;E=F+20|0;do{a[F>>0]=a[D>>0]|0;F=F+1|0;D=D+1|0}while((F|0)<(E|0));r=d[g+60>>0]|d[g+60+1>>0]<<8|d[g+60+2>>0]<<16|d[g+60+3>>0]<<24;q=d[g+64>>0]|d[g+64+1>>0]<<8;j=d[g+66>>0]|d[g+66+1>>0]<<8;k=d[g+68>>0]|d[g+68+1>>0]<<8;m=d[g+70>>0]|d[g+70+1>>0]<<8;l=d[g+72>>0]|d[g+72+1>>0]<<8;n=d[g+74>>0]|d[g+74+1>>0]<<8;o=d[g+76>>0]|d[g+76+1>>0]<<8;p=d[g+78>>0]|d[g+78+1>>0]<<8;if(!(q<<16>>16)){f=0;i=J;return f|0}if((q&65535)>256|(k+-1&65535)>63){f=0;i=J;return f|0}c[f+59680>>2]=4;c[f+59764>>2]=27;c[f+59768>>2]=54784;c[f+59664>>2]=k&65535;if((j&65535)<(q&65535))c[f+59736>>2]=j&65535;I=(l&65535)>239?239:l&65535;c[f+59688>>2]=I;c[f+59684>>2]=0;if(n&1|0)c[f+59660>>2]=c[f+59660>>2]|16;if(n&4096|0)c[f+59660>>2]=c[f+59660>>2]|32768;if((p+-32&65535)<224)c[f+59652>>2]=p&65535;if((o+-1&65535)<39)c[f+59648>>2]=o&65535;mBb(f+53344|0,g+80|0,q&65535|0)|0;hBb(J+1024|0,0,256)|0;u=(m&65535)>256?256:m&65535;if(u>>>0>240){k=0;do{j=d[f+53344+k>>0]|0;if(j>>>0>>0)a[J+1024+j>>0]=1;k=k+1|0}while((k|0)!=(q&65535|0));k=0;j=0;do{if(a[J+1024+k>>0]|0){a[J+768+k>>0]=j;j=j+1|0}k=k+1|0}while((k|0)!=256);k=0;do{if(!(a[J+1024+k>>0]|0)){a[J+768+k>>0]=j>>>0<240?j&255:-2;j=j+1|0}k=k+1|0}while((k|0)!=256);j=0;do{H=f+53344+j|0;a[H>>0]=a[J+768+(d[H>>0]|0)>>0]|0;j=j+1|0}while((j|0)!=(q&65535|0))}else{j=0;do{a[J+768+j>>0]=j;j=j+1|0}while((j|0)!=256)}hBb(J+1024|0,0,256)|0;if((r+68|0)>>>0>=h>>>0){f=1;i=J;return f|0}a:do if(!u)j=r+60|0;else{j=r+60|0;t=0;while(1){l=a[J+768+t>>0]|0;k=j;while(1){H=c[g+k>>2]|0;j=H+k|0;if((k+4|0)>>>0>>0&(H>>>0>255|j>>>0>=h>>>0))k=k+1|0;else break}s=b[g+(k+5)>>1]|0;s=(s+-1&65535)>255?64:s;r=b[g+(k+7)>>1]|0;if((j+4|0)>>>0>h>>>0){j=1;v=214;break}if(((r&65535)+j+4|0)>>>0>h>>>0){j=1;v=214;break}if((l&255)<240){b[f+52864+((l&255)<<1)>>1]=s;k=ONa(s&65535,c[f+59664>>2]|0)|0;c[f+51904+((l&255)<<2)>>2]=k;if(!k){j=1;v=214;break}if(r<<16>>16)v=37}else{k=0;v=37}if((v|0)==37){v=0;if(!(s<<16>>16))j=(r&65535)+j|0;else{m=0;q=0;while(1){l=c[f+59664>>2]|0;b:do if(!l)l=m;else{p=0;n=m;while(1){m=n>>>0<(r&65535)>>>0;do if((k|0)!=0&m){l=n+1|0;o=a[g+(n+j)>>0]|0;do if(!(o&128)){a[k>>0]=o;a[k+1>>0]=a[g+(l+j)>>0]|0;H=d[g+(j+2+n)>>0]|0;a[k+3>>0]=a[g+(j+3+n)>>0]|0;a[k+5>>0]=a[g+(j+4+n)>>0]|0;o=n+5|0;n=H}else{if(o&1){a[k>>0]=a[g+(l+j)>>0]|0;l=n+2|0}if(o&2){a[k+1>>0]=a[g+(l+j)>>0]|0;l=l+1|0}if(!(o&4)){m=l;n=0}else{m=l+1|0;n=d[g+(l+j)>>0]|0}if(!(o&8))l=m;else{a[k+3>>0]=a[g+(m+j)>>0]|0;l=m+1|0}if(!(o&16)){o=l;break}a[k+5>>0]=a[g+(l+j)>>0]|0;o=l+1|0}while(0);l=a[k>>0]|0;c:do switch(l<<24>>24){case 97:{a[k>>0]=-1;break}case 0:break;default:{if((l&255)>=97)break c;a[k>>0]=(l&255)+12}}while(0);if((a[k+5>>0]|a[k+3>>0])<<24>>24)PNa(f,k);l=k+1|0;m=a[l>>0]|0;switch(m<<24>>24){case -1:{a[l>>0]=0;break}case 0:break;default:a[J+1024+(m&255)>>0]=1}d:do if((n+-16|0)>>>0<65){a[k+2>>0]=1;a[k+4>>0]=n+240}else{if(n>>>0<=95)break;l=n&15;m=k+4|0;a[m>>0]=l;do switch(n&240|0){case 96:{a[k+2>>0]=4;break d}case 112:{a[k+2>>0]=3;break d}case 128:{a[k+2>>0]=6;break d}case 144:{a[k+2>>0]=5;break d}case 160:{a[k+2>>0]=7;break d}case 176:{a[k+2>>0]=8;break d}case 192:{a[k+2>>0]=2;a[m>>0]=l<<2|2;break d}case 208:{a[k+2>>0]=9;break d}case 224:{a[k+2>>0]=10;break d}case 240:{a[k+2>>0]=11;break d}default:break d}while(0)}while(0);l=c[f+59664>>2]|0;m=o;k=k+6|0}else{if(!m){l=n;break b}m=d[g+(n+j)>>0]|0;if(!(m&128)){m=n+5|0;break}else{m=n+1+(m&1)+(m>>>1&1)+(m>>>2&1)+(m>>>3&1)+(m>>>4&1)|0;break}}while(0);p=p+1|0;if(p>>>0>=l>>>0){l=m;break}else n=m}}while(0);q=q+1|0;if((q|0)==(s&65535|0)){j=(r&65535)+j|0;break}else m=l}}}t=t+1|0;if(t>>>0>=u>>>0)break a}if((v|0)==214){i=J;return j|0}}while(0);e:do if((j+4|0)>>>0>>0){k=j;while(1){if((c[g+k>>2]|0)>>>0<768){j=k;break e}j=k+1|0;if((k+5|0)>>>0>>0)k=j;else break}}while(0);hBb(J+528|0,0,240)|0;f:do if(I){H=1;k=0;g:while(1){l=j+29|0;if(l>>>0>=h>>>0)break;m=g+j|0;m=d[m>>0]|d[m+1>>0]<<8|d[m+2>>0]<<16|d[m+3>>0]<<24;v=m+j|0;if(v>>>0>h>>>0)break;F=YAb(632)|0;u=f+48640+(H<<2)|0;c[u>>2]=F;hBb(F|0,0,632)|0;F=F+585|0;D=g+(j+4)|0;E=F+22|0;do{a[F>>0]=a[D>>0]|0;F=F+1|0;D=D+1|0}while((F|0)<(E|0));G=a[g+(j+27)>>0]|0;if(!(G<<24>>24))j=(m|0)==0?l:v;else{if((j+234|0)>>>0>h>>>0)break;mBb(J+256|0,g+l|0,234)|0;F=J;E=F+128|0;do{c[F>>2]=0;F=F+4|0}while((F|0)<(E|0));if((G&255)>32)break;r=c[f+59684>>2]|0;s=H>>>0>1;n=r;t=0;while(1){q=t+1|0;l=q+n|0;h:do if(l>>>0>239){i:do if(n|0){j:do if(!t){l=n;while(1){if(!(c[f+33280+(l<<6)+20>>2]|0))break j;l=l+-1|0;if(!l)break i}}else{l=n;while(1){k:do if(!(c[f+33280+(l<<6)+20>>2]|0)){m=0;while(1){if((c[J+(m<<2)>>2]|0)==(l|0))break k;m=m+1|0;if(m>>>0>=t>>>0)break j}}while(0);l=l+-1|0;if(!l)break i}}while(0);if(s)o=1;else break h;while(1){m=c[f+48640+(o<<2)>>2]|0;if(m|0){p=0;do{n=m+300+p|0;if((d[n>>0]|0)==(l|0))a[n>>0]=0;p=p+1|0}while((p|0)!=128)}o=o+1|0;if((o|0)==(H|0))break h}}while(0);if(!k){k=QNa(f,J+528|0)|0;k=k|0?k:65535}if((k|0)<65535)switch(k|0){case 0:{l=0;break h}default:{}}else switch(k|0){case 65535:{l=0;break h}default:{}}l=c[f+59684>>2]|0;if(!l){l=0;break}while(1){m=J+528+l|0;if(!(a[m>>0]|0))break;l=l+-1|0;if(!l){l=0;break h}}k=k+-1|0;a[m>>0]=1;RNa(f,l)|0;if(t|0){n=0;do{m=J+(n<<2)|0;if((c[m>>2]|0)==(l|0))c[m>>2]=0;n=n+1|0}while((n|0)!=(t|0))}if(s){o=1;do{m=c[f+48640+(o<<2)>>2]|0;if(m|0){p=0;do{n=m+300+p|0;if((d[n>>0]|0)==(l|0))a[n>>0]=0;p=p+1|0}while((p|0)!=128)}o=o+1|0}while((o|0)!=(H|0))}F=f+33280+(l<<6)|0;E=F+64|0;do{c[F>>2]=0;F=F+4|0}while((F|0)<(E|0))}while(0);m=r>>>0>>0?l:r;c[J+(t<<2)>>2]=l;if((q|0)==(G&255|0))break;n=c[f+59684>>2]|0;t=q;r=m}c[f+59684>>2]=m;q=c[u>>2]|0;a[q+580>>0]=a[g+(j+26)>>0]|0;c[q>>2]=e[J+256+210>>1];b[q+10>>1]=128;a[q+584>>0]=60;j=b[J+256+204>>1]|0;if(j&1)c[q+4>>2]=c[q+4>>2]|1;if(j&2)c[q+4>>2]=c[q+4>>2]|2;if(j&4)c[q+4>>2]=c[q+4>>2]|4;if((j&65535)>>>8&1)c[q+4>>2]=c[q+4>>2]|8;if((j&65535)>>>8&2)c[q+4>>2]=c[q+4>>2]|16;if((j&65535)>>>8&4)c[q+4>>2]=c[q+4>>2]|32;m=c[J+256+196>>2]|0;j=(e[J+256+196>>1]|0)>>>8&255;if((m&255)>12){a[J+256+196>>0]=12;l=12}else l=m&255;if(((m&65535)>>>8&255)>12){a[J+256+197>>0]=12;j=12}a[q+556>>0]=l;if(!(l<<24>>24))c[q+4>>2]=c[q+4>>2]&-2;if(!(j<<24>>24))c[q+4>>2]=c[q+4>>2]&-9;a[q+557>>0]=j;a[q+562>>0]=m>>>16;a[q+561>>0]=m>>>16;if((m>>>16&255)>11)c[q+4>>2]=c[q+4>>2]&-3;a[q+559>>0]=m>>>24;j=b[J+256+200>>1]|0;l=c[J+256+200>>2]|0;F=(l&255)>11?0:l&255;a[q+560>>0]=F;if((m>>>24&255)>=(F&255))c[q+4>>2]=c[q+4>>2]&-5;a[q+566>>0]=(l&65535)>>>8;a[q+565>>0]=(l&65535)>>>8;if(((j&65535)>>>8&255)>11)c[q+4>>2]=c[q+4>>2]&-17;a[q+563>>0]=l>>>16;F=(l>>>24&255)>11?0:l>>>24&255;a[q+564>>0]=F;if((l>>>16&255)>=(F&255))c[q+4>>2]=c[q+4>>2]&-33;b[q+8>>1]=64;p=0;while(1){F=p<<1;j=q+12+(p<<1)|0;b[j>>1]=b[J+256+100+(F<<1)>>1]|0;a[q+204+p>>0]=b[J+256+100+((F|1)<<1)>>1];o=q+76+(p<<1)|0;b[o>>1]=b[J+256+148+(F<<1)>>1]|0;a[q+236+p>>0]=b[J+256+148+((F|1)<<1)>>1];if(!p){p=1;continue}l=b[j>>1]|0;n=p+-1|0;m=b[q+12+(n<<1)>>1]|0;do if((l&65535)<(m&65535)){b[j>>1]=m&65280|l&255;if((m&65280|l&255)>>>0>=(m&65535)>>>0)break;b[j>>1]=(m&65280|l&255)+256}while(0);l=b[o>>1]|0;j=b[q+76+(n<<1)>>1]|0;do if((l&65535)<(j&65535)){b[o>>1]=j&65280|l&255;if((j&65280|l&255)>>>0>=(j&65535)>>>0)break;b[o>>1]=(j&65280|l&255)+256}while(0);p=p+1|0;if((p|0)==12){m=0;break}}do{j=m+12|0;a[q+428+j>>0]=m+13;l=a[J+256+4+m>>0]|0;m=m+1|0;if((l&255)<(G&255))a[q+300+j>>0]=c[J+((l&255)<<2)>>2]}while((m|0)!=96);A=c[J+256>>2]|0;B=b[J+256+206>>1]|0;C=b[J+256+208>>1]|0;l=v;z=0;while(1){if((l+40|0)>>>0>h>>>0)break g;j=A+l|0;if(j>>>0>h>>>0)break g;t=g+l|0;t=d[t>>0]|d[t+1>>0]<<8|d[t+2>>0]<<16|d[t+3>>0]<<24;m=g+(l+4)|0;m=d[m>>0]|d[m+1>>0]<<8|d[m+2>>0]<<16|d[m+3>>0]<<24;n=g+(l+8)|0;n=d[n>>0]|d[n+1>>0]<<8|d[n+2>>0]<<16|d[n+3>>0]<<24;u=a[g+(l+12)>>0]|0;v=a[g+(l+13)>>0]|0;p=a[g+(l+14)>>0]|0;w=a[g+(l+15)>>0]|0;x=a[g+(l+16)>>0]|0;y=a[g+(l+17)>>0]|0;F=J+1280|0;D=g+(l+18)|0;E=F+22|0;do{a[F>>0]=a[D>>0]|0;F=F+1|0;D=D+1|0}while((F|0)<(E|0));q=J+496+z|0;a[q>>0]=((p&32)>>>2|2)+((p&16)>>>3);r=J+128+(z<<2)|0;c[r>>2]=t;s=c[J+(z<<2)>>2]|0;if(s|0){if(!(p&16))l=t;else{l=t>>>1;m=m>>>1;n=n>>>1}if(p&32){l=l>>>1;m=m>>>1;n=n>>>1}o=l>>>0>16e6?16e6:l;l=m>>>0>>0?p:p&252;n=n+m|0;n=n>>>0>o>>>0?o:n;if(!n)l=l&252;F=f+59804+(s<<5)|0;D=J+1280|0;E=F+22|0;do{a[F>>0]=a[D>>0]|0;F=F+1|0;D=D+1|0}while((F|0)<(E|0));a[f+59804+(s<<5)+22>>0]=0;c[f+33280+(s<<6)>>2]=o;c[f+33280+(s<<6)+4>>2]=m;c[f+33280+(s<<6)+8>>2]=n;if(m>>>0>=n>>>0){c[f+33280+(s<<6)+8>>2]=0;c[f+33280+(s<<6)+4>>2]=0}l=l&255;if(l&3|0)b[f+33280+(s<<6)+34>>1]=e[f+33280+(s<<6)+34>>1]|2;if(l&2|0)b[f+33280+(s<<6)+34>>1]=e[f+33280+(s<<6)+34>>1]|4;b[f+33280+(s<<6)+30>>1]=(u&255)<<2>>>0>256?256:(u&255)<<2&65535;b[f+33280+(s<<6)+32>>1]=64;if(y<<24>>24==-83&(l&48|0)==0){a[q>>0]=3;c[r>>2]=((t+1|0)>>>1)+16}a[f+33280+(s<<6)+37>>0]=v;a[f+33280+(s<<6)+36>>0]=x;b[f+33280+(s<<6)+28>>1]=w&255;b[f+33280+(s<<6)+34>>1]=e[f+33280+(s<<6)+34>>1]|32;a[f+33280+(s<<6)+38>>0]=B;a[f+33280+(s<<6)+39>>0]=(B&65535)>>>8;a[f+33280+(s<<6)+40>>0]=C;a[f+33280+(s<<6)+41>>0]=(C&65535)>>>8;F=f+33280+(s<<6)+42|0;D=J+1280|0;E=F+22|0;do{a[F>>0]=a[D>>0]|0;F=F+1|0;D=D+1|0}while((F|0)<(E|0));a[f+33280+(s<<6)+63>>0]=0}z=z+1|0;if(z>>>0>=(G&255)>>>0){n=0;break}else l=j}do{m=c[J+(n<<2)>>2]|0;l=c[J+128+(n<<2)>>2]|0;do if(m|0){if(!(j>>>0>>0&(l|0)!=0))break;SNa(f,f+33280+(m<<6)|0,d[J+496+n>>0]|0,g+j|0,h-j|0)|0}while(0);j=l+j|0;n=n+1|0}while(j>>>0>>0&n>>>0<(G&255)>>>0)}H=H+1|0;if(H>>>0>I>>>0)break f}f=1;i=J;return f|0}while(0);k=j+8|0;if(k>>>0>>0)if((c[g+j>>2]|0)==1954047348){j=c[g+(j+4)>>2]|0;if(j>>>0<16384&(j+k|0)>>>0<=h>>>0){I=_Ab(j+1|0)|0;c[f+59796>>2]=I;mBb(I|0,g+k|0,j|0)|0;a[I+j>>0]=0;k=j+k|0}}else k=j;else k=j;j=k+8|0;if(j>>>0>>0)if((c[g+k>>2]|0)==1229211981){if((c[g+(k+4)>>2]|0)==4896){mBb(f+53600|0,g+j|0,4896)|0;c[f+59660>>2]=c[f+59660>>2]|1}}else j=k;else j=k;k=j+8|0;if(k>>>0>>0)if((c[g+j>>2]|0)==1296125520){j=c[g+(j+4)>>2]|0;if((j+-32|0)>>>0<7649&(j+k|0)>>>0<=h>>>0){I=_Ab(j)|0;c[f+59800>>2]=I;c[f+59792>>2]=j>>>5;mBb(I|0,g+k|0,j|0)|0;k=j+k|0}}else k=j;else k=j;j=k+8|0;do if(j>>>0>>0)if((c[g+k>>2]|0)==1296125507){k=c[g+(k+4)>>2]|0;if(!(k>>>0<1281&(k+j|0)>>>0<=h>>>0))break;if(k>>>0>19)l=0;else{j=k+j|0;break}do{F=f+49600+(l*36|0)+16|0;D=g+((l*20|0)+j)|0;E=F+20|0;do{a[F>>0]=a[D>>0]|0;F=F+1|0;D=D+1|0}while((F|0)<(E|0));a[f+49600+(l*36|0)+35>>0]=0;l=l+1|0}while(l>>>0<((k>>>0)/20|0)>>>0);j=k+j|0}else j=k;else j=k;while(0);if((j+8|0)>>>0>=h>>>0){f=1;i=J;return f|0}_Na(f,g+j|0,h-j|0)|0;f=1;i=J;return f|0}function ONa(a,b){a=a|0;b=b|0;b=_(b,a)|0;a=_Ab(b>>>0>715827882?-1:b*6|0)|0;hBb(a|0,0,b*6|0)|0;return a|0}function PNa(b,e){b=b|0;e=e|0;var f=0,g=0;g=a[e+5>>0]|0;do switch(d[e+3>>0]|0|0){case 0:{b=g<<24>>24!=0&1;f=g&255;break}case 1:{b=2;f=g&255;break}case 2:{b=3;f=g&255;break}case 3:{b=4;f=g&255;break}case 4:{b=5;f=g&255;break}case 5:{b=6;f=(g&240|0)==0?g&255:g&240;break}case 6:{b=7;f=(g&240|0)==0?g&255:g&240;break}case 7:{b=8;f=g&255;break}case 8:{b=9;f=g&255;break}case 9:{b=10;f=g&255;break}case 10:{b=11;f=(g&240|0)==0?g&255:g&240;break}case 11:{b=12;f=g&255;break}case 12:{b=13;f=g&255;break}case 13:{b=14;f=(((g&255)>>>4)*10|0)+(g&15)|0;break}case 14:{b=19;f=g&255;break}case 15:{f=(g&255)>>>0<=(c[b+59680>>2]&1048580|0?31:32)>>>0?16:17;if(g<<24>>24==-1){b=(c[b+59684>>2]|0)==15?0:f;f=g&255}else{b=f;f=g&255}break}case 16:{b=23;f=g&255;break}case 17:{b=24;f=(g&240|0)==0?g&255:g&240;break}case 20:{b=25;f=g&255;break}case 21:{b=30;f=g&255;break}case 22:{b=21;f=g&255;break}case 23:{b=22;f=g&255;break}case 25:{b=29;f=(g&240|0)==0?g&255:g&240;break}case 27:{b=15;f=g&255;break}case 29:{b=18;f=g&255;break}case 33:{b=28;f=g&255;break}case 34:{b=27;f=g&255;break}case 35:{b=31;f=g&255;break}default:{b=0;f=g&255}}while(0);a[e+3>>0]=b;a[e+5>>0]=f;return}function QNa(b,d){b=b|0;d=d|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;if(!d){b=0;return b|0}if(!(c[b+59688>>2]|0)){b=0;return b|0}hBb(d|0,0,240)|0;l=0;do{f=c[b+51904+(l<<2)>>2]|0;if(f|0){k=_(e[b+52864+(l<<1)>>1]|0,c[b+59664>>2]|0)|0;if(k|0){m=0;while(1){j=a[f>>0]|0;do if(j<<24>>24)if((j&255)<121){g=a[f+1>>0]|0;if((g+-1&255)<239){g=c[b+48640+((g&255)<<2)>>2]|0;if(!g)break;g=a[(j&255)+-1+(g+300)>>0]|0;if((g&255)>=240)break;a[d+(g&255)>>0]=1;break}h=c[b+59688>>2]|0;if(h|0){i=1;do{g=c[b+48640+(i<<2)>>2]|0;if(g|0){g=a[g+300+((j&255)+-1)>>0]|0;if((g&255)<240)a[d+(g&255)>>0]=1}i=i+1|0}while(i>>>0<=h>>>0)}}while(0);m=m+1|0;if((m|0)==(k|0))break;else f=f+6|0}}}l=l+1|0}while((l|0)!=240);g=c[b+59684>>2]|0;if(!g){b=0;return b|0}else{h=1;f=0}do{if(!(a[d+h>>0]|0))f=((c[b+33280+(h<<6)+20>>2]|0)!=0&1)+f|0;h=h+1|0}while(h>>>0<=g>>>0);return f|0}function RNa(a,d){a=a|0;d=d|0;var f=0,g=0;if((d+-1|0)>>>0>238){a=0;return a|0}g=c[a+33280+(d<<6)+20>>2]|0;if(!g){a=1;return a|0}c[a+33280+(d<<6)+20>>2]=0;c[a+33280+(d<<6)>>2]=0;b[a+33280+(d<<6)+34>>1]=(e[a+33280+(d<<6)+34>>1]|0)&65534;f=0;do{d=a+(f<<8)+96|0;if((c[d>>2]|0)==(g|0)){c[a+(f<<8)+32>>2]=0;c[a+(f<<8)+4>>2]=0;c[a+(f<<8)>>2]=0;c[d>>2]=0}f=f+1|0}while((f|0)!=128);Wpb(g+-16|0);a=1;return a|0}function SNa(f,g,h,j,k){f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=i;i=i+16|0;l=c[g>>2]|0;if(!g){g=0;i=u;return g|0}if(!((j|0)!=0&(l|0)>3)){g=0;i=u;return g|0}if(l>>>0>16e6){c[g>>2]=16e6;s=16e6}else s=l;b[g+34>>1]=(h&8)<<3|(e[g+34>>1]&65470|h>>>2&1);t=Vpb((l+6<<(h>>>2&1)<<((h&8)>>>3))+39&-8)|0;if(!t){c[g+20>>2]=0;c[g>>2]=0;g=0;i=u;return g|0}hBb(t|0,0,(l+6<<(h>>>2&1)<<((h&8)>>>3))+39&-8|0)|0;c[g+20>>2]=t+16;a:do switch(h|0){case 1:{if(s>>>0>k>>>0){c[g>>2]=k;l=k}else l=s;if(!l){l=0;q=86}else{m=0;do{a[t+(m+16)>>0]=(d[j+m>>0]|0)+128;m=m+1|0}while((m|0)!=(l|0));q=86}break}case 2:{if(s>>>0>k>>>0){l=s;q=86}else if(!s){l=0;q=86}else{m=0;n=0;l=t+16|0;while(1){m=(a[j+n>>0]|0)+m|0;a[l>>0]=m;n=n+1|0;if((n|0)==(s|0)){l=s;q=86;break}else l=l+1|0}}break}case 3:{l=(s+1|0)>>>1;if(l>>>0>(k+-16|0)>>>0)q=86;else{m=f+67484|0;n=j;o=m+16|0;do{a[m>>0]=a[n>>0]|0;m=m+1|0;n=n+1|0}while((m|0)<(o|0));if(l|0){m=0;n=0;o=c[g+20>>2]|0;while(1){t=d[j+(n+16)>>0]|0;h=(d[(t&15)+(f+67484)>>0]|0)+m|0;a[o>>0]=h;m=(h&255)+(d[(t>>>4)+(f+67484)>>0]|0)|0;a[o+1>>0]=m;n=n+1|0;if((n|0)==(l|0))break;else o=o+2|0}}l=l+16|0;q=86}break}case 4:{l=s<<1;if(l>>>0>k>>>0)q=86;else if(!l){l=0;q=86}else{o=0;p=0;n=j;m=t+16|0;while(1){o=(b[n>>1]|0)+o|0;b[m>>1]=o;p=p+2|0;if(p>>>0>=l>>>0){q=86;break}else{n=n+2|0;m=m+2|0}}}break}case 5:{l=s<<1;if(l>>>0>k>>>0)q=86;else{mBb(t+16|0,j|0,l|0)|0;q=86}break}case 7:{h=s<<1;k=h>>>0>k>>>0?k&-2:h;if(k>>>0>1){l=0;do{h=e[j+l>>1]|0;b[t+(l+16)>>1]=h>>>8|h<<8;l=l+2|0}while(l>>>0>>0)}break}case 6:{l=s<<1;if(l>>>0>k>>>0)q=86;else if(!l){l=0;q=86}else{o=0;n=t+16|0;m=j;while(1){b[n>>1]=(e[m>>1]|0)+32768;o=o+2|0;if(o>>>0>=l>>>0){q=86;break}else{n=n+2|0;m=m+2|0}}}break}case 15:{l=s<<1;m=s<<2;if(m>>>0>k>>>0)q=86;else if(!l){l=m;q=86}else{n=0;do{s=e[j+n>>1]|0;h=n<<1;b[t+(h+16)>>1]=s>>>8|s<<8;s=e[j+(n+l)>>1]|0;b[t+((h|2)+16)>>1]=s>>>8|s<<8;n=n+2|0}while(n>>>0>>0);l=m;q=86}break}case 19:case 23:{if(k>>>0>3){l=XNa(t+16|0,j,j+k|0,s<<(h>>>2&1))|0;q=86}break}case 32:case 36:{if(k>>>0>3){c[u+4>>2]=c[j>>2];c[u>>2]=32;c[u+8>>2]=j+4;if(s){o=0;p=0;l=0;do{if((h|0)==36)l=(WNa(u+4|0,u,u+8|0,8)|0)&255;n=(WNa(u+4|0,u,u+8|0,1)|0)&255;if(!((WNa(u+4|0,u,u+8|0,1)|0)<<16>>16)){m=8;while(1)if(!((WNa(u+4|0,u,u+8|0,1)|0)<<16>>16))m=(m&255)+16|0;else break;m=((WNa(u+4|0,u,u+8|0,4)|0)&65535)+m&255}else m=(WNa(u+4|0,u,u+8|0,3)|0)&255;if(n<<24>>24)m=(m&255^255)&255;o=(m&255)+(o&255)|0;m=o&255;if((h|0)==36){j=p<<1;a[t+(j+16)>>0]=l;a[t+((j|1)+16)>>0]=m}else a[t+(p+16)>>0]=m;p=p+1|0}while(p>>>0<(c[g>>2]|0)>>>0)}}break}case 8:case 10:{m=0;q=36;break}case 9:{m=-128;q=36;break}case 22:case 18:case 20:case 16:{if(k>>>0>=4)if((h&-3|0)==16){TNa(t+16|0,s,j,k,(h|0)==18);break a}else{UNa(t+16|0,s,j,k,(h|0)==22);break a}break}case 73:case 72:{o=(h|0)==73?-128:0;m=s<<1>>>0>k>>>0?k>>>1:s;if(m|0){n=0;l=j;while(1){j=n<<1;a[t+(j+16)>>0]=(d[l>>0]|0)+o;a[t+((j|1)+16)>>0]=(d[l+1>>0]|0)+o;n=n+1|0;if((n|0)==(m|0))break;else l=l+2|0}}l=m<<1;q=86;break}case 78:case 77:{o=(h|0)==78?-32768:0;m=s<<2>>>0>k>>>0?k>>>2:s;if(m|0){n=0;l=j;while(1){j=n<<1;b[t+16+(j<<1)>>1]=(e[l>>1]|0)+o;b[t+16+((j|1)<<1)>>1]=(e[l+2>>1]|0)+o;n=n+1|0;if((n|0)==(m|0))break;else l=l+4|0}}l=m<<2;q=86;break}case 21:case 17:{if(k>>>0>9){r=(c[j+4>>2]|0)+9|0;k=r>>>0>k>>>0?k:r;VNa(j+9|0,k+-9|0,t+16|0,s<<(h>>>2&1),a[j+8>>0]|0)}else{l=9;q=86}break}case 37:{l=s<<1;if(l>>>0>k>>>0)q=86;else if(!l){l=0;q=86}else{n=s<<1;o=0;p=0;m=t+16|0;while(1){o=(a[j+p>>0]|0)+(o<<24>>24)|0;a[m>>0]=o;p=p+1|0;if((p|0)==(n|0)){q=86;break}else m=m+1|0}}break}case 14:{m=-32768;q=43;break}case 13:case 12:{m=0;q=43;break}default:{if(s>>>0>k>>>0){c[g>>2]=k;l=k}else l=s;mBb(t+16|0,j|0,l|0)|0;q=86}}while(0);if((q|0)==36){l=s<<1;if(l>>>0>k>>>0){l=s;q=86}else if(!s)q=86;else{q=m;r=0;p=j;while(1){n=(d[p>>0]|0)+q|0;j=r<<1;a[t+(j+16)>>0]=n;o=(d[p+s>>0]|0)+m|0;a[t+((j|1)+16)>>0]=o;if((h|0)==10){n=n<<24>>24;m=o<<24>>24}else n=q;r=r+1|0;if((r|0)==(s|0)){q=86;break}else{q=n;p=p+1|0}}}}else if((q|0)==43){l=s<<2;if(l>>>0>k>>>0){l=s;q=86}else if(!s)q=86;else{q=m;r=0;p=j;while(1){n=(e[p>>1]|0)+q|0;j=r<<1;b[t+16+(j<<1)>>1]=n;o=(e[p+(s<<1)>>1]|0)+m|0;b[t+16+((j|1)<<1)>>1]=o;if((h|0)==12){n=n<<16>>16;m=o<<16>>16}else n=q;r=r+1|0;if((r|0)==(s|0)){q=86;break}else{q=n;p=p+2|0}}}}if((q|0)==86)if(l>>>0>k>>>0){k=c[g+20>>2]|0;if(!k){g=0;i=u;return g|0}c[g>>2]=0;Wpb(k+-16|0);c[g+20>>2]=0;g=0;i=u;return g|0}else k=l;ZNa(f,g);g=k;i=u;return g|0}function TNa(b,c,e,f,g){b=b|0;c=c|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;if(!c)return;n=0;i=0;j=0;k=0;l=0;m=e;h=0;a:while(1){p=(h|0)==0;s=p?32768:h;r=s>>>0>c>>>0?c:s;n=p?0:n;i=p?0:i;j=p?9:j;k=p?0:k;l=p?0:l;q=0;m=p?m+2|0:m;while(1){p=j<<24>>24;if(j<<24>>24>0){o=p;h=0;do{if(!i){n=d[m>>0]|0;i=8;m=m+1|0}h=n<<31|h>>>1;n=n>>>1;i=i+-1|0;o=o+-1|0}while((o|0)!=0)}else h=0;h=h>>>(32-p|0);p=j&255;do if((j&255)<7)if((1<>0]|0;o=j;j=j>>>1;h=7;m=m+1|0}else{h=i+-1|0;if(!h){o=n;j=d[m>>0]|0;h=8;m=m+1|0}else{o=n;j=n>>>1}}h=h+-1|0;if(!h){h=8;i=d[m>>0]|0;m=m+1|0}else i=j>>>1;j=(i<<31|(j<<31|o<<30&1073741824)>>>1)>>>29;n=i>>>1;i=h+-1|0;j=((j+1|0)>>>0

>>0?j+1|0:j+2|0)&255;h=q}else{h=h&65535;t=22}else{if((j&255)<9){if((h&65535)>>>0>((255>>>(9-p|0))+65532&65535)>>>0)if((h&65535)>>>0<=((255>>>(9-p|0))+4&65535)>>>0){j=((h-((255>>>(9-p|0))+65532)&255)>>>0>=p>>>0&1)+(h-((255>>>(9-p|0))+65532))&255;h=q;break}}else{if((j&255)>9){h=k;t=24;break}if((h&65280)>>>0>255){j=h+1&255;h=q;break}}if((j&255)<8){h=h&65535;t=22}else t=23}while(0);if((t|0)==22){h=h<<(8-p&255)<<24>>24>>(8-p&255);t=23}if((t|0)==23){h=h+(k&255)|0;l=h+(l&255)&255;a[b+q>>0]=g?l:h&255;h=h&255;t=24}if((t|0)==24){t=0;k=h;h=q+1|0}if(m>>>0>=(e+(f+1)|0)>>>0){t=28;break a}if(h>>>0>>0)q=h;else{h=n;break}}if((c|0)==(r|0)){t=28;break}else{c=c-r|0;n=h;b=b+r|0;h=s-r|0}}if((t|0)==28)return}function UNa(a,c,e,f,g){a=a|0;c=c|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;if(!c)return;n=0;i=0;j=0;k=e;h=0;l=0;m=0;a:while(1){p=(h|0)==0;s=p?16384:h;r=s>>>0>c>>>0?c:s;n=p?0:n;i=p?0:i;j=p?17:j;q=0;k=p?k+2|0:k;l=p?0:l;m=p?0:m;while(1){p=j<<24>>24;if(j<<24>>24>0){o=p;h=0;do{if(!i){n=d[k>>0]|0;i=8;k=k+1|0}h=n<<31|h>>>1;n=n>>>1;i=i+-1|0;o=o+-1|0}while((o|0)!=0)}else h=0;h=h>>>(32-p|0);o=j&255;do if((j&255)<7)if((1<>0]|0;i=n;n=n>>>1;j=7;k=k+1|0}else{h=i+-1|0;if(!h){i=n;n=d[k>>0]|0;j=8;k=k+1|0}else{i=n;n=n>>>1;j=h}}h=n<<31|i<<30&1073741824;if((j|0)==1){j=d[k>>0]|0;h=j<<31|h>>>1;j=j>>>1;i=7;k=k+1|0}else{h=n>>>1<<31|h>>>1;i=j+-2|0;if(!i){j=d[k>>0]|0;i=8;k=k+1|0}else j=n>>>2}h=(j<<31|h>>>1)>>>28;n=j>>>1;i=i+-1|0;j=((h+1|0)>>>0>>0?h+1|0:h+2|0)&255;h=q}else t=21;else{if((j&255)<17){if(h>>>0>((65535>>>(17-o|0))+65528&65535)>>>0)if(h>>>0<=((65535>>>(17-o|0))+8&65535)>>>0){j=((h-((65535>>>(17-o|0))+65528&65535)&255)>>>0>=o>>>0&1)+(h-((65535>>>(17-o|0))+65528&65535))&255;h=q;break}}else{if((j&255)>17){t=23;break}if(h>>>0>65535){j=h+1&255;h=q;break}}if((j&255)<16)t=21;else t=22}while(0);if((t|0)==21){h=h<<(16-o&255)<<16>>16>>(16-o&255);t=22}if((t|0)==22){l=h+(l&65535)|0;m=l+(m&65535)&65535;b[a+(q<<1)>>1]=g?m:l&65535;l=l&65535;t=23}if((t|0)==23){t=0;h=q+1|0}if(k>>>0>=(e+(f+1)|0)>>>0){t=27;break a}if(h>>>0>>0)q=h;else{h=n;break}}if((c|0)!=(r|0)&k>>>0<(e+f|0)>>>0){c=c-r|0;n=h;a=a+(r<<1)|0;h=s-r|0}else{t=27;break}}if((t|0)==27)return}function VNa(b,c,e,f,g){b=b|0;c=c|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0;m=_Ab(f)|0;if((f|0)!=0&(c|0)!=0){l=0;h=0;while(1){j=l+1|0;i=a[b+l>>0]|0;a:do if(i<<24>>24==g<<24>>24){k=l+2|0;i=a[b+j>>0]|0;if(!(i<<24>>24)){a[m+h>>0]=g;j=k;h=h+1|0;break}j=l+3|0;l=a[b+k>>0]|0;k=h;while(1){if(!(i<<24>>24)){h=k;break a}h=k+1|0;a[m+k>>0]=l;if(h>>>0>>0){i=i+-1<<24>>24;k=h}else break}}else{a[m+h>>0]=i;h=h+1|0}while(0);if(h>>>0>>0&j>>>0>>0)l=j;else break}}if(!f){aBb(m);return}else{i=128;h=0;j=0;g=m}while(1){c=d[g>>0]|0;l=0;k=0;do{n=i&c;i=(i<<8|i)>>>1&255;b=j+1|0;j=e+j|0;a[j>>0]=d[j>>0]|0|(n<<8|n)>>>(k-l&7);k=(b>>>0>>0^1)+k|0;j=b>>>0>>0?b:0;l=l+1|0}while((l|0)!=8);h=h+1|0;if((h|0)==(f|0))break;else{i=(i<<8|i)>>>k&255;g=g+1|0}}if(!f){aBb(m);return}else{h=0;i=0}do{n=e+h|0;b=a[n>>0]|0;i=(i<<24>>24)-((b<<24>>24==-128|(b&128|0)==0?b&255:0-(b&127)|0)<<24>>24)|0;a[n>>0]=i;h=h+1|0}while((h|0)!=(f|0));aBb(m);return}function WNa(a,b,e,f){a=a|0;b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0;g=c[a>>2]|0;c[a>>2]=g>>>(f<<24>>24);h=(c[b>>2]|0)-(f<<24>>24)|0;c[b>>2]=h;if(h>>>0>=25)return g&(1<<(f<<24>>24))+65535&65535|0;i=c[e>>2]|0;c[e>>2]=i+1;c[a>>2]=c[a>>2]|(d[i>>0]|0)<>2]=(c[b>>2]|0)+8;return g&(1<<(f<<24>>24))+65535&65535|0}function XNa(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+1312|0;hBb(q|0,0,1304)|0;c[q>>2]=e;c[q+4>>2]=f;YNa(q);if(!g){g=c[q>>2]|0;b=e;b=g-b|0;i=q;return b|0}h=c[q+12>>2]|0;m=0;o=0;p=0;while(1){if(!h){f=c[q>>2]|0;if(f>>>0<(c[q+4>>2]|0)>>>0){c[q>>2]=f+1;f=d[f>>0]|0}else f=0;c[q+8>>2]=f;h=7}else{f=c[q+8>>2]|0;h=h+-1|0}c[q+12>>2]=h;n=(f&1|0)==0;k=f>>>1;c[q+8>>2]=k;l=0;f=m;do{if(!h){h=c[q>>2]|0;if(h>>>0<(c[q+4>>2]|0)>>>0){c[q>>2]=h+1;j=d[h>>0]|0}else j=0;c[q+8>>2]=j;h=7}else{h=h+-1|0;j=k}c[q+12>>2]=h;k=j>>>1;c[q+8>>2]=k;m=(j&1|0)==0?q+24+(l*5|0)|0:q+24+(l*5|0)+2|0;m=d[m>>0]|d[m+1>>0]<<8;l=m<<16>>16;if((m&65535)>255)break;f=a[q+24+(l*5|0)+4>>0]|0;if((h|0)==0?(c[q>>2]|0)>>>0>=(c[q+4>>2]|0)>>>0:0){h=0;break}m=q+24+(l*5|0)|0;if((d[m>>0]|d[m+1>>0]<<8)<<16>>16<=-1)break;m=q+24+(l*5|0)+2|0}while((d[m>>0]|d[m+1>>0]<<8)<<16>>16>-1);if(!n)f=(f&255^255)&255;j=f&255;a[b+o>>0]=o|0?j+p&255:0;o=o+1|0;if((o|0)==(g|0))break;else{m=f;p=j+(p&255)|0}}g=c[q>>2]|0;b=e;b=g-b|0;i=q;return b|0}function YNa(b){b=b|0;var c=0,e=0,f=0,g=0,h=0,i=0,j=0;c=d[b+20>>0]|d[b+20+1>>0]<<8|d[b+20+2>>0]<<16|d[b+20+3>>0]<<24;if(c>>>0>255)return;while(1){h=7;f=d[b+12>>0]|d[b+12+1>>0]<<8|d[b+12+2>>0]<<16|d[b+12+3>>0]<<24;i=1;g=0;while(1){h=h+-1|0;if(!f){e=d[b>>0]|d[b+1>>0]<<8|d[b+2>>0]<<16|d[b+3>>0]<<24;if(e>>>0<(d[b+4>>0]|d[b+4+1>>0]<<8|d[b+4+2>>0]<<16|d[b+4+3>>0]<<24)>>>0){a[b>>0]=e+1;a[b+1>>0]=e+1>>8;a[b+2>>0]=e+1>>16;a[b+3>>0]=e+1>>24;e=d[e>>0]|0}else e=0;a[b+8>>0]=e;a[b+8+1>>0]=e>>8;a[b+8+2>>0]=e>>16;a[b+8+3>>0]=e>>24;f=7}else{e=d[b+8>>0]|d[b+8+1>>0]<<8|d[b+8+2>>0]<<16|d[b+8+3>>0]<<24;f=f+-1|0}a[b+12>>0]=f;a[b+12+1>>0]=f>>8;a[b+12+2>>0]=f>>16;a[b+12+3>>0]=f>>24;g=((e&1|0)==0?0:i)|g;e=e>>>1;a[b+8>>0]=e;a[b+8+1>>0]=e>>8;a[b+8+2>>0]=e>>16;a[b+8+3>>0]=e>>24;if(!h)break;else i=(i&255)<<1&255}a[b+24+(c*5|0)+4>>0]=g;c=d[b+12>>0]|d[b+12+1>>0]<<8|d[b+12+2>>0]<<16|d[b+12+3>>0]<<24;if(!c){c=d[b>>0]|d[b+1>>0]<<8|d[b+2>>0]<<16|d[b+3>>0]<<24;if(c>>>0<(d[b+4>>0]|d[b+4+1>>0]<<8|d[b+4+2>>0]<<16|d[b+4+3>>0]<<24)>>>0){a[b>>0]=c+1;a[b+1>>0]=c+1>>8;a[b+2>>0]=c+1>>16;a[b+3>>0]=c+1>>24;c=d[c>>0]|0}else c=0;a[b+12>>0]=7;a[b+12+1>>0]=0;a[b+12+2>>0]=0;a[b+12+3>>0]=0;g=c>>>1;a[b+8>>0]=g;a[b+8+1>>0]=g>>8;a[b+8+2>>0]=g>>16;a[b+8+3>>0]=g>>24;e=(c&1|0)==0;f=7;j=15}else{e=d[b+8>>0]|d[b+8+1>>0]<<8|d[b+8+2>>0]<<16|d[b+8+3>>0]<<24;a[b+12>>0]=c+-1;a[b+12+1>>0]=c+-1>>8;a[b+12+2>>0]=c+-1>>16;a[b+12+3>>0]=c+-1>>24;a[b+8>>0]=e>>>1;a[b+8+1>>0]=e>>>1>>8;a[b+8+2>>0]=e>>>1>>16;a[b+8+3>>0]=e>>>1>>24;if(!(c+-1|0)){c=d[b>>0]|d[b+1>>0]<<8|d[b+2>>0]<<16|d[b+3>>0]<<24;if(c>>>0<(d[b+4>>0]|d[b+4+1>>0]<<8|d[b+4+2>>0]<<16|d[b+4+3>>0]<<24)>>>0){a[b>>0]=c+1;a[b+1>>0]=c+1>>8;a[b+2>>0]=c+1>>16;a[b+3>>0]=c+1>>24;c=d[c>>0]|0}else c=0;a[b+8>>0]=c;a[b+8+1>>0]=c>>8;a[b+8+2>>0]=c>>16;a[b+8+3>>0]=c>>24;g=(e&1|0)==0;e=7}else{g=e>>>1;e=(e&1|0)==0;f=c+-1|0;j=15}}if((j|0)==15){j=0;c=g;g=e;e=f+-1|0}a[b+12>>0]=e;a[b+12+1>>0]=e>>8;a[b+12+2>>0]=e>>16;a[b+12+3>>0]=e>>24;f=c>>>1;a[b+8>>0]=f;a[b+8+1>>0]=f>>8;a[b+8+2>>0]=f>>16;a[b+8+3>>0]=f>>24;f=d[b+16>>0]|d[b+16+1>>0]<<8|d[b+16+2>>0]<<16|d[b+16+3>>0]<<24;if(f>>>0>255){j=26;break}e=(d[b+20>>0]|d[b+20+1>>0]<<8|d[b+20+2>>0]<<16|d[b+20+3>>0]<<24)+1|0;a[b+20>>0]=e;a[b+20+1>>0]=e>>8;a[b+20+2>>0]=e>>16;a[b+20+3>>0]=e>>24;a[b+16>>0]=e;a[b+16+1>>0]=e>>8;a[b+16+2>>0]=e>>16;a[b+16+3>>0]=e>>24;if(g){a[b+24+(f*5|0)>>0]=-1;a[b+24+(f*5|0)+1>>0]=-1>>8}else{a[b+24+(f*5|0)>>0]=e;a[b+24+(f*5|0)+1>>0]=(e&65535)>>8;YNa(b)}e=d[b+20>>0]|d[b+20+1>>0]<<8|d[b+20+2>>0]<<16|d[b+20+3>>0]<<24;a[b+16>>0]=e;a[b+16+1>>0]=e>>8;a[b+16+2>>0]=e>>16;a[b+16+3>>0]=e>>24;if(!(c&1)){j=25;break}a[b+24+(f*5|0)+2>>0]=e;a[b+24+(f*5|0)+2+1>>0]=(e&65535)>>8;c=d[b+20>>0]|d[b+20+1>>0]<<8|d[b+20+2>>0]<<16|d[b+20+3>>0]<<24;if(c>>>0>255){j=26;break}}if((j|0)==25){a[b+24+(f*5|0)+2>>0]=-1;a[b+24+(f*5|0)+2+1>>0]=-1>>8;return}else if((j|0)==26)return}function ZNa(d,f){d=d|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=c[f+20>>2]|0;if(!p)return;g=c[f>>2]|0;if(g>>>0>16e6){c[f>>2]=16e6;g=16e6}h=c[f+8>>2]|0;if(h>>>0>g>>>0){c[f+8>>2]=g;h=g}i=c[f+4>>2]|0;o=g+2|0;if(i>>>0>o>>>0){c[f+4>>2]=o;i=o}if((i+2|0)>>>0>>0){n=f+34|0;m=b[f+34>>1]|0;j=i}else{c[f+8>>2]=0;c[f+4>>2]=0;m=(e[f+34>>1]|0)&65533;b[f+34>>1]=m;n=f+34|0;h=0;j=0}i=m&65535;if(i&1|0){if(!(i&64)){b[p+(g<<1)>>1]=0;b[p+(g+1<<1)>>1]=0;b[p+(o<<1)>>1]=0;b[p+(g+3<<1)>>1]=0;b[p+(g+4<<1)>>1]=0}else{f=g<<1;b[p+(f<<1)>>1]=0;b[p+(f+2<<1)>>1]=0;b[p+(f+4<<1)>>1]=0;b[p+(f+6<<1)>>1]=0;b[p+((f|1)<<1)>>1]=0;b[p+(f+3<<1)>>1]=0;b[p+(f+5<<1)>>1]=0;b[p+(f+7<<1)>>1]=0}if((b[n>>1]&70)!=2)return;i=h+3|0;if(i>>>0>>0)if(!(c[d+59680>>2]&2))return;b[p+(h<<1)>>1]=b[p+(j<<1)>>1]|0;b[p+(h+1<<1)>>1]=b[p+(j+1<<1)>>1]|0;b[p+(h+2<<1)>>1]=b[p+(j+2<<1)>>1]|0;b[p+(i<<1)>>1]=b[p+(j+3<<1)>>1]|0;b[p+(h+4<<1)>>1]=b[p+(j+4<<1)>>1]|0;return}do if(g>>>0>256)if((i&64|0)==0?(c[d+59680>>2]&3|0)!=0:0){i=g+-1|0;l=a[p+i>>0]|0;j=0;while(1){if((i|0)<=0){k=j;break}j=i+-1|0;k=a[p+j>>0]|0;if(k<<24>>24==l<<24>>24){i=j;j=k<<24>>24}else{k=k<<24>>24;break}}j=k-(l<<24>>24)|0;if(!(m&2))if((j+8|0)>>>0>16&(i|0)<(g|0))h=k;else{h=m;break}else if((j+8|0)>>>0>16&(i|0)>(h|0)&(i|0)<(g|0))h=k;else{h=m;break}do{if(!(i&7)){h=(((h|0)>0)<<31>>31)+h|0;h=(h>>>31)+h|0}a[p+i>>0]=h;i=i+1|0}while((i|0)<(c[f>>2]|0));h=b[n>>1]|0}else h=m;else h=m;while(0);if(!(h&64)){a[p+g>>0]=0;a[p+(g+1)>>0]=0;a[p+o>>0]=0;a[p+(g+3)>>0]=0;a[p+(g+4)>>0]=0}else{o=g<<1;a[p+o>>0]=0;a[p+(o+2)>>0]=0;a[p+(o+4)>>0]=0;a[p+(o+6)>>0]=0;a[p+(o|1)>>0]=0;a[p+(o+3)>>0]=0;a[p+(o+5)>>0]=0;a[p+(o+7)>>0]=0}if((b[n>>1]&70)!=2)return;g=c[f+8>>2]|0;if((g+3|0)>>>0<(c[f>>2]|0)>>>0)if(!(c[d+59680>>2]&3))return;a[p+g>>0]=a[p+(c[f+4>>2]|0)>>0]|0;a[p+((c[f+8>>2]|0)+1)>>0]=a[p+((c[f+4>>2]|0)+1)>>0]|0;a[p+((c[f+8>>2]|0)+2)>>0]=a[p+((c[f+4>>2]|0)+2)>>0]|0;a[p+((c[f+8>>2]|0)+3)>>0]=a[p+((c[f+4>>2]|0)+3)>>0]|0;a[p+((c[f+8>>2]|0)+4)>>0]=a[p+((c[f+4>>2]|0)+4)>>0]|0;return}function _Na(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;if(e>>>0<=8){b=0;return b|0}m=8;f=0;while(1){n=c[d+(f+4)>>2]|0;if(n>>>0>(e+-8-f|0)>>>0){g=16;break}g=c[d+f>>2]|0;if((g|0)==1481001027){h=0;do{g=h<<2;if(g>>>0>>0)c[b+49600+(h*36|0)+12>>2]=c[d+(g+m)>>2];h=h+1|0}while((h|0)!=64)}else{if((g&255)<<24>>24!=70){g=16;break}if((a[d+(f+1)>>0]|0)!=88){g=16;break}i=a[d+(f+2)>>0]|0;if((i&255)<48){g=16;break}j=a[d+(f+3)>>0]|0;if((j&255)<48){g=16;break}if(n>>>0>131?(((i&255)*10|0)+-528+(j&255)|0)>>>0<8:0){k=c[d+(f+136)>>2]|0;l=b+58496+((((i&255)*10|0)+-528+(j&255)|0)*144|0)+16|0;g=d+m|0;h=l+128|0;do{c[l>>2]=c[g>>2];l=l+4|0;g=g+4|0}while((l|0)<(h|0));if((k+-1|0)>>>0<(n+-132|0)>>>0){m=_Ab(k)|0;c[b+58496+((((i&255)*10|0)+-528+(j&255)|0)*144|0)+12>>2]=m;c[b+58496+((((i&255)*10|0)+-528+(j&255)|0)*144|0)+8>>2]=k;mBb(m|0,d+(f+140)|0,k|0)|0}}}f=f+8+n|0;m=f+8|0;if(m>>>0>=e>>>0){g=16;break}}if((g|0)==16)return f|0;return 0}function $Na(f,g,h){f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;E=i;i=i+2096|0;if((g|0)==0|h>>>0<241){f=0;i=E;return f|0}r=E+1512|0;s=g;t=r+96|0;do{a[r>>0]=a[s>>0]|0;r=r+1|0;s=s+1|0}while((r|0)<(t|0));if((d[E+1512+44>>0]|d[E+1512+44+1>>0]<<8|d[E+1512+44+2>>0]<<16|d[E+1512+44+3>>0]<<24|0)==1297236819){c[f+59680>>2]=2;hBb(f+59804|0,0,7680)|0;r=f+59804|0;s=E+1512|0;t=r+28|0;do{a[r>>0]=a[s>>0]|0;r=r+1|0;s=s+1|0}while((r|0)<(t|0));m=a[E+1512+49>>0]|0;m=m<<24>>24==0?6:m&255;c[f+59648>>2]=m>>>0>31?31:m;m=a[E+1512+50>>0]|0;m=(m&255)<40?40:m&255;c[f+59652>>2]=m>>>0>240?240:m;m=a[E+1512+48>>0]|0;c[f+59656>>2]=m<<24>>24==0|(m&255)<<2>>>0>256?256:(m&255)<<2;c[f+59748>>2]=d[E+1512+51>>0]&127;c[f+59664>>2]=4;m=0;do{j=f+49600+(m*36|0)|0;c[j>>2]=128;c[f+49600+(m*36|0)+4>>2]=64;k=f+49600+(m*36|0)+8|0;c[k>>2]=256;l=a[E+1512+64+m>>0]|0;m=m+1|0;if(l<<24>>24!=-1){c[f+59664>>2]=m;c[j>>2]=(l&255)<<4&128|64;c[k>>2]=0}}while((m|0)!=32);if((c[f+59664>>2]|0)>>>0<4)c[f+59664>>2]=4;if(((d[E+1512+40>>0]|d[E+1512+40+1>>0]<<8)&65535)<4896)n=11;else if((d[E+1512+38>>0]|d[E+1512+38+1>>0]<<8)&64)n=11;if((n|0)==11)c[f+59660>>2]=c[f+59660>>2]|2;j=d[E+1512+32>>0]|d[E+1512+32+1>>0]<<8;j=j<<16>>16==0?1:j&65535;j=j>>>0>256?256:j;if(!j)j=96;else{mBb(f+53344|0,g+96|0,j|0)|0;if(!(j&1))j=j+96|0;else j=(a[g+(j+96)>>0]|0)==-1?j+97|0:j+96|0}C=(d[E+1512+34>>0]|d[E+1512+34+1>>0]<<8)&65535;D=C>>>0>239?239:C;c[f+59684>>2]=D;B=d[E+1512+36>>0]|d[E+1512+36+1>>0]<<8;hBb(E+1e3|0,0,512)|0;if(((B&65535)+C|0)>>>0>256)j=0;else{if((B&65535)+C|0){mBb(E+1e3|0,g+j|0,(B&65535)+C<<1|0)|0;j=((B&65535)+C<<1)+j|0;if((a[E+1512+53>>0]|0)==-4){l=0;do{k=d[g+(j+l)>>0]|0;if(k&32|0)c[f+49600+(l*36|0)>>2]=k<<4&240|8;l=l+1|0}while((l|0)!=32)}}if(!(c[f+59664>>2]|0))j=1;else{hBb(E+40|0,0,960)|0;if(D|0){A=1;do{k=A+-1|0;j=b[E+1e3+(k<<1)>>1]|0;if(!(j<<16>>16==0|(((j&65535)<<4)+80|0)>>>0>h>>>0)){l=a[g+((j&65535)<<4)>>0]|0;y=a[g+((j&65535)<<4|13)>>0]|0;z=d[g+((j&65535)<<4|14)>>0]|d[g+((j&65535)<<4|14)+1>>0]<<8;m=d[g+(((j&65535)<<4)+16)>>0]|d[g+(((j&65535)<<4)+16)+1>>0]<<8|d[g+(((j&65535)<<4)+16)+2>>0]<<16|d[g+(((j&65535)<<4)+16)+3>>0]<<24;n=d[g+(((j&65535)<<4)+20)>>0]|d[g+(((j&65535)<<4)+20)+1>>0]<<8|d[g+(((j&65535)<<4)+20)+2>>0]<<16|d[g+(((j&65535)<<4)+20)+3>>0]<<24;u=d[g+(((j&65535)<<4)+24)>>0]|d[g+(((j&65535)<<4)+24)+1>>0]<<8|d[g+(((j&65535)<<4)+24)+2>>0]<<16|d[g+(((j&65535)<<4)+24)+3>>0]<<24;v=a[g+(((j&65535)<<4)+28)>>0]|0;o=a[g+(((j&65535)<<4)+30)>>0]|0;w=a[g+(((j&65535)<<4)+31)>>0]|0;x=d[g+(((j&65535)<<4)+32)>>0]|d[g+(((j&65535)<<4)+32)+1>>0]<<8|d[g+(((j&65535)<<4)+32)+2>>0]<<16|d[g+(((j&65535)<<4)+32)+3>>0]<<24;r=E;s=g+(((j&65535)<<4)+36)|0;t=r+40|0;do{a[r>>0]=a[s>>0]|0;r=r+1|0;s=s+1|0}while((r|0)<(t|0));p=a[g+(((j&65535)<<4)+78)>>0]|0;q=a[g+(((j&65535)<<4)+79)>>0]|0;nBb(f+33280+(A<<6)+42|0,g+((j&65535)<<4|1)|0,12)|0;a[E+1848+k>>0]=w;a[E+1608+k>>0]=o;r=f+59804+(A<<5)|0;s=E+12|0;t=r+28|0;do{a[r>>0]=a[s>>0]|0;r=r+1|0;s=s+1|0}while((r|0)<(t|0));a[f+59804+(A<<5)+28>>0]=0;if(l<<24>>24==1&p<<24>>24==82&q<<24>>24==83){m=m>>>0>16e6?16e6:m>>>0<4?0:m;c[f+33280+(A<<6)>>2]=m;o=n>>>0>(m+-1|0)>>>0?m+-1|0:n>>>0<4?0:n;p=f+33280+(A<<6)+4|0;c[p>>2]=o;m=u>>>0>m>>>0?m:u>>>0<4?0:u;n=f+33280+(A<<6)+8|0;c[n>>2]=m;b[f+33280+(A<<6)+30>>1]=(v&255)>64?256:(v&255)<<2&65535;b[f+33280+(A<<6)+32>>1]=64;if(w&1){w=f+33280+(A<<6)+34|0;b[w>>1]=e[w>>1]|2}l=x|0?x:8363;c[f+33280+(A<<6)+24>>2]=l>>>0<1024?1024:l;l=E+40+(A<<2)|0;c[l>>2]=(z&65535)<<4|(y&255)<<20;if(((z&65535)<<4|(y&255)<<20)>>>0>h>>>0)c[l>>2]=0;else if((z&65535)<<4|(y&255)<<20|0){j=(z&65535)<<4|(y&255)<<20;while(1){if((j|0)==(c[E+40+(k<<2)>>2]|0)){c[l>>2]=0;j=0}if((k|0)>0)k=k+-1|0;else break}}if(m>>>0<=o>>>0|(m-o|0)>>>0<8){c[n>>2]=0;c[p>>2]=0}b[f+33280+(A<<6)+28>>1]=128}}A=A+1|0}while(A>>>0<=D>>>0)}if(B<<16>>16){p=(B&65535)<240?B&65535:240;t=0;do{q=e[E+1e3+(t+C<<1)>>1]<<4;a:do if((q+64|0)>>>0<=h>>>0){r=b[g+q>>1]|0;b[f+52864+(t<<1)>>1]=64;if(r<<16>>16)if(((r&65535)+(q|2)|0)>>>0<=(h+-6|0)>>>0){s=ONa(64,c[f+59664>>2]|0)|0;c[f+51904+(t<<2)>>2]=s;if(s|0){j=0;k=0;while(1){while(1){if(j>>>0>=(r&65535)>>>0)break a;m=j+1|0;n=a[g+(j+(q|2))>>0]|0;if(!(n<<24>>24))break;l=c[f+59664>>2]|0;do if((n&31)>>>0>>0){o=(_(l,k)|0)+(n&31)|0;if(!(n&32))j=m;else{l=a[g+(m+(q|2))>>0]|0;a[s+(o*6|0)>>0]=l;do if((l&255)<240)a[s+(o*6|0)>>0]=(l&15)+13+(((l&255)>>>4)*12|0);else{if(l<<24>>24!=-1)break;a[s+(o*6|0)>>0]=0}while(0);a[s+(o*6|0)+1>>0]=a[g+((q|2)+2+j)>>0]|0;j=j+3|0}if(!(n&64))m=j;else{m=a[g+(j+(q|2))>>0]|0;a[s+(o*6|0)+2>>0]=m<<24>>24<0&(m&255)<193?2:1;a[s+(o*6|0)+4>>0]=m<<24>>24<0&(m&255)<193?(m&255)+128|0:(m&255)>64?64:m&255;m=j+1|0}if(!(n&128)){j=m;break}l=a[g+(m+(q|2))>>0]|0;a[s+(o*6|0)+3>>0]=l;j=m+2|0;m=a[g+((q|3)+m)>>0]|0;a[s+(o*6|0)+5>>0]=m;if(!(l<<24>>24))break;do switch(l&255|0){case 1:{n=16;l=m&255;break}case 2:{n=12;l=m&255;break}case 3:{n=14;l=(((m&255)>>>4)*10|0)+(m&15)|0;break}case 4:{n=11;l=m&255;break}case 5:{n=3;l=m&255;break}case 6:{n=2;l=m&255;break}case 7:{n=4;l=m&255;break}case 8:{n=5;l=m&255;break}case 9:{n=18;l=m&255;break}case 10:{n=1;l=m&255;break}case 11:{n=7;l=m&255;break}case 12:{n=6;l=m&255;break}case 13:{n=21;l=m&255;break}case 14:{n=22;l=m&255;break}case 15:{n=10;l=m&255;break}case 16:{n=29;l=m&255;break}case 17:{n=15;l=m&255;break}case 18:{n=8;l=m&255;break}case 19:{n=20;l=m&255;break}case 20:{n=17;l=m&255;break}case 21:{n=26;l=m&255;break}case 22:{n=23;l=m&255;break}case 23:{n=24;l=m&255;break}case 24:{n=9;l=m&255;break}case 25:{n=27;l=m&255;break}case 26:{n=31;l=m&255;break}default:{n=0;l=m&255}}while(0);a[s+(o*6|0)+3>>0]=n;a[s+(o*6|0)+5>>0]=l}else{j=((n&32|0)==0?m:j+3|0)+((n&255)>>>6&1)|0;j=(n&128|0)==0?j:j+2|0}while(0);if(j>>>0>=(r&65535)>>>0)break a}k=k+1|0;if(k>>>0>63)break;else j=m}}}}while(0);t=t+1|0}while((t|0)!=(p|0))}if(D|0){p=(d[E+1512+42>>0]|d[E+1512+42+1>>0]<<8)<<16>>16!=1;j=p?6:5;o=1;do{k=f+33280+(o<<6)|0;if(c[k>>2]|0){l=c[E+40+(o<<2)>>2]|0;if(l|0){m=o+-1|0;n=a[E+1848+m>>0]|0;if(l>>>0>>0)SNa(f,k,(a[E+1608+m>>0]|0)==4?3:(n&2)<<2|((n&4)==0?p&1:j),g+l|0,h-l|0)|0}}o=o+1|0}while(o>>>0<=D>>>0)}c[f+59764>>2]=64;c[f+59768>>2]=32767;if(!((d[E+1512+38>>0]|d[E+1512+38+1>>0]<<8)&16))j=1;else{c[f+59660>>2]=c[f+59660>>2]|65536;j=1}}}}else j=0;f=j;i=E;return f|0}function aOa(f,g,h){f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;G=i;i=i+3568|0;if((g|0)==0|h>>>0<192){f=0;i=G;return f|0}mBb(G|0,g|0,192)|0;if((c[G>>2]|0)==1297108297){j=b[G+34>>1]|0;if((j&65535)>239)j=0;else{F=c[G+36>>2]|0;if(!((F&65535)<<16>>16))j=0;else if((F&65535)>239)j=0;else{u=c[G+32>>2]|0;if(!((u&65535)<<16>>16))j=0;else if(((u&65535)+192+((F&65535)+(j&65535)+(F>>>16)<<2)|0)>>>0>h>>>0)j=0;else{c[f+59680>>2]=32;t=b[G+44>>1]|0;m=c[G+44>>2]|0;if(m&8)c[f+59660>>2]=c[f+59660>>2]|16;if(m&16)c[f+59660>>2]=c[f+59660>>2]|4;if(m&32)c[f+59660>>2]=c[f+59660>>2]|8;if(m&128)c[f+59660>>2]=c[f+59660>>2]|1;if(m&4096)c[f+59660>>2]=c[f+59660>>2]|32768;D=f+59804|0;B=G+4|0;E=D+26|0;do{a[D>>0]=a[B>>0]|0;D=D+1|0;B=B+1|0}while((D|0)<(E|0));a[f+59830>>0]=0;j=c[G+48>>2]|0;k=(e[G+48>>1]|0)>>>8&65535;if((j&255)<<24>>24)c[f+59656>>2]=(j<<1&510)>>>0>256?256:j<<1&510;if((j>>>16&255)<<24>>24)c[f+59648>>2]=j>>>16&255;if(j>>>24|0)c[f+59652>>2]=j>>>24;c[f+59748>>2]=k&127;l=0;do{j=a[G+64+l>>0]|0;do if(j<<24>>24!=-1){c[f+49600+(l*36|0)+4>>2]=d[G+128+l>>0];k=f+49600+(l*36|0)|0;c[k>>2]=128;if(j<<24>>24<0){E=f+49600+(l*36|0)+8|0;c[E>>2]=c[E>>2]|256}if((j&127)>>>0<65){c[k>>2]=(j&127)<<2;break}if((j&127|0)!=100)break;E=f+49600+(l*36|0)+8|0;c[E>>2]=c[E>>2]|2048}while(0);l=l+1|0}while((l|0)!=64);if((c[f+59664>>2]|0)>>>0<4)c[f+59664>>2]=4;do if(m&65536|0){j=b[G+54>>1]|0;if(j<<16>>16){if((j&65535)>>>0>h>>>0)break;k=c[G+56>>2]|0;if(k>>>0>=(h-(j&65535)|0)>>>0)break;E=_Ab((j&65535)+1|0)|0;c[f+59796>>2]=E;mBb(E|0,g+k|0,j&65535|0)|0;a[E+(j&65535)>>0]=0}}while(0);mBb(f+53344|0,g+192|0,((u&65535)>>>0>256?256:u&65535)|0)|0;hBb(G+2112|0,0,960)|0;mBb(G+2112|0,g+((u&65535)+192)|0,((u>>>16&65535)>240?960:u>>>16<<2)|0)|0;hBb(G+1152|0,0,960)|0;mBb(G+1152|0,g+((u>>>16<<2)+((u&65535)+192))|0,((F&65535)>240?960:(F&65535)<<2)|0)|0;j=((F&65535)<<2)+((u>>>16<<2)+((u&65535)+192))|0;hBb(G+192|0,0,960)|0;mBb(G+192|0,g+j|0,((F>>>16&65535)>240?960:F>>>16<<2)|0)|0;k=(F>>>16<<2)+j+2|0;if(k>>>0>>0){E=((e[g+((F>>>16<<2)+j)>>1]|0)<<3)+k|0;k=E>>>0>>0?E:k}else k=(F>>>16<<2)+j|0;do if(!(c[f+59660>>2]&1))j=k;else{j=k+4896|0;if(j>>>0>=h>>>0){j=k;break}mBb(f+53600|0,g+k|0,4896)|0}while(0);k=j+8|0;do if(k>>>0>>0){if((c[g+j>>2]|0)!=1296125520){k=j;break}j=c[g+(j+4)>>2]|0;if(!((j+-32|0)>>>0<7649&(j+k|0)>>>0<=h>>>0))break;E=_Ab(j)|0;c[f+59800>>2]=E;c[f+59792>>2]=j>>>5;mBb(E|0,g+k|0,j|0)|0;k=j+k|0}else k=j;while(0);c[f+59664>>2]=4;j=k+8|0;do if(j>>>0>>0){if((c[g+k>>2]|0)!=1296125507){j=k;break}k=c[g+(k+4)>>2]|0;if(!(k>>>0<1281&(k+j|0)>>>0<=h>>>0))break;if(k>>>0>99){c[f+59664>>2]=(k>>>0)/20|0;l=0}else if(k>>>0>19)l=0;else{j=k+j|0;break}do{D=f+49600+(l*36|0)+16|0;B=g+((l*20|0)+j)|0;E=D+20|0;do{a[D>>0]=a[B>>0]|0;D=D+1|0;B=B+1|0}while((D|0)<(E|0));a[f+49600+(l*36|0)+35>>0]=0;l=l+1|0}while(l>>>0<((k>>>0)/20|0)>>>0);j=k+j|0}else j=k;while(0);if((j+8|0)>>>0>>0)_Na(f,g+j|0,h-j|0)|0;if(!((F>>>16|0)==0&F>>>0<15794176)){r=F>>>0<15728640?F>>>16:240;s=0;do{D=G+3496|0;E=D+64|0;do{a[D>>0]=0;D=D+1|0}while((D|0)<(E|0));o=c[G+192+(s<<2)>>2]|0;a:do if((o|0)!=0&o>>>0<(h+-4|0)>>>0){p=e[g+o>>1]|0;q=b[g+(o+2)>>1]|0;if((q+-4&65535)>252)break;if((p+8|0)>>>0>h>>>0|o>>>0>(h-(p+8)|0)>>>0)break;if(!(q<<16>>16))break;else{k=0;j=0}do{m=k;while(1){if(m>>>0>=p>>>0)break a;k=m+1|0;l=a[g+(m+(o+8))>>0]|0;if(!(l<<24>>24))break;n=(l&127|0)==0?0:(l&255)+63&63;if(!(l&128))l=a[G+3496+n>>0]|0;else{if(k>>>0>=p>>>0)break a;l=a[g+(k+(o+8))>>0]|0;a[G+3496+n>>0]=l;k=m+2|0}do if(l&15){if(n>>>0<(c[f+59664>>2]|0)>>>0)break;c[f+59664>>2]=n+1}while(0);m=(l&1)+k+((l&255)>>>1&1)+((l&255)>>>2&1)|0;m=(l&8)==0?m:m+2|0;if(m>>>0>=p>>>0)break a}j=j+1|0}while(j>>>0<(q&65535)>>>0)}while(0);s=s+1|0}while((s|0)!=(r|0))}do if(!(t&4))c[f+59688>>2]=0;else{j=u>>>16>>>0>239?239:u>>>16;c[f+59688>>2]=j;if(!j)break;m=e[G+42>>1]|0;k=0;do{l=c[G+2112+(k<<2)>>2]|0;if((l|0)!=0&l>>>0<(h+-554|0)>>>0){j=YAb(632)|0;k=k+1|0;c[f+48640+(k<<2)>>2]=j;hBb(j|0,0,632)|0;bOa(0,g+l|0,j,m)|0;j=c[f+59688>>2]|0}else k=k+1|0}while(k>>>0>>0)}while(0);c[f+59684>>2]=F&65535;C=(e[G+42>>1]|0)>532;j=0;do{l=c[G+1152+(j<<2)>>2]|0;if((l+-1|0)>>>0<(h+-80|0)>>>0){k=d[g+l>>0]|d[g+l+1>>0]<<8|d[g+l+2>>0]<<16|d[g+l+3>>0]<<24;D=G+3100|0;B=g+(l+4)|0;E=D+12|0;do{a[D>>0]=a[B>>0]|0;D=D+1|0;B=B+1|0}while((D|0)<(E|0));p=a[g+(l+17)>>0]|0;t=a[g+(l+18)>>0]|0;q=a[g+(l+19)>>0]|0;D=G+3072|0;B=g+(l+20)|0;E=D+26|0;do{a[D>>0]=a[B>>0]|0;D=D+1|0;B=B+1|0}while((D|0)<(E|0));u=a[g+(l+46)>>0]|0;s=a[g+(l+47)>>0]|0;v=d[g+(l+48)>>0]|d[g+(l+48)+1>>0]<<8|d[g+(l+48)+2>>0]<<16|d[g+(l+48)+3>>0]<<24;r=d[g+(l+60)>>0]|d[g+(l+60)+1>>0]<<8|d[g+(l+60)+2>>0]<<16|d[g+(l+60)+3>>0]<<24;A=d[g+(l+72)>>0]|d[g+(l+72)+1>>0]<<8|d[g+(l+72)+2>>0]<<16|d[g+(l+72)+3>>0]<<24;w=a[g+(l+76)>>0]|0;x=a[g+(l+77)>>0]|0;y=a[g+(l+78)>>0]|0;z=a[g+(l+79)>>0]|0;do if((k|0)==1397771593){m=d[g+(l+68)>>0]|d[g+(l+68)+1>>0]<<8|d[g+(l+68)+2>>0]<<16|d[g+(l+68)+3>>0]<<24;n=d[g+(l+64)>>0]|d[g+(l+64)+1>>0]<<8|d[g+(l+64)+2>>0]<<16|d[g+(l+64)+3>>0]<<24;o=d[g+(l+56)>>0]|d[g+(l+56)+1>>0]<<8|d[g+(l+56)+2>>0]<<16|d[g+(l+56)+3>>0]<<24;k=d[g+(l+52)>>0]|d[g+(l+52)+1>>0]<<8|d[g+(l+52)+2>>0]<<16|d[g+(l+52)+3>>0]<<24;j=j+1|0;D=f+33280+(j<<6)+42|0;B=G+3100|0;E=D+12|0;do{a[D>>0]=a[B>>0]|0;D=D+1|0;B=B+1|0}while((D|0)<(E|0));b[f+33280+(j<<6)+34>>1]=0;c[f+33280+(j<<6)>>2]=0;c[f+33280+(j<<6)+4>>2]=k;c[f+33280+(j<<6)+8>>2]=o;c[f+33280+(j<<6)+12>>2]=n;c[f+33280+(j<<6)+16>>2]=m;c[f+33280+(j<<6)+24>>2]=r>>>0<256?256:(r|0)==0?8363:r;b[f+33280+(j<<6)+30>>1]=(q&255)<<2>>>0>256?256:(q&255)<<2&65535;b[f+33280+(j<<6)+32>>1]=(p&255)>64?64:p&255;if(!(t&16))k=0;else{b[f+33280+(j<<6)+34>>1]=2;k=2}if(t&32){k=(k&65535|8)&65535;b[f+33280+(j<<6)+34>>1]=k}if(t&64){k=(k&65535|4)&65535;b[f+33280+(j<<6)+34>>1]=k}if(t&128){k=(k&65535|16)&65535;b[f+33280+(j<<6)+34>>1]=k}b[f+33280+(j<<6)+28>>1]=((s&255)<<2&508)>>>0>256?256:(s&255)<<2&508;if(s&128){k=(k&65535|32)&65535;b[f+33280+(j<<6)+34>>1]=k}a[f+33280+(j<<6)+38>>0]=a[521121+(z&7)>>0]|0;a[f+33280+(j<<6)+41>>0]=w;a[f+33280+(j<<6)+40>>0]=x&127;a[f+33280+(j<<6)+39>>0]=((y&255)+3|0)>>>2;if((v|0)==0|(A>>>0>=h>>>0|(A|0)==0))break;c[f+33280+(j<<6)>>2]=v>>>0>16e6?16e6:v;do if(!(t&2)){if(u<<24>>24==-1){k=3;break}if(!(t&8)){k=u&1^1|(t&255)<<1&8;break}k=(u&4|0)!=0&C?18:16}else{b[f+33280+(j<<6)+34>>1]=k&65535|1;if(!(t&8)){k=(u&1^1)+5|(t&255)<<1&8;break}k=(u&4|0)!=0&C?22:20}while(0);SNa(f,f+33280+(j<<6)|0,k,g+A|0,h-A|0)|0}else j=j+1|0;while(0);D=f+59804+(j<<5)|0;B=G+3072|0;E=D+26|0;do{a[D>>0]=a[B>>0]|0;D=D+1|0;B=B+1|0}while((D|0)<(E|0))}else j=j+1|0}while(j>>>0<(F&65535)>>>0);if((F>>>16|0)==0&F>>>0<15794176)j=0;else{r=F>>>0<15728640?F>>>16:240;v=0;while(1){s=c[G+192+(v<<2)>>2]|0;b:do if((s|0)!=0&s>>>0<(h+-4|0)>>>0){t=b[g+s>>1]|0;u=b[g+(s+2)>>1]|0;if((u+-4&65535)>252)break;if(((t&65535)+8|0)>>>0>h>>>0?1:s>>>0>(h-((t&65535)+8)|0)>>>0)break;b[f+52864+(v<<1)>>1]=u;k=ONa(u&65535,c[f+59664>>2]|0)|0;c[f+51904+(v<<2)>>2]=k;if(!k)break;hBb(G+3112|0,0,384)|0;D=G+3496|0;E=D+64|0;do{a[D>>0]=0;D=D+1|0}while((D|0)<(E|0));if(!(t<<16>>16!=0&u<<16>>16!=0))break;j=0;l=0;while(1){while(1){n=j+1|0;m=a[g+(j+(s+8))>>0]|0;if(!(m<<24>>24))break;q=(m&127|0)==0?0:(m&255)+63&63;if(!(m&128)){p=G+3496+q|0;m=a[G+3496+q>>0]|0;o=n}else{if(n>>>0>=(t&65535)>>>0)break b;m=a[g+(n+(s+8))>>0]|0;a[G+3496+q>>0]=m;p=G+3496+q|0;o=j+2|0}do if(!(m&16))j=m;else{if(q>>>0>=(c[f+59664>>2]|0)>>>0){j=m;break}a[k+(q*6|0)>>0]=a[G+3112+(q*6|0)>>0]|0;j=a[p>>0]|0}while(0);do if(j&32){if(q>>>0>=(c[f+59664>>2]|0)>>>0)break;a[k+(q*6|0)+1>>0]=a[G+3112+(q*6|0)+1>>0]|0;j=a[p>>0]|0}while(0);do if(j&64){if(q>>>0>=(c[f+59664>>2]|0)>>>0)break;a[k+(q*6|0)+2>>0]=a[G+3112+(q*6|0)+2>>0]|0;a[k+(q*6|0)+4>>0]=a[G+3112+(q*6|0)+4>>0]|0;j=a[p>>0]|0}while(0);do if(j<<24>>24<0){if(q>>>0>=(c[f+59664>>2]|0)>>>0)break;a[k+(q*6|0)+3>>0]=a[G+3112+(q*6|0)+3>>0]|0;a[k+(q*6|0)+5>>0]=a[G+3112+(q*6|0)+5>>0]|0;j=a[p>>0]|0}while(0);do if(!(j&1))n=o;else{if(o>>>0>=(t&65535)>>>0)break b;n=o+1|0;m=a[g+(o+(s+8))>>0]|0;if(q>>>0>=(c[f+59664>>2]|0)>>>0)break;a[k+(q*6|0)>>0]=((m&255)>>>7&255^1)+(m&255);a[G+3112+(q*6|0)>>0]=((m&255)>>>7&255^1)+(m&255);j=a[p>>0]|0}while(0);do if(!(j&2))m=n;else{if(n>>>0>=(t&65535)>>>0)break b;m=n+1|0;if(q>>>0>=(c[f+59664>>2]|0)>>>0)break;j=a[g+(n+(s+8))>>0]|0;a[k+(q*6|0)+1>>0]=j;a[G+3112+(q*6|0)+1>>0]=j;j=a[p>>0]|0}while(0);do if(!(j&4))n=m;else{if(m>>>0>=(t&65535)>>>0)break b;n=m+1|0;o=a[g+(m+(s+8))>>0]|0;if(q>>>0>=(c[f+59664>>2]|0)>>>0)break;do if((o&255)<65){a[k+(q*6|0)+2>>0]=1;a[k+(q*6|0)+4>>0]=o;m=1;j=o}else{if(o<<24>>24<0&(o&255)<193){a[k+(q*6|0)+2>>0]=2;a[k+(q*6|0)+4>>0]=(o&255)+128;m=2;j=(o&255)+128&255;break}if((o&255)<75){a[k+(q*6|0)+2>>0]=5;a[k+(q*6|0)+4>>0]=(o&255)+191;m=5;j=(o&255)+191&255;break}if((o&255)<85){a[k+(q*6|0)+2>>0]=6;a[k+(q*6|0)+4>>0]=(o&255)+181;m=6;j=(o&255)+181&255;break}if((o&255)<95){a[k+(q*6|0)+2>>0]=3;a[k+(q*6|0)+4>>0]=(o&255)+171;m=3;j=(o&255)+171&255;break}if((o&255)<105){a[k+(q*6|0)+2>>0]=4;a[k+(q*6|0)+4>>0]=(o&255)+161;m=4;j=(o&255)+161&255;break}if((o&255)<115){a[k+(q*6|0)+2>>0]=13;a[k+(q*6|0)+4>>0]=(o&255)+151;m=13;j=(o&255)+151&255;break}if((o&255)<125){a[k+(q*6|0)+2>>0]=12;a[k+(q*6|0)+4>>0]=(o&255)+141;m=12;j=(o&255)+141&255;break}if((o+63&255)<10){a[k+(q*6|0)+2>>0]=11;a[k+(q*6|0)+4>>0]=(o&255)+63;m=11;j=(o&255)+63&255;break}j=k+(q*6|0)+2|0;if((o+53&255)<10){a[j>>0]=7;a[k+(q*6|0)+4>>0]=(o&255)+53;m=7;j=(o&255)+53&255;break}else{m=a[j>>0]|0;j=a[k+(q*6|0)+4>>0]|0;break}}while(0);a[G+3112+(q*6|0)+2>>0]=m;a[G+3112+(q*6|0)+4>>0]=j;j=a[p>>0]|0}while(0);do if(!(j&8))j=n;else{if(n>>>0>((t&65535)+-2|0)>>>0)break b;m=a[g+(n+(s+8))>>0]|0;j=n+2|0;if(!(m<<24>>24?q>>>0<(c[f+59664>>2]|0)>>>0:0))break;D=a[g+(s+9+n)>>0]|0;E=k+(q*6|0)+3|0;a[E>>0]=m;F=k+(q*6|0)+5|0;a[F>>0]=D;cOa(f,k+(q*6|0)|0,1);a[G+3112+(q*6|0)+3>>0]=a[E>>0]|0;a[G+3112+(q*6|0)+5>>0]=a[F>>0]|0}while(0);if(j>>>0>=(t&65535)>>>0)break b}l=l+1|0;if(n>>>0<(t&65535)>>>0&l>>>0<(u&65535)>>>0){j=n;k=k+((c[f+59664>>2]|0)*6|0)|0}else break}}else{b[f+52864+(v<<1)>>1]=64;c[f+51904+(v<<2)>>2]=ONa(64,c[f+59664>>2]|0)|0}while(0);v=v+1|0;if((v|0)==(r|0)){j=0;break}}}do{if(j>>>0>=(c[f+59664>>2]|0)>>>0){c[f+49600+(j*36|0)+4>>2]=64;g=f+49600+(j*36|0)+8|0;c[g>>2]=c[g>>2]&-257}j=j+1|0}while((j|0)!=64);c[f+59764>>2]=8;c[f+59768>>2]=61440;j=1}}}}else j=0;f=j;i=G;return f|0}function bOa(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0;e=g+585|0;i=f+32|0;j=e+26|0;do{a[e>>0]=a[i>>0]|0;e=e+1|0;i=i+1|0}while((e|0)<(j|0));e=g+617|0;i=f+4|0;j=e+12|0;do{a[e>>0]=a[i>>0]|0;e=e+1|0;i=i+1|0}while((e|0)<(j|0));if(h>>>0<512){c[g>>2]=((d[f+24>>0]|d[f+24+1>>0]<<8)&65535)<<6;b[g+8>>1]=64;j=0;do{i=j<<1;e=a[f+(i+64)>>0]|0;i=a[f+((i|1)+64)>>0]|0;if((i&255)<240)a[g+300+j>>0]=i;if(e<<24>>24>-1)a[g+428+j>>0]=(e&255)+1;else if((e&255)>253)a[g+428+j>>0]=e;j=j+1|0}while((j|0)!=120);e=a[f+17>>0]|0;if(e&1)c[g+4>>2]=c[g+4>>2]|1;if(e&2)c[g+4>>2]=c[g+4>>2]|4;if(e&4)c[g+4>>2]=c[g+4>>2]|2;a[g+559>>0]=a[f+18>>0]|0;a[g+560>>0]=a[f+19>>0]|0;a[g+561>>0]=a[f+20>>0]|0;a[g+562>>0]=a[f+21>>0]|0;a[g+556>>0]=25;e=0;do{i=e<<1;h=a[f+(i+504)>>0]|0;b[g+12+(e<<1)>>1]=h&255;if(h<<24>>24==-1){k=18;break}a[g+204+e>>0]=a[f+((i|1)+504)>>0]|0;e=e+1|0}while(e>>>0<25);if((k|0)==18)a[g+556>>0]=e;a[g+571>>0]=a[f+26>>0]|0;a[g+572>>0]=a[f+27>>0]|0;b[g+10>>1]=128;e=g+559|0}else{a[g+580>>0]=a[f+61>>0]|0;a[g+581>>0]=a[f+60>>0]|0;b[g+578>>1]=d[f+62>>0]|d[f+62+1>>0]<<8;c[g>>2]=((d[f+20>>0]|d[f+20+1>>0]<<8)&65535)<<5;j=a[f+24>>0]|0;b[g+8>>1]=(j&255)>129?64:(j&255)>>>1&255;j=0;do{e=j<<1;i=a[f+(e+64)>>0]|0;e=a[f+((e|1)+64)>>0]|0;if((e&255)<240)a[g+300+j>>0]=e;if(i<<24>>24>-1)a[g+428+j>>0]=(i&255)+1;else if((i&255)>253)a[g+428+j>>0]=i;j=j+1|0}while((j|0)!=120);e=a[f+304>>0]|0;if(e&1)c[g+4>>2]=c[g+4>>2]|1;if(e&2)c[g+4>>2]=c[g+4>>2]|4;if(e&4)c[g+4>>2]=c[g+4>>2]|2;if(e&8)c[g+4>>2]=c[g+4>>2]|2048;e=a[f+305>>0]|0;a[g+556>>0]=(e&255)>25?25:e;a[g+559>>0]=a[f+306>>0]|0;a[g+560>>0]=a[f+307>>0]|0;a[g+561>>0]=a[f+308>>0]|0;a[g+562>>0]=a[f+309>>0]|0;e=a[f+386>>0]|0;if(e&1)c[g+4>>2]=c[g+4>>2]|8;if(e&2)c[g+4>>2]=c[g+4>>2]|32;if(e&4)c[g+4>>2]=c[g+4>>2]|16;if(e&8)c[g+4>>2]=c[g+4>>2]|4096;e=a[f+387>>0]|0;a[g+557>>0]=(e&255)>25?25:e;a[g+563>>0]=a[f+388>>0]|0;a[g+564>>0]=a[f+389>>0]|0;a[g+565>>0]=a[f+390>>0]|0;a[g+566>>0]=a[f+391>>0]|0;e=a[f+468>>0]|0;if(e&1)c[g+4>>2]=c[g+4>>2]|64;if(e&2)c[g+4>>2]=c[g+4>>2]|256;if(e&4)c[g+4>>2]=c[g+4>>2]|128;if(e&8)c[g+4>>2]=c[g+4>>2]|8192;if(e<<24>>24<0)c[g+4>>2]=c[g+4>>2]|1024;e=a[f+469>>0]|0;a[g+558>>0]=(e&255)>25?25:e;a[g+567>>0]=a[f+470>>0]|0;a[g+568>>0]=a[f+471>>0]|0;a[g+569>>0]=a[f+472>>0]|0;a[g+570>>0]=a[f+473>>0]|0;e=0;do{h=e*3|0;a[g+204+e>>0]=a[f+(h+310)>>0]|0;b[g+12+(e<<1)>>1]=(d[f+(h+312)>>0]|0)<<8|(d[f+(h+311)>>0]|0);a[g+236+e>>0]=(d[f+(h+392)>>0]|0)+32;b[g+76+(e<<1)>>1]=(d[f+(h+394)>>0]|0)<<8|(d[f+(h+393)>>0]|0);a[g+268+e>>0]=(d[f+(h+474)>>0]|0)+32;b[g+140+(e<<1)>>1]=(d[f+(h+476)>>0]|0)<<8|(d[f+(h+475)>>0]|0);e=e+1|0}while((e|0)!=25);a[g+571>>0]=a[f+17>>0]|0;a[g+572>>0]=a[f+18>>0]|0;a[g+573>>0]=a[f+19>>0]|0;a[g+583>>0]=a[f+22>>0]|0;a[g+584>>0]=a[f+23>>0]|0;a[g+576>>0]=a[f+58>>0]|0;a[g+577>>0]=a[f+59>>0]|0;a[g+575>>0]=a[f+26>>0]|0;a[g+574>>0]=a[f+27>>0]|0;f=a[f+25>>0]|0;b[g+10>>1]=((f&255)<<2&508)>>>0>256?128:(f&255)<<2&508;if(f<<24>>24>-1){c[g+4>>2]=c[g+4>>2]|512;e=g+559|0}else e=g+559|0}if((d[e>>0]|0)>24)k=61;else if((d[g+560>>0]|0)>24)k=61;if((k|0)==61)c[g+4>>2]=c[g+4>>2]&-5;if((d[g+561>>0]|0)<=24)if((d[g+562>>0]|0)<=24)return 1;c[g+4>>2]=c[g+4>>2]&-3;return 1}function cOa(b,c,e){b=b|0;c=c|0;e=e|0;b=d[c+5>>0]|0;do switch(d[c+3>>0]|0|0){case 1:{e=16;break}case 2:{e=12;break}case 3:{if(e)e=14;else{e=14;b=((b>>>4)*10|0)+(b&15)|0}break}case 4:{e=11;break}case 5:{e=3;break}case 6:{e=2;break}case 7:{e=4;break}case 8:{e=5;break}case 9:{e=18;break}case 10:{e=1;break}case 11:{e=7;break}case 12:{e=6;break}case 13:{e=21;break}case 14:{e=22;break}case 15:{e=10;break}case 16:{e=29;break}case 17:{e=15;break}case 18:{e=8;break}case 19:{e=20;break}case 20:{e=17;break}case 21:{e=26;break}case 22:{e=23;break}case 23:{e=24;break}case 24:{e=9;break}case 25:{e=27;break}case 26:{e=31;break}default:e=0}while(0);a[c+3>>0]=e;a[c+5>>0]=b;return}function dOa(e,f,g){e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;if((f|0)==0|g>>>0<12){e=0;return e|0}if((d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24|0)!=1179011410){e=0;return e|0}if((d[f+8>>0]|d[f+8+1>>0]<<8|d[f+8+2>>0]<<16|d[f+8+3>>0]<<24|0)!=1163280727){e=0;return e|0}if((d[f+12>>0]|d[f+12+1>>0]<<8|d[f+12+2>>0]<<16|d[f+12+3>>0]<<24|0)!=544501094){e=0;return e|0}h=d[f+16>>0]|d[f+16+1>>0]<<8|d[f+16+2>>0]<<16|d[f+16+3>>0]<<24;if((h+28|0)>>>0>=g>>>0){e=0;return e|0}switch((d[f+20>>0]|d[f+20+1>>0]<<8)<<16>>16){case -2:case 1:break;default:{e=0;return e|0}}if(((d[f+22>>0]|d[f+22+1>>0]<<8)+-1&65535)>3){e=0;return e|0}if(!(d[f+24>>0]|d[f+24+1>>0]<<8|d[f+24+2>>0]<<16|d[f+24+3>>0]<<24)){e=0;return e|0}q=d[f+34>>0]|d[f+34+1>>0]<<8;if((q+-8&65535)>24|(q&7)!=0){e=0;return e|0}else h=h+20|0;while(1){q=f+h|0;if((d[q>>0]|d[q+1>>0]<<8|d[q+2>>0]<<16|d[q+3>>0]<<24|0)==1635017060){r=h;break}q=f+(h+4)|0;h=h+8+(d[q>>0]|d[q+1>>0]<<8|d[q+2>>0]<<16|d[q+3>>0]<<24)|0;if((h+8|0)>>>0>=g>>>0){i=0;j=37;break}}if((j|0)==37)return i|0;c[e+59680>>2]=1024;c[e+59684>>2]=0;c[e+59688>>2]=0;c[e+59664>>2]=4;c[e+59648>>2]=8;c[e+59652>>2]=125;c[e+59660>>2]=c[e+59660>>2]|16;a[e+53344>>0]=0;a[e+53345>>0]=-1;b[e+52866>>1]=64;b[e+52864>>1]=64;q=ONa(64,4)|0;c[e+51904>>2]=q;if(!q){e=1;return e|0}q=ONa(64,4)|0;c[e+51908>>2]=q;if(!q){e=1;return e|0}h=d[f+22>>0]|d[f+22+1>>0]<<8;n=d[f+34>>0]|d[f+34+1>>0]<<8;o=(_(n&65535,h&65535)|0)>>>3;l=d[f+(r+4)>>0]|d[f+(r+4)+1>>0]<<8|d[f+(r+4)+2>>0]<<16|d[f+(r+4)+3>>0]<<24;p=((l>>>0>(g+-8-r|0)>>>0?g+-8-r|0:l)>>>0)/(o>>>0)|0;q=p>>>0>16e6?16e6:p;if(!q){e=1;return e|0}j=((q*50|0)>>>0)/((d[f+24>>0]|d[f+24+1>>0]<<8|d[f+24+2>>0]<<16|d[f+24+3>>0]<<24)>>>0)|0;i=(((j+64|0)>>>0)/63|0)>>>0<4?4:((j+64|0)>>>0)/63|0;if(i>>>0>31){h=1;do{a[e+53344+h>>0]=1;h=h+1|0;a[e+53344+h>>0]=-1;i=h<<6}while(h>>>0<255?(((i+j|0)>>>0)/(i>>>0)|0)>>>0>31:0);k=d[f+22>>0]|d[f+22+1>>0]<<8;h=((i+j|0)>>>0)/(i>>>0)|0}else{k=h;h=i}c[e+59648>>2]=h;c[e+49600>>2]=0;c[e+49604>>2]=64;c[e+49608>>2]=0;c[e+49636>>2]=256;c[e+49640>>2]=64;c[e+49644>>2]=0;c[e+49672>>2]=0;c[e+49676>>2]=64;c[e+49680>>2]=0;c[e+49708>>2]=256;c[e+49712>>2]=64;c[e+49716>>2]=0;m=c[e+51904>>2]|0;a[m+3>>0]=16;a[m+5>>0]=h;a[m>>0]=61;a[m+1>>0]=1;a[m+6>>0]=61;a[m+7>>0]=1;h=k&65535;c[e+59684>>2]=h;if(!(k<<16>>16)){e=1;return e|0}g=(~((r+7-g|0)>>>0>~l>>>0?r+7-g|0:~l)>>>0)/(o>>>0)|0;g=g>>>0<16e6?g:16e6;i=61;k=0;while(1){l=k+1|0;a[m+(k*6|0)>>0]=i;a[m+(k*6|0)+1>>0]=l;c[e+33280+(l<<6)>>2]=q;c[e+33280+(l<<6)+24>>2]=d[f+24>>0]|d[f+24+1>>0]<<8|d[f+24+2>>0]<<16|d[f+24+3>>0]<<24;b[e+33280+(l<<6)+30>>1]=256;b[e+33280+(l<<6)+28>>1]=128;b[e+33280+(l<<6)+32>>1]=64;b[e+33280+(l<<6)+34>>1]=((d[f+34>>0]|d[f+34+1>>0]<<8)&65535)>15|32;a:do if(h>>>0>1)switch(k|0){case 0:{b[e+33280+(l<<6)+28>>1]=0;break a}case 1:{b[e+33280+(l<<6)+28>>1]=256;break a}case 2:{b[e+33280+(l<<6)+28>>1]=(h|0)==3?128:64;a[m+15>>0]=20;a[m+17>>0]=-111;break a}case 3:{b[e+33280+(l<<6)+28>>1]=192;a[m+21>>0]=20;a[m+23>>0]=-111;break a}default:{b[e+33280+(l<<6)+28>>1]=128;break a}}while(0);j=eOa((p<<((n&65535)>15&1))+8|0)|0;c[e+33280+(l<<6)+20>>2]=j;if(!j){i=1;j=37;break}h=d[f+34>>0]|d[f+34+1>>0]<<8;if((h&65535)>15){i=0;h=f+(r+6+((h&65535)>>>3)+(_((h&65535)>>>3,k)|0))|0;while(1){b[j+(i<<1)>>1]=b[h>>1]|0;i=i+1|0;if((i|0)==(g|0))break;else h=h+o|0}k=b[j+(q+-1<<1)>>1]|0;b[j+(q<<1)>>1]=k;b[j+(q+1<<1)>>1]=k}else{i=0;h=f+(r+8+k)|0;while(1){a[j+i>>0]=(d[h>>0]|0)+128;i=i+1|0;if((i|0)==(g|0))break;else h=h+o|0}k=a[j+(q+-1)>>0]|0;a[j+q>>0]=k;a[j+(q+1)>>0]=k}h=c[e+59684>>2]|0;if(l>>>0>=h>>>0){i=1;j=37;break}i=a[m>>0]|0;k=l}if((j|0)==37)return i|0;return 0}function eOa(a){a=a|0;var b=0;b=Vpb(a+39&-8)|0;if(b|0)hBb(b|0,0,a+39&-8|0)|0;return ((b|0)==0?0:b+16|0)|0}function fOa(b,e,f){b=b|0;e=e|0;f=f|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,v=0,w=0,x=0,y=0,z=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0;o=0;p=i;i=i+16336|0;if(!(gOa(0,e,f)|0)){o=0;i=p;return o|0}n=Xpb(1,428)|0;if(!n){o=0;i=p;return o|0}a[n+28>>0]=0;a[n+28+1>>0]=0;a[n+28+2>>0]=0;a[n+28+3>>0]=0;a[n+24>>0]=0;a[n+24+1>>0]=0;a[n+24+2>>0]=0;a[n+24+3>>0]=0;a[n+36>>0]=0;a[n+356>>0]=0;a[n+356+1>>0]=0;a[n+356+2>>0]=0;a[n+356+3>>0]=0;k=n;l=k+20|0;do{a[k>>0]=0;k=k+1|0}while((k|0)<(l|0));j=yf(521469)|0;if(!j){cpb(jh(0)|0);l=~~(+(epb()|0)*4.656612873077393e-06)+1|0;a[n+12>>0]=l;a[n+12+1>>0]=l>>8;a[n+12+2>>0]=l>>16;a[n+12+3>>0]=l>>24;c[p+8>>2]=l;rmb(p+1040|0,521490,p+8|0)|0;ig(521469,p+1040|0,1)|0}else{h=a[j>>0]|0;if(((h<<24>>24)+-48|0)>>>0<10){l=Hpb(j)|0;a[n+12>>0]=l;a[n+12+1>>0]=l>>8;a[n+12+2>>0]=l>>16;a[n+12+3>>0]=l>>24}if(h<<24>>24==45){l=Hpb(j+1|0)|0;a[n+12>>0]=l+-1;a[n+12+1>>0]=l+-1>>8;a[n+12+2>>0]=l+-1>>16;a[n+12+3>>0]=l+-1>>24;c[p>>2]=l+1;rmb(p+1040|0,521490,p)|0;ig(521469,p+1040|0,1)|0}}c[p+656>>2]=e;c[p+656+4>>2]=f;c[p+656+8>>2]=0;if(c[298871]|0)do Upb(1)|0;while((c[298871]|0)!=0);c[298871]=1;hOa();iOa();c[b+59652>>2]=0;c[298872]=0;c[298873]=0;a[n+20>>0]=6;a[n+20+1>>0]=0;a[n+20+2>>0]=0;a[n+20+3>>0]=0;c[298874]=2;c[298875]=1;a[n+360>>0]=120;a[n+360+1>>0]=0;a[n+360+2>>0]=0;a[n+360+3>>0]=0;a[n+368>>0]=120;a[n+368+1>>0]=0;a[n+368+2>>0]=0;a[n+368+3>>0]=0;a[n+364>>0]=25;a[n+364+1>>0]=0;a[n+364+2>>0]=0;a[n+364+3>>0]=0;a[n+372>>0]=33;a[n+372+1>>0]=0;a[n+372+2>>0]=0;a[n+372+3>>0]=0;c[p+652>>2]=0;c[p+644>>2]=0;c[p+640>>2]=0;c[p+636>>2]=1;c[p+632>>2]=1;a[n+376>>0]=0;a[n+376+1>>0]=0;a[n+376+2>>0]=0;a[n+376+3>>0]=0;a[n+380>>0]=0;a[n+380+1>>0]=0;a[n+380+2>>0]=0;a[n+380+3>>0]=0;a[n+384>>0]=1;a[n+384+1>>0]=0;a[n+384+2>>0]=0;a[n+384+3>>0]=0;a[n+388>>0]=0;a[n+388+1>>0]=0;a[n+388+2>>0]=0;a[n+388+3>>0]=0;k=n+412|0;l=k+16|0;do{a[k>>0]=0;k=k+1|0}while((k|0)<(l|0));a[n+392>>0]=71;a[n+392+1>>0]=0;a[n+392+2>>0]=0;a[n+392+3>>0]=0;a[n+396>>0]=45;a[n+396+1>>0]=0;a[n+396+2>>0]=0;a[n+396+3>>0]=0;a[n+400>>0]=33;a[n+400+1>>0]=0;a[n+400+2>>0]=0;a[n+400+3>>0]=0;a[n+404>>0]=80;a[n+404+1>>0]=0;a[n+404+2>>0]=0;a[n+404+3>>0]=0;a[n+408>>0]=80;a[n+408+1>>0]=0;a[n+408+2>>0]=0;a[n+408+3>>0]=0;jOa(n,521725);jOa(n,521765);jOa(n,521777);jOa(n,521788);jOa(n,521800);jOa(n,521819);jOa(n,521838);jOa(n,521853);jOa(n,521867);jOa(n,521879);c[298876]=0;lOa(1279070,3,45180);lOa(522057,3,45192);lOa(522059,4,45204);lOa(522061,4,45220);lOa(522064,4,45236);lOa(522069,4,45252);lOa(522072,4,45268);lOa(522074,4,45284);lOa(522077,3,45300);lOa(522081,3,45312);lOa(522083,4,45324);lOa(522088,4,45324);lOa(522091,3,45340);lOa(522095,4,45352);lOa(522100,5,45368);lOa(522102,5,45388);lOa(522105,5,45408);lOa(522110,5,45428);lOa(522113,6,45448);lOa(522116,5,45472);lOa(522121,3,45492);lOa(522125,3,45504);lOa(522130,4,45516);lOa(522135,4,45532);lOa(522141,4,45548);lOa(522147,5,45564);lOa(522153,2,45584);lOa(522155,6,45592);a[p+678>>0]=-1;a[p+678+1>>0]=0;a[p+678+2>>0]=-1;a[p+678+3>>0]=0;a[p+678+4>>0]=-1;a[p+678+5>>0]=0;a[p+678+6>>0]=-1;a[p+678+7>>0]=0;a[p+678+8>>0]=-1;a[p+678+9>>0]=0;a[p+678+10>>0]=-1;a[p+678+11>>0]=0;a[p+678+12>>0]=-1;a[p+678+13>>0]=0;a[p+678+14>>0]=-1;a[p+678+15>>0]=0;a[p+678+16>>0]=-1;a[p+678+17>>0]=0;a[p+678+18>>0]=-1;a[p+678+19>>0]=0;a[p+678+20>>0]=-1;a[p+678+21>>0]=0;a[p+678+22>>0]=-1;a[p+678+23>>0]=0;a[p+678+24>>0]=-1;a[p+678+25>>0]=0;a[p+678+26>>0]=-1;a[p+678+27>>0]=0;a[p+678+28>>0]=-1;a[p+678+29>>0]=0;a[p+678+30>>0]=-1;a[p+678+31>>0]=0;a[p+678+32>>0]=-1;a[p+678+33>>0]=0;a[p+678+34>>0]=-1;a[p+678+35>>0]=0;a[p+678+36>>0]=-1;a[p+678+37>>0]=0;a[p+678+38>>0]=-1;a[p+678+39>>0]=0;a[p+678+40>>0]=-1;a[p+678+41>>0]=0;a[p+678+42>>0]=-1;a[p+678+43>>0]=0;a[p+678+44>>0]=-1;a[p+678+45>>0]=0;a[p+678+46>>0]=-1;a[p+678+47>>0]=0;a[p+678+48>>0]=-1;a[p+678+49>>0]=0;a[p+678+50>>0]=-1;a[p+678+51>>0]=0;a[(p+678+52|0)>>0]=-1;a[(p+678+53|0)>>0]=0;a[n+32>>0]=127;a[n+33>>0]=125;a[n+34>>0]=110;a[n+35>>0]=1;h=1279070;while(1)if(!(cmb(a[h>>0]|0)|0))break;else h=h+1|0;j=a[h>>0]|0;if(j<<24>>24){if(((j<<24>>24)+-48|0)>>>0<10){e=j<<24>>24;j=0;f=0;do{j=e+-48+(j*10|0)|0;f=f+1|0;e=a[h+f>>0]|0}while((e+-48|0)>>>0<10);j=(f|0)==0?1:j;if((j|0)<0){j=0;h=h+f|0}else{j=(j|0)>127?127:j;h=h+f|0}}else j=1;a[n+32>>0]=j}while(1)if(!(cmb(a[h>>0]|0)|0))break;else h=h+1|0;j=a[h>>0]|0;if(j<<24>>24){if(((j<<24>>24)+-48|0)>>>0<10){e=j<<24>>24;j=0;f=0;do{j=e+-48+(j*10|0)|0;f=f+1|0;e=a[h+f>>0]|0}while((e+-48|0)>>>0<10);j=(f|0)==0?1:j;if((j|0)<0){j=0;h=h+f|0}else{j=(j|0)>127?127:j;h=h+f|0}}else j=1;a[n+33>>0]=j}while(1)if(!(cmb(a[h>>0]|0)|0))break;else h=h+1|0;j=a[h>>0]|0;if(j<<24>>24){if(((j<<24>>24)+-48|0)>>>0<10){e=j<<24>>24;j=0;f=0;do{j=e+-48+(j*10|0)|0;f=f+1|0;e=a[h+f>>0]|0}while((e+-48|0)>>>0<10);j=(f|0)==0?1:j;if((j|0)<0){j=0;h=h+f|0}else{j=(j|0)>127?127:j;h=h+f|0}}else j=1;a[n+34>>0]=j}while(1)if(!(cmb(a[h>>0]|0)|0))break;else h=h+1|0;j=a[h>>0]|0;if(!(j<<24>>24))h=a[n+35>>0]|0;else{if(((j<<24>>24)+-48|0)>>>0<10){e=j<<24>>24;j=0;f=0;do{j=e+-48+(j*10|0)|0;f=f+1|0;e=a[h+f>>0]|0}while((e+-48|0)>>>0<10);h=(f|0)==0?1:j;if((h|0)<0)h=0;else h=(h|0)>127?127:h}else h=1;h=h&255;a[n+35>>0]=h}if(!(h<<24>>24)){a[n+35>>0]=1;h=1279070}else h=1279070;while(1)if(!(cmb(a[h>>0]|0)|0))break;else h=h+1|0;j=d[n+28>>0]|d[n+28+1>>0]<<8|d[n+28+2>>0]<<16|d[n+28+3>>0]<<24;if(j|0)Wpb(j);if(!(a[h>>0]|0))h=0;else h=Pnb(h)|0;a[n+28>>0]=h;a[n+28+1>>0]=h>>8;a[n+28+2>>0]=h>>16;a[n+28+3>>0]=h>>24;c[p+648>>2]=0;c[p+600>>2]=p+656;c[p+656+8>>2]=0;if(!(d[n+12>>0]|d[n+12+1>>0]<<8|d[n+12+2>>0]<<16|d[n+12+3>>0]<<24)){f=0;h=0}else{c[p+656+8>>2]=0;h=mOa(n,p+656|0)|0;if(!h){f=0;h=0}else{j=0;do{while(1)if(!(cmb(a[h>>0]|0)|0))break;else h=h+1|0;j=((pmb(h,522202,2)|0)==0&1)+j|0;h=mOa(n,p+656|0)|0}while((h|0)!=0);if(!j){f=0;h=0}else{f=4;h=((d[n+12>>0]|d[n+12+1>>0]<<8|d[n+12+2>>0]<<16|d[n+12+3>>0]<<24)+-1|0)%(j|0)|0}}c[p+656+8>>2]=0}R=c[37151]|0;Q=0;P=0;O=0;N=0;M=0;L=0;K=0;J=0;I=0;H=0;G=0;F=1;E=1;D=f;C=0;z=0;y=120;x=0;w=1;v=0;u=0;s=0;r=0;q=0;j=1;f=0;e=0;c[p+1312>>2]=b;c[p+1360>>2]=m;c[p+2816>>2]=n;c[p+3896>>2]=R;c[p+9672>>2]=Q;c[p+9680>>2]=P;c[p+9688>>2]=O;c[p+9696>>2]=N;c[p+11056>>2]=M;c[p+11128>>2]=L;c[p+11208>>2]=K;c[p+11280>>2]=J;c[p+11328>>2]=I;c[p+11456>>2]=H;c[p+11512>>2]=G;c[p+11592>>2]=F;c[p+11744>>2]=E;c[p+11888>>2]=D;c[p+11968>>2]=C;c[p+12064>>2]=z;c[p+12168>>2]=y;c[p+12248>>2]=x;c[p+12304>>2]=w;c[p+12368>>2]=h;c[p+12376>>2]=v;c[p+12480>>2]=u;c[p+12512>>2]=s;c[p+12592>>2]=r;c[p+14104>>2]=q;c[p+14160>>2]=j;c[p+14328>>2]=f;c[p+15672>>2]=e;c[p+15928>>2]=k;c[p+15944>>2]=l;c[p+15992>>2]=o;c[p+16088>>2]=0;c[p+16092>>2]=0;bQa(p);A=c[p+16088>>2]|0;t=c[p+16092>>2]|0;B=+g[p+16092>>2];c[p+16088>>2]=0;c[p+16092>>2]=0;if((A|0)==6)return t|0;return 0|0;return 0}function gOa(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;h=i;i=i+128|0;if((d|0)<=0){j=0;i=h;return j|0}b=0;f=0;a:while(1){do if((b|0)>-1&(b|0)<(d|0)){g=a[c+b>>0]|0;e=b+1|0;if((e|0)<(d|0)&g<<24>>24==13)if((a[c+e>>0]|0)==10){a[h+f>>0]=10;e=b+2|0;b=f}else j=7;else j=7;if((j|0)==7){j=0;if(g<<24>>24==-1){b=e;j=11;break}a[h+f>>0]=g;if(g<<24>>24==10)b=f;else{f=f+1|0;if((f|0)<127){b=e;continue a}else b=f}}a[h+b>>0]=0;f=e}else j=11;while(0);if((j|0)==11){j=0;a[h+f>>0]=0;f=b}b=a[h>>0]|0;if(!(b<<24>>24)){if((f|0)<120){b=0;j=24;break}}else{if(!((Nmb(b<<24>>24)|0)!=0|((b<<24>>24)+-48|0)>>>0<10))if(!(cmb(b<<24>>24)|0))switch(b<<24>>24){case 37:case 58:break;default:{b=0;j=24;break a}}e=a[h+1>>0]|0;if(!((Nmb(e<<24>>24)|0)!=0|((e<<24>>24)+-48|0)>>>0<10))if(!(cmb(e<<24>>24)|0))switch(e<<24>>24){case 37:case 58:break;default:{b=0;j=24;break a}}if(b<<24>>24==75&e<<24>>24==58){b=a[h+2>>0]|0;if(Nmb(b)|0){b=1;j=24;break}if(cmb(b)|0){b=1;j=24;break}}}if((f|0)>-1&(f|0)<(d|0)){b=f;f=0}else{b=0;j=24;break}}if((j|0)==24){i=h;return b|0}return 0}function hOa(){hBb(1249113,0,191)|0;hBb(1249304,0,191)|0;return}function iOa(){var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+24848|0;hBb(q+16|0,0,20480)|0;b=1249495;d=521495;e=b+38|0;do{a[b>>0]=a[d>>0]|0;b=b+1|0;d=d+1|0}while((b|0)<(e|0));b=1249623;d=521533;e=b+39|0;do{a[b>>0]=a[d>>0]|0;b=b+1|0;d=d+1|0}while((b|0)<(e|0));b=yf(521572)|0;if(b|0){Bnb(1249623,b)|0;Bnb(1249495,b)|0;b=1249623+(rnb(1249623)|0)|0;d=521590;e=b+14|0;do{a[b>>0]=a[d>>0]|0;b=b+1|0;d=d+1|0}while((b|0)<(e|0));b=1249495+(rnb(1249495)|0)|0;d=521604;e=b+13|0;do{a[b>>0]=a[d>>0]|0;b=b+1|0;d=d+1|0}while((b|0)<(e|0))}Rob(q+16|0,1249623,4096)|0;b=0;do{a[1249751+(b<<7)>>0]=0;b=b+1|0}while((b|0)!=191);n=c[37151]|0;b=1;o=0;while(1){d=q+16+(o<<12)|0;do if(a[d>>0]|0){m=Xnb(d,524337)|0;if(!m){if(((rnb(d)|0)+77|0)>>>0<=255){c[q>>2]=d;rmb(q+24592|0,521617,q)|0;c[q+8>>2]=q+24592;oob(n,521695,q+8|0)|0}break}bob(q+20496|0,4096,m)|0;if(!(cob(m)|0)){l=0;do{d=a[q+20496>>0]|0;if((d+-48|0)>>>0<10){d=q+20496|0;p=15}else if(Omb(d)|0)if(((a[q+20496+1>>0]|0)+-48|0)>>>0<10){d=q+20496|0;p=15}a:do if((p|0)==15){while(1){p=0;if(!(cmb(a[d>>0]|0)|0))break;else{d=d+1|0;p=15}}f=Hpb(d)|0;while(1){e=a[d>>0]|0;if(((e<<24>>24)+-48|0)>>>0<10)d=d+1|0;else break}if(cmb(e<<24>>24)|0)do d=d+1|0;while((cmb(a[d>>0]|0)|0)!=0);if(f>>>0<=190){e=a[d>>0]|0;switch(e<<24>>24){case 0:case 35:break a;default:{}}if(!l){g=0;j=1249751+(f<<7)|0}else if((f|0)<25){g=0;j=1266135}else{g=0;j=1249751+(((f+104|0)<191?f+103|0:190)<<7)|0}while(1){k=(cmb(e<<24>>24)|0)==0;e=a[d>>0]|0;if(!k){f=e;e=j;break}if(!((g|0)<128&e<<24>>24!=35)){f=e;e=j;break}g=g+1|0;d=d+1|0;h=j+1|0;a[j>>0]=e;e=a[d>>0]|0;if(!(e<<24>>24)){f=0;e=h;break}else j=h}if(!(Omb(f<<24>>24)|0))d=e;else if((g|0)<128&(a[d+1>>0]|0)!=35){f=e+1|0;a[e>>0]=58;if(!(cmb(a[d>>0]|0)|0))d=f;else{g=g+1|0;while(1){while(1)if(!(cmb(a[d>>0]|0)|0))break;else d=d+1|0;e=a[d>>0]|0;b:do if(e<<24>>24==35){k=35;e=g}else{if(!(e<<24>>24)){k=0;e=g;break}while(1){if(!((g|0)<128&(cmb(e<<24>>24)|0)==0)){e=g;break}h=g+1|0;g=d+1|0;j=f+1|0;a[f>>0]=a[d>>0]|0;e=a[g>>0]|0;if(!(e<<24>>24)){k=0;d=g;e=h;f=j;break b}else{d=g;g=h;f=j}}k=a[d>>0]|0}while(0);if(cmb(k<<24>>24)|0){a[f>>0]=32;e=e+1|0;f=f+1|0}if(!(cmb(a[d>>0]|0)|0)){d=f;break}else g=e}}}else d=e;a[d>>0]=0}}while(0);k=(pmb(q+20496|0,521710,7)|0)==0;l=k?1:l;if((b|0)<5&(pmb(q+20496|0,521718,6)|0)==0){d=q+20496+7|0;while(1)if(!(cmb(a[d>>0]|0)|0))break;else d=d+1|0;f=0;g=q+16+(b<<12)|0;c:while(1){e=a[d>>0]|0;switch(e<<24>>24){case 35:case 0:{d=g;break c}default:{}}if(!((f|0)<128&(cmb(e<<24>>24)|0)==0)){d=g;break}a[g>>0]=a[d>>0]|0;d=d+1|0;f=f+1|0;g=g+1|0}a[d>>0]=0;b=b+1|0}bob(q+20496|0,4096,m)|0}while(!(cob(m)|0))}_nb(m)|0}while(0);o=o+1|0;if((o|0)==5){f=0;b=0;e=1249751;break}}while(1){d=1249751+(f<<7)|0;if(!(a[d>>0]|0)){if((d|0)==(e|0))d=0;else{Bnb(d,e)|0;d=a[d>>0]|0}b=(d<<24>>24==0&1)+b|0;d=e}f=f+1|0;if((f|0)==191)break;else e=d}if(!b){i=q;return}else b=190;d:while(1){while(1){e=1249751+(b<<7)|0;if(a[e>>0]|0)break;if((e|0)!=(d|0))Bnb(e,d)|0;if((b|0)>0)b=b+-1|0;else{p=66;break d}}if((b|0)>0){b=b+-1|0;d=e}else{p=66;break}}if((p|0)==66){i=q;return}}function jOa(b,c){b=b|0;c=c|0;var e=0,f=0,g=0,h=0,j=0;j=i;i=i+512|0;kOa(j+256|0,j,c);if((rnb(j+256|0)|0)>>>0>1){i=j;return}if(!(omb(521739,hmb(a[j+256>>0]|0)|0,20)|0)){i=j;return}c=Unb(j+256|0,33)|0;if(c|0)do{a[c>>0]=43;c=Unb(j+256|0,33)|0}while((c|0)!=0);if(Imb(j+256|0,521759)|0){h=Xpb(1,66)|0;g=Pnb(j+256|0)|0;a[h+4>>0]=g;a[h+4+1>>0]=g>>8;a[h+4+2>>0]=g>>16;a[h+4+3>>0]=g>>24;g=Pnb(j)|0;a[h+8>>0]=g;a[h+8+1>>0]=g>>8;a[h+8+2>>0]=g>>16;a[h+8+3>>0]=g>>24;a[h+12>>0]=0;a[h+12+1>>0]=0;a[h+12+2>>0]=0;a[h+12+3>>0]=0;g=d[b+4>>0]|d[b+4+1>>0]<<8|d[b+4+2>>0]<<16|d[b+4+3>>0]<<24;a[h>>0]=g;a[h+1>>0]=g>>8;a[h+2>>0]=g>>16;a[h+3>>0]=g>>24;a[b+4>>0]=h;a[b+4+1>>0]=h>>8;a[b+4+2>>0]=h>>16;a[b+4+3>>0]=h>>24;i=j;return}c=d[b+4>>0]|d[b+4+1>>0]<<8|d[b+4+2>>0]<<16|d[b+4+3>>0]<<24;if(!c){i=j;return}g=a[j+256>>0]|0;f=0;e=c;while(1){c=e+4|0;if((a[(d[c>>0]|d[c+1>>0]<<8|d[c+2>>0]<<16|d[c+3>>0]<<24)>>0]|0)==g<<24>>24)break;c=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!c){h=15;break}else{f=e;e=c}}if((h|0)==15){i=j;return}c=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!f){a[b+4>>0]=c;a[b+4+1>>0]=c>>8;a[b+4+2>>0]=c>>16;a[b+4+3>>0]=c>>24}else{a[f>>0]=c;a[f+1>>0]=c>>8;a[f+2>>0]=c>>16;a[f+3>>0]=c>>24}Wpb(e);i=j;return}function kOa(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=a[d>>0]|0;a:do if(!(e<<24>>24))g=0;else while(1){if(!(cmb(e<<24>>24)|0)){g=0;break a}d=d+1|0;e=a[d>>0]|0;if(!(e<<24>>24)){g=0;break}}while(0);while(1){f=a[d>>0]|0;if(!(f<<24>>24)){e=g;break}d=d+1|0;if(f<<24>>24==61){e=g;break}e=g+1|0;a[b+g>>0]=f;if(e>>>0<255)g=e;else break}while(1){if(!e){e=0;break}f=e+-1|0;if(!(cmb(a[b+f>>0]|0)|0))break;else e=f}a[b+e>>0]=0;e=a[d>>0]|0;b:do if(!(e<<24>>24))g=0;else while(1){if(!(cmb(e<<24>>24)|0)){g=0;break b}d=d+1|0;e=a[d>>0]|0;if(!(e<<24>>24)){g=0;break}}while(0);while(1){f=a[d>>0]|0;if(!(f<<24>>24)){e=g;break}e=g+1|0;a[c+g>>0]=f;if(e>>>0<255){d=d+1|0;g=e}else break}while(1){if(!e){e=0;d=17;break}d=e+-1|0;if(!(cmb(a[c+d>>0]|0)|0)){d=17;break}else e=d}if((d|0)==17){a[c+e>>0]=0;return}}function lOa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+304|0;e=rnb(a)|0;if(e>>>0>7){if((e+50|0)>>>0<=255){c[h>>2]=a;rmb(h+48|0,521890,h)|0;d=c[37151]|0;c[h+8>>2]=h+48;oob(d,521941,h+8|0)|0}i=h;return}if((b|0)>6){if((e+54|0)>>>0<=255){c[h+16>>2]=a;rmb(h+48|0,521956,h+16|0)|0;d=c[37151]|0;c[h+24>>2]=h+48;oob(d,521941,h+24|0)|0}i=h;return}e=c[298876]|0;if((e|0)>0){f=0;do{if(!(Imb(a,1274199+(f<<3)|0)|0)){g=11;break}f=f+1|0}while((f|0)<(e|0));if((g|0)==11){c[1195508+(f<<2)>>2]=b;if((b|0)>0)e=0;else{i=h;return}do{c[1195828+(f*24|0)+(e<<2)>>2]=c[d+(e<<2)>>2];e=e+1|0}while((e|0)!=(b|0));i=h;return}if((e|0)>79){if(((rnb(a)|0)+45|0)>>>0<=255){c[h+32>>2]=a;rmb(h+48|0,522011,h+32|0)|0;d=c[37151]|0;c[h+40>>2]=h+48;oob(d,521941,h+40|0)|0}i=h;return}}Bnb(1274199+(e<<3)|0,a)|0;e=c[298876]|0;c[1195508+(e<<2)>>2]=b;if((b|0)>0){f=0;do{c[1195828+(e*24|0)+(f<<2)>>2]=c[d+(f<<2)>>2];f=f+1|0}while((f|0)!=(b|0))}c[298876]=e+1;i=h;return}function mOa(b,c){b=b|0;c=c|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;e=d[b+16>>0]|d[b+16+1>>0]<<8|d[b+16+2>>0]<<16|d[b+16+3>>0]<<24;if(!e){a[b+16>>0]=64;a[b+16+1>>0]=0;a[b+16+2>>0]=0;a[b+16+3>>0]=0;m=Xpb(64,1)|0;a[b+24>>0]=m;a[b+24+1>>0]=m>>8;a[b+24+2>>0]=m>>16;a[b+24+3>>0]=m>>24;r=b+24|0;e=64}else{r=b+24|0;m=d[b+24>>0]|d[b+24+1>>0]<<8|d[b+24+2>>0]<<16|d[b+24+3>>0]<<24}f=d[c+8>>0]|d[c+8+1>>0]<<8|d[c+8+2>>0]<<16|d[c+8+3>>0]<<24;if((f|0)<0){s=0;return s|0}if((f|0)>=(d[c+4>>0]|d[c+4+1>>0]<<8|d[c+4+2>>0]<<16|d[c+4+3>>0]<<24|0)){s=0;return s|0}l=e+-2|0;a:do if(!l)e=0;else{e=0;b:while(1){if((f|0)<0)s=13;else{g=d[c+4>>0]|d[c+4+1>>0]<<8|d[c+4+2>>0]<<16|d[c+4+3>>0]<<24;if((f|0)<(g|0)){h=d[c>>0]|d[c+1>>0]<<8|d[c+2>>0]<<16|d[c+3>>0]<<24;j=a[h+f>>0]|0;i=f+1|0;a[c+8>>0]=i;a[c+8+1>>0]=i>>8;a[c+8+2>>0]=i>>16;a[c+8+3>>0]=i>>24;if((i|0)<(g|0)&j<<24>>24==13)if((a[h+i>>0]|0)==10){s=12;break}k=m+e|0;a[k>>0]=j;switch(j<<24>>24|0){case 10:break a;case 13:break b;default:{}}}else s=13}if((s|0)==13){s=0;a[m+e>>0]=-1}e=e+1|0;if(e>>>0>=l>>>0)break a;f=d[c+8>>0]|d[c+8+1>>0]<<8|d[c+8+2>>0]<<16|d[c+8+3>>0]<<24}if((s|0)==12){a[c+8>>0]=f+2;a[c+8+1>>0]=f+2>>8;a[c+8+2>>0]=f+2>>16;a[c+8+3>>0]=f+2>>24;a[m+e>>0]=10;break}i=d[c+8>>0]|d[c+8+1>>0]<<8|d[c+8+2>>0]<<16|d[c+8+3>>0]<<24;do if((i|0)<0)s=21;else{f=d[c+4>>0]|d[c+4+1>>0]<<8|d[c+4+2>>0]<<16|d[c+4+3>>0]<<24;if((i|0)<(f|0)){g=d[c>>0]|d[c+1>>0]<<8|d[c+2>>0]<<16|d[c+3>>0]<<24;h=a[g+i>>0]|0;a[c+8>>0]=i+1;a[c+8+1>>0]=i+1>>8;a[c+8+2>>0]=i+1>>16;a[c+8+3>>0]=i+1>>24;if((i+1|0)<(f|0)&h<<24>>24==13)if((a[g+(i+1)>>0]|0)==10){a[c+8>>0]=i+2;a[c+8+1>>0]=i+2>>8;a[c+8+2>>0]=i+2>>16;a[c+8+3>>0]=i+2>>24;break}if(h<<24>>24!=10)s=21}else s=21}while(0);if((s|0)==21){a[c+8>>0]=i;a[c+8+1>>0]=i>>8;a[c+8+2>>0]=i>>16;a[c+8+3>>0]=i>>24}a[k>>0]=10}while(0);if((e|0)==(l|0)){a[m+l>>0]=0;if(!m){s=0;return s|0}}else a[m+(((a[m+e>>0]|0)==10&1)+e)>>0]=0;f=d[r>>0]|d[r+1>>0]<<8|d[r+2>>0]<<16|d[r+3>>0]<<24;e=rnb(f)|0;g=d[b+16>>0]|d[b+16+1>>0]<<8|d[b+16+2>>0]<<16|d[b+16+3>>0]<<24;if((e|0)>(g+-3|0))do{f=Ypb(f,g<<1)|0;a[r>>0]=f;a[r+1>>0]=f>>8;a[r+2>>0]=f>>16;a[r+3>>0]=f>>24;n=d[b+16>>0]|d[b+16+1>>0]<<8|d[b+16+2>>0]<<16|d[b+16+3>>0]<<24;if((a[f+(e+-1)>>0]|0)!=10){g=d[c+8>>0]|d[c+8+1>>0]<<8|d[c+8+2>>0]<<16|d[c+8+3>>0]<<24;if((g|0)>=0){m=d[c+4>>0]|d[c+4+1>>0]<<8|d[c+4+2>>0]<<16|d[c+4+3>>0]<<24;if((g|0)<(m|0)){c:do if(!(n+-2|0))g=0;else{h=g;g=0;d:while(1){if((h|0)>-1&(h|0)<(m|0)){j=d[c>>0]|d[c+1>>0]<<8|d[c+2>>0]<<16|d[c+3>>0]<<24;i=a[j+h>>0]|0;k=h+1|0;a[c+8>>0]=k;a[c+8+1>>0]=k>>8;a[c+8+2>>0]=k>>16;a[c+8+3>>0]=k>>24;if((k|0)<(m|0)&i<<24>>24==13)if((a[j+k>>0]|0)==10){s=37;break}l=f+(g+e)|0;a[l>>0]=i;switch(i<<24>>24|0){case 10:break c;case 13:break d;default:h=k}}else a[f+(g+e)>>0]=-1;g=g+1|0;if(g>>>0>=(n+-2|0)>>>0)break c}if((s|0)==37){s=0;a[c+8>>0]=h+2;a[c+8+1>>0]=h+2>>8;a[c+8+2>>0]=h+2>>16;a[c+8+3>>0]=h+2>>24;a[f+(g+e)>>0]=10;break}do if((h|0)<-1|(k|0)<(m|0)^1)s=45;else{i=a[j+k>>0]|0;a[c+8>>0]=h+2;a[c+8+1>>0]=h+2>>8;a[c+8+2>>0]=h+2>>16;a[c+8+3>>0]=h+2>>24;if((h+2|0)<(m|0)&i<<24>>24==13)if((a[j+(h+2)>>0]|0)==10){a[c+8>>0]=h+3;a[c+8+1>>0]=h+3>>8;a[c+8+2>>0]=h+3>>16;a[c+8+3>>0]=h+3>>24;break}if(i<<24>>24!=10)s=45}while(0);if((s|0)==45){s=0;a[c+8>>0]=k;a[c+8+1>>0]=k>>8;a[c+8+2>>0]=k>>16;a[c+8+3>>0]=k>>24}a[l>>0]=10}while(0);if((g|0)==(n+-2|0))g=n+-2|0;else g=((a[f+(g+e)>>0]|0)==10&1)+g|0;a[f+(g+e)>>0]=0}}}g=n<<1;a[b+16>>0]=g;a[b+16+1>>0]=g>>8;a[b+16+2>>0]=g>>16;a[b+16+3>>0]=g>>24;e=rnb(f)|0}while((e|0)>(g+-3|0));a[f+(e+-1)>>0]=0;e=d[b>>0]|d[b+1>>0]<<8|d[b+2>>0]<<16|d[b+3>>0]<<24;if(e|0)do{c=e+12|0;c=d[c>>0]|d[c+1>>0]<<8|d[c+2>>0]<<16|d[c+3>>0]<<24;o=e+4|0;p=d[o>>0]|d[o+1>>0]<<8|d[o+2>>0]<<16|d[o+3>>0]<<24;e:do if(!c){q=e+8|0;nOa(b,p,d[q>>0]|d[q+1>>0]<<8|d[q+2>>0]<<16|d[q+3>>0]<<24)}else{q=e+8|0;g=p;f=0;while(1){n=Vpb((rnb(g)|0)+1|0)|0;Bnb(n,g)|0;a[n+(c-p)>>0]=a[522158+f>>0]|0;g=d[q>>0]|d[q+1>>0]<<8|d[q+2>>0]<<16|d[q+3>>0]<<24;k=rnb(g)|0;m=Vpb(k<<1|1)|0;f:do if((k|0)>0){l=f+-110|0;i=g;h=0;j=m;while(1){i=a[i+h>>0]|0;do if(i<<24>>24>103)if(!(imb(i<<24>>24)|0))s=63;else{g=j+1|0;a[j>>0]=a[522173+(l+(i<<24>>24)+7)>>0]|0;if((l+(i<<24>>24)|0)<0){a[g>>0]=44;g=j+2|0;break}if((l+(i<<24>>24)|0)>13){a[g>>0]=39;g=j+2|0}}else s=63;while(0);if((s|0)==63){s=0;a[j>>0]=i;g=j+1|0}h=h+1|0;if((h|0)==(k|0))break f;i=d[q>>0]|d[q+1>>0]<<8|d[q+2>>0]<<16|d[q+3>>0]<<24;j=g}}else g=m;while(0);a[g>>0]=0;nOa(b,n,m);Wpb(m);Wpb(n);f=f+1|0;if((f|0)==14)break e;g=d[o>>0]|d[o+1>>0]<<8|d[o+2>>0]<<16|d[o+3>>0]<<24}}while(0);e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24}while((e|0)!=0);s=d[r>>0]|d[r+1>>0]<<8|d[r+2>>0]<<16|d[r+3>>0]<<24;return s|0}function nOa(b,c,e){b=b|0;c=c|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;j=rnb(c)|0;k=rnb(e)|0;if((j|0)<1|(k|0)<1)return;if(pob(e,c)|0)return;g=d[b+24>>0]|d[b+24+1>>0]<<8|d[b+24+2>>0]<<16|d[b+24+3>>0]<<24;f=pob(g,c)|0;if(!f)return;if((k|0)<=(j|0)){do{i=k-j+(rnb(g)|0)|0;h=d[b+16>>0]|d[b+16+1>>0]<<8|d[b+16+2>>0]<<16|d[b+16+3>>0]<<24;if((i|0)>=(h|0)){f=Ypb(g,h<<1)|0;a[b+24>>0]=f;a[b+24+1>>0]=f>>8;a[b+24+2>>0]=f>>16;a[b+24+3>>0]=f>>24;i=(d[b+16>>0]|d[b+16+1>>0]<<8|d[b+16+2>>0]<<16|d[b+16+3>>0]<<24)<<1;a[b+16>>0]=i;a[b+16+1>>0]=i>>8;a[b+16+2>>0]=i>>16;a[b+16+3>>0]=i>>24;f=pob(f,c)|0}Bnb(f,e)|0;Lpb(f,f+j|0)|0;g=d[b+24>>0]|d[b+24+1>>0]<<8|d[b+24+2>>0]<<16|d[b+24+3>>0]<<24;f=pob(g,c)|0}while((f|0)!=0);return}do{i=rnb(g)|0;h=d[b+16>>0]|d[b+16+1>>0]<<8|d[b+16+2>>0]<<16|d[b+16+3>>0]<<24;if((k-j+i|0)>=(h|0)){f=Ypb(g,h<<1)|0;a[b+24>>0]=f;a[b+24+1>>0]=f>>8;a[b+24+2>>0]=f>>16;a[b+24+3>>0]=f>>24;g=(d[b+16>>0]|d[b+16+1>>0]<<8|d[b+16+2>>0]<<16|d[b+16+3>>0]<<24)<<1;a[b+16>>0]=g;a[b+16+1>>0]=g>>8;a[b+16+2>>0]=g>>16;a[b+16+3>>0]=g>>24;g=f;f=pob(f,c)|0}g=g+i|0;if(g>>>0>f>>>0)do{a[g+(k-j)>>0]=a[g>>0]|0;g=g+-1|0}while(g>>>0>f>>>0);g=a[e>>0]|0;if(g<<24>>24){h=e;while(1){a[f>>0]=g;h=h+1|0;g=a[h>>0]|0;if(!(g<<24>>24))break;else f=f+1|0}}g=d[b+24>>0]|d[b+24+1>>0]<<8|d[b+24+2>>0]<<16|d[b+24+3>>0]<<24;f=pob(g,c)|0}while((f|0)!=0);return}function oOa(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+32|0;while(1){h=a[e>>0]|0;if(h<<24>>24==32)e=e+1|0;else{g=1;j=0;break}}a:while(1){switch(h<<24>>24){case 37:case 93:case 0:{g=j;break a}default:{}}if(cmb(h<<24>>24)|0){g=j;break}a[o+j>>0]=a[e>>0]|0;j=e+1|0;h=g+1|0;if(h>>>0>=21){e=j;break}m=g;e=j;g=h;h=a[j>>0]|0;j=m}a[o+g>>0]=0;if(f|0)g=0;else g=pOa(e)|0;e=d[b+8>>0]|d[b+8+1>>0]<<8|d[b+8+2>>0]<<16|d[b+8+3>>0]<<24;if(!e){n=0;l=1;e=0;m=g;k=0}else{l=0;m=1;j=0;k=0;while(1){h=a[e+36>>0]|0;if(!(h<<24>>24))j=(j|0)==0?e:j;else if(!(Anb(e+44|0,o,20)|0)){if((d[e+37>>0]|0|0)==(f|0)){n=31;break}g=e+20|0;g=d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24;l=e+24|0;c[299437]=d[l>>0]|d[l+1>>0]<<8|d[l+2>>0]<<16|d[l+3>>0]<<24;l=d[e+40>>0]|0;m=d[e+42>>0]|0;k=h&255}h=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!h){h=l;l=m;m=g;break}else e=h}if((n|0)==31){i=o;return e|0}if(!j)n=h;else{if(f|0){h=h&255;g=l&255;e=k}else{e=(c[298872]|0)+1|0;c[298872]=e;h=0;g=1}a[j+36>>0]=e;a[j+42>>0]=g;a[j+40>>0]=h;a[j+37>>0]=f;a[j+38>>0]=f;Rob(j+44|0,o,20)|0;a[j+64>>0]=0;a[j+39>>0]=0;a[j+20>>0]=m;a[j+20+1>>0]=m>>8;a[j+20+2>>0]=m>>16;a[j+20+3>>0]=m>>24;f=c[299437]|0;a[j+24>>0]=f;a[j+24+1>>0]=f>>8;a[j+24+2>>0]=f>>16;a[j+24+3>>0]=f>>24;a[j+41>>0]=a[(d[b+8>>0]|d[b+8+1>>0]<<8|d[b+8+2>>0]<<16|d[b+8+3>>0]<<24)+41>>0]|0;a[j+16>>0]=0;a[j+16+1>>0]=0;a[j+16+2>>0]=0;a[j+16+3>>0]=0;a[j+43>>0]=0;f=j;i=o;return f|0}}g=c[298872]|0;if(!f){c[298872]=g+1;g=g+1|0}j=Xpb(1,66)|0;a[j>>0]=0;a[j+1>>0]=0;a[j+2>>0]=0;a[j+3>>0]=0;a[j+36>>0]=g;a[j+37>>0]=f;a[j+38>>0]=f;a[j+42>>0]=1;Rob(j+44|0,o,20)|0;a[j+64>>0]=0;a[j+39>>0]=0;a[j+40>>0]=0;g=j+4|0;h=g+20|0;do{a[g>>0]=0;g=g+1|0}while((g|0)<(h|0));g=d[b+8>>0]|d[b+8+1>>0]<<8|d[b+8+2>>0]<<16|d[b+8+3>>0]<<24;if(!g)g=120;else g=a[g+41>>0]|0;a[j+41>>0]=g;a[j+28>>0]=0;a[j+28+1>>0]=0;a[j+28+2>>0]=0;a[j+28+3>>0]=0;a[j+32>>0]=0;a[j+32+1>>0]=0;a[j+32+2>>0]=0;a[j+32+3>>0]=0;a[j+43>>0]=0;if(f|0){a[j+36>>0]=k;a[j+42>>0]=l;a[j+40>>0]=n}a[j+20>>0]=m;a[j+20+1>>0]=m>>8;a[j+20+2>>0]=m>>16;a[j+20+3>>0]=m>>24;f=c[299437]|0;a[j+24>>0]=f;a[j+24+1>>0]=f>>8;a[j+24+2>>0]=f>>16;a[j+24+3>>0]=f>>24;if(!e){a[b+8>>0]=j;a[b+8+1>>0]=j>>8;a[b+8+2>>0]=j>>16;a[b+8+3>>0]=j>>24;f=j;i=o;return f|0}else{a[e>>0]=j;a[e+1>>0]=j>>8;a[e+2>>0]=j>>16;a[e+3>>0]=j>>24;f=j;i=o;return f|0}return 0}function pOa(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c[299437]=99;g=99;l=594093;e=1279070;f=0;a:while(1){switch(a[b>>0]|0){case 93:case 0:{b=f;break a}default:{}}if(!(Anb(b,522205,2)|0)){i=b+2|0;k=(a[i>>0]|0)==45;j=k?3:2;i=k?b+3|0:i;k=k?-1:1;d=a[i>>0]|0;if((d+-48|0)>>>0<10){g=0;h=0;do{g=d+-48+(g*10|0)|0;h=h+1|0;d=a[i+h>>0]|0}while((d+-48|0)>>>0<10);d=h}else{g=0;d=0}f=(_((d|0)==0?1:g,k)|0)+f|0;c[299437]=0;b=b+(d+j)|0;d=0}else d=g;if(!(Anb(b,522208,7)|0)){i=b+7|0;j=(a[i>>0]|0)==45;k=j?8:7;i=j?b+8|0:i;d=a[i>>0]|0;if((d+-48|0)>>>0<10){g=0;h=0;do{g=d+-48+(g*10|0)|0;h=h+1|0;d=a[i+h>>0]|0}while((d+-48|0)>>>0<10);d=h}else{g=0;d=0}f=(_(j?-12:12,(d|0)==0?1:g)|0)+f|0;c[299437]=0;b=b+(d+k)|0;d=0}if(!(Anb(b,522216,10)|0)){i=b+10|0;k=(a[i>>0]|0)==45;j=k?11:10;i=k?b+11|0:i;k=k?-1:1;d=a[i>>0]|0;if((d+-48|0)>>>0<10){g=0;h=0;do{g=d+-48+(g*10|0)|0;h=h+1|0;d=a[i+h>>0]|0}while((d+-48|0)>>>0<10);d=h}else{g=0;d=0}f=(_((d|0)==0?1:g,k)|0)+f|0;c[299437]=0;b=b+(d+j)|0;d=0}if(!(Anb(b,522208,7)|0)){i=b+7|0;j=(a[i>>0]|0)==45;k=j?8:7;i=j?b+8|0:i;d=a[i>>0]|0;if((d+-48|0)>>>0<10){g=0;h=0;do{g=d+-48+(g*10|0)|0;h=h+1|0;d=a[i+h>>0]|0}while((d+-48|0)>>>0<10);d=h}else{g=0;d=0}f=(_(j?-12:12,(d|0)==0?1:g)|0)+f|0;c[299437]=0;b=b+(d+k)|0;d=0}if(!(Anb(b,522227,2)|0)){e=b+2|0;b=e;b:while(1){switch(a[b>>0]|0){case 93:case 32:case 0:break b;default:{}}b=b+1|0}c[299437]=0;d=0}if(!(Anb(b,522230,7)|0)){e=b+7|0;b=e;c:while(1){switch(a[b>>0]|0){case 93:case 32:case 0:break c;default:{}}b=b+1|0}c[299437]=0;g=0}else g=d;k=(Anb(b,522238,5)|0)==0;b=k?b+5|0:b;d:do if(!(Anb(b,522244,6)|0)){switch(a[b+6>>0]|0){case 49:{b=b+7|0;d=522251;break}case 50:{b=b+7|0;d=594093;break}case 51:{b=b+7|0;d=522253;break}case 52:{b=b+7|0;d=522255;break}case 53:{b=b+7|0;d=617725;break}default:{b=b+6|0;d=594093}}c[299437]=0;g=0}else{if(!(Anb(b,522257,4)|0)){switch(a[b+4>>0]|0){case 49:{b=b+5|0;d=617725;break}case 50:{b=b+5|0;d=522265;break}case 51:{b=b+5|0;d=522268;break}case 52:{b=b+5|0;d=522262;break}case 53:{b=b+5|0;d=522271;break}default:{b=b+4|0;d=522262}}if((g|0)!=99)break;c[299437]=-2;g=-2;break}if(!(Anb(b,522275,5)|0)){switch(a[b+5>>0]|0){case 49:{b=b+6|0;d=522253;break}case 50:{b=b+6|0;d=522255;break}case 51:{b=b+6|0;d=617725;break}case 52:{b=b+6|0;d=522265;break}case 53:{b=b+6|0;d=522268;break}default:{b=b+5|0;d=522265}}if((g|0)!=99)break;c[299437]=1;g=1;break}if(!(Anb(b,522281,4)|0)){switch(a[b+4>>0]|0){case 49:{b=b+5|0;d=522253;break}case 50:{b=b+5|0;d=522255;break}case 51:{b=b+5|0;d=617725;break}case 52:{b=b+5|0;d=522265;break}case 53:{b=b+5|0;d=522268;break}default:{b=b+4|0;d=617725}}if((g|0)!=99)break;c[299437]=1;g=1;break}else{d=a[b>>0]|0;if(!(d<<24>>24==0|(omb(522286,d<<24>>24,3)|0)==0))if((a[b+1>>0]|0)==56){switch(d<<24>>24|0){case 43:{f=f+12|0;break}case 45:{f=f+-12|0;break}default:{}}g=(Anb(b+2|0,522289,2)|0)==0;c[299437]=0;b=g?b+4|0:b+2|0;g=0;d=l;break}while(1){switch(d<<24>>24){case 93:case 32:case 0:{d=l;break d}default:{}}d=b+1|0;b=d;d=a[d>>0]|0}}}while(0);b=b+1|0;l=d}d=a[e>>0]|0;if(d<<24>>24){switch(d<<24>>24|0){case 94:{h=2;f=a[e+1>>0]|0;break}case 95:{h=2;f=a[e+1>>0]|0;break}case 61:{h=2;f=a[e+1>>0]|0;break}default:{h=1;f=d<<24>>24}}d=0;do{if((f|0)==(a[522292+d>>0]|0))break;d=d+1|0}while((d|0)<25);j=(d|0)>12;i=j?5:4;e:while(1){f=a[e+h>>0]|0;switch(f<<24>>24){case 39:case 44:break;default:break e}h=h+1|0;i=(f<<24>>24==44?-1:1)+i|0}k=j?d+-12|0:d;d=a[l>>0]|0;switch(d|0){case 94:{h=2;d=a[l+1>>0]|0;break}case 95:{h=2;d=a[l+1>>0]|0;break}case 61:{h=2;d=a[l+1>>0]|0;break}default:h=1}e=0;do{if((d|0)==(a[522292+e>>0]|0))break;e=e+1|0}while((e|0)<25);j=(e|0)>12;d=j?5:4;f:while(1){f=a[l+h>>0]|0;switch(f<<24>>24){case 39:case 44:break;default:break f}h=h+1|0;d=(f<<24>>24==44?-1:1)+d|0}b=k+b+(i*12|0)-(j?e+-12|0:e)+(_(d,-12)|0)|0}if((g|0)!=99)return b|0;c[299437]=0;return b|0}function qOa(b,e){b=b|0;e=e|0;var f=0,g=0;if(!(d[b+12>>0]|d[b+12+1>>0]<<8|d[b+12+2>>0]<<16|d[b+12+3>>0]<<24)){g=c[298873]|0;f=Xpb(1,16)|0;a[f>>0]=0;a[f+1>>0]=0;a[f+2>>0]=0;a[f+3>>0]=0;a[f+4>>0]=g;a[f+4+1>>0]=g>>8;a[f+4+2>>0]=g>>16;a[f+4+3>>0]=g>>24;a[f+8>>0]=1;a[f+9>>0]=66;a[f+10>>0]=0;a[f+10+1>>0]=0;a[f+10+2>>0]=0;a[f+10+3>>0]=0;a[f+14>>0]=a[1274839]|0;a[f+15>>0]=0;a[b+12>>0]=f;a[b+12+1>>0]=f>>8;a[b+12+2>>0]=f>>16;a[b+12+3>>0]=f>>24;qOa(b,f)}f=d[b+8>>0]|d[b+8+1>>0]<<8|d[b+8+2>>0]<<16|d[b+8+3>>0]<<24;if(!f){a[b+4>>0]=e;a[b+4+1>>0]=e>>8;a[b+4+2>>0]=e>>16;a[b+4+3>>0]=e>>24;a[b+8>>0]=e;a[b+8+1>>0]=e>>8;a[b+8+2>>0]=e>>16;a[b+8+3>>0]=e>>24;return}else{a[f>>0]=e;a[f+1>>0]=e>>8;a[f+2>>0]=e>>16;a[f+3>>0]=e>>24;a[b+8>>0]=e;a[b+8+1>>0]=e>>8;a[b+8+2>>0]=e>>16;a[b+8+3>>0]=e>>24;return}}function rOa(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;e=0;while(1){f=b+e|0;g=e+1|0;if(!(cmb(a[f>>0]|0)|0)){j=e;break}else e=g}e=a[f>>0]|0;if(e<<24>>24==40){e=(rOa(b+g|0,d)|0)+j|0;a:while(1){switch(a[b+e>>0]|0){case 0:case 41:break a;default:{}}e=e+1|0}i=k;return e|0}if(((e<<24>>24)+-48|0)>>>0<10){g=e<<24>>24;f=0;e=0;do{f=g+-48+(f*10|0)|0;e=e+1|0;g=a[b+(e+j)>>0]|0}while((g+-48|0)>>>0<10)}else{f=0;e=0}h=(e|0)==0;e=e+j|0;while(1){g=b+e|0;if(!(cmb(a[g>>0]|0)|0))break;else e=e+1|0}f=h?1:f;if((a[g>>0]|0)==43)do{e=e+1|0;e=e+(rOa(b+e|0,k)|0)|0;g=c[k>>2]|0;while(1){h=b+e|0;if(!(cmb(a[h>>0]|0)|0))break;else e=e+1|0}f=g+f|0}while((a[h>>0]|0)==43);c[d>>2]=f;d=e;i=k;return d|0}function sOa(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+304|0;e=c[b>>2]|0;if(e|0)Wpb(e);c[b>>2]=0;if(!d){i=p;return}else f=0;a:while(1){e=a[d+f>>0]|0;switch(e<<24>>24){case 37:case 0:{k=0;e=0;break a}default:{}}if(!(omb(522350,e<<24>>24,41)|0)){o=6;break}else f=f+1|0}if((o|0)==6){if(((rnb(d)|0)+47|0)>>>0<=255){c[p>>2]=d;rmb(p+48|0,522391,p)|0;d=c[37151]|0;c[p+8>>2]=p+48;oob(d,521941,p+8|0)|0}i=p;return}b:while(1){g=d+k|0;f=a[g>>0]|0;switch(f<<24>>24){case 37:case 0:break b;default:{}}e=((Vlb(f<<24>>24)|0)!=0&1)+e|0;f=a[g>>0]|0;if((f+-48|0)>>>0<10){g=0;h=0;while(1){g=f+-48+(g*10|0)|0;j=h+1|0;f=a[d+(j+k)>>0]|0;if((f+-48|0)>>>0>=10){f=h;break}else h=j}n=(j|0)==0?1:g;n=(n|0)==0?1:n;m=_(n,e)|0;f=f+k|0;e=(a[d+(k+-1)>>0]|0)==41?m:e+-1+n|0}else f=k;k=f+1|0}n=Xpb(e+1|0,1)|0;l=0;e=0;c:while(1){g=d+l|0;f=a[g>>0]|0;switch(f<<24>>24){case 37:case 0:break c;default:{}}if(((f<<24>>24)+-48|0)>>>0<10)o=18;else{m=(Vlb(f<<24>>24)|0)!=0;f=a[g>>0]|0;if(m|(f&-2)<<24>>24==40)o=18;else f=l}do if((o|0)==18){o=0;if(f<<24>>24==41)g=e;else{g=f<<24>>24;if((g+-48|0)>>>0<10){h=0;f=0}else{a[n+e>>0]=f;f=l;e=e+1|0;break}while(1){h=g+-48+(h*10|0)|0;k=f+1|0;g=a[d+(k+l)>>0]|0;if((g+-48|0)>>>0>=10)break;else f=k}j=f+l|0;h=(k|0)==0?1:h;if((h|0)<=1){f=j;break}f=h;g=e;while(1){f=f+-1|0;a[n+g>>0]=a[n+(g+-1)>>0]|0;if((f|0)<=1)break;else g=g+1|0}f=j;e=h+-1+e|0;break}while(1){if((g|0)<=0){o=26;break c}f=g+-1|0;if((a[n+f>>0]|0)==40)break;else g=f}if((e|0)>(g|0)){f=g;do{a[n+(f+-1)>>0]=a[n+f>>0]|0;f=f+1|0}while((f|0)!=(e|0))}m=e+-1|0;j=l+1|0;f=a[d+j>>0]|0;if((f+-48|0)>>>0<10){k=0;h=0;do{k=f+-48+(k*10|0)|0;h=h+1|0;f=a[d+(h+j)>>0]|0}while((f+-48|0)>>>0<10);f=h+l|0;if((h|0)!=0&(k|0)>1&(m-g|0)>-1){l=e-g|0;l=(l|0)>1?l:1;e=m;do{k=k+-1|0;h=e;j=0;while(1){a[n+h>>0]=a[n+(h-(m-g+1))>>0]|0;j=j+1|0;if((j|0)>=(m-g+1|0))break;else h=h+1|0}e=l+e|0}while((k|0)>1)}else e=m}else{f=l;e=m}}while(0);l=f+1|0}if((o|0)==26)if(((rnb(d)|0)+52|0)>>>0<=255){c[p+16>>2]=d;rmb(p+48|0,522439,p+16|0)|0;o=c[37151]|0;c[p+24>>2]=p+48;oob(o,521941,p+24|0)|0}a[n+e>>0]=0;if((e|0)>0){g=c[37151]|0;h=0;do{if((a[n+h>>0]|0)==40){if(((rnb(d)|0)+51|0)>>>0<=255){c[p+32>>2]=d;rmb(p+48|0,522492,p+32|0)|0;c[p+40>>2]=p+48;oob(g,521941,p+40|0)|0}if((h|0)<(e|0)){f=h;do{o=f;f=f+1|0;a[n+o>>0]=a[n+f>>0]|0}while((f|0)!=(e|0))}e=e+-1|0}h=h+1|0}while((h|0)<(e|0))}c[b>>2]=n;i=p;return}function tOa(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=i;i=i+272|0;e=a[b>>0]|0;if(!(e<<24>>24)){g=120;e=4;f=1;s=16}else{g=120;k=0;h=1;f=0;n=0;q=0;r=b;l=0;a:while(1){j=e<<24>>24;b:do if(!k){if(e<<24>>24==93){e=q;break a}switch(j|0){case 61:{o=g;m=0;p=h;e=r;j=l;break b}case 34:{o=g;m=1;p=h;e=r;j=l;break b}case 47:{o=g;m=0;p=h;n=g;q=q+1|0;e=r;j=1;break b}default:{if((j+-48|0)>>>0>=10){o=g;m=0;p=h;e=r;j=l;break b}if(!l){g=j;e=0;j=0;while(1){e=g+-48+(e*10|0)|0;k=j+1|0;g=a[r+k>>0]|0;if((g+-48|0)>>>0>=10)break;else j=k}o=(k|0)==0?1:e;m=0;p=h;e=r+j|0;j=0;break b}else{e=0;k=0;while(1){e=j+-48+(e*10|0)|0;l=k+1|0;j=a[r+l>>0]|0;if((j+-48|0)>>>0>=10)break;else k=l}e=(l|0)==0?1:e;o=g;m=0;p=_(e,h)|0;f=(_(e,f)|0)+(_(n,h)|0)|0;e=r+k|0;j=0;break b}}}}else{o=g;m=e<<24>>24==34?0:k;p=h;e=r;j=l}while(0);r=e+1|0;e=a[r>>0]|0;if(!(e<<24>>24)){g=o;h=p;e=q;break}else{g=o;k=m;h=p;l=j}}e=(e|0)==0;f=e?1:f;e=e?4:h;if(!e){k=0;h=f;e=120}else s=16}if((s|0)==16){k=e;h=f;e=(_(g<<2,f)|0)/(e|0)|0}f=(e|0)<1?120:e;g=c[298875]|0;l=d|0?c[298874]|0:h;c[298874]=1;e=1;while(1){j=(f|0)/(e|0)|0;if((j|0)>255)e=e+1|0;else{h=e;break}}k=d|0?g:k;c[298875]=h;e=1;while(1){f=e+1|0;if((_(f,j)|0)<256)e=f;else break}c[298874]=e;g=_(e,j)|0;if((g*3|0)<512){c[298874]=e*3;c[298875]=h<<1;e=e*3|0;f=h<<1;g=(g*3|0)/2|0}else f=h;if(!d){b=g;i=t;return b|0}if((l|0)==(e|0)&(k|0)==(f|0)){b=g;i=t;return b|0}e=(_(_(g,l)|0,f)|0)/(_(e,k)|0)|0;if((e+-32|0)>>>0<224){c[298874]=l;c[298875]=k;b=e;i=t;return b|0}if(((rnb(b)|0)+58|0)>>>0<=255){c[t>>2]=b;rmb(t+16|0,522547,t)|0;b=c[37151]|0;c[t+8>>2]=t+16;oob(b,521941,t+8|0)|0}b=g;i=t;return b|0}function uOa(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;h=i;i=i+288|0;c[h>>2]=0;c[h+4>>2]=0;while(1)if(!(cmb(a[b>>0]|0)|0)){g=b;break}else b=b+1|0;d=g;b=0;a:while(1){e=a[d>>0]|0;switch(e<<24>>24){case 93:case 0:break a;default:{}}if(cmb(e<<24>>24)|0){while(1)if(!(cmb(a[d>>0]|0)|0))break;else d=d+1|0;if(Anb(d,522627,3)|0)if(Anb(d,522631,3)|0)break}a[h+b>>0]=a[d>>0]|0;b=b+1|0;if((b|0)<8)d=d+1|0;else break}a[h+b>>0]=0;if(!(Imb(h,522635)|0))f=12;else if(!(Imb(h,522638)|0))f=12;if((f|0)==12){a[h>>0]=a[522641]|0;a[h+1>>0]=a[522642]|0;a[h+2>>0]=a[522643]|0}f=(tnb(h+1|0,522644)|0)==0;e=(tnb(h+2|0,522644)|0)==0;d=(tnb(h+1|0,522650)|0)==0;j=(tnb(h+2|0,522650)|0)==0;j=j|(tnb(h+1|0,522627)|0)==0;k=(tnb(h+2|0,522627)|0)==0;l=(tnb(h+1|0,522631)|0)==0;m=(tnb(h+2|0,522631)|0)==0;b=m?2:l?1:k?3:j?2:d?1:e?3:f?2:b;if((b|0)<6){hBb(h+b|0,32,6-b|0)|0;b=h+6|0}else b=h+b|0;a[b>>0]=0;d=45616;b=0;while(1){d=c[d>>2]|0;if(!(Anb(d+10|0,h,6)|0)){f=21;break}if(!(Anb(d+16|0,h,6)|0)){f=21;break}if(!(Anb(d+22|0,h,6)|0)){f=21;break}if(!(Anb(d+28|0,h,6)|0)){f=21;break}if(!(Anb(d+34|0,h,6)|0)){f=21;break}if(!(Anb(d+40|0,h,6)|0)){f=21;break}b=b+1|0;if((b|0)==15){f=18;break}else d=45616+(b<<2)|0}if((f|0)==18){if(((rnb(g)|0)+33|0)>>>0<=255){c[h+8>>2]=g;rmb(h+24|0,523451,h+8|0)|0;m=c[37151]|0;c[h+16>>2]=h+24;oob(m,521941,h+16|0)|0}m=7;i=h;return m|0}else if((f|0)==21){i=h;return b|0}return 0}function vOa(b,c){b=b|0;c=c|0;var d=0,e=0;while(1)if(!(cmb(a[b>>0]|0)|0))break;else b=b+1|0;if(!(pmb(b,523707,2)|0)){if(cmb(a[b+2>>0]|0)|0){e=2;return e|0}if(!(a[b+2>>0]|0)){e=2;return e|0}}if(!(pmb(b,523710,3)|0)){if(cmb(a[b+3>>0]|0)|0){e=1;return e|0}if(!(a[b+3>>0]|0)){e=1;return e|0}}d=a[b>>0]|0;a:do if(!(d<<24>>24))b=c+36|0;else{e=b;b=c+36|0;do{if(cmb(d<<24>>24)|0)break a;d=a[e>>0]|0;if(!(omb(523714,d<<24>>24,23)|0))break a;c=b+1|0;a[b>>0]=d;d=e;e=e+1|0;if(((a[d>>0]|0)+-48|0)>>>0<10)b=c;else if(((a[e>>0]|0)+-48|0)>>>0<10)b=c;else{a[c>>0]=49;b=b+2|0}d=a[e>>0]|0}while(d<<24>>24!=0)}while(0);a[b>>0]=0;e=0;return e|0}function wOa(b){b=b|0;var c=0,d=0,e=0,f=0;c=0;while(1){d=1249304+c|0;e=a[d>>0]|0;if(!(e<<24>>24))break;c=c+1|0;if((e&255|0)==(b|0)){f=6;break}}if((f|0)==6)return c|0;if((c|0)>=191){f=1;return f|0}a[d>>0]=b;f=c+1|0;return f|0}function xOa(e,f,g){e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;L=i;i=i+592|0;if(!e){i=L;return}h=d[e+8>>0]|d[e+8+1>>0]<<8|d[e+8+2>>0]<<16|d[e+8+3>>0]<<24;if(!h){i=L;return}if(!(d[h+12>>0]|d[h+12+1>>0]<<8|d[h+12+2>>0]<<16|d[h+12+3>>0]<<24)){i=L;return}b[L+328>>1]=65;j=d[h+12>>0]|d[h+12+1>>0]<<8|d[h+12+2>>0]<<16|d[h+12+3>>0]<<24;k=d[j+4>>0]|d[j+4+1>>0]<<8|d[j+4+2>>0]<<16|d[j+4+3>>0]<<24;c[L>>2]=k;c[L+216>>2]=-1;c[L+108>>2]=1;a:do if(!j){j=1;h=0}else{t=h;s=j;j=1;m=1;G=-1;H=-1;q=0;F=0;I=0;J=-1;b:while(1){c:do if((a[s+8>>0]|0)==1)switch(d[s+9>>0]|0){case 80:{r=s+4|0;r=d[r>>0]|d[r+1>>0]<<8|d[r+2>>0]<<16|d[r+3>>0]<<24;if(r>>>0<=k>>>0){o=G;p=H;h=F;l=I;n=J;break c}if((F|0)<26){h=F+1|0;c[L+(h<<2)>>2]=r}else h=F;if((j|0)<255){a[L+328+j>>0]=h+65;j=j+1|0}c[L+216+(h<<2)>>2]=-1;c[L+108+(h<<2)>>2]=h+1;o=G;p=H;l=I;n=J;k=r;break c}case 76:{m=1;o=G;p=H;q=F;h=F;l=I;n=J;break c}case 86:{o=s+10|0;c[L+216+(F<<2)>>2]=d[o>>0]|d[o+1>>0]<<8|d[o+2>>0]<<16|d[o+3>>0]<<24;o=G;p=H;h=F;l=I;n=J;break c}case 74:{E=L+328+j|0;switch(d[s+13>>0]|0){case 1:{h=1;K=17;break}case 0:{h=0;K=17;break}case 5:{h=1;l=0;n=I;break}case 4:{h=0;l=0;n=I;break}case 3:{h=1;K=20;break}case 2:{h=0;K=20;break}default:{h=0;l=0;n=0}}if((K|0)==17){K=0;m=m+1|0;l=1;n=q}else if((K|0)==20){K=0;l=0;n=0}if((c[L+216+(F<<2)>>2]|0)!=-1)c[L+108+(F<<2)>>2]=n;if((F|0)<26){D=s+4|0;c[L+(F+1<<2)>>2]=d[D>>0]|d[D+1>>0]<<8|d[D+2>>0]<<16|d[D+3>>0]<<24}d:do if((n|0)<=(F|0)){r=(l|0)==0;l=0;do{p=1<>2]&p)K=33}else{l=o;o=(o|0)==0&1;K=33}if((K|0)==33){K=0;if(o){o=n;break}}if((n|0)<(F|0))n=n+1|0;else break d}if((j|0)<255){a[L+328+j>>0]=o+65;j=j+1|0}n=c[L+108+(o<<2)>>2]|0;m=((n|0)!=(o+1|0)&1)+m|0}while((n|0)<=(F|0))}while(0);if(!((F|0)<25&(h|0)!=0&(j|0)<254)){o=G;p=H;h=F;l=I;n=J;break c}D=s+4|0;c[L+(F+1<<2)>>2]=d[D>>0]|d[D+1>>0]<<8|d[D+2>>0]<<16|d[D+3>>0]<<24;D=L+328+j|0;a[D>>0]=0;r=t+8|0;r=(d[r>>0]|d[r+1>>0]<<8|d[r+2>>0]<<16|d[r+3>>0]<<24)+4|0;r=d[r>>0]|d[r+1>>0]<<8|d[r+2>>0]<<16|d[r+3>>0]<<24;h=d[t>>0]|d[t+1>>0]<<8|d[t+2>>0]<<16|d[t+3>>0]<<24;if(h){p=h;do{o=p+8|0;h=d[o>>0]|d[o+1>>0]<<8|d[o+2>>0]<<16|d[o+3>>0]<<24;if(!h){k=Xpb(1,16)|0;a[k>>0]=0;a[k+1>>0]=0;a[k+2>>0]=0;a[k+3>>0]=0;a[k+4>>0]=r;a[k+4+1>>0]=r>>8;a[k+4+2>>0]=r>>16;a[k+4+3>>0]=r>>24;a[k+8>>0]=1;a[k+9>>0]=83;a[k+10>>0]=0;a[k+10+1>>0]=0;a[k+10+2>>0]=0;a[k+10+3>>0]=0;a[k+14>>0]=a[1274839]|0;a[k+15>>0]=0;qOa(p,k);k=d[o>>0]|d[o+1>>0]<<8|d[o+2>>0]<<16|d[o+3>>0]<<24}else k=h;l=k+4|0;l=d[l>>0]|d[l+1>>0]<<8|d[l+2>>0]<<16|d[l+3>>0]<<24;if(l>>>0>r>>>0){n=p+4|0;h=d[n>>0]|d[n+1>>0]<<8|d[n+2>>0]<<16|d[n+3>>0]<<24;do if(!h)K=50;else{l=0;while(1){C=h+4|0;if((d[C>>0]|d[C+1>>0]<<8|d[C+2>>0]<<16|d[C+3>>0]<<24)>>>0>r>>>0){h=l;K=47;break}l=d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24;if(!l){k=0;break}else{C=h;h=l;l=C}}if((K|0)==47){K=0;if(!h){K=50;break}k=d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24}a[o>>0]=h;a[o+1>>0]=h>>8;a[o+2>>0]=h>>16;a[o+3>>0]=h>>24;a[h>>0]=0;a[h+1>>0]=0;a[h+2>>0]=0;a[h+3>>0]=0}while(0);if((K|0)==50){K=0;a[n>>0]=0;a[n+1>>0]=0;a[n+2>>0]=0;a[n+3>>0]=0;a[o>>0]=0;a[o+1>>0]=0;a[o+2>>0]=0;a[o+3>>0]=0;h=0}if(k){h=k;do{C=h;h=d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24;Wpb(C)}while((h|0)!=0);h=d[o>>0]|d[o+1>>0]<<8|d[o+2>>0]<<16|d[o+3>>0]<<24}l=h+4|0;l=d[l>>0]|d[l+1>>0]<<8|d[l+2>>0]<<16|d[l+3>>0]<<24}else h=k;k=h+4|0;e:do if(l>>>0>>0){do if(h|0){if((l|0)==(r|0))break e;if((a[h+8>>0]|0)!=1)break;if((a[h+9>>0]|0)!=83)break;a[k>>0]=r;a[k+1>>0]=r>>8;a[k+2>>0]=r>>16;a[k+3>>0]=r>>24;break e}while(0);C=Xpb(1,16)|0;a[C>>0]=0;a[C+1>>0]=0;a[C+2>>0]=0;a[C+3>>0]=0;a[C+4>>0]=r;a[C+4+1>>0]=r>>8;a[C+4+2>>0]=r>>16;a[C+4+3>>0]=r>>24;a[C+8>>0]=1;a[C+9>>0]=83;a[C+10>>0]=0;a[C+10+1>>0]=0;a[C+10+2>>0]=0;a[C+10+3>>0]=0;a[C+14>>0]=a[1274839]|0;a[C+15>>0]=0;qOa(p,C)}while(0);p=d[p>>0]|d[p+1>>0]<<8|d[p+2>>0]<<16|d[p+3>>0]<<24}while((p|0)!=0);t=d[e+8>>0]|d[e+8+1>>0]<<8|d[e+8+2>>0]<<16|d[e+8+3>>0]<<24}do{y=t+8|0;o=d[y>>0]|d[y+1>>0]<<8|d[y+2>>0]<<16|d[y+3>>0]<<24;B=t+32|0;if((d[B>>0]|d[B+1>>0]<<8|d[B+2>>0]<<16|d[B+3>>0]<<24|0)==-2)A=t+28|0;else{a[B>>0]=-2;a[B+1>>0]=-2>>8;a[B+2>>0]=-2>>16;a[B+3>>0]=-2>>24;C=d[o+4>>0]|d[o+4+1>>0]<<8|d[o+4+2>>0]<<16|d[o+4+3>>0]<<24;A=t+28|0;a[A>>0]=C;a[A+1>>0]=C>>8;a[A+2>>0]=C>>16;a[A+3>>0]=C>>24}C=t+39|0;a[C>>0]=0;z=t+4|0;l=o;k=127;f:do{h=a[E>>0]|0;if(!((k|0)>5&h<<24>>24!=0))break b;p=l+4|0;p=d[p>>0]|d[p+1>>0]<<8|d[p+2>>0]<<16|d[p+3>>0]<<24;x=E;do{w=h<<24>>24;u=c[L+(w+-65<<2)>>2]|0;w=c[L+(w+-64<<2)>>2]|0;v=p-u|0;p=d[z>>0]|d[z+1>>0]<<8|d[z+2>>0]<<16|d[z+3>>0]<<24;g:do if(!p)k=l;else{h=l;n=l;s=l;k=l;while(1){r=p+4|0;l=d[r>>0]|d[r+1>>0]<<8|d[r+2>>0]<<16|d[r+3>>0]<<24;if(l>>>0>w>>>0){l=s;break g}h:do if(l>>>0>>0)l=s;else{l=p+8|0;if((a[l>>0]|0)==1)switch(a[p+9>>0]|0){case 67:case 83:break;default:{l=s;break h}}if((p|0)==(h|0)){l=s;break}h=Xpb(1,16)|0;a[h>>0]=0;a[h+1>>0]=0;a[h+2>>0]=0;a[h+3>>0]=0;k=d[r>>0]|d[r+1>>0]<<8|d[r+2>>0]<<16|d[r+3>>0]<<24;a[h+8>>0]=a[l>>0]|0;a[h+9>>0]=a[p+9>>0]|0;l=p+10|0;l=d[l>>0]|d[l+1>>0]<<8|d[l+2>>0]<<16|d[l+3>>0]<<24;a[h+10>>0]=l;a[h+10+1>>0]=l>>8;a[h+10+2>>0]=l>>16;a[h+10+3>>0]=l>>24;a[h+4>>0]=k+v;a[h+4+1>>0]=k+v>>8;a[h+4+2>>0]=k+v>>16;a[h+4+3>>0]=k+v>>24;a[h+14>>0]=42;a[n>>0]=h;a[n+1>>0]=h>>8;a[n+2>>0]=h>>16;a[n+3>>0]=h>>24;a[y>>0]=h;a[y+1>>0]=h>>8;a[y+2>>0]=h>>16;a[y+3>>0]=h>>24;l=h;k=h;n=h}while(0);p=d[p>>0]|d[p+1>>0]<<8|d[p+2>>0]<<16|d[p+3>>0]<<24;if(!p)break;else s=l}}while(0);do if(!k)K=85;else{h=k+4|0;if((d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24|0)==(v+w|0))break;if((a[k+8>>0]|0)!=1){K=85;break}if((a[k+9>>0]|0)!=83){K=85;break}a[h>>0]=v+w;a[h+1>>0]=v+w>>8;a[h+2>>0]=v+w>>16;a[h+3>>0]=v+w>>24}while(0);if((K|0)==85){K=0;l=Xpb(1,16)|0;a[l>>0]=0;a[l+1>>0]=0;a[l+2>>0]=0;a[l+3>>0]=0;a[l+4>>0]=v+w;a[l+4+1>>0]=v+w>>8;a[l+4+2>>0]=v+w>>16;a[l+4+3>>0]=v+w>>24;a[l+8>>0]=1;a[l+9>>0]=83;a[l+10>>0]=0;a[l+10+1>>0]=0;a[l+10+2>>0]=0;a[l+10+3>>0]=0;a[l+14>>0]=a[1274839]|0;a[l+15>>0]=0;qOa(t,l);l=d[y>>0]|d[y+1>>0]<<8|d[y+2>>0]<<16|d[y+3>>0]<<24}p=l+4|0;p=d[p>>0]|d[p+1>>0]<<8|d[p+2>>0]<<16|d[p+3>>0]<<24;if(a[C>>0]|0)break f;h=d[B>>0]|d[B+1>>0]<<8|d[B+2>>0]<<16|d[B+3>>0]<<24;do if(!h)k=127;else{k=d[A>>0]|d[A+1>>0]<<8|d[A+2>>0]<<16|d[A+3>>0]<<24;if(p>>>0>>0){k=127;break}k=(((p-k|0)>>>0)/192|0)*15|0;k=(h|0)>-2&k>>>0>6143?15:(k>>>0)/384|0;k=((h|0)>0?k:0-k|0)+127|0;k=(k|0)<2?2:k;k=(k|0)>127?127:k}while(0);x=x+1|0;h=a[x>>0]|0;n=(k|0)>5}while(n&h<<24>>24!=0)}while(n);if(o|0)do{if((d[o+8>>0]|0)>=2){k=o+4|0;k=d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24;p=o+11|0;h=d[p>>0]|0;do if(!(a[C>>0]|0)){l=d[B>>0]|d[B+1>>0]<<8|d[B+2>>0]<<16|d[B+3>>0]<<24;if(!l)break;n=d[A>>0]|d[A+1>>0]<<8|d[A+2>>0]<<16|d[A+3>>0]<<24;if(k>>>0>>0)break;z=((l|0)>-2?((((k-n|0)>>>0)/192|0)*15|0)>>>0>6143:0)?15:(((((k-n|0)>>>0)/192|0)*15|0)>>>0)/384|0;h=((l|0)>0?z:0-z|0)+h|0;h=(h|0)<2?2:h;h=(h|0)>127?127:h}else h=0;while(0);a[p>>0]=h}o=d[o>>0]|d[o+1>>0]<<8|d[o+2>>0]<<16|d[o+3>>0]<<24}while((o|0)!=0);t=d[t>>0]|d[t+1>>0]<<8|d[t+2>>0]<<16|d[t+3>>0]<<24}while((t|0)!=0);s=d[e+8>>0]|d[e+8+1>>0]<<8|d[e+8+2>>0]<<16|d[e+8+3>>0]<<24;k=(d[s+8>>0]|d[s+8+1>>0]<<8|d[s+8+2>>0]<<16|d[s+8+3>>0]<<24)+4|0;k=d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24;a[D>>0]=F+66;h=F+2|0;c[L+(h<<2)>>2]=k;a[L+328+(j+1)>>0]=F+67;t=s;s=d[s+8>>0]|d[s+8+1>>0]<<8|d[s+8+2>>0]<<16|d[s+8+3>>0]<<24;j=j+2|0;o=G;p=H;l=I;n=J;break c}case 88:{o=G;p=H;h=F;l=I;n=F;break c}case 79:{o=F;p=H;h=F;l=I;n=J;break c}case 70:{o=G;p=F;h=F;l=I;n=J;break c}case 36:{o=G;p=H;h=F;l=F;n=J;break c}default:{o=G;p=H;h=F;l=I;n=J;break c}}else{o=G;p=H;h=F;l=I;n=J}while(0);a[s+14>>0]=h+97;s=d[s>>0]|d[s+1>>0]<<8|d[s+2>>0]<<16|d[s+3>>0]<<24;if(!s)break a;else{G=o;H=p;F=h;I=l;J=n}}while(1){}}while(0);K=j+-1|0;q=(((h|0)>0)<<31>>31)+h|0;a[L+328+K>>0]=0;if((K|0)>1){h=a[L+328+1>>0]|0;if(h<<24>>24){o=1;do{j=h<<24>>24;h=a[L+328+(o+-1)>>0]|0;if((j|0)!=(h+1|0)){n=c[L+(h+-64<<2)>>2]|0;m=c[L+(j+-65<<2)>>2]|0;if(m>>>0>n>>>0){h=d[e+8>>0]|d[e+8+1>>0]<<8|d[e+8+2>>0]<<16|d[e+8+3>>0]<<24;if(h|0)do{i:do if(a[h+36>>0]|0){j=h+4|0;j=d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24;if(j|0){k=0;while(1){K=j+4|0;if((d[K>>0]|d[K+1>>0]<<8|d[K+2>>0]<<16|d[K+3>>0]<<24)>>>0>=n>>>0)break;k=(a[j+8>>0]|0)==1?k:j;j=d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24;if(!j){j=0;break}}if(k|0)if(!((j|0)==0|(a[k+15>>0]|0)==0)){while(1){l=j+4|0;l=d[l>>0]|d[l+1>>0]<<8|d[l+2>>0]<<16|d[l+3>>0]<<24;if(l>>>0>=m>>>0)break;j=d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24;if(!j)break i}if((l|0)==(m|0)){while(1){l=(a[j+8>>0]|0)==1?0:j;j=d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24;if(!((j|0)!=0&(l|0)==0))break;K=j+4|0;if((d[K>>0]|d[K+1>>0]<<8|d[K+2>>0]<<16|d[K+3>>0]<<24|0)!=(m|0))break i}if(l|0){j=a[l+8>>0]|0;if(!(j<<24>>24))break;K=(d[k+8>>0]|0)-(j&255)|0;if((((K|0)>-1?K:0-K|0)|0)>=3)break;a[l+8>>0]=1;a[l+9>>0]=72;a[l+10>>0]=0;a[l+10+1>>0]=0;a[l+10+2>>0]=0;a[l+10+3>>0]=0}}}}}while(0);h=d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24}while((h|0)!=0)}}o=o+1|0;h=a[L+328+o>>0]|0}while(h<<24>>24!=0)}}p=(d[e+8>>0]|d[e+8+1>>0]<<8|d[e+8+2>>0]<<16|d[e+8+3>>0]<<24)+8|0;p=(d[p>>0]|d[p+1>>0]<<8|d[p+2>>0]<<16|d[p+3>>0]<<24)+4|0;p=d[p>>0]|d[p+1>>0]<<8|d[p+2>>0]<<16|d[p+3>>0]<<24;c[L+(q+1<<2)>>2]=p;if((q|0)>=0){n=c[L>>2]|0;o=0;do{l=d[e+20>>0]|d[e+20+1>>0]<<8|d[e+20+2>>0]<<16|d[e+20+3>>0]<<24;h=d[e+8>>0]|d[e+8+1>>0]<<8|d[e+8+2>>0]<<16|d[e+8+3>>0]<<24;if(!h)h=0;else{j=d[h+4>>0]|d[h+4+1>>0]<<8|d[h+4+2>>0]<<16|d[h+4+3>>0]<<24;if(!j)h=0;else{h=0;do{k=j+4|0;k=d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24;if(k>>>0>n>>>0)break;if((a[j+8>>0]|0)==1)if((a[j+9>>0]|0)==80){k=k+h|0;if((k>>>0)%((l*12288|0)>>>0)|0)h=h+(l*12288|0)-(((k+(l*12288|0)|0)>>>0)%((l*12288|0)>>>0)|0)|0}j=d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24}while((j|0)!=0);h=(((h+n|0)>>>0)/192|0)>>>6}}a[g+(o<<1)>>0]=(h>>>0)/(l>>>0)|0;m=o;o=o+1|0;n=c[L+(o<<2)>>2]|0;l=d[e+20>>0]|d[e+20+1>>0]<<8|d[e+20+2>>0]<<16|d[e+20+3>>0]<<24;h=d[e+8>>0]|d[e+8+1>>0]<<8|d[e+8+2>>0]<<16|d[e+8+3>>0]<<24;if(!h)h=0;else{j=d[h+4>>0]|d[h+4+1>>0]<<8|d[h+4+2>>0]<<16|d[h+4+3>>0]<<24;if(!j)h=0;else{h=0;do{k=j+4|0;k=d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24;if(k>>>0>n>>>0)break;if((a[j+8>>0]|0)==1)if((a[j+9>>0]|0)==80){k=k+h|0;if((k>>>0)%((l*12288|0)>>>0)|0)h=h+(l*12288|0)-(((k+(l*12288|0)|0)>>>0)%((l*12288|0)>>>0)|0)|0}j=d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24}while((j|0)!=0);h=(((h+n|0)>>>0)/192|0)>>>6}}a[g+(m<<1)+1>>0]=(h>>>0)/(l>>>0)|0}while((o|0)!=(q+1|0))}l=(d[e+20>>0]|d[e+20+1>>0]<<8|d[e+20+2>>0]<<16|d[e+20+3>>0]<<24)*12288|0;h=d[e+8>>0]|d[e+8+1>>0]<<8|d[e+8+2>>0]<<16|d[e+8+3>>0]<<24;if(!h)h=0;else{j=d[h+4>>0]|d[h+4+1>>0]<<8|d[h+4+2>>0]<<16|d[h+4+3>>0]<<24;if(!j)h=0;else{h=0;do{k=j+4|0;k=d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24;if(k>>>0>p>>>0)break;if((a[j+8>>0]|0)==1)if((a[j+9>>0]|0)==80){k=k+h|0;if((k>>>0)%(l>>>0)|0)h=h+l-(((k+l|0)>>>0)%(l>>>0)|0)|0}j=d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24}while((j|0)!=0);h=h+p|0}}if((h>>>0)%(l>>>0)|0|0)a[g+(q<<1)+1>>0]=(a[g+(q<<1)+1>>0]|0)+1<<24>>24;sOa(f,L+328|0);i=L;return}function yOa(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0;h=c[f>>2]|0;if(!h){c[299438]=128;h=Xpb(128,1)|0;c[f>>2]=h}if(e){i=a[e>>0]|0;if(i<<24>>24){j=i;k=e;i=0;do{j=(j<<24>>24)+-65|0;e=a[b+(j<<1)>>0]|0;if((e&255)<(d[b+(j<<1)+1>>0]|0)){e=e&255;do{if((g|0)==(c[299438]|0)){j=g<<1;c[299438]=j;h=Ypb(h,j)|0;c[f>>2]=h}a[h+g>>0]=e;g=g+1|0;i=i+1|0;e=e+1|0}while((e|0)<(d[b+((a[k>>0]|0)+-65<<1)+1>>0]|0))}k=k+1|0;j=a[k>>0]|0}while(j<<24>>24!=0);if(i){b=g;return b|0}}}i=a[b+52>>0]|0;if((i&255)>=(d[b+53>>0]|0)){b=g;return b|0}i=i&255;do{if((g|0)==(c[299438]|0)){k=g<<1;c[299438]=k;h=Ypb(h,k)|0;c[f>>2]=h}a[h+g>>0]=i;g=g+1|0;i=i+1|0}while((i|0)<(d[b+53>>0]|0));return g|0}function zOa(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+320|0;if(!(pmb(e,523914,8)|0))if(cmb(a[e+8>>0]|0)|0){g=e+8|0;while(1)if(!(cmb(a[g>>0]|0)|0))break;else g=g+1|0;h=a[g>>0]|0;if((h+-48|0)>>>0<10){j=0;k=0;do{j=h+-48+(j*10|0)|0;k=k+1|0;h=a[g+k>>0]|0}while((h+-48|0)>>>0<10);g=(k|0)==0?1:j;if((g|0)<1)g=1;else g=(g|0)>128?128:g}else g=1;o=g+1|0;a[b+372>>0]=o;a[b+372+1>>0]=o>>8;a[b+372+2>>0]=o>>16;a[b+372+3>>0]=o>>24}if(!(pmb(e,523923,7)|0))if(cmb(a[e+7>>0]|0)|0){g=e+7|0;while(1)if(!(cmb(a[g>>0]|0)|0))break;else g=g+1|0;h=a[g>>0]|0;if((h+-48|0)>>>0<10){j=0;k=0;do{j=h+-48+(j*10|0)|0;k=k+1|0;h=a[g+k>>0]|0}while((h+-48|0)>>>0<10);g=(k|0)==0?1:j;if((g|0)<0)g=0;else g=(g|0)>127?127:g}else g=1;a[b+368>>0]=g;a[b+368+1>>0]=g>>8;a[b+368+2>>0]=g>>16;a[b+368+3>>0]=g>>24}if(!(pmb(e,523931,4)|0))if(cmb(a[e+4>>0]|0)|0){a[b+32>>0]=127;a[b+33>>0]=125;a[b+34>>0]=110;a[b+35>>0]=1;g=e+4|0;while(1)if(!(cmb(a[g>>0]|0)|0))break;else g=g+1|0;h=a[g>>0]|0;if(h<<24>>24){if(((h<<24>>24)+-48|0)>>>0<10){k=h<<24>>24;h=0;j=0;do{h=k+-48+(h*10|0)|0;j=j+1|0;k=a[g+j>>0]|0}while((k+-48|0)>>>0<10);h=(j|0)==0?1:h;if((h|0)<0){h=0;g=g+j|0}else{h=(h|0)>127?127:h;g=g+j|0}}else h=1;a[b+32>>0]=h}while(1)if(!(cmb(a[g>>0]|0)|0))break;else g=g+1|0;h=a[g>>0]|0;if(h<<24>>24){if(((h<<24>>24)+-48|0)>>>0<10){k=h<<24>>24;h=0;j=0;do{h=k+-48+(h*10|0)|0;j=j+1|0;k=a[g+j>>0]|0}while((k+-48|0)>>>0<10);h=(j|0)==0?1:h;if((h|0)<0){h=0;g=g+j|0}else{h=(h|0)>127?127:h;g=g+j|0}}else h=1;a[b+33>>0]=h}while(1)if(!(cmb(a[g>>0]|0)|0))break;else g=g+1|0;h=a[g>>0]|0;if(h<<24>>24){if(((h<<24>>24)+-48|0)>>>0<10){k=h<<24>>24;h=0;j=0;do{h=k+-48+(h*10|0)|0;j=j+1|0;k=a[g+j>>0]|0}while((k+-48|0)>>>0<10);h=(j|0)==0?1:h;if((h|0)<0){h=0;g=g+j|0}else{h=(h|0)>127?127:h;g=g+j|0}}else h=1;a[b+34>>0]=h}while(1)if(!(cmb(a[g>>0]|0)|0))break;else g=g+1|0;h=a[g>>0]|0;if(!(h<<24>>24))g=a[b+35>>0]|0;else{if(((h<<24>>24)+-48|0)>>>0<10){k=h<<24>>24;h=0;j=0;do{h=k+-48+(h*10|0)|0;j=j+1|0;k=a[g+j>>0]|0}while((k+-48|0)>>>0<10);g=(j|0)==0?1:h;if((g|0)<0)g=0;else g=(g|0)>127?127:g}else g=1;g=g&255;a[b+35>>0]=g}if(!(g<<24>>24))a[b+35>>0]=1}if(!(pmb(e,523936,10)|0))if(cmb(a[e+10>>0]|0)|0){g=e+4|0;while(1)if(!(cmb(a[g>>0]|0)|0))break;else g=g+1|0;h=d[b+28>>0]|d[b+28+1>>0]<<8|d[b+28+2>>0]<<16|d[b+28+3>>0]<<24;if(h|0)Wpb(h);if(!(a[g>>0]|0))g=0;else g=Pnb(g)|0;a[b+28>>0]=g;a[b+28+1>>0]=g>>8;a[b+28+2>>0]=g>>16;a[b+28+3>>0]=g>>24}if(!(pmb(e,523947,9)|0))if(cmb(a[e+9>>0]|0)|0){h=a[e+9>>0]|0;a:do if(!(h<<24>>24)){g=e+9|0;h=0}else{g=e+9|0;while(1){if(!(cmb(h<<24>>24)|0))break;g=g+1|0;h=a[g>>0]|0;if(!(h<<24>>24)){h=0;break a}}h=a[g>>0]|0;switch(h<<24>>24){case 0:case 32:{h=0;break a}default:{}}a[q+40>>0]=h;h=a[g+1>>0]|0;switch(h<<24>>24){case 0:case 32:{g=g+1|0;h=1;break a}default:{}}a[q+40+1>>0]=h;h=a[g+2>>0]|0;switch(h<<24>>24){case 0:case 32:{g=g+2|0;h=2;break a}default:{}}a[q+40+2>>0]=h;h=a[g+3>>0]|0;switch(h<<24>>24){case 0:case 32:{g=g+3|0;h=3;break a}default:{}}a[q+40+3>>0]=h;h=a[g+4>>0]|0;switch(h<<24>>24){case 0:case 32:{g=g+4|0;h=4;break a}default:{}}a[q+40+4>>0]=h;h=a[g+5>>0]|0;switch(h<<24>>24){case 0:case 32:{g=g+5|0;h=5;break a}default:{}}a[q+40+5>>0]=h;h=a[g+6>>0]|0;switch(h<<24>>24){case 0:case 32:{g=g+6|0;h=6;break a}default:{}}a[q+40+6>>0]=h;h=a[g+7>>0]|0;switch(h<<24>>24){case 0:case 32:{g=g+7|0;h=7;break a}default:{}}a[q+40+7>>0]=h;h=a[g+8>>0]|0;switch(h<<24>>24){case 0:case 32:{g=g+8|0;h=8;break a}default:{}}a[q+40+8>>0]=h;h=a[g+9>>0]|0;switch(h<<24>>24){case 0:case 32:{g=g+9|0;h=9;break a}default:{}}a[q+40+9>>0]=h;h=a[g+10>>0]|0;switch(h<<24>>24){case 0:case 32:{g=g+10|0;h=10;break a}default:{}}a[q+40+10>>0]=h;h=a[g+11>>0]|0;switch(h<<24>>24){case 0:case 32:{g=g+11|0;h=11;break a}default:{}}a[q+40+11>>0]=h;h=a[g+12>>0]|0;switch(h<<24>>24){case 0:case 32:{g=g+12|0;h=12;break a}default:{}}a[q+40+12>>0]=h;h=a[g+13>>0]|0;switch(h<<24>>24){case 0:case 32:{g=g+13|0;h=13;break a}default:{}}a[q+40+13>>0]=h;h=a[g+14>>0]|0;switch(h<<24>>24){case 0:case 32:{g=g+14|0;h=14;break a}default:{}}a[q+40+14>>0]=h;h=a[g+15>>0]|0;switch(h<<24>>24){case 0:case 32:{g=g+15|0;h=15;break a}default:{}}a[q+40+15>>0]=h;h=a[g+16>>0]|0;switch(h<<24>>24){case 0:case 32:{g=g+16|0;h=16;break a}default:{}}a[q+40+16>>0]=h;h=a[g+17>>0]|0;switch(h<<24>>24){case 0:case 32:{g=g+17|0;h=17;break a}default:{}}a[q+40+17>>0]=h;h=a[g+18>>0]|0;switch(h<<24>>24){case 0:case 32:{g=g+18|0;h=18;break a}default:{}}a[q+40+18>>0]=h;g=g+19|0;h=19}while(0);a[q+40+h>>0]=0;if((a[g>>0]|0)==32){b:do if(!(cmb(32)|0))g=0;else{h=g;g=0;do{j=a[h>>0]|0;c:do if(!(j<<24>>24)){m=h;h=0}else{while(1){if(!(cmb(j<<24>>24)|0))break;h=h+1|0;j=a[h>>0]|0;if(!(j<<24>>24)){m=h;h=0;break c}}m=h;h=a[h>>0]|0}while(0);l=q+16+(g<<2)|0;h=h<<24>>24;if((h+-48|0)>>>0<10){j=0;k=0;do{j=h+-48+(j*10|0)|0;k=k+1|0;h=a[m+k>>0]|0}while((h+-48|0)>>>0<10);h=k}else{j=0;h=0}c[l>>2]=(h|0)==0?1:j;h=m+h|0;g=g+1|0;if((g|0)>=7)break b}while((cmb(a[h>>0]|0)|0)!=0)}while(0);lOa(q+40|0,g,q+16|0)}else if(((rnb(g)|0)+45|0)>>>0<=255){c[q>>2]=g;rmb(q+64|0,523957,q)|0;o=c[37151]|0;c[q+8>>2]=q+64;oob(o,521941,q+8|0)|0}}if(!(pmb(e,524003,9)|0))if(cmb(a[e+9>>0]|0)|0){g=e+9|0;while(1)if(!(cmb(a[g>>0]|0)|0))break;else g=g+1|0;h=a[g>>0]|0;if((h+-48|0)>>>0<10){j=0;k=0;do{j=h+-48+(j*10|0)|0;k=k+1|0;h=a[g+k>>0]|0}while((h+-48|0)>>>0<10);g=(k|0)==0?1:j;if((g|0)<1)g=1;else g=(g|0)>128?128:g}else g=1;o=g+1|0;a[b+364>>0]=o;a[b+364+1>>0]=o>>8;a[b+364+2>>0]=o>>16;a[b+364+3>>0]=o>>24}if(!(pmb(e,524013,8)|0))if(cmb(a[e+8>>0]|0)|0){g=e+8|0;while(1)if(!(cmb(a[g>>0]|0)|0))break;else g=g+1|0;h=a[g>>0]|0;if((h+-48|0)>>>0<10){j=0;k=0;do{j=h+-48+(j*10|0)|0;k=k+1|0;h=a[g+k>>0]|0}while((h+-48|0)>>>0<10);g=(k|0)==0?1:j;if((g|0)<0)g=0;else g=(g|0)>127?127:g}else g=1;a[b+360>>0]=g;a[b+360+1>>0]=g>>8;a[b+360+2>>0]=g>>16;a[b+360+3>>0]=g>>24}do if(!(pmb(e,524022,5)|0))if(cmb(a[e+5>>0]|0)|0){g=e+5|0;while(1)if(!(cmb(a[g>>0]|0)|0))break;else g=g+1|0;h=a[g>>0]|0;if((h+-48|0)>>>0<10){j=0;k=0;do{j=h+-48+(j*10|0)|0;k=k+1|0;h=a[g+k>>0]|0}while((h+-48|0)>>>0<10);h=k}else{j=0;h=0}o=(h|0)==0?1:j;c[b+392>>2]=(o|0)>-1&(o+1|0)<129?o+1|0:71;g=g+h|0;while(1)if(!(cmb(a[g>>0]|0)|0))break;else g=g+1|0;h=a[g>>0]|0;if((h+-48|0)>>>0<10){j=0;k=0;do{j=h+-48+(j*10|0)|0;k=k+1|0;h=a[g+k>>0]|0}while((h+-48|0)>>>0<10);h=(k|0)==0?1:j;g=g+k|0;h=(h+-1|0)>>>0<126?h:45}else h=1;c[b+396>>2]=h;while(1)if(!(cmb(a[g>>0]|0)|0))break;else g=g+1|0;h=a[g>>0]|0;if((h+-48|0)>>>0<10){j=0;k=0;do{j=h+-48+(j*10|0)|0;k=k+1|0;h=a[g+k>>0]|0}while((h+-48|0)>>>0<10);h=(k|0)==0?1:j;if((h+-1|0)>>>0<126){j=b+400|0;g=g+k|0;p=110}else{c[b+400>>2]=33;g=g+k|0}}else{h=1;j=b+400|0;p=110}if((p|0)==110)c[j>>2]=h;while(1)if(!(cmb(a[g>>0]|0)|0))break;else g=g+1|0;h=a[g>>0]|0;if((h+-48|0)>>>0<10){j=0;k=0;do{j=h+-48+(j*10|0)|0;k=k+1|0;h=a[g+k>>0]|0}while((h+-48|0)>>>0<10);h=(k|0)==0?1:j;g=g+k|0;h=(h+-1|0)>>>0<126?h:80}else h=1;c[b+404>>2]=h;while(1)if(!(cmb(a[g>>0]|0)|0))break;else g=g+1|0;h=a[g>>0]|0;if((h+-48|0)>>>0<10){j=0;k=0;do{j=h+-48+(j*10|0)|0;k=k+1|0;h=a[g+k>>0]|0}while((h+-48|0)>>>0<10);g=(k|0)==0?1:j;if((g+-1|0)>>>0<126)h=b+408|0;else{c[b+408>>2]=80;break}}else{g=1;h=b+408|0}c[h>>2]=g}while(0);do if(!(pmb(e,524028,8)|0)){g=a[e+8>>0]|0;if(!(g<<24>>24==0?1:g<<24>>24==f<<24>>24))if(!(cmb(g<<24>>24)|0))break;a[b+388>>0]=0;a[b+388+1>>0]=0;a[b+388+2>>0]=0;a[b+388+3>>0]=0}while(0);do if(!(pmb(e,524037,7)|0)){g=a[e+7>>0]|0;if(!(g<<24>>24==0?1:g<<24>>24==f<<24>>24))if(!(cmb(g<<24>>24)|0))break;a[b+388>>0]=1;a[b+388+1>>0]=0;a[b+388+2>>0]=0;a[b+388+3>>0]=0}while(0);o=d[b+380>>0]|d[b+380+1>>0]<<8|d[b+380+2>>0]<<16|d[b+380+3>>0]<<24;d:do if(!(pmb(e,524045,4)|0))if(cmb(a[e+4>>0]|0)|0){g=e+4|0;while(1)if(!(cmb(a[g>>0]|0)|0))break;else g=g+1|0;if(!(pmb(g,523707,2)|0))if(!(cmb(a[g+2>>0]|0)|0))if(!(a[g+2>>0]|0))g=1;else p=138;else g=1;else p=138;do if((p|0)==138){if(!(pmb(g,523710,3)|0)){if(cmb(a[g+3>>0]|0)|0){g=0;break}if(!(a[g+3>>0]|0)){g=0;break}}h=a[g>>0]|0;if(!(h<<24>>24))a[b+116>>0]=0;else{k=0;m=b+116|0;while(1){if(cmb(h<<24>>24)|0){n=k;h=m;break}h=a[g>>0]|0;if(!(omb(524050,h<<24>>24,13)|0)){n=k;h=m;break}j=m+1|0;a[m>>0]=h;l=g+1|0;if(((a[g>>0]|0)+-48|0)>>>0>=10){if(((a[l>>0]|0)+-48|0)>>>0<10)g=j;else{a[j>>0]=49;g=m+2|0}k=k+1|0;j=g}h=a[l>>0]|0;if(!(h<<24>>24)){g=l;n=k;h=j;break}else{g=l;m=j}}a[h>>0]=0;if((n|0)>0){l=0;do{if((a[(l<<1)+(b+116)>>0]|0)==100){while(1)if(!(cmb(a[g>>0]|0)|0))break;else g=g+1|0;h=a[g>>0]|0;do if((h+-48|0)>>>0<10){j=0;k=0;do{j=h+-48+(j*10|0)|0;k=k+1|0;h=a[g+k>>0]|0}while((h+-48|0)>>>0<10);g=g+k|0;h=(k|0)==0?1:j}else{if(cmb(h)|0){h=0;break}do g=g+1|0;while((cmb(a[g>>0]|0)|0)==0);h=0}while(0);a[b+196+l>>0]=h+1}else a[b+196+l>>0]=0;l=l+1|0}while((l|0)!=(n|0));l=0;do{if((a[(l<<1)+(b+116)>>0]|0)==100){while(1)if(!(cmb(a[g>>0]|0)|0))break;else g=g+1|0;h=a[g>>0]|0;do if((h+-48|0)>>>0<10){j=0;k=0;do{j=h+-48+(j*10|0)|0;k=k+1|0;h=a[g+k>>0]|0}while((h+-48|0)>>>0<10);g=g+k|0;h=(k|0)==0?1:j}else{if(cmb(h)|0){h=0;break}do g=g+1|0;while((cmb(a[g>>0]|0)|0)==0);h=0}while(0);a[b+276+l>>0]=h}else a[b+276+l>>0]=0;l=l+1|0}while((l|0)!=(n|0))}}a[b+380>>0]=o;a[b+380+1>>0]=o>>8;a[b+380+2>>0]=o>>16;a[b+380+3>>0]=o>>24;break d}while(0);a[b+380>>0]=g;a[b+380+1>>0]=g>>8;a[b+380+2>>0]=g>>16;a[b+380+3>>0]=g>>24}while(0);do if(!(pmb(e,524063,7)|0)){g=a[e+7>>0]|0;if(!(g<<24>>24==0?1:g<<24>>24==f<<24>>24))if(!(cmb(g<<24>>24)|0))break;a[b+380>>0]=0;a[b+380+1>>0]=0;a[b+380+2>>0]=0;a[b+380+3>>0]=0}while(0);do if(!(pmb(e,524071,6)|0)){g=a[e+6>>0]|0;if(!(g<<24>>24==0?1:g<<24>>24==f<<24>>24))if(!(cmb(g<<24>>24)|0)){p=181;break}a[b+380>>0]=1;a[b+380+1>>0]=0;a[b+380+2>>0]=0;a[b+380+3>>0]=0;h=1}else p=181;while(0);if((p|0)==181)h=d[b+380>>0]|d[b+380+1>>0]<<8|d[b+380+2>>0]<<16|d[b+380+3>>0]<<24;do if((o|0)!=(h|0)){g=d[b+420>>0]|d[b+420+1>>0]<<8|d[b+420+2>>0]<<16|d[b+420+3>>0]<<24;if(!h)p=186;else if(!g){g=d[b+8>>0]|d[b+8+1>>0]<<8|d[b+8+2>>0]<<16|d[b+8+3>>0]<<24;a[b+420>>0]=g;a[b+420+1>>0]=g>>8;a[b+420+2>>0]=g>>16;a[b+420+3>>0]=g>>24;p=186}if((p|0)==186)if(!g)break;j=d[b+424>>0]|d[b+424+1>>0]<<8|d[b+424+2>>0]<<16|d[b+424+3>>0]<<24;g=oOa(b,g+44|0,8)|0;h=d[g+8>>0]|d[g+8+1>>0]<<8|d[g+8+2>>0]<<16|d[g+8+3>>0]<<24;do if(!h)p=192;else if((d[h+4>>0]|d[h+4+1>>0]<<8|d[h+4+2>>0]<<16|d[h+4+3>>0]<<24|0)!=(j|0))if((a[h+8>>0]|0)==1){if((a[h+9>>0]|0)!=83){p=192;break}a[h+4>>0]=j;a[h+4+1>>0]=j>>8;a[h+4+2>>0]=j>>16;a[h+4+3>>0]=j>>24}else p=192;while(0);if((p|0)==192){o=Xpb(1,16)|0;a[o>>0]=0;a[o+1>>0]=0;a[o+2>>0]=0;a[o+3>>0]=0;a[o+4>>0]=j;a[o+4+1>>0]=j>>8;a[o+4+2>>0]=j>>16;a[o+4+3>>0]=j>>24;a[o+8>>0]=1;a[o+9>>0]=83;a[o+10>>0]=0;a[o+10+1>>0]=0;a[o+10+2>>0]=0;a[o+10+3>>0]=0;a[o+14>>0]=a[1274839]|0;a[o+15>>0]=0;qOa(g,o)}if(d[b+420>>0]|d[b+420+1>>0]<<8|d[b+420+2>>0]<<16|d[b+420+3>>0]<<24|0)if(!(d[b+380>>0]|d[b+380+1>>0]<<8|d[b+380+2>>0]<<16|d[b+380+3>>0]<<24)){a[b+420>>0]=0;a[b+420+1>>0]=0;a[b+420+2>>0]=0;a[b+420+3>>0]=0}}while(0);h=d[b+384>>0]|d[b+384+1>>0]<<8|d[b+384+2>>0]<<16|d[b+384+3>>0]<<24;do if(!(pmb(e,524078,6)|0)){g=a[e+6>>0]|0;if(!(g<<24>>24==0?1:g<<24>>24==f<<24>>24))if(!(cmb(g<<24>>24)|0))break;g=vOa(e+6|0,b)|0;a[b+384>>0]=g;a[b+384+1>>0]=g>>8;a[b+384+2>>0]=g>>16;a[b+384+3>>0]=g>>24;if(!g){a[b+384>>0]=h;a[b+384+1>>0]=h>>8;a[b+384+2>>0]=h>>16;a[b+384+3>>0]=h>>24;break}else{a[b+384>>0]=g+-1;a[b+384+1>>0]=g+-1>>8;a[b+384+2>>0]=g+-1>>16;a[b+384+3>>0]=g+-1>>24;break}}while(0);do if(!(pmb(e,524085,9)|0)){g=a[e+9>>0]|0;if(!(g<<24>>24==0?1:g<<24>>24==f<<24>>24))if(!(cmb(g<<24>>24)|0))break;a[b+384>>0]=0;a[b+384+1>>0]=0;a[b+384+2>>0]=0;a[b+384+3>>0]=0}while(0);do if(!(pmb(e,524095,8)|0)){g=a[e+8>>0]|0;if(!(g<<24>>24==0?1:g<<24>>24==f<<24>>24))if(!(cmb(g<<24>>24)|0))break;a[b+384>>0]=1;a[b+384+1>>0]=0;a[b+384+2>>0]=0;a[b+384+3>>0]=0}while(0);if((h|0)!=(d[b+384>>0]|d[b+384+1>>0]<<8|d[b+384+2>>0]<<16|d[b+384+3>>0]<<24|0)){g=d[b+416>>0]|d[b+416+1>>0]<<8|d[b+416+2>>0]<<16|d[b+416+3>>0]<<24;if(g|0){h=d[b+424>>0]|d[b+424+1>>0]<<8|d[b+424+2>>0]<<16|d[b+424+3>>0]<<24;l=1;do{j=oOa(b,g+44|0,l)|0;k=d[j+8>>0]|d[j+8+1>>0]<<8|d[j+8+2>>0]<<16|d[j+8+3>>0]<<24;do if(!k)p=218;else{if((d[k+4>>0]|d[k+4+1>>0]<<8|d[k+4+2>>0]<<16|d[k+4+3>>0]<<24|0)==(h|0))break;if((a[k+8>>0]|0)!=1){p=218;break}if((a[k+9>>0]|0)!=83){p=218;break}a[k+4>>0]=h;a[k+4+1>>0]=h>>8;a[k+4+2>>0]=h>>16;a[k+4+3>>0]=h>>24}while(0);if((p|0)==218){p=0;o=Xpb(1,16)|0;a[o>>0]=0;a[o+1>>0]=0;a[o+2>>0]=0;a[o+3>>0]=0;a[o+4>>0]=h;a[o+4+1>>0]=h>>8;a[o+4+2>>0]=h>>16;a[o+4+3>>0]=h>>24;a[o+8>>0]=1;a[o+9>>0]=83;a[o+10>>0]=0;a[o+10+1>>0]=0;a[o+10+2>>0]=0;a[o+10+3>>0]=0;a[o+14>>0]=a[1274839]|0;a[o+15>>0]=0;qOa(j,o)}l=l+1|0}while((l|0)!=8)}}do if(!(pmb(e,524104,7)|0)){if(!(cmb(a[e+7>>0]|0)|0))break;g=d[b+412>>0]|d[b+412+1>>0]<<8|d[b+412+2>>0]<<16|d[b+412+3>>0]<<24;if(!g){g=oOa(b,1279070,0)|0;o=d[b+376>>0]|d[b+376+1>>0]<<8|d[b+376+2>>0]<<16|d[b+376+3>>0]<<24;a[g+20>>0]=o;a[g+20+1>>0]=o>>8;a[g+20+2>>0]=o>>16;a[g+20+3>>0]=o>>24;a[b+412>>0]=g;a[b+412+1>>0]=g>>8;a[b+412+2>>0]=g>>16;a[b+412+3>>0]=g>>24;if(!g)l=1;else p=225}else{a[b+412>>0]=g;a[b+412+1>>0]=g>>8;a[b+412+2>>0]=g>>16;a[b+412+3>>0]=g>>24;p=225}if((p|0)==225)l=d[g+36>>0]|0;h=a[e+8>>0]|0;e:do if(!(h<<24>>24)){k=e+8|0;g=0}else{g=e+8|0;while(1){if(!(cmb(h<<24>>24)|0))break;g=g+1|0;h=a[g>>0]|0;if(!(h<<24>>24)){k=g;g=0;break e}}k=g;g=a[g>>0]|0}while(0);g=g<<24>>24;if((g+-48|0)>>>0<10){h=0;j=0}else break;do{h=g+-48+(h*10|0)|0;j=j+1|0;g=a[k+j>>0]|0}while((g+-48|0)>>>0<10);h=(j|0)==0?1:h;if(!((l+-1|0)>>>0<32&(h+-1|0)>>>0<16))break;g=d[b+8>>0]|d[b+8+1>>0]<<8|d[b+8+2>>0]<<16|d[b+8+3>>0]<<24;if(!g)break;do{do if((d[g+36>>0]|0)==(l|0)){if(((a[g+37>>0]|0)+-1&255)<=9)break;a[g+40>>0]=h}while(0);g=d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24}while((g|0)!=0)}while(0);do if(!(pmb(e,524112,7)|0)){if(!(cmb(a[e+7>>0]|0)|0))break;g=d[b+412>>0]|d[b+412+1>>0]<<8|d[b+412+2>>0]<<16|d[b+412+3>>0]<<24;if(!g){g=oOa(b,1279070,0)|0;o=d[b+376>>0]|d[b+376+1>>0]<<8|d[b+376+2>>0]<<16|d[b+376+3>>0]<<24;a[g+20>>0]=o;a[g+20+1>>0]=o>>8;a[g+20+2>>0]=o>>16;a[g+20+3>>0]=o>>24;a[b+412>>0]=g;a[b+412+1>>0]=g>>8;a[b+412+2>>0]=g>>16;a[b+412+3>>0]=g>>24;if(!g)n=1;else p=244}else{a[b+412>>0]=g;a[b+412+1>>0]=g>>8;a[b+412+2>>0]=g>>16;a[b+412+3>>0]=g>>24;p=244}if((p|0)==244)n=d[g+36>>0]|0;h=a[e+8>>0]|0;f:do if(!(h<<24>>24)){m=e+8|0;g=0}else{g=e+8|0;while(1){if(!(cmb(h<<24>>24)|0))break;g=g+1|0;h=a[g>>0]|0;if(!(h<<24>>24)){m=g;g=0;break f}}m=g;g=a[g>>0]|0}while(0);g=g<<24>>24;if((g+-48|0)>>>0<10){h=0;j=0}else break;while(1){k=g+-48+(h*10|0)|0;j=j+1|0;l=m+j|0;h=a[l>>0]|0;g=h<<24>>24;if((g+-48|0)>>>0>=10)break;else h=k}j=(j|0)==0?1:k;g:do if(!(h<<24>>24))g=0;else{g=l;while(1){if(!(cmb(h<<24>>24)|0))break;g=g+1|0;h=a[g>>0]|0;if(!(h<<24>>24)){l=g;g=0;break g}}l=g;g=a[g>>0]|0}while(0);g=g<<24>>24;if((g+-48|0)>>>0<10){h=0;k=0;do{h=g+-48+(h*10|0)|0;k=k+1|0;g=a[l+k>>0]|0}while((g+-48|0)>>>0<10);h=(k|0)==0?1:h}else{h=j;j=n}if(!(h>>>0<128&(j+-1|0)>>>0<32))break;g=d[b+8>>0]|d[b+8+1>>0]<<8|d[b+8+2>>0]<<16|d[b+8+3>>0]<<24;if(!g)break;h=h+1&255;do{do if((d[g+36>>0]|0)==(j|0)){if(((a[g+37>>0]|0)+-1&255)<=9)break;a[g+42>>0]=h}while(0);g=d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24}while((g|0)!=0)}while(0);do if(!(pmb(e,524120,5)|0)){if(!(cmb(a[e+5>>0]|0)|0))break;g=d[b+412>>0]|d[b+412+1>>0]<<8|d[b+412+2>>0]<<16|d[b+412+3>>0]<<24;if(!g){g=oOa(b,1279070,0)|0;p=d[b+376>>0]|d[b+376+1>>0]<<8|d[b+376+2>>0]<<16|d[b+376+3>>0]<<24;a[g+20>>0]=p;a[g+20+1>>0]=p>>8;a[g+20+2>>0]=p>>16;a[g+20+3>>0]=p>>24}a[b+412>>0]=g;a[b+412+1>>0]=g>>8;a[b+412+2>>0]=g>>16;a[b+412+3>>0]=g>>24;h=a[e+6>>0]|0;h:do if(!(h<<24>>24))j=e+6|0;else{j=e+6|0;do{if(!(cmb(h<<24>>24)|0))break h;j=j+1|0;h=a[j>>0]|0}while(h<<24>>24!=0)}while(0);i:do if(pmb(j,524126,11)|0){if(!(pmb(j,524138,4)|0))break;g=oOa(b,j,0)|0;h=a[j>>0]|0;if(!(h<<24>>24))break;while(1){if(cmb(h<<24>>24)|0)break;j=j+1|0;h=a[j>>0]|0;if(!(h<<24>>24))break i}h=a[j>>0]|0;if(!(h<<24>>24))break;do{if(!(cmb(h<<24>>24)|0))break i;j=j+1|0;h=a[j>>0]|0}while(h<<24>>24!=0)}while(0);o=(g|0)!=0;if(o)p=d[g+36>>0]|0;else p=1;j:do if(!(pmb(j,524126,11)|0)){h=a[j+11>>0]|0;if((h+-48|0)>>>0<10){k=0;l=0}else{l=0;break}while(1){k=h+-48+(k*10|0)|0;m=l+1|0;l=j+(l+12)|0;n=a[l>>0]|0;h=n<<24>>24;if((h+-48|0)>>>0>=10)break;else l=m}k=(m|0)==0?1:k;k:do if(!(n<<24>>24))j=l;else{j=l;h=n;do{if(!(cmb(h<<24>>24)|0))break k;j=j+1|0;h=a[j>>0]|0}while(h<<24>>24!=0)}while(0);if(pmb(j,524143,5)|0){l=k;break}if(((a[j+5>>0]|0)+-48|0)>>>0>=10){l=k;break}h=a[j>>0]|0;if(!(h<<24>>24)){l=k;break}while(1){if(cmb(h<<24>>24)|0)break;j=j+1|0;h=a[j>>0]|0;if(!(h<<24>>24)){l=k;break j}}h=a[j>>0]|0;if(!(h<<24>>24)){l=k;break}while(1){if(!(cmb(h<<24>>24)|0)){l=k;break j}j=j+1|0;h=a[j>>0]|0;if(!(h<<24>>24)){l=k;break}}}else l=0;while(0);do if(o){h=d[b+8>>0]|d[b+8+1>>0]<<8|d[b+8+2>>0]<<16|d[b+8+3>>0]<<24;if(!h)break;k=a[g+36>>0]|0;do{if((a[h+36>>0]|0)==k<<24>>24)a[h+39>>0]=0;h=d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24}while((h|0)!=0)}while(0);l:do if(!(pmb(j,524138,4)|0)){h=a[j+4>>0]|0;switch(h<<24>>24){case 37:case 0:{if(!o)break l;break}default:if(!(o&(cmb(h<<24>>24)|0)!=0))break l}j=d[b+8>>0]|d[b+8+1>>0]<<8|d[b+8+2>>0]<<16|d[b+8+3>>0]<<24;if(!j)break;h=a[g+36>>0]|0;g=j;do{if((a[g+36>>0]|0)==h<<24>>24)a[g+39>>0]=1;g=d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24}while((g|0)!=0)}while(0);if(!((p+-1|0)>>>0<32&(l+-1|0)>>>0<128))break;g=d[b+8>>0]|d[b+8+1>>0]<<8|d[b+8+2>>0]<<16|d[b+8+3>>0]<<24;if(!g)break;h=l&255;do{do if((d[g+36>>0]|0)==(p|0)){if(((a[g+37>>0]|0)+-1&255)<=9)break;a[g+42>>0]=h}while(0);g=d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24}while((g|0)!=0)}while(0);if(pmb(e,524149,6)|0){i=q;return}g=a[e+6>>0]|0;do if(!(g<<24>>24==0?1:g<<24>>24==f<<24>>24)){if(cmb(g<<24>>24)|0)break;i=q;return}while(0);g=d[b+412>>0]|d[b+412+1>>0]<<8|d[b+412+2>>0]<<16|d[b+412+3>>0]<<24;if(!g){j=oOa(b,1279070,0)|0;f=d[b+376>>0]|d[b+376+1>>0]<<8|d[b+376+2>>0]<<16|d[b+376+3>>0]<<24;a[j+20>>0]=f;a[j+20+1>>0]=f>>8;a[j+20+2>>0]=f>>16;a[j+20+3>>0]=f>>24}else j=g;a[b+412>>0]=j;a[b+412+1>>0]=j>>8;a[b+412+2>>0]=j>>16;a[b+412+3>>0]=j>>24;h=a[e+6>>0]|0;m:do if(!(h<<24>>24))g=e+6|0;else{g=e+6|0;do{if(!(cmb(h<<24>>24)|0))break m;g=g+1|0;h=a[g>>0]|0}while(h<<24>>24!=0)}while(0);a[j+43>>0]=(pmb(g,523710,3)|0)!=0&1;i=q;return}function AOa(b,c,e,f){b=b|0;c=c|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0;l=i;i=i+16|0;if((e|0)>11){g=((((10-e|0)>-13?10-e|0:-13)+e+1|0)>>>0)/12|0;e=e+-11+(_(g,-12)|0)|0}else{e=e+1|0;g=-1}if((e|0)<0){k=((((e|0)>-12?e+11|0:-1)-e|0)>>>0)/12|0;e=e+(k*12|0)+12|0;g=g+-1-k|0}k=e+23&255;a[l>>0]=k;h=(g|0)<0?0:g&255;a[l+1>>0]=h;j=(wOa(d[b+42>>0]|0)|0)&255;a[l+2>>0]=j;if(!(a[b+39>>0]|0)){e=d[b+32>>0]|d[b+32+1>>0]<<8|d[b+32+2>>0]<<16|d[b+32+3>>0]<<24;if(!e)e=f;else{g=d[b+28>>0]|d[b+28+1>>0]<<8|d[b+28+2>>0]<<16|d[b+28+3>>0]<<24;if(g>>>0>c>>>0)e=f;else{g=((e|0)>-2?((((c-g|0)>>>0)/192|0)*15|0)>>>0>6143:0)?15:(((((c-g|0)>>>0)/192|0)*15|0)>>>0)/384|0;e=((e|0)>0?g:0-g|0)+f|0;e=(e|0)<2?2:e;e=(e|0)>127?127:e}}}else e=0;e=e&255;a[l+3>>0]=e;a[l+4>>0]=0;a[l+5>>0]=0;g=d[b+8>>0]|d[b+8+1>>0]<<8|d[b+8+2>>0]<<16|d[b+8+3>>0]<<24;if(g|0)if((d[g+4>>0]|d[g+4+1>>0]<<8|d[g+4+2>>0]<<16|d[g+4+3>>0]<<24|0)==(c|0))if(!(a[g+8>>0]|0))if(!(a[g+9>>0]|0)){a[g+8>>0]=k;a[(d[b+8>>0]|d[b+8+1>>0]<<8|d[b+8+2>>0]<<16|d[b+8+3>>0]<<24)+9>>0]=h;a[(d[b+8>>0]|d[b+8+1>>0]<<8|d[b+8+2>>0]<<16|d[b+8+3>>0]<<24)+10>>0]=j;a[(d[b+8>>0]|d[b+8+1>>0]<<8|d[b+8+2>>0]<<16|d[b+8+3>>0]<<24)+11>>0]=e;a[(d[b+8>>0]|d[b+8+1>>0]<<8|d[b+8+2>>0]<<16|d[b+8+3>>0]<<24)+12>>0]=0;a[(d[b+8>>0]|d[b+8+1>>0]<<8|d[b+8+2>>0]<<16|d[b+8+3>>0]<<24)+13>>0]=0;i=l;return}f=Xpb(1,16)|0;a[f>>0]=0;a[f+1>>0]=0;a[f+2>>0]=0;a[f+3>>0]=0;a[f+4>>0]=c;a[f+4+1>>0]=c>>8;a[f+4+2>>0]=c>>16;a[f+4+3>>0]=c>>24;a[f+8>>0]=a[l>>0]|0;a[f+8+1>>0]=a[l+1>>0]|0;a[f+8+2>>0]=a[l+2>>0]|0;a[f+8+3>>0]=a[l+3>>0]|0;a[f+8+4>>0]=a[l+4>>0]|0;a[f+8+5>>0]=a[l+5>>0]|0;a[f+14>>0]=a[1274839]|0;a[f+15>>0]=0;qOa(b,f);i=l;return}function BOa(b,e,f,g,h,j,k,l){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+288|0;p=d[b+412>>0]|d[b+412+1>>0]<<8|d[b+412+2>>0]<<16|d[b+412+3>>0]<<24;a:do switch(e|0){case 94:{e=a[f>>0]|0;if(e<<24>>24==94){n=120;m=2;t=a[f+1>>0]|0;break a}else{n=94;m=1;t=e<<24>>24;break a}}case 95:{e=a[f>>0]|0;if(e<<24>>24==95){n=98;m=2;t=a[f+1>>0]|0;break a}else{n=95;m=1;t=e<<24>>24;break a}}case 61:{n=61;m=1;t=a[f>>0]|0;break}default:{n=e;m=0;t=e}}while(0);e=0;while(1){if((t|0)==(a[h+e>>0]|0)){s=e;break}e=e+1|0;if((e|0)>=51){s=e;break}}b:do if(!m){e=(s|0)>24?s+-25|0:s;u=23}else{e=0;while(1){if((t|0)==(a[522292+e>>0]|0))break;e=e+1|0;if((e|0)>=25){u=29;break b}}switch(n|0){case 120:{e=e+1|0;u=17;break}case 94:{u=17;break}case 98:{e=e+-1|0;u=19;break}case 95:{u=19;break}default:{}}if((u|0)==17)e=e+1|0;else if((u|0)==19)e=e+-1|0;if((s|0)<25)a[h+s>>0]=32;a[h+e>>0]=t;u=23}while(0);if((u|0)==23)if((e|0)<25){e=(d[p+20>>0]|d[p+20+1>>0]<<8|d[p+20+2>>0]<<16|d[p+20+3>>0]<<24)+e|0;if((e|0)>12){n=e+-12+(_(((e+-13|0)>>>0)/12|0,-12)|0)|0;e=(((e+-13|0)>>>0)/12|0)+4|0}else{n=e;e=3}if((n|0)<0){r=((((n|0)>-12?n+11|0:-1)-n|0)>>>0)/12|0;n=n+(r*12|0)+12|0;e=e+-1-r|0}o=n+23&255;a[v+12>>0]=o;n=e}else u=29;if((u|0)==29){a[v+12>>0]=0;o=0;n=3}e=a[f+m>>0]|0;c:do if(e<<24>>24)do{if(!(omb(524439,e<<24>>24,3)|0))break c;n=(e<<24>>24==44?-1:1)+n|0;m=m+1|0;a[p+24>>0]=0;a[p+24+1>>0]=0;a[p+24+2>>0]=0;a[p+24+3>>0]=0;e=a[f+m>>0]|0}while(e<<24>>24!=0);while(0);e=d[p+24>>0]|d[p+24+1>>0]<<8|d[p+24+2>>0]<<16|d[p+24+3>>0]<<24;if(e|0){r=(d[p+20>>0]|d[p+20+1>>0]<<8|d[p+20+2>>0]<<16|d[p+20+3>>0]<<24)+(e*12|0)|0;a[p+20>>0]=r;a[p+20+1>>0]=r>>8;a[p+20+2>>0]=r>>16;a[p+20+3>>0]=r>>24}r=e+n|0;a[p+24>>0]=0;a[p+24+1>>0]=0;a[p+24+2>>0]=0;a[p+24+3>>0]=0;r=(r|0)<0?0:r;r=(r|0)>9?9:r;a[v+12+1>>0]=r;a[v+12+2>>0]=wOa(d[p+42>>0]|0)|0;if(!(a[p+39>>0]|0)){n=d[p+32>>0]|d[p+32+1>>0]<<8|d[p+32+2>>0]<<16|d[p+32+3>>0]<<24;if(!n)e=j;else{e=d[p+28>>0]|d[p+28+1>>0]<<8|d[p+28+2>>0]<<16|d[p+28+3>>0]<<24;if(e>>>0>g>>>0)e=j;else{e=((n|0)>-2?((((g-e|0)>>>0)/192|0)*15|0)>>>0>6143:0)?15:(((((g-e|0)>>>0)/192|0)*15|0)>>>0)/384|0;e=((n|0)>0?e:0-e|0)+j|0;e=(e|0)<2?2:e;e=(e|0)>127?127:e}}}else e=0;a[v+12+3>>0]=e;a[v+12+4>>0]=k;a[v+12+5>>0]=l;q=o<<24>>24;j=d[b+412>>0]|d[b+412+1>>0]<<8|d[b+412+2>>0]<<16|d[b+412+3>>0]<<24;k=a[j+36>>0]|0;l=a[j+37>>0]|0;p=d[b+8>>0]|d[b+8+1>>0]<<8|d[b+8+2>>0]<<16|d[b+8+3>>0]<<24;d:do if(p){e=p;do{if((a[e+36>>0]|0)==k<<24>>24){n=e+16|0;n=d[n>>0]|d[n+1>>0]<<8|d[n+2>>0]<<16|d[n+3>>0]<<24;if(n|0)if((d[n+4>>0]|d[n+4+1>>0]<<8|d[n+4+2>>0]<<16|d[n+4+3>>0]<<24)>>>0>>0)if((d[n+9>>0]|0)==(r|0)){n=(d[n+8>>0]|0)-q|0;if((((n|0)>-1?n:0-n|0)|0)<3){u=45;break}}}e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24}while((e|0)!=0);if((u|0)==45){if((a[e+37>>0]|0)!=l<<24>>24)a[e+38>>0]=l;a[b+412>>0]=e;a[b+412+1>>0]=e>>8;a[b+412+2>>0]=e>>16;a[b+412+3>>0]=e>>24;j=e;break}n=a[j+38>>0]|0;if(l<<24>>24!=n<<24>>24){e=p;while(1){if((a[e+36>>0]|0)==k<<24>>24)if((a[e+37>>0]|0)==n<<24>>24)break;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)break d}a[e+38>>0]=l;a[b+412>>0]=e;a[b+412+1>>0]=e>>8;a[b+412+2>>0]=e>>16;a[b+412+3>>0]=e>>24;j=e}}while(0);k=j+16|0;e=d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24;if(e|0){e=d[e+8>>0]|0;do if((e|0)==(q|0))e=r&255;else if((((e-q|0)>-1?e-q|0:0-(e-q)|0)|0)<3){q=j+20|0;q=d[q>>0]|d[q+1>>0]<<8|d[q+2>>0]<<16|d[q+3>>0]<<24;l=((e+-23-q|0)>0?e+-23|0:q)+34-e|0;n=l-((l>>>0)%12|0)+e+-23-q+((l-((l>>>0)%12|0)+e+-23-q|0)<12?~(l-((l>>>0)%12|0)+e+-23-q):-13)+12|0;n=l-((l>>>0)%12|0)+e+-23-q+(((n>>>0)%12|0)-n)|0;if(!(Vlb(t)|0))u=59;else if((a[h+(n+12)>>0]|0)!=32)u=59;if((u|0)==59){if(!(imb(t)|0)){e=r&255;break}if((a[h+n>>0]|0)!=32){e=r&255;break}}a[h+s>>0]=32;e=t&255;if(!(Vlb(t)|0))a[h+(n+12)>>0]=e;else a[h+n>>0]=e;o=a[(d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24)+8>>0]|0;a[v+12>>0]=o;e=a[(d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24)+9>>0]|0;a[v+12+1>>0]=e}else e=r&255;while(0);p=d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24;if(p|0){n=a[p+8>>0]|0;if((n&255|0)==(o<<24>>24|0))if((d[p+9>>0]|0)==(e<<24>>24|0)){e=p;while(1){if(!(n<<24>>24)){n=e+9|0;if(!(a[n>>0]|0)){u=70;break}}e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)break;n=a[e+8>>0]|0}if((u|0)==70){a[e+8>>0]=1;a[n>>0]=72;a[e+10>>0]=0;a[e+10+1>>0]=0;a[e+10+2>>0]=0;a[e+10+3>>0]=0}a[p+15>>0]=1;n=m;e:while(1){e=a[f+n>>0]|0;if(((e<<24>>24)+-48|0)>>>0>=10)switch(e<<24>>24){case 45:{u=89;break e}case 47:break;default:break e}n=n+1|0}if((u|0)==89){i=v;return m|0}a[k>>0]=0;a[k+1>>0]=0;a[k+2>>0]=0;a[k+3>>0]=0;u=m;i=v;return u|0}}}a[k>>0]=0;a[k+1>>0]=0;a[k+2>>0]=0;a[k+3>>0]=0;e=j+8|0;n=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!n)u=83;else if((d[n+4>>0]|d[n+4+1>>0]<<8|d[n+4+2>>0]<<16|d[n+4+3>>0]<<24|0)==(g|0))if(!(a[n+8>>0]|0))if(!(a[n+9>>0]|0)){a[n+8>>0]=a[v+12>>0]|0;a[(d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24)+9>>0]=a[v+12+1>>0]|0;a[(d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24)+10>>0]=a[v+12+2>>0]|0;a[(d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24)+11>>0]=a[v+12+3>>0]|0;a[(d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24)+12>>0]=a[v+12+4>>0]|0;a[(d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24)+13>>0]=a[v+12+5>>0]|0}else u=83;else u=83;else u=83;if((u|0)==83){u=Xpb(1,16)|0;a[u>>0]=0;a[u+1>>0]=0;a[u+2>>0]=0;a[u+3>>0]=0;a[u+4>>0]=g;a[u+4+1>>0]=g>>8;a[u+4+2>>0]=g>>16;a[u+4+3>>0]=g>>24;a[u+8>>0]=a[v+12>>0]|0;a[u+8+1>>0]=a[v+12+1>>0]|0;a[u+8+2>>0]=a[v+12+2>>0]|0;a[u+8+3>>0]=a[v+12+3>>0]|0;a[u+8+4>>0]=a[v+12+4>>0]|0;a[u+8+5>>0]=a[v+12+5>>0]|0;a[u+14>>0]=a[1274839]|0;a[u+15>>0]=0;qOa(j,u)}if((m|0)<=0){u=m;i=v;return u|0}e=m+-1|0;if((a[f+e>>0]|0)!=34){u=m;i=v;return u|0}m=d[b+24>>0]|d[b+24+1>>0]<<8|d[b+24+2>>0]<<16|d[b+24+3>>0]<<24;if(((rnb(m)|0)+36|0)>>>0<=255){c[v>>2]=m;rmb(v+24|0,524442,v)|0;u=c[37151]|0;c[v+8>>2]=v+24;oob(u,521941,v+8|0)|0}u=e;i=v;return u|0}function COa(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;k=d[b+416>>0]|d[b+416+1>>0]<<8|d[b+416+2>>0]<<16|d[b+416+3>>0]<<24;h=d[k+4>>0]|d[k+4+1>>0]<<8|d[k+4+2>>0]<<16|d[k+4+3>>0]<<24;if(!h)return;else g=0;do{if((a[h+8>>0]|0)==1)g=(a[h+9>>0]|0)==67?h:g;h=d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24}while((h|0)!=0);if(!g)return;q=d[g+10>>0]|0;h=a[b+36>>0]|0;if(!(h<<24>>24))i=0;else{i=0;j=b+36|0;do{p=(h<<24>>24)+-48|0;i=(p>>>0<10?p:0)+i|0;j=j+1|0;h=a[j>>0]|0}while(h<<24>>24!=0)}p=d[b+356>>0]|d[b+356+1>>0]<<8|d[b+356+2>>0]<<16|d[b+356+3>>0]<<24;o=(oOa(b,k+44|0,1)|0)+8|0;o=d[o>>0]|d[o+1>>0]<<8|d[o+2>>0]<<16|d[o+3>>0]<<24;o=((o|0)==0?g:o)+4|0;o=d[o>>0]|d[o+1>>0]<<8|d[o+2>>0]<<16|d[o+3>>0]<<24;n=(oOa(b,(d[b+416>>0]|d[b+416+1>>0]<<8|d[b+416+2>>0]<<16|d[b+416+3>>0]<<24)+44|0,2)|0)+8|0;n=d[n>>0]|d[n+1>>0]<<8|d[n+2>>0]<<16|d[n+3>>0]<<24;n=((n|0)==0?g:n)+4|0;n=d[n>>0]|d[n+1>>0]<<8|d[n+2>>0]<<16|d[n+3>>0]<<24;o=n>>>0>o>>>0?n:o;n=(oOa(b,(d[b+416>>0]|d[b+416+1>>0]<<8|d[b+416+2>>0]<<16|d[b+416+3>>0]<<24)+44|0,3)|0)+8|0;n=d[n>>0]|d[n+1>>0]<<8|d[n+2>>0]<<16|d[n+3>>0]<<24;n=((n|0)==0?g:n)+4|0;n=d[n>>0]|d[n+1>>0]<<8|d[n+2>>0]<<16|d[n+3>>0]<<24;o=n>>>0>o>>>0?n:o;n=(oOa(b,(d[b+416>>0]|d[b+416+1>>0]<<8|d[b+416+2>>0]<<16|d[b+416+3>>0]<<24)+44|0,4)|0)+8|0;n=d[n>>0]|d[n+1>>0]<<8|d[n+2>>0]<<16|d[n+3>>0]<<24;n=((n|0)==0?g:n)+4|0;n=d[n>>0]|d[n+1>>0]<<8|d[n+2>>0]<<16|d[n+3>>0]<<24;o=n>>>0>o>>>0?n:o;n=(oOa(b,(d[b+416>>0]|d[b+416+1>>0]<<8|d[b+416+2>>0]<<16|d[b+416+3>>0]<<24)+44|0,5)|0)+8|0;n=d[n>>0]|d[n+1>>0]<<8|d[n+2>>0]<<16|d[n+3>>0]<<24;n=((n|0)==0?g:n)+4|0;n=d[n>>0]|d[n+1>>0]<<8|d[n+2>>0]<<16|d[n+3>>0]<<24;o=n>>>0>o>>>0?n:o;n=(oOa(b,(d[b+416>>0]|d[b+416+1>>0]<<8|d[b+416+2>>0]<<16|d[b+416+3>>0]<<24)+44|0,6)|0)+8|0;n=d[n>>0]|d[n+1>>0]<<8|d[n+2>>0]<<16|d[n+3>>0]<<24;n=((n|0)==0?g:n)+4|0;n=d[n>>0]|d[n+1>>0]<<8|d[n+2>>0]<<16|d[n+3>>0]<<24;o=n>>>0>o>>>0?n:o;n=(oOa(b,(d[b+416>>0]|d[b+416+1>>0]<<8|d[b+416+2>>0]<<16|d[b+416+3>>0]<<24)+44|0,7)|0)+8|0;n=d[n>>0]|d[n+1>>0]<<8|d[n+2>>0]<<16|d[n+3>>0]<<24;n=((n|0)==0?g:n)+4|0;n=d[n>>0]|d[n+1>>0]<<8|d[n+2>>0]<<16|d[n+3>>0]<<24;o=n>>>0>o>>>0?n:o;if(o>>>0>e>>>0)return;if(o>>>0>>0){h=d[b+356>>0]|d[b+356+1>>0]<<8|d[b+356+2>>0]<<16|d[b+356+3>>0]<<24;h=h-(((f-o|0)>>>0)%(h>>>0)|0)|0}else h=((o-f|0)>>>0)%((d[b+356>>0]|d[b+356+1>>0]<<8|d[b+356+2>>0]<<16|d[b+356+3>>0]<<24)>>>0)|0;k=_(p,i)|0;j=(_(h,i)|0)+k|0;n=rnb(b+36|0)|0;if(j>>>0>k>>>0){h=0;do{j=j-(_((a[(h<<1|1)+(b+36)>>0]|0)+-48|0,p)|0)|0;h=h+1|0;h=(h|0)==(n|0)?0:h}while(j>>>0>k>>>0)}else h=0;m=_(e-o|0,i)|0;j=0;a:while(1){k=j>>>0>>0;b:while(1){if(!k)break a;f=h<<1;l=a[b+36+f>>0]|0;h=h+1|0;h=(h|0)==(n|0)?0:h;switch(l|0){case 98:{e=18;break b}case 99:{e=19;break b}case 102:{e=24;break b}case 74:case 73:case 72:case 71:case 106:case 105:case 104:case 103:{e=25;break b}case 122:{e=28;break b}default:{}}}if((e|0)==18){e=0;k=(a[(f|1)+(b+36)>>0]|0)+-48|0;f=oOa(b,(d[b+416>>0]|d[b+416+1>>0]<<8|d[b+416+2>>0]<<16|d[b+416+3>>0]<<24)+44|0,2)|0;a[f+42>>0]=d[b+372>>0]|d[b+372+1>>0]<<8|d[b+372+2>>0]<<16|d[b+372+3>>0]<<24;AOa(f,((j>>>0)/(i>>>0)|0)+o|0,(c[1195828+(q*24|0)>>2]|0)+47+(d[g+11>>0]|0)|0,a[f+39>>0]|0?0:d[b+368>>0]|d[b+368+1>>0]<<8|d[b+368+2>>0]<<16|d[b+368+3>>0]<<24);s=((((_(k,p)|0)+j|0)>>>0)/(i>>>0)|0)+o|0;r=(wOa(d[f+42>>0]|0)|0)&255;l=Xpb(1,16)|0;a[l>>0]=0;a[l+1>>0]=0;a[l+2>>0]=0;a[l+3>>0]=0;a[l+4>>0]=s;a[l+4+1>>0]=s>>8;a[l+4+2>>0]=s>>16;a[l+4+3>>0]=s>>24;a[l+8>>0]=0;a[l+9>>0]=0;a[l+10>>0]=r;a[l+11>>0]=0;a[l+12>>0]=0;a[l+13>>0]=0;a[l+14>>0]=a[1274839]|0;a[l+15>>0]=0;qOa(f,l)}else if((e|0)==19){e=0;k=(a[(f|1)+(b+36)>>0]|0)+-48|0}else if((e|0)==24){s=(a[(f|1)+(b+36)>>0]|0)+-48|0;l=oOa(b,(d[b+416>>0]|d[b+416+1>>0]<<8|d[b+416+2>>0]<<16|d[b+416+3>>0]<<24)+44|0,2)|0;a[l+42>>0]=d[b+372>>0]|d[b+372+1>>0]<<8|d[b+372+2>>0]<<16|d[b+372+3>>0]<<24;AOa(l,((j>>>0)/(i>>>0)|0)+o|0,(d[g+12>>0]|0)+35|0,a[l+39>>0]|0?0:d[b+368>>0]|d[b+368+1>>0]<<8|d[b+368+2>>0]<<16|d[b+368+3>>0]<<24);s=(_(s,p)|0)+j|0;f=((s>>>0)/(i>>>0)|0)+o|0;e=(wOa(d[l+42>>0]|0)|0)&255;r=Xpb(1,16)|0;a[r>>0]=0;a[r+1>>0]=0;a[r+2>>0]=0;a[r+3>>0]=0;a[r+4>>0]=f;a[r+4+1>>0]=f>>8;a[r+4+2>>0]=f>>16;a[r+4+3>>0]=f>>24;a[r+8>>0]=0;a[r+9>>0]=0;a[r+10>>0]=e;a[r+11>>0]=0;a[r+12>>0]=0;a[r+13>>0]=0;a[r+14>>0]=a[1274839]|0;a[r+15>>0]=0;qOa(l,r);j=s;continue}else if((e|0)==25){k=(a[(f|1)+(b+36)>>0]|0)+-48|0;f=hmb(l)|0;if((f+-71|0)<(c[1195508+(q<<2)>>2]|0)){e=oOa(b,(d[b+416>>0]|d[b+416+1>>0]<<8|d[b+416+2>>0]<<16|d[b+416+3>>0]<<24)+44|0,f+-68|0)|0;a[e+42>>0]=d[b+364>>0]|d[b+364+1>>0]<<8|d[b+364+2>>0]<<16|d[b+364+3>>0]<<24;r=(d[g+11>>0]|0)+(c[1195828+(q*24|0)+(f+-71<<2)>>2]|0)|0;s=(Vlb(l)|0)==0;s=r+(s?24:12)|0;AOa(e,((j>>>0)/(i>>>0)|0)+o|0,s+23|0,a[e+39>>0]|0?0:d[b+360>>0]|d[b+360+1>>0]<<8|d[b+360+2>>0]<<16|d[b+360+3>>0]<<24);j=(_(k,p)|0)+j|0;if(!s)continue;l=((j>>>0)/(i>>>0)|0)+o|0;r=(wOa(d[e+42>>0]|0)|0)&255;s=Xpb(1,16)|0;a[s>>0]=0;a[s+1>>0]=0;a[s+2>>0]=0;a[s+3>>0]=0;a[s+4>>0]=l;a[s+4+1>>0]=l>>8;a[s+4+2>>0]=l>>16;a[s+4+3>>0]=l>>24;a[s+8>>0]=0;a[s+9>>0]=0;a[s+10>>0]=r;a[s+11>>0]=0;a[s+12>>0]=0;a[s+13>>0]=0;a[s+14>>0]=a[1274839]|0;a[s+15>>0]=0;qOa(e,s);continue}else e=29}else if((e|0)==28){k=(a[(f|1)+(b+36)>>0]|0)+-48|0;e=29}if((e|0)==29){j=(_(k,p)|0)+j|0;continue}if((c[1195508+(q<<2)>>2]|0)<=1){j=(_(k,p)|0)+j|0;continue}e=((j>>>0)/(i>>>0)|0)+o|0;j=(_(k,p)|0)+j|0;f=((j>>>0)/(i>>>0)|0)+o|0;k=1;while(1){r=oOa(b,(d[b+416>>0]|d[b+416+1>>0]<<8|d[b+416+2>>0]<<16|d[b+416+3>>0]<<24)+44|0,k+2|0)|0;a[r+42>>0]=d[b+364>>0]|d[b+364+1>>0]<<8|d[b+364+2>>0]<<16|d[b+364+3>>0]<<24;AOa(r,e,(c[1195828+(q*24|0)+(k<<2)>>2]|0)+47+(d[g+11>>0]|0)|0,a[r+39>>0]|0?0:d[b+360>>0]|d[b+360+1>>0]<<8|d[b+360+2>>0]<<16|d[b+360+3>>0]<<24);l=(wOa(d[r+42>>0]|0)|0)&255;s=Xpb(1,16)|0;a[s>>0]=0;a[s+1>>0]=0;a[s+2>>0]=0;a[s+3>>0]=0;a[s+4>>0]=f;a[s+4+1>>0]=f>>8;a[s+4+2>>0]=f>>16;a[s+4+3>>0]=f>>24;a[s+8>>0]=0;a[s+9>>0]=0;a[s+10>>0]=l;a[s+11>>0]=0;a[s+12>>0]=0;a[s+13>>0]=0;a[s+14>>0]=a[1274839]|0;a[s+15>>0]=0;qOa(r,s);k=k+1|0;if((k|0)>=(c[1195508+(q<<2)>>2]|0))continue a}}return}function DOa(b,c,e){b=b|0;c=c|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=a[b+116>>0]|0;if(!(f<<24>>24))g=0;else{g=0;h=b+116|0;do{l=(f<<24>>24)+-48|0;g=(l>>>0<10?l:0)+g|0;h=h+1|0;f=a[h>>0]|0}while(f<<24>>24!=0)}k=d[b+356>>0]|d[b+356+1>>0]<<8|d[b+356+2>>0]<<16|d[b+356+3>>0]<<24;l=oOa(b,(d[b+420>>0]|d[b+420+1>>0]<<8|d[b+420+2>>0]<<16|d[b+420+3>>0]<<24)+44|0,8)|0;f=d[l+8>>0]|d[l+8+1>>0]<<8|d[l+8+2>>0]<<16|d[l+8+3>>0]<<24;if(!f)j=e;else j=d[f+4>>0]|d[f+4+1>>0]<<8|d[f+4+2>>0]<<16|d[f+4+3>>0]<<24;if(j>>>0>c>>>0)return;if(j>>>0>>0){f=d[b+356>>0]|d[b+356+1>>0]<<8|d[b+356+2>>0]<<16|d[b+356+3>>0]<<24;f=f-(((e-j|0)>>>0)%(f>>>0)|0)|0}else f=((j-e|0)>>>0)%((d[b+356>>0]|d[b+356+1>>0]<<8|d[b+356+2>>0]<<16|d[b+356+3>>0]<<24)>>>0)|0;e=_(k,g)|0;h=(_(f,g)|0)+e|0;i=(rnb(b+116|0)|0)>>>1;if(h>>>0>e>>>0){f=0;do{h=h-(_((a[(f<<1|1)+(b+116)>>0]|0)+-48|0,k)|0)|0;f=f+1|0;f=(f|0)==(i|0)?0:f}while(h>>>0>e>>>0)}else f=0;c=_(c-j|0,g)|0;if(!c)return;h=0;while(1){m=f<<1;e=(a[(m|1)+(b+116)>>0]|0)+-48|0;if((a[b+116+m>>0]|0)==100){n=b+196+f|0;a[l+42>>0]=EOa((a[n>>0]|0)+-1|0)|0;n=FOa(a[n>>0]|0)|0;AOa(l,((h>>>0)/(g>>>0)|0)+j|0,n,a[l+39>>0]|0?0:a[b+276+f>>0]|0);h=(_(e,k)|0)+h|0;n=((h>>>0)/(g>>>0)|0)+j|0;e=(wOa(d[l+42>>0]|0)|0)&255;m=Xpb(1,16)|0;a[m>>0]=0;a[m+1>>0]=0;a[m+2>>0]=0;a[m+3>>0]=0;a[m+4>>0]=n;a[m+4+1>>0]=n>>8;a[m+4+2>>0]=n>>16;a[m+4+3>>0]=n>>24;a[m+8>>0]=0;a[m+9>>0]=0;a[m+10>>0]=e;a[m+11>>0]=0;a[m+12>>0]=0;a[m+13>>0]=0;a[m+14>>0]=a[1274839]|0;a[m+15>>0]=0;qOa(l,m)}else h=(_(e,k)|0)+h|0;f=f+1|0;if(h>>>0>>0)f=(f|0)==(i|0)?0:f;else break}return}function EOa(a){a=a|0;if((a|0)<25){a=129;return a|0}a=(a+104|0)<191?a+104|0:191;return a|0}function FOa(a){a=a|0;var b=0;if((a|0)<25)b=128;else b=(a+104|0)<191?a+103|0:190;b=Unb(1249751+(b<<7)|0,58)|0;if(!b)return a|0;b=pob(b+1|0,524520)|0;if(!b)return a|0;a=Hpb((Unb(b,61)|0)+1|0)|0;return a|0}function GOa(b,c,e){b=b|0;c=c|0;e=e|0;var f=0,g=0,h=0,i=0;f=(pmb(e,524760,2)|0)==0;g=(pmb(e,524763,2)|0)==0;i=(pmb(e,524766,3)|0)==0;f=i?100:g?90:f?75:0;g=a[e>>0]|0;if(g<<24>>24==112){e=e+1|0;f=60;while(1){f=f+-15|0;g=e+1|0;if((a[e>>0]|0)==112)e=g;else break}e=g;g=a[g>>0]|0;f=(f|0)<1?1:f}if(g<<24>>24==102){f=105;do{e=e+1|0;f=f+15|0}while((a[e>>0]|0)==102);f=(f|0)>135?127:f;if((f|0)>127)f=125;else h=8}else h=8;if((h|0)==8)if(!f){i=c+41|0;i=a[i>>0]|0;i=i&255;return i|0}e=f&255;a[c+41>>0]=e;if((d[b+8>>0]|d[b+8+1>>0]<<8|d[b+8+2>>0]<<16|d[b+8+3>>0]<<24|0)==(c|0))f=c;else{i=c+41|0;i=a[i>>0]|0;i=i&255;return i|0}do{if(((a[f+37>>0]|0)+-1&255)>9)a[f+41>>0]=e;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24}while((f|0)!=0);f=c+41|0;i=a[f>>0]|0;i=i&255;return i|0}function HOa(b){b=b|0;var c=0,e=0,f=0;if(!b)return;c=d[b>>0]|d[b+1>>0]<<8|d[b+2>>0]<<16|d[b+3>>0]<<24;if(c|0)do{f=c;c=d[c>>0]|d[c+1>>0]<<8|d[c+2>>0]<<16|d[c+3>>0]<<24;e=d[f+4>>0]|d[f+4+1>>0]<<8|d[f+4+2>>0]<<16|d[f+4+3>>0]<<24;if(e|0)Wpb(e);e=d[f+8>>0]|d[f+8+1>>0]<<8|d[f+8+2>>0]<<16|d[f+8+3>>0]<<24;if(e|0)Wpb(e);Wpb(f)}while((c|0)!=0);c=d[b+4>>0]|d[b+4+1>>0]<<8|d[b+4+2>>0]<<16|d[b+4+3>>0]<<24;if(c|0)do{f=c;c=d[c>>0]|d[c+1>>0]<<8|d[c+2>>0]<<16|d[c+3>>0]<<24;e=d[f+4>>0]|d[f+4+1>>0]<<8|d[f+4+2>>0]<<16|d[f+4+3>>0]<<24;if(e|0)Wpb(e);e=d[f+8>>0]|d[f+8+1>>0]<<8|d[f+8+2>>0]<<16|d[f+8+3>>0]<<24;if(e|0)Wpb(e);Wpb(f)}while((c|0)!=0);a[b>>0]=0;a[b+1>>0]=0;a[b+2>>0]=0;a[b+3>>0]=0;a[b+4>>0]=0;a[b+4+1>>0]=0;a[b+4+2>>0]=0;a[b+4+3>>0]=0;return}function IOa(a){a=a|0;if((a|0)>=191){a=1;return a|0}a=d[1249304+(a+-1)>>0]|0;return a|0}function JOa(a){a=a|0;var b=0;b=i;i=i+16|0;if((a+-1|0)>>>0>190){c[b>>2]=a;rmb(1274840,525014,b)|0;a=1274840;i=b;return a|0}else{a=1249751+(a+-1<<7)|0;i=b;return a|0}return 0}function KOa(e,f,g,h,i){e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;E=(h|0)>240?240:h;h=d[g+8>>0]|d[g+8+1>>0]<<8|d[g+8+2>>0]<<16|d[g+8+3>>0]<<24;if(h|0)do{C=h+4|0;C=d[C>>0]|d[C+1>>0]<<8|d[C+2>>0]<<16|d[C+3>>0]<<24;D=h+12|0;a[D>>0]=C;a[D+1>>0]=C>>8;a[D+2>>0]=C>>16;a[D+3>>0]=C>>24;h=d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24}while((h|0)!=0);if((E|0)<=0){F=0;return F|0}h=0;j=0;a:while(1){D=ONa(64,i)|0;B=e+(h<<2)|0;c[B>>2]=D;if(!D){h=0;F=75;break}b[f+(h<<1)>>1]=64;C=h<<6;D=0;do{z=d[g+20>>0]|d[g+20+1>>0]<<8|d[g+20+2>>0]<<16|d[g+20+3>>0]<<24;A=_((D+C|0)*192|0,z)|0;o=d[g+8>>0]|d[g+8+1>>0]<<8|d[g+8+2>>0]<<16|d[g+8+3>>0]<<24;r=d[o+12>>0]|d[o+12+1>>0]<<8|d[o+12+2>>0]<<16|d[o+12+3>>0]<<24;b:do if(!r){l=0;k=0}else{k=r;while(1){if((a[k+8>>0]|0)==1)if((a[k+9>>0]&-5)<<24>>24==80)break;k=d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24;if(!k){l=0;k=0;break b}}l=d[k+4>>0]|d[k+4+1>>0]<<8|d[k+4+2>>0]<<16|d[k+4+3>>0]<<24;if(l>>>0<(A+(z*192|0)|0)>>>0){m=k;n=0;k=0;while(1){c:do if(l>>>0>=A>>>0)switch(d[m+9>>0]|0){case 84:{k=m+10|0;k=d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24;break c}case 80:{n=1;break c}default:break c}while(0);l=d[m>>0]|d[m+1>>0]<<8|d[m+2>>0]<<16|d[m+3>>0]<<24;if(!l){l=n;break b}while(1){if((a[l+8>>0]|0)==1)if((a[l+9>>0]&-5)<<24>>24==80){m=l;break}l=d[l>>0]|d[l+1>>0]<<8|d[l+2>>0]<<16|d[l+3>>0]<<24;if(!l){l=n;break b}}l=d[m+4>>0]|d[m+4+1>>0]<<8|d[m+4+2>>0]<<16|d[m+4+3>>0]<<24;if(l>>>0>=(A+(z*192|0)|0)>>>0){l=n;break}}}else{l=0;k=0}}while(0);d:do if(o){y=_(D,i)|0;x=0;m=o;while(1){t=m+12|0;e:do if(!r){r=0;t=0;p=0;q=0;o=0}else{n=r;while(1){if((a[n+8>>0]|0)!=1)break;n=d[n>>0]|d[n+1>>0]<<8|d[n+2>>0]<<16|d[n+3>>0]<<24;if(!n){t=0;p=0;q=0;o=0;break e}}if((d[n+4>>0]|d[n+4+1>>0]<<8|d[n+4+2>>0]<<16|d[n+4+3>>0]<<24)>>>0>>0)do{n=d[n>>0]|d[n+1>>0]<<8|d[n+2>>0]<<16|d[n+3>>0]<<24;if(!n){t=0;p=0;q=0;o=0;break e}while(1){if((a[n+8>>0]|0)!=1)break;n=d[n>>0]|d[n+1>>0]<<8|d[n+2>>0]<<16|d[n+3>>0]<<24;if(!n){t=0;p=0;q=0;o=0;break e}}}while((d[n+4>>0]|d[n+4+1>>0]<<8|d[n+4+2>>0]<<16|d[n+4+3>>0]<<24)>>>0>>0);w=n+4|0;if((d[w>>0]|d[w+1>>0]<<8|d[w+2>>0]<<16|d[w+3>>0]<<24)>>>0<(A+(z*192|0)|0)>>>0){r=n;p=0;q=n;o=0;while(1){a[t>>0]=r;a[t+1>>0]=r>>8;a[t+2>>0]=r>>16;a[t+3>>0]=r>>24;o=o+1|0;w=(a[r+11>>0]|0)==0;s=w?p:(p|0)==0?r:p;q=w?q:r;p=d[r>>0]|d[r+1>>0]<<8|d[r+2>>0]<<16|d[r+3>>0]<<24;if(!p){t=n;p=s;break e}while(1){if((a[p+8>>0]|0)!=1)break;p=d[p>>0]|d[p+1>>0]<<8|d[p+2>>0]<<16|d[p+3>>0]<<24;if(!p){t=n;p=s;break e}}if((d[p+4>>0]|d[p+4+1>>0]<<8|d[p+4+2>>0]<<16|d[p+4+3>>0]<<24)>>>0<(A+(z*192|0)|0)>>>0){r=p;p=s}else{t=n;p=s;break}}}else{t=n;p=0;q=n;o=0}}while(0);v=x+y|0;w=c[B>>2]|0;a[w+(v*6|0)+5>>0]=0;a[w+(v*6|0)+3>>0]=0;u=1<>0]=5;a[w+(v*6|0)+5>>0]=0;a[w+(v*6|0)+1>>0]=0;a[w+(v*6|0)>>0]=0;a[w+(v*6|0)+2>>0]=0;a[w+(v*6|0)+4>>0]=0;F=66}else{j=j&~u;do if((o|0)==1)F=40;else if((p|0)!=0&(p|0)!=(q|0)){if((a[m+40>>0]|0)==10){n=((d[q+9>>0]|0)*12|0)+(d[q+8>>0]|0)|0;o=(FOa(n)|0)+23|0;p=o&255;n=(wOa(EOa(n)|0)|0)&255}else{o=LOa(((d[p+9>>0]|0)*12|0)+(d[p+8>>0]|0)|0)|0;n=a[q+10>>0]|0;p=LOa(((d[q+9>>0]|0)*12|0)+(d[q+8>>0]|0)|0)|0}u=(d[q+11>>0]|0)>>>1;a[w+(v*6|0)+1>>0]=n;a[w+(v*6|0)>>0]=o;a[w+(v*6|0)+2>>0]=1;a[w+(v*6|0)+4>>0]=(u&255)>64?64:u;n=o&255;o=(p|0)>(n|0);n=o?p-n|0:n-p|0;a[w+(v*6|0)+5>>0]=n;if((n&240)>>>0>=16){a[w+(v*6|0)+3>>0]=o?2:3;n=n&255;break}if(!((n&255)<<24>>24)){a[w+(v*6|0)+3>>0]=15;n=q+4|0;n=((((d[n>>0]|d[n+1>>0]<<8|d[n+2>>0]<<16|d[n+3>>0]<<24)-A|0)>>>0)/192|0)&255;a[w+(v*6|0)+5>>0]=n;break}else{a[w+(v*6|0)+3>>0]=28;n=(n|(o?16:32))&255;a[w+(v*6|0)+5>>0]=n;break}}else F=40;while(0);if((F|0)==40){F=0;q=(p|0)==0?t:p;n=((d[q+9>>0]|0)*12|0)+(d[q+8>>0]|0)|0;if((a[m+40>>0]|0)==10){s=(FOa(n)|0)+23|0;t=(wOa(EOa(n)|0)|0)&255;n=s}else{n=LOa(n)|0;t=a[q+10>>0]|0}s=n&255;o=a[q+11>>0]|0;f:do if(!(o<<24>>24)){n=a[w+(v*6|0)+5>>0]|0;o=(o&255)>>>1}else{p=a[q+12>>0]|0;if(p<<24>>24==3)n=(((o&255)/40|0)&255)+((o&255)>>>1&255)&255;else n=(o&255)>>>1;o=(n&255)>64?64:n;if(!(a[r+11>>0]|0)){n=r+4|0;n=(d[n>>0]|d[n+1>>0]<<8|d[n+2>>0]<<16|d[n+3>>0]<<24)-A|0;a[w+(v*6|0)+3>>0]=20;a[w+(v*6|0)+5>>0]=n|192;n=(n|192)&255;break}switch(p&255|0){case 1:{a[w+(v*6|0)+3>>0]=5;a[w+(v*6|0)+5>>0]=-62;n=-62;j=j|u;break f}case 2:{a[w+(v*6|0)+3>>0]=28;n=(d[w+(v*6|0)+5>>0]|(a[q+13>>0]|0?18:34))&255;a[w+(v*6|0)+5>>0]=n;break f}default:{n=(((d[q+4>>0]|d[q+4+1>>0]<<8|d[q+4+2>>0]<<16|d[q+4+3>>0]<<24)-A|0)>>>0)/192|0;a[w+(v*6|0)+5>>0]=n;if(!((n&255)<<24>>24)){n=0;break f}a[w+(v*6|0)+3>>0]=20;a[w+(v*6|0)+5>>0]=n|208;n=(n|208)&255;break f}}}while(0);a[w+(v*6|0)+1>>0]=t;a[w+(v*6|0)>>0]=s;a[w+(v*6|0)+2>>0]=1;a[w+(v*6|0)+4>>0]=o}if(!(n<<24>>24))F=66}do if((F|0)==66){F=0;if(!(a[w+(v*6|0)+3>>0]|0)){if(k|0){a[w+(v*6|0)+3>>0]=17;a[w+(v*6|0)+5>>0]=k;k=0;break}if(!l){l=0;k=0}else{a[w+(v*6|0)+3>>0]=14;l=0;k=0}}}while(0);m=d[m>>0]|d[m+1>>0]<<8|d[m+2>>0]<<16|d[m+3>>0]<<24;if(!m)break d;r=d[m+12>>0]|d[m+12+1>>0]<<8|d[m+12+2>>0]<<16|d[m+12+3>>0]<<24;x=x+1|0}}while(0);D=D+1|0;if(k|l|0){h=1;F=75;break a}}while((D|0)<64);h=h+1|0;if((h|0)>=(E|0)){h=0;F=75;break}}if((F|0)==75)return h|0;return 0}function LOa(a){a=a|0;return a+13|0}function MOa(a){a=a|0;if(!a)return;aBb(a);return}function NOa(f){f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+560|0;if(!(a[1249304]|0))a[1249304]=1;g=(rnb(1249304)|0)+1|0;c[f+59684>>2]=g;h=(rnb(1249304)|0)+1|0;c[f+59688>>2]=h;if(h>>>0>1){l=v+456+8|0;m=1;do{k=YAb(632)|0;c[f+48640+(m<<2)>>2]=k;hBb(k|0,0,632)|0;if((m|0)<191)g=d[1249304+(m+-1)>>0]|0;else g=1;h=v+200|0;n=h+32|0;do{a[h>>0]=0;h=h+1|0}while((h|0)<(n|0));j=g+-1|0;h=(a[1249751+(j<<7)>>0]|0)==47;g=h?1249751+(j<<7)+1|0:1249751+(j<<7)|0;t=(sob(g,58)|0)==0;h=h?1279070:1249495;if(t){c[v+16>>2]=h;c[v+16+4>>2]=47;c[v+16+8>>2]=g;rmb(v+72|0,525080,v+16|0)|0}else{c[v>>2]=h;c[v+4>>2]=47;c[v+8>>2]=g;rmb(v+72|0,525068,v)|0;t=sob(v+72|0,58)|0;a[t>>0]=a[525075]|0;a[t+1>>0]=a[525076]|0;a[t+2>>0]=a[525077]|0;a[t+3>>0]=a[525078]|0;a[t+4>>0]=a[525079]|0}g=Xnb(v+72|0,524337)|0;if(!g)u=17;else{lob(g,0,2)|0;t=tpb(g)|0;lob(g,0,0)|0;OOa(g,v+456|0);_nb(g)|0;if((d[l>>0]|d[l+1>>0]<<8|d[l+2>>0]<<16|d[l+3>>0]<<24)>>>0>t>>>0)u=17;else POa(v+456|0,k,m)}if((u|0)==17){u=0;a[v+456+55>>0]=101;a[v+456+12>>0]=0;a[v+456+12+1>>0]=0;a[v+456+12+2>>0]=0;a[v+456+12+3>>0]=0;a[v+456+16>>0]=48;a[v+456+16+1>>0]=117;a[v+456+16+2>>0]=0;a[v+456+16+3>>0]=0;a[l>>0]=48;a[l+1>>0]=117;a[l+2>>0]=0;a[l+3>>0]=0;a[v+456+37>>0]=63;a[v+456+38>>0]=63;a[v+456+39>>0]=63;a[v+456+40>>0]=-56;a[v+456+41>>0]=63;a[v+456+42>>0]=63;a[v+456+43>>0]=-10;a[v+456+44>>0]=-10;a[v+456+45>>0]=-10;a[v+456+46>>0]=0;a[v+456+47>>0]=0;a[v+456+48>>0]=0;Rob(v+456+64|0,1249751+(j<<7)|0,32)|0;POa(v+456|0,k,m)}if(!(a[v+456+64>>0]|0))Rob(v+200|0,1249751+(j<<7)|0,32)|0;else Rob(v+200|0,v+456+64|0,32)|0;a[v+200+31>>0]=0;h=k+585|0;n=h+32|0;do{a[h>>0]=0;h=h+1|0}while((h|0)<(n|0));Bnb(k+585|0,v+200|0)|0;Rob(v+200|0,1249751+(j<<7)|0,12)|0;a[v+200+11>>0]=0;h=k+617|0;n=h+12|0;do{a[h>>0]=0;h=h+1|0}while((h|0)<(n|0));Bnb(k+617|0,v+200|0)|0;m=m+1|0;h=c[f+59688>>2]|0}while(m>>>0>>0);g=c[f+59684>>2]|0}if(g>>>0<=1){g=YAb(632)|0;n=f+48640|0;c[n>>2]=g;h=h+-1|0;h=n+(h<<2)|0;h=c[h>>2]|0;mBb(g|0,h|0,632)|0;g=g+585|0;h=g;n=h+32|0;do{a[h>>0]=0;h=h+1|0}while((h|0)<(n|0));Rob(g,525108,32)|0;g=c[f+59684>>2]|0;g=g+-1|0;g=f+33280+(g<<6)|0;h=f+33280|0;n=h+64|0;do{c[h>>2]=c[g>>2];h=h+4|0;g=g+4|0}while((h|0)<(n|0));i=v;return 1}r=v+456+8|0;t=1;do{s=f+33280+(t<<6)|0;q=t+-1|0;if((t|0)<191)o=d[1249304+q>>0]|0;else o=1;p=o+-1|0;c[v+32>>2]=q;c[v+32+4>>2]=1249751+(p<<7);rmb(v+200|0,525098,v+32|0)|0;a[v+200+31>>0]=0;g=f+59804+(t<<5)|0;h=g;n=h+32|0;do{a[h>>0]=0;h=h+1|0}while((h|0)<(n|0));Bnb(g,v+200|0)|0;b[f+33280+(t<<6)+32>>1]=64;b[f+33280+(t<<6)+28>>1]=128;m=f+33280+(t<<6)+34|0;b[m>>1]=1;h=(a[1249751+(p<<7)>>0]|0)==47;g=h?1249751+(p<<7)+1|0:1249751+(p<<7)|0;n=(sob(g,58)|0)==0;h=h?1279070:1249495;if(n){c[v+56>>2]=h;c[v+56+4>>2]=47;c[v+56+8>>2]=g;rmb(v+72|0,525080,v+56|0)|0}else{c[v+40>>2]=h;c[v+40+4>>2]=47;c[v+40+8>>2]=g;rmb(v+72|0,525068,v+40|0)|0;n=sob(v+72|0,58)|0;a[n>>0]=a[525075]|0;a[n+1>>0]=a[525076]|0;a[n+2>>0]=a[525077]|0;a[n+3>>0]=a[525078]|0;a[n+4>>0]=a[525079]|0}g=Xnb(v+72|0,524337)|0;if(!g)u=55;else{lob(g,0,2)|0;l=tpb(g)|0;lob(g,0,0)|0;OOa(g,v+456|0);_nb(g)|0;n=d[r>>0]|d[r+1>>0]<<8|d[r+2>>0]<<16|d[r+3>>0]<<24;if(n>>>0>l>>>0)u=55;else{c[f+33280+(t<<6)+24>>2]=~~(+((d[v+456+20>>0]|d[v+456+20+1>>0]<<8)&65535)*52325.100000000006/(+((d[v+456+30>>0]|d[v+456+30+1>>0]<<8|d[v+456+30+2>>0]<<16|d[v+456+30+3>>0]<<24)>>>0)*.4)+.5)>>>0;c[s>>2]=n;h=d[v+456+12>>0]|d[v+456+12+1>>0]<<8|d[v+456+12+2>>0]<<16|d[v+456+12+3>>0]<<24;j=f+33280+(t<<6)+4|0;c[j>>2]=h;k=d[v+456+16>>0]|d[v+456+16+1>>0]<<8|d[v+456+16+2>>0]<<16|d[v+456+16+3>>0]<<24;g=f+33280+(t<<6)+8|0;c[g>>2]=k;b[f+33280+(t<<6)+30>>1]=256;l=a[v+456+55>>0]|0;if(l&1){c[s>>2]=n>>>1;c[j>>2]=h>>>1;c[g>>2]=k>>>1}g=b[m>>1]|0;if(!(l&4))g=(g&65535)>>>1&255;else{b[m>>1]=g&65535|(l&8)<<1|2;if(!(l&32))g=((g&65535|(l&8)<<1|2)&65535)>>>1&255;else{b[m>>1]=g&65535|(l&8)<<1|10;g=((g&65535|(l&8)<<1|10)&65535)>>>1&255}}a[1249113+q>>0]=g&1;if(!(l&1))k=Vpb(n<<1)|0;else k=Vpb(n)|0;if(k|0){if(!(l&1)){if(o>>>0<192){QOa(p,k,n);u=50}else{h=c[45740+(((o+-192|0)%3|0)<<2)>>2]|0;if((n|0)>0){g=0;do{b[k+(g<<1)>>1]=~~(+Mi[h&63](g)*120.0)<<24>>24;g=g+1|0}while((g|0)!=(n|0));u=50}}if((u|0)==50){u=0;if((n|0)>0){g=k+(n<<1)|0;h=k+n|0;j=0;do{h=h+-1|0;g=g+-2|0;b[g>>1]=a[h>>0]<<8;j=j+1|0}while((j|0)!=(n|0))}}SNa(f,s,((a[v+456+55>>0]&2)>>>1)+5|0,k,(d[r>>0]|d[r+1>>0]<<8|d[r+2>>0]<<16|d[r+3>>0]<<24)<<1)|0}else{if(o>>>0<192)QOa(p,k,n>>>1<<1);else{g=c[45740+(((o+-192|0)%3|0)<<2)>>2]|0;if(n>>>1|0){h=0;do{b[k+(h<<1)>>1]=~~(+Mi[g&63](h)*32.0e3);h=h+1|0}while((h|0)!=(n>>>1|0))}}SNa(f,s,((a[v+456+55>>0]&2)>>>1)+5|0,k,d[r>>0]|d[r+1>>0]<<8|d[r+2>>0]<<16|d[r+3>>0]<<24)|0}Wpb(k)}}}if((u|0)==55){u=0;c[f+33280+(t<<6)+24>>2]=8363;c[s>>2]=3e4;c[f+33280+(t<<6)+4>>2]=0;c[f+33280+(t<<6)+8>>2]=3e4;b[f+33280+(t<<6)+30>>1]=256;b[m>>1]=e[m>>1]|3;k=Vpb(6e4)|0;if(k|0){g=t+190|0;if((g|0)<191)QOa(g,k,3e4);else{g=c[45740+(((q|0)%3|0)<<2)>>2]|0;h=0;do{b[k+(h<<1)>>1]=~~(+Mi[g&63](h)*120.0)<<24>>24;h=h+1|0}while((h|0)!=3e4)}g=k+6e4|0;h=k+3e4|0;j=0;do{h=h+-1|0;g=g+-2|0;b[g>>1]=a[h>>0]<<8;j=j+1|0}while((j|0)!=3e4);SNa(f,s,5,k,c[s>>2]<<1)|0;Wpb(k)}}t=t+1|0}while(t>>>0<(c[f+59684>>2]|0)>>>0);h=c[f+59688>>2]|0;g=YAb(632)|0;n=f+48640|0;c[n>>2]=g;h=h+-1|0;h=n+(h<<2)|0;h=c[h>>2]|0;mBb(g|0,h|0,632)|0;g=g+585|0;h=g;n=h+32|0;do{a[h>>0]=0;h=h+1|0}while((h|0)<(n|0));Rob(g,525108,32)|0;g=c[f+59684>>2]|0;g=g+-1|0;g=f+33280+(g<<6)|0;h=f+33280|0;n=h+64|0;do{c[h>>2]=c[g>>2];h=h+4|0;g=g+4|0}while((h|0)<(n|0));i=v;return 1}function OOa(b,c){b=b|0;c=c|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;l=i;i=i+48|0;lob(b,192,0)|0;qpb(l,47,1,b)|0;f=a[l+6>>0]|0;if((f&255)>1){h=523251e3;e=0;k=0;while(1){m=tpb(b)|0;qpb(c,96,1,b)|0;j=d[c+30>>0]|d[c+30+1>>0]<<8|d[c+30+2>>0]<<16|d[c+30+3>>0]<<24;j=j>>>0>523251?j+-523251|0:523251-j<<1;g=j>>>0>>0;e=g?m:e;lob(b,d[c+8>>0]|d[c+8+1>>0]<<8|d[c+8+2>>0]<<16|d[c+8+3>>0]<<24,1)|0;k=k+1|0;if((k|0)>=(f&255|0))break;else h=g?j:h}lob(b,e,0)|0}qpb(c,96,1,b)|0;Rob(c+64|0,l+7|0,36)|0;e=d[c+8>>0]|d[c+8+1>>0]<<8|d[c+8+2>>0]<<16|d[c+8+3>>0]<<24;if((d[c+12>>0]|d[c+12+1>>0]<<8|d[c+12+2>>0]<<16|d[c+12+3>>0]<<24)>>>0>=e>>>0){a[c+12>>0]=0;a[c+12+1>>0]=0;a[c+12+2>>0]=0;a[c+12+3>>0]=0;a[c+16>>0]=0;a[c+16+1>>0]=0;a[c+16+2>>0]=0;a[c+16+3>>0]=0;a[c+55>>0]=(d[c+55>>0]|0)&251;i=l;return}if((d[c+16>>0]|d[c+16+1>>0]<<8|d[c+16+2>>0]<<16|d[c+16+3>>0]<<24)>>>0<=e>>>0){i=l;return}a[c+16>>0]=e;a[c+16+1>>0]=e>>8;a[c+16+2>>0]=e>>16;a[c+16+3>>0]=e>>24;i=l;return}function POa(e,f,g){e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=i;i=i+48|0;a[f+580>>0]=0;c[f>>2]=0;b[f+10>>1]=128;a[f+584>>0]=60;c[f+4>>2]=0;o=a[e+55>>0]|0;c[f+4>>2]=((o&32)>>>4|(o&255)>>>6&1)&255;if(o&4)if((d[e+12>>0]|d[e+12+1>>0]<<8|d[e+12+2>>0]<<16|d[e+12+3>>0]<<24|0)!=(d[e+16>>0]|d[e+16+1>>0]<<8|d[e+16+2>>0]<<16|d[e+16+3>>0]<<24|0))c[f+4>>2]=((o&32)>>>4|(o&255)>>>6&1)&255|4;a[f+556>>0]=6;a[f+557>>0]=0;a[f+561>>0]=1;a[f+562>>0]=1;a[f+559>>0]=1;a[f+560>>0]=2;a[f+563>>0]=0;a[f+563+1>>0]=0;a[f+563+2>>0]=0;a[f+563+3>>0]=0;b[f+8>>1]=64;c[w+24>>2]=0;c[w>>2]=64;r=w+24+4|0;c[r>>2]=0;c[w+4>>2]=64;s=w+24+8|0;c[s>>2]=0;c[w+8>>2]=64;t=w+24+12|0;c[t>>2]=0;c[w+12>>2]=64;u=w+24+16|0;c[u>>2]=0;c[w+16>>2]=64;v=w+24+20|0;c[v>>2]=0;c[w+20>>2]=64;if(!(qmb(e+37|0,525091,6)|0)){h=0;m=0}else if((d[e+48>>0]|0)>99){h=0;m=0}else if(!(o&32)){h=0;m=0}else{p=d[e+8>>0]|d[e+8+1>>0]<<8|d[e+8+2>>0]<<16|d[e+8+3>>0]<<24;if(!p){h=0;m=0}else{q=0;n=0;while(1){h=d[e+43+q>>0]|0;c[w+(q<<2)>>2]=h;j=d[e+37+q>>0]|0;if(!q)m=0;else m=d[q+-1+(e+43)>>0]|0;k=(_(j>>>6,-3)|0)+3|0;if(!(j&63))h=0;else{l=h-m|0;if((h|0)==(m|0))h=0;else h=(((l|0)<0?0-l|0:l)<>2]=h;h=h+n|0;q=q+1|0;if((q|0)==6)break;else n=h}o=p>>(o&1);if(!h){h=0;m=0}else{j=c[w+24>>2]|0;if((h|0)>(o|0)){j=(_(j,o)|0)/(h|0)|0;c[w+24>>2]=j;q=(_(c[r>>2]|0,o)|0)/(h|0)|0;c[r>>2]=q;k=(_(c[s>>2]|0,o)|0)/(h|0)|0;c[s>>2]=k;l=(_(c[t>>2]|0,o)|0)/(h|0)|0;c[t>>2]=l;m=(_(c[u>>2]|0,o)|0)/(h|0)|0;c[u>>2]=m;n=(_(c[v>>2]|0,o)|0)/(h|0)|0;c[v>>2]=n;h=q}else{h=c[r>>2]|0;k=c[s>>2]|0;l=c[t>>2]|0;m=c[u>>2]|0;n=c[v>>2]|0}h=j+h|0;c[r>>2]=h;h=h+k|0;c[s>>2]=h;h=h+l|0;c[t>>2]=h;h=h+m|0;c[u>>2]=h;c[v>>2]=h+n;h=0;while(1){m=w+24+(h<<2)|0;k=(j<<8|0)/(o|0)|0;c[m>>2]=k+1;do if((h|0)>0){l=h+-1|0;j=c[w+24+(l<<2)>>2]|0;if((k|0)<(j|0))if((c[w+(h<<2)>>2]|0)==(c[w+(l<<2)>>2]|0)){c[m>>2]=j;break}else{c[m>>2]=j+1;j=j+1|0;break}else j=k+1|0}else j=k+1|0;while(0);if((j|0)>256)c[m>>2]=256;h=h+1|0;if((h|0)==6)break;j=c[w+24+(h<<2)>>2]|0}c[w+20>>2]=0;h=0;m=0}}}while(1){v=c[w+(m<<2)>>2]|0;h=(v|0)==64?h:1;j=f+12+(m<<1)|0;b[j>>1]=c[w+24+(m<<2)>>2];a[f+204+m>>0]=v;b[f+76+(m<<1)>>1]=0;a[f+236+m>>0]=0;if(!m){m=1;continue}k=b[j>>1]|0;l=b[f+12+(m+-1<<1)>>1]|0;if((k&65535)<(l&65535)){b[j>>1]=l&65280|k&255;if((l&65280|k&255)>>>0<(l&65535)>>>0)b[j>>1]=(l&65280|k&255)+256}m=m+1|0;if((m|0)==6)break}if(!h)a[f+556>>0]=0;h=0;do{v=h;h=h+1|0;a[f+428+v>>0]=h;a[f+300+v>>0]=g}while((h|0)!=128);i=w;return}function QOa(f,g,h){f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0;l=i;i=i+256|0;do if(!(c[299439]|0)){k=(a[1249751+(f<<7)>>0]|0)==47;j=k?1249751+(f<<7)+1|0:1249751+(f<<7)|0;f=sob(j,58)|0;k=k?1279070:1249495;if(!f){c[l+16>>2]=k;c[l+16+4>>2]=47;c[l+16+8>>2]=j;rmb(l+128|0,525080,l+16|0)|0;f=0}else{c[l>>2]=k;c[l+4>>2]=47;c[l+8>>2]=j;rmb(l+128|0,525068,l)|0;k=sob(l+128|0,58)|0;a[k>>0]=a[525075]|0;a[k+1>>0]=a[525076]|0;a[k+2>>0]=a[525077]|0;a[k+3>>0]=a[525078]|0;a[k+4>>0]=a[525079]|0}c[299440]=f;f=Xnb(l+128|0,524337)|0;c[299441]=f;if(!f){i=l;return}else{OOa(f,l+32|0);c[299442]=d[l+32+8>>0]|d[l+32+8+1>>0]<<8|d[l+32+8+2>>0]<<16|d[l+32+8+3>>0]<<24;break}}while(0);qpb(g,h,1,c[299441]|0)|0;f=c[299440]|0;do if(f|0){f=pob(f,525104)|0;if(f|0){k=Hpb((Unb(f,61)|0)+1|0)|0;if((k|0)!=100){f=d[l+32+55>>0]|0;if(!(f&1))if(!(f&2)){if((h|0)>0){j=0;f=g}else break;while(1){g=(_(a[f>>0]|0,k)|0)/100|0;g=(g|0)<-128?-128:g;a[f>>0]=(g|0)>127?127:g&255;j=j+1|0;if((j|0)==(h|0))break;else f=f+1|0}}else{if((h|0)>0){j=0;f=g}else break;while(1){g=(_((d[f>>0]|0)+-128|0,k)|0)/100|0;g=(g|0)<-128?-128:g;a[f>>0]=(g|0)>127?-1:g+128&255;j=j+1|0;if((j|0)==(h|0))break;else f=f+1|0}}else if(!(f&2)){if((h>>1|0)>0){j=0;f=g}else break;while(1){g=(_(b[f>>1]|0,k)|0)/100|0;g=(g|0)<-32768?-32768:g;b[f>>1]=(g|0)>32767?32767:g&65535;j=j+1|0;if((j|0)==(h>>1|0))break;else f=f+2|0}}else{if((h>>1|0)>0){j=0;f=g}else break;while(1){g=(_((e[f>>1]|0)+-32768|0,k)|0)/100|0;g=(g|0)<-32768?-32768:g;b[f>>1]=(g|0)>32767?-1:g+32768&65535;j=j+1|0;if((j|0)==(h>>1|0))break;else f=f+2|0}}}}}while(0);h=(c[299439]|0)+h|0;c[299439]=h;if((h|0)<(c[299442]|0)){i=l;return}c[299439]=0;_nb(c[299441]|0)|0;c[299441]=0;i=l;return}function ROa(a){a=a|0;return +(+R(+(+(a|0)*.39312243461608887)))}function SOa(a){a=a|0;var b=0.0;b=+R(+(+(a|0)*.39312243461608887))*30.0;return +(b>.9900000095367432?.9900000095367432:b<-.9900000095367432?-.9900000095367432:b)}function TOa(a){a=a|0;var b=0.0;if(+(a|0)*.39312243461608887>6.2831854820251465){b=+(a|0)*.39312243461608887;do b=b+-6.2831854820251465;while(b>6.2831854820251465)}else b=+(a|0)*.39312243461608887;a=b>3.1415927410125732;b=(a?3.1415927410125732-b:b)*.31830987334251404*(a?-2.0:2.0);if(b>.8999999761581421){b=1.0-b;return +b}if(!(b<-.8999999761581421))return +b;b=b+1.0;return +b}function UOa(b,e,f){b=b|0;e=e|0;f=f|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,v=0,w=0,x=0,y=0,z=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0;S=0;W=i;i=i+5424|0;if(c[299443]|0)do Upb(1)|0;while((c[299443]|0)!=0);c[299443]=1;c[W+976>>2]=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;a[W+976+4>>0]=0;if(!(Imb(W+976|0,525128)|0))if((d[e+5>>0]<<16|d[e+4>>0]<<24|d[e+6>>0]<<8|d[e+7>>0]|0)==6){V=Xpb(1,60)|0;if(!V){c[299443]=0;V=0;i=W;return V|0}c[V+4>>2]=0;c[V+52>>2]=0;c[V+16>>2]=0;c[V>>2]=W+960;c[W+960>>2]=e;c[W+960+4>>2]=f;c[W+960+8>>2]=0;c[V+16>>2]=yf(525133)|0;c[V+20>>2]=yf(525145)|0;hOa();iOa();T=c[V>>2]|0;c[T+8>>2]=8;s=c[T>>2]|0;p=a[s+8>>0]|0;q=a[s+9>>0]|0;c[T+8>>2]=10;c[V+32>>2]=((p&255)<<8|q&255)<<16>>16;f=a[s+10>>0]|0;e=a[s+11>>0]|0;c[T+8>>2]=12;c[V+40>>2]=((f&255)<<8|e&255)<<16>>16;r=a[s+12>>0]|0;s=a[s+13>>0]|0;c[T+8>>2]=14;c[V+36>>2]=((r&255)<<8|s&255)<<16>>16;if(!(((p&255)<<8|q&255)<<16>>16)){c[V+40>>2]=1;o=1}else o=((f&255)<<8|e&255)<<16>>16;if(!(((r&255)<<8|s&255)&32768)){c[V+44>>2]=((r&255)<<8|s&255)<<16>>16;T=V+44|0;f=((r&255)<<8|s&255)<<16>>16}else{f=_(((r&255)<<8|s&255)<<16>>16>>>8&127,((r&255)<<8|s&255)&255)|0;c[V+44>>2]=f;T=V+44|0}f=f<<2;c[T>>2]=f;c[V+48>>2]=122;c[b+59652>>2]=0;c[V+12>>2]=0;c[V+24>>2]=6;e=yf(525159)|0;if(!e)n=6;else{j=a[e>>0]|0;if(j<<24>>24==48|((j&255)+-48|0)>>>0>9)n=6;else if(!(a[e+1>>0]|0)){f=_(f,(j&255)+-48|0)|0;c[V+24>>2]=(j&255)+-48;c[T>>2]=(f|0)/6|0;f=(f|0)/6|0;n=(j&255)+-48|0}else n=6}y=((_(f,n)|0)>>>4>>>0)/(n>>>0)|0;c[V+28>>2]=y;l=n*255|0;if((y*10|0)<(l|0)){e=1;do{e=e+1|0;j=_(e,f)|0;k=((_(j,n)|0)>>>4>>>0)/(n>>>0)|0}while((k*10|0)<(l|0));c[T>>2]=j;c[V+28>>2]=k;y=e}else y=1;c[V+8>>2]=0;hBb(W+704|0,0,256)|0;a[b+59804>>0]=0;if(!(c[V+20>>2]|0)){C=0;m=0;Q=64;R=64;J=0}else{c[W>>2]=((p&255)<<8|q&255)<<16>>16;c[W+4>>2]=((r&255)<<8|s&255)<<16>>16;c[W+8>>2]=o;vpb(525171,W)|0;f=c[V+20>>2]|0;if((y|0)>1&(f|0)!=0){u=c[V+28>>2]|0;c[W+16>>2]=y;c[W+16+4>>2]=u;vpb(525228,W+16|0)|0;u=0;v=64;w=64;x=0;S=24}else{C=f;m=0;Q=64;R=64;J=0}}while(1){if((S|0)==24){S=0;C=c[V+20>>2]|0;m=u;Q=v;R=w;J=x}f=(C|0)!=0;if(J>>>0>=(c[V+40>>2]|0)>>>0)break;if(f){c[W+24>>2]=J+1;vpb(525308,W+24|0)|0}e=c[V>>2]|0;x=(c[e>>2]|0)+(c[e+8>>2]|0)|0;c[W+704>>2]=d[x>>0]|d[x+1>>0]<<8|d[x+2>>0]<<16|d[x+3>>0]<<24;c[e+8>>2]=(c[e+8>>2]|0)+4;a[W+704+4>>0]=0;if(Imb(W+704|0,525326)|0){S=29;break}j=c[e+8>>2]|0;k=c[e>>2]|0;p=a[k+j>>0]|0;q=a[k+(j+1)>>0]|0;r=a[k+(j+2)>>0]|0;s=a[k+(j+3)>>0]|0;c[e+8>>2]=j+4;if(J|0)if((c[V+32>>2]|0)==1){c[V+12>>2]=0;f=c[V+4>>2]|0;if(f|0)do{a[f+25>>0]=-1;c[f+12>>2]=c[f+4>>2];c[f+20>>2]=0;f=c[f>>2]|0}while((f|0)!=0)}a:{w=1;if(w){w=0;if(((q&255)<<16|(p&255)<<24|(r&255)<<8|s&255|0)>0){v=c[37151]|0;u=e;o=j+4|0;l=k;n=m;f=(q&255)<<16|(p&255)<<24|(r&255)<<8|s&255;e=Q;j=R;k=0;while(1){q=u+8|0;r=o;s=0;x=0;c[W+1296>>2]=b;c[W+1440>>2]=u;c[W+1448>>2]=z;c[W+1504>>2]=q;c[W+1520>>2]=o;c[W+2200>>2]=v;c[W+2208>>2]=l;c[W+2216>>2]=r;c[W+2456>>2]=V;c[W+3824>>2]=s;c[W+3888>>2]=y;c[W+4184>>2]=x;c[W+4312>>2]=D;c[W+4320>>2]=n;c[W+4344>>2]=E;c[W+4384>>2]=f;c[W+4568>>2]=F;c[W+4576>>2]=e;c[W+4616>>2]=G;c[W+4648>>2]=H;c[W+4656>>2]=j;c[W+4688>>2]=I;c[W+4696>>2]=k;c[W+4752>>2]=J;c[W+5336>>2]=S;c[W+5368>>2]=0;c[W+5372>>2]=0;cQa(W);u=c[W+1440>>2]|0;z=c[W+1448>>2]|0;o=c[W+1520>>2]|0;l=c[W+2208>>2]|0;D=c[W+4312>>2]|0;n=c[W+4320>>2]|0;E=c[W+4344>>2]|0;f=c[W+4384>>2]|0;F=c[W+4568>>2]|0;e=c[W+4576>>2]|0;G=c[W+4616>>2]|0;H=c[W+4648>>2]|0;j=c[W+4656>>2]|0;I=c[W+4688>>2]|0;k=c[W+4696>>2]|0;S=c[W+5336>>2]|0;A=c[W+5368>>2]|0;t=c[W+5372>>2]|0;B=+g[W+5372>>2];c[W+5368>>2]=0;c[W+5372>>2]=0;if((A|0)==1)break;if((A|0)==2)switch(t|0){case 12:break a}}c[W+408>>2]=526115;rmb(W+1016|0,525934,W+408|0)|0;c[W+416>>2]=W+1016;oob(v,525370,W+416|0)|0;c[(c[V>>2]|0)+8>>2]=z;D=E;F=G;H=I}else w=1}if(w)if(1){D=m;F=Q;H=R}}u=D;v=F;w=H;x=J+1|0;S=24}if((S|0)==29){if(((rnb(W+704|0)|0)+38|0)>>>0<=255){c[W+32>>2]=W+704;rmb(W+1016|0,525331,W+32|0)|0;V=c[37151]|0;c[W+40>>2]=W+1016;oob(V,525370,W+40|0)|0}c[299443]=0;V=0;i=W;return V|0}if(f)xpb(526118)|0;f=c[V+4>>2]|0;do if(!f){N=2147483647;S=269}else{e=2147483647;j=0;l=f;do{j=1<>0]|j;k=c[l+4>>2]|0;if(k){while(1){if(a[k+8>>0]|0)if(a[k+10>>0]|0){L=k;S=262;break}k=c[k>>2]|0;if(!k){K=2147483647;break}}if((S|0)==262){S=0;K=c[L+4>>2]|0}e=K>>>0>>0?K:e}l=c[l>>2]|0}while((l|0)!=0);if(!(j&1023)){N=e;S=269}else if((j&3840|0)==1024){c[V+52>>2]=10;M=11;O=e;break}else{c[V+52>>2]=9;M=10;O=e;break}}while(0);if((S|0)==269){c[V+52>>2]=15;M=16;O=N}if(c[V+20>>2]|0){c[W+424>>2]=M;vpb(526149,W+424|0)|0;f=c[V+4>>2]|0}c[V+12>>2]=0;x=c[V+28>>2]|0;if(!f){f=0;e=0}else{y=c[37151]|0;do{v=f+24|0;b:do if((d[v>>0]|0)==(c[V+52>>2]|0)){s=f+4|0;e=c[s>>2]|0;c:do if(e|0){o=0;k=0;j=0;p=0;r=127;while(1){q=e+4|0;n=c[q>>2]|0;n=n>>>0>>0?0:n-O|0;c[q>>2]=n;l=e+8|0;do if((a[l>>0]|0)==1){l=e+10|0;if(a[l>>0]|0){p=e+9|0;k=d[p>>0]|0;a[e+11>>0]=wOa(EOa(k)|0)|0;a[p>>0]=FOa(k)|0;p=((_(d[l>>0]|0,r)|0)/128|0)&255;a[l>>0]=(r|0)!=0&p<<24>>24==0?1:p;p=c[q>>2]|0;l=r;break}j=p+x|0;if(j>>>0<=n>>>0){o=e;j=n;l=r;break}l=c[e>>2]|0;if(!l)l=2147483647;else l=c[l+4>>2]|0;if((j+x|0)>>>0>>0){c[q>>2]=j;o=e;l=r;break}if(j>>>0>>0){c[q>>2]=j+-1;o=e;j=j+-1|0;l=r;break}else{j=l+-1|0;c[q>>2]=j;o=e;l=r;break}}else{if((a[e+12>>0]|0)!=7){l=r;break}n=a[e+13>>0]|0;if(!(p>>>0>j>>>0&n<<24>>24==0)){l=n&255;break}a[l>>0]=1;a[e+10>>0]=0;a[e+9>>0]=FOa(k)|0;o=e;j=c[q>>2]|0;l=n&255}while(0);e=c[e>>2]|0;if(!e){l=o;e=p;break}else r=l}if(e>>>0>j>>>0){c[W+432>>2]=e;c[W+432+4>>2]=j;c[W+432+8>>2]=k;rmb(W+976|0,526224,W+432|0)|0;if(((rnb(W+976|0)|0)+33|0)>>>0<=255){c[W+448>>2]=W+976;rmb(W+1016|0,526242,W+448|0)|0;c[W+456>>2]=W+1016;oob(y,525370,W+456|0)|0}}if(!l)break;e=c[l>>2]|0;if(!e)break;do{N=e;e=c[e>>2]|0;Wpb(N)}while((e|0)!=0);c[l>>2]=0;c[f+8>>2]=l;e=c[s>>2]|0;s=f+12|0;c[s>>2]=e;n=c[l+4>>2]|0;if(!e)break;o=f+27|0;p=f+25|0;q=f+26|0;r=f+20|0;do{j=e+4|0;if((c[j>>2]|0)>>>0>n>>>0)break c;c[s>>2]=e;if(a[e+8>>0]|0){l=e+10|0;if(!(a[l>>0]|0))k=-1;else k=a[e+9>>0]|0;a[p>>0]=k;a[q>>0]=a[l>>0]|0;c[r>>2]=c[j>>2]}if((a[e+12>>0]|0)==8)a[o>>0]=a[e+13>>0]|0;e=c[e>>2]|0}while((e|0)!=0)}while(0)}else{w=f+4|0;e=c[w>>2]|0;if(e|0){o=0;q=0;k=0;r=0;p=0;u=127;while(1){s=e+4|0;j=c[s>>2]|0;j=j>>>0>>0?0:j-O|0;c[s>>2]=j;l=e+8|0;d:do if((a[l>>0]|0)==1){if(!o)n=wOa(1)|0;else n=o;a[e+11>>0]=n;k=d[e+9>>0]|0;j=e+10|0;l=a[j>>0]|0;if(l<<24>>24){o=((_(l&255,u)|0)/128|0)&255;a[j>>0]=(u|0)!=0&o<<24>>24==0?1:o;o=n;j=r;p=c[s>>2]|0;l=u;break}j=p+x|0;l=c[s>>2]|0;if(j>>>0<=l>>>0){o=n;q=e;j=l;l=u;break}l=c[e>>2]|0;if(!l)l=2147483647;else l=c[l+4>>2]|0;if((j+x|0)>>>0>>0){c[s>>2]=j;o=n;q=e;l=u;break}if(j>>>0>>0){c[s>>2]=j+-1;o=n;q=e;j=j+-1|0;l=u;break}else{j=l+-1|0;c[s>>2]=j;o=n;q=e;l=u;break}}else{switch(a[e+12>>0]|0){case 8:{o=d[e+13>>0]|0;j=r;l=u;break d}case 7:break;default:{j=r;l=u;break d}}n=a[e+13>>0]|0;if(!(p>>>0>r>>>0&n<<24>>24==0)){j=r;l=n&255;break}a[l>>0]=1;a[e+10>>0]=0;a[e+9>>0]=k;q=e;l=n&255}while(0);e=c[e>>2]|0;if(!e){l=q;e=p;break}else{r=j;u=l}}if(e>>>0>j>>>0){c[W+464>>2]=(d[v>>0]|0)+1;c[W+464+4>>2]=e;c[W+464+8>>2]=j;c[W+464+12>>2]=k;rmb(W+976|0,526276,W+464|0)|0;if(((rnb(W+976|0)|0)+35|0)>>>0<=255){c[W+480>>2]=W+976;rmb(W+1016|0,526306,W+480|0)|0;c[W+488>>2]=W+1016;oob(y,525370,W+488|0)|0}}if(!l)break;e=c[l>>2]|0;if(!e)break;do{N=e;e=c[e>>2]|0;Wpb(N)}while((e|0)!=0);c[l>>2]=0;c[f+8>>2]=l;e=c[w>>2]|0;s=f+12|0;c[s>>2]=e;n=c[l+4>>2]|0;if(!e)break;o=f+27|0;p=f+25|0;q=f+26|0;r=f+20|0;do{j=e+4|0;if((c[j>>2]|0)>>>0>n>>>0)break b;c[s>>2]=e;if(a[e+8>>0]|0){l=e+10|0;if(!(a[l>>0]|0))k=-1;else k=a[e+9>>0]|0;a[p>>0]=k;a[q>>0]=a[l>>0]|0;c[r>>2]=c[j>>2]}if((a[e+12>>0]|0)==8)a[o>>0]=a[e+13>>0]|0;e=c[e>>2]|0}while((e|0)!=0)}}while(0);e=c[f+8>>2]|0;if(e|0){e=c[e+4>>2]|0;if(e>>>0>(c[V+12>>2]|0)>>>0)c[V+12>>2]=e}f=c[f>>2]|0}while((f|0)!=0);f=c[V+12>>2]|0;e=c[V+4>>2]|0}N=f+(c[T>>2]>>2)|0;c[V+12>>2]=N;O=Xpb(1,16)|0;c[O>>2]=0;c[O+4>>2]=N;a[O+8>>0]=0;a[O+8+1>>0]=0;a[O+8+2>>0]=0;a[O+8+3>>0]=0;a[O+8+4>>0]=0;a[O+8+5>>0]=0;a[O+12>>0]=3;VOa(e,O);if(!(c[V+16>>2]|0))S=365;else{c[W+496>>2]=c[V+12>>2];vpb(526342,W+496|0)|0;c[W+504>>2]=c[V+24>>2];vpb(526360,W+504|0)|0;c[W+512>>2]=c[V+28>>2];vpb(526377,W+512|0)|0;c[W+520>>2]=c[V+32>>2];vpb(526394,W+520|0)|0;c[W+528>>2]=c[V+36>>2];vpb(526411,W+528|0)|0;c[W+536>>2]=c[V+40>>2];vpb(526428,W+536|0)|0;c[W+544>>2]=c[T>>2];vpb(526445,W+544|0)|0;c[W+552>>2]=c[V+48>>2];vpb(526462,W+552|0)|0;c[W+560>>2]=c[V+52>>2];vpb(526479,W+560|0)|0;c[W+568>>2]=c[V+56>>2];vpb(526496,W+568|0)|0;f=c[V+4>>2]|0;if(!f){h=0;P=0}else{j=0;e=f;while(1){j=j+1|0;M=(d[e+24>>0]|0)+1|0;N=d[e+25>>0]|0;O=c[e+16>>2]|0;S=d[e+26>>0]|0;f=d[e+27>>0]|0;c[W+576>>2]=j;c[W+576+4>>2]=M;c[W+576+8>>2]=N;c[W+576+12>>2]=O;c[W+576+16>>2]=S;c[W+576+20>>2]=f;vpb(526514,W+576|0)|0;f=c[e+4>>2]|0;e:do if(f|0)while(1){L=c[f+4>>2]|0;M=a[f+8>>0]|0?526572:526577;N=d[f+9>>0]|0;O=d[f+10>>0]|0;S=d[f+11>>0]|0;c[W+600>>2]=j;c[W+600+4>>2]=L;c[W+600+8>>2]=M;c[W+600+12>>2]=N;c[W+600+16>>2]=O;c[W+600+20>>2]=S;vpb(526582,W+600|0)|0;switch(d[f+12>>0]|0){case 3:{xpb(526607)|0;break}case 5:{xpb(526613)|0;break}case 8:{c[W+624>>2]=d[f+13>>0];vpb(526620,W+624|0)|0;break}case 7:{c[W+632>>2]=d[f+13>>0];vpb(526629,W+632|0)|0;break}case 6:{c[W+640>>2]=d[f+13>>0];vpb(526641,W+640|0)|0;break}case 1:{c[W+648>>2]=d[f+13>>0];vpb(526654,W+648|0)|0;break}case 2:{c[W+656>>2]=d[f+13>>0];vpb(526668,W+656|0)|0;break}case 4:{c[W+664>>2]=d[f+13>>0];vpb(526680,W+664|0)|0;break}default:wpb(10)|0}f=c[f>>2]|0;if(!f)break e}while(0);e=c[e>>2]|0;if(!e){S=365;break}}}}if((S|0)==365){e=c[V+4>>2]|0;if(!e){h=0;P=0}else{h=0;f=e;do{h=1<>0]|h;f=c[f>>2]|0}while((f|0)!=0);P=e}}o=(h>>>1&1)+(h&1)+(h>>>2&1)+(h>>>3&1)+(h>>>4&1)+(h>>>5&1)+(h>>>6&1)+(h>>>7&1)+(h>>>8&1)+(h>>>9&1)+(h>>>10&1)+(h>>>11&1)+(h>>>12&1)+(h>>>13&1)+(h>>>14&1)+(h>>>15&1)|0;if((R|0)<49&(Q|0)>79|(P|0)==0)f=P;else{f=P;k=P;do{j=a[k+24>>0]|0;if(!f)f=0;else{h=0;do{h=1<>0]|h;f=c[f>>2]|0}while((f|0)!=0);f=h}if(!(j<<24>>24))h=0;else{e=0;h=0;do{h=((1<>2]=(((h<<7)+(o<<6)|0)/(o|0)|0)&127;k=c[k>>2]|0;f=c[V+4>>2]|0}while((k|0)!=0)}if(!f)n=0;else{h=0;do{h=h+1|0;f=c[f>>2]|0}while((f|0)!=0);n=h}h=c[b+59652>>2]|0;if(!h){h=c[V+48>>2]|0;c[b+59652>>2]=h}if(!m)m=c[V+48>>2]|0;do if((m|0)==255){U=h;S=395}else{if(c[V+20>>2]|0){c[W+672>>2]=m;vpb(526689,W+672|0)|0}if((m|0)<1)break;e=c[T>>2]|0;R=(_(e,m)|0)/255|0;c[T>>2]=R;j=c[V+24>>2]|0;R=((_(j,R)|0)>>>4>>>0)/(j>>>0)|0;c[V+28>>2]=R;do if((R|0)<(j|0)){h=m;while(1){f=h+1|0;l=(_(f,e)|0)/255|0;k=((_(l,j)|0)>>>4>>>0)/(j>>>0)|0;if((k|0)<(j|0))h=f;else break}c[T>>2]=l;c[V+28>>2]=k;if(!((h|0)>=(m|0)&(c[V+20>>2]|0)!=0))break;c[W+680>>2]=m;c[W+680+4>>2]=(m<<1)-f;c[W+680+8>>2]=k;vpb(526716,W+680|0)|0}else f=m;while(0);h=c[V+4>>2]|0;do if(h|0){h=c[h+4>>2]|0;if(!h)break;do{if((a[h+12>>0]|0)==4){R=h+13|0;a[R>>0]=((d[R>>0]|0)*255|0)/(f|0)|0}h=c[h>>2]|0}while((h|0)!=0)}while(0);if((m|0)<=0)break;U=c[b+59652>>2]|0;S=395}while(0);if((S|0)==395)c[b+59652>>2]=((U*255|0)>>>0)/(m>>>0)|0;j=c[V+12>>2]|0;e=c[V+24>>2]|0;h=c[T>>2]|0;k=((((((_(j<<4,e)|0)>>>0)/(h>>>0)|0)>>>0)/(e>>>0)|0)>>>6)+1|0;if(!(c[V+20>>2]|0))f=e;else{c[W+696>>2]=k;c[W+696+4>>2]=e;vpb(526789,W+696|0)|0;f=c[V+24>>2]|0}c[b+59680>>2]=65536;c[b+59648>>2]=f;c[b+59664>>2]=n;c[b+59660>>2]=16;c[b+59764>>2]=112;c[b+59768>>2]=13696;j=((((((_(j,e)|0)<<4>>>0)/(h>>>0)|0)>>>0)/(e>>>0)|0)>>>6)+1|0;h=0;do{a[b+53344+h>>0]=h;h=h+1|0}while((h|0)!=(j|0));if(!(NOa(b)|0)){c[299443]=0;V=0;i=W;return V|0}if(XOa(b+51904|0,b+52864|0,V,k,c[b+59664>>2]|0)|0){c[b+59664>>2]=(c[b+59664>>2]|0)+1;h=c[V+4>>2]|0;U=a[h+24>>0]|0;e=Xpb(1,28)|0;c[e>>2]=0;a[e+25>>0]=-1;a[e+27>>0]=1;a[e+24>>0]=U;c[e+4>>2]=0;c[e+8>>2]=0;c[e+12>>2]=0;c[e+20>>2]=0;if(!h)f=120;else f=a[h+26>>0]|0;a[e+26>>0]=f;c[e+16>>2]=64;c[V+8>>2]=e;while(1){f=c[h>>2]|0;if(!f)break;else h=f}c[h>>2]=e;h=Xpb(1,16)|0;c[h>>2]=0;c[h+4>>2]=c[V+12>>2];a[h+8>>0]=0;a[h+8+1>>0]=0;a[h+8+2>>0]=0;a[h+8+3>>0]=0;a[h+8+4>>0]=0;a[h+8+5>>0]=0;a[h+12>>0]=5;VOa(e,h);h=0;do{U=b+51904+(h<<2)|0;MOa(c[U>>2]|0);c[U>>2]=0;h=h+1|0}while((h|0)!=(j|0));XOa(b+51904|0,b+52864|0,V,k,c[b+59664>>2]|0)|0}f=c[V+4>>2]|0;do if(f|0){h=0;e=f;while(1){c[b+49600+(h*36|0)>>2]=(((_((c[e+16>>2]|0)*160|0,((o|0)/2|0)<<1|1)|0)>>7)+((((o|0)/2|0)<<1|1)*48|0)|0)/(((o|0)/2|0)<<1|1|0)|0;c[b+49600+(h*36|0)+4>>2]=64;e=c[e>>2]|0;if(!e)break;else h=h+1|0}if(!f)break;do{e=f;f=c[f>>2]|0;h=c[e+4>>2]|0;if(h|0)do{b=h;h=c[h>>2]|0;Wpb(b)}while((h|0)!=0);c[e+4>>2]=0}while((f|0)!=0)}while(0);Wpb(V);if(c[V+20>>2]|0)xpb(526827)|0;c[299443]=0;V=1;i=W;return V|0}c[299443]=0;V=0;i=W;return V|0}function VOa(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=c[b+12>>2]|0;do if(!e)i=15;else{if((c[e+4>>2]|0)>>>0>(c[d+4>>2]|0)>>>0){e=c[b+4>>2]|0;if(!e){i=15;break}}g=0;while(1){h=e+4|0;if((c[h>>2]|0)>>>0>(c[d+4>>2]|0)>>>0){f=e;i=13;break}c[b+12>>2]=e;if(a[e+8>>0]|0){g=e+10|0;if(!(a[g>>0]|0))f=-1;else f=a[e+9>>0]|0;a[b+25>>0]=f;a[b+26>>0]=a[g>>0]|0;c[b+20>>2]=c[h>>2]}if((a[e+12>>0]|0)==8)a[b+27>>0]=a[e+13>>0]|0;f=c[e>>2]|0;if(!f){f=0;break}else{g=e;e=f}}if((i|0)==13)if(!g){i=15;break}else e=g;c[e>>2]=d;c[d>>2]=f;e=f}while(0);if((i|0)==15){e=c[b+4>>2]|0;c[d>>2]=e;c[b+4>>2]=d}if(!e)c[b+8>>2]=d;c[b+12>>2]=d;if(a[d+8>>0]|0){if(!(a[d+10>>0]|0))e=-1;else e=a[d+9>>0]|0;a[b+25>>0]=e;a[b+26>>0]=a[d+10>>0]|0;c[b+20>>2]=c[d+4>>2]}if((a[d+12>>0]|0)!=8)return;a[b+27>>0]=a[d+13>>0]|0;return}function WOa(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;l=c[b+28>>2]|0;g=c[b+4>>2]|0;if(!g){k=0;j=1;g=0;i=0}else{k=0;j=1;x=0;m=0;w=0;i=0;while(1){u=c[b+12>>2]|0;v=g+12|0;h=c[v>>2]|0;a:do if(h|0){if((c[h+4>>2]|0)>>>0>u>>>0){h=c[g+4>>2]|0;if(!h)break}q=g+27|0;r=g+25|0;s=g+26|0;t=g+20|0;do{o=h+4|0;if((c[o>>2]|0)>>>0>u>>>0)break a;c[v>>2]=h;if(a[h+8>>0]|0){p=h+10|0;if(!(a[p>>0]|0))n=-1;else n=a[h+9>>0]|0;a[r>>0]=n;a[s>>0]=a[p>>0]|0;c[t>>2]=c[o>>2]}if((a[h+12>>0]|0)==8)a[q>>0]=a[h+13>>0]|0;h=c[h>>2]|0}while((h|0)!=0)}while(0);if((d[g+24>>0]|0)==(e|0)){h=a[g+25>>0]|0;if((h&255|0)==(f|0)){y=49;break}if(h<<24>>24==-1)h=(c[b+12>>2]|0)>>>0>((c[g+20>>2]|0)+l|0)>>>0?g:w;else{h=w;i=d[g+26>>0]|0}k=c[g+16>>2]|0;j=d[g+27>>0]|0;m=m+1|0}else h=w;n=c[g>>2]|0;if(!n){n=x;break}else{x=x+1|0;g=n;w=h}}if((y|0)==49)return g|0;if(h|0){a[h+25>>0]=f;f=h;return f|0}if((m|0)>16)y=26;else if((m|0)>0&(n|0)>57)y=26;if((y|0)==26){h=c[b+4>>2]|0;if(h|0){m=h;h=0;do{if((d[m+24>>0]|0)==(e|0)){w=c[b+12>>2]|0;x=c[(c[m+12>>2]|0)+4>>2]|0;y=w>>>0>(x+l|0)>>>0;l=y?w-x|0:l;h=y?m:h}m=c[m>>2]|0}while((m|0)!=0);if(h|0){a[h+25>>0]=f;f=h;return f|0}}}if((n|0)>57){n=c[b+4>>2]|0;if(n){l=0;m=n;h=0;do{if((d[m+24>>0]|0)==(e|0)){w=c[b+12>>2]|0;x=c[(c[m+12>>2]|0)+4>>2]|0;y=w>>>0<(x+l|0)>>>0;l=y?l:w-x|0;h=y?h:m}m=c[m>>2]|0}while((m|0)!=0);if(h|0){a[h+25>>0]=f;f=h;return f|0}if(n){o=c[b+12>>2]|0;p=0;h=0;while(1){l=c[(c[n+12>>2]|0)+4>>2]|0;m=o>>>0<(l+p|0)>>>0;h=m?h:n;n=c[n>>2]|0;if(!n)break;else p=m?p:o-l|0}if(h){a[h+25>>0]=f;a[h+24>>0]=e;f=h;return f|0}}}}}h=Xpb(1,28)|0;c[h>>2]=0;a[h+25>>0]=f;a[h+27>>0]=1;a[h+24>>0]=e;c[h+4>>2]=0;c[h+8>>2]=0;c[h+12>>2]=0;c[h+20>>2]=0;a[h+27>>0]=j;a[h+26>>0]=i;c[h+16>>2]=k;if(!g){c[b+4>>2]=h;f=h;return f|0}else{c[g>>2]=h;f=h;return f|0}return 0}function XOa(e,f,g,h,i){e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;B=(h|0)>240?240:h;h=c[g+4>>2]|0;if(h|0)do{c[h+12>>2]=c[h+4>>2];h=c[h>>2]|0}while((h|0)!=0);if((B|0)<=0){C=0;return C|0}z=0;a:while(1){A=ONa(64,i)|0;x=e+(z<<2)|0;c[x>>2]=A;if(!A){h=0;C=82;break}b[f+(z<<1)>>1]=64;y=z<<6;A=0;do{v=c[g+24>>2]|0;w=_(v,A+y|0)|0;v=((_(w,c[g+44>>2]|0)|0)>>>4>>>0)/(v>>>0)|0;w=(c[g+28>>2]|0)+v|0;n=c[g+4>>2]|0;m=c[n+12>>2]|0;b:do if(!m){j=0;h=0}else{h=m;while(1){if(((a[h+12>>0]|0)+-3&255)<2)break;h=c[h>>2]|0;if(!h){j=0;h=0;break b}}j=c[h+4>>2]|0;if(j>>>0>>0){l=j;k=h;j=0;h=0;do{c:do if(l>>>0>=v>>>0)switch(d[k+12>>0]|0){case 4:{h=d[k+13>>0]|0;break c}case 3:{j=1;break c}default:break c}while(0);k=c[k>>2]|0;if(!k)break b;while(1){if(((a[k+12>>0]|0)+-3&255)<2)break;k=c[k>>2]|0;if(!k)break b}l=c[k+4>>2]|0}while(l>>>0>>0)}else{j=0;h=0}}while(0);d:do if(n){u=_(A,i)|0;l=m;t=0;k=n;while(1){r=t+u|0;s=c[x>>2]|0;a[s+(r*6|0)+5>>0]=0;a[s+(r*6|0)+3>>0]=0;q=k+12|0;o=(l|0)==0;e:do if(o)C=55;else{m=l;do{if(a[m+12>>0]|0){C=24;break}m=c[m>>2]|0}while((m|0)!=0);f:do if((C|0)==24){C=0;n=c[m+4>>2]|0;if(n>>>0>>0)do{g:do if(n>>>0>=v>>>0)switch(d[m+12>>0]|0){case 6:{a[s+(r*6|0)+5>>0]=a[m+13>>0]|0;a[s+(r*6|0)+3>>0]=11;break g}case 2:{a[s+(r*6|0)+5>>0]=d[m+13>>0]|16;a[s+(r*6|0)+3>>0]=28;break g}case 1:{a[s+(r*6|0)+5>>0]=d[m+13>>0]|32;a[s+(r*6|0)+3>>0]=28;break g}default:break g}while(0);m=c[m>>2]|0;if(!m)break f;while(1){if(a[m+12>>0]|0)break;m=c[m>>2]|0;if(!m)break f}n=c[m+4>>2]|0}while(n>>>0>>0)}while(0);if(o)C=55;else{while(1){if(a[l+8>>0]|0){if(a[l+10>>0]|0)break;if(YOa(d[l+11>>0]|0)|0)break}l=c[l>>2]|0;if(!l){C=55;break e}}if((c[l+4>>2]|0)>>>0>>0)do{c[q>>2]=l;l=c[l>>2]|0;if(!l){C=55;break e}while(1){if(a[l+8>>0]|0){if(a[l+10>>0]|0)break;if(YOa(d[l+11>>0]|0)|0)break}l=c[l>>2]|0;if(!l){C=55;break e}}}while((c[l+4>>2]|0)>>>0>>0);h:do if((c[l+4>>2]|0)>>>0>>0){n=l;o=0;p=l;m=0;while(1){c[q>>2]=n;m=m+1|0;D=(a[n+10>>0]|0)==0;o=D?o:(o|0)==0?n:o;p=D?p:n;n=c[n>>2]|0;if(!n){n=o;break h}while(1){if(a[n+8>>0]|0){if(a[n+10>>0]|0)break;if(YOa(d[n+11>>0]|0)|0)break}n=c[n>>2]|0;if(!n){n=o;break h}}if((c[n+4>>2]|0)>>>0>=w>>>0){n=o;break}}}else{n=0;p=l;m=0}while(0);switch(m|0){case 0:{C=55;break e}case 1:break;default:if((n|0)!=0&(n|0)!=(p|0)){l=LOa(d[n+9>>0]|0)|0;m=LOa(d[p+9>>0]|0)|0;n=(d[p+10>>0]|0)>>>1;a[s+(r*6|0)+1>>0]=a[p+11>>0]|0;a[s+(r*6|0)>>0]=l;a[s+(r*6|0)+2>>0]=1;a[s+(r*6|0)+4>>0]=(n&255)>64?64:n;n=(m|0)>(l&255|0)?m-(l&255)|0:(l&255)-m|0;a[s+(r*6|0)+5>>0]=n;if((n&240)>>>0>=16){a[s+(r*6|0)+3>>0]=(m|0)>(l&255|0)?2:3;l=n&255;break e}if(!((n&255)<<24>>24)){a[s+(r*6|0)+3>>0]=15;l=(((_(c[g+24>>2]<<4,(c[p+4>>2]|0)-v|0)|0)>>>0)/((c[g+44>>2]|0)>>>0)|0)&255;a[s+(r*6|0)+5>>0]=l;break e}else{a[s+(r*6|0)+3>>0]=28;l=(n|((m|0)>(l&255|0)?16:32))&255;a[s+(r*6|0)+5>>0]=l;break e}}}m=(n|0)==0?l:n;l=c[q>>2]|0;o=(LOa(d[m+9>>0]|0)|0)&255;p=a[m+11>>0]|0;n=a[m+10>>0]|0;do if(!(n<<24>>24)){l=((_(c[g+24>>2]<<4,(c[m+4>>2]|0)-v|0)|0)>>>0)/((c[g+44>>2]|0)>>>0)|0;a[s+(r*6|0)+5>>0]=l;if(!((l&255)<<24>>24)){a[s+(r*6|0)+5>>0]=0;a[s+(r*6|0)+3>>0]=25;l=0;m=0;break}else{a[s+(r*6|0)+3>>0]=20;a[s+(r*6|0)+5>>0]=l|192;l=(l|192)&255;m=0;break}}else if(!(a[l+10>>0]|0)){l=((_(c[g+24>>2]<<4,(c[l+4>>2]|0)-v|0)|0)>>>0)/((c[g+44>>2]|0)>>>0)|0;a[s+(r*6|0)+5>>0]=l;if(!((l&255)<<24>>24)){l=0;m=(n&255)>>>1;break}a[s+(r*6|0)+3>>0]=20;a[s+(r*6|0)+5>>0]=l|192;l=(l|192)&255;m=(n&255)>>>1;break}else{l=((_(c[g+24>>2]<<4,(c[m+4>>2]|0)-v|0)|0)>>>0)/((c[g+44>>2]|0)>>>0)|0;a[s+(r*6|0)+5>>0]=l;if(!((l&255)<<24>>24)){l=0;m=(n&255)>>>1;break}a[s+(r*6|0)+3>>0]=20;a[s+(r*6|0)+5>>0]=l|208;l=(l|208)&255;m=(n&255)>>>1;break}while(0);a[s+(r*6|0)+1>>0]=p;a[s+(r*6|0)>>0]=o;a[s+(r*6|0)+2>>0]=1;a[s+(r*6|0)+4>>0]=m}}while(0);if((C|0)==55){C=0;l=a[s+(r*6|0)+5>>0]|0}do if(!(l<<24>>24))if(!(a[s+(r*6|0)+3>>0]|0)){if(h|0){a[s+(r*6|0)+3>>0]=17;a[s+(r*6|0)+5>>0]=h;h=0;break}if(!j){j=0;h=0}else{a[s+(r*6|0)+3>>0]=14;j=0;h=0}}while(0);k=c[k>>2]|0;if(!k)break d;l=c[k+12>>2]|0;t=t+1|0}}while(0);A=A+1|0;if(h|j|0){h=1;C=82;break a}}while((A|0)<64);z=z+1|0;if((z|0)>=(B|0)){h=0;C=82;break}}if((C|0)==82)return h|0;return 0}function YOa(a){a=a|0;if((a|0)>=191){a=1;return a|0}a=d[1249113+(a+-1)>>0]|0;return a|0}function ZOa(f,g,h){f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+368|0;if(h>>>0>=129){mBb(v+231|0,g|0,129)|0;if(!(Imb(v+231|0,526832)|0))if(!(Imb(v+231+12|0,526844)|0)){u=Xpb(1,20)|0;if(!u){f=0;i=v;return f|0}c[v+40>>2]=g;c[v+40+4>>2]=h;s=v+40+8|0;c[s>>2]=0;c[v+40+12>>2]=0;if(c[299444]|0)do Upb(1)|0;while((c[299444]|0)!=0);c[299444]=1;if((h|0)>129){c[s>>2]=129;j=129}else{c[v+40+12>>2]=1;j=0}t=h-j|0;t=(t|0)<63?t:63;mBb(v+231|0,g+j|0,t|0)|0;c[s>>2]=t+j;Rob(u,v+231+2|0,16)|0;a[u+15>>0]=0;j=c[v+40+4>>2]|0;if((j|0)>129){c[s>>2]=129;h=129}else{c[v+40+12>>2]=1;h=c[s>>2]|0}t=j-h|0;t=(t|0)<63?t:63;r=c[v+40>>2]|0;mBb(v+231|0,r+h|0,t|0)|0;t=t+h|0;c[s>>2]=t;j=(j-t|0)<47?j-t|0:47;mBb(v+184|0,r+t|0,j|0)|0;c[s>>2]=j+t;Rob(v+184+7|0,v+231+2|0,40)|0;j=d[v+184+6>>0]|0;a[u+16>>0]=j;a[u+16+1>>0]=j>>8;a[u+16+2>>0]=j>>16;a[u+16+3>>0]=j>>24;if(!(a[u>>0]|0)){c[v+8>>2]=j;rmb(v+88|0,526882,v+8|0)|0}else{c[v>>2]=u;c[v+4>>2]=j;rmb(v+88|0,526854,v)|0}if((rnb(v+88|0)|0)>>>0>31)a[v+88+31>>0]=0;Bnb(f+59804|0,v+88|0)|0;c[f+59652>>2]=60;j=d[u+16>>0]|d[u+16+1>>0]<<8|d[u+16+2>>0]<<16|d[u+16+3>>0]<<24;r=((j<<4)+112&48|0)==0?(j<<4)+112|0:(j<<4)+176|0;c[f+59680>>2]=33554432;c[f+59688>>2]=j+1;c[f+59684>>2]=j+1;c[f+59648>>2]=6;c[f+59664>>2]=j;c[f+59660>>2]=16;c[f+59764>>2]=112;c[f+59768>>2]=13696;if((r|0)>63){j=0;do{a[f+53344+j>>0]=j;j=j+1|0}while((j|0)<((r|0)/64|0|0));j=c[f+59688>>2]|0}else j=j+1|0;if((j|0)>1){h=1;do{j=YAb(632)|0;hBb(j|0,0,632)|0;c[f+48640+(h<<2)>>2]=j;mBb(v+152|0,u|0,(rnb(u)|0)+1|0)|0;a[v+152+31>>0]=0;g=j+585|0;k=g+32|0;do{a[g>>0]=0;g=g+1|0}while((g|0)<(k|0));Bnb(j+585|0,v+152|0)|0;a[v+152+11>>0]=0;g=j+617|0;k=g+12|0;do{a[g>>0]=0;g=g+1|0}while((g|0)<(k|0));Bnb(j+617|0,v+152|0)|0;_Oa(v+40|0,v+231|0,h);POa(v+231|0,j,h);h=h+1|0;j=c[f+59688>>2]|0}while((h|0)<(j|0))}if((c[f+59684>>2]|0)>1){o=v+231+8|0;q=1;do{p=f+33280+(q<<6)|0;b[f+33280+(q<<6)+32>>1]=64;b[f+33280+(q<<6)+28>>1]=128;n=f+33280+(q<<6)+34|0;b[n>>1]=1;_Oa(v+40|0,v+231|0,q);c[f+33280+(q<<6)+24>>2]=~~(+((d[v+231+20>>0]|d[v+231+20+1>>0]<<8)&65535)*52325.100000000006/(+((d[v+231+30>>0]|d[v+231+30+1>>0]<<8|d[v+231+30+2>>0]<<16|d[v+231+30+3>>0]<<24)>>>0)*.4)+.5)>>>0;j=d[o>>0]|d[o+1>>0]<<8|d[o+2>>0]<<16|d[o+3>>0]<<24;c[p>>2]=j;h=d[v+231+12>>0]|d[v+231+12+1>>0]<<8|d[v+231+12+2>>0]<<16|d[v+231+12+3>>0]<<24;g=f+33280+(q<<6)+4|0;c[g>>2]=h;k=d[v+231+16>>0]|d[v+231+16+1>>0]<<8|d[v+231+16+2>>0]<<16|d[v+231+16+3>>0]<<24;l=f+33280+(q<<6)+8|0;c[l>>2]=k;b[f+33280+(q<<6)+30>>1]=256;m=a[v+231+55>>0]|0;if(m&1){c[p>>2]=j>>>1;c[g>>2]=h>>>1;c[l>>2]=k>>>1}if(m&4){j=(m&8)<<1|e[n>>1];b[n>>1]=j|2;if(m&32)b[n>>1]=j|10}g=v+56|0;k=g+32|0;do{a[g>>0]=0;g=g+1|0}while((g|0)<(k|0));do if(!(a[v+231>>0]|0))if(!(a[u>>0]|0)){c[v+32>>2]=q;rmb(v+56|0,526911,v+32|0)|0;break}else{c[v+24>>2]=q;c[v+24+4>>2]=u;rmb(v+56|0,525098,v+24|0)|0;break}else{c[v+16>>2]=q;c[v+16+4>>2]=v+231;rmb(v+56|0,525098,v+16|0)|0}while(0);a[v+56+31>>0]=0;j=f+59804+(q<<5)|0;g=j;k=g+32|0;do{a[g>>0]=0;g=g+1|0}while((g|0)<(k|0));Bnb(j,v+56|0)|0;j=a[v+231+55>>0]|0;h=d[o>>0]|d[o+1>>0]<<8|d[o+2>>0]<<16|d[o+3>>0]<<24;if(!(j&1))k=Vpb(h<<1)|0;else k=Vpb(h)|0;if(k|0){n=c[s>>2]|0;t=(c[v+40+4>>2]|0)-n|0;t=(t|0)<(h|0)?t:h;mBb(k|0,(c[v+40>>2]|0)+n|0,t|0)|0;c[s>>2]=n+t;if(!(j&1)){if((h|0)>0){g=k+(h<<1)|0;l=k+h|0;m=0;do{l=l+-1|0;g=g+-2|0;b[g>>1]=a[l>>0]<<8;m=m+1|0}while((m|0)!=(h|0))}SNa(f,p,((j&2)>>>1)+5|0,k,h<<1)|0}else SNa(f,p,((j&255)>>>1&1)+5|0,k,h)|0;Wpb(k)}q=q+1|0}while((q|0)<(c[f+59684>>2]|0));j=c[f+59688>>2]|0}h=YAb(632)|0;c[f+48640>>2]=h;mBb(h|0,c[f+48640+(j+-1<<2)>>2]|0,632)|0;g=h+585|0;k=g+32|0;do{a[g>>0]=0;g=g+1|0}while((g|0)<(k|0));if(!(a[u>>0]|0))Rob(h+585|0,526932,32)|0;else Rob(h+585|0,u,32)|0;g=f+33280|0;j=f+33280+((c[f+59684>>2]|0)+-1<<6)|0;k=g+64|0;do{c[g>>2]=c[j>>2];g=g+4|0;j=j+4|0}while((g|0)<(k|0));s=((r|0)/64|0|0)>240?240:(r|0)/64|0;t=d[u+16>>0]|d[u+16+1>>0]<<8|d[u+16+2>>0]<<16|d[u+16+3>>0]<<24;a:do if((s|0)>0){j=t;h=0;do{r=ONa(64,j)|0;p=f+51904+(h<<2)|0;c[p>>2]=r;if(!r)break a;b[f+52864+(h<<1)>>1]=64;q=h<<6;j=d[u+16>>0]|d[u+16+1>>0]<<8|d[u+16+2>>0]<<16|d[u+16+3>>0]<<24;r=0;do{o=r+q|0;b:do if((j|0)>0){if((r|0)<63)n=0;else{m=0;while(1){g=o-(m<<4)|0;k=(_(j,r)|0)+m|0;l=c[p>>2]|0;a[l+(k*6|0)+5>>0]=0;a[l+(k*6|0)+3>>0]=0;do if((g|0)>-1){j=(t<<4)+112-(j+3-m<<4&48)|0;if((o|0)>=(j|0)){if((o|0)!=(j|0))break;a[l+(k*6|0)+5>>0]=0;a[l+(k*6|0)+3>>0]=25;a[l+(k*6|0)+2>>0]=1;a[l+(k*6|0)+4>>0]=0;break}j=a[526950+((g|0)%64|0)>>0]|0;if(!(Nmb(j)|0))break;do switch(j|0){case 67:{j=61;break}case 68:{j=63;break}case 69:{j=65;break}case 70:{j=66;break}case 71:{j=68;break}case 65:{j=70;break}case 66:{j=72;break}case 99:{j=73;break}case 100:{j=75;break}case 101:{j=77;break}case 102:{j=78;break}case 103:{j=80;break}case 97:{j=82;break}case 98:{j=84;break}default:j=13}while(0);a[l+(k*6|0)+1>>0]=m+1;a[l+(k*6|0)>>0]=j;a[l+(k*6|0)+2>>0]=1;a[l+(k*6|0)+4>>0]=(((g|0)%64|0)&15|0)==0?44:40}while(0);m=m+1|0;j=d[u+16>>0]|d[u+16+1>>0]<<8|d[u+16+2>>0]<<16|d[u+16+3>>0]<<24;if((m|0)>=(j|0))break b}}do{k=o-(n<<4)|0;l=(_(j,r)|0)+n|0;m=c[p>>2]|0;a[m+(l*6|0)+5>>0]=0;a[m+(l*6|0)+3>>0]=0;do if((k|0)>-1){g=(t<<4)+112-(j+3-n<<4&48)|0;if((o|0)>=(g|0)){if((o|0)!=(g|0))break;a[m+(l*6|0)+5>>0]=0;a[m+(l*6|0)+3>>0]=25;a[m+(l*6|0)+2>>0]=1;a[m+(l*6|0)+4>>0]=0;break}j=a[526950+((k|0)%64|0)>>0]|0;if(Nmb(j)|0){do switch(j|0){case 67:{j=61;break}case 68:{j=63;break}case 69:{j=65;break}case 70:{j=66;break}case 71:{j=68;break}case 65:{j=70;break}case 66:{j=72;break}case 99:{j=73;break}case 100:{j=75;break}case 101:{j=77;break}case 102:{j=78;break}case 103:{j=80;break}case 97:{j=82;break}case 98:{j=84;break}default:j=13}while(0);a[m+(l*6|0)+1>>0]=n+1;a[m+(l*6|0)>>0]=j;a[m+(l*6|0)+2>>0]=1;a[m+(l*6|0)+4>>0]=(((k|0)%64|0)&15|0)==0?44:40}if(!((n|0)==0&(o|0)==(g+-1|0)))break;a[m+(l*6|0)+3>>0]=14}while(0);n=n+1|0;j=d[u+16>>0]|d[u+16+1>>0]<<8|d[u+16+2>>0]<<16|d[u+16+3>>0]<<24}while((n|0)<(j|0))}while(0);r=r+1|0}while((r|0)!=64);h=h+1|0}while((h|0)<(s|0))}while(0);if((c[f+59664>>2]|0)>0){j=0;do{c[f+49600+(j*36|0)>>2]=(((j+2|0)%5|0)<<5)+48;c[f+49600+(j*36|0)+4>>2]=64;j=j+1|0}while((j|0)<(c[f+59664>>2]|0))}c[299444]=0;Wpb(u);f=1;i=v;return f|0}}f=0;i=v;return f|0}function _Oa(b,c,e){b=b|0;c=c|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+112|0;f=d[b+4>>0]|d[b+4+1>>0]<<8|d[b+4+2>>0]<<16|d[b+4+3>>0]<<24;if((f|0)>129){a[b+8>>0]=129;a[b+8+1>>0]=0;a[b+8+2>>0]=0;a[b+8+3>>0]=0;g=129}else{a[b+12>>0]=1;a[b+12+1>>0]=0;a[b+12+2>>0]=0;a[b+12+3>>0]=0;g=d[b+8>>0]|d[b+8+1>>0]<<8|d[b+8+2>>0]<<16|d[b+8+3>>0]<<24}n=f-g|0;n=(n|0)<63?n:63;l=d[b>>0]|d[b+1>>0]<<8|d[b+2>>0]<<16|d[b+3>>0]<<24;mBb(o+47|0,l+g|0,n|0)|0;n=n+g|0;a[b+8>>0]=n;a[b+8+1>>0]=n>>8;a[b+8+2>>0]=n>>16;a[b+8+3>>0]=n>>24;m=(f-n|0)<47?f-n|0:47;mBb(o|0,l+n|0,m|0)|0;a[b+8>>0]=m+n;a[b+8+1>>0]=m+n>>8;a[b+8+2>>0]=m+n>>16;a[b+8+3>>0]=m+n>>24;Rob(o+7|0,o+47+2|0,40)|0;n=a[o+6>>0]|0;a:do if((n&255)>1)if(!e){g=d[b+4>>0]|d[b+4+1>>0]<<8|d[b+4+2>>0]<<16|d[b+4+3>>0]<<24;k=523251e3;e=0;m=0;f=d[b+8>>0]|d[b+8+1>>0]<<8|d[b+8+2>>0]<<16|d[b+8+3>>0]<<24;while(1){h=g-f|0;h=(h|0)<96?h:96;mBb(c|0,(d[b>>0]|d[b+1>>0]<<8|d[b+2>>0]<<16|d[b+3>>0]<<24)+f|0,h|0)|0;h=(d[b+8>>0]|d[b+8+1>>0]<<8|d[b+8+2>>0]<<16|d[b+8+3>>0]<<24)+h|0;a[b+8>>0]=h;a[b+8+1>>0]=h>>8;a[b+8+2>>0]=h>>16;a[b+8+3>>0]=h>>24;l=d[c+30>>0]|d[c+30+1>>0]<<8|d[c+30+2>>0]<<16|d[c+30+3>>0]<<24;l=l>>>0>523251?l+-523251|0:523251-l<<1;j=l>>>0>>0;e=j?f:e;f=(d[c+8>>0]|d[c+8+1>>0]<<8|d[c+8+2>>0]<<16|d[c+8+3>>0]<<24)+h|0;g=d[b+4>>0]|d[b+4+1>>0]<<8|d[b+4+2>>0]<<16|d[b+4+3>>0]<<24;if((f|0)<(g|0)){a[b+8>>0]=f;a[b+8+1>>0]=f>>8;a[b+8+2>>0]=f>>16;a[b+8+3>>0]=f>>24}else{a[b+12>>0]=1;a[b+12+1>>0]=0;a[b+12+2>>0]=0;a[b+12+3>>0]=0;f=h}m=m+1|0;if((m|0)>=(n&255|0))break;else k=j?l:k}if((e|0)<(g|0)){a[b+8>>0]=e;a[b+8+1>>0]=e>>8;a[b+8+2>>0]=e>>16;a[b+8+3>>0]=e>>24;break}else{a[b+12>>0]=1;a[b+12+1>>0]=0;a[b+12+2>>0]=0;a[b+12+3>>0]=0;break}}else{f=(n&255|0)<(e|0)?n&255:e;if((f|0)<=1)break;g=d[b+4>>0]|d[b+4+1>>0]<<8|d[b+4+2>>0]<<16|d[b+4+3>>0]<<24;e=d[b+8>>0]|d[b+8+1>>0]<<8|d[b+8+2>>0]<<16|d[b+8+3>>0]<<24;h=1;while(1){n=g-e|0;n=(n|0)<96?n:96;mBb(c|0,(d[b>>0]|d[b+1>>0]<<8|d[b+2>>0]<<16|d[b+3>>0]<<24)+e|0,n|0)|0;n=(d[b+8>>0]|d[b+8+1>>0]<<8|d[b+8+2>>0]<<16|d[b+8+3>>0]<<24)+n|0;a[b+8>>0]=n;a[b+8+1>>0]=n>>8;a[b+8+2>>0]=n>>16;a[b+8+3>>0]=n>>24;e=n+(d[c+8>>0]|d[c+8+1>>0]<<8|d[c+8+2>>0]<<16|d[c+8+3>>0]<<24)|0;g=d[b+4>>0]|d[b+4+1>>0]<<8|d[b+4+2>>0]<<16|d[b+4+3>>0]<<24;if((e|0)>=(g|0)){j=11;break}a[b+8>>0]=e;a[b+8+1>>0]=e>>8;a[b+8+2>>0]=e>>16;a[b+8+3>>0]=e>>24;h=h+1|0;if(d[b+12>>0]|d[b+12+1>>0]<<8|d[b+12+2>>0]<<16|d[b+12+3>>0]<<24|0)break;if((h|0)>=(f|0))break a}if((j|0)==11){a[b+12>>0]=1;a[b+12+1>>0]=0;a[b+12+2>>0]=0;a[b+12+3>>0]=0}a[c+8>>0]=0;a[c+8+1>>0]=0;a[c+8+2>>0]=0;a[c+8+3>>0]=0;i=o;return}while(0);n=d[b+8>>0]|d[b+8+1>>0]<<8|d[b+8+2>>0]<<16|d[b+8+3>>0]<<24;f=(d[b+4>>0]|d[b+4+1>>0]<<8|d[b+4+2>>0]<<16|d[b+4+3>>0]<<24)-n|0;f=(f|0)<96?f:96;mBb(c|0,(d[b>>0]|d[b+1>>0]<<8|d[b+2>>0]<<16|d[b+3>>0]<<24)+n|0,f|0)|0;f=(d[b+8>>0]|d[b+8+1>>0]<<8|d[b+8+2>>0]<<16|d[b+8+3>>0]<<24)+f|0;a[b+8>>0]=f;a[b+8+1>>0]=f>>8;a[b+8+2>>0]=f>>16;a[b+8+3>>0]=f>>24;f=d[c+8>>0]|d[c+8+1>>0]<<8|d[c+8+2>>0]<<16|d[c+8+3>>0]<<24;if((d[c+12>>0]|d[c+12+1>>0]<<8|d[c+12+2>>0]<<16|d[c+12+3>>0]<<24)>>>0>=f>>>0){a[c+12>>0]=0;a[c+12+1>>0]=0;a[c+12+2>>0]=0;a[c+12+3>>0]=0;a[c+16>>0]=0;a[c+16+1>>0]=0;a[c+16+2>>0]=0;a[c+16+3>>0]=0;a[c+55>>0]=(d[c+55>>0]|0)&251;i=o;return}if((d[c+16>>0]|d[c+16+1>>0]<<8|d[c+16+2>>0]<<16|d[c+16+3>>0]<<24)>>>0<=f>>>0){i=o;return}a[c+16>>0]=f;a[c+16+1>>0]=f>>8;a[c+16+2>>0]=f>>16;a[c+16+3>>0]=f>>24;i=o;return}function $Oa(f,g,h){f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;if((g|0)==0|h>>>0<1168){f=0;return f|0}if((a[g+29>>0]|0)!=2){f=0;return f|0}if((a[g+28>>0]|0)!=26){f=0;return f|0}if(Anb(g+20|0,527015,8)|0)if(Anb(g+20|0,527024,8)|0){f=0;return f|0}k=f+59804|0;l=g;m=k+20|0;do{a[k>>0]=a[l>>0]|0;k=k+1|0;l=l+1|0}while((k|0)<(m|0));c[f+59680>>2]=256;c[f+59684>>2]=31;c[f+59664>>2]=4;c[f+59688>>2]=0;c[f+59764>>2]=64;c[f+59768>>2]=32767;k=(d[g+32>>0]|0)>>>4;c[f+59648>>2]=(k|0)==0?1:k;c[f+59652>>2]=125;k=d[g+34>>0]<<2;c[f+59656>>2]=k>>>0>256?256:k;k=f+53344|0;l=g+1040|0;m=k+128|0;do{a[k>>0]=a[l>>0]|0;k=k+1|0;l=l+1|0}while((k|0)<(m|0));c[f+49608>>2]=0;c[f+49604>>2]=64;c[f+49600>>2]=192;c[f+49644>>2]=0;c[f+49640>>2]=64;c[f+49636>>2]=64;c[f+49680>>2]=0;c[f+49676>>2]=64;c[f+49672>>2]=192;c[f+49716>>2]=0;c[f+49712>>2]=64;c[f+49708>>2]=64;i=0;do{j=i;i=i+1|0;k=f+33280+(i<<6)+42|0;l=g+48+(j<<5)|0;m=k+13|0;do{a[k>>0]=a[l>>0]|0;k=k+1|0;l=l+1|0}while((k|0)<(m|0));k=f+59804+(i<<5)|0;l=g+48+(j<<5)|0;m=k+12|0;do{a[k>>0]=a[l>>0]|0;k=k+1|0;l=l+1|0}while((k|0)<(m|0));c[f+33280+(i<<6)+24>>2]=(d[g+48+(j<<5)+24>>0]|d[g+48+(j<<5)+24+1>>0]<<8)&65535;b[f+33280+(i<<6)+32>>1]=64;p=d[g+48+(j<<5)+22>>0]<<2;p=p>>>0>256?256:p&65535;b[f+33280+(i<<6)+30>>1]=p;q=d[g+48+(j<<5)+16>>0]|d[g+48+(j<<5)+16+1>>0]<<8;c[f+33280+(i<<6)>>2]=(q&65535)<4|p<<16>>16==0?0:q&65535;q=d[g+48+(j<<5)+18>>0]|d[g+48+(j<<5)+18+1>>0]<<8;c[f+33280+(i<<6)+4>>2]=q&65535;p=d[g+48+(j<<5)+20>>0]|d[g+48+(j<<5)+20+1>>0]<<8;c[f+33280+(i<<6)+8>>2]=p&65535;if(!(p<<16>>16==-1|(p&65535)<=(q&65535))){q=f+33280+(i<<6)+34|0;b[q>>1]=e[q>>1]|2}}while((i|0)!=31);j=0;do{i=f+53344+j|0;if((d[i>>0]|0)>98)a[i>>0]=-1;j=j+1|0}while((j|0)!=256);p=a[g+33>>0]|0;a:do if(!(p<<24>>24)){i=1168;l=1}else{k=1168;q=0;while(1){i=k+1024|0;if(i>>>0>h>>>0){i=1;j=45;break}b[f+52864+(q<<1)>>1]=64;j=ONa(64,c[f+59664>>2]|0)|0;c[f+51904+(q<<2)>>2]=j;if(!j){i=1;j=45;break}o=0;n=g+k|0;while(1){k=a[n>>0]|0;l=d[n+1>>0]|0;m=d[n+2>>0]|0;if(l>>>3|0)a[j+1>>0]=l>>>3;if((k&-3)<<24>>24==-4)a[j>>0]=-2;else if((k&255)<252)a[j>>0]=(k&15)+37+(((k&255)>>>4)*12|0);if(((m>>>1)+(l&7)|0)>>>0<65){a[j+2>>0]=1;a[j+4>>0]=(m>>>1)+(l&7)}k=a[n+3>>0]|0;l=j+5|0;a[l>>0]=k;do switch(m&15|0){case 1:{a[j+3>>0]=16;a[l>>0]=(k&255)>>>4;break}case 2:{a[j+3>>0]=12;break}case 3:{a[j+3>>0]=14;a[l>>0]=(k&240)*10|k&15;break}case 4:{a[j+3>>0]=11;break}case 5:{a[j+3>>0]=3;break}case 6:{a[j+3>>0]=2;break}case 7:{a[j+3>>0]=4;break}case 8:{a[j+3>>0]=5;break}case 9:{a[j+3>>0]=18;break}case 10:{a[j+3>>0]=1;break}case 11:{a[j+3>>0]=7;break}case 12:{a[j+3>>0]=6;break}default:{a[l>>0]=0;a[j+3>>0]=0}}while(0);o=o+1|0;if((o|0)==256)break;else{j=j+6|0;n=n+4|0}}q=q+1|0;if(q>>>0>=(p&255)>>>0){l=1;break a}else k=i}if((j|0)==45)return i|0}while(0);do{k=f+33280+(l<<6)|0;i=i+15&-16;j=c[k>>2]|0;if(j){q=g+48+(l+-1<<5)+14|0;q=((d[q>>0]|d[q+1>>0]<<8)&65535)<<4;i=q>>>0<1168|(q+j|0)>>>0>h>>>0?i:q;if(i>>>0>>0)i=(SNa(f,k,0,g+i|0,h-i|0)|0)+i|0}l=l+1|0}while((l|0)!=32);i=1;return i|0}function aPa(f,g,h){f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;if((g|0)==0|h>>>0<512){f=0;return f|0}z=d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24;if((z&16777215|0)!=4476237){f=0;return f|0}i=d[g+8>>0]|d[g+8+1>>0]<<8|d[g+8+2>>0]<<16|d[g+8+3>>0]<<24;if(!i){f=0;return f|0}y=gBb(i|0)|0;if(!(y>>>0>>0&(y+788|0)>>>0>>0)){f=0;return f|0}if((z>>24&-4|0)!=48){f=0;return f|0}c[f+59680>>2]=8;c[f+59748>>2]=32;w=d[g+16>>0]|d[g+16+1>>0]<<8|d[g+16+2>>0]<<16|d[g+16+3>>0]<<24;x=gBb(w|0)|0;t=gBb(d[g+24>>0]|d[g+24+1>>0]<<8|d[g+24+2>>0]<<16|d[g+24+3>>0]<<24|0)|0;u=d[g+32>>0]|d[g+32+1>>0]<<8|d[g+32+2>>0]<<16|d[g+32+3>>0]<<24;s=gBb(u|0)|0;s=(u|0)!=0&s>>>0<(h+-80|0)>>>0?g+s|0:0;u=(d[g+(y+504)>>0]|d[g+(y+504)+1>>0]<<8)&65535;c[f+59664>>2]=4;i=a[g+(y+787)>>0]|0;c[f+59684>>2]=(i&255)>63?63:i&255;c[f+59652>>2]=125;i=(d[g+(y+764)>>0]|d[g+(y+764)+1>>0]<<8)&65535;i=i<<8&65280|i>>>8|0?i<<8&65280|i>>>8:125;j=d[g+(y+768)>>0]|0;do if(!(j&32))if(i>>>0<11?(a[g+(y+767)>>0]&64)!=0:0){i=d[527033+(i+-1)>>0]|0;break}else{i=FLa(i,3579545,948652)|0;break}else i=(_(i,(j&31)+1|0)|0)>>>2;while(0);j=a[g+(y+769)>>0]|0;j=j<<24>>24==0?6:j&255;c[f+59648>>2]=j;i=i>>>0<33?33:i;if(i>>>0>255){if(i>>>0>260&j>>>0>3){while(1){k=j+-1|0;i=((_(k,i)|0)>>>0)/(j>>>0)|0;if(i>>>0>260&k>>>0>3)j=k;else break}c[f+59648>>2]=k}i=i>>>0>255?255:i}c[f+59652>>2]=i;if(c[f+59684>>2]|0){l=0;do{m=l;l=l+1|0;k=(d[g+y+(m<<3)>>0]|d[g+y+(m<<3)+1>>0]<<8)&65535;c[f+33280+(l<<6)+4>>2]=(k<<8&65280|k>>>8)<<1;i=(d[g+y+(m<<3)+2>>0]|d[g+y+(m<<3)+2+1>>0]<<8)&65535;c[f+33280+(l<<6)+8>>2]=((i<<8&65280|i>>>8)<<1)+((k<<8&65280|k>>>8)<<1);v=d[g+y+(m<<3)+6>>0]<<2&65535;j=f+33280+(l<<6)+30|0;b[j>>1]=v;b[f+33280+(l<<6)+32>>1]=64;if((v&65535)>256)b[j>>1]=256;a[f+33280+(l<<6)+36>>0]=_(a[g+y+(m<<3)+7>>0]|0,-12)|0;b[f+33280+(l<<6)+28>>1]=128;if(((i<<8&65280|i>>>8)<<1)+((k<<8&65280|k>>>8)<<1)|0){v=f+33280+(l<<6)+34|0;b[v>>1]=e[v>>1]|2}}while(l>>>0<(c[f+59684>>2]|0)>>>0)}if(!(a[g+(y+767)>>0]&32))c[f+59660>>2]=c[f+59660>>2]|2;do if((z>>24|0)<50){q=((d[g+(y+506)>>0]|d[g+(y+506)+1>>0]<<8)&65535)>>>8;mBb(f+53344|0,g+(y+508)|0,(q|0?q:1)|0)|0;q=a[g+(y+766)>>0]|0}else{i=(d[g+(y+520)>>0]|d[g+(y+520)+1>>0]<<8)&65535;if(((i<<8&65280|i>>>8)+-4|0)>>>0<29)c[f+59664>>2]=i<<8&65280|i>>>8;p=d[g+(y+508)>>0]|d[g+(y+508)+1>>0]<<8|d[g+(y+508)+2>>0]<<16|d[g+(y+508)+3>>0]<<24;q=gBb(p|0)|0;i=(d[g+(y+506)>>0]|d[g+(y+506)+1>>0]<<8)&65535;v=d[g+(y+512)>>0]|d[g+(y+512)+1>>0]<<8|d[g+(y+512)+2>>0]<<16|d[g+(y+512)+3>>0]<<24;k=gBb(v|0)|0;i=k>>>0<(h+-2|0)>>>0&((v|0)!=0&(i<<8&65280|i>>>8|0)!=0)?i<<8&65280|i>>>8:1;if(!i){i=a[g+(y+766)>>0]|0;j=0}else{r=0;j=0;do{if((k|0)!=0&k>>>0<(h+-2|0)>>>0){l=d[g+(k+1)>>0]|0;k=k+2|0}else{i=0;l=0}do if((p|0)!=0&q>>>0>>0&l<<2>>>0<(h-q|0)>>>0){v=c[g+q+(l<<2)>>2]|0;o=gBb(v|0)|0;if((v|0)!=0&o>>>0<(h+-1066|0)>>>0){if(!(a[f+59804>>0]|0)){l=f+59804|0;m=g+o|0;n=l+31|0;do{a[l>>0]=a[m>>0]|0;l=l+1|0;m=m+1|0}while((l|0)<(n|0))}m=(d[g+(o+40)>>0]|d[g+(o+40)+1>>0]<<8)&65535;if((m<<8&65280|m>>>8|0)==0?1:(m<<8&65280|m>>>8)>>>0>=(h+-42-o|0)>>>1>>>0)break;n=0;do{l=g+(o+42)+(n<<1)|0;l=((d[l>>0]|d[l+1>>0]<<8)&65535)>>>8;if(j>>>0<255?l>>>0<(u<<8&65280|u>>>8)>>>0:0){a[f+53344+j>>0]=l;j=j+1|0}n=n+1|0}while((n|0)!=(m<<8&65280|m>>>8|0))}}while(0);r=r+1|0}while(r>>>0>>0);i=a[g+(y+766)>>0]|0;if(j>>>0>=256){q=i;break}}hBb(f+53344+j|0,-1,256-j|0)|0;q=i}while(0);if(s|0){if((c[f+59664>>2]|0)==4)if(a[g+(y+767)>>0]&64){if(!(a[s+36>>0]|0))i=4;else{c[f+59664>>2]=3;i=3}if(a[s+37>>0]|0){i=i+-1|0;c[f+59664>>2]=i}if(a[s+38>>0]|0){i=i+-1|0;c[f+59664>>2]=i}if(a[s+39>>0]|0)c[f+59664>>2]=i+-1}r=d[s+12>>0]|d[s+12+1>>0]<<8|d[s+12+2>>0]<<16|d[s+12+3>>0]<<24;i=gBb(r|0)|0;v=d[s+16>>0]|d[s+16+1>>0]<<8|d[s+16+2>>0]<<16|d[s+16+3>>0]<<24;j=gBb(v|0)|0;if((r|0)!=0&(v|0)!=0)if(!((j+i|0)>>>0<=i>>>0|(j+i|0)>>>0>h>>>0)){v=_Ab(j+1|0)|0;c[f+59796>>2]=v;mBb(v|0,g+i|0,j|0)|0;a[v+j>>0]=0}r=d[s+44>>0]|d[s+44+1>>0]<<8|d[s+44+2>>0]<<16|d[s+44+3>>0]<<24;i=gBb(r|0)|0;v=d[s+48>>0]|d[s+48+1>>0]<<8|d[s+48+2>>0]<<16|d[s+48+3>>0]<<24;j=gBb(v|0)|0;if((r|0)!=0&(v|0)!=0)if(!((j+i|0)>>>0<=i>>>0|(j+i|0)>>>0>h>>>0)){mBb(f+59804|0,g+i|0,(j>>>0>31?31:j)|0)|0;a[f+59835>>0]=0}v=d[s+20>>0]|d[s+20+1>>0]<<8|d[s+20+2>>0]<<16|d[s+20+3>>0]<<24;j=gBb(v|0)|0;if(v|0){k=(d[s+24>>0]|d[s+24+1>>0]<<8)&65535;l=(d[s+26>>0]|d[s+26+1>>0]<<8)&65535;if((l<<8&65280|l>>>8)>>>0<256){v=_(l<<8&65280|l>>>8,k<<8&65280|k>>>8)|0;if(v>>>0>>0&j>>>0<(h-v|0)>>>0){i=(l<<8&65280|l>>>8)>>>0>32?32:l<<8&65280|l>>>8;if(k<<8&65280|k>>>8|0){m=0;do{n=m;m=m+1|0;if(n>>>0<(c[f+59684>>2]|0)>>>0){Rob(f+59804+(m<<5)|0,g+((_(n,l<<8&65280|l>>>8)|0)+j)|0,i)|0;a[f+59804+(m<<5)+31>>0]=0}}while((m|0)!=(k<<8&65280|k>>>8|0))}}}}v=d[s+68>>0]|d[s+68+1>>0]<<8|d[s+68+2>>0]<<16|d[s+68+3>>0]<<24;p=gBb(v|0)|0;if((v|0)!=0&p>>>0>>0){i=c[f+59664>>2]|0;if(i<<2>>>0<(h-p|0)>>>0)if(i|0){o=0;do{v=c[g+p+(o<<2)>>2]|0;k=gBb(v|0)|0;do if(v){a:do if(k>>>0<(h+-8|0)>>>0){n=0;j=0;while(1){l=c[g+k>>2]|0;if(!l){k=n;break a}l=gBb(l|0)|0;m=gBb(c[g+(k+4)>>2]|0)|0;b:do if((l|0)<2){switch(l|0){case -2147483647:break;default:{l=n;break b}}l=n;j=m}else{switch(l|0){case 2:break;default:{l=n;break b}}l=m}while(0);k=k+8|0;if(k>>>0>=(h+-8|0)>>>0){k=l;break}else n=l}}else{k=0;j=0}while(0);v=k>>>0>20?20:k;if(!((j|0)!=0&v>>>0>>0&j>>>0<(h-v|0)>>>0))break;Rob(f+49600+(o*36|0)+16|0,g+j|0,20)|0;a[f+49600+(o*36|0)+35>>0]=0;i=c[f+59664>>2]|0}while(0);o=o+1|0}while(o>>>0>>0)}}}i=c[f+59684>>2]|0;if(t>>>0>(h-(i<<2)|0)>>>0){f=1;return f|0}if(i|0){n=0;do{j=c[g+t+(n<<2)>>2]|0;if(j){m=gBb(j|0)|0;if(m>>>0>>0&(m+21|0)>>>0>>0){i=gBb(d[g+m>>0]|d[g+m+1>>0]<<8|d[g+m+2>>0]<<16|d[g+m+3>>0]<<24|0)|0;i=i>>>0>16e6|(m+6+i|0)>>>0>h>>>0?0:i;k=(d[g+(m+4)>>0]|d[g+(m+4)+1>>0]<<8)&65535;if(!(k>>>8&128)){if(!(k>>>8&16))j=k>>>10&8;else{j=f+33280+(n+1<<6)+34|0;b[j>>1]=e[j>>1]|1;j=k>>>10&8|7;i=i>>>1}l=m+6|0;i=i>>>(k>>>13&1)}else{l=(k>>>10&8|6)+(m+6)|0;j=0}v=f+33280+(n+1<<6)|0;c[v>>2]=i;SNa(f,v,j,g+l|0,h+-6-m|0)|0;i=c[f+59684>>2]|0}}n=n+1|0}while(n>>>0>>0)}v=(u<<8&65280|u>>>8)>>>0>240?240:u<<8&65280|u>>>8;if(!w){f=1;return f|0}if(x>>>0>(h-(v<<2)|0)>>>0){f=1;return f|0}t=q+((z>>24|0)==51?24:48)|0;c:do if(v|0){u=0;do{w=c[g+x+(u<<2)>>2]|0;n=gBb(w|0)|0;d:do if((w|0)!=0&n>>>0>>0&n>>>0<(h+-8|0)>>>0){if((z>>24|0)==48){s=(d[g+(n+1)>>0]|0)+1|0;i=a[g+n>>0]|0;if(!(i<<24>>24))r=c[f+59664>>2]|0;else r=i&255;w=ONa(s,c[f+59664>>2]|0)|0;i=f+51904+(u<<2)|0;c[i>>2]=w;if(!w)break;b[f+52864+(u<<1)>>1]=s;if(((_(s*3|0,r)|0)+n|0)>>>0>(h+-2|0)>>>0)break c;if(!r)break;q=r*3|0;j=c[i>>2]|0;p=g+(n+2)|0;i=0;while(1){n=p;o=0;while(1){if(o>>>0<(c[f+59664>>2]|0)>>>0){l=a[n>>0]|0;m=n+1|0;k=(d[m>>0]|0)>>>4;if(l&128)k=(k&255|16)&255;if(l&64)k=(k&255|32)&255;if(l&63|0)a[j>>0]=(l&63)+t;a[j+1>>0]=k;a[j+3>>0]=d[m>>0]&15;a[j+5>>0]=a[n+2>>0]|0;bPa(j,g+y|0);j=j+6|0}o=o+1|0;if((o|0)==(r|0))break;else n=n+3|0}i=i+1|0;if((i|0)==(s|0))break d;else p=p+q|0}}s=(((d[g+(n+2)>>0]|d[g+(n+2)+1>>0]<<8)&65535)>>>8)+1|0;i=((d[g+n>>0]|d[g+n+1>>0]<<8)&65535)>>>8;if(!i)i=c[f+59664>>2]|0;w=ONa(s,c[f+59664>>2]|0)|0;m=f+51904+(u<<2)|0;c[m>>2]=w;if(!w)break;b[f+52864+(u<<1)>>1]=s;w=d[g+(n+4)>>0]|d[g+(n+4)+1>>0]<<8|d[g+(n+4)+2>>0]<<16|d[g+(n+4)+3>>0]<<24;k=gBb(w|0)|0;do if((w|0)!=0&k>>>0<(h+-36|0)>>>0){j=d[g+(k+4)>>0]|d[g+(k+4)+1>>0]<<8|d[g+(k+4)+2>>0]<<16|d[g+(k+4)+3>>0]<<24;do if(j|0){l=d[g+(k+8)>>0]|d[g+(k+8)+1>>0]<<8|d[g+(k+8)+2>>0]<<16|d[g+(k+8)+3>>0]<<24;if(!l)break;j=gBb(j|0)|0;if(j>>>0>=h>>>0)break;if((gBb(l|0)|0)>>>0>=(j+h|0)>>>0)break;cPa(f,u,g+j|0)|0}while(0);j=d[g+(k+16)>>0]|d[g+(k+16)+1>>0]<<8|d[g+(k+16)+2>>0]<<16|d[g+(k+16)+3>>0]<<24;if(!j){j=0;break}j=gBb(j|0)|0;if(j>>>0>=(h+-4|0)>>>0){j=0;break}w=c[g+j>>2]|0;j=gBb(w|0)|0;if(!w){j=0;break}w=j>>>0>(h-(_(i,s)|0)|0)>>>0;j=w?0:g+j|0}else j=0;while(0);if(((_(s<<2,i)|0)+n|0)>>>0>(h+-8|0)>>>0)break c;q=(i|0)==0;r=i<<2;k=c[m>>2]|0;l=g+(n+8)|0;p=0;while(1){if(!q){if(!j){n=l;o=0;while(1){if(o>>>0<(c[f+59664>>2]|0)>>>0){m=a[n>>0]|0;if((m+-1&255)<132){w=((m&255)+t|0)<1?1:(m&255)+t|0;a[k>>0]=(w|0)>120?120:w&255}a[k+1>>0]=a[n+1>>0]|0;a[k+3>>0]=a[n+2>>0]|0;a[k+5>>0]=a[n+3>>0]|0;bPa(k,g+y|0);k=k+6|0}o=o+1|0;if((o|0)==(i|0))break;else n=n+4|0}}else{n=l;o=0;while(1){if(o>>>0<(c[f+59664>>2]|0)>>>0){m=a[n>>0]|0;if((m+-1&255)<132){w=((m&255)+t|0)<1?1:(m&255)+t|0;a[k>>0]=(w|0)>120?120:w&255}a[k+1>>0]=a[n+1>>0]|0;a[k+3>>0]=a[n+2>>0]|0;a[k+5>>0]=a[n+3>>0]|0;a[k+4>>0]=a[j+o>>0]|0;bPa(k,g+y|0);k=k+6|0}o=o+1|0;if((o|0)==(i|0))break;else n=n+4|0}}l=l+r|0}p=p+1|0;if((p|0)==(s|0))break;else j=(j|0)==0?0:j+i|0}}while(0);u=u+1|0}while(u>>>0>>0)}while(0);if(!(c[f+59664>>2]|0)){f=1;return f|0}else i=0;do{c[f+49600+(i*36|0)>>2]=((i&3)+-1|0)>>>0<2?192:64;c[f+49600+(i*36|0)+4>>2]=64;i=i+1|0}while(i>>>0<(c[f+59664>>2]|0)>>>0);i=1;return i|0}function bPa(b,c){b=b|0;c=c|0;var e=0,f=0,g=0;f=a[b+5>>0]|0;a:do switch(d[b+3>>0]|0|0){case 0:{e=f<<24>>24!=0&1;c=f&255;break}case 1:{e=2;c=f&255;break}case 2:{e=3;c=f&255;break}case 3:{e=4;c=f&255;break}case 4:{e=5;c=f&255;break}case 5:{e=6;c=f&255;break}case 6:{e=7;c=f&255;break}case 7:{e=8;c=f&255;break}case 10:{c=(f&240|0)==0?f&255:f&240;e=c|0?11:0;break}case 11:{e=12;c=f&255;break}case 12:if(!(a[c+767>>0]&16)){if((f&255)>=154){e=0;c=f&255;break a}e=13;c=((((f&15)>>>0)%10|0)+(((f&255)>>>4)*10|0)|0)>>>0>64?64:(((f&15)>>>0)%10|0)+(((f&255)>>>4)*10|0)|0;break a}else{if(f<<24>>24<=-1){e=0;c=f&255;break a}e=13;c=((f&255)+1|0)>>>1;break a}case 9:{e=(f&255)<32?16:17;c=f&255;break}case 13:{c=(f&240|0)==0?f&255:f&240;e=c|0?11:0;break}case 15:{if(!(f<<24>>24)){e=14;c=f&255}else{if((f&255)<241){if(!(a[c+767>>0]&64))if((f&255)<11){e=16;c=f&255;g=26}else if(!(a[c+768>>0]&32)){e=15;c=FLa(f&255,3579545,948652)|0;g=26}else{e=15;c=f&255;g=26}else if((f&255)>10)c=99;else{e=15;c=d[527033+((f&255)+-1)>>0]|0;g=26}if((g|0)==26)if(c>>>0<=10)break a;c=c>>>0<33?33:c;e=17;c=c>>>0>240?240:c;break a}do switch(f&255|0){case 241:{e=19;c=147;break a}case 242:{e=19;c=211;break a}case 243:{e=19;c=146;break a}case 244:{e=19;c=210;break a}case 245:{e=19;c=212;break a}case 248:{e=19;c=0;break a}case 249:{e=19;c=1;break a}case 253:{e=4;c=255;break a}case 254:{e=16;c=0;break a}case 255:{e=19;c=192;break a}default:{e=0;c=0;break a}}while(0)}break}case 17:{e=19;c=(f&255)>15?31:f&255|16;break}case 18:{e=19;c=(f&255)>15?47:f&255|32;break}case 20:{e=5;c=f&255;break}case 21:{e=19;c=f&15|80;break}case 22:{e=19;c=(f&255)>15?111:f&255|96;break}case 24:{e=19;c=(f&255)>15?207:f&255|192;break}case 25:{e=10;c=f&255;break}case 26:{e=19;c=(f&255)>15?175:f&255|160;break}case 27:{e=19;c=(f&255)>15?191:f&255|176;break}case 29:{e=14;c=f&255;break}case 30:{e=19;c=(f&255)>15?239:f&255|224;break}case 31:{e=15;c=f&15;break}case 46:{e=19;c=(((f&255)+16|0)>>>1&112)>>>0>15?143:((f&255)+16|0)>>>1|128;break}default:{e=0;c=0}}while(0);a[b+3>>0]=e;a[b+5>>0]=c;return}function cPa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;k=i;i=i+32|0;g=k;h=g+32|0;do{a[g>>0]=0;g=g+1|0}while((g|0)<(h|0));if(d>>>0>239){d=0;i=k;return d|0}if(e|0)Rob(k,e,32)|0;a[k+31>>0]=0;h=c[b+59800>>2]|0;if(!h){c[b+59792>>2]=0;g=0;j=7}else{f=c[b+59792>>2]|0;if(f>>>0>d>>>0)f=h;else{g=f;j=7}}if((j|0)==7){if(!(a[e>>0]|0)){d=1;i=k;return d|0}f=_Ab(d+1<<5)|0;hBb(f|0,0,d+1<<5|0)|0;if(h|0){mBb(f|0,h|0,g<<5|0)|0;aBb(h);c[b+59800>>2]=0}c[b+59800>>2]=f;c[b+59792>>2]=d+1}g=f+(d<<5)|0;f=k;h=g+32|0;do{a[g>>0]=a[f>>0]|0;g=g+1|0;f=f+1|0}while((g|0)<(h|0));d=1;i=k;return d|0}function dPa(f,g,h){f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;if((g|0)==0|h>>>0<256){f=0;return f|0}if(pmb(g,527043,3)|0){f=0;return f|0}i=a[g+33>>0]|0;if((i&255)>32){f=0;return f|0}if(((a[g+30>>0]|0)+-1&255)>238){f=0;return f|0}if(i<<24>>24==0?1:(d[g+24>>0]|d[g+24+1>>0]<<8)<<16>>16==0){f=0;return f|0}if(((a[g+26>>0]|0)+-1&255)>239){f=0;return f|0}Rob(f+59804|0,g+4|0,20)|0;a[f+59824>>0]=0;i=a[g+30>>0]|0;if((((i&255)*37|0)+258+(((d[g+24>>0]|d[g+24+1>>0]<<8)&65535)*192|0)+(d[g+26>>0]<<6)+((d[g+28>>0]|d[g+28+1>>0]<<8)&65535)|0)>>>0>=h>>>0){f=0;return f|0}c[f+59680>>2]=16;c[f+59684>>2]=i&255;j=d[g+33>>0]|0;c[f+59664>>2]=j;if(!(i<<24>>24))k=66;else{i=66;p=1;do{Rob(f+59804+(p<<5)|0,g+i|0,22)|0;a[f+59804+(p<<5)+22>>0]=0;b[f+33280+(p<<6)+30>>1]=d[g+(i+35)>>0]<<2;b[f+33280+(p<<6)+32>>1]=64;l=g+(i+22)|0;l=d[l>>0]|d[l+1>>0]<<8|d[l+2>>0]<<16|d[l+3>>0]<<24;if((l+-5|0)>>>0<15999996){m=f+33280+(p<<6)|0;c[m>>2]=l;j=g+(i+26)|0;j=d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24;n=f+33280+(p<<6)+4|0;c[n>>2]=j;k=g+(i+30)|0;k=d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24;o=f+33280+(p<<6)+8|0;k=k>>>0>l>>>0?l:k;c[o>>2]=k;if((j+4|0)>>>0>>0)if(!k)k=0;else{t=f+33280+(p<<6)+34|0;b[t>>1]=e[t>>1]|2}else{c[o>>2]=0;c[n>>2]=0;j=0;k=0}a[f+33280+(p<<6)+37>>0]=a[g+(i+34)>>0]<<4;if(a[g+(i+36)>>0]&1){t=f+33280+(p<<6)+34|0;b[t>>1]=e[t>>1]|1;c[m>>2]=l>>>1;c[n>>2]=j>>>1;c[o>>2]=k>>>1}b[f+33280+(p<<6)+28>>1]=128}i=i+37|0;p=p+1|0}while(p>>>0<=(c[f+59684>>2]|0)>>>0);j=c[f+59664>>2]|0;k=i}if(j|0){i=0;do{c[f+49600+(i*36|0)>>2]=d[g+(i+34)>>0]<<4&240|8;c[f+49600+(i*36|0)+4>>2]=64;i=i+1|0}while(i>>>0<(c[f+59664>>2]|0)>>>0)}mBb(f+53344|0,g+k|0,(d[g+27>>0]|0)+1|0)|0;t=(((d[g+24>>0]|d[g+24+1>>0]<<8)&65535)*192|0)+(k+128)|0;q=k+-64|0;r=g+t|0;s=0;while(1){b[f+52864+(s<<1)>>1]=64;p=ONa(64,c[f+59664>>2]|0)|0;o=f+51904+(s<<2)|0;c[o>>2]=p;if(!p){u=23;break}else p=0;do{j=b[r+(p<<1)>>1]|0;if(j<<16>>16)if((j&65535)<=((d[g+24>>0]|d[g+24+1>>0]<<8)&65535)){i=c[f+59664>>2]|0;if(p>>>0>>0){m=0;n=(c[o>>2]|0)+(p*6|0)|0;l=g+(q+((j&65535)*192|0))|0;while(1){j=a[l>>0]|0;if(j&252){a[n>>0]=((j&255)>>>2)+37;j=a[l>>0]|0}k=l+1|0;a[n+1>>0]=(j&255)<<4&48|(d[k>>0]|0)>>>4;k=d[k>>0]&15;j=d[l+2>>0]|0;if((k|0)==10)j=(j&240|0)==0?j&15:j&240;a[n+3>>0]=k;a[n+5>>0]=j;if(!(j|k))j=i;else{PNa(f,n);j=c[f+59664>>2]|0}m=m+1|0;if((m|0)==64)break;else{i=j;n=n+(j*6|0)|0;l=l+3|0}}}}p=p+1|0}while((p|0)!=32);s=s+1|0;i=a[g+26>>0]|0;if(s>>>0>(i&255)>>>0)break;else r=r+64|0}if((u|0)==23)i=a[g+26>>0]|0;l=t+64+((i&255)<<6)|0;i=d[g+28>>0]|d[g+28+1>>0]<<8;if(!(i<<16>>16))i=0;else if((l+(i&65535)|0)>>>0>>0){j=_Ab((i&65535)+1|0)|0;c[f+59796>>2]=j;mBb(j|0,g+l|0,i&65535|0)|0;a[j+(i&65535)>>0]=0;k=0;while(1){j=j+k|0;k=k+1|0;if(!(a[j>>0]|0))a[j>>0]=(k>>>0)%40|0|0?32:13;if((k|0)==(i&65535|0))break;j=c[f+59796>>2]|0}i=d[g+28>>0]|d[g+28+1>>0]<<8}i=(i&65535)+l|0;if(i>>>0>>0&(c[f+59684>>2]|0)!=0){j=1;do{i=(SNa(f,f+33280+(j<<6)|0,b[f+33280+(j<<6)+34>>1]&1?6:1,g+i|0,h-i|0)|0)+i|0;j=j+1|0}while(i>>>0>>0?j>>>0<=(c[f+59684>>2]|0)>>>0:0)}c[f+59764>>2]=64;c[f+59768>>2]=32767;f=1;return f|0}function ePa(f,g,h){f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;F=i;i=i+16080|0;if((g|0)==0|h>>>0<1024){E=0;i=F;return E|0}if((c[g>>2]|0)!=1279544644){E=0;i=F;return E|0}if((d[g+4>>0]&240)>>>0>16){E=0;i=F;return E|0}hBb(F|0,0,15360)|0;hBb(F+15840|0,0,240)|0;hBb(F+15600|0,0,240)|0;hBb(F+15360|0,0,240)|0;c[f+59688>>2]=0;c[f+59684>>2]=0;a:do if(h>>>0>11){j=11;B=5;C=0;D=0;m=0;n=0;o=0;p=0;q=0;while(1){l=c[g+(B+2)>>2]|0;t=B;B=l+j|0;if(B>>>0>h>>>0){k=C;l=D;E=7;break}b:do switch(e[g+t>>1]|0){case 20041:{l=f+59804|0;j=g+j|0;k=l+32|0;do{a[l>>0]=a[j>>0]|0;l=l+1|0;j=j+1|0}while((l|0)<(k|0));k=b[g+(t+58)>>1]|0;c[f+59736>>2]=e[g+(t+60)>>1];c[f+59656>>2]=d[g+(t+62)>>0];c[f+59652>>2]=d[g+(t+64)>>0];c[f+59648>>2]=d[g+(t+63)>>0];c[f+59664>>2]=4;j=0;do{c[f+49600+(j*36|0)+4>>2]=64;A=g+(t+65+j)|0;c[f+49600+(j*36|0)>>2]=d[A>>0]<<1&254;if((a[A>>0]|0)<0){A=f+49600+(j*36|0)+8|0;c[A>>2]=c[A>>2]|256;j=j+1|0}else{j=j+1|0;c[f+59664>>2]=j}}while((j|0)!=32);if(!(k<<16>>16)){l=C;s=D}else{j=(k&65535^-256)>>>0>4294967039?k&65535:256;k=0;do{a[f+53344+k>>0]=a[g+(t+97+k)>>0]|0;k=k+1|0}while((k|0)!=(j|0));l=C;s=D}break}case 17741:{if(!l){l=C;s=D}else{k=c[f+59796>>2]|0;if(k|0)aBb(k);s=_Ab(l)|0;c[f+59796>>2]=s;mBb(s|0,g+j|0,l|0)|0;a[s+(l+-1)>>0]=0;l=C;s=D}break}case 16720:{r=d[g+j>>0]|0;r=r>>>0>240?240:r;if((r|0)!=0&(t+25|0)>>>0>>0){m=t+25|0;k=t+7|0;l=0;while(1){j=a[g+k>>0]|0;if((j&255)>32){l=C;s=D;m=r;break b}b[f+52864+(l<<1)>>1]=(d[g+(k+1)>>0]|0)+1;if((c[f+59664>>2]|0)>>>0<(j&255)>>>0)c[f+59664>>2]=j&255;k=k+18+((j&255)<<1)|0;if(j<<24>>24)mBb(F+(l<<5<<1)|0,g+m|0,((j&255)>1?(j&255)<<1:2)|0)|0;l=l+1|0;m=k+18|0;if(!(l>>>0>>0&m>>>0>>0)){l=C;s=D;m=r;break}}}else{l=C;s=D;m=r}break}case 21076:{if(!C){l=t+8|0;s=D;n=e[g+j>>1]|0}else{l=C;s=D}break}case 18761:{A=a[g+j>>0]|0;c:do if(A<<24>>24){y=t+7|0;z=0;while(1){w=a[g+y>>0]|0;if((w+-1&255)>=239)break c;if((c[f+59688>>2]|0)>>>0<(w&255)>>>0)c[f+59688>>2]=w&255;if(!(c[f+48640+((w&255)<<2)>>2]|0)){x=YAb(632)|0;c[f+48640+((w&255)<<2)>>2]=x;hBb(x|0,0,632)|0;l=x+585|0;j=g+(y+2)|0;k=l+32|0;do{a[l>>0]=a[j>>0]|0;l=l+1|0;j=j+1|0}while((l|0)<(k|0));b[x+8>>1]=64;a[x+584>>0]=60;u=g+(y+1)|0;if(!(a[u>>0]|0))j=0;else{t=y+34|0;v=0;k=12;do{s=t+(v*14|0)|0;j=a[g+(s+1)>>0]|0;if(k>>>0<120&k>>>0<((j&255)+12|0)>>>0){r=k;while(1){k=r+1|0;a[x+(r+428)>>0]=k;l=a[g+s>>0]|0;if((l&255)<240){a[x+(r+300)>>0]=l;b[f+33280+((l&255)<<6)+30>>1]=d[g+(s+2)>>0]|0;b[f+33280+((l&255)<<6)+28>>1]=d[g+(s+4)>>0]<<1;a[f+33280+((l&255)<<6)+38>>0]=a[g+(s+11)>>0]|0;a[f+33280+((l&255)<<6)+39>>0]=a[g+(s+10)>>0]|0;a[f+33280+((l&255)<<6)+40>>0]=a[g+(s+9)>>0]|0;a[f+33280+((l&255)<<6)+41>>0]=a[g+(s+8)>>0]|0;j=a[g+(s+1)>>0]|0}r=d[g+(s+7)>>0]<<8|d[g+(s+6)>>0];c[x>>2]=(r|0)==65535?0:r;if(k>>>0<120&k>>>0<((j&255)+12|0)>>>0)r=k;else break}}j=a[g+(s+3)>>0]|0;if(j<<24>>24<0){c[x+4>>2]=c[x+4>>2]|1;a[F+15600+(w&255)>>0]=(j&63)+1}j=a[g+(s+5)>>0]|0;if(j<<24>>24<0){c[x+4>>2]=c[x+4>>2]|8;a[F+15360+(w&255)>>0]=(j&63)+1}v=v+1|0;j=a[u>>0]|0}while(v>>>0<(j&255)>>>0)}}else j=a[g+(y+1)>>0]|0;z=z+1|0;if(z>>>0>=(A&255)>>>0)break;else y=y+34+((j&255)*14|0)|0}}while(0);j=c[f+59688>>2]|0;if(!j){l=C;s=D}else{l=1;do{k=f+48640+(l<<2)|0;if(!(c[k>>2]|0)){j=YAb(632)|0;c[k>>2]=j;hBb(j|0,0,632)|0;j=c[f+59688>>2]|0}l=l+1|0}while(l>>>0<=j>>>0);l=C;s=D}break}case 17750:{k=a[g+j>>0]|0;if(!(k<<24>>24)){l=C;s=D;o=k&255}else if((j+1+((k&255)<<5)|0)>>>0>h>>>0){l=C;s=D;o=k&255}else{l=C;s=D;o=k&255;q=g+(t+7)|0}break}case 17744:{k=a[g+j>>0]|0;if(!(k<<24>>24)){l=C;s=k&255}else if((j+1+((k&255)<<5)|0)>>>0>h>>>0){l=C;s=k&255}else{l=C;s=k&255;p=g+(t+7)|0}break}case 16723:{if(!(c[f+59684>>2]|0)){l=C;s=D}else{s=1;do{l=f+33280+(s<<6)|0;do if(c[l>>2]|0)if(!(c[f+33280+(s<<6)+20>>2]|0)){k=a[F+15840+s>>0]|0;if(j>>>0>>0&k<<24>>24!=3){r=b[f+33280+(s<<6)+34>>1]&1;if(!(k<<24>>24)){j=(SNa(f,l,r<<16>>16?5:0,g+j|0,h-j|0)|0)+j|0;break}k=c[g+j>>2]|0;j=j+4|0;if(k>>>0>>0)if(k>>>0<=(h-j|0)>>>0&k>>>0>4)SNa(f,l,(r&65535)<<2|32,g+j|0,k)|0;j=k+j|0}}while(0);s=s+1|0}while(s>>>0<=(c[f+59684>>2]|0)>>>0);l=C;s=D}break}case 21321:{w=a[g+j>>0]|0;if(!(w<<24>>24)){l=C;s=D}else{u=t+7|0;v=0;while(1){t=a[g+u>>0]|0;if((t+-1&255)<239){if((c[f+59684>>2]|0)>>>0<(t&255)>>>0)c[f+59684>>2]=t&255;l=f+59804+((t&255)<<5)|0;j=g+(u+1)|0;k=l+32|0;do{a[l>>0]=a[j>>0]|0;l=l+1|0;j=j+1|0}while((l|0)<(k|0));l=g+(u+33)|0;r=d[l>>0]|d[l+1>>0]<<8|d[l+2>>0]<<16|d[l+3>>0]<<24;l=d[l+4>>0]|d[l+4+1>>0]<<8|d[l+4+2>>0]<<16|d[l+4+3>>0]<<24;k=f+33280+((t&255)<<6)+42|0;a[k>>0]=r;a[k+1>>0]=r>>8;a[k+2>>0]=r>>16;a[k+3>>0]=r>>24;k=f+33280+((t&255)<<6)+42+4|0;a[k>>0]=l;a[k+1>>0]=l>>8;a[k+2>>0]=l>>16;a[k+3>>0]=l>>24;c[f+33280+((t&255)<<6)+24>>2]=c[g+(u+41)>>2];k=c[g+(u+45)>>2]|0;c[f+33280+((t&255)<<6)>>2]=k;l=c[g+(u+49)>>2]|0;c[f+33280+((t&255)<<6)+4>>2]=l;r=(c[g+(u+53)>>2]|0)+l|0;c[f+33280+((t&255)<<6)+8>>2]=r;if(r>>>0>l>>>0)b[f+33280+((t&255)<<6)+34>>1]=e[f+33280+((t&255)<<6)+34>>1]|2;b[f+33280+((t&255)<<6)+32>>1]=64;s=g+(u+58)|0;j=a[s>>0]|0;if(j&1){b[f+33280+((t&255)<<6)+34>>1]=e[f+33280+((t&255)<<6)+34>>1]|1;c[f+33280+((t&255)<<6)>>2]=k>>>1;c[f+33280+((t&255)<<6)+4>>2]=l>>>1;c[f+33280+((t&255)<<6)+8>>2]=r>>>1;j=a[s>>0]|0}if(j&2){b[f+33280+((t&255)<<6)+34>>1]=e[f+33280+((t&255)<<6)+34>>1]|4;j=a[s>>0]|0}a[F+15840+(t&255)>>0]=(j&255)>>>2&3}v=v+1|0;if((v|0)==(w&255|0)){l=C;s=D;break}else u=u+59|0}}break}default:{l=C;s=D}}while(0);j=B+6|0;if(j>>>0>=h>>>0){k=l;w=s;break}else{C=l;D=s}}if((E|0)==7)if((j|0)==11){E=0;i=F;return E|0}else w=l;if((m|0)!=0&(k|0)!=0){j=c[f+59664>>2]|0;if((n|0)!=0&(j|0)!=0){v=g+k|0;u=0;do{t=f+52864+(u<<1)|0;g=ONa(e[t>>1]|0,j)|0;r=f+51904+(u<<2)|0;c[r>>2]=g;if(!g)break a;j=c[f+59664>>2]|0;if(!j)j=0;else{s=u<<5;l=0;do{k=b[F+(l+s<<1)>>1]|0;if(k<<16>>16)if((k&65535)>>>0<=n>>>0){fPa((c[r>>2]|0)+(l*6|0)|0,j,e[t>>1]|0,k&65535,v);j=c[f+59664>>2]|0}l=l+1|0}while(l>>>0>>0)}u=u+1|0}while(u>>>0>>0)}}}else{w=0;o=0;p=0;q=0}while(0);if(c[f+59688>>2]|0){v=(q|0)!=0&(o|0)!=0;x=(p|0)!=0&(w|0)!=0;u=1;do{t=c[f+48640+(u<<2)>>2]|0;if(t|0){if(v){n=a[F+15600+u>>0]|0;if(n<<24>>24){r=0;s=q;while(1){if(((d[s>>0]|0)+1|0)==(n&255|0)){a[t+556>>0]=15;j=0;l=1;while(1){if(j>>>0>=15)break;k=j<<1;m=s+(k|1)|0;if(!j)k=0;else l=(d[m>>0]|0)+(l&65535)&65535;b[t+12+(j<<1)>>1]=l;a[t+204+j>>0]=a[s+(k+2)>>0]|0;j=j+1|0;if(!(a[m>>0]|0)){E=109;break}}if((E|0)==109){E=0;a[t+556>>0]=j}k=s+31|0;j=d[k>>0]&15;a[t+562>>0]=j;a[t+561>>0]=j;j=a[k>>0]|0;if(j&16){c[t+4>>2]=c[t+4>>2]|2;j=a[k>>0]|0}if(j&32)c[t+4>>2]=c[t+4>>2]|4;g=s+32|0;a[t+559>>0]=d[g>>0]&15;a[t+560>>0]=(d[g>>0]|0)>>>4}r=r+1|0;if((r|0)==(o|0))break;else s=s+33|0}}}if(x){n=a[F+15360+u>>0]|0;if(n<<24>>24){r=0;s=p;while(1){if(((d[s>>0]|0)+1|0)==(n&255|0)){a[t+557>>0]=15;j=0;l=1;while(1){if(j>>>0>=15)break;k=j<<1;m=s+(k|1)|0;if(!j)k=0;else l=(d[m>>0]|0)+(l&65535)&65535;b[t+76+(j<<1)>>1]=l;a[t+236+j>>0]=a[s+(k+2)>>0]|0;j=j+1|0;if(!(a[m>>0]|0)){E=125;break}}if((E|0)==125){E=0;a[t+557>>0]=j}k=s+31|0;j=a[k>>0]|0;if(j&16){c[t+4>>2]=c[t+4>>2]|16;j=a[k>>0]|0}if(j&32)c[t+4>>2]=c[t+4>>2]|32;g=s+32|0;a[t+563>>0]=d[g>>0]&15;a[t+564>>0]=(d[g>>0]|0)>>>4}r=r+1|0;if((r|0)==(w|0))break;else s=s+33|0}}}}u=u+1|0}while(u>>>0<=(c[f+59688>>2]|0)>>>0)}c[f+59660>>2]=c[f+59660>>2]|16;c[f+59680>>2]=16384;E=1;i=F;return E|0}function fPa(b,c,f,g,h){b=b|0;c=c|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+16|0;j=e[h>>1]|0;if(g>>>0>1){k=1;do{h=h+(j+2)|0;j=e[h>>1]|0;k=k+1|0}while((k|0)!=(g|0))}a[s>>0]=0;a[s+1>>0]=0;a[s+2>>0]=0;a[s+3>>0]=0;a[s+4>>0]=0;a[s+5>>0]=0;if(!((f|0)!=0&(j|0)!=0)){i=s;return}r=b;l=0;k=0;while(1){p=l+1|0;g=l+2|0;q=d[h+g>>0]|0;switch(q&3|0){case 1:{o=k+1|0;o=k-(o>>>0>>0?f:o)|0;o=o>>>0>~(q>>>2)>>>0?o:~(q>>>2);g=_(o,0-c|0)|0;l=0;m=r;n=k;while(1){if(n|0){q=m+((0-c|0)*6|0)|0;a[m>>0]=a[q>>0]|0;a[m+1>>0]=a[q+1>>0]|0;a[m+2>>0]=a[q+2>>0]|0;a[m+3>>0]=a[q+3>>0]|0;a[m+4>>0]=a[q+4>>0]|0;a[m+5>>0]=a[q+5>>0]|0}l=l+1|0;if((l|0)==(0-o|0))break;else{m=m+(c*6|0)|0;n=n+1|0}}l=r+(g*6|0)|0;g=p;k=k-o|0;break}case 2:{if(q>>>2>>>0>>0){q=b+((_(q>>>2,c)|0)*6|0)|0;a[r>>0]=a[q>>0]|0;a[r+1>>0]=a[q+1>>0]|0;a[r+2>>0]=a[q+2>>0]|0;a[r+3>>0]=a[q+3>>0]|0;a[r+4>>0]=a[q+4>>0]|0;a[r+5>>0]=a[q+5>>0]|0}l=r+(c*6|0)|0;g=p;k=k+1|0;break}case 3:{if(!(q>>>2&1)){n=0;g=p}else n=d[h+(l+3)>>0]|0;l=n&255;a[s>>0]=l;if(!(q>>>2&2))m=0;else{m=d[h+(g+2)>>0]|0;g=g+1|0}a[s+1>>0]=m;a[s+2>>0]=0;a[s+2+1>>0]=0;a[s+2+2>>0]=0;a[s+2+3>>0]=0;if((l+-1&255)<=106)a[s>>0]=n+12;if(!(q>>>2&4))p=0;else{p=d[h+(g+2)>>0]|0;g=g+1|0}if(!(q>>>2&8))l=0;else{l=d[h+(g+2)>>0]|0;g=g+1|0}o=l&15;n=l&240;if(!(q>>>2&16))m=0;else{m=d[h+(g+2)>>0]|0;g=g+1|0}if(!(q>>>2&32))l=0;else{l=d[h+(g+2)>>0]|0;g=g+1|0}if((o|0)==14)if((n|0)!=0|(m&240|0)!=240)o=14;else{o=239;n=0;m=l|m<<8&3840;l=0}if(p|0){a[s+2>>0]=1;a[s+4>>0]=(p+1|0)>>>2}gPa(s,o,m);switch(a[s+3>>0]|0){case 14:case 17:case 16:break;default:gPa(s,n,l)}a[r>>0]=a[s>>0]|0;a[r+1>>0]=a[s+1>>0]|0;a[r+2>>0]=a[s+2>>0]|0;a[r+3>>0]=a[s+3>>0]|0;a[r+4>>0]=a[s+4>>0]|0;a[r+5>>0]=a[s+5>>0]|0;l=r+(c*6|0)|0;k=k+1|0;break}default:{l=r+((_((q>>>2)+1|0,c)|0)*6|0)|0;g=p;k=(q>>>2)+1+k|0}}if(k>>>0>>0&g>>>0>>0){r=l;l=g}else break}i=s;return}function gPa(b,c,d){b=b|0;c=c|0;d=d|0;var e=0;a:do switch(c|0){case 1:{e=2;c=d;break}case 2:{e=3;c=d;break}case 3:{e=4;c=d;break}case 4:{e=5;c=d;break}case 5:{e=1;c=d;break}case 7:{e=d>>>0<32?16:17;c=d;break}case 8:{e=9;c=d<<1;break}case 11:{e=12;c=d;break}case 12:{e=23;c=d;break}case 13:{e=14;c=((d>>>4)*10|0)+(d&15)|0;break}case 14:do switch(d&240|0){case 16:{if(d&15|0){e=29;c=(d&15|0)==0?d:d|240;break a}return}case 32:if(!(d&15))return;else{e=29;c=d<<4|15;break a}case 48:{e=20;c=d&15|16;break a}case 64:{e=20;c=d&15|48;break a}case 96:{e=20;c=d&15|176;break a}case 112:{e=20;c=d&15|64;break a}case 144:{e=15;c=d&15;break a}case 160:{e=24;c=d<<4&240;break a}case 176:{e=24;c=d&15;break a}case 240:{e=20;c=d>>>8&15|160;break a}case 0:return;default:{e=20;c=d;break a}}while(0);case 15:{e=16;c=d;break}case 16:switch(d&240|0){case 240:{e=11;c=d<<4|15;break a}case 224:return;default:{e=11;c=d>>>2;break a}}case 32:if((d&240|0)==224)return;else{e=11;c=(d&240|0)==240?d:d>>>2;break a}case 48:{e=15;c=d;break}case 64:{e=8;c=d;break}case 80:{e=18;c=d;break}case 239:{e=10;c=d>>>0>255?255:d;break}default:return}while(0);a[b+3>>0]=e;a[b+5>>0]=c;return}function hPa(f,g,h){f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;if((g|0)==0|h>>>0<133){A=0;return A|0}i=d[g+76>>0]|d[g+76+1>>0]<<8;if(!(i<<16>>16)){A=0;return A|0}if((d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24|0)!=810369604){A=0;return A|0}if(!((d[g+72>>0]|d[g+72+1>>0]<<8)<<16>>16)){A=0;return A|0}if((d[g+78>>0]|d[g+78+1>>0]<<8|d[g+78+2>>0]<<16|d[g+78+3>>0]<<24|0)!=1196314451){A=0;return A|0}if((d[g+8>>0]|d[g+8+1>>0]<<8|d[g+8+2>>0]<<16|d[g+8+3>>0]<<24|0)!=1162690894){A=0;return A|0}if((d[g+12>>0]|d[g+12+1>>0]<<8|d[g+12+2>>0]<<16|d[g+12+3>>0]<<24|0)!=738197504){A=0;return A|0}if((d[g+60>>0]|d[g+60+1>>0]<<8|d[g+60+2>>0]<<16|d[g+60+3>>0]<<24|0)!=1330007625){A=0;return A|0}if((d[g+64>>0]|d[g+64+1>>0]<<8|d[g+64+2>>0]<<16|d[g+64+3>>0]<<24|0)!=167772160){A=0;return A|0}j=(d[g+130>>0]|d[g+130+1>>0]<<8)&65535;l=(j<<8&65280|j>>>8)<<1;if((l+156|0)>>>0>=h>>>0){A=0;return A|0}m=(d[g+68>>0]|d[g+68+1>>0]<<8)&65535;o=(d[g+70>>0]|d[g+70+1>>0]<<8)&65535;n=(d[g+74>>0]|d[g+74+1>>0]<<8)&65535;c[f+59680>>2]=524288;k=((i&65535)<<8&65280|(i&65535)>>>8)>>>0<4?4:(i&65535)<<8&65280|(i&65535)>>>8;c[f+59664>>2]=k>>>0>64?64:k;k=f+59804|0;s=a[g+16>>0]|0?g+16|0:g+86|0;t=k+31|0;do{a[k>>0]=a[s>>0]|0;k=k+1|0;s=s+1|0}while((k|0)<(t|0));a[f+59835>>0]=0;if(j<<8&65280|j>>>8|0){i=0;do{a[f+53344+i>>0]=a[g+((i<<1)+133)>>0]|0;z=i;i=i+1|0}while(z>>>0<254?i>>>0<(j<<8&65280|j>>>8)>>>0:0)}if((l+142|0)>>>0>=h>>>0){A=1;return A|0}k=l+142|0;j=l+132|0;l=m<<8&65280|m>>>8;z=n<<8&65280|n>>>8;i=o<<8&65280|o>>>8;a:while(1){u=l;b:while(1){c:while(1){q=j;d:while(1){y=gBb(c[g+(q+4)>>2]|0)|0;l=q+8|0;m=q;q=y+l|0;if(y>>>0>h>>>0|q>>>0>h>>>0){i=1;A=96;break a}j=c[g+m>>2]|0;e:do if((j|0)<1414807888)if((j|0)<1414745673)switch(j|0){case 1280331091:{j=q;break d}default:break e}else switch(j|0){case 1414745673:{j=q;break c}default:break e}else{if((j|0)<1447970134)switch(j|0){case 1414807888:{j=q;break b}default:break e}switch(j|0){case 1447970134:break;default:break e}p=a[g+(m+9)>>0]|0;if(!(p<<24>>24))break;else o=0;do{n=k;k=k+136|0;if(k>>>0>q>>>0)break e;j=(d[g+n>>0]|d[g+n+1>>0]<<8)&65535;do if(((j<<8&65280|j>>>8)+-1|0)>>>0<239){m=c[f+48640+((j<<8&65280|j>>>8)<<2)>>2]|0;if(!m)break;j=a[g+(n+3)>>0]|0;if(!(j<<24>>24))break;l=a[g+(n+2)>>0]|0;if(l&1)c[m+4>>2]=c[m+4>>2]|1;if(l&2)c[m+4>>2]=c[m+4>>2]|2;if(l&4)c[m+4>>2]=c[m+4>>2]|4;y=((j&255)+1&255)>>>0>32?32:(j&255)+1&255;a[m+556>>0]=y;a[m+559>>0]=a[g+(n+5)>>0]|0;a[m+560>>0]=a[g+(n+6)>>0]|0;x=a[g+(n+4)>>0]|0;a[m+562>>0]=x;a[m+561>>0]=x;if(!(y<<24>>24))break;j=0;do{y=j<<1;x=(d[g+(n+8)+(y<<1)>>0]|d[g+(n+8)+(y<<1)+1>>0]<<8)&65535;b[m+12+(j<<1)>>1]=x>>>8|x<<8;a[m+204+j>>0]=((d[g+(n+8)+((y|1)<<1)>>0]|d[g+(n+8)+((y|1)<<1)+1>>0]<<8)&65535)>>>8;j=j+1|0}while(j>>>0<(d[m+556>>0]|0)>>>0)}while(0);o=o+1|0}while(o>>>0<(p&255)>>>0)}while(0);k=q+10|0;if(k>>>0>=h>>>0){i=1;A=96;break a}}i=i>>>0>239?239:i;c[f+59684>>2]=i;f:do if((i|0)!=0&(m+18|0)>>>0>>0){p=1;do{n=g+l|0;m=l+8|0;k=g+(l+4)|0;k=gBb(d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24|0)|0;n=d[n>>0]|d[n+1>>0]<<8|d[n+2>>0]<<16|d[n+3>>0]<<24;o=f+33280+(p<<6)|0;c[o>>2]=k;if(n&33554432){y=f+33280+(p<<6)+34|0;b[y>>1]=e[y>>1]|1;k=k<<1}l=k+m|0;if(k>>>0>h>>>0|l>>>0>j>>>0)break f;if(n&50331648|0)SNa(f,o,b[f+33280+(p<<6)+34>>1]&1?7:0,g+m|0,k)|0;p=p+1|0}while(p>>>0<=i>>>0&(l+10|0)>>>0>>0)}while(0);if((j+10|0)>>>0>>0)k=j+10|0;else{i=1;A=96;break a}}u=u>>>0>239?239:u;g:do if(u|0){r=0;do{p=l;l=l+50|0;if(l>>>0>j>>>0)break g;m=YAb(632)|0;n=(d[g+(p+30)>>0]|d[g+(p+30)+1>>0]<<8)&65535;o=((n<<8&65280|n>>>8)+-1|0)>>>0<239;q=o?f+33280+((n<<8&65280|n>>>8)<<6)|0:0;hBb(m|0,0,632)|0;k=m+585|0;s=g+p|0;t=k+30|0;do{a[k>>0]=a[s>>0]|0;k=k+1|0;s=s+1|0}while((k|0)<(t|0));if(o){k=f+59804+((n<<8&65280|n>>>8)<<5)|0;s=g+p|0;t=k+30|0;do{a[k>>0]=a[s>>0]|0;k=k+1|0;s=s+1|0}while((k|0)<(t|0));a[f+59804+((n<<8&65280|n>>>8)<<5)+30>>0]=0}r=r+1|0;c[f+48640+(r<<2)>>2]=m;c[m>>2]=1024;b[m+8>>1]=64;y=(d[g+(p+46)>>0]|d[g+(p+46)+1>>0]<<8)&65535;b[m+10>>1]=y>>>8|y<<8;if((y<<8&65280)>>>0<256?((y>>>8|y<<8)&65535)<<16>>16!=0:0)c[m+4>>2]=512;else b[m+10>>1]=128;a[m+584>>0]=60;k=0;do{a[m+(k+300)>>0]=n>>>8;y=k;k=k+1|0;a[m+(y+428)>>0]=k}while((k|0)!=120);do if(o){m=((d[g+(p+48)>>0]|d[g+(p+48)+1>>0]<<8)&65535)>>>8;k=(d[g+(p+32)>>0]|d[g+(p+32)+1>>0]<<8)&65535;b[q+30>>1]=(((k>>>8|k<<8)<<2&65532)>>>0>256?1:((k>>>8|k<<8)<<2&65535)<<16>>16==0)?256:(k>>>8|k<<8)<<2&65535;b[q+32>>1]=64;k=gBb(d[g+(p+34)>>0]|d[g+(p+34)+1>>0]<<8|d[g+(p+34)+2>>0]<<16|d[g+(p+34)+3>>0]<<24|0)|0;c[q+24>>2]=k;k=iPa(k)|0;a[q+36>>0]=k>>>7;a[q+37>>0]=k&127;k=d[g+(p+42)>>0]|d[g+(p+42)+1>>0]<<8|d[g+(p+42)+2>>0]<<16|d[g+(p+42)+3>>0]<<24;if((m&3|0)==0|(k|0)==0)break;y=gBb(d[g+(p+38)>>0]|d[g+(p+38)+1>>0]<<8|d[g+(p+38)+2>>0]<<16|d[g+(p+38)+3>>0]<<24|0)|0;c[q+4>>2]=y;c[q+8>>2]=(gBb(k|0)|0)+y;k=e[q+34>>1]|0;b[q+34>>1]=k&65529|2;if(!(m&2))break;b[q+34>>1]=k|6}while(0);c[f+59688>>2]=r}while(r>>>0>>0)}while(0);if((j+10|0)>>>0>>0)k=j+10|0;else{i=1;A=96;break a}}z=z>>>0>240?240:z;h:do if(!((z|0)==0|(m+16|0)>>>0>j>>>0)){y=0;do{w=g+(l+2)|0;w=gBb(d[w>>0]|d[w+1>>0]<<8|d[w+2>>0]<<16|d[w+3>>0]<<24|0)|0;x=l+6|0;k=l;l=x+w|0;if(w>>>0>j>>>0|l>>>0>j>>>0)break h;v=(d[g+k>>0]|d[g+k+1>>0]<<8)&65535;i:do if(((v<<8&65280|v>>>8)+-4|0)>>>0<253){k=ONa(v<<8&65280|v>>>8,c[f+59664>>2]|0)|0;if(k|0){b[f+52864+(y<<1)>>1]=v<<8&65280|v>>>8;c[f+51904+(y<<2)>>2]=k;if(w>>>0>3){o=3;m=0;n=0}else break;while(1){while(1){p=m+1|0;t=a[g+(m+x)>>0]|0;if(!(t<<24>>24))break;m=m+2|0;s=d[g+(p+x)>>0]|0;do if(((t&255)+-1|0)>>>0<(c[f+59664>>2]|0)>>>0){if(s&1|0){m=a[g+(m+x)>>0]|0;do if(m<<24>>24==31)m=255;else{if((m+-1&255)>=253){m=m&255;break}m=(m&15)+13+(((m&255)>>>4)*12|0)|0}while(0);a[k+(((t&255)+-1|0)*6|0)>>0]=m;m=o}if(s&2){a[k+(((t&255)+-1|0)*6|0)+1>>0]=a[g+(m+x)>>0]|0;m=m+1|0}if(!(s&60))break;if(!(s&4))o=255;else{o=d[g+(m+x)>>0]|0;m=m+1|0}if(!(s&8)){r=m;p=0}else{r=m+1|0;p=d[g+(m+x)>>0]|0}if(!(s&16))q=255;else{q=d[g+(r+x)>>0]|0;r=r+1|0}if(!(s&32)){m=r;r=0}else{m=r+1|0;r=d[g+(r+x)>>0]|0}do if((o|0)==12){a[k+(((t&255)+-1|0)*6|0)+2>>0]=1;a[k+(((t&255)+-1|0)*6|0)+4>>0]=p;o=q;A=83}else{if((q|0)==12){a[k+(((t&255)+-1|0)*6|0)+2>>0]=1;a[k+(((t&255)+-1|0)*6|0)+4>>0]=r;q=255}if(o>>>0>19){o=q;A=83;break}if(o>>>0>15&q>>>0<16){o=q;A=83}}while(0);if((A|0)==83){A=0;if(o>>>0<20)p=r;else break}a[k+(((t&255)+-1|0)*6|0)+3>>0]=o;a[k+(((t&255)+-1|0)*6|0)+5>>0]=p;PNa(f,k+(((t&255)+-1|0)*6|0)|0)}else m=(s>>>2&1)+(s>>>1&1)+(s>>>3&1)+(s>>>4&1)+(s>>>5&1)+(s&1|0?o:m)|0;while(0);o=m+3|0;if(o>>>0>=w>>>0)break i}n=n+1|0;if((m+4|0)>>>0>>0?n>>>0<(v<<8&65280|v>>>8)>>>0:0){o=m+4|0;m=p;k=k+((c[f+59664>>2]|0)*6|0)|0}else break}}}while(0);y=y+1|0}while(!(y>>>0>=z>>>0|(l+8|0)>>>0>j>>>0))}while(0);if((j+10|0)>>>0>>0){k=j+10|0;l=u}else{i=1;A=96;break}}if((A|0)==96)return i|0;return 0}function iPa(a){a=a|0;return ~~(+Y(+(+(a>>>0)*1.1957431543704412e-04))*2215.9795828054475)|0}function jPa(f,g,h){f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;if((g|0)==0|h>>>0<498){f=0;return f|0}i=b[g>>1]|0;a:do if(i<<16>>16<26217){switch(i<<16>>16){case 20042:break a;default:i=0}return i|0}else{switch(i<<16>>16){case 26217:break a;default:i=0}return i|0}while(0);k=a[g+110>>0]|0;if(!(k<<24>>24)){f=0;return f|0}if((k&255)>64){f=0;return f|0}if((a[g+112>>0]|0)<0){f=0;return f|0}i=a[g+111>>0]|0;if(i+-1<<24>>24<<24>>24<0){f=0;return f|0}if((((k&255)*25|0)+497+((i&255)*1536|0)|0)>>>0>h>>>0){f=0;return f|0}else{i=((k&255)*25|0)+497+((i&255)*1536|0)|0;j=0}do{i=(d[g+497+(j*25|0)+15>>0]<<16|d[g+497+(j*25|0)+16>>0]<<24|d[g+497+(j*25|0)+14>>0]<<8|d[g+497+(j*25|0)+13>>0])+i|0;j=j+1|0}while(j>>>0<(k&255)>>>0);if(i>>>0>h>>>0){f=0;return f|0}c[f+59680>>2]=64;c[f+59660>>2]=c[f+59660>>2]|16;c[f+59764>>2]=112;c[f+59768>>2]=13696;c[f+59652>>2]=125;c[f+59648>>2]=6;c[f+59664>>2]=8;k=f+59804|0;l=g+2|0;m=k+16|0;do{a[k>>0]=a[l>>0]|0;k=k+1|0;l=l+1|0}while((k|0)<(m|0));v=a[g+110>>0]|0;c[f+59684>>2]=v&255;if(v<<24>>24){i=1;j=g+497|0;while(1){s=d[j+15>>0]<<16|d[j+16>>0]<<24|d[j+14>>0]<<8|d[j+13>>0];u=d[j+19>>0]<<16|d[j+20>>0]<<24|d[j+18>>0]<<8|d[j+17>>0];t=d[j+23>>0]<<16|d[j+24>>0]<<24|d[j+22>>0]<<8|d[j+21>>0];s=s>>>0>16e6?16e6:s;t=(u|0)!=0|t>>>0<=s>>>0?t:0;t=t>>>0>s>>>0?s:t;v=(u+4|0)>>>0>>0?t:0;c[f+33280+(i<<6)>>2]=s;c[f+33280+(i<<6)+4>>2]=(u+4|0)>>>0>>0?u:0;c[f+33280+(i<<6)+8>>2]=v;if(v|0){v=f+33280+(i<<6)+34|0;b[v>>1]=e[v>>1]|2}k=f+59804+(i<<5)|0;l=j;m=k+13|0;do{a[k>>0]=a[l>>0]|0;k=k+1|0;l=l+1|0}while((k|0)<(m|0));b[f+33280+(i<<6)+30>>1]=256;b[f+33280+(i<<6)+32>>1]=64;b[f+33280+(i<<6)+28>>1]=128;i=i+1|0;if(i>>>0>(c[f+59684>>2]|0)>>>0)break;else j=j+25|0}}i=_Ab(109)|0;c[f+59796>>2]=i;k=i;l=g+2|0;m=k+108|0;do{a[k>>0]=a[l>>0]|0;k=k+1|0;l=l+1|0}while((k|0)<(m|0));a[i+108>>0]=0;k=f+53344|0;l=g+113|0;m=k+128|0;do{a[k>>0]=a[l>>0]|0;k=k+1|0;l=l+1|0}while((k|0)<(m|0));i=d[g+112>>0]|0;c[f+59736>>2]=i;v=a[g+111>>0]|0;c[f+59736>>2]=(d[f+53344+i>>0]|0)<(v&255)?i:0;c[f+49600>>2]=208;c[f+49604>>2]=64;c[f+49636>>2]=48;c[f+49640>>2]=64;c[f+49672>>2]=208;c[f+49676>>2]=64;c[f+49708>>2]=48;c[f+49712>>2]=64;c[f+49744>>2]=208;c[f+49748>>2]=64;c[f+49780>>2]=48;c[f+49784>>2]=64;c[f+49816>>2]=208;c[f+49820>>2]=64;c[f+49852>>2]=48;c[f+49856>>2]=64;i=((d[g+110>>0]|0)*25|0)+497|0;b:do if(v<<24>>24){v=ONa(64,8)|0;c[f+51904>>2]=v;if(v){j=f+51904|0;v=0;do{b[f+52864+(v<<1)>>1]=64;t=g+(v+369)|0;u=g+(v+241)|0;q=c[j>>2]|0;r=g+i|0;s=0;do{if((s|0)!=63&(s|0)==(d[t>>0]|0)){a[q+3>>0]=14;a[q+5>>0]=0;a[q+9>>0]=14;a[q+11>>0]=0;a[q+15>>0]=14;a[q+17>>0]=0;a[q+21>>0]=14;a[q+23>>0]=0;a[q+27>>0]=14;a[q+29>>0]=0;a[q+33>>0]=14;a[q+35>>0]=0;a[q+39>>0]=14;a[q+41>>0]=0;a[q+45>>0]=14;a[q+47>>0]=0}n=q;l=q;o=0;p=r;r=r+24|0;while(1){j=a[p>>0]|0;k=d[p+1>>0]|0;if((j&255)<254){a[n>>0]=((j&255)>>>2)+37;a[n+1>>0]=((j&255)<<4&48|k>>>4)+1;j=a[p>>0]|0}if(j<<24>>24!=-1){a[n+2>>0]=1;a[n+4>>0]=k<<2&60|2}j=a[p+2>>0]|0;c:do if(j<<24>>24!=-1){k=j&15;d:do switch((j&255)>>>4|0){case 0:{m=2;j=k;break}case 1:{m=3;j=k;break}case 2:{m=4;j=k;break}case 3:{m=19;j=k|80;break}case 4:{m=5;j=k|64;break}case 5:{if(!k)break c;else{m=16;l=0;j=k+2|0}break}case 6:{switch(k|0){case 0:{m=29;j=254;break d}case 1:break;default:break c}m=29;j=239;break}default:break c}while(0);a[n+3>>0]=m;a[n+5>>0]=j}while(0);o=o+1|0;if((o|0)==8)break;else{n=n+6|0;p=p+3|0}}q=q+48|0;e:do if((s|0)==0&(l|0)!=0){do if(!(a[l+3>>0]|0)){j=l+3|0;k=0}else if(!(a[l+9>>0]|0)){j=l+9|0;k=1}else{if(!(a[l+15>>0]|0)){j=l+15|0;k=2;break}if(!(a[l+21>>0]|0)){j=l+21|0;k=3;break}if(!(a[l+27>>0]|0)){j=l+27|0;k=4;break}if(!(a[l+33>>0]|0)){j=l+33|0;k=5;break}if(!(a[l+39>>0]|0)){j=l+39|0;k=6;break}if(!(a[l+45>>0]|0)){j=l+45|0;k=7}else break e}while(0);a[j>>0]=16;a[l+(k*6|0)+5>>0]=(d[u>>0]|0)+2}while(0);s=s+1|0}while((s|0)!=64);i=i+1536|0;v=v+1|0;if(v>>>0>=(d[g+111>>0]|0)>>>0)break b;u=ONa(64,c[f+59664>>2]|0)|0;j=f+51904+(v<<2)|0;c[j>>2]=u}while((u|0)!=0)}}while(0);j=c[f+59684>>2]|0;if(!j){f=1;return f|0}else m=1;while(1){k=f+33280+(m<<6)|0;l=c[k>>2]|0;if(i>>>0>=h>>>0){i=1;j=47;break}if(l>>>0>4){SNa(f,k,1,g+i|0,h-i|0)|0;j=c[f+59684>>2]|0}m=m+1|0;if(m>>>0>j>>>0){i=1;j=47;break}else i=l+i|0}if((j|0)==47)return i|0;return 0}function kPa(e,f,g){e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=i;i=i+16|0;if((f|0)==0|g>>>0<1024){e=0;i=w;return e|0}if((d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24|0)!=-28163770){e=0;i=w;return e|0}if((a[f+44>>0]|0)!=13){e=0;i=w;return e|0}if((a[f+45>>0]|0)!=10){e=0;i=w;return e|0}if((a[f+46>>0]|0)!=26){e=0;i=w;return e|0}n=(d[f+47>>0]|d[f+47+1>>0]<<8)&65535;o=d[f+96>>0]|d[f+96+1>>0]<<8;if(n>>>0>=g>>>0){e=0;i=w;return e|0}if(((o&65535)+869|0)>>>0>=g>>>0){e=0;i=w;return e|0}c[e+59680>>2]=512;c[e+59664>>2]=16;c[e+59688>>2]=0;c[e+59684>>2]=0;c[e+59748>>2]=32;c[e+59648>>2]=d[f+75>>0];c[e+59652>>2]=80;c[e+59656>>2]=256;k=e+59804|0;l=f+4|0;m=k+32|0;do{a[k>>0]=a[l>>0]|0;k=k+1|0;l=l+1|0}while((k|0)<(m|0));h=0;do{c[e+49600+(h*36|0)+8>>2]=0;c[e+49600+(h*36|0)>>2]=d[f+(h+76)>>0]<<4&240|8;c[e+49600+(h*36|0)+4>>2]=64;h=h+1|0}while((h|0)!=16);if(!(o<<16>>16))k=98;else{k=(o&65535)>>>0>(g+-98|0)>>>0?g+-98|0:o&65535;t=_Ab(k+1|0)|0;c[e+59796>>2]=t;mBb(t|0,f+98|0,k|0)|0;a[t+k>>0]=0;k=(o&65535)+98|0}if((g-k|0)>>>0<771){e=1;i=w;return e|0}m=k+771|0;if(m>>>0>=g>>>0){e=1;i=w;return e|0}h=f+(k+257)|0;l=0;do{if(l>>>0>(d[h>>0]|0)>>>0)j=255;else j=d[f+(l+k)>>0]|0;a[e+53344+l>>0]=j;l=l+1|0}while((l|0)!=256);c[e+59736>>2]=d[f+(k+258)>>0];if((m+(n-((o&65535)+869))|0)>>>0>=g>>>0){e=1;i=w;return e|0}t=f+(k+259)|0;l=m+(n-((o&65535)+869))|0;s=0;a:while(1){j=b[t+(s<<1)>>1]|0;b:do if(!(j<<16>>16))h=l;else{h=(j&65535)+l|0;if(!(s>>>0>239|(j&65535)<2)){if(h>>>0>=g>>>0){u=1;h=61;break a}if(((j&65535)+-2|0)>>>6){r=((j&65535)+-2|0)>>>0>16447?256:((j&65535)+-2|0)>>>6;r=r>>>0<16?16:r;b[e+52864+(s<<1)>>1]=r;k=ONa(r,c[e+59664>>2]|0)|0;c[e+51904+(s<<2)>>2]=k;if(!k){u=1;h=61;break a}q=l+2|0;o=r<<6>>>0>((j&65535)+-2|0)>>>0?(j&65535)+-2|0:r<<6;if(o){p=0;j=d[f+l>>0]|0;while(1){l=a[f+(p+q)>>0]|0;m=a[f+((p|2)+q)>>0]|0;n=a[f+((p|3)+q)>>0]|0;if(l<<24>>24){a[k+1>>0]=(d[f+((p|1)+q)>>0]|0)+1;a[k>>0]=(l&255)+36}if(m&15|0){a[k+2>>0]=1;a[k+4>>0]=(m&15)<<2>>>0<5?0:(m&15)<<2&255}c:do switch(n&240|0){case 16:{a[k+3>>0]=2;a[k+5>>0]=n&15;break}case 32:{a[k+3>>0]=3;a[k+5>>0]=n&15;break}case 48:{a[k+3>>0]=4;a[k+5>>0]=(n&255)<<2&60;break}case 64:{a[k+3>>0]=15;a[k+5>>0]=(6/(((n&15)+1|0)>>>0)|0)+1;break}case 80:{a[k+3>>0]=5;a[k+5>>0]=n&15;break}case 96:{a[k+3>>0]=5;a[k+5>>0]=(n&255)<<4;break}case 112:{a[k+3>>0]=11;a[k+5>>0]=(n&255)<<4;break}case 128:{a[k+3>>0]=11;a[k+5>>0]=n&15;break}case 160:{a[k+2>>0]=1;a[k+4>>0]=((n&255)<<2&60)+4;break}case 176:{a[k+3>>0]=9;a[k+5>>0]=(n&255)<<4;break}case 240:{a[k+3>>0]=16;a[k+5>>0]=n&15;break}default:{if(!j){j=0;break c}n=j+1|0;if((n|0)==(r+-1|0)|(n|0)!=(p>>>6|0))break c;a[k+3>>0]=14;j=0}}while(0);p=p+4|0;if(p>>>0>=o>>>0)break b;else k=k+6|0}}}}}while(0);s=s+1|0;if(s>>>0>=256){v=h;h=48;break}else l=h}if((h|0)==48){if((v+8|0)>>>0>=g>>>0){e=1;i=w;return e|0}h=d[f+v+4>>0]|d[f+v+4+1>>0]<<8|d[f+v+4+2>>0]<<16|d[f+v+4+3>>0]<<24;c[w>>2]=d[f+v>>0]|d[f+v+1>>0]<<8|d[f+v+2>>0]<<16|d[f+v+3>>0]<<24;c[w+4>>2]=h;h=v+8|0;j=0;r=e+33344|0;while(1){if(!(d[w+(j>>>3)>>0]&1<<(j&7)))j=j+1|0;else{q=h+48|0;if(q>>>0>g>>>0){u=1;h=61;break}j=j+1|0;c[e+59684>>2]=j;k=e+59804+(j<<5)|0;l=f+h|0;m=k+32|0;do{a[k>>0]=a[l>>0]|0;k=k+1|0;l=l+1|0}while((k|0)<(m|0));p=f+(h+32)|0;p=d[p>>0]|d[p+1>>0]<<8|d[p+2>>0]<<16|d[p+3>>0]<<24;c[r>>2]=p;l=f+(h+38)|0;l=d[l>>0]|d[l+1>>0]<<8|d[l+2>>0]<<16|d[l+3>>0]<<24;m=r+4|0;c[m>>2]=l;k=f+(h+42)|0;k=d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24;n=r+8|0;c[n>>2]=k;a[r+37>>0]=0;c[r+24>>2]=16726;b[r+32>>1]=64;b[r+30>>1]=d[f+(h+37)>>0]<<4;o=r+34|0;b[o>>1]=0;if((h+52|0)>>>0>>0&p>>>0>3){if(!(a[f+(h+46)>>0]&1))l=0;else{b[o>>1]=1;c[r>>2]=p>>>1;c[m>>2]=l>>>1;c[n>>2]=k>>>1;k=k>>>1;l=1}if(k>>>0>4?(a[f+(h+47)>>0]&8)!=0:0){h=(l&65535|2)&65535;b[o>>1]=h}else h=l;SNa(e,r,h&1?5:0,f+q|0,g-q|0)|0}h=p+q|0}if(j>>>0<64)r=r+64|0;else{u=1;h=61;break}}if((h|0)==61){i=w;return u|0}}else if((h|0)==61){i=w;return u|0}return 0}function lPa(f,g,h){f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;if((g|0)==0|h>>>0<1024){f=0;return f|0}if((a[g+8>>0]|0)==1)if(!(pmb(g,527047,7)|0)){m=d[g+11>>0]|d[g+11+1>>0]<<8;if(m<<16>>16){l=d[g+13>>0]|d[g+13+1>>0]<<8;if(l<<16>>16){n=a[g+10>>0]|0;if(n<<24>>24)if(!((l&65535)>256|((m&65535)>240|(n&255)>239))){l=((d[g+16>>0]|d[g+16+1>>0]<<8)&65535)+18|0;if((((n&255)*17|0)+256+l|0)>>>0>=h>>>0){f=0;return f|0}c[f+59680>>2]=4096;c[f+59688>>2]=0;p=(d[g+9>>0]&31)+1|0;c[f+59664>>2]=p;c[f+59684>>2]=n&255;n=l;o=1;while(1){y=g+n|0;y=d[y>>0]|d[y+1>>0]<<8|d[y+2>>0]<<16|d[y+3>>0]<<24;c[f+33280+(o<<6)>>2]=y;z=g+(n+4)|0;z=d[z>>0]|d[z+1>>0]<<8|d[z+2>>0]<<16|d[z+3>>0]<<24;c[f+33280+(o<<6)+4>>2]=z;A=g+(n+8)|0;A=d[A>>0]|d[A+1>>0]<<8|d[A+2>>0]<<16|d[A+3>>0]<<24;c[f+33280+(o<<6)+8>>2]=A;b[f+33280+(o<<6)+32>>1]=64;b[f+33280+(o<<6)+30>>1]=d[g+(n+15)>>0]<<1;l=g+(n+13)|0;c[f+33280+(o<<6)+24>>2]=(d[l>>0]|d[l+1>>0]<<8)&65535;l=d[g+(n+12)>>0]|0;b[f+33280+(o<<6)+28>>1]=(l&240)>>>0<128?(l&240)+16|0:l&240;a[f+33280+(o<<6)+37>>0]=l<<4;l=(d[g+(n+16)>>0]|0)>>>7;if(A>>>0>y>>>0|(z+4|0)>>>0>A>>>0)l=l&255;else l=(l&255|2)&65535;b[f+33280+(o<<6)+34>>1]=l;o=o+1|0;m=n+17|0;l=c[f+59684>>2]|0;if(o>>>0>l>>>0){o=n;break}else n=m}n=d[g+m>>0]|0;if((n+(o+18)+1|0)>>>0>=h>>>0){f=1;return f|0}m=n>>>0>31?31:n;if(m|0)mBb(f+59804|0,g+(o+18)|0,m|0)|0;a[f+59804+m>>0]=0;do if(!l){t=p;i=n+(o+18)|0;m=19}else{m=n+(o+18)|0;n=1;while(1){if((m+32|0)>>>0>=h>>>0){q=1;m=86;break}s=m+1|0;r=d[g+m>>0]|0;m=r>>>0>31?31:r;if(m){mBb(f+59804+(n<<5)|0,g+s|0,m|0)|0;l=c[f+59684>>2]|0}n=n+1|0;if(n>>>0>l>>>0){m=18;break}else m=r+s|0}if((m|0)==18){l=c[f+59664>>2]|0;if(!l){j=r+s|0;break}else{t=l;i=r+s|0;m=19;break}}else if((m|0)==86)return q|0}while(0);a:do if((m|0)==19){j=0;while(1){if((i+32|0)>>>0>=h>>>0){q=1;break}i=i+1+(d[g+i>>0]|0)|0;j=j+1|0;if(j>>>0>=t>>>0){j=i;break a}}return q|0}while(0);i=d[g+11>>0]|d[g+11+1>>0]<<8;A=_Ab((i&65535)<<5)|0;c[f+59800>>2]=A;c[f+59792>>2]=i&65535;hBb(A|0,0,(i&65535)<<5|0)|0;b:do if(!(i<<16>>16))i=j;else{i=i&65535;n=0;while(1){if((j+32|0)>>>0>=h>>>0){q=1;break}m=j+1|0;l=d[g+j>>0]|0;j=l>>>0>31?31:l;if(j){mBb((c[f+59800>>2]|0)+(n<<5)|0,g+m|0,j|0)|0;i=c[f+59792>>2]|0}n=n+1|0;if(n>>>0>=i>>>0){i=l+m|0;break b}else j=l+m|0}return q|0}while(0);j=b[g+i>>1]|0;i=i+2|0;if(((j&65535)+i|0)>>>0>=h>>>0){f=1;return f|0}if(j<<16>>16){A=_Ab((j&65535)+1|0)|0;c[f+59796>>2]=A;hBb(A|0,0,(j&65535)+1|0)|0;mBb(A|0,g+i|0,j&65535|0)|0;i=(j&65535)+i|0}if((d[g+13>>0]|d[g+13+1>>0]<<8)<<16>>16){j=0;do{a[f+53344+j>>0]=b[g+i>>1];j=j+1|0;i=i+2|0}while(j>>>0<((d[g+13>>0]|d[g+13+1>>0]<<8)&65535)>>>0)}c:do if(!((d[g+11>>0]|d[g+11+1>>0]<<8)<<16>>16))k=i;else{A=0;while(1){x=i+4|0;if(x>>>0>=h>>>0){q=1;m=86;break}y=c[g+i>>2]|0;if(y>>>0>=h>>>0){q=1;m=86;break}if((y+x|0)>>>0>h>>>0){q=1;m=86;break}z=f+52864+(A<<1)|0;b[z>>1]=64;j=ONa(64,c[f+59664>>2]|0)|0;if(!j){q=1;m=86;break}c[f+51904+(A<<2)>>2]=j;w=i+5|0;i=0;v=0;d:while(1){do{l=i+2|0;if(!(l>>>0>>0?v>>>0<(e[z>>1]|0)>>>0:0))break d;m=a[g+(i+x)>>0]|0;n=a[g+(w+i)>>0]|0;u=m&63;do if(!(m&64)){o=i+3|0;l=a[g+(l+x)>>0]|0;if(u>>>0<(c[f+59664>>2]|0)>>>0){if(n&127|0)a[j+(u*6|0)>>0]=(n&127)+25;a[j+(u*6|0)+1>>0]=l}if(n<<24>>24>=0){i=o;break}m=(m&255|64)&255;n=a[g+(o+x)>>0]|0;i=i+4|0}else i=l;while(0);t=m&255;e:do if(t&64){o=j+(u*6|0)|0;p=j+(u*6|0)+3|0;q=j+(u*6|0)+5|0;r=j+(u*6|0)+2|0;s=j+(u*6|0)+4|0;while(1){n=n&255;f:do if(!(n&64)){l=i+1|0;i=a[g+(i+x)>>0]|0;if(u>>>0>=(c[f+59664>>2]|0)>>>0)break;switch(n&63|0){case 12:{a[r>>0]=1;a[s>>0]=(i&255)>>>1;break f}case 14:{if(a[p>>0]|0)break f;g:do switch(i&240|0){case 0:{if(!(i&8)){m=0;i=0;break g}m=20;i=i&7|144;break}case 16:{m=2;i=i&255|240;break}case 32:{m=3;i=i&255|240;break}case 48:{m=20;i=i&15|16;break}case 64:{m=20;i=i&15|48;break}case 80:{m=20;i=i&15|32;break}case 96:{m=20;i=i&15|176;break}case 112:{m=20;i=i&15|64;break}case 144:{m=15;i=i&15;break}case 160:{if(!(i&15)){m=0;i=0;break g}m=11;i=(i&255)<<4|15;break}case 176:{m=(i&15|0)==0?0:11;i=(i&15|0)==0?0:i&255|240;break}default:{m=20;i=i&255}}while(0);a[p>>0]=m;a[q>>0]=i;break f}default:{a[p>>0]=n&63;a[q>>0]=i;PNa(f,o);break f}}}else{if(u>>>0>=(c[f+59664>>2]|0)>>>0){l=i;break}a[r>>0]=1;a[s>>0]=n&63;l=i}while(0);if(!(n&128)){i=l;break e}i=l+1|0;if(i>>>0>y>>>0)break;else n=a[g+(l+x)>>0]|0}}while(0)}while((t&128|0)==0);j=j+((c[f+59664>>2]|0)*6|0)|0;v=v+1|0}A=A+1|0;if(A>>>0>=((d[g+11>>0]|d[g+11+1>>0]<<8)&65535)>>>0){k=y+x|0;break c}else i=y+x|0}if((m|0)==86)return q|0}while(0);i=c[f+59684>>2]|0;if(!i){f=1;return f|0}else l=1;while(1){j=f+33280+(l<<6)|0;if(!(c[j>>2]|0))j=k;else{if(k>>>0>=(h+-9|0)>>>0){q=1;m=86;break}j=(SNa(f,j,(b[f+33280+(l<<6)+34>>1]&1)<<2|17,g+k|0,h-k|0)|0)+k|0;i=c[f+59684>>2]|0}l=l+1|0;if(l>>>0>i>>>0){q=1;m=86;break}else k=j}if((m|0)==86)return q|0}}}}f=mPa(f,g,h)|0;return f|0}function mPa(f,g,h){f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=i;i=i+288|0;if((d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24|0)!=1750289729){f=0;i=B;return f|0}if((d[g+4>>0]|d[g+4+1>>0]<<8)<<16>>16!=29284){f=0;i=B;return f|0}if((a[g+6>>0]|0)!=26){f=0;i=B;return f|0}A=a[g+7>>0]|0;if((A&255)>30){f=0;i=B;return f|0}if(((d[g+((A&255)+8)>>0]|d[g+((A&255)+8)+1>>0]<<8)&-256)<<16>>16!=512){f=0;i=B;return f|0}j=a[g+((A&255)+10)>>0]|0;if((j+-1&255)>238){f=0;i=B;return f|0}if(!((d[g+((A&255)+11)>>0]|d[g+((A&255)+11)+1>>0]<<8)<<16>>16)){f=0;i=B;return f|0}if(!((d[g+((A&255)+13)>>0]|d[g+((A&255)+13)+1>>0]<<8)<<16>>16)){f=0;i=B;return f|0}if(A<<24>>24){mBb(f+59804|0,g+8|0,A&255|0)|0;a[(d[g+7>>0]|0)+(f+59804)>>0]=0;j=a[g+((A&255)+10)>>0]|0}c[f+59680>>2]=4096;c[f+59664>>2]=32;c[f+59652>>2]=((d[g+((A&255)+15)>>0]|d[g+((A&255)+15)+1>>0]<<8)&65535)>>>8;c[f+59648>>2]=d[g+((A&255)+17)>>0];c[f+59688>>2]=j&255;c[f+59684>>2]=0;if((d[g+((A&255)+21)>>0]|d[g+((A&255)+21)+1>>0]<<8)&64)c[f+59660>>2]=c[f+59660>>2]|16;a:do if(!(j<<24>>24))j=(A&255)+23|0;else{j=(A&255)+23|0;t=1;while(1){n=a[g+j>>0]|0;m=j+1|0;s=m+(n&255)|0;if((s+1145|0)>>>0>=h>>>0){u=1;break}o=a[g+(s+125)>>0]|0;q=((o&255)*3|0)+s+((d[g+(((o&255)*3|0)+s+130)>>0]|0)*3|0)|0;q=q+((d[g+(q+135)>>0]|0)*3|0)|0;r=YAb(632)|0;j=B+32|0;l=j+16|0;do{a[j>>0]=0;j=j+1|0}while((j|0)<(l|0));hBb(r|0,0,632)|0;p=a[g+s>>0]|0;b:do if(p<<24>>24){j=c[f+59684>>2]|0;l=0;do{j=j+1|0;if(j>>>0>239)break b;c[f+59684>>2]=j;a[B+32+l>>0]=j;l=l+1|0}while(!(l>>>0>15|l>>>0>=(p&255)>>>0))}while(0);b[r+8>>1]=64;b[r+10>>1]=128;a[r+584>>0]=60;c[f+48640+(t<<2)>>2]=r;if(n<<24>>24){z=(n&255)>31?31:n&255;mBb(r+585|0,g+m|0,z|0)|0;a[r+(z+585)>>0]=0}j=0;do{z=j;j=j+1|0;a[r+(z+428)>>0]=j;a[r+(z+300)>>0]=a[B+32+(d[g+(s+1+z)>>0]&15)>>0]|0}while((j|0)!=120);z=(o&255)>16?16:o;a[r+556>>0]=z;y=a[g+(s+122)>>0]|0;a[r+562>>0]=y;a[r+561>>0]=y;a[r+559>>0]=a[g+(s+123)>>0]|0;a[r+560>>0]=a[g+(s+124)>>0]|0;if(z<<24>>24){j=0;l=0;do{z=j*3|0;a[r+(j+204)>>0]=(d[g+(s+128+z)>>0]|0)>>>1&63;l=(d[g+(s+127+z)>>0]<<8&256|d[g+(z+(s+126))>>0])+l|0;b[r+12+(j<<1)>>1]=l;j=j+1|0}while(j>>>0<(d[r+556>>0]|0)>>>0)}c[r>>2]=(d[g+(q+138)>>0]<<8&3840|d[g+(q+137)>>0])<<3;j=d[g+(q+139)>>0]|0;if(j&1|0)c[r+4>>2]=c[r+4>>2]|4;if(j&2|0)c[r+4>>2]=c[r+4>>2]|2;if(j&4|0)c[r+4>>2]=c[r+4>>2]|1;if(!(p<<24>>24))j=q+141|0;else{m=q+141|0;p=0;while(1){do if(p>>>0<16){j=a[B+32+p>>0]|0;if(!(j<<24>>24)){o=0;break}o=f+33280+((j&255)<<6)|0}else o=0;while(0);l=a[g+m>>0]|0;n=(o|0)!=0;if(n&(l+-1&255)<22){j=m+1|0;mBb(f+59804+(d[B+32+p>>0]<<5)|0,g+j|0,l&255|0)|0}else j=m+1|0;l=j+(l&255)|0;do if(n){b[o+32>>1]=64;b[o+28>>1]=128;c[o>>2]=d[g+l>>0]|d[g+l+1>>0]<<8|d[g+l+2>>0]<<16|d[g+l+3>>0]<<24;c[o+4>>2]=d[g+(l+4)>>0]|d[g+(l+4)+1>>0]<<8|d[g+(l+4)+2>>0]<<16|d[g+(l+4)+3>>0]<<24;c[o+8>>2]=d[g+(l+8)>>0]|d[g+(l+8)+1>>0]<<8|d[g+(l+8)+2>>0]<<16|d[g+(l+8)+3>>0]<<24;c[o+24>>2]=(d[g+(l+15)>>0]|d[g+(l+15)+1>>0]<<8)&65535;a[o+36>>0]=a[g+(l+17)>>0]|0;b[o+30>>1]=(d[g+(l+18)>>0]|0)>>>1&255;j=a[g+(l+19)>>0]|0;a[B+48+(d[B+32+p>>0]|0)>>0]=j;if(j&4){z=o+34|0;b[z>>1]=e[z>>1]|1}if(j&8){z=o+34|0;b[z>>1]=e[z>>1]|2}if(!(j&16))break;z=o+34|0;b[z>>1]=e[z>>1]|4}while(0);p=p+1|0;if(p>>>0>=(d[g+s>>0]|0)>>>0){j=l+20|0;break}else m=l+20|0}}t=t+1|0;if(t>>>0>(c[f+59688>>2]|0)>>>0)break a}i=B;return u|0}while(0);if((j+256|0)>>>0>=h>>>0){f=1;i=B;return f|0}l=a[g+j>>0]|0;if(!(l<<24>>24))j=j+1|0;else{z=_Ab((l&255)+1|0)|0;c[f+59796>>2]=z;j=j+1|0;mBb(z|0,g+j|0,l&255|0)|0;a[z+(l&255)>>0]=0}j=j+(l&255)|0;l=g+j|0;m=0;while(1){l=a[l>>0]|0;if((l+-1&255)<19){j=j+1|0;mBb(f+49600+(m*36|0)+16|0,g+j|0,l&255|0)|0}else j=j+1|0;j=j+(l&255)|0;m=m+1|0;if(((l&255|256)+j|0)>>>0>=h>>>0){u=1;w=97;break}if(m>>>0>=32)break;else l=g+j|0}if((w|0)==97){i=B;return u|0}j=(c[g+j>>2]|0)+j|0;if((j+256|0)>>>0>>0)n=0;else{f=1;i=B;return f|0}while(1){l=f+53344+n|0;a[l>>0]=-1;m=j+2|0;if(m>>>0>=h>>>0){u=1;w=97;break}if(n>>>0<((d[g+((A&255)+13)>>0]|d[g+((A&255)+13)+1>>0]<<8)&65535)>>>0){a[l>>0]=a[g+j>>0]|0;j=m}n=n+1|0;if(n>>>0>=256){v=j;break}}if((w|0)==97){i=B;return u|0}c:do if(!((d[g+((A&255)+11)>>0]|d[g+((A&255)+11)+1>>0]<<8)<<16>>16))k=v;else{j=v;z=0;d:while(1){if((j+8|0)>>>0>=h>>>0){u=1;w=97;break}v=c[g+j>>2]|0;w=j+4|0;x=(d[g+w>>0]|0)+1|0;y=j+6|0;l=a[g+y>>0]|0;e:do if(z>>>0<240){if(!(v>>>0<(h-w|0)>>>0&x>>>0>7))break;if((l+-1&255)<31){mBb(B|0,g+(j+7)|0,l&255|0)|0;a[B+(l&255)>>0]=0;cPa(f,z,B)|0}b[f+52864+(z<<1)>>1]=x;j=ONa(x,c[f+59664>>2]|0)|0;u=f+51904+(z<<2)|0;c[u>>2]=j;if(!j){u=1;w=97;break d}if(((l&255)+3|0)>>>0>>0){p=(l&255)+3|0;l=0}else break;while(1){n=_(c[f+59664>>2]|0,l)|0;m=p+1|0;t=d[g+(p+w)>>0]|0;do if(!(t&64)){o=d[g+(m+w)>>0]|0;if(!(o&127))n=(t&31)+n|0;else{a[j+(((t&31)+n|0)*6|0)>>0]=(o&127)>>>0>1?(o&127)+255&255:-1;n=(t&31)+n|0}m=p+3|0;s=j+(n*6|0)|0;a[j+(n*6|0)+1>>0]=a[g+(y+p)>>0]|0;if(!(o&128))break;p=j+(n*6|0)+2|0;q=j+(n*6|0)+4|0;r=j+(n*6|0)+3|0;o=j+(n*6|0)+5|0;do{j=m+1|0;n=d[g+(m+w)>>0]|0;do if(!(n&64)){m=m+2|0;j=a[g+(j+w)>>0]|0;if((n&63|0)==12){a[p>>0]=1;a[q>>0]=(j&255)>>>1;break}if((n&63)>>>0>=16)break;a[r>>0]=n&63;a[o>>0]=j;PNa(f,s)}else{a[p>>0]=1;a[q>>0]=n&63;m=j}while(0)}while((n&128|0)!=0)}while(0);l=(t>>>7)+l|0;if(!(m>>>0>>0&l>>>0>>0))break e;j=c[u>>2]|0;p=m}}while(0);z=z+1|0;if(z>>>0>=((d[g+((A&255)+11)>>0]|d[g+((A&255)+11)+1>>0]<<8)&65535)>>>0){k=v+w|0;break c}else j=v+w|0}if((w|0)==97){i=B;return u|0}}while(0);j=c[f+59684>>2]|0;if(!j){f=1;i=B;return f|0}else m=1;while(1){l=f+33280+(m<<6)|0;if(c[l>>2]|0){if(k>>>0>=(h+-9|0)>>>0){u=1;w=97;break}j=b[f+33280+(m<<6)+34>>1]&1;if(!(a[B+48+m>>0]&3))j=j<<16>>16?5:0;else j=(j&65535)<<2|17;k=(SNa(f,l,j,g+k|0,h-k|0)|0)+k|0;j=c[f+59684>>2]|0}m=m+1|0;if(m>>>0>j>>>0){u=1;w=97;break}}if((w|0)==97){i=B;return u|0}return 0}function nPa(f,g,h){f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;if((g|0)==0|h>>>0<1024){f=0;return f|0}if((c[g>>2]|0)!=1096043343){f=0;return f|0}if((c[g+4>>2]|0)!=1196314451){f=0;return f|0}if((c[g+8>>2]|0)!=1146047811){f=0;return f|0}if(a[g+16>>0]|0){f=0;return f|0}if(a[g+18>>0]|0){f=0;return f|0}if(a[g+20>>0]|0){f=0;return f|0}if(a[g+22>>0]|0){f=0;return f|0}if((c[g+12>>2]|0)!=134217728){f=0;return f|0}if((c[g+24>>2]|0)!=1347240275){f=0;return f|0}c[f+59680>>2]=32768;m=(d[g+17>>0]|0)+4+(d[g+19>>0]|0)+(d[g+21>>0]|0)+(d[g+23>>0]|0)|0;c[f+59664>>2]=m>>>0>128?128:m;m=gBb(c[g+28>>2]|0)|0;c[f+59684>>2]=m>>>0>7679?239:m>>>5;a:do if(!(m>>>5)){j=h>>>0<33;i=32}else{j=h>>>0<33;i=32;n=1;while(1){if(j){i=1;break}if(n>>>0<240){j=f+59804+(n<<5)|0;k=g+i|0;l=j+20|0;do{a[j>>0]=a[k>>0]|0;j=j+1|0;k=k+1|0}while((j|0)<(l|0));j=f+33280+(n<<6)+34|0;b[j>>1]=0;c[f+33280+(n<<6)>>2]=gBb(c[g+(i|20)>>2]&-16777217|0)|0;p=e[g+(i|24)>>1]|0;c[f+33280+(n<<6)+4>>2]=p<<8&65280|p>>>8;o=e[g+(i|26)>>1]|0;c[f+33280+(n<<6)+8>>2]=(o<<8&65280|o>>>8)+(p<<8&65280|p>>>8);if(((p<<8&65280|p>>>8)+2|0)>>>0<((o<<8&65280|o>>>8)+(p<<8&65280|p>>>8)|0)>>>0)b[j>>1]=2;b[f+33280+(n<<6)+32>>1]=64;b[f+33280+(n<<6)+30>>1]=d[g+(i|29)>>0]<<2;c[f+33280+(n<<6)+24>>2]=8363}i=i+32|0;n=n+1|0;if(n>>>0>m>>>5>>>0){j=i>>>0>=h>>>0;break a}else j=i>>>0>=h>>>0}return i|0}while(0);if(j){f=1;return f|0}if((c[g+i>>2]|0)==1162170451){c[f+59648>>2]=d[g+(i|9)>>0];i=i+8+(gBb(c[g+(i|4)>>2]|0)|0)|0}if(i>>>0>=h>>>0){f=1;return f|0}if((c[g+i>>2]|0)==1313164371)i=i+8+(gBb(c[g+(i+4)>>2]|0)|0)|0;if(i>>>0>=h>>>0){f=1;return f|0}if((c[g+i>>2]|0)==1313164368){k=d[g+(i+9)>>0]|0;i=i+8+(gBb(c[g+(i+4)>>2]|0)|0)|0}else k=0;if(i>>>0>=h>>>0){f=1;return f|0}if((c[g+i>>2]|0)==1414807888){b:do if(k|0){j=i+10|0;l=0;do{a[f+53344+l>>0]=a[g+(j+l)>>0]|0;l=l+1|0}while((l|0)!=(k|0));if(k>>>0<=1)break;do{k=k+-1|0;j=f+53344+k|0;if(a[j>>0]|0)break b;a[j>>0]=-1}while(k>>>0>1)}while(0);i=i+8+(gBb(c[g+(i+4)>>2]|0)|0)|0}j=i+10|0;c:do if(j>>>0>>0){p=0;d:while(1){if((c[g+i>>2]|0)!=1146045008)break c;k=a[g+(i+9)>>0]|0;k=k<<24>>24?k&255:64;e:do if(p>>>0<240){l=ONa(k,c[f+59664>>2]|0)|0;c[f+51904+(p<<2)>>2]=l;if(!l){i=1;break d}b[f+52864+(p<<1)>>1]=k;o=_(c[f+59664>>2]|0,k)|0;if(!o)break;else n=0;while(1){m=j;j=j+4|0;if(j>>>0>h>>>0)break e;k=a[g+m>>0]|0;if(k<<24>>24){a[l>>0]=(k&255)+48;a[l+1>>0]=(d[g+(m+1)>>0]|0)+1}q=d[g+(m+2)>>0]|0;k=a[g+(m+3)>>0]|0;m=l+5|0;a[m>>0]=k;f:do switch(q|0){case 31:{if((k&255)<65){a[l+3>>0]=13;break f}if((k&255)<81){a[l+3>>0]=11;a[m>>0]=(k&15)<<24>>24==0?15:k&15;break f}if((k&255)<97){a[l+3>>0]=11;a[m>>0]=((k&255)<<4&255)<<24>>24==0?-16:(k&255)<<4&255;break f}if((k&255)<113){a[l+3>>0]=19;a[m>>0]=(k&15|0)==0?-65:(k&15|176)&255;break f}if((k&255)>=129)break f;a[l+3>>0]=19;a[m>>0]=(k&15|0)==0?-81:(k&15|160)&255;break}case 30:case 17:case 1:{if(!(k<<24>>24))break f;a[l+3>>0]=2;break}case 21:case 13:case 2:{if(!(k<<24>>24))break f;a[l+3>>0]=3;break}case 12:case 11:case 10:{a[l+3>>0]=1;break}case 15:{a[l+3>>0]=19;a[m>>0]=k&15;break}case 25:{a[l+3>>0]=12;break}case 28:{a[l+3>>0]=16;break}default:{}}while(0);n=n+1|0;if(n>>>0>=o>>>0)break e;else l=l+6|0}}while(0);i=i+8+(gBb(c[g+(i+4)>>2]|0)|0)|0;j=i+10|0;if(j>>>0>=h>>>0)break c;else p=p+1|0}return i|0}while(0);if((i+10|0)>>>0>=h>>>0){q=1;return q|0}k=1;while(1){if((c[g+i>>2]|0)!=1146045011){i=1;j=72;break}if(k>>>0<240){j=i+8|0;SNa(f,f+33280+(k<<6)|0,0,g+j|0,h+-8-i|0)|0}else j=i+8|0;i=j+(gBb(c[g+(i+4)>>2]|0)|0)|0;if((i+10|0)>>>0>=h>>>0){i=1;j=72;break}else k=k+1|0}if((j|0)==72)return i|0;return 0}function oPa(f,g,h){f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=i;i=i+608|0;if((g|0)==0|h>>>0<608){f=0;i=w;return f|0}mBb(w|0,g|0,608)|0;a:do if((d[w+44>>0]|d[w+44+1>>0]<<8|d[w+44+2>>0]<<16|d[w+44+3>>0]<<24|0)==1179472976){l=d[w+38>>0]|d[w+38+1>>0]<<8;if((l+-1&65535)>31)j=0;else{j=d[w+32>>0]|d[w+32+1>>0]<<8;if((j+-1&65535)>255)j=0;else{k=d[w+34>>0]|d[w+34+1>>0]<<8;if(!(k<<16>>16))j=0;else if((k&65535)>255)j=0;else{v=d[w+36>>0]|d[w+36+1>>0]<<8;if((v+-1&65535)>127)j=0;else if((((k&65535)*80|0)+608|0)<(h|0)){m=f+59804|0;n=w;o=m+28|0;do{a[m>>0]=a[n>>0]|0;m=m+1|0;n=n+1|0}while((m|0)<(o|0));a[f+59832>>0]=0;c[f+59680>>2]=262144;c[f+59664>>2]=l&65535;c[f+59684>>2]=(k&65535)>>>0>239?239:k&65535;mBb(f+53344|0,w+96|0,((j&65535)>>>0>255?255:j&65535)|0)|0;if(c[f+59664>>2]|0){j=0;do{c[f+49600+(j*36|0)+4>>2]=64;c[f+49600+(j*36|0)>>2]=(d[w+64+j>>0]|0)<<4&240|4;j=j+1|0}while(j>>>0<(c[f+59664>>2]|0)>>>0)}if(c[f+59684>>2]|0){t=608;u=0;while(1){u=u+1|0;s=f+33280+(u<<6)|0;j=g+t|0;Rob(f+59804+(u<<5)|0,g+(t+50)|0,28)|0;m=f+33280+(u<<6)+42|0;n=g+(t|1)|0;o=m+12|0;do{a[m>>0]=a[n>>0]|0;m=m+1|0;n=n+1|0}while((m|0)<(o|0));a[f+33280+(u<<6)+54>>0]=0;b[f+33280+(u<<6)+32>>1]=64;b[f+33280+(u<<6)+28>>1]=128;b[f+33280+(u<<6)+30>>1]=(d[g+(t|13)>>0]|0)<<2;q=g+(t|14)|0;c[f+33280+(u<<6)+24>>2]=((d[q>>0]|d[q+1>>0]<<8)&65535)<<1;q=f+33280+(u<<6)+34|0;b[q>>1]=0;l=a[j>>0]|0;if((l&3)==1){j=(e[g+(t+24)>>1]|0)<<16|(e[g+(t+22)>>1]|0);c[s>>2]=j;m=(e[g+(t+28)>>1]|0)<<16|(e[g+(t+26)>>1]|0);n=f+33280+(u<<6)+4|0;c[n>>2]=m;o=(e[g+(t+32)>>1]|0)<<16|(e[g+(t+30)>>1]|0);p=f+33280+(u<<6)+8|0;c[p>>2]=o;r=(e[g+(t+20)>>1]|0)<<16|(e[g+(t+18)>>1]|0);if(!(l&4))k=0;else{b[q>>1]=2;k=2}if(l&8){k=(k&65535|4)&65535;b[q>>1]=k}if(!(l&16))k=2;else{b[q>>1]=k&65535|1;c[s>>2]=j>>>1;c[n>>2]=m>>>1;c[p>>2]=o>>>1;j=j>>>1;k=37}if(r>>>0>>0&((r|0)!=0&(j|0)!=0))SNa(f,s,k,g+r|0,h-r|0)|0}if(u>>>0>=(c[f+59684>>2]|0)>>>0)break;else t=t+80|0}}if(!(v<<16>>16))j=1;else{q=0;while(1){j=w+352+(q<<1)|0;j=d[j>>0]|d[j+1>>0]<<8;b:do if(j<<16>>16!=0&(j&65535)<<4>>>0>>0){b[f+52864+(q<<1)>>1]=64;k=ONa(64,c[f+59664>>2]|0)|0;c[f+51904+(q<<2)>>2]=k;if(!k){j=1;break a}else{j=(j&65535)<<4;l=0}while(1){while(1){n=j+1|0;p=a[g+j>>0]|0;if(n>>>0>=h>>>0)break b;if(!(p<<24>>24))break;if(!(p&32))m=n;else{m=j+3|0;if(m>>>0>h>>>0)break b;a[k+((p&31)*6|0)>>0]=a[g+n>>0]|0;a[k+((p&31)*6|0)+1>>0]=a[g+(j+2)>>0]|0}c:do if(!(p&64))j=m;else{j=m+2|0;if(j>>>0>h>>>0)break b;n=a[g+m>>0]|0;o=k+((p&31)*6|0)+3|0;a[o>>0]=n;u=a[g+(m+1)>>0]|0;a[k+((p&31)*6|0)+5>>0]=u;if(n<<24>>24==14&(u&-16)<<24>>24==-128){a[o>>0]=20;break}if((n&255)<16){PNa(f,k+((p&31)*6|0)|0);break}switch(n&255|0){case 16:{a[o>>0]=23;break c}case 17:{a[o>>0]=15;break c}case 18:{a[o>>0]=26;break c}default:{a[o>>0]=0;break c}}}while(0);if(p&128){if(j>>>0>=h>>>0)break b;a[k+((p&31)*6|0)+2>>0]=1;a[k+((p&31)*6|0)+4>>0]=a[g+j>>0]|0;j=j+1|0}if(j>>>0>=h>>>0)break b}l=l+1|0;if(l>>>0<64&n>>>0>>0){j=n;k=k+((c[f+59664>>2]|0)*6|0)|0}else break}}while(0);q=q+1|0;if(q>>>0>=(v&65535)>>>0){j=1;break}}}}else j=0}}}}else j=0;while(0);f=j;i=w;return f|0}function pPa(f,g,h){f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;if((g|0)==0|h>>>0<256){f=0;return f|0}if(pmb(g,527055,14)|0){f=0;return f|0}c[f+59680>>2]=128;c[f+59648>>2]=6;c[f+59652>>2]=125;m=f+59804|0;n=g+15|0;o=m+31|0;do{a[m>>0]=a[n>>0]|0;m=m+1|0;n=n+1|0}while((m|0)<(o|0));a[f+59835>>0]=0;k=a[g+47>>0]|0;if(!(k<<24>>24))j=48;else if((((k&255)<<5)+48|0)>>>0>>0){i=_Ab(((k&255)<<5|1)+(k&255)|0)|0;c[f+59796>>2]=i;l=0;do{j=l*33|0;m=i+j|0;n=g+((l<<5)+48)|0;o=m+32|0;do{a[m>>0]=a[n>>0]|0;m=m+1|0;n=n+1|0}while((m|0)<(o|0));a[(c[f+59796>>2]|0)+(j+32)>>0]=13;l=l+1|0;i=c[f+59796>>2]|0}while(l>>>0<(d[g+47>>0]|0)>>>0);a[i+((k&255)<<5)>>0]=0;j=((k&255)<<5)+48|0}else j=48;if(j>>>0>=h>>>0){f=1;return f|0}i=j+1|0;q=a[g+j>>0]|0;k=(q&255)>239?239:q&255;c[f+59684>>2]=k;r=(a[g+14>>0]|0)>51?66:64;if((j+259+(_(r,q&255)|0)|0)>>>0>h>>>0){f=1;return f|0}if(q<<24>>24){p=j+(_(r,((q&255)+1|0)>>>0>2?q&255:1)|0)|0;j=1;while(1){if(j>>>0<=k>>>0){m=f+59804+(j<<5)|0;n=g+i|0;o=m+32|0;do{a[m>>0]=a[n>>0]|0;m=m+1|0;n=n+1|0}while((m|0)<(o|0));a[f+59804+(j<<5)+31>>0]=0;m=f+33280+(j<<6)+42|0;n=g+(i+32)|0;o=m+12|0;do{a[m>>0]=a[n>>0]|0;m=m+1|0;n=n+1|0}while((m|0)<(o|0));l=g+(i+44)|0;l=d[l>>0]|d[l+1>>0]<<8|d[l+2>>0]<<16|d[l+3>>0]<<24;m=f+33280+(j<<6)+4|0;c[m>>2]=l;n=g+(i+48)|0;n=d[n>>0]|d[n+1>>0]<<8|d[n+2>>0]<<16|d[n+3>>0]<<24;o=f+33280+(j<<6)+8|0;c[o>>2]=n;C=g+(i+56)|0;k=g+(i+52)|0;c[f+33280+(j<<6)>>2]=(d[C>>0]|d[C+1>>0]<<8|d[C+2>>0]<<16|d[C+3>>0]<<24)-(d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24);b[f+33280+(j<<6)+30>>1]=d[g+(i+60)>>0]|0;b[f+33280+(j<<6)+32>>1]=64;k=f+33280+(j<<6)+24|0;c[k>>2]=8363;if((a[g+14>>0]|0)>51){C=g+(i+62)|0;c[k>>2]=(d[C>>0]|d[C+1>>0]<<8)&65535}k=a[g+(i+61)>>0]|0;if(k&8){C=f+33280+(j<<6)+34|0;b[C>>1]=e[C>>1]|2}if(k&16){C=f+33280+(j<<6)+34|0;b[C>>1]=e[C>>1]|4}if(k&4){C=f+33280+(j<<6)+34|0;b[C>>1]=e[C>>1]|1;c[m>>2]=l>>>1;c[o>>2]=n>>>1}}j=j+1|0;if(j>>>0>(q&255)>>>0)break;k=c[f+59684>>2]|0;i=i+r|0}i=p+1|0}mBb(f+53344|0,g+i|0,256)|0;k=(d[g+(i+256)>>0]|0)+1|0;c[f+59664>>2]=k;C=(d[g+(i+257)>>0]|0)+1|0;j=i+258|0;c[f+59664>>2]=k>>>0>32?32:k;k=0;do{c[f+49600+(k*36|0)+4>>2]=64;c[f+49600+(k*36|0)>>2]=k<<7&128^192;k=k+1|0;i=c[f+59664>>2]|0}while(k>>>0>>0);if((a[g+14>>0]|0)>50){if((i+j|0)>>>0>h>>>0){f=1;return f|0}if(i){k=0;while(1){i=j+1|0;B=d[g+j>>0]<<4|8;c[f+49600+(k*36|0)>>2]=B>>>0>256?256:B;k=k+1|0;if(k>>>0>=(c[f+59664>>2]|0)>>>0){j=i;break}else j=i}}}i=0;do{if(i>>>0<240){b[f+52864+(i<<1)>>1]=64;c[f+51904+(i<<2)>>2]=ONa(64,c[f+59664>>2]|0)|0}i=i+1|0}while((i|0)!=(C|0));i=c[f+59664>>2]|0;a:do if(i){k=0;b:while(1){B=0;do{if(B>>>0<240){v=c[f+51904+(B<<2)>>2]|0;v=(v|0)==0?0:v+(k*6|0)|0;o=0}else{v=0;o=0}while(1){if((j+6|0)>>>0>h>>>0){i=1;break b}m=j+1|0;l=a[g+j>>0]|0;if(l<<24>>24==-4){n=j+3|0;r=d[g+(j+2)>>0]|0;q=d[g+m>>0]|0}else{n=m;r=l&255;q=1}A=a[g+n>>0]|0;m=d[g+(n+1)>>0]|0;l=d[g+(n+2)>>0]|0;j=n+4|0;n=d[g+(n+3)>>0]|0;switch(m&15|0){case 12:{p=12;l=l>>>2;break}case 11:{p=0;l=0;break}default:p=m&15}switch(m>>>4|0){case 12:{m=12;n=n>>>2;break}case 11:{m=0;n=0;break}default:m=m>>>4}c:do if(o>>>0<64&(q|0)!=0){s=(p|l|0)==0;y=(m|0)==12;z=n&255;x=(m|n|0)==0;w=m&255;u=(p|0)==12;t=l&255;n=p&255;p=r+36&255;q=0-q|0;l=o+-64|0;l=o-(l>>>0>>0?q:l)|0;if(!r){m=v;while(1){if(!m)m=0;else{a[m+1>>0]=A;do if(!s)if(u){a[m+2>>0]=1;a[m+4>>0]=t;break}else{a[m+3>>0]=n;a[m+5>>0]=t;PNa(f,m);break}while(0);do if(y){a[m+2>>0]=1;a[m+4>>0]=z}else{if(x)break;i=m+3|0;if(a[i>>0]|0)break;a[i>>0]=w;a[m+5>>0]=z;PNa(f,m)}while(0);v=c[f+59664>>2]|0;i=v;m=m+(v*6|0)|0}o=o+1|0;if((o|0)==(l|0))break c}}if(s){m=v;while(1){if(!m)m=0;else{a[m+1>>0]=A;a[m>>0]=p;do if(y){a[m+2>>0]=1;a[m+4>>0]=z;n=i}else{if(x){n=i;break}n=m+3|0;if(a[n>>0]|0){n=i;break}a[n>>0]=w;a[m+5>>0]=z;PNa(f,m);n=c[f+59664>>2]|0}while(0);i=n;m=m+(n*6|0)|0}o=o+1|0;if((o|0)==(l|0))break c}}else m=v;do{if(!m)m=0;else{a[m+1>>0]=A;a[m>>0]=p;if(u){a[m+2>>0]=1;a[m+4>>0]=t}else{a[m+3>>0]=n;a[m+5>>0]=t;PNa(f,m)}do if(y){a[m+2>>0]=1;a[m+4>>0]=z}else{if(x)break;i=m+3|0;if(a[i>>0]|0)break;a[i>>0]=w;a[m+5>>0]=z;PNa(f,m)}while(0);v=c[f+59664>>2]|0;i=v;m=m+(v*6|0)|0}o=o+1|0}while((o|0)!=(l|0))}else{m=v;l=o}while(0);if(l>>>0<64){v=m;o=l}else break}B=B+1|0}while(B>>>0>>0);k=k+1|0;if(k>>>0>=i>>>0)break a}return i|0}while(0);i=c[f+59684>>2]|0;if(!i){f=1;return f|0}else l=1;while(1){k=f+33280+(l<<6)|0;if(c[k>>2]|0){if(j>>>0>=h>>>0){i=1;j=89;break}j=(SNa(f,k,b[f+33280+(l<<6)+34>>1]&1?5:0,g+j|0,h-j|0)|0)+j|0;i=c[f+59684>>2]|0}l=l+1|0;if(l>>>0>i>>>0){i=1;j=89;break}}if((j|0)==89)return i|0;return 0}function qPa(e,f,g){e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;L=i;i=i+272|0;if((f|0)==0|g>>>0<1024){e=0;i=L;return e|0}if((d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24|0)!=1179468868){e=0;i=L;return e|0}if(((a[f+4>>0]|0)+-1&255)>14){e=0;i=L;return e|0}j=e+59804|0;h=f+13|0;l=j+30|0;do{a[j>>0]=a[h>>0]|0;j=j+1|0;h=h+1|0}while((j|0)<(l|0));a[e+59834>>0]=0;c[e+59680>>2]=131072;c[e+59664>>2]=0;if(g>>>0>73){h=f+66|0;j=66;a:while(1){h=c[h>>2]|0;b:while(1){if((h|0)<1229999443){K=146;break}if((h|0)<1414807888){K=150;break}if((h|0)>=1431389523){K=157;break}switch(h|0){case 1414807888:break;default:{K=139;break b}}if(!(c[e+59664>>2]|0)){K=30;break}}c:do if((K|0)==30){K=0;k=j+11|0;I=f+(j+4)|0;h=d[I>>0]|d[I+1>>0]<<8|d[I+2>>0]<<16|d[I+3>>0]<<24;if(h>>>0>=g>>>0)break a;J=j+8|0;if((J+h|0)>>>0>g>>>0)break a;H=(d[f+J>>0]|d[f+J+1>>0]<<8)&65535;H=H>>>0>240?240:H;h=a[f+(j+10)>>0]|0;c[e+59664>>2]=h&255;j=a[f+k>>0]|0;if((h&255)<(j&255)){c[e+59664>>2]=j&255;h=j&255}else h=h&255;if(h>>>0>32)c[e+59664>>2]=32;else if(h>>>0<4)c[e+59664>>2]=4;d:do if(H|0){G=0;do{F=d[f+k>>0]|0;F=F>>>0>32?32:F;E=f+(k+2)|0;E=(d[E>>0]|d[E+1>>0]<<8)&65535;E=E>>>0>256?256:E;E=E>>>0<16?16:E;m=k+8|0;j=f+(k+4)|0;h=d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24;if(h>>>0>=g>>>0)break d;if((k+12+h|0)>>>0>=g>>>0)break d;b[e+52864+(G<<1)>>1]=E;D=ONa(E,c[e+59664>>2]|0)|0;if(!D)break a;c[e+51904+(G<<2)>>2]=D;h=k;k=(d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24)+m|0;h=a[f+(h+1)>>0]|0;j=L;l=j+32|0;do{a[j>>0]=0;j=j+1|0}while((j|0)<(l|0));if(E|0){j=0;n=(h&240|0)==0?8:(h&255)>>>4;C=0;o=125;p=(h&255)>15;q=1;while(1){B=_(c[e+59664>>2]|0,C)|0;e:do if(!j){h=m+1|0;l=d[f+m>>0]|0;if(h>>>0>>0&(l&128|0)!=0){j=m+2|0;h=d[f+h>>0]|0}else{j=h;h=0}if((l&127|0)!=0&j>>>0>>0){m=j+1|0;j=a[f+j>>0]|0}else{m=j;j=0}switch(l&127|0){case 1:{z=h;A=n;y=j&255;p=1;q=0;break e}case 2:{z=h;A=n;y=j&255;p=1;q=1;break e}case 3:{z=h;A=(j&255)>>>4;y=o;p=(q|0)!=0;break e}default:{z=h;A=n;y=o;break e}}}else{z=j+-1|0;A=n;y=o}while(0);f:do if(F){x=0;do{j=L+x|0;h=a[j>>0]|0;if(!(h<<24>>24)){h=m+1|0;v=d[f+m>>0]|0;if(v&128){a[j>>0]=a[f+h>>0]|0;h=m+2|0}if(!(v&64))w=0;else{w=a[f+h>>0]|0;h=h+1|0}do if(!(v&32))m=0;else{j=h+1|0;h=a[f+h>>0]|0;if((h+2&255)<3){m=h;h=j;break}if(!(h&127)){m=0;h=j;break}m=(h&127)+24&255;h=j}while(0);if(!(v&16)){t=0;u=0}else{t=1;u=((d[f+h>>0]|0)+3|0)>>>2&255;h=h+1|0}g:do if(!(v&8)){n=0;j=0}else{l=h+2|0;j=a[f+(h+1)>>0]|0;switch(d[f+h>>0]|0){case 1:{m=m<<24>>24==0?-2:m;n=0;j=0;h=l;break g}case 4:{if(!(j&224)){n=0;j=0;h=l;break g}n=20;j=((j&255)>>>5|208)&255;h=l;break g}case 5:{n=(j&255)<32?0:15;j=(j&255)<32?0:(j&255)>>>5;h=l;break g}case 6:{n=10;h=l;break g}default:{n=0;j=0;h=l;break g}}}while(0);h:do if(!(v&4)){s=m;r=j}else{o=h+2|0;l=a[f+(h+1)>>0]|0;switch(d[f+h>>0]|0){case 1:{if(!(l&240)){s=m;r=j;h=o;break h}s=m;n=20;r=((l&255)>>>4|32)&255;h=o;break h}case 2:{if(!(l&224)){s=m;r=j;h=o;break h}s=m;n=20;r=((l&255)>>>5|208)&255;h=o;break h}case 3:{s=m;n=l<<24>>24==0?n:1;r=l<<24>>24==0?j:l;h=o;break h}case 4:{s=m;n=2;r=(l&255)>223?-33:l;h=o;break h}case 5:{s=m;n=3;r=(l&255)>223?-33:l;h=o;break h}case 6:{s=m;n=4;r=l;h=o;break h}case 8:{s=m;n=5;r=l;h=o;break h}case 12:if(!(l&224)){s=m<<24>>24==0?-2:m;r=j;h=o;break h}else{s=m;n=20;r=((l&255)>>>5|192)&255;h=o;break h}default:{s=m;r=j;h=o;break h}}}while(0);i:do if(!(v&2)){o=t;l=u;j=r;m=h}else{m=h+2|0;j=a[f+(h+1)>>0]|0;switch(d[f+h>>0]|0){case 1:{if(j<<24>>24==-1){o=t;l=u;j=r;break i}o=t;n=11;l=u;j=((j&255)+3|0)>>>0>63?-16:((j&255)+3|0)>>>2<<4&255;break i}case 2:{if(j<<24>>24==-1){o=t;l=u;j=r;break i}o=t;n=11;l=u;j=((j&255)+3|0)>>>0>63?15:((j&255)+3|0)>>>2&255;break i}case 7:{if(t<<24>>24){o=t;n=9;l=u;break i}o=2;l=((j&255)+3|0)>>>2&255;j=r;break i}case 8:{o=t;n=29;l=u;j=((j&255)+3|0)>>>0>63?-16:((j&255)+3|0)>>>2<<4&255;break i}case 9:{o=t;n=29;l=u;j=((j&255)+3|0)>>>0>63?15:((j&255)+3|0)>>>2&255;break i}default:{o=t;l=u;j=r;break i}}}while(0);if(x>>>0<(c[e+59664>>2]|0)>>>0){v=x+B|0;a[D+(v*6|0)>>0]=s;a[D+(v*6|0)+1>>0]=w;a[D+(v*6|0)+2>>0]=o;a[D+(v*6|0)+3>>0]=n;a[D+(v*6|0)+4>>0]=l;a[D+(v*6|0)+5>>0]=j}if(m>>>0>k>>>0)break f}else a[j>>0]=h+-1<<24>>24;x=x+1|0}while(x>>>0>>0)}while(0);j:do if(p){h=_(A,y)|0;h=(A|0)!=0&(q|0)!=0?h:(y*15|0)+15|0;l=30;do{j=_(l,h)|0;if(j>>>0<4824)break;if(l>>>0<6&j>>>0<6144)break;l=l+-1|0}while(l>>>0>1);n=c[e+59664>>2]|0;if(!n)break;o=0;j=(j>>>0)/24|0;while(1){h=o+B|0;do if(!(a[D+(h*6|0)+3>>0]|0)){if(l|0){a[D+(h*6|0)+3>>0]=16;a[D+(h*6|0)+5>>0]=l;h=j;l=0;break}if((j+-32|0)>>>0>=224)break j;a[D+(h*6|0)+3>>0]=17;a[D+(h*6|0)+5>>0]=j;h=0;l=0}else h=j;while(0);o=o+1|0;if(o>>>0>=n>>>0)break;else j=h}}while(0);C=C+1|0;if(!(m>>>0>>0&C>>>0>>0))break;else{j=z;n=A;o=y;p=0}}}G=G+1|0}while((k+8|0)>>>0>>0&G>>>0>>0)}while(0);j=J+(d[I>>0]|d[I+1>>0]<<8|d[I+2>>0]<<16|d[I+3>>0]<<24)|0}else if((K|0)==146){K=0;if((h|0)>=1162104389){if((h|0)<1196641603)switch(h|0){case 1162104389:break a;default:{K=139;break c}}switch(h|0){case 1196641603:break;default:{K=139;break c}}m=j+1|0;K=9;break}switch(h|0){case 1146113363:break;default:{K=139;break c}}j=j+8|0;h=c[e+59684>>2]|0;if(h){l=1;m=0;while(1){m=m+1|0;k=j+4|0;if(k>>>0>=g>>>0)break c;j=c[f+j>>2]|0;j=j>>>0>(g-k|0)>>>0?g-k|0:j;if(j){h=b[e+33280+(l<<6)+34>>1]&1;if(!(a[L+32+m>>0]&4))h=h<<16>>16?5:0;else h=(h&65535)<<2|19;SNa(e,e+33280+(l<<6)|0,h,f+k|0,j)|0;h=c[e+59684>>2]|0}l=l+1|0;if(l>>>0>h>>>0){j=j+k|0;break}else j=j+k|0}}}else if((K|0)==150){K=0;if((h|0)>=1330007625)switch(h|0){case 1330007625:{m=j;K=9;break c}default:{K=139;break c}}switch(h|0){case 1229999443:break;default:{K=139;break c}}p=f+(j+4)|0;h=d[p>>0]|d[p+1>>0]<<8|d[p+2>>0]<<16|d[p+3>>0]<<24;q=j+8|0;k:do if(h>>>0<=(g-j|0)>>>0){J=a[f+q>>0]|0;J=(J&255)>239?239:J&255;c[e+59684>>2]=J;if(J){l=j+9|0;k=a[f+l>>0]|0;a[L+32+1>>0]=0;if((j+26+(k&255)|0)>>>0<=(q+h|0)>>>0){m=k;k=k&255;o=L+32+1|0;j=l;n=1;while(1){if(!(m<<24>>24))h=j+1|0;else{J=k>>>0>31?31:k;h=j+1|0;mBb(e+59804+(n<<5)|0,f+h|0,J|0)|0;a[e+59804+(n<<5)+J>>0]=0}h=h+k|0;j=d[f+h>>0]|d[f+h+1>>0]<<8|d[f+h+2>>0]<<16|d[f+h+3>>0]<<24;k=e+33280+(n<<6)|0;c[k>>2]=j;c[e+33280+(n<<6)+4>>2]=d[f+(h+4)>>0]|d[f+(h+4)+1>>0]<<8|d[f+(h+4)+2>>0]<<16|d[f+(h+4)+3>>0]<<24;c[e+33280+(n<<6)+8>>2]=d[f+(h+8)>>0]|d[f+(h+8)+1>>0]<<8|d[f+(h+8)+2>>0]<<16|d[f+(h+8)+3>>0]<<24;c[e+33280+(n<<6)+24>>2]=(d[f+(h+12)>>0]|d[f+(h+12)+1>>0]<<8)&65535;b[e+33280+(n<<6)+32>>1]=64;l=a[f+(h+14)>>0]|0;b[e+33280+(n<<6)+30>>1]=l<<24>>24==0?256:(l&255)+1&65535;l=a[f+(h+15)>>0]|0;m=e+33280+(n<<6)+34|0;b[m>>1]=(l&255)>>>1&1;if((l&255)>>>1&1)c[k>>2]=j>>>1;if(l&1)b[m>>1]=(l&255)>>>1&1|2;a[o>>0]=l;n=n+1|0;if(n>>>0>(c[e+59684>>2]|0)>>>0)break;j=((d[f+4>>0]|0)<8?22:30)+h|0;h=d[p>>0]|d[p+1>>0]<<8|d[p+2>>0]<<16|d[p+3>>0]<<24;m=a[f+j>>0]|0;k=m&255;o=L+32+n|0;a[o>>0]=0;if((j+17+k|0)>>>0>(q+h|0)>>>0)break k}h=d[p>>0]|d[p+1>>0]<<8|d[p+2>>0]<<16|d[p+3>>0]<<24}}}while(0);j=q+h|0}else if((K|0)==157){K=0;switch(h|0){case 1431389523:break;default:{K=139;break c}}m=f+(j+4)|0;h=d[m>>0]|d[m+1>>0]<<8|d[m+2>>0]<<16|d[m+3>>0]<<24;if(h>>>0>=g>>>0)break a;n=j+12|0;if((n+h|0)>>>0>g>>>0)break a;k=h>>>0>509?255:h>>>1;l=j+8|0;j=(d[f+l>>0]|d[f+l+1>>0]<<8)&65535;if(j>>>0>>0)c[e+59736>>2]=j;if(k){h=0;do{J=f+n+(h<<1)|0;a[e+53344+h>>0]=d[J>>0]|d[J+1>>0]<<8;h=h+1|0}while((h|0)!=(k|0));h=d[m>>0]|d[m+1>>0]<<8|d[m+2>>0]<<16|d[m+3>>0]<<24}j=l+h|0}while(0);if((K|0)==9){k=f+(j+4)|0;h=d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24;if(h>>>0>g>>>0)break;l=m+8|0;if((l+h|0)>>>0>g>>>0)break;if(h>>>0>7)if(!(c[e+59796>>2]|0)){c[e+59796>>2]=_Ab(h)|0;j=0;do{if(((j>>>0)%40|0|0)==39)a[(c[e+59796>>2]|0)+j>>0]=13;else{K=a[f+(l+j)>>0]|0;a[(c[e+59796>>2]|0)+j>>0]=K<<24>>24<32?32:K}j=j+1|0;h=(d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24)+-1|0}while(j>>>0>>0);a[(c[e+59796>>2]|0)+h>>0]=0;h=d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24}j=m+7+h|0}else if((K|0)==139)j=j+4|0;if((j+7|0)>>>0>>0)h=f+j|0;else break}if(c[e+59664>>2]|0){e=1;i=L;return e|0}}if(!(c[e+59684>>2]|0)){c[e+59680>>2]=0;e=0;i=L;return e|0}else{c[e+59664>>2]=4;e=1;i=L;return e|0}return 0}function rPa(e,f,g){e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;if((f|0)==0|g>>>0<1024){e=0;return e|0}if((d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24|0)!=1179011410){e=0;return e|0}q=d[f+4>>0]|d[f+4+1>>0]<<8|d[f+4+2>>0]<<16|d[f+4+3>>0]<<24;if(q>>>0<1024|(q+8|0)>>>0>g>>>0){e=0;return e|0}if((d[f+8>>0]|d[f+8+1>>0]<<8|d[f+8+2>>0]<<16|d[f+8+3>>0]<<24|0)!=1179472708){e=0;return e|0}if((d[f+12>>0]|d[f+12+1>>0]<<8|d[f+12+2>>0]<<16|d[f+12+3>>0]<<24|0)!=1196314451){e=0;return e|0}k=d[f+16>>0]|d[f+16+1>>0]<<8|d[f+16+2>>0]<<16|d[f+16+3>>0]<<24;if(k>>>0>g>>>0){e=0;return e|0}c[e+59680>>2]=8192;i=d[f+62>>0]|d[f+62+1>>0]<<8;i=(i&65535)<4?4:i&65535;c[e+59664>>2]=i>>>0>16?16:i;i=d[f+58>>0]|d[f+58+1>>0]<<8;c[e+59684>>2]=(i&65535)>239?239:i&65535;c[e+59648>>2]=d[f+66>>0];c[e+59652>>2]=d[f+67>>0];i=a[f+64>>0]|0;c[e+59656>>2]=i<<24>>24==0|(i&255)<<2>>>0>256?256:(i&255)<<2;c[e+59748>>2]=(d[f+65>>0]|0)&127;i=0;do{if(i>>>0<((d[f+56>>0]|d[f+56+1>>0]<<8)&65535)>>>0)h=d[f+(i+84)>>0]|0;else h=255;a[e+53344+i>>0]=h;i=i+1|0}while((i|0)!=256);j=0;do{h=e+49600+(j*36|0)|0;c[h>>2]=128;i=a[f+(j+68)>>0]|0;if((i&255)<129)c[h>>2]=(i&255)<<1;j=j+1|0}while((j|0)!=16);l=e+59804|0;m=f+20|0;n=l+28|0;do{a[l>>0]=a[m>>0]|0;l=l+1|0;m=m+1|0}while((l|0)<(n|0));if((k+20|0)>>>0<(g+-8|0)>>>0){h=k+20|0;i=0;q=1}else{e=1;return e|0}a:while(1){while(1){j=f+h|0;j=d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24;if((j|0)!=1414807888)break;k=h+8|0;p=f+(h+4)|0;j=h;h=(d[p>>0]|d[p+1>>0]<<8|d[p+2>>0]<<16|d[p+3>>0]<<24)+k|0;if(h>>>0>=g>>>0){h=1;i=48;break a}l=ONa(64,c[e+59664>>2]|0)|0;if(!l){h=1;i=48;break a}b[e+52864+(i<<1)>>1]=64;c[e+51904+(i<<2)>>2]=l;b:do if((j+10|0)>>>0<=h>>>0){j=j+10|0;m=0;while(1){n=j;j=k;while(1){k=j+1|0;o=a[f+j>>0]|0;if(!(o<<24>>24))break;p=((o&15)>>>0)%((c[e+59664>>2]|0)>>>0)|0;if(o&128){j=a[f+k>>0]|0;if(!(j<<24>>24))k=n;else{a[l+(p*6|0)>>0]=(j&255)<109?(j&255)+12|0:j&255;k=n}}if(o&64){a[l+(p*6|0)+1>>0]=a[f+k>>0]|0;k=k+1|0}if(o&32){a[l+(p*6|0)+2>>0]=1;a[l+(p*6|0)+4>>0]=a[f+k>>0]|0;k=k+1|0}do if(o&16){n=d[f+k>>0]|0;o=k+2|0;j=d[f+(k+1)>>0]|0;c:do switch(n|0){case 8:switch(j&240|0){case 0:{k=8;j=j<<4;break c}case 16:{k=10;j=j<<4&240;break c}case 32:{k=14;j=j&15|160;break c}case 48:{k=14;j=j&15|16;break c}case 64:{k=14;j=j&15|32;break c}default:{k=0;break c}}case 18:case 17:{k=n&15;break}case 19:{k=33;j=145;break}default:k=(n&240|0)==32?9:0}while(0);a[l+(p*6|0)+3>>0]=k;a[l+(p*6|0)+5>>0]=j;if(!k){k=o;break}PNa(e,l+(p*6|0)|0);k=o}while(0);n=k+2|0;if(n>>>0>h>>>0)break b;else j=k}m=m+1|0;if((j+3|0)>>>0>h>>>0|m>>>0>63)break;else{j=j+3|0;l=l+((c[e+59664>>2]|0)*6|0)|0}}}while(0);if(h>>>0>=(g+-8|0)>>>0){h=1;i=48;break a}else i=i+1|0}if(!((j|0)==1414745673?q>>>0<=(c[e+59684>>2]|0)>>>0:0)){h=1;i=48;break}j=d[f+(h+4)>>0]|d[f+(h+4)+1>>0]<<8|d[f+(h+4)+2>>0]<<16|d[f+(h+4)+3>>0]<<24;if((j+h|0)>>>0>=(g+-8|0)>>>0){h=1;i=48;break}l=e+59804+(q<<5)|0;m=f+(h+44)|0;n=l+28|0;do{a[l>>0]=a[m>>0]|0;l=l+1|0;m=m+1|0}while((l|0)<(n|0));k=e+33280+(q<<6)|0;l=e+33280+(q<<6)+42|0;m=f+(h+8)|0;n=l+13|0;do{a[l>>0]=a[m>>0]|0;l=l+1|0;m=m+1|0}while((l|0)<(n|0));b[e+33280+(q<<6)+32>>1]=64;c[e+33280+(q<<6)+24>>2]=(d[f+(h+40)>>0]|d[f+(h+40)+1>>0]<<8)&65535;p=a[f+(h+21)>>0]|0;b[e+33280+(q<<6)+34>>1]=(p&1)<<1;c[k>>2]=d[f+(h+24)>>0]|d[f+(h+24)+1>>0]<<8|d[f+(h+24)+2>>0]<<16|d[f+(h+24)+3>>0]<<24;c[e+33280+(q<<6)+4>>2]=d[f+(h+28)>>0]|d[f+(h+28)+1>>0]<<8|d[f+(h+28)+2>>0]<<16|d[f+(h+28)+3>>0]<<24;c[e+33280+(q<<6)+8>>2]=d[f+(h+32)>>0]|d[f+(h+32)+1>>0]<<8|d[f+(h+32)+2>>0]<<16|d[f+(h+32)+3>>0]<<24;o=(d[f+(h+23)>>0]|0)<<2;b[e+33280+(q<<6)+30>>1]=o>>>0>256?256:o&65535;SNa(e,k,((p&255)>>>1&1^1)&255,f+(h+72)|0,g-(h+72)|0)|0;if((h+8+j|0)>>>0<(g+-8|0)>>>0){h=h+8+j|0;q=q+1|0}else{h=1;i=48;break}}if((i|0)==48)return h|0;return 0}function sPa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;if((b|0)==0|d>>>0<2048){a=0;return a|0}if((c[b+32>>2]|0)>>>0>=d>>>0){a=0;return a|0}g=c[b+24>>2]|0;if(g>>>0>(d+-16|0)>>>0|g>>>0<(d+-512|0)>>>0){a=0;return a|0}else e=64;a:while(1){g=b+e|0;f=c[g>>2]|0;if((f|0)<1297236819)switch(f|0){case 1297108297:{f=5;break a}default:{}}else switch(f|0){case 1297236819:{f=6;break a}default:{}}if(!(Anb(g,527070,15)|0)){f=8;break}if(e>>>0>1080&(f|0)==776678989){f=10;break}e=e+1|0;if(e>>>0>=1280){e=0;f=12;break}}if((f|0)==5){a=aOa(a,g,d-e|0)|0;return a|0}else if((f|0)==6){a=$Na(a,b+(e+-44)|0,d-(e+-44)|0)|0;return a|0}else if((f|0)==8){a=NNa(a,g,d-e|0)|0;return a|0}else if((f|0)==10){a=tPa(a,b+(e+-1080)|0,d-(e+-1080)|0)|0;return a|0}else if((f|0)==12)return e|0;return 0}function tPa(e,f,g){e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;if((f|0)==0|g>>>0<1536){e=0;return e|0}c[e+59684>>2]=31;c[e+59664>>2]=4;i=d[f+1080>>0]|d[f+1080+1>>0]<<8|d[f+1080+2>>0]<<16|d[f+1080+3>>0]<<24;h=i&16777215|i>>>24<<24;a:do if((h|0)<777268814){if((h|0)<558573133)switch(h|0){case 558571853:{t=3;break a}default:{t=5;break a}}if((h|0)<776678989)switch(h|0){case 558573133:{t=3;break a}default:{t=5;break a}}else switch(h|0){case 776678989:{t=3;break a}default:{t=5;break a}}}else{if((h|0)<825771075)switch(h|0){case 777268814:{t=3;break a}default:{t=5;break a}}if((h|0)<1096043343)switch(h|0){case 825771075:break;default:{t=5;break a}}else switch(h|0){case 1096043343:break;default:{t=5;break a}}c[e+59664>>2]=8;p=20;h=0;r=1;i=0}while(0);b:do if((t|0)==3){c[e+59664>>2]=4;p=20;h=0;r=1;i=0}else if((t|0)==5){c:do if((i&255)<<24>>24==70){if((i>>>8&255)<<24>>24==76&(i>>>16&255)<<24>>24==84&((i>>>24&255)+-52&255)<6){c[e+59664>>2]=(i>>24)+-48;p=20;h=0;r=1;i=0;break b}}else{if((i>>>24&255)<<24>>24==78&((i>>>16&255)<<24>>24==72&(((i&255)+-50&255)<8&(i>>>8&255)<<24>>24==67))){c[e+59664>>2]=(i<<24>>24)+-48;p=20;h=0;r=1;i=0;break b}switch((i&255)<<24>>24){case 49:{if(!((i>>>24&255)<<24>>24==72&((i>>>16&255)<<24>>24==67&((i>>>8&255)+-48&255)<10)))break c;c[e+59664>>2]=(i>>>8<<24>>24)+-38;p=20;h=0;r=1;i=0;break b}case 50:{if(!((i>>>24&255)<<24>>24==72&((i>>>16&255)<<24>>24==67&((i>>>8&255)+-48&255)<10)))break c;c[e+59664>>2]=(i>>>8<<24>>24)+-28;p=20;h=0;r=1;i=0;break b}case 51:{if(!((i>>>24&255)<<24>>24==72&((i>>>16&255)<<24>>24==67&((i>>>8&255)+-48&255)<3)))break c;c[e+59664>>2]=(i>>>8<<24>>24)+-18;p=20;h=0;r=1;i=0;break b}case 84:{if(!((i>>>8&255)<<24>>24==68&(i>>>16&255)<<24>>24==90&((i>>>24&255)+-52&255)<6))break c;c[e+59664>>2]=(i>>24)+-48;p=20;h=0;r=1;i=0;break b}default:break c}}while(0);switch(h|0){case 1313027633:{c[e+59664>>2]=16;p=20;h=0;r=1;i=0;break b}case 1313026611:{c[e+59664>>2]=32;p=20;h=0;r=1;i=0;break b}default:{c[e+59684>>2]=15;p=20;h=0;r=1;i=0;break b}}}while(0);while(1){j=e+59804+(r<<5)|0;k=f+p|0;l=j+22|0;do{a[j>>0]=a[k>>0]|0;j=j+1|0;k=k+1|0}while((j|0)<(l|0));a[e+59804+(r<<5)+22>>0]=0;n=e+33280+(r<<6)+34|0;b[n>>1]=0;m=f+(p+22)|0;m=(d[m>>0]|d[m+1>>0]<<8)&65535;l=e+33280+(r<<6)|0;c[l>>2]=(m<<8&65280|m>>>8)<<1;s=((m<<8&65280|m>>>8)<<1)+h|0;a[e+33280+(r<<6)+37>>0]=d[f+(p+24)>>0]<<4;q=d[f+(p+25)>>0]<<2;h=e+33280+(r<<6)+30|0;b[h>>1]=q;if(q>>>0>256){b[h>>1]=256;o=i+1|0}else o=i;b[e+33280+(r<<6)+32>>1]=64;b[e+33280+(r<<6)+28>>1]=128;h=f+(p+26)|0;h=(d[h>>0]|d[h+1>>0]<<8)&65535;i=(h<<8&65280|h>>>8)<<1;j=f+(p+28)|0;j=(d[j>>0]|d[j+1>>0]<<8)&65535;if((j<<8&65280|j>>>8)<<1>>>0>2)i=((((j<<8&65280|j>>>8)<<1)+i|0)>>>0<=(m<<8&65280|m>>>8)<<1>>>0?1:(((j<<8&65280|j>>>8)<<1)+(h<<8&65280|h>>>8)|0)>>>0>(m<<8&65280|m>>>8)<<1>>>0)?i:h<<8&65280|h>>>8;k=e+33280+(r<<6)+4|0;c[k>>2]=i;h=i+((j<<8&65280|j>>>8)<<1)|0;j=e+33280+(r<<6)+8|0;c[j>>2]=h;do if((m<<8&65280|m>>>8)<<1>>>0<4)c[l>>2]=0;else{if(i>>>0>=(m<<8&65280|m>>>8)<<1>>>0){c[k>>2]=((m<<8&65280|m>>>8)<<1)+-1;i=((m<<8&65280|m>>>8)<<1)+-1|0}if(h>>>0>(m<<8&65280|m>>>8)<<1>>>0){c[j>>2]=(m<<8&65280|m>>>8)<<1;h=(m<<8&65280|m>>>8)<<1}if(h>>>0>>0|h>>>0<9|(h-i|0)>>>0<5){c[k>>2]=0;c[j>>2]=0;break}if(h>>>0>i>>>0)b[n>>1]=2}while(0);q=p+30|0;r=r+1|0;h=c[e+59684>>2]|0;if(r>>>0>h>>>0)break;else{p=q;h=s;i=o}}if(s>>>0>g<<2>>>0&(h|0)==15){e=0;return e|0}i=(h|0)==15?p+160|0:p+164|0;hBb(e+53344|0,0,256)|0;j=e+53344|0;k=f+(p+32)|0;l=j+128|0;do{a[j>>0]=a[k>>0]|0;j=j+1|0;k=k+1|0}while((j|0)<(l|0));h=a[f+q>>0]|0;d:do if(h+-1<<24>>24<<24>>24<0){j=128;while(1){if(j>>>0<=1)break d;h=j+-1|0;if(!(a[e+53344+h>>0]|0))j=h;else break}}else j=h&255;while(0);m=0;h=0;k=0;l=0;while(1){r=a[e+53344+m>>0]|0;u=r<<24>>24<0|h>>>0>(r&255)>>>0;n=u?h:(r&255)+1|0;k=u?k:m>>>0>>0?(r&255)+1|0:k;l=(r&255)>>>0>>0?l:(r&255)+1|0;m=m+1|0;if((m|0)==128)break;else h=n}if(j>>>0<256)hBb(e+53344+j|0,-1,256-j|0)|0;u=a[f+(q|1)>>0]|0;u=(u&255)>119?0:u&255;c[e+59736>>2]=(u+1|0)>>>0<(j+-1|0)>>>0?u:0;if(!n){u=0;return u|0}if((c[f+(p+160)>>2]|0)==776678989)if(((n<<11)+(i+s)|0)==(g|0))c[e+59664>>2]=8;if((n|0)==(k|0))t=53;else{h=c[e+59664>>2]|0;if(((_(n<<8,h)|0)+(i+s)|0)==(g|0))t=53;else{q=((_(k<<8,h)|0)+(i+s)|0)==(g|0);h=q?o:o+8|0;q=q?k:n}}if((t|0)==53)if(l>>>0>n>>>0){q=((_(l<<8,c[e+59664>>2]|0)|0)+(i+s)|0)==(g|0);h=o;q=q?l:n}else{h=o;q=n}if((c[e+59684>>2]|0)==15?((i+s|0)>>>0<1536|(i+s|0)>>>0>g>>>0?h+8|0:h)>>>0>15:0){u=0;return u|0}c[e+59680>>2]=1;c[e+59648>>2]=6;c[e+59652>>2]=125;c[e+59764>>2]=56;c[e+59768>>2]=13696;j=e+59804|0;k=f;l=j+20|0;do{a[j>>0]=a[k>>0]|0;j=j+1|0;k=k+1|0}while((j|0)<(l|0));if(!(c[e+59664>>2]|0))h=0;else{j=0;do{c[e+49600+(j*36|0)+4>>2]=64;h=((j&3)+-1|0)>>>0<2;c[e+49600+(j*36|0)>>2]=(c[182099]&524288|0)==0?(h?192:64):h?256:0;j=j+1|0;h=c[e+59664>>2]|0}while(j>>>0>>0)}e:do if(q){p=0;do{if(p>>>0<240){u=ONa(64,h)|0;j=e+51904+(p<<2)|0;c[j>>2]=u;if(!u)break e;b[e+52864+(p<<1)>>1]=64;h=c[e+59664>>2]|0;if(((h<<8)+i|0)>>>0>=g>>>0)break e;if(h<<6|0){o=h<<6;m=c[j>>2]|0;n=f+i|0;while(1){h=a[n+2>>0]|0;j=a[n+3>>0]|0;k=d[n>>0]|0;l=k<<8&3840|d[n+1>>0];if((l|0)<4095)switch(l|0){case 0:break;default:t=66}else switch(l|0){case 4095:break;default:t=66}if((t|0)==66){t=0;a[m>>0]=hMa(e,l<<2)|0}a[m+1>>0]=(h&255)>>>4|k&16;a[m+3>>0]=h&15;a[m+5>>0]=j;if((h&15|j)<<24>>24)PNa(e,m);o=o+-1|0;if(!o)break;else{m=m+6|0;n=n+4|0}}}}h=c[e+59664>>2]|0;i=(h<<8)+i|0;p=p+1|0}while(p>>>0>>0)}while(0);f:do if(!(c[e+59684>>2]|0))h=0;else{h=0;m=1;do{j=e+33280+(m<<6)|0;if(c[j>>2]|0){k=f+i|0;l=i+5|0;if(l>>>0>=g>>>0)break f;u=(Anb(k,527086,5)|0)==0;i=u?l:i;j=SNa(e,j,u?3:0,u?f+l|0:k,g-i|0)|0;if(j){h=h+1|0;i=i+j|0}}m=m+1|0}while(m>>>0<=(c[e+59684>>2]|0)>>>0)}while(0);u=(h|0)!=0;return u|0}function uPa(f,g,h){f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=i;i=i+1920|0;if((g|0)==0|h>>>0<2048){f=0;i=w;return f|0}if(h>>>0>4096&(pmb(g,527092,25)|0)==0){s=a[g+35>>0]|0;k=a[g+36>>0]|0;if(!((s+-1&255)<240&k<<24>>24!=0)){f=0;i=w;return f|0}if((((s&255)<<11|294)+2368|0)>>>0>=h>>>0){f=0;i=w;return f|0}c[f+59680>>2]=2097152;c[f+59664>>2]=8;c[f+59688>>2]=0;c[f+59684>>2]=31;c[f+59652>>2]=125;c[f+59648>>2]=6;l=0;do{if(l>>>0<(k&255)>>>0)j=d[g+(l+38)>>0]|0;else j=255;a[f+53344+l>>0]=j;l=l+1|0}while((l|0)!=256);m=294;n=0;while(1){o=n;n=n+1|0;p=f+59804+(n<<5)|0;q=g+m|0;r=p+22|0;do{a[p>>0]=a[q>>0]|0;p=p+1|0;q=q+1|0}while((p|0)<(r|0));a[f+59804+(n<<5)+21>>0]=0;a[f+33280+(n<<6)+37>>0]=d[g+(m+22)>>0]<<4;j=a[g+(m+23)>>0]|0;k=f+33280+(n<<6)+30|0;b[k>>1]=j&255;b[f+33280+(n<<6)+32>>1]=64;if((j&255)>64){b[k>>1]=64;j=64}else j=j&255;b[k>>1]=(j&65535)<<2;j=c[g+(m+25)>>2]|0;c[f+33280+(n<<6)>>2]=j;u=c[g+(m+29)>>2]|0;k=f+33280+(n<<6)+4|0;c[k>>2]=u;v=(c[g+(m+33)>>2]|0)+u|0;l=f+33280+(n<<6)+8|0;c[l>>2]=v;if(v>>>0<=u>>>0|v>>>0>j>>>0){c[l>>2]=0;c[k>>2]=0}else b[f+33280+(n<<6)+34>>1]=2;if(o>>>0>31&(j|0)!=0)c[f+59684>>2]=n;if((n|0)==64)break;else m=m+37|0}a:do if(!(s<<24>>24)){l=2662;j=0}else{j=2662;o=0;while(1){k=ONa(64,c[f+59664>>2]|0)|0;if(!k){l=j;j=0;break a}c[f+51904+(o<<2)>>2]=k;b[f+52864+(o<<1)>>1]=64;n=0;m=g+j|0;while(1){a[k>>0]=0;l=a[m>>0]|0;if(l<<24>>24)a[k>>0]=(l&255)+13;a[k+1>>0]=a[m+1>>0]|0;v=a[m+2>>0]|0;l=k+3|0;a[l>>0]=v;a[k+5>>0]=a[m+3>>0]|0;if((v&255)>15)a[l>>0]=0;PNa(f,k);n=n+1|0;if((n|0)==512)break;else{k=k+6|0;m=m+4|0}}j=j+2048|0;o=o+1|0;if(o>>>0>=(s&255)>>>0){l=j;j=0;break}}}while(0);b:while(1){k=c[f+59684>>2]|0;do{if(j>>>0>=k>>>0){j=1;v=98;break b}j=j+1|0}while((c[f+33280+(j<<6)>>2]|0)==0);if(l>>>0>h>>>0){j=0;v=98;break}l=(SNa(f,f+33280+(j<<6)|0,0,g+l|0,h-l|0)|0)+l|0}if((v|0)==98){i=w;return j|0}}if((a[g>>0]|0)==65)if((a[g+1>>0]|0)==77)if((a[g+2>>0]|0)==70)if(((a[g+3>>0]|0)+-10&255)>4)j=0;else if(!((d[g+38>>0]|d[g+38+1>>0]<<8)<<16>>16))j=0;else if(((a[g+37>>0]|0)+-1&255)>239)j=0;else if(((a[g+36>>0]|0)+-1&255)>239)j=0;else if(((a[g+40>>0]|0)+-4&255)>28)j=0;else{p=f+59804|0;q=g+4|0;r=p+31|0;do{a[p>>0]=a[q>>0]|0;p=p+1|0;q=q+1|0}while((p|0)<(r|0));a[f+59835>>0]=0;c[f+59680>>2]=2048;c[f+59664>>2]=d[g+40>>0];c[f+59684>>2]=d[g+36>>0];c[f+59688>>2]=0;j=a[g+3>>0]|0;if((j&255)>10){m=(j&255)>12?32:16;l=0;do{k=(a[g+(l+41)>>0]<<1)+128|0;k=(k|0)<0?0:k;if((k|0)>256){k=f+49600+(l*36|0)+8|0;c[k>>2]=c[k>>2]|2048;k=128}c[f+49600+(l*36|0)>>2]=k;l=l+1|0}while(l>>>0>>0);k=m+41|0}else{c[f+49600>>2]=a[g+41>>0]&1?48:208;c[f+49636>>2]=a[g+42>>0]&1?48:208;c[f+49672>>2]=a[g+43>>0]&1?48:208;c[f+49708>>2]=a[g+44>>0]&1?48:208;c[f+49744>>2]=a[g+45>>0]&1?48:208;c[f+49780>>2]=a[g+46>>0]&1?48:208;c[f+49816>>2]=a[g+47>>0]&1?48:208;c[f+49852>>2]=a[g+48>>0]&1?48:208;c[f+49888>>2]=a[g+49>>0]&1?48:208;c[f+49924>>2]=a[g+50>>0]&1?48:208;c[f+49960>>2]=a[g+51>>0]&1?48:208;c[f+49996>>2]=a[g+52>>0]&1?48:208;c[f+50032>>2]=a[g+53>>0]&1?48:208;c[f+50068>>2]=a[g+54>>0]&1?48:208;c[f+50104>>2]=a[g+55>>0]&1?48:208;c[f+50140>>2]=a[g+56>>0]&1?48:208;j=a[g+3>>0]|0;k=57}c[f+59652>>2]=125;c[f+59648>>2]=6;if((j&255)>12){j=a[g+k>>0]|0;if((j&255)>31)c[f+59652>>2]=j&255;j=a[g+(k+1)>>0]|0;if((j&255)<33)c[f+59648>>2]=j&255;j=k+2|0;l=0}else{j=k;l=0}do{k=f+53344+l|0;a[k>>0]=-1;if(l>>>0<(d[g+37>>0]|0)>>>0){a[k>>0]=l;k=f+52864+(l<<1)|0;b[k>>1]=64;if((d[g+3>>0]|0)>13){b[k>>1]=b[g+j>>1]|0;j=j+2|0}c[w+960+(l<<2)>>2]=g+j;j=(c[f+59664>>2]<<1)+j|0}l=l+1|0}while((l|0)!=256);k=j;j=c[f+59684>>2]|0;if(((j*65|0)+k|0)>>>0>h>>>0)j=1;else{c:do if(!j)u=0;else{j=0;l=0;while(1){s=k;while(1){t=j;j=j+1|0;o=g+s|0;k=s+57|0;p=f+59804+(j<<5)|0;q=g+(s+1)|0;r=p+32|0;do{a[p>>0]=a[q>>0]|0;p=p+1|0;q=q+1|0}while((p|0)<(r|0));a[f+59804+(j<<5)+31>>0]=0;p=f+33280+(j<<6)+42|0;q=g+(s+33)|0;r=p+13|0;do{a[p>>0]=a[q>>0]|0;p=p+1|0;q=q+1|0}while((p|0)<(r|0));a[f+33280+(j<<6)+54>>0]=0;p=g+(s+50)|0;p=d[p>>0]|d[p+1>>0]<<8|d[p+2>>0]<<16|d[p+3>>0]<<24;c[f+33280+(j<<6)>>2]=p;u=g+(s+54)|0;c[f+33280+(j<<6)+24>>2]=(d[u>>0]|d[u+1>>0]<<8)&65535;b[f+33280+(j<<6)+32>>1]=64;b[f+33280+(j<<6)+30>>1]=d[g+(s+56)>>0]<<2;if((d[g+3>>0]|0)>10){n=c[g+k>>2]|0;c[f+33280+(j<<6)+4>>2]=n;m=c[g+(s+61)>>2]|0;k=s+65|0}else{n=e[g+k>>1]|0;c[f+33280+(j<<6)+4>>2]=n;m=p;k=s+59|0}c[f+33280+(j<<6)+8>>2]=m;c[w+(t<<2)>>2]=0;if(a[o>>0]|0){o=g+(s+46)|0;o=d[o>>0]|d[o+1>>0]<<8|d[o+2>>0]<<16|d[o+3>>0]<<24;if(o>>>0<(h+-1|0)>>>0)break}if(j>>>0>=(c[f+59684>>2]|0)>>>0){u=l;break c}else s=k}c[w+(t<<2)>>2]=o;l=o>>>0>l>>>0?o:l;if(!(m>>>0<=(n+2|0)>>>0|m>>>0>p>>>0))b[f+33280+(j<<6)+34>>1]=e[f+33280+(j<<6)+34>>1]|2;if(j>>>0>=(c[f+59684>>2]|0)>>>0){u=l;break}}}while(0);t=g+k|0;m=d[g+38>>0]|d[g+38+1>>0]<<8;j=((m&65535)<<1)+k|0;if(!(m<<16>>16))k=0;else{l=0;k=0;do{s=e[t+(l<<1)>>1]|0;k=k>>>0>>0?s:k;l=l+1|0}while(l>>>0<(m&65535)>>>0)}s=_Ab(k>>>0>1073741823?-1:k<<2)|0;c[s>>2]=0;if(k){m=0;do{do if(j>>>0<=(h+-3|0)>>>0){l=g+j|0;j=j+3+((d[g+(j+2)>>0]<<16|e[l>>1])*3|0)|0;if(j>>>0>h>>>0)break;c[s+(m<<2)>>2]=l}while(0);m=m+1|0}while((m|0)!=(k|0))}d:do if(a[g+37>>0]|0){l=c[f+59664>>2]|0;r=0;do{q=f+52864+(r<<1)|0;o=ONa(e[q>>1]|0,l)|0;if(!o)break d;c[f+51904+(r<<2)>>2]=o;l=c[f+59664>>2]|0;if(!l)l=0;else{p=c[w+960+(r<<2)>>2]|0;n=0;do{m=b[p+(n<<1)>>1]|0;do if(m<<16>>16){if((m&65535)>((d[g+38>>0]|d[g+38+1>>0]<<8)&65535))break;m=b[t+((m&65535)+-1<<1)>>1]|0;if(!(m<<16>>16))break;if(((m&65535)+-1|0)>>>0>=k>>>0)break;m=c[s+((m&65535)+-1<<2)>>2]|0;if(!m)break;vPa(o+(n*6|0)|0,m,e[q>>1]|0,l);l=c[f+59664>>2]|0}while(0);n=n+1|0}while(n>>>0>>0)}r=r+1|0}while(r>>>0<(d[g+37>>0]|0)>>>0)}while(0);aBb(s);if(j>>>0>>0&(u|0)!=0){n=1;do{k=c[f+59684>>2]|0;m=0;while(1){if(m>>>0>=k>>>0)break;l=m+1|0;if((n|0)==(c[w+(m<<2)>>2]|0)){v=95;break}else m=l}if((v|0)==95){v=0;j=(SNa(f,f+33280+(l<<6)|0,1,g+j|0,h-j|0)|0)+j|0}n=n+1|0}while(j>>>0>>0&n>>>0<=u>>>0);j=1}else j=1}}else j=0;else j=0;else j=0;f=j;i=w;return f|0}function vPa(b,c,f,g){b=b|0;c=c|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=d[c+2>>0]<<16|e[c>>1];if(!h)return;else i=0;while(1){l=c;c=c+3|0;h=h+-1|0;j=d[c>>0]|0;k=a[l+4>>0]|0;l=a[l+5>>0]|0;if(j>>>0>=f>>>0){n=42;break}m=_(j,g)|0;a:do if((k&255)<127){a[b+(m*6|0)>>0]=(k&255)+1;if(!(a[b+(m*6|0)+1>>0]|0))a[b+(m*6|0)+1>>0]=i;a[b+(m*6|0)+2>>0]=1;a[b+(m*6|0)+4>>0]=l}else switch(k<<24>>24){case 127:{if(!(((l<<24>>24)+j|0)>-1?((l<<24>>24)+j|0)<(f|0):0))break a;l=b+((_((l<<24>>24)+j|0,g)|0)*6|0)|0;a[b+(m*6|0)>>0]=a[l>>0]|0;a[b+(m*6|0)+1>>0]=a[l+1>>0]|0;a[b+(m*6|0)+2>>0]=a[l+2>>0]|0;a[b+(m*6|0)+3>>0]=a[l+3>>0]|0;a[b+(m*6|0)+4>>0]=a[l+4>>0]|0;a[b+(m*6|0)+5>>0]=a[l+5>>0]|0;break a}case -128:{a[b+(m*6|0)+1>>0]=(l&255)+1;i=(l&255)+1&255;break a}case -125:{a[b+(m*6|0)+2>>0]=1;a[b+(m*6|0)+4>>0]=l;break a}default:{b:do switch(k&127|0){case 1:{k=16;j=l&255;break}case 2:{j=11;n=15;break}case 10:{j=10;n=15;break}case 11:{j=11;n=16;break}case 4:{if(!(l&128)){k=3;j=l&255}else{k=2;j=0-(l&255)&127}break}case 6:{k=4;j=l&255;break}case 7:{k=18;j=l&255;break}case 8:{k=1;j=l&255;break}case 9:{k=5;j=l&255;break}case 12:{k=14;j=l&255;break}case 13:{k=12;j=l&255;break}case 15:{k=15;j=l&255;break}case 16:{k=10;j=l&255;break}case 17:{if(!(l<<24>>24))break a;if(!(l&128)){k=11;j=(l&255)<<4&240|15;break b}else{k=11;j=0-(l&255)&15|240;break b}}case 22:case 18:{if(!(l<<24>>24))break a;j=(k&127|0)==22?224:240;if(!(l&128)){k=(l&255)>>>7^3;j=j|l&255;break b}else{k=(l&255)>>>7^3;j=j|0-(l&255)&15;break b}}case 19:{k=20;j=l&15|208;break}case 20:{k=20;j=l&15|192;break}case 21:{k=17;j=l&255;break}case 23:{if(!(a[b+(m*6|0)+3>>0]|0))break a;if(a[b+(m*6|0)+2>>0]|0)break a;a[b+(m*6|0)+2>>0]=2;a[b+(m*6|0)+4>>0]=((l&255)+64|0)>>>1&63;break a}default:break a}while(0);if((n|0)==15){j=(j|0)==10?6:j;n=16}if((n|0)==16){n=0;k=(j|0)==11?7:j;j=(l&128|0)==0?(l&255)<<4&240:0-(l&255)&15}a[b+(m*6|0)+3>>0]=k;a[b+(m*6|0)+5>>0]=j;break a}}while(0);if(!h){n=42;break}}if((n|0)==42)return}function wPa(e,f,g){e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+1200|0;if(g>>>0<256){e=0;i=v;return e|0}if((d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24|0)!=541938512){e=0;i=v;return e|0}if(((d[f+4>>0]|d[f+4+1>>0]<<8|d[f+4+2>>0]<<16|d[f+4+3>>0]<<24)+12|0)>>>0>g>>>0){e=0;i=v;return e|0}if((d[f+8>>0]|d[f+8+1>>0]<<8|d[f+8+2>>0]<<16|d[f+8+3>>0]<<24|0)!=1162627398){e=0;i=v;return e|0}c[e+59680>>2]=4194304;c[e+59664>>2]=16;c[e+59684>>2]=0;c[e+49600>>2]=64;c[e+49636>>2]=192;c[e+49672>>2]=192;c[e+49708>>2]=64;c[e+49744>>2]=64;c[e+49780>>2]=192;c[e+49816>>2]=192;c[e+49852>>2]=64;c[e+49888>>2]=64;c[e+49924>>2]=192;c[e+49960>>2]=192;c[e+49996>>2]=64;c[e+50032>>2]=64;c[e+50068>>2]=192;c[e+50104>>2]=192;c[e+50140>>2]=64;r=20;s=12;h=0;j=0;while(1){k=f+s|0;q=f+(s+4)|0;o=d[q>>0]|d[q+1>>0]<<8|d[q+2>>0]<<16|d[q+3>>0]<<24;if(o>>>0>=(g+-8|0)>>>0){k=h;u=j;break}if((s+8+o|0)>>>0>g>>>0){k=h;u=j;break}p=f+r|0;a:do if(o){k=d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24;if((k|0)<1280592212){if((k|0)>=1196314451){switch(k|0){case 1196314451:break;default:break a}h=(h|0)!=0|o>>>0<19?h:s;break}switch(k|0){case 1146045008:break;default:break a}if(!(j>>>0<240&o>>>0>11))break;c[v+(j<<2)>>2]=s;j=j+1|0;break}if((k|0)<1347244868){switch(k|0){case 1280592212:break;default:break a}n=(a[p>>0]|0)==0;u=n?o+-1|0:o;mBb(e+59804|0,(n?f+(s+9)|0:p)|0,(u>>>0>31?31:u)|0)|0;a[e+59835>>0]=0;break}switch(k|0){case 1347244868:break;default:break a}if(o>>>0>95){n=(c[e+59684>>2]|0)+1|0;if(n>>>0<240){c[e+59684>>2]=n;k=e+59804+(n<<5)|0;l=f+(s+21)|0;m=k+31|0;do{a[k>>0]=a[l>>0]|0;k=k+1|0;l=l+1|0}while((k|0)<(m|0));k=c[e+59684>>2]|0;a[e+59804+(k<<5)+31>>0]=0;a[v+960+(k+-1)>>0]=k;b[e+33280+(n<<6)+32>>1]=64;k=f+(s+81)|0;c[e+33280+(n<<6)+24>>2]=d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24;k=f+(s+62)|0;k=d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24;c[e+33280+(n<<6)>>2]=k;l=f+(s+66)|0;l=d[l>>0]|d[l+1>>0]<<8|d[l+2>>0]<<16|d[l+3>>0]<<24;c[e+33280+(n<<6)+4>>2]=l;u=f+(s+70)|0;c[e+33280+(n<<6)+8>>2]=d[u>>0]|d[u+1>>0]<<8|d[u+2>>0]<<16|d[u+3>>0]<<24;b[e+33280+(n<<6)+28>>1]=128;b[e+33280+(n<<6)+30>>1]=(d[f+(s+76)>>0]<<1)+2;b[e+33280+(n<<6)+34>>1]=(a[p>>0]|0)<0?2:0;if(l|0)c[e+33280+(n<<6)+4>>2]=l+-1;if((o+-96|0)>>>0>3&k>>>0>3){SNa(e,e+33280+(n<<6)|0,2,f+(s+104)|0,o+-96|0)|0;break}else{c[e+33280+(n<<6)>>2]=0;break}}}}while(0);s=(d[q>>0]|d[q+1>>0]<<8|d[q+2>>0]<<16|d[q+3>>0]<<24)+r|0;r=s+8|0;if(r>>>0>=g>>>0){k=h;u=j;break}}if(!k){e=1;i=v;return e|0}h=a[f+(k+18)>>0]|0;if((h+-2&255)>30){e=1;i=v;return e|0}c[e+59664>>2]=h&255;r=k+8+(c[f+(k+4)>>2]|0)|0;h=k+27|0;b:do if(h>>>0>>0){g=(u|0)==0;k=k+19|0;do{q=f+(k+4)|0;j=d[q>>0]|d[q+1>>0]<<8|d[q+2>>0]<<16|d[q+3>>0]<<24;if(j>>>0>r>>>0|(j+h|0)>>>0>r>>>0)break b;s=f+k|0;if(j>>>0>31?(d[s>>0]|d[s+1>>0]<<8|d[s+2>>0]<<16|d[s+3>>0]<<24|0)==1212960847:0){c:do if((j+-3|0)>>>0>5){o=h+-4|0;p=h+-2|0;d:do if(g){l=j+-3|0;while(1){m=l+-5|0;k=a[f+(o+l)>>0]|0;if((k+-1&255)<16){l=f+(p+l)|0;if(((a[l>>0]|0)+-65&255)<127)break d}if(m>>>0>5)l=m;else break c}}else{n=j+-3|0;while(1){m=n+-5|0;k=c[f+(m+h)>>2]|0;l=0;while(1){s=f+((c[v+(l<<2)>>2]|0)+12)|0;l=l+1|0;if((k|0)==(d[s>>0]|d[s+1>>0]<<8|d[s+2>>0]<<16|d[s+3>>0]<<24|0))break;if(l>>>0>=u>>>0){t=32;break}}if((t|0)==32){t=0;k=a[f+(o+n)>>0]|0;if((k+-1&255)<16){l=f+(p+n)|0;if(((a[l>>0]|0)+-65&255)<127)break d}}if(m>>>0>5)n=m;else break c}}while(0);c[e+59648>>2]=k&255;c[e+59652>>2]=d[l>>0]}else m=j+-3|0;while(0);k=m+5|0;e:do if(k>>>0>>0){l=0;while(1){if(g)break;f:while(1){m=c[f+(m+h)>>2]|0;n=0;do{s=f+((c[v+(n<<2)>>2]|0)+12)|0;if((m|0)==(d[s>>0]|d[s+1>>0]<<8|d[s+2>>0]<<16|d[s+3>>0]<<24|0)){m=k;k=n;break f}n=n+1|0}while(n>>>0>>0);m=k+5|0;if(m>>>0>>0){s=k;k=m;m=s}else break e}a[e+53344+l>>0]=k;l=l+1|0;if((m+5|0)>>>0>>0&l>>>0<256)k=m+5|0;else break e}do k=k+5|0;while(k>>>0>>0)}while(0);j=d[q>>0]|d[q+1>>0]<<8|d[q+2>>0]<<16|d[q+3>>0]<<24}k=j+h|0;h=k+8|0}while(h>>>0>>0)}while(0);if(!u){e=1;i=v;return e|0}else s=0;while(1){g=c[v+(s<<2)>>2]|0;r=(c[f+(g+4)>>2]|0)+-12|0;t=d[f+(g+16)>>0]|d[f+(g+16)+1>>0]<<8;h=d[f+(g+8)>>0]|d[f+(g+8)+1>>0]<<8|d[f+(g+8)+2>>0]<<16|d[f+(g+8)+3>>0]<<24;r=r>>>0>h>>>0?h:r;t=(t+-64&65535)>192?64:t&65535;b[e+52864+(s<<1)>>1]=t;h=ONa(t,c[e+59664>>2]|0)|0;c[e+51904+(s<<2)>>2]=h;if(!h){h=1;t=82;break}g:do if(t|0){l=0;k=0;q=0;while(1){j=k+1|0;if(j>>>0>>0)p=l;else break g;while(1){o=d[f+(k+(g+20))>>0]|0;n=k+2|0;l=d[f+(j+(g+20))>>0]|0;if(!((o&240|0)!=16|l>>>0>p>>>0)){m=k+3|0;if(m>>>0>>0)if(!(a[f+(n+(g+20))>>0]&15)){j=c[e+59664>>2]|0;if((d[f+(m+(g+20))>>0]|0)>>>0>>0){k=n;break}}}if(n>>>0>=r>>>0)break g;j=c[e+59664>>2]|0;if(!(o&240)){k=n;break}p=l>>>0>>0?l:0;do if(!(o&64))j=n;else{l=k+3|0;if(l>>>0>=r>>>0){j=n;break}j=a[f+(n+(g+20))>>0]|0;if(j<<24>>24>0)j=(j&15)+13+(((j&255)>>>4)*12|0)|0;else j=j&255;a[h+(p*6|0)+1>>0]=a[v+960+(d[f+(l+(g+20))>>0]|0)>>0]|0;a[h+(p*6|0)>>0]=j;j=k+4|0}while(0);if((o&32|0)!=0&j>>>0>>0){a[h+(p*6|0)+2>>0]=1;a[h+(p*6|0)+4>>0]=(d[f+(j+(g+20))>>0]|0)>>>1;j=j+1|0}do if(!(o&16))k=j;else{l=j+1|0;if(l>>>0>=r>>>0){k=j;break}k=j+2|0;l=d[f+(l+(g+20))>>0]|0;switch(d[f+(j+(g+20))>>0]|0){case 1:{m=11;j=l|15;break}case 4:{m=11;j=l>>>4|240;break}case 12:{m=2;j=(l+1|0)>>>1;break}case 14:{m=3;j=(l+1|0)>>>1;break}case 51:{m=12;j=l;break}case 52:{m=14;j=l;break}case 61:{m=16;j=l;break}case 62:{m=17;j=l;break}default:{m=0;j=0}}a[h+(p*6|0)+3>>0]=m;a[h+(p*6|0)+5>>0]=j}while(0);j=k+1|0;if(j>>>0>=r>>>0)break g}q=q+1|0;if(q>>>0>=t>>>0)break;else h=h+(j*6|0)|0}}while(0);s=s+1|0;if(s>>>0>=u>>>0){h=1;t=82;break}}if((t|0)==82){i=v;return h|0}return 0}function xPa(f,g,h){f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0;U=i;i=i+2096|0;if((g|0)==0|h>>>0<382){f=0;i=U;return f|0}if((d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24|0)!=808604749){f=0;i=U;return f|0}if(((d[g+8>>0]|d[g+8+1>>0]<<8)&-256)<<16>>16!=512){f=0;i=U;return f|0}l=d[g+112>>0]|d[g+112+1>>0]<<8;if((l+-4&65535)>60){f=0;i=U;return f|0}c[f+59680>>2]=1048576;c[f+59664>>2]=l&65535;c[f+59736>>2]=(d[g+108>>0]|d[g+108+1>>0]<<8)&65535;c[f+59648>>2]=d[g+116>>0];c[f+59652>>2]=125;l=d[g+114>>0]|d[g+114+1>>0]<<8;if((l+-101&65535)<4899)c[f+59652>>2]=110250/((l&65535)>>>0)|0;m=0;do{if(m>>>0<((d[g+106>>0]|d[g+106+1>>0]<<8)&65535)>>>0)l=d[g+(m+126)>>0]|0;else l=255;a[f+53344+m>>0]=l;m=m+1|0}while((m|0)!=256);r=f+59804|0;s=g+42|0;t=r+31|0;do{a[r>>0]=a[s>>0]|0;r=r+1|0;s=s+1|0}while((r|0)<(t|0));a[f+59835>>0]=0;l=b[g+382>>1]|0;x=(l&65535)>1?g+384|0:0;if(((l&65535)+384|0)>>>0>=(h+-12|0)>>>0){f=1;i=U;return f|0}m=(c[g+((l&65535)+384)>>2]|0)==0?(l&65535)+388|0:(l&65535)+384|0;m=(c[g+m>>2]|0)==0?m+4|0:m;l=m+4+(c[g+m>>2]|0)|0;if(l>>>0>=h>>>0){f=1;i=U;return f|0}a:do if((m+12|0)>>>0>>0){p=m+12|0;n=m+4|0;while(1){m=c[g+(n+4)>>2]|0;o=n;n=m+p|0;if(n>>>0>h>>>0){Q=1;break}if(m>>>0>3?(c[g+o>>2]|0)==4674381:0)if(!(c[f+59796>>2]|0)){O=m>>>0>32e3?32e3:m;N=_Ab(O)|0;c[f+59796>>2]=N;mBb(N|0,g+(o+9)|0,O+-1|0)|0;a[N+(O+-1)>>0]=0}p=n+8|0;if(p>>>0>=l>>>0)break a}i=U;return Q|0}while(0);m=d[g+110>>0]|d[g+110+1>>0]<<8;b:do if(!(m<<16>>16))m=0;else{w=0;c:while(1){d:do if(l>>>0<(h+-6|0)>>>0){u=g+(l+2)|0;u=(d[u>>0]|d[u+1>>0]<<8|d[u+2>>0]<<16|d[u+3>>0]<<24)+1&-2;v=l+6|0;if((u+v|0)>>>0>h>>>0){l=v;break b}t=g+l|0;t=d[t>>0]|d[t+1>>0]<<8;if(w>>>0<240&(t+-1&65535)<256){b[f+52864+(w<<1)>>1]=t;s=ONa(t&65535,c[f+59664>>2]|0)|0;c[f+51904+(w<<2)>>2]=s;if(!s){Q=1;break c}if(!((d[g+118>>0]|d[g+118+1>>0]<<8|d[g+118+2>>0]<<16|d[g+118+3>>0]<<24)&1)){if(u>>>0<=7){l=u+v|0;break}o=u;l=s;m=0;n=g+v|0;while(1){if(m>>>0>=(_(c[f+59664>>2]|0,t&65535)|0)>>>0){l=u+v|0;break d}yPa(f,l,n);o=o+-7|0;if(o>>>0<=7){l=u+v|0;break d}else{l=l+6|0;m=m+1|0;n=n+7|0}}}r=l+8|0;l=0;p=0;m=0;while(1){if(p>>>0>=u>>>0){l=u+v|0;break d}o=p+1|0;n=a[g+(p+v)>>0]|0;if(n<<24>>24==-1){q=d[g+(r+p)>>0]|0;n=p+3|0;p=d[g+(o+v)>>0]|0}else{q=n&255;n=o;p=0}if(q&127){o=(_(c[f+59664>>2]|0,m)|0)+l|0;a[U+2076>>0]=0;a[U+2076+1>>0]=0;a[U+2076+2>>0]=0;a[U+2076+3>>0]=0;a[U+2076+4>>0]=0;a[U+2076+5>>0]=0;a[U+2076+6>>0]=0;if(q&1){a[U+2076>>0]=a[g+(n+v)>>0]|0;n=n+1|0}if(q&2){a[U+2076+1>>0]=a[g+(n+v)>>0]|0;n=n+1|0}if(q&4){a[U+2076+2>>0]=a[g+(n+v)>>0]|0;n=n+1|0}if(q&8){a[U+2076+3>>0]=a[g+(n+v)>>0]|0;n=n+1|0}if(q&16){a[U+2076+4>>0]=a[g+(n+v)>>0]|0;n=n+1|0}if(q&32){a[U+2076+5>>0]=a[g+(n+v)>>0]|0;n=n+1|0}if(q&64){a[U+2076+6>>0]=a[g+(n+v)>>0]|0;n=n+1|0}yPa(f,s+(o*6|0)|0,U+2076|0)}m=m+1+p|0;if(m>>>0>=(t&65535)>>>0)do{m=m-(t&65535)|0;l=l+1|0}while(m>>>0>=(t&65535)>>>0);if(l>>>0<(c[f+59664>>2]|0)>>>0)p=n;else{l=u+v|0;break}}}else l=u+v|0}while(0);w=w+1|0;m=d[g+110>>0]|d[g+110+1>>0]<<8;if(w>>>0>=(m&65535)>>>0)break b}i=U;return Q|0}while(0);e:do if(x|0){o=d[x>>0]|d[x+1>>0]<<8;if(o<<16>>16){n=0;while(1){if(l>>>0>(h+-2|0)>>>0){Q=1;break}l=(e[g+l>>1]<<5|2)+l|0;n=n+1|0;if(n>>>0>=(o&65535)>>>0)break e}i=U;return Q|0}}while(0);n=d[g+118>>0]|d[g+118+1>>0]<<8|d[g+118+2>>0]<<16|d[g+118+3>>0]<<24;f:do if(n&2){O=(c[f+59664>>2]|0)+(n>>>4&1)|0;n=_((x|0)!=0&(n&8|0)!=0?O+8|0:O,m&65535)|0;if(n){m=0;while(1){if((l+12|0)>>>0>=h>>>0){Q=1;break}O=g+l|0;l=(((d[g+8>>0]|d[g+8+1>>0]<<8)&65535)<514?4:8)+l|0;O=d[O>>0]|d[O+1>>0]<<8|d[O+2>>0]<<16|d[O+3>>0]<<24;l=(O&1|0)==0?l:l+260|0;l=(O&2|0)==0?l:l+260|0;l=(O&4|0)==0?l:l+260|0;l=(O&8|0)==0?l:l+260|0;l=(O&16|0)==0?l:l+260|0;l=(O&32|0)==0?l:l+260|0;l=(O&64|0)==0?l:l+260|0;l=(O&128|0)==0?l:l+260|0;l=(O&256|0)==0?l:l+260|0;l=(O&512|0)==0?l:l+260|0;l=(O&1024|0)==0?l:l+260|0;l=(O&2048|0)==0?l:l+260|0;l=(O&4096|0)==0?l:l+260|0;l=(O&8192|0)==0?l:l+260|0;m=m+1|0;if(m>>>0>=n>>>0)break f}i=U;return Q|0}}while(0);hBb(U+1056|0,0,1020)|0;O=(d[g+122>>0]|d[g+122+1>>0]<<8)&65535;c[f+59688>>2]=O>>>0>239?239:O;O=1;while(1){N=l+36|0;if(N>>>0>h>>>0){Q=1;S=148;break}o=g+l|0;if(O>>>0>(c[f+59688>>2]|0)>>>0)n=0;else{n=YAb(632)|0;c[f+48640+(O<<2)>>2]=n;hBb(n|0,0,632)|0;r=n+585|0;s=o;t=r+32|0;do{a[r>>0]=a[s>>0]|0;r=r+1|0;s=s+1|0}while((r|0)<(t|0));b[n+8>>1]=64;b[n+10>>1]=128;m=0;do{M=m;m=m+1|0;a[n+(M+428)>>0]=m}while((m|0)!=120)}M=g+(l+32)|0;m=d[M>>0]|d[M+1>>0]<<8|d[M+2>>0]<<16|d[M+3>>0]<<24;if((h+-40|0)>>>0>>0|(m|0)<1|m>>>0>(h+-40-l|0)>>>0)l=N;else{c[U+1056+(O+-1<<2)>>2]=o;if(!n)l=m;else{L=g+(l+138)|0;c[n>>2]=(d[L>>0]|d[L+1>>0]<<8)&65535;L=g+(l+140)|0;L=(d[L>>0]|d[L+1>>0]<<8)&65535;a[n+571>>0]=L&3;a[n+572>>0]=L>>>8&3;a[n+573>>0]=L>>>12&3;do if(((d[g+8>>0]|d[g+8+1>>0]<<8)&65535)<514){p=g+(l+144)|0;c[U+16>>2]=p;c[U+16+4>>2]=g+(l+152);c[U+16+12>>2]=0;c[U+16+8>>2]=0;c[U>>2]=g+(l+160);c[U+4>>2]=g+(l+224);c[U+12>>2]=0;c[U+8>>2]=0}else{m=l+148|0;o=g+(l+144)|0;o=(d[o>>0]|d[o+1>>0]<<8)&65535;if(!(o&1)){c[U+16>>2]=0;c[U>>2]=0;p=0;l=m}else{c[U+16>>2]=g+m;c[U>>2]=g+(l+156);p=g+m|0;l=l+220|0}if(!(o&2)){c[U+16+4>>2]=0;c[U+4>>2]=0}else{c[U+16+4>>2]=g+l;c[U+4>>2]=g+(l+8);l=l+72|0}if(!(o&4)){c[U+16+8>>2]=0;c[U+8>>2]=0}else{c[U+16+8>>2]=g+l;c[U+8>>2]=g+(l+8);l=l+72|0}if(!(o&8)){c[U+16+12>>2]=0;c[U+12>>2]=0;break}else{c[U+16+12>>2]=g+l;c[U+12>>2]=g+(l+8);break}}while(0);r=n+558|0;s=n+570|0;t=n+569|0;u=n+567|0;v=n+568|0;w=n+140|0;x=n+268|0;y=n+4|0;z=n+556|0;A=n+562|0;B=n+561|0;C=n+559|0;D=n+560|0;E=n+12|0;F=n+204|0;G=n+557|0;H=n+566|0;I=n+565|0;J=n+563|0;K=n+564|0;L=n+76|0;q=n+236|0;l=0;while(1){do if(p|0){switch(l|0){case 0:{m=a[p>>0]|0;if(m&1)c[y>>2]=c[y>>2]|1;if(m&2)c[y>>2]=c[y>>2]|2;if(m&4)c[y>>2]=c[y>>2]|4;o=a[p+1>>0]|0;a[z>>0]=(o&255)>16?16:o;o=a[p+2>>0]|0;a[A>>0]=o;a[B>>0]=o;a[C>>0]=a[p+3>>0]|0;a[D>>0]=a[p+4>>0]|0;o=F;p=E;break}case 1:{m=a[p>>0]|0;if(m&1)c[y>>2]=c[y>>2]|8;if(m&2)c[y>>2]=c[y>>2]|16;if(m&4)c[y>>2]=c[y>>2]|32;o=a[p+1>>0]|0;a[G>>0]=(o&255)>16?16:o;o=a[p+2>>0]|0;a[H>>0]=o;a[I>>0]=o;a[J>>0]=a[p+3>>0]|0;a[K>>0]=a[p+4>>0]|0;o=q;p=L;break}default:{m=a[p>>0]|0;if(m&1)c[y>>2]=c[y>>2]|((l|0)==3?1088:64);if(m&2)c[y>>2]=c[y>>2]|128;if(m&4)c[y>>2]=c[y>>2]|256;o=a[p+1>>0]|0;a[r>>0]=(o&255)>16?16:o;o=a[p+2>>0]|0;a[s>>0]=o;a[t>>0]=o;a[u>>0]=a[p+3>>0]|0;a[v>>0]=a[p+4>>0]|0;o=x;p=w}}m=c[U+(l<<2)>>2]|0;if(!m)break;else n=0;do{V=n<<1;b[p+(n<<1)>>1]=b[m+(V<<1)>>1]|0;a[o+n>>0]=b[m+((V|1)<<1)>>1];n=n+1|0}while((n|0)!=16)}while(0);l=l+1|0;if((l|0)==4)break;p=c[U+16+(l<<2)>>2]|0}l=d[M>>0]|d[M+1>>0]<<8|d[M+2>>0]<<16|d[M+3>>0]<<24}l=N+l|0;l=((d[g+8>>0]|d[g+8+1>>0]<<8)&65535)>513?l+4|0:l}O=O+1|0;if(O>>>0>=256){P=l;break}}if((S|0)==148){i=U;return Q|0}hBb(U+32|0,0,1024)|0;p=(d[g+124>>0]|d[g+124+1>>0]<<8)&65535;c[f+59684>>2]=p>>>0>239?239:p;p=P;q=1;while(1){l=p+36|0;if(l>>>0>h>>>0){Q=1;S=148;break}m=g+p|0;o=q>>>0<240;if(o){r=f+59804+(q<<5)|0;s=m;t=r+32|0;do{a[r>>0]=a[s>>0]|0;r=r+1|0;s=s+1|0}while((r|0)<(t|0))}n=g+(p+32)|0;if(d[n>>0]|d[n+1>>0]<<8|d[n+2>>0]<<16|d[n+3>>0]<<24){c[U+32+(q+-1<<2)>>2]=m;g:do if(o){m=f+33280+(q<<6)|0;b[f+33280+(q<<6)+32>>1]=64;O=g+(p+56)|0;b[f+33280+(q<<6)+30>>1]=((d[O>>0]|d[O+1>>0]<<8)&65535)>>>7;O=a[g+(p+58)>>0]|0;b[f+33280+(q<<6)+28>>1]=O<<24>>24==-128?128:(O&255^128)&65535;c[m>>2]=d[g+l>>0]|d[g+l+1>>0]<<8|d[g+l+2>>0]<<16|d[g+l+3>>0]<<24;O=g+(p+40)|0;V=f+33280+(q<<6)+24|0;c[V>>2]=d[O>>0]|d[O+1>>0]<<8|d[O+2>>0]<<16|d[O+3>>0]<<24;O=g+(p+48)|0;c[f+33280+(q<<6)+4>>2]=d[O>>0]|d[O+1>>0]<<8|d[O+2>>0]<<16|d[O+3>>0]<<24;O=g+(p+52)|0;c[f+33280+(q<<6)+8>>2]=d[O>>0]|d[O+1>>0]<<8|d[O+2>>0]<<16|d[O+3>>0]<<24;zPa(m);O=f+33280+(q<<6)+36|0;P=-207-(d[g+(p+59)>>0]|0)+(d[O>>0]|0)|0;a[O>>0]=P;c[V>>2]=APa(P<<24>>24,a[f+33280+(q<<6)+37>>0]|0)|0;if((a[g+(p+44)>>0]|0)==2){V=f+33280+(q<<6)+34|0;b[V>>1]=e[V>>1]|1;c[m>>2]=(c[m>>2]|0)>>>1}if((a[g+(p+45)>>0]|0)==2)c[m>>2]=(c[m>>2]|0)>>>1;switch(a[g+(p+47)>>0]|0){case 1:{V=f+33280+(q<<6)+34|0;b[V>>1]=e[V>>1]|2;break g}case 2:{V=f+33280+(q<<6)+34|0;b[V>>1]=e[V>>1]|6;break g}default:break g}}while(0);l=l+(d[n>>0]|d[n+1>>0]<<8|d[n+2>>0]<<16|d[n+3>>0]<<24)|0}q=q+1|0;if(q>>>0>=257){k=l;R=0;break}else p=l}if((S|0)==148){i=U;return Q|0}h:while(1){p=c[U+1056+(R<<2)>>2]|0;i:do if(p){if((k+8|0)>>>0>h>>>0){Q=1;S=148;break h}if(R>>>0<(c[f+59688>>2]|0)>>>0)q=c[f+48640+(R+1<<2)>>2]|0;else q=0;m=d[p+36>>0]|d[p+36+1>>0]<<8;if(m<<16>>16){if(!q){l=0;while(1){k=k+8|0;l=l+1|0;if(l>>>0>=(m&65535)>>>0)break i}}else o=0;do{l=g+k|0;n=0;do{do if((d[p+38+n>>0]|0)==(o|0)){m=(d[l>>0]|0)+1|0;a[n+12+(q+300)>>0]=m;if(m>>>0>(c[f+59684>>2]|0)>>>0)break;a[f+33280+(m<<6)+38>>0]=a[p+134>>0]|0;a[f+33280+(m<<6)+39>>0]=a[p+135>>0]|0;a[f+33280+(m<<6)+40>>0]=a[p+136>>0]|0;a[f+33280+(m<<6)+41>>0]=a[p+137>>0]|0}while(0);n=n+1|0}while((n|0)!=96);k=k+8|0;o=o+1|0}while(o>>>0<((d[p+36>>0]|d[p+36+1>>0]<<8)&65535)>>>0)}}while(0);R=R+1|0;if(R>>>0>=255){j=k;T=0;break}}if((S|0)==148){i=U;return Q|0}while(1){if(T>>>0<(c[f+59684>>2]|0)>>>0){k=c[U+32+(T<<2)>>2]|0;if(k){l=T+1|0;if(!(a[k+46>>0]&5)){if(c[f+33280+(l<<6)>>2]|0)j=(SNa(f,f+33280+(l<<6)|0,((b[f+33280+(l<<6)+34>>1]&1)<<1)+((a[k+45>>0]|0)==2?10:2)|0,g+j|0,h-j|0)|0)+j|0}else if((j+4|0)>>>0>>0)j=j+16+(c[g+j>>2]|0)|0;if((j+4|0)>>>0>=h>>>0){Q=1;S=148;break}}}T=T+1|0;if(T>>>0>=256){Q=1;S=148;break}}if((S|0)==148){i=U;return Q|0}return 0}function yPa(b,c,d){b=b|0;c=c|0;d=d|0;var e=0;a[c>>0]=0;e=a[d>>0]|0;if(e<<24>>24){if((e&255)>96)e=-1;else e=(e&255)+12&255;a[c>>0]=e}a[c+1>>0]=a[d+1>>0]|0;e=a[d+2>>0]|0;a:do if((e+-16&255)<129){a[c+2>>0]=1;a[c+4>>0]=((e&255)+496|0)>>>1}else switch((e&-16)<<24>>24){case -96:{a[c+2>>0]=4;a[c+4>>0]=e&15;break a}case -80:{a[c+2>>0]=3;a[c+4>>0]=e&15;break a}case -64:{a[c+2>>0]=6;a[c+4>>0]=e&15;break a}default:if((e&-16)<<24>>24==-48){a[c+2>>0]=5;a[c+4>>0]=e&15;break a}else{a[c+2>>0]=0;a[c+4>>0]=0;break a}}while(0);a[c+3>>0]=0;a[c+5>>0]=0;if(a[d+4>>0]|0)return;e=a[d+5>>0]|0;if(!(e<<24>>24))if(!(a[d+6>>0]|0))return;a[c+3>>0]=a[d+6>>0]|0;a[c+5>>0]=e;PNa(b,c);return}function zPa(b){b=b|0;var d=0,e=0;d=~~(+Y(+(+((c[b+24>>2]|0)>>>0)*1.1957431543704412e-04))*2215.9795828054475);e=(((d&127)>>>0>80&1)+(d>>7)|0)>127?127:((d&127)>>>0>80&1)+(d>>7)|0;a[b+36>>0]=(e|0)<-127?-127:e&255;a[b+37>>0]=(d&127)>>>0>80?d|128:d&127;return}function APa(a,b){a=a|0;b=b|0;return ~~(+Gnb(+((a<<7)+b|0)*6.510416666666666e-04)*8363.0)>>>0|0}function BPa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;g=c[182099]|0;f=e?g|131072:g&-131073;e=(f|0)==(g|0)&((c[9751]|0)==(a|0)&(c[9752]|0)==(b|0)&(c[9750]|0)==(d|0))^1;c[9750]=d;c[182099]=f;c[9751]=a;c[9752]=b;HLa(e)|0;return 1}function CPa(a,b){a=a|0;b=b|0;if(b>>>0<2){a=0;return a|0}c[9749]=b;c[9748]=a;a=1;return a|0}function DPa(a){a=a|0;var b=0;b=c[182099]&-1049;switch(a|0){case 0:{b=b|8;break}case 1:break;case 2:{b=b|16;break}case 3:{b=b|1040;break}default:{a=0;return a|0}}c[182099]=b;a=1;return a|0}function EPa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;b=(b|0)==0?1:b;b=b>>>0>512?512:b;e=c[a+59740>>2]|0;if(!((b|0)!=0&b>>>0>>0)){c[a+59740>>2]=b;return 1}if((c[182099]&4|0)==0|d^1){c[a+59740>>2]=b;return 1}d=((_(c[9753]|0,e)|0)>>>0)/(b>>>0)|0;c[9753]=d>>>0>512?512:d;c[a+59740>>2]=b;return 1}function FPa(b){b=b|0;var c=0,d=0,f=0;f=0;c=0;while(1){d=a[b+53344+f>>0]|0;if(d<<24>>24==-1){d=6;break}if((d&255)<240)c=(e[b+52864+((d&255)<<1)>>1]|0)+c|0;f=f+1|0;if(f>>>0>=256){d=6;break}}if((d|0)==6)return c|0;return 0}function GPa(b,d){b=b|0;d=d|0;var f=0,g=0,h=0,i=0,j=0;f=0;do{a[b+(f<<8)+215>>0]=0;a[b+(f<<8)+214>>0]=0;a[b+(f<<8)+212>>0]=0;c[b+(f<<8)+144>>2]=0;c[b+(f<<8)+140>>2]=0;c[b+(f<<8)+136>>2]=0;a[b+(f<<8)+216>>0]=0;a[b+(f<<8)+245>>0]=0;a[b+(f<<8)+244>>0]=0;c[b+(f<<8)+124>>2]=0;j=b+(f<<8)+36|0;c[j>>2]=c[j>>2]|1536;a[b+(f<<8)+242>>0]=0;f=f+1|0}while((f|0)!=128);if(!d){g=0;do{c[b+(g<<8)+128>>2]=0;c[b+(g<<8)+32>>2]=0;c[b+(g<<8)+4>>2]=0;c[b+(g<<8)+40>>2]=0;c[b+(g<<8)+44>>2]=0;c[b+(g<<8)+88>>2]=0;c[b+(g<<8)+84>>2]=0;c[b+(g<<8)+96>>2]=0;c[b+(g<<8)+144>>2]=0;c[b+(g<<8)+140>>2]=0;a[b+(g<<8)+238>>0]=127;a[b+(g<<8)+239>>0]=0;j=b+(g<<8)+16|0;c[b+(g<<8)+100>>2]=0;c[b+(g<<8)+104>>2]=0;c[j>>2]=0;c[j+4>>2]=0;c[j+8>>2]=0;c[j+12>>2]=0;c[b+(g<<8)+116>>2]=256;if(g>>>0<64){c[b+(g<<8)+36>>2]=c[b+49600+(g*36|0)+8>>2];c[b+(g<<8)+120>>2]=c[b+49600+(g*36|0)>>2];f=c[b+49600+(g*36|0)+4>>2]|0}else{c[b+(g<<8)+36>>2]=0;c[b+(g<<8)+120>>2]=128;f=64}c[b+(g<<8)+168>>2]=f;g=g+1|0}while((g|0)!=128);c[b+59744>>2]=c[b+59656>>2];c[b+59708>>2]=c[b+59648>>2];c[b+59712>>2]=c[b+59652>>2]}c[b+59660>>2]=c[b+59660>>2]&-3873;h=0;a:while(1){g=a[b+53344+h>>0]|0;switch(g<<24>>24){case -1:{f=0;d=0;break a}case -2:break;default:if((g&255)<240){f=e[b+52864+((g&255)<<1)>>1]|0;if(d>>>0>>0){i=15;break a}d=d-f|0}}h=h+1|0;if(h>>>0>=256){f=0;d=0;break}}b:do if((i|0)==15)if(d>>>0<(e[b+52864+((g&255)<<1)>>1]|0)>>>0)if(!d){f=h;d=0}else{i=c[b+51904+((g&255)<<2)>>2]|0;if(!i)f=h;else{j=c[b+59664>>2]|0;while(1){if(j|0){f=0;g=_(j,d)|0;while(1){if(a[i+(g*6|0)>>0]|0){f=h;break b}f=f+1|0;if(f>>>0>=j>>>0)break;else g=g+1|0}}d=d+-1|0;if(!d){f=h;break}}}}else{f=0;d=0}while(0);c[b+59732>>2]=f;c[b+59716>>2]=d;c[b+59692>>2]=c[b+59708>>2];c[b+59676>>2]=0;c[b+59700>>2]=0;c[b+59704>>2]=0;return}function HPa(b,f,g){b=b|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;E=i;i=i+1152|0;m=c[b+59648>>2]|0;l=c[b+59652>>2]|0;k=c[b+59656>>2]|0;h=E+1024|0;j=h+128|0;do{a[h>>0]=0;h=h+1|0}while((h|0)<(j|0));h=E+896|0;j=h+128|0;do{a[h>>0]=0;h=h+1|0}while((h|0)<(j|0));h=E+768|0;j=h+128|0;do{a[h>>0]=255;h=h+1|0}while((h|0)<(j|0));hBb(E|0,0,512)|0;h=E+640|0;j=h+128|0;do{a[h>>0]=0;h=h+1|0}while((h|0)<(j|0));h=E+512|0;j=h+128|0;do{a[h>>0]=64;h=h+1|0}while((h|0)<(j|0));D=c[b+59664>>2]|0;if(D|0){h=0;do{a[E+512+h>>0]=c[b+49600+(h*36|0)+4>>2];h=h+1|0}while(h>>>0>>0)}A=c[b+59716>>2]|0;B=c[b+59732>>2]|0;t=D;h=0;o=0;p=0;j=0;a:while(1){n=a[b+53344+o>>0]|0;b:do if((n&255)>239){if(o>>>0>255|n<<24>>24==-1)break a;while(1){o=o+1|0;if(o>>>0<256){n=a[b+53344+o>>0]|0;if((n&255)>239)n=n&255;else{n=n&255;break b}}else n=255;if(o>>>0>255|(n|0)==255)break a}}else n=n&255;while(0);s=c[b+51904+(n<<2)>>2]|0;if(!s)break;y=e[b+52864+(n<<1)>>1]|0;q=p>>>0>>0?p:0;z=o+1|0;r=(q+1|0)>>>0>>0?o:z;p=(q+1|0)>>>0>>0?q+1|0:0;if(!((q|0)!=0|(t|0)==0)){n=0;do{c[E+(n<<2)>>2]=h;n=n+1|0}while(n>>>0>>0)}if(!g){if(o>>>0>B>>>0){C=15;break}if(!((o|0)!=(B|0)|q>>>0>>0)){C=15;break}}if(!t){q=0;o=r;n=0}else{y=0;x=r;w=p;n=0;u=s+((_(D,q)|0)*6|0)|0;v=b;while(1){p=c[u>>2]|0;c:do if(!p){s=x;p=w}else{s=a[u+3>>0]|0;r=a[u+5>>0]|0;q=a[u+1>>0]|0;if(q<<24>>24){a[E+1024+y>>0]=q;a[E+896+y>>0]=0;a[E+768+y>>0]=-1}if(((p&255)+-1&255)<120)a[E+896+y>>0]=p;if((a[u+2>>0]|0)==1)a[E+768+y>>0]=a[u+4>>0]|0;d:do if(!(s<<24>>24)){t=m;m=r&255}else{e:do switch(s&255|0){case 12:{if((r&255)>>>0<=o>>>0)break a;if(!f){s=r&255;p=0;break c}a[v+245>>0]=0;a[v+244>>0]=0;s=r&255;p=0;break c}case 14:{if(!f){s=z;p=r&255;break c}a[v+245>>0]=0;a[v+244>>0]=0;s=z;p=r&255;break c}case 16:{if(!(r<<24>>24)){t=m;m=r&255;break d}if((r&255)>=33)if(!(r<<24>>24>-1?(c[b+59680>>2]|0)!=1:0)){t=m;m=r&255;break d}t=r&255;m=r&255;break d}case 17:{do if(f)if(!(c[b+59680>>2]&34))q=r&255;else{p=v+235|0;if(!(r<<24>>24)){q=d[p>>0]|0;break}else{a[p>>0]=r;q=r&255;break}}else q=r&255;while(0);if(q>>>0>31){t=m;l=q;m=q;break d}p=q&15;if((q&240|0)==16){l=p+l|0;t=m;l=l>>>0>255?255:l;m=q;break d}else{l=l-p|0;t=m;l=l>>>0<32?32:l;m=q;break d}}case 20:switch(r&240|0){case 96:{t=m;n=r&15;m=r&255;break d}case 176:{r=r&15|96;break e}default:{r=r&255;break e}}case 19:{r=r&255;break}default:{t=m;m=r&255;break d}}while(0);switch(r&240|0){case 224:{t=m;n=_(r&15,m)|0;m=r;break d}case 96:break;default:{t=m;m=r;break d}}p=r&15;q=E+(y<<2)|0;if(!p){c[q>>2]=h;t=m;m=r;break}else{h=(_(h-(c[q>>2]|0)|0,p)|0)+h|0;t=m;m=r;break}}while(0);if(f)switch(s&255|0){case 3:case 2:{if(!m){m=t;s=x;p=w;break c}a[v+220>>0]=m;m=t;s=x;p=w;break c}case 4:{if(!m){m=t;s=x;p=w;break c}c[v+184>>2]=m<<2;m=t;s=x;p=w;break c}case 10:{if(!m){m=t;s=x;p=w;break c}a[v+236>>0]=m;m=t;s=x;p=w;break c}case 7:case 6:case 11:{if(!m){m=t;s=x;p=w;break c}a[v+218>>0]=m;m=t;s=x;p=w;break c}case 13:{a[E+768+y>>0]=m;m=t;s=x;p=w;break c}case 23:{k=m<<((c[b+59680>>2]|0)>>>5&1^1);k=k>>>0>128?256:k<<1;m=t;s=x;p=w;break c}case 24:{j=(m|0)==0?j:m;do if((j&15|0)!=15|(j&240|0)==0){if(!((j&240|0)!=240|(j&15|0)==0)){k=k-((j&15)<<((c[b+59680>>2]|0)==32?1:2))|0;break}if(!(j&240)){k=k-(_((j&15)<<((c[b+59680>>2]|0)==32?1:2),t)|0)|0;break}else{k=(_(j>>>4<<((c[b+59680>>2]|0)==32?1:2),t)|0)+k|0;break}}else k=(j>>>4<<((c[b+59680>>2]|0)!=32&1)<<1)+k|0;while(0);k=(k|0)<0?0:k;k=(k|0)>256?256:k;m=t;s=x;p=w;break c}case 21:{if(m>>>0>=65){m=t;s=x;p=w;break c}a[E+512+y>>0]=m;m=t;s=x;p=w;break c}case 22:{if(!m)m=d[E+640+y>>0]|0;else a[E+640+y>>0]=m;a[v+223>>0]=m;r=m&15;s=m&240;do if((r|0)!=15|(s|0)==0){m=E+512+y|0;p=a[m>>0]|0;if(!((s|0)!=240|(r|0)==0)){q=m;m=(p&255)>>>0>r>>>0?(p&255)-r|0:0;break}if(!r){q=m;m=(p&255)+(_(s>>>4,t)|0)|0;break}else{s=_(r,t)|0;q=m;m=(p&255)>>>0>s>>>0?(p&255)-s|0:0;break}}else{s=E+512+y|0;q=s;m=(d[s>>0]|0)+(m>>>4)|0}while(0);a[q>>0]=m>>>0>64?64:m&255;m=t;s=x;p=w;break c}default:{m=t;s=x;p=w;break c}}else{m=t;s=x;p=w}}while(0);y=y+1|0;if(y>>>0>=D>>>0){q=D;o=s;break}else{x=s;w=p;u=u+6|0;v=v+256|0}}}t=q;h=((((n+m|0)*2500|0)>>>0)/(l>>>0)|0)+h|0}do if((C|0)==15)if(f){c[b+59708>>2]=m;c[b+59712>>2]=l;break}else{b=h;b=b+500|0;b=(b>>>0)/1e3|0;i=E;return b|0}while(0);if(f^1|g){b=h;b=b+500|0;b=(b>>>0)/1e3|0;i=E;return b|0}c[b+59744>>2]=k;c[b+59760>>2]=j;if(!D){b=h;b=b+500|0;b=(b>>>0)/1e3|0;i=E;return b|0}else l=0;do{c[b+(l<<8)+168>>2]=d[E+512+l>>0];j=a[E+896+l>>0]|0;if(j<<24>>24)a[b+(l<<8)+214>>0]=j;j=a[E+1024+l>>0]|0;if(j<<24>>24)a[b+(l<<8)+215>>0]=j;k=E+768+l|0;j=a[k>>0]|0;if(j<<24>>24!=-1){if((j&255)>64){a[k>>0]=64;j=64}c[b+(l<<8)+116>>2]=(j&255)<<2}l=l+1|0}while(l>>>0>>0);b=h+500|0;b=(b>>>0)/1e3|0;i=E;return b|0}function IPa(a,b){a=a|0;b=b|0;a=a>>>0>100?100:a;c[9757]=a>>>0>99?0:4-((a>>>0)/20|0)|0;a=b>>>0<40?40:b;c[9758]=a>>>0>250?250:a;return 1}function JPa(a,b){a=a|0;b=b|0;a=a>>>0>100?100:a;c[9755]=a>>>0>99?4:8-((a>>>0)/20|0)|0;c[9756]=b>>>0>29?26-((b>>>0)/5|0)|0:21;return 1}function KPa(a,b){a=a|0;b=b|0;a=((a<<4>>>0)/100|0)>>>0>16?16:(a<<4>>>0)/100|0;c[9759]=(a|0)==0?1:a;a=b>>>0<4?4:b;c[9760]=a>>>0>50?50:a;return 1}function LPa(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0;i=c[182099]&-507;a=a?i|64:i;a=b?a|8:a;a=d?a|128:a;e=e?a|16:a;e=f?e|32:e;e=g?e|2:e;c[182099]=h?e|256:e;HLa(0)|0;return 1}function MPa(a){a=a|0;var b=0;b=c[9761]|0;if(b&4){IPa(c[9768]|0,c[9769]|0)|0;b=c[9761]|0}if(!(b&8))JPa(0,0)|0;else JPa(c[9770]|0,c[9771]|0)|0;if(c[9761]&16|0)KPa(c[9772]|0,c[9773]|0)|0;if(a){BPa(c[9764]|0,c[9763]|0,c[9762]|0,0)|0;CPa(c[9766]|0,c[9767]|0)|0;c[186199]=_(c[9762]|0,(c[9763]|0)/8|0)|0}a=c[9761]|0;LPa((a&16|0)!=0,(a&1|0)==0,(a&4|0)!=0,1,(a&8|0)!=0,(a&2|0)!=0,0)|0;DPa(c[9765]|0)|0;return}function NPa(a,b){a=a|0;b=b|0;var d=0;d=YAb(67500)|0;GNa(d);MPa(1);if(JNa(d,a,b)|0){b=c[9774]|0;c[d+59772>>2]=b;c[d+59776>>2]=b;b=d;return b|0}else{HNa(d);oAb(d);b=0;return b|0}return 0}function OPa(a){a=a|0;INa(a)|0;if(!a)return;HNa(a);oAb(a);return}function PPa(a,b,d){a=a|0;b=b|0;d=d|0;d=KLa(a,b,d)|0;return _(c[186199]|0,d)|0}function QPa(a){a=a|0;return (HPa(a,0,1)|0)*1e3|0}function RPa(a,b){a=a|0;b=b|0;EPa(a,b,0)|0;return}function SPa(a,b){a=a|0;b=b|0;var c=0;c=(HPa(a,0,1)|0)*1e3|0;GPa(a,~~(+(((c|0)<(b|0)?c:b)|0)*(+(FPa(a)|0)/+(c|0))));return}function TPa(a){a=a|0;var b=0,d=0;d=39044;b=d+56|0;do{c[d>>2]=c[a>>2];d=d+4|0;a=a+4|0}while((d|0)<(b|0));MPa(0);return}function UPa(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0;k=i;i=i+32|0;if(!g){e=-20;i=k;return e|0}if(!b){e=-1;i=k;return e|0}kRa(k,c[g>>2]|0,c[g+4>>2]|0);h=lRa(k,8)|0;if(!(h&128))if(!(c[b+4>>2]|0))j=7;else if(!(c[e+12>>2]|0))j=7;else if(!(c[f>>2]|0))j=7;else h=0;else j=7;a:do if((j|0)==7){a[k+20>>0]=lRa(k,8)|0;a[k+20+1>>0]=lRa(k,8)|0;a[k+20+2>>0]=lRa(k,8)|0;a[k+20+3>>0]=lRa(k,8)|0;a[k+20+4>>0]=lRa(k,8)|0;a[k+20+5>>0]=lRa(k,8)|0;if(!(qmb(k+20|0,527117,6)|0))switch(h|0){case 128:{if(!(c[g+8>>2]|0)){h=-20;break a}if(c[b+4>>2]|0){h=-20;break a}a[b>>0]=lRa(k,8)|0;a[b+1>>0]=lRa(k,8)|0;a[b+2>>0]=lRa(k,8)|0;h=a[b>>0]|0;do if((h&255)>3)h=-22;else{if(h<<24>>24==3)if((d[b+1>>0]|0)>2){h=-22;break}c[b+4>>2]=(lRa(k,16)|0)<<4;c[b+8>>2]=(lRa(k,16)|0)<<4;c[b+12>>2]=lRa(k,24)|0;c[b+16>>2]=lRa(k,24)|0;c[b+20>>2]=lRa(k,8)|0;c[b+24>>2]=lRa(k,8)|0;c[b+28>>2]=lRa(k,32)|0;f=lRa(k,32)|0;c[b+32>>2]=f;h=c[b+4>>2]|0;if(!h)h=-20;else{j=c[b+8>>2]|0;if(!j)h=-20;else if(((c[b+20>>2]|0)+(c[b+12>>2]|0)|0)>>>0>h>>>0)h=-20;else{h=c[b+16>>2]|0;g=c[b+24>>2]|0;if((g+h|0)>>>0>j>>>0)h=-20;else if((f|0)==0|(c[b+28>>2]|0)==0)h=-20;else{c[b+24>>2]=j-h-g;c[b+36>>2]=lRa(k,24)|0;c[b+40>>2]=lRa(k,24)|0;c[b+44>>2]=lRa(k,8)|0;c[b+52>>2]=lRa(k,24)|0;c[b+56>>2]=lRa(k,6)|0;c[b+60>>2]=lRa(k,5)|0;e=lRa(k,2)|0;c[b+48>>2]=e;if((e|0)==1)h=-20;else if(!(lRa(k,3)|0)){h=(nRa(k)|0)>>31&-20;if((h|0)>=0){h=3;break a}}else h=-20}}}}while(0);MQa(b);break a}case 129:{if(!e){h=-1;break a}if(!(c[b+4>>2]|0)){h=-20;break a}if(c[e+12>>2]|0){h=-20;break a}f=lRa(k,8)|0;b=lRa(k,8)|0;f=b<<8|f|(lRa(k,8)|0)<<16|(lRa(k,8)|0)<<24;b:do if((f|0)<0)h=-20;else if((f|0)>(nRa(k)|0))h=-20;else{h=Vpb(f+1|0)|0;c[e+12>>2]=h;if(!h)h=-1;else{if(f){g=f;while(1){g=g+-1|0;a[h>>0]=lRa(k,8)|0;if(!g)break;else h=h+1|0}h=c[e+12>>2]|0}a[h+f>>0]=0;b=lRa(k,8)|0;j=lRa(k,8)|0;h=lRa(k,8)|0;h=j<<8|b|h<<16|(lRa(k,8)|0)<<24;c[e+8>>2]=h;if(h>>>0<=536870911)if((h<<2|0)<=(nRa(k)|0)){b=c[e+8>>2]|0;c[e+4>>2]=Vpb(b<<2)|0;c[e>>2]=Vpb(b<<2)|0;c:do if((b|0)>0){h=0;while(1){b=lRa(k,8)|0;f=lRa(k,8)|0;j=lRa(k,8)|0;j=f<<8|b|j<<16|(lRa(k,8)|0)<<24;if((j|0)<0){j=38;break}if((j|0)>(nRa(k)|0)){j=38;break}c[(c[e+4>>2]|0)+(h<<2)>>2]=j;g=Vpb(j+1|0)|0;c[(c[e>>2]|0)+(h<<2)>>2]=g;g=c[(c[e>>2]|0)+(h<<2)>>2]|0;if(!g){j=40;break}if(j){f=j;while(1){f=f+-1|0;a[g>>0]=lRa(k,8)|0;if(!f)break;else g=g+1|0}g=c[(c[e>>2]|0)+(h<<2)>>2]|0}a[g+j>>0]=0;h=h+1|0;if((h|0)>=(c[e+8>>2]|0))break c}if((j|0)==38){c[e+8>>2]=h;h=-20;break b}else if((j|0)==40){c[e+8>>2]=h;h=-1;break b}}while(0);h=(nRa(k)|0)>>31&-20;if((h|0)<0)break;else{h=2;break a}}c[e+8>>2]=0;h=-20}}while(0);OQa(e);break a}case 130:{if((e|0)==0|(f|0)==0){h=-1;break a}if(!(c[b+4>>2]|0)){h=-20;break a}if(!(c[e+12>>2]|0)){h=-20;break a}if(c[f>>2]|0){h=-20;break a}g=Xpb(1,712)|0;if(!g){h=-1;break a}h=nQa(k,g+320|0)|0;if((h|0)>=0){h=zQa(k,g)|0;if((h|0)>=0){c[f>>2]=g;h=1;break a}}oQa(g+320|0);JQa(g);Wpb(g);break a}default:{h=-20;break a}}else h=-21}while(0);e=h;i=k;return e|0}function VPa(a){a=a|0;if(!a)return;oQa(a+320|0);JQa(a);Wpb(a);return}function WPa(b,d){b=b|0;d=d|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;if((b|0)==0|(d|0)==0){g=0;return g|0}g=Vpb(54032)|0;do if(g|0)if((ZQa(g,b,3)|0)>=0){if((HQa(g+51576|0,d)|0)<0){cRa(g);break}f=Vpb((c[g+216>>2]|0)*129|0)|0;c[g+53432>>2]=f;if(!f){JQa(g+51576|0);cRa(g);break}else b=0;do{c[g+800+(b*24|0)>>2]=g+2336+(b*768|0);c[g+800+(b*24|0)+4>>2]=g+2336+(b*768|0)+128;c[g+800+(b*24|0)+8>>2]=g+2336+(b*768|0)+256;c[g+800+(b*24|0)+12>>2]=g+2336+(b*768|0)+384;c[g+800+(b*24|0)+16>>2]=g+2336+(b*768|0)+512;c[g+800+(b*24|0)+20>>2]=g+2336+(b*768|0)+640;b=b+1|0}while((b|0)!=64);VQa(g+800|0,g+53448|0,d+320|0);b=0;do{h=c[g+800+(b<<2)>>2]|0;l=c[g+808+(b<<2)>>2]|0;k=c[g+816+(b<<2)>>2]|0;f=c[g+824+(b<<2)>>2]|0;j=c[g+832+(b<<2)>>2]|0;i=c[g+840+(b<<2)>>2]|0;c[g+53704+(b<<2)>>2]=0-((e[l+34>>1]|0)+(e[l+24>>1]|0)+(e[l+36>>1]|0)+(e[l+48>>1]|0)+(e[k+24>>1]|0)+(e[k+34>>1]|0)+(e[k+36>>1]|0)+(e[k+48>>1]|0)+(e[j+24>>1]|0)+(e[j+34>>1]|0)+(e[j+36>>1]|0)+(e[j+48>>1]|0)+(e[i+24>>1]|0)+(e[i+34>>1]|0)+(e[i+36>>1]|0)+(e[i+48>>1]|0)+((e[h+34>>1]|0)+(e[h+24>>1]|0)+(e[h+36>>1]|0)+(e[h+48>>1]|0)+(e[f+24>>1]|0)+(e[f+34>>1]|0)+(e[f+36>>1]|0)+(e[f+48>>1]|0)<<1)>>11);b=b+1|0}while((b|0)!=64);f=g+51488|0;b=d+576|0;d=f+64|0;do{a[f>>0]=a[b>>0]|0;f=f+1|0;b=b+1|0}while((f|0)<(d|0));c[g+53444>>2]=0;c[g+53960>>2]=0;c[g+53964>>2]=0;c[g+53968>>2]=0;c[g+54024>>2]=0;c[g+54028>>2]=0;c[g+776>>2]=0;c[g+776+4>>2]=0;l=g;return l|0}while(0);Wpb(g);l=0;return l|0}function XPa(a){a=a|0;if(!a)return;Wpb(c[a+53968>>2]|0);Wpb(c[a+53964>>2]|0);Wpb(c[a+53960>>2]|0);Wpb(c[a+53432>>2]|0);JQa(a+51576|0);cRa(a);Wpb(a);return}function YPa(a,b,e,f){a=a|0;b=b|0;e=e|0;f=f|0;var g=0,h=0;switch(b|0){case 1:{if((a|0)==0|(e|0)==0){a=-1;return a|0}if((f|0)!=4){a=-10;return a|0}c[e>>2]=7;a=0;return a|0}case 3:{if((a|0)==0|(e|0)==0){a=-1;return a|0}if((f|0)!=4){a=-10;return a|0}f=c[e>>2]|0;if(f>>>0>7){a=-10;return a|0}c[a+53444>>2]=f;a=0;return a|0}case 5:{if((a|0)==0|(e|0)==0){a=-1;return a|0}if((f|0)!=8){a=-10;return a|0}b=c[e>>2]|0;f=c[e+4>>2]|0;if((f|0)<0){a=-10;return a|0}c[a+784>>2]=b;c[a+784+4>>2]=f;h=c[a+60>>2]|0;g=qBb(sBb(b|0,f|0,h|0)|0,C|0,d[a+793>>0]|0|0,0)|0;e=C;c[a+768>>2]=g;c[a+768+4>>2]=e;c[a+776>>2]=jBb((1<>31&f|0,g|0,e|0)|0;c[a+776+4>>2]=C;a=0;return a|0}case 7:{if((a|0)==0|(e|0)==0){h=-1;return h|0}if((f|0)!=8){h=-10;return h|0}c[a+54024>>2]=c[e>>2];c[a+54028>>2]=c[e+4>>2];h=0;return h|0}default:{h=-23;return h|0}}return 0}function ZPa(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;A=c[b+2816>>2]|0;w=c[b+4144>>2]|0;x=c[b+4152>>2]|0;y=c[b+4160>>2]|0;z=c[b+4168>>2]|0;v=c[b+11080>>2]|0;u=c[b+11184>>2]|0;s=c[b+11256>>2]|0;r=c[b+11304>>2]|0;q=c[b+11400>>2]|0;p=c[b+11568>>2]|0;o=c[b+11616>>2]|0;n=c[b+11864>>2]|0;B=c[b+11944>>2]|0;C=c[b+12040>>2]|0;f=c[b+12112>>2]|0;j=c[b+12216>>2]|0;i=c[b+12432>>2]|0;h=c[b+12456>>2]|0;E=c[b+12536>>2]|0;F=c[b+12616>>2]|0;D=c[b+14520>>2]|0;G=c[b+15992>>2]|0;a:{do if(!(pmb(D,524582,4)|0)){if((a[D+4>>0]|0)!=h<<24>>24)break;e=d[A+412>>0]|d[A+412+1>>0]<<8|d[A+412+2>>0]<<16|d[A+412+3>>0]<<24;if(!e){e=oOa(A,1279070,0)|0;t=d[A+376>>0]|d[A+376+1>>0]<<8|d[A+376+2>>0]<<16|d[A+376+3>>0]<<24;a[e+20>>0]=t;a[e+20+1>>0]=t>>8;a[e+20+2>>0]=t>>16;a[e+20+3>>0]=t>>24}a[A+412>>0]=e;a[A+412+1>>0]=e>>8;a[A+412+2>>0]=e>>16;a[A+412+3>>0]=e>>24;do if(!f){m=d[A+424>>0]|d[A+424+1>>0]<<8|d[A+424+2>>0]<<16|d[A+424+3>>0]<<24;t=Xpb(1,16)|0;a[t>>0]=0;a[t+1>>0]=0;a[t+2>>0]=0;a[t+3>>0]=0;a[t+4>>0]=m;a[t+4+1>>0]=m>>8;a[t+4+2>>0]=m>>16;a[t+4+3>>0]=m>>24;a[t+8>>0]=1;a[t+9>>0]=80;a[t+10>>0]=0;a[t+10+1>>0]=0;a[t+10+2>>0]=0;a[t+10+3>>0]=0;a[t+14>>0]=a[1274839]|0;a[t+15>>0]=0;qOa(e,t);t=d[A+412>>0]|d[A+412+1>>0]<<8|d[A+412+2>>0]<<16|d[A+412+3>>0]<<24;m=d[A+424>>0]|d[A+424+1>>0]<<8|d[A+424+2>>0]<<16|d[A+424+3>>0]<<24;A=Xpb(1,16)|0;a[A>>0]=0;a[A+1>>0]=0;a[A+2>>0]=0;a[A+3>>0]=0;a[A+4>>0]=m;a[A+4+1>>0]=m>>8;a[A+4+2>>0]=m>>16;a[A+4+3>>0]=m>>24;a[A+8>>0]=1;a[A+9>>0]=79;a[A+10>>0]=0;a[A+10+1>>0]=0;a[A+10+2>>0]=0;a[A+10+3>>0]=0;a[A+14>>0]=a[1274839]|0;a[A+15>>0]=0;qOa(t,A)}else{if((f|0)<=0)break;m=d[A+424>>0]|d[A+424+1>>0]<<8|d[A+424+2>>0]<<16|d[A+424+3>>0]<<24;t=Xpb(1,16)|0;a[t>>0]=0;a[t+1>>0]=0;a[t+2>>0]=0;a[t+3>>0]=0;a[t+4>>0]=m;a[t+4+1>>0]=m>>8;a[t+4+2>>0]=m>>16;a[t+4+3>>0]=m>>24;a[t+8>>0]=1;a[t+9>>0]=80;a[t+10>>0]=0;a[t+10+1>>0]=0;a[t+10+2>>0]=0;a[t+10+3>>0]=0;a[t+14>>0]=a[1274839]|0;a[t+15>>0]=0;qOa(e,t);t=d[A+412>>0]|d[A+412+1>>0]<<8|d[A+412+2>>0]<<16|d[A+412+3>>0]<<24;m=d[A+424>>0]|d[A+424+1>>0]<<8|d[A+424+2>>0]<<16|d[A+424+3>>0]<<24;A=Xpb(1,16)|0;a[A>>0]=0;a[A+1>>0]=0;a[A+2>>0]=0;a[A+3>>0]=0;a[A+4>>0]=m;a[A+4+1>>0]=m>>8;a[A+4+2>>0]=m>>16;a[A+4+3>>0]=m>>24;a[A+8>>0]=1;a[A+9>>0]=88;a[A+10>>0]=0;a[A+10+1>>0]=0;a[A+10+2>>0]=0;a[A+10+3>>0]=0;a[A+14>>0]=a[1274839]|0;a[A+15>>0]=0;qOa(t,A)}while(0);m=B;k=C;l=0;g=E;f=F;e=D+5|0;c[b+16056>>2]=2;c[b+16060>>2]=30;break a}while(0);do if(!(pmb(D,524587,8)|0)){if((a[D+8>>0]|0)!=h<<24>>24)break;v=1;m=B;k=C;l=0;g=E;f=F;e=D+9|0;c[b+16056>>2]=2;c[b+16060>>2]=30;break a}while(0);do if(!(pmb(D,524596,10)|0)){if((a[D+10>>0]|0)!=h<<24>>24)break;e=d[A+412>>0]|d[A+412+1>>0]<<8|d[A+412+2>>0]<<16|d[A+412+3>>0]<<24;if(!e){e=oOa(A,1279070,0)|0;t=d[A+376>>0]|d[A+376+1>>0]<<8|d[A+376+2>>0]<<16|d[A+376+3>>0]<<24;a[e+20>>0]=t;a[e+20+1>>0]=t>>8;a[e+20+2>>0]=t>>16;a[e+20+3>>0]=t>>24}a[A+412>>0]=e;a[A+412+1>>0]=e>>8;a[A+412+2>>0]=e>>16;a[A+412+3>>0]=e>>24;g=d[A+424>>0]|d[A+424+1>>0]<<8|d[A+424+2>>0]<<16|d[A+424+3>>0]<<24;e=d[A+8>>0]|d[A+8+1>>0]<<8|d[A+8+2>>0]<<16|d[A+8+3>>0]<<24;if(e|0)do{f=e+28|0;a[f>>0]=g;a[f+1>>0]=g>>8;a[f+2>>0]=g>>16;a[f+3>>0]=g>>24;f=e+32|0;if((d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24|0)>-2){a[f>>0]=1;a[f+1>>0]=0;a[f+2>>0]=0;a[f+3>>0]=0}e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24}while((e|0)!=0);m=B;k=C;l=0;g=E;f=F;e=D+11|0;c[b+16056>>2]=2;c[b+16060>>2]=30;break a}while(0);do if(!(pmb(D,524607,10)|0)){if((a[D+10>>0]|0)!=h<<24>>24)break;e=d[A+412>>0]|d[A+412+1>>0]<<8|d[A+412+2>>0]<<16|d[A+412+3>>0]<<24;if(!e){e=oOa(A,1279070,0)|0;t=d[A+376>>0]|d[A+376+1>>0]<<8|d[A+376+2>>0]<<16|d[A+376+3>>0]<<24;a[e+20>>0]=t;a[e+20+1>>0]=t>>8;a[e+20+2>>0]=t>>16;a[e+20+3>>0]=t>>24}a[A+412>>0]=e;a[A+412+1>>0]=e>>8;a[A+412+2>>0]=e>>16;a[A+412+3>>0]=e>>24;e=d[A+8>>0]|d[A+8+1>>0]<<8|d[A+8+2>>0]<<16|d[A+8+3>>0]<<24;if(e|0)do{f=e+32|0;if((d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24|0)>-2){a[f>>0]=0;a[f+1>>0]=0;a[f+2>>0]=0;a[f+3>>0]=0}e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24}while((e|0)!=0);m=B;k=C;l=0;g=E;f=F;e=D+11|0;c[b+16056>>2]=2;c[b+16060>>2]=30;break a}while(0);do if(!(pmb(D,524618,2)|0)){if((a[D+2>>0]|0)!=h<<24>>24)break;e=d[A+412>>0]|d[A+412+1>>0]<<8|d[A+412+2>>0]<<16|d[A+412+3>>0]<<24;if(!e){e=oOa(A,1279070,0)|0;t=d[A+376>>0]|d[A+376+1>>0]<<8|d[A+376+2>>0]<<16|d[A+376+3>>0]<<24;a[e+20>>0]=t;a[e+20+1>>0]=t>>8;a[e+20+2>>0]=t>>16;a[e+20+3>>0]=t>>24}a[A+412>>0]=e;a[A+412+1>>0]=e>>8;a[A+412+2>>0]=e>>16;a[A+412+3>>0]=e>>24;g=d[A+424>>0]|d[A+424+1>>0]<<8|d[A+424+2>>0]<<16|d[A+424+3>>0]<<24;e=d[A+8>>0]|d[A+8+1>>0]<<8|d[A+8+2>>0]<<16|d[A+8+3>>0]<<24;if(e|0)do{f=e+28|0;a[f>>0]=g;a[f+1>>0]=g>>8;a[f+2>>0]=g>>16;a[f+3>>0]=g>>24;f=e+32|0;if((d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24|0)>-2){a[f>>0]=1;a[f+1>>0]=0;a[f+2>>0]=0;a[f+3>>0]=0}e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24}while((e|0)!=0);m=B;k=C;l=0;g=E;f=F;e=D+3|0;c[b+16056>>2]=2;c[b+16060>>2]=30;break a}while(0);do if(!(pmb(D,524621,2)|0)){if((a[D+2>>0]|0)!=h<<24>>24)break;e=d[A+412>>0]|d[A+412+1>>0]<<8|d[A+412+2>>0]<<16|d[A+412+3>>0]<<24;if(!e){e=oOa(A,1279070,0)|0;t=d[A+376>>0]|d[A+376+1>>0]<<8|d[A+376+2>>0]<<16|d[A+376+3>>0]<<24;a[e+20>>0]=t;a[e+20+1>>0]=t>>8;a[e+20+2>>0]=t>>16;a[e+20+3>>0]=t>>24}a[A+412>>0]=e;a[A+412+1>>0]=e>>8;a[A+412+2>>0]=e>>16;a[A+412+3>>0]=e>>24;e=d[A+8>>0]|d[A+8+1>>0]<<8|d[A+8+2>>0]<<16|d[A+8+3>>0]<<24;if(e|0)do{f=e+32|0;if((d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24|0)>-2){a[f>>0]=0;a[f+1>>0]=0;a[f+2>>0]=0;a[f+3>>0]=0}e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24}while((e|0)!=0);m=B;k=C;l=0;g=E;f=F;e=D+3|0;c[b+16056>>2]=2;c[b+16060>>2]=30;break a}while(0);do if(!(pmb(D,524624,11)|0)){if((a[D+11>>0]|0)!=h<<24>>24)break;e=d[A+412>>0]|d[A+412+1>>0]<<8|d[A+412+2>>0]<<16|d[A+412+3>>0]<<24;if(!e){e=oOa(A,1279070,0)|0;t=d[A+376>>0]|d[A+376+1>>0]<<8|d[A+376+2>>0]<<16|d[A+376+3>>0]<<24;a[e+20>>0]=t;a[e+20+1>>0]=t>>8;a[e+20+2>>0]=t>>16;a[e+20+3>>0]=t>>24}a[A+412>>0]=e;a[A+412+1>>0]=e>>8;a[A+412+2>>0]=e>>16;a[A+412+3>>0]=e>>24;g=d[A+424>>0]|d[A+424+1>>0]<<8|d[A+424+2>>0]<<16|d[A+424+3>>0]<<24;e=d[A+8>>0]|d[A+8+1>>0]<<8|d[A+8+2>>0]<<16|d[A+8+3>>0]<<24;if(e|0)do{f=e+28|0;a[f>>0]=g;a[f+1>>0]=g>>8;a[f+2>>0]=g>>16;a[f+3>>0]=g>>24;f=e+32|0;if((d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24|0)>-2){a[f>>0]=-1;a[f+1>>0]=-1>>8;a[f+2>>0]=-1>>16;a[f+3>>0]=-1>>24}e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24}while((e|0)!=0);m=B;k=C;l=0;g=E;f=F;e=D+12|0;c[b+16056>>2]=2;c[b+16060>>2]=30;break a}while(0);do if(!(pmb(D,524636,11)|0)){if((a[D+11>>0]|0)!=h<<24>>24)break;e=d[A+412>>0]|d[A+412+1>>0]<<8|d[A+412+2>>0]<<16|d[A+412+3>>0]<<24;if(!e){e=oOa(A,1279070,0)|0;t=d[A+376>>0]|d[A+376+1>>0]<<8|d[A+376+2>>0]<<16|d[A+376+3>>0]<<24;a[e+20>>0]=t;a[e+20+1>>0]=t>>8;a[e+20+2>>0]=t>>16;a[e+20+3>>0]=t>>24}a[A+412>>0]=e;a[A+412+1>>0]=e>>8;a[A+412+2>>0]=e>>16;a[A+412+3>>0]=e>>24;e=d[A+8>>0]|d[A+8+1>>0]<<8|d[A+8+2>>0]<<16|d[A+8+3>>0]<<24;if(e|0)do{f=e+32|0;if((d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24|0)>-2){a[f>>0]=0;a[f+1>>0]=0;a[f+2>>0]=0;a[f+3>>0]=0}e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24}while((e|0)!=0);m=B;k=C;l=0;g=E;f=F;e=D+12|0;c[b+16056>>2]=2;c[b+16060>>2]=30;break a}while(0);do if(!(pmb(D,524648,2)|0)){if((a[D+2>>0]|0)!=h<<24>>24)break;e=d[A+412>>0]|d[A+412+1>>0]<<8|d[A+412+2>>0]<<16|d[A+412+3>>0]<<24;if(!e){e=oOa(A,1279070,0)|0;t=d[A+376>>0]|d[A+376+1>>0]<<8|d[A+376+2>>0]<<16|d[A+376+3>>0]<<24;a[e+20>>0]=t;a[e+20+1>>0]=t>>8;a[e+20+2>>0]=t>>16;a[e+20+3>>0]=t>>24}a[A+412>>0]=e;a[A+412+1>>0]=e>>8;a[A+412+2>>0]=e>>16;a[A+412+3>>0]=e>>24;g=d[A+424>>0]|d[A+424+1>>0]<<8|d[A+424+2>>0]<<16|d[A+424+3>>0]<<24;e=d[A+8>>0]|d[A+8+1>>0]<<8|d[A+8+2>>0]<<16|d[A+8+3>>0]<<24;if(e|0)do{f=e+28|0;a[f>>0]=g;a[f+1>>0]=g>>8;a[f+2>>0]=g>>16;a[f+3>>0]=g>>24;f=e+32|0;if((d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24|0)>-2){a[f>>0]=-1;a[f+1>>0]=-1>>8;a[f+2>>0]=-1>>16;a[f+3>>0]=-1>>24}e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24}while((e|0)!=0);m=B;k=C;l=0;g=E;f=F;e=D+3|0;c[b+16056>>2]=2;c[b+16060>>2]=30;break a}while(0);do if(!(pmb(D,524651,2)|0)){if((a[D+2>>0]|0)!=h<<24>>24)break;e=d[A+412>>0]|d[A+412+1>>0]<<8|d[A+412+2>>0]<<16|d[A+412+3>>0]<<24;if(!e){e=oOa(A,1279070,0)|0;t=d[A+376>>0]|d[A+376+1>>0]<<8|d[A+376+2>>0]<<16|d[A+376+3>>0]<<24;a[e+20>>0]=t;a[e+20+1>>0]=t>>8;a[e+20+2>>0]=t>>16;a[e+20+3>>0]=t>>24}a[A+412>>0]=e;a[A+412+1>>0]=e>>8;a[A+412+2>>0]=e>>16;a[A+412+3>>0]=e>>24;e=d[A+8>>0]|d[A+8+1>>0]<<8|d[A+8+2>>0]<<16|d[A+8+3>>0]<<24;if(e|0)do{f=e+32|0;if((d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24|0)>-2){a[f>>0]=0;a[f+1>>0]=0;a[f+2>>0]=0;a[f+3>>0]=0}e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24}while((e|0)!=0);m=B;k=C;l=0;g=E;f=F;e=D+3|0;c[b+16056>>2]=2;c[b+16060>>2]=30;break a}while(0);do if(!(pmb(D,524654,5)|0)){if((a[D+5>>0]|0)!=h<<24>>24)break;u=2;s=1;m=B;k=C;l=0;g=E;f=F;e=D+6|0;c[b+16056>>2]=2;c[b+16060>>2]=30;break a}while(0);do if(!(pmb(D,524660,7)|0)){if((a[D+7>>0]|0)!=h<<24>>24)break;u=2;s=0;m=B;k=C;l=0;g=E;f=F;e=D+8|0;c[b+16056>>2]=2;c[b+16060>>2]=30;break a}while(0);do if(!(pmb(D,524668,5)|0)){if((a[D+5>>0]|0)!=h<<24>>24)break;u=1;s=0;m=B;k=C;l=0;g=E;f=F;e=D+6|0;c[b+16056>>2]=2;c[b+16060>>2]=30;break a}while(0);do if(!(pmb(D,524674,6)|0)){if((a[D+6>>0]|0)!=h<<24>>24)break;u=1;s=255;m=B;k=C;l=0;g=E;f=F;e=D+7|0;c[b+16056>>2]=2;c[b+16060>>2]=30;break a}while(0);do if(!(pmb(D,524681,6)|0)){if((a[D+6>>0]|0)!=h<<24>>24)break;u=0;s=0;m=B;k=C;l=0;g=E;f=F;e=D+7|0;c[b+16056>>2]=2;c[b+16060>>2]=30;break a}while(0);do if(!(pmb(D,524688,6)|0)){if((a[D+6>>0]|0)!=h<<24>>24)break;u=3;s=0;m=B;k=C;l=0;g=E;f=F;e=D+7|0;c[b+16056>>2]=2;c[b+16060>>2]=30;break a}while(0);do if(!(pmb(D,524695,8)|0)){if((a[D+8>>0]|0)!=h<<24>>24)break;u=3;s=0;m=B;k=C;l=0;g=E;f=F;e=D+9|0;c[b+16056>>2]=2;c[b+16060>>2]=30;break a}while(0);e=a[D>>0]|0;do if(e<<24>>24==62){if((a[D+1>>0]|0)!=h<<24>>24)break;u=3;s=0;m=B;k=C;l=0;g=E;f=F;e=D+2|0;c[b+16056>>2]=2;c[b+16060>>2]=30;break a}while(0);do if(!(pmb(D,524704,7)|0)){if((a[D+7>>0]|0)!=h<<24>>24)break;r=1;m=B;k=C;l=0;g=E;f=F;e=D+8|0;c[b+16056>>2]=2;c[b+16060>>2]=30;break a}while(0);do if(!(pmb(D,524712,4)|0)){if((a[D+4>>0]|0)!=h<<24>>24)break;e=d[A+412>>0]|d[A+412+1>>0]<<8|d[A+412+2>>0]<<16|d[A+412+3>>0]<<24;if(!e){e=oOa(A,1279070,0)|0;t=d[A+376>>0]|d[A+376+1>>0]<<8|d[A+376+2>>0]<<16|d[A+376+3>>0]<<24;a[e+20>>0]=t;a[e+20+1>>0]=t>>8;a[e+20+2>>0]=t>>16;a[e+20+3>>0]=t>>24}a[A+412>>0]=e;a[A+412+1>>0]=e>>8;a[A+412+2>>0]=e>>16;a[A+412+3>>0]=e>>24;l=d[A+424>>0]|d[A+424+1>>0]<<8|d[A+424+2>>0]<<16|d[A+424+3>>0]<<24;k=Xpb(1,16)|0;a[k>>0]=0;a[k+1>>0]=0;a[k+2>>0]=0;a[k+3>>0]=0;a[k+4>>0]=l;a[k+4+1>>0]=l>>8;a[k+4+2>>0]=l>>16;a[k+4+3>>0]=l>>24;a[k+8>>0]=1;a[k+9>>0]=80;a[k+10>>0]=0;a[k+10+1>>0]=0;a[k+10+2>>0]=0;a[k+10+3>>0]=0;a[k+14>>0]=a[1274839]|0;a[k+15>>0]=0;qOa(e,k);k=d[A+412>>0]|d[A+412+1>>0]<<8|d[A+412+2>>0]<<16|d[A+412+3>>0]<<24;l=d[A+424>>0]|d[A+424+1>>0]<<8|d[A+424+2>>0]<<16|d[A+424+3>>0]<<24;m=Xpb(1,16)|0;a[m>>0]=0;a[m+1>>0]=0;a[m+2>>0]=0;a[m+3>>0]=0;a[m+4>>0]=l;a[m+4+1>>0]=l>>8;a[m+4+2>>0]=l>>16;a[m+4+3>>0]=l>>24;a[m+8>>0]=1;a[m+9>>0]=70;a[m+10>>0]=0;a[m+10+1>>0]=0;a[m+10+2>>0]=0;a[m+10+3>>0]=0;a[m+14>>0]=a[1274839]|0;a[m+15>>0]=0;qOa(k,m);m=B;k=C;l=0;g=E;f=F;e=D+5|0;c[b+16056>>2]=2;c[b+16060>>2]=30;break a}while(0);do if(!(pmb(D,524717,5)|0)){if((a[D+5>>0]|0)!=h<<24>>24)break;e=d[A+412>>0]|d[A+412+1>>0]<<8|d[A+412+2>>0]<<16|d[A+412+3>>0]<<24;if(!e){e=oOa(A,1279070,0)|0;t=d[A+376>>0]|d[A+376+1>>0]<<8|d[A+376+2>>0]<<16|d[A+376+3>>0]<<24;a[e+20>>0]=t;a[e+20+1>>0]=t>>8;a[e+20+2>>0]=t>>16;a[e+20+3>>0]=t>>24}a[A+412>>0]=e;a[A+412+1>>0]=e>>8;a[A+412+2>>0]=e>>16;a[A+412+3>>0]=e>>24;l=d[A+424>>0]|d[A+424+1>>0]<<8|d[A+424+2>>0]<<16|d[A+424+3>>0]<<24;k=Xpb(1,16)|0;a[k>>0]=0;a[k+1>>0]=0;a[k+2>>0]=0;a[k+3>>0]=0;a[k+4>>0]=l;a[k+4+1>>0]=l>>8;a[k+4+2>>0]=l>>16;a[k+4+3>>0]=l>>24;a[k+8>>0]=1;a[k+9>>0]=80;a[k+10>>0]=0;a[k+10+1>>0]=0;a[k+10+2>>0]=0;a[k+10+3>>0]=0;a[k+14>>0]=a[1274839]|0;a[k+15>>0]=0;qOa(e,k);k=d[A+412>>0]|d[A+412+1>>0]<<8|d[A+412+2>>0]<<16|d[A+412+3>>0]<<24;l=d[A+424>>0]|d[A+424+1>>0]<<8|d[A+424+2>>0]<<16|d[A+424+3>>0]<<24;m=Xpb(1,16)|0;a[m>>0]=0;a[m+1>>0]=0;a[m+2>>0]=0;a[m+3>>0]=0;a[m+4>>0]=l;a[m+4+1>>0]=l>>8;a[m+4+2>>0]=l>>16;a[m+4+3>>0]=l>>24;a[m+8>>0]=1;a[m+9>>0]=36;a[m+10>>0]=0;a[m+10+1>>0]=0;a[m+10+2>>0]=0;a[m+10+3>>0]=0;a[m+14>>0]=a[1274839]|0;a[m+15>>0]=0;qOa(k,m);m=B;k=C;l=0;g=E;f=F;e=D+6|0;c[b+16056>>2]=2;c[b+16060>>2]=30;break a}while(0);do if(!(pmb(D,524723,6)|0)){if((a[D+6>>0]|0)!=h<<24>>24)break;e=d[A+412>>0]|d[A+412+1>>0]<<8|d[A+412+2>>0]<<16|d[A+412+3>>0]<<24;if(!e){e=oOa(A,1279070,0)|0;t=d[A+376>>0]|d[A+376+1>>0]<<8|d[A+376+2>>0]<<16|d[A+376+3>>0]<<24;a[e+20>>0]=t;a[e+20+1>>0]=t>>8;a[e+20+2>>0]=t>>16;a[e+20+3>>0]=t>>24}a[A+412>>0]=e;a[A+412+1>>0]=e>>8;a[A+412+2>>0]=e>>16;a[A+412+3>>0]=e>>24;l=d[A+424>>0]|d[A+424+1>>0]<<8|d[A+424+2>>0]<<16|d[A+424+3>>0]<<24;k=Xpb(1,16)|0;a[k>>0]=0;a[k+1>>0]=0;a[k+2>>0]=0;a[k+3>>0]=0;a[k+4>>0]=l;a[k+4+1>>0]=l>>8;a[k+4+2>>0]=l>>16;a[k+4+3>>0]=l>>24;a[k+8>>0]=1;a[k+9>>0]=80;a[k+10>>0]=0;a[k+10+1>>0]=0;a[k+10+2>>0]=0;a[k+10+3>>0]=0;a[k+14>>0]=a[1274839]|0;a[k+15>>0]=0;qOa(e,k);k=d[A+412>>0]|d[A+412+1>>0]<<8|d[A+412+2>>0]<<16|d[A+412+3>>0]<<24;l=d[A+424>>0]|d[A+424+1>>0]<<8|d[A+424+2>>0]<<16|d[A+424+3>>0]<<24;m=Xpb(1,16)|0;a[m>>0]=0;a[m+1>>0]=0;a[m+2>>0]=0;a[m+3>>0]=0;a[m+4>>0]=l;a[m+4+1>>0]=l>>8;a[m+4+2>>0]=l>>16;a[m+4+3>>0]=l>>24;a[m+8>>0]=1;a[m+9>>0]=88;a[m+10>>0]=0;a[m+10+1>>0]=0;a[m+10+2>>0]=0;a[m+10+3>>0]=0;a[m+14>>0]=a[1274839]|0;a[m+15>>0]=0;qOa(k,m);m=B;k=C;l=0;g=E;f=F;e=D+7|0;c[b+16056>>2]=2;c[b+16060>>2]=30;break a}while(0);do if(!(pmb(D,524730,4)|0)){if((a[D+4>>0]|0)!=h<<24>>24)break;e=d[A+412>>0]|d[A+412+1>>0]<<8|d[A+412+2>>0]<<16|d[A+412+3>>0]<<24;if(!e){e=oOa(A,1279070,0)|0;t=d[A+376>>0]|d[A+376+1>>0]<<8|d[A+376+2>>0]<<16|d[A+376+3>>0]<<24;a[e+20>>0]=t;a[e+20+1>>0]=t>>8;a[e+20+2>>0]=t>>16;a[e+20+3>>0]=t>>24}a[A+412>>0]=e;a[A+412+1>>0]=e>>8;a[A+412+2>>0]=e>>16;a[A+412+3>>0]=e>>24;l=e+32|0;m=d[A+424>>0]|d[A+424+1>>0]<<8|d[A+424+2>>0]<<16|d[A+424+3>>0]<<24;l=(d[l>>0]|d[l+1>>0]<<8|d[l+2>>0]<<16|d[l+3>>0]<<24|0)==-2?3:2;k=Xpb(1,16)|0;a[k>>0]=0;a[k+1>>0]=0;a[k+2>>0]=0;a[k+3>>0]=0;a[k+4>>0]=m;a[k+4+1>>0]=m>>8;a[k+4+2>>0]=m>>16;a[k+4+3>>0]=m>>24;a[k+8>>0]=1;a[k+9>>0]=74;a[k+10>>0]=0;a[k+11>>0]=0;a[k+12>>0]=0;a[k+13>>0]=l;a[k+14>>0]=a[1274839]|0;a[k+15>>0]=0;qOa(e,k);k=d[A+412>>0]|d[A+412+1>>0]<<8|d[A+412+2>>0]<<16|d[A+412+3>>0]<<24;l=d[A+424>>0]|d[A+424+1>>0]<<8|d[A+424+2>>0]<<16|d[A+424+3>>0]<<24;m=Xpb(1,16)|0;a[m>>0]=0;a[m+1>>0]=0;a[m+2>>0]=0;a[m+3>>0]=0;a[m+4>>0]=l;a[m+4+1>>0]=l>>8;a[m+4+2>>0]=l>>16;a[m+4+3>>0]=l>>24;a[m+8>>0]=1;a[m+9>>0]=80;a[m+10>>0]=0;a[m+10+1>>0]=0;a[m+10+2>>0]=0;a[m+10+3>>0]=0;a[m+14>>0]=a[1274839]|0;a[m+15>>0]=0;qOa(k,m);m=B;k=C;l=0;g=E;f=F;e=D+5|0;c[b+16056>>2]=2;c[b+16060>>2]=30;break a}while(0);do if(!(pmb(D,524735,4)|0)){if((a[D+4>>0]|0)!=h<<24>>24)break;e=d[A+412>>0]|d[A+412+1>>0]<<8|d[A+412+2>>0]<<16|d[A+412+3>>0]<<24;if(!e){e=oOa(A,1279070,0)|0;t=d[A+376>>0]|d[A+376+1>>0]<<8|d[A+376+2>>0]<<16|d[A+376+3>>0]<<24;a[e+20>>0]=t;a[e+20+1>>0]=t>>8;a[e+20+2>>0]=t>>16;a[e+20+3>>0]=t>>24}a[A+412>>0]=e;a[A+412+1>>0]=e>>8;a[A+412+2>>0]=e>>16;a[A+412+3>>0]=e>>24;l=e+32|0;m=d[A+424>>0]|d[A+424+1>>0]<<8|d[A+424+2>>0]<<16|d[A+424+3>>0]<<24;l=(d[l>>0]|d[l+1>>0]<<8|d[l+2>>0]<<16|d[l+3>>0]<<24|0)==-2?5:4;k=Xpb(1,16)|0;a[k>>0]=0;a[k+1>>0]=0;a[k+2>>0]=0;a[k+3>>0]=0;a[k+4>>0]=m;a[k+4+1>>0]=m>>8;a[k+4+2>>0]=m>>16;a[k+4+3>>0]=m>>24;a[k+8>>0]=1;a[k+9>>0]=74;a[k+10>>0]=0;a[k+11>>0]=0;a[k+12>>0]=0;a[k+13>>0]=l;a[k+14>>0]=a[1274839]|0;a[k+15>>0]=0;qOa(e,k);k=d[A+412>>0]|d[A+412+1>>0]<<8|d[A+412+2>>0]<<16|d[A+412+3>>0]<<24;l=d[A+424>>0]|d[A+424+1>>0]<<8|d[A+424+2>>0]<<16|d[A+424+3>>0]<<24;m=Xpb(1,16)|0;a[m>>0]=0;a[m+1>>0]=0;a[m+2>>0]=0;a[m+3>>0]=0;a[m+4>>0]=l;a[m+4+1>>0]=l>>8;a[m+4+2>>0]=l>>16;a[m+4+3>>0]=l>>24;a[m+8>>0]=1;a[m+9>>0]=80;a[m+10>>0]=0;a[m+10+1>>0]=0;a[m+10+2>>0]=0;a[m+10+3>>0]=0;a[m+14>>0]=a[1274839]|0;a[m+15>>0]=0;qOa(k,m);m=B;k=C;l=0;g=E;f=F;e=D+5|0;c[b+16056>>2]=2;c[b+16060>>2]=30;break a}while(0);do if(!(pmb(D,524740,6)|0)){if((a[D+6>>0]|0)!=h<<24>>24)break;e=d[A+412>>0]|d[A+412+1>>0]<<8|d[A+412+2>>0]<<16|d[A+412+3>>0]<<24;if(!e){e=oOa(A,1279070,0)|0;t=d[A+376>>0]|d[A+376+1>>0]<<8|d[A+376+2>>0]<<16|d[A+376+3>>0]<<24;a[e+20>>0]=t;a[e+20+1>>0]=t>>8;a[e+20+2>>0]=t>>16;a[e+20+3>>0]=t>>24}a[A+412>>0]=e;a[A+412+1>>0]=e>>8;a[A+412+2>>0]=e>>16;a[A+412+3>>0]=e>>24;l=e+32|0;m=d[A+424>>0]|d[A+424+1>>0]<<8|d[A+424+2>>0]<<16|d[A+424+3>>0]<<24;l=(d[l>>0]|d[l+1>>0]<<8|d[l+2>>0]<<16|d[l+3>>0]<<24|0)==-2?3:2;k=Xpb(1,16)|0;a[k>>0]=0;a[k+1>>0]=0;a[k+2>>0]=0;a[k+3>>0]=0;a[k+4>>0]=m;a[k+4+1>>0]=m>>8;a[k+4+2>>0]=m>>16;a[k+4+3>>0]=m>>24;a[k+8>>0]=1;a[k+9>>0]=74;a[k+10>>0]=0;a[k+11>>0]=0;a[k+12>>0]=0;a[k+13>>0]=l;a[k+14>>0]=a[1274839]|0;a[k+15>>0]=0;qOa(e,k);k=d[A+412>>0]|d[A+412+1>>0]<<8|d[A+412+2>>0]<<16|d[A+412+3>>0]<<24;l=d[A+424>>0]|d[A+424+1>>0]<<8|d[A+424+2>>0]<<16|d[A+424+3>>0]<<24;m=Xpb(1,16)|0;a[m>>0]=0;a[m+1>>0]=0;a[m+2>>0]=0;a[m+3>>0]=0;a[m+4>>0]=l;a[m+4+1>>0]=l>>8;a[m+4+2>>0]=l>>16;a[m+4+3>>0]=l>>24;a[m+8>>0]=1;a[m+9>>0]=80;a[m+10>>0]=0;a[m+10+1>>0]=0;a[m+10+2>>0]=0;a[m+10+3>>0]=0;a[m+14>>0]=a[1274839]|0;a[m+15>>0]=0;qOa(k,m);m=B;k=C;l=0;g=E;f=F;e=D+7|0;c[b+16056>>2]=2;c[b+16060>>2]=30;break a}while(0);do if(!(pmb(D,524747,6)|0)){if((a[D+6>>0]|0)!=h<<24>>24)break;e=d[A+412>>0]|d[A+412+1>>0]<<8|d[A+412+2>>0]<<16|d[A+412+3>>0]<<24;if(!e){e=oOa(A,1279070,0)|0;t=d[A+376>>0]|d[A+376+1>>0]<<8|d[A+376+2>>0]<<16|d[A+376+3>>0]<<24;a[e+20>>0]=t;a[e+20+1>>0]=t>>8;a[e+20+2>>0]=t>>16;a[e+20+3>>0]=t>>24}a[A+412>>0]=e;a[A+412+1>>0]=e>>8;a[A+412+2>>0]=e>>16;a[A+412+3>>0]=e>>24;l=e+32|0;m=d[A+424>>0]|d[A+424+1>>0]<<8|d[A+424+2>>0]<<16|d[A+424+3>>0]<<24;l=(d[l>>0]|d[l+1>>0]<<8|d[l+2>>0]<<16|d[l+3>>0]<<24|0)==-2?3:2;k=Xpb(1,16)|0;a[k>>0]=0;a[k+1>>0]=0;a[k+2>>0]=0;a[k+3>>0]=0;a[k+4>>0]=m;a[k+4+1>>0]=m>>8;a[k+4+2>>0]=m>>16;a[k+4+3>>0]=m>>24;a[k+8>>0]=1;a[k+9>>0]=74;a[k+10>>0]=0;a[k+11>>0]=0;a[k+12>>0]=0;a[k+13>>0]=l;a[k+14>>0]=a[1274839]|0;a[k+15>>0]=0;qOa(e,k);k=d[A+412>>0]|d[A+412+1>>0]<<8|d[A+412+2>>0]<<16|d[A+412+3>>0]<<24;l=d[A+424>>0]|d[A+424+1>>0]<<8|d[A+424+2>>0]<<16|d[A+424+3>>0]<<24;m=Xpb(1,16)|0;a[m>>0]=0;a[m+1>>0]=0;a[m+2>>0]=0;a[m+3>>0]=0;a[m+4>>0]=l;a[m+4+1>>0]=l>>8;a[m+4+2>>0]=l>>16;a[m+4+3>>0]=l>>24;a[m+8>>0]=1;a[m+9>>0]=80;a[m+10>>0]=0;a[m+10+1>>0]=0;a[m+10+2>>0]=0;a[m+10+3>>0]=0;a[m+14>>0]=a[1274839]|0;a[m+15>>0]=0;qOa(k,m);m=B;k=C;l=0;g=E;f=F;e=D+7|0;c[b+16056>>2]=2;c[b+16060>>2]=30;break a}while(0);if(h<<24>>24!=33){e=d[A+412>>0]|d[A+412+1>>0]<<8|d[A+412+2>>0]<<16|d[A+412+3>>0]<<24;if(!e){e=oOa(A,1279070,0)|0;t=d[A+376>>0]|d[A+376+1>>0]<<8|d[A+376+2>>0]<<16|d[A+376+3>>0]<<24;a[e+20>>0]=t;a[e+20+1>>0]=t>>8;a[e+20+2>>0]=t>>16;a[e+20+3>>0]=t>>24}a[A+412>>0]=e;a[A+412+1>>0]=e>>8;a[A+412+2>>0]=e>>16;a[A+412+3>>0]=e>>24;j=GOa(A,e,D)|0;e=D;while(1){t=e+1|0;h=a[e>>0]|0;switch(h<<24>>24){case 43:case 0:{m=B;k=C;l=0;g=E;f=F;e=t;c[b+16056>>2]=2;c[b+16060>>2]=30;break a}default:e=t}}}if(!(e<<24>>24)){m=B;k=C;l=0;h=33;g=E;f=F;e=D;c[b+16056>>2]=2;c[b+16060>>2]=30;break a}else{g=D;h=0}while(1){f=e<<24>>24;if(omb(524754,f,6)|0){l=e;t=h;break}if(cmb(f)|0){k=g;m=h;G=967;break}h=h+1|0;g=D+h|0;e=a[g>>0]|0;if(!(e<<24>>24)){m=B;k=C;l=0;h=33;g=E;f=F;e=D;c[b+16056>>2]=2;c[b+16060>>2]=30;break a}}if((G|0)==967){G=0;l=a[k>>0]|0;t=m}if(l<<24>>24!=33){m=B;k=C;l=0;h=33;g=E;f=F;e=D;c[b+16056>>2]=2;c[b+16060>>2]=30;break a}e=d[A+412>>0]|d[A+412+1>>0]<<8|d[A+412+2>>0]<<16|d[A+412+3>>0]<<24;if(!e){e=oOa(A,1279070,0)|0;m=d[A+376>>0]|d[A+376+1>>0]<<8|d[A+376+2>>0]<<16|d[A+376+3>>0]<<24;a[e+20>>0]=m;a[e+20+1>>0]=m>>8;a[e+20+2>>0]=m>>16;a[e+20+3>>0]=m>>24}a[A+412>>0]=e;a[A+412+1>>0]=e>>8;a[A+412+2>>0]=e>>16;a[A+412+3>>0]=e>>24;m=B;k=C;l=0;j=GOa(A,e,D)|0;h=33;g=E;f=F;e=D+(t+1)|0;c[b+16056>>2]=1;break a}c[b+9776>>2]=z;c[b+9784>>2]=y;c[b+9792>>2]=x;c[b+9800>>2]=w;c[b+11088>>2]=v;c[b+11192>>2]=u;c[b+11264>>2]=s;c[b+11312>>2]=r;c[b+11352>>2]=q;c[b+11576>>2]=p;c[b+11656>>2]=o;c[b+11792>>2]=n;c[b+11952>>2]=m;c[b+12048>>2]=k;c[b+12152>>2]=l;c[b+12224>>2]=j;c[b+12440>>2]=i;c[b+12464>>2]=h;c[b+12576>>2]=g;c[b+12656>>2]=f;c[b+14928>>2]=e;c[b+15992>>2]=G}function _Pa(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0;S=c[b+2816>>2]|0;L=c[b+3896>>2]|0;R=c[b+4144>>2]|0;Z=c[b+4152>>2]|0;$=c[b+4160>>2]|0;Q=c[b+4168>>2]|0;m=c[b+9776>>2]|0;D=c[b+9784>>2]|0;k=c[b+9792>>2]|0;o=c[b+9800>>2]|0;P=c[b+11080>>2]|0;z=c[b+11088>>2]|0;aa=c[b+11184>>2]|0;A=c[b+11192>>2]|0;ba=c[b+11256>>2]|0;B=c[b+11264>>2]|0;U=c[b+11304>>2]|0;C=c[b+11312>>2]|0;j=c[b+11352>>2]|0;T=c[b+11400>>2]|0;g=c[b+11504>>2]|0;V=c[b+11568>>2]|0;y=c[b+11576>>2]|0;K=c[b+11616>>2]|0;x=c[b+11656>>2]|0;v=c[b+11792>>2]|0;M=c[b+11864>>2]|0;ca=c[b+11944>>2]|0;u=c[b+11952>>2]|0;Y=c[b+12040>>2]|0;t=c[b+12048>>2]|0;h=c[b+12152>>2]|0;X=c[b+12216>>2]|0;s=c[b+12224>>2]|0;W=c[b+12432>>2]|0;r=c[b+12440>>2]|0;J=c[b+12456>>2]|0;i=c[b+12464>>2]|0;N=c[b+12536>>2]|0;q=c[b+12576>>2]|0;O=c[b+12616>>2]|0;p=c[b+12656>>2]|0;e=c[b+14520>>2]|0;f=c[b+14928>>2]|0;da=c[b+15992>>2]|0;ea=c[b+16032>>2]|0;I=c[b+16040>>2]|0;a:{if(ea){ea=0;switch(I|0){case 91:{l=a[e>>0]|0;n=1;if(n){n=0;if(l<<24>>24==124){m=Q;D=$;k=Z;o=R;z=P;A=aa;B=ba;C=U;j=T;y=V;x=K;v=M;u=ca;t=Y;h=0;s=X;r=W;i=J;q=N;p=O;f=e}else n=1}if(n)if(1){if(!(pmb(e,522621,2)|0)){g=2;while(1){f=e+g|0;if(!(cmb(a[f>>0]|0)|0))break;else g=g+1|0}X=oOa(S,f,0)|0;a[S+412>>0]=X;a[S+412+1>>0]=X>>8;a[S+412+2>>0]=X>>16;a[S+412+3>>0]=X>>24;b:while(1){switch(a[e>>0]|0){case 93:case 0:break b;default:{}}e=e+1|0}g=c[45680+(V<<2)>>2]|0;c[b+216>>2]=g;c[b+216+4>>2]=g;rmb(b+732|0,523693,b+216|0)|0;g=d[S+412>>0]|d[S+412+1>>0]<<8|d[S+412+2>>0]<<16|d[S+412+3>>0]<<24;f=d[g+8>>0]|d[g+8+1>>0]<<8|d[g+8+2>>0]<<16|d[g+8+3>>0]<<24;if(!f)f=0;else f=d[f+4>>0]|d[f+4+1>>0]<<8|d[f+4+2>>0]<<16|d[f+4+3>>0]<<24;r=c[298873]|0;r=f>>>0>>0?r:f;a[S+424>>0]=r;a[S+424+1>>0]=r>>8;a[S+424+2>>0]=r>>16;a[S+424+3>>0]=r>>24;v=(a[g+43>>0]|0)==0;m=0;D=$;k=Z;o=R;z=P;A=aa;B=ba;C=U;j=0;y=V;x=v&1;v=v?M:0;u=ca;t=Y;h=0;s=d[g+41>>0]|0;i=J;q=N;p=O;f=e;c[b+16064>>2]=2;c[b+16068>>2]=35;break a}if(!(pmb(e,522624,2)|0)){e=e+2|0;g=uOa(e)|0;V=c[45680+(g<<2)>>2]|0;c[b+224>>2]=V;c[b+224+4>>2]=V;rmb(b+732|0,523693,b+224|0)|0;while(1)if(!(cmb(a[e>>0]|0)|0))break;else e=e+1|0;f=a[e>>0]|0;c:do if(f<<24>>24)do{if(cmb(f<<24>>24)|0)break c;if((a[e>>0]|0)==93)break c;e=e+1|0;f=a[e>>0]|0}while(f<<24>>24!=0);while(0);while(1)if(!(cmb(a[e>>0]|0)|0))break;else e=e+1|0;V=pOa(e)|0;a[S+376>>0]=V;a[S+376+1>>0]=V>>8;a[S+376+2>>0]=V>>16;a[S+376+3>>0]=V>>24;while(1){switch(a[e>>0]|0){case 93:case 0:{m=Q;D=$;k=Z;o=R;z=P;A=aa;B=ba;C=U;j=T;y=g;x=K;v=M;u=ca;t=Y;h=0;s=X;r=W;i=J;q=N;p=O;f=e;c[b+16064>>2]=2;c[b+16068>>2]=35;break a}default:{}}e=e+1|0}}if(!(pmb(e,522330,2)|0)){f=e+2|0;do if(!(pmb(f,522333,4)|0)){c[b+636>>2]=1;c[b+632>>2]=1}else{if(!(pmb(f,522338,2)|0)){c[b+636>>2]=2;c[b+632>>2]=2;break}if((a[f>>0]|0)==67){c[b+636>>2]=4;c[b+632>>2]=4;break}else{L=e+((rOa(f,b+636|0)|0)+2)|0;c[b+232>>2]=b+632;hob(L,522341,b+232|0)|0;break}}while(0);d:while(1){switch(a[e>>0]|0){case 93:case 0:break d;default:{}}e=e+1|0}f=c[b+632>>2]|0;if(!f)f=0;else{L=_(_((c[b+636>>2]|0)*3072|0,d[S+20>>0]|d[S+20+1>>0]<<8|d[S+20+2>>0]<<16|d[S+20+3>>0]<<24)|0,c[298874]|0)|0;f=(L|0)/(_(c[298875]|0,f)|0)|0}a[S+356>>0]=f;a[S+356+1>>0]=f>>8;a[S+356+2>>0]=f>>16;a[S+356+3>>0]=f>>24;m=Q;D=$;k=Z;o=R;z=P;A=aa;B=ba;C=U;j=T;y=V;x=K;v=M;u=ca;t=Y;h=0;s=X;r=W;i=J;q=N;p=O;f=e;c[b+16064>>2]=2;c[b+16068>>2]=35;break a}if(!(pmb(e,522347,2)|0)){e:do if(c[b+652>>2]|0){f=d[S+8>>0]|d[S+8+1>>0]<<8|d[S+8+2>>0]<<16|d[S+8+3>>0]<<24;do if(!f){h=0;f=d[S+20>>0]|d[S+20+1>>0]<<8|d[S+20+2>>0]<<16|d[S+20+3>>0]<<24}else{j=d[S+424>>0]|d[S+424+1>>0]<<8|d[S+424+2>>0]<<16|d[S+424+3>>0]<<24;g=Xpb(1,16)|0;a[g>>0]=0;a[g+1>>0]=0;a[g+2>>0]=0;a[g+3>>0]=0;a[g+4>>0]=j;a[g+4+1>>0]=j>>8;a[g+4+2>>0]=j>>16;a[g+4+3>>0]=j>>24;a[g+8>>0]=1;a[g+9>>0]=80;a[g+10>>0]=0;a[g+10+1>>0]=0;a[g+10+2>>0]=0;a[g+10+3>>0]=0;a[g+14>>0]=a[1274839]|0;a[g+15>>0]=0;qOa(f,g);g=d[S+8>>0]|d[S+8+1>>0]<<8|d[S+8+2>>0]<<16|d[S+8+3>>0]<<24;j=d[S+424>>0]|d[S+424+1>>0]<<8|d[S+424+2>>0]<<16|d[S+424+3>>0]<<24;f=d[S+20>>0]|d[S+20+1>>0]<<8|d[S+20+2>>0]<<16|d[S+20+3>>0]<<24;if(!g){h=0;break}h=d[g+4>>0]|d[g+4+1>>0]<<8|d[g+4+2>>0]<<16|d[g+4+3>>0]<<24;if(!h){h=0;break}else g=0;do{i=h+4|0;i=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24;if(i>>>0>j>>>0)break;do if((a[h+8>>0]|0)==1){if((a[h+9>>0]|0)!=80)break;i=i+g|0;if(!((i>>>0)%((f*12288|0)>>>0)|0))break;g=g+(f*12288|0)-(((i+(f*12288|0)|0)>>>0)%((f*12288|0)>>>0)|0)|0}while(0);h=d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24}while((h|0)!=0);h=(((g+j|0)>>>0)/192|0)>>>6}while(0);g=a[1274839]|0;h=((h>>>0)/(f>>>0)|0)&255;if(g<<24>>24==32)a[(b+678+53|0)>>0]=h;else a[b+678+((g<<24>>24)+-65<<1)+1>>0]=h;while(1){f=e+2|0;if(!(cmb(a[f>>0]|0)|0)){g=a[f>>0]|0;if(g<<24>>24!=46)break}e=e+1|0}do if(!(Vlb(g<<24>>24)|0))a[1274839]=32;else{f=a[f>>0]|0;a[1274839]=f;if(f<<24>>24==32)break;a[b+678+((f<<24>>24)+-65<<1)>>0]=h;break e}while(0);a[(b+678+52|0)>>0]=h}while(0);while(1){switch(a[e>>0]|0){case 93:case 0:{m=Q;D=$;k=Z;o=R;z=P;A=aa;B=ba;C=U;j=T;y=V;x=K;v=M;u=ca;t=Y;h=0;s=X;r=W;i=J;q=N;p=O;f=e;c[b+16064>>2]=2;c[b+16068>>2]=35;break a}default:{}}e=e+1|0}}if(!(pmb(e,522544,2)|0)){g=tOa(e+2|0,1)|0;f:while(1){switch(a[e>>0]|0){case 93:case 0:break f;default:{}}e=e+1|0}f=d[S+8>>0]|d[S+8+1>>0]<<8|d[S+8+2>>0]<<16|d[S+8+3>>0]<<24;if(!f){m=Q;D=$;k=Z;o=R;z=P;A=aa;B=ba;C=U;j=T;y=V;x=K;v=M;u=ca;t=g;h=0;s=X;r=W;i=J;q=N;p=O;f=e;c[b+16064>>2]=2;c[b+16068>>2]=35;break a}D=d[S+424>>0]|d[S+424+1>>0]<<8|d[S+424+2>>0]<<16|d[S+424+3>>0]<<24;m=Xpb(1,16)|0;a[m>>0]=0;a[m+1>>0]=0;a[m+2>>0]=0;a[m+3>>0]=0;a[m+4>>0]=D;a[m+4+1>>0]=D>>8;a[m+4+2>>0]=D>>16;a[m+4+3>>0]=D>>24;a[m+8>>0]=1;a[m+9>>0]=84;a[m+14>>0]=a[1274839]|0;a[m+15>>0]=0;a[m+10>>0]=g;a[m+10+1>>0]=g>>8;a[m+10+2>>0]=g>>16;a[m+10+3>>0]=g>>24;qOa(f,m);m=Q;D=$;k=Z;o=R;z=P;A=aa;B=ba;C=U;j=T;y=V;x=K;v=M;u=ca;t=g;h=0;s=X;r=W;i=J;q=N;p=O;f=e;c[b+16064>>2]=2;c[b+16068>>2]=35;break a}g:do if(!(pmb(e,524286,2)|0)){f=e+2|0;while(1)if(!(cmb(a[f>>0]|0)|0))break;else f=f+1|0;do if(!(pmb(f,523909,4)|0)){h=a[f+4>>0]|0;if(h<<24>>24==61)f=f+4|0;else if(!(cmb(h<<24>>24)|0)){i=K;j=M;break}else f=f+4|0;while(1)if(!(cmb(a[f>>0]|0)|0))break;else f=f+1|0;if((a[f>>0]|0)==61)do f=f+1|0;while((cmb(a[f>>0]|0)|0)!=0);zOa(S,f,93);h=d[S+412>>0]|d[S+412+1>>0]<<8|d[S+412+2>>0]<<16|d[S+412+3>>0]<<24;if(!h)h=K;else h=(a[h+43>>0]|0)==0&1;i=h;j=(h|0)==0?0:M}else{i=K;j=M}while(0);while(1){h=a[f>>0]|0;switch(h<<24>>24){case 93:case 0:{x=i;v=j;break g}default:{}}f=f+1|0}}else{h=l;x=K;v=M;f=e}while(0);do if(h<<24>>24){if((a[f+1>>0]|0)==58){e=h;while(1){switch(e<<24>>24){case 93:case 0:{m=Q;D=$;k=Z;o=R;z=P;A=aa;B=ba;C=U;j=T;y=V;u=ca;t=Y;h=0;s=X;r=W;i=J;q=N;p=O;c[b+16064>>2]=2;c[b+16068>>2]=35;break a}default:{}}S=f+1|0;e=a[S>>0]|0;f=S}}if(!(omb(524421,h<<24>>24,18)|0))break;e=d[S+412>>0]|d[S+412+1>>0]<<8|d[S+412+2>>0]<<16|d[S+412+3>>0]<<24;if(!e){e=oOa(S,1279070,0)|0;M=d[S+376>>0]|d[S+376+1>>0]<<8|d[S+376+2>>0]<<16|d[S+376+3>>0]<<24;a[e+20>>0]=M;a[e+20+1>>0]=M>>8;a[e+20+2>>0]=M>>16;a[e+20+3>>0]=M>>24}a[S+412>>0]=e;a[S+412+1>>0]=e>>8;a[S+412+2>>0]=e>>16;a[S+412+3>>0]=e>>24;h=a[e+36>>0]|0;e=d[S+8>>0]|d[S+8+1>>0]<<8|d[S+8+2>>0]<<16|d[S+8+3>>0]<<24;if(e|0)do{if((a[e+36>>0]|0)==h<<24>>24)a[e+38>>0]=a[e+37>>0]|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24}while((e|0)!=0);e=c[b+632>>2]|0;if(!e)e=0;else{M=_((d[S+20>>0]|d[S+20+1>>0]<<8|d[S+20+2>>0]<<16|d[S+20+3>>0]<<24)*3072|0,c[298874]|0)|0;e=(M|0)/(_(c[298875]|0,e)|0)|0}h=(((d[S+424>>0]|d[S+424+1>>0]<<8|d[S+424+2>>0]<<16|d[S+424+3>>0]<<24)-W|0)>>>0)/(e>>>0)|0;i=d[S+28>>0]|d[S+28+1>>0]<<8|d[S+28+2>>0]<<16|d[S+28+3>>0]<<24;h:do if(!i){if((h|0)%(d[S+35>>0]|0)|0|0){e=d[S+34>>0]|0;break}if(!h){e=d[S+32>>0]|0;break}else{e=d[S+33>>0]|0;break}}else{e=d[S+34>>0]|0;if((rnb(i)|0)<=(h|0)){e=((e*9|0)>>>0)/10|0;break}switch(a[i+h>>0]|0){case 102:{e=d[S+32>>0]|0;break h}case 109:{e=d[S+33>>0]|0;break h}case 112:break h;default:{e=((e*9|0)>>>0)/10|0;break h}}}while(0);s=(_(e,X)|0)/128|0;t=0;i=N;j=O;u=0;o=0;r=0;i:while(1){h=f+1|0;e=a[f>>0]|0;switch(e<<24>>24){case 93:case 0:{q=i;p=j;n=u;break i}default:{}}p=oOa(S,(d[S+412>>0]|d[S+412+1>>0]<<8|d[S+412+2>>0]<<16|d[S+412+3>>0]<<24)+44|0,t|0?t+10|0:0)|0;a[S+412>>0]=p;a[S+412+1>>0]=p>>8;a[S+412+2>>0]=p>>16;a[S+412+3>>0]=p>>24;p=(BOa(S,e<<24>>24,h,d[S+424>>0]|d[S+424+1>>0]<<8|d[S+424+2>>0]<<16|d[S+424+3>>0]<<24,b+732|0,s,aa,ba)|0)+1|0;e=a[f+p>>0]|0;if((e+-48|0)>>>0<10){h=0;k=0;do{h=e+-48+(h*10|0)|0;k=k+1|0;e=a[f+(k+p)>>0]|0}while((e+-48|0)>>>0<10);e=h}else{e=0;k=0}q=(k|0)==0?1:e;e=a[f+(k+p)>>0]|0;if(e<<24>>24==47){h=1;e=k;while(1){h=h<<1;k=e+1|0;e=a[f+(k+p)>>0]|0;if(e<<24>>24==47)e=k;else break}}else h=1;e=e<<24>>24;if((e+-48|0)>>>0<10){l=0;m=0;do{l=e+-48+(l*10|0)|0;m=m+1|0;n=m+k|0;e=a[f+(n+p)>>0]|0}while((e+-48|0)>>>0<10);e=(m|0)==0?1:l;h=(h|0)/2|0;k=n}else e=1;l=_(h,e)|0;e=k+p|0;h=f+e|0;do if((a[h>>0]|0)==45){f=f+(e+1)|0;e=d[S+412>>0]|d[S+412+1>>0]<<8|d[S+412+2>>0]<<16|d[S+412+3>>0]<<24;h=d[e+8>>0]|d[e+8+1>>0]<<8|d[e+8+2>>0]<<16|d[e+8+3>>0]<<24;if(!h)break;if((a[h+8>>0]|0)==1)break;a[e+16>>0]=h;a[e+16+1>>0]=h>>8;a[e+16+2>>0]=h>>16;a[e+16+3>>0]=h>>24}else f=h;while(0);if((t|0)<8){c[b+568+(t<<2)>>2]=q;c[b+536+(t<<2)>>2]=l;if(!t){H=l;w=q;E=l;F=q;G=r}else da=538}else da=538;do if((da|0)==538){da=0;if((j|0)==(q|0)&(i|0)==(l|0)){H=i;w=j;E=u;F=o;G=r;break}j:do if((_(l,j)|0)<(_(q,i)|0)){e=d[S+412>>0]|d[S+412+1>>0]<<8|d[S+412+2>>0]<<16|d[S+412+3>>0]<<24;j=a[e+36>>0]|0;h=d[S+8>>0]|d[S+8+1>>0]<<8|d[S+8+2>>0]<<16|d[S+8+3>>0]<<24;if(!h){i=l;j=q;break}while(1){do if((h|0)!=(e|0)){if((a[h+36>>0]|0)!=j<<24>>24)break;e=h+16|0;if(!(d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24))break;i=d[S+24>>0]|d[S+24+1>>0]<<8|d[S+24+2>>0]<<16|d[S+24+3>>0]<<24;if(((rnb(i)|0)+40|0)>>>0<=255){c[b+240>>2]=i;rmb(b+784|0,524479,b+240|0)|0;c[b+248>>2]=b+784;oob(L,521941,b+248|0)|0}a[e>>0]=0;a[e+1>>0]=0;a[e+2>>0]=0;a[e+3>>0]=0}while(0);h=d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24;if(!h){i=l;j=q;break j}e=d[S+412>>0]|d[S+412+1>>0]<<8|d[S+412+2>>0]<<16|d[S+412+3>>0]<<24}}while(0);do if((_(j,l)|0)>(_(i,q)|0)){e=d[S+412>>0]|d[S+412+1>>0]<<8|d[S+412+2>>0]<<16|d[S+412+3>>0]<<24;if(!(d[e+16>>0]|d[e+16+1>>0]<<8|d[e+16+2>>0]<<16|d[e+16+3>>0]<<24))break;h=d[S+24>>0]|d[S+24+1>>0]<<8|d[S+24+2>>0]<<16|d[S+24+3>>0]<<24;if(((rnb(h)|0)+40|0)>>>0<=255){c[b+256>>2]=h;rmb(b+784|0,524479,b+256|0)|0;c[b+264>>2]=b+784;oob(L,521941,b+264|0)|0;e=d[S+412>>0]|d[S+412+1>>0]<<8|d[S+412+2>>0]<<16|d[S+412+3>>0]<<24}O=e+16|0;a[O>>0]=0;a[O+1>>0]=0;a[O+2>>0]=0;a[O+3>>0]=0}while(0);F=(_(l,o)|0)>(_(q,u)|0);H=i;w=j;E=F?l:u;F=F?q:o;G=1}while(0);t=t+1|0;i=H;j=w;u=E;o=F;r=G}e=a[h>>0]|0;if(((e<<24>>24)+-48|0)>>>0<10){i=e<<24>>24;h=0;e=0;while(1){h=i+-48+(h*10|0)|0;j=e+1|0;e=a[f+(e+2)>>0]|0;i=e<<24>>24;if((i+-48|0)>>>0>=10)break;else e=j}}else{h=0;j=0}m=(j|0)==0?1:h;if(e<<24>>24==47){e=1;h=j;while(1){i=e<<1;j=h+1|0;e=a[f+(h+2)>>0]|0;if(e<<24>>24==47){e=i;h=j}else break}}else i=1;e=e<<24>>24;if((e+-48|0)>>>0<10){h=0;k=0;do{h=e+-48+(h*10|0)|0;k=k+1|0;l=k+j|0;e=a[f+(l+1)>>0]|0}while((e+-48|0)>>>0<10);h=(k|0)==0?1:h;i=(i|0)/2|0;e=l}else{h=1;e=j}k=_(i,h)|0;O=f+(e+1)|0;w=a[O>>0]|0;f=w<<24>>24==45?f+(e+2)|0:O;do if(P|0){e=_(k,n)|0;e=_(e,c[b+640>>2]|0)|0;if(!e)e=0;else{P=_(_(_(_(o*3072|0,m)|0,c[b+644>>2]|0)|0,d[S+20>>0]|d[S+20+1>>0]<<8|d[S+20+2>>0]<<16|d[S+20+3>>0]<<24)|0,c[298874]|0)|0;e=(P|0)/(_(c[298875]|0,e)|0)|0}e=(e>>>0)/(t>>>0)|0;P=(d[S+20>>0]|d[S+20+1>>0]<<8|d[S+20+2>>0]<<16|d[S+20+3>>0]<<24)*192|0;e=e>>>0>P>>>0?P:e;if((t|0)<=1)break;h=d[S+412>>0]|d[S+412+1>>0]<<8|d[S+412+2>>0]<<16|d[S+412+3>>0]<<24;j=1;do{h=oOa(S,h+44|0,j+10|0)|0;a[S+412>>0]=h;a[S+412+1>>0]=h>>8;a[S+412+2>>0]=h>>16;a[S+412+3>>0]=h>>24;i=h+8|0;i=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24;if(i|0){P=(d[S+424>>0]|d[S+424+1>>0]<<8|d[S+424+2>>0]<<16|d[S+424+3>>0]<<24)+(_(j,e)|0)|0;a[i+4>>0]=P;a[i+4+1>>0]=P>>8;a[i+4+2>>0]=P>>16;a[i+4+3>>0]=P>>24}j=j+1|0}while((j|0)!=(t|0))}while(0);h=_(m,p)|0;e=_(k,q)|0;if(!R)o=0;else{o=R+-1|0;h=_(h,Z)|0;e=_(e,$)|0}while(1)if(!(cmb(a[f>>0]|0)|0))break;else f=f+1|0;switch(Q|0){case 60:{g=0;h=h*3|0;e=e<<1;break}case 62:{g=0;e=e<<1;break}default:{}}k:do switch(a[f>>0]|0){case 62:{g=1;e=e<<1;h=h*3|0;m=62;break}case 60:{g=1;e=e<<1;m=60;break}default:{if(!((h|0)==1&(g|0)!=0)){g=0;m=0;break k}m=(e|0)==1;g=0;e=m?2:e;h=m?3:1;m=m?62:0}}while(0);f=f+g|0;e=_(c[b+640>>2]|0,e)|0;if(!e)e=0;else{R=_(_(_(h*3072|0,c[b+644>>2]|0)|0,d[S+20>>0]|d[S+20+1>>0]<<8|d[S+20+2>>0]<<16|d[S+20+3>>0]<<24)|0,c[298874]|0)|0;e=(R|0)/(_(c[298875]|0,e)|0)|0}e=e<<((U|0)!=0&1);if(e>>>0>T>>>0){n=0;l=e-T|0}else{l=(d[S+20>>0]|d[S+20+1>>0]<<8|d[S+20+2>>0]<<16|d[S+20+3>>0]<<24)*192|0;n=T-e+l|0}U=(d[S+424>>0]|d[S+424+1>>0]<<8|d[S+424+2>>0]<<16|d[S+424+3>>0]<<24)+l|0;a[S+424>>0]=U;a[S+424+1>>0]=U>>8;a[S+424+2>>0]=U>>16;a[S+424+3>>0]=U>>24;if((t|0)>0){k=_(l,q)|0;i=t;do{j=i;i=i+-1|0;h=oOa(S,(d[S+412>>0]|d[S+412+1>>0]<<8|d[S+412+2>>0]<<16|d[S+412+3>>0]<<24)+44|0,i|0?j+9|0:0)|0;a[S+412>>0]=h;a[S+412+1>>0]=h>>8;a[S+412+2>>0]=h>>16;a[S+412+3>>0]=h>>24;do if((r|0)!=0&(j|0)<9){e=c[b+568+(i<<2)>>2]|0;g=c[b+536+(i<<2)>>2]|0;if((e|0)==(p|0)&(g|0)==(q|0)){da=593;break}R=(d[S+424>>0]|d[S+424+1>>0]<<8|d[S+424+2>>0]<<16|d[S+424+3>>0]<<24)-l+(((_(k,e)|0)>>>0)/((_(g,p)|0)>>>0)|0)|0;T=(wOa(d[h+42>>0]|0)|0)&255;U=Xpb(1,16)|0;a[U>>0]=0;a[U+1>>0]=0;a[U+2>>0]=0;a[U+3>>0]=0;a[U+4>>0]=R;a[U+4+1>>0]=R>>8;a[U+4+2>>0]=R>>16;a[U+4+3>>0]=R>>24;a[U+8>>0]=0;a[U+9>>0]=0;a[U+10>>0]=T;a[U+11>>0]=0;a[U+12>>0]=0;a[U+13>>0]=0;a[U+14>>0]=a[1274839]|0;a[U+15>>0]=0;qOa(h,U)}else da=593;while(0);do if((da|0)==593){da=0;do if(w<<24>>24==45){e=d[h+8>>0]|d[h+8+1>>0]<<8|d[h+8+2>>0]<<16|d[h+8+3>>0]<<24;if(!e)break;if((a[e+8>>0]|0)==1)break;a[h+16>>0]=e;a[h+16+1>>0]=e>>8;a[h+16+2>>0]=e>>16;a[h+16+3>>0]=e>>24}while(0);e=d[S+424>>0]|d[S+424+1>>0]<<8|d[S+424+2>>0]<<16|d[S+424+3>>0]<<24;g=a[h+42>>0]|0;if(l>>>0>((d[S+20>>0]|d[S+20+1>>0]<<8|d[S+20+2>>0]<<16|d[S+20+3>>0]<<24)*192|0)>>>0){R=e-v|0;T=(wOa(g&255)|0)&255;U=Xpb(1,16)|0;a[U>>0]=0;a[U+1>>0]=0;a[U+2>>0]=0;a[U+3>>0]=0;a[U+4>>0]=R;a[U+4+1>>0]=R>>8;a[U+4+2>>0]=R>>16;a[U+4+3>>0]=R>>24;a[U+8>>0]=0;a[U+9>>0]=0;a[U+10>>0]=T;a[U+11>>0]=0;a[U+12>>0]=0;a[U+13>>0]=0;a[U+14>>0]=a[1274839]|0;a[U+15>>0]=0;qOa(h,U);break}else{T=(wOa(g&255)|0)&255;U=Xpb(1,16)|0;a[U>>0]=0;a[U+1>>0]=0;a[U+2>>0]=0;a[U+3>>0]=0;a[U+4>>0]=e;a[U+4+1>>0]=e>>8;a[U+4+2>>0]=e>>16;a[U+4+3>>0]=e>>24;a[U+8>>0]=0;a[U+9>>0]=0;a[U+10>>0]=T;a[U+11>>0]=0;a[U+12>>0]=0;a[U+13>>0]=0;a[U+14>>0]=a[1274839]|0;a[U+15>>0]=0;qOa(h,U);break}}while(0)}while((j|0)>1)}do if(d[S+384>>0]|d[S+384+1>>0]<<8|d[S+384+2>>0]<<16|d[S+384+3>>0]<<24|0){if((d[S+412>>0]|d[S+412+1>>0]<<8|d[S+412+2>>0]<<16|d[S+412+3>>0]<<24|0)!=(d[S+416>>0]|d[S+416+1>>0]<<8|d[S+416+2>>0]<<16|d[S+416+3>>0]<<24|0))break;COa(S,d[S+424>>0]|d[S+424+1>>0]<<8|d[S+424+2>>0]<<16|d[S+424+3>>0]<<24,W)}while(0);do if(d[S+380>>0]|d[S+380+1>>0]<<8|d[S+380+2>>0]<<16|d[S+380+3>>0]<<24|0){if((d[S+412>>0]|d[S+412+1>>0]<<8|d[S+412+2>>0]<<16|d[S+412+3>>0]<<24|0)!=(d[S+420>>0]|d[S+420+1>>0]<<8|d[S+420+2>>0]<<16|d[S+420+3>>0]<<24|0))break;DOa(S,d[S+424>>0]|d[S+424+1>>0]<<8|d[S+424+2>>0]<<16|d[S+424+3>>0]<<24,W)}while(0);D=$;k=Z;z=0;A=(ba|0)==255?aa:0;B=ba;C=0;j=n;y=V;u=ca;t=Y;h=0;s=X;r=W;i=w;c[b+16064>>2]=2;c[b+16068>>2]=35;break a}while(0);if(((h<<24>>24)+-48|0)>>>0>=10){m=Q;D=$;k=Z;o=R;z=P;A=aa;B=ba;C=U;j=T;y=V;u=ca;t=Y;h=0;s=X;r=W;i=J;q=N;p=O;c[b+16064>>2]=2;c[b+16068>>2]=35;break a}g=d[S+412>>0]|d[S+412+1>>0]<<8|d[S+412+2>>0]<<16|d[S+412+3>>0]<<24;if(!g){g=oOa(S,1279070,0)|0;H=d[S+376>>0]|d[S+376+1>>0]<<8|d[S+376+2>>0]<<16|d[S+376+3>>0]<<24;a[g+20>>0]=H;a[g+20+1>>0]=H>>8;a[g+20+2>>0]=H>>16;a[g+20+3>>0]=H>>24}a[S+412>>0]=g;a[S+412+1>>0]=g>>8;a[S+412+2>>0]=g>>16;a[S+412+3>>0]=g>>24;G=d[S+424>>0]|d[S+424+1>>0]<<8|d[S+424+2>>0]<<16|d[S+424+3>>0]<<24;H=Xpb(1,16)|0;a[H>>0]=0;a[H+1>>0]=0;a[H+2>>0]=0;a[H+3>>0]=0;a[H+4>>0]=G;a[H+4+1>>0]=G>>8;a[H+4+2>>0]=G>>16;a[H+4+3>>0]=G>>24;a[H+8>>0]=1;a[H+9>>0]=80;a[H+10>>0]=0;a[H+10+1>>0]=0;a[H+10+2>>0]=0;a[H+10+3>>0]=0;a[H+14>>0]=a[1274839]|0;a[H+15>>0]=0;qOa(g,H);g=a[f>>0]|0;if((g+-48|0)>>>0<10){i=0;h=0;do{i=g+-48+(i*10|0)|0;h=h+1|0;g=a[f+h>>0]|0}while((g+-48|0)>>>0<10);g=i}else{g=0;h=0}i=(h|0)==0?1:g;f=f+h|0;H=d[S+412>>0]|d[S+412+1>>0]<<8|d[S+412+2>>0]<<16|d[S+412+3>>0]<<24;G=d[S+424>>0]|d[S+424+1>>0]<<8|d[S+424+2>>0]<<16|d[S+424+3>>0]<<24;g=Xpb(1,16)|0;a[g>>0]=0;a[g+1>>0]=0;a[g+2>>0]=0;a[g+3>>0]=0;a[g+4>>0]=G;a[g+4+1>>0]=G>>8;a[g+4+2>>0]=G>>16;a[g+4+3>>0]=G>>24;a[g+8>>0]=1;a[g+9>>0]=86;a[g+14>>0]=a[1274839]|0;a[g+15>>0]=0;a[g+10>>0]=1<>0]=1<>8;a[g+10+2>>0]=1<>16;a[g+10+3>>0]=1<>24;qOa(H,g);g=a[f>>0]|0;if((g&-2)<<24>>24!=44){m=Q;D=$;k=Z;o=R;z=P;A=aa;B=ba;C=U;j=T;y=V;u=ca;t=Y;h=0;s=X;r=W;i=J;q=N;p=O;c[b+16064>>2]=2;c[b+16068>>2]=35;break a}do{h=a[f+1>>0]|0;do if(g<<24>>24==44){if((h+-48|0)>>>0<10){i=0;j=0;while(1){i=h+-48+(i*10|0)|0;g=j+1|0;h=a[f+(j+2)>>0]|0;if((h+-48|0)>>>0>=10){h=i;break}else j=g}}else{h=0;g=0}i=(g|0)==0?1:h;H=(d[S+412>>0]|d[S+412+1>>0]<<8|d[S+412+2>>0]<<16|d[S+412+3>>0]<<24)+8|0;H=(d[H>>0]|d[H+1>>0]<<8|d[H+2>>0]<<16|d[H+3>>0]<<24)+10|0;G=d[H>>0]|d[H+1>>0]<<8|d[H+2>>0]<<16|d[H+3>>0]<<24|1<>0]=G;a[H+1>>0]=G>>8;a[H+2>>0]=G>>16;a[H+3>>0]=G>>24}else{if((h+-48|0)>>>0<10){j=0;k=0;while(1){j=h+-48+(j*10|0)|0;g=k+1|0;h=a[f+(k+2)>>0]|0;if((h+-48|0)>>>0>=10){h=j;break}else k=g}}else{h=0;g=0}j=(g|0)==0?1:h;if((i|0)>=(j|0))break;k=(d[S+412>>0]|d[S+412+1>>0]<<8|d[S+412+2>>0]<<16|d[S+412+3>>0]<<24)+8|0;k=(d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24)+10|0;h=d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24;do{i=i+1|0;h=h|1<>0]=h;a[k+1>>0]=h>>8;a[k+2>>0]=h>>16;a[k+3>>0]=h>>24;i=j}while(0);f=f+(g+1)|0;g=a[f>>0]|0}while((g&-2)<<24>>24==44);m=Q;D=$;k=Z;o=R;z=P;A=aa;B=ba;C=U;j=T;y=V;u=ca;t=Y;h=0;s=X;r=W;i=J;q=N;p=O}break}default:ea=1}}if(ea){ea=0;switch(I|0){case 40:{f=a[e>>0]|0;if((f+-48|0)>>>0<10){g=f;f=0;i=0;while(1){h=g+-48+(f*10|0)|0;j=i+1|0;f=e+j|0;k=a[f>>0]|0;g=k<<24>>24;if((g+-48|0)>>>0>=10)break;else{f=h;i=j}}l=(j|0)==0?1:h;switch(l|0){case 8:case 4:case 2:{h=3;break}case 6:case 3:{h=2;break}default:h=(c[b+640>>2]|0)==8?3:2}if(k<<24>>24!=58){m=Q;D=l;k=h;o=l;z=P;A=aa;B=ba;C=U;j=T;y=V;x=K;v=M;u=ca;t=Y;h=0;s=X;r=W;i=J;q=N;p=O;c[b+16064>>2]=2;c[b+16068>>2]=35;break a}f=e+(i+2)|0;g=a[f>>0]|0;if(((g<<24>>24)+-48|0)>>>0<10){h=g<<24>>24;f=0;g=0;while(1){j=h+-48+(f*10|0)|0;k=g+1|0;f=e+(k+(i+2))|0;g=a[f>>0]|0;h=g<<24>>24;if((h+-48|0)>>>0>=10)break;else{f=j;g=k}}n=k+(i+2)|0;k=(k|0)==0?1:j}else{n=i+2|0;k=h}if(g<<24>>24!=58){m=Q;D=l;o=l;z=P;A=aa;B=ba;C=U;j=T;y=V;x=K;v=M;u=ca;t=Y;h=0;s=X;r=W;i=J;q=N;p=O;c[b+16064>>2]=2;c[b+16068>>2]=35;break a}i=n+1|0;f=e+i|0;g=a[f>>0]|0;if((g+-48|0)>>>0<10){f=0;h=0}else{m=Q;D=l;o=l;z=P;A=aa;B=ba;C=U;j=T;y=V;x=K;v=M;u=ca;t=Y;h=0;s=X;r=W;i=J;q=N;p=O;c[b+16064>>2]=2;c[b+16068>>2]=35;break a}while(1){f=g+-48+(f*10|0)|0;j=h+1|0;g=a[e+(j+i)>>0]|0;if((g+-48|0)>>>0>=10){g=h;break}else h=j}m=Q;D=l;o=(j|0)==0?1:f;z=P;A=aa;B=ba;C=U;j=T;y=V;x=K;v=M;u=ca;t=Y;h=0;s=X;r=W;i=J;q=N;p=O;f=e+(n+2+g)|0}else{m=Q;D=$;k=Z;o=R;z=P;A=aa;B=ba;C=U;j=T;y=V;x=K;v=0;u=ca;t=Y;h=0;s=X;r=W;i=J;q=N;p=O;f=e}break}case 41:{m=Q;D=$;k=Z;o=R;z=P;A=aa;B=ba;C=U;j=T;y=V;x=K;v=K;u=ca;t=Y;h=0;s=X;r=W;i=J;q=N;p=O;f=e;break}default:ea=1}}if(ea){ea=0;switch(I|0){case 123:{f=d[S+412>>0]|d[S+412+1>>0]<<8|d[S+412+2>>0]<<16|d[S+412+3>>0]<<24;if(!f){f=oOa(S,1279070,0)|0;H=d[S+376>>0]|d[S+376+1>>0]<<8|d[S+376+2>>0]<<16|d[S+376+3>>0]<<24;a[f+20>>0]=H;a[f+20+1>>0]=H>>8;a[f+20+2>>0]=H>>16;a[f+20+3>>0]=H>>24}a[S+412>>0]=f;a[S+412+1>>0]=f>>8;a[S+412+2>>0]=f>>16;a[S+412+3>>0]=f>>24;g=a[f+36>>0]|0;f=d[S+8>>0]|d[S+8+1>>0]<<8|d[S+8+2>>0]<<16|d[S+8+3>>0]<<24;if(f|0)do{if((a[f+36>>0]|0)==g<<24>>24)a[f+38>>0]=a[f+37>>0]|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24}while((f|0)!=0);f=c[b+632>>2]|0;if(!f)f=0;else{H=_((d[S+20>>0]|d[S+20+1>>0]<<8|d[S+20+2>>0]<<16|d[S+20+3>>0]<<24)*3072|0,c[298874]|0)|0;f=(H|0)/(_(c[298875]|0,f)|0)|0}g=(((d[S+424>>0]|d[S+424+1>>0]<<8|d[S+424+2>>0]<<16|d[S+424+3>>0]<<24)-W|0)>>>0)/(f>>>0)|0;h=d[S+28>>0]|d[S+28+1>>0]<<8|d[S+28+2>>0]<<16|d[S+28+3>>0]<<24;l:do if(!h){if((g|0)%(d[S+35>>0]|0)|0|0){f=d[S+34>>0]|0;break}if(!g){f=d[S+32>>0]|0;break}else{f=d[S+33>>0]|0;break}}else{f=d[S+34>>0]|0;if((rnb(h)|0)<=(g|0)){f=((f*9|0)>>>0)/10|0;break}switch(a[h+g>>0]|0){case 102:{f=d[S+32>>0]|0;break l}case 109:{f=d[S+33>>0]|0;break l}case 112:break l;default:{f=((f*9|0)>>>0)/10|0;break l}}}while(0);p=(_(f,X)|0)/128|0;q=0;o=e;m:while(1){f=o+1|0;l=a[o>>0]|0;switch(l<<24>>24){case 125:case 0:{j=q;break m}default:{}}m=(BOa(S,l<<24>>24,f,(d[S+424>>0]|d[S+424+1>>0]<<8|d[S+424+2>>0]<<16|d[S+424+3>>0]<<24)+q|0,b+732|0,p,0,0)|0)+1|0;f=a[o+m>>0]|0;if((f+-48|0)>>>0<10){g=0;h=0;do{g=f+-48+(g*10|0)|0;h=h+1|0;f=a[o+(h+m)>>0]|0}while((f+-48|0)>>>0<10)}else{g=0;h=0}n=(h|0)==0;f=a[o+(h+m)>>0]|0;if(f<<24>>24==47){f=1;while(1){i=f<<1;h=h+1|0;f=a[o+(h+m)>>0]|0;if(f<<24>>24==47)f=i;else break}}else i=1;f=f<<24>>24;if((f+-48|0)>>>0<10){j=0;k=0;do{j=f+-48+(j*10|0)|0;k=k+1|0;l=k+h|0;f=a[o+(l+m)>>0]|0}while((f+-48|0)>>>0<10);k=(k|0)==0?1:j;j=(i|0)/2|0;h=l}else{k=1;j=i}f=h+m|0;h=o+f|0;do if((a[h>>0]|0)==45){h=o+(f+1)|0;f=d[S+412>>0]|d[S+412+1>>0]<<8|d[S+412+2>>0]<<16|d[S+412+3>>0]<<24;i=d[f+8>>0]|d[f+8+1>>0]<<8|d[f+8+2>>0]<<16|d[f+8+3>>0]<<24;if((a[i+8>>0]|0)==1)break;a[f+16>>0]=i;a[f+16+1>>0]=i>>8;a[f+16+2>>0]=i>>16;a[f+16+3>>0]=i>>24}while(0);f=_(_(k<<2,j)|0,c[b+640>>2]|0)|0;if(!f)f=0;else{H=_(_(_(n?3072:g*3072|0,c[b+644>>2]|0)|0,d[S+20>>0]|d[S+20+1>>0]<<8|d[S+20+2>>0]<<16|d[S+20+3>>0]<<24)|0,c[298874]|0)|0;f=(H|0)/(_(c[298875]|0,f)|0)|0}o=f+q|0;G=d[S+412>>0]|d[S+412+1>>0]<<8|d[S+412+2>>0]<<16|d[S+412+3>>0]<<24;E=(d[S+424>>0]|d[S+424+1>>0]<<8|d[S+424+2>>0]<<16|d[S+424+3>>0]<<24)+o|0;F=(wOa(d[G+42>>0]|0)|0)&255;H=Xpb(1,16)|0;a[H>>0]=0;a[H+1>>0]=0;a[H+2>>0]=0;a[H+3>>0]=0;a[H+4>>0]=E;a[H+4+1>>0]=E>>8;a[H+4+2>>0]=E>>16;a[H+4+3>>0]=E>>24;a[H+8>>0]=0;a[H+9>>0]=0;a[H+10>>0]=F;a[H+11>>0]=0;a[H+12>>0]=0;a[H+13>>0]=0;a[H+14>>0]=a[1274839]|0;a[H+15>>0]=0;qOa(G,H);q=o;o=h}g=(d[S+424>>0]|d[S+424+1>>0]<<8|d[S+424+2>>0]<<16|d[S+424+3>>0]<<24)+j|0;a[S+424>>0]=g;a[S+424+1>>0]=g>>8;a[S+424+2>>0]=g>>16;a[S+424+3>>0]=g>>24;h=d[S+412>>0]|d[S+412+1>>0]<<8|d[S+412+2>>0]<<16|d[S+412+3>>0]<<24;i=d[h+8>>0]|d[h+8+1>>0]<<8|d[h+8+2>>0]<<16|d[h+8+3>>0]<<24;do if(!i)da=678;else{if((d[i+4>>0]|d[i+4+1>>0]<<8|d[i+4+2>>0]<<16|d[i+4+3>>0]<<24|0)==(g|0))break;if((a[i+8>>0]|0)!=1){da=678;break}if((a[i+9>>0]|0)!=83){da=678;break}a[i+4>>0]=g;a[i+4+1>>0]=g>>8;a[i+4+2>>0]=g>>16;a[i+4+3>>0]=g>>24}while(0);if((da|0)==678){da=0;H=Xpb(1,16)|0;a[H>>0]=0;a[H+1>>0]=0;a[H+2>>0]=0;a[H+3>>0]=0;a[H+4>>0]=g;a[H+4+1>>0]=g>>8;a[H+4+2>>0]=g>>16;a[H+4+3>>0]=g>>24;a[H+8>>0]=1;a[H+9>>0]=83;a[H+10>>0]=0;a[H+10+1>>0]=0;a[H+10+2>>0]=0;a[H+10+3>>0]=0;a[H+14>>0]=a[1274839]|0;a[H+15>>0]=0;qOa(h,H)}do if(d[S+384>>0]|d[S+384+1>>0]<<8|d[S+384+2>>0]<<16|d[S+384+3>>0]<<24|0){if((d[S+412>>0]|d[S+412+1>>0]<<8|d[S+412+2>>0]<<16|d[S+412+3>>0]<<24|0)!=(d[S+416>>0]|d[S+416+1>>0]<<8|d[S+416+2>>0]<<16|d[S+416+3>>0]<<24|0))break;COa(S,d[S+424>>0]|d[S+424+1>>0]<<8|d[S+424+2>>0]<<16|d[S+424+3>>0]<<24,W)}while(0);if(!(d[S+380>>0]|d[S+380+1>>0]<<8|d[S+380+2>>0]<<16|d[S+380+3>>0]<<24)){m=Q;D=$;k=Z;o=R;z=P;A=aa;B=ba;C=U;y=V;x=K;v=M;u=ca;t=Y;h=0;s=X;r=W;i=l;q=N;p=O;c[b+16064>>2]=2;c[b+16068>>2]=35;break a}if((d[S+412>>0]|d[S+412+1>>0]<<8|d[S+412+2>>0]<<16|d[S+412+3>>0]<<24|0)!=(d[S+420>>0]|d[S+420+1>>0]<<8|d[S+420+2>>0]<<16|d[S+420+3>>0]<<24|0)){m=Q;D=$;k=Z;o=R;z=P;A=aa;B=ba;C=U;y=V;x=K;v=M;u=ca;t=Y;h=0;s=X;r=W;i=l;q=N;p=O;c[b+16064>>2]=2;c[b+16068>>2]=35;break a}DOa(S,d[S+424>>0]|d[S+424+1>>0]<<8|d[S+424+2>>0]<<16|d[S+424+3>>0]<<24,W);m=Q;D=$;k=Z;o=R;z=P;A=aa;B=ba;C=U;y=V;x=K;v=M;u=ca;t=Y;h=0;s=X;r=W;i=l;q=N;p=O;break}default:ea=1}}if(ea){ea=0;switch(I|0){case 124:{do if(d[S+384>>0]|d[S+384+1>>0]<<8|d[S+384+2>>0]<<16|d[S+384+3>>0]<<24|0){f=d[S+412>>0]|d[S+412+1>>0]<<8|d[S+412+2>>0]<<16|d[S+412+3>>0]<<24;if(!f)break;if((f|0)!=(d[S+416>>0]|d[S+416+1>>0]<<8|d[S+416+2>>0]<<16|d[S+416+3>>0]<<24|0))break;COa(S,d[S+424>>0]|d[S+424+1>>0]<<8|d[S+424+2>>0]<<16|d[S+424+3>>0]<<24,W)}while(0);do if(d[S+380>>0]|d[S+380+1>>0]<<8|d[S+380+2>>0]<<16|d[S+380+3>>0]<<24|0){if((d[S+412>>0]|d[S+412+1>>0]<<8|d[S+412+2>>0]<<16|d[S+412+3>>0]<<24|0)!=(d[S+420>>0]|d[S+420+1>>0]<<8|d[S+420+2>>0]<<16|d[S+420+3>>0]<<24|0))break;DOa(S,d[S+424>>0]|d[S+424+1>>0]<<8|d[S+424+2>>0]<<16|d[S+424+3>>0]<<24,W)}while(0);r=c[45680+(V<<2)>>2]|0;c[b+272>>2]=r;c[b+272+4>>2]=r;rmb(b+732|0,523693,b+272|0)|0;r=d[S+424>>0]|d[S+424+1>>0]<<8|d[S+424+2>>0]<<16|d[S+424+3>>0]<<24;f=d[S+412>>0]|d[S+412+1>>0]<<8|d[S+412+2>>0]<<16|d[S+412+3>>0]<<24;do if(!f)f=0;else{if(!(a[f+37>>0]|0))break;f=oOa(S,f+44|0,0)|0;a[S+412>>0]=f;a[S+412+1>>0]=f>>8;a[S+412+2>>0]=f>>16;a[S+412+3>>0]=f>>24}while(0);g=a[e>>0]|0;if(((g<<24>>24)+-48|0)>>>0>=10){if(g<<24>>24!=58){m=Q;D=$;k=Z;o=R;z=P;A=aa;B=ba;C=U;j=T;y=V;x=K;v=M;u=ca;t=Y;h=0;s=X;i=J;q=N;p=O;f=e;c[b+16064>>2]=2;c[b+16068>>2]=35;break a}if(!f){f=oOa(S,1279070,0)|0;W=d[S+376>>0]|d[S+376+1>>0]<<8|d[S+376+2>>0]<<16|d[S+376+3>>0]<<24;a[f+20>>0]=W;a[f+20+1>>0]=W>>8;a[f+20+2>>0]=W>>16;a[f+20+3>>0]=W>>24}a[S+412>>0]=f;a[S+412+1>>0]=f>>8;a[S+412+2>>0]=f>>16;a[S+412+3>>0]=f>>24;k=d[S+424>>0]|d[S+424+1>>0]<<8|d[S+424+2>>0]<<16|d[S+424+3>>0]<<24;D=Xpb(1,16)|0;a[D>>0]=0;a[D+1>>0]=0;a[D+2>>0]=0;a[D+3>>0]=0;a[D+4>>0]=k;a[D+4+1>>0]=k>>8;a[D+4+2>>0]=k>>16;a[D+4+3>>0]=k>>24;a[D+8>>0]=1;a[D+9>>0]=80;a[D+10>>0]=0;a[D+10+1>>0]=0;a[D+10+2>>0]=0;a[D+10+3>>0]=0;a[D+14>>0]=a[1274839]|0;a[D+15>>0]=0;qOa(f,D);D=d[S+412>>0]|d[S+412+1>>0]<<8|d[S+412+2>>0]<<16|d[S+412+3>>0]<<24;k=d[S+424>>0]|d[S+424+1>>0]<<8|d[S+424+2>>0]<<16|d[S+424+3>>0]<<24;m=Xpb(1,16)|0;a[m>>0]=0;a[m+1>>0]=0;a[m+2>>0]=0;a[m+3>>0]=0;a[m+4>>0]=k;a[m+4+1>>0]=k>>8;a[m+4+2>>0]=k>>16;a[m+4+3>>0]=k>>24;a[m+8>>0]=1;a[m+9>>0]=76;a[m+10>>0]=0;a[m+10+1>>0]=0;a[m+10+2>>0]=0;a[m+10+3>>0]=0;a[m+14>>0]=a[1274839]|0;a[m+15>>0]=0;qOa(D,m);m=Q;D=$;k=Z;o=R;z=P;A=aa;B=ba;C=U;j=T;y=V;x=K;v=M;u=ca;t=Y;h=0;s=X;i=J;q=N;p=O;f=e+1|0;c[b+16064>>2]=2;c[b+16068>>2]=35;break a}if(!f){f=oOa(S,1279070,0)|0;H=d[S+376>>0]|d[S+376+1>>0]<<8|d[S+376+2>>0]<<16|d[S+376+3>>0]<<24;a[f+20>>0]=H;a[f+20+1>>0]=H>>8;a[f+20+2>>0]=H>>16;a[f+20+3>>0]=H>>24}a[S+412>>0]=f;a[S+412+1>>0]=f>>8;a[S+412+2>>0]=f>>16;a[S+412+3>>0]=f>>24;G=d[S+424>>0]|d[S+424+1>>0]<<8|d[S+424+2>>0]<<16|d[S+424+3>>0]<<24;H=Xpb(1,16)|0;a[H>>0]=0;a[H+1>>0]=0;a[H+2>>0]=0;a[H+3>>0]=0;a[H+4>>0]=G;a[H+4+1>>0]=G>>8;a[H+4+2>>0]=G>>16;a[H+4+3>>0]=G>>24;a[H+8>>0]=1;a[H+9>>0]=80;a[H+10>>0]=0;a[H+10+1>>0]=0;a[H+10+2>>0]=0;a[H+10+3>>0]=0;a[H+14>>0]=a[1274839]|0;a[H+15>>0]=0;qOa(f,H);f=a[e>>0]|0;if((f+-48|0)>>>0<10){h=0;g=0;do{h=f+-48+(h*10|0)|0;g=g+1|0;f=a[e+g>>0]|0}while((f+-48|0)>>>0<10);f=h}else{f=0;g=0}h=(g|0)==0?1:f;f=e+g|0;H=d[S+412>>0]|d[S+412+1>>0]<<8|d[S+412+2>>0]<<16|d[S+412+3>>0]<<24;G=d[S+424>>0]|d[S+424+1>>0]<<8|d[S+424+2>>0]<<16|d[S+424+3>>0]<<24;g=Xpb(1,16)|0;a[g>>0]=0;a[g+1>>0]=0;a[g+2>>0]=0;a[g+3>>0]=0;a[g+4>>0]=G;a[g+4+1>>0]=G>>8;a[g+4+2>>0]=G>>16;a[g+4+3>>0]=G>>24;a[g+8>>0]=1;a[g+9>>0]=86;a[g+14>>0]=a[1274839]|0;a[g+15>>0]=0;a[g+10>>0]=1<>0]=1<>8;a[g+10+2>>0]=1<>16;a[g+10+3>>0]=1<>24;qOa(H,g);g=a[f>>0]|0;if((g&-2)<<24>>24==44)l=h;else{m=Q;D=$;k=Z;o=R;z=P;A=aa;B=ba;C=U;j=T;y=V;x=K;v=M;u=ca;t=Y;h=0;s=X;i=J;q=N;p=O;c[b+16064>>2]=2;c[b+16068>>2]=35;break a}while(1){h=a[f+1>>0]|0;do if(g<<24>>24==44){if((h+-48|0)>>>0<10){i=0;j=0;while(1){i=h+-48+(i*10|0)|0;g=j+1|0;h=a[f+(j+2)>>0]|0;if((h+-48|0)>>>0>=10){h=i;break}else j=g}}else{h=0;g=0}h=(g|0)==0?1:h;H=(d[S+412>>0]|d[S+412+1>>0]<<8|d[S+412+2>>0]<<16|d[S+412+3>>0]<<24)+8|0;H=(d[H>>0]|d[H+1>>0]<<8|d[H+2>>0]<<16|d[H+3>>0]<<24)+10|0;G=d[H>>0]|d[H+1>>0]<<8|d[H+2>>0]<<16|d[H+3>>0]<<24|1<>0]=G;a[H+1>>0]=G>>8;a[H+2>>0]=G>>16;a[H+3>>0]=G>>24}else{if((h+-48|0)>>>0<10){i=0;j=0;while(1){i=h+-48+(i*10|0)|0;g=j+1|0;h=a[f+(j+2)>>0]|0;if((h+-48|0)>>>0>=10){h=i;break}else j=g}}else{h=0;g=0}j=(g|0)==0?1:h;if((l|0)>=(j|0)){h=l;break}k=(d[S+412>>0]|d[S+412+1>>0]<<8|d[S+412+2>>0]<<16|d[S+412+3>>0]<<24)+8|0;k=(d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24)+10|0;i=l;h=d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24;do{i=i+1|0;h=h|1<>0]=h;a[k+1>>0]=h>>8;a[k+2>>0]=h>>16;a[k+3>>0]=h>>24;h=j}while(0);f=f+(g+1)|0;g=a[f>>0]|0;if((g&-2)<<24>>24!=44){m=Q;D=$;k=Z;o=R;z=P;A=aa;B=ba;C=U;j=T;y=V;x=K;v=M;u=ca;t=Y;h=0;s=X;i=J;q=N;p=O;break}else l=h}break}default:ea=1}}if(ea){ea=0;switch(I|0){case 38:{a[S+424>>0]=W;a[S+424+1>>0]=W>>8;a[S+424+2>>0]=W>>16;a[S+424+3>>0]=W>>24;f=d[S+412>>0]|d[S+412+1>>0]<<8|d[S+412+2>>0]<<16|d[S+412+3>>0]<<24;if(!f){f=oOa(S,1279070,0)|0;H=d[S+376>>0]|d[S+376+1>>0]<<8|d[S+376+2>>0]<<16|d[S+376+3>>0]<<24;a[f+20>>0]=H;a[f+20+1>>0]=H>>8;a[f+20+2>>0]=H>>16;a[f+20+3>>0]=H>>24}a[S+412>>0]=f;a[S+412+1>>0]=f>>8;a[S+412+2>>0]=f>>16;a[S+412+3>>0]=f>>24;m=a[f+37>>0]|0;m=oOa(S,f+44|0,m<<24>>24?(m&255)+1|0:11)|0;a[S+412>>0]=m;a[S+412+1>>0]=m>>8;a[S+412+2>>0]=m>>16;a[S+412+3>>0]=m>>24;m=Q;D=$;k=Z;o=R;z=P;A=aa;B=ba;C=U;j=T;y=V;x=K;v=M;u=ca;t=Y;h=0;s=X;r=W;i=J;q=N;p=O;f=e;break}case 93:{m=Q;D=$;k=Z;o=R;z=P;A=aa;B=ba;C=U;j=T;y=V;x=K;v=M;u=ca;t=Y;h=0;s=X;r=W;i=J;q=N;p=O;f=e;break}case 58:{f=d[S+412>>0]|d[S+412+1>>0]<<8|d[S+412+2>>0]<<16|d[S+412+3>>0]<<24;if(!f){f=oOa(S,1279070,0)|0;H=d[S+376>>0]|d[S+376+1>>0]<<8|d[S+376+2>>0]<<16|d[S+376+3>>0]<<24;a[f+20>>0]=H;a[f+20+1>>0]=H>>8;a[f+20+2>>0]=H>>16;a[f+20+3>>0]=H>>24}a[S+412>>0]=f;a[S+412+1>>0]=f>>8;a[S+412+2>>0]=f>>16;a[S+412+3>>0]=f>>24;F=f+32|0;H=d[S+424>>0]|d[S+424+1>>0]<<8|d[S+424+2>>0]<<16|d[S+424+3>>0]<<24;F=(d[F>>0]|d[F+1>>0]<<8|d[F+2>>0]<<16|d[F+3>>0]<<24|0)==-2&1;G=Xpb(1,16)|0;a[G>>0]=0;a[G+1>>0]=0;a[G+2>>0]=0;a[G+3>>0]=0;a[G+4>>0]=H;a[G+4+1>>0]=H>>8;a[G+4+2>>0]=H>>16;a[G+4+3>>0]=H>>24;a[G+8>>0]=1;a[G+9>>0]=74;a[G+10>>0]=0;a[G+11>>0]=0;a[G+12>>0]=0;a[G+13>>0]=F;a[G+14>>0]=a[1274839]|0;a[G+15>>0]=0;qOa(f,G);G=d[S+412>>0]|d[S+412+1>>0]<<8|d[S+412+2>>0]<<16|d[S+412+3>>0]<<24;F=d[S+424>>0]|d[S+424+1>>0]<<8|d[S+424+2>>0]<<16|d[S+424+3>>0]<<24;H=Xpb(1,16)|0;a[H>>0]=0;a[H+1>>0]=0;a[H+2>>0]=0;a[H+3>>0]=0;a[H+4>>0]=F;a[H+4+1>>0]=F>>8;a[H+4+2>>0]=F>>16;a[H+4+3>>0]=F>>24;a[H+8>>0]=1;a[H+9>>0]=80;a[H+10>>0]=0;a[H+10+1>>0]=0;a[H+10+2>>0]=0;a[H+10+3>>0]=0;a[H+14>>0]=a[1274839]|0;a[H+15>>0]=0;qOa(G,H);if((a[e>>0]|0)!=58){m=Q;D=$;k=Z;o=R;z=P;A=aa;B=ba;C=U;j=T;y=V;x=K;v=M;u=ca;t=Y;h=0;s=X;r=W;i=J;q=N;p=O;f=e;c[b+16064>>2]=2;c[b+16068>>2]=35;break a}D=d[S+412>>0]|d[S+412+1>>0]<<8|d[S+412+2>>0]<<16|d[S+412+3>>0]<<24;k=d[S+424>>0]|d[S+424+1>>0]<<8|d[S+424+2>>0]<<16|d[S+424+3>>0]<<24;m=Xpb(1,16)|0;a[m>>0]=0;a[m+1>>0]=0;a[m+2>>0]=0;a[m+3>>0]=0;a[m+4>>0]=k;a[m+4+1>>0]=k>>8;a[m+4+2>>0]=k>>16;a[m+4+3>>0]=k>>24;a[m+8>>0]=1;a[m+9>>0]=76;a[m+10>>0]=0;a[m+10+1>>0]=0;a[m+10+2>>0]=0;a[m+10+3>>0]=0;a[m+14>>0]=a[1274839]|0;a[m+15>>0]=0;qOa(D,m);m=Q;D=$;k=Z;o=R;z=P;A=aa;B=ba;C=U;j=T;y=V;x=K;v=M;u=ca;t=Y;h=0;s=X;r=W;i=J;q=N;p=O;f=e+1|0;break}default:ea=1}}if(ea){ea=0;switch(I|0){case 34:{J=a[e>>0]|0;do if(!((omb(524525,J,6)|0)!=0|(J+-48|0)>>>0<10)){f=d[S+412>>0]|d[S+412+1>>0]<<8|d[S+412+2>>0]<<16|d[S+412+3>>0]<<24;if(!f){f=oOa(S,1279070,0)|0;J=d[S+376>>0]|d[S+376+1>>0]<<8|d[S+376+2>>0]<<16|d[S+376+3>>0]<<24;a[f+20>>0]=J;a[f+20+1>>0]=J>>8;a[f+20+2>>0]=J>>16;a[f+20+3>>0]=J>>24}a[S+412>>0]=f;a[S+412+1>>0]=f>>8;a[S+412+2>>0]=f>>16;a[S+412+3>>0]=f>>24;g=d[S+416>>0]|d[S+416+1>>0]<<8|d[S+416+2>>0]<<16|d[S+416+3>>0]<<24;if(!g){g=oOa(S,f+44|0,0)|0;a[S+416>>0]=g;a[S+416+1>>0]=g>>8;a[S+416+2>>0]=g>>16;a[S+416+3>>0]=g>>24;f=d[S+412>>0]|d[S+412+1>>0]<<8|d[S+412+2>>0]<<16|d[S+412+3>>0]<<24}if((f|0)!=(g|0))break;l=d[S+424>>0]|d[S+424+1>>0]<<8|d[S+424+2>>0]<<16|d[S+424+3>>0]<<24;h=(a[e>>0]|0)==40?e+1|0:e;f=a[h>>0]|0;do if(f<<24>>24==32)f=0;else{if(f<<24>>24==67){f=1;break}if(f<<24>>24==68){f=3;break}if(f<<24>>24==69){f=5;break}if(f<<24>>24==70){f=6;break}if(f<<24>>24==71){f=8;break}if(f<<24>>24==65){f=10;break}if(f<<24>>24==66){f=12;break}if(f<<24>>24==99){f=13;break}if(f<<24>>24==100){f=15;break}if(f<<24>>24==101){f=17;break}if(f<<24>>24==102){f=18;break}if(f<<24>>24==103){f=20;break}if(f<<24>>24==97){f=22;break}f=f<<24>>24==98?24:0}while(0);switch(a[h+1>>0]|0){case 98:{j=h+2|0;f=f+-1<<24>>24;break}case 35:{j=h+2|0;f=f+1<<24>>24;break}default:j=h+1|0}h=a[j>>0]|0;n:do switch(h<<24>>24){case 32:case 41:case 40:case 47:case 34:case 0:{i=0;break}default:{a[b+1040>>0]=h;h=a[j+1>>0]|0;switch(h<<24>>24){case 32:case 41:case 40:case 47:case 34:case 0:{i=1;break n}default:{}}a[b+1040+1>>0]=h;h=a[j+2>>0]|0;switch(h<<24>>24){case 32:case 41:case 40:case 47:case 34:case 0:{i=2;break n}default:{}}a[b+1040+2>>0]=h;h=a[j+3>>0]|0;switch(h<<24>>24){case 32:case 41:case 40:case 47:case 34:case 0:{i=3;break n}default:{}}a[b+1040+3>>0]=h;h=a[j+4>>0]|0;switch(h<<24>>24){case 32:case 41:case 40:case 47:case 34:case 0:{i=4;break n}default:{}}a[b+1040+4>>0]=h;h=a[j+5>>0]|0;switch(h<<24>>24){case 32:case 41:case 40:case 47:case 34:case 0:{i=5;break n}default:{}}a[b+1040+5>>0]=h;h=a[j+6>>0]|0;switch(h<<24>>24){case 32:case 41:case 40:case 47:case 34:case 0:{i=6;break n}default:{}}a[b+1040+6>>0]=h;h=a[j+7>>0]|0;i=7}}while(0);a[b+1040+i>>0]=0;o:do if(h<<24>>24==47){h=a[j+(i+1)>>0]|0;do if(h<<24>>24==32)h=0;else{if(h<<24>>24==67){h=1;break}if(h<<24>>24==68){h=3;break}if(h<<24>>24==69){h=5;break}if(h<<24>>24==70){h=6;break}if(h<<24>>24==71){h=8;break}if(h<<24>>24==65){h=10;break}if(h<<24>>24==66){h=12;break}if(h<<24>>24==99){h=13;break}if(h<<24>>24==100){h=15;break}if(h<<24>>24==101){h=17;break}if(h<<24>>24==102){h=18;break}if(h<<24>>24==103){h=20;break}if(h<<24>>24==97){h=22;break}h=h<<24>>24==98?24:f}while(0);switch(a[j+(i+2)>>0]|0){case 98:{h=h+-1<<24>>24;break o}case 35:{h=h+1<<24>>24;break o}default:break o}}else h=f;while(0);k=c[298876]|0;p:do if((k|0)>0){i=0;while(1){if(!(Imb(b+1040|0,1274199+(i<<3)|0)|0))break;i=i+1|0;if((i|0)>=(k|0)){j=0;break p}}j=i&255}else{j=0;i=0}while(0);if((i|0)==(k|0)){if(((rnb(b+1040|0)|0)+34|0)>>>0<=255){c[b+280>>2]=b+1040;rmb(b+784|0,524531,b+280|0)|0;c[b+288>>2]=b+784;oob(L,521941,b+288|0)|0}}else{L=Xpb(1,16)|0;a[L>>0]=0;a[L+1>>0]=0;a[L+2>>0]=0;a[L+3>>0]=0;a[L+4>>0]=l;a[L+4+1>>0]=l>>8;a[L+4+2>>0]=l>>16;a[L+4+3>>0]=l>>24;a[L+8>>0]=1;a[L+9>>0]=67;a[L+10>>0]=j;a[L+11>>0]=f;a[L+12>>0]=h;a[L+13>>0]=0;a[L+14>>0]=a[1274839]|0;a[L+15>>0]=0;qOa(g,L)}}while(0);f=e+1|0;g=a[e>>0]|0;if(g<<24>>24==34|g<<24>>24!=0^1){i=g;e=g<<24>>24!=0;h=0}else{l=0;while(1){do if(!(Anb(f,524566,4)|0)){i=d[S+8>>0]|d[S+8+1>>0]<<8|d[S+8+2>>0]<<16|d[S+8+3>>0]<<24;if(!i)break;j=d[i+32>>0]|d[i+32+1>>0]<<8|d[i+32+2>>0]<<16|d[i+32+3>>0]<<24;if((j|0)<=-2)break;k=d[S+424>>0]|d[S+424+1>>0]<<8|d[S+424+2>>0]<<16|d[S+424+3>>0]<<24;h=j;g=i;while(1){L=g+28|0;a[L>>0]=k;a[L+1>>0]=k>>8;a[L+2>>0]=k>>16;a[L+3>>0]=k>>24;if((h|0)>-2){L=g+32|0;a[L>>0]=-2;a[L+1>>0]=-2>>8;a[L+2>>0]=-2>>16;a[L+3>>0]=-2>>24}g=d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24;if(!g)break;h=d[g+32>>0]|d[g+32+1>>0]<<8|d[g+32+2>>0]<<16|d[g+32+3>>0]<<24}g=d[i+8>>0]|d[i+8+1>>0]<<8|d[i+8+2>>0]<<16|d[i+8+3>>0]<<24;if(!((j|0)!=-2&(g|0)!=0))break;if((d[g+4>>0]|d[g+4+1>>0]<<8|d[g+4+2>>0]<<16|d[g+4+3>>0]<<24)>>>0>>0)break;g=d[i+4>>0]|d[i+4+1>>0]<<8|d[i+4+2>>0]<<16|d[i+4+3>>0]<<24;if(!g)break;do{q:do if((a[g+8>>0]|0)==1){if((a[g+9>>0]|0)!=74)break;L=g+4|0;if((d[L>>0]|d[L+1>>0]<<8|d[L+2>>0]<<16|d[L+3>>0]<<24)>>>0>>0)break;h=g+13|0;switch(d[h>>0]|0){case 1:case 0:{a[h>>0]=1;break q}case 3:case 2:{a[h>>0]=3;break q}case 5:case 4:{a[h>>0]=5;break q}default:break q}}while(0);g=d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24}while((g|0)!=0)}while(0);if(!(Anb(f,524571,7)|0)){f=d[S+412>>0]|d[S+412+1>>0]<<8|d[S+412+2>>0]<<16|d[S+412+3>>0]<<24;if(!f){f=oOa(S,1279070,0)|0;L=d[S+376>>0]|d[S+376+1>>0]<<8|d[S+376+2>>0]<<16|d[S+376+3>>0]<<24;a[f+20>>0]=L;a[f+20+1>>0]=L>>8;a[f+20+2>>0]=L>>16;a[f+20+3>>0]=L>>24}a[S+412>>0]=f;a[S+412+1>>0]=f>>8;a[S+412+2>>0]=f>>16;a[S+412+3>>0]=f>>24;i=d[S+424>>0]|d[S+424+1>>0]<<8|d[S+424+2>>0]<<16|d[S+424+3>>0]<<24;h=Xpb(1,16)|0;a[h>>0]=0;a[h+1>>0]=0;a[h+2>>0]=0;a[h+3>>0]=0;a[h+4>>0]=i;a[h+4+1>>0]=i>>8;a[h+4+2>>0]=i>>16;a[h+4+3>>0]=i>>24;a[h+8>>0]=1;a[h+9>>0]=80;a[h+10>>0]=0;a[h+10+1>>0]=0;a[h+10+2>>0]=0;a[h+10+3>>0]=0;a[h+14>>0]=a[1274839]|0;a[h+15>>0]=0;qOa(f,h);h=d[S+412>>0]|d[S+412+1>>0]<<8|d[S+412+2>>0]<<16|d[S+412+3>>0]<<24;i=d[S+424>>0]|d[S+424+1>>0]<<8|d[S+424+2>>0]<<16|d[S+424+3>>0]<<24;g=Xpb(1,16)|0;a[g>>0]=0;a[g+1>>0]=0;a[g+2>>0]=0;a[g+3>>0]=0;a[g+4>>0]=i;a[g+4+1>>0]=i>>8;a[g+4+2>>0]=i>>16;a[g+4+3>>0]=i>>24;a[g+8>>0]=1;a[g+9>>0]=88;a[g+10>>0]=0;a[g+10+1>>0]=0;a[g+10+2>>0]=0;a[g+10+3>>0]=0;a[g+14>>0]=a[1274839]|0;a[g+15>>0]=0;qOa(h,g);g=10;h=-1;i=e+8|0}else{h=(cmb(a[f>>0]|0)|0)==0;g=3;h=h?0:l;i=f}do if(!(Anb(i,524579,2)|0)){e=e+g|0;if(!(cmb(a[e>>0]|0)|0))if((a[e>>0]|0)!=34)break;h=1}while(0);f=i+1|0;e=a[i>>0]|0;if(e<<24>>24==34|e<<24>>24!=0^1){i=e;e=e<<24>>24!=0;break}else{l=h;e=i}}}m=Q;D=$;k=Z;o=R;z=P;A=aa;B=ba;C=U;j=T;y=V;x=K;v=M;u=e?ca:5;t=Y;s=X;r=W;q=N;p=O;break}default:ea=1}}}c[b+9776>>2]=m;c[b+9784>>2]=D;c[b+9792>>2]=k;c[b+9800>>2]=o;c[b+11088>>2]=z;c[b+11192>>2]=A;c[b+11264>>2]=B;c[b+11312>>2]=C;c[b+11352>>2]=j;c[b+11576>>2]=y;c[b+11656>>2]=x;c[b+11792>>2]=v;c[b+11952>>2]=u;c[b+12048>>2]=t;c[b+12152>>2]=h;c[b+12224>>2]=s;c[b+12440>>2]=r;c[b+12464>>2]=i;c[b+12576>>2]=q;c[b+12656>>2]=p;c[b+14928>>2]=f;c[b+15992>>2]=da;c[b+16032>>2]=ea}function $Pa(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,jb=0,kb=0,lb=0,mb=0,nb=0,ob=0,pb=0,qb=0,rb=0,sb=0,tb=0,ub=0,vb=0;N=c[b+1312>>2]|0;Y=c[b+2456>>2]|0;Z=c[b+2504>>2]|0;$=c[b+2512>>2]|0;aa=c[b+2568>>2]|0;ba=c[b+2576>>2]|0;ca=c[b+2584>>2]|0;da=c[b+2592>>2]|0;ea=c[b+2600>>2]|0;fa=c[b+2608>>2]|0;ga=c[b+2816>>2]|0;S=c[b+3128>>2]|0;U=c[b+3896>>2]|0;s=c[b+4512>>2]|0;ha=c[b+9720>>2]|0;ia=c[b+9728>>2]|0;I=c[b+9736>>2]|0;ja=c[b+10656>>2]|0;ka=c[b+11064>>2]|0;la=c[b+11072>>2]|0;ma=c[b+11136>>2]|0;na=c[b+11152>>2]|0;J=c[b+11160>>2]|0;oa=c[b+11168>>2]|0;pa=c[b+11216>>2]|0;qa=c[b+11232>>2]|0;K=c[b+11240>>2]|0;ra=c[b+11248>>2]|0;sa=c[b+11288>>2]|0;ta=c[b+11296>>2]|0;ua=c[b+11336>>2]|0;va=c[b+11368>>2]|0;H=c[b+11384>>2]|0;wa=c[b+11392>>2]|0;xa=c[b+11472>>2]|0;ya=c[b+11488>>2]|0;G=c[b+11496>>2]|0;za=c[b+11504>>2]|0;Aa=c[b+11520>>2]|0;Ba=c[b+11536>>2]|0;F=c[b+11552>>2]|0;Ca=c[b+11560>>2]|0;Da=c[b+11600>>2]|0;Ea=c[b+11632>>2]|0;E=c[b+11680>>2]|0;Fa=c[b+11736>>2]|0;Ga=c[b+11752>>2]|0;Ha=c[b+11784>>2]|0;C=c[b+11816>>2]|0;Ia=c[b+11856>>2]|0;Ja=c[b+11896>>2]|0;Ka=c[b+11920>>2]|0;L=c[b+11928>>2]|0;D=c[b+11936>>2]|0;La=c[b+11976>>2]|0;Ma=c[b+12e3>>2]|0;f=c[b+12024>>2]|0;Na=c[b+12032>>2]|0;Oa=c[b+12072>>2]|0;Pa=c[b+12088>>2]|0;z=c[b+12096>>2]|0;Qa=c[b+12104>>2]|0;Ra=c[b+12176>>2]|0;Sa=c[b+12192>>2]|0;A=c[b+12200>>2]|0;Ta=c[b+12208>>2]|0;Ua=c[b+12256>>2]|0;Va=c[b+12272>>2]|0;k=c[b+12280>>2]|0;B=c[b+12288>>2]|0;Wa=c[b+12296>>2]|0;Xa=c[b+12312>>2]|0;Ya=c[b+12336>>2]|0;y=c[b+12344>>2]|0;Za=c[b+12352>>2]|0;_a=c[b+12384>>2]|0;$a=c[b+12400>>2]|0;v=c[b+12416>>2]|0;ab=c[b+12424>>2]|0;bb=c[b+12488>>2]|0;cb=c[b+12496>>2]|0;db=c[b+12520>>2]|0;eb=c[b+12528>>2]|0;fb=c[b+12600>>2]|0;gb=c[b+12608>>2]|0;hb=c[b+14112>>2]|0;ib=c[b+14128>>2]|0;w=c[b+14136>>2]|0;jb=c[b+14144>>2]|0;kb=c[b+14168>>2]|0;lb=c[b+14184>>2]|0;mb=c[b+14208>>2]|0;nb=c[b+14336>>2]|0;ob=c[b+14360>>2]|0;M=c[b+14368>>2]|0;x=c[b+14376>>2]|0;pb=c[b+14384>>2]|0;l=c[b+14424>>2]|0;qb=c[b+14496>>2]|0;p=c[b+14936>>2]|0;e=c[b+14952>>2]|0;rb=c[b+15688>>2]|0;sb=c[b+15704>>2]|0;q=c[b+15712>>2]|0;tb=c[b+15736>>2]|0;ub=c[b+15928>>2]|0;vb=c[b+15944>>2]|0;W=c[b+15992>>2]|0;a:{do{o=1;if(o){o=0;if((W|0)==43){W=0;if(!(pmb(l,522202,2)|0)){ub=N+59804|0;vb=ub+32|0;do{a[ub>>0]=0;ub=ub+1|0}while((ub|0)<(vb|0));e=l+2|0;while(1)if(!(cmb(a[e>>0]|0)|0))break;else e=e+1|0;j=Hpb(e)|0;a[ga+388>>0]=0;a[ga+388+1>>0]=0;a[ga+388+2>>0]=0;a[ga+388+3>>0]=0;a[ga+392>>0]=71;a[ga+392+1>>0]=0;a[ga+392+2>>0]=0;a[ga+392+3>>0]=0;a[ga+396>>0]=45;a[ga+396+1>>0]=0;a[ga+396+2>>0]=0;a[ga+396+3>>0]=0;a[ga+400>>0]=33;a[ga+400+1>>0]=0;a[ga+400+2>>0]=0;a[ga+400+3>>0]=0;a[ga+404>>0]=80;a[ga+404+1>>0]=0;a[ga+404+2>>0]=0;a[ga+404+3>>0]=0;a[ga+408>>0]=80;a[ga+408+1>>0]=0;a[ga+408+2>>0]=0;a[ga+408+3>>0]=0;f=d[ga+8>>0]|d[ga+8+1>>0]<<8|d[ga+8+2>>0]<<16|d[ga+8+3>>0]<<24;if(f|0)do{a[f+36>>0]=0;K=f+12|0;a[K>>0]=0;a[K+1>>0]=0;a[K+2>>0]=0;a[K+3>>0]=0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24}while((f|0)!=0);a[ga+412>>0]=0;a[ga+412+1>>0]=0;a[ga+412+2>>0]=0;a[ga+412+3>>0]=0;a[ga+416>>0]=0;a[ga+416+1>>0]=0;a[ga+416+2>>0]=0;a[ga+416+3>>0]=0;a[ga+420>>0]=0;a[ga+420+1>>0]=0;a[ga+420+2>>0]=0;a[ga+420+3>>0]=0;c[298872]=0;f=c[b+652>>2]|0;if(f|0)Wpb(f);c[b+652>>2]=0;a[ga+376>>0]=0;a[ga+376+1>>0]=0;a[ga+376+2>>0]=0;a[ga+376+3>>0]=0;a[ga+384>>0]=1;a[ga+384+1>>0]=0;a[ga+384+2>>0]=0;a[ga+384+3>>0]=0;a[ga+380>>0]=0;a[ga+380+1>>0]=0;a[ga+380+2>>0]=0;a[ga+380+3>>0]=0;c[298873]=d[ga+424>>0]|d[ga+424+1>>0]<<8|d[ga+424+2>>0]<<16|d[ga+424+3>>0]<<24;a[ga+32>>0]=127;a[ga+33>>0]=125;a[ga+34>>0]=110;a[ga+35>>0]=1;f=1279070;while(1)if(!(cmb(a[f>>0]|0)|0))break;else f=f+1|0;g=a[f>>0]|0;if(g<<24>>24){do if(((g<<24>>24)+-48|0)>>>0<10){i=g<<24>>24;g=0;h=0;do{g=i+-48+(g*10|0)|0;h=h+1|0;i=a[f+h>>0]|0}while((i+-48|0)>>>0<10);g=(h|0)==0?1:g;if((g|0)<0){g=0;f=f+h|0;break}g=(g|0)>127?127:g;f=f+h|0}else g=1;while(0);a[ga+32>>0]=g}while(1)if(!(cmb(a[f>>0]|0)|0))break;else f=f+1|0;g=a[f>>0]|0;if(g<<24>>24){do if(((g<<24>>24)+-48|0)>>>0<10){i=g<<24>>24;g=0;h=0;do{g=i+-48+(g*10|0)|0;h=h+1|0;i=a[f+h>>0]|0}while((i+-48|0)>>>0<10);g=(h|0)==0?1:g;if((g|0)<0){g=0;f=f+h|0;break}g=(g|0)>127?127:g;f=f+h|0}else g=1;while(0);a[ga+33>>0]=g}while(1)if(!(cmb(a[f>>0]|0)|0))break;else f=f+1|0;g=a[f>>0]|0;if(g<<24>>24){do if(((g<<24>>24)+-48|0)>>>0<10){i=g<<24>>24;g=0;h=0;do{g=i+-48+(g*10|0)|0;h=h+1|0;i=a[f+h>>0]|0}while((i+-48|0)>>>0<10);g=(h|0)==0?1:g;if((g|0)<0){g=0;f=f+h|0;break}g=(g|0)>127?127:g;f=f+h|0}else g=1;while(0);a[ga+34>>0]=g}while(1)if(!(cmb(a[f>>0]|0)|0))break;else f=f+1|0;g=a[f>>0]|0;if(!(g<<24>>24))f=a[ga+35>>0]|0;else{do if(((g<<24>>24)+-48|0)>>>0<10){i=g<<24>>24;g=0;h=0;do{g=i+-48+(g*10|0)|0;h=h+1|0;i=a[f+h>>0]|0}while((i+-48|0)>>>0<10);f=(h|0)==0?1:g;if((f|0)<0){f=0;break}f=(f|0)>127?127:f}else f=1;while(0);f=f&255;a[ga+35>>0]=f}if(!(f<<24>>24)){a[ga+35>>0]=1;f=1279070}else f=1279070;while(1)if(!(cmb(a[f>>0]|0)|0))break;else f=f+1|0;g=d[ga+28>>0]|d[ga+28+1>>0]<<8|d[ga+28+2>>0]<<16|d[ga+28+3>>0]<<24;if(g|0)Wpb(g);if(!(a[f>>0]|0))f=0;else f=Pnb(f)|0;a[ga+28>>0]=f;a[ga+28+1>>0]=f>>8;a[ga+28+2>>0]=f>>16;a[ga+28+3>>0]=f>>24;a[ga+36>>0]=0;I=ia;J=na;K=qa;H=0;G=0;F=Ba;E=1;C=Ha;D=2;f=Ma;z=Pa;A=Sa;B=k;y=j;v=$a;w=0;x=ob;q=sb}else{I=ia;J=na;K=qa;H=va;G=ya;F=Ba;E=Ea;C=Ha;D=Ka;f=Ma;z=Pa;A=Sa;B=k;y=Ya;v=$a;w=ib;x=ob;e=l;q=sb}}else o=1}if(o){o=0;if((W|0)==88){W=0;if(!(pmb(l,522318,2)|0)){c[b+16>>2]=b+644;c[b+16+4>>2]=b+640;hob(l+2|0,522321,b+16|0)|0;I=ia;J=na;K=qa;H=va;G=ya;F=Ba;E=Ea;C=Ha;D=2;f=Ma;z=Pa;A=Sa;B=Va;y=Ya;v=$a;w=ib;x=ob;e=l;q=sb;break}if(!(pmb(l,522330,2)|0)){if(!(pmb(l+2|0,522333,4)|0)){c[b+636>>2]=1;c[b+632>>2]=1;I=ia;J=na;K=qa;H=va;G=ya;F=Ba;E=Ea;C=Ha;D=2;f=Ma;z=Pa;A=Sa;B=Va;y=Ya;v=$a;w=ib;x=ob;e=l;q=sb;break}if(!(pmb(l+2|0,522338,2)|0)){c[b+636>>2]=2;c[b+632>>2]=2;I=ia;J=na;K=qa;H=va;G=ya;F=Ba;E=Ea;C=Ha;D=2;f=Ma;z=Pa;A=Sa;B=Va;y=Ya;v=$a;w=ib;x=ob;e=l;q=sb;break}if((a[l+2>>0]|0)==67){c[b+636>>2]=4;c[b+632>>2]=4;I=ia;J=na;K=qa;H=va;G=ya;F=Ba;E=Ea;C=Ha;D=2;f=Ma;z=Pa;A=Sa;B=Va;y=Ya;v=$a;w=ib;x=ob;e=l;q=sb;break}else{I=l+((rOa(l+2|0,b+636|0)|0)+2)|0;c[b+24>>2]=b+632;hob(I,522341,b+24|0)|0;I=ia;J=na;K=qa;H=va;G=ya;F=Ba;E=Ea;C=Ha;D=2;f=Ma;z=Pa;A=Sa;B=Va;y=Ya;v=$a;w=ib;x=ob;e=l;q=sb;break}}if(!(pmb(l,522347,2)|0)){sOa(b+652|0,l+2|0);I=ia;J=na;K=qa;H=va;G=ya;F=Ba;E=Ea;C=Ha;D=2;f=Ma;z=Pa;A=Sa;B=Va;y=Ya;v=$a;w=ib;x=ob;e=l;q=sb;break}if(!(pmb(l,522544,2)|0)){f=tOa(l+2|0,0)|0;e=d[ga+8>>0]|d[ga+8+1>>0]<<8|d[ga+8+2>>0]<<16|d[ga+8+3>>0]<<24;if(e|0){K=d[ga+424>>0]|d[ga+424+1>>0]<<8|d[ga+424+2>>0]<<16|d[ga+424+3>>0]<<24;L=Xpb(1,16)|0;a[L>>0]=0;a[L+1>>0]=0;a[L+2>>0]=0;a[L+3>>0]=0;a[L+4>>0]=K;a[L+4+1>>0]=K>>8;a[L+4+2>>0]=K>>16;a[L+4+3>>0]=K>>24;a[L+8>>0]=1;a[L+9>>0]=80;a[L+10>>0]=0;a[L+10+1>>0]=0;a[L+10+2>>0]=0;a[L+10+3>>0]=0;a[L+14>>0]=a[1274839]|0;a[L+15>>0]=0;qOa(e,L);L=d[ga+8>>0]|d[ga+8+1>>0]<<8|d[ga+8+2>>0]<<16|d[ga+8+3>>0]<<24;K=d[ga+424>>0]|d[ga+424+1>>0]<<8|d[ga+424+2>>0]<<16|d[ga+424+3>>0]<<24;M=Xpb(1,16)|0;a[M>>0]=0;a[M+1>>0]=0;a[M+2>>0]=0;a[M+3>>0]=0;a[M+4>>0]=K;a[M+4+1>>0]=K>>8;a[M+4+2>>0]=K>>16;a[M+4+3>>0]=K>>24;a[M+8>>0]=1;a[M+9>>0]=84;a[M+14>>0]=a[1274839]|0;a[M+15>>0]=0;a[M+10>>0]=f;a[M+10+1>>0]=f>>8;a[M+10+2>>0]=f>>16;a[M+10+3>>0]=f>>24;qOa(L,M)}if(c[N+59652>>2]|0){I=ia;J=na;K=qa;H=va;G=ya;F=Ba;E=Ea;C=Ha;D=2;z=Pa;A=Sa;B=Va;y=Ya;v=$a;w=1;x=ob;e=l;q=sb;break}c[N+59652>>2]=f;I=ia;J=na;K=qa;H=va;G=ya;F=Ba;E=Ea;C=Ha;D=2;z=Pa;A=Sa;B=Va;y=Ya;v=$a;w=1;x=ob;e=l;q=sb;break}if(!(pmb(l,522606,2)|0)){e=Unb(l,37)|0;if(e|0)a[e>>0]=0;e=(rnb(l)|0)+-1|0;if(!(cmb(a[l+e>>0]|0)|0))e=2;else{f=l+e|0;do{a[f>>0]=0;e=e+-1|0;f=l+e|0}while((cmb(a[f>>0]|0)|0)!=0);e=2}while(1){g=l+e|0;if(!(cmb(a[g>>0]|0)|0))break;else e=e+1|0}Bnb(b+1040|0,N+59804|0)|0;f=rnb(b+1040|0)|0;if(((rnb(g)|0)+f|0)>>>0>199)a[l+(e+199-f)>>0]=0;if(a[b+1040>>0]|0){M=b+1040+(rnb(b+1040|0)|0)|0;a[M>>0]=32;a[M+1>>0]=0}Lpb(b+1040|0,g)|0;if((rnb(b+1040|0)|0)>>>0>31)a[b+1040+31>>0]=0;Bnb(N+59804|0,b+1040|0)|0;I=ia;J=na;K=qa;H=va;G=ya;F=Ba;E=Ea;C=Ha;D=2;f=Ma;z=Pa;A=Sa;B=Va;y=Ya;v=$a;w=ib;x=ob;e=l;q=sb;break}if(!(pmb(l,522609,2)|0)){e=l+2|0;while(1)if(!(cmb(a[e>>0]|0)|0))break;else e=e+1|0;if(!(pmb(e,522612,8)|0)){if(cmb(a[e+8>>0]|0)|0){I=ia;J=na;K=qa;H=va;G=1;F=Ba;E=Ea;C=Ha;D=2;f=Ma;z=Pa;A=Sa;B=Va;y=Ya;v=$a;w=ib;x=ob;q=sb;break}if(!(a[e+8>>0]|0)){I=ia;J=na;K=qa;H=va;G=1;F=Ba;E=Ea;C=Ha;D=2;f=Ma;z=Pa;A=Sa;B=Va;y=Ya;v=$a;w=ib;x=ob;q=sb;break}}I=ia;J=na;K=qa;H=va;G=0;F=Ba;E=Ea;C=Ha;D=2;f=Ma;z=Pa;A=Sa;B=Va;y=Ya;v=$a;w=ib;x=ob;q=sb;break}if(!(pmb(l,522621,2)|0)){f=2;while(1){e=l+f|0;if((a[e>>0]|0)==32)f=f+1|0;else break}A=oOa(ga,e,0)|0;a[ga+412>>0]=A;a[ga+412+1>>0]=A>>8;a[ga+412+2>>0]=A>>16;a[ga+412+3>>0]=A>>24;C=(a[A+43>>0]|0)==0;I=ia;J=na;K=qa;H=va;G=ya;F=Ba;E=C&1;C=C?Ha:0;D=2;f=Ma;z=Pa;A=d[A+41>>0]|0;B=Va;y=Ya;v=$a;w=ib;x=ob;e=l;q=sb;break}if(pmb(l,522624,2)|0){I=ia;J=na;K=qa;H=va;G=ya;F=Ba;E=Ea;C=Ha;D=(a[l>>0]|0)==0?1:2;f=Ma;z=Pa;A=Sa;B=Va;y=Ya;v=$a;w=ib;x=ob;e=l;q=sb;break}n=uOa(l+2|0)|0;e=c[45680+(n<<2)>>2]|0;c[b+32>>2]=e;c[b+32+4>>2]=e;rmb(b+732|0,523693,b+32|0)|0;e=l+2|0;while(1)if(!(cmb(a[e>>0]|0)|0))break;else e=e+1|0;f=a[e>>0]|0;b:do if(f<<24>>24)do{if(cmb(f<<24>>24)|0)break b;if((a[e>>0]|0)==93)break b;e=e+1|0;f=a[e>>0]|0}while(f<<24>>24!=0);while(0);while(1)if(!(cmb(a[e>>0]|0)|0))break;else e=e+1|0;f=pOa(e)|0;a[ga+376>>0]=f;a[ga+376+1>>0]=f>>8;a[ga+376+2>>0]=f>>16;a[ga+376+3>>0]=f>>24;a[e>>0]=37;f=c[b+644>>2]|0;if(!f){f=c[b+632>>2]|0;if(!f){c[b+636>>2]=1;c[b+632>>2]=1;g=1;f=1}else g=c[b+636>>2]|0;g=((g*100|0)/(f|0)|0|0)>74?8:16;c[b+640>>2]=g;c[b+644>>2]=1;f=1}else g=c[b+640>>2]|0;m=(f|0)==1&(g|0)==8?ya:0;a[1274839]=32;a[ga+416>>0]=0;a[ga+416+1>>0]=0;a[ga+416+2>>0]=0;a[ga+416+3>>0]=0;a[ga+420>>0]=0;a[ga+420+1>>0]=0;a[ga+420+2>>0]=0;a[ga+420+3>>0]=0;c:do if(!(a[ga+36>>0]|0)){f=c[b+636>>2]|0;g=c[b+632>>2]|0;switch((f<<4)+g|0){case 34:case 68:case 36:{vOa(523698,ga)|0;break c}case 50:case 100:{vOa(523737,ga)|0;break c}case 56:case 52:{vOa(523750,ga)|0;break c}case 104:{vOa(523757,ga)|0;break c}case 152:{vOa(523764,ga)|0;break c}case 200:{vOa(523774,ga)|0;break c}default:{if(!((f|0)%3|0))vOa(523787,ga)|0;else vOa(523815,ga)|0;if((g|0)==8){a[(f<<1)+(ga+36)>>0]=0;break c}else{a[(f<<2)+(ga+36)>>0]=0;break c}}}}while(0);f=c[b+632>>2]|0;if(!f)f=0;else{K=_(_((c[b+636>>2]|0)*3072|0,d[ga+20>>0]|d[ga+20+1>>0]<<8|d[ga+20+2>>0]<<16|d[ga+20+3>>0]<<24)|0,c[298874]|0)|0;f=(K|0)/(_(c[298875]|0,f)|0)|0}a[ga+356>>0]=f;a[ga+356+1>>0]=f>>8;a[ga+356+2>>0]=f>>16;a[ga+356+3>>0]=f>>24;do if((Ma|0)==0|(ib|0)!=0)f=Ma;else{c[298874]=2;c[298875]=1;f=d[ga+8>>0]|d[ga+8+1>>0]<<8|d[ga+8+2>>0]<<16|d[ga+8+3>>0]<<24;if(f|0){I=d[ga+424>>0]|d[ga+424+1>>0]<<8|d[ga+424+2>>0]<<16|d[ga+424+3>>0]<<24;J=Xpb(1,16)|0;a[J>>0]=0;a[J+1>>0]=0;a[J+2>>0]=0;a[J+3>>0]=0;a[J+4>>0]=I;a[J+4+1>>0]=I>>8;a[J+4+2>>0]=I>>16;a[J+4+3>>0]=I>>24;a[J+8>>0]=1;a[J+9>>0]=80;a[J+10>>0]=0;a[J+10+1>>0]=0;a[J+10+2>>0]=0;a[J+10+3>>0]=0;a[J+14>>0]=a[1274839]|0;a[J+15>>0]=0;qOa(f,J);J=d[ga+8>>0]|d[ga+8+1>>0]<<8|d[ga+8+2>>0]<<16|d[ga+8+3>>0]<<24;I=d[ga+424>>0]|d[ga+424+1>>0]<<8|d[ga+424+2>>0]<<16|d[ga+424+3>>0]<<24;K=Xpb(1,16)|0;a[K>>0]=0;a[K+1>>0]=0;a[K+2>>0]=0;a[K+3>>0]=0;a[K+4>>0]=I;a[K+4+1>>0]=I>>8;a[K+4+2>>0]=I>>16;a[K+4+3>>0]=I>>24;a[K+8>>0]=1;a[K+9>>0]=84;a[K+14>>0]=a[1274839]|0;a[K+15>>0]=0;a[K+10>>0]=240;a[K+10+1>>0]=0;a[K+10+2>>0]=0;a[K+10+3>>0]=0;qOa(J,K)}if(c[N+59652>>2]|0){f=0;break}c[N+59652>>2]=240;f=0}while(0);a[b+678>>0]=-1;a[b+678+1>>0]=0;a[b+678+2>>0]=-1;a[b+678+3>>0]=0;a[b+678+4>>0]=-1;a[b+678+5>>0]=0;a[b+678+6>>0]=-1;a[b+678+7>>0]=0;a[b+678+8>>0]=-1;a[b+678+9>>0]=0;a[b+678+10>>0]=-1;a[b+678+11>>0]=0;a[b+678+12>>0]=-1;a[b+678+13>>0]=0;a[b+678+14>>0]=-1;a[b+678+15>>0]=0;a[b+678+16>>0]=-1;a[b+678+17>>0]=0;a[b+678+18>>0]=-1;a[b+678+19>>0]=0;a[b+678+20>>0]=-1;a[b+678+21>>0]=0;a[b+678+22>>0]=-1;a[b+678+23>>0]=0;a[b+678+24>>0]=-1;a[b+678+25>>0]=0;a[b+678+26>>0]=-1;a[b+678+27>>0]=0;a[b+678+28>>0]=-1;a[b+678+29>>0]=0;a[b+678+30>>0]=-1;a[b+678+31>>0]=0;a[b+678+32>>0]=-1;a[b+678+33>>0]=0;a[b+678+34>>0]=-1;a[b+678+35>>0]=0;a[b+678+36>>0]=-1;a[b+678+37>>0]=0;a[b+678+38>>0]=-1;a[b+678+39>>0]=0;a[b+678+40>>0]=-1;a[b+678+41>>0]=0;a[b+678+42>>0]=-1;a[b+678+43>>0]=0;a[b+678+44>>0]=-1;a[b+678+45>>0]=0;a[b+678+46>>0]=-1;a[b+678+47>>0]=0;a[b+678+48>>0]=-1;a[b+678+49>>0]=0;a[b+678+50>>0]=-1;a[b+678+51>>0]=0;a[(b+678+52|0)>>0]=-1;a[(b+678+53|0)>>0]=0;l=d[ga+424>>0]|d[ga+424+1>>0]<<8|d[ga+424+2>>0]<<16|d[ga+424+3>>0]<<24;k=d[ga+20>>0]|d[ga+20+1>>0]<<8|d[ga+20+2>>0]<<16|d[ga+20+3>>0]<<24;g=d[ga+8>>0]|d[ga+8+1>>0]<<8|d[ga+8+2>>0]<<16|d[ga+8+3>>0]<<24;if(!g){a[(b+678+52|0)>>0]=0;a[(b+678+53|0)>>0]=0;I=0;J=0;K=0;H=0;G=m;F=n;E=Ea;C=Ea;D=3;z=0;A=Sa;B=Va;y=Ya;v=$a;w=ib;x=ob;q=0;break}i=d[g+4>>0]|d[g+4+1>>0]<<8|d[g+4+2>>0]<<16|d[g+4+3>>0]<<24;if(!i){a[(b+678+52|0)>>0]=0;a[(b+678+53|0)>>0]=0}else{h=0;do{j=i+4|0;j=d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24;if(j>>>0>l>>>0)break;do if((a[i+8>>0]|0)==1){if((a[i+9>>0]|0)!=80)break;j=j+h|0;if(!((j>>>0)%((k*12288|0)>>>0)|0))break;h=h+(k*12288|0)-(((j+(k*12288|0)|0)>>>0)%((k*12288|0)>>>0)|0)|0}while(0);i=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24}while((i|0)!=0);a[(b+678+52|0)>>0]=((((h+l|0)>>>0)/192|0)>>>6>>>0)/(k>>>0)|0;a[(b+678+53|0)>>0]=0;if(!g){I=0;J=0;K=0;H=0;G=m;F=n;E=Ea;C=Ea;D=3;z=0;A=Sa;B=Va;y=Ya;v=$a;w=ib;x=ob;q=0;break}}do{K=g+28|0;a[K>>0]=l;a[K+1>>0]=l>>8;a[K+2>>0]=l>>16;a[K+3>>0]=l>>24;K=g+32|0;a[K>>0]=0;a[K+1>>0]=0;a[K+2>>0]=0;a[K+3>>0]=0;g=d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24}while((g|0)!=0);I=0;J=0;K=0;H=0;G=m;F=n;E=Ea;C=Ea;D=3;z=0;A=Sa;B=Va;y=Ya;v=$a;w=ib;x=ob;q=0}else o=1}if(o)if((W|0)==218)if(1){W=0;if(!(pmb(p,522621,2)|0)){f=2;while(1){e=p+f|0;if((a[e>>0]|0)==32)f=f+1|0;else break}f=oOa(ga,e,0)|0;a[ga+412>>0]=f;a[ga+412+1>>0]=f>>8;a[ga+412+2>>0]=f>>16;a[ga+412+3>>0]=f>>24;f=c[45680+(Ba<<2)>>2]|0;c[b+56>>2]=f;c[b+56+4>>2]=f;rmb(b+732|0,523693,b+56|0)|0;f=d[ga+412>>0]|d[ga+412+1>>0]<<8|d[ga+412+2>>0]<<16|d[ga+412+3>>0]<<24;e=d[f+8>>0]|d[f+8+1>>0]<<8|d[f+8+2>>0]<<16|d[f+8+3>>0]<<24;if(!e)e=0;else e=d[e+4>>0]|d[e+4+1>>0]<<8|d[e+4+2>>0]<<16|d[e+4+3>>0]<<24;o=c[298873]|0;o=e>>>0>>0?o:e;a[ga+424>>0]=o;a[ga+424+1>>0]=o>>8;a[ga+424+2>>0]=o>>16;a[ga+424+3>>0]=o>>24;n=(a[f+43>>0]|0)==0;a[p>>0]=37;k=0;l=0;m=n&1;n=n?Ha:0}else{k=ia;l=va;m=Ea;n=Ha;o=$a}if(!(pmb(p,522624,2)|0)){e=p+2|0;g=uOa(e)|0;K=c[45680+(g<<2)>>2]|0;c[b+64>>2]=K;c[b+64+4>>2]=K;rmb(b+732|0,523693,b+64|0)|0;while(1)if(!(cmb(a[e>>0]|0)|0))break;else e=e+1|0;f=a[e>>0]|0;d:do if(f<<24>>24)do{if(cmb(f<<24>>24)|0)break d;if((a[e>>0]|0)==93)break d;e=e+1|0;f=a[e>>0]|0}while(f<<24>>24!=0);while(0);while(1)if(!(cmb(a[e>>0]|0)|0))break;else e=e+1|0;j=pOa(e)|0;a[ga+376>>0]=j;a[ga+376+1>>0]=j>>8;a[ga+376+2>>0]=j>>16;a[ga+376+3>>0]=j>>24;a[e>>0]=37;j=g}else{j=Ba;e=p}if(!(pmb(e,522318,2)|0)){c[b+72>>2]=b+644;c[b+72+4>>2]=b+640;hob(e+2|0,522321,b+72|0)|0;a[e>>0]=37}if(!(pmb(e,522330,2)|0)){f=e+2|0;do if(!(pmb(f,522333,4)|0)){c[b+636>>2]=1;c[b+632>>2]=1;t=1;u=1;W=243}else{if(!(pmb(f,522338,2)|0)){c[b+636>>2]=2;c[b+632>>2]=2;t=2;u=2;W=243;break}if((a[f>>0]|0)==67){c[b+636>>2]=4;c[b+632>>2]=4;t=4;u=4;W=243;break}f=e+((rOa(f,b+636|0)|0)+2)|0;c[b+80>>2]=b+632;hob(f,522341,b+80|0)|0;f=c[b+632>>2]|0;if(!f){r=0;break}t=c[b+636>>2]|0;u=f;W=243}while(0);if((W|0)==243){W=0;r=_((d[ga+20>>0]|d[ga+20+1>>0]<<8|d[ga+20+2>>0]<<16|d[ga+20+3>>0]<<24)*3072|0,t)|0;r=_(r,c[298874]|0)|0;r=(r|0)/(_(c[298875]|0,u)|0)|0}a[ga+356>>0]=r;a[ga+356+1>>0]=r>>8;a[ga+356+2>>0]=r>>16;a[ga+356+3>>0]=r>>24;a[e>>0]=37}if(!(pmb(e,522544,2)|0)){g=tOa(e+2|0,s)|0;f=d[ga+8>>0]|d[ga+8+1>>0]<<8|d[ga+8+2>>0]<<16|d[ga+8+3>>0]<<24;if(!f){f=oOa(ga,1279070,0)|0;K=d[ga+376>>0]|d[ga+376+1>>0]<<8|d[ga+376+2>>0]<<16|d[ga+376+3>>0]<<24;a[f+20>>0]=K;a[f+20+1>>0]=K>>8;a[f+20+2>>0]=K>>16;a[f+20+3>>0]=K>>24;a[ga+412>>0]=f;a[ga+412+1>>0]=f>>8;a[ga+412+2>>0]=f>>16;a[ga+412+3>>0]=f>>24;a[f+36>>0]=0;f=d[ga+8>>0]|d[ga+8+1>>0]<<8|d[ga+8+2>>0]<<16|d[ga+8+3>>0]<<24}J=d[ga+424>>0]|d[ga+424+1>>0]<<8|d[ga+424+2>>0]<<16|d[ga+424+3>>0]<<24;K=Xpb(1,16)|0;a[K>>0]=0;a[K+1>>0]=0;a[K+2>>0]=0;a[K+3>>0]=0;a[K+4>>0]=J;a[K+4+1>>0]=J>>8;a[K+4+2>>0]=J>>16;a[K+4+3>>0]=J>>24;a[K+8>>0]=1;a[K+9>>0]=84;a[K+14>>0]=a[1274839]|0;a[K+15>>0]=0;a[K+10>>0]=g;a[K+10+1>>0]=g>>8;a[K+10+2>>0]=g>>16;a[K+10+3>>0]=g>>24;qOa(f,K);a[e>>0]=37}else g=Ma;if(pmb(e,522606,2)|0){I=k;J=na;K=qa;H=l;G=ya;F=j;E=m;C=n;D=L;f=g;z=Pa;A=Sa;B=Va;y=Ya;v=o;w=ib;x=M;q=sb;break}f=Unb(e,37)|0;if(f|0)a[f>>0]=0;h=(rnb(e)|0)+-1|0;f=e+h|0;if(!(cmb(a[f>>0]|0)|0))f=2;else{do{a[f>>0]=0;h=h+-1|0;f=e+h|0}while((cmb(a[f>>0]|0)|0)!=0);f=2}while(1){i=e+f|0;if(!(cmb(a[i>>0]|0)|0))break;else f=f+1|0}Bnb(b+1040|0,N+59804|0)|0;h=rnb(b+1040|0)|0;if(((rnb(i)|0)+h|0)>>>0>198)a[e+(f+198-h)>>0]=0;if(a[b+1040>>0]|0){K=b+1040+(rnb(b+1040|0)|0)|0;a[K>>0]=32;a[K+1>>0]=0}Lpb(b+1040|0,i)|0;if((rnb(b+1040|0)|0)>>>0>31)a[b+1040+31>>0]=0;Bnb(N+59804|0,b+1040|0)|0;a[e>>0]=37;I=k;J=na;K=qa;H=l;G=ya;F=j;E=m;C=n;D=L;f=g;z=Pa;A=Sa;B=Va;y=Ya;v=o;w=ib;x=M;q=sb}}while(0);if(!(pmb(e,523872,2)|0)){do if((D|0)==4){h=E;g=C}else{i=c[ja>>2]|0;e:do if((a[e+((rnb(e)|0)+-1)>>0]|0)==92){g=0;h=e;f:while(1){j=Pnb(h)|0;if(g|0)Wpb(g);g=mOa(ga,i)|0;if(!g){P=j;W=269;break}while(1){h=a[g>>0]|0;g:do if(h<<24>>24)do{if(!(cmb(h<<24>>24)|0))break g;g=g+1|0;h=a[g>>0]|0}while(h<<24>>24!=0);while(0);if(pmb(g,523906,2)|0)break;h=g+2|0;g=a[h>>0]|0;h:do if(g<<24>>24)do{if(!(cmb(g<<24>>24)|0))break h;h=h+1|0;g=a[h>>0]|0}while(g<<24>>24!=0);while(0);do if(!(pmb(h,523909,4)|0)){g=a[h+4>>0]|0;if(g<<24>>24!=61)if(!(cmb(g<<24>>24)|0))break;g=h+5|0;h=a[g>>0]|0;i:do if(h<<24>>24){while(1){if(!(cmb(h<<24>>24)|0))break;g=g+1|0;h=a[g>>0]|0;if(!(h<<24>>24))break i}if((a[g>>0]|0)!=61)break;do{g=g+1|0;h=a[g>>0]|0;if(!(h<<24>>24))break i}while((cmb(h<<24>>24)|0)!=0)}while(0);zOa(ga,g,37)}while(0);g=mOa(ga,i)|0;if(!g){P=j;W=269;break f}}h=rnb(j)|0;h=Vpb((rnb(g)|0)+h|0)|0;if(!h){W=290;break}a[j+((rnb(j)|0)+-1)>>0]=0;Bnb(h,j)|0;Lpb(h,g)|0;Wpb(j);if((a[h+((rnb(h)|0)+-1)>>0]|0)!=92){O=h;break e}else g=h}if((W|0)==269){W=0;if(((rnb(P)|0)+30|0)>>>0<=255){c[b+88>>2]=P;rmb(b+784|0,523875,b+88|0)|0;c[b+96>>2]=b+784;oob(U,521941,b+96|0)|0}O=P;break}else if((W|0)==290){W=0;if(((rnb(j)|0)+22|0)>>>0<=255){c[b+104>>2]=j;rmb(b+784|0,524156,b+104|0)|0;c[b+112>>2]=b+784;oob(U,521941,b+112|0)|0}O=j;break}}else O=e;while(0);kOa(b+784|0,b+1040|0,O+2|0);P=Xpb(1,66)|0;N=Pnb(b+784|0)|0;a[P+4>>0]=N;a[P+4+1>>0]=N>>8;a[P+4+2>>0]=N>>16;a[P+4+3>>0]=N>>24;N=sob(N,110)|0;a[P+12>>0]=N;a[P+12+1>>0]=N>>8;a[P+12+2>>0]=N>>16;a[P+12+3>>0]=N>>24;N=Pnb(b+1040|0)|0;a[P+8>>0]=N;a[P+8+1>>0]=N>>8;a[P+8+2>>0]=N>>16;a[P+8+3>>0]=N>>24;N=d[ga>>0]|d[ga+1>>0]<<8|d[ga+2>>0]<<16|d[ga+3>>0]<<24;a[P>>0]=N;a[P+1>>0]=N>>8;a[P+2>>0]=N>>16;a[P+3>>0]=N>>24;a[ga>>0]=P;a[ga+1>>0]=P>>8;a[ga+2>>0]=P>>16;a[ga+3>>0]=P>>24;if((O|0)==(e|0)){h=E;g=C;break}Wpb(O);g=d[ga+412>>0]|d[ga+412+1>>0]<<8|d[ga+412+2>>0]<<16|d[ga+412+3>>0]<<24;if(!g)g=E;else g=(a[g+43>>0]|0)==0&1;h=g;g=(g|0)==0?0:C}while(0);a[e>>0]=37;o=g}else{h=E;o=C}if(!(pmb(e,524179,2)|0)){jOa(ga,e+2|0);a[e>>0]=37}if(!(pmb(e,524182,2)|0))a[e>>0]=37;if(!(pmb(e,524185,2)|0))a[e>>0]=37;if(!(pmb(e,524188,2)|0)){if(((rnb(e)|0)+45|0)>>>0<=255){c[b+120>>2]=e;rmb(b+784|0,524191,b+120|0)|0;c[b+128>>2]=b+784;oob(U,521941,b+128|0)|0}a[e>>0]=37}if(!(pmb(e,524237,2)|0)){if(((rnb(e)|0)+45|0)>>>0<=255){c[b+136>>2]=e;rmb(b+784|0,524240,b+136|0)|0;c[b+144>>2]=b+784;oob(U,521941,b+144|0)|0}a[e>>0]=37}n=(D|0)!=4;if(n&(pmb(e,524286,2)|0)==0){a[e>>0]=37;a[e+1>>0]=37}do if(!(pmb(e,523906,2)|0)){g=e+2|0;i=a[g>>0]|0;j:do if(i<<24>>24)do{if(!(cmb(i<<24>>24)|0))break j;g=g+1|0;i=a[g>>0]|0}while(i<<24>>24!=0);while(0);k:do if(!(pmb(g,524289,11)|0)){if(!(cmb(a[g+11>>0]|0)|0)){j=lb;break}else i=12;while(1){m=g+i|0;if(!(cmb(a[m>>0]|0)|0))break;else i=i+1|0}if(!(a[m>>0]|0)){if(((rnb(g)|0)+42|0)>>>0<=255){c[b+184>>2]=g;rmb(b+784|0,524378,b+184|0)|0;c[b+192>>2]=b+784;oob(U,521941,b+192|0)|0}j=lb;break}i=lb+1|0;if((i|0)==8){if(((rnb(m)|0)+35|0)>>>0<=255){c[b+152>>2]=m;rmb(b+784|0,524301,b+152|0)|0;c[b+160>>2]=b+784;oob(U,521941,b+160|0)|0}j=lb;break}j=Xnb(m,524337)|0;do if(j|0){lob(j,0,2)|0;k=tpb(j)|0;l=Vpb(k+12|0)|0;if(!l)break;lob(j,0,0)|0;qpb(l+12|0,1,k,j)|0;_nb(j)|0;a[l>>0]=l+12;a[l+1>>0]=l+12>>8;a[l+2>>0]=l+12>>16;a[l+3>>0]=l+12>>24;a[l+4>>0]=k;a[l+4+1>>0]=k>>8;a[l+4+2>>0]=k>>16;a[l+4+3>>0]=k>>24;a[l+8>>0]=0;a[l+8+1>>0]=0;a[l+8+2>>0]=0;a[l+8+3>>0]=0;c[b+600+(i<<2)>>2]=l;j=i;break k}while(0);c[b+600+(i<<2)>>2]=0;if(((rnb(m)|0)+38|0)>>>0<=255){c[b+168>>2]=m;rmb(b+784|0,524339,b+168|0)|0;c[b+176>>2]=b+784;oob(U,521941,b+176|0)|0}j=lb}else j=lb;while(0);do if(!(pmb(g,523909,4)|0)){i=a[g+4>>0]|0;if(i<<24>>24==61){if(!n){i=h;h=o;break}}else if(!(n&(cmb(i<<24>>24)|0)!=0)){i=h;h=o;break}g=g+5|0;i=a[g>>0]|0;l:do if(i<<24>>24){while(1){if(!(cmb(i<<24>>24)|0))break;g=g+1|0;i=a[g>>0]|0;if(!(i<<24>>24))break l}if((a[g>>0]|0)!=61)break;do{g=g+1|0;i=a[g>>0]|0;if(!(i<<24>>24))break l}while((cmb(i<<24>>24)|0)!=0)}while(0);zOa(ga,g,37);i=d[ga+412>>0]|d[ga+412+1>>0]<<8|d[ga+412+2>>0]<<16|d[ga+412+3>>0]<<24;if(i)h=(a[i+43>>0]|0)==0&1;i=h;h=(h|0)==0?0:o}else{i=h;h=o}while(0);if(!(a[g>>0]|0)){n=i;o=h;m=j;break}a[g>>0]=37;n=i;o=h;m=j}else{n=h;m=lb;g=e}while(0);if((D|0)==3){do if((a[g>>0]|0)==80){if((a[g+1>>0]|0)!=58)break;m:do if(c[b+652>>2]|0){h=d[ga+8>>0]|d[ga+8+1>>0]<<8|d[ga+8+2>>0]<<16|d[ga+8+3>>0]<<24;if(!h){h=oOa(ga,1279070,0)|0;S=d[ga+376>>0]|d[ga+376+1>>0]<<8|d[ga+376+2>>0]<<16|d[ga+376+3>>0]<<24;a[h+20>>0]=S;a[h+20+1>>0]=S>>8;a[h+20+2>>0]=S>>16;a[h+20+3>>0]=S>>24;a[ga+412>>0]=h;a[ga+412+1>>0]=h>>8;a[ga+412+2>>0]=h>>16;a[ga+412+3>>0]=h>>24;a[h+36>>0]=0;h=d[ga+8>>0]|d[ga+8+1>>0]<<8|d[ga+8+2>>0]<<16|d[ga+8+3>>0]<<24;if(!h){R=0;Q=0}else{T=h;W=358}}else{T=h;W=358}if((W|0)==358){W=0;h=T+8|0;h=d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24;if(!h)h=0;else h=d[h+4>>0]|d[h+4+1>>0]<<8|d[h+4+2>>0]<<16|d[h+4+3>>0]<<24;Q=c[298873]|0;R=T;Q=h>>>0>>0?Q:h}a[ga+424>>0]=Q;a[ga+424+1>>0]=Q>>8;a[ga+424+2>>0]=Q>>16;a[ga+424+3>>0]=Q>>24;k=Xpb(1,16)|0;a[k>>0]=0;a[k+1>>0]=0;a[k+2>>0]=0;a[k+3>>0]=0;a[k+4>>0]=Q;a[k+4+1>>0]=Q>>8;a[k+4+2>>0]=Q>>16;a[k+4+3>>0]=Q>>24;a[k+8>>0]=1;a[k+9>>0]=80;a[k+10>>0]=0;a[k+10+1>>0]=0;a[k+10+2>>0]=0;a[k+10+3>>0]=0;a[k+14>>0]=a[1274839]|0;a[k+15>>0]=0;qOa(R,k);k=d[ga+424>>0]|d[ga+424+1>>0]<<8|d[ga+424+2>>0]<<16|d[ga+424+3>>0]<<24;l=d[ga+20>>0]|d[ga+20+1>>0]<<8|d[ga+20+2>>0]<<16|d[ga+20+3>>0]<<24;h=d[ga+8>>0]|d[ga+8+1>>0]<<8|d[ga+8+2>>0]<<16|d[ga+8+3>>0]<<24;do if(!h)h=0;else{i=d[h+4>>0]|d[h+4+1>>0]<<8|d[h+4+2>>0]<<16|d[h+4+3>>0]<<24;if(!i){h=0;break}else h=0;do{j=i+4|0;j=d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24;if(j>>>0>k>>>0)break;do if((a[i+8>>0]|0)==1){if((a[i+9>>0]|0)!=80)break;j=j+h|0;if(!((j>>>0)%((l*12288|0)>>>0)|0))break;h=h+(l*12288|0)-(((j+(l*12288|0)|0)>>>0)%((l*12288|0)>>>0)|0)|0}while(0);i=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24}while((i|0)!=0);h=(((h+k|0)>>>0)/192|0)>>>6}while(0);i=(h>>>0)/(l>>>0)|0;h=a[1274839]|0;n:do if(h<<24>>24==32){a[(b+678+53|0)>>0]=i;h=c[b+652>>2]|0;if(!h)break;else i=0;do{if((d[b+678+(i<<1)>>0]|0)<(d[b+678+(i<<1)+1>>0]|0))break n;i=i+1|0}while(i>>>0<26);if((i|0)!=26)break;if(((rnb(h)|0)+27|0)>>>0<=255){c[b+200>>2]=h;rmb(b+784|0,523844,b+200|0)|0;c[b+208>>2]=b+784;oob(U,521941,b+208|0)|0;h=c[b+652>>2]|0}if(h|0)Wpb(h);c[b+652>>2]=0;i=26}else a[b+678+((h<<24>>24)+-65<<1)+1>>0]=i;while(0);o:while(1){h=g+2|0;j=a[h>>0]|0;switch(j<<24>>24){case 32:case 46:break;default:break o}g=g+1|0}do if(!(Vlb(j<<24>>24)|0)){a[1274839]=32;h=i&255}else{j=a[h>>0]|0;a[1274839]=j;h=i&255;if(j<<24>>24==32)break;a[b+678+((j<<24>>24)+-65<<1)>>0]=h;break m}while(0);a[(b+678+52|0)>>0]=h}while(0);a[g>>0]=37}while(0);do if(q|0?1:(d[ga+388>>0]|d[ga+388+1>>0]<<8|d[ga+388+2>>0]<<16|d[ga+388+3>>0]<<24|0)==0){V=q;W=393}else{h=d[ga+8>>0]|d[ga+8+1>>0]<<8|d[ga+8+2>>0]<<16|d[ga+8+3>>0]<<24;if(!h){X=0;break}V=oOa(ga,h+44|0,9)|0;a[V+42>>0]=d[ga+392>>0]|d[ga+392+1>>0]<<8|d[ga+392+2>>0]<<16|d[ga+392+3>>0]<<24;AOa(V,d[ga+424>>0]|d[ga+424+1>>0]<<8|d[ga+424+2>>0]<<16|d[ga+424+3>>0]<<24,d[ga+396>>0]|d[ga+396+1>>0]<<8|d[ga+396+2>>0]<<16|d[ga+396+3>>0]<<24,d[ga+404>>0]|d[ga+404+1>>0]<<8|d[ga+404+2>>0]<<16|d[ga+404+3>>0]<<24);V=oOa(ga,V+44|0,10)|0;a[V+42>>0]=d[ga+392>>0]|d[ga+392+1>>0]<<8|d[ga+392+2>>0]<<16|d[ga+392+3>>0]<<24;AOa(V,d[ga+424>>0]|d[ga+424+1>>0]<<8|d[ga+424+2>>0]<<16|d[ga+424+3>>0]<<24,d[ga+400>>0]|d[ga+400+1>>0]<<8|d[ga+400+2>>0]<<16|d[ga+400+3>>0]<<24,d[ga+408>>0]|d[ga+408+1>>0]<<8|d[ga+408+2>>0]<<16|d[ga+408+3>>0]<<24);W=393}while(0);do if((W|0)==393){W=0;if(!V){X=0;break}if(d[ga+388>>0]|d[ga+388+1>>0]<<8|d[ga+388+2>>0]<<16|d[ga+388+3>>0]<<24|0){X=V;break}V=oOa(ga,V+44|0,9)|0;X=d[ga+424>>0]|d[ga+424+1>>0]<<8|d[ga+424+2>>0]<<16|d[ga+424+3>>0]<<24;U=(wOa(d[V+42>>0]|0)|0)&255;T=Xpb(1,16)|0;a[T>>0]=0;a[T+1>>0]=0;a[T+2>>0]=0;a[T+3>>0]=0;a[T+4>>0]=X;a[T+4+1>>0]=X>>8;a[T+4+2>>0]=X>>16;a[T+4+3>>0]=X>>24;a[T+8>>0]=0;a[T+9>>0]=0;a[T+10>>0]=U;a[T+11>>0]=0;a[T+12>>0]=0;a[T+13>>0]=0;a[T+14>>0]=a[1274839]|0;a[T+15>>0]=0;qOa(V,T);V=oOa(ga,V+44|0,10)|0;T=d[ga+424>>0]|d[ga+424+1>>0]<<8|d[ga+424+2>>0]<<16|d[ga+424+3>>0]<<24;U=(wOa(d[V+42>>0]|0)|0)&255;X=Xpb(1,16)|0;a[X>>0]=0;a[X+1>>0]=0;a[X+2>>0]=0;a[X+3>>0]=0;a[X+4>>0]=T;a[X+4+1>>0]=T>>8;a[X+4+2>>0]=T>>16;a[X+4+3>>0]=T>>24;a[X+8>>0]=0;a[X+9>>0]=0;a[X+10>>0]=U;a[X+11>>0]=0;a[X+12>>0]=0;a[X+13>>0]=0;a[X+14>>0]=a[1274839]|0;a[X+15>>0]=0;qOa(V,X);X=0}while(0);p:do if(!(d[ga+380>>0]|d[ga+380+1>>0]<<8|d[ga+380+2>>0]<<16|d[ga+380+3>>0]<<24))W=405;else{if(d[ga+420>>0]|d[ga+420+1>>0]<<8|d[ga+420+2>>0]<<16|d[ga+420+3>>0]<<24|0)break;h=d[ga+8>>0]|d[ga+8+1>>0]<<8|d[ga+8+2>>0]<<16|d[ga+8+3>>0]<<24;a[ga+420>>0]=h;a[ga+420+1>>0]=h>>8;a[ga+420+2>>0]=h>>16;a[ga+420+3>>0]=h>>24;if(!h)break;j=d[ga+424>>0]|d[ga+424+1>>0]<<8|d[ga+424+2>>0]<<16|d[ga+424+3>>0]<<24;h=oOa(ga,h+44|0,8)|0;i=d[h+8>>0]|d[h+8+1>>0]<<8|d[h+8+2>>0]<<16|d[h+8+3>>0]<<24;do if(i|0){if((d[i+4>>0]|d[i+4+1>>0]<<8|d[i+4+2>>0]<<16|d[i+4+3>>0]<<24|0)==(j|0)){W=405;break p}if((a[i+8>>0]|0)!=1)break;if((a[i+9>>0]|0)!=83)break;a[i+4>>0]=j;a[i+4+1>>0]=j>>8;a[i+4+2>>0]=j>>16;a[i+4+3>>0]=j>>24;W=405;break p}while(0);W=Xpb(1,16)|0;a[W>>0]=0;a[W+1>>0]=0;a[W+2>>0]=0;a[W+3>>0]=0;a[W+4>>0]=j;a[W+4+1>>0]=j>>8;a[W+4+2>>0]=j>>16;a[W+4+3>>0]=j>>24;a[W+8>>0]=1;a[W+9>>0]=83;a[W+10>>0]=0;a[W+10+1>>0]=0;a[W+10+2>>0]=0;a[W+10+3>>0]=0;a[W+14>>0]=a[1274839]|0;a[W+15>>0]=0;qOa(h,W);W=405}while(0);do if((W|0)==405){W=0;if(!(d[ga+420>>0]|d[ga+420+1>>0]<<8|d[ga+420+2>>0]<<16|d[ga+420+3>>0]<<24))break;if(d[ga+380>>0]|d[ga+380+1>>0]<<8|d[ga+380+2>>0]<<16|d[ga+380+3>>0]<<24|0)break;a[ga+420>>0]=0;a[ga+420+1>>0]=0;a[ga+420+2>>0]=0;a[ga+420+3>>0]=0}while(0);S=a[g>>0]|0;switch(S<<24>>24){case 37:case 0:{h=X;break}default:{Y=I;oa=J;ra=K;wa=H;za=G;Ca=F;Fa=n;Ia=o;Na=f;Qa=z;Ta=A;Wa=B;Za=y;ab=v;jb=w;mb=m;pb=x;qb=g;tb=X;c[b+16072>>2]=2;c[b+16076>>2]=16;break a}}}else h=q;g=b+600+(m<<2)|0;ha=mOa(ga,c[g>>2]|0)|0;if(!ha){Z=I;$=g;aa=ba;ca=da;ea=fa;ka=la;ma=J;pa=K;sa=ta;ua=H;xa=G;Aa=F;Da=n;Ga=o;Ja=D;La=f;Oa=z;Ra=A;Ua=B;Xa=y;_a=v;bb=cb;db=eb;fb=gb;hb=w;kb=m;nb=x;rb=h;c[b+16072>>2]=2;c[b+16076>>2]=17;break a}else{ia=I;ja=g;na=J;qa=K;va=H;ya=G;Ba=F;Ea=n;Ha=o;Ka=D;Ma=f;Pa=z;Sa=A;Va=B;Ya=y;$a=v;ib=w;lb=m;ob=x;sb=h}}c[b+2456>>2]=Y;c[b+2504>>2]=Z;c[b+2512>>2]=$;c[b+2568>>2]=aa;c[b+2584>>2]=ca;c[b+2600>>2]=ea;c[b+3128>>2]=S;c[b+9720>>2]=ha;c[b+9728>>2]=ia;c[b+9736>>2]=I;c[b+10656>>2]=ja;c[b+11064>>2]=ka;c[b+11136>>2]=ma;c[b+11152>>2]=na;c[b+11160>>2]=J;c[b+11168>>2]=oa;c[b+11216>>2]=pa;c[b+11232>>2]=qa;c[b+11240>>2]=K;c[b+11248>>2]=ra;c[b+11288>>2]=sa;c[b+11336>>2]=ua;c[b+11368>>2]=va;c[b+11384>>2]=H;c[b+11392>>2]=wa;c[b+11472>>2]=xa;c[b+11488>>2]=ya;c[b+11496>>2]=G;c[b+11504>>2]=za;c[b+11520>>2]=Aa;c[b+11536>>2]=Ba;c[b+11552>>2]=F;c[b+11560>>2]=Ca;c[b+11600>>2]=Da;c[b+11632>>2]=Ea;c[b+11680>>2]=E;c[b+11736>>2]=Fa;c[b+11752>>2]=Ga;c[b+11784>>2]=Ha;c[b+11816>>2]=C;c[b+11856>>2]=Ia;c[b+11896>>2]=Ja;c[b+11920>>2]=Ka;c[b+11936>>2]=D;c[b+11976>>2]=La;c[b+12e3>>2]=Ma;c[b+12024>>2]=f;c[b+12032>>2]=Na;c[b+12072>>2]=Oa;c[b+12088>>2]=Pa;c[b+12096>>2]=z;c[b+12104>>2]=Qa;c[b+12176>>2]=Ra;c[b+12192>>2]=Sa;c[b+12200>>2]=A;c[b+12208>>2]=Ta;c[b+12256>>2]=Ua;c[b+12272>>2]=Va;c[b+12288>>2]=B;c[b+12296>>2]=Wa;c[b+12312>>2]=Xa;c[b+12336>>2]=Ya;c[b+12344>>2]=y;c[b+12352>>2]=Za;c[b+12384>>2]=_a;c[b+12400>>2]=$a;c[b+12416>>2]=v;c[b+12424>>2]=ab;c[b+12488>>2]=bb;c[b+12520>>2]=db;c[b+12600>>2]=fb;c[b+14112>>2]=hb;c[b+14128>>2]=ib;c[b+14136>>2]=w;c[b+14144>>2]=jb;c[b+14168>>2]=kb;c[b+14184>>2]=lb;c[b+14208>>2]=mb;c[b+14336>>2]=nb;c[b+14360>>2]=ob;c[b+14376>>2]=x;c[b+14384>>2]=pb;c[b+14496>>2]=qb;c[b+14952>>2]=e;c[b+15688>>2]=rb;c[b+15704>>2]=sb;c[b+15712>>2]=q;c[b+15736>>2]=tb;c[b+15928>>2]=ub;c[b+15944>>2]=vb;c[b+15992>>2]=W}function aQa(b){b=b|0;var e=0,f=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,v=0,w=0,x=0,y=0,z=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0;M=c[b+2472>>2]|0;N=c[b+2480>>2]|0;O=c[b+2488>>2]|0;P=c[b+2496>>2]|0;L=c[b+2816>>2]|0;l=c[b+3136>>2]|0;i=c[b+3144>>2]|0;m=c[b+3896>>2]|0;Q=c[b+4144>>2]|0;R=c[b+4152>>2]|0;S=c[b+4160>>2]|0;T=c[b+4168>>2]|0;U=c[b+11080>>2]|0;V=c[b+11096>>2]|0;W=c[b+11184>>2]|0;X=c[b+11200>>2]|0;Y=c[b+11256>>2]|0;Z=c[b+11272>>2]|0;$=c[b+11304>>2]|0;aa=c[b+11320>>2]|0;ba=c[b+11360>>2]|0;ca=c[b+11400>>2]|0;h=c[b+11504>>2]|0;da=c[b+11568>>2]|0;ea=c[b+11584>>2]|0;fa=c[b+11616>>2]|0;ga=c[b+11664>>2]|0;ha=c[b+11800>>2]|0;ia=c[b+11864>>2]|0;ja=c[b+11944>>2]|0;ka=c[b+11960>>2]|0;la=c[b+12040>>2]|0;ma=c[b+12056>>2]|0;na=c[b+12112>>2]|0;oa=c[b+12160>>2]|0;pa=c[b+12216>>2]|0;qa=c[b+12232>>2]|0;ra=c[b+12432>>2]|0;sa=c[b+12448>>2]|0;ta=c[b+12472>>2]|0;ua=c[b+12504>>2]|0;va=c[b+12536>>2]|0;wa=c[b+12584>>2]|0;xa=c[b+12616>>2]|0;ya=c[b+12664>>2]|0;za=c[b+14504>>2]|0;Aa=c[b+15104>>2]|0;Ba=c[b+15992>>2]|0;a:{b:do if(!Aa)if(!(Nmb(i<<24>>24)|0)){J=i;I=l;K=0}else{if((a[l>>0]|0)==58){J=i;I=l;K=0;break}f=d[L+4>>0]|d[L+4+1>>0]<<8|d[L+4+2>>0]<<16|d[L+4+3>>0]<<24;if(!f){J=i;I=l;K=0;break}while(1){K=f+4|0;if(i<<24>>24==(a[(d[K>>0]|d[K+1>>0]<<8|d[K+2>>0]<<16|d[K+3>>0]<<24)>>0]|0))break;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;if(!f){J=i;I=l;K=0;break b}}I=d[f+8>>0]|d[f+8+1>>0]<<8|d[f+8+2>>0]<<16|d[f+8+3>>0]<<24;K=a[I>>0]|0;J=K;I=K<<24>>24==0?I:I+1|0;K=l}else{J=i;I=l;K=Aa}while(0);l=J<<24>>24;c:do{f=1;i=l|0;if(f){f=0;switch(i|0){case 37:{e=I;while(1)if(!(a[e>>0]|0)){j=T;G=S;H=R;n=Q;F=U;C=W;D=Y;E=$;k=ca;o=da;p=fa;q=ia;r=ja;s=la;u=0;v=pa;w=ra;x=J;y=va;z=xa;break}else e=e+1|0;break}default:f=1}}c[b+2816>>2]=L;c[b+3896>>2]=m;c[b+4144>>2]=Q;c[b+4152>>2]=R;c[b+4160>>2]=S;c[b+4168>>2]=T;c[b+9776>>2]=j;c[b+9784>>2]=G;c[b+9792>>2]=H;c[b+9800>>2]=n;c[b+11080>>2]=U;c[b+11088>>2]=F;c[b+11184>>2]=W;c[b+11192>>2]=C;c[b+11256>>2]=Y;c[b+11264>>2]=D;c[b+11304>>2]=$;c[b+11312>>2]=E;c[b+11352>>2]=k;c[b+11400>>2]=ca;c[b+11504>>2]=h;c[b+11568>>2]=da;c[b+11576>>2]=o;c[b+11616>>2]=fa;c[b+11656>>2]=p;c[b+11792>>2]=q;c[b+11864>>2]=ia;c[b+11944>>2]=ja;c[b+11952>>2]=r;c[b+12040>>2]=la;c[b+12048>>2]=s;c[b+12152>>2]=u;c[b+12216>>2]=pa;c[b+12224>>2]=v;c[b+12432>>2]=ra;c[b+12440>>2]=w;c[b+12456>>2]=J;c[b+12464>>2]=x;c[b+12536>>2]=va;c[b+12576>>2]=y;c[b+12616>>2]=xa;c[b+12656>>2]=z;c[b+14520>>2]=I;c[b+14928>>2]=e;c[b+15992>>2]=Ba;c[b+16032>>2]=f;c[b+16040>>2]=i;c[b+16064>>2]=0;c[b+16068>>2]=0;_Pa(b);j=c[b+9776>>2]|0;G=c[b+9784>>2]|0;H=c[b+9792>>2]|0;n=c[b+9800>>2]|0;F=c[b+11088>>2]|0;C=c[b+11192>>2]|0;D=c[b+11264>>2]|0;E=c[b+11312>>2]|0;k=c[b+11352>>2]|0;o=c[b+11576>>2]|0;p=c[b+11656>>2]|0;q=c[b+11792>>2]|0;r=c[b+11952>>2]|0;s=c[b+12048>>2]|0;u=c[b+12152>>2]|0;v=c[b+12224>>2]|0;w=c[b+12440>>2]|0;x=c[b+12464>>2]|0;y=c[b+12576>>2]|0;z=c[b+12656>>2]|0;e=c[b+14928>>2]|0;Ba=c[b+15992>>2]|0;f=c[b+16032>>2]|0;A=c[b+16064>>2]|0;t=c[b+16068>>2]|0;B=+g[b+16068>>2];c[b+16064>>2]=0;c[b+16068>>2]=0;if((A|0)==1)break;if((A|0)==2)switch(t|0){case 35:break c}if(f){f=0;switch(i|0){case 92:{e=I;while(1)if(!(a[e>>0]|0)){j=T;G=S;H=R;n=Q;F=U;C=W;D=Y;E=$;k=ca;o=da;p=fa;q=ia;r=ja;s=la;u=na;v=pa;w=ra;x=92;y=va;z=xa;break}else e=e+1|0;break}case 43:case 33:{c[b+2816>>2]=L;c[b+4144>>2]=Q;c[b+4152>>2]=R;c[b+4160>>2]=S;c[b+4168>>2]=T;c[b+9776>>2]=j;c[b+9784>>2]=G;c[b+9792>>2]=H;c[b+9800>>2]=n;c[b+11080>>2]=U;c[b+11088>>2]=F;c[b+11184>>2]=W;c[b+11192>>2]=C;c[b+11256>>2]=Y;c[b+11264>>2]=D;c[b+11304>>2]=$;c[b+11312>>2]=E;c[b+11352>>2]=k;c[b+11400>>2]=ca;c[b+11568>>2]=da;c[b+11576>>2]=o;c[b+11616>>2]=fa;c[b+11656>>2]=p;c[b+11792>>2]=q;c[b+11864>>2]=ia;c[b+11944>>2]=ja;c[b+11952>>2]=r;c[b+12040>>2]=la;c[b+12048>>2]=s;c[b+12112>>2]=na;c[b+12152>>2]=u;c[b+12216>>2]=pa;c[b+12224>>2]=v;c[b+12432>>2]=ra;c[b+12440>>2]=w;c[b+12456>>2]=J;c[b+12464>>2]=x;c[b+12536>>2]=va;c[b+12576>>2]=y;c[b+12616>>2]=xa;c[b+12656>>2]=z;c[b+14520>>2]=I;c[b+14928>>2]=e;c[b+15992>>2]=Ba;c[b+16056>>2]=0;c[b+16060>>2]=0;ZPa(b);j=c[b+9776>>2]|0;G=c[b+9784>>2]|0;H=c[b+9792>>2]|0;n=c[b+9800>>2]|0;F=c[b+11088>>2]|0;C=c[b+11192>>2]|0;D=c[b+11264>>2]|0;E=c[b+11312>>2]|0;k=c[b+11352>>2]|0;o=c[b+11576>>2]|0;p=c[b+11656>>2]|0;q=c[b+11792>>2]|0;r=c[b+11952>>2]|0;s=c[b+12048>>2]|0;u=c[b+12152>>2]|0;v=c[b+12224>>2]|0;w=c[b+12440>>2]|0;x=c[b+12464>>2]|0;y=c[b+12576>>2]|0;z=c[b+12656>>2]|0;e=c[b+14928>>2]|0;Ba=c[b+15992>>2]|0;A=c[b+16056>>2]|0;t=c[b+16060>>2]|0;B=+g[b+16060>>2];c[b+16056>>2]=0;c[b+16060>>2]=0;if((A|0)==1)break;if((A|0)==2)switch(t|0){case 30:break c}}default:f=1}}if(f){f=0;switch(i|0){case 46:case 96:{j=T;G=S;H=R;n=Q;F=U;C=W;D=Y;E=$;k=ca;o=da;p=fa;q=ia;r=ja;s=la;u=na;v=pa;w=ra;x=J;y=va;z=xa;e=I;break}default:f=1}}if(f)switch(i|0){default:{if(omb(524770,l,19)|0){e=d[L+412>>0]|d[L+412+1>>0]<<8|d[L+412+2>>0]<<16|d[L+412+3>>0]<<24;if(!e){e=oOa(L,1279070,0)|0;H=d[L+376>>0]|d[L+376+1>>0]<<8|d[L+376+2>>0]<<16|d[L+376+3>>0]<<24;a[e+20>>0]=H;a[e+20+1>>0]=H>>8;a[e+20+2>>0]=H>>16;a[e+20+3>>0]=H>>24}a[L+412>>0]=e;a[L+412+1>>0]=e>>8;a[L+412+2>>0]=e>>16;a[L+412+3>>0]=e>>24;f=a[e+36>>0]|0;e=d[L+8>>0]|d[L+8+1>>0]<<8|d[L+8+2>>0]<<16|d[L+8+3>>0]<<24;if(e|0)do{if((a[e+36>>0]|0)==f<<24>>24)a[e+38>>0]=a[e+37>>0]|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24}while((e|0)!=0);j=d[L+424>>0]|d[L+424+1>>0]<<8|d[L+424+2>>0]<<16|d[L+424+3>>0]<<24;e=c[b+632>>2]|0;if(!e)e=0;else{H=_((d[L+20>>0]|d[L+20+1>>0]<<8|d[L+20+2>>0]<<16|d[L+20+3>>0]<<24)*3072|0,c[298874]|0)|0;e=(H|0)/(_(c[298875]|0,e)|0)|0}f=((j-ra|0)>>>0)/(e>>>0)|0;i=d[L+28>>0]|d[L+28+1>>0]<<8|d[L+28+2>>0]<<16|d[L+28+3>>0]<<24;d:do if(!i){if((f|0)%(d[L+35>>0]|0)|0|0){e=d[L+34>>0]|0;break}if(!f){e=d[L+32>>0]|0;break}else{e=d[L+33>>0]|0;break}}else{e=d[L+34>>0]|0;if((rnb(i)|0)<=(f|0)){e=((e*9|0)>>>0)/10|0;break}switch(a[i+f>>0]|0){case 102:{e=d[L+32>>0]|0;break d}case 109:{e=d[L+33>>0]|0;break d}case 112:break d;default:{e=((e*9|0)>>>0)/10|0;break d}}}while(0);n=BOa(L,l,I,j,b+732|0,(_(e,pa)|0)/128|0,W,Y)|0;C=(Y|0)==255?W:0;e=a[I+n>>0]|0;if((e+-48|0)>>>0<10){f=0;i=0;do{f=e+-48+(f*10|0)|0;i=i+1|0;e=a[I+(i+n)>>0]|0}while((e+-48|0)>>>0<10);e=f}else{e=0;i=0}m=(i|0)==0?1:e;e=a[I+(i+n)>>0]|0;if(e<<24>>24==47){f=1;e=i;while(1){f=f<<1;i=e+1|0;e=a[I+(i+n)>>0]|0;if(e<<24>>24==47)e=i;else break}}else f=1;e=e<<24>>24;if((e+-48|0)>>>0<10){j=0;k=0;do{j=e+-48+(j*10|0)|0;k=k+1|0;l=k+i|0;e=a[I+(l+n)>>0]|0}while((e+-48|0)>>>0<10);e=(k|0)==0?1:j;f=(f|0)/2|0;i=l}else e=1;j=_(f,e)|0;f=i+n|0;e=I+f|0;do if((a[e>>0]|0)==45){e=I+(f+1)|0;f=d[L+412>>0]|d[L+412+1>>0]<<8|d[L+412+2>>0]<<16|d[L+412+3>>0]<<24;i=d[f+8>>0]|d[f+8+1>>0]<<8|d[f+8+2>>0]<<16|d[f+8+3>>0]<<24;if(!i)break;if((a[i+8>>0]|0)==1)break;a[f+16>>0]=i;a[f+16+1>>0]=i>>8;a[f+16+2>>0]=i>>16;a[f+16+3>>0]=i>>24}while(0);if(!Q){n=0;i=m;f=j}else{n=Q+-1|0;i=_(m,R)|0;f=_(j,S)|0}while(1)if(!(cmb(a[e>>0]|0)|0))break;else e=e+1|0;switch(T|0){case 60:{h=0;i=i*3|0;f=f<<1;break}case 62:{h=0;f=f<<1;break}default:{}}e:do switch(a[e>>0]|0){case 62:{h=1;f=f<<1;i=i*3|0;l=62;break}case 60:{h=1;f=f<<1;l=60;break}default:{if(!((i|0)==1&(h|0)!=0)){h=0;l=0;break e}l=(f|0)==1;h=0;f=l?2:f;i=l?3:1;l=l?62:0}}while(0);e=e+h|0;f=_(c[b+640>>2]|0,f)|0;if(!f)f=0;else{I=_(_(_(i*3072|0,c[b+644>>2]|0)|0,d[L+20>>0]|d[L+20+1>>0]<<8|d[L+20+2>>0]<<16|d[L+20+3>>0]<<24)|0,c[298874]|0)|0;f=(I|0)/(_(c[298875]|0,f)|0)|0}f=f<<(($|0)!=0&1);if(f>>>0>ca>>>0){k=d[L+20>>0]|d[L+20+1>>0]<<8|d[L+20+2>>0]<<16|d[L+20+3>>0]<<24;m=0;j=f-ca|0}else{j=d[L+20>>0]|d[L+20+1>>0]<<8|d[L+20+2>>0]<<16|d[L+20+3>>0]<<24;k=j;m=ca-f+(j*192|0)|0;j=j*192|0}f=(d[L+424>>0]|d[L+424+1>>0]<<8|d[L+424+2>>0]<<16|d[L+424+3>>0]<<24)+j|0;a[L+424>>0]=f;a[L+424+1>>0]=f>>8;a[L+424+2>>0]=f>>16;a[L+424+3>>0]=f>>24;h=d[L+412>>0]|d[L+412+1>>0]<<8|d[L+412+2>>0]<<16|d[L+412+3>>0]<<24;i=a[h+42>>0]|0;if(j>>>0>(k*192|0)>>>0){G=f-ia+(ua<<24>>24==46?0-(j>>>1)|0:0)|0;H=(wOa(i&255)|0)&255;I=Xpb(1,16)|0;a[I>>0]=0;a[I+1>>0]=0;a[I+2>>0]=0;a[I+3>>0]=0;a[I+4>>0]=G;a[I+4+1>>0]=G>>8;a[I+4+2>>0]=G>>16;a[I+4+3>>0]=G>>24;a[I+8>>0]=0;a[I+9>>0]=0;a[I+10>>0]=H;a[I+11>>0]=0;a[I+12>>0]=0;a[I+13>>0]=0;a[I+14>>0]=a[1274839]|0;a[I+15>>0]=0;qOa(h,I)}else{H=(wOa(i&255)|0)&255;I=Xpb(1,16)|0;a[I>>0]=0;a[I+1>>0]=0;a[I+2>>0]=0;a[I+3>>0]=0;a[I+4>>0]=f;a[I+4+1>>0]=f>>8;a[I+4+2>>0]=f>>16;a[I+4+3>>0]=f>>24;a[I+8>>0]=0;a[I+9>>0]=0;a[I+10>>0]=H;a[I+11>>0]=0;a[I+12>>0]=0;a[I+13>>0]=0;a[I+14>>0]=a[1274839]|0;a[I+15>>0]=0;qOa(h,I)}f=d[L+412>>0]|d[L+412+1>>0]<<8|d[L+412+2>>0]<<16|d[L+412+3>>0]<<24;h=d[L+424>>0]|d[L+424+1>>0]<<8|d[L+424+2>>0]<<16|d[L+424+3>>0]<<24;i=d[f+8>>0]|d[f+8+1>>0]<<8|d[f+8+2>>0]<<16|d[f+8+3>>0]<<24;do if(!i)Ba=1033;else{if((d[i+4>>0]|d[i+4+1>>0]<<8|d[i+4+2>>0]<<16|d[i+4+3>>0]<<24|0)==(h|0))break;if((a[i+8>>0]|0)!=1){Ba=1033;break}if((a[i+9>>0]|0)!=83){Ba=1033;break}a[i+4>>0]=h;a[i+4+1>>0]=h>>8;a[i+4+2>>0]=h>>16;a[i+4+3>>0]=h>>24}while(0);if((Ba|0)==1033){Ba=0;I=Xpb(1,16)|0;a[I>>0]=0;a[I+1>>0]=0;a[I+2>>0]=0;a[I+3>>0]=0;a[I+4>>0]=h;a[I+4+1>>0]=h>>8;a[I+4+2>>0]=h>>16;a[I+4+3>>0]=h>>24;a[I+8>>0]=1;a[I+9>>0]=83;a[I+10>>0]=0;a[I+10+1>>0]=0;a[I+10+2>>0]=0;a[I+10+3>>0]=0;a[I+14>>0]=a[1274839]|0;a[I+15>>0]=0;qOa(f,I)}do if(d[L+384>>0]|d[L+384+1>>0]<<8|d[L+384+2>>0]<<16|d[L+384+3>>0]<<24|0){if((d[L+412>>0]|d[L+412+1>>0]<<8|d[L+412+2>>0]<<16|d[L+412+3>>0]<<24|0)!=(d[L+416>>0]|d[L+416+1>>0]<<8|d[L+416+2>>0]<<16|d[L+416+3>>0]<<24|0))break;COa(L,d[L+424>>0]|d[L+424+1>>0]<<8|d[L+424+2>>0]<<16|d[L+424+3>>0]<<24,ra)}while(0);if(!(d[L+380>>0]|d[L+380+1>>0]<<8|d[L+380+2>>0]<<16|d[L+380+3>>0]<<24)){j=l;G=S;H=R;F=0;D=Y;E=0;k=m;o=da;p=fa;q=ia;r=ja;s=la;u=na;v=pa;w=ra;x=J;y=va;z=xa;break c}if((d[L+412>>0]|d[L+412+1>>0]<<8|d[L+412+2>>0]<<16|d[L+412+3>>0]<<24|0)!=(d[L+420>>0]|d[L+420+1>>0]<<8|d[L+420+2>>0]<<16|d[L+420+3>>0]<<24|0)){j=l;G=S;H=R;F=0;D=Y;E=0;k=m;o=da;p=fa;q=ia;r=ja;s=la;u=na;v=pa;w=ra;x=J;y=va;z=xa;break c}DOa(L,d[L+424>>0]|d[L+424+1>>0]<<8|d[L+424+2>>0]<<16|d[L+424+3>>0]<<24,ra);j=l;G=S;H=R;F=0;D=Y;E=0;k=m;o=da;p=fa;q=ia;r=ja;s=la;u=na;v=pa;w=ra;x=J;y=va;z=xa;break c}if(!(omb(524789,l,3)|0)){if(!(omb(524792,l,2)|0)){if(!(Nmb(l)|0)){j=T;G=S;H=R;n=Q;F=U;C=W;D=Y;E=$;k=ca;o=da;p=fa;q=ia;r=ja;s=la;u=na;v=pa;w=ra;x=J;y=va;z=xa;e=I;break c}if((a[I>>0]|0)==58)e=I;else{j=T;G=S;H=R;n=Q;F=U;C=W;D=Y;E=$;k=ca;o=da;p=fa;q=ia;r=ja;s=la;u=na;v=pa;w=ra;x=J;y=va;z=xa;e=I;break c}while(1){e=e+1|0;if(!(a[e>>0]|0)){j=T;G=S;H=R;n=Q;F=U;C=W;D=Y;E=$;k=ca;o=da;p=fa;q=ia;r=ja;s=la;u=na;v=pa;w=ra;x=J;y=va;z=xa;break c}}}e=d[L+412>>0]|d[L+412+1>>0]<<8|d[L+412+2>>0]<<16|d[L+412+3>>0]<<24;if(!e){e=oOa(L,1279070,0)|0;H=d[L+376>>0]|d[L+376+1>>0]<<8|d[L+376+2>>0]<<16|d[L+376+3>>0]<<24;a[e+20>>0]=H;a[e+20+1>>0]=H>>8;a[e+20+2>>0]=H>>16;a[e+20+3>>0]=H>>24}a[L+412>>0]=e;a[L+412+1>>0]=e>>8;a[L+412+2>>0]=e>>16;a[L+412+3>>0]=e>>24;f=a[e+36>>0]|0;e=d[L+8>>0]|d[L+8+1>>0]<<8|d[L+8+2>>0]<<16|d[L+8+3>>0]<<24;if(e|0)do{if((a[e+36>>0]|0)==f<<24>>24){H=e+16|0;a[H>>0]=0;a[H+1>>0]=0;a[H+2>>0]=0;a[H+3>>0]=0}e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24}while((e|0)!=0);e=a[I>>0]|0;if(((e<<24>>24)+-48|0)>>>0<10){h=e<<24>>24;e=0;f=0;while(1){i=h+-48+(e*10|0)|0;f=f+1|0;e=a[I+f>>0]|0;h=e<<24>>24;if((h+-48|0)>>>0>=10)break;else e=i}}else{i=0;f=0}m=(f|0)==0;if(e<<24>>24==47){e=1;while(1){h=e<<1;f=f+1|0;e=a[I+f>>0]|0;if(e<<24>>24==47)e=h;else break}}else h=1;e=e<<24>>24;if((e+-48|0)>>>0<10){j=0;k=0;do{j=e+-48+(j*10|0)|0;k=k+1|0;l=k+f|0;e=a[I+l>>0]|0}while((e+-48|0)>>>0<10);e=(k|0)==0?1:j;h=(h|0)/2|0;f=l}else e=1;H=_(h,e)|0;e=I+f|0;f=_(H,c[b+632>>2]|0)|0;if(!f)f=0;else{I=_(_(_(m?3072:i*3072|0,c[b+636>>2]|0)|0,d[L+20>>0]|d[L+20+1>>0]<<8|d[L+20+2>>0]<<16|d[L+20+3>>0]<<24)|0,c[298874]|0)|0;f=(I|0)/(_(c[298875]|0,f)|0)|0}f=f<<(($|0)!=0&1);if(f>>>0>ca>>>0){k=0;f=f-ca|0}else{I=(d[L+20>>0]|d[L+20+1>>0]<<8|d[L+20+2>>0]<<16|d[L+20+3>>0]<<24)*192|0;k=ca-f+I|0;f=I}f=(d[L+424>>0]|d[L+424+1>>0]<<8|d[L+424+2>>0]<<16|d[L+424+3>>0]<<24)+f|0;a[L+424>>0]=f;a[L+424+1>>0]=f>>8;a[L+424+2>>0]=f>>16;a[L+424+3>>0]=f>>24;f=c[45680+(da<<2)>>2]|0;c[b+296>>2]=f;c[b+296+4>>2]=f;rmb(b+732|0,523693,b+296|0)|0;f=d[L+412>>0]|d[L+412+1>>0]<<8|d[L+412+2>>0]<<16|d[L+412+3>>0]<<24;h=d[L+424>>0]|d[L+424+1>>0]<<8|d[L+424+2>>0]<<16|d[L+424+3>>0]<<24;i=d[f+8>>0]|d[f+8+1>>0]<<8|d[f+8+2>>0]<<16|d[f+8+3>>0]<<24;do if(!i)Ba=1107;else{if((d[i+4>>0]|d[i+4+1>>0]<<8|d[i+4+2>>0]<<16|d[i+4+3>>0]<<24|0)==(h|0))break;if((a[i+8>>0]|0)!=1){Ba=1107;break}if((a[i+9>>0]|0)!=83){Ba=1107;break}a[i+4>>0]=h;a[i+4+1>>0]=h>>8;a[i+4+2>>0]=h>>16;a[i+4+3>>0]=h>>24}while(0);if((Ba|0)==1107){Ba=0;I=Xpb(1,16)|0;a[I>>0]=0;a[I+1>>0]=0;a[I+2>>0]=0;a[I+3>>0]=0;a[I+4>>0]=h;a[I+4+1>>0]=h>>8;a[I+4+2>>0]=h>>16;a[I+4+3>>0]=h>>24;a[I+8>>0]=1;a[I+9>>0]=83;a[I+10>>0]=0;a[I+10+1>>0]=0;a[I+10+2>>0]=0;a[I+10+3>>0]=0;a[I+14>>0]=a[1274839]|0;a[I+15>>0]=0;qOa(f,I)}do if(d[L+384>>0]|d[L+384+1>>0]<<8|d[L+384+2>>0]<<16|d[L+384+3>>0]<<24|0){if((d[L+412>>0]|d[L+412+1>>0]<<8|d[L+412+2>>0]<<16|d[L+412+3>>0]<<24|0)!=(d[L+416>>0]|d[L+416+1>>0]<<8|d[L+416+2>>0]<<16|d[L+416+3>>0]<<24|0))break;COa(L,d[L+424>>0]|d[L+424+1>>0]<<8|d[L+424+2>>0]<<16|d[L+424+3>>0]<<24,ra)}while(0);if(!(d[L+380>>0]|d[L+380+1>>0]<<8|d[L+380+2>>0]<<16|d[L+380+3>>0]<<24)){j=T;G=S;H=R;n=Q;F=0;C=W;D=Y;E=0;o=da;p=fa;q=ia;r=ja;s=la;u=na;v=pa;w=ra;x=J;y=va;z=xa;break c}if((d[L+412>>0]|d[L+412+1>>0]<<8|d[L+412+2>>0]<<16|d[L+412+3>>0]<<24|0)!=(d[L+420>>0]|d[L+420+1>>0]<<8|d[L+420+2>>0]<<16|d[L+420+3>>0]<<24|0)){j=T;G=S;H=R;n=Q;F=0;C=W;D=Y;E=0;o=da;p=fa;q=ia;r=ja;s=la;u=na;v=pa;w=ra;x=J;y=va;z=xa;break c}DOa(L,d[L+424>>0]|d[L+424+1>>0]<<8|d[L+424+2>>0]<<16|d[L+424+3>>0]<<24,ra);j=T;G=S;H=R;n=Q;F=0;C=W;D=Y;E=0;o=da;p=fa;q=ia;r=ja;s=la;u=na;v=pa;w=ra;x=J;y=va;z=xa;break c}e=d[L+412>>0]|d[L+412+1>>0]<<8|d[L+412+2>>0]<<16|d[L+412+3>>0]<<24;if(!e){e=oOa(L,1279070,0)|0;H=d[L+376>>0]|d[L+376+1>>0]<<8|d[L+376+2>>0]<<16|d[L+376+3>>0]<<24;a[e+20>>0]=H;a[e+20+1>>0]=H>>8;a[e+20+2>>0]=H>>16;a[e+20+3>>0]=H>>24}a[L+412>>0]=e;a[L+412+1>>0]=e>>8;a[L+412+2>>0]=e>>16;a[L+412+3>>0]=e>>24;f=a[e+36>>0]|0;e=d[L+8>>0]|d[L+8+1>>0]<<8|d[L+8+2>>0]<<16|d[L+8+3>>0]<<24;if(e|0)do{if((a[e+36>>0]|0)==f<<24>>24){H=e+16|0;a[H>>0]=0;a[H+1>>0]=0;a[H+2>>0]=0;a[H+3>>0]=0}e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24}while((e|0)!=0);e=a[I>>0]|0;if(((e<<24>>24)+-48|0)>>>0<10){i=e<<24>>24;f=0;e=0;while(1){f=i+-48+(f*10|0)|0;j=e+1|0;e=a[I+j>>0]|0;i=e<<24>>24;if((i+-48|0)>>>0>=10)break;else e=j}}else{f=0;j=0}i=(j|0)==0?1:f;if(e<<24>>24==47){f=1;e=j;while(1){f=f<<1;j=e+1|0;e=a[I+j>>0]|0;if(e<<24>>24==47)e=j;else break}}else f=1;e=e<<24>>24;if((e+-48|0)>>>0<10){k=0;l=0;do{k=e+-48+(k*10|0)|0;l=l+1|0;m=l+j|0;e=a[I+m>>0]|0}while((e+-48|0)>>>0<10);e=(l|0)==0?1:k;f=(f|0)/2|0;j=m}else e=1;f=_(f,e)|0;if(!Q)l=0;else{l=Q+-1|0;i=_(i,R)|0;f=_(f,S)|0}e=I+j|0;while(1)if(!(cmb(a[e>>0]|0)|0))break;else e=e+1|0;switch(T|0){case 60:{h=0;i=i*3|0;f=f<<1;break}case 62:{h=0;f=f<<1;break}default:{}}f:do switch(a[e>>0]|0){case 62:{h=1;f=f<<1;i=i*3|0;j=62;break}case 60:{h=1;f=f<<1;j=60;break}default:{if(!((i|0)==1&(h|0)!=0)){h=0;j=0;break f}j=(f|0)==1;h=0;f=j?2:f;i=j?3:1;j=j?62:0}}while(0);e=e+h|0;f=_(c[b+640>>2]|0,f)|0;if(!f)f=0;else{I=_(_(_(i*3072|0,c[b+644>>2]|0)|0,d[L+20>>0]|d[L+20+1>>0]<<8|d[L+20+2>>0]<<16|d[L+20+3>>0]<<24)|0,c[298874]|0)|0;f=(I|0)/(_(c[298875]|0,f)|0)|0}f=f<<(($|0)!=0&1);if(f>>>0>ca>>>0){k=0;f=f-ca|0}else{I=(d[L+20>>0]|d[L+20+1>>0]<<8|d[L+20+2>>0]<<16|d[L+20+3>>0]<<24)*192|0;k=ca-f+I|0;f=I}f=(d[L+424>>0]|d[L+424+1>>0]<<8|d[L+424+2>>0]<<16|d[L+424+3>>0]<<24)+f|0;a[L+424>>0]=f;a[L+424+1>>0]=f>>8;a[L+424+2>>0]=f>>16;a[L+424+3>>0]=f>>24;h=d[L+412>>0]|d[L+412+1>>0]<<8|d[L+412+2>>0]<<16|d[L+412+3>>0]<<24;i=d[h+8>>0]|d[h+8+1>>0]<<8|d[h+8+2>>0]<<16|d[h+8+3>>0]<<24;do if(!i)Ba=1076;else{if((d[i+4>>0]|d[i+4+1>>0]<<8|d[i+4+2>>0]<<16|d[i+4+3>>0]<<24|0)==(f|0))break;if((a[i+8>>0]|0)!=1){Ba=1076;break}if((a[i+9>>0]|0)!=83){Ba=1076;break}a[i+4>>0]=f;a[i+4+1>>0]=f>>8;a[i+4+2>>0]=f>>16;a[i+4+3>>0]=f>>24}while(0);if((Ba|0)==1076){Ba=0;I=Xpb(1,16)|0;a[I>>0]=0;a[I+1>>0]=0;a[I+2>>0]=0;a[I+3>>0]=0;a[I+4>>0]=f;a[I+4+1>>0]=f>>8;a[I+4+2>>0]=f>>16;a[I+4+3>>0]=f>>24;a[I+8>>0]=1;a[I+9>>0]=83;a[I+10>>0]=0;a[I+10+1>>0]=0;a[I+10+2>>0]=0;a[I+10+3>>0]=0;a[I+14>>0]=a[1274839]|0;a[I+15>>0]=0;qOa(h,I)}do if(d[L+384>>0]|d[L+384+1>>0]<<8|d[L+384+2>>0]<<16|d[L+384+3>>0]<<24|0){if((d[L+412>>0]|d[L+412+1>>0]<<8|d[L+412+2>>0]<<16|d[L+412+3>>0]<<24|0)!=(d[L+416>>0]|d[L+416+1>>0]<<8|d[L+416+2>>0]<<16|d[L+416+3>>0]<<24|0))break;COa(L,d[L+424>>0]|d[L+424+1>>0]<<8|d[L+424+2>>0]<<16|d[L+424+3>>0]<<24,ra)}while(0);if(!(d[L+380>>0]|d[L+380+1>>0]<<8|d[L+380+2>>0]<<16|d[L+380+3>>0]<<24)){G=S;H=R;n=l;F=0;C=W;D=Y;E=0;o=da;p=fa;q=ia;r=ja;s=la;u=na;v=pa;w=ra;x=J;y=va;z=xa;break c}if((d[L+412>>0]|d[L+412+1>>0]<<8|d[L+412+2>>0]<<16|d[L+412+3>>0]<<24|0)!=(d[L+420>>0]|d[L+420+1>>0]<<8|d[L+420+2>>0]<<16|d[L+420+3>>0]<<24|0)){G=S;H=R;n=l;F=0;C=W;D=Y;E=0;o=da;p=fa;q=ia;r=ja;s=la;u=na;v=pa;w=ra;x=J;y=va;z=xa;break c}DOa(L,d[L+424>>0]|d[L+424+1>>0]<<8|d[L+424+2>>0]<<16|d[L+424+3>>0]<<24,ra);G=S;H=R;n=l;F=0;C=W;D=Y;E=0;o=da;p=fa;q=ia;r=ja;s=la;u=na;v=pa;w=ra;x=J;y=va;z=xa}}}while(0);if(!K)f=0;else{f=(a[e>>0]|0)==0;e=f?K:e;f=f?0:K}i=a[e>>0]|0;if(!(i<<24>>24)){M=j;N=G;O=H;P=n;V=F;X=C;Z=D;aa=E;ba=k;ea=o;ga=p;ha=q;ka=r;ma=s;oa=u;qa=v;sa=w;ta=x;wa=y;ya=z;c[b+16080>>2]=1;break a}else{Q=n;R=H;S=G;T=j;U=F;W=C;Y=D;$=E;ca=k;da=o;fa=p;ia=q;ja=r;la=s;na=u;pa=v;ra=w;ua=x;va=y;xa=z;za=e;Aa=f}}c[b+2472>>2]=M;c[b+2480>>2]=N;c[b+2488>>2]=O;c[b+2496>>2]=P;c[b+3144>>2]=i;c[b+4144>>2]=Q;c[b+4152>>2]=R;c[b+4160>>2]=S;c[b+4168>>2]=T;c[b+11080>>2]=U;c[b+11096>>2]=V;c[b+11184>>2]=W;c[b+11200>>2]=X;c[b+11256>>2]=Y;c[b+11272>>2]=Z;c[b+11304>>2]=$;c[b+11320>>2]=aa;c[b+11360>>2]=ba;c[b+11400>>2]=ca;c[b+11568>>2]=da;c[b+11584>>2]=ea;c[b+11616>>2]=fa;c[b+11664>>2]=ga;c[b+11800>>2]=ha;c[b+11864>>2]=ia;c[b+11944>>2]=ja;c[b+11960>>2]=ka;c[b+12040>>2]=la;c[b+12056>>2]=ma;c[b+12112>>2]=na;c[b+12160>>2]=oa;c[b+12216>>2]=pa;c[b+12232>>2]=qa;c[b+12432>>2]=ra;c[b+12448>>2]=sa;c[b+12472>>2]=ta;c[b+12504>>2]=ua;c[b+12536>>2]=va;c[b+12584>>2]=wa;c[b+12616>>2]=xa;c[b+12664>>2]=ya;c[b+14504>>2]=za;c[b+15104>>2]=Aa;c[b+15992>>2]=Ba}function bQa(b){b=b|0;var e=0,f=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,v=0,w=0,x=0,y=0,z=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,jb=0,kb=0,lb=0,mb=0,nb=0,ob=0,pb=0,qb=0,rb=0,sb=0,tb=0,ub=0,vb=0,wb=0,xb=0,yb=0,zb=0,Ab=0,Bb=0,Cb=0,Db=0,Eb=0,Fb=0,Gb=0,Hb=0,Ib=0,Jb=0,Kb=0,Lb=0,Mb=0,Nb=0,Ob=0,Pb=0,Qb=0,Rb=0,Sb=0,Tb=0,Ub=0,Vb=0,Wb=0,Xb=0,Yb=0,Zb=0,_b=0,$b=0,ac=0,bc=0,cc=0,dc=0,ec=0,fc=0,gc=0,hc=0,ic=0,jc=0,kc=0,lc=0,mc=0,nc=0,oc=0,pc=0,qc=0;Ob=c[b+1312>>2]|0;Pb=c[b+2816>>2]|0;Ib=c[b+3896>>2]|0;Qb=c[b+9672>>2]|0;Rb=c[b+9680>>2]|0;Sb=c[b+9688>>2]|0;Tb=c[b+9696>>2]|0;Ub=c[b+11056>>2]|0;Vb=c[b+11128>>2]|0;Wb=c[b+11208>>2]|0;Xb=c[b+11280>>2]|0;Yb=c[b+11328>>2]|0;Zb=c[b+11456>>2]|0;_b=c[b+11512>>2]|0;$b=c[b+11592>>2]|0;ac=c[b+11744>>2]|0;bc=c[b+11888>>2]|0;cc=c[b+11968>>2]|0;dc=c[b+12064>>2]|0;ec=c[b+12168>>2]|0;fc=c[b+12248>>2]|0;gc=c[b+12304>>2]|0;kb=c[b+12368>>2]|0;hc=c[b+12376>>2]|0;ic=c[b+12480>>2]|0;jc=c[b+12512>>2]|0;kc=c[b+12592>>2]|0;lc=c[b+14104>>2]|0;mc=c[b+14160>>2]|0;nc=c[b+14328>>2]|0;oc=c[b+15672>>2]|0;pc=c[b+15928>>2]|0;qc=c[b+15944>>2]|0;Mb=c[b+15992>>2]|0;a:{while(1){k=mc+-1|0;j=mOa(Pb,c[b+600+(k<<2)>>2]|0)|0;b:{e=1;if(e){e=0;if(!j){fa=Tb;ga=b+600+(k<<2)|0;ha=Sb;ia=Rb;ja=Qb;oa=Ub;qa=Vb;ua=Wb;ya=Xb;Aa=Yb;Ea=Zb;Ha=_b;La=$b;Pa=ac;h=bc;Hb=cc;Ya=dc;ab=ec;eb=fc;f=gc;lb=hc;qb=ic;rb=jc;tb=kc;vb=lc;yb=k;m=nc;Eb=oc}else e=1}if(e)if(1){o=Tb;E=Sb;G=Rb;H=Qb;p=b+600+(k<<2)|0;z=Ub;q=Vb;r=Wb;n=Xb;s=Yb;u=Zb;v=_b;w=$b;x=ac;y=bc;C=cc;D=dc;F=ec;I=fc;J=gc;K=hc;$=ic;l=jc;e=kc;L=lc;M=nc;N=oc;while(1){Z=$<<24>>24==92&1;Y=o;X=p;W=q;V=r;U=w;Q=L;P=M;c:while(1){o=j;while(1){p=o+1|0;if(!(cmb(a[o>>0]|0)|0)){O=o;break}else o=p}L=1;M=y|0;if(L){L=0;switch(M|0){case 4:{if(!(pmb(O,522202,2)|0)){o=I+1|0;if((I|0)==(kb|0)){fb=o;Mb=43}else{ma=Y;ra=W;va=V;Ca=s;Fa=u;Ia=v;Na=U;Ra=x;Ta=4;Va=C;Za=D;bb=F;gb=o;ib=J;mb=K;wb=Q;Ab=P;Db=O;Fb=N}}else{fb=I;Mb=43}break}case 1:{fb=I;Mb=43;break}case 0:{if(!(a[O>>0]|0)){ma=Y;ra=W;va=V;Ca=s;Fa=u;Ia=v;Na=U;Ra=x;Ta=0;Va=C;Za=D;bb=F;gb=I;ib=J;mb=K;wb=Q;Ab=P;Db=O;Fb=N}else if((a[p>>0]|0)==58){o=c[b+652>>2]|0;if(o|0)Wpb(o);c[b+652>>2]=0;a[Pb+36>>0]=0;d:do if(d[Pb+380>>0]|d[Pb+380+1>>0]<<8|d[Pb+380+2>>0]<<16|d[Pb+380+3>>0]<<24|0){o=d[Pb+420>>0]|d[Pb+420+1>>0]<<8|d[Pb+420+2>>0]<<16|d[Pb+420+3>>0]<<24;if(!o)break;q=d[Pb+424>>0]|d[Pb+424+1>>0]<<8|d[Pb+424+2>>0]<<16|d[Pb+424+3>>0]<<24;o=oOa(Pb,o+44|0,8)|0;p=d[o+8>>0]|d[o+8+1>>0]<<8|d[o+8+2>>0]<<16|d[o+8+3>>0]<<24;do if(p|0){if((d[p+4>>0]|d[p+4+1>>0]<<8|d[p+4+2>>0]<<16|d[p+4+3>>0]<<24|0)==(q|0))break d;if((a[p+8>>0]|0)!=1)break;if((a[p+9>>0]|0)!=83)break;a[p+4>>0]=q;a[p+4+1>>0]=q>>8;a[p+4+2>>0]=q>>16;a[p+4+3>>0]=q>>24;break d}while(0);w=Xpb(1,16)|0;a[w>>0]=0;a[w+1>>0]=0;a[w+2>>0]=0;a[w+3>>0]=0;a[w+4>>0]=q;a[w+4+1>>0]=q>>8;a[w+4+2>>0]=q>>16;a[w+4+3>>0]=q>>24;a[w+8>>0]=1;a[w+9>>0]=83;a[w+10>>0]=0;a[w+10+1>>0]=0;a[w+10+2>>0]=0;a[w+10+3>>0]=0;a[w+14>>0]=a[1274839]|0;a[w+15>>0]=0;qOa(o,w)}while(0);o=d[Pb+416>>0]|d[Pb+416+1>>0]<<8|d[Pb+416+2>>0]<<16|d[Pb+416+3>>0]<<24;do if(o|0){if(d[Pb+384>>0]|d[Pb+384+1>>0]<<8|d[Pb+384+2>>0]<<16|d[Pb+384+3>>0]<<24|0)break;p=d[Pb+424>>0]|d[Pb+424+1>>0]<<8|d[Pb+424+2>>0]<<16|d[Pb+424+3>>0]<<24;w=1;do{q=oOa(Pb,o+44|0,w)|0;r=d[q+8>>0]|d[q+8+1>>0]<<8|d[q+8+2>>0]<<16|d[q+8+3>>0]<<24;do if(!r)Mb=85;else{if((d[r+4>>0]|d[r+4+1>>0]<<8|d[r+4+2>>0]<<16|d[r+4+3>>0]<<24|0)==(p|0))break;if((a[r+8>>0]|0)!=1){Mb=85;break}if((a[r+9>>0]|0)!=83){Mb=85;break}a[r+4>>0]=p;a[r+4+1>>0]=p>>8;a[r+4+2>>0]=p>>16;a[r+4+3>>0]=p>>24}while(0);if((Mb|0)==85){Mb=0;r=Xpb(1,16)|0;a[r>>0]=0;a[r+1>>0]=0;a[r+2>>0]=0;a[r+3>>0]=0;a[r+4>>0]=p;a[r+4+1>>0]=p>>8;a[r+4+2>>0]=p>>16;a[r+4+3>>0]=p>>24;a[r+8>>0]=1;a[r+9>>0]=83;a[r+10>>0]=0;a[r+10+1>>0]=0;a[r+10+2>>0]=0;a[r+10+3>>0]=0;a[r+14>>0]=a[1274839]|0;a[r+15>>0]=0;qOa(q,r)}w=w+1|0}while((w|0)!=8)}while(0);a[Pb+384>>0]=1;a[Pb+384+1>>0]=0;a[Pb+384+2>>0]=0;a[Pb+384+3>>0]=0;a[Pb+380>>0]=0;a[Pb+380+1>>0]=0;a[Pb+380+2>>0]=0;a[Pb+380+3>>0]=0;Mb=88}else{ma=Y;ra=W;va=V;Ca=s;Fa=u;Ia=v;Na=U;Ra=x;Ta=0;Va=C;Za=D;bb=F;gb=I;ib=J;mb=K;wb=Q;Ab=P;Db=O;Fb=N}break}case 2:{Mb=88;break}case 5:{p=O;while(1){o=a[p>>0]|0;if(o<<24>>24!=34&(o<<24>>24==0^1))p=p+1|0;else break}if(!(o<<24>>24)){ma=Y;ra=W;va=V;Ca=s;Fa=u;Ia=v;Na=U;Ra=x;Ta=5;Va=C;Za=D;bb=F;gb=I;ib=J;mb=K;wb=Q;Ab=P;Db=p;Fb=N}else{R=3;S=P;T=p;Mb=218}break}default:L=1}}if(L)switch(M|0){case 3:{if(!(a[O>>0]|0)){o=d[Pb+8>>0]|d[Pb+8+1>>0]<<8|d[Pb+8+2>>0]<<16|d[Pb+8+3>>0]<<24;if(!o){R=3;S=P;T=O;Mb=218}else{M=d[Pb+12>>0]|d[Pb+12+1>>0]<<8|d[Pb+12+2>>0]<<16|d[Pb+12+3>>0]<<24|0?4:1;a[Pb+424>>0]=0;a[Pb+424+1>>0]=0;a[Pb+424+2>>0]=0;a[Pb+424+3>>0]=0;q=0;r=o;while(1){p=r+8|0;p=d[p>>0]|d[p+1>>0]<<8|d[p+2>>0]<<16|d[p+3>>0]<<24;do if(!p)p=q;else{p=d[p+4>>0]|d[p+4+1>>0]<<8|d[p+4+2>>0]<<16|d[p+4+3>>0]<<24;if(p>>>0<=q>>>0){p=q;break}a[Pb+424>>0]=p;a[Pb+424+1>>0]=p>>8;a[Pb+424+2>>0]=p>>16;a[Pb+424+3>>0]=p>>24}while(0);r=d[r>>0]|d[r+1>>0]<<8|d[r+2>>0]<<16|d[r+3>>0]<<24;if(!r)break;else q=p}while(1){T=(wOa(d[o+42>>0]|0)|0)&255;Mb=Xpb(1,16)|0;a[Mb>>0]=0;a[Mb+1>>0]=0;a[Mb+2>>0]=0;a[Mb+3>>0]=0;a[Mb+4>>0]=p;a[Mb+4+1>>0]=p>>8;a[Mb+4+2>>0]=p>>16;a[Mb+4+3>>0]=p>>24;a[Mb+8>>0]=0;a[Mb+9>>0]=0;a[Mb+10>>0]=T;a[Mb+11>>0]=0;a[Mb+12>>0]=0;a[Mb+13>>0]=0;a[Mb+14>>0]=a[1274839]|0;a[Mb+15>>0]=0;qOa(o,Mb);o=d[o>>0]|d[o+1>>0]<<8|d[o+2>>0]<<16|d[o+3>>0]<<24;if(!o)break;p=d[Pb+424>>0]|d[Pb+424+1>>0]<<8|d[Pb+424+2>>0]<<16|d[Pb+424+3>>0]<<24}L=d[Pb+8>>0]|d[Pb+8+1>>0]<<8|d[Pb+8+2>>0]<<16|d[Pb+8+3>>0]<<24;r=d[Pb+424>>0]|d[Pb+424+1>>0]<<8|d[Pb+424+2>>0]<<16|d[Pb+424+3>>0]<<24;w=Xpb(1,16)|0;a[w>>0]=0;a[w+1>>0]=0;a[w+2>>0]=0;a[w+3>>0]=0;a[w+4>>0]=r;a[w+4+1>>0]=r>>8;a[w+4+2>>0]=r>>16;a[w+4+3>>0]=r>>24;a[w+8>>0]=1;a[w+9>>0]=80;a[w+10>>0]=0;a[w+10+1>>0]=0;a[w+10+2>>0]=0;a[w+10+3>>0]=0;a[w+14>>0]=a[1274839]|0;a[w+15>>0]=0;qOa(L,w);w=d[Pb+424>>0]|d[Pb+424+1>>0]<<8|d[Pb+424+2>>0]<<16|d[Pb+424+3>>0]<<24;L=d[Pb+20>>0]|d[Pb+20+1>>0]<<8|d[Pb+20+2>>0]<<16|d[Pb+20+3>>0]<<24;r=d[Pb+8>>0]|d[Pb+8+1>>0]<<8|d[Pb+8+2>>0]<<16|d[Pb+8+3>>0]<<24;do if(!r){q=0;o=0}else{p=d[r+4>>0]|d[r+4+1>>0]<<8|d[r+4+2>>0]<<16|d[r+4+3>>0]<<24;if(!p)o=0;else{o=0;do{q=p+4|0;q=d[q>>0]|d[q+1>>0]<<8|d[q+2>>0]<<16|d[q+3>>0]<<24;if(q>>>0>w>>>0)break;do if((a[p+8>>0]|0)==1){if((a[p+9>>0]|0)!=80)break;q=q+o|0;if(!((q>>>0)%((L*12288|0)>>>0)|0))break;o=o+(L*12288|0)-(((q+(L*12288|0)|0)>>>0)%((L*12288|0)>>>0)|0)|0}while(0);p=d[p>>0]|d[p+1>>0]<<8|d[p+2>>0]<<16|d[p+3>>0]<<24}while((p|0)!=0);o=((((o+w|0)>>>0)/192|0)>>>6>>>0)/(L>>>0)|0;if(!r){q=0;break}}q=d[r+4>>0]|d[r+4+1>>0]<<8|d[r+4+2>>0]<<16|d[r+4+3>>0]<<24;if(!q){q=0;break}else p=0;do{r=q+4|0;r=d[r>>0]|d[r+1>>0]<<8|d[r+2>>0]<<16|d[r+3>>0]<<24;if(r>>>0>w>>>0)break;do if((a[q+8>>0]|0)==1){if((a[q+9>>0]|0)!=80)break;r=r+p|0;if(!((r>>>0)%((L*12288|0)>>>0)|0))break;p=p+(L*12288|0)-(((r+(L*12288|0)|0)>>>0)%((L*12288|0)>>>0)|0)|0}while(0);q=d[q>>0]|d[q+1>>0]<<8|d[q+2>>0]<<16|d[q+3>>0]<<24}while((q|0)!=0);q=p+w|0}while(0);p=a[1274839]|0;o=(((q>>>0)%((L*12288|0)>>>0)|0|0)!=0&1)+o&255;e:do if(p<<24>>24==32){a[(b+678+53|0)>>0]=o;o=c[b+652>>2]|0;if(!o){Mb=216;break}else p=0;do{if((d[b+678+(p<<1)>>0]|0)<(d[b+678+(p<<1)+1>>0]|0)){ka=o;Mb=215;break e}p=p+1|0}while(p>>>0<26);if((p|0)!=26){ka=o;Mb=215;break}if(((rnb(o)|0)+27|0)>>>0<=255){c[b+40>>2]=o;rmb(b+784|0,523844,b+40|0)|0;c[b+48>>2]=b+784;oob(Ib,521941,b+48|0)|0;o=c[b+652>>2]|0}if(o|0)Wpb(o);c[b+652>>2]=0;Mb=216}else{a[b+678+((p<<24>>24)+-65<<1)+1>>0]=o;ka=c[b+652>>2]|0;Mb=215}while(0);if((Mb|0)==215){Mb=0;if(!ka)Mb=216;else na=ka}if((Mb|0)==216){xOa(Pb,b+652|0,b+678|0);na=c[b+652>>2]|0}R=M;S=yOa(b+678|0,na,b+648|0,P)|0;T=O;Mb=218}}else{R=3;S=P;T=O;Mb=218}break}default:{ma=Y;ra=W;va=V;Ca=s;Fa=u;Ia=v;Na=U;Ra=x;Ta=y;Va=C;Za=D;bb=F;gb=I;ib=J;mb=K;wb=Q;Ab=P;Db=O;Fb=N}}c[b+1312>>2]=Ob;c[b+2456>>2]=aa;c[b+2504>>2]=fa;c[b+2512>>2]=ga;c[b+2568>>2]=ha;c[b+2576>>2]=E;c[b+2584>>2]=ia;c[b+2592>>2]=G;c[b+2600>>2]=ja;c[b+2608>>2]=H;c[b+2816>>2]=Pb;c[b+3128>>2]=la;c[b+3896>>2]=Ib;c[b+4512>>2]=Z;c[b+9720>>2]=j;c[b+9728>>2]=Y;c[b+9736>>2]=ma;c[b+10656>>2]=X;c[b+11064>>2]=oa;c[b+11072>>2]=z;c[b+11136>>2]=qa;c[b+11152>>2]=W;c[b+11160>>2]=ra;c[b+11168>>2]=sa;c[b+11216>>2]=ua;c[b+11232>>2]=V;c[b+11240>>2]=va;c[b+11248>>2]=wa;c[b+11288>>2]=ya;c[b+11296>>2]=n;c[b+11336>>2]=Aa;c[b+11368>>2]=s;c[b+11384>>2]=Ca;c[b+11392>>2]=Da;c[b+11472>>2]=Ea;c[b+11488>>2]=u;c[b+11496>>2]=Fa;c[b+11504>>2]=Ga;c[b+11520>>2]=Ha;c[b+11536>>2]=v;c[b+11552>>2]=Ia;c[b+11560>>2]=Ja;c[b+11600>>2]=La;c[b+11632>>2]=U;c[b+11680>>2]=Na;c[b+11736>>2]=Oa;c[b+11752>>2]=Pa;c[b+11784>>2]=x;c[b+11816>>2]=Ra;c[b+11856>>2]=Sa;c[b+11896>>2]=h;c[b+11920>>2]=y;c[b+11928>>2]=R;c[b+11936>>2]=Ta;c[b+11976>>2]=Hb;c[b+12e3>>2]=C;c[b+12024>>2]=Va;c[b+12032>>2]=Wa;c[b+12072>>2]=Ya;c[b+12088>>2]=D;c[b+12096>>2]=Za;c[b+12104>>2]=_a;c[b+12176>>2]=ab;c[b+12192>>2]=F;c[b+12200>>2]=bb;c[b+12208>>2]=cb;c[b+12256>>2]=eb;c[b+12272>>2]=I;c[b+12280>>2]=fb;c[b+12288>>2]=gb;c[b+12296>>2]=hb;c[b+12312>>2]=f;c[b+12336>>2]=J;c[b+12344>>2]=ib;c[b+12352>>2]=jb;c[b+12384>>2]=lb;c[b+12400>>2]=K;c[b+12416>>2]=mb;c[b+12424>>2]=nb;c[b+12488>>2]=qb;c[b+12496>>2]=$;c[b+12520>>2]=rb;c[b+12528>>2]=l;c[b+12600>>2]=tb;c[b+12608>>2]=e;c[b+14112>>2]=vb;c[b+14128>>2]=Q;c[b+14136>>2]=wb;c[b+14144>>2]=xb;c[b+14168>>2]=yb;c[b+14184>>2]=k;c[b+14208>>2]=zb;c[b+14336>>2]=m;c[b+14360>>2]=P;c[b+14368>>2]=S;c[b+14376>>2]=Ab;c[b+14384>>2]=Bb;c[b+14424>>2]=O;c[b+14496>>2]=Cb;c[b+14936>>2]=T;c[b+14952>>2]=Db;c[b+15688>>2]=Eb;c[b+15704>>2]=N;c[b+15712>>2]=Fb;c[b+15736>>2]=Gb;c[b+15928>>2]=pc;c[b+15944>>2]=qc;c[b+15992>>2]=Mb;c[b+16072>>2]=0;c[b+16076>>2]=0;$Pa(b);aa=c[b+2456>>2]|0;fa=c[b+2504>>2]|0;ga=c[b+2512>>2]|0;ha=c[b+2568>>2]|0;ia=c[b+2584>>2]|0;ja=c[b+2600>>2]|0;la=c[b+3128>>2]|0;j=c[b+9720>>2]|0;Y=c[b+9728>>2]|0;ma=c[b+9736>>2]|0;X=c[b+10656>>2]|0;oa=c[b+11064>>2]|0;qa=c[b+11136>>2]|0;W=c[b+11152>>2]|0;ra=c[b+11160>>2]|0;sa=c[b+11168>>2]|0;ua=c[b+11216>>2]|0;V=c[b+11232>>2]|0;va=c[b+11240>>2]|0;wa=c[b+11248>>2]|0;ya=c[b+11288>>2]|0;Aa=c[b+11336>>2]|0;s=c[b+11368>>2]|0;Ca=c[b+11384>>2]|0;Da=c[b+11392>>2]|0;Ea=c[b+11472>>2]|0;u=c[b+11488>>2]|0;Fa=c[b+11496>>2]|0;Ga=c[b+11504>>2]|0;Ha=c[b+11520>>2]|0;v=c[b+11536>>2]|0;Ia=c[b+11552>>2]|0;Ja=c[b+11560>>2]|0;La=c[b+11600>>2]|0;U=c[b+11632>>2]|0;Na=c[b+11680>>2]|0;Oa=c[b+11736>>2]|0;Pa=c[b+11752>>2]|0;x=c[b+11784>>2]|0;Ra=c[b+11816>>2]|0;Sa=c[b+11856>>2]|0;h=c[b+11896>>2]|0;y=c[b+11920>>2]|0;Ta=c[b+11936>>2]|0;Hb=c[b+11976>>2]|0;C=c[b+12e3>>2]|0;Va=c[b+12024>>2]|0;Wa=c[b+12032>>2]|0;Ya=c[b+12072>>2]|0;D=c[b+12088>>2]|0;Za=c[b+12096>>2]|0;_a=c[b+12104>>2]|0;ab=c[b+12176>>2]|0;F=c[b+12192>>2]|0;bb=c[b+12200>>2]|0;cb=c[b+12208>>2]|0;eb=c[b+12256>>2]|0;I=c[b+12272>>2]|0;gb=c[b+12288>>2]|0;hb=c[b+12296>>2]|0;f=c[b+12312>>2]|0;J=c[b+12336>>2]|0;ib=c[b+12344>>2]|0;jb=c[b+12352>>2]|0;lb=c[b+12384>>2]|0;K=c[b+12400>>2]|0;mb=c[b+12416>>2]|0;nb=c[b+12424>>2]|0;qb=c[b+12488>>2]|0;rb=c[b+12520>>2]|0;tb=c[b+12600>>2]|0;vb=c[b+14112>>2]|0;Q=c[b+14128>>2]|0;wb=c[b+14136>>2]|0;xb=c[b+14144>>2]|0;yb=c[b+14168>>2]|0;k=c[b+14184>>2]|0;zb=c[b+14208>>2]|0;m=c[b+14336>>2]|0;P=c[b+14360>>2]|0;Ab=c[b+14376>>2]|0;Bb=c[b+14384>>2]|0;Cb=c[b+14496>>2]|0;Db=c[b+14952>>2]|0;Eb=c[b+15688>>2]|0;N=c[b+15704>>2]|0;Fb=c[b+15712>>2]|0;Gb=c[b+15736>>2]|0;pc=c[b+15928>>2]|0;qc=c[b+15944>>2]|0;Mb=c[b+15992>>2]|0;A=c[b+16072>>2]|0;t=c[b+16076>>2]|0;B=+g[b+16076>>2];c[b+16072>>2]=0;c[b+16076>>2]=0;if((A|0)==1)break;if((A|0)==2)switch(t|0){case 16:break c;case 17:break b}}I=la;F=aa;C=sa;D=wa;o=Da;p=Ja;q=Oa;r=Sa;s=3;u=Wa;v=_a;w=cb;x=nb;y=32;j=Cb;k=0;while(1){$=j+1|0;c[b+2472>>2]=ba;c[b+2480>>2]=ca;c[b+2488>>2]=da;c[b+2496>>2]=ea;c[b+2816>>2]=Pb;c[b+3136>>2]=$;c[b+3144>>2]=I;c[b+3896>>2]=Ib;c[b+4144>>2]=H;c[b+4152>>2]=G;c[b+4160>>2]=E;c[b+4168>>2]=F;c[b+11080>>2]=z;c[b+11096>>2]=pa;c[b+11184>>2]=C;c[b+11200>>2]=ta;c[b+11256>>2]=D;c[b+11272>>2]=xa;c[b+11304>>2]=n;c[b+11320>>2]=za;c[b+11360>>2]=Ba;c[b+11400>>2]=o;c[b+11504>>2]=Ga;c[b+11568>>2]=p;c[b+11584>>2]=Ka;c[b+11616>>2]=q;c[b+11664>>2]=Ma;c[b+11800>>2]=Qa;c[b+11864>>2]=r;c[b+11944>>2]=s;c[b+11960>>2]=Ua;c[b+12040>>2]=u;c[b+12056>>2]=Xa;c[b+12112>>2]=v;c[b+12160>>2]=$a;c[b+12216>>2]=w;c[b+12232>>2]=db;c[b+12432>>2]=x;c[b+12448>>2]=ob;c[b+12472>>2]=pb;c[b+12504>>2]=y;c[b+12536>>2]=l;c[b+12584>>2]=sb;c[b+12616>>2]=e;c[b+12664>>2]=ub;c[b+14504>>2]=j;c[b+15104>>2]=k;c[b+15992>>2]=Mb;c[b+16080>>2]=0;c[b+16084>>2]=0;aQa(b);ba=c[b+2472>>2]|0;ca=c[b+2480>>2]|0;da=c[b+2488>>2]|0;ea=c[b+2496>>2]|0;I=c[b+3144>>2]|0;H=c[b+4144>>2]|0;G=c[b+4152>>2]|0;E=c[b+4160>>2]|0;F=c[b+4168>>2]|0;z=c[b+11080>>2]|0;pa=c[b+11096>>2]|0;C=c[b+11184>>2]|0;ta=c[b+11200>>2]|0;D=c[b+11256>>2]|0;xa=c[b+11272>>2]|0;n=c[b+11304>>2]|0;za=c[b+11320>>2]|0;Ba=c[b+11360>>2]|0;o=c[b+11400>>2]|0;p=c[b+11568>>2]|0;Ka=c[b+11584>>2]|0;q=c[b+11616>>2]|0;Ma=c[b+11664>>2]|0;Qa=c[b+11800>>2]|0;r=c[b+11864>>2]|0;s=c[b+11944>>2]|0;Ua=c[b+11960>>2]|0;u=c[b+12040>>2]|0;Xa=c[b+12056>>2]|0;v=c[b+12112>>2]|0;$a=c[b+12160>>2]|0;w=c[b+12216>>2]|0;db=c[b+12232>>2]|0;x=c[b+12432>>2]|0;ob=c[b+12448>>2]|0;pb=c[b+12472>>2]|0;y=c[b+12504>>2]|0;l=c[b+12536>>2]|0;sb=c[b+12584>>2]|0;e=c[b+12616>>2]|0;ub=c[b+12664>>2]|0;j=c[b+14504>>2]|0;k=c[b+15104>>2]|0;Mb=c[b+15992>>2]|0;A=c[b+16080>>2]|0;t=c[b+16084>>2]|0;B=+g[b+16084>>2];c[b+16080>>2]=0;c[b+16084>>2]=0;if((A|0)==1)break}j=mOa(Pb,c[b+600+(zb<<2)>>2]|0)|0;if(!j){fa=ba;ga=b+600+(zb<<2)|0;ha=ca;ia=da;ja=ea;oa=pa;qa=ta;ua=xa;ya=za;Aa=Ba;Ea=Ga;Ha=Ka;La=Ma;Pa=Qa;h=Ua;Hb=Xa;Ya=$a;ab=db;eb=hb;f=jb;lb=ob;qb=pb;rb=sb;tb=ub;vb=xb;yb=zb;m=Bb;Eb=Gb;break}else{o=ba;E=ca;G=da;H=ea;p=b+600+(zb<<2)|0;z=pa;q=ta;r=xa;n=za;s=Ba;u=Ga;v=Ka;w=Ma;x=Qa;y=Ua;C=Xa;D=$a;F=db;I=hb;J=jb;K=ob;$=pb;l=sb;e=ub;L=xb;k=zb;M=Bb;N=Gb}}}}if(!yb){s=Hb;break}Wpb(c[ga>>2]|0);if((yb|0)>0){Qb=ja;Rb=ia;Sb=ha;Tb=fa;Ub=oa;Vb=qa;Wb=ua;Xb=ya;Yb=Aa;Zb=Ea;_b=Ha;$b=La;ac=Pa;bc=h;cc=Hb;dc=Ya;ec=ab;fc=eb;gc=f;hc=lb;ic=qb;jc=rb;kc=tb;lc=vb;mc=yb;nc=m;oc=Eb}else{s=Hb;break}}HOa(Pb);e=d[Pb+8>>0]|d[Pb+8+1>>0]<<8|d[Pb+8+2>>0]<<16|d[Pb+8+3>>0]<<24;if(!e){c[b+304>>2]=f;rmb(b+668|0,600421,b+304|0)|0;if(((rnb(b+668|0)|0)+20|0)>>>0<=255){c[b+312>>2]=b+668;rmb(b+784|0,524794,b+312|0)|0;c[b+320>>2]=b+784;oob(Ib,521941,b+320|0)|0}e=d[Pb+8>>0]|d[Pb+8+1>>0]<<8|d[Pb+8+2>>0]<<16|d[Pb+8+3>>0]<<24;if(!e){e=oOa(Pb,1279070,0)|0;Hb=d[Pb+376>>0]|d[Pb+376+1>>0]<<8|d[Pb+376+2>>0]<<16|d[Pb+376+3>>0]<<24;a[e+20>>0]=Hb;a[e+20+1>>0]=Hb>>8;a[e+20+2>>0]=Hb>>16;a[e+20+3>>0]=Hb>>24}a[Pb+8>>0]=e;a[Pb+8+1>>0]=e>>8;a[Pb+8+2>>0]=e>>16;a[Pb+8+3>>0]=e>>24}if((h|0)==3){a[Pb+424>>0]=0;a[Pb+424+1>>0]=0;a[Pb+424+2>>0]=0;a[Pb+424+3>>0]=0;k=(e|0)==0;if(k){e=0;f=0}else{h=0;j=e;while(1){f=j+8|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;do if(!f)f=h;else{f=d[f+4>>0]|d[f+4+1>>0]<<8|d[f+4+2>>0]<<16|d[f+4+3>>0]<<24;if(f>>>0<=h>>>0){f=h;break}a[Pb+424>>0]=f;a[Pb+424+1>>0]=f>>8;a[Pb+424+2>>0]=f>>16;a[Pb+424+3>>0]=f>>24}while(0);j=d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24;if(!j)break;else h=f}if(k){e=f;f=0}else{while(1){Hb=(wOa(d[e+42>>0]|0)|0)&255;Mb=Xpb(1,16)|0;a[Mb>>0]=0;a[Mb+1>>0]=0;a[Mb+2>>0]=0;a[Mb+3>>0]=0;a[Mb+4>>0]=f;a[Mb+4+1>>0]=f>>8;a[Mb+4+2>>0]=f>>16;a[Mb+4+3>>0]=f>>24;a[Mb+8>>0]=0;a[Mb+9>>0]=0;a[Mb+10>>0]=Hb;a[Mb+11>>0]=0;a[Mb+12>>0]=0;a[Mb+13>>0]=0;a[Mb+14>>0]=a[1274839]|0;a[Mb+15>>0]=0;qOa(e,Mb);e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)break;f=d[Pb+424>>0]|d[Pb+424+1>>0]<<8|d[Pb+424+2>>0]<<16|d[Pb+424+3>>0]<<24}e=d[Pb+424>>0]|d[Pb+424+1>>0]<<8|d[Pb+424+2>>0]<<16|d[Pb+424+3>>0]<<24;f=d[Pb+8>>0]|d[Pb+8+1>>0]<<8|d[Pb+8+2>>0]<<16|d[Pb+8+3>>0]<<24}}k=Xpb(1,16)|0;a[k>>0]=0;a[k+1>>0]=0;a[k+2>>0]=0;a[k+3>>0]=0;a[k+4>>0]=e;a[k+4+1>>0]=e>>8;a[k+4+2>>0]=e>>16;a[k+4+3>>0]=e>>24;a[k+8>>0]=1;a[k+9>>0]=80;a[k+10>>0]=0;a[k+10+1>>0]=0;a[k+10+2>>0]=0;a[k+10+3>>0]=0;a[k+14>>0]=a[1274839]|0;a[k+15>>0]=0;qOa(f,k);k=d[Pb+424>>0]|d[Pb+424+1>>0]<<8|d[Pb+424+2>>0]<<16|d[Pb+424+3>>0]<<24;l=d[Pb+20>>0]|d[Pb+20+1>>0]<<8|d[Pb+20+2>>0]<<16|d[Pb+20+3>>0]<<24;j=d[Pb+8>>0]|d[Pb+8+1>>0]<<8|d[Pb+8+2>>0]<<16|d[Pb+8+3>>0]<<24;do if(!j){h=0;e=0}else{f=d[j+4>>0]|d[j+4+1>>0]<<8|d[j+4+2>>0]<<16|d[j+4+3>>0]<<24;if(!f)e=0;else{e=0;do{h=f+4|0;h=d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24;if(h>>>0>k>>>0)break;do if((a[f+8>>0]|0)==1){if((a[f+9>>0]|0)!=80)break;h=h+e|0;if(!((h>>>0)%((l*12288|0)>>>0)|0))break;e=e+(l*12288|0)-(((h+(l*12288|0)|0)>>>0)%((l*12288|0)>>>0)|0)|0}while(0);f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24}while((f|0)!=0);e=((((e+k|0)>>>0)/192|0)>>>6>>>0)/(l>>>0)|0;if(!j){h=0;break}}h=d[j+4>>0]|d[j+4+1>>0]<<8|d[j+4+2>>0]<<16|d[j+4+3>>0]<<24;if(!h)h=0;else{f=0;do{j=h+4|0;j=d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24;if(j>>>0>k>>>0)break;do if((a[h+8>>0]|0)==1){if((a[h+9>>0]|0)!=80)break;j=j+f|0;if(!((j>>>0)%((l*12288|0)>>>0)|0))break;f=f+(l*12288|0)-(((j+(l*12288|0)|0)>>>0)%((l*12288|0)>>>0)|0)|0}while(0);h=d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24}while((h|0)!=0);h=f+k|0}}while(0);f=a[1274839]|0;e=(((h>>>0)%((l*12288|0)>>>0)|0|0)!=0&1)+e&255;f:do if(f<<24>>24==32){a[(b+678+53|0)>>0]=e;e=c[b+652>>2]|0;if(!e)Mb=1167;else{f=0;do{if((d[b+678+(f<<1)>>0]|0)<(d[b+678+(f<<1)+1>>0]|0)){Jb=e;Mb=1166;break f}f=f+1|0}while(f>>>0<26);if((f|0)!=26){Jb=e;Mb=1166;break}if(((rnb(e)|0)+27|0)>>>0<=255){c[b+328>>2]=e;rmb(b+784|0,523844,b+328|0)|0;c[b+336>>2]=b+784;oob(Ib,521941,b+336|0)|0;e=c[b+652>>2]|0}if(e|0)Wpb(e);c[b+652>>2]=0;Mb=1167}}else{a[b+678+((f<<24>>24)+-65<<1)+1>>0]=e;Jb=c[b+652>>2]|0;Mb=1166}while(0);if((Mb|0)==1166)if(!Jb)Mb=1167;else Kb=Jb;if((Mb|0)==1167){xOa(Pb,b+652|0,b+678|0);Kb=c[b+652>>2]|0}r=yOa(b+678|0,Kb,b+648|0,m)|0;e=d[Pb+8>>0]|d[Pb+8+1>>0]<<8|d[Pb+8+2>>0]<<16|d[Pb+8+3>>0]<<24}else r=m;if(!e)Mb=1220;else{q=0;p=e;g:while(1){m=p+4|0;e=d[m>>0]|d[m+1>>0]<<8|d[m+2>>0]<<16|d[m+3>>0]<<24;if(!e)Mb=1188;else{n=p+8|0;o=0;j=-3;l=0;while(1){f=e+4|0;k=o;o=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;h=o<<3|4;a[f>>0]=h;a[f+1>>0]=h>>8;a[f+2>>0]=h>>16;a[f+3>>0]=h>>24;h:do if((a[e+8>>0]|0)==1){h=h+j|0;a[f>>0]=h;a[f+1>>0]=h>>8;a[f+2>>0]=h>>16;a[f+3>>0]=h>>24;h=j+1|0;h=(h|0)==0?-1:h;h=(h|0)==4?3:h;f=e+9|0;if((p|0)==(d[Pb+8>>0]|d[Pb+8+1>>0]<<8|d[Pb+8+2>>0]<<16|d[Pb+8+3>>0]<<24|0))f=a[f>>0]|0;else{a[f>>0]=72;f=72}switch(f&255|0){case 83:case 72:break;default:{f=h;h=e;break h}}f=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!l){a[m>>0]=f;a[m+1>>0]=f>>8;a[m+2>>0]=f>>16;a[m+3>>0]=f>>24;if(!f){a[n>>0]=0;a[n+1>>0]=0;a[n+2>>0]=0;a[n+3>>0]=0}Wpb(e);f=h;h=0;e=m;break}else{a[l>>0]=f;a[l+1>>0]=f>>8;a[l+2>>0]=f>>16;a[l+3>>0]=f>>24;if(!f){a[n>>0]=l;a[n+1>>0]=l>>8;a[n+2>>0]=l>>16;a[n+3>>0]=l>>24}Wpb(e);f=h;h=l;e=l;break}}else{f=1;h=e}while(0);j=o>>>0>k>>>0?-3:f;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;if(!e)break;else l=h}if(!(d[m>>0]|d[m+1>>0]<<8|d[m+2>>0]<<16|d[m+3>>0]<<24))Mb=1188;else Lb=p}do if((Mb|0)==1188){Mb=0;e=d[p>>0]|d[p+1>>0]<<8|d[p+2>>0]<<16|d[p+3>>0]<<24;if(q|0){a[q>>0]=e;a[q+1>>0]=e>>8;a[q+2>>0]=e>>16;a[q+3>>0]=e>>24;Wpb(p);Lb=q;break}if(!e)break g;a[Pb+8>>0]=e;a[Pb+8+1>>0]=e>>8;a[Pb+8+2>>0]=e>>16;a[Pb+8+3>>0]=e>>24;Wpb(p);Lb=d[Pb+8>>0]|d[Pb+8+1>>0]<<8|d[Pb+8+2>>0]<<16|d[Pb+8+3>>0]<<24}while(0);p=d[Lb>>0]|d[Lb+1>>0]<<8|d[Lb+2>>0]<<16|d[Lb+3>>0]<<24;if(!p)break;else q=Lb}n=d[Pb+8>>0]|d[Pb+8+1>>0]<<8|d[Pb+8+2>>0]<<16|d[Pb+8+3>>0]<<24;e=d[n>>0]|d[n+1>>0]<<8|d[n+2>>0]<<16|d[n+3>>0]<<24;if(!e)e=n;else{do{f=d[n+4>>0]|d[n+4+1>>0]<<8|d[n+4+2>>0]<<16|d[n+4+3>>0]<<24;if(f|0){m=e+4|0;do{h=f+8|0;i:do if((a[h>>0]|0)==1){j=f+9|0;switch(d[j>>0]|0){case 83:case 84:case 72:case 67:break i;default:{}}l=Xpb(1,16)|0;a[l>>0]=0;a[l+1>>0]=0;a[l+2>>0]=0;a[l+3>>0]=0;k=f+4|0;Lb=d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24;a[l+4>>0]=Lb;a[l+4+1>>0]=Lb>>8;a[l+4+2>>0]=Lb>>16;a[l+4+3>>0]=Lb>>24;a[l+8>>0]=a[h>>0]|0;a[l+9>>0]=a[j>>0]|0;j=f+10|0;j=d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24;a[l+10>>0]=j;a[l+10+1>>0]=j>>8;a[l+10+2>>0]=j>>16;a[l+10+3>>0]=j>>24;a[l+14>>0]=a[f+14>>0]|0;k=d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24;j=d[m>>0]|d[m+1>>0]<<8|d[m+2>>0]<<16|d[m+3>>0]<<24;do if(!j)h=0;else{h=j;while(1){Lb=j+4|0;if((d[Lb>>0]|d[Lb+1>>0]<<8|d[Lb+2>>0]<<16|d[Lb+3>>0]<<24)>>>0>k>>>0)break;h=d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24;if(!h){h=j;break}else{Lb=j;j=h;h=Lb}}Lb=h+4|0;if((d[Lb>>0]|d[Lb+1>>0]<<8|d[Lb+2>>0]<<16|d[Lb+3>>0]<<24)>>>0>k>>>0)break;Lb=d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24;a[l>>0]=Lb;a[l+1>>0]=Lb>>8;a[l+2>>0]=Lb>>16;a[l+3>>0]=Lb>>24;a[h>>0]=l;a[h+1>>0]=l>>8;a[h+2>>0]=l>>16;a[h+3>>0]=l>>24;break i}while(0);a[l>>0]=h;a[l+1>>0]=h>>8;a[l+2>>0]=h>>16;a[l+3>>0]=h>>24;a[m>>0]=l;a[m+1>>0]=l>>8;a[m+2>>0]=l>>16;a[m+3>>0]=l>>24}while(0);f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24}while((f|0)!=0)}e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24}while((e|0)!=0);e=d[Pb+8>>0]|d[Pb+8+1>>0]<<8|d[Pb+8+2>>0]<<16|d[Pb+8+3>>0]<<24}l=d[Pb+20>>0]|d[Pb+20+1>>0]<<8|d[Pb+20+2>>0]<<16|d[Pb+20+3>>0]<<24;if(!e)Mb=1220;else{m=_(l,-192)|0;do{j=e+4|0;f=d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24;do if(f|0){h=0;do{Lb=f+4|0;Kb=h;h=(d[Lb>>0]|d[Lb+1>>0]<<8|d[Lb+2>>0]<<16|d[Lb+3>>0]<<24)>>>3;Kb=h-Kb|0;a[Lb>>0]=Kb;a[Lb+1>>0]=Kb>>8;a[Lb+2>>0]=Kb>>16;a[Lb+3>>0]=Kb>>24;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24}while((f|0)!=0);f=d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24;if(!f)break;else h=0;do{k=f+4|0;h=(d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24)+h|0;a[k>>0]=h;a[k+1>>0]=h>>8;a[k+2>>0]=h>>16;a[k+3>>0]=h>>24;do if((a[f+8>>0]|0)==1){j=f+9|0;if((a[j>>0]|0)!=80)break;if(!((h>>>0)%((l*12288|0)>>>0)|0)){a[j>>0]=72;break}else{a[k>>0]=h+m;a[k+1>>0]=h+m>>8;a[k+2>>0]=h+m>>16;a[k+3>>0]=h+m>>24;h=h+(l*12288|0)-(((h+(l*12288|0)|0)>>>0)%((l*12288|0)>>>0)|0)|0;break}}while(0);f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24}while((f|0)!=0)}while(0);e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24}while((e|0)!=0);e=d[Pb+8>>0]|d[Pb+8+1>>0]<<8|d[Pb+8+2>>0]<<16|d[Pb+8+3>>0]<<24;a[Pb+424>>0]=0;a[Pb+424+1>>0]=0;a[Pb+424+2>>0]=0;a[Pb+424+3>>0]=0;if(e|0){f=0;h=e;while(1){e=h+8|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;do if(!e)e=f;else{e=d[e+4>>0]|d[e+4+1>>0]<<8|d[e+4+2>>0]<<16|d[e+4+3>>0]<<24;if(e>>>0<=f>>>0){e=f;break}a[Pb+424>>0]=e;a[Pb+424+1>>0]=e>>8;a[Pb+424+2>>0]=e>>16;a[Pb+424+3>>0]=e>>24}while(0);h=d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24;if(!h)break;else f=e}}}}if((Mb|0)==1220){a[Pb+424>>0]=0;a[Pb+424+1>>0]=0;a[Pb+424+2>>0]=0;a[Pb+424+3>>0]=0}q=yf(524815)|0;if(q|0){c[b+344>>2]=c[b+652>>2];vpb(524832,b+344|0)|0;e=0;do{if((d[b+678+(e<<1)+1>>0]|0)>=(d[b+678+(e<<1)>>0]|0)){c[b+352>>2]=e+65;vpb(524838,b+352|0)|0}e=e+1|0}while((e|0)!=26);if((d[(b+678+53|0)>>0]|0)>=(d[(b+678+52|0)>>0]|0))vpb(524844,b+360|0)|0;wpb(10)|0;f=0;do{e=a[b+678+(f<<1)>>0]|0;if((d[b+678+(f<<1)+1>>0]|0)>=(e&255)){c[b+368>>2]=e&255;vpb(524848,b+368|0)|0}f=f+1|0}while((f|0)!=27);wpb(10)|0;f=0;do{e=a[b+678+(f<<1)+1>>0]|0;if((e&255)>=(d[b+678+(f<<1)>>0]|0)){c[b+376>>2]=e&255;vpb(524848,b+376|0)|0}f=f+1|0}while((f|0)!=27);wpb(10)|0;e=(r|0)>0;do if(e){f=0;do{c[b+384>>2]=f;vpb(524848,b+384|0)|0;f=f+1|0}while((f|0)!=(r|0));wpb(10)|0;if(!e)break;e=c[b+648>>2]|0;f=0;do{c[b+392>>2]=d[e+f>>0];vpb(524848,b+392|0)|0;f=f+1|0}while((f|0)!=(r|0))}else wpb(10)|0;while(0);wpb(10)|0;e=d[Pb+8>>0]|d[Pb+8+1>>0]<<8|d[Pb+8+2>>0]<<16|d[Pb+8+3>>0]<<24;if(e|0)do{n=e+36|0;o=e+37|0;Lb=d[o>>0]|0;f=d[e+40>>0]|0;p=e+44|0;c[b+400>>2]=d[n>>0];c[b+400+4>>2]=Lb;c[b+400+8>>2]=f;c[b+400+12>>2]=p;vpb(524853,b+400|0)|0;f=e+4|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;if(f|0){h=(Imb(q,524877)|0)!=0&1;do{j=f+4|0;j=d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24;k=d[Pb+20>>0]|d[Pb+20+1>>0]<<8|d[Pb+20+2>>0]<<16|d[Pb+20+3>>0]<<24;l=(j>>>0)%((k*12288|0)>>>0)|0|0?32:45;a[b+344>>0]=l;m=f+8|0;do if((a[m>>0]|0)==1){Kb=d[f+14>>0]|0;Lb=d[n>>0]|0;h=d[o>>0]|0;c[b+416>>2]=(((j>>>0)/192|0|0)/(k|0)|0|0)/64|0;c[b+416+4>>2]=(((j>>>0)/192|0|0)/(k|0)|0|0)%64|0;c[b+416+8>>2]=((j>>>0)/192|0|0)%(k|0)|0;c[b+416+12>>2]=l&255;c[b+416+16>>2]=Kb;c[b+416+20>>2]=Lb;c[b+416+24>>2]=h;c[b+416+28>>2]=p;vpb(524885,b+416|0)|0;j=f+9|0;h=a[j>>0]|0;if(h<<24>>24==67){k=f+11|0;a[b+344>>0]=a[524913+(d[k>>0]|0)>>0]|0;Lb=a[524940+(d[k>>0]|0)>>0]|0;a[b+344+1>>0]=Lb;a[b+344+2>>0]=0;if(cmb(Lb<<24>>24)|0)a[b+344+1>>0]=0;h=1274199+(d[f+10>>0]<<3)|0;c[b+448>>2]=a[j>>0];c[b+448+4>>2]=b+344;c[b+448+8>>2]=h;vpb(524967,b+448|0)|0;h=f+12|0;j=a[h>>0]|0;if(j<<24>>24!=(a[k>>0]|0)){a[b+344>>0]=a[524913+(j&255)>>0]|0;a[b+344+1>>0]=a[524940+(d[h>>0]|0)>>0]|0;a[b+344+2>>0]=0;c[b+464>>2]=b+344;vpb(524987,b+464|0)|0}wpb(10)|0}else{Lb=f+10|0;Lb=d[Lb>>0]|d[Lb+1>>0]<<8|d[Lb+2>>0]<<16|d[Lb+3>>0]<<24;c[b+472>>2]=h<<24>>24;c[b+472+4>>2]=f;c[b+472+8>>2]=Lb;vpb(524991,b+472|0)|0}h=(Imb(q,524877)|0)!=0&1}else{if(!h){h=0;break}Jb=d[f+14>>0]|0;Kb=d[n>>0]|0;Lb=d[o>>0]|0;c[b+488>>2]=(((j>>>0)/192|0|0)/(k|0)|0|0)/64|0;c[b+488+4>>2]=(((j>>>0)/192|0|0)/(k|0)|0|0)%64|0;c[b+488+8>>2]=((j>>>0)/192|0|0)%(k|0)|0;c[b+488+12>>2]=l&255;c[b+488+16>>2]=Jb;c[b+488+20>>2]=Kb;c[b+488+24>>2]=Lb;c[b+488+28>>2]=p;vpb(524885,b+488|0)|0;j=a[m>>0]|0;if(!(j<<24>>24)){a[b+344>>0]=a[525011]|0;a[b+344+1>>0]=a[525012]|0;a[b+344+2>>0]=a[525013]|0}else{a[b+344>>0]=a[524913+((j&255)+-23)>>0]|0;a[b+344+1>>0]=a[524940+((d[m>>0]|0)+-23)>>0]|0;a[b+344+2>>0]=0}Jb=d[f+9>>0]|0;Kb=JOa(IOa(d[f+10>>0]|0)|0)|0;Lb=d[f+11>>0]|0;c[b+520>>2]=b+344;c[b+520+4>>2]=Jb;c[b+520+8>>2]=Kb;c[b+520+12>>2]=Lb;vpb(525028,b+520|0)|0;Lb=(Imb(q,525064)|0)==0;h=Lb?h:0}while(0);f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24}while((f|0)!=0)}e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24}while((e|0)!=0)}if(!(c[Ob+59652>>2]|0))c[Ob+59652>>2]=(s|0)==0?240:s;c[Ob+59680>>2]=16777216;f=d[Pb+20>>0]|d[Pb+20+1>>0]<<8|d[Pb+20+2>>0]<<16|d[Pb+20+3>>0]<<24;j=(((((d[Pb+424>>0]|d[Pb+424+1>>0]<<8|d[Pb+424+2>>0]<<16|d[Pb+424+3>>0]<<24)>>>0)/192|0)>>>0)/(f>>>0)|0)>>>6;k=(j+1|0)>>>0>240?240:j+1|0;c[Ob+59648>>2]=f;f=d[Pb+8>>0]|d[Pb+8+1>>0]<<8|d[Pb+8+2>>0]<<16|d[Pb+8+3>>0]<<24;if(!f)e=0;else{e=0;do{e=e+1|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24}while((f|0)!=0)}c[Ob+59664>>2]=e;c[Ob+59660>>2]=16;c[Ob+59764>>2]=112;c[Ob+59768>>2]=13696;h=c[b+648>>2]|0;if(r|0){e=(0-r|0)>>>0>4294967040?r:256;f=0;do{a[Ob+53344+f>>0]=a[h+f>>0]|0;f=f+1|0}while((f|0)!=(e|0))}Wpb(h);if(KOa(Ob+51904|0,Ob+52864|0,Pb,k,c[Ob+59664>>2]|0)|0){c[Ob+59664>>2]=(c[Ob+59664>>2]|0)+1;e=oOa(Pb,1279070,99)|0;a[Pb+412>>0]=e;a[Pb+412+1>>0]=e>>8;a[Pb+412+2>>0]=e>>16;a[Pb+412+3>>0]=e>>24;f=d[Pb+424>>0]|d[Pb+424+1>>0]<<8|d[Pb+424+2>>0]<<16|d[Pb+424+3>>0]<<24;h=d[e+8>>0]|d[e+8+1>>0]<<8|d[e+8+2>>0]<<16|d[e+8+3>>0]<<24;do if(!h)Mb=1281;else{if((d[h+4>>0]|d[h+4+1>>0]<<8|d[h+4+2>>0]<<16|d[h+4+3>>0]<<24|0)==(f|0))break;if((a[h+8>>0]|0)!=1){Mb=1281;break}if((a[h+9>>0]|0)!=83){Mb=1281;break}a[h+4>>0]=f;a[h+4+1>>0]=f>>8;a[h+4+2>>0]=f>>16;a[h+4+3>>0]=f>>24}while(0);if((Mb|0)==1281){Lb=Xpb(1,16)|0;a[Lb>>0]=0;a[Lb+1>>0]=0;a[Lb+2>>0]=0;a[Lb+3>>0]=0;a[Lb+4>>0]=f;a[Lb+4+1>>0]=f>>8;a[Lb+4+2>>0]=f>>16;a[Lb+4+3>>0]=f>>24;a[Lb+8>>0]=1;a[Lb+9>>0]=83;a[Lb+10>>0]=0;a[Lb+10+1>>0]=0;a[Lb+10+2>>0]=0;a[Lb+10+3>>0]=0;a[Lb+14>>0]=a[1274839]|0;a[Lb+15>>0]=0;qOa(e,Lb)}e=(-2-j^-16)>>>0<240?j+1|0:240;f=0;do{Lb=Ob+51904+(f<<2)|0;MOa(c[Lb>>2]|0);c[Lb>>2]=0;f=f+1|0}while((f|0)!=(e|0));KOa(Ob+51904|0,Ob+52864|0,Pb,k,c[Ob+59664>>2]|0)|0}if(!(NOa(Ob)|0)){c[298871]=0;e=0;i=b;c[b+16088>>2]=6;c[b+16092>>2]=e|0;break a}e=c[Ob+59664>>2]|0;if(e>>>0>64){c[Ob+59664>>2]=64;Nb=0;Mb=1290}else if(e|0){Nb=0;Mb=1290}if((Mb|0)==1290)do{Mb=0;c[Ob+49600+(Nb*36|0)>>2]=((((Nb+2|0)>>>0)%5|0)<<5)+48;c[Ob+49600+(Nb*36|0)+4>>2]=64;Nb=Nb+1|0}while(Nb>>>0<(c[Ob+59664>>2]|0)>>>0);c[298871]=0;e=c[b+652>>2]|0;if(e|0)Wpb(e);c[b+652>>2]=0;HOa(Pb);e=d[Pb+8>>0]|d[Pb+8+1>>0]<<8|d[Pb+8+2>>0]<<16|d[Pb+8+3>>0]<<24;if(e|0)do{h=e;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;f=d[h+4>>0]|d[h+4+1>>0]<<8|d[h+4+2>>0]<<16|d[h+4+3>>0]<<24;if(f|0)do{Ob=f;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;Wpb(Ob)}while((f|0)!=0);a[h+4>>0]=0;a[h+4+1>>0]=0;a[h+4+2>>0]=0;a[h+4+3>>0]=0}while((e|0)!=0);a[Pb+8>>0]=0;a[Pb+8+1>>0]=0;a[Pb+8+2>>0]=0;a[Pb+8+3>>0]=0;e=d[Pb+24>>0]|d[Pb+24+1>>0]<<8|d[Pb+24+2>>0]<<16|d[Pb+24+3>>0]<<24;if(e|0)Wpb(e);e=d[Pb+28>>0]|d[Pb+28+1>>0]<<8|d[Pb+28+2>>0]<<16|d[Pb+28+3>>0]<<24;if(e|0)Wpb(e);Wpb(Pb);e=1;i=b;c[b+16088>>2]=6;c[b+16092>>2]=e|0;break a}c[b+1360>>2]=e;c[b+9672>>2]=Qb;c[b+9680>>2]=Rb;c[b+9688>>2]=Sb;c[b+9696>>2]=Tb;c[b+11056>>2]=Ub;c[b+11128>>2]=Vb;c[b+11208>>2]=Wb;c[b+11280>>2]=Xb;c[b+11328>>2]=Yb;c[b+11456>>2]=Zb;c[b+11512>>2]=_b;c[b+11592>>2]=$b;c[b+11744>>2]=ac;c[b+11888>>2]=bc;c[b+11968>>2]=cc;c[b+12064>>2]=dc;c[b+12168>>2]=ec;c[b+12248>>2]=fc;c[b+12304>>2]=gc;c[b+12376>>2]=hc;c[b+12480>>2]=ic;c[b+12512>>2]=jc;c[b+12592>>2]=kc;c[b+14104>>2]=lc;c[b+14160>>2]=mc;c[b+14328>>2]=nc;c[b+15672>>2]=oc;c[b+15928>>2]=pc;c[b+15944>>2]=qc;c[b+15992>>2]=Mb}function cQa(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0;x=c[b+1296>>2]|0;F=c[b+1440>>2]|0;G=c[b+1448>>2]|0;y=c[b+1504>>2]|0;H=c[b+1520>>2]|0;I=c[b+2200>>2]|0;J=c[b+2208>>2]|0;K=c[b+2216>>2]|0;L=c[b+2456>>2]|0;N=c[b+3824>>2]|0;i=c[b+3888>>2]|0;O=c[b+4184>>2]|0;Q=c[b+4312>>2]|0;R=c[b+4320>>2]|0;T=c[b+4344>>2]|0;V=c[b+4384>>2]|0;X=c[b+4568>>2]|0;Y=c[b+4576>>2]|0;$=c[b+4616>>2]|0;ba=c[b+4648>>2]|0;ca=c[b+4656>>2]|0;ea=c[b+4688>>2]|0;fa=c[b+4696>>2]|0;C=c[b+4752>>2]|0;j=c[b+5336>>2]|0;a:{while(1){E=a[J+K>>0]|0;f=K+1|0;c[y>>2]=f;e=O+1|0;B=E&127|N<<7;if((e|0)<4&(E&128|0)!=0){K=f;N=B;O=e}else{g=K;break}}c[L+56>>2]=B;e=V-e|0;f=a[J+f>>0]|0;c[y>>2]=g+2;b:do if(!(f&128)){h=g+2|0;D=f;e=e+-1|0;E=fa}else{switch(f&255|0){case 254:case 253:case 252:case 251:case 250:case 249:case 248:case 247:case 246:case 245:case 244:case 241:{h=g+2|0;D=f;e=e+-1|0;E=f;break b}default:{}}D=a[J+(g+2)>>0]|0;c[y>>2]=g+3;h=g+3|0;e=e+-2|0;E=f}while(0);z=_(B,i)|0;z=(c[L+12>>2]|0)+z|0;c[L+12>>2]=z;A=E&255;c:{v=1;w=A&240|0;if(v){v=0;switch(w|0){case 128:{r=a[J+h>>0]|0;c[y>>2]=h+1;t=e+-1|0;s=D&255;f=c[L+4>>2]|0;d:do if(f|0){q=z;while(1){p=f+12|0;g=c[p>>2]|0;e:do if(g|0){if((c[g+4>>2]|0)>>>0>q>>>0){g=c[f+4>>2]|0;if(!g)break}l=f+27|0;m=f+25|0;n=f+26|0;o=f+20|0;do{j=g+4|0;if((c[j>>2]|0)>>>0>q>>>0)break e;c[p>>2]=g;if(a[g+8>>0]|0){k=g+10|0;if(!(a[k>>0]|0))i=-1;else i=a[g+9>>0]|0;a[m>>0]=i;a[n>>0]=a[k>>0]|0;c[o>>2]=c[j>>2]}if((a[g+12>>0]|0)==8)a[l>>0]=a[g+13>>0]|0;g=c[g>>2]|0}while((g|0)!=0)}while(0);if((d[f+24>>0]|0)==(A&15|0)){g=f+25|0;if((a[g>>0]|0)==D<<24>>24)break}f=c[f>>2]|0;if(!f)break d;q=c[L+12>>2]|0}u=Xpb(1,16)|0;c[u>>2]=0;c[u+4>>2]=c[L+12>>2];a[u+8>>0]=0;a[u+8+1>>0]=0;a[u+8+2>>0]=0;a[u+8+3>>0]=0;a[u+8+4>>0]=0;a[u+8+5>>0]=0;a[u+8>>0]=1;a[u+9>>0]=a[g>>0]|0;a[u+11>>0]=a[f+27>>0]|0;VOa(f,u)}while(0);if(!(c[L+16>>2]|0)){n=D;m=R;l=Y;k=ca;j=248;break c}n=c[L+12>>2]|0;c[b+48>>2]=C;c[b+48+4>>2]=n;c[b+48+8>>2]=(A&15)+1;c[b+48+12>>2]=s;c[b+48+16>>2]=r&255;vpb(525385,b+48|0)|0;n=D;m=R;l=Y;k=ca;j=248;break}case 144:{f=a[J+h>>0]|0;c[y>>2]=h+1;t=e+-1|0;r=D&255;if(f<<24>>24){z=WOa(L,A&15,r)|0;B=Xpb(1,16)|0;c[B>>2]=0;c[B+4>>2]=c[L+12>>2];a[B+8>>0]=0;a[B+8+1>>0]=0;a[B+8+2>>0]=0;a[B+8+3>>0]=0;a[B+8+4>>0]=0;a[B+8+5>>0]=0;a[B+8>>0]=1;a[B+9>>0]=D;a[B+11>>0]=a[z+27>>0]|0;a[B+10>>0]=f;VOa(z,B);if(!(c[L+16>>2]|0)){n=D;m=R;l=Y;k=ca;j=248;break c}n=c[L+12>>2]|0;c[b+72>>2]=C;c[b+72+4>>2]=n;c[b+72+8>>2]=(A&15)+1;c[b+72+12>>2]=r;c[b+72+16>>2]=f&255;vpb(525432,b+72|0)|0;n=D;m=R;l=Y;k=ca;j=248;break c}f=c[L+4>>2]|0;f:do if(f|0){q=z;while(1){p=f+12|0;g=c[p>>2]|0;g:do if(g|0){if((c[g+4>>2]|0)>>>0>q>>>0){g=c[f+4>>2]|0;if(!g)break}l=f+27|0;m=f+25|0;n=f+26|0;o=f+20|0;do{j=g+4|0;if((c[j>>2]|0)>>>0>q>>>0)break g;c[p>>2]=g;if(a[g+8>>0]|0){k=g+10|0;if(!(a[k>>0]|0))i=-1;else i=a[g+9>>0]|0;a[m>>0]=i;a[n>>0]=a[k>>0]|0;c[o>>2]=c[j>>2]}if((a[g+12>>0]|0)==8)a[l>>0]=a[g+13>>0]|0;g=c[g>>2]|0}while((g|0)!=0)}while(0);if((d[f+24>>0]|0)==(A&15|0)){g=f+25|0;if((a[g>>0]|0)==D<<24>>24)break}f=c[f>>2]|0;if(!f)break f;q=c[L+12>>2]|0}u=Xpb(1,16)|0;c[u>>2]=0;c[u+4>>2]=c[L+12>>2];a[u+8>>0]=0;a[u+8+1>>0]=0;a[u+8+2>>0]=0;a[u+8+3>>0]=0;a[u+8+4>>0]=0;a[u+8+5>>0]=0;a[u+8>>0]=1;a[u+9>>0]=a[g>>0]|0;a[u+11>>0]=a[f+27>>0]|0;VOa(f,u)}while(0);if(!(c[L+16>>2]|0)){n=D;m=R;l=Y;k=ca;j=248;break c}n=c[L+12>>2]|0;c[b+96>>2]=C;c[b+96+4>>2]=n;c[b+96+8>>2]=(A&15)+1;c[b+96+12>>2]=r;vpb(525473,b+96|0)|0;n=D;m=R;l=Y;k=ca;j=248;break}case 160:{f=a[J+h>>0]|0;c[y>>2]=h+1;g=e+-1|0;if(!(c[L+16>>2]|0)){n=D;m=R;t=g;l=Y;k=ca;j=248;break c}c[b+112>>2]=C;c[b+112+4>>2]=z;c[b+112+8>>2]=(A&15)+1;c[b+112+12>>2]=D&255;c[b+112+16>>2]=f&255;vpb(525507,b+112|0)|0;n=D;m=R;t=g;l=Y;k=ca;j=248;break}default:v=1}}if(v){v=0;switch(w|0){case 176:{s=a[J+h>>0]|0;c[y>>2]=h+1;t=e+-1|0;u=D&255;h:do switch(u|0){case 1:{f=c[L+4>>2]|0;if(!f){f=Y;g=ca;break h}if(!(s<<24>>24))while(1){do if((d[f+24>>0]|0)==(A&15|0)){p=c[L+12>>2]|0;q=f+12|0;g=c[q>>2]|0;i:do if(g|0){if((c[g+4>>2]|0)>>>0>p>>>0){g=c[f+4>>2]|0;if(!g)break}l=f+27|0;m=f+25|0;n=f+26|0;o=f+20|0;do{j=g+4|0;if((c[j>>2]|0)>>>0>p>>>0)break i;c[q>>2]=g;if(a[g+8>>0]|0){k=g+10|0;if(!(a[k>>0]|0))i=-1;else i=a[g+9>>0]|0;a[m>>0]=i;a[n>>0]=a[k>>0]|0;c[o>>2]=c[j>>2]}if((a[g+12>>0]|0)==8)a[l>>0]=a[g+13>>0]|0;g=c[g>>2]|0}while((g|0)!=0)}while(0);if((a[f+25>>0]|0)==-1)break;r=Xpb(1,16)|0;c[r>>2]=0;c[r+4>>2]=c[L+12>>2];a[r+8>>0]=0;a[r+8+1>>0]=0;a[r+8+2>>0]=0;a[r+8+3>>0]=0;a[r+12>>0]=6;a[r+13>>0]=0;VOa(f,r)}while(0);f=c[f>>2]|0;if(!f){f=Y;g=ca;break h}}r=(s&255)>63?((128-(s&255)+3|0)>>>0<7?-15:((128-(s&255)|0)/4|0|240)&255):((s&255)+3|0)>>>0<7?31:(((s&255)>>>2&255)<<4|15)&255;while(1){do if((d[f+24>>0]|0)==(A&15|0)){p=c[L+12>>2]|0;q=f+12|0;g=c[q>>2]|0;j:do if(g|0){if((c[g+4>>2]|0)>>>0>p>>>0){g=c[f+4>>2]|0;if(!g)break}l=f+27|0;m=f+25|0;n=f+26|0;o=f+20|0;do{j=g+4|0;if((c[j>>2]|0)>>>0>p>>>0)break j;c[q>>2]=g;if(a[g+8>>0]|0){k=g+10|0;if(!(a[k>>0]|0))i=-1;else i=a[g+9>>0]|0;a[m>>0]=i;a[n>>0]=a[k>>0]|0;c[o>>2]=c[j>>2]}if((a[g+12>>0]|0)==8)a[l>>0]=a[g+13>>0]|0;g=c[g>>2]|0}while((g|0)!=0)}while(0);if((a[f+25>>0]|0)==-1)break;q=Xpb(1,16)|0;c[q>>2]=0;c[q+4>>2]=c[L+12>>2];a[q+8>>0]=0;a[q+8+1>>0]=0;a[q+8+2>>0]=0;a[q+8+3>>0]=0;a[q+8+4>>0]=0;a[q+12>>0]=6;a[q+13>>0]=r;VOa(f,q)}while(0);f=c[f>>2]|0;if(!f){f=Y;g=ca;break}}break}case 7:{f=c[L+4>>2]|0;if(!f){f=Y;g=ca;break h}do{if((d[f+24>>0]|0)==(A&15|0)){r=Xpb(1,16)|0;c[r>>2]=0;c[r+4>>2]=c[L+12>>2];a[r+8>>0]=0;a[r+8+1>>0]=0;a[r+8+2>>0]=0;a[r+8+3>>0]=0;a[r+12>>0]=7;a[r+13>>0]=s;VOa(f,r)}f=c[f>>2]|0}while((f|0)!=0);f=Y;g=ca;break}case 10:{j=(s&255|0)<(ca|0)?s&255:ca;i=(s&255|0)>(Y|0)?s&255:Y;g=c[L+4>>2]|0;if(g|0){f=0;do{if((d[g+24>>0]|0)==(A&15|0)){c[g+16>>2]=s&255;f=f+1|0}g=c[g>>2]|0}while((g|0)!=0);if(f|0){f=i;g=j;break h}}c[(WOa(L,A&15,255)|0)+16>>2]=s&255;f=i;g=j;break}case 123:{if(s<<24>>24){f=Y;g=ca;break h}if(c[L+16>>2]|0){c[b+136>>2]=z;c[b+136+4>>2]=(A&15)+1;vpb(525563,b+136|0)|0}f=c[L+4>>2]|0;if(!f){f=Y;g=ca;break h}while(1){do if((d[f+24>>0]|0)==(A&15|0)){p=c[L+12>>2]|0;q=f+12|0;g=c[q>>2]|0;k:do if(g|0){if((c[g+4>>2]|0)>>>0>p>>>0){g=c[f+4>>2]|0;if(!g)break}l=f+27|0;m=f+25|0;n=f+26|0;o=f+20|0;do{j=g+4|0;if((c[j>>2]|0)>>>0>p>>>0)break k;c[q>>2]=g;if(a[g+8>>0]|0){k=g+10|0;if(!(a[k>>0]|0))i=-1;else i=a[g+9>>0]|0;a[m>>0]=i;a[n>>0]=a[k>>0]|0;c[o>>2]=c[j>>2]}if((a[g+12>>0]|0)==8)a[l>>0]=a[g+13>>0]|0;g=c[g>>2]|0}while((g|0)!=0)}while(0);g=f+25|0;if((a[g>>0]|0)==-1)break;r=Xpb(1,16)|0;c[r>>2]=0;c[r+4>>2]=c[L+12>>2];a[r+8>>0]=0;a[r+8+1>>0]=0;a[r+8+2>>0]=0;a[r+8+3>>0]=0;a[r+8+4>>0]=0;a[r+8+5>>0]=0;a[r+8>>0]=1;a[r+9>>0]=a[g>>0]|0;a[r+11>>0]=a[f+27>>0]|0;VOa(f,r)}while(0);f=c[f>>2]|0;if(!f){f=Y;g=ca;break}}break}default:{f=Y;g=ca}}while(0);if(!(c[L+16>>2]|0)){n=D;m=R;l=f;k=g;j=248;break c}n=c[L+12>>2]|0;c[b+144>>2]=C;c[b+144+4>>2]=n;c[b+144+8>>2]=(A&15)+1;c[b+144+12>>2]=u;c[b+144+16>>2]=s&255;vpb(525585,b+144|0)|0;n=D;m=R;l=f;k=g;j=248;break}case 192:{i=D&255;g=c[L+4>>2]|0;if(!g)j=162;else{f=0;do{if((d[g+24>>0]|0)==(A&15|0)){u=Xpb(1,16)|0;c[u>>2]=0;c[u+4>>2]=c[L+12>>2];a[u+8>>0]=0;a[u+8+1>>0]=0;a[u+8+2>>0]=0;a[u+8+3>>0]=0;a[u+8+4>>0]=0;a[u+8+5>>0]=0;a[u+12>>0]=8;a[u+13>>0]=wOa(i+1|0)|0;VOa(g,u);f=f+1|0}g=c[g>>2]|0}while((g|0)!=0);if(!f)j=162}if((j|0)==162){t=WOa(L,A&15,255)|0;u=Xpb(1,16)|0;c[u>>2]=0;c[u+4>>2]=c[L+12>>2];a[u+8>>0]=0;a[u+8+1>>0]=0;a[u+8+2>>0]=0;a[u+8+3>>0]=0;a[u+12>>0]=8;a[u+13>>0]=wOa(i+1|0)|0;VOa(t,u)}if(!(c[L+16>>2]|0)){n=D;m=R;t=e;l=Y;k=ca;j=248;break c}n=c[L+12>>2]|0;c[b+168>>2]=C;c[b+168+4>>2]=n;c[b+168+8>>2]=(A&15)+1;c[b+168+12>>2]=i;vpb(525632,b+168|0)|0;n=D;m=R;t=e;l=Y;k=ca;j=248;break}case 208:{if(!(c[L+16>>2]|0)){n=D;m=R;t=e;l=Y;k=ca;j=248;break c}c[b+184>>2]=C;c[b+184+4>>2]=z;c[b+184+8>>2]=(A&15)+1;c[b+184+12>>2]=D&255;vpb(525668,b+184|0)|0;n=D;m=R;t=e;l=Y;k=ca;j=248;break}default:v=1}}if(v)switch(w|0){case 224:{f=a[J+h>>0]|0;c[y>>2]=h+1;u=e+-1|0;if(!(c[L+16>>2]|0)){t=(f&255)<<7&16256|D&127;s=t;t=t+-8192|0}else{t=(f&255)<<7&16256|D&127;c[b+200>>2]=C;c[b+200+4>>2]=z;c[b+200+8>>2]=(A&15)+1;c[b+200+12>>2]=t+-8192;vpb(525710,b+200|0)|0;s=t;t=t+-8192|0}f=c[L+4>>2]|0;if(f|0){q=s>>>0<8192;r=q?1:2;q=q?((8192-s|0)>>>10)+1&255:(t|0)==0?0:(t>>>10)+1&255;e=0;do{do if((d[f+24>>0]|0)==(A&15|0)){e=e+1|0;o=c[L+12>>2]|0;p=f+12|0;g=c[p>>2]|0;l:do if(g|0){if((c[g+4>>2]|0)>>>0>o>>>0){g=c[f+4>>2]|0;if(!g)break}k=f+27|0;l=f+25|0;m=f+26|0;n=f+20|0;do{i=g+4|0;if((c[i>>2]|0)>>>0>o>>>0)break l;c[p>>2]=g;if(a[g+8>>0]|0){j=g+10|0;if(!(a[j>>0]|0))h=-1;else h=a[g+9>>0]|0;a[l>>0]=h;a[m>>0]=a[j>>0]|0;c[n>>2]=c[i>>2]}if((a[g+12>>0]|0)==8)a[k>>0]=a[g+13>>0]|0;g=c[g>>2]|0}while((g|0)!=0)}while(0);if((a[f+25>>0]|0)==-1)break;C=Xpb(1,16)|0;c[C>>2]=0;c[C+4>>2]=c[L+12>>2];a[C+8>>0]=0;a[C+8+1>>0]=0;a[C+8+2>>0]=0;a[C+8+3>>0]=0;a[C+8+4>>0]=0;a[C+8+5>>0]=0;a[C+12>>0]=r;a[C+13>>0]=q;VOa(f,C)}while(0);f=c[f>>2]|0}while((f|0)!=0);if(e|0){n=D;m=R;t=u;l=Y;k=ca;j=248;break c}}f=WOa(L,A&15,255)|0;g=Xpb(1,16)|0;c[g>>2]=0;c[g+4>>2]=c[L+12>>2];a[g+8>>0]=0;a[g+8+1>>0]=0;a[g+8+2>>0]=0;a[g+8+3>>0]=0;a[g+8+4>>0]=0;a[g+8+5>>0]=0;if(s>>>0<8192){a[g+12>>0]=1;a[g+13>>0]=((8192-s|0)>>>10)+1}else{a[g+12>>0]=2;if(!t)e=0;else e=(t>>>10)+1&255;a[g+13>>0]=e}VOa(f,g);n=D;m=R;t=u;l=Y;k=ca;j=248;break}case 240:switch(A|0){case 240:{if(c[L+16>>2]|0){c[b+216>>2]=C;c[b+216+4>>2]=z;c[b+216+8>>2]=D&255;vpb(525750,b+216|0)|0}if(D<<24>>24!=-9)do{D=c[L>>2]|0;C=c[D+8>>2]|0;f=a[(c[D>>2]|0)+C>>0]|0;c[D+8>>2]=C+1;e=e+-1|0;if(c[L+16>>2]|0){c[b+232>>2]=f&255;vpb(525774,b+232|0)|0}}while(f<<24>>24!=-9);if(!(c[L+16>>2]|0)){n=-9;m=R;t=e;l=Y;k=ca;j=248;break c}wpb(10)|0;n=-9;m=R;t=e;l=Y;k=ca;j=248;break c}case 242:{f=a[J+h>>0]|0;c[y>>2]=h+1;e=e+-1|0;if(!(c[L+16>>2]|0)){n=D;m=R;t=e;l=Y;k=ca;j=248;break c}c[b+240>>2]=C;c[b+240+4>>2]=z;c[b+240+8>>2]=((f&255)<<7&16256|D&127)+-8192;vpb(525780,b+240|0)|0;n=D;m=R;t=e;l=Y;k=ca;j=248;break c}case 247:{g=0;f=0;while(1){A=a[J+h>>0]|0;h=h+1|0;c[y>>2]=h;i=f+1|0;j=A&127|g<<7;if(!((i|0)<4&(A&128|0)!=0))break;else{g=j;f=i}}c[L+56>>2]=j;f=e-i|0;if(c[L+16>>2]|0){c[b+256>>2]=C;c[b+256+4>>2]=z;c[b+256+8>>2]=j;vpb(525816,b+256|0)|0}if((j|0)>0){e=e+-2-i|0;g=j;while(1){C=c[L>>2]|0;A=c[C+8>>2]|0;f=a[(c[C>>2]|0)+A>>0]|0;c[C+8>>2]=A+1;if(c[L+16>>2]|0){c[b+272>>2]=f&255;vpb(525774,b+272|0)|0}if((g|0)>1)g=g+-1|0;else break}e=e-j+2|0}else e=f;c[L+56>>2]=B;n=D;m=R;t=e;l=Y;k=ca;j=248;break c}case 255:{g=0;f=0;do{A=a[J+h>>0]|0;h=h+1|0;c[y>>2]=h;f=f+1|0;g=A&127|g<<7}while((f|0)<4&(A&128|0)!=0);c[L+56>>2]=g;e=e-f|0;f=(g|0)>31?31:g;if(f){mBb(b+704|0,J+h|0,f|0)|0;c[y>>2]=(c[y>>2]|0)+f;e=e-f|0}a[b+704+f>>0]=0;if((g|0)>31){f=(-2-g+32|0)>-2?-2-g+32|0:-2;c[y>>2]=g+3+(c[y>>2]|0)+f+-32;f=e+-3-g-f+32|0}else f=e;c[L+56>>2]=B;e=D&255;switch(e|0){case 3:{if(c[L+16>>2]|0){c[b+280>>2]=C;c[b+280+4>>2]=z;c[b+280+8>>2]=b+704;vpb(525847,b+280|0)|0}if(a[x+59804>>0]|0){n=D;m=R;t=f;l=Y;k=ca;j=248;break c}Bnb(x+59804|0,b+704|0)|0;n=D;m=R;t=f;l=Y;k=ca;j=248;break c}case 81:{e=c[b+704>>2]|0;if(e&65280|e<<16&16711680|e>>>16&255|0)c[L+48>>2]=6e7/((e&65280|e<<16&16711680|e>>>16&255)>>>0)|0;if(c[L+16>>2]|0){B=c[L+48>>2]|0;c[b+296>>2]=C;c[b+296+4>>2]=z;c[b+296+8>>2]=B;vpb(525876,b+296|0)|0}if(!(c[x+59652>>2]|0)){e=c[L+48>>2]|0;c[x+59652>>2]=e}else{e=c[L+4>>2]|0;if(!e){WOa(L,0,255)|0;e=c[L+4>>2]|0}B=c[L+48>>2]|0;C=Xpb(1,16)|0;c[C>>2]=0;c[C+4>>2]=c[L+12>>2];a[C+8>>0]=0;a[C+8+1>>0]=0;a[C+8+2>>0]=0;a[C+8+3>>0]=0;a[C+12>>0]=4;a[C+13>>0]=B;VOa(e,C);e=c[L+48>>2]|0}n=D;m=(e|0)>(R|0)?e:R;t=f;l=Y;k=ca;j=248;break c}case 47:{if(c[L+16>>2]|0){c[b+312>>2]=C;c[b+312+4>>2]=z;vpb(525901,b+312|0)|0}if((f|0)<=0){M=D;S=R;Z=Y;da=ca;j=249;break c}c[b+320>>2]=f;rmb(b+704|0,525930,b+320|0)|0;if(((rnb(b+704|0)|0)+54|0)>>>0<=255){c[b+328>>2]=b+704;rmb(b+1016|0,525934,b+328|0)|0;c[b+336>>2]=b+1016;oob(I,525370,b+336|0)|0}M=D;S=R;Z=Y;da=ca;j=249;break c}default:{if(!(c[L+16>>2]|0)){n=D;m=R;t=f;l=Y;k=ca;j=248;break c}c[b+344>>2]=C;c[b+344+4>>2]=z;c[b+344+8>>2]=e;vpb(525989,b+344|0)|0;n=D;m=R;t=f;l=Y;k=ca;j=248;break c}}}default:{if(!(c[L+16>>2]|0)){n=D;m=R;t=e;l=Y;k=ca;j=248;break c}c[b+360>>2]=C;c[b+360+4>>2]=z;c[b+360+8>>2]=D&255;vpb(526017,b+360|0)|0;n=D;m=R;t=e;l=Y;k=ca;j=248;break c}}default:{if(!(c[L+16>>2]|0)){n=D;m=R;t=e;l=Y;k=ca;j=248;break c}c[b+376>>2]=C;c[b+376+4>>2]=z;c[b+376+8>>2]=A;c[b+376+12>>2]=D&255;vpb(526047,b+376|0)|0;n=D;m=R;t=e;l=Y;k=ca;j=248}}}if((j|0)==248){j=0;if((t|0)<1){M=n;S=m;Z=l;da=k;j=249}else{P=m;U=t;W=l;aa=k}}if((j|0)==249){j=0;if(E<<24>>24==-1&M<<24>>24==47){Q=S;X=Z;ba=da;c[b+5368>>2]=2;c[b+5372>>2]=12;break a}aa=c[L>>2]|0;G=c[aa+8>>2]|0;W=(c[aa>>2]|0)+G|0;c[b+704>>2]=d[W>>0]|d[W+1>>0]<<8|d[W+2>>0]<<16|d[W+3>>0]<<24;c[aa+8>>2]=(c[aa+8>>2]|0)+4;a[b+704+4>>0]=0;if(!(Imb(b+704|0,525326)|0)){T=S;$=Z;ea=da;c[b+5368>>2]=1;break a}c[b+392>>2]=526103;rmb(b+1016|0,525934,b+392|0)|0;c[b+400>>2]=b+1016;oob(I,525370,b+400|0)|0;c[(c[L>>2]|0)+8>>2]=G;P=S;U=2147483647;W=Z;aa=da}J=c[L>>2]|0;F=J;H=c[J+8>>2]|0;J=c[J>>2]|0;R=P;V=U;Y=W;ca=aa;fa=E}c[b+1440>>2]=F;c[b+1448>>2]=G;c[b+1520>>2]=H;c[b+2208>>2]=J;c[b+2216>>2]=K;c[b+3824>>2]=N;c[b+4184>>2]=O;c[b+4312>>2]=Q;c[b+4320>>2]=R;c[b+4344>>2]=T;c[b+4384>>2]=V;c[b+4568>>2]=X;c[b+4576>>2]=Y;c[b+4616>>2]=$;c[b+4648>>2]=ba;c[b+4656>>2]=ca;c[b+4688>>2]=ea;c[b+4696>>2]=fa;c[b+5336>>2]=j} -function bXa(b){b=b|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+80|0;q=c[b>>2]|0;r=c[b+8>>2]|0;if(!r){r=6;i=s;return r|0}k=c[b+4>>2]|0;f=c[k+12>>2]|0;a:do if((f|0)>1)j=c[k+8>>2]|0;else{e=c[k>>2]|0;g=c[k+8>>2]|0;b:do if((f|0)<=0){c:do if(e>>>0>>0){d:while(1){o=e;e=e+1|0;c[k>>2]=e;switch(d[o>>0]|0){case 26:break c;case 10:case 13:{p=8;break d}case 59:{p=9;break d}case 9:case 32:break;default:break b}if(e>>>0>=g>>>0)break c}if((p|0)==8){c[k+12>>2]=2;j=g;break a}else if((p|0)==9){c[k+12>>2]=1;break b}}while(0);c[k+12>>2]=3;j=g;break a}while(0);e:while(1){if(e>>>0>=g>>>0){p=14;break}f=e+1|0;c[k>>2]=f;switch(d[e>>0]|0){case 26:{p=14;break e}case 10:case 13:{p=13;break e}default:e=f}}if((p|0)==13){c[k+12>>2]=2;j=g;break}else if((p|0)==14){c[k+12>>2]=3;j=g;break}}while(0);c[k+12>>2]=0;e=c[k>>2]|0;f:do if(e>>>0>>0){g:while(1){f=e+1|0;c[k>>2]=f;switch(d[e>>0]|0){case 26:break f;case 59:{p=20;break g}case 9:case 32:if(f>>>0>>0){e=f;continue g}else break f;case 10:case 13:{c[k+12>>2]=2;e=f;break}default:{h=f;g=f;h:while(1){if(h>>>0>=j>>>0){p=26;break}g=h+1|0;c[k>>2]=g;switch(d[h>>0]|0){case 26:{h=g;p=26;break h}case 9:case 32:{f=0;h=g;break h}case 10:case 13:{p=24;break h}case 59:{p=25;break h}default:h=g}}if((p|0)==24){p=0;c[k+12>>2]=2;f=2;h=g}else if((p|0)==25){p=0;c[k+12>>2]=1;f=1;h=g}else if((p|0)==26){p=0;c[k+12>>2]=3;f=3}if(e|0){p=30;break g}if((f|0)==2)e=h;else{e=2;p=285;break g}}}c[k+12>>2]=0;if(e>>>0>=j>>>0)break f}if((p|0)==20){c[k+12>>2]=1;r=2;i=s;return r|0}else if((p|0)==30){if((g+~e|0)!=16){r=2;i=s;return r|0}if(pmb(e,529899,16)|0){r=2;i=s;return r|0}h=f;e=160;n=k;i:while(1){f=n+12|0;j:do if((h|0)>1)m=c[n+8>>2]|0;else{g=c[n>>2]|0;j=c[n+8>>2]|0;k:do if((h|0)<=0){l:do if(g>>>0>>0){m:while(1){o=g;g=g+1|0;c[n>>2]=g;switch(d[o>>0]|0){case 26:break l;case 10:case 13:{p=39;break m}case 59:{p=40;break m}case 9:case 32:break;default:break k}if(g>>>0>=j>>>0)break l}if((p|0)==39){p=0;c[f>>2]=2;m=j;break j}else if((p|0)==40){c[f>>2]=1;break k}}while(0);c[f>>2]=3;m=j;break j}while(0);n:while(1){if(g>>>0>=j>>>0){p=45;break}h=g+1|0;c[n>>2]=h;switch(d[g>>0]|0){case 26:{p=45;break n}case 10:case 13:{p=44;break n}default:g=h}}if((p|0)==44){p=0;c[f>>2]=2;m=j;break}else if((p|0)==45){p=0;c[f>>2]=3;m=j;break}}while(0);c[f>>2]=0;g=c[n>>2]|0;if(g>>>0>=m>>>0){p=52;break}o:while(1){h=g+1|0;c[n>>2]=h;switch(d[g>>0]|0){case 59:{p=51;break i}case 26:{p=52;break i}case 9:case 32:if(h>>>0>>0){g=h;continue o}else{p=52;break i}case 10:case 13:{c[f>>2]=2;g=h;break}default:{j=h;p:while(1){if(h>>>0>=m>>>0){p=57;break}k=h+1|0;c[n>>2]=k;switch(d[h>>0]|0){case 26:{h=k;j=k;p=57;break p}case 9:case 32:{l=0;h=k;j=k;break p}case 10:case 13:{p=55;break p}case 59:{p=56;break p}default:{j=k;h=k}}}if((p|0)==55){p=0;c[f>>2]=2;l=2;h=k;j=k}else if((p|0)==56){p=0;c[f>>2]=1;l=1;h=k;j=k}else if((p|0)==57){p=0;c[f>>2]=3;l=3}if(g|0)break o;if((l|0)==2)g=h;else break i}}c[f>>2]=0;if(g>>>0>=m>>>0){p=52;break i}}k=a[g>>0]|0;f=0;q:do{h=c[52308+(f<<2)>>2]|0;r:do if((a[h>>0]|0)==k<<24>>24)while(1){if(!(pmb(h,g,j+~g|0)|0)){p=67;break q}f=f+1|0;if((f|0)>=74)break r;h=c[52308+(f<<2)>>2]|0;if((a[h>>0]|0)!=k<<24>>24)break q}while(0);f=f+1|0}while((f|0)<74);s:do if((p|0)==67){p=0;switch(f|0){case 49:{e=n;p=145;break i}case 20:{p=282;break i}case 40:{c[s+32>>2]=3;if((cXa(b,s+32|0,1)|0)!=1){p=69;break i}switch(c[s+32+4>>2]|0){case 0:case 2:break s;default:{e=7;p=281;break i}}}case 30:{c[s>>2]=4;if((cXa(b,s,1)|0)!=1){p=281;break i}a[r>>0]=a[s+4>>0]|0;break s}case 26:{c[s>>2]=2;c[s+8>>2]=2;c[s+16>>2]=2;c[s+24>>2]=2;if((cXa(b,s,4)|0)!=4){p=281;break i}c[r+4>>2]=c[s+4>>2];c[r+8>>2]=c[s+12>>2];c[r+12>>2]=c[s+20>>2];c[r+16>>2]=c[s+28>>2];break s}case 0:{c[s>>2]=2;if((cXa(b,s,1)|0)!=1){p=281;break i}c[r+20>>2]=c[s+4>>2];break s}case 14:{c[s>>2]=2;if((cXa(b,s,1)|0)!=1){p=281;break i}c[r+24>>2]=c[s+4>>2];break s}case 45:{c[s+32>>2]=3;if((cXa(b,s+32|0,1)|0)!=1){p=283;break i}e=c[s+32+4>>2]|0;l=c[b+4>>2]|0;f=c[l+12>>2]|0;if((e|0)>0)while(1){k=e;e=e+-1|0;t:do if((f|0)>1){f=c[l>>2]|0;j=c[l+8>>2]|0}else{g=c[l>>2]|0;h=c[l+8>>2]|0;u:do if((f|0)>0)f=g;else{v:do if(g>>>0>>0){w:while(1){f=g+1|0;c[l>>2]=f;switch(d[g>>0]|0){case 26:break v;case 10:case 13:{p=88;break w}case 59:{p=89;break w}case 9:case 32:break;default:break u}if(f>>>0>>0)g=f;else break v}if((p|0)==88){p=0;c[l+12>>2]=2;j=h;break t}else if((p|0)==89){c[l+12>>2]=1;break u}}else f=g;while(0);c[l+12>>2]=3;j=h;break t}while(0);x:while(1){if(f>>>0>=h>>>0){p=94;break}g=f+1|0;c[l>>2]=g;switch(d[f>>0]|0){case 26:{f=g;p=94;break x}case 10:case 13:{p=93;break x}default:f=g}}if((p|0)==93){p=0;c[l+12>>2]=2;f=g;j=h;break}else if((p|0)==94){p=0;c[l+12>>2]=3;j=h;break}}while(0);c[l+12>>2]=0;if(f>>>0>>0)h=f;else{e=l+12|0;p=100;break i}y:while(1){f=h+1|0;c[l>>2]=f;switch(d[h>>0]|0){case 59:{p=99;break i}case 26:{e=l+12|0;p=100;break i}case 9:case 32:if(f>>>0>>0){h=f;continue y}else{e=l+12|0;p=100;break i}case 10:case 13:{c[l+12>>2]=2;break}default:{z:while(1){if(f>>>0>=j>>>0){g=f;p=105;break}g=f+1|0;c[l>>2]=g;switch(d[f>>0]|0){case 26:{p=105;break z}case 9:case 32:{f=0;break z}case 10:case 13:{p=103;break z}case 59:{p=104;break z}default:f=g}}if((p|0)==103){p=0;c[l+12>>2]=2;f=2}else if((p|0)==104){p=0;c[l+12>>2]=1;f=1}else if((p|0)==105){p=0;c[l+12>>2]=3;f=3}if(h|0)break y;if((f|0)==2)f=g;else{p=144;break i}}}c[l+12>>2]=0;if(f>>>0>>0)h=f;else{e=l+12|0;p=100;break i}}if((k|0)<=1)break}A:while(1){B:do if((f|0)>1){e=c[l>>2]|0;j=c[l+8>>2]|0}else{e=c[l>>2]|0;g=c[l+8>>2]|0;C:do if((f|0)<=0){D:do if(e>>>0>>0){E:while(1){f=e+1|0;c[l>>2]=f;switch(d[e>>0]|0){case 26:{e=f;break D}case 10:case 13:{p=115;break E}case 59:{p=116;break E}case 9:case 32:break;default:{e=f;break C}}if(f>>>0>>0)e=f;else{e=f;break D}}if((p|0)==115){p=0;c[l+12>>2]=2;e=f;j=g;break B}else if((p|0)==116){c[l+12>>2]=1;e=f;break C}}while(0);c[l+12>>2]=3;j=g;break B}while(0);F:while(1){if(e>>>0>=g>>>0){p=121;break}f=e+1|0;c[l>>2]=f;switch(d[e>>0]|0){case 26:{e=f;p=121;break F}case 10:case 13:{p=120;break F}default:e=f}}if((p|0)==120){p=0;c[l+12>>2]=2;e=f;j=g;break}else if((p|0)==121){p=0;c[l+12>>2]=3;j=g;break}}while(0);c[l+12>>2]=0;if(e>>>0>=j>>>0){e=l+12|0;p=128;break i}G:while(1){f=e+1|0;c[l>>2]=f;switch(d[e>>0]|0){case 59:{p=127;break i}case 26:{e=l+12|0;p=128;break i}case 9:case 32:if(f>>>0>>0){e=f;continue G}else{e=l+12|0;p=128;break i}case 10:case 13:{c[l+12>>2]=2;e=f;break}default:{g=f;H:while(1){if(g>>>0>=j>>>0){h=f;p=133;break}h=g+1|0;c[l>>2]=h;switch(d[g>>0]|0){case 26:{g=h;p=133;break H}case 9:case 32:{f=0;g=h;break H}case 10:case 13:{p=131;break H}case 59:{p=132;break H}default:{g=h;f=h}}}if((p|0)==131){p=0;c[l+12>>2]=2;f=2;g=h}else if((p|0)==132){p=0;c[l+12>>2]=1;f=1;g=h}else if((p|0)==133){p=0;c[l+12>>2]=3;f=3}if(e|0){k=h;break G}if((f|0)==2)e=g;else{p=144;break i}}}c[l+12>>2]=0;if(e>>>0>=j>>>0){e=l+12|0;p=128;break i}}j=a[e>>0]|0;g=0;I:while(1){h=c[52308+(g<<2)>>2]|0;J:do if((a[h>>0]|0)==j<<24>>24)while(1){if(!(pmb(h,e,k+~e|0)|0)){e=g;break I}g=g+1|0;if((g|0)>=74)break J;h=c[52308+(g<<2)>>2]|0;if((a[h>>0]|0)!=j<<24>>24)continue A}while(0);g=g+1|0;if((g|0)>=74)continue A}switch(e|0){case 17:case 20:{e=0;break s}default:{}}}}default:break s}}while(0);n=c[b+4>>2]|0;h=c[n+12>>2]|0}K:do if((p|0)==51)c[f>>2]=1;else if((p|0)==52)c[f>>2]=3;else if((p|0)==69)p=281;else if((p|0)==99){c[l+12>>2]=1;p=144}else if((p|0)==100){c[e>>2]=3;p=144}else if((p|0)==127){c[l+12>>2]=1;p=144}else if((p|0)==128){c[e>>2]=3;p=144}else if((p|0)==145){g=l;m=e;L:while(1){e=m+12|0;n=m+8|0;o=m+8|0;M:while(1){N:do if((g|0)>1){l=m;f=c[m>>2]|0;k=c[n>>2]|0}else{f=c[m>>2]|0;h=c[o>>2]|0;O:do if((g|0)<=0){P:do if(f>>>0>>0){Q:while(1){g=f+1|0;c[m>>2]=g;switch(d[f>>0]|0){case 26:{f=g;break P}case 10:case 13:{p=153;break Q}case 59:{p=154;break Q}case 9:case 32:break;default:{f=g;break O}}if(g>>>0>>0)f=g;else{f=g;break P}}if((p|0)==153){p=0;c[e>>2]=2;l=m;f=g;k=h;break N}else if((p|0)==154){c[e>>2]=1;f=g;break O}}while(0);c[e>>2]=3;l=m;k=h;break N}while(0);R:while(1){if(f>>>0>=h>>>0){p=159;break}g=f+1|0;c[m>>2]=g;switch(d[f>>0]|0){case 26:{f=g;p=159;break R}case 10:case 13:{p=158;break R}default:f=g}}if((p|0)==158){p=0;c[e>>2]=2;l=m;f=g;k=h;break}else if((p|0)==159){p=0;c[e>>2]=3;l=m;k=h;break}}while(0);c[e>>2]=0;if(f>>>0>=k>>>0){p=166;break L}S:while(1){g=f+1|0;c[l>>2]=g;switch(d[f>>0]|0){case 59:{p=165;break L}case 26:{p=166;break L}case 9:case 32:if(g>>>0>>0){f=g;continue S}else{p=166;break L}case 10:case 13:{c[e>>2]=2;f=g;break}default:{h=g;T:while(1){if(h>>>0>=k>>>0){j=g;p=171;break}j=h+1|0;c[l>>2]=j;switch(d[h>>0]|0){case 26:{h=j;p=171;break T}case 9:case 32:{g=0;h=j;break T}case 10:case 13:{p=169;break T}case 59:{p=170;break T}default:{h=j;g=j}}}if((p|0)==169){p=0;c[e>>2]=2;g=2;h=j}else if((p|0)==170){p=0;c[e>>2]=1;g=1;h=j}else if((p|0)==171){p=0;c[e>>2]=3;g=3}if(f|0){l=j;break S}if((g|0)==2)f=h;else{e=160;p=281;break K}}}c[e>>2]=0;if(f>>>0>=k>>>0){p=166;break L}}k=a[f>>0]|0;h=0;while(1){j=c[52308+(h<<2)>>2]|0;U:do if((a[j>>0]|0)==k<<24>>24)while(1){if(!(pmb(j,f,l+~f|0)|0)){e=h;break M}h=h+1|0;if((h|0)>=74)break U;j=c[52308+(h<<2)>>2]|0;if((a[j>>0]|0)!=k<<24>>24)continue M}while(0);h=h+1|0;if((h|0)>=74)continue M}}switch(e|0){case 20:case 21:{p=282;break K}case 53:{o=c[b+8>>2]|0;c[s+32>>2]=3;if((cXa(b,s+32|0,1)|0)!=1){p=183;break L}e=c[s+32+4>>2]|0;if((e|0)<0){e=160;p=281;break K}c[o+32>>2]=e;if(!e)n=o+28|0;else{c[o+28>>2]=JTa(c[b>>2]|0,20,0,e,0,s+32|0)|0;e=c[s+32>>2]|0;if(!e)n=o+28|0;else{p=281;break K}}e=-1;V:while(1){m=c[b+4>>2]|0;g=c[m+12>>2]|0;W:do if((g|0)>1){l=m;f=c[m>>2]|0;k=c[m+8>>2]|0}else{f=c[m>>2]|0;h=c[m+8>>2]|0;X:do if((g|0)<=0){Y:do if(f>>>0>>0){Z:while(1){g=f+1|0;c[m>>2]=g;switch(d[f>>0]|0){case 26:{f=g;break Y}case 10:case 13:{p=195;break Z}case 59:{p=196;break Z}case 9:case 32:break;default:{f=g;break X}}if(g>>>0>>0)f=g;else{f=g;break Y}}if((p|0)==195){p=0;c[m+12>>2]=2;l=m;f=g;k=h;break W}else if((p|0)==196){c[m+12>>2]=1;f=g;break X}}while(0);c[m+12>>2]=3;l=m;k=h;break W}while(0);_:while(1){if(f>>>0>=h>>>0){p=201;break}g=f+1|0;c[m>>2]=g;switch(d[f>>0]|0){case 26:{f=g;p=201;break _}case 10:case 13:{p=200;break _}default:f=g}}if((p|0)==200){p=0;c[m+12>>2]=2;l=m;f=g;k=h;break}else if((p|0)==201){p=0;c[m+12>>2]=3;l=m;k=h;break}}while(0);c[m+12>>2]=0;if(f>>>0>=k>>>0){e=m+12|0;p=208;break L}$:while(1){g=f+1|0;c[l>>2]=g;switch(d[f>>0]|0){case 59:{p=207;break L}case 26:{e=m+12|0;p=208;break L}case 9:case 32:if(g>>>0>>0){f=g;continue $}else{e=m+12|0;p=208;break L}case 10:case 13:{c[m+12>>2]=2;f=g;break}default:{h=g;aa:while(1){if(h>>>0>=k>>>0){j=g;p=213;break}j=h+1|0;c[l>>2]=j;switch(d[h>>0]|0){case 26:{h=j;p=213;break aa}case 9:case 32:{g=0;h=j;break aa}case 10:case 13:{p=211;break aa}case 59:{p=212;break aa}default:{h=j;g=j}}}if((p|0)==211){p=0;c[m+12>>2]=2;g=2;h=j}else if((p|0)==212){p=0;c[m+12>>2]=1;g=1;h=j}else if((p|0)==213){p=0;c[m+12>>2]=3;g=3}if(f|0){l=j;break $}if((g|0)==2)f=h;else{e=160;p=281;break K}}}c[m+12>>2]=0;if(f>>>0>=k>>>0){e=m+12|0;p=208;break L}}k=a[f>>0]|0;h=0;ba:do{j=c[52308+(h<<2)>>2]|0;ca:do if((a[j>>0]|0)==k<<24>>24)while(1){if(!(pmb(j,f,l+~f|0)|0)){f=h;p=223;break ba}h=h+1|0;if((h|0)>=74)break ca;j=c[52308+(h<<2)>>2]|0;if((a[j>>0]|0)!=k<<24>>24)break ba}while(0);h=h+1|0}while((h|0)<74);if((p|0)==223){p=0;switch(f|0){case 20:case 21:case 23:break V;case 56:break;default:{p=227;break L}}e=e+1|0;if((e|0)>=(c[o+32>>2]|0)){p=227;break L}f=c[n>>2]|0;c[s+32>>2]=3;c[s+32+8>>2]=2;c[s+32+16>>2]=2;c[s+32+24>>2]=2;c[s+32+32>>2]=2;if((cXa(b,s+32|0,5)|0)!=5){p=227;break L}c[f+(e*20|0)>>2]=c[s+32+4>>2];c[f+(e*20|0)+4>>2]=c[s+32+12>>2];c[f+(e*20|0)+8>>2]=c[s+32+20>>2];c[f+(e*20|0)+12>>2]=c[s+32+28>>2];c[f+(e*20|0)+16>>2]=c[s+32+36>>2]}}c[o+32>>2]=e+1;continue L}case 51:case 50:break;default:{e=160;p=281;break K}}o=c[b+8>>2]|0;c[s+32>>2]=3;if((cXa(b,s+32|0,1)|0)!=1){p=231;break}e=c[s+32+4>>2]|0;if((e|0)<0){e=160;p=281;break K}c[o+40>>2]=e;if(!e)n=o+36|0;else{c[o+36>>2]=JTa(c[b>>2]|0,16,0,e,0,s+32|0)|0;e=c[s+32>>2]|0;if(!e)n=o+36|0;else{p=281;break K}}e=0;da:while(1){m=c[b+4>>2]|0;g=c[m+12>>2]|0;ea:while(1){fa:do if((g|0)>1){f=c[m>>2]|0;k=c[m+8>>2]|0}else{f=c[m>>2]|0;h=c[m+8>>2]|0;ga:do if((g|0)<=0){ha:do if(f>>>0>>0){ia:while(1){g=f+1|0;c[m>>2]=g;switch(d[f>>0]|0){case 26:{f=g;break ha}case 10:case 13:{p=244;break ia}case 59:{p=245;break ia}case 9:case 32:break;default:{f=g;break ga}}if(g>>>0>>0)f=g;else{f=g;break ha}}if((p|0)==244){p=0;c[m+12>>2]=2;f=g;k=h;break fa}else if((p|0)==245){c[m+12>>2]=1;f=g;break ga}}while(0);c[m+12>>2]=3;k=h;break fa}while(0);ja:while(1){if(f>>>0>=h>>>0){p=250;break}g=f+1|0;c[m>>2]=g;switch(d[f>>0]|0){case 26:{f=g;p=250;break ja}case 10:case 13:{p=249;break ja}default:f=g}}if((p|0)==249){p=0;c[m+12>>2]=2;f=g;k=h;break}else if((p|0)==250){p=0;c[m+12>>2]=3;k=h;break}}while(0);c[m+12>>2]=0;if(f>>>0>=k>>>0){e=m+12|0;p=257;break L}ka:while(1){g=f+1|0;c[m>>2]=g;switch(d[f>>0]|0){case 59:{p=256;break L}case 26:{e=m+12|0;p=257;break L}case 9:case 32:if(g>>>0>>0){f=g;continue ka}else{e=m+12|0;p=257;break L}case 10:case 13:{c[m+12>>2]=2;f=g;break}default:{h=g;la:while(1){if(h>>>0>=k>>>0){j=g;p=262;break}j=h+1|0;c[m>>2]=j;switch(d[h>>0]|0){case 26:{h=j;p=262;break la}case 9:case 32:{g=0;h=j;break la}case 10:case 13:{p=260;break la}case 59:{p=261;break la}default:{h=j;g=j}}}if((p|0)==260){p=0;c[m+12>>2]=2;g=2;h=j}else if((p|0)==261){p=0;c[m+12>>2]=1;g=1;h=j}else if((p|0)==262){p=0;c[m+12>>2]=3;g=3}if(f|0){l=j;break ka}if((g|0)==2)f=h;else{e=160;p=281;break K}}}c[m+12>>2]=0;if(f>>>0>=k>>>0){e=m+12|0;p=257;break L}}k=a[f>>0]|0;h=0;while(1){j=c[52308+(h<<2)>>2]|0;ma:do if((a[j>>0]|0)==k<<24>>24)while(1){if(!(pmb(j,f,l+~f|0)|0))break ea;h=h+1|0;if((h|0)>=74)break ma;j=c[52308+(h<<2)>>2]|0;if((a[j>>0]|0)!=k<<24>>24)continue ea}while(0);h=h+1|0;if((h|0)>=74)continue ea}}switch(h|0){case 20:case 21:case 22:break da;case 37:case 36:case 34:break;default:{e=160;p=281;break K}}if((e|0)>=(c[o+40>>2]|0)){p=278;break L}j=c[n>>2]|0;c[s+32>>2]=5;c[s+32+8>>2]=5;c[s+32+16>>2]=3;c[s+32+24>>2]=3;g=cXa(b,s+32|0,4)|0;if((g|0)<3){p=278;break L}c[j+(e<<4)>>2]=c[s+32+4>>2];c[j+(e<<4)+4>>2]=c[s+32+12>>2];f=c[s+32+20>>2]|0;if((h|0)==37){g=f;f=0}else g=(h|0)==34&(g|0)==4?c[s+32+28>>2]|0:0;c[j+(e<<4)+8>>2]=f;c[j+(e<<4)+12>>2]=g;e=e+1|0}c[o+40>>2]=e;cnb(c[n>>2]|0,e,16,357);m=c[b+4>>2]|0;g=c[m+12>>2]|0}switch(p|0){case 165:{c[e>>2]=1;e=160;p=281;break K}case 166:{c[e>>2]=3;e=160;p=281;break K}case 183:{e=160;p=281;break K}case 207:{c[m+12>>2]=1;e=160;p=281;break K}case 208:{c[e>>2]=3;e=160;p=281;break K}case 227:{e=160;p=281;break K}case 231:{e=160;p=281;break K}case 256:{c[m+12>>2]=1;e=160;p=281;break K}case 257:{c[e>>2]=3;e=160;p=281;break K}case 278:{e=160;p=281;break K}}}while(0);if((p|0)==144){r=160;i=s;return r|0}else if((p|0)!=281)if((p|0)==282){r=0;i=s;return r|0}LTa(q,c[r+28>>2]|0);c[r+28>>2]=0;c[r+32>>2]=0;LTa(q,c[r+36>>2]|0);c[r+36>>2]=0;c[r+40>>2]=0;a[r>>0]=0;r=e;i=s;return r|0}else if((p|0)==285){i=s;return e|0}}while(0);c[k+12>>2]=3;r=2;i=s;return r|0}function cXa(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+16|0;q=c[b+4>>2]|0;if((f+-1|0)>>>0>=5){r=0;i=s;return r|0}g=0;a:while(1){n=c[e+(g<<3)>>2]|0;j=c[q+12>>2]|0;if(!n){b:do if((j|0)>0)r=11;else{h=c[q>>2]|0;k=c[q+8>>2]|0;if(h>>>0>=k>>>0){r=10;break a}c:while(1){p=h;h=h+1|0;c[q>>2]=h;switch(d[p>>0]|0){case 10:case 13:{r=8;break a}case 26:{r=10;break a}case 59:break c;case 9:case 32:break;default:{r=11;break b}}if(h>>>0>=k>>>0){r=10;break a}}c[q+12>>2]=1}while(0);if((r|0)==11){r=0;if((j|0)>1)break;h=c[q>>2]|0;k=c[q+8>>2]|0}m=h+-1|0;l=h;j=h;d:while(1){if(j>>>0>=k>>>0){h=l;j=3;break}h=j+1|0;c[q>>2]=h;switch(d[j>>0]|0){case 26:{j=3;break d}case 10:case 13:{r=30;break d}default:{l=h;j=h}}}if((r|0)==30){r=0;j=2}c[q+12>>2]=j;c[s+4>>2]=m}else{if((j|0)>0)break;h=c[q>>2]|0;l=c[q+8>>2]|0;if(h>>>0>=l>>>0){r=23;break}e:while(1){m=h;h=h+1|0;c[q>>2]=h;switch(d[m>>0]|0){case 10:case 13:{r=21;break a}case 59:{r=22;break a}case 26:{r=23;break a}case 9:case 32:break;default:{j=h;break e}}if(h>>>0>=l>>>0){r=23;break a}}h=j;f:while(1){if(j>>>0>=l>>>0){r=28;break}k=j+1|0;c[q>>2]=k;switch(d[j>>0]|0){case 26:{h=k;r=28;break f}case 9:case 32:{h=k;break f}case 10:case 13:{r=26;break f}case 59:{r=27;break f}default:{h=k;j=k}}}if((r|0)==26){r=0;c[q+12>>2]=2;h=k}else if((r|0)==27){r=0;c[q+12>>2]=1;h=k}else if((r|0)==28){r=0;c[q+12>>2]=3}c[s+4>>2]=m;if(!m){r=74;break}}k=h-m|0;g:do switch(n|0){case 1:case 0:{h=ITa(c[b>>2]|0,k,s)|0;j=e+(g<<3)+4|0;c[j>>2]=h;if(!(c[s>>2]|0)){mBb(h|0,m|0,k+-1|0)|0;a[(c[j>>2]|0)+(k+-1)>>0]=0}break}case 2:{c[e+(g<<3)+4>>2]=EWa(s+4|0,m+(k+-1)|0,0)|0;break}case 3:{p=m+(k+-1)|0;h:do if((k|0)<2)h=0;else{h=a[m>>0]|0;switch(h<<24>>24){case 43:case 45:{if((k+-1|0)==1){h=0;break h}else{k=m+1|0;o=h<<24>>24==45&1}break}default:{k=m;o=0}}i:do if(k>>>0

>>0){l=0;n=0;while(1){h=a[k>>0]|0;switch(h<<24>>24){case 0:case 12:case 9:case 10:case 13:case 32:{h=l;j=n;l=k;break i}default:{}}if(h<<24>>24<0){h=l;j=n;l=k;break i}j=a[529771+(h&127)>>0]|0;if(((h&127)+-48|0)>>>0>=10){h=l;j=n;l=k;break i}if((n|0)>214748364){h=1;j=n}else if((n|0)==214748364&j<<24>>24>7){h=1;j=214748364}else{h=l;j=(j<<24>>24)+(n*10|0)|0}k=k+1|0;if(k>>>0

>>0){l=h;n=j}else{l=k;break i}}}else{h=0;j=0;l=k}while(0);h=h<<24>>24==0?j:2147483647;h=o<<24>>24==0?h:0-h|0;j=l;if((l|0)==(m|0))h=0;else{if(l>>>0

>>0)if((a[l>>0]|0)==35){o=l+1|0;if(o>>>0>=p>>>0|(h+-2|0)>>>0>34){h=0;break}k=a[o>>0]|0;switch(k<<24>>24){case 43:case 45:{j=l+2|0;if((j|0)==(p|0)){h=0;break h}else n=k<<24>>24==45&1;break}default:{j=o;n=0}}j:do if(j>>>0

>>0){l=0;m=0;while(1){k=a[j>>0]|0;switch(k<<24>>24){case 0:case 12:case 9:case 10:case 13:case 32:{k=l;h=m;break j}default:{}}if(k<<24>>24<0){k=l;h=m;break j}k=a[529771+(k&127)>>0]|0;if(!(k<<24>>24>-1&(k<<24>>24|0)<(h|0))){k=l;h=m;break j}if((m|0)>(2147483647/(h|0)|0|0))l=1;else if((m|0)==(2147483647/(h|0)|0|0)?(k<<24>>24|0)>((2147483647%(h|0)|0)<<24>>24|0):0){l=1;m=2147483647/(h|0)|0}else m=(k<<24>>24)+(_(m,h)|0)|0;j=j+1|0;if(j>>>0>=p>>>0){k=l;h=m;break j}}}else{k=0;h=0}while(0);h=k<<24>>24==0?h:2147483647;if((j|0)==(o|0)){h=0;break}else h=n<<24>>24==0?h:0-h|0}c[s+4>>2]=j}}while(0);c[e+(g<<3)+4>>2]=h;break}case 4:{if((k+-1|0)==4)h=(pmb(m,619689,4)|0)==0;else h=0;a[e+(g<<3)+4>>0]=h&1;break}case 5:{h=c[b+12>>2]|0;if(!h){c[e+(g<<3)+4>>2]=0;break g}else{c[e+(g<<3)+4>>2]=Gi[h&255](m,k+-1|0,c[b+16>>2]|0)|0;break g}}default:{}}while(0);g=g+1|0;if((g|0)>=(f|0)){r=74;break}}if((r|0)==8)c[q+12>>2]=2;else if((r|0)==10)c[q+12>>2]=3;else if((r|0)==21)c[q+12>>2]=2;else if((r|0)==22)c[q+12>>2]=1;else if((r|0)==23)c[q+12>>2]=3;else if((r|0)==74){i=s;return g|0}c[s+4>>2]=0;r=g;i=s;return r|0}function dXa(a,b){a=a|0;b=b|0;a=c[a>>2]<<16|c[a+4>>2];b=c[b>>2]<<16|c[b+4>>2];return (a>>>0>b>>>0?1:(a>>>0>>0)<<31>>31)|0}function eXa(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;b=c[d+484>>2]|0;c[a+24>>2]=c[d+416>>2];c[a+28>>2]=c[d+420>>2];c[a+20>>2]=c[b+20>>2];c[a+16>>2]=c[b+24>>2];return 0}function fXa(a){a=a|0;c[a+16>>2]=0;c[a+16+4>>2]=0;c[a+16+8>>2]=0;c[a+16+12>>2]=0;return}function gXa(b,d){b=b|0;d=d|0;var f=0,g=0,h=0;if(d>>>0>=256){h=0;return h|0}h=vi[c[b+20>>2]&2047](e[(c[b+16>>2]|0)+(d<<1)>>1]|0)|0;g=c[b+24>>2]|0;if(!g){h=0;return h|0}b=c[b+28>>2]|0;d=0;while(1){f=c[b+(d<<2)>>2]|0;if(f|0)if((a[f>>0]|0)==(a[h>>0]|0))if(!(Imb(f,h)|0)){b=8;break}d=d+1|0;if(d>>>0>=g>>>0){d=0;b=8;break}}if((b|0)==8)return d|0;return 0}function hXa(b,d){b=b|0;d=d|0;var f=0,g=0,h=0,i=0,j=0,k=0;f=(c[d>>2]|0)+1|0;if(f>>>0>=256){k=0;b=0;c[d>>2]=k;return b|0}a:while(1){h=vi[c[b+20>>2]&2047](e[(c[b+16>>2]|0)+(f<<1)>>1]|0)|0;i=c[b+24>>2]|0;b:do if(i|0){j=c[b+28>>2]|0;g=0;while(1){k=c[j+(g<<2)>>2]|0;if(k|0)if((a[k>>0]|0)==(a[h>>0]|0))if(!(Imb(k,h)|0))break;g=g+1|0;if(g>>>0>=i>>>0)break b}if(g|0){h=11;break a}}while(0);f=f+1|0;if(f>>>0>=256){f=0;g=0;h=11;break}}if((h|0)==11){c[d>>2]=f;return g|0}return 0}function iXa(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;b=c[d+484>>2]|0;c[a+24>>2]=c[d+416>>2];c[a+28>>2]=c[d+420>>2];c[a+20>>2]=c[b+20>>2];c[a+16>>2]=c[b+28>>2];return 0}function jXa(a,b){a=a|0;b=b|0;var d=0;b=c[a>>2]|0;d=c[b+376>>2]|0;c[a+16>>2]=d;c[a+20>>2]=(c[b+380>>2]|0)-d;c[a+24>>2]=c[b+384>>2];return 0}function kXa(a){a=a|0;c[a+24>>2]=0;c[a+16>>2]=0;c[a+20>>2]=0;return}function lXa(a,b){a=a|0;b=b|0;var d=0;d=c[a+16>>2]|0;if(d>>>0>b>>>0){a=0;return a|0}if(((c[a+20>>2]|0)+d|0)>>>0<=b>>>0){a=0;return a|0}a=e[(c[a+24>>2]|0)+(b<<1)>>1]|0;return a|0}function mXa(a,d){a=a|0;d=d|0;var e=0,f=0,g=0;e=(c[d>>2]|0)+1|0;g=c[a+16>>2]|0;e=e>>>0>>0?g:e;g=(c[a+20>>2]|0)+g|0;a:do if(e>>>0>>0){f=c[a+24>>2]|0;while(1){a=b[f+(e<<1)>>1]|0;if(a<<16>>16)break a;e=e+1|0;if(e>>>0>=g>>>0){e=0;a=0;break}}}else{e=0;a=0}while(0);c[d>>2]=e;return a&65535|0}function nXa(a,b){a=a|0;b=b|0;b=c[a>>2]|0;return ti[c[(c[b+484>>2]|0)+4>>2]&63](c[b+100>>2]|0,a,c[b+416>>2]|0,358,0,b)|0}function oXa(a,b){a=a|0;b=b|0;return c[(c[a+420>>2]|0)+(b<<2)>>2]|0}function pXa(a){a=a|0;LTa(c[(c[a>>2]|0)+100>>2]|0,c[a+20>>2]|0);c[a+20>>2]=0;c[a+16>>2]=0;return}function qXa(a,b){a=a|0;b=b|0;return Xi[c[(c[(c[a>>2]|0)+484>>2]|0)+8>>2]&511](a,b)|0}function rXa(a,b){a=a|0;b=b|0;return Xi[c[(c[(c[a>>2]|0)+484>>2]|0)+12>>2]&511](a,b)|0}function sXa(b,c,e){b=b|0;c=c|0;e=e|0;var f=0,g=0,h=0;if((c|0)<=0)return;g=0;f=e&65535;while(1){h=b+g|0;e=d[h>>0]|0;a[h>>0]=e^f>>>8;g=g+1|0;if((g|0)==(c|0))break;else f=((e+f|0)*52845|0)+22719&65535}return}function tXa(a){a=a|0;return a+100|0}function uXa(a){a=a|0;return a+112|0}function vXa(a){a=a|0;return a+140|0}function wXa(b){b=b|0;var d=0,e=0,f=0;d=c[b+8>>2]|0;e=b+12|0;f=e+88|0;do{c[e>>2]=0;e=e+4|0}while((e|0)<(f|0));c[b+12>>2]=d;c[b+100>>2]=134;c[b+104>>2]=9;c[b+108>>2]=694;e=b+112|0;f=e+20|0;do{a[e>>0]=0;e=e+1|0}while((e|0)<(f|0));c[b+116>>2]=695;c[b+120>>2]=359;c[b+124>>2]=105;c[b+128>>2]=106;c[b+132>>2]=224;c[b+136>>2]=85;c[b+112>>2]=b+12;c[b+140>>2]=0;c[b+140+4>>2]=0;c[b+140+8>>2]=0;c[b+140+12>>2]=0;c[b+140+16>>2]=0;c[b+144>>2]=696;c[b+148>>2]=359;c[b+152>>2]=40;c[b+156>>2]=41;c[b+160>>2]=107;c[b+164>>2]=85;c[b+140>>2]=b+12;return 0}function xXa(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+16|0;l=HTa(a,2496,m)|0;g=c[m>>2]|0;if(g|0){d=g;c[f>>2]=l;i=m;return d|0}c[l>>2]=a;g=c[d+120>>2]|0;c[l+212>>2]=g&65535;k=b[d+124>>1]|0;if((k&255)<<24>>24){a=k&255;h=d+128|0;j=l+224|0;while(1){c[j>>2]=b[h>>1];a=a+-1|0;if(!a)break;else{h=h+2|0;j=j+12|0}}}c[l+208>>2]=(k&255)+1;c[l+8>>2]=g>>>16;if((k&65535)>>>8<<16>>16){g=(k&65535)>>>8&65535;a=d+154|0;h=l+20|0;while(1){c[h>>2]=b[a>>1];g=g+-1|0;if(!g)break;else{a=a+2|0;h=h+12|0}}}c[l+4>>2]=((k&65535)>>>8&65535)+1;h=b[d+8>>1]|0;yXa(l+412|0,h&255,d+12|0,(h&65535)>>>8&65535,d+40|0,c[d+116>>2]|0,0);h=b[d+10>>1]|0;yXa(l+412|0,h&255,d+60|0,(h&65535)>>>8&65535,d+88|0,c[d+116>>2]|0,1);h=c[d+8>>2]|0;if(!((h&255)<<24>>24))g=1;else{g=1;a=0;do{k=(e[d+12+((a|1)<<1)>>1]|0)-(e[d+12+(a<<1)>>1]|0)|0;g=(k<<16>>16|0)>(g<<16>>16|0)?k&65535:g;a=a+2|0}while(a>>>0<(h&255)>>>0)}if((h&65535)>>>8<<16>>16){a=0;do{k=(e[d+40+((a|1)<<1)>>1]|0)-(e[d+40+(a<<1)>>1]|0)|0;g=(k<<16>>16|0)>(g<<16>>16|0)?k&65535:g;a=a+2|0}while(a>>>0<((h&65535)>>>8&65535)>>>0)}if((h>>>16&255)<<24>>24){a=0;do{k=(e[d+60+((a|1)<<1)>>1]|0)-(e[d+60+(a<<1)>>1]|0)|0;g=(k<<16>>16|0)>(g<<16>>16|0)?k&65535:g;a=a+2|0}while(a>>>0<(h>>>16&255)>>>0)}if(h>>>24){a=0;do{k=(e[d+88+((a|1)<<1)>>1]|0)-(e[d+88+(a<<1)>>1]|0)|0;g=(k<<16>>16|0)>(g<<16>>16|0)?k&65535:g;a=a+2|0}while(a>>>0>>24>>>0)}k=I2a(1e3,g<<16>>16)|0;j=c[d+108>>2]|0;c[l+2476>>2]=(j|0)<(k|0)?j:k;c[l+2480>>2]=c[d+112>>2];c[l+2488>>2]=c[d+116>>2];c[l+200>>2]=0;c[l+204>>2]=0;c[l+404>>2]=0;c[l+408>>2]=0;d=c[m>>2]|0;c[f>>2]=l;i=m;return d|0}function yXa(a,d,e,f,g,h,i){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=(i|0)==0?a+516|0:a+1548|0;q=(i|0)==0?a:a+1032|0;c[q>>2]=0;c[r>>2]=0;if(d>>>0>1){i=0;o=0;a=0;while(1){if(a){l=b[e>>1]|0;j=q;a=o;n=(b[e+2>>1]|0)-l|0;m=1}else{l=b[e+2>>1]|0;j=r;a=i;n=(b[e>>1]|0)-l|0;m=0}j=j+4|0;a:do if(!a)p=16;else{while(1){k=c[j>>2]|0;if((l|0)<(k|0)){p=7;break}if((l|0)==(k|0))break;a=a+-1|0;j=j+32|0;if(!a){p=16;break a}}if((p|0)==7)while(1){p=j+(a<<5)|0;a=a+-1|0;k=j+(a<<5)|0;c[p>>2]=c[k>>2];c[p+4>>2]=c[k+4>>2];c[p+8>>2]=c[k+8>>2];c[p+12>>2]=c[k+12>>2];c[p+16>>2]=c[k+16>>2];c[p+20>>2]=c[k+20>>2];c[p+24>>2]=c[k+24>>2];c[p+28>>2]=c[k+28>>2];if(!a){p=16;break a}}a=c[j+4>>2]|0;if((n|0)<0){if((n|0)>=(a|0)){a=o;break}c[j+4>>2]=n;a=o;break}else{if((n|0)<=(a|0)){a=o;break}c[j+4>>2]=n;a=o;break}}while(0);do if((p|0)==16){p=0;c[j>>2]=l;c[j+4>>2]=n;if(!(m<<24>>24)){i=i+1|0;a=o;break}else{a=o+1|0;break}}while(0);d=d+-2|0;if(d>>>0<=1){m=a;break}else{e=e+4|0;o=a;a=1}}}else{i=0;m=0}c[q>>2]=m;c[r>>2]=i;if(f>>>0>1)while(1){j=b[g+2>>1]|0;k=(b[g>>1]|0)-j|0;b:do if(!i){a=r+4|0;p=33}else{a=i;e=r+4|0;while(1){d=c[e>>2]|0;if((j|0)<(d|0)){p=24;break}if((j|0)==(d|0))break;a=a+-1|0;e=e+32|0;if(!a){a=e;p=33;break b}}if((p|0)==24)while(1){p=e+(a<<5)|0;a=a+-1|0;o=e+(a<<5)|0;c[p>>2]=c[o>>2];c[p+4>>2]=c[o+4>>2];c[p+8>>2]=c[o+8>>2];c[p+12>>2]=c[o+12>>2];c[p+16>>2]=c[o+16>>2];c[p+20>>2]=c[o+20>>2];c[p+24>>2]=c[o+24>>2];c[p+28>>2]=c[o+28>>2];if(!a){a=e;p=33;break b}}a=c[e+4>>2]|0;if((k|0)<0){if((k|0)>=(a|0))break;c[e+4>>2]=k;break}else{if((k|0)<=(a|0))break;c[e+4>>2]=k;break}}while(0);if((p|0)==33){p=0;c[a>>2]=j;c[a+4>>2]=k;i=i+1|0}f=f+-2|0;if(f>>>0<=1){l=i;break}else g=g+4|0}else l=i;c[q>>2]=m;c[r>>2]=l;f=(m|0)==0;if(!f){j=m;k=q+4|0;while(1){if(j>>>0>1){a=c[k>>2]|0;i=(c[k+32>>2]|0)-a|0;e=k+4|0;d=c[e>>2]|0;if((d|0)>(i|0))c[e>>2]=i;else i=d}else{a=c[k>>2]|0;i=c[k+4>>2]|0}c[k+12>>2]=a;c[k+8>>2]=i+a;j=j+-1|0;if(!j)break;else k=k+32|0}}g=(l|0)==0;if(!g){d=l;k=r+4|0;while(1){j=c[k>>2]|0;if(d>>>0>1){i=j-(c[k+32>>2]|0)|0;a=k+4|0;e=c[a>>2]|0;if((e|0)<(i|0))c[a>>2]=i;else i=e}else i=c[k+4>>2]|0;c[k+8>>2]=j;c[k+12>>2]=i+j;d=d+-1|0;if(!d)break;else k=k+32|0}}if(!f){c[q+16>>2]=(c[q+16>>2]|0)-h;e=m+-1|0;a=c[q+12>>2]|0;if(!e)i=q+4|0;else{i=q+-28+(m<<3<<2)|0;f=q+4|0;while(1){d=f+44|0;j=c[d>>2]|0;k=j-a|0;if((k|0)<(h<<1|0)){q=((k|0)/2|0)+a|0;c[d>>2]=q;c[f+8>>2]=q}else{c[f+8>>2]=a+h;c[d>>2]=j-h}e=e+-1|0;a=c[f+40>>2]|0;if(!e)break;else f=f+32|0}}c[i+8>>2]=a+h}if(g)return;c[r+16>>2]=(c[r+16>>2]|0)-h;e=l+-1|0;a=c[r+12>>2]|0;if(!e)i=r+4|0;else{i=r+-28+(l<<3<<2)|0;f=r+4|0;while(1){k=f+44|0;j=c[k>>2]|0;d=j-a|0;if((d|0)<(h<<1|0)){a=((d|0)/2|0)+a|0;d=a}else{d=a+h|0;a=j-h|0}c[k>>2]=a;c[f+8>>2]=d;e=e+-1|0;a=c[f+40>>2]|0;if(!e)break;else f=f+32|0}}c[i+8>>2]=a+h;return}function zXa(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0;if((c[b+200>>2]|0)==(d|0)){if((c[b+204>>2]|0)!=(f|0))h=3}else h=3;if((h|0)==3){c[b+200>>2]=d;c[b+204>>2]=f;f=c[b+4>>2]|0;if(f|0){h=H2a(c[b+8>>2]|0,d)|0;c[b+12>>2]=h;c[b+16>>2]=h+32&-64;if(f+-1|0){f=f+-1|0;h=b+20|0;while(1){i=H2a(c[h>>2]|0,d)|0;j=c[b+12>>2]|0;i=(((i-j|0)<0?0-(i-j)|0:i-j|0)|0)<128?j:i;c[h+4>>2]=i;c[h+8>>2]=i+32&-64;f=f+-1|0;if(!f)break;else h=h+12|0}}}}if((c[b+404>>2]|0)==(e|0))if((c[b+408>>2]|0)==(g|0))return;c[b+404>>2]=e;c[b+408>>2]=g;f=c[b+208>>2]|0;if(f|0){j=H2a(c[b+212>>2]|0,e)|0;c[b+216>>2]=j;c[b+220>>2]=j+32&-64;if(f+-1|0){f=f+-1|0;h=b+224|0;while(1){j=H2a(c[h>>2]|0,e)|0;i=c[b+216>>2]|0;j=(((j-i|0)<0?0-(j-i)|0:j-i|0)|0)<128?i:j;c[h+4>>2]=j;c[h+8>>2]=j+32&-64;f=f+-1|0;if(!f)break;else h=h+12|0}}}f=c[b+2476>>2]|0;if((e|0)>34359737)f=((f<<3|0)/125|0|0)>(e|0);else f=(e*125|0)<(f<<3|0);a[b+2492>>0]=f&1;f=c[b+2480>>2]|0;a:do if((f|0)>0){h=f;while(1){if((H2a(h,e)|0)<=32){f=h;break a}f=h+-1|0;if((h|0)>1)h=f;else break}}while(0);c[b+2484>>2]=f;d=0;do{switch(d|0){case 0:{h=b+412|0;break}case 1:{h=b+928|0;break}case 2:{h=b+1444|0;break}default:h=b+1960|0}f=c[h>>2]|0;if(f|0){h=h+4|0;while(1){c[h+28>>2]=(H2a(c[h+8>>2]|0,e)|0)+g;c[h+24>>2]=(H2a(c[h+12>>2]|0,e)|0)+g;j=h+16|0;c[j>>2]=(H2a(c[h>>2]|0,e)|0)+g;c[h+20>>2]=H2a(c[h+4>>2]|0,e)|0;c[j>>2]=(c[j>>2]|0)+32&-64;f=f+-1|0;if(!f)break;else h=h+32|0}}d=d+1|0}while((d|0)!=4);f=c[b+412>>2]|0;if(f|0){g=b+416|0;while(1){h=c[b+1444>>2]|0;b:do if(h|0){d=b+1448|0;while(1){j=(c[g>>2]|0)-(c[d>>2]|0)|0;if((H2a((j|0)<0?0-j|0:j,e)|0)<64){h=d;break}h=h+-1|0;if(!h)break b;else d=d+32|0}c[g+28>>2]=c[h+28>>2];c[g+24>>2]=c[h+24>>2];c[g+16>>2]=c[h+16>>2];c[g+20>>2]=c[h+20>>2]}while(0);f=f+-1|0;if(!f)break;else g=g+32|0}}f=c[b+928>>2]|0;if(!f)return;g=b+932|0;while(1){h=c[b+1960>>2]|0;c:do if(h|0){d=b+1964|0;while(1){j=(c[g>>2]|0)-(c[d>>2]|0)|0;if((H2a((j|0)<0?0-j|0:j,e)|0)<64){h=d;break}h=h+-1|0;if(!h)break c;else d=d+32|0}c[g+28>>2]=c[h+28>>2];c[g+24>>2]=c[h+24>>2];c[g+16>>2]=c[h+16>>2];c[g+20>>2]=c[h+20>>2]}while(0);f=f+-1|0;if(!f)break;else g=g+32|0}return}function AXa(a){a=a|0;var b=0;if(!a)return;b=c[a>>2]|0;c[a+4>>2]=0;c[a+208>>2]=0;c[a+412>>2]=0;c[a+928>>2]=0;c[a+1444>>2]=0;c[a+1960>>2]=0;LTa(b,a);return}function BXa(a){a=a|0;c[a+4>>2]=0;c[a+12>>2]=1;c[a+16>>2]=0;c[a+28>>2]=0;c[a+40>>2]=0;c[a+52>>2]=0;c[a+64>>2]=0;c[a+76>>2]=0;return}function CXa(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[a+4>>2]|0;if(d|0){a=d;return a|0}d=c[a>>2]|0;e=DXa(a+16|0,b,d)|0;if(e|0){a=e;return a|0}a=DXa(a+52|0,b,d)|0;return a|0}function DXa(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+16|0;g=c[b+12>>2]|0;if(g|0)c[(c[b+20>>2]|0)+(g<<4)+-16+12>>2]=e;e=c[b+24>>2]|0;if((e|0)<=1){p=0;i=q;return p|0}g=e;o=e;a:while(1){e=o+-2|0;o=o+-1|0;b:do if((e|0)>-1){n=c[b+32>>2]|0;l=c[n+(o<<4)+8>>2]|0;m=c[n+(o<<4)>>2]|0;c:while(1){j=c[n+(e<<4)+8>>2]|0;h=c[n+(e<<4)>>2]|0;h=m>>>0>>0?m:h;if(h>>>0>7){k=l;do{if((a[j>>0]&a[k>>0])<<24>>24)break c;k=k+1|0;j=j+1|0;h=h+-8|0}while(h>>>0>7)}else k=l;if(h|0)if(a[j>>0]&a[k>>0]&255&~(255>>>h)|0)break;if((e|0)>0)e=e+-1|0;else break b}k=e>>>0>o>>>0;l=k?e:o;k=k?o:e;if(k>>>0>>0&l>>>0>>0){h=c[n+(k<<4)>>2]|0;j=c[n+(l<<4)>>2]|0;if(j|0){if(j>>>0>h>>>0){g=((c[n+(k<<4)+4>>2]|0)+7|0)>>>3;c[q>>2]=0;if((j+7|0)>>>3>>>0>g>>>0){c[n+(k<<4)+8>>2]=JTa(f,1,g,((j+7|0)>>>3)+7&1073741816,c[n+(k<<4)+8>>2]|0,q)|0;g=c[q>>2]|0;if(g|0)break a;c[n+(k<<4)+4>>2]=(((j+7|0)>>>3)+7&1073741816)<<3;e=n+(k<<4)+8|0}else e=n+(k<<4)+8|0;g=h;do{if((c[n+(k<<4)>>2]|0)>>>0>g>>>0){m=(c[e>>2]|0)+(g>>>3)|0;a[m>>0]=(d[m>>0]|0)&(128>>>(g&7)^255)}g=g+1|0}while((g|0)!=(j|0));g=(j+7|0)>>>3}else g=(j+7|0)>>>3;if(g|0){h=c[n+(l<<4)+8>>2]|0;e=c[n+(k<<4)+8>>2]|0;while(1){a[e>>0]=a[h>>0]|a[e>>0];g=g+-1|0;if(!g)break;else{h=h+1|0;e=e+1|0}}}}c[n+(l<<4)>>2]=0;c[n+(l<<4)+12>>2]=0;g=c[b+24>>2]|0;if((g+~l|0)>0){c[q>>2]=c[n+(l<<4)>>2];c[q+4>>2]=c[n+(l<<4)+4>>2];c[q+8>>2]=c[n+(l<<4)+8>>2];c[q+12>>2]=c[n+(l<<4)+12>>2];nBb(n+(l<<4)|0,n+(l<<4)+16|0,g+~l<<4|0)|0;g=n+(l<<4)+(g+~l<<4)|0;c[g>>2]=c[q>>2];c[g+4>>2]=c[q+4>>2];c[g+8>>2]=c[q+8>>2];c[g+12>>2]=c[q+12>>2];g=c[b+24>>2]|0}g=g+-1|0;c[b+24>>2]=g}}while(0);if((o|0)<=1){g=0;p=33;break}}if((p|0)==33){i=q;return g|0}p=g;i=q;return p|0}function EXa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=D2a(c[d>>2]|0)|0;d=D2a(c[d+4>>2]|0)|0;if(c[a+4>>2]|0)return;d=FXa(a+16+((b>>>0>1?(b|0)!=0&1:b)*36|0)|0,e>>16,d>>16,c[a>>2]|0,0)|0;if(!d)return;c[a+4>>2]=d;return}function FXa(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+16|0;if((f|0)<0){n=0;e=((f|0)==-21?-21:0)+e|0;m=(f|0)==-21?3:1}else{n=f;m=0}if(h|0)c[h>>2]=-1;l=c[b>>2]|0;f=c[b+8>>2]|0;a:do if(!l){k=0;o=9}else{j=f;k=0;while(1){if((c[j>>2]|0)==(e|0))if((c[j+4>>2]|0)==(n|0)){m=k;break a}k=k+1|0;if(k>>>0>>0)j=j+12|0;else{o=9;break}}}while(0);if((o|0)==9){j=c[b+4>>2]|0;if((l+1|0)>>>0>=j>>>0){c[p>>2]=0;do if(j>>>0<(l+1|0)>>>0){f=JTa(g,12,j,l+8&-8,f,p)|0;c[b+8>>2]=f;j=c[p>>2]|0;if(!j){c[b+4>>2]=l+8&-8;break}h=j;i=p;return h|0}while(0)}j=f+((l+1|0)*12|0)+-12|0;c[b>>2]=l+1;c[j>>2]=e;c[j+4>>2]=n;c[j+8>>2]=m;m=k}e=c[b+12>>2]|0;if(!e){do if(!(c[b+16>>2]|0)){c[p>>2]=0;e=JTa(g,16,0,8,c[b+20>>2]|0,p)|0;c[b+20>>2]=e;f=c[p>>2]|0;if(!f){c[b+16>>2]=8;break}h=f;i=p;return h|0}else e=c[b+20>>2]|0;while(0);c[e>>2]=0;c[e+12>>2]=0;c[b+12>>2]=1;o=24}else{e=(c[b+20>>2]|0)+(e<<4)+-16|0;if((c[e>>2]|0)>>>0<=m>>>0)o=24}if((o|0)==24){j=m+1|0;k=e+4|0;f=((c[k>>2]|0)+7|0)>>>3;l=(m+8|0)>>>3;c[p>>2]=0;do if(l>>>0>f>>>0){o=e+8|0;c[o>>2]=JTa(g,1,f,l+7&1073741816,c[o>>2]|0,p)|0;f=c[p>>2]|0;if(!f){c[k>>2]=(l+7&1073741816)<<3;break}h=f;i=p;return h|0}while(0);c[e>>2]=j}g=(c[e+8>>2]|0)+(m>>>3)|0;a[g>>0]=d[g>>0]|0|128>>>(m&7);if(!h){h=0;i=p;return h|0}c[h>>2]=m;h=0;i=p;return h|0}function GXa(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+16|0;if(c[b+4>>2]|0){i=q;return}p=c[b>>2]|0;k=e>>>0>1?(e|0)!=0&1:e;a:do if((c[b+12>>2]|0)==1){e=(D2a(c[f>>2]|0)|0)>>16;e=FXa(b+16+(k*36|0)|0,e,(D2a(c[f+4>>2]|0)|0)>>16,p,q)|0;if(!e){e=(D2a(c[f+8>>2]|0)|0)>>16;e=FXa(b+16+(k*36|0)|0,e,(D2a(c[f+12>>2]|0)|0)>>16,p,q+4|0)|0;if(!e){e=(D2a(c[f+16>>2]|0)|0)>>16;e=FXa(b+16+(k*36|0)|0,e,(D2a(c[f+20>>2]|0)|0)>>16,p,q+8|0)|0;if(!e){l=c[q>>2]|0;m=c[q+4>>2]|0;n=c[q+8>>2]|0;j=c[b+16+(k*36|0)+24>>2]|0;b:do if(!j)o=13;else{h=j;f=c[b+16+(k*36|0)+32>>2]|0;while(1){e=f;g=c[e>>2]|0;if(g>>>0>l>>>0)if((d[(c[e+8>>2]|0)+(l>>3)>>0]|0)&128>>>(l&7)|0)break b;if(g>>>0>m>>>0)if((d[(c[e+8>>2]|0)+(m>>3)>>0]|0)&128>>>(m&7)|0)break b;if(g>>>0>n>>>0)if((d[(c[e+8>>2]|0)+(n>>3)>>0]|0)&128>>>(n&7)|0)break b;h=h+-1|0;if(!h){o=13;break}else f=e+16|0}}while(0);if((o|0)==13){e=c[b+16+(k*36|0)+28>>2]|0;do if((j+1|0)>>>0>e>>>0){c[q+12>>2]=0;f=JTa(p,16,e,j+8&-8,c[b+16+(k*36|0)+32>>2]|0,q+12|0)|0;c[b+16+(k*36|0)+32>>2]=f;e=c[q+12>>2]|0;if(!e){c[b+16+(k*36|0)+28>>2]=j+8&-8;e=f;break}else break a}else e=c[b+16+(k*36|0)+32>>2]|0;while(0);f=e+(j+1<<4)+-16|0;c[f>>2]=0;c[f+12>>2]=0;c[b+16+(k*36|0)+24>>2]=j+1}if((l|0)>-1){g=f;if((c[g>>2]|0)>>>0<=l>>>0){e=((c[g+4>>2]|0)+7|0)>>>3;c[q+12>>2]=0;do if((l+8|0)>>>3>>>0>e>>>0){c[g+8>>2]=JTa(p,1,e,((l+8|0)>>>3)+7&1073741816,c[g+8>>2]|0,q+12|0)|0;e=c[q+12>>2]|0;if(!e){c[g+4>>2]=(((l+8|0)>>>3)+7&1073741816)<<3;break}else break a}while(0);c[g>>2]=l+1}k=(c[g+8>>2]|0)+(l>>>3)|0;a[k>>0]=d[k>>0]|0|128>>>(l&7)}if((m|0)>-1){if((c[f>>2]|0)>>>0<=m>>>0){e=((c[f+4>>2]|0)+7|0)>>>3;c[q+12>>2]=0;do if((m+8|0)>>>3>>>0>e>>>0){c[f+8>>2]=JTa(p,1,e,((m+8|0)>>>3)+7&1073741816,c[f+8>>2]|0,q+12|0)|0;e=c[q+12>>2]|0;if(!e){c[f+4>>2]=(((m+8|0)>>>3)+7&1073741816)<<3;break}else break a}while(0);c[f>>2]=m+1}l=(c[f+8>>2]|0)+(m>>>3)|0;a[l>>0]=d[l>>0]|0|128>>>(m&7);if((n|0)>-1){h=f;g=f;o=37}}else if((n|0)>-1){g=f;h=g;o=37}if((o|0)==37){if((c[g>>2]|0)>>>0<=n>>>0){f=h+4|0;e=((c[f>>2]|0)+7|0)>>>3;c[q+12>>2]=0;do if((n+8|0)>>>3>>>0>e>>>0){o=h+8|0;c[o>>2]=JTa(p,1,e,((n+8|0)>>>3)+7&1073741816,c[o>>2]|0,q+12|0)|0;e=c[q+12>>2]|0;if(!e){c[f>>2]=(((n+8|0)>>>3)+7&1073741816)<<3;break}else break a}while(0);c[g>>2]=n+1}b=(c[h+8>>2]|0)+(n>>>3)|0;a[b>>0]=d[b>>0]|0|128>>>(n&7)}i=q;return}}}}else e=6;while(0);c[b+4>>2]=e;i=q;return}function HXa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+16|0;if(c[a+4>>2]|0){i=h;return}g=c[a>>2]|0;a:do if((c[a+12>>2]|0)==1){f=c[a+28>>2]|0;if(f|0)c[(c[a+36>>2]|0)+(f<<4)+-16+12>>2]=b;d=c[a+32>>2]|0;do if((f+1|0)>>>0>d>>>0){c[h>>2]=0;e=JTa(g,16,d,f+8&-8,c[a+36>>2]|0,h)|0;c[a+36>>2]=e;d=c[h>>2]|0;if(!d){c[a+32>>2]=f+8&-8;d=e;break}else break a}else d=c[a+36>>2]|0;while(0);e=d+(f+1<<4)+-16|0;c[e>>2]=0;c[e+12>>2]=0;c[a+28>>2]=f+1;f=c[a+64>>2]|0;if(f|0)c[(c[a+72>>2]|0)+(f<<4)+-16+12>>2]=b;d=c[a+68>>2]|0;do if((f+1|0)>>>0>d>>>0){c[h>>2]=0;e=JTa(g,16,d,f+8&-8,c[a+72>>2]|0,h)|0;c[a+72>>2]=e;d=c[h>>2]|0;if(!d){c[a+68>>2]=f+8&-8;d=e;break}else break a}else d=c[a+72>>2]|0;while(0);g=d+(f+1<<4)+-16|0;c[g>>2]=0;c[g+12>>2]=0;c[a+64>>2]=f+1;i=h;return}else d=6;while(0);c[a+4>>2]=d;i=h;return}function IXa(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=i;i=i+208|0;if(!(b[f+2>>1]|0)){g=0;i=B;return g|0}l=c[f>>2]|0;if(!((l&65535)<<16>>16)){g=0;i=B;return g|0}j=B;k=j+128|0;do{c[j>>2]=0;j=j+4|0}while((j|0)<(k|0));y=c[g>>2]|0;c[B+16>>2]=y;c[B+8>>2]=JTa(y,40,0,l>>16,0,B+136|0)|0;k=c[B+136>>2]|0;if(!k){j=JTa(y,8,0,b[f>>1]|0,0,B+136|0)|0;c[B+12>>2]=j;k=c[B+136>>2]|0;if(!k){s=b[f+2>>1]|0;c[B>>2]=s<<16>>16;q=b[f>>1]|0;c[B+4>>2]=q<<16>>16;v=c[B+8>>2]|0;if(q<<16>>16){r=c[f+12>>2]|0;n=0;p=0;while(1){k=b[r+(p<<1)>>1]|0;o=n;n=k+1|0;l=n-o|0;c[j>>2]=v+(o*40|0);c[j+4>>2]=l;if((n|0)!=(o|0)){c[v+(o*40|0)>>2]=v+(n*40|0)+-40;c[v+(o*40|0)+8>>2]=j;if(l>>>0>1){m=v+(o*40|0)|0;do{z=m;m=m+40|0;c[z+4>>2]=m;c[m>>2]=z;c[z+48>>2]=j;l=l+-1|0}while(l>>>0>1)}else k=o;c[v+(k*40|0)+4>>2]=v+(o*40|0)}p=p+1|0;if(p>>>0>=q<<16>>16>>>0)break;else j=j+8|0}}u=c[f+4>>2]|0;if(!(s<<16>>16)){c[B+20>>2]=f;c[B+24>>2]=g}else{s=0;t=v;while(1){j=((c[t>>2]|0)-v|0)/40|0;m=((c[t+4>>2]|0)-v|0)/40|0;if(!(a[(c[f+8>>2]|0)+s>>0]&1))c[t+12>>2]=1;l=c[u+(s<<3)>>2]|0;r=l-(c[u+(j<<3)>>2]|0)|0;n=c[u+(s<<3)+4>>2]|0;q=n-(c[u+(j<<3)+4>>2]|0)|0;j=(r|0)<0?0-r|0:r;k=(q|0)<0?0-q|0:q;if((k*12|0)<(j|0))p=r>>31&-4|2;else if((j*12|0)<(k|0))p=(q>>31&2)+-1|0;else p=4;a[t+20>>0]=p;o=(c[u+(m<<3)>>2]|0)-l|0;m=(c[u+(m<<3)+4>>2]|0)-n|0;j=(o|0)<0?0-o|0:o;k=(m|0)<0?0-m|0:m;if((k*12|0)<(j|0))k=o>>31&-4|2;else if((j*12|0)<(k|0))k=(m>>31&2)+-1|0;else k=4;a[t+21>>0]=k;l=t+12|0;j=c[l>>2]|0;do if(!(j&1)){if((p|0)==(k|0)){if((p|0)==4){if(!(N2a(r,q,o,m)|0))break;j=c[l>>2]|0}c[l>>2]=j|2}}else c[l>>2]=j|2;while(0);s=s+1|0;l=c[B>>2]|0;if(s>>>0>=l>>>0)break;else t=t+40|0}k=c[B+8>>2]|0;j=c[f+4>>2]|0;c[B+20>>2]=f;c[B+24>>2]=g;if(l|0)while(1){c[k+16>>2]=0;c[k+24>>2]=0;c[k+28>>2]=c[j>>2];c[k+32>>2]=c[j+4>>2];l=l+-1|0;if(!l)break;else{k=k+40|0;j=j+8|0}}}if(c[B+4>>2]|0){x=0;do{j=c[B+12>>2]|0;a:do if((c[j+(x<<3)+4>>2]|0)>>>0>=4){f=c[j+(x<<3)>>2]|0;j=f;do{j=c[j+4>>2]|0;if((j|0)==(f|0))break a;q=c[j+28>>2]|0;r=c[f+28>>2]|0;s=c[j+32>>2]|0;u=c[f+32>>2]|0}while((q|0)==(r|0)&(s|0)==(u|0));k=c[f>>2]|0;if((k|0)!=(f|0)){l=r;m=u;n=f;while(1){o=k+28|0;t=c[o>>2]|0;v=l-t|0;p=k+32|0;z=c[p>>2]|0;w=m-z|0;if(!((l|0)==(t|0)&(m|0)==(z|0))){t=M2a(q-r|0,s-u|0,v,w)|0;if(t|0)break}l=c[k>>2]|0;if((l|0)==(f|0))break a;n=k;k=l;l=c[o>>2]|0;m=c[p>>2]|0}u=w;l=n;while(1){m=j;k=0;while(1){j=c[m+4>>2]|0;k=(j|0)==(n|0)?1:k;o=c[j+28>>2]|0;p=c[m+28>>2]|0;q=c[j+32>>2]|0;r=c[m+32>>2]|0;if((o|0)==(p|0)&(q|0)==(r|0)){m=j;continue}s=M2a(v,u,o-p|0,q-r|0)|0;if(!s)m=j;else break}if((s^t|0)<0){do{z=l+12|0;c[z>>2]=c[z>>2]|4;l=c[l+4>>2]|0}while((l|0)!=(m|0));c[m+12>>2]=c[m+12>>2]|4}if(!k){v=o-p|0;u=q-r|0;t=s;l=m}else break}}}while(0);x=x+1|0}while(x>>>0<(c[B+4>>2]|0)>>>0)}j=JXa(B+28|0,e+16|0,e+28|0,y)|0;c[B+136>>2]=j;if(!j){k=JXa(B+68|0,e+52|0,e+64|0,y)|0;if(!k){z=c[B+24>>2]|0;e=c[z+200>>2]|0;z=c[z+404>>2]|0;j=H2a(c[g+416>>2]|0,z)|0;if((j+32&-64|0)==0|(j|0)==(j+32&-64|0))y=1;else{k=F2a(z,j+32&-64,j)|0;if((j+32&-64|0)<(j|0))j=e-((e|0)/50|0)|0;else j=e;zXa(c[B+24>>2]|0,j,k,0,0);y=0}a[B+120>>0]=1;a[B+121>>0]=1;a[B+122>>0]=(h|1|0)==3&1;a[B+123>>0]=((h|0)==2|(h|0)==4)&1;a[B+124>>0]=(h|0)!=1&1;x=0;while(1){t=c[B>>2]|0;u=c[B+8>>2]|0;j=c[(c[B+20>>2]|0)+4>>2]|0;if(t|0)if(!x){k=t;l=u;while(1){c[l+16>>2]=0;c[l+24>>2]=0;c[l+28>>2]=c[j>>2];c[l+32>>2]=c[j+4>>2];k=k+-1|0;if(!k)break;else{l=l+40|0;j=j+8|0}}}else{k=t;l=u;while(1){c[l+16>>2]=0;c[l+24>>2]=0;c[l+28>>2]=c[j+4>>2];c[l+32>>2]=c[j>>2];k=k+-1|0;if(!k)break;else{l=l+40|0;j=j+8|0}}}r=c[B+4>>2]|0;b:do if(!r)j=0;else{s=c[B+12>>2]|0;j=0;while(1){l=c[s+(j<<3)>>2]|0;c:do if(c[s+(j<<3)+4>>2]|0){k=l;do{k=c[k>>2]|0;if((k|0)==(l|0)){A=95;break b}}while((c[k+28>>2]|0)==(c[l+28>>2]|0));q=c[k+4>>2]|0;p=q;while(1){o=p+28|0;l=p;do{l=c[l+4>>2]|0;if((l|0)==(q|0))break c;m=c[l+28>>2]|0;n=c[o>>2]|0}while((m|0)==(n|0));if((c[k+28>>2]|0)<(n|0)){if((m|0)<(n|0)){k=p;A=80}}else if((m|0)>(n|0)){k=p;A=80}if((A|0)==80)while(1){A=0;h=k+16|0;c[h>>2]=c[h>>2]|64;k=c[k+4>>2]|0;if((k|0)==(l|0))break;else A=80}k=c[l>>2]|0;p=l}}while(0);j=j+1|0;if(j>>>0>=r>>>0){j=0;break}}}while(0);d:while(1){if((A|0)==95){A=0;j=j+1|0}if(j>>>0>=t>>>0)break;m=u+(j*40|0)|0;n=u+(j*40|0)+16|0;o=c[n>>2]|0;if(!(o&64)){A=95;continue}k=u+(j*40|0)+32|0;l=m;while(1){l=c[l>>2]|0;if((l|0)==(m|0)){A=95;continue d}p=c[l+32>>2]|0;q=c[k>>2]|0;if((p|0)!=(q|0))break}l=m;while(1){l=c[l+4>>2]|0;if((l|0)==(m|0)){A=95;continue d}k=c[l+32>>2]|0;if((k|0)!=(q|0))break}if((p|0)<(q|0)&(k|0)>(q|0)){c[n>>2]=o|128;A=95;continue}if(!((p|0)>(q|0)&(k|0)<(q|0))){A=95;continue}c[n>>2]=o|256;A=95}u=B+28+(x*40|0)|0;l=c[B+24>>2]|0;j=c[u>>2]|0;if(j){k=c[B+28+(x*40|0)+8>>2]|0;while(1){KXa(k,l,x,B);j=j+-1|0;if(!j)break;else k=k+28|0}l=c[B+24>>2]|0}s=B+28+(x*40|0)+32|0;n=c[s>>2]|0;m=c[n+8>>2]|0;n=c[n>>2]|0;w=(x|0)==0;t=w?1:2;r=I2a(32,c[l+4+(x*204|0)+196>>2]|0)|0;r=(r|0)>30?30:r;e:do if(n>>>0>1){l=c[B>>2]|0;if(!l){v=1;n=0}else{p=c[m+12>>2]|0;k=B+28+(x*40|0)+4|0;j=B+28+(x*40|0)+12|0;q=l;p=p>>>0>l>>>0?l:p;l=n;while(1){o=m+16|0;n=c[m+28>>2]|0;n=n>>>0>>0?n:q;if(n>>>0>p>>>0){A=(c[B+8>>2]|0)+(p*40|0)|0;LXa(u,c[o>>2]|0,c[m+24>>2]|0);MXa(c[k>>2]|0,c[j>>2]|0,A,n-p|0,r,t)}l=l+-1|0;if(l>>>0<=1){A=109;break e}m=o;q=c[B>>2]|0;p=n}}}else if((n|0)==1){k=B+28+(x*40|0)+4|0;j=B+28+(x*40|0)+12|0;A=109}else A=110;while(0);if((A|0)==109){h=c[B>>2]|0;f=c[B+8>>2]|0;v=c[(c[s>>2]|0)+8>>2]|0;LXa(u,c[v>>2]|0,c[v+8>>2]|0);MXa(c[k>>2]|0,c[j>>2]|0,f,h,r,t);A=110}if((A|0)==110){A=0;n=c[B>>2]|0;if(!n){v=1;n=0}else{l=n;m=c[B+8>>2]|0;while(1){do if(c[m+24>>2]|0){j=m+16|0;k=c[j>>2]|0;if(k&16|0)break;c[j>>2]=k|16}while(0);l=l+-1|0;if(!l){v=(n|0)==0;break}else m=m+40|0}}}f:do if((x|0)==1)if(v)j=0;else{j=c[B+8>>2]|0;t=n;u=j;while(1){k=b[u+20>>1]|0;switch((k&255)<<24>>24){case -2:case 2:{A=122;break}default:switch(((k&65535)>>>8&255)<<24>>24){case -2:case 2:{A=122;break}default:{}}}g:do if((A|0)==122){A=0;r=u+16|0;k=c[r>>2]|0;if(k&16|0)break;s=c[u+28>>2]|0;l=c[g+412>>2]|0;h:do if(l){p=c[g+2488>>2]|0;q=u+36|0;o=g+416|0;while(1){m=s-(c[o+12>>2]|0)|0;if((m|0)<(0-p|0))break h;do if((s|0)<=((c[o+8>>2]|0)+p|0)){if(!(a[g+2492>>0]|0))if((m|0)>(c[g+2484>>2]|0))break;c[q>>2]=c[o+24>>2];k=k|48;c[r>>2]=k}while(0);l=l+-1|0;if(!l)break;else o=o+32|0}}while(0);l=c[g+928>>2]|0;if(!l)break;p=c[g+2488>>2]|0;q=u+36|0;o=g+932+(l<<5)|0;do{m=(c[o+-24>>2]|0)-s|0;if((m|0)<(0-p|0))break g;do if((s|0)>=((c[o+-20>>2]|0)-p|0)){if(!(a[g+2492>>0]|0))if((m|0)>=(c[g+2484>>2]|0))break;c[q>>2]=c[o+-4>>2];k=k|48;c[r>>2]=k}while(0);o=o+-32|0;l=l+-1|0}while((l|0)!=0)}while(0);t=t+-1|0;if(!t){A=140;break f}else u=u+40|0}}else{j=c[B+8>>2]|0;A=140}while(0);if((A|0)==140){A=0;r=c[(c[B+24>>2]|0)+4+(x*204|0)+196>>2]|0;if(v)j=0;else{while(1){l=c[j+24>>2]|0;if(l|0){q=j+16|0;k=c[q>>2]|0;do if(!(k&512)){if(k&1024|0){c[j+36>>2]=(c[l+12>>2]|0)+(c[l+8>>2]|0);break}m=(c[j+28>>2]|0)-(c[l>>2]|0)|0;if((m|0)<1){h=c[l+8>>2]|0;c[j+36>>2]=(H2a(m,r)|0)+h;break}o=c[l+4>>2]|0;p=c[l+8>>2]|0;k=c[l+12>>2]|0;if((m|0)<(o|0)){c[j+36>>2]=(F2a(m,k,o)|0)+p;break}else{c[j+36>>2]=k+p+(H2a(m-o|0,r)|0);break}}else c[j+36>>2]=c[l+8>>2];while(0);c[q>>2]=c[q>>2]|32}n=n+-1|0;if(!n)break;else j=j+40|0}j=c[B>>2]|0}}t=c[(c[B+24>>2]|0)+4+(x*204|0)+196>>2]|0;u=c[B+16>>2]|0;q=c[B+8>>2]|0;v=q+(j*40|0)|0;do if((j|0)>0){j=0;k=q;do{j=((c[k+16>>2]|0)>>>4&1)+j|0;k=k+40|0}while(k>>>0>>0);if(j|0){if(j>>>0<17)j=B+136|0;else{j=JTa(u,4,0,j,0,B+128|0)|0;if(c[B+128>>2]|0)break}k=0;p=q;do{if(c[p+16>>2]&16){l=j+(k<<2)|0;i:do if((k|0)>0){o=c[p+28>>2]|0;while(1){m=l+-4|0;n=c[m>>2]|0;if((c[n+28>>2]|0)<=(o|0))break i;c[l>>2]=n;if(m>>>0>j>>>0)l=m;else{l=m;break}}}while(0);c[l>>2]=p;k=k+1|0}p=p+40|0}while(p>>>0>>0);s=j+(k+-1<<2)|0;do{r=q+16|0;l=c[r>>2]|0;do if(!(l&16)){m=q+12|0;n=c[m>>2]|0;if(n&2|0){o=b[q+20>>1]|0;if((o&255)<<24>>24==4)break;if((o&255)<<24>>24!=((o&65535)>>>8&255)<<24>>24)break;if(!(n&4|l&64))break;c[m>>2]=n&-3}p=c[q+28>>2]|0;do if(!k)A=178;else{l=0;do{if((c[(c[j+(l<<2)>>2]|0)+28>>2]|0)>(p|0)){A=177;break}l=l+1|0}while(l>>>0>>0);if((A|0)==177){A=0;if(!l){A=178;break}}o=c[j+(l+-1<<2)>>2]|0;l=k;while(1){if(!l){l=0;break}m=l+-1|0;if((c[(c[j+(m<<2)>>2]|0)+28>>2]|0)<(p|0))break;else l=m}if((l|0)==(k|0)){f=c[s>>2]|0;h=c[f+36>>2]|0;c[q+36>>2]=(H2a(p-(c[f+28>>2]|0)|0,t)|0)+h;break}l=c[j+(l<<2)>>2]|0;m=c[o+28>>2]|0;if((p|0)==(m|0)){c[q+36>>2]=c[o+36>>2];break}n=c[l+28>>2]|0;l=c[l+36>>2]|0;if((p|0)==(n|0)){c[q+36>>2]=l;break}else{h=c[o+36>>2]|0;c[q+36>>2]=(F2a(p-m|0,l-h|0,n-m|0)|0)+h;break}}while(0);if((A|0)==178){A=0;f=c[j>>2]|0;h=c[f+36>>2]|0;c[q+36>>2]=(H2a(p-(c[f+28>>2]|0)|0,t)|0)+h}c[r>>2]=c[r>>2]|32}while(0);q=q+40|0}while(q>>>0>>0);if((j|0)==(B+136|0))break;LTa(u,j)}}while(0);k=c[B+4>>2]|0;j=c[B+24>>2]|0;v=c[j+4+(x*204|0)+196>>2]|0;if(k|0){f=c[B+12>>2]|0;j=c[j+4+(x*204|0)+200>>2]|0;while(1){o=c[f>>2]|0;p=c[f+4>>2]|0;j:do if((p|0)>0){m=0;l=0;n=o;do{if(c[n+16>>2]&32){m=(m|0)==0?n:m;l=l+1|0}n=n+40|0}while(n>>>0<(o+(p*40|0)|0)>>>0);u=m;if(l>>>0<2){if((l|0)==1){j=c[u+36>>2]|0;j=j-(H2a(c[u+28>>2]|0,v)|0)|0}l=o;while(1){if((l|0)!=(u|0))c[l+36>>2]=(H2a(c[l+28>>2]|0,v)|0)+j;l=l+40|0;if(l>>>0>=(o+(p*40|0)|0)>>>0)break j}}l=c[u+4>>2]|0;if((l|0)==(u|0))break;else{r=u+4|0;n=u}while(1){if(!(c[l+16>>2]&32)){m=l;do m=c[m+4>>2]|0;while((c[m+16>>2]&32|0)==0);p=c[n+28>>2]|0;q=c[m+28>>2]|0;o=c[m+36>>2]|0;n=c[n+36>>2]|0;if((p|0)>(q|0)){t=o;n=n-o|0;s=q;q=p-q|0}else{t=n;n=o-n|0;s=p;q=q-p|0}if((q|0)>0){p=I2a(n,q)|0;l=c[r>>2]|0}else p=65536;o=n+t|0;do{n=(c[l+28>>2]|0)-s|0;do if((n|0)<1)n=(H2a(n,v)|0)+t|0;else if((n|0)<(q|0)){n=(H2a(n,p)|0)+t|0;break}else{n=o+(H2a(n-q|0,v)|0)|0;break}while(0);c[l+36>>2]=n;l=c[l+4>>2]|0}while((l|0)!=(m|0));if((m|0)==(u|0))break j}else m=l;r=m+4|0;l=c[r>>2]|0;if((l|0)==(u|0))break;else n=m}}while(0);k=k+-1|0;if(!k)break;else f=f+8|0}}k=c[B+8>>2]|0;n=c[B+20>>2]|0;m=c[n+4>>2]|0;n=c[n+8>>2]|0;j=c[B>>2]|0;if(j|0){o=w?32:64;if(w){l=0;while(1){c[m+(l<<3)>>2]=c[k+36>>2];if(c[k+16>>2]&16){j=n+l|0;a[j>>0]=d[j>>0]|o;j=c[B>>2]|0}l=l+1|0;if(l>>>0>=j>>>0)break;else k=k+40|0}}else{l=0;while(1){c[m+(l<<3)+4>>2]=c[k+36>>2];if(c[k+16>>2]&16){j=n+l|0;a[j>>0]=d[j>>0]|o;j=c[B>>2]|0}l=l+1|0;if(l>>>0>=j>>>0)break;else k=k+40|0}}}if(!y)zXa(c[B+24>>2]|0,e,z,0,0);x=x+1|0;if((x|0)==2){j=B+12|0;m=B;n=B+4|0;l=B+12|0;k=0;break}}}else{j=B+12|0;m=B;n=B+4|0;l=B+12|0}}else{k=j;l=B+12|0;j=B+12|0;A=56}}else{l=B+12|0;j=B+12|0;A=56}}else{l=B+12|0;j=B+12|0;A=56}if((A|0)==56){m=B;n=B+4|0}g=c[B+16>>2]|0;LTa(g,c[B+92>>2]|0);c[B+92>>2]=0;c[B+88>>2]=0;c[B+96>>2]=0;LTa(g,c[B+80>>2]|0);c[B+80>>2]=0;LTa(g,c[B+76>>2]|0);c[B+76>>2]=0;c[B+72>>2]=0;c[B+68>>2]=0;c[B+84>>2]=0;LTa(g,c[B+52>>2]|0);c[B+52>>2]=0;c[B+48>>2]=0;c[B+56>>2]=0;LTa(g,c[B+40>>2]|0);c[B+40>>2]=0;LTa(g,c[B+36>>2]|0);c[B+36>>2]=0;c[B+32>>2]=0;c[B+28>>2]=0;c[B+44>>2]=0;LTa(g,c[B+8>>2]|0);c[B+8>>2]=0;LTa(g,c[j>>2]|0);c[l>>2]=0;c[m>>2]=0;c[n>>2]=0;c[B+16>>2]=0;g=k;i=B;return g|0}function JXa(a,b,e,f){a=a|0;b=b|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=i;i=i+16|0;v=c[b>>2]|0;c[a+12>>2]=JTa(f,4,0,v<<1,0,w)|0;if(c[w>>2]|0){a=c[w>>2]|0;i=w;return a|0}c[a+8>>2]=JTa(f,28,0,v,0,w)|0;if(c[w>>2]|0){a=c[w>>2]|0;i=w;return a|0}c[a+24>>2]=JTa(f,16,0,v<<1|1,0,w)|0;if(c[w>>2]|0){a=c[w>>2]|0;i=w;return a|0}c[a>>2]=v;c[a+16>>2]=(c[a+12>>2]|0)+(v<<2);c[a+4>>2]=0;c[a+20>>2]=0;c[a+28>>2]=0;if(v|0){g=v;f=c[b+8>>2]|0;b=c[a+8>>2]|0;while(1){c[b>>2]=c[f>>2];c[b+4>>2]=c[f+4>>2];c[b+16>>2]=c[f+8>>2];g=g+-1|0;if(!g)break;else{f=f+12|0;b=b+28|0}}}if(!e)f=0;else{g=c[e+8>>2]|0;b=c[e>>2]|0;c[a+32>>2]=e;if(!b)f=0;else{f=0;while(1){u=c[g>>2]|0;if(u){j=c[g+8>>2]|0;t=0;e=0;h=0;while(1){if(!e){s=j+1|0;e=128;h=d[j>>0]|0}else s=j;if(e&h){l=c[a+8>>2]|0;r=l+(t*28|0)|0;if(v>>>0>t>>>0){j=l+(t*28|0)+16|0;k=c[j>>2]|0;if(!(k&4)){c[j>>2]=k|4;p=c[a+16>>2]|0;q=l+(t*28|0)+20|0;c[q>>2]=0;a:do if(f|0){o=c[r>>2]|0;j=(c[l+(t*28|0)+4>>2]|0)+o|0;m=f;n=p;while(1){k=c[n>>2]|0;l=c[k>>2]|0;if((j|0)>=(l|0))if(((c[k+4>>2]|0)+l|0)>=(o|0))break;m=m+-1|0;if(!m)break a;else n=n+4|0}c[q>>2]=k}while(0);if(f>>>0>>0){q=f+1|0;c[a+4>>2]=q;c[p+(f<<2)>>2]=r;f=q}}}}t=t+1|0;if((t|0)==(u|0))break;else{j=s;e=e>>1}}}b=b+-1|0;if(!b)break;else g=g+16|0}}}if((f|0)!=(v|0)&(v|0)!=0)o=0;else{a=c[w>>2]|0;i=w;return a|0}do{e=c[a+8>>2]|0;n=e+(o*28|0)|0;if(v>>>0>o>>>0){b=e+(o*28|0)+16|0;g=c[b>>2]|0;if(!(g&4)){c[b>>2]=g|4;l=c[a+16>>2]|0;m=e+(o*28|0)+20|0;c[m>>2]=0;b:do if(f|0){k=c[n>>2]|0;b=(c[e+(o*28|0)+4>>2]|0)+k|0;h=f;j=l;while(1){g=c[j>>2]|0;e=c[g>>2]|0;if((b|0)>=(e|0))if(((c[g+4>>2]|0)+e|0)>=(k|0))break;h=h+-1|0;if(!h)break b;else j=j+4|0}c[m>>2]=g}while(0);if(f>>>0>>0){u=f+1|0;c[a+4>>2]=u;c[l+(f<<2)>>2]=n;f=u}}}o=o+1|0}while((o|0)!=(v|0));a=c[w>>2]|0;i=w;return a|0}function KXa(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;q=c[d+4+(e*204|0)+196>>2]|0;if(c[b+16>>2]&8|0)return;r=c[d+4+(e*204|0)+200>>2]|0;r=(H2a(c[b>>2]|0,q)|0)+r|0;s=H2a(c[b+4>>2]|0,q)|0;a:do switch(e|0){case 0:{g=c[f+120>>2]|0;if(!((g&255)<<24>>24))t=7;else{c[b+12>>2]=s;h=b+12|0;m=(g&16711680|0)!=0;n=0;i=0;t=28}break}case 1:{if(!(a[f+121>>0]|0))t=7;else{p=(a[f+123>>0]|0)!=0;c[b+12>>2]=s;n=c[b>>2]|0;i=(c[b+4>>2]|0)+n|0;o=a[d+2492>>0]|0;g=c[d+412>>2]|0;b:do if(!g){j=2;m=0;i=0}else{j=c[d+2488>>2]|0;h=d+416|0;while(1){k=i-(c[h+12>>2]|0)|0;if((k|0)<(0-j|0)){j=2;m=0;i=0;break b}if(((c[h+8>>2]|0)+j|0)>=(i|0)){g=h;break}g=g+-1|0;if(!g){j=2;m=0;i=0;break b}else h=h+32|0}if(!(o<<24>>24))if((k|0)>(c[d+2484>>2]|0)){j=2;m=0;i=0;break}j=3;m=1;i=c[g+16>>2]|0}while(0);h=c[d+928>>2]|0;c:do if(!h){j=m;g=0}else{k=c[d+2488>>2]|0;g=d+932+(h<<5)|0;while(1){l=(c[g+-24>>2]|0)-n|0;if((l|0)<(0-k|0)){j=m;g=0;break c}h=h+-1|0;if(((c[g+-20>>2]|0)-k|0)<=(n|0))break;if(!h){j=m;g=0;break c}else g=g+-32|0}if(!(o<<24>>24))if((l|0)>=(c[d+2484>>2]|0)){j=m;g=0;break}g=c[g+-16>>2]|0}while(0);switch(j|0){case 1:{c[b+8>>2]=i-s;if(!p)break a;j=b+8|0;h=b+12|0;g=(s|0)<64?64:s+32&-64;t=50;break a}case 2:{c[b+8>>2]=g;if(!p)break a;h=b+12|0;g=(s|0)<64?64:s+32&-64;t=51;break a}case 3:{c[b+8>>2]=g;c[b+12>>2]=i-g;break a}default:{h=b+12|0;m=p;n=j;t=28;break a}}}break}default:{c[b+12>>2]=s;h=b+12|0;m=0;n=0;i=0;t=28}}while(0);if((t|0)==7){c[b+8>>2]=r;c[b+12>>2]=s;c[b+16>>2]=c[b+16>>2]|8;return}d:do if((t|0)==28){g=c[b+20>>2]|0;if(!g)l=r;else{if(!(c[g+16>>2]&8))KXa(g,d,e,f);r=c[g+8>>2]|0;l=c[g+12>>2]>>1;l=r-(s>>1)+l+(H2a((c[b>>2]|0)-((c[g+4>>2]>>1)+(c[g>>2]|0))+(c[b+4>>2]>>1)|0,q)|0)|0}c[b+8>>2]=l;c[h>>2]=s;do if(!(a[f+124>>0]|0)){j=s;g=l}else{if((s|0)<65){if((s|0)>31){j=64;g=l+(s>>1)&-64;break}g=l+32&-64;if((s|0)<=0){j=s;break}f=l+s|0;e=g-l|0;d=(f+32&-64)-f|0;j=s;g=(((e|0)<0?0-e|0:e)|0)>(((d|0)<0?0-d|0:d)|0)?f+32&-64:g;break}g=c[d+4+(e*204|0)+8>>2]|0;if((((s-g|0)<0?0-(s-g)|0:s-g|0)|0)<40)if((g|0)<48){g=48;k=48;j=0}else t=40;else{g=s;t=40}if((t|0)==40){if((g|0)>=192){j=g+32&-64;g=l;break}k=g&63;j=g&-64;if(k>>>0<10){j=g;g=l;break}if(k>>>0<32){j=j|10;g=l;break}}j=k>>>0<54?j|54:g;g=l}while(0);f=g+32|0;s=(f&-64)-g|0;f=(f+j&-64)-g-j|0;c[b+8>>2]=((((s|0)<0?0-s|0:s)|0)>(((f|0)<0?0-f|0:f)|0)?f:s)+g;c[h>>2]=j;if(m){g=(j|0)<64?64:j+32&-64;switch(n|0){case 3:break d;case 1:{j=b+8|0;t=50;break d}case 2:{t=51;break d}default:{}}s=(c[b+8>>2]|0)+(g>>1)|0;c[b+8>>2]=((g&64|0)==0?s+32&-64:s&-64|32)-(g>>1);c[h>>2]=g}}while(0);if((t|0)==50){c[j>>2]=i-g;c[h>>2]=g}else if((t|0)==51)c[h>>2]=g;c[b+16>>2]=c[b+16>>2]|8;return}function LXa(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;m=c[a>>2]|0;if(m|0){f=m;g=c[a+8>>2]|0;while(1){l=g+16|0;c[l>>2]=c[l>>2]&-5;c[g+24>>2]=-1;f=f+-1|0;if(!f)break;else g=g+28|0}}if(!b){c[a+4>>2]=0;return}f=0;l=0;g=0;h=0;while(1){if(!g){k=e+1|0;g=128;h=d[e>>0]|0}else k=e;if(g&h){i=c[a+8>>2]|0;e=i+(l*28|0)|0;i=i+(l*28|0)+16|0;j=c[i>>2]|0;if(!(j&4)){c[i>>2]=j|4;if(f>>>0>>0){c[(c[a+12>>2]|0)+(f<<2)>>2]=e;f=f+1|0}}}l=l+1|0;if((l|0)==(b|0))break;else{e=k;g=g>>1}}c[a+4>>2]=f;g=c[a+12>>2]|0;if((f|0)>1)k=1;else return;do{e=c[g+(k<<2)>>2]|0;h=c[e>>2]|0;l=k;do{b=l;l=l+-1|0;i=g+(l<<2)|0;j=c[i>>2]|0;if((c[j>>2]|0)<(h|0))break;c[g+(b<<2)>>2]=j;c[i>>2]=e}while((b|0)>1);k=k+1|0}while((k|0)!=(f|0));return}function MXa(a,d,e,f,g,h){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;if(!f)return;n=(h|0)==2?128:256;o=(h|0)==2?256:128;while(1){m=c[e+28>>2]|0;k=e+16|0;l=c[k>>2]|0;a:do if(!(l&16)){i=b[e+20>>1]|0;if(((i&65535)<<24>>24|0)==(h|0)?1:((i&65535)<<24>>24|0)==(0-h|0)){i=(i&65535)<<24>>24;p=6}else if((((i&65535)>>>8&65535)<<24>>24|0)==(h|0)?1:(((i&65535)>>>8&65535)<<24>>24|0)==(0-h|0)){i=((i&65535)>>>8&65535)<<24>>24;p=6}if((p|0)==6){p=0;if(i|0)if((i|0)==(h|0)){if(!a)break;else j=0;while(1){i=c[d+(j<<2)>>2]|0;q=m-(c[i>>2]|0)|0;j=j+1|0;if((q|0)<(g|0)&(0-q|0)<(g|0))break;if(j>>>0>=a>>>0)break a}c[k>>2]=l|528;c[e+24>>2]=i;break}else{if((i|0)!=(0-h|0)|(a|0)==0)break;else j=0;while(1){i=c[d+(j<<2)>>2]|0;q=m-(c[i>>2]|0)-(c[i+4>>2]|0)|0;j=j+1|0;if((q|0)<(g|0)&(0-q|0)<(g|0))break;if(j>>>0>=a>>>0)break a}c[k>>2]=l|1040;c[e+24>>2]=i;break}}if(l&64|0){b:do if(!(l&n)){if(!((l&o|0)==0|(a|0)==0)){j=0;while(1){i=c[d+(j<<2)>>2]|0;q=m-(c[i>>2]|0)-(c[i+4>>2]|0)|0;j=j+1|0;if((q|0)<(g|0)&(0-q|0)<(g|0))break;if(j>>>0>=a>>>0)break b}c[e+24>>2]=i;c[k>>2]=l|1040}}else{if(!a)break a;else j=0;while(1){i=c[d+(j<<2)>>2]|0;q=m-(c[i>>2]|0)|0;j=j+1|0;if((q|0)<(g|0)&(0-q|0)<(g|0))break;if(j>>>0>=a>>>0)break b}c[e+24>>2]=i;c[k>>2]=l|528}while(0);i=e+24|0;if(!((c[i>>2]|0)!=0|(a|0)==0)){l=0;while(1){j=c[d+(l<<2)>>2]|0;k=c[j>>2]|0;if((m|0)>=(k|0))if((m|0)<=((c[j+4>>2]|0)+k|0))break;l=l+1|0;if(l>>>0>=a>>>0)break a}c[i>>2]=j}}}while(0);f=f+-1|0;if(!f)break;else e=e+40|0}return}function NXa(a){a=a|0;c[a+4>>2]=0;c[a+12>>2]=2;c[a+16>>2]=0;c[a+28>>2]=0;c[a+40>>2]=0;c[a+52>>2]=0;c[a+64>>2]=0;c[a+76>>2]=0;return}function OXa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0;l=i;i=i+128|0;if((d|0)<=0){i=l;return}k=a+16+((b>>>0>1?(b|0)!=0&1:b)*36|0)|0;b=0;do{j=(d|0)>16?16:d;a:do if((j|0)>0){f=0;do{b=(c[e+(f<<2)>>2]|0)+b|0;c[l+(f<<2)>>2]=(D2a(b)|0)>>16;f=f+1|0}while((f|0)<(j<<1|0));if((j|0)>0){f=0;do{h=l+((f|1)<<2)|0;c[h>>2]=(c[h>>2]|0)-(c[l+(f<<2)>>2]|0);f=f+2|0}while((f|0)<(j<<1|0));if((c[a+4>>2]|0)==0&(j|0)>0){f=j;g=l;while(1){h=FXa(k,c[g>>2]|0,c[g+4>>2]|0,c[a>>2]|0,0)|0;if(h|0)break;if((f|0)>1){f=f+-1|0;g=g+8|0}else break a}c[a+4>>2]=h}}}while(0);d=d-j|0}while((d|0)>0);i=l;return}function PXa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;if(c[a+4>>2]|0)return;g=c[a>>2]|0;f=c[a+16>>2]|0;h=c[a+52>>2]|0;if((h+f|0)!=(d|0))return;f=QXa(a+16|0,e,h,f,b,g)|0;if(!f){f=QXa(a+52|0,e,0,h,b,g)|0;if(!f)return}c[a+4>>2]=f;return}function QXa(b,e,f,g,h,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;n=c[b+12>>2]|0;if(n|0)c[(c[b+20>>2]|0)+(n<<4)+-16+12>>2]=h;k=c[b+16>>2]|0;do if((n+1|0)>>>0>k>>>0){c[o>>2]=0;l=JTa(j,16,k,n+8&-8,c[b+20>>2]|0,o)|0;c[b+20>>2]=l;h=c[o>>2]|0;if(!h){c[b+16>>2]=n+8&-8;h=l;m=l;k=n+8&-8;break}f=h;i=o;return f|0}else{l=c[b+20>>2]|0;h=l;m=l}while(0);m=m+(n+1<<4)+-16|0;c[m>>2]=0;c[m+12>>2]=0;c[b+12>>2]=n+1;if(!(n+1|0)){do if(!k){c[o>>2]=0;h=JTa(j,16,0,8,l,o)|0;c[b+20>>2]=h;k=c[o>>2]|0;if(!k){c[b+16>>2]=8;break}f=k;i=o;return f|0}while(0);c[h>>2]=0;c[h+12>>2]=0;c[b+12>>2]=1}else h=h+(n+1<<4)+-16|0;l=h+4|0;k=((c[l>>2]|0)+7|0)>>>3;c[o>>2]=0;do if((g+7|0)>>>3>>>0>k>>>0){m=h+8|0;c[m>>2]=JTa(j,1,k,((g+7|0)>>>3)+7&1073741816,c[m>>2]|0,o)|0;k=c[o>>2]|0;if(!k){c[l>>2]=(((g+7|0)>>>3)+7&1073741816)<<3;k=m;break}f=k;i=o;return f|0}else k=h+8|0;while(0);c[h>>2]=g;if(!g){f=0;i=o;return f|0}n=e+(f>>>3)|0;h=128>>>(f&7);m=128;l=c[k>>2]|0;while(1){a[l>>0]=(((d[n>>0]|0)&h|0)==0?0:m)|(d[l>>0]|0)&(m^255);h=h>>1;k=m>>1;g=g+-1|0;if(!g){h=0;break}else{n=(h|0)==0?n+1|0:n;h=(h|0)==0?128:h;m=(k|0)==0?128:k;l=(k|0)==0?l+1|0:l}}i=o;return h|0}function RXa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;if(c[a+4>>2]|0)return;e=c[a>>2]|0;f=c[a+16>>2]|0;g=c[a+52>>2]|0;if((g+f|0)!=(b|0))return;b=QXa(a+16|0,d,0,f,0,e)|0;if(!b){b=QXa(a+52|0,d,f,g,0,e)|0;if(!b)return}c[a+4>>2]=b;return}function SXa(a){a=a|0;var b=0;c[a+112>>2]=0;c[a+140>>2]=0;b=c[a+12>>2]|0;TXa(a+28|0,b);TXa(a+64|0,b);c[a+16>>2]=0;c[a+12>>2]=0;return}function TXa(a,b){a=a|0;b=b|0;var d=0,e=0;e=c[a+28>>2]|0;d=c[a+32>>2]|0;if(e){while(1){LTa(b,c[d+8>>2]|0);c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;c[d+12>>2]=0;e=e+-1|0;if(!e)break;else d=d+16|0}d=c[a+32>>2]|0}LTa(b,d);c[a+32>>2]=0;c[a+24>>2]=0;c[a+28>>2]=0;e=c[a+16>>2]|0;d=c[a+20>>2]|0;if(e){while(1){LTa(b,c[d+8>>2]|0);c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;c[d+12>>2]=0;e=e+-1|0;if(!e)break;else d=d+16|0}d=c[a+20>>2]|0}LTa(b,d);c[a+20>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;LTa(b,c[a+8>>2]|0);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0;return}function UXa(b){b=b|0;var c=0,e=0,f=0,g=0,h=0;e=a[b>>0]|0;a:do if(e<<24>>24==117){g=a[b+1>>0]|0;b:do if(g<<24>>24==110)if((a[b+2>>0]|0)==105){c=d[b+3>>0]|0;if((c+-48|0)>>>0>9){c=(c+-65|0)>>>0>5?16:c+-55|0;if(c>>>0>15)break}else c=c+-48|0;f=d[b+4>>0]|0;if((f+-48|0)>>>0>9){f=(f+-65|0)>>>0>5?16:f+-55|0;if(f>>>0>15)break;else f=f+(c<<4)|0}else f=f+-48+(c<<4)|0;c=d[b+5>>0]|0;if((c+-48|0)>>>0>9){c=(c+-65|0)>>>0>5?16:c+-55|0;if(c>>>0>15)break;else f=c+(f<<4)|0}else f=c+-48+(f<<4)|0;c=d[b+6>>0]|0;if((c+-48|0)>>>0>9){c=(c+-65|0)>>>0>5?16:c+-55|0;if(c>>>0>15)break;else c=c+(f<<4)|0}else c=c+-48+(f<<4)|0;switch(a[b+7>>0]|0){case 46:break;case 0:{h=c;return h|0}default:break b}h=c|-2147483648;return h|0}while(0);if(((g&255)+-48|0)>>>0>9){c=((g&255)+-65|0)>>>0>5?16:(g&255)+-55|0;if(c>>>0>15){c=b;break}}else c=(g&255)+-48|0;f=d[b+2>>0]|0;if((f+-48|0)>>>0>9){f=(f+-65|0)>>>0>5?16:f+-55|0;if(f>>>0>15){c=b;break}else f=f+(c<<4)|0}else f=f+-48+(c<<4)|0;c=d[b+3>>0]|0;if((c+-48|0)>>>0>9){c=(c+-65|0)>>>0>5?16:c+-55|0;if(c>>>0>15){c=b;break}else f=c+(f<<4)|0}else f=c+-48+(f<<4)|0;c=d[b+4>>0]|0;if((c+-48|0)>>>0>9){c=(c+-65|0)>>>0>5?16:c+-55|0;if(c>>>0>15){c=b;break}else f=c+(f<<4)|0}else f=c+-48+(f<<4)|0;c=d[b+5>>0]|0;if((c+-48|0)>>>0>9){c=(c+-65|0)>>>0>5?16:c+-55|0;if(c>>>0>15){g=b+5|0;c=f}else{f=c+(f<<4)|0;h=32}}else{f=c+-48+(f<<4)|0;h=32}do if((h|0)==32){c=d[b+6>>0]|0;if((c+-48|0)>>>0>9){c=(c+-65|0)>>>0>5?16:c+-55|0;if(c>>>0>15){g=b+6|0;c=f;break}else c=c+(f<<4)|0}else c=c+-48+(f<<4)|0;g=b+7|0}while(0);switch(a[g>>0]|0){case 46:break;case 0:{h=c;return h|0}default:{c=b;break a}}h=c|-2147483648;return h|0}else c=b;while(0);c:while(1){switch(e<<24>>24){case 0:break c;case 46:{if(c>>>0>b>>>0){h=17;break c}break}default:{}}g=c+1|0;e=a[g>>0]|0;c=g}if((h|0)==17)if(!c)c=0;else{h=VXa(b,c)|0|-2147483648;return h|0}h=VXa(b,c)|0;return h|0}function VXa(b,c){b=b|0;c=c|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;if(!((b|0)!=0&b>>>0>>0)){n=0;return n|0}g=a[b>>0]|0;j=52;k=0;while(1){i=j+k>>1;h=530429+(d[530431+(i<<1)>>0]<<8|d[530431+(i<<1)+1>>0])|0;f=a[h>>0]|0;if((f&127|0)==(g|0))break;k=(f&127|0)<(g|0)?i+1|0:k;j=(f&127|0)<(g|0)?j:i;if((k|0)>=(j|0)){e=0;l=16;break}}if((l|0)==16)return e|0;a:do if((b+1|0)>>>0>>0){k=b+1|0;b:while(1){j=a[k>>0]|0;k=k+1|0;e=h+1|0;g=a[e>>0]|0;c:do if(f<<24>>24<0)if((j|0)==(g&127|0))f=g;else{e=0;l=16;break b}else{if(!(g&127)){e=0;l=16;break b}i=g&127;g=h+((g&255)>>>6|1)+1|0;while(1){e=530429+(d[g>>0]<<8|d[g+1>>0])|0;f=a[e>>0]|0;if((j|0)==(f&127|0))break c;if((i|0)>1){i=i+-1|0;g=g+2|0}else{e=0;l=16;break b}}}while(0);if(k>>>0>=c>>>0){m=f;n=e;break a}else h=e}if((l|0)==16)return e|0}else{m=f;n=h}while(0);if(m<<24>>24<=-1){n=0;return n|0}if((a[n+1>>0]|0)>=0){n=0;return n|0}n=d[n+2>>0]<<8|d[n+3>>0];return n|0}function WXa(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+96|0;h=o+40|0;j=h+40|0;do{c[h>>2]=0;h=h+4|0}while((h|0)<(j|0));c[b+16>>2]=0;c[b+20>>2]=0;h=JTa(a,8,0,d+10|0,0,o+80|0)|0;c[b+20>>2]=h;j=c[o+80>>2]|0;if(j|0){b=j;i=o;return b|0}if(d){m=0;do{l=Xi[e&511](g,m)|0;if(l){if(!(Imb(586426,l)|0)){k=0;n=6}else if(!(Imb(586432,l)|0)){k=1;n=6}else if(!(Imb(586438,l)|0)){k=2;n=6}else if(!(Imb(586447,l)|0)){k=3;n=6}else if(!(Imb(586454,l)|0)){k=4;n=6}else if(!(Imb(586461,l)|0)){k=5;n=6}else if(!(Imb(586464,l)|0)){k=6;n=6}else if(!(Imb(586479,l)|0)){k=7;n=6}else if(!(Imb(586485,l)|0)){k=8;n=6}else if(!(Imb(586498,l)|0)){k=9;n=6}if((n|0)==6){n=0;j=o+40+(k<<2)|0;if(!(c[j>>2]|0)){c[j>>2]=1;c[o+(k<<2)>>2]=m}}j=UXa(l)|0;if(j&2147483647){if((j|0)==916){k=0;n=19}else if((j|0)==937){k=1;n=19}else if((j|0)==8725){k=2;n=19}else if((j|0)==173){k=3;n=19}else if((j|0)==713){k=4;n=19}else if((j|0)==956){k=5;n=19}else if((j|0)==8729){k=6;n=19}else if((j|0)==160){k=7;n=19}else if((j|0)==538){k=8;n=19}else if((j|0)==539){k=9;n=19}if((n|0)==19){n=0;c[o+40+(k<<2)>>2]=2}c[h>>2]=j;c[h+4>>2]=m;h=h+8|0}if(f)si[f&511](g,l)}m=m+1|0}while((m|0)!=(d|0));if((c[o+40>>2]|0)==1){c[h>>2]=916;c[h+4>>2]=c[o>>2];h=h+8|0}}if((c[o+40+4>>2]|0)==1){c[h>>2]=937;c[h+4>>2]=c[o+4>>2];h=h+8|0}if((c[o+40+8>>2]|0)==1){c[h>>2]=8725;c[h+4>>2]=c[o+8>>2];h=h+8|0}if((c[o+40+12>>2]|0)==1){c[h>>2]=173;c[h+4>>2]=c[o+12>>2];h=h+8|0}if((c[o+40+16>>2]|0)==1){c[h>>2]=713;c[h+4>>2]=c[o+16>>2];h=h+8|0}if((c[o+40+20>>2]|0)==1){c[h>>2]=956;c[h+4>>2]=c[o+20>>2];h=h+8|0}if((c[o+40+24>>2]|0)==1){c[h>>2]=8729;c[h+4>>2]=c[o+24>>2];h=h+8|0}if((c[o+40+28>>2]|0)==1){c[h>>2]=160;c[h+4>>2]=c[o+28>>2];h=h+8|0}if((c[o+40+32>>2]|0)==1){c[h>>2]=538;c[h+4>>2]=c[o+32>>2];h=h+8|0}if((c[o+40+36>>2]|0)==1){c[h>>2]=539;c[h+4>>2]=c[o+36>>2];j=h+8|0}else j=h;h=c[b+20>>2]|0;j=j-h>>3;if(!j){LTa(a,h);c[b+20>>2]=0;h=c[o+80>>2]|0;if(!h){c[o+80>>2]=163;h=163}}else{if(j>>>0>>1>>>0){h=JTa(a,8,d,j,h,o+80|0)|0;c[b+20>>2]=h;c[o+80>>2]=0}cnb(h,j,8,360);h=c[o+80>>2]|0}c[b+16>>2]=j;b=h;i=o;return b|0}function XXa(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;a=c[b>>2]|0;if((d&2147483647|0)==(a&2147483647|0)){if(d>>>0>a>>>0){b=1;return b|0}b=(d>>>0>>0)<<31>>31;return b|0}else{if((d&2147483647)>>>0>(a&2147483647)>>>0){b=1;return b|0}b=((d&2147483647)>>>0<(a&2147483647)>>>0)<<31>>31;return b|0}return 0}function YXa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;d=c[a+20>>2]|0;a=d+(c[a+16>>2]<<3)+-8|0;if(d>>>0>a>>>0){b=0;return b|0}else{g=a;a=0}do{e=d+(g-d>>4<<3)|0;f=c[e>>2]|0;if((f|0)==(b|0)){a=e;break}a=(f&2147483647|0)==(b|0)?e:a;if((d|0)==(g|0))break;g=(f&2147483647)>>>0>>0?g:e+-8|0;d=(f&2147483647)>>>0>>0?e+8|0:d}while(d>>>0<=g>>>0);if(!a){b=0;return b|0}b=c[a+4>>2]|0;return b|0}function ZXa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=(c[b>>2]|0)+1|0;l=c[a+16>>2]|0;do if(!l)d=0;else{j=c[a+20>>2]|0;i=l;f=0;d=0;while(1){k=((i-f|0)>>>1)+f|0;h=c[j+(k<<3)>>2]|0;if((h|0)==(e|0)){f=4;break}if((h&2147483647|0)==(e|0))d=c[j+(k<<3)+4>>2]|0;g=(h&2147483647)>>>0>>0?k+1|0:f;i=(h&2147483647)>>>0>>0?i:k;if(i>>>0<=g>>>0){f=8;break}else f=g}if((f|0)==4){l=e;a=c[j+(k<<3)+4>>2]|0;c[b>>2]=l;return a|0}else if((f|0)==8){if(!d){d=g;break}c[b>>2]=e;return d|0}}while(0);if(d>>>0>=l>>>0){l=0;a=0;c[b>>2]=l;return a|0}a=c[a+20>>2]|0;l=c[a+(d<<3)>>2]&2147483647;a=c[a+(d<<3)+4>>2]|0;c[b>>2]=l;return a|0}function _Xa(a){a=a|0;return 586511+(b[170500+((a>>>0>257?0:a)<<1)>>1]|0)|0}function $Xa(a){a=a|0;if(a>>>0>390){a=0;return a|0}a=586511+(b[171016+(a<<1)>>1]|0)|0;return a|0}function aYa(a,b){a=a|0;b=b|0;return HRa(52960,b)|0}function bYa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+16|0;c[b>>2]=0;d=HTa(a,4,f)|0;e=c[f>>2]|0;if(e|0){i=f;return e|0}c[d>>2]=a;c[b>>2]=d;i=f;return e|0}function cYa(a,b,c){a=a|0;b=b|0;c=c|0;return}function dYa(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function eYa(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;k=i;i=i+17408|0;h=c[e+4>>2]|0;j=c[e>>2]|0;if(!d){e=96;i=k;return e|0}if(!h){e=20;i=k;return e|0}f=b[h+2>>1]|0;if(!(f<<16>>16)){e=0;i=k;return e|0}g=b[h>>1]|0;if(g<<16>>16<1){e=0;i=k;return e|0}d=c[h+12>>2]|0;if(!d){e=20;i=k;return e|0}if(!(c[h+4>>2]|0)){e=20;i=k;return e|0}if((f<<16>>16|0)!=((b[d+((g<<16>>16)+-1<<1)>>1]|0)+1|0)){e=20;i=k;return e|0}if(c[e+8>>2]&3|0){e=19;i=k;return e|0}if(!j){e=20;i=k;return e|0}if(!(c[j+4>>2]|0)){e=0;i=k;return e|0}if(!(c[j>>2]|0)){e=0;i=k;return e|0}if(!(c[j+12>>2]|0)){e=20;i=k;return e|0}d=k+16384+128|0;c[d>>2]=c[h>>2];c[d+4>>2]=c[h+4>>2];c[d+8>>2]=c[h+8>>2];c[d+12>>2]=c[h+12>>2];c[d+16>>2]=c[h+16>>2];d=k+16384+104|0;c[d>>2]=c[j>>2];c[d+4>>2]=c[j+4>>2];c[d+8>>2]=c[j+8>>2];c[d+12>>2]=c[j+12>>2];c[d+16>>2]=c[j+16>>2];c[d+20>>2]=c[j+20>>2];c[k+16384+28>>2]=k;c[k+16384+32>>2]=k+16384;d=c[k+16384+144>>2]|0;e=(d&256|0)==0?6:12;c[k+16384>>2]=e;c[k+16384+16>>2]=(d&256|0)==0?32:256;c[k+16384+20>>2]=(d&256|0)==0?2:30;c[k+16384+4>>2]=1<>2]=1<>>1;c[k+16384+12>>2]=e+-6;c[k+16384+24>>2]=e+-6;if(!(d&8)){a[k+16384+176>>0]=(d&16)>>>2;if(!(d&32))a[k+16384+176>>0]=(d&16)>>>2&255|1}else a[k+16384+176>>0]=2;a[k+16384+177>>0]=d>>>9&1^1;c[k+16384+160>>2]=108;c[k+16384+164>>2]=51;c[k+16384+168>>2]=52;c[k+16384+172>>2]=697;c[k+16384+1020>>2]=0;b[k+16384+956>>1]=0;b[k+16384+958>>1]=(c[k+16384+104>>2]|0)+65535;b[k+16384+56>>1]=c[k+16384+108>>2];c[k+16384+60>>2]=c[k+16384+116>>2];d=jYa(k+16384|0,0)|0;if(d|0){e=d;i=k;return e|0}if(a[k+16384+177>>0]|0)if((a[k+16384+176>>0]|0)!=2){c[k+16384+160>>2]=109;c[k+16384+164>>2]=53;c[k+16384+168>>2]=54;c[k+16384+172>>2]=698;c[k+16384+1020>>2]=0;b[k+16384+956>>1]=0;b[k+16384+958>>1]=(c[k+16384+108>>2]|0)+65535;d=jYa(k+16384|0,1)|0;if(d|0){e=d;i=k;return e|0}}e=0;i=k;return e|0}function fYa(a,d,e){a=a|0;d=d|0;e=e|0;var f=0;f=c[a+112>>2]|0;b[a+156>>1]=0-f;e=_(b[d>>1]|0,0-f|0)|0;c[a+148>>2]=e;if((f|0)<=0)return;c[a+148>>2]=(_((c[a+104>>2]|0)+-1|0,f)|0)+e;return}function gYa(f,g,h,i,j,k){f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0;l=c[f+4>>2]|0;m=c[f>>2]|0;if((b[j+12>>1]&7)==2)n=3;else if((i-h-l|0)>(c[f+20>>2]|0))n=3;else g=(h+-1+l&0-l)>>m;if((n|0)==3)g=(0-l&i)>>m;if((g|0)<=-1)return;k=e[f+56>>1]|0;if(((h+-1+l&0-l)>>m|0)>=(k|0))return;j=((h+-1+l&0-l)>>m|0)<0?0:(h+-1+l&0-l)>>m;m=(g|0)<(k|0)?g:k+-1|0;l=c[f+60>>2]|0;g=c[f+148>>2]|0;k=l+g+(j<<13>>16)|0;if(((m<<13>>16)-(j<<13>>16)|0)<=0){a[k>>0]=d[k>>0]|0|(127>>>(m&7)^255)&255>>>(j&7);return}a[k>>0]=d[k>>0]|0|255>>>(j&7);if(((m<<13>>16)-(j<<13>>16)|0)>1){hBb(l+(g+(j<<13>>16)+1)|0,-1,(m<<13>>16)+-1-(j<<13>>16)|0)|0;k=l+(g+(m<<13>>16)+-1)|0}f=k+1|0;a[f>>0]=d[f>>0]|0|127>>>(m&7)^255;return}function hYa(f,g,h,i,j,k){f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0;m=c[f+4>>2]|0;l=h+-1+m&0-m;o=0-m&i;if((l|0)>(o|0)){n=b[j+12>>1]|0;if((l|0)!=(o+m|0))return;switch(n&7|0){case 0:{n=o;break}case 4:{n=(c[f+8>>2]|0)+((h+-1+i|0)/2|0)&0-m;break}case 5:case 1:{if((c[j+28>>2]|0)==(k|0))if((c[j+16>>2]|0)<1){if(!(n&16))return;if((i-h|0)<(c[f+8>>2]|0))return}if((c[k+28>>2]|0)==(j|0))if((c[j+20>>2]|0)==(g<<16>>16|0)){if(!(n&32))return;if((i-h|0)<(c[f+8>>2]|0))return}if((n&7|0)==1)n=o;else n=(c[f+8>>2]|0)+((h+-1+i|0)/2|0)&0-m;break}default:return}m=c[f>>2]|0;if((n|0)<0)n=l;else n=(n>>m|0)<(e[f+56>>1]|0|0)?n:o;l=((n|0)==(l|0)?o:l)>>m;if((l|0)>-1)if((l|0)<(e[f+56>>1]|0|0))if(!((d[(c[f+60>>2]|0)+((c[f+148>>2]|0)+(l<<13>>16))>>0]|0)&128>>>(l&7)))l=n;else return;else l=n;else l=n}else m=c[f>>2]|0;l=l>>m;if((l|0)<=-1)return;if((l|0)>=(e[f+56>>1]|0|0))return;f=(c[f+60>>2]|0)+((c[f+148>>2]|0)+(l<<13>>16))|0;a[f>>0]=d[f>>0]|0|128>>>(l&7);return}function iYa(a){a=a|0;c[a+148>>2]=(c[a+148>>2]|0)+(b[a+156>>1]|0);return}function jYa(f,g){f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=i;i=i+16|0;h=c[f+1020>>2]|0;if((h|0)<=-1){f=0;i=y;return f|0}a:while(1){j=c[f+4>>2]|0;c[f+80>>2]=_(b[f+956+(h<<2)+2>>1]|0,j)|0;c[f+76>>2]=_(b[f+956+(h<<2)>>1]|0,j)|0;j=c[f+28>>2]|0;c[f+40>>2]=j;c[f+44>>2]=0;c[f+92>>2]=0;a[f+87>>0]=0;a[f+86>>0]=0;h=(c[f+32>>2]|0)+-32|0;c[f+36>>2]=h;c[f+48>>2]=0;c[f+88>>2]=j;c[j+8>>2]=j;b[f+84>>1]=0;b:do if((b[f+128>>1]|0)>0){p=c[f+140>>2]|0;h=c[f+8>>2]|0;u=0;r=0;while(1){c[f+100>>2]=0;c[f+96>>2]=0;q=c[f+132>>2]|0;l=e[p+(u<<1)>>1]|0;p=r&65535;j=c[f+24>>2]|0;k=(c[q+(p<<3)>>2]<>2]<>2]<>2]<>24?o:k;o=g<<24>>24?k:o;k=g<<24>>24?j:n;j=g<<24>>24?n:j;n=c[f+136>>2]|0;h=a[n+p>>0]|0;if(h&4){a[f+176>>0]=(h&255)>>>5;h=a[n+p>>0]|0}switch(h&3|0){case 2:{x=35;break a}case 0:{if((a[n+l>>0]&3)==1)h=q+(l<<3)+-8|0;else{h=q+(l<<3)|0;k=(k+m|0)/2|0;j=(j+o|0)/2|0}t=h;l=q+(p<<3)+-8|0;h=n+p+-1|0;s=k;r=j;break}default:{t=q+(l<<3)|0;l=q+(p<<3)|0;h=n+p|0;s=m;r=o}}c[f+68>>2]=s;c[f+72>>2]=r;c:do if(l>>>0>>0){q=h;d:while(1){k=l+8|0;m=q+1|0;e:do switch(d[m>>0]&3|0){case 1:{q=c[f+24>>2]|0;w=c[f+8>>2]|0;v=(c[k>>2]<>2]<>24?w:v,g<<24>>24?v:w)|0)<<24>>24))h=m;else{x=91;break b}break}case 0:{w=c[f+24>>2]|0;h=c[f+8>>2]|0;j=(c[k>>2]<>2]<>24){l=k;o=j;while(1){if(l>>>0>=t>>>0){j=h;h=o;break d}k=l+8|0;n=m+1|0;w=c[f+24>>2]|0;j=c[f+8>>2]|0;m=(c[k>>2]<>2]<>0]&3|0){case 1:{l=(mYa(f,h,o,j,m)|0)<<24>>24==0;l=l?7:12;j=o;break}case 0:{w=(mYa(f,h,o,(j+h|0)/2|0,(m+o|0)/2|0)|0)<<24>>24==0;l=w?15:12;h=w?j:h;j=w?m:o;break}default:{x=35;break a}}switch(l|0){case 6:{x=35;break a}case 12:{x=91;break b}case 7:{h=n;break e}case 15:{l=k;m=n;o=j;break}default:break c}}}else{n=k;while(1){if(n>>>0>=t>>>0)break d;k=n+8|0;o=m+1|0;w=c[f+24>>2]|0;m=c[f+8>>2]|0;l=(c[k>>2]<>2]<>0]&3|0){case 1:{n=(mYa(f,j,h,l,m)|0)<<24>>24==0;n=n?7:12;break}case 0:{w=(mYa(f,j,h,(l+j|0)/2|0,(m+h|0)/2|0)|0)<<24>>24==0;n=w?15:12;j=w?l:j;h=w?m:h;break}default:{x=35;break a}}switch(n|0){case 6:{x=35;break a}case 12:{x=91;break b}case 7:{h=o;break e}case 15:{n=k;m=o;break}default:break c}}}}default:{if((l+16|0)>>>0>t>>>0){x=35;break a}if((a[q+2>>0]&3)!=2){x=35;break a}k=l+24|0;o=c[f+24>>2]|0;p=c[f+8>>2]|0;m=(c[l+8>>2]<>2]<>2]<>2]<>24?j:m;j=g<<24>>24?m:j;m=g<<24>>24?n:w;n=g<<24>>24?w:n;if(k>>>0>t>>>0){h=(pYa(f,h,j,m,n,s,r)|0)<<24>>24==0;h=h?18:12}else{v=(c[k>>2]<>2]<>24?w:v,g<<24>>24?v:w)|0)<<24>>24==0;h=h?7:12}switch(h|0){case 6:{x=35;break a}case 12:{x=91;break b}case 7:{h=q+3|0;break}default:break c}}}while(0);if(k>>>0>>0){l=k;q=h}else{x=34;break c}}if((mYa(f,j,h,s,r)|0)<<24>>24){x=91;break b}}else x=34;while(0);if((x|0)==34){x=0;if((kYa(f,s,r)|0)<<24>>24){x=91;break b}}p=c[f+140>>2]|0;r=(e[p+(u<<1)>>1]|0)+1|0;k=c[f+72>>2]|0;l=c[f+4>>2]|0;if(!(l+-1&k))if((k|0)>=(c[f+76>>2]|0))if((k|0)<=(c[f+80>>2]|0)){h=c[f+96>>2]|0;if(h|0)if(!((b[(c[f+88>>2]|0)+12>>1]^b[h+12>>1])&8))c[f+40>>2]=(c[f+40>>2]|0)+-4}n=c[f+88>>2]|0;j=c[f+40>>2]|0;m=c[n+8>>2]|0;if((j|0)==(m|0))x=45;else if(!(b[n+12>>1]&8))x=45;else{h=c[f+8>>2]|0;o=h;h=(l+-1&k|0)>=(h|0)}if((x|0)==45){x=0;h=c[f+8>>2]|0;o=h;h=((k+-1+l&0-l)-k|0)>=(h|0)}if((j-m|0)<0){x=47;break a}if((j-m|0)>0){c[n+16>>2]=j-m>>2;do if(h){h=e[n+12>>1]|0;if(!(h&8)){b[n+12>>1]=h|32;break}else{b[n+12>>1]=h|16;break}}while(0);c[f+88>>2]=j;c[f+40>>2]=j+32;c[j+16>>2]=0;c[j+8>>2]=j+32;c[n+28>>2]=j;b[f+84>>1]=(b[f+84>>1]|0)+1<<16>>16;j=j+32|0}h=c[f+36>>2]|0;if(j>>>0>=h>>>0){x=55;break}a[f+87>>0]=0;k=c[f+96>>2]|0;if(k|0)c[n+28>>2]=k;u=u+1|0;if((u|0)>=(b[f+128>>1]|0))break;else h=o}if((x|0)==55){c[f+44>>2]=98;x=92;break}l=b[f+84>>1]|0;k=c[f+92>>2]|0;if((l&65535)>1&(k|0)!=0)if(!(l<<16>>16))x=90;else{w=c[f+32>>2]|0;u=j;n=k;while(1){o=c[n+16>>2]|0;if((l&65535)>1){v=(c[n+8>>2]|0)+(o<<2)|0;c[n+4>>2]=v}else{c[n+4>>2]=0;v=0}m=n+20|0;p=c[m>>2]|0;if(!(b[n+12>>1]&8)){c[m>>2]=p-o+1;q=n+8|0;c[q>>2]=(c[q>>2]|0)+(o+-1<<2);q=p-o+1|0}else{q=p;p=o+-1+p|0}r=c[f+48>>2]|0;o=r;while(1){n=o+-1|0;if((o|0)<=0){m=q;x=74;break}m=c[w+(0-r<<2)+(n<<2)>>2]|0;if((m|0)>(q|0))o=n;else{x=71;break}}if((x|0)==71)if((m|0)<(q|0)){c[w+(0-r<<2)+(n<<2)>>2]=q;if((o|0)>1){o=o+-2|0;while(1){x=w+(0-r<<2)+(o<<2)|0;n=c[x>>2]|0;c[x>>2]=m;if((o|0)>0){o=o+-1|0;m=n}else{m=n;x=75;break}}}else{n=o+-2|0;x=74}}else{m=q;x=74}if((x|0)==74){x=0;if((n|0)<0)x=75;else t=r}if((x|0)==75){h=h+-4|0;c[f+36>>2]=h;if(h>>>0<=u>>>0){x=77;break}c[f+48>>2]=r+1;c[w+(~r<<2)>>2]=m;t=r+1|0}m=p+1|0;s=c[f+32>>2]|0;r=s+(0-t<<2)|0;o=t;while(1){q=o+-1|0;if((o|0)<=0){n=q;x=84;break}n=c[r+(q<<2)>>2]|0;if((n|0)>(m|0))o=q;else{x=81;break}}if((x|0)==81)if((n|0)>(p|0)){n=q;x=84}else{c[r+(q<<2)>>2]=m;if((o|0)>1){o=o+-2|0;while(1){x=r+(o<<2)|0;m=c[x>>2]|0;c[x>>2]=n;if((o|0)>0){o=o+-1|0;n=m}else{x=85;break}}}else{m=n;n=o+-2|0;x=84}}if((x|0)==84){x=0;if((n|0)<0)x=85;else m=u}if((x|0)==85){h=h+-4|0;c[f+36>>2]=h;if(h>>>0<=j>>>0){x=87;break}c[f+48>>2]=t+1;c[s+(~t<<2)>>2]=m;m=j}l=l+-1<<16>>16;if(!(l<<16>>16)){x=90;break b}else{u=m;n=v}}if((x|0)==77){c[f+44>>2]=98;x=92;break}else if((x|0)==87){c[f+44>>2]=98;x=92;break}}else x=89}else x=89;while(0);if((x|0)==89){c[f+92>>2]=0;k=0;x=90}if((x|0)==90){x=0;if(j>>>0>>0){if(k|0){c[y+8>>2]=0;c[y+4>>2]=0;c[y>>2]=0;l=c[f>>2]|0;m=c[f+76>>2]>>l&65535;b[y+12>>1]=m;l=c[f+80>>2]>>l&65535;b[y+14>>1]=l;do{n=k+4|0;o=k;k=c[n>>2]|0;h=c[o+20>>2]|0;j=h+65535+(c[o+16>>2]|0)|0;if((l<<16>>16|0)>(h<<16>>16|0)){b[y+14>>1]=h;l=h&65535}if((m<<16>>16|0)<(j<<16>>16|0)){b[y+12>>1]=j;m=j&65535}c[o>>2]=0;h=c[y+8>>2]|0;f:do if(!h){j=y+8|0;h=0}else{j=y+8|0;while(1){if((c[h>>2]|0)>0)break f;j=h+4|0;h=c[j>>2]|0;if(!h){h=0;break}}}while(0);c[n>>2]=h;c[j>>2]=o}while((k|0)!=0);if(!(c[f+48>>2]|0)){x=106;break}$i[c[f+160>>2]&255](f,y+14|0,y+12|0);j=c[y+8>>2]|0;h=b[y+14>>1]|0;if(j|0)do{c[j+24>>2]=(c[j+20>>2]|0)-(h<<16>>16);j=c[j+4>>2]|0}while((j|0)!=0);j=c[f+48>>2]|0;if((j|0)>0)if((c[(c[f+32>>2]|0)+(0-j<<2)>>2]|0)==(h<<16>>16|0)){c[f+48>>2]=j+-1;j=j+-1|0;k=0}else{k=0;x=113}else k=0;g:while(1){if((x|0)==113){x=0;j=c[f+48>>2]|0}if((j|0)<=0)break;l=c[y+8>>2]|0;if(l|0){q=k<<16>>16;do{o=l+4|0;p=l;l=c[o>>2]|0;w=c[p+24>>2]|0;c[p+24>>2]=w-q;do if((w|0)==(q|0)){k=y+8|0;while(1){m=c[k>>2]|0;if(!m)break;if((m|0)==(p|0)){x=121;break}else k=m+4|0}if((x|0)==121){x=0;c[k>>2]=c[m+4>>2]}n=c[p>>2]|0;if(!(b[p+12>>1]&8)){k=c[y>>2]|0;h:do if(!k){m=y;k=0}else{m=y;while(1){if((n|0)<(c[k>>2]|0))break h;m=k+4|0;k=c[m>>2]|0;if(!k){k=0;break}}}while(0);c[o>>2]=k;c[m>>2]=p;break}else{k=c[y+4>>2]|0;i:do if(!k){m=y+4|0;k=0}else{m=y+4|0;while(1){if((n|0)<(c[k>>2]|0))break i;m=k+4|0;k=c[m>>2]|0;if(!k){k=0;break}}}while(0);c[o>>2]=k;c[m>>2]=p;break}}while(0)}while((l|0)!=0)}l=c[y+4>>2]|0;if(l|0){k=l;do{w=k+8|0;v=c[w>>2]|0;c[k>>2]=c[v>>2];c[w>>2]=v+(((b[k+12>>1]&8)>>>2)+-1<<2);w=k+16|0;c[w>>2]=(c[w>>2]|0)+-1;k=c[k+4>>2]|0}while((k|0)!=0);m=c[l+4>>2]|0;if(m|0){k=l;n=l+4|0;l=y+4|0;do{if((c[k>>2]|0)>(c[m>>2]|0)){c[l>>2]=m;l=m+4|0;c[n>>2]=c[l>>2];c[l>>2]=k;k=c[y+4>>2]|0;l=y+4|0}else{k=m;l=n}n=k+4|0;m=c[n>>2]|0}while((m|0)!=0)}}l=c[y>>2]|0;if(!l)k=0;else{k=l;do{w=k+8|0;v=c[w>>2]|0;c[k>>2]=c[v>>2];c[w>>2]=v+(((b[k+12>>1]&8)>>>2)+-1<<2);w=k+16|0;c[w>>2]=(c[w>>2]|0)+-1;k=c[k+4>>2]|0}while((k|0)!=0);m=c[l+4>>2]|0;if(!m)k=l;else{k=l;n=l;o=l+4|0;l=y;do{if((c[n>>2]|0)>(c[m>>2]|0)){c[l>>2]=m;k=m+4|0;c[o>>2]=c[k>>2];c[k>>2]=n;n=c[y>>2]|0;k=n;l=y}else{n=m;l=o}o=n+4|0;m=c[o>>2]|0}while((m|0)!=0)}}c[f+48>>2]=j+-1;q=c[(c[f+32>>2]|0)+(0-j<<2)>>2]<<16>>16;r=q-(h&65535)|0;j:do if((h<<16>>16|0)<(q|0))k:while(1){j=c[y+4>>2]|0;do if(j|0){l=j;m=0;while(1){p=c[l>>2]|0;o=c[k>>2]|0;n=(p|0)>(o|0)?o:p;o=(p|0)>(o|0)?p:o;p=c[f+4>>2]|0;do if((o-n|0)>(p|0)|(n&0-p|0)==(n|0)|(p+-1+o&0-p|0)==(o|0))x=151;else{if(!((n&0-p|0)>(p+-1+o&0-p|0)?1:(p+-1+o&0-p|0)==((n&0-p)+p|0))){x=151;break}if((b[l+12>>1]&7)==2)break;c[l>>2]=n;c[k>>2]=o;c[l+24>>2]=1;m=m+1<<16>>16}while(0);if((x|0)==151){x=0;Ii[c[f+164>>2]&63](f,h,n,o,l,k)}l=c[l+4>>2]|0;if(!l){k=m;break}k=c[k+4>>2]|0}if(k<<16>>16<1)break;else{m=j;k=y}while(1){l=c[k>>2]|0;k=m+24|0;if(c[k>>2]|0){c[k>>2]=0;Ii[c[f+168>>2]&63](f,h,c[m>>2]|0,c[l>>2]|0,m,l)}m=c[m+4>>2]|0;if(!m)break;else k=l+4|0}}while(0);Hi[c[f+172>>2]&1023](f);h=h+1<<16>>16;if((h<<16>>16|0)>=(q|0))break j;do if(j|0){k=j;do{w=k+8|0;v=c[w>>2]|0;c[k>>2]=c[v>>2];c[w>>2]=v+(((b[k+12>>1]&8)>>>2)+-1<<2);w=k+16|0;c[w>>2]=(c[w>>2]|0)+-1;k=c[k+4>>2]|0}while((k|0)!=0);k=c[j+4>>2]|0;if(!k)break;else{m=j;n=j+4|0;j=y+4|0}while(1){if((c[m>>2]|0)>(c[k>>2]|0)){c[j>>2]=k;j=k+4|0;c[n>>2]=c[j>>2];c[j>>2]=m;j=c[y+4>>2]|0;l=y+4|0}else{j=k;l=n}n=j+4|0;k=c[n>>2]|0;if(!k)break;else{m=j;j=l}}}while(0);k=c[y>>2]|0;if(!k){k=0;continue}else j=k;do{w=j+8|0;v=c[w>>2]|0;c[j>>2]=c[v>>2];c[w>>2]=v+(((b[j+12>>1]&8)>>>2)+-1<<2);w=j+16|0;c[w>>2]=(c[w>>2]|0)+-1;j=c[j+4>>2]|0}while((j|0)!=0);j=c[k+4>>2]|0;if(!j)continue;else{p=k;o=k;l=k+4|0;k=y}while(1){if((c[o>>2]|0)>(c[j>>2]|0)){c[k>>2]=j;j=j+4|0;c[l>>2]=c[j>>2];c[j>>2]=o;j=c[y>>2]|0;k=j;n=y}else{k=p;n=l}l=j+4|0;m=c[l>>2]|0;if(!m)continue k;else{p=k;o=j;j=m;k=n}}}else j=c[y+4>>2]|0;while(0);if(j|0)do{l=j;j=c[j+4>>2]|0;l:do if(!(c[l+16>>2]|0)){k=y+4|0;while(1){m=c[k>>2]|0;if(!m)break l;if((m|0)==(l|0))break;else k=m+4|0}c[k>>2]=c[m+4>>2]}while(0)}while((j|0)!=0);j=c[y>>2]|0;if(!j){k=r;x=113;continue}while(1){l=c[j+4>>2]|0;m:do if(!(c[j+16>>2]|0)){k=y;while(1){m=c[k>>2]|0;if(!m)break m;if((m|0)==(j|0)){j=k;break}else k=m+4|0}c[j>>2]=c[m+4>>2]}while(0);if(!l){k=r;x=113;continue g}else j=l}}if(h<<16>>16<=(b[y+12>>1]|0))do{Hi[c[f+172>>2]&1023](f);h=h+1<<16>>16}while(h<<16>>16<=(b[y+12>>1]|0))}h=(c[f+1020>>2]|0)+-1|0}else x=91}if((x|0)==91)if((c[f+44>>2]|0)==98)x=92;else{h=1;x=187;break}if((x|0)==92){x=0;c[f+44>>2]=0;h=c[f+1020>>2]|0;j=b[f+956+(h<<2)+2>>1]|0;k=b[f+956+(h<<2)>>1]|0;if((h|0)>6?1:(((j<<16>>16)+k|0)/2|0|0)<(k|0)){x=93;break}b[f+956+(h+1<<2)>>1]=((j<<16>>16)+k|0)/2|0;b[f+956+((c[f+1020>>2]|0)+1<<2)+2>>1]=j;b[f+956+(c[f+1020>>2]<<2)+2>>1]=(((j<<16>>16)+k|0)/2|0)+65535;h=(c[f+1020>>2]|0)+1|0}c[f+1020>>2]=h;if((h|0)<=-1){h=0;x=187;break}}if((x|0)==35){c[f+44>>2]=20;f=1;i=y;return f|0}else if((x|0)==47){c[f+44>>2]=99;f=1;i=y;return f|0}else if((x|0)==93){c[f+1020>>2]=0;c[f+44>>2]=20;f=20;i=y;return f|0}else if((x|0)==106){c[f+44>>2]=20;f=20;i=y;return f|0}else if((x|0)==187){i=y;return h|0}return 0}function kYa(f,g,h){f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0;a:do switch(c[f+100>>2]|0){case 0:{i=c[f+72>>2]|0;if((i|0)<(h|0)){j=c[f+4>>2]|0;j=((i+-1+j&0-j)-i|0)<(c[f+8>>2]|0);if(!(c[f+92>>2]|0)){i=c[f+40>>2]|0;c[f+88>>2]=i;c[f+92>>2]=i;c[f+40>>2]=i+32;i=i+32|0}else i=c[f+40>>2]|0;if(i>>>0>=(c[f+36>>2]|0)>>>0){c[f+44>>2]=98;h=1;return h|0}k=c[f+88>>2]|0;c[k+20>>2]=0;c[k+16>>2]=0;c[k+8>>2]=i;c[k+4>>2]=0;c[k+28>>2]=0;b[k+12>>1]=d[f+176>>0]|(j?8:40);if(!(c[f+96>>2]|0))c[f+96>>2]=k;c[f+100>>2]=1;a[f+86>>0]=1;a[f+87>>0]=0;k=61;break a}if((i|0)>(h|0)){j=((c[f+4>>2]|0)+-1&i|0)<(c[f+8>>2]|0);if(!(c[f+92>>2]|0)){i=c[f+40>>2]|0;c[f+88>>2]=i;c[f+92>>2]=i;c[f+40>>2]=i+32;i=i+32|0}else i=c[f+40>>2]|0;if(i>>>0>=(c[f+36>>2]|0)>>>0){c[f+44>>2]=98;h=1;return h|0}k=c[f+88>>2]|0;c[k+20>>2]=0;c[k+16>>2]=0;c[k+8>>2]=i;c[k+4>>2]=0;c[k+28>>2]=0;i=a[f+176>>0]|0;if(j)i=i&255;else i=(i&255|16)&65535;b[k+12>>1]=i;if(!(c[f+96>>2]|0))c[f+96>>2]=k;c[f+100>>2]=2;a[f+86>>0]=1;a[f+87>>0]=0;k=62}else k=60;break}case 1:{i=c[f+72>>2]|0;if((i|0)>(h|0)){m=((c[f+4>>2]|0)+-1&i|0)<(c[f+8>>2]|0);k=c[f+40>>2]|0;l=c[f+88>>2]|0;i=k-(c[l+8>>2]|0)|0;if((i|0)<0){c[f+44>>2]=99;h=1;return h|0}if((i|0)>0){c[l+16>>2]=i>>2;do if(!m){i=e[l+12>>1]|0;if(!(i&8)){b[l+12>>1]=i|32;break}else{b[l+12>>1]=i|16;break}}while(0);c[f+88>>2]=k;c[f+40>>2]=k+32;c[k+16>>2]=0;c[k+8>>2]=k+32;c[l+28>>2]=k;b[f+84>>1]=(b[f+84>>1]|0)+1<<16>>16;i=k+32|0;j=k+32|0}else{i=k;j=k;k=l}l=c[f+36>>2]|0;if(i>>>0>=l>>>0){c[f+44>>2]=98;h=1;return h|0}a[f+87>>0]=0;if(!(c[f+92>>2]|0)){c[f+88>>2]=j;c[f+92>>2]=j;i=j+32|0;c[f+40>>2]=i}else j=k;if(i>>>0>=l>>>0){c[f+44>>2]=98;h=1;return h|0}c[j+20>>2]=0;c[j+16>>2]=0;c[j+8>>2]=i;c[j+4>>2]=0;c[j+28>>2]=0;i=a[f+176>>0]|0;if(m)i=i&255;else i=(i&255|16)&65535;b[j+12>>1]=i;if(!(c[f+96>>2]|0))c[f+96>>2]=j;c[f+100>>2]=2;a[f+86>>0]=1;a[f+87>>0]=0;k=62}else k=61;break}case 2:{i=c[f+72>>2]|0;if((i|0)<(h|0)){m=c[f+4>>2]|0;m=((i+-1+m&0-m)-i|0)<(c[f+8>>2]|0);k=c[f+40>>2]|0;l=c[f+88>>2]|0;i=k-(c[l+8>>2]|0)|0;if((i|0)<0){c[f+44>>2]=99;h=1;return h|0}if((i|0)>0){c[l+16>>2]=i>>2;do if(!m){i=e[l+12>>1]|0;if(!(i&8)){b[l+12>>1]=i|32;break}else{b[l+12>>1]=i|16;break}}while(0);c[f+88>>2]=k;c[f+40>>2]=k+32;c[k+16>>2]=0;c[k+8>>2]=k+32;c[l+28>>2]=k;b[f+84>>1]=(b[f+84>>1]|0)+1<<16>>16;j=k+32|0;i=k+32|0}else{j=k;i=k;k=l}l=c[f+36>>2]|0;if(j>>>0>=l>>>0){c[f+44>>2]=98;h=1;return h|0}a[f+87>>0]=0;if(!(c[f+92>>2]|0)){c[f+88>>2]=i;c[f+92>>2]=i;j=i+32|0;c[f+40>>2]=j}else i=k;if(j>>>0>=l>>>0){c[f+44>>2]=98;h=1;return h|0}c[i+20>>2]=0;c[i+16>>2]=0;c[i+8>>2]=j;c[i+4>>2]=0;c[i+28>>2]=0;b[i+12>>1]=d[f+176>>0]|(m?8:40);if(!(c[f+96>>2]|0))c[f+96>>2]=i;c[f+100>>2]=1;a[f+86>>0]=1;a[f+87>>0]=0;k=61}else k=62;break}default:k=60}while(0);if((k|0)==60){j=f+72|0;i=f+68|0}else if((k|0)==61)if(!((lYa(f,c[f+68>>2]|0,c[f+72>>2]|0,g,h,c[f+76>>2]|0,c[f+80>>2]|0)|0)<<24>>24)){j=f+72|0;i=f+68|0}else{h=1;return h|0}else if((k|0)==62){m=a[f+86>>0]|0;i=lYa(f,c[f+68>>2]|0,0-(c[f+72>>2]|0)|0,g,0-h|0,0-(c[f+80>>2]|0)|0,0-(c[f+76>>2]|0)|0)|0;if(m<<24>>24)if(!(a[f+86>>0]|0)){m=(c[f+88>>2]|0)+20|0;c[m>>2]=0-(c[m>>2]|0)}if(!(i<<24>>24)){j=f+72|0;i=f+68|0}else{h=1;return h|0}}c[i>>2]=g;c[j>>2]=h;h=0;return h|0}function lYa(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0;if((g-e|0)<1|(g|0)<(h|0)|(e|0)>(i|0)){b=0;return b|0}if((h|0)>(e|0)){l=(F2a(f-d|0,h-e|0,g-e|0)|0)+d|0;k=c[b>>2]|0;j=k;h=h>>k;k=0}else{h=c[b>>2]|0;l=d;j=h;h=e>>h;k=(c[b+4>>2]|0)+-1&e}if((g|0)>(i|0))m=0;else{m=(c[b+4>>2]|0)+-1&g;i=g}j=i>>j;do if((k|0)>0)if((h|0)==(j|0)){b=0;return b|0}else{l=(F2a(f-d|0,(c[b+4>>2]|0)-k|0,g-e|0)|0)+l|0;i=b+87|0;h=h+1|0;break}else if(!(a[b+87>>0]|0))i=b+87|0;else{c[b+40>>2]=(c[b+40>>2]|0)+-4;a[b+87>>0]=0;i=b+87|0}while(0);a[i>>0]=(m|0)==0&1;if(a[b+86>>0]|0){c[(c[b+88>>2]|0)+20>>2]=h;a[b+86>>0]=0}i=j-h|0;if(((c[b+40>>2]|0)+(i+1<<2)|0)>>>0>=(c[b+36>>2]|0)>>>0){c[b+44>>2]=98;b=1;return b|0}h=c[b+4>>2]|0;if((f-d|0)>0){m=G2a(h,f-d|0,g-e|0)|0;h=_(c[b+4>>2]|0,f-d|0)|0;d=1;f=m}else{m=0-(G2a(h,0-(f-d)|0,g-e|0)|0)|0;h=_(c[b+4>>2]|0,0-(f-d)|0)|0;d=-1;f=m}m=(h|0)%(g-e|0)|0;h=c[b+40>>2]|0;if((i|0)>-1){j=0-(g-e)|0;k=i+1|0;while(1){i=h+4|0;c[h>>2]=l;h=j+m|0;if((k|0)>1){l=l+f+((h|0)>-1?d:0)|0;j=h-((h|0)>-1?g-e|0:0)|0;k=k+-1|0;h=i}else{h=i;break}}}c[b+40>>2]=h;b=0;return b|0}function mYa(d,f,g,h,i){d=d|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;c[d+52>>2]=d+180;c[d+196>>2]=c[d+68>>2];r=c[d+72>>2]|0;c[d+200>>2]=r;c[d+188>>2]=f;c[d+192>>2]=g;c[d+180>>2]=h;c[d+184>>2]=i;j=d+180|0;a:while(1){o=j+20|0;p=j+12|0;q=j+4|0;n=(r|0)>(i|0);do if((g|0)<((n?i:r)|0)|(g|0)>((n?r:i)|0)){q=j+16|0;n=c[q>>2]|0;c[j+32>>2]=n;k=j+8|0;m=c[k>>2]|0;c[j+24>>2]=(m+n|0)/2|0;l=(h+m|0)/2|0;c[k>>2]=l;c[q>>2]=(l+((m+n|0)/2|0)|0)/2|0;c[j+36>>2]=r;r=(g+r|0)/2|0;c[j+28>>2]=r;q=(i+g|0)/2|0;c[p>>2]=q;c[o>>2]=(q+r|0)/2|0;c[d+52>>2]=j+16}else{if((r|0)==(i|0)){c[d+52>>2]=j+-16;break}n=(r|0)<(i|0);m=n?1:2;j=c[d+100>>2]|0;if((j|0)!=(m|0)){f=c[d+4>>2]|0;if(n)l=((r+-1+f&0-f)-r|0)>=(c[d+8>>2]|0);else l=(f+-1&r|0)>=(c[d+8>>2]|0);if(j|0){f=c[d+40>>2]|0;k=c[d+88>>2]|0;j=f-(c[k+8>>2]|0)|0;if((j|0)<0){f=12;break a}if((j|0)>0){c[k+16>>2]=j>>2;do if(l){j=e[k+12>>1]|0;if(!(j&8)){b[k+12>>1]=j|32;break}else{b[k+12>>1]=j|16;break}}while(0);c[d+88>>2]=f;c[d+40>>2]=f+32;c[f+16>>2]=0;c[f+8>>2]=f+32;c[k+28>>2]=f;b[d+84>>1]=(b[d+84>>1]|0)+1<<16>>16;f=f+32|0}if(f>>>0>=(c[d+36>>2]|0)>>>0){f=20;break a}a[d+87>>0]=0}if(!(c[d+92>>2]|0)){f=c[d+40>>2]|0;c[d+88>>2]=f;c[d+92>>2]=f;c[d+40>>2]=f+32;f=f+32|0}else f=c[d+40>>2]|0;if(f>>>0>=(c[d+36>>2]|0)>>>0){f=26;break a}j=c[d+88>>2]|0;c[j+20>>2]=0;c[j+16>>2]=0;c[j+8>>2]=f;c[j+4>>2]=0;c[j+28>>2]=0;f=a[d+176>>0]|0;b[j+12>>1]=f&255;if(n){b[j+12>>1]=f&255|8;if(l)b[j+12>>1]=f&255|40}else if(l)b[j+12>>1]=f&255|16;if(!(c[d+96>>2]|0))c[d+96>>2]=j;c[d+100>>2]=m;a[d+86>>0]=1;a[d+87>>0]=0}f=c[d+76>>2]|0;j=c[d+80>>2]|0;if(n)if(!((oYa(d,2,699,f,j)|0)<<24>>24))break;else{i=1;f=44;break a}c[q>>2]=0-i;c[p>>2]=0-g;c[o>>2]=0-r;r=a[d+86>>0]|0;f=oYa(d,2,699,0-j|0,0-f|0)|0;if(r<<24>>24)if(!(a[d+86>>0]|0)){r=(c[d+88>>2]|0)+20|0;c[r>>2]=0-(c[r>>2]|0)}c[q>>2]=0-(c[q>>2]|0);if(f<<24>>24){i=1;f=44;break a}}while(0);f=c[d+52>>2]|0;if(f>>>0<(d+180|0)>>>0){f=43;break}j=f;r=c[f+20>>2]|0;i=c[f+4>>2]|0;g=c[f+12>>2]|0;h=c[f>>2]|0}if((f|0)==12){c[d+44>>2]=99;d=1;return d|0}else if((f|0)==20){c[d+44>>2]=98;d=1;return d|0}else if((f|0)==26){c[d+44>>2]=98;d=1;return d|0}else if((f|0)==43){c[d+68>>2]=h;c[d+72>>2]=i;d=0;return d|0}else if((f|0)==44)return i|0;return 0}function nYa(a){a=a|0;var b=0,d=0,e=0;b=c[a+16>>2]|0;c[a+32>>2]=b;d=c[a+8>>2]|0;c[a+24>>2]=(d+b|0)/2|0;e=((c[a>>2]|0)+d|0)/2|0;c[a+8>>2]=e;c[a+16>>2]=(e+((d+b|0)/2|0)|0)/2|0;b=c[a+20>>2]|0;c[a+36>>2]=b;d=c[a+12>>2]|0;c[a+28>>2]=(d+b|0)/2|0;e=((c[a+4>>2]|0)+d|0)/2|0;c[a+12>>2]=e;c[a+20>>2]=(e+((d+b|0)/2|0)|0)/2|0;return}function oYa(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0;m=c[b+52>>2]|0;k=c[m+(d<<3)+4>>2]|0;i=c[m+4>>2]|0;h=c[b+40>>2]|0;a:do if(!((k|0)>(g|0)|(i|0)<(f|0))){j=c[b+4>>2]|0;l=(i&0-j|0)>(g|0)?g:i&0-j;if((k|0)<(f|0)){g=f;i=f}else if(!(k&65535&j+65535)){if(a[b+87>>0]|0){a[b+87>>0]=0;h=h+-4|0}c[h>>2]=c[m+(d<<3)>>2];g=j+(k+-1+j&0-j)|0;i=k+-1+j&0-j;h=h+4|0}else{g=k+-1+j&0-j;i=k+-1+j&0-j}if(a[b+86>>0]|0){c[(c[b+88>>2]|0)+20>>2]=i>>c[b>>2];a[b+86>>0]=0}if((l|0)>=(g|0)){if((h+(l-g>>c[b>>2]<<2)+4|0)>>>0>=(c[b+36>>2]|0)>>>0){c[b+40>>2]=h;c[b+44>>2]=98;b=1;return b|0}i=m;do{while(1){a[b+87>>0]=0;j=c[i+4>>2]|0;if((j|0)<=(g|0)){k=19;break}f=c[i+(d<<3)+4>>2]|0;if((j-f|0)<(c[b+16>>2]|0)){k=16;break}Hi[e&1023](i);i=i+(d<<3)|0;if(i>>>0>>0)break a}if((k|0)==16){k=c[i+(d<<3)>>2]|0;c[h>>2]=((_((c[i>>2]|0)-k|0,g-f|0)|0)/(j-f|0)|0)+k;g=(c[b+4>>2]|0)+g|0;h=h+4|0}else if((k|0)==19)if((j|0)==(g|0)){a[b+87>>0]=1;c[h>>2]=c[i>>2];g=(c[b+4>>2]|0)+g|0;h=h+4|0}i=i+(0-d<<3)|0}while(!((g|0)>(l|0)|i>>>0>>0))}}while(0);c[b+40>>2]=h;c[b+52>>2]=(c[b+52>>2]|0)+(0-d<<3);b=0;return b|0}function pYa(d,f,g,h,i,j,k){d=d|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;c[d+52>>2]=d+180;c[d+204>>2]=c[d+68>>2];t=c[d+72>>2]|0;c[d+208>>2]=t;c[d+196>>2]=f;c[d+200>>2]=g;c[d+188>>2]=h;c[d+192>>2]=i;c[d+180>>2]=j;c[d+184>>2]=k;h=d+180|0;a:while(1){o=h+28|0;p=h+20|0;q=h+12|0;s=h+4|0;r=(t|0)<=(k|0);n=(g|0)>(i|0);do if(((n?i:g)|0)<((r?t:k)|0)?1:((n?g:i)|0)>((r?k:t)|0)){s=h+24|0;r=c[s>>2]|0;c[h+48>>2]=r;u=h+8|0;f=h+16|0;m=c[f>>2]|0;l=(c[u>>2]|0)+1|0;n=j+l>>1;c[u>>2]=n;c[h+40>>2]=r+1+m>>1;c[f>>2]=(l+m>>1)+1+n>>1;r=(l+m>>1)+1+(r+1+m>>1)>>1;c[h+32>>2]=r;c[s>>2]=((l+m>>1)+1+n>>1)+1+r>>1;c[h+52>>2]=t;s=i+1|0;r=k+s>>1;c[q>>2]=r;t=t+1+g>>1;c[h+44>>2]=t;s=(s+g>>1)+1|0;c[p>>2]=s+r>>1;c[h+36>>2]=s+t>>1;c[o>>2]=(s+r>>1)+1+(s+t>>1)>>1;c[d+52>>2]=h+24}else{if((t|0)==(k|0)){c[d+52>>2]=h+-24;break}n=r?1:2;h=c[d+100>>2]|0;if((h|0)!=(n|0)){f=c[d+4>>2]|0;if(r)m=((t+-1+f&0-f)-t|0)>=(c[d+8>>2]|0);else m=(f+-1&t|0)>=(c[d+8>>2]|0);if(h|0){f=c[d+40>>2]|0;l=c[d+88>>2]|0;h=f-(c[l+8>>2]|0)|0;if((h|0)<0){f=12;break a}if((h|0)>0){c[l+16>>2]=h>>2;do if(m){h=e[l+12>>1]|0;if(!(h&8)){b[l+12>>1]=h|32;break}else{b[l+12>>1]=h|16;break}}while(0);c[d+88>>2]=f;c[d+40>>2]=f+32;c[f+16>>2]=0;c[f+8>>2]=f+32;c[l+28>>2]=f;b[d+84>>1]=(b[d+84>>1]|0)+1<<16>>16;f=f+32|0}if(f>>>0>=(c[d+36>>2]|0)>>>0){f=20;break a}a[d+87>>0]=0}if(!(c[d+92>>2]|0)){f=c[d+40>>2]|0;c[d+88>>2]=f;c[d+92>>2]=f;c[d+40>>2]=f+32;f=f+32|0}else f=c[d+40>>2]|0;if(f>>>0>=(c[d+36>>2]|0)>>>0){f=26;break a}h=c[d+88>>2]|0;c[h+20>>2]=0;c[h+16>>2]=0;c[h+8>>2]=f;c[h+4>>2]=0;c[h+28>>2]=0;f=a[d+176>>0]|0;b[h+12>>1]=f&255;if(r){b[h+12>>1]=f&255|8;if(m)b[h+12>>1]=f&255|40}else if(m)b[h+12>>1]=f&255|16;if(!(c[d+96>>2]|0))c[d+96>>2]=h;c[d+100>>2]=n;a[d+86>>0]=1;a[d+87>>0]=0}f=c[d+76>>2]|0;h=c[d+80>>2]|0;if(r)if(!((oYa(d,3,700,f,h)|0)<<24>>24))break;else{k=1;f=44;break a}c[s>>2]=0-k;c[q>>2]=0-i;c[p>>2]=0-g;c[o>>2]=0-t;u=a[d+86>>0]|0;f=oYa(d,3,700,0-h|0,0-f|0)|0;if(u<<24>>24)if(!(a[d+86>>0]|0)){u=(c[d+88>>2]|0)+20|0;c[u>>2]=0-(c[u>>2]|0)}c[s>>2]=0-(c[s>>2]|0);if(f<<24>>24){k=1;f=44;break a}}while(0);f=c[d+52>>2]|0;if(f>>>0<(d+180|0)>>>0){f=43;break}h=f;t=c[f+28>>2]|0;k=c[f+4>>2]|0;g=c[f+20>>2]|0;i=c[f+12>>2]|0;j=c[f>>2]|0}if((f|0)==12){c[d+44>>2]=99;u=1;return u|0}else if((f|0)==20){c[d+44>>2]=98;u=1;return u|0}else if((f|0)==26){c[d+44>>2]=98;u=1;return u|0}else if((f|0)==43){c[d+68>>2]=j;c[d+72>>2]=k;u=0;return u|0}else if((f|0)==44)return k|0;return 0}function qYa(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a+24>>2]|0;c[a+48>>2]=b;f=c[a+16>>2]|0;d=(c[a+8>>2]|0)+1|0;e=d+(c[a>>2]|0)>>1;c[a+8>>2]=e;c[a+40>>2]=f+1+b>>1;c[a+16>>2]=(d+f>>1)+1+e>>1;b=(d+f>>1)+1+(f+1+b>>1)>>1;c[a+32>>2]=b;c[a+24>>2]=((d+f>>1)+1+e>>1)+1+b>>1;b=c[a+28>>2]|0;c[a+52>>2]=b;e=c[a+20>>2]|0;f=(c[a+12>>2]|0)+1|0;d=f+(c[a+4>>2]|0)>>1;c[a+12>>2]=d;c[a+44>>2]=e+1+b>>1;c[a+20>>2]=(f+e>>1)+1+d>>1;b=(f+e>>1)+1+(e+1+b>>1)>>1;c[a+36>>2]=b;c[a+28>>2]=((f+e>>1)+1+d>>1)+1+b>>1;return}function rYa(a,b,c){a=a|0;b=b|0;c=c|0;return}function sYa(b,e,f,g,h,i){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;h=c[b+4>>2]|0;if((g-f|0)>=(h|0))return;if((f+-1+h&0-h|0)!=(0-h&g|0))return;h=(f+-1+h&0-h)>>c[b>>2];if((h|0)<=-1)return;i=c[b+104>>2]|0;if(h>>>0>=i>>>0)return;f=c[b+112>>2]|0;b=(c[b+60>>2]|0)+(e<<16>>16>>3)+(_(f,0-h|0)|0)|0;g=b+(_(f,i+-1|0)|0)|0;b=(f|0)>0?g:b;a[b>>0]=d[b>>0]|0|128>>>(e&7);return}function tYa(e,f,g,h,i,j){e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0;l=c[e+4>>2]|0;k=g+-1+l&0-l;n=0-l&h;if((k|0)>(n|0)){m=b[i+12>>1]|0;if((k|0)!=(n+l|0))return;switch(m&7|0){case 0:{m=n;break}case 4:{m=(c[e+8>>2]|0)+((g+-1+h|0)/2|0)&0-l;break}case 5:case 1:{if((c[i+28>>2]|0)==(j|0))if((c[i+16>>2]|0)<1){if(!(m&16))return;if((h-g|0)<(c[e+8>>2]|0))return}if((c[j+28>>2]|0)==(i|0))if((c[i+20>>2]|0)==(f<<16>>16|0)){if(!(m&32))return;if((h-g|0)<(c[e+8>>2]|0))return}if((m&7|0)==1)m=n;else m=(c[e+8>>2]|0)+((g+-1+h|0)/2|0)&0-l;break}default:return}l=c[e>>2]|0;if((m|0)<0)j=k;else j=m>>l>>>0<(c[e+104>>2]|0)>>>0?m:n;i=((j|0)==(k|0)?n:k)>>l;m=c[e+112>>2]|0;k=(c[e+60>>2]|0)+(f<<16>>16>>3)+(_(i,0-m|0)|0)|0;if((m|0)>0)k=k+(_((c[e+104>>2]|0)+-1|0,m)|0)|0;if((i|0)>-1)if(i>>>0<(c[e+104>>2]|0)>>>0)if(!((d[k>>0]|0)&128>>>(f&7)))k=j;else return;else k=j;else k=j}else l=c[e>>2]|0;k=k>>l;if((k|0)<=-1)return;l=c[e+104>>2]|0;if(k>>>0>=l>>>0)return;h=c[e+112>>2]|0;e=(c[e+60>>2]|0)+(f<<16>>16>>3)+(_(h,0-k|0)|0)|0;n=e+(_(h,l+-1|0)|0)|0;e=(h|0)>0?n:e;a[e>>0]=d[e>>0]|0|128>>>(f&7);return}function uYa(a){a=a|0;return}function vYa(a){a=a|0;LTa(c[a>>2]|0,a);return}function wYa(a){a=a|0;var b=0;b=c[a+4>>2]|0;$i[c[(c[(c[a+12>>2]|0)+56>>2]|0)+8>>2]&255](c[a+52>>2]|0,c[b+164>>2]|0,c[b+168>>2]|0);return 0}function xYa(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+80|0;if((c[d+72>>2]|0)!=(c[b+16>>2]|0)){c[n+64>>2]=6;d=6;i=n;return d|0}if((e|0)!=2){d=19;i=n;return d|0}if(f|0)ISa(d+108|0,c[f>>2]|0,c[f+4>>2]|0);HSa(d+108|0,n+48|0);e=c[n+48>>2]|0;g=c[n+48+4>>2]|0;f=c[n+48+8>>2]|0;h=c[n+48+12>>2]|0;if(!((f+32&-64)-(e+32&-64)>>6)){m=e&-64;j=(f+63&-64)-(e&-64)>>6}else{m=e+32&-64;j=(f+32&-64)-(e+32&-64)>>6}f=(h+32&-64)-(g+32&-64)>>6;if(!f){l=h+63&-64;k=g&-64;f=(h+63&-64)-(g&-64)>>6}else{l=h+32&-64;k=g+32&-64}if((f|j)>>>0>65535){c[n+64>>2]=6;d=6;i=n;return d|0}e=c[b+8>>2]|0;if(c[(c[d+156>>2]|0)+4>>2]&1|0){LTa(e,c[d+88>>2]|0);c[d+88>>2]=0;h=(c[d+156>>2]|0)+4|0;c[h>>2]=c[h>>2]&-2}h=(j+15|0)>>>4<<1;a[d+94>>0]=1;c[d+80>>2]=j;c[d+76>>2]=f;c[d+84>>2]=h;c[d+88>>2]=JTa(e,f,0,h,0,n+64|0)|0;e=c[n+64>>2]|0;if(e|0){d=e;i=n;return d|0}e=(c[d+156>>2]|0)+4|0;c[e>>2]=c[e>>2]|1;ISa(d+108|0,0-m|0,0-k|0);c[n>>2]=d+76;c[n+4>>2]=d+108;c[n+8>>2]=0;c[n+64>>2]=Xi[c[b+56>>2]&511](c[b+52>>2]|0,n)|0;ISa(d+108|0,m,k);e=c[n+64>>2]|0;if(e|0){d=e;i=n;return d|0}c[d+72>>2]=1651078259;c[d+100>>2]=m>>6;c[d+104>>2]=l>>6;d=0;i=n;return d|0}function yYa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;if((c[b+72>>2]|0)!=(c[a+16>>2]|0)){b=6;return b|0}if(d|0)KSa(b+108|0,d);if(!e){b=0;return b|0}ISa(b+108|0,c[e>>2]|0,c[e+4>>2]|0);b=0;return b|0}function zYa(a,b,d){a=a|0;b=b|0;d=d|0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;c[d+12>>2]=0;if((c[b+72>>2]|0)!=(c[a+16>>2]|0))return;HSa(b+108|0,d);return}function AYa(a,b,d){a=a|0;b=b|0;d=d|0;return Gi[c[(c[(c[a+12>>2]|0)+56>>2]|0)+12>>2]&255](c[a+52>>2]|0,b,d)|0}function BYa(a,b){a=a|0;b=b|0;c[a+16>>2]=b;return 0}function CYa(a,b){a=a|0;b=b|0;if(b>>>0>=256){a=0;return a|0}a=d[(c[a+16>>2]|0)+(b+6)>>0]|0;return a|0}function DYa(b,d){b=b|0;d=d|0;var e=0,f=0;f=(c[b+16>>2]|0)+6|0;b=c[d>>2]|0;e=0;while(1){b=b+1|0;if(b>>>0>=256){b=0;break}e=a[f+b>>0]|0;if(!(e<<24>>24))e=e&255;else{e=e&255;break}}c[d>>2]=b;return e|0}function EYa(a,b){a=a|0;b=b|0;var e=0;if((a+4|0)>>>0>(c[b+160>>2]|0)>>>0)JRa(b,8);e=(d[a+2>>0]|0)<<8|(d[a+3>>0]|0);if(e>>>0<262?1:(a+e|0)>>>0>(c[b+160>>2]|0)>>>0)JRa(b,8);if(!(c[b+164>>2]|0))return 0;e=0;a=a+6|0;while(1){if((d[a>>0]|0)>>>0>=(c[b+172>>2]|0)>>>0){a=8;break}e=e+1|0;if((e|0)==256){a=10;break}else a=a+1|0}if((a|0)==8)JRa(b,16);else if((a|0)==10)return 0;return 0}function FYa(a,b){a=a|0;b=b|0;a=c[a+16>>2]|0;c[b+4>>2]=0;c[b>>2]=(d[a+4>>0]|0)<<8|(d[a+5>>0]|0);return 0}function GYa(a,b){a=a|0;b=b|0;var e=0,f=0,g=0;a=c[a+16>>2]|0;if(b>>>0>=65536){b=0;return b|0}if(!(b>>>8))if(!((d[a+6+(b<<1&510)>>0]|0)<<8|(d[a+6+(b<<1&510)+1>>0]|0)))g=a+518|0;else{b=0;return b|0}else{e=(d[a+6+(b>>>8<<1)+1>>0]|0)&248|(d[a+6+(b>>>8<<1)>>0]|0)<<8;if(!e){b=0;return b|0}else g=a+518+e|0}e=g+6|0;f=(d[e>>0]|0)<<8|(d[g+7>>0]|0);a=(b&255)-((d[g>>0]|0)<<8|(d[g+1>>0]|0))|0;if(!(f|0?a>>>0<((d[g+2>>0]|0)<<8|(d[g+3>>0]|0))>>>0:0)){b=0;return b|0}a=(d[e+(f+(a<<1))>>0]|0)<<8|(d[e+(f+(a<<1))+1>>0]|0);if(!a){b=0;return b|0}b=a+((d[g+4>>0]|0)<<8|(d[g+5>>0]|0))&65535;return b|0}function HYa(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=c[a+16>>2]|0;a=(c[b>>2]|0)+1|0;if(a>>>0>=65536){m=0;l=0;c[b>>2]=l;return m|0}a:while(1){e=a>>>8;if(!e){k=l+6+(a<<1&510)|0;if(!((d[k>>0]|0)<<8|(d[k+1>>0]|0))){e=l+518|0;m=6}}else{e=(d[l+6+(e<<1)+1>>0]|0)&248|(d[l+6+(e<<1)>>0]|0)<<8;if(e){e=l+518+e|0;m=6}}if((m|0)==6){m=0;g=(d[e>>0]|0)<<8|(d[e+1>>0]|0);j=(d[e+2>>0]|0)<<8|(d[e+3>>0]|0);i=e+6|0;k=(d[e+4>>0]|0)<<8|(d[e+5>>0]|0);h=(d[i>>0]|0)<<8|(d[e+7>>0]|0);e=a&255;if(h){f=e>>>0>>0?0:e-g|0;a=(e>>>0>>0?g:e)+(a&-256)|0;if(f>>>0>>0){g=i+(h+(f<<1))|0;do{e=(d[g>>0]|0)<<8|(d[g+1>>0]|0);g=g+2|0;if(e|0)if(e+k&65535|0){e=e+k&65535;m=13;break a}f=f+1|0;a=a+1|0}while(f>>>0>>0)}}}a=a+256&-256;if(a>>>0>=65536){e=0;a=0;m=13;break}}if((m|0)==13){c[b>>2]=a;return e|0}return 0}function IYa(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;if((a+4|0)>>>0>(c[b+160>>2]|0)>>>0)JRa(b,8);o=(d[a+2>>0]|0)<<8|(d[a+3>>0]|0);if(o>>>0<518?1:(a+o|0)>>>0>(c[b+160>>2]|0)>>>0)JRa(b,8);f=0;g=0;h=a+6|0;while(1){e=d[h+1>>0]|0;if(!((e&7|0)==0?1:(c[b+164>>2]|0)>>>0<2)){i=7;break}n=((d[h>>0]|0)<<8|e)>>>3;n=n>>>0>f>>>0?n:f;g=g+1|0;if((g|0)==256)break;else{f=n;h=h+2|0}}if((i|0)==7)JRa(b,8);if((a+518+((n<<3)+8)|0)>>>0>(c[b+160>>2]|0)>>>0)JRa(b,8);m=0;i=a+518|0;a:while(1){j=i;f=(d[i>>0]|0)<<8|(d[i+1>>0]|0);k=(d[i+2>>0]|0)<<8|(d[i+3>>0]|0);l=(d[i+4>>0]|0)<<8|(d[i+5>>0]|0);e=i+8|0;g=i+6|0;h=(d[g>>0]|0)<<8|(d[i+7>>0]|0);if(k){if((c[b+164>>2]|0)>>>0>1)if(f>>>0>255|(k+f|0)>>>0>256){i=15;break}if(h){if((g+h|0)>>>0<(a+518+((n<<3)+8)|0)>>>0){i=19;break}if((g+h+(k<<1)|0)>>>0>(a+o|0)>>>0){i=19;break}if(c[b+164>>2]|0){i=i+10|0;f=((e+(k<<1)|0)>>>0>i>>>0?e+(k<<1)|0:i)+-9+(0-j)&-2;h=e;do{g=(d[h>>0]|0)<<8|(d[h+1>>0]|0);h=h+2|0;if(g|0)if((g+l&65535)>>>0>=(c[b+172>>2]|0)>>>0){i=24;break a}}while(h>>>0<(e+(k<<1)|0)>>>0);e=i+f|0}}}m=m+1|0;if(m>>>0>n>>>0){i=28;break}else i=e}if((i|0)==15)JRa(b,8);else if((i|0)==19)JRa(b,9);else if((i|0)==24)JRa(b,16);else if((i|0)==28)return 0;return 0}function JYa(a,b){a=a|0;b=b|0;a=c[a+16>>2]|0;c[b+4>>2]=2;c[b>>2]=(d[a+4>>0]|0)<<8|(d[a+5>>0]|0);return 0}function KYa(a,b){a=a|0;b=b|0;c[a+16>>2]=b;c[a+32>>2]=((d[b+6>>0]|0)<<8|(d[b+7>>0]|0))>>>1;c[a+24>>2]=-1;c[a+28>>2]=0;return 0}function LYa(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d>>2]=b;do if(b>>>0>65535)b=0;else if(!(c[a+20>>2]&1)){b=NYa(a,d,0)|0;break}else{b=MYa(a,d,0)|0;break}while(0);i=d;return b|0}function MYa(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;n=c[a+16>>2]|0;o=(d[n+7>>0]|0)&254|(d[n+6>>0]|0)<<8;if(!(o>>>1)){p=0;return p|0}g=(c[b>>2]|0)+(e<<24>>24==0^1)|0;if(g>>>0>=65536){p=0;return p|0}while(1){l=0;f=n+14|0;m=n+16+o|0;a:while(1){i=(d[f>>0]|0)<<8|(d[f+1>>0]|0);j=(d[m>>0]|0)<<8|(d[m+1>>0]|0);if(g>>>0>i>>>0|g>>>0>>0)f=f+2|0;else{k=m+o|0;f=((d[k>>0]|0)<<8|(d[k+1>>0]|0))<<16>>16;h=(d[k+o>>0]|0)<<8|(d[k+o+1>>0]|0);if((i|0)==65535&(l>>>0>=((o>>>1)+-1|0)>>>0&(j|0)==65535)){i=c[a>>2]|0;if(!h){p=11;break}i=(k+o+h+2|0)>>>0>((c[i+500>>2]|0)+(c[i+504>>2]|0)|0)>>>0;f=i?1:f;h=i?0:h}if((h|0)<65535){p=19;break}switch(h|0){case 65535:{f=k+o|0;break}default:{i=k+o|0;p=9;break a}}}m=m+2|0;l=l+1|0;if(l>>>0>=o>>>1>>>0){f=0;break}}if((p|0)==19)switch(h|0){case 0:{p=11;break}default:{i=k+o|0;p=9}}if((p|0)==9){p=0;h=i+(h+(g-j<<1))|0;h=(d[h>>0]|0)<<8|(d[h+1>>0]|0);if(!h)f=0;else f=h+f&65535}else if((p|0)==11){p=0;f=f+g&65535}if(e<<24>>24==0|(f|0)!=0)break;g=g+1|0;if(g>>>0>=65536){f=0;p=18;break}}if((p|0)==18)return f|0;if(!(e<<24>>24!=0&(f|0)!=0)){p=f;return p|0}c[b>>2]=g;p=f;return p|0}function NYa(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;v=c[a+16>>2]|0;w=(d[v+7>>0]|0)&254|(d[v+6>>0]|0)<<8;if(!w){b=0;return b|0}g=(c[b>>2]|0)+(e<<24>>24!=0&1)|0;f=65535;i=w>>>1;j=w>>>1;k=0;a:while(1){h=j;while(1){if(k>>>0>=i>>>0){i=f;f=0;break a}h=(i+k|0)>>>1;j=v+14+(h<<1)|0;u=(d[j>>0]|0)<<8|(d[j+1>>0]|0);f=(d[j+(w+2)>>0]|0)<<8|(d[j+(w+2)+1>>0]|0);if(g>>>0>=f>>>0)break;else{f=u;i=h}}if(g>>>0<=u>>>0){l=8;break}f=u;j=h;k=h+1|0}do if((l|0)==8){m=j+(w+2)+w|0;s=((d[m>>0]|0)<<8|(d[m+1>>0]|0))<<16>>16;t=(d[m+w>>0]|0)<<8|(d[m+w+1>>0]|0);if((u|0)==65535&(h>>>0>=((w>>>1)+-1|0)>>>0&(f|0)==65535)){i=c[a>>2]|0;if(!t){k=s;j=0}else{j=(m+w+t+2|0)>>>0>((c[i+500>>2]|0)+(c[i+504>>2]|0)|0)>>>0;k=j?1:s;j=j?0:t}}else{k=s;j=t}i=(j|0)==65535;if(!(c[a+20>>2]&2))if(i){i=u;f=0;break}else{l=u;i=m+w|0}else{i=i?h+1|0:h;b:do if(!h){p=u;l=0;q=i;i=m+w|0;o=f}else{p=u;q=h;r=i;i=m+w|0;o=f;while(1){l=q;q=q+-1|0;m=v+14+(q<<1)|0;n=(d[m>>0]|0)<<8|(d[m+1>>0]|0);if(g>>>0>n>>>0){q=r;break b}o=(d[m+(w+2)>>0]|0)<<8|(d[m+(w+2)+1>>0]|0);m=m+(w+2)+w|0;k=((d[m>>0]|0)<<8|(d[m+1>>0]|0))<<16>>16;j=(d[m+w>>0]|0)<<8|(d[m+w+1>>0]|0);i=(j|0)==65535?r:q;if(!q){p=n;l=0;q=i;i=m+w|0;break}else{p=n;r=i;i=m+w|0}}}while(0);if((q|0)==(h+1|0)){n=(l|0)==(h|0);i=n?p:u;if((h+1|0)>>>0>=w>>>1>>>0){f=0;break}k=n?k:s;l=h+1|0;m=h;j=n?j:t;o=n?o:f;while(1){n=v+14+(l<<1)|0;f=(d[n+(w+2)>>0]|0)<<8|(d[n+(w+2)+1>>0]|0);if(g>>>0>>0){p=i;i=n+(w+2)|0;f=o;break}i=(d[n>>0]|0)<<8|(d[n+1>>0]|0);n=n+(w+2)+w|0;k=((d[n>>0]|0)<<8|(d[n+1>>0]|0))<<16>>16;j=(d[n+w>>0]|0)<<8|(d[n+w+1>>0]|0);m=(j|0)==65535?m:l;l=l+1|0;if(l>>>0>>1>>>0)o=f;else{p=i;i=n+w|0;break}}l=l+-1|0;if((m|0)==(h|0)){i=p;f=0;h=l;break}else{n=p;h=m}}else{n=p;h=q;f=o}if((h|0)==(l|0))l=n;else{f=v+14+(h<<1)|0;i=f+(w+2)+w|0;k=((d[i>>0]|0)<<8|(d[i+1>>0]|0))<<16>>16;l=(d[f>>0]|0)<<8|(d[f+1>>0]|0);j=(d[i+w>>0]|0)<<8|(d[i+w+1>>0]|0);i=i+w|0;f=(d[f+(w+2)>>0]|0)<<8|(d[f+(w+2)+1>>0]|0)}}if(!j){i=l;f=k+g&65535;break}f=i+((g-f<<1)+j)|0;f=(d[f>>0]|0)<<8|(d[f+1>>0]|0);if(!f){i=l;f=0}else{i=l;f=f+k&65535}}while(0);if(!(e<<24>>24)){b=f;return b|0}if(g>>>0>i>>>0){h=h+1|0;if((h|0)==(w>>>1|0)){b=0;return b|0}}if(OYa(a,h)|0){if(!f){b=0;return b|0}c[b>>2]=g;b=f;return b|0}c[a+24>>2]=g;do if(!f){c[a+24>>2]=g;PYa(a);f=c[a+28>>2]|0;if(!f){b=0;return b|0}else{g=c[a+24>>2]|0;break}}else c[a+28>>2]=f;while(0);c[b>>2]=g;b=f;return b|0}function OYa(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=c[a+32>>2]|0;if(i>>>0<=b>>>0){j=-1;return j|0}g=(c[a+16>>2]|0)+14|0;while(1){h=g+(b<<1)|0;f=(d[h>>0]|0)<<8|(d[h+1>>0]|0);c[a+44>>2]=f;k=(d[h+((i<<1)+2)>>0]|0)<<8|(d[h+((i<<1)+2)+1>>0]|0);c[a+40>>2]=k;h=h+((i<<1)+2)+(i<<1)|0;c[a+48>>2]=((d[h>>0]|0)<<8|(d[h+1>>0]|0))<<16>>16;e=(d[h+(i<<1)>>0]|0)<<8|(d[h+(i<<1)+1>>0]|0);if(b>>>0>=(i+-1|0)>>>0&(k|0)==65535&(f|0)==65535){f=c[a>>2]|0;if(!e){f=h+(i<<1)|0;e=0;break}if((h+(i<<1)+e+2|0)>>>0>((c[f+500>>2]|0)+(c[f+504>>2]|0)|0)>>>0){j=6;break}}if((e|0)!=65535){f=h+(i<<1)|0;break}b=b+1|0;if(b>>>0>=i>>>0){b=-1;j=10;break}}if((j|0)==6){c[a+48>>2]=1;f=h+(i<<1)|0;e=0}else if((j|0)==10)return b|0;c[a+52>>2]=e|0?f+e|0:0;c[a+36>>2]=b;k=0;return k|0}function PYa(a){a=a|0;var b=0,e=0,f=0,g=0,h=0,i=0;b=c[a+24>>2]|0;a:do if(b>>>0<=65534){f=c[a+40>>2]|0;g=f;f=(b+1|0)>>>0>>0?f:b+1|0;b:while(1){e=c[a+52>>2]|0;h=c[a+44>>2]|0;i=c[a+48>>2]|0;c:do if(f>>>0>h>>>0)b=f;else{if(!e){b=f;while(1){e=b+i&65535;if(e|0){f=11;break b}b=b+1|0;if(b>>>0>h>>>0)break c}}b=f;e=e+(f-g<<1)|0;do{g=(d[e>>0]|0)<<8|(d[e+1>>0]|0);e=e+2|0;if(g|0)if(g+i&65535|0){f=9;break b}b=b+1|0}while(b>>>0<=h>>>0)}while(0);if((OYa(a,(c[a+36>>2]|0)+1|0)|0)<0)break a;f=c[a+40>>2]|0;g=f;f=b>>>0>>0?f:b}if((f|0)==9){c[a+24>>2]=b;c[a+28>>2]=g+i&65535;return}else if((f|0)==11){c[a+24>>2]=b;c[a+28>>2]=e;return}}while(0);c[a+24>>2]=-1;c[a+28>>2]=0;return}function QYa(a,b){a=a|0;b=b|0;var d=0;d=c[b>>2]|0;if(d>>>0>65534){b=0;return b|0}if(c[a+20>>2]&1|0){b=MYa(a,b,1)|0;return b|0}if((d|0)!=(c[a+24>>2]|0)){b=NYa(a,b,1)|0;return b|0}PYa(a);d=c[a+28>>2]|0;if(!d){b=0;return b|0}c[b>>2]=c[a+24>>2];b=d;return b|0}function RYa(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;if((b+4|0)>>>0>(c[e+160>>2]|0)>>>0)JRa(e,8);f=(d[b+2>>0]|0)<<8|(d[b+3>>0]|0);do if((b+f|0)>>>0>(c[e+160>>2]|0)>>>0)if(!(c[e+164>>2]|0)){i=(c[e+160>>2]|0)-b|0;break}else JRa(e,8);else i=f;while(0);if(i>>>0<16)JRa(e,8);t=d[b+7>>0]|0;u=(d[b+6>>0]|0)<<8|t;if(!((t&1|0)==0?1:(c[e+164>>2]|0)>>>0<2))JRa(e,8);if(i>>>0<((u>>>1<<3)+16|0)>>>0)JRa(e,8);if((c[e+164>>2]|0)>>>0>1){t=a[b+9>>0]|0;f=(d[b+8>>0]|0)<<8|t&255;g=(d[b+10>>0]|0)<<8|(d[b+11>>0]|0);s=a[b+13>>0]|0;h=(d[b+12>>0]|0)<<8|s&255;if((s|t)&1)JRa(e,8);if(!((f>>>1|0)==(1<>>1>>>0<=u>>>1>>>0&f>>>1<<1>>>0>=u>>>1>>>0&((h>>>1)+(f>>>1)|0)==(u>>>1|0))))JRa(e,8)}t=b+16+(u>>>1<<1)+(u>>>1<<1)|0;if((c[e+164>>2]|0)>>>0>1)if(((d[b+14+((u>>>1<<1)+-2)>>0]|0)<<8|(d[b+14+((u>>>1<<1)+-2)+1>>0]|0)|0)!=65535)JRa(e,8);if(!(u>>>1)){v=0;return v|0}m=b+i|0;f=0;n=0;o=0;p=0;q=t;r=b+14|0;s=t+(u>>>1<<1)|0;l=b+16+(u>>>1<<1)|0;a:while(1){k=l;l=l+2|0;h=o;o=(d[k>>0]|0)<<8|(d[k+1>>0]|0);k=r;r=r+2|0;g=n;n=(d[k>>0]|0)<<8|(d[k+1>>0]|0);k=(d[q>>0]|0)<<8|(d[q+1>>0]|0);q=q+2|0;j=s;s=s+2|0;b=(d[j>>0]|0)<<8|(d[j+1>>0]|0);if(n>>>0>>0){v=24;break}do if((p|0)!=0&o>>>0<=g>>>0){if(c[e+164>>2]|0){v=27;break a}if(h>>>0>o>>>0|g>>>0>n>>>0){f=f|1;break}else{f=f|2;break}}while(0);b:do if((b|0)<65535)switch(b|0){case 0:break;default:v=32}else{switch(b|0){case 65535:break;default:{v=32;break b}}if((c[e+164>>2]|0)>>>0>1){v=47;break a}if(!((p|0)==((u>>>1)+-1|0)&(o|0)==65535&(n|0)==65535)){v=47;break a}}while(0);if((v|0)==32){v=0;if(!(c[e+164>>2]|0)){if(!((p|0)==((u>>>1)+-1|0)&(o|0)==65535&(n|0)==65535)){if((j+b|0)>>>0<(t+(u>>>1<<1)+(u>>>1<<1)|0)>>>0){v=39;break}if((j+b+((n-o<<1)+2)|0)>>>0>(c[e+160>>2]|0)>>>0){v=39;break}}}else{if((j+b|0)>>>0<(t+(u>>>1<<1)+(u>>>1<<1)|0)>>>0){v=35;break}if((j+b+((n-o<<1)+2)|0)>>>0>m>>>0){v=35;break}}if((c[e+164>>2]|0)!=0&n>>>0>o>>>0){i=o;h=j+b|0;do{g=(d[h>>0]|0)<<8|(d[h+1>>0]|0);h=h+2|0;if(g|0)if((g+k&65535)>>>0>=(c[e+172>>2]|0)>>>0){v=43;break a}i=i+1|0}while((i|0)!=(n|0))}}p=p+1|0;if((p|0)==(u>>>1|0)){v=49;break}}if((v|0)==24)JRa(e,8);else if((v|0)==27)JRa(e,8);else if((v|0)==35)JRa(e,8);else if((v|0)==39)JRa(e,8);else if((v|0)==43)JRa(e,16);else if((v|0)==47)JRa(e,8);else if((v|0)==49)return f|0;return 0}function SYa(a,b){a=a|0;b=b|0;a=c[a+16>>2]|0;c[b+4>>2]=4;c[b>>2]=(d[a+4>>0]|0)<<8|(d[a+5>>0]|0);return 0}function TYa(a,b){a=a|0;b=b|0;var e=0;e=c[a+16>>2]|0;a=b-((d[e+6>>0]|0)<<8|(d[e+7>>0]|0))|0;if(a>>>0>=((d[e+8>>0]|0)<<8|(d[e+9>>0]|0))>>>0){b=0;return b|0}b=(d[e+10+(a<<1)>>0]|0)<<8|(d[e+10+(a<<1)+1>>0]|0);return b|0}function UYa(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,i=0;f=c[a+16>>2]|0;a=(c[b>>2]|0)+1|0;g=(d[f+6>>0]|0)<<8|(d[f+7>>0]|0);i=(d[f+8>>0]|0)<<8|(d[f+9>>0]|0);if(a>>>0>65535){i=0;h=0;c[b>>2]=h;return i|0}e=a>>>0>>0?g:a;if((e-g|0)>>>0>=i>>>0){i=0;h=0;c[b>>2]=h;return i|0}a=e;h=e-g|0;e=f+10+(e-g<<1)|0;while(1){f=(d[e>>0]|0)<<8|(d[e+1>>0]|0);if(f|0){e=6;break}h=h+1|0;if(h>>>0>=i>>>0){f=0;a=0;e=6;break}else{a=a+1|0;e=e+2|0}}if((e|0)==6){c[b>>2]=a;return f|0}return 0}function VYa(a,b){a=a|0;b=b|0;var e=0,f=0;if((a+10|0)>>>0>(c[b+160>>2]|0)>>>0)JRa(b,8);e=(d[a+2>>0]|0)<<8|(d[a+3>>0]|0);f=(d[a+8>>0]|0)<<8|(d[a+9>>0]|0);if((a+e|0)>>>0>(c[b+160>>2]|0)>>>0)JRa(b,8);if(e>>>0<((f<<1)+10|0)>>>0)JRa(b,8);if((c[b+164>>2]|0)==0|(f|0)==0)return 0;e=a+10|0;while(1){if(((d[e>>0]|0)<<8|(d[e+1>>0]|0))>>>0>=(c[b+172>>2]|0)>>>0){e=9;break}f=f+-1|0;if(!f){e=11;break}else e=e+2|0}if((e|0)==9)JRa(b,16);else if((e|0)==11)return 0;return 0}function WYa(a,b){a=a|0;b=b|0;a=c[a+16>>2]|0;c[b+4>>2]=6;c[b>>2]=(d[a+4>>0]|0)<<8|(d[a+5>>0]|0);return 0}function XYa(a,b){a=a|0;b=b|0;var e=0,f=0,g=0;e=c[a+16>>2]|0;a=(d[e+8205>>0]|0)<<16|(d[e+8204>>0]|0)<<24|(d[e+8206>>0]|0)<<8|(d[e+8207>>0]|0);if(!a){b=0;return b|0}e=e+8208|0;while(1){g=(d[e+1>>0]|0)<<16|(d[e>>0]|0)<<24|(d[e+2>>0]|0)<<8|(d[e+3>>0]|0);if(g>>>0>b>>>0){a=0;f=7;break}a=a+-1|0;if(((d[e+5>>0]|0)<<16|(d[e+4>>0]|0)<<24|(d[e+6>>0]|0)<<8|(d[e+7>>0]|0))>>>0>=b>>>0){f=6;break}if(!a){a=0;f=7;break}else e=e+12|0}if((f|0)==6){b=b-g+((d[e+9>>0]|0)<<16|(d[e+8>>0]|0)<<24|(d[e+10>>0]|0)<<8|(d[e+11>>0]|0))|0;return b|0}else if((f|0)==7)return a|0;return 0}function YYa(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0;e=c[a+16>>2]|0;a=(d[e+8205>>0]|0)<<16|(d[e+8204>>0]|0)<<24|(d[e+8206>>0]|0)<<8|(d[e+8207>>0]|0);if(!a){h=0;g=0;c[b>>2]=g;return h|0}h=(c[b>>2]|0)+1|0;g=e+8208|0;while(1){e=(d[g+1>>0]|0)<<16|(d[g>>0]|0)<<24|(d[g+2>>0]|0)<<8|(d[g+3>>0]|0);f=g;g=g+12|0;h=h>>>0>>0?e:h;if(h>>>0<=((d[f+5>>0]|0)<<16|(d[f+4>>0]|0)<<24|(d[f+6>>0]|0)<<8|(d[f+7>>0]|0))>>>0){e=((d[f+9>>0]|0)<<16|(d[f+8>>0]|0)<<24|(d[f+10>>0]|0)<<8|(d[f+11>>0]|0))+(h-e)|0;if(e|0){f=e;a=h;e=6;break}}a=a+-1|0;if(!a){f=0;a=0;e=6;break}}if((e|0)==6){c[b>>2]=a;return f|0}return 0}function ZYa(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;if((a+8208|0)>>>0>(c[b+160>>2]|0)>>>0)JRa(b,8);m=(d[a+5>>0]|0)<<16|(d[a+4>>0]|0)<<24|(d[a+6>>0]|0)<<8|(d[a+7>>0]|0);if(m>>>0<8208?1:m>>>0>((c[b+160>>2]|0)-a|0)>>>0)JRa(b,8);j=(d[a+8205>>0]|0)<<16|(d[a+8204>>0]|0)<<24|(d[a+8206>>0]|0)<<8|(d[a+8207>>0]|0);if(j>>>0>((((c[b+160>>2]|0)-(a+8208)|0)>>>0)/12|0)>>>0)JRa(b,8);if(!j)return 0;k=0;l=0;m=a+8208|0;a:while(1){g=(d[m+1>>0]|0)<<16|(d[m>>0]|0)<<24;e=g|(d[m+2>>0]|0)<<8|(d[m+3>>0]|0);h=(d[m+5>>0]|0)<<16|(d[m+4>>0]|0)<<24;f=k;k=h|(d[m+6>>0]|0)<<8|(d[m+7>>0]|0);i=m;m=m+12|0;if(k>>>0>>0){e=10;break}if(!((l|0)==0|e>>>0>f>>>0)){e=12;break}do if(c[b+164>>2]|0){f=k-e|0;n=c[b+172>>2]|0;if(!(n>>>0>=f>>>0?((d[i+9>>0]|0)<<16|(d[i+8>>0]|0)<<24|(d[i+10>>0]|0)<<8|(d[i+11>>0]|0))>>>0<(n-f|0)>>>0:0)){e=15;break a}if(!g){if(h|0){e=24;break a}if(!(f+1|0))break;else f=f+1|0;while(1){if((d[a+12+(e>>>3&8191)>>0]|0)&128>>>(e&7)|0){e=27;break a}f=f+-1|0;if(!f)break;else e=e+1|0}}else{if(!(f+1|0))break;else f=f+1|0;while(1){if(!((d[a+12+(e>>>19)>>0]|0)&128>>>(e>>>16&7))){e=19;break a}if(!((d[a+12+(e>>>3&8191)>>0]|0)&128>>>(e&7))){e=21;break a}f=f+-1|0;if(!f)break;else e=e+1|0}}}while(0);l=l+1|0;if((l|0)==(j|0)){e=30;break}}if((e|0)==10)JRa(b,8);else if((e|0)==12)JRa(b,8);else if((e|0)==15)JRa(b,16);else if((e|0)==19)JRa(b,8);else if((e|0)==21)JRa(b,8);else if((e|0)==24)JRa(b,8);else if((e|0)==27)JRa(b,8);else if((e|0)==30)return 0;return 0}function _Ya(a,b){a=a|0;b=b|0;a=c[a+16>>2]|0;c[b+4>>2]=8;c[b>>2]=(d[a+9>>0]|0)<<16|(d[a+8>>0]|0)<<24|(d[a+10>>0]|0)<<8|(d[a+11>>0]|0);return 0}function $Ya(a,b){a=a|0;b=b|0;var e=0;e=c[a+16>>2]|0;a=b-((d[e+13>>0]|0)<<16|(d[e+12>>0]|0)<<24|(d[e+14>>0]|0)<<8|(d[e+15>>0]|0))|0;if(a>>>0>=((d[e+17>>0]|0)<<16|(d[e+16>>0]|0)<<24|(d[e+18>>0]|0)<<8|(d[e+19>>0]|0))>>>0){b=0;return b|0}b=(d[e+20+(a<<1)>>0]|0)<<8|(d[e+20+(a<<1)+1>>0]|0);return b|0}function aZa(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,i=0;e=c[a+16>>2]|0;a=(c[b>>2]|0)+1|0;g=(d[e+13>>0]|0)<<16|(d[e+12>>0]|0)<<24|(d[e+14>>0]|0)<<8|(d[e+15>>0]|0);h=(d[e+17>>0]|0)<<16|(d[e+16>>0]|0)<<24|(d[e+18>>0]|0)<<8|(d[e+19>>0]|0);a=a>>>0>>0?g:a;if((a-g|0)>>>0>=h>>>0){h=a;i=0;c[b>>2]=h;return i|0}f=a;i=a-g|0;e=e+20+(a-g<<1)|0;while(1){a=(d[e>>0]|0)<<8|(d[e+1>>0]|0);if(a|0){e=5;break}a=f+1|0;i=i+1|0;if(i>>>0>=h>>>0){f=a;a=0;e=5;break}else{f=a;e=e+2|0}}if((e|0)==5){c[b>>2]=f;return a|0}return 0}function bZa(a,b){a=a|0;b=b|0;var e=0,f=0;if((a+20|0)>>>0>(c[b+160>>2]|0)>>>0)JRa(b,8);e=(d[a+5>>0]|0)<<16|(d[a+4>>0]|0)<<24|(d[a+6>>0]|0)<<8|(d[a+7>>0]|0);f=(d[a+17>>0]|0)<<16|(d[a+16>>0]|0)<<24|(d[a+18>>0]|0)<<8|(d[a+19>>0]|0);if(e>>>0<20?1:e>>>0>((c[b+160>>2]|0)-a|0)>>>0)JRa(b,8);if((e+-20|0)>>>1>>>0>>0)JRa(b,8);if((c[b+164>>2]|0)==0|(f|0)==0)return 0;e=a+20|0;while(1){if(((d[e>>0]|0)<<8|(d[e+1>>0]|0))>>>0>=(c[b+172>>2]|0)>>>0){e=9;break}f=f+-1|0;if(!f){e=11;break}else e=e+2|0}if((e|0)==9)JRa(b,16);else if((e|0)==11)return 0;return 0}function cZa(a,b){a=a|0;b=b|0;a=c[a+16>>2]|0;c[b+4>>2]=10;c[b>>2]=(d[a+9>>0]|0)<<16|(d[a+8>>0]|0)<<24|(d[a+10>>0]|0)<<8|(d[a+11>>0]|0);return 0}function dZa(b,e){b=b|0;e=e|0;c[b+16>>2]=e;c[b+40>>2]=(d[e+13>>0]|0)<<16|(d[e+12>>0]|0)<<24|(d[e+14>>0]|0)<<8|(d[e+15>>0]|0);a[b+24>>0]=0;return 0}function eZa(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d>>2]=b;a=fZa(a,d,0)|0;i=d;return a|0}function fZa(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;k=c[b+16>>2]|0;p=d[k+13>>0]<<16|d[k+12>>0]<<24|d[k+14>>0]<<8|d[k+15>>0];if(!p){e=0;return e|0}h=(c[e>>2]|0)+(f<<24>>24!=0&1)|0;n=p;g=0;a:while(1){while(1){i=(g+n|0)>>>1;l=k+16+(i*12|0)+4+-4|0;l=d[l+1>>0]<<16|d[l>>0]<<24|d[l+2>>0]<<8|d[l+3>>0];m=k+16+(i*12|0)+4+4|0;j=d[m+-4+1>>0]<<16|d[m+-4>>0]<<24|d[m+-4+2>>0]<<8|d[m+-4+3>>0];if(h>>>0>>0)break;if(h>>>0<=j>>>0){o=8;break a}g=i+1|0;if(g>>>0>=n>>>0){g=0;break a}}if(g>>>0>>0)n=i;else{g=0;break}}if((o|0)==8)g=h-l+(d[m+1>>0]<<16|d[m>>0]<<24|d[m+2>>0]<<8|d[m+3>>0])|0;if(!(f<<24>>24)){e=g;return e|0}if(h>>>0>j>>>0){i=i+1|0;if((i|0)==(p|0)){e=0;return e|0}}a[b+24>>0]=1;c[b+28>>2]=h;c[b+36>>2]=i;do if(!g){gZa(b);if(!(a[b+24>>0]|0)){e=0;return e|0}g=c[b+32>>2]|0;if(!g){e=0;return e|0}else{h=c[b+28>>2]|0;break}}else c[b+32>>2]=g;while(0);c[e>>2]=h;e=g;return e|0}function gZa(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=c[b+28>>2]|0;a:do if((e|0)!=-1){f=c[b+36>>2]|0;l=c[b+40>>2]|0;if(f>>>0>>0){k=(c[b+16>>2]|0)+16|0;e=e+1|0;b:while(1){i=k+(f*12|0)+4|0;j=(d[i+-4+1>>0]|0)<<16|(d[i+-4>>0]|0)<<24|(d[i+-4+2>>0]|0)<<8|(d[i+-4+3>>0]|0);h=(d[i+4+-4+1>>0]|0)<<16|(d[i+4+-4>>0]|0)<<24|(d[i+4+-4+2>>0]|0)<<8|(d[i+4+-4+3>>0]|0);i=(d[i+4+1>>0]|0)<<16|(d[i+4>>0]|0)<<24|(d[i+4+2>>0]|0)<<8|(d[i+4+3>>0]|0);e=e>>>0>>0?j:e;if(e>>>0<=h>>>0)do{g=e+i|0;if((g|0)!=(j|0))break b;e=e+1|0}while(e>>>0<=h>>>0);f=f+1|0;if(f>>>0>=l>>>0)break a}c[b+28>>2]=e;c[b+32>>2]=g-j;c[b+36>>2]=f;return}}while(0);a[b+24>>0]=0;return}function hZa(b,d){b=b|0;d=d|0;var e=0;e=c[b+28>>2]|0;if((e|0)==-1){d=0;return d|0}if(a[b+24>>0]|0)if((e|0)==(c[d>>2]|0)){gZa(b);if(!(a[b+24>>0]|0)){d=0;return d|0}e=c[b+32>>2]|0;if(!e){d=0;return d|0}c[d>>2]=c[b+28>>2];d=e;return d|0}d=fZa(b,d,1)|0;return d|0}function iZa(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0;if((a+16|0)>>>0>(c[b+160>>2]|0)>>>0)JRa(b,8);e=(d[a+5>>0]|0)<<16|(d[a+4>>0]|0)<<24|(d[a+6>>0]|0)<<8|(d[a+7>>0]|0);j=(d[a+13>>0]|0)<<16|(d[a+12>>0]|0)<<24|(d[a+14>>0]|0)<<8|(d[a+15>>0]|0);if(e>>>0<16?1:e>>>0>((c[b+160>>2]|0)-a|0)>>>0)JRa(b,8);if((((e+-16|0)>>>0)/12|0)>>>0>>0)JRa(b,8);if(!j)return 0;h=0;i=0;f=a+16|0;while(1){e=(d[f+1>>0]|0)<<16|(d[f>>0]|0)<<24|(d[f+2>>0]|0)<<8|(d[f+3>>0]|0);a=h;h=(d[f+5>>0]|0)<<16|(d[f+4>>0]|0)<<24|(d[f+6>>0]|0)<<8|(d[f+7>>0]|0);g=f;f=f+12|0;if(h>>>0>>0){e=9;break}if(!((i|0)==0|e>>>0>a>>>0)){e=11;break}if(c[b+164>>2]|0){a=h-e|0;e=c[b+172>>2]|0;if(!(e>>>0>=a>>>0?((d[g+9>>0]|0)<<16|(d[g+8>>0]|0)<<24|(d[g+10>>0]|0)<<8|(d[g+11>>0]|0))>>>0<(e-a|0)>>>0:0)){e=14;break}}i=i+1|0;if((i|0)==(j|0)){e=16;break}}if((e|0)==9)JRa(b,8);else if((e|0)==11)JRa(b,8);else if((e|0)==14)JRa(b,16);else if((e|0)==16)return 0;return 0}function jZa(a,b){a=a|0;b=b|0;a=c[a+16>>2]|0;c[b+4>>2]=12;c[b>>2]=(d[a+9>>0]|0)<<16|(d[a+8>>0]|0)<<24|(d[a+10>>0]|0)<<8|(d[a+11>>0]|0);return 0}function kZa(b,e){b=b|0;e=e|0;c[b+16>>2]=e;c[b+40>>2]=(d[e+13>>0]|0)<<16|(d[e+12>>0]|0)<<24|(d[e+14>>0]|0)<<8|(d[e+15>>0]|0);a[b+24>>0]=0;return 0}function lZa(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d>>2]=b;a=mZa(a,d,0)|0;i=d;return a|0}function mZa(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;k=c[b+16>>2]|0;o=d[k+13>>0]<<16|d[k+12>>0]<<24|d[k+14>>0]<<8|d[k+15>>0];if(!o){e=0;return e|0}h=(c[e>>2]|0)+(f<<24>>24!=0&1)|0;m=o;g=0;a:while(1){while(1){i=(g+m|0)>>>1;p=k+16+(i*12|0)+4+-4|0;l=k+16+(i*12|0)+4+4|0;j=d[l+-4+1>>0]<<16|d[l+-4>>0]<<24|d[l+-4+2>>0]<<8|d[l+-4+3>>0];if(h>>>0<(d[p+1>>0]<<16|d[p>>0]<<24|d[p+2>>0]<<8|d[p+3>>0])>>>0)break;if(h>>>0<=j>>>0){n=8;break a}g=i+1|0;if(g>>>0>=m>>>0){g=0;break a}}if(g>>>0>>0)m=i;else{g=0;break}}if((n|0)==8)g=d[l+1>>0]<<16|d[l>>0]<<24|d[l+2>>0]<<8|d[l+3>>0];if(!(f<<24>>24)){p=g;return p|0}if(h>>>0>j>>>0){i=i+1|0;if((i|0)==(o|0)){p=0;return p|0}}a[b+24>>0]=1;c[b+28>>2]=h;c[b+36>>2]=i;do if(!g){nZa(b);if(!(a[b+24>>0]|0)){p=0;return p|0}g=c[b+32>>2]|0;if(!g){p=0;return p|0}else{h=c[b+28>>2]|0;break}}else c[b+32>>2]=g;while(0);c[e>>2]=h;p=g;return p|0}function nZa(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=c[b+28>>2]|0;a:do if((f|0)!=-1){e=c[b+36>>2]|0;h=c[b+40>>2]|0;if(e>>>0>>0){g=(c[b+16>>2]|0)+16|0;f=f+1|0;while(1){j=g+(e*12|0)+4|0;k=(d[j+-4+1>>0]|0)<<16|(d[j+-4>>0]|0)<<24|(d[j+-4+2>>0]|0)<<8|(d[j+-4+3>>0]|0);i=(d[j+4+1>>0]|0)<<16|(d[j+4>>0]|0)<<24|(d[j+4+2>>0]|0)<<8|(d[j+4+3>>0]|0);f=f>>>0>>0?k:f;if(!((i|0)==0?1:f>>>0>((d[j+4+-4+1>>0]|0)<<16|(d[j+4+-4>>0]|0)<<24|(d[j+4+-4+2>>0]|0)<<8|(d[j+4+-4+3>>0]|0))>>>0))break;e=e+1|0;if(e>>>0>=h>>>0)break a}c[b+28>>2]=f;c[b+32>>2]=i;c[b+36>>2]=e;return}}while(0);a[b+24>>0]=0;return}function oZa(b,d){b=b|0;d=d|0;var e=0;e=c[b+28>>2]|0;if((e|0)==-1){d=0;return d|0}if(a[b+24>>0]|0)if((e|0)==(c[d>>2]|0)){nZa(b);if(!(a[b+24>>0]|0)){d=0;return d|0}e=c[b+32>>2]|0;if(!e){d=0;return d|0}c[d>>2]=c[b+28>>2];d=e;return d|0}d=mZa(b,d,1)|0;return d|0}function pZa(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0;if((a+16|0)>>>0>(c[b+160>>2]|0)>>>0)JRa(b,8);e=(d[a+5>>0]|0)<<16|(d[a+4>>0]|0)<<24|(d[a+6>>0]|0)<<8|(d[a+7>>0]|0);j=(d[a+13>>0]|0)<<16|(d[a+12>>0]|0)<<24|(d[a+14>>0]|0)<<8|(d[a+15>>0]|0);if(e>>>0<16?1:e>>>0>((c[b+160>>2]|0)-a|0)>>>0)JRa(b,8);if((((e+-16|0)>>>0)/12|0)>>>0>>0)JRa(b,8);if(!j)return 0;h=0;i=0;f=a+16|0;while(1){e=(d[f+1>>0]|0)<<16|(d[f>>0]|0)<<24|(d[f+2>>0]|0)<<8|(d[f+3>>0]|0);a=h;h=(d[f+5>>0]|0)<<16|(d[f+4>>0]|0)<<24|(d[f+6>>0]|0)<<8|(d[f+7>>0]|0);g=f;f=f+12|0;if(e>>>0>h>>>0){e=9;break}if(!((i|0)==0|e>>>0>a>>>0)){e=11;break}if(c[b+164>>2]|0)if(((d[g+9>>0]|0)<<16|(d[g+8>>0]|0)<<24|(d[g+10>>0]|0)<<8|(d[g+11>>0]|0))>>>0>=(c[b+172>>2]|0)>>>0){e=14;break}i=i+1|0;if((i|0)==(j|0)){e=16;break}}if((e|0)==9)JRa(b,8);else if((e|0)==11)JRa(b,8);else if((e|0)==14)JRa(b,16);else if((e|0)==16)return 0;return 0}function qZa(a,b){a=a|0;b=b|0;a=c[a+16>>2]|0;c[b+4>>2]=13;c[b>>2]=(d[a+9>>0]|0)<<16|(d[a+8>>0]|0)<<24|(d[a+10>>0]|0)<<8|(d[a+11>>0]|0);return 0}function rZa(a,b){a=a|0;b=b|0;c[a+16>>2]=b;c[a+24>>2]=(d[b+7>>0]|0)<<16|(d[b+6>>0]|0)<<24|(d[b+8>>0]|0)<<8|(d[b+9>>0]|0);c[a+28>>2]=0;c[a+32>>2]=0;return 0}function sZa(a){a=a|0;var b=0,d=0;b=c[a+36>>2]|0;c[a+28>>2]=0;if(!b)return;d=c[a+32>>2]|0;if(!d)return;LTa(b,d);c[a+32>>2]=0;return}function tZa(a,b){a=a|0;b=b|0;return 0}function uZa(a,b){a=a|0;b=b|0;c[b>>2]=0;return 0}function vZa(a,b,e,f){a=a|0;b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;l=c[a+16>>2]|0;i=(d[l+7>>0]|0)<<16|(d[l+6>>0]|0)<<24|(d[l+8>>0]|0)<<8|(d[l+9>>0]|0);a=0;a:while(1)while(1){if(a>>>0>=i>>>0){m=0;j=21;break a}g=(a+i|0)>>>1;h=l+10+(g*11|0)+3+-3|0;h=(d[h+1>>0]|0)<<8|(d[h>>0]|0)<<16|(d[h+2>>0]|0);if(h>>>0>f>>>0){i=g;continue a}if(h>>>0>>0)a=g+1|0;else{k=l+10+(g*11|0)+3|0;break a}}if((j|0)==21)return m|0;f=(d[k+1>>0]|0)<<16|(d[k>>0]|0)<<24|(d[k+2>>0]|0)<<8|(d[k+3>>0]|0);j=(d[k+5>>0]|0)<<16|(d[k+4>>0]|0)<<24|(d[k+6>>0]|0)<<8|(d[k+7>>0]|0);b:do if(f|0){a=(d[l+f+1>>0]|0)<<16|(d[l+f>>0]|0)<<24|(d[l+f+2>>0]|0)<<8|(d[l+f+3>>0]|0);h=0;while(1){while(1){if(h>>>0>=a>>>0)break b;i=(a+h|0)>>>1;g=l+f+4+(i<<2)+3+-3|0;g=(d[g+1>>0]|0)<<8|(d[g>>0]|0)<<16|(d[g+2>>0]|0);if(g>>>0>e>>>0)a=i;else break}if(((d[l+f+4+(i<<2)+3>>0]|0)+g|0)>>>0>>0)h=i+1|0;else break}e=Xi[c[(c[b+12>>2]|0)+12>>2]&511](b,e)|0;return e|0}while(0);if(!j){e=0;return e|0}a=(d[l+j+1>>0]|0)<<16|(d[l+j>>0]|0)<<24|(d[l+j+2>>0]|0)<<8|(d[l+j+3>>0]|0);if(!a){e=0;return e|0}else g=0;c:while(1){while(1){i=(g+a|0)>>>1;h=l+j+4+(i*5|0)+3+-3|0;h=(d[h+1>>0]|0)<<8|(d[h>>0]|0)<<16|(d[h+2>>0]|0);if(h>>>0>e>>>0)break;if(h>>>0>=e>>>0){n=l+j+4+(i*5|0)+3|0;j=20;break c}g=i+1|0;if(g>>>0>=a>>>0){m=0;j=21;break c}}if(g>>>0>>0)a=i;else{m=0;j=21;break}}if((j|0)==20){e=(d[n>>0]|0)<<8|(d[n+1>>0]|0);return e|0}else if((j|0)==21)return m|0;return 0}function wZa(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;j=c[a+16>>2]|0;h=(d[j+7>>0]|0)<<16|(d[j+6>>0]|0)<<24|(d[j+8>>0]|0)<<8|(d[j+9>>0]|0);a=0;a:while(1)while(1){if(a>>>0>=h>>>0){a=-1;i=21;break a}f=(a+h|0)>>>1;g=j+10+(f*11|0)+3+-3|0;g=(d[g+1>>0]|0)<<8|(d[g>>0]|0)<<16|(d[g+2>>0]|0);if(g>>>0>e>>>0){h=f;continue a}if(g>>>0>>0)a=f+1|0;else{a=j+10+(f*11|0)+3|0;break a}}if((i|0)==21)return a|0;e=(d[a+1>>0]|0)<<16|(d[a>>0]|0)<<24|(d[a+2>>0]|0)<<8|(d[a+3>>0]|0);i=(d[a+5>>0]|0)<<16|(d[a+4>>0]|0)<<24|(d[a+6>>0]|0)<<8|(d[a+7>>0]|0);b:do if(e|0){a=(d[j+e+1>>0]|0)<<16|(d[j+e>>0]|0)<<24|(d[j+e+2>>0]|0)<<8|(d[j+e+3>>0]|0);g=0;while(1){while(1){if(g>>>0>=a>>>0)break b;h=(a+g|0)>>>1;f=j+e+4+(h<<2)+3+-3|0;f=(d[f+1>>0]|0)<<8|(d[f>>0]|0)<<16|(d[f+2>>0]|0);if(f>>>0>b>>>0)a=h;else break}if(((d[j+e+4+(h<<2)+3>>0]|0)+f|0)>>>0>>0)g=h+1|0;else{a=1;break}}return a|0}while(0);c:do if(i|0){a=(d[j+i+1>>0]|0)<<16|(d[j+i>>0]|0)<<24|(d[j+i+2>>0]|0)<<8|(d[j+i+3>>0]|0);if(a|0){f=0;d:while(1){while(1){h=(f+a|0)>>>1;g=j+i+4+(h*5|0)+3+-3|0;g=(d[g+1>>0]|0)<<8|(d[g>>0]|0)<<16|(d[g+2>>0]|0);if(g>>>0>b>>>0)break;if(g>>>0>=b>>>0){a=j+i+4+(h*5|0)+3|0;break d}f=h+1|0;if(f>>>0>=a>>>0)break c}if(f>>>0>>0)a=h;else break c}if((d[a>>0]|0)<<8|(d[a+1>>0]|0)|0){b=0;return b|0}}}while(0);b=-1;return b|0}function xZa(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0;h=i;i=i+16|0;e=c[a+24>>2]|0;g=c[a+16>>2]|0;f=c[a+28>>2]|0;c[h>>2]=0;do if(f>>>0<(e+1|0)>>>0){c[a+36>>2]=b;f=JTa(b,4,f,e+1|0,c[a+32>>2]|0,h)|0;c[a+32>>2]=f;if(!(c[h>>2]|0)){c[a+28>>2]=e+1;break}g=0;i=h;return g|0}else f=c[a+32>>2]|0;while(0);if(!e)e=0;else{a=0;b=g+10|0;while(1){c[f+(a<<2)>>2]=(d[b+1>>0]|0)<<8|(d[b>>0]|0)<<16|(d[b+2>>0]|0);a=a+1|0;if((a|0)==(e|0))break;else b=b+11|0}}c[f+(e<<2)>>2]=0;g=f;i=h;return g|0}function yZa(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+16|0;g=c[a+24>>2]|0;h=c[a+16>>2]|0;f=c[a+28>>2]|0;c[r>>2]=0;do if(f>>>0<(g+1|0)>>>0){c[a+36>>2]=b;f=JTa(b,4,f,g+1|0,c[a+32>>2]|0,r)|0;c[a+32>>2]=f;if(!(c[r>>2]|0)){c[a+28>>2]=g+1;q=f;break}a=0;i=r;return a|0}else q=c[a+32>>2]|0;while(0);if(!g)f=q;else{p=h+10|0;f=q;do{o=(d[p+1>>0]|0)<<8|(d[p>>0]|0)<<16|(d[p+2>>0]|0);b=(d[p+4>>0]|0)<<16|(d[p+3>>0]|0)<<24|(d[p+5>>0]|0)<<8|(d[p+6>>0]|0);m=(d[p+8>>0]|0)<<16|(d[p+7>>0]|0)<<24|(d[p+9>>0]|0)<<8|(d[p+10>>0]|0);p=p+11|0;a:do if(!b)n=14;else{k=(c[a+16>>2]|0)+b|0;b=(d[k+1>>0]|0)<<16|(d[k>>0]|0)<<24|(d[k+2>>0]|0)<<8|(d[k+3>>0]|0);j=0;while(1){while(1){if(j>>>0>=b>>>0){n=14;break a}l=(b+j|0)>>>1;h=k+4+(l<<2)+3+-3|0;h=(d[h+1>>0]|0)<<8|(d[h>>0]|0)<<16|(d[h+2>>0]|0);if(h>>>0>e>>>0)b=l;else break}if(((d[k+4+(l<<2)+3>>0]|0)+h|0)>>>0>>0)j=l+1|0;else{n=22;break}}}while(0);b:do if((n|0)==14){n=0;if(m){l=(c[a+16>>2]|0)+m|0;b=(d[l+1>>0]|0)<<16|(d[l>>0]|0)<<24|(d[l+2>>0]|0)<<8|(d[l+3>>0]|0);if(b){h=0;c:while(1){while(1){k=(h+b|0)>>>1;j=l+4+(k*5|0)+3+-3|0;j=(d[j+1>>0]|0)<<8|(d[j>>0]|0)<<16|(d[j+2>>0]|0);if(j>>>0>e>>>0)break;if(j>>>0>=e>>>0){b=l+4+(k*5|0)+3|0;break c}h=k+1|0;if(h>>>0>=b>>>0)break b}if(h>>>0>>0)b=k;else break b}if((d[b>>0]|0)<<8|(d[b+1>>0]|0))n=22}}}while(0);if((n|0)==22){c[f>>2]=o;f=f+4|0}g=g+-1|0}while((g|0)!=0)}c[f>>2]=0;a=q;i=r;return a|0}function zZa(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+16|0;l=c[a+16>>2]|0;j=(d[l+7>>0]|0)<<16|(d[l+6>>0]|0)<<24|(d[l+8>>0]|0)<<8|(d[l+9>>0]|0);f=0;a:while(1)while(1){if(f>>>0>=j>>>0){f=0;k=60;break a}g=(f+j|0)>>>1;h=l+10+(g*11|0)+3+-3|0;h=(d[h+1>>0]|0)<<8|(d[h>>0]|0)<<16|(d[h+2>>0]|0);if(h>>>0>e>>>0){j=g;continue a}if(h>>>0>>0)f=g+1|0;else{f=l+10+(g*11|0)+3|0;break a}}if((k|0)==60){i=r;return f|0}j=(d[f+1>>0]|0)<<16|(d[f>>0]|0)<<24|(d[f+2>>0]|0)<<8|(d[f+3>>0]|0);e=(d[f+5>>0]|0)<<16|(d[f+4>>0]|0)<<24|(d[f+6>>0]|0)<<8|(d[f+7>>0]|0);if(!(e|j)){q=0;i=r;return q|0}if(!j){f=(d[l+e+1>>0]|0)<<16|(d[l+e>>0]|0)<<24|(d[l+e+2>>0]|0)<<8|(d[l+e+3>>0]|0);g=c[a+28>>2]|0;c[r>>2]=0;do if(g>>>0<(f+1|0)>>>0){c[a+36>>2]=b;g=JTa(b,4,g,f+1|0,c[a+32>>2]|0,r)|0;c[a+32>>2]=g;if(!(c[r>>2]|0)){c[a+28>>2]=f+1;j=g;break}q=0;i=r;return q|0}else j=c[a+32>>2]|0;while(0);if(!f)f=0;else{g=l+e+4|0;h=0;while(1){c[j+(h<<2)>>2]=(d[g+1>>0]|0)<<8|(d[g>>0]|0)<<16|(d[g+2>>0]|0);h=h+1|0;if((h|0)==(f|0))break;else g=g+5|0}}c[j+(f<<2)>>2]=0;q=j;i=r;return q|0}if(!e){q=AZa(a,l+j|0,b)|0;i=r;return q|0}p=l+e+4+-4|0;p=(d[p+1>>0]|0)<<16|(d[p>>0]|0)<<24|(d[p+2>>0]|0)<<8|(d[p+3>>0]|0);q=(d[l+j+1>>0]|0)<<16|(d[l+j>>0]|0)<<24|(d[l+j+2>>0]|0)<<8|(d[l+j+3>>0]|0);if(!q)f=0;else{g=l+j+7|0;h=q;f=0;while(1){f=f+1+(d[g>>0]|0)|0;h=h+-1|0;if(!h)break;else g=g+4|0}}if(!p){q=AZa(a,l+j|0,b)|0;i=r;return q|0}if(!f){f=c[a+28>>2]|0;c[r>>2]=0;do if(f>>>0<(p+1|0)>>>0){c[a+36>>2]=b;f=JTa(b,4,f,p+1|0,c[a+32>>2]|0,r)|0;c[a+32>>2]=f;if(!(c[r>>2]|0)){c[a+28>>2]=p+1;h=f;break}q=0;i=r;return q|0}else h=c[a+32>>2]|0;while(0);f=l+e+4|0;g=0;while(1){c[h+(g<<2)>>2]=(d[f+1>>0]|0)<<8|(d[f>>0]|0)<<16|(d[f+2>>0]|0);g=g+1|0;if((g|0)==(p|0))break;else f=f+5|0}c[h+(p<<2)>>2]=0;q=h;i=r;return q|0}g=p+1+f|0;f=c[a+28>>2]|0;c[r>>2]=0;do if(f>>>0>>0){c[a+36>>2]=b;f=JTa(b,4,f,g,c[a+32>>2]|0,r)|0;c[a+32>>2]=f;if(!(c[r>>2]|0)){c[a+28>>2]=g;o=f;break}q=0;i=r;return q|0}else o=c[a+32>>2]|0;while(0);h=l+j+4+3|0;n=l+e+4+3+-3|0;g=d[h>>0]|0;b=1;k=h+1|0;h=(d[h+-3+1>>0]|0)<<8|(d[h+-3>>0]|0)<<16|(d[h+-3+2>>0]|0);f=0;a=1;n=(d[n+1>>0]|0)<<8|(d[n>>0]|0)<<16|(d[n+2>>0]|0);e=l+e+4+3+2|0;b:while(1){if(n>>>0>(g+h|0)>>>0){m=k;l=h;while(1){h=f;j=0;while(1){f=h+1|0;c[o+(h<<2)>>2]=j+l;j=j+1|0;if(j>>>0>g>>>0)break;else h=f}b=b+1|0;if(b>>>0>q>>>0){j=g;k=m;g=n;break b}h=(d[m+1>>0]|0)<<8|(d[m>>0]|0)<<16|(d[m+2>>0]|0);k=m+4|0;g=d[m+3>>0]|0;if(n>>>0>(g+h|0)>>>0){m=k;l=h}else break}}if(n>>>0>>0){c[o+(f<<2)>>2]=n;f=f+1|0}a=a+1|0;if(a>>>0>p>>>0){j=g;l=h;g=n;break}n=(d[e+1>>0]|0)<<8|(d[e>>0]|0)<<16|(d[e+2>>0]|0);e=e+5|0}if(a>>>0>p>>>0){if(b>>>0<=q>>>0){g=f;h=0;while(1){f=g+1|0;c[o+(g<<2)>>2]=h+l;h=h+1|0;if(h>>>0>j>>>0)break;else g=f}if(b>>>0>>0)while(1){g=(d[k+1>>0]|0)<<8|(d[k>>0]|0)<<16|(d[k+2>>0]|0);h=d[k+3>>0]|0;j=f;e=0;while(1){c[o+(j<<2)>>2]=e+g;if((e|0)==(h|0))break;else{j=j+1|0;e=e+1|0}}f=f+1+h|0;b=b+1|0;if((b|0)==(q|0))break;else k=k+4|0}}}else{c[o+(f<<2)>>2]=g;g=f+1|0;if(a>>>0

>>0){j=f+p+1|0;h=a;f=e;while(1){c[o+(g<<2)>>2]=(d[f+1>>0]|0)<<8|(d[f>>0]|0)<<16|(d[f+2>>0]|0);h=h+1|0;if((h|0)==(p|0))break;else{g=g+1|0;f=f+5|0}}f=j-a|0}else f=g}c[o+(f<<2)>>2]=0;q=o;i=r;return q|0}function AZa(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;l=BZa(e)|0;g=a[e>>0]|0;h=a[e+1>>0]|0;i=a[e+2>>0]|0;j=a[e+3>>0]|0;if(CZa(b,l+1|0,f)|0){l=0;return l|0}l=c[b+32>>2]|0;if(!((h&255)<<16|(g&255)<<24|(i&255)<<8|j&255))b=l;else{k=e;i=(h&255)<<16|(g&255)<<24|(i&255)<<8|j&255;b=l;do{h=k;k=k+4|0;f=d[h+7>>0]|0;e=f+1|0;g=b;h=(d[h+5>>0]|0)<<8|(d[k>>0]|0)<<16|(d[h+6>>0]|0);while(1){c[g>>2]=h;e=e+-1|0;if(!e)break;else{g=g+4|0;h=h+1|0}}b=b+4+(f<<2)|0;i=i+-1|0}while((i|0)!=0)}c[b>>2]=0;return l|0}function BZa(a){a=a|0;var b=0,c=0;b=(d[a+1>>0]|0)<<16|(d[a>>0]|0)<<24|(d[a+2>>0]|0)<<8|(d[a+3>>0]|0);if(!b){c=0;return c|0}c=a+7|0;a=0;while(1){a=a+1+(d[c>>0]|0)|0;b=b+-1|0;if(!b)break;else c=c+4|0}return a|0}function CZa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;e=c[a+28>>2]|0;c[f>>2]=0;if(e>>>0>=b>>>0){b=0;i=f;return b|0}c[a+36>>2]=d;c[a+32>>2]=JTa(d,4,e,b,c[a+32>>2]|0,f)|0;e=c[f>>2]|0;if(e|0){b=e;i=f;return b|0}c[a+28>>2]=b;b=0;i=f;return b|0}function DZa(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;if((a+10|0)>>>0>(c[b+160>>2]|0)>>>0)JRa(b,8);l=(d[a+3>>0]|0)<<16|(d[a+2>>0]|0)<<24|(d[a+4>>0]|0)<<8|(d[a+5>>0]|0);m=(d[a+7>>0]|0)<<16|(d[a+6>>0]|0)<<24|(d[a+8>>0]|0)<<8|(d[a+9>>0]|0);if(l>>>0<10?1:l>>>0>((c[b+160>>2]|0)-a|0)>>>0)JRa(b,8);if((((l+-10|0)>>>0)/11|0)>>>0>>0)JRa(b,8);if(!m)return 0;n=1;o=0;p=a+10|0;a:while(1){e=(d[p+1>>0]|0)<<8|(d[p>>0]|0)<<16|(d[p+2>>0]|0);f=(d[p+4>>0]|0)<<16|(d[p+3>>0]|0)<<24|(d[p+5>>0]|0)<<8|(d[p+6>>0]|0);k=(d[p+8>>0]|0)<<16|(d[p+7>>0]|0)<<24|(d[p+9>>0]|0)<<8|(d[p+10>>0]|0);p=p+11|0;if(!(f>>>0>>0&k>>>0>>0)){e=9;break}if(e>>>0>>0){e=11;break}n=e+1|0;if(f|0){j=a+f+4+-4|0;j=(d[j+1>>0]|0)<<16|(d[j>>0]|0)<<24|(d[j+2>>0]|0)<<8|(d[j+3>>0]|0);if(j>>>0>((c[b+160>>2]|0)-(a+f+4)|0)>>>2>>>0){e=14;break}if(j|0){g=a+f+4|0;h=0;i=0;while(1){e=(d[g+1>>0]|0)<<8|(d[g>>0]|0)<<16|(d[g+2>>0]|0);f=e+(d[g+3>>0]|0)|0;if(f>>>0>1114111){e=17;break a}if(e>>>0>>0){e=19;break a}h=h+1|0;if((h|0)==(j|0))break;else{g=g+4|0;i=f+1|0}}}}if(k|0){h=a+k+4+-4|0;h=(d[h+1>>0]|0)<<16|(d[h>>0]|0)<<24|(d[h+2>>0]|0)<<8|(d[h+3>>0]|0);if(h>>>0>((c[b+160>>2]|0)-(a+k+4)|0)>>>2>>>0){e=23;break}if(h|0){i=0;j=0;f=a+k+4|0;do{e=(d[f+1>>0]|0)<<8|(d[f>>0]|0)<<16|(d[f+2>>0]|0);g=f;f=f+5|0;if(e>>>0>1114111){e=26;break a}if(e>>>0>>0){e=28;break a}j=e+1|0;if(c[b+164>>2]|0)if(((d[g+3>>0]|0)<<8|(d[g+4>>0]|0))>>>0>=(c[b+172>>2]|0)>>>0){e=31;break a}i=i+1|0}while((i|0)!=(h|0))}}o=o+1|0;if((o|0)==(m|0)){e=34;break}}switch(e|0){case 9:{JRa(b,8);break}case 11:{JRa(b,8);break}case 14:{JRa(b,8);break}case 17:{JRa(b,8);break}case 19:{JRa(b,8);break}case 23:{JRa(b,8);break}case 26:{JRa(b,8);break}case 28:{JRa(b,8);break}case 31:{JRa(b,16);break}case 34:return 0}return 0}function EZa(a,b){a=a|0;b=b|0;c[b+4>>2]=14;c[b>>2]=-1;return 0}function FZa(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;i=b[a+152>>1]|0;g=c[a+156>>2]|0;if(!(i<<16>>16)){j=142;return j|0}else a=g;while(1){if((c[a>>2]|0)==(d|0)){h=c[a+12>>2]|0;if(h|0)break}a=a+16|0;if(a>>>0>=(g+((i&65535)<<4)|0)>>>0){a=142;j=8;break}}if((j|0)==8)return a|0;if(f|0)c[f>>2]=h;j=cTa(e,c[a+8>>2]|0)|0;return j|0}function GZa(d,f,g,h,j){d=d|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;D=i;i=i+64|0;h=c[f+532>>2]|0;do if(!h){h=xSa(c[(c[f+96>>2]|0)+4>>2]|0,590362)|0;if(!h){f=11;i=D;return f|0}else{c[f+532>>2]=h;c[f+508>>2]=c[h>>2];C=h;break}}else C=h;while(0);c[f+536>>2]=ySa(c[f+96>>2]|0,591555)|0;A=c[d+28>>2]|0;c[f+132>>2]=0;c[f+136>>2]=0;c[f+140>>2]=0;k=eTa(d)|0;l=vTa(d,D)|0;h=c[D>>2]|0;a:do if(!h){x=D+8+4|0;y=D+8+8|0;z=D+8+12|0;j=d;h=l;b:while(1){if((h|0)<1953658213){B=85;break}if((h|0)<1954115633){B=91;break}if((h|0)<2001684038){B=97;break}switch(h|0){case 2001684038:break;default:{h=2;break a}}h=cTa(j,k)|0;c[D>>2]=h;if(h|0)break a;v=j+28|0;w=c[v>>2]|0;c[D+52>>2]=0;h=xTa(j,172310,D+8|0)|0;c[D+52>>2]=h;if(h|0){B=65;break}h=c[x>>2]|0;if((h|0)<2001684038)switch(h|0){case 1953784678:{h=8;B=65;break b}default:{}}else switch(h|0){case 2001684038:{h=8;B=65;break b}default:{}}h=c[y>>2]|0;if((h|0)!=(c[j+4>>2]|0)){h=8;B=65;break}k=b[z>>1]|0;if(!(k<<16>>16)){h=8;B=65;break}if((((k&65535)*20|0)+44|0)>>>0>=h>>>0){h=8;B=65;break}l=c[D+8+16>>2]|0;if(!(((k&65535)<<4|12)>>>0>>0&(l&3|0)==0)){h=8;B=65;break}h=c[D+8+28>>2]|0;if(!(c[D+8+24>>2]|0)){if(c[D+8+32>>2]|h|0){h=8;B=65;break}}else if(h|0?(c[D+8+32>>2]|0)==0:0){h=8;B=65;break}if(!(c[D+8+36>>2]|0?1:(c[D+8+40>>2]|0)==0)){h=8;B=65;break}u=HTa(w,l,D+52|0)|0;c:do if(!(c[D+52>>2]|0)){t=HTa(w,40,D+52|0)|0;if(!(c[D+52>>2]|0)){l=b[z>>1]|0;if(!(l<<16>>16))h=0;else{h=0;k=l&65535;do{k=k>>>1;h=h+1|0}while((k|0)!=0)}h=h+-1|0;a[u>>0]=(c[x>>2]|0)>>>24;a[u+1>>0]=(c[x>>2]|0)>>>16;a[u+2>>0]=(c[x>>2]|0)>>>8;a[u+3>>0]=c[x>>2];a[u+4>>0]=(e[z>>1]|0)>>>8;a[u+5>>0]=b[z>>1];a[u+6>>0]=16<>>8;a[u+7>>0]=16<>0]=h>>>8;a[u+9>>0]=h;a[u+10>>0]=(((l&65535)<<4)-(16<>>8;a[u+11>>0]=((l&65535)<<4)-(16<>1]|0,0,D+52|0)|0;if(c[D+52>>2]|0){k=0;j=t;break}k=JTa(w,4,0,e[z>>1]|0,0,D+52|0)|0;if(c[D+52>>2]|0){j=t;break}s=jTa(j,(e[z>>1]|0)*20|0)|0;c[D+52>>2]=s;if(s|0){j=t;break}d:do if(b[z>>1]|0){d=0;m=0;while(1){l=h+(d*24|0)|0;c[l>>2]=pTa(j)|0;c[h+(d*24|0)+4>>2]=pTa(j)|0;c[h+(d*24|0)+8>>2]=pTa(j)|0;c[h+(d*24|0)+12>>2]=pTa(j)|0;c[h+(d*24|0)+16>>2]=pTa(j)|0;s=m;m=c[l>>2]|0;if(m>>>0<=s>>>0)break;c[k+(d<<2)>>2]=l;d=d+1|0;if((d|0)>=(e[z>>1]|0))break d}lTa(j);c[D+52>>2]=8;j=t;break c}while(0);lTa(j);cnb(k,e[z>>1]|0,4,361);s=b[z>>1]|0;e:do if(!(s<<16>>16)){m=(s&65535)<<4|12;l=((s&65535)*20|0)+44|0}else{p=c[y>>2]|0;q=c[D+8+16>>2]|0;r=0;d=(s&65535)<<4|12;l=((s&65535)*20|0)+44|0;while(1){m=c[k+(r<<2)>>2]|0;if((c[m+4>>2]|0)!=(l|0))break;n=c[m+8>>2]|0;if(p>>>0>>0|l>>>0>(p-n|0)>>>0)break;o=c[m+12>>2]|0;if(n>>>0>o>>>0|(q>>>0>>0|d>>>0>(q-o|0)>>>0))break;c[m+20>>2]=d;l=(n+3&-4)+l|0;d=(o+3&-4)+d|0;r=r+1|0;if((r|0)>=(s&65535|0)){m=d;break e}}c[D+52>>2]=8;j=t;break c}while(0);d=c[D+8+24>>2]|0;do if(d){if((d|0)==(l|0)){l=(c[D+8+28>>2]|0)+l|0;if(l>>>0<=(c[y>>2]|0)>>>0)break}c[D+52>>2]=8;j=t;break c}while(0);d=c[D+8+36>>2]|0;do if(!d)d=c[y>>2]|0;else{if((d|0)==(l+3&-4|0)){l=(c[D+8+40>>2]|0)+d|0;d=c[y>>2]|0;if(l>>>0<=d>>>0)break}c[D+52>>2]=8;j=t;break c}while(0);if(!((l|0)==(d|0)?(m|0)==(c[D+8+16>>2]|0):0)){c[D+52>>2]=8;j=t;break}do if(!(s<<16>>16))j=m;else{p=j+32|0;q=0;r=u+12|0;while(1){l=h+(q*24|0)|0;a[r>>0]=(c[l>>2]|0)>>>24;a[r+1>>0]=(c[l>>2]|0)>>>16;a[r+2>>0]=(c[l>>2]|0)>>>8;a[r+3>>0]=c[l>>2];l=h+(q*24|0)+16|0;a[r+4>>0]=(c[l>>2]|0)>>>24;a[r+5>>0]=(c[l>>2]|0)>>>16;a[r+6>>0]=(c[l>>2]|0)>>>8;a[r+7>>0]=c[l>>2];l=h+(q*24|0)+20|0;a[r+8>>0]=(c[l>>2]|0)>>>24;a[r+9>>0]=(c[l>>2]|0)>>>16;a[r+10>>0]=(c[l>>2]|0)>>>8;a[r+11>>0]=c[l>>2];d=h+(q*24|0)+12|0;a[r+12>>0]=(c[d>>2]|0)>>>24;a[r+13>>0]=(c[d>>2]|0)>>>16;a[r+14>>0]=(c[d>>2]|0)>>>8;a[r+15>>0]=c[d>>2];r=r+16|0;s=cTa(j,c[h+(q*24|0)+4>>2]|0)|0;c[D+52>>2]=s;if(s|0){j=t;break c}m=h+(q*24|0)+8|0;s=jTa(j,c[m>>2]|0)|0;c[D+52>>2]=s;if(s|0){j=t;break c}n=c[m>>2]|0;o=c[d>>2]|0;if((n|0)==(o|0))mBb(u+(c[l>>2]|0)|0,c[p>>2]|0,n|0)|0;else{c[D+4>>2]=o;s=j3a(w,u+(c[l>>2]|0)|0,D+4|0,c[p>>2]|0,c[m>>2]|0)|0;c[D+52>>2]=s;if(s|0)break;if((c[D+4>>2]|0)!=(c[d>>2]|0)){B=55;break}}lTa(j);l=(c[d>>2]|0)+(c[l>>2]|0)|0;if(l&3|0)do{a[u+l>>0]=0;l=l+1|0}while((l&3|0)!=0);q=q+1|0;if((q|0)>=(e[z>>1]|0)){B=61;break}}if((B|0)==55){B=0;c[D+52>>2]=8}else if((B|0)==61){B=0;j=c[D+8+16>>2]|0;break}j=t;break c}while(0);aTa(t,u,j);c[t+28>>2]=c[v>>2];c[t+24>>2]=701;LRa(c[f+104>>2]|0,(c[f+8>>2]|0)>>>10&1);c[f+104>>2]=t;c[f+8>>2]=c[f+8>>2]&-1025;j=t}else{k=0;j=t;h=0}}else{k=0;j=0;h=0}while(0);LTa(w,h);LTa(w,k);if(!(c[D+52>>2]|0))c[D>>2]=0;else{LTa(w,u);bTa(j);LTa(w,j);h=c[D+52>>2]|0;c[D>>2]=h;if(h|0)break a}j=c[f+104>>2]|0;k=eTa(j)|0;l=vTa(j,D)|0;h=c[D>>2]|0;if(!h)h=l;else break a}f:do if((B|0)==65){c[D>>2]=h;break a}else if((B|0)==85){if((h|0)<131072)switch(h|0){case 65536:break f;default:{h=2;break a}}if((h|0)<1330926671)switch(h|0){case 131072:break f;default:{h=2;break a}}else switch(h|0){case 1330926671:break f;default:{h=2;break a}}}else if((B|0)==91)if((h|0)<1953784678)switch(h|0){case 1953658213:break f;default:{h=2;break a}}else switch(h|0){case 1953784678:break f;default:{h=2;break a}}else if((B|0)==97)switch(h|0){case 1954115633:break;default:{h=2;break a}}while(0);c[f+132>>2]=1953784678;if((h|0)==1953784678){h=xTa(j,172370,f+132|0)|0;c[D>>2]=h;if(h|0)break;h=c[f+140>>2]|0;if(!h){h=8;break}if(h>>>0>(c[j+4>>2]|0)>>>5>>>0){h=10;break}c[f+144>>2]=JTa(A,4,0,h,0,D)|0;h=c[D>>2]|0;if(h|0)break;h=jTa(j,c[f+140>>2]<<2)|0;c[D>>2]=h;if(h|0)break;if((c[f+140>>2]|0)>0){h=0;do{B=pTa(j)|0;c[(c[f+144>>2]|0)+(h<<2)>>2]=B;h=h+1|0}while((h|0)<(c[f+140>>2]|0))}lTa(j);h=c[D>>2]|0;if(h|0){f=h;i=D;return f|0}}else{c[f+136>>2]=65536;c[f+140>>2]=1;j=HTa(A,4,D)|0;c[f+144>>2]=j;h=c[D>>2]|0;if(h|0)break;c[j>>2]=k}k=c[f+104>>2]|0;j=(g|0)<0?0:g;if((j|0)>=(c[f+140>>2]|0)){f=6;i=D;return f|0}h=cTa(k,c[(c[f+144>>2]|0)+(j<<2)>>2]|0)|0;if(h|0){f=h;i=D;return f|0}h=Xi[c[C+88>>2]&511](f,k)|0;if(h|0){f=h;i=D;return f|0}c[f>>2]=c[f+140>>2];c[f+4>>2]=j;f=0;i=D;return f|0}while(0);f=h;i=D;return f|0}function HZa(a,b){a=a|0;b=b|0;a=c[(c[a>>2]|0)+4>>2]|0;b=c[(c[b>>2]|0)+4>>2]|0;return (a>>>0>b>>>0?1:(a>>>0>>0)<<31>>31)|0}function IZa(a){a=a|0;LTa(c[a+28>>2]|0,c[a>>2]|0);c[a+4>>2]=0;c[a>>2]=0;c[a+24>>2]=0;return}function JZa(d,f,g,h,j){d=d|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+32|0;o=c[f+532>>2]|0;if((h|0)>0){l=0;g=0;k=0;do{m=c[j+(l<<3)>>2]|0;k=(m|0)==1768386662?k:(m|0)==1768386675?1:k;g=(m|0)==1768386662?1:g;l=l+1|0}while((l|0)!=(h|0));h=g;j=k}else{h=0;j=0}a:do if(!(c[(c[f+128>>2]|0)+48>>2]|0)){k=b[f+152>>1]|0;l=c[f+156>>2]|0;b:do if(!(k<<16>>16))g=0;else{g=l;do{if((c[g>>2]|0)==1735162214)if(c[g+12>>2]|0){g=1;break a}g=g+16|0}while(g>>>0<(l+((k&65535)<<4)|0)>>>0);if(!(k<<16>>16))g=0;else{g=l;while(1){if((c[g>>2]|0)==1128678944)if(c[g+12>>2]|0)break b;g=g+16|0;if(g>>>0>=(l+((k&65535)<<4)|0)>>>0){g=0;break}}}}while(0);g=(g|0)!=0}else g=1;while(0);k=(cj[c[f+508>>2]&127](f,1935829368,d,0)|0)==0;l=k?0:g&1;if(!(l<<24>>24)){g=c[o+68>>2]|0;if(!g){g=0;n=16}else{g=Xi[g&511](f,d)|0;c[p+28>>2]=g;if(k|(g|0)==0^1){g=(g|0)==0;n=16}else g=(g|0)==0}}else{g=0;n=16}if((n|0)==16){k=Xi[c[o+24>>2]&511](f,d)|0;c[p+28>>2]=k;if(k){f=k;i=p;return f|0}}if(!(b[f+178>>1]|0)){c[p+28>>2]=8;f=8;i=p;return f|0}Xi[c[o+36>>2]&511](f,d)|0;Xi[c[o+32>>2]&511](f,d)|0;Xi[c[o+48>>2]&511](f,d)|0;m=Xi[c[o+44>>2]&511](f,d)|0;c[p+28>>2]=m;if(g)k=l;else{g=Gi[c[o+28>>2]&255](f,d,0)|0;c[p+28>>2]=g;do if(!g){g=Gi[c[o+92>>2]&255](f,d,0)|0;c[p+28>>2]=g;if((g&255|0)!=142){if(!g){k=l;break}i=p;return g|0}c[p+28>>2]=147;g=c[(c[f+128>>2]|0)+48>>2]|0;if(!g){f=147;i=p;return f|0}if(!(c[(c[g>>2]|0)+8>>2]|0)){f=147;i=p;return f|0}else{b[f+250>>1]=0;c[p+28>>2]=0;k=l;break}}else{if((g&255|0)!=142){f=g;i=p;return f|0}if((c[f+148>>2]|0)==1953658213){c[p+28>>2]=0;k=0;break}c[p+28>>2]=143;g=c[(c[f+128>>2]|0)+48>>2]|0;if(!g){f=143;i=p;return f|0}if(!(c[(c[g>>2]|0)+8>>2]|0)){f=143;i=p;return f|0}else{b[f+250>>1]=0;c[p+28>>2]=0;k=l;break}}while(0);g=Gi[c[o+28>>2]&255](f,d,1)|0;c[p+28>>2]=g;if(!g){g=Gi[c[o+92>>2]&255](f,d,1)|0;c[p+28>>2]=g;if(!g)a[f+292>>0]=1;else n=35}else n=35;if((n|0)==35)if(!((g|0)==0|(g&255|0)==142)){f=g;i=p;return f|0}l=Xi[c[o+40>>2]&511](f,d)|0;c[p+28>>2]=l;if(l)b[f+364>>1]=-1}g=c[o+96>>2]|0;do if(g|0){g=Xi[g&511](f,d)|0;c[p+28>>2]=g;if(g|0)if((g&255|0)==142){c[p+28>>2]=0;break}else{f=g;i=p;return f|0}}while(0);g=Xi[c[o+64>>2]&511](f,d)|0;c[p+28>>2]=g;do if(g|0)if((g&255|0)==142){c[f+548>>2]=0;break}else{f=g;i=p;return f|0}while(0);Xi[c[o+60>>2]&511](f,d)|0;c[p+28>>2]=Xi[c[o+56>>2]&511](f,d)|0;c[f+16>>2]=e[f+264>>1];c[f+20>>2]=0;c[f+24>>2]=0;if((b[f+364>>1]|0)==-1)n=55;else if(!(b[f+428>>1]&256))n=55;else{do if(!(h<<24>>24)){g=KZa(f,16,f+20|0)|0;c[p+28>>2]=g;if(!g)if(!(c[f+20>>2]|0)){n=50;break}else break;else{f=g;i=p;return f|0}}else n=50;while(0);if((n|0)==50){g=KZa(f,1,f+20|0)|0;c[p+28>>2]=g;if(g|0){f=g;i=p;return f|0}}if(!(j<<24>>24)){g=KZa(f,17,f+24|0)|0;c[p+28>>2]=g;if(g|0){f=g;i=p;return f|0}}if(!(c[f+24>>2]|0)){g=KZa(f,2,f+24|0)|0;c[p+28>>2]=g;if(g|0){f=g;i=p;return f|0}}}if((n|0)==55){g=KZa(f,21,f+20|0)|0;c[p+28>>2]=g;if(g|0){f=g;i=p;return f|0}g=c[f+20>>2]|0;do if(!(h<<24>>24!=0|(g|0)!=0)){g=KZa(f,16,f+20|0)|0;c[p+28>>2]=g;if(!g){g=c[f+20>>2]|0;break}else{f=g;i=p;return f|0}}while(0);if(!g){g=KZa(f,1,f+20|0)|0;c[p+28>>2]=g;if(g|0){f=g;i=p;return f|0}}g=KZa(f,22,f+24|0)|0;c[p+28>>2]=g;if(g|0){f=g;i=p;return f|0}g=c[f+24>>2]|0;do if(!(j<<24>>24!=0|(g|0)!=0)){g=KZa(f,17,f+24|0)|0;c[p+28>>2]=g;if(!g){g=c[f+24>>2]|0;break}else{f=g;i=p;return f|0}}while(0);if(!g){g=KZa(f,2,f+24|0)|0;c[p+28>>2]=g;if(g|0){f=g;i=p;return f|0}}}g=c[f+8>>2]|0;j=k<<24>>24==1;g=((c[f+732>>2]&-2|0)==2?g|16384:g)|j&1;if(!m)g=(c[f+468>>2]|0)==196608?g|24:g|536;else g=g|24;g=(c[f+480>>2]|0)==0?g:g|4;g=(a[f+292>>0]|0)==0?g:g|32;g=(c[f+752>>2]|0)==0?g:g|64;l=b[f+152>>1]|0;h=c[f+156>>2]|0;c:do if(l<<16>>16){k=h;while(1){if((c[k>>2]|0)==1735162214)if(c[k+12>>2]|0){k=h;break}k=k+16|0;if(k>>>0>=(h+((l&65535)<<4)|0)>>>0)break c}while(1){if((c[k>>2]|0)==1719034226)if(c[k+12>>2]|0){k=h;break}k=k+16|0;if(k>>>0>=(h+((l&65535)<<4)|0)>>>0)break c}while(1){if((c[k>>2]|0)==1735811442)if(c[k+12>>2]|0)break;k=k+16|0;if(k>>>0>=(h+((l&65535)<<4)|0)>>>0){k=0;break}}g=(k|0)==0?g:g|256}while(0);c[f+8>>2]=g;if(j)if((b[f+364>>1]|0)==-1)n=83;else{g=b[f+428>>1]|0;g=(g&65535)>>>4&2|((g&512|0)==0?g&1:1)}else n=83;if((n|0)==83){g=b[f+204>>1]|0;g=(g&65535)>>>1&1|(g&1)<<1}c[f+12>>2]=g;NZa(f);k=c[f+36>>2]|0;if((k|0)>0){l=c[f+40>>2]|0;j=0;do{h=c[l+(j<<2)>>2]|0;g=c[h+8>>2]|0;d:do if((g&65535)<<16>>16==2){g=53720;n=87}else{switch(g&65535|0){case 0:{g=53732;n=87;break d}case 1:if(!((g>>>16&65535)<<16>>16)){g=53744;n=87;break d}else{g=0;break d}case 3:break;default:{g=0;break d}}if(!((g>>>16&65535)<<16>>16)){g=53756;n=87}else if((g>>>16&65535)<<16>>16==10){g=53768;n=87}else if((g>>>16&65535)<<16>>16==1){g=53780;n=87}else if((g>>>16&65535)<<16>>16==2){g=53792;n=87}else{if((g>>>16&65535)<<16>>16==3){g=53804;n=87;break}if((g>>>16&65535)<<16>>16==4){g=53816;n=87;break}if((g>>>16&65535)<<16>>16==5){g=53828;n=87;break}if((g>>>16&65535)<<16>>16==6){g=53840;n=87}else g=0}}while(0);if((n|0)==87){n=0;g=c[g+8>>2]|0}c[h+4>>2]=g;j=j+1|0}while((j|0)<(k|0))}d=c[f+736>>2]|0;e:do if(!d)g=c[f+8>>2]|0;else{l=c[(c[f+104>>2]|0)+28>>2]|0;k=b[f+178>>1]|0;g=b[f+366>>1]|0;if(!(k<<16>>16))n=103;else if((b[f+364>>1]|0)==-1)n=103;else h=g;if((n|0)==103){h=1;k=1}l=JTa(l,16,0,d,0,p+28|0)|0;c[f+32>>2]=l;g=c[p+28>>2]|0;f:do if(!g){j=h<<16>>16;m=k&65535;h=(k&65535)>>>1&65535;g=Gi[c[o+108>>2]&255](f,0,p)|0;c[p+28>>2]=g;if(!g){k=l;l=0;while(1){b[k+(l<<4)>>1]=(c[p+20>>2]|0)>>>6;n=c[p>>2]|0;b[k+(l<<4)+2>>1]=((_(n&65535,j)|0)+h|0)/(m|0)|0;c[k+(l<<4)+8>>2]=(n&65535)<<6;c[k+(l<<4)+12>>2]=n>>>16<<6;c[k+(l<<4)+4>>2]=n>>>16<<6;l=l+1|0;if(l>>>0>=d>>>0)break;k=c[f+32>>2]|0;g=Gi[c[o+108>>2]&255](f,l,p)|0;c[p+28>>2]=g;if(g|0)break f}g=c[f+8>>2]|2;c[f+8>>2]=g;c[f+28>>2]=d;break e}}while(0);f=g;i=p;return f|0}while(0);if(!(g&3)){g=g|1;c[f+8>>2]=g}if(!(g&1)){f=0;i=p;return f|0}g=c[f+196>>2]|0;c[f+52>>2]=g<<16>>16;c[f+56>>2]=g>>16;g=c[f+200>>2]|0;c[f+60>>2]=g<<16>>16;c[f+64>>2]=g>>16;b[f+68>>1]=b[f+178>>1]|0;g=c[f+220>>2]|0;b[f+70>>1]=g;b[f+72>>1]=g>>>16;l=c[f+224>>2]|0;b[f+74>>1]=g-(g>>>16)+l;do if(!(((g|g>>>16)&65535)<<16>>16))if((b[f+364>>1]|0)==-1)g=g-(g>>>16)+l|0;else{g=b[f+434>>1]|0;k=c[f+436>>2]|0;if(!((g|k&65535)<<16>>16)){g=c[f+440>>2]|0;b[f+70>>1]=g;b[f+72>>1]=0-(g>>>16);b[f+74>>1]=(g&65535)+(g>>>16);g=(g&65535)+(g>>>16)|0;break}else{b[f+70>>1]=g;b[f+72>>1]=k;b[f+74>>1]=(g&65535)-(k&65535)+(k>>>16);g=(g&65535)-(k&65535)+(k>>>16)|0;break}}else g=g-(g>>>16)+l|0;while(0);b[f+76>>1]=l>>>16;if(!(a[f+292>>0]|0))g=g<<16>>16;else g=e[f+306>>1]|0;b[f+78>>1]=g;o=c[f+476>>2]|0;b[f+80>>1]=o-((o>>16|0)/2|0);b[f+82>>1]=o>>>16;f=0;i=p;return f|0}function KZa(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+16|0;r=c[a+100>>2]|0;c[s>>2]=0;n=b[a+340>>1]|0;if(!(n<<16>>16)){r=0;c[f>>2]=r;f=c[s>>2]|0;i=s;return f|0}j=-1;g=-1;k=-1;m=-1;o=0;h=0;p=c[a+356>>2]|0;while(1){a:do if((b[p+6>>1]|0)==d<<16>>16)if(b[p+8>>1]|0){l=c[p>>2]|0;switch(l&65535|0){case 2:case 0:{k=o;break a}case 1:{if(!(b[p+4>>1]|0)){j=o;break a}g=(l>>>16|0)==0?o:g;break a}case 3:{if((m|0)!=-1)if((b[p+4>>1]&1023)!=9)break a;switch(l>>>16|0){case 10:case 1:case 0:break;default:break a}m=o;h=(b[p+4>>1]&1023)==9&1;break a}default:break a}}while(0);o=o+1|0;if(o>>>0>=(n&65535)>>>0)break;else p=p+20|0}g=(j|0)>-1?j:g;b:do if((m|0)>-1)if((g|0)<0|h<<24>>24!=0){g=c[a+356>>2]|0;switch(e[g+(m*20|0)+2>>1]|0){case 10:case 0:case 1:{l=362;k=g+(m*20|0)|0;break b}default:g=0}c[f>>2]=g;f=c[s>>2]|0;i=s;return f|0}else q=17;else q=17;while(0);do if((q|0)==17){if((g|0)>-1){l=363;k=(c[a+356>>2]|0)+(g*20|0)|0;break}if((k|0)>-1){l=362;k=(c[a+356>>2]|0)+(k*20|0)|0;break}else{r=0;c[f>>2]=r;f=c[s>>2]|0;i=s;return f|0}}while(0);if(!k){r=0;c[f>>2]=r;f=c[s>>2]|0;i=s;return f|0}j=k+16|0;do if(!(c[j>>2]|0)){g=c[a+360>>2]|0;h=k+8|0;c[j>>2]=JTa(r,1,0,e[h>>1]|0,0,s)|0;if(!(c[s>>2]|0)){a=cTa(g,c[k+12>>2]|0)|0;c[s>>2]=a;if(!a){a=fTa(g,c[j>>2]|0,e[h>>1]|0)|0;c[s>>2]=a;if(!a)break}}LTa(r,c[j>>2]|0);c[j>>2]=0;b[h>>1]=0;r=0;c[f>>2]=r;f=c[s>>2]|0;i=s;return f|0}while(0);r=Xi[l&511](k,r)|0;c[f>>2]=r;f=c[s>>2]|0;i=s;return f|0}function LZa(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,j=0;j=i;i=i+16|0;f=c[d+16>>2]|0;g=b[d+8>>1]|0;h=JTa(e,1,0,(g&65535)+1|0,0,j)|0;if(c[j>>2]|0){h=0;i=j;return h|0}a:do if(!(g<<16>>16))d=0;else{d=0;while(1){e=a[f>>0]|0;if(!(e<<24>>24))break a;a[h+d>>0]=(e&255)<32|e<<24>>24<0?63:e;d=d+1|0;if(d>>>0<(g&65535)>>>0)f=f+1|0;else break}}while(0);a[h+d>>0]=0;i=j;return h|0}function MZa(b,f){b=b|0;f=f|0;var g=0,h=0,j=0,k=0,l=0;l=i;i=i+16|0;g=c[b+16>>2]|0;k=(e[b+8>>1]|0)>>>1;j=JTa(f,1,0,(k&65535)+1|0,0,l)|0;if(c[l>>2]|0){k=0;i=l;return k|0}a:do if(!(k<<16>>16))b=0;else{b=0;while(1){f=a[g+1>>0]|0;h=(d[g>>0]|0)<<8|f&255;if(!h)break a;a[j+b>>0]=(h+-32|0)>>>0>95?63:f;b=b+1|0;if(b>>>0<(k&65535)>>>0)g=g+2|0;else break}}while(0);a[j+b>>0]=0;k=j;i=l;return k|0}function NZa(a){a=a|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,p=0,q=0;q=i;i=i+224|0;m=4;l=Vpb(40)|0;c[l>>2]=0;j=c[a+500>>2]|0;k=j+(c[a+504>>2]|0)|0;c[q+212>>2]=j;if(!(c[q+212>>2]|0)){Wpb(l|0);i=q;return}if(((c[q+212>>2]|0)+4|0)>>>0>k>>>0){Wpb(l|0);i=q;return}c[q+212>>2]=(c[q+212>>2]|0)+2;if(d[(c[q+212>>2]|0)+-1>>0]|0|(d[(c[q+212>>2]|0)+-2>>0]|0)<<8|0){Wpb(l|0);i=q;return}c[q+212>>2]=(c[q+212>>2]|0)+2;c[q+216>>2]=d[(c[q+212>>2]|0)+-1>>0]|0|(d[(c[q+212>>2]|0)+-2>>0]|0)<<8;if(!(c[q+216>>2]|0)){Wpb(l|0);i=q;return}while(1){if(((c[q+212>>2]|0)+8|0)>>>0>k>>>0){p=26;break}c[q+212>>2]=(c[q+212>>2]|0)+2;b[q+200+8>>1]=d[(c[q+212>>2]|0)+-1>>0]|0|(d[(c[q+212>>2]|0)+-2>>0]|0)<<8;c[q+212>>2]=(c[q+212>>2]|0)+2;b[q+200+10>>1]=d[(c[q+212>>2]|0)+-1>>0]|0|(d[(c[q+212>>2]|0)+-2>>0]|0)<<8;c[q+200>>2]=a;c[q+200+4>>2]=0;c[q+212>>2]=(c[q+212>>2]|0)+4;f=(d[(c[q+212>>2]|0)+-3>>0]|0)<<16|(d[(c[q+212>>2]|0)+-4>>0]|0)<<24|(d[(c[q+212>>2]|0)+-2>>0]|0)<<8|(d[(c[q+212>>2]|0)+-1>>0]|0);if(f|0)if(f>>>0<=((c[a+504>>2]|0)+-2|0)>>>0){c[q+196>>2]=j+f;c[q+192>>2]=d[(c[q+196>>2]|0)+1>>0]|0|(d[c[q+196>>2]>>0]|0)<<8;c[q+188>>2]=53680;a:do if(c[c[q+188>>2]>>2]|0){while(1){c[q+184>>2]=c[c[q+188>>2]>>2];if((c[(c[q+184>>2]|0)+40>>2]|0)==(c[q+192>>2]|0))break;c[q+188>>2]=(c[q+188>>2]|0)+4;if(!(c[c[q+188>>2]>>2]|0))break a}c[q+4>>2]=0;n=0;bb(42,q+8|0,c[q+196>>2]|0,k|0,0);f=n;n=0;if((f|0)!=0&(o|0)!=0){g=lBb(c[f>>2]|0,l|0,m|0)|0;if(!g)rg(f|0,o|0);C=o}else g=-1;if((g|0)==1)f=C;else{c[q+8+172>>2]=e[a+264>>1];l=kBb(q+8|0,1,l|0,m|0)|0;m=C;n=0;f=n;n=0;if((f|0)!=0&(o|0)!=0){g=lBb(c[f>>2]|0,l|0,m|0)|0;if(!g)rg(f|0,o|0);C=o}else g=-1;if((g|0)==1)f=C;else f=0}while(1){if(!f){n=0;f=Oa(c[(c[q+184>>2]|0)+44>>2]|0,c[q+196>>2]|0,q+8|0)|0;g=n;n=0;if((g|0)!=0&(o|0)!=0){h=lBb(c[g>>2]|0,l|0,m|0)|0;if(!h)rg(g|0,o|0);C=o}else h=-1;if((h|0)==1){f=C;continue}c[q+4>>2]=f}if(c[q+8+168>>2]|0)break;n=0;f=Va(86,c[q+184>>2]|0,c[q+196>>2]|0,q+200|0,q|0)|0;g=n;n=0;if((g|0)!=0&(o|0)!=0){h=lBb(c[g>>2]|0,l|0,m|0)|0;if(!h)rg(g|0,o|0);C=o}else h=-1;if((h|0)==1)f=C;else{p=19;break}}if((p|0)==19){p=0;if(!f)c[(c[q>>2]|0)+20>>2]=c[q+4>>2]}}while(0)}c[q+216>>2]=(c[q+216>>2]|0)+-1;if(!(c[q+216>>2]|0)){p=26;break}}if((p|0)==26){Wpb(l|0);i=q;return}}function OZa(d){d=d|0;var e=0,f=0,g=0;if(!d)return;f=c[d+100>>2]|0;g=c[d+532>>2]|0;if(g|0){e=c[g+80>>2]|0;if(e|0)Hi[e&1023](d);e=c[g+100>>2]|0;if(e|0)Hi[e&1023](d)}if(a[d+780>>0]|0){if(c[d+760>>2]|0)kTa(c[d+104>>2]|0,d+760|0);c[d+764>>2]=0;c[d+768>>2]=0;c[d+772>>2]=0}kTa(c[d+104>>2]|0,d+740|0);c[d+744>>2]=0;c[d+744+4>>2]=0;c[d+744+8>>2]=0;c[d+744+12>>2]=0;LTa(f,c[d+144>>2]|0);c[d+144>>2]=0;c[d+140>>2]=0;LTa(f,c[d+156>>2]|0);c[d+156>>2]=0;b[d+152>>1]=0;kTa(c[d+104>>2]|0,d+500|0);c[d+504>>2]=0;e=c[d+104>>2]|0;kTa(e,d+680|0);kTa(e,d+688|0);c[d+684>>2]=0;c[d+692>>2]=0;if(a[d+292>>0]|0){LTa(f,c[d+332>>2]|0);c[d+332>>2]=0;LTa(f,c[d+336>>2]|0);c[d+336>>2]=0;a[d+292>>0]=0}LTa(f,c[d+544>>2]|0);c[d+544>>2]=0;b[d+542>>1]=0;if(g|0)Hi[c[g+52>>2]&1023](d);LTa(f,c[d+20>>2]|0);c[d+20>>2]=0;LTa(f,c[d+24>>2]|0);c[d+24>>2]=0;LTa(f,c[d+32>>2]|0);c[d+32>>2]=0;c[d+28>>2]=0;LTa(f,c[d+664>>2]|0);c[d+664>>2]=0;c[d+532>>2]=0;return}function PZa(a,b){a=a|0;b=b|0;return HRa(53852,b)|0}function QZa(a,d,e,f,g){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0;do if(!d)i=c[(c[a+104>>2]|0)+4>>2]|0;else{j=b[a+152>>1]|0;k=c[a+156>>2]|0;if(!(j<<16>>16)){a=142;return a|0}else h=k;while(1){if((c[h>>2]|0)==(d|0)){i=c[h+12>>2]|0;if(i|0){j=6;break}}h=h+16|0;if(h>>>0>=(k+((j&65535)<<4)|0)>>>0){h=142;j=12;break}}if((j|0)==6){e=(c[h+8>>2]|0)+e|0;break}else if((j|0)==12)return h|0}while(0);if(!g)h=i;else{h=c[g>>2]|0;if(!h){c[g>>2]=i;a=0;return a|0}}a=gTa(c[a+104>>2]|0,e,f,h)|0;return a|0}function RZa(d,e){d=d|0;e=e|0;switch(e|0){case 0:{d=d+160|0;break}case 3:{d=d+216|0;break}case 4:{d=a[d+292>>0]|0?d+296|0:0;break}case 2:{d=(b[d+364>>1]|0)==-1?0:d+364|0;break}case 5:{d=d+468|0;break}case 1:{d=d+260|0;break}case 6:{d=c[d+548>>2]|0?d+548|0:0;break}default:d=0}return d|0}function SZa(a,b,d,f,g){a=a|0;b=b|0;d=d|0;f=f|0;g=g|0;var h=0;if(!((f|0)!=0&(g|0)!=0)){g=6;return g|0}h=e[a+152>>1]|0;do if(d)if(h>>>0>b>>>0){h=c[a+156>>2]|0;c[d>>2]=c[h+(b<<4)>>2];c[f>>2]=c[h+(b<<4)+8>>2];h=c[h+(b<<4)+12>>2]|0;break}else{g=142;return g|0}while(0);c[g>>2]=h;g=0;return g|0}function TZa(d){d=d|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;m=i;i=i+16|0;f=c[d+664>>2]|0;if(f|0){d=f;i=m;return d|0}h=b[d+340>>1]|0;do if(!(h<<16>>16))f=0;else{j=c[d+356>>2]|0;f=-1;g=-1;k=0;while(1){a:do if((b[j+(k*20|0)+6>>1]|0)==6)if(b[j+(k*20|0)+8>>1]|0)switch(b[j+(k*20|0)>>1]|0){case 3:{if((b[j+(k*20|0)+2>>1]|0)!=1)break a;g=(b[j+(k*20|0)+4>>1]|0)==1033?k:g;break a}case 1:{if(b[j+(k*20|0)+2>>1]|0)break a;f=(b[j+(k*20|0)+4>>1]|0)==0?k:f;break a}default:break a}while(0);k=k+1|0;if((k|0)>=(h&65535|0)){l=f;k=g;break}}if((k|0)==-1){if((l|0)==-1){f=0;break}g=c[d+100>>2]|0;h=c[d+356>>2]|0;j=e[h+(l*20|0)+8>>1]|0;c[m>>2]=0;f=HTa(g,j+1|0,m)|0;do if(!(c[m>>2]|0)){k=c[d+360>>2]|0;n=cTa(k,c[h+(l*20|0)+12>>2]|0)|0;c[m>>2]=n;if(!n){n=fTa(k,f,j)|0;c[m>>2]=n;if(!n){a[f+j>>0]=0;break}}c[h+(l*20|0)+12>>2]=0;b[h+(l*20|0)+8>>1]=0;LTa(g,c[h+(l*20|0)+16>>2]|0);c[h+(l*20|0)+16>>2]=0;LTa(g,f);f=0}while(0);break}g=c[d+100>>2]|0;h=c[d+356>>2]|0;j=b[h+(k*20|0)+8>>1]|0;c[m>>2]=0;f=HTa(g,(j&65535)+1|0,m)|0;do if(!(c[m>>2]|0)){l=c[d+360>>2]|0;n=cTa(l,c[h+(k*20|0)+12>>2]|0)|0;c[m>>2]=n;if(!n){n=jTa(l,e[h+(k*20|0)+8>>1]|0)|0;c[m>>2]=n;if(!n){if(!((j&65535)>>>1<<16>>16))g=f;else{j=(j&65535)>>>1&65535;k=c[l+32>>2]|0;g=f;while(1){if(!(a[k>>0]|0)){h=a[k+1>>0]|0;if(h<<24>>24>31){a[g>>0]=h;g=g+1|0}}j=j+-1|0;if(!j)break;else k=k+2|0}}a[g>>0]=0;lTa(l);break}}LTa(g,f);b[h+(k*20|0)+8>>1]=0;c[h+(k*20|0)+12>>2]=0;LTa(g,c[h+(k*20|0)+16>>2]|0);c[h+(k*20|0)+16>>2]=0;f=0}while(0)}while(0);c[d+664>>2]=f;n=f;i=m;return n|0}function UZa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+16|0;a=VZa(a,b,f)|0;if(a|0){i=f;return a|0}NTa(d,c[f>>2]|0,e)|0;i=f;return a|0}function VZa(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,i=0;if(!d){d=35;return d|0}if((e[d+264>>1]|0)>>>0<=f>>>0){d=16;return d|0}i=c[d+536>>2]|0;if(!i){d=7;return d|0}c[g>>2]=vi[c[i+16>>2]&2047](0)|0;h=c[d+468>>2]|0;if((h|0)<131072){switch(h|0){case 65536:break;default:{d=0;return d|0}}if(f>>>0>=258){d=0;return d|0}c[g>>2]=vi[c[i+16>>2]&2047](f)|0;d=0;return d|0}if((h|0)>=163840){switch(h|0){case 163840:break;default:{d=0;return d|0}}if(!(a[d+612>>0]|0))if(WZa(d)|0){d=0;return d|0}if((e[d+616>>1]|0)>>>0<=f>>>0){d=0;return d|0}c[g>>2]=vi[c[i+16>>2]&2047]((a[(c[d+620>>2]|0)+f>>0]|0)+f|0)|0;d=0;return d|0}switch(h|0){case 131072:break;default:{d=0;return d|0}}if(!(a[d+612>>0]|0))if(WZa(d)|0){d=0;return d|0}if((e[d+616>>1]|0)>>>0<=f>>>0){d=0;return d|0}h=b[(c[d+620>>2]|0)+(f<<1)>>1]|0;if((h&65535)<258){c[g>>2]=vi[c[i+16>>2]&2047](h&65535)|0;d=0;return d|0}else{c[g>>2]=c[(c[d+624>>2]|0)+((h&65535)+-258<<2)>>2];d=0;return d|0}return 0}function WZa(d){d=d|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=i;i=i+16|0;s=c[d+104>>2]|0;f=cj[c[d+508>>2]&127](d,1886352244,s,t)|0;if(f|0){d=f;i=t;return d|0}n=eTa(s)|0;n=(c[t>>2]|0)+n|0;f=c[d+468>>2]|0;g=dTa(s,32)|0;if(g|0){d=g;i=t;return d|0}a:do if((f|0)<163840){switch(f|0){case 131072:break;default:{f=3;break a}}q=c[s+28>>2]|0;o=sTa(s,t+4|0)|0;f=c[t+4>>2]|0;b:do if(!f){if((o&65535)>(e[d+264>>1]|0)){c[t+4>>2]=3;f=3;break}p=JTa(q,2,0,o&65535,0,t+4|0)|0;c:do if(!(c[t+4>>2]|0)){m=jTa(s,(o&65535)<<1)|0;c[t+4>>2]=m;if(!m){if(!(o<<16>>16)){lTa(s);m=0}else{f=0;do{b[p+(f<<1)>>1]=nTa(s)|0;f=f+1|0}while((f|0)!=(o&65535|0));lTa(s);h=0;f=0;do{g=b[p+(h<<1)>>1]|0;if((g&65535)>257)f=((g&65535)+-257|0)>(f&65535|0)?(g&65535)+-257&65535:f;h=h+1|0}while((h|0)!=(o&65535|0));m=f}l=m&65535;f=JTa(q,4,0,l,0,t+4|0)|0;if(!(c[t+4>>2]|0)){d:do if(m<<16>>16){g=0;while(1){if((eTa(s)|0)>>>0>=n>>>0){r=19;break}h=(rTa(s,t+4|0)|0)&255;if(c[t+4>>2]|0){g=0;break}if(n>>>0>>0)r=24;else if((eTa(s)|0)>>>0>(n-h|0)>>>0)r=24;if((r|0)==24){r=0;h=n-(eTa(s)|0)|0;h=(h|0)<0?0:h}j=JTa(q,1,0,h+1|0,0,t+4|0)|0;k=f+(g<<2)|0;c[k>>2]=j;if(c[t+4>>2]|0){g=0;break}j=fTa(s,j,h)|0;c[t+4>>2]=j;if(j|0){g=0;break}a[(c[k>>2]|0)+h>>0]=0;g=g+1|0;if(g>>>0>=l>>>0)break d}e:do if((r|0)==19){if((g&65535)>=(m&65535))break d;h=g&65535;while(1){g=JTa(q,1,0,1,0,t+4|0)|0;c[f+(h<<2)>>2]=g;if(c[t+4>>2]|0){g=0;break e}a[g>>0]=0;h=h+1|0;if(h>>>0>=l>>>0)break d}}while(0);while(1){s=f+(g<<2)|0;LTa(q,c[s>>2]|0);c[s>>2]=0;g=g+1|0;if((g&65535)<<16>>16==m<<16>>16)break c}}while(0);b[d+616>>1]=o;b[d+618>>1]=m;c[d+620>>2]=p;c[d+624>>2]=f;f=0;break b}}else f=0}else f=0;while(0);LTa(q,f);LTa(q,p);f=c[t+4>>2]|0}while(0)}else{switch(f|0){case 163840:break;default:{f=3;break a}}h=c[s+28>>2]|0;j=sTa(s,t+4|0)|0;f=c[t+4>>2]|0;f:do if(!f){if((j&65535)>258?1:(j&65535)>(e[d+264>>1]|0)){c[t+4>>2]=3;f=3;break}g=JTa(h,1,0,j&65535,0,t+4|0)|0;g:do if(!(c[t+4>>2]|0)){s=fTa(s,g,j&65535)|0;c[t+4>>2]=s;if(!s){h:do if(j<<16>>16){f=0;while(1){if(((a[g+f>>0]|0)+f|0)>>>0>(j&65535)>>>0)break;f=f+1|0;if((f|0)>=(j&65535|0))break h}c[t+4>>2]=3;break g}while(0);b[d+616>>1]=j;c[d+620>>2]=g;f=0;break f}}while(0);LTa(h,g);f=c[t+4>>2]|0}while(0)}while(0);a[d+612>>0]=1;d=f;i=t;return d|0}function XZa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+16|0;e=c[a+16>>2]|0;if((e|0)<=0){b=0;i=f;return b|0}d=0;while(1){if(!(VZa(a,d,f)|0))if(!(Imb(b,c[f>>2]|0)|0)){e=7;break}d=d+1|0;if(d>>>0>=e>>>0){d=0;e=7;break}}if((e|0)==7){i=f;return d|0}return 0}function YZa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;e=ZZa(a,590230,f)|0;if(!e){e=ZZa(a,590247,f+8|0)|0;if(!e)if((c[f>>2]|0)==1)if((c[f+8>>2]|0)==1){c[b>>2]=c[f+8+4>>2];c[d>>2]=c[f+4>>2];e=0}else e=6;else e=6}i=f;return e|0}function ZZa(f,g,h){f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;q=c[f+88>>2]|0;c[h>>2]=0;do if(!(a[f+780>>0]|0)){p=c[f+104>>2]|0;c[f+760>>2]=0;c[f+760+4>>2]=0;c[f+760+8>>2]=0;c[f+760+12>>2]=0;c[f+760+16>>2]=0;c[f+760+20>>2]=0;k=b[f+152>>1]|0;m=c[f+156>>2]|0;if(!(k<<16>>16)){g=8;return g|0}else i=m;while(1){if((c[i>>2]|0)==1111770656){n=c[i+12>>2]|0;if(n|0){j=i;break}}i=i+16|0;if(i>>>0>=(m+((k&65535)<<4)|0)>>>0){s=8;r=34;break}}if((r|0)==34)return s|0;if(n>>>0<8|(cTa(p,c[j+8>>2]|0)|0)!=0){g=8;return g|0}if(iTa(p,n,f+760|0)|0){g=8;return g|0}i=c[f+760>>2]|0;c[f+764>>2]=i+n;k=d[i+2>>0]<<8|d[i+3>>0];o=d[i+5>>0]<<16|d[i+4>>0]<<24|d[i+6>>0]<<8|d[i+7>>0];if(!(o>>>0<8?1:(d[i>>0]<<8|d[i+1>>0]|0)!=1))if(!((o+1|0)>>>0>n>>>0|(o+-8|0)>>>2>>>0>>0)){c[f+776>>2]=k;c[f+768>>2]=i+o;c[f+772>>2]=n-o;if(!k)j=i+8+(k<<2)|0;else{m=k;n=i+8|0;j=i+8+(k<<2)|0;while(1){j=j+((d[n+2>>0]<<8|d[n+3>>0])*10|0)|0;m=m+-1|0;if(!m)break;else n=n+4|0}}if(j>>>0<=(i+o|0)>>>0){a[f+780>>0]=1;break}}kTa(p,f+760|0);c[f+760>>2]=0;c[f+760+4>>2]=0;c[f+760+8>>2]=0;c[f+760+12>>2]=0;c[f+760+16>>2]=0;c[f+760+20>>2]=0;g=8;return g|0}else{i=c[f+760>>2]|0;k=c[f+776>>2]|0}while(0);i=i+8|0;if((g|0)==0|(q|0)==0){g=6;return g|0}p=rnb(g)|0;if(!((k|0)!=0&(p|0)!=0)){g=6;return g|0}j=e[q+14>>1]|0;n=k;o=i;i=i+(k<<2)|0;while(1){m=d[o+2>>0]<<8|d[o+3>>0];if((d[o>>0]<<8|d[o+1>>0]|0)==(j|0)){l=i;break}n=n+-1|0;if(!n){s=6;r=34;break}else{o=o+4|0;i=i+(m*10|0)|0}}if((r|0)==34)return s|0;if(!m){g=6;return g|0}a:while(1){i=d[l+5>>0]|0;b:do if(i&16|0){j=d[l+1>>0]<<16|d[l>>0]<<24|d[l+2>>0]<<8|d[l+3>>0];t=d[l+7>>0]<<16|d[l+6>>0]<<24|d[l+8>>0]<<8|d[l+9>>0];k=c[f+772>>2]|0;if(k>>>0>j>>>0)if(p>>>0<(k-j|0)>>>0){u=c[f+768>>2]|0;if(!(pmb(g,u+j|0,k-j|0)|0)){switch(i&15|0){case 2:{r=31;break a}case 3:{r=32;break a}case 1:case 0:break;default:break b}if(t>>>0>>0)if(omb(u+t|0,0,k)|0){r=30;break a}}}}while(0);m=m+-1|0;if(!m){s=6;r=34;break}else l=l+10|0}if((r|0)==30){c[h>>2]=1;c[h+4>>2]=u+t;g=0;return g|0}else if((r|0)==31){c[h>>2]=2;c[h+4>>2]=t;g=0;return g|0}else if((r|0)==32){c[h>>2]=3;c[h+4>>2]=t;g=0;return g|0}else if((r|0)==34)return s|0;return 0}function _Za(a,b){a=a|0;b=b|0;return Xi[c[(c[a+12>>2]|0)+48>>2]&511](a,b)|0}function $Za(a,b){a=a|0;b=b|0;var d=0;d=cj[c[a+508>>2]&127](a,1751474532,b,0)|0;if(d|0){b=d;return b|0}b=xTa(b,172386,a+160|0)|0;return b|0}function a_a(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=c[a+508>>2]|0;do if(!(d<<24>>24)){e=cj[e&127](a,1751672161,b,0)|0;if(!e){d=a+216|0;break}else{b=e;return b|0}}else{e=cj[e&127](a,1986553185,b,0)|0;if(!e)d=a+296|0;else{b=e;return b|0}}while(0);e=xTa(b,172470,d)|0;if(e|0){b=e;return b|0}c[d+36>>2]=0;c[d+40>>2]=0;b=0;return b|0}function b_a(a,b){a=a|0;b=b|0;var d=0;d=cj[c[a+508>>2]&127](a,1668112752,b,a+504|0)|0;if(d|0){a=d;return a|0}d=iTa(b,c[a+504>>2]|0,a+500|0)|0;if(!d){a=0;return a|0}c[a+504>>2]=0;a=d;return a|0}function c_a(a,d){a=a|0;d=d|0;var f=0,g=0;f=cj[c[a+508>>2]&127](a,1835104368,d,0)|0;if(f|0){a=f;return a|0}f=xTa(d,172546,a+260|0)|0;if(f|0){a=f;return a|0}f=a+266|0;g=f+26|0;do{b[f>>1]=0;f=f+2|0}while((f|0)<(g|0));if((c[a+260>>2]|0)<=65535){a=0;return a|0}f=xTa(d,172562,a+260|0)|0;if(f|0){a=f;return a|0}if((e[a+280>>1]|0)<64)b[a+280>>1]=64;if((e[a+276>>1]|0)>65531)b[a+276>>1]=-5;if((e[a+290>>1]|0)<=100){a=0;return a|0}b[a+290>>1]=100;a=0;return a|0}function d_a(a,d){a=a|0;d=d|0;var f=0;f=cj[c[a+508>>2]&127](a,1330851634,d,0)|0;if(f|0){d=f;return d|0}f=xTa(d,172622,a+364|0)|0;if(f|0){d=f;return d|0}c[a+444>>2]=0;c[a+444+4>>2]=0;c[a+444+8>>2]=0;c[a+444+12>>2]=0;c[a+444+16>>2]=0;b[a+464>>1]=-1;if(!(b[a+364>>1]|0)){d=0;return d|0}f=xTa(d,172798,a+364|0)|0;if(f|0){d=f;return d|0}if((e[a+364>>1]|0)<=1){d=0;return d|0}f=xTa(d,172814,a+364|0)|0;if(f|0){d=f;return d|0}if((e[a+364>>1]|0)<=4){d=0;return d|0}d=xTa(d,172842,a+364|0)|0;return d|0}function e_a(a,b){a=a|0;b=b|0;var d=0;d=cj[c[a+508>>2]&127](a,1886352244,b,0)|0;if(d|0){b=d;return b|0}b=xTa(b,172858,a+468|0)|0;return b|0}function f_a(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;f=c[d+28>>2]|0;c[a+360>>2]=d;e=cj[c[a+508>>2]&127](a,1851878757,d,o)|0;c[o+4>>2]=e;if(e|0){d=e;i=o;return d|0}n=eTa(d)|0;e=xTa(d,172902,a+344|0)|0;c[o+4>>2]=e;if(e|0){d=e;i=o;return d|0}l=c[a+348>>2]|0;m=(c[o>>2]|0)+n|0;if((n+6+(l*12|0)|0)>>>0>m>>>0){c[o+4>>2]=145;d=145;i=o;return d|0}c[a+348>>2]=0;c[a+356>>2]=JTa(f,20,0,l,0,o+4|0)|0;e=c[o+4>>2]|0;if(e|0){d=e;i=o;return d|0}e=jTa(d,l*12|0)|0;c[o+4>>2]=e;if(e|0){d=e;i=o;return d|0}e=c[a+356>>2]|0;if(!l)f=e;else{k=l;do{j=xTa(d,172922,e)|0;c[o+4>>2]=j;do if(!j){f=e+8|0;g=b[f>>1]|0;if(g<<16>>16){h=e+12|0;j=(c[a+352>>2]|0)+n+(c[h>>2]|0)|0;c[h>>2]=j;if(j>>>0>=(n+6+(l*12|0)|0)>>>0)if(((g&65535)+j|0)>>>0<=m>>>0){e=e+20|0;break}c[h>>2]=0;b[f>>1]=0}}while(0);k=k+-1|0}while((k|0)!=0);f=c[a+356>>2]|0}c[a+348>>2]=(e-f|0)/20|0;lTa(d);b[a+340>>1]=c[a+348>>2];d=c[o+4>>2]|0;i=o;return d|0}function g_a(a){a=a|0;var d=0,e=0,f=0,g=0;f=c[(c[a+96>>2]|0)+8>>2]|0;d=c[a+356>>2]|0;e=c[a+348>>2]|0;if(!d){c[a+348>>2]=0;f=a+344|0;b[f>>1]=0;a=a+352|0;c[a>>2]=0;return}if(e){while(1){g=d+16|0;LTa(f,c[g>>2]|0);c[g>>2]=0;b[d+8>>1]=0;e=e+-1|0;if(!e)break;else d=d+20|0}d=c[a+356>>2]|0}LTa(f,d);c[a+356>>2]=0;c[a+348>>2]=0;g=a+344|0;b[g>>1]=0;g=a+352|0;c[g>>2]=0;return}function h_a(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+16|0;e=cj[c[a+508>>2]&127](a,1801810542,b,q)|0;if(e|0){a=e;i=q;return a|0}e=c[q>>2]|0;if(e>>>0<4){a=142;i=q;return a|0}e=iTa(b,e,a+740|0)|0;if(e|0){a=e;i=q;return a|0}o=c[q>>2]|0;c[a+744>>2]=o;n=c[a+740>>2]|0;m=(d[n+2>>0]|0)<<8|(d[n+3>>0]|0);m=m>>>0>32?32:m;a:do if(!m){f=0;b=0;e=0}else{f=0;b=0;e=0;p=n+4|0;do{l=1<>>0>(n+o|0)>>>0)break a;g=(d[p+2>>0]|0)<<8|(d[p+3>>0]|0);if(g>>>0<15)break a;j=p+g|0;k=p;p=j>>>0>(n+o|0)>>>0?n+o|0:j;b:do if(!((k+14|0)>>>0>(n+o|0)>>>0?1:((d[k+4>>0]|0)<<8|(d[k+5>>0]|0)&247|0)!=1)){g=(d[h>>0]|0)<<8|(d[k+7>>0]|0);j=p-(k+14)|0;g=(j|0)<(g*6|0)?(j|0)/6|0:g;f=l|f;if(g){j=(d[k+15>>0]|0)<<16|(d[k+14>>0]|0)<<24|(d[k+16>>0]|0)<<8|(d[k+17>>0]|0);h=k+20|0;while(1){g=g+-1|0;if(!g)break;k=j;j=(d[h+1>>0]|0)<<16|(d[h>>0]|0)<<24|(d[h+2>>0]|0)<<8|(d[h+3>>0]|0);if(j>>>0<=k>>>0)break b;else h=h+6|0}e=l|e}}while(0);b=b+1|0}while(b>>>0>>0)}while(0);c[a+748>>2]=b;c[a+752>>2]=f;c[a+756>>2]=e;a=0;i=q;return a|0}function i_a(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+16|0;f=c[d+28>>2]|0;e=cj[c[a+508>>2]&127](a,1734439792,d,0)|0;c[h>>2]=e;if(e|0){d=e;i=h;return d|0}e=jTa(d,4)|0;c[h>>2]=e;if(e|0){d=e;i=h;return d|0}b[a+540>>1]=nTa(d)|0;b[a+542>>1]=nTa(d)|0;lTa(d);g=c[a+540>>2]|0;if((g&65535)>1){b[a+542>>1]=0;c[h>>2]=8;d=8;i=h;return d|0}c[a+544>>2]=JTa(f,4,0,g>>>16,0,h)|0;e=c[h>>2]|0;if(e|0){d=e;i=h;return d|0}e=jTa(d,g>>>16<<2)|0;c[h>>2]=e;if(e|0){d=e;i=h;return d|0}e=c[a+544>>2]|0;if(g>>>16|0){f=0;do{b[e+(f<<2)>>1]=nTa(d)|0;b[e+(f<<2)+2>>1]=nTa(d)|0;f=f+1|0}while((f|0)!=(g>>>16|0))}lTa(d);d=c[h>>2]|0;i=h;return d|0}function j_a(a,b){a=a|0;b=b|0;var d=0;d=cj[c[a+508>>2]&127](a,1346587732,b,0)|0;if(d|0){b=d;return b|0}b=xTa(b,172950,a+548|0)|0;return b|0}function k_a(a,b){a=a|0;b=b|0;var d=0;d=cj[c[a+508>>2]&127](a,1651008868,b,0)|0;if(d|0){b=d;return b|0}b=xTa(b,172386,a+160|0)|0;return b|0}function l_a(e,f,g,h,j,k,l){e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0;p=i;i=i+80|0;switch(c[e+732>>2]|0){case 2:case 1:{n=c[e+104>>2]|0;if(!(cj[c[e+508>>2]&127](e,1128416340,n,p+48|0)|0))o=5;else if(!(cj[c[e+508>>2]&127](e,1161970772,n,p+48|0)|0))o=5;else{m=cj[c[e+508>>2]&127](e,1650745716,n,p+48|0)|0;if(!m)o=5}if((o|0)==5){c[p>>2]=e;c[p+4>>2]=n;c[p+8>>2]=(c[e+84>>2]|0)+76;c[p+12>>2]=l;a[p+16>>0]=0;a[p+17>>0]=0;c[p+20>>2]=eTa(n)|0;c[p+24>>2]=c[p+48>>2];m=c[e+724>>2]|0;c[p+36>>2]=m;n=c[e+728>>2]|0;c[p+40>>2]=m+n;if(((f*48|8)+47|0)>>>0>n>>>0)m=3;else{l=m+8+(f*48|0)+4+-4|0;l=d[l+1>>0]<<16|d[l>>0]<<24|d[l+2>>0]<<8|d[l+3>>0];c[p+28>>2]=l;o=m+8+(f*48|0)+4+4+4|0;m=d[o+-4+1>>0]<<16|d[o+-4>>0]<<24|d[o+-4+2>>0]<<8|d[o+-4+3>>0];c[p+32>>2]=m;a[p+18>>0]=a[o+34>>0]|0;if(n>>>0>>0)m=3;else if(m>>>0>(n-l|0)>>>3>>>0)m=3;else{m=m_a(p,g,0,0)|0;if(m|h&1048576|0){e=m;i=p;return e|0}if((a[k+18>>0]|0)!=7){e=m;i=p;return e|0}m=c[c[e+84>>2]>>2]|0;z2a(p+48|0);n=B2a(m,k,p+48|0,1)|0;if(!n){a[k+18>>0]=a[p+48+18>>0]|0;c[k+8>>2]=c[p+48+8>>2];b[k+16>>1]=b[p+48+16>>1]|0;NRa(c[e+84>>2]|0,c[p+48+12>>2]|0);e=(c[(c[e+84>>2]|0)+156>>2]|0)+4|0;c[e>>2]=c[e>>2]|1}else C2a(m,p+48|0)|0;e=n;i=p;return e|0}}}e=m;i=p;return e|0}case 3:{b[l+2>>1]=0;b[l>>1]=0;k=(c[e+724>>2]|0)+8+(f<<2)+4+-4|0;k=d[k+1>>0]<<16|d[k>>0]<<24|d[k+2>>0]<<8|d[k+3>>0];m=cj[c[e+508>>2]&127](e,1935829368,j,p+48|0)|0;a:do if(!m){h=eTa(j)|0;if((c[e+16>>2]|0)>>>0>>0)m=6;else{m=g;f=0;b:while(1){n=c[p+48>>2]|0;if(n>>>0<=k>>>0){m=3;break a}m=m<<2;if((n-k|0)>>>0<(m+12|0)>>>0){m=3;break a}m=cTa(j,h+k+4+m|0)|0;if(m|0)break a;m=jTa(j,8)|0;if(m|0)break a;n=pTa(j)|0;l=pTa(j)|0;lTa(j);if((l|0)==(n|0)){m=6;break a}if(l>>>0>>0){m=3;break a}if((l-n|0)>>>0<8){m=3;break a}if(((c[p+48>>2]|0)-k|0)>>>0>>0){m=3;break a}m=cTa(j,n+(h+k)|0)|0;if(m|0)break a;m=jTa(j,l-n|0)|0;if(m|0)break a;nTa(j)|0;nTa(j)|0;m=pTa(j)|0;if((m|0)>=1919378028){o=36;break}if((m|0)>=1785751328){o=38;break}switch(m|0){case 1685418085:break;default:{m=7;break b}}if((f|0)>=4){m=3;break}m=(nTa(j)|0)&65535;lTa(j);if(m>>>0>(c[e+16>>2]|0)>>>0){m=6;break a}else f=f+1|0}c:do if((o|0)==36)if((m|0)<1953064550)switch(m|0){case 1919378028:{o=25;break c}default:{m=7;break c}}else switch(m|0){case 1953064550:{o=25;break c}default:{m=7;break c}}else if((o|0)==38)switch(m|0){case 1785751328:{o=25;break}default:m=7}while(0);if((o|0)==25)m=2;lTa(j)}}while(0);e=m;i=p;return e|0}default:{e=2;i=p;return e|0}}return 0}function m_a(f,g,h,j){f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;E=i;i=i+16|0;p=(c[f+36>>2]|0)+(c[f+28>>2]|0)|0;u=c[f+40>>2]|0;m=c[f+32>>2]|0;if(!m){j=6;i=E;return j|0}else n=p;while(1){q=d[n>>0]<<8|d[n+1>>0];if(q>>>0<=g>>>0)if((d[n+2>>0]<<8|d[n+3>>0])>>>0>=g>>>0){o=n;break}m=m+-1|0;if(!m){v=6;x=62;break}else n=n+8|0}if((x|0)==62){i=E;return v|0}m=d[o+5>>0]<<16|d[o+4>>0]<<24|d[o+6>>0]<<8|d[o+7>>0];if(m>>>0>(u-p|0)>>>0){j=8;i=E;return j|0}if((p+m+8|0)>>>0>u>>>0){j=6;i=E;return j|0}y=d[p+m+2+2+-2>>0]<<8|d[p+m+2+2+-2+1>>0];s=p+m+2+2+4|0;w=d[s+-4+1>>0]<<16|d[s+-4>>0]<<24|d[s+-4+2>>0]<<8|d[s+-4+3>>0];a:do switch(d[p+m+2+-2>>0]<<8|d[p+m+2+-2+1>>0]|0){case 1:{if((s+(g-q<<2)+8|0)>>>0>u>>>0){j=6;i=E;return j|0}l=s+(g-q<<2)+4+-4|0;l=d[l+1>>0]<<16|d[l>>0]<<24|d[l+2>>0]<<8|d[l+3>>0];k=s+(g-q<<2)+4+4+-4|0;k=d[k+1>>0]<<16|d[k>>0]<<24|d[k+2>>0]<<8|d[k+3>>0];if((l|0)==(k|0)){j=6;i=E;return j|0}break}case 2:{if((s+12|0)>>>0>u>>>0){j=6;i=E;return j|0}k=d[s+4+-4+1>>0]<<16|d[s+4+-4>>0]<<24|d[s+4+-4+2>>0]<<8|d[s+4+-4+3>>0];l=c[f+12>>2]|0;if((s+4+5|0)>>>0>u>>>0){j=6;i=E;return j|0}b[l>>1]=d[s+4>>0]|0;b[l+2>>1]=d[s+4+1>>0]|0;b[l+4>>1]=a[s+4+2>>0]|0;b[l+6>>1]=a[s+4+3>>0]|0;b[l+8>>1]=d[s+4+4>>0]|0;if((s+4+8|0)>>>0>u>>>0){j=6;i=E;return j|0}else{b[l+10>>1]=a[s+4+5>>0]|0;b[l+12>>1]=a[s+4+6>>0]|0;b[l+14>>1]=d[s+4+7>>0]|0;a[f+16>>0]=1;l=_(k,g-q|0)|0;k=l+k|0;break a}}case 3:{if((s+(g-q<<1)+4|0)>>>0>u>>>0){j=6;i=E;return j|0}l=s+(g-q<<1)+2+-2|0;l=d[l>>0]<<8|d[l+1>>0];k=s+(g-q<<1)+2+2+-2|0;k=d[k>>0]<<8|d[k+1>>0];if((l|0)==(k|0)){j=6;i=E;return j|0}break}case 4:{if((s+4|0)>>>0>u>>>0){j=6;i=E;return j|0}o=d[s+4+-4+1>>0]<<16|d[s+4+-4>>0]<<24|d[s+4+-4+2>>0]<<8|d[s+4+-4+3>>0];if((s+4+4|0)>>>0>u>>>0){j=6;i=E;return j|0}if(o|0?o>>>0<=((u-(s+4)>>2)+-1|0)>>>0:0){n=0;m=s+4|0}else{j=6;i=E;return j|0}while(1){if((d[m>>0]<<8|d[m+1>>0]|0)==(g|0)){r=m;x=20;break}n=n+1|0;if(n>>>0>=o>>>0){v=6;x=62;break}else m=m+4|0}if((x|0)==20){k=d[r+6>>0]<<8|d[r+7>>0];l=d[r+2>>0]<<8|d[r+3>>0];break a}else if((x|0)==62){i=E;return v|0}break}case 19:case 5:{if((s+16|0)>>>0>u>>>0){j=6;i=E;return j|0}q=d[s+1>>0]<<16|d[s>>0]<<24|d[s+2>>0]<<8|d[s+3>>0];m=c[f+12>>2]|0;if((s+4+5|0)>>>0>u>>>0){j=6;i=E;return j|0}b[m>>1]=d[s+4>>0]|0;b[m+2>>1]=d[s+4+1>>0]|0;b[m+4>>1]=a[s+4+2>>0]|0;b[m+6>>1]=a[s+4+3>>0]|0;b[m+8>>1]=d[s+4+4>>0]|0;p=s+4+8|0;if(p>>>0>u>>>0){j=6;i=E;return j|0}b[m+10>>1]=a[s+4+5>>0]|0;b[m+12>>1]=a[s+4+6>>0]|0;b[m+14>>1]=d[s+4+7>>0]|0;a[f+16>>0]=1;o=d[p+1>>0]<<16|d[p>>0]<<24|d[p+2>>0]<<8|d[p+3>>0];if(o|0?o>>>0<=u-(p+4)>>1>>>0:0){n=0;m=p+4|0}else{j=6;i=E;return j|0}while(1){if((d[m>>0]<<8|d[m+1>>0]|0)==(g|0)){t=n;x=28;break}n=n+1|0;if(n>>>0>=o>>>0){v=6;x=62;break}else m=m+2|0}if((x|0)==28){l=_(t,q)|0;k=l+q|0;break a}else if((x|0)==62){i=E;return v|0}break}default:{j=6;i=E;return j|0}}while(0);if(k>>>0>>0){j=6;i=E;return j|0}p=k-l|0;q=c[f+4>>2]|0;if((k+w|0)>>>0>(c[f+24>>2]|0)>>>0)k=6;else{k=cTa(q,l+w+(c[f+20>>2]|0)|0)|0;if(!k){k=iTa(q,p,E)|0;if(!k){o=c[E>>2]|0;switch(y|0){case 17:case 8:case 2:case 1:{k=c[f+12>>2]|0;if((p|0)<5)z=6;else{b[k>>1]=d[o>>0]|0;b[k+2>>1]=d[o+1>>0]|0;b[k+4>>1]=a[o+2>>0]|0;b[k+6>>1]=a[o+3>>0]|0;b[k+8>>1]=d[o+4>>0]|0;b[k+10>>1]=0;b[k+12>>1]=0;b[k+14>>1]=0;a[f+16>>0]=1;A=o+5|0;x=39}break}case 18:case 9:case 7:case 6:{k=c[f+12>>2]|0;if((p|0)<5)z=6;else{b[k>>1]=d[o>>0]|0;b[k+2>>1]=d[o+1>>0]|0;b[k+4>>1]=a[o+2>>0]|0;b[k+6>>1]=a[o+3>>0]|0;b[k+8>>1]=d[o+4>>0]|0;if((p|0)<8)z=6;else{b[k+10>>1]=a[o+5>>0]|0;b[k+12>>1]=a[o+6>>0]|0;b[k+14>>1]=d[o+7>>0]|0;a[f+16>>0]=1;A=o+8|0;x=39}}break}default:{A=o;x=39}}b:do if((x|0)==39){l=A;c:do switch(y|0){case 19:case 18:case 17:{z=7;break b}case 6:case 1:{C=90;D=l;break}case 7:case 2:{C=c[f+12>>2]|0;D=e[C+2>>1]|0;C=e[C>>1]|0;k=_((D+7|0)>>>3,C)|0;if(((_(C,D)|0)+7|0)>>>3>>>0>>0)if((k|0)==(o+p-l|0)){C=90;D=l;break c}C=91;D=l;break}case 5:{C=91;D=l;break}case 8:{k=A+1|0;if(k>>>0>(o+p|0)>>>0){z=0;break b}B=k;x=46;break}case 9:{B=l;x=46;break}default:{z=8;break b}}while(0);if((x|0)==46){C=92;D=B}if(!(a[f+17>>0]|0)){l=c[f+8>>2]|0;m=c[f+16>>2]|0;if(!((m&255)<<24>>24)){z=6;break}n=c[f+12>>2]|0;k=e[n+2>>1]|0;n=e[n>>1]|0;c[l+4>>2]=k;c[l>>2]=n;switch(m>>>16&255|0){case 1:{a[l+18>>0]=1;c[l+8>>2]=(k+7|0)>>>3;b[l+16>>1]=2;k=(k+7|0)>>>3;break}case 2:{a[l+18>>0]=3;c[l+8>>2]=(k+3|0)>>>2;b[l+16>>1]=4;k=(k+3|0)>>>2;break}case 4:{a[l+18>>0]=4;c[l+8>>2]=(k+1|0)>>>1;b[l+16>>1]=16;k=(k+1|0)>>>1;break}case 8:{a[l+18>>0]=2;c[l+8>>2]=k;b[l+16>>1]=256;break}case 32:{a[l+18>>0]=7;c[l+8>>2]=k<<2;b[l+16>>1]=256;k=k<<2;break}default:{z=3;break b}}k=_(k,n)|0;if(k|0){k=ORa(c[(c[f>>2]|0)+84>>2]|0,k)|0;if(k|0){z=k;break}a[f+17>>0]=1}}z=Ci[C&127](f,D,o+p|0,h,j)|0}while(0);kTa(q,E);k=z}}}j=k;i=E;return j|0}function n_a(a,e,f,g,h){a=a|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;i=c[a+12>>2]|0;m=b[i+4>>1]|0;n=b[i+6>>1]|0;o=b[i+8>>1]|0;p=b[i+10>>1]|0;k=b[i+12>>1]|0;l=b[i+14>>1]|0;if((e+2|0)>>>0>f>>>0){a=3;return a|0}j=(d[e>>0]|0)<<8|(d[e+1>>0]|0);if((e+2+(j<<2)|0)>>>0>f>>>0){a=3;return a|0}if(!j)f=0;else{i=e+2|0;e=0;while(1){f=m_a(a,(d[i>>0]|0)<<8|(d[i+1>>0]|0),(d[i+2>>0]|0)+g|0,(d[i+3>>0]|0)+h|0)|0;if(f|0)break;e=e+1|0;if(e>>>0>=j>>>0){f=0;break}else i=i+4|0}i=c[a+12>>2]|0}b[i+4>>1]=(m<<8&65535)<<16>>16>>8;b[i+6>>1]=(n<<8&65535)<<16>>16>>8;b[i+8>>1]=o&255;b[i+10>>1]=(p<<8&65535)<<16>>16>>8;b[i+12>>1]=(k<<8&65535)<<16>>16>>8;b[i+14>>1]=l&255;a=c[a+8>>2]|0;b[i+2>>1]=c[a+4>>2]&255;b[i>>1]=c[a>>2]&255;a=f;return a|0}function o_a(f,g,h,i,j){f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;k=c[f+8>>2]|0;v=c[k+8>>2]|0;m=c[k+12>>2]|0;t=c[f+12>>2]|0;l=e[t+2>>1]|0;t=b[t>>1]|0;u=_(d[f+18>>0]|0,l)|0;if((i|0)<0){h=3;return h|0}if(((t&65535)+j|0)>>>0>(c[k>>2]|0)>>>0|((j|0)<0?1:(l+i|0)>>>0>(c[k+4>>2]|0)>>>0)){h=3;return h|0}if((g+(((_(u,t&65535)|0)+7|0)>>>3)|0)>>>0>h>>>0){h=3;return h|0}f=_(v,j)|0;if(!(t<<16>>16)){h=0;return h|0}r=u>>>0<(8-(i&7)|0)>>>0?u:8-(i&7)|0;if(!(i&7)){l=g;o=t&65535;p=m+((i>>3)+((u+-8|0)>>>3)+f+1)|0;n=m+(f+(i>>3))|0;f=0;k=0;while(1){if(u>>>0>7){g=l;m=n;j=u;while(1){k=d[g>>0]|0|k&65535;a[m>>0]=k>>>f|(d[m>>0]|0);j=j+-8|0;if((j|0)<=7)break;else{g=g+1|0;m=m+1|0;k=k<<8&65535}}l=l+(((u+-8|0)>>>3)+1)|0;m=p;k=k<<8&65535;g=u+-8-((u+-8|0)>>>3<<3)|0}else{m=n;g=u}do if((g|0)>0){if((f|0)>=(g|0)){a[m>>0]=d[m>>0]|0|65280>>>g&(k&65535)>>>f;f=f-g|0;break}if(l>>>0>>0){j=l+1|0;k=(d[l>>0]|0|k&65535)&65535}else j=l;k=k&65535;a[m>>0]=k>>>f&65280>>>g|(d[m>>0]|0);l=j;f=f+8-g|0;k=k<<8&65535}while(0);if((o|0)>1){o=o+-1|0;p=p+v|0;n=n+v|0}else{f=0;break}}return f|0}s=(u+~(u>>>0>(8-(i&7)|0)>>>0?8-(i&7)|0:u)+-7|0)>>>3;p=t&65535;q=m+((i>>3)+s+f+2)|0;o=m+(f+(i>>3))|0;l=0;f=0;while(1){do if((p|0)==(t&65535|0)){k=g+1|0;n=i&7;f=d[g>>0]|0}else{if((l|0)>=(r|0)){k=g;n=l-r|0;f=(f&65535)>>>8;break}if(g>>>0>>0){k=g+1|0;f=(d[g>>0]|0|f&65535)&65535}else k=g;n=8-r+l|0}while(0);l=f&65535;f=o+1|0;a[o>>0]=l>>>n&~(255<>0]|0);if((u-r|0)>7){g=k;l=l<<8;j=u-r|0;while(1){l=d[g>>0]|0|l&65280;a[f>>0]=l>>>n|(d[f>>0]|0);j=j+-8|0;if((j|0)>7){g=g+1|0;f=f+1|0;l=l<<8}else break}g=k+(s+1)|0;m=q;l=l<<8}else{g=k;m=f;l=l<<8;j=u-r|0}f=l&65535;do if((j|0)>0){if((n|0)>=(j|0)){a[m>>0]=d[m>>0]|0|65280>>>j&(l&65280)>>>n;k=n-j|0;break}if(g>>>0>>0){k=g+1|0;f=d[g>>0]|0|l&65280}else{k=g;f=l}f=f&65535;a[m>>0]=f>>>n&65280>>>j|(d[m>>0]|0);g=k;k=n+8-j|0;f=f<<8&65535}else k=n;while(0);if((p|0)>1){p=p+-1|0;q=q+v|0;o=o+v|0;l=k}else{f=0;break}}return f|0}function p_a(f,g,h,i,j){f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;k=c[f+8>>2]|0;t=c[k+8>>2]|0;r=c[k+12>>2]|0;m=c[f+12>>2]|0;l=e[m+2>>1]|0;m=b[m>>1]|0;s=_(d[f+18>>0]|0,l)|0;if((i|0)<0){t=3;return t|0}if(((m&65535)+j|0)>>>0>(c[k>>2]|0)>>>0|((j|0)<0?1:(l+i|0)>>>0>(c[k+4>>2]|0)>>>0)){t=3;return t|0}if((g+(_((s+7|0)>>>3,m&65535)|0)|0)>>>0>h>>>0){t=3;return t|0}f=_(t,j)|0;if(!(i&7)){if(!(m<<16>>16)){t=0;return t|0}if(s>>>0<=7){k=m&65535;f=r+(f+(i>>3))|0;while(1){if(s){a[f>>0]=(d[g>>0]|0)&65280>>>s|(d[f>>0]|0);g=g+1|0}if((k|0)>1){k=k+-1|0;f=f+t|0}else{g=0;break}}return g|0}o=(s+-8|0)>>>3;m=m&65535;n=r+((i>>3)+o+f+1)|0;j=r+(f+(i>>3))|0;while(1){l=g+(o+1)|0;f=g;k=j;h=s;while(1){a[k>>0]=a[f>>0]|a[k>>0];h=h+-8|0;if((h|0)<=7)break;else{f=f+1|0;k=k+1|0}}if((s-(o<<3)|0)>8){a[n>>0]=(d[l>>0]|0)&65280>>>(s+-8-(o<<3)|0)|(d[n>>0]|0);g=g+o+2|0}else g=l;if((m|0)>1){m=m+-1|0;n=n+t|0;j=j+t|0}else{g=0;break}}return g|0}if(!(m<<16>>16)){t=0;return t|0}if(s>>>0<=7){l=m&65535;k=r+(f+(i>>3))|0;while(1){if(!s){f=g;g=0}else{f=g+1|0;g=(d[g>>0]|0)&65280>>>s}a[k>>0]=d[k>>0]|0|g>>>(i&7);if((s+(i&7)|0)>>>0>8){r=k+1|0;a[r>>0]=d[r>>0]|0|g<<8>>>(i&7)}if((l|0)>1){g=f;l=l+-1|0;k=k+t|0}else{g=0;break}}return g|0}q=(s+-8|0)>>>3;n=m&65535;o=r+((i>>3)+q+f+1)|0;p=r+((i>>3)+q+f)|0;m=r+(f+(i>>3))|0;while(1){j=g+(q+1)|0;k=g;l=m;h=s;f=0;while(1){f=d[k>>0]|0|f;a[l>>0]=f>>>(i&7)|(d[l>>0]|0);h=h+-8|0;if((h|0)<=7)break;else{k=k+1|0;l=l+1|0;f=f<<8}}if((s-(q<<3)|0)>8){g=g+q+2|0;f=(d[j>>0]|0)&65280>>>(s+-8-(q<<3)|0)|f<<8}else{g=j;f=f<<8}a[o>>0]=d[o>>0]|0|f>>>(i&7);if((s+-8-(q<<3)+(i&7)|0)>8){r=p+2|0;a[r>>0]=d[r>>0]|0|f<<8>>>(i&7)}if((n|0)>1){n=n+-1|0;o=o+t|0;p=p+t|0;m=m+t|0}else{g=0;break}}return g|0}function q_a(d){d=d|0;var f=0,g=0,h=0;h=c[d+100>>2]|0;if(!(a[d+612>>0]|0)){a[d+612>>0]=0;return}f=c[d+468>>2]|0;if((f|0)>=163840){switch(f|0){case 163840:break;default:{a[d+612>>0]=0;return}}LTa(h,c[d+620>>2]|0);c[d+620>>2]=0;b[d+616>>1]=0;a[d+612>>0]=0;return}switch(f|0){case 131072:break;default:{a[d+612>>0]=0;return}}LTa(h,c[d+620>>2]|0);c[d+620>>2]=0;b[d+616>>1]=0;if(b[d+618>>1]|0){g=0;f=0;while(1){LTa(h,c[(c[d+624>>2]|0)+(g<<2)>>2]|0);c[(c[d+624>>2]|0)+(g<<2)>>2]=0;f=f+1<<16>>16;if((f&65535)<(e[d+618>>1]|0))g=f&65535;else break}}LTa(h,c[d+624>>2]|0);c[d+624>>2]=0;b[d+618>>1]=0;a[d+612>>0]=0;return}function r_a(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;q=c[b+740>>2]|0;s=c[b+744>>2]|0;g=c[b+748>>2]|0;if((s|0)<10|(g|0)==0){f=0;return f|0}r=c[b+752>>2]|0;h=q+10|0;n=g;o=1;p=q+4|0;g=0;while(1){m=a[p+5>>0]|0;k=p+(d[p+2>>0]<<8|d[p+3>>0])|0;l=p;p=k>>>0>(q+s|0)>>>0?q+s|0:k;a:do if(!((r&o|0)==0|(l+14|0)>>>0>p>>>0)){h=d[h>>0]<<8|d[l+7>>0];k=p-(l+14)|0;h=(k|0)<(h*6|0)?(k|0)/6|0:h;if(!(a[l+4>>0]|0)){if(!(c[b+756>>2]&o)){if(!h)break;else{i=h;h=l+14|0}while(1){if((d[h+1>>0]<<16|d[h>>0]<<24|d[h+2>>0]<<8|d[h+3>>0]|0)==(e<<16|f|0))break;i=i+-1|0;if(!i)break a;else h=h+6|0}h=d[h+4>>0]<<8|d[h+5>>0]}else{if(!h)break;else k=0;while(1){i=(h+k|0)>>>1;j=l+14+(i*6|0)+4+-4|0;j=d[j+1>>0]<<16|d[j>>0]<<24|d[j+2>>0]<<8|d[j+3>>0];if((j|0)==(e<<16|f|0)){h=l+14+(i*6|0)+4|0;break}k=j>>>0<(e<<16|f)>>>0?i+1|0:k;h=j>>>0<(e<<16|f)>>>0?h:i;if(k>>>0>=h>>>0)break a}h=d[h>>0]<<8|d[h+1>>0]}g=(h<<16>>16)+((m&8)==0?g:0)|0}}while(0);n=n+-1|0;h=p+6|0;if(h>>>0>(q+s|0)>>>0|(n|0)==0)break;else o=o<<1}return g|0}function s_a(a,d){a=a|0;d=d|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=i;i=i+48|0;t=c[d+28>>2]|0;c[u+8+12>>2]=eTa(d)|0;c[u+8>>2]=vTa(d,u)|0;f=c[u>>2]|0;if(f|0){d=f;i=u;return d|0}f=xTa(d,173018,u+8|0)|0;c[u>>2]=f;if(f|0){d=f;i=u;return d|0}a:do if((c[u+8>>2]|0)==1330926671){m=u+8+4|0;f=b[u+8+4>>1]|0;g=1330926671}else{q=c[u+8+12>>2]|0;f=cTa(d,q+12|0)|0;c[u+40>>2]=f;do if(!f){r=u+8+4|0;if(!(b[r>>1]|0))b[r>>1]=0;else{p=0;j=0;k=0;g=0;h=0;f=0;b:while(1){o=xTa(d,173042,u+24|0)|0;c[u+40>>2]=o;if(o|0){s=10;break}m=c[u+24+8>>2]|0;l=c[d+4>>2]|0;c:do if(l>>>0>=m>>>0){n=c[u+24+12>>2]|0;o=c[u+24>>2]|0;d:do if(n>>>0>(l-m|0)>>>0)if((o|0)<1986884728)switch(o|0){case 1752003704:break d;default:break c}else switch(o|0){case 1986884728:break d;default:break c}while(0);l=f+1<<16>>16;e:do if((o|0)<1651008868)switch(o|0){case 1397313095:{g=1;f=l;break c}default:{}}else{if((o|0)<1751474532)switch(o|0){case 1651008868:break;default:break e}else switch(o|0){case 1751474532:break;default:break e}if(n>>>0<54){s=16;break b}f=cTa(d,m+12|0)|0;c[u+40>>2]=f;if(f|0){s=21;break b}vTa(d,u+40|0)|0;f=c[u+40>>2]|0;if(f|0){s=21;break b}f=cTa(d,q+28+(p<<4)|0)|0;c[u+40>>2]=f;if(!f){j=1;f=l;break c}else{s=21;break b}}while(0);k=(o|0)==1296389185?1:k;f=l}while(0);h=h+1<<16>>16;if((h&65535)<(e[r>>1]|0))p=h&65535;else{h=k;break}}if((s|0)==10){b[r>>1]=h+-1<<16>>16;h=k}else if((s|0)==16){c[u+40>>2]=142;f=142;s=21}if((s|0)==21)break;b[r>>1]=f;if(f<<16>>16){if(!j)if(!((h|0)!=0&(g|0)!=0)){c[u+40>>2]=142;f=142;break}c[u>>2]=0;m=r;g=c[u+8>>2]|0;break a}}c[u+40>>2]=2;f=2}while(0);c[u>>2]=f;d=f;i=u;return d|0}while(0);b[a+152>>1]=f;c[a+148>>2]=g;c[a+156>>2]=JTa(t,16,0,f&65535,0,u)|0;f=c[u>>2]|0;if(f|0){d=f;i=u;return d|0}f=cTa(d,(c[u+8+12>>2]|0)+12|0)|0;c[u>>2]=f;if(f|0){d=f;i=u;return d|0}f=jTa(d,e[a+152>>1]<<4)|0;c[u>>2]=f;if(f|0){d=f;i=u;return d|0}if(b[m>>1]|0){f=c[a+156>>2]|0;l=0;do{c[f>>2]=pTa(d)|0;c[f+4>>2]=pTa(d)|0;j=f+8|0;c[j>>2]=pTa(d)|0;g=pTa(d)|0;h=f+12|0;c[h>>2]=g;j=c[j>>2]|0;k=c[d+4>>2]|0;f:do if(k>>>0>=j>>>0){if(g>>>0<=(k-j|0)>>>0){f=f+16|0;break}g=c[f>>2]|0;if((g|0)<1986884728)switch(g|0){case 1752003704:break;default:break f}else switch(g|0){case 1986884728:break;default:break f}c[h>>2]=k-j&-4;f=f+16|0}while(0);l=l+1|0}while((l|0)<(e[m>>1]|0))}lTa(d);d=c[u>>2]|0;i=u;return d|0}function t_a(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;e=cj[c[a+508>>2]&127](a,d<<24>>24==0?1752003704:1986884728,b,f)|0;if(e|0){i=f;return e|0}c[(d<<24>>24==0?a+684|0:a+692|0)>>2]=c[f>>2];c[(d<<24>>24==0?a+784|0:a+788|0)>>2]=eTa(b)|0;i=f;return e|0}function u_a(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0;h=i;i=i+16|0;c[a+724>>2]=0;c[a+724+4>>2]=0;c[a+724+8>>2]=0;c[a+724+12>>2]=0;do if(!(cj[c[a+508>>2]&127](a,1128418371,b,h)|0)){c[a+732>>2]=2;f=2;g=8}else{if(cj[c[a+508>>2]&127](a,1161972803,b,h)|0)if(cj[c[a+508>>2]&127](a,1651273571,b,h)|0){e=cj[c[a+508>>2]&127](a,1935829368,b,h)|0;if(e|0)break;c[a+732>>2]=3;f=3;g=8;break}c[a+732>>2]=1;f=1;g=8}while(0);a:do if((g|0)==8){e=c[h>>2]|0;if(e>>>0<8)e=3;else switch(f|0){case 2:case 1:{e=iTa(b,e,a+724|0)|0;if(e|0)break a;f=c[h>>2]|0;c[a+728>>2]=f;g=c[a+724>>2]|0;e=(d[g+5>>0]|0)<<16|(d[g+4>>0]|0)<<24|(d[g+6>>0]|0)<<8|(d[g+7>>0]|0);if(((d[g+1>>0]|0)<<16|(d[g>>0]|0)<<24|0)!=131072){e=2;break a}if(e>>>0>65535){e=3;break a}if((e*48|8)>>>0>f>>>0)e=((f+-8|0)>>>0)/48|0;c[a+736>>2]=e;a=0;i=h;return a|0}case 3:{e=jTa(b,8)|0;if(e|0)break a;g=nTa(b)|0;e=nTa(b)|0;f=pTa(b)|0;lTa(b);if(!(g<<16>>16)){e=2;break a}if(e<<16>>16==1){if(f>>>0>65535){e=3;break a}}else if(e<<16>>16!=3|f>>>0>65535){e=3;break a}e=c[h>>2]|0;f=((f<<2)+8|0)>>>0>e>>>0?(e+-8|0)>>>2:f;e=cTa(b,(eTa(b)|0)+-8|0)|0;if(e|0)break a;c[a+728>>2]=(f<<2)+8;e=iTa(b,(f<<2)+8|0,a+724|0)|0;if(e|0)break a;c[a+736>>2]=f;a=0;i=h;return a|0}default:{a=0;i=h;return a|0}}}while(0);if(c[a+724>>2]|0)kTa(b,a+724|0);c[a+728>>2]=0;c[a+732>>2]=0;a=e;i=h;return a|0}function v_a(a){a=a|0;kTa(c[a+104>>2]|0,a+724|0);c[a+728>>2]=0;c[a+732>>2]=0;c[a+736>>2]=0;return}function w_a(a,b,c){a=a|0;b=b|0;c=c|0;return gSa(a,b,0,c)|0}function x_a(f,g,h){f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0;l=i;i=i+16|0;if((c[f+736>>2]|0)>>>0<=g>>>0){h=6;i=l;return h|0}switch(c[f+732>>2]|0){case 2:case 1:{f=(c[f+724>>2]|0)+8+(g*48|0)|0;b[h>>1]=d[f+44>>0]|0;b[h+2>>1]=d[f+45>>0]|0;j=a[f+16>>0]<<6;c[h+12>>2]=j;k=a[f+17>>0]<<6;c[h+16>>2]=k;c[h+20>>2]=j-k;c[h+24>>2]=(d[f+18>>0]|0)+(a[f+22>>0]|0)+(a[f+23>>0]|0)<<6;h=0;i=l;return h|0}case 3:{k=c[f+104>>2]|0;j=(c[f+724>>2]|0)+8+(g<<2)+4+-4|0;j=d[j+1>>0]<<16|d[j>>0]<<24|d[j+2>>0]<<8|d[j+3>>0];g=cj[c[f+508>>2]&127](f,1935829368,k,l)|0;if(!g)if((j+4|0)>>>0>(c[l>>2]|0)>>>0)g=3;else{g=cTa(k,(eTa(k)|0)+j|0)|0;if(!g){g=jTa(k,4)|0;if(!g){j=nTa(k)|0;nTa(k)|0;lTa(k);g=e[f+178>>1]|0;b[h>>1]=j;b[h+2>>1]=j;k=c[f+220>>2]|0;c[h+12>>2]=(_((j&65535)<<6,k<<16>>16)|0)/(g|0)|0;c[h+16>>2]=(_((j&65535)<<6,k>>16)|0)/(g|0)|0;f=c[f+224>>2]|0;c[h+20>>2]=(_((j&65535)<<6,(k<<16>>16)-(k>>16)+(f<<16>>16)|0)|0)/(g|0)|0;c[h+24>>2]=(_((j&65535)<<6,f>>>16)|0)/(g|0)|0;g=0}}}h=g;i=l;return h|0}default:{h=2;i=l;return h|0}}return 0}function y_a(a,d,e,f,g){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0;l=i;i=i+16|0;j=c[a+104>>2]|0;h=c[(d<<24>>24==0?a+784|0:a+788|0)>>2]|0;k=(c[(d<<24>>24==0?a+684|0:a+692|0)>>2]|0)+h|0;a=b[(d<<24>>24==0?a+216|0:a+296|0)+34>>1]|0;do if(a<<16>>16){if((a&65535)>>>0>e>>>0){if((h+(e<<2)+4|0)>>>0>k>>>0)break;k=cTa(j,h+(e<<2)|0)|0;c[l>>2]=k;if(k|0)break;b[g>>1]=sTa(j,l)|0;if(c[l>>2]|0)break;b[f>>1]=sTa(j,l)|0;if(c[l>>2]|0)break;i=l;return}if((((a&65535)<<2)+h|0)>>>0<=k>>>0){d=cTa(j,h+-4+((a&65535)<<2)|0)|0;c[l>>2]=d;if(!d){b[g>>1]=sTa(j,l)|0;if(!(c[l>>2]|0)){a=(e-(a&65535)<<1)+4+(h+-4+((a&65535)<<2))|0;if((a+2|0)>>>0>k>>>0){b[f>>1]=0;i=l;return}k=cTa(j,a)|0;c[l>>2]=k;if(k|0){i=l;return}b[f>>1]=sTa(j,l)|0;i=l;return}}}}while(0);b[f>>1]=0;b[g>>1]=0;i=l;return}function z_a(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+16|0;c[b>>2]=0;d=HTa(a,4,f)|0;e=c[f>>2]|0;if(e|0){i=f;return e|0}c[d>>2]=a;c[b>>2]=d;i=f;return e|0}function A_a(a,b,c){a=a|0;b=b|0;c=c|0;return}function B_a(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function C_a(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;o=i;i=i+18160|0;g=c[d+4>>2]|0;h=c[d>>2]|0;if(!a){n=6;i=o;return n|0}if(!g){n=20;i=o;return n|0}e=b[g+2>>1]|0;if(!(e<<16>>16)){n=0;i=o;return n|0}f=b[g>>1]|0;if(f<<16>>16<1){n=0;i=o;return n|0}a=c[g+12>>2]|0;if(!a){n=20;i=o;return n|0}if(!(c[g+4>>2]|0)){n=20;i=o;return n|0}if((e<<16>>16|0)!=((b[a+((f<<16>>16)+-1<<1)>>1]|0)+1|0)){n=20;i=o;return n|0}e=c[d+8>>2]|0;if(!(e&2)){if(!h){n=6;i=o;return n|0}if(!(c[h+4>>2]|0)){n=0;i=o;return n|0}if(!(c[h>>2]|0)){n=0;i=o;return n|0}if(!(c[h+12>>2]|0)){n=6;i=o;return n|0}}if(!(e&1)){n=19;i=o;return n|0}do if(!(e&2)){c[o+16384+1180>>2]=0;c[o+16384+1184>>2]=0;c[o+16384+1188>>2]=c[h+4>>2];c[o+16384+1192>>2]=c[h>>2]}else{a=o+16384+1180|0;if(!(e&4)){c[a>>2]=-32768;c[o+16384+1184>>2]=-32768;c[o+16384+1188>>2]=32767;c[o+16384+1192>>2]=32767;break}else{c[a>>2]=c[d+32>>2];c[a+4>>2]=c[d+32+4>>2];c[a+8>>2]=c[d+32+8>>2];c[a+12>>2]=c[d+32+12>>2];break}}while(0);c[o+16384+1412>>2]=o;c[o+16384+1416>>2]=16384;c[o+16384+1420>>2]=o;c[o+16384+200>>2]=0;c[o+16384+204>>2]=0;c[o+16384+208>>2]=0;c[o+16384+188>>2]=0;c[o+16384+192>>2]=0;c[o+16384+196>>2]=1;m=o+16384+1136|0;c[m>>2]=c[g>>2];c[m+4>>2]=c[g+4>>2];c[m+8>>2]=c[g+8>>2];c[m+12>>2]=c[g+12>>2];c[m+16>>2]=c[g+16>>2];c[o+16384+208>>2]=0;c[o+16384+196>>2]=1;m=o+16384+1404|0;c[m>>2]=128;c[o+16384+1388>>2]=0;c[o+16384+1400>>2]=0;if(!(e&2)){l=o+16384+1156|0;c[l>>2]=c[h>>2];c[l+4>>2]=c[h+4>>2];c[l+8>>2]=c[h+8>>2];c[l+12>>2]=c[h+12>>2];c[l+16>>2]=c[h+16>>2];c[l+20>>2]=c[h+20>>2];c[o+16384+1392>>2]=43;c[o+16384+1396>>2]=o+16384}else{c[o+16384+1392>>2]=c[d+12>>2];c[o+16384+1396>>2]=c[d+28>>2]}k=c[o+16384+1140>>2]|0;l=b[o+16384+1138>>1]|0;if(l<<16>>16<1){c[o+16384+164>>2]=0;c[o+16384+164+4>>2]=0;c[o+16384+164+8>>2]=0;c[o+16384+164+12>>2]=0;j=o+16384+168|0;e=0;g=0;a=0;d=0}else{e=c[k>>2]|0;c[o+16384+168>>2]=e;c[o+16384+164>>2]=e;d=c[k+4>>2]|0;c[o+16384+176>>2]=d;c[o+16384+172>>2]=d;if(l<<16>>16>1){h=k;a=d;g=e;j=e;f=d;d=k+8|0;while(1){e=c[d>>2]|0;h=c[h+12>>2]|0;if((e|0)<(g|0)){c[o+16384+164>>2]=e;g=e}if((e|0)>(j|0))c[o+16384+168>>2]=e;else e=j;if((h|0)<(f|0)){c[o+16384+172>>2]=h;f=h}if((h|0)>(a|0)){c[o+16384+176>>2]=h;a=h}h=d+8|0;if(h>>>0<(k+(l<<16>>16<<3)|0)>>>0){p=d;j=e;d=h;h=p}else break}}else{g=e;f=d;a=d}g=g>>6;c[o+16384+164>>2]=g;d=f>>6;c[o+16384+172>>2]=d;e=e+63>>6;c[o+16384+168>>2]=e;a=a+63>>6;c[o+16384+176>>2]=a;j=o+16384+168|0}f=c[o+16384+1180>>2]|0;a:do if((e|0)>(f|0)){k=c[o+16384+1188>>2]|0;if((g|0)<(k|0)){h=c[o+16384+1184>>2]|0;if((a|0)>(h|0)){l=c[o+16384+1192>>2]|0;if((d|0)<(l|0)){if((g|0)<(f|0))c[o+16384+164>>2]=f;else f=g;if((d|0)<(h|0)){c[o+16384+172>>2]=h;g=h}else g=d;if((e|0)>(k|0)){c[j>>2]=k;e=k}if((a|0)>(l|0)){c[o+16384+176>>2]=l;a=l}c[o+16384+180>>2]=e-f;p=a-g|0;c[o+16384+184>>2]=p;c[o+17824>>2]=(p|0)/(c[m>>2]|0)|0;if(!(c[o+17824>>2]|0))c[o+17824>>2]=1;if((c[o+17824>>2]|0)>38)c[o+17824>>2]=39;c[o+16384+1408>>2]=0;c[o+17820>>2]=c[o+16384+172>>2];c[o+17812>>2]=c[o+16384+176>>2];c[o+17828>>2]=0;if((c[o+17828>>2]|0)<(c[o+17824>>2]|0))do{c[o+17816>>2]=(c[m>>2]|0)+(c[o+17820>>2]|0);if((c[o+17828>>2]|0)==((c[o+17824>>2]|0)+-1|0))n=56;else if((c[o+17816>>2]|0)>(c[o+17812>>2]|0))n=56;if((n|0)==56){n=0;c[o+17816>>2]=c[o+17812>>2]}c[o+17840>>2]=c[o+17820>>2];c[o+17840+4>>2]=c[o+17816>>2];c[o+17832>>2]=o+17840;if((c[o+17832>>2]|0)>>>0>=(o+17840|0)>>>0)do{a=c[o+16384+1412>>2]|0;c[o+16384+1420>>2]=a;g=(c[(c[o+17832>>2]|0)+4>>2]|0)-(c[c[o+17832>>2]>>2]|0)|0;c[o+16384+1424>>2]=g;f=(((g<<2|0)%16|0|0)>0?16-((g<<2|0)%16|0)|0:0)+(g<<2)|0;e=c[o+16384+1416>>2]|0;c[o+16384+200>>2]=a+f;b:do if((e-((e|0)%16|0)|0)>(f|0)){c[o+16384+204>>2]=e-((e|0)%16|0)-f>>4;if((e-((e|0)%16|0)-f|0)<32){n=80;break}do if((g|0)>0){c[a>>2]=0;if((g|0)>1)a=1;else break;do{c[(c[o+16384+1420>>2]|0)+(a<<2)>>2]=0;a=a+1|0}while((a|0)!=(g|0))}while(0);c[o+16384+208>>2]=0;c[o+16384+196>>2]=1;c[o+16384+172>>2]=c[c[o+17832>>2]>>2];c[o+16384+176>>2]=c[(c[o+17832>>2]|0)+4>>2];c[o+16384+184>>2]=(c[(c[o+17832>>2]|0)+4>>2]|0)-(c[c[o+17832>>2]>>2]|0);switch(E_a(o+16384|0)|0){case 64:{n=80;break b}case 0:break;default:{a=1;break a}}do if(c[o+16384+208>>2]|0){c[o+16384+1388>>2]=0;if((c[o+16384+1424>>2]|0)>0){h=0;do{a=c[(c[o+16384+1420>>2]|0)+(h<<2)>>2]|0;do if(a|0){g=0;f=0;while(1){e=c[a>>2]|0;if((g|0)!=0&(e|0)>(f|0))L_a(o+16384|0,f,h,g<<9,e-f|0);g=(c[a+4>>2]|0)+g|0;e=c[a+8>>2]|0;do if((g<<9|0)!=(e|0)){f=c[a>>2]|0;if((f|0)<=-1)break;L_a(o+16384|0,f,h,(g<<9)-e|0,1)}while(0);e=(c[a>>2]|0)+1|0;a=c[a+12>>2]|0;if(!a)break;else f=e}if(!g)break;L_a(o+16384|0,e,h,g<<9,(c[o+16384+180>>2]|0)-e|0)}while(0);h=h+1|0}while((h|0)<(c[o+16384+1424>>2]|0))}a=c[o+16384+1392>>2]|0;if(!a)break;e=c[o+16384+1388>>2]|0;if((e|0)<=0)break;kj[a&127](c[o+16384+1400>>2]|0,e,o+16384+1196|0,c[o+16384+1396>>2]|0)}while(0);c[o+17832>>2]=(c[o+17832>>2]|0)+-8}else n=80;while(0);if((n|0)==80){n=0;a=c[c[o+17832>>2]>>2]|0;e=c[(c[o+17832>>2]|0)+4>>2]|0;if(!(e-a>>1)){a=1;break a}if((a-e|0)>=(c[m>>2]|0))c[o+16384+1408>>2]=(c[o+16384+1408>>2]|0)+1;c[(c[o+17832>>2]|0)+8>>2]=a;c[(c[o+17832>>2]|0)+12>>2]=(e-a>>1)+a;c[c[o+17832>>2]>>2]=(e-a>>1)+a;c[(c[o+17832>>2]|0)+4>>2]=e;c[o+17832>>2]=(c[o+17832>>2]|0)+8}}while((c[o+17832>>2]|0)>>>0>=(o+17840|0)>>>0);c[o+17828>>2]=(c[o+17828>>2]|0)+1;c[o+17820>>2]=c[o+17816>>2]}while((c[o+17828>>2]|0)<(c[o+17824>>2]|0));if((c[o+16384+1408>>2]|0)<=8){a=0;break}a=c[m>>2]|0;if((a|0)<=16){a=0;break}c[m>>2]=(a|0)/2|0;a=0}else a=0}else a=0}else a=0}else a=0;while(0);p=a;i=o;return p|0}function D_a(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0;h=c[g+1164>>2]|0;d=(c[g+1168>>2]|0)+(_(h,0-d|0)|0)|0;if((h|0)>-1)d=d+(_((c[g+1156>>2]|0)+-1|0,h)|0)|0;if((e|0)<=0)return;while(1){i=a[f+4>>0]|0;a:do if(i<<24>>24){g=b[f+2>>1]|0;h=d+(b[f>>1]|0)|0;if((g&65535)>7){hBb(h|0,i|0,g&65535|0)|0;break}switch(g&65535|0){case 7:{a[h>>0]=i;h=h+1|0;j=9;break}case 6:{j=9;break}case 5:{j=10;break}case 4:{j=11;break}case 3:{j=12;break}case 2:{j=13;break}case 1:break;default:break a}if((j|0)==9){a[h>>0]=i;h=h+1|0;j=10}if((j|0)==10){a[h>>0]=i;h=h+1|0;j=11}if((j|0)==11){a[h>>0]=i;h=h+1|0;j=12}if((j|0)==12){a[h>>0]=i;h=h+1|0;j=13}if((j|0)==13){j=0;a[h>>0]=i;h=h+1|0}a[h>>0]=i}while(0);if((e|0)>1){f=f+6|0;e=e+-1|0}else break}return}function E_a(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+16|0;k=4;j=Vpb(40)|0;c[j>>2]=0;c[m>>2]=0;k=kBb(a,1,j|0,k|0)|0;j=C;n=0;b=n;n=0;if((b|0)!=0&(o|0)!=0){d=lBb(c[b>>2]|0,k|0,j|0)|0;if(!d)rg(b|0,o|0);C=o}else d=-1;if((d|0)==1)b=C;else b=0;a:while(1){if(b|0){l=15;break}n=0;b=xa(135,a+1136|0,53960,a|0)|0;d=n;n=0;if((d|0)!=0&(o|0)!=0){e=lBb(c[d>>2]|0,k|0,j|0)|0;if(!e)rg(d|0,o|0);C=o}else e=-1;if((e|0)==1){b=C;continue}c[m>>2]=b;if(c[a+196>>2]|0){l=16;break}g=c[a+188>>2]|0;h=c[a+192>>2]|0;if(!(h|g)){l=16;break}f=c[a+156>>2]|0;d=c[a+180>>2]|0;f=(f|0)>(d|0)?d:f;d=(c[a+1420>>2]|0)+(c[a+160>>2]<<2)|0;b=c[d>>2]|0;b:do if(b)do{e=c[b>>2]|0;if((e|0)>(f|0))break b;if((e|0)==(f|0))break a;d=b+12|0;b=c[d>>2]|0}while((b|0)!=0);while(0);b=c[a+208>>2]|0;if((b|0)<(c[a+204>>2]|0)){l=13;break}n=0;ja(225,a|0,1);b=n;n=0;if((b|0)!=0&(o|0)!=0){h=lBb(c[b>>2]|0,k|0,j|0)|0;if(!h)rg(b|0,o|0);C=o};b=C}if((l|0)==13){l=c[a+200>>2]|0;c[a+208>>2]=b+1;c[l+(b<<4)>>2]=f;c[l+(b<<4)+8>>2]=0;c[l+(b<<4)+4>>2]=0;c[l+(b<<4)+12>>2]=c[d>>2];c[d>>2]=l+(b<<4);b=l+(b<<4)|0}else if((l|0)==15){c[m>>2]=64;l=c[m>>2]|0;Wpb(k|0);i=m;return l|0}else if((l|0)==16){l=c[m>>2]|0;Wpb(k|0);i=m;return l|0}l=b+8|0;c[l>>2]=(c[l>>2]|0)+g;l=b+4|0;c[l>>2]=(c[l>>2]|0)+h;l=c[m>>2]|0;Wpb(k|0);i=m;return l|0}function F_a(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;if(!(c[b+196>>2]|0)){i=c[b+188>>2]|0;j=c[b+192>>2]|0;if(!(j|i))g=b+192|0;else{h=c[b+156>>2]|0;e=c[b+180>>2]|0;h=(h|0)>(e|0)?e:h;e=(c[b+1420>>2]|0)+(c[b+160>>2]<<2)|0;d=c[e>>2]|0;a:do if(!d)g=8;else while(1){f=c[d>>2]|0;if((f|0)>(h|0)){g=8;break a}if((f|0)==(h|0)){k=d;break a}e=d+12|0;d=c[e>>2]|0;if(!d){g=8;break}}while(0);do if((g|0)==8){d=c[b+208>>2]|0;if((d|0)<(c[b+204>>2]|0)){k=c[b+200>>2]|0;c[b+208>>2]=d+1;c[k+(d<<4)>>2]=h;c[k+(d<<4)+8>>2]=0;c[k+(d<<4)+4>>2]=0;c[k+(d<<4)+12>>2]=c[e>>2];c[e>>2]=k+(d<<4);k=k+(d<<4)|0;break}else rg(b|0,1)}while(0);g=k+8|0;c[g>>2]=(c[g>>2]|0)+i;g=k+4|0;c[g>>2]=(c[g>>2]|0)+j;g=b+192|0}}else g=b+192|0;h=c[a>>2]<<2;e=c[a+4>>2]<<2;d=c[b+168>>2]|0;k=(d|0)<(h>>8|0)?d:h>>8;a=c[b+164>>2]|0;k=(k|0)<(a|0)?a+-1|0:k;c[b+188>>2]=0;c[g>>2]=0;c[b+156>>2]=k-a;f=(e>>8)-(c[b+172>>2]|0)|0;c[b+160>>2]=f;c[b+228>>2]=e>>8<<8;c[b+196>>2]=0;d=((d|0)<(k|0)?d:k)-a|0;d=(d|0)>-1?d:-1;if((d|0)!=(k-a|0)){c[b+188>>2]=0;c[g>>2]=0;c[b+156>>2]=d;c[b+160>>2]=f}if(f>>>0>=(c[b+184>>2]|0)>>>0){a=1;a=a&1;c[b+196>>2]=a;a=b+220|0;c[a>>2]=h;b=b+224|0;c[b>>2]=e;return 0}a=(d|0)>=(c[b+180>>2]|0);a=a&1;c[b+196>>2]=a;a=b+220|0;c[a>>2]=h;b=b+224|0;c[b>>2]=e;return 0}function G_a(a,b){a=a|0;b=b|0;H_a(b,c[a>>2]<<2,c[a+4>>2]<<2);return 0}function H_a(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;g=c[a+228>>2]|0;w=c[a+224>>2]|0;u=c[a+220>>2]|0;if((((g>>8|0)>(d>>8|0)?d>>8:g>>8)|0)>=(c[a+176>>2]|0)){c[a+220>>2]=b;c[a+224>>2]=d;c[a+228>>2]=d>>8<<8;return}q=c[a+172>>2]|0;if((((g>>8|0)>(d>>8|0)?g>>8:d>>8)|0)<(q|0)){c[a+220>>2]=b;c[a+224>>2]=d;c[a+228>>2]=d>>8<<8;return}if((g>>8|0)==(d>>8|0)){I_a(a,g>>8,u,w-g|0,b,d-(d>>8<<8)|0);c[a+220>>2]=b;c[a+224>>2]=d;c[a+228>>2]=d>>8<<8;return}if((u|0)==(b|0)){l=((d-w>>31)+256&-256)-(w-g)|0;k=_(b-(b>>8<<8)<<1,l)|0;k=(c[a+188>>2]|0)+k|0;c[a+188>>2]=k;l=(c[a+192>>2]|0)+l|0;c[a+192>>2]=l;p=(d-w>>31|1)+(g>>8)|0;o=c[a+168>>2]|0;o=((o|0)<(b>>8|0)?o:b>>8)-(c[a+164>>2]|0)|0;o=(o|0)>-1?o:-1;g=c[a+156>>2]|0;if((o|0)==(g|0))if((p-q|0)==(c[a+160>>2]|0)){h=k;i=l}else x=8;else x=8;if((x|0)==8){if(!((c[a+196>>2]|0)!=0|(l|k|0)==0)){j=c[a+180>>2]|0;j=(g|0)>(j|0)?j:g;h=(c[a+1420>>2]|0)+(c[a+160>>2]<<2)|0;g=c[h>>2]|0;a:do if(!g)x=13;else while(1){i=c[g>>2]|0;if((i|0)>(j|0)){x=13;break a}if((i|0)==(j|0)){m=g;break a}h=g+12|0;g=c[h>>2]|0;if(!g){x=13;break}}while(0);do if((x|0)==13){g=c[a+208>>2]|0;if((g|0)<(c[a+204>>2]|0)){m=c[a+200>>2]|0;c[a+208>>2]=g+1;c[m+(g<<4)>>2]=j;c[m+(g<<4)+8>>2]=0;c[m+(g<<4)+4>>2]=0;c[m+(g<<4)+12>>2]=c[h>>2];c[h>>2]=m+(g<<4);m=m+(g<<4)|0;break}else rg(a|0,1)}while(0);v=m+8|0;c[v>>2]=(c[v>>2]|0)+k;v=m+4|0;c[v>>2]=(c[v>>2]|0)+l}c[a+188>>2]=0;c[a+192>>2]=0;c[a+156>>2]=o;c[a+160>>2]=p-q;h=0;i=0}v=c[a+184>>2]|0;if((p-q|0)>>>0>>0)g=(o|0)>=(c[a+180>>2]|0);else g=1;g=g&1;c[a+196>>2]=g;s=(((d-w>>31)+256&-256)<<1)+-256|0;t=_(s,b-(b>>8<<8)<<1)|0;do if((p|0)==(d>>8|0)){e=h;f=i}else{u=c[a+172>>2]|0;r=c[a+168>>2]|0;r=((r|0)<(b>>8|0)?r:b>>8)-(c[a+164>>2]|0)|0;r=(r|0)>-1?r:-1;m=o;n=p-q|0;k=o;l=p-q|0;j=p;while(1){p=h+t|0;o=i+s|0;j=j+(d-w>>31|1)|0;if((r|0)==(m|0)&(j-u|0)==(n|0)){i=o;h=p}else{if(!((g|0)!=0|(o|p|0)==0)){h=c[a+180>>2]|0;k=(k|0)>(h|0)?h:k;h=(c[a+1420>>2]|0)+(l<<2)|0;g=c[h>>2]|0;b:do if(!g)x=28;else while(1){i=c[g>>2]|0;if((i|0)>(k|0)){x=28;break b}if((i|0)==(k|0))break b;h=g+12|0;g=c[h>>2]|0;if(!g){x=28;break}}while(0);if((x|0)==28){x=0;g=c[a+208>>2]|0;if((g|0)>=(c[a+204>>2]|0)){x=29;break}q=c[a+200>>2]|0;c[a+208>>2]=g+1;c[q+(g<<4)>>2]=k;c[q+(g<<4)+8>>2]=0;c[q+(g<<4)+4>>2]=0;c[q+(g<<4)+12>>2]=c[h>>2];c[h>>2]=q+(g<<4);g=q+(g<<4)|0}q=g+8|0;c[q>>2]=(c[q>>2]|0)+p;q=g+4|0;c[q>>2]=(c[q>>2]|0)+o}c[a+156>>2]=r;c[a+160>>2]=j-u;l=j-u|0;k=r;i=0;h=0}if((j-u|0)>>>0>>0)g=(r|0)>=(c[a+180>>2]|0);else g=1;g=g&1;c[a+196>>2]=g;if((j|0)==(d>>8|0)){f=i;e=h;x=36;break}else{m=r;n=j-u|0}}if((x|0)==29){c[a+188>>2]=p;c[a+192>>2]=o;rg(a|0,1)}else if((x|0)==36){c[a+188>>2]=e;c[a+192>>2]=f;break}}while(0);x=d-(d>>8<<8)+-256+((d-w>>31)+256&-256)|0;c[a+188>>2]=e+(_(b-(b>>8<<8)<<1,x)|0);c[a+192>>2]=f+x;c[a+220>>2]=b;c[a+224>>2]=d;c[a+228>>2]=d>>8<<8;return}t=(d-w>>31)+256&-256;s=(d-w|0)<0?0-(d-w)|0:d-w|0;p=_((d-w|0)<0?w-g|0:256-(w-g)|0,b-u|0)|0;n=((p|0)%(s|0)|0|0)<0?s:0;q=((p|0)/(s|0)|0)+u+(((p|0)%(s|0)|0)>>31)|0;I_a(a,g>>8,u,w-g|0,q,t);m=(d-w>>31|1)+(g>>8)|0;l=m-(c[a+172>>2]|0)|0;k=c[a+168>>2]|0;k=((k|0)<(q>>8|0)?k:q>>8)-(c[a+164>>2]|0)|0;k=(k|0)>-1?k:-1;e=c[a+156>>2]|0;if((k|0)==(e|0)){if((l|0)!=(c[a+160>>2]|0))x=40}else x=40;if((x|0)==40){if(!(c[a+196>>2]|0)){i=c[a+188>>2]|0;j=c[a+192>>2]|0;if(!(j|i))e=a+192|0;else{h=c[a+180>>2]|0;h=(e|0)>(h|0)?h:e;f=(c[a+1420>>2]|0)+(c[a+160>>2]<<2)|0;e=c[f>>2]|0;c:do if(!e)x=47;else while(1){g=c[e>>2]|0;if((g|0)>(h|0)){x=47;break c}if((g|0)==(h|0)){o=e;break c}f=e+12|0;e=c[f>>2]|0;if(!e){x=47;break}}while(0);do if((x|0)==47){e=c[a+208>>2]|0;if((e|0)<(c[a+204>>2]|0)){o=c[a+200>>2]|0;c[a+208>>2]=e+1;c[o+(e<<4)>>2]=h;c[o+(e<<4)+8>>2]=0;c[o+(e<<4)+4>>2]=0;c[o+(e<<4)+12>>2]=c[f>>2];c[f>>2]=o+(e<<4);o=o+(e<<4)|0;break}else rg(a|0,1)}while(0);e=o+8|0;c[e>>2]=(c[e>>2]|0)+i;e=o+4|0;c[e>>2]=(c[e>>2]|0)+j;e=a+192|0}}else e=a+192|0;c[a+188>>2]=0;c[e>>2]=0;c[a+156>>2]=k;c[a+160>>2]=l}if(l>>>0<(c[a+184>>2]|0)>>>0)e=(k|0)>=(c[a+180>>2]|0);else e=1;c[a+196>>2]=e&1;d:do if((m|0)==(d>>8|0))v=q;else{r=(((b-u<<8|0)%(s|0)|0|0)<0?s:0)+((b-u<<8|0)%(s|0)|0)|0;o=m;n=((p|0)%(s|0)|0)-s+n|0;e=q;while(1){m=r+n|0;n=m-((m|0)>-1?s:0)|0;m=(((b-u<<8|0)%(s|0)|0)>>31)+((b-u<<8|0)/(s|0)|0)+e+(m>>>31^1)|0;I_a(a,o,e,256-t|0,m,t);o=o+(d-w>>31|1)|0;j=o-(c[a+172>>2]|0)|0;i=c[a+168>>2]|0;i=((i|0)<(m>>8|0)?i:m>>8)-(c[a+164>>2]|0)|0;i=(i|0)>-1?i:-1;e=c[a+156>>2]|0;if((i|0)==(e|0)){if((j|0)!=(c[a+160>>2]|0))x=58}else x=58;if((x|0)==58){x=0;if(!(c[a+196>>2]|0)){k=c[a+188>>2]|0;l=c[a+192>>2]|0;if(l|k|0){h=c[a+180>>2]|0;h=(e|0)>(h|0)?h:e;f=(c[a+1420>>2]|0)+(c[a+160>>2]<<2)|0;e=c[f>>2]|0;e:do if(!e)x=64;else while(1){g=c[e>>2]|0;if((g|0)>(h|0)){x=64;break e}if((g|0)==(h|0))break e;f=e+12|0;e=c[f>>2]|0;if(!e){x=64;break}}while(0);if((x|0)==64){x=0;e=c[a+208>>2]|0;if((e|0)>=(c[a+204>>2]|0))break;q=c[a+200>>2]|0;c[a+208>>2]=e+1;c[q+(e<<4)>>2]=h;c[q+(e<<4)+8>>2]=0;c[q+(e<<4)+4>>2]=0;c[q+(e<<4)+12>>2]=c[f>>2];c[f>>2]=q+(e<<4);e=q+(e<<4)|0}q=e+8|0;c[q>>2]=(c[q>>2]|0)+k;q=e+4|0;c[q>>2]=(c[q>>2]|0)+l}}c[a+188>>2]=0;c[a+192>>2]=0;c[a+156>>2]=i;c[a+160>>2]=j}if(j>>>0<(c[a+184>>2]|0)>>>0)e=(i|0)>=(c[a+180>>2]|0);else e=1;c[a+196>>2]=e&1;if((o|0)==(d>>8|0)){v=m;break d}else e=m}rg(a|0,1)}while(0);I_a(a,d>>8,v,256-t|0,b,d-(d>>8<<8)|0);c[a+220>>2]=b;c[a+224>>2]=d;c[a+228>>2]=d>>8<<8;return}function I_a(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;if((g|0)==(e|0)){o=b-(c[a+172>>2]|0)|0;n=c[a+168>>2]|0;n=((n|0)<(f>>8|0)?n:f>>8)-(c[a+164>>2]|0)|0;n=(n|0)>-1?n:-1;h=c[a+156>>2]|0;if((n|0)==(h|0)){if((o|0)!=(c[a+160>>2]|0))H=4}else H=4;if((H|0)==4){if(!(c[a+196>>2]|0)){l=c[a+188>>2]|0;m=c[a+192>>2]|0;if(!(m|l))h=a+192|0;else{k=c[a+180>>2]|0;k=(h|0)>(k|0)?k:h;i=(c[a+1420>>2]|0)+(c[a+160>>2]<<2)|0;h=c[i>>2]|0;a:do if(!h)H=11;else while(1){j=c[h>>2]|0;if((j|0)>(k|0)){H=11;break a}if((j|0)==(k|0)){p=h;break a}i=h+12|0;h=c[i>>2]|0;if(!h){H=11;break}}while(0);do if((H|0)==11){h=c[a+208>>2]|0;if((h|0)<(c[a+204>>2]|0)){p=c[a+200>>2]|0;c[a+208>>2]=h+1;c[p+(h<<4)>>2]=k;c[p+(h<<4)+8>>2]=0;c[p+(h<<4)+4>>2]=0;c[p+(h<<4)+12>>2]=c[i>>2];c[i>>2]=p+(h<<4);p=p+(h<<4)|0;break}else rg(a|0,1)}while(0);h=p+8|0;c[h>>2]=(c[h>>2]|0)+l;h=p+4|0;c[h>>2]=(c[h>>2]|0)+m;h=a+192|0}}else h=a+192|0;c[a+188>>2]=0;c[h>>2]=0;c[a+156>>2]=n;c[a+160>>2]=o}if(o>>>0<(c[a+184>>2]|0)>>>0)h=(n|0)>=(c[a+180>>2]|0);else h=1;c[a+196>>2]=h&1;return}if((d>>8|0)==(f>>8|0)){H=_(f-(f>>8<<8)+(d-(d>>8<<8))|0,g-e|0)|0;c[a+188>>2]=(c[a+188>>2]|0)+H;c[a+192>>2]=(c[a+192>>2]|0)+(g-e);return}E=(f-d|0)<0?0-(f-d)|0:f-d|0;x=_((f-d|0)<0?d-(d>>8<<8)|0:256-(d-(d>>8<<8))|0,g-e|0)|0;F=(((x|0)%(E|0)|0)>>31)+((x|0)/(E|0)|0)|0;w=((x|0)%(E|0)|0|0)<0?E:0;n=_(F,((f-d>>31)+256&-256)+(d-(d>>8<<8))|0)|0;n=n+(c[a+188>>2]|0)|0;c[a+188>>2]=n;o=(c[a+192>>2]|0)+F|0;c[a+192>>2]=o;v=(f-d>>31|1)+(d>>8)|0;u=b-(c[a+172>>2]|0)|0;s=c[a+168>>2]|0;s=((s|0)<(v|0)?s:v)-(c[a+164>>2]|0)|0;s=(s|0)>-1?s:-1;j=c[a+156>>2]|0;if((s|0)==(j|0))if((u|0)==(c[a+160>>2]|0)){k=n;l=o}else H=23;else H=23;if((H|0)==23){if(!((c[a+196>>2]|0)!=0|(o|n|0)==0)){m=c[a+180>>2]|0;m=(j|0)>(m|0)?m:j;k=(c[a+1420>>2]|0)+(c[a+160>>2]<<2)|0;j=c[k>>2]|0;b:do if(!j)H=28;else while(1){l=c[j>>2]|0;if((l|0)>(m|0)){H=28;break b}if((l|0)==(m|0)){q=j;break b}k=j+12|0;j=c[k>>2]|0;if(!j){H=28;break}}while(0);do if((H|0)==28){j=c[a+208>>2]|0;if((j|0)<(c[a+204>>2]|0)){q=c[a+200>>2]|0;c[a+208>>2]=j+1;c[q+(j<<4)>>2]=m;c[q+(j<<4)+8>>2]=0;c[q+(j<<4)+4>>2]=0;c[q+(j<<4)+12>>2]=c[k>>2];c[k>>2]=q+(j<<4);q=q+(j<<4)|0;break}else rg(a|0,1)}while(0);D=q+8|0;c[D>>2]=(c[D>>2]|0)+n;D=q+4|0;c[D>>2]=(c[D>>2]|0)+o}c[a+188>>2]=0;c[a+192>>2]=0;c[a+156>>2]=s;c[a+160>>2]=u;k=0;l=0}D=c[a+184>>2]|0;if(u>>>0>>0)j=(s|0)>=(c[a+180>>2]|0);else j=1;j=j&1;c[a+196>>2]=j;do if((v|0)==(f>>8|0)){G=F+e|0;h=k;i=l}else{B=(F+g-(F+e)<<8|0)%(E|0)|0;C=((B|0)<0?E:0)+B|0;y=b-(c[a+172>>2]|0)|0;z=c[a+168>>2]|0;A=c[a+164>>2]|0;t=F+e|0;q=s;r=u;p=j;o=s;n=u;m=v;j=((x|0)%(E|0)|0)-E+w|0;while(1){v=C+j|0;u=(B>>31)+((F+g-(F+e)<<8|0)/(E|0)|0)+(v>>>31^1)|0;v=v-((v|0)>-1?E:0)|0;s=k+(u<<8)|0;b=l+u|0;t=u+t|0;u=m+(f-d>>31|1)|0;w=((z|0)<(u|0)?z:u)-A|0;x=q;q=(w|0)>-1?w:-1;if((q|0)==(x|0)&(y|0)==(r|0)){m=o;l=b;k=s}else{if(!((p|0)!=0|(b|s|0)==0)){m=c[a+180>>2]|0;m=(o|0)>(m|0)?m:o;k=(c[a+1420>>2]|0)+(n<<2)|0;j=c[k>>2]|0;c:do if(!j)H=43;else while(1){l=c[j>>2]|0;if((l|0)>(m|0)){H=43;break c}if((l|0)==(m|0))break c;k=j+12|0;j=c[k>>2]|0;if(!j){H=43;break}}while(0);if((H|0)==43){H=0;j=c[a+208>>2]|0;if((j|0)>=(c[a+204>>2]|0)){H=44;break}x=c[a+200>>2]|0;c[a+208>>2]=j+1;c[x+(j<<4)>>2]=m;c[x+(j<<4)+8>>2]=0;c[x+(j<<4)+4>>2]=0;c[x+(j<<4)+12>>2]=c[k>>2];c[k>>2]=x+(j<<4);j=x+(j<<4)|0}x=j+8|0;c[x>>2]=(c[x>>2]|0)+s;x=j+4|0;c[x>>2]=(c[x>>2]|0)+b}c[a+156>>2]=q;c[a+160>>2]=y;n=y;m=q;l=0;k=0}if(y>>>0>>0)j=(q|0)>=(c[a+180>>2]|0);else j=1;j=j&1;c[a+196>>2]=j;if((u|0)==(f>>8|0)){i=l;h=k;H=51;break}else{r=y;p=j;o=m;m=u;j=v}}if((H|0)==44){c[a+188>>2]=s;c[a+192>>2]=b;rg(a|0,1)}else if((H|0)==51){c[a+188>>2]=h;c[a+192>>2]=i;G=t;break}}while(0);H=g-G|0;c[a+188>>2]=(_(H,f-(f>>8<<8)+256-((f-d>>31)+256&-256)|0)|0)+h;c[a+192>>2]=i+H;return}function J_a(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;g=c[b+4>>2]|0;f=c[b>>2]<<2;c[d+232>>2]=f;c[d+236>>2]=g<<2;h=c[a>>2]|0;c[d+240>>2]=h<<2;b=c[a+4>>2]|0;c[d+244>>2]=b<<2;a=c[d+220>>2]|0;c[d+248>>2]=a;e=c[d+224>>2]|0;c[d+252>>2]=e;a=(f-(h<<3)+a|0)<0?0-(f-(h<<3)+a)|0:f-(h<<3)+a|0;h=((g<<2)-(b<<3)+e|0)<0?0-((g<<2)-(b<<3)+e)|0:(g<<2)-(b<<3)+e|0;a=(a|0)<(h|0)?h:a;if((a|0)<64){b=d+232|0;e=0;g=9}else{h=(b<<2|0)<(g<<2|0)?b<<2:g<<2;b=(b<<2|0)>(g<<2|0)?b<<2:g<<2;if((((e|0)<(h|0)?e:h)>>8|0)<(c[d+176>>2]|0))if((((e|0)>(b|0)?e:b)>>8|0)<(c[d+172>>2]|0)){b=d+232|0;e=0;g=9}else{b=0;do{a=a>>2;b=b+1|0}while((a|0)>64);c[d+1008>>2]=b;a=d+232|0;e=0;g=6}else{b=d+232|0;e=0;g=9}}a:while(1){do if((g|0)==6)if((b|0)>0){h=a+16|0;g=c[h>>2]|0;c[a+32>>2]=g;i=a+8|0;j=c[i>>2]|0;c[a+24>>2]=(j+g|0)/2|0;f=((c[a>>2]|0)+j|0)/2|0;c[i>>2]=f;c[h>>2]=(f+((j+g|0)/2|0)|0)/2|0;h=a+20|0;g=c[h>>2]|0;c[a+36>>2]=g;j=a+12|0;f=c[j>>2]|0;c[a+28>>2]=(f+g|0)/2|0;i=((c[a+4>>2]|0)+f|0)/2|0;c[j>>2]=i;c[h>>2]=(i+((f+g|0)/2|0)|0)/2|0;h=e+1|0;g=b+-1|0;c[d+1008+(e<<2)>>2]=g;c[d+1008+(h<<2)>>2]=g;a=a+16|0;e=h;break}else{f=c[a>>2]|0;b=a;g=9;continue a}else if((g|0)==9){H_a(d,f,c[b+4>>2]|0);a=b+-16|0;e=e+-1|0}while(0);if((e|0)<=-1)break;b=c[d+1008+(e<<2)>>2]|0;g=6}return 0}function K_a(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;p=c[d+4>>2]|0;f=c[d>>2]<<2;c[e+232>>2]=f;c[e+236>>2]=p<<2;c[e+240>>2]=c[b>>2]<<2;o=c[b+4>>2]<<2;c[e+244>>2]=o;c[e+248>>2]=c[a>>2]<<2;q=c[a+4>>2]<<2;c[e+252>>2]=q;c[e+256>>2]=c[e+220>>2];d=c[e+224>>2]|0;c[e+260>>2]=d;r=(o|0)<(p<<2|0)?o:p<<2;a=(o|0)>(p<<2|0)?o:p<<2;r=(q|0)<(r|0)?q:r;a=(q|0)>(a|0)?q:a;if((((d|0)<(r|0)?d:r)>>8|0)<(c[e+176>>2]|0))if((((d|0)>(a|0)?d:a)>>8|0)<(c[e+172>>2]|0)){d=e+232|0;s=13}else d=e+232|0;else{d=e+232|0;s=13}while(1){if((s|0)==13){s=0;H_a(e,f,c[d+4>>2]|0);if((d|0)==(e+232|0))break;d=d+-24|0;f=c[d>>2]|0}n=d+24|0;o=c[n>>2]|0;m=o-f|0;p=d+28|0;q=c[p>>2]|0;r=c[d+4>>2]|0;a=(m|0)<0?0-m|0:m;b=(q-r|0)<0?0-(q-r)|0:q-r|0;if((a|0)>(b|0))a=(b*3>>3)+a|0;else a=b+(a*3>>3)|0;if((a|0)>32767){b=d+8|0;a=d+12|0;h=b;g=a;b=c[b>>2]|0;a=c[a>>2]|0}else{i=a*42|0;h=d+8|0;b=c[h>>2]|0;j=b-f|0;g=d+12|0;a=c[g>>2]|0;l=(_(j,q-r|0)|0)-(_(a-r|0,m)|0)|0;if((((l|0)<0?0-l|0:l)|0)<=(i|0)){k=(c[d+16>>2]|0)-f|0;l=(c[d+20>>2]|0)-r|0;t=(_(k,q-r|0)|0)-(_(l,m)|0)|0;if((((t|0)<0?0-t|0:t)|0)<=(i|0))if(((_(a-r-(q-r)|0,a-r|0)|0)+(_(j-m|0,j)|0)|0)<=0)if(((_(l-(q-r)|0,l)|0)+(_(k-m|0,k)|0)|0)<=0){s=13;continue}}}c[d+48>>2]=o;k=d+16|0;l=c[k>>2]|0;m=(b+f|0)/2|0;c[h>>2]=m;c[d+40>>2]=(l+o|0)/2|0;t=(l+b|0)/2|0;c[k>>2]=(t+m|0)/2|0;c[d+32>>2]=(((l+o|0)/2|0)+t|0)/2|0;t=(((t+m|0)/2|0)+((((l+o|0)/2|0)+t|0)/2|0)|0)/2|0;c[d+24>>2]=t;c[d+52>>2]=q;l=d+20|0;o=c[l>>2]|0;m=(a+r|0)/2|0;c[g>>2]=m;c[d+44>>2]=(o+q|0)/2|0;r=(o+a|0)/2|0;c[l>>2]=(r+m|0)/2|0;c[d+36>>2]=(((o+q|0)/2|0)+r|0)/2|0;c[p>>2]=(((r+m|0)/2|0)+((((o+q|0)/2|0)+r|0)/2|0)|0)/2|0;f=t;d=n}return 0}function L_a(f,g,h,i,j){f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0;i=(i>>9|0)<0?0-(i>>9)|0:i>>9;do if(!(c[f+1152>>2]&2))m=(i|0)>255?255:i;else if((i&511)>>>0>256){m=512-(i&511)|0;break}else{m=(i&511|0)==256?255:i&511;break}while(0);l=(c[f+172>>2]|0)+h|0;k=(c[f+164>>2]|0)+g|0;k=(k|0)<32767?k:32767;if(!m)return;g=c[f+1388>>2]|0;i=c[f+1400>>2]|0;if((g|0)>0&(i|0)==(l|0)){i=e[f+1196+(g*6|0)+-4>>1]|0;if((i+(b[f+1196+(g*6|0)+-6>>1]|0)|0)==(k|0))if((d[f+1196+(g*6|0)+-2>>0]|0)==(m|0)){b[f+1196+(g*6|0)+-4>>1]=i+j;return}else i=l;else i=l}if((g|0)>31|(i|0)!=(l|0)){h=c[f+1392>>2]|0;if((g|0)>0&(h|0)!=0)kj[h&127](i,g,f+1196|0,c[f+1396>>2]|0);c[f+1388>>2]=0;c[f+1400>>2]=l;i=f+1196|0}else i=f+1196+(g*6|0)|0;b[i>>1]=k;b[i+2>>1]=j;a[i+4>>0]=m;c[f+1388>>2]=(c[f+1388>>2]|0)+1;return}function M_a(a){a=a|0;LTa(c[a>>2]|0,a);return}function N_a(a){a=a|0;var b=0;b=c[a+4>>2]|0;$i[c[(c[(c[a+12>>2]|0)+56>>2]|0)+8>>2]&255](c[a+52>>2]|0,c[b+164>>2]|0,c[b+168>>2]|0);return 0}function O_a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return P_a(a,b,(c|0)==1?0:c,d,0)|0}function P_a(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;v=i;i=i+80|0;u=c[d+8>>2]|0;if((c[e+72>>2]|0)!=(c[d+16>>2]|0)){c[v+64>>2]=6;e=c[v+64>>2]|0;i=v;return e|0}if((f|0)!=(h|0)){c[v+64>>2]=19;e=c[v+64>>2]|0;i=v;return e|0}if(!g){k=0;j=0}else{k=c[g>>2]|0;j=c[g+4>>2]|0}HSa(e+108|0,v+48|0);l=(c[v+48>>2]|0)+k|0;c[v+48>>2]=l&-64;h=(c[v+48+4>>2]|0)+j&-64;c[v+48+4>>2]=h;m=k+63+(c[v+48+8>>2]|0)&-64;c[v+48+8>>2]=m;g=j+63+(c[v+48+12>>2]|0)|0;c[v+48+12>>2]=g&-64;s=k-(l&-64)|0;t=j-h|0;p=((g&-64)-h|0)>>>6;if((f|0)==3){r=(((m-(l&-64)|0)>>>6)*3|0)+3&536870908;n=((m-(l&-64)|0)>>>6)*3|0}else{r=(m-(l&-64)|0)>>>6;n=(m-(l&-64)|0)>>>6}o=(f|0)==4?p*3|0:p;if(o>>>0>32767|(n|0)>32767){c[v+64>>2]=98;e=c[v+64>>2]|0;i=v;return e|0}if(c[(c[e+156>>2]|0)+4>>2]&1|0){LTa(u,c[e+88>>2]|0);c[e+88>>2]=0;q=(c[e+156>>2]|0)+4|0;c[q>>2]=c[q>>2]&-2}c[e+88>>2]=HTa(u,_(r,o)|0,v+64|0)|0;if(c[v+64>>2]|0){e=c[v+64>>2]|0;i=v;return e|0}q=(c[e+156>>2]|0)+4|0;c[q>>2]=c[q>>2]|1;c[e+72>>2]=1651078259;c[e+100>>2]=l>>6;c[e+104>>2]=g>>6;a[e+94>>0]=2;b[e+92>>1]=256;c[e+80>>2]=n;c[e+76>>2]=o;c[e+84>>2]=r;if((k|0)!=(l&-64|0)|(j|0)!=(h|0)){ISa(e+108|0,s,t);q=1}else q=0;c[v>>2]=e+76;c[v+4>>2]=e+108;c[v+8>>2]=1;d=Xi[c[d+56>>2]&511](c[d+52>>2]|0,v)|0;c[v+64>>2]=d;if(!d){if(!((p|0)==0|(f|0)==3^1|((m-(l&-64)|0)>>>6|0)==0)){g=p;j=c[e+88>>2]|0;while(1){h=j+n|0;k=(m-(l&-64)|0)>>>6;do{k=k+-1|0;w=a[j+k>>0]|0;d=h;h=h+-3|0;a[h>>0]=w;a[d+-2>>0]=w;a[d+-1>>0]=w}while((k|0)!=0);g=g+-1|0;if(!g)break;else j=j+r|0}}if((f|0)==4){h=c[e+88>>2]|0;if(p|0){j=p;g=h+(_(r,o-p|0)|0)|0;while(1){mBb(h|0,g|0,r|0)|0;h=h+r|0;mBb(h|0,g|0,r|0)|0;h=h+r|0;mBb(h|0,g|0,r|0)|0;j=j+-1|0;if(!j)break;else{g=g+r|0;h=h+r|0}}}}c[v+64>>2]=0;h=0}else h=1;if(q<<24>>24)ISa(e+108|0,0-s|0,0-t|0);if(!(h<<24>>24)){w=c[v+64>>2]|0;i=v;return w|0}LTa(u,c[e+88>>2]|0);c[e+88>>2]=0;w=(c[e+156>>2]|0)+4|0;c[w>>2]=c[w>>2]&-2;w=c[v+64>>2]|0;i=v;return w|0}function Q_a(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;if((c[b+72>>2]|0)!=(c[a+16>>2]|0)){b=6;return b|0}if(d|0)KSa(b+108|0,d);if(!e){b=0;return b|0}ISa(b+108|0,c[e>>2]|0,c[e+4>>2]|0);b=0;return b|0}function R_a(a,b,d){a=a|0;b=b|0;d=d|0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;c[d+12>>2]=0;if((c[b+72>>2]|0)!=(c[a+16>>2]|0))return;HSa(b+108|0,d);return}function S_a(a,b,d){a=a|0;b=b|0;d=d|0;return Gi[c[(c[(c[a+12>>2]|0)+56>>2]|0)+12>>2]&255](c[a+52>>2]|0,b,d)|0}function T_a(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;d=P_a(b,c,d,e,3)|0;if(d|0)return d|0;a[c+94>>0]=5;return d|0}function U_a(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;d=P_a(b,c,d,e,4)|0;if(d|0)return d|0;a[c+94>>0]=6;return d|0}function V_a(a){a=a|0;c[a+64>>2]=35;return 0}function W_a(a){a=a|0;return}function X_a(a,b){a=a|0;b=b|0;var d=0;d=HRa(54260,b)|0;if(d|0){b=d;return b|0}if(!a){b=0;return b|0}d=c[a+4>>2]|0;if(!d){b=0;return b|0}d=dSa(d,590362)|0;if(!d){b=0;return b|0}d=c[(c[d>>2]|0)+20>>2]|0;if(!d){b=0;return b|0}b=Xi[c[d+16>>2]&511](a,b)|0;return b|0}function Y_a(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+32|0;c[v>>2]=0;u=c[d+100>>2]|0;a[d+672>>0]=0;h=c[d+676>>2]|0;do if(!h){t=Z_a(d,0)|0;c[v>>2]=t;if(!t){h=c[d+676>>2]|0;break}else{d=c[v>>2]|0;i=v;return d|0}}while(0);j=h+8|0;s=c[j>>2]|0;t=c[s>>2]|0;t=t>>>0>>0?t:f;a:do if(t|0){f=0;while(1){if(((c[g+(f<<2)>>2]|0)+65536|0)>>>0>131072)break;f=f+1|0;if(f>>>0>=t>>>0)break a}c[v>>2]=6;d=c[v>>2]|0;i=v;return d|0}while(0);m=h+36|0;if(!(c[m>>2]|0)){r=c[d+104>>2]|0;n=c[r+28>>2]|0;f=cj[c[d+508>>2]&127](d,1735811442,r,v+24|0)|0;c[v+28>>2]=f;do if(!f){o=eTa(r)|0;f=xTa(r,173134,v+4|0)|0;c[v+28>>2]=f;if(!f){p=h+24|0;c[p>>2]=e[v+4+6>>1];f=e[v+4+12>>1]|0;k=h+32|0;c[k>>2]=f;l=(c[v+4+16>>2]|0)+o|0;if((c[v+4>>2]|0)!=65536){c[v+28>>2]=8;f=8;break}q=v+4+4|0;if((b[q>>1]|0)!=(c[c[j>>2]>>2]&65535)<<16>>16){c[v+28>>2]=8;f=8;break}c[m>>2]=JTa(n,4,0,f+1|0,0,v+28|0)|0;f=c[v+28>>2]|0;if(!f){f=(c[k>>2]|0)+1|0;if(!(b[v+4+14>>1]&1)){f=jTa(r,f<<1)|0;c[v+28>>2]=f;if(!f)f=0;else break;do{j=(((nTa(r)|0)&65535)<<1)+l|0;c[(c[m>>2]|0)+(f<<2)>>2]=j;f=f+1|0}while(f>>>0<=(c[k>>2]|0)>>>0);lTa(r)}else{f=jTa(r,f<<2)|0;c[v+28>>2]=f;if(!f)f=0;else break;do{j=(pTa(r)|0)+l|0;c[(c[m>>2]|0)+(f<<2)>>2]=j;f=f+1|0}while(f>>>0<=(c[k>>2]|0)>>>0);lTa(r)}f=c[p>>2]|0;if(f|0){l=h+28|0;c[l>>2]=JTa(n,4,0,_(e[q>>1]|0,f)|0,0,v+28|0)|0;f=c[v+28>>2]|0;if(f|0)break;f=cTa(r,(c[v+4+8>>2]|0)+o|0)|0;c[v+28>>2]=f;if(f|0)break;f=jTa(r,_(c[p>>2]<<1,e[q>>1]|0)|0)|0;c[v+28>>2]=f;if(f|0)break;f=c[p>>2]|0;if(f|0){j=b[q>>1]|0;k=0;do{if(!(j<<16>>16))j=0;else{f=0;do{n=(nTa(r)|0)<<16>>16<<2;j=b[q>>1]|0;o=(_(j&65535,k)|0)+f|0;c[(c[l>>2]|0)+(o<<2)>>2]=n;f=f+1|0}while(f>>>0<(j&65535)>>>0);f=c[p>>2]|0}k=k+1|0}while(k>>>0>>0)}lTa(r)}f=c[v+28>>2]|0}}}while(0);c[v>>2]=f;if(f|0){d=c[v>>2]|0;i=v;return d|0}}f=h+4|0;j=c[f>>2]|0;b:do if(!j){j=JTa(u,4,0,c[s>>2]|0,0,v)|0;c[f>>2]=j;if(!(c[v>>2]|0)){k=c[s>>2]|0;f=1;break}else{d=c[v>>2]|0;i=v;return d|0}}else{c:do if(!t){f=0;l=0}else{f=0;while(1){if((c[j+(f<<2)>>2]|0)!=(c[g+(f<<2)>>2]|0)){l=2;break c}f=f+1|0;if(f>>>0>=t>>>0){l=0;break}}}while(0);k=c[s>>2]|0;if(f>>>0>>0)while(1){if(c[j+(f<<2)>>2]|0){f=2;break b}f=f+1|0;if(f>>>0>=k>>>0){f=l;break}}else f=l}while(0);c[h>>2]=k;mBb(j|0,g|0,t<<2|0)|0;a[d+672>>0]=1;h=c[d+648>>2]|0;if(!h){d=c[v>>2]|0;i=v;return d|0}switch(f|0){case 2:{LTa(u,h);c[d+648>>2]=0;c[v>>2]=__a(d,c[d+104>>2]|0)|0;d=c[v>>2]|0;i=v;return d|0}case 1:{c[v>>2]=$_a(d,c[d+104>>2]|0)|0;d=c[v>>2]|0;i=v;return d|0}default:{d=c[v>>2]|0;i=v;return d|0}}return 0}function Z_a(d,f){d=d|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+48|0;o=c[d+104>>2]|0;q=c[d+100>>2]|0;c[s+40>>2]=0;a:do if(!(c[d+676>>2]|0)){r=cj[c[d+508>>2]&127](d,1735811442,o,s+44|0)|0;c[s+40>>2]=r;if(r|0){f=c[s+40>>2]|0;i=s;return f|0}r=cj[c[d+508>>2]&127](d,1719034226,o,s+44|0)|0;c[s+40>>2]=r;if(r|0){f=c[s+40>>2]|0;i=s;return f|0}m=eTa(o)|0;r=xTa(o,173066,s+24|0)|0;c[s+40>>2]=r;if(r|0){f=c[s+40>>2]|0;i=s;return f|0}if((c[s+24>>2]|0)==65536)if((b[s+24+10>>1]|0)==20){p=s+24+8|0;g=b[p>>1]|0;if((g&65535)<=16382){h=e[s+24+14>>1]|0;if((h|0)==(((g&65535)<<2)+4|0)){r=s+24+12|0;j=b[r>>1]|0;if((j&65535)<=32511){n=(_(j&65535,h)|0)+((g&65535)*20|0)+(e[s+24+4>>1]|0)|0;if(n>>>0<=(c[s+44>>2]|0)>>>0){g=HTa(q,40,s+40|0)|0;c[d+676>>2]=g;if(c[s+40>>2]|0){f=c[s+40>>2]|0;i=s;return f|0}n=e[r>>1]|0;n=(n<<3)+20+(_((n<<2)+29|0,e[p>>1]|0)|0)|0;c[g+12>>2]=n;n=HTa(q,n,s+40|0)|0;if(c[s+40>>2]|0){f=c[s+40>>2]|0;i=s;return f|0}c[(c[d+676>>2]|0)+8>>2]=n;h=e[p>>1]|0;c[n>>2]=h;c[n+4>>2]=-1;l=b[r>>1]|0;c[n+8>>2]=l&65535;c[n+12>>2]=n+20;c[n+16>>2]=n+20+(h*24|0);g=n+20+(h*24|0)+((l&65535)<<3)|0;if(l<<16>>16){j=e[p>>1]|0;k=e[r>>1]|0;l=0;do{c[n+20+(h*24|0)+(l<<3)>>2]=g;g=g+(j<<2)|0;l=l+1|0}while((l|0)<(k|0))}h=b[p>>1]|0;if(h<<16>>16){j=c[n+12>>2]|0;k=0;while(1){c[j+(k*24|0)>>2]=g;k=k+1|0;if((k|0)>=(h&65535|0))break;else g=g+5|0}}m=cTa(o,(e[s+24+4>>1]|0)+m|0)|0;c[s+40>>2]=m;if(m|0){f=c[s+40>>2]|0;i=s;return f|0}b:do if(!(b[p>>1]|0))h=0;else{g=c[n+12>>2]|0;j=0;while(1){m=xTa(o,173102,s)|0;c[s+40>>2]=m;if(m|0)break;m=c[s>>2]|0;h=g+16|0;c[h>>2]=m;c[g+4>>2]=c[s+4>>2];c[g+8>>2]=c[s+8>>2];c[g+12>>2]=c[s+12>>2];c[g+20>>2]=e[s+18>>1];a[c[g>>2]>>0]=m>>>24;a[(c[g>>2]|0)+1>>0]=(c[h>>2]|0)>>>16;a[(c[g>>2]|0)+2>>0]=(c[h>>2]|0)>>>8;a[(c[g>>2]|0)+3>>0]=c[h>>2];a[(c[g>>2]|0)+4>>0]=0;j=j+1|0;h=b[p>>1]|0;if((j|0)>=(h&65535|0))break b;else g=g+24|0}f=c[s+40>>2]|0;i=s;return f|0}while(0);if(!(b[r>>1]|0))break;g=c[n+16>>2]|0;n=jTa(o,((h&65535)<<2)+4|0)|0;c[s+40>>2]=n;if(!n)j=0;else{f=c[s+40>>2]|0;i=s;return f|0}while(1){c[g+4>>2]=(nTa(o)|0)&65535;nTa(o)|0;if(b[p>>1]|0){h=0;do{n=pTa(o)|0;c[(c[g>>2]|0)+(h<<2)>>2]=n;h=h+1|0}while((h|0)<(e[p>>1]|0))}lTa(o);j=j+1|0;if((j|0)>=(e[r>>1]|0))break a;n=jTa(o,(e[p>>1]<<2)+4|0)|0;c[s+40>>2]=n;if(n|0)break;else g=g+8|0}f=c[s+40>>2]|0;i=s;return f|0}}}}}c[s+40>>2]=8;f=c[s+40>>2]|0;i=s;return f|0}while(0);if(!f){f=c[s+40>>2]|0;i=s;return f|0}m=HTa(q,c[(c[d+676>>2]|0)+12>>2]|0,s+40|0)|0;if(c[s+40>>2]|0){f=c[s+40>>2]|0;i=s;return f|0}j=c[d+676>>2]|0;mBb(m|0,c[j+8>>2]|0,c[j+12>>2]|0)|0;c[m+12>>2]=m+20;j=c[m>>2]|0;c[m+16>>2]=m+20+(j*24|0);k=c[m+8>>2]|0;if(!k){l=j;g=m+20+(j*24|0)+(k<<3)|0}else{h=0;g=m+20+(j*24|0)+(k<<3)|0;do{c[m+20+(j*24|0)+(h<<3)>>2]=g;g=g+(j<<2)|0;h=h+1|0}while(h>>>0>>0);l=c[m>>2]|0}if(l|0){j=m+20|0;k=0;while(1){c[j>>2]=g;h=c[j+16>>2]|0;c:do if((h|0)<2003072104)if((h|0)<1936486004){switch(h|0){case 1869640570:break;default:break c}c[j>>2]=591100;break}else{switch(h|0){case 1936486004:break;default:break c}c[j>>2]=590312;break}else if((h|0)<2003265652){switch(h|0){case 2003072104:break;default:break c}c[j>>2]=591094;break}else{switch(h|0){case 2003265652:break;default:break c}c[j>>2]=591651;break}while(0);k=k+1|0;if(k>>>0>=l>>>0)break;else{j=j+24|0;g=g+5|0}}}c[f>>2]=m;f=c[s+40>>2]|0;i=s;return f|0}function __a(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,j=0;j=i;i=i+16|0;f=c[e+28>>2]|0;h=cj[c[d+508>>2]&127](d,1668707360,e,j)|0;c[j+4>>2]=h;if(h|0){c[d+644>>2]=0;c[d+648>>2]=0;c[j+4>>2]=0;e=0;i=j;return e|0}h=(c[j>>2]|0)>>>1;c[d+644>>2]=h;c[d+648>>2]=JTa(f,2,0,h,0,j+4|0)|0;f=c[j+4>>2]|0;if(f|0){e=f;i=j;return e|0}f=jTa(e,c[d+644>>2]<<1)|0;c[j+4>>2]=f;if(f|0){e=f;i=j;return e|0}f=c[d+648>>2]|0;g=c[d+644>>2]|0;if((g|0)>0){h=f;do{b[h>>1]=nTa(e)|0;h=h+2|0}while(h>>>0<(f+(g<<1)|0)>>>0)}lTa(e);if(!(a[d+672>>0]|0)){e=c[j+4>>2]|0;i=j;return e|0}else{e=$_a(d,e)|0;c[j+4>>2]=e;i=j;return e|0}return 0}function $_a(a,d){a=a|0;d=d|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;x=i;i=i+16|0;w=c[d+28>>2]|0;t=c[a+676>>2]|0;if(!t){c[x+8>>2]=0;d=0;v=0;a=0;LTa(w,a);LTa(w,v);LTa(w,d);d=c[x+8>>2]|0;i=x;return d|0}if(!(c[a+648>>2]|0)){c[x+8>>2]=0;d=0;v=0;a=0;LTa(w,a);LTa(w,v);LTa(w,d);d=c[x+8>>2]|0;i=x;return d|0}v=cj[c[a+508>>2]&127](a,1668702578,d,x+4|0)|0;c[x+8>>2]=v;if(v|0){c[x+8>>2]=0;d=0;v=0;a=0;LTa(w,a);LTa(w,v);LTa(w,d);d=c[x+8>>2]|0;i=x;return d|0}v=jTa(d,c[x+4>>2]|0)|0;c[x+8>>2]=v;if(v|0){c[x+8>>2]=0;d=0;v=0;a=0;LTa(w,a);LTa(w,v);LTa(w,d);d=c[x+8>>2]|0;i=x;return d|0}j=(c[d+32>>2]|0)-(c[d>>2]|0)|0;if((pTa(d)|0)==65536){f=JTa(w,4,0,c[t>>2]|0,0,x+8|0)|0;if(!(c[x+8>>2]|0)){g=JTa(w,4,0,c[t>>2]|0,0,x+8|0)|0;if(!(c[x+8>>2]|0)){h=JTa(w,4,0,c[t>>2]|0,0,x+8|0)|0;if(!(c[x+8>>2]|0)){u=nTa(d)|0;k=nTa(d)|0;if(u&4095){v=0;s=j+(k&65535)|0;while(1){r=(nTa(d)|0)&65535;l=nTa(d)|0;if(!(l&32768)){if(l&16384|0)if(c[t>>2]&2147483647|0){j=0;do{nTa(d)|0;j=j+1|0}while(j>>>0>2]<<1>>>0)}}else{if(!(c[t>>2]|0))j=0;else{k=0;do{c[f+(k<<2)>>2]=(nTa(d)|0)<<16>>16<<2;k=k+1|0;j=c[t>>2]|0}while(k>>>0>>0)}if(!((l&16384|0)==0|(j|0)==0)){k=0;do{c[g+(k<<2)>>2]=(nTa(d)|0)<<16>>16<<2;k=k+1|0;j=c[t>>2]|0}while(k>>>0>>0);if(j|0){j=0;do{c[h+(j<<2)>>2]=(nTa(d)|0)<<16>>16<<2;j=j+1|0}while(j>>>0<(c[t>>2]|0)>>>0)}}p=a$a(t,l,f,g,h)|0;if(!((l&8192|0)==0|(p|0)==0)){o=c[d>>2]|0;n=(c[d+32>>2]|0)-o|0;c[d+32>>2]=o+s;o=b$a(d,x)|0;l=c[x>>2]|0;if(!l)j=c[a+644>>2]|0;else j=l;m=c$a(d,j)|0;do if((o|0)==0|(m|0)==0)q=37;else if((o|0)==(-1|0)){if(!(c[a+644>>2]|0))break;j=c[a+648>>2]|0;k=0;do{q=e[j+(k<<1)>>1]|0;q=(H2a(b[m+(k<<1)>>1]|0,p)|0)+q&65535;j=c[a+648>>2]|0;b[j+(k<<1)>>1]=q;k=k+1|0}while(k>>>0<(c[a+644>>2]|0)>>>0);q=37}else{if(!l){q=38;break}j=c[a+648>>2]|0;k=0;do{q=e[o+(k<<1)>>1]|0;y=e[j+(q<<1)>>1]|0;y=(H2a(b[m+(k<<1)>>1]|0,p)|0)+y&65535;j=c[a+648>>2]|0;b[j+(q<<1)>>1]=y;k=k+1|0}while(k>>>0>>0);q=37}while(0);if((q|0)==37){q=0;if((o|0)!=(-1|0))q=38}if((q|0)==38){q=0;LTa(w,o)}LTa(w,m);c[d+32>>2]=(c[d>>2]|0)+n}}v=v+1|0;if((v|0)==(u&4095|0))break;else s=r+s|0}}}}else h=0}else{h=0;g=0}}else{c[x+8>>2]=0;h=0;g=0;f=0}lTa(d);y=h;d=g;v=f;LTa(w,v);LTa(w,d);LTa(w,y);y=c[x+8>>2]|0;i=x;return y|0}function a$a(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;h=c[a>>2]|0;if(!h){d=65536;return d|0}if(!(b&16384)){b=65536;j=0;while(1){i=c[d+(j<<2)>>2]|0;if(i){h=c[(c[a+4>>2]|0)+(j<<2)>>2]|0;if(!h){h=0;b=19;break}if((i|0)>0&(h|0)<0){h=0;b=19;break}if((i|0)<0&(h|0)>0){h=0;b=19;break}b=H2a(b,(h|0)>0?h:0-h|0)|0;h=c[a>>2]|0}j=j+1|0;if(j>>>0>=h>>>0){h=b;b=19;break}}if((b|0)==19)return h|0}else{g=65536;k=0}a:while(1){h=c[d+(k<<2)>>2]|0;do if(h){b=c[(c[a+4>>2]|0)+(k<<2)>>2]|0;if(!b){h=0;b=19;break a}if((h|0)>0&(b|0)<0){h=0;b=19;break a}if((h|0)<0&(b|0)>0){h=0;b=19;break a}i=c[e+(k<<2)>>2]|0;if((b|0)<(i|0)){h=0;b=19;break a}j=c[f+(k<<2)>>2]|0;if((j|0)<(b|0)){h=0;b=19;break a}if((b|0)<(h|0)){g=F2a(g,b-i|0,h-i|0)|0;break}else{g=F2a(g,j-b|0,j-h|0)|0;break}}while(0);k=k+1|0;if(k>>>0>=(c[a>>2]|0)>>>0){h=g;b=19;break}}if((b|0)==19)return h|0;return 0}function b$a(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;l=i;i=i+16|0;f=c[a+28>>2]|0;c[l>>2]=0;c[d>>2]=0;e=mTa(a)|0;if(!(e<<24>>24)){a=-1;i=l;return a|0}if(!(e&128))k=e&255;else k=(mTa(a)|0)&255|(e&255)<<8&32512;e=JTa(f,2,0,k,0,l)|0;if(c[l>>2]|0){a=0;i=l;return a|0}c[d>>2]=k;if(!k){a=e;i=l;return a|0}else f=0;while(1){j=mTa(a)|0;if(!(j&128)){d=(mTa(a)|0)&255;h=f+1|0;b[e+(f<<1)>>1]=d;if(j<<24>>24==0|((j&255)+h|0)>>>0>k>>>0){f=14;break}else{f=h;g=0}while(1){d=((mTa(a)|0)&255)+(d&65535)&65535;b[e+(f<<1)>>1]=d;g=g+1|0;if((g|0)==(j&255|0)){f=(j&255)+h|0;break}else f=f+1|0}}else{d=nTa(a)|0;h=f+1|0;b[e+(f<<1)>>1]=d;if((j&127|0)==0|((j&127)+h|0)>>>0>k>>>0){f=14;break}f=h;g=0;while(1){d=((nTa(a)|0)&65535)+(d&65535)&65535;b[e+(f<<1)>>1]=d;g=g+1|0;if((g|0)==(j&127|0))break;else f=f+1|0}f=h+(j&127)|0}if(f>>>0>=k>>>0){f=14;break}}if((f|0)==14){i=l;return e|0}return 0}function c$a(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+16|0;j=c[a+28>>2]|0;c[m>>2]=0;e=JTa(j,2,0,d,0,m)|0;if(!(c[m>>2]|0))f=0;else{l=0;i=m;return l|0}do{if(f>>>0>=d>>>0){l=11;break}k=mTa(a)|0;if(!(k&128))if(!(k&64)){h=f;g=0;while(1){f=h+1|0;b[e+(h<<1)>>1]=(mTa(a)|0)<<24>>24;g=g+1|0;if(f>>>0>>0&g>>>0<=(k&63)>>>0)h=f;else break}}else{h=f;g=0;while(1){f=h+1|0;b[e+(h<<1)>>1]=nTa(a)|0;g=g+1|0;if(f>>>0>>0&g>>>0<=(k&63)>>>0)h=f;else break}}else{g=f-d|0;hBb(e+(f<<1)|0,0,_(g>>>0>((k&255|-64)^63)>>>0?g:(k&255|-64)^63,-2)|0)|0;g=0;do{f=f+1|0;g=g+1|0}while(f>>>0>>0&g>>>0<=(k&63)>>>0)}}while(g>>>0>(k&63)>>>0);if((l|0)==11){i=m;return e|0}LTa(j,e);l=0;i=m;return l|0}function d$a(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=i;i=i+16|0;c[t>>2]=0;s=c[d+100>>2]|0;h=c[d+676>>2]|0;do if(!h){r=Z_a(d,0)|0;c[t>>2]=r;if(!r){h=c[d+676>>2]|0;break}else{d=0;LTa(s,d);d=c[t>>2]|0;i=t;return d|0}}while(0);r=c[h+8>>2]|0;q=c[r>>2]|0;n=q>>>0>>0?q:f;q=JTa(s,4,0,q,0,t)|0;if(c[t>>2]|0){d=q;LTa(s,d);d=c[t>>2]|0;i=t;return d|0}a:do if(!n)j=0;else{o=c[r+12>>2]|0;j=0;while(1){f=c[g+(j<<2)>>2]|0;k=c[o+12>>2]|0;if((f|0)>(k|0))break;l=c[o+4>>2]|0;if((f|0)<(l|0))break;m=c[o+8>>2]|0;do if((f|0)<(m|0))c[q+(j<<2)>>2]=0-(I2a(f-m|0,l-m|0)|0);else if((k|0)==(m|0)){c[q+(j<<2)>>2]=0;break}else{c[q+(j<<2)>>2]=I2a(f-m|0,k-m|0)|0;break}while(0);j=j+1|0;if(j>>>0>>0)o=o+24|0;else break a}c[t>>2]=6;d=q;LTa(s,d);d=c[t>>2]|0;i=t;return d|0}while(0);f=c[r>>2]|0;if(j>>>0>>0){p=j<<2;g=j+1|0;hBb(q+p|0,0,((f>>>0>g>>>0?f:g)<<2)-p|0)|0}if(!(a[h+16>>0]|0)){n=c[d+104>>2]|0;o=c[n+28>>2]|0;g=c[d+676>>2]|0;a[g+16>>0]=1;p=cj[c[d+508>>2]&127](d,1635148146,n,t+4|0)|0;c[t+8>>2]=p;if(!p){p=jTa(n,c[t+4>>2]|0)|0;c[t+8>>2]=p;if(!p){p=pTa(n)|0;m=pTa(n)|0;b:do if((p|0)==65536)if((m|0)==(c[c[g+8>>2]>>2]|0)){f=JTa(o,8,0,m,0,t+8|0)|0;c[g+20>>2]=f;if((m|0)>0&(c[t+8>>2]|0)==0){j=0;while(1){p=nTa(n)|0;b[f>>1]=p;k=f+4|0;c[k>>2]=JTa(o,8,0,p&65535,0,t+8|0)|0;if(c[t+8>>2]|0)break;if(b[f>>1]|0){l=0;do{p=(nTa(n)|0)<<16>>16<<2;c[(c[k>>2]|0)+(l<<3)>>2]=p;p=(nTa(n)|0)<<16>>16<<2;c[(c[k>>2]|0)+(l<<3)+4>>2]=p;l=l+1|0}while((l|0)<(e[f>>1]|0))}j=j+1|0;if((j|0)>=(m|0))break b;else f=f+8|0}if((j|0)>0){f=c[g+20>>2]|0;do{p=j;j=j+-1|0;LTa(o,c[f+(j<<3)+4>>2]|0);f=c[g+20>>2]|0;c[f+(j<<3)+4>>2]=0}while((p|0)>1)}else f=c[g+20>>2]|0;LTa(o,f);c[g+20>>2]=0}}while(0);lTa(n)}}}f=c[h+20>>2]|0;h=c[r>>2]|0;if(f)if(!h)h=0;else{p=0;while(1){j=b[f>>1]|0;c:do if((j&65535)>1){l=q+(p<<2)|0;m=c[l>>2]|0;n=f+4|0;o=c[n>>2]|0;k=1;while(1){g=c[o+(k<<3)>>2]|0;if((m|0)<(g|0)){h=k;break}k=k+1|0;if(k>>>0>=(j&65535)>>>0)break c}k=c[o+(h+-1<<3)>>2]|0;g=F2a(m-k|0,(c[o+(h<<3)+4>>2]|0)-(c[o+(h+-1<<3)+4>>2]|0)|0,g-k|0)|0;c[l>>2]=(c[(c[n>>2]|0)+(h+-1<<3)+4>>2]|0)+g;h=c[r>>2]|0}while(0);p=p+1|0;if(p>>>0>=h>>>0)break;else f=f+8|0}}c[t>>2]=Y_a(d,h,q)|0;d=q;LTa(s,d);d=c[t>>2]|0;i=t;return d|0}function e$a(a,e,f){a=a|0;e=e|0;f=f|0;var g=0,h=0,i=0;g=c[a+696>>2]|0;if(g>>>0>e>>>0){i=c[a+700>>2]|0;if(!(b[a+210>>1]|0)){h=d[i+(e<<1)+2+-2>>0]<<8|d[i+(e<<1)+2+-2+1>>0];if((i+(e<<1)+2+2|0)>>>0>(i+(g<<1)|0)>>>0)g=h;else{g=i+(e<<1)+2+2+-2|0;g=d[g>>0]<<8|d[g+1>>0]}i=h<<1;h=g<<1}else{h=i+(e<<2)+4+-4|0;h=d[h+1>>0]<<16|d[h>>0]<<24|d[h+2>>0]<<8|d[h+3>>0];if((i+(e<<2)+4+4|0)>>>0>(i+(g<<2)|0)>>>0)i=h;else{e=i+(e<<2)+4+4+-4|0;i=h;h=d[e+1>>0]<<16|d[e>>0]<<24|d[e+2>>0]<<8|d[e+3>>0]}}g=c[a+668>>2]|0;if(i>>>0>g>>>0){a=0;e=0;c[f>>2]=e;return a|0}}else{g=c[a+668>>2]|0;i=0;h=0}e=h>>>0>g>>>0?g:h;a=i;e=(e>>>0>>0?g:e)-i|0;c[f>>2]=e;return a|0}function f$a(a,b,d){a=a|0;b=b|0;d=d|0;if(Imb(b,590342)|0){d=12;return d|0}if((c[d>>2]|0)!=35){d=7;return d|0}c[a+64>>2]=35;d=0;return d|0}function g$a(a,b,d){a=a|0;b=b|0;d=d|0;if(Imb(b,590342)|0){d=12;return d|0}c[d>>2]=c[a+64>>2];d=0;return d|0}function h$a(e,f,g,h,j){e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+80|0;l=xSa(c[(c[f+96>>2]|0)+4>>2]|0,590362)|0;if(!l){f=11;i=r;return f|0}k=cTa(e,0)|0;if(k|0){f=k;i=r;return f|0}k=Ci[c[l+4>>2]&127](e,f,g,h,j)|0;q=c[f+104>>2]|0;if(k|0){f=k;i=r;return f|0}k=c[f+148>>2]|0;a:do if((k|0)<131072){switch(k|0){case 65536:break a;default:k=2}i=r;return k|0}else if((k|0)<1953658213){switch(k|0){case 131072:break a;default:k=2}i=r;return k|0}else{switch(k|0){case 1953658213:break a;default:k=2}i=r;return k|0}while(0);c[f+8>>2]=c[f+8>>2]|2048;if((g|0)<0){f=0;i=r;return f|0}k=Ci[c[l+8>>2]&127](q,f,g,h,j)|0;if(k|0){f=k;i=r;return f|0}k=c[f+20>>2]|0;if(!k)p=17;else if(!(pob(k,590367)|0))if(!(pob(k,590387)|0))if(!(pob(k,590407)|0))if(!(pob(k,590427)|0))if(!(pob(k,590447)|0))if(!(pob(k,590467)|0))if(!(pob(k,590487)|0))if(!(pob(k,590507)|0))if(!(pob(k,590527)|0))p=17;else p=65;else p=65;else p=65;else p=65;else p=65;else p=65;else p=65;else p=65;else p=65;b:do if((p|0)==17){k=r+8|0;e=k+68|0;do{c[k>>2]=0;k=k+4|0}while((k|0)<(e|0));k=b[f+152>>1]|0;c:do if(!(k<<16>>16)){l=0;p=46}else{o=0;h=0;e=0;while(1){g=c[f+156>>2]|0;l=c[g+(o<<4)>>2]|0;d:do if((l|0)<1718642541)switch(l|0){case 1668707360:{l=1;n=0;p=25;break}default:l=h}else if((l|0)<1886545264){switch(l|0){case 1718642541:break;default:{l=h;break d}}l=h;n=1;p=25;break}else{switch(l|0){case 1886545264:break;default:{l=h;break d}}l=h;n=2;p=25;break}while(0);if((p|0)==25){p=0;h=0;m=0;while(1){if((c[g+(o<<4)+12>>2]|0)==(c[54344+(m*24|0)+(n<<3)+4>>2]|0)){do if(!h){k=c[f+508>>2]|0;if(!k)h=0;else if(!(cj[k&127](f,c[g+(o<<4)>>2]|0,c[f+104>>2]|0,0)|0)){j=c[f+104>>2]|0;g=c[(c[f+156>>2]|0)+(o<<4)+12>>2]|0;if(jTa(j,g)|0){h=0;break}if(g>>>0>3){h=g;k=0;do{k=(pTa(j)|0)+k|0;h=h+-4|0}while(h>>>0>3);g=g&3}else k=0;if(g){h=3;while(1){k=(((mTa(j)|0)&255)<<(h<<3))+k|0;g=g+-1|0;if(!g)break;else h=h+-1|0}}lTa(j);h=k}else h=0}while(0);g=r+8+(m<<2)|0;k=c[g>>2]|0;if((c[54344+(m*24|0)+(n<<3)>>2]|0)==(h|0)){c[g>>2]=k+1;k=k+1|0}if((k|0)==3)break c}k=m+1|0;if((k|0)>=17)break;g=c[f+156>>2]|0;m=k}k=b[f+152>>1]|0}e=e+1<<16>>16;if((e&65535)<(k&65535)){o=e&65535;h=l}else{k=l;break}}if(!(k<<24>>24)){l=0;p=46}else if((c[r+8>>2]|0)!=3)if((c[r+8+4>>2]|0)!=3)if((c[r+8+8>>2]|0)!=3)if((c[r+8+12>>2]|0)!=3)if((c[r+8+16>>2]|0)!=3)if((c[r+8+20>>2]|0)!=3)if((c[r+8+24>>2]|0)!=3)if((c[r+8+28>>2]|0)!=3)if((c[r+8+32>>2]|0)!=3){if((c[r+8+36>>2]|0)==3)break;if((c[r+8+40>>2]|0)==3)break;if((c[r+8+44>>2]|0)==3)break;if((c[r+8+48>>2]|0)==3)break;if((c[r+8+52>>2]|0)==3)break;if((c[r+8+56>>2]|0)==3)break;if((c[r+8+60>>2]|0)==3)break;if((c[r+8+64>>2]|0)==3){p=65;break b}else break b}}while(0);e:do if((p|0)==46){while(1){p=0;e=r+8+(l<<2)|0;k=c[e>>2]|0;if(l>>>0>=5){c[e>>2]=k+1;k=k+1|0}l=l+1|0;if((k|0)==3)break e;if((l|0)>=17)break;else p=46}break b}while(0);p=65}while(0);if((p|0)==65)c[f+8>>2]=c[f+8>>2]|8192;l=c[q+28>>2]|0;o=cj[c[f+508>>2]&127](f,1751412088,q,r)|0;c[r+8>>2]=o;k=c[r>>2]|0;if(!((o|0)!=0|k>>>0<8)){k=iTa(q,k,f+704|0)|0;c[r+8>>2]=k;if(k|0){f=k;i=r;return f|0}e=c[f+704>>2]|0;g=e+(c[r>>2]|0)|0;h=d[e+2>>0]<<8|d[e+3>>0];j=d[e+5>>0]<<16|d[e+4>>0]<<24|d[e+6>>0]<<8|d[e+7>>0];j=j>>>0>4294901759?j&65535:j;if((h>>>0>255?1:(d[e>>0]<<8|d[e+1>>0]|0)!=0)|(j+-4|0)>>>0>65533){c[r+8>>2]=3;p=78}else{c[f+720>>2]=JTa(l,1,0,h,0,r+8|0)|0;if(!(c[r+8>>2]|0)){f:do if(!h)k=0;else{k=0;l=e+8|0;do{e=l;l=l+j|0;if(l>>>0>g>>>0)break f;a[(c[f+720>>2]|0)+k>>0]=a[e>>0]|0;k=k+1|0}while(k>>>0>>0)}while(0);c[f+712>>2]=k;c[f+708>>2]=c[r>>2];c[f+716>>2]=j}else p=78}if((p|0)==78){kTa(q,f+704|0);c[f+708>>2]=0}k=c[r+8>>2]|0;if(k|0){f=k;i=r;return f|0}}g:do if(!(c[f+8>>2]&1))k=0;else{h:do if(!(c[(c[f+128>>2]|0)+48>>2]|0)){k=cj[c[f+508>>2]&127](f,1735162214,q,f+668|0)|0;if((k&255|0)==142){c[f+668>>2]=0;p=85}else if(!k)p=85;do if((p|0)==85)if(!(cj[c[f+508>>2]&127](f,1819239265,q,r+8|0)|0)){k=c[r+8>>2]|0;if(!(b[f+210>>1]|0)){if(k>>>0>131071){k=8;break}c[f+696>>2]=k>>>1;n=f+696|0;l=k>>>1;g=1}else{if(k>>>0>262143){k=8;break}c[f+696>>2]=k>>>2;n=f+696|0;l=k>>>2;g=2}e=c[f+16>>2]|0;do if(!(l>>>0>e>>>0|(l|0)==(e+1|0))){k=e+1<>2]|0;j=b[f+152>>1]|0;m=eTa(q)|0;if(!(j<<16>>16)){e=2147483647;l=h}else{g=(((h+((j&65535)<<4)|0)>>>0>(h+16|0)>>>0?h+((j&65535)<<4)|0:h+16|0)+~h|0)>>>4;e=2147483647;l=h;do{o=(c[l+8>>2]|0)-m|0;e=(o|0)>0&(o|0)<(e|0)?o:e;l=l+16|0}while(l>>>0<(h+((j&65535)<<4)|0)>>>0);l=h+(g+1<<4)|0}if((l|0)==(h+((j&65535)<<4)|0))e=(c[q+4>>2]|0)-m|0;if(k>>>0>e>>>0){k=c[r+8>>2]|0;break}else{c[n>>2]=(c[f+16>>2]|0)+1;c[r+8>>2]=k;break}}while(0);k=iTa(q,k,f+700|0)|0;if(!k){p=103;break h}else break h}else k=144;while(0)}else p=103;while(0);do if((p|0)==103){k=__a(f,q)|0;if(!k){if(!(cj[c[f+508>>2]&127](f,1718642541,q,r+8|0)|0)){k=c[r+8>>2]|0;c[f+628>>2]=k;k=iTa(q,k,f+632|0)|0;if(k|0)break}else{c[f+632>>2]=0;c[f+628>>2]=0}if(!(cj[c[f+508>>2]&127](f,1886545264,q,r+8|0)|0)){k=c[r+8>>2]|0;c[f+636>>2]=k;k=iTa(q,k,f+640|0)|0}else{c[f+640>>2]=0;c[f+636>>2]=0;k=0}}}while(0);if(!(c[(c[f+128>>2]|0)+48>>2]|0))if(c[f+28>>2]|0)if(c[f+700>>2]|0)i:do if(c[f+696>>2]|0){e=0;l=0;g=0;do{e$a(f,g,r+8|0)|0;if(c[r+8>>2]|0){e=e+1|0;if(e>>>0>1)break i;else l=g}g=g+1|0}while(g>>>0<(c[f+696>>2]|0)>>>0);if((e|0)==1){do if(l){q=(sSa(f,l,r,8)|0)==0;if(q&(a[r>>0]|0)==46)if(!(pmb(r,591796,8)|0))break;else break g;else break g}while(0);c[f+8>>2]=c[f+8>>2]&-2;break g}}while(0)}while(0);c[f+512>>2]=87;c[f+520>>2]=1536;c[f+524>>2]=1537;c[f+528>>2]=1538;c[f+516>>2]=702;f=k;i=r;return f|0}function i$a(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=c[a+24>>2]|0;b=cTa(f,d)|0;if(b|0){a=b;return a|0}b=jTa(f,e)|0;if(b|0){a=b;return a|0}c[a+200>>2]=c[f+32>>2];c[a+204>>2]=c[f+36>>2];a=0;return a|0}function j$a(a){a=a|0;var e=0;e=c[a+200>>2]|0;if((e+10|0)>>>0>(c[a+204>>2]|0)>>>0){a=20;return a|0}b[a+32>>1]=(d[e>>0]|0)<<8|(d[e+1>>0]|0);c[a+36>>2]=((d[e+2>>0]|0)<<8|(d[e+3>>0]|0))<<16>>16;c[a+40>>2]=((d[e+4>>0]|0)<<8|(d[e+5>>0]|0))<<16>>16;c[a+44>>2]=((d[e+6>>0]|0)<<8|(d[e+7>>0]|0))<<16>>16;c[a+48>>2]=((d[e+8>>0]|0)<<8|(d[e+9>>0]|0))<<16>>16;c[a+200>>2]=e+10;a=0;return a|0}function k$a(e){e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;y=i;i=i+16|0;g=c[e+200>>2]|0;u=c[e+204>>2]|0;v=c[e+12>>2]|0;w=b[e+32>>1]|0;if(w<<16>>16){if(((b[v+20>>1]|0)+(w<<16>>16)+(b[v+56>>1]|0)|0)>>>0>(c[v+8>>2]|0)>>>0){f=S2a(v,0,w<<16>>16)|0;if(f|0){x=f;i=y;return x|0}}if(w<<16>>16>4094){x=20;i=y;return x|0}}k=c[v+68>>2]|0;if((g+((w<<16>>16<<1)+2)|0)>>>0>u>>>0){x=20;i=y;return x|0}f=d[g>>0]<<8;h=f|d[g+1>>0];if(w<<16>>16>0)b[k>>1]=h;if(!(f&32768))j=k;else{x=20;i=y;return x|0}while(1){p=g;g=g+2|0;f=j;j=j+2|0;if(j>>>0>=(k+(w<<16>>16<<1)|0)>>>0){n=g;break}z=h;h=d[g>>0]<<8|d[p+3>>0];b[j>>1]=h;if((h<<16|0)<=(z<<16|0)){r=20;o=51;break}}if((o|0)==51){i=y;return r|0}do if(w<<16>>16>0){f=b[f>>1]|0;if(f<<16>>16<-1){z=20;i=y;return z|0}else if(!((f<<16>>16)+5|0)){t=(f<<16>>16)+1|0;break}else{l=(f<<16>>16)+5|0;m=(f<<16>>16)+1|0;o=14;break}}else{l=4;m=0;o=14}while(0);if((o|0)==14)if(((b[v+22>>1]|0)+l+(b[v+58>>1]|0)|0)>>>0>(c[v+4>>2]|0)>>>0){f=S2a(v,l,0)|0;if(!f)t=m;else{z=f;i=y;return z|0}}else t=m;z=c[e+8>>2]|0;c[z+140>>2]=0;c[z+136>>2]=0;if((p+4|0)>>>0>u>>>0){z=20;i=y;return z|0}j=d[n>>0]<<8|d[p+3>>0];if((u-(p+4)|0)<(j|0)){z=22;i=y;return z|0}if(!(c[e+16>>2]&2)){f=c[e+160>>2]|0;h=c[f+388>>2]|0;if(h>>>0>>0){c[f+392>>2]=JTa(c[f+8>>2]|0,1,h,j,c[f+392>>2]|0,y)|0;g=c[y>>2]|0;f=c[e+160>>2]|0;c[f+388>>2]=((g|0)==0?j:h)&65535;if(g){z=g;i=y;return z|0}}else c[f+388>>2]=h&65535;o=c[e+8>>2]|0;c[o+140>>2]=j;z=c[f+392>>2]|0;c[o+136>>2]=z;mBb(z|0,p+4|0,j|0)|0}f=c[v+64>>2]|0;l=f+t|0;n=(t|0)>0;a:do if(n){h=p+4+j|0;while(1){g=h+1|0;if(g>>>0>u>>>0){r=20;o=51;break}j=a[h>>0]|0;k=f+1|0;a[f>>0]=j;if(!(j&8))f=k;else{h=h+2|0;if(h>>>0>u>>>0){r=20;o=51;break}g=a[g>>0]|0;if((k+(g&255)|0)>>>0>l>>>0){r=20;o=51;break}if(!(g<<24>>24)){f=k;g=h}else{hBb(k|0,j|0,(g+-1&255)+1|0)|0;f=f+2+(g+-1&255)|0;g=h}}if(f>>>0>>0)h=g;else{q=g;break a}}if((o|0)==51){i=y;return r|0}}else q=p+4+j|0;while(0);f=c[v+60>>2]|0;l=f+(t<<3)|0;if(q>>>0>u>>>0){z=20;i=y;return z|0}b:do if(n){m=c[v+64>>2]|0;h=q;k=0;while(1){j=d[m>>0]|0;if(!(j&2))if(!(j&16)){g=h+2|0;if(g>>>0>u>>>0){r=20;o=51;break}h=(d[h>>0]<<8|d[h+1>>0])<<16>>16}else{g=h;h=0}else{g=h+1|0;if(g>>>0>u>>>0){r=20;o=51;break}h=d[h>>0]|0;h=(j&16|0)==0?0-h|0:h}k=h+k|0;c[f>>2]=k;a[m>>0]=j&237;f=f+8|0;if(f>>>0>=l>>>0){s=g;o=41;break}else{m=m+1|0;h=g}}if((o|0)==41){f=c[v+60>>2]|0;m=f+(t<<3)|0;if(!n){x=s;break}l=c[v+64>>2]|0;h=s;k=0;while(1){j=d[l>>0]|0;if(!(j&4))if(!(j&32)){g=h+2|0;if(g>>>0>u>>>0){r=20;o=51;break}h=(d[h>>0]<<8|d[h+1>>0])<<16>>16}else{g=h;h=0}else{g=h+1|0;if(g>>>0>u>>>0){r=20;o=51;break}h=d[h>>0]|0;h=(j&32|0)==0?0-h|0:h}k=h+k|0;c[f+4>>2]=k;a[l>>0]=j&1;f=f+8|0;if(f>>>0>=m>>>0){x=g;break b}else{l=l+1|0;h=g}}if((o|0)==51){i=y;return r|0}}else if((o|0)==51){i=y;return r|0}}else x=q;while(0);b[v+58>>1]=t;b[v+56>>1]=w;c[e+200>>2]=x;z=0;i=y;return z|0}function l$a(e){e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;o=c[e+204>>2]|0;p=c[e+12>>2]|0;n=0;k=c[e+200>>2]|0;while(1){q=n+1|0;f=T2a(p,q)|0;if(f|0){g=25;break}f=k+4|0;if(f>>>0>o>>>0){f=21;g=25;break}l=c[p+88>>2]|0;g=l+(n<<5)+12|0;c[g>>2]=0;h=l+(n<<5)+8|0;c[h>>2]=0;j=d[k+1>>0]|0;m=(d[k>>0]<<8|j)&65535;b[l+(n<<5)+4>>1]=m;c[l+(n<<5)>>2]=d[k+2>>0]<<8|d[k+3>>0];do if(!(j&8))if(!(j&64)){i=(j<<1&2)+2|j>>>4&8;break}else{i=(j<<1&2)+6|0;break}else i=j<<1&2|4;while(0);if((f+i|0)>>>0>o>>>0){f=21;g=25;break}do if(!(j&2))if(j&1|0){c[h>>2]=d[f>>0]<<8|d[k+5>>0];c[g>>2]=d[k+6>>0]<<8|d[k+7>>0];g=k+8|0;break}else{c[h>>2]=d[f>>0];c[g>>2]=d[k+5>>0];g=k+6|0;break}else if(j&1|0){c[h>>2]=(d[f>>0]<<8|d[k+5>>0])<<16>>16;c[g>>2]=(d[k+6>>0]<<8|d[k+7>>0])<<16>>16;g=k+8|0;break}else{c[h>>2]=a[f>>0];c[g>>2]=a[k+5>>0];g=k+6|0;break}while(0);do if(!(j&8)){if(j&64|0){f=g+4|0;h=(d[g>>0]<<8|d[g+1>>0])<<16>>14;i=0;j=0;g=(d[g+2>>0]<<8|d[g+3>>0])<<16>>14;break}if(!(j&128)){f=g;h=65536;i=0;j=0;g=65536}else{f=g+8|0;h=(d[g>>0]<<8|d[g+1>>0])<<16>>14;i=(d[g+4>>0]<<8|d[g+5>>0])<<16>>14;j=(d[g+2>>0]<<8|d[g+3>>0])<<16>>14;g=(d[g+6>>0]<<8|d[g+7>>0])<<16>>14}}else{k=(d[g>>0]<<8|d[g+1>>0])<<16>>14;f=g+2|0;h=k;i=0;j=0;g=k}while(0);c[l+(n<<5)+16>>2]=h;c[l+(n<<5)+20>>2]=i;c[l+(n<<5)+24>>2]=j;c[l+(n<<5)+28>>2]=g;if(!(m&32)){g=24;break}else{n=q;k=f}}if((g|0)==24){c[p+84>>2]=q;c[e+168>>2]=f+(eTa(c[e+24>>2]|0)|0)-o;c[e+200>>2]=f;e=0;return e|0}else if((g|0)==25)return f|0;return 0}function m$a(a){a=a|0;lTa(c[a+24>>2]|0);return}function n$a(a){a=a|0;var b=0,d=0,e=0,f=0;if(!a)return;f=c[a+100>>2]|0;b=c[a+104>>2]|0;d=c[a+532>>2]|0;e=c[a+656+4>>2]|0;if(e|0)Hi[e&1023](c[a+656>>2]|0);if(d|0)Hi[c[d+12>>2]&1023](a);kTa(c[a+104>>2]|0,a+700|0);c[a+696>>2]=0;e=c[a+104>>2]|0;LTa(c[e+28>>2]|0,c[a+720>>2]|0);c[a+720>>2]=0;kTa(e,a+704|0);LTa(f,c[a+648>>2]|0);c[a+648>>2]=0;c[a+644>>2]=0;kTa(b,a+632|0);kTa(b,a+640|0);c[a+628>>2]=0;c[a+636>>2]=0;e=c[a+676>>2]|0;if(e|0){LTa(f,c[e+4>>2]|0);c[e+4>>2]=0;LTa(f,c[e+8>>2]|0);c[e+8>>2]=0;b=c[e+20>>2]|0;if(b|0){if(c[e>>2]|0){d=0;do{LTa(f,c[b+(d<<3)+4>>2]|0);b=c[e+20>>2]|0;c[b+(d<<3)+4>>2]=0;d=d+1|0}while(d>>>0<(c[e>>2]|0)>>>0)}LTa(f,b);c[e+20>>2]=0}LTa(f,c[e+28>>2]|0);c[e+28>>2]=0;LTa(f,c[e+36>>2]|0);c[e+36>>2]=0;LTa(f,e)}c[a+676>>2]=0;return}function o$a(b){b=b|0;c[b+296>>2]=-1;c[b+300>>2]=-1;a[b+72+36>>0]=0;c[b+112>>2]=-1;return 0}function p$a(b){b=b|0;q$a(b);a[b+72+36>>0]=0;return}function q$a(a){a=a|0;var d=0,e=0,f=0;e=c[(c[a>>2]|0)+100>>2]|0;d=c[a+292>>2]|0;if(d|0){f=c[d+8>>2]|0;b[d+440>>1]=0;b[d+442>>1]=0;LTa(f,c[d+24>>2]|0);c[d+24>>2]=0;c[d+20>>2]=0;LTa(f,c[d+436>>2]|0);c[d+436>>2]=0;c[d+432>>2]=0;c[d+428>>2]=0;LTa(f,c[d+392>>2]|0);c[d+392>>2]=0;c[d+388>>2]=0;c[d+4>>2]=0;c[d>>2]=0;LTa(f,d);c[a+292>>2]=0}LTa(e,c[a+244>>2]|0);c[a+244>>2]=0;c[a+240>>2]=0;LTa(e,c[a+252>>2]|0);c[a+252>>2]=0;b[a+248>>1]=0;d=c[a+256>>2]|0;if(d|0){LTa(d,c[a+256+28>>2]|0);c[a+256+28>>2]=0;LTa(d,c[a+256+24>>2]|0);c[a+256+24>>2]=0;LTa(d,c[a+256+16>>2]|0);c[a+256+16>>2]=0;LTa(d,c[a+256+12>>2]|0);c[a+256+12>>2]=0;LTa(d,c[a+256+20>>2]|0);c[a+256+20>>2]=0;c[a+256>>2]=0;c[a+256+4>>2]=0;c[a+256+8>>2]=0}LTa(e,c[a+124>>2]|0);c[a+124>>2]=0;LTa(e,c[a+136>>2]|0);c[a+116>>2]=0;c[a+120>>2]=0;c[a+128>>2]=0;c[a+128+4>>2]=0;c[a+128+8>>2]=0;c[a+128+12>>2]=0;c[a+128+16>>2]=0;c[a+296>>2]=-1;c[a+300>>2]=-1;return}function r$a(a){a=a|0;return R2a(c[c[a+156>>2]>>2]|0)|0}function s$a(f,g,h,j){f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=i;i=i+240|0;k=c[f+4>>2]|0;if(!f){f=37;i=w;return f|0}if(!g){f=36;i=w;return f|0}if(!k){f=35;i=w;return f|0}if((c[k+16>>2]|0)>>>0<=h>>>0)if(!(c[(c[k+128>>2]|0)+48>>2]|0)){f=6;i=w;return f|0}if(j&2){j=(c[k+8>>2]&8192|0)==0?j:j&-3;j=j>>>14&2|j}if(!(j&1025))s=j;else s=(c[k+8>>2]|0)>>>12&2^11|j;j=c[g+112>>2]|0;do if((s&8|0)==0&(j|0)!=-1){if(mi[c[(c[k+532>>2]|0)+72>>2]&15](k,j,h,s,c[k+104>>2]|0,f+76|0,w+224|0)|0){u=26;break}b[f+110>>1]=0;b[f+108>>1]=0;c[f+24>>2]=e[w+224+2>>1]<<6;c[f+28>>2]=e[w+224>>1]<<6;q=b[w+224+4>>1]|0;c[f+32>>2]=q<<6;v=b[w+224+6>>1]|0;c[f+36>>2]=v<<6;c[f+40>>2]=e[w+224+8>>1]<<6;r=b[w+224+10>>1]|0;c[f+44>>2]=r<<6;k=b[w+224+12>>1]|0;c[f+48>>2]=k<<6;c[f+52>>2]=e[w+224+14>>1]<<6;c[f+72>>2]=1651078259;t=(s&16|0)==0;c[f+100>>2]=t?q:r;c[f+104>>2]=t?v:k;k=c[f+4>>2]|0;if(!(c[k+8>>2]&1))j=0;else{l=c[k+104>>2]|0;hBb(w|0,0,208)|0;do if(!(c[(c[k+128>>2]|0)+48>>2]|0)){j=cj[c[k+508>>2]&127](k,1735162214,l,0)|0;if((j&255|0)==142){c[w+84>>2]=0;u=20;break}if(!j){c[w+84>>2]=eTa(l)|0;u=20}}else{c[w+84>>2]=0;u=20}while(0);if((u|0)==20){c[w+16>>2]=s;c[w>>2]=k;c[w+4>>2]=g;c[w+8>>2]=f;c[w+24>>2]=l}t$a(w,h,0,1)|0;j=c[w+60>>2]|0;c[f+56>>2]=j;c[f+60>>2]=c[w+180>>2];if(!((j|0)==0|(c[f+40>>2]|0)!=0))c[f+40>>2]=H2a(j,c[g+16>>2]|0)|0;if(!(c[f+52>>2]|0)){j=c[f+60>>2]|0;if(!j)j=0;else{c[f+52>>2]=H2a(j,c[g+20>>2]|0)|0;j=0}}else j=0}}else u=26;while(0);a:do if((u|0)==26){v=(s&1|0)!=0;if(!v)if(!(a[g+108>>0]|0)){j=36;break}if(!(s&16384)){p=s&128;q=c[f+4>>2]|0;r=c[q+104>>2]|0;hBb(w|0,0,208)|0;t=(s&2|0)==0;if(t){j=c[g+296>>2]|0;b:do if((j|0)<0){o=c[g>>2]|0;k=c[o+100>>2]|0;LTa(k,c[g+124>>2]|0);c[g+124>>2]=0;LTa(k,c[g+136>>2]|0);c[g+136>>2]=0;LTa(k,c[g+244>>2]|0);c[g+244>>2]=0;LTa(k,c[g+252>>2]|0);c[g+252>>2]=0;j=c[g+292>>2]|0;if(j|0){n=c[j+8>>2]|0;b[j+440>>1]=0;b[j+442>>1]=0;LTa(n,c[j+24>>2]|0);c[j+24>>2]=0;c[j+20>>2]=0;LTa(n,c[j+436>>2]|0);c[j+436>>2]=0;c[j+432>>2]=0;c[j+428>>2]=0;LTa(n,c[j+392>>2]|0);c[j+392>>2]=0;c[j+388>>2]=0;c[j+4>>2]=0;c[j>>2]=0;LTa(n,j)}j=c[g+256>>2]|0;if(j|0){LTa(j,c[g+256+28>>2]|0);c[g+256+28>>2]=0;LTa(j,c[g+256+24>>2]|0);c[g+256+24>>2]=0;LTa(j,c[g+256+16>>2]|0);c[g+256+16>>2]=0;LTa(j,c[g+256+12>>2]|0);c[g+256+12>>2]=0;LTa(j,c[g+256+20>>2]|0);c[g+256+20>>2]=0;c[g+256>>2]=0;c[g+256+4>>2]=0;c[g+256+8>>2]=0}c[g+296>>2]=-1;c[g+300>>2]=-1;c[g+292>>2]=y$a(c[o+96>>2]|0)|0;n=c[o+280>>2]|0;c[g+120>>2]=n&65535;c[g+132>>2]=n>>>16;c[g+116>>2]=0;c[g+128>>2]=0;c[g+140>>2]=0;c[g+144>>2]=0;c[g+240>>2]=c[o+644>>2];b[g+248>>1]=b[o+278>>1]|0;a[g+72+37>>0]=0;a[g+72+38>>0]=0;c[g+72+20>>2]=0;c[g+72+20+4>>2]=0;c[g+72+20+8>>2]=0;c[g+72+20+12>>2]=0;c[g+124>>2]=JTa(k,24,0,n&65535,0,w+208|0)|0;c:do if(!(c[w+208>>2]|0)){c[g+136>>2]=JTa(k,24,0,c[g+132>>2]|0,0,w+208|0)|0;if(!(c[w+208>>2]|0)){c[g+244>>2]=JTa(k,4,0,c[g+240>>2]|0,0,w+208|0)|0;if(!(c[w+208>>2]|0)){c[g+252>>2]=JTa(k,4,0,e[g+248>>1]|0,0,w+208|0)|0;if(c[w+208>>2]|0)break;n=(e[o+276>>1]|0)+4|0;l=g+256|0;m=l+36|0;do{c[l>>2]=0;l=l+4|0}while((l|0)<(m|0));c[g+256>>2]=k;c[g+256+12>>2]=JTa(k,8,0,n&65535,0,w+224|0)|0;j=c[w+224>>2]|0;do if(!j){c[g+256+16>>2]=JTa(k,8,0,n&65535,0,w+224|0)|0;j=c[w+224>>2]|0;if(j|0){u=45;break}c[g+256+20>>2]=JTa(k,8,0,n&65535,0,w+224|0)|0;j=c[w+224>>2]|0;if(j|0){u=45;break}c[g+256+24>>2]=JTa(k,1,0,n&65535,0,w+224|0)|0;j=c[w+224>>2]|0;if(j|0){u=45;break}c[g+256+28>>2]=JTa(k,2,0,0,0,w+224|0)|0;j=c[w+224>>2]|0;if(j|0){u=45;break}b[g+256+4>>1]=n;b[g+256+6>>1]=0;c[w+208>>2]=0}else u=45;while(0);do if((u|0)==45){k=c[g+256>>2]|0;if(!k){c[w+208>>2]=j;break c}else{LTa(k,c[g+256+28>>2]|0);c[g+256+28>>2]=0;LTa(k,c[g+256+24>>2]|0);c[g+256+24>>2]=0;LTa(k,c[g+256+16>>2]|0);c[g+256+16>>2]=0;LTa(k,c[g+256+12>>2]|0);c[g+256+12>>2]=0;LTa(k,c[g+256+20>>2]|0);c[g+256+20>>2]=0;c[g+256>>2]=0;c[g+256+4>>2]=0;c[g+256+8>>2]=0;u=c[w+224>>2]|0;c[w+208>>2]=u;if(!u)break;else break c}}while(0);b[g+256+8>>1]=n;l=g+172|0;j=54752;m=l+68|0;do{c[l>>2]=c[j>>2];l=l+4|0;j=j+4|0}while((l|0)<(m|0));l=c[(c[(c[o+96>>2]|0)+4>>2]|0)+172>>2]|0;c[o+652>>2]=(l|0)==0?1539:l;l=c[g>>2]|0;m=c[g+292>>2]|0;j=c0a(m,l,g)|0;do if(!j){c[m+428>>2]=0;c[m+16>>2]=0;c[m+476>>2]=64;c[m+480>>2]=0;c[m+484>>2]=0;a[m+488>>0]=0;c[m+564>>2]=16384;a[m+561>>0]=p;b[m+252>>1]=0;c[m+260>>2]=0;c[m+216>>2]=0;c[m+216+4>>2]=0;c[m+216+8>>2]=0;c[m+256>>2]=65536;j=c[l+632>>2]|0;k=c[l+628>>2]|0;c[m+444>>2]=j;c[m+448>>2]=k;c[m+452>>2]=0;c[m+452+4>>2]=0;c[m+452+8>>2]=0;c[m+452+12>>2]=0;if(!k)c[g+296>>2]=0;else{c[m+356>>2]=j;c[m+364>>2]=k;c[m+360>>2]=0;c[m+352>>2]=1;j=vi[c[l+652>>2]&2047](m)|0;c[g+296>>2]=j;if(j|0)break}c[g+116>>2]=c[m+396>>2];c[g+128>>2]=c[m+408>>2];c[g+140>>2]=c[m+420>>2];c[g+144>>2]=c[m+424>>2];j=c[m+444+4>>2]|0;c[g+148>>2]=c[m+444>>2];c[g+148+4>>2]=j;j=c[m+452+4>>2]|0;c[g+156>>2]=c[m+452>>2];c[g+156+4>>2]=j;j=c[m+460+4>>2]|0;c[g+164>>2]=c[m+460>>2];c[g+164+4>>2]=j;j=g+300|0;u=59;break b}while(0);c[w+208>>2]=j}}}while(0);q$a(g);j=c[w+208>>2]|0;if(j|0)break a;j=c[g+296>>2]|0;u=57}else{k=c[g+300>>2]|0;if((k|0)<0)u=57;else{if(j|0)break a;if(k|0){j=k;break a}}}while(0);if((u|0)==57)if(!j){j=g+300|0;u=59}if((u|0)==59)if((c[j>>2]|0)<0){if(c[g+240>>2]|0){j=(c[g>>2]|0)+648|0;k=0;do{o=H2a(b[(c[j>>2]|0)+(k<<1)>>1]|0,c[g+88>>2]|0)|0;c[(c[g+244>>2]|0)+(k<<2)>>2]=o;k=k+1|0}while(k>>>0<(c[g+240>>2]|0)>>>0)}j=b[g+264>>1]|0;if(j<<16>>16){k=c[g+268>>2]|0;l=c[g+272>>2]|0;m=0;do{c[k+(m<<3)>>2]=0;c[k+(m<<3)+4>>2]=0;c[l+(m<<3)>>2]=0;c[l+(m<<3)+4>>2]=0;m=m+1|0}while((m|0)!=(j&65535|0))}j=b[g+248>>1]|0;if(j<<16>>16)hBb(c[g+252>>2]|0,0,((j&65535)>>>0>1?j&65535:1)<<2|0)|0;l=g+172|0;j=54752;m=l+68|0;do{c[l>>2]=c[j>>2];l=l+4|0;j=j+4|0}while((l|0)<(m|0));j=d0a(g,p)|0;if(j|0)break}n=c[g+292>>2]|0;if(!n){j=153;break}k=(s&983040|0)!=131072;j=c0a(n,q,g)|0;if(j|0)break;if((k&1|0)!=(d[n+608>>0]|0)){a[n+608>>0]=k&1;if(c[g+240>>2]|0){j=0;do{o=H2a(b[(c[q+648>>2]|0)+(j<<1)>>1]|0,c[g+88>>2]|0)|0;c[(c[g+244>>2]|0)+(j<<2)>>2]=o;j=j+1|0}while(j>>>0<(c[g+240>>2]|0)>>>0)}j=d0a(g,p)|0;if(j|0)break}o=a[n+336>>0]|0;k=(o&1)<<1|s;if(o&2){l=n+284|0;j=54752;m=l+68|0;do{c[l>>2]=c[j>>2];l=l+4|0;j=j+4|0}while((l|0)<(m|0))}a[n+561>>0]=p;c[w+160>>2]=n;c[w+164>>2]=c[n+392>>2]}else k=s;do if(!(c[(c[q+128>>2]|0)+48>>2]|0)){j=cj[c[q+508>>2]&127](q,1735162214,r,0)|0;if((j&255|0)==142){c[w+84>>2]=0;break}if(j|0)break a;c[w+84>>2]=eTa(r)|0}else c[w+84>>2]=0;while(0);j=c[c[f+156>>2]>>2]|0;P2a(j);c[w+12>>2]=j;c[w+16>>2]=k;c[w>>2]=q;c[w+4>>2]=g;c[w+8>>2]=f;c[w+24>>2]=r;c[f+72>>2]=1869968492;c[f+128>>2]=0;c[f+124>>2]=0;j=t$a(w,h,0,0)|0;if(!j){j=c[w+12>>2]|0;if((c[f+72>>2]|0)==1668246896){c[f+128>>2]=c[j+48>>2];c[f+132>>2]=c[j+52>>2]}else{c[f+108>>2]=c[j+20>>2];c[f+108+4>>2]=c[j+20+4>>2];c[f+108+8>>2]=c[j+20+8>>2];c[f+108+12>>2]=c[j+20+12>>2];c[f+108+16>>2]=c[j+20+16>>2];c[f+124>>2]=c[f+124>>2]&-513;j=c[w+68>>2]|0;if(j|0)ISa(f+108|0,0-j|0,0)}d:do if(t){j=c[w+160>>2]|0;if(!(a[j+337>>0]|0)){c[f+124>>2]=c[f+124>>2]|8;break}switch(c[j+340>>2]|0){case 1:break d;case 0:{c[f+124>>2]=c[f+124>>2]|32;break d}case 4:{c[f+124>>2]=c[f+124>>2]|48;break d}case 5:{c[f+124>>2]=c[f+124>>2]|16;break d}default:{c[f+124>>2]=c[f+124>>2]|8;break d}}}while(0);r=c[w>>2]|0;t=c[w+8>>2]|0;j=c[w+4>>2]|0;if(!(c[w+16>>2]&1))s=c[j+20>>2]|0;else s=65536;if((c[t+72>>2]|0)==1668246896){c[w+224>>2]=c[w+36>>2];c[w+224+4>>2]=c[w+36+4>>2];c[w+224+8>>2]=c[w+36+8>>2];c[w+224+12>>2]=c[w+36+12>>2]}else HSa(t+108|0,w+224|0);c[t+56>>2]=c[w+60>>2];p=c[w+224>>2]|0;c[t+32>>2]=p;q=c[w+224+12>>2]|0;c[t+36>>2]=q;c[t+40>>2]=(c[w+76>>2]|0)-(c[w+68>>2]|0);e:do if(!(c[r+480>>2]|0)){if(c[w+16>>2]&2|0)break;k=e[j+12>>1]|0;n=c[r+716>>2]|0;o=(c[r+704>>2]|0)+8|0;l=c[r+712>>2]|0;if(!l)break;m=c[r+720>>2]|0;j=0;while(1){if((d[m+j>>0]|0)==(k|0))break;j=j+1|0;if(j>>>0>=l>>>0)break e}if((h+2|0)>>>0>=n>>>0)break;c[t+40>>2]=d[o+(_(j,n)|0)+(h+2)>>0]<<6}while(0);c[t+24>>2]=(c[w+224+8>>2]|0)-p;j=q-(c[w+224+4>>2]|0)|0;c[t+28>>2]=j;do if(!(a[r+292>>0]|0))u=117;else{if(!(b[r+330>>1]|0)){u=117;break}j=(I2a((c[w+188>>2]|0)-q|0,s)|0)<<16>>16;k=c[w+188>>2]|0;l=c[w+196>>2]|0;if((k|0)<=(l|0)){k=0;break}k=(I2a(k-l|0,s)|0)&65535}while(0);if((u|0)==117){j=(I2a(j,s)|0)<<16>>16;if((b[r+364>>1]|0)==-1){l=c[r+220>>2]|0;l=(l<<16>>16)-(l>>16)|0}else l=(b[r+434>>1]|0)-(b[r+436>>1]|0)|0;k=l;j=(l-j|0)/2|0}l=c[(c[r+128>>2]|0)+48>>2]|0;do if(!l)u=126;else{m=c[(c[l>>2]|0)+8>>2]|0;if(!m){u=126;break}c[w+208>>2]=0;c[w+208+4>>2]=j;c[w+208+8>>2]=k;j=cj[m&127](c[l+4>>2]|0,h,1,w+208|0)|0;if(!j){k=c[w+208+8>>2]|0;j=c[w+208+4>>2]|0;u=126;break}else break}while(0);if((u|0)==126){c[t+60>>2]=k;if(!(c[w+16>>2]&1)){j=H2a(j,s)|0;k=H2a(k,s)|0}c[t+44>>2]=(c[t+32>>2]|0)-((c[t+40>>2]|0)/2|0);c[t+48>>2]=j;c[t+52>>2]=k;j=0}}if(!v)if((e[g+14>>1]|0)<24)c[f+124>>2]=c[f+124>>2]|256}else j=6}while(0);f=j;i=w;return f|0}function t$a(f,g,h,j){f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;F=i;i=i+128|0;c[F+80>>2]=0;E=c[f>>2]|0;B=c[f+12>>2]|0;if(h>>>0>1)if((e[E+290>>1]|0)>>>0>>0){c[F+80>>2]=21;E=c[F+80>>2]|0;i=F;return E|0}c[f+20>>2]=g;if(!(c[f+16>>2]&1)){s=c[f+4>>2]|0;r=c[s+48>>2]|0;s=c[s+52>>2]|0}else{r=65536;s=65536}k=c[(c[E+128>>2]|0)+48>>2]|0;do if(!k){A=f+28|0;C=0;m=e$a(E,g,f+28|0)|0}else{C=Gi[c[c[k>>2]>>2]&255](c[k+4>>2]|0,g,F+32|0)|0;c[F+80>>2]=C;if(!C){k=c[F+32+4>>2]|0;c[f+28>>2]=k;l=F+40|0;m=l+40|0;do{c[l>>2]=0;l=l+4|0}while((l|0)<(m|0));aTa(F+40|0,c[F+32>>2]|0,k);c[f+24>>2]=F+40;A=f+28|0;C=1;m=0;break}else{E=c[F+80>>2]|0;i=F;return E|0}}while(0);k=c[A>>2]|0;do if((k|0)>0){l=c[f+84>>2]|0;if(!l)if(!(c[(c[E+128>>2]|0)+48>>2]|0)){c[F+80>>2]=8;break}z=cj[c[E+512>>2]&127](f,g,l+m|0,k)|0;c[F+80>>2]=z;if(!z){D=vi[c[E+520>>2]&2047](f)|0;c[F+80>>2]=D;if(!D){D=u$a(f,g)|0;c[F+80>>2]=D;if(j<<24>>24!=0|(D|0)!=0)D=128;else{k=c[A>>2]|0;o=1;D=18}}else D=128}}else{o=0;D=18}while(0);a:do if((D|0)==18){do if(!k)D=20;else{k=b[f+32>>1]|0;if(!(k<<16>>16))D=20;else{l=c[f+52>>2]|0;j=(c[f+36>>2]|0)-l|0;c[f+68>>2]=j;c[f+72>>2]=0;m=c[f+56>>2]|0;c[f+76>>2]=m+j;c[f+80>>2]=0;c[f+184>>2]=0;j=(c[f+176>>2]|0)+(c[f+48>>2]|0)|0;c[f+188>>2]=j;c[f+192>>2]=0;c[f+196>>2]=j-(c[f+180>>2]|0);j=c[(c[(c[f>>2]|0)+128>>2]|0)+48>>2]|0;if(j){n=c[(c[j>>2]|0)+8>>2]|0;if(n){c[F+88>>2]=l;c[F+88+4>>2]=0;c[F+88+8>>2]=m;c[F+88+12>>2]=0;if(!(cj[n&127](c[j+4>>2]|0,g,0,F+88|0)|0)){k=c[F+88+8>>2]|0;c[f+52>>2]=c[F+88>>2]<<16>>16;c[f+56>>2]=k&65535;c[f+176>>2]=0;c[f+180>>2]=0;if(!(a[f+64>>0]|0)){a[f+64>>0]=1;c[f+60>>2]=k&65535}}k=b[f+32>>1]|0}}if(k<<16>>16>0){A=vi[c[E+524>>2]&2047](f)|0;c[F+80>>2]=A;if(A|0)break;Hi[c[E+516>>2]&1023](f);n=c[f+12>>2]|0;o=b[n+58>>1]|0;k=c[f+68+4>>2]|0;l=(c[n+60>>2]|0)+(o<<16>>16<<3)|0;c[l>>2]=c[f+68>>2];c[l+4>>2]=k;l=c[f+76+4>>2]|0;k=(c[n+60>>2]|0)+((o<<16>>16)+1<<3)|0;c[k>>2]=c[f+76>>2];c[k+4>>2]=l;k=c[f+184+4>>2]|0;l=(c[n+60>>2]|0)+((o<<16>>16)+2<<3)|0;c[l>>2]=c[f+184>>2];c[l+4>>2]=k;l=c[f+192+4>>2]|0;k=(c[n+60>>2]|0)+((o<<16>>16)+3<<3)|0;c[k>>2]=c[f+192>>2];c[k+4>>2]=l;a[(c[n+64>>2]|0)+(o<<16>>16)>>0]=0;a[(c[n+64>>2]|0)+((o<<16>>16)+1)>>0]=0;a[(c[n+64>>2]|0)+((o<<16>>16)+2)>>0]=0;a[(c[n+64>>2]|0)+((o<<16>>16)+3)>>0]=0;k=c[f>>2]|0;l=a[k+672>>0]|0;if(l<<24>>24){k=v$a(c[k+104>>2]|0,l,c[k+676>>2]|0,c[f+20>>2]|0,n+56|0,(o<<16>>16)+4|0)|0;if(k|0){c[F+80>>2]=k;break a}}k=c[f+16>>2]|0;if(!(k&2)){k=b[n+58>>1]|0;b[f+132>>1]=k;b[f+134>>1]=b[n+56>>1]|0;c[f+136>>2]=c[n+76>>2];A=c[n+60>>2]|0;c[f+140>>2]=A;z=c[n+80>>2]|0;c[f+144>>2]=z;c[f+148>>2]=c[n+64>>2];c[f+152>>2]=c[n+68>>2];b[f+156>>1]=0;mBb(z|0,A|0,((k&65535)<<3)+32|0)|0;k=c[f+16>>2]|0}l=c[n+60>>2]|0;if(!(k&1)){j=c[f+4>>2]|0;m=c[j+48>>2]|0;j=c[j+52>>2]|0;if(o<<16>>16>-4){k=l;do{c[k>>2]=H2a(c[k>>2]|0,m)|0;A=k+4|0;c[A>>2]=H2a(c[A>>2]|0,j)|0;k=k+8|0}while(k>>>0<(l+((o<<16>>16)+4<<3)|0)>>>0);k=c[f+16>>2]|0;l=c[n+60>>2]|0}A=l+(o<<16>>16<<3)|0;z=c[A+4>>2]|0;c[f+68>>2]=c[A>>2];c[f+68+4>>2]=z;z=(c[n+60>>2]|0)+((o<<16>>16)+1<<3)|0;A=c[z+4>>2]|0;c[f+76>>2]=c[z>>2];c[f+76+4>>2]=A;A=(c[n+60>>2]|0)+((o<<16>>16)+2<<3)|0;z=c[A+4>>2]|0;c[f+184>>2]=c[A>>2];c[f+184+4>>2]=z;z=(c[n+60>>2]|0)+((o<<16>>16)+3<<3)|0;A=c[z+4>>2]|0;c[f+192>>2]=c[z>>2];c[f+192+4>>2]=A}if(!(k&2)){b[f+132>>1]=(e[f+132>>1]|0)+4;f=x$a(f,0)|0;c[F+80>>2]=f;if(f|0)break a}else c[F+80>>2]=0;V2a(B);break a}if(k<<16>>16!=-1){c[F+80>>2]=20;break}y=b[B+22>>1]|0;z=b[B+20>>1]|0;x=vi[c[E+528>>2]&2047](f)|0;c[F+80>>2]=x;if(!x){x=c[f+168>>2]|0;Hi[c[E+516>>2]&1023](f);if(a[E+672>>0]|0){p=c[E+100>>2]|0;j=c[B+84>>2]|0;b[F+88+2>>1]=j+4;b[F+88>>1]=j+4;q=JTa(p,8,0,j+4<<16>>16,0,F+80|0)|0;if(!(c[F+80>>2]|0)){l=JTa(p,1,0,j+4<<16>>16,0,F+80|0)|0;if(!(c[F+80>>2]|0)){k=JTa(p,2,0,j+4<<16>>16,0,F+80|0)|0;if(!(c[F+80>>2]|0)){if(!j)m=0;else{m=0;n=(c[B+88>>2]|0)+(c[B+48>>2]<<5)|0;while(1){c[q+(m<<3)>>2]=c[n+8>>2];c[q+(m<<3)+4>>2]=c[n+12>>2];a[l+m>>0]=1;b[k+(m<<1)>>1]=m;m=m+1|0;if((m|0)==(j|0)){m=j;break}else n=n+32|0}}c[q+(m<<3)>>2]=c[f+68>>2];c[q+(m<<3)+4>>2]=c[f+72>>2];a[l+m>>0]=1;b[k+(m<<1)>>1]=m;w=m+1|0;c[q+(w<<3)>>2]=c[f+76>>2];c[q+(w<<3)+4>>2]=c[f+80>>2];a[l+w>>0]=1;b[k+(w<<1)>>1]=w;w=m+2|0;c[q+(w<<3)>>2]=c[f+184>>2];c[q+(w<<3)+4>>2]=c[f+188>>2];a[l+w>>0]=1;b[k+(w<<1)>>1]=w;w=m+3|0;c[q+(w<<3)>>2]=c[f+192>>2];c[q+(w<<3)+4>>2]=c[f+196>>2];a[l+w>>0]=1;b[k+(w<<1)>>1]=w;c[F+88+4>>2]=q;c[F+88+8>>2]=l;c[F+88+12>>2]=k;w=v$a(c[E+104>>2]|0,a[E+672>>0]|0,c[E+676>>2]|0,g,F+88|0,j+4<<16>>16)|0;c[F+80>>2]=w;if(!w){m=c[q>>2]|0;if(!j)j=0;else{n=0;o=(c[B+88>>2]|0)+(c[B+48>>2]<<5)|0;while(1){c[o+8>>2]=m<<16>>16;c[o+12>>2]=c[q+(n<<3)+4>>2]<<16>>16;n=n+1|0;m=c[q+(n<<3)>>2]|0;if((n|0)==(j|0))break;else o=o+32|0}}c[f+68>>2]=m;c[f+72>>2]=c[q+(j<<3)+4>>2];w=j+1|0;c[f+76>>2]=c[q+(w<<3)>>2];c[f+80>>2]=c[q+(w<<3)+4>>2];w=j+2|0;c[f+184>>2]=c[q+(w<<3)>>2];c[f+188>>2]=c[q+(w<<3)+4>>2];w=j+3|0;c[f+192>>2]=c[q+(w<<3)>>2];c[f+196>>2]=c[q+(w<<3)+4>>2]}}else{l=0;k=0}}else{l=0;k=0}}else{l=0;k=0}LTa(p,q);LTa(p,l);LTa(p,k);if(c[F+80>>2]|0)break a}k=c[f+16>>2]|0;if(!(k&1)){c[f+68>>2]=H2a(c[f+68>>2]|0,r)|0;c[f+76>>2]=H2a(c[f+76>>2]|0,r)|0;c[f+184>>2]=H2a(c[f+184>>2]|0,r)|0;c[f+188>>2]=H2a(c[f+188>>2]|0,s)|0;c[f+192>>2]=H2a(c[f+192>>2]|0,r)|0;c[f+196>>2]=H2a(c[f+196>>2]|0,s)|0;k=c[f+16>>2]|0}if(k&1024|0){V2a(B);c[(c[f+8>>2]|0)+72>>2]=1668246896;break a}r=c[B+84>>2]|0;s=c[B+48>>2]|0;v=c[f+24>>2]|0;w=c[A>>2]|0;V2a(B);do if(!r){l=y<<16>>16;k=0}else{u=0;b:while(1){l=c[f+68>>2]|0;m=c[f+68+4>>2]|0;j=c[f+76>>2]|0;n=c[f+76+4>>2]|0;o=c[f+184>>2]|0;p=c[f+184+4>>2]|0;q=c[f+192>>2]|0;g=c[f+192+4>>2]|0;t=b[B+22>>1]|0;k=t$a(f,c[(c[B+52>>2]|0)+(s<<5)+(u<<5)>>2]|0,h+1|0,0)|0;c[F+80>>2]=k;if(k|0)break a;k=(c[B+52>>2]|0)+(s<<5)+(u<<5)|0;if(!(b[k+4>>1]&512)){c[f+68>>2]=l;c[f+68+4>>2]=m;c[f+76>>2]=j;c[f+76+4>>2]=n;c[f+184>>2]=o;c[f+184+4>>2]=p;c[f+192>>2]=q;c[f+192+4>>2]=g}p=b[B+22>>1]|0;if(p<<16>>16!=t<<16>>16){n=c[f+12>>2]|0;q=c[n+24>>2]|0;g=b[n+22>>1]|0;o=b[k+4>>1]|0;if((g&65535)>(t&65535)&((o&200)==0^1)){l=t<<16>>16;do{JSa(q+(l<<3)|0,k+16|0);l=l+1|0}while((l|0)!=(g<<16>>16|0));l=b[k+4>>1]|0}else l=o;l=l&65535;j=c[k+8>>2]|0;m=c[k+12>>2]|0;do if(!(l&2)){if(!((j+(y<<16>>16)|0)>>>0>16>>>0?(m+(t<<16>>16)|0)>>>0>16>>>0:0)){D=87;break b}D=c[n+24>>2]|0;l=(c[D+(j+(y<<16>>16)<<3)>>2]|0)-(c[D+(m+(t<<16>>16)<<3)>>2]|0)|0;m=(c[D+(j+(y<<16>>16)<<3)+4>>2]|0)-(c[D+(m+(t<<16>>16)<<3)+4>>2]|0)|0;D=95}else{if(!(m|j))break;if((o&200)==0|(l&2048|0)==0)l=j;else{l=E2a(c[k+16>>2]|0,c[k+20>>2]|0)|0;D=E2a(c[k+28>>2]|0,c[k+24>>2]|0)|0;l=H2a(j,l)|0;m=H2a(m,D)|0}if(c[f+16>>2]&1|0){D=95;break}o=c[f+4>>2]|0;D=c[o+52>>2]|0;l=H2a(l,c[o+48>>2]|0)|0;m=H2a(m,D)|0;if(!(b[k+4>>1]&4)){D=95;break}l=l+32&-64;m=m+32&-64;D=95}while(0);do if((D|0)==95){D=0;if(!(l|m))break;if(l|0?g<<16>>16!=t<<16>>16:0){j=0;do{o=q+(t<<16>>16<<3)+(j<<3)|0;c[o>>2]=(c[o>>2]|0)+l;j=j+1|0}while((j|0)!=((g<<16>>16)-(t<<16>>16)|0))}if(m|0?g<<16>>16!=t<<16>>16:0)l=0;else break;do{o=q+(t<<16>>16<<3)+(l<<3)+4|0;c[o>>2]=(c[o>>2]|0)+m;l=l+1|0}while((l|0)!=((g<<16>>16)-(t<<16>>16)|0))}while(0);c[F+80>>2]=0}u=u+1|0;if(u>>>0>=r>>>0){D=102;break}}if((D|0)==87){c[F+80>>2]=21;break a}else if((D|0)==102){l=p<<16>>16;break}}while(0);c[f+24>>2]=v;c[A>>2]=w;c[f+168>>2]=x;if(c[f+16>>2]&2|0)break a;if(!(l>>>0>y<<16>>16>>>0?(b[k+4>>1]&256)!=0:0))break a;l=c[f+12>>2]|0;k=b[l+22>>1]|0;do if(!((k<<16>>16)+4|0))D=107;else{if(((k<<16>>16)+4+(k<<16>>16)+(b[l+58>>1]|0)|0)>>>0<=(c[l+4>>2]|0)>>>0){D=107;break}k=S2a(l,(k<<16>>16)+4|0,0)|0;c[F+84>>2]=k;if(k|0)break;k=b[l+22>>1]|0;D=110}while(0);if((D|0)==107){c[F+84>>2]=0;D=110}c:do if((D|0)==110){n=c[f+68+4>>2]|0;k=(c[l+24>>2]|0)+(k<<16>>16<<3)|0;c[k>>2]=c[f+68>>2];c[k+4>>2]=n;k=c[f+76+4>>2]|0;n=(c[l+24>>2]|0)+((b[l+22>>1]|0)+1<<3)|0;c[n>>2]=c[f+76>>2];c[n+4>>2]=k;n=c[f+184+4>>2]|0;k=(c[l+24>>2]|0)+((b[l+22>>1]|0)+2<<3)|0;c[k>>2]=c[f+184>>2];c[k+4>>2]=n;k=c[f+192+4>>2]|0;n=(c[l+24>>2]|0)+((b[l+22>>1]|0)+3<<3)|0;c[n>>2]=c[f+192>>2];c[n+4>>2]=k;a[(c[l+28>>2]|0)+(b[l+22>>1]|0)>>0]=0;a[(c[l+28>>2]|0)+((b[l+22>>1]|0)+1)>>0]=0;a[(c[l+28>>2]|0)+((b[l+22>>1]|0)+2)>>0]=0;a[(c[l+28>>2]|0)+((b[l+22>>1]|0)+3)>>0]=0;n=c[f+24>>2]|0;k=cTa(n,c[f+168>>2]|0)|0;c[F+84>>2]=k;if(k|0)break;o=sTa(n,F+84|0)|0;k=c[F+84>>2]|0;if(k|0)break;do if((o&65535)>(e[(c[f>>2]|0)+286>>1]|0)){if((o&65535|0)>(c[A>>2]|0)){k=22;break c}k=c[f+160>>2]|0;l=c[k+388>>2]|0;if(l>>>0<(o&65535)>>>0){c[k+392>>2]=JTa(c[k+8>>2]|0,1,l,o&65535,c[k+392>>2]|0,F+88|0)|0;k=c[F+88>>2]|0;m=k;j=c[f+160>>2]|0;k=(k|0)==0?o&65535:l}else{m=0;j=k;k=l}c[F+84>>2]=m;c[j+388>>2]=k&65535;k=c[F+84>>2]|0;if(!k){l=f+160|0;k=j}else break c}else if(!(o<<16>>16)){c[F+80>>2]=0;break a}else{l=f+160|0;k=c[f+160>>2]|0;break}while(0);k=fTa(n,c[k+392>>2]|0,o&65535)|0;c[F+84>>2]=k;if(k|0)break;B=c[f+8>>2]|0;c[B+136>>2]=c[(c[l>>2]|0)+392>>2];c[B+140>>2]=o&65535;B=c[f+12>>2]|0;k=(e[B+22>>1]|0)-(y<<16>>16)|0;b[f+132>>1]=k;b[f+134>>1]=(e[B+20>>1]|0)-z;c[f+136>>2]=(c[B+40>>2]|0)+(y<<16>>16<<3);c[f+140>>2]=(c[B+24>>2]|0)+(y<<16>>16<<3);c[f+144>>2]=(c[B+44>>2]|0)+(y<<16>>16<<3);l=(c[B+28>>2]|0)+(y<<16>>16)|0;c[f+148>>2]=l;c[f+152>>2]=(c[B+32>>2]|0)+(z<<1);b[f+156>>1]=y;do if(!((k&65535)<<16>>16))k=k&65535;else{a[l>>0]=d[l>>0]&231;k=b[f+132>>1]|0;if((k&65535)>1)l=1;else{k=k&65535;break}do{k=(c[f+148>>2]|0)+l|0;a[k>>0]=d[k>>0]&231;l=l+1|0;k=e[f+132>>1]|0}while(l>>>0>>0)}while(0);b[f+132>>1]=k+4;c[F+80>>2]=x$a(f,1)|0;break a}while(0);c[F+80>>2]=k;break a}}}while(0);d:do if((D|0)==20){c[f+36>>2]=0;c[f+36+4>>2]=0;c[f+36+8>>2]=0;c[f+36+12>>2]=0;B=u$a(f,g)|0;c[F+80>>2]=B;if(!(j<<24>>24!=0|(B|0)!=0)){k=c[f+52>>2]|0;l=(c[f+36>>2]|0)-k|0;c[f+68>>2]=l;c[f+72>>2]=0;m=c[f+56>>2]|0;c[f+76>>2]=m+l;c[f+80>>2]=0;c[f+184>>2]=0;l=(c[f+176>>2]|0)+(c[f+48>>2]|0)|0;c[f+188>>2]=l;c[f+192>>2]=0;c[f+196>>2]=l-(c[f+180>>2]|0);l=c[f>>2]|0;j=c[(c[l+128>>2]|0)+48>>2]|0;if(j){n=c[(c[j>>2]|0)+8>>2]|0;if(n){c[F+88>>2]=k;c[F+88+4>>2]=0;c[F+88+8>>2]=m;c[F+88+12>>2]=0;if(!(cj[n&127](c[j+4>>2]|0,g,0,F+88|0)|0)){k=c[F+88+8>>2]|0;c[f+52>>2]=c[F+88>>2]<<16>>16;c[f+56>>2]=k&65535;c[f+176>>2]=0;c[f+180>>2]=0;if(!(a[f+64>>0]|0)){a[f+64>>0]=1;c[f+60>>2]=k&65535}}l=c[f>>2]|0}}k=l+672|0;do if(a[k>>0]|0){c[F+84>>2]=16843009;c[F>>2]=65536;c[F+4>>2]=196610;c[F+88>>2]=c[f+68>>2];c[F+88+4>>2]=c[f+72>>2];c[F+88+8>>2]=c[f+76>>2];c[F+88+12>>2]=c[f+80>>2];c[F+88+16>>2]=c[f+184>>2];c[F+88+20>>2]=c[f+188>>2];c[F+88+24>>2]=c[f+192>>2];c[F+88+28>>2]=c[f+196>>2];b[F+8+2>>1]=4;b[F+8>>1]=4;c[F+8+4>>2]=F+88;c[F+8+8>>2]=F+84;c[F+8+12>>2]=F;B=v$a(c[l+104>>2]|0,a[k>>0]|0,c[l+676>>2]|0,g,F+8|0,4)|0;c[F+80>>2]=B;if(!B){c[f+68>>2]=c[F+88>>2];c[f+72>>2]=c[F+88+4>>2];c[f+76>>2]=c[F+88+8>>2];c[f+80>>2]=c[F+88+12>>2];c[f+184>>2]=c[F+88+16>>2];c[f+188>>2]=c[F+88+20>>2];c[f+192>>2]=c[F+88+24>>2];c[f+196>>2]=c[F+88+28>>2];break}else break d}while(0);if(!(c[f+16>>2]&1)){c[f+68>>2]=H2a(c[f+68>>2]|0,r)|0;c[f+76>>2]=H2a(c[f+76>>2]|0,r)|0;c[f+184>>2]=H2a(c[f+184>>2]|0,r)|0;c[f+188>>2]=H2a(c[f+188>>2]|0,s)|0;c[f+192>>2]=H2a(c[f+192>>2]|0,r)|0;c[f+196>>2]=H2a(c[f+196>>2]|0,s)|0}c[F+80>>2]=0}}while(0);if(o<<24>>24)D=128}while(0);if((D|0)==128)Hi[c[E+516>>2]&1023](f);if(!(C<<24>>24)){E=c[F+80>>2]|0;i=F;return E|0}E=c[(c[E+128>>2]|0)+48>>2]|0;si[c[(c[E>>2]|0)+4>>2]&511](c[E+4>>2]|0,F+32|0);E=c[F+80>>2]|0;i=F;return E|0}function u$a(d,f){d=d|0;f=f|0;var g=0,h=0,j=0,k=0,l=0;l=i;i=i+16|0;g=c[d>>2]|0;h=c[d+24>>2]|0;b[l+6>>1]=0;b[l+4>>1]=0;b[l+2>>1]=0;b[l>>1]=0;j=eTa(h)|0;qi[c[(c[g+532>>2]|0)+112>>2]&15](g,0,f,l+6|0,l+2|0);k=c[d+48>>2]|0;do if(!(a[g+292>>0]|0))if((b[g+364>>1]|0)==-1){b[l+4>>1]=(e[g+220>>1]|0)-k;f=c[g+220>>2]|0;b[l>>1]=((f<<16>>16)-(f>>16)|0)<0?0-((f<<16>>16)-(f>>16))|0:(f<<16>>16)-(f>>16)|0;break}else{b[l+4>>1]=(e[g+434>>1]|0)-k;f=(b[g+434>>1]|0)-(b[g+436>>1]|0)|0;b[l>>1]=(f|0)<0?0-f|0:f;break}else qi[c[(c[g+532>>2]|0)+112>>2]&15](g,1,f,l+4|0,l);while(0);g=cTa(h,j)|0;if(g|0){d=g;i=l;return d|0}c[d+52>>2]=b[l+6>>1];g=e[l+2>>1]|0;c[d+56>>2]=g;c[d+176>>2]=b[l+4>>1];c[d+180>>2]=e[l>>1];if(a[d+64>>0]|0){d=0;i=l;return d|0}a[d+64>>0]=1;c[d+60>>2]=g;d=0;i=l;return d|0}function v$a(d,f,g,h,j,k){d=d|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;K=i;i=i+16|0;J=c[d+28>>2]|0;c[K>>2]=0;if(f<<24>>24==0|(g|0)==0){J=6;i=K;return J|0}if((c[g+32>>2]|0)>>>0<=h>>>0){J=0;i=K;return J|0}I=c[g+36>>2]|0;if((c[I+(h<<2)>>2]|0)==(c[I+(h+1<<2)>>2]|0)){J=0;i=K;return J|0}I=JTa(J,8,0,k,0,K+8|0)|0;if(!(c[K+8>>2]|0)){f=JTa(J,1,0,k,0,K+8|0)|0;if(!(c[K+8>>2]|0)){H=cTa(d,c[(c[g+36>>2]|0)+(h<<2)>>2]|0)|0;c[K+8>>2]=H;if(!H){H=c[g+36>>2]|0;H=jTa(d,(c[H+(h+1<<2)>>2]|0)-(c[H+(h<<2)>>2]|0)|0)|0;c[K+8>>2]=H;if(!H){m=(c[d+32>>2]|0)-(c[d>>2]|0)|0;H=JTa(J,4,0,c[g>>2]|0,0,K+8|0)|0;a:do if(!(c[K+8>>2]|0)){h=JTa(J,4,0,c[g>>2]|0,0,K+8|0)|0;if(!(c[K+8>>2]|0)){l=JTa(J,4,0,c[g>>2]|0,0,K+8|0)|0;if(!(c[K+8>>2]|0)){G=(nTa(d)|0)&65535;m=((nTa(d)|0)&65535)+m|0;if(!(G&32768))F=0;else{F=c[d>>2]|0;E=(c[d+32>>2]|0)-F|0;c[d+32>>2]=F+m;F=b$a(d,K)|0;D=c[d>>2]|0;m=(c[d+32>>2]|0)-D|0;c[d+32>>2]=D+E}if(G&4095){D=c[K>>2]|0;E=0;n=0;while(1){C=(nTa(d)|0)&65535;q=nTa(d)|0;if(!(q&32768)){if((q&4095)>>>0>=(c[g+24>>2]|0)>>>0)break;B=c[g>>2]|0;A=_(B,q&4095)|0;mBb(H|0,(c[g+28>>2]|0)+(A<<2)|0,B<<2|0)|0}else if(c[g>>2]|0){o=0;do{c[H+(o<<2)>>2]=(nTa(d)|0)<<16>>16<<2;o=o+1|0}while(o>>>0<(c[g>>2]|0)>>>0)}if(q&16384|0)if(c[g>>2]|0){p=0;do{c[h+(p<<2)>>2]=(nTa(d)|0)<<16>>16<<2;p=p+1|0;o=c[g>>2]|0}while(p>>>0>>0);if(o|0){o=0;do{c[l+(o<<2)>>2]=(nTa(d)|0)<<16>>16<<2;o=o+1|0}while(o>>>0<(c[g>>2]|0)>>>0)}}r=a$a(g,q,H,h,l)|0;if(r){o=c[d>>2]|0;B=(c[d+32>>2]|0)-o|0;if(!(q&8192)){c[K+4>>2]=D;q=D;o=F}else{c[d+32>>2]=o+m;o=b$a(d,K+4|0)|0;q=c[K+4>>2]|0;n=o}p=(q|0)==0;A=p?k:q;z=c$a(d,A)|0;A=c$a(d,A)|0;b:do if(!((z|0)==0|((o|0)==0|(A|0)==0))){if((o|0)==(-1|0)){if(!k)break;else o=0;while(1){y=H2a(b[z+(o<<1)>>1]|0,r)|0;x=(c[j+4>>2]|0)+(o<<3)|0;c[x>>2]=(c[x>>2]|0)+y;x=H2a(b[A+(o<<1)>>1]|0,r)|0;y=(c[j+4>>2]|0)+(o<<3)+4|0;c[y>>2]=(c[y>>2]|0)+x;o=o+1|0;if((o|0)==(k|0))break b}}if(k|0){o=0;do{w=(c[j+4>>2]|0)+(o<<3)|0;x=c[w+4>>2]|0;y=I+(o<<3)|0;c[y>>2]=c[w>>2];c[y+4>>2]=x;a[f+o>>0]=0;o=o+1|0}while((o|0)!=(k|0))}if(!p){p=0;do{o=e[n+(p<<1)>>1]|0;if(o>>>0>>0){a[f+o>>0]=1;y=H2a(b[z+(p<<1)>>1]|0,r)|0;x=(c[j+4>>2]|0)+(o<<3)|0;c[x>>2]=(c[x>>2]|0)+y;x=H2a(b[A+(p<<1)>>1]|0,r)|0;y=(c[j+4>>2]|0)+(o<<3)+4|0;c[y>>2]=(c[y>>2]|0)+x}p=p+1|0}while(p>>>0>>0)}if(!(b[j>>1]|0))break;x=c[j+4>>2]|0;y=0;u=0;while(1){w=b[(c[j+12>>2]|0)+(y<<16>>16<<1)>>1]|0;c:do if(u>>>0>w>>>0)o=u;else{o=u;while(1){if(a[f+o>>0]|0)break;o=o+1|0;if(o>>>0>w>>>0)break c}p=o;d:while(1){q=p;while(1){v=q+1|0;if(v>>>0>w>>>0)break d;if(!(a[f+v>>0]|0))q=v;else break}w$a(p+1|0,q,p,v,I,x);p=v}if((p|0)!=(o|0)){w$a(p+1|0,w,p,o,I,x);if(!o){o=v;break}w$a(u,o+-1|0,p,o,I,x);o=v;break}q=c[x+(o<<3)>>2]|0;r=c[I+(o<<3)>>2]|0;s=c[x+(o<<3)+4>>2]|0;t=c[I+(o<<3)+4>>2]|0;if((q|0)==(r|0)&(s|0)==(t|0)){o=v;break}if((u|0)<(o|0)){p=u;do{u=x+(p<<3)|0;c[u>>2]=(c[u>>2]|0)+(q-r);u=x+(p<<3)+4|0;c[u>>2]=(c[u>>2]|0)+(s-t);p=p+1|0}while((p|0)!=(o|0))}if((o|0)>=(w|0)){o=v;break}do{o=o+1|0;u=x+(o<<3)|0;c[u>>2]=(c[u>>2]|0)+(q-r);u=x+(o<<3)+4|0;c[u>>2]=(c[u>>2]|0)+(s-t)}while((o|0)!=(w|0));o=v}while(0);y=y+1<<16>>16;if(y<<16>>16>=(b[j>>1]|0))break;else u=o}}while(0);if((n|0)==(-1|0))n=-1;else{LTa(J,n);n=0}LTa(J,z);LTa(J,A);c[d+32>>2]=(c[d>>2]|0)+B}E=E+1|0;if(E>>>0>=(G&4095)>>>0)break a;else m=C+m|0}c[K+8>>2]=8}}}else l=0}else{l=0;h=0}while(0);LTa(J,H);LTa(J,h);LTa(J,l);lTa(d)}}}}else f=0;LTa(J,I);LTa(J,f);J=c[K+8>>2]|0;i=K;return J|0}function w$a(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0;if((a|0)>(b|0))return;i=(c[f+(d<<3)>>2]|0)>(c[f+(e<<3)>>2]|0);n=i?d:e;i=i?e:d;l=c[f+(i<<3)>>2]|0;m=c[f+(n<<3)>>2]|0;j=c[g+(i<<3)>>2]|0;k=c[g+(n<<3)>>2]|0;if((m|0)==(l|0)|(k|0)==(j|0)){e=a;while(1){d=c[f+(e<<3)>>2]|0;if((d|0)>(l|0))d=(d|0)<(m|0)?j:d+(k-m)|0;else d=d+(j-l)|0;c[g+(e<<3)>>2]=d;if((e|0)<(b|0))e=e+1|0;else break}}else{e=I2a(k-j|0,m-l|0)|0;h=a;while(1){d=c[f+(h<<3)>>2]|0;do if((d|0)>(l|0))if((d|0)<(m|0)){d=(H2a(d-l|0,e)|0)+j|0;break}else{d=d+(k-m)|0;break}else d=d+(j-l)|0;while(0);c[g+(h<<3)>>2]=d;if((h|0)<(b|0))h=h+1|0;else break}}k=(c[f+4+(i<<3)>>2]|0)>(c[f+4+(n<<3)>>2]|0);l=k?i:n;k=k?n:i;i=c[f+4+(k<<3)>>2]|0;j=c[f+4+(l<<3)>>2]|0;k=c[g+4+(k<<3)>>2]|0;l=c[g+4+(l<<3)>>2]|0;if((j|0)==(i|0)|(l|0)==(k|0)){e=a;while(1){d=c[f+4+(e<<3)>>2]|0;if((d|0)>(i|0))d=(d|0)<(j|0)?k:d+(l-j)|0;else d=d+(k-i)|0;c[g+4+(e<<3)>>2]=d;if((e|0)<(b|0))e=e+1|0;else break}return}h=I2a(l-k|0,j-i|0)|0;e=a;while(1){d=c[f+4+(e<<3)>>2]|0;do if((d|0)>(i|0))if((d|0)<(j|0)){d=(H2a(d-i|0,h)|0)+k|0;break}else{d=d+(l-j)|0;break}else d=d+(k-i)|0;while(0);c[g+4+(e<<3)>>2]=d;if((e|0)<(b|0))e=e+1|0;else break}return}function x$a(f,g){f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;l=c[(c[f+8>>2]|0)+140>>2]|0;if((l|0)>0)mBb(c[f+136>>2]|0,c[f+140>>2]|0,e[f+132>>1]<<3|0)|0;i=(c[f+160>>2]|0)+284|0;j=(c[f+4>>2]|0)+172|0;k=i+68|0;do{c[i>>2]=c[j>>2];i=i+4|0;j=j+4|0}while((i|0)<(k|0));if(!(g<<24>>24)){n=c[f+4>>2]|0;o=c[f+160>>2]|0;c[o+220>>2]=c[n+48>>2];c[o+224>>2]=c[n+52>>2];o=f+140|0;n=f+132|0}else{o=c[f+160>>2]|0;c[o+220>>2]=65536;c[o+224>>2]=65536;mBb(c[f+144>>2]|0,c[f+140>>2]|0,e[f+132>>1]<<3|0)|0;o=f+140|0;n=f+132|0}i=b[n>>1]|0;h=c[o>>2]|0;c[h+((i&65535)+-4<<3)>>2]=(c[h+((i&65535)+-4<<3)>>2]|0)+32&-64;c[h+((i&65535)+-3<<3)>>2]=(c[h+((i&65535)+-3<<3)>>2]|0)+32&-64;c[h+((i&65535)+-2<<3)+4>>2]=(c[h+((i&65535)+-2<<3)+4>>2]|0)+32&-64;c[h+((i&65535)+-1<<3)+4>>2]=(c[h+((i&65535)+-1<<3)+4>>2]|0)+32&-64;if((l|0)>0){m=c[(c[f+12>>2]|0)+64>>2]|0;i=c[f+160>>2]|0;c[i+460>>2]=c[i+392>>2];c[i+464>>2]=l;a[i+560>>0]=g;i=i+144|0;j=f+124|0;k=i+36|0;do{c[i>>2]=c[j>>2];i=i+4|0;j=j+4|0}while((i|0)<(k|0));h=c[f+160>>2]|0;c[h+356>>2]=c[h+460>>2];c[h+364>>2]=c[h+464>>2];c[h+360>>2]=0;c[h+352>>2]=3;i=h+36|0;j=h+144|0;k=i+36|0;do{c[i>>2]=c[j>>2];i=i+4|0;j=j+4|0}while((i|0)<(k|0));i=h+72|0;j=h+144|0;k=i+36|0;do{c[i>>2]=c[j>>2];i=i+4|0;j=j+4|0}while((i|0)<(k|0));i=h+108|0;j=h+144|0;k=i+36|0;do{c[i>>2]=c[j>>2];i=i+4|0;j=j+4|0}while((i|0)<(k|0));b[h+344>>1]=1;b[h+346>>1]=1;b[h+348>>1]=1;b[h+294>>1]=16384;b[h+296>>1]=0;i=e[h+294>>1]|e[h+294+2>>1]<<16;b[h+298>>1]=i;b[h+298+2>>1]=i>>>16;b[h+290>>1]=i;b[h+290+2>>1]=i>>>16;c[h+312>>2]=1;c[h+304>>2]=1;c[h+16>>2]=0;c[h+428>>2]=0;i=vi[c[(c[h>>2]|0)+652>>2]&2047](h)|0;h=c[f+160>>2]|0;if(i|0)if(a[h+561>>0]|0){f=i;return f|0}a[m>>0]=c[h+340>>2]<<5|d[m>>0]|4;i=b[n>>1]|0;h=c[o>>2]|0}n=i&65535;m=h+(n+-4<<3)|0;o=c[m+4>>2]|0;c[f+68>>2]=c[m>>2];c[f+68+4>>2]=o;o=h+(n+-3<<3)|0;m=c[o+4>>2]|0;c[f+76>>2]=c[o>>2];c[f+76+4>>2]=m;m=h+(n+-2<<3)|0;o=c[m+4>>2]|0;c[f+184>>2]=c[m>>2];c[f+184+4>>2]=o;n=h+(n+-1<<3)|0;o=c[n+4>>2]|0;c[f+192>>2]=c[n>>2];c[f+192+4>>2]=o;f=0;return f|0}function y$a(a){a=a|0;var d=0,e=0;e=i;i=i+16|0;do if(a|0){d=c[a+8>>2]|0;a=HTa(d,612,e)|0;if(!(c[e>>2]|0)){c[a+8>>2]=d;c[a+432>>2]=32;c[a+436>>2]=JTa(d,16,0,32,0,e+4|0)|0;if(!(c[e+4>>2]|0)){b[a+440>>1]=0;b[a+442>>1]=0;c[a+20>>2]=0;c[a+388>>2]=0;c[a+24>>2]=0;c[a+392>>2]=0;c[a>>2]=0;c[a+4>>2]=0;c[e>>2]=0;d=a;i=e;return d|0}else{d=c[a+8>>2]|0;b[a+440>>1]=0;b[a+442>>1]=0;LTa(d,c[a+24>>2]|0);c[a+24>>2]=0;c[a+20>>2]=0;LTa(d,c[a+436>>2]|0);c[a+436>>2]=0;c[a+432>>2]=0;c[a+428>>2]=0;LTa(d,c[a+392>>2]|0);c[a+392>>2]=0;c[a+388>>2]=0;c[a+4>>2]=0;c[a>>2]=0;LTa(d,a);d=c[e+4>>2]|0;c[e>>2]=d;if(d)break;i=e;return a|0}}}while(0);d=0;i=e;return d|0}function z$a(f){f=f|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,v=0,w=0,x=0,y=0,z=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0;n=0;fa=i;i=i+5824|0;c[f+256>>2]=0;da=c[f+216>>2]|0;c[f+592>>2]=(da&65535)<<16>>16==(da>>>16&65535)<<16>>16?1540:1541;c[f+596>>2]=(da&65535)<<16>>16==(da>>>16&65535)<<16>>16?364:365;c[f+600>>2]=(da&65535)<<16>>16==(da>>>16&65535)<<16>>16?110:111;c[f+604>>2]=(da&65535)<<16>>16==(da>>>16&65535)<<16>>16?112:113;I$a(f);switch(c[f+312>>2]&255|0){case 5:{c[f+568>>2]=136;Y=f+568|0;break}case 1:{c[f+568>>2]=137;Y=f+568|0;break}case 4:{c[f+568>>2]=138;Y=f+568|0;break}case 3:{c[f+568>>2]=139;Y=f+568|0;break}case 0:{c[f+568>>2]=140;Y=f+568|0;break}case 2:{c[f+568>>2]=141;Y=f+568|0;break}case 6:{c[f+568>>2]=142;Y=f+568|0;break}case 7:{c[f+568>>2]=143;Y=f+568|0;break}default:Y=f+568|0}l=c[f+360>>2]|0;da=0;a:while(1){H=c[f+356>>2]|0;I=a[H+l>>0]|0;a[f+368>>0]=I;j=a[590547+(I&255)>>0]|0;c[f+372>>2]=j;if((I&255|1|0)==65){k=l+1|0;h=c[f+364>>2]|0;if((k|0)>=(h|0)){n=844;break}G=2-(_(d[H+k>>0]|0,j)|0)|0;c[f+372>>2]=G}else{G=j;h=c[f+364>>2]|0}if((G+l|0)>(h|0)){n=844;break}l=a[590803+(I&255)>>0]|0;h=(c[f+16>>2]|0)-((l&255)>>>4)|0;c[f+28>>2]=h;if((h|0)<0){if(a[f+561>>0]|0){n=21;break}if((l&255)>15){h=c[f+24>>2]|0;j=0;k=0;do{c[h+(j<<2)>>2]=0;k=k+1<<16>>16;j=k&65535}while(j>>>0<(l&255)>>>4>>>0)}c[f+28>>2]=0;F=0}else F=h;x=(l&15)+F|0;c[f+32>>2]=x;y=c[f+20>>2]|0;if((x|0)>(y|0)){n=25;break}a[f+376>>0]=1;c[f+12>>2]=0;E=c[f+24>>2]|0;z=E+(F<<2)|0;b:do{C=1;D=I&255|0;if(C){C=0;switch(D|0){case 79:{n=470;break a}case 5:case 4:case 3:case 2:case 1:case 0:{if((I&255)<4){b[f+294>>1]=(I&255)<<14&16384;b[f+296>>1]=(I&255)<<14&16384^16384;b[f+290>>1]=(I&255)<<14&16384;b[f+292>>1]=(I&255)<<14&16384^16384}if(!(I&2)){b[f+298>>1]=(I&255)<<14&16384;b[f+300>>1]=(I&255)<<14&16384^16384}I$a(f);n=821;break}case 7:case 6:{j=c[z>>2]|0;h=c[z+4>>2]|0;if((e[f+116>>1]|0)>(h&65535))if((e[f+80>>1]|0)>(j&65535)){H=c[f+88>>2]|0;G=c[f+124>>2]|0;E=c[H+((j&65535)<<3)>>2]|0;F=c[G+((h&65535)<<3)>>2]|0;H=c[H+((j&65535)<<3)+4>>2]|0;h=c[G+((h&65535)<<3)+4>>2]|0;G=(E|0)==(F|0)&(H|0)==(h|0)?16384:E-F|0;j=(I&1)==0|(E|0)==(F|0)&(H|0)==(h|0)?H-h|0:G;h=(I&1)==0|(E|0)==(F|0)&(H|0)==(h|0)?G:0-(H-h)|0;if((((h|0)<0?0-h|0:h)|0)<16384)if((((j|0)<0?0-j|0:j)|0)<16384){if(j|h|0){N=h<<14;R=j<<14;n=40}}else{N=h;R=j;n=40}else{N=h;R=j;n=40}if((n|0)==40){I=(E2a(N,R)|0)<<2;b[f+294>>1]=I2a(N,I)|0;b[f+296>>1]=I2a(R,I)|0}n=e[f+294>>1]|e[f+294+2>>1]<<16;b[f+290>>1]=n;b[f+290+2>>1]=n>>>16;I$a(f);n=821;break b}if(!(a[f+561>>0]|0))n=821;else{n=35;break a}break}case 9:case 8:{j=c[z>>2]|0;h=c[z+4>>2]|0;if((e[f+116>>1]|0)>(h&65535))if((e[f+80>>1]|0)>(j&65535)){H=c[f+88>>2]|0;G=c[f+124>>2]|0;E=c[H+((j&65535)<<3)>>2]|0;F=c[G+((h&65535)<<3)>>2]|0;H=c[H+((j&65535)<<3)+4>>2]|0;h=c[G+((h&65535)<<3)+4>>2]|0;G=(E|0)==(F|0)&(H|0)==(h|0)?16384:E-F|0;j=(I&1)==0|(E|0)==(F|0)&(H|0)==(h|0)?H-h|0:G;h=(I&1)==0|(E|0)==(F|0)&(H|0)==(h|0)?G:0-(H-h)|0;if((((h|0)<0?0-h|0:h)|0)<16384)if((((j|0)<0?0-j|0:j)|0)<16384){if(j|h|0){O=h<<14;S=j<<14;n=50}}else{O=h;S=j;n=50}else{O=h;S=j;n=50}if((n|0)==50){I=(E2a(O,S)|0)<<2;b[f+298>>1]=I2a(O,I)|0;b[f+300>>1]=I2a(S,I)|0}I$a(f);n=821;break b}if(!(a[f+561>>0]|0))n=821;else{n=45;break a}break}case 10:{h=c[z+4>>2]<<16;j=c[z>>2]<<16;if((((j|0)<0?0-(j>>16)|0:j>>16)|0)<16384)if((((h|0)<0?0-(h>>16)|0:h>>16)|0)<16384){if(h>>16|j>>16|0){P=j>>2;T=h>>2;n=56}}else{P=j>>16;T=h>>16;n=56}else{P=j>>16;T=h>>16;n=56}if((n|0)==56){w=(E2a(P,T)|0)<<2;b[f+294>>1]=I2a(P,w)|0;b[f+296>>1]=I2a(T,w)|0}n=e[f+294>>1]|e[f+294+2>>1]<<16;b[f+290>>1]=n;b[f+290+2>>1]=n>>>16;I$a(f);n=821;break}case 11:{h=c[z+4>>2]<<16;j=c[z>>2]<<16;if((((j|0)<0?0-(j>>16)|0:j>>16)|0)<16384)if((((h|0)<0?0-(h>>16)|0:h>>16)|0)<16384){if(h>>16|j>>16|0){Q=j>>2;U=h>>2;n=62}}else{Q=j>>16;U=h>>16;n=62}else{Q=j>>16;U=h>>16;n=62}if((n|0)==62){w=(E2a(Q,U)|0)<<2;b[f+298>>1]=I2a(Q,w)|0;b[f+300>>1]=I2a(U,w)|0}I$a(f);n=821;break}case 12:{n=b[f+296>>1]|0;c[z>>2]=b[f+294>>1];c[z+4>>2]=n<<16>>16;n=821;break}case 13:{n=b[f+300>>1]|0;c[z>>2]=b[f+298>>1];c[z+4>>2]=n<<16>>16;n=821;break}case 14:{n=e[f+294>>1]|e[f+294+2>>1]<<16;b[f+298>>1]=n;b[f+298+2>>1]=n>>>16;I$a(f);n=821;break}case 15:{r=c[z>>2]|0;s=c[z+4>>2]|0;u=c[z+8>>2]|0;v=c[z+12>>2]&65535;h=e[f+44>>1]|0;if(v>>>0>>0){w=c[z+16>>2]&65535;if(w>>>0>>0){h=e[f+80>>1]|0;if((s&65535)>>>0>>0)if((u&65535)>>>0>>0)if((r&65535)>>>0<(e[f+116>>1]|0)>>>0){l=c[f+52>>2]|0;h=c[l+(v<<3)>>2]|0;j=(c[l+(w<<3)>>2]|0)-h|0;k=c[l+(v<<3)+4>>2]|0;l=(c[l+(w<<3)+4>>2]|0)-k|0;p=c[f+88>>2]|0;m=c[p+((s&65535)<<3)>>2]|0;n=(c[p+((u&65535)<<3)>>2]|0)-m|0;o=c[p+((s&65535)<<3)+4>>2]|0;p=(c[p+((u&65535)<<3)+4>>2]|0)-o|0;q=(c[f+132>>2]|0)+(r&65535)|0;a[q>>0]=d[q>>0]|24;q=F2a(n,0-l|0,64)|0;q=(F2a(p,j,64)|0)+q|0;I=F2a(n,j,64)|0;I=(F2a(p,l,64)|0)+I|0;if((((q|0)<0?0-q|0:q)*19|0)>(((I|0)<0?0-I|0:I)|0)){I=F2a(h-m|0,0-l|0,64)|0;I=(F2a(k-o|0,j,64)|0)+I|0;G=F2a(I,n,q)|0;I=F2a(I,p,q)|0;H=c[f+88>>2]|0;n=c[f+124>>2]|0;c[n+((r&65535)<<3)>>2]=(c[H+((s&65535)<<3)>>2]|0)+G;c[n+((r&65535)<<3)+4>>2]=(c[H+((s&65535)<<3)+4>>2]|0)+I;n=821;break b}else{H=c[f+88>>2]|0;I=c[f+52>>2]|0;n=c[f+124>>2]|0;c[n+((r&65535)<<3)>>2]=((c[H+((u&65535)<<3)>>2]|0)+(c[H+((s&65535)<<3)>>2]|0)+(c[I+(v<<3)>>2]|0)+(c[I+(w<<3)>>2]|0)|0)/4|0;c[n+((r&65535)<<3)+4>>2]=((c[H+((u&65535)<<3)+4>>2]|0)+(c[H+((s&65535)<<3)+4>>2]|0)+(c[I+(v<<3)+4>>2]|0)+(c[I+(w<<3)+4>>2]|0)|0)/4|0;n=821;break b}}}}if(!(a[f+561>>0]|0))n=821;else{n=73;break a}break}case 16:{b[f+284>>1]=c[z>>2];n=821;break}case 17:{b[f+286>>1]=c[z>>2];n=821;break}case 18:{b[f+288>>1]=c[z>>2];n=821;break}case 19:{switch(c[z>>2]|0){case 0:{h=f+36|0;j=f+180|0;k=h+36|0;do{c[h>>2]=c[j>>2];h=h+4|0;j=j+4|0}while((h|0)<(k|0));break}case 1:{h=f+36|0;j=f+144|0;k=h+36|0;do{c[h>>2]=c[j>>2];h=h+4|0;j=j+4|0}while((h|0)<(k|0));break}default:if(!(a[f+561>>0]|0)){n=821;break b}else{n=84;break a}}b[f+344>>1]=c[z>>2];n=821;break}case 20:{switch(c[z>>2]|0){case 0:{h=f+72|0;j=f+180|0;k=h+36|0;do{c[h>>2]=c[j>>2];h=h+4|0;j=j+4|0}while((h|0)<(k|0));break}case 1:{h=f+72|0;j=f+144|0;k=h+36|0;do{c[h>>2]=c[j>>2];h=h+4|0;j=j+4|0}while((h|0)<(k|0));break}default:if(!(a[f+561>>0]|0)){n=821;break b}else{n=90;break a}}b[f+346>>1]=c[z>>2];n=821;break}case 21:{switch(c[z>>2]|0){case 0:{h=f+108|0;j=f+180|0;k=h+36|0;do{c[h>>2]=c[j>>2];h=h+4|0;j=j+4|0}while((h|0)<(k|0));break}case 1:{h=f+108|0;j=f+144|0;k=h+36|0;do{c[h>>2]=c[j>>2];h=h+4|0;j=j+4|0}while((h|0)<(k|0));break}default:if(!(a[f+561>>0]|0)){n=821;break b}else{n=96;break a}}b[f+348>>1]=c[z>>2];n=821;break}case 22:{switch(c[z>>2]|0){case 0:{h=f+36|0;j=f+180|0;k=h+36|0;do{c[h>>2]=c[j>>2];h=h+4|0;j=j+4|0}while((h|0)<(k|0));break}case 1:{h=f+36|0;j=f+144|0;k=h+36|0;do{c[h>>2]=c[j>>2];h=h+4|0;j=j+4|0}while((h|0)<(k|0));break}default:if(!(a[f+561>>0]|0)){n=821;break b}else{n=102;break a}}h=f+72|0;j=f+36|0;k=h+36|0;do{c[h>>2]=c[j>>2];h=h+4|0;j=j+4|0}while((h|0)<(k|0));h=f+108|0;j=f+36|0;k=h+36|0;do{c[h>>2]=c[j>>2];h=h+4|0;j=j+4|0}while((h|0)<(k|0));n=c[z>>2]&65535;b[f+344>>1]=n;b[f+346>>1]=n;b[f+348>>1]=n;n=821;break}case 23:{h=c[z>>2]|0;if((h|0)<0){n=105;break a}c[f+304>>2]=h;n=821;break}case 24:{c[f+312>>2]=1;c[Y>>2]=137;n=821;break}case 25:{c[f+312>>2]=0;c[Y>>2]=140;n=821;break}case 26:{c[f+308>>2]=c[z>>2];n=821;break}default:C=1}}if(C){C=0;switch(D|0){case 27:{l=c[f+364>>2]|0;h=G;j=c[f+360>>2]|0;m=1;while(1){c:while(1){j=h+j|0;c[f+360>>2]=j;if((j|0)>=(l|0)){n=117;break a}k=a[H+j>>0]|0;a[f+368>>0]=k;h=a[590547+(k&255)>>0]|0;c[f+372>>2]=h;if((k&255|1|0)==65){if((j+1|0)>=(l|0)){n=117;break a}h=2-(_(d[H+(j+1)>>0]|0,h)|0)|0;c[f+372>>2]=h}if((h+j|0)>(l|0)){n=117;break a}switch(k&255|0){case 88:{V=h;n=119;break c}case 89:{W=h;n=120;break c}default:{}}}if((n|0)==119){ba=V;ca=j;ea=m+1|0}else if((n|0)==120){ba=W;ca=j;ea=m+-1|0}if(!ea){n=821;break}else{h=ba;j=ca;m=ea}}break}case 28:{h=c[z>>2]|0;if(!(h|F))c[f+12>>2]=132;h=(c[f+360>>2]|0)+h|0;c[f+360>>2]=h;if((h|0)<0)n=127;else{j=c[f+428>>2]|0;if((j|0)>0)if((h|0)>(c[(c[(c[f+436>>2]|0)+(j+-1<<4)+12>>2]|0)+8>>2]|0))n=127}if((n|0)==127)c[f+12>>2]=132;a[f+376>>0]=0;n=821;break}case 29:{c[f+320>>2]=c[z>>2];n=821;break}case 30:{c[f+324>>2]=c[z>>2];n=821;break}case 31:{c[f+328>>2]=H2a(c[z>>2]|0,c[f+260>>2]|0)|0;n=821;break}case 32:{c[z+4>>2]=c[z>>2];n=821;break}case 127:case 126:case 89:case 33:{n=837;break}case 34:{c[f+32>>2]=0;n=821;break}case 35:{n=c[z>>2]|0;c[z>>2]=c[z+4>>2];c[z+4>>2]=n;n=821;break}case 36:{c[z>>2]=c[f+16>>2];n=821;break}case 37:{h=c[z>>2]|0;if((h|0)<1|(F|0)<(h|0))if(!(a[f+561>>0]|0))h=0;else{c[f+12>>2]=134;h=0}else h=c[E+(F-h<<2)>>2]|0;c[z>>2]=h;n=821;break}case 38:{h=c[z>>2]|0;if((h|0)<1|(F|0)<(h|0))if(!(a[f+561>>0]|0)){n=821;break b}else{n=143;break a}else{I=F-h|0;n=c[E+(I<<2)>>2]|0;nBb(E+(I<<2)|0,E+(I+1<<2)|0,(h<<2)+-4|0)|0;c[(c[f+24>>2]|0)+((c[f+28>>2]|0)+-1<<2)>>2]=n;n=821;break b}}case 39:{j=c[z>>2]|0;h=c[z+4>>2]|0;if((j&65535)>>>0<(e[f+80>>1]|0)>>>0)if((h&65535)>>>0<(e[f+44>>1]|0)>>>0){I=c[f+52>>2]|0;n=c[f+88>>2]|0;n=(Gi[c[f+572>>2]&255](f,(c[I+((h&65535)<<3)>>2]|0)-(c[n+((j&65535)<<3)>>2]|0)|0,(c[I+((h&65535)<<3)+4>>2]|0)-(c[n+((j&65535)<<3)+4>>2]|0)|0)|0)/2|0;kj[c[f+584>>2]&127](f,f+72|0,j&65535,n);kj[c[f+584>>2]&127](f,f+36|0,h&65535,0-n|0);n=821;break b}if(!(a[f+561>>0]|0))n=821;else{n=148;break a}break}case 40:{h=c[f+416>>2]|0;k=c[f+408>>2]|0;d:do if((k|0)>0){j=h;while(1){if(I<<24>>24==(c[j+12>>2]&255)<<24>>24)if(a[j+16>>0]|0)break;j=j+24|0;if(j>>>0>=(h+(k*24|0)|0)>>>0)break d}h=c[f+428>>2]|0;if((h|0)>=(c[f+432>>2]|0)){n=154;break a}l=c[f+436>>2]|0;c[f+428>>2]=h+1;c[l+(h<<4)>>2]=c[f+352>>2];c[l+(h<<4)+4>>2]=(c[f+360>>2]|0)+1;c[l+(h<<4)+8>>2]=1;c[l+(h<<4)+12>>2]=j;l=c[j>>2]|0;h=c[j+4>>2]|0;do if((l+-1|0)>>>0>2)c[f+12>>2]=132;else{j=c[f+444+(l+-1<<3)>>2]|0;if(!j){c[f+12>>2]=138;break}k=c[f+444+(l+-1<<3)+4>>2]|0;if((k|0)<(h|0)){c[f+12>>2]=131;break}else{c[f+356>>2]=j;c[f+364>>2]=k;c[f+360>>2]=h;c[f+352>>2]=l;break}}while(0);a[f+376>>0]=0;n=821;break b}while(0);c[f+12>>2]=128;Z=h;$=k;n=823;break}case 41:{j=c[z>>2]&65535;if(j>>>0>=(e[f+44>>1]|0)>>>0)if(!(a[f+561>>0]|0)){n=821;break b}else{n=167;break a}h=(b[f+298>>1]|0)==0?-1:-9;if(b[f+300>>1]|0)h=h&239;n=(c[f+60>>2]|0)+j|0;a[n>>0]=a[n>>0]&h;n=821;break}case 42:{j=c[z+4>>2]|0;h=(c[f+420>>2]|0)+1|0;if(j>>>0>=h>>>0){n=190;break a}k=c[f+404>>2]|0;l=c[f+396>>2]|0;if((h|0)==(l|0))if((c[k+(j*24|0)+12>>2]|0)==(j|0))K=k+(j*24|0)|0;else n=174;else n=174;if((n|0)==174){e:do if((l|0)>0){h=k;do{if((c[h+12>>2]|0)==(j|0))break e;h=h+24|0}while(h>>>0<(k+(l*24|0)|0)>>>0)}else h=k;while(0);if((h|0)==(k+(l*24|0)|0)){n=190;break a}else K=h}if(!(a[K+16>>0]|0)){n=190;break a}h=c[f+428>>2]|0;if((h|0)>=(c[f+432>>2]|0)){n=180;break a}if((c[z>>2]|0)>0){j=c[f+436>>2]|0;c[j+(h<<4)>>2]=c[f+352>>2];c[j+(h<<4)+4>>2]=(c[f+360>>2]|0)+1;c[j+(h<<4)+8>>2]=c[z>>2];c[j+(h<<4)+12>>2]=K;c[f+428>>2]=h+1;h=c[K>>2]|0;j=c[K+4>>2]|0;do if((h+-1|0)>>>0>2)c[f+12>>2]=132;else{k=c[f+444+(h+-1<<3)>>2]|0;if(!k){c[f+12>>2]=138;break}l=c[f+444+(h+-1<<3)+4>>2]|0;if((l|0)<(j|0)){c[f+12>>2]=131;break}else{c[f+356>>2]=k;c[f+364>>2]=l;c[f+360>>2]=j;c[f+352>>2]=h;break}}while(0);a[f+376>>0]=0;n=821}else n=821;break}case 43:{j=c[z>>2]|0;h=(c[f+420>>2]|0)+1|0;if(h>>>0<=j>>>0){n=209;break a}k=c[f+404>>2]|0;l=c[f+396>>2]|0;if((h|0)==(l|0))if((c[k+(j*24|0)+12>>2]|0)==(j|0))L=k+(j*24|0)|0;else n=194;else n=194;if((n|0)==194){f:do if((l|0)>0){h=k;do{if((c[h+12>>2]|0)==(j|0))break f;h=h+24|0}while(h>>>0<(k+(l*24|0)|0)>>>0)}else h=k;while(0);if((h|0)==(k+(l*24|0)|0)){n=209;break a}else L=h}if(!(a[L+16>>0]|0)){n=209;break a}h=c[f+428>>2]|0;if((h|0)>=(c[f+432>>2]|0)){n=200;break a}j=c[f+436>>2]|0;c[j+(h<<4)>>2]=c[f+352>>2];c[j+(h<<4)+4>>2]=(c[f+360>>2]|0)+1;c[j+(h<<4)+8>>2]=1;c[j+(h<<4)+12>>2]=L;c[f+428>>2]=h+1;h=c[L>>2]|0;j=c[L+4>>2]|0;do if((h+-1|0)>>>0>2)c[f+12>>2]=132;else{k=c[f+444+(h+-1<<3)>>2]|0;if(!k){c[f+12>>2]=138;break}l=c[f+444+(h+-1<<3)+4>>2]|0;if((l|0)<(j|0)){c[f+12>>2]=131;break}else{c[f+356>>2]=k;c[f+364>>2]=l;c[f+360>>2]=j;c[f+352>>2]=h;break}}while(0);a[f+376>>0]=0;n=821;break}case 44:{l=c[z>>2]|0;j=c[f+404>>2]|0;k=c[f+396>>2]|0;g:do if((k|0)>0){h=j;do{if((c[h+12>>2]|0)==(l|0))break g;h=h+24|0}while(h>>>0<(j+(k*24|0)|0)>>>0)}else h=j;while(0);if((h|0)==(j+(k*24|0)|0)){if(k>>>0>=(c[f+400>>2]|0)>>>0){n=215;break a}c[f+396>>2]=k+1}if(l>>>0>65535){n=218;break a}c[h>>2]=c[f+352>>2];c[h+12>>2]=l&65535;j=c[f+360>>2]|0;c[h+4>>2]=j+1;a[h+16>>0]=1;a[h+17>>0]=0;c[h+20>>2]=0;if((c[f+420>>2]|0)>>>0>>0)c[f+420>>2]=l&65535;m=c[f+364>>2]|0;k=G;h:while(1){j=k+j|0;c[f+360>>2]=j;if((j|0)>=(m|0)){n=227;break a}l=a[H+j>>0]|0;a[f+368>>0]=l;k=a[590547+(l&255)>>0]|0;c[f+372>>2]=k;if((l&255|1|0)==65){if((j+1|0)>=(m|0)){n=227;break a}k=2-(_(d[H+(j+1)>>0]|0,k)|0)|0;c[f+372>>2]=k}if((k+j|0)>(m|0)){n=227;break a}switch(l&255|0){case 44:case 137:{n=229;break a}case 45:break h;default:{}}}c[h+8>>2]=j;n=821;break}default:C=1}}if(C){C=0;switch(D|0){case 45:{h=c[f+428>>2]|0;if((h|0)<1){n=232;break a}c[f+428>>2]=h+-1;j=c[f+436>>2]|0;w=c[j+(h+-1<<4)+8>>2]|0;c[j+(h+-1<<4)+8>>2]=w+-1;a[f+376>>0]=0;if((w|0)>1){c[f+428>>2]=h;c[f+360>>2]=c[(c[j+(h+-1<<4)+12>>2]|0)+4>>2];n=821;break b}l=c[j+(h+-1<<4)>>2]|0;h=c[j+(h+-1<<4)+4>>2]|0;if((l+-1|0)>>>0>2){n=236;break a}j=c[f+444+(l+-1<<3)>>2]|0;if(!j){n=238;break a}k=c[f+444+(l+-1<<3)+4>>2]|0;if((k|0)<(h|0)){n=240;break a}c[f+356>>2]=j;c[f+364>>2]=k;c[f+360>>2]=h;c[f+352>>2]=l;n=821;break}case 47:case 46:{h=c[z>>2]|0;if((h&65535)>>>0>=(e[f+44>>1]|0)>>>0)if(!(a[f+561>>0]|0)){n=821;break b}else{n=244;break a}if(!(I&1))j=0;else{j=c[f+52>>2]|0;j=Gi[c[f+572>>2]&255](f,c[j+((h&65535)<<3)>>2]|0,c[j+((h&65535)<<3)+4>>2]|0)|0;j=(Gi[c[Y>>2]&255](f,j,c[f+264>>2]|0)|0)-j|0}kj[c[f+584>>2]&127](f,f+36|0,h&65535,j);b[f+284>>1]=h;b[f+286>>1]=h;n=821;break}case 49:case 48:{i:do if(b[f+154>>1]|0){if(!(I&1)){h=(c[f+156>>2]|0)+4|0;c[fa+8>>2]=h;j=(c[f+160>>2]|0)+4|0;c[fa+8+4>>2]=j;c[fa+8+8>>2]=(c[f+164>>2]|0)+4;s=16}else{h=c[f+156>>2]|0;c[fa+8>>2]=h;j=c[f+160>>2]|0;c[fa+8+4>>2]=j;c[fa+8+8>>2]=c[f+164>>2];s=8}m=b[f+152>>1]|0;c[fa+8+12>>2]=m&65535;k=0;q=0;while(1){w=(e[(c[f+172>>2]|0)+(k<<16>>16<<1)>>1]|0)-(e[f+176>>1]|0)|0;r=m&65535;r=w>>>0>>0?w:r+-1|0;j:do if(q>>>0>r>>>0)l=q;else{m=c[f+168>>2]|0;l=q;while(1){if((a[m+l>>0]&s)<<24>>24)break;l=l+1|0;if(l>>>0>r>>>0)break j}m=l;k:while(1){n=m;while(1){p=n+1|0;if(p>>>0>r>>>0)break k;if(!((a[(c[f+168>>2]|0)+p>>0]&s)<<24>>24))n=p;else break}$$a(fa+8|0,m+1|0,n,m,p);m=p}if((m|0)!=(l|0)){$$a(fa+8|0,m+1&65535,r,m,l);if(!l){l=p;break}$$a(fa+8|0,q,l+-1|0,m,l);l=p;break}n=c[j+(l<<3)>>2]|0;o=c[h+(l<<3)>>2]|0;if((n|0)==(o|0))l=p;else{if(q>>>0>>0){m=q;do{w=j+(m<<3)|0;c[w>>2]=(c[w>>2]|0)+(n-o);m=m+1|0}while((m|0)!=(l|0))}if((l+1|0)>>>0>r>>>0)l=p;else{l=l+1|0;do{w=j+(l<<3)|0;c[w>>2]=(c[w>>2]|0)+(n-o);l=l+1|0}while(l>>>0<=r>>>0);l=p}}}while(0);k=k+1<<16>>16;if(k<<16>>16>=(b[f+154>>1]|0))break i;m=b[f+152>>1]|0;q=l}}while(0);n=821;break}case 51:case 50:{l:do if((c[f+16>>2]|0)<(c[f+304>>2]|0))if(!(a[f+561>>0]|0))n=287;else{c[f+12>>2]=134;n=287}else if(!((a0a(f,fa+4|0,fa,fa+8|0,fa+44|0)|0)<<24>>24))if((c[f+304>>2]|0)>0){h=c[fa>>2]|0;j=c[fa+4>>2]|0;while(1){k=(c[f+28>>2]|0)+-1|0;c[f+28>>2]=k;k=c[(c[f+24>>2]|0)+(k<<2)>>2]&65535;if(k>>>0<(e[f+116>>1]|0)>>>0){if(b[f+298>>1]|0){w=(c[f+124>>2]|0)+(k<<3)|0;c[w>>2]=(c[w>>2]|0)+j;w=(c[f+132>>2]|0)+k|0;a[w>>0]=d[w>>0]|8}if(b[f+300>>1]|0){w=(c[f+124>>2]|0)+(k<<3)+4|0;c[w>>2]=(c[w>>2]|0)+h;w=(c[f+132>>2]|0)+k|0;a[w>>0]=d[w>>0]|16}}else if(a[f+561>>0]|0)break;w=c[f+304>>2]|0;c[f+304>>2]=w+-1;if((w|0)<=1){n=287;break l}}c[f+12>>2]=134}else n=287;while(0);if((n|0)==287){c[f+304>>2]=1;c[f+32>>2]=c[f+28>>2]}n=821;break}case 53:case 52:{if(!(b[f+348>>1]|0))h=1;else h=b[f+118>>1]|0;j=c[z>>2]<<16>>16;if(j>>>0>16>>>0){if(!((a0a(f,fa+4|0,fa,fa+8|0,fa+44|0)|0)<<24>>24)){if(!j)h=0;else h=(e[(c[f+136>>2]|0)+(j+-1<<1)>>1]|0)+1-(e[f+140>>1]|0)&65535;if(!(b[f+348>>1]|0))o=b[f+116>>1]|0;else o=(e[(c[f+136>>2]|0)+(j<<1)>>1]|0)+1-(e[f+140>>1]|0)&65535;if((h&65535)<(o&65535)){k=c[fa+8+16>>2]|0;l=c[fa>>2]|0;m=c[fa+4>>2]|0;n=e[fa+44>>1]|0;j=h&65535;do{h=c[f+124>>2]|0;if(!((n|0)==(j|0)&(k|0)==(h|0))){if(b[f+298>>1]|0){w=h+(j<<3)|0;c[w>>2]=(c[w>>2]|0)+m;w=(c[f+132>>2]|0)+j|0;a[w>>0]=d[w>>0]|8}if(b[f+300>>1]|0){w=(c[f+124>>2]|0)+(j<<3)+4|0;c[w>>2]=(c[w>>2]|0)+l;w=(c[f+132>>2]|0)+j|0;a[w>>0]=d[w>>0]|16}}j=j+1|0}while((j&65535)<<16>>16!=o<<16>>16)}}}else if(a[f+561>>0]|0)c[f+12>>2]=134;n=821;break}case 55:case 54:{m:do if((c[z>>2]|0)>>>0>1){if(a[f+561>>0]|0)c[f+12>>2]=134}else if(!((a0a(f,fa+4|0,fa,fa+8|0,fa+44|0)|0)<<24>>24)){switch(b[f+348>>1]|0){case 0:{o=b[f+116>>1]|0;break}case 1:{h=b[f+118>>1]|0;if(h<<16>>16<=0)break m;o=(e[(c[f+136>>2]|0)+((h<<16>>16)+-1<<1)>>1]|0)+1&65535;break}default:break m}if(o<<16>>16){k=c[fa+8+16>>2]|0;l=c[f+124>>2]|0;n=c[fa>>2]|0;m=c[fa+4>>2]|0;if((k|0)==(l|0)){h=e[fa+44>>1]|0;j=0;while(1){if((h|0)!=(j|0)){if(b[f+298>>1]|0){w=k+(j<<3)|0;c[w>>2]=(c[w>>2]|0)+m}if(b[f+300>>1]|0){w=k+(j<<3)+4|0;c[w>>2]=(c[w>>2]|0)+n}}j=j+1|0;if((j&65535)<<16>>16==o<<16>>16)break m}}h=(b[f+300>>1]|0)==0;if(!(b[f+298>>1]|0)){if(h)break;else h=0;while(1){w=l+(h<<3)+4|0;c[w>>2]=(c[w>>2]|0)+n;h=h+1|0;if((h&65535)<<16>>16==o<<16>>16)break m}}if(h){h=0;while(1){w=l+(h<<3)|0;c[w>>2]=(c[w>>2]|0)+m;h=h+1|0;if((h&65535)<<16>>16==o<<16>>16)break m}}c[l>>2]=(c[l>>2]|0)+m;c[l+4>>2]=(c[l+4>>2]|0)+n;if(o<<16>>16!=1){h=c[f+124>>2]|0;j=1;do{w=l+(j<<3)|0;c[w>>2]=(c[w>>2]|0)+m;w=h+(j<<3)+4|0;c[w>>2]=(c[w>>2]|0)+n;j=j+1|0}while((j&65535)<<16>>16!=o<<16>>16)}}}while(0);n=821;break}case 56:{h=c[f+304>>2]|0;n:do if((c[f+16>>2]|0)>(h|0)){v=c[z>>2]|0;s=b[f+298>>1]|0;l=(v|0)<0?0-v|0:v;k=s<<16>>16<0?0-(s<<16>>16)|0:s<<16>>16;u=_(l>>>16,k)|0;k=(u<<16|8192)+(_(l&65535,k)|0)|0;k=(s<<16>>16^v|0)>-1?(k>>>0<(u<<16|8192)>>>0&1)+(u>>>16)<<18|k>>>14:0-((k>>>0<(u<<16|8192)>>>0&1)+(u>>>16)<<18|k>>>14)|0;u=b[f+300>>1]|0;s=u<<16>>16<0?0-(u<<16>>16)|0:u<<16>>16;w=_(s,l>>>16)|0;l=(w<<16|8192)+(_(s,l&65535)|0)|0;l=(u<<16>>16^v|0)>-1?(l>>>0<(w<<16|8192)>>>0&1)+(w>>>16)<<18|l>>>14:0-((l>>>0<(w<<16|8192)>>>0&1)+(w>>>16)<<18|l>>>14)|0;if((h|0)>0){h=F;j=E;while(1){h=h+-1|0;c[f+28>>2]=h;h=c[j+(h<<2)>>2]&65535;if(h>>>0<(e[f+116>>1]|0)>>>0){if(b[f+298>>1]|0){w=(c[f+124>>2]|0)+(h<<3)|0;c[w>>2]=(c[w>>2]|0)+k;w=(c[f+132>>2]|0)+h|0;a[w>>0]=d[w>>0]|8}if(b[f+300>>1]|0){w=(c[f+124>>2]|0)+(h<<3)+4|0;c[w>>2]=(c[w>>2]|0)+l;w=(c[f+132>>2]|0)+h|0;a[w>>0]=d[w>>0]|16}}else if(a[f+561>>0]|0){n=341;break a}w=c[f+304>>2]|0;c[f+304>>2]=w+-1;h=c[f+28>>2]|0;if((w|0)<=1)break n;j=c[f+24>>2]|0}}else h=F}else if(!(a[f+561>>0]|0))h=F;else{c[f+12>>2]=134;h=F}while(0);c[f+304>>2]=1;c[f+32>>2]=h;n=821;break}default:C=1}}c[fa+64>>2]=f;c[fa+448>>2]=Y;c[fa+456>>2]=G;c[fa+1160>>2]=H;c[fa+1216>>2]=I;c[fa+1784>>2]=x;c[fa+1800>>2]=F;c[fa+1840>>2]=y;c[fa+1872>>2]=E;c[fa+1880>>2]=z;c[fa+3552>>2]=Z;c[fa+3560>>2]=$;c[fa+5704>>2]=n;c[fa+5712>>2]=C;c[fa+5720>>2]=D;c[fa+5728>>2]=0;c[fa+5732>>2]=0;l2a(fa);Z=c[fa+3552>>2]|0;$=c[fa+3560>>2]|0;n=c[fa+5704>>2]|0;A=c[fa+5728>>2]|0;t=c[fa+5732>>2]|0;B=+g[fa+5732>>2];c[fa+5728>>2]=0;c[fa+5732>>2]=0;if((A|0)==1)break;if((A|0)==2)switch(t|0){case 86:break a;case 87:break b}}while(0);o:do if((n|0)==821){X=c[f+12>>2]|0;switch(X|0){case 0:{n=837;break o}case 128:break;default:{n=845;break a}}Z=c[f+416>>2]|0;$=c[f+408>>2]|0;n=823}while(0);if((n|0)==823){n=0;h=Z+($*24|0)|0;if(($|0)>0)j=Z;else{n=836;break}while(1){if(a[j+16>>0]|0)if((a[f+368>>0]|0)==(c[j+12>>2]&255)<<24>>24)break;j=j+24|0;if(j>>>0>=h>>>0){n=836;break a}}h=c[f+428>>2]|0;if((h|0)>=(c[f+432>>2]|0)){n=827;break}l=c[f+436>>2]|0;c[l+(h<<4)>>2]=c[f+352>>2];c[l+(h<<4)+4>>2]=(c[f+360>>2]|0)+1;c[l+(h<<4)+8>>2]=1;c[l+(h<<4)+12>>2]=j;l=c[j>>2]|0;h=c[j+4>>2]|0;if((l+-1|0)>>>0>2){n=829;break}j=c[f+444+(l+-1<<3)>>2]|0;if(!j){n=831;break}k=c[f+444+(l+-1<<3)+4>>2]|0;if((k|0)<(h|0)){n=834;break}c[f+356>>2]=j;c[f+364>>2]=k;c[f+360>>2]=h;c[f+352>>2]=l;J=da}else if((n|0)==837){n=0;c[f+16>>2]=c[f+32>>2];if(a[f+376>>0]|0)c[f+360>>2]=(c[f+360>>2]|0)+(c[f+372>>2]|0);if((da|0)>999999){M=139;n=849;break}else J=da+1|0}l=c[f+360>>2]|0;if((l|0)>=(c[f+364>>2]|0)){n=841;break}if(a[f+488>>0]|0){M=0;n=849;break}else da=J}switch(n|0){case 21:{c[f+12>>2]=129;aa=129;break}case 25:{c[f+12>>2]=130;aa=130;break}case 35:{c[f+12>>2]=134;aa=134;break}case 45:{c[f+12>>2]=134;aa=134;break}case 73:{c[f+12>>2]=134;aa=134;break}case 84:{c[f+12>>2]=134;aa=134;break}case 90:{c[f+12>>2]=134;aa=134;break}case 96:{c[f+12>>2]=134;aa=134;break}case 102:{c[f+12>>2]=134;aa=134;break}case 105:{c[f+12>>2]=132;aa=132;break}case 117:{c[f+12>>2]=131;aa=131;break}case 143:{c[f+12>>2]=134;aa=134;break}case 148:{c[f+12>>2]=134;aa=134;break}case 154:{c[f+12>>2]=130;aa=130;break}case 167:{c[f+12>>2]=134;aa=134;break}case 180:{c[f+12>>2]=130;aa=130;break}case 190:{c[f+12>>2]=134;aa=134;break}case 200:{c[f+12>>2]=130;aa=130;break}case 209:{c[f+12>>2]=134;aa=134;break}case 215:{c[f+12>>2]=140;aa=140;break}case 218:{c[f+12>>2]=140;aa=140;break}case 227:{c[f+12>>2]=131;aa=131;break}case 229:{c[f+12>>2]=137;aa=137;break}case 232:{c[f+12>>2]=136;aa=136;break}case 236:{c[f+12>>2]=132;aa=132;break}case 238:{c[f+12>>2]=138;aa=138;break}case 240:{c[f+12>>2]=131;aa=131;break}case 244:{c[f+12>>2]=134;aa=134;break}case 341:{c[f+12>>2]=134;aa=134;break}case 376:{c[f+12>>2]=134;aa=134;break}case 382:{c[f+12>>2]=134;aa=134;break}case 395:{c[f+12>>2]=134;aa=134;break}case 414:{c[f+12>>2]=130;aa=130;break}case 418:{c[f+12>>2]=130;aa=130;break}case 426:{c[f+12>>2]=134;aa=134;break}case 430:{c[f+12>>2]=134;aa=134;break}case 435:{c[f+12>>2]=134;aa=134;break}case 439:{c[f+12>>2]=134;aa=134;break}case 451:{c[f+12>>2]=134;aa=134;break}case 470:{c[f+12>>2]=135;aa=135;break}case 492:{c[f+12>>2]=131;aa=131;break}case 508:{c[f+12>>2]=132;aa=132;break}case 513:{c[f+12>>2]=133;aa=133;break}case 527:{c[f+12>>2]=134;aa=134;break}case 537:{c[f+12>>2]=134;aa=134;break}case 550:break;case 556:break;case 566:break;case 572:break;case 598:{c[f+12>>2]=130;aa=130;break}case 617:{c[f+12>>2]=134;aa=134;break}case 626:{c[f+12>>2]=134;aa=134;break}case 632:{c[f+12>>2]=134;aa=134;break}case 638:{c[f+12>>2]=130;aa=130;break}case 673:{c[f+12>>2]=134;aa=134;break}case 698:{c[f+12>>2]=141;aa=141;break}case 701:{c[f+12>>2]=141;aa=141;break}case 710:{c[f+12>>2]=131;aa=131;break}case 712:{c[f+12>>2]=137;aa=137;break}case 722:{c[f+12>>2]=134;aa=134;break}case 725:{c[f+12>>2]=134;aa=134;break}case 731:{c[f+12>>2]=130;aa=130;break}case 796:{c[f+12>>2]=130;aa=130;break}case 804:{c[f+12>>2]=130;aa=130;break}case 810:{c[f+12>>2]=130;aa=130;break}case 827:{c[f+12>>2]=134;aa=134;break}case 829:{c[f+12>>2]=132;aa=132;break}case 831:{c[f+12>>2]=138;aa=138;break}case 834:{c[f+12>>2]=131;aa=131;break}case 836:{c[f+12>>2]=128;aa=128;break}case 841:if((c[f+428>>2]|0)>0){c[f+12>>2]=131;aa=131;break}else{ea=0;i=fa;return ea|0}case 844:{c[f+12>>2]=131;aa=131;break}case 845:{if(!X){ea=0;i=fa;return ea|0}else aa=X;break}case 849:{i=fa;return M|0}}if(a[f+488>>0]|0){ea=aa;i=fa;return ea|0}if((c[f+352>>2]|0)!=3){ea=aa;i=fa;return ea|0}ea=c[f+4>>2]|0;c[ea+296>>2]=-1;c[ea+300>>2]=-1;ea=aa;i=fa;return ea|0}function A$a(a){a=a|0;return e[a+252>>1]|0|0}function B$a(a){a=a|0;var d=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=e[a+252>>1]|0;d=c[a+256>>2]|0;if(d|0){a=d;a=H2a(h,a)|0;return a|0}g=b[a+296>>1]|0;if(!(g<<16>>16)){g=c[a+244>>2]|0;c[a+256>>2]=g;a=g;a=H2a(h,a)|0;return a|0}d=b[a+294>>1]|0;f=c[a+248>>2]|0;if(!(d<<16>>16)){c[a+256>>2]=f;a=f;a=H2a(h,a)|0;return a|0}else{m=c[a+244>>2]|0;n=(m|0)<0?0-m|0:m;k=d<<16>>16<0?0-(d<<16>>16)|0:d<<16>>16;l=_(n>>>16,k)|0;k=(l<<16|8192)+(_(n&65535,k)|0)|0;n=(f|0)<0?0-f|0:f;i=g<<16>>16<0?0-(g<<16>>16)|0:g<<16>>16;j=_(n>>>16,i)|0;i=(j<<16|8192)+(_(n&65535,i)|0)|0;g=E2a((m^d<<16>>16|0)>-1?(k>>>0<(l<<16|8192)>>>0&1)+(l>>>16)<<18|k>>>14:0-((k>>>0<(l<<16|8192)>>>0&1)+(l>>>16)<<18|k>>>14)|0,(f^g<<16>>16|0)>-1?(i>>>0<(j<<16|8192)>>>0&1)+(j>>>16)<<18|i>>>14:0-((i>>>0<(j<<16|8192)>>>0&1)+(j>>>16)<<18|i>>>14)|0)|0;c[a+256>>2]=g;a=g;a=H2a(h,a)|0;return a|0}return 0}function C$a(a,b){a=a|0;b=b|0;return c[(c[a+384>>2]|0)+(b<<2)>>2]|0}function D$a(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=c[(c[a+384>>2]|0)+(d<<2)>>2]|0;d=c[a+256>>2]|0;if(d|0){a=d;a=H2a(g,a)|0;return a|0}f=b[a+296>>1]|0;if(!(f<<16>>16)){f=c[a+244>>2]|0;c[a+256>>2]=f;a=f;a=H2a(g,a)|0;return a|0}d=b[a+294>>1]|0;e=c[a+248>>2]|0;if(!(d<<16>>16)){c[a+256>>2]=e;a=e;a=H2a(g,a)|0;return a|0}else{l=c[a+244>>2]|0;m=(l|0)<0?0-l|0:l;j=d<<16>>16<0?0-(d<<16>>16)|0:d<<16>>16;k=_(m>>>16,j)|0;j=(k<<16|8192)+(_(m&65535,j)|0)|0;m=(e|0)<0?0-e|0:e;h=f<<16>>16<0?0-(f<<16>>16)|0:f<<16>>16;i=_(m>>>16,h)|0;h=(i<<16|8192)+(_(m&65535,h)|0)|0;f=E2a((l^d<<16>>16|0)>-1?(j>>>0<(k<<16|8192)>>>0&1)+(k>>>16)<<18|j>>>14:0-((j>>>0<(k<<16|8192)>>>0&1)+(k>>>16)<<18|j>>>14)|0,(e^f<<16>>16|0)>-1?(h>>>0<(i<<16|8192)>>>0&1)+(i>>>16)<<18|h>>>14:0-((h>>>0<(i<<16|8192)>>>0&1)+(i>>>16)<<18|h>>>14)|0)|0;c[a+256>>2]=f;a=f;a=H2a(g,a)|0;return a|0}return 0}function E$a(a,b,d){a=a|0;b=b|0;d=d|0;c[(c[a+384>>2]|0)+(b<<2)>>2]=d;return}function F$a(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=c[a+256>>2]|0;do if(!f){g=b[a+296>>1]|0;if(!(g<<16>>16)){f=c[a+244>>2]|0;c[a+256>>2]=f;break}h=b[a+294>>1]|0;f=c[a+248>>2]|0;if(!(h<<16>>16)){c[a+256>>2]=f;break}else{m=c[a+244>>2]|0;n=(m|0)<0?0-m|0:m;k=h<<16>>16<0?0-(h<<16>>16)|0:h<<16>>16;l=_(n>>>16,k)|0;k=(l<<16|8192)+(_(n&65535,k)|0)|0;n=(f|0)<0?0-f|0:f;i=g<<16>>16<0?0-(g<<16>>16)|0:g<<16>>16;j=_(n>>>16,i)|0;i=(j<<16|8192)+(_(n&65535,i)|0)|0;f=E2a((m^h<<16>>16|0)>-1?(k>>>0<(l<<16|8192)>>>0&1)+(l>>>16)<<18|k>>>14:0-((k>>>0<(l<<16|8192)>>>0&1)+(l>>>16)<<18|k>>>14)|0,(f^g<<16>>16|0)>-1?(i>>>0<(j<<16|8192)>>>0&1)+(j>>>16)<<18|i>>>14:0-((i>>>0<(j<<16|8192)>>>0&1)+(j>>>16)<<18|i>>>14)|0)|0;c[a+256>>2]=f;break}}while(0);n=I2a(e,f)|0;c[(c[a+384>>2]|0)+(d<<2)>>2]=n;return}function G$a(a,b,d){a=a|0;b=b|0;d=d|0;b=(c[a+384>>2]|0)+(b<<2)|0;c[b>>2]=(c[b>>2]|0)+d;return}function H$a(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=c[a+256>>2]|0;do if(!f){g=b[a+296>>1]|0;if(!(g<<16>>16)){f=c[a+244>>2]|0;c[a+256>>2]=f;break}h=b[a+294>>1]|0;f=c[a+248>>2]|0;if(!(h<<16>>16)){c[a+256>>2]=f;break}else{m=c[a+244>>2]|0;n=(m|0)<0?0-m|0:m;k=h<<16>>16<0?0-(h<<16>>16)|0:h<<16>>16;l=_(n>>>16,k)|0;k=(l<<16|8192)+(_(n&65535,k)|0)|0;n=(f|0)<0?0-f|0:f;i=g<<16>>16<0?0-(g<<16>>16)|0:g<<16>>16;j=_(n>>>16,i)|0;i=(j<<16|8192)+(_(n&65535,i)|0)|0;f=E2a((m^h<<16>>16|0)>-1?(k>>>0<(l<<16|8192)>>>0&1)+(l>>>16)<<18|k>>>14:0-((k>>>0<(l<<16|8192)>>>0&1)+(l>>>16)<<18|k>>>14)|0,(f^g<<16>>16|0)>-1?(i>>>0<(j<<16|8192)>>>0&1)+(j>>>16)<<18|i>>>14:0-((i>>>0<(j<<16|8192)>>>0&1)+(j>>>16)<<18|i>>>14)|0)|0;c[a+256>>2]=f;break}}while(0);m=I2a(e,f)|0;n=(c[a+384>>2]|0)+(d<<2)|0;c[n>>2]=(c[n>>2]|0)+m;return}function I$a(a){a=a|0;var d=0,e=0,f=0,g=0;g=b[a+298>>1]|0;do if(g<<16>>16==16384){d=b[a+294>>1]|0;c[a+564>>2]=d<<16>>16;f=d;d=d<<16>>16}else{d=b[a+300>>1]|0;e=b[a+296>>1]|0;if(d<<16>>16==16384){c[a+564>>2]=e<<16>>16;f=b[a+294>>1]|0;d=e<<16>>16;break}else{f=b[a+294>>1]|0;d=(_(e<<16>>16,d<<16>>16)|0)+(_(f<<16>>16,g<<16>>16)|0)>>14;c[a+564>>2]=d;break}}while(0);do if(f<<16>>16==16384)c[a+572>>2]=144;else if((b[a+296>>1]|0)==16384){c[a+572>>2]=145;break}else{c[a+572>>2]=146;break}while(0);do if((b[a+290>>1]|0)==16384)c[a+576>>2]=144;else if((b[a+292>>1]|0)==16384){c[a+576>>2]=145;break}else{c[a+576>>2]=147;break}while(0);c[a+584>>2]=44;c[a+588>>2]=45;do if((d|0)==16384){if(g<<16>>16==16384){c[a+584>>2]=46;c[a+588>>2]=47;break}if((b[a+300>>1]|0)==16384){c[a+584>>2]=48;c[a+588>>2]=49}}while(0);if((((d|0)<0?0-d|0:d)|0)>=1024){a=a+256|0;c[a>>2]=0;return}c[a+564>>2]=16384;a=a+256|0;c[a>>2]=0;return}function J$a(a,b,c){a=a|0;b=b|0;c=c|0;return b|0}function K$a(a,b,c){a=a|0;b=b|0;c=c|0;return c|0}function L$a(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,f=0;f=b[a+294>>1]|0;a=b[a+296>>1]|0;e=_(f,c&65535)|0;c=_(f,c>>16)|0;f=_(a,d&65535)|0;d=_(a,d>>16)|0;a=(d<<16)+f+((c<<16)+e)|0;d=(c>>16)+(e>>31)+(f>>31)+(d>>16)+(((c<<16)+e|0)>>>0>>0&1)+(((d<<16)+f|0)>>>0>>0&1)+(a>>>0<((c<<16)+e|0)>>>0&1)|0;return (d>>31)+d+(((d>>31)+a|0)>>>0>>0&1)+(((d>>31)+a|0)>>>0>4294959103&1)<<18|((d>>31)+a+8192|0)>>>14|0}function M$a(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,f=0;f=b[a+290>>1]|0;a=b[a+292>>1]|0;e=_(f,c&65535)|0;c=_(f,c>>16)|0;f=_(a,d&65535)|0;d=_(a,d>>16)|0;a=(d<<16)+f+((c<<16)+e)|0;d=(c>>16)+(e>>31)+(f>>31)+(d>>16)+(((c<<16)+e|0)>>>0>>0&1)+(((d<<16)+f|0)>>>0>>0&1)+(a>>>0<((c<<16)+e|0)>>>0&1)|0;return (d>>31)+d+(((d>>31)+a|0)>>>0>>0&1)+(((d>>31)+a|0)>>>0>4294959103&1)<<18|((d>>31)+a+8192|0)>>>14|0}function N$a(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0;i=b[e+298>>1]|0;if(i<<16>>16){j=F2a(h,i<<16>>16,c[e+564>>2]|0)|0;i=(c[f+16>>2]|0)+((g&65535)<<3)|0;c[i>>2]=(c[i>>2]|0)+j;i=(c[f+24>>2]|0)+(g&65535)|0;a[i>>0]=d[i>>0]|0|8}i=b[e+300>>1]|0;if(!(i<<16>>16))return;e=F2a(h,i<<16>>16,c[e+564>>2]|0)|0;j=(c[f+16>>2]|0)+((g&65535)<<3)+4|0;c[j>>2]=(c[j>>2]|0)+e;j=(c[f+24>>2]|0)+(g&65535)|0;a[j>>0]=d[j>>0]|0|16;return}function O$a(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=b[a+298>>1]|0;if(g<<16>>16){h=F2a(f,g<<16>>16,c[a+564>>2]|0)|0;g=(c[d+12>>2]|0)+((e&65535)<<3)|0;c[g>>2]=(c[g>>2]|0)+h}g=b[a+300>>1]|0;if(!(g<<16>>16))return;a=F2a(f,g<<16>>16,c[a+564>>2]|0)|0;h=(c[d+12>>2]|0)+((e&65535)<<3)+4|0;c[h>>2]=(c[h>>2]|0)+a;return}function P$a(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;b=(c[e+16>>2]|0)+((f&65535)<<3)|0;c[b>>2]=(c[b>>2]|0)+g;e=(c[e+24>>2]|0)+(f&65535)|0;a[e>>0]=d[e>>0]|0|8;return}function Q$a(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;b=(c[b+12>>2]|0)+((d&65535)<<3)|0;c[b>>2]=(c[b>>2]|0)+e;return}function R$a(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;b=(c[e+16>>2]|0)+((f&65535)<<3)+4|0;c[b>>2]=(c[b>>2]|0)+g;e=(c[e+24>>2]|0)+(f&65535)|0;a[e>>0]=d[e>>0]|0|16;return}function S$a(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;b=(c[b+12>>2]|0)+((d&65535)<<3)+4|0;c[b>>2]=(c[b>>2]|0)+e;return}function T$a(a,b,c){a=a|0;b=b|0;c=c|0;if((b|0)>-1){a=(c+b|0)<0?0:c+b|0;return a|0}else{a=(b-c|0)>0?0:b-c|0;return a|0}return 0}function U$a(a,b,c){a=a|0;b=b|0;c=c|0;if((b|0)>-1){a=(b+32+c&-64|0)<0?0:b+32+c&-64;return a|0}else{a=(0-(32-b+c&-64)|0)>0?0:0-(32-b+c&-64)|0;return a|0}return 0}function V$a(a,b,c){a=a|0;b=b|0;c=c|0;if((b|0)>-1){a=(b+63+c&-64|0)<0?0:b+63+c&-64;return a|0}else{a=(0-(63-b+c&-64)|0)>0?0:0-(63-b+c&-64)|0;return a|0}return 0}function W$a(a,b,c){a=a|0;b=b|0;c=c|0;if((b|0)>-1){a=(c+b&-64|0)<0?0:c+b&-64;return a|0}else{a=(0-(c-b&-64)|0)>0?0:0-(c-b&-64)|0;return a|0}return 0}function X$a(a,b,c){a=a|0;b=b|0;c=c|0;if((b|0)>-1){a=(c+b&-64|32|0)<0?32:c+b&-64|32;return a|0}else{a=(c-b&-64|32|0)<0?-32:0-(c-b&-64|32)|0;return a|0}return 0}function Y$a(a,b,c){a=a|0;b=b|0;c=c|0;if((b|0)>-1){a=(b+16+c&-32|0)<0?0:b+16+c&-32;return a|0}else{a=(0-(16-b+c&-32)|0)>0?0:0-(16-b+c&-32)|0;return a|0}return 0}function Z$a(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;if((b|0)>-1){e=c[a+480>>2]|0;a=(d+b-e+(c[a+484>>2]|0)&0-(c[a+476>>2]|0))+e|0;return ((a|0)<0?e:a)|0}else{f=c[a+480>>2]|0;e=0-((d-b+(c[a+484>>2]|0)-f&0-(c[a+476>>2]|0))+f)|0;return ((e|0)>0?0-f|0:e)|0}return 0}function _$a(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;if((b|0)>-1){e=c[a+480>>2]|0;b=d+b-e+(c[a+484>>2]|0)|0;a=b-((b|0)%(c[a+476>>2]|0)|0)+e|0;return ((a|0)<0?e:a)|0}else{f=c[a+480>>2]|0;e=d-b+(c[a+484>>2]|0)-f|0;e=((e|0)%(c[a+476>>2]|0)|0)-e-f|0;return ((e|0)>0?0-f|0:e)|0}return 0}function $$a(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;if(b>>>0>d>>>0)return;n=c[a+12>>2]|0;if(!(n>>>0>e>>>0&n>>>0>f>>>0))return;m=c[a+8>>2]|0;g=c[m+(e<<3)>>2]|0;m=c[m+(f<<3)>>2]|0;i=(g|0)>(m|0)?g:m;j=(g|0)>(m|0)?m:g;n=(g|0)>(m|0)?e:f;m=(g|0)>(m|0)?f:e;g=c[a>>2]|0;k=c[g+(m<<3)>>2]|0;l=c[g+(n<<3)>>2]|0;h=c[a+4>>2]|0;m=c[h+(m<<3)>>2]|0;n=c[h+(n<<3)>>2]|0;if((i|0)==(j|0)|(n|0)==(m|0)){f=b;do{e=c[g+(f<<3)>>2]|0;if((e|0)>(k|0))e=(e|0)<(l|0)?m:e+(n-l)|0;else e=e+(m-k)|0;c[h+(f<<3)>>2]=e;f=f+1|0}while(f>>>0<=d>>>0);return}e=0;f=0;while(1){g=c[g+(b<<3)>>2]|0;do if((g|0)>(k|0)){if((g|0)>=(l|0)){g=g+(n-l)|0;break}if(!(f<<24>>24)){e=I2a(n-m|0,i-j|0)|0;f=1}g=(H2a((c[(c[a+8>>2]|0)+(b<<3)>>2]|0)-j|0,e)|0)+m|0;h=c[a+4>>2]|0}else g=g+(m-k)|0;while(0);c[h+(b<<3)>>2]=g;b=b+1|0;if(b>>>0>d>>>0)break;g=c[a>>2]|0}return}function a0a(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+16|0;if(!(a[d+368>>0]&1)){k=c[d+72>>2]|0;l=c[d+72+4>>2]|0;n=c[d+80>>2]|0;o=c[d+84>>2]|0;p=c[d+88>>2]|0;c[q>>2]=c[d+92>>2];c[q+4>>2]=c[d+92+4>>2];c[q+8>>2]=c[d+92+8>>2];c[q+12>>2]=c[d+92+12>>2];j=d+288|0}else{k=c[d+36>>2]|0;l=c[d+36+4>>2]|0;n=c[d+44>>2]|0;o=c[d+48>>2]|0;p=c[d+52>>2]|0;c[q>>2]=c[d+56>>2];c[q+4>>2]=c[d+56+4>>2];c[q+8>>2]=c[d+56+8>>2];c[q+12>>2]=c[d+56+12>>2];j=d+286|0}m=n&65535;j=b[j>>1]|0;if((j&65535)<(m&65535)){c[g>>2]=k;c[g+4>>2]=l;b[g+8>>1]=m;b[g+10>>1]=n>>>16;c[g+12>>2]=o;c[g+16>>2]=p;c[g+20>>2]=c[q>>2];c[g+20+4>>2]=c[q+4>>2];c[g+20+8>>2]=c[q+8>>2];c[g+20+12>>2]=c[q+12>>2];b[h>>1]=j;p=Gi[c[d+572>>2]&255](d,(c[p+((j&65535)<<3)>>2]|0)-(c[o+((j&65535)<<3)>>2]|0)|0,(c[p+((j&65535)<<3)+4>>2]|0)-(c[o+((j&65535)<<3)+4>>2]|0)|0)|0;c[e>>2]=F2a(p,b[d+298>>1]|0,c[d+564>>2]|0)|0;c[f>>2]=F2a(p,b[d+300>>1]|0,c[d+564>>2]|0)|0;p=0;i=q;return p|0}if(a[d+561>>0]|0)c[d+12>>2]=134;b[h>>1]=0;p=1;i=q;return p|0}function b0a(b,f){b=b|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=vi[c[b+592>>2]&2047](b)|0;j=c[f>>2]|0;if(!j){l=c[b+28>>2]|0;m=b+32|0;c[m>>2]=l;return}k=1;while(1){f=c[b+28>>2]|0;if((f|0)<2)break;c[b+28>>2]=f+-2;h=c[b+24>>2]|0;i=c[h+(f+-1<<2)>>2]|0;f=c[h+(f+-2<<2)>>2]|0;if((i&65535)>>>0<(e[b+44>>1]|0)>>>0){switch(d[b+368>>0]|0){case 114:{h=f>>>4&15|32;break}case 113:{h=f>>>4&15|16;break}default:h=f>>>4&15}g=c[b+332>>2]|0;if((l|0)==((g&65535)+h|0))kj[c[b+584>>2]&127](b,b+36|0,i&65535,(((f&15)+-8|0)>-1?(f&15)+-7|0:(f&15)+-8|0)<<6-(g>>>16))}else if(a[b+561>>0]|0)c[b+12>>2]=134;k=k+1|0;if(k>>>0>j>>>0){m=16;break}}if((m|0)==16){l=c[b+28>>2]|0;m=b+32|0;c[m>>2]=l;return}if(a[b+561>>0]|0)c[b+12>>2]=129;c[b+28>>2]=0;l=c[b+28>>2]|0;m=b+32|0;c[m>>2]=l;return}function c0a(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0;k=i;i=i+16|0;c[d>>2]=e;c[d+4>>2]=f;if(f|0){c[d+396>>2]=c[f+116>>2];c[d+400>>2]=c[f+120>>2];c[d+408>>2]=c[f+128>>2];c[d+412>>2]=c[f+132>>2];c[d+404>>2]=c[f+124>>2];c[d+416>>2]=c[f+136>>2];g=d+244|0;h=f+72|0;j=g+40|0;do{c[g>>2]=c[h>>2];g=g+4|0;h=h+4|0}while((g|0)<(j|0));c[d+216>>2]=c[f+44>>2];c[d+216+4>>2]=c[f+44+4>>2];c[d+216+8>>2]=c[f+44+8>>2];c[d+216+12>>2]=c[f+44+12>>2];c[d+216+16>>2]=c[f+44+16>>2];c[d+216+20>>2]=c[f+44+20>>2];c[d+216+24>>2]=c[f+44+24>>2];c[d+420>>2]=c[f+140>>2];c[d+424>>2]=c[f+144>>2];g=c[f+148+4>>2]|0;c[d+444>>2]=c[f+148>>2];c[d+444+4>>2]=g;g=c[f+156+4>>2]|0;c[d+452>>2]=c[f+156>>2];c[d+452+4>>2]=g;g=c[f+164+4>>2]|0;c[d+460>>2]=c[f+164>>2];c[d+460+4>>2]=g;g=d+284|0;h=f+172|0;j=g+68|0;do{c[g>>2]=c[h>>2];g=g+4|0;h=h+4|0}while((g|0)<(j|0));c[d+380>>2]=c[f+240>>2];c[d+384>>2]=c[f+244>>2];b[d+468>>1]=b[f+248>>1]|0;c[d+472>>2]=c[f+252>>2];g=d+180|0;h=f+256|0;j=g+36|0;do{c[g>>2]=c[h>>2];g=g+4|0;h=h+4|0}while((g|0)<(j|0));g=d+36|0;j=g+108|0;do{c[g>>2]=0;g=g+4|0}while((g|0)<(j|0))}f=c[d+20>>2]|0;g=c[d+8>>2]|0;j=c[e+284>>2]|0;do if(f>>>0<((j&65535)+32|0)>>>0){c[d+24>>2]=JTa(g,1,f<<2,(j&65535)+32<<2,c[d+24>>2]|0,k)|0;g=c[k>>2]|0;if(!g){h=b[e+286>>1]|0;g=c[d+8>>2]|0;f=(j&65535)+32|0;break}c[d+20>>2]=f;d=g;i=k;return d|0}else h=j>>>16&65535;while(0);c[d+20>>2]=f;f=c[d+388>>2]|0;h=h&65535;if(f>>>0>>0){c[d+392>>2]=JTa(g,1,f,h,c[d+392>>2]|0,k)|0;g=c[k>>2]|0;if(!g)f=h;else{c[d+388>>2]=f&65535;d=g;i=k;return d|0}}c[d+388>>2]=f&65535;b[d+152>>1]=0;b[d+154>>1]=0;g=d+72|0;h=d+144|0;j=g+36|0;do{c[g>>2]=c[h>>2];g=g+4|0;h=h+4|0}while((g|0)<(j|0));g=d+108|0;h=d+144|0;j=g+36|0;do{c[g>>2]=c[h>>2];g=g+4|0;h=h+4|0}while((g|0)<(j|0));g=d+36|0;h=d+144|0;j=g+36|0;do{c[g>>2]=c[h>>2];g=g+4|0;h=h+4|0}while((g|0)<(j|0));a[d+488>>0]=0;d=0;i=k;return d|0}function d0a(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0;g=c[d>>2]|0;i=c[d+292>>2]|0;f=c0a(i,g,d)|0;if(f|0){d=f;return d|0}c[i+428>>2]=0;c[i+16>>2]=0;a[i+488>>0]=0;a[i+561>>0]=e;f=c[g+640>>2]|0;e=c[g+636>>2]|0;c[i+452>>2]=f;c[i+456>>2]=e;c[i+460>>2]=0;c[i+464>>2]=0;if(!e)f=0;else{c[i+356>>2]=f;c[i+364>>2]=e;c[i+360>>2]=0;c[i+352>>2]=2;f=vi[c[g+652>>2]&2047](i)|0}c[d+300>>2]=f;b[i+290>>1]=16384;b[i+292>>1]=0;b[i+294>>1]=16384;b[i+296>>1]=0;b[i+298>>1]=16384;b[i+300>>1]=0;b[i+284>>1]=0;b[i+286>>1]=0;b[i+288>>1]=0;b[i+344>>1]=1;b[i+346>>1]=1;b[i+348>>1]=1;c[i+304>>2]=1;e=d+172|0;g=i+284|0;h=e+68|0;do{c[e>>2]=c[g>>2];e=e+4|0;g=g+4|0}while((e|0)<(h|0));c[d+116>>2]=c[i+396>>2];c[d+128>>2]=c[i+408>>2];c[d+140>>2]=c[i+420>>2];c[d+144>>2]=c[i+424>>2];h=c[i+444+4>>2]|0;c[d+148>>2]=c[i+444>>2];c[d+148+4>>2]=h;h=c[i+452+4>>2]|0;c[d+156>>2]=c[i+452>>2];c[d+156+4>>2]=h;h=c[i+460+4>>2]|0;c[d+164>>2]=c[i+460>>2];c[d+164+4>>2]=h;d=f;return d|0}function e0a(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=c[a+532>>2]|0;c[e>>2]=0;c[e+4>>2]=0;if(!f)return 0;c[e>>2]=Gi[c[f+84>>2]&255](a,b,d)|0;return 0}function f0a(d,f,g,h,j){d=d|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0;l=i;i=i+16|0;if(!(h&16)){if(!g){i=l;return 0}h=0;do{qi[c[(c[d+532>>2]|0)+112>>2]&15](d,0,h+f|0,l+2|0,l);c[j+(h<<2)>>2]=e[l>>1];h=h+1|0}while((h|0)!=(g|0));i=l;return 0}if(!g){i=l;return 0}k=0;do{do if(!(a[d+292>>0]|0))if((b[d+364>>1]|0)==-1){b[l+2>>1]=b[d+220>>1]|0;h=c[d+220>>2]|0;h=(((h<<16>>16)-(h>>16)|0)<0?0-((h<<16>>16)-(h>>16))|0:(h<<16>>16)-(h>>16)|0)&65535;b[l>>1]=h;break}else{h=b[d+434>>1]|0;b[l+2>>1]=h;h=(h<<16>>16)-(b[d+436>>1]|0)|0;h=((h|0)<0?0-h|0:h)&65535;b[l>>1]=h;break}else{qi[c[(c[d+532>>2]|0)+112>>2]&15](d,1,k+f|0,l+2|0,l);h=b[l>>1]|0}while(0);c[j+(k<<2)>>2]=h&65535;k=k+1|0}while((k|0)!=(g|0));i=l;return 0}function g0a(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+16|0;d=c[a>>2]|0;do if(!(c[d+8>>2]&2))e=0;else{e=Gi[c[(c[d+532>>2]|0)+104>>2]&255](d,b,f)|0;if(e|0){c[a+112>>2]=-1;d=c[a>>2]|0;break}d=c[f>>2]|0;e=c[a>>2]|0;c[a+112>>2]=d;if(!(c[e+8>>2]&1)){d=Gi[c[(c[e+532>>2]|0)+108>>2]&255](e,d,a+12|0)|0;if(!d)d=0;else c[a+112>>2]=-1}else{iSa(e,d);h0a(a)|0;d=0}a=d;i=f;return a|0}while(0);jSa(d,b);if(!(c[(c[a>>2]|0)+8>>2]&1)){a=e;i=f;return a|0}b=h0a(a)|0;c[a+12>>2]=c[a+44>>2];c[a+12+4>>2]=c[a+44+4>>2];c[a+12+8>>2]=c[a+44+8>>2];c[a+12+12>>2]=c[a+44+12>>2];c[a+12+16>>2]=c[a+44+16>>2];c[a+12+20>>2]=c[a+44+20>>2];c[a+12+24>>2]=c[a+44+24>>2];a=b;i=f;return a|0}function h0a(d){d=d|0;var f=0,g=0,h=0,i=0,j=0;a[d+108>>0]=0;f=c[d>>2]|0;c[d+44>>2]=c[d+12>>2];c[d+44+4>>2]=c[d+12+4>>2];c[d+44+8>>2]=c[d+12+8>>2];c[d+44+12>>2]=c[d+12+12>>2];c[d+44+16>>2]=c[d+12+16>>2];c[d+44+20>>2]=c[d+12+20>>2];c[d+44+24>>2]=c[d+12+24>>2];g=c[d+44>>2]|0;if(!((g&65535)<<16>>16)){d=151;return d|0}if(!((g>>>16&65535)<<16>>16)){d=151;return d|0}if(!(b[f+176>>1]&8)){h=g&65535;i=g>>>16&65535;j=g;f=g>>>16}else{c[d+48>>2]=I2a(g<<6&4194240,e[f+68>>1]|0)|0;h=I2a(e[d+46>>1]<<6,e[f+68>>1]|0)|0;c[d+52>>2]=h;c[d+56>>2]=(H2a(b[f+70>>1]|0,h)|0)+32&-64;c[d+60>>2]=(H2a(b[f+72>>1]|0,c[d+52>>2]|0)|0)+32&-64;c[d+64>>2]=(H2a(b[f+74>>1]|0,c[d+52>>2]|0)|0)+32&-64;c[d+68>>2]=(H2a(b[f+76>>1]|0,c[d+48>>2]|0)|0)+32&-64;f=c[d+44>>2]|0;h=f&65535;i=f>>>16&65535;j=f;f=f>>>16}if((h&65535)<(i&65535)){c[d+88>>2]=c[d+52>>2];b[d+80>>1]=i;c[d+72>>2]=I2a(j&65535,i&65535)|0;f=65536}else{c[d+88>>2]=c[d+48>>2];b[d+80>>1]=h;c[d+72>>2]=65536;f=I2a(f,j&65535)|0}c[d+76>>2]=f;c[d+300>>2]=-1;a[d+108>>0]=1;d=0;return d|0}function i0a(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;c[a+112>>2]=b;if(c[d+8>>2]&1|0){iSa(d,b);h0a(a)|0;a=0;return a|0}d=Gi[c[(c[d+532>>2]|0)+108>>2]&255](d,b,a+12|0)|0;if(!d){a=0;return a|0}c[a+112>>2]=-1;a=d;return a|0}function j0a(a){a=a|0;return 0}function k0a(a){a=a|0;return}function l0a(a,b){a=a|0;b=b|0;return HRa(54916,b)|0}function m0a(a){a=a|0;return c[a+364>>2]|0}function n0a(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;NTa(d,c[(c[a+420>>2]|0)+(b<<2)>>2]|0,e)|0;return 0}function o0a(a,b){a=a|0;b=b|0;var d=0,e=0;e=c[a+416>>2]|0;if((e|0)<=0){b=0;return b|0}d=c[a+420>>2]|0;a=0;while(1){if(!(Imb(b,c[d+(a<<2)>>2]|0)|0)){d=5;break}a=a+1|0;if((a|0)>=(e|0)){a=0;d=5;break}}if((d|0)==5)return a|0;return 0}function p0a(a,b){a=a|0;b=b|0;c[b>>2]=c[a+132>>2];c[b+4>>2]=c[a+132+4>>2];c[b+8>>2]=c[a+132+8>>2];c[b+12>>2]=c[a+132+12>>2];c[b+16>>2]=c[a+132+16>>2];c[b+20>>2]=c[a+132+20>>2];c[b+24>>2]=c[a+132+24>>2];c[b+28>>2]=c[a+132+28>>2];return 0}function q0a(a,c){a=a|0;c=c|0;b[c>>1]=b[a+164>>1]|0;return 0}function r0a(a){a=a|0;return 1}function s0a(a,b){a=a|0;b=b|0;mBb(b|0,a+168|0,196)|0;return 0}function t0a(e,f,g,h,i){e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0;j=(i|0)<0?0:i;do switch(f|0){case 0:{if((h|0)==0|(j|0)==0)i=1;else{a[h>>0]=a[e+132+301>>0]|0;i=1}break}case 1:{if(g>>>0<4)if((h|0)!=0&j>>>0>3){switch(g|0){case 0:{i=c[e+436>>2]|0;break}case 1:{i=c[e+436+4>>2]|0;break}case 2:{i=c[e+436+8>>2]|0;break}case 3:{i=c[e+436+12>>2]|0;break}default:i=0}c[h>>2]=i;i=4}else i=4;else i=0;break}case 2:{if(g>>>0<4)if((h|0)!=0&j>>>0>3){switch(g|0){case 0:{i=c[e+460>>2]|0;break}case 1:{i=c[e+460+4>>2]|0;break}case 2:{i=c[e+460+8>>2]|0;break}case 3:{i=c[e+460+12>>2]|0;break}default:i=0}c[h>>2]=i;i=4}else i=4;else i=0;break}case 3:{if((h|0)==0|(j|0)==0)i=1;else{a[h>>0]=a[e+432>>0]|0;i=1}break}case 4:{f=c[e+364>>2]|0;i=(rnb(f)|0)+1|0;if(!((h|0)==0|j>>>0>>0))mBb(h|0,f|0,i|0)|0;break}case 5:{if((h|0)!=0&j>>>0>3){c[h>>2]=c[e+168>>2];i=4}else i=4;break}case 6:{if((h|0)!=0&j>>>0>3){c[h>>2]=c[e+416>>2];i=4}else i=4;break}case 7:{if((c[e+416>>2]|0)>>>0>g>>>0){i=c[(c[e+420>>2]|0)+(g<<2)>>2]|0;f=rnb(i)|0;if((h|0)==0|j>>>0<(f+1|0)>>>0)i=f+1|0;else{mBb(h|0,i|0,f+1|0)|0;a[h+f>>0]=0;i=f+1|0}}else i=0;break}case 8:{if((c[e+416>>2]|0)>>>0>g>>>0){i=c[(c[e+428>>2]|0)+(g<<2)>>2]|0;if((h|0)==0|j>>>0<(i+1|0)>>>0)i=i+1|0;else{mBb(h|0,c[(c[e+424>>2]|0)+(g<<2)>>2]|0,i|0)|0;a[h+i>>0]=0;i=i+1|0}}else i=0;break}case 9:{if((h|0)!=0&j>>>0>3){c[h>>2]=c[e+368>>2];i=4}else i=4;break}case 10:{if((c[e+368>>2]|0)==1)if((c[e+372>>2]|0)>>>0>g>>>0){i=c[(c[e+372+16>>2]|0)+(g<<2)>>2]|0;f=rnb(i)|0;if((h|0)==0|j>>>0<(f+1|0)>>>0)i=f+1|0;else{mBb(h|0,i|0,f|0)|0;a[h+f>>0]=0;i=f+1|0}}else i=0;else i=0;break}case 11:{if((h|0)!=0&j>>>0>3){c[h>>2]=c[e+404>>2];i=4}else i=4;break}case 12:{if((c[e+404>>2]|0)>>>0>g>>>0){i=c[(c[e+412>>2]|0)+(g<<2)>>2]|0;if((h|0)==0|j>>>0<(i+1|0)>>>0)i=i+1|0;else{mBb(h|0,c[(c[e+408>>2]|0)+(g<<2)>>2]|0,i|0)|0;a[h+i>>0]=0;i=i+1|0}}else i=0;break}case 13:{if((h|0)!=0&j>>>0>1){b[h>>1]=b[e+168+120>>1]|0;i=2}else i=2;break}case 14:{if((h|0)!=0&j>>>0>1){b[h>>1]=b[e+168+122>>1]|0;i=2}else i=2;break}case 15:{if((h|0)==0|(j|0)==0)i=1;else{a[h>>0]=a[e+168+8>>0]|0;i=1}break}case 16:{if((d[e+168+8>>0]|0)>>>0>g>>>0)if((h|0)!=0&j>>>0>1){b[h>>1]=b[e+168+12+(g<<1)>>1]|0;i=2}else i=2;else i=0;break}case 24:{if((h|0)!=0&j>>>0>3){c[h>>2]=c[e+168+108>>2];i=4}else i=4;break}case 17:{if((h|0)!=0&j>>>0>3){c[h>>2]=c[e+168+116>>2];i=4}else i=4;break}case 25:{if((h|0)!=0&j>>>0>3){c[h>>2]=c[e+168+112>>2];i=4}else i=4;break}case 18:{if((h|0)==0|(j|0)==0)i=1;else{a[h>>0]=a[e+168+9>>0]|0;i=1}break}case 19:{if((d[e+168+9>>0]|0)>>>0>g>>>0)if((h|0)!=0&j>>>0>1){b[h>>1]=b[e+168+40+(g<<1)>>1]|0;i=2}else i=2;else i=0;break}case 20:{if((h|0)==0|(j|0)==0)i=1;else{a[h>>0]=a[e+168+10>>0]|0;i=1}break}case 21:{if((d[e+168+10>>0]|0)>>>0>g>>>0)if((h|0)!=0&j>>>0>1){b[h>>1]=b[e+168+60+(g<<1)>>1]|0;i=2}else i=2;else i=0;break}case 22:{if((h|0)==0|(j|0)==0)i=1;else{a[h>>0]=a[e+168+11>>0]|0;i=1}break}case 23:{if((d[e+168+11>>0]|0)>>>0>g>>>0)if((h|0)!=0&j>>>0>1){b[h>>1]=b[e+168+88+(g<<1)>>1]|0;i=2}else i=2;else i=0;break}case 26:{if((h|0)==0|(j|0)==0)i=1;else{a[h>>0]=a[e+168+124>>0]|0;i=1}break}case 27:{if((d[e+168+124>>0]|0)>>>0>g>>>0)if((h|0)!=0&j>>>0>1){b[h>>1]=b[e+168+128+(g<<1)>>1]|0;i=2}else i=2;else i=0;break}case 28:{if((h|0)==0|(j|0)==0)i=1;else{a[h>>0]=a[e+168+125>>0]|0;i=1}break}case 29:{if((d[e+168+125>>0]|0)>>>0>g>>>0)if((h|0)!=0&j>>>0>1){b[h>>1]=b[e+168+154+(g<<1)>>1]|0;i=2}else i=2;else i=0;break}case 31:{if((h|0)==0|(j|0)==0)i=1;else{a[h>>0]=a[e+168+127>>0]|0;i=1}break}case 30:{if((h|0)==0|(j|0)==0)i=1;else{a[h>>0]=a[e+168+126>>0]|0;i=1}break}case 32:{if(g>>>0<2)if((h|0)!=0&j>>>0>1){b[h>>1]=b[e+168+192+(g<<1)>>1]|0;i=2}else i=2;else i=0;break}case 33:{if((h|0)!=0&j>>>0>3){c[h>>2]=c[e+168+4>>2];i=4}else i=4;break}case 34:{if((h|0)!=0&j>>>0>3){c[h>>2]=c[e+168+188>>2];i=4}else i=4;break}case 35:{if((h|0)!=0&j>>>0>3){c[h>>2]=c[e+168+184>>2];i=4}else i=4;break}case 41:{if((h|0)==0|(j|0)==0)i=1;else{a[h>>0]=a[e+156>>0]|0;i=1}break}case 42:{if((h|0)!=0&j>>>0>1){b[h>>1]=b[e+132+26>>1]|0;i=2}else i=2;break}case 43:{if((h|0)!=0&j>>>0>1){b[h>>1]=b[e+160>>1]|0;i=2}else i=2;break}case 44:{if((h|0)!=0&j>>>0>1){b[h>>1]=b[e+164>>1]|0;i=2}else i=2;break}case 36:{f=c[e+132>>2]|0;i=(rnb(f)|0)+1|0;if(!((h|0)==0|j>>>0>>0))mBb(h|0,f|0,i|0)|0;break}case 37:{f=c[e+136>>2]|0;i=(rnb(f)|0)+1|0;if(!((h|0)==0|j>>>0>>0))mBb(h|0,f|0,i|0)|0;break}case 38:{f=c[e+140>>2]|0;i=(rnb(f)|0)+1|0;if(!((h|0)==0|j>>>0>>0))mBb(h|0,f|0,i|0)|0;break}case 39:{f=c[e+144>>2]|0;i=(rnb(f)|0)+1|0;if(!((h|0)==0|j>>>0>>0))mBb(h|0,f|0,i|0)|0;break}case 40:{f=c[e+148>>2]|0;i=(rnb(f)|0)+1|0;if(!((h|0)==0|j>>>0>>0))mBb(h|0,f|0,i|0)|0;break}case 45:{if((h|0)!=0&j>>>0>3){c[h>>2]=c[e+152>>2];i=4}else i=4;break}default:i=0}while(0);return ((i|0)==0?-1:i)|0}function u0a(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;k=c[a+492>>2]|0;if(!k){b=6;return b|0}a=c[k+32>>2]|0;if(!a){b=0;return b|0}j=0;do{i=c[k+28>>2]|0;do if((c[i+(j*20|0)>>2]|0)==(d|0)){f=c[i+(j*20|0)+4>>2]|0;if((f|0)>(b|0)){c[e>>2]=c[i+(j*20|0)+8>>2];break}g=c[i+(j*20|0)+12>>2]|0;h=c[i+(j*20|0)+16>>2]|0;if((g|0)<(b|0)){c[e>>2]=h;break}else{i=i+(j*20|0)+8|0;a=F2a(b-f|0,h-(c[i>>2]|0)|0,g-f|0)|0;c[e>>2]=(c[i>>2]|0)+a;a=c[k+32>>2]|0;break}}while(0);j=j+1|0}while(j>>>0>>0);a=0;return a|0}function v0a(a,b){a=a|0;b=b|0;var e=0,f=0,g=0;a=c[a+528>>2]|0;if(!a){b=6;return b|0}e=c[a+4>>2]|0;c[b>>2]=e;c[b+4>>2]=c[a>>2];if(!e){b=0;return b|0}else f=0;do{c[b+8+(f*12|0)>>2]=c[a+8+(f<<2)>>2];g=c[a+88+(f*12|0)+4>>2]|0;c[b+8+(f*12|0)+4>>2]=c[g>>2];c[b+8+(f*12|0)+8>>2]=c[g+((d[a+88+(f*12|0)>>0]|0)+-1<<2)>>2];f=f+1|0}while(f>>>0>>0);a=0;return a|0}function w0a(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+64|0;h=c[b+528>>2]|0;if(!h){b=6;i=s;return b|0}g=c[h+4>>2]|0;q=g>>>0>>0?g:e;if(!g)g=0;else{p=0;do{e=h+88+(p*12|0)|0;m=c[h+88+(p*12|0)+4>>2]|0;o=c[h+88+(p*12|0)+8>>2]|0;if(p>>>0>>0){n=e;e=a[e>>0]|0;l=c[f+(p<<2)>>2]|0}else{l=a[e>>0]|0;n=e;e=l;l=((c[m+((l&255)+-1<<2)>>2]|0)-(c[m>>2]|0)|0)/2|0}do if(!(e<<24>>24))r=12;else{k=-1;e=0;while(1){j=c[m+(e<<2)>>2]|0;if((l|0)==(j|0)){r=8;break}if((l|0)<(j|0)){j=e;e=k;break}j=e+1|0;if(j>>>0<(d[n>>0]|0)>>>0){k=e;e=j}else{j=-1;break}}if((r|0)==8){r=0;e=c[o+(e<<2)>>2]|0;break}if((e|0)<0)r=12;else if((j|0)<0){e=c[o+((d[n>>0]|0)+-1<<2)>>2]|0;break}else{g=c[m+(e<<2)>>2]|0;e=F2a(l-g|0,(c[o+(j<<2)>>2]|0)-(c[o+(e<<2)>>2]|0)|0,(c[m+(j<<2)>>2]|0)-g|0)|0;g=c[h+4>>2]|0;break}}while(0);if((r|0)==12){r=0;e=c[o>>2]|0}c[s+(p<<2)>>2]=e;p=p+1|0}while(p>>>0>>0);h=c[b+528>>2]|0;if(!h){b=6;i=s;return b|0}}o=h+4|0;e=c[o>>2]|0;m=e>>>0>>0?e:g;g=c[h>>2]|0;if(!g){b=0;i=s;return b|0}n=h+136|0;l=0;do{if(!e){e=0;j=65536}else{k=0;j=65536;do{if(k>>>0>>0)g=c[s+(k<<2)>>2]|0;else g=32768;e=(g|0)<0?0:g;e=(e|0)>65536?65536:e;j=H2a(j,(1<>2]|0}while(k>>>0>>0);g=c[h>>2]|0}c[(c[n>>2]|0)+(l<<2)>>2]=j;l=l+1|0}while(l>>>0>>0);g=0;i=s;return g|0}function x0a(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;i=c[a+528>>2]|0;if(!i){d=6;return d|0}e=c[i+4>>2]|0;h=e>>>0>>0?e:b;a=c[i>>2]|0;if(!a){d=0;return d|0}g=0;do{if(!e){e=0;b=65536}else{f=0;b=65536;do{if(f>>>0>>0)a=c[d+(f<<2)>>2]|0;else a=32768;e=(a|0)<0?0:a;e=(e|0)>65536?65536:e;b=H2a(b,(1<>2]|0}while(f>>>0>>0);a=c[i>>2]|0}c[(c[i+136>>2]|0)+(g<<2)>>2]=b;g=g+1|0}while(g>>>0>>0);a=0;return a|0}function y0a(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;p=i;i=i+80|0;g=c[b+100>>2]|0;o=c[b+528>>2]|0;if(!o){c[p+16>>2]=6;e=6;i=p;return e|0}b=c[o+4>>2]|0;c[p+24>>2]=b;c[p+24+4>>2]=c[o>>2];if(!b)h=0;else{f=0;do{c[p+24+8+(f*12|0)>>2]=c[o+8+(f<<2)>>2];n=c[o+88+(f*12|0)+4>>2]|0;c[p+24+8+(f*12|0)+4>>2]=c[n>>2];c[p+24+8+(f*12|0)+8>>2]=c[n+((d[o+88+(f*12|0)>>0]|0)+-1<<2)>>2];f=f+1|0}while((f|0)!=(b|0));h=c[p+24>>2]|0}c[p+16>>2]=0;n=HTa(g,(h*24|0)+20|0,p+16|0)|0;b=c[p+16>>2]|0;if(b|0){e=b;i=p;return e|0}c[n>>2]=h;c[n+4>>2]=c[p+24+4>>2];c[n+8>>2]=-1;c[n+12>>2]=n+20;c[n+16>>2]=0;if(h|0){g=0;do{c[n+20+(g*24|0)>>2]=c[p+24+8+(g*12|0)>>2];b=c[p+24+8+(g*12|0)+4>>2]<<16;c[n+20+(g*24|0)+4>>2]=b;f=c[p+24+8+(g*12|0)+8>>2]<<16;c[n+20+(g*24|0)+12>>2]=f;c[n+20+(g*24|0)+8>>2]=(f+b|0)/2|0;c[n+20+(g*24|0)+20>>2]=-1;b=n+20+(g*24|0)+16|0;c[b>>2]=-1;f=c[n+20+(g*24|0)>>2]|0;do if(!(Imb(f,591651)|0))c[b>>2]=2003265652;else{if(!(Imb(f,591094)|0)){c[b>>2]=2003072104;break}if(!(Imb(f,591100)|0))c[b>>2]=1869640570}while(0);g=g+1|0}while(g>>>0>>0)}b=c[o+4>>2]|0;a:do if((c[o>>2]|0)==(1<>2]|0;switch(b|0){case 1:{b=c[f+4>>2]|0;c[p>>2]=b;break}case 2:{m=c[f+12>>2]|0;b=(c[f+4>>2]|0)+m|0;c[p>>2]=b;c[p+4>>2]=(c[f+8>>2]|0)+m;break}case 3:{l=c[f+28>>2]|0;m=c[f+20>>2]|0;k=c[f+12>>2]|0;b=m+l+k+(c[f+4>>2]|0)|0;c[p>>2]=b;l=(c[f+24>>2]|0)+l|0;c[p+4>>2]=l+k+(c[f+8>>2]|0);c[p+8>>2]=l+m+(c[f+16>>2]|0);break}default:{r=c[f+60>>2]|0;j=c[f+52>>2]|0;k=c[f+44>>2]|0;m=c[f+36>>2]|0;q=c[f+28>>2]|0;h=c[f+20>>2]|0;s=c[f+12>>2]|0;b=j+r+k+m+q+h+s+(c[f+4>>2]|0)|0;c[p>>2]=b;r=(c[f+56>>2]|0)+r|0;l=c[f+40>>2]|0;g=c[f+24>>2]|0;c[p+4>>2]=r+k+l+q+g+s+(c[f+8>>2]|0);j=r+j+(c[f+48>>2]|0)|0;c[p+8>>2]=j+q+g+h+(c[f+16>>2]|0);c[p+12>>2]=j+k+l+m+(c[f+32>>2]|0)}}m=c[p+24>>2]|0;if(m|0){g=n+20|0;f=0;while(1){k=c[o+88+(f*12|0)+8>>2]|0;b:do if((c[k>>2]|0)<(b|0)){h=a[o+88+(f*12|0)>>0]|0;c:do if((h&255)>1){j=1;while(1){l=c[k+(j<<2)>>2]|0;if((l|0)>=(b|0)){g=j;break}j=j+1|0;if((j|0)>=(h&255|0))break c}r=c[o+88+(f*12|0)+4>>2]|0;s=c[r+(g+-1<<2)>>2]|0;r=(c[r+(g<<2)>>2]|0)-s|0;g=c[k+(g+-1<<2)>>2]|0;b=(_(I2a(b-g|0,l-g|0)|0,r)|0)+(s<<16)|0;g=c[n+12>>2]|0;break b}while(0);b=c[(c[o+88+(f*12|0)+4>>2]|0)+((h&255)+-1<<2)>>2]<<16}else b=c[c[o+88+(f*12|0)+4>>2]>>2]<<16;while(0);c[g+(f*24|0)+8>>2]=b;f=f+1|0;if(f>>>0>=m>>>0)break a;b=c[p+(f<<2)>>2]|0}}}while(0);c[e>>2]=n;s=c[p+16>>2]|0;i=p;return s|0}function z0a(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;b=b>>>0>4?4:b;if(b|0){e=0;do{c[f+(e<<2)>>2]=(D2a(c[d+(e<<2)>>2]|0)|0)>>16;e=e+1|0}while(e>>>0>>0)}a=w0a(a,b,f)|0;i=f;return a|0}function A0a(e,f,g,h,j){e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=i;i=i+1904|0;c[f>>2]=1;s=ySa(c[f+96>>2]|0,591555)|0;c[f+484>>2]=s;t=xSa(c[(c[f+96>>2]|0)+4>>2]|0,591572)|0;c[f+488>>2]=t;if(!t){f=11;i=u;return f|0}c[f+548>>2]=xSa(c[(c[f+96>>2]|0)+4>>2]|0,591112)|0;p=c[f+488>>2]|0;hBb(u+8|0,0,376)|0;c[f+532>>2]=-1;c[f+536>>2]=-1;c[f+540>>2]=0;c[f+280>>2]=7;c[f+284>>2]=1;c[f+172>>2]=4;c[f+348>>2]=3932;c[f+276>>2]=2596864;k=c[f+104>>2]|0;l=c[f+100>>2]|0;kj[c[c[p+4>>2]>>2]&127](u+8|0,0,0,l);c[u+8+72>>2]=k;o=u+8+80|0;r=u+8+76|0;c[r>>2]=0;c[r+4>>2]=0;c[r+8>>2]=0;c[r+12>>2]=0;b[r+16>>1]=0;a[r+18>>0]=0;h=B0a(k,591121,14)|0;c[u+384>>2]=h;if(!h)q=5;else if((h&255|0)==2){h=B0a(k,591136,10)|0;c[u+384>>2]=h;if(!h)q=5;else q=22}else q=22;a:do if((q|0)==5){h=cTa(k,0)|0;c[u+384>>2]=h;if(!h){e=sTa(k,u+1884|0)|0;h=c[u+1884>>2]|0;do if(!h){if((e+32767&65535)<2){j=wTa(k,u+1884|0)|0;h=c[u+1884>>2]|0;if(h|0)break;c[u+384>>2]=0;if(e<<16>>16==-32767){a[u+8+92>>0]=1;e=j}else q=12}else{c[u+384>>2]=0;q=12}if((q|0)==12){h=cTa(k,0)|0;c[u+384>>2]=h;if(h|0){q=22;break a}e=c[k+4>>2]|0}if(!(c[k+20>>2]|0)){c[r>>2]=(c[k>>2]|0)+(c[k+8>>2]|0);c[o>>2]=e;a[u+8+93>>0]=1;h=dTa(k,e)|0;c[u+384>>2]=h;if(h|0){q=22;break a}h=c[o>>2]|0}else{j=HTa(l,e,u+384|0)|0;c[r>>2]=j;h=c[u+384>>2]|0;if(h|0){q=22;break a}h=fTa(k,j,e)|0;c[u+384>>2]=h;if(h|0){q=22;break a}c[o>>2]=e;h=e}j=c[r>>2]|0;c[u+8+4>>2]=j;c[u+8>>2]=j;c[u+8+8>>2]=j+h;c[u>>2]=0;q=26;break a}while(0);c[u+384>>2]=h;q=22}else q=22}while(0);do if((q|0)==22){if(a[u+8+93>>0]|0){c[u>>2]=h;break}LTa(l,c[r>>2]|0);c[r>>2]=0;n=c[u+384>>2]|0;c[u>>2]=n;if(!n){j=0;h=c[o>>2]|0;q=26}}while(0);b:do if((q|0)==26){n=C0a(f,u+8|0,j,h)|0;c[u>>2]=n;if(!n){l=c[u+8+72>>2]|0;n=c[u+8+16>>2]|0;c[u+384>>2]=0;c:do if(!(a[u+8+92>>0]|0)){e=c[r>>2]|0;l=c[o>>2]|0;h=e;m=l;k=e;l=e+l|0;d:while(1){e=h;j=k;while(1){k=j;j=j+1|0;if((a[k>>0]|0)==101&(k+9|0)>>>0>>0)if((a[j>>0]|0)==101)if((a[k+2>>0]|0)==120)if((a[k+3>>0]|0)==101)if((a[k+4>>0]|0)==99)break;if(j>>>0>=l>>>0){q=56;break d}}c[u+8>>2]=e;c[u+8+8>>2]=k+10;if(h>>>0<(k+10|0)>>>0){do{if((a[h>>0]|0)==101)if(!(pmb(h,591147,5)|0))break d;Hi[c[u+8+32>>2]&1023](u+8|0);if(c[u+8+12>>2]|0)break;Hi[c[u+8+28>>2]&1023](u+8|0);h=c[u+8>>2]|0}while(h>>>0<(k+10|0)>>>0);j=c[r>>2]|0;e=c[o>>2]|0}else{j=h;e=m}h=j;m=e;k=k+10|0;l=j+e|0}if((q|0)==56){c[u+384>>2]=3;h=3;break}c[u+8+8>>2]=(c[r>>2]|0)+(c[o>>2]|0);Hi[c[u+8+32>>2]&1023](u+8|0);h=c[u+8>>2]|0;m=c[u+8+8>>2]|0;j=omb(h,10,m-h|0)|0;if(!j)j=1;else j=j>>>0>(omb(h,13,m-h|0)|0)>>>0;e:do if(h>>>0>>0){f:do if(j)while(1){switch(a[h>>0]|0){case 10:case 13:case 9:case 32:break;default:{l=h;break f}}h=h+1|0;if(h>>>0>=m>>>0)break e}else while(1){switch(a[h>>0]|0){case 10:case 9:case 32:break;default:{l=h;break f}}h=h+1|0;if(h>>>0>=m>>>0)break e}while(0);j=c[r>>2]|0;k=j-l+(c[o>>2]|0)|0;if(!(a[u+8+93>>0]|0)){a[u+8+94>>0]=1;c[u+8+84>>2]=j;c[u+8+88>>2]=k;c[r>>2]=0;c[o>>2]=0}else{j=HTa(n,k+1|0,u+384|0)|0;c[u+8+84>>2]=j;h=c[u+384>>2]|0;if(h|0)break c;c[u+8+88>>2]=k}e=l+3|0;g:do if(e>>>0>>0){h=d[l>>0]|0;if((h+-48|0)>>>0>=10)switch(h|0){case 65:case 66:case 67:case 68:case 69:case 70:case 97:case 98:case 99:case 100:case 101:case 102:break;default:break g}h=d[l+1>>0]|0;if((h+-48|0)>>>0>=10)switch(h|0){case 65:case 66:case 67:case 68:case 69:case 70:case 97:case 98:case 99:case 100:case 101:case 102:break;default:break g}h=d[l+2>>0]|0;if((h+-48|0)>>>0>=10)switch(h|0){case 65:case 66:case 67:case 68:case 69:case 70:case 97:case 98:case 99:case 100:case 101:case 102:break;default:break g}h=d[e>>0]|0;if((h+-48|0)>>>0>=10)switch(h|0){case 65:case 66:case 67:case 68:case 69:case 70:case 97:case 98:case 99:case 100:case 101:case 102:break;default:break g}c[u+8>>2]=l;Ci[c[(c[p+4>>2]|0)+24>>2]&127](u+8|0,j,k,u+1884|0,0)|0;j=c[u+1884>>2]|0;c[u+8+88>>2]=j;a[(c[u+8+84>>2]|0)+j>>0]=0;j=u+8+84|0;h=u+8+88|0;q=88;break c}while(0);nBb(j|0,l|0,k|0)|0;j=u+8+84|0;h=u+8+88|0;q=88;break c}while(0);c[u+384>>2]=3;h=3}else{k=eTa(l)|0;m=u+8+88|0;c[m>>2]=0;while(1){e=sTa(l,u+1884|0)|0;h=c[u+1884>>2]|0;if(h|0){q=33;break}if((e+32767&65535)>=2){q=31;break}j=wTa(l,u+1884|0)|0;h=c[u+1884>>2]|0;if(h|0){q=33;break}c[u+384>>2]=0;if(e<<16>>16!=-32766)break;c[m>>2]=(c[m>>2]|0)+j;h=dTa(l,j)|0;c[u+384>>2]=h;if(h|0)break c}if((q|0)==31)c[u+384>>2]=0;else if((q|0)==33){c[u+384>>2]=h;break}if(!(c[m>>2]|0)){c[u+384>>2]=3;h=3;break}h=cTa(l,k)|0;c[u+384>>2]=h;if(!h){c[u+8+84>>2]=HTa(n,c[m>>2]|0,u+384|0)|0;h=c[u+384>>2]|0;if(!h){c[m>>2]=0;j=sTa(l,u+1884|0)|0;h=c[u+1884>>2]|0;h:do if(!h)while(1){if((j+32767&65535)>=2){h=0;q=43;break h}e=wTa(l,u+1884|0)|0;h=c[u+1884>>2]|0;if(h|0){q=43;break h}c[u+384>>2]=0;if(j<<16>>16!=-32766)break h;h=fTa(l,(c[u+8+84>>2]|0)+(c[m>>2]|0)|0,e)|0;c[u+384>>2]=h;if(h|0)break c;c[m>>2]=(c[m>>2]|0)+e;j=sTa(l,u+1884|0)|0;h=c[u+1884>>2]|0;if(h|0){q=43;break}}else q=43;while(0);if((q|0)==43)c[u+384>>2]=h;c[u+384>>2]=0;j=u+8+84|0;h=m;q=88}}}while(0);do if((q|0)==88){$i[c[p+16>>2]&255](c[j>>2]|0,c[h>>2]|0,-9871);if((c[h>>2]|0)>>>0<4){c[u+384>>2]=3;h=3;break}a[c[j>>2]>>0]=32;a[(c[j>>2]|0)+1>>0]=32;a[(c[j>>2]|0)+2>>0]=32;a[(c[j>>2]|0)+3>>0]=32;p=c[j>>2]|0;c[u+8+4>>2]=p;c[u+8>>2]=p;c[u+8+8>>2]=p+(c[h>>2]|0);p=c[u+384>>2]|0;c[u>>2]=p;if(p|0)break b;p=C0a(f,u+8|0,c[u+8+84>>2]|0,c[u+8+88>>2]|0)|0;c[u>>2]=p;if(p|0)break b;a[f+176>>0]=d[f+176>>0]&254;j=c[f+528>>2]|0;i:do if(!j)q=108;else{h=c[j+416>>2]|0;if(h|0)if((h|0)!=(c[j+4>>2]|0))c[j+416>>2]=0;if(!(c[j>>2]|0))q=99;else{h=c[j+4>>2]|0;if(!h)q=99;else q=101}if((q|0)==99){O0a(f);j=c[f+528>>2]|0;if(!j){q=108;break}h=c[j+4>>2]|0;if(h|0)q=101}j:do if((q|0)==101){e=0;while(1){if(!(a[j+88+(e*12|0)>>0]|0))break;e=e+1|0;if(e>>>0>=h>>>0)break j}O0a(f);if(!(c[f+528>>2]|0)){q=108;break i}}while(0);h=c[f+540>>2]|0;if(h|0){c[f+544>>2]=JTa(c[f+100>>2]|0,4,0,h,0,u)|0;if(c[u>>2]|0){c[f+540>>2]=0;break b}}}while(0);if((q|0)==108)c[f+540>>2]=0;n=c[u+8+152>>2]|0;c[f+416>>2]=n;if(c[u+8+328>>2]|0){c[u+8+328>>2]=0;c[f+404>>2]=c[u+8+312>>2];c[f+392>>2]=c[u+8+316>>2];c[f+408>>2]=c[u+8+340>>2];c[f+412>>2]=c[u+8+344>>2]}if((c[u+8+220>>2]|0)==0?(c[(c[f+128>>2]|0)+48>>2]|0)==0:0)c[u>>2]=3;c[u+8+220>>2]=0;c[f+396>>2]=c[u+8+208>>2];c[f+424>>2]=c[u+8+232>>2];c[f+428>>2]=c[u+8+236>>2];c[f+400>>2]=c[u+8+156>>2];c[f+420>>2]=c[u+8+180>>2];c[u+8+156>>2]=0;c[u+8+180>>2]=0;if((c[f+368>>2]|0)!=1)break b;p=c[u+8+116>>2]|0;k:do if((p|0)>0){if((n|0)<1){h=0;while(1){b[(c[f+384>>2]|0)+(h<<1)>>1]=0;c[(c[f+388>>2]|0)+(h<<2)>>2]=591796;h=h+1|0;if((h|0)==(p|0)){j=0;h=0;break k}}}else{o=0;j=0;h=0}do{b[(c[f+384>>2]|0)+(o<<1)>>1]=0;c[(c[f+388>>2]|0)+(o<<2)>>2]=591796;k=c[(c[u+8+124>>2]|0)+(o<<2)>>2]|0;l:do if(k){l=c[f+420>>2]|0;e=0;while(1){m=c[l+(e<<2)>>2]|0;if(!(Imb(k,m)|0))break;e=e+1|0;if((e|0)>=(n|0))break l}b[(c[f+384>>2]|0)+(o<<1)>>1]=e;c[(c[f+388>>2]|0)+(o<<2)>>2]=m;if(Imb(591796,m)|0){j=(o|0)<(j|0)?j:o+1|0;h=(o|0)<(h|0)?o:h}}while(0);o=o+1|0}while((o|0)!=(p|0))}else{j=0;h=0}while(0);c[f+376>>2]=h;c[f+380>>2]=j;c[f+372>>2]=c[u+8+96>>2];break b}while(0);c[u>>2]=h}}while(0);h=c[u+8+148>>2]|0;if(h|0)Hi[h&1023](u+8+100|0);h=c[u+8+256>>2]|0;if(h|0)Hi[h&1023](u+8+208|0);h=c[u+8+204>>2]|0;if(h|0)Hi[h&1023](u+8+156|0);h=c[u+8+308>>2]|0;if(h|0)Hi[h&1023](u+8+260|0);h=c[u+8+364>>2]|0;if(h|0)Hi[h&1023](u+8+316|0);h=c[u+8+16>>2]|0;LTa(h,c[u+8+84>>2]|0);c[u+8+84>>2]=0;if(!(a[u+8+93>>0]|0)){LTa(h,c[r>>2]|0);c[r>>2]=0}Hi[c[u+8+24>>2]&1023](u+8|0);h=c[u>>2]|0;if((g|0)<0|(h|0)!=0){f=h;i=u;return f|0}if((g|0)>0){f=6;i=u;return f|0}c[f+16>>2]=c[f+416>>2];c[f+4>>2]=0;h=c[f+8>>2]|0;c[f+8>>2]=h|2577;if(!(a[f+156>>0]|0))h=h|2577;else{c[f+8>>2]=h|2581;h=h|2581}m=c[f+528>>2]|0;if(m|0)c[f+8>>2]=h|256;j=c[f+144>>2]|0;c[f+20>>2]=j;c[f+24>>2]=0;m:do if(!j){h=c[f+364>>2]|0;if(!h)q=158;else{c[f+20>>2]=h;q=158}}else{h=c[f+140>>2]|0;if(!h)q=158;else{e=a[h>>0]|0;n:do if(e<<24>>24){o:while(1){l=e<<24>>24==0;p:while(1){k=a[j>>0]|0;if(e<<24>>24==k<<24>>24){q=149;break}switch(e<<24>>24){case 45:case 32:break p;default:{}}switch(k<<24>>24){case 0:break o;case 45:case 32:break;default:{q=158;break m}}if(l)break n;else j=j+1|0}if((q|0)==149){q=0;j=j+1|0}h=h+1|0;e=a[h>>0]|0;if(!(e<<24>>24))break n}c[f+24>>2]=h;if(!h){q=158;break m}else break m}while(0);c[f+24>>2]=591905}}while(0);do if((q|0)==158){h=c[f+148>>2]|0;if(!h){c[f+24>>2]=591905;break}else{c[f+24>>2]=h;break}}while(0);h=(c[f+152>>2]|0)!=0&1;c[f+12>>2]=h;j=c[f+148>>2]|0;do if(j|0){if(Imb(j,591925)|0)if(Imb(j,591477)|0)break;c[f+12>>2]=h|2}while(0);c[f+28>>2]=0;c[f+32>>2]=0;c[f+52>>2]=c[f+460>>2]>>16;j=c[f+460+4>>2]>>16;c[f+56>>2]=j;e=(c[f+460+8>>2]|0)+65535>>16;c[f+60>>2]=e;k=(c[f+460+12>>2]|0)+65535>>16;c[f+64>>2]=k;h=b[f+68>>1]|0;if(!(h<<16>>16)){b[f+68>>1]=1e3;h=1e3}b[f+70>>1]=k;b[f+72>>1]=j;g=(((h&65535)*12|0)>>>0)/10|0;b[f+74>>1]=(g<<16>>16|0)<(k-j|0)?k-j|0:g;b[f+76>>1]=e;k=(c[f+488>>2]|0)+12|0;if(!(ri[c[c[k>>2]>>2]&3](u+384|0,f,0,0,c[f+420>>2]|0,m,0,0,366)|0)){a[u+384+70>>0]=1;a[u+384+68>>0]=0;c[u+384+1364>>2]=c[f+404>>2];c[u+384+1368>>2]=c[f+408>>2];c[u+384+1372>>2]=c[f+412>>2];c[u+384+1488>>2]=c[f+544>>2];c[u+384+1492>>2]=c[f+540>>2];if((c[f+416>>2]|0)>0){e=0;h=0;do{do if(!(Q0a(u+384|0,e,u+1884|0)|0)){j=c[(c[(c[u+384+4>>2]|0)+128>>2]|0)+48>>2]|0;if(!j)break;si[c[(c[j>>2]|0)+4>>2]&511](c[j+4>>2]|0,u+1884|0)}while(0);g=c[u+384+40>>2]|0;h=(e|0)==0|(g|0)>(h|0)?g:h;e=e+1|0}while((e|0)<(c[f+416>>2]|0))}else h=0;Hi[c[(c[k>>2]|0)+4>>2]&1023](u+384|0);b[f+76>>1]=(D2a(h)|0)>>>16}b[f+78>>1]=b[f+74>>1]|0;b[f+80>>1]=b[f+132+26>>1]|0;b[f+82>>1]=b[f+160>>1]|0;if(!s){f=0;i=u;return f|0}h=c[t+20>>2]|0;c[u+1884>>2]=f;b[u+1884+8>>1]=3;j=u+1884+10|0;b[j>>1]=1;e=u+1884+4|0;c[e>>2]=1970170211;k=qSa(c[h+12>>2]|0,0,u+1884|0,0)|0;if(!((k|0)==0|(k&255|0)==163)){f=k;i=u;return f|0}b[u+1884+8>>1]=7;switch(c[f+368>>2]|0){case 2:{c[e>>2]=1094995778;b[j>>1]=0;break}case 4:{c[e>>2]=1094992453;b[j>>1]=1;h=h+4|0;break}case 1:{c[e>>2]=1094992451;b[j>>1]=2;h=h+8|0;break}case 3:{c[e>>2]=1818326065;b[j>>1]=3;h=h+12|0;break}default:{f=0;i=u;return f|0}}h=c[h>>2]|0;if(!h){f=0;i=u;return f|0}f=qSa(h,0,u+1884|0,0)|0;i=u;return f|0}function B0a(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+16|0;e=cTa(a,0)|0;a:do if(!e){f=sTa(a,h)|0;e=c[h>>2]|0;do if(!e){if((f+32767&65535)<2){wTa(a,h)|0;e=c[h>>2]|0;if(e|0)break;if(f<<16>>16!=-32767)g=8}else g=8;if((g|0)==8){e=cTa(a,0)|0;if(e|0)break a}e=jTa(a,d)|0;if(e|0)break a;e=(qmb(c[a+32>>2]|0,b,d)|0)==0;lTa(a);e=e?0:2;break a}while(0)}while(0);i=h;return e|0}function C0a(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+16|0;c[e>>2]=f;c[e+8>>2]=f+g;c[e+12>>2]=0;Hi[c[e+28>>2]&1023](e);h=c[e>>2]|0;a:do if(h>>>0<(f+g|0)>>>0){m=0;k=0;b:while(1){l=a[h>>0]|0;c:do switch(l<<24>>24){case 101:{j=h+6|0;if((j|0)!=(f+g|0)){if(j>>>0>=(f+g|0)>>>0){o=19;break c}switch(a[h+5>>0]|0){case 37:case 125:case 123:case 93:case 91:case 62:case 60:case 41:case 40:case 47:case 0:case 12:case 9:case 10:case 13:case 32:break;default:{o=19;break c}}}if(!(pmb(h,591147,5)|0))break a;else o=19;break}case 99:{j=h+10|0;if((j|0)!=(f+g|0)){if(j>>>0>=(f+g|0)>>>0){o=19;break c}switch(a[h+9>>0]|0){case 37:case 125:case 123:case 93:case 91:case 62:case 60:case 41:case 40:case 47:case 0:case 12:case 9:case 10:case 13:case 32:break;default:{o=19;break c}}}if(!(pmb(h,591153,9)|0))break a;else o=19;break}case 70:{j=h+14|0;if((j|0)!=(f+g|0)){if(j>>>0>=(f+g|0)>>>0){o=19;break c}switch(a[h+13>>0]|0){case 37:case 125:case 123:case 93:case 91:case 62:case 60:case 41:case 40:case 47:case 0:case 12:case 9:case 10:case 13:case 32:break;default:{o=19;break c}}}if(!(pmb(h,591596,13)|0)){j=c[e+372>>2]|0;if(j&1|0)c[e+372>>2]=j|2;c[e>>2]=h+13;j=m}else o=19;break}default:o=19}while(0);d:do if((o|0)==19){o=0;if(((l&255)+-48|0)>>>0<10){Hi[c[e+32>>2]&1023](e);if(!(c[e+12>>2]|0)){j=1;k=h;break}else break a}j=(h+6|0)>>>0<(f+g|0)>>>0;if(j&l<<24>>24==82)if(!(m<<24>>24==0|(a[h+1>>0]|0)!=68)){c[e>>2]=k;h=c[(c[b+128>>2]|0)+48>>2]|0;m=c[e+8>>2]|0;Hi[c[e+28>>2]&1023](e);j=c[e>>2]|0;if(j>>>0>=m>>>0){o=27;break b}if(((d[j>>0]|0)+-48|0)>>>0>=10){o=27;break b}j=vi[c[e+36>>2]&2047](e)|0;Hi[c[e+32>>2]&1023](e);l=c[e>>2]|0;if((j|0)<=-1){o=27;break b}if((j|0)>=(m-(l+1)|0)){o=27;break b}c[e>>2]=l+(j+1);if(!(c[e+12>>2]|0)){j=0;break}else{h=3;o=77;break b}}if(j&l<<24>>24==45)if(!(m<<24>>24==0|(a[h+1>>0]|0)!=124)){c[e>>2]=k;h=c[(c[b+128>>2]|0)+48>>2]|0;m=c[e+8>>2]|0;Hi[c[e+28>>2]&1023](e);j=c[e>>2]|0;if(j>>>0>=m>>>0){o=36;break b}if(((d[j>>0]|0)+-48|0)>>>0>=10){o=36;break b}j=vi[c[e+36>>2]&2047](e)|0;Hi[c[e+32>>2]&1023](e);l=c[e>>2]|0;if((j|0)<=-1){o=36;break b}if((j|0)>=(m-(l+1)|0)){o=36;break b}c[e>>2]=l+(j+1);if(!(c[e+12>>2]|0)){j=0;break}else{h=3;o=77;break b}}if(!((h+2|0)>>>0<(f+g|0)>>>0&l<<24>>24==47)){Hi[c[e+32>>2]&1023](e);if(!(c[e+12>>2]|0)){j=0;break}else break a}h=h+1|0;c[e>>2]=h;Hi[c[e+32>>2]&1023](e);if(c[e+12>>2]|0)break a;l=c[e>>2]|0;if(l>>>0<(f+g|0)>>>0&((l|0)!=(h|0)&(l-h|0)>>>0<22)){m=a[h>>0]|0;j=591616;n=55028;while(1){if(m<<24>>24==(a[j>>0]|0))if((l-h|0)==(rnb(j)|0))if(!(qmb(h,j,l-h|0)|0))break;n=n+36|0;j=c[n>>2]|0;if(!j){j=0;break d}}h=c[e+372>>2]|0;if(!((h&1)+1&c[n+32>>2]))j=0;else{if(h&2|0)if(Imb(j,591854)|0){j=0;break}h=c[b+528>>2]|0;if(!h)j=0;else j=(c[h>>2]|0)==0?0:h;m=c[n+8>>2]|0;do if((m|0)==11){si[c[n+12>>2]&511](b,e);h=c[e+12>>2]|0}else{switch(c[n+4>>2]|0){case 3:{c[p>>2]=b+132;if(!j){l=0;h=p}else{l=c[j>>2]|0;h=j+144|0}break}case 2:{c[p>>2]=b+164;l=0;h=p;break}case 4:{c[p>>2]=b+168;if(!j){l=0;h=p}else{l=c[j>>2]|0;h=j+212|0}break}case 5:{c[p>>2]=b+460;if(!j){l=0;h=p}else{l=c[j>>2]|0;h=j+284|0}break}case 6:{c[p>>2]=e;l=0;h=p;break}case 7:{c[p>>2]=b;l=0;h=p;break}case 8:{c[p>>2]=h;l=0;h=p;break}default:{c[p>>2]=b+132;l=0;h=p}}if(!(c[h>>2]|0)){c[e+12>>2]=0;j=0;break d}if((m+-9|0)>>>0<2){h=Ci[c[e+68>>2]&127](e,n,h,l,0)|0;break}else{h=Ci[c[e+64>>2]&127](e,n,h,l,0)|0;break}}while(0);c[e+12>>2]=h;if(!h)j=0;else{if((h&255|0)!=162){o=77;break b}c[e+12>>2]=0;j=0}}}else j=0}while(0);Hi[c[e+28>>2]&1023](e);h=c[e>>2]|0;if(h>>>0>=(f+g|0)>>>0)break a;else m=j}if((o|0)==27){if(h|0){e=3;i=p;return e|0}c[e+12>>2]=3;e=3;i=p;return e|0}else if((o|0)==36){if(h|0){e=3;i=p;return e|0}c[e+12>>2]=3;e=3;i=p;return e|0}else if((o|0)==77){i=p;return h|0}}while(0);e=c[e+12>>2]|0;i=p;return e|0}function D0a(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;j=i;i=i+32|0;if((cj[c[d+52>>2]&127](d,6,j,3)|0)<6){c[d+12>>2]=3;i=j;return}e=c[j+12>>2]|0;e=(e|0)<0?0-e|0:e;if(!e){c[d+12>>2]=3;i=j;return}b[a+68>>1]=I2a(1e3,e)|0;if((e|0)==65536){e=j+8|0;d=j+16|0;f=j+4|0;g=c[j+12>>2]|0;h=c[j+20>>2]|0}else{c[j>>2]=I2a(c[j>>2]|0,e)|0;c[j+4>>2]=I2a(c[j+4>>2]|0,e)|0;c[j+8>>2]=I2a(c[j+8>>2]|0,e)|0;c[j+16>>2]=I2a(c[j+16>>2]|0,e)|0;h=I2a(c[j+20>>2]|0,e)|0;c[j+20>>2]=h;g=c[j+12>>2]>>31&-131072|65536;c[j+12>>2]=g;e=j+8|0;d=j+16|0;f=j+4|0}c[a+436>>2]=c[j>>2];c[a+444>>2]=c[f>>2];c[a+440>>2]=c[e>>2];c[a+448>>2]=g;c[a+452>>2]=c[d>>2]>>16;c[a+456>>2]=h>>16;i=j;return}function E0a(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;l=c[d+8>>2]|0;g=c[b+488>>2]|0;Hi[c[d+28>>2]&1023](d);j=c[d>>2]|0;if(j>>>0>=l>>>0){c[d+12>>2]=3;i=n;return}e=a[j>>0]|0;if(!(e<<24>>24==91|((e&255)+-48|0)>>>0<10)){if((j+17|0)>>>0>>0)if(!(pmb(j,591804,16)|0)){c[b+368>>2]=2;i=n;return}if((j+15|0)>>>0>>0)if(!(pmb(j,591821,14)|0)){c[b+368>>2]=4;i=n;return}if((j+18|0)>>>0>>0)if(!(pmb(j,591836,17)|0)){c[b+368>>2]=3;i=n;return}c[d+12>>2]=162;i=n;return}f=c[d+16>>2]|0;if(e<<24>>24==91){c[d>>2]=j+1;k=256;h=1}else{k=vi[c[d+36>>2]&2047](d)|0;h=0}Hi[c[d+28>>2]&1023](d);if((c[d>>2]|0)>>>0>=l>>>0){i=n;return}c[b+372>>2]=k;c[d+96>>2]=k;c[b+384>>2]=JTa(f,2,0,k,0,n)|0;e=c[n>>2]|0;if(!e){c[b+388>>2]=JTa(f,4,0,k,0,n)|0;e=c[n>>2]|0;if(!e){e=Gi[c[c[g>>2]>>2]&255](d+100|0,k,f)|0;c[n>>2]=e;if(!e){if((k|0)>0){e=0;do{cj[c[d+144>>2]&127](d+100|0,e,591796,8)|0;e=e+1|0}while((e|0)!=(k|0))}Hi[c[d+28>>2]&1023](d);e=c[d>>2]|0;a:do if(e>>>0>>0){b:do if(!(h<<24>>24)){j=e;f=0;while(1){g=a[j>>0]|0;switch(g<<24>>24){case 93:{m=j;break b}case 100:{e=j+3|0;if(e>>>0>>0)if((a[j+1>>0]|0)==101)if((a[j+2>>0]|0)==102)switch(a[e>>0]|0){case 37:case 125:case 123:case 93:case 91:case 62:case 60:case 41:case 40:case 47:case 0:case 12:case 9:case 10:case 13:case 32:break a;default:{}}break}default:{}}if(((g&255)+-48|0)>>>0>9){Hi[c[d+32>>2]&1023](d);if(!(c[d+12>>2]|0))e=j;else{e=47;break}}else{h=vi[c[d+36>>2]&2047](d)|0;Hi[c[d+28>>2]&1023](d);e=c[d>>2]|0;if((j|0)==(e|0)){e=38;break}if((e+2|0)>>>0>>0)if((f|0)<(k|0)&(a[e>>0]|0)==47){c[d>>2]=e+1;Hi[c[d+32>>2]&1023](d);g=c[d>>2]|0;if(g>>>0>=l>>>0){e=47;break}if(c[d+12>>2]|0){e=47;break}j=cj[c[d+144>>2]&127](d+100|0,h,e+1|0,g-(e+1)+1|0)|0;c[d+12>>2]=j;if(j|0){e=47;break}a[(c[(c[d+124>>2]|0)+(h<<2)>>2]|0)+(g-(e+1))>>0]=0;e=e+1|0;f=f+1|0}}Hi[c[d+28>>2]&1023](d);j=c[d>>2]|0;if(j>>>0>=l>>>0)break a}if((e|0)==38){c[d+12>>2]=2;i=n;return}else if((e|0)==47){i=n;return}}else{g=e;h=0;while(1){f=a[g>>0]|0;switch(f<<24>>24){case 93:{m=g;break b}case 100:{e=g+3|0;if(e>>>0>>0)if((a[g+1>>0]|0)==101)if((a[g+2>>0]|0)==102)switch(a[e>>0]|0){case 37:case 125:case 123:case 93:case 91:case 62:case 60:case 41:case 40:case 47:case 0:case 12:case 9:case 10:case 13:case 32:break a;default:{}}break}default:{}}if((g+2|0)>>>0>=l>>>0){e=44;break}if(!((h|0)<(k|0)&f<<24>>24==47)){e=44;break}e=g+1|0;c[d>>2]=e;Hi[c[d+32>>2]&1023](d);f=c[d>>2]|0;if(f>>>0>=l>>>0){e=47;break}if(c[d+12>>2]|0){e=47;break}j=cj[c[d+144>>2]&127](d+100|0,h,e,f-e+1|0)|0;c[d+12>>2]=j;if(j|0){e=47;break}a[(c[(c[d+124>>2]|0)+(h<<2)>>2]|0)+(f-e)>>0]=0;Hi[c[d+28>>2]&1023](d);g=c[d>>2]|0;if(g>>>0>=l>>>0)break a;else h=h+1|0}if((e|0)==44){c[d+12>>2]=2;i=n;return}else if((e|0)==47){i=n;return}}while(0);e=m+1|0}else e=j;while(0);c[b+368>>2]=1;c[d>>2]=e;i=n;return}}}c[d+12>>2]=e;i=n;return}function F0a(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+16|0;n=c[e+16>>2]|0;o=c[b+488>>2]|0;Hi[c[e+28>>2]&1023](e);f=c[e>>2]|0;if(f>>>0<(c[e+8>>2]|0)>>>0)if((a[f>>0]|0)==91){Hi[c[e+32>>2]&1023](e);Hi[c[e+28>>2]&1023](e);f=c[e>>2]|0;if(f>>>0<(c[e+8>>2]|0)>>>0)if((a[f>>0]|0)==93){i=p;return}c[e+12>>2]=3;i=p;return}m=vi[c[e+36>>2]&2047](e)|0;Hi[c[e+32>>2]&1023](e);if(c[e+12>>2]|0){i=p;return}Hi[c[e+28>>2]&1023](e);if(!(c[e+312>>2]|0)){f=Gi[c[c[o>>2]>>2]&255](e+316|0,m,n)|0;c[p>>2]=f;if(!f)g=9}else g=9;a:do if((g|0)==9){f=c[e>>2]|0;b:do if((f+4|0)>>>0<(c[e+8>>2]|0)>>>0){while(1){if(pmb(f,591377,3)|0)break b;Hi[c[e+32>>2]&1023](e);l=vi[c[e+36>>2]&2047](e)|0;f=c[(c[b+128>>2]|0)+48>>2]|0;h=c[e+8>>2]|0;Hi[c[e+28>>2]&1023](e);g=c[e>>2]|0;if(g>>>0>=h>>>0){g=16;break}if(((d[g>>0]|0)+-48|0)>>>0>=10){g=16;break}j=vi[c[e+36>>2]&2047](e)|0;Hi[c[e+32>>2]&1023](e);k=c[e>>2]|0;if((j|0)<=-1){g=16;break}if((j|0)>=(h-(k+1)|0)){g=16;break}c[e>>2]=k+(j+1);if(c[e+12>>2]|0){g=35;break}Hi[c[e+32>>2]&1023](e);if(c[e+12>>2]|0){g=35;break}Hi[c[e+28>>2]&1023](e);f=c[e>>2]|0;if((f+4|0)>>>0<(c[e+8>>2]|0)>>>0)if(!(pmb(f,591381,3)|0)){Hi[c[e+32>>2]&1023](e);Hi[c[e+28>>2]&1023](e)}if(!(c[e+312>>2]|0)){f=c[b+172>>2]|0;if((f|0)>-1){if(j>>>0>>0){g=27;break}g=HTa(n,j,p)|0;f=c[p>>2]|0;if(f|0)break a;mBb(g|0,k+1|0,j|0)|0;$i[c[o+16>>2]&255](g,j,4330);f=c[b+172>>2]|0;c[p>>2]=cj[c[e+360>>2]&127](e+316|0,l,g+f|0,j-f|0)|0;LTa(n,g);f=c[p>>2]|0}else{f=cj[c[e+360>>2]&127](e+316|0,l,k+1|0,j)|0;c[p>>2]=f}if(f|0)break a}f=c[e>>2]|0;if((f+4|0)>>>0>=(c[e+8>>2]|0)>>>0)break b}if((g|0)==16){if(f|0){i=p;return}c[e+12>>2]=3;i=p;return}else if((g|0)==27){c[p>>2]=3;f=3;break a}else if((g|0)==35){i=p;return}}while(0);if(c[e+312>>2]|0){i=p;return}c[e+312>>2]=m;i=p;return}while(0);c[e+12>>2]=f;i=p;return}function G0a(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=i;i=i+16|0;r=c[e+16>>2]|0;s=c[b+488>>2]|0;t=c[e+8>>2]|0;q=vi[c[e+36>>2]&2047](e)|0;a:do if((q|0)<0){c[u>>2]=3;h=e+12|0;f=3}else{if(!q){i=u;return}if(c[e+12>>2]|0){i=u;return}if(!(c[e+152>>2]|0)){f=Gi[c[c[s>>2]>>2]&255](e+208|0,q+6|0,r)|0;c[u>>2]=f;if(f|0){h=e+12|0;break}f=Gi[c[c[s>>2]>>2]&255](e+156|0,q+6|0,r)|0;c[u>>2]=f;if(f|0){h=e+12|0;break}f=Gi[c[c[s>>2]>>2]&255](e+260|0,4,r)|0;c[u>>2]=f;if(f|0){h=e+12|0;break}}j=0;p=0;h=0;b:while(1){Hi[c[e+28>>2]&1023](e);f=c[e>>2]|0;if(f>>>0>=t>>>0){f=p;g=60;break}c:do if(!j){l=f;while(1){f=l+3|0;d:do if(f>>>0>>0){switch(a[f>>0]|0){case 37:case 125:case 123:case 93:case 91:case 62:case 60:case 41:case 40:case 47:case 0:case 12:case 9:case 10:case 13:case 32:break;default:break d}if((a[l>>0]|0)==101)if((a[l+1>>0]|0)==110)if((a[l+2>>0]|0)==100){j=0;f=p;g=60;break b}}while(0);Hi[c[e+32>>2]&1023](e);n=c[e>>2]|0;if(n>>>0>=t>>>0){g=36;break b}if(c[e+12>>2]|0){g=79;break b}if((a[l>>0]|0)==47){if((l+2|0)>>>0>=t>>>0){g=40;break b}f=c[(c[b+128>>2]|0)+48>>2]|0;k=c[e+8>>2]|0;Hi[c[e+28>>2]&1023](e);g=c[e>>2]|0;if(g>>>0>=k>>>0){g=45;break b}if(((d[g>>0]|0)+-48|0)>>>0>=10){g=45;break b}g=vi[c[e+36>>2]&2047](e)|0;Hi[c[e+32>>2]&1023](e);m=c[e>>2]|0;if((g|0)<=-1){g=45;break b}if((g|0)>=(k-(m+1)|0)){g=45;break b}c[e>>2]=m+(g+1);if(c[e+12>>2]|0){g=79;break b}if(!(c[e+152>>2]|0)){o=g;m=m+1|0;f=n;break c}}Hi[c[e+28>>2]&1023](e);l=c[e>>2]|0;if(l>>>0>=t>>>0){j=0;f=p;g=60;break b}}}else{l=f;while(1){f=l+3|0;e:do if(f>>>0>>0){switch(a[f>>0]|0){case 37:case 125:case 123:case 93:case 91:case 62:case 60:case 41:case 40:case 47:case 0:case 12:case 9:case 10:case 13:case 32:break;default:break e}switch(a[l>>0]|0){case 100:{if((a[l+1>>0]|0)!=101)break e;if((a[l+2>>0]|0)==102){f=p;g=60;break b}else break e}case 101:{if((a[l+1>>0]|0)!=110)break e;if((a[l+2>>0]|0)==100){f=p;g=60;break b}else break e}default:break e}}while(0);Hi[c[e+32>>2]&1023](e);n=c[e>>2]|0;if(n>>>0>=t>>>0){g=36;break b}if(c[e+12>>2]|0){g=79;break b}if((a[l>>0]|0)==47){if((l+2|0)>>>0>=t>>>0){g=40;break b}f=c[(c[b+128>>2]|0)+48>>2]|0;k=c[e+8>>2]|0;Hi[c[e+28>>2]&1023](e);g=c[e>>2]|0;if(g>>>0>=k>>>0){g=45;break b}if(((d[g>>0]|0)+-48|0)>>>0>=10){g=45;break b}g=vi[c[e+36>>2]&2047](e)|0;Hi[c[e+32>>2]&1023](e);m=c[e>>2]|0;if((g|0)<=-1){g=45;break b}if((g|0)>=(k-(m+1)|0)){g=45;break b}c[e>>2]=m+(g+1);if(c[e+12>>2]|0){g=79;break b}if(!(c[e+152>>2]|0)){o=g;m=m+1|0;f=n;break c}}Hi[c[e+28>>2]&1023](e);l=c[e>>2]|0;if(l>>>0>=t>>>0){f=p;g=60;break b}}}while(0);k=l+1|0;g=f-k|0;f=cj[c[e+200>>2]&127](e+156|0,j,k,g+1|0)|0;c[u>>2]=f;if(f|0){h=e+12|0;break a}a[(c[(c[e+180>>2]|0)+(j<<2)>>2]|0)+g>>0]=0;if((a[k>>0]|0)==46){n=(Imb(591796,c[(c[e+180>>2]|0)+(j<<2)>>2]|0)|0)==0;k=n?1:p;h=n?j:h}else k=p;f=c[b+172>>2]|0;if((j|0)<(q+5|0)&(f|0)>-1){if(o>>>0<=f>>>0){g=55;break}g=HTa(r,o,u)|0;f=c[u>>2]|0;if(f|0){h=e+12|0;break a}mBb(g|0,m|0,o|0)|0;$i[c[s+16>>2]&255](g,o,4330);f=c[b+172>>2]|0;c[u>>2]=cj[c[e+252>>2]&127](e+208|0,j,g+f|0,o-f|0)|0;LTa(r,g);f=c[u>>2]|0}else{f=cj[c[e+252>>2]&127](e+208|0,j,m,o)|0;c[u>>2]=f}if(!f){j=j+1|0;p=k}else{h=e+12|0;break a}}if((g|0)==36){c[u>>2]=3;h=e+12|0;f=3;break}else if((g|0)==40){c[u>>2]=3;h=e+12|0;f=3;break}else if((g|0)==45){if(f|0){i=u;return}c[e+12>>2]=3;i=u;return}else if((g|0)==55){c[u>>2]=3;h=e+12|0;f=3;break}else if((g|0)==60){c[e+152>>2]=j;if(!(f<<24>>24)){a[u+4>>0]=a[591385]|0;a[u+4+1>>0]=a[591386]|0;a[u+4+2>>0]=a[591387]|0;a[u+4+3>>0]=a[591388]|0;a[u+4+4>>0]=a[591389]|0;f=cj[c[e+304>>2]&127](e+260|0,0,c[c[e+180>>2]>>2]|0,c[c[e+184>>2]>>2]|0)|0;c[u>>2]=f;if(!f){f=cj[c[e+304>>2]&127](e+260|0,1,c[c[e+232>>2]>>2]|0,c[c[e+236>>2]>>2]|0)|0;c[u>>2]=f;if(!f){f=cj[c[e+200>>2]&127](e+156|0,0,591796,8)|0;c[u>>2]=f;if(!f){f=cj[c[e+252>>2]&127](e+208|0,0,u+4|0,5)|0;c[u>>2]=f;if(!f){f=cj[c[e+200>>2]&127](e+156|0,j,c[c[e+284>>2]>>2]|0,c[c[e+288>>2]>>2]|0)|0;c[u>>2]=f;if(!f){f=cj[c[e+252>>2]&127](e+208|0,j,c[(c[e+284>>2]|0)+4>>2]|0,c[(c[e+288>>2]|0)+4>>2]|0)|0;c[u>>2]=f;if(!f){c[e+152>>2]=(c[e+152>>2]|0)+1;i=u;return}}}}}}h=e+12|0;break}f=c[c[e+180>>2]>>2]|0;if(!(Imb(591796,f)|0)){i=u;return}f=cj[c[e+304>>2]&127](e+260|0,0,f,c[c[e+184>>2]>>2]|0)|0;c[u>>2]=f;if(f|0){h=e+12|0;break}f=cj[c[e+304>>2]&127](e+260|0,1,c[c[e+232>>2]>>2]|0,c[c[e+236>>2]>>2]|0)|0;c[u>>2]=f;if(f|0){h=e+12|0;break}f=cj[c[e+304>>2]&127](e+260|0,2,c[(c[e+180>>2]|0)+(h<<2)>>2]|0,c[(c[e+184>>2]|0)+(h<<2)>>2]|0)|0;c[u>>2]=f;if(f|0){h=e+12|0;break}f=cj[c[e+304>>2]&127](e+260|0,3,c[(c[e+232>>2]|0)+(h<<2)>>2]|0,c[(c[e+236>>2]|0)+(h<<2)>>2]|0)|0;c[u>>2]=f;if(f|0){h=e+12|0;break}f=cj[c[e+200>>2]&127](e+156|0,h,c[c[e+284>>2]>>2]|0,c[c[e+288>>2]>>2]|0)|0;c[u>>2]=f;if(f|0){h=e+12|0;break}f=cj[c[e+252>>2]&127](e+208|0,h,c[(c[e+284>>2]|0)+4>>2]|0,c[(c[e+288>>2]|0)+4>>2]|0)|0;c[u>>2]=f;if(f|0){h=e+12|0;break}f=cj[c[e+200>>2]&127](e+156|0,0,c[(c[e+284>>2]|0)+8>>2]|0,c[(c[e+288>>2]|0)+8>>2]|0)|0;c[u>>2]=f;if(f|0){h=e+12|0;break}f=cj[c[e+252>>2]&127](e+208|0,0,c[(c[e+284>>2]|0)+12>>2]|0,c[(c[e+288>>2]|0)+12>>2]|0)|0;c[u>>2]=f;if(f|0){h=e+12|0;break}i=u;return}else if((g|0)==79){i=u;return}}while(0);c[h>>2]=f;i=u;return}function H0a(a,b){a=a|0;b=b|0;c[b+372>>2]=c[b+372>>2]|1;return}function I0a(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+256|0;kj[c[b+60>>2]&127](b,m+64|0,16,m+56|0);d=c[m+56>>2]|0;if((d|0)<0){a=162;b=b+12|0;c[b>>2]=a;i=m;return}if((d|0)==0|(d|0)>16){a=3;b=b+12|0;c[b>>2]=a;i=m;return}k=c[b>>2]|0;l=c[b+8>>2]|0;a:do if((d|0)>0){d=c[a+528>>2]|0;j=0;e=0;while(1){c[b>>2]=c[m+64+(j*12|0)>>2];c[b+8>>2]=c[m+64+(j*12|0)+4>>2];kj[c[b+60>>2]&127](b,m+8|0,4,m);f=c[m>>2]|0;if(!j){if((f+-1|0)>>>0>3){d=3;break}d=J0a(a,c[m+56>>2]|0,f)|0;if(d|0)break;g=c[m>>2]|0;h=c[a+528>>2]|0}else if((f|0)==(e|0)){g=e;h=d;f=e}else{d=3;break}if((g|0)>0){d=h+24+(j<<2)|0;e=0;do{c[b>>2]=c[m+8+(e*12|0)>>2];c[b+8>>2]=c[m+8+(e*12|0)+4>>2];g=Xi[c[b+40>>2]&511](b,0)|0;c[(c[d>>2]|0)+(e<<2)>>2]=g;e=e+1|0}while((e|0)<(c[m>>2]|0))}j=j+1|0;if((j|0)>=(c[m+56>>2]|0))break a;else{d=h;e=f}}a=d;b=b+12|0;c[b>>2]=a;i=m;return}while(0);c[b>>2]=k;c[b+8>>2]=l;a=0;b=b+12|0;c[b>>2]=a;i=m;return}function J0a(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;l=i;i=i+16|0;j=c[a+100>>2]|0;c[l>>2]=0;e=c[a+528>>2]|0;do if(!e){e=HTa(j,420,l)|0;if(!(c[l>>2]|0)){c[e+416>>2]=0;c[a+528>>2]=e;k=e;break}else{k=c[l>>2]|0;i=l;return k|0}}else k=e;while(0);do if(!b)f=15;else{e=c[k>>2]|0;if(e|0)if((e|0)==(b|0)){f=15;break}else break;e=k+148|0;c[e>>2]=JTa(j,32,0,b,0,l)|0;if(c[l>>2]|0){k=c[l>>2]|0;i=l;return k|0}g=k+216|0;c[g>>2]=JTa(j,196,0,b,0,l)|0;if(c[l>>2]|0){k=c[l>>2]|0;i=l;return k|0}h=k+288|0;c[h>>2]=JTa(j,16,0,b,0,l)|0;if(c[l>>2]|0){k=c[l>>2]|0;i=l;return k|0}f=JTa(j,4,0,b<<1,0,l)|0;c[k+136>>2]=f;if(c[l>>2]|0){k=c[l>>2]|0;i=l;return k|0}c[k+140>>2]=f+(b<<2);c[k+144>>2]=a+132;c[k+212>>2]=a+168;c[k+284>>2]=a+460;if(b>>>0>=2){a=c[e>>2]|0;g=c[g>>2]|0;e=c[h>>2]|0;f=2;do{a=a+32|0;c[k+144+(f<<2)>>2]=a;g=g+196|0;c[k+212+(f<<2)>>2]=g;e=e+16|0;c[k+284+(f<<2)>>2]=e;f=f+1|0}while(f>>>0<=b>>>0)}c[k>>2]=b;f=15}while(0);do if((f|0)==15){e=k+4|0;f=c[e>>2]|0;if(d){if(!((f|0)==0|(f|0)==(d|0)))break;c[e>>2]=d;f=d}g=c[k>>2]|0;if(!((g|0)!=0&(f|0)!=0)){k=c[l>>2]|0;i=l;return k|0}a=k+24|0;if(c[a>>2]|0){k=c[l>>2]|0;i=l;return k|0}e=JTa(j,4,0,_(f,g)|0,0,l)|0;c[a>>2]=e;if(!((c[l>>2]|0)==0&g>>>0>1)){k=c[l>>2]|0;i=l;return k|0}c[k+28>>2]=e+(f<<2);if((g|0)==2){k=c[l>>2]|0;i=l;return k|0}else e=2;do{c[k+24+(e<<2)>>2]=(c[a>>2]|0)+((_(e,f)|0)<<2);e=e+1|0}while((e|0)!=(g|0));k=c[l>>2]|0;i=l;return k|0}while(0);c[l>>2]=3;k=c[l>>2]|0;i=l;return k|0}function K0a(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+320|0;c[n+304>>2]=0;k=c[b+100>>2]|0;kj[c[d+60>>2]&127](d,n+256|0,4,n+248|0);e=c[n+248>>2]|0;if((e|0)<0){c[n+304>>2]=162;m=162;d=d+12|0;c[d>>2]=m;i=n;return}if((e|0)==0|(e|0)>4){c[n+304>>2]=3;m=3;d=d+12|0;c[d>>2]=m;i=n;return}m=c[d>>2]|0;l=c[d+8>>2]|0;e=J0a(b,0,e)|0;c[n+304>>2]=e;if(e|0){m=e;d=d+12|0;c[d>>2]=m;i=n;return}h=c[b+528>>2]|0;do if((c[n+248>>2]|0)>0){j=0;while(1){c[d>>2]=c[n+256+(j*12|0)>>2];c[d+8>>2]=c[n+256+(j*12|0)+4>>2];kj[c[d+60>>2]&127](d,n+8|0,20,n);e=c[n>>2]|0;if((e+-1|0)>>>0>19){b=9;break}e=JTa(k,4,0,e<<1,0,n+304|0)|0;g=h+88+(j*12|0)+4|0;c[g>>2]=e;f=c[n+304>>2]|0;if(f|0){b=16;break}f=c[n>>2]|0;b=h+88+(j*12|0)+8|0;c[b>>2]=e+(f<<2);a[h+88+(j*12|0)>>0]=f;if((f|0)>0){e=0;do{c[d>>2]=(c[n+8+(e*12|0)>>2]|0)+1;c[d+8>>2]=(c[n+8+(e*12|0)+4>>2]|0)+-1;f=vi[c[d+36>>2]&2047](d)|0;c[(c[g>>2]|0)+(e<<2)>>2]=f;f=Xi[c[d+40>>2]&511](d,0)|0;c[(c[b>>2]|0)+(e<<2)>>2]=f;e=e+1|0}while((e|0)<(c[n>>2]|0))}j=j+1|0;if((j|0)>=(c[n+248>>2]|0)){b=14;break}}if((b|0)==9){c[n+304>>2]=3;m=3;d=d+12|0;c[d>>2]=m;i=n;return}else if((b|0)==14){e=c[n+304>>2]|0;break}else if((b|0)==16){m=f;d=d+12|0;c[d>>2]=m;i=n;return}}else e=0;while(0);c[d>>2]=m;c[d+8>>2]=l;m=e;d=d+12|0;c[d>>2]=m;i=n;return}function L0a(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+64|0;c[m>>2]=0;kj[c[d+60>>2]&127](d,m+8|0,4,m+4|0);e=c[m+4>>2]|0;a:do if((e|0)<0){c[m>>2]=162;e=162}else{if((e|0)==0|(e|0)>4){c[m>>2]=3;e=3;break}e=J0a(b,0,e)|0;c[m>>2]=e;if(!e){l=c[b+528>>2]|0;h=c[b+100>>2]|0;if((c[m+4>>2]|0)>0){k=0;while(1){j=m+8+(k*12|0)|0;e=c[j>>2]|0;if((a[e>>0]|0)==47){c[j>>2]=e+1;e=e+1|0}b=e;f=c[m+8+(k*12|0)+4>>2]|0;if((f|0)==(b|0)){b=10;break}g=HTa(h,f-b+1|0,m)|0;c[l+8+(k<<2)>>2]=g;e=c[m>>2]|0;if(e|0)break a;mBb(g|0,c[j>>2]|0,f-b|0)|0;a[g+(f-b)>>0]=0;k=k+1|0;if((k|0)>=(c[m+4>>2]|0)){b=13;break}}if((b|0)==10){c[m>>2]=3;e=3;break}else if((b|0)==13){e=c[m>>2]|0;break}}else e=0}}while(0);c[d+12>>2]=e;i=m;return}function M0a(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;j=i;i=i+208|0;f=c[a+528>>2]|0;kj[c[b+60>>2]&127](b,j+8|0,16,j);d=c[j>>2]|0;do if((d|0)<0)d=162;else if((d|0)==0|(d|0)>16)d=3;else{if(!f)g=5;else{e=c[f>>2]|0;if(!e)g=5;else if((e|0)!=(d|0)){d=3;break}}if((g|0)==5){d=J0a(a,d,0)|0;if(d|0)break;d=c[j>>2]|0;f=c[a+528>>2]|0}g=c[b>>2]|0;h=c[b+8>>2]|0;if((d|0)>0){a=f+136|0;d=f+140|0;e=0;do{c[b>>2]=c[j+8+(e*12|0)>>2];c[b+8>>2]=c[j+8+(e*12|0)+4>>2];f=Xi[c[b+40>>2]&511](b,0)|0;c[(c[a>>2]|0)+(e<<2)>>2]=f;c[(c[d>>2]|0)+(e<<2)>>2]=f;e=e+1|0}while((e|0)<(c[j>>2]|0))}c[b>>2]=g;c[b+8>>2]=h;d=0}while(0);c[b+12>>2]=d;i=j;return}function N0a(a,b){a=a|0;b=b|0;c[a+540>>2]=cj[c[b+52>>2]&127](b,0,0,0)|0;return}function O0a(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;f=c[b+100>>2]|0;g=c[b+528>>2]|0;if(!g)return;d=c[g>>2]|0;h=c[g+4>>2]|0;LTa(f,c[g+24>>2]|0);c[g+24>>2]=0;if(d>>>0>1)hBb(g+28|0,0,(d<<2)+-4|0)|0;LTa(f,c[g+216>>2]|0);c[g+216>>2]=0;LTa(f,c[g+148>>2]|0);c[g+148>>2]=0;LTa(f,c[g+288>>2]|0);c[g+288>>2]=0;if(d|0){e=0;do{c[g+212+(e<<2)>>2]=0;c[g+144+(e<<2)>>2]=0;c[g+284+(e<<2)>>2]=0;e=e+1|0}while((e|0)!=(d|0))}LTa(f,c[g+136>>2]|0);c[g+136>>2]=0;c[g+140>>2]=0;if(h|0){d=0;do{e=g+8+(d<<2)|0;LTa(f,c[e>>2]|0);c[e>>2]=0;d=d+1|0}while((d|0)!=(h|0));if(h|0){d=0;do{e=g+88+(d*12|0)+4|0;LTa(f,c[e>>2]|0);c[e>>2]=0;a[g+88+(d*12|0)>>0]=0;d=d+1|0}while((d|0)!=(h|0))}}LTa(f,c[b+528>>2]|0);c[b+528>>2]=0;return}function P0a(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;d=Q0a(a,b,e)|0;if(d|0){i=e;return d|0}b=c[(c[(c[a+4>>2]|0)+128>>2]|0)+48>>2]|0;if(!b){i=e;return d|0}si[c[(c[b>>2]|0)+4>>2]&511](c[b+4>>2]|0,e);i=e;return d|0}function Q0a(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+16|0;e=c[a+4>>2]|0;g=c[(c[e+128>>2]|0)+48>>2]|0;c[a+1376>>2]=c[e+436>>2];c[a+1376+4>>2]=c[e+436+4>>2];c[a+1376+8>>2]=c[e+436+8>>2];c[a+1376+12>>2]=c[e+436+12>>2];f=c[e+452+4>>2]|0;c[a+1392>>2]=c[e+452>>2];c[a+1392+4>>2]=f;do if(g|0){e=Gi[c[c[g>>2]>>2]&255](c[g+4>>2]|0,b,d)|0;if(!e){f=c[d>>2]|0;e=c[d+4>>2]|0;break}else{b=e;i=h;return b|0}}else{f=c[(c[e+424>>2]|0)+(b<<2)>>2]|0;c[d>>2]=f;e=c[(c[e+428>>2]|0)+(b<<2)>>2]|0;c[d+4>>2]=e}while(0);e=Gi[c[a+1484>>2]&255](a,f,e)|0;if(!((g|0)!=0&(e|0)==0)){b=e;i=h;return b|0}if(!(c[(c[g>>2]|0)+8>>2]|0)){b=0;i=h;return b|0}c[h>>2]=(D2a(c[a+32>>2]|0)|0)>>16;c[h+4>>2]=0;c[h+8>>2]=(D2a(c[a+40>>2]|0)|0)>>16;c[h+12>>2]=(D2a(c[a+44>>2]|0)|0)>>16;b=cj[c[(c[g>>2]|0)+8>>2]&127](c[g+4>>2]|0,b,0,h)|0;c[a+32>>2]=c[h>>2]<<16;c[a+40>>2]=c[h+8>>2]<<16;c[a+44>>2]=c[h+12>>2]<<16;i=h;return b|0}function R0a(a){a=a|0;var b=0,d=0;if(!a)return;d=c[a+100>>2]|0;b=c[a+544>>2]|0;if(b|0){LTa(d,b);c[a+544>>2]=0;c[a+540>>2]=0}O0a(a);c[a+528>>2]=0;LTa(d,c[a+132>>2]|0);c[a+132>>2]=0;LTa(d,c[a+136>>2]|0);c[a+136>>2]=0;LTa(d,c[a+140>>2]|0);c[a+140>>2]=0;LTa(d,c[a+144>>2]|0);c[a+144>>2]=0;LTa(d,c[a+148>>2]|0);c[a+148>>2]=0;LTa(d,c[a+428>>2]|0);c[a+428>>2]=0;LTa(d,c[a+424>>2]|0);c[a+424>>2]=0;LTa(d,c[a+420>>2]|0);c[a+420>>2]=0;LTa(d,c[a+408>>2]|0);c[a+408>>2]=0;LTa(d,c[a+412>>2]|0);c[a+412>>2]=0;LTa(d,c[a+392>>2]|0);c[a+392>>2]=0;LTa(d,c[a+396>>2]|0);c[a+396>>2]=0;LTa(d,c[a+400>>2]|0);c[a+400>>2]=0;LTa(d,c[a+372+12>>2]|0);c[a+372+12>>2]=0;LTa(d,c[a+372+16>>2]|0);c[a+372+16>>2]=0;LTa(d,c[a+364>>2]|0);c[a+364>>2]=0;b=c[a+492>>2]|0;if(b|0){LTa(d,c[b+36>>2]|0);c[b+36>>2]=0;c[b+40>>2]=0;LTa(d,c[b+28>>2]|0);c[b+28>>2]=0;c[b+32>>2]=0;LTa(d,b)}c[a+20>>2]=0;c[a+24>>2]=0;return}function S0a(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;d=c[a>>2]|0;b=c[d+548>>2]|0;d=dSa(c[(c[d+96>>2]|0)+4>>2]|0,591112)|0;if(!((b|0)!=0&(d|0)!=0)){a=0;i=e;return a|0}b=c[b>>2]|0;if(!b){a=0;i=e;return a|0}b=vi[b&2047](d)|0;if(!b){a=0;i=e;return a|0}d=c[a>>2]|0;b=Gi[c[b>>2]&255](c[d+100>>2]|0,d+168|0,e)|0;if(!b)c[a+40>>2]=c[e>>2];a=b;i=e;return a|0}function T0a(a){a=a|0;var b=0,d=0;if(!(c[a+40>>2]|0))return;d=c[a>>2]|0;b=c[d+548>>2]|0;d=dSa(c[(c[d+96>>2]|0)+4>>2]|0,591112)|0;if((b|0)!=0&(d|0)!=0){b=c[b>>2]|0;if(b|0){b=vi[b&2047](d)|0;if(b|0)Hi[c[b+8>>2]&1023](c[a+40>>2]|0)}}c[a+40>>2]=0;return}function U0a(a){a=a|0;var b=0,d=0;b=c[a+4>>2]|0;d=c[b+548>>2]|0;if(!d)return 0;b=dSa(c[(c[b+96>>2]|0)+4>>2]|0,591112)|0;if(!b)return 0;d=vi[c[d+4>>2]&2047](b)|0;c[(c[a+156>>2]|0)+36>>2]=d;return 0}function V0a(a){a=a|0;c[(c[a+156>>2]|0)+36>>2]=0;return}function W0a(d,f,g,h){d=d|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+1552|0;n=c[d+4>>2]|0;k=c[(c[n+488>>2]|0)+12>>2]|0;if((c[n+16>>2]|0)>>>0<=g>>>0)if(!(c[(c[n+128>>2]|0)+48>>2]|0)){d=6;i=o;return d|0}m=(h&1024|0)==0?h:h|3;if(f|0){c[d+172>>2]=c[f+16>>2];c[d+176>>2]=c[f+20>>2]}else{c[d+172>>2]=65536;c[d+176>>2]=65536}b[d+110>>1]=0;b[d+108>>1]=0;c[d+72>>2]=1869968492;h=ri[c[k>>2]&3](o+48|0,n,f,d,c[n+420>>2]|0,c[n+528>>2]|0,(m&3|0)==0&1,m>>>16&15,366)|0;if(h|0){d=h;i=o;return d|0}a[o+48+69>>0]=(m&1024)>>>10;c[o+48+1364>>2]=c[n+404>>2];c[o+48+1368>>2]=c[n+408>>2];c[o+48+1372>>2]=c[n+412>>2];c[o+48+1488>>2]=c[n+544>>2];c[o+48+1492>>2]=c[n+540>>2];h=Q0a(o+48|0,g,o+24|0)|0;if(h|0){Hi[c[k+4>>2]&1023](o+48|0);d=h;i=o;return d|0}c[o+32>>2]=c[o+48+1376>>2];c[o+32+4>>2]=c[o+48+1376+4>>2];c[o+32+8>>2]=c[o+48+1376+8>>2];c[o+32+12>>2]=c[o+48+1376+12>>2];g=c[o+48+1392>>2]|0;j=c[o+48+1396>>2]|0;Hi[c[k+4>>2]&1023](o+48|0);c[d+124>>2]=c[d+124>>2]&1|4;if(!(m&1024)){c[d+40>>2]=(D2a(c[o+48+40>>2]|0)|0)>>16;c[d+56>>2]=(D2a(c[o+48+40>>2]|0)|0)>>16;a[(c[d+156>>2]|0)+8>>0]=0;if(m&16|0){h=(c[n+472>>2]|0)-(c[n+464>>2]|0)>>16;c[d+52>>2]=h}else{c[d+52>>2]=(D2a(c[o+48+44>>2]|0)|0)>>16;h=(D2a(c[o+48+44>>2]|0)|0)>>16}c[d+60>>2]=h;c[d+72>>2]=1869968492;if(f|0)if((e[f+14>>1]|0)<24)c[d+124>>2]=c[d+124>>2]|256;if((c[o+32>>2]|0)==65536)if((c[o+32+12>>2]|0)==65536)if(!(c[o+32+4>>2]|0)){if(c[o+32+8>>2]|0)l=20}else l=20;else l=20;else l=20;if((l|0)==20)KSa(d+108|0,o+32|0);if(j|g|0)ISa(d+108|0,g,j);c[o>>2]=c[d+40>>2];c[o+4>>2]=0;JSa(o,o+32|0);c[d+40>>2]=(c[o>>2]|0)+g;c[o>>2]=0;c[o+4>>2]=c[d+52>>2];JSa(o,o+32|0);c[d+52>>2]=(c[o+4>>2]|0)+j;if(!(m&1)){h=c[o+48+16>>2]|0;j=c[h+4>>2]|0;k=c[d+172>>2]|0;f=c[d+176>>2]|0;if(!(m&3)){if(!(c[o+48+72>>2]|0))l=26}else l=26;if((l|0)==26){h=b[h+2>>1]|0;if(h<<16>>16>0){g=h<<16>>16;h=j;while(1){c[h>>2]=H2a(c[h>>2]|0,k)|0;l=h+4|0;c[l>>2]=H2a(c[l>>2]|0,f)|0;if((g|0)>1){g=g+-1|0;h=h+8|0}else break}}}c[d+40>>2]=H2a(c[d+40>>2]|0,k)|0;c[d+52>>2]=H2a(c[d+52>>2]|0,f)|0}HSa(d+108|0,o+8|0);f=c[o+8>>2]|0;c[d+24>>2]=(c[o+8+8>>2]|0)-f;l=c[o+8+12>>2]|0;c[d+28>>2]=l-(c[o+8+4>>2]|0);c[d+32>>2]=f;c[d+36>>2]=l;if(m&16|0)hSa(d+24|0,c[d+52>>2]|0)}else{m=c[d+156>>2]|0;c[d+32>>2]=(D2a(c[o+48+32>>2]|0)|0)>>16;c[d+40>>2]=(D2a(c[o+48+40>>2]|0)|0)>>16;c[m+12>>2]=c[o+32>>2];c[m+12+4>>2]=c[o+32+4>>2];c[m+12+8>>2]=c[o+32+8>>2];c[m+12+12>>2]=c[o+32+12>>2];c[m+28>>2]=g;c[m+32>>2]=j;a[m+8>>0]=1}c[d+136>>2]=c[o+24>>2];c[d+140>>2]=c[o+24+4>>2];h=c[(c[n+128>>2]|0)+48>>2]|0;if(!h){d=0;i=o;return d|0}si[c[(c[h>>2]|0)+4>>2]&511](c[h+4>>2]|0,o+24|0);c[d+136>>2]=0;c[d+140>>2]=0;d=0;i=o;return d|0}function X0a(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;c[e>>2]=0;c[e+4>>2]=0;f=c[a+492>>2]|0;if(!f)return 0;a=c[f+36>>2]|0;f=a+(c[f+40>>2]<<4)+-16|0;a:do if(f>>>0>=a>>>0){while(1){i=(f-a>>4|0)/2|0;g=a+(i<<4)|0;h=c[g>>2]<<16|c[a+(i<<4)+4>>2];if((h|0)==(b<<16|d|0))break;f=h>>>0<(b<<16|d)>>>0?f:g+-16|0;a=h>>>0<(b<<16|d)>>>0?g+16|0:a;if(a>>>0>f>>>0)break a}c[e>>2]=c[a+(i<<4)+8>>2];c[e+4>>2]=c[a+(i<<4)+12>>2];return 0}while(0);c[e>>2]=0;c[e+4>>2]=0;return 0}function Y0a(a,e){a=a|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=i;i=i+32|0;s=c[e+28>>2]|0;c[t>>2]=2;f=HTa(s,44,t)|0;if(!(c[t>>2]|0)){q=jTa(e,c[e+4>>2]|0)|0;c[t>>2]=q;if(!q){c[f+4>>2]=c[a+460>>2];c[f+4+4>>2]=c[a+460+4>>2];c[f+4+8>>2]=c[a+460+8>>2];c[f+4+12>>2]=c[a+460+12>>2];c[f+20>>2]=c[a+460+12>>2];c[f+24>>2]=c[a+460+4>>2];h=(c[a+488>>2]|0)+24|0;g=c[h>>2]|0;if(!g)r=36;else{g=cj[c[g>>2]&127](t+4|0,c[e+28>>2]|0,c[e+32>>2]|0,c[e+36>>2]|0)|0;c[t>>2]=g;if(!g){c[t+4+8>>2]=f;c[t+4+12>>2]=148;c[t+4+16>>2]=a+132;c[t>>2]=vi[c[(c[h>>2]|0)+8>>2]&2047](t+4|0)|0;Hi[c[(c[h>>2]|0)+4>>2]&1023](t+4|0);g=c[t>>2]|0}if((g&255|0)==2){q=c[e+32>>2]|0;h=c[e+4>>2]|0;if(h>>>0>6)if((d[q+1>>0]|0)<4)if((d[q+4>>0]<<16|d[q+5>>0]<<24|d[q+3>>0]<<8|d[q+2>>0]|0)==(h|0)){p=c[e+28>>2]|0;h=c[e+36>>2]|0;c[t+24>>2]=0;a:do if((q+101|0)>>>0>h>>>0){c[t+24>>2]=2;r=33}else{g=q+99+((d[q+100>>0]<<8|d[q+99>>0])+18)|0;if((g+18|0)>>>0>h>>>0)g=0;else if((d[g+1>>0]<<8|d[g>>0])>>>0<18)g=0;else{o=d[g+14+2>>0]<<16|d[g+14+3>>0]<<24|d[g+14+1>>0]<<8|d[g+14>>0];if(!o)g=0;else{if((q+o+2|0)>>>0>h>>>0){c[t+24>>2]=2;r=33;break}g=d[q+o+1>>0]<<8|d[q+o>>0];c[f+40>>2]=g;if((q+o+2+(g<<2)|0)>>>0>h>>>0){c[t+24>>2]=2;r=33;break}if(!g)g=0;else{g=JTa(p,16,0,g,0,t+24|0)|0;c[f+36>>2]=g;if(!(c[t+24>>2]|0)){m=c[f+40>>2]<<2;n=c[a+92>>2]|0;h=c[a+36>>2]|0;b:do if((h|0)>0){j=c[a+40>>2]|0;l=0;while(1){k=c[j+(l<<2)>>2]|0;l=l+1|0;if((b[k+8>>1]|0)==7)break;if((l|0)>=(h|0))break b}l=pSa(a,k)|0;c[t+24>>2]=l;if(l|0){r=33;break a}}while(0);if((m|0)>0){h=q+o+2|0;while(1){c[g>>2]=TRa(a,d[h>>0]|0)|0;c[g+4>>2]=TRa(a,d[h+1>>0]|0)|0;c[g+8>>2]=(d[h+3>>0]<<8|d[h+2>>0])<<16>>16;c[g+12>>2]=0;h=h+4|0;if(h>>>0>=(q+o+2+m|0)>>>0)break;else g=g+16|0}}if(!n)g=c[t+24>>2]|0;else{g=pSa(a,n)|0;c[t+24>>2]=g}if(g|0){r=33;break}cnb(c[f+36>>2]|0,c[f+40>>2]|0,16,367);if(!(c[t+24>>2]|0))g=0;else r=33}else r=33}}}}while(0);if((r|0)==33){LTa(p,c[f+36>>2]|0);c[f+36>>2]=0;c[f+40>>2]=0;g=c[t+24>>2]|0}c[t>>2]=g}}if(!g)r=36}if((r|0)==36){c[a+460>>2]=c[f+4>>2];c[a+460+4>>2]=c[f+4+4>>2];c[a+460+8>>2]=c[f+4+8>>2];c[a+460+12>>2]=c[f+4+12>>2];c[a+52>>2]=c[f+4>>2]>>16;c[a+56>>2]=c[f+8>>2]>>16;c[a+60>>2]=(c[f+12>>2]|0)+65535>>16;c[a+64>>2]=(c[f+16>>2]|0)+65535>>16;b[a+70>>1]=((c[f+20>>2]|0)+32768|0)>>>16;b[a+72>>1]=((c[f+24>>2]|0)+32768|0)>>>16;if(c[f+40>>2]|0){c[a+8>>2]=c[a+8>>2]|64;c[a+492>>2]=f;f=0}}lTa(e)}}if(!f){s=c[t>>2]|0;i=t;return s|0}r=f+36|0;LTa(s,c[r>>2]|0);c[r>>2]=0;c[f+40>>2]=0;r=f+28|0;LTa(s,c[r>>2]|0);c[r>>2]=0;c[f+32>>2]=0;LTa(s,f);s=c[t>>2]|0;i=t;return s|0}function Z0a(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;if(d>>>0>65535){b=0;return b|0}h=c[e+284>>2]|0;if((h|0)<=0){b=0;return b|0}f=c[e+288>>2]|0;e=0;while(1){g=c[f+(e<<2)>>2]|0;if(g|0)if((a[g>>0]|0)==(a[b>>0]|0))if((rnb(g)|0)==(d|0))if(!(pmb(g,b,d)|0)){f=9;break}e=e+1|0;if((e|0)>=(h|0)){e=0;f=9;break}}if((f|0)==9)return e|0;return 0}function _0a(a,b){a=a|0;b=b|0;a=c[a>>2]<<16|c[a+4>>2];b=c[b>>2]<<16|c[b+4>>2];return (a>>>0>b>>>0?1:(a>>>0>>0)<<31>>31)|0}function $0a(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+1520|0;if(f&16|0){if(!e){d=0;i=h;return d|0}hBb(g|0,0,e<<2|0)|0;d=0;i=h;return d|0}f=ri[c[c[(c[b+488>>2]|0)+12>>2]>>2]&3](h,b,0,0,c[b+420>>2]|0,c[b+528>>2]|0,0,0,366)|0;if(f|0){d=f;i=h;return d|0}a[h+70>>0]=1;a[h+68>>0]=0;c[h+1364>>2]=c[b+404>>2];c[h+1368>>2]=c[b+408>>2];c[h+1372>>2]=c[b+412>>2];c[h+1488>>2]=c[b+544>>2];c[h+1492>>2]=c[b+540>>2];if(!e){d=0;i=h;return d|0}b=0;do{if(!(Q0a(h,b+d|0,h+1504|0)|0)){f=c[(c[(c[h+4>>2]|0)+128>>2]|0)+48>>2]|0;if(f|0)si[c[(c[f>>2]|0)+4>>2]&511](c[f+4>>2]|0,h+1504|0);c[g+(b<<2)>>2]=(D2a(c[h+40>>2]|0)|0)>>16}else c[g+(b<<2)>>2]=0;b=b+1|0}while((b|0)!=(e|0));f=0;i=h;return f|0}function a1a(a,b){a=a|0;b=b|0;var d=0,e=0;e=c[a>>2]|0;d=c[e+548>>2]|0;e=dSa(c[(c[e+96>>2]|0)+4>>2]|0,591112)|0;if((d|0)!=0&(e|0)!=0){d=c[d>>2]|0;if(d|0){d=vi[d&2047](e)|0;jSa(c[a>>2]|0,b);if(!d)return 0;qi[c[d+4>>2]&15](c[a+40>>2]|0,c[a+16>>2]|0,c[a+20>>2]|0,0,0);return 0}}jSa(c[a>>2]|0,b);return 0}function b1a(a){a=a|0;var b=0;b=dSa(c[a+4>>2]|0,591490)|0;if(!b){a=11;return a|0}c[a+28>>2]=c[b>>2];a=0;return a|0}function c1a(a){a=a|0;return}function d1a(a,b){a=a|0;b=b|0;return HRa(56816,b)|0}function e1a(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;NTa(d,c[(c[a+420>>2]|0)+(b<<2)>>2]|0,e)|0;return 0}function f1a(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;f=c[b+416>>2]|0;if((f|0)<=0){j=0;return j|0}g=c[b+420>>2]|0;h=a[d>>0]|0;e=0;while(1){i=c[g+(e<<2)>>2]|0;if(h<<24>>24==(a[i>>0]|0))if(!(Imb(d,i)|0))break;e=e+1|0;if((e|0)>=(f|0)){e=0;j=7;break}}if((j|0)==7)return e|0;j=Ipb(c[(c[b+424>>2]|0)+(e<<2)>>2]|0)|0;return j|0}function g1a(a){a=a|0;return c[a+364>>2]|0}function h1a(a,b){a=a|0;b=b|0;c[b>>2]=c[a+132>>2];c[b+4>>2]=c[a+132+4>>2];c[b+8>>2]=c[a+132+8>>2];c[b+12>>2]=c[a+132+12>>2];c[b+16>>2]=c[a+132+16>>2];c[b+20>>2]=c[a+132+20>>2];c[b+24>>2]=c[a+132+24>>2];c[b+28>>2]=c[a+132+28>>2];return 0}function i1a(a,c){a=a|0;c=c|0;b[c>>1]=b[a+164>>1]|0;return 0}function j1a(a){a=a|0;return 1}function k1a(a,b){a=a|0;b=b|0;mBb(b|0,a+168|0,196)|0;return 0}function l1a(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=i;i=i+352|0;c[e+500>>2]=0;c[e>>2]=1;s=ySa(c[e+96>>2]|0,591555)|0;c[e+484>>2]=s;t=xSa(c[(c[e+96>>2]|0)+4>>2]|0,591572)|0;c[e+488>>2]=t;if(!t){e=11;i=u;return e|0}m=c[e+100>>2]|0;hBb(u+8|0,0,304)|0;c[e+492>>2]=HTa(m,12,u)|0;a:do if(!(c[u>>2]|0)){c[e+496>>2]=12;l=c[e+104>>2]|0;kj[c[c[t+4>>2]>>2]&127](u+8|0,0,0,m);c[u+8+72>>2]=l;o=u+8+80|0;c[o>>2]=0;n=u+8+76|0;c[n>>2]=0;a[u+8+84>>0]=0;d=cTa(l,0)|0;c[u+312>>2]=d;do if(!d){d=jTa(l,17)|0;c[u+312>>2]=d;if(!d){if(qmb(c[l+32>>2]|0,591578,17)|0){c[u+312>>2]=2;lTa(l);d=2;r=15;break}lTa(l);d=cTa(l,0)|0;c[u+312>>2]=d;if(!d){k=c[l+4>>2]|0;if(!(c[l+20>>2]|0)){c[n>>2]=(c[l>>2]|0)+(c[l+8>>2]|0);c[o>>2]=k;a[u+8+84>>0]=1;d=dTa(l,k)|0;c[u+312>>2]=d;if(d|0){r=15;break}d=c[o>>2]|0}else{j=HTa(m,k,u+312|0)|0;c[n>>2]=j;d=c[u+312>>2]|0;if(d|0){r=15;break}d=fTa(l,j,k)|0;c[u+312>>2]=d;if(d|0){r=15;break}c[o>>2]=k;d=k}j=c[n>>2]|0;c[u+8+4>>2]=j;c[u+8>>2]=j;c[u+8+8>>2]=j+d;c[u>>2]=0;q=u+8|0;k=u+8+8|0}else r=15}else r=15}else r=15;while(0);if((r|0)==15){if(a[u+8+84>>0]|0){c[u>>2]=d;break}LTa(m,c[n>>2]|0);c[n>>2]=0;q=c[u+312>>2]|0;c[u>>2]=q;if(q|0)break;q=u+8|0;k=u+8+8|0;j=0;d=c[o>>2]|0}c[q>>2]=j;p=j+d|0;c[k>>2]=p;n=u+8+12|0;c[n>>2]=0;Hi[c[u+8+28>>2]&1023](u+8|0);d=c[q>>2]|0;b:do if(d>>>0

>>0){o=u+8+32|0;c:while(1){j=a[d>>0]|0;if((d+25|0)>>>0

>>0&j<<24>>24==70)if(!(pmb(d,591596,13)|0)){Hi[c[o>>2]&1023](u+8|0);Hi[c[u+8+28>>2]&1023](u+8|0);j=c[q>>2]|0;d:do if(j>>>0

>>0){d=j;while(1){if((d+5|0)>>>0

>>0&(a[d>>0]|0)==107)if(!(pmb(d,591610,5)|0))break;Hi[c[o>>2]&1023](u+8|0);d=c[n>>2]|0;if(d|0){r=52;break c}Hi[c[u+8+28>>2]&1023](u+8|0);d=c[q>>2]|0;if(d>>>0>=p>>>0){d=j;break d}}Hi[c[o>>2]&1023](u+8|0);si[c[u+8+56>>2]&511](u+8|0,u+312|0);d=(c[u+312+8>>2]|0)==3?c[q>>2]|0:j}else d=j;while(0);c[q>>2]=d}else r=30;else r=30;e:do if((r|0)==30){r=0;if(!((d+2|0)>>>0

>>0&j<<24>>24==47)){Hi[c[o>>2]&1023](u+8|0);d=c[n>>2]|0;if(!d)break;else{r=52;break c}}l=d+1|0;c[q>>2]=l;Hi[c[o>>2]&1023](u+8|0);d=c[n>>2]|0;if(d|0){r=52;break c}d=c[q>>2]|0;if(d>>>0

>>0&((d|0)!=(l|0)&(d-l|0)>>>0<22)){j=0;while(1){m=56888+(j*36|0)|0;k=c[m>>2]|0;if(k|0)if((a[l>>0]|0)==(a[k>>0]|0))if((d-l|0)==(rnb(k)|0))if(!(qmb(l,k,d-l|0)|0))break;j=j+1|0;if((j|0)>=20)break e}d=c[56888+(j*36|0)+8>>2]|0;do if((j+-15|0)>>>0<4){si[c[56888+(j*36|0)+12>>2]&511](e,u+8|0);d=c[n>>2]|0}else{switch(c[56888+(j*36|0)+4>>2]|0){case 3:{c[u+312>>2]=e+132;break}case 2:{c[u+312>>2]=e+164;break}case 5:{c[u+312>>2]=e+460;break}default:c[u+312>>2]=e+132}if((d+-9|0)>>>0<2){d=Ci[c[u+8+68>>2]&127](u+8|0,m,u+312|0,0,0)|0;break}else{d=Ci[c[u+8+64>>2]&127](u+8|0,m,u+312|0,0,0)|0;break}}while(0);c[n>>2]=d;if(d|0){r=48;break c}}}while(0);Hi[c[u+8+28>>2]&1023](u+8|0);d=c[q>>2]|0;if(d>>>0>=p>>>0)break b}if((r|0)==48){c[u>>2]=d;break a}else if((r|0)==52){c[u>>2]=d;break a}}while(0);q=c[n>>2]|0;c[u>>2]=q;if(!q){if((a[e+433>>0]|0)!=42){c[u>>2]=2;break}o=c[u+8+144>>2]|0;c[e+416>>2]=o;if(!(c[u+8+212>>2]|0))c[u>>2]=3;c[u+8+212>>2]=0;c[e+396>>2]=c[u+8+200>>2];c[e+424>>2]=c[u+8+224>>2];c[e+428>>2]=c[u+8+228>>2];c[e+400>>2]=c[u+8+148>>2];c[e+420>>2]=c[u+8+172>>2];c[u+8+148>>2]=0;c[u+8+172>>2]=0;if((c[e+368>>2]|0)==1){q=c[u+8+108>>2]|0;f:do if((q|0)>0){if((o|0)<1){d=0;while(1){b[(c[e+384>>2]|0)+(d<<1)>>1]=0;c[(c[e+388>>2]|0)+(d<<2)>>2]=591796;d=d+1|0;if((d|0)==(q|0)){j=0;d=0;break f}}}else{p=0;j=0;d=0}do{b[(c[e+384>>2]|0)+(p<<1)>>1]=0;c[(c[e+388>>2]|0)+(p<<2)>>2]=591796;l=c[(c[u+8+116>>2]|0)+(p<<2)>>2]|0;g:do if(l){m=c[e+420>>2]|0;k=0;while(1){n=c[m+(k<<2)>>2]|0;if(!(Imb(l,n)|0))break;k=k+1|0;if((k|0)>=(o|0))break g}b[(c[e+384>>2]|0)+(p<<1)>>1]=k;c[(c[e+388>>2]|0)+(p<<2)>>2]=n;if(Imb(591796,n)|0){j=(p|0)<(j|0)?j:p+1|0;d=(p|0)<(d|0)?p:d}}while(0);p=p+1|0}while((p|0)!=(q|0))}else{j=0;d=0}while(0);c[e+376>>2]=d;c[e+380>>2]=j;c[e+372>>2]=c[u+8+88>>2]}}}while(0);d=c[u+8+140>>2]|0;if(d|0)Hi[d&1023](u+8+92|0);d=c[u+8+248>>2]|0;if(d|0)Hi[d&1023](u+8+200|0);d=c[u+8+196>>2]|0;if(d|0)Hi[d&1023](u+8+148|0);d=c[u+8+300>>2]|0;if(d|0)Hi[d&1023](u+8+252|0);if(!(a[u+8+84>>0]|0)){LTa(c[u+8+16>>2]|0,c[u+8+76>>2]|0);c[u+8+76>>2]=0}Hi[c[u+8+24>>2]&1023](u+8|0);d=c[u>>2]|0;if((f|0)<0|(d|0)!=0){e=d;i=u;return e|0}if((f|0)>0){e=6;i=u;return e|0}c[e+16>>2]=c[e+416>>2];c[e+36>>2]=0;c[e+4>>2]=0;d=c[e+8>>2]|0;c[e+8>>2]=d|529;if(!(a[e+156>>0]|0))d=d|529;else{c[e+8>>2]=d|533;d=d|533}c[e+8>>2]=d|2048;j=c[e+144>>2]|0;c[e+20>>2]=j;c[e+24>>2]=591905;h:do if(!j){d=c[e+364>>2]|0;if(d|0)c[e+20>>2]=d}else{d=c[e+140>>2]|0;if(d|0){k=a[d>>0]|0;if(k<<24>>24){i:while(1){m=k<<24>>24==0;j:while(1){l=a[j>>0]|0;if(k<<24>>24==l<<24>>24){r=90;break}switch(k<<24>>24){case 45:case 32:break j;default:{}}switch(l<<24>>24){case 0:break i;case 45:case 32:break;default:break h}if(m)break h;else j=j+1|0}if((r|0)==90){r=0;j=j+1|0}d=d+1|0;k=a[d>>0]|0;if(!(k<<24>>24))break h}c[e+24>>2]=d}}}while(0);c[e+28>>2]=0;c[e+32>>2]=0;c[u+312>>2]=9;c[u+312+20>>2]=dSa(c[(c[e+96>>2]|0)+4>>2]|0,591490)|0;c[u+312+4>>2]=c[e+492>>2];c[u+312+8>>2]=c[e+496>>2];if(g|0){c[u+312>>2]=25;c[u+312+24>>2]=g;c[u+312+28>>2]=h}d=URa(c[(c[e+96>>2]|0)+4>>2]|0,u+312|0,0,e+500|0)|0;if(d|0){e=d;i=u;return e|0}fSa(c[(c[e+500>>2]|0)+88>>2]|0)|0;j=c[e+500>>2]|0;c[e+52>>2]=c[j+52>>2];c[e+52+4>>2]=c[j+52+4>>2];c[e+52+8>>2]=c[j+52+8>>2];c[e+52+12>>2]=c[j+52+12>>2];d=c[j+68>>2]|0;b[e+68>>1]=d;b[e+70>>1]=d>>>16;d=c[j+72>>2]|0;b[e+72>>1]=d;b[e+74>>1]=d>>>16;d=c[j+76>>2]|0;b[e+76>>1]=d;b[e+78>>1]=d>>>16;b[e+80>>1]=b[e+132+26>>1]|0;b[e+82>>1]=b[e+160>>1]|0;d=(c[e+152>>2]|0)!=0&1;c[e+12>>2]=d;if(c[j+12>>2]&2|0)c[e+12>>2]=d|2;if(c[j+8>>2]&32|0)c[e+8>>2]=c[e+8>>2]|32;if(!s){e=0;i=u;return e|0}d=c[t+20>>2]|0;c[u+312>>2]=e;b[u+312+8>>1]=3;j=u+312+10|0;b[j>>1]=1;k=u+312+4|0;c[k>>2]=1970170211;l=qSa(c[d+12>>2]|0,0,u+312|0,0)|0;k:do if((l|0)==0|(l&255|0)==163){b[u+312+8>>1]=7;switch(c[e+368>>2]|0){case 2:{c[k>>2]=1094995778;b[j>>1]=0;break}case 4:{c[k>>2]=1094992453;b[j>>1]=1;d=d+4|0;break}case 1:{c[k>>2]=1094992451;b[j>>1]=2;d=d+8|0;break}case 3:{c[k>>2]=1818326065;b[j>>1]=3;d=d+12|0;break}default:{d=0;break k}}d=c[d>>2]|0;if(!d)d=0;else d=qSa(d,0,u+312|0,0)|0}else d=l;while(0);e=d;i=u;return e|0}function m1a(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;j=i;i=i+32|0;if((cj[c[d+52>>2]&127](d,6,j,3)|0)<6){c[d+12>>2]=3;i=j;return}e=c[j+12>>2]|0;e=(e|0)<0?0-e|0:e;if(!e){c[d+12>>2]=3;i=j;return}b[a+68>>1]=I2a(1e3,e)|0;if((e|0)==65536){e=j+8|0;d=j+16|0;f=j+4|0;g=c[j+12>>2]|0;h=c[j+20>>2]|0}else{c[j>>2]=I2a(c[j>>2]|0,e)|0;c[j+4>>2]=I2a(c[j+4>>2]|0,e)|0;c[j+8>>2]=I2a(c[j+8>>2]|0,e)|0;c[j+16>>2]=I2a(c[j+16>>2]|0,e)|0;h=I2a(c[j+20>>2]|0,e)|0;c[j+20>>2]=h;g=c[j+12>>2]>>31&-131072|65536;c[j+12>>2]=g;e=j+8|0;d=j+16|0;f=j+4|0}c[a+436>>2]=c[j>>2];c[a+444>>2]=c[f>>2];c[a+440>>2]=c[e>>2];c[a+448>>2]=g;c[a+452>>2]=c[d>>2]>>16;c[a+456>>2]=h>>16;i=j;return}function n1a(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;l=c[d+8>>2]|0;g=c[b+488>>2]|0;Hi[c[d+28>>2]&1023](d);j=c[d>>2]|0;if(j>>>0>=l>>>0){c[d+12>>2]=3;i=n;return}e=a[j>>0]|0;if(!(e<<24>>24==91|((e&255)+-48|0)>>>0<10)){if((j+17|0)>>>0>>0)if(!(pmb(j,591804,16)|0)){c[b+368>>2]=2;i=n;return}if((j+15|0)>>>0>>0)if(!(pmb(j,591821,14)|0)){c[b+368>>2]=4;i=n;return}if((j+18|0)>>>0>>0)if(!(pmb(j,591836,17)|0)){c[b+368>>2]=3;i=n;return}c[d+12>>2]=162;i=n;return}f=c[d+16>>2]|0;if(e<<24>>24==91){c[d>>2]=j+1;k=256;h=1}else{k=vi[c[d+36>>2]&2047](d)|0;h=0}Hi[c[d+28>>2]&1023](d);if((c[d>>2]|0)>>>0>=l>>>0){i=n;return}c[b+372>>2]=k;c[d+88>>2]=k;c[b+384>>2]=JTa(f,2,0,k,0,n)|0;e=c[n>>2]|0;if(!e){c[b+388>>2]=JTa(f,4,0,k,0,n)|0;e=c[n>>2]|0;if(!e){e=Gi[c[c[g>>2]>>2]&255](d+92|0,k,f)|0;c[n>>2]=e;if(!e){if((k|0)>0){e=0;do{cj[c[d+136>>2]&127](d+92|0,e,591796,8)|0;e=e+1|0}while((e|0)!=(k|0))}Hi[c[d+28>>2]&1023](d);e=c[d>>2]|0;a:do if(e>>>0>>0){b:do if(!(h<<24>>24)){h=e;f=0;while(1){g=a[h>>0]|0;switch(g<<24>>24){case 93:{m=h;break b}case 100:{e=h+3|0;if(e>>>0>>0)if((a[h+1>>0]|0)==101)if((a[h+2>>0]|0)==102)switch(a[e>>0]|0){case 0:case 12:case 10:case 13:case 9:case 32:break a;default:{}}break}default:{}}if(((g&255)+-48|0)>>>0>9){Hi[c[d+32>>2]&1023](d);if(!(c[d+12>>2]|0))e=h;else{e=45;break}}else{g=vi[c[d+36>>2]&2047](d)|0;Hi[c[d+28>>2]&1023](d);e=c[d>>2]|0;if((e+2|0)>>>0>>0)if((f|0)<(k|0)&(a[e>>0]|0)==47){c[d>>2]=e+1;Hi[c[d+32>>2]&1023](d);h=c[d>>2]|0;if(h>>>0>=l>>>0){e=45;break}if(c[d+12>>2]|0){e=45;break}j=cj[c[d+136>>2]&127](d+92|0,g,e+1|0,h-(e+1)+1|0)|0;c[d+12>>2]=j;if(j|0){e=45;break}a[(c[(c[d+116>>2]|0)+(g<<2)>>2]|0)+(h-(e+1))>>0]=0;e=e+1|0;f=f+1|0}}Hi[c[d+28>>2]&1023](d);h=c[d>>2]|0;if(h>>>0>=l>>>0)break a}if((e|0)==45){i=n;return}}else{g=e;h=0;while(1){f=a[g>>0]|0;switch(f<<24>>24){case 93:{m=g;break b}case 100:{e=g+3|0;if(e>>>0>>0)if((a[g+1>>0]|0)==101)if((a[g+2>>0]|0)==102)switch(a[e>>0]|0){case 0:case 12:case 10:case 13:case 9:case 32:break a;default:{}}break}default:{}}if((g+2|0)>>>0>=l>>>0){e=42;break}if(!((h|0)<(k|0)&f<<24>>24==47)){e=42;break}e=g+1|0;c[d>>2]=e;Hi[c[d+32>>2]&1023](d);f=c[d>>2]|0;if(f>>>0>=l>>>0){e=45;break}if(c[d+12>>2]|0){e=45;break}j=cj[c[d+136>>2]&127](d+92|0,h,e,f-e+1|0)|0;c[d+12>>2]=j;if(j|0){e=45;break}a[(c[(c[d+116>>2]|0)+(h<<2)>>2]|0)+(f-e)>>0]=0;Hi[c[d+28>>2]&1023](d);g=c[d>>2]|0;if(g>>>0>=l>>>0)break a;else h=h+1|0}if((e|0)==42){c[d+12>>2]=2;i=n;return}else if((e|0)==45){i=n;return}}while(0);e=m+1|0}else e=j;while(0);c[b+368>>2]=1;c[d>>2]=e;i=n;return}}}c[d+12>>2]=e;i=n;return}function o1a(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;j=c[d+16>>2]|0;i=c[b+488>>2]|0;k=c[d+8>>2]|0;Hi[c[d+28>>2]&1023](d);b=c[d>>2]|0;a:do if(b>>>0>>0){b=a[b>>0]|0;b:do if(((b&255)+-48|0)>>>0<10){b=vi[c[d+36>>2]&2047](d)|0;c[d+144>>2]=b;if(c[d+12>>2]|0)return;if((b|0)<0){b=3;break a}g=c[d>>2]|0}else{if(b<<24>>24!=60){b=3;break a}Hi[c[d+32>>2]&1023](d);if(c[d+12>>2]|0)return;Hi[c[d+28>>2]&1023](d);f=c[d>>2]|0;if(f>>>0>>0){b=f;e=0;c:while(1){switch(a[b>>0]|0){case 62:{h=e;n=11;break c}case 47:{e=e+1|0;break}default:{}}Hi[c[d+32>>2]&1023](d);if(c[d+12>>2]|0){n=47;break}Hi[c[d+28>>2]&1023](d);b=c[d>>2]|0;if(b>>>0>=k>>>0){g=b;break b}}if((n|0)==11){c[d+144>>2]=h;c[d>>2]=f;g=f;break}else if((n|0)==47)return}else g=f}while(0);if(g>>>0>>0){b=Gi[c[c[i>>2]>>2]&255](d+200|0,c[d+144>>2]|0,j)|0;if(!b){b=Gi[c[c[i>>2]>>2]&255](d+148|0,c[d+144>>2]|0,j)|0;if(!b){b=Gi[c[c[i>>2]>>2]&255](d+252|0,4,j)|0;if(!b){i=0;g=0;h=0;d:while(1){do{Hi[c[d+28>>2]&1023](d);e=c[d>>2]|0;if(e>>>0>=k>>>0){l=i;m=g;o=h;break d}switch(a[e>>0]|0){case 62:{l=i;m=g;o=h;break d}case 101:{if((e+3|0)>>>0>>0)if((a[e+1>>0]|0)==110)if((a[e+2>>0]|0)==100)switch(a[e+3>>0]|0){case 0:case 12:case 10:case 13:case 9:case 32:{l=i;m=g;o=h;break d}default:{}}break}default:{}}Hi[c[d+32>>2]&1023](d);f=c[d>>2]|0;if(f>>>0>=k>>>0){b=3;break a}if(c[d+12>>2]|0){n=47;break d}}while((a[e>>0]|0)!=47);if((e+2|0)>>>0>=k>>>0){b=3;break a}b=cj[c[d+192>>2]&127](d+148|0,i,e+1|0,f-(e+1)+1|0)|0;if(b|0)break a;a[(c[(c[d+172>>2]|0)+(i<<2)>>2]|0)+(f-(e+1))>>0]=0;if((a[e+1>>0]|0)==46){j=(Imb(591796,c[(c[d+172>>2]|0)+(i<<2)>>2]|0)|0)==0;g=j?1:g;h=j?i:h}Hi[c[d+28>>2]&1023](d);e=c[d>>2]|0;vi[c[d+36>>2]&2047](d)|0;f=c[d>>2]|0;if(f>>>0>=k>>>0){b=3;break a}b=cj[c[d+244>>2]&127](d+200|0,i,e,f-e+1|0)|0;if(b|0)break a;a[(c[(c[d+224>>2]|0)+(i<<2)>>2]|0)+(f-e)>>0]=0;b=i+1|0;if((b|0)<(c[d+144>>2]|0))i=b;else{l=b;m=g;o=h;break}}if((n|0)==47)return;c[d+144>>2]=l;if(!(m<<24>>24))b=3;else{b=c[c[d+172>>2]>>2]|0;if(!(Imb(591796,b)|0))return;b=cj[c[d+296>>2]&127](d+252|0,0,b,c[c[d+176>>2]>>2]|0)|0;if(!b){b=cj[c[d+296>>2]&127](d+252|0,1,c[c[d+224>>2]>>2]|0,c[c[d+228>>2]>>2]|0)|0;if(!b){b=cj[c[d+296>>2]&127](d+252|0,2,c[(c[d+172>>2]|0)+(o<<2)>>2]|0,c[(c[d+176>>2]|0)+(o<<2)>>2]|0)|0;if(!b){b=cj[c[d+296>>2]&127](d+252|0,3,c[(c[d+224>>2]|0)+(o<<2)>>2]|0,c[(c[d+228>>2]|0)+(o<<2)>>2]|0)|0;if(!b){b=cj[c[d+192>>2]&127](d+148|0,o,c[c[d+276>>2]>>2]|0,c[c[d+280>>2]>>2]|0)|0;if(!b){b=cj[c[d+244>>2]&127](d+200|0,o,c[(c[d+276>>2]|0)+4>>2]|0,c[(c[d+280>>2]|0)+4>>2]|0)|0;if(!b){b=cj[c[d+192>>2]&127](d+148|0,0,c[(c[d+276>>2]|0)+8>>2]|0,c[(c[d+280>>2]|0)+8>>2]|0)|0;if(!b){b=cj[c[d+244>>2]&127](d+200|0,0,c[(c[d+276>>2]|0)+12>>2]|0,c[(c[d+280>>2]|0)+12>>2]|0)|0;if(!b)return}}}}}}}}}}}}else b=3}else b=3;while(0);c[d+12>>2]=b;return}function p1a(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=i;i=i+16|0;t=c[e+16>>2]|0;r=c[e+8>>2]|0;Hi[c[e+28>>2]&1023](e);f=c[e>>2]|0;a:do if(f>>>0>>0){c[e>>2]=f+1;if((a[f>>0]|0)==91){Hi[c[e+28>>2]&1023](e);f=c[e>>2]|0;b:do if(f>>>0>>0){h=f;g=0;n=0;p=0;m=0;l=0;f=0;k=0;c:while(1){j=a[h>>0]|0;switch(j<<24>>24){case 93:{s=7;break c}case 60:{Hi[c[e+32>>2]&1023](e);if(c[e+12>>2]|0)break a;k=(c[e>>2]|0)-h|0;if(k>>>0<=2){s=10;break c}f=JTa(t,1,m,(k+-1|0)/2|0,f,u+4|0)|0;j=c[u+4>>2]|0;if(j|0){h=j;s=46;break a}c[e>>2]=h;Ci[c[e+44>>2]&127](e,f,(k+-1|0)/2|0,u,1)|0;g=1;j=(k+-1|0)/2|0;h=c[u>>2]|0;s=22;break}default:if(((j&255)+-48|0)>>>0<10){if(g<<24>>24){s=15;break c}h=vi[c[e+36>>2]&2047](e)|0;if((h|0)<0){s=17;break c}Hi[c[e+32>>2]&1023](e);if(c[e+12>>2]|0){s=49;break c}f=c[e>>2]|0;if((r-f|0)>>>0>>0){s=20;break c}c[e>>2]=f+(h+1);g=0;f=f+1|0}else{j=m;h=k;s=22}}if((s|0)==22){s=0;if(!f){f=g;s=23;break}else m=j}if(!(h&1))q=h;else{q=h+-1|0;q=(a[f+q>>0]|0)==0?q:h}if(!q){s=27;break}else{o=0;j=p;h=l}while(1){d:do switch(h|0){case 0:{if((n|0)<12){a[(c[b+492>>2]|0)+n>>0]=a[f+o>>0]|0;k=n+1|0;h=0;break d}h=c[b+492>>2]|0;j=(d[h+4>>0]<<4)+(d[h+5>>0]|0)|0;c[b+496>>2]=j<<4|12;if((r-(c[e>>2]|0)|0)<(j<<4|12|0)){s=32;break c}c[b+492>>2]=JTa(t,1,12,j<<4|12,h,u+4|0)|0;h=c[u+4>>2]|0;if(!h)s=34;else{s=46;break a}break}case 1:{s=34;break}case 2:{s=40;break}default:k=n}while(0);do if((s|0)==34){s=0;h=c[b+496>>2]|0;if((n|0)<(h|0)){a[(c[b+492>>2]|0)+n>>0]=a[f+o>>0]|0;k=n+1|0;h=1;break}l=c[b+492>>2]|0;if((j|0)>0){k=0;do{s=l+12+(k<<4)+12|0;h=((d[s+1>>0]<<16|d[s>>0]<<24|d[s+2>>0]<<8|d[s+3>>0])+3&-4)+h|0;c[b+496>>2]=h;k=k+1|0}while((k|0)!=(j|0))}c[b+492>>2]=JTa(t,1,j<<4|12,h+1|0,l,u+4|0)|0;h=c[u+4>>2]|0;if(!h)s=40;else{s=46;break a}}while(0);if((s|0)==40){s=0;if((n|0)>=(c[b+496>>2]|0)){s=41;break c}a[(c[b+492>>2]|0)+n>>0]=a[f+o>>0]|0;k=n+1|0;h=2}o=o+1|0;if(o>>>0>=q>>>0){l=h;break}else n=k}Hi[c[e+28>>2]&1023](e);h=c[e>>2]|0;if(h>>>0>>0){n=k;p=j;k=q}else break b}switch(s|0){case 7:{c[e>>2]=h+1;break a}case 10:{c[u+4>>2]=3;h=3;s=46;break a}case 15:{c[u+4>>2]=3;h=3;s=46;break a}case 17:{c[u+4>>2]=3;h=3;g=0;s=46;break a}case 20:{c[u+4>>2]=3;h=3;g=0;f=f+1|0;s=46;break a}case 23:{c[u+4>>2]=3;h=3;g=f;f=0;s=46;break a}case 27:{c[u+4>>2]=3;h=3;s=46;break a}case 32:{c[u+4>>2]=3;h=3;s=46;break a}case 41:{c[u+4>>2]=3;h=3;s=46;break a}case 49:{i=u;return}}}else{g=0;f=0}while(0);c[u+4>>2]=3;h=3;s=46}else s=3}else s=3;while(0);if((s|0)==3){c[u+4>>2]=3;h=3;g=0;f=0;s=46}if((s|0)==46)c[e+12>>2]=h;if(!(g<<24>>24)){i=u;return}LTa(t,f);i=u;return}function q1a(a){a=a|0;var b=0,d=0;if(!a)return;b=c[a+100>>2]|0;d=c[a+500>>2]|0;if(d|0)eSa(d)|0;LTa(b,c[a+132>>2]|0);c[a+132>>2]=0;LTa(b,c[a+136>>2]|0);c[a+136>>2]=0;LTa(b,c[a+140>>2]|0);c[a+140>>2]=0;LTa(b,c[a+144>>2]|0);c[a+144>>2]=0;LTa(b,c[a+148>>2]|0);c[a+148>>2]=0;LTa(b,c[a+428>>2]|0);c[a+428>>2]=0;LTa(b,c[a+424>>2]|0);c[a+424>>2]=0;LTa(b,c[a+420>>2]|0);c[a+420>>2]=0;LTa(b,c[a+396>>2]|0);c[a+396>>2]=0;LTa(b,c[a+400>>2]|0);c[a+400>>2]=0;LTa(b,c[a+372+12>>2]|0);c[a+372+12>>2]=0;LTa(b,c[a+372+16>>2]|0);c[a+372+16>>2]=0;LTa(b,c[a+364>>2]|0);c[a+364>>2]=0;LTa(b,c[a+492>>2]|0);c[a+492>>2]=0;LTa(b,c[a+536+20>>2]|0);c[a+536+20>>2]=0;c[a+536+16>>2]=0;c[a+20>>2]=0;c[a+24>>2]=0;return}function r1a(a){a=a|0;var b=0,d=0,e=0;d=i;i=i+16|0;b=$Ra(c[(c[a>>2]|0)+500>>2]|0,d)|0;e=c[d>>2]|0;c[a+44>>2]=e;tSa(e)|0;i=d;return b|0}function s1a(a){a=a|0;if(!(OTa((c[(c[a>>2]|0)+500>>2]|0)+108|0,c[a+44>>2]|0)|0))return;fSa(c[a+44>>2]|0)|0;c[a+44>>2]=0;return}function t1a(a){a=a|0;var b=0,d=0,e=0;d=i;i=i+16|0;e=c[a+4>>2]|0;b=c[e+500>>2]|0;if(!(c[e+84>>2]|0)){c[a+160>>2]=c[b+84>>2];e=0;i=d;return e|0}else{e=PRa(b,d)|0;c[a+160>>2]=c[d>>2];i=d;return e|0}return 0}function u1a(a){a=a|0;QRa(c[a+160>>2]|0);return}function v1a(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;f=c[(c[(c[a+4>>2]|0)+96>>2]|0)+28>>2]|0;g=c[a+160>>2]|0;MRa(g);c[g+152>>2]=0;h=g+24|0;i=h+40|0;do{c[h>>2]=0;h=h+4|0}while((h|0)<(i|0));h=g+72|0;i=h+72|0;do{c[h>>2]=0;h=h+4|0}while((h|0)<(i|0));f=cj[c[f+72>>2]&127](c[a+160>>2]|0,c[b+44>>2]|0,d,e|8)|0;if(f|0)return f|0;i=c[a+160>>2]|0;c[a+24>>2]=c[i+24>>2];c[a+24+4>>2]=c[i+24+4>>2];c[a+24+8>>2]=c[i+24+8>>2];c[a+24+12>>2]=c[i+24+12>>2];c[a+24+16>>2]=c[i+24+16>>2];c[a+24+20>>2]=c[i+24+20>>2];c[a+24+24>>2]=c[i+24+24>>2];c[a+24+28>>2]=c[i+24+28>>2];c[a+56>>2]=c[i+56>>2];c[a+60>>2]=c[i+60>>2];c[a+72>>2]=c[i+72>>2];c[a+108>>2]=c[i+108>>2];c[a+108+4>>2]=c[i+108+4>>2];c[a+108+8>>2]=c[i+108+8>>2];c[a+108+12>>2]=c[i+108+12>>2];c[a+108+16>>2]=c[i+108+16>>2];c[a+76>>2]=c[i+76>>2];c[a+76+4>>2]=c[i+76+4>>2];c[a+76+8>>2]=c[i+76+8>>2];c[a+76+12>>2]=c[i+76+12>>2];c[a+76+16>>2]=c[i+76+16>>2];c[a+76+20>>2]=c[i+76+20>>2];c[a+100>>2]=c[i+100>>2];c[a+104>>2]=c[i+104>>2];c[a+128>>2]=c[i+128>>2];c[a+132>>2]=c[i+132>>2];c[a+136>>2]=c[i+136>>2];c[a+140>>2]=c[i+140>>2];return f|0}function w1a(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;tSa(c[a+44>>2]|0)|0;b=lSa(c[d+500>>2]|0,b)|0;if(b|0)return b|0;d=(c[(c[d+500>>2]|0)+88>>2]|0)+12|0;c[a+12>>2]=c[d>>2];c[a+12+4>>2]=c[d+4>>2];c[a+12+8>>2]=c[d+8>>2];c[a+12+12>>2]=c[d+12>>2];c[a+12+16>>2]=c[d+16>>2];c[a+12+20>>2]=c[d+20>>2];c[a+12+24>>2]=c[d+24>>2];return b|0}function x1a(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;tSa(c[a+44>>2]|0)|0;b=kSa(c[d+500>>2]|0,b)|0;if(b|0)return b|0;d=(c[(c[d+500>>2]|0)+88>>2]|0)+12|0;c[a+12>>2]=c[d>>2];c[a+12+4>>2]=c[d+4>>2];c[a+12+8>>2]=c[d+8>>2];c[a+12+12>>2]=c[d+12>>2];c[a+12+16>>2]=c[d+16>>2];c[a+12+20>>2]=c[d+20>>2];c[a+12+24>>2]=c[d+24>>2];return b|0}function y1a(a,b){a=a|0;b=b|0;return HRa(57704,b)|0}function z1a(a,b){a=a|0;b=b|0;mBb(b|0,(c[a+132>>2]|0)+4|0,156)|0;return 0}function A1a(d,f,g,h,j){d=d|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=i;i=i+160|0;t=c[f+100>>2]|0;r=c[f+104>>2]|0;c[f+132>>2]=0;q=cTa(r,0)|0;c[u+136>>2]=q;a:do if(!q){q=xTa(r,173170,u+156|0)|0;c[u+136>>2]=q;if(!q){c[u+136>>2]=2;b:do if((b[u+156>>1]|0)==23117){q=cTa(r,e[u+156+2>>1]|0)|0;c[u+136>>2]=q;c:do if(!q){q=xTa(r,173190,u+148|0)|0;c[u+136>>2]=q;if(!q){c[u+136>>2]=2;d:do switch(b[u+148>>1]|0){case 17742:{s=cTa(r,(e[u+148+2>>1]|0)+(e[u+156+2>>1]|0)|0)|0;c[u+136>>2]=s;do if(!s){s=jTa(r,(e[u+148+4>>1]|0)-(e[u+148+2>>1]|0)|0)|0;c[u+136>>2]=s;if(!s){l=oTa(r)|0;h=oTa(r)|0;e:do if(!(h<<16>>16)){j=0;k=0}else{while(1){j=oTa(r)|0;if(h<<16>>16==-32760)break;c[r+32>>2]=(c[r+32>>2]|0)+(((j&65535)*12|0)+4);h=oTa(r)|0;if(!(h<<16>>16)){j=0;k=0;break e}}k=eTa(r)|0;k=k+4+(c[r+32>>2]|0)-(c[r+36>>2]|0)|0}while(0);lTa(r);if(!((k|0)!=0&j<<16>>16!=0)){c[u+136>>2]=3;break}h=j&65535;if((h*118|0)>>>0>(c[r+4>>2]|0)>>>0){c[u+136>>2]=3;break}c[f>>2]=h;if((h|0)<=(g|0)){c[u+136>>2]=6;break}if((g|0)>=0){c[f+132>>2]=HTa(t,172,u+136|0)|0;if(!(c[u+136>>2]|0)){s=cTa(r,k+(g*12|0)|0)|0;c[u+136>>2]=s;do if(!s){s=jTa(r,12)|0;c[u+136>>2]=s;if(s|0)break;h=((oTa(r)|0)&65535)<<(l&65535);c[c[f+132>>2]>>2]=h;h=((oTa(r)|0)&65535)<<(l&65535);c[(c[f+132>>2]|0)+164>>2]=h;c[r+32>>2]=(c[r+32>>2]|0)+8;lTa(r);h=B1a(c[f+132>>2]|0,r)|0;c[u+136>>2]=h;s=73;break d}while(0);break b}}}}while(0);s=87;break a}case 17744:{h=cTa(r,e[u+156+2>>1]|0)|0;c[u+136>>2]=h;f:do if(!h){h=xTa(r,173366,u+116|0)|0;c[u+136>>2]=h;if(!h){if((c[u+116>>2]|0)==17744){h=c[u+116+4>>2]|0;if((h&65535)<<16>>16==332)if((c[u+116+8>>2]|0)==17498336){c[f>>2]=0;g:do if(h>>>0>=65536){j=0;while(1){h=xTa(r,173418,u+96|0)|0;c[u+136>>2]=h;if(h|0){j=2;break f}j=j+1<<16>>16;if((c[u+116+12>>2]|0)==(c[u+96+8>>2]|0))break;if((j&65535)>=(e[u+116+6>>1]|0))break g}q=u+96+16|0;h=cTa(r,c[q>>2]|0)|0;c[u+136>>2]=h;if(h|0){j=2;break f}h=xTa(r,173450,u+80|0)|0;c[u+136>>2]=h;if(h|0){j=2;break f}o=c[q>>2]|0;p=c[u+80+12>>2]|0;if((p>>>16|0)==(0-(p&65535)|0)){j=0;h=0;break f}h=0;p=0;h:while(1){h=cTa(r,o+16+(h<<3)|0)|0;c[u+136>>2]=h;if(h|0){j=2;break f}h=xTa(r,173482,u+40|0)|0;c[u+136>>2]=h;if(h|0){j=2;break f}h=c[u+40+4>>2]|0;if((h|0)>=0){s=44;break}c[u+40+4>>2]=h&2147483647;n=(c[q>>2]|0)+(h&2147483647)|0;h=cTa(r,n)|0;c[u+136>>2]=h;if(h|0){j=2;break f}h=xTa(r,173450,u+64|0)|0;c[u+136>>2]=h;if(h|0){j=2;break f}m=c[u+64+12>>2]|0;if((m>>>16|0)!=(0-(m&65535)|0)){h=0;m=0;do{h=cTa(r,n+16+(h<<3)|0)|0;c[u+136>>2]=h;if(h|0){j=2;break f}h=xTa(r,173482,u+32|0)|0;c[u+136>>2]=h;if(h|0){j=2;break f}h=c[u+32+4>>2]|0;if((h|0)>=0){s=52;break h}c[u+32+4>>2]=h&2147483647;l=(c[q>>2]|0)+(h&2147483647)|0;h=cTa(r,l)|0;c[u+136>>2]=h;if(h|0){j=2;break f}h=xTa(r,173450,u+48|0)|0;c[u+136>>2]=h;if(h|0){j=2;break f}k=c[u+48+12>>2]|0;if((k>>>16|0)!=(0-(k&65535)|0)){h=0;k=0;do{h=cTa(r,l+16+(h<<3)|0)|0;c[u+136>>2]=h;if(h|0){j=2;break f}h=xTa(r,173482,u+24|0)|0;c[u+136>>2]=h;if(h|0){j=2;break f}if((c[u+32+4>>2]|0)<0){s=60;break h}if((c[u+40>>2]|0)==8){h=cTa(r,(c[u+24+4>>2]|0)+o|0)|0;c[u+136>>2]=h;if(h|0){j=2;break f}h=xTa(r,173498,u+8|0)|0;c[u+136>>2]=h;if(h|0){j=2;break f}h=c[f>>2]|0;if((h|0)==(g|0)){j=HTa(t,172,u+136|0)|0;c[f+132>>2]=j;h=c[u+136>>2]|0;if(h|0){j=2;break f}c[j>>2]=(c[u+8>>2]|0)+(c[q>>2]|0)-(c[u+96+8>>2]|0);c[j+164>>2]=c[u+8+4>>2];h=B1a(j,r)|0;c[u+136>>2]=h;if(h|0){j=13;break f}h=c[f>>2]|0}c[f>>2]=h+1}k=k+1<<16>>16;h=k&65535;j=c[u+48+12>>2]|0}while(h>>>0<((j>>>16)+(j&65535)|0)>>>0)}m=m+1<<16>>16;h=m&65535;l=c[u+64+12>>2]|0}while(h>>>0<((l>>>16)+(l&65535)|0)>>>0)}p=p+1<<16>>16;h=p&65535;n=c[u+80+12>>2]|0;if(h>>>0>=((n>>>16)+(n&65535)|0)>>>0){j=0;h=0;break f}}if((s|0)==44){c[u+136>>2]=3;j=2;h=3;break f}else if((s|0)==52){c[u+136>>2]=3;j=2;h=3;break f}else if((s|0)==60){c[u+136>>2]=3;j=2;h=3;break f}}while(0);c[u+136>>2]=3;j=2;h=3;break}}c[u+136>>2]=3;j=2;h=3}else j=2}else j=2;while(0);if(!j)s=73;else switch(j|0){case 2:{s=87;break a}case 13:break;default:{h=0;break a}}break}default:{h=2;s=73}}while(0);do if((s|0)==73){j=c[f>>2]|0;if(!j){c[u+136>>2]=3;break c}if((j|0)>(g|0))break;else{c[u+136>>2]=6;break c}}while(0);if(!h){s=87;break a}else break b}}while(0);s=87;break a}while(0);h=c[f+100>>2]|0;j=c[f+104>>2]|0;k=c[f+132>>2]|0;if(!k)s=87;else{if(c[k+160>>2]|0)kTa(j,k+160|0);LTa(h,c[k+168>>2]|0);c[k+168>>2]=0;LTa(h,k);c[f+132>>2]=0;s=87}}else s=87}else s=87;while(0);if((s|0)==87)h=c[u+136>>2]|0;c[u>>2]=h;if((g|0)<0&(h|0)==0){f=0;i=u;return f|0}do if((h&255|0)==2){h=HTa(t,172,u)|0;c[f+132>>2]=h;j=c[u>>2]|0;if(j|0){f=j;i=u;return f|0}c[f>>2]=1;c[h>>2]=0;c[h+164>>2]=c[d+4>>2];d=B1a(h,d)|0;c[u>>2]=d;if(!d){if((g|0)>0){c[u>>2]=6;break}if((g|0)<0){f=0;i=u;return f|0}else s=96}}else if(!h)s=96;else if(!f){f=h;i=u;return f|0}while(0);do if((s|0)==96){m=c[f+132>>2]|0;c[f+4>>2]=g;h=c[f+8>>2]|0;c[f+8>>2]=h|18;g=c[m+100>>2]|0;if((g&65535)<<16>>16==(g>>>16&65535)<<16>>16)c[f+8>>2]=h|22;if(a[m+86>>0]|0)c[f+12>>2]=c[f+12>>2]|1;if((e[m+90>>1]|0)>799)c[f+12>>2]=c[f+12>>2]|2;k=JTa(t,16,0,1,0,u)|0;c[f+32>>2]=k;if(!(c[u>>2]|0)){c[f+28>>2]=1;b[k+2>>1]=b[m+100>>1]|0;b[k>>1]=(e[m+84>>1]|0)+(e[m+96>>1]|0);g=e[m+74>>1]<<6;c[k+4>>2]=g;l=b[m+78>>1]|0;h=b[m+76>>1]|0;h=h<<16>>16?h&65535:72;g=(F2a(g,h,72)|0)+32&-64;c[k+12>>2]=g;j=e[m+96>>1]<<6;if((g|0)>(j|0)){c[k+12>>2]=j;h=F2a(j,72,h)|0;c[k+4>>2]=h}else h=c[k+4>>2]|0;c[k+8>>2]=(F2a(h,l<<16>>16?l&65535:72,72)|0)+32&-64;c[u+136+4>>2]=0;b[u+136+8>>1]=0;b[u+136+10>>1]=0;c[u+136>>2]=f;if((a[m+92>>0]|0)==77){c[u+136+4>>2]=1634889070;b[u+136+8>>1]=1}g=qSa(57732,0,u+136|0,0)|0;c[u>>2]=g;if(g|0)break;if(c[f+36>>2]|0)c[f+92>>2]=c[c[f+40>>2]>>2];h=a[m+105>>0]|0;j=a[m+104>>0]|0;if((h&255)<(j&255)){c[u>>2]=3;break}c[f+16>>2]=(h&255)+2-(j&255);h=c[m+116>>2]|0;j=c[m+8>>2]|0;if(j>>>0<=h>>>0){c[u>>2]=3;break}k=HTa(t,j-h+1|0,u)|0;c[m+168>>2]=k;if(!(c[u>>2]|0)){mBb(k|0,(c[m+160>>2]|0)+(c[m+116>>2]|0)|0,j-h|0)|0;a[(c[m+168>>2]|0)+(j-h)>>0]=0;g=c[m+168>>2]|0;h=JTa(t,1,j-h|0,(rnb(g)|0)+1|0,g,u)|0;c[m+168>>2]=h;if(!(c[u>>2]|0)){c[f+20>>2]=h;c[f+24>>2]=591905;h=c[f+12>>2]|0;if(!(h&2)){if(!(h&1)){f=0;i=u;return f|0}c[f+24>>2]=591930;f=0;i=u;return f|0}if(h&1|0){c[f+24>>2]=591913;f=0;i=u;return f|0}else{c[f+24>>2]=591925;f=0;i=u;return f|0}}}}}while(0);h=c[f+100>>2]|0;j=c[f+104>>2]|0;k=c[f+132>>2]|0;if(k|0){if(c[k+160>>2]|0)kTa(j,k+160|0);LTa(h,c[k+168>>2]|0);c[k+168>>2]=0;LTa(h,k);c[f+132>>2]=0}LTa(h,c[f+32>>2]|0);c[f+32>>2]=0;c[f+28>>2]=0;f=c[u>>2]|0;i=u;return f|0}function B1a(a,d){a=a|0;d=d|0;var e=0;e=cTa(d,c[a>>2]|0)|0;if(e|0){d=e;return d|0}e=xTa(d,173214,a+4|0)|0;if(e|0){d=e;return d|0}e=b[a+4>>1]|0;switch(e<<16>>16){case 768:case 512:break;default:{d=2;return d|0}}if((c[a+8>>2]|0)>>>0<(e<<16>>16==768?148:118)>>>0){d=2;return d|0}if(e<<16>>16==512){c[a+132>>2]=0;c[a+132+4>>2]=0;c[a+132+8>>2]=0}if(b[a+72>>1]&1){d=2;return d|0}e=cTa(d,c[a>>2]|0)|0;if(e|0){d=e;return d|0}d=iTa(d,c[a+8>>2]|0,a+160|0)|0;return d|0}function C1a(a,d){a=a|0;d=d|0;d=b[(c[(c[a>>2]|0)+132>>2]|0)+104>>1]|0;c[a+16>>2]=d&255;c[a+20>>2]=1-(d&255)+((d&65535)>>>8&65535);return 0}function D1a(a,b){a=a|0;b=b|0;b=b-(c[a+16>>2]|0)|0;return (b>>>0<(c[a+20>>2]|0)>>>0?b+1|0:0)|0}function E1a(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=(c[b>>2]|0)+1|0;e=c[a+16>>2]|0;if(d>>>0<=e>>>0){a=1;c[b>>2]=e;return a|0}f=(d-e|0)>>>0<(c[a+20>>2]|0)>>>0;a=f?d-e+1|0:0;e=f?d:0;c[b>>2]=e;return a|0}function F1a(a){a=a|0;var b=0,d=0,e=0;if(!a)return;b=c[a+100>>2]|0;d=c[a+104>>2]|0;e=c[a+132>>2]|0;if(e|0){if(c[e+160>>2]|0)kTa(d,e+160|0);LTa(b,c[e+168>>2]|0);c[e+168>>2]=0;LTa(b,e);c[a+132>>2]=0}LTa(b,c[a+32>>2]|0);c[a+32>>2]=0;c[a+28>>2]=0;return}function G1a(f,g,h,j){f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+16|0;j=c[g>>2]|0;c[p>>2]=0;if(!j){c[p>>2]=35;f=35;i=p;return f|0}o=c[j+132>>2]|0;if(o|0)if((c[j+16>>2]|0)>>>0>h>>>0){if(!h)j=d[o+106>>0]|0;else j=h+-1|0;g=(b[o+4>>1]|0)==768;j=(_(g?6:4,j)|0)+(g?148:118)|0;h=c[o+8>>2]|0;if(j>>>0>=(h+-2+(g?-4:-2)|0)>>>0){c[p>>2]=3;f=3;i=p;return f|0}l=c[o+160>>2]|0;n=d[l+j+2+-2+1>>0]<<8|d[l+j+2+-2>>0];c[f+80>>2]=n;if(g){k=l+j+2+4+-4|0;k=d[k+2>>0]<<16|d[k+3>>0]<<24|d[k+1>>0]<<8|d[k>>0]}else k=d[l+j+2+2+-2+1>>0]<<8|d[l+j+2+2+-2>>0];if(k>>>0>=h>>>0){c[p>>2]=3;f=3;i=p;return f|0}j=c[(c[f+4>>2]|0)+100>>2]|0;c[f+84>>2]=(n+7|0)>>>3;g=e[o+96>>1]|0;c[f+76>>2]=g;a[f+94>>0]=1;if(((_(g,(n+7|0)>>>3)|0)+k|0)>>>0>h>>>0){c[p>>2]=3;f=3;i=p;return f|0}j=JTa(j,g,0,(n+7|0)>>>3,0,p)|0;c[f+88>>2]=j;g=c[p>>2]|0;if(g|0){f=g;i=p;return f|0}if((n+7|0)>>>3|0){m=j;j=l+k|0;k=(n+7|0)>>>3;while(1){n=c[f+76>>2]|0;h=j+n|0;if((n|0)>0){g=m;while(1){a[g>>0]=a[j>>0]|0;j=j+1|0;if(j>>>0>>0)g=g+(c[f+84>>2]|0)|0;else break}}k=k+-1|0;if(!k)break;else m=m+1|0}}c[(c[f+156>>2]|0)+4>>2]=1;c[f+100>>2]=0;n=e[o+80>>1]|0;c[f+104>>2]=n;c[f+72>>2]=1651078259;m=c[f+80>>2]<<6;c[f+24>>2]=m;o=c[f+76>>2]<<6;c[f+28>>2]=o;c[f+40>>2]=m;c[f+32>>2]=0;c[f+36>>2]=n<<6;hSa(f+24|0,o);f=c[p>>2]|0;i=p;return f|0}c[p>>2]=6;f=6;i=p;return f|0}function H1a(a,b){a=a|0;b=b|0;var d=0,f=0,g=0,h=0;g=c[a>>2]|0;h=c[g+132>>2]|0;f=c[b+16>>2]|0;d=c[b+8>>2]|0;if(f)d=((_(d,f)|0)+36|0)/72|0;d=d+32>>6;a:do switch(c[b>>2]|0){case 0:if((d|0)==((c[(c[g+32>>2]|0)+12>>2]|0)+32>>6|0)){d=h+96|0;break a}else{a=23;return a|0}case 1:{if((d|0)==(e[h+96>>1]|0|0))d=h+96|0;else{a=23;return a|0}break}default:{a=7;return a|0}}while(0);iSa(g,0);g=e[h+80>>1]|0;c[a+24>>2]=g<<6;c[a+28>>2]=g-(e[d>>1]|0)<<6;c[a+36>>2]=(e[h+102>>1]|0)<<6;a=0;return a|0}function I1a(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;b=c[d+132>>2]|0;iSa(d,0);d=e[b+80>>1]|0;c[a+24>>2]=d<<6;c[a+28>>2]=d-(e[b+96>>1]|0)<<6;c[a+36>>2]=(e[b+102>>1]|0)<<6;return 0}function J1a(a,b){a=a|0;b=b|0;c[a+2988>>2]=b;c[a+2980>>2]=c[b+28>>2];c[a+4>>2]=c[b+8>>2];c[a+12>>2]=c[b+12>>2];c[a+8>>2]=c[b+16>>2];c[a+16>>2]=c[b+20>>2];return 0}function K1a(b,d,f){b=b|0;d=d|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;j=L1a(b,d)|0;if(j|0)return j|0;k=c[b+24>>2]|0;g=c[b+28>>2]|0;if((k|0)<=0)return j|0;h=g;i=c[d+8>>2]|0;b=c[d+4>>2]|0;while(1){c[b>>2]=c[h+16>>2];c[b+4>>2]=c[h+20>>2];f=e[h>>1]|0;do if(!(f&1))if(!(f&2)){a[i>>0]=1;break}else{a[i>>0]=2;break}else a[i>>0]=0;while(0);h=h+40|0;if(h>>>0>=(g+(k*40|0)|0)>>>0)break;else{i=i+1|0;b=b+8|0}}return j|0}function L1a(f,g){f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;x=i;i=i+16|0;c[x>>2]=0;p=c[f+4>>2]|0;q=c[f+12>>2]|0;r=c[f+8>>2]|0;s=c[f+16>>2]|0;l=c[f>>2]|0;c[f+24>>2]=0;c[f+36>>2]=0;c[f+44>>2]=0;c[f+56>>2]=0;c[f+1512>>2]=0;c[f+1524>>2]=0;j=c[g>>2]|0;k=c[f+32>>2]|0;do if((j&65535)<9)if(!(c[f+40>>2]|0)){c[f+40>>2]=f+3e3;c[f+32>>2]=8;h=j>>>16&65535}else h=j>>>16&65535;else if(j<<16>>16>>>0>k>>>0){h=c[f+40>>2]|0;if((h|0)==(f+3e3|0)){c[f+40>>2]=0;h=0}c[f+40>>2]=JTa(l,4,k,(j<<16>>16)+3&-4,h,x)|0;if(!(c[x>>2]|0)){c[f+32>>2]=(j<<16>>16)+3&-4;h=b[g+2>>1]|0;break}else{w=c[x>>2]|0;i=x;return w|0}}else h=j>>>16&65535;while(0);j=h<<16>>16;k=c[f+20>>2]|0;do if((j+2|0)>>>0<97){if(!(c[f+28>>2]|0)){c[f+28>>2]=f+3032;c[f+20>>2]=96}}else if((j+2|0)>>>0>k>>>0){h=c[f+28>>2]|0;if((h|0)==(f+3032|0)){c[f+28>>2]=0;h=0}c[f+28>>2]=JTa(l,40,k,j+11&-8,h,x)|0;if(!(c[x>>2]|0)){c[f+20>>2]=j+11&-8;break}else{w=c[x>>2]|0;i=x;return w|0}}while(0);c[f+24>>2]=b[g+2>>1];c[f+36>>2]=b[g>>1];c[f+68>>2]=2;c[f+1536>>2]=-1;if((LSa(g)|0)==1){c[f+68>>2]=-2;c[f+1536>>2]=1}c[f+4>>2]=p;c[f+12>>2]=q;c[f+8>>2]=r;c[f+16>>2]=s;c[f+2992>>2]=0;c[f+2996>>2]=0;v=c[f+28>>2]|0;w=c[f+24>>2]|0;if(!w){w=c[x>>2]|0;i=x;return w|0}j=c[g+12>>2]|0;k=v+((b[j>>1]|0)*40|0)|0;if((w|0)>0){h=0;l=k;o=v;j=k;m=c[g+8>>2]|0;n=c[g+4>>2]|0;while(1){a[o+2>>0]=4;a[o+3>>0]=4;t=c[n>>2]|0;b[o+12>>1]=t;u=n+4|0;b[o+14>>1]=c[u>>2];t=(H2a(t,p)|0)+r|0;c[o+16>>2]=t;c[o+4>>2]=t;u=(H2a(c[u>>2]|0,q)|0)+s|0;c[o+20>>2]=u;c[o+8>>2]=u;switch(d[m>>0]&3|0){case 0:{b[o>>1]=1;break}case 2:{b[o>>1]=2;break}default:b[o>>1]=0}c[o+36>>2]=j;c[j+32>>2]=o;if((o|0)==(l|0)){h=h+1|0;if((h|0)<(b[g>>1]|0)){j=v+((b[(c[g+12>>2]|0)+(h<<1)>>1]|0)*40|0)|0;k=j}else{k=o;j=o}}else{k=l;j=o}o=o+40|0;if(o>>>0>=(v+(w*40|0)|0)>>>0)break;else{l=k;m=m+1|0;n=n+8|0}}j=c[g+12>>2]|0}h=c[f+40>>2]|0;m=c[f+36>>2]|0;if((m|0)>0){l=h;k=0;while(1){c[l>>2]=v+((k<<16>>16)*40|0);k=(b[j>>1]|0)+1|0;l=l+4|0;if(l>>>0>=(h+(m<<2)|0)>>>0)break;else j=j+2|0}h=c[f+40>>2]|0}t=((e[(c[(c[f+2988>>2]|0)+4>>2]|0)+68>>1]|0)*20|0)>>>11;u=h+(m<<2)|0;if((m|0)>0)do{l=c[h>>2]|0;j=l;while(1){m=c[j+36>>2]|0;k=c[j+12>>2]|0;if((m|0)==(l|0))break;f=c[m+12>>2]|0;if(((((k>>16)-(f>>16)|0)<0?0-((k>>16)-(f>>16))|0:(k>>16)-(f>>16)|0)+(((k<<16>>16)-(f<<16>>16)|0)<0?0-((k<<16>>16)-(f<<16>>16))|0:(k<<16>>16)-(f<<16>>16)|0)|0)<((t<<1)+-1|0))j=m;else break}g=j;c[j+24>>2]=0;f=j+28|0;c[f>>2]=0;n=j;s=j;l=0;m=0;do{s=c[s+32>>2]|0;r=k;k=c[s+12>>2]|0;l=(k<<16>>16)-(r<<16>>16)+l|0;m=(k>>16)-(r>>16)+m|0;if((((m|0)<0?0-m|0:m)+((l|0)<0?0-l|0:l)|0)<(t|0))b[s>>1]=e[s>>1]|16;else{r=s;o=(r-n|0)/40|0;c[n+24>>2]=o;c[s+28>>2]=0-o;o=(m|0)>=(0-l|0);if((m|0)<(l|0)){p=o?1:-2;q=o?l:0-m|0;l=o?m:l}else{p=o?2:-1;q=o?m:0-l|0;l=o?l:m}m=(q|0)>(((l|0)<0?0-l|0:l)*14|0)?p&255:4;a[n+3>>0]=m;l=c[n+32>>2]|0;if((l|0)!=(s|0))do{a[l+2>>0]=m;a[l+3>>0]=m;l=c[l+32>>2]|0}while((l|0)!=(s|0));a[s+2>>0]=m;c[s+24>>2]=(g-r|0)/40|0;c[f>>2]=0-((g-r|0)/40|0);n=s;l=0;m=0}}while((s|0)!=(j|0));h=h+4|0}while(h>>>0>>0);if((w|0)>0)m=v;else{w=c[x>>2]|0;i=x;return w|0}do{h=c[m>>2]|0;if((h&-65520|0)==67371008){j=c[m+24>>2]|0;k=c[m+28>>2]|0;l=c[m+12>>2]|0;if(((b[m+(j*40|0)+12>>1]|0)-(l<<16>>16)^(l<<16>>16)-(b[m+(k*40|0)+12>>1]|0)|0)>-1)if(((l>>16)-(b[m+(k*40|0)+14>>1]|0)^(b[m+(j*40|0)+14>>1]|0)-(l>>16)|0)>-1){b[m>>1]=h|16;c[m+(k*40|0)+24>>2]=((j-k|0)*40|0)/40|0;c[m+(j*40|0)+28>>2]=0-(((j-k|0)*40|0)/40|0)}}m=m+40|0}while(m>>>0<(v+(w*40|0)|0)>>>0);if((w|0)>0)k=v;else{w=c[x>>2]|0;i=x;return w|0}do{h=c[k>>2]|0;a:do if(!(h&16)){do if(!(h&3)){if((h>>>24&255)<<24>>24!=(h>>>16&255)<<24>>24)if((h>>>16<<24>>24|0)==(0-(h>>24)|0)){h=h&65535;break}else break a;if((h>>>24&255)<<24>>24==4){h=c[k+24>>2]|0;j=c[k+28>>2]|0;u=c[k+12>>2]|0;if(!(N2a((u<<16>>16)-(b[k+(j*40|0)+12>>1]|0)|0,(u>>16)-(b[k+(j*40|0)+14>>1]|0)|0,(b[k+(h*40|0)+12>>1]|0)-(u<<16>>16)|0,(b[k+(h*40|0)+14>>1]|0)-(u>>16)|0)|0))break a;c[k+(j*40|0)+24>>2]=((h-j|0)*40|0)/40|0;c[k+(h*40|0)+28>>2]=0-(((h-j|0)*40|0)/40|0);h=b[k>>1]|0}else h=h&65535}else h=h&65535;while(0);b[k>>1]=h&65535|16}while(0);k=k+40|0}while(k>>>0<(v+(w*40|0)|0)>>>0);w=c[x>>2]|0;i=x;return w|0}function M1a(f,g){f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0;M=i;i=i+10064|0;L=c[g+92>>2]|0;c[f+40>>2]=e[g+68>>1];if(oSa(g,1970170211)|0){pSa(g,L)|0;i=M;return 0}j=c[g+100>>2]|0;hBb(M+3192|0,0,3e3)|0;c[M+3192>>2]=j;c[f+52>>2]=0;c[f+1624>>2]=0;j=c[60496+(c[(c[f>>2]|0)+8>>2]<<2)>>2]|0;h=TRa(c[c[f+36>>2]>>2]|0,c[j+8>>2]|0)|0;if(!h){h=c[j+12>>2]|0;if(h|0){h=TRa(c[c[f+36>>2]>>2]|0,h)|0;if(!h){h=c[j+16>>2]|0;if(h|0){h=TRa(c[c[f+36>>2]>>2]|0,h)|0;if(h|0)K=7}}else K=7}}else K=7;do if((K|0)==7)if(!(RRa(g,h,1)|0)){h=c[g+84>>2]|0;if((b[h+110>>1]|0)>=1){hBb(M+4|0,0,3188)|0;c[M+4+40>>2]=c[f+40>>2];c[M+4+8>>2]=65536;c[M+4+12>>2]=65536;c[M+4+16>>2]=0;c[M+4+20>>2]=0;c[M+4+4>>2]=g;c[M+4+24>>2]=0;c[M+4+28>>2]=0;c[M+3192+2988>>2]=M+4;c[M+3192+2980>>2]=0;if(!(L1a(M+3192|0,h+108|0)|0)){c[M>>2]=0;if(!(N1a(M+3192|0,0)|0)){O1a(M+3192|0,0,0,0);k=c[M+3192+52>>2]|0;l=c[M+3192+44>>2]|0;if((l|0)>0){h=0;m=k;do{j=c[m+20>>2]|0;if(j)if(j>>>0>m>>>0?(c[j+20>>2]|0)==(m|0):0){j=(b[m+2>>1]|0)-(b[j+2>>1]|0)|0;if(h>>>0<16){J=h+1|0;c[M>>2]=J;c[f+56+(h*12|0)>>2]=(j|0)<0?0-j|0:j;h=J}}m=m+48|0}while(m>>>0<(k+(l*48|0)|0)>>>0)}P1a(M,f+56|0,((c[M+4+40>>2]|0)>>>0)/100|0);c[f+52>>2]=c[M>>2];c[M>>2]=0;if(!(N1a(M+3192|0,1)|0)){O1a(M+3192|0,0,0,1);k=c[M+3192+1520>>2]|0;l=c[M+3192+1512>>2]|0;if((l|0)>0){h=0;m=k;do{j=c[m+20>>2]|0;if(j)if(j>>>0>m>>>0?(c[j+20>>2]|0)==(m|0):0){j=(b[m+2>>1]|0)-(b[j+2>>1]|0)|0;if(h>>>0<16){J=h+1|0;c[M>>2]=J;c[f+1628+(h*12|0)>>2]=(j|0)<0?0-j|0:j;h=J}}m=m+48|0}while(m>>>0<(k+(l*48|0)|0)>>>0)}P1a(M,f+1628|0,((c[M+4+40>>2]|0)>>>0)/100|0);c[f+1624>>2]=c[M>>2];break}}}}}while(0);if(!(c[f+52>>2]|0))h=((c[f+40>>2]|0)*50|0)/2048|0;else h=c[f+56>>2]|0;c[f+248>>2]=(h|0)/5|0;c[f+252>>2]=h;a[f+256>>0]=0;if(!(c[f+1624>>2]|0))h=((c[f+40>>2]|0)*50|0)/2048|0;else h=c[f+1628>>2]|0;c[f+1820>>2]=(h|0)/5|0;c[f+1824>>2]=h;a[f+1828>>0]=0;Q1a(M+3192|0);j=57772+(c[(c[f>>2]|0)+12>>2]<<3)|0;h=c[j>>2]|0;if((h|0)!=759)do{k=591937+h|0;h=a[k>>0]|0;a:do if(!(h<<24>>24)){l=0;s=0}else{J=j+4|0;l=0;s=0;while(1){I=l;b:while(1){c:while(1){k=k+1|0;l=h&255;if(h<<24>>24<0){do if((h&255)<224){l=l&31;n=1}else if((h&255)<240){l=l&15;n=2;break}else{l=l&7;n=3;break}while(0);h=n;m=k;while(1){l=d[m>>0]&63|l<<6;h=h+-1|0;if(!h)break;else m=m+1|0}k=k+n|0}h=TRa(c[c[f+36>>2]>>2]|0,l)|0;d:do if(h|0){F=RRa(g,h,1)|0;t=c[g+84>>2]|0;r=c[t+108>>2]|0;G=c[t+112>>2]|0;H=c[t+116>>2]|0;t=c[t+120>>2]|0;if(!F)if((r>>>16&65535)<<16>>16>=3){if((r&65535)<<16>>16<=0){h=0;break c}m=0;p=0;q=-1;l=0;o=0;v=0;while(1){u=b[t+(v<<1)>>1]|0;if((u|0)>(o|0)){h=(o|0)>(u|0);do if(!(b[J>>1]&1)){if(h){h=q;break}else{h=q;n=o}while(1){F=c[G+(n<<3)+4>>2]|0;E=(h|0)<0|(F|0)<(l|0);h=E?n:h;l=E?F:l;if((n|0)<(u|0))n=n+1|0;else break}}else{if(h){h=q;break}else{h=q;n=o}while(1){F=c[G+(n<<3)+4>>2]|0;E=(h|0)<0|(F|0)>(l|0);h=E?n:h;l=E?F:l;if((n|0)<(u|0))n=n+1|0;else break}}while(0);n=(h|0)==(q|0);m=n?m:o;n=n?p:u}else{n=p;h=q}v=v+1|0;if((v|0)==(r<<16>>16|0)){F=m;E=n;t=h;D=l;break}else{p=n;q=h;o=u+1|0}}if((t|0)<=-1){h=D;break c}r=c[G+(t<<3)>>2]|0;m=(a[H+t>>0]&3)==1?t:-1;h=m;n=t;while(1){o=n;n=(n|0)>(F|0)?n+-1|0:E;l=(c[G+(n<<3)+4>>2]|0)-D|0;l=(l|0)<0?0-l|0:l;if((l|0)>5){C=(c[G+(n<<3)>>2]|0)-r|0;if((((C|0)<0?0-C|0:C)|0)<=(l*20|0)){l=m;break}}l=(a[H+n>>0]&3)==1;h=l?n:h;l=(m|0)<0&l?n:m;if((n|0)==(t|0)){o=t;break}else m=l}q=l;p=t;while(1){l=p;p=(p|0)<(E|0)?p+1|0:F;n=G+(p<<3)|0;m=(c[G+(p<<3)+4>>2]|0)-D|0;m=(m|0)<0?0-m|0:m;if((m|0)>5){C=(c[n>>2]|0)-r|0;if((((C|0)<0?0-C|0:C)|0)<=(m*20|0)){B=n;p=h;break}}l=(a[H+p>>0]&3)==1;h=(h|0)<0&l?p:h;l=l?p:q;if((p|0)==(t|0)){B=n;p=h;q=l;l=t;break}else q=l}C=b[J>>1]|0;e:do if(!(C&8)){m=q;n=o;h=D}else{A=c[f+40>>2]|0;z=(c[G+(l<<3)>>2]|0)-(c[G+(o<<3)>>2]|0)|0;if((((z|0)<0?0-z|0:z)|0)>=((A>>>0)/25|0|0)){m=q;n=o;h=D;break}if((2-o+l|0)>(E-F|0)){m=q;n=o;h=D;break}else n=t;do{n=(n|0)>(F|0)?n+-1|0:E;h=c[G+(n<<3)>>2]|0;m=(n|0)==(t|0)}while(!((h|0)!=(r|0)|m));if(m)break d;x=(h|0)<(c[G+(t<<3)>>2]|0);n=l;h=0;z=l;r=0;m=0;f:while(1){if(!(h<<24>>24)){m=(a[H+z>>0]&3)==1?z:-1;n=z;w=1;r=m}else w=h;z=(z|0)<(E|0)?z+1|0:F;v=G+(n<<3)|0;h=c[G+(n<<3)+4>>2]|0;do if((((D-h|0)<0?0-(D-h)|0:D-h|0)|0)>(A>>>2|0))h=0;else{t=G+(z<<3)|0;y=(c[G+(z<<3)+4>>2]|0)-h|0;y=(y|0)<0?0-y|0:y;if((y|0)>5){u=c[t>>2]|0;t=c[v>>2]|0;if((((u-t|0)<0?0-(u-t)|0:u-t|0)|0)<=(y*20|0)){h=0;break}}else{u=c[t>>2]|0;t=c[v>>2]|0}v=(a[H+z>>0]&3)==1;r=(r|0)<0&v?z:r;m=v?z:m;v=u-t|0;if(x^(u|0)>(t|0)){h=w;break}if((((v|0)<0?0-v|0:v)|0)<((A>>>0)/25|0|0))h=w;else{l=z;break f}}while(0);if((z|0)==(o|0)){m=q;n=o;h=D;break e}}p=l;l=r;while(1){q=(p|0)<(E|0)?p+1|0:F;D=(c[G+(q<<3)+4>>2]|0)-h|0;if((((D|0)<0?0-D|0:D)|0)>5){D=(c[B>>2]|0)-t|0;if((((D|0)<0?0-D|0:D)|0)<=(y*20|0))break}l=((l|0)<0?(a[H+q>>0]&3)==1:0)?q:l;if((q|0)==(o|0)){p=l;m=o;l=o;break e}else{p=q;m=q}}p=l;l=(q|0)>(F|0)?q+-1|0:E}while(0);if((m|p|0)>-1){G=(c[G+(m<<3)>>2]|0)-(c[G+(p<<3)>>2]|0)|0;if(((G|0)<0?0-G|0:G)>>>0>(c[f+40>>2]|0)>>>3>>>0)break c}if((a[H+n>>0]&3)==1)if((a[H+l>>0]&3)==1)break c;if(!(C&2)){l=I;break b}}}while(0);h=a[k>>0]|0;if(!(h<<24>>24)){l=I;break a}}l=I+1|0;c[M+3192+(I<<2)>>2]=h;h=a[k>>0]|0;if(!(h<<24>>24))break a;else I=l}m=s+1|0;c[M+4+(s<<2)>>2]=h;h=a[k>>0]|0;if(!(h<<24>>24)){s=m;break}else s=m}}while(0);r=(s|0)==0;if(l|s|0){q=(l|0)==0;if(s>>>0>1){n=1;do{h=c[M+4+(n<<2)>>2]|0;o=n;do{p=o;o=o+-1|0;k=M+4+(o<<2)|0;m=c[k>>2]|0;if((h|0)>=(m|0))break;c[M+4+(p<<2)>>2]=m;c[k>>2]=h}while((o|0)!=0);n=n+1|0}while((n|0)!=(s|0))}if(l>>>0>1){n=1;do{h=c[M+3192+(n<<2)>>2]|0;o=n;do{p=o;o=o+-1|0;k=M+3192+(o<<2)|0;m=c[k>>2]|0;if((h|0)>=(m|0))break;c[M+3192+(p<<2)>>2]=m;c[k>>2]=h}while((o|0)!=0);n=n+1|0}while((n|0)!=(l|0))}n=c[f+1832>>2]|0;c[f+1832>>2]=n+1;do if(q){K=c[M+4+(s>>>1<<2)>>2]|0;c[f+1836+(n*28|0)+12>>2]=K;c[f+1836+(n*28|0)>>2]=K;K=113}else{m=c[M+3192+(l>>>1<<2)>>2]|0;if(r){c[f+1836+(n*28|0)+12>>2]=m;c[f+1836+(n*28|0)>>2]=m;K=113;break}c[f+1836+(n*28|0)>>2]=m;l=c[M+4+(s>>>1<<2)>>2]|0;c[f+1836+(n*28|0)+12>>2]=l;if((l|0)==(m|0))K=113;else{k=j+4|0;h=b[k>>1]|0;if((l|0)>(m|0)^(h&1)!=0){c[f+1836+(n*28|0)+12>>2]=(l+m|0)/2|0;c[f+1836+(n*28|0)>>2]=(l+m|0)/2|0}}}while(0);if((K|0)==113){K=0;h=j+4|0;k=h;h=b[h>>1]|0}h=(h&1)<<1;c[f+1836+(n*28|0)+24>>2]=h;k=b[k>>1]|0;if(k&2){c[f+1836+(n*28|0)+24>>2]=h|4;h=h|4}if(k&4)c[f+1836+(n*28|0)+24>>2]=h|8}j=j+8|0;h=c[j>>2]|0}while((h|0)!=759);l=48;k=0;j=0;while(1){h=TRa(c[c[f+36>>2]>>2]|0,l)|0;if(!h)h=k;else if(!(x2a(g,h,2051,M+3192|0)|0)){h=c[M+3192>>2]|0;if(!(j<<24>>24))j=1;else if((h|0)==(k|0))h=k;else{h=0;break}}else h=k;l=l+1|0;if(l>>>0>=58){h=1;break}else k=h}a[f+32>>0]=h;pSa(g,L)|0;i=M;return 0}function N1a(f,g){f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;z=i;i=i+48|0;u=c[f>>2]|0;w=c[f+40>>2]|0;x=c[f+36>>2]|0;n=z+16|0;p=n+31|0;do{a[n>>0]=0;n=n+1|0}while((n|0)<(p|0));c[z>>2]=0;c[z+4>>2]=0;c[z+8>>2]=0;v=c[f+44+(g*1468|0)+24>>2]|0;v=(v|0)<0?0-v|0:v;c[f+44+(g*1468|0)>>2]=0;j=c[f+28>>2]|0;k=c[f+24>>2]|0;if(!g){if((k|0)>0){h=j;do{t=c[h+12>>2]|0;c[h+24>>2]=t<<16>>16;c[h+28>>2]=t>>16;h=h+40|0}while(h>>>0<(j+(k*40|0)|0)>>>0)}}else if((k|0)>0){h=j;do{c[h+24>>2]=b[h+14>>1];c[h+28>>2]=b[h+12>>1];h=h+40|0}while(h>>>0<(j+(k*40|0)|0)>>>0)}if((x|0)<=0){y=0;i=z;return y|0}t=w;j=0;o=v;a:while(1){l=c[t>>2]|0;h=c[l+36>>2]|0;b:do if((l|0)==(h|0))h=o;else{k=a[h+3>>0]|0;c:do if(((k<<24>>24<0?0-(k<<24>>24)|0:k<<24>>24)|0)==(v|0)){s=a[l+3>>0]|0;if(((s<<24>>24<0?0-(s<<24>>24)|0:s<<24>>24)|0)==(v|0)){if(((k<<24>>24<0?0-(k<<24>>24)|0:k<<24>>24)|0)==(v|0))do{if((h|0)==(l|0))break c;h=c[h+36>>2]|0;s=a[h+3>>0]|0}while(((s<<24>>24<0?0-(s<<24>>24)|0:s<<24>>24)|0)==(v|0));l=c[h+32>>2]|0}}while(0);k=-32e3;m=32e3;n=0;p=0;s=l;h=o;while(1){if(!n)n=0;else{r=c[s+24>>2]|0;m=(r|0)<(m|0)?r:m;k=(r|0)>(k|0)?r:k;if((s|0)==(l|0)?1:(a[s+3>>0]|0)!=(h|0)){c[j+44>>2]=s;b[j+2>>1]=(m+k|0)>>>1;k=c[j+40>>2]|0;if((b[s>>1]|b[k>>1])&3)a[j>>0]=d[j>>0]|1;n=c[s+28>>2]|0;k=c[k+28>>2]|0;m=(k|0)<(n|0)?k:n;k=(k|0)>(n|0)?k:n;b[j+4>>1]=m;b[j+6>>1]=k;b[j+8>>1]=k-m;n=0;j=0}}if((s|0)==(l|0))if(!(p<<24>>24))r=1;else break b;else r=p;if(!n){q=a[s+3>>0]|0;if(((q<<24>>24<0?0-(q<<24>>24)|0:q<<24>>24)|0)==(v|0)){c[z+12>>2]=0;h=c[f+44+(g*1468|0)>>2]|0;if((h|0)<18){if(!(c[f+44+(g*1468|0)+8>>2]|0)){c[f+44+(g*1468|0)+8>>2]=f+44+(g*1468|0)+28;c[f+44+(g*1468|0)+4>>2]=18}}else{j=c[f+44+(g*1468|0)+4>>2]|0;if((h|0)>=(j|0)){if((j|0)>44739241){y=30;break a}k=(j>>2|0)<-4|(j+4+(j>>2)|0)>44739242?44739242:j+4+(j>>2)|0;h=c[f+44+(g*1468|0)+8>>2]|0;if((h|0)==(f+44+(g*1468|0)+28|0)){j=JTa(u,48,0,k,0,z+12|0)|0;c[f+44+(g*1468|0)+8>>2]=j;h=c[z+12>>2]|0;if(h|0)break a;mBb(j|0,f+44+(g*1468|0)+28|0,864)|0}else{c[f+44+(g*1468|0)+8>>2]=JTa(u,48,j,k,h,z+12|0)|0;h=c[z+12>>2]|0;if(h|0)break a}c[f+44+(g*1468|0)+4>>2]=k;h=c[f+44+(g*1468|0)>>2]|0}}k=c[f+44+(g*1468|0)+8>>2]|0;c[f+44+(g*1468|0)>>2]=h+1;j=k+(h*48|0)|0;a[j>>0]=0;m=k+(h*48|0)+1|0;n=m;o=z+16|0;p=n+31|0;do{a[n>>0]=a[o>>0]|0;n=n+1|0;o=o+1|0}while((n|0)<(p|0));c[k+(h*48|0)+32>>2]=32e3;n=k+(h*48|0)+36|0;c[n>>2]=c[z>>2];c[n+4>>2]=c[z+4>>2];c[n+8>>2]=c[z+8>>2];a[m>>0]=q;m=c[s+24>>2]|0;c[k+(h*48|0)+40>>2]=s;c[k+(h*48|0)+44>>2]=s;k=m;n=1;h=q<<24>>24}else n=0}p=r;s=c[s+32>>2]|0}}while(0);t=t+4|0;if(t>>>0>=(w+(x<<2)|0)>>>0){y=40;break}else o=h}if((y|0)==30){c[z+12>>2]=64;h=64}else if((y|0)==40){o=c[f+44+(g*1468|0)>>2]|0;l=c[f+44+(g*1468|0)+8>>2]|0;if((o|0)>0)n=l;else{y=0;i=z;return y|0}do{k=c[n+40>>2]|0;h=c[n+44>>2]|0;j=c[k+28>>2]|0;m=c[h+28>>2]|0;k=c[(c[k+36>>2]|0)+28>>2]|0;if((j|0)<(m|0)){if((j|0)>(k|0)){y=n+8|0;b[y>>1]=(e[y>>1]|0)+((j-k|0)>>>1)}h=c[(c[h+32>>2]|0)+28>>2]|0;if((h|0)>(m|0)){y=n+8|0;b[y>>1]=(e[y>>1]|0)+((h-m|0)>>>1)}}else{if((k|0)>(j|0)){y=n+8|0;b[y>>1]=(e[y>>1]|0)+((k-j|0)>>>1)}h=c[(c[h+32>>2]|0)+28>>2]|0;if((m|0)>(h|0)){y=n+8|0;b[y>>1]=(e[y>>1]|0)+((m-h|0)>>>1)}}n=n+48|0}while(n>>>0<(l+(o*48|0)|0)>>>0);h=0;i=z;return h|0}y=h;i=z;return y|0}function O1a(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;q=c[d+44+(g*1468|0)+8>>2]|0;r=c[d+44+(g*1468|0)>>2]|0;if(!e)p=0;else p=c[f+((e+-1|0)*12|0)>>2]|0;o=c[(c[d+2988>>2]|0)+40>>2]|0;n=(o+255|0)>>>0<511?1:(o|0)/256|0;if((r|0)<=0)return;d=c[d+44+(g*1468|0)+24>>2]|0;h=(p|0)==0;m=q;do{a:do if(!((r|0)<1?1:(a[m+1>>0]|0)!=(d|0))){i=b[m+2>>1]|0;j=m+4|0;k=m+32|0;l=m+20|0;if(h){g=q;while(1){e=b[g+2>>1]|0;if(e<<16>>16>i<<16>>16?(d|0)==(0-(a[g+1>>0]|0)|0):0){f=c[j>>2]|0;s=c[g+4>>2]|0;f=(((f>>>16&65535)<<16>>16>(s>>>16&65535)<<16>>16?s>>>16:f>>>16)<<16>>16)-(((f&65535)<<16>>16<(s&65535)<<16>>16?s:f)<<16>>16)|0;if((f|0)>=(n|0)){e=(((o*6e3|0)/2048|0|0)/(f|0)|0)+((e<<16>>16)-(i<<16>>16))|0;if((e|0)<(c[k>>2]|0)){c[k>>2]=e;c[l>>2]=g}f=g+32|0;if((e|0)<(c[f>>2]|0)){c[f>>2]=e;c[g+20>>2]=m}}}g=g+48|0;if(g>>>0>=(q+(r*48|0)|0)>>>0)break a}}else g=q;do{e=b[g+2>>1]|0;if(e<<16>>16>i<<16>>16?(d|0)==(0-(a[g+1>>0]|0)|0):0){f=c[j>>2]|0;s=c[g+4>>2]|0;f=(((f>>>16&65535)<<16>>16>(s>>>16&65535)<<16>>16?s>>>16:f>>>16)<<16>>16)-(((f&65535)<<16>>16<(s&65535)<<16>>16?s:f)<<16>>16)|0;if((f|0)>=(n|0)){e=((e<<16>>16)-(i<<16>>16)<<10|0)/(p|0)|0;if((e+-1024|0)>1e4)e=32e3;else if((e|0)>1024)e=((_(e+-1024|0,e+-1024|0)|0)>>>0)/3e3|0;else e=0;e=(((o*6e3|0)/2048|0|0)/(f|0)|0)+e|0;if((e|0)<(c[k>>2]|0)){c[k>>2]=e;c[l>>2]=g}f=g+32|0;if((e|0)<(c[f>>2]|0)){c[f>>2]=e;c[g+20>>2]=m}}}g=g+48|0}while(g>>>0<(q+(r*48|0)|0)>>>0)}while(0);m=m+48|0}while(m>>>0<(q+(r*48|0)|0)>>>0);if((r|0)>0)g=q;else return;do{e=g+20|0;f=c[e>>2]|0;if(f|0)if((c[f+20>>2]|0)!=(g|0)){c[e>>2]=0;c[g+24>>2]=c[f+20>>2]}g=g+48|0}while(g>>>0<(q+(r*48|0)|0)>>>0);return}function P1a(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;l=i;i=i+16|0;e=c[a>>2]|0;if((e|0)==1){i=l;return}if(e>>>0>1){h=1;do{if(h){g=h;do{e=b+(g*12|0)|0;g=g+-1|0;f=b+(g*12|0)|0;if((c[e>>2]|0)>=(c[f>>2]|0))break;c[l>>2]=c[e>>2];c[l+4>>2]=c[e+4>>2];c[l+8>>2]=c[e+8>>2];c[e>>2]=c[f>>2];c[e+4>>2]=c[f+4>>2];c[e+8>>2]=c[f+8>>2];c[f>>2]=c[l>>2];c[f+4>>2]=c[l+4>>2];c[f+8>>2]=c[l+8>>2]}while((g|0)!=0);e=c[a>>2]|0}h=h+1|0}while(h>>>0>>0);if(e>>>0>1){j=0;k=c[b>>2]|0;f=1;while(1){g=((c[b+(f*12|0)>>2]|0)-k|0)>(d|0);h=(f|0)==(e+-1|0);if(h|g){f=(g?0:h&1)+f|0;if(j>>>0>>0){h=j;g=0;do{m=b+(h*12|0)|0;g=(c[m>>2]|0)+g|0;c[m>>2]=0;h=h+1|0}while((h|0)!=(f|0));h=f}else{h=j;g=0}c[b+(j*12|0)>>2]=(g|0)/(h|0)|0;if(f>>>0<(e+-1|0)>>>0){g=f+1|0;h=c[b+((f+1|0)*12|0)>>2]|0}else{g=j;h=k}}else{g=j;h=k}f=f+1|0;if(f>>>0>=e>>>0)break;else{j=g;k=h}}if(e>>>0>1){g=e;e=1;h=1;while(1){f=b+(h*12|0)|0;if(!(c[f>>2]|0))f=g;else{m=b+(e*12|0)|0;c[m>>2]=c[f>>2];c[m+4>>2]=c[f+4>>2];c[m+8>>2]=c[f+8>>2];f=c[a>>2]|0;e=e+1|0}h=h+1|0;if(h>>>0>=f>>>0)break;else g=f}}else e=1}else e=1}else e=1;c[a>>2]=e;i=l;return}function Q1a(a){a=a|0;var b=0,d=0;if(!a)return;d=c[a>>2]|0;if(!d)return;c[a+44>>2]=0;c[a+48>>2]=0;b=c[a+52>>2]|0;if((b|0)!=(a+72|0)){LTa(d,b);c[a+52>>2]=0}c[a+56>>2]=0;c[a+60>>2]=0;b=c[a+64>>2]|0;if((b|0)!=(a+936|0)){LTa(d,b);c[a+64>>2]=0}c[a+1512>>2]=0;c[a+1516>>2]=0;b=c[a+1520>>2]|0;if((b|0)!=(a+1540|0)){LTa(d,b);c[a+1520>>2]=0}c[a+1524>>2]=0;c[a+1528>>2]=0;b=c[a+1532>>2]|0;if((b|0)!=(a+2404|0)){LTa(d,b);c[a+1532>>2]=0}b=c[a+40>>2]|0;if((b|0)!=(a+3e3|0)){LTa(d,b);c[a+40>>2]=0}c[a+32>>2]=0;c[a+36>>2]=0;b=c[a+28>>2]|0;if((b|0)!=(a+3032|0)){LTa(d,b);c[a+28>>2]=0}c[a+20>>2]=0;c[a+24>>2]=0;c[a>>2]=0;return}function R1a(a,b){a=a|0;b=b|0;c[a+24>>2]=c[b+20>>2];c[a+4>>2]=c[b>>2];c[a+28>>2]=c[b+24>>2];S1a(a,b,0);S1a(a,b,1);return}function S1a(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;k=c[((f|0)==0?e+4|0:e+8|0)>>2]|0;l=c[((f|0)==0?e+12|0:e+16|0)>>2]|0;if((c[d+44+(f*1572|0)+1564>>2]|0)==(k|0))if((c[d+44+(f*1572|0)+1568>>2]|0)==(l|0))return;c[d+44+(f*1572|0)+1564>>2]=k;c[d+44+(f*1572|0)+1568>>2]=l;h=c[d+1832>>2]|0;a:do if(h){g=0;while(1){if(c[d+1836+(g*28|0)+24>>2]&8|0)break;g=g+1|0;if(g>>>0>=h>>>0)break a}e=H2a(c[d+1836+(g*28|0)+12>>2]|0,c[e+8>>2]|0)|0;g=b[(c[(c[d+4>>2]|0)+88>>2]|0)+12>>1]|0;h=c[(c[d+36>>2]|0)+12>>2]|0;if(!h)g=40;else g=(g&65535)>5&(g&65535)>>>0<=h>>>0?52:40;g=g+e&-64;if((f|0)==1&(e|0)!=(g|0))k=F2a(k,g,e)|0}while(0);c[d+44+(f*1572|0)>>2]=k;c[d+44+(f*1572|0)+4>>2]=l;if(!f){c[d+8>>2]=k;c[d+16>>2]=l}else{c[d+12>>2]=k;c[d+20>>2]=l}if(c[d+44+(f*1572|0)+8>>2]|0){g=0;do{j=H2a(c[d+44+(f*1572|0)+12+(g*12|0)>>2]|0,k)|0;c[d+44+(f*1572|0)+12+(g*12|0)+4>>2]=j;c[d+44+(f*1572|0)+12+(g*12|0)+8>>2]=j;g=g+1|0}while(g>>>0<(c[d+44+(f*1572|0)+8>>2]|0)>>>0)}a[d+44+(f*1572|0)+212>>0]=(H2a(c[d+44+(f*1572|0)+208>>2]|0,k)|0)<40&1;if((f|0)!=1)return;if(!(c[d+1832>>2]|0))return;else j=0;do{m=d+1836+(j*28|0)|0;i=(H2a(c[m>>2]|0,k)|0)+l|0;g=d+1836+(j*28|0)+4|0;c[g>>2]=i;h=d+1836+(j*28|0)+8|0;c[h>>2]=i;i=d+1836+(j*28|0)+12|0;f=(H2a(c[i>>2]|0,k)|0)+l|0;c[d+1836+(j*28|0)+16>>2]=f;e=d+1836+(j*28|0)+20|0;c[e>>2]=f;f=d+1836+(j*28|0)+24|0;c[f>>2]=c[f>>2]&-2;i=H2a((c[m>>2]|0)-(c[i>>2]|0)|0,k)|0;if((i+48|0)>>>0<97){m=(i|0)<0?0-i|0:i;m=(m|0)<32?0:(m|0)<48?32:64;g=(c[g>>2]|0)+32&-64;c[h>>2]=g;c[e>>2]=g-((i|0)<0?0-m|0:m);c[f>>2]=c[f>>2]|1}j=j+1|0}while(j>>>0<(c[d+1832>>2]|0)>>>0);return}function T1a(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;f=c[d+4>>2]|0;c[b+2988>>2]=d;e=c[d+28>>2]|0;c[b+2980>>2]=e;c[b+4>>2]=c[d+44>>2];c[b+8>>2]=c[d+48>>2];c[b+12>>2]=c[d+1616>>2];c[b+16>>2]=c[d+1620>>2];i=c[d+24>>2]|0;g=(i|0)==2|(i|0)==4?(i|1|0)==3|2:(i|1|0)==3&1;g=(i|0)==1?g:g|4;g=(i|0)==2?g|8:g;if((i|0)==1)h=3;else if(c[f+12>>2]&1)h=3;if((h|0)==3)e=e|1;c[b+2980>>2]=(a[(c[(c[d+36>>2]|0)+212>>2]|0)+20>>0]|0)==0?e|8:e;c[b+2984>>2]=g;return 0}function U1a(f,g,h){f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;z=i;i=i+80|0;j=L1a(f,g)|0;if(j|0){g=j;i=z;return g|0}j=c[f+2980>>2]|0;do if(((j&8|0)==0?(c[h+24>>2]|0)==1:0)|(j&1|0)==0){j=V1a(f,c[h+52>>2]|0,h+56|0,0)|0;if(!j){x=f+2980|0;j=c[f+2980>>2]|0;break}else{g=j;i=z;return g|0}}else x=f+2980|0;while(0);if(!(j&2)){j=V1a(f,c[h+1624>>2]|0,h+1628|0,1)|0;if(j|0){g=j;i=z;return g|0}r=c[f+1532>>2]|0;s=c[f+1524>>2]|0;t=c[h+1616>>2]|0;if((s|0)>0){v=r;do{l=H2a(((c[h+40>>2]|0)>>>0)/40|0,t)|0;if(c[h+1832>>2]|0){p=v+13|0;u=v+12|0;q=0;k=0;j=0;l=(l|0)>32?32:l;do{n=h+1836+(q*28|0)|0;o=c[h+1836+(q*28|0)+24>>2]|0;if(o&1)if(!((o>>>2&1|0)==0&((o&2|0)!=0^(a[p>>0]|0)==(c[f+1536>>2]|0)^1))){w=(b[v>>1]|0)-(c[n>>2]|0)|0;w=H2a((w|0)<0?0-w|0:w,t)|0;m=(w|0)<(l|0);l=m?w:l;j=m?o>>>2&1:j;k=m?n:k;if(!((o>>>2&1)<<24>>24!=0|((w|0)==0|(a[u>>0]&1)==0))){m=b[v>>1]|0;if((o&2|0)!=0^(m|0)<(c[n>>2]|0)){o=h+1836+(q*28|0)+12|0;w=m-(c[o>>2]|0)|0;w=H2a((w|0)<0?0-w|0:w,t)|0;k=(w|0)<(l|0)?o:k;j=(w|0)<(l|0)?0:j;l=(w|0)<(l|0)?w:l}}}q=q+1|0}while(q>>>0<(c[h+1832>>2]|0)>>>0);if(k|0){c[v+20>>2]=k;if(j<<24>>24)a[u>>0]=d[u>>0]|8}}v=v+48|0}while(v>>>0<(r+(s*48|0)|0)>>>0)}}w=0;a:while(1){v=(w|0)==0;do if(v){j=c[x>>2]|0;if(!((j&8|0)==0?(c[h+24>>2]|0)==1:0))if(!(j&1)){y=30;break}else{w=1;continue a}X1a(z+8|0,f,0,z+4|0,z);k=c[z+4>>2]|0;j=c[z>>2]|0;l=c[f+24>>2]|0;m=c[f+28>>2]|0;if((l|0)>0){n=m;do{c[n+16>>2]=(H2a(b[n+12>>1]|0,k)|0)+j;n=n+40|0}while(n>>>0<(m+(l*40|0)|0)>>>0)}}else if((w|0)==1)if(!(c[x>>2]&2))y=30;else break a;while(0);if((y|0)==30){y=0;t=c[f+44+(w*1468|0)+20>>2]|0;u=c[f+44+(w*1468|0)+12>>2]|0;if((w|0)==1&(u|0)>0){j=0;q=t;do{l=q+12|0;n=d[l>>0]|0;do if(!(n&4)){m=c[q+24>>2]|0;o=q+20|0;k=c[o>>2]|0;do if((m|0)!=0&(k|0)!=0)if(c[m+20>>2]|0){p=a[m+12>>0]|0;if(p&8){c[m+20>>2]=0;a[m+12>>0]=p&247;k=c[o>>2]|0;break}if(n&8){c[o>>2]=0;a[l>>0]=n&247;k=0}}while(0);l=(k|0)!=0;if(l|(m|0)!=0^1)if(l)n=q;else break;else{k=c[m+20>>2]|0;if(!k)break;else{n=m;m=q}}k=c[k+8>>2]|0;c[n+8>>2]=k;s=n+12|0;l=d[s>>0]|4;a[s>>0]=l;if(m|0)if(!(c[m+20>>2]|0)){s=m+12|0;r=d[s>>0]|0;c[m+8>>2]=(Y1a(f,1,(c[m+4>>2]|0)-(c[n+4>>2]|0)|0,l,r)|0)+k;a[s>>0]=r|4}j=(j|0)==0?q:j}while(0);q=q+48|0}while(q>>>0<(t+(u*48|0)|0)>>>0)}else j=0;if((u|0)>0){r=t;q=0;while(1){n=r+12|0;o=d[n>>0]|0;do if(!(o&4)){p=c[r+24>>2]|0;if(!p){k=q+1|0;break}if(c[p+20>>2]|0){k=c[p+8>>2]|0;c[r+8>>2]=(Y1a(f,w,(c[r+4>>2]|0)-(c[p+4>>2]|0)|0,d[p+12>>0]|0,o)|0)+k;a[n>>0]=o|4;k=q;break}if(!j){l=c[r+4>>2]|0;m=(c[p+4>>2]|0)-l|0;j=Y1a(f,w,m,o,d[p+12>>0]|0)|0;if((j|0)<96){s=((m>>1)+l+32&-64)-((j|0)<65?32:38)|0;k=(m>>1)+l+32&-64|((j|0)<65?32:26);k=(((((m>>1)+l-s|0)<0?0-((m>>1)+l-s)|0:(m>>1)+l-s|0)|0)<((((m>>1)+l-k|0)<0?0-((m>>1)+l-k)|0:(m>>1)+l-k|0)|0)?s:k)-((j|0)/2|0)|0;s=r+8|0;c[s>>2]=k;c[p+8>>2]=k+j;k=p+8|0;j=c[s>>2]|0}else{c[r+8>>2]=l+32&-64;k=p+8|0;j=l+32&-64}a[n>>0]=o|4;c[k>>2]=(Y1a(f,w,m,o|4,d[p+12>>0]|0)|0)+j;j=r;k=q;break}l=c[r+4>>2]|0;k=l-(c[j+4>>2]|0)+(c[j+8>>2]|0)|0;l=(c[p+4>>2]|0)-l|0;s=d[p+12>>0]|0;m=Y1a(f,w,l,o,s)|0;do if(!(s&4))if((m|0)<96){A=((l>>1)+k+32&-64)-((m|0)<65?32:38)|0;s=(l>>1)+k+32&-64|((m|0)<65?32:26);s=((((l>>1)+k-A|0)<0?0-((l>>1)+k-A)|0:(l>>1)+k-A|0)|0)<((((l>>1)+k-s|0)<0?0-((l>>1)+k-s)|0:(l>>1)+k-s|0)|0)?A:s;c[r+8>>2]=s-((m|0)/2|0);c[p+8>>2]=s+((m|0)/2|0);break}else{s=(k+32&-64)+(m>>1)-((l>>1)+k)|0;A=(l+32+k&-64)-m+((m>>1)-((l>>1)+k))|0;A=(((s|0)<0?0-s|0:s)|0)<(((A|0)<0?0-A|0:A)|0)?k+32&-64:(l+32+k&-64)-m|0;c[r+8>>2]=A;c[p+8>>2]=A+m;break}else c[r+8>>2]=(c[p+8>>2]|0)-m;while(0);a[n>>0]=o|4;a[p+12>>0]=d[p+12>>0]|4;if(r>>>0>t>>>0){k=r+8|0;l=c[r+-40>>2]|0;if((c[k>>2]|0)<(l|0)){c[k>>2]=l;k=q}else k=q}else k=q}else k=q;while(0);r=r+48|0;if(r>>>0>=(t+(u*48|0)|0)>>>0){n=k;break}else q=k}}else n=0;b:do if(v){switch(u*48|0){case 288:{k=t;l=t+96|0;m=t+192|0;break}case 576:{k=t+48|0;l=t+240|0;m=t+432|0;break}default:break b}A=c[l+4>>2]|0;A=A-(c[m+4>>2]|0)+(A-(c[k+4>>2]|0))|0;if((((A|0)<0?0-A|0:A)|0)<8){A=m+8|0;l=(c[l+8>>2]<<1)-(c[k+8>>2]|0)|0;k=(c[A>>2]|0)-l|0;c[A>>2]=l;l=c[m+24>>2]|0;if(l|0)c[l+8>>2]=(c[l+8>>2]|0)-k;if((u*48|0)==576){c[t+392>>2]=(c[t+392>>2]|0)-k;c[t+536>>2]=(c[t+536>>2]|0)-k}A=m+12|0;a[A>>0]=d[A>>0]|4;if(l|0)a[l+12>>0]=d[l+12>>0]|4}}while(0);if((u|0)>0&((j|0)==0|(n|0)!=0)){s=t;while(1){r=s+12|0;q=a[r>>0]|0;if(!(q&4)){k=c[s+28>>2]|0;if(!k)y=83;else{l=c[k+4>>2]|0;m=c[s+4>>2]|0;if((((l-m|0)<0?0-(l-m)|0:l-m|0)|0)<80){m=(c[k+8>>2]|0)-l+m|0;c[s+8>>2]=m;k=q}else y=83}do if((y|0)==83){y=0;if(!j){m=(c[s+4>>2]|0)+32&-64;c[s+8>>2]=m;k=q;j=s;break}else l=s;while(1){k=l+-48|0;if(k>>>0>>0){o=0;break}if(!(a[l+-36>>0]&4))l=k;else{o=1;break}}m=s;while(1){n=m+48|0;if(n>>>0>=(t+(u*48|0)|0)>>>0)break;if(!(a[m+60>>0]&4))m=n;else{p=m;y=90;break}}if((y|0)==90){y=0;if(k>>>0>>0&o&n>>>0>s>>>0){k=c[p+52>>2]|0;n=c[l+-44>>2]|0;m=c[l+-40>>2]|0;if((k|0)==(n|0)){c[s+8>>2]=m;k=q;break}else{m=(F2a((c[s+4>>2]|0)-n|0,(c[p+56>>2]|0)-m|0,k-n|0)|0)+m|0;c[s+8>>2]=m;k=a[r>>0]|0;break}}}m=((c[s+4>>2]|0)+16-(c[j+4>>2]|0)&-32)+(c[j+8>>2]|0)|0;c[s+8>>2]=m;k=q}while(0);a[r>>0]=k&255|4;if(s>>>0>t>>>0){k=c[s+-40>>2]|0;if((m|0)<(k|0)){c[s+8>>2]=k;m=k}}k=s+48|0;if(k>>>0<(t+(u*48|0)|0)>>>0)if(a[s+60>>0]&4){l=c[s+56>>2]|0;if((m|0)>(l|0))c[s+8>>2]=l}}else k=s+48|0;if(k>>>0<(t+(u*48|0)|0)>>>0)s=k;else break}}n=c[f+44+(w*1468|0)+8>>2]|0;o=c[f+44+(w*1468|0)>>2]|0;if(v){if((o|0)>0){m=n;do{j=c[m+12>>2]|0;if(j|0){l=c[m+44>>2]|0;k=c[j+8>>2]|0;j=m+40|0;while(1){j=c[j>>2]|0;c[j+16>>2]=k;b[j>>1]=e[j>>1]|4;if((j|0)==(l|0))break;else j=j+32|0}}m=m+48|0}while(m>>>0<(n+(o*48|0)|0)>>>0)}}else if((o|0)>0){m=n;do{j=c[m+12>>2]|0;if(j|0){l=c[m+44>>2]|0;k=c[j+8>>2]|0;j=m+40|0;while(1){j=c[j>>2]|0;c[j+20>>2]=k;b[j>>1]=e[j>>1]|8;if((j|0)==(l|0))break;else j=j+32|0}}m=m+48|0}while(m>>>0<(n+(o*48|0)|0)>>>0)}Z1a(f,w);_1a(f,w)}w=w+1|0;if((w|0)==2)break}o=c[f+24>>2]|0;l=c[f+28>>2]|0;if((o|0)<=0){A=0;i=z;return A|0}m=l;n=c[g+8>>2]|0;k=c[g+4>>2]|0;while(1){c[k>>2]=c[m+16>>2];c[k+4>>2]=c[m+20>>2];j=e[m>>1]|0;do if(!(j&1))if(!(j&2)){a[n>>0]=1;break}else{a[n>>0]=2;break}else a[n>>0]=0;while(0);m=m+40|0;if(m>>>0>=(l+(o*40|0)|0)>>>0){j=0;break}else{n=n+1|0;k=k+8|0}}i=z;return j|0}function V1a(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;w=i;i=i+16|0;j=N1a(e,h)|0;if(j|0){v=j;i=w;return v|0}O1a(e,f,g,h);r=c[e>>2]|0;j=c[e+2988>>2]|0;s=c[e+44+(h*1468|0)+8>>2]|0;t=c[e+44+(h*1468|0)>>2]|0;c[e+44+(h*1468|0)+12>>2]=0;q=c[((h|0)==0?e+4|0:e+12|0)>>2]|0;if(!h)u=I2a(64,c[e+12>>2]|0)|0;else u=0;n=H2a(c[j+44+(h*1572|0)+204>>2]|0,q)|0;n=I2a((n|0)>16?16:n,q)|0;a:do if((t|0)>0){o=u*3|0;p=s;b:while(1){j=b[p+8>>1]|0;c:do if((j|0)>=(u|0))if(!((j<<1|0)<(o|0)&(c[p+24>>2]|0)!=0)){f=c[e+44+(h*1468|0)+12>>2]|0;d:do if((f|0)>0){k=c[e+44+(h*1468|0)+20>>2]|0;g=p+2|0;m=b[g>>1]|0;l=p+1|0;j=0;while(1){x=(m<<16>>16)-(b[k+(j*48|0)>>1]|0)|0;if((((x|0)<0?0-x|0:x)|0)<(n|0))if((a[k+(j*48|0)+13>>0]|0)==(a[l>>0]|0))break;j=j+1|0;if((j|0)>=(f|0)){k=g;j=m;break d}}c[p+16>>2]=c[k+(j*48|0)+40>>2];c[(c[k+(j*48|0)+44>>2]|0)+16>>2]=p;c[k+(j*48|0)+44>>2]=p;break c}else{j=p+2|0;k=j;l=p+1|0;j=b[j>>1]|0}while(0);j=W1a(e+44+(h*1468|0)|0,j<<16>>16,a[l>>0]|0,r,w)|0;if(j|0)break b;j=c[w>>2]|0;f=j;g=f+40|0;do{c[f>>2]=0;f=f+4|0}while((f|0)<(g|0));c[j+40>>2]=p;c[j+44>>2]=p;a[j+13>>0]=a[l>>0]|0;x=b[k>>1]|0;b[j>>1]=x;x=H2a(x<<16>>16,q)|0;c[j+4>>2]=x;c[j+8>>2]=x;c[p+16>>2]=p}while(0);p=p+48|0;if(p>>>0>=(s+(t*48|0)|0)>>>0){j=e+44+(h*1468|0)+20|0;break a}}x=j;i=w;return x|0}else j=e+44+(h*1468|0)+20|0;while(0);u=c[j>>2]|0;t=c[e+44+(h*1468|0)+12>>2]|0;if((t|0)>0)f=u;else{x=0;i=w;return x|0}do{j=c[f+40>>2]|0;if(j|0){g=j;do{c[g+12>>2]=f;g=c[g+16>>2]|0}while((g|0)!=(j|0))}f=f+48|0}while(f>>>0<(u+(t*48|0)|0)>>>0);r=u;do{o=c[r+40>>2]|0;p=r+24|0;q=r+28|0;j=0;f=0;s=o;while(1){m=c[s>>2]|0;n=(m&1)+j|0;f=(m&1^1)+f|0;k=s+24|0;j=c[k>>2]|0;if(!j)l=0;else{l=c[j+12>>2]|0;l=(l|0)!=(r|0)&(l|0)!=0}j=s+20|0;g=c[j>>2]|0;if(!g){if(l)v=30}else if(l|(c[g+12>>2]|0)!=0)v=30;do if((v|0)==30){v=0;g=c[(l?k:j)>>2]|0;j=c[(l?q:p)>>2]|0;if(!j)j=c[g+12>>2]|0;else{x=(b[r>>1]|0)-(b[j>>1]|0)|0;e=(m>>16)-(b[g+2>>1]|0)|0;if((((e|0)<0?0-e|0:e)|0)<(((x|0)<0?0-x|0:x)|0))j=c[g+12>>2]|0}if(l){c[q>>2]=j;x=j+12|0;a[x>>0]=d[x>>0]|2;break}else{c[p>>2]=j;break}}while(0);s=c[s+16>>2]|0;if((s|0)==(o|0))break;else j=n}a[r+12>>0]=((n|0)<1|(n|0)<(f|0))&1^1;if(c[q>>2]|0)if(c[p>>2]|0)c[q>>2]=0;r=r+48|0}while(r>>>0<(u+(t*48|0)|0)>>>0);j=0;i=w;return j|0}function W1a(a,d,e,f,g){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0;m=i;i=i+16|0;c[m>>2]=0;j=c[a+12>>2]|0;do if((j|0)<12)if(!(c[a+20>>2]|0)){c[a+20>>2]=a+892;c[a+16>>2]=12;h=a+20|0;k=13}else{h=a+20|0;k=13}else{h=c[a+16>>2]|0;if((j|0)<(h|0)){h=c[a+20>>2]|0;f=h;h=h+(j*48|0)|0;k=14;break}if((h|0)>44739241){c[m>>2]=64;a=64;d=0;c[g>>2]=d;i=m;return a|0}l=(h>>2|0)<-4|(h+4+(h>>2)|0)>44739242?44739242:h+4+(h>>2)|0;k=c[a+20>>2]|0;do if((k|0)==(a+892|0)){h=JTa(f,48,0,l,0,m)|0;c[a+20>>2]=h;j=c[m>>2]|0;if(!j){mBb(h|0,k|0,576)|0;break}else{a=j;d=0;c[g>>2]=d;i=m;return a|0}}else{c[a+20>>2]=JTa(f,48,h,l,k,m)|0;h=c[m>>2]|0;if(h|0){a=h;d=0;c[g>>2]=d;i=m;return a|0}}while(0);c[a+16>>2]=l;h=a+20|0;j=c[a+12>>2]|0;k=13}while(0);if((k|0)==13){f=c[h>>2]|0;h=f+(j*48|0)|0;if((j|0)>0)k=14}if((k|0)==14){k=h;while(1){h=k+-48|0;j=b[h>>1]|0;if((j|0)<(d|0)){h=k;break}if((j|0)==(d|0))if((c[a+24>>2]|0)==(e|0)){h=k;break}j=h;l=k+48|0;do{c[k>>2]=c[j>>2];k=k+4|0;j=j+4|0}while((k|0)<(l|0));if(h>>>0>f>>>0)k=h;else break}j=c[a+12>>2]|0}c[a+12>>2]=j+1;a=0;d=h;c[g>>2]=d;i=m;return a|0}function X1a(a,d,e,f,g){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;y=i;i=i+272|0;w=c[((e|0)==1?d+12|0:d+4|0)>>2]|0;m=c[((e|0)==1?d+16|0:d+8|0)>>2]|0;c[a+44>>2]=w;c[a+48>>2]=m;c[a+52>>2]=-2147483648;c[a+56>>2]=0;v=c[d+44+(e*1468|0)+8>>2]|0;u=c[d+44+(e*1468|0)>>2]|0;k=c[d+28>>2]|0;l=c[d+24>>2]|0;c[f>>2]=w;c[g>>2]=m;if((u|0)<1){i=y;return}e=b[k+12>>1]|0;if((l|0)>1){h=e;j=1}else{i=y;return}while(1){t=b[k+(j*40|0)+12>>1]|0;s=(t|0)<(h|0)?t:h;t=(t|0)>(e|0)?t:e;j=j+1|0;if((j|0)==(l|0))break;else{h=s;e=t}}if((t|0)<=(s|0)){i=y;return}c[a>>2]=(H2a(s,w)|0)+m;k=(H2a(t,w)|0)+m|0;c[a+4>>2]=k;l=c[a>>2]|0;c[a+8>>2]=l&-64;c[a+12>>2]=k+63&-64;c[a+16>>2]=l&-32;c[a+20>>2]=(l&-32)+32;c[a+24>>2]=k&-32;c[a+28>>2]=(k&-32)+32;if(((l&-32)+32|0)>(k|0)){c[a+20>>2]=k;h=k}else h=(l&-32)+32|0;if((k&-32|0)<(l|0)){c[a+24>>2]=l;e=l}else e=k&-32;c[a+32>>2]=k-l;if((k-l|0)<65){c[a+20>>2]=l;c[a+24>>2]=k;e=k;h=l}h=e-h|0;c[a+36>>2]=h;e=(k&-32)+32-(l&-32)|0;c[a+40>>2]=e;j=(k-l|0)<129?((k-l|0)<97?4:8):16;if((h|0)<(k-l-j|0)){c[a+36>>2]=k-l-j;h=k-l-j|0}if((e|0)>(k-l+j|0)){c[a+40>>2]=k-l+j;e=k-l+j|0}if((h|0)<(((k-l|0)*3|0)/4|0|0)){c[a+36>>2]=((k-l|0)*3|0)/4|0;h=((k-l|0)*3|0)/4|0}if((e|0)>(((k-l|0)*5|0)/4|0|0)){c[a+40>>2]=((k-l|0)*5|0)/4|0;e=((k-l|0)*5|0)/4|0}a:do if((h|0)<=(e|0)){m=k-l|0;while(1){j=m-h+l|0;if((m|0)>(h|0)){e=c[a+20>>2]|0;if((e|0)<(j|0)){n=e;e=k-j+e|0}else{n=j;e=k}}else{e=c[a+16>>2]|0;if((e|0)>(j|0)){n=e;e=k-j+e|0}else{n=j;e=k}}r=(((e|0)<(k|0)?k-e|0:e-k|0)+((n|0)<(l|0)?l-n|0:n-l|0)|0)*10|0;o=(I2a(h-m|0,t-s|0)|0)+w|0;p=n-(H2a(s,o)|0)|0;hBb(y|0,0,260)|0;m=c[a+8>>2]|0;q=n-m|0;l=c[a+16>>2]|0;k=e-n|0;e=c[a+24>>2]|0;n=c[a+20>>2]|0;j=c[a+28>>2]|0;l=((l+k|0)<(e|0)?e-k|0:l)-m|0;n=((n+k|0)>(j|0)?j-k|0:n)-m|0;if((l|0)>=0)if(!((l|0)>(n|0)|(n|0)>64)){if((u|0)>0){k=0;do{e=(b[v+(k*48|0)+6>>1]|0)-(b[v+(k*48|0)+4>>1]|0)|0;j=l;m=p-q+l+(H2a(b[v+(k*48|0)+2>>1]|0,o)|0)|0;while(1){A=_(c[60588+((m&63)<<2)>>2]|0,e)|0;z=y+(j<<2)|0;c[z>>2]=(c[z>>2]|0)+A;if((j|0)<(n|0)){j=j+1|0;m=m+1|0}else break}k=k+1|0}while((k|0)!=(u|0))}k=c[a+52>>2]|0;while(1){e=c[y+(l<<2)>>2]|0;j=l-q|0;do if((e|0)>(k|0))x=37;else{if((e|0)!=(k|0)){e=k;break}if((j+r|0)<(c[a+56>>2]|0))x=37;else e=k}while(0);if((x|0)==37){x=0;c[a+52>>2]=e;c[a+56>>2]=j+r;c[a+44>>2]=o;c[a+48>>2]=j+p}if((l|0)<(n|0)){k=e;l=l+1|0}else break}}if((h|0)>=(c[a+40>>2]|0))break a;m=c[a+32>>2]|0;l=c[a>>2]|0;k=c[a+4>>2]|0;h=h+1|0}}while(0);z=c[a+44>>2]|0;A=c[a+48>>2]|0;c[d+2992>>2]=(H2a(s,z-w|0)|0)+A;c[d+2996>>2]=(H2a(t,z-w|0)|0)+A;c[f>>2]=z;c[g>>2]=A;i=y;return}function Y1a(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;k=c[b+2988>>2]|0;l=c[b+2984>>2]|0;if(!(l&4))return e|0;if(a[k+44+(d*1572|0)+212>>0]|0)return e|0;m=(e|0)<0?0-e|0:e;if((d|0)==1)if(!(l&2))if((m|0)<192&(g&2|0)!=0)b=m;else n=7;else n=16;else if(!(l&1))n=7;else n=16;do if((n|0)==7){f=(f&1|0)==0?((m|0)<56?56:m):(m|0)<80?64:m;if(!(c[k+44+(d*1572|0)+8>>2]|0))b=f;else{b=c[k+44+(d*1572|0)+16>>2]|0;if((((f-b|0)<0?0-(f-b)|0:f-b|0)|0)<40){b=(b|0)<48?48:b;break}if((f|0)>=192){b=f+32&-64;break}if((f&63)>>>0<10)b=f;else if((f&63)>>>0<32){b=f&-64|10;break}else{b=(f&63)>>>0<54?f&-64|54:f;break}}}else if((n|0)==16){g=c[k+44+(d*1572|0)+8>>2]|0;if(!g){f=m+32&-64;b=m;n=20}else{i=98;j=0;b=m;while(1){o=c[k+44+(d*1572|0)+12+(j*12|0)+4>>2]|0;f=(m-o|0)<0?0-(m-o)|0:m-o|0;h=(f|0)<(i|0);b=h?o:b;j=j+1|0;if((j|0)==(g|0))break;else i=h?f:i}if((b|0)>(m|0))b=((b+32&-64)+-48|0)<(m|0)?b:m;else{f=b+32&-64;n=20}}if((n|0)==20)b=(f|48|0)>(m|0)?b:m;if((d|0)==1){if((b|0)<=63){b=64;break}b=b+16&-64;break}if(l&8|0){if((b|0)<64){b=64;break}b=b+32&-64;break}if((b|0)<48){b=b+64>>1;break}if((b|0)>=128){b=b+32&-64;break}b=b+22&-64;if((((b-m|0)<0?0-(b-m)|0:b-m|0)|0)>15)if((m|0)<48)b=m+64>>1;else b=m}while(0);o=(e|0)>-1?b:0-b|0;return o|0}function Z1a(a,d){a=a|0;d=d|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;m=c[a+28>>2]|0;n=c[a+24>>2]|0;o=c[a+44+(d*1468|0)+20>>2]|0;k=c[a+44+(d*1468|0)+12>>2]|0;j=(d|0)==0?4:8;if(!((k|0)>0&(n|0)>0))return;l=m;do{if(!(e[l>>1]&(j|16))){if((d|0)==1){a=l+8|0;i=b[l+14>>1]|0}else{a=l+4|0;i=b[l+12>>1]|0}a=c[a>>2]|0;f=b[o>>1]|0;a:do if((f<<16>>16|0)<(i|0)){if((i|0)>=(b[o+(k*48|0)+-48>>1]|0)){a=(c[o+(k*48|0)+-48+8>>2]|0)+a-(c[o+(k*48|0)+-48+4>>2]|0)|0;break}b:do if((k*48|0)<432){if((k*48|0)>0&(f<<16>>16|0)<(i|0)){a=0;do{a=a+1|0;f=b[o+(a*48|0)>>1]|0}while((f<<16>>16|0)<(i|0)?(a|0)<((k*48|0)/48|0|0):0)}else a=0;if((f<<16>>16|0)==(i|0)){a=c[o+(a*48|0)+8>>2]|0;break a}}else{f=(k*48|0)/48|0;a=0;while(1){while(1){if((a|0)>=(f|0))break b;h=f+a>>1;g=b[o+(h*48|0)>>1]|0;if((i|0)<(g|0))f=h;else{a=f;break}}if((i|0)<=(g|0))break;f=a;a=h+1|0}a=c[o+(h*48|0)+8>>2]|0;break a}while(0);f=o+(a*48|0)|0;h=c[f+-48+16>>2]|0;if(!h){a=I2a((c[o+(a*48|0)+8>>2]|0)-(c[f+-48+8>>2]|0)|0,(b[f>>1]|0)-(b[f+-48>>1]|0)|0)|0;c[f+-48+16>>2]=a;g=f+-48|0;f=f+-48+8|0}else{g=f+-48|0;f=f+-48+8|0;a=h}h=c[f>>2]|0;a=(H2a(i-(b[g>>1]|0)|0,a)|0)+h|0}else a=(c[o+8>>2]|0)+a-(c[o+4>>2]|0)|0;while(0);if(!d)c[l+16>>2]=a;else c[l+20>>2]=a;b[l>>1]=e[l>>1]|j}l=l+40|0}while(l>>>0<(m+(n*40|0)|0)>>>0);return}function _1a(a,b){a=a|0;b=b|0;var d=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;s=c[a+28>>2]|0;t=c[a+24>>2]|0;r=c[a+40>>2]|0;q=c[a+36>>2]|0;if(!b)if((t|0)>0){a=s;do{c[a+24>>2]=c[a+16>>2];c[a+28>>2]=c[a+4>>2];a=a+40|0}while(a>>>0<(s+(t*40|0)|0)>>>0);p=4}else p=4;else if((t|0)>0){a=s;do{c[a+24>>2]=c[a+20>>2];c[a+28>>2]=c[a+8>>2];a=a+40|0}while(a>>>0<(s+(t*40|0)|0)>>>0);p=8}else p=8;if((q|0)>0){o=r;while(1){d=c[o>>2]|0;n=c[d+36>>2]|0;a:do if(d>>>0<=n>>>0){a=d;while(1){if((e[a>>1]|0)&p|0)break;a=a+40|0;if(a>>>0>n>>>0)break a}j=a;b:while(1){i=j>>>0>>0;if(i){f=j+40|0;if((e[j+40>>1]|0)&p){j=f;continue}}else f=j+40|0;g=f>>>0>n>>>0;if(g){h=i;break}else h=f;while(1){if((e[h>>1]|0)&p|0)break;h=h+40|0;if(h>>>0>n>>>0){h=i;break b}}if(f>>>0>(h+-40|0)>>>0){j=h;continue}l=(c[j+28>>2]|0)>(c[h+28>>2]|0);m=l?j:h;l=l?h:j;j=c[l+28>>2]|0;k=c[m+28>>2]|0;l=c[l+24>>2]|0;m=c[m+24>>2]|0;if((k|0)==(j|0)|(m|0)==(l|0))while(1){g=c[f+28>>2]|0;if((g|0)>(j|0))g=(g|0)<(k|0)?l:g+(m-k)|0;else g=g+(l-j)|0;c[f+24>>2]=g;f=f+40|0;if(f>>>0>(h+-40|0)>>>0){j=h;continue b}}i=I2a(m-l|0,k-j|0)|0;while(1){g=c[f+28>>2]|0;do if((g|0)>(j|0))if((g|0)<(k|0)){g=(H2a(g-j|0,i)|0)+l|0;break}else{g=g+(m-k)|0;break}else g=g+(l-j)|0;while(0);c[f+24>>2]=g;f=f+40|0;if(f>>>0>(h+-40|0)>>>0){j=h;continue b}}}if((j|0)==(a|0)){g=c[a+24>>2]|0;f=c[a+28>>2]|0;if((g|0)==(f|0))break;if(d>>>0>>0)do{c[d+24>>2]=(c[d+28>>2]|0)+(g-f);d=d+40|0}while(d>>>0>>0);if((a+40|0)>>>0>n>>>0)break;else d=a+40|0;while(1){c[a+64>>2]=(c[a+68>>2]|0)+(g-f);a=d+40|0;if(a>>>0>n>>>0)break a;else{m=d;d=a;a=m}}}c:do if(!(g|h^1)){l=(c[j+28>>2]|0)>(c[a+28>>2]|0);m=l?j:a;l=l?a:j;i=c[l+28>>2]|0;k=c[m+28>>2]|0;l=c[l+24>>2]|0;m=c[m+24>>2]|0;if((k|0)==(i|0)|(m|0)==(l|0))while(1){g=c[f+28>>2]|0;if((g|0)>(i|0))g=(g|0)<(k|0)?l:g+(m-k)|0;else g=g+(l-i)|0;c[f+24>>2]=g;f=f+40|0;if(f>>>0>n>>>0)break c}h=I2a(m-l|0,k-i|0)|0;do{g=c[f+28>>2]|0;do if((g|0)>(i|0))if((g|0)<(k|0)){g=(H2a(g-i|0,h)|0)+l|0;break}else{g=g+(m-k)|0;break}else g=g+(l-i)|0;while(0);c[f+24>>2]=g;f=f+40|0}while(f>>>0<=n>>>0)}while(0);if(a>>>0>s>>>0)if(d>>>0<=(a+-40|0)>>>0){h=(c[j+28>>2]|0)>(c[a+28>>2]|0);k=h?j:a;j=h?a:j;h=c[j+28>>2]|0;i=c[k+28>>2]|0;j=c[j+24>>2]|0;k=c[k+24>>2]|0;if((i|0)==(h|0)|(k|0)==(j|0))while(1){f=c[d+28>>2]|0;if((f|0)>(h|0))f=(f|0)<(i|0)?j:f+(k-i)|0;else f=f+(j-h)|0;c[d+24>>2]=f;d=d+40|0;if(d>>>0>(a+-40|0)>>>0)break a}g=I2a(k-j|0,i-h|0)|0;do{f=c[d+28>>2]|0;do if((f|0)>(h|0))if((f|0)<(i|0)){f=(H2a(f-h|0,g)|0)+j|0;break}else{f=f+(k-i)|0;break}else f=f+(j-h)|0;while(0);c[d+24>>2]=f;d=d+40|0}while(d>>>0<=(a+-40|0)>>>0)}}while(0);o=o+4|0;if(o>>>0>=(r+(q<<2)|0)>>>0)break}}if(!b){if((t|0)>0)a=s;else return;do{c[a+16>>2]=c[a+24>>2];a=a+40|0}while(a>>>0<(s+(t*40|0)|0)>>>0);return}else{if((t|0)>0)a=s;else return;do{c[a+20>>2]=c[a+24>>2];a=a+40|0}while(a>>>0<(s+(t*40|0)|0)>>>0);return}}function $1a(f,g){f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=i;i=i+416|0;z=c[g+92>>2]|0;c[f+40>>2]=e[g+68>>1];if(oSa(g,1970170211)|0){pSa(g,z)|0;i=B;return 0}a2a(f,g);j=57772+(c[(c[f>>2]|0)+12>>2]<<3)|0;h=c[j>>2]|0;if((h|0)!=759)do{k=591937+h|0;x=j+4|0;y=(b[x>>1]&2)==0?f+1616|0:f+44|0;h=a[k>>0]|0;a:do if(!(h<<24>>24)){l=0;s=0}else{n=1;l=0;s=0;while(1){w=l;while(1){b:while(1){while(1){k=k+1|0;l=h&255;if(h<<24>>24<0){do if((h&255)<224){l=l&31;o=1}else if((h&255)<240){l=l&15;o=2;break}else{l=l&7;o=3;break}while(0);h=o;m=k;while(1){l=d[m>>0]&63|l<<6;h=h+-1|0;if(!h)break;else m=m+1|0}k=k+o|0}if((l|0)==124)break;h=TRa(c[c[f+36>>2]>>2]|0,l)|0;if(h|0){v=RRa(g,h,1)|0;h=c[g+84>>2]|0;if(!v)if((b[h+110>>1]|0)>=1)break b}h=a[k>>0]|0;if(!(h<<24>>24)){l=w;break a}}h=a[k>>0]|0;if(!(h<<24>>24)){l=w;break a}else n=0}u=b[h+108>>1]|0;v=c[h+112>>2]|0;q=c[h+120>>2]|0;if(u<<16>>16>0){l=-1;h=0;p=0;t=0;while(1){r=b[q+(t<<1)>>1]|0;do if((r|0)>(p|0)){m=e[x>>1]|0;o=(p|0)>(r|0);if(!(m&2))if(m&1|0){if(o)break;else m=p;while(1){o=c[v+(m<<3)+4>>2]|0;p=(l|0)<0|(o|0)>(h|0);h=p?o:h;l=p?m:l;if((m|0)<(r|0))m=m+1|0;else break}}else{if(o)break;else m=p;while(1){o=c[v+(m<<3)+4>>2]|0;p=(l|0)<0|(o|0)<(h|0);h=p?o:h;l=p?m:l;if((m|0)<(r|0))m=m+1|0;else break}}else if(m&1|0){if(o)break;else m=p;while(1){o=c[v+(m<<3)>>2]|0;p=(l|0)<0|(o|0)>(h|0);h=p?o:h;l=p?m:l;if((m|0)<(r|0))m=m+1|0;else break}}else{if(o)break;else m=p;while(1){o=c[v+(m<<3)>>2]|0;p=(l|0)<0|(o|0)<(h|0);h=p?o:h;l=p?m:l;if((m|0)<(r|0))m=m+1|0;else break}}}while(0);t=t+1|0;if((t|0)==(u<<16>>16|0))break;else p=r+1|0}}else h=0;if(!(n<<24>>24)){l=w;break}l=w+1|0;c[B+204+(w<<2)>>2]=h;h=a[k>>0]|0;if(!(h<<24>>24))break a;else w=l}m=s+1|0;c[B+(s<<2)>>2]=h;h=a[k>>0]|0;if(!(h<<24>>24)){s=m;break}else{n=0;s=m}}}while(0);r=(l|0)==0;if(l|s|0){q=(s|0)==0;if(l>>>0>1){n=1;do{h=c[B+204+(n<<2)>>2]|0;o=n;do{p=o;o=o+-1|0;k=B+204+(o<<2)|0;m=c[k>>2]|0;if((h|0)>=(m|0))break;c[B+204+(p<<2)>>2]=m;c[k>>2]=h}while((o|0)!=0);n=n+1|0}while((n|0)!=(l|0))}if(s>>>0>1){n=1;do{h=c[B+(n<<2)>>2]|0;o=n;do{p=o;o=o+-1|0;k=B+(o<<2)|0;m=c[k>>2]|0;if((h|0)>=(m|0))break;c[B+(p<<2)>>2]=m;c[k>>2]=h}while((o|0)!=0);n=n+1|0}while((n|0)!=(s|0))}m=c[y+216>>2]|0;c[y+216>>2]=m+1;do if(q){A=c[B+204+(l>>>1<<2)>>2]|0;c[y+220+(m*28|0)+12>>2]=A;c[y+220+(m*28|0)>>2]=A;A=57}else{if(r){A=c[B+(s>>>1<<2)>>2]|0;c[y+220+(m*28|0)+12>>2]=A;c[y+220+(m*28|0)>>2]=A;A=57;break}l=c[B+204+(l>>>1<<2)>>2]|0;c[y+220+(m*28|0)>>2]=l;k=c[B+(s>>>1<<2)>>2]|0;c[y+220+(m*28|0)+12>>2]=k;if((k|0)==(l|0))A=57;else{h=b[x>>1]|0;if((k|0)<(l|0)^(h&1)!=0){c[y+220+(m*28|0)+12>>2]=(k+l|0)/2|0;c[y+220+(m*28|0)>>2]=(k+l|0)/2|0}}}while(0);if((A|0)==57){A=0;h=b[x>>1]|0}c[y+220+(m*28|0)+24>>2]=(h&1)<<1}j=j+8|0;h=c[j>>2]|0}while((h|0)!=759);b2a(f,g);pSa(g,z)|0;i=B;return 0}function a2a(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0;k=i;i=i+10064|0;g=c[e+100>>2]|0;hBb(k+3192|0,0,3e3)|0;c[k+3192>>2]=g;c[d+52>>2]=0;c[d+1624>>2]=0;g=c[60496+(c[(c[d>>2]|0)+8>>2]<<2)>>2]|0;if(!d)h=3;else{f=TRa(c[c[d+36>>2]>>2]|0,c[g+8>>2]|0)|0;if(!f)h=3;else h=7}if((h|0)==3){f=c[g+12>>2]|0;if(!((f|0)==0|(d|0)==0)){f=TRa(c[c[d+36>>2]>>2]|0,f)|0;if(!f){f=c[g+16>>2]|0;if(!((d|0)==0|(f|0)==0)){f=TRa(c[c[d+36>>2]>>2]|0,f)|0;if(f|0)h=7}}else h=7}}do if((h|0)==7)if(!(RRa(e,f,1)|0)){f=c[e+84>>2]|0;if((b[f+110>>1]|0)>=1){hBb(k+4|0,0,3188)|0;c[k+4+40>>2]=c[d+40>>2];c[k+4+8>>2]=65536;c[k+4+12>>2]=65536;c[k+4+16>>2]=0;c[k+4+20>>2]=0;c[k+4+4>>2]=e;c[k+4+24>>2]=0;c[k+4+28>>2]=0;c[k+3192+2988>>2]=k+4;c[k+3192+2980>>2]=0;if(!(L1a(k+3192|0,f+108|0)|0)){c[k>>2]=0;if(!(N1a(k+3192|0,0)|0)){O1a(k+3192|0,0,0,0);h=c[k+3192+52>>2]|0;e=c[k+3192+44>>2]|0;if((e|0)>0){f=0;j=h;do{g=c[j+20>>2]|0;if(g)if(g>>>0>j>>>0?(c[g+20>>2]|0)==(j|0):0){g=(b[j+2>>1]|0)-(b[g+2>>1]|0)|0;if(f>>>0<16){l=f+1|0;c[k>>2]=l;c[d+56+(f*12|0)>>2]=(g|0)<0?0-g|0:g;f=l}}j=j+48|0}while(j>>>0<(h+(e*48|0)|0)>>>0)}P1a(k,d+56|0,((c[k+4+40>>2]|0)>>>0)/100|0);c[d+52>>2]=c[k>>2];c[k>>2]=0;if(!(N1a(k+3192|0,1)|0)){O1a(k+3192|0,0,0,1);h=c[k+3192+1520>>2]|0;e=c[k+3192+1512>>2]|0;if((e|0)>0){f=0;j=h;do{g=c[j+20>>2]|0;if(g)if(g>>>0>j>>>0?(c[g+20>>2]|0)==(j|0):0){g=(b[j+2>>1]|0)-(b[g+2>>1]|0)|0;if(f>>>0<16){l=f+1|0;c[k>>2]=l;c[d+1628+(f*12|0)>>2]=(g|0)<0?0-g|0:g;f=l}}j=j+48|0}while(j>>>0<(h+(e*48|0)|0)>>>0)}P1a(k,d+1628|0,((c[k+4+40>>2]|0)>>>0)/100|0);c[d+1624>>2]=c[k>>2];break}}}}}while(0);if(!(c[d+52>>2]|0))f=((c[d+40>>2]|0)*50|0)/2048|0;else f=c[d+56>>2]|0;c[d+248>>2]=(f|0)/5|0;c[d+252>>2]=f;a[d+256>>0]=0;if(!(c[d+1624>>2]|0)){j=((c[d+40>>2]|0)*50|0)/2048|0;e=(j|0)/5|0;l=d+1820|0;c[l>>2]=e;l=d+1824|0;c[l>>2]=j;l=d+1828|0;a[l>>0]=0;Q1a(k+3192|0);i=k;return}else{j=c[d+1628>>2]|0;e=(j|0)/5|0;l=d+1820|0;c[l>>2]=e;l=d+1824|0;c[l>>2]=j;l=d+1828|0;a[l>>0]=0;Q1a(k+3192|0);i=k;return}}function b2a(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;j=i;i=i+16|0;a:do if(!b){g=(x2a(d,0,2051,j)|0)==0;e=g?c[j>>2]|0:0;if(!(x2a(d,0,2051,j)|0)){f=c[j>>2]|0;if(g)if((f|0)==(e|0)){f=e;e=1}else{e=0;break}else e=1}else{f=e;e=g&1}if(!(x2a(d,0,2051,j)|0)){g=c[j>>2]|0;if(!(e<<24>>24)){f=g;e=1}else if((g|0)==(f|0))e=1;else{e=0;break}}if(!(x2a(d,0,2051,j)|0)){g=c[j>>2]|0;if(!(e<<24>>24)){f=g;e=1}else if((g|0)==(f|0))e=1;else{e=0;break}}if(!(x2a(d,0,2051,j)|0)){g=c[j>>2]|0;if(!(e<<24>>24)){f=g;e=1}else if((g|0)==(f|0))e=1;else{e=0;break}}if(!(x2a(d,0,2051,j)|0)){g=c[j>>2]|0;if(!(e<<24>>24)){f=g;e=1}else if((g|0)==(f|0))e=1;else{e=0;break}}if(!(x2a(d,0,2051,j)|0)){g=c[j>>2]|0;if(!(e<<24>>24)){f=g;e=1}else if((g|0)==(f|0))e=1;else{e=0;break}}if(!(x2a(d,0,2051,j)|0)){g=c[j>>2]|0;if(!(e<<24>>24)){f=g;e=1}else if((g|0)==(f|0))e=1;else{e=0;break}}if(!(x2a(d,0,2051,j)|0)){g=c[j>>2]|0;if(!(e<<24>>24)){f=g;e=1}else if((g|0)==(f|0))e=1;else{e=0;break}}e=(x2a(d,0,2051,j)|0)!=0|e<<24>>24==0;e=(e|(c[j>>2]|0)==(f|0))&1}else{h=48;g=0;f=0;while(1){e=TRa(c[c[b+36>>2]>>2]|0,h)|0;if(!e)e=g;else if(!(x2a(d,e,2051,j)|0)){e=c[j>>2]|0;if(!(f<<24>>24))f=1;else if((e|0)==(g|0))e=g;else{e=0;break a}}else e=g;h=h+1|0;if(h>>>0>=58){e=1;break}else g=e}}while(0);a[b+32>>0]=e;i=j;return}function c2a(a,b){a=a|0;b=b|0;c[a+4>>2]=c[b>>2];c[a+4+4>>2]=c[b+4>>2];c[a+4+8>>2]=c[b+8>>2];c[a+4+12>>2]=c[b+12>>2];c[a+4+16>>2]=c[b+16>>2];c[a+4+20>>2]=c[b+20>>2];c[a+4+24>>2]=c[b+24>>2];d2a(a,b,0);d2a(a,b,1);return}function d2a(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=c[((d|0)==0?b+4|0:b+8|0)>>2]|0;i=c[((d|0)==0?b+12|0:b+16|0)>>2]|0;if((c[a+44+(d*1572|0)+1564>>2]|0)==(k|0))if((c[a+44+(d*1572|0)+1568>>2]|0)==(i|0))return;c[a+44+(d*1572|0)+1564>>2]=k;c[a+44+(d*1572|0)+1568>>2]=i;c[a+44+(d*1572|0)>>2]=k;c[a+44+(d*1572|0)+4>>2]=i;if(!(c[a+44+(d*1572|0)+216>>2]|0))return;else j=0;do{l=a+44+(d*1572|0)+220+(j*28|0)|0;f=(H2a(c[l>>2]|0,k)|0)+i|0;b=a+44+(d*1572|0)+220+(j*28|0)+4|0;c[b>>2]=f;e=a+44+(d*1572|0)+220+(j*28|0)+8|0;c[e>>2]=f;f=a+44+(d*1572|0)+220+(j*28|0)+12|0;h=(H2a(c[f>>2]|0,k)|0)+i|0;c[a+44+(d*1572|0)+220+(j*28|0)+16>>2]=h;g=a+44+(d*1572|0)+220+(j*28|0)+20|0;c[g>>2]=h;h=a+44+(d*1572|0)+220+(j*28|0)+24|0;c[h>>2]=c[h>>2]&-2;if(((H2a((c[l>>2]|0)-(c[f>>2]|0)|0,k)|0)+48|0)>>>0<97){l=(c[b>>2]|0)+32&-64;c[e>>2]=l;l=I2a(l,k)|0;f=l-(c[f>>2]|0)|0;l=H2a((f|0)<0?0-f|0:f,k)|0;l=(l|0)<32?0:l+32&-64;c[g>>2]=(c[e>>2]|0)-((f|0)<0?0-l|0:l);c[h>>2]=c[h>>2]|1}j=j+1|0}while(j>>>0<(c[a+44+(d*1572|0)+216>>2]|0)>>>0);return}function e2a(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;c[b+2988>>2]=d;g=c[d+28>>2]|0;c[b+4>>2]=c[d+44>>2];c[b+8>>2]=c[d+48>>2];c[b+12>>2]=c[d+1616>>2];c[b+16>>2]=c[d+1620>>2];f=c[d+24>>2]|0;e=(f|0)==2|(f|0)==4?(f|1|0)==3|2:(f|1|0)==3&1;e=(f|0)==1?e:e|4;c[b+2980>>2]=((a[(c[(c[d+36>>2]|0)+212>>2]|0)+20>>0]|0)==0?12:4)|g;c[b+2984>>2]=(f|0)==2?e|8:e;return 0}function f2a(f,g,h){f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=i;i=i+80|0;j=L1a(f,g)|0;if(j|0){g=j;i=B;return g|0}j=c[f+2980>>2]|0;do if(((j&8|0)==0?(c[h+24>>2]|0)==1:0)|(j&1|0)==0){j=g2a(f,0)|0;if(!j){h2a(f,h,0);z=f+2980|0;j=c[f+2980>>2]|0;break}else{g=j;i=B;return g|0}}else z=f+2980|0;while(0);do if(!(j&2)){j=g2a(f,1)|0;if(!j){h2a(f,h,1);break}else{g=j;i=B;return g|0}}while(0);y=0;while(1){x=(y|0)==0;if(x){j=c[z>>2]|0;if(j&1|0){y=1;continue}if((j&8|0)==0?(c[h+24>>2]|0)==1:0){X1a(B+8|0,f,0,B+4|0,B);j=c[B+4>>2]|0;k=c[B>>2]|0;l=c[f+24>>2]|0;m=c[f+28>>2]|0;if((l|0)>0){n=m;do{c[n+16>>2]=(H2a(b[n+12>>1]|0,j)|0)+k;n=n+40|0}while(n>>>0<(m+(l*40|0)|0)>>>0)}}else A=17}else if((y|0)==1)if(!(c[z>>2]&2))A=17;else break;if((A|0)==17){A=0;t=f+44+(y*1468|0)+20|0;u=c[t>>2]|0;w=f+44+(y*1468|0)+12|0;v=c[w>>2]|0;a:do if((v|0)>0){j=0;o=u;do{k=a[o+12>>0]|0;do if(!(k&4)){l=c[o+20>>2]|0;m=c[o+24>>2]|0;if(!l){if(!m)break;l=c[m+20>>2]|0;if(!l)break;k=a[m+12>>0]|0;n=m;m=o}else n=o;l=c[l+8>>2]|0;c[n+8>>2]=l;a[n+12>>0]=k&255|4;if(m|0)if(!(c[m+20>>2]|0)){c[m+8>>2]=(i2a(f,y,(c[m+4>>2]|0)-(c[n+4>>2]|0)|0)|0)+l;s=m+12|0;a[s>>0]=d[s>>0]|4}j=(j|0)==0?o:j}while(0);o=o+48|0}while(o>>>0<(u+(v*48|0)|0)>>>0);if((y|0)==1){q=u;l=0;k=0;j=0;while(1){m=q+12|0;n=a[m>>0]|0;b:do if(!(n&4)){p=c[q+24>>2]|0;if(!p){j=j+1|0;break}do if(l<<24>>24){o=k+64|0;if((c[q+8>>2]|0)>=(o|0))if((c[p+8>>2]|0)>=(o|0))break;j=j+1|0;break b}while(0);if(c[p+20>>2]|0){s=c[p+8>>2]|0;c[q+8>>2]=(i2a(f,1,(c[q+4>>2]|0)-(c[p+4>>2]|0)|0)|0)+s;a[m>>0]=n&255|4;break}if(p>>>0>>0){k=c[p+8>>2]|0;k=(i2a(f,1,(c[q+4>>2]|0)-(c[p+4>>2]|0)|0)|0)+k|0;c[q+8>>2]=k;a[m>>0]=n&255|4;l=1;break}else{j2a(f,q,p,0,1)|0;a[m>>0]=d[m>>0]|4;a[p+12>>0]=d[p+12>>0]|4;l=1;k=c[p+8>>2]|0;break}}while(0);q=q+48|0;if(q>>>0>=(u+(v*48|0)|0)>>>0)break a}}else{k=0;s=u;p=0;q=0;r=0}while(1){n=s+12|0;l=a[n>>0]|0;c:do if(!(l&4)){o=c[s+24>>2]|0;if(!o){n=p;l=q;m=r+1|0;break}do if(p<<24>>24){m=q+64|0;if((c[s+8>>2]|0)>=(m|0))if((c[o+8>>2]|0)>=(m|0))break;n=p;l=q;m=r+1|0;break c}while(0);if(c[o+20>>2]|0){m=c[o+8>>2]|0;c[s+8>>2]=(i2a(f,y,(c[s+4>>2]|0)-(c[o+4>>2]|0)|0)|0)+m;a[n>>0]=l&255|4;n=p;l=q;m=r;break}if(o>>>0>>0){m=c[o+8>>2]|0;m=(i2a(f,y,(c[s+4>>2]|0)-(c[o+4>>2]|0)|0)|0)+m|0;c[s+8>>2]=m;a[n>>0]=l&255|4;n=1;l=m;m=r;break}if(!j)k=j2a(f,s,o,0,0)|0;else j2a(f,s,o,k,y)|0;a[n>>0]=d[n>>0]|4;a[o+12>>0]=d[o+12>>0]|4;j=s;n=1;l=c[o+8>>2]|0;m=r}else{n=p;l=q;m=r}while(0);s=s+48|0;if(s>>>0>=(u+(v*48|0)|0)>>>0){j=m;break}else{p=n;q=l;r=m}}}else j=0;while(0);d:do if(x){switch(v*48|0){case 288:{l=u;m=u+96|0;o=u+192|0;break}case 576:{l=u+48|0;m=u+240|0;o=u+432|0;break}default:break d}k=c[m+4>>2]|0;k=k-(c[o+4>>2]|0)+(k-(c[l+4>>2]|0))|0;k=(k|0)<0?0-k|0:k;if((c[l+24>>2]|0)==(l+48|0))if((c[m+24>>2]|0)==(m+48|0)){n=c[o+24>>2]|0;if((k|0)<8&(n|0)==(o+48|0)){s=o+8|0;r=(c[m+8>>2]<<1)-(c[l+8>>2]|0)|0;k=(c[s>>2]|0)-r|0;c[s>>2]=r;if(n|0)c[n+8>>2]=(c[n+8>>2]|0)-k;if((v*48|0)==576){c[u+392>>2]=(c[u+392>>2]|0)-k;c[u+536>>2]=(c[u+536>>2]|0)-k}s=o+12|0;a[s>>0]=d[s>>0]|4;if(n|0)a[n+12>>0]=d[n+12>>0]|4}}}while(0);if(!((j|0)==0|(v|0)>0^1)){n=u;do{k=n+12|0;l=a[k>>0]|0;if(!(l&4)){m=c[n+28>>2]|0;if(m){c[n+8>>2]=(c[m+8>>2]|0)-(c[m+4>>2]|0)+(c[n+4>>2]|0);a[k>>0]=l&255|4;j=j+-1|0}}n=n+48|0}while(n>>>0<(u+(v*48|0)|0)>>>0);if((v|0)>0&(j|0)!=0){p=u;do{do if(!(a[p+12>>0]&4)){k=p;while(1){j=k+-48|0;if(j>>>0>>0){n=1;l=0;o=k;break}if(!(a[k+-36>>0]&4))k=j;else{n=0;l=1;o=k;break}}m=p;while(1){k=m+48|0;if(k>>>0>=(u+(v*48|0)|0)>>>0){A=83;break}if(!(a[m+60>>0]&4))m=k;else{l=1;break}}if((A|0)==83){A=0;if(l)l=0;else break}if(n){c[p+8>>2]=(c[m+56>>2]|0)-(c[m+52>>2]|0)+(c[p+4>>2]|0);break}if(!l){c[p+8>>2]=(c[o+-40>>2]|0)-(c[o+-44>>2]|0)+(c[p+4>>2]|0);break}l=b[k>>1]|0;k=b[j>>1]|0;j=c[o+-40>>2]|0;if(l<<16>>16==k<<16>>16){c[p+8>>2]=j;break}else{c[p+8>>2]=(F2a((b[p>>1]|0)-(k<<16>>16)|0,(c[m+56>>2]|0)-j|0,(l<<16>>16)-(k<<16>>16)|0)|0)+j;break}}while(0);p=p+48|0}while(p>>>0<(u+(v*48|0)|0)>>>0)}}q=c[t>>2]|0;p=c[w>>2]|0;if(x)j=c[f+2984>>2]&1;else if((y|0)==1)j=(c[f+2984>>2]|0)>>>1&1;else j=0;if((p|0)>0)if(!(j<<24>>24)){o=q;do{m=c[o+40>>2]|0;n=(c[o+8>>2]|0)-(c[o+4>>2]|0)|0;if(x){l=m;do{k=c[l+44>>2]|0;j=l+40|0;while(1){j=c[j>>2]|0;c[j+16>>2]=(c[j+16>>2]|0)+n;b[j>>1]=e[j>>1]|4;if((j|0)==(k|0))break;else j=j+32|0}l=c[l+16>>2]|0}while((l|0)!=(m|0))}else{l=m;do{k=c[l+44>>2]|0;j=l+40|0;while(1){j=c[j>>2]|0;c[j+20>>2]=(c[j+20>>2]|0)+n;b[j>>1]=e[j>>1]|8;if((j|0)==(k|0))break;else j=j+32|0}l=c[l+16>>2]|0}while((l|0)!=(m|0))}o=o+48|0}while(o>>>0<(q+(p*48|0)|0)>>>0)}else{o=q;do{m=c[o+40>>2]|0;n=c[o+8>>2]|0;if(x){l=m;do{k=c[l+44>>2]|0;j=l+40|0;while(1){j=c[j>>2]|0;c[j+16>>2]=n;b[j>>1]=e[j>>1]|4;if((j|0)==(k|0))break;else j=j+32|0}l=c[l+16>>2]|0}while((l|0)!=(m|0))}else{l=m;do{k=c[l+44>>2]|0;j=l+40|0;while(1){j=c[j>>2]|0;c[j+20>>2]=n;b[j>>1]=e[j>>1]|8;if((j|0)==(k|0))break;else j=j+32|0}l=c[l+16>>2]|0}while((l|0)!=(m|0))}o=o+48|0}while(o>>>0<(q+(p*48|0)|0)>>>0)}Z1a(f,y);_1a(f,y)}y=y+1|0;if((y|0)==2)break}o=c[f+24>>2]|0;l=c[f+28>>2]|0;if((o|0)<=0){g=0;i=B;return g|0}m=l;n=c[g+8>>2]|0;k=c[g+4>>2]|0;while(1){c[k>>2]=c[m+16>>2];c[k+4>>2]=c[m+20>>2];j=e[m>>1]|0;do if(!(j&1))if(!(j&2)){a[n>>0]=1;break}else{a[n>>0]=2;break}else a[n>>0]=0;while(0);m=m+40|0;if(m>>>0>=(l+(o*40|0)|0)>>>0){j=0;break}else{n=n+1|0;k=k+8|0}}i=B;return j|0}function g2a(f,g){f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;F=i;i=i+16|0;o=c[f+44+(g*1468|0)+8>>2]|0;p=c[f+44+(g*1468|0)>>2]|0;h=N1a(f,g)|0;if(h|0){f=h;i=F;return f|0}if((p|0)>0){n=o;do{j=c[n+40>>2]|0;l=c[n+44>>2]|0;h=b[j>>1]|0;m=d[n>>0]|0;a[n>>0]=m&254;a:do if((j|0)!=(l|0)){k=h&3;h=j;do{h=c[h+32>>2]|0;D=k;k=e[h>>1]&3;if(!(k|D))break a}while((h|0)!=(l|0));a[n>>0]=m|1}while(0);n=n+48|0}while(n>>>0<(o+(p*48|0)|0)>>>0)}w=c[f+44+(g*1468|0)+8>>2]|0;x=c[f+44+(g*1468|0)>>2]|0;l=c[f+44+(g*1468|0)+24>>2]|0;m=(c[(c[f+2988>>2]|0)+40>>2]|0)/256|0;z=(g|0)==0?f+4|0:f+12|0;y=I2a(192,c[z>>2]|0)|0;if((x|0)>0){u=w;do{if((a[u+1>>0]|0)==(l|0)){n=u+2|0;p=u+4|0;r=u+32|0;s=u+36|0;t=u+20|0;v=w;do{do if((v|0)!=(u|0))if((l|0)==(0-(a[v+1>>0]|0)|0)){o=(b[v+2>>1]|0)-(b[n>>1]|0)|0;if((o|0)>=0){q=c[p>>2]|0;D=c[v+4>>2]|0;q=(((q>>>16&65535)<<16>>16>(D>>>16&65535)<<16>>16?D>>>16:q>>>16)<<16>>16)-(((q&65535)<<16>>16<(D&65535)<<16>>16?D:q)<<16>>16)|0;if((q|0)>=(m|0)){h=c[r>>2]|0;do if((o<<3|0)<(h*9|0)){if((o<<3|0)>=(h*7|0))if((c[s>>2]|0)>=(q|0))break;c[r>>2]=o;c[s>>2]=q;c[t>>2]=v}while(0);j=v+32|0;k=c[j>>2]|0;if((o<<3|0)<(k*9|0)){h=v+36|0;if((o<<3|0)>=(k*7|0))if((c[h>>2]|0)>=(q|0))break;c[j>>2]=o;c[h>>2]=q;c[v+20>>2]=u}}}}while(0);v=v+48|0}while(v>>>0<(w+(x*48|0)|0)>>>0)}u=u+48|0}while(u>>>0<(w+(x*48|0)|0)>>>0);s=w;while(1){l=s+20|0;m=c[l>>2]|0;b:do if(m|0)if((c[m+20>>2]|0)==(s|0)){n=b[m+2>>1]|0;o=b[s+2>>1]|0;if(n<<16>>16>o<<16>>16){p=c[s+32>>2]|0;if((p|0)<(y|0)){q=s+36|0;t=w;while(1){h=b[t+2>>1]|0;if(!((s|0)==(t|0)?1:h<<16>>16>o<<16>>16)){r=c[t+20>>2]|0;if(r|0)if((c[r+20>>2]|0)==(t|0)){j=b[r+2>>1]|0;if(j<<16>>16>=n<<16>>16)if(!(o<<16>>16==h<<16>>16?n<<16>>16==j<<16>>16:0)){D=c[t+32>>2]|0;if((D|0)>(p|0)&(p<<2|0)>(D|0)){if((c[q>>2]|0)<((c[t+36>>2]|0)*3|0))break;else k=w;do{h=k+20|0;j=c[h>>2]|0;do if((j|0)==(t|0)){c[h>>2]=0;c[k+24>>2]=m}else{if((j|0)!=(r|0))break;c[h>>2]=0;c[k+24>>2]=s}while(0);k=k+48|0}while(k>>>0<(w+(x*48|0)|0)>>>0)}}}}t=t+48|0;if(t>>>0>=(w+(x*48|0)|0)>>>0)break b}c[m+20>>2]=0;c[l>>2]=0}}}while(0);s=s+48|0;if(s>>>0>=(w+(x*48|0)|0)>>>0){l=w;break}}do{h=l+20|0;j=c[h>>2]|0;do if(j|0){k=c[j+28>>2]|0;c[j+28>>2]=k+1;if((c[j+20>>2]|0)!=(l|0)){c[h>>2]=0;h=c[j+32>>2]|0;if((h|0)>=(y|0))if((c[l+32>>2]|0)>=(h<<2|0)){c[j+28>>2]=k;break}c[l+24>>2]=c[j+20>>2]}}while(0);l=l+48|0}while(l>>>0<(w+(x*48|0)|0)>>>0)}B=c[f>>2]|0;h=c[f+2988>>2]|0;C=c[f+44+(g*1468|0)+8>>2]|0;D=c[f+44+(g*1468|0)>>2]|0;c[f+44+(g*1468|0)+12>>2]=0;A=c[z>>2]|0;if((H2a(c[h+44+(g*1572|0)+204>>2]|0,A)|0)>16)y=I2a(16,A)|0;else y=c[h+44+(g*1572|0)+204>>2]|0;c:do if((D|0)>0){z=C;while(1){u=c[f+44+(g*1468|0)+12>>2]|0;if((u|0)>0){v=c[f+44+(g*1468|0)+20>>2]|0;m=z+1|0;h=a[m>>0]|0;l=z+2|0;w=z+20|0;s=65535;x=0;t=0;while(1){j=v+(x*48|0)|0;do if((a[v+(x*48|0)+13>>0]|0)==h<<24>>24){k=(b[l>>1]|0)-(b[j>>1]|0)|0;k=(k|0)<0?0-k|0:k;if((k|0)<(y|0)&(k|0)<(s|0)){p=c[w>>2]|0;if(p|0){q=c[v+(x*48|0)+40>>2]|0;n=0;r=q;do{o=c[r+20>>2]|0;if(o){n=b[p+2>>1]|0;o=b[o+2>>1]|0;n=n<<16>>16>o<<16>>16?(n<<16>>16)-(o<<16>>16)|0:(o<<16>>16)-(n<<16>>16)|0;if((n|0)>=(y|0))break}r=c[r+16>>2]|0}while((r|0)!=(q|0));if((n|0)>=(y|0)){k=s;j=t;break}}}else{k=s;j=t}}else{k=s;j=t}while(0);x=x+1|0;if((x|0)==(u|0))break;else{s=k;t=j}}if(!j)E=73;else{c[z+16>>2]=c[j+40>>2];c[(c[j+44>>2]|0)+16>>2]=z;c[j+44>>2]=z}}else{h=z+1|0;m=h;l=z+2|0;h=a[h>>0]|0;E=73}if((E|0)==73){E=0;h=W1a(f+44+(g*1468|0)|0,b[l>>1]|0,h<<24>>24,B,F)|0;if(h|0)break;h=c[F>>2]|0;j=h;k=j+40|0;do{c[j>>2]=0;j=j+4|0}while((j|0)<(k|0));c[h+40>>2]=z;c[h+44>>2]=z;a[h+13>>0]=a[m>>0]|0;x=b[l>>1]|0;b[h>>1]=x;x=H2a(x<<16>>16,A)|0;c[h+4>>2]=x;c[h+8>>2]=x;c[z+16>>2]=z}z=z+48|0;if(z>>>0>=(C+(D*48|0)|0)>>>0){h=f+44+(g*1468|0)+20|0;break c}}f=h;i=F;return f|0}else h=f+44+(g*1468|0)+20|0;while(0);u=c[h>>2]|0;t=c[f+44+(g*1468|0)+12>>2]|0;if((t|0)>0)j=u;else{f=0;i=F;return f|0}do{h=c[j+40>>2]|0;if(h|0){k=h;do{c[k+12>>2]=j;k=c[k+16>>2]|0}while((k|0)!=(h|0))}j=j+48|0}while(j>>>0<(u+(t*48|0)|0)>>>0);r=u;do{o=c[r+40>>2]|0;p=r+24|0;q=r+28|0;h=0;j=0;s=o;while(1){m=c[s>>2]|0;n=(m&1)+h|0;j=(m&1^1)+j|0;k=s+24|0;h=c[k>>2]|0;if(!h)l=0;else l=(c[h+12>>2]|0)!=(r|0);h=s+20|0;do if(l|(c[h>>2]|0)!=0){k=c[(l?k:h)>>2]|0;h=c[(l?q:p)>>2]|0;if(!h)h=c[k+12>>2]|0;else{f=(b[r>>1]|0)-(b[h>>1]|0)|0;g=b[k+2>>1]|0;if((((m>>>16&65535)<<16>>16>g<<16>>16?(m>>16)-(g<<16>>16)|0:(g<<16>>16)-(m>>16)|0)|0)<(((f|0)<0?0-f|0:f)|0))h=c[k+12>>2]|0}if(l){c[q>>2]=h;f=h+12|0;a[f>>0]=d[f>>0]|2;break}else{c[p>>2]=h;break}}while(0);s=c[s+16>>2]|0;if((s|0)==(o|0))break;else h=n}a[r+12>>0]=((n|0)<1|(n|0)<(j|0))&1^1;if(c[q>>2]|0)if(c[p>>2]|0)c[q>>2]=0;r=r+48|0}while(r>>>0<(u+(t*48|0)|0)>>>0);h=0;i=F;return h|0}function h2a(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;o=c[d+44+(f*1468|0)+20>>2]|0;p=c[d+44+(f*1468|0)+12>>2]|0;q=c[e+44+(f*1572|0)>>2]|0;n=H2a(((c[e+40>>2]|0)>>>0)/40|0,q)|0;n=(n|0)>32?32:n;if((p|0)<=0)return;h=c[e+44+(f*1572|0)+216>>2]|0;g=h;r=o;do{if(!g)g=0;else{m=r+13|0;l=0;g=0;k=n;while(1){i=e+44+(f*1572|0)+220+(l*28|0)|0;j=c[e+44+(f*1572|0)+220+(l*28|0)+24>>2]|0;if(!(j&1))i=k;else if((j&2|0)!=0^(a[m>>0]|0)==(c[d+44+(f*1468|0)+24>>2]|0)){j=b[r>>1]|0;t=j-(c[i>>2]|0)|0;s=e+44+(f*1572|0)+220+(l*28|0)+12|0;h=j-(c[s>>2]|0)|0;s=(((t|0)<0?0-t|0:t)|0)>(((h|0)<0?0-h|0:h)|0)?s:i;i=j-(c[s>>2]|0)|0;i=H2a((i|0)<0?0-i|0:i,q)|0;j=(i|0)<(k|0);h=c[e+44+(f*1572|0)+216>>2]|0;g=j?s:g;i=j?i:k}else i=k;l=l+1|0;if(l>>>0>=h>>>0)break;else k=i}if(!g)g=h;else{c[r+20>>2]=g;g=h}}r=r+48|0}while(r>>>0<(o+(p*48|0)|0)>>>0);return}function i2a(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;j=c[a+2988>>2]|0;l=c[a+2984>>2]|0;if(!(l&4))return d|0;k=(d|0)<0?0-d|0:d;if((b|0)==1)if(!(l&2))m=5;else m=15;else if(!(l&1))m=5;else m=15;do if((m|0)==5){if(c[j+44+(b*1572|0)+8>>2]|0){a=c[j+44+(b*1572|0)+16>>2]|0;if((((k-a|0)<0?0-(k-a)|0:k-a|0)|0)<40){a=(a|0)<48?48:a;break}}if((k|0)<54){a=((54-k|0)/2|0)+k|0;break}if((k|0)<192)if((k&63)>>>0<10)a=k;else if((k&63)>>>0<22){a=k&-64|10;break}else{a=((k&63)+-42|0)>>>0<12?k&-64|54:k;break}else a=k}else if((m|0)==15){f=c[j+44+(b*1572|0)+8>>2]|0;if(!f){e=k+32&-64;a=k;m=19}else{h=98;i=0;a=k;while(1){n=c[j+44+(b*1572|0)+12+(i*12|0)+4>>2]|0;e=(k-n|0)<0?0-(k-n)|0:k-n|0;g=(e|0)<(h|0);a=g?n:a;i=i+1|0;if((i|0)==(f|0))break;else h=g?e:h}if((a|0)>(k|0))a=((a+32&-64)+-48|0)<(k|0)?a:k;else{e=a+32&-64;m=19}}if((m|0)==19)a=(e|48|0)>(k|0)?a:k;if((b|0)==1){if((a|0)<=63){a=64;break}a=a+16&-64;break}if(l&8|0){if((a|0)<64){a=64;break}a=a+32&-64;break}if((a|0)<48){a=a+64>>1;break}if((a|0)<128){a=a+22&-64;break}else{a=a+32&-64;break}}while(0);n=(d|0)>-1?a:0-a|0;return n|0}function j2a(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;k=(c[b+2984>>2]&4|0)==0;do if(k){if(a[d+12>>0]&1)if(a[e+12>>0]&1){j=(g|0)==1?55:49;break}j=(g|0)==1?61:59}else j=64;while(0);l=c[e+4>>2]|0;m=c[d+4>>2]|0;i=i2a(b,g,l-m|0)|0;g=((m+l|0)/2|0)+f+((i|0)/-2|0)&63;b=((m+l|0)/2|0)+f+((i|0)/-2|0)+i&63;do if((g|0)==0|(b|0)==0)g=0;else{if((i|0)<=(j|0)){if((b|0)>=(i|0)){g=0;break}g=(64-g|0)>>>0>b>>>0?0-b|0:64-g|0;break}if(j>>>0<64)if(!((64-b|0)>>>0>>0&(j>>>0>b>>>0&(g>>>0>>0&j>>>0>(64-g|0)>>>0)))){g=0;break}if((i&63)>>>0<32)if((64-g|0)>>>0>(i&63)>>>0&b>>>0>(i&63)>>>0)h=i&63;else{g=0;break}else h=64-j|0;o=j-(64-g)|0;g=64-g-h|0;n=j-b|0;j=b-h|0;g=(o|0)>(g|0)?g:0-o|0;j=(j|0)>(n|0)?n:0-j|0;g=(((g|0)<0?0-g|0:g)|0)>(((j|0)<0?0-j|0:j)|0)?j:g}while(0);if(k)if((g|0)>14)g=14;else g=(g|0)<-14?-14:g;o=g+(((m+l|0)/2|0)+f+((i|0)/-2|0))|0;c[d+8>>2]=(l|0)>(m|0)?o:o+i|0;c[e+8>>2]=(l|0)>(m|0)?o+i|0:o;return g|0}function k2a(a,b){a=a|0;b=b|0;var d=0;d=c[b+92>>2]|0;c[a+40>>2]=e[b+68>>1];if(!(oSa(b,1970170211)|0)){a2a(a,b);b2a(a,b);pSa(b,d)|0;return 0}else{c[b+92>>2]=0;pSa(b,d)|0;return 0}return 0}function l2a(f){f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0;P=c[f+64>>2]|0;K=c[f+448>>2]|0;I=c[f+456>>2]|0;L=c[f+1160>>2]|0;M=c[f+1216>>2]|0;g=c[f+1784>>2]|0;z=c[f+1800>>2]|0;E=c[f+1840>>2]|0;i=c[f+1872>>2]|0;J=c[f+1880>>2]|0;N=c[f+3552>>2]|0;O=c[f+3560>>2]|0;o=c[f+5704>>2]|0;Q=c[f+5712>>2]|0;F=c[f+5720>>2]|0;a:{if(Q){Q=0;switch(F|0){case 57:{g=c[P+304>>2]|0;do if((c[P+16>>2]|0)<(g|0)){if(a[P+561>>0]|0)c[P+12>>2]=134}else{q=c[P+344>>2]|0;if(q>>>0<65536|(q&65535)<<16>>16==0)p=1;else p=(b[P+348>>1]|0)==0;o=b[P+286>>1]|0;if((o&65535)>=(e[P+44>>1]|0)){if(!(a[P+561>>0]|0))break;c[P+12>>2]=134;break}n=c[(p?P+48|0:P+56|0)>>2]|0;q=c[P+52>>2]|0;h=b[P+288>>1]|0;if((h&65535)<(e[P+80>>1]|0)){do if(p){m=c[P+84>>2]|0;h=Gi[c[P+576>>2]&255](P,(c[m+((h&65535)<<3)>>2]|0)-(c[n+((o&65535)<<3)>>2]|0)|0,(c[m+((h&65535)<<3)+4>>2]|0)-(c[n+((o&65535)<<3)+4>>2]|0)|0)|0}else{g=c[P+220>>2]|0;if((g|0)==(c[P+224>>2]|0)){m=c[P+92>>2]|0;h=Gi[c[P+576>>2]&255](P,(c[m+((h&65535)<<3)>>2]|0)-(c[n+((o&65535)<<3)>>2]|0)|0,(c[m+((h&65535)<<3)+4>>2]|0)-(c[n+((o&65535)<<3)+4>>2]|0)|0)|0;break}else{m=H2a((c[(c[P+92>>2]|0)+((h&65535)<<3)>>2]|0)-(c[n+((o&65535)<<3)>>2]|0)|0,g)|0;h=H2a((c[(c[P+92>>2]|0)+(e[P+288>>1]<<3)+4>>2]|0)-(c[n+((o&65535)<<3)+4>>2]|0)|0,c[P+224>>2]|0)|0;h=Gi[c[P+576>>2]&255](P,m,h)|0;break}}while(0);m=e[P+288>>1]|0;g=c[P+88>>2]|0;m=Gi[c[P+572>>2]&255](P,(c[g+(m<<3)>>2]|0)-(c[q+((o&65535)<<3)>>2]|0)|0,(c[g+(m<<3)+4>>2]|0)-(c[q+((o&65535)<<3)+4>>2]|0)|0)|0;g=c[P+304>>2]|0}else{m=0;h=0}if((g|0)>0){l=(h|0)==0;do{k=(c[P+28>>2]|0)+-1|0;c[P+28>>2]=k;k=c[(c[P+24>>2]|0)+(k<<2)>>2]|0;if(k>>>0<(e[P+116>>1]|0)>>>0){do if(p){g=c[P+120>>2]|0;g=Gi[c[P+576>>2]&255](P,(c[g+(k<<3)>>2]|0)-(c[n+((o&65535)<<3)>>2]|0)|0,(c[g+(k<<3)+4>>2]|0)-(c[n+((o&65535)<<3)+4>>2]|0)|0)|0}else{g=c[P+220>>2]|0;if((g|0)==(c[P+224>>2]|0)){g=c[P+128>>2]|0;g=Gi[c[P+576>>2]&255](P,(c[g+(k<<3)>>2]|0)-(c[n+((o&65535)<<3)>>2]|0)|0,(c[g+(k<<3)+4>>2]|0)-(c[n+((o&65535)<<3)+4>>2]|0)|0)|0;break}else{j=H2a((c[(c[P+128>>2]|0)+(k<<3)>>2]|0)-(c[n+((o&65535)<<3)>>2]|0)|0,g)|0;g=H2a((c[(c[P+128>>2]|0)+(k<<3)+4>>2]|0)-(c[n+((o&65535)<<3)+4>>2]|0)|0,c[P+224>>2]|0)|0;g=Gi[c[P+576>>2]&255](P,j,g)|0;break}}while(0);j=c[P+124>>2]|0;j=Gi[c[P+572>>2]&255](P,(c[j+(k<<3)>>2]|0)-(c[q+((o&65535)<<3)>>2]|0)|0,(c[j+(k<<3)+4>>2]|0)-(c[q+((o&65535)<<3)+4>>2]|0)|0)|0;if(!(l|(g|0)==0))g=F2a(g,m,h)|0;kj[c[P+584>>2]&127](P,P+108|0,k&65535,g-j|0);j=c[P+304>>2]|0}else if(!(a[P+561>>0]|0))j=g;else{o=376;c[f+5728>>2]=2;c[f+5732>>2]=86;break a}g=j+-1|0;c[P+304>>2]=g}while((j|0)>1)}}while(0);c[P+304>>2]=1;c[P+32>>2]=c[P+28>>2];o=821;break}case 59:case 58:{j=c[J>>2]|0;if((j&65535)>>>0<(e[P+80>>1]|0)>>>0){g=b[P+284>>1]|0;if((g&65535)<(e[P+44>>1]|0)){if(!(b[P+346>>1]|0)){h=(c[P+48>>2]|0)+((g&65535)<<3)|0;g=c[h+4>>2]|0;M=(c[P+84>>2]|0)+((j&65535)<<3)|0;c[M>>2]=c[h>>2];c[M+4>>2]=g;kj[c[P+588>>2]&127](P,P+72|0,j&65535,c[J+4>>2]|0);M=(c[P+84>>2]|0)+((j&65535)<<3)|0;g=c[M+4>>2]|0;h=(c[P+88>>2]|0)+((j&65535)<<3)|0;c[h>>2]=c[M>>2];c[h+4>>2]=g;h=J+4|0;g=b[P+284>>1]|0}else h=J+4|0;K=c[P+88>>2]|0;L=c[P+52>>2]|0;M=g&65535;M=Gi[c[P+572>>2]&255](P,(c[K+((j&65535)<<3)>>2]|0)-(c[L+(M<<3)>>2]|0)|0,(c[K+((j&65535)<<3)+4>>2]|0)-(c[L+(M<<3)+4>>2]|0)|0)|0;kj[c[P+584>>2]&127](P,P+72|0,j&65535,(c[h>>2]|0)-M|0);b[P+286>>1]=b[P+284>>1]|0;b[P+288>>1]=j;if(!(a[P+368>>0]&1)){o=821;c[f+5728>>2]=2;c[f+5732>>2]=87;break a}b[P+284>>1]=j;o=821;c[f+5728>>2]=2;c[f+5732>>2]=87;break a}}if(!(a[P+561>>0]|0))o=821;else{o=382;c[f+5728>>2]=2;c[f+5732>>2]=86;break a}break}case 60:{h=c[P+304>>2]|0;b:do if((c[P+16>>2]|0)<(h|0))o=390;else if((e[P+284>>1]|0)<(e[P+44>>1]|0))if((h|0)>0){g=z;j=i;while(1){g=g+-1|0;c[P+28>>2]=g;g=c[j+(g<<2)>>2]|0;if((g&65535)>>>0<(e[P+80>>1]|0)>>>0){p=c[P+88>>2]|0;q=c[P+52>>2]|0;h=e[P+284>>1]|0;h=Gi[c[P+572>>2]&255](P,(c[p+((g&65535)<<3)>>2]|0)-(c[q+(h<<3)>>2]|0)|0,(c[p+((g&65535)<<3)+4>>2]|0)-(c[q+(h<<3)+4>>2]|0)|0)|0;kj[c[P+584>>2]&127](P,P+72|0,g&65535,0-h|0);h=c[P+304>>2]|0}else if(a[P+561>>0]|0){o=395;c[f+5728>>2]=2;c[f+5732>>2]=86;break a}k=h+-1|0;c[P+304>>2]=k;g=c[P+28>>2]|0;if((h|0)<=1){j=g;break b}j=c[P+24>>2]|0;h=k}}else j=z;else o=390;while(0);if((o|0)==390)if(!(a[P+561>>0]|0))j=z;else{c[P+12>>2]=134;j=z}c[P+304>>2]=1;c[P+32>>2]=j;o=821;break}case 61:{c[P+312>>2]=2;c[K>>2]=141;o=821;break}case 63:case 62:{k=c[J>>2]|0;g=c[J+4>>2]|0;h=c[P+320>>2]|0;if((k&65535)>>>0<(e[P+44>>1]|0)>>>0)if((c[P+380>>2]|0)>>>0>g>>>0){g=Xi[c[P+596>>2]&511](P,g)|0;if(!(b[P+344>>1]|0)){q=b[P+298>>1]|0;p=(g|0)<0?0-g|0:g;m=q<<16>>16<0?0-(q<<16>>16)|0:q<<16>>16;l=_(m,p>>>16)|0;m=(l<<16|8192)+(_(m,p&65535)|0)|0;n=c[P+48>>2]|0;c[n+((k&65535)<<3)>>2]=(q<<16>>16^g|0)>-1?(m>>>0<(l<<16|8192)>>>0&1)+(l>>>16)<<18|m>>>14:0-((m>>>0<(l<<16|8192)>>>0&1)+(l>>>16)<<18|m>>>14)|0;m=b[P+300>>1]|0;l=m<<16>>16<0?0-(m<<16>>16)|0:m<<16>>16;q=_(l,p>>>16)|0;p=(q<<16|8192)+(_(l,p&65535)|0)|0;c[n+((k&65535)<<3)+4>>2]=(m<<16>>16^g|0)>-1?(p>>>0<(q<<16|8192)>>>0&1)+(q>>>16)<<18|p>>>14:0-((p>>>0<(q<<16|8192)>>>0&1)+(q>>>16)<<18|p>>>14)|0;p=c[n+((k&65535)<<3)+4>>2]|0;q=(c[P+52>>2]|0)+((k&65535)<<3)|0;c[q>>2]=c[n+((k&65535)<<3)>>2];c[q+4>>2]=p}j=c[P+52>>2]|0;j=Gi[c[P+572>>2]&255](P,c[j+((k&65535)<<3)>>2]|0,c[j+((k&65535)<<3)+4>>2]|0)|0;if(a[P+368>>0]&1)g=Gi[c[K>>2]&255](P,(((g-j|0)<0?0-(g-j)|0:g-j|0)|0)>(h|0)?j:g,c[P+264>>2]|0)|0;kj[c[P+584>>2]&127](P,P+36|0,k&65535,g-j|0)}else o=403;else o=403;if((o|0)==403)if(a[P+561>>0]|0)c[P+12>>2]=134;b[P+284>>1]=k;b[P+286>>1]=k;o=821;break}case 64:{g=c[P+360>>2]|0;j=a[L+(g+1)>>0]|0;if((j&255)>>>0>=(E+1-(c[P+16>>2]|0)|0)>>>0){o=414;c[f+5728>>2]=2;c[f+5732>>2]=86;break a}if(j<<24>>24){c[J>>2]=d[L+(g+2)>>0];if((j&255)>=2){g=2;h=2;do{c[J+(g+-1<<2)>>2]=d[L+((c[P+360>>2]|0)+1+g)>>0];h=h+1<<16>>16;g=h&65535}while(g>>>0<=(j&255)>>>0)}}c[P+32>>2]=(c[P+32>>2]|0)+(j&255);o=821;break}case 65:{h=c[P+360>>2]|0;k=a[L+(h+1)>>0]|0;if((k&255)>>>0>=(E+1-(c[P+16>>2]|0)|0)>>>0){o=418;c[f+5728>>2]=2;c[f+5732>>2]=86;break a}c[P+360>>2]=h+2;if(k<<24>>24){h=h+2|0;j=0;g=0;while(1){c[P+360>>2]=h+2;c[J+(j<<2)>>2]=(d[L+h>>0]<<8|d[L+(h+1)>>0])<<16>>16;g=g+1<<16>>16;if((g&65535)>>>0>=(k&255)>>>0)break;h=c[P+360>>2]|0;j=g&65535}g=c[P+32>>2]|0}a[P+376>>0]=0;c[P+32>>2]=g+(k&255);o=821;break}case 66:{g=c[J>>2]|0;if(g>>>0<(e[P+468>>1]|0)>>>0){c[(c[P+472>>2]|0)+(g<<2)>>2]=c[J+4>>2];o=821;c[f+5728>>2]=2;c[f+5732>>2]=87;break a}else if(!(a[P+561>>0]|0)){o=821;c[f+5728>>2]=2;c[f+5732>>2]=87;break a}else{o=426;c[f+5728>>2]=2;c[f+5732>>2]=86;break a}}case 67:{g=c[J>>2]|0;if(g>>>0<(e[P+468>>1]|0)>>>0)g=c[(c[P+472>>2]|0)+(g<<2)>>2]|0;else if(!(a[P+561>>0]|0))g=0;else{o=430;c[f+5728>>2]=2;c[f+5732>>2]=86;break a}c[J>>2]=g;o=821;break}default:Q=1}}if(Q){Q=0;switch(F|0){case 68:{g=c[J>>2]|0;if(g>>>0<(c[P+380>>2]|0)>>>0){$i[c[P+600>>2]&255](P,g,c[J+4>>2]|0);o=821;c[f+5728>>2]=2;c[f+5732>>2]=87;break a}else if(!(a[P+561>>0]|0)){o=821;c[f+5728>>2]=2;c[f+5732>>2]=87;break a}else{o=435;c[f+5728>>2]=2;c[f+5732>>2]=86;break a}}case 69:{g=c[J>>2]|0;if(g>>>0<(c[P+380>>2]|0)>>>0)g=Xi[c[P+596>>2]&511](P,g)|0;else if(!(a[P+561>>0]|0))g=0;else{o=439;c[f+5728>>2]=2;c[f+5732>>2]=86;break a}c[J>>2]=g;o=821;break}case 71:case 70:{g=c[J>>2]|0;do if(g>>>0<(e[P+116>>1]|0)>>>0)if(!(M&1)){y=c[P+124>>2]|0;g=Gi[c[P+572>>2]&255](P,c[y+(g<<3)>>2]|0,c[y+(g<<3)+4>>2]|0)|0;break}else{y=c[P+120>>2]|0;g=Gi[c[P+576>>2]&255](P,c[y+(g<<3)>>2]|0,c[y+(g<<3)+4>>2]|0)|0;break}else if(!(a[P+561>>0]|0))g=0;else{c[P+12>>2]=134;g=0}while(0);c[J>>2]=g;o=821;break}case 72:{g=c[J>>2]|0;if((g&65535)>>>0>=(e[P+116>>1]|0)>>>0)if(!(a[P+561>>0]|0)){o=821;c[f+5728>>2]=2;c[f+5732>>2]=87;break a}else{o=451;c[f+5728>>2]=2;c[f+5732>>2]=86;break a}y=c[P+124>>2]|0;y=Gi[c[P+572>>2]&255](P,c[y+((g&65535)<<3)>>2]|0,c[y+((g&65535)<<3)+4>>2]|0)|0;kj[c[P+584>>2]&127](P,P+108|0,g&65535,(c[J+4>>2]|0)-y|0);if(!(b[P+348>>1]|0)){x=(c[P+124>>2]|0)+((g&65535)<<3)|0;y=c[x+4>>2]|0;o=(c[P+120>>2]|0)+((g&65535)<<3)|0;c[o>>2]=c[x>>2];c[o+4>>2]=y;o=821}else o=821;break}case 74:case 73:{m=c[J>>2]&65535;do if(m>>>0<(e[P+44>>1]|0)>>>0){n=c[J+4>>2]&65535;if(n>>>0<(e[P+80>>1]|0)>>>0){if(M&1){y=c[P+52>>2]|0;r=c[P+88>>2]|0;r=Gi[c[P+572>>2]&255](P,(c[y+(m<<3)>>2]|0)-(c[r+(n<<3)>>2]|0)|0,(c[y+(m<<3)+4>>2]|0)-(c[r+(n<<3)+4>>2]|0)|0)|0;break}y=c[P+344>>2]|0;if(y>>>0<65536|(y&65535)<<16>>16==0){y=c[P+48>>2]|0;r=c[P+84>>2]|0;r=Gi[c[P+576>>2]&255](P,(c[y+(m<<3)>>2]|0)-(c[r+(n<<3)>>2]|0)|0,(c[y+(m<<3)+4>>2]|0)-(c[r+(n<<3)+4>>2]|0)|0)|0;break}g=c[P+56>>2]|0;h=c[P+92>>2]|0;j=c[P+220>>2]|0;k=c[g+(m<<3)>>2]|0;l=c[h+(n<<3)>>2]|0;if((j|0)==(c[P+224>>2]|0)){r=Gi[c[P+576>>2]&255](P,k-l|0,(c[g+(m<<3)+4>>2]|0)-(c[h+(n<<3)+4>>2]|0)|0)|0;r=H2a(r,c[P+220>>2]|0)|0;break}else{y=H2a(k-l|0,j)|0;r=H2a((c[g+(m<<3)+4>>2]|0)-(c[h+(n<<3)+4>>2]|0)|0,c[P+224>>2]|0)|0;r=Gi[c[P+576>>2]&255](P,y,r)|0;break}}else o=456}else o=456;while(0);if((o|0)==456)if(!(a[P+561>>0]|0))r=0;else{c[P+12>>2]=134;r=0}c[J>>2]=r;o=821;break}case 75:{c[J>>2]=vi[c[P+592>>2]&2047](P)|0;o=821;break}case 76:{c[J>>2]=vi[c[P+592>>2]&2047](P)|0;o=821;break}case 77:{a[P+316>>0]=1;o=821;break}case 78:{a[P+316>>0]=0;o=821;break}case 80:{c[J>>2]=(c[J>>2]|0)<(c[J+4>>2]|0)&1;o=821;break}case 81:{c[J>>2]=(c[J>>2]|0)<=(c[J+4>>2]|0)&1;o=821;break}case 82:{c[J>>2]=(c[J>>2]|0)>(c[J+4>>2]|0)&1;o=821;break}case 83:{c[J>>2]=(c[J>>2]|0)>=(c[J+4>>2]|0)&1;o=821;break}case 84:{c[J>>2]=(c[J>>2]|0)==(c[J+4>>2]|0)&1;o=821;break}case 85:{c[J>>2]=(c[J>>2]|0)!=(c[J+4>>2]|0)&1;o=821;break}case 86:{c[J>>2]=((Gi[c[K>>2]&255](P,c[J>>2]|0,0)|0)&127|0)==64&1;o=821;break}case 87:{c[J>>2]=((Gi[c[K>>2]&255](P,c[J>>2]|0,0)|0)&127|0)==0&1;o=821;break}case 88:{if(!(c[J>>2]|0)){l=c[P+364>>2]|0;g=I+(c[P+360>>2]|0)|0;c[P+360>>2]=g;if((g|0)<(l|0)){h=1;k=1}else{o=492;c[f+5728>>2]=2;c[f+5732>>2]=86;break a}while(1){c:do if(h)while(1){j=a[L+g>>0]|0;a[P+368>>0]=j;h=a[590547+(j&255)>>0]|0;c[P+372>>2]=h;if((j&255|1|0)==65){i=g+1|0;if((i|0)>=(l|0)){o=492;c[f+5728>>2]=2;c[f+5732>>2]=86;break a}i=2-(_(d[L+i>>0]|0,h)|0)|0;c[P+372>>2]=i}else i=h;h=g;g=i+g|0;if((g|0)>(l|0)){o=492;c[f+5728>>2]=2;c[f+5732>>2]=86;break a}switch(j&255|0){case 27:{o=821;c[f+5728>>2]=2;c[f+5732>>2]=87;break a}case 88:{t=i;u=h;o=495;break c}case 89:{v=h;w=i;o=497;break c}default:{}}c[P+360>>2]=g;if((g|0)>=(l|0)){o=492;c[f+5728>>2]=2;c[f+5732>>2]=86;break a}}else while(1){j=a[L+g>>0]|0;a[P+368>>0]=j;h=a[590547+(j&255)>>0]|0;c[P+372>>2]=h;if((j&255|1|0)==65){i=g+1|0;if((i|0)>=(l|0)){o=492;c[f+5728>>2]=2;c[f+5732>>2]=86;break a}i=2-(_(d[L+i>>0]|0,h)|0)|0;c[P+372>>2]=i}else i=h;h=g;g=i+g|0;if((g|0)>(l|0)){o=492;c[f+5728>>2]=2;c[f+5732>>2]=86;break a}switch(j&255|0){case 88:{t=i;u=h;o=495;break c}case 89:{v=h;w=i;o=497;break c}default:{}}c[P+360>>2]=g;if((g|0)>=(l|0)){o=492;c[f+5728>>2]=2;c[f+5732>>2]=86;break a}}while(0);if((o|0)==495){x=t;y=u;s=k+1|0}else if((o|0)==497){g=k+-1|0;if(!g){o=821;c[f+5728>>2]=2;c[f+5732>>2]=87;break a}else{x=w;y=v;s=g}}g=x+y|0;c[P+360>>2]=g;if((g|0)>=(l|0)){o=492;c[f+5728>>2]=2;c[f+5732>>2]=86;break a}else{h=(s|0)==1;k=s}}}else o=821;break}case 90:{if(!(c[J>>2]|0))g=0;else g=(c[J+4>>2]|0)!=0;c[J>>2]=g&1;o=821;break}case 91:{if(!(c[J>>2]|0))g=(c[J+4>>2]|0)!=0;else g=1;c[J>>2]=g&1;o=821;break}case 92:{c[J>>2]=(c[J>>2]|0)==0&1;o=821;break}case 93:{b0a(P,J);o=821;break}case 94:{b[P+332>>1]=c[J>>2];o=821;break}case 95:{g=c[J>>2]|0;if(g>>>0>6){o=508;c[f+5728>>2]=2;c[f+5732>>2]=86;break a}b[P+334>>1]=g;o=821;break}case 96:{c[J>>2]=(c[J>>2]|0)+(c[J+4>>2]|0);o=821;break}case 97:{c[J>>2]=(c[J>>2]|0)-(c[J+4>>2]|0);o=821;break}case 98:{g=c[J+4>>2]|0;if(!g){o=513;c[f+5728>>2]=2;c[f+5732>>2]=86;break a}c[J>>2]=G2a(c[J>>2]|0,64,g)|0;o=821;break}case 99:{c[J>>2]=F2a(c[J>>2]|0,c[J+4>>2]|0,64)|0;o=821;break}case 100:{o=c[J>>2]|0;c[J>>2]=(o|0)<0?0-o|0:o;o=821;break}case 101:{c[J>>2]=0-(c[J>>2]|0);o=821;break}case 102:{c[J>>2]=c[J>>2]&-64;o=821;break}case 103:{c[J>>2]=(c[J>>2]|0)+63&-64;o=821;break}case 107:case 106:case 105:case 104:{c[J>>2]=Gi[c[K>>2]&255](P,c[J>>2]|0,c[P+264+((M&255)+-104<<2)>>2]|0)|0;o=821;break}case 111:case 110:case 109:case 108:{g=c[J>>2]|0;h=c[P+264+((M&255)+-108<<2)>>2]|0;if((g|0)>-1)g=(h+g|0)<0?0:h+g|0;else g=(g-h|0)>0?0:g-h|0;c[J>>2]=g;o=821;break}case 112:{g=c[J>>2]|0;if(g>>>0<(c[P+380>>2]|0)>>>0){o=H2a(c[J+4>>2]|0,c[P+260>>2]|0)|0;c[(c[P+384>>2]|0)+(g<<2)>>2]=o;o=821;c[f+5728>>2]=2;c[f+5732>>2]=87;break a}else if(!(a[P+561>>0]|0)){o=821;c[f+5728>>2]=2;c[f+5732>>2]=87;break a}else{o=527;c[f+5728>>2]=2;c[f+5732>>2]=86;break a}}case 114:case 113:{b0a(P,J);o=821;break}case 117:case 116:case 115:{k=vi[c[P+592>>2]&2047](P)|0;l=c[J>>2]|0;d:do if(l|0){n=1;while(1){g=c[P+28>>2]|0;if((g|0)<2)break;c[P+28>>2]=g+-2;y=c[P+24>>2]|0;m=c[y+(g+-1<<2)>>2]|0;g=c[y+(g+-2<<2)>>2]|0;if(m>>>0<(c[P+380>>2]|0)>>>0){switch(d[P+368>>0]|0){case 117:{j=g>>>4&15|32;break}case 116:{j=g>>>4&15|16;break}default:j=g>>>4&15}h=c[P+332>>2]|0;if((k|0)==((h&65535)+j|0))$i[c[P+604>>2]&255](P,m,(((g&15)+-8|0)>-1?(g&15)+-7|0:(g&15)+-8|0)<<6-(h>>>16))}else if(a[P+561>>0]|0){o=537;c[f+5728>>2]=2;c[f+5732>>2]=86;break a}n=n+1|0;if(n>>>0>l>>>0)break d}if(a[P+561>>0]|0)c[P+12>>2]=129;c[P+28>>2]=0}while(0);c[P+32>>2]=c[P+28>>2];o=821;break}default:Q=1}}if(Q){Q=0;switch(F|0){case 118:{g=c[J>>2]|0;switch(g&192|0){case 0:{c[P+476>>2]=8192;h=8192;break}case 64:{c[P+476>>2]=16384;h=16384;break}case 128:{c[P+476>>2]=32768;h=32768;break}case 192:{c[P+476>>2]=16384;h=16384;break}default:{o=550;c[f+5728>>2]=2;c[f+5732>>2]=86;break a}}switch(g&48|0){case 0:{c[P+480>>2]=0;i=0;break}case 16:{i=h>>>2;c[P+480>>2]=i;break}case 32:{i=h>>>1;c[P+480>>2]=i;break}case 48:{i=(h*3|0)>>>2;c[P+480>>2]=i;break}default:{o=556;c[f+5728>>2]=2;c[f+5732>>2]=86;break a}}if(!(g&15))g=h+-1|0;else g=(_(h,(g&15)+-4|0)|0)/8|0;c[P+476>>2]=h>>>8;c[P+480>>2]=i>>>8;c[P+484>>2]=g>>8;c[P+312>>2]=6;c[K>>2]=142;o=821;break}case 119:{g=c[J>>2]|0;switch(g&192|0){case 0:{c[P+476>>2]=5792;h=5792;break}case 64:{c[P+476>>2]=11585;h=11585;break}case 128:{c[P+476>>2]=23170;h=23170;break}case 192:{c[P+476>>2]=11585;h=11585;break}default:{o=566;c[f+5728>>2]=2;c[f+5732>>2]=86;break a}}switch(g&48|0){case 0:{c[P+480>>2]=0;i=0;break}case 16:{i=h>>>2;c[P+480>>2]=i;break}case 32:{i=h>>>1;c[P+480>>2]=i;break}case 48:{i=(h*3|0)>>>2;c[P+480>>2]=i;break}default:{o=572;c[f+5728>>2]=2;c[f+5732>>2]=86;break a}}if(!(g&15))g=h+-1|0;else g=(_(h,(g&15)+-4|0)|0)/8|0;c[P+476>>2]=h>>>8;c[P+480>>2]=i>>>8;c[P+484>>2]=g>>8;c[P+312>>2]=7;c[K>>2]=143;o=821;break}case 120:{if(!(c[J+4>>2]|0))o=821;else{g=c[J>>2]|0;if(!(g|z))c[P+12>>2]=132;g=(c[P+360>>2]|0)+g|0;c[P+360>>2]=g;if((g|0)<0)o=583;else{h=c[P+428>>2]|0;if((h|0)>0)if((g|0)>(c[(c[(c[P+436>>2]|0)+(h+-1<<4)+12>>2]|0)+8>>2]|0))o=583}if((o|0)==583)c[P+12>>2]=132;a[P+376>>0]=0;o=821}break}case 121:{if(!(c[J+4>>2]|0)){g=c[J>>2]|0;if(!(g|z))c[P+12>>2]=132;g=(c[P+360>>2]|0)+g|0;c[P+360>>2]=g;if((g|0)<0)o=591;else{h=c[P+428>>2]|0;if((h|0)>0)if((g|0)>(c[(c[(c[P+436>>2]|0)+(h+-1<<4)+12>>2]|0)+8>>2]|0))o=591}if((o|0)==591)c[P+12>>2]=132;a[P+376>>0]=0;o=821}else o=821;break}case 122:{c[P+312>>2]=5;c[K>>2]=136;o=821;break}case 123:{g=c[P+416>>2]|0;i=c[P+408>>2]|0;e:do if((i|0)>0){h=g;while(1){if(M<<24>>24==(c[h+12>>2]&255)<<24>>24)if(a[h+16>>0]|0)break;h=h+24|0;if(h>>>0>=(g+(i*24|0)|0)>>>0)break e}g=c[P+428>>2]|0;if((g|0)>=(c[P+432>>2]|0)){o=598;c[f+5728>>2]=2;c[f+5732>>2]=86;break a}j=c[P+436>>2]|0;c[P+428>>2]=g+1;c[j+(g<<4)>>2]=c[P+352>>2];c[j+(g<<4)+4>>2]=(c[P+360>>2]|0)+1;c[j+(g<<4)+8>>2]=1;c[j+(g<<4)+12>>2]=h;j=c[h>>2]|0;g=c[h+4>>2]|0;do if((j+-1|0)>>>0>2)c[P+12>>2]=132;else{h=c[P+444+(j+-1<<3)>>2]|0;if(!h){c[P+12>>2]=138;break}i=c[P+444+(j+-1<<3)+4>>2]|0;if((i|0)<(g|0)){c[P+12>>2]=131;break}else{c[P+356>>2]=h;c[P+364>>2]=i;c[P+360>>2]=g;c[P+352>>2]=j;break}}while(0);a[P+376>>0]=0;o=821;c[f+5728>>2]=2;c[f+5732>>2]=87;break a}while(0);c[P+12>>2]=128;N=g;O=i;o=823;break}case 124:{c[P+312>>2]=4;c[K>>2]=138;o=821;break}case 125:{c[P+312>>2]=3;c[K>>2]=139;o=821;break}case 128:{h=c[P+304>>2]|0;f:do if((c[P+16>>2]|0)<(h|0))if(!(a[P+561>>0]|0))g=z;else{c[P+12>>2]=129;g=z}else if((h|0)>0){g=z;while(1){g=g+-1|0;c[P+28>>2]=g;g=c[i+(g<<2)>>2]&65535;if(g>>>0<(e[P+152>>1]|0)>>>0){h=(c[P+168>>2]|0)+g|0;a[h>>0]=d[h>>0]^1;h=c[P+304>>2]|0}else if(a[P+561>>0]|0){o=617;c[f+5728>>2]=2;c[f+5732>>2]=86;break a}j=h+-1|0;c[P+304>>2]=j;g=c[P+28>>2]|0;if((h|0)<=1)break f;i=c[P+24>>2]|0;h=j}}else g=z;while(0);c[P+304>>2]=1;c[P+32>>2]=g;o=821;break}case 129:{g=c[J>>2]|0;h=c[J+4>>2]&65535;D=e[P+152>>1]|0;if(!(h>>>0>>0&(g&65535)>>>0>>0))if(!(a[P+561>>0]|0)){o=821;c[f+5728>>2]=2;c[f+5732>>2]=87;break a}else{o=626;c[f+5728>>2]=2;c[f+5732>>2]=86;break a}if((g&65535)>>>0>h>>>0)o=821;else{i=g&65535;g=g&65535;do{D=(c[P+168>>2]|0)+i|0;a[D>>0]=d[D>>0]|1;g=g+1<<16>>16;i=g&65535}while(i>>>0<=h>>>0);o=821}break}case 130:{g=c[J>>2]|0;h=c[J+4>>2]&65535;D=e[P+152>>1]|0;if(!(h>>>0>>0&(g&65535)>>>0>>0))if(!(a[P+561>>0]|0)){o=821;c[f+5728>>2]=2;c[f+5732>>2]=87;break a}else{o=632;c[f+5728>>2]=2;c[f+5732>>2]=86;break a}if((g&65535)>>>0>h>>>0)o=821;else{i=g&65535;g=g&65535;do{D=(c[P+168>>2]|0)+i|0;a[D>>0]=d[D>>0]&254;g=g+1<<16>>16;i=g&65535}while(i>>>0<=h>>>0);o=821}break}case 132:case 131:{g=c[P+416>>2]|0;i=c[P+408>>2]|0;g:do if((i|0)>0){h=g;while(1){if(M<<24>>24==(c[h+12>>2]&255)<<24>>24)if(a[h+16>>0]|0)break;h=h+24|0;if(h>>>0>=(g+(i*24|0)|0)>>>0)break g}g=c[P+428>>2]|0;if((g|0)>=(c[P+432>>2]|0)){o=638;c[f+5728>>2]=2;c[f+5732>>2]=86;break a}j=c[P+436>>2]|0;c[P+428>>2]=g+1;c[j+(g<<4)>>2]=c[P+352>>2];c[j+(g<<4)+4>>2]=(c[P+360>>2]|0)+1;c[j+(g<<4)+8>>2]=1;c[j+(g<<4)+12>>2]=h;j=c[h>>2]|0;g=c[h+4>>2]|0;do if((j+-1|0)>>>0>2)c[P+12>>2]=132;else{h=c[P+444+(j+-1<<3)>>2]|0;if(!h){c[P+12>>2]=138;break}i=c[P+444+(j+-1<<3)+4>>2]|0;if((i|0)<(g|0)){c[P+12>>2]=131;break}else{c[P+356>>2]=h;c[P+364>>2]=i;c[P+360>>2]=g;c[P+352>>2]=j;break}}while(0);a[P+376>>0]=0;o=821;c[f+5728>>2]=2;c[f+5732>>2]=87;break a}while(0);c[P+12>>2]=128;N=g;O=i;o=823;break}case 133:{g=c[J>>2]|0;switch(g&255|0){case 255:{a[P+337>>0]=1;o=821;c[f+5728>>2]=2;c[f+5732>>2]=87;break a}case 0:{a[P+337>>0]=0;o=821;c[f+5728>>2]=2;c[f+5732>>2]=87;break a}default:{if(g&256|0)if((e[P+252>>1]|0)>>>0<=(g&255)>>>0)a[P+337>>0]=1;if(g&512|0)if(a[P+281>>0]|0)a[P+337>>0]=1;if(g&1024|0)if(a[P+282>>0]|0)a[P+337>>0]=1;if(g&2048|0)if((e[P+252>>1]|0)>>>0>(g&255)>>>0)a[P+337>>0]=0;if(g&4096|0)if(a[P+281>>0]|0)a[P+337>>0]=0;if(!(g&8192)){o=821;c[f+5728>>2]=2;c[f+5732>>2]=87;break a}if(!(a[P+282>>0]|0)){o=821;c[f+5728>>2]=2;c[f+5732>>2]=87;break a}a[P+337>>0]=0;o=821;c[f+5728>>2]=2;c[f+5732>>2]=87;break a}}}case 135:case 134:{m=c[J>>2]&65535;if(m>>>0<(e[P+80>>1]|0)>>>0){n=c[J+4>>2]&65535;if(n>>>0<(e[P+116>>1]|0)>>>0){i=c[P+84>>2]|0;j=c[P+120>>2]|0;g=c[i+(m<<3)>>2]|0;h=c[j+(n<<3)>>2]|0;i=c[i+(m<<3)+4>>2]|0;j=c[j+(n<<3)+4>>2]|0;k=(g|0)==(h|0)&(i|0)==(j|0)?16384:g-h|0;l=(M&1)==0|(g|0)==(h|0)&(i|0)==(j|0)?i-j|0:k;k=(M&1)==0|(g|0)==(h|0)&(i|0)==(j|0)?k:0-(i-j)|0;if((((k|0)<0?0-k|0:k)|0)<16384)if((((l|0)<0?0-l|0:l)|0)<16384){if(l|k|0){A=k<<14;B=l<<14;o=678}}else{A=k;B=l;o=678}else{A=k;B=l;o=678}if((o|0)==678){o=0;L=(E2a(A,B)|0)<<2;b[P+290>>1]=I2a(A,L)|0;b[P+292>>1]=I2a(B,L)|0}K=c[P+88>>2]|0;L=c[P+124>>2]|0;H=c[K+(m<<3)>>2]|0;I=c[L+(n<<3)>>2]|0;K=c[K+(m<<3)+4>>2]|0;L=c[L+(n<<3)+4>>2]|0;J=(H|0)==(I|0)&(K|0)==(L|0)?16384:H-I|0;g=(M&1)==0|(g|0)==(h|0)&(i|0)==(j|0)|(H|0)==(I|0)&(K|0)==(L|0);h=g?K-L|0:J;g=g?J:0-(K-L)|0;if((((g|0)<0?0-g|0:g)|0)<16384)if((((h|0)<0?0-h|0:h)|0)<16384){if(h|g|0){C=g<<14;D=h<<14;o=683}}else{C=g;D=h;o=683}else{C=g;D=h;o=683}if((o|0)==683){M=(E2a(C,D)|0)<<2;b[P+294>>1]=I2a(C,M)|0;b[P+296>>1]=I2a(D,M)|0}I$a(P);o=821;c[f+5728>>2]=2;c[f+5732>>2]=87;break a}}if(!(a[P+561>>0]|0))o=821;else{o=673;c[f+5728>>2]=2;c[f+5732>>2]=86;break a}break}case 136:{h=c[J>>2]|0;g=h&1|0?35:0;if(h&2)g=(a[P+281>>0]|0)==0?g:g|128;if(h&4)g=(a[P+282>>0]|0)==0?g:g|256;if(h&32)g=(a[P+608>>0]|0)==0?g:g|4096;c[J>>2]=g;o=821;break}default:Q=1}}if(Q){Q=0;switch(F|0){case 137:{i=c[P+416>>2]|0;j=c[P+408>>2]|0;h:do if((j|0)>0){h=c[J>>2]|0;g=i;while(1){if((c[g+12>>2]|0)==(h|0)){h=g;break h}g=g+24|0;if(g>>>0>=(i+(j*24|0)|0)>>>0){h=g;break}}}else h=i;while(0);if((h|0)==(i+(j*24|0)|0)){if(j>>>0>=(c[P+412>>2]|0)>>>0){o=698;c[f+5728>>2]=2;c[f+5732>>2]=86;break a}c[P+408>>2]=j+1}g=c[J>>2]|0;if(g>>>0>255){o=701;c[f+5728>>2]=2;c[f+5732>>2]=86;break a}c[h+12>>2]=g&255;i=c[P+360>>2]|0;c[h+4>>2]=i+1;c[h>>2]=c[P+352>>2];a[h+16>>0]=1;g=c[J>>2]|0;if(g>>>0>(c[P+424>>2]|0)>>>0)c[P+424>>2]=g&255;j=c[P+364>>2]|0;h=I;g=i;while(1){g=h+g|0;c[P+360>>2]=g;if((g|0)>=(j|0)){o=710;c[f+5728>>2]=2;c[f+5732>>2]=86;break a}i=a[L+g>>0]|0;a[P+368>>0]=i;h=a[590547+(i&255)>>0]|0;c[P+372>>2]=h;if((i&255|1|0)==65){if((g+1|0)>=(j|0)){o=710;c[f+5728>>2]=2;c[f+5732>>2]=86;break a}h=2-(_(d[L+(g+1)>>0]|0,h)|0)|0;c[P+372>>2]=h}if((h+g|0)>(j|0)){o=710;c[f+5728>>2]=2;c[f+5732>>2]=86;break a}switch(i&255|0){case 44:case 137:{o=712;c[f+5728>>2]=2;c[f+5732>>2]=86;break a}case 45:{o=821;c[f+5728>>2]=2;c[f+5732>>2]=87;break a}default:{}}}}case 138:{I=c[J+8>>2]|0;o=c[J+4>>2]|0;c[J+8>>2]=c[J>>2];c[J+4>>2]=I;c[J>>2]=o;o=821;break}case 139:{g=c[J+4>>2]|0;if((g|0)>(c[J>>2]|0)){c[J>>2]=g;o=821}else o=821;break}case 140:{g=c[J+4>>2]|0;if((g|0)<(c[J>>2]|0)){c[J>>2]=g;o=821}else o=821;break}case 141:{g=c[J>>2]|0;if((g|0)>-1){c[P+340>>2]=g;o=821}else o=821;break}case 142:{h=c[J>>2]|0;g=(c[J+4>>2]|0)+-1|0;if(g>>>0>2)if(!(a[P+561>>0]|0)){o=821;c[f+5728>>2]=2;c[f+5732>>2]=87;break a}else{o=722;c[f+5728>>2]=2;c[f+5732>>2]=86;break a}if((h|0)==0|(1<>0]=d[P+336>>0]&(1<>2]=2;c[f+5732>>2]=87;break a}else if(!(a[P+561>>0]|0)){o=821;c[f+5728>>2]=2;c[f+5732>>2]=87;break a}else{o=725;c[f+5728>>2]=2;c[f+5732>>2]=86;break a}}case 143:{g=c[P+416>>2]|0;i=c[P+408>>2]|0;i:do if((i|0)>0){h=g;while(1){if(M<<24>>24==(c[h+12>>2]&255)<<24>>24)if(a[h+16>>0]|0)break;h=h+24|0;if(h>>>0>=(g+(i*24|0)|0)>>>0)break i}g=c[P+428>>2]|0;if((g|0)>=(c[P+432>>2]|0)){o=731;c[f+5728>>2]=2;c[f+5732>>2]=86;break a}j=c[P+436>>2]|0;c[P+428>>2]=g+1;c[j+(g<<4)>>2]=c[P+352>>2];c[j+(g<<4)+4>>2]=(c[P+360>>2]|0)+1;c[j+(g<<4)+8>>2]=1;c[j+(g<<4)+12>>2]=h;j=c[h>>2]|0;g=c[h+4>>2]|0;do if((j+-1|0)>>>0>2)c[P+12>>2]=132;else{h=c[P+444+(j+-1<<3)>>2]|0;if(!h){c[P+12>>2]=138;break}i=c[P+444+(j+-1<<3)+4>>2]|0;if((i|0)<(g|0)){c[P+12>>2]=131;break}else{c[P+356>>2]=h;c[P+364>>2]=i;c[P+360>>2]=g;c[P+352>>2]=j;break}}while(0);a[P+376>>0]=0;o=821;c[f+5728>>2]=2;c[f+5732>>2]=87;break a}while(0);c[P+12>>2]=128;N=g;O=i;o=823;break}default:Q=1}}if(Q){Q=0;switch(F|0){default:{if((M&255)>223){n=c[J>>2]|0;g=c[J+4>>2]|0;m=c[P+308>>2]|0;j=c[P+320>>2]|0;if((n&65535)>>>0<(e[P+80>>1]|0)>>>0)if((g+1|0)>>>0<((c[P+380>>2]|0)+1|0)>>>0)if((e[P+284>>1]|0)<(e[P+44>>1]|0)){if(!(g+1|0))h=0;else h=Xi[c[P+596>>2]&511](P,g)|0;g=c[P+328>>2]|0;L=h-g|0;if((((L|0)<0?0-L|0:L)|0)<(c[P+324>>2]|0))h=(h|0)>-1?g:0-g|0;if(!(b[P+346>>1]|0)){J=e[P+284>>1]|0;L=c[P+48>>2]|0;G=b[P+298>>1]|0;g=0-h|0;H=(h|0)<0?g:h;F=G<<16>>16<0?0-(G<<16>>16)|0:G<<16>>16;E=_(F,H>>>16)|0;F=(E<<16|8192)+(_(F,H&65535)|0)|0;I=c[P+84>>2]|0;c[I+((n&65535)<<3)>>2]=((G<<16>>16^h|0)>-1?(F>>>0<(E<<16|8192)>>>0&1)+(E>>>16)<<18|F>>>14:0-((F>>>0<(E<<16|8192)>>>0&1)+(E>>>16)<<18|F>>>14)|0)+(c[L+(J<<3)>>2]|0);F=b[P+300>>1]|0;E=F<<16>>16<0?0-(F<<16>>16)|0:F<<16>>16;G=_(E,H>>>16)|0;H=(G<<16|8192)+(_(E,H&65535)|0)|0;c[I+((n&65535)<<3)+4>>2]=((F<<16>>16^h|0)>-1?(H>>>0<(G<<16|8192)>>>0&1)+(G>>>16)<<18|H>>>14:0-((H>>>0<(G<<16|8192)>>>0&1)+(G>>>16)<<18|H>>>14)|0)+(c[L+(J<<3)+4>>2]|0);J=c[I+((n&65535)<<3)+4>>2]|0;L=(c[P+88>>2]|0)+((n&65535)<<3)|0;c[L>>2]=c[I+((n&65535)<<3)>>2];c[L+4>>2]=J}else g=0-h|0;l=c[P+84>>2]|0;k=e[P+284>>1]|0;L=c[P+48>>2]|0;k=Gi[c[P+576>>2]&255](P,(c[l+((n&65535)<<3)>>2]|0)-(c[L+(k<<3)>>2]|0)|0,(c[l+((n&65535)<<3)+4>>2]|0)-(c[L+(k<<3)+4>>2]|0)|0)|0;L=c[P+88>>2]|0;l=e[P+284>>1]|0;i=c[P+52>>2]|0;l=Gi[c[P+572>>2]&255](P,(c[L+((n&65535)<<3)>>2]|0)-(c[i+(l<<3)>>2]|0)|0,(c[L+((n&65535)<<3)+4>>2]|0)-(c[i+(l<<3)+4>>2]|0)|0)|0;g=(k^h|0)<0&(a[P+316>>0]|0)!=0?g:h;i=a[P+368>>0]|0;do if(!(i&4)){h=c[P+264+((i&3)<<2)>>2]|0;if((g|0)>-1){g=(h+g|0)<0?0:h+g|0;break}else{g=(g-h|0)>0?0:g-h|0;break}}else{L=c[P+344>>2]|0;if((L&65535)<<16>>16==(L>>>16&65535)<<16>>16)g=(((g-k|0)<0?0-(g-k)|0:g-k|0)|0)>(j|0)?k:g;g=Gi[c[K>>2]&255](P,g,c[P+264+((i&3)<<2)>>2]|0)|0;i=a[P+368>>0]|0}while(0);do if(i&8)if((k|0)>-1){g=(g|0)<(m|0)?m:g;break}else{g=(g|0)>(0-m|0)?0-m|0:g;break}while(0);kj[c[P+584>>2]&127](P,P+72|0,n&65535,g-l|0);H=a[P+368>>0]|0}else o=746;else o=746;else o=746;if((o|0)==746)if(!(a[P+561>>0]|0))H=M;else{c[P+12>>2]=134;H=M}b[P+286>>1]=b[P+284>>1]|0;if(H&16)b[P+284>>1]=n;b[P+288>>1]=n;o=821;c[f+5728>>2]=2;c[f+5732>>2]=87;break a}if((M&255)>191){n=c[J>>2]|0;m=c[P+308>>2]|0;if((n&65535)>>>0<(e[P+80>>1]|0)>>>0){l=b[P+284>>1]|0;if((l&65535)<(e[P+44>>1]|0)){L=c[P+344>>2]|0;do if(L>>>0<65536|(L&65535)<<16>>16==0){L=c[P+84>>2]|0;h=c[P+48>>2]|0;h=Gi[c[P+576>>2]&255](P,(c[L+((n&65535)<<3)>>2]|0)-(c[h+((l&65535)<<3)>>2]|0)|0,(c[L+((n&65535)<<3)+4>>2]|0)-(c[h+((l&65535)<<3)+4>>2]|0)|0)|0}else{g=c[P+92>>2]|0;h=c[P+56>>2]|0;i=c[P+220>>2]|0;j=c[g+((n&65535)<<3)>>2]|0;k=c[h+((l&65535)<<3)>>2]|0;if((i|0)==(c[P+224>>2]|0)){h=Gi[c[P+576>>2]&255](P,j-k|0,(c[g+((n&65535)<<3)+4>>2]|0)-(c[h+((l&65535)<<3)+4>>2]|0)|0)|0;h=H2a(h,c[P+220>>2]|0)|0;break}else{L=H2a(j-k|0,i)|0;h=H2a((c[g+((n&65535)<<3)+4>>2]|0)-(c[h+((l&65535)<<3)+4>>2]|0)|0,c[P+224>>2]|0)|0;h=Gi[c[P+576>>2]&255](P,L,h)|0;break}}while(0);g=c[P+328>>2]|0;L=h-g|0;if((((L|0)<0?0-L|0:L)|0)<(c[P+324>>2]|0))i=(h|0)>-1?g:0-g|0;else i=h;h=a[P+368>>0]|0;do if(!(h&4)){g=c[P+264+((h&3)<<2)>>2]|0;if((i|0)>-1){g=g+i|0;g=(g|0)<0?0:g;break}else{g=i-g|0;g=(g|0)>0?0:g;break}}else{g=Gi[c[K>>2]&255](P,i,c[P+264+((h&3)<<2)>>2]|0)|0;h=a[P+368>>0]|0}while(0);do if(h&8)if((i|0)>-1){g=(g|0)<(m|0)?m:g;break}else{g=(g|0)>(0-m|0)?0-m|0:g;break}while(0);K=c[P+88>>2]|0;L=c[P+52>>2]|0;G=e[P+284>>1]|0;G=Gi[c[P+572>>2]&255](P,(c[K+((n&65535)<<3)>>2]|0)-(c[L+(G<<3)>>2]|0)|0,(c[K+((n&65535)<<3)+4>>2]|0)-(c[L+(G<<3)+4>>2]|0)|0)|0;kj[c[P+584>>2]&127](P,P+72|0,n&65535,g-G|0);G=a[P+368>>0]|0}else o=773}else o=773;if((o|0)==773)if(!(a[P+561>>0]|0))G=M;else{c[P+12>>2]=134;G=M}b[P+286>>1]=b[P+284>>1]|0;b[P+288>>1]=n;if(!(G&16)){o=821;c[f+5728>>2]=2;c[f+5732>>2]=87;break a}b[P+284>>1]=n;o=821;c[f+5728>>2]=2;c[f+5732>>2]=87;break a}if((M&255)>183){if(((M&255)+65353&65535)>>>0>=(E+1-(c[P+16>>2]|0)|0)>>>0){o=796;c[f+5728>>2]=2;c[f+5732>>2]=86;break a}g=(c[P+360>>2]|0)+1|0;c[P+360>>2]=g;j:do if((M&255)+65353&65535|0){i=0;h=0;while(1){c[P+360>>2]=g+2;c[J+(i<<2)>>2]=(d[L+g>>0]<<8|d[L+(g+1)>>0])<<16>>16;h=h+1<<16>>16;if((h&65535)>>>0>=((M&255)+65353&65535)>>>0)break j;g=c[P+360>>2]|0;i=h&65535}}while(0);a[P+376>>0]=0;o=821;c[f+5728>>2]=2;c[f+5732>>2]=87;break a}if((M&255)>175){if(((M&255)+65361&65535)>>>0>=(E+1-(c[P+16>>2]|0)|0)>>>0){o=804;c[f+5728>>2]=2;c[f+5732>>2]=86;break a}if(!((M&255)+65361&65535)){o=821;c[f+5728>>2]=2;c[f+5732>>2]=87;break a}else{g=1;h=1}while(1){c[J+(g+-1<<2)>>2]=d[L+((c[P+360>>2]|0)+g)>>0];h=h+1<<16>>16;g=h&65535;if(g>>>0>((M&255)+65361&65535)>>>0){o=821;c[f+5728>>2]=2;c[f+5732>>2]=87;break a}}}g=c[P+416>>2]|0;i=c[P+408>>2]|0;k:do if((i|0)>0){h=g;while(1){if(M<<24>>24==(c[h+12>>2]&255)<<24>>24)if(a[h+16>>0]|0)break;h=h+24|0;if(h>>>0>=(g+(i*24|0)|0)>>>0)break k}g=c[P+428>>2]|0;if((g|0)>=(c[P+432>>2]|0)){o=810;c[f+5728>>2]=2;c[f+5732>>2]=86;break a}j=c[P+436>>2]|0;c[P+428>>2]=g+1;c[j+(g<<4)>>2]=c[P+352>>2];c[j+(g<<4)+4>>2]=(c[P+360>>2]|0)+1;c[j+(g<<4)+8>>2]=1;c[j+(g<<4)+12>>2]=h;j=c[h>>2]|0;g=c[h+4>>2]|0;do if((j+-1|0)>>>0>2)c[P+12>>2]=132;else{h=c[P+444+(j+-1<<3)>>2]|0;if(!h){c[P+12>>2]=138;break}i=c[P+444+(j+-1<<3)+4>>2]|0;if((i|0)<(g|0)){c[P+12>>2]=131;break}else{c[P+356>>2]=h;c[P+364>>2]=i;c[P+360>>2]=g;c[P+352>>2]=j;break}}while(0);a[P+376>>0]=0;o=821;c[f+5728>>2]=2;c[f+5732>>2]=87;break a}while(0);c[P+12>>2]=128;N=g;O=i;o=823}}}}c[f+3552>>2]=N;c[f+3560>>2]=O;c[f+5704>>2]=o;c[f+5712>>2]=Q} -function dQa(e,f,g){e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0;P=0;W=i;i=i+9568|0;if((e|0)==0|(f|0)==0){g=-1;i=W;return g|0}h=c[f+4>>2]|0;if(!h){if((c[e+272>>2]|0)<0)P=361;else if((c[e+276>>2]|0)<0)P=361;if((P|0)==361){c[e+272>>2]=0;c[e+276>>2]=0;c[e+280>>2]=1;S=(c[e+4>>2]|0)+32|0;V=(c[e+8>>2]|0)+32|0;T=c[e+48>>2]|0;U=_(V,S)|0;hBb(c[e+480>>2]|0,-128,(_(S>>(T&1^1)<<1,V>>(T>>>1&1^1))|0)+U|0)|0;U=c[e+276>>2]|0;c[e+280>>2]=U;T=e+53976|0;U=e+288+(U*48|0)|0;V=T+48|0;do{c[T>>2]=c[U>>2];T=T+4|0;U=U+4|0}while((T|0)<(V|0))}S=c[e+768>>2]|0;T=c[e+768+4>>2]|0;f=jBb(d[e+793>>0]|0,0,S|0,T|0)|0;f=pBb(f|0,C|0,c[e+60>>2]|0)|0;h=C;U=c[e+776>>2]|0;V=c[e+776+4>>2]|0;T=qBb(U|0,V|0,S|0,T|0)|0;h=jBb(T|0,C|0,f|0,h|0)|0;f=C;c[e+784>>2]=h;c[e+784+4>>2]=f;V=jBb(U|0,V|0,1,0)|0;c[e+776>>2]=V;c[e+776+4>>2]=C;if(!g){g=1;i=W;return g|0}c[g>>2]=h;c[g+4>>2]=f;g=1;i=W;return g|0}kRa(e+51556|0,c[f>>2]|0,h);do{Q=1;if(Q){Q=0;if(!(mRa(e+51556|0)|0)){a[e+792>>0]=mRa(e+51556|0)|0;a[e+795>>0]=lRa(e+51556|0,6)|0;do if(!(mRa(e+51556|0)|0))a[e+794>>0]=1;else{a[e+796>>0]=lRa(e+51556|0,6)|0;if(!(mRa(e+51556|0)|0)){a[e+794>>0]=2;break}else{a[e+797>>0]=lRa(e+51556|0,6)|0;a[e+794>>0]=3;break}}while(0);h=a[e+792>>0]|0;if(!(h<<24>>24)){if(lRa(e+51556|0,3)|0){S=-23;break}h=a[e+792>>0]|0;if(!(h<<24>>24)){n=e;o=0;l=c[e+272>>2]|0;m=c[e+276>>2]|0;P=16}else{j=e;k=h;P=14}}else{j=e;k=h;P=14}do if((P|0)==14){h=c[e+272>>2]|0;if((h|0)>=0){f=c[e+276>>2]|0;if((f|0)>=0){n=j;o=k;l=h;m=f;P=16;break}}c[e+272>>2]=0;c[e+276>>2]=0;c[e+280>>2]=1;y=(c[e+4>>2]|0)+32|0;O=(c[e+8>>2]|0)+32|0;p=c[e+48>>2]|0;R=_(O,y)|0;hBb(c[e+480>>2]|0,-128,(_(y>>(p&1^1)<<1,O>>(p>>>1&1^1))|0)+R|0)|0;R=j;p=a[e+792>>0]|0;O=c[e+280>>2]|0}while(0);if((P|0)==16){h=0;while(1)if((h|0)==(l|0)|(h|0)==(m|0))h=h+1|0;else break;c[e+280>>2]=h;R=n;p=o;O=h}t=1;if(t){t=0;if(!(p<<24>>24)){m=c[e+252>>2]|0;n=c[e+220>>2]|0;o=c[e+224>>2]|0;p=c[e+204>>2]|0;q=0;r=0;s=0;f=0;while(1){q=(c[e+108+(r<<5)+28>>2]|0)+q|0;if(f>>>0>>0){h=s;do{l=o+f|0;k=0;do{if((d[l>>0]|0)>>>2&15&1<>2]|0;if((j|0)>-1){c[p+(j<<2)>>2]=c[p+(j<<2)>>2]&-1794|257;c[m+(h<<2)>>2]=j;h=h+1|0}j=c[n+(f<<6)+(k<<4)+4>>2]|0;if((j|0)>-1){c[p+(j<<2)>>2]=c[p+(j<<2)>>2]&-1794|257;c[m+(h<<2)>>2]=j;h=h+1|0}j=c[n+(f<<6)+(k<<4)+8>>2]|0;if((j|0)>-1){c[p+(j<<2)>>2]=c[p+(j<<2)>>2]&-1794|257;c[m+(h<<2)>>2]=j;h=h+1|0}j=c[n+(f<<6)+(k<<4)+12>>2]|0;if((j|0)>-1){c[p+(j<<2)>>2]=c[p+(j<<2)>>2]&-1794|257;c[m+(h<<2)>>2]=j;h=h+1|0}}k=k+1|0}while((k|0)!=4);f=f+1|0}while((f|0)!=(q|0));f=q}else h=s;c[e+256+(r<<2)>>2]=h-s;r=r+1|0;if((r|0)==3)break;else s=h}c[e+268>>2]=h;q=c[e+776+4>>2]|0;c[e+768>>2]=c[e+776>>2];c[e+768+4>>2]=q;q=h}else t=1}if(t)if(1){h=mRa(e+51556|0)|0;o=c[e+224>>2]|0;p=c[e+228>>2]|0;if(!p)h=0;else{m=0;n=0;while(1){l=eQa(e+51556|0)|0;f=(h&255)<<1&2;k=n+1|0;k=n-(p>>>0>k>>>0?p:k)|0;k=k>>>0<(0-l|0)>>>0?0-l|0:k;j=n;n=n-k|0;do{y=o+j|0;a[y>>0]=a[y>>0]&-4|f;j=j+1|0}while((j|0)!=(n|0));r=_(k,h)|0;f=n>>>0

>>0;j=m-r|0;if(l>>>0>4128&f)h=mRa(e+51556|0)|0;else h=(h|0)==0&1;if(!f){q=m;break}else m=j}p=c[e+228>>2]|0;a:do if(j>>>0

>>0){o=c[e+224>>2]|0;h=0;while(1)if(!(a[o+h>>0]&2))break;else h=h+1|0;j=mRa(e+51556|0)|0;f=eQa(e+51556|0)|0;if(h>>>0

>>0)do{n=j&1;k=f;while(1){l=o+h|0;m=a[l>>0]|0;if(!(m&2)){if(!k)break;a[l>>0]=m&-2|n;k=k+-1|0}h=h+1|0;if(h>>>0>=p>>>0)break a}if(f>>>0<4129)j=(j|0)==0&1;else j=mRa(e+51556|0)|0;f=eQa(e+51556|0)|0}while(h>>>0

>>0)}while(0);if((q|0)==(r|0))h=0;else h=(mRa(e+51556|0)|0)==0&1}u=c[e+220>>2]|0;v=c[e+224>>2]|0;w=c[e+204>>2]|0;x=c[e+252>>2]|0;y=c[e+216>>2]|0;f=h;r=0;s=0;l=0;t=0;j=0;k=0;while(1){s=(c[e+108+(t<<5)+28>>2]|0)+s|0;if(k>>>0>>0){h=r;do{q=v+k|0;p=0;do{if((d[q>>0]|0)>>>2&15&1<>2]|0;if((n|0)>-1){m=a[q>>0]|0;do if(!(m&1)){if(m&2){if((j|0)<1){j=lRa(e+51556|0,2)|0;do if(!(j&2))j=j+1|0;else{if(!(j&1)){j=(mRa(e+51556|0)|0)+3|0;break}j=lRa(e+51556|0,2)|0;if(!(j&2)){j=j+5|0;break}if(!(j&1)){j=(lRa(e+51556|0,2)|0)+7|0;break}j=lRa(e+51556|0,3)|0;if(!(j&4)){j=j+11|0;break}else{j=(j<<2&12)+15+(lRa(e+51556|0,2)|0)|0;break}}while(0);f=(f|0)==0&1}j=j+-1|0;if(!f)f=0;else{E=f;G=f;H=j;P=80;break}}c[x+(y+~l<<2)>>2]=n;F=0;A=f;B=h;D=l+1|0;z=j}else{E=1;G=f;H=j;P=80}while(0);if((P|0)==80){P=0;c[x+(h<<2)>>2]=n;F=E;A=G;B=h+1|0;D=l;z=H}c[w+(n<<2)>>2]=c[w+(n<<2)>>2]&-2|F&1;f=A;h=B;l=D;j=z}o=o+1|0}while((o|0)!=4)}p=p+1|0}while((p|0)!=4);k=k+1|0}while((k|0)!=(s|0));k=s}else h=r;c[e+256+(t<<2)>>2]=h-r;t=t+1|0;if((t|0)==3)break;else r=h}c[e+268>>2]=h;h=lRa(e+51556|0,3)|0;if(!h){c[W>>2]=0;c[W+4>>2]=0;a[W+(lRa(e+51556|0,3)|0)>>0]=0;a[W+(lRa(e+51556|0,3)|0)>>0]=1;a[W+(lRa(e+51556|0,3)|0)>>0]=2;a[W+(lRa(e+51556|0,3)|0)>>0]=3;a[W+(lRa(e+51556|0,3)|0)>>0]=4;a[W+(lRa(e+51556|0,3)|0)>>0]=5;a[W+(lRa(e+51556|0,3)|0)>>0]=6;a[W+(lRa(e+51556|0,3)|0)>>0]=7;o=W}else o=527124+(h+-1<<3)|0;n=(h|0)==7?1532:1533;h=c[e+236>>2]|0;f=c[e+232>>2]|0;j=c[e+248>>2]|0;k=c[e+204>>2]|0;if(j|0){m=0;do{l=h+m|0;do if((a[l>>0]|0)!=-1){if(!(c[k+(c[f+(m*48|0)>>2]<<2)>>2]&1))if(!(c[k+(c[f+(m*48|0)+4>>2]<<2)>>2]&1))if(!(c[k+(c[f+(m*48|0)+8>>2]<<2)>>2]&1))if(!(c[k+(c[f+(m*48|0)+12>>2]<<2)>>2]&1)){a[l>>0]=0;break}a[l>>0]=a[o+(vi[n&2047](e+51556|0)|0)>>0]|0}while(0);m=m+1|0}while((m|0)!=(j|0))}v=c[46120+(c[e+48>>2]<<2)>>2]|0;w=(mRa(e+51556|0)|0)!=0;w=w?1534:1535;x=c[e+48>>2]|0;y=d[527448+x>>0]|0;z=c[e+204>>2]|0;A=c[e+212>>2]|0;B=c[e+232>>2]|0;D=c[e+236>>2]|0;E=c[e+248>>2]|0;if(E|0){s=0;n=0;k=0;t=0;F=0;u=0;l=0;while(1){r=a[D+F>>0]|0;if(r<<24>>24==-1){m=s;j=t;f=u;h=l}else{j=0;h=0;do{f=d[527400+(x*12|0)+j>>0]|0;if(c[z+(c[B+(F*48|0)+(f>>>2<<4)+((f&3)<<2)>>2]<<2)>>2]&1){c[W+3064+(h<<2)>>2]=f;h=h+1|0}j=j+1|0}while((j|0)<(y|0));q=h;if((q|0)<1){m=s;j=t;f=u;h=l}else{b:do switch(r<<24>>24|0){case 7:{c[W+3064+(q<<2)>>2]=-1;h=c[W+3064>>2]|0;if(!h){h=c[B+(F*48|0)>>2]|0;c[z+(h<<2)>>2]=c[z+(h<<2)>>2]|1792;a[W+3056>>0]=vi[w&2047](e+51556|0)|0;a[W+3056+1>>0]=vi[w&2047](e+51556|0)|0;f=b[W+3056>>1]|0;a[A+(h<<1)>>0]=f;a[A+(h<<1)+1>>0]=f>>8;h=c[W+3064+4>>2]|0;f=1}else{a[W+3056+1>>0]=0;a[W+3056>>0]=0;f=0}if((h|0)==1){f=f+1|0;h=c[B+(F*48|0)+4>>2]|0;c[z+(h<<2)>>2]=c[z+(h<<2)>>2]|1792;a[W+3056+2>>0]=vi[w&2047](e+51556|0)|0;a[W+3056+3>>0]=vi[w&2047](e+51556|0)|0;H=b[W+3056+2>>1]|0;a[A+(h<<1)>>0]=H;a[A+(h<<1)+1>>0]=H>>8;h=c[W+3064+(f<<2)>>2]|0}else{a[W+3056+3>>0]=0;a[W+3056+2>>0]=0}if((h|0)==2){f=f+1|0;h=c[B+(F*48|0)+8>>2]|0;c[z+(h<<2)>>2]=c[z+(h<<2)>>2]|1792;a[W+3056+4>>0]=vi[w&2047](e+51556|0)|0;a[W+3056+5>>0]=vi[w&2047](e+51556|0)|0;H=b[W+3056+4>>1]|0;a[A+(h<<1)>>0]=H;a[A+(h<<1)+1>>0]=H>>8;h=c[W+3064+(f<<2)>>2]|0}else{a[W+3056+5>>0]=0;a[W+3056+4>>0]=0}if((h|0)==3){J=c[B+(F*48|0)+12>>2]|0;c[z+(J<<2)>>2]=c[z+(J<<2)>>2]|1792;a[W+3056+6>>0]=vi[w&2047](e+51556|0)|0;a[W+3056+7>>0]=vi[w&2047](e+51556|0)|0;P=b[W+3056+6>>1]|0;a[A+(J<<1)>>0]=P;a[A+(J<<1)+1>>0]=P>>8;J=f+1|0;P=112}else{a[W+3056+7>>0]=0;a[W+3056+6>>0]=0;if((f|0)>0){J=f;P=112}else{I=0;K=s;L=n;M=k;N=t}}if((P|0)==112){P=0;L=c[W+3064+(J+-1<<2)>>2]|0;I=J;K=a[W+3056+(L<<1)>>0]|0;L=a[W+3056+(L<<1)+1>>0]|0;M=s;N=n}if((I|0)>=(q|0)){m=K;o=L;p=M;j=N;f=u;break b}si[v&511](W,W+3056|0);h=I;do{G=c[W+3064+(h<<2)>>2]|0;H=c[B+(F*48|0)+(G>>2<<4)+((G&3)<<2)>>2]|0;c[z+(H<<2)>>2]=c[z+(H<<2)>>2]|1792;G=d[W+((G&3)<<1)>>0]|d[W+((G&3)<<1)+1>>0]<<8;a[A+(H<<1)>>0]=G;a[A+(H<<1)+1>>0]=G>>8;h=h+1|0}while((h|0)!=(q|0));m=K;o=L;p=M;j=N;f=u;break}case 2:{f=(vi[w&2047](e+51556|0)|0)&255;l=(vi[w&2047](e+51556|0)|0)&255;m=f;o=l;p=s;j=n;break}case 3:{m=s;o=n;p=k;j=t;f=s;l=n;break}case 4:{m=k;o=t;p=s;j=n;f=k;l=t;break}case 6:{f=(vi[w&2047](e+51556|0)|0)&255;m=s;o=n;p=k;j=t;l=(vi[w&2047](e+51556|0)|0)&255;break}default:{m=s;o=n;p=k;j=t;f=0;l=0}}while(0);if(r<<24>>24!=7&(q|0)>0){h=0;do{H=c[W+3064+(h<<2)>>2]|0;H=c[B+(F*48|0)+(H>>2<<4)+((H&3)<<2)>>2]|0;c[z+(H<<2)>>2]=c[z+(H<<2)>>2]&-1793|r<<24>>24<<8&1792;a[A+(H<<1)>>0]=f;a[A+(H<<1)+1>>0]=l;h=h+1|0}while((h|0)!=(q|0));n=o;k=p;h=l}else{n=o;k=p;h=l}}}F=F+1|0;if((F|0)==(E|0))break;else{s=m;t=j;u=f;l=h}}}q=c[e+268>>2]|0}c:do if((q|0)>=1){o=c[e+204>>2]|0;p=c[e+252>>2]|0;if((a[e+794>>0]|0)==1){h=0;while(1){N=o+(c[p+(h<<2)>>2]<<2)|0;c[N>>2]=c[N>>2]&-253;h=h+1|0;if((h|0)==(q|0))break c}}f=mRa(e+51556|0)|0;j=0;h=0;while(1){n=eQa(e+51556|0)|0;m=f<<2&252;l=n;while(1){k=j+1|0;N=o+(c[p+(j<<2)>>2]<<2)|0;c[N>>2]=c[N>>2]&-253|m;h=h+f|0;if((l|0)<=1)break;if((k|0)<(q|0)){j=k;l=l+-1|0}else break}j=(k|0)<(q|0);if((n|0)>4128&j)f=mRa(e+51556|0)|0;else f=(f|0)==0&1;if(j)j=k;else break}if((h|0)>0&(a[e+794>>0]|0)==3){h=0;while(1)if(!(c[o+(c[p+(h<<2)>>2]<<2)>>2]&252))h=h+1|0;else break;j=mRa(e+51556|0)|0;f=eQa(e+51556|0)|0;if((h|0)<(q|0))do{k=f;while(1){l=o+(c[p+(h<<2)>>2]<<2)|0;m=c[l>>2]|0;if(m>>>2&63){if((k|0)<1)break;c[l>>2]=(m>>>2)+j<<2&252|m&-253;k=k+-1|0}h=h+1|0;if((h|0)>=(q|0))break c}if((f|0)<4129)j=(j|0)==0&1;else j=mRa(e+51556|0)|0;f=eQa(e+51556|0)|0}while((h|0)<(q|0))}}while(0);h=c[e+256>>2]|0;f=0;do{c[W+3064+(f<<2)>>2]=h;f=f+1|0}while((f|0)!=64);h=c[e+260>>2]|0;f=0;do{c[W+3064+256+(f<<2)>>2]=h;f=f+1|0}while((f|0)!=64);h=c[e+264>>2]|0;f=0;do{c[W+3064+512+(f<<2)>>2]=h;f=f+1|0}while((f|0)!=64);c[W+3056>>2]=lRa(e+51556|0,4)|0;c[W+3056+4>>2]=lRa(e+51556|0,4)|0;c[e+52664>>2]=0;t=c[e+53432>>2]|0;s=c[e+204>>2]|0;r=c[e+252>>2]|0;k=0;j=0;u=0;v=0;h=0;while(1){p=c[e+256+(v<<2)>>2]|0;q=u;u=p+u|0;hBb(W|0,0,256)|0;c[e+52664+(v<<8)>>2]=k;c[e+51896+(v<<8)>>2]=h;n=u-j|0;n=(n|0)<(k|0)?n:k;f=k-n|0;if((n|0)>0){l=j+~q-p|0;m=~k;m=(l|0)>(m|0)?l:m;k=n;l=j;while(1){N=s+(c[r+(l<<2)>>2]<<2)|0;c[N>>2]=c[N>>2]&65535;if((k|0)>1){k=k+-1|0;l=l+1|0}else break}j=j+1-m+((m|0)>-2?m:-2)|0}d:do if((u|0)>(j|0)){o=e+51576+(c[W+3056+(v+1>>1<<2)>>2]<<2)|0;do{while(1){m=KQa(e+51556|0,c[o>>2]|0)|0;k=h+1|0;a[t+h>>0]=m;if(m>>>0<15){l=lRa(e+51556|0,d[527180+m>>0]|0)|0;f=h+2|0;a[t+k>>0]=l;if(!m){a[t+f>>0]=l>>>8;h=h+3|0}else h=f;f=l<<((m|0)<2?-13:0)+((m|0)<12?21:0)}else{f=0;h=k}f=(c[45752+(m<<2)>>2]|0)+f|0;k=(f|0)==0?2147483647:f>>>8&4095;if(k|0)break;c[W+((f&255)<<2)>>2]=(c[W+((f&255)<<2)>>2]|0)+1;k=j+1|0;N=s+(c[r+(j<<2)>>2]<<2)|0;c[N>>2]=c[N>>2]&65535|(f&255|0?0:(f^0-(f&1048576))>>21<<16);if((u|0)>(k|0))j=k;else{f=0;l=k;break d}}m=u-j|0;m=(m|0)<(k|0)?m-k|0:0;n=m+k+n|0;if((m+k|0)>0){l=(j+(~q-p)|0)>(~k|0)?j+(~q-p)|0:~k;f=m+k|0;k=j;while(1){N=s+(c[r+(k<<2)>>2]<<2)|0;c[N>>2]=c[N>>2]&65535;if((f|0)>1){f=f+-1|0;k=k+1|0}else break}j=j+1-l+((l|0)>-2?l:-2)|0}}while((u|0)>(j|0));f=0-m|0;l=j}else l=j;while(0);k=(c[W+252>>2]|0)+n|0;c[W+252>>2]=k;j=62;while(1){N=W+(j<<2)|0;k=(c[N>>2]|0)+k|0;c[N>>2]=k;if((j|0)<=0){j=63;break}else j=j+-1|0}while(1){N=W+3064+(v<<8)+(j<<2)|0;c[N>>2]=(c[N>>2]|0)-(c[W+(j<<2)>>2]|0);if((j|0)>0)j=j+-1|0;else break}v=v+1|0;if((v|0)==3)break;else{k=f;j=l}}c[e+53440>>2]=h;N=lRa(e+51556|0,4)|0;c[W+3056>>2]=N;M=lRa(e+51556|0,4)|0;c[W+3056+4>>2]=M;c[W+3856>>2]=e;c[W+3872>>2]=g;c[W+3904>>2]=S;c[W+4240>>2]=R;c[W+6384>>2]=M;c[W+6392>>2]=N;c[W+7368>>2]=f;c[W+8648>>2]=O;c[W+9432>>2]=T;c[W+9448>>2]=U;c[W+9456>>2]=V;c[W+9488>>2]=P;c[W+9512>>2]=0;c[W+9516>>2]=0;$Wa(W);S=c[W+3904>>2]|0}else Q=1}if(Q)if(1)S=-24}while(0);g=S;i=W;return g|0}function eQa(a){a=a|0;var b=0;if(!(mRa(a)|0)){a=1;return a|0}b=lRa(a,2)|0;if(!(b&2)){a=b+2|0;return a|0}if(!(b&1)){a=(mRa(a)|0)+4|0;return a|0}b=lRa(a,3)|0;if(!(b&4)){a=b+6|0;return a|0}if(!(b&2)){a=(lRa(a,2)|0)+((b&1)<<2|10)|0;return a|0}if(!(b&1)){a=(lRa(a,4)|0)+18|0;return a|0}else{a=(lRa(a,12)|0)+34|0;return a|0}return 0}function fQa(a){a=a|0;return lRa(a,3)|0}function gQa(a){a=a|0;if(!(mRa(a)|0))a=0;else if(!(mRa(a)|0))a=1;else if(!(mRa(a)|0))a=2;else if(!(mRa(a)|0))a=3;else if(!(mRa(a)|0))a=4;else if(!(mRa(a)|0))a=5;else{a=(mRa(a)|0)==0;return (a?6:7)|0}return a|0}function hQa(a){a=a|0;a=lRa(a,6)|0;return (a>>1)-(a&1)^0-(a&1)|0}function iQa(a){a=a|0;var b=0,c=0;b=lRa(a,3)|0;switch(b|0){case 2:{c=-1;return c|0}case 4:case 3:{c=mRa(a)|0;a=b+-1|0;break}case 1:case 0:{c=b;return c|0}default:{a=lRa(a,b+-2|0)|0;c=a&1;a=(a>>1)+(1<>0]|0;c[w>>2]=m;n=a[f+g>>0]|0;c[w+4>>2]=n&255;o=d[f+(g<<1)>>0]|0;c[w+8>>2]=o;p=d[f+(g*3|0)>>0]|0;c[w+12>>2]=p;q=d[f+(g<<2)>>0]|0;c[w+16>>2]=q;r=d[f+(g*5|0)>>0]|0;c[w+20>>2]=r;x=d[f+(g*6|0)>>0]|0;c[w+24>>2]=x;z=d[f+(g*7|0)>>0]|0;c[w+28>>2]=z;A=d[f+(g<<3)>>0]|0;c[w+32>>2]=A;B=d[f+(g*9|0)>>0]|0;c[w+36>>2]=B;y=((q-p|0)>-1?q-p|0:0-(q-p)|0)+(((p-o|0)>-1?p-o|0:0-(p-o)|0)+(((o-(n&255)|0)>-1?o-(n&255)|0:0-(o-(n&255))|0)+(((n&255)-m|0)>-1?(n&255)-m|0:0-((n&255)-m)|0)))|0;x=((A-B|0)>-1?A-B|0:0-(A-B)|0)+(((z-A|0)>-1?z-A|0:0-(z-A)|0)+(((x-z|0)>-1?x-z|0:0-(x-z)|0)+((r-x|0)>-1?r-x|0:0-(r-x)|0)))|0;c[k>>2]=(c[k>>2]|0)+((y|0)<255?y:255);c[l>>2]=(c[l>>2]|0)+((x|0)<255?x:255);if((y|0)<(j|0)&(x|0)<(j|0))if((r-q|0)<(h|0)&(q-r|0)<(h|0)){a[b>>0]=(q+4+(m*3|0)+((n&255)<<1)+o+p|0)>>>3;a[b+e>>0]=((c[w+4>>2]|0)+4+(c[w+12>>2]|0)+(c[w+16>>2]|0)+(c[w+20>>2]|0)+((c[w+8>>2]|0)+(c[w>>2]|0)<<1)|0)>>>3;a[b+(e<<1)>>0]=((c[w>>2]|0)+4+(c[w+4>>2]|0)+(c[w+8>>2]|0)+(c[w+12>>2]<<1)+(c[w+16>>2]|0)+(c[w+20>>2]|0)+(c[w+24>>2]|0)|0)>>>3;a[b+(e*3|0)>>0]=((c[w+4>>2]|0)+4+(c[w+8>>2]|0)+(c[w+12>>2]|0)+(c[w+16>>2]<<1)+(c[w+20>>2]|0)+(c[w+24>>2]|0)+(c[w+28>>2]|0)|0)>>>3;a[b+(e<<2)>>0]=((c[w+8>>2]|0)+4+(c[w+12>>2]|0)+(c[w+16>>2]|0)+(c[w+20>>2]<<1)+(c[w+24>>2]|0)+(c[w+28>>2]|0)+(c[w+32>>2]|0)|0)>>>3;a[b+(e*5|0)>>0]=((c[w+12>>2]|0)+4+(c[w+16>>2]|0)+(c[w+20>>2]|0)+(c[w+24>>2]<<1)+(c[w+28>>2]|0)+(c[w+32>>2]|0)+(c[w+36>>2]|0)|0)>>>3;a[t>>0]=((c[w+16>>2]|0)+4+(c[w+20>>2]|0)+(c[w+24>>2]|0)+(c[w+32>>2]|0)+((c[w+36>>2]|0)+(c[w+28>>2]|0)<<1)|0)>>>3;a[u+(e<<1)>>0]=((c[w+20>>2]|0)+4+(c[w+24>>2]|0)+(c[w+28>>2]|0)+(c[w+32>>2]<<1)+((c[w+36>>2]|0)*3|0)|0)>>>3}else v=3;else v=3;if((v|0)==3){v=0;a[b>>0]=n;a[b+e>>0]=c[w+8>>2];a[b+(e<<1)>>0]=c[w+12>>2];a[b+(e*3|0)>>0]=c[w+16>>2];a[b+(e<<2)>>0]=c[w+20>>2];a[b+(e*5|0)>>0]=c[w+24>>2];a[b+(e*6|0)>>0]=c[w+28>>2];a[b+(e*7|0)>>0]=c[w+32>>2]}s=s+1|0;if((s|0)==8)break;else{t=t+1|0;u=u+1|0;b=b+1|0;f=f+1|0}}i=w;return}function kQa(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;s=i;i=i+48|0;p=0;q=b;r=b+6|0;o=b+5|0;while(1){b=d[q+-1>>0]|0;c[s>>2]=b;j=d[q>>0]|0;c[s+4>>2]=j;k=d[q+1>>0]|0;c[s+8>>2]=k;l=d[q+2>>0]|0;c[s+12>>2]=l;m=d[q+3>>0]|0;c[s+16>>2]=m;n=d[q+4>>0]|0;c[s+20>>2]=n;t=d[q+5>>0]|0;c[s+24>>2]=t;v=d[q+6>>0]|0;c[s+28>>2]=v;w=d[q+7>>0]|0;c[s+32>>2]=w;x=d[q+8>>0]|0;c[s+36>>2]=x;u=((m-l|0)>-1?m-l|0:0-(m-l)|0)+(((l-k|0)>-1?l-k|0:0-(l-k)|0)+(((k-j|0)>-1?k-j|0:0-(k-j)|0)+((j-b|0)>-1?j-b|0:0-(j-b)|0)))|0;t=((w-x|0)>-1?w-x|0:0-(w-x)|0)+(((v-w|0)>-1?v-w|0:0-(v-w)|0)+(((t-v|0)>-1?t-v|0:0-(t-v)|0)+((n-t|0)>-1?n-t|0:0-(n-t)|0)))|0;c[h>>2]=(c[h>>2]|0)+((u|0)<255?u:255);c[h+4>>2]=(c[h+4>>2]|0)+((t|0)<255?t:255);if((u|0)<(g|0)&(t|0)<(g|0))if((n-m|0)<(f|0)&(m-n|0)<(f|0)){a[q>>0]=(m+4+(b*3|0)+(j<<1)+k+l|0)>>>3;a[q+1>>0]=((c[s+4>>2]|0)+4+(c[s+12>>2]|0)+(c[s+16>>2]|0)+(c[s+20>>2]|0)+((c[s+8>>2]|0)+(c[s>>2]|0)<<1)|0)>>>3;a[q+2>>0]=((c[s>>2]|0)+4+(c[s+4>>2]|0)+(c[s+8>>2]|0)+(c[s+12>>2]<<1)+(c[s+16>>2]|0)+(c[s+20>>2]|0)+(c[s+24>>2]|0)|0)>>>3;a[q+3>>0]=((c[s+4>>2]|0)+4+(c[s+8>>2]|0)+(c[s+12>>2]|0)+(c[s+16>>2]<<1)+(c[s+20>>2]|0)+(c[s+24>>2]|0)+(c[s+28>>2]|0)|0)>>>3;a[q+4>>0]=((c[s+8>>2]|0)+4+(c[s+12>>2]|0)+(c[s+16>>2]|0)+(c[s+20>>2]<<1)+(c[s+24>>2]|0)+(c[s+28>>2]|0)+(c[s+32>>2]|0)|0)>>>3;a[q+5>>0]=((c[s+12>>2]|0)+4+(c[s+16>>2]|0)+(c[s+20>>2]|0)+(c[s+24>>2]<<1)+(c[s+28>>2]|0)+(c[s+32>>2]|0)+(c[s+36>>2]|0)|0)>>>3;a[r>>0]=((c[s+16>>2]|0)+4+(c[s+20>>2]|0)+(c[s+24>>2]|0)+(c[s+32>>2]|0)+((c[s+36>>2]|0)+(c[s+28>>2]|0)<<1)|0)>>>3;a[o+2>>0]=((c[s+20>>2]|0)+4+(c[s+24>>2]|0)+(c[s+28>>2]|0)+(c[s+32>>2]<<1)+((c[s+36>>2]|0)*3|0)|0)>>>3}p=p+1|0;if((p|0)==8)break;else{q=q+e|0;r=r+e|0;o=o+e|0}}i=s;return}function lQa(b,e,f,g,h,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;s=i;i=i+576|0;r=d[527200+j>>0]|0;r=(r|0)<(g*3|0)?r:g*3|0;q=d[527202+j>>0]|0;n=0;m=b+(0-(0-(f>>>2&1^1)&e))|0;o=b;while(1){k=n<<3;l=0;do{j=(d[o+l>>0]|0)-(d[m+l>>0]|0)|0;j=g+32-(((j|0)>-1?j:0-j|0)<0?j:0}c[s+288+(l+k<<2)>>2]=j;l=l+1|0}while((l|0)!=8);j=o+(0-((n|0)<7|f>>>3&1^1)&e)|0;n=n+1|0;if((n|0)==9)break;else{m=o;o=j}}o=0;p=b;j=b+(0-(f&1^1))|0;while(1){m=o<<3;n=0;l=p;while(1){k=(d[l>>0]|0)-(d[j>>0]|0)|0;k=g+32-(((k|0)>-1?k:0-k|0)<0?k:0}c[s+(n+m<<2)>>2]=k;n=n+1|0;if((n|0)==8)break;else{j=j+e|0;l=l+e|0}}j=p+((o|0)<7|f>>>1&1^1)|0;o=o+1|0;if((o|0)==9)break;else{n=p;p=j;j=n}}p=0;q=b;r=b+e|0;n=b+(0-(0-(f>>>2&1^1)&e))|0;o=b;while(1){g=c[s+(p<<2)>>2]|0;t=(_(d[o+(0-(f&1^1))>>0]|0,g)|0)+64|0;j=p<<3;h=c[s+288+(j<<2)>>2]|0;t=t+(_(d[n>>0]|0,h)|0)|0;m=p;p=p+1|0;k=p<<3;b=c[s+288+(k<<2)>>2]|0;t=t+(_(d[r>>0]|0,b)|0)|0;l=c[s+(m+8<<2)>>2]|0;t=t+(_(d[o+1>>0]|0,l)|0)|0;l=t+(_(d[o>>0]|0,128-g-h-b-l|0)|0)>>7;a[q>>0]=(l>>>31)+255&((l|0)>255?255:l);l=1;do{u=c[s+((l<<3)+m<<2)>>2]|0;v=(_(d[o+(l+-1)>>0]|0,u)|0)+64|0;g=c[s+288+(l+j<<2)>>2]|0;v=v+(_(d[n+l>>0]|0,g)|0)|0;h=c[s+288+(l+k<<2)>>2]|0;v=v+(_(d[r+l>>0]|0,h)|0)|0;t=l;l=l+1|0;b=c[s+((l<<3)+m<<2)>>2]|0;v=v+(_(d[o+l>>0]|0,b)|0)|0;b=v+(_(d[o+t>>0]|0,128-u-g-h-b|0)|0)>>7;a[q+t>>0]=(b>>>31)+255&((b|0)>255?255:b)}while((l|0)!=7);t=c[s+(m+56<<2)>>2]|0;b=(_(d[o+6>>0]|0,t)|0)+64|0;u=c[s+288+((j|7)<<2)>>2]|0;b=b+(_(d[n+7>>0]|0,u)|0)|0;v=c[s+288+((k|7)<<2)>>2]|0;b=b+(_(d[r+7>>0]|0,v)|0)|0;j=c[s+(m+64<<2)>>2]|0;b=b+(_(d[o+(8-(f>>>1&1))>>0]|0,j)|0)|0;j=b+(_(d[o+7>>0]|0,128-t-u-v-j|0)|0)>>7;a[q+7>>0]=(j>>>31)+255&((j|0)>255?255:j);j=r+(0-((m|0)<6|f>>>3&1^1)&e)|0;if((p|0)==8)break;else{v=r;n=o;q=q+e|0;r=j;o=v}}i=s;return}function mQa(a,b){a=a|0;b=b|0;if((a|0)==0|(b|0)==0){b=-1;return b|0}UQa(b,a+53976|0);b=0;return b|0}function nQa(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+512|0;f=lRa(d,3)|0;g=0;do{a[e+256+g>>0]=lRa(d,f)|0;g=g+1|0}while((g|0)!=64);f=(lRa(d,4)|0)+1|0;g=0;do{b[e+128+(g<<1)>>1]=lRa(d,f)|0;g=g+1|0}while((g|0)!=64);f=(lRa(d,4)|0)+1|0;g=0;do{b[e+(g<<1)>>1]=lRa(d,f)|0;g=g+1|0}while((g|0)!=64);o=lRa(d,9)|0;p=Vpb(o+1<<6)|0;if(!p){q=-1;i=r;return q|0}if((o|0)>-1){f=0;do{g=0;do{a[p+(f<<6)+g>>0]=lRa(d,8)|0;g=g+1|0}while((g|0)!=64);f=f+1|0}while((f|0)<(o+1|0))}m=TQa(o)|0;n=0;a:while(1){j=(n|0)/3|0;l=(n|0)%3|0;if((n|0)>0)if(!(mRa(d)|0)){do if((n|0)>2)if(!(mRa(d)|0)){g=n+-1|0;f=(g|0)%3|0;g=(g|0)/3|0;break}else{f=l;g=j+-1|0;break}else{g=n+-1|0;f=(g|0)%3|0;g=(g|0)/3|0}while(0);k=e+320+(g*36|0)+(f*12|0)|0;c[e+320+(j*36|0)+(l*12|0)>>2]=c[k>>2];c[e+320+(j*36|0)+(l*12|0)+4>>2]=c[k+4>>2];c[e+320+(j*36|0)+(l*12|0)+8>>2]=c[k+8>>2]}else q=21;else q=21;b:do if((q|0)==21){q=0;c[r>>2]=lRa(d,m)|0;f=0;g=0;do{h=(lRa(d,TQa(62-f|0)|0)|0)+1|0;c[r+256+(g<<2)>>2]=h;f=h+f|0;h=lRa(d,m)|0;g=g+1|0;c[r+(g<<2)>>2]=h}while((f|0)<63);if((f|0)>63){q=24;break a}c[e+320+(j*36|0)+(l*12|0)>>2]=g;f=Vpb(g<<2)|0;c[e+320+(j*36|0)+(l*12|0)+4>>2]=f;if(!f){q=26;break a}mBb(f|0,r+256|0,g<<2|0)|0;k=Vpb((g<<6)+64|0)|0;if(!k){q=28;break a}c[e+320+(j*36|0)+(l*12|0)+8>>2]=k;if((h|0)<(o+1|0)){f=h;h=g}else{q=30;break a}while(1){j=k+(h<<6)|0;f=p+(f<<6)|0;g=j+64|0;do{a[j>>0]=a[f>>0]|0;j=j+1|0;f=f+1|0}while((j|0)<(g|0));if((h|0)<=0)break b;h=h+-1|0;f=c[r+(h<<2)>>2]|0;if((f|0)>=(o+1|0)){q=30;break a}}}while(0);n=n+1|0;if((n|0)>=6){q=34;break}}if((q|0)==24){Wpb(p);q=-20;i=r;return q|0}else if((q|0)==26){Wpb(p);q=-1;i=r;return q|0}else if((q|0)==28){Wpb(p);q=-1;i=r;return q|0}else if((q|0)==30){Wpb(p);q=-20;i=r;return q|0}else if((q|0)==34){Wpb(p);q=0;i=r;return q|0}return 0}function oQa(a){a=a|0;var b=0,d=0,e=0,f=0;e=5;b=6;while(1){d=(e|0)/3|0;f=(e|0)%3|0;if((b|0)>1){b=b+-2|0;if((c[a+320+(d*36|0)+(f*12|0)+4>>2]|0)==(c[a+320+(((b|0)/3|0)*36|0)+(((b|0)%3|0)*12|0)+4>>2]|0))c[a+320+(d*36|0)+(f*12|0)+4>>2]=0;if((c[a+320+(d*36|0)+(f*12|0)+8>>2]|0)==(c[a+320+(((b|0)/3|0)*36|0)+(((b|0)%3|0)*12|0)+8>>2]|0))c[a+320+(d*36|0)+(f*12|0)+8>>2]=0}if((e|0)>2){if((c[a+356+(f*12|0)+4>>2]|0)==(c[a+320+(f*12|0)+4>>2]|0))c[a+356+(f*12|0)+4>>2]=0;if((c[a+356+(f*12|0)+8>>2]|0)==(c[a+320+(f*12|0)+8>>2]|0))c[a+356+(f*12|0)+8>>2]=0}Wpb(c[a+320+(d*36|0)+(f*12|0)+4>>2]|0);Wpb(c[a+320+(d*36|0)+(f*12|0)+8>>2]|0);if((e|0)>0){b=e;e=e+-1|0}else break}return}function pQa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;$i[c[a+64>>2]&255](b,d,e);return}function qQa(b,c,e){b=b|0;c=c|0;e=e|0;var f=0,g=0,h=0;h=d[c>>0]|d[c+1>>0]<<8|d[c+2>>0]<<16|d[c+3>>0]<<24;f=d[c+4>>0]|d[c+4+1>>0]<<8|d[c+4+2>>0]<<16|d[c+4+3>>0]<<24;a[b>>0]=h;a[b+1>>0]=h>>8;a[b+2>>0]=h>>16;a[b+3>>0]=h>>24;a[b+4>>0]=f;a[b+4+1>>0]=f>>8;a[b+4+2>>0]=f>>16;a[b+4+3>>0]=f>>24;f=d[c+e>>0]|d[c+e+1>>0]<<8|d[c+e+2>>0]<<16|d[c+e+3>>0]<<24;h=d[c+e+4>>0]|d[c+e+4+1>>0]<<8|d[c+e+4+2>>0]<<16|d[c+e+4+3>>0]<<24;a[b+e>>0]=f;a[b+e+1>>0]=f>>8;a[b+e+2>>0]=f>>16;a[b+e+3>>0]=f>>24;a[b+e+4>>0]=h;a[b+e+4+1>>0]=h>>8;a[b+e+4+2>>0]=h>>16;a[b+e+4+3>>0]=h>>24;h=c+(e<<1)|0;h=d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24;f=c+(e<<1)+4|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;g=b+(e<<1)|0;a[g>>0]=h;a[g+1>>0]=h>>8;a[g+2>>0]=h>>16;a[g+3>>0]=h>>24;g=b+(e<<1)+4|0;a[g>>0]=f;a[g+1>>0]=f>>8;a[g+2>>0]=f>>16;a[g+3>>0]=f>>24;g=c+(e*3|0)|0;g=d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24;f=c+(e*3|0)+4|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;h=b+(e*3|0)|0;a[h>>0]=g;a[h+1>>0]=g>>8;a[h+2>>0]=g>>16;a[h+3>>0]=g>>24;h=b+(e*3|0)+4|0;a[h>>0]=f;a[h+1>>0]=f>>8;a[h+2>>0]=f>>16;a[h+3>>0]=f>>24;h=c+(e<<2)|0;h=d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24;f=c+(e<<2)+4|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;g=b+(e<<2)|0;a[g>>0]=h;a[g+1>>0]=h>>8;a[g+2>>0]=h>>16;a[g+3>>0]=h>>24;g=b+(e<<2)+4|0;a[g>>0]=f;a[g+1>>0]=f>>8;a[g+2>>0]=f>>16;a[g+3>>0]=f>>24;g=c+(e*5|0)|0;g=d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24;f=c+(e*5|0)+4|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;h=b+(e*5|0)|0;a[h>>0]=g;a[h+1>>0]=g>>8;a[h+2>>0]=g>>16;a[h+3>>0]=g>>24;h=b+(e*5|0)+4|0;a[h>>0]=f;a[h+1>>0]=f>>8;a[h+2>>0]=f>>16;a[h+3>>0]=f>>24;h=c+(e*6|0)|0;h=d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24;f=c+(e*6|0)+4|0;f=d[f>>0]|d[f+1>>0]<<8|d[f+2>>0]<<16|d[f+3>>0]<<24;g=b+(e*6|0)|0;a[g>>0]=h;a[g+1>>0]=h>>8;a[g+2>>0]=h>>16;a[g+3>>0]=h>>24;g=b+(e*6|0)+4|0;a[g>>0]=f;a[g+1>>0]=f>>8;a[g+2>>0]=f>>16;a[g+3>>0]=f>>24;g=c+(e*7|0)|0;g=d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24;c=c+(e*7|0)+4|0;c=d[c>>0]|d[c+1>>0]<<8|d[c+2>>0]<<16|d[c+3>>0]<<24;f=b+(e*7|0)|0;a[f>>0]=g;a[f+1>>0]=g>>8;a[f+2>>0]=g>>16;a[f+3>>0]=g>>24;e=b+(e*7|0)+4|0;a[e>>0]=c;a[e+1>>0]=c>>8;a[e+2>>0]=c>>16;a[e+3>>0]=c>>24;return}function rQa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;$i[c[a+68>>2]&255](b,d,e);return}function sQa(c,d,e){c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=0;while(1){g=f<<3;h=b[e+(g<<1)>>1]|0;a[c>>0]=h<<16>>16>-129?(((h<<16>>16)+128|0)>255?-1:(h<<16>>16)+128&255):0;h=b[e+((g|1)<<1)>>1]|0;a[c+1>>0]=h<<16>>16>-129?(((h<<16>>16)+128|0)>255?-1:(h<<16>>16)+128&255):0;h=b[e+((g|2)<<1)>>1]|0;a[c+2>>0]=h<<16>>16>-129?(((h<<16>>16)+128|0)>255?-1:(h<<16>>16)+128&255):0;h=b[e+((g|3)<<1)>>1]|0;a[c+3>>0]=h<<16>>16>-129?(((h<<16>>16)+128|0)>255?-1:(h<<16>>16)+128&255):0;h=b[e+((g|4)<<1)>>1]|0;a[c+4>>0]=h<<16>>16>-129?(((h<<16>>16)+128|0)>255?-1:(h<<16>>16)+128&255):0;h=b[e+((g|5)<<1)>>1]|0;a[c+5>>0]=h<<16>>16>-129?(((h<<16>>16)+128|0)>255?-1:(h<<16>>16)+128&255):0;h=b[e+((g|6)<<1)>>1]|0;a[c+6>>0]=h<<16>>16>-129?(((h<<16>>16)+128|0)>255?-1:(h<<16>>16)+128&255):0;g=b[e+((g|7)<<1)>>1]|0;a[c+7>>0]=g<<16>>16>-129?(((g<<16>>16)+128|0)>255?-1:(g<<16>>16)+128&255):0;f=f+1|0;if((f|0)==8)break;else c=c+d|0}return}function tQa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;kj[c[a+72>>2]&127](b,d,e,f);return}function uQa(c,e,f,g){c=c|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0;h=0;while(1){i=h<<3;j=(d[e>>0]|0)+(b[g+(i<<1)>>1]|0)|0;a[c>>0]=(j>>>31)+255&((j|0)>255?255:j);j=(d[e+1>>0]|0)+(b[g+((i|1)<<1)>>1]|0)|0;a[c+1>>0]=(j>>>31)+255&((j|0)>255?255:j);j=(d[e+2>>0]|0)+(b[g+((i|2)<<1)>>1]|0)|0;a[c+2>>0]=(j>>>31)+255&((j|0)>255?255:j);j=(d[e+3>>0]|0)+(b[g+((i|3)<<1)>>1]|0)|0;a[c+3>>0]=(j>>>31)+255&((j|0)>255?255:j);j=(d[e+4>>0]|0)+(b[g+((i|4)<<1)>>1]|0)|0;a[c+4>>0]=(j>>>31)+255&((j|0)>255?255:j);j=(d[e+5>>0]|0)+(b[g+((i|5)<<1)>>1]|0)|0;a[c+5>>0]=(j>>>31)+255&((j|0)>255?255:j);j=(d[e+6>>0]|0)+(b[g+((i|6)<<1)>>1]|0)|0;a[c+6>>0]=(j>>>31)+255&((j|0)>255?255:j);i=(d[e+7>>0]|0)+(b[g+((i|7)<<1)>>1]|0)|0;a[c+7>>0]=(i>>>31)+255&((i|0)>255?255:i);h=h+1|0;if((h|0)==8)break;else{e=e+f|0;c=c+f|0}}return}function vQa(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;qi[c[a+76>>2]&15](b,d,e,f,g);return}function wQa(c,e,f,g,h){c=c|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0;j=0;while(1){i=j<<3;k=0;do{l=(((d[f+k>>0]|0)+(d[e+k>>0]|0)|0)>>>1)+(b[h+(k+i<<1)>>1]|0)|0;a[c+k>>0]=(l>>>31)+255&((l|0)>255?255:l);k=k+1|0}while((k|0)!=8);j=j+1|0;if((j|0)==8)break;else{e=e+g|0;f=f+g|0;c=c+g|0}}return}function xQa(a){a=a|0;gj[c[a+96>>2]&15]();return}function yQa(){return}function zQa(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;l=i;i=i+6144|0;j=0;while(1){e=AQa(b,l+4|0,511)|0;if((e|0)<0)break;e=Xpb(1,BQa(l+4|0,0)|0)|0;c[l>>2]=e;if(!e){e=-1;break}h=CQa(l+4|0)|0;f=h;h=1<>31))|0))break;else f=g}if((f|0)<2)e=EQa(l+4|0,l)|0;else{a[e>>0]=f;c[l>>2]=e+((4<>0]=a[l+4+2>>0]|0;FQa(e+4|0,l+4|0,f,f,l)}c[d+(j<<2)>>2]=e;j=j+1|0;if((j|0)>=80){e=0;k=12;break}}if((k|0)==12){i=l;return e|0}m=e;i=l;return m|0}function AQa(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;if((f|0)<1){e=-20;return e|0}g=mRa(b)|0;if((nRa(b)|0)<0){e=-20;return e|0}if(!g){a[e>>0]=1;a[e+2>>0]=1;c[e+4>>2]=e+12;g=AQa(b,e+12|0,f+-1|0)|0;if((g|0)>-1){c[e+8>>2]=e+((g+1|0)*12|0);e=AQa(b,e+((g+1|0)*12|0)|0,f-(g+1)|0)|0;return ((e|0)<0?0:g+1|0)+e|0}else{e=g;return e|0}}i=lRa(b,5)|0;if((nRa(b)|0)<0){e=-20;return e|0}j=d[527204+i>>0]|0;if(((j<<1)+-1|0)>(f|0)){e=-20;return e|0}if(!(-8040>>>i&1))g=0;else{b=1;h=0;while(1){g=b+h|0;if((b|0)>0){f=0;do{k=f+h|0;a[e+(k*12|0)>>0]=1;a[e+(k*12|0)+2>>0]=1;l=(f<<1)+g|0;c[e+(k*12|0)+4>>2]=e+(l*12|0);c[e+(k*12|0)+8>>2]=e+((l+1|0)*12|0);f=f+1|0}while((f|0)!=(b|0))}b=b<<1;if((b|0)>=(j|0))break;else h=g}}b=d[527236+i>>0]|0;i=j>>>0>1?j:1;f=0;h=g;while(1){a[e+(h*12|0)>>0]=0;a[e+(h*12|0)+2>>0]=1;a[e+(h*12|0)+1>>0]=f+b;f=f+1|0;if((f|0)>=(j|0))break;else h=h+1|0}l=g+i|0;return l|0}function BQa(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;if((d|0)>0&(a[b>>0]|0)!=0){f=BQa(c[b+4>>2]|0,d+-1|0)|0;return (BQa(c[b+8>>2]|0,d+-1|0)|0)+f|0}f=CQa(b)|0;d=f;f=1<>31))|0))break;else d=e}g=(d|0)>0;e=g?(4<>2]|0,g)|0)+e|0;return f+(BQa(c[b+8>>2]|0,g)|0)|0}else return e|0;return 0}function CQa(b){b=b|0;var d=0;if(!(a[b>>0]|0))return 0;else{d=CQa(c[b+4>>2]|0)|0;b=CQa(c[b+8>>2]|0)|0;return ((b|0)<(d|0)?b:d)+1|0}return 0}function DQa(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;if((d|0)<1|(a[b>>0]|0)==0){e=1;return e|0}else{e=b;b=1}do{f=d;d=d+-1|0;g=DQa(c[e+4>>2]|0,d)|0;e=c[e+8>>2]|0;b=g+b|0}while(!((f|0)<2|(a[e>>0]|0)==0));return b|0}function EQa(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;i=a[b>>0]|0;j=c[e>>2]|0;a[j>>0]=i;c[e>>2]=j+(i<<24>>24?(4<<(i&255))+4|0:4);a[j+2>>0]=a[b+2>>0]|0;i=a[b>>0]|0;if(!(i<<24>>24)){a[j+1>>0]=a[b+1>>0]|0;return j|0}if(i<<24>>24==31)return j|0;else g=0;while(1){h=EQa(c[b+4+(g<<2)>>2]|0,e)|0;c[j+4+(g<<2)>>2]=h;f=(1<<(d[b>>0]|0)-(d[h+2>>0]|0))+g|0;g=g+1|0;if((g|0)<(f|0))do{c[j+4+(g<<2)>>2]=h;g=g+1|0}while((g|0)!=(f|0));else f=g;if((f|0)<(1<<(i&255)|0))g=f;else break}return j|0}function FQa(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;a:do if((e|0)<1)h=e;else while(1){if(!(a[d>>0]|0)){h=e;break a}h=e+-1|0;FQa(b,c[d+4>>2]|0,h,f,g);b=b+(1<>2]|0;if((e|0)<2)break;else e=h}while(0);a[d+2>>0]=f-h;d=GQa(d,g)|0;c[b>>2]=d;e=1<>2]=d;if((h|0)==1)return;else d=2;do{c[b+(d<<2)>>2]=c[b>>2];d=d+1|0}while((d|0)!=(e|0));return}function GQa(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;g=CQa(b)|0;e=g;g=1<>31))|0))break;else e=f}if((e|0)<2){h=EQa(b,d)|0;return h|0}else{h=c[d>>2]|0;a[h>>0]=e;c[d>>2]=h+((4<>0]=a[b+2>>0]|0;FQa(h+4|0,b,e,e,d);return h|0}return 0}function HQa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;g=i;i=i+16|0;d=0;while(1){e=c[b+(d<<2)>>2]|0;h=Xpb(1,IQa(e)|0)|0;c[g>>2]=h;if(!h)break;c[a+(d<<2)>>2]=EQa(e,g)|0;d=d+1|0;if((d|0)>=80){d=0;f=6;break}}if((f|0)==6){i=g;return d|0}if((d|0)<=0){h=-1;i=g;return h|0}do{h=d;d=d+-1|0;Wpb(c[a+(d<<2)>>2]|0)}while((h|0)>1);d=-1;i=g;return d|0}function IQa(b){b=b|0;var e=0,f=0,g=0,h=0;f=a[b>>0]|0;e=f<<24>>24?(4<<(f&255))+4|0:4;if(!(f<<24>>24)){g=e;return g|0}if(f<<24>>24==31){g=e;return g|0}else g=0;do{h=c[b+4+(g<<2)>>2]|0;e=(IQa(h)|0)+e|0;g=(1<<(f&255)-(d[h+2>>0]|0))+g|0}while((g|0)<(1<<(f&255)|0));return e|0}function JQa(a){a=a|0;var b=0;b=0;do{Wpb(c[a+(b<<2)>>2]|0);b=b+1|0}while((b|0)!=80);return}function KQa(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;f=a[e>>0]|0;if(!(f<<24>>24)){b=e;b=b+1|0;b=a[b>>0]|0;b=b&255;return b|0}i=c[b>>2]|0;g=c[b+12>>2]|0;do{k=f&255;if((g|0)<(k|0)){h=c[b+4>>2]|0;j=c[b+8>>2]|0;f=h>>>0>>0?g:1073741824;if((f|0)<25){f=i;while(1){i=h+1|0;f=(d[h>>0]|0)<<24-g|f;g=g+8|0;h=i>>>0>>0?g:1073741824;if((h|0)>=25){g=h;h=i;break}else h=i}}else{g=f;f=i}c[b+4>>2]=h;if((g|0)<(k|0))f=(d[h>>0]|0)>>>(g&7)|f;c[b+12>>2]=g;c[b>>2]=f}else f=i;e=c[e+4+(f>>>(32-k|0)<<2)>>2]|0;k=d[e+2>>0]|0;i=f<>2]=i;g=g-k|0;c[b+12>>2]=g;f=a[e>>0]|0}while(f<<24>>24!=0);b=e+1|0;b=a[b>>0]|0;b=b&255;return b|0}function LQa(b){b=b|0;var d=0,e=0;d=b;e=d+60|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));a[b>>0]=3;a[b+1>>0]=2;a[b+2>>0]=1;c[b+60>>2]=6;return}function MQa(a){a=a|0;var b=0;b=a+64|0;do{c[a>>2]=0;a=a+4|0}while((a|0)<(b|0));return}function NQa(a){a=a|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;return}function OQa(a){a=a|0;var b=0;if(!a)return;if((c[a+8>>2]|0)>0){b=0;do{Wpb(c[(c[a>>2]|0)+(b<<2)>>2]|0);b=b+1|0}while((b|0)<(c[a+8>>2]|0))}Wpb(c[a>>2]|0);Wpb(c[a+4>>2]|0);Wpb(c[a+12>>2]|0);c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;return}function PQa(b,c){b=b|0;c=c|0;var d=0;d=(a[c+2>>0]|0)+(a[c>>0]|0)+(a[c+4>>0]|0)+(a[c+6>>0]|0)|0;c=(a[c+3>>0]|0)+(a[c+1>>0]|0)+(a[c+5>>0]|0)+(a[c+7>>0]|0)|0;a[b>>0]=(d+2+(d>>31)|0)>>>2;a[b+1>>0]=(c+2+(c>>31)|0)>>>2;return}function QQa(b,c){b=b|0;c=c|0;var d=0,e=0;e=(a[c+4>>0]|0)+(a[c>>0]|0)|0;d=(a[c+5>>0]|0)+(a[c+1>>0]|0)|0;a[b>>0]=(e+1+(e>>31)|0)>>>1;a[b+1>>0]=(d+1+(d>>31)|0)>>>1;d=(a[c+6>>0]|0)+(a[c+2>>0]|0)|0;c=(a[c+7>>0]|0)+(a[c+3>>0]|0)|0;a[b+2>>0]=(d+1+(d>>31)|0)>>>1;a[b+3>>0]=(c+1+(c>>31)|0)>>>1;return}function RQa(b,c){b=b|0;c=c|0;var d=0,e=0;e=(a[c+2>>0]|0)+(a[c>>0]|0)|0;d=(a[c+3>>0]|0)+(a[c+1>>0]|0)|0;a[b>>0]=(e+1+(e>>31)|0)>>>1;a[b+1>>0]=(d+1+(d>>31)|0)>>>1;d=(a[c+6>>0]|0)+(a[c+4>>0]|0)|0;c=(a[c+7>>0]|0)+(a[c+5>>0]|0)|0;a[b+4>>0]=(d+1+(d>>31)|0)>>>1;a[b+5>>0]=(c+1+(c>>31)|0)>>>1;return}function SQa(b,c){b=b|0;c=c|0;var e=0;e=d[c>>0]|d[c+1>>0]<<8|d[c+2>>0]<<16|d[c+3>>0]<<24;c=d[c+4>>0]|d[c+4+1>>0]<<8|d[c+4+2>>0]<<16|d[c+4+3>>0]<<24;a[b>>0]=e;a[b+1>>0]=e>>8;a[b+2>>0]=e>>16;a[b+3>>0]=e>>24;a[b+4>>0]=c;a[b+4+1>>0]=c>>8;a[b+4+2>>0]=c>>16;a[b+4+3>>0]=c>>24;return}function TQa(a){a=a|0;var b=0;if(!a)a=0;else{b=0;do{a=a>>>1;b=b+1|0}while((a|0)!=0);a=b}return a|0}function UQa(a,b){a=a|0;b=b|0;var d=0,e=0;c[a>>2]=c[b>>2];e=c[b+4>>2]|0;c[a+4>>2]=e;d=0-(c[b+8>>2]|0)|0;c[a+8>>2]=d;c[a+12>>2]=(c[b+12>>2]|0)+(_(1-e|0,d)|0);c[a+16>>2]=c[b+16>>2];d=c[b+20>>2]|0;c[a+20>>2]=d;e=0-(c[b+24>>2]|0)|0;c[a+24>>2]=e;c[a+28>>2]=(c[b+28>>2]|0)+(_(1-d|0,e)|0);c[a+32>>2]=c[b+32>>2];e=c[b+36>>2]|0;c[a+36>>2]=e;d=0-(c[b+40>>2]|0)|0;c[a+40>>2]=d;c[a+44>>2]=(c[b+44>>2]|0)+(_(1-e|0,d)|0);return}function VQa(f,g,h){f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;G=i;i=i+64|0;E=0;while(1){w=46136+(E<<2)|0;x=46144+(E<<2)|0;D=0;while(1){y=h+320+(E*36|0)+(D*12|0)|0;j=c[y>>2]|0;if((j|0)>=0){z=h+320+(E*36|0)+(D*12|0)+8|0;A=c[w>>2]|0;B=c[x>>2]|0;C=h+320+(E*36|0)+(D*12|0)+4|0;u=0;v=0;while(1){k=G;l=(c[z>>2]|0)+(v<<6)|0;m=k+64|0;do{a[k>>0]=a[l>>0]|0;k=k+1|0;l=l+1|0}while((k|0)<(m|0));if((v|0)==(j|0))s=u+1|0;else s=(c[(c[C>>2]|0)+(v<<2)>>2]|0)+u|0;t=v;v=v+1|0;a:do if(!g){k=u;b:while(1){l=(((_(d[G>>0]|0,e[h+(k<<1)>>1]|0)|0)>>>0)/100|0)<<2;l=l>>>0>4096?4096:l;q=f+(k*24|0)+(D<<3)+(E<<2)|0;r=c[q>>2]|0;b[r>>1]=A-(A>>>0>>0?A-l|0:0);l=h+128+(k<<1)|0;m=1;do{p=(((_(d[G+(d[527268+m>>0]|0)>>0]|0,e[l>>1]|0)|0)>>>0)/100|0)<<2;p=p>>>0>4096?4096:p;b[r+(m<<1)>>1]=B-(B>>>0

>>0?B-p|0:0);m=m+1|0}while((m|0)!=64);p=0;c:while(1){n=(p|0)<(E|0);m=n?3:D;if((m|0)>0){o=0;do{l=c[f+(k*24|0)+(o<<3)+(p<<2)>>2]|0;if(!(qmb(r,l,128)|0)){F=13;break c}o=o+1|0}while((o|0)<(m|0))}if(n)p=p+1|0;else break}if((F|0)==13){F=0;c[q>>2]=l}k=k+1|0;if((s|0)<=(k|0))break a;n=s-k|0;m=c[z>>2]|0;o=k-u|0;p=c[(c[C>>2]|0)+(t<<2)>>2]|0;l=0;while(1){r=_(d[m+(t<<6)+l>>0]|0,n)|0;a[G+l>>0]=(((_(d[m+(v<<6)+l>>0]|0,o)|0)+r<<1)+p|0)/(p<<1|0)|0;l=l+1|0;if((l|0)==64)continue b}}}else{k=u;d:while(1){j=_(d[G>>0]|0,e[h+(k<<1)>>1]|0)|0;c[g+(k<<2)>>2]=(j>>>0)/160|0;j=((j>>>0)/100|0)<<2>>>0>4096?4096:((j>>>0)/100|0)<<2;p=f+(k*24|0)+(D<<3)+(E<<2)|0;q=c[p>>2]|0;b[q>>1]=A-(A>>>0>>0?A-j|0:0);j=h+128+(k<<1)|0;l=1;do{r=(((_(d[G+(d[527268+l>>0]|0)>>0]|0,e[j>>1]|0)|0)>>>0)/100|0)<<2;r=r>>>0>4096?4096:r;b[q+(l<<1)>>1]=B-(B>>>0>>0?B-r|0:0);l=l+1|0}while((l|0)!=64);o=0;e:while(1){j=(o|0)<(E|0);l=j?3:D;if((l|0)>0){n=0;do{m=c[f+(k*24|0)+(n<<3)+(o<<2)>>2]|0;if(!(qmb(q,m,128)|0)){F=25;break e}n=n+1|0}while((n|0)<(l|0))}if(j)o=o+1|0;else break}if((F|0)==25){F=0;c[p>>2]=m}k=k+1|0;if((s|0)<=(k|0))break;l=s-k|0;m=c[z>>2]|0;n=k-u|0;o=c[(c[C>>2]|0)+(t<<2)>>2]|0;j=0;while(1){r=_(d[m+(t<<6)+j>>0]|0,l)|0;a[G+j>>0]=(((_(d[m+(v<<6)+j>>0]|0,n)|0)+r<<1)+o|0)/(o<<1|0)|0;j=j+1|0;if((j|0)==64)continue d}}j=c[y>>2]|0}while(0);if((t|0)>=(j|0))break;else u=k}}D=D+1|0;if((D|0)==3)break}E=E+1|0;if((E|0)==2)break}i=G;return}function WQa(d,e,f,g,h,i){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0;j=_(b[g>>1]|0,i&65535)|0;if((h|0)<2){i=0;do{b[g+(i<<1)>>1]=(j+15|0)>>>5;i=i+1|0}while((i|0)!=64)}else{b[g>>1]=j;oRa(d,g,h)}n=c[(c[d+208>>2]|0)+(e<<2)>>2]|0;i=(c[(c[d+204>>2]|0)+(e<<2)>>2]|0)>>>8&7;o=c[d+496+(f<<2)>>2]|0;p=(c[d+480+(c[d+280>>2]<<2)>>2]|0)+n|0;if((i|0)==1){rQa(d,p,o,g);return}m=c[d+480+(c[d+272+((268505377>>>(i<<2)&15)<<2)>>2]<<2)>>2]|0;j=c[d+212>>2]|0;if(f|0)i=(c[d+48>>2]&2|0)==0;else i=0;h=i&1;k=(a[j+(e<<1)+1>>0]|0)+31|0;l=a[527580+(h<<6)+k>>0]|0;if(f|0)i=(c[d+48>>2]&1|0)==0;else i=0;f=i&1;i=(a[j+(e<<1)>>0]|0)+31|0;j=a[527580+(f<<6)+i>>0]|0;i=(a[527452+(f<<6)+i>>0]|0)+(_(a[527452+(h<<6)+k>>0]|0,o)|0)|0;if(!((j|l)<<24>>24)){tQa(d,p,m+(i+n)|0,o,g);return}else{vQa(d,p,m+(i+n)|0,m+((_(l<<24>>24,o)|0)+n+i+(j<<24>>24))|0,o,g);return}}function XQa(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0;i=c[a+480+(c[a+272+(e<<2)>>2]<<2)>>2]|0;h=c[a+480+(c[a+272+(f<<2)>>2]<<2)>>2]|0;f=c[a+496+(g<<2)>>2]|0;e=c[a+208>>2]|0;if((d|0)>0)g=0;else return;do{j=c[e+(c[b+(g<<2)>>2]<<2)>>2]|0;pQa(a,i+j|0,h+j|0,f);g=g+1|0}while((g|0)!=(d|0));return}function YQa(b,e,f,g,h,i){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;q=c[b+108+(g<<5)>>2]|0;r=c[b+108+(g<<5)+8>>2]|0;s=(c[b+108+(g<<5)+12>>2]|0)+r|0;t=r+(_(q,h)|0)|0;p=_(q,i-h|0)|0;m=c[b+496+(g<<2)>>2]|0;n=c[b+204>>2]|0;o=c[b+208>>2]|0;j=c[b+480+(f<<2)>>2]|0;if((p|0)<=0)return;k=t;do{l=k;k=k+q|0;a:do if((q|0)>0){if((l|0)>(r|0))f=l;else{f=l;while(1){if(!(c[n+(f<<2)>>2]&1))h=f+1|0;else{b=c[o+(f<<2)>>2]|0;if((f|0)>(l|0)){h=j+(b+-2)|0;i=0;while(1){g=h+2|0;v=d[g>>0]|0;w=h+1|0;x=d[w>>0]|0;u=c[e+(((d[h>>0]|0)+4-(d[h+3>>0]|0)+((v-x|0)*3|0)>>3)+127<<2)>>2]|0;a[w>>0]=((x+u|0)>>>31)+255&((x+u|0)>255?255:x+u|0);a[g>>0]=((v-u|0)>>>31)+255&((v-u|0)>255?255:v-u|0);i=i+1|0;if((i|0)==8)break;else h=h+m|0}}h=f+1|0;if((h|0)<(k|0))if(!(c[n+(h<<2)>>2]&1)){i=j+(b+6)|0;g=0;while(1){x=i+2|0;v=d[x>>0]|0;u=i+1|0;y=d[u>>0]|0;w=c[e+(((d[i>>0]|0)+4-(d[i+3>>0]|0)+((v-y|0)*3|0)>>3)+127<<2)>>2]|0;a[u>>0]=((y+w|0)>>>31)+255&((y+w|0)>255?255:y+w|0);a[x>>0]=((v-w|0)>>>31)+255&((v-w|0)>255?255:v-w|0);g=g+1|0;if((g|0)==8)break;else i=i+m|0}}i=f+q|0;if((i|0)<(s|0))if(!(c[n+(i<<2)>>2]&1)){i=0;do{y=j+(i+(b+(m<<3)))|0;w=j+(b+(m<<3)-m+i)|0;v=d[w>>0]|0;x=c[e+(((d[j+(b+(m<<3)-(m<<1)+i)>>0]|0)+4-(d[j+(b+(m<<3)+m+i)>>0]|0)+(((d[y>>0]|0)-v|0)*3|0)>>3)+127<<2)>>2]|0;a[w>>0]=((v+x|0)>>>31)+255&((v+x|0)>255?255:v+x|0);x=(d[y>>0]|0)-x|0;a[y>>0]=(x>>>31)+255&((x|0)>255?255:x);i=i+1|0}while((i|0)!=8)}}if((h|0)<(k|0))f=h;else break a}}while(1){if(!(c[n+(f<<2)>>2]&1))h=f+1|0;else{b=c[o+(f<<2)>>2]|0;if((f|0)>(l|0)){h=j+(b+-2)|0;i=0;while(1){y=h+2|0;w=d[y>>0]|0;v=h+1|0;u=d[v>>0]|0;x=c[e+(((d[h>>0]|0)+4-(d[h+3>>0]|0)+((w-u|0)*3|0)>>3)+127<<2)>>2]|0;a[v>>0]=((u+x|0)>>>31)+255&((u+x|0)>255?255:u+x|0);a[y>>0]=((w-x|0)>>>31)+255&((w-x|0)>255?255:w-x|0);i=i+1|0;if((i|0)==8)break;else h=h+m|0}}h=0;do{y=j+(h+b)|0;w=j+(b-m+h)|0;v=d[w>>0]|0;x=c[e+(((d[j+(b-(m<<1)+h)>>0]|0)+4-(d[j+(b+m+h)>>0]|0)+(((d[y>>0]|0)-v|0)*3|0)>>3)+127<<2)>>2]|0;a[w>>0]=((v+x|0)>>>31)+255&((v+x|0)>255?255:v+x|0);x=(d[y>>0]|0)-x|0;a[y>>0]=(x>>>31)+255&((x|0)>255?255:x);h=h+1|0}while((h|0)!=8);h=f+1|0;if((h|0)<(k|0))if(!(c[n+(h<<2)>>2]&1)){i=j+(b+6)|0;g=0;while(1){y=i+2|0;w=d[y>>0]|0;v=i+1|0;u=d[v>>0]|0;x=c[e+(((d[i>>0]|0)+4-(d[i+3>>0]|0)+((w-u|0)*3|0)>>3)+127<<2)>>2]|0;a[v>>0]=((u+x|0)>>>31)+255&((u+x|0)>255?255:u+x|0);a[y>>0]=((w-x|0)>>>31)+255&((w-x|0)>255?255:w-x|0);g=g+1|0;if((g|0)==8)break;else i=i+m|0}}i=f+q|0;if((i|0)<(s|0))if(!(c[n+(i<<2)>>2]&1)){i=0;do{y=j+(i+(b+(m<<3)))|0;w=j+(b+(m<<3)-m+i)|0;v=d[w>>0]|0;x=c[e+(((d[j+(b+(m<<3)-(m<<1)+i)>>0]|0)+4-(d[j+(b+(m<<3)+m+i)>>0]|0)+(((d[y>>0]|0)-v|0)*3|0)>>3)+127<<2)>>2]|0;a[w>>0]=((v+x|0)>>>31)+255&((v+x|0)>255?255:v+x|0);x=(d[y>>0]|0)-x|0;a[y>>0]=(x>>>31)+255&((x|0)>255?255:x);i=i+1|0}while((i|0)!=8)}}if((h|0)<(k|0))f=h;else break}}while(0)}while((k|0)<(t+p|0));return}function ZQa(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0;if(!e){b=-1;return b|0}g=c[e+4>>2]|0;if(g&15|0){b=-10;return b|0}j=c[e+8>>2]|0;if((j+-1|0)>>>0>1048574|((g+-1|0)>>>0>1048574|(j&15|0)!=0)){b=-10;return b|0}i=c[e+20>>2]|0;if(((c[e+12>>2]|0)+i|0)>>>0>g>>>0){b=-10;return b|0}g=c[e+24>>2]|0;h=c[e+16>>2]|0;if(i>>>0>255|(h+g|0)>>>0>j>>>0){b=-10;return b|0}if((j-g-h|0)>>>0>255){b=-10;return b|0}if((c[e+44>>2]|0)>>>0>2){b=-10;return b|0}if((c[e+48>>2]|0)>>>0>3){b=-10;return b|0}hBb(b|0,0,51552)|0;x=b;i=e;y=x+64|0;do{c[x>>2]=c[i>>2];x=x+4|0;i=i+4|0}while((x|0)<(y|0));c[b+24>>2]=(c[e+8>>2]|0)-(c[e+16>>2]|0)-(c[e+24>>2]|0);a[b+792>>0]=-1;c[b+64>>2]=101;c[b+68>>2]=102;c[b+72>>2]=39;c[b+76>>2]=8;c[b+80>>2]=219;c[b+84>>2]=48;c[b+88>>2]=49;c[b+92>>2]=50;c[b+96>>2]=4;c[b+100>>2]=527268;j=(c[b+4>>2]|0)>>>3;o=(c[b+8>>2]|0)>>>3;h=c[b+48>>2]|0;g=((h&1^1)+j|0)>>>(h&1^1);h=((h>>>1&1^1)+o|0)>>>(h>>>1&1^1);l=_(o,j)|0;m=_(h,g)|0;k=_((o+3|0)>>>2,(j+3|0)>>>2)|0;i=_(h+3>>2,g+3>>2)|0;do if((m|0)<0|(m<<1|0)<(m|0))g=-23;else if((k&1073741823|0)==(k|0)&((((i<<1)+k|0)>>>0>>0|(i<<1>>>0>>0?1:((k>>>0)/((j+3|0)>>>2>>>0)|0|0)!=((o+3|0)>>>2|0)))^1)){c[b+108>>2]=j;c[b+112>>2]=o;c[b+116>>2]=0;c[b+120>>2]=l;c[b+124>>2]=(j+3|0)>>>2;c[b+128>>2]=(o+3|0)>>>2;c[b+132>>2]=0;c[b+136>>2]=k;c[b+172>>2]=g;c[b+140>>2]=g;c[b+176>>2]=h;c[b+144>>2]=h;c[b+148>>2]=l;c[b+180>>2]=m+l;c[b+184>>2]=m;c[b+152>>2]=m;c[b+188>>2]=g+3>>2;c[b+156>>2]=g+3>>2;c[b+192>>2]=h+3>>2;c[b+160>>2]=h+3>>2;c[b+164>>2]=k;c[b+196>>2]=i+k;c[b+200>>2]=i;c[b+168>>2]=i;c[b+216>>2]=(m<<1)+l;M=Xpb((m<<1)+l|0,4)|0;c[b+204>>2]=M;N=Vpb((m<<1)+l<<1)|0;c[b+212>>2]=N;c[b+228>>2]=(i<<1)+k;n=Vpb((i<<1)+k<<6)|0;c[b+220>>2]=n;i=Xpb((i<<1)+k|0,1)|0;c[b+224>>2]=i;c[b+240>>2]=(j+3|0)>>>2<<1;c[b+244>>2]=(o+3|0)>>>2<<1;c[b+248>>2]=k<<2;O=Xpb(k<<2,48)|0;c[b+232>>2]=O;h=Xpb(k<<2,1)|0;c[b+236>>2]=h;g=Vpb((m<<1)+l<<2)|0;c[b+252>>2]=g;if((M|0)==0|(N|0)==0|(n|0)==0|(i|0)==0|(O|0)==0)g=-1;else if((h|0)==0|(g|0)==0)g=-1;else{w=0;v=i;i=0;g=0;while(1){t=c[b+108+(g<<5)>>2]|0;h=0;u=0;s=i;while(1){i=o-u|0;if((i|0)>4)i=4;else if((i|0)<1)break;r=(i|0)>0;q=0;while(1){j=t-q|0;if((j|0)>4)j=4;else if((j|0)<1)break;p=h+w|0;x=n+(p<<6)|0;y=x+64|0;do{c[x>>2]=-1;x=x+4|0}while((x|0)<(y|0));if(r){k=0;m=q+s|0;while(1){l=0;do{c[n+(p<<6)+(c[46152+(k<<5)+(l<<3)>>2]<<4)+(c[46152+(k<<5)+(l<<3)+4>>2]<<2)>>2]=l+m;l=l+1|0}while((l|0)!=(j|0));k=k+1|0;if((k|0)==(i|0))break;else m=m+t|0}}O=v+p|0;N=a[O>>0]|0;M=(((N&255)>>>2&255|(c[n+(p<<6)>>2]|0)>>>31^1)&255)<<2&60|N&-61;a[O>>0]=M;M=(((M&255)>>>2&255|(c[n+(p<<6)+16>>2]|0)>>>31<<1^2)&255)<<2&60|N&-61;a[O>>0]=M;M=(((M&255)>>>2&255|(c[n+(p<<6)+32>>2]|0)>>>31<<2^4)&255)<<2&60|N&-61;a[O>>0]=M;a[O>>0]=(((M&255)>>>2&255|(c[n+(p<<6)+56>>2]|0)>>>31<<3^8)&255)<<2&60|N&-61;h=h+1|0;q=q+4|0}u=u+4|0;s=s+(t<<2)|0}g=g+1|0;if((g|0)==3)break;o=c[b+108+(g<<5)+4>>2]|0;w=c[b+108+(g<<5)+24>>2]|0;n=c[b+220>>2]|0;v=c[b+224>>2]|0;i=c[b+108+(g<<5)+8>>2]|0}r=c[b+232>>2]|0;s=c[b+236>>2]|0;t=c[46280+(c[b+48>>2]<<2)>>2]|0;g=c[b+112>>2]|0;if((g|0)>0){h=c[b+108>>2]|0;i=0;q=0;do{if((h|0)>0){p=0;do{j=i<<2;k=p|1;l=p|2;m=p|3;o=0;do{n=o<<1|q;h=d[527396+(o<<1)>>0]|j;x=r+(h*48|0)|0;y=x+48|0;do{c[x>>2]=-1;x=x+4|0}while((x|0)<(y|0));g=c[b+108>>2]|0;do if((p|0)<(g|0)){if((n|0)>=(c[b+112>>2]|0)){P=35;break}c[r+(h*48|0)>>2]=(_(g,n)|0)+p;c[r+(h*48|0)+4>>2]=(_(c[b+108>>2]|0,n)|0)+k;c[r+(h*48|0)+8>>2]=(_(c[b+108>>2]|0,n|1)|0)+p;c[r+(h*48|0)+12>>2]=(_(c[b+108>>2]|0,n|1)|0)+k;kj[t&127](r+(h*48|0)|0,b+108|0,p,n)}else P=35;while(0);if((P|0)==35){P=0;a[s+h>>0]=-1}h=d[527396+(o<<1)+1>>0]|j;x=r+(h*48|0)|0;y=x+48|0;do{c[x>>2]=-1;x=x+4|0}while((x|0)<(y|0));g=c[b+108>>2]|0;do if((l|0)<(g|0)){if((n|0)>=(c[b+112>>2]|0)){P=42;break}c[r+(h*48|0)>>2]=(_(g,n)|0)+l;c[r+(h*48|0)+4>>2]=(_(c[b+108>>2]|0,n)|0)+m;c[r+(h*48|0)+8>>2]=(_(c[b+108>>2]|0,n|1)|0)+l;c[r+(h*48|0)+12>>2]=(_(c[b+108>>2]|0,n|1)|0)+m;kj[t&127](r+(h*48|0)|0,b+108|0,l,n)}else P=42;while(0);if((P|0)==42){P=0;a[s+h>>0]=-1}o=o+1|0}while((o|0)!=2);p=p+4|0;i=i+1|0;h=c[b+108>>2]|0}while((p|0)<(h|0));g=c[b+112>>2]|0}q=q+4|0}while((q|0)<(g|0))}c[b+508>>2]=0;O=c[b+204>>2]|0;g=O;N=0;do{h=c[b+20>>2]|0;i=(c[b+12>>2]|0)+h|0;k=c[b+24>>2]|0;l=(c[b+16>>2]|0)+k|0;if((N|0)>0){j=c[b+48>>2]|0;if(!(j&1)){h=h>>1;i=i+1>>1}if(!(j&2)){k=k>>1;l=l+1>>1}}O=O+(c[b+108+(N<<5)+12>>2]<<2)|0;if(g>>>0>>0){K=b+108+(N<<5)|0;L=(h|0)<(i|0);M=(k|0)<(l|0);I=0;while(1){J=c[K>>2]|0;A=g+(J<<2)|0;if((J|0)>0){j=I+8|0;B=(j|0)>(k|0);D=(l|0)>(I|0);F=(I|0)<(k|0)&B;G=D&(l|0)<(j|0);J=g+4|0;J=(A>>>0>J>>>0?A:J)+~g|0;E=g;H=0;do{m=H;H=H+8|0;do if((i|0)<=(m|0)|(H|0)<=(h|0)|M&(L&(D&B))^1)c[E>>2]=c[E>>2]|2;else{t=(m|0)<(h|0);if(!(G|(F|(t|(i|0)<(H|0))))){c[E>>2]=c[E>>2]|63488;break}u=(m|1|0)>=(i|0)|(m|1|0)<(h|0);v=(m|2|0)>=(i|0)|(m|2|0)<(h|0);w=(m|3|0)>=(i|0)|(m|3|0)<(h|0);x=(m|4|0)>=(i|0)|(m|4|0)<(h|0);y=(m|5|0)>=(i|0)|(m|5|0)<(h|0);z=(m|6|0)>=(i|0)|(m|6|0)<(h|0);s=(m|7|0)>=(i|0)|(m|7|0)<(h|0);q=0;p=0;r=0;o=0;do{n=r+I|0;m=r<<3;n=(n|0)>=(l|0)|(n|0)<(k|0);if(!(t|n)){Q=pBb(1,0,m|0)|0;q=Q|q;p=C|p;o=o+1|0}if(!(u|n)){Q=pBb(1,0,m|1|0)|0;q=q|Q;p=p|C;o=o+1|0}if(!(v|n)){Q=pBb(1,0,m|2|0)|0;q=q|Q;p=p|C;o=o+1|0}if(!(w|n)){Q=pBb(1,0,m|3|0)|0;q=q|Q;p=p|C;o=o+1|0}if(!(x|n)){Q=pBb(1,0,m|4|0)|0;q=q|Q;p=p|C;o=o+1|0}if(!(y|n)){Q=pBb(1,0,m|5|0)|0;q=q|Q;p=p|C;o=o+1|0}if(!(z|n)){Q=pBb(1,0,m|6|0)|0;q=q|Q;p=p|C;o=o+1|0}if(!(s|n)){Q=pBb(1,0,m|7|0)|0;q=q|Q;p=p|C;o=o+1|0}r=r+1|0}while((r|0)!=8);n=c[b+508>>2]|0;a:do if((n|0)>0){m=0;while(1){Q=b+512+(m<<4)|0;if((c[Q>>2]|0)==(q|0)?(c[Q+4>>2]|0)==(p|0):0)break a;m=m+1|0;if((m|0)>=(n|0)){P=64;break}}}else{m=0;P=64}while(0);if((P|0)==64){P=0;c[b+508>>2]=n+1;Q=b+512+(m<<4)|0;c[Q>>2]=q;c[Q+4>>2]=p;c[b+512+(m<<4)+8>>2]=o}c[E>>2]=c[E>>2]&-63489|m<<11&63488}while(0);E=E+4|0}while(E>>>0>>0);g=g+((J>>>2)+1<<2)|0}else j=I+8|0;if(g>>>0>>0)I=j;else break}}N=N+1|0}while((N|0)!=3);if((f+-3|0)>>>0>1)g=-10;else{h=c[b+48>>2]|0;j=c[b+4>>2]|0;i=c[b+8>>2]|0;k=j+32>>(h&1^1);l=_(i+32|0,j+32|0)|0;m=_(i+32>>(h>>>1&1^1),k)|0;n=(_(16>>>(h>>>1&1^1),k)|0)+(16>>>(h&1^1))|0;g=_((m<<1)+l|0,f)|0;if((m<<1>>>0>>0?1:((l>>>0)/((j+32|0)>>>0)|0|0)!=(i+32|0))|((m<<1)+l|0)>>>0>>0)g=-23;else if(((g>>>0)/(f>>>0)|0|0)==((m<<1)+l|0)){g=Vpb(g)|0;p=Vpb(c[b+216>>2]<<2)|0;c[b+208>>2]=p;if((g|0)==0|(p|0)==0){Wpb(p);Wpb(g);g=-1;break}c[b+288>>2]=j;c[b+292>>2]=i;c[b+296>>2]=j+32;c[b+320>>2]=j>>>(h&1^1);c[b+304>>2]=j>>>(h&1^1);c[b+324>>2]=i>>>(h>>>1&1^1);c[b+308>>2]=i>>>(h>>>1&1^1);c[b+328>>2]=k;c[b+312>>2]=k;if((f|0)>1){h=1;do{x=b+288+(h*48|0)|0;i=b+288|0;y=x+48|0;do{c[x>>2]=c[i>>2];x=x+4|0;i=i+4|0}while((x|0)<(y|0));h=h+1|0}while((h|0)!=(f|0))}if((f|0)>0){h=0;while(1){c[b+480+(h<<2)>>2]=g;Q=b+288+(h*48|0)|0;c[b+288+(h*48|0)+12>>2]=g+((j+32<<4)+16);c[b+288+(h*48|0)+28>>2]=g+(n+l);c[b+288+(h*48|0)+44>>2]=g+(m+l+n);UQa(Q,Q);h=h+1|0;if((h|0)==(f|0))break;else g=g+(m+l+m)|0}}c[b+496>>2]=-32-j;c[b+504>>2]=0-k;c[b+500>>2]=0-k;o=c[b+480>>2]|0;k=(c[b+120>>2]|0)+(c[b+116>>2]|0)|0;l=c[b+108>>2]|0;if((k|0)>0){m=c[b+296>>2]<<3;g=0;n=c[b+300>>2]|0;while(1){i=g+l|0;if((l|0)>0){j=g+1|0;h=n;while(1){c[p+(g<<2)>>2]=h-o;g=g+1|0;if((g|0)>=(i|0))break;else h=h+8|0}g=(i|0)>(j|0)?i:j}if((g|0)<(k|0))n=n+m|0;else break}}else g=0;l=(c[b+152>>2]|0)+(c[b+148>>2]|0)|0;m=c[b+140>>2]|0;if((g|0)<(l|0)){n=c[b+312>>2]<<3;k=c[b+316>>2]|0;while(1){i=g+m|0;if((m|0)>0){j=g+1|0;h=k;while(1){c[p+(g<<2)>>2]=h-o;g=g+1|0;if((g|0)>=(i|0))break;else h=h+8|0}g=(i|0)>(j|0)?i:j}if((g|0)<(l|0))k=k+n|0;else break}}l=(c[b+184>>2]|0)+(c[b+180>>2]|0)|0;m=c[b+172>>2]|0;if((g|0)<(l|0)){n=c[b+328>>2]<<3;k=c[b+332>>2]|0;while(1){i=g+m|0;if((m|0)>0){j=g+1|0;h=k;while(1){c[p+(g<<2)>>2]=h-o;g=g+1|0;if((g|0)>=(i|0))break;else h=h+8|0}g=(i|0)>(j|0)?i:j}if((g|0)<(l|0))k=k+n|0;else break}}c[b+280>>2]=-1;c[b+276>>2]=-1;c[b+272>>2]=-1;c[b+284>>2]=(f|0)>3?3:-1;if((c[e+60>>2]|0)>>>0>31)c[b+60>>2]=31;c[b+768>>2]=0;c[b+768+4>>2]=0;c[b+776>>2]=-1;c[b+776+4>>2]=-1;g=a[e>>0]|0;do if((g&255)>3)g=1;else{if(g<<24>>24!=3){g=0;break}g=a[e+1>>0]|0;if((g&255)>2){g=1;break}if(g<<24>>24!=2){g=0;break}g=(a[e+2>>0]|0)!=0&1}while(0);a[b+793>>0]=g;Q=0;return Q|0}else g=-23}}}else g=-23;while(0);Wpb(c[b+252>>2]|0);Wpb(c[b+236>>2]|0);Wpb(c[b+232>>2]|0);Wpb(c[b+224>>2]|0);Wpb(c[b+220>>2]|0);Wpb(c[b+212>>2]|0);Wpb(c[b+204>>2]|0);Q=g;return Q|0}function _Qa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;e=(_(c[b+32>>2]|0,e>>1)|0)+(d>>1)|0;c[a+16>>2]=e+(c[b+40>>2]|0);c[a+32>>2]=e+(c[b+72>>2]|0);return}function $Qa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;e=(_(c[b+32>>2]|0,e>>1)|0)+d|0;c[a+16>>2]=(c[b+40>>2]|0)+e;c[a+32>>2]=(c[b+72>>2]|0)+e;c[a+20>>2]=(c[b+40>>2]|0)+(e+1);c[a+36>>2]=(c[b+72>>2]|0)+(e+1);return}function aRa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;e=(_(c[b+32>>2]|0,e)|0)+(d>>1)|0;c[a+16>>2]=(c[b+40>>2]|0)+e;c[a+32>>2]=(c[b+72>>2]|0)+e;e=(c[b+32>>2]|0)+e|0;c[a+24>>2]=(c[b+40>>2]|0)+e;c[a+40>>2]=(c[b+72>>2]|0)+e;return}function bRa(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;c[a+16>>2]=(c[b+40>>2]|0)+d;c[a+32>>2]=(c[b+72>>2]|0)+d;d=c[a+4>>2]|0;c[a+20>>2]=(c[b+40>>2]|0)+d;c[a+36>>2]=(c[b+72>>2]|0)+d;d=c[a+8>>2]|0;c[a+24>>2]=(c[b+40>>2]|0)+d;c[a+40>>2]=(c[b+72>>2]|0)+d;d=c[a+12>>2]|0;c[a+28>>2]=(c[b+40>>2]|0)+d;c[a+44>>2]=(c[b+72>>2]|0)+d;return}function cRa(a){a=a|0;Wpb(c[a+208>>2]|0);Wpb(c[a+480>>2]|0);Wpb(c[a+252>>2]|0);Wpb(c[a+236>>2]|0);Wpb(c[a+232>>2]|0);Wpb(c[a+224>>2]|0);Wpb(c[a+220>>2]|0);Wpb(c[a+212>>2]|0);Wpb(c[a+204>>2]|0);return}function dRa(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0;if(!e)h=0;else h=(c[b+48>>2]&1|0)==0;j=16>>>(h&1);k=c[b+288+(d*48|0)+(e<<4)+8>>2]|0;i=c[b+288+(d*48|0)+(e<<4)+12>>2]|0;h=_(k,f)|0;f=_(k,g)|0;if((h|0)==(f|0))return;g=i+h|0;h=i+(h+-1+(c[b+288+(d*48|0)+(e<<4)>>2]|0))|0;while(1){hBb(g+(0-j)|0,a[g>>0]|0,j|0)|0;hBb(h+1|0,a[h>>0]|0,j|0)|0;g=g+k|0;if((g|0)==(i+f|0))break;else h=h+k|0}return}function eRa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;if(!d){h=16;e=0}else{e=c[a+48>>2]|0;h=16>>>(e&1^1);e=(e&2|0)==0}i=c[a+288+(b*48|0)+(d<<4)+8>>2]|0;j=(c[a+288+(b*48|0)+(d<<4)>>2]|0)+(h<<1)|0;k=c[a+288+(b*48|0)+(d<<4)+12>>2]|0;f=0-h|0;g=0-(h+(_(16>>>(e&1),i)|0))|0;if((f|0)==(g|0))return;f=k+f|0;e=k+((_((c[a+288+(b*48|0)+(d<<4)+4>>2]|0)+-1|0,i)|0)-h)|0;do{a=f;f=f+(0-i)|0;mBb(f|0,a|0,j|0)|0;a=e;e=e+i|0;mBb(e|0,a|0,j|0)|0}while((f|0)!=(k+g|0));return}function fRa(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;Ii[c[a+84>>2]&63](a,b,d,e,f,g);return}function gRa(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;Ii[c[a+88>>2]&63](a,b,d,e,f,g);return}function hRa(b,e){b=b|0;e=e|0;var f=0,g=0;f=a[(d[b+795>>0]|0)+(b+51488)>>0]|0;if(!(f<<24>>24)){e=1;return e|0}hBb(e|0,0,1024)|0;g=0;do{b=127-g|0;if((b-(f&255)|0)>-1)c[e+(b-(f&255)<<2)>>2]=g-(f&255);c[e+(b<<2)>>2]=0-g;b=g+127|0;c[e+(b<<2)>>2]=g;if((b+(f&255)|0)<256)c[e+(b+(f&255)<<2)>>2]=(f&255)-g;g=g+1|0}while((g|0)!=(f&255|0));b=0;return b|0}function iRa(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;Ii[c[a+92>>2]&63](a,b,d,e,f,g);return}function jRa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0.0;if(!((e|0)>-1|(e|0)==-1&d>>>0>4294967295)){l=-1.0;return +l}i=c[b+60>>2]|0;k=sBb(d|0,e|0,i|0)|0;h=C;i=pBb(k|0,h|0,i|0)|0;j=C;f=a[b>>0]|0;if((f&255)>3){f=1;g=0}else if(f<<24>>24==3){f=a[b+1>>0]|0;if((f&255)>2){f=1;g=0}else if(f<<24>>24==2){f=(a[b+2>>0]|0)!=0&1;g=0}else{f=0;g=0}}else{f=0;g=0}e=jBb(d|0,e|0,1,0)|0;k=jBb(e|0,C|0,k|0,h|0)|0;k=qBb(k|0,C|0,i|0,j|0)|0;k=qBb(k|0,C|0,f|0,g|0)|0;l=(+(k>>>0)+4294967296.0*+(C|0))*(+((c[b+32>>2]|0)>>>0)/+((c[b+28>>2]|0)>>>0));return +l}function kRa(a,b,d){a=a|0;b=b|0;d=d|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[a+4>>2]=b;c[a+8>>2]=b+d;return}function lRa(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=c[a+12>>2]|0;if(!b){b=0;return b|0}e=c[a>>2]|0;if((f|0)<(b|0)){h=c[a+4>>2]|0;i=c[a+8>>2]|0;if((f|0)<25&h>>>0>>0){l=(h-i|0)>>>0>~((24-f|0)>>>3)>>>0?h-i|0:~((24-f|0)>>>3);g=0-((h-i|0)>>>0>~((24-f|0)>>>3)>>>0?h-i|0:~((24-f|0)>>>3))|0;j=f;k=h;while(1){e=(d[k>>0]|0)<<24-j|e;k=k+1|0;if((k|0)==(h+(0-l)|0))break;else j=j+8|0}g=(h+g|0)>>>0>>0;f=f-(l<<3)|0;h=h+(0-l)|0}else g=h>>>0>>0;c[a+4>>2]=h;do if((f|0)<(b|0))if(g){g=f;e=(d[h>>0]|0)>>>(f&7)|e;break}else{c[a+16>>2]=1;g=1073741824;break}else g=f;while(0);c[a+12>>2]=g;f=g}c[a+12>>2]=f-b;c[a>>2]=e<<1<>>(32-b|0);return b|0}function mRa(a){a=a|0;var b=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;b=c[a>>2]|0;i=c[a+12>>2]|0;if((i|0)>=1){j=i;k=b;l=k>>>31;j=j+-1|0;k=k<<1;c[a+12>>2]=j;c[a>>2]=k;return l|0}j=c[a+4>>2]|0;f=c[a+8>>2]|0;if(j>>>0>>0){k=(j-f|0)>>>0>~((24-i|0)>>>3)>>>0?j-f|0:~((24-i|0)>>>3);e=0-((j-f|0)>>>0>~((24-i|0)>>>3)>>>0?j-f|0:~((24-i|0)>>>3))|0;g=i;h=j;while(1){b=(d[h>>0]|0)<<24-g|b;h=h+1|0;if((h|0)==(j+(0-k)|0))break;else g=g+8|0}c[a+4>>2]=j+(0-k);if((i-(k<<3)|0)<1)if((j+e|0)>>>0>>0){e=i-(k<<3)|0;b=(d[j+(0-k)>>0]|0)>>>(i-(k<<3)&7)|b}else l=8;else e=i-(k<<3)|0}else{c[a+4>>2]=j;l=8}if((l|0)==8){c[a+16>>2]=1;e=1073741824}c[a+12>>2]=e;j=e;k=b;l=k>>>31;j=j+-1|0;k=k<<1;c[a+12>>2]=j;c[a>>2]=k;return l|0}function nRa(a){a=a|0;if(c[a+16>>2]|0){a=-1;return a|0}a=(c[a+8>>2]|0)-(c[a+4>>2]|0)+(c[a+12>>2]>>3)|0;return a|0}function oRa(a,b,d){a=a|0;b=b|0;d=d|0;si[c[a+80>>2]&511](b,d);return}function pRa(a,c){a=a|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0;f=i;i=i+128|0;if((c|0)<3){d=b[a+16>>1]|0;e=(b[a>>1]|0)*46341>>16;c=b[a+2>>1]|0;g=((c*64277>>16)*46341>>16)+((c*12785>>16)*46341>>16)|0;h=((c*64277>>16)*46341>>16)-((c*12785>>16)*46341>>16)|0;b[f>>1]=(c*64277>>16)+e;b[f+16>>1]=g+e;b[f+32>>1]=h+e;b[f+48>>1]=(c*12785>>16)+e;b[f+64>>1]=e-(c*12785>>16);b[f+80>>1]=e-h;b[f+96>>1]=e-g;b[f+112>>1]=e-(c*64277>>16);b[f+114>>1]=((d<<16>>16)*46341|0)>>>16;b[f+98>>1]=((d<<16>>16)*46341|0)>>>16;b[f+82>>1]=((d<<16>>16)*46341|0)>>>16;b[f+66>>1]=((d<<16>>16)*46341|0)>>>16;b[f+50>>1]=((d<<16>>16)*46341|0)>>>16;b[f+34>>1]=((d<<16>>16)*46341|0)>>>16;b[f+18>>1]=((d<<16>>16)*46341|0)>>>16;b[f+2>>1]=((d<<16>>16)*46341|0)>>>16;e=(c*64277>>16)+e&65535;c=f;d=a;while(1){g=(e<<16>>16)*46341>>16;h=b[c+2>>1]|0;e=((h*64277>>16)*46341>>16)+((h*12785>>16)*46341>>16)|0;j=((h*64277>>16)*46341>>16)-((h*12785>>16)*46341>>16)|0;b[d>>1]=(h*64277>>16)+g;b[d+16>>1]=e+g;b[d+32>>1]=j+g;b[d+48>>1]=(h*12785>>16)+g;b[d+64>>1]=g-(h*12785>>16);b[d+80>>1]=g-j;b[d+96>>1]=g-e;b[d+112>>1]=g-(h*64277>>16);c=c+16|0;d=d+2|0;if(d>>>0>=(a+16|0)>>>0)break;e=b[c>>1]|0}c=a;do{b[c>>1]=((b[c>>1]|0)+8|0)>>>4;c=c+2|0}while(c>>>0<(a+128|0)>>>0);i=f;return}if((c|0)>=10){qRa(f,a);qRa(f+2|0,a+16|0);qRa(f+4|0,a+32|0);qRa(f+6|0,a+48|0);qRa(f+8|0,a+64|0);qRa(f+10|0,a+80|0);qRa(f+12|0,a+96|0);qRa(f+14|0,a+112|0);qRa(a,f);qRa(a+2|0,f+16|0);qRa(a+4|0,f+32|0);qRa(a+6|0,f+48|0);qRa(a+8|0,f+64|0);qRa(a+10|0,f+80|0);qRa(a+12|0,f+96|0);qRa(a+14|0,f+112|0);c=a;do{b[c>>1]=((b[c>>1]|0)+8|0)>>>4;c=c+2|0}while(c>>>0<(a+128|0)>>>0);i=f;return}d=(b[a>>1]|0)*46341>>16;h=b[a+4>>1]|0;c=b[a+2>>1]|0;j=b[a+6>>1]|0;g=(((c*64277>>16)-(j*54491>>16)<<16>>16)*46341>>16)+(((j*36410>>16)+(c*12785>>16)<<16>>16)*46341>>16)|0;e=(((c*64277>>16)-(j*54491>>16)<<16>>16)*46341>>16)-(((j*36410>>16)+(c*12785>>16)<<16>>16)*46341>>16)|0;b[f>>1]=(j*54491>>16)+(c*64277>>16)+((h*60547>>16)+d);b[f+16>>1]=g+((h*25080>>16)+d);b[f+32>>1]=e+(d-(h*25080>>16));b[f+48>>1]=(c*12785>>16)-(j*36410>>16)+(d-(h*60547>>16));b[f+64>>1]=d-(h*60547>>16)-((c*12785>>16)-(j*36410>>16));b[f+80>>1]=d-(h*25080>>16)-e;b[f+96>>1]=(h*25080>>16)+d-g;b[f+112>>1]=(h*60547>>16)+d-((j*54491>>16)+(c*64277>>16));c=(b[a+16>>1]|0)*46341>>16;j=b[a+20>>1]|0;d=b[a+18>>1]|0;h=((d*64277>>16)*46341>>16)+((d*12785>>16)*46341>>16)|0;g=((d*64277>>16)*46341>>16)-((d*12785>>16)*46341>>16)|0;b[f+2>>1]=(j*60547>>16)+c+(d*64277>>16);b[f+18>>1]=h+((j*25080>>16)+c);b[f+34>>1]=g+(c-(j*25080>>16));b[f+50>>1]=c-(j*60547>>16)+(d*12785>>16);b[f+66>>1]=c-(j*60547>>16)-(d*12785>>16);b[f+82>>1]=c-(j*25080>>16)-g;b[f+98>>1]=(j*25080>>16)+c-h;b[f+114>>1]=(j*60547>>16)+c-(d*64277>>16);d=(b[a+32>>1]|0)*46341>>16;c=b[a+34>>1]|0;j=((c*64277>>16)*46341>>16)+((c*12785>>16)*46341>>16)|0;h=((c*64277>>16)*46341>>16)-((c*12785>>16)*46341>>16)|0;b[f+4>>1]=(c*64277>>16)+d;b[f+20>>1]=j+d;b[f+36>>1]=h+d;b[f+52>>1]=(c*12785>>16)+d;b[f+68>>1]=d-(c*12785>>16);b[f+84>>1]=d-h;b[f+100>>1]=d-j;b[f+116>>1]=d-(c*64277>>16);c=((b[a+48>>1]|0)*46341|0)>>>16&65535;b[f+118>>1]=c;b[f+102>>1]=c;b[f+86>>1]=c;b[f+70>>1]=c;b[f+54>>1]=c;b[f+38>>1]=c;b[f+22>>1]=c;b[f+6>>1]=c;c=f;d=a;while(1){g=(b[c>>1]|0)*46341>>16;e=b[c+4>>1]|0;j=b[c+2>>1]|0;h=b[c+6>>1]|0;k=(((j*64277>>16)-(h*54491>>16)<<16>>16)*46341>>16)+(((h*36410>>16)+(j*12785>>16)<<16>>16)*46341>>16)|0;l=(((j*64277>>16)-(h*54491>>16)<<16>>16)*46341>>16)-(((h*36410>>16)+(j*12785>>16)<<16>>16)*46341>>16)|0;b[d>>1]=(h*54491>>16)+(j*64277>>16)+((e*60547>>16)+g);b[d+16>>1]=k+((e*25080>>16)+g);b[d+32>>1]=l+(g-(e*25080>>16));b[d+48>>1]=(j*12785>>16)-(h*36410>>16)+(g-(e*60547>>16));b[d+64>>1]=g-(e*60547>>16)-((j*12785>>16)-(h*36410>>16));b[d+80>>1]=g-(e*25080>>16)-l;b[d+96>>1]=(e*25080>>16)+g-k;b[d+112>>1]=(e*60547>>16)+g-((h*54491>>16)+(j*64277>>16));d=d+2|0;if(d>>>0>=(a+16|0)>>>0)break;else c=c+16|0}c=a;do{b[c>>1]=((b[c>>1]|0)+8|0)>>>4;c=c+2|0}while(c>>>0<(a+128|0)>>>0);i=f;return}function qRa(a,c){a=a|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;m=b[c>>1]|0;l=b[c+8>>1]|0;k=b[c+4>>1]|0;h=b[c+12>>1]|0;j=b[c+2>>1]|0;g=b[c+14>>1]|0;f=b[c+10>>1]|0;d=b[c+6>>1]|0;i=(f*54491>>16)-(d*36410>>16)+((j*12785>>16)-(g*64277>>16))|0;e=((j*12785>>16)-(g*64277>>16)-((f*54491>>16)-(d*36410>>16))<<16>>16)*46341>>16;c=(d*54491>>16)+(f*36410>>16)+((g*12785>>16)+(j*64277>>16))|0;f=((g*12785>>16)+(j*64277>>16)-((d*54491>>16)+(f*36410>>16))<<16>>16)*46341>>16;d=((l+m<<16>>16)*46341>>16)+((h*25080>>16)+(k*60547>>16))|0;j=((l+m<<16>>16)*46341>>16)-((h*25080>>16)+(k*60547>>16))|0;g=((m-l<<16>>16)*46341>>16)+((k*25080>>16)-(h*60547>>16))|0;h=((m-l<<16>>16)*46341>>16)-((k*25080>>16)-(h*60547>>16))|0;b[a>>1]=c+d;b[a+16>>1]=f+e+g;b[a+32>>1]=f-e+h;b[a+48>>1]=i+j;b[a+64>>1]=j-i;b[a+80>>1]=h-(f-e);b[a+96>>1]=g-(f+e);b[a+112>>1]=d-c;return}function rRa(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((c[b+72>>2]|0)!=1651078259){b=18;return b|0}c[a+20>>2]=c[b+100>>2];c[a+24>>2]=c[b+104>>2];if(!(c[(c[b+156>>2]|0)+4>>2]&1)){z2a(a+28|0);b=A2a(d,b+76|0,a+28|0)|0;return b|0}else{c[a+28>>2]=c[b+76>>2];c[a+28+4>>2]=c[b+76+4>>2];c[a+28+8>>2]=c[b+76+8>>2];c[a+28+12>>2]=c[b+76+12>>2];c[a+28+16>>2]=c[b+76+16>>2];c[a+28+20>>2]=c[b+76+20>>2];b=(c[b+156>>2]|0)+4|0;c[b>>2]=c[b>>2]&-2;b=0;return b|0}return 0}function sRa(a){a=a|0;C2a(c[a>>2]|0,a+28|0)|0;return}function tRa(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;c[b+20>>2]=c[a+20>>2];c[b+24>>2]=c[a+24>>2];return A2a(d,a+28|0,b+28|0)|0}function uRa(a,b){a=a|0;b=b|0;var d=0;d=c[a+20>>2]<<6;c[b>>2]=d;c[b+8>>2]=(c[a+28+4>>2]<<6)+d;d=c[a+24>>2]<<6;c[b+12>>2]=d;c[b+4>>2]=d-(c[a+28>>2]<<6);return}function vRa(a,d){a=a|0;d=d|0;var e=0;if((c[d+72>>2]|0)!=1869968492){d=18;return d|0}e=DSa(c[a>>2]|0,b[d+110>>1]|0,b[d+108>>1]|0,a+20|0)|0;if(e|0){d=e;return d|0}FSa(d+108|0,a+20|0)|0;d=0;return d|0}function wRa(a){a=a|0;GSa(c[a>>2]|0,a+20|0)|0;return}function xRa(a,d){a=a|0;d=d|0;var e=0;e=DSa(c[a>>2]|0,b[a+20+2>>1]|0,b[a+20>>1]|0,d+20|0)|0;if(e|0)return e|0;FSa(a+20|0,d+20|0)|0;return e|0}function yRa(a,b,d){a=a|0;b=b|0;d=d|0;if(b|0)KSa(a+20|0,b);if(!d)return;ISa(a+20|0,c[d>>2]|0,c[d+4>>2]|0);return}function zRa(a,b){a=a|0;b=b|0;HSa(a+20|0,b);return}function ARa(a,b){a=a|0;b=b|0;c[b+72>>2]=1869968492;c[b+108>>2]=c[a+20>>2];c[b+108+4>>2]=c[a+20+4>>2];c[b+108+8>>2]=c[a+20+8>>2];c[b+108+12>>2]=c[a+20+12>>2];c[b+108+16>>2]=c[a+20+16>>2];c[b+124>>2]=c[b+124>>2]&-2;return 0}function BRa(a){a=a|0;var b=0,d=0;if(!a)return;b=c[c[a>>2]>>2]|0;d=c[(c[a+4>>2]|0)+12>>2]|0;if(d|0)Hi[d&1023](a);LTa(b,a);return}function CRa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;j=i;i=i+16|0;if(!a){b=37;i=j;return b|0}g=c[a>>2]|0;if(!b){b=6;i=j;return b|0}d=c[a+72>>2]|0;a:do if((d|0)<1869968492)switch(d|0){case 1651078259:{f=46296;break}default:e=5}else{switch(d|0){case 1869968492:break;default:{e=5;break a}}f=46328}while(0);if((e|0)==5){d=uSa(g,d,0)|0;if(!d){b=18;i=j;return b|0}else f=d+20|0}h=HTa(c[g>>2]|0,c[f>>2]|0,j)|0;d=c[j>>2]|0;if(d|0){b=d;i=j;return b|0}c[h>>2]=g;c[h+4>>2]=f;c[h+8>>2]=c[f+4>>2];c[h+12>>2]=c[a+64>>2]<<10;c[h+16>>2]=c[a+68>>2]<<10;f=Xi[c[f+8>>2]&511](h,a)|0;if(!f){c[b>>2]=h;b=0;i=j;return b|0}d=c[c[h>>2]>>2]|0;e=c[(c[h+4>>2]|0)+12>>2]|0;if(e|0)Hi[e&1023](h);LTa(d,h);b=f;i=j;return b|0}function DRa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+208|0;if(!a){l=6;i=m;return l|0}k=c[a>>2]|0;if(!k){l=6;i=m;return l|0}j=c[k+4>>2]|0;h=c[k>>2]|0;if(!((j|0)!=0&(h|0)!=0)){l=6;i=m;return l|0}if((j|0)==46296){l=0;i=m;return l|0}if(!(c[j+28>>2]|0)){l=6;i=m;return l|0}hBb(m+40|0,0,156)|0;f=m;g=f+40|0;do{c[f>>2]=0;f=f+4|0}while((f|0)<(g|0));c[m+40+156>>2]=m;c[m+40>>2]=h;c[m+40+72>>2]=c[j+4>>2];l=HTa(c[h>>2]|0,52,m+200|0)|0;f=c[m+200>>2]|0;if(f|0){l=f;i=m;return l|0}c[l>>2]=h;c[l+4>>2]=46296;c[l+8>>2]=1651078259;if(d|0){f=c[k+4>>2]|0;if(f|0){f=c[f+20>>2]|0;if(f|0)$i[f&255](k,0,d)}}h=Xi[c[j+28>>2]&511](k,m+40|0)|0;if(!h)h=SRa(c[k>>2]|0,m+40|0,b)|0;if((d|0)!=0&e<<24>>24==0){c[m+200>>2]=0-(c[d>>2]|0);c[m+200+4>>2]=0-(c[d+4>>2]|0);f=c[k+4>>2]|0;if(f|0){f=c[f+20>>2]|0;if(f|0)$i[f&255](k,0,m+200|0)}}do if(!h){f=c[l>>2]|0;if((c[m+40+72>>2]|0)==1651078259){c[l+20>>2]=c[m+40+100>>2];c[l+24>>2]=c[m+40+104>>2];if(!(c[(c[m+40+156>>2]|0)+4>>2]&1)){z2a(l+28|0);h=A2a(f,m+40+76|0,l+28|0)|0;if(h|0)break}else{d=m+40+76|0;c[l+28>>2]=c[d>>2];c[l+28+4>>2]=c[d+4>>2];c[l+28+8>>2]=c[d+8>>2];c[l+28+12>>2]=c[d+12>>2];c[l+28+16>>2]=c[d+16>>2];c[l+28+20>>2]=c[d+20>>2];d=(c[m+40+156>>2]|0)+4|0;c[d>>2]=c[d>>2]&-2}d=c[k+12+4>>2]|0;c[l+12>>2]=c[k+12>>2];c[l+12+4>>2]=d;if(e<<24>>24){f=c[c[k>>2]>>2]|0;g=c[(c[k+4>>2]|0)+12>>2]|0;if(g|0)Hi[g&1023](k);LTa(f,k)}c[a>>2]=l;l=0;i=m;return l|0}else h=18}while(0);if(!((l|0)!=0&(h|0)!=0)){l=h;i=m;return l|0}f=c[c[l>>2]>>2]|0;g=c[(c[l+4>>2]|0)+12>>2]|0;if(g|0)Hi[g&1023](l);LTa(f,l);l=h;i=m;return l|0}function ERa(a){a=a|0;vSa(a,61136)|0;vSa(a,54164)|0;vSa(a,54820)|0;vSa(a,47936)|0;vSa(a,49728)|0;vSa(a,51944)|0;vSa(a,56720)|0;vSa(a,57608)|0;vSa(a,51736)|0;vSa(a,52780)|0;vSa(a,52892)|0;vSa(a,52844)|0;vSa(a,53e3)|0;vSa(a,53528)|0;vSa(a,53984)|0;vSa(a,54044)|0;vSa(a,54104)|0;vSa(a,46440)|0;return}function FRa(a){a=a|0;var b=0,d=0;b=BTa()|0;if(!b){a=7;return a|0}d=zSa(b,a)|0;if(!d){ERa(c[a>>2]|0);a=0;return a|0}else{FTa(b);a=d;return a|0}return 0}function GRa(a){a=a|0;var b=0;if(!a){a=33;return a|0}b=c[a>>2]|0;ASa(a)|0;FTa(b);a=0;return a|0}function HRa(a,b){a=a|0;b=b|0;var d=0,e=0;if(!((a|0)!=0&(b|0)!=0)){e=0;return e|0}d=c[a>>2]|0;if(!d){e=0;return e|0}while(1){if(!(Imb(d,b)|0))break;a=a+8|0;d=c[a>>2]|0;if(!d){a=0;e=6;break}}if((e|0)==6)return a|0;e=c[a+4>>2]|0;return e|0}function IRa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;c[a+156>>2]=b;c[a+160>>2]=d;c[a+164>>2]=e;c[a+168>>2]=0;return}function JRa(a,b){a=a|0;b=b|0;c[a+168>>2]=b;rg(a|0,1)}function KRa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+16|0;c[d>>2]=0;if(!a){d=33;i=g;return d|0}if(!b){d=6;i=g;return d|0}f=c[a>>2]|0;a=HTa(f,40,g)|0;e=c[g>>2]|0;if(e|0){d=e;i=g;return d|0}c[a+28>>2]=f;e=c[b>>2]|0;do if(!(e&1)){if(e&4|0){c[g>>2]=yTa(a,c[b+12>>2]|0)|0;c[a+16>>2]=c[b+12>>2];b=12;break}if(e&2|0)if(c[b+16>>2]|0){LTa(f,a);a=c[b+16>>2]|0;b=12;break}c[g>>2]=6;b=13}else{aTa(a,c[b+4>>2]|0,c[b+8>>2]|0);b=12}while(0);if((b|0)==12)if(!(c[g>>2]|0)){c[a+28>>2]=f;e=0}else b=13;if((b|0)==13){LTa(f,a);e=c[g>>2]|0;a=0}c[d>>2]=a;d=e;i=g;return d|0}function LRa(a,b){a=a|0;b=b|0;var d=0;if(!a)return;d=c[a+28>>2]|0;bTa(a);if(b|0)return;LTa(d,a);return}function MRa(a){a=a|0;var b=0;b=c[a+156>>2]|0;if(b|0)if(c[b+4>>2]&1|0){LTa(c[(c[a+4>>2]|0)+100>>2]|0,c[a+88>>2]|0);c[a+88>>2]=0;a=(c[a+156>>2]|0)+4|0;c[a>>2]=c[a>>2]&-2;return}c[a+88>>2]=0;return}function NRa(a,b){a=a|0;b=b|0;var d=0;d=c[a+156>>2]|0;if(d|0)if(c[d+4>>2]&1|0){LTa(c[(c[a+4>>2]|0)+100>>2]|0,c[a+88>>2]|0);c[a+88>>2]=0;d=(c[a+156>>2]|0)+4|0;c[d>>2]=c[d>>2]&-2;a=a+88|0;c[a>>2]=b;return}c[a+88>>2]=0;a=a+88|0;c[a>>2]=b;return}function ORa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;f=c[(c[a+4>>2]|0)+100>>2]|0;d=(c[a+156>>2]|0)+4|0;e=c[d>>2]|0;if(!(e&1)){c[d>>2]=e|1;d=a+88|0}else{LTa(f,c[a+88>>2]|0);c[a+88>>2]=0;d=a+88|0}c[d>>2]=HTa(f,b,g)|0;i=g;return c[g>>2]|0}function PRa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+16|0;if(!a){l=35;i=m;return l|0}d=c[a+96>>2]|0;if(!d){l=6;i=m;return l|0}l=c[d+8>>2]|0;j=HTa(l,c[(c[d+12>>2]|0)+44>>2]|0,m)|0;d=c[m>>2]|0;if(d|0){if(!b){l=d;i=m;return l|0}c[b>>2]=0;l=d;i=m;return l|0}c[j+4>>2]=a;e=c[a+96>>2]|0;h=c[e+12>>2]|0;f=c[e+8>>2]|0;c[m+4>>2]=0;c[j>>2]=c[e+4>>2];g=HTa(f,40,m+4|0)|0;d=c[m+4>>2]|0;do if(!d){c[j+156>>2]=g;if(!(c[c[e>>2]>>2]&512)){d=O2a(f,g)|0;c[m+4>>2]=d;if(d|0){k=9;break}}d=c[h+64>>2]|0;if(!d)c[m>>2]=0;else{h=vi[d&2047](j)|0;c[m>>2]=h;if(h|0)break}c[j+8>>2]=c[a+84>>2];c[a+84>>2]=j;if(!b){l=0;i=m;return l|0}c[b>>2]=j;l=0;i=m;return l|0}else k=9;while(0);if((k|0)==9)c[m>>2]=d;e=c[(c[j+4>>2]|0)+96>>2]|0;f=c[e+8>>2]|0;d=c[(c[e+12>>2]|0)+68>>2]|0;if(d|0)Hi[d&1023](j);d=c[j+156>>2]|0;if(!d)k=16;else if(!(c[d+4>>2]&1))k=16;else{LTa(c[(c[j+4>>2]|0)+100>>2]|0,c[j+88>>2]|0);c[j+88>>2]=0;d=c[j+156>>2]|0;c[d+4>>2]=c[d+4>>2]&-2}if((k|0)==16)c[j+88>>2]=0;if(d|0){if(!(c[c[e>>2]>>2]&512)){Q2a(c[d>>2]|0);d=c[j+156>>2]|0;c[d>>2]=0}LTa(f,d);c[j+156>>2]=0}LTa(l,j);l=c[m>>2]|0;i=m;return l|0}function QRa(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0;if(!a)return;e=c[a+4>>2]|0;f=c[e+96>>2]|0;h=c[f+8>>2]|0;b=c[e+84>>2]|0;if(!b)return;else d=0;while(1){if((b|0)==(a|0))break;d=c[b+8>>2]|0;if(!d){g=21;break}else{i=b;b=d;d=i}}if((g|0)==21)return;b=c[a+8>>2]|0;if(!d)c[e+84>>2]=b;else c[d+8>>2]=b;b=c[a+20>>2]|0;if(!b){d=f;e=h}else{Hi[b&1023](a);e=c[(c[a+4>>2]|0)+96>>2]|0;d=e;e=c[e+8>>2]|0}b=c[(c[d+12>>2]|0)+68>>2]|0;if(b|0)Hi[b&1023](a);b=c[a+156>>2]|0;if(!b)g=14;else if(!(c[b+4>>2]&1))g=14;else{LTa(c[(c[a+4>>2]|0)+100>>2]|0,c[a+88>>2]|0);c[a+88>>2]=0;b=c[a+156>>2]|0;c[b+4>>2]=c[b+4>>2]&-2}if((g|0)==14)c[a+88>>2]=0;if(b|0){if(!(c[c[d>>2]>>2]&512)){Q2a(c[b>>2]|0);b=c[a+156>>2]|0;c[b>>2]=0}LTa(e,b);c[a+156>>2]=0}LTa(h,a);return}function RRa(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;if(!d){m=35;return m|0}if(!(c[d+88>>2]|0)){m=35;return m|0}m=c[d+84>>2]|0;if(!m){m=35;return m|0}g=c[m+156>>2]|0;if(!g)k=7;else if(!(c[g+4>>2]&1))k=7;else{LTa(c[(c[m+4>>2]|0)+100>>2]|0,c[m+88>>2]|0);c[m+88>>2]=0;l=(c[m+156>>2]|0)+4|0;c[l>>2]=c[l>>2]&-2}if((k|0)==7)c[m+88>>2]=0;a[m+94>>0]=0;g=m+24|0;h=g+40|0;do{c[g>>2]=0;g=g+4|0}while((g|0)<(h|0));c[m+72>>2]=0;c[m+72+4>>2]=0;c[m+72+8>>2]=0;c[m+72+12>>2]=0;g=m+100|0;h=g+56|0;do{c[g>>2]=0;g=g+4|0}while((g|0)<(h|0));i=c[d+96>>2]|0;j=c[(c[i+4>>2]|0)+160>>2]|0;l=(f&1024|0)==0?f:f|2049;l=(l&1|0)==0?l:l&-15|10;a:do if((l&32770|0)==0&(j|0)!=0){g=c[c[i>>2]>>2]|0;if((g&768|0)==256){h=c[d+8>>2]|0;if(!(h&8192)){do if(!(l&2048)){n=c[d+128>>2]|0;f=(c[n>>2]|0)==0;if(!(c[n+8>>2]|0))if(f){k=27;break a}else break;else if(f)break;else{k=27;break a}}while(0);if(!(l&32))if(!((l&983040|0)==65536|(g&1024|0)==0))if(!(a[(c[d+128>>2]|0)+52>>0]|0)){if(!(h&8)){k=27;break}if(!(c[d+696>>2]|0)){k=27;break}if(b[d+260+26>>1]|0){k=27;break}if(c[d+628>>2]|0){k=27;break}if(c[d+636>>2]|0){k=27;break}}if((l&8|0)==0&(h&2|0)!=0)if(!(cj[c[(c[i+12>>2]|0)+72>>2]&127](m,c[d+88>>2]|0,e,l|16384)|0))if((c[m+72>>2]|0)==1651078259){g=0;break}n=(c[d+128>>2]|0)+24|0;i=c[n>>2]|0;c[n>>2]=0;g=Ci[c[(c[(c[j>>2]|0)+20>>2]|0)+12>>2]&127](j,m,c[d+88>>2]|0,e,l)|0;c[n>>2]=i}else k=27}else k=27}else k=27;while(0);if((k|0)==27){g=cj[c[(c[i+12>>2]|0)+72>>2]&127](m,c[d+88>>2]|0,e,l)|0;if(g|0){n=g;return n|0}if((c[m+72>>2]|0)==1869968492){g=ESa(m+108|0)|0;if(g|0){n=g;return n|0}if(!(l&2)){if(!(l&16)){c[m+44>>2]=c[m+44>>2]&-64;c[m+48>>2]=c[m+48>>2]&-64;e=c[m+32>>2]|0;j=e+63+(c[m+24>>2]|0)&-64;k=c[m+36>>2]|0;n=k-(c[m+28>>2]|0)&-64;c[m+32>>2]=e&-64;c[m+36>>2]=k+63&-64;c[m+24>>2]=j-(e&-64);c[m+28>>2]=(k+63&-64)-n}else{c[m+32>>2]=c[m+32>>2]&-64;c[m+36>>2]=(c[m+36>>2]|0)+63&-64;e=c[m+44>>2]|0;j=e+63+(c[m+24>>2]|0)&-64;n=c[m+48>>2]|0;k=n+63+(c[m+28>>2]|0)&-64;c[m+44>>2]=e&-64;c[m+48>>2]=n&-64;c[m+24>>2]=j-(e&-64);c[m+28>>2]=k-(n&-64)}c[m+40>>2]=(c[m+40>>2]|0)+32&-64;c[m+52>>2]=(c[m+52>>2]|0)+32&-64;g=0}else g=0}else g=0}if(!(l&16)){h=0;f=c[m+40>>2]|0}else{h=c[m+52>>2]|0;f=0}c[m+64>>2]=f;c[m+68>>2]=h;if(!(l&8192))if(c[d+8>>2]&1|0){n=c[d+88>>2]|0;c[m+56>>2]=F2a(c[m+56>>2]|0,c[n+16>>2]|0,64)|0;c[m+60>>2]=F2a(c[m+60>>2]|0,c[n+20>>2]|0,64)|0}if(!(l&2048)){e=c[d+128>>2]|0;h=c[e+24>>2]|0;if(h){j=c[(c[(c[m+4>>2]|0)+96>>2]|0)+4>>2]|0;f=c[j+156>>2]|0;if(!f){i=c[m+72>>2]|0;k=46}else{i=c[m+72>>2]|0;if((c[f+16>>2]|0)==(i|0)){g=f;k=51}else k=46}b:do if((k|0)==46){c:do if(j|0){f=c[j+148>>2]|0;if(f|0){while(1){j=c[f+8>>2]|0;if((c[j+16>>2]|0)==(i|0))break;f=c[f+4>>2]|0;if(!f)break c}if(j|0){g=j;k=51;break b}}}while(0);if((i|0)==1869968492){if(h&1){KSa(m+108|0,e);h=c[e+24>>2]|0}if(h&2)ISa(m+108|0,c[e+16>>2]|0,c[e+20>>2]|0)}}while(0);if((k|0)==51)g=cj[c[(c[g+12>>2]|0)+44>>2]&127](g,m,e,e+16|0)|0;JSa(m+64|0,e)}}if(g|0){n=g;return n|0}g=c[m+72>>2]|0;d:do if((g|0)<1668246896){switch(g|0){case 1651078259:{g=0;break}default:break d}return g|0}else{switch(g|0){case 1668246896:{g=0;break}default:break d}return g|0}while(0);if(!(l&4)){n=0;return n|0}g=c[m+4>>2]|0;if(!g){n=6;return n|0}n=SRa(c[(c[g+96>>2]|0)+4>>2]|0,m,(l&4096|0)==0|(l>>>16&15|0)!=0?l>>>16&15:2)|0;return n|0}function SRa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;j=c[b+72>>2]|0;a:do if((j|0)<1869968492){switch(j|0){case 1651078259:{f=0;break}default:{m=3;break a}}return f|0}else{switch(j|0){case 1869968492:break;default:{m=3;break a}}n=a+148|0;g=c[a+148>>2]|0;e=c[a+156>>2]|0}while(0);do if((m|0)==3){if(!a){f=7;h=0}else{f=c[a+148>>2]|0;if(!f){n=a+148|0;g=0;e=0;break}while(1){i=c[f+8>>2]|0;if((c[i+16>>2]|0)==(j|0)){k=f;m=6;break}f=c[f+4>>2]|0;if(!f){l=0;h=0;break}}if((m|0)==6){l=k;h=i}if(!a)f=7;else{n=a+148|0;g=l;e=h;break}}while(1){if(!h){m=18;break}f=cj[c[h+60>>2]&127](h,b,d,0)|0;if((f|0)!=0&(f&255|0)==19)h=0;else{m=18;break}}if((m|0)==18)return f|0}while(0);if(!e){b=7;return b|0}while(1){f=cj[c[e+60>>2]&127](e,b,d,0)|0;if(!((f|0)!=0&(f&255|0)==19)){m=18;break}h=c[b+72>>2]|0;e=c[((g|0)==0?n:g+4|0)>>2]|0;b:do if(!e){g=0;e=0}else{g=e;while(1){e=c[g+8>>2]|0;if((c[e+16>>2]|0)==(h|0))break;g=c[g+4>>2]|0;if(!g){g=0;e=0;break b}}}while(0);if(!e){m=18;break}}if((m|0)==18)return f|0;return 0}function TRa(a,b){a=a|0;b=b|0;if(!a){b=0;return b|0}a=c[a+92>>2]|0;if(!a){b=0;return b|0}b=Xi[c[(c[a+12>>2]|0)+12>>2]&511](a,b)|0;return b|0}function URa(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;s=i;i=i+160|0;c[s+4>>2]=0;c[s>>2]=0;if(!((d|0)!=0&((e|0)>-1&(f|0)==0^1))){r=6;i=s;return r|0}if(!(c[d>>2]&2))q=0;else q=(c[d+16>>2]|0)!=0;n=q&1;g=KRa(a,d,s+4|0)|0;c[s+8>>2]=g;a:do if(!g){g=c[a>>2]|0;h=c[d>>2]|0;do if(!(h&8))r=15;else{k=c[d+20>>2]|0;if(!k)r=15;else{if(!(c[c[k>>2]>>2]&1))c[s+8>>2]=32;else{if(!(h&16)){j=0;h=0}else{j=c[d+24>>2]|0;h=c[d+28>>2]|0}d=VRa(k,s+4|0,n,e,j,h,s)|0;c[s+8>>2]=d;if(!d){j=k;break}}h=c[s+4>>2]|0;if(!h){j=k;r=88;break a}j=c[h+28>>2]|0;bTa(h);if(q){j=k;r=88;break a}LTa(j,h);j=k;r=88;break a}}while(0);b:do if((r|0)==15){c[s+8>>2]=11;l=c[a+16>>2]|0;if((l|0)<=0){j=0;r=30;break a}h=11;m=a+20|0;k=0;while(1){j=c[m>>2]|0;if(!(c[c[j>>2]>>2]&1))j=k;else{if(!(c[d>>2]&16)){h=0;k=0}else{h=c[d+24>>2]|0;k=c[d+28>>2]|0}h=VRa(j,s+4|0,n,e,h,k,s)|0;c[s+8>>2]=h;if(!h)break b;if((h&255|0)==142&(Imb(c[(c[c[m>>2]>>2]|0)+8>>2]|0,591490)|0)==0){k=c[s+4>>2]|0;if(cTa(k,0)|0){r=29;break a}h=WRa(a,k,e,0,0,f)|0;c[s+8>>2]=h;if(!h)break}if((h&255|0)!=2){r=29;break a}}m=m+4|0;if(m>>>0>=(a+20+(l<<2)|0)>>>0){r=29;break a}else k=j}if(!k){r=0;i=s;return r|0}g=c[k+28>>2]|0;bTa(k);if(q){r=0;i=s;return r|0}LTa(g,k);r=0;i=s;return r|0}while(0);k=HTa(g,12,s+8|0)|0;c:do if(!(c[s+8>>2]|0)){g=c[s>>2]|0;c[k+8>>2]=g;PTa((c[g+96>>2]|0)+16|0,k);do if((e|0)>-1){q=PRa(g,0)|0;c[s+8>>2]=q;if(q|0)break c;q=$Ra(g,s+120|0)|0;c[s+8>>2]=q;if(!q){c[g+88>>2]=c[s+120>>2];g=c[s>>2]|0;break}else break c}while(0);if(c[g+8>>2]&1|0){h=g+74|0;j=b[h>>1]|0;if(j<<16>>16<0)b[h>>1]=0-(j&65535);if(!(c[g+8>>2]&32))b[g+78>>1]=b[g+74>>1]|0}if(c[g+8>>2]&2|0)if((c[g+28>>2]|0)>0){l=c[s>>2]|0;m=c[l+28>>2]|0;h=0;while(1){k=c[g+32>>2]|0;g=k+(h<<4)|0;j=b[g>>1]|0;if(j<<16>>16<0)b[g>>1]=0-(j&65535);g=k+(h<<4)+8|0;j=c[g>>2]|0;if((j|0)<0)c[g>>2]=0-j<<16>>16;g=k+(h<<4)+12|0;j=c[g>>2]|0;if((j|0)<0)c[g>>2]=0-j;h=h+1|0;if((h|0)<(m|0))g=l;else break}}k=c[s>>2]|0;g=c[k+128>>2]|0;c[g>>2]=65536;c[g+4>>2]=0;c[g+8>>2]=0;c[g+12>>2]=65536;c[g+16>>2]=0;c[g+20>>2]=0;c[g+56>>2]=1;if(f|0){c[f>>2]=k;break a}if(!k)break a;j=c[k+96>>2]|0;if(!j)break a;c[g+56>>2]=0;g=c[j+8>>2]|0;h=OTa(j+16|0,k)|0;if(!h)break a;QTa(j+16|0,h);LTa(g,h);aSa(g,k,j);break a}else{h=c[s>>2]|0;if(!k){r=95;break a}else g=h}while(0);if(g|0){h=c[g+96>>2]|0;if(h|0){q=(c[g+128>>2]|0)+56|0;f=c[q>>2]|0;c[q>>2]=f+-1;if((f|0)<=1){j=c[h+8>>2]|0;k=OTa(h+16|0,g)|0;if(k|0){QTa(h+16|0,k);LTa(j,k);aSa(j,g,h)}}}}}else{h=g;j=0;g=0;r=29}while(0);d:do if((r|0)==29){switch(h&255|0){case 85:case 2:case 81:break;default:{r=30;break d}}k=c[s+4>>2]|0;h=ZRa(a,k,e,f)|0;if((h&255|0)==2)h=_Ra(a,k,0,e,f)|0;l=h&255;e:do switch(l|0){case 85:case 2:{if(!(c[d>>2]&4))r=51;else{p=c[a>>2]|0;c[s+12>>2]=0;PSa(a,k,c[d+12>>2]|0,s+120|0,s+84|0,s+48|0);l=2;o=0;m=0;while(1){n=$Sa(a,o)|0;if(m<<24>>24==0|n<<24>>24!=0^1)if(!(c[s+48+(o<<2)>>2]|0)){c[s+16>>2]=4;h=c[s+120+(o<<2)>>2]|0;if(!h)h=c[d+12>>2]|0;c[s+16+12>>2]=h;l=KRa(a,s+16|0,s+12|0)|0;h=n<<24>>24!=0&(l&255|0)==81?1:m;if(!l){m=c[s+12>>2]|0;l=_Ra(a,m,c[s+84+(o<<2)>>2]|0,e,f)|0;if(m|0){t=c[m+28>>2]|0;bTa(m);LTa(t,m)}if(!l){l=0;break}h=n<<24>>24==0?h:1}}else h=m;else h=m;o=o+1|0;if(o>>>0>=9)break;else m=h}h=c[s+120>>2]|0;if(h|0){LTa(p,h);c[s+120>>2]=0}h=c[s+120+4>>2]|0;if(h|0){LTa(p,h);c[s+120+4>>2]=0}h=c[s+120+8>>2]|0;if(h|0){LTa(p,h);c[s+120+8>>2]=0}h=c[s+120+12>>2]|0;if(h|0){LTa(p,h);c[s+120+12>>2]=0}h=c[s+120+16>>2]|0;if(h|0){LTa(p,h);c[s+120+16>>2]=0}h=c[s+120+20>>2]|0;if(h|0){LTa(p,h);c[s+120+20>>2]=0}h=c[s+120+24>>2]|0;if(h|0){LTa(p,h);c[s+120+24>>2]=0}h=c[s+120+28>>2]|0;if(h|0){LTa(p,h);c[s+120+28>>2]=0}h=c[s+120+32>>2]|0;if(h|0){LTa(p,h);c[s+120+32>>2]=0}if(!l){c[s+8>>2]=0;break e}else{c[s+8>>2]=2;r=57;break e}}break}default:r=51}while(0);if((r|0)==51){c[s+8>>2]=h;if(h|0)if((l|0)==2)r=57;else{r=58;break}}if((r|0)==57){c[s+8>>2]=2;r=58;break}if(k|0){g=c[k+28>>2]|0;bTa(k);if(!q)LTa(g,k)}t=c[s+8>>2]|0;i=s;return t|0}while(0);if((r|0)==30){k=c[s+4>>2]|0;r=58}if((r|0)==58)if(!k)r=88;else{h=c[k+28>>2]|0;bTa(k);if(q)r=88;else{LTa(h,k);r=88}}if((r|0)==88){h=c[s>>2]|0;r=95}if((r|0)==95)if(h|0)aSa(g,h,j);t=c[s+8>>2]|0;i=s;return t|0}function VRa(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;l=c[a+12>>2]|0;m=c[a+8>>2]|0;n=HTa(m,c[l+36>>2]|0,o)|0;do if(!(c[o>>2]|0)){c[n+96>>2]=a;c[n+100>>2]=m;c[n+104>>2]=c[b>>2];if(d<<24>>24)c[n+8>>2]=c[n+8>>2]|1024;d=HTa(m,60,o)|0;if(!(c[o>>2]|0)){c[n+128>>2]=d;c[d+48>>2]=0;a:do if((f|0)>0){j=(c[n+128>>2]|0)+48|0;a=c[j>>2]|0;k=0;do{if(a|0)break a;if((c[g+(k<<3)>>2]|0)==1768842098){a=c[g+(k<<3)+4>>2]|0;c[j>>2]=a}else a=0;k=k+1|0}while((k|0)<(f|0))}while(0);a=c[l+48>>2]|0;if(!a)c[b>>2]=c[n+104>>2];else{g=Ci[a&127](c[b>>2]|0,n,e,f,g)|0;c[o>>2]=g;c[b>>2]=c[n+104>>2];if(g|0){j=27;break}}b=c[n+40>>2]|0;b:do if(b|0){d=b+(c[n+36>>2]<<2)|0;c:do if((d+-4|0)>>>0>=b>>>0){j=d+-4|0;d:while(1){a=c[j>>2]|0;e:do if((c[a+4>>2]|0)==1970170211){k=c[a+8>>2]|0;switch((k&65535)<<16>>16){case 3:if((k>>>16&65535)<<16>>16==10)break d;else break e;case 0:if((k>>>16&65535)<<16>>16==4)break d;else break e;default:break e}}while(0);j=j+-4|0;if(j>>>0>>0)break c}c[n+92>>2]=a;break b}while(0);do{d=d+-4|0;if(d>>>0>>0)break b;a=c[d>>2]|0}while((c[a+4>>2]|0)!=1970170211);c[n+92>>2]=a}while(0);c[h>>2]=n;h=0;i=o;return h|0}else j=27}else if(!n)d=0;else{d=0;j=27}while(0);if((j|0)==27){if((c[n+36>>2]|0)>0){b=0;do{a=c[(c[n+40>>2]|0)+(b<<2)>>2]|0;j=c[(c[a>>2]|0)+100>>2]|0;k=c[(c[a+12>>2]|0)+8>>2]|0;if(k|0)Hi[k&1023](a);LTa(j,a);c[(c[n+40>>2]|0)+(b<<2)>>2]=0;b=b+1|0}while((b|0)<(c[n+36>>2]|0))}LTa(m,c[n+40>>2]|0);c[n+40>>2]=0;c[n+36>>2]=0}a=c[l+52>>2]|0;if(a|0)Hi[a&1023](n);LTa(m,d);LTa(m,n);c[h>>2]=0;h=c[o>>2]|0;i=o;return h|0}function WRa(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+16|0;o=c[a>>2]|0;q=eTa(b)|0;f=vTa(b,r+4|0)|0;e=c[r+4>>2]|0;a:do if(!e)if((f|0)==1954115633){n=sTa(b,r+4|0)|0;e=c[r+4>>2]|0;if(!e){e=dTa(b,6)|0;c[r+4>>2]=e;if(!e)if(!(n<<16>>16)){e=142;p=24}else{b:do if((d|0)<0){j=0;c:while(1){h=vTa(b,r+4|0)|0;e=c[r+4>>2]|0;if(e|0){p=24;break a}e=dTa(b,4)|0;c[r+4>>2]=e;if(e|0){p=24;break a}k=vTa(b,r+4|0)|0;e=c[r+4>>2]|0;if(e|0){p=24;break a}f=vTa(b,r+4|0)|0;e=c[r+4>>2]|0;if(e|0){p=24;break a}if((h|0)<1415139377)switch(h|0){case 1128875040:{p=23;break c}default:{}}else switch(h|0){case 1415139377:{p=22;break c}default:{}}j=j+1|0;if((j|0)>=(n&65535|0)){e=142;p=24;break a}}if((p|0)==22){j=0;h=f+-24|0;e=k+24|0;break}else if((p|0)==23){j=1;h=f+-22|0;e=k+22|0;break}}else{m=0;j=0;f=-1;while(1){k=vTa(b,r+4|0)|0;e=c[r+4>>2]|0;if(e|0){p=24;break a}e=dTa(b,4)|0;c[r+4>>2]=e;if(e|0){p=24;break a}l=vTa(b,r+4|0)|0;e=c[r+4>>2]|0;if(e|0){p=24;break a}h=vTa(b,r+4|0)|0;e=c[r+4>>2]|0;if(e|0){p=24;break a}d:do if((k|0)<1415139377){switch(k|0){case 1128875040:break;default:{e=l;break d}}j=1;h=h+-22|0;e=l+22|0;f=f+1|0}else{switch(k|0){case 1415139377:break;default:{e=l;break d}}j=0;h=h+-24|0;e=l+24|0;f=f+1|0}while(0);m=m+1|0;if((f|0)==(d|0))break b;if((m|0)>=(n&65535|0)){e=142;p=24;break a}}}while(0);c[r>>2]=0;if(cTa(b,e+q|0)|0){b=0;i=r;return b|0}f=HTa(o,h,r)|0;e=c[r>>2]|0;if(!e){e=fTa(b,f,h)|0;c[r>>2]=e;if(!e){e=XRa(a,f,h,(d|0)<0?d:0,j<<24>>24?527708:591059,g)|0;c[r>>2]=e}}}else p=24}else p=24}else{e=2;p=24}else p=24;while(0);if((p|0)==24)c[r>>2]=e;if((e&255|0)!=2){b=e;i=r;return b|0}b=cTa(b,q)|0;b=(b|0)==0?c[r>>2]|0:b;i=r;return b|0}function XRa(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0;m=i;i=i+48|0;l=c[a>>2]|0;if(!a){h=33;j=4}else if(!b){h=6;j=4}else{k=HTa(l,40,m+32|0)|0;h=c[m+32>>2]|0;if(!h){aTa(k,b,d);c[k+24>>2]=691;h=c[m+32>>2]|0;if(!h){c[m>>2]=2;c[m+16>>2]=k;if(f|0){c[m>>2]=10;d=c[a+16>>2]|0;a:do if((d|0)>0){b=a+20|0;while(1){h=c[b>>2]|0;b=b+4|0;if(!(Imb(c[(c[h>>2]|0)+8>>2]|0,f)|0))break a;if(b>>>0>=(a+20+(d<<2)|0)>>>0){h=0;break}}}else h=0;while(0);c[m+20>>2]=h}h=URa(a,m,e,g)|0;if(!h){l=(c[g>>2]|0)+8|0;c[l>>2]=c[l>>2]&-1025;l=0;i=m;return l|0}else{bTa(k);LTa(l,k);l=h;i=m;return l|0}}}else j=4}LTa(l,b);l=h;i=m;return l|0}function YRa(a){a=a|0;LTa(c[a+28>>2]|0,c[a>>2]|0);c[a+4>>2]=0;c[a>>2]=0;c[a+24>>2]=0;return}function ZRa(b,c,e,f){b=b|0;c=c|0;e=e|0;f=f|0;var g=0,h=0;h=i;i=i+128|0;if(!c)g=85;else{g=cTa(c,0)|0;if(!g){g=fTa(c,h,128)|0;if(!g)if(!(a[h>>0]|0))if(!(a[h+74>>0]|0))if(!(a[h+82>>0]|0)){g=a[h+1>>0]|0;if((g+-1&255)>32)g=2;else if(!(a[h+63>>0]|0))if(!(a[h+((g&255)+2)>>0]|0))g=_Ra(b,c,(d[h+84>>0]<<16|d[h+83>>0]<<24|d[h+85>>0]<<8|d[h+86>>0])+255&-128,e,f)|0;else g=2;else g=2}else g=2;else g=2;else g=2}}i=h;return g|0}function _Ra(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=i;i=i+32|0;t=c[b>>2]|0;e=MSa(b,d,e,u+12|0,u+8|0)|0;if(e|0){g=e;i=u;return g|0}if(NSa(b,d,c[u+12>>2]|0,c[u+8>>2]|0,1347375956,1,u+4|0,u)|0){e=NSa(b,d,c[u+12>>2]|0,c[u+8>>2]|0,1936092788,0,u+4|0,u)|0;if(e|0){g=e;i=u;return g|0}s=c[u>>2]|0;j=c[b>>2]|0;f=((f|0)%(s|0)|0|0)==-1?0:(f|0)%(s|0)|0;do if((f|0)<(s|0)){h=c[(c[u+4>>2]|0)+(f<<2)>>2]|0;e=cTa(d,h)|0;c[u+16>>2]=e;if(!e){k=vTa(d,u+16|0)|0;e=c[u+16>>2]|0;if(!e)if((k|0)==-1)e=1;else{s=WRa(b,d,f,0,0,g)|0;c[u+16>>2]=s;if(!s)e=0;else{if(cTa(d,h+4|0)|0){e=c[u+16>>2]|0;break}f=HTa(j,k,u+16|0)|0;e=c[u+16>>2]|0;if(!e){e=fTa(d,f,k)|0;c[u+16>>2]=e;if(!e){if((k|0)>4){e=(qmb(f,527712,4)|0)!=0;e=e?591490:529206}else e=591490;e=XRa(b,f,k,0,e,g)|0;c[u+16>>2]=e}}}}}}else e=1;while(0);LTa(t,c[u+4>>2]|0);c[u+4>>2]=0;if(e|0){g=e;i=u;return g|0}c[c[g>>2]>>2]=c[u>>2];g=0;i=u;return g|0}p=c[u+4>>2]|0;q=c[u>>2]|0;c[u+16>>2]=1;s=c[b>>2]|0;a:do switch(f|0){case 0:case -1:{if((q|0)>0){h=0;j=0;while(1){e=cTa(d,c[p+(h<<2)>>2]|0)|0;c[u+16>>2]=e;if(e|0)break a;f=vTa(d,u+16|0)|0;e=c[u+16>>2]|0;if(e|0)break a;if((f|0)<0){k=9;break}r=j+6+f|0;if(r>>>0>>0){k=9;break}h=h+1|0;if((h|0)>=(q|0))break;else j=r}if((k|0)==9){c[u+16>>2]=9;e=9;break a}if((r+2|0)>>>0>=6){o=HTa(s,r+2|0,u+16|0)|0;e=c[u+16>>2]|0;if(e|0)break a;a[o>>0]=-128;a[o+1>>0]=1;a[o+2>>0]=0;a[o+2+1>>0]=0;a[o+2+2>>0]=0;a[o+2+3>>0]=0;b:do if((q|0)>0){n=0;j=0;h=2;e=6;m=1;while(1){l=cTa(d,c[p+(n<<2)>>2]|0)|0;c[u+16>>2]=l;if(l|0){k=35;break b}f=vTa(d,u+16|0)|0;if(c[u+16>>2]|0){k=35;break b}if((f|0)<0)break;k=sTa(d,u+16|0)|0;if(c[u+16>>2]|0){k=35;break b}c[u+16>>2]=10;if(!((k&65535)>>>8))f=m;else{l=f>>>0>2?f+-2|0:0;if(((k&65535)>>>8|0)==(m|0)){j=l+j|0;f=m}else{f=h+3|0;if(f>>>0>(r+2|0)>>>0){k=34;break b}a[o+h>>0]=j;a[o+(h+1)>>0]=j>>>8;a[o+(h+2)>>0]=j>>>16;a[o+f>>0]=j>>>24;if(((k&65535)>>>8|0)==5){k=31;break b}f=e+6|0;if(f>>>0>(r+2|0)>>>0){k=34;break b}a[o+e>>0]=-128;h=e+2|0;a[o+(e+1)>>0]=(k&65535)>>>8;a[o+h>>0]=0;a[o+(e+3)>>0]=0;a[o+(e+4)>>0]=0;a[o+(e+5)>>0]=0;j=l;e=f;f=(k&65535)>>>8}if(e>>>0>r>>>0){k=34;break b}k=e+l|0;if(k>>>0>r>>>0){k=34;break b}m=fTa(d,o+e|0,l)|0;c[u+16>>2]=m;if(!m)e=k;else{k=35;break b}}n=n+1|0;if((n|0)>=(q|0)){k=31;break b}else m=f}c[u+16>>2]=9;k=35}else{j=0;h=2;e=6;k=31}while(0);if((k|0)==31){c[u+16>>2]=10;f=e+2|0;if(f>>>0>(r+2|0)>>>0)k=35;else{a[o+e>>0]=-128;a[o+(e+1)>>0]=3;e=h+3|0;if(e>>>0>(r+2|0)>>>0)k=34;else{a[o+h>>0]=j;a[o+(h+1)>>0]=j>>>8;a[o+(h+2)>>0]=j>>>16;a[o+e>>0]=j>>>24;e=XRa(b,o,f,0,591059,g)|0;break a}}}if((k|0)==34)if(c[u+16>>2]|0)k=35;if((k|0)==35)c[u+16>>2]=1;LTa(s,o);e=c[u+16>>2]|0;break a}}c[u+16>>2]=10;e=10;break}default:e=1}while(0);LTa(t,c[u+4>>2]|0);c[u+4>>2]=0;if(e|0){g=e;i=u;return g|0}c[c[g>>2]>>2]=1;g=0;i=u;return g|0}function $Ra(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+16|0;if(!a){g=35;i=h;return g|0}if(!b){g=6;i=h;return g|0}if(!(c[a+96>>2]|0)){g=34;i=h;return g|0}c[b>>2]=0;e=c[(c[a+96>>2]|0)+12>>2]|0;g=c[a+100>>2]|0;f=HTa(g,c[e+40>>2]|0,h)|0;do if(!(c[h>>2]|0)){d=HTa(g,12,h)|0;if(!(c[h>>2]|0)){c[f>>2]=a;c[f+40>>2]=0;e=c[e+56>>2]|0;if(e|0){e=vi[e&2047](f)|0;c[h>>2]=e;if(e|0)break}c[b>>2]=f;c[d+8>>2]=f;PTa(a+108|0,d);if(!(c[h>>2]|0)){g=0;i=h;return g|0}}}else d=0;while(0);LTa(g,d);LTa(g,f);g=c[h>>2]|0;i=h;return g|0}function aSa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=c[d+12>>2]|0;e=c[b+120>>2]|0;if(e|0)Hi[e&1023](c[b+116>>2]|0);e=c[b+84>>2]|0;if(e|0)do{QRa(e);e=c[b+84>>2]|0}while((e|0)!=0);RTa(b+108|0,103,a,d);c[b+88>>2]=0;e=c[b+48>>2]|0;if(e|0)Hi[e&1023](b);if((c[b+36>>2]|0)>0){g=0;do{e=c[(c[b+40>>2]|0)+(g<<2)>>2]|0;d=c[(c[e>>2]|0)+100>>2]|0;f=c[(c[e+12>>2]|0)+8>>2]|0;if(f|0)Hi[f&1023](e);LTa(d,e);c[(c[b+40>>2]|0)+(g<<2)>>2]=0;g=g+1|0}while((g|0)<(c[b+36>>2]|0))}LTa(a,c[b+40>>2]|0);c[b+40>>2]=0;c[b+36>>2]=0;e=c[h+52>>2]|0;if(e|0)Hi[e&1023](b);e=c[b+104>>2]|0;if(e|0){h=c[b+8>>2]&1024;d=c[e+28>>2]|0;bTa(e);if(!h)LTa(d,e)}c[b+104>>2]=0;e=c[b+128>>2]|0;if(!e){LTa(a,b);return}LTa(a,e);c[b+128>>2]=0;LTa(a,b);return}function bSa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=c[b+8>>2]|0;if(e|0)Hi[e&1023](b);e=c[(c[d+12>>2]|0)+60>>2]|0;if(e|0)Hi[e&1023](b);LTa(a,c[b+40>>2]|0);c[b+40>>2]=0;LTa(a,b);return}function cSa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=i;i=i+32|0;if(!b){a=6;i=g;return a|0}c[g>>2]=1;c[g+4>>2]=b;c[g+8>>2]=d;c[g+16>>2]=0;a=URa(a,g,e,f)|0;i=g;return a|0}function dSa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if(!((a|0)!=0&(b|0)!=0)){b=0;return b|0}e=c[a+16>>2]|0;if((e|0)<=0){b=0;return b|0}f=a+20|0;while(1){d=c[f>>2]|0;f=f+4|0;if(!(Imb(c[(c[d>>2]|0)+8>>2]|0,b)|0)){e=6;break}if(f>>>0>=(a+20+(e<<2)|0)>>>0){d=0;e=6;break}}if((e|0)==6)return d|0;return 0}function eSa(a){a=a|0;var b=0,d=0,e=0;if(!a){a=35;return a|0}e=c[a+96>>2]|0;if(!e){a=35;return a|0}b=(c[a+128>>2]|0)+56|0;d=c[b>>2]|0;c[b>>2]=d+-1;if((d|0)>1){a=0;return a|0}b=c[e+8>>2]|0;d=OTa(e+16|0,a)|0;if(!d){a=35;return a|0}QTa(e+16|0,d);LTa(b,d);aSa(b,a,e);a=0;return a|0}function fSa(a){a=a|0;var b=0,d=0,e=0,f=0;if(!a){a=36;return a|0}d=c[a>>2]|0;if(!d){a=35;return a|0}e=c[d+96>>2]|0;if(!e){a=34;return a|0}f=c[e+8>>2]|0;b=OTa(d+108|0,a)|0;if(!b){a=36;return a|0}QTa(d+108|0,b);LTa(f,b);if((c[d+88>>2]|0)==(a|0)){c[d+88>>2]=0;b=c[d+108>>2]|0;if(b|0)c[d+88>>2]=c[b+8>>2]}b=c[a+8>>2]|0;if(b|0)Hi[b&1023](a);b=c[(c[e+12>>2]|0)+60>>2]|0;if(b|0)Hi[b&1023](a);LTa(f,c[a+40>>2]|0);c[a+40>>2]=0;LTa(f,a);a=0;return a|0}function gSa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;if(!(c[a+8>>2]&2)){e=35;return e|0}if(c[b>>2]|0){e=7;return e|0}f=c[b+12>>2]|0;h=c[b+4>>2]|0;if(!f)g=h;else g=((_(h,f)|0)+36|0)/72|0;f=c[b+16>>2]|0;b=c[b+8>>2]|0;if(!f)f=b;else f=((_(b,f)|0)+36|0)/72|0;b=(b|0)==0?g:f;i=((h|0)==0?b:g)+32|0;g=((h|0)==0?f:b)+32|0;h=c[a+28>>2]|0;if((h|0)<=0){e=23;return e|0}b=c[a+32>>2]|0;a:do if(!(d<<24>>24)){f=0;while(1){if(((c[b+(f<<4)+12>>2]|0)+32^g)>>>0<=63)if(((c[b+(f<<4)+8>>2]|0)+32^i)>>>0<=63)break a;f=f+1|0;if((f|0)>=(h|0)){f=23;break}}return f|0}else{f=0;while(1){if(((c[b+(f<<4)+12>>2]|0)+32^g)>>>0<=63)break a;f=f+1|0;if((f|0)>=(h|0)){f=23;break}}return f|0}while(0);if(!e){e=0;return e|0}c[e>>2]=f;e=0;return e|0}function hSa(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[a+4>>2]|0;e=c[a+12>>2]|0;if((e|0)<0)d=(d|0)<(e|0)?e:d;else d=d-((e|0)>0?e:0)|0;if(!b)b=(d*12|0)/10|0;c[a+20>>2]=(c[a+8>>2]|0)-((c[a+16>>2]|0)/2|0);c[a+24>>2]=(b-d|0)/2|0;c[a+28>>2]=b;return}function iSa(a,d){a=a|0;d=d|0;var f=0,g=0,h=0,i=0;f=c[a+88>>2]|0;h=c[a+32>>2]|0;i=c[h+(d<<4)+8>>2]|0;b[f+12>>1]=(i+32|0)>>>6;g=c[h+(d<<4)+12>>2]|0;b[f+14>>1]=(g+32|0)>>>6;if(!(c[a+8>>2]&1)){c[f+16>>2]=65536;c[f+20>>2]=65536;c[f+24>>2]=g;c[f+28>>2]=0;c[f+32>>2]=b[h+(d<<4)>>1]<<6;a=i;d=f+36|0;c[d>>2]=a;return}else{c[f+16>>2]=I2a(i,e[a+68>>1]|0)|0;d=I2a(c[h+(d<<4)+12>>2]|0,e[a+68>>1]|0)|0;c[f+20>>2]=d;c[f+24>>2]=(H2a(b[a+70>>1]|0,d)|0)+63&-64;c[f+28>>2]=(H2a(b[a+72>>1]|0,c[f+20>>2]|0)|0)&-64;c[f+32>>2]=(H2a(b[a+74>>1]|0,c[f+20>>2]|0)|0)+32&-64;a=(H2a(b[a+76>>1]|0,c[f+16>>2]|0)|0)+32&-64;d=f+36|0;c[d>>2]=a;return}}function jSa(a,d){a=a|0;d=d|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;n=c[a+88>>2]|0;if(!(c[a+8>>2]&1)){c[n+12>>2]=0;c[n+12+4>>2]=0;c[n+12+8>>2]=0;c[n+12+12>>2]=0;c[n+12+16>>2]=0;c[n+12+20>>2]=0;c[n+12+24>>2]=0;c[n+16>>2]=65536;c[n+20>>2]=65536;return}a:do switch(c[d>>2]|0){case 0:{f=e[a+68>>1]|0;g=f;m=11;break}case 1:{f=(b[a+70>>1]|0)-(b[a+72>>1]|0)|0;g=f;m=11;break}case 2:{g=(c[a+64>>2]|0)-(c[a+56>>2]|0)|0;f=(c[a+60>>2]|0)-(c[a+52>>2]|0)|0;m=11;break}case 3:{g=(b[a+70>>1]|0)-(b[a+72>>1]|0)|0;f=b[a+76>>1]|0;m=11;break}case 4:{f=c[d+4>>2]|0;c[n+16>>2]=f;g=c[d+8>>2]|0;c[n+20>>2]=g;if(!f){c[n+16>>2]=g;g=0;f=0;m=23;break a}if(!g){c[n+20>>2]=f;g=0;f=0;m=23}else{g=0;f=0;m=23}break}default:{g=0;f=0;m=11}}while(0);do if((m|0)==11){k=(f|0)<0?0-f|0:f;j=(g|0)<0?0-g|0:g;f=c[d+12>>2]|0;i=c[d+4>>2]|0;if(!f)f=i;else f=((_(i,f)|0)+36|0)/72|0;g=c[d+16>>2]|0;h=c[d+8>>2]|0;if(!g)l=h;else l=((_(h,g)|0)+36|0)/72|0;if(!i){g=I2a(l,j)|0;c[n+20>>2]=g;c[n+16>>2]=g;g=l;f=F2a(l,k,j)|0;m=23;break}g=I2a(f,k)|0;c[n+16>>2]=g;if(!(c[d+8>>2]|0)){c[n+20>>2]=g;g=F2a(f,j,k)|0;m=23;break}h=I2a(l,j)|0;c[n+20>>2]=h;g=c[d>>2]|0;if((g|0)==3){g=c[n+16>>2]|0;if((h|0)>(g|0)){c[n+20>>2]=g;g=l;m=23;break}else{c[n+16>>2]=h;g=l;m=23;break}}else{h=g;g=l}}while(0);if((m|0)==23)h=c[d>>2]|0;if(!h){h=n+16|0;i=n+20|0}else{f=H2a(e[a+68>>1]|0,c[n+16>>2]|0)|0;h=n+16|0;i=n+20|0;g=H2a(e[a+68>>1]|0,c[n+20>>2]|0)|0}b[n+12>>1]=(f+32|0)>>>6;b[n+14>>1]=(g+32|0)>>>6;c[n+24>>2]=(H2a(b[a+70>>1]|0,c[i>>2]|0)|0)+63&-64;c[n+28>>2]=(H2a(b[a+72>>1]|0,c[i>>2]|0)|0)&-64;c[n+32>>2]=(H2a(b[a+74>>1]|0,c[i>>2]|0)|0)+32&-64;c[n+36>>2]=(H2a(b[a+76>>1]|0,c[h>>2]|0)|0)+32&-64;return}function kSa(a,b){a=a|0;b=b|0;var d=0;if(!a){b=35;return b|0}if(!(c[a+8>>2]&2)){b=35;return b|0}if((b|0)<0){b=6;return b|0}if((c[a+28>>2]|0)<=(b|0)){b=6;return b|0}d=c[(c[(c[a+96>>2]|0)+12>>2]|0)+92>>2]|0;if(!d){iSa(a,b);b=0;return b|0}else{b=Xi[d&511](c[a+88>>2]|0,b)|0;return b|0}return 0}function lSa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!a){j=35;return j|0}if(!b){j=6;return j|0}h=c[b+4>>2]|0;if((h|0)<0){j=6;return j|0}f=c[b+8>>2]|0;if((f|0)<0){j=6;return j|0}e=c[b>>2]|0;if(e>>>0>4){j=6;return j|0}i=c[(c[a+96>>2]|0)+12>>2]|0;d=c[i+88>>2]|0;if(d|0){j=Xi[d&511](c[a+88>>2]|0,b)|0;return j|0}d=c[a+8>>2]|0;if((d&3|0)!=2){jSa(a,b);j=0;return j|0}if(!(d&2)){j=35;return j|0}if(e|0){j=7;return j|0}d=c[b+12>>2]|0;if(!d)e=h;else e=((_(d,h)|0)+36|0)/72|0;d=c[b+16>>2]|0;if(!d)d=f;else d=((_(f,d)|0)+36|0)/72|0;f=(f|0)==0?e:d;g=((h|0)==0?f:e)+32|0;d=((h|0)==0?d:f)+32|0;f=c[a+28>>2]|0;if((f|0)<=0){j=23;return j|0}b=c[a+32>>2]|0;e=0;while(1){if(((c[b+(e<<4)+12>>2]|0)+32^d)>>>0<=63)if(((c[b+(e<<4)+8>>2]|0)+32^g)>>>0<=63)break;e=e+1|0;if((e|0)>=(f|0)){d=23;j=25;break}}if((j|0)==25)return d|0;if(!((e|0)>-1&(f|0)>(e|0))){j=6;return j|0}d=c[i+92>>2]|0;if(!d){iSa(a,e);j=0;return j|0}else{j=Xi[d&511](c[a+88>>2]|0,e)|0;return j|0}return 0}function mSa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=i;i=i+32|0;f=(b|0)==0?d:b;b=(b|0)==0?d:(d|0)==0?b:d;d=(f|0)==0?1:f;b=(b|0)==0?1:b;c[e>>2]=0;c[e+4>>2]=(d>>>0<65535?d:65535)<<6;c[e+8>>2]=(b>>>0<65535?b:65535)<<6;c[e+12>>2]=0;c[e+16>>2]=0;b=lSa(a,e)|0;i=e;return b|0}function nSa(a,d,e,f,g){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;if(!a){g=35;return g|0}if(!g){g=6;return g|0}h=c[a+96>>2]|0;c[g>>2]=0;c[g+4>>2]=0;h=c[(c[h+12>>2]|0)+76>>2]|0;if(!h){g=0;return g|0}h=cj[h&127](a,d,e,g)|0;if(!((f|0)!=2&(h|0)==0)){g=h;return g|0}c[g>>2]=H2a(c[g>>2]|0,c[(c[a+88>>2]|0)+16>>2]|0)|0;c[g+4>>2]=H2a(c[g+4>>2]|0,c[(c[a+88>>2]|0)+20>>2]|0)|0;if((f|0)==1){g=0;return g|0}h=c[a+88>>2]|0;d=b[h+12>>1]|0;if((d&65535)<25){c[g>>2]=F2a(c[g>>2]|0,d&65535,25)|0;h=c[a+88>>2]|0}h=b[h+14>>1]|0;if((h&65535)<25){h=F2a(c[g+4>>2]|0,h&65535,25)|0;c[g+4>>2]=h}else h=c[g+4>>2]|0;c[g>>2]=(c[g>>2]|0)+32&-64;c[g+4>>2]=h+32&-64;g=0;return g|0}function oSa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!a){a=35;return a|0}a:do if((b|0)<1970170211){switch(b|0){case 0:{i=6;break}default:break a}return i|0}else{switch(b|0){case 1970170211:break;default:break a}b=c[a+40>>2]|0;if(!b){a=38;return a|0}g=b+(c[a+36>>2]<<2)|0;b:do if((g+-4|0)>>>0>>0)d=g;else{e=g+-4|0;c:while(1){d=c[e>>2]|0;d:do if((c[d+4>>2]|0)==1970170211){f=c[d+8>>2]|0;switch((f&65535)<<16>>16){case 3:if((f>>>16&65535)<<16>>16==10)break c;else break d;case 0:if((f>>>16&65535)<<16>>16==4)break c;else break d;default:break d}}while(0);e=e+-4|0;if(e>>>0>>0){d=g;break b}}c[a+92>>2]=d;a=0;return a|0}while(0);do{d=d+-4|0;if(d>>>0>>0){i=38;j=19;break}h=c[d>>2]|0}while((c[h+4>>2]|0)!=1970170211);if((j|0)==19)return i|0;c[a+92>>2]=h;a=0;return a|0}while(0);d=c[a+40>>2]|0;if(!d){a=38;return a|0}e=c[a+36>>2]|0;if((e|0)>0)g=d;else{a=6;return a|0}while(1){f=c[g>>2]|0;g=g+4|0;if((c[f+4>>2]|0)==(b|0))break;if(g>>>0>=(d+(e<<2)|0)>>>0){i=6;j=19;break}}if((j|0)==19)return i|0;c[a+92>>2]=f;a=0;return a|0}function pSa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+16|0;if(!a){g=35;i=h;return g|0}f=c[a+40>>2]|0;if(!((b|0)!=0&(f|0)!=0)){g=38;i=h;return g|0}d=c[b>>2]|0;if(!d)g=7;else{e=c[d+96>>2]|0;d=c[(c[e>>2]|0)+32>>2]|0;if(!d)g=7;else{d=Xi[d&511](e,590264)|0;if(!d)g=7;else if(!(Xi[c[d>>2]&511](b,h)|0)){if((c[h+4>>2]|0)==14){g=6;i=h;return g|0}}else g=7}}d=c[a+36>>2]|0;if((d|0)>0)e=f;else{g=6;i=h;return g|0}while(1){if((c[e>>2]|0)==(b|0))break;e=e+4|0;if(e>>>0>=(f+(d<<2)|0)>>>0){d=6;g=13;break}}if((g|0)==13){i=h;return d|0}c[a+92>>2]=b;g=0;i=h;return g|0}function qSa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;c[k>>2]=0;if((a|0)==0|(d|0)==0){e=6;i=k;return e|0}j=c[d>>2]|0;if(!j){e=6;i=k;return e|0}g=c[j+100>>2]|0;f=HTa(g,c[a>>2]|0,k)|0;do if(!(c[k>>2]|0)){c[f>>2]=c[d>>2];c[f+4>>2]=c[d+4>>2];c[f+8>>2]=c[d+8>>2];c[f+12>>2]=a;d=c[a+4>>2]|0;if(!d)h=6;else{b=Xi[d&511](f,b)|0;c[k>>2]=b;if(!b)h=6}if((h|0)==6){d=c[j+36>>2]|0;d=JTa(g,4,d,d+1|0,c[j+40>>2]|0,k)|0;c[j+40>>2]=d;if(!(c[k>>2]|0)){h=c[j+36>>2]|0;c[j+36>>2]=h+1;c[d+(h<<2)>>2]=f;break}}d=c[(c[f>>2]|0)+100>>2]|0;a=c[(c[f+12>>2]|0)+8>>2]|0;if(a|0)Hi[a&1023](f);LTa(d,f);f=0}while(0);if(e|0)c[e>>2]=f;e=c[k>>2]|0;i=k;return e|0}function rSa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if(!a){e=0;b=0}else{e=c[a+92>>2]|0;if(!e){e=0;b=0}else if(!(c[a+16>>2]|0)){e=0;b=0}else{c[f>>2]=b;do b=Xi[c[(c[e+12>>2]|0)+16>>2]&511](e,f)|0;while(b>>>0>=(c[a+16>>2]|0)>>>0);e=b;b=(b|0)==0?0:c[f>>2]|0}}if(!d){i=f;return b|0}c[d>>2]=e;i=f;return b|0}function sSa(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;if(!b){d=35;return d|0}if((e|0)==0|(f|0)==0){d=6;return d|0}a[e>>0]=0;if((c[b+16>>2]|0)<=(d|0)){d=16;return d|0}if(!(c[b+8>>2]&512)){d=6;return d|0}i=(c[b+128>>2]|0)+36|0;g=c[i>>2]|0;switch(g|0){case 0:{h=6;break}case -2:{d=6;return d|0}default:{}}do if((h|0)==6){g=c[b+96>>2]|0;h=c[(c[g>>2]|0)+32>>2]|0;if(!h){c[i>>2]=-2;d=6;return d|0}else{g=Xi[h&511](g,591499)|0;c[(c[b+128>>2]|0)+36>>2]=g|0?g:-2;if(!g)g=6;else break;return g|0}}while(0);g=c[g>>2]|0;if(!g){d=6;return d|0}d=cj[g&127](b,d,e,f)|0;return d|0}function tSa(a){a=a|0;var b=0;if(!a)b=36;else{b=c[a>>2]|0;if(!b)b=35;else if(!(c[b+96>>2]|0))b=35;else{c[b+88>>2]=a;b=0}}return b|0}function uSa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;if(!a){f=0;return f|0}a=c[a+148>>2]|0;if(d|0){e=c[d>>2]|0;if(e)a=c[e+4>>2]|0;c[d>>2]=0}if(!a){f=0;return f|0}while(1){e=c[a+8>>2]|0;if((c[e+16>>2]|0)==(b|0))break;a=c[a+4>>2]|0;if(!a){a=0;f=11;break}}if((f|0)==11)return a|0;if(!d){f=e;return f|0}c[d>>2]=a;f=e;return f|0}function vSa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0;l=i;i=i+16|0;if(!a){a=33;i=l;return a|0}if(!b){a=6;i=l;return a|0}if((c[b+16>>2]|0)>131078){a=4;i=l;return a|0}e=c[a+16>>2]|0;if(!e){h=c[a>>2]|0;c[l>>2]=0;e=a}else{d=c[b+8>>2]|0;h=0;do{f=c[a+20+(h<<2)>>2]|0;g=c[f>>2]|0;h=h+1|0;if(!(Imb(c[g+8>>2]|0,d)|0)){k=9;break}}while(h>>>0>>0);do if((k|0)==9)if((c[b+12>>2]|0)>(c[g+12>>2]|0)){wSa(a,f)|0;e=c[a+16>>2]|0;break}else{a=5;i=l;return a|0}while(0);d=c[a>>2]|0;c[l>>2]=0;if(e>>>0>31){c[l>>2]=48;a=48;i=l;return a|0}else{h=d;e=a}}j=HTa(h,c[b+4>>2]|0,l)|0;d=c[l>>2]|0;if(d|0){a=d;i=l;return a|0}c[j+4>>2]=a;c[j+8>>2]=h;c[j>>2]=b;do if(!(c[b>>2]&2))k=27;else{f=c[e>>2]|0;g=HTa(f,12,l+4|0)|0;d=c[l+4>>2]|0;if(d|0){c[l>>2]=d;break}d=c[j>>2]|0;c[j+12>>2]=d;e=c[d+36>>2]|0;c[j+16>>2]=e;if((e|0)==1869968492){e=c[(c[d+56>>2]|0)+4>>2]|0;if(!e)k=21;else{e=Xi[e&511](f,j+52|0)|0;c[l+4>>2]=e;if(!e){c[j+56>>2]=c[(c[d+56>>2]|0)+16>>2];c[j+60>>2]=c[d+40>>2];k=21}}}else k=21;if((k|0)==21){c[g+8>>2]=j;PTa(a+148|0,g);d=c[a+148>>2]|0;a:do if(!d)d=0;else while(1){e=c[d+8>>2]|0;if((c[e+16>>2]|0)==1869968492){d=e;break a}d=c[d+4>>2]|0;if(!d){d=0;break}}while(0);c[a+156>>2]=d;if(!(c[l+4>>2]|0)){c[l>>2]=0;k=27;break}}LTa(f,g);g=c[l+4>>2]|0;c[l>>2]=g;if(!g)k=27}while(0);do if((k|0)==27){d=c[j>>2]|0;e=c[d>>2]|0;if(e&4|0)c[a+160>>2]=j;if(e&1|0)c[j+12>>2]=d;d=c[b+24>>2]|0;if(d|0){b=vi[d&2047](j)|0;c[l>>2]=b;if(b|0)break}b=c[a+16>>2]|0;c[a+16>>2]=b+1;c[a+20+(b<<2)>>2]=j;a=0;i=l;return a|0}while(0);if(c[c[j>>2]>>2]&2|0){d=c[j+12>>2]|0;if(d|0)if((c[d+36>>2]|0)==1869968492){e=c[j+52>>2]|0;if(e|0)Hi[c[(c[d+56>>2]|0)+20>>2]&1023](e)}}LTa(h,j);a=c[l>>2]|0;i=l;return a|0}function wSa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;if(!a){b=33;return b|0}if(!b){b=34;return b|0}e=c[a+16>>2]|0;if((e|0)<=0){b=34;return b|0}d=a+20|0;while(1){if((c[d>>2]|0)==(b|0))break;d=d+4|0;if(d>>>0>=(a+20+(e<<2)|0)>>>0){d=34;f=26;break}}if((f|0)==26)return d|0;c[a+16>>2]=e+-1;e=a+20+(e<<2)+-4|0;if(d>>>0>>0)do{i=d;d=d+4|0;c[i>>2]=c[d>>2]}while(d>>>0>>0);c[e>>2]=0;i=c[b+8>>2]|0;g=c[b>>2]|0;h=c[b+4>>2]|0;if(h|0){if((c[h+160>>2]|0)==(b|0))c[h+160>>2]=0;if(c[g>>2]&2|0){d=c[h>>2]|0;e=OTa(h+148|0,b)|0;if(e|0){a=c[b+12>>2]|0;if((c[a+36>>2]|0)==1869968492){f=c[b+52>>2]|0;if(f|0)Hi[c[(c[a+56>>2]|0)+20>>2]&1023](f)}QTa(h+148|0,e);LTa(d,e);d=c[h+148>>2]|0;a:do if(!d)d=0;else while(1){e=c[d+8>>2]|0;if((c[e+16>>2]|0)==1869968492){d=e;break a}d=c[d+4>>2]|0;if(!d){d=0;break}}while(0);c[h+156>>2]=d}}}if(c[c[b>>2]>>2]&1|0)RTa(b+16|0,104,c[b+8>>2]|0,b);d=c[g+28>>2]|0;if(d|0)Hi[d&1023](b);LTa(i,b);b=0;return b|0}function xSa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;if(!((a|0)!=0&(b|0)!=0)){h=0;return h|0}e=c[a+16>>2]|0;if((e|0)<=0){h=0;return h|0}g=a+20|0;while(1){f=c[g>>2]|0;d=c[f>>2]|0;g=g+4|0;if(!(Imb(c[d+8>>2]|0,b)|0))break;if(g>>>0>=(a+20+(e<<2)|0)>>>0){d=0;h=8;break}}if((h|0)==8)return d|0;if(!f){h=0;return h|0}h=c[d+20>>2]|0;return h|0}function ySa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;if(!a){b=0;return b|0}d=c[(c[a>>2]|0)+32>>2]|0;if(d|0){d=Xi[d&511](a,b)|0;if(d|0){b=d;return b|0}}g=c[a+4>>2]|0;f=c[g+16>>2]|0;if((f|0)<=0){b=0;return b|0}h=g+20|0;while(1){d=c[h>>2]|0;if((d|0)!=(a|0)){e=c[(c[d>>2]|0)+32>>2]|0;if(e|0){d=Xi[e&511](d,b)|0;if(d|0){e=10;break}}}h=h+4|0;if(h>>>0>=(g+20+(f<<2)|0)>>>0){d=0;e=10;break}}if((e|0)==10)return d|0;return 0}function zSa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+16|0;if(!((a|0)!=0&(b|0)!=0)){a=6;i=f;return a|0}d=HTa(a,192,f)|0;e=c[f>>2]|0;if(e|0){a=e;i=f;return a|0}c[d>>2]=a;c[d+168>>2]=0;c[d+164>>2]=0;c[d+4>>2]=2;c[d+8>>2]=6;c[d+12>>2]=0;c[d+188>>2]=1;c[b>>2]=d;a=0;i=f;return a|0}function ASa(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;if(!a){a=33;return a|0}k=c[a+188>>2]|0;c[a+188>>2]=k+-1;if((k|0)>1){a=0;return a|0}k=c[a>>2]|0;b=c[a+16>>2]|0;d=b;j=0;do{a:do if(!d)d=0;else{if(j|0){h=0;while(1){g=c[a+20+(h<<2)>>2]|0;if(c[c[g>>2]>>2]&1|0){b=c[g+16>>2]|0;if(b|0)do{b=c[b+8>>2]|0;if(b|0){d=c[b+96>>2]|0;if(d|0){f=(c[b+128>>2]|0)+56|0;i=c[f>>2]|0;c[f>>2]=i+-1;if((i|0)<=1){e=c[d+8>>2]|0;f=OTa(d+16|0,b)|0;if(f|0){QTa(d+16|0,f);LTa(e,f);aSa(e,b,d)}}}}b=c[g+16>>2]|0}while((b|0)!=0)}h=h+1|0;d=c[a+16>>2]|0;if(h>>>0>=d>>>0){b=d;break a}}}i=c[46360+(j<<2)>>2]|0;h=0;while(1){g=c[a+20+(h<<2)>>2]|0;d=c[g>>2]|0;if(!(Imb(c[d+8>>2]|0,i)|0))if(!(c[d>>2]&1))d=b;else{d=c[g+16>>2]|0;if(!d)d=b;else{b=d;do{b=c[b+8>>2]|0;if(b|0){d=c[b+96>>2]|0;if(d|0){e=(c[b+128>>2]|0)+56|0;f=c[e>>2]|0;c[e>>2]=f+-1;if((f|0)<=1){e=c[d+8>>2]|0;f=OTa(d+16|0,b)|0;if(f|0){QTa(d+16|0,f);LTa(e,f);aSa(e,b,d)}}}}b=c[g+16>>2]|0}while((b|0)!=0);d=c[a+16>>2]|0}}else d=b;h=h+1|0;if(h>>>0>=d>>>0){b=d;break}else b=d}}while(0);j=j+1|0}while((j|0)!=2);if(b|0)do{wSa(a,c[a+20+(b+-1<<2)>>2]|0)|0;b=c[a+16>>2]|0}while((b|0)!=0);LTa(k,a);a=0;return a|0}function BSa(e,f,g){e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=i;i=i+48|0;if(!e){v=20;i=w;return v|0}if(!f){v=6;i=w;return v|0}s=c[f+16>>2]|0;t=c[f+20>>2]|0;if((b[e>>1]|0)<=0){v=0;i=w;return v|0}j=0;u=0;a:while(1){r=b[(c[e+12>>2]|0)+(u<<1)>>1]|0;if(r<<16>>16<0){h=20;v=34;break}h=c[e+4>>2]|0;k=h+(j<<3)|0;n=c[k>>2]|0;m=c[k+4>>2]|0;c[w+8>>2]=n;c[w+8+4>>2]=m;c[w+8>>2]=(n<>2]=(m<>16<<3)>>2]<>16<<3)+4>>2]<>2]|0;q=c[w+8+4>>2]|0;c[w+16>>2]=p;c[w+16+4>>2]=q;q=c[e+8>>2]|0;l=q+j|0;switch(d[l>>0]&3|0){case 2:{h=20;v=34;break a}case 0:{if((a[q+(r<<16>>16)>>0]&3)==1){c[w+8>>2]=n;c[w+8+4>>2]=o;h=h+(r<<16>>16<<3)+-8|0}else{c[w+8>>2]=(p+n|0)/2|0;c[w+8+4>>2]=((m<>16<<3)|0}p=h;k=k+-8|0;l=l+-1|0;break}default:p=h+(r<<16>>16<<3)|0}h=Xi[c[f>>2]&511](w+8|0,g)|0;if(h|0){v=33;break}b:do if(k>>>0

>>0){n=k;m=l;c:while(1){k=n+8|0;l=m+1|0;switch(d[l>>0]&3|0){case 1:{c[w>>2]=(c[k>>2]<>2]=(c[n+12>>2]<>2]&511](w,g)|0;if(!h)h=l;else{v=34;break a}break}case 0:{h=(c[k>>2]<>2]=h;m=(c[n+12>>2]<>2]=m;if(k>>>0>=p>>>0){v=22;break c}d:while(1){o=k;k=k+8|0;l=l+1|0;q=d[l>>0]&3;n=(c[k>>2]<>2]=n;o=(c[o+12>>2]<>2]=o;switch(q|0){case 1:break d;case 0:break;default:{k=7;h=0;v=20;break c}}c[w+32>>2]=(n+h|0)/2|0;c[w+32+4>>2]=(o+m|0)/2|0;h=Gi[c[f+8>>2]&255](w+16|0,w+32|0,g)|0;if(h|0){k=10;v=20;break c}h=c[w>>2]|0;m=c[w+4>>2]|0;c[w+16>>2]=h;c[w+16+4>>2]=m;if(k>>>0>=p>>>0){v=22;break c}}h=Gi[c[f+8>>2]&255](w+16|0,w,g)|0;if(!h)h=l;else{k=10;break b}break}default:{if((n+16|0)>>>0>p>>>0){v=27;break a}if((a[m+2>>0]&3)!=2){v=27;break a}k=n+24|0;c[w>>2]=(c[n+8>>2]<>2]=(c[n+12>>2]<>2]=(c[n+16>>2]<>2]=(c[n+20>>2]<>>0>p>>>0){v=26;break c}c[w+24>>2]=(c[k>>2]<>2]=(c[n+28>>2]<>2]&127](w,w+32|0,w+24|0,g)|0;if(!h)h=m+3|0;else{k=10;break b}}}if(k>>>0

>>0){n=k;m=h}else{v=29;break b}}if((v|0)==20){v=0;break}else if((v|0)==22){h=Gi[c[f+8>>2]&255](w+16|0,w+8|0,g)|0;v=30;break}else if((v|0)==26){h=cj[c[f+12>>2]&127](w,w+32|0,w+8|0,g)|0;v=30;break}}else v=29;while(0);if((v|0)==29){h=Xi[c[f+4>>2]&511](w+8|0,g)|0;v=30}if((v|0)==30){v=0;q=(h|0)==0;k=q?0:10;j=q?(r<<16>>16)+1|0:j}switch(k|0){case 7:{h=20;v=34;break a}case 0:break;default:{v=33;break a}}u=u+1|0;if((u|0)>=(b[e>>1]|0)){h=0;v=33;break}}if((v|0)==27){v=20;i=w;return v|0}else if((v|0)==33){v=h;i=w;return v|0}else if((v|0)==34){i=w;return h|0}return 0}function CSa(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0;g=i;i=i+16|0;if(!((a|0)!=0&(f|0)!=0)){d=6;i=g;return d|0};c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;c[f+16>>2]=0;if((e|0)<0|e>>>0>d>>>0){d=6;i=g;return d|0}if(d>>>0>32767){d=10;i=g;return d|0}c[f+4>>2]=JTa(a,8,0,d,0,g)|0;if(!(c[g>>2]|0)){c[f+8>>2]=JTa(a,1,0,d,0,g)|0;if(!(c[g>>2]|0)){c[f+12>>2]=JTa(a,2,0,e,0,g)|0;if(!(c[g>>2]|0)){b[f+2>>1]=d;b[f>>1]=e;c[f+16>>2]=c[f+16>>2]|1;d=0;i=g;return d|0}}}c[f+16>>2]=c[f+16>>2]|1;LTa(a,c[f+4>>2]|0);c[f+4>>2]=0;LTa(a,c[f+8>>2]|0);c[f+8>>2]=0;LTa(a,c[f+12>>2]|0);c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;c[f+16>>2]=0;d=c[g>>2]|0;i=g;return d|0}function DSa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;if(!a){b=33;return b|0}b=CSa(c[a>>2]|0,b,d,e)|0;return b|0}function ESa(a){a=a|0;var d=0,e=0,f=0,g=0,h=0;a:do if(a|0){h=b[a+2>>1]|0;g=b[a>>1]|0;if(!((g|h)<<16>>16)){h=0;return h|0}if(!(h<<16>>16<1|g<<16>>16<1)){if(g<<16>>16>0){a=c[a+12>>2]|0;e=-1;f=0;while(1){d=b[a+(f<<1)>>1]|0;f=f+1|0;if(!((d<<16>>16|0)>(e|0)?d<<16>>16>16:0))break a;if((f|0)>=(g<<16>>16|0)){a=d<<16>>16;break}else e=d<<16>>16}}else a=-1;if((a|0)==((h<<16>>16)+-1|0)){h=0;return h|0}}}while(0);h=6;return h|0}function FSa(a,d){a=a|0;d=d|0;var e=0;if(!((a|0)!=0&(d|0)!=0)){d=20;return d|0}e=b[a+2>>1]|0;if(e<<16>>16!=(b[d+2>>1]|0)){d=6;return d|0}if((b[a>>1]|0)!=(b[d>>1]|0)){d=6;return d|0}if((a|0)==(d|0)){d=0;return d|0}mBb(c[d+4>>2]|0,c[a+4>>2]|0,e<<16>>16<<3|0)|0;mBb(c[d+8>>2]|0,c[a+8>>2]|0,b[a+2>>1]|0)|0;mBb(c[d+12>>2]|0,c[a+12>>2]|0,b[a>>1]<<1|0)|0;c[d+16>>2]=c[a+16>>2]&-2|c[d+16>>2]&1;d=0;return d|0}function GSa(a,b){a=a|0;b=b|0;if(!a){b=33;return b|0}a=c[a>>2]|0;if(!b){b=20;return b|0}if(!a){b=6;return b|0}if(c[b+16>>2]&1|0){LTa(a,c[b+4>>2]|0);c[b+4>>2]=0;LTa(a,c[b+8>>2]|0);c[b+8>>2]=0;LTa(a,c[b+12>>2]|0);c[b+12>>2]=0};c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;c[b+16>>2]=0;b=0;return b|0}function HSa(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;if(!((a|0)!=0&(d|0)!=0))return;l=b[a+2>>1]|0;if(!(l<<16>>16)){g=0;f=0;e=0;a=0}else{j=c[a+4>>2]|0;a=c[j>>2]|0;i=c[j+4>>2]|0;if(l<<16>>16>1){g=j;k=j+8|0;h=a;f=a;e=i;a=i;while(1){i=c[k>>2]|0;f=(i|0)<(f|0)?i:f;h=(i|0)>(h|0)?i:h;g=c[g+12>>2]|0;a=(g|0)<(a|0)?g:a;e=(g|0)>(e|0)?g:e;g=k+8|0;if(g>>>0<(j+(l<<16>>16<<3)|0)>>>0){i=k;k=g;g=i}else{g=h;break}}}else{g=a;f=a;e=i;a=i}}c[d>>2]=f;c[d+8>>2]=g;c[d+4>>2]=a;c[d+12>>2]=e;return}function ISa(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0;if(!a)return;f=b[a+2>>1]|0;if(f<<16>>16<=0)return;g=0;a=c[a+4>>2]|0;while(1){c[a>>2]=(c[a>>2]|0)+d;h=a+4|0;c[h>>2]=(c[h>>2]|0)+e;g=g+1<<16>>16;if((g&65535|0)>=(f<<16>>16|0))break;else a=a+8|0}return}function JSa(a,b){a=a|0;b=b|0;var d=0,e=0;if(!((a|0)!=0&(b|0)!=0))return;d=H2a(c[a>>2]|0,c[b>>2]|0)|0;d=(H2a(c[a+4>>2]|0,c[b+4>>2]|0)|0)+d|0;e=H2a(c[a>>2]|0,c[b+8>>2]|0)|0;b=(H2a(c[a+4>>2]|0,c[b+12>>2]|0)|0)+e|0;c[a>>2]=d;c[a+4>>2]=b;return}function KSa(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;if(!((a|0)!=0&(d|0)!=0))return;f=c[a+4>>2]|0;a=b[a+2>>1]|0;if(a<<16>>16<=0)return;e=f;do{if(e|0){i=H2a(c[e>>2]|0,c[d>>2]|0)|0;g=e+4|0;i=(H2a(c[g>>2]|0,c[d+4>>2]|0)|0)+i|0;h=H2a(c[e>>2]|0,c[d+8>>2]|0)|0;h=(H2a(c[g>>2]|0,c[d+12>>2]|0)|0)+h|0;c[e>>2]=i;c[g>>2]=h}e=e+8|0}while(e>>>0<(f+(a<<16>>16<<3)|0)>>>0);return}function LSa(a){a=a|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;if(!a){n=0;return n|0}j=b[a+2>>1]|0;if(j<<16>>16<1){n=0;return n|0}n=c[a+4>>2]|0;d=c[n>>2]|0;e=c[n+4>>2]|0;if(j<<16>>16<=1){n=2;return n|0}h=n;k=n+8|0;i=d;f=d;g=e;d=e;while(1){e=c[k>>2]|0;f=(e|0)<(f|0)?e:f;e=(e|0)>(i|0)?e:i;m=c[h+12>>2]|0;h=(m|0)<(d|0)?m:d;g=(m|0)>(g|0)?m:g;d=k+8|0;if(d>>>0<(n+(j<<16>>16<<3)|0)>>>0){m=k;k=d;i=e;d=h;h=m}else break}if((f|0)==(e|0)|(g|0)==(h|0)){n=2;return n|0}m=31-(aa(((e|0)<0?0-e|0:e)|((f|0)<0?0-f|0:f)|0)|0)+-14|0;m=(m|0)>0?m:0;k=31-(aa(g-h|0)|0)+-14|0;k=(k|0)>0?k:0;l=b[a>>1]|0;if(l<<16>>16>0){h=c[a+12>>2]|0;d=0;j=0;e=0;while(1){i=b[h+(j<<1)>>1]|0;if((e|0)<=(i|0)){f=c[n+(i<<3)>>2]|0;g=c[n+(i<<3)+4>>2]|0;while(1){a=f;f=c[n+(e<<3)>>2]|0;o=g;g=c[n+(e<<3)+4>>2]|0;d=(_(g-o>>k,f+a>>m)|0)+d|0;if((e|0)>=(i|0))break;else e=e+1|0}}j=j+1|0;if((j|0)>=(l<<16>>16|0))break;else e=i+1|0}if((d|0)>0){o=1;return o|0}}else d=0;o=(d>>31)+2&-2;return o|0}function MSa(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;k=i;i=i+48|0;b=cTa(e,f)|0;c[k>>2]=b;if(b|0){f=b;i=k;return f|0}b=fTa(e,k+24|0,16)|0;c[k>>2]=b;if(b|0){f=b;i=k;return f|0}b=(d[k+24+1>>0]<<16|d[k+24>>0]<<24|d[k+24+2>>0]<<8|d[k+24+3>>0])+f|0;c[h>>2]=b;j=d[k+24+5>>0]<<16|d[k+24+4>>0]<<24|d[k+24+6>>0]<<8|d[k+24+7>>0];if((j|0)==0?1:((d[k+24+9>>0]<<16|d[k+24+8>>0]<<24|d[k+24+10>>0]<<8|d[k+24+11>>0])+b|0)!=(j+f|0)){f=2;i=k;return f|0}b=cTa(e,j+f|0)|0;c[k>>2]=b;if(b|0){f=b;i=k;return f|0}a[k+8+15>>0]=(d[k+24+15>>0]|0)+1;b=fTa(e,k+8|0,16)|0;c[k>>2]=b;if(b|0){f=b;i=k;return f|0}h=a[k+8>>0]|0;b=a[k+8+1>>0]|0;l=a[k+8+2>>0]|0;m=a[k+8+3>>0]|0;n=a[k+8+4>>0]|0;o=a[k+8+5>>0]|0;p=a[k+8+6>>0]|0;q=a[k+8+7>>0]|0;r=a[k+8+8>>0]|0;s=a[k+8+9>>0]|0;t=a[k+8+10>>0]|0;u=a[k+8+11>>0]|0;v=a[k+8+12>>0]|0;w=a[k+8+13>>0]|0;x=a[k+8+14>>0]|0;y=a[k+8+15>>0]|0;if(!((y<<24>>24==(a[k+24+15>>0]|0)&(x<<24>>24==(a[k+24+14>>0]|0)&(w<<24>>24==(a[k+24+13>>0]|0)&(v<<24>>24==(a[k+24+12>>0]|0)&(u<<24>>24==(a[k+24+11>>0]|0)&(t<<24>>24==(a[k+24+10>>0]|0)&(s<<24>>24==(a[k+24+9>>0]|0)&(r<<24>>24==(a[k+24+8>>0]|0)&(q<<24>>24==(a[k+24+7>>0]|0)&(p<<24>>24==(a[k+24+6>>0]|0)&(o<<24>>24==(a[k+24+5>>0]|0)&(n<<24>>24==(a[k+24+4>>0]|0)&(m<<24>>24==(a[k+24+3>>0]|0)&(l<<24>>24==(a[k+24+2>>0]|0)?b<<24>>24==(a[k+24+1>>0]|0):0)))))))))))))?h<<24>>24==(a[k+24>>0]|0)&1:0)|((y|(x|(w|(v|(u|(t|(s|(r|(q|(p|(o|(n|(m|(l|b))))))))))))))<<24>>24==0?h<<24>>24==0&1:0))){y=2;i=k;return y|0}c[k>>2]=dTa(e,8)|0;h=sTa(e,k)|0;b=c[k>>2]|0;if(b|0){y=b;i=k;return y|0}b=cTa(e,(h&65535)+(j+f)|0)|0;c[k>>2]=b;if(b|0){y=b;i=k;return y|0}c[g>>2]=(h&65535)+(j+f);y=0;i=k;return y|0}function NSa(a,d,e,f,g,h,j,k){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+16|0;q=c[a>>2]|0;a=cTa(d,e)|0;c[r>>2]=a;if(a|0){f=a;i=r;return f|0}p=sTa(d,r)|0;a=c[r>>2]|0;if(a|0){f=a;i=r;return f|0}o=0;while(1){n=vTa(d,r)|0;a=c[r>>2]|0;if(a|0){n=24;break}m=sTa(d,r)|0;a=c[r>>2]|0;if(a|0){n=24;break}l=sTa(d,r)|0;a=c[r>>2]|0;if(a|0){n=24;break}if((n|0)==(g|0)){n=9;break}if((o|0)<(p&65535|0))o=o+1|0;else{a=1;n=24;break}}if((n|0)==9){c[k>>2]=(m&65535)+1;a=cTa(d,(l&65535)+e|0)|0;c[r>>2]=a;if(a|0){f=a;i=r;return f|0}m=JTa(q,8,0,c[k>>2]|0,0,r)|0;a=c[r>>2]|0;if(a|0){f=a;i=r;return f|0}a=c[k>>2]|0;a:do if((a|0)>0){l=0;while(1){b[m+(l<<3)>>1]=sTa(d,r)|0;if(c[r>>2]|0)break a;e=dTa(d,2)|0;c[r>>2]=e;if(e|0)break a;a=vTa(d,r)|0;if(c[r>>2]|0)break a;e=dTa(d,4)|0;c[r>>2]=e;if(e|0)break a;c[m+(l<<3)+4>>2]=a&16777215;l=l+1|0;a=c[k>>2]|0;if((l|0)>=(a|0)){n=17;break}}}else n=17;while(0);if((n|0)==17){if(h<<24>>24){cnb(m,a,8,352);a=c[k>>2]|0}a=JTa(q,4,0,a,0,r)|0;if(!(c[r>>2]|0)){if((c[k>>2]|0)>0){l=0;do{c[a+(l<<2)>>2]=(c[m+(l<<3)+4>>2]|0)+f;l=l+1|0}while((l|0)<(c[k>>2]|0))}c[j>>2]=a;c[r>>2]=0}}LTa(q,m);f=c[r>>2]|0;i=r;return f|0}else if((n|0)==24){i=r;return a|0}return 0}function OSa(a,c){a=a|0;c=c|0;a=b[a>>1]|0;c=b[c>>1]|0;return ((a&65535)<(c&65535)?-1:(a&65535)>(c&65535)&1)|0}function PSa(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0;if(!b){c[e>>2]=0;c[g>>2]=0;c[g>>2]=QSa(a,0,d,e,f)|0;c[e+4>>2]=0;c[g+4>>2]=0;c[g+4>>2]=SSa(a,0,d,e+4|0,f+4|0)|0;c[e+8>>2]=0;c[g+8>>2]=0;c[g+8>>2]=TSa(a,0,d,e+8|0,f+8|0)|0;c[e+12>>2]=0;c[g+12>>2]=0;c[g+12>>2]=VSa(a,0,d,e+12|0,f+12|0)|0;c[e+16>>2]=0;c[g+16>>2]=0;c[g+16>>2]=WSa(a,0,d,e+16|0,f+16|0)|0;c[e+20>>2]=0;c[g+20>>2]=0;c[g+20>>2]=XSa(a,0,d,e+20|0,f+20|0)|0;c[e+24>>2]=0;c[g+24>>2]=0;c[g+24>>2]=YSa(a,0,d,e+24|0,f+24|0)|0;c[e+28>>2]=0;c[g+28>>2]=0;c[g+28>>2]=ZSa(a,0,d,e+28|0,f+28|0)|0;c[e+32>>2]=0;c[g+32>>2]=0;c[g+32>>2]=_Sa(a,0,d,e+32|0,f+32|0)|0;return}else j=0;do{h=e+(j<<2)|0;c[h>>2]=0;k=cTa(b,0)|0;i=g+(j<<2)|0;c[i>>2]=k;if(!k)c[i>>2]=Ci[c[46368+(j<<3)>>2]&127](a,b,d,h,f+(j<<2)|0)|0;j=j+1|0}while((j|0)!=9);return}function QSa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;c[e>>2]=0;if(!b){b=81;return b|0}b=RSa(b,333319,f)|0;return b|0}function RSa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+16|0;f=vTa(a,h)|0;e=c[h>>2]|0;a:do if(!e)if((f|0)==(b|0)){vTa(a,h)|0;e=c[h>>2]|0;if(!e){e=dTa(a,16)|0;c[h>>2]=e;if(!e){g=sTa(a,h)|0;e=c[h>>2]|0;if(!e)if(!(g<<16>>16))e=2;else{b=0;while(1){f=vTa(a,h)|0;e=c[h>>2]|0;if(e|0)break a;if((f|0)==2){e=vTa(a,h)|0;if(!(c[h>>2]|0)){vTa(a,h)|0;if(!(c[h>>2]|0))break}}else{e=dTa(a,8)|0;c[h>>2]=e;if(e|0)break a}b=b+1|0;if((b|0)>=(g&65535|0)){e=2;break a}}c[d>>2]=e;e=0}}}}else e=2;while(0);i=h;return e|0}function SSa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;c[e>>2]=0;if(!b){b=81;return b|0}b=RSa(b,333312,f)|0;return b|0}function TSa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0;j=i;i=i+48|0;h=c[a>>2]|0;g=USa(h,d,527717)|0;if(!g){e=64;i=j;return e|0}c[j+8>>2]=4;c[j+8+12>>2]=g;b=KRa(a,j+8|0,j)|0;if(!b){b=c[j>>2]|0;if(!b){b=81;d=0}else{b=RSa(b,333319,f)|0;d=c[j>>2]|0}LRa(d,0);if(!b){c[e>>2]=g;e=0;i=j;return e|0}}LTa(h,g);e=b;i=j;return e|0}function USa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;g=i;i=i+16|0;c[g>>2]=0;f=rnb(d)|0;f=HTa(b,f+1+(rnb(e)|0)|0,g)|0;if(c[g>>2]|0){e=0;i=g;return e|0}b=sob(d,47)|0;if(!b){a[f>>0]=0;b=d}else{Rob(f,d,b-d+1|0)|0;a[f+(b-d+1)>>0]=0;b=b+1|0}Lpb(f,e)|0;Lpb(f,b)|0;e=f;i=g;return e|0}function VSa(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0;k=i;i=i+16|0;h=rnb(e)|0;j=HTa(c[b>>2]|0,h+18|0,k)|0;d=c[k>>2]|0;if(d|0){g=d;i=k;return g|0}mBb(j|0,e|0,h|0)|0;d=j+h|0;b=527720;h=d+18|0;do{a[d>>0]=a[b>>0]|0;d=d+1|0;b=b+1|0}while((d|0)<(h|0));c[f>>2]=j;c[g>>2]=0;g=0;i=k;return g|0}function WSa(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;j=i;i=i+16|0;h=rnb(e)|0;d=HTa(c[b>>2]|0,h+6|0,j)|0;b=c[j>>2]|0;if(b|0){g=b;i=j;return g|0}mBb(d|0,e|0,h|0)|0;a[d+h>>0]=a[527738]|0;a[d+h+1>>0]=a[527739]|0;a[d+h+2>>0]=a[527740]|0;a[d+h+3>>0]=a[527741]|0;a[d+h+4>>0]=a[527742]|0;a[d+h+5>>0]=a[527743]|0;c[f>>2]=d;c[g>>2]=0;g=0;i=j;return g|0}function XSa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;d=USa(c[a>>2]|0,d,527744)|0;if(!d){f=64;return f|0}c[e>>2]=d;c[f>>2]=0;f=0;return f|0}function YSa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;d=USa(c[a>>2]|0,d,527758)|0;if(!d){f=64;return f|0}c[e>>2]=d;c[f>>2]=0;f=0;return f|0}function ZSa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0;j=i;i=i+48|0;h=c[a>>2]|0;g=USa(h,d,527769)|0;if(!g){e=64;i=j;return e|0}c[j+8>>2]=4;c[j+8+12>>2]=g;b=KRa(a,j+8|0,j)|0;if(!b){b=c[j>>2]|0;if(!b){b=81;d=0}else{b=RSa(b,333319,f)|0;d=c[j>>2]|0}LRa(d,0);if(!b){c[e>>2]=g;e=0;i=j;return e|0}}LTa(h,g);e=b;i=j;return e|0}function _Sa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0;j=i;i=i+48|0;h=c[a>>2]|0;g=USa(h,d,527771)|0;if(!g){e=64;i=j;return e|0}c[j+8>>2]=4;c[j+8+12>>2]=g;b=KRa(a,j+8|0,j)|0;if(!b){b=c[j>>2]|0;if(!b){b=81;d=0}else{b=RSa(b,333319,f)|0;d=c[j>>2]|0}LRa(d,0);if(!b){c[e>>2]=g;e=0;i=j;return e|0}}LTa(h,g);e=b;i=j;return e|0}function $Sa(a,b){a=a|0;b=b|0;if(b>>>0>8){b=0;return b|0}b=((c[46368+(b<<3)+4>>2]|0)+-3|0)>>>0<2&1;return b|0}function aTa(a,b,d){a=a|0;b=b|0;d=d|0;c[a>>2]=b;c[a+4>>2]=d;c[a+8>>2]=0;c[a+32>>2]=0;c[a+20>>2]=0;c[a+24>>2]=0;return}function bTa(a){a=a|0;var b=0;if(!a)return;b=c[a+24>>2]|0;if(!b)return;Hi[b&1023](a);return}function cTa(a,b){a=a|0;b=b|0;var d=0;d=c[a+20>>2]|0;if(!d){if((c[a+4>>2]|0)>>>0>>0){a=85;return a|0}}else if(cj[d&127](a,b,0,0)|0){a=85;return a|0}c[a+8>>2]=b;a=0;return a|0}function dTa(a,b){a=a|0;b=b|0;var d=0;if((b|0)<0){a=85;return a|0}b=(c[a+8>>2]|0)+b|0;d=c[a+20>>2]|0;if(!d){if((c[a+4>>2]|0)>>>0>>0){a=85;return a|0}}else if(cj[d&127](a,b,0,0)|0){a=85;return a|0}c[a+8>>2]=b;a=0;return a|0}function eTa(a){a=a|0;return c[a+8>>2]|0}function fTa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=c[a+8>>2]|0;e=c[a+4>>2]|0;if(e>>>0<=g>>>0){a=85;return a|0}f=c[a+20>>2]|0;if(!f){e=(e-g|0)>>>0>d>>>0?d:e-g|0;mBb(b|0,(c[a>>2]|0)+g|0,e|0)|0}else e=cj[f&127](a,g,b,d)|0;c[a+8>>2]=e+g;a=e>>>0>>0?85:0;return a|0}function gTa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=c[a+4>>2]|0;if(f>>>0<=b>>>0){a=85;return a|0}g=c[a+20>>2]|0;if(!g){f=(f-b|0)>>>0>e>>>0?e:f-b|0;mBb(d|0,(c[a>>2]|0)+b|0,f|0)|0}else f=cj[g&127](a,b,d,e)|0;c[a+8>>2]=f+b;a=f>>>0>>0?85:0;return a|0}function hTa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;e=c[a+8>>2]|0;f=c[a+4>>2]|0;if(f>>>0<=e>>>0){a=0;return a|0}g=c[a+20>>2]|0;if(!g){d=(f-e|0)>>>0>d>>>0?d:f-e|0;mBb(b|0,(c[a>>2]|0)+e|0,d|0)|0;e=d}else e=cj[g&127](a,e,b,d)|0;c[a+8>>2]=(c[a+8>>2]|0)+e;a=e;return a|0}function iTa(a,b,d){a=a|0;b=b|0;d=d|0;b=jTa(a,b)|0;if(b|0)return b|0;c[d>>2]=c[a+32>>2];c[a+32>>2]=0;c[a+36>>2]=0;return b|0}function jTa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+16|0;c[h>>2]=0;if(!(c[a+20>>2]|0)){d=c[a+8>>2]|0;g=c[a+4>>2]|0;if(g>>>0<=d>>>0|(g-d|0)>>>0>>0){c[h>>2]=85;a=85;i=h;return a|0}else{g=(c[a>>2]|0)+d|0;c[a+32>>2]=g;c[a+36>>2]=g+b;c[a+8>>2]=d+b;a=0;i=h;return a|0}}g=c[a+28>>2]|0;if((c[a+4>>2]|0)>>>0>>0){c[h>>2]=85;a=85;i=h;return a|0}d=ITa(g,b,h)|0;c[a>>2]=d;e=c[h>>2]|0;if(e|0){a=e;i=h;return a|0}f=cj[c[a+20>>2]&127](a,c[a+8>>2]|0,d,b)|0;d=c[a>>2]|0;if(f>>>0>>0){LTa(g,d);c[a>>2]=0;c[h>>2]=85;e=85;d=0}else e=c[h>>2]|0;c[a+32>>2]=d;c[a+36>>2]=d+b;c[a+8>>2]=(c[a+8>>2]|0)+f;a=e;i=h;return a|0}function kTa(a,b){a=a|0;b=b|0;if(a|0)if(c[a+20>>2]|0){LTa(c[a+28>>2]|0,c[b>>2]|0);c[b>>2]=0}c[b>>2]=0;return}function lTa(a){a=a|0;if(c[a+20>>2]|0){LTa(c[a+28>>2]|0,c[a>>2]|0);c[a>>2]=0}c[a+32>>2]=0;c[a+36>>2]=0;return}function mTa(b){b=b|0;var d=0;d=c[b+32>>2]|0;if(d>>>0>=(c[b+36>>2]|0)>>>0){b=0;return b|0}c[b+32>>2]=d+1;b=a[d>>0]|0;return b|0}function nTa(a){a=a|0;var b=0,e=0,f=0;b=c[a+32>>2]|0;if((b+1|0)>>>0>=(c[a+36>>2]|0)>>>0){e=b;b=0;c[a+32>>2]=e;return b|0}f=b+2|0;e=((d[b>>0]|0)<<8|(d[b+1>>0]|0))&65535;c[a+32>>2]=f;return e|0}function oTa(a){a=a|0;var b=0,e=0,f=0;b=c[a+32>>2]|0;if((b+1|0)>>>0>=(c[a+36>>2]|0)>>>0){e=b;b=0;c[a+32>>2]=e;return b|0}f=b+2|0;e=((d[b+1>>0]|0)<<8|(d[b>>0]|0))&65535;c[a+32>>2]=f;return e|0}function pTa(a){a=a|0;var b=0,e=0,f=0;b=c[a+32>>2]|0;if((b+3|0)>>>0>=(c[a+36>>2]|0)>>>0){e=b;b=0;c[a+32>>2]=e;return b|0}f=b+4|0;e=(d[b+1>>0]|0)<<16|(d[b>>0]|0)<<24|(d[b+2>>0]|0)<<8|(d[b+3>>0]|0);c[a+32>>2]=f;return e|0}function qTa(a){a=a|0;var b=0,e=0,f=0;b=c[a+32>>2]|0;if((b+3|0)>>>0>=(c[a+36>>2]|0)>>>0){e=b;b=0;c[a+32>>2]=e;return b|0}f=b+4|0;e=(d[b+2>>0]|0)<<16|(d[b+3>>0]|0)<<24|(d[b+1>>0]|0)<<8|(d[b>>0]|0);c[a+32>>2]=f;return e|0}function rTa(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+16|0;a[h>>0]=0;c[d>>2]=0;e=c[b+20>>2]|0;f=c[b+8>>2]|0;if(!e)if(f>>>0<(c[b+4>>2]|0)>>>0){g=a[(c[b>>2]|0)+f>>0]|0;a[h>>0]=g;e=f;f=g;g=6}else g=7;else if((cj[e&127](b,f,h,1)|0)==1){e=c[b+8>>2]|0;f=a[h>>0]|0;g=6}else g=7;if((g|0)==6){c[b+8>>2]=e+1;b=f;i=h;return b|0}else if((g|0)==7){c[d>>2]=85;b=0;i=h;return b|0}return 0}function sTa(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0;h=i;i=i+16|0;c[b>>2]=0;e=c[a+8>>2]|0;do if((e+1|0)>>>0<(c[a+4>>2]|0)>>>0){f=c[a+20>>2]|0;if(!f){f=(c[a>>2]|0)+e|0;if(!f){b=e;e=0}else g=6}else{if((cj[f&127](a,e,h,2)|0)!=2)break;e=c[a+8>>2]|0;f=h;g=6}if((g|0)==6){b=e;e=((d[f>>0]|0)<<8|(d[f+1>>0]|0))&65535}c[a+8>>2]=b+2;g=e;i=h;return g|0}while(0);c[b>>2]=85;g=0;i=h;return g|0}function tTa(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0;h=i;i=i+16|0;c[b>>2]=0;e=c[a+8>>2]|0;do if((e+1|0)>>>0<(c[a+4>>2]|0)>>>0){f=c[a+20>>2]|0;if(!f){f=(c[a>>2]|0)+e|0;if(!f){b=e;e=0}else g=6}else{if((cj[f&127](a,e,h,2)|0)!=2)break;e=c[a+8>>2]|0;f=h;g=6}if((g|0)==6){b=e;e=((d[f+1>>0]|0)<<8|(d[f>>0]|0))&65535}c[a+8>>2]=b+2;g=e;i=h;return g|0}while(0);c[b>>2]=85;g=0;i=h;return g|0}function uTa(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0;h=i;i=i+16|0;c[b>>2]=0;e=c[a+8>>2]|0;do if((e+2|0)>>>0<(c[a+4>>2]|0)>>>0){f=c[a+20>>2]|0;if(!f){f=(c[a>>2]|0)+e|0;if(!f){b=e;e=0}else g=6}else{if((cj[f&127](a,e,h,3)|0)!=3)break;e=c[a+8>>2]|0;f=h;g=6}if((g|0)==6){b=e;e=(d[f+1>>0]|0)<<8|(d[f>>0]|0)<<16|(d[f+2>>0]|0)}c[a+8>>2]=b+3;g=e;i=h;return g|0}while(0);c[b>>2]=85;g=0;i=h;return g|0}function vTa(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0;h=i;i=i+16|0;c[b>>2]=0;e=c[a+8>>2]|0;do if((e+3|0)>>>0<(c[a+4>>2]|0)>>>0){f=c[a+20>>2]|0;if(!f){f=(c[a>>2]|0)+e|0;if(!f){b=e;e=0}else g=6}else{if((cj[f&127](a,e,h,4)|0)!=4)break;e=c[a+8>>2]|0;f=h;g=6}if((g|0)==6){b=e;e=(d[f+1>>0]|0)<<16|(d[f>>0]|0)<<24|(d[f+2>>0]|0)<<8|(d[f+3>>0]|0)}c[a+8>>2]=b+4;g=e;i=h;return g|0}while(0);c[b>>2]=85;g=0;i=h;return g|0}function wTa(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0;h=i;i=i+16|0;c[b>>2]=0;e=c[a+8>>2]|0;do if((e+3|0)>>>0<(c[a+4>>2]|0)>>>0){f=c[a+20>>2]|0;if(!f){f=(c[a>>2]|0)+e|0;if(!f){b=e;e=0}else g=6}else{if((cj[f&127](a,e,h,4)|0)!=4)break;e=c[a+8>>2]|0;f=h;g=6}if((g|0)==6){b=e;e=(d[f+2>>0]|0)<<16|(d[f+3>>0]|0)<<24|(d[f+1>>0]|0)<<8|(d[f>>0]|0)}c[a+8>>2]=b+4;g=e;i=h;return g|0}while(0);c[b>>2]=85;g=0;i=h;return g|0}function xTa(f,g,h){f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0;if(!g){n=6;return n|0}if(!f){n=40;return n|0}m=0;a:while(1){i=c[f+32>>2]|0;b:while(1){l=b[g>>1]|0;switch(l&255|0){case 4:break b;case 25:case 24:{j=i+((l&65535)>>>8&65535)|0;if(j>>>0>(c[f+36>>2]|0)>>>0){i=85;g=m;break a}if((l&255)<<24>>24==24){mBb(h+(e[g+2>>1]|0)|0,i|0,(l&65535)>>>8&65535|0)|0;i=j}else i=j;break}case 9:case 8:{k=i+1|0;j=24;i=d[i>>0]|0;n=18;break}case 12:case 13:{k=i+2|0;j=16;i=(d[i>>0]|0)<<8|(d[i+1>>0]|0);n=18;break}case 14:case 15:{k=i+2|0;j=16;i=(d[i+1>>0]|0)<<8|(d[i>>0]|0);n=18;break}case 16:case 17:{k=i+4|0;j=0;i=(d[i+1>>0]|0)<<16|(d[i>>0]|0)<<24|(d[i+2>>0]|0)<<8|(d[i+3>>0]|0);n=18;break}case 18:case 19:{k=i+4|0;j=0;i=(d[i+2>>0]|0)<<16|(d[i+3>>0]|0)<<24|(d[i+1>>0]|0)<<8|(d[i>>0]|0);n=18;break}case 20:case 21:{k=i+3|0;j=8;i=(d[i+1>>0]|0)<<8|(d[i>>0]|0)<<16|(d[i+2>>0]|0);n=18;break}case 22:case 23:{k=i+3|0;j=8;i=(d[i+1>>0]|0)<<8|(d[i+2>>0]|0)<<16|(d[i>>0]|0);n=18;break}default:{g=m;n=17;break a}}c:do if((n|0)==18){n=0;j=(l&1)==0?i:i<>j;i=h+(e[g+2>>1]|0)|0;switch((l&65535)>>>8&65535|0){case 1:{a[i>>0]=j;i=k;break c}case 2:{b[i>>1]=j;i=k;break c}case 4:{c[i>>2]=j;i=k;break c}default:{c[i>>2]=j;i=k;break c}}}while(0);g=g+4|0}i=jTa(f,e[g+2>>1]|0)|0;if(!i){g=g+4|0;m=1}else{g=m;break}}if((n|0)==17){c[f+32>>2]=i;i=0}if(!(g<<24>>24)){n=i;return n|0}if(c[f+20>>2]|0){LTa(c[f+28>>2]|0,c[f>>2]|0);c[f>>2]=0}c[f+32>>2]=0;c[f+36>>2]=0;n=i;return n|0}function yTa(a,b){a=a|0;b=b|0;var d=0;if(!a){a=40;return a|0}c[a+12>>2]=0;c[a+16>>2]=b;c[a>>2]=0;c[a+8>>2]=0;c[a+20>>2]=0;c[a+24>>2]=0;b=Xnb(b,527785)|0;if(!b){a=1;return a|0}lob(b,0,2)|0;d=tpb(b)|0;c[a+4>>2]=d;if(!d){_nb(b)|0;d=81;return d|0}else{lob(b,0,0)|0;c[a+12>>2]=b;c[a+20>>2]=83;c[a+24>>2]=692;d=0;return d|0}return 0}function zTa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;if(!e)if((c[a+4>>2]|0)>>>0>>0){a=1;return a|0}f=c[a+12>>2]|0;if((c[a+8>>2]|0)!=(b|0))lob(f,b,0)|0;a=qpb(d,1,e,f)|0;return a|0}function ATa(a){a=a|0;_nb(c[a+12>>2]|0)|0;c[a+12>>2]=0;c[a+4>>2]=0;c[a>>2]=0;return}function BTa(){var a=0;a=Vpb(16)|0;if(!a)return a|0;c[a>>2]=0;c[a+4>>2]=353;c[a+12>>2]=84;c[a+8>>2]=220;return a|0}function CTa(a,b){a=a|0;b=b|0;return Vpb(b)|0}function DTa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Ypb(d,c)|0}function ETa(a,b){a=a|0;b=b|0;Wpb(b);return}function FTa(a){a=a|0;Wpb(a);return}function GTa(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;if(!a){h=0;return h|0}b=c[a>>2]|0;d=c[a+4>>2]|0;if(!b){h=(d|0)<0?0-d|0:d;return h|0}a=(b|0)<0?0-b|0:b;if(!d){h=a;return h|0}a=31-(aa(((d|0)<0?0-d|0:d)|a|0)|0)|0;if((a|0)<30){h=29-a|0;e=b<<29-a;b=d<<29-a}else{h=29-a|0;e=b>>a+-29;b=d>>a+-29}a=0-e|0;if((b|0)>(e|0)){e=(b|0)>(a|0);d=1;f=1;g=e?b:a;b=e?a:0-b|0}else{a=(b|0)<(a|0);d=1;f=1;g=a?0-b|0:e;b=a?e:b}while(1){a=b+d>>f;if((b|0)>0){a=a+g|0;b=b-(g+d>>f)|0}else{a=g-a|0;b=(g+d>>f)+b|0}f=f+1|0;if((f|0)==23)break;else{d=d<<1;g=a}}g=(a|0)<0?0-a|0:a;f=((g&65535)*56281|0)+((g>>>16)*23318|0)|0;g=(f>>>16)+((g>>>16)*56281|0)+((f>>>0<((g>>>16)*23318|0)>>>0&1)<<16)+(((f<<16)+((g&65535)*23318|0)|0)>>>0>>0&1)+(((f<<16)+((g&65535)*23318|0)|0)>>>0>3221225471&1)|0;a=(a|0)<0?0-g|0:g;if((h|0)>0){h=a+(1<>h;return h|0}else{h=a<<0-h;return h|0}return 0}function HTa(a,b,d){a=a|0;b=b|0;d=d|0;if((b|0)>0){a=Xi[c[a+4>>2]&511](a,b)|0;if(!a){a=0;b=64}else{hBb(a|0,0,b|0)|0;b=0}}else{a=0;b=b>>31&6}c[d>>2]=b;return a|0}function ITa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;if((b|0)>0){a=Xi[c[a+4>>2]&511](a,b)|0;e=a;a=(a|0)==0?64:0}else{e=0;a=b>>31&6}c[d>>2]=a;return e|0}function JTa(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;if((d|b|e|0)<0){e=f;b=6;c[g>>2]=b;return e|0}do if((b|0)==0|(e|0)==0)if(!f){f=0;a=0}else{si[c[a+8>>2]&511](a,f);f=0;a=0}else{if((2147483647/(b|0)|0|0)<(e|0)){e=f;b=10;c[g>>2]=b;return e|0}if(d|0){i=_(d,b)|0;h=_(e,b)|0;a=cj[c[a+12>>2]&127](a,i,h,f)|0;f=(a|0)==0?f:a;a=(a|0)==0?64:0;break}h=_(e,b)|0;if((h|0)<=0){f=0;a=h>>31&6;break}f=Xi[c[a+4>>2]&511](a,h)|0;if(!f){i=0;e=64;c[g>>2]=e;return i|0}else{hBb(f|0,0,h|0)|0;a=0;break}}while(0);if(!((e|0)>(d|0)&(a|0)==0)){i=f;e=a;c[g>>2]=e;return i|0}hBb(f+(_(d,b)|0)|0,0,_(e-d|0,b)|0)|0;i=f;e=0;c[g>>2]=e;return i|0}function KTa(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;do if((d|b|e|0)<0)d=6;else{if((b|0)==0|(e|0)==0){if(!f){f=0;d=0;break}si[c[a+8>>2]&511](a,f);f=0;d=0;break}if((2147483647/(b|0)|0|0)<(e|0))d=10;else{if(d|0){h=_(d,b)|0;d=_(e,b)|0;d=cj[c[a+12>>2]&127](a,h,d,f)|0;f=(d|0)==0?f:d;d=(d|0)==0?64:0;break}d=_(e,b)|0;if((d|0)<=0){f=0;d=d>>31&6;break}f=Xi[c[a+4>>2]&511](a,d)|0;if(!f){f=0;d=64}else{hBb(f|0,0,d|0)|0;d=0}}}while(0);c[g>>2]=d;return f|0}function LTa(a,b){a=a|0;b=b|0;if(!b)return;si[c[a+8>>2]&511](a,b);return}function MTa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;if(!b){a=0;g=4}else{e=(rnb(b)|0)+1|0;if((e|0)>0){a=Xi[c[a+4>>2]&511](a,e)|0;f=a;a=(a|0)==0?64:0}else{a=e;g=4}}if((g|0)==4){e=a;f=0;a=a>>31&6}if(!((b|0)!=0&(a|0)==0)){c[d>>2]=a;return f|0}mBb(f|0,b|0,e|0)|0;c[d>>2]=a;return f|0}function NTa(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0;a:do if(d>>>0>1)while(1){e=a[c>>0]|0;if(!(e<<24>>24))break a;c=c+1|0;f=b+1|0;a[b>>0]=e;d=d+-1|0;if(d>>>0<=1){b=f;break}else b=f}while(0);a[b>>0]=0;return (a[c>>0]|0)!=0|0}function OTa(a,b){a=a|0;b=b|0;if(!a){b=0;return b|0}a=c[a>>2]|0;if(!a){b=0;return b|0}while(1){if((c[a+8>>2]|0)==(b|0)){b=5;break}a=c[a+4>>2]|0;if(!a){a=0;b=5;break}}if((b|0)==5)return a|0;return 0}function PTa(a,b){a=a|0;b=b|0;var d=0;if(!((a|0)!=0&(b|0)!=0))return;d=c[a+4>>2]|0;c[b+4>>2]=0;c[b>>2]=d;if(!d)c[a>>2]=b;else c[d+4>>2]=b;c[a+4>>2]=b;return}function QTa(a,b){a=a|0;b=b|0;var d=0;if(!((a|0)!=0&(b|0)!=0))return;d=c[b>>2]|0;b=c[b+4>>2]|0;if(!d)c[a>>2]=b;else c[d+4>>2]=b;if(!b){c[a+4>>2]=d;return}else{c[b>>2]=d;return}}function RTa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;if(!((a|0)!=0&(d|0)!=0))return;f=c[a>>2]|0;if(f|0)if(!b)do{e=f;f=c[f+4>>2]|0;si[c[d+8>>2]&511](d,e)}while((f|0)!=0);else do{g=f;f=c[f+4>>2]|0;$i[b&255](d,c[g+8>>2]|0,e);si[c[d+8>>2]&511](d,g)}while((f|0)!=0);c[a>>2]=0;c[a+4>>2]=0;return}function STa(a,b){a=a|0;b=b|0;return HRa(46536,b)|0}function TTa(a,b,d){a=a|0;b=b|0;d=d|0;c[b>>2]=c[a+132>>2];c[d>>2]=c[a+136>>2];return 0}function UTa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=c[b+140>>2]|0;if(!l){e=6;return e|0}if((d|0)==0|(c[l+72>>2]|0)==0){e=6;return e|0}k=a[d>>0]|0;if(!(k<<24>>24)){e=6;return e|0}f=c[l+128>>2]|0;j=c[f+12>>2]|0;g=k;h=d;b=0;while(1){h=h+1|0;i=(b*31|0)+(g<<24>>24)|0;g=a[h>>0]|0;if(!(g<<24>>24))break;else b=i}h=c[f+4>>2]|0;b=c[j+(((i>>>0)%(h>>>0)|0)<<2)>>2]|0;if(!b){e=6;return e|0}g=j+(((i>>>0)%(h>>>0)|0)<<2)|0;while(1){f=c[b>>2]|0;if((a[f>>0]|0)==k<<24>>24)if(!(Imb(f,d)|0))break;b=g+-4|0;g=b>>>0>>0?j+(h+-1<<2)|0:b;b=c[g>>2]|0;if(!b){b=6;m=16;break}}if((m|0)==16)return b|0;f=c[l+80>>2]|0;b=c[b+4>>2]|0;if(!(f+(b<<4)|0)){e=6;return e|0}switch(c[f+(b<<4)+4>>2]|0){case 1:{c[e>>2]=1;c[e+4>>2]=c[f+(b<<4)+12>>2];e=0;return e|0}case 2:{c[e>>2]=2;c[e+4>>2]=c[f+(b<<4)+12>>2];e=0;return e|0}case 3:{c[e>>2]=3;c[e+4>>2]=c[f+(b<<4)+12>>2];e=0;return e|0}default:{e=6;return e|0}}return 0}function VTa(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=i;i=i+48|0;x=c[e+100>>2]|0;g=cTa(d,0)|0;c[y+16>>2]=g;if(g|0){e=g;i=y;return e|0}c[y>>2]=1;c[y+4>>2]=1;c[y+8>>2]=0;c[y+12>>2]=8;c[y+20>>2]=0;u=HTa(x,139324,y+20|0)|0;h=c[y+20>>2]|0;do if(!h){c[u+36>>2]=y;b[u+12>>1]=32767;c[u+139320>>2]=x;c[u+139304>>2]=0;c[u+139304+4>>2]=0;c[u+139304+8>>2]=0;c[u+139316>>2]=x;t=c[d+28>>2]|0;c[y+24>>2]=0;g=JTa(t,1,0,1024,0,y+24|0)|0;a:do if(!(c[y+24>>2]|0)){c[y+28>>2]=87;a[g>>0]=0;l=0;s=1024;j=0;h=0;m=1;o=256;while(1){p=l;k=j;l=0;n=0;b:while(1){j=p;c:while(1){d:while(1){if(l)p=j;else{k=hTa(d,g+h|0,s-h|0)|0;p=k+h|0;h=0}e:do if((p|0)>(n|0)){r=g+n|0;j=a[r>>0]|0;if((j<<24>>24|0)==(o|0)){j=p;break d}else l=n;while(1){switch(j<<24>>24){case 10:case 13:{o=k;q=l;break c}default:{}}l=l+1|0;if((l|0)>=(p|0))break e;j=a[g+l>>0]|0}}while(0);if(!k)break a;if(!n){l=p;j=k;k=o;break b}h=p-n|0;nBb(g|0,g+n|0,h|0)|0;j=n;k=h;l=0;n=0}l=1;n=n+1|0;o=256}l=g+q|0;a[l>>0]=0;switch(a[r>>0]|0){case 26:case 35:break;default:if((q|0)>(n|0)){k=Ci[c[y+28>>2]&127](r,q-n|0,m,y+28|0,u)|0;c[y+24>>2]=k;if((k|0)==-1){k=Ci[c[y+28>>2]&127](r,q-n|0,m,y+28|0,u)|0;c[y+24>>2]=k}if(k|0)break a}}a[l>>0]=j;k=o;m=m+1|0;l=1;n=q+1|0;o=j<<24>>24==10?13:j<<24>>24==13?10:256}if(s>>>0>65535)break;h=s<<1;g=JTa(t,1,s,h,g,y+24|0)|0;if(!(c[y+24>>2]|0)){w=s;s=h;o=k;h=w}else break a}c[y+24>>2]=6}while(0);LTa(t,g);w=c[y+24>>2]|0;c[y+20>>2]=w;g=c[u+32>>2]|0;if(!w){if(g|0){if((c[g+28>>2]|0)!=8)b[g+32>>1]=b[g+4>>1]|0;h=c[g+52>>2]|0;j=c[g+64>>2]|0;if((c[u+4>>2]|0)!=(j+h|0))b[g+278660>>1]=1;if(!((j|h|0)==0?1:(c[c[u+36>>2]>>2]|0)==0)){k=c[u+16>>2]|0;h=b[u+12>>1]|0;l=c[g+4>>2]|0;if(((k<<16>>16)-(h<<16>>16)|0)!=(l&65535|0)){b[g+4>>1]=(k<<16>>16)-(h<<16>>16);b[g+278660>>1]=1}if((b[g+8>>1]|0)!=h<<16>>16){b[g+8>>1]=h;b[g+278660>>1]=1}h=c[g+12>>2]|0;if((h&65535)<<16>>16!=(k>>>16&65535)<<16>>16){b[g+12>>1]=k>>>16;b[g+278660>>1]=1}j=b[u+20>>1]|0;if((h>>>16&65535)<<16>>16!=j<<16>>16){b[g+14>>1]=j;b[g+10>>1]=0-(j&65535);b[g+278660>>1]=1}if(((j<<16>>16)+(k>>16)|0)!=(l>>>16|0))b[g+6>>1]=(j<<16>>16)+(k>>16)}}h=c[u>>2]|0;if(h&1|0)if(!(h&32)){c[y+20>>2]=185;j=u+139304|0;h=u+139316|0;g=0;v=56;break}else{c[y+20>>2]=186;j=u+139304|0;h=u+139316|0;g=0;v=56;break}if(!g){c[y+20>>2]=3;j=u+139304|0;h=u+139316|0;v=56;break}h=c[g+88>>2]|0;if(!h){j=u+139304|0;h=u+139316|0;v=56;break}h=JTa(c[g+278664>>2]|0,1,h,h+1|0,c[g+84>>2]|0,y+20|0)|0;g=c[u+32>>2]|0;c[g+84>>2]=h;if(!(c[y+20>>2]|0)){a[h+(c[g+88>>2]|0)>>0]=0;j=u+139304|0;h=u+139316|0;g=c[u+32>>2]|0;v=56;break}}bUa(g);LTa(x,c[u+32>>2]|0);c[u+32>>2]=0;j=u+139304|0;h=u+139316|0;g=0;v=56}else if(!u)g=0;else{j=u+139304|0;h=u+139316|0;g=0;v=56}while(0);if((v|0)==56){h=c[h>>2]|0;if(h|0){LTa(h,c[j>>2]|0);c[j>>2]=0;c[j+4>>2]=0;c[j+8>>2]=0;c[j+12>>2]=0}LTa(x,u);h=c[y+20>>2]|0}c[y+16>>2]=h;if((h&255|0)==176){cUa(e);e=2;i=y;return e|0}if(h|0){e=h;i=y;return e|0}c[e+140>>2]=g;w=g;if((f|0)>0){cUa(e);e=6;i=y;return e|0}c[e>>2]=1;c[e+4>>2]=0;n=c[e+8>>2]|0;c[e+8>>2]=n|146;f=(g|0)==0;f:do if(f)v=86;else{m=(c[w+72>>2]|0)==0;if(m)v=86;else{l=c[w+128>>2]|0;k=c[l+12>>2]|0;l=c[l+4>>2]|0;g=c[k+((3000791075%(l>>>0)|0)<<2)>>2]|0;if(g|0){j=k+((3000791075%(l>>>0)|0)<<2)|0;do{h=c[g>>2]|0;if((a[h>>0]|0)==83)if(!(Imb(h,528631)|0)){v=71;break}g=j+-4|0;j=g>>>0>>0?k+(l+-1<<2)|0:g;g=c[j>>2]|0}while((g|0)!=0);g:do if((v|0)==71){h=c[w+80>>2]|0;g=c[g+4>>2]|0;if(h+(g<<4)|0)if((c[h+(g<<4)+4>>2]|0)==1){g=c[h+(g<<4)+12>>2]|0;if(g|0){switch(a[g>>0]|0){case 99:case 67:case 109:case 77:break;default:break g}c[e+8>>2]=n|150}}}while(0);if(m){v=86;break}}l=c[w+128>>2]|0;k=c[l+12>>2]|0;l=c[l+4>>2]|0;g=c[k+((1183963782%(l>>>0)|0)<<2)>>2]|0;if(!g)v=86;else{j=k+((1183963782%(l>>>0)|0)<<2)|0;while(1){h=c[g>>2]|0;if((a[h>>0]|0)==70)if(!(Imb(h,529664)|0))break;g=j+-4|0;j=g>>>0>>0?k+(l+-1<<2)|0:g;g=c[j>>2]|0;if(!g){v=86;break f}}h=c[w+80>>2]|0;g=c[g+4>>2]|0;if(!(h+(g<<4)|0))v=86;else{g=c[h+(g<<4)+12>>2]|0;if(!g)v=86;else{c[e+20>>2]=MTa(x,g,y+16|0)|0;g=c[y+16>>2]|0;if(!g){q=c[e+140>>2]|0;break}else{e=g;i=y;return e|0}}}}}}while(0);if((v|0)==86){c[e+20>>2]=0;q=w}c[y+28>>2]=0;u=c[e+100>>2]|0;c[e+12>>2]=0;if(!q){m=0;g=0;j=0;k=1;h=0;l=0;o=0;p=0;v=130}else if(!(c[q+72>>2]|0)){m=0;g=0;j=0;k=1;h=0;l=0;o=0;p=0;v=130}else{n=c[q+128>>2]|0;m=c[n+12>>2]|0;n=c[n+4>>2]|0;g=c[m+((78981326%(n>>>0)|0)<<2)>>2]|0;h:do if(!g){k=2;o=0}else{j=m+((78981326%(n>>>0)|0)<<2)|0;while(1){h=c[g>>2]|0;if((a[h>>0]|0)==83)if(!(Imb(h,529609)|0))break;g=j+-4|0;j=g>>>0>>0?m+(n+-1<<2)|0:g;g=c[j>>2]|0;if(!g){k=2;o=0;break h}}h=c[q+80>>2]|0;g=c[g+4>>2]|0;if(!(h+(g<<4)|0)){k=2;o=0}else if((c[h+(g<<4)+4>>2]|0)==1){g=c[h+(g<<4)+12>>2]|0;if(!g){k=2;o=0}else{switch(a[g>>0]|0){case 105:case 73:case 111:case 79:break;default:{k=2;o=0;break h}}c[e+12>>2]=1;k=3;o=(a[g>>0]|32)<<24>>24==111?529615:591930}}else{k=2;o=0}}while(0);g=c[m+((4260511730%(n>>>0)|0)<<2)>>2]|0;i:do if(!g)l=0;else{j=m+((4260511730%(n>>>0)|0)<<2)|0;while(1){h=c[g>>2]|0;if((a[h>>0]|0)==87)if(!(Imb(h,529623)|0))break;g=j+-4|0;j=g>>>0>>0?m+(n+-1<<2)|0:g;g=c[j>>2]|0;if(!g){l=0;break i}}h=c[q+80>>2]|0;g=c[g+4>>2]|0;if(!(h+(g<<4)|0))l=0;else if((c[h+(g<<4)+4>>2]|0)==1){g=c[h+(g<<4)+12>>2]|0;if(!g)l=0;else{switch(a[g>>0]|0){case 98:case 66:break;default:{l=0;break i}}c[e+12>>2]=k;l=591925}}else l=0}while(0);g=c[m+((41411398%(n>>>0)|0)<<2)>>2]|0;j:do if(!g)p=0;else{j=m+((41411398%(n>>>0)|0)<<2)|0;while(1){h=c[g>>2]|0;if((a[h>>0]|0)==83)if(!(Imb(h,529635)|0))break;g=j+-4|0;j=g>>>0>>0?m+(n+-1<<2)|0:g;g=c[j>>2]|0;if(!g){p=0;break j}}h=c[q+80>>2]|0;g=c[g+4>>2]|0;if(!(h+(g<<4)|0))p=0;else if((c[h+(g<<4)+4>>2]|0)==1){g=c[h+(g<<4)+12>>2]|0;if(!g)p=0;else{switch(a[g>>0]|0){case 110:case 78:case 0:{p=0;break j}default:{}}p=g}}else p=0}while(0);g=c[m+((657458935%(n>>>0)|0)<<2)>>2]|0;k:do if(!g){g=0;k=0;h=0}else{j=m+((657458935%(n>>>0)|0)<<2)|0;while(1){h=c[g>>2]|0;if((a[h>>0]|0)==65)if(!(Imb(h,529649)|0))break;g=j+-4|0;j=g>>>0>>0?m+(n+-1<<2)|0:g;g=c[j>>2]|0;if(!g){g=0;k=0;h=0;break k}}h=c[q+80>>2]|0;g=c[g+4>>2]|0;if(!(h+(g<<4)|0)){g=0;k=0;h=0}else if((c[h+(g<<4)+4>>2]|0)==1){g=c[h+(g<<4)+12>>2]|0;if(!g){g=0;k=0;h=0}else{switch(a[g>>0]|0){case 110:case 78:case 0:{g=0;k=0;h=0;break k}default:{}}h=rnb(g)|0;k=h;h=h+1|0}}else{g=0;k=0;h=0}}while(0);if(!l){q=1;l=0;m=0}else{d=rnb(l)|0;q=0;m=d;h=h+1+d|0}if(!o){j=0;r=0}else{r=rnb(o)|0;j=o;h=h+1+r|0}if(!p){n=h;h=0}else{d=rnb(p)|0;n=h+1+d|0;h=d}if(!n){g=l;k=q;l=r;v=130}else{s=g;t=k;d=l}}if((v|0)==130){s=591905;t=7;d=g;q=k;n=8;r=l}g=HTa(u,n,y+28|0)|0;c[e+24>>2]=g;k=c[y+28>>2]|0;if(k|0){c[y+16>>2]=k;e=k;i=y;return e|0}if(s){mBb(g|0,s|0,t|0)|0;if(t|0){l=0;do{k=g+l|0;if((a[k>>0]|0)==32)a[k>>0]=45;l=l+1|0}while((l|0)!=(t|0))}g=g+t|0}if(!q){if((g|0)!=(c[e+24>>2]|0)){a[g>>0]=32;g=g+1|0}mBb(g|0,d|0,m|0)|0;j=o;g=g+m|0}if(j){if((g|0)!=(c[e+24>>2]|0)){a[g>>0]=32;g=g+1|0}mBb(g|0,j|0,r|0)|0;g=g+r|0}if(p){if((g|0)!=(c[e+24>>2]|0)){a[g>>0]=32;g=g+1|0}mBb(g|0,p|0,h|0)|0;if(!h)h=0;else{k=0;do{j=g+k|0;if((a[j>>0]|0)==32)a[j>>0]=45;k=k+1|0}while((k|0)!=(h|0))}g=g+h|0}a[g>>0]=0;g=c[y+28>>2]|0;c[y+16>>2]=g;if(g|0){e=g;i=y;return e|0}c[e+16>>2]=(c[w+48>>2]|0)+1;c[e+28>>2]=1;p=JTa(x,16,0,1,0,y+16|0)|0;c[e+32>>2]=p;g=c[y+16>>2]|0;if(g|0){e=g;i=y;return e|0};c[p>>2]=0;c[p+4>>2]=0;c[p+8>>2]=0;c[p+12>>2]=0;m=(c[w+44>>2]|0)+(c[w+40>>2]|0)|0;b[p>>1]=m;o=(c[w+72>>2]|0)==0;l:do if(o)v=171;else{l=c[w+128>>2]|0;k=c[l+12>>2]|0;l=c[l+4>>2]|0;g=c[k+((3825651940%(l>>>0)|0)<<2)>>2]|0;if(!g)v=171;else{j=k+((3825651940%(l>>>0)|0)<<2)|0;while(1){h=c[g>>2]|0;if((a[h>>0]|0)==65)if(!(Imb(h,529676)|0))break;g=j+-4|0;j=g>>>0>>0?k+(l+-1<<2)|0:g;g=c[j>>2]|0;if(!g){v=171;break l}}h=c[w+80>>2]|0;g=c[g+4>>2]|0;if(!(h+(g<<4)|0))v=171;else{m=((c[h+(g<<4)+12>>2]|0)+5|0)/10|0;b[p+2>>1]=m}}}while(0);if((v|0)==171){b[p+2>>1]=(m<<16>>15|0)/3|0;m=(m<<16>>15|0)/3|0}m:do if(f|o)v=180;else{l=c[w+128>>2]|0;k=c[l+12>>2]|0;l=c[l+4>>2]|0;g=c[k+((1780881776%(l>>>0)|0)<<2)>>2]|0;if(!g)v=180;else{j=k+((1780881776%(l>>>0)|0)<<2)|0;while(1){h=c[g>>2]|0;if((a[h>>0]|0)==80)if(!(Imb(h,529690)|0))break;g=j+-4|0;j=g>>>0>>0?k+(l+-1<<2)|0:g;g=c[j>>2]|0;if(!g){v=180;break m}}h=c[w+80>>2]|0;g=c[g+4>>2]|0;if(!(h+(g<<4)|0))v=180;else{g=(((c[h+(g<<4)+12>>2]|0)*460800|0)+36135|0)/72270|0;c[p+4>>2]=g}}}while(0);if((v|0)==180){g=m<<16>>10;c[p+4>>2]=g}do if(f){c[p+12>>2]=g;v=213}else{if(o){c[p+12>>2]=g;v=213;break}m=c[w+128>>2]|0;l=c[m+12>>2]|0;m=c[m+4>>2]|0;h=c[l+((486426170%(m>>>0)|0)<<2)>>2]|0;if(!h){h=0;v=193}else{k=l+((486426170%(m>>>0)|0)<<2)|0;while(1){j=c[h>>2]|0;if((a[j>>0]|0)==80)if(!(Imb(j,529701)|0)){v=190;break}h=k+-4|0;k=h>>>0>>0?l+(m+-1<<2)|0:h;h=c[k>>2]|0;if(!h){h=0;break}}do if((v|0)==190){j=c[w+80>>2]|0;h=c[h+4>>2]|0;if(!(j+(h<<4)|0)){h=0;break}h=c[j+(h<<4)+12>>2]<<16>>10;c[p+12>>2]=h}while(0);if(o){j=0;k=0}else v=193}n:do if((v|0)==193){n=c[w+128>>2]|0;m=c[n+12>>2]|0;n=c[n+4>>2]|0;j=c[m+((2286220677%(n>>>0)|0)<<2)>>2]|0;if(!j)o=0;else{l=m+((2286220677%(n>>>0)|0)<<2)|0;while(1){k=c[j>>2]|0;if((a[k>>0]|0)==82)if(!(Imb(k,529712)|0)){v=198;break}j=l+-4|0;l=j>>>0>>0?m+(n+-1<<2)|0:j;j=c[l>>2]|0;if(!j){j=0;break}}do if((v|0)==198){k=c[w+80>>2]|0;j=c[j+4>>2]|0;if(!(k+(j<<4)|0)){j=0;break}j=c[k+(j<<4)+12>>2]|0}while(0);if(o){k=0;break}else o=j}n=c[w+128>>2]|0;m=c[n+12>>2]|0;n=c[n+4>>2]|0;j=c[m+((2286220678%(n>>>0)|0)<<2)>>2]|0;if(!j){j=o;k=0;break}l=m+((2286220678%(n>>>0)|0)<<2)|0;while(1){k=c[j>>2]|0;if((a[k>>0]|0)==82)if(!(Imb(k,529725)|0))break;j=l+-4|0;l=j>>>0>>0?m+(n+-1<<2)|0:j;j=c[l>>2]|0;if(!j){j=o;k=0;break n}}l=c[w+80>>2]|0;k=c[j+4>>2]|0;if(!(l+(k<<4)|0)){j=o;k=0;break}j=o;k=c[l+(k<<4)+12>>2]&65535}while(0);if(!h){c[p+12>>2]=g;if(!(k<<16>>16)){v=213;break}g=(_(g,k<<16>>16)|0)/72|0;c[p+12>>2]=g}else g=h;h=j<<16>>16;if(k<<16>>16==0|(h|0)==0){v=213;break}c[p+8>>2]=(_(g,h)|0)/(k<<16>>16|0)|0}while(0);if((v|0)==213)c[p+8>>2]=g;k=c[w+56>>2]|0;l=JTa(x,8,0,c[w+48>>2]|0,0,y+16|0)|0;c[e+144>>2]=l;g=c[y+16>>2]|0;if(g|0){e=g;i=y;return e|0}c[e+164>>2]=0;g=c[w+48>>2]|0;if(g|0){h=c[w+36>>2]|0;j=0;do{v=c[k+(j*36|0)+4>>2]|0;c[l+(j<<3)>>2]=v;b[l+(j<<3)+4>>1]=j;if((v|0)==(h|0))c[e+164>>2]=j;j=j+1|0}while(j>>>0>>0)}m=(c[w+72>>2]|0)==0;o:do if(m)n=0;else{l=c[w+128>>2]|0;k=c[l+12>>2]|0;l=c[l+4>>2]|0;g=c[k+((3781719536%(l>>>0)|0)<<2)>>2]|0;if(!g){n=0;break}j=k+((3781719536%(l>>>0)|0)<<2)|0;while(1){h=c[g>>2]|0;if((a[h>>0]|0)==67)if(!(Imb(h,590230)|0))break;g=j+-4|0;j=g>>>0>>0?k+(l+-1<<2)|0:g;g=c[j>>2]|0;if(!g){n=0;break o}}n=(c[w+80>>2]|0)+(c[g+4>>2]<<4)|0}while(0);p:do if(!(f|m)){l=c[w+128>>2]|0;k=c[l+12>>2]|0;l=c[l+4>>2]|0;g=c[k+((1888187142%(l>>>0)|0)<<2)>>2]|0;if(!g)break;j=k+((1888187142%(l>>>0)|0)<<2)|0;while(1){h=c[g>>2]|0;if((a[h>>0]|0)==67)if(!(Imb(h,590247)|0))break;g=j+-4|0;j=g>>>0>>0?k+(l+-1<<2)|0:g;g=c[j>>2]|0;if(!g)break p}h=c[w+80>>2]|0;g=c[g+4>>2]|0;if(!((n|0)!=0&(h+(g<<4)|0)!=0))break;if((c[n+4>>2]|0)!=1)break;if((c[h+(g<<4)+4>>2]|0)!=1)break;j=n+12|0;if(!(c[j>>2]|0))break;g=c[h+(g<<4)+12>>2]|0;if(!g)break;c[e+132>>2]=MTa(x,g,y+16|0)|0;g=c[y+16>>2]|0;if(g|0){e=g;i=y;return e|0}g=MTa(x,c[j>>2]|0,y+16|0)|0;c[e+136>>2]=g;h=c[y+16>>2]|0;if(h|0){e=h;i=y;return e|0}q:do switch(a[g>>0]|0){case 73:case 105:{switch(a[g+1>>0]|0){case 83:case 115:break;default:{g=0;break q}}switch(a[g+2>>0]|0){case 79:case 111:break;default:{g=0;break q}}if(Imb(g+3|0,529738)|0){if(Imb(g+3|0,529744)|0){g=0;break q}if(Imb(c[e+132>>2]|0,529749)|0){g=0;break q}}g=1;break}default:g=0}while(0);c[y+28>>2]=e;c[y+28+4>>2]=0;b[y+28+8>>1]=0;b[y+28+10>>1]=0;if(g){c[y+28+4>>2]=1970170211;b[y+28+8>>1]=3;b[y+28+10>>1]=1}e=qSa(47896,0,y+28|0,0)|0;c[y+16>>2]=e;i=y;return e|0}while(0);c[y+28>>2]=e;c[y+28+4>>2]=1094995778;b[y+28+8>>1]=7;b[y+28+10>>1]=0;g=qSa(47896,0,y+28|0,0)|0;c[y+16>>2]=g;if(c[e+36>>2]|0)c[e+92>>2]=c[c[e+40>>2]>>2];e=g;i=y;return e|0}function WTa(e,f,g,h,j){e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+288|0;c[q+12>>2]=0;m=c[j+32>>2]|0;if(!m)n=0;else n=c[m+278664>>2]|0;a:do if(!(pmb(e,527792,7)|0)){l=a[e+7>>0]|0;switch(l<<24>>24){case 9:case 13:case 10:case 0:case 32:break;default:break a}if((m|0)==0?1:(c[(c[j+36>>2]|0)+8>>2]|0)==0){j=0;i=q;return j|0}f=(l<<24>>24==0?-7:-8)+f|0;g=c[m+278664>>2]|0;c[q+32>>2]=0;k=c[m+88>>2]|0;k=JTa(g,1,k,f+1+k|0,c[m+84>>2]|0,q+32|0)|0;c[m+84>>2]=k;g=c[q+32>>2]|0;if(!g){g=k+(c[m+88>>2]|0)|0;mBb(g|0,(l<<24>>24==0?e+7|0:e+8|0)|0,f|0)|0;a[g+f>>0]=10;c[m+88>>2]=(c[m+88>>2]|0)+(f+1);g=c[q+32>>2]|0}c[q+12>>2]=g;j=g;i=q;return j|0}while(0);g=c[j>>2]|0;if(!(g&1)){m=c[j+139320>>2]|0;b:do if(!(pmb(e,527800,9)|0)){switch(a[e+9>>0]|0){case 9:case 13:case 10:case 0:case 32:break;default:break b}c[j>>2]=1;c[j+32>>2]=0;l=HTa(m,278692,q+12|0)|0;g=c[q+12>>2]|0;if(g|0){j=g;i=q;return j|0}c[j+32>>2]=l;c[l+278664>>2]=c[j+139320>>2];c[j+139320>>2]=0;c[q+32>>2]=0;c[l+278680>>2]=241;c[l+278676>>2]=80;c[l+278684>>2]=0;c[l+278688>>2]=JTa(m,4,0,241,0,q+32|0)|0;g=c[q+32>>2]|0;c[q+12>>2]=g;if(!g){f=0;k=46568}else{j=g;i=q;return j|0}while(1){g=XTa(c[k>>2]|0,f,l+278676|0,m)|0;c[q+12>>2]=g;if(g|0){o=155;break}f=f+1|0;if(f>>>0>=83)break;else k=k+16|0}if((o|0)==155){i=q;return g|0}g=HTa(m,16,q+12|0)|0;c[(c[j+32>>2]|0)+128>>2]=g;f=c[q+12>>2]|0;if(f|0){j=f;i=q;return j|0}c[q+32>>2]=0;c[g+4>>2]=241;c[g>>2]=80;c[g+8>>2]=0;c[g+12>>2]=JTa(m,4,0,241,0,q+32|0)|0;g=c[q+32>>2]|0;c[q+12>>2]=g;if(g|0){j=g;i=q;return j|0}p=c[j+32>>2]|0;c[p+28>>2]=c[(c[j+36>>2]|0)+12>>2];c[p+36>>2]=-1;j=c[q+12>>2]|0;i=q;return j|0}while(0);c[q+12>>2]=176;j=176;i=q;return j|0}c:do if(!(pmb(e,528858,15)|0)){switch(a[e+15>>0]|0){case 9:case 13:case 10:case 0:case 32:break;default:break c}if(!(g&8)){c[q+12>>2]=179;j=179;i=q;return j|0}g=YTa(j+139304|0,528874,e,f)|0;c[q+12>>2]=g;if(g|0){j=g;i=q;return j|0}g=c[(c[j+139304>>2]|0)+4>>2]|0;d:do if(!g)g=0;else{f=a[g>>0]|0;e:do switch(f<<24>>24){case 0:{g=0;break d}case 48:{switch(a[g+1>>0]|0){case 88:case 120:break;default:{k=g;m=10;f=48;l=528909;break e}}k=g+2|0;m=16;f=a[g+2>>0]|0;l=528877;break}default:{k=g;m=10;l=528909}}while(0);g=f<<24>>24;if(!(d[l+((f&255)>>>3)>>0]&1<<(g&7)))g=0;else{f=g;g=0;do{g=_(g,m)|0;g=(d[528941+f>>0]|0)+g|0;k=k+1|0;p=a[k>>0]|0;f=p<<24>>24}while((1<<(f&7)&d[l+((p&255)>>>3)>>0]|0)!=0)}}while(0);c[(c[j+32>>2]|0)+72>>2]=g;c[j+4>>2]=g;f=JTa(n,16,0,g,0,q+12|0)|0;g=c[j+32>>2]|0;c[g+80>>2]=f;f=c[q+12>>2]|0;if(!f){c[j>>2]=c[j>>2]|16;c[h>>2]=88;j=0;i=q;return j|0}else{c[g+72>>2]=0;j=f;i=q;return j|0}}while(0);f:do if(!(pmb(e,529183,15)|0)){switch(a[e+15>>0]|0){case 9:case 13:case 10:case 0:case 32:break;default:break f}if(!(g&4)){c[q+12>>2]=178;j=178;i=q;return j|0}g=YTa(j+139304|0,528874,e,f)|0;c[q+12>>2]=g;if(g|0){j=g;i=q;return j|0}o=c[j+139304>>2]|0;g=c[o+4>>2]|0;g:do if(!g)g=0;else{f=a[g>>0]|0;h:do switch(f<<24>>24){case 0:{g=0;break g}case 48:{switch(a[g+1>>0]|0){case 88:case 120:break;default:{k=g;m=10;f=48;l=528909;break h}}k=g+2|0;m=16;f=a[g+2>>0]|0;l=528877;break}default:{k=g;m=10;l=528909}}while(0);g=f<<24>>24;if(!(d[l+((f&255)>>>3)>>0]&1<<(g&7)))g=0;else{f=g;g=0;do{g=_(g&65535,m)|0;g=(d[528941+f>>0]|0)+g|0;k=k+1|0;p=a[k>>0]|0;f=p<<24>>24}while((1<<(f&7)&d[l+((p&255)>>>3)>>0]|0)!=0);g=g&65535}}while(0);p=c[j+32>>2]|0;b[p+4>>1]=g;g=c[o+8>>2]|0;i:do if(!g)n=0;else{f=a[g>>0]|0;j:do switch(f<<24>>24){case 0:{n=0;break i}case 48:{switch(a[g+1>>0]|0){case 88:case 120:break;default:{k=g;m=10;f=48;l=528909;break j}}k=g+2|0;m=16;f=a[g+2>>0]|0;l=528877;break}default:{k=g;m=10;l=528909}}while(0);g=f<<24>>24;if(!(d[l+((f&255)>>>3)>>0]&1<<(g&7)))n=0;else{f=g;g=0;do{g=_(g&65535,m)|0;g=(d[528941+f>>0]|0)+g|0;k=k+1|0;n=a[k>>0]|0;f=n<<24>>24}while((1<<(f&7)&d[l+((n&255)>>>3)>>0]|0)!=0);n=g&65535}}while(0);b[p+6>>1]=n;g=c[o+12>>2]|0;if(!g)g=0;else{h=a[g>>0]|0;if(!(h<<24>>24))g=0;else{g=h<<24>>24==45?g+1|0:g;f=a[g>>0]|0;k:do if(f<<24>>24==48){switch(a[g+1>>0]|0){case 88:case 120:break;default:{e=10;k=g;f=48;m=528909;break k}}e=16;k=g+2|0;f=a[g+2>>0]|0;m=528877}else{e=10;k=g;m=528909}while(0);l=f<<24>>24;if(!(d[m+((f&255)>>>3)>>0]&1<<(l&7)))g=0;else{g=0;f=l;do{g=_(g,e)|0;k=k+1|0;l=a[k>>0]|0;g=(d[528941+f>>0]|0)+g<<16>>16;f=l<<24>>24}while((1<<(f&7)&d[m+((l&255)>>>3)>>0]|0)!=0)}g=(h<<24>>24==45?0-g|0:g)&65535}}b[p+8>>1]=g;g=c[o+16>>2]|0;if(!g)g=0;else{h=a[g>>0]|0;if(!(h<<24>>24))g=0;else{g=h<<24>>24==45?g+1|0:g;f=a[g>>0]|0;l:do if(f<<24>>24==48){switch(a[g+1>>0]|0){case 88:case 120:break;default:{e=10;k=g;f=48;m=528909;break l}}e=16;k=g+2|0;f=a[g+2>>0]|0;m=528877}else{e=10;k=g;m=528909}while(0);l=f<<24>>24;if(!(d[m+((f&255)>>>3)>>0]&1<<(l&7)))g=0;else{g=0;f=l;do{g=_(g,e)|0;k=k+1|0;o=a[k>>0]|0;g=(d[528941+f>>0]|0)+g<<16>>16;f=o<<24>>24}while((1<<(f&7)&d[m+((o&255)>>>3)>>0]|0)!=0)}g=(h<<24>>24==45?0-g|0:g)&65535}}b[p+10>>1]=g;o=g&65535;b[p+12>>1]=o+(n&65535);b[p+14>>1]=0-o;c[j>>2]=c[j>>2]|8;j=0;i=q;return j|0}while(0);m:do if(!(pmb(e,527964,4)|0)){switch(a[e+4>>0]|0){case 9:case 13:case 10:case 0:case 32:break;default:break m}g=YTa(j+139304|0,528874,e,f)|0;c[q+12>>2]=g;if(g|0){j=g;i=q;return j|0}l=c[j+139312>>2]|0;do if(l|0){if(l>>>0<2){c[j+139312>>2]=0;break}g=0;f=1;while(1){p=c[j+139304>>2]|0;c[p+(g<<2)>>2]=c[p+(f<<2)>>2];g=g+1|0;if((g|0)==(l+-1|0))break;else f=f+1|0}c[j+139312>>2]=l+-1;if(l+-1|0){k=c[c[j+139304>>2]>>2]|0;m=k;e=l+-1|0;h=0;l=0;while(1){g=a[m>>0]|0;if(!(g<<24>>24))g=e;else{f=l;while(1){m=m+1|0;l=f+1|0;a[k+f>>0]=g;g=a[m>>0]|0;if(!(g<<24>>24))break;else f=l}g=c[j+139312>>2]|0}f=h+1|0;if(f>>>0>>0){a[k+l>>0]=32;g=c[j+139312>>2]|0;l=l+1|0}if(f>>>0>=g>>>0)break;m=c[(c[j+139304>>2]|0)+(f<<2)>>2]|0;e=g;h=f}if((k|0)==1279070)k=1279070;else{a[k+l>>0]=0;if(!k)break}LTa(n,c[c[j+32>>2]>>2]|0);c[c[j+32>>2]>>2]=0;g=JTa(n,1,0,l+1|0,0,q+12|0)|0;c[c[j+32>>2]>>2]=g;f=c[q+12>>2]|0;if(f|0){j=f;i=q;return j|0}mBb(g|0,k|0,l+1|0)|0;k=c[j+32>>2]|0;g=c[j+36>>2]|0;if(k|0){f=c[k>>2]|0;if(f|0)if(a[f>>0]|0){p=c[k+278664>>2]|0;c[q+16>>2]=0;c[q+16+4>>2]=0;c[q+16+8>>2]=0;c[q+16+12>>2]=p;c[k+28>>2]=c[g+12>>2];g=(rnb(f)|0)+1|0;if(g>>>0<=255){mBb(q+32|0,f|0,g|0)|0;f=YTa(q+16|0,529199,q+32|0,g)|0;n:do if(!f){if((c[q+16+8>>2]|0)!=15)break;switch(a[c[(c[q+16>>2]|0)+44>>2]>>0]|0){case 99:case 67:{c[k+28>>2]=32;break n}case 109:case 77:{c[k+28>>2]=16;break n}case 112:case 80:{c[k+28>>2]=8;break n}default:break n}}while(0);g=c[q+16+12>>2]|0;if(g|0){LTa(g,c[q+16>>2]|0);c[q+16>>2]=0;c[q+16+4>>2]=0;c[q+16+8>>2]=0;c[q+16+12>>2]=0}c[q+12>>2]=f;if(f|0){j=f;i=q;return j|0}c[j>>2]=c[j>>2]|2;j=0;i=q;return j|0}}}c[q+12>>2]=6;j=6;i=q;return j|0}}while(0);c[q+12>>2]=3;j=3;i=q;return j|0}while(0);o:do if(!(pmb(e,529201,4)|0)){switch(a[e+4>>0]|0){case 9:case 13:case 10:case 0:case 32:break;default:break o}if(!(g&2)){c[q+12>>2]=177;j=177;i=q;return j|0}g=YTa(j+139304|0,528874,e,f)|0;c[q+12>>2]=g;if(g|0){j=g;i=q;return j|0}e=c[j+139304>>2]|0;g=c[e+4>>2]|0;p:do if(!g)g=0;else{f=a[g>>0]|0;q:do switch(f<<24>>24){case 0:{g=0;break p}case 48:{switch(a[g+1>>0]|0){case 88:case 120:break;default:{k=g;m=10;f=48;l=528909;break q}}k=g+2|0;m=16;f=a[g+2>>0]|0;l=528877;break}default:{k=g;m=10;l=528909}}while(0);g=f<<24>>24;if(!(d[l+((f&255)>>>3)>>0]&1<<(g&7)))g=0;else{f=g;g=0;do{g=_(g,m)|0;g=(d[528941+f>>0]|0)+g|0;k=k+1|0;p=a[k>>0]|0;f=p<<24>>24}while((1<<(f&7)&d[l+((p&255)>>>3)>>0]|0)!=0)}}while(0);n=c[j+32>>2]|0;c[n+16>>2]=g;g=c[e+8>>2]|0;r:do if(!g)g=0;else{f=a[g>>0]|0;s:do switch(f<<24>>24){case 0:{g=0;break r}case 48:{switch(a[g+1>>0]|0){case 88:case 120:break;default:{k=g;m=10;f=48;l=528909;break s}}k=g+2|0;m=16;f=a[g+2>>0]|0;l=528877;break}default:{k=g;m=10;l=528909}}while(0);g=f<<24>>24;if(!(d[l+((f&255)>>>3)>>0]&1<<(g&7)))g=0;else{f=g;g=0;do{g=_(g,m)|0;g=(d[528941+f>>0]|0)+g|0;k=k+1|0;p=a[k>>0]|0;f=p<<24>>24}while((1<<(f&7)&d[l+((p&255)>>>3)>>0]|0)!=0)}}while(0);c[n+20>>2]=g;g=c[e+12>>2]|0;t:do if(!g)g=0;else{f=a[g>>0]|0;u:do switch(f<<24>>24){case 0:{g=0;break t}case 48:{switch(a[g+1>>0]|0){case 88:case 120:break;default:{k=g;m=10;f=48;l=528909;break u}}k=g+2|0;m=16;f=a[g+2>>0]|0;l=528877;break}default:{k=g;m=10;l=528909}}while(0);g=f<<24>>24;if(!(d[l+((f&255)>>>3)>>0]&1<<(g&7)))g=0;else{f=g;g=0;do{g=_(g,m)|0;g=(d[528941+f>>0]|0)+g|0;k=k+1|0;p=a[k>>0]|0;f=p<<24>>24}while((1<<(f&7)&d[l+((p&255)>>>3)>>0]|0)!=0)}}while(0);c[n+24>>2]=g;if((c[j+139312>>2]|0)==5){g=c[e+16>>2]|0;do if(!g)o=137;else{h=a[g>>0]|0;if(!(h<<24>>24))o=137;else{g=h<<24>>24==45?g+1|0:g;f=a[g>>0]|0;v:do if(f<<24>>24==48){switch(a[g+1>>0]|0){case 88:case 120:break;default:{e=10;k=g;f=48;m=528909;break v}}e=16;k=g+2|0;f=a[g+2>>0]|0;m=528877}else{e=10;k=g;m=528909}while(0);l=f<<24>>24;if(!(d[m+((f&255)>>>3)>>0]&1<<(l&7)))g=0;else{g=0;f=l;do{g=_(g,e)|0;k=k+1|0;p=a[k>>0]|0;g=(d[528941+f>>0]|0)+g<<16>>16;f=p<<24>>24}while((1<<(f&7)&d[m+((p&255)>>>3)>>0]|0)!=0)}k=h<<24>>24==45?0-g|0:g;b[n+278662>>1]=k;if(!((k&65535)<<16>>16)){k=0;g=n+278662|0;f=0;o=141;break}else{f=0;g=0;l=k&65535}while(1){f=(l&1)==0?f:g;l=(l&65535)>>>1;if(!(l<<16>>16))break;else g=g+1<<16>>16}if((f&65535)>3){f=8;g=n+278662|0}else{g=n+278662|0;o=141}}}while(0);if((o|0)==137){b[n+278662>>1]=0;k=0;g=n+278662|0;f=0;o=141}if((o|0)==141)f=1<<(f&65535)&65535;if((k&65535|0)!=(f|0))b[g>>1]=f<<1}else b[n+278662>>1]=1;c[j>>2]=c[j>>2]|4;j=0;i=q;return j|0}while(0);w:do if(!(pmb(e,529087,5)|0)){switch(a[e+5>>0]|0){case 9:case 13:case 10:case 0:case 32:break;default:break w}if(!(g&8)){c[q+12>>2]=179;g=179}else{g=b[m+12>>1]|0;c[m+40>>2]=g;c[q>>2]=g;rmb(q+32|0,529083,q)|0;g=_Ta(c[j+32>>2]|0,527987,q+32|0)|0;c[q+12>>2]=g;if(!g){p=c[j+32>>2]|0;g=b[p+14>>1]|0;c[p+44>>2]=g;c[q+8>>2]=g;rmb(q+32|0,529083,q+8|0)|0;g=_Ta(c[j+32>>2]|0,527999,q+32|0)|0;c[q+12>>2]=g;if(!g){b[(c[j+32>>2]|0)+278660>>1]=1;c[h>>2]=89;c[q+12>>2]=-1;g=-1}}}j=g;i=q;return j|0}while(0);c[q+12>>2]=3;j=3;i=q;return j|0}function XTa(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+16|0;l=c[e+12>>2]|0;m=a[b>>0]|0;if(!(m<<24>>24))g=0;else{h=m;j=b;g=0;do{j=j+1|0;g=(g*31|0)+(h<<24>>24)|0;h=a[j>>0]|0}while(h<<24>>24!=0)}k=c[e+4>>2]|0;h=l+(((g>>>0)%(k>>>0)|0)<<2)|0;g=c[h>>2]|0;a:do if(g){while(1){j=c[g>>2]|0;if((a[j>>0]|0)==m<<24>>24)if(!(Imb(j,b)|0))break;h=h+-4|0;h=h>>>0>>0?l+(k+-1<<2)|0:h;g=c[h>>2]|0;if(!g)break a}c[q>>2]=0;c[g+4>>2]=d;e=c[q>>2]|0;i=q;return e|0}while(0);c[q>>2]=0;g=HTa(f,8,q)|0;if(c[q>>2]|0){e=c[q>>2]|0;i=q;return e|0}c[h>>2]=g;c[g>>2]=b;c[g+4>>2]=d;g=c[e+8>>2]|0;do if(g>>>0>=(c[e>>2]|0)>>>0){o=c[e+12>>2]|0;p=c[e+4>>2]|0;c[q+4>>2]=0;c[e+4>>2]=p<<1;c[e>>2]=(p<<1>>>0)/3|0;c[e+12>>2]=JTa(f,4,0,p<<1,0,q+4|0)|0;g=c[q+4>>2]|0;if(g|0){c[q>>2]=g;e=c[q>>2]|0;i=q;return e|0}if(p|0){d=o;n=0;while(1){b=c[d>>2]|0;if(b|0){k=c[b>>2]|0;l=c[e+12>>2]|0;m=a[k>>0]|0;if(!(m<<24>>24))g=0;else{h=m;j=k;g=0;do{j=j+1|0;g=(g*31|0)+(h<<24>>24)|0;h=a[j>>0]|0}while(h<<24>>24!=0)}j=c[e+4>>2]|0;g=l+(((g>>>0)%(j>>>0)|0)<<2)|0;h=c[g>>2]|0;b:do if(h)do{h=c[h>>2]|0;if((a[h>>0]|0)==m<<24>>24)if(!(Imb(h,k)|0))break b;g=g+-4|0;g=g>>>0>>0?l+(j+-1<<2)|0:g;h=c[g>>2]|0}while((h|0)!=0);while(0);c[g>>2]=b}n=n+1|0;if((n|0)==(p|0))break;else d=d+4|0}}LTa(f,o);f=c[q+4>>2]|0;c[q>>2]=f;if(!f){g=c[e+8>>2]|0;break}else{e=c[q>>2]|0;i=q;return e|0}}while(0);c[e+8>>2]=g+1;e=c[q>>2]|0;i=q;return e|0}function YTa(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+48|0;c[b+8>>2]=0;if(c[b+4>>2]|0){c[c[b>>2]>>2]=1279070;c[(c[b>>2]|0)+4>>2]=1279070;c[(c[b>>2]|0)+8>>2]=1279070;c[(c[b>>2]|0)+12>>2]=1279070;c[(c[b>>2]|0)+16>>2]=1279070}if(!g){m=0;i=n;return m|0}h=a[f>>0]|0;if(!(h<<24>>24)){m=0;i=n;return m|0}if(!e){m=6;i=n;return m|0}j=a[e>>0]|0;if(!(j<<24>>24)){m=6;i=n;return m|0}k=n+8|0;l=k+32|0;do{a[k>>0]=0;k=k+1|0}while((k|0)<(l|0));k=j;j=0;a:while(1){switch(k<<24>>24){case 0:break a;case 43:{e=e+1|0;if(!(a[e>>0]|0))j=1;else m=11;break}default:{e=e+1|0;m=11}}if((m|0)==11){m=0;l=k&255;a[n+8+(l>>>3)>>0]=1<<(l&7)|d[n+8+(l>>>3)>>0]}k=a[e>>0]|0}b:do if((g|0)>0){c:do if(!j){k=0;l=f;while(1){if(!(h<<24>>24))break b;else j=l;do{k=h&255;if(a[n+8+(k>>>3)>>0]&1<<(k&7)|0)break;j=j+1|0;h=a[j>>0]|0}while(h<<24>>24!=0);h=c[b+8>>2]|0;if((h|0)==(c[b+4>>2]|0)){c[n>>2]=0;if((h|0)==-1)h=-1;else{if((h|0)==536870911){m=33;break c}e=((h+5+(h>>>1)|0)>>>0>536870911?1:(h+5+(h>>>1)|0)>>>0>>0)?536870911:h+5+(h>>>1)|0;c[b>>2]=JTa(c[b+12>>2]|0,4,h,e,c[b>>2]|0,n)|0;h=c[n>>2]|0;if(h|0)break c;c[b+4>>2]=e;h=c[b+8>>2]|0}}c[b+8>>2]=h+1;c[(c[b>>2]|0)+(h<<2)>>2]=j>>>0>l>>>0?l:1279070;if(!(a[j>>0]|0)){h=0;e=0}else{l=j+1|0;a[j>>0]=0;e=a[l>>0]|0;h=e;e=e<<24>>24==0;j=l}k=e&1;if(j>>>0<(f+g|0)>>>0)l=j;else break b}}else{k=0;l=f;while(1){if(!(h<<24>>24))break b;else j=l;do{k=h&255;if(a[n+8+(k>>>3)>>0]&1<<(k&7)|0)break;j=j+1|0;h=a[j>>0]|0}while(h<<24>>24!=0);h=c[b+8>>2]|0;if((h|0)==(c[b+4>>2]|0)){c[n>>2]=0;if((h|0)==-1)h=-1;else{if((h|0)==536870911){m=33;break c}e=((h+5+(h>>>1)|0)>>>0>536870911?1:(h+5+(h>>>1)|0)>>>0>>0)?536870911:h+5+(h>>>1)|0;c[b>>2]=JTa(c[b+12>>2]|0,4,h,e,c[b>>2]|0,n)|0;h=c[n>>2]|0;if(h|0)break c;c[b+4>>2]=e;h=c[b+8>>2]|0}}c[b+8>>2]=h+1;c[(c[b>>2]|0)+(h<<2)>>2]=j>>>0>l>>>0?l:1279070;h=a[j>>0]|0;if(!(h<<24>>24)){k=0;h=0}else{e=j;while(1){l=h&255;if(!(a[n+8+(l>>>3)>>0]&1<<(l&7)))break;a[e>>0]=0;e=e+1|0;h=a[e>>0]|0;if(!(h<<24>>24)){h=0;break}}k=e>>>0>j>>>0&h<<24>>24==0;j=e}k=k&1;if(j>>>0<(f+g|0)>>>0)l=j;else break b}}while(0);if((m|0)==33){c[n>>2]=64;h=64}m=h;i=n;return m|0}else k=0;while(0);h=(c[b+8>>2]|0)+k|0;j=c[b+4>>2]|0;if(h>>>0>=j>>>0){c[n>>2]=0;do if(j>>>0<(h+1|0)>>>0){if((j|0)==536870911){c[n>>2]=64;h=64}else{e=((j+5+(j>>>1)|0)>>>0>536870911?1:(j+5+(j>>>1)|0)>>>0>>0)?536870911:j+5+(j>>>1)|0;c[b>>2]=JTa(c[b+12>>2]|0,4,j,e,c[b>>2]|0,n)|0;h=c[n>>2]|0;if(!h){c[b+4>>2]=e;break}}m=h;i=n;return m|0}while(0)}h=c[b+8>>2]|0;if(k){c[b+8>>2]=h+1;c[(c[b>>2]|0)+(h<<2)>>2]=1279070;h=h+1|0}c[(c[b>>2]|0)+(h<<2)>>2]=0;m=0;i=n;return m|0}function ZTa(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+144|0;a:do if(!(pmb(d,529069,13)|0)){switch(a[d+13>>0]|0){case 9:case 13:case 10:case 0:case 32:break;default:break a}n=c[h+32>>2]|0;b:do if(!n)o=11;else if(!(c[n+72>>2]|0))o=11;else{m=c[n+128>>2]|0;l=c[m+12>>2]|0;m=c[m+4>>2]|0;f=c[l+((1895527114%(m>>>0)|0)<<2)>>2]|0;if(!f)o=11;else{k=l+((1895527114%(m>>>0)|0)<<2)|0;while(1){j=c[f>>2]|0;if((a[j>>0]|0)==70)if(!(Imb(j,527987)|0))break;f=k+-4|0;k=f>>>0>>0?l+(m+-1<<2)|0:f;f=c[k>>2]|0;if(!f){o=11;break b}}if(!((c[n+80>>2]|0)+(c[f+4>>2]<<4)|0))o=11}}while(0);do if((o|0)==11){f=b[n+12>>1]|0;c[n+40>>2]=f;c[r>>2]=f;rmb(r+16|0,529083,r)|0;f=_Ta(c[h+32>>2]|0,527987,r+16|0)|0;if(!f){n=c[h+32>>2]|0;b[n+278660>>1]=1;break}else{h=f;i=r;return h|0}}while(0);c:do if(!(c[n+72>>2]|0))o=20;else{m=c[n+128>>2]|0;l=c[m+12>>2]|0;m=c[m+4>>2]|0;f=c[l+((908209322%(m>>>0)|0)<<2)>>2]|0;if(!f)o=20;else{k=l+((908209322%(m>>>0)|0)<<2)|0;while(1){j=c[f>>2]|0;if((a[j>>0]|0)==70)if(!(Imb(j,527999)|0))break;f=k+-4|0;k=f>>>0>>0?l+(m+-1<<2)|0:f;f=c[k>>2]|0;if(!f){o=20;break c}}if(!((c[n+80>>2]|0)+(c[f+4>>2]<<4)|0))o=20}}while(0);do if((o|0)==20){f=b[n+14>>1]|0;c[n+44>>2]=f;c[r+8>>2]=f;rmb(r+16|0,529083,r+8|0)|0;f=_Ta(c[h+32>>2]|0,527999,r+16|0)|0;if(!f){b[(c[h+32>>2]|0)+278660>>1]=1;break}else{h=f;i=r;return h|0}}while(0);c[h>>2]=c[h>>2]&-17;c[g>>2]=89;h=0;i=r;return h|0}while(0);d:do if(!(pmb(d,529161,21)|0)){switch(a[d+21>>0]|0){case 9:case 13:case 10:case 0:case 32:{f=0;break}default:break d}i=r;return f|0}while(0);e:do if(!(pmb(d,527792,7)|0)){switch(a[d+7>>0]|0){case 0:{f=d+7|0;break}case 32:case 13:case 10:case 9:{a[d+7>>0]=0;f=d+8|0;break}default:break e}h=_Ta(c[h+32>>2]|0,d,f)|0;i=r;return h|0}while(0);q=c[h+32>>2]|0;f=d;f:while(1){j=a[f>>0]|0;switch(j<<24>>24){case 0:{p=-1;break f}case 32:case 9:{o=32;break f}default:{}}f=f+1|0}if((o|0)==32){a[f>>0]=0;p=j<<24>>24}g:do if(!d)k=0;else{g=a[d>>0]|0;if(!(g<<24>>24))k=0;else{o=c[q+278688>>2]|0;k=g;l=d;j=0;while(1){l=l+1|0;m=(j*31|0)+(k<<24>>24)|0;k=a[l>>0]|0;if(!(k<<24>>24))break;else j=m}n=c[q+278680>>2]|0;j=c[o+(((m>>>0)%(n>>>0)|0)<<2)>>2]|0;if(!j)k=0;else{l=o+(((m>>>0)%(n>>>0)|0)<<2)|0;while(1){k=c[j>>2]|0;if((a[k>>0]|0)==g<<24>>24)if(!(Imb(k,d)|0))break;j=l+-4|0;l=j>>>0>>0?o+(n+-1<<2)|0:j;j=c[l>>2]|0;if(!j){k=0;break g}}j=c[j+4>>2]|0;if(j>>>0>82){k=(c[q+278668>>2]|0)+(j+-83<<4)|0;break}else{k=46568+(j<<4)|0;break}}}}while(0);if((p|0)==-1)j=0;else{j=p&255;a[f>>0]=j}if(k|0)if((c[k+4>>2]|0)!=1){f=YTa(h+139304|0,528874,d,e)|0;if(f|0){h=f;i=r;return h|0}f=c[h+139304>>2]|0;o=c[f>>2]|0;k=c[h+139312>>2]|0;do if(!k)f=0;else{if(k>>>0<2){c[h+139312>>2]=0;f=0;break}c[f>>2]=c[f+4>>2];if((k+-1|0)!=1){f=1;j=1;do{j=j+1|0;d=c[h+139304>>2]|0;c[d+(f<<2)>>2]=c[d+(j<<2)>>2];f=f+1|0}while((f|0)!=(k+-1|0))}c[h+139312>>2]=k+-1;if(!(k+-1|0))f=0;else{f=c[c[h+139304>>2]>>2]|0;m=f;n=k+-1|0;g=0;j=0;while(1){k=a[m>>0]|0;if(!(k<<24>>24))k=n;else{l=j;while(1){m=m+1|0;j=l+1|0;a[f+l>>0]=k;k=a[m>>0]|0;if(!(k<<24>>24))break;else l=j}k=c[h+139312>>2]|0}l=g+1|0;if(l>>>0>>0){a[f+j>>0]=32;k=c[h+139312>>2]|0;j=j+1|0}if(l>>>0>=k>>>0)break;m=c[(c[h+139304>>2]|0)+(l<<2)>>2]|0;n=k;g=l}if((f|0)==1279070)f=1279070;else a[f+j>>0]=0}}while(0);h=_Ta(c[h+32>>2]|0,o,f)|0;i=r;return h|0}if(j<<24>>24){a[f>>0]=0;f=f+1|0}h:while(1){j=a[f>>0]|0;switch(j<<24>>24){case 32:case 9:break;default:break h}f=f+1|0}j=j<<24>>24==34?f+1|0:f;i:do if((d+e|0)>>>0>j>>>0){f=d+e|0;j:while(1){f=f+-1|0;switch(a[f>>0]|0){case 34:break j;case 9:case 32:break;default:break i}a[f>>0]=0;if(f>>>0<=j>>>0)break i}a[f>>0]=0}while(0);h=_Ta(c[h+32>>2]|0,d,j)|0;i=r;return h|0}function _Ta(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+16|0;q=c[b+278664>>2]|0;c[r>>2]=0;k=c[b+128>>2]|0;l=c[k+12>>2]|0;m=a[e>>0]|0;if(!(m<<24>>24))g=0;else{h=m;j=e;g=0;do{j=j+1|0;g=(g*31|0)+(h<<24>>24)|0;h=a[j>>0]|0}while(h<<24>>24!=0)}k=c[k+4>>2]|0;h=l+(((g>>>0)%(k>>>0)|0)<<2)|0;g=c[h>>2]|0;a:do if(g|0){while(1){j=c[g>>2]|0;if((a[j>>0]|0)==m<<24>>24)if(!(Imb(j,e)|0))break;g=h+-4|0;h=g>>>0>>0?l+(k+-1<<2)|0:g;g=c[h>>2]|0;if(!g)break a}o=c[b+80>>2]|0;n=c[g+4>>2]|0;switch(c[o+(n<<4)+4>>2]|0){case 1:{LTa(q,c[o+(n<<4)+12>>2]|0);c[o+(n<<4)+12>>2]=0;if(!f){q=c[r>>2]|0;i=r;return q|0}if(!(a[f>>0]|0)){q=c[r>>2]|0;i=r;return q|0}c[o+(n<<4)+12>>2]=MTa(q,f,r)|0;q=c[r>>2]|0;i=r;return q|0}case 2:{if(!f)g=0;else{m=a[f>>0]|0;if(!(m<<24>>24))g=0;else{g=m<<24>>24==45?f+1|0:f;h=a[g>>0]|0;b:do if(h<<24>>24==48){switch(a[g+1>>0]|0){case 88:case 120:break;default:{l=10;j=g;h=48;k=528909;break b}}l=16;j=g+2|0;h=a[g+2>>0]|0;k=528877}else{l=10;j=g;k=528909}while(0);g=h<<24>>24;if(!(d[k+((h&255)>>>3)>>0]&1<<(g&7)))g=0;else{h=g;g=0;do{g=_(g,l)|0;g=(d[528941+h>>0]|0)+g|0;j=j+1|0;q=a[j>>0]|0;h=q<<24>>24}while((1<<(h&7)&d[k+((q&255)>>>3)>>0]|0)!=0)}g=m<<24>>24==45?0-g|0:g}}c[o+(n<<4)+12>>2]=g;q=c[r>>2]|0;i=r;return q|0}case 3:{c:do if(!f)g=0;else{g=a[f>>0]|0;d:do switch(g<<24>>24){case 0:{g=0;break c}case 48:{switch(a[f+1>>0]|0){case 88:case 120:break;default:{j=f;l=10;g=48;k=528909;break d}}j=f+2|0;l=16;g=a[f+2>>0]|0;k=528877;break}default:{j=f;l=10;k=528909}}while(0);h=g<<24>>24;if(!(d[k+((g&255)>>>3)>>0]&1<<(h&7)))g=0;else{g=0;do{g=_(g,l)|0;g=(d[528941+h>>0]|0)+g|0;j=j+1|0;q=a[j>>0]|0;h=q<<24>>24}while((1<<(h&7)&d[k+((q&255)>>>3)>>0]|0)!=0)}}while(0);c[o+(n<<4)+12>>2]=g;q=c[r>>2]|0;i=r;return q|0}default:{q=c[r>>2]|0;i=r;return q|0}}}while(0);l=c[b+278688>>2]|0;if(!(m<<24>>24))g=0;else{h=m;j=e;g=0;do{j=j+1|0;g=(g*31|0)+(h<<24>>24)|0;h=a[j>>0]|0}while(h<<24>>24!=0)}k=c[b+278680>>2]|0;h=l+(((g>>>0)%(k>>>0)|0)<<2)|0;g=c[h>>2]|0;e:do if(!g)p=35;else while(1){j=c[g>>2]|0;if((a[j>>0]|0)==m<<24>>24)if(!(Imb(j,e)|0)){h=g;break e}g=h+-4|0;h=g>>>0>>0?l+(k+-1<<2)|0:g;g=c[h>>2]|0;if(!g){p=35;break}}while(0);f:do if((p|0)==35){c[r+4>>2]=0;if(!(m<<24>>24))g=0;else{h=m;j=e;g=0;do{j=j+1|0;g=(g*31|0)+(h<<24>>24)|0;h=a[j>>0]|0}while(h<<24>>24!=0)}h=l+(((g>>>0)%(k>>>0)|0)<<2)|0;g=c[h>>2]|0;g:do if(!g)p=42;else while(1){g=c[g>>2]|0;if((a[g>>0]|0)==m<<24>>24)if(!(Imb(g,e)|0))break g;g=h+-4|0;h=g>>>0>>0?l+(k+-1<<2)|0:g;g=c[h>>2]|0;if(!g){p=42;break}}while(0);do if((p|0)==42){l=c[b+278672>>2]|0;l=JTa(q,16,l,l+1|0,c[b+278668>>2]|0,r+4|0)|0;c[b+278668>>2]=l;g=c[r+4>>2]|0;if(!g){h=c[b+278672>>2]|0;c[l+(h<<4)>>2]=0;c[l+(h<<4)+4>>2]=0;c[l+(h<<4)+8>>2]=0;c[l+(h<<4)+12>>2]=0;j=(rnb(e)|0)+1|0;k=JTa(q,1,0,j,0,r+4|0)|0;c[l+(h<<4)>>2]=k;g=c[r+4>>2]|0;if(!g){mBb(k|0,e|0,j|0)|0;c[l+(h<<4)+4>>2]=1;c[l+(h<<4)+8>>2]=0;g=XTa(c[l+(h<<4)>>2]|0,(c[b+278672>>2]|0)+83|0,b+278676|0,q)|0;c[r+4>>2]=g;if(!g){c[b+278672>>2]=(c[b+278672>>2]|0)+1;m=a[e>>0]|0;l=c[b+278688>>2]|0;break}}}c[r>>2]=g;q=c[r>>2]|0;i=r;return q|0}while(0);c[r>>2]=0;if(!(m<<24>>24))g=0;else{h=m;j=e;g=0;do{j=j+1|0;g=(g*31|0)+(h<<24>>24)|0;h=a[j>>0]|0}while(h<<24>>24!=0)}j=c[b+278680>>2]|0;g=l+(((g>>>0)%(j>>>0)|0)<<2)|0;h=c[g>>2]|0;if(!h)h=0;else{k=l+(j+-1<<2)|0;j=g;while(1){g=c[h>>2]|0;if((a[g>>0]|0)==m<<24>>24)if(!(Imb(g,e)|0))break f;h=j+-4|0;j=h>>>0>>0?k:h;h=c[j>>2]|0;if(!h){h=0;break}}}}while(0);g=c[b+76>>2]|0;if((g|0)==(c[b+72>>2]|0)){if(!g){g=JTa(q,16,0,1,0,r)|0;c[b+80>>2]=g;if(c[r>>2]|0){q=c[r>>2]|0;i=r;return q|0}}else{g=JTa(q,16,g,g+1|0,c[b+80>>2]|0,r)|0;c[b+80>>2]=g;if(c[r>>2]|0){q=c[r>>2]|0;i=r;return q|0}}o=g+(c[b+72>>2]<<4)|0;c[o>>2]=0;c[o+4>>2]=0;c[o+8>>2]=0;c[o+12>>2]=0;c[b+72>>2]=(c[b+72>>2]|0)+1}g=c[h+4>>2]|0;if(g>>>0>82)g=(c[b+278668>>2]|0)+(g+-83<<4)|0;else g=46568+(g<<4)|0;n=c[b+80>>2]|0;o=c[b+76>>2]|0;c[n+(o<<4)>>2]=c[g>>2];m=g+4|0;c[n+(o<<4)+4>>2]=c[m>>2];c[n+(o<<4)+8>>2]=c[g+8>>2];switch(c[m>>2]|0){case 1:{c[n+(o<<4)+12>>2]=0;if(f|0)if(a[f>>0]|0){c[n+(o<<4)+12>>2]=MTa(q,f,r)|0;if(c[r>>2]|0){q=c[r>>2]|0;i=r;return q|0}}break}case 2:{if(!f)g=0;else{m=a[f>>0]|0;if(!(m<<24>>24))g=0;else{g=m<<24>>24==45?f+1|0:f;h=a[g>>0]|0;h:do if(h<<24>>24==48){switch(a[g+1>>0]|0){case 88:case 120:break;default:{l=10;j=g;h=48;k=528909;break h}}l=16;j=g+2|0;h=a[g+2>>0]|0;k=528877}else{l=10;j=g;k=528909}while(0);g=h<<24>>24;if(!(d[k+((h&255)>>>3)>>0]&1<<(g&7)))g=0;else{h=g;g=0;do{g=_(g,l)|0;g=(d[528941+h>>0]|0)+g|0;j=j+1|0;f=a[j>>0]|0;h=f<<24>>24}while((1<<(h&7)&d[k+((f&255)>>>3)>>0]|0)!=0)}g=m<<24>>24==45?0-g|0:g}}c[n+(o<<4)+12>>2]=g;break}case 3:{i:do if(!f)g=0;else{g=a[f>>0]|0;j:do switch(g<<24>>24){case 0:{g=0;break i}case 48:{switch(a[f+1>>0]|0){case 88:case 120:break;default:{j=f;l=10;g=48;k=528909;break j}}j=f+2|0;l=16;g=a[f+2>>0]|0;k=528877;break}default:{j=f;l=10;k=528909}}while(0);h=g<<24>>24;if(!(d[k+((g&255)>>>3)>>0]&1<<(h&7)))g=0;else{g=0;do{g=_(g,l)|0;g=(d[528941+h>>0]|0)+g|0;j=j+1|0;f=a[j>>0]|0;h=f<<24>>24}while((1<<(h&7)&d[k+((f&255)>>>3)>>0]|0)!=0)}}while(0);c[n+(o<<4)+12>>2]=g;break}default:{}}if(!(pmb(e,527792,7)|0))switch(a[e+7>>0]|0){case 9:case 13:case 10:case 0:case 32:break;default:p=84}else p=84;if((p|0)==84){q=XTa(c[n+(o<<4)>>2]|0,c[b+76>>2]|0,c[b+128>>2]|0,q)|0;c[r>>2]=q;if(q|0){q=c[r>>2]|0;i=r;return q|0}}c[b+76>>2]=(c[b+76>>2]|0)+1;k:do if(!(pmb(e,527889,12)|0)){switch(a[e+12>>0]|0){case 9:case 13:case 10:case 0:case 32:break;default:break k}c[b+36>>2]=c[n+(o<<4)+12>>2];q=c[r>>2]|0;i=r;return q|0}while(0);l:do if(!(pmb(e,527987,11)|0)){switch(a[e+11>>0]|0){case 9:case 13:case 10:case 0:case 32:break;default:break l}c[b+40>>2]=c[n+(o<<4)+12>>2];q=c[r>>2]|0;i=r;return q|0}while(0);m:do if(!(pmb(e,527999,12)|0)){switch(a[e+12>>0]|0){case 9:case 13:case 10:case 0:case 32:break;default:break m}c[b+44>>2]=c[n+(o<<4)+12>>2];q=c[r>>2]|0;i=r;return q|0}while(0);if(pmb(e,528631,7)|0){q=c[r>>2]|0;i=r;return q|0}switch(a[e+7>>0]|0){case 9:case 13:case 10:case 0:case 32:break;default:{q=c[r>>2]|0;i=r;return q|0}}g=c[n+(o<<4)+12>>2]|0;if(!g){c[r>>2]=3;q=c[r>>2]|0;i=r;return q|0}switch(a[g>>0]|0){case 80:case 112:{c[b+28>>2]=8;q=c[r>>2]|0;i=r;return q|0}case 77:case 109:{c[b+28>>2]=16;q=c[r>>2]|0;i=r;return q|0}case 67:case 99:{c[b+28>>2]=32;q=c[r>>2]|0;i=r;return q|0}default:{q=c[r>>2]|0;i=r;return q|0}}return 0}function $Ta(f,g,h,j,k){f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+16|0;c[v>>2]=0;t=c[k+32>>2]|0;u=c[t+278664>>2]|0;a:do if(!(pmb(f,527792,7)|0)){l=a[f+7>>0]|0;switch(l<<24>>24){case 9:case 13:case 10:case 0:case 32:break;default:{o=6;break a}}h=(l<<24>>24==0?-7:-8)+g|0;c[v+4>>2]=0;g=c[t+88>>2]|0;g=JTa(u,1,g,g+(h+1)|0,c[t+84>>2]|0,v+4|0)|0;c[t+84>>2]=g;j=c[v+4>>2]|0;if(!j){j=g+(c[t+88>>2]|0)|0;mBb(j|0,(l<<24>>24==0?f+7|0:f+8|0)|0,h|0)|0;a[j+h>>0]=10;c[t+88>>2]=(c[t+88>>2]|0)+(h+1);j=c[v+4>>2]|0}c[v>>2]=j;o=204}else o=6;while(0);b:do if((o|0)==6){j=c[k>>2]|0;c:do if(!(j&32)){d:do if(!(pmb(f,529087,5)|0)){switch(a[f+5>>0]|0){case 9:case 13:case 10:case 0:case 32:break;default:break d}j=YTa(k+139304|0,528874,f,g)|0;c[v>>2]=j;if(j|0){h=k;break b}j=c[(c[k+139304>>2]|0)+4>>2]|0;e:do if(!j)o=17;else{h=a[j>>0]|0;f:do switch(h<<24>>24){case 0:{o=17;break e}case 48:{switch(a[j+1>>0]|0){case 88:case 120:break;default:{g=j;f=10;h=48;l=528909;break f}}g=j+2|0;f=16;h=a[j+2>>0]|0;l=528877;break}default:{g=j;f=10;l=528909}}while(0);j=h<<24>>24;if(!(d[l+((h&255)>>>3)>>0]&1<<(j&7)))o=17;else{h=j;j=0;do{j=_(j,f)|0;j=(d[528941+h>>0]|0)+j|0;g=g+1|0;s=a[g>>0]|0;h=s<<24>>24}while((1<<(h&7)&d[l+((s&255)>>>3)>>0]|0)!=0);c[t+48>>2]=j;c[k+4>>2]=j;if(!j){j=t+48|0;o=19}else if(j>>>0>1114111){c[v>>2]=6;h=k;j=6;break b}}}while(0);if((o|0)==17){c[t+48>>2]=0;c[k+4>>2]=0;j=t+48|0;o=19}if((o|0)==19){c[j>>2]=64;j=64}c[t+56>>2]=JTa(u,36,0,j,0,v)|0;j=c[v>>2]|0;if(j|0){h=k;break b}c[k>>2]=c[k>>2]|32;break c}while(0);c[v>>2]=180;h=k;j=180;break b}else{g:do if(!(pmb(f,529093,7)|0)){switch(a[f+7>>0]|0){case 9:case 13:case 10:case 0:case 32:break;default:break g}if(!(j&4032)){cnb(c[t+56>>2]|0,c[t+52>>2]|0,36,354);c[k>>2]=c[k>>2]&-2;break c}else{c[v>>2]=186;h=k;j=186;break b}}while(0);h:do if(!(pmb(f,529101,7)|0)){switch(a[f+7>>0]|0){case 9:case 13:case 10:case 0:case 32:break;default:break h}c[k+28>>2]=0;c[k>>2]=j&-4033;break c}while(0);if(j&64|0)if((c[k+28>>2]|0)==-1)if(!(c[(c[k+36>>2]|0)+4>>2]|0))break;i:do if(!(pmb(f,529109,9)|0)){switch(a[f+9>>0]|0){case 9:case 13:case 10:case 0:case 32:break;default:break i}LTa(u,c[k+24>>2]|0);c[k+24>>2]=0;j=YTa(k+139304|0,528874,f,g)|0;c[v>>2]=j;if(j|0){h=k;break b}g=c[k+139312>>2]|0;do if(g|0){if(g>>>0<2){c[k+139312>>2]=0;break}j=0;h=1;while(1){t=c[k+139304>>2]|0;c[t+(j<<2)>>2]=c[t+(h<<2)>>2];j=j+1|0;if((j|0)==(g+-1|0))break;else h=h+1|0}c[k+139312>>2]=g+-1;if(g+-1|0){h=c[c[k+139304>>2]>>2]|0;f=h;m=g+-1|0;n=0;l=0;while(1){j=a[f>>0]|0;if(!(j<<24>>24))j=m;else{g=l;while(1){f=f+1|0;l=g+1|0;a[h+g>>0]=j;j=a[f>>0]|0;if(!(j<<24>>24))break;else g=l}j=c[k+139312>>2]|0}g=n+1|0;if(g>>>0>>0){a[h+l>>0]=32;j=c[k+139312>>2]|0;l=l+1|0}if(g>>>0>=j>>>0)break;f=c[(c[k+139304>>2]|0)+(g<<2)>>2]|0;m=j;n=g}if((h|0)==1279070)h=1279070;else{a[h+l>>0]=0;if(!h)break}g=JTa(u,1,0,l+1|0,0,v)|0;c[k+24>>2]=g;j=c[v>>2]|0;if(j|0){h=k;break b}mBb(g|0,h|0,l+1|0)|0;c[k>>2]=c[k>>2]|64;break c}}while(0);c[v>>2]=3;h=k;j=3;break b}while(0);j:do if(!(pmb(f,529119,8)|0)){switch(a[f+8>>0]|0){case 9:case 13:case 10:case 0:case 32:break;default:break j}if(!(j&64)){c[v>>2]=181;h=k;j=181;break b}j=YTa(k+139304|0,528874,f,g)|0;c[v>>2]=j;if(j|0){h=k;break b}n=c[k+139304>>2]|0;j=c[n+4>>2]|0;if(!j)j=0;else{m=a[j>>0]|0;if(!(m<<24>>24))j=0;else{j=m<<24>>24==45?j+1|0:j;h=a[j>>0]|0;k:do if(h<<24>>24==48){switch(a[j+1>>0]|0){case 88:case 120:break;default:{f=10;g=j;h=48;l=528909;break k}}f=16;g=j+2|0;h=a[j+2>>0]|0;l=528877}else{f=10;g=j;l=528909}while(0);j=h<<24>>24;if(!(d[l+((h&255)>>>3)>>0]&1<<(j&7)))j=0;else{h=j;j=0;do{j=_(j,f)|0;j=(d[528941+h>>0]|0)+j|0;g=g+1|0;s=a[g>>0]|0;h=s<<24>>24}while((1<<(h&7)&d[l+((s&255)>>>3)>>0]|0)!=0)}j=m<<24>>24==45?0-j|0:j}}j=(j|0)<-1?-1:j;c[k+28>>2]=j;do if((j|0)==-1)if((c[k+139312>>2]|0)>>>0>2){j=c[n+8>>2]|0;if(j|0){m=a[j>>0]|0;if(m<<24>>24){j=m<<24>>24==45?j+1|0:j;h=a[j>>0]|0;l:do if(h<<24>>24==48){switch(a[j+1>>0]|0){case 88:case 120:break;default:{f=10;g=j;h=48;l=528909;break l}}f=16;g=j+2|0;h=a[j+2>>0]|0;l=528877}else{f=10;g=j;l=528909}while(0);j=h<<24>>24;if(!(d[l+((h&255)>>>3)>>0]&1<<(j&7)))j=0;else{h=j;j=0;do{j=_(j,f)|0;j=(d[528941+h>>0]|0)+j|0;g=g+1|0;s=a[g>>0]|0;h=s<<24>>24}while((1<<(h&7)&d[l+((s&255)>>>3)>>0]|0)!=0)}j=m<<24>>24==45?0-j|0:j;c[k+28>>2]=j;if((j|0)>=-1){o=82;break}c[k+28>>2]=-1;o=93;break}}c[k+28>>2]=0;j=0;o=85}else o=93;else o=82;while(0);do if((o|0)==82)if((j|0)>0&j>>>0>1114111){c[v>>2]=3;h=k;j=3;break b}else if((j|0)>-1){o=85;break}else{o=93;break}while(0);do if((o|0)==85){h=k+40+(j>>5<<2)|0;g=c[h>>2]|0;j=1<<(j&31);if(g&j|0){c[k+28>>2]=-1;b[t+278660>>1]=1;o=93;break}c[h>>2]=g|j;g=c[k+28>>2]|0;if((g|0)>-1){j=c[t+52>>2]|0;if((j|0)==(c[t+48>>2]|0)){h=JTa(u,36,j,j+64|0,c[t+56>>2]|0,v)|0;c[t+56>>2]=h;j=c[v>>2]|0;if(j|0){h=k;break b}c[t+48>>2]=(c[t+48>>2]|0)+64;j=c[t+52>>2]|0;g=c[k+28>>2]|0}else h=c[t+56>>2]|0;c[t+52>>2]=j+1;c[h+(j*36|0)>>2]=c[k+24>>2];c[h+(j*36|0)+4>>2]=g;c[k+24>>2]=0}else o=93}while(0);if((o|0)==93){if(!(c[(c[k+36>>2]|0)+4>>2]|0)){LTa(u,c[k+24>>2]|0);c[k+24>>2]=0;j=k+24|0}else{j=c[t+64>>2]|0;if((j|0)==(c[t+60>>2]|0)){h=JTa(u,36,j,j+4|0,c[t+68>>2]|0,v)|0;c[t+68>>2]=h;j=c[v>>2]|0;if(j|0){h=k;break b}c[t+60>>2]=(c[t+60>>2]|0)+4;j=c[t+64>>2]|0}else h=c[t+68>>2]|0;c[h+(j*36|0)>>2]=c[k+24>>2];c[t+64>>2]=j+1;c[h+(j*36|0)+4>>2]=j;j=k+24|0}c[j>>2]=0}c[k>>2]=c[k>>2]&1073741695|128;break c}while(0);if((c[k+28>>2]|0)==-1)s=(c[t+68>>2]|0)+(((c[t+64>>2]|0)+-1|0)*36|0)|0;else s=(c[t+56>>2]|0)+(((c[t+52>>2]|0)+-1|0)*36|0)|0;if(j&2048|0){h=c[k+8>>2]|0;if(h>>>0>=(e[s+14>>1]|0)>>>0){if((j|0)<0)break;c[k>>2]=j|-2147483648;b[t+278660>>1]=1;break}l=c[s+28>>2]|0;g=(c[s+24>>2]|0)+(_(l,h)|0)|0;j=0;m:while(1){h=j;while(1){if(h>>>0>=l<<1>>>0)break m;j=a[f+h>>0]|0;if(!(1<<(j&7)&d[528877+((j&255)>>>3)>>0])){o=115;break m}a[g>>0]=(d[g>>0]<<4)+(d[528941+(j<<24>>24)>>0]|0);j=h+1|0;if(j>>>0>=l<<1>>>0|(h&1|0)==0)h=j;else break}r=g+1|0;a[r>>0]=0;g=r}if((o|0)==115){j=c[k>>2]|0;if(!(j&1073741824)){c[k>>2]=j|1073741824;b[t+278660>>1]=1}}j=b[s+12>>1]|0;if(j<<16>>16){s=a[529128+((_(e[(c[k+32>>2]|0)+278662>>1]|0,j&65535)|0)&7)>>0]|0;a[g>>0]=a[g>>0]&s}if((h|0)==(l<<1|0)){s=d[f+(l<<1)>>0]|0;if(1<<(s&7)&d[528877+(s>>>3)>>0]|0){j=c[k>>2]|0;if(!(j&1073741824)){c[k>>2]=j|1073741824;b[t+278660>>1]=1}}}c[k+8>>2]=(c[k+8>>2]|0)+1;break}n:do if(!(pmb(f,529136,6)|0)){switch(a[f+6>>0]|0){case 9:case 13:case 10:case 0:case 32:break;default:{o=136;break n}}if(j&128|0){j=YTa(k+139304|0,528874,f,g)|0;c[v>>2]=j;if(j|0){h=k;break b}j=c[(c[k+139304>>2]|0)+4>>2]|0;o:do if(!j)j=0;else{h=a[j>>0]|0;p:do switch(h<<24>>24){case 0:{j=0;break o}case 48:{switch(a[j+1>>0]|0){case 88:case 120:break;default:{g=j;f=10;h=48;l=528909;break p}}g=j+2|0;f=16;h=a[j+2>>0]|0;l=528877;break}default:{g=j;f=10;l=528909}}while(0);j=h<<24>>24;if(!(d[l+((h&255)>>>3)>>0]&1<<(j&7)))j=0;else{h=j;j=0;do{j=_(j,f)|0;j=(d[528941+h>>0]|0)+j|0;g=g+1|0;t=a[g>>0]|0;h=t<<24>>24}while((1<<(h&7)&d[l+((t&255)>>>3)>>0]|0)!=0);j=j&65535}}while(0);b[s+8>>1]=j;c[k>>2]=c[k>>2]|256;break c}}else o=136;while(0);q:do if((o|0)==136){r:do if(!(pmb(f,529143,6)|0)){switch(a[f+6>>0]|0){case 9:case 13:case 10:case 0:case 32:break;default:break r}if(!(j&128))break q;j=YTa(k+139304|0,528874,f,g)|0;c[v>>2]=j;if(j|0){h=k;break b}j=c[(c[k+139304>>2]|0)+4>>2]|0;s:do if(!j)h=0;else{h=a[j>>0]|0;t:do switch(h<<24>>24){case 0:{h=0;break s}case 48:{switch(a[j+1>>0]|0){case 88:case 120:break;default:{g=j;f=10;h=48;l=528909;break t}}g=j+2|0;f=16;h=a[j+2>>0]|0;l=528877;break}default:{g=j;f=10;l=528909}}while(0);j=h<<24>>24;if(!(d[l+((h&255)>>>3)>>0]&1<<(j&7)))h=0;else{h=0;do{h=_(h,f)|0;h=(d[528941+j>>0]|0)+h|0;g=g+1|0;r=a[g>>0]|0;j=r<<24>>24}while((1<<(j&7)&d[l+((r&255)>>>3)>>0]|0)!=0)}}while(0);b[s+10>>1]=h;j=c[k>>2]|0;if(!(j&256)){b[s+8>>1]=F2a(h&65535,72e3,_(c[t+20>>2]|0,c[t+16>>2]|0)|0)|0;j=c[k>>2]|0}c[k>>2]=j|512;break c}while(0);u:do if(!(pmb(f,529150,3)|0)){switch(a[f+3>>0]|0){case 9:case 13:case 10:case 0:case 32:break;default:break u}if(!(j&128))break q;j=YTa(k+139304|0,528874,f,g)|0;c[v>>2]=j;if(j|0){h=k;break b}q=c[k+139304>>2]|0;j=c[q+4>>2]|0;v:do if(!j)r=0;else{h=a[j>>0]|0;w:do switch(h<<24>>24){case 0:{r=0;break v}case 48:{switch(a[j+1>>0]|0){case 88:case 120:break;default:{g=j;f=10;h=48;l=528909;break w}}g=j+2|0;f=16;h=a[j+2>>0]|0;l=528877;break}default:{g=j;f=10;l=528909}}while(0);j=h<<24>>24;if(!(d[l+((h&255)>>>3)>>0]&1<<(j&7))){r=0;break}else{h=j;j=0}do{j=_(j&65535,f)|0;j=(d[528941+h>>0]|0)+j|0;g=g+1|0;r=a[g>>0]|0;h=r<<24>>24}while((1<<(h&7)&d[l+((r&255)>>>3)>>0]|0)!=0);r=j&65535}while(0);b[s+12>>1]=r;j=c[q+8>>2]|0;x:do if(!j)p=0;else{h=a[j>>0]|0;y:do switch(h<<24>>24){case 0:{p=0;break x}case 48:{switch(a[j+1>>0]|0){case 88:case 120:break;default:{g=j;f=10;h=48;l=528909;break y}}g=j+2|0;f=16;h=a[j+2>>0]|0;l=528877;break}default:{g=j;f=10;l=528909}}while(0);j=h<<24>>24;if(!(d[l+((h&255)>>>3)>>0]&1<<(j&7))){p=0;break}else{h=j;j=0}do{j=_(j&65535,f)|0;j=(d[528941+h>>0]|0)+j|0;g=g+1|0;p=a[g>>0]|0;h=p<<24>>24}while((1<<(h&7)&d[l+((p&255)>>>3)>>0]|0)!=0);p=j&65535}while(0);b[s+14>>1]=p;j=c[q+12>>2]|0;do if(!j)o=0;else{n=a[j>>0]|0;if(!(n<<24>>24)){o=0;break}j=n<<24>>24==45?j+1|0:j;h=a[j>>0]|0;z:do if(h<<24>>24==48){switch(a[j+1>>0]|0){case 88:case 120:break;default:{m=10;g=j;h=48;f=528909;break z}}m=16;g=j+2|0;h=a[j+2>>0]|0;f=528877}else{m=10;g=j;f=528909}while(0);l=h<<24>>24;if(!(d[f+((h&255)>>>3)>>0]&1<<(l&7)))j=0;else{j=0;h=l;do{j=_(j,m)|0;g=g+1|0;o=a[g>>0]|0;j=(d[528941+h>>0]|0)+j<<16>>16;h=o<<24>>24}while((1<<(h&7)&d[f+((o&255)>>>3)>>0]|0)!=0)}o=(n<<24>>24==45?0-j|0:j)&65535}while(0);b[s+16>>1]=o;j=c[q+16>>2]|0;do if(!j)j=0;else{n=a[j>>0]|0;if(!(n<<24>>24)){j=0;break}j=n<<24>>24==45?j+1|0:j;h=a[j>>0]|0;A:do if(h<<24>>24==48){switch(a[j+1>>0]|0){case 88:case 120:break;default:{m=10;g=j;h=48;f=528909;break A}}m=16;g=j+2|0;h=a[j+2>>0]|0;f=528877}else{m=10;g=j;f=528909}while(0);l=h<<24>>24;if(!(d[f+((h&255)>>>3)>>0]&1<<(l&7)))j=0;else{j=0;h=l;do{j=_(j,m)|0;g=g+1|0;q=a[g>>0]|0;j=(d[528941+h>>0]|0)+j<<16>>16;h=q<<24>>24}while((1<<(h&7)&d[f+((q&255)>>>3)>>0]|0)!=0)}j=(n<<24>>24==45?0-j|0:j)&65535}while(0);b[s+18>>1]=j;j=j&65535;p=(p&65535)+j&65535;b[s+20>>1]=p;b[s+22>>1]=0-j;q=b[k+18>>1]|0;b[k+18>>1]=p<<16>>16>q<<16>>16?p:q;q=b[k+20>>1]|0;b[k+20>>1]=(0-j&65535)<<16>>16>q<<16>>16?0-j&65535:q;q=(o&65535)+(r&65535)|0;b[k+22>>1]=q;j=b[k+16>>1]|0;b[k+16>>1]=(q<<16>>16|0)>(j<<16>>16|0)?q&65535:j;j=c[k+12>>2]|0;b[k+12>>1]=o<<16>>16<(j&65535)<<16>>16?o:j&65535;b[k+14>>1]=o<<16>>16>(j>>>16&65535)<<16>>16?o:j>>>16&65535;j=c[k>>2]|0;if(!(j&512))b[s+10>>1]=r;do if(c[c[k+36>>2]>>2]|0){j=F2a(e[s+10>>1]|0,72e3,_(c[t+20>>2]|0,c[t+16>>2]|0)|0)|0;h=s+8|0;if((b[h>>1]|0)==(j&65535)<<16>>16){j=c[k>>2]|0;break}b[h>>1]=j;if((c[k+28>>2]|0)==-1){s=(c[t+64>>2]|0)+-1|0;c[t+139396+(s>>>5<<2)>>2]=1<<(s&31)|c[t+139396+(s>>>5<<2)>>2]}else{s=c[s+4>>2]|0;c[t+132+(s>>5<<2)>>2]=1<<(s&31)|c[t+132+(s>>5<<2)>>2]}j=c[k>>2]|4096;c[k>>2]=j;b[t+278660>>1]=1}while(0);c[k>>2]=j|1024;break c}while(0);B:do if(!(pmb(f,529154,6)|0)){switch(a[f+6>>0]|0){case 9:case 13:case 10:case 0:case 32:break;default:break B}if(!(j&1024)){c[v>>2]=183;h=k;j=183;break b}j=c[s+12>>2]|0;t=(_(e[t+278662>>1]|0,j&65535)|0)+7|0;c[s+28>>2]=t>>>3;j=_(t>>>3,j>>>16)|0;if(t>>>0>524287|j>>>0>65535){c[v>>2]=184;h=k;j=184;break b}b[s+32>>1]=j;c[s+24>>2]=JTa(u,1,0,j&65535,0,v)|0;j=c[v>>2]|0;if(j|0){h=k;break b}c[k+8>>2]=0;c[k>>2]=c[k>>2]|2048;break c}while(0);c[v>>2]=3;h=k;j=3;break b}while(0);c[v>>2]=182;h=k;j=182;break b}while(0);j=c[v>>2]|0;o=204}while(0);do if((o|0)==204)if(!j){k=0;i=v;return k|0}else{h=k;break}while(0);if(!(c[h>>2]&64)){k=j;i=v;return k|0}LTa(u,c[k+24>>2]|0);c[k+24>>2]=0;k=c[v>>2]|0;i=v;return k|0}function aUa(a,b){a=a|0;b=b|0;a=c[a+4>>2]|0;b=c[b+4>>2]|0;return ((a|0)<(b|0)?-1:(a|0)>(b|0)&1)|0}function bUa(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;if(!a)return;g=c[a+278664>>2]|0;LTa(g,c[a>>2]|0);c[a>>2]=0;f=c[a+128>>2]|0;if(f|0){e=c[f+4>>2]|0;b=c[f+12>>2]|0;if(e){d=0;while(1){LTa(g,c[b>>2]|0);c[b>>2]=0;d=d+1|0;if((d|0)==(e|0))break;else b=b+4|0}b=c[f+12>>2]|0}LTa(g,b);c[f+12>>2]=0;LTa(g,c[a+128>>2]|0);c[a+128>>2]=0}LTa(g,c[a+84>>2]|0);c[a+84>>2]=0;b=c[a+72>>2]|0;if(b|0){e=0;do{d=c[a+80>>2]|0;if((c[d+(e<<4)+4>>2]|0)==1){LTa(g,c[d+(e<<4)+12>>2]|0);c[(c[a+80>>2]|0)+(e<<4)+12>>2]=0;b=c[a+72>>2]|0}e=e+1|0}while(e>>>0>>0)}LTa(g,c[a+80>>2]|0);c[a+80>>2]=0;if(c[a+52>>2]|0){b=c[a+56>>2]|0;d=0;while(1){LTa(g,c[b>>2]|0);c[b>>2]=0;f=b+24|0;LTa(g,c[f>>2]|0);c[f>>2]=0;d=d+1|0;if(d>>>0>=(c[a+52>>2]|0)>>>0)break;else b=b+36|0}}if(c[a+64>>2]|0){b=c[a+68>>2]|0;d=0;while(1){LTa(g,c[b>>2]|0);c[b>>2]=0;f=b+24|0;LTa(g,c[f>>2]|0);c[f>>2]=0;d=d+1|0;if(d>>>0>=(c[a+64>>2]|0)>>>0)break;else b=b+36|0}}LTa(g,c[a+56>>2]|0);c[a+56>>2]=0;LTa(g,c[a+68>>2]|0);c[a+68>>2]=0;b=c[a+104>>2]|0;if(c[a+112>>2]|0){d=0;while(1){LTa(g,c[b>>2]|0);c[b>>2]=0;f=b+24|0;LTa(g,c[f>>2]|0);c[f>>2]=0;d=d+1|0;if(d>>>0>=(c[a+112>>2]|0)>>>0)break;else b=b+36|0}b=c[a+104>>2]|0}LTa(g,b);c[a+104>>2]=0;e=c[a+278680>>2]|0;b=c[a+278688>>2]|0;if(e){d=0;while(1){LTa(g,c[b>>2]|0);c[b>>2]=0;d=d+1|0;if((d|0)==(e|0))break;else b=b+4|0}b=c[a+278688>>2]|0}LTa(g,b);c[a+278688>>2]=0;b=c[a+278668>>2]|0;if(c[a+278672>>2]|0){d=0;while(1){LTa(g,c[b>>2]|0);c[b>>2]=0;if((c[b+4>>2]|0)==1){f=b+12|0;LTa(g,c[f>>2]|0);c[f>>2]=0}d=d+1|0;if(d>>>0>=(c[a+278672>>2]|0)>>>0)break;else b=b+16|0}b=c[a+278668>>2]|0}LTa(g,b);c[a+278668>>2]=0;return}function cUa(a){a=a|0;var b=0;if(!a)return;b=c[a+100>>2]|0;bUa(c[a+140>>2]|0);LTa(b,c[a+144>>2]|0);c[a+144>>2]=0;LTa(b,c[a+132>>2]|0);c[a+132>>2]=0;LTa(b,c[a+136>>2]|0);c[a+136>>2]=0;LTa(b,c[a+20>>2]|0);c[a+20>>2]=0;LTa(b,c[a+24>>2]|0);c[a+24>>2]=0;LTa(b,c[a+32>>2]|0);c[a+32>>2]=0;LTa(b,c[a+140>>2]|0);c[a+140>>2]=0;return}function dUa(a,b){a=a|0;b=b|0;b=c[a>>2]|0;c[a+16>>2]=c[(c[b+140>>2]|0)+52>>2];c[a+20>>2]=c[b+144>>2];return 0}function eUa(a){a=a|0;c[a+20>>2]=0;c[a+16>>2]=0;return}function fUa(a,b){a=a|0;b=b|0;var d=0,f=0,g=0,h=0,i=0;h=c[a+20>>2]|0;a=c[a+16>>2]|0;if(!a){i=0;return i|0}else g=0;while(1){d=(g+a|0)>>>1;f=c[h+(d<<3)>>2]|0;if((f|0)==(b|0))break;a=f>>>0>b>>>0?d:a;g=f>>>0>b>>>0?g:d+1|0;if(g>>>0>=a>>>0){a=0;i=5;break}}if((i|0)==5)return a|0;i=(e[h+(d<<3)+4>>1]|0)+1&65535;return i|0}function gUa(a,b){a=a|0;b=b|0;var d=0,f=0,g=0,h=0,i=0,j=0;j=c[a+20>>2]|0;h=(c[b>>2]|0)+1|0;i=c[a+16>>2]|0;a:do if(!i)a=0;else{g=i;a=0;while(1){f=(a+g|0)>>>1;d=c[j+(f<<3)>>2]|0;if((h|0)==(d|0))break;g=h>>>0>>0?f:g;a=h>>>0>>0?a:f+1|0;if(a>>>0>=g>>>0)break a}i=h;j=(e[j+(f<<3)+4>>1]|0)+1|0;c[b>>2]=i;b=j&65535;return b|0}while(0);if(a>>>0>=i>>>0){i=0;j=0;c[b>>2]=i;b=j&65535;return b|0}i=c[j+(a<<3)>>2]|0;j=(e[j+(a<<3)+4>>1]|0)+1|0;c[b>>2]=i;b=j&65535;return b|0}function hUa(d,f,g,h){d=d|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0;j=c[f>>2]|0;h=c[j+140>>2]|0;k=e[h+278662>>1]|0;if(!j){d=35;return d|0}if((c[j+16>>2]|0)>>>0<=g>>>0){d=6;return d|0}if(!g)i=c[j+164>>2]|0;else i=g+-1|0;o=c[h+56>>2]|0;h=b[o+(i*36|0)+10>>1]|0;n=b[o+(i*36|0)+12>>1]|0;f=b[o+(i*36|0)+16>>1]|0;g=b[o+(i*36|0)+20>>1]|0;l=c[o+(i*36|0)+24>>2]|0;m=c[o+(i*36|0)+28>>2]|0;c[d+76>>2]=e[o+(i*36|0)+14>>1];c[d+80>>2]=n&65535;c[d+84>>2]=m;NRa(d,l);switch(k|0){case 1:{a[d+94>>0]=1;break}case 2:{a[d+94>>0]=3;break}case 4:{a[d+94>>0]=4;break}case 8:{a[d+94>>0]=2;b[d+92>>1]=256;break}default:{}}c[d+72>>2]=1651078259;c[d+100>>2]=f<<16>>16;c[d+104>>2]=g<<16>>16;c[d+40>>2]=(h&65535)<<6;c[d+32>>2]=f<<16>>16<<6;c[d+36>>2]=g<<16>>16<<6;c[d+24>>2]=c[d+80>>2]<<6;c[d+28>>2]=c[d+76>>2]<<6;hSa(d+24|0,(e[(c[j+140>>2]|0)+6>>1]|0)<<6);o=0;return o|0}function iUa(a,b){a=a|0;b=b|0;var d=0,f=0,g=0,h=0;g=c[a>>2]|0;h=c[g+140>>2]|0;f=c[b+16>>2]|0;d=c[b+8>>2]|0;if(f)d=((_(d,f)|0)+36|0)/72|0;d=d+32>>6;a:do switch(c[b>>2]|0){case 0:if((d|0)==((c[(c[g+32>>2]|0)+12>>2]|0)+32>>6|0)){d=h+44|0;f=h+40|0;break a}else{a=23;return a|0}case 1:{if((d|0)==((c[h+44>>2]|0)+(c[h+40>>2]|0)|0)){d=h+44|0;f=h+40|0}else{a=23;return a|0}break}default:{a=7;return a|0}}while(0);iSa(g,0);c[a+24>>2]=c[f>>2]<<6;c[a+28>>2]=0-(c[d>>2]|0)<<6;c[a+36>>2]=(e[h+4>>1]|0)<<6;a=0;return a|0}function jUa(a,b){a=a|0;b=b|0;var d=0,f=0;f=c[a>>2]|0;d=c[f+140>>2]|0;iSa(f,b);c[a+24>>2]=c[d+40>>2]<<6;c[a+28>>2]=0-(c[d+44>>2]|0)<<6;c[a+36>>2]=(e[d+4>>1]|0)<<6;return 0}function kUa(b){b=b|0;c[b+28>>2]=1;a[b+32>>0]=0;c[b+36>>2]=500;c[b+40>>2]=400;c[b+44>>2]=1e3;c[b+48>>2]=275;c[b+52>>2]=1667;c[b+56>>2]=275;c[b+60>>2]=2333;c[b+64>>2]=0;return 0}function lUa(a){a=a|0;return}function mUa(a,b){a=a|0;b=b|0;var d=0;d=HRa(48032,b)|0;if(d|0){b=d;return b|0}if(!a){b=0;return b|0}d=c[a+4>>2]|0;if(!d){b=0;return b|0}d=dSa(d,590362)|0;if(!d){b=0;return b|0}b=Xi[c[(c[d>>2]|0)+32>>2]&511](d,b)|0;return b|0}function nUa(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,j=0;j=i;i=i+16|0;h=c[d+656>>2]|0;c[j>>2]=0;if(!h){e=0;i=j;return e|0}f=c[h+2960>>2]|0;if(!f){f=HTa(c[d+100>>2]|0,32,j)|0;d=c[j>>2]|0;if(d|0){e=d;i=j;return e|0}d=c[h+1324>>2]|0;do if((d|0)==65535)d=0;else if(d>>>0>390){if((c[h+1312>>2]|0)>>>0<=(d+-391|0)>>>0){d=0;break}d=c[(c[h+1316>>2]|0)+(d+-391<<2)>>2]|0;break}else{g=c[h+2956>>2]|0;if(!g){d=0;break}d=vi[c[g+20>>2]&2047](d)|0;break}while(0);c[f>>2]=d;d=c[h+1328>>2]|0;do if((d|0)==65535)d=0;else if(d>>>0>390){if((c[h+1312>>2]|0)>>>0<=(d+-391|0)>>>0){d=0;break}d=c[(c[h+1316>>2]|0)+(d+-391<<2)>>2]|0;break}else{g=c[h+2956>>2]|0;if(!g){d=0;break}d=vi[c[g+20>>2]&2047](d)|0;break}while(0);c[f+4>>2]=d;d=c[h+1336>>2]|0;do if((d|0)==65535)d=0;else if(d>>>0>390){if((c[h+1312>>2]|0)>>>0<=(d+-391|0)>>>0){d=0;break}d=c[(c[h+1316>>2]|0)+(d+-391<<2)>>2]|0;break}else{g=c[h+2956>>2]|0;if(!g){d=0;break}d=vi[c[g+20>>2]&2047](d)|0;break}while(0);c[f+8>>2]=d;d=c[h+1340>>2]|0;do if((d|0)==65535)d=0;else if(d>>>0>390){if((c[h+1312>>2]|0)>>>0<=(d+-391|0)>>>0){d=0;break}d=c[(c[h+1316>>2]|0)+(d+-391<<2)>>2]|0;break}else{g=c[h+2956>>2]|0;if(!g){d=0;break}d=vi[c[g+20>>2]&2047](d)|0;break}while(0);c[f+12>>2]=d;d=c[h+1344>>2]|0;do if((d|0)==65535)d=0;else if(d>>>0>390){if((c[h+1312>>2]|0)>>>0<=(d+-391|0)>>>0){d=0;break}d=c[(c[h+1316>>2]|0)+(d+-391<<2)>>2]|0;break}else{g=c[h+2956>>2]|0;if(!g){d=0;break}d=vi[c[g+20>>2]&2047](d)|0;break}while(0);c[f+16>>2]=d;c[f+20>>2]=c[h+1352>>2];a[f+24>>0]=a[h+1348>>0]|0;b[f+26>>1]=c[h+1356>>2];b[f+28>>1]=c[h+1360>>2];c[h+2960>>2]=f;d=c[j>>2]|0}else d=0;c[e>>2]=c[f>>2];c[e+4>>2]=c[f+4>>2];c[e+8>>2]=c[f+8>>2];c[e+12>>2]=c[f+12>>2];c[e+16>>2]=c[f+16>>2];c[e+20>>2]=c[f+20>>2];c[e+24>>2]=c[f+24>>2];c[e+28>>2]=c[f+28>>2];e=d;i=j;return e|0}function oUa(a){a=a|0;return (c[a+8>>2]|0)>>>9&1|0}function pUa(a){a=a|0;var b=0,d=0;d=c[a+656>>2]|0;if(c[a+532>>2]|0){b=ySa(dSa(c[(c[a+96>>2]|0)+4>>2]|0,590362)|0,591510)|0;if(b|0){b=c[b>>2]|0;if(b|0){a=vi[b&2047](a)|0;return a|0}}}a=c[d+1304>>2]|0;return a|0}function qUa(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=c[a+656>>2]|0;h=c[g+2956>>2]|0;if(!h){f=11;return f|0}a=b[(c[g+1160>>2]|0)+(d<<1)>>1]|0;if(a<<16>>16==-1){f=0;return f|0}do if((a&65535)>390)if((c[g+1312>>2]|0)>>>0>((a&65535)+-391|0)>>>0){a=c[(c[g+1316>>2]|0)+((a&65535)+-391<<2)>>2]|0;break}else{f=0;return f|0}else a=vi[c[h+20>>2]&2047](a&65535)|0;while(0);if(!a){f=0;return f|0}NTa(e,a,f)|0;f=0;return f|0}function rUa(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0;g=c[a+656>>2]|0;f=ySa(c[a+96>>2]|0,591555)|0;if(!f){h=0;return h|0}if(!(c[g+12>>2]|0)){h=0;return h|0}a=0;while(1){e=b[(c[g+1160>>2]|0)+(a<<1)>>1]|0;if((e&65535)>390){if((c[g+1312>>2]|0)>>>0>((e&65535)+-391|0)>>>0){e=c[(c[g+1316>>2]|0)+((e&65535)+-391<<2)>>2]|0;h=8}}else{e=vi[c[f+20>>2]&2047](e&65535)|0;h=8}if((h|0)==8){h=0;if(e|0)if(!(Imb(d,e)|0)){h=11;break}}a=a+1|0;if(a>>>0>=(c[g+12>>2]|0)>>>0){a=0;h=11;break}}if((h|0)==11)return a|0;return 0}function sUa(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[(c[(c[a>>2]|0)+96>>2]|0)+4>>2]|0;c[b>>2]=0;c[b+4>>2]=0;e=c[a+12>>2]|0;if((e|0)==48132|(e|0)==48172){e=0;return e|0}d=ySa(dSa(d,590362)|0,590264)|0;if(!d){e=0;return e|0}d=c[d>>2]|0;if(!d){e=0;return e|0}e=Xi[d&511](a,b)|0;return e|0}function tUa(a,b){a=a|0;b=b|0;c[a+16>>2]=(c[(c[a>>2]|0)+656>>2]|0)+640;return 0}function uUa(a){a=a|0;c[a+16>>2]=0;return}function vUa(a,b){a=a|0;b=b|0;if(b>>>0>=256){a=0;return a|0}a=e[(c[a+16>>2]|0)+(b<<1)>>1]|0;return a|0}function wUa(a,d){a=a|0;d=d|0;var e=0,f=0,g=0;e=c[d>>2]|0;c[d>>2]=0;if(e>>>0>=255){g=0;return g|0}f=e;e=0;while(1){f=f+1|0;if(f>>>0>255){g=6;break}e=b[(c[a+16>>2]|0)+(f<<1)>>1]|0;if(!(e<<16>>16))e=e&65535;else break}if((g|0)==6)return e|0;c[d>>2]=f;g=e&65535;return g|0}function xUa(a,b){a=a|0;b=b|0;var d=0;b=c[a>>2]|0;d=c[b+656>>2]|0;if(!(c[d+1160>>2]|0)){a=163;return a|0}a=ti[c[(c[d+2956>>2]|0)+4>>2]&63](c[b+100>>2]|0,a,c[d+12>>2]|0,355,0,b)|0;return a|0}function yUa(a,d){a=a|0;d=d|0;a=c[a+656>>2]|0;d=b[(c[a+1160>>2]|0)+(d<<1)>>1]|0;if(d<<16>>16==-1){d=0;return d|0}if((d&65535)>390){if((c[a+1312>>2]|0)>>>0<=((d&65535)+-391|0)>>>0){d=0;return d|0}d=c[(c[a+1316>>2]|0)+((d&65535)+-391<<2)>>2]|0;return d|0}else{a=c[a+2956>>2]|0;if(!a){d=0;return d|0}d=vi[c[a+20>>2]&2047](d&65535)|0;return d|0}return 0}function zUa(a){a=a|0;LTa(c[(c[a>>2]|0)+100>>2]|0,c[a+20>>2]|0);c[a+20>>2]=0;c[a+16>>2]=0;return}function AUa(a,b){a=a|0;b=b|0;return Xi[c[(c[(c[(c[a>>2]|0)+656>>2]|0)+2956>>2]|0)+8>>2]&511](a,b)|0}function BUa(a,b){a=a|0;b=b|0;return Xi[c[(c[(c[(c[a>>2]|0)+656>>2]|0)+2956>>2]|0)+12>>2]&511](a,b)|0}function CUa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;g=c[a+656>>2]|0;if(!g){e=0;return e|0}f=c[g+1456>>2]|0;if((f|0)==65535){e=6;return e|0}if(b|0){a=c[g+2964>>2]|0;if(!a){if(f>>>0>390)if((c[g+1312>>2]|0)>>>0>(f+-391|0)>>>0)a=c[(c[g+1316>>2]|0)+(f+-391<<2)>>2]|0;else a=0;else{a=c[g+2956>>2]|0;if(!a)a=0;else a=vi[c[a+20>>2]&2047](f)|0}c[g+2964>>2]=a}c[b>>2]=a}if(d|0){a=c[g+2968>>2]|0;if(!a){a=c[g+1460>>2]|0;do if((a|0)==65535)a=0;else if(a>>>0>390){if((c[g+1312>>2]|0)>>>0<=(a+-391|0)>>>0){a=0;break}a=c[(c[g+1316>>2]|0)+(a+-391<<2)>>2]|0;break}else{f=c[g+2956>>2]|0;if(!f){a=0;break}a=vi[c[f+20>>2]&2047](a)|0;break}while(0);c[g+2968>>2]=a}c[d>>2]=a}if(!e){e=0;return e|0}c[e>>2]=c[g+1464>>2];e=0;return e|0}function DUa(b,d){b=b|0;d=d|0;b=c[b+656>>2]|0;a[d>>0]=0;if(!b)return 0;if((c[b+1456>>2]|0)==65535)return 0;a[d>>0]=1;return 0}function EUa(a,b,d){a=a|0;b=b|0;d=d|0;a=c[a+656>>2]|0;if(!a){b=0;return b|0}if((c[a+1456>>2]|0)==65535){b=6;return b|0}if((c[a+12>>2]|0)>>>0>>0){b=6;return b|0}if(!d){b=0;return b|0}c[d>>2]=e[(c[a+1160>>2]|0)+(b<<1)>>1];b=0;return b|0}function FUa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;if(!(Imb(d,529214)|0)){i=c[e>>2]|0;j=c[e+4>>2]|0;k=c[e+8>>2]|0;l=c[e+12>>2]|0;f=c[e+16>>2]|0;g=c[e+20>>2]|0;h=c[e+24>>2]|0;d=c[e+28>>2]|0;if((k|0)>(f|0)|((i|0)>(k|0)?1:(j|i|k|l|f|g|h|d|0)<0)){b=6;return b|0}if((d|0)>500|((g|0)>500|((l|0)>500|((j|0)>500|(f|0)>(h|0))))){b=6;return b|0}c[b+36>>2]=i;c[b+40>>2]=j;c[b+44>>2]=k;c[b+48>>2]=l;c[b+52>>2]=f;c[b+56>>2]=g;c[b+60>>2]=h;c[b+64>>2]=d;b=0;return b|0}if(!(Imb(d,529235)|0)){if((c[e>>2]|0)!=1){b=7;return b|0}c[b+28>>2]=1;b=0;return b|0}else{if(Imb(d,529250)|0){b=12;return b|0}a[b+32>>0]=a[e>>0]|0;b=0;return b|0}return 0}function GUa(b,d,e){b=b|0;d=d|0;e=e|0;if(!(Imb(d,529214)|0)){c[e>>2]=c[b+36>>2];c[e+4>>2]=c[b+40>>2];c[e+8>>2]=c[b+44>>2];c[e+12>>2]=c[b+48>>2];c[e+16>>2]=c[b+52>>2];c[e+20>>2]=c[b+56>>2];c[e+24>>2]=c[b+60>>2];c[e+28>>2]=c[b+64>>2];e=0;return e|0}if(!(Imb(d,529235)|0)){c[e>>2]=c[b+28>>2];e=0;return e|0}if(Imb(d,529250)|0){e=12;return e|0}a[e>>0]=a[b+32>>0]|0;e=0;return e|0}function HUa(f,g,h,j,k){f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=i;i=i+96|0;n=c[(c[g+96>>2]|0)+4>>2]|0;l=xSa(n,590362)|0;if(!l){c[B>>2]=11;g=11;i=B;return g|0}v=ySa(c[g+96>>2]|0,591555)|0;w=xSa(n,591112)|0;m=cTa(f,0)|0;c[B>>2]=m;if(m|0){g=m;i=B;return g|0}A=Ci[c[l+4>>2]&127](f,g,h,j,k)|0;c[B>>2]=A;do if(!A){if((c[g+148>>2]|0)!=1330926671){c[B>>2]=2;g=2;i=B;return g|0}if((h|0)<0){g=0;i=B;return g|0}A=cj[c[g+508>>2]&127](g,1751474532,f,0)|0;c[B>>2]=A;if(!A){l=Ci[c[l+8>>2]&127](f,g,h,j,k)|0;c[B>>2]=l;if(!l)m=0;else{g=l;i=B;return g|0}}else{l=Xi[c[l+32>>2]&511](g,f)|0;c[B>>2]=l;if(!l)m=1;else{g=l;i=B;return g|0}}l=cj[c[g+508>>2]&127](g,1128678944,f,0)|0;c[B>>2]=l;if(!l)z=1;else{g=l;i=B;return g|0}}else{l=cTa(f,0)|0;c[B>>2]=l;if(!l){c[B>>2]=0;m=1;z=0;break}else{g=l;i=B;return g|0}}while(0);y=c[g+100>>2]|0;A=HTa(y,2980,B)|0;l=c[B>>2]|0;if(l|0){g=l;i=B;return g|0}c[g+656>>2]=A;j=c[f+28>>2]|0;hBb(A|0,0,2980)|0;c[B+8>>2]=0;c[B+8+4>>2]=0;c[B+8+8>>2]=0;c[B+8+12>>2]=0;c[B+8+16>>2]=0;c[B+8+20>>2]=0;c[B+8+24>>2]=0;c[B+8+28>>2]=0;c[A>>2]=f;c[A+4>>2]=j;t=eTa(f)|0;u=xTa(f,168096,A)|0;c[B+40>>2]=u;a:do if(!u){l=c[A+16>>2]|0;if((l&255)<<24>>24==1)if(!((l>>>16&255)<4|(l>>>24&255)>4)){u=dTa(f,(l>>>16&255)+-4|0)|0;c[B+40>>2]=u;if(u|0)break;u=IUa(A+20|0,f,0)|0;c[B+40>>2]=u;if(u|0)break;u=IUa(A+1208|0,f,0)|0;c[B+40>>2]=u;if(u|0)break;u=IUa(B+8|0,f,1)|0;c[B+40>>2]=u;if(u|0)break;u=IUa(A+84|0,f,1)|0;c[B+40>>2]=u;if(u|0)break;u=JUa(B+8|0,A+1316|0,A+1320|0)|0;c[B+40>>2]=u;if(u|0)break;c[A+1312>>2]=c[B+8+8>>2];s=m<<24>>24==0;l=c[A+28>>2]|0;do if(s)if(l>>>0>1){c[B+40>>2]=3;break a}else u=0;else if(l>>>0>h>>>0){c[A+8>>2]=l;u=h;break}else{c[B+40>>2]=6;break a}while(0);if((h|0)<0)break;r=KUa(A+1324|0,A+1208|0,u,f,t,n)|0;c[B+40>>2]=r;if(r|0)break;r=cTa(f,(c[A+1436>>2]|0)+t|0)|0;c[B+40>>2]=r;if(r|0)break;r=IUa(A+1176|0,f,0)|0;c[B+40>>2]=r;if(r|0)break;b:do if((c[A+1456>>2]|0)==65535)c[A+1896>>2]=0;else{r=cTa(f,(c[A+1488>>2]|0)+t|0)|0;c[B+40>>2]=r;do if(!r){r=IUa(B+48|0,f,0)|0;c[B+40>>2]=r;if(r|0)break;l=c[B+48+8>>2]|0;c:do if(l>>>0>256)l=0;else{c[A+1896>>2]=l;k=JTa(j,572,0,l,0,B+40|0)|0;l=c[B+40>>2]|0;if(l|0)break;l=c[B+48+8>>2]|0;if(l|0){j=0;do{c[A+1900+(j<<2)>>2]=k+(j*572|0);j=j+1|0}while((j|0)!=(l|0));j=0;do{l=KUa(c[A+1900+(j<<2)>>2]|0,B+48|0,j,f,t,n)|0;c[B+40>>2]=l;j=j+1|0;if(l|0)break c}while(j>>>0<(c[B+48+8>>2]|0)>>>0)}l=c[A+1184>>2]|0;j=cTa(f,(c[A+1492>>2]|0)+t|0)|0;c[B+80>>2]=j;d:do if(!j){j=rTa(f,B+80|0)|0;k=c[B+80>>2]|0;if(k|0){l=k;break}a[A+2924>>0]=j;c[A+2944>>2]=0;e:do switch(j&255|0){case 0:{c[A+2936>>2]=l;break}case 3:{j=sTa(f,B+80|0)|0;l=c[B+80>>2]|0;if(l|0)break d;if(!(j<<16>>16)){c[B+80>>2]=3;l=3;break d}else{c[A+2936>>2]=((j&65535)*3|0)+2;l=((j&65535)*3|0)+2|0;break e}}default:{c[B+80>>2]=3;l=3;break d}}while(0);l=iTa(f,l,A+2932|0)|0;c[B+80>>2]=l}else l=j;while(0);c[B+40>>2]=l}while(0);j=c[B+48>>2]|0;if(j){l=c[j+28>>2]|0;if(c[B+48+28>>2]|0)kTa(j,B+48+28|0);LTa(l,c[B+48+24>>2]|0);c[B+48>>2]=0;c[B+48+4>>2]=0;c[B+48+8>>2]=0;c[B+48+12>>2]=0;c[B+48+16>>2]=0;c[B+48+20>>2]=0;c[B+48+24>>2]=0;c[B+48+28>>2]=0;l=c[B+40>>2]|0}if(l|0)break;break b}while(0);break a}while(0);if(!(c[A+1436>>2]|0)){c[B+40>>2]=3;break}c[A+12>>2]=c[A+1184>>2];r=JUa(A+84|0,A+1308|0,0)|0;c[B+40>>2]=r;if(r|0)break;q=c[A+12>>2]|0;f:do if(q|0){p=(c[A+1456>>2]|0)==65535;l=c[A+1428>>2]|0;r=c[f+28>>2]|0;c[B+48>>2]=0;g:do if(l>>>0>2){c[A+1156>>2]=l+t;x=cTa(f,l+t|0)|0;c[B+48>>2]=x;if(x|0){l=A+1156|0;x=114;break}c[A+1152>>2]=(rTa(f,B+48|0)|0)&255;if(c[B+48>>2]|0){l=A+1156|0;x=114;break}l=JTa(r,2,0,q,0,B+48|0)|0;c[A+1160>>2]=l;if(c[B+48>>2]|0){l=A+1156|0;x=114;break}b[l>>1]=0;switch(c[A+1152>>2]|0){case 0:{x=jTa(f,(q<<1)+-2|0)|0;c[B+48>>2]=x;if(x|0){l=A+1156|0;x=114;break g}if(q>>>0>1){l=1;do{x=nTa(f)|0;b[(c[A+1160>>2]|0)+(l<<1)>>1]=x;l=l+1|0}while((l|0)!=(q|0))}lTa(f);x=100;break g}case 2:case 1:{if(q>>>0>1)l=1;else{x=100;break g}while(1){k=sTa(f,B+48|0)|0;if(c[B+48>>2]|0){l=A+1156|0;x=114;break g}if((c[A+1152>>2]|0)==2){j=(sTa(f,B+48|0)|0)&65535;if(c[B+48>>2]|0){l=A+1156|0;x=114;break g}}else{j=(rTa(f,B+48|0)|0)&255;if(c[B+48>>2]|0){l=A+1156|0;x=114;break g}}n=(k&65535)>>>0>(j^65535)>>>0?k&65535^65535:j;if(l>>>0>>0){o=c[A+1160>>2]|0;j=0;while(1){b[o+(l<<1)>>1]=k;j=j+1|0;l=l+1|0;if(j>>>0>n>>>0|l>>>0>=q>>>0)break;else k=k+1<<16>>16}}if(l>>>0>=q>>>0){x=100;break}}break}default:{c[B+48>>2]=3;l=A+1156|0;x=114;break g}}}else{c[A+1156>>2]=l;switch(l|0){case 0:{if(q>>>0>229){c[B+48>>2]=3;l=A+1156|0;x=114;break g}l=JTa(r,2,0,q,0,B+48|0)|0;c[A+1160>>2]=l;if(c[B+48>>2]|0){l=A+1156|0;x=114;break g}mBb(l|0,168120,q<<1|0)|0;x=100;break g}case 1:{if(q>>>0>166){c[B+48>>2]=3;l=A+1156|0;x=114;break g}l=JTa(r,2,0,q,0,B+48|0)|0;c[A+1160>>2]=l;if(c[B+48>>2]|0){l=A+1156|0;x=114;break g}mBb(l|0,168578,q<<1|0)|0;x=100;break g}case 2:{if(q>>>0>87){c[B+48>>2]=3;l=A+1156|0;x=114;break g}l=JTa(r,2,0,q,0,B+48|0)|0;c[A+1160>>2]=l;if(c[B+48>>2]|0){l=A+1156|0;x=114;break g}mBb(l|0,168910,q<<1|0)|0;x=100;break g}default:{c[B+48>>2]=3;l=A+1156|0;x=114;break g}}}while(0);do if((x|0)==100){if(s|p)l=c[B+48>>2]|0;else{c[B+80>>2]=0;do if(!(c[A+1168>>2]|0)){j=c[A+1160>>2]|0;k=0;l=0;while(1){n=b[j+(k<<1)>>1]|0;n=(n&65535)>(l&65535)?n:l;k=k+1|0;if((k|0)==(q|0))break;else l=n}k=JTa(r,2,0,(n&65535)+1|0,0,B+80|0)|0;c[A+1164>>2]=k;l=c[B+80>>2]|0;if(l|0)break;if((q|0)>0){l=c[A+1160>>2]|0;j=q;do{s=j;j=j+-1|0;b[k+(e[l+(j<<1)>>1]<<1)>>1]=j}while((s|0)>1)}c[A+1168>>2]=n&65535;c[A+1172>>2]=q;l=0}else l=0;while(0);c[B+48>>2]=l}if(!l){c[B+40>>2]=0;break}else{l=A+1156|0;x=114;break}}while(0);if((x|0)==114){LTa(r,c[A+1160>>2]|0);c[A+1160>>2]=0;LTa(r,c[A+1164>>2]|0);c[A+1164>>2]=0;c[A+1152>>2]=0;c[l>>2]=0;c[A+1160>>2]=0;s=c[B+48>>2]|0;c[B+40>>2]=s;if(s|0)break a}if((c[A+1456>>2]|0)!=65535)break;r=c[A+12>>2]|0;l=c[A+1432>>2]|0;c[B+48>>2]=0;h:do if(!(c[A+1160>>2]|0)){c[B+48>>2]=3;l=3}else{j=0;do{b[A+128+(j<<1)>>1]=0;b[A+640+(j<<1)>>1]=0;j=j+1|0}while((j|0)!=256);i:do if(l>>>0>1){c[A+120>>2]=l+t;l=cTa(f,l+t|0)|0;c[B+48>>2]=l;if(l|0)break h;c[A+116>>2]=(rTa(f,B+48|0)|0)&255;l=c[B+48>>2]|0;if(l|0)break h;q=rTa(f,B+48|0)|0;l=c[B+48>>2]|0;if(l|0)break h;j:do switch(c[A+116>>2]&127|0){case 0:{c[A+124>>2]=(q&255)+1;l=jTa(f,q&255)|0;c[B+48>>2]=l;if(l|0)break h;if(q<<24>>24){j=1;k=c[f+32>>2]|0;while(1){l=d[k>>0]|0;if(j>>>0>>0){b[A+640+(l<<1)>>1]=j;b[A+128+(l<<1)>>1]=b[(c[A+1160>>2]|0)+(j<<1)>>1]|0}j=j+1|0;if(j>>>0>(q&255)>>>0)break;else k=k+1|0}}lTa(f);break}case 1:{c[A+124>>2]=0;if(!(q<<24>>24))break j;else{o=1;p=0}do{j=(rTa(f,B+48|0)|0)&255;l=c[B+48>>2]|0;if(l|0)break h;n=rTa(f,B+48|0)|0;l=c[B+48>>2]|0;if(l|0)break h;if(((n&255)+1|0)>>>0>(c[A+124>>2]|0)>>>0)c[A+124>>2]=(n&255)+1;k=o;o=(n&255)+1+o|0;if(k>>>0>>0){l=j;j=k;while(1){if(j>>>0>>0&l>>>0<256){b[A+640+(l<<1)>>1]=j;b[A+128+(l<<1)>>1]=b[(c[A+1160>>2]|0)+(j<<1)>>1]|0}j=j+1|0;if((j|0)==(k+1+(n&255)|0))break;else l=l+1|0}}p=p+1|0}while(p>>>0<(q&255)>>>0);if((c[A+124>>2]|0)>>>0<=256)break j;c[A+124>>2]=256;break}default:{c[B+48>>2]=3;l=3;break h}}while(0);do if(!(c[A+116>>2]&128))l=c[B+48>>2]|0;else{p=rTa(f,B+48|0)|0;l=c[B+48>>2]|0;if(!(p<<24>>24!=0&(l|0)==0))break;if(!r){n=0;while(1){k=(rTa(f,B+48|0)|0)&255;l=c[B+48>>2]|0;if(l|0)break h;j=sTa(f,B+48|0)|0;l=c[B+48>>2]|0;if(l|0)break h;b[A+128+(k<<1)>>1]=j;n=n+1|0;if(n>>>0>=(p&255)>>>0)break i}}else o=0;while(1){n=(rTa(f,B+48|0)|0)&255;l=c[B+48>>2]|0;if(l|0)break h;k=sTa(f,B+48|0)|0;l=c[B+48>>2]|0;if(l|0)break h;b[A+128+(n<<1)>>1]=k;j=c[A+1160>>2]|0;l=0;do{if((b[j+(l<<1)>>1]|0)==k<<16>>16){x=154;break}l=l+1|0}while(l>>>0>>0);if((x|0)==154){x=0;b[A+640+(n<<1)>>1]=l}o=o+1|0;if(o>>>0>=(p&255)>>>0)break i}}while(0);c[B+40>>2]=l;if(!l)break f;else break a}else{switch(l|0){case 0:{mBb(A+128|0,169084,512)|0;break}case 1:{mBb(A+128|0,169596,512)|0;break}default:{c[B+48>>2]=3;l=3;break h}}c[A+124>>2]=0;o=c[f+28>>2]|0;c[B+80>>2]=0;l=c[A+1168>>2]|0;if(!l){if(!r)l=0;else{j=c[A+1160>>2]|0;k=0;l=0;do{f=b[j+(k<<1)>>1]|0;l=(f&65535)>(l&65535)?f:l;k=k+1|0}while((k|0)!=(r|0))}n=l&65535;k=JTa(o,2,0,n+1|0,0,B+80|0)|0;c[A+1164>>2]=k;l=c[B+80>>2]|0;if(l|0){c[B+48>>2]=l;break h}if((r|0)>0){l=c[A+1160>>2]|0;j=r;do{f=j;j=j+-1|0;b[k+(e[l+(j<<1)>>1]<<1)>>1]=j}while((f|0)>1)}c[A+1168>>2]=n;c[A+1172>>2]=r;o=A+1164|0}else{o=A+1164|0;n=l}c[B+48>>2]=0;l=0;do{k=A+128+(l<<1)|0;j=b[k>>1]|0;do if(!(j<<16>>16))x=178;else{if(n>>>0<(j&65535)>>>0){x=178;break}j=b[(c[o>>2]|0)+((j&65535)<<1)>>1]|0;if(!(j<<16>>16)){x=178;break}b[A+640+(l<<1)>>1]=j;l=l+1|0;c[A+124>>2]=l}while(0);if((x|0)==178){x=0;b[A+640+(l<<1)>>1]=0;b[k>>1]=0;l=l+1|0}}while((l|0)!=256)}while(0);c[B+40>>2]=0;break f}while(0);c[B+40>>2]=l;break a}while(0);l=c[(c[A+20>>2]|0)+28>>2]|0;u=LUa(A+20|0,u,B+80|0,B+48|0)|0;c[B+44>>2]=u;do if(!u){j=c[B+48>>2]|0;l=HTa(l,j+1|0,B+44|0)|0;if(!(c[B+44>>2]|0)){mBb(l|0,c[B+80>>2]|0,j|0)|0;a[l+j>>0]=0}if(c[A+48>>2]|0)break;kTa(c[A+20>>2]|0,B+80|0)}else l=0;while(0);c[A+1304>>2]=l;break}c[B+40>>2]=2}while(0);l=c[B+8>>2]|0;if(l|0){j=c[l+28>>2]|0;if(c[B+8+28>>2]|0)kTa(l,B+8+28|0);LTa(j,c[B+8+24>>2]|0);c[B+8>>2]=0;c[B+8+4>>2]=0;c[B+8+8>>2]=0;c[B+8+12>>2]=0;c[B+8+16>>2]=0;c[B+8+20>>2]=0;c[B+8+24>>2]=0;c[B+8+28>>2]=0}l=c[B+40>>2]|0;c[B>>2]=l;if(l|0){g=l;i=B;return g|0}c[A+2952>>2]=w;c[A+2956>>2]=v;c[g+4>>2]=h;c[g+16>>2]=c[A+12>>2];if(!(v|0?1:(c[A+1456>>2]|0)!=65535)){c[B>>2]=11;g=11;i=B;return g|0}if(!(a[A+1388>>0]|0)){if(!(m<<24>>24))l=e[g+68>>1]|0;else l=1e3;c[A+1392>>2]=l;p=A+1392|0}else p=A+1392|0;l=c[A+1384>>2]|0;l=(l|0)<0?0-l|0:l;if((l|0)==65536){l=A+1400|0;j=A+1396|0;k=c[A+1400>>2]|0}else{c[p>>2]=I2a(c[p>>2]|0,l)|0;c[A+1372>>2]=I2a(c[A+1372>>2]|0,l)|0;c[A+1380>>2]=I2a(c[A+1380>>2]|0,l)|0;c[A+1376>>2]=I2a(c[A+1376>>2]|0,l)|0;c[A+1384>>2]=I2a(c[A+1384>>2]|0,l)|0;c[A+1396>>2]=I2a(c[A+1396>>2]|0,l)|0;k=I2a(c[A+1400>>2]|0,l)|0;c[A+1400>>2]=k;l=A+1400|0;j=A+1396|0}c[j>>2]=c[j>>2]>>16;c[l>>2]=k>>16;l=c[A+1896>>2]|0;if(l|0)do{l=l+-1|0;o=c[A+1900+(l<<2)>>2]|0;do if(!(a[o+64>>0]|0)){c[o+48>>2]=c[A+1372>>2];c[o+48+4>>2]=c[A+1372+4>>2];c[o+48+8>>2]=c[A+1372+8>>2];c[o+48+12>>2]=c[A+1372+12>>2];j=c[A+1396+4>>2]|0;c[o+72>>2]=c[A+1396>>2];c[o+72+4>>2]=j;c[o+68>>2]=c[p>>2];j=o+68|0}else{if(!(a[A+1388>>0]|0)){j=o+68|0;break}j=c[p>>2]|0;if(j>>>0>1){k=c[o+68>>2]|0;if(k>>>0>1)j=j>>>0>>0?j:k;else j=1}else j=1;K2a(A+1372|0,o+48|0,j);L2a(o+72|0,A+1372|0,j);c[o+68>>2]=F2a(c[o+68>>2]|0,c[p>>2]|0,j)|0;j=o+68|0}while(0);k=c[o+60>>2]|0;k=(k|0)<0?0-k|0:k;if((k|0)==65536){k=o+72|0;n=o+76|0;j=c[o+76>>2]|0}else{c[j>>2]=I2a(c[j>>2]|0,k)|0;c[o+48>>2]=I2a(c[o+48>>2]|0,k)|0;c[o+56>>2]=I2a(c[o+56>>2]|0,k)|0;c[o+52>>2]=I2a(c[o+52>>2]|0,k)|0;c[o+60>>2]=I2a(c[o+60>>2]|0,k)|0;c[o+72>>2]=I2a(c[o+72>>2]|0,k)|0;j=I2a(c[o+76>>2]|0,k)|0;c[o+76>>2]=j;k=o+72|0;n=o+76|0}c[k>>2]=c[k>>2]>>16;c[n>>2]=j>>16}while((l|0)!=0);f=m<<24>>24==0;if(!f){c[g>>2]=c[A+8>>2];if((c[A+1456>>2]|0)==65535)l=c[A+1184>>2]|0;else l=(c[A+1168>>2]|0)+1|0;c[g+16>>2]=l;c[g+52>>2]=c[A+1408>>2]>>16;w=c[A+1412>>2]>>16;c[g+56>>2]=w;c[g+60>>2]=(c[A+1416>>2]|0)+65535>>16;v=(c[A+1420>>2]|0)+65535>>16;c[g+64>>2]=v;l=c[p>>2]|0;b[g+68>>1]=l;b[g+70>>1]=v;b[g+72>>1]=w;b[g+74>>1]=(((((l&65535)*12|0)>>>0)/10|0)<<16>>16|0)<(v-w|0)?v-w|0:(((l&65535)*12|0)>>>0)/10|0;b[g+80>>1]=(c[A+1356>>2]|0)>>>16;b[g+82>>1]=(c[A+1360>>2]|0)>>>16;l=c[(c[A+20>>2]|0)+28>>2]|0;h=LUa(A+20|0,h,B+80|0,B+48|0)|0;c[B+44>>2]=h;if(!h){m=c[B+48>>2]|0;l=HTa(l,m+1|0,B+44|0)|0;if(!(c[B+44>>2]|0)){mBb(l|0,c[B+80>>2]|0,m|0)|0;a[l+m>>0]=0}if(!(c[A+48>>2]|0)){kTa(c[A+20>>2]|0,B+80|0);m=l}else m=l}else m=0;c[g+20>>2]=m;k:do if(!m){l=c[A+1496>>2]|0;if((l|0)==65535)x=276;else{if(l>>>0>390){if((c[A+1312>>2]|0)>>>0<=(l+-391|0)>>>0){x=276;break}l=c[(c[A+1316>>2]|0)+(l+-391<<2)>>2]|0}else{m=c[A+2956>>2]|0;if(!m){x=276;break}l=vi[c[m+20>>2]&2047](l)|0}if(!l)x=276;else{c[g+20>>2]=MTa(y,l,B+80|0)|0;x=276}}}else{l=c[A+1336>>2]|0;do if((l|0)==65535)l=0;else if(l>>>0>390){if((c[A+1312>>2]|0)>>>0<=(l+-391|0)>>>0){l=0;break}l=c[(c[A+1316>>2]|0)+(l+-391<<2)>>2]|0;break}else{j=c[A+2956>>2]|0;if(!j){l=0;break}l=vi[c[j+20>>2]&2047](l)|0;m=c[g+20>>2]|0;break}while(0);j=rnb(m)|0;n=m+6|0;o=m+1|0;p=m+2|0;q=m+3|0;r=m+4|0;s=m+5|0;l:do if((j|0)>5){t=1;k=j+1|0;do{if((a[n>>0]|0)!=43)break l;t=((a[s>>0]|0)+-65&255)<26&(((a[r>>0]|0)+-65&255)<26&(((a[q>>0]|0)+-65&255)<26&(((a[p>>0]|0)+-65&255)<26&(((a[m>>0]|0)+-65&255)<26?((a[o>>0]|0)+-65&255)<26:0))))?t:0;if(!(t<<24>>24))break l;if((k|0)>7){j=7;do{a[m+(j+-7)>>0]=a[m+j>>0]|0;j=j+1|0}while((j|0)!=(k|0))}k=k+-7|0}while((k|0)>6)}while(0);k=c[A+1340>>2]|0;if((k|0)<65535)switch(k|0){case 0:break;default:x=243}else switch(k|0){case 65535:{j=0;x=248;break}default:x=243}do if((x|0)==243)if(k>>>0>390){if((c[A+1312>>2]|0)>>>0<=(k+-391|0)>>>0){j=0;x=248;break}j=c[(c[A+1316>>2]|0)+(k+-391<<2)>>2]|0;x=248;break}else{j=c[A+2956>>2]|0;if(!j){j=0;x=248;break}j=vi[c[j+20>>2]&2047](k)|0;x=248;break}while(0);if((x|0)==248)m=(j|0)==0?m:j;if(!((l|0)!=0&(m|0)!=0)){x=276;break}j=a[l>>0]|0;if(!(j<<24>>24)){x=276;break}m:while(1){n=j<<24>>24==0;n:while(1){k=a[m>>0]|0;if(j<<24>>24==k<<24>>24){x=253;break}switch(j<<24>>24){case 45:case 32:break n;default:{}}switch(k<<24>>24){case 0:break m;case 45:case 32:break;default:{x=276;break k}}if(n){x=276;break k}else m=m+1|0}if((x|0)==253){x=0;m=m+1|0}l=l+1|0;j=a[l>>0]|0;if(!(j<<24>>24)){x=276;break k}}k=MTa(y,l,B+80|0)|0;n=c[g+20>>2]|0;l=rnb(n)|0;m=rnb(k)|0;o:do if((l|0)>(m|0)){if((m|0)>=1){j=1;while(1){if((a[n+(l-j)>>0]|0)!=(a[k+(m-j)>>0]|0))break o;if((m|0)>(j|0))j=j+1|0;else break}}if((l-m|0)>1)l=l-m|0;else{x=274;break}p:while(1){m=l;l=l+-1|0;switch(a[n+l>>0]|0){case 43:case 95:case 32:case 45:break;default:break p}if((l|0)<=1){x=274;break o}}a[n+m>>0]=0;x=274}else x=274;while(0);if((x|0)==274)if(!k){x=276;break}c[g+24>>2]=k}while(0);if((x|0)==276)c[g+24>>2]=MTa(y,591905,B+80|0)|0;l=z<<24>>24==0?2065:2073;c[g+8>>2]=((a[A+1348>>0]|0)==0?l:l|4)|c[g+8>>2];l=(c[A+1352>>2]|0)!=0&1;m=c[A+1344>>2]|0;do if((m|0)!=65535){if(m>>>0>390){if((c[A+1312>>2]|0)>>>0<=(m+-391|0)>>>0)break;m=c[(c[A+1316>>2]|0)+(m+-391<<2)>>2]|0}else{j=c[A+2956>>2]|0;if(!j)break;m=vi[c[j+20>>2]&2047](m)|0}if(m){if(Imb(m,591925)|0)if(Imb(m,591477)|0)break;l=l|2}}while(0);do if(!(l&2)){m=c[g+24>>2]|0;if(m){if(pmb(m,591925,4)|0)if(pmb(m,591477,5)|0)break;l=l|2}}while(0);c[g+12>>2]=l}l=(c[A+1456>>2]|0)==65535;if(l)c[g+8>>2]=c[g+8>>2]|512;else if(!(f|l))c[g+8>>2]=c[g+8>>2]|4096;k=c[g+36>>2]|0;q:do if(!k)x=302;else{l=c[g+40>>2]|0;j=0;while(1){m=c[(c[l+(j<<2)>>2]|0)+8>>2]|0;switch((m&65535)<<16>>16){case 0:{x=308;break q}case 3:{if((m&-65536|0)==65536){x=308;break q}break}default:{}}j=j+1|0;if(j>>>0>=k>>>0){x=302;break q}}}while(0);do if((x|0)==302){if(!f)if((c[A+1456>>2]|0)!=65535)break;c[B+80>>2]=g;b[B+80+8>>1]=3;b[B+80+10>>1]=1;c[B+80+4>>2]=1970170211;z=qSa(48172,0,B+80|0,0)|0;c[B>>2]=z;if((z|0)==0|(z&255|0)==163){c[B>>2]=0;if(!(c[g+92>>2]|0))if((k|0)==(c[g+36>>2]|0))x=308;else{c[g+92>>2]=c[(c[g+40>>2]|0)+(k<<2)>>2];x=308}else x=308}}while(0);if((x|0)==308)if(c[A+124>>2]|0){c[B+80>>2]=g;b[B+80+8>>1]=7;l=c[A+120>>2]|0;do if(!l){b[B+80+10>>1]=0;c[B+80+4>>2]=1094995778}else if((l|0)==1){b[B+80+10>>1]=1;c[B+80+4>>2]=1094992453;break}else{b[B+80+10>>1]=2;c[B+80+4>>2]=1094992451;break}while(0);c[B>>2]=qSa(48132,0,B+80|0,0)|0}g=c[B>>2]|0;i=B;return g|0}function IUa(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+16|0;l=c[e+28>>2]|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;c[b+16>>2]=0;c[b+20>>2]=0;c[b+24>>2]=0;c[b+28>>2]=0;c[b>>2]=e;c[b+4>>2]=eTa(e)|0;g=sTa(e,m)|0;do if(!(c[m>>2]|0)){if(!(g<<16>>16)){b=0;i=m;return b|0}h=rTa(e,m)|0;if(!(c[m>>2]|0)){if((h+-1&255)>3){c[m>>2]=8;break}c[b+8>>2]=g&65535;a[b+12>>0]=h;k=_(h&255,(g&65535)+1|0)|0;c[b+16>>2]=k+3+(c[b+4>>2]|0);k=dTa(e,_(h&255,g&65535)|0)|0;c[m>>2]=k;if(!k){h=fTa(c[b>>2]|0,m+4|0,d[b+12>>0]|0)|0;if(h|0){c[m>>2]=h;break}j=a[b+12>>0]|0;if(!(j<<24>>24))c[m>>2]=h;else{k=0;g=0;do{g=d[m+4+k>>0]|0|g<<8;k=k+1|0}while((k|0)!=(j&255|0));c[m>>2]=h;if(h|0)break;if(g|0){c[b+20>>2]=g+-1;if(!(f<<24>>24))g=dTa(e,g+-1|0)|0;else g=iTa(e,g+-1|0,b+28|0)|0;c[m>>2]=g;if(!g)g=0;else break;i=m;return g|0}}c[m>>2]=8}}}while(0);LTa(l,c[b+24>>2]|0);c[b+24>>2]=0;b=c[m>>2]|0;i=m;return b|0}function JUa(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+16|0;c[s>>2]=0;n=c[(c[b>>2]|0)+28>>2]|0;c[e>>2]=0;a:do if(!(c[b+24>>2]|0)){c[s+4>>2]=0;l=c[b>>2]|0;m=c[l+28>>2]|0;g=c[b+8>>2]|0;do if(g|0){h=d[b+12>>0]|0;k=_(h,g+1|0)|0;c[b+24>>2]=JTa(m,4,0,g+1|0,0,s+4|0)|0;if(!(c[s+4>>2]|0)){r=cTa(l,(c[b+4>>2]|0)+3|0)|0;c[s+4>>2]=r;if(!r){r=jTa(l,k)|0;c[s+4>>2]=r;if(!r){g=c[b+24>>2]|0;j=c[l+32>>2]|0;switch(h|0){case 1:{if((k|0)>0){h=j;while(1){c[g>>2]=d[h>>0];h=h+1|0;if(h>>>0>=(j+k|0)>>>0)break;else g=g+4|0}}break}case 2:{if((k|0)>0){h=j;while(1){c[g>>2]=(d[h>>0]|0)<<8|(d[h+1>>0]|0);h=h+2|0;if(h>>>0>=(j+k|0)>>>0)break;else g=g+4|0}}break}case 3:{if((k|0)>0){h=j;while(1){c[g>>2]=(d[h+1>>0]|0)<<8|(d[h>>0]|0)<<16|(d[h+2>>0]|0);h=h+3|0;if(h>>>0>=(j+k|0)>>>0)break;else g=g+4|0}}break}default:if((k|0)>0){h=j;while(1){c[g>>2]=(d[h+1>>0]|0)<<16|(d[h>>0]|0)<<24|(d[h+2>>0]|0)<<8|(d[h+3>>0]|0);h=h+4|0;if(h>>>0>=(j+k|0)>>>0)break;else g=g+4|0}}}lTa(l);if(!(c[s+4>>2]|0))break}}}LTa(m,c[b+24>>2]|0);c[b+24>>2]=0;r=c[s+4>>2]|0;c[s>>2]=r;if(!r){p=b+8|0;break a}e=c[s>>2]|0;i=s;return e|0}while(0);c[s>>2]=0;p=b+8|0}else p=b+8|0;while(0);g=c[p>>2]|0;if(!g){e=c[s>>2]|0;i=s;return e|0}r=JTa(n,4,0,g+1|0,0,s)|0;if(c[s>>2]|0){e=c[s>>2]|0;i=s;return e|0}if(f|0){g=HTa(n,(c[p>>2]|0)+(c[b+20>>2]|0)|0,s)|0;if(c[s>>2]|0){e=c[s>>2]|0;i=s;return e|0}}else g=0;q=c[b+28>>2]|0;c[r>>2]=f|0?g:q;l=c[p>>2]|0;b:do if(l|0){if(f|0){n=0;m=0;o=1}else{h=0;k=1;while(1){j=(c[(c[b+24>>2]|0)+(k<<2)>>2]|0)+-1|0;if(j>>>0>=h>>>0){h=c[b+20>>2]|0;h=j>>>0>h>>>0?h:j}c[r+(k<<2)>>2]=q+h;k=k+1|0;if(k>>>0>l>>>0)break b}}while(1){h=(c[(c[b+24>>2]|0)+(o<<2)>>2]|0)+-1|0;if(h>>>0>>0){c[r+(o<<2)>>2]=g+n+m;j=m;h=n}else{j=c[b+20>>2]|0;h=h>>>0>j>>>0?j:h;j=g+h+m|0;k=r+(o<<2)|0;c[k>>2]=j;if((h|0)==(n|0))j=m;else{l=c[r+(o+-1<<2)>>2]|0;mBb(l|0,q+n|0,j-l|0)|0;a[c[k>>2]>>0]=0;c[k>>2]=(c[k>>2]|0)+1;l=c[p>>2]|0;j=m+1|0}}o=o+1|0;if(o>>>0>l>>>0)break;else{n=h;m=j}}}while(0);c[e>>2]=r;if(!f){e=c[s>>2]|0;i=s;return e|0}c[f>>2]=g;e=c[s>>2]|0;i=s;return e|0}function KUa(b,e,f,g,h,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0;k=i;i=i+432|0;c[k+4>>2]=0;hBb(k+8|0,0,408)|0;c[k+8+404>>2]=k+8+16;c[k+8+408>>2]=4096;c[k+8+412>>2]=b;c[k+8>>2]=j;hBb(b|0,0,172)|0;c[b+32>>2]=-6553600;c[b+36>>2]=3276800;c[b+44>>2]=2;c[b+48>>2]=65536;c[b+60>>2]=65536;c[b+156>>2]=8720;c[b>>2]=65535;c[b+4>>2]=65535;c[b+8>>2]=65535;c[b+12>>2]=65535;c[b+16>>2]=65535;c[b+20>>2]=65535;c[b+128>>2]=65535;c[b+132>>2]=65535;c[b+136>>2]=65535;c[b+172>>2]=65535;f=LUa(e,f,k+4|0,k)|0;if(!f){f=c[k+4>>2]|0;f=MUa(k+8|0,f,f+(c[k>>2]|0)|0)|0}if(!(c[e+28>>2]|0))kTa(c[e>>2]|0,k+4|0);if(f|0){b=f;i=k;return b|0}if((c[b+132>>2]|0)!=65535){b=0;i=k;return b|0}f=c[b+116>>2]|0;do if(f|0)if(c[b+120>>2]|0){hBb(b+176|0,0,360)|0;c[b+376>>2]=7;c[b+380>>2]=1;c[b+508>>2]=-1;c[b+516>>2]=3932;c[b+372>>2]=2596864;hBb(k+8|0,0,408)|0;c[k+8+404>>2]=k+8+16;c[k+8+408>>2]=8192;c[k+8+412>>2]=b+176;c[k+8>>2]=j;f=cTa(g,f+h|0)|0;if(f|0){b=f;i=k;return b|0}f=jTa(g,c[b+120>>2]|0)|0;if(f|0){b=f;i=k;return b|0}f=MUa(k+8|0,c[g+32>>2]|0,c[g+36>>2]|0)|0;lTa(g);if(!f){a[b+176>>0]=(d[b+176>>0]|0)&254;break}else{b=f;i=k;return b|0}}while(0);f=c[b+524>>2]|0;if(!f){b=0;i=k;return b|0}f=cTa(g,f+h+(c[b+116>>2]|0)|0)|0;if(f|0){b=f;i=k;return b|0}f=IUa(b+536|0,g,1)|0;if(f|0){b=f;i=k;return b|0}b=JUa(b+536|0,b+568|0,0)|0;i=k;return b|0}function LUa(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+16|0;if(!b){f=6;i=q;return f|0}l=c[b+8>>2]|0;if(l>>>0<=e>>>0){f=6;i=q;return f|0}p=c[b>>2]|0;m=c[b+24>>2]|0;a:do if(!m){h=_(d[b+12>>0]|0,e)|0;h=cTa(p,(c[b+4>>2]|0)+3+h|0)|0;if(h|0){f=h;i=q;return f|0}h=fTa(c[b>>2]|0,q,d[b+12>>0]|0)|0;if(h|0){f=h;i=q;return f|0}j=a[b+12>>0]|0;if(j<<24>>24){k=0;h=0;while(1){n=d[q+k>>0]|0|h<<8;k=k+1|0;if((k|0)==(j&255|0))break;else h=n}if(n|0){h=e;while(1){h=h+1|0;j=fTa(c[b>>2]|0,q,j&255)|0;if(!j){l=a[b+12>>0]|0;if(!(l<<24>>24))o=16;else{m=0;k=0;do{k=d[q+m>>0]|0|k<<8;m=m+1|0}while((m|0)!=(l&255|0));if(k|0){j=n;o=26;break a}}}else o=16;if((o|0)==16)o=0;if(h>>>0>=(c[b+8>>2]|0)>>>0){k=j;j=n;o=25;break a}j=a[b+12>>0]|0}}}h=c[p+4>>2]|0;e=0;j=0;k=0;o=28}else{j=c[m+(e<<2)>>2]|0;if(!j){h=c[p+4>>2]|0;e=0;j=0;k=0;o=28;break}else h=e;while(1){h=h+1|0;k=c[m+(h<<2)>>2]|0;if(k|0){o=26;break a}if(h>>>0>=l>>>0){k=0;o=25;break}}}while(0);if((o|0)==25){h=c[p+4>>2]|0;e=k;k=0;o=28}else if((o|0)==26){h=c[p+4>>2]|0;if(k>>>0>(h+1|0)>>>0){l=c[b+16>>2]|0;k=0;o=29}else{e=0;o=28}}if((o|0)==28){l=c[b+16>>2]|0;if(l>>>0>(h+1-k|0)>>>0){k=e;o=29}else{m=j;h=k}}if((o|0)==29){e=k;m=j;h=h+1-l|0}if(!((m|0)!=0&h>>>0>m>>>0)){c[f>>2]=0;c[g>>2]=0;f=e;i=q;return f|0}j=h-m|0;c[g>>2]=j;h=c[b+28>>2]|0;if(h|0){c[f>>2]=h+m+-1;f=e;i=q;return f|0}h=cTa(p,m+-1+(c[b+16>>2]|0)|0)|0;if(h|0){f=h;i=q;return f|0}f=iTa(p,j,f)|0;i=q;return f|0}function MUa(e,f,g){e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;c[e+404>>2]=e+16;c[e+4>>2]=f;c[e+8>>2]=g;c[e+12>>2]=f;if(f>>>0>=g>>>0){p=0;return p|0}a:while(1){i=a[f>>0]|0;b:do if((i&255)>26&i<<24>>24!=31){h=c[e+404>>2]|0;if((h-(e+16)|0)>380){f=6;p=95;break a}c[e+404>>2]=h+4;c[h>>2]=f;switch(i<<24>>24){case 30:{do{f=f+1|0;if(f>>>0>=g>>>0){f=0;p=95;break a}o=d[f>>0]|0}while(!((o&240|0)==240|(o&15|0)==15));break}case 28:{f=f+2|0;break b}case 29:{f=f+4|0;break b}default:{f=(i&255)>246?f+1|0:f;break b}}}else{j=c[e+404>>2]|0;c[j>>2]=f;if(i<<24>>24==12){f=f+1|0;if(f>>>0>=g>>>0){f=6;p=95;break a}h=d[f>>0]|0|256;o=f}else{h=i&255;o=f}h=c[e+408>>2]|h;f=4;i=48232;do{if((c[i+4>>2]|0)==(h|0)){n=i;p=16;break}i=i+28|0;f=c[i>>2]|0}while((f|0)!=0);c:do if((p|0)==16){p=0;h=c[e+412>>2]|0;k=h+(c[n+8>>2]|0)|0;if((j-(e+16)>>2|0)==0&(f|0)!=6){f=6;p=95;break a}d:do switch(f|0){case 1:case 4:case 5:{h=c[e+16>>2]|0;f=c[e+20>>2]|0;i=a[h>>0]|0;if(i<<24>>24==30){f=(OUa(h,f,0,0)|0)>>16;break d}switch(i<<24>>24){case 28:{if((h+3|0)>>>0>f>>>0){f=0;break d}f=((d[h+1>>0]|0)<<8|(d[h+2>>0]|0))<<16>>16;break d}case 29:{if((h+5|0)>>>0>f>>>0){f=0;break d}f=(d[h+2>>0]|0)<<16|(d[h+1>>0]|0)<<24|(d[h+3>>0]|0)<<8|(d[h+4>>0]|0);break d}default:{if((i&255)<247){f=(i&255)+-139|0;break d}if((i&255)<251){if((h+2|0)>>>0>f>>>0){f=0;break d}f=(d[h+1>>0]|0|((i&255)<<8)+-63232)+108|0;break d}else{if((h+2|0)>>>0>f>>>0){f=0;break d}f=(251-(i&255)<<8)+-108-(d[h+1>>0]|0)|0;break d}}}}case 2:{h=c[e+16>>2]|0;f=c[e+20>>2]|0;i=a[h>>0]|0;if(i<<24>>24==30){f=OUa(h,f,0,0)|0;break d}e:do switch(i<<24>>24){case 28:{if((h+3|0)>>>0>f>>>0)f=0;else f=((d[h+1>>0]|0)<<8|(d[h+2>>0]|0))<<16>>16;break}case 29:{if((h+5|0)>>>0>f>>>0)f=0;else{f=(d[h+2>>0]|0)<<16|(d[h+1>>0]|0)<<24|(d[h+3>>0]|0)<<8|(d[h+4>>0]|0);p=46}break}default:{if((i&255)<247){f=(i&255)+-139|0;break e}if((i&255)<251){if((h+2|0)>>>0>f>>>0){f=0;break e}f=(d[h+1>>0]|0|((i&255)<<8)+-63232)+108|0;p=46;break e}else{if((h+2|0)>>>0>f>>>0){f=0;break e}f=(251-(i&255)<<8)+-108-(d[h+1>>0]|0)|0;p=46;break e}}}while(0);if((p|0)==46){p=0;if((f|0)>32767){f=2147483647;break d}}f=(f|0)<-32767?-2147483647:f<<16;break}case 3:{h=c[e+16>>2]|0;f=c[e+20>>2]|0;i=a[h>>0]|0;if(i<<24>>24==30){f=OUa(h,f,3,0)|0;break d}f:do switch(i<<24>>24){case 28:{if((h+3|0)>>>0>f>>>0){f=0;h=0}else{h=((d[h+1>>0]|0)<<8|(d[h+2>>0]|0))<<16>>16;p=62}break}case 29:{if((h+5|0)>>>0>f>>>0){f=0;h=0}else{h=(d[h+2>>0]|0)<<16|(d[h+1>>0]|0)<<24|(d[h+3>>0]|0)<<8|(d[h+4>>0]|0);p=62}break}default:{if((i&255)<247){h=(i&255)+-139|0;p=62;break f}if((i&255)<251){if((h+2|0)>>>0>f>>>0){f=0;h=0;break f}h=(d[h+1>>0]|0|((i&255)<<8)+-63232)+108|0;p=62;break f}else{if((h+2|0)>>>0>f>>>0){f=0;h=0;break f}h=(251-(i&255)<<8)+-108-(d[h+1>>0]|0)|0;p=62;break f}}}while(0);if((p|0)==62){p=0;f=h*1e3|0;if((f|0)>32767){f=2147483647;break d}}m=_(h,65536e3)|0;f=(f|0)<-32767?-2147483647:m;break}case 6:{f=c[n+20>>2]|0;f=j-(e+16)>>2>>>0>f>>>0?f:j-(e+16)>>2;a[h+(c[n+24>>2]|0)>>0]=f;if(!f)break c;m=e+16|0;l=0;while(1){j=c[m>>2]|0;m=m+4|0;i=c[m>>2]|0;h=a[j>>0]|0;g:do if(h<<24>>24==30)h=(OUa(j,i,0,0)|0)>>16;else switch(h<<24>>24){case 28:{if((j+3|0)>>>0>i>>>0){h=0;break g}h=((d[j+1>>0]|0)<<8|(d[j+2>>0]|0))<<16>>16;break g}case 29:{if((j+5|0)>>>0>i>>>0){h=0;break g}h=(d[j+2>>0]|0)<<16|(d[j+1>>0]|0)<<24|(d[j+3>>0]|0)<<8|(d[j+4>>0]|0);break g}default:{if((h&255)<247){h=(h&255)+-139|0;break g}if((h&255)<251){if((j+2|0)>>>0>i>>>0){h=0;break g}h=(d[j+1>>0]|0|((h&255)<<8)+-63232)+108|0;break g}else{if((j+2|0)>>>0>i>>>0){h=0;break g}h=(251-(h&255)<<8)+-108-(d[j+1>>0]|0)|0;break g}}}while(0);l=h+l|0;h=a[n+12>>0]|0;switch(h&255|0){case 1:{a[k>>0]=l;h=a[n+12>>0]|0;break}case 2:{b[k>>1]=l;break}case 4:{c[k>>2]=l;break}default:c[k>>2]=l}f=f+-1|0;if(!f)break c;else k=k+(h&255)|0}}default:{f=vi[c[n+16>>2]&2047](e)|0;if(!f)break c;else{p=95;break a}}}while(0);switch(d[n+12>>0]|0|0){case 1:{a[k>>0]=f;break c}case 2:{b[k>>1]=f;break c}case 4:{c[k>>2]=f;break c}default:{c[k>>2]=f;break c}}}while(0);c[e+404>>2]=e+16;f=o}while(0);f=f+1|0;if(f>>>0>=g>>>0){f=0;p=95;break}}if((p|0)==95)return f|0;return 0}function NUa(b){b=b|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+16|0;l=c[b+412>>2]|0;if((c[b+404>>2]|0)>>>0<(b+40|0)>>>0){l=161;i=m;return l|0}a[l+64>>0]=1;f=c[b+16>>2]|0;e=c[b+20>>2]|0;g=a[f>>0]|0;do if(g<<24>>24==30)e=OUa(f,e,0,m)|0;else{a:do switch(g<<24>>24){case 28:{if((f+3|0)>>>0>e>>>0)e=0;else e=((d[f+1>>0]|0)<<8|(d[f+2>>0]|0))<<16>>16;break}case 29:{if((f+5|0)>>>0>e>>>0)e=0;else{e=(d[f+2>>0]|0)<<16|(d[f+1>>0]|0)<<24|(d[f+3>>0]|0)<<8|(d[f+4>>0]|0);h=16}break}default:{if((g&255)<247){e=(g&255)+-139|0;break a}if((g&255)<251){if((f+2|0)>>>0>e>>>0){e=0;break a}e=(d[f+1>>0]|0|((g&255)<<8)+-63232)+108|0;h=16;break a}else{if((f+2|0)>>>0>e>>>0){e=0;break a}e=(251-(g&255)<<8)+-108-(d[f+1>>0]|0)|0;h=16;break a}}}while(0);if((h|0)==16)if((e|0)>32767){if((e|0)<1e5)h=5;else if((e|0)<1e6)h=6;else if((e|0)<1e7)h=7;else if((e|0)<1e8)h=8;else h=(e|0)<1e9?9:10;f=h+-5|0;g=c[49688+(f<<2)>>2]|0;if(((e|0)/(g|0)|0|0)>32767){k=h+-4|0;c[m>>2]=k;e=I2a(e,c[49688+(k<<2)>>2]|0)|0;break}else{c[m>>2]=f;e=I2a(e,g)|0;break}}c[m>>2]=0;e=e<<16}while(0);c[l+48>>2]=e;g=c[m>>2]|0;c[m>>2]=0-g;if((g+9|0)>>>0>9){c[l+48>>2]=65536;c[l+56>>2]=0;c[l+52>>2]=0;c[l+60>>2]=65536;c[l+72>>2]=0;c[l+76>>2]=0;e=1}else{e=c[b+20>>2]|0;h=c[b+24>>2]|0;f=a[e>>0]|0;if(f<<24>>24==30){e=OUa(e,h,0-g|0,0)|0;h=c[b+24>>2]|0}else{b:do switch(f<<24>>24){case 28:{if((e+3|0)>>>0>h>>>0)e=0;else e=((d[e+1>>0]|0)<<8|(d[e+2>>0]|0))<<16>>16;break}case 29:{if((e+5|0)>>>0>h>>>0)e=0;else e=(d[e+2>>0]|0)<<16|(d[e+1>>0]|0)<<24|(d[e+3>>0]|0)<<8|(d[e+4>>0]|0);break}default:{if((f&255)<247){e=(f&255)+-139|0;break b}if((f&255)<251){if((e+2|0)>>>0>h>>>0){e=0;break b}e=(d[e+1>>0]|0|((f&255)<<8)+-63232)+108|0;break b}else{if((e+2|0)>>>0>h>>>0){e=0;break b}e=(251-(f&255)<<8)+-108-(d[e+1>>0]|0)|0;break b}}}while(0);if(g)e=_(c[49688+(0-g<<2)>>2]|0,e)|0;if((e|0)>32767)e=2147483647;else e=(e|0)<-32767?-2147483647:e<<16}c[l+56>>2]=e;j=c[m>>2]|0;k=c[b+28>>2]|0;f=a[h>>0]|0;if(f<<24>>24==30){e=OUa(h,k,j,0)|0;h=c[b+28>>2]|0}else{g=h+1|0;c:do switch(f<<24>>24){case 28:{if((h+3|0)>>>0>k>>>0)e=0;else e=((d[g>>0]|0)<<8|(d[h+2>>0]|0))<<16>>16;break}case 29:{if((h+5|0)>>>0>k>>>0)e=0;else e=(d[h+2>>0]|0)<<16|(d[g>>0]|0)<<24|(d[h+3>>0]|0)<<8|(d[h+4>>0]|0);break}default:{if((f&255)<247){e=(f&255)+-139|0;break c}e=(h+2|0)>>>0>k>>>0;if((f&255)<251){if(e){e=0;break c}e=(d[g>>0]|0|((f&255)<<8)+-63232)+108|0;break c}else{if(e){e=0;break c}e=(251-(f&255)<<8)+-108-(d[g>>0]|0)|0;break c}}}while(0);if(j)e=_(c[49688+(j<<2)>>2]|0,e)|0;if((e|0)>32767){h=k;e=2147483647}else{h=k;e=(e|0)<-32767?-2147483647:e<<16}}c[l+52>>2]=e;k=c[m>>2]|0;j=c[b+32>>2]|0;f=a[h>>0]|0;if(f<<24>>24==30){e=OUa(h,j,k,0)|0;j=c[b+32>>2]|0}else{g=h+1|0;d:do switch(f<<24>>24){case 28:{if((h+3|0)>>>0>j>>>0)e=0;else e=((d[g>>0]|0)<<8|(d[h+2>>0]|0))<<16>>16;break}case 29:{if((h+5|0)>>>0>j>>>0)e=0;else e=(d[h+2>>0]|0)<<16|(d[g>>0]|0)<<24|(d[h+3>>0]|0)<<8|(d[h+4>>0]|0);break}default:{if((f&255)<247){e=(f&255)+-139|0;break d}e=(h+2|0)>>>0>j>>>0;if((f&255)<251){if(e){e=0;break d}e=(d[g>>0]|0|((f&255)<<8)+-63232)+108|0;break d}else{if(e){e=0;break d}e=(251-(f&255)<<8)+-108-(d[g>>0]|0)|0;break d}}}while(0);if(k)e=_(c[49688+(k<<2)>>2]|0,e)|0;if((e|0)>32767)e=2147483647;else e=(e|0)<-32767?-2147483647:e<<16}c[l+60>>2]=e;k=c[m>>2]|0;h=c[b+36>>2]|0;f=a[j>>0]|0;if(f<<24>>24==30){e=OUa(j,h,k,0)|0;h=c[b+36>>2]|0}else{g=j+1|0;e:do switch(f<<24>>24){case 28:{if((j+3|0)>>>0>h>>>0)e=0;else e=((d[g>>0]|0)<<8|(d[j+2>>0]|0))<<16>>16;break}case 29:{if((j+5|0)>>>0>h>>>0)e=0;else e=(d[j+2>>0]|0)<<16|(d[g>>0]|0)<<24|(d[j+3>>0]|0)<<8|(d[j+4>>0]|0);break}default:{if((f&255)<247){e=(f&255)+-139|0;break e}e=(j+2|0)>>>0>h>>>0;if((f&255)<251){if(e){e=0;break e}e=(d[g>>0]|0|((f&255)<<8)+-63232)+108|0;break e}else{if(e){e=0;break e}e=(251-(f&255)<<8)+-108-(d[g>>0]|0)|0;break e}}}while(0);if(k)e=_(c[49688+(k<<2)>>2]|0,e)|0;if((e|0)>32767)e=2147483647;else e=(e|0)<-32767?-2147483647:e<<16}c[l+72>>2]=e;j=c[m>>2]|0;e=c[b+40>>2]|0;f=a[h>>0]|0;if(f<<24>>24==30)e=OUa(h,e,j,0)|0;else{g=h+1|0;f:do switch(f<<24>>24){case 28:{if((h+3|0)>>>0>e>>>0)e=0;else e=((d[g>>0]|0)<<8|(d[h+2>>0]|0))<<16>>16;break}case 29:{if((h+5|0)>>>0>e>>>0)e=0;else e=(d[h+2>>0]|0)<<16|(d[g>>0]|0)<<24|(d[h+3>>0]|0)<<8|(d[h+4>>0]|0);break}default:{if((f&255)<247){e=(f&255)+-139|0;break f}e=(h+2|0)>>>0>e>>>0;if((f&255)<251){if(e){e=0;break f}e=(d[g>>0]|0|((f&255)<<8)+-63232)+108|0;break f}else{if(e){e=0;break f}e=(251-(f&255)<<8)+-108-(d[g>>0]|0)|0;break f}}}while(0);if(j)e=_(c[49688+(j<<2)>>2]|0,e)|0;if((e|0)>32767)e=2147483647;else e=(e|0)<-32767?-2147483647:e<<16}c[l+76>>2]=e;e=c[49688+(c[m>>2]<<2)>>2]|0}c[l+68>>2]=e;l=0;i=m;return l|0}function OUa(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;if(f|0){c[f>>2]=0;m=0;g=0;h=b;i=4;b=0}else{m=0;g=0;h=b;i=4;b=0}a:while(1){b:while(1)while(1){if(i){h=h+1|0;if(h>>>0>=d>>>0){g=0;break a}}k=a[h>>0]|0;j=(k&255)>>>i&15;i=4-i|0;if((j|0)==14){b=1;continue b}if(j>>>0>9){l=0;o=m;p=b;q=18;break a}if(j|g)break b}m=m+1|0;g=j+(g*10|0)|0;if((g|0)>214748363){q=17;break}}c:do if((q|0)==17){j=0;d:while(1){l=j;while(1){if(i){h=h+1|0;if(h>>>0>=d>>>0){g=0;break c}}k=a[h>>0]|0;j=(k&255)>>>i&15;i=4-i|0;if((j|0)==14){j=l;b=1;continue d}if(j>>>0>9){o=m;p=b;q=18;break c}l=l+1|0}}}while(0);e:do if((q|0)==18){f:do if((j|0)==10){if((g|0)<214748364){b=k;k=0;do{while(1){if(i){h=h+1|0;if(h>>>0>=d>>>0){g=0;b=p;break e}b=a[h>>0]|0}j=(b&255)>>>i&15;i=4-i|0;if(j>>>0>9)break f;if(j|g|0)break;l=l+-1|0}k=k+1|0;g=j+(g*10|0)|0}while((g|0)<214748364&(k|0)<9)}else{b=k;k=0}while(1){do{if(i){h=h+1|0;if(h>>>0>=d>>>0){g=0;b=p;break e}b=a[h>>0]|0}j=(b&255)>>>i&15;i=4-i|0;if(j>>>0>9)break f}while((j|g|0)!=0);l=l+-1|0}}else{b=k;k=0}while(0);n=(j|0)==12;if((j+-11|0)>>>0<2){m=0;while(1){if(i){h=h+1|0;if(h>>>0>=d>>>0){g=0;b=p;break e}b=a[h>>0]|0}j=(b&255)>>>i&15;if(j>>>0>9){h=m;b=0;break}i=4-i|0;m=j+(m*10|0)|0;if((m|0)>1e3){q=46;break}}if((q|0)==46){j=b;b=0;while(1){if(i){h=h+1|0;if(h>>>0>=d>>>0){g=0;b=p;break e}j=a[h>>0]|0}if(((j&255)>>>i&14)>>>0>9){h=m;break}else{b=1;i=4-i|0}}}h=n?0-h|0:h}else{h=0;b=0}if(!g){g=0;b=p}else{do if(!b){b=l+e+h|0;if(!f){h=b+o|0;if((h|0)>5){g=2147483647;b=p;break e}if((h|0)<-5)break;if((h|0)<0){b=k+o|0;g=(g|0)/(c[49688+(0-h<<2)>>2]|0)|0}else b=k-b|0;if((b|0)==10){b=9;g=(g|0)/10|0}else if((b|0)<=0){g=_(c[49688+(0-b<<2)>>2]|0,g)|0;g=(g|0)>32767?2147483647:g<<16;b=p;break e}b=c[49688+(b<<2)>>2]|0;if(((g|0)/(b|0)|0|0)>32767){g=0;b=p;break e}g=I2a(g,b)|0;b=p;break e}j=k+o|0;i=b+o|0;if((j|0)>=6){b=c[49688+(j+-5<<2)>>2]|0;if(((g|0)/(b|0)|0|0)>32767){g=I2a(g,c[49688+(j+-4<<2)>>2]|0)|0;c[f>>2]=i+-4;b=p;break e}else{g=I2a(g,b)|0;c[f>>2]=i+-5;b=p;break e}}if((g|0)>32767){g=I2a(g,10)|0;c[f>>2]=1-j+i;b=p;break e}do if((i|0)>0){h=(i|0)<5?i:5;if((h-j|0)<=0){h=i-j|0;b=g;break}b=_(c[49688+(h-j<<2)>>2]|0,g)|0;if((b|0)>32767){h=i-h+1|0;b=(b|0)/10|0}else h=i-h|0}else{h=i-j|0;b=g}while(0);c[f>>2]=h;g=b<<16;b=p;break e}else if(!n){g=2147483647;b=p;break e}while(0);g=0;b=p}}while(0);return ((b|0)==0?g:0-g|0)|0}function PUa(b){b=b|0;var e=0,f=0,g=0,h=0,i=0;i=c[b+412>>2]|0;if((c[b+404>>2]|0)>>>0<(b+32|0)>>>0){i=161;return i|0}f=c[b+16>>2]|0;e=c[b+20>>2]|0;g=a[f>>0]|0;do if(g<<24>>24==30)e=OUa(f,e,0,0)|0;else{a:do switch(g<<24>>24){case 28:{if((f+3|0)>>>0>e>>>0)e=0;else e=((d[f+1>>0]|0)<<8|(d[f+2>>0]|0))<<16>>16;break}case 29:{if((f+5|0)>>>0>e>>>0)e=0;else{e=(d[f+2>>0]|0)<<16|(d[f+1>>0]|0)<<24|(d[f+3>>0]|0)<<8|(d[f+4>>0]|0);h=16}break}default:{if((g&255)<247){e=(g&255)+-139|0;break a}if((g&255)<251){if((f+2|0)>>>0>e>>>0){e=0;break a}e=(d[f+1>>0]|0|((g&255)<<8)+-63232)+108|0;h=16;break a}else{if((f+2|0)>>>0>e>>>0){e=0;break a}e=(251-(g&255)<<8)+-108-(d[f+1>>0]|0)|0;h=16;break a}}}while(0);if((h|0)==16)if((e|0)>32767){e=2147483647;break}e=(e|0)<-32767?-2147483647:e<<16}while(0);c[i+84>>2]=D2a(e)|0;f=c[b+20>>2]|0;e=c[b+24>>2]|0;g=a[f>>0]|0;do if(g<<24>>24==30)e=OUa(f,e,0,0)|0;else{b:do switch(g<<24>>24){case 28:{if((f+3|0)>>>0>e>>>0)e=0;else e=((d[f+1>>0]|0)<<8|(d[f+2>>0]|0))<<16>>16;break}case 29:{if((f+5|0)>>>0>e>>>0)e=0;else{e=(d[f+2>>0]|0)<<16|(d[f+1>>0]|0)<<24|(d[f+3>>0]|0)<<8|(d[f+4>>0]|0);h=32}break}default:{if((g&255)<247){e=(g&255)+-139|0;break b}if((g&255)<251){if((f+2|0)>>>0>e>>>0){e=0;break b}e=(d[f+1>>0]|0|((g&255)<<8)+-63232)+108|0;h=32;break b}else{if((f+2|0)>>>0>e>>>0){e=0;break b}e=(251-(g&255)<<8)+-108-(d[f+1>>0]|0)|0;h=32;break b}}}while(0);if((h|0)==32)if((e|0)>32767){e=2147483647;break}e=(e|0)<-32767?-2147483647:e<<16}while(0);c[i+88>>2]=D2a(e)|0;f=c[b+24>>2]|0;e=c[b+28>>2]|0;g=a[f>>0]|0;do if(g<<24>>24==30)e=OUa(f,e,0,0)|0;else{c:do switch(g<<24>>24){case 28:{if((f+3|0)>>>0>e>>>0)e=0;else e=((d[f+1>>0]|0)<<8|(d[f+2>>0]|0))<<16>>16;break}case 29:{if((f+5|0)>>>0>e>>>0)e=0;else{e=(d[f+2>>0]|0)<<16|(d[f+1>>0]|0)<<24|(d[f+3>>0]|0)<<8|(d[f+4>>0]|0);h=48}break}default:{if((g&255)<247){e=(g&255)+-139|0;break c}if((g&255)<251){if((f+2|0)>>>0>e>>>0){e=0;break c}e=(d[f+1>>0]|0|((g&255)<<8)+-63232)+108|0;h=48;break c}else{if((f+2|0)>>>0>e>>>0){e=0;break c}e=(251-(g&255)<<8)+-108-(d[f+1>>0]|0)|0;h=48;break c}}}while(0);if((h|0)==48)if((e|0)>32767){e=2147483647;break}e=(e|0)<-32767?-2147483647:e<<16}while(0);c[i+92>>2]=D2a(e)|0;g=c[b+28>>2]|0;e=c[b+32>>2]|0;f=a[g>>0]|0;do if(f<<24>>24==30)e=OUa(g,e,0,0)|0;else{d:do switch(f<<24>>24){case 28:{if((g+3|0)>>>0>e>>>0)e=0;else e=((d[g+1>>0]|0)<<8|(d[g+2>>0]|0))<<16>>16;break}case 29:{if((g+5|0)>>>0>e>>>0)e=0;else{e=(d[g+2>>0]|0)<<16|(d[g+1>>0]|0)<<24|(d[g+3>>0]|0)<<8|(d[g+4>>0]|0);h=64}break}default:{if((f&255)<247){e=(f&255)+-139|0;break d}if((f&255)<251){if((g+2|0)>>>0>e>>>0){e=0;break d}e=(d[g+1>>0]|0|((f&255)<<8)+-63232)+108|0;h=64;break d}else{if((g+2|0)>>>0>e>>>0){e=0;break d}e=(251-(f&255)<<8)+-108-(d[g+1>>0]|0)|0;h=64;break d}}}while(0);if((h|0)==64)if((e|0)>32767){e=2147483647;break}e=(e|0)<-32767?-2147483647:e<<16}while(0);c[i+96>>2]=D2a(e)|0;i=0;return i|0}function QUa(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0;i=c[b+412>>2]|0;if((c[b+404>>2]|0)>>>0<(b+24|0)>>>0){j=161;return j|0}f=c[b+16>>2]|0;e=c[b+20>>2]|0;g=a[f>>0]|0;a:do if(g<<24>>24==30){e=(OUa(f,e,0,0)|0)>>16;j=16}else switch(g<<24>>24){case 28:{if((f+3|0)>>>0>e>>>0){h=e;e=0;break a}e=((d[f+1>>0]|0)<<8|(d[f+2>>0]|0))<<16>>16;j=16;break a}case 29:{if((f+5|0)>>>0>e>>>0){h=e;e=0;break a}e=(d[f+2>>0]|0)<<16|(d[f+1>>0]|0)<<24|(d[f+3>>0]|0)<<8|(d[f+4>>0]|0);j=16;break a}default:{if((g&255)<247){e=(g&255)+-139|0;j=16;break a}if((g&255)<251){if((f+2|0)>>>0>e>>>0){h=e;e=0;break a}e=(d[f+1>>0]|0|((g&255)<<8)+-63232)+108|0;j=16;break a}else{if((f+2|0)>>>0>e>>>0){h=e;e=0;break a}e=(251-(g&255)<<8)+-108-(d[f+1>>0]|0)|0;j=16;break a}}}while(0);do if((j|0)==16)if((e|0)<0){j=3;return j|0}else{h=c[b+20>>2]|0;break}while(0);c[i+120>>2]=e;e=c[b+24>>2]|0;f=a[h>>0]|0;b:do if(f<<24>>24==30){e=(OUa(h,e,0,0)|0)>>16;j=32}else{g=h+1|0;switch(f<<24>>24){case 28:{if((h+3|0)>>>0>e>>>0){e=0;break b}e=((d[g>>0]|0)<<8|(d[h+2>>0]|0))<<16>>16;j=32;break b}case 29:{if((h+5|0)>>>0>e>>>0){e=0;break b}e=(d[h+2>>0]|0)<<16|(d[g>>0]|0)<<24|(d[h+3>>0]|0)<<8|(d[h+4>>0]|0);j=32;break b}default:{if((f&255)<247){e=(f&255)+-139|0;j=32;break b}e=(h+2|0)>>>0>e>>>0;if((f&255)<251){if(e){e=0;break b}e=(d[g>>0]|0|((f&255)<<8)+-63232)+108|0;j=32;break b}else{if(e){e=0;break b}e=(251-(f&255)<<8)+-108-(d[g>>0]|0)|0;j=32;break b}}}}while(0);if((j|0)==32)if((e|0)<0){j=3;return j|0}c[i+116>>2]=e;j=0;return j|0}function RUa(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=c[b+412>>2]|0;if((c[b+404>>2]|0)>>>0<(b+28|0)>>>0){k=161;return k|0}f=c[b+16>>2]|0;e=c[b+20>>2]|0;g=a[f>>0]|0;a:do if(g<<24>>24==30){e=(OUa(f,e,0,0)|0)>>16;j=c[b+20>>2]|0}else switch(g<<24>>24){case 28:{if((f+3|0)>>>0>e>>>0){j=e;e=0;break a}j=e;e=((d[f+1>>0]|0)<<8|(d[f+2>>0]|0))<<16>>16;break a}case 29:{if((f+5|0)>>>0>e>>>0){j=e;e=0;break a}j=e;e=(d[f+2>>0]|0)<<16|(d[f+1>>0]|0)<<24|(d[f+3>>0]|0)<<8|(d[f+4>>0]|0);break a}default:{if((g&255)<247){j=e;e=(g&255)+-139|0;break a}if((g&255)<251){if((f+2|0)>>>0>e>>>0){j=e;e=0;break a}j=e;e=(d[f+1>>0]|0|((g&255)<<8)+-63232)+108|0;break a}else{if((f+2|0)>>>0>e>>>0){j=e;e=0;break a}j=e;e=(251-(g&255)<<8)+-108-(d[f+1>>0]|0)|0;break a}}}while(0);c[k+132>>2]=e;f=c[b+24>>2]|0;g=a[j>>0]|0;b:do if(g<<24>>24==30){e=(OUa(j,f,0,0)|0)>>16;i=c[b+24>>2]|0}else{h=j+1|0;switch(g<<24>>24){case 28:{if((j+3|0)>>>0>f>>>0){i=f;e=0;break b}i=f;e=((d[h>>0]|0)<<8|(d[j+2>>0]|0))<<16>>16;break b}case 29:{if((j+5|0)>>>0>f>>>0){i=f;e=0;break b}i=f;e=(d[j+2>>0]|0)<<16|(d[h>>0]|0)<<24|(d[j+3>>0]|0)<<8|(d[j+4>>0]|0);break b}default:{if((g&255)<247){i=f;e=(g&255)+-139|0;break b}e=(j+2|0)>>>0>f>>>0;if((g&255)<251){if(e){i=f;e=0;break b}i=f;e=(d[h>>0]|0|((g&255)<<8)+-63232)+108|0;break b}else{if(e){i=f;e=0;break b}i=f;e=(251-(g&255)<<8)+-108-(d[h>>0]|0)|0;break b}}}}while(0);c[k+136>>2]=e;e=c[b+28>>2]|0;f=a[i>>0]|0;c:do if(f<<24>>24==30)e=(OUa(i,e,0,0)|0)>>16;else{g=i+1|0;switch(f<<24>>24){case 28:{if((i+3|0)>>>0>e>>>0){e=0;break c}e=((d[g>>0]|0)<<8|(d[i+2>>0]|0))<<16>>16;break c}case 29:{if((i+5|0)>>>0>e>>>0){e=0;break c}e=(d[i+2>>0]|0)<<16|(d[g>>0]|0)<<24|(d[i+3>>0]|0)<<8|(d[i+4>>0]|0);break c}default:{if((f&255)<247){e=(f&255)+-139|0;break c}e=(i+2|0)>>>0>e>>>0;if((f&255)<251){if(e){e=0;break c}e=(d[g>>0]|0|((f&255)<<8)+-63232)+108|0;break c}else{if(e){e=0;break c}e=(251-(f&255)<<8)+-108-(d[g>>0]|0)|0;break c}}}}while(0);c[k+140>>2]=e;k=0;return k|0}function SUa(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!b)return;j=c[b+100>>2]|0;d=c[b+532>>2]|0;if(d|0)Hi[c[d+12>>2]&1023](b);i=c[b+656>>2]|0;if(!i)return;h=c[i+4>>2]|0;d=c[i+84>>2]|0;if(d|0){e=c[d+28>>2]|0;if(c[i+112>>2]|0)kTa(d,i+112|0);LTa(e,c[i+108>>2]|0);c[i+84>>2]=0;c[i+84+4>>2]=0;c[i+84+8>>2]=0;c[i+84+12>>2]=0;c[i+84+16>>2]=0;c[i+84+20>>2]=0;c[i+84+24>>2]=0;c[i+84+28>>2]=0}d=c[i+1208>>2]|0;if(d|0){e=c[d+28>>2]|0;if(c[i+1236>>2]|0)kTa(d,i+1236|0);LTa(e,c[i+1232>>2]|0);c[i+1208>>2]=0;c[i+1208+4>>2]=0;c[i+1208+8>>2]=0;c[i+1208+12>>2]=0;c[i+1208+16>>2]=0;c[i+1208+20>>2]=0;c[i+1208+24>>2]=0;c[i+1208+28>>2]=0}d=c[i+20>>2]|0;if(d|0){e=c[d+28>>2]|0;if(c[i+48>>2]|0)kTa(d,i+48|0);LTa(e,c[i+44>>2]|0);c[i+20>>2]=0;c[i+20+4>>2]=0;c[i+20+8>>2]=0;c[i+20+12>>2]=0;c[i+20+16>>2]=0;c[i+20+20>>2]=0;c[i+20+24>>2]=0;c[i+20+28>>2]=0}d=c[i+1176>>2]|0;if(d|0){e=c[d+28>>2]|0;if(c[i+1204>>2]|0)kTa(d,i+1204|0);LTa(e,c[i+1200>>2]|0);c[i+1176>>2]=0;c[i+1176+4>>2]=0;c[i+1176+8>>2]=0;c[i+1176+12>>2]=0;c[i+1176+16>>2]=0;c[i+1176+20>>2]=0;c[i+1176+24>>2]=0;c[i+1176+28>>2]=0}d=c[i+1896>>2]|0;if(d|0){g=0;do{f=c[i+1900+(g<<2)>>2]|0;if(f){d=c[f+536>>2]|0;if(d|0){e=c[d+28>>2]|0;if(c[f+564>>2]|0)kTa(d,f+564|0);LTa(e,c[f+560>>2]|0);c[f+536>>2]=0;c[f+536+4>>2]=0;c[f+536+8>>2]=0;c[f+536+12>>2]=0;c[f+536+16>>2]=0;c[f+536+20>>2]=0;c[f+536+24>>2]=0;c[f+536+28>>2]=0}LTa(h,c[f+568>>2]|0);c[f+568>>2]=0;d=c[i+1896>>2]|0}g=g+1|0}while(g>>>0>>0);LTa(h,c[i+1900>>2]|0);c[i+1900>>2]=0}c[i+116>>2]=0;c[i+120>>2]=0;c[i+124>>2]=0;d=c[(c[i>>2]|0)+28>>2]|0;LTa(d,c[i+1164>>2]|0);c[i+1164>>2]=0;c[i+1168>>2]=0;LTa(d,c[i+1160>>2]|0);c[i+1160>>2]=0;c[i+1152>>2]=0;c[i+1156>>2]=0;d=c[i+1860>>2]|0;if(d|0){e=c[d+28>>2]|0;if(c[i+1888>>2]|0)kTa(d,i+1888|0);LTa(e,c[i+1884>>2]|0);c[i+1860>>2]=0;c[i+1860+4>>2]=0;c[i+1860+8>>2]=0;c[i+1860+12>>2]=0;c[i+1860+16>>2]=0;c[i+1860+20>>2]=0;c[i+1860+24>>2]=0;c[i+1860+28>>2]=0}LTa(h,c[i+1892>>2]|0);c[i+1892>>2]=0;if(c[i+2932>>2]|0)kTa(c[i>>2]|0,i+2932|0);c[i+2936>>2]=0;a[i+2924>>0]=0;c[i+2928>>2]=0;LTa(h,c[i+2960>>2]|0);c[i+2960>>2]=0;LTa(h,c[i+1304>>2]|0);c[i+1304>>2]=0;LTa(h,c[i+1308>>2]|0);c[i+1308>>2]=0;LTa(h,c[i+1316>>2]|0);c[i+1316>>2]=0;LTa(h,c[i+1320>>2]|0);c[i+1320>>2]=0;d=c[i+2976>>2]|0;if(d|0){Hi[d&1023](c[i+2972>>2]|0);LTa(h,c[i+2972>>2]|0);c[i+2972>>2]=0}LTa(j,c[b+656>>2]|0);c[b+656>>2]=0;return}function TUa(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0;j=i;i=i+208|0;c[j+196>>2]=0;d=c[a>>2]|0;b=c[(c[d+656>>2]|0)+2952>>2]|0;d=dSa(c[(c[d+96>>2]|0)+4>>2]|0,591112)|0;do if((b|0)!=0&(d|0)!=0){b=c[b>>2]|0;if(b|0){e=vi[b&2047](d)|0;if(e|0){g=c[a>>2]|0;f=c[g+656>>2]|0;g=HTa(c[g+100>>2]|0,1028,j+196|0)|0;b=c[j+196>>2]|0;if(!b){UUa(f+1324|0,j);b=Gi[c[e>>2]&255](c[(c[a>>2]|0)+100>>2]|0,j,g)|0;c[j+196>>2]=b;if(!b){d=c[f+1896>>2]|0;do{if(!d){h=9;break}d=d+-1|0;UUa(c[f+1900+(d<<2)>>2]|0,j);b=Gi[c[e>>2]&255](c[(c[a>>2]|0)+100>>2]|0,j,g+4+(d<<2)|0)|0;c[j+196>>2]=b}while(!(b|0));if((h|0)==9){c[a+40>>2]=g;break}h=b;i=j;return h|0}}h=b;i=j;return h|0}}}while(0);c[a+44>>2]=-1;h=0;i=j;return h|0}function UUa(d,e){d=d|0;e=e|0;var f=0,g=0;hBb(e|0,0,196)|0;g=c[d+176>>2]|0;a[e+8>>0]=g;if((g&255)<<24>>24){f=0;do{b[e+12+(f<<1)>>1]=c[d+180+(f<<2)>>2];f=f+1|0}while((f|0)!=(g&255|0))}a[e+9>>0]=(g&65535)>>>8;if(((g&65535)>>>8&255)<<24>>24){f=0;do{b[e+40+(f<<1)>>1]=c[d+236+(f<<2)>>2];f=f+1|0}while((f|0)!=((g&65535)>>>8&65535|0))}a[e+10>>0]=g>>>16;if((g>>>16&255)<<24>>24){f=0;do{b[e+60+(f<<1)>>1]=c[d+276+(f<<2)>>2];f=f+1|0}while((f|0)!=(g>>>16&255|0))}a[e+11>>0]=g>>>24;if((g>>>24&255)<<24>>24){f=0;do{b[e+88+(f<<1)>>1]=c[d+332+(f<<2)>>2];f=f+1|0}while((f|0)!=(g>>>24|0))}c[e+108>>2]=c[d+372>>2];c[e+112>>2]=c[d+376>>2];c[e+116>>2]=c[d+380>>2];b[e+120>>1]=c[d+384>>2];b[e+122>>1]=c[d+388>>2];g=b[d+392>>1]|0;a[e+124>>0]=g;if((g&255)<<24>>24){f=0;do{b[e+128+(f<<1)>>1]=c[d+396+(f<<2)>>2];f=f+1|0}while((f|0)!=(g&255|0))}a[e+125>>0]=(g&65535)>>>8;if(!(((g&65535)>>>8&255)<<24>>24)){g=d+500|0;g=a[g>>0]|0;f=e+126|0;a[f>>0]=g;f=d+512|0;f=c[f>>2]|0;g=e+184|0;c[g>>2]=f;g=d+508|0;g=c[g>>2]|0;d=e+4|0;c[d>>2]=g;return}f=0;do{b[e+154+(f<<1)>>1]=c[d+448+(f<<2)>>2];f=f+1|0}while((f|0)!=((g&65535)>>>8&65535|0));g=d+500|0;g=a[g>>0]|0;f=e+126|0;a[f>>0]=g;f=d+512|0;f=c[f>>2]|0;g=e+184|0;c[g>>2]=f;g=d+508|0;g=c[g>>2]|0;d=e+4|0;c[d>>2]=g;return}function VUa(a){a=a|0;var b=0,d=0,e=0;b=c[a>>2]|0;d=c[b+656>>2]|0;e=c[a+40>>2]|0;if(!e)return;a=c[(c[b+656>>2]|0)+2952>>2]|0;b=dSa(c[(c[b+96>>2]|0)+4>>2]|0,591112)|0;if(!((a|0)!=0&(b|0)!=0))return;a=c[a>>2]|0;if(!a)return;b=vi[a&2047](b)|0;if(!b)return;Hi[c[b+8>>2]&1023](c[e>>2]|0);a=c[d+1896>>2]|0;if(!a)return;do{a=a+-1|0;Hi[c[b+8>>2]&1023](c[e+4+(a<<2)>>2]|0)}while((a|0)!=0);return}function WUa(a){a=a|0;var b=0,d=0;b=c[a+4>>2]|0;d=c[(c[b+656>>2]|0)+2952>>2]|0;if(!d)return 0;b=dSa(c[(c[b+96>>2]|0)+4>>2]|0,591112)|0;if(!b)return 0;d=vi[c[d+8>>2]&2047](b)|0;c[(c[a+156>>2]|0)+36>>2]=d;return 0}function XUa(a){a=a|0;c[(c[a+156>>2]|0)+36>>2]=0;return}function YUa(f,g,h,j){f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;z=i;i=i+800|0;if(!f){f=37;i=z;return f|0}l=(g|0)==0?j|3:j;w=(l&1|0)==0?g:0;do if(!w)v=c[f+4>>2]|0;else{k=c[f+4>>2]|0;if((c[g>>2]|0)==(k|0)){v=k;break}else{f=35;i=z;return f|0}}while(0);s=v+656|0;t=c[s>>2]|0;if((c[t+1456>>2]|0)==65535)y=11;else{k=c[t+1164>>2]|0;if(!k)y=11;else if(!h){u=0;y=12}else if((c[t+1168>>2]|0)>>>0>>0)k=6;else{k=b[k+(h<<1)>>1]|0;if(!(k<<16>>16))k=6;else{u=k&65535;y=12}}}if((y|0)==11)if((c[t+12>>2]|0)>>>0>h>>>0){u=h;y=12}else k=6;a:do if((y|0)==12){x=(l&1024|0)==0?l:j|3;c[f+164>>2]=65536;c[f+168>>2]=65536;do if(w|0){c[f+164>>2]=c[w+16>>2];c[f+168>>2]=c[w+20>>2];g=c[w>>2]|0;k=c[g+532>>2]|0;g=c[g+104>>2]|0;h=c[w+44>>2]|0;if((h|0)!=-1)if((x&8|0)==0&(c[k+96>>2]|0)!=0){if(mi[c[k+72>>2]&15](v,h,u,x,g,f+76|0,z+776|0)|0)break;b[f+110>>1]=0;b[f+108>>1]=0;c[f+24>>2]=e[z+776+2>>1]<<6;c[f+28>>2]=e[z+776>>1]<<6;s=b[z+776+4>>1]|0;c[f+32>>2]=s<<6;w=b[z+776+6>>1]|0;c[f+36>>2]=w<<6;c[f+40>>2]=e[z+776+8>>1]<<6;t=b[z+776+10>>1]|0;c[f+44>>2]=t<<6;k=b[z+776+12>>1]|0;c[f+48>>2]=k<<6;c[f+52>>2]=e[z+776+14>>1]<<6;c[f+72>>2]=1651078259;c[f+100>>2]=(x&16|0)==0?s:t;c[f+104>>2]=(x&16|0)==0?w:k;k=v+532|0;qi[c[(c[k>>2]|0)+112>>2]&15](v,0,u,z,z+8|0);c[f+56>>2]=e[z+8>>1];if(!(a[v+292>>0]|0))y=20;else if(!(b[v+330>>1]|0))y=20;else{qi[c[(c[k>>2]|0)+112>>2]&15](v,1,u,z,z+8|0);c[f+60>>2]=e[z+8>>1]}do if((y|0)==20)if((b[v+364>>1]|0)==-1){y=c[v+220>>2]|0;c[f+60>>2]=(y<<16>>16)-(y>>16);break}else{c[f+60>>2]=(b[v+434>>1]|0)-(b[v+436>>1]|0);break}while(0);k=0;break a}}while(0);if(!(x&16384)){m=c[t+1896>>2]|0;if(!m){c[z+16>>2]=c[t+1372>>2];c[z+16+4>>2]=c[t+1372+4>>2];c[z+16+8>>2]=c[t+1372+8>>2];c[z+16+12>>2]=c[t+1372+12>>2];g=c[t+1396>>2]|0;r=c[t+1400>>2]|0;p=0}else{b:do switch(d[t+2924>>0]|0){case 0:{k=a[(c[t+2932>>2]|0)+u>>0]|0;break}case 3:{if((u-(c[t+2940>>2]|0)|0)>>>0<(c[t+2944>>2]|0)>>>0){k=a[t+2948>>0]|0;break b}h=c[t+2932>>2]|0;g=h+(c[t+2936>>2]|0)|0;k=d[h>>0]<<8|d[h+1>>0];h=h+2|0;while(1){if(k>>>0>u>>>0){k=0;break b}j=h;h=h+3|0;l=k;k=d[j+1>>0]<<8|d[j+2>>0];if(k>>>0>u>>>0)break;if(h>>>0>=g>>>0){k=0;break b}}r=a[j>>0]|0;c[t+2940>>2]=l;c[t+2944>>2]=k-l;a[t+2948>>0]=r;k=r;break}default:k=0}while(0);l=c[t+1392>>2]|0;h=t+1900+((((k&255)>>>0>>0?k:m+255&255)&255)<<2)|0;g=c[h>>2]|0;k=c[g+68>>2]|0;c[z+16>>2]=c[g+48>>2];c[z+16+4>>2]=c[g+48+4>>2];c[z+16+8>>2]=c[g+48+8>>2];c[z+16+12>>2]=c[g+48+12>>2];h=c[h>>2]|0;g=c[h+72>>2]|0;h=c[h+76>>2]|0;if((l|0)==(k|0)){r=h;p=0}else{c[f+164>>2]=F2a(c[f+164>>2]|0,l,k)|0;c[f+168>>2]=F2a(c[f+168>>2]|0,l,k)|0;r=h;p=1}}b[f+110>>1]=0;b[f+108>>1]=0;a[f+160>>0]=x>>>1&1^1;a[f+161>>0]=x&1^1;c[f+72>>2]=1869968492;k=c[s>>2]|0;hBb(z+32|0,0,740)|0;a[z+32+65>>0]=1;c[z+32+4>>2]=v;c[z+32+8>>2]=f;c[z+32>>2]=c[v+100>>2];q=c[c[f+156>>2]>>2]|0;c[z+32+12>>2]=q;c[z+32+16>>2]=q+20;c[z+32+20>>2]=q+56;P2a(q);c[z+32+72>>2]=0;c[z+32+68>>2]=0;if(w|0?((x>>>1&1^1)&255)<<24>>24!=0:0){c[z+32+72>>2]=c[c[w+40>>2]>>2];c[z+32+68>>2]=c[(c[f+156>>2]|0)+36>>2]}h=z+32+24|0;c[h>>2]=0;c[h+4>>2]=0;c[h+8>>2]=0;c[h+12>>2]=0;c[h+16>>2]=0;c[h+20>>2]=0;c[z+32+76>>2]=k;h=c[k+92>>2]|0;c[z+32+700>>2]=h;c[z+32+716>>2]=c[k+1308>>2];if((c[k+1368>>2]|0)==1)k=0;else if(h>>>0<1240)k=107;else k=h>>>0<33900?1131:32768;c[z+32+708>>2]=k;c[z+32+728>>2]=x>>>16&15;if(x&256|0)a[z+32+561>>0]=1;a[z+32+66>>0]=0;q=v+128|0;k=c[(c[q>>2]|0)+48>>2]|0;if(!k)k=LUa((c[s>>2]|0)+1176|0,u,z+8|0,z)|0;else{k=Gi[c[c[k>>2]>>2]&255](c[k+4>>2]|0,u,z+776|0)|0;c[z+8>>2]=c[z+776>>2];c[z>>2]=c[z+776+4>>2]}do if(!k){n=c[(c[z+32+4>>2]|0)+656>>2]|0;o=c[n+1896>>2]|0;if(!o)k=n+1324|0;else{c:do switch(d[n+2924>>0]|0){case 0:{k=a[(c[n+2932>>2]|0)+u>>0]|0;break}case 3:{if((u-(c[n+2940>>2]|0)|0)>>>0<(c[n+2944>>2]|0)>>>0){k=a[n+2948>>0]|0;break c}l=c[n+2932>>2]|0;h=l+(c[n+2936>>2]|0)|0;k=d[l>>0]<<8|d[l+1>>0];l=l+2|0;while(1){if(k>>>0>u>>>0){k=0;break c}m=l;l=l+3|0;j=k;k=d[m+1>>0]<<8|d[m+2>>0];if(k>>>0>u>>>0)break;if(l>>>0>=h>>>0){k=0;break c}}m=a[m>>0]|0;c[n+2940>>2]=j;c[n+2944>>2]=k-j;a[n+2948>>0]=m;k=m;break}default:k=0}while(0);h=k&255;if(h>>>0>=o>>>0){k=3;break}k=c[n+1900+(h<<2)>>2]|0;if(w|0?(c[z+32+68>>2]|0)!=0:0)c[z+32+72>>2]=c[(c[w+40>>2]|0)+4+(h<<2)>>2]}h=c[k+544>>2]|0;c[z+32+696>>2]=h;c[z+32+712>>2]=c[k+568>>2];if((c[(c[z+32+76>>2]|0)+1368>>2]|0)==1)h=0;else if(h>>>0<1240)h=107;else h=h>>>0<33900?1131:32768;c[z+32+704>>2]=h;c[z+32+552>>2]=c[k+528>>2];c[z+32+556>>2]=c[k+532>>2];c[z+32+736>>2]=k;l=c[z>>2]|0;k=ZUa(z+32|0,c[z+8>>2]|0,l)|0;if((k&255|0)==164){a[f+160>>0]=0;k=ZUa(z+32|0,c[z+8>>2]|0,l)|0;j=1;p=0}else{j=p;p=(x>>>1&1^1)&255}h=c[(c[q>>2]|0)+48>>2]|0;if(!h){h=c[s>>2]|0;if(!(c[h+1204>>2]|0))kTa(c[h+1176>>2]|0,z+8|0)}else{c[z+776>>2]=c[z+8>>2];c[z+776+4>>2]=l;si[c[(c[h>>2]|0)+4>>2]&511](c[h+4>>2]|0,z+776|0)}if(!k){do if(!(c[(c[q>>2]|0)+48>>2]|0)){k=c[t+1200>>2]|0;if(!k)break;c[f+136>>2]=(c[t+1204>>2]|0)+(c[k+(u<<2)>>2]|0)+-1;c[f+140>>2]=l}else{c[f+136>>2]=0;c[f+140>>2]=0}while(0);k=c[z+32+8>>2]|0;if(k|0){t=c[z+32+16>>2]|0;c[k+108>>2]=c[t>>2];c[k+108+4>>2]=c[t+4>>2];c[k+108+8>>2]=c[t+8>>2];c[k+108+12>>2]=c[t+12>>2];c[k+108+16>>2]=c[t+16>>2]}k=c[(c[q>>2]|0)+48>>2]|0;do if(k|0){h=c[(c[k>>2]|0)+8>>2]|0;if(!h)break;c[z+776>>2]=c[z+32+32>>2];c[z+776+4>>2]=0;c[z+776+8>>2]=c[z+32+40>>2];c[z+776+12>>2]=c[z+32+44>>2];k=cj[h&127](c[k+4>>2]|0,u,0,z+776|0)|0;c[z+32+32>>2]=c[z+776>>2];c[z+32+40>>2]=c[z+776+8>>2];c[z+32+44>>2]=c[z+776+12>>2];if(k|0)break a}while(0);if(x&1024|0){k=c[f+156>>2]|0;c[f+32>>2]=c[z+32+32>>2];c[f+40>>2]=c[z+32+552>>2];c[k+12>>2]=c[z+16>>2];c[k+12+4>>2]=c[z+16+4>>2];c[k+12+8>>2]=c[z+16+8>>2];c[k+12+12>>2]=c[z+16+12>>2];c[k+28>>2]=g;c[k+32>>2]=r;a[k+8>>0]=1;k=0;break a}o=v+250|0;if(!(b[o>>1]|0))k=c[z+32+552>>2]|0;else{b[z>>1]=0;b[z+792>>1]=0;qi[c[(c[v+532>>2]|0)+112>>2]&15](v,0,u,z,z+792|0);k=e[z+792>>1]|0;c[f+32>>2]=b[z>>1]}c[f+40>>2]=k;c[f+56>>2]=k;a[(c[f+156>>2]|0)+8>>0]=0;do if(!(a[v+292>>0]|0))y=90;else{if(!(b[v+330>>1]|0)){y=90;break}b[z>>1]=0;b[z+792>>1]=0;qi[c[(c[v+532>>2]|0)+112>>2]&15](v,1,u,z,z+792|0);c[f+48>>2]=b[z>>1];k=e[z+792>>1]|0;c[f+52>>2]=k;m=f+52|0;n=1}while(0);do if((y|0)==90)if((b[v+364>>1]|0)==-1){k=c[v+220>>2]|0;c[f+52>>2]=(k<<16>>16)-(k>>16);m=f+52|0;k=(k<<16>>16)-(k>>16)|0;n=0;break}else{k=(b[v+434>>1]|0)-(b[v+436>>1]|0)|0;c[f+52>>2]=k;m=f+52|0;n=0;break}while(0);c[f+60>>2]=k;c[f+72>>2]=1869968492;c[f+124>>2]=0;do if(w|0){if((e[w+14>>1]|0)>=24){k=4;break}c[f+124>>2]=256;k=260}else k=4;while(0);c[f+124>>2]=k;do if((c[z+16>>2]|0)==65536){if((c[z+16+12>>2]|0)!=65536){y=100;break}if(c[z+16+4>>2]|0){y=100;break}if(c[z+16+8>>2]|0)y=100}else y=100;while(0);if((y|0)==100)KSa(f+108|0,z+16|0);if(r|g|0)ISa(f+108|0,g,r);c[z+8>>2]=c[f+40>>2];c[z+8+4>>2]=0;JSa(z+8|0,z+16|0);c[f+40>>2]=(c[z+8>>2]|0)+g;c[z+8>>2]=0;c[z+8+4>>2]=c[m>>2];JSa(z+8|0,z+16|0);c[m>>2]=(c[z+8+4>>2]|0)+r;if(!((x&1|0)!=0&j<<24>>24==0)){h=c[f+112>>2]|0;l=c[f+164>>2]|0;j=c[f+168>>2]|0;if(!(p<<24>>24))y=106;else if(!(c[z+32+68>>2]|0))y=106;do if((y|0)==106){k=b[f+110>>1]|0;if(k<<16>>16<=0)break;g=k<<16>>16;k=h;while(1){c[k>>2]=H2a(c[k>>2]|0,l)|0;y=k+4|0;c[y>>2]=H2a(c[y>>2]|0,j)|0;if((g|0)>1){g=g+-1|0;k=k+8|0}else break}}while(0);c[f+40>>2]=H2a(c[f+40>>2]|0,l)|0;c[m>>2]=H2a(c[m>>2]|0,j)|0}HSa(f+108|0,z+776|0);k=c[z+776>>2]|0;c[f+24>>2]=(c[z+776+8>>2]|0)-k;g=c[z+776+12>>2]|0;c[f+28>>2]=g-(c[z+776+4>>2]|0);if(!(b[o>>1]|0))c[f+32>>2]=k;c[f+36>>2]=g;do if(n)c[f+44>>2]=(c[f+32>>2]|0)-((c[f+40>>2]|0)/2|0);else{if(!(x&16))break;hSa(f+24|0,c[m>>2]|0)}while(0);k=0;break a}}while(0)}else k=6}while(0);f=k;i=z;return f|0}function ZUa(f,g,h){f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=i;i=i+64|0;c[A+40>>2]=0;l=c[f>>2]|0;k=c[f+76>>2]|0;j=c[k+2972>>2]|0;do if(!j){c[k+2976>>2]=693;j=HTa(l,504,A+40|0)|0;c[(c[f+76>>2]|0)+2972>>2]=j;if(!(c[A+40>>2]|0)){c[j>>2]=l;c[j+100>>2]=0;c[j+100+4>>2]=0;c[j+100+8>>2]=0;c[j+100+12>>2]=0;c[j+100+16>>2]=0;c[j+100+20>>2]=0;c[j+100+24>>2]=0;c[j+100+28>>2]=0;c[j+120>>2]=l;c[j+124>>2]=j+4;c[j+100>>2]=221;c[j+104>>2]=222;c[j+112>>2]=223;break}else{z=64;i=A;return z|0}}while(0);r=j+132|0;c[r>>2]=f;z=j+128|0;c[z>>2]=f;l=c[(c[f+4>>2]|0)+96>>2]|0;c[A>>2]=0;c[A+4>>2]=0;c[A+12>>2]=g;c[A+4>>2]=g;c[A+8>>2]=g+h;c[A+16>>2]=0;c[A+16+4>>2]=0;c[A+16+8>>2]=0;c[A+16+12>>2]=0;c[A+16+16>>2]=0;c[A+16+20>>2]=0;k=c[f+8>>2]|0;h=b[k+160>>1]|0;if(!((h&255)<<24>>24)){c[A+16>>2]=1024;k=1024}else{c[A+16>>2]=((c[k+164>>2]|0)+32|0)/64|0;k=((c[k+168>>2]|0)+32|0)/64|0}c[A+16+12>>2]=k;m=j+8|0;c[m>>2]=(h&255)<<24>>24==0^1;if((h&65535)>=256)if(!(a[l+32>>0]|0))c[m>>2]=(h&255)<<24>>24==0^1|2;q=j+144|0;c[q>>2]=c[l+36>>2];c[j+148>>2]=c[l+40>>2];c[j+152>>2]=c[l+44>>2];c[j+156>>2]=c[l+48>>2];c[j+160>>2]=c[l+52>>2];c[j+164>>2]=c[l+56>>2];c[j+168>>2]=c[l+60>>2];c[j+172>>2]=c[l+64>>2];g=b[(c[f+4>>2]|0)+68>>1]|0;f=j+88|0;c[f>>2]=g&65535;if((h&65535)<256)s=14;else{k=c[A+16>>2]|0;l=c[A+16+12>>2]|0;if((k|0)<1|(l|0)<1)j=36;else if(g<<16>>16<0)j=164;else{y=I2a(131072e3,(g&65535)<<16)|0;if((k|0)>(y|0)|(l|0)>(y|0))j=164;else s=14}}a:do if((s|0)==14){c[A+44>>2]=0;c[A+48>>2]=c[A+16+16>>2];c[A+48+4>>2]=c[A+16+20>>2];o=c[r>>2]|0;n=c[j+92>>2]|0;p=c[j+96>>2]|0;y=j+4|0;c[y>>2]=0;k=c[o+736>>2]|0;l=j+136|0;if((c[l>>2]|0)==(k|0))l=0;else{c[l>>2]=k;l=1}h=e[(c[(c[o+4>>2]|0)+88>>2]|0)+14>>1]<<16;k=j+84|0;if((c[k>>2]|0)!=(h|0)){c[k>>2]=h;l=1}g=c[m>>2]|0;a[j+140>>0]=g&1;k=j+12|0;if(qmb(A+16|0,k,16)|0){c[k>>2]=c[A+16>>2];c[k+4>>2]=c[A+16+4>>2];c[k+8>>2]=c[A+16+8>>2];c[k+12>>2]=c[A+16+12>>2];c[j+32>>2]=0;c[j+28>>2]=0;l=j+36|0;c[l>>2]=c[A+16>>2];c[l+4>>2]=c[A+16+4>>2];c[l+8>>2]=c[A+16+8>>2];c[l+12>>2]=c[A+16+12>>2];c[l+16>>2]=c[A+16+16>>2];c[l+20>>2]=c[A+16+20>>2];c[j+72>>2]=65536;c[j+60>>2]=65536;c[j+68>>2]=0;c[j+64>>2]=0;l=1}x=j+142|0;if((d[x>>0]|0)==(g&2|0)){if(l<<24>>24)s=23}else{a[x>>0]=g&2;s=23}b:do if((s|0)==23){f=c[f>>2]|0;f=(f|0)==0?1e3:f;h=(h|0)<262144?262144:h;k=c[(c[o+736>>2]|0)+388>>2]<<16;g=j+176|0;c[g>>2]=k;if((k|0)<1){k=I2a(4915200,65536e3/(f|0)|0)|0;c[g>>2]=k}if((n|0)>0){if((n|0)>(I2a(f<<16,h)|0))l=n;else l=I2a(f<<16,h)|0;k=j+184|0;c[k>>2]=0;if(!((65536e3/(f|0)|0|0)<655|(l|0)==0))c[k>>2]=(l|0)/2|0}else dVa(65536e3/(f|0)|0,h,k,j+184|0,0,a[x>>0]|0,q);k=c[(c[o+736>>2]|0)+384>>2]|0;if((k&65535)<<16>>16>0)if((c[g>>2]|0)>(k<<17|0)){k=I2a(4915200,65536e3/(f|0)|0)|0;c[j+180>>2]=k}else s=34;else s=34;if((s|0)==34){k=I2a(7208960,65536e3/(f|0)|0)|0;c[j+180>>2]=k}t=j+188|0;dVa(65536e3/(f|0)|0,h,k,t,p,a[x>>0]|0,q);if(!(c[j+184>>2]|0))if(!(c[t>>2]|0))a[j+141>>0]=0;else s=37;else s=37;if((s|0)==37)a[j+141>>0]=1;a[j+192>>0]=0;w=j+196|0;s=c[r>>2]|0;hBb(w|0,0,308)|0;c[w>>2]=c[j+48>>2];u=j+208|0;c[u>>2]=I2a(c[(c[s+736>>2]|0)+372>>2]|0,65536e3)|0;s=c[s+736>>2]|0;c[j+212>>2]=c[s+376>>2]<<16;c[j+216>>2]=c[s+380>>2]<<16;r=c[s+176>>2]|0;c:do if((c[s+512>>2]|0)==1){switch(r&255|0){case 0:break;case 4:{if((c[s+180>>2]&65535)<<16>>16>=-120)break c;if((c[s+184>>2]&65535)<<16>>16>=-120)break c;if((c[s+188>>2]&65535)<<16>>16<=880)break c;if((c[s+192>>2]&65535)<<16>>16<=880)break c;break}default:break c}c[j+252>>2]=-7864321;c[j+256>>2]=((H2a(-7864321,c[w>>2]|0)|0)+32768&-65536)+-32768;x=c[w>>2]|0;c[j+260>>2]=x;c[j+244>>2]=49;v=(c[t>>2]<<1)+57671681|0;c[j+232>>2]=v;c[j+236>>2]=(H2a(v,x)|0)+32768&-65536|32768;c[j+240>>2]=c[w>>2];c[j+224>>2]=50;a[j+205>>0]=1;break b}while(0);v=j+200|0;if(!((r&255)<<24>>24))k=0;else{l=c[v>>2]|0;m=0;k=0;do{c[j+264+(l*20|0)>>2]=c[s+180+(m<<2)>>2]<<16;c[j+264+((c[v>>2]|0)*20|0)+4>>2]=c[s+180+((m|1)<<2)>>2]<<16;l=c[v>>2]|0;g=j+264+(l*20|0)+4|0;h=c[g>>2]|0;f=h-(c[j+264+(l*20|0)>>2]|0)|0;if((f|0)>=0){if(!m){a[j+264+(l*20|0)+16>>0]=1;q=c[v>>2]|0;c[j+264+(q*20|0)+8>>2]=c[j+264+(q*20|0)+4>>2]}else{p=c[t>>2]<<1;c[g>>2]=p+h;q=j+264+((c[v>>2]|0)*20|0)|0;c[q>>2]=(c[q>>2]|0)+p;a[j+264+((c[v>>2]|0)*20|0)+16>>0]=0;q=c[v>>2]|0;c[j+264+(q*20|0)+8>>2]=c[j+264+(q*20|0)>>2]}l=(c[v>>2]|0)+1|0;c[v>>2]=l;k=(f|0)>(k|0)?f:k}m=m+2|0}while(m>>>0<(r&255)>>>0)}if(!((r&65535)>>>8<<16>>16))q=k;else{l=c[v>>2]|0;h=0;do{c[j+264+(l*20|0)>>2]=c[s+236+(h<<2)>>2]<<16;c[j+264+((c[v>>2]|0)*20|0)+4>>2]=c[s+236+((h|1)<<2)>>2]<<16;l=c[v>>2]|0;g=(c[j+264+(l*20|0)+4>>2]|0)-(c[j+264+(l*20|0)>>2]|0)|0;if((g|0)>=0){a[j+264+(l*20|0)+16>>0]=1;l=c[v>>2]|0;c[j+264+(l*20|0)+8>>2]=c[j+264+(l*20|0)+4>>2];l=(c[v>>2]|0)+1|0;c[v>>2]=l;k=(g|0)>(k|0)?g:k}h=h+2|0}while(h>>>0<((r&65535)>>>8&65535)>>>0);q=k}p=I2a(65536,c[w>>2]|0)|0;k=c[v>>2]|0;d:do if(k|0){if((r>>>16&255)<=1){if(r>>>24|0)n=0;else break;while(1){f=j+264+(n*20|0)+8|0;m=c[f>>2]|0;if(a[j+264+(n*20|0)+16>>0]|0){h=0;g=2147483647;while(1){l=c[s+332+((h|1)<<2)>>2]<<16;k=(m-l|0)<0?0-(m-l)|0:m-l|0;if((k|0)<(g|0)&(k|0)<(p|0)){c[f>>2]=l;if(!k)break}else k=g;h=h+2|0;if(h>>>0>=r>>>24>>>0)break;else g=k}k=c[v>>2]|0}n=n+1|0;if(n>>>0>=k>>>0)break d}}if(!(r>>>24)){if((r>>>16&255)>2)o=0;else{h=0;while(1){l=j+264+(h*20|0)+8|0;do if(a[j+264+(h*20|0)+16>>0]|0){g=c[s+280>>2]<<16;t=(c[l>>2]|0)-g|0;t=(t|0)<0?0-t|0:t;if(!((t|0)!=2147483647&(t|0)<(p|0)))break;c[l>>2]=g;k=c[v>>2]|0}while(0);h=h+1|0;if(h>>>0>=k>>>0)break d}}while(1){m=j+264+(o*20|0)+8|0;n=c[m>>2]|0;e:do if(!(a[j+264+(o*20|0)+16>>0]|0)){h=c[t>>2]<<1;f=2;g=2147483647;while(1){l=(c[s+276+(f<<2)>>2]<<16)+h|0;k=(n-l|0)<0?0-(n-l)|0:n-l|0;if((k|0)<(g|0)&(k|0)<(p|0)){c[m>>2]=l;if(!k)break e}else k=g;f=f+2|0;if(f>>>0>=(r>>>16&255)>>>0)break;else g=k}}else{k=c[s+280>>2]<<16;n=(n-k|0)<0?0-(n-k)|0:n-k|0;if(!((n|0)!=2147483647&(n|0)<(p|0)))break;c[m>>2]=k}while(0);o=o+1|0;if(o>>>0>=(c[v>>2]|0)>>>0)break d}}if((r>>>16&255)>2)o=0;else{n=0;while(1){f=j+264+(n*20|0)+8|0;m=c[f>>2]|0;do if(a[j+264+(n*20|0)+16>>0]|0){h=0;g=2147483647;while(1){l=c[s+332+((h|1)<<2)>>2]<<16;k=(m-l|0)<0?0-(m-l)|0:m-l|0;if((k|0)<(g|0)&(k|0)<(p|0)){c[f>>2]=l;if(!k){l=0;break}}else k=g;h=h+2|0;if(h>>>0>=r>>>24>>>0){l=k;break}else g=k}k=c[s+280>>2]<<16;t=(m-k|0)<0?0-(m-k)|0:m-k|0;if(!((t|0)<(l|0)&(t|0)<(p|0)))break;c[f>>2]=k}while(0);n=n+1|0;if(n>>>0>=(c[v>>2]|0)>>>0)break d}}do{m=j+264+(o*20|0)+8|0;n=c[m>>2]|0;f:do if(!(a[j+264+(o*20|0)+16>>0]|0)){h=c[t>>2]<<1;f=2;g=2147483647;while(1){l=(c[s+276+(f<<2)>>2]<<16)+h|0;k=(n-l|0)<0?0-(n-l)|0:n-l|0;if((k|0)<(g|0)&(k|0)<(p|0)){c[m>>2]=l;if(!k)break f}else k=g;f=f+2|0;if(f>>>0>=(r>>>16&255)>>>0)break;else g=k}}else{h=0;g=2147483647;while(1){l=c[s+332+((h|1)<<2)>>2]<<16;k=(n-l|0)<0?0-(n-l)|0:n-l|0;if((k|0)<(g|0)&(k|0)<(p|0)){c[m>>2]=l;if(!k){l=0;break}}else k=g;h=h+2|0;if(h>>>0>=r>>>24>>>0){l=k;break}else g=k}k=c[s+280>>2]<<16;n=(n-k|0)<0?0-(n-k)|0:n-k|0;if(!((n|0)<(l|0)&(n|0)<(p|0)))break;c[m>>2]=k}while(0);o=o+1|0}while(o>>>0<(c[v>>2]|0)>>>0)}while(0);do if((q|0)>0){t=c[u>>2]|0;if((t|0)<=(I2a(65536,q)|0))break;c[u>>2]=I2a(65536,q)|0}while(0);l=c[w>>2]|0;k=c[u>>2]|0;if((l|0)<(k|0)){a[j+204>>0]=1;u=39322-(F2a(39322,l,k)|0)|0;c[j+220>>2]=(u|0)>32767?32767:u}if(a[x>>0]|0)c[j+220>>2]=0;if(!(c[v>>2]|0))break;k=j+220|0;l=0;do{u=(a[j+264+(l*20|0)+16>>0]|0)==0;t=H2a(c[j+264+(l*20|0)+8>>2]|0,c[w>>2]|0)|0;x=c[k>>2]|0;c[j+264+(l*20|0)+12>>2]=t+32768+(u?x:0-x|0)&-65536;l=l+1|0}while(l>>>0<(c[v>>2]|0)>>>0)}while(0);g:do if(!(c[y>>2]|0)){k=j+192|0;a[k>>0]=0;l=j+116|0;g=j+100|0;h=a[j+141>>0]|0;while(1){x=c[z>>2]|0;c[l>>2]=0;P2a(c[x+12>>2]|0);eVa(j,A,g,A+48|0,0,0,0,A+44|0);if(c[y>>2]|0)break g;if(!(h<<24>>24))break;if((c[l>>2]|0)>-1)break;a[k>>0]=1;h=0}l=c[z>>2]|0;g=c[l+20>>2]|0;do if(g|0){h=c[g>>2]|0;if((h&65535)<<16>>16<2)f=0;else f=(b[(c[g+12>>2]|0)+((h<<16>>16)+-2<<1)>>1]|0)+1|0;if((h>>>16&65535)<<16>>16>1){j=c[g+4>>2]|0;k=(c[g+8>>2]|0)+(h>>16)+-1|0;if((c[j+(f<<3)>>2]|0)==(c[j+(h>>16<<3)+-8>>2]|0))if((c[j+(f<<3)+4>>2]|0)==(c[j+(h>>16<<3)+-8+4>>2]|0))if((a[k>>0]|0)==1){b[g+2>>1]=(h>>>16&65535)+-1<<16>>16;j=(h>>>16&65535)+-1<<16>>16}else j=h>>>16&65535;else j=h>>>16&65535;else j=h>>>16&65535}else j=h>>>16&65535;if((h&65535)<<16>>16>0){k=(j<<16>>16)+-1|0;if((f|0)==(k|0)){b[g>>1]=(h&65535)+-1<<16>>16;b[g+2>>1]=j+-1<<16>>16;break}else{b[(c[g+12>>2]|0)+((h<<16>>16)+-1<<1)>>1]=k;break}}}while(0);V2a(c[l+12>>2]|0);if(!(c[y>>2]|0)){j=c[A+44>>2]|0;c[y>>2]=0;c[(c[z>>2]|0)+552>>2]=j+32768>>16;j=0;break a}}while(0);j=3}while(0);z=j;i=A;return z|0}function _Ua(a){a=a|0;return}function $Ua(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0;g=c[d+28>>2]|0;f=c[g+20>>2]|0;if(!f){i=g+64|0;a[i>>0]=0;return}i=c[f>>2]|0;if((i&65535)<<16>>16<2)h=0;else h=(b[(c[f+12>>2]|0)+((i<<16>>16)+-2<<1)>>1]|0)+1|0;if((i>>>16&65535)<<16>>16>1){d=c[f+4>>2]|0;e=(c[f+8>>2]|0)+(i>>16)+-1|0;if((c[d+(h<<3)>>2]|0)==(c[d+(i>>16<<3)+-8>>2]|0))if((c[d+(h<<3)+4>>2]|0)==(c[d+(i>>16<<3)+-8+4>>2]|0))if((a[e>>0]|0)==1){b[f+2>>1]=(i>>>16&65535)+-1<<16>>16;d=(i>>>16&65535)+-1<<16>>16}else d=i>>>16&65535;else d=i>>>16&65535;else d=i>>>16&65535}else d=i>>>16&65535;if((i&65535)<<16>>16<=0){i=g+64|0;a[i>>0]=0;return}e=(d<<16>>16)+-1|0;if((h|0)==(e|0)){b[f>>1]=(i&65535)+-1<<16>>16;b[f+2>>1]=d+-1<<16>>16;i=g+64|0;a[i>>0]=0;return}else{b[(c[f+12>>2]|0)+((i<<16>>16)+-1<<1)>>1]=e;i=g+64|0;a[i>>0]=0;return}}function aVa(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0;i=c[d+28>>2]|0;if(!(a[i+64>>0]|0)){f=bVa(i,c[e>>2]|0,c[e+4>>2]|0)|0;if(f|0){e=c[d+24>>2]|0;if(c[e>>2]|0)return;c[e>>2]=f;return}}h=c[e+8>>2]|0;g=c[e+12>>2]|0;e=c[i+12>>2]|0;if(((b[e+22>>1]|0)+1+(b[e+58>>1]|0)|0)>>>0>(c[e+4>>2]|0)>>>0){f=S2a(e,1,0)|0;if(f|0){e=c[d+24>>2]|0;if(c[e>>2]|0)return;c[e>>2]=f;return}}e=c[i+20>>2]|0;if(!(a[i+65>>0]|0))e=e+2|0;else{f=c[e+4>>2]|0;d=b[e+2>>1]|0;i=(c[e+8>>2]|0)+d|0;c[f+(d<<3)>>2]=h>>10;c[f+(d<<3)+4>>2]=g>>10;a[i>>0]=1;e=e+2|0}b[e>>1]=(b[e>>1]|0)+1<<16>>16;return}function bVa(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;g=b[d+64>>1]|0;if((g&255)<<24>>24){f=0;return f|0}a[d+64>>0]=1;h=c[d+20>>2]|0;if((g&65535)<256){b[h>>1]=(b[h>>1]|0)+1<<16>>16;g=d+12|0}else{g=c[d+12>>2]|0;if(((b[g+20>>1]|0)+1+(b[g+56>>1]|0)|0)>>>0>(c[g+8>>2]|0)>>>0){g=S2a(g,0,1)|0;if(g|0){f=g;return f|0}}g=c[h>>2]|0;if((g&65535)<<16>>16>0){b[(c[h+12>>2]|0)+((g<<16>>16)+-1<<1)>>1]=(g>>>16)+65535;g=b[h>>1]|0}else g=g&65535;b[h>>1]=g+1<<16>>16;g=d+12|0}g=c[g>>2]|0;if(((b[g+22>>1]|0)+1+(b[g+58>>1]|0)|0)>>>0>(c[g+4>>2]|0)>>>0){g=S2a(g,1,0)|0;if(g|0){f=g;return f|0}}g=c[d+20>>2]|0;if(!(a[d+65>>0]|0))g=g+2|0;else{i=c[g+4>>2]|0;h=b[g+2>>1]|0;d=(c[g+8>>2]|0)+h|0;c[i+(h<<3)>>2]=e>>10;c[i+(h<<3)+4>>2]=f>>10;a[d>>0]=1;g=g+2|0}b[g>>1]=(b[g>>1]|0)+1<<16>>16;i=0;return i|0}function cVa(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;h=c[d+28>>2]|0;if(!(a[h+64>>0]|0)){g=bVa(h,c[e>>2]|0,c[e+4>>2]|0)|0;if(g|0){f=c[d+24>>2]|0;if(c[f>>2]|0)return;c[f>>2]=g;return}}f=c[h+12>>2]|0;if(((b[f+22>>1]|0)+3+(b[f+58>>1]|0)|0)>>>0>(c[f+4>>2]|0)>>>0){g=S2a(f,3,0)|0;if(g|0){f=c[d+24>>2]|0;if(c[f>>2]|0)return;c[f>>2]=g;return}}f=c[h+20>>2]|0;if(!(a[h+65>>0]|0)){b[f+2>>1]=(b[f+2>>1]|0)+1<<16>>16;i=12}else{k=c[e+12>>2]|0;j=c[f+4>>2]|0;d=b[f+2>>1]|0;g=(c[f+8>>2]|0)+d|0;c[j+(d<<3)>>2]=c[e+8>>2]>>10;c[j+(d<<3)+4>>2]=k>>10;a[g>>0]=2;g=c[h+20>>2]|0;d=(a[h+65>>0]|0)==0;b[f+2>>1]=(b[f+2>>1]|0)+1<<16>>16;if(d){f=g;i=12}else{d=c[e+20>>2]|0;j=c[g+4>>2]|0;k=b[g+2>>1]|0;f=(c[g+8>>2]|0)+k|0;c[j+(k<<3)>>2]=c[e+16>>2]>>10;c[j+(k<<3)+4>>2]=d>>10;a[f>>0]=2;f=c[h+20>>2]|0;k=(a[h+65>>0]|0)==0;b[g+2>>1]=(b[g+2>>1]|0)+1<<16>>16;if(k)i=14;else{d=c[e+28>>2]|0;h=c[f+4>>2]|0;j=b[f+2>>1]|0;k=(c[f+8>>2]|0)+j|0;c[h+(j<<3)>>2]=c[e+24>>2]>>10;c[h+(j<<3)+4>>2]=d>>10;a[k>>0]=1;f=f+2|0}}}if((i|0)==12){k=f+2|0;b[k>>1]=(b[k>>1]|0)+1<<16>>16;i=14}if((i|0)==14)f=f+2|0;b[f>>1]=(b[f>>1]|0)+1<<16>>16;return}function dVa(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;c[e>>2]=0;if((a|0)<655|((f|0)!=0|g<<24>>24!=0)^1)return;if(g<<24>>24){i=c[h>>2]|0;j=c[h+4>>2]|0;k=c[h+8>>2]|0;l=c[h+12>>2]|0;o=c[h+16>>2]|0;p=c[h+20>>2]|0;q=c[h+24>>2]|0;n=c[h+28>>2]|0;h=H2a(f+d|0,a)|0;if((62-(aa(b|0)|0)-(aa(h|0)|0)|0)>45)g=q<<16;else g=H2a(h,b)|0;a:do if((g|0)<(i<<16|0)){g=I2a(j<<16,b)|0;c[e>>2]=g}else{if((g|0)<(k<<16|0)){g=I2a(i<<16,b)|0;if((k|0)==(i|0))m=12;else{g=F2a(h-g|0,l-j|0,k-i|0)|0;g=(I2a(j<<16,b)|0)+g|0;c[e>>2]=g;break}}else if((g|0)<(o<<16|0))m=12;else if((g|0)<(q<<16|0)){g=o<<16;m=16}do if((m|0)==12){g=I2a(k<<16,b)|0;if((o|0)==(k|0)){g=o<<16;m=16;break}else{g=F2a(h-g|0,p-l|0,o-k|0)|0;g=(I2a(l<<16,b)|0)+g|0;c[e>>2]=g;break a}}while(0);if((m|0)==16){g=I2a(g,b)|0;if((q|0)!=(o|0)){g=F2a(h-g|0,n-p|0,q-o|0)|0;g=(I2a(p<<16,b)|0)+g|0;c[e>>2]=g;break}}g=I2a(n<<16,b)|0;c[e>>2]=g}while(0);g=I2a(g,a<<1)|0;c[e>>2]=g}else g=0;c[e>>2]=g+((f|0)/2|0);return}function eVa(e,f,h,j,k,l,m,n){e=e|0;f=f|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;var o=0,p=0,q=0,r=0,s=0,u=0,v=0,w=0,x=0,y=0,z=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0;Y=i;i=i+19600|0;c[Y+11908>>2]=l;c[Y+11904>>2]=m;O=c[e+132>>2]|0;U=c[e>>2]|0;F=c[e+48>>2]|0;J=c[(c[O+736>>2]|0)+532>>2]<<16;c[Y+11872>>2]=U;c[Y+11872+4>>2]=e+4;c[Y+11872+8>>2]=20;c[Y+11872+12>>2]=0;c[Y+11872+16>>2]=10;c[Y+11872+20>>2]=0;c[Y+11872+24>>2]=0;c[Y+11872+28>>2]=0;c[Y+11840>>2]=U;c[Y+11840+4>>2]=e+4;c[Y+11840+8>>2]=20;c[Y+11840+12>>2]=0;c[Y+11840+16>>2]=10;c[Y+11840+20>>2]=0;c[Y+11840+24>>2]=0;c[Y+11840+28>>2]=0;c[Y+11808>>2]=0;c[Y+11808+4>>2]=0;c[Y+11808+8>>2]=0;c[Y+11808+12>>2]=0;c[Y+11808+16>>2]=0;c[Y+11808+20>>2]=0;c[Y+11808+24>>2]=0;c[Y+11808>>2]=e+4;hBb(Y+24|0,0,11784)|0;c[Y+24>>2]=e;c[Y+24+4>>2]=h;c[(Y+24+11612|0)>>2]=U;c[Y+24+11616>>2]=e+4;c[Y+24+11620>>2]=8;c[Y+24+11624>>2]=0;c[Y+24+11628>>2]=10;c[Y+24+11632>>2]=0;c[Y+24+11636>>2]=0;c[Y+24+11640>>2]=0;hBb(Y+24+7744|0|0,0,3868)|0;T=b[e+140>>1]|0;a[Y+24+7757>>0]=T;c[Y+24+7760>>2]=F;c[(Y+24+7744|0)>>2]=e;c[Y+24+7748>>2]=Y+24+7744|0;c[Y+24+7752>>2]=Y+24+11612|0;hBb(Y+24+3876|0|0,0,3868)|0;a[Y+24+3889>>0]=T;c[Y+24+3892>>2]=F;c[(Y+24+3876|0)>>2]=e;c[Y+24+3880>>2]=Y+24+7744|0;c[Y+24+3884>>2]=Y+24+11612|0;hBb(Y+24+8|0|0,0,3868)|0;a[Y+24+21>>0]=T;c[Y+24+24>>2]=F;c[(Y+24+8|0)>>2]=e;c[Y+24+12>>2]=Y+24+7744|0;c[Y+24+16>>2]=Y+24+11612|0;c[Y+24+11644>>2]=c[e+36>>2];c[Y+24+11648>>2]=c[e+44>>2];c[Y+24+11652>>2]=c[e+48>>2];S=c[j+4>>2]|0;c[Y+24+11656>>2]=c[j>>2];c[Y+24+11656+4>>2]=S;c[Y+24+11668>>2]=Y+11872;c[Y+24+11672>>2]=Y+11840;c[Y+24+11676>>2]=Y+11808;c[Y+24+11680>>2]=m;c[Y+24+11684>>2]=e+196;a[Y+24+11666>>0]=(T&65535)>>>8;T=c[e+184>>2]|0;c[Y+24+11688>>2]=T;S=c[e+188>>2]|0;c[Y+24+11692>>2]=S;T=(T|0)<0?0-T|0:T;S=(S|0)<0?0-S|0:S;c[Y+24+11696>>2]=((T|0)>(S|0)?T:S)<<1;c[Y+24+11700>>2]=6554;a[(Y+24+11667|0)>>0]=1;a[(Y+24+11664|0)>>0]=0;a[(Y+24+11665|0)>>0]=0;a[(Y+24+11744|0)>>0]=0;a[Y+15812>>0]=0;c[n>>2]=c[(c[O+736>>2]|0)+528>>2]<<16;c[Y+11944>>2]=0;S=ITa(U,396,Y+11944|0)|0;if(!(c[Y+11944>>2]|0)){c[S>>2]=U;c[S+4>>2]=e+4;c[S+392>>2]=S+8;V=(S|0)==0;N=4}else if(!S){I=1;G=64;H=0;N=779}else{V=0;N=4}a:do if((N|0)==4){c[Y+11944>>2]=0;T=JTa(U,1,0,272,0,Y+11944|0)|0;if(!(c[Y+11944>>2]|0))E=17;else if(!(c[e+4>>2]|0)){c[e+4>>2]=64;E=0}else E=0;c[T>>2]=c[f>>2];c[T+4>>2]=c[f+4>>2];c[T+8>>2]=c[f+8>>2];c[T+12>>2]=c[f+12>>2];R=1;if(R){R=0;if(!(c[e+4>>2]|0)){C=T;D=0;v=2e7;b:while(1){r=C+8|0;s=c[r>>2]|0;u=C+12|0;l=c[u>>2]|0;if(l>>>0>>0){c[u>>2]=l+1;q=l+1|0;y=d[l>>0]|0}else{q=l;y=(D|0)==0?14:11}if(c[e+4>>2]|0){W=V;X=T;break a}z=v+-1|0;if(!z){I=V;G=18;H=T;N=779;break a}c:do{f=1;p=y|0;if(f){f=0;switch(p|0){case 14:break b;case 17:case 16:case 15:case 13:case 9:case 2:case 0:break;case 1:case 18:{if(!(a[Y+11808+4>>0]|0)){fVa(e,S,Y+11872|0,n,Y+15812|0);if(a[(c[e+132>>2]|0)+561>>0]|0){I=V;G=0;H=T;N=779;break a}}break}case 3:case 23:{if(!(a[Y+11808+4>>0]|0)){fVa(e,S,Y+11840|0,n,Y+15812|0);if(a[(c[e+132>>2]|0)+561>>0]|0){I=V;G=0;H=T;N=779;break a}}break}case 4:{m=c[S+392>>2]|0;if(!((a[Y+15812>>0]|0)!=0|m-(S+8|0)>>3>>>0<2)){d:do if(!(m-(S+8|0)>>3)){l=c[S+4>>2]|0;if(!l)l=0;else if(!(c[l>>2]|0)){c[l>>2]=130;l=0}else l=0}else switch(c[S+12>>2]|0){case 2:{l=c[S+8>>2]<<16;break d}case 1:{l=c[S+8>>2]|0;if((l|0)<0){l=0-(8192-l>>14)|0;break d}else{l=l+8192>>14;break d}}default:{l=c[S+8>>2]|0;break d}}while(0);c[n>>2]=l+J}a[Y+15812>>0]=1;if(a[(c[e+132>>2]|0)+561>>0]|0){I=V;G=0;H=T;N=779;break a}e:do if((m|0)==(S+8|0)){l=c[S+4>>2]|0;if(!l)l=0;else if(!(c[l>>2]|0)){c[l>>2]=161;l=0}else l=0}else{c[S+392>>2]=m+-8;switch(c[m+-4>>2]|0){case 2:{l=c[m+-8>>2]<<16;break e}case 1:{l=c[m+-8>>2]|0;if((l|0)<0){l=0-(8192-l>>14)|0;break e}else{l=l+8192>>14;break e}}default:{l=c[m+-8>>2]|0;break e}}}while(0);l=(c[Y+11904>>2]|0)+l|0;c[Y+11904>>2]=l;m=c[Y+11908>>2]|0;if(a[(Y+24+11664|0)>>0]|0){a[(Y+24+11665|0)>>0]=1;hVa(Y+24|0,c[(Y+24+11736|0)>>2]|0,c[(Y+24+11740|0)>>2]|0);if(a[(Y+24+11744|0)>>0]|0)kVa(Y+24|0,Y+24+8|0,Y+24+11704|0,c[Y+24+11712>>2]|0,c[Y+24+11716>>2]|0,1);a[(Y+24+11667|0)>>0]=1;a[(Y+24+11664|0)>>0]=0;a[(Y+24+11665|0)>>0]=0;a[(Y+24+11744|0)>>0]=0}c[(Y+24+11736|0)>>2]=m;c[Y+24+11720>>2]=m;c[(Y+24+11740|0)>>2]=l;c[Y+24+11724>>2]=l;a[(Y+24+11667|0)>>0]=1;l=c[Y+24+11676>>2]|0;if(!(a[Y+24+20>>0]|0))N=49;else if(a[l+5>>0]|0)N=49;if((N|0)==49){N=0;mVa(Y+24+8|0,c[Y+24+11668>>2]|0,c[Y+24+11672>>2]|0,l,c[Y+24+11680>>2]|0,0)}mBb(Y+24+3876|0|0,Y+24+8|0|0,3868)|0;break}case 5:{q=c[S+392>>2]|0;f:do if(q-(S+8|0)>>3|0){m=q;l=0;while(1){f=m-(S+8|0)>>3;g:do if(f>>>0>l>>>0){m=S+8+(l<<3)|0;switch(c[S+8+(l<<3)+4>>2]|0){case 2:{m=c[m>>2]<<16;break g}case 1:{m=c[m>>2]|0;if((m|0)<0){m=0-(8192-m>>14)|0;break g}else{m=m+8192>>14;break g}}default:{m=c[m>>2]|0;break g}}}else{m=c[S+4>>2]|0;if(!m)m=0;else if(!(c[m>>2]|0)){c[m>>2]=130;m=0}else m=0}while(0);p=(c[Y+11908>>2]|0)+m|0;c[Y+11908>>2]=p;m=l|1;h:do if(f>>>0>m>>>0)switch(c[S+8+(m<<3)+4>>2]|0){case 2:{f=c[S+8+(m<<3)>>2]<<16;m=p;break h}case 1:{m=c[S+8+(m<<3)>>2]|0;if((m|0)<0){f=0-(8192-m>>14)|0;m=p;break h}else{f=m+8192>>14;m=p;break h}}default:{f=c[S+8+(m<<3)>>2]|0;m=p;break h}}else{m=c[S+4>>2]|0;if(!m){f=0;m=p}else if(!(c[m>>2]|0)){c[m>>2]=130;f=0;m=c[Y+11908>>2]|0}else{f=0;m=p}}while(0);y=(c[Y+11904>>2]|0)+f|0;c[Y+11904>>2]=y;hVa(Y+24|0,m,y);l=l+2|0;if(l>>>0>=q-(S+8|0)>>3>>>0)break f;m=c[S+392>>2]|0}}while(0);c[S+392>>2]=S+8;x=D;w=C;v=z;D=x;C=w;continue b}case 7:case 6:{q=c[S+392>>2]|0;i:do if(q-(S+8|0)>>3|0){m=q;f=0;p=(y|0)==6;while(1){j:do if(m-(S+8|0)>>3>>>0>f>>>0){l=S+8+(f<<3)|0;switch(c[S+8+(f<<3)+4>>2]|0){case 2:{l=c[l>>2]<<16;break j}case 1:{l=c[l>>2]|0;if((l|0)<0){l=0-(8192-l>>14)|0;break j}else{l=l+8192>>14;break j}}default:{l=c[l>>2]|0;break j}}}else{l=c[S+4>>2]|0;if(!l)l=0;else if(!(c[l>>2]|0)){c[l>>2]=130;l=0}else l=0}while(0);if(p){l=(c[Y+11908>>2]|0)+l|0;c[Y+11908>>2]=l;m=c[Y+11904>>2]|0}else{m=(c[Y+11904>>2]|0)+l|0;c[Y+11904>>2]=m;l=c[Y+11908>>2]|0}hVa(Y+24|0,l,m);l=f+1|0;if((l|0)==(q-(S+8|0)>>3|0))break i;m=c[S+392>>2]|0;f=l;p=p^1}}while(0);c[S+392>>2]=S+8;x=D;w=C;v=z;D=x;C=w;continue b}case 8:case 24:{w=c[S+392>>2]|0;k:do if(w-(S+8|0)>>3>>>0<6)p=0;else{m=w;p=6;v=0;while(1){u=m-(S+8|0)>>3;l:do if(u>>>0>v>>>0){l=S+8+(v<<3)|0;switch(c[S+8+(v<<3)+4>>2]|0){case 2:{l=c[l>>2]<<16;break l}case 1:{l=c[l>>2]|0;if((l|0)<0){l=0-(8192-l>>14)|0;break l}else{l=l+8192>>14;break l}}default:{l=c[l>>2]|0;break l}}}else{l=c[S+4>>2]|0;if(!l)l=0;else if(!(c[l>>2]|0)){c[l>>2]=130;l=0}else l=0}while(0);s=(c[Y+11908>>2]|0)+l|0;l=v|1;m:do if(u>>>0>l>>>0)switch(c[S+8+(l<<3)+4>>2]|0){case 2:{l=c[S+8+(l<<3)>>2]<<16;break m}case 1:{l=c[S+8+(l<<3)>>2]|0;if((l|0)<0){l=0-(8192-l>>14)|0;break m}else{l=l+8192>>14;break m}}default:{l=c[S+8+(l<<3)>>2]|0;break m}}else{l=c[S+4>>2]|0;if(!l)l=0;else if(!(c[l>>2]|0)){c[l>>2]=130;l=0}else l=0}while(0);r=(c[Y+11904>>2]|0)+l|0;l=v+2|0;n:do if(u>>>0>l>>>0)switch(c[S+8+(l<<3)+4>>2]|0){case 2:{l=c[S+8+(l<<3)>>2]<<16;break n}case 1:{l=c[S+8+(l<<3)>>2]|0;if((l|0)<0){l=0-(8192-l>>14)|0;break n}else{l=l+8192>>14;break n}}default:{l=c[S+8+(l<<3)>>2]|0;break n}}else{l=c[S+4>>2]|0;if(!l)l=0;else if(!(c[l>>2]|0)){c[l>>2]=130;l=0}else l=0}while(0);q=l+s|0;l=v+3|0;o:do if(u>>>0>l>>>0)switch(c[S+8+(l<<3)+4>>2]|0){case 2:{l=c[S+8+(l<<3)>>2]<<16;break o}case 1:{l=c[S+8+(l<<3)>>2]|0;if((l|0)<0){l=0-(8192-l>>14)|0;break o}else{l=l+8192>>14;break o}}default:{l=c[S+8+(l<<3)>>2]|0;break o}}else{l=c[S+4>>2]|0;if(!l)l=0;else if(!(c[l>>2]|0)){c[l>>2]=130;l=0}else l=0}while(0);f=l+r|0;l=v+4|0;p:do if(u>>>0>l>>>0)switch(c[S+8+(l<<3)+4>>2]|0){case 2:{l=c[S+8+(l<<3)>>2]<<16;break p}case 1:{l=c[S+8+(l<<3)>>2]|0;if((l|0)<0){l=0-(8192-l>>14)|0;break p}else{l=l+8192>>14;break p}}default:{l=c[S+8+(l<<3)>>2]|0;break p}}else{l=c[S+4>>2]|0;if(!l)l=0;else if(!(c[l>>2]|0)){c[l>>2]=130;l=0}else l=0}while(0);m=l+q|0;l=v+5|0;q:do if(u>>>0>l>>>0)switch(c[S+8+(l<<3)+4>>2]|0){case 2:{l=c[S+8+(l<<3)>>2]<<16;break q}case 1:{l=c[S+8+(l<<3)>>2]|0;if((l|0)<0){l=0-(8192-l>>14)|0;break q}else{l=l+8192>>14;break q}}default:{l=c[S+8+(l<<3)>>2]|0;break q}}else{l=c[S+4>>2]|0;if(!l)l=0;else{if(c[l>>2]|0){l=0;break}c[l>>2]=130;l=0}}while(0);l=l+f|0;oVa(Y+24|0,s,r,q,f,m,l);c[Y+11908>>2]=m;c[Y+11904>>2]=l;l=p+6|0;if(l>>>0>w-(S+8|0)>>3>>>0)break k;v=p;m=c[S+392>>2]|0;p=l}}while(0);if((y|0)==24){m=(c[S+392>>2]|0)-(S+8|0)>>3;r:do if(m>>>0>p>>>0){l=S+8+(p<<3)|0;switch(c[S+8+(p<<3)+4>>2]|0){case 2:{l=c[l>>2]<<16;break r}case 1:{l=c[l>>2]|0;if((l|0)<0){l=0-(8192-l>>14)|0;break r}else{l=l+8192>>14;break r}}default:{l=c[l>>2]|0;break r}}}else{l=c[S+4>>2]|0;if(!l)l=0;else if(!(c[l>>2]|0)){c[l>>2]=130;l=0}else l=0}while(0);f=(c[Y+11908>>2]|0)+l|0;c[Y+11908>>2]=f;l=p|1;s:do if(m>>>0>l>>>0)switch(c[S+8+(l<<3)+4>>2]|0){case 2:{m=c[S+8+(l<<3)>>2]<<16;l=f;break s}case 1:{l=c[S+8+(l<<3)>>2]|0;if((l|0)<0){m=0-(8192-l>>14)|0;l=f;break s}else{m=l+8192>>14;l=f;break s}}default:{m=c[S+8+(l<<3)>>2]|0;l=f;break s}}else{l=c[S+4>>2]|0;if(!l){m=0;l=f}else if(!(c[l>>2]|0)){c[l>>2]=130;m=0;l=c[Y+11908>>2]|0}else{m=0;l=f}}while(0);y=(c[Y+11904>>2]|0)+m|0;c[Y+11904>>2]=y;hVa(Y+24|0,l,y)}c[S+392>>2]=S+8;x=D;w=C;v=z;D=x;C=w;continue b}default:f=1}}c[Y+15840>>2]=e;c[Y+15896>>2]=n;c[Y+16472>>2]=I;c[Y+16504>>2]=S;c[Y+16656>>2]=T;c[Y+17296>>2]=z;c[Y+17792>>2]=V;c[Y+18008>>2]=O;c[Y+18472>>2]=q;c[Y+18720>>2]=F;c[Y+18856>>2]=J;c[Y+19128>>2]=C;c[Y+19136>>2]=r;c[Y+19144>>2]=s;c[Y+19152>>2]=u;c[Y+19168>>2]=w;c[Y+19176>>2]=D;c[Y+19184>>2]=x;c[Y+19336>>2]=v;c[Y+19360>>2]=G;c[Y+19400>>2]=y;c[Y+19408>>2]=E;c[Y+19416>>2]=H;c[Y+19504>>2]=N;c[Y+19520>>2]=f;c[Y+19528>>2]=p;c[Y+19536>>2]=0;c[Y+19540>>2]=0;aXa(Y);I=c[Y+16472>>2]|0;C=c[Y+19128>>2]|0;w=c[Y+19168>>2]|0;D=c[Y+19176>>2]|0;x=c[Y+19184>>2]|0;v=c[Y+19336>>2]|0;G=c[Y+19360>>2]|0;H=c[Y+19416>>2]|0;N=c[Y+19504>>2]|0;A=c[Y+19536>>2]|0;t=c[Y+19540>>2]|0;B=+g[Y+19540>>2];c[Y+19536>>2]=0;c[Y+19540>>2]=0;if((A|0)==1)break;if((A|0)==2)switch(t|0){case 57:break a;case 55:break c}if((A|0)==3)continue;if((A|0)==4)switch(t|0){case 81:continue b}}while(0);c[S+392>>2]=S+8;x=D;w=C;v=z;D=x;C=w}l=c[S+392>>2]|0;if((l-(S+8|0)>>3|0)==1){if(!(a[Y+15812>>0]|0))N=212}else if(!((l-(S+8|0)>>3|0)!=5|(a[Y+15812>>0]|0)!=0))N=212;if((N|0)==212){t:do if((l|0)==(S+8|0|0)){m=c[S+4>>2]|0;if(!m)m=0;else if(!(c[m>>2]|0)){c[m>>2]=130;m=0}else m=0}else switch(c[S+12>>2]|0){case 2:{m=c[S+8>>2]<<16;break t}case 1:{m=c[S+8>>2]|0;if((m|0)<0){m=0-(8192-m>>14)|0;break t}else{m=m+8192>>14;break t}}default:{m=c[S+8>>2]|0;break t}}while(0);c[n>>2]=m+J}a[Y+15812>>0]=1;if(!(a[(c[e+132>>2]|0)+561>>0]|0)){if(a[(Y+24+11664|0)>>0]|0){a[(Y+24+11665|0)>>0]=1;hVa(Y+24|0,c[(Y+24+11736|0)>>2]|0,c[(Y+24+11740|0)>>2]|0);if(a[(Y+24+11744|0)>>0]|0)kVa(Y+24|0,Y+24+8|0,Y+24+11704|0,c[Y+24+11712>>2]|0,c[Y+24+11716>>2]|0,1);a[(Y+24+11667|0)>>0]=1;a[(Y+24+11664|0)>>0]=0;a[(Y+24+11665|0)>>0]=0;a[(Y+24+11744|0)>>0]=0;l=c[S+392>>2]|0}m=l;if(l-(S+8|0)>>3>>>0>1){u:do if(!(k<<24>>24)){do if((m|0)==(S+8|0)){l=c[S+4>>2]|0;if(!l)s=0;else if(!(c[l>>2]|0)){c[l>>2]=161;s=0}else s=0}else{if((c[m+-4>>2]|0)==2){c[S+392>>2]=m+-8;s=c[m+-8>>2]|0;m=m+-8|0;break}l=c[S+4>>2]|0;if(!l)s=0;else if(!(c[l>>2]|0)){c[l>>2]=160;s=0}else s=0}while(0);do if((m|0)==(S+8|0)){l=c[S+4>>2]|0;if(!l){u=0;l=m}else if(!(c[l>>2]|0)){c[l>>2]=161;u=0;l=m}else{u=0;l=m}}else{l=m+-8|0;if((c[m+-4>>2]|0)==2){c[S+392>>2]=l;u=c[l>>2]|0;break}l=c[S+4>>2]|0;if(!l){u=0;l=m}else if(!(c[l>>2]|0)){c[l>>2]=160;u=0;l=m}else{u=0;l=m}}while(0);v:do if((l|0)==(S+8|0)){m=c[S+4>>2]|0;if(!m)m=0;else if(!(c[m>>2]|0)){c[m>>2]=161;m=0}else m=0}else{f=l+-8|0;c[S+392>>2]=f;switch(c[l+-4>>2]|0){case 2:{m=c[f>>2]<<16;l=f;break v}case 1:{l=c[f>>2]|0;if((l|0)<0){m=0-(8192-l>>14)|0;l=f;break v}else{m=l+8192>>14;l=f;break v}}default:{m=c[f>>2]|0;l=f;break v}}}while(0);c[Y+11904>>2]=m;w:do if((l|0)==(S+8|0)){l=c[S+4>>2]|0;if(!l)l=0;else if(!(c[l>>2]|0)){c[l>>2]=161;l=0}else l=0}else{m=l+-8|0;c[S+392>>2]=m;switch(c[l+-4>>2]|0){case 2:{l=c[m>>2]<<16;break w}case 1:{l=c[m>>2]|0;if((l|0)<0){l=0-(8192-l>>14)|0;break w}else{l=l+8192>>14;break w}}default:{l=c[m>>2]|0;break w}}}while(0);c[Y+11908>>2]=l;c[Y+8>>2]=0;c[Y+8+4>>2]=0;c[Y+8+8>>2]=0;c[Y+8+12>>2]=0;q=c[O+4>>2]|0;r=c[(c[q+128>>2]|0)+48>>2]|0;x:do if(!r){l=c[O+76>>2]|0;p=c[l+1160>>2]|0;if(s>>>0>255|(p|0)==0)K=18;else{if(s>>>0<256)f=b[169084+(s<<1)>>1]|0;else f=0;m=c[l+12>>2]|0;if(!m)K=18;else{l=0;while(1){if((b[p+(l<<1)>>1]|0)==f<<16>>16)break;l=l+1|0;if(l>>>0>=m>>>0){K=18;break x}}if((l|0)<0)K=18;else{if(r|0){M=l;N=277;break}L=LUa((c[q+656>>2]|0)+1176|0,l,Y+11916|0,Y+11912|0)|0;N=279}}}}else{M=s;N=277}while(0);if((N|0)==277){L=Gi[c[c[r>>2]>>2]&255](c[r+4>>2]|0,M,Y+11944|0)|0;c[Y+11916>>2]=c[Y+11944>>2];c[Y+11912>>2]=c[Y+11944+4>>2];N=279}if((N|0)==279)if(!L){m=c[Y+11916>>2]|0;c[(Y+8+4|0)>>2]=m;f=m+(c[Y+11912>>2]|0)|0;c[Y+8+8>>2]=f;c[Y+8+12>>2]=m;eVa(e,Y+8|0,h,j,1,c[Y+11908>>2]|0,c[Y+11904>>2]|0,Y);l=c[O+4>>2]|0;p=c[(c[l+128>>2]|0)+48>>2]|0;if(!p){l=c[l+656>>2]|0;if(!(c[l+1204>>2]|0))kTa(c[l+1176>>2]|0,Y+8+4|0)}else{c[Y+11944>>2]=m;c[Y+11944+4>>2]=f-m;si[c[(c[p>>2]|0)+4>>2]&511](c[p+4>>2]|0,Y+11944|0)};c[Y+8>>2]=0;c[Y+8+4>>2]=0;c[Y+8+8>>2]=0;c[Y+8+12>>2]=0;q=c[O+4>>2]|0;r=c[(c[q+128>>2]|0)+48>>2]|0;y:do if(!r){l=c[O+76>>2]|0;p=c[l+1160>>2]|0;if(u>>>0>255|(p|0)==0){o=18;break}if(u>>>0<256)f=b[169084+(u<<1)>>1]|0;else f=0;m=c[l+12>>2]|0;if(!m){o=18;break}else l=0;while(1){if((b[p+(l<<1)>>1]|0)==f<<16>>16)break;l=l+1|0;if(l>>>0>=m>>>0){o=18;break y}}if((l|0)<0){o=18;break}if(r|0){Q=l;N=294;break}P=LUa((c[q+656>>2]|0)+1176|0,l,Y+11916|0,Y+11912|0)|0;N=296}else{Q=u;N=294}while(0);if((N|0)==294){P=Gi[c[c[r>>2]>>2]&255](c[r+4>>2]|0,Q,Y+11944|0)|0;c[Y+11916>>2]=c[Y+11944>>2];c[Y+11912>>2]=c[Y+11944+4>>2];N=296}do if((N|0)==296){if(P|0){o=P;break}o=c[Y+11916>>2]|0;c[(Y+8+4|0)>>2]=o;c[Y+8+8>>2]=o+(c[Y+11912>>2]|0);c[Y+8+12>>2]=o;eVa(e,Y+8|0,h,j,1,0,0,Y);o=c[O+4>>2]|0;l=c[(c[o+128>>2]|0)+48>>2]|0;if(l|0){j=c[(Y+8+4|0)>>2]|0;o=(c[Y+8+8>>2]|0)-j|0;c[Y+11944>>2]=j;c[Y+11944+4>>2]=o;si[c[(c[l>>2]|0)+4>>2]&511](c[l+4>>2]|0,Y+11944|0);o=0;break u}o=c[o+656>>2]|0;if(c[o+1204>>2]|0){o=0;break u}kTa(c[o+1176>>2]|0,Y+8+4|0);o=0;break u}while(0);break}else K=L;o=K}else o=18;while(0);I=V;G=o;H=T;N=779}else{I=V;G=0;H=T;N=779}}else{I=V;G=0;H=T;N=779}}else R=1}if(R)if(1){W=V;X=T}}while(0);if((N|0)==779)if(!(c[e+4>>2]|0)){c[e+4>>2]=G;W=I;X=H}else{W=I;X=H}e=c[Y+24+11612>>2]|0;c[Y+24+11624>>2]=0;c[Y+24+11632>>2]=0;c[Y+24+11636>>2]=0;LTa(e,c[Y+24+11640>>2]|0);c[Y+24+11640>>2]=0;e=c[Y+11840>>2]|0;c[Y+11840+12>>2]=0;c[Y+11840+20>>2]=0;c[Y+11840+24>>2]=0;LTa(e,c[Y+11840+28>>2]|0);c[Y+11840+28>>2]=0;e=c[Y+11872>>2]|0;c[Y+11872+12>>2]=0;c[Y+11872+20>>2]=0;c[Y+11872+24>>2]=0;LTa(e,c[Y+11872+28>>2]|0);c[Y+11872+28>>2]=0;LTa(U,X);if(W){i=Y;return}LTa(c[S>>2]|0,S);i=Y;return}function fVa(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0;l=i;i=i+32|0;k=c[d+392>>2]|0;j=k-(d+8)>>3&1;if(j|0)if(!(a[g>>0]|0)){a:do if(!(k-(d+8)>>3)){h=c[d+4>>2]|0;if(!h)h=0;else if(!(c[h>>2]|0)){c[h>>2]=130;h=0}else h=0}else switch(c[d+12>>2]|0){case 2:{h=c[d+8>>2]<<16;break a}case 1:{h=c[d+8>>2]|0;if((h|0)<0){h=0-(8192-h>>14)|0;break a}else{h=h+8192>>14;break a}}default:{h=c[d+8>>2]|0;break a}}while(0);c[f>>2]=(c[(c[(c[b+132>>2]|0)+736>>2]|0)+532>>2]<<16)+h}if(a[(c[b+132>>2]|0)+561>>0]|0){a[g>>0]=1;i=l;return}b:do if(j>>>0>3>>>0){f=k;b=0;while(1){f=f-(d+8)>>3;c:do if(f>>>0>j>>>0){h=d+8+(j<<3)|0;switch(c[d+8+(j<<3)+4>>2]|0){case 2:{h=c[h>>2]<<16;break c}case 1:{h=c[h>>2]|0;if((h|0)<0){h=0-(8192-h>>14)|0;break c}else{h=h+8192>>14;break c}}default:{h=c[h>>2]|0;break c}}}else{h=c[d+4>>2]|0;if(!h)h=0;else if(!(c[h>>2]|0)){c[h>>2]=130;h=0}else h=0}while(0);b=h+b|0;c[l+4>>2]=b;h=j+1|0;d:do if(f>>>0>h>>>0)switch(c[d+8+(h<<3)+4>>2]|0){case 2:{h=c[d+8+(h<<3)>>2]<<16;break d}case 1:{h=c[d+8+(h<<3)>>2]|0;if((h|0)<0){h=0-(8192-h>>14)|0;break d}else{h=h+8192>>14;break d}}default:{h=c[d+8+(h<<3)>>2]|0;break d}}else{h=c[d+4>>2]|0;if(!h)h=0;else if(!(c[h>>2]|0)){c[h>>2]=130;h=0}else h=0}while(0);b=h+b|0;c[l+8>>2]=b;a[l>>0]=0;c[l+12>>2]=0;c[l+16>>2]=0;gVa(e,l);h=j+2|0;if(h>>>0>=k-(d+8)>>3>>>0)break b;f=c[d+392>>2]|0;j=h}}while(0);c[d+392>>2]=d+8;a[g>>0]=1;i=l;return}function gVa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;d=c[a+20>>2]|0;do if((d|0)==(c[a+12>>2]|0)){f=(c[a+16>>2]|0)+d|0;c[g>>2]=0;e=c[a+8>>2]|0;d=_(e,f)|0;if((2147483647/(e>>>0)|0)>>>0>=f>>>0){e=JTa(c[a>>2]|0,1,c[a+24>>2]|0,d,c[a+28>>2]|0,g)|0;c[a+28>>2]=e;if(!(c[g>>2]|0)){c[a+12>>2]=f;c[a+24>>2]=d;d=c[a+20>>2]|0;if(d>>>0<=f>>>0){f=a+8|0;break}d=c[a+4>>2]|0;if(d|0)if(!(c[d>>2]|0))c[d>>2]=130;c[a+20>>2]=f;i=g;return}}d=c[a+4>>2]|0;if(!d){i=g;return}if(c[d>>2]|0){i=g;return}c[d>>2]=64;i=g;return}else{f=a+8|0;e=c[a+28>>2]|0}while(0);f=c[f>>2]|0;mBb(e+(_(f,d)|0)|0,b|0,f|0)|0;c[a+20>>2]=(c[a+20>>2]|0)+1;i=g;return}function hVa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0;l=i;i=i+16|0;if(!(a[(c[b+11676>>2]|0)+5>>0]|0))k=0;else k=(a[b+11665>>0]|0)==0&1;g=c[b+11720>>2]|0;f=c[b+11724>>2]|0;if((g|0)==(d|0))if(!(k<<24>>24!=0|(f|0)!=(e|0))){i=l;return}iVa(b,g,f,d,e,l+12|0,l+8|0);f=c[l+12>>2]|0;g=f+(c[b+11720>>2]|0)|0;c[l>>2]=g;h=c[l+8>>2]|0;j=h+(c[b+11724>>2]|0)|0;c[l+4>>2]=j;if(a[b+11667>>0]|0){jVa(b,g,j);a[b+11667>>0]=0;a[b+11664>>0]=1;c[b+11712>>2]=f+d;c[b+11712+4>>2]=h+e}if(a[b+11744>>0]|0)kVa(b,b+8|0,l,f+d|0,h+e|0,0);a[b+11744>>0]=1;c[b+11748>>2]=2;j=c[l+4>>2]|0;c[b+11752>>2]=c[l>>2];c[b+11752+4>>2]=j;c[b+11760>>2]=f+d;c[b+11760+4>>2]=h+e;if(k<<24>>24)mVa(b+8|0,c[b+11668>>2]|0,c[b+11672>>2]|0,c[b+11676>>2]|0,c[b+11680>>2]|0,0);c[b+11720>>2]=d;c[b+11724>>2]=e;i=l;return}function iVa(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0;k=(a[(c[b>>2]|0)+192>>0]|0)==0;j=k?f-d|0:0-(f-d)|0;k=k?g-e|0:0-(g-e)|0;c[i>>2]=0;c[h>>2]=0;if(!(a[b+11666>>0]|0))return;e=(_(g-e>>16,d>>16)|0)-(_(f-d>>16,e>>16)|0)|0;g=(c[b+4>>2]|0)+16|0;c[g>>2]=e+(c[g>>2]|0);if((j|0)>-1)if((k|0)>-1){if((j|0)>(k<<1|0)){c[h>>2]=0;c[i>>2]=0;return}d=c[b+11688>>2]|0;if((k|0)>(j<<1|0)){c[h>>2]=d;c[i>>2]=c[b+11692>>2];return}else{c[h>>2]=H2a(45875,d)|0;c[i>>2]=H2a(19661,c[b+11692>>2]|0)|0;return}}else{if((j|0)>(_(k,-2)|0)){c[h>>2]=0;c[i>>2]=0;return}d=c[b+11688>>2]|0;if((j<<1|0)<(0-k|0)){c[h>>2]=0-d;c[i>>2]=c[b+11692>>2];return}else{c[h>>2]=H2a(-45874,d)|0;c[i>>2]=H2a(19661,c[b+11692>>2]|0)|0;return}}else if((k|0)>-1){if((k<<1|0)<(0-j|0)){c[h>>2]=0;c[i>>2]=c[b+11692>>2]<<1;return}k=(k|0)>(_(j,-2)|0);d=c[b+11688>>2]|0;if(k){c[h>>2]=d;c[i>>2]=c[b+11692>>2];return}else{c[h>>2]=H2a(45875,d)|0;c[i>>2]=H2a(111411,c[b+11692>>2]|0)|0;return}}else{if((_(k,-2)|0)<(0-j|0)){c[h>>2]=0;c[i>>2]=c[b+11692>>2]<<1;return}k=(_(j,-2)|0)<(0-k|0);d=c[b+11688>>2]|0;if(k){c[h>>2]=0-d;c[i>>2]=c[b+11692>>2];return}else{c[h>>2]=H2a(-45874,d)|0;c[i>>2]=H2a(111411,c[b+11692>>2]|0)|0;return}}}function jVa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0;l=i;i=i+48|0;c[l+32>>2]=1;j=c[b+11728+4>>2]|0;c[l>>2]=c[b+11728>>2];c[l+4>>2]=j;if(!(a[b+20>>0]|0)){g=c[b+11736>>2]|0;h=c[b+11740>>2]|0;if(!(a[b+11664>>0]|0)){j=1;f=b+11667|0}else{a[b+11665>>0]=1;hVa(b,g,h);if(a[b+11744>>0]|0)kVa(b,b+8|0,b+11704|0,c[b+11712>>2]|0,c[b+11716>>2]|0,1);a[b+11667>>0]=1;a[b+11664>>0]=0;a[b+11665>>0]=0;a[b+11744>>0]=0;j=(a[b+20>>0]|0)==0;f=b+11667|0}c[b+11736>>2]=g;c[b+11720>>2]=g;c[b+11740>>2]=h;c[b+11724>>2]=h;a[f>>0]=1;f=c[b+11676>>2]|0;if(j)k=9;else if(a[f+5>>0]|0)k=9;if((k|0)==9)mVa(b+8|0,c[b+11668>>2]|0,c[b+11672>>2]|0,f,c[b+11680>>2]|0,0);mBb(b+3876|0,b+8|0,3868)|0}k=H2a(c[b+11644>>2]|0,d)|0;k=(H2a(c[b+11648>>2]|0,e)|0)+k|0;j=lVa(b+8|0,e)|0;h=H2a(c[(c[b>>2]|0)+60>>2]|0,k)|0;h=(H2a(c[(c[b>>2]|0)+68>>2]|0,j)|0)+h|0;c[l+8>>2]=h+(c[b+11656>>2]|0);k=H2a(c[(c[b>>2]|0)+64>>2]|0,k)|0;k=(H2a(c[(c[b>>2]|0)+72>>2]|0,j)|0)+k|0;c[l+12>>2]=k+(c[b+11660>>2]|0);k=c[b+4>>2]|0;si[c[k>>2]&511](k,l);k=c[l+8+4>>2]|0;c[b+11728>>2]=c[l+8>>2];c[b+11728+4>>2]=k;c[b+11704>>2]=d;c[b+11704+4>>2]=e;i=l;return}function kVa(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+48|0;r=(c[a+11748>>2]|0)==2;q=r?a+11752|0:a+11768|0;r=r?a+11760|0:a+11776|0;h=c[r>>2]|0;o=c[d>>2]|0;j=c[r+4>>2]|0;l=c[d+4>>2]|0;if((h|0)==(o|0)&(j|0)==(l|0)){p=0;o=0;n=0}else{m=c[q>>2]|0;n=c[q+4>>2]|0;k=H2a(h+16-m>>5,f+16-l>>5)|0;h=H2a(j+16-n>>5,e+16-o>>5)|0;if((k|0)==(h|0)){p=0;o=0;n=0}else{j=H2a(16-m+o>>5,f+16-l>>5)|0;j=I2a(j-(H2a(16-n+l>>5,e+16-o>>5)|0)|0,k-h|0)|0;h=c[q>>2]|0;h=(H2a(j,(c[r>>2]|0)-h|0)|0)+h|0;k=c[q+4>>2]|0;k=(H2a(j,(c[r+4>>2]|0)-k|0)|0)+k|0;j=c[q>>2]|0;p=c[r>>2]|0;if((j|0)==(p|0))h=(((h-j|0)<0?0-(h-j)|0:h-j|0)|0)<(c[a+11700>>2]|0)?j:h;j=c[q+4>>2]|0;o=c[r+4>>2]|0;if((j|0)==(o|0))j=(((k-j|0)<0?0-(k-j)|0:k-j|0)|0)<(c[a+11700>>2]|0)?j:k;else j=k;n=c[d>>2]|0;if((n|0)==(e|0)){m=h-e|0;m=(((m|0)<0?0-m|0:m)|0)<(c[a+11700>>2]|0)?e:h}else m=h;l=c[d+4>>2]|0;if((l|0)==(f|0)){e=j-f|0;e=(((e|0)<0?0-e|0:e)|0)<(c[a+11700>>2]|0);k=e?f:j;j=e?f:j}else k=j;f=m-((n+p|0)/2|0)|0;h=c[a+11696>>2]|0;if((((f|0)<0?0-f|0:f)|0)>(h|0)){p=m;o=j;n=0}else{f=k-((l+o|0)/2|0)|0;if((((f|0)<0?0-f|0:f)|0)>(h|0)){p=m;o=j;n=0}else{c[r>>2]=m;c[r+4>>2]=j;p=m;o=j;n=1}}}}l=c[a+11728>>2]|0;m=c[a+11728+4>>2]|0;c[s>>2]=l;c[s+4>>2]=m;switch(c[a+11748>>2]|0){case 2:{c[s+32>>2]=2;h=c[a+11760>>2]|0;j=c[a+11764>>2]|0;k=c[a+11644>>2]|0;if(!(g<<24>>24)){f=H2a(k,h)|0;f=(H2a(c[a+11648>>2]|0,j)|0)+f|0;r=lVa(b,j)|0;h=H2a(c[(c[a>>2]|0)+60>>2]|0,f)|0;h=(H2a(c[(c[a>>2]|0)+68>>2]|0,r)|0)+h|0;h=h+(c[a+11656>>2]|0)|0;j=H2a(c[(c[a>>2]|0)+64>>2]|0,f)|0;j=(H2a(c[(c[a>>2]|0)+72>>2]|0,r)|0)+j|0;j=j+(c[a+11660>>2]|0)|0}else{f=H2a(k,h)|0;f=(H2a(c[a+11648>>2]|0,j)|0)+f|0;r=lVa(a+3876|0,j)|0;h=H2a(c[(c[a>>2]|0)+60>>2]|0,f)|0;h=(H2a(c[(c[a>>2]|0)+68>>2]|0,r)|0)+h|0;h=h+(c[a+11656>>2]|0)|0;j=H2a(c[(c[a>>2]|0)+64>>2]|0,f)|0;j=(H2a(c[(c[a>>2]|0)+72>>2]|0,r)|0)+j|0;j=j+(c[a+11660>>2]|0)|0}c[s+8>>2]=h;c[s+12>>2]=j;if(!((l|0)==(h|0)&(m|0)==(j|0))){r=c[a+4>>2]|0;si[c[r+4>>2]&511](r,s);r=c[s+8+4>>2]|0;c[a+11728>>2]=c[s+8>>2];c[a+11728+4>>2]=r}break}case 4:{c[s+32>>2]=4;r=c[a+11764>>2]|0;f=(H2a(c[a+11644>>2]|0,c[a+11760>>2]|0)|0)+(H2a(c[a+11648>>2]|0,r)|0)|0;r=lVa(b,r)|0;c[s+8>>2]=(H2a(c[(c[a>>2]|0)+60>>2]|0,f)|0)+(H2a(c[(c[a>>2]|0)+68>>2]|0,r)|0)+(c[a+11656>>2]|0);c[s+12>>2]=(H2a(c[(c[a>>2]|0)+64>>2]|0,f)|0)+(H2a(c[(c[a>>2]|0)+72>>2]|0,r)|0)+(c[a+11660>>2]|0);r=c[a+11772>>2]|0;f=(H2a(c[a+11644>>2]|0,c[a+11768>>2]|0)|0)+(H2a(c[a+11648>>2]|0,r)|0)|0;r=lVa(b,r)|0;c[s+16>>2]=(H2a(c[(c[a>>2]|0)+60>>2]|0,f)|0)+(H2a(c[(c[a>>2]|0)+68>>2]|0,r)|0)+(c[a+11656>>2]|0);c[s+20>>2]=(H2a(c[(c[a>>2]|0)+64>>2]|0,f)|0)+(H2a(c[(c[a>>2]|0)+72>>2]|0,r)|0)+(c[a+11660>>2]|0);r=c[a+11780>>2]|0;f=(H2a(c[a+11644>>2]|0,c[a+11776>>2]|0)|0)+(H2a(c[a+11648>>2]|0,r)|0)|0;r=lVa(b,r)|0;c[s+24>>2]=(H2a(c[(c[a>>2]|0)+60>>2]|0,f)|0)+(H2a(c[(c[a>>2]|0)+68>>2]|0,r)|0)+(c[a+11656>>2]|0);c[s+28>>2]=(H2a(c[(c[a>>2]|0)+64>>2]|0,f)|0)+(H2a(c[(c[a>>2]|0)+72>>2]|0,r)|0)+(c[a+11660>>2]|0);r=c[a+4>>2]|0;si[c[r+12>>2]&511](r,s);r=c[s+24+4>>2]|0;c[a+11728>>2]=c[s+24>>2];c[a+11728+4>>2]=r;break}default:{}}j=n<<24>>24!=0;do if(!(g<<24>>24==0&j)){if(!(g<<24>>24)){g=c[d+4>>2]|0;h=H2a(c[a+11644>>2]|0,c[d>>2]|0)|0;h=(H2a(c[a+11648>>2]|0,g)|0)+h|0;b=lVa(b,g)|0;g=H2a(c[(c[a>>2]|0)+60>>2]|0,h)|0;g=(H2a(c[(c[a>>2]|0)+68>>2]|0,b)|0)+g|0;c[s+8>>2]=g+(c[a+11656>>2]|0);h=H2a(c[(c[a>>2]|0)+64>>2]|0,h)|0;h=(H2a(c[(c[a>>2]|0)+72>>2]|0,b)|0)+h|0;h=h+(c[a+11660>>2]|0)|0}else{b=c[d+4>>2]|0;h=H2a(c[a+11644>>2]|0,c[d>>2]|0)|0;h=(H2a(c[a+11648>>2]|0,b)|0)+h|0;b=lVa(a+3876|0,b)|0;g=H2a(c[(c[a>>2]|0)+60>>2]|0,h)|0;g=(H2a(c[(c[a>>2]|0)+68>>2]|0,b)|0)+g|0;c[s+8>>2]=g+(c[a+11656>>2]|0);h=H2a(c[(c[a>>2]|0)+64>>2]|0,h)|0;h=(H2a(c[(c[a>>2]|0)+72>>2]|0,b)|0)+h|0;h=h+(c[a+11660>>2]|0)|0}c[s+12>>2]=h;if((c[s+8>>2]|0)==(c[a+11728>>2]|0))if((h|0)==(c[a+11732>>2]|0))break;c[s+32>>2]=2;b=c[a+11728+4>>2]|0;c[s>>2]=c[a+11728>>2];c[s+4>>2]=b;b=c[a+4>>2]|0;si[c[b+4>>2]&511](b,s);b=c[s+8+4>>2]|0;c[a+11728>>2]=c[s+8>>2];c[a+11728+4>>2]=b}while(0);if(!j){i=s;return}c[d>>2]=p;c[d+4>>2]=o;i=s;return}function lVa(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;f=c[b+20>>2]|0;if(f|0)if(a[b+13>>0]|0){e=c[b+24>>2]|0;while(1){if(e>>>0>=(f+-1|0)>>>0)break;g=e+1|0;if((c[b+28+(g*20|0)+8>>2]|0)>(d|0))break;else e=g}a:do if(!e)h=11;else{while(1){g=b+28+(e*20|0)+8|0;if((c[g>>2]|0)<=(d|0)){f=e;break}e=e+-1|0;if(!e){h=11;break a}}c[b+24>>2]=f;e=c[g>>2]|0}while(0);if((h|0)==11){c[b+24>>2]=0;e=c[b+36>>2]|0;if((e|0)>(d|0)){d=H2a(d-e|0,c[b+16>>2]|0)|0;b=(c[b+40>>2]|0)+d|0;return b|0}else f=0}d=H2a(d-e|0,c[b+28+(f*20|0)+16>>2]|0)|0;b=(c[b+28+(f*20|0)+12>>2]|0)+d|0;return b|0}b=H2a(d,c[b+16>>2]|0)|0;return b|0}function mVa(b,e,f,g,h,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=i;i=i+80|0;y=c[b>>2]|0;if(!(j<<24>>24)){k=c[b+4>>2]|0;if(!(a[k+12>>0]|0)){x=c[g>>2]|0;c[A+20>>2]=0;c[A+20+4>>2]=0;c[A+20+8>>2]=0;c[A+20+12>>2]=0;c[A+20+16>>2]=0;c[A+20+20>>2]=0;c[A+20+24>>2]=0;c[A+20>>2]=x;mVa(k,e,f,A+20|0,h,1)}}do if(!(a[g+4>>0]|0)){l=(c[f+20>>2]|0)+(c[e+20>>2]|0)|0;if(l>>>0>96){k=c[g>>2]|0;if(!k){i=A;return}if(c[k>>2]|0){i=A;return}c[k>>2]=18;i=A;return}else{c[g+8>>2]=l;c[g+12>>2]=(l+7|0)>>>3;a[g+4>>0]=1;a[g+5>>0]=1;if(!l)break;if(!((l+7|0)>>>3))k=-1;else{f=0;do{a[g+16+f>>0]=-1;f=f+1|0;k=c[g+12>>2]|0}while(f>>>0>>0);k=k+-1|0}x=g+16+k|0;a[x>>0]=d[x>>0]&-1<<(0-l&7);if(a[g+4>>0]|0)break;i=A;return}}while(0);c[b+20>>2]=0;c[b+24>>2]=0;c[A+20>>2]=c[g>>2];c[A+20+4>>2]=c[g+4>>2];c[A+20+8>>2]=c[g+8>>2];c[A+20+12>>2]=c[g+12>>2];c[A+20+16>>2]=c[g+16>>2];c[A+20+20>>2]=c[g+20>>2];c[A+20+24>>2]=c[g+24>>2];x=c[e+20>>2]|0;if(x>>>0>(c[g+8>>2]|0)>>>0){i=A;return}if(a[y+205>>0]|0){c[A+48>>2]=0;c[A+48+4>>2]=0;c[A+48+8>>2]=0;c[A+48+12>>2]=0;c[A+48+16>>2]=0;nVa(b,y+244|0,A+48|0);nVa(b,A+48|0,y+224|0)}if(x|0){t=A+48+8|0;u=0;v=128;w=A+20+16|0;while(1){if(d[w>>0]&v|0){n=c[b+16>>2]|0;c[A+48>>2]=0;c[A+48+4>>2]=0;c[A+48+8>>2]=0;c[A+48+12>>2]=0;c[A+48+16>>2]=0;if((c[e+20>>2]|0)>>>0>u>>>0)k=u;else{k=c[e+4>>2]|0;if(!k)k=0;else if(!(c[k>>2]|0)){c[k>>2]=130;k=0}else k=0}m=(c[e+28>>2]|0)+(_(c[e+8>>2]|0,k)|0)|0;k=c[m+8>>2]|0;f=c[m+4>>2]|0;a:do if((k-f|0)<-1310720){switch(k-f|0){case -1376256:break;default:{z=26;break a}}c[t>>2]=k;c[A+48>>2]=1;l=1;z=30}else{switch(k-f|0){case -1310720:break;default:{z=26;break a}}c[A+48>>2]=0;c[t>>2]=h;c[A+48+16>>2]=n;c[A+48+4>>2]=u;f=0;k=h;z=32}while(0);do if((z|0)==26)if((k-f|0)<0){c[t>>2]=k;c[A+48>>2]=4;l=4;z=30;break}else{c[t>>2]=f;c[A+48>>2]=4;l=4;k=f;z=30;break}while(0);if((z|0)==30){z=0;k=k+h|0;c[t>>2]=k;c[A+48+16>>2]=n;c[A+48+4>>2]=u;if(!(a[m>>0]|0)){f=l;z=32}else{s=c[m+12>>2]|0;c[A+48+12>>2]=s;r=l|16;c[A+48>>2]=r}}if((z|0)==32){s=H2a(k,n)|0;c[A+48+12>>2]=s;r=f}o=c[b+16>>2]|0;c[A>>2]=0;c[A+4>>2]=0;c[A+8>>2]=0;c[A+12>>2]=0;c[A+16>>2]=0;if((c[e+20>>2]|0)>>>0>u>>>0)f=u;else{f=c[e+4>>2]|0;if(!f)f=0;else if(!(c[f>>2]|0)){c[f>>2]=130;f=0}else f=0}m=(c[e+28>>2]|0)+(_(c[e+8>>2]|0,f)|0)|0;f=c[m+8>>2]|0;l=c[m+4>>2]|0;b:do if((f-l|0)<-1310720){switch(f-l|0){case -1376256:break;default:{z=40;break b}}c[A>>2]=0;c[A+8>>2]=h;c[A+16>>2]=o;c[A+4>>2]=u;f=h;l=0;z=45}else{switch(f-l|0){case -1310720:break;default:{z=40;break b}}c[A+8>>2]=l;c[A>>2]=2;n=2;f=l;z=43}while(0);do if((z|0)==40)if((f-l|0)<0){c[A+8>>2]=l;c[A>>2]=8;n=8;f=l;z=43;break}else{c[A+8>>2]=f;c[A>>2]=8;n=8;z=43;break}while(0);if((z|0)==43){z=0;f=f+(c[y+188>>2]<<1)+h|0;c[A+8>>2]=f;c[A+16>>2]=o;c[A+4>>2]=u;if(!(a[m>>0]|0)){l=n;z=45}else{q=c[m+16>>2]|0;c[A+12>>2]=q;l=n|16;c[A>>2]=l}}if((z|0)==45){z=0;q=H2a(f,o)|0;c[A+12>>2]=q}c:do if(!((r|l)&16)){o=c[y+216>>2]|0;p=c[y+200>>2]|0;if(p|0){m=(l&10|0)==0;d:do if(!(r&5)){if(m)break c;else m=0;while(1){do if(!(a[y+264+(m*20|0)+16>>0]|0)){k=c[y+264+(m*20|0)>>2]|0;if((k-o|0)>(f|0))break;if((f|0)<=((c[y+264+(m*20|0)+4>>2]|0)+o|0)){n=k;z=69;break d}}while(0);m=m+1|0;if(m>>>0>=p>>>0)break c}}else{e:do if(m){m=0;while(1){do if(a[y+264+(m*20|0)+16>>0]|0){if(((c[y+264+(m*20|0)>>2]|0)-o|0)>(k|0))break;f=c[y+264+(m*20|0)+4>>2]|0;if((k|0)<=(f+o|0)){n=f;break e}}while(0);m=m+1|0;if(m>>>0>=p>>>0)break c}}else{m=0;while(1){n=c[y+264+(m*20|0)>>2]|0;do if(!(a[y+264+(m*20|0)+16>>0]|0)){if((n-o|0)>(f|0))break;if((f|0)<=((c[y+264+(m*20|0)+4>>2]|0)+o|0)){z=69;break d}}else{if((n-o|0)>(k|0))break;n=c[y+264+(m*20|0)+4>>2]|0;if((k|0)<=(n+o|0))break e}while(0);m=m+1|0;if(m>>>0>=p>>>0)break c}}while(0);do if(!(a[y+204>>0]|0)){f=s+32768&-65536;if((n-k|0)<(c[y+212>>2]|0)){k=f;break}k=(c[y+264+(m*20|0)+12>>2]|0)+-65536|0;k=(f|0)<(k|0)?f:k}else k=c[y+264+(m*20|0)+12>>2]|0;while(0);k=k-s|0}while(0);if((z|0)==69){do if(!(a[y+204>>0]|0)){k=q+32768&-65536;if((f-n|0)<(c[y+212>>2]|0))break;z=(c[y+264+(m*20|0)+12>>2]|0)+65536|0;k=(k|0)>(z|0)?k:z}else k=c[y+264+(m*20|0)+12>>2]|0;while(0);k=k-q|0}if(r|0){c[A+48+12>>2]=s+k;c[A+48>>2]=r|16}if(!l)z=79;else{c[A+12>>2]=q+k;c[A>>2]=l|16;z=79}}}else z=79;while(0);if((z|0)==79){z=0;nVa(b,A+48|0,A);a[w>>0]=d[w>>0]&(v^255)}}k=(u&7|0)==7;u=u+1|0;if((u|0)==(x|0))break;else{v=k?128:v>>>1&127;w=k?w+1|0:w}}}do if(j<<24>>24){k=c[b+20>>2]|0;if(k|0)if((c[b+36>>2]|0)<=0)if((c[b+28+((k+-1|0)*20|0)+8>>2]|0)>=0)break;c[A+48>>2]=0;c[A+48+4>>2]=0;c[A+48+8>>2]=0;c[A+48+12>>2]=0;c[A+48>>2]=49;c[A+48+16>>2]=c[b+16>>2];c[A>>2]=0;c[A+4>>2]=0;c[A+8>>2]=0;c[A+12>>2]=0;c[A+16>>2]=0;nVa(b,A+48|0,A)}else if(x|0){o=A+48+8|0;p=0;q=128;r=A+20+16|0;while(1){if(d[r>>0]&q|0){n=c[b+16>>2]|0;c[A+48>>2]=0;c[A+48+4>>2]=0;c[A+48+8>>2]=0;c[A+48+12>>2]=0;c[A+48+16>>2]=0;if((c[e+20>>2]|0)>>>0>p>>>0)k=p;else{k=c[e+4>>2]|0;if(!k)k=0;else if(!(c[k>>2]|0)){c[k>>2]=130;k=0}else k=0}m=(c[e+28>>2]|0)+(_(c[e+8>>2]|0,k)|0)|0;k=c[m+8>>2]|0;f=c[m+4>>2]|0;f:do if((k-f|0)<-1310720){switch(k-f|0){case -1376256:break;default:{z=96;break f}}c[o>>2]=k;c[A+48>>2]=1;l=17;z=100}else{switch(k-f|0){case -1310720:break;default:{z=96;break f}}c[A+48>>2]=0;c[o>>2]=h;c[A+48+16>>2]=n;c[A+48+4>>2]=p;k=h;z=102}while(0);do if((z|0)==96)if((k-f|0)<0){c[o>>2]=k;c[A+48>>2]=4;l=20;z=100;break}else{c[o>>2]=f;c[A+48>>2]=4;l=20;k=f;z=100;break}while(0);if((z|0)==100){z=0;k=k+h|0;c[o>>2]=k;c[A+48+16>>2]=n;c[A+48+4>>2]=p;if(!(a[m>>0]|0))z=102;else{c[A+48+12>>2]=c[m+12>>2];c[A+48>>2]=l}}if((z|0)==102)c[A+48+12>>2]=H2a(k,n)|0;n=c[b+16>>2]|0;c[A>>2]=0;c[A+4>>2]=0;c[A+8>>2]=0;c[A+12>>2]=0;c[A+16>>2]=0;if((c[e+20>>2]|0)>>>0>p>>>0)k=p;else{k=c[e+4>>2]|0;if(!k)k=0;else if(!(c[k>>2]|0)){c[k>>2]=130;k=0}else k=0}m=(c[e+28>>2]|0)+(_(c[e+8>>2]|0,k)|0)|0;k=c[m+8>>2]|0;f=c[m+4>>2]|0;g:do if((k-f|0)<-1310720){switch(k-f|0){case -1376256:break;default:{z=110;break g}}c[A>>2]=0;c[A+8>>2]=h;c[A+16>>2]=n;c[A+4>>2]=p;k=h;z=115}else{switch(k-f|0){case -1310720:break;default:{z=110;break g}}c[A+8>>2]=f;c[A>>2]=2;l=18;k=f;z=113}while(0);do if((z|0)==110)if((k-f|0)<0){c[A+8>>2]=f;c[A>>2]=8;l=24;k=f;z=113;break}else{c[A+8>>2]=k;c[A>>2]=8;l=24;z=113;break}while(0);if((z|0)==113){z=0;k=k+(c[y+188>>2]<<1)+h|0;c[A+8>>2]=k;c[A+16>>2]=n;c[A+4>>2]=p;if(!(a[m>>0]|0))z=115;else{c[A+12>>2]=c[m+16>>2];c[A>>2]=l}}if((z|0)==115){z=0;c[A+12>>2]=H2a(k,n)|0}nVa(b,A+48|0,A)}k=(p&7|0)==7;p=p+1|0;if((p|0)==(x|0))break;else{q=k?128:q>>>1&127;r=k?r+1|0:r}}}while(0);c[(c[b+8>>2]|0)+20>>2]=0;k=c[b+20>>2]|0;h:do if(k|0){q=0;do{p=c[b+28+(q*20|0)>>2]|0;r=q+1|0;s=p&12|0?r:q;if(!(p&16)){o=b+28+(q*20|0)+12|0;l=c[o>>2]|0;f=c[b+28+(s*20|0)+12>>2]|0;m=(l&65535|0)==0?0:65536-(l&65535)|0;n=(f&65535|0)==0?0:65536-(f&65535)|0;n=m>>>0>>0?m:n;m=(0-(l&65535)|0)>(0-(f&65535)|0)?0-(l&65535)|0:0-(f&65535)|0;do if(s>>>0<(k+-1|0)>>>0)if((c[b+28+((s+1|0)*20|0)+12>>2]|0)<(f+32768+n|0)){if(!q)z=128;else if((c[b+28+((q+-1|0)*20|0)+12>>2]|0)>(l+-32768+m|0))k=0;else z=128;if((z|0)==128){z=0;if((n|0)<(0-m|0))k=m;else{f=l;k=m;break}}if(!(c[b+28+((s+1|0)*20|0)>>2]&16)){c[A+48>>2]=s;c[A+48+4>>2]=n-k;gVa(c[b+8>>2]|0,A+48|0);f=c[o>>2]|0}else f=l}else z=123;else z=123;while(0);do if((z|0)==123){z=0;if(q|0)if((c[b+28+((q+-1|0)*20|0)+12>>2]|0)>(l+-32768+m|0)){f=l;k=n;break}f=l;k=(n|0)>(0-m|0)?m:n}while(0);c[o>>2]=k+f;if(p&12|0)c[b+28+(s*20|0)+12>>2]=(c[b+28+(s*20|0)+12>>2]|0)+k}if(q|0){k=c[b+28+(q*20|0)+8>>2]|0;f=q+-1|0;l=c[b+28+(f*20|0)+8>>2]|0;if((k|0)!=(l|0))c[b+28+(f*20|0)+16>>2]=I2a((c[b+28+(q*20|0)+12>>2]|0)-(c[b+28+(f*20|0)+12>>2]|0)|0,k-l|0)|0}if(p&12|0){k=c[b+28+(s*20|0)+8>>2]|0;f=c[b+28+((s+-1|0)*20|0)+8>>2]|0;if((k|0)==(f|0))k=r;else{c[b+28+((s+-1|0)*20|0)+16>>2]=I2a((c[b+28+(s*20|0)+12>>2]|0)-(c[b+28+((s+-1|0)*20|0)+12>>2]|0)|0,k-f|0)|0;k=r}}else k=q;q=k+1|0;k=c[b+20>>2]|0}while(q>>>0>>0);k=c[b+8>>2]|0;f=c[k+20>>2]|0;if(f|0){l=f;m=k;k=f;while(1){n=k+-1|0;if(l>>>0>n>>>0)k=n;else{k=c[m+4>>2]|0;if(!k)k=0;else if(!(c[k>>2]|0)){c[k>>2]=130;k=0}else k=0}f=(c[m+28>>2]|0)+(_(c[m+8>>2]|0,k)|0)|0;k=c[f>>2]|0;f=c[f+4>>2]|0;l=f+(c[b+28+(k*20|0)+12>>2]|0)|0;if((c[b+28+((k+1|0)*20|0)+12>>2]|0)>=(l+32768|0)){c[b+28+(k*20|0)+12>>2]=l;if(c[b+28+(k*20|0)>>2]&12|0)c[b+28+((k+-1|0)*20|0)+12>>2]=(c[b+28+((k+-1|0)*20|0)+12>>2]|0)+f}if(!n)break h;m=c[b+8>>2]|0;l=c[m+20>>2]|0;k=n}}}while(0);if(!(j<<24>>24)){k=c[b+20>>2]|0;if(k|0){m=0;do{f=b+28+(m*20|0)|0;l=c[f>>2]|0;if(!(l&32)){k=c[b+28+(m*20|0)+4>>2]|0;if((c[e+20>>2]|0)>>>0<=k>>>0){k=c[e+4>>2]|0;if(!k)k=0;else if(!(c[k>>2]|0)){c[k>>2]=130;k=0;l=c[f>>2]|0}else k=0}k=(c[e+28>>2]|0)+(_(c[e+8>>2]|0,k)|0)|0;f=c[b+28+(m*20|0)+12>>2]|0;if(!(l&10))c[k+12>>2]=f;else c[k+16>>2]=f;a[k>>0]=1;k=c[b+20>>2]|0}m=m+1|0}while(m>>>0>>0)}}a[b+12>>0]=1;a[g+5>>0]=0;i=A;return}function nVa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;if(!(c[d>>2]|0)){d=e;j=0}else j=(c[e>>2]|0)!=0&1;h=c[b+20>>2]|0;a:do if(!h)i=0;else{g=c[d+8>>2]|0;f=0;while(1){if((c[b+28+(f*20|0)+8>>2]|0)>=(g|0)){i=f;break a}f=f+1|0;if(f>>>0>=h>>>0){i=f;break}}}while(0);if(i>>>0>>0){f=c[b+28+(i*20|0)+8>>2]|0;if((f|0)==(c[d+8>>2]|0))return;if(j<<24>>24)if((f|0)<=(c[e+8>>2]|0))return;if(c[b+28+(i*20|0)>>2]&8|0)return}f=c[b+4>>2]|0;do if(a[f+12>>0]|0)if(!(c[d>>2]&16))if(!(j<<24>>24)){c[d+12>>2]=lVa(f,c[d+8>>2]|0)|0;break}else{g=d+8|0;h=lVa(f,((c[g>>2]|0)+(c[e+8>>2]|0)|0)/2|0)|0;g=H2a(((c[e+8>>2]|0)-(c[g>>2]|0)|0)/2|0,c[b+16>>2]|0)|0;c[d+12>>2]=h-g;c[e+12>>2]=g+h;break}while(0);if(i|0)if((c[d+12>>2]|0)<(c[b+28+((i+-1|0)*20|0)+12>>2]|0))return;g=c[b+20>>2]|0;do if(g>>>0>i>>>0)if(!(j<<24>>24)){if((c[d+12>>2]|0)<=(c[b+28+(i*20|0)+12>>2]|0))break;return}else{if((c[e+12>>2]|0)<=(c[b+28+(i*20|0)+12>>2]|0))break;return}while(0);f=g+(j&255)|0;if(f>>>0>191)return;if((g|0)!=(i|0)){h=g-i|0;while(1){g=g+-1|0;h=h+-1|0;k=b+28+(f*20|0)|0;l=b+28+(g*20|0)|0;c[k>>2]=c[l>>2];c[k+4>>2]=c[l+4>>2];c[k+8>>2]=c[l+8>>2];c[k+12>>2]=c[l+12>>2];c[k+16>>2]=c[l+16>>2];if(!h)break;else f=f+-1|0}}l=b+28+(i*20|0)|0;c[l>>2]=c[d>>2];c[l+4>>2]=c[d+4>>2];c[l+8>>2]=c[d+8>>2];c[l+12>>2]=c[d+12>>2];c[l+16>>2]=c[d+16>>2];c[b+20>>2]=(c[b+20>>2]|0)+1;if(!(j<<24>>24))return;l=b+28+((i+1|0)*20|0)|0;c[l>>2]=c[e>>2];c[l+4>>2]=c[e+4>>2];c[l+8>>2]=c[e+8>>2];c[l+12>>2]=c[e+12>>2];c[l+16>>2]=c[e+16>>2];c[b+20>>2]=(c[b+20>>2]|0)+1;return}function oVa(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+32|0;iVa(b,c[b+11720>>2]|0,c[b+11724>>2]|0,d,e,q+20|0,q+16|0);iVa(b,f,g,h,j,q+12|0,q+8|0);l=(_(g-e>>16,d>>16)|0)-(_(f-d>>16,e>>16)|0)|0;k=(c[b+4>>2]|0)+16|0;c[k>>2]=l+(c[k>>2]|0);k=c[q+20>>2]|0;l=k+(c[b+11720>>2]|0)|0;c[q>>2]=l;m=c[q+16>>2]|0;n=m+(c[b+11724>>2]|0)|0;c[q+4>>2]=n;o=c[q+12>>2]|0;p=c[q+8>>2]|0;if(a[b+11667>>0]|0){jVa(b,l,n);a[b+11667>>0]=0;a[b+11664>>0]=1;c[b+11712>>2]=k+d;c[b+11712+4>>2]=m+e}if(a[b+11744>>0]|0)kVa(b,b+8|0,q,k+d|0,m+e|0,0);a[b+11744>>0]=1;c[b+11748>>2]=4;n=c[q+4>>2]|0;c[b+11752>>2]=c[q>>2];c[b+11752+4>>2]=n;c[b+11760>>2]=k+d;c[b+11760+4>>2]=m+e;c[b+11768>>2]=o+f;c[b+11772>>2]=p+g;c[b+11776>>2]=o+h;c[b+11780>>2]=p+j;k=c[b+11676>>2]|0;if(!(a[k+5>>0]|0)){c[b+11720>>2]=h;c[b+11724>>2]=j;i=q;return}mVa(b+8|0,c[b+11668>>2]|0,c[b+11672>>2]|0,k,c[b+11680>>2]|0,0);c[b+11720>>2]=h;c[b+11724>>2]=j;i=q;return}function pVa(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+64|0;o=c[d>>2]|0;c[r>>2]=o;c[r+4>>2]=c[e>>2];q=(a[g+9>>0]|0)==0;p=q?9:10;j=0;m=0;while(1){n=r+(j+2<<2)|0;c[n>>2]=o;if(!(a[g+j>>0]|0))k=m;else{k=m+1|0;a:do if((c[b+392>>2]|0)-(b+8)>>3>>>0>m>>>0){l=b+8+(m<<3)|0;switch(c[b+8+(m<<3)+4>>2]|0){case 2:{m=c[l>>2]<<16;l=o;break a}case 1:{l=c[l>>2]|0;if((l|0)<0){m=0-(8192-l>>14)|0;l=o;break a}else{m=l+8192>>14;l=o;break a}}default:{m=c[l>>2]|0;l=o;break a}}}else{l=c[b+4>>2]|0;if(!l){m=0;l=o}else if(!(c[l>>2]|0)){c[l>>2]=130;m=0;l=c[n>>2]|0}else{m=0;l=o}}while(0);c[n>>2]=l+m}j=j+1|0;if((j|0)>=(p|0)){l=k;break}o=c[r+(j<<2)>>2]|0;m=k}if(q)c[r+44>>2]=c[e>>2];do if(!(h<<24>>24)){if(!(a[g+10>>0]|0)){m=c[d>>2]|0;c[r+48>>2]=m;k=l}else{k=c[r+40>>2]|0;b:do if((c[b+392>>2]|0)-(b+8)>>3>>>0>l>>>0)switch(c[b+8+(l<<3)+4>>2]|0){case 2:{j=c[b+8+(l<<3)>>2]<<16;break b}case 1:{j=c[b+8+(l<<3)>>2]|0;if((j|0)<0){j=0-(8192-j>>14)|0;break b}else{j=j+8192>>14;break b}}default:{j=c[b+8+(l<<3)>>2]|0;break b}}else{j=c[b+4>>2]|0;if(!j)j=0;else if(!(c[j>>2]|0)){c[j>>2]=130;j=0}else j=0}while(0);m=j+k|0;c[r+48>>2]=m;k=l+1|0}if(!(a[g+11>>0]|0)){k=c[e>>2]|0;c[r+52>>2]=k;l=r+44|0;j=m;break}l=c[r+44>>2]|0;c:do if((c[b+392>>2]|0)-(b+8)>>3>>>0>k>>>0){j=b+8+(k<<3)|0;switch(c[b+8+(k<<3)+4>>2]|0){case 2:{k=c[j>>2]<<16;j=m;break c}case 1:{j=c[j>>2]|0;if((j|0)<0){k=0-(8192-j>>14)|0;j=m;break c}else{k=j+8192>>14;j=m;break c}}default:{k=c[j>>2]|0;j=m;break c}}}else{j=c[b+4>>2]|0;if(!j){k=0;j=m}else if(!(c[j>>2]|0)){c[j>>2]=130;k=0;j=c[r+48>>2]|0}else{k=0;j=m}}while(0);k=k+l|0;c[r+52>>2]=k;l=r+44|0}else{g=(c[r+40>>2]|0)-(c[d>>2]|0)|0;k=(c[r+44>>2]|0)-(c[e>>2]|0)|0;k=(((g|0)<0?0-g|0:g)|0)>(((k|0)<0?0-k|0:k)|0);d:do if((c[b+392>>2]|0)-(b+8)>>3>>>0>l>>>0)switch(c[b+8+(l<<3)+4>>2]|0){case 2:{j=c[b+8+(l<<3)>>2]<<16;break d}case 1:{j=c[b+8+(l<<3)>>2]|0;if((j|0)<0){j=0-(8192-j>>14)|0;break d}else{j=j+8192>>14;break d}}default:{j=c[b+8+(l<<3)>>2]|0;break d}}else{j=c[b+4>>2]|0;if(!j)j=0;else if(!(c[j>>2]|0)){c[j>>2]=130;j=0}else j=0}while(0);if(k){j=(c[r+40>>2]|0)+j|0;c[r+48>>2]=j;k=c[e>>2]|0;c[r+52>>2]=k;l=r+44|0;break}else{g=c[d>>2]|0;c[r+48>>2]=g;k=(c[r+44>>2]|0)+j|0;c[r+52>>2]=k;l=r+44|0;j=g;break}}while(0);oVa(f,c[r+8>>2]|0,c[r+12>>2]|0,c[r+16>>2]|0,c[r+20>>2]|0,c[r+24>>2]|0,c[r+28>>2]|0);oVa(f,c[r+32>>2]|0,c[r+36>>2]|0,c[r+40>>2]|0,c[l>>2]|0,j,k);c[b+392>>2]=b+8;c[d>>2]=j;c[e>>2]=k;i=r;return}function qVa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=c[a+532>>2]|0;c[e>>2]=0;c[e+4>>2]=0;if(!f)return 0;c[e>>2]=Gi[c[f+84>>2]&255](a,b,d)|0;return 0}function rVa(d,f,g,h,j){d=d|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;m=c[d+84>>2]|0;do if(c[d+8>>2]&8|0){if(!(h&16)){if(!(b[d+216+34>>1]|0))break;if(g|0){k=0;do{qi[c[(c[d+532>>2]|0)+112>>2]&15](d,0,k+f|0,o+2|0,o);c[j+(k<<2)>>2]=e[o>>1];k=k+1|0}while((k|0)!=(g|0))}}else{if(!(a[d+292>>0]|0))break;if(g|0){k=0;do{qi[c[(c[d+532>>2]|0)+112>>2]&15](d,1,k+f|0,o+2|0,o);c[j+(k<<2)>>2]=e[o>>1];k=k+1|0}while((k|0)!=(g|0))}}f=0;i=o;return f|0}while(0);if(!g){f=0;i=o;return f|0}l=(h&16|0)==0?m+56|0:m+60|0;n=0;while(1){k=YUa(m,c[d+88>>2]|0,n+f|0,h|256)|0;if(k|0){l=18;break}c[j+(n<<2)>>2]=c[l>>2];n=n+1|0;if(n>>>0>=g>>>0){k=0;l=18;break}}if((l|0)==18){i=o;return k|0}return 0}function sVa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;d=c[a>>2]|0;do if(c[d+8>>2]&2){if(Gi[c[(c[d+532>>2]|0)+104>>2]&255](d,b,k)|0){c[a+44>>2]=-1;d=c[a>>2]|0;break}tVa(a,c[k>>2]|0)|0;i=k;return 0}while(0);jSa(d,b);b=c[a>>2]|0;d=c[(c[b+656>>2]|0)+2952>>2]|0;b=dSa(c[(c[b+96>>2]|0)+4>>2]|0,591112)|0;if(!((d|0)!=0&(b|0)!=0)){i=k;return 0}d=c[d>>2]|0;if(!d){i=k;return 0}f=vi[d&2047](b)|0;if(!f){i=k;return 0}g=c[(c[a>>2]|0)+656>>2]|0;h=c[a+40>>2]|0;j=c[g+1392>>2]|0;qi[c[f+4>>2]&15](c[h>>2]|0,c[a+16>>2]|0,c[a+20>>2]|0,0,0);d=c[g+1896>>2]|0;if(!d){i=k;return 0}do{d=d+-1|0;e=c[(c[g+1900+(d<<2)>>2]|0)+68>>2]|0;b=c[a+16>>2]|0;if((j|0)==(e|0))e=c[a+20>>2]|0;else{b=F2a(b,j,e)|0;e=F2a(c[a+20>>2]|0,j,e)|0}qi[c[f+4>>2]&15](c[h+4+(d<<2)>>2]|0,b,e,0,0)}while((d|0)!=0);i=k;return 0}function tVa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;c[a+44>>2]=b;iSa(c[a>>2]|0,b);d=c[a>>2]|0;b=c[(c[d+656>>2]|0)+2952>>2]|0;d=dSa(c[(c[d+96>>2]|0)+4>>2]|0,591112)|0;if(!((b|0)!=0&(d|0)!=0))return 0;b=c[b>>2]|0;if(!b)return 0;f=vi[b&2047](d)|0;if(!f)return 0;g=c[(c[a>>2]|0)+656>>2]|0;h=c[a+40>>2]|0;i=c[g+1392>>2]|0;qi[c[f+4>>2]&15](c[h>>2]|0,c[a+16>>2]|0,c[a+20>>2]|0,0,0);b=c[g+1896>>2]|0;if(!b)return 0;do{b=b+-1|0;e=c[(c[g+1900+(b<<2)>>2]|0)+68>>2]|0;d=c[a+16>>2]|0;if((i|0)==(e|0))e=c[a+20>>2]|0;else{d=F2a(d,i,e)|0;e=F2a(c[a+20>>2]|0,i,e)|0}qi[c[f+4>>2]&15](c[h+4+(b<<2)>>2]|0,d,e,0,0)}while((b|0)!=0);return 0}function uVa(a){a=a|0;return 0}function vVa(a){a=a|0;return}function wVa(a,b){a=a|0;b=b|0;return HRa(49824,b)|0}function xVa(b){b=b|0;b=c[b+140>>2]|0;if(!b)return 0;else return ((a[b>>0]|0)==47?b+1|0:b)|0;return 0}function yVa(a,b){a=a|0;b=b|0;c[b>>2]=c[a+140+24>>2];c[b+4>>2]=c[a+140+24+4>>2];c[b+8>>2]=c[a+140+24+8>>2];c[b+12>>2]=c[a+140+24+12>>2];c[b+16>>2]=c[a+140+24+16>>2];c[b+20>>2]=c[a+140+24+20>>2];c[b+24>>2]=c[a+140+24+24>>2];c[b+28>>2]=c[a+140+24+28>>2];return 0}function zVa(a,c){a=a|0;c=c|0;b[c>>1]=b[a+312>>1]|0;return 0}function AVa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;if(b|0)c[b>>2]=c[a+152>>2];if(d|0)c[d>>2]=c[a+156>>2];if(!e)return 0;c[e>>2]=c[a+160>>2];return 0}function BVa(b,c){b=b|0;c=c|0;if(!c)return 0;a[c>>0]=1;return 0}function CVa(a,b,d){a=a|0;b=b|0;d=d|0;if(!d)return 0;c[d>>2]=b;return 0}function DVa(e,f,g,h,j){e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=i;i=i+384|0;c[f>>2]=1;do if(!(c[f+136>>2]|0)){h=xSa(c[(c[f+96>>2]|0)+4>>2]|0,591572)|0;if(!h){f=11;i=y;return f|0}else{c[f+136>>2]=h;break}}while(0);if(!(c[f+320>>2]|0))c[f+320>>2]=xSa(c[(c[f+96>>2]|0)+4>>2]|0,591112)|0;h=cTa(e,0)|0;if(h|0){f=h;i=y;return f|0}r=c[f+100>>2]|0;h=y+8|0;e=h+104|0;do{c[h>>2]=0;h=h+4|0}while((h|0)<(e|0));o=c[f+104>>2]|0;j=c[f+136>>2]|0;h=y+8|0;e=h+100|0;do{c[h>>2]=0;h=h+4|0}while((h|0)<(e|0));kj[c[c[j+4>>2]>>2]&127](y+8|0,0,0,r);c[y+8+72>>2]=o;n=eTa(o)|0;h=jTa(o,31)|0;a:do if(!h){x=(pmb(c[o+32>>2]|0,529337,31)|0)==0;lTa(o);if(x){w=y+8+76|0;q=y+8+12|0;b:while(1){e=eTa(o)|0;h=c[o+4>>2]|0;j=eTa(o)|0;if((h|0)==(j|0)){h=3;x=25;break}j=h-j|0;k=y+112|0;h=266;c:while(1){j=h>>>0>>0?h:j;h=fTa(o,k,j)|0;if(h|0){x=25;break b}if(j>>>0<256)a[k+j>>0]=0;k=k+j+-10|0;if((y+112|0)>>>0>>0){l=a[y+112>>0]|0;j=y+112|0;while(1){if(l<<24>>24==83)if(!(pmb(j,529369,9)|0)){h=e;x=19;break c}h=j+1|0;l=a[h>>0]|0;if(l<<24>>24==115)if(!(pmb(j,529379,6)|0)){h=e;x=23;break c}if(h>>>0>=k>>>0)break;else j=h}}else h=y+112|0;nBb(y+112|0,h|0,10)|0;h=c[o+4>>2]|0;j=eTa(o)|0;if((h|0)==(j|0)){h=3;x=25;break b}else{j=h-j|0;e=e+256|0;k=y+112+10|0;h=256}}if((x|0)==19){x=0;j=10-(y+112)+j|0}else if((x|0)==23){x=0;j=7-(y+112)+j|0}m=j+h|0;h=cTa(o,n)|0;if(h|0){x=39;break a}h=iTa(o,m-n|0,w)|0;if(h|0){x=39;break a}c[y+8+84>>2]=m;c[y+8+80>>2]=m-n;j=c[w>>2]|0;c[y+8+4>>2]=j;c[y+8>>2]=j;c[y+8+8>>2]=j+(m-n);c[y+8+96>>2]=-1;Hi[c[y+8+32>>2]&1023](y+8|0);Hi[c[y+8+28>>2]&1023](y+8|0);h=c[y+8>>2]|0;Hi[c[y+8+32>>2]&1023](y+8|0);Hi[c[y+8+28>>2]&1023](y+8|0);l=c[y+8+8>>2]|0;e=c[y+8>>2]|0;if(e>>>0>>0){k=h;while(1){h=c[q>>2]|0;if(h|0){x=39;break a}if((a[e>>0]|0)==83)if(!(pmb(e,529369,9)|0)){h=k;break b}if((a[e+1>>0]|0)==115)if(!(pmb(e,529379,6)|0)){h=2;x=39;break a}Hi[c[y+8+32>>2]&1023](y+8|0);Hi[c[y+8+28>>2]&1023](y+8|0);h=c[y+8>>2]|0;if(h>>>0>>0){v=e;j=k;e=h;k=v}else break}}kTa(o,w);h=cTa(o,m)|0;if(h|0){x=39;break a}}if((x|0)==25){x=39;break}if(!(pmb(j,529386,5)|0)){h=Ipb(h)|0;if((h|0)<0){h=3;x=39;break}c[y+8+88>>2]=h}c[y>>2]=0;o=c[w>>2]|0;p=c[y+8+80>>2]|0;c[y+8>>2]=o;c[y+8+8>>2]=o+p;c[q>>2]=0;h=o;d:while(1){c[y+8>>2]=h;Hi[c[y+8+28>>2]&1023](y+8|0);k=c[y+8>>2]|0;j=k>>>0<(o+p|0)>>>0?k+-17|0:o+p+-1+-17|0;if(h>>>0>>0)do{if((a[h>>0]|0)==37)if(!(pmb(h,529392,17)|0))if((c[f+300>>2]|0)>0)c[y+8+96>>2]=(c[y+8+96>>2]|0)+1;h=h+1|0}while((h|0)!=(j|0));if(k>>>0>=(o+p|0)>>>0){x=48;break}Hi[c[y+8+32>>2]&1023](y+8|0);n=c[y+8>>2]|0;h=c[q>>2]|0;if(!(n>>>0<(o+p|0)>>>0&(h|0)==0))break;if(!((k+2|0)>>>0<(o+p|0)>>>0&(a[k>>0]|0)==47)){h=n;continue}l=n-(k+1)|0;if(!((n|0)!=(k+1|0)&l>>>0<22)){h=n;continue}m=a[k+1>>0]|0;e:do if(l>>>0>1){h=529410;e=49900;while(1){f:do if(m<<24>>24==(a[h>>0]|0))if((l|0)==(rnb(h)|0)){j=1;while(1){if((a[k+1+j>>0]|0)!=(a[h+j>>0]|0))break f;j=j+1|0;if(j>>>0>=l>>>0)break e}}while(0);e=e+36|0;h=c[e>>2]|0;if(!h){h=n;continue d}}}else{h=529410;e=49900;while(1){if(m<<24>>24==(a[h>>0]|0))if((l|0)==(rnb(h)|0))break e;e=e+36|0;h=c[e>>2]|0;if(!h){h=n;continue d}}}while(0);j=c[e+8>>2]|0;do if((j|0)==11){si[c[e+12>>2]&511](f,y+8|0);h=c[q>>2]|0}else{switch(c[e+4>>2]|0){case 0:{h=f+140|0;break}case 3:{h=f+164|0;break}case 2:{h=f+312|0;break}case 5:{h=f+196|0;break}default:{h=c[y+8+96>>2]|0;if((h|0)<0){x=72;break d}if((h|0)>=(c[f+300>>2]|0)){x=72;break d}h=(c[f+304>>2]|0)+(h*252|0)|0}}c[y+112>>2]=h;if((j+-9|0)>>>0<2){h=Ci[c[y+8+68>>2]&127](y+8|0,e,y+112|0,0,0)|0;break}else{h=Ci[c[y+8+64>>2]&127](y+8|0,e,y+112|0,0,0)|0;break}}while(0);c[q>>2]=h;if(h|0){x=76;break}h=c[y+8>>2]|0}if((x|0)==48)h=c[q>>2]|0;else if((x|0)==72){c[q>>2]=160;h=160;x=76}if((x|0)==76){c[y>>2]=h;h=w;break}c[y>>2]=h;if((g|0)<0|(h|0)!=0)h=w;else{h=HTa(r,40,y)|0;c[f+328>>2]=h;if(!(c[y>>2]|0)){j=c[y+8+88>>2]|0;g:do if(!j){j=c[f+104>>2]|0;e=h+40|0;do{c[h>>2]=c[j>>2];h=h+4|0;j=j+4|0}while((h|0)<(e|0));c[f+308>>2]=c[y+8+84>>2]}else{n=HTa(r,j,y)|0;c[f+324>>2]=n;if(c[y>>2]|0){h=w;break a}o=c[y+8+88>>2]|0;p=c[f+104>>2]|0;h:do if(!(cTa(p,c[y+8+84>>2]|0)|0)){i:do if((o|0)>0){m=n;h=y+112|0;j=y+112|0;q=1;while(1){j:while(1){if(h>>>0>=j>>>0){j=eTa(p)|0;h=c[p+4>>2]|0;if((h|0)==(j|0))break h;if(fTa(p,y+112|0,(h-j|0)>>>0<256?h-j|0:256)|0)break h;h=y+112|0;j=y+112+(eTa(p)|0)+(0-j)|0}k=a[h>>0]|0;if(((k&255)+-48|0)>>>0<10){x=94;break}if((k+-97&255)<6){x=95;break}if((k+-65&255)<6){x=96;break}switch(k<<24>>24){case 62:{l=1;e=h;h=0;break j}case 0:case 12:case 10:case 13:case 9:case 32:break;default:break h}h=h+1|0}if((x|0)==94){x=0;l=0;e=h;h=(k&255)+208&255}else if((x|0)==95){x=0;l=0;e=h;h=(k&255)+159&255}else if((x|0)==96){x=0;l=0;e=h;h=(k&255)+201&255}if(!(q<<24>>24)){a[m>>0]=(d[m>>0]|0)+(h&255);h=m+1|0}else{a[m>>0]=(h&255)<<4;h=m}if(l<<24>>24)break i;if(h>>>0<(n+o|0)>>>0){m=h;h=e+1|0;q=1-(q&255)&255}else break}}while(0);aTa(c[f+328>>2]|0,c[f+324>>2]|0,c[y+8+88>>2]|0);c[f+308>>2]=0;break g}while(0);h=w;break a}while(0);v=c[f+100>>2]|0;s=c[f+328>>2]|0;t=c[f+136>>2]|0;j=JTa(v,8,0,c[f+300>>2]|0,0,y+112|0)|0;c[f+316>>2]=j;k:do if(!(c[y+112>>2]|0))if((c[f+300>>2]|0)>0){e=0;u=0;h=0;l:while(1){k=c[f+304>>2]|0;p=c[k+(u*252|0)+4>>2]|0;r=c[k+(u*252|0)+240>>2]|0;if((r|0)==-1){x=109;break}if((r+1|0)>>>0>e>>>0){if((r+4&-4)>>>0<=e>>>0){x=112;break}h=JTa(v,4,e,r+4&-4,h,y+112|0)|0;if(!(c[y+112>>2]|0))q=r+4&-4;else break}else q=e;o=cTa(s,(c[k+(u*252|0)+244>>2]|0)+(c[f+308>>2]|0)|0)|0;c[y+112>>2]=o;if(o|0)break;e=k+(u*252|0)+248|0;o=jTa(s,_(c[e>>2]|0,r+1|0)|0)|0;c[y+112>>2]=o;if(o|0)break;n=c[e>>2]|0;if(!((n&255)<<24>>24)){e=0;do{c[h+(e<<2)>>2]=0;e=e+1|0}while(e>>>0<=r>>>0)}else{o=0;e=c[s+32>>2]|0;while(1){m=e;l=n&255;e=m;k=0;while(1){k=d[e>>0]|k<<8;l=l+-1<<24>>24;if(!(l<<24>>24))break;else e=e+1|0}c[h+(o<<2)>>2]=k;o=o+1|0;if(o>>>0>r>>>0)break;else e=m+((n+255&255)+1)|0}}lTa(s);e=c[h>>2]|0;if(r|0){k=e;l=1;do{o=k;k=c[h+(l<<2)>>2]|0;l=l+1|0;if(o>>>0>k>>>0)break l}while(l>>>0<=r>>>0)}e=(c[h+(r<<2)>>2]|0)-e|0;m=j+4|0;c[m>>2]=JTa(v,4,0,r+1|0,0,y+112|0)|0;if(c[y+112>>2]|0)break;o=HTa(v,e,y+112|0)|0;c[c[m>>2]>>2]=o;if(c[y+112>>2]|0)break;o=cTa(s,(c[h>>2]|0)+(c[f+308>>2]|0)|0)|0;c[y+112>>2]=o;if(o|0)break;o=fTa(s,c[c[m>>2]>>2]|0,e)|0;c[y+112>>2]=o;if(o|0)break;do if(r|0){l=c[h>>2]|0;e=l;k=1;do{n=e;e=c[h+(k<<2)>>2]|0;o=c[m>>2]|0;c[o+(k<<2)>>2]=(c[o+(k+-1<<2)>>2]|0)+(e-n);k=k+1|0}while(k>>>0<=r>>>0);if((p|0)<=-1)break;e=h+4|0;$i[c[t+16>>2]&255](c[c[m>>2]>>2]|0,(c[e>>2]|0)-l|0,4330);if((r|0)==1)break;else k=1;do{o=k;k=k+1|0;p=e;e=h+(k<<2)|0;$i[c[t+16>>2]&255](c[(c[m>>2]|0)+(o<<2)>>2]|0,(c[e>>2]|0)-(c[p>>2]|0)|0,4330)}while((k|0)!=(r|0))}while(0);c[j>>2]=r;u=u+1|0;if((u|0)>=(c[f+300>>2]|0))break k;else{e=q;j=j+8|0}}if((x|0)==109)c[y+112>>2]=160;else if((x|0)==112)c[y+112>>2]=160;j=c[f+316>>2]|0;if(j){if((c[f+300>>2]|0)>0){k=0;do{e=c[j+(k<<3)+4>>2]|0;if(e){LTa(v,c[e>>2]|0);c[c[(c[f+316>>2]|0)+(k<<3)+4>>2]>>2]=0;j=c[f+316>>2]|0}LTa(v,c[j+(k<<3)+4>>2]|0);j=c[f+316>>2]|0;c[j+(k<<3)+4>>2]=0;k=k+1|0}while((k|0)<(c[f+300>>2]|0))}LTa(v,j);c[f+316>>2]=0}}else h=0;else h=0;while(0);LTa(v,h);c[y>>2]=c[y+112>>2];h=w}else h=w}}else{h=2;x=39}}else x=39;while(0);if((x|0)==39){c[y>>2]=h;h=y+8+76|0}if(c[h>>2]|0)kTa(c[y+8+72>>2]|0,h);Hi[c[y+8+24>>2]&1023](y+8|0);h=c[y>>2]|0;if((g|0)<0|(h|0)!=0){f=h;i=y;return f|0}if(g|0){f=6;i=y;return f|0}c[f+16>>2]=c[f+140+156>>2];c[f+36>>2]=0;c[f+4>>2]=0;h=c[f+8>>2]|0;c[f+8>>2]=h|2065;m=c[f+140+48>>2]|0;if((m&255)<<24>>24)c[f+8>>2]=h|2069;j=c[f+140+36>>2]|0;c[f+20>>2]=j;c[f+24>>2]=591905;m:do if(!j){h=c[f+140>>2]|0;if(h|0)c[f+20>>2]=h}else{h=c[f+140+32>>2]|0;if(h|0){e=a[h>>0]|0;if(e<<24>>24){n:while(1){l=e<<24>>24==0;o:while(1){k=a[j>>0]|0;if(e<<24>>24==k<<24>>24){x=155;break}switch(e<<24>>24){case 45:case 32:break o;default:{}}switch(k<<24>>24){case 0:break n;case 45:case 32:break;default:break m}if(l)break m;else j=j+1|0}if((x|0)==155){x=0;j=j+1|0}h=h+1|0;e=a[h>>0]|0;if(!(e<<24>>24))break m}c[f+24>>2]=h}}}while(0);h=(c[f+140+44>>2]|0)!=0&1;c[f+12>>2]=h;j=c[f+140+40>>2]|0;do if(j|0){if(Imb(j,591925)|0)if(Imb(j,591477)|0)break;c[f+12>>2]=h|2}while(0);c[f+28>>2]=0;c[f+32>>2]=0;c[f+52>>2]=c[f+140+56>>2]>>16;j=c[f+140+60>>2]>>16;c[f+56>>2]=j;c[f+60>>2]=(c[f+140+64>>2]|0)+65535>>16;e=(c[f+140+68>>2]|0)+65535>>16;c[f+64>>2]=e;h=b[f+68>>1]|0;if(!(h<<16>>16)){b[f+68>>1]=1e3;h=1e3}b[f+70>>1]=e;b[f+72>>1]=j;g=(((h&65535)*12|0)>>>0)/10|0;b[f+74>>1]=(g<<16>>16|0)<(e-j|0)?e-j|0:g;b[f+80>>1]=m>>>16;b[f+82>>1]=b[f+140+52>>1]|0;f=0;i=y;return f|0}function EVa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+16|0;d=c[a+100>>2]|0;c[f>>2]=0;e=vi[c[b+36>>2]&2047](b)|0;if((e|0)<0){c[f>>2]=3;i=f;return}if(c[a+304>>2]|0){i=f;return}d=JTa(d,252,0,e,0,f)|0;c[a+304>>2]=d;if(c[f>>2]|0){i=f;return}c[a+300>>2]=e;if((e|0)>0)b=0;else{i=f;return}do{c[d+(b*252|0)+4>>2]=4;b=b+1|0}while((b|0)<(e|0));i=f;return}function FVa(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;j=i;i=i+32|0;g=c[d+96>>2]|0;if((g|0)<=-1){i=j;return}if((g|0)>=(c[a+300>>2]|0)){i=j;return}h=c[a+304>>2]|0;if((cj[c[d+52>>2]&127](d,6,j,3)|0)<6){i=j;return}d=c[j+12>>2]|0;d=(d|0)<0?0-d|0:d;if(!d){i=j;return}b[a+68>>1]=I2a(1e3,d)|0;if((d|0)==65536){d=j+8|0;a=j+16|0;e=j+20|0;f=j+4|0}else{c[j>>2]=I2a(c[j>>2]|0,d)|0;c[j+4>>2]=I2a(c[j+4>>2]|0,d)|0;c[j+8>>2]=I2a(c[j+8>>2]|0,d)|0;c[j+16>>2]=I2a(c[j+16>>2]|0,d)|0;c[j+20>>2]=I2a(c[j+20>>2]|0,d)|0;c[j+12>>2]=c[j+12>>2]>>31&-131072|65536;d=j+8|0;a=j+16|0;e=j+20|0;f=j+4|0}c[h+(g*252|0)+216>>2]=c[j>>2];c[h+(g*252|0)+224>>2]=c[f>>2];c[h+(g*252|0)+220>>2]=c[d>>2];c[h+(g*252|0)+228>>2]=c[j+12>>2];c[h+(g*252|0)+232>>2]=c[a>>2]>>16;c[h+(g*252|0)+236>>2]=c[e>>2]>>16;i=j;return}function GVa(a,b){a=a|0;b=b|0;var d=0;d=c[b+96>>2]|0;if((d|0)<=-1)return;if((d|0)>=(c[a+300>>2]|0))return;a=c[a+304>>2]|0;b=Xi[c[b+40>>2]&511](b,0)|0;c[a+(d*252|0)+208>>2]=b;c[a+(d*252|0)+180>>2]=b;return}function HVa(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;if(!a)return;g=c[a+100>>2]|0;b=c[a+316>>2]|0;if(b|0){d=c[a+140+160>>2]|0;if((d|0)>0){f=0;while(1){b=b+(f<<3)+4|0;e=c[b>>2]|0;if(e){LTa(g,c[e>>2]|0);c[c[b>>2]>>2]=0;LTa(g,c[b>>2]|0);c[b>>2]=0;d=c[a+140+160>>2]|0}e=f+1|0;if((e|0)>=(d|0))break;b=c[a+316>>2]|0;f=e}b=c[a+316>>2]|0}LTa(g,b);c[a+316>>2]=0}LTa(g,c[a+140+24>>2]|0);c[a+140+24>>2]=0;LTa(g,c[a+140+28>>2]|0);c[a+140+28>>2]=0;LTa(g,c[a+140+32>>2]|0);c[a+140+32>>2]=0;LTa(g,c[a+140+36>>2]|0);c[a+140+36>>2]=0;LTa(g,c[a+140+40>>2]|0);c[a+140+40>>2]=0;LTa(g,c[a+140+164>>2]|0);c[a+140+164>>2]=0;c[a+140+160>>2]=0;LTa(g,c[a+140>>2]|0);c[a+140>>2]=0;LTa(g,c[a+140+12>>2]|0);c[a+140+12>>2]=0;LTa(g,c[a+140+16>>2]|0);c[a+140+16>>2]=0;c[a+20>>2]=0;c[a+24>>2]=0;LTa(g,c[a+324>>2]|0);c[a+324>>2]=0;LTa(g,c[a+328>>2]|0);c[a+328>>2]=0;return}function IVa(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;d=c[a>>2]|0;b=c[d+320>>2]|0;d=dSa(c[(c[d+96>>2]|0)+4>>2]|0,591112)|0;if(!((b|0)!=0&(d|0)!=0)){a=0;i=e;return a|0}b=c[b>>2]|0;if(!b){a=0;i=e;return a|0}b=vi[b&2047](d)|0;if(!b){a=0;i=e;return a|0}d=c[a>>2]|0;b=Gi[c[b>>2]&255](c[d+100>>2]|0,(c[d+140+164>>2]|0)+((c[d+4>>2]|0)*252|0)|0,e)|0;if(!b)c[a+40>>2]=c[e>>2];a=b;i=e;return a|0}function JVa(a){a=a|0;var b=0,d=0;if(!(c[a+40>>2]|0))return;d=c[a>>2]|0;b=c[d+320>>2]|0;d=dSa(c[(c[d+96>>2]|0)+4>>2]|0,591112)|0;if((b|0)!=0&(d|0)!=0){b=c[b>>2]|0;if(b|0){b=vi[b&2047](d)|0;if(b|0)Hi[c[b+8>>2]&1023](c[a+40>>2]|0)}}c[a+40>>2]=0;return}function KVa(a){a=a|0;var b=0,d=0;b=c[a+4>>2]|0;d=c[b+320>>2]|0;if(!d)return 0;b=dSa(c[(c[b+96>>2]|0)+4>>2]|0,591112)|0;if(!b)return 0;d=vi[c[d+4>>2]&2047](b)|0;c[(c[a+156>>2]|0)+36>>2]=d;return 0}function LVa(a){a=a|0;c[(c[a+156>>2]|0)+36>>2]=0;return}function MVa(d,f,g,h){d=d|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+1552|0;j=c[d+4>>2]|0;k=c[j+136>>2]|0;if((c[j+16>>2]|0)>>>0<=g>>>0){d=6;i=o;return d|0}n=(h&1024|0)==0?h:h|3;c[d+164>>2]=c[f+16>>2];c[d+168>>2]=c[f+20>>2];b[d+110>>1]=0;b[d+108>>1]=0;if(!(n&1))l=(n>>>1&1^1)&255;else l=0;c[d+72>>2]=1869968492;h=ri[c[c[k+12>>2]>>2]&3](o+40|0,j,f,d,0,0,l,n>>>16&15,356)|0;if(h|0){d=h;i=o;return d|0}a[o+40+69>>0]=(n&1024)>>>10;h=NVa(o+40|0,g)|0;if(h|0){d=h;i=o;return d|0}c[o+24>>2]=c[o+40+1376>>2];c[o+24+4>>2]=c[o+40+1376+4>>2];c[o+24+8>>2]=c[o+40+1376+8>>2];c[o+24+12>>2]=c[o+40+1376+12>>2];h=c[o+40+1392>>2]|0;g=c[o+40+1396>>2]|0;Hi[c[(c[k+12>>2]|0)+4>>2]&1023](o+40|0);c[d+124>>2]=c[d+124>>2]&1|4;if(n&1024|0){n=c[d+156>>2]|0;c[d+32>>2]=(D2a(c[o+40+32>>2]|0)|0)>>16;c[d+40>>2]=(D2a(c[o+40+40>>2]|0)|0)>>16;c[n+12>>2]=c[o+24>>2];c[n+12+4>>2]=c[o+24+4>>2];c[n+12+8>>2]=c[o+24+8>>2];c[n+12+12>>2]=c[o+24+12>>2];c[n+28>>2]=h;c[n+32>>2]=g;a[n+8>>0]=1;d=0;i=o;return d|0}c[d+40>>2]=(D2a(c[o+40+40>>2]|0)|0)>>16;c[d+56>>2]=(D2a(c[o+40+40>>2]|0)|0)>>16;a[(c[d+156>>2]|0)+8>>0]=0;k=(c[j+208>>2]|0)-(c[j+200>>2]|0)>>16;c[d+52>>2]=k;c[d+60>>2]=k;c[d+72>>2]=1869968492;if((e[f+14>>1]|0)<24)c[d+124>>2]=c[d+124>>2]|256;KSa(d+108|0,o+24|0);ISa(d+108|0,h,g);c[o>>2]=c[d+40>>2];c[o+4>>2]=0;JSa(o,o+24|0);c[d+40>>2]=(c[o>>2]|0)+h;c[o>>2]=0;c[o+4>>2]=c[d+52>>2];JSa(o,o+24|0);c[d+52>>2]=(c[o+4>>2]|0)+g;if(!(n&1)){h=c[o+40+16>>2]|0;j=c[h+4>>2]|0;k=c[d+164>>2]|0;f=c[d+168>>2]|0;if(!(l<<24>>24))m=13;else if(!(c[o+40+72>>2]|0))m=13;if((m|0)==13){h=b[h+2>>1]|0;if(h<<16>>16>0){g=h<<16>>16;h=j;while(1){c[h>>2]=H2a(c[h>>2]|0,k)|0;m=h+4|0;c[m>>2]=H2a(c[m>>2]|0,f)|0;if((g|0)>1){g=g+-1|0;h=h+8|0}else break}}}c[d+40>>2]=H2a(c[d+40>>2]|0,k)|0;c[d+52>>2]=H2a(c[d+52>>2]|0,f)|0}HSa(d+108|0,o+8|0);l=c[o+8>>2]|0;c[d+24>>2]=(c[o+8+8>>2]|0)-l;m=c[o+8+12>>2]|0;c[d+28>>2]=m-(c[o+8+4>>2]|0);c[d+32>>2]=l;c[d+36>>2]=m;if(n&16|0)hSa(d+24|0,c[d+52>>2]|0);d=0;i=o;return d|0}function NVa(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+32|0;o=c[a+4>>2]|0;n=c[o+328>>2]|0;c[s+16>>2]=0;p=c[o+100>>2]|0;q=c[o+136>>2]|0;r=c[(c[o+128>>2]|0)+48>>2]|0;do if(r|0){e=Gi[c[c[r>>2]>>2]&255](c[r+4>>2]|0,b,s)|0;c[s+16>>2]=e;if(!e){j=c[o+288>>2]|0;if(!((j&255)<<24>>24))h=0;else{f=j&255;g=c[s>>2]|0;e=0;while(1){e=d[g>>0]|0|e<<8;f=f+-1<<24>>24;if(!(f<<24>>24)){h=e;break}else g=g+1|0}}f=c[s+4>>2]|0;if(!f){g=0;f=0}else{e=HTa(p,f-j|0,s+16|0)|0;if(!(c[s+16>>2]|0)){mBb(e|0,(c[s>>2]|0)+(c[o+288>>2]|0)|0,f-j|0)|0;g=e;f=f-j|0}else{g=e;f=f-j|0}}si[c[(c[r>>2]|0)+4>>2]&511](c[r+4>>2]|0,s);e=c[s+16>>2]|0;if(!e){e=h;break}}b=e;i=s;return b|0}else{e=(c[o+292>>2]|0)+(c[o+288>>2]|0)|0;f=cTa(n,(c[o+284>>2]|0)+(c[o+308>>2]|0)+(_(e,b)|0)|0)|0;c[s+16>>2]=f;if(f|0){b=f;i=s;return b|0}e=jTa(n,e<<1)|0;c[s+16>>2]=e;if(e|0){b=e;i=s;return b|0}g=c[n+32>>2]|0;l=c[o+288>>2]|0;if(!((l&255)<<24>>24))m=0;else{f=l&255;h=g;e=0;while(1){e=d[h>>0]|0|e<<8;f=f+-1<<24>>24;if(!(f<<24>>24))break;else h=h+1|0}g=g+((l+255&255)+1)|0;m=e}k=c[o+292>>2]|0;if(!((k&255)<<24>>24)){h=0;e=0}else{e=k&255;f=g;h=0;while(1){h=d[f>>0]|0|h<<8;e=e+-1<<24>>24;if(!(e<<24>>24))break;else f=f+1|0}if(!((k&255)<<24>>24))e=0;else{j=k&255;f=g+((k+255&255)+1)+l|0;e=0;while(1){e=d[f>>0]|0|e<<8;j=j+-1<<24>>24;if(!(j<<24>>24))break;else f=f+1|0}}}f=e-h|0;lTa(n);if(m>>>0>=(c[o+300>>2]|0)>>>0){c[s+16>>2]=9;b=9;i=s;return b|0}if((e|0)==(h|0)){b=0;i=s;return b|0}g=HTa(p,f,s+16|0)|0;e=c[s+16>>2]|0;if(e|0){b=e;i=s;return b|0}e=gTa(n,(c[o+308>>2]|0)+h|0,g,f)|0;c[s+16>>2]=e;if(!e)e=m;else{b=e;i=s;return b|0}}while(0);m=c[o+316>>2]|0;c[a+1364>>2]=c[m+(e<<3)>>2];c[a+1368>>2]=c[m+(e<<3)+4>>2];c[a+1372>>2]=0;o=c[o+304>>2]|0;m=o+(e*252|0)+216|0;c[a+1376>>2]=c[m>>2];c[a+1376+4>>2]=c[m+4>>2];c[a+1376+8>>2]=c[m+8>>2];c[a+1376+12>>2]=c[m+12>>2];m=o+(e*252|0)+232|0;n=c[m+4>>2]|0;c[a+1392>>2]=c[m>>2];c[a+1392+4>>2]=n;o=c[o+(e*252|0)+4>>2]|0;c[a+1360>>2]=o;e=(o|0)>-1?o:0;if((o|0)>-1)$i[c[q+16>>2]&255](g,f,4330);c[s+16>>2]=Gi[c[a+1484>>2]&255](a,g+e|0,f-e|0)|0;LTa(p,g);e=c[s+16>>2]|0;if(!((r|0)!=0&(e|0)==0)){b=e;i=s;return b|0}if(!(c[(c[r>>2]|0)+8>>2]|0)){b=0;i=s;return b|0}c[s>>2]=(D2a(c[a+32>>2]|0)|0)>>16;c[s+4>>2]=0;c[s+8>>2]=(D2a(c[a+40>>2]|0)|0)>>16;c[s+12>>2]=(D2a(c[a+44>>2]|0)|0)>>16;b=cj[c[(c[r>>2]|0)+8>>2]&127](c[r+4>>2]|0,b,0,s)|0;c[s+16>>2]=b;c[a+32>>2]=c[s>>2]<<16;c[a+40>>2]=c[s+8>>2]<<16;c[a+44>>2]=c[s+12>>2]<<16;i=s;return b|0}function OVa(a,b){a=a|0;b=b|0;var d=0;jSa(c[a>>2]|0,b);d=c[a>>2]|0;b=c[d+320>>2]|0;d=dSa(c[(c[d+96>>2]|0)+4>>2]|0,591112)|0;if(!((b|0)!=0&(d|0)!=0))return 0;b=c[b>>2]|0;if(!b)return 0;b=vi[b&2047](d)|0;if(!b)return 0;qi[c[b+4>>2]&15](c[a+40>>2]|0,c[a+16>>2]|0,c[a+20>>2]|0,0,0);return 0}function PVa(a,b){a=a|0;b=b|0;return HRa(51832,b)|0}function QVa(a,b,d){a=a|0;b=b|0;d=d|0;c[b>>2]=c[a+176>>2];c[d>>2]=c[a+180>>2];return 0}function RVa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;g=c[b+284>>2]|0;b=c[b+280>>2]|0;if((b|0)>0)f=0;else{e=6;return e|0}do{h=f;f=f+1|0;h=(Imb(c[g+(h*12|0)>>2]|0,d)|0)!=0}while((f|0)<(b|0)&h);b=g+(f*12|0)+-12|0;if(h){e=6;return e|0}if(!(a[b+4>>0]|0)){c[e>>2]=2;c[e+4>>2]=c[b+8>>2];e=0;return e|0}else{c[e>>2]=1;c[e+4>>2]=c[b+8>>2];e=0;return e|0}return 0}function SVa(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0;j=i;i=i+16|0;a:do if(TVa(d,e)|0){VVa(e);g=W2a(e+132|0,d)|0;do if((g&255|0)!=7){if(g|0){h=k3a(e+132|0,d)|0;if(!((h|0)==0&(h&255|0)!=7))break}c[e+172>>2]=d;c[e+104>>2]=e+132;if(!(TVa(e+132|0,e)|0))break a}while(0);VVa(e);e=2;i=j;return e|0}while(0);if((f|0)>0){VVa(e);e=6;i=j;return e|0}g=c[e+180>>2]|0;h=c[e+176>>2]|0;b:do if((g|0)!=0&(h|0)!=0){switch(a[g>>0]|0){case 73:case 105:break;default:{g=1;break b}}switch(a[g+1>>0]|0){case 83:case 115:break;default:{g=1;break b}}switch(a[g+2>>0]|0){case 79:case 111:break;default:{g=1;break b}}if(Imb(g+3|0,529738)|0){if(Imb(g+3|0,529744)|0){g=1;break}if(Imb(h,529749)|0){g=1;break}}g=0}else g=1;while(0);c[j>>2]=e;c[j+4>>2]=0;b[j+8>>1]=0;b[j+10>>1]=0;if(!g){c[j+4>>2]=1970170211;b[j+8>>1]=3;b[j+10>>1]=1}e=qSa(51864,0,j,0)|0;i=j;return e|0}function TVa(e,f){e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;x=i;i=i+32|0;w=c[f+100>>2]|0;v=cTa(e,0)|0;c[x+24>>2]=v;a:do if(!v){v=xTa(e,170108,f+184|0)|0;c[x+24>>2]=v;if(!v)if((c[f+184>>2]|0)==1885562369){g=c[f+188>>2]|0;if((g+-1|0)>>>0>134217726){g=3;v=31}else{g=JTa(w,16,0,g,0,x+24|0)|0;c[f+192>>2]=g;if(!(c[x+24>>2]|0)){b:do if(!(c[f+188>>2]|0)){h=0;v=11}else{j=0;while(1){v=xTa(e,170124,g)|0;c[x+24>>2]=v;if(v|0){v=33;break b}j=j+1|0;h=c[f+188>>2]|0;if(j>>>0>=h>>>0)break;else g=g+16|0}g=c[f+192>>2]|0;if((h|0)==1){l=c[e+4>>2]|0;h=1;m=g;v=27}else v=11}while(0);c:do if((v|0)==11){q=g+12|0;p=0;d:do{o=~p;p=p+1|0;if((h|0)==(p|0))break;l=c[q>>2]|0;j=0;n=0;while(1){m=n;n=n+1|0;h=g+(n<<4)+12|0;k=c[h>>2]|0;if(l>>>0>k>>>0){k=g+(n<<4)|0;j=g+(m<<4)|0;c[x+8>>2]=c[j>>2];c[x+8+4>>2]=c[j+4>>2];c[x+8+8>>2]=c[j+8>>2];c[x+8+12>>2]=c[j+12>>2];c[j>>2]=c[k>>2];c[j+4>>2]=c[k+4>>2];c[j+8>>2]=c[k+8>>2];c[j+12>>2]=c[k+12>>2];c[k>>2]=c[x+8>>2];c[k+4>>2]=c[x+8+4>>2];c[k+8>>2]=c[x+8+8>>2];c[k+12>>2]=c[x+8+12>>2];k=c[h>>2]|0;j=1}h=c[g+(m<<4)+8>>2]|0;if(k>>>0>>0){v=19;break d}if((c[g+(m<<4)+12>>2]|0)>>>0>(k-h|0)>>>0){v=19;break d}h=c[f+188>>2]|0;if(n>>>0>=(h+o|0)>>>0)break;else l=k}}while((j|0)!=0&p>>>0<(h+-1|0)>>>0);if((v|0)==19){c[x+24>>2]=9;v=33;break}n=c[f+192>>2]|0;k=c[e+4>>2]|0;if((h|0)==1){l=k;m=n;g=n;v=27}else{l=h+-1|0;m=0;g=n;while(1){j=c[g+8>>2]|0;if(k>>>0>>0)break;if((c[g+12>>2]|0)>>>0>(k-j|0)>>>0)break;g=g+16|0;m=m+1|0;if(m>>>0>=l>>>0){l=k;m=n;v=27;break c}}c[x+24>>2]=8;v=33}}while(0);do if((v|0)==27){j=c[g+12>>2]|0;if(l>>>0>>0){c[x+24>>2]=8;v=33;break}k=g+8|0;g=l-j|0;if((c[k>>2]|0)>>>0>g>>>0)c[k>>2]=g;c[x>>2]=0;k=m}while(0);if((v|0)==33){LTa(w,c[f+192>>2]|0);c[f+192>>2]=0;u=c[x+24>>2]|0;c[x>>2]=u;if(u|0)break;h=c[f+188>>2]|0;k=0}p=c[f+100>>2]|0;e:do if(!h){g=3;v=40}else{g=0;while(1){if((c[k+(g<<4)>>2]|0)==1)break;g=g+1|0;if(g>>>0>=h>>>0){g=3;v=40;break e}}h=c[e+8>>2]|0;j=c[k+(g<<4)+12>>2]|0;if(j>>>0>>0){g=83;v=40}else if(!(dTa(e,j-h|0)|0)){k=c[k+(g<<4)+8>>2]|0;c[x+24>>2]=0;j=wTa(e,x+24|0)|0;if(j>>>0<256&(c[x+24>>2]|0)==0){if(!(j&4))o=wTa(e,x+24|0)|0;else o=vTa(e,x+24|0)|0;if(!(c[x+24>>2]|0)){if(o>>>0>((k>>>0)/9|0)>>>0){c[x+24>>2]=8;h=0;g=0;break}c[f+280>>2]=o;h=JTa(p,12,0,o,0,x+24|0)|0;if(!(c[x+24>>2]|0)){n=(o|0)==0;do if(!n){if(!(j&4)){g=0;do{u=xTa(e,170148,h+(g*12|0)|0)|0;c[x+24>>2]=u;if(u|0){g=0;break e}g=g+1|0}while(g>>>0>>0)}else{g=0;do{u=xTa(e,170168,h+(g*12|0)|0)|0;c[x+24>>2]=u;if(u|0){g=0;break e}g=g+1|0}while(g>>>0>>0)}g=o&3;if(g|0){u=dTa(e,4-g|0)|0;c[x+24>>2]=u;if(!u)break;c[x+24>>2]=83;g=0;break e}}while(0);if(!(j&4))m=wTa(e,x+24|0)|0;else m=vTa(e,x+24|0)|0;if(!(c[x+24>>2]|0)){if(m>>>0>((_(o,-9)|0)+k|0)>>>0){c[x+24>>2]=8;g=0;break}g=JTa(p,1,0,m+1|0,0,x+24|0)|0;if(c[x+24>>2]|0)break;u=fTa(e,g,m)|0;c[x+24>>2]=u;if(u|0)break;l=JTa(p,12,0,o,0,x+24|0)|0;if(c[x+24>>2]|0)break;c[f+284>>2]=l;f:do if(!n){k=0;while(1){j=c[h+(k*12|0)>>2]|0;if((j|0)<0|j>>>0>m>>>0){v=69;break}c[l+(k*12|0)>>2]=MTa(p,g+j|0,x+24|0)|0;if(c[x+24>>2]|0)break e;u=a[h+(k*12|0)+4>>0]|0;a[l+(k*12|0)+4>>0]=u;j=c[h+(k*12|0)+8>>2]|0;if(!(u<<24>>24))c[l+(k*12|0)+8>>2]=j;else{if((j|0)<0|j>>>0>m>>>0){v=73;break}c[l+(k*12|0)+8>>2]=MTa(p,g+j|0,x+24|0)|0;if(c[x+24>>2]|0)break e}k=k+1|0;if(k>>>0>=o>>>0)break f}if((v|0)==69){c[x+24>>2]=9;break e}else if((v|0)==73){c[x+24>>2]=9;break e}}while(0);c[x+24>>2]=0}else g=0}else g=0}else{h=0;g=0}}else{h=0;g=0}}else{g=83;v=40}}while(0);if((v|0)==40){c[x+24>>2]=g;h=0;g=0}LTa(p,h);LTa(p,g);u=c[x+24>>2]|0;c[x>>2]=u;if(!u){j=c[f+192>>2]|0;g=c[f+188>>2]|0;g:do if(!g)v=82;else{h=0;while(1){if((c[j+(h<<4)>>2]|0)==256){s=1;break g}h=h+1|0;if(h>>>0>=g>>>0){v=82;break}}}while(0);if((v|0)==82){u=UVa(e,f,2)|0;c[x>>2]=u;if(u|0)break;g=c[f+188>>2]|0;j=c[f+192>>2]|0;s=0}m=c[f+100>>2]|0;h:do if(!g){g=3;v=89}else{h=0;while(1){if((c[j+(h<<4)>>2]|0)==4)break;h=h+1|0;if(h>>>0>=g>>>0){g=3;v=89;break h}}g=c[e+8>>2]|0;k=c[j+(h<<4)+12>>2]|0;if(k>>>0>>0){g=83;v=89}else if(!(dTa(e,k-g|0)|0)){h=c[j+(h<<4)+8>>2]|0;c[x+8>>2]=0;j=wTa(e,x+8|0)|0;g=c[x+8>>2]|0;if(!g){switch(j&-256|0){case 256:case 0:break;default:{g=3;break h}}do if(j>>>0<256)if(j&4|0){l=vTa(e,x+8|0)|0;break}else{l=wTa(e,x+8|0)|0;break}else if(j&4|0){l=(sTa(e,x+8|0)|0)&65535;break}else{l=(tTa(e,x+8|0)|0)&65535;break}while(0);if(!(c[x+8>>2]|0)){c[f+288>>2]=l;if(!l)g=8;else{if(j>>>0<256){if(l>>>0>((h>>>0)/12|0)>>>0){g=8;break}}else if(l>>>0>((h>>>0)/5|0)>>>0){g=8;break}g=JTa(m,16,0,l,0,x+8|0)|0;c[f+292>>2]=g;if(!(c[x+8>>2]|0)){k=j&4|0?170292:170324;i:do if(j>>>0<256){j=0;while(1){u=xTa(e,k,g)|0;c[x+8>>2]=u;c[g+12>>2]=0;if(u|0){v=120;break i}if((b[g+2>>1]|0)<(b[g>>1]|0)){h=g+8|0;v=110}else{h=g+8|0;if(((b[h>>1]|0)+(b[g+6>>1]|0)|0)<0)v=110}if((v|0)==110){v=0;u=g;c[u>>2]=0;c[u+4>>2]=0;b[h>>1]=0}j=j+1|0;if(j>>>0>=l>>>0){v=119;break}else g=g+16|0}}else{k=0;while(1){h=xTa(e,170356,x+24|0)|0;if(h|0)break;b[g>>1]=(d[x+24>>0]|0)+65408;u=g+2|0;b[u>>1]=(d[x+24+1>>0]|0)+65408;b[g+4>>1]=(d[x+24+2>>0]|0)+65408;h=g+6|0;b[h>>1]=(d[x+24+3>>0]|0)+65408;j=g+8|0;b[j>>1]=(d[x+24+4>>0]|0)+65408;b[g+10>>1]=0;c[x+8>>2]=0;c[g+12>>2]=0;if((b[u>>1]|0)<(b[g>>1]|0))v=115;else if(((b[j>>1]|0)+(b[h>>1]|0)|0)<0)v=115;if((v|0)==115){v=0;c[g>>2]=0;c[g+4>>2]=0;b[g+8>>1]=0}k=k+1|0;if(k>>>0>=l>>>0){v=119;break i}else g=g+16|0}c[x+8>>2]=h;c[g+12>>2]=0;v=120}while(0);if((v|0)==119)c[x>>2]=0;else if((v|0)==120){LTa(m,c[f+292>>2]|0);c[f+292>>2]=0;u=c[x+8>>2]|0;c[x>>2]=u;if(u|0)break a}n=c[f+100>>2]|0;k=c[f+192>>2]|0;g=c[f+188>>2]|0;j:do if(!g){g=3;v=126}else{h=0;while(1){if((c[k+(h<<4)>>2]|0)==8)break;h=h+1|0;if(h>>>0>=g>>>0){g=3;v=126;break j}}g=c[e+8>>2]|0;j=c[k+(h<<4)+12>>2]|0;if(j>>>0>>0){g=83;v=126;break}if(dTa(e,j-g|0)|0){g=83;v=126;break}m=c[k+(h<<4)+8>>2]|0;g=jTa(e,8)|0;c[x+24>>2]=g;if(g|0)break;j=qTa(e)|0;if(!(j&4))l=qTa(e)|0;else l=pTa(e)|0;lTa(e);if(j>>>0>=256){g=3;break}if((l|0)!=(c[f+288>>2]|0)){g=3;break}k=JTa(n,4,0,l,0,x+24|0)|0;g=c[x+24>>2]|0;if(g|0)break;h=(l|0)==0;if(!h)if(!(j&4)){g=0;do{c[k+(g<<2)>>2]=wTa(e,x+24|0)|0;g=g+1|0}while((g|0)!=(l|0))}else{g=0;do{c[k+(g<<2)>>2]=vTa(e,x+24|0)|0;g=g+1|0}while((g|0)!=(l|0))}do if(!(c[x+24>>2]|0)){if(!(j&4)){wTa(e,x+24|0)|0;if(c[x+24>>2]|0)break;wTa(e,x+24|0)|0;if(c[x+24>>2]|0)break;wTa(e,x+24|0)|0;if(c[x+24>>2]|0)break;wTa(e,x+24|0)|0;if(c[x+24>>2]|0)break}else{vTa(e,x+24|0)|0;if(c[x+24>>2]|0)break;vTa(e,x+24|0)|0;if(c[x+24>>2]|0)break;vTa(e,x+24|0)|0;if(c[x+24>>2]|0)break;vTa(e,x+24|0)|0;if(c[x+24>>2]|0)break}if(!h){h=0;do{g=c[k+(h<<2)>>2]|0;if(!((g|0)<0|g>>>0>m>>>0))c[(c[f+292>>2]|0)+(h<<4)+12>>2]=(c[e+8>>2]|0)+g;h=h+1|0}while((h|0)!=(l|0))}c[f+308>>2]=j}while(0);LTa(n,k);u=c[x+24>>2]|0;c[x>>2]=u;if(u|0)break a;r=c[f+100>>2]|0;k=c[f+192>>2]|0;g=c[f+188>>2]|0;k:do if(!g){g=3;v=160}else{h=0;while(1){if((c[k+(h<<4)>>2]|0)==32)break;h=h+1|0;if(h>>>0>=g>>>0){g=3;v=160;break k}}j=c[e+8>>2]|0;g=c[k+(h<<4)+12>>2]|0;if(g>>>0>>0){g=83;v=160;break}if(dTa(e,g-j|0)|0){g=83;v=160;break}g=jTa(e,14)|0;c[x+24>>2]=g;if(g|0)break;h=qTa(e)|0;if(!(h&4)){o=(oTa(e)|0)<<16>>16;p=(oTa(e)|0)<<16>>16;j=(oTa(e)|0)<<16>>16;q=(oTa(e)|0)<<16>>16;g=oTa(e)|0}else{o=(nTa(e)|0)<<16>>16;p=(nTa(e)|0)<<16>>16;j=(nTa(e)|0)<<16>>16;q=(nTa(e)|0)<<16>>16;g=nTa(e)|0}b[f+304>>1]=g;lTa(e);if(h>>>0>=256){g=3;break}if((o|0)<0){g=8;break}if((p|0)<(o|0)|(p|0)>255|(j|0)<0){g=8;break}if((q|0)<(j|0)|(q|0)>255){g=8;break}n=_(1-j+q|0,1-o+p|0)|0;g=JTa(r,8,0,n,0,x+24|0)|0;if(c[x+24>>2]|0){g=64;break}u=jTa(e,n<<1)|0;c[x+24>>2]=u;do if(!u){if(!(h&4)){h=0;while(1){l=j<<8;m=o;while(1){k=oTa(e)|0;if(k<<16>>16>-1){c[g+(h<<3)>>2]=m+l;b[g+(h<<3)+4>>1]=k;h=h+1|0}if((m|0)<(p|0))m=m+1|0;else break}if((j|0)<(q|0))j=j+1|0;else break}}else{h=0;while(1){l=j<<8;m=o;while(1){k=nTa(e)|0;if(k<<16>>16>-1){c[g+(h<<3)>>2]=m+l;b[g+(h<<3)+4>>1]=k;h=h+1|0}if((m|0)<(p|0))m=m+1|0;else break}if((j|0)<(q|0))j=j+1|0;else break}}lTa(e);g=JTa(r,8,n,h,g,x+24|0)|0;if(c[x+24>>2]|0){v=185;break}c[f+296>>2]=h;c[f+300>>2]=g;c[x>>2]=0}else v=185;while(0);if((v|0)==185){LTa(r,g);u=c[x+24>>2]|0;c[x>>2]=u;if(u|0)break a}if(s){u=UVa(e,f,256)|0;c[x>>2]=u;if(u|0)break a}c[f>>2]=1;c[f+4>>2]=0;g=c[f+8>>2]|0;c[f+8>>2]=g|146;if(a[f+199>>0]|0)c[f+8>>2]=g|150;c[x+24>>2]=0;u=c[f+100>>2]|0;c[f+12>>2]=0;k=c[f+284>>2]|0;l=c[f+280>>2]|0;if((l|0)>0){g=0;do{h=g;g=g+1|0;h=(Imb(c[k+(h*12|0)>>2]|0,529609)|0)!=0}while((g|0)<(l|0)&h);g=k+(g*12|0)+-12|0;l:do if(h){j=2;o=0}else{if(!(a[g+4>>0]|0)){j=2;o=0;break}g=c[g+8>>2]|0;switch(a[g>>0]|0){case 105:case 73:case 111:case 79:break;default:{j=2;o=0;break l}}c[f+12>>2]=1;j=3;o=(a[g>>0]|32)<<24>>24==111?529615:591930}while(0);g=0;do{h=g;g=g+1|0;h=(Imb(c[k+(h*12|0)>>2]|0,529623)|0)!=0}while((g|0)<(l|0)&h);g=k+(g*12|0)+-12|0;m:do if(h)j=0;else{if(!(a[g+4>>0]|0)){j=0;break}switch(a[c[g+8>>2]>>0]|0){case 98:case 66:break;default:{j=0;break m}}c[f+12>>2]=j;j=591925}while(0);g=0;do{h=g;g=g+1|0;h=(Imb(c[k+(h*12|0)>>2]|0,529635)|0)!=0}while((g|0)<(l|0)&h);g=k+(g*12|0)+-12|0;n:do if(h)p=0;else{if(!(a[g+4>>0]|0)){p=0;break}g=c[g+8>>2]|0;switch(a[g>>0]|0){case 110:case 78:case 0:{p=0;break n}default:{}}p=g}while(0);g=0;do{h=g;g=g+1|0;h=(Imb(c[k+(h*12|0)>>2]|0,529649)|0)!=0}while((g|0)<(l|0)&h);g=k+(g*12|0)+-12|0;o:do if(h){g=0;k=0;h=0}else{if(!(a[g+4>>0]|0)){g=0;k=0;h=0;break}g=c[g+8>>2]|0;switch(a[g>>0]|0){case 110:case 78:case 0:{g=0;k=0;h=0;break o}default:{}}if(!g){g=0;k=0;h=0;break}h=rnb(g)|0;k=h;h=h+1|0}while(0);if(!j){q=1;l=0;m=0}else{t=rnb(j)|0;q=0;l=j;m=t;h=h+1+t|0}if(!o){j=0;r=0}else{r=rnb(o)|0;j=o;h=h+1+r|0}if(!p){n=h;h=0}else{t=rnb(p)|0;n=h+1+t|0;h=t}if(!n){g=l;k=q;l=r;v=216}else{s=g;e=k;t=l}}else{m=0;g=0;j=0;k=1;l=0;h=0;p=0;o=0;v=216}if((v|0)==216){s=591905;e=7;t=g;q=k;n=8;r=l}g=HTa(u,n,x+24|0)|0;c[f+24>>2]=g;k=c[x+24>>2]|0;if(k|0){c[x>>2]=k;break a}if(s){mBb(g|0,s|0,e|0)|0;if(e|0){l=0;do{k=g+l|0;if((a[k>>0]|0)==32)a[k>>0]=45;l=l+1|0}while((l|0)!=(e|0))}g=g+e|0}if(!q){if((g|0)!=(c[f+24>>2]|0)){a[g>>0]=32;g=g+1|0}mBb(g|0,t|0,m|0)|0;j=o;g=g+m|0}if(j){if((g|0)!=(c[f+24>>2]|0)){a[g>>0]=32;g=g+1|0}mBb(g|0,j|0,r|0)|0;g=g+r|0}if(p){if((g|0)!=(c[f+24>>2]|0)){a[g>>0]=32;g=g+1|0}mBb(g|0,p|0,h|0)|0;if(!h)h=0;else{k=0;do{j=g+k|0;if((a[j>>0]|0)==32)a[j>>0]=45;k=k+1|0}while((k|0)!=(h|0))}g=g+h|0}a[g>>0]=0;u=c[x+24>>2]|0;c[x>>2]=u;if(u|0)break a;g=c[f+284>>2]|0;h=c[f+280>>2]|0;do if((h|0)>0){j=0;do{k=j;j=j+1|0;k=(Imb(c[g+(k*12|0)>>2]|0,529664)|0)!=0}while((j|0)<(h|0)&k);g=g+(j*12|0)+-12|0;if(k){v=253;break}if(!(a[g+4>>0]|0)){v=253;break}c[f+20>>2]=MTa(w,c[g+8>>2]|0,x)|0;if(c[x>>2]|0)break a}else v=253;while(0);if((v|0)==253)c[f+20>>2]=0;c[f+16>>2]=(c[f+288>>2]|0)+1;c[f+28>>2]=1;m=JTa(w,16,0,1,0,x)|0;c[f+32>>2]=m;if(c[x>>2]|0)break a;c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;c[m+12>>2]=0;g=(c[f+208>>2]|0)+(c[f+204>>2]|0)|0;b[m>>1]=g;n=c[f+284>>2]|0;o=c[f+280>>2]|0;do if((o|0)>0){j=0;do{h=j;j=j+1|0;h=(Imb(c[n+(h*12|0)>>2]|0,529676)|0)!=0}while((j|0)<(o|0)&h);if(h){v=259;break}b[m+2>>1]=((c[n+(j*12|0)+-12+8>>2]|0)+5|0)/10|0}else v=259;while(0);if((v|0)==259)b[m+2>>1]=(g<<16>>15|0)/3|0;do if((o|0)>0){h=0;do{g=h;h=h+1|0;g=(Imb(c[n+(g*12|0)>>2]|0,529690)|0)!=0}while((h|0)<(o|0)&g);if(g)g=0;else{g=(((c[n+(h*12|0)+-12+8>>2]|0)*460800|0)+36135|0)/72270|0;c[m+4>>2]=g}j=0;do{h=j;j=j+1|0;h=(Imb(c[n+(h*12|0)>>2]|0,529701)|0)!=0}while((j|0)<(o|0)&h);if(h)l=0;else{l=c[n+(j*12|0)+-12+8>>2]<<16>>10;c[m+12>>2]=l}j=0;do{h=j;j=j+1|0;h=(Imb(c[n+(h*12|0)>>2]|0,529712)|0)!=0}while((j|0)<(o|0)&h);if(h)k=0;else k=c[n+(j*12|0)+-12+8>>2]<<16>>16;j=0;do{h=j;j=j+1|0;h=(Imb(c[n+(h*12|0)>>2]|0,529725)|0)!=0}while((j|0)<(o|0)&h);if(h)h=0;else h=c[n+(j*12|0)+-12+8>>2]&65535;if(!l){c[m+12>>2]=g;if(!(h<<16>>16)){v=282;break}g=(_(g,h<<16>>16)|0)/72|0;c[m+12>>2]=g}else g=l;if((k|0)==0|h<<16>>16==0){v=282;break}c[m+8>>2]=(_(g,k)|0)/(h<<16>>16|0)|0}else{c[m+12>>2]=0;g=0;v=282}while(0);if((v|0)==282)c[m+8>>2]=g;if((o|0)>0){h=0;do{g=h;h=h+1|0;g=(Imb(c[n+(g*12|0)>>2]|0,590230)|0)!=0}while((h|0)<(o|0)&g);if(g)v=286;else j=n+(h*12|0)+-12|0}else v=286;if((v|0)==286)j=0;if((o|0)>0){h=0;do{g=h;h=h+1|0;g=(Imb(c[n+(g*12|0)>>2]|0,590247)|0)!=0}while((h|0)<(o|0)&g);if(g)v=290;else g=n+(h*12|0)+-12|0}else v=290;if((v|0)==290)g=0;if(!j){f=0;i=x;return f|0}if(!((g|0)!=0&(a[j+4>>0]|0)!=0)){f=0;i=x;return f|0}if(!(a[g+4>>0]|0)){f=0;i=x;return f|0}c[f+176>>2]=MTa(w,c[g+8>>2]|0,x)|0;if(c[x>>2]|0)break a;c[f+180>>2]=MTa(w,c[j+8>>2]|0,x)|0;if(!(c[x>>2]|0))g=0;else break a;i=x;return g|0}while(0);if((v|0)==160)c[x+24>>2]=g;c[x>>2]=g;break a}while(0);if((v|0)==126)c[x+24>>2]=g;c[x>>2]=g;break a}else g=64}}else g=3}}else{g=83;v=89}}while(0);if((v|0)==89)c[x+8>>2]=g;c[x>>2]=g}}else{g=64;v=31}}}else{g=3;v=31}else{g=1;v=31}}else{g=1;v=31}while(0);if((v|0)==31)c[x>>2]=g;c[x>>2]=3;f=3;i=x;return f|0}function UVa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+16|0;g=c[b+192>>2]|0;f=c[b+188>>2]|0;a:do if(!f)e=3;else{e=0;while(1){if((c[g+(e<<4)>>2]|0)==(d|0))break;e=e+1|0;if(e>>>0>=f>>>0){e=3;break a}}f=c[a+8>>2]|0;e=c[g+(e<<4)+12>>2]|0;if(e>>>0>>0)e=83;else if(!(dTa(a,e-f|0)|0)){c[h>>2]=0;d=wTa(a,h)|0;e=c[h>>2]|0;if(e|0){a=e;i=h;return a|0}switch(d&-256|0){case 256:case 0:break;default:{a=0;i=h;return a|0}}if(!(d&4)){e=xTa(a,170240,b+196|0)|0;c[h>>2]=e;if(e|0){a=e;i=h;return a|0}}else{e=xTa(a,170188,b+196|0)|0;c[h>>2]=e;if(e|0){a=e;i=h;return a|0}}f=d&4|0?170292:170324;e=xTa(a,f,b+216|0)|0;c[h>>2]=e;if(e|0){a=e;i=h;return a|0}e=xTa(a,f,b+232|0)|0;c[h>>2]=e;if(e|0){a=e;i=h;return a|0}if((d&-256|0)!=256){c[b+248>>2]=c[b+216>>2];c[b+248+4>>2]=c[b+216+4>>2];c[b+248+8>>2]=c[b+216+8>>2];c[b+248+12>>2]=c[b+216+12>>2];c[b+264>>2]=c[b+232>>2];c[b+264+4>>2]=c[b+232+4>>2];c[b+264+8>>2]=c[b+232+8>>2];c[b+264+12>>2]=c[b+232+12>>2];a=0;i=h;return a|0}e=xTa(a,f,b+248|0)|0;c[h>>2]=e;if(e|0){a=e;i=h;return a|0}a=xTa(a,f,b+264|0)|0;c[h>>2]=a;i=h;return a|0}else e=83}while(0);c[h>>2]=e;a=e;i=h;return a|0}function VVa(b){b=b|0;var d=0,e=0,f=0,g=0;if(!b)return;g=c[b+100>>2]|0;LTa(g,c[b+300>>2]|0);c[b+300>>2]=0;LTa(g,c[b+292>>2]|0);c[b+292>>2]=0;d=c[b+284>>2]|0;if(d|0){if((c[b+280>>2]|0)>0){e=0;while(1){f=d+(e*12|0)|0;if(f|0){LTa(g,c[f>>2]|0);c[f>>2]=0;if(a[d+(e*12|0)+4>>0]|0){f=d+(e*12|0)+8|0;LTa(g,c[f>>2]|0);c[f>>2]=0}}e=e+1|0;if((e|0)>=(c[b+280>>2]|0))break;d=c[b+284>>2]|0}d=c[b+284>>2]|0}LTa(g,d);c[b+284>>2]=0}LTa(g,c[b+192>>2]|0);c[b+192>>2]=0;LTa(g,c[b+20>>2]|0);c[b+20>>2]=0;LTa(g,c[b+24>>2]|0);c[b+24>>2]=0;LTa(g,c[b+32>>2]|0);c[b+32>>2]=0;LTa(g,c[b+176>>2]|0);c[b+176>>2]=0;LTa(g,c[b+180>>2]|0);c[b+180>>2]=0;d=c[b+104>>2]|0;if((d|0)!=(b+132|0))return;bTa(d);c[b+104>>2]=c[b+172>>2];return}function WVa(a,b){a=a|0;b=b|0;b=c[a>>2]|0;c[a+16>>2]=c[b+296>>2];c[a+20>>2]=c[b+300>>2];return 0}function XVa(a){a=a|0;c[a+20>>2]=0;c[a+16>>2]=0;return}function YVa(a,b){a=a|0;b=b|0;var d=0,f=0,g=0,h=0,i=0;h=c[a+20>>2]|0;a=c[a+16>>2]|0;if(!a){i=0;return i|0}else g=0;while(1){d=(g+a|0)>>>1;f=c[h+(d<<3)>>2]|0;if((f|0)==(b|0))break;a=f>>>0>b>>>0?d:a;g=f>>>0>b>>>0?g:d+1|0;if(g>>>0>=a>>>0){a=0;i=5;break}}if((i|0)==5)return a|0;i=(e[h+(d<<3)+4>>1]|0)+1|0;return i|0}function ZVa(a,b){a=a|0;b=b|0;var d=0,f=0,g=0,h=0,i=0,j=0;j=c[a+20>>2]|0;h=(c[b>>2]|0)+1|0;i=c[a+16>>2]|0;a:do if(!i)a=0;else{g=i;a=0;while(1){f=(a+g|0)>>>1;d=c[j+(f<<3)>>2]|0;if((h|0)==(d|0))break;g=h>>>0>>0?f:g;a=h>>>0>>0?a:f+1|0;if(a>>>0>=g>>>0)break a}i=h;j=(e[j+(f<<3)+4>>1]|0)+1|0;c[b>>2]=i;return j|0}while(0);if(a>>>0>=i>>>0){i=0;j=0;c[b>>2]=i;return j|0}i=c[j+(a<<3)>>2]|0;j=(e[j+(a<<3)+4>>1]|0)+1|0;c[b>>2]=i;return j|0}function _Va(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0;l=c[f>>2]|0;if(!l){e=35;return e|0}if((c[l+16>>2]|0)>>>0<=g>>>0){e=6;return e|0}i=c[l+104>>2]|0;k=(g|0)==0?0:g+-1|0;j=c[l+292>>2]|0;f=(b[j+(k<<4)+8>>1]|0)+(b[j+(k<<4)+6>>1]|0)|0;c[e+76>>2]=f;h=(b[j+(k<<4)+2>>1]|0)-(b[j+(k<<4)>>1]|0)|0;c[e+80>>2]=h;b[e+92>>1]=1;a[e+94>>0]=1;switch(1<<(c[l+308>>2]&3)|0){case 1:{c[e+84>>2]=(h+7|0)>>>3;h=(h+7|0)>>>3;break}case 2:{c[e+84>>2]=(h+15|0)>>>4<<1;h=(h+15|0)>>>4<<1;break}case 4:{c[e+84>>2]=(h+31|0)>>>5<<2;h=(h+31|0)>>>5<<2;break}case 8:{c[e+84>>2]=(h+63|0)>>>6<<3;h=(h+63|0)>>>6<<3;break}default:{e=3;return e|0}}h=_(f,h)|0;f=ORa(e,h)|0;if(f|0){e=f;return e|0}f=cTa(i,c[j+(k<<4)+12>>2]|0)|0;if(f|0){e=f;return e|0}f=fTa(i,c[e+88>>2]|0,h)|0;if(f|0){e=f;return e|0}f=c[l+308>>2]|0;if(!((f&8|0)!=0|(h|0)==0)){f=h;g=c[e+88>>2]|0;while(1){i=d[g>>0]|0;i=(i>>>1&85|i<<1&170)>>>2&51|(i>>>1&85|i<<1&170)<<2&204;a[g>>0]=i>>>4|i<<4;f=f+-1|0;if(!f)break;else g=g+1|0}f=c[l+308>>2]|0}a:do if((f>>>2^f>>>3)&1|0)switch(1<<(f>>>4&3)|0){case 4:{if(h>>>0<=3)break a;f=c[e+88>>2]|0;while(1){g=a[f>>0]|0;m=f+3|0;a[f>>0]=a[m>>0]|0;a[m>>0]=g;m=f+1|0;g=a[m>>0]|0;i=f+2|0;a[m>>0]=a[i>>0]|0;a[i>>0]=g;h=h+-4|0;if(h>>>0<=3)break;else f=f+4|0}break}case 2:{if(h>>>0<=1)break a;f=c[e+88>>2]|0;while(1){i=a[f>>0]|0;m=f+1|0;a[f>>0]=a[m>>0]|0;a[m>>0]=i;h=h+-2|0;if(h>>>0<=1)break;else f=f+2|0}break}default:break a}while(0);c[e+72>>2]=1651078259;m=b[j+(k<<4)>>1]|0;c[e+100>>2]=m;i=b[j+(k<<4)+6>>1]|0;c[e+104>>2]=i;c[e+40>>2]=b[j+(k<<4)+4>>1]<<6;c[e+32>>2]=m<<6;c[e+36>>2]=i<<6;c[e+24>>2]=(b[j+(k<<4)+2>>1]|0)-m<<6;c[e+28>>2]=c[e+76>>2]<<6;hSa(e+24|0,(c[l+208>>2]|0)+(c[l+204>>2]|0)<<6);m=0;return m|0}function $Va(a,d){a=a|0;d=d|0;var e=0,f=0,g=0;g=c[a>>2]|0;f=c[d+16>>2]|0;e=c[d+8>>2]|0;if(f)e=((_(e,f)|0)+36|0)/72|0;e=e+32>>6;a:do switch(c[d>>2]|0){case 0:if((e|0)==((c[(c[g+32>>2]|0)+12>>2]|0)+32>>6|0)){e=g+196+8|0;f=g+196+12|0;break a}else{a=23;return a|0}case 1:{if((e|0)==((c[g+196+12>>2]|0)+(c[g+196+8>>2]|0)|0)){e=g+196+8|0;f=g+196+12|0}else{a=23;return a|0}break}default:{a=7;return a|0}}while(0);iSa(g,0);c[a+24>>2]=c[e>>2]<<6;c[a+28>>2]=0-(c[f>>2]|0)<<6;c[a+36>>2]=b[g+196+40>>1]<<6;a=0;return a|0}function aWa(a,d){a=a|0;d=d|0;var e=0;e=c[a>>2]|0;iSa(e,d);c[a+24>>2]=c[e+196+8>>2]<<6;c[a+28>>2]=0-(c[e+196+12>>2]|0)<<6;c[a+36>>2]=b[e+196+40>>1]<<6;return 0}function bWa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;e=c[a>>2]|0;d=c[e+408>>2]|0;c[a+16>>2]=d;e=c[e+416>>2]|0;c[a+20>>2]=e;if(d>>>0<=1){e=0;return e|0}b=c[e>>2]|0;a=1;while(1){f=b;b=c[e+(a<<4)>>2]|0;a=a+1|0;if(f>>>0>=b>>>0){b=8;a=5;break}if(a>>>0>=d>>>0){b=0;a=5;break}}if((a|0)==5)return b|0;return 0}function cWa(a){a=a|0;c[a+20>>2]=0;c[a+16>>2]=0;return}function dWa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;d=c[a+16>>2]|0;if(!d){h=0;return h|0}g=c[a+20>>2]|0;f=0;while(1){a=((d-f|0)>>>1)+f|0;e=c[g+(a<<4)>>2]|0;if((e|0)==(b|0))break;d=e>>>0>>0?d:a;f=e>>>0>>0?a+1|0:f;if(d>>>0<=f>>>0){a=0;h=6;break}}if((h|0)==6)return a|0;h=a+1|0;return h|0}function eWa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=c[a+16>>2]|0;do if(!i){e=0;d=0}else{h=c[a+20>>2]|0;e=c[b>>2]|0;a:while(1){e=e+1|0;g=i;d=0;while(1){j=((g-d|0)>>>1)+d|0;f=c[h+(j<<4)>>2]|0;if((f|0)==(e|0))break;d=f>>>0>>0?j+1|0:d;g=f>>>0>>0?g:j;if(g>>>0<=d>>>0)break a}if(j){k=7;break}}if((k|0)==7){d=j+1|0;break}if((d|0)==0|d>>>0>=i>>>0){e=0;d=0}else{e=c[(c[a+20>>2]|0)+(d<<4)>>2]|0;d=d+1|0}}while(0);c[b>>2]=e;return d|0}function fWa(a,b){a=a|0;b=b|0;return HRa(52040,b)|0}function gWa(a,b,d,f,g){a=a|0;b=b|0;d=d|0;f=f|0;g=g|0;var h=0;h=c[a+88>>2]|0;if(b|0)c[b>>2]=c[a+288+12>>2];if(d|0)c[d>>2]=c[a+288+16>>2];if(!h){b=65536;d=65536}else{b=I2a((e[h+12>>1]|0)<<6,c[a+288+16>>2]|0)|0;d=I2a((e[h+14>>1]|0)<<6,c[a+288+16>>2]|0)|0}if(f|0)c[f>>2]=b;if(!g)return 0;c[g>>2]=d;return 0}function hWa(a,b,e,f){a=a|0;b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;c[f>>2]=0;c[f+4>>2]=0;g=(b|0)==0?0:b+-1|0;b=(e|0)==0?0:e+-1|0;l=c[a+288+120>>2]|0;if(g>>>0>l>>>0|b>>>0>l>>>0){f=0;return f|0}j=c[a+288+128>>2]|0;j=c[j+(b<<4)>>2]&65535|c[j+(g<<4)>>2]<<16;l=c[a+104>>2]|0;b=c[a+288+136>>2]|0;if(!b){f=0;return f|0}while(1){if(j>>>0>=(c[b+16>>2]|0)>>>0)if(j>>>0<=(c[b+20>>2]|0)>>>0){g=b;break}b=c[b>>2]|0;if(!b){b=0;k=29;break}}if((k|0)==29)return b|0;b=cTa(l,c[g+12>>2]|0)|0;if(b|0){f=b;return f|0}b=jTa(l,_(d[g+4>>0]|0,c[g+8>>2]|0)|0)|0;if(b|0){f=b;return f|0}i=c[g+4>>2]|0;h=c[g+8>>2]|0;a=31-(aa(i&255|0)|0)|0;b=c[l+32>>2]|0;if((i&255|0)==(1<>>8&1)<<24>>24)){e=(d[g+2+-2>>0]|0)<<16|(d[g+2+-1>>0]|0);g=g+2|0}else{e=(d[g+4+-4+1>>0]|0)<<16|(d[g+4+-4>>0]|0)<<24|(d[g+4+-4+2>>0]|0)<<8|(d[g+4+-4+3>>0]|0);g=g+4|0}if((e|0)==(j|0))k=25;else if(e>>>0>>0){b=(i>>>8&2)<<24>>24==0?g+1|0:g+2|0;k=15}else k=15}a:do if((k|0)==15){if(h<>>0>h>>>0)if(!((i>>>8&1)<<24>>24)){a=h<>>1;e=b+a|0;g=(d[e+2+-2>>0]|0)<<16|(d[e+2+-1>>0]|0);if((g|0)==(j|0)){g=e+2|0;k=25;break a}b=g>>>0>>0?e:b}while(a>>>0>h>>>0)}else{a=h<>>1;g=b+a|0;e=(d[g+4+-4+1>>0]|0)<<16|(d[g+4+-4>>0]|0)<<24|(d[g+4+-4+2>>0]|0)<<8|(d[g+4+-4+3>>0]|0);if((e|0)==(j|0)){g=g+4|0;k=25;break a}b=e>>>0>>0?g:b}while(a>>>0>h>>>0)}if(!((i>>>8&1)<<24>>24)){e=(d[b>>0]|0)<<16|(d[b+1>>0]|0);g=b+2|0}else{e=(d[b+1>>0]|0)<<16|(d[b>>0]|0)<<24|(d[b+2>>0]|0)<<8|(d[b+3>>0]|0);g=b+4|0}if((e|0)==(j|0))k=25}while(0);if((k|0)==25){b=d[g>>0]|0;if((i>>>8&2)<<24>>24)b=(d[g+1>>0]|0|b<<8)<<16>>16;c[f>>2]=(i>>16)+b}lTa(l);f=0;return f|0}function iWa(a,b,d){a=a|0;b=b|0;d=d|0;c[d>>2]=0;if(!b){a=6;return a|0}if(!a){a=6;return a|0}if((b+-1|0)>>>0>=(c[a+288+120>>2]|0)>>>0){a=6;return a|0}c[d>>2]=c[(c[a+288+128>>2]|0)+(b+-1<<4)+4>>2];a=0;return a|0}function jWa(e,f,g,h,j){e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;x=i;i=i+32|0;h=cTa(e,0)|0;if(!h){h=xTa(e,170384,f+132|0)|0;if(!h){c[f+168>>2]=(c[f+168>>2]|0)+(c[f+204>>2]<<16);c[x>>2]=0;if((c[f+132>>2]|0)==1346785840)if((c[f+136>>2]|0)>>>0<=4)if((c[f+144>>2]|0)>>>0>=58)if((c[f+140>>2]|0)==3338){h=cTa(e,c[f+152>>2]|0)|0;c[x+8>>2]=h;if(h|0){c[x>>2]=h;f=h;i=x;return f|0}h=sTa(e,x+8|0)|0;j=c[x+8>>2]|0;c[x>>2]=j;if(j|0){f=j;i=x;return f|0}c[f>>2]=h&65535;if((g|0)<0){f=0;i=x;return f|0}if((h&65535|0)<=(g|0)){c[x>>2]=6;f=6;i=x;return f|0}n=(c[f+204>>2]|0)==0;h=cTa(e,c[f+152>>2]|0)|0;c[x+8>>2]=h;do if(!h){j=sTa(e,x+8|0)|0;h=c[x+8>>2]|0;if(!h)if((j&65535)>>>0>g>>>0){h=dTa(e,g*5|0)|0;c[x+8>>2]=h;if(!h){m=sTa(e,x+8|0)|0;h=c[x+8>>2]|0;if(!h){j=uTa(e,x+8|0)|0;h=c[x+8>>2]|0;if(!h){c[f+240>>2]=m&65535;c[f+244>>2]=j;h=cTa(e,j)|0;c[x+8>>2]=h;if(!h){h=jTa(e,m&65535)|0;c[x+8>>2]=h;if(h|0)break;l=c[e+32>>2]|0;a:do if((m&65535)<13)w=53;else{c[f+240+8>>2]=d[l+1>>0]<<8|d[l>>0]<<16|d[l+2>>0];c[f+240+12>>2]=d[l+4>>0]<<8|d[l+3>>0]<<16|d[l+5>>0];c[f+240+16>>2]=d[l+7>>0]<<8|d[l+6>>0]<<16|d[l+8>>0];c[f+240+20>>2]=d[l+10>>0]<<8|d[l+9>>0]<<16|d[l+11>>0];k=d[l+12>>0]|0;if(k&4|0)h=(k&3|0)==0?k>>>3&1|4:(k>>>3&1)+1|0;else h=0;if(k&16|0)h=(k>>>5&1)+1+h|0;if((l+13+h|0)>>>0>(l+(m&65535)|0)>>>0){w=53;break}do if(k&4|0){if(!(k&8)){h=d[l+13>>0]|0;j=l+14|0}else{h=(d[l+13>>0]<<8|d[l+14>>0])<<16>>16;j=l+15|0}c[f+240+28>>2]=h;if(k&3|0)break;c[f+240+36>>2]=d[j+1>>0]<<8|d[j>>0]<<16|d[j+2>>0];j=j+3|0}else j=l+13|0;while(0);if(k&16|0){if(!(k&32)){h=d[j>>0]|0;j=j+1|0}else{h=(d[j>>0]<<8|d[j+1>>0])<<16>>16;j=j+2|0}c[f+240+32>>2]=h}b:do if(!(k&64))h=j;else{h=j+1|0;c:do if(h>>>0<=(l+(m&65535)|0)>>>0){j=a[j>>0]|0;if(j<<24>>24){k=j&255;do{j=h+2|0;if(j>>>0>(l+(m&65535)|0)>>>0)break c;h=j+(d[h>>0]|0)|0;if(h>>>0>(l+(m&65535)|0)>>>0)break c;k=k+-1|0}while((k|0)!=0)}c[x+8>>2]=0;break b}while(0);c[x+8>>2]=8;break a}while(0);j=h+5|0;if(j>>>0>(l+(m&65535)|0)>>>0){w=53;break}k=d[h>>0]<<8|d[h+1>>0];c[f+240+40>>2]=k;c[f+240+44>>2]=d[h+3>>0]<<8|d[h+2>>0]<<16|d[h+4>>0];if(n)break;if((h+6|0)>>>0>(l+(m&65535)|0)>>>0){w=53;break}c[f+240+40>>2]=d[j>>0]<<16|k}while(0);if((w|0)==53)c[x+8>>2]=8;lTa(e);h=c[x+8>>2]|0;c[x>>2]=h;if(h|0){f=h;i=x;return f|0}s=c[f+240+44>>2]|0;u=c[f+240+40>>2]|0;t=c[e+28>>2]|0;c[f+288>>2]=t;c[f+288+4>>2]=s;c[f+288+136>>2]=0;c[f+288+140>>2]=f+288+136;h=cTa(e,s)|0;c[x+4>>2]=h;d:do if(!h){h=jTa(e,u)|0;c[x+4>>2]=h;if(h|0)break;r=c[e+32>>2]|0;c[f+288+148>>2]=r;e:do if((u|0)<15)w=147;else{c[f+288+8>>2]=d[r>>0]<<8|d[r+1>>0];c[f+288+12>>2]=d[r+2>>0]<<8|d[r+3>>0];c[f+288+16>>2]=d[r+4>>0]<<8|d[r+5>>0];c[f+288+20>>2]=(d[r+6>>0]<<8|d[r+7>>0])<<16>>16;c[f+288+24>>2]=(d[r+8>>0]<<8|d[r+9>>0])<<16>>16;c[f+288+28>>2]=(d[r+10>>0]<<8|d[r+11>>0])<<16>>16;c[f+288+32>>2]=(d[r+12>>0]<<8|d[r+13>>0])<<16>>16;v=d[r+14>>0]|0;c[f+288+36>>2]=v;if(v&4|0)j=r+15|0;else{if((u|0)<17){w=147;break}c[f+288+40>>2]=(d[r+15>>0]<<8|d[r+16>>0])<<16>>16;j=r+17|0}f:do if(!(v&128))h=j;else{h=j+1|0;g:do if(h>>>0>(r+u|0)>>>0)h=8;else{j=a[j>>0]|0;if(j<<24>>24){m=j&255;while(1){k=h+2|0;if(k>>>0>(r+u|0)>>>0){h=8;break g}j=a[h+1>>0]|0;l=k+(d[h>>0]|0)|0;if(l>>>0>(r+u|0)>>>0){h=8;break g}do if(j<<24>>24==1){h=130;w=70}else{if(j<<24>>24==2){h=131;w=70;break}if(j<<24>>24==3){h=132;w=70;break}if(j<<24>>24==4){h=133;w=70}}while(0);if((w|0)==70){w=0;h=Gi[h&255](k,l,f+288|0)|0;if(h|0)break g}m=m+-1|0;if(!m){h=l;break}else h=l}}c[x+4>>2]=0;break f}while(0);c[x+4>>2]=h;break e}while(0);m=h+3|0;if(m>>>0>(r+u|0)>>>0){w=147;break}n=d[h+1>>0]<<8|d[h>>0]<<16|d[h+2>>0];h:do if(n){if((m+n|0)>>>0>(r+u|0)>>>0){w=147;break e}p=n;q=m;i:while(1){l=q+4|0;if(l>>>0>(m+n|0)>>>0){m=m+n|0;break h}h=q+2|0;o=d[q>>0]<<8|d[q+1>>0];if(o>>>0<4|p>>>0>>0){m=m+n|0;break h}j=q;q=h+o+-2|0;j:do switch(d[h>>0]<<8|d[j+3>>0]|0){case 1:{c[x+8>>2]=0;k:do if(o+-4|0){if(!(a[l+(o+-5)>>0]|0))if(!(o+-5|0))break;else j=o+-5|0;else j=o+-4|0;h=0;do{k=a[l+h>>0]|0;h=h+1|0;if((k&255)<32|k<<24>>24<0)break k}while(h>>>0>>0);k=HTa(t,j+1|0,x+8|0)|0;h=c[x+8>>2]|0;if(h|0){w=88;break i}mBb(k|0,l|0,j|0)|0;a[k+j>>0]=0;h=c[x+8>>2]|0;c[f+288+84>>2]=k;c[x+4>>2]=h;if(!h)break j;else break d}while(0);c[f+288+84>>2]=0;c[x+4>>2]=0;break}case 2:{if((j+36|0)>>>0>q>>>0)break j;c[f+288+44>>2]=(d[j+14>>0]<<8|d[j+15>>0])<<16>>16;c[f+288+48>>2]=(d[j+16>>0]<<8|d[j+17>>0])<<16>>16;c[f+288+52>>2]=(d[j+18>>0]<<8|d[j+19>>0])<<16>>16;break}case 3:{c[x+8>>2]=0;l:do if(o+-4|0){if(!(a[l+(o+-5)>>0]|0))if(!(o+-5|0))break;else j=o+-5|0;else j=o+-4|0;h=0;do{k=a[l+h>>0]|0;h=h+1|0;if((k&255)<32|k<<24>>24<0)break l}while(h>>>0>>0);k=HTa(t,j+1|0,x+8|0)|0;h=c[x+8>>2]|0;if(h|0){w=100;break i}mBb(k|0,l|0,j|0)|0;a[k+j>>0]=0;h=c[x+8>>2]|0;c[f+288+88>>2]=k;c[x+4>>2]=h;if(!h)break j;else break d}while(0);c[f+288+88>>2]=0;c[x+4>>2]=0;break}default:{}}while(0);if((p|0)==(o|0)){m=m+n|0;break h}else p=p-o|0}if((w|0)==88){c[f+288+84>>2]=k;c[x+4>>2]=h;break d}else if((w|0)==100){c[f+288+88>>2]=k;c[x+4>>2]=h;break d}}while(0);j=m+1|0;if(j>>>0>(r+u|0)>>>0){w=147;break}h=a[m>>0]|0;c[f+288+104>>2]=h&255;if((j+((h&255)<<1)|0)>>>0>(r+u|0)>>>0){w=147;break}k=JTa(t,4,0,h&255,0,x+4|0)|0;c[f+288+108>>2]=k;if(c[x+4>>2]|0)break;if(h<<24>>24){l=0;while(1){c[k+(l<<2)>>2]=(d[j>>0]<<8|d[j+1>>0])<<16>>16;l=l+1|0;if((l|0)==(h&255|0))break;else j=j+2|0}j=m+((h&255)<<1|1)|0}h=j+8|0;if(h>>>0>(r+u|0)>>>0){w=147;break}c[f+288+112>>2]=d[j>>0];c[f+288+116>>2]=d[j+1>>0];c[f+288+68>>2]=d[j+2>>0]<<8|d[j+3>>0];c[f+288+56>>2]=d[j+4>>0]<<8|d[j+5>>0];n=d[j+6>>0]<<8|d[j+7>>0];c[f+288+120>>2]=n;c[f+288+124>>2]=h+s-(c[e+32>>2]|0);m=JTa(t,16,0,n,0,x+4|0)|0;c[f+288+128>>2]=m;if(c[x+4>>2]|0)break;if((h+(_(n,((v&16)>>>4)+((v&8)>>>3)+((v&32)>>>5)+(v>>>1&3|4)|0)|0)|0)>>>0>(r+u|0)>>>0){w=147;break}if(!n)break;if(!(v&2)){if(v&4|0){k=0;while(1){c[m+(k<<4)>>2]=d[h>>0];c[m+(k<<4)+4>>2]=(d[h+1>>0]<<8|d[h+2>>0])<<16>>16;h=v&8|0?h+4|0:h+3|0;if(!(v&16)){j=d[h>>0]|0;h=h+1|0}else{j=d[h>>0]<<8|d[h+1>>0];h=h+2|0}c[m+(k<<4)+8>>2]=j;if(!(v&32)){j=d[h>>0]<<8|d[h+1>>0];h=h+2|0}else{j=d[h+1>>0]<<8|d[h>>0]<<16|d[h+2>>0];h=h+3|0}c[m+(k<<4)+12>>2]=j;k=k+1|0;if((k|0)==(n|0))break e}}k=c[f+288+40>>2]|0;l=0;do{c[m+(l<<4)>>2]=d[h>>0];c[m+(l<<4)+4>>2]=k;h=v&8|0?h+2|0:h+1|0;if(!(v&16)){j=d[h>>0]|0;h=h+1|0}else{j=d[h>>0]<<8|d[h+1>>0];h=h+2|0}c[m+(l<<4)+8>>2]=j;if(!(v&32)){j=d[h>>0]<<8|d[h+1>>0];h=h+2|0}else{j=d[h+1>>0]<<8|d[h>>0]<<16|d[h+2>>0];h=h+3|0}c[m+(l<<4)+12>>2]=j;l=l+1|0}while((l|0)!=(n|0))}else{if(v&4|0){k=0;while(1){c[m+(k<<4)>>2]=d[h>>0]<<8|d[h+1>>0];c[m+(k<<4)+4>>2]=(d[h+2>>0]<<8|d[h+3>>0])<<16>>16;h=v&8|0?h+5|0:h+4|0;if(!(v&16)){j=d[h>>0]|0;h=h+1|0}else{j=d[h>>0]<<8|d[h+1>>0];h=h+2|0}c[m+(k<<4)+8>>2]=j;if(!(v&32)){j=d[h>>0]<<8|d[h+1>>0];h=h+2|0}else{j=d[h+1>>0]<<8|d[h>>0]<<16|d[h+2>>0];h=h+3|0}c[m+(k<<4)+12>>2]=j;k=k+1|0;if((k|0)==(n|0))break e}}k=c[f+288+40>>2]|0;l=0;do{c[m+(l<<4)>>2]=d[h>>0]<<8|d[h+1>>0];c[m+(l<<4)+4>>2]=k;h=v&8|0?h+3|0:h+2|0;if(!(v&16)){j=d[h>>0]|0;h=h+1|0}else{j=d[h>>0]<<8|d[h+1>>0];h=h+2|0}c[m+(l<<4)+8>>2]=j;if(!(v&32)){j=d[h>>0]<<8|d[h+1>>0];h=h+2|0}else{j=d[h+1>>0]<<8|d[h>>0]<<16|d[h+2>>0];h=h+3|0}c[m+(l<<4)+12>>2]=j;l=l+1|0}while((l|0)!=(n|0))}}while(0);if((w|0)==147)c[x+4>>2]=8;lTa(e);c[f+288+144>>2]=eTa(e)|0;c[f+288+148>>2]=0;h=c[x+4>>2]|0;c[x>>2]=h;if(h|0){f=h;i=x;return f|0}c[f+4>>2]=g;l=c[f+288+120>>2]|0;c[f+16>>2]=l+1;j=c[f+8>>2]|1;c[f+8>>2]=j;m:do if(!l)h=0;else{k=c[f+288+128>>2]|0;h=0;do{if(c[k+(h<<4)+12>>2]|0)break m;h=h+1|0}while(h>>>0>>0)}while(0);do if((h|0)==(l|0)){if(c[f+288+92>>2]|0){c[f+8>>2]=0;j=0;break}c[x>>2]=3;f=3;i=x;return f|0}while(0);h=c[f+288+36>>2]|0;if(!(h&4)){j=j|4;c[f+8>>2]=j}j=(h<<4&16)+16|j;c[f+8>>2]=j;l=c[f+288+92>>2]|0;if(l){c[f+8>>2]=j|2;j=j|2}if(c[f+288+132>>2]|0)c[f+8>>2]=j|64;g=c[f+288+84>>2]|0;c[f+20>>2]=g;if(!g)c[f+20>>2]=c[f+288+80>>2];c[f+24>>2]=c[f+288+88>>2];c[f+28>>2]=0;c[f+32>>2]=0;c[f+52>>2]=c[f+288+20>>2];c[f+52+4>>2]=c[f+288+20+4>>2];c[f+52+8>>2]=c[f+288+20+8>>2];c[f+52+12>>2]=c[f+288+20+12>>2];g=c[f+288+12>>2]|0;b[f+68>>1]=g;e=c[f+288+32>>2]|0;b[f+70>>1]=e;w=c[f+288+24>>2]|0;b[f+72>>1]=w;b[f+74>>1]=(((((g&65535)*12|0)>>>0)/10|0)<<16>>16|0)<((e<<16>>16)-(w<<16>>16)|0)?(e<<16>>16)-(w<<16>>16)|0:(((g&65535)*12|0)>>>0)/10|0;if(l){j=JTa(c[(c[f+104>>2]|0)+28>>2]|0,16,0,l,0,x)|0;c[f+32>>2]=j;h=c[x>>2]|0;if(h|0){f=h;i=x;return f|0}k=0;h=c[f+288+100>>2]|0;while(1){g=c[h+4>>2]|0;b[j>>1]=g;w=c[h>>2]|0;b[j+2>>1]=w;c[j+4>>2]=g<<6;c[j+8>>2]=w<<6;c[j+12>>2]=g<<6;k=k+1|0;if((k|0)==(l|0))break;else{j=j+16|0;h=h+36|0}}c[f+28>>2]=l;h=c[f+288+36>>2]|0}if(!(h&4))b[f+76>>1]=c[f+288+40>>2];else{h=c[f+288+120>>2]|0;if(!h)h=0;else{k=c[f+288+128>>2]|0;j=0;while(1){g=c[k+4>>2]|0;j=(j|0)<(g|0)?g:j;h=h+-1|0;if(!h)break;else k=k+16|0}h=j&65535}b[f+76>>1]=h}b[f+78>>1]=b[f+74>>1]|0;h=b[f+68>>1]|0;b[f+80>>1]=(h&65535|0)/-10|0;b[f+82>>1]=(h&65535)/30|0;c[x+8>>2]=f;b[x+8+8>>1]=3;b[x+8+10>>1]=1;c[x+8+4>>2]=1970170211;h=qSa(51904,0,x+8|0,0)|0;c[x>>2]=h;if(!(c[f+288+132>>2]|0)){f=h;i=x;return f|0}c[f+8>>2]=c[f+8>>2]|64;f=h;i=x;return f|0}while(0);c[x>>2]=h;f=h;i=x;return f|0}}}}}else h=6}while(0);c[x>>2]=h;f=h;i=x;return f|0}c[x>>2]=2;f=2;i=x;return f|0}}c[x>>2]=h;f=h;i=x;return f|0}function kWa(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;g=c[f>>2]|0;c[o>>2]=0;if((b+5|0)>>>0<=e>>>0){m=d[b+3>>0]|0;n=a[b+4>>0]|0;h=c[f+92>>2]|0;do if((h+(n&255)|0)>>>0>(c[f+96>>2]|0)>>>0){c[f+100>>2]=JTa(g,36,h,h+(n&255)+3&-4,c[f+100>>2]|0,o)|0;g=c[o>>2]|0;if(!g){c[f+96>>2]=h+(n&255)+3&-4;break}else{f=g;i=o;return f|0}}while(0);if((b+5+(_((m&1|8)+((m&2)>>>1)+((m&4)>>>2)+((m&8)>>>3)+((m&16)>>>4)|0,n&255)|0)|0)>>>0<=e>>>0){l=c[f+92>>2]|0;g=(c[f+100>>2]|0)+(l*36|0)|0;if(n<<24>>24)if(!(m&1)){h=b+5|0;k=0;j=g;while(1){g=h+1|0;c[j>>2]=d[h>>0];if(!(m&2)){e=h+2|0;g=d[g>>0]|0}else{e=h+3|0;g=(d[g>>0]|0)<<8|(d[h+2>>0]|0)}c[j+4>>2]=g;c[j+8>>2]=d[e>>0];g=a[e+1>>0]|0;h=a[e+2>>0]|0;if(!(m&4)){b=e+3|0;g=(g&255)<<8|h&255}else{b=e+4|0;g=(h&255)<<8|(g&255)<<16|(d[e+3>>0]|0)}c[j+20>>2]=g;if(!(m&8)){e=b+2|0;g=(d[b>>0]|0)<<8|(d[b+1>>0]|0)}else{e=b+3|0;g=(d[b+1>>0]|0)<<8|(d[b>>0]|0)<<16|(d[b+2>>0]|0)}c[j+24>>2]=g;if(!(m&16)){h=e+1|0;g=d[e>>0]|0}else{h=e+2|0;g=(d[e>>0]|0)<<8|(d[e+1>>0]|0)}c[j+28>>2]=g;k=k+1|0;if((k|0)==(n&255|0))break;else j=j+36|0}}else{h=b+5|0;k=0;j=g;while(1){g=h+2|0;c[j>>2]=(d[h>>0]|0)<<8|(d[h+1>>0]|0);if(!(m&2)){e=h+3|0;g=d[g>>0]|0}else{e=h+4|0;g=(d[g>>0]|0)<<8|(d[h+3>>0]|0)}c[j+4>>2]=g;c[j+8>>2]=d[e>>0];g=a[e+1>>0]|0;h=a[e+2>>0]|0;if(!(m&4)){b=e+3|0;g=(g&255)<<8|h&255}else{b=e+4|0;g=(h&255)<<8|(g&255)<<16|(d[e+3>>0]|0)}c[j+20>>2]=g;if(!(m&8)){e=b+2|0;g=(d[b>>0]|0)<<8|(d[b+1>>0]|0)}else{e=b+3|0;g=(d[b+1>>0]|0)<<8|(d[b>>0]|0)<<16|(d[b+2>>0]|0)}c[j+24>>2]=g;if(!(m&16)){h=e+1|0;g=d[e>>0]|0}else{h=e+2|0;g=(d[e>>0]|0)<<8|(d[e+1>>0]|0)}c[j+28>>2]=g;k=k+1|0;if((k|0)==(n&255|0))break;else j=j+36|0}}c[f+92>>2]=l+(n&255);f=c[o>>2]|0;i=o;return f|0}}c[o>>2]=8;f=8;i=o;return f|0}function lWa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=i;i=i+16|0;c[h>>2]=0;if(c[e+80>>2]|0){e=0;i=h;return e|0}f=HTa(c[e>>2]|0,d-b+1|0,h)|0;c[e+80>>2]=f;g=c[h>>2]|0;if(g|0){e=g;i=h;return e|0}mBb(f|0,b|0,d-b|0)|0;a[(c[e+80>>2]|0)+(d-b)>>0]=0;e=c[h>>2]|0;i=h;return e|0}function mWa(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0,h=0;h=i;i=i+16|0;c[h>>2]=0;f=c[e>>2]|0;if(c[e+76>>2]|0){g=0;i=h;return g|0}if((a+1|0)>>>0<=b>>>0){g=d[a>>0]|0;if((a+1+((g&15)+(g>>>4)<<1)|0)>>>0<=b>>>0){f=JTa(f,4,0,(g&15)+(g>>>4)|0,0,h)|0;b=c[h>>2]|0;if(b|0){g=b;i=h;return g|0}c[e+76>>2]=f;c[e+64>>2]=f+((g&15)<<2);if(!((g&15)+(g>>>4)|0)){g=0;i=h;return g|0}else{a=a+1|0;b=(g&15)+(g>>>4)|0}while(1){c[f>>2]=((d[a>>0]|0)<<8|(d[a+1>>0]|0))<<16>>16;b=b+-1|0;if(!b)break;else{a=a+2|0;f=f+4|0}}g=c[h>>2]|0;i=h;return g|0}}c[h>>2]=8;g=8;i=h;return g|0}function nWa(e,f,g){e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;c[n>>2]=0;j=c[g>>2]|0;k=HTa(j,24,n)|0;if(c[n>>2]|0){g=c[n>>2]|0;i=n;return g|0}if((e+4|0)>>>0<=f>>>0){m=a[e>>0]|0;a[k+4>>0]=m;b[k+6>>1]=(d[e+1>>0]|0)<<8|(d[e+2>>0]|0);l=a[e+3>>0]|0;a[k+5>>0]=l;c[k+12>>2]=(c[g+4>>2]|0)+(e+4)-(c[g+148>>2]|0);h=(l&2)==0?((l&1)<<1)+3|0:(l&1)<<1|4;c[k+8>>2]=h;if((e+4+(_(h,m&255)|0)|0)>>>0<=f>>>0){if(!(m<<24>>24)){LTa(j,k);g=c[n>>2]|0;i=n;return g|0}if(!(l&1)){c[k+16>>2]=(d[e+4>>0]|0)<<16|(d[e+5>>0]|0);e=e+4+(_((m&255)+-1|0,h)|0)|0;c[k+20>>2]=(d[e>>0]|0)<<16|(d[e+1>>0]|0)}else{c[k+16>>2]=(d[e+6>>0]|0)<<8|(d[e+7>>0]|0)|((d[e+4>>0]|0)<<8|(d[e+5>>0]|0))<<16;e=e+4+(_((m&255)+-1|0,h)|0)+2|0;c[k+20>>2]=(d[e+2+-2>>0]|0)<<8|(d[e+2+-2+1>>0]|0)|((d[e+-2>>0]|0)<<8|(d[e+-2+1>>0]|0))<<16}c[k>>2]=0;c[c[g+140>>2]>>2]=k;c[g+140>>2]=k;c[g+132>>2]=(c[g+132>>2]|0)+(m&255);g=c[n>>2]|0;i=n;return g|0}}LTa(j,k);c[n>>2]=8;g=c[n>>2]|0;i=n;return g|0}function oWa(a){a=a|0;var b=0,d=0,e=0,f=0;if(!a)return;d=c[(c[a+96>>2]|0)+8>>2]|0;c[a+20>>2]=0;c[a+24>>2]=0;e=c[a+100>>2]|0;LTa(e,c[a+288+80>>2]|0);c[a+288+80>>2]=0;LTa(e,c[a+288+84>>2]|0);c[a+288+84>>2]=0;LTa(e,c[a+288+88>>2]|0);c[a+288+88>>2]=0;LTa(e,c[a+288+76>>2]|0);c[a+288+76>>2]=0;c[a+288+72>>2]=0;c[a+288+64>>2]=0;c[a+288+60>>2]=0;LTa(e,c[a+288+100>>2]|0);c[a+288+100>>2]=0;c[a+288+92>>2]=0;c[a+288+96>>2]=0;LTa(e,c[a+288+128>>2]|0);c[a+288+128>>2]=0;c[a+288+120>>2]=0;c[a+288+124>>2]=0;LTa(e,c[a+288+108>>2]|0);c[a+288+108>>2]=0;c[a+288+104>>2]=0;b=c[a+288+136>>2]|0;if(b|0)do{f=b;b=c[b>>2]|0;LTa(e,f)}while((b|0)!=0);c[a+288+136>>2]=0;c[a+288+140>>2]=0;c[a+288+132>>2]=0;LTa(d,c[a+32>>2]|0);c[a+32>>2]=0;return}function pWa(b){b=b|0;var d=0,e=0,f=0;d=c[c[b+156>>2]>>2]|0;e=b+160|0;f=e+36|0;do{c[e>>2]=0;e=e+4|0}while((e|0)<(f|0));c[b+188>>2]=d;a[b+192>>0]=0;P2a(d);return 0}function qWa(b){b=b|0;var d=0;d=c[c[b+188>>2]>>2]|0;LTa(d,c[b+168>>2]|0);c[b+168>>2]=0;c[b+172>>2]=0;c[b+164>>2]=0;LTa(d,c[b+184>>2]|0);c[b+176>>2]=0;c[b+176+4>>2]=0;c[b+176+8>>2]=0;c[b+176+12>>2]=0;a[b+176+16>>0]=0;return}function rWa(f,g,h,j){f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;F=i;i=i+16|0;D=c[f+4>>2]|0;C=(h|0)==0?0:h+-1|0;if(!D){E=6;i=F;return E|0}if(C>>>0>=(c[D+408>>2]|0)>>>0){E=6;i=F;return E|0}a:do if(!(j&9)){E=c[D+104>>2]|0;u=c[D+416>>2]|0;h=c[D+380>>2]|0;if(h|0){k=c[g+12>>2]|0;l=0;n=c[D+388>>2]|0;while(1){if((c[n>>2]|0)==(k&65535|0))if((c[n+4>>2]|0)==(k>>>16|0))break;l=l+1|0;if(l>>>0>=h>>>0)break a;else n=n+36|0}h=c[n+8>>2]|0;if(!(cTa(E,(c[n+24>>2]|0)+(c[D+432>>2]|0)|0)|0))if(!(jTa(E,_(c[n+28>>2]|0,(h&1|4)+(h>>>1&1)+(h>>>2&1)|0)|0)|0)){r=c[E+32>>2]|0;s=c[E+36>>2]|0;h=c[n+28>>2]|0;t=c[n+8>>2]|0;q=c[u+(C<<4)>>2]|0;p=(t&1|4)+((t&2)>>>1)+((t&4)>>>2)|0;b:do if(h|0){c:do if(!(t&1)){o=0;while(1){k=(h+o|0)>>>1;l=r+(_(k,p)|0)|0;if((l+p|0)>>>0>s>>>0)break b;n=d[l>>0]|0;if((n|0)==(q|0))break;h=n>>>0>>0?h:k;o=n>>>0>>0?k:o;if(o>>>0>=h>>>0)break b}h=l+1|0}else{o=0;while(1){k=(h+o|0)>>>1;l=r+(_(k,p)|0)|0;if((l+p|0)>>>0>s>>>0)break b;n=d[l+2+-2>>0]<<8|d[l+2+-2+1>>0];if((n|0)==(q|0)){h=l+2|0;break c}h=n>>>0>>0?h:k;o=n>>>0>>0?k:o;if(o>>>0>=h>>>0)break b}}while(0);if(!(t&2)){l=h+1|0;p=d[h>>0]|0}else{l=h+2|0;p=d[h>>0]<<8|d[h+1>>0]}h=d[l>>0]|0;k=a[l+1>>0]|0;if(!(t&4))o=k&255|h<<8;else o=(k&255)<<8|h<<16|d[l+2>>0];lTa(E);if(!p)break a;n=c[u+(C<<4)+4>>2]|0;k=c[D+304>>2]|0;h=c[D+300>>2]|0;if((k|0)==(h|0)){l=n;h=n}else{h=F2a(n,h,k)|0;l=c[u+(C<<4)+4>>2]|0;k=c[D+304>>2]|0}c[f+56>>2]=h;k=F2a(e[g+12>>1]<<8,l,k)|0;if(cTa(E,(c[D+188>>2]|0)+o|0)|0)break a;if(jTa(E,p)|0)break a;h=c[E+32>>2]|0;l=c[E+36>>2]|0;d:do if((h+1|0)>>>0<=l>>>0){q=a[h>>0]|0;switch(q&3|0){case 0:{if((h+2|0)>>>0>l>>>0)break d;B=a[h+1>>0]|0;v=h+2|0;A=B>>4;B=B<<28>>28;break}case 1:{if((h+3|0)>>>0>l>>>0)break d;v=h+3|0;A=a[h+1>>0]|0;B=a[h+2>>0]|0;break}case 2:{if((h+5|0)>>>0>l>>>0)break d;v=h+5|0;A=(d[h+1>>0]<<8|d[h+2>>0])<<16>>16;B=(d[h+3>>0]<<8|d[h+4>>0])<<16>>16;break}case 3:{if((h+7|0)>>>0>l>>>0)break d;v=h+7|0;A=d[h+2>>0]<<8|d[h+1>>0]<<16|d[h+3>>0];B=d[h+5>>0]<<8|d[h+4>>0]<<16|d[h+6>>0];break}default:{}}switch((q&255)>>>2&3|0){case 0:{w=v;x=0;y=0;break}case 1:{h=v+1|0;if(h>>>0>l>>>0)break d;y=d[v>>0]|0;w=h;x=y>>>4;y=y&15;break}case 2:{h=v+2|0;if(h>>>0>l>>>0)break d;w=h;x=d[v>>0]|0;y=d[v+1>>0]|0;break}case 3:{h=v+4|0;if(h>>>0>l>>>0)break d;w=h;x=d[v>>0]<<8|d[v+1>>0];y=d[v+2>>0]<<8|d[v+3>>0];break}default:{}}switch((q&255)>>>4&3|0){case 0:{z=k;m=w;break}case 1:{m=w+1|0;if(m>>>0>l>>>0)break d;z=a[w>>0]<<8;break}case 2:{m=w+2|0;if(m>>>0>l>>>0)break d;z=(d[w>>0]<<8|d[w+1>>0])<<16>>16;break}case 3:{m=w+3|0;if(m>>>0>l>>>0)break d;z=d[w+1>>0]<<8|d[w>>0]<<16|d[w+2>>0];break}default:{}}o=m;if((B|0)<=(2147483647-y|0)){c[f+72>>2]=1651078259;c[f+80>>2]=x;c[f+76>>2]=y;w=x+7>>3;c[f+84>>2]=w;a[f+94>>0]=1;x=x<<6;c[f+24>>2]=x;c[f+28>>2]=y<<6;c[f+32>>2]=A<<6;c[f+36>>2]=B<<6;c[f+40>>2]=(z>>2)+32&-64;c[f+44>>2]=0-x>>1;c[f+48>>2]=0;c[f+52>>2]=c[g+32>>2];c[f+100>>2]=A;c[f+104>>2]=y+B;if(!(ORa(f,_(w,y)|0)|0)){x=c[E+36>>2]|0;h=c[D+208>>2]&2;k=c[f+76>>2]|0;e:do if(k|0){z=c[f+80>>2]|0;if(!z)break;l=c[f+88>>2]|0;n=c[f+84>>2]|0;p=_(z,k)|0;if(!h){w=l+(_(n,k+-1|0)|0)|0;y=0-n|0}else{w=l;y=n}switch(((q&255)>>>4&255)>>>2|0){case 0:{s=x-o<<3>>>0>p>>>0?p:x-o<<3;if(!s)break e;l=0;k=w;n=z;h=128;r=s;q=0;o=w;while(1){if(!((r^s)&7)){p=m+1|0;m=d[m>>0]|0}else{p=m;m=q}l=((m&128|0)==0?0:h)|l;q=m<<1;h=h>>>1;m=n+-1|0;do if(!m){a[k>>0]=l;o=o+y|0;l=0;k=o;n=z;h=128}else{if(h|0){n=m;break}a[k>>0]=l;l=0;k=k+1|0;n=m;h=128}while(0);r=r+-1|0;if(!r)break;else m=p}if((h|0)==128)break e;a[k>>0]=l;break e}case 1:{if(!p)break e;l=0;s=0;t=0;k=w;u=z;h=128;v=p;o=1;n=1;q=w;while(1){f:do if(!n)p=s;else{r=m;m=s;n=t;while(1){while(1){if(o|0){p=m;break}if(!n){m=0;n=0;o=1}else{m=r;p=n;t=n;o=1;break f}}if(r>>>0>=x>>>0){m=r;t=n;break f}m=r+1|0;n=d[r>>0]|0;if(!(n>>>4)){r=m;m=0;n=n&15;o=0}else{p=n>>>4;t=n&15;o=0;break}}}while(0);l=((o|0)==0?0:h)|l;h=h>>>1;n=u+-1|0;do if(!n){a[k>>0]=l;q=q+y|0;l=0;k=q;n=z;h=128}else{if(h|0)break;a[k>>0]=l;l=0;k=k+1|0;h=128}while(0);v=v+-1|0;if(!v)break;else{s=p+-1|0;u=n;n=(p|0)<2&1}}if((h|0)==128)break e;a[k>>0]=l;break e}case 2:{if(!p)break e;l=0;q=0;k=w;s=z;h=128;u=p;p=1;n=1;t=w;while(1){g:do if(!n)r=q;else{n=q;while(1){if(m>>>0>=x>>>0){r=n;break g}n=m+1|0;o=a[m>>0]|0;p=p^1;if(!(o<<24>>24)){m=n;n=o&255}else{m=n;r=o&255;break}}}while(0);l=((p|0)==0?0:h)|l;h=h>>>1;n=s+-1|0;do if(!n){a[k>>0]=l;o=t+y|0;l=0;k=o;n=z;h=128}else{if(h|0){o=t;break}a[k>>0]=l;l=0;k=k+1|0;h=128;o=t}while(0);u=u+-1|0;if(!u)break;else{q=r+-1|0;s=n;n=(r|0)<2&1;t=o}}if((h|0)==128)break e;a[k>>0]=l;break e}default:break d}}while(0);lTa(E);E=0;i=F;return E|0}}}while(0);lTa(E);break a}while(0);lTa(E)}}}while(0);if(j&16384|0){E=6;i=F;return E|0}k=c[D+416>>2]|0;c[f+72>>2]=1869968492;b[f+110>>1]=0;b[f+108>>1]=0;B=c[D+188>>2]|0;A=c[D+104>>2]|0;E=c[k+(C<<4)+12>>2]|0;h=c[k+(C<<4)+8>>2]|0;P2a(c[f+188>>2]|0);c[f+176>>2]=0;h=sWa(f+160|0,A,B,E,h)|0;if(h|0){E=h;i=F;return E|0}h=(c[f+188>>2]|0)+20|0;c[f+108>>2]=c[h>>2];c[f+108+4>>2]=c[h+4>>2];c[f+108+8>>2]=c[h+8>>2];c[f+108+12>>2]=c[h+12>>2];c[f+108+16>>2]=c[h+16>>2];h=c[f+124>>2]&-6;c[f+124>>2]=h|4;if(g|0)if((e[g+14>>1]|0)<24)c[f+124>>2]=h|260;c[f+40>>2]=0;c[f+52>>2]=0;k=c[k+(C<<4)+4>>2]|0;h=c[D+304>>2]|0;l=c[D+300>>2]|0;if((h|0)!=(l|0))k=F2a(k,l,h)|0;if(!(c[D+324>>2]&1)){c[f+40>>2]=k;h=k;k=c[f+52>>2]|0}else{c[f+52>>2]=k;h=c[f+40>>2]|0}c[f+56>>2]=h;c[f+60>>2]=k;c[f+44>>2]=0;c[f+48>>2]=0;if(!(j&1)){m=c[g+16>>2]|0;l=c[g+20>>2]|0;if((b[f+110>>1]|0)>0){h=0;k=c[f+112>>2]|0;while(1){c[k>>2]=H2a(c[k>>2]|0,m)|0;E=k+4|0;c[E>>2]=H2a(c[E>>2]|0,l)|0;h=h+1|0;if((h|0)>=(b[f+110>>1]|0))break;else k=k+8|0}h=c[f+40>>2]|0}c[f+40>>2]=H2a(h,m)|0;c[f+52>>2]=H2a(c[f+52>>2]|0,l)|0}HSa(f+108|0,F);g=c[F>>2]|0;c[f+24>>2]=(c[F+8>>2]|0)-g;E=c[F+4>>2]|0;c[f+28>>2]=(c[F+12>>2]|0)-E;c[f+32>>2]=g;c[f+36>>2]=E;E=0;i=F;return E|0}function sWa(f,g,h,j,k){f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;x=i;i=i+48|0;j=cTa(g,j+h|0)|0;if(j|0){g=j;i=x;return g|0}j=jTa(g,k)|0;if(j|0){g=j;i=x;return g|0}v=c[g+32>>2]|0;if(k|0)if((a[v>>0]|0)<0){t=c[f+28>>2]|0;u=c[f+16>>2]|0;c[x+32>>2]=0;n=c[t>>2]|0;a:do if((k|0)<1)w=52;else{q=d[v>>0]|0;if(!(q&128))w=52;else{b:do if(!(q&8))m=v+1|0;else{c:do if((k|0)>=2){j=a[v+1>>0]|0;if(!(j<<24>>24))j=v+2|0;else{m=j&255;j=v+2|0;do{l=j+2|0;if(l>>>0>(v+k|0)>>>0)break c;j=l+(d[j>>0]|0)|0;if(j>>>0>(v+k|0)>>>0)break c;m=m+-1|0}while((m|0)!=0)}c[x+32>>2]=0;m=j;break b}while(0);c[x+32>>2]=8;j=8;break a}while(0);j=c[f+20>>2]|0;if((u+(q&63)|0)>>>0>j>>>0){if((u+(q&63)+3&-4)>>>0>64){c[x+32>>2]=8;j=8;break}l=JTa(n,24,j,u+(q&63)+3&-4,c[f+24>>2]|0,x+32|0)|0;c[f+24>>2]=l;j=c[x+32>>2]|0;if(j|0)break;c[f+20>>2]=u+(q&63)+3&-4}else l=c[f+24>>2]|0;if(!(q&63))j=0;else{j=m;p=0;o=l+(u*24|0)|0;while(1){l=j+1|0;if(l>>>0>(v+k|0)>>>0){w=52;break a}n=d[j>>0]|0;c[o>>2]=65536;if(!(n&16))j=l;else{m=j+3|0;if(m>>>0>(v+k|0)>>>0){w=52;break a}c[o>>2]=(d[l>>0]<<8|d[j+2>>0])<<16>>12;j=m}l=o+4|0;c[l>>2]=65536;if(!(n&32))m=j;else{m=j+2|0;if(m>>>0>(v+k|0)>>>0){w=52;break a}c[l>>2]=(d[j>>0]<<8|d[j+1>>0])<<16>>12}switch(n&3|0){case 1:{j=m+2|0;if(j>>>0>(v+k|0)>>>0){w=52;break a}m=(d[m>>0]<<8|d[m+1>>0])<<16>>16;break}case 2:{j=m+1|0;if(j>>>0>(v+k|0)>>>0){w=52;break a}m=a[m>>0]|0;break}default:{j=m;m=0}}switch(n>>>2&3|0){case 1:{l=j+2|0;if(l>>>0>(v+k|0)>>>0){w=52;break a}j=(d[j>>0]<<8|d[j+1>>0])<<16>>16;break}case 2:{l=j+1|0;if(l>>>0>(v+k|0)>>>0){w=52;break a}j=a[j>>0]|0;break}default:{l=j;j=0}}c[o+8>>2]=m;c[o+12>>2]=j;if(!(n&64)){j=l+1|0;if(j>>>0>(v+k|0)>>>0){w=52;break a}c[o+20>>2]=d[l>>0];l=j}else{j=l+2|0;if(j>>>0>(v+k|0)>>>0){w=52;break a}c[o+20>>2]=d[l>>0]<<8|d[l+1>>0];l=j}if(!(n&128)){j=l+2|0;if(j>>>0>(v+k|0)>>>0){w=52;break a}c[o+16>>2]=d[l>>0]<<8|d[l+1>>0]}else{j=l+3|0;if(j>>>0>(v+k|0)>>>0){w=52;break a}c[o+16>>2]=d[l+1>>0]<<8|d[l>>0]<<16|d[l+2>>0]}c[f+16>>2]=(c[f+16>>2]|0)+1;p=p+1|0;if(p>>>0>=(q&63)>>>0)break;else o=o+24|0}j=c[x+32>>2]|0}}}while(0);if((w|0)==52){c[x+32>>2]=8;j=8}lTa(g);if(j|0){g=j;i=x;return g|0}r=c[f+16>>2]|0;if((r|0)==(u|0)){g=0;i=x;return g|0}s=0;while(1){j=(c[f+24>>2]|0)+(u*24|0)+(s*24|0)|0;p=b[t+22>>1]|0;j=sWa(f,g,h,c[j+16>>2]|0,c[j+20>>2]|0)|0;if(j|0){w=185;break}o=(c[f+24>>2]|0)+(u*24|0)+(s*24|0)|0;q=(b[t+22>>1]|0)-p|0;j=c[o>>2]|0;if((j|0)==65536)if((c[o+4>>2]|0)==65536){if((q|0)>0){n=c[o+8>>2]|0;l=c[o+12>>2]|0;m=0;j=(c[t+24>>2]|0)+(p<<3)|0;while(1){c[j>>2]=(c[j>>2]|0)+n;k=j+4|0;c[k>>2]=(c[k>>2]|0)+l;m=m+1|0;if((m|0)==(q|0))break;else j=j+8|0}}}else w=60;else w=60;d:do if((w|0)==60){w=0;if((q|0)>0){l=0;m=(c[t+24>>2]|0)+(p<<3)|0;while(1){k=H2a(c[m>>2]|0,j)|0;c[m>>2]=(c[o+8>>2]|0)+k;k=m+4|0;v=H2a(c[k>>2]|0,c[o+4>>2]|0)|0;c[k>>2]=(c[o+12>>2]|0)+v;l=l+1|0;if((l|0)==(q|0))break d;j=c[o>>2]|0;m=m+8|0}}}while(0);s=s+1|0;if(s>>>0>=(r-u|0)>>>0){j=0;w=185;break}}if((w|0)==185){i=x;return j|0}}c[x+32>>2]=0;n=c[c[f+28>>2]>>2]|0;e:do if((k|0)<1)w=183;else{r=d[v>>0]|0;if(!(r&128)){if(!(r&4)){if(!(r&2)){m=v+1|0;l=0}else{if((k|0)<2){w=183;break}m=v+2|0;l=d[v+1>>0]|0}if(!(r&1)){o=m;h=l;u=0}else{j=m+1|0;if(j>>>0>(v+k|0)>>>0){w=183;break}o=j;h=l;u=d[m>>0]|0}}else{if((k|0)<2){w=183;break}u=d[v+1>>0]|0;o=v+2|0;h=u&15;u=u>>>4}q=h+u|0;j=c[f+4>>2]|0;if(q>>>0>j>>>0){l=JTa(n,4,j,q+7&-8,c[f+8>>2]|0,x+32|0)|0;c[f+8>>2]=l;j=c[x+32>>2]|0;if(j|0)break;c[f+4>>2]=q+7&-8;t=f+8|0}else{t=f+8|0;l=c[f+8>>2]|0}c[f+12>>2]=l+(h<<2);if(!q)j=o;else{j=o;p=0;n=0;o=0;while(1){if(!(p&7)){m=j+1|0;if(m>>>0>(v+k|0)>>>0){w=183;break e}n=d[j>>0]|0}else m=j;if(!(n&1)){j=m+1|0;if(j>>>0>(v+k|0)>>>0){w=183;break e}m=(d[m>>0]|0)+o|0}else{j=m+2|0;if(j>>>0>(v+k|0)>>>0){w=183;break e}m=(d[m>>0]<<8|d[m+1>>0])<<16>>16}c[l+(p<<2)>>2]=m;p=p+1|0;if(p>>>0>=q>>>0)break;else{n=n>>>1;o=m}}}f:do if(r&8){l=j+1|0;g:do if(l>>>0<=(v+k|0)>>>0){j=a[j>>0]|0;if(!(j<<24>>24))j=l;else{m=j&255;j=l;do{l=j+2|0;if(l>>>0>(v+k|0)>>>0)break g;j=l+(d[j>>0]|0)|0;if(j>>>0>(v+k|0)>>>0)break g;m=m+-1|0}while((m|0)!=0)}c[x+32>>2]=0;break f}while(0);c[x+32>>2]=8;j=8;break e}while(0);a[f+32>>0]=0;c[x+4>>2]=0;c[x>>2]=0;m=c[x>>2]|0;n=c[x+4>>2]|0;c[x+24>>2]=m;c[x+24+4>>2]=n;h:while(1){l=j+1|0;if(l>>>0>(v+k|0)>>>0){w=180;break}s=d[j>>0]|0;switch(s>>>4|0){case 0:{w=136;break h}case 5:case 4:case 1:{o=1;p=s&15;q=x;r=0;w=112;break}case 2:{if((s&15)>>>0>=h>>>0){w=180;break h}c[x>>2]=c[(c[t>>2]|0)+((s&15)<<2)>>2];c[x+4>>2]=n;m=c[x>>2]|0;n=c[x+4>>2]|0;c[x+24>>2]=m;c[x+24+4>>2]=n;w=147;break}case 3:{if((s&15)>>>0>=u>>>0){w=180;break h}c[x>>2]=m;c[x+4>>2]=c[(c[f+12>>2]|0)+((s&15)<<2)>>2];m=c[x>>2]|0;n=c[x+4>>2]|0;c[x+24>>2]=m;c[x+24+4>>2]=n;w=147;break}case 6:{o=3;p=2958;q=x;r=0;w=112;break}case 7:{o=3;p=3627;q=x;r=0;w=112;break}default:{o=4;p=s&15;q=x;r=0;w=112}}i:do if((w|0)==112){while(1){w=0;switch(p&3|0){case 0:{m=l+1|0;if(m>>>0>(v+k|0)>>>0){w=182;break h}j=d[l>>0]|0;if(j>>>0>=h>>>0){w=182;break h}c[q>>2]=c[(c[t>>2]|0)+(j<<2)>>2];l=m;break}case 1:{j=l+2|0;if(j>>>0>(v+k|0)>>>0){w=182;break h}c[q>>2]=(d[l>>0]<<8|d[l+1>>0])<<16>>16;l=j;break}case 2:{j=l+1|0;if(j>>>0>(v+k|0)>>>0){w=182;break h}c[q>>2]=(a[l>>0]|0)+m;l=j;break}default:c[q>>2]=m}switch(p>>>2&3|0){case 0:{m=l+1|0;if(m>>>0>(v+k|0)>>>0){w=182;break h}j=d[l>>0]|0;if(j>>>0>=u>>>0){w=182;break h}c[q+4>>2]=c[(c[f+12>>2]|0)+(j<<2)>>2];j=m;break}case 1:{j=l+2|0;if(j>>>0>(v+k|0)>>>0){w=182;break h}c[q+4>>2]=(d[l>>0]<<8|d[l+1>>0])<<16>>16;break}case 2:{j=l+1|0;if(j>>>0>(v+k|0)>>>0){w=182;break h}c[q+4>>2]=(a[l>>0]|0)+n;break}default:{c[q+4>>2]=n;j=l}}if((r|0)==0&(o|0)==4){l=j+1|0;if(l>>>0>(v+k|0)>>>0){w=182;break h}o=3;j=d[j>>0]|0}else{l=j;j=p>>>4}n=q;m=c[n>>2]|0;n=c[n+4>>2]|0;c[x+24>>2]=m;c[x+24+4>>2]=n;r=r+1|0;if(r>>>0>=o>>>0)break;else{p=j;q=q+8|0;w=112}}switch(s>>>4|0){case 0:{w=136;break h}case 3:case 2:case 1:{w=147;break i}case 5:case 4:break;default:{o=c[f+28>>2]|0;do if(!(a[f+32>>0]|0))j=8;else{j=b[o+58>>1]|0;if(((b[o+22>>1]|0)+3+(j<<16>>16)|0)>>>0>(c[o+4>>2]|0)>>>0){j=S2a(o,3,0)|0;if(j|0)break;j=b[o+58>>1]|0}j=j<<16>>16;s=(c[o+60>>2]|0)+(j<<3)|0;j=(c[o+64>>2]|0)+j|0;r=c[x+4>>2]|0;c[s>>2]=c[x>>2];c[s+4>>2]=r;r=c[x+8+4>>2]|0;c[s+8>>2]=c[x+8>>2];c[s+8+4>>2]=r;r=c[x+16+4>>2]|0;c[s+16>>2]=c[x+16>>2];c[s+16+4>>2]=r;a[j>>0]=2;a[j+1>>0]=2;a[j+2>>0]=1;b[o+58>>1]=(e[o+58>>1]|0)+3;j=0}while(0);c[x+32>>2]=j;break i}}s=c[f+28>>2]|0;if(a[f+32>>0]|0){j=b[s+58>>1]|0;p=c[s+56>>2]|0;if((p&65535)<<16>>16>0)q=b[(c[s+68>>2]|0)+((p<<16>>16)+-1<<1)>>1]|0;else q=0;if((j+-1|0)>(q|0)){o=c[s+60>>2]|0;if((c[o+(q<<3)>>2]|0)==(c[o+(j+-1<<3)>>2]|0))if((c[o+(q<<3)+4>>2]|0)==(c[o+(j+-1<<3)+4>>2]|0)){b[s+58>>1]=(p>>>16&65535)+-1<<16>>16;j=j+-2|0}else j=j+-1|0;else j=j+-1|0}else j=j+-1|0;if((j|0)>=(q|0)){b[s+56>>1]=(p&65535)+1<<16>>16;b[(c[s+68>>2]|0)+(p<<16>>16<<1)>>1]=j}a[f+32>>0]=0}a[f+32>>0]=1;p=c[s+4>>2]|0;if(((b[s+22>>1]|0)+1+(b[s+58>>1]|0)|0)>>>0>p>>>0)w=165;else{j=c[s+20>>2]|0;o=c[s+56>>2]|0;if(((j<<16>>16)+1+(o<<16>>16)|0)>>>0>(c[s+8>>2]|0)>>>0)w=165;else{r=j>>>16&65535;j=o>>>16&65535;o=s;w=168}}if((w|0)==165){w=0;j=S2a(s,1,1)|0;if(!j){o=c[f+28>>2]|0;if(!(a[f+32>>0]|0))j=8;else{r=b[o+22>>1]|0;j=b[o+58>>1]|0;p=c[o+4>>2]|0;w=168}}}do if((w|0)==168){w=0;q=o+58|0;if(((j<<16>>16)+1+(r<<16>>16)|0)>>>0>p>>>0){j=S2a(o,1,0)|0;if(j|0)break;j=b[q>>1]|0}j=j<<16>>16;r=c[x+4>>2]|0;s=(c[o+60>>2]|0)+(j<<3)|0;c[s>>2]=c[x>>2];c[s+4>>2]=r;a[(c[o+64>>2]|0)+j>>0]=1;b[q>>1]=(b[q>>1]|0)+1<<16>>16;j=0}while(0);c[x+32>>2]=j}while(0);if((w|0)==147){w=0;o=c[f+28>>2]|0;do if(!(a[f+32>>0]|0))j=8;else{j=b[o+58>>1]|0;if(((b[o+22>>1]|0)+1+(j<<16>>16)|0)>>>0>(c[o+4>>2]|0)>>>0){j=S2a(o,1,0)|0;if(j|0)break;j=b[o+58>>1]|0}j=j<<16>>16;r=c[x+4>>2]|0;s=(c[o+60>>2]|0)+(j<<3)|0;c[s>>2]=c[x>>2];c[s+4>>2]=r;a[(c[o+64>>2]|0)+j>>0]=1;b[o+58>>1]=(b[o+58>>1]|0)+1<<16>>16;j=0}while(0);c[x+32>>2]=j}if(!j)j=l;else break}if((w|0)==136){m=c[f+28>>2]|0;if(a[f+32>>0]|0){j=b[m+58>>1]|0;n=c[m+56>>2]|0;if((n&65535)<<16>>16>0)o=b[(c[m+68>>2]|0)+((n<<16>>16)+-1<<1)>>1]|0;else o=0;if((j+-1|0)>(o|0)){l=c[m+60>>2]|0;if((c[l+(o<<3)>>2]|0)==(c[l+(j+-1<<3)>>2]|0))if((c[l+(o<<3)+4>>2]|0)==(c[l+(j+-1<<3)+4>>2]|0)){b[m+58>>1]=(n>>>16&65535)+-1<<16>>16;j=j+-2|0}else j=j+-1|0;else j=j+-1|0}else j=j+-1|0;if((j|0)>=(o|0)){b[m+56>>1]=(n&65535)+1<<16>>16;b[(c[m+68>>2]|0)+(n<<16>>16<<1)>>1]=j}a[f+32>>0]=0}V2a(m);j=c[x+32>>2]|0}else if((w|0)==180){w=183;break}else if((w|0)==182){w=183;break}}else w=183}while(0);if((w|0)==183){c[x+32>>2]=8;j=8}lTa(g);g=j;i=x;return g|0}function tWa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;hWa(a,b,d,e)|0;b=c[a+288+12>>2]|0;d=c[a+288+16>>2]|0;if((b|0)==(d|0))return 0;f=c[e>>2]|0;if(f|0)c[e>>2]=F2a(f,b,d)|0;b=c[e+4>>2]|0;if(!b)return 0;c[e+4>>2]=F2a(b,c[a+288+12>>2]|0,c[a+288+16>>2]|0)|0;return 0}function uWa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;c[a+32>>2]=d;c[a+24>>2]=JTa(d,4,0,b,0,e)|0;if(!(c[e>>2]|0)){c[a+28>>2]=JTa(d,4,0,b,0,e)|0;if(!(c[e>>2]|0)){c[a+16>>2]=b;c[a+12>>2]=-559038737;c[a+20>>2]=0;c[a>>2]=0;c[a+8>>2]=0;c[a+4>>2]=0;c[a+36>>2]=c[13019];c[a+36+4>>2]=c[13020];c[a+36+8>>2]=c[13021];c[a+36+12>>2]=c[13022];a=0;i=e;return a|0}}LTa(d,c[a+24>>2]|0);c[a+24>>2]=0;a=c[e>>2]|0;i=e;return a|0}function vWa(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;h=c[a+32>>2]|0;j=c[a>>2]|0;if(!j){i=k;return}b=HTa(h,c[a+4>>2]|0,k)|0;c[a>>2]=b;if(c[k>>2]|0){i=k;return}mBb(b|0,j|0,c[a+4>>2]|0)|0;b=(c[a>>2]|0)-j|0;d=c[a+24>>2]|0;e=c[a+16>>2]|0;if((e|0)>0){g=d;do{f=c[g>>2]|0;if(f|0)c[g>>2]=f+b;g=g+4|0}while(g>>>0<(d+(e<<2)|0)>>>0)}c[a+8>>2]=c[a+4>>2];LTa(h,j);i=k;return}function wWa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+16|0;if((b|0)<0){a=6;i=p;return a|0}if((c[a+16>>2]|0)<=(b|0)){a=6;i=p;return a|0}g=(c[a+4>>2]|0)+e|0;f=c[a+8>>2]|0;if(g>>>0>f>>>0){o=c[a>>2]|0;n=(d-o|0)>-1&(d-o|0)>>>0>>0?d-o|0:-1;do f=f+1024+(f>>>2)&-1024;while(f>>>0>>0);m=c[a+32>>2]|0;g=HTa(m,f,p)|0;c[a>>2]=g;h=c[p>>2]|0;if(h|0){c[a>>2]=o;a=h;i=p;return a|0}if(o|0){mBb(g|0,o|0,c[a+8>>2]|0)|0;g=(c[a>>2]|0)-o|0;h=c[a+24>>2]|0;j=c[a+16>>2]|0;if((j|0)>0){l=h;do{k=c[l>>2]|0;if(k|0)c[l>>2]=k+g;l=l+4|0}while(l>>>0<(h+(j<<2)|0)>>>0)}LTa(m,o)}c[a+8>>2]=f;if((n|0)>-1)d=(c[a>>2]|0)+n|0}c[(c[a+24>>2]|0)+(b<<2)>>2]=(c[a>>2]|0)+(c[a+4>>2]|0);c[(c[a+28>>2]|0)+(b<<2)>>2]=e;mBb((c[a>>2]|0)+(c[a+4>>2]|0)|0,d|0,e|0)|0;c[a+4>>2]=(c[a+4>>2]|0)+e;a=0;i=p;return a|0}function xWa(a){a=a|0;var b=0;b=c[a+32>>2]|0;if((c[a+12>>2]|0)!=-559038737)return;LTa(b,c[a>>2]|0);c[a>>2]=0;LTa(b,c[a+24>>2]|0);c[a+24>>2]=0;LTa(b,c[a+28>>2]|0);c[a+28>>2]=0;c[a+12>>2]=0;return}function yWa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;c[a+12>>2]=0;c[a+4>>2]=b;c[a+8>>2]=d;c[a>>2]=b;c[a+16>>2]=e;b=a+20|0;d=52092;e=b+52|0;do{c[b>>2]=c[d>>2];b=b+4|0;d=d+4|0}while((b|0)<(e|0));return}function zWa(a){a=a|0;return}function AWa(b){b=b|0;var d=0,e=0,f=0,g=0;g=c[b+8>>2]|0;d=c[b>>2]|0;a:do if(d>>>0>>0){f=d;while(1){switch(a[f>>0]|0){case 0:case 12:case 9:case 10:case 13:case 32:break;case 37:{e=37;d=f;b:while(1){switch(e<<24>>24){case 10:case 13:break b;default:{}}d=d+1|0;if(d>>>0>=g>>>0)break;e=a[d>>0]|0}break}default:break a}f=d+1|0;d=f;if(f>>>0>=g>>>0)break a}}while(0);c[b>>2]=d;return}function BWa(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=c[b>>2]|0;k=c[b+8>>2]|0;a:do if(j>>>0>>0){d=j;e=j;while(1){switch(a[d>>0]|0){case 0:case 12:case 9:case 10:case 13:case 32:break;case 37:{f=37;e=d;b:while(1){switch(f<<24>>24){case 10:case 13:break b;default:{}}e=e+1|0;if(e>>>0>=k>>>0)break;f=a[e>>0]|0}break}default:break a}d=e+1|0;e=d;if(d>>>0>=k>>>0)break a}}else e=j;while(0);g=e;c:do if(g>>>0>>0){switch(a[g>>0]|0){case 93:case 91:{e=g+1|0;d=0;break c}case 123:{d=g;g=123;f=0;d:while(1){switch(g&255|0){case 123:{d=e;f=f+1|0;g=0;break}case 125:{f=f+-1|0;if(!f){i=14;break d}else{d=e;g=0}break}case 40:{d=e;e:do if(d>>>0>>0){e=0;while(1){h=d;f:while(1){d=h+1|0;g:do switch(a[h>>0]|0){case 40:{i=25;break f}case 41:{i=27;break f}case 92:{if((d|0)==(k|0)){d=k;e=3;break e}g=a[d>>0]|0;switch(g&255|0){case 41:case 40:case 92:case 102:case 98:case 116:case 114:case 110:{d=h+2|0;break g}default:{}}if(d>>>0>>0&(g&-8)<<24>>24==48){g=0;do{d=d+1|0;g=g+1|0;if(!(d>>>0>>0&g>>>0<3))break g}while((a[d>>0]&-8)<<24>>24==48)}break}default:{}}while(0);if(d>>>0>>0)h=d;else{e=3;break e}}if((i|0)==25){i=0;e=e+1|0}else if((i|0)==27){i=0;e=e+-1|0;if(!e){e=0;break e}}if(d>>>0>=k>>>0){e=3;break}}}else e=3;while(0);g=e;break}case 60:{e=e+1|0;h:do if(e>>>0>>0){d=e;while(1){switch(a[d>>0]|0){case 0:case 12:case 9:case 10:case 13:case 32:{d=e;i=35;break}case 37:{e=37;i:while(1){switch(e<<24>>24){case 10:case 13:break i;default:{}}d=d+1|0;if(d>>>0>=k>>>0)break;e=a[d>>0]|0}i=35;break}default:d=e}if((i|0)==35){i=0;e=d+1|0;if(e>>>0>>0){d=e;continue}else d=e}e=d;if(e>>>0>=k>>>0)break h;g=a[e>>0]|0;if((g+-48&255)>=10)switch(g<<24>>24){case 65:case 66:case 67:case 68:case 69:case 70:case 97:case 98:case 99:case 100:case 101:case 102:break;default:break h}d=e+1|0;e=d;if(d>>>0>=k>>>0){d=e;break h}}}else d=e;while(0);if(d>>>0>>0)if((a[d>>0]|0)!=62){i=42;break d}d=d+1|0;g=0;break}case 37:{e=g;j:while(1){switch(e<<24>>24){case 10:case 13:break j;default:{}}d=d+1|0;if(d>>>0>=k>>>0)break;e=a[d>>0]|0}g=0;break}default:{d=e;g=0}}e=d+1|0;if(!((g|0)==0&e>>>0>>0)){d=g;break}d=e;g=a[e>>0]|0}if((i|0)==14){e=d+1|0;f=0;d=0}else if((i|0)==42){e=d+1|0;d=3}d=(f|0)==0?d:3;break c}case 40:{e=g;d=0;k:while(1){g=e;l:while(1){e=g+1|0;m:do switch(a[g>>0]|0){case 40:{i=60;break l}case 41:{i=62;break l}case 92:{if((e|0)==(k|0)){e=k;d=3;break k}f=a[e>>0]|0;switch(f&255|0){case 41:case 40:case 92:case 102:case 98:case 116:case 114:case 110:{e=g+2|0;break m}default:{}}if(e>>>0>>0&(f&-8)<<24>>24==48){f=0;do{e=e+1|0;f=f+1|0;if(!(e>>>0>>0&f>>>0<3))break m}while((a[e>>0]&-8)<<24>>24==48)}break}default:{}}while(0);if(e>>>0>>0)g=e;else{d=3;break k}}if((i|0)==60)d=d+1|0;else if((i|0)==62){d=d+-1|0;if(!d){d=0;break}}if(e>>>0>=k>>>0){d=3;break}}break c}case 60:{n:do if((g+1|0)>>>0>>0){d=a[g+1>>0]|0;if(d<<24>>24==60){e=g+2|0;d=0;break c}f=d;d=g+1|0;e=g+1|0;while(1){switch(f<<24>>24){case 0:case 12:case 9:case 10:case 13:case 32:{d=e;i=74;break}case 37:{e=37;o:while(1){switch(e<<24>>24){case 10:case 13:break o;default:{}}d=d+1|0;if(d>>>0>=k>>>0)break;e=a[d>>0]|0}i=74;break}default:i=76}if((i|0)==74){i=0;e=d+1|0;if(e>>>0>>0)d=e;else i=76}if((i|0)==76){f=e;if(f>>>0>=k>>>0)break n;d=a[f>>0]|0;if((d+-48&255)>=10)switch(d<<24>>24){case 65:case 66:case 67:case 68:case 69:case 70:case 97:case 98:case 99:case 100:case 101:case 102:break;default:break n}if((f+1|0)>>>0>>0){d=f+1|0;e=f+1|0}else{e=f+1|0;break n}}f=a[d>>0]|0}}else e=g+1|0;while(0);d=e;if(d>>>0>>0)if((a[d>>0]|0)!=62){d=3;break c}e=d+1|0;d=0;break c}case 62:{if((g+1|0)>>>0>=k>>>0){e=g+1|0;d=3;break c}if((a[g+1>>0]|0)!=62){e=g+1|0;d=3;break c}e=g+2|0;d=0;break c}case 47:{e=g+1|0;break}default:{}}d=e;if(d>>>0>>0)while(1){switch(a[d>>0]|0){case 37:case 125:case 123:case 93:case 91:case 62:case 60:case 41:case 40:case 47:case 0:case 12:case 9:case 10:case 13:case 32:{d=0;break c}default:{}}d=d+1|0;e=d;if(d>>>0>=k>>>0){d=0;break c}}else d=0}else d=0;while(0);i=e;c[b+12>>2]=i>>>0>>0&(i|0)==(j|0)?3:d;c[b>>2]=e;return}function CWa(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=c[b+8>>2]|0;e=c[b>>2]|0;a:do if(e>>>0>>0){d=e;while(1){switch(a[d>>0]|0){case 0:case 12:case 9:case 10:case 13:case 32:{d=e;break}case 37:{e=37;b:while(1){switch(e<<24>>24){case 10:case 13:break b;default:{}}d=d+1|0;if(d>>>0>=k>>>0)break;e=a[d>>0]|0}break}default:{d=e;break a}}d=d+1|0;e=d;if(d>>>0>=k>>>0){d=e;break a}}}else d=e;while(0);c[b>>2]=d;if(d>>>0>=k>>>0){b=0;return b|0}e=a[d>>0]|0;switch(e<<24>>24){case 43:case 45:{if((d+1|0)==(k|0)){b=0;return b|0}else{g=d+1|0;j=e<<24>>24==45&1}break}default:{g=d;j=0}}c:do if(g>>>0>>0){h=0;i=0;while(1){e=a[g>>0]|0;switch(e<<24>>24){case 0:case 12:case 9:case 10:case 13:case 32:{e=h;f=i;break c}default:{}}if(e<<24>>24<0){e=h;f=i;break c}f=a[529771+(e&127)>>0]|0;if(((e&127)+-48|0)>>>0>=10){e=h;f=i;break c}if((i|0)>214748364){e=1;f=i}else if((i|0)==214748364&f<<24>>24>7){e=1;f=214748364}else{e=h;f=(f<<24>>24)+(i*10|0)|0}g=g+1|0;if(g>>>0>>0){h=e;i=f}else break c}}else{e=0;f=0}while(0);i=e<<24>>24==0?f:2147483647;i=j<<24>>24==0?i:0-i|0;e=g;if((g|0)==(d|0)){b=0;return b|0}if(g>>>0>>0)if((a[g>>0]|0)==35){j=g+1|0;if(j>>>0>=k>>>0|(i+-2|0)>>>0>34){b=0;return b|0}d=a[j>>0]|0;switch(d<<24>>24){case 43:case 45:{e=g+2|0;if((e|0)==(k|0)){b=0;return b|0}else h=d<<24>>24==45&1;break}default:{e=j;h=0}}d:do if(e>>>0>>0){f=0;g=0;while(1){d=a[e>>0]|0;switch(d<<24>>24){case 0:case 12:case 9:case 10:case 13:case 32:{d=g;break d}default:{}}if(d<<24>>24<0){d=g;break d}d=a[529771+(d&127)>>0]|0;if(!(d<<24>>24>-1&(d<<24>>24|0)<(i|0))){d=g;break d}if((g|0)>(2147483647/(i|0)|0|0)){f=1;d=g}else if((g|0)==(2147483647/(i|0)|0|0)?(d<<24>>24|0)>((2147483647%(i|0)|0)<<24>>24|0):0){f=1;d=2147483647/(i|0)|0}else d=(d<<24>>24)+(_(g,i)|0)|0;e=e+1|0;if(e>>>0>>0)g=d;else break d}}else{f=0;d=0}while(0);d=f<<24>>24==0?d:2147483647;if((e|0)==(j|0)){b=0;return b|0}else d=h<<24>>24==0?d:0-d|0}else d=i;else d=i;c[b>>2]=e;b=d;return b|0}function DWa(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;g=c[b+8>>2]|0;f=c[b>>2]|0;a:do if(f>>>0>>0){e=f;while(1){switch(a[e>>0]|0){case 0:case 12:case 9:case 10:case 13:case 32:{e=f;break}case 37:{f=37;b:while(1){switch(f<<24>>24){case 10:case 13:break b;default:{}}e=e+1|0;if(e>>>0>=g>>>0)break;f=a[e>>0]|0}break}default:{e=f;break a}}e=e+1|0;f=e;if(e>>>0>=g>>>0){e=f;break a}}}else e=f;while(0);c[b>>2]=e;return EWa(b,g,d)|0}function EWa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;f=c[b>>2]|0;if(f>>>0>=d>>>0){s=0;return s|0}g=a[f>>0]|0;a:do switch(g<<24>>24){case 43:case 45:if((f+1|0)==(d|0)){s=0;return s|0}else{i=a[f+1>>0]|0;f=f+1|0;s=g<<24>>24==45&1;break a}default:{i=g;s=0}}while(0);h=f;do if(i<<24>>24==46){r=0;f=0}else{b:do if(f>>>0>>0){switch(i<<24>>24){case 43:case 45:{g=f+1|0;if((g|0)==(d|0)){g=0;break b}else m=i<<24>>24==45&1;break}default:{g=f;m=0}}c:do if(g>>>0>>0){k=0;l=0;while(1){i=a[g>>0]|0;switch(i<<24>>24){case 0:case 12:case 9:case 10:case 13:case 32:{i=k;j=l;k=g;break c}default:{}}if(i<<24>>24<0){i=k;j=l;k=g;break c}j=a[529771+(i&127)>>0]|0;if(((i&127)+-48|0)>>>0>=10){i=k;j=l;k=g;break c}if((l|0)>214748364){i=1;j=l}else if((l|0)==214748364&j<<24>>24>7){i=1;j=214748364}else{i=k;j=(j<<24>>24)+(l*10|0)|0}g=g+1|0;if(g>>>0>>0){k=i;l=j}else{k=g;break c}}}else{i=0;j=0;k=g}while(0);g=i<<24>>24==0?j:2147483647;g=m<<24>>24==0?g:0-g|0;i=k;if((k|0)==(f|0))g=0;else if(k>>>0>>0)if((a[k>>0]|0)==35){n=k+1|0;if(n>>>0>=d>>>0|(g+-2|0)>>>0>34){g=0;break}j=a[n>>0]|0;switch(j<<24>>24){case 43:case 45:{i=k+2|0;if((i|0)==(d|0)){g=0;break b}else m=j<<24>>24==45&1;break}default:{i=n;m=0}}d:do if(i>>>0>>0){k=0;l=0;while(1){j=a[i>>0]|0;switch(j<<24>>24){case 0:case 12:case 9:case 10:case 13:case 32:{g=l;break d}default:{}}if(j<<24>>24<0){g=l;break d}j=a[529771+(j&127)>>0]|0;if(!(j<<24>>24>-1&(j<<24>>24|0)<(g|0))){g=l;break d}if((l|0)>(2147483647/(g|0)|0|0)){k=1;j=l}else if((l|0)==(2147483647/(g|0)|0|0)?(j<<24>>24|0)>((2147483647%(g|0)|0)<<24>>24|0):0){k=1;j=2147483647/(g|0)|0}else j=(j<<24>>24)+(_(l,g)|0)|0;i=i+1|0;if(i>>>0>>0)l=j;else{g=j;break d}}}else{k=0;g=0}while(0);g=k<<24>>24==0?g:2147483647;if((i|0)==(n|0)){g=0;break}else{h=i;g=m<<24>>24==0?g:0-g|0}}else h=i;else h=i}else g=0;while(0);if((h|0)==(f|0)){s=0;return s|0}else{f=(g|0)>32767;r=f&1;f=f?g:g<<16;break}}while(0);g=h;if(g>>>0>>0)if((a[g>>0]|0)==46){k=(f|0)==0;h=g;g=0;i=1;e:while(1){if((g|0)>=214748364){p=40;break}while(1){h=h+1|0;if(h>>>0>=d>>>0)break e;j=a[h>>0]|0;switch(j<<24>>24){case 0:case 12:case 9:case 10:case 13:case 32:break e;default:{}}if(j<<24>>24<0)break e;if(((j&127)+-48|0)>>>0>9)break e;g=(a[529771+(j&127)>>0]|0)+(g*10|0)|0;if(!(k&(e|0)>0))break;e=e+-1|0;if((g|0)>=214748364){p=40;break e}}i=i*10|0;if((i|0)>=214748364){p=51;break}}f:do if((p|0)==40)while(1){h=h+1|0;if(h>>>0>=d>>>0)break f;j=a[h>>0]|0;switch(j<<24>>24){case 0:case 12:case 9:case 10:case 13:case 32:break f;default:{}}if(j<<24>>24<0)break f;if(((j&127)+-48|0)>>>0>9)break f}else if((p|0)==51)if(k)while(1){h=h+1|0;if(h>>>0>=d>>>0)break f;j=a[h>>0]|0;switch(j<<24>>24){case 0:case 12:case 9:case 10:case 13:case 32:break f;default:{}}if(j<<24>>24<0)break f;if(((j&127)+-48|0)>>>0>9)break f}else while(1){h=h+1|0;if(h>>>0>=d>>>0)break f;j=a[h>>0]|0;switch(j<<24>>24){case 0:case 12:case 9:case 10:case 13:case 32:break f;default:{}}if(j<<24>>24<0)break f;if(((j&127)+-48|0)>>>0>9)break f}while(0)}else{g=0;i=1}else{g=0;i=1}q=h;g:do if((q+1|0)>>>0>>0){switch(a[q>>0]|0){case 69:case 101:break;default:{j=r;k=0;break g}}h=q+1|0;j=a[q+1>>0]|0;switch(j<<24>>24){case 43:case 45:{if((q+2|0)==(d|0))j=0;else{l=q+2|0;o=j<<24>>24==45&1;p=66}break}default:{l=q+1|0;o=0;p=66}}h:do if((p|0)==66){i:do if(l>>>0>>0){m=0;n=0;while(1){j=a[l>>0]|0;switch(j<<24>>24){case 0:case 12:case 9:case 10:case 13:case 32:{j=m;k=n;m=l;break i}default:{}}if(j<<24>>24<0){j=m;k=n;m=l;break i}k=a[529771+(j&127)>>0]|0;if(((j&127)+-48|0)>>>0>=10){j=m;k=n;m=l;break i}if((n|0)>214748364){j=1;k=n}else if((n|0)==214748364&k<<24>>24>7){j=1;k=214748364}else{j=m;k=(k<<24>>24)+(n*10|0)|0}l=l+1|0;if(l>>>0>>0){m=j;n=k}else{m=l;break i}}}else{j=0;k=0;m=l}while(0);j=j<<24>>24==0?k:2147483647;j=o<<24>>24==0?j:0-j|0;k=m;if((m|0)==(q+1|0))j=0;else if(m>>>0>>0)if((a[m>>0]|0)==35){p=m+1|0;if(p>>>0>=d>>>0|(j+-2|0)>>>0>34){j=0;break}l=a[p>>0]|0;switch(l<<24>>24){case 43:case 45:{k=m+2|0;if((k|0)==(d|0)){j=0;break h}else o=l<<24>>24==45&1;break}default:{k=p;o=0}}j:do if(k>>>0>>0){m=0;n=0;while(1){l=a[k>>0]|0;switch(l<<24>>24){case 0:case 12:case 9:case 10:case 13:case 32:{l=m;j=n;break j}default:{}}if(l<<24>>24<0){l=m;j=n;break j}l=a[529771+(l&127)>>0]|0;if(!(l<<24>>24>-1&(l<<24>>24|0)<(j|0))){l=m;j=n;break j}if((n|0)>(2147483647/(j|0)|0|0))m=1;else if((n|0)==(2147483647/(j|0)|0|0)?(l<<24>>24|0)>((2147483647%(j|0)|0)<<24>>24|0):0){m=1;n=2147483647/(j|0)|0}else n=(l<<24>>24)+(_(n,j)|0)|0;k=k+1|0;if(k>>>0>=d>>>0){l=m;j=n;break j}}}else{l=0;j=0}while(0);j=l<<24>>24==0?j:2147483647;if((k|0)==(p|0)){j=0;break}else{h=k;j=o<<24>>24==0?j:0-j|0}}else h=k;else h=k}while(0);if((q+1|0)==(h|0)){s=0;return s|0}if((j|0)>1e3){j=1;k=0}else{k=(j|0)<-1e3;e=(k?0:j)+e|0;j=r;k=k&1}}else{j=r;k=0}while(0);c[b>>2]=h;if(!(g|f)){s=0;return s|0}k:do if(!(j<<24>>24)){if(k<<24>>24){s=0;return s|0}if((e|0)>0){h=e;e=i;while(1){if((f|0)>214748363){f=2147483647;break k}f=f*10|0;if((g|0)>214748363){if((e|0)==1){f=2147483647;break k}i=(e|0)/10|0}else{g=g*10|0;i=e}e=h+-1|0;if((h|0)>1){h=e;e=i}else break}}l:do if((e|0)<0){h=g;while(1){g=(i|0)<214748364;h=g?h:(h|0)/10|0;if(!((f+9|0)>>>0>18|(h|0)!=0)){f=0;break}i=g?i*10|0:i;f=(f|0)/10|0;if((e|0)<-1)e=e+1|0;else{g=h;e=i;break l}}return f|0}else e=i;while(0);if(g)f=(I2a(g,e)|0)+f|0}else f=2147483647;while(0);s=s<<24>>24==0?f:0-f|0;return s|0}function FWa(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0;i=c[b+8>>2]|0;j=c[b>>2]|0;a:do if(j>>>0>>0){h=j;while(1){switch(a[h>>0]|0){case 0:case 12:case 9:case 10:case 13:case 32:{h=j;break}case 37:{j=37;b:while(1){switch(j<<24>>24){case 10:case 13:break b;default:{}}h=h+1|0;if(h>>>0>=i>>>0)break;j=a[h>>0]|0}break}default:break a}h=h+1|0;j=h;if(h>>>0>=i>>>0)break a}}while(0);c[b>>2]=j;k=j;if(k>>>0>=i>>>0){b=0;return b|0}if(!(g<<24>>24)){g=i-j|0;e=e<<1>>>0>g>>>0?g:e<<1;if(!e){i=0;h=0}else{j=1;i=0;h=0;c:do{g=a[k+i>>0]|0;switch(g<<24>>24){case 0:case 9:case 10:case 12:case 13:case 32:break;default:{if(g<<24>>24<0)break c;g=a[529771+(g&127)>>0]|0;if((g&255)>15)break c;j=g<<24>>24|j<<4;if(j&256){a[d+h>>0]=j;j=1;h=h+1|0}}}i=i+1|0}while(i>>>0>>0);if((j|0)!=1){a[d+h>>0]=j<<4;h=h+1|0}}c[f>>2]=h;h=k+i|0}else{if((a[k>>0]|0)!=60){b=3;return b|0}if((k+1|0)>>>0>>0){e=e<<1>>>0>(i-(k+1)|0)>>>0?i-(k+1)|0:e<<1;if(!e){g=0;h=0}else{i=1;g=0;h=0;d:do{j=a[k+1+g>>0]|0;switch(j<<24>>24){case 0:case 9:case 10:case 12:case 13:case 32:break;default:{if(j<<24>>24<0)break d;j=a[529771+(j&127)>>0]|0;if((j&255)>15)break d;i=j<<24>>24|i<<4;if(i&256){a[d+h>>0]=i;i=1;h=h+1|0}}}g=g+1|0}while(g>>>0>>0);if((i|0)!=1){a[d+h>>0]=i<<4;h=h+1|0}}j=h;i=c[b+8>>2]|0;h=k+1+g|0}else{j=0;h=k+1|0}c[f>>2]=j;if(h>>>0>>0)if((a[h>>0]|0)!=62){b=3;return b|0}h=h+1|0}c[b>>2]=h;b=0;return b|0}function GWa(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;m=c[d+8>>2]|0;h=c[d>>2]|0;a:do if(h>>>0>>0){j=h;while(1){switch(a[j>>0]|0){case 0:case 12:case 9:case 10:case 13:case 32:break;case 37:{g=37;h=j;b:while(1){switch(g<<24>>24){case 10:case 13:break b;default:{}}h=h+1|0;if(h>>>0>=m>>>0)break;g=a[h>>0]|0}break}default:break a}j=h+1|0;h=j;if(j>>>0>=m>>>0)break a}}while(0);c[d>>2]=h;g=h;c[n>>2]=g;c:do if(g>>>0>>0){l=a[g>>0]|0;l=l<<24>>24==91?93:l<<24>>24==123?125:0;if(l<<24>>24){c[n>>2]=g+1;j=g+1|0;h=g+1|0}else j=g;g=j>>>0>>0;d:do if(!f){if(!(l<<24>>24)){if(!g){g=0;break c}g=h;e:do if(g>>>0>>0)while(1){switch(a[g>>0]|0){case 0:case 12:case 9:case 10:case 13:case 32:{g=h;break}case 37:{h=37;f:while(1){switch(h<<24>>24){case 10:case 13:break f;default:{}}g=g+1|0;if(g>>>0>=m>>>0)break;h=a[g>>0]|0}break}default:break e}g=g+1|0;h=g;if(g>>>0>=m>>>0)break e}while(0);c[n>>2]=h;g=h;if(g>>>0>=m>>>0){g=0;break c}if(!(a[g>>0]|0)){h=g;g=0;break}EWa(n,m,0)|0;m=c[n>>2]|0;h=m;g=(g|0)==(m|0)?-1:1;break c}if(g)g=0;else{g=0;break c}while(1){j=h;g:do if(j>>>0>>0)while(1){switch(a[j>>0]|0){case 0:case 12:case 9:case 10:case 13:case 32:break;case 37:{k=37;h=j;h:while(1){switch(k<<24>>24){case 10:case 13:break h;default:{}}h=h+1|0;if(h>>>0>=m>>>0)break;k=a[h>>0]|0}break}default:break g}j=h+1|0;h=j;if(j>>>0>=m>>>0)break g}while(0);c[n>>2]=h;j=h;if(j>>>0>=m>>>0)break c;if((a[j>>0]|0)==l<<24>>24){h=j;break d}EWa(n,m,0)|0;h=c[n>>2]|0;if((j|0)==(h|0)){g=-1;break c}g=g+1|0;if(h>>>0>=m>>>0)break c}}else{if(!(l<<24>>24)){if(!g){g=0;break c}g=h;i:do if(g>>>0>>0)while(1){switch(a[g>>0]|0){case 0:case 12:case 9:case 10:case 13:case 32:break;case 37:{j=37;h=g;j:while(1){switch(j<<24>>24){case 10:case 13:break j;default:{}}h=h+1|0;if(h>>>0>=m>>>0)break;j=a[h>>0]|0}break}default:break i}g=h+1|0;h=g;if(g>>>0>=m>>>0)break i}while(0);c[n>>2]=h;g=h;if(g>>>0>=m>>>0){g=0;break c}if(!(a[g>>0]|0)){h=g;g=0;break}if((e|0)<=0){g=0;break c}b[f>>1]=(EWa(n,m,0)|0)>>>16;m=c[n>>2]|0;h=m;g=(g|0)==(m|0)?-1:1;break c}if(g)g=0;else{g=0;break c}while(1){j=h;k:do if(j>>>0>>0)while(1){switch(a[j>>0]|0){case 0:case 12:case 9:case 10:case 13:case 32:break;case 37:{k=37;h=j;l:while(1){switch(k<<24>>24){case 10:case 13:break l;default:{}}h=h+1|0;if(h>>>0>=m>>>0)break;k=a[h>>0]|0}break}default:break k}j=h+1|0;h=j;if(j>>>0>=m>>>0)break k}while(0);c[n>>2]=h;j=h;if(j>>>0>=m>>>0)break c;if((a[j>>0]|0)==l<<24>>24){h=j;break d}if((g|0)>=(e|0))break c;b[f+(g<<1)>>1]=(EWa(n,m,0)|0)>>>16;h=c[n>>2]|0;if((j|0)==(h|0)){g=-1;break c}g=g+1|0;if(h>>>0>=m>>>0)break c}}while(0);h=h+1|0;c[n>>2]=h}else g=0;while(0);c[d>>2]=h;i=n;return g|0}function HWa(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;i=c[b+8>>2]|0;h=c[b>>2]|0;a:do if(h>>>0>>0){g=h;while(1){switch(a[g>>0]|0){case 0:case 12:case 9:case 10:case 13:case 32:{g=h;break}case 37:{h=37;b:while(1){switch(h<<24>>24){case 10:case 13:break b;default:{}}g=g+1|0;if(g>>>0>=i>>>0)break;h=a[g>>0]|0}break}default:{g=h;break a}}g=g+1|0;h=g;if(g>>>0>=i>>>0){g=h;break a}}}else g=h;while(0);c[b>>2]=g;return IWa(b,i,d,e,f)|0}function IWa(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;j=c[b>>2]|0;c[n>>2]=j;a:do if(j>>>0>>0){m=a[j>>0]|0;m=m<<24>>24==91?93:m<<24>>24==123?125:0;if(m<<24>>24){c[n>>2]=j+1;k=j+1|0;h=j+1|0}else{k=j;h=j}b:do if(!f){l=h;j=k;h=0;while(1){if(l>>>0>=d>>>0)break a;JWa(n,d);j=c[n>>2]|0;if(j>>>0>=d>>>0)break a;if((a[j>>0]|0)==m<<24>>24)break b;EWa(n,d,g)|0;l=c[n>>2]|0;k=l;if((j|0)==(l|0)){j=k;h=-1;break a}h=h+1|0;if(!(m<<24>>24)){j=k;break a}else j=k}}else{l=h;j=k;h=0;while(1){if(l>>>0>=d>>>0)break a;JWa(n,d);j=c[n>>2]|0;if(j>>>0>=d>>>0)break a;if((a[j>>0]|0)==m<<24>>24)break b;if((h|0)>=(e|0))break a;c[f+(h<<2)>>2]=EWa(n,d,g)|0;l=c[n>>2]|0;k=l;if((j|0)==(l|0)){j=k;h=-1;break a}h=h+1|0;if(!(m<<24>>24)){j=k;break a}else j=k}}while(0);j=j+1|0;c[n>>2]=j}else h=0;while(0);c[b>>2]=j;i=n;return h|0}function JWa(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;e=c[b>>2]|0;a:do if(e>>>0>>0){g=e;while(1){switch(a[g>>0]|0){case 0:case 12:case 9:case 10:case 13:case 32:break;case 37:{f=37;e=g;b:while(1){switch(f<<24>>24){case 10:case 13:break b;default:{}}e=e+1|0;if(e>>>0>=d>>>0)break;f=a[e>>0]|0}break}default:break a}g=e+1|0;e=g;if(g>>>0>=d>>>0)break a}}while(0);c[b>>2]=e;return}function KWa(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;c[e+8>>2]=0;c[e>>2]=0;c[e+4>>2]=0;l=c[b+8>>2]|0;g=c[b>>2]|0;a:do if(g>>>0>>0){f=g;while(1){switch(a[f>>0]|0){case 0:case 12:case 9:case 10:case 13:case 32:{f=g;break}case 37:{g=37;b:while(1){switch(g<<24>>24){case 10:case 13:break b;default:{}}f=f+1|0;if(f>>>0>=l>>>0)break;g=a[f>>0]|0}break}default:break a}f=f+1|0;g=f;if(f>>>0>=l>>>0)break a}}while(0);c[b>>2]=g;f=g;if(f>>>0>=l>>>0)return;c:do switch(d[f>>0]|0){case 40:{c[e+8>>2]=2;c[e>>2]=g;g=0;d:while(1){i=f;e:while(1){f=i+1|0;f:do switch(a[i>>0]|0){case 40:{k=20;break e}case 41:{k=22;break e}case 92:{if((f|0)==(l|0)){f=l;k=23;break d}h=a[f>>0]|0;switch(h&255|0){case 41:case 40:case 92:case 102:case 98:case 116:case 114:case 110:{f=i+2|0;break f}default:{}}if(f>>>0>>0&(h&-8)<<24>>24==48){h=0;do{f=f+1|0;h=h+1|0;if(!(f>>>0>>0&h>>>0<3))break f}while((a[f>>0]&-8)<<24>>24==48)}break}default:{}}while(0);if(f>>>0>>0)i=f;else{k=23;break d}}if((k|0)==20)g=g+1|0;else if((k|0)==22){g=g+-1|0;if(!g){k=24;break}}if(f>>>0>=l>>>0){k=23;break}}if((k|0)==23){k=90;break c}else if((k|0)==24){c[e+4>>2]=f;break c}break}case 123:{c[e+8>>2]=3;c[e>>2]=g;j=0;g:while(1){h=a[f>>0]|0;switch(h&255|0){case 123:{f=g;i=j+1|0;h=0;break}case 125:{h=j+-1|0;if(!h){k=29;break g}else{f=g;i=h;h=0}break}case 40:{f=g;h:do if(f>>>0>>0){g=0;while(1){i=f;i:while(1){f=i+1|0;j:do switch(a[i>>0]|0){case 40:{k=40;break i}case 41:{k=42;break i}case 92:{if((f|0)==(l|0)){f=l;h=3;break h}h=a[f>>0]|0;switch(h&255|0){case 41:case 40:case 92:case 102:case 98:case 116:case 114:case 110:{f=i+2|0;break j}default:{}}if(f>>>0>>0&(h&-8)<<24>>24==48){h=0;do{f=f+1|0;h=h+1|0;if(!(f>>>0>>0&h>>>0<3))break j}while((a[f>>0]&-8)<<24>>24==48)}break}default:{}}while(0);if(f>>>0>>0)i=f;else{h=3;break h}}if((k|0)==40){k=0;g=g+1|0}else if((k|0)==42){k=0;g=g+-1|0;if(!g){h=0;break h}}if(f>>>0>=l>>>0){h=3;break}}}else h=3;while(0);i=j;break}case 60:{g=g+1|0;k:do if(g>>>0>>0){f=g;while(1){switch(a[f>>0]|0){case 0:case 12:case 9:case 10:case 13:case 32:{f=g;k=50;break}case 37:{g=37;l:while(1){switch(g<<24>>24){case 10:case 13:break l;default:{}}f=f+1|0;if(f>>>0>=l>>>0)break;g=a[f>>0]|0}k=50;break}default:f=g}if((k|0)==50){k=0;g=f+1|0;if(g>>>0>>0){f=g;continue}else f=g}g=f;if(g>>>0>=l>>>0)break k;h=a[g>>0]|0;if((h+-48&255)>=10)switch(h<<24>>24){case 65:case 66:case 67:case 68:case 69:case 70:case 97:case 98:case 99:case 100:case 101:case 102:break;default:break k}f=g+1|0;g=f;if(f>>>0>=l>>>0){f=g;break k}}}else f=g;while(0);if(f>>>0>>0)if((a[f>>0]|0)!=62){g=j;k=57;break g}f=f+1|0;i=j;h=0;break}case 37:{m:while(1){switch(h<<24>>24){case 10:case 13:break m;default:{}}f=f+1|0;if(f>>>0>=l>>>0)break;h=a[f>>0]|0}i=j;h=0;break}default:{f=g;i=j;h=0}}f=f+1|0;g=f;if(!((h|0)==0&f>>>0>>0)){f=g;g=i;break}else j=i}if((k|0)==29){f=f+1|0;g=0;h=0}else if((k|0)==57){f=f+1|0;h=3}if(!(g|h)){c[e+4>>2]=f;g=f;k=91}else k=90;break}case 91:{c[e+8>>2]=3;c[e>>2]=f;c[b>>2]=f+1;n:do if((f+1|0)>>>0>>0){h=f+1|0;f=f+1|0;while(1){switch(a[h>>0]|0){case 0:case 12:case 9:case 10:case 13:case 32:break;case 37:{g=37;f=h;o:while(1){switch(g<<24>>24){case 10:case 13:break o;default:{}}f=f+1|0;if(f>>>0>=l>>>0)break;g=a[f>>0]|0}break}default:break n}h=f+1|0;f=h;if(h>>>0>=l>>>0)break n}}else f=f+1|0;while(0);c[b>>2]=f;g=f;if(g>>>0>>0){h=1;p:while(1){if(c[b+12>>2]|0){k=90;break c}switch(a[g>>0]|0){case 91:{h=h+1|0;break}case 93:{if((h|0)<2){f=g;break p}else h=h+-1|0;break}default:{}}c[b>>2]=f;BWa(b);j=c[b+8>>2]|0;f=c[b>>2]|0;q:do if(f>>>0>>0){i=f;while(1){switch(a[i>>0]|0){case 0:case 12:case 9:case 10:case 13:case 32:break;case 37:{g=37;f=i;r:while(1){switch(g<<24>>24){case 10:case 13:break r;default:{}}f=f+1|0;if(f>>>0>=j>>>0)break;g=a[f>>0]|0}break}default:break q}i=f+1|0;f=i;if(i>>>0>=j>>>0)break q}}while(0);c[b>>2]=f;g=f;if(g>>>0>=l>>>0){k=90;break c}}c[e+4>>2]=f+1;f=f+1|0}else k=90;break}default:{c[e>>2]=f;c[e+8>>2]=(a[f>>0]|0)==47?4:1;BWa(b);f=c[b>>2]|0;if(!(c[b+12>>2]|0)){c[e+4>>2]=f;g=f;k=91}else k=90}}while(0);if((k|0)==90){g=c[e+4>>2]|0;k=91}if((k|0)==91)if(!g){c[e>>2]=0;c[e+8>>2]=0}c[b>>2]=f;return}function LWa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;j=i;i=i+32|0;c[e>>2]=-1;KWa(a,j+12|0);if((c[j+12+8>>2]|0)!=3){i=j;return}g=c[a>>2]|0;h=c[a+8>>2]|0;k=(c[j+12>>2]|0)+1|0;c[a>>2]=k;f=(c[j+12+4>>2]|0)+-1|0;c[a+8>>2]=f;a:do if(k>>>0>>0)b:do if(!b){f=0;while(1){KWa(a,j);if(!(c[j+8>>2]|0))break b;f=f+12|0;if((c[a>>2]|0)>>>0>=(c[a+8>>2]|0)>>>0)break a}}else{f=b;while(1){KWa(a,j);if(!(c[j+8>>2]|0))break b;if(f>>>0<(b+(d*12|0)|0)>>>0){c[f>>2]=c[j>>2];c[f+4>>2]=c[j+4>>2];c[f+8>>2]=c[j+8>>2]}f=f+12|0;if((c[a>>2]|0)>>>0>=(c[a+8>>2]|0)>>>0)break a}}while(0);else f=b;while(0);c[e>>2]=(f-b|0)/12|0;c[a>>2]=g;c[a+8>>2]=h;i=j;return}function MWa(e,f,g,h,j){e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;x=i;i=i+48|0;KWa(e,x+24|0);w=c[x+24+8>>2]|0;a:do if(w|0){j=c[x+24>>2]|0;c[x+20>>2]=j;m=c[x+24+4>>2]|0;l=c[f+8>>2]|0;if((l|0)==7){u=c[e>>2]|0;v=c[e+8>>2]|0;c[e>>2]=j+1;c[e+8>>2]=m+-1;KWa(e,x+36|0);c[e>>2]=u;c[e+8>>2]=v;if((c[x+36+8>>2]|0)==3){k=1;l=8;q=5}else{k=1;n=0;v=7;q=7}}else if((w|0)==3){k=h;q=5}else{k=1;n=0;v=l;q=7}if((q|0)==5){if(!h)break;c[x+20>>2]=j+1;if(k|0){j=j+1|0;n=1;m=m+-1|0;v=l;q=7}}b:do if((q|0)==7){u=m;t=n;c:while(1){s=(c[g+(t<<2)>>2]|0)+(c[f+16>>2]|0)|0;l=j;d:do if(l>>>0>>0)while(1){switch(a[l>>0]|0){case 0:case 12:case 9:case 10:case 13:case 32:break;case 37:{n=37;j=l;e:while(1){switch(n<<24>>24){case 10:case 13:break e;default:{}}j=j+1|0;if(j>>>0>=m>>>0)break;n=a[j>>0]|0}break}default:break d}l=j+1|0;j=l;if(l>>>0>=m>>>0)break d}while(0);c[x+20>>2]=j;l=j;f:do switch(v|0){case 1:{if((l+3|0)>>>0>>0)if((a[l>>0]|0)==116)if((a[l+1>>0]|0)==114)if((a[l+2>>0]|0)==117)if((a[l+3>>0]|0)==101){l=l+5|0;j=1}else q=22;else q=22;else q=22;else q=22;else q=22;if((q|0)==22)if((l+4|0)>>>0>>0)if((a[l>>0]|0)==102)if((a[l+1>>0]|0)==97)if((a[l+2>>0]|0)==108)if((a[l+3>>0]|0)==115){l=(a[l+4>>0]|0)==101?l+6|0:l;j=0}else j=0;else j=0;else j=0;else j=0;else j=0;c[x+20>>2]=l;q=59;break}case 3:{j=EWa(x+20|0,m,0)|0;q=59;break}case 4:{j=EWa(x+20|0,m,3)|0;q=59;break}case 2:{if(l>>>0>>0){j=a[l>>0]|0;switch(j<<24>>24){case 43:case 45:{if((l+1|0)==(m|0)){j=0;q=59;break f}else{o=l+1|0;r=j<<24>>24==45&1}break}default:{o=l;r=0}}g:do if(o>>>0>>0){p=0;q=0;while(1){j=a[o>>0]|0;switch(j<<24>>24){case 0:case 12:case 9:case 10:case 13:case 32:{j=p;n=q;break g}default:{}}if(j<<24>>24<0){j=p;n=q;break g}n=a[529771+(j&127)>>0]|0;if(((j&127)+-48|0)>>>0>=10){j=p;n=q;break g}if((q|0)>214748364){j=1;n=q}else if((q|0)==214748364&n<<24>>24>7){j=1;n=214748364}else{j=p;n=(n<<24>>24)+(q*10|0)|0}o=o+1|0;if(o>>>0>>0){p=j;q=n}else break g}}else{j=0;n=0}while(0);j=j<<24>>24==0?n:2147483647;j=r<<24>>24==0?j:0-j|0;n=o;if((o|0)==(l|0)){j=0;q=59}else{if(o>>>0>>0)if((a[o>>0]|0)==35){r=o+1|0;if(r>>>0>=m>>>0|(j+-2|0)>>>0>34){j=0;q=59;break f}l=a[r>>0]|0;switch(l<<24>>24){case 43:case 45:{n=o+2|0;if((n|0)==(m|0)){j=0;q=59;break f}else q=l<<24>>24==45&1;break}default:{n=r;q=0}}h:do if(n>>>0>>0){o=0;p=0;while(1){l=a[n>>0]|0;switch(l<<24>>24){case 0:case 12:case 9:case 10:case 13:case 32:{j=p;break h}default:{}}if(l<<24>>24<0){j=p;break h}l=a[529771+(l&127)>>0]|0;if(!(l<<24>>24>-1&(l<<24>>24|0)<(j|0))){j=p;break h}do if((p|0)>(2147483647/(j|0)|0|0)){o=1;l=p}else{if((p|0)==(2147483647/(j|0)|0|0)?(l<<24>>24|0)>((2147483647%(j|0)|0)<<24>>24|0):0){o=1;l=2147483647/(j|0)|0;break}l=(l<<24>>24)+(_(p,j)|0)|0}while(0);n=n+1|0;if(n>>>0>>0)p=l;else{j=l;break h}}}else{o=0;j=0}while(0);j=o<<24>>24==0?j:2147483647;if((n|0)==(r|0)){j=0;q=59;break f}else j=q<<24>>24==0?j:0-j|0}c[x+20>>2]=n;q=59}}else{j=0;q=59}break}case 6:case 5:{o=c[e+16>>2]|0;j=u-j|0;if(l>>>0>>0){switch(w|0){case 4:{c[x+20>>2]=l+1;p=l+1|0;n=j+-1|0;break}case 2:{c[x+20>>2]=l+1;p=l+1|0;n=j+-2|0;break}default:{q=68;break c}}j=c[s>>2]|0;if(j|0){LTa(o,j);c[s>>2]=0}l=HTa(o,n+1|0,x+16|0)|0;j=c[x+16>>2]|0;if(j|0){q=123;break c}mBb(l|0,p|0,n|0)|0;a[l+n>>0]=0;c[s>>2]=l}break}case 7:{c[x+36>>2]=l;if(l>>>0>=m>>>0){q=101;break c}p=a[l>>0]|0;p=p<<24>>24==91?93:p<<24>>24==123?125:0;i:do if(!(p<<24>>24)){if(l>>>0>=m>>>0){q=102;break c}l=j;j:do if(l>>>0>>0)while(1){switch(a[l>>0]|0){case 0:case 12:case 9:case 10:case 13:case 32:break;case 37:{n=37;j=l;k:while(1){switch(n<<24>>24){case 10:case 13:break k;default:{}}j=j+1|0;if(j>>>0>=m>>>0)break;n=a[j>>0]|0}break}default:break j}l=j+1|0;j=l;if(l>>>0>=m>>>0)break j}while(0);c[x+36>>2]=j;l=j;if(l>>>0>=m>>>0){q=102;break c}if(!(a[l>>0]|0)){j=l;l=0;q=100}else{q=99;break c}}else{c[x+36>>2]=l+1;if((l+1|0)>>>0>>0){j=l+1|0;l=0;while(1){n=j;l:do if(n>>>0>>0)while(1){switch(a[n>>0]|0){case 0:case 12:case 9:case 10:case 13:case 32:break;case 37:{o=37;j=n;m:while(1){switch(o<<24>>24){case 10:case 13:break m;default:{}}j=j+1|0;if(j>>>0>=m>>>0)break;o=a[j>>0]|0}break}default:break l}n=j+1|0;j=n;if(n>>>0>=m>>>0)break l}while(0);c[x+36>>2]=j;n=j;if(n>>>0>=m>>>0){q=103;break i}if((a[n>>0]|0)==p<<24>>24){j=n;q=100;break i}if((l|0)>=4)break;c[x+(l<<2)>>2]=EWa(x+36|0,m,0)|0;j=c[x+36>>2]|0;if((n|0)==(j|0)){q=101;break c}l=l+1|0;if(j>>>0>=m>>>0){q=103;break i}}c[x+20>>2]=j}else{j=l+1|0;l=0;q=103}}while(0);if((q|0)==100){j=j+1|0;c[x+36>>2]=j;q=103}if((q|0)==103){q=0;c[x+20>>2]=j;if((l|0)<4)break c}c[s>>2]=D2a(c[x>>2]|0)|0;c[s+4>>2]=D2a(c[x+4>>2]|0)|0;c[s+8>>2]=D2a(c[x+8>>2]|0)|0;c[s+12>>2]=D2a(c[x+12>>2]|0)|0;break}case 8:{n=c[e+16>>2]|0;o=JTa(n,4,0,h<<2,0,x+16|0)|0;j=c[x+16>>2]|0;if(j|0){q=123;break c}s=IWa(x+20|0,m,h,o,0)|0;if((s|0)<0|s>>>0>>0){q=108;break c}l=c[x+20>>2]|0;n:do if(l>>>0>>0){j=l;while(1){switch(a[j>>0]|0){case 0:case 12:case 9:case 10:case 13:case 32:{j=l;break}case 37:{l=37;o:while(1){switch(l<<24>>24){case 10:case 13:break o;default:{}}j=j+1|0;if(j>>>0>=m>>>0)break;l=a[j>>0]|0}break}default:{j=l;break n}}j=j+1|0;l=j;if(j>>>0>=m>>>0){j=l;break n}}}else j=l;while(0);c[x+20>>2]=j;s=IWa(x+20|0,m,h,o+(h<<2)|0,0)|0;if((s|0)<0|s>>>0>>0){q=108;break c}l=c[x+20>>2]|0;p:do if(l>>>0>>0){j=l;while(1){switch(a[j>>0]|0){case 0:case 12:case 9:case 10:case 13:case 32:{j=l;break}case 37:{l=37;q:while(1){switch(l<<24>>24){case 10:case 13:break q;default:{}}j=j+1|0;if(j>>>0>=m>>>0)break;l=a[j>>0]|0}break}default:{j=l;break p}}j=j+1|0;l=j;if(j>>>0>=m>>>0){j=l;break p}}}else j=l;while(0);c[x+20>>2]=j;s=IWa(x+20|0,m,h,o+(h<<1<<2)|0,0)|0;if((s|0)<0|s>>>0>>0){q=108;break c}l=c[x+20>>2]|0;r:do if(l>>>0>>0){j=l;while(1){switch(a[j>>0]|0){case 0:case 12:case 9:case 10:case 13:case 32:{j=l;break}case 37:{l=37;s:while(1){switch(l<<24>>24){case 10:case 13:break s;default:{}}j=j+1|0;if(j>>>0>=m>>>0)break;l=a[j>>0]|0}break}default:{j=l;break r}}j=j+1|0;l=j;if(j>>>0>=m>>>0){j=l;break r}}}else j=l;while(0);c[x+20>>2]=j;s=IWa(x+20|0,m,h,o+(h*3<<2)|0,0)|0;if((s|0)<0|s>>>0>>0){q=108;break c}l=c[x+20>>2]|0;t:do if(l>>>0>>0){j=l;while(1){switch(a[j>>0]|0){case 0:case 12:case 9:case 10:case 13:case 32:{j=l;break}case 37:{l=37;u:while(1){switch(l<<24>>24){case 10:case 13:break u;default:{}}j=j+1|0;if(j>>>0>=m>>>0)break;l=a[j>>0]|0}break}default:{j=l;break t}}j=j+1|0;l=j;if(j>>>0>=m>>>0){j=l;break t}}}else j=l;while(0);c[x+20>>2]=j;if(h|0){j=0;do{s=c[g+(j<<2)>>2]|0;c[s>>2]=D2a(c[o+(j<<2)>>2]|0)|0;c[s+4>>2]=D2a(c[o+(j+h<<2)>>2]|0)|0;c[s+8>>2]=D2a(c[o+(j+(h<<1)<<2)>>2]|0)|0;c[s+12>>2]=D2a(c[o+(j+(h*3|0)<<2)>>2]|0)|0;j=j+1|0}while((j|0)!=(h|0))}LTa(n,o);break}default:break a}while(0);v:do if((q|0)==59){q=0;switch(d[f+20>>0]|0){case 1:{a[s>>0]=j;break v}case 2:{b[s>>1]=j;break v}case 4:{c[s>>2]=j;break v}default:{c[s>>2]=j;break v}}}while(0);k=k+-1|0;if(!k)break b;j=c[x+20>>2]|0;t=t+1|0}if((q|0)==68){c[x+16>>2]=3;e=3;i=x;return e|0}else if((q|0)==99){c[x>>2]=EWa(x+36|0,m,0)|0;j=c[x+36>>2]|0;if((l|0)==(j|0))q=101;else q=102}else if((q|0)==108){c[x+16>>2]=3;e=3;i=x;return e|0}else if((q|0)==123){i=x;return j|0}if((q|0)==101)c[x+20>>2]=j;else if((q|0)==102)c[x+20>>2]=j;c[x+16>>2]=3;e=3;i=x;return e|0}while(0);c[x+16>>2]=0;e=0;i=x;return e|0}while(0);c[x+16>>2]=3;e=3;i=x;return e|0}function NWa(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0;n=i;i=i+448|0;h=n;j=e;k=h+36|0;do{c[h>>2]=c[j>>2];h=h+4|0;j=j+4|0}while((h|0)<(k|0));c[n+8>>2]=2;switch(c[e+8>>2]|0){case 7:case 10:{c[n+8>>2]=3;break}default:{}}KWa(b,n+436|0);if((c[n+436+8>>2]|0)!=3){b=162;i=n;return b|0}l=c[b>>2]|0;m=c[b+8>>2]|0;j=(c[n+436>>2]|0)+1|0;c[b>>2]=j;k=(c[n+436+4>>2]|0)+-1|0;c[b+8>>2]=k;a:do if(j>>>0>>0){h=n+40|0;while(1){KWa(b,n+424|0);if(!(c[n+424+8>>2]|0))break;if(h>>>0<(n+40+384|0)>>>0){c[h>>2]=c[n+424>>2];c[h+4>>2]=c[n+424+4>>2];c[h+8>>2]=c[n+424+8>>2]}h=h+12|0;if((c[b>>2]|0)>>>0>=(c[b+8>>2]|0)>>>0)break a}}else h=n+40|0;while(0);h=h-(n+40)|0;c[b>>2]=l;c[b+8>>2]=m;if((h|0)<0){b=162;i=n;return b|0}j=c[e+24>>2]|0;j=((h|0)/12|0)>>>0>j>>>0?j:(h|0)/12|0;if((c[e+8>>2]|0)!=7){h=c[e+28>>2]|0;if(h|0)a[(c[f>>2]|0)+h>>0]=j}b:do if((j|0)>0){k=n+40|0;while(1){c[b>>2]=c[k>>2];c[b+8>>2]=c[k+4>>2];h=MWa(b,n,f,g,0)|0;if(h|0)break b;c[n+16>>2]=(c[n+16>>2]|0)+(d[n+20>>0]|0);if((j|0)>1){j=j+-1|0;k=k+12|0}else{h=0;break}}}else h=0;while(0);c[b>>2]=l;c[b+8>>2]=m;b=h;i=n;return b|0}function OWa(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;c[b+64>>2]=0;a[b+68>>0]=1;c[b+4>>2]=d;c[b+8>>2]=f;c[b>>2]=c[d+100>>2];if(f|0){d=c[c[f+156>>2]>>2]|0;c[b+12>>2]=d;c[b+16>>2]=d+20;c[b+20>>2]=d+56;P2a(d);c[b+76>>2]=c[e+40>>2];c[b+72>>2]=0;if(g<<24>>24)c[b+72>>2]=c[(c[f+156>>2]|0)+36>>2]}c[b+24>>2]=0;c[b+24+4>>2]=0;c[b+24+8>>2]=0;c[b+24+12>>2]=0;c[b+24+16>>2]=0;c[b+24+20>>2]=0;c[b+80>>2]=c[13036];c[b+80+4>>2]=c[13037];c[b+80+8>>2]=c[13038];c[b+80+12>>2]=c[13039];c[b+80+16>>2]=c[13040];c[b+80+20>>2]=c[13041];c[b+80+24>>2]=c[13042];c[b+80+28>>2]=c[13043];return}function PWa(a){a=a|0;var b=0;b=c[a+8>>2]|0;if(!b)return;a=c[a+16>>2]|0;c[b+108>>2]=c[a>>2];c[b+108+4>>2]=c[a+4>>2];c[b+108+8>>2]=c[a+8>>2];c[b+108+12>>2]=c[a+12>>2];c[b+108+16>>2]=c[a+16>>2];return}function QWa(a,d){a=a|0;d=d|0;if(!d){d=0;return d|0}a=c[a+12>>2]|0;if(((b[a+22>>1]|0)+d+(b[a+58>>1]|0)|0)>>>0<=(c[a+4>>2]|0)>>>0){d=0;return d|0}d=S2a(a,d,0)|0;return d|0}function RWa(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0;h=c[d+20>>2]|0;if(!(a[d+68>>0]|0)){f=h+2|0;e=b[f>>1]|0;e=e+1<<16>>16;b[f>>1]=e;return}else{j=c[h+4>>2]|0;i=b[h+2>>1]|0;d=(c[h+8>>2]|0)+i|0;c[j+(i<<3)>>2]=(D2a(e)|0)>>16;c[j+(i<<3)+4>>2]=(D2a(f)|0)>>16;a[d>>0]=g<<24>>24?1:2;f=h+2|0;e=b[f>>1]|0;e=e+1<<16>>16;b[f>>1]=e;return}}function SWa(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;g=c[d+12>>2]|0;if(((b[g+22>>1]|0)+1+(b[g+58>>1]|0)|0)>>>0>(c[g+4>>2]|0)>>>0){g=S2a(g,1,0)|0;if(g|0){f=g;return f|0}}g=c[d+20>>2]|0;if(!(a[d+68>>0]|0))g=g+2|0;else{i=c[g+4>>2]|0;h=b[g+2>>1]|0;d=(c[g+8>>2]|0)+h|0;c[i+(h<<3)>>2]=(D2a(e)|0)>>16;c[i+(h<<3)+4>>2]=(D2a(f)|0)>>16;a[d>>0]=1;g=g+2|0}b[g>>1]=(b[g>>1]|0)+1<<16>>16;i=0;return i|0}function TWa(d){d=d|0;var e=0;e=c[d+20>>2]|0;if(!e){e=3;return e|0}if(!(a[d+68>>0]|0)){b[e>>1]=(b[e>>1]|0)+1<<16>>16;e=0;return e|0}d=c[d+12>>2]|0;if(((b[d+20>>1]|0)+1+(b[d+56>>1]|0)|0)>>>0>(c[d+8>>2]|0)>>>0){d=S2a(d,0,1)|0;if(d|0){e=d;return e|0}}d=c[e>>2]|0;if((d&65535)<<16>>16>0){b[(c[e+12>>2]|0)+((d<<16>>16)+-1<<1)>>1]=(d>>>16)+65535;d=b[e>>1]|0}else d=d&65535;b[e>>1]=d+1<<16>>16;e=0;return e|0}function UWa(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;if((c[d+64>>2]|0)==3){f=0;return f|0}c[d+64>>2]=3;h=c[d+20>>2]|0;if(!h){f=3;return f|0}if(!(a[d+68>>0]|0)){b[h>>1]=(b[h>>1]|0)+1<<16>>16;g=d+12|0}else{g=c[d+12>>2]|0;if(((b[g+20>>1]|0)+1+(b[g+56>>1]|0)|0)>>>0>(c[g+8>>2]|0)>>>0){g=S2a(g,0,1)|0;if(g|0){f=g;return f|0}}g=c[h>>2]|0;if((g&65535)<<16>>16>0){b[(c[h+12>>2]|0)+((g<<16>>16)+-1<<1)>>1]=(g>>>16)+65535;g=b[h>>1]|0}else g=g&65535;b[h>>1]=g+1<<16>>16;g=d+12|0}g=c[g>>2]|0;if(((b[g+22>>1]|0)+1+(b[g+58>>1]|0)|0)>>>0>(c[g+4>>2]|0)>>>0){g=S2a(g,1,0)|0;if(g|0){f=g;return f|0}}g=c[d+20>>2]|0;if(!(a[d+68>>0]|0))g=g+2|0;else{i=c[g+4>>2]|0;h=b[g+2>>1]|0;d=(c[g+8>>2]|0)+h|0;c[i+(h<<3)>>2]=(D2a(e)|0)>>16;c[i+(h<<3)+4>>2]=(D2a(f)|0)>>16;a[d>>0]=1;g=g+2|0}b[g>>1]=(b[g>>1]|0)+1<<16>>16;i=0;return i|0}function VWa(d){d=d|0;var e=0,f=0,g=0,h=0;f=c[d+20>>2]|0;if(!f)return;h=c[f>>2]|0;if((h&65535)<<16>>16<2)g=0;else g=(b[(c[f+12>>2]|0)+((h<<16>>16)+-2<<1)>>1]|0)+1|0;if((h>>>16&65535)<<16>>16>1){d=c[f+4>>2]|0;e=(c[f+8>>2]|0)+(h>>16)+-1|0;if((c[d+(g<<3)>>2]|0)==(c[d+(h>>16<<3)+-8>>2]|0))if((c[d+(g<<3)+4>>2]|0)==(c[d+(h>>16<<3)+-8+4>>2]|0))if((a[e>>0]|0)==1){b[f+2>>1]=(h>>>16&65535)+-1<<16>>16;d=(h>>>16&65535)+-1<<16>>16}else d=h>>>16&65535;else d=h>>>16&65535;else d=h>>>16&65535}else d=h>>>16&65535;if((h&65535)<<16>>16<=0)return;e=(d<<16>>16)+-1|0;if((g|0)==(e|0)){b[f>>1]=(h&65535)+-1<<16>>16;b[f+2>>1]=d+-1<<16>>16;return}else{b[(c[f+12>>2]|0)+((h<<16>>16)+-1<<1)>>1]=e;return}}function WWa(b,d,e,f,g,h,i,j,k){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0;hBb(b|0,0,1500)|0;l=ySa(c[d+96>>2]|0,591555)|0;if(!l){f=7;return f|0}c[b+1348>>2]=l;c[b+64>>2]=0;a[b+68>>0]=1;c[b+4>>2]=d;c[b+8>>2]=f;c[b>>2]=c[d+100>>2];if(f|0){l=c[c[f+156>>2]>>2]|0;c[b+12>>2]=l;c[b+16>>2]=l+20;c[b+20>>2]=l+56;P2a(l);c[b+76>>2]=c[e+40>>2];c[b+72>>2]=0;if(i<<24>>24)c[b+72>>2]=c[(c[f+156>>2]|0)+36>>2]}c[b+24>>2]=0;c[b+24+4>>2]=0;c[b+24+8>>2]=0;c[b+24+12>>2]=0;c[b+24+16>>2]=0;c[b+24+20>>2]=0;c[b+80>>2]=c[13036];c[b+80+4>>2]=c[13037];c[b+80+8>>2]=c[13038];c[b+80+12>>2]=c[13039];c[b+80+16>>2]=c[13040];c[b+80+20>>2]=c[13041];c[b+80+24>>2]=c[13042];c[b+80+28>>2]=c[13043];c[b+1352>>2]=c[d+16>>2];c[b+1356>>2]=g;c[b+1468>>2]=j;c[b+1464>>2]=h;c[b+1472>>2]=k;c[b+1476>>2]=c[13044];c[b+1476+4>>2]=c[13045];c[b+1476+8>>2]=c[13046];f=0;return f|0}function XWa(a){a=a|0;var b=0;b=c[a+8>>2]|0;if(!b)return;a=c[a+16>>2]|0;c[b+108>>2]=c[a>>2];c[b+108+4>>2]=c[a+4>>2];c[b+108+8>>2]=c[a+8>>2];c[b+108+12>>2]=c[a+12>>2];c[b+108+16>>2]=c[a+16>>2];return}function YWa(f,g,h){f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=i;i=i+16|0;c[B+4>>2]=f;c[B>>2]=g;A=B^B+4^B+8;c[B+8>>2]=((A>>>10^A^A>>20)&65535|0)==0?29572:(A>>>10^A^A>>20)&65535;c[f+1136>>2]=f+112;c[f+1344>>2]=f+1140;c[f+64>>2]=0;A=c[f+72>>2]|0;j=c[f+1488>>2]|0;if(!j){k=g;j=g}else{k=c[f+1492>>2]|0;if(!k){k=g;j=g}else{hBb(j|0,0,k<<2|0)|0;j=c[B>>2]|0;k=j}}c[f+1144>>2]=k;g=j+h|0;c[f+1148>>2]=g;j=k;c[f+1140>>2]=j;k=c[f+24>>2]|0;h=c[f+28>>2]|0;if(A|0)Hi[c[A+4>>2]&1023](c[A>>2]|0);if(j>>>0>=g>>>0){f=0;i=B;return f|0}m=0;l=0;s=k;n=0;u=k;y=f+1140|0;a:while(1){k=n;while(1){while(1){v=c[B+4>>2]|0;w=c[v+1136>>2]|0;o=j+1|0;n=a[j>>0]|0;b:do switch(n&255|0){case 1:{j=o;q=l;r=16;n=0;break}case 3:{j=o;q=l;r=18;n=0;break}case 4:{j=o;q=l;r=14;n=0;break}case 5:{j=o;q=l;r=9;n=0;break}case 6:{j=o;q=l;r=6;n=0;break}case 7:{j=o;q=l;r=13;n=0;break}case 8:{j=o;q=l;r=11;n=0;break}case 9:{j=o;q=l;r=5;n=0;break}case 10:{j=o;q=l;r=22;n=0;break}case 11:{j=o;q=l;r=24;n=0;break}case 13:{j=o;q=l;r=2;n=0;break}case 14:{j=o;q=l;r=1;n=0;break}case 15:{j=o;q=l;r=26;n=0;break}case 21:{j=o;q=l;r=10;n=0;break}case 22:{j=o;q=l;r=7;n=0;break}case 30:{j=o;q=l;r=12;n=0;break}case 31:{j=o;q=l;r=8;n=0;break}case 12:{if(o>>>0>g>>>0){j=160;z=257;break a}j=j+2|0;switch(d[o>>0]|0){case 0:{q=l;r=15;n=0;break b}case 1:{q=l;r=19;n=0;break b}case 2:{q=l;r=17;n=0;break b}case 6:{q=l;r=3;n=0;break b}case 7:{q=l;r=4;n=0;break b}case 12:{q=l;r=20;n=0;break b}case 16:{q=l;r=21;n=0;break b}case 17:{q=l;r=23;n=0;break b}case 33:{q=l;r=25;n=0;break b}default:{j=160;z=257;break a}}}case 255:{n=j+5|0;if(n>>>0>g>>>0){j=160;z=257;break a}o=d[j+2>>0]<<16|d[o>>0]<<24|d[j+3>>0]<<8|d[j+4>>0];p=l<<24>>24!=0;if((o+32e3|0)>>>0>64e3){j=n;q=p?l:1;r=0;n=o;break b}else{j=n;q=l;r=0;n=p?o:o<<16;break b}}default:{if((n&255)<=31){j=160;z=257;break a}do if((n&255)<247){j=o;n=(n&255)+-139|0}else{j=j+2|0;if(j>>>0>g>>>0){j=160;z=257;break a}if((n&255)<251){n=(d[o>>0]|((n&255)<<8)+-63232)+108|0;break}else{n=-108-(d[o>>0]|((n&255)<<8)+-64256)|0;break}}while(0);q=l;r=0;n=l<<24>>24==0?n<<16:n}}while(0);c:do if((k|0)>0){switch(r|0){case 23:case 0:case 24:case 22:break c;default:{}}k=0}while(0);x=(r|0)==0;l=(r|0)==20|(x|q<<24>>24==0)?q:0;if(!x){x=j;j=r;break}if((w-(v+112)|0)>1020){j=160;z=257;break a}c[w>>2]=n;c[v+1136>>2]=w+4;if(j>>>0>=g>>>0){j=0;z=257;break a}}if((j|0)!=21)break;if((w-(v+112)|0)<8){j=161;z=257;break a}r=c[w+-4>>2]>>16;k=c[w+-8>>2]>>16;if((k|0)>(w+-8-(v+112)>>2|0)){j=161;z=257;break a}t=w+-8+(0-k<<2)|0;do switch(r|0){case 0:{if((k|0)!=3){j=160;z=257;break a}if(!(c[v+1400>>2]|0)){j=160;z=257;break a}if((c[v+1404>>2]|0)!=7){j=160;z=257;break a}c[t>>2]=u;c[t+4>>2]=h;m=2;j=t;k=0;break}case 1:{if(k|0){j=160;z=257;break a}c[v+1400>>2]=1;c[v+1404>>2]=0;j=UWa(f,u,h)|0;if(j|0){z=257;break a}j=c[f+12>>2]|0;if(((b[j+22>>1]|0)+6+(b[j+58>>1]|0)|0)>>>0>(c[j+4>>2]|0)>>>0){j=S2a(j,6,0)|0;if(!j){m=0;j=t;k=0}else{z=257;break a}}else{m=0;j=t;k=0}break}case 2:{if(k|0){j=160;z=257;break a}if(!(c[v+1400>>2]|0)){j=160;z=257;break a}k=c[v+1404>>2]|0;c[v+1404>>2]=k+1;if((k+-1|0)>>>0<6){j=c[f+20>>2]|0;if(!(a[f+68>>0]|0))j=j+2|0;else{r=c[j+4>>2]|0;v=b[j+2>>1]|0;w=(c[j+8>>2]|0)+v|0;c[r+(v<<3)>>2]=(D2a(u)|0)>>16;c[r+(v<<3)+4>>2]=(D2a(h)|0)>>16;a[w>>0]=(k|0)==3|(k|0)==6?1:2;j=j+2|0}b[j>>1]=(b[j>>1]|0)+1<<16>>16;m=0;j=t;k=0}else{m=0;j=t;k=0}break}case 3:{if((k|0)!=1){j=160;z=257;break a}if(A|0){si[c[A+20>>2]&511](c[A>>2]|0,b[(c[f+20>>2]|0)+2>>1]|0);m=1;j=t;k=0}else{m=1;j=t;k=0}break}case 13:case 12:{m=0;j=v+112|0;k=0;break}case 18:case 17:case 16:case 15:case 14:{q=c[v+1464>>2]|0;if(!q){j=160;z=257;break a}j=c[q>>2]|0;if((k|0)!=(_(j,r+-13+((r|0)==18&1)|0)|0)){j=160;z=257;break a}if(!(r+-13+((r|0)==18&1)|0)){m=0;j=t;k=0}else{m=t+(r+-13+((r|0)==18&1)<<2)|0;o=0;p=t;while(1){k=c[p>>2]|0;if(j>>>0>1){j=m;n=1;while(1){m=j+4|0;k=(H2a(c[j>>2]|0,c[(c[q+136>>2]|0)+(n<<2)>>2]|0)|0)+k|0;n=n+1|0;j=c[q>>2]|0;if(n>>>0>=j>>>0)break;else j=m}}c[p>>2]=k;o=o+1|0;if((o|0)==(r+-13+((r|0)==18&1)|0)){m=r+-13+((r|0)==18&1)|0;j=t;k=0;break}else p=p+4|0}}break}case 19:{m=c[v+1464>>2]|0;if((k|0)!=1|(m|0)==0){j=160;z=257;break a}j=c[t>>2]>>16;if((j|0)<0){j=160;z=257;break a}k=c[m>>2]|0;if((k+j|0)>>>0>(c[v+1492>>2]|0)>>>0){j=160;z=257;break a}mBb((c[v+1488>>2]|0)+(j<<2)|0,c[m+136>>2]|0,k<<2|0)|0;m=0;j=t;k=0;break}case 20:{if((k|0)!=2){j=160;z=257;break a}c[t>>2]=(c[t>>2]|0)+(c[t+4>>2]|0);m=1;j=t;k=0;break}case 21:{if((k|0)!=2){j=160;z=257;break a}c[t>>2]=(c[t>>2]|0)-(c[t+4>>2]|0);m=1;j=t;k=0;break}case 22:{if((k|0)!=2){j=160;z=257;break a}c[t>>2]=H2a(c[t>>2]|0,c[t+4>>2]|0)|0;m=1;j=t;k=0;break}case 23:{if((k|0)!=2){j=160;z=257;break a}j=c[t+4>>2]|0;if(!j){j=160;z=257;break a}c[t>>2]=I2a(c[t>>2]|0,j)|0;m=1;j=t;k=0;break}case 24:{if((k|0)!=2|(c[v+1464>>2]|0)==0){j=160;z=257;break a}j=c[t+4>>2]>>16;if((j|0)<0){j=160;z=257;break a}if(j>>>0>=(c[v+1492>>2]|0)>>>0){j=160;z=257;break a}c[(c[v+1488>>2]|0)+(j<<2)>>2]=c[t>>2];m=0;j=t;k=0;break}case 25:{if((k|0)!=1|(c[v+1464>>2]|0)==0){j=160;z=257;break a}j=c[t>>2]>>16;if((j|0)<0){j=160;z=257;break a}if(j>>>0>=(c[v+1492>>2]|0)>>>0){j=160;z=257;break a}c[t>>2]=c[(c[v+1488>>2]|0)+(j<<2)>>2];m=1;j=t;k=0;break}case 27:{if((k|0)!=4){j=160;z=257;break a}if((c[t+8>>2]|0)>(c[t+12>>2]|0)){c[t>>2]=c[t+4>>2];m=1;j=t;k=0}else{m=1;j=t;k=0}break}case 28:{if(k|0){j=160;z=257;break a}m=c[B+8>>2]|0;c[t>>2]=((m|0)>32767&1)+m;m=c[B+8>>2]|0;m=H2a(m,65536-m|0)|0;c[B+8>>2]=(m|0)==0?m+10355|0:m;m=1;j=t;k=0;break}default:if((k|r|0)>-1){m=0;j=t}else{j=160;z=257;break a}}while(0);c[(c[B+4>>2]|0)+1136>>2]=j+(m<<2);if(x>>>0>>0)j=x;else{j=0;z=257;break a}}t=c[52188+(j<<2)>>2]|0;if((w-(v+112)>>2|0)<(t|0)){j=161;z=257;break}d:do switch(j|0){case 1:{z=114;break a}case 3:{j=w+(0-t<<2)|0;z=131;break a}case 2:{c[f+64>>2]=1;c[f+32>>2]=(c[f+32>>2]|0)+(c[w+(0-t<<2)>>2]|0);c[f+40>>2]=c[w+(0-t<<2)+4>>2];c[f+44>>2]=0;h=(c[w+(0-t<<2)>>2]|0)+(c[f+24>>2]|0)|0;if(!(a[f+70>>0]|0)){j=x;s=h;p=w+(0-t<<2)|0;q=h;h=c[f+28>>2]|0;o=y}else{j=0;z=257;break a}break}case 4:{c[f+64>>2]=1;c[f+32>>2]=(c[f+32>>2]|0)+(c[w+(0-t<<2)>>2]|0);c[f+36>>2]=(c[f+36>>2]|0)+(c[w+(0-t<<2)+4>>2]|0);c[f+40>>2]=c[w+(0-t<<2)+8>>2];c[f+44>>2]=c[w+(0-t<<2)+12>>2];if(!(a[f+70>>0]|0)){j=x;p=w+(0-t<<2)|0;q=(c[w+(0-t<<2)>>2]|0)+(c[f+24>>2]|0)|0;h=(c[w+(0-t<<2)+4>>2]|0)+(c[f+28>>2]|0)|0;o=y}else{j=0;z=257;break a}break}case 5:{do if((c[f+64>>2]&-2|0)==2){o=c[f+20>>2]|0;if(o|0){p=c[o>>2]|0;if((p&65535)<<16>>16<2)q=0;else q=(b[(c[o+12>>2]|0)+((p<<16>>16)+-2<<1)>>1]|0)+1|0;if((p>>>16&65535)<<16>>16>1){j=c[o+4>>2]|0;n=(c[o+8>>2]|0)+(p>>16)+-1|0;if((c[j+(q<<3)>>2]|0)==(c[j+(p>>16<<3)+-8>>2]|0))if((c[j+(q<<3)+4>>2]|0)==(c[j+(p>>16<<3)+-8+4>>2]|0))if((a[n>>0]|0)==1){b[o+2>>1]=(p>>>16&65535)+-1<<16>>16;j=(p>>>16&65535)+-1<<16>>16}else j=p>>>16&65535;else j=p>>>16&65535;else j=p>>>16&65535}else j=p>>>16&65535;if((p&65535)<<16>>16>0){n=(j<<16>>16)+-1|0;if((q|0)==(n|0)){b[o>>1]=(p&65535)+-1<<16>>16;b[o+2>>1]=j+-1<<16>>16;break}else{b[(c[o+12>>2]|0)+((p<<16>>16)+-1<<1)>>1]=n;break}}}}while(0);c[f+64>>2]=1;j=x;p=w+(0-t<<2)|0;q=u;o=y;break}case 6:{j=UWa(f,u,h)|0;if(j|0){z=257;break a}n=(c[w+(0-t<<2)>>2]|0)+u|0;z=192;break}case 7:{n=(c[w+(0-t<<2)>>2]|0)+u|0;if(!(c[v+1400>>2]|0)){if(!(c[f+64>>2]|0)){j=160;z=257;break a}c[f+64>>2]=2;j=x;p=w+(0-t<<2)|0;q=n;o=y}else{j=x;p=w+(0-t<<2)|0;q=n;o=y}break}case 8:{j=UWa(f,u,h)|0;if(j|0){z=257;break a}j=c[f+12>>2]|0;if(((b[j+22>>1]|0)+3+(b[j+58>>1]|0)|0)>>>0>(c[j+4>>2]|0)>>>0){j=S2a(j,3,0)|0;if(j|0){z=257;break a}}o=(c[w+(0-t<<2)>>2]|0)+u|0;j=c[f+20>>2]|0;if(!(a[f+68>>0]|0)){n=j+2|0;p=0}else{v=c[j+4>>2]|0;p=b[j+2>>1]|0;n=(c[j+8>>2]|0)+p|0;c[v+(p<<3)>>2]=(D2a(o)|0)>>16;c[v+(p<<3)+4>>2]=(D2a(h)|0)>>16;a[n>>0]=2;n=j+2|0;p=a[f+68>>0]|0;j=c[f+20>>2]|0}b[n>>1]=(b[n>>1]|0)+1<<16>>16;q=(c[w+(0-t<<2)+4>>2]|0)+o|0;n=(c[w+(0-t<<2)+8>>2]|0)+h|0;if(!(p<<24>>24)){h=j+2|0;o=0}else{u=c[j+4>>2]|0;h=j+2|0;v=b[h>>1]|0;o=(c[j+8>>2]|0)+v|0;c[u+(v<<3)>>2]=(D2a(q)|0)>>16;c[u+(v<<3)+4>>2]=(D2a(n)|0)>>16;a[o>>0]=2;o=a[f+68>>0]|0;j=c[f+20>>2]|0}b[h>>1]=(b[h>>1]|0)+1<<16>>16;h=(c[w+(0-t<<2)+12>>2]|0)+n|0;if(!(o<<24>>24))j=j+2|0;else{r=c[j+4>>2]|0;v=j+2|0;u=b[v>>1]|0;j=(c[j+8>>2]|0)+u|0;c[r+(u<<3)>>2]=(D2a(q)|0)>>16;c[r+(u<<3)+4>>2]=(D2a(h)|0)>>16;a[j>>0]=1;j=v}b[j>>1]=(b[j>>1]|0)+1<<16>>16;j=x;p=w+(0-t<<2)|0;o=y;break}case 9:{j=UWa(f,u,h)|0;if(j|0){z=257;break a}n=(c[w+(0-t<<2)>>2]|0)+u|0;h=(c[w+(0-t<<2)+4>>2]|0)+h|0;z=192;break}case 10:{n=(c[w+(0-t<<2)>>2]|0)+u|0;h=(c[w+(0-t<<2)+4>>2]|0)+h|0;if(!(c[v+1400>>2]|0)){if(!(c[f+64>>2]|0)){j=160;z=257;break a}c[f+64>>2]=2;j=x;p=w+(0-t<<2)|0;q=n;o=y}else{j=x;p=w+(0-t<<2)|0;q=n;o=y}break}case 11:{j=UWa(f,u,h)|0;if(j|0){z=257;break a}j=c[f+12>>2]|0;if(((b[j+22>>1]|0)+3+(b[j+58>>1]|0)|0)>>>0>(c[j+4>>2]|0)>>>0){j=S2a(j,3,0)|0;if(j|0){z=257;break a}}n=(c[w+(0-t<<2)>>2]|0)+u|0;o=(c[w+(0-t<<2)+4>>2]|0)+h|0;j=c[f+20>>2]|0;if(!(a[f+68>>0]|0)){h=j+2|0;p=0}else{v=c[j+4>>2]|0;p=b[j+2>>1]|0;h=(c[j+8>>2]|0)+p|0;c[v+(p<<3)>>2]=(D2a(n)|0)>>16;c[v+(p<<3)+4>>2]=(D2a(o)|0)>>16;a[h>>0]=2;h=j+2|0;p=a[f+68>>0]|0;j=c[f+20>>2]|0}b[h>>1]=(b[h>>1]|0)+1<<16>>16;n=(c[w+(0-t<<2)+8>>2]|0)+n|0;o=(c[w+(0-t<<2)+12>>2]|0)+o|0;if(!(p<<24>>24)){h=j+2|0;p=0}else{u=c[j+4>>2]|0;h=j+2|0;v=b[h>>1]|0;p=(c[j+8>>2]|0)+v|0;c[u+(v<<3)>>2]=(D2a(n)|0)>>16;c[u+(v<<3)+4>>2]=(D2a(o)|0)>>16;a[p>>0]=2;p=a[f+68>>0]|0;j=c[f+20>>2]|0}b[h>>1]=(b[h>>1]|0)+1<<16>>16;n=(c[w+(0-t<<2)+16>>2]|0)+n|0;h=(c[w+(0-t<<2)+20>>2]|0)+o|0;if(!(p<<24>>24))j=j+2|0;else{r=c[j+4>>2]|0;v=j+2|0;u=b[v>>1]|0;j=(c[j+8>>2]|0)+u|0;c[r+(u<<3)>>2]=(D2a(n)|0)>>16;c[r+(u<<3)+4>>2]=(D2a(h)|0)>>16;a[j>>0]=1;j=v}b[j>>1]=(b[j>>1]|0)+1<<16>>16;j=x;p=w+(0-t<<2)|0;q=n;o=y;break}case 12:{j=UWa(f,u,h)|0;if(j|0){z=257;break a}j=c[f+12>>2]|0;if(((b[j+22>>1]|0)+3+(b[j+58>>1]|0)|0)>>>0>(c[j+4>>2]|0)>>>0){j=S2a(j,3,0)|0;if(j|0){z=257;break a}}n=(c[w+(0-t<<2)>>2]|0)+h|0;j=c[f+20>>2]|0;if(!(a[f+68>>0]|0)){h=j+2|0;o=0}else{v=c[j+4>>2]|0;o=b[j+2>>1]|0;h=(c[j+8>>2]|0)+o|0;c[v+(o<<3)>>2]=(D2a(u)|0)>>16;c[v+(o<<3)+4>>2]=(D2a(n)|0)>>16;a[h>>0]=2;h=j+2|0;o=a[f+68>>0]|0;j=c[f+20>>2]|0}b[h>>1]=(b[h>>1]|0)+1<<16>>16;p=(c[w+(0-t<<2)+4>>2]|0)+u|0;h=(c[w+(0-t<<2)+8>>2]|0)+n|0;if(!(o<<24>>24)){n=j+2|0;o=0}else{u=c[j+4>>2]|0;n=j+2|0;v=b[n>>1]|0;o=(c[j+8>>2]|0)+v|0;c[u+(v<<3)>>2]=(D2a(p)|0)>>16;c[u+(v<<3)+4>>2]=(D2a(h)|0)>>16;a[o>>0]=2;o=a[f+68>>0]|0;j=c[f+20>>2]|0}b[n>>1]=(b[n>>1]|0)+1<<16>>16;n=(c[w+(0-t<<2)+12>>2]|0)+p|0;if(!(o<<24>>24))j=j+2|0;else{r=c[j+4>>2]|0;v=j+2|0;u=b[v>>1]|0;j=(c[j+8>>2]|0)+u|0;c[r+(u<<3)>>2]=(D2a(n)|0)>>16;c[r+(u<<3)+4>>2]=(D2a(h)|0)>>16;a[j>>0]=1;j=v}b[j>>1]=(b[j>>1]|0)+1<<16>>16;j=x;p=w+(0-t<<2)|0;q=n;o=y;break}case 13:{j=UWa(f,u,h)|0;if(j|0){z=257;break a}n=u;h=(c[w+(0-t<<2)>>2]|0)+h|0;z=192;break}case 14:{h=(c[w+(0-t<<2)>>2]|0)+h|0;if(!(c[v+1400>>2]|0)){if(!(c[f+64>>2]|0)){j=160;z=257;break a}c[f+64>>2]=2;j=x;p=w+(0-t<<2)|0;q=u;o=y}else{j=x;p=w+(0-t<<2)|0;q=u;o=y}break}case 20:{c[w+(0-t<<2)>>2]=I2a(c[w+(0-t<<2)>>2]|0,c[w+(0-t<<2)+4>>2]|0)|0;j=x;l=0;p=w+(0-t<<2)+4|0;q=u;o=y;break}case 22:{p=c[w+(0-t<<2)>>2]>>16;if((p|0)<0){j=160;z=257;break a}if((p|0)>=(c[v+1364>>2]|0)){j=160;z=257;break a}if((y-(v+1140)|0)>180){j=160;z=257;break a}c[y>>2]=x;r=y+12|0;j=c[(c[(c[B+4>>2]|0)+1368>>2]|0)+(p<<2)>>2]|0;g=y+16|0;c[g>>2]=j;n=c[B+4>>2]|0;o=c[n+1372>>2]|0;if(!o){x=c[n+1360>>2]|0;j=j+((x|0)<0?0:x)|0;c[g>>2]=j;g=c[(c[(c[B+4>>2]|0)+1368>>2]|0)+(p+1<<2)>>2]|0;c[y+20>>2]=g}else{g=j+(c[o+(p<<2)>>2]|0)|0;c[y+20>>2]=g}c[r>>2]=j;if(!j){j=160;z=257;break a}c[(c[B+4>>2]|0)+1344>>2]=r;p=w+(0-t<<2)|0;q=u;o=r;break}case 23:{if((m|0)>0){j=x;m=m+-1|0;p=w+(0-t<<2)|0;q=u;o=y;break d}if(!k){j=160;z=257;break a}j=x;p=w+(0-t<<2)+4|0;k=k+-1|0;q=u;o=y;break}case 24:{if(y>>>0<=(v+1140|0)>>>0){j=160;z=257;break a}o=y+-12|0;j=c[o>>2]|0;g=c[y+-4>>2]|0;c[v+1344>>2]=o;p=w+(0-t<<2)|0;q=u;break}case 26:case 15:{j=x;p=w+(0-t<<2)|0;q=u;o=y;break}case 16:{if(A|0){$i[c[A+12>>2]&255](c[A>>2]|0,1,w+(0-t<<2)|0);j=x;p=w+(0-t<<2)|0;q=u;o=y}else{j=x;p=w+(0-t<<2)|0;q=u;o=y}break}case 17:{if(A|0){$i[c[A+16>>2]&255](c[A>>2]|0,1,w+(0-t<<2)|0);j=x;p=w+(0-t<<2)|0;q=u;o=y}else{j=x;p=w+(0-t<<2)|0;q=u;o=y}break}case 18:{if(A|0){c[w+(0-t<<2)>>2]=(c[w+(0-t<<2)>>2]|0)+s;$i[c[A+12>>2]&255](c[A>>2]|0,0,w+(0-t<<2)|0);j=x;p=w+(0-t<<2)|0;q=u;o=y}else{j=x;p=w+(0-t<<2)|0;q=u;o=y}break}case 19:{if(A|0){c[w+(0-t<<2)>>2]=(c[w+(0-t<<2)>>2]|0)+s;c[w+(0-t<<2)+8>>2]=(c[w+(0-t<<2)+8>>2]|0)+s;c[w+(0-t<<2)+16>>2]=(c[w+(0-t<<2)+16>>2]|0)+s;$i[c[A+16>>2]&255](c[A>>2]|0,0,w+(0-t<<2)|0);j=x;p=w+(0-t<<2)|0;q=u;o=y}else{j=x;p=w+(0-t<<2)|0;q=u;o=y}break}case 25:{q=c[w+(0-t<<2)>>2]|0;h=c[w+(0-t<<2)+4>>2]|0;c[v+1400>>2]=0;j=x;p=w+(0-t<<2)|0;o=y;break}default:{j=160;z=257;break a}}while(0);if((z|0)==192){z=0;j=c[f+12>>2]|0;if(((b[j+22>>1]|0)+1+(b[j+58>>1]|0)|0)>>>0>(c[j+4>>2]|0)>>>0){j=S2a(j,1,0)|0;if(j|0){z=257;break}}j=c[f+20>>2]|0;if(!(a[f+68>>0]|0))j=j+2|0;else{r=c[j+4>>2]|0;u=b[j+2>>1]|0;v=(c[j+8>>2]|0)+u|0;c[r+(u<<3)>>2]=(D2a(n)|0)>>16;c[r+(u<<3)+4>>2]=(D2a(h)|0)>>16;a[v>>0]=1;j=j+2|0}b[j>>1]=(b[j>>1]|0)+1<<16>>16;j=x;p=w+(0-t<<2)|0;q=n;o=y}c[(c[B+4>>2]|0)+1136>>2]=p;if(j>>>0>>0){n=k;u=q;y=o}else{j=0;z=257;break}}if((z|0)==114){g=c[f+20>>2]|0;do if(g|0){h=c[g>>2]|0;if((h&65535)<<16>>16<2)l=0;else l=(b[(c[g+12>>2]|0)+((h<<16>>16)+-2<<1)>>1]|0)+1|0;if((h>>>16&65535)<<16>>16>1){j=c[g+4>>2]|0;k=(c[g+8>>2]|0)+(h>>16)+-1|0;if((c[j+(l<<3)>>2]|0)==(c[j+(h>>16<<3)+-8>>2]|0))if((c[j+(l<<3)+4>>2]|0)==(c[j+(h>>16<<3)+-8+4>>2]|0))if((a[k>>0]|0)==1){b[g+2>>1]=(h>>>16&65535)+-1<<16>>16;j=(h>>>16&65535)+-1<<16>>16}else j=h>>>16&65535;else j=h>>>16&65535;else j=h>>>16&65535}else j=h>>>16&65535;if((h&65535)<<16>>16>0){k=(j<<16>>16)+-1|0;if((l|0)==(k|0)){b[g>>1]=(h&65535)+-1<<16>>16;b[g+2>>1]=j+-1<<16>>16;break}else{b[(c[g+12>>2]|0)+((h<<16>>16)+-1<<1)>>1]=k;break}}}while(0);if(A|0){if(Xi[c[A+8>>2]&511](c[A>>2]|0,b[g+2>>1]|0)|0){f=160;i=B;return f|0}j=cj[c[A+24>>2]&127](c[A>>2]|0,c[f+20>>2]|0,c[f+76>>2]|0,c[(c[B+4>>2]|0)+1468>>2]|0)|0;if(j|0){f=j;i=B;return f|0}}V2a(c[f+12>>2]|0);f=0;i=B;return f|0}else if((z|0)==131){t=c[j>>2]|0;u=c[j+8>>2]|0;l=c[j+12>>2]>>16;m=c[j+16>>2]>>16;if(a[v+1496>>0]|0){f=160;i=B;return f|0}if(a[v+70>>0]|0){f=160;i=B;return f|0}s=(c[v+32>>2]|0)+(c[j+4>>2]|0)|0;j=(c[(c[(c[v+4>>2]|0)+128>>2]|0)+48>>2]|0)==0;e:do if(!(c[v+1356>>2]|0))if(j){f=160;i=B;return f|0}else r=v;else if(j){j=c[v+1348>>2]|0;f:do if(l>>>0>255)l=-1;else{j=vi[c[j+20>>2]&2047](e[(c[j+24>>2]|0)+(l<<1)>>1]|0)|0;k=c[v+1352>>2]|0;if(!k)l=-1;else{g=c[v+1356>>2]|0;l=0;while(1){h=c[g+(l<<2)>>2]|0;if(h|0)if((a[h>>0]|0)==(a[j>>0]|0))if(!(Imb(h,j)|0))break f;l=l+1|0;if(l>>>0>=k>>>0){l=-1;break}}}}while(0);j=c[v+1348>>2]|0;if(m>>>0>255){r=v;m=-1}else{j=vi[c[j+20>>2]&2047](e[(c[j+24>>2]|0)+(m<<1)>>1]|0)|0;k=c[v+1352>>2]|0;if(!k){r=v;m=-1}else{g=c[v+1356>>2]|0;m=0;while(1){h=c[g+(m<<2)>>2]|0;if(h|0)if((a[h>>0]|0)==(a[j>>0]|0))if(!(Imb(h,j)|0)){r=v;break e}m=m+1|0;if(m>>>0>=k>>>0){r=v;m=-1;break}}}}}else r=v;while(0);if((l|m|0)<0){f=160;i=B;return f|0}if(a[r+69>>0]|0){j=c[r+8>>2]|0;k=c[c[j+156>>2]>>2]|0;g=T2a(k,2)|0;if(g|0){f=g;i=B;return f|0}f=c[k+88>>2]|0;c[f>>2]=l;b[f+4>>1]=514;c[f+8>>2]=0;c[f+12>>2]=0;c[f+32>>2]=m;b[f+36>>1]=2;c[f+40>>2]=(D2a(s-t|0)|0)>>16;c[f+44>>2]=(D2a(u)|0)>>16;c[j+128>>2]=2;c[j+132>>2]=c[k+52>>2];c[j+72>>2]=1668246896;c[k+84>>2]=2;f=0;i=B;return f|0}U2a(c[r+12>>2]|0);a[v+1496>>0]=1;q=r+1472|0;j=Xi[c[q>>2]&511](r,l)|0;a[v+1496>>0]=0;if(j|0){f=j;i=B;return f|0}g=c[v+32>>2]|0;h=c[v+32+4>>2]|0;l=r+40|0;n=c[l>>2]|0;o=c[l+4>>2]|0;c[v+32>>2]=0;c[r+36>>2]=0;p=r+24|0;c[p>>2]=s-t;k=r+28|0;c[k>>2]=u;a[v+1496>>0]=1;j=Xi[c[q>>2]&511](r,m)|0;a[v+1496>>0]=0;if(j|0){f=j;i=B;return f|0}c[v+32>>2]=g;c[v+32+4>>2]=h;c[l>>2]=n;c[l+4>>2]=o;c[p>>2]=0;c[k>>2]=0;f=0;i=B;return f|0}else if((z|0)==257){i=B;return j|0}return 0}function ZWa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=i;i=i+16|0;f=HTa(b,16,h)|0;g=c[h>>2]|0;if(g|0){a=g;i=h;return a|0}c[f+4>>2]=d;c[f>>2]=d;c[f+8>>2]=e;c[f+12>>2]=2;c[a>>2]=b;c[a+4>>2]=f;c[a+8>>2]=0;c[a+12>>2]=0;a=0;i=h;return a|0}function _Wa(a){a=a|0;LTa(c[a>>2]|0,c[a+4>>2]|0);c[a+4>>2]=0;return}function $Wa(f){f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0;ea=c[f+3856>>2]|0;z=c[f+3872>>2]|0;ca=c[f+4240>>2]|0;x=c[f+6384>>2]|0;da=c[f+6392>>2]|0;h=c[f+7368>>2]|0;$=c[f+8648>>2]|0;fa=c[f+9448>>2]|0;X=c[f+9488>>2]|0;y=1;i=1;do{da=da+16|0;c[f+3056>>2]=da;x=x+16|0;c[f+3056+4>>2]=x;v=d[527195+y>>0]|0;if((i|0)<(v|0)){w=i+1|0;k=c[ea+53440>>2]|0;do{u=c[ea+53432>>2]|0;t=64-i|0;if((t|0)>0){s=0;do{c[ea+52664+(s<<8)+(i<<2)>>2]=h;c[ea+51896+(s<<8)+(i<<2)>>2]=k;r=c[f+3064+(s<<8)+(i<<2)>>2]|0;hBb(f|0,0,256)|0;if(h>>>0>>0){q=ea+51576+(c[f+3056+(s+1>>1<<2)>>2]<<2)|0;l=h;p=h;h=0;n=k;while(1){m=h+l|0;o=KQa(ea+51556|0,c[q>>2]|0)|0;k=n+1|0;a[u+n>>0]=o;if(o>>>0<15){l=lRa(ea+51556|0,d[527180+o>>0]|0)|0;h=n+2|0;a[u+k>>0]=l;if(!o){a[u+h>>0]=l>>>8;k=n+3|0}else k=h;h=l<<((o|0)<2?-13:0)+((o|0)<12?21:0)}else h=0;l=(c[45752+(o<<2)>>2]|0)+h|0;h=(l|0)==0?2147483647:l>>>8&4095;if(!h){c[f+((l&255)<<2)>>2]=(c[f+((l&255)<<2)>>2]|0)+1;h=0;l=p+1|0}else l=p;p=h+l|0;if(p>>>0>=r>>>0)break;else{l=h;h=m;n=k}}o=c[f+252>>2]|0}else{o=0;m=0;l=0}n=r-l|0;m=m+o+n|0;c[f+252>>2]=m;l=62;while(1){W=f+(l<<2)|0;m=(c[W>>2]|0)+m|0;c[W>>2]=m;if((l|0)<=0){l=t;break}else l=l+-1|0}do{W=l;l=l+-1|0;V=f+3064+(s<<8)+(l+i<<2)|0;c[V>>2]=(c[V>>2]|0)-(c[f+(l<<2)>>2]|0)}while((W|0)>1);h=h-n|0;s=s+1|0}while((s|0)!=3)}else{s=0;do{c[ea+52664+(s<<8)+(i<<2)>>2]=h;c[ea+51896+(s<<8)+(i<<2)>>2]=k;r=c[f+3064+(s<<8)+(i<<2)>>2]|0;hBb(f|0,0,256)|0;if(h>>>0>>0){q=ea+51576+(c[f+3056+(s+1>>1<<2)>>2]<<2)|0;l=h;p=h;h=0;n=k;while(1){m=h+l|0;o=KQa(ea+51556|0,c[q>>2]|0)|0;k=n+1|0;a[u+n>>0]=o;if(o>>>0<15){l=lRa(ea+51556|0,d[527180+o>>0]|0)|0;h=n+2|0;a[u+k>>0]=l;if(!o){a[u+h>>0]=l>>>8;k=n+3|0}else k=h;h=l<<((o|0)<2?-13:0)+((o|0)<12?21:0)}else h=0;l=(c[45752+(o<<2)>>2]|0)+h|0;h=(l|0)==0?2147483647:l>>>8&4095;if(!h){c[f+((l&255)<<2)>>2]=(c[f+((l&255)<<2)>>2]|0)+1;h=0;l=p+1|0}else l=p;p=h+l|0;if(p>>>0>=r>>>0)break;else{l=h;h=m;n=k}}o=c[f+252>>2]|0}else{o=0;m=0;l=0}n=r-l|0;m=m+o+n|0;c[f+252>>2]=m;l=62;while(1){W=f+(l<<2)|0;m=(c[W>>2]|0)+m|0;c[W>>2]=m;if((l|0)<=0)break;else l=l+-1|0}h=h-n|0;s=s+1|0}while((s|0)!=3)}c[ea+53440>>2]=k;i=i+1|0}while((i|0)!=(v|0));i=(w|0)>(v|0)?w:v}y=y+1|0}while((y|0)!=5);T=c[ea+768>>2]|0;U=c[ea+768+4>>2]|0;i=jBb(d[ea+793>>0]|0,0,T|0,U|0)|0;i=pBb(i|0,C|0,c[ea+60>>2]|0)|0;h=C;V=c[ea+776>>2]|0;W=c[ea+776+4>>2]|0;U=qBb(V|0,W|0,T|0,U|0)|0;h=jBb(U|0,C|0,i|0,h|0)|0;i=C;c[ea+784>>2]=h;c[ea+784+4>>2]=i;W=jBb(V|0,W|0,1,0)|0;c[ea+776>>2]=W;c[ea+776+4>>2]=C;if(z|0){c[z>>2]=h;c[z+4>>2]=i}c[f+304+2740>>2]=4<<((c[ea+48>>2]|0)>>>1&1^1);mBb(f+304+1024|0,ea+51896|0,768)|0;mBb(f+304+1792|0,ea+52664|0,768)|0;U=c[ea+252>>2]|0;i=c[ea+216>>2]|0;c[f+304+2560>>2]=U;c[f+304+2572>>2]=U+(i<<2);W=c[ea+256>>2]|0;i=W-(c[ea+120>>2]|0)+i|0;c[f+304+2564>>2]=U+(W<<2);c[f+304+2576>>2]=U+(i<<2);V=c[ea+260>>2]|0;i=U+(V-(c[ea+152>>2]|0)+i<<2)|0;c[f+304+2568>>2]=U+(V+W<<2);c[f+304+2580>>2]=i;i=a[ea+794>>0]|0;if(i<<24>>24){h=0;do{W=d[ea+795+h>>0]|0;c[f+304+2608+(h<<3)>>2]=c[ea+800+(W*24|0)>>2];c[f+304+2608+(h<<3)+4>>2]=c[ea+800+(W*24|0)+4>>2];h=h+1|0}while((h|0)!=(i&255|0));h=0;do{W=d[ea+795+h>>0]|0;c[f+304+2632+(h<<3)>>2]=c[ea+800+(W*24|0)+8>>2];c[f+304+2632+(h<<3)+4>>2]=c[ea+800+(W*24|0)+12>>2];h=h+1|0}while((h|0)!=(i&255|0));h=0;do{W=d[ea+795+h>>0]|0;c[f+304+2656+(h<<3)>>2]=c[ea+800+(W*24|0)+16>>2];c[f+304+2656+(h<<3)+4>>2]=c[ea+800+(W*24|0)+20>>2];h=h+1|0}while((h|0)!=(i&255|0))}V=f+304+2704|0;W=V+36|0;do{c[V>>2]=0;V=V+4|0}while((V|0)<(W|0));c[f+304+2744>>2]=(hRa(ca,f+304|0)|0)==0&1;k=c[ea+53444>>2]|0;i=c[ea+53960>>2]|0;a:do if((k|0)<1)if(!i)X=251;else{Wpb(i);c[ea+53960>>2]=0;Wpb(c[ea+53964>>2]|0);c[ea+53964>>2]=0;Wpb(c[ea+53968>>2]|0);c[ea+53968>>2]=0;X=251}else{if(!i){if(a[ea+792>>0]|0){X=251;break}h=c[ea+216>>2]|0;i=Vpb(h)|0;c[ea+53960>>2]=i;if(!i){X=251;break}hBb(i|0,a[ea+795>>0]|0,h|0)|0}else{l=c[ea+252>>2]|0;m=(c[ea+260>>2]|0)+(c[ea+256>>2]|0)+(c[ea+264>>2]|0)|0;n=a[ea+795>>0]|0;if((m|0)>0){h=0;do{a[i+(c[l+(h<<2)>>2]|0)>>0]=n;h=h+1|0}while((h|0)!=(m|0));k=c[ea+53444>>2]|0}}h=c[ea+53964>>2]|0;if((k|0)<2){if(!h){X=251;break}Wpb(h);c[ea+53964>>2]=0;Wpb(c[ea+53968>>2]|0);c[ea+53968>>2]=0;X=251;break}do if(!h){i=c[ea+4>>2]|0;j=c[ea+8>>2]|0;h=_(j,i)|0;X=c[ea+48>>2]|0;h=Vpb((_(i>>>(X&1^1)<<1,j>>>(X>>>1&1^1))|0)+h|0)|0;c[ea+53968>>2]=h;X=Vpb(c[ea+216>>2]<<2)|0;c[ea+53964>>2]=X;if((h|0)==0|(X|0)==0){Wpb(h);c[ea+53968>>2]=0;Wpb(c[ea+53964>>2]|0);c[ea+53964>>2]=0;X=251;break a}else{c[ea+53972>>2]=0;B=ea+53972|0;A=i;X=244;break}}else if((c[ea+53972>>2]|0)==(((k|0)>4?2:1)|0))g=k;else{B=ea+53972|0;A=c[ea+4>>2]|0;j=c[ea+8>>2]|0;X=244}while(0);if((X|0)==244){if((k|0)<5){c[ea+53976>>2]=A;c[ea+53980>>2]=j;g=0-A|0;c[ea+53984>>2]=g;c[ea+53988>>2]=(c[ea+53968>>2]|0)+(_(1-j|0,g)|0);g=k}else{g=_(A,j)|0;T=c[ea+48>>2]|0;U=A>>>(T&1^1);T=j>>>(T>>>1&1^1);Z=_(T,U)|0;c[ea+53976>>2]=A;c[ea+53980>>2]=j;c[ea+53984>>2]=A;Y=c[ea+53968>>2]|0;c[ea+53988>>2]=Y;c[ea+53992>>2]=U;c[ea+53996>>2]=T;c[ea+54e3>>2]=U;c[ea+54004>>2]=Y+g;c[ea+54008>>2]=U;c[ea+54012>>2]=T;c[ea+54016>>2]=U;c[ea+54020>>2]=Y+(Z+g);UQa(ea+53976|0,ea+53976|0);g=c[ea+53444>>2]|0}c[B>>2]=(g|0)>4?2:1}if((g|0)<5){Z=ea+288+((c[ea+280>>2]|0)*48|0)+16|0;c[ea+53992>>2]=c[Z>>2];c[ea+53992+4>>2]=c[Z+4>>2];c[ea+53992+8>>2]=c[Z+8>>2];c[ea+53992+12>>2]=c[Z+12>>2];c[ea+53992+16>>2]=c[Z+16>>2];c[ea+53992+20>>2]=c[Z+20>>2];c[ea+53992+24>>2]=c[Z+24>>2];c[ea+53992+28>>2]=c[Z+28>>2]}c[f+304+2748>>2]=c[ea+53444>>2];Y=f+304+2748|0;Z=ea+53964|0}while(0);if((X|0)==251){c[f+304+2748>>2]=0;V=ea+53976|0;fa=ea+288+((c[ea+280>>2]|0)*48|0)|0;W=V+48|0;do{c[V>>2]=c[fa>>2];V=V+4|0;fa=fa+4|0}while((V|0)<(W|0));Y=f+304+2748|0;Z=ea+53964|0}UQa(f+256|0,ea+53976|0);g=c[f+304+2740>>2]|0;T=0;U=0;while(1){R=c[ea+112>>2]|0;S=(g+U|0)<(R|0);Q=R;g=R;R=0;while(1){M=(R|0)!=0;if(M)h=(c[ea+48>>2]&2|0)==0;else h=0;O=h&1;u=U>>O;N=f+304+2680+(R<<2)|0;c[N>>2]=u;B=ea+108+(R<<5)+4|0;v=c[B>>2]|0;P=(c[f+304+2740>>2]>>O)+u|0;v=(P|0)<(v|0)?P:v;P=f+304+2692+(R<<2)|0;c[P>>2]=v;L=ea+108+(R<<5)|0;w=c[L>>2]|0;z=c[ea+204>>2]|0;if((v|0)>(u|0)){s=(c[ea+108+(R<<5)+8>>2]|0)+(_(w,u)|0)|0;t=u;h=0;while(1){do if(!t)if((w|0)>0){k=s;l=0;while(1){i=z+(k<<2)|0;j=c[i>>2]|0;if(j&1){K=f+304+2704+(R*12|0)+((268505377>>>(j>>>6&28)&15)<<2)|0;J=(c[K>>2]<<16)+j|0;c[i>>2]=J;c[K>>2]=J>>16;h=h+1|0}l=l+1|0;if((l|0)==(w|0))break;else k=k+1|0}i=s+w|0}else i=s;else{i=c[z+(s-w<<2)>>2]|0;if(!(i&1))i=-1;else i=268505377>>>(i>>>6&28)&15;if((w|0)>0){q=s;r=0;l=-1;k=-1}else{i=s;break}while(1){r=r+1|0;do if((r|0)<(w|0)){j=c[z+(q+(1-w)<<2)>>2]|0;if(!(j&1)){p=-1;break}p=268505377>>>(j>>>6&28)&15}else p=-1;while(0);n=z+(q<<2)|0;o=c[n>>2]|0;if(!(o&1))j=-1;else{b:do switch(((k|0)==(268505377>>>(o>>>6&28)&15|0)&1)<<1|(l|0)==(268505377>>>(o>>>6&28)&15|0)|((i|0)==(268505377>>>(o>>>6&28)&15|0)&1)<<2|((p|0)==(268505377>>>(o>>>6&28)&15|0)&1)<<3|0){case 3:case 1:{j=c[z+(q+-1<<2)>>2]>>16;break}case 2:{j=c[z+(q+~w<<2)>>2]>>16;break}case 12:case 6:case 4:{j=c[z+(q-w<<2)>>2]>>16;break}case 5:{j=((c[z+(q-w<<2)>>2]>>16)+(c[z+(q+-1<<2)>>2]>>16)|0)/2|0;break}case 8:{j=c[z+(q+(1-w)<<2)>>2]>>16;break}case 13:case 11:case 9:{j=(((c[z+(q+(1-w)<<2)>>2]>>16)*53|0)+((c[z+(q+-1<<2)>>2]>>16)*75|0)|0)/128|0;break}case 10:{j=((c[z+(q+(1-w)<<2)>>2]>>16)+(c[z+(q+~w<<2)>>2]>>16)|0)/2|0;break}case 14:{j=((((c[z+(q+(1-w)<<2)>>2]>>16)+(c[z+(q+~w<<2)>>2]>>16)|0)*3|0)+((c[z+(q-w<<2)>>2]>>16)*10|0)|0)/16|0;break}case 15:case 7:{k=q+-1|0;j=c[z+(k<<2)>>2]>>16;k=c[z+(k-w<<2)>>2]>>16;l=c[z+(q-w<<2)>>2]>>16;m=(((l+j|0)*29|0)+(_(k,-26)|0)|0)/32|0;if((((m-l|0)>-1?m-l|0:0-(m-l)|0)|0)>128){j=l;break b}if((((m-j|0)>-1?m-j|0:0-(m-j)|0)|0)>128)break b;j=(((m-k|0)>-1?m-k|0:0-(m-k)|0)|0)>128?k:m;break}default:j=c[f+304+2704+(R*12|0)+((268505377>>>(o>>>6&28)&15)<<2)>>2]|0}while(0);j=(j<<16)+o|0;c[n>>2]=j;c[f+304+2704+(R*12|0)+((268505377>>>(o>>>6&28)&15)<<2)>>2]=j>>16;j=268505377>>>(o>>>6&28)&15;h=h+1|0}if((r|0)==(w|0))break;else{k=i;q=q+1|0;l=j;i=p}}i=s+w|0}while(0);t=t+1|0;if((t|0)==(v|0))break;else s=i}z=c[ea+204>>2]|0;A=h}else A=0;c[f+304+2584+(R<<2)>>2]=A;h=(_(v-u|0,w)|0)-A|0;x=f+304+2596+(R<<2)|0;c[x>>2]=h;v=c[ea+53432>>2]|0;w=c[ea+100>>2]|0;y=f+304+2560+(R<<2)|0;i=c[y>>2]|0;b[f>>1]=b[c[f+304+2608+(R*24|0)>>2]>>1]|0;b[f+2>>1]=b[c[f+304+2608+(R*24|0)+4>>2]>>1]|0;if((A|0)>0){t=0;do{n=c[i+(t<<2)>>2]|0;V=f+3064|0;W=V+128|0;do{b[V>>1]=0;V=V+2|0}while((V|0)<(W|0));o=z+(n<<2)|0;p=c[o>>2]|0;q=c[f+304+2608+(R*24|0)+((p>>>2&63)<<3)+(((p&1792|0)!=256&1)<<2)>>2]|0;u=0;while(1){r=f+304+1792+(R<<8)+(u<<2)|0;s=c[r>>2]|0;if(s|0){aa=u;X=296;break}m=f+304+1024+(R<<8)+(u<<2)|0;k=c[m>>2]|0;h=a[v+k>>0]|0;j=c[45752+((h&255)<<2)>>2]|0;do if((h&255)<15){j=(d[v+(k+1)>>0]<<((h&255)<2?-13:0)+((h&255)<12?21:0))+j|0;if(h<<24>>24){l=j;j=j>>>8&4095;h=k+2|0;break}h=(d[v+(k+2)>>0]<<8)+(j>>>8&4095)|0;l=j;j=(h|0)==0?2147483647:h;h=k+3|0}else{l=j;j=j>>>8&4095;h=k+1|0}while(0);c[r>>2]=j;c[m>>2]=h;h=(l&255)+u|0;K=(_(e[q+(h<<1)>>1]|0,(l^0-(l&1048576))>>21)|0)&65535;b[f+3064+(d[w+h>>0]<<1)>>1]=K;h=((j|0)==0&1)+h|0;if((h|0)<64)u=h;else{ba=u;break}}if((X|0)==296){X=0;c[r>>2]=s+-1;ba=aa}b[f+3064>>1]=(c[o>>2]|0)>>>16;fRa(ca,n,R,f+3064|0,ba,b[f+(((p&1792|0)!=256&1)<<1)>>1]|0);t=t+1|0}while((t|0)!=(A|0));i=c[y>>2]|0;h=c[x>>2]|0}c[y>>2]=i+(A<<2);J=f+304+2572+(R<<2)|0;K=(c[J>>2]|0)+(0-h<<2)|0;c[J>>2]=K;gRa(ca,K,h,2,1,R);if(!(c[f+304+2744>>2]|0)){i=0;h=0}else{iRa(ca,f+304|0,$,R,(c[N>>2]|0)-T|0,(c[P>>2]|0)-(S&1)|0);i=S&1;h=T}dRa(ca,$,R,((c[N>>2]|0)-h<<3)-(h<<1)|0,((c[P>>2]|0)-i<<3)-(i<<1)|0);G=M?3:0;do if((c[Y>>2]|0)<(G+2|0)){if(c[f+304+2744>>2]|0){i=i+(S&1)|0;h=h+T|0}}else{h=h+T|0;i=i+(S&1)|0;o=(c[N>>2]|0)-h|0;w=(c[P>>2]|0)-i|0;x=c[L>>2]|0;H=ea+108+(R<<5)+8|0;p=(c[H>>2]|0)+(_(x,o)|0)|0;q=c[Z>>2]|0;l=(c[ea+53960>>2]|0)+p|0;B=(c[B>>2]|0)>(w|0);hBb(q+(p+((o|0)>0?x:0)<<2)|0,0,_(x<<2,w-o+(((o|0)>0)<<31>>31)+(B&1)|0)|0)|0;I=ea+53976+(R<<4)+8|0;E=c[I>>2]|0;D=c[ea+288+($*48|0)+(R<<4)+8>>2]|0;K=ea+53976+(R<<4)+12|0;z=c[K>>2]|0;j=_(E,((o|0)>0&1)<<2|o<<3)|0;A=c[ea+288+($*48|0)+(R<<4)+12>>2]|0;k=_(D,((o|0)>0&1)<<2|o<<3)|0;J=ea+53976+(R<<4)|0;F=c[J>>2]|0;if((((o|0)>0&1)<<2|o<<3|0)<4){m=z+j|0;k=A+k|0;j=((o|0)>0&1)<<2|o<<3;while(1){mBb(m|0,k|0,F|0)|0;j=j+1|0;if((j|0)==4)break;else{m=m+E|0;k=k+D|0}}y=D<<2;v=E<<2;m=z+(E<<2)|0;n=A+(D<<2)|0;k=4}else{y=k;v=j;m=z+j|0;n=A+k|0;k=((o|0)>0&1)<<2|o<<3}if((k|0)<(w-(B&1^1)<<3|0)){u=(w<<3)+-1-((B&1^1)<<3)-k&-8;t=_(u+8|0,D)|0;j=q+(p<<2)|0;s=k;while(1){p=c[ea+53448+(d[l>>0]<<2)>>2]|0;jQa(m,E,n+(0-D)|0,D,p,p*3>>2,j,j+(x<<2)|0);p=j+4|0;o=l+1|0;if((F|0)>8){r=j;q=8;while(1){ga=c[ea+53448+(d[o>>0]<<2)>>2]|0;jQa(m+q|0,E,n+(q-D)|0,D,ga,ga*3>>2,p,r+(x+1<<2)|0);kQa(m+(-4-(E<<2)+q)|0,E,ga,ga*3>>2,r);q=q+8|0;if((q|0)>=(F|0))break;else{r=p;o=o+1|0;p=p+4|0}}l=l+(((F+-9|0)>>>3)+2)|0;j=j+(((F+-9|0)>>>3)+2<<2)|0}else{l=o;j=p}s=s+8|0;if((s|0)>=(w-(B&1^1)<<3|0))break;else{m=m+(E<<3)|0;n=n+(D<<3)|0}}m=z+((_(u+8|0,E)|0)+v)|0;n=A+(t+y)|0;k=k+8+u|0}else j=q+(p<<2)|0;do if(!B){o=c[ea+53976+(R<<4)+4>>2]|0;if((o|0)>(k|0)){p=o-k|0;q=m;while(1){mBb(q|0,n|0,F|0)|0;k=k+1|0;if((k|0)==(o|0))break;else{q=q+E|0;n=n+D|0}}m=m+(_(p,E)|0)|0}if((F|0)<=8)break;k=8;while(1){l=l+1|0;ga=c[ea+53448+(d[l>>0]<<2)>>2]|0;kQa(m+(-4-(E<<3)+k)|0,E,ga,ga*3>>2,j);k=k+8|0;if((k|0)>=(F|0))break;else j=j+4|0}}while(0);if((c[Y>>2]|0)<(G+3|0))break;h=h+T|0;l=(c[N>>2]|0)-h|0;D=c[L>>2]|0;k=(c[H>>2]|0)+(_(D,l)|0)|0;A=(c[ea+53444>>2]|0)>=((M?7:4)|0);B=M?3840:1920;y=c[I>>2]|0;z=(c[P>>2]|0)-(i+(S&1))<<3;w=c[J>>2]|0;x=c[ea+53976+(R<<4)+4>>2]|0;if((l<<3|0)>=(z|0)){i=i+(S&1)|0;break}v=(c[K>>2]|0)+(_(y,l<<3)|0)|0;j=(c[ea+204>>2]|0)+(k<<2)|0;k=(c[Z>>2]|0)+(k<<2)|0;l=l<<3;while(1){if((w|0)>0){u=(l|0)<1;l=l+8|0;r=j;s=k;t=0;while(1){o=d[((c[r>>2]|0)>>>2&63)+(ea+795)>>0]|0;m=c[s>>2]|0;p=(t|0)<1;n=t;t=t+8|0;q=(t|0)>=(w|0);c:do if(A&(m|0)>(B|0)){m=v+n|0;lQa(m,y,((l|0)>=(x|0)&1)<<3|(u&1)<<2|p&1|(q&1)<<1,c[ea+53448+(o<<2)>>2]|0,c[ea+53704+(o<<2)>>2]|0,1);do if(!M){if(!p)if((c[s+-4>>2]|0)>3840)break;if(!q)if((c[s+4>>2]|0)>3840)break;if(!u)if((c[s+(0-D<<2)>>2]|0)>3840)break;if((l|0)>=(x|0))break c;if((c[s+(D<<2)>>2]|0)<=3840)break c}while(0);lQa(m,y,((l|0)>=(x|0)&1)<<3|(u&1)<<2|p&1|(q&1)<<1,c[ea+53448+(o<<2)>>2]|0,c[ea+53704+(o<<2)>>2]|0,1);lQa(m,y,((l|0)>=(x|0)&1)<<3|(u&1)<<2|p&1|(q&1)<<1,c[ea+53448+(o<<2)>>2]|0,c[ea+53704+(o<<2)>>2]|0,1)}else{if((m|0)>1536){lQa(v+n|0,y,((l|0)>=(x|0)&1)<<3|(u&1)<<2|p&1|(q&1)<<1,c[ea+53448+(o<<2)>>2]|0,c[ea+53704+(o<<2)>>2]|0,1);break}if((m|0)<=384)break;lQa(v+n|0,y,((l|0)>=(x|0)&1)<<3|(u&1)<<2|p&1|(q&1)<<1,c[ea+53448+(o<<2)>>2]|0,c[ea+53704+(o<<2)>>2]|0,0)}while(0);if((t|0)>=(w|0))break;else{r=r+4|0;s=s+4|0}}j=j+(((w+-1|0)>>>3)+1<<2)|0;k=k+(((w+-1|0)>>>3)+1<<2)|0}else l=l+8|0;if((l|0)<(z|0))v=v+(y<<3)|0;else{i=i+(S&1)|0;break}}}while(0);h=(c[N>>2]|0)-h<>2]|0)-i<>2]|0){xQa(ca);ga=c[ea+112>>2]|0;kj[c[ea+54028>>2]&127](c[ea+54024>>2]|0,f+256|0,ga-g|0,ga-h|0)}h=c[f+304+2740>>2]|0;if(S){g=h;T=1;U=h+U|0}else break}eRa(ca,$,0);eRa(ca,$,1);eRa(ca,$,2);ga=(a[ea+792>>0]|0)==0;g=c[ea+280>>2]|0;c[ea+276>>2]=g;if(ga)c[ea+272>>2]=g;xQa(ca);ga=0;c[f+3904>>2]=ga;c[f+6392>>2]=da;c[f+9432>>2]=V;c[f+9448>>2]=fa;c[f+9456>>2]=W;c[f+9488>>2]=X}function aXa(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;p=c[b+15840>>2]|0;k=c[b+15896>>2]|0;E=c[b+16472>>2]|0;z=c[b+16504>>2]|0;r=c[b+16656>>2]|0;A=c[b+17296>>2]|0;q=c[b+17792>>2]|0;m=c[b+18008>>2]|0;f=c[b+18472>>2]|0;e=c[b+18720>>2]|0;j=c[b+18856>>2]|0;C=c[b+19128>>2]|0;o=c[b+19136>>2]|0;v=c[b+19144>>2]|0;y=c[b+19152>>2]|0;w=c[b+19168>>2]|0;B=c[b+19176>>2]|0;x=c[b+19184>>2]|0;u=c[b+19336>>2]|0;F=c[b+19360>>2]|0;t=c[b+19400>>2]|0;h=c[b+19408>>2]|0;G=c[b+19416>>2]|0;D=c[b+19504>>2]|0;H=c[b+19520>>2]|0;s=c[b+19528>>2]|0;a:{if(H){H=0;switch(s|0){case 10:case 29:{if((B|0)>16){E=q;F=18;G=r;D=779;c[b+19536>>2]=2;c[b+19540>>2]=57;break a}g=B+1|0;if(h>>>0>g>>>0)e=g;else{c[p+4>>2]=130;e=0}f=r+(e<<4)|0;e=c[z+392>>2]|0;do if((e|0)==(z+8|0)){e=c[z+4>>2]|0;if(!e)e=0;else if(!(c[e>>2]|0)){c[e>>2]=161;e=0}else e=0}else{if((c[e+-4>>2]|0)==2){c[z+392>>2]=e+-8;e=c[e+-8>>2]|0;break}e=c[z+4>>2]|0;if(!e)e=0;else if(!(c[e>>2]|0)){c[e>>2]=160;e=0}else e=0}while(0);c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;if((t|0)==29){e=(c[m+708>>2]|0)+e|0;if(e>>>0>=(c[m+700>>2]|0)>>>0){E=q;F=18;G=r;D=779;c[b+19536>>2]=2;c[b+19540>>2]=57;break a}C=c[m+716>>2]|0;B=c[C+(e<<2)>>2]|0;c[f+12>>2]=B;c[f+4>>2]=B;c[f+8>>2]=c[C+(e+1<<2)>>2];C=f;B=g;u=A;c[b+19536>>2]=4;c[b+19540>>2]=81;break a}else{e=(c[m+704>>2]|0)+e|0;if(e>>>0>=(c[m+696>>2]|0)>>>0){E=q;F=18;G=r;D=779;c[b+19536>>2]=2;c[b+19540>>2]=57;break a}C=c[m+712>>2]|0;B=c[C+(e<<2)>>2]|0;c[f+12>>2]=B;c[f+4>>2]=B;c[f+8>>2]=c[C+(e+1<<2)>>2];C=f;B=g;u=A;c[b+19536>>2]=4;c[b+19540>>2]=81;break a}}case 11:{if((B|0)<1){E=q;F=18;G=r;D=779;c[b+19536>>2]=2;c[b+19540>>2]=57;break a}f=B+-1|0;if(h>>>0>f>>>0)e=f;else{c[p+4>>2]=130;e=0}C=r+(e<<4)|0;B=f;u=A;c[b+19536>>2]=4;c[b+19540>>2]=81;break a}case 12:{if(f>>>0>=v>>>0){e=c[C>>2]|0;if(!e){c[b+19536>>2]=2;c[b+19540>>2]=55;break a}if(c[e>>2]|0){c[b+19536>>2]=2;c[b+19540>>2]=55;break a}c[e>>2]=85;c[b+19536>>2]=2;c[b+19540>>2]=55;break a}c[y>>2]=f+1;switch(d[f>>0]|0){case 37:{pVa(z,b+11908|0,b+11904|0,b+24|0,529304,1);x=B;w=C;u=A;B=x;C=w;c[b+19536>>2]=4;c[b+19540>>2]=81;break a}case 36:{pVa(z,b+11908|0,b+11904|0,b+24|0,529292,0);x=B;w=C;u=A;B=x;C=w;c[b+19536>>2]=4;c[b+19540>>2]=81;break a}case 35:{pVa(z,b+11908|0,b+11904|0,b+24|0,529280,0);c[b+19536>>2]=2;c[b+19540>>2]=55;break a}case 34:{pVa(z,b+11908|0,b+11904|0,b+24|0,529268,0);x=B;w=C;u=A;B=x;C=w;c[b+19536>>2]=4;c[b+19540>>2]=81;break a}default:{c[b+19536>>2]=2;c[b+19540>>2]=55;break a}}}case 19:case 20:{if((a[b+11808+4>>0]|0)==0?1:(c[z+392>>2]|0)-(z+8|0)>>3>>>0<2){fVa(p,z,b+11840|0,k,b+15812|0);if(a[(c[p+132>>2]|0)+561>>0]|0){E=q;F=0;G=r;D=779;c[b+19536>>2]=2;c[b+19540>>2]=57;break a}if((t|0)==19){e=(c[b+11840+20>>2]|0)+(c[b+11872+20>>2]|0)|0;if(e>>>0>96){e=c[b+11808>>2]|0;if(!e){c[b+19536>>2]=2;c[b+19540>>2]=55;break a}if(c[e>>2]|0){c[b+19536>>2]=2;c[b+19540>>2]=55;break a}c[e>>2]=18;c[b+19536>>2]=2;c[b+19540>>2]=55;break a}c[b+11808+8>>2]=e;c[b+11808+12>>2]=(e+7|0)>>>3;a[b+11808+4>>0]=1;a[b+11808+5>>0]=1;if((e|0)==0|((e+7|0)>>>3|0)==0){c[b+19536>>2]=2;c[b+19540>>2]=55;break a}g=0;do{e=c[y>>2]|0;if(e>>>0<(c[o>>2]|0)>>>0){c[y>>2]=e+1;e=d[e>>0]|0}else{e=c[C>>2]|0;if(!e)e=0;else if(!(c[e>>2]|0)){c[e>>2]=85;e=0}else e=0}a[b+11808+16+g>>0]=e;g=g+1|0}while(g>>>0<(c[b+11808+12>>2]|0)>>>0)}else{hBb(b+11944|0,0,3868)|0;a[b+11944+13>>0]=a[p+140>>0]|0;c[b+11944+16>>2]=e;c[b+11944>>2]=p;c[b+11944+4>>2]=b+24+7744|0;c[b+11944+8>>2]=b+24+11612|0;c[b+11916>>2]=0;c[b+11916+4>>2]=0;c[b+11916+8>>2]=0;c[b+11916+12>>2]=0;c[b+11916+16>>2]=0;c[b+11916+20>>2]=0;c[b+11916+24>>2]=0;c[b+11916>>2]=p+4;e=(c[b+11840+20>>2]|0)+(c[b+11872+20>>2]|0)|0;if(e>>>0>96){if(!(c[p+4>>2]|0))c[p+4>>2]=18}else{c[b+11916+8>>2]=e;c[b+11916+12>>2]=(e+7|0)>>>3;a[b+11916+4>>0]=1;a[b+11916+5>>0]=1;if(!((e|0)==0|((e+7|0)>>>3|0)==0)){f=0;do{e=c[y>>2]|0;do if(e>>>0<(c[o>>2]|0)>>>0){c[y>>2]=e+1;e=d[e>>0]|0}else{e=c[C>>2]|0;if(!e)e=0;else{if(c[e>>2]|0){e=0;break}c[e>>2]=85;e=0}}while(0);a[b+11916+16+f>>0]=e;f=f+1|0}while(f>>>0<(c[b+11916+12>>2]|0)>>>0)}}mVa(b+11944|0,b+11872|0,b+11840|0,b+11916|0,0,0);c[b+19536>>2]=2;c[b+19540>>2]=55;break a}}break}case 21:{h=c[z+392>>2]|0;if(!((a[b+15812>>0]|0)!=0|h-(z+8|0)>>3>>>0<3)){b:do if(!(h-(z+8|0)>>3)){e=c[z+4>>2]|0;if(!e)e=0;else if(!(c[e>>2]|0)){c[e>>2]=130;e=0}else e=0}else switch(c[z+12>>2]|0){case 2:{e=c[z+8>>2]<<16;break b}case 1:{e=c[z+8>>2]|0;if((e|0)<0){e=0-(8192-e>>14)|0;break b}else{e=e+8192>>14;break b}}default:{e=c[z+8>>2]|0;break b}}while(0);c[k>>2]=e+j}a[b+15812>>0]=1;if(a[(c[p+132>>2]|0)+561>>0]|0){E=q;F=0;G=r;D=779;c[b+19536>>2]=2;c[b+19540>>2]=57;break a}c:do if((h|0)==(z+8|0)){e=c[z+4>>2]|0;if(e|0)if(!(c[e>>2]|0))c[e>>2]=161;l=c[b+11904>>2]|0;D=355}else{c[z+392>>2]=h+-8;d:do switch(c[h+-4>>2]|0){case 2:{e=c[h+-8>>2]<<16;break}case 1:{e=c[h+-8>>2]|0;if((e|0)<0){e=0-(8192-e>>14)|0;break d}else{e=e+8192>>14;break d}}default:e=c[h+-8>>2]|0}while(0);g=(c[b+11904>>2]|0)+e|0;c[b+11904>>2]=g;if((h+-8|0)==(z+8|0)){l=g;D=355}else{c[z+392>>2]=h+-16;switch(c[h+-12>>2]|0){case 2:{i=c[h+-16>>2]<<16;n=g;break c}case 1:{e=c[h+-16>>2]|0;if((e|0)<0){i=0-(8192-e>>14)|0;n=g;break c}else{i=e+8192>>14;n=g;break c}}default:{i=c[h+-16>>2]|0;n=g;break c}}}}while(0);if((D|0)==355){D=0;e=c[z+4>>2]|0;if(!e){i=0;n=l}else if(!(c[e>>2]|0)){c[e>>2]=161;i=0;n=c[b+11904>>2]|0}else{i=0;n=l}}e=(c[b+11908>>2]|0)+i|0;c[b+11908>>2]=e;if(a[(b+24+11664|0)>>0]|0){a[(b+24+11665|0)>>0]=1;hVa(b+24|0,c[(b+24+11736|0)>>2]|0,c[(b+24+11740|0)>>2]|0);if(a[(b+24+11744|0)>>0]|0)kVa(b+24|0,b+24+8|0,b+24+11704|0,c[b+24+11712>>2]|0,c[b+24+11716>>2]|0,1);a[(b+24+11667|0)>>0]=1;a[(b+24+11664|0)>>0]=0;a[(b+24+11665|0)>>0]=0;a[(b+24+11744|0)>>0]=0}c[(b+24+11736|0)>>2]=e;c[b+24+11720>>2]=e;c[(b+24+11740|0)>>2]=n;c[b+24+11724>>2]=n;a[(b+24+11667|0)>>0]=1;e=c[b+24+11676>>2]|0;if(!(a[b+24+20>>0]|0))D=370;else if(a[e+5>>0]|0)D=370;if((D|0)==370){D=0;mVa(b+24+8|0,c[b+24+11668>>2]|0,c[b+24+11672>>2]|0,e,c[b+24+11680>>2]|0,0)}mBb(b+24+3876|0|0,b+24+8|0|0,3868)|0;break}case 22:{g=c[z+392>>2]|0;if(!((a[b+15812>>0]|0)!=0|g-(z+8|0)>>3>>>0<2)){e:do if(!(g-(z+8|0)>>3)){e=c[z+4>>2]|0;if(!e)e=0;else if(!(c[e>>2]|0)){c[e>>2]=130;e=0}else e=0}else switch(c[z+12>>2]|0){case 2:{e=c[z+8>>2]<<16;break e}case 1:{e=c[z+8>>2]|0;if((e|0)<0){e=0-(8192-e>>14)|0;break e}else{e=e+8192>>14;break e}}default:{e=c[z+8>>2]|0;break e}}while(0);c[k>>2]=e+j}a[b+15812>>0]=1;if(a[(c[p+132>>2]|0)+561>>0]|0){E=q;F=0;G=r;D=779;c[b+19536>>2]=2;c[b+19540>>2]=57;break a}f:do if((g|0)==(z+8|0)){e=c[z+4>>2]|0;if(!e)e=0;else if(!(c[e>>2]|0)){c[e>>2]=161;e=0}else e=0}else{c[z+392>>2]=g+-8;switch(c[g+-4>>2]|0){case 2:{e=c[g+-8>>2]<<16;break f}case 1:{e=c[g+-8>>2]|0;if((e|0)<0){e=0-(8192-e>>14)|0;break f}else{e=e+8192>>14;break f}}default:{e=c[g+-8>>2]|0;break f}}}while(0);e=(c[b+11908>>2]|0)+e|0;c[b+11908>>2]=e;g=c[b+11904>>2]|0;if(a[(b+24+11664|0)>>0]|0){a[(b+24+11665|0)>>0]=1;hVa(b+24|0,c[(b+24+11736|0)>>2]|0,c[(b+24+11740|0)>>2]|0);if(a[(b+24+11744|0)>>0]|0)kVa(b+24|0,b+24+8|0,b+24+11704|0,c[b+24+11712>>2]|0,c[b+24+11716>>2]|0,1);a[(b+24+11667|0)>>0]=1;a[(b+24+11664|0)>>0]=0;a[(b+24+11665|0)>>0]=0;a[(b+24+11744|0)>>0]=0}c[(b+24+11736|0)>>2]=e;c[b+24+11720>>2]=e;c[(b+24+11740|0)>>2]=g;c[b+24+11724>>2]=g;a[(b+24+11667|0)>>0]=1;e=c[b+24+11676>>2]|0;if(!(a[b+24+20>>0]|0))D=401;else if(a[e+5>>0]|0)D=401;if((D|0)==401){D=0;mVa(b+24+8|0,c[b+24+11668>>2]|0,c[b+24+11672>>2]|0,e,c[b+24+11680>>2]|0,0)}mBb(b+24+3876|0|0,b+24+8|0|0,3868)|0;break}default:H=1}}if(H){H=0;switch(s|0){case 25:{m=c[z+392>>2]|0;g:do if(m-(z+8|0)>>3>>>0>6){f=m;h=0;while(1){f=f-(z+8|0)>>3;h:do if(f>>>0>h>>>0){e=z+8+(h<<3)|0;switch(c[z+8+(h<<3)+4>>2]|0){case 2:{e=c[e>>2]<<16;break h}case 1:{e=c[e>>2]|0;if((e|0)<0){e=0-(8192-e>>14)|0;break h}else{e=e+8192>>14;break h}}default:{e=c[e>>2]|0;break h}}}else{e=c[z+4>>2]|0;if(!e)e=0;else if(!(c[e>>2]|0)){c[e>>2]=130;e=0}else e=0}while(0);g=(c[b+11908>>2]|0)+e|0;c[b+11908>>2]=g;e=h|1;i:do if(f>>>0>e>>>0)switch(c[z+8+(e<<3)+4>>2]|0){case 2:{f=c[z+8+(e<<3)>>2]<<16;e=g;break i}case 1:{e=c[z+8+(e<<3)>>2]|0;if((e|0)<0){f=0-(8192-e>>14)|0;e=g;break i}else{f=e+8192>>14;e=g;break i}}default:{f=c[z+8+(e<<3)>>2]|0;e=g;break i}}else{e=c[z+4>>2]|0;if(!e){f=0;e=g}else if(!(c[e>>2]|0)){c[e>>2]=130;f=0;e=c[b+11908>>2]|0}else{f=0;e=g}}while(0);y=(c[b+11904>>2]|0)+f|0;c[b+11904>>2]=y;hVa(b+24|0,e,y);e=h+2|0;if((h+8|0)>>>0>=m-(z+8|0)>>3>>>0)break g;f=c[z+392>>2]|0;h=e}}else e=0;while(0);if(e>>>0>3>>>0)do{l=(c[z+392>>2]|0)-(z+8|0)>>3;j:do if(l>>>0>e>>>0){f=z+8+(e<<3)|0;switch(c[z+8+(e<<3)+4>>2]|0){case 2:{f=c[f>>2]<<16;break j}case 1:{f=c[f>>2]|0;if((f|0)<0){f=0-(8192-f>>14)|0;break j}else{f=f+8192>>14;break j}}default:{f=c[f>>2]|0;break j}}}else{f=c[z+4>>2]|0;if(!f)f=0;else if(!(c[f>>2]|0)){c[f>>2]=130;f=0}else f=0}while(0);k=(c[b+11908>>2]|0)+f|0;f=e|1;k:do if(l>>>0>f>>>0)switch(c[z+8+(f<<3)+4>>2]|0){case 2:{f=c[z+8+(f<<3)>>2]<<16;break k}case 1:{f=c[z+8+(f<<3)>>2]|0;if((f|0)<0){f=0-(8192-f>>14)|0;break k}else{f=f+8192>>14;break k}}default:{f=c[z+8+(f<<3)>>2]|0;break k}}else{f=c[z+4>>2]|0;if(!f)f=0;else if(!(c[f>>2]|0)){c[f>>2]=130;f=0}else f=0}while(0);j=(c[b+11904>>2]|0)+f|0;f=e+2|0;l:do if(l>>>0>f>>>0)switch(c[z+8+(f<<3)+4>>2]|0){case 2:{f=c[z+8+(f<<3)>>2]<<16;break l}case 1:{f=c[z+8+(f<<3)>>2]|0;if((f|0)<0){f=0-(8192-f>>14)|0;break l}else{f=f+8192>>14;break l}}default:{f=c[z+8+(f<<3)>>2]|0;break l}}else{f=c[z+4>>2]|0;if(!f)f=0;else if(!(c[f>>2]|0)){c[f>>2]=130;f=0}else f=0}while(0);i=f+k|0;f=e+3|0;m:do if(l>>>0>f>>>0)switch(c[z+8+(f<<3)+4>>2]|0){case 2:{f=c[z+8+(f<<3)>>2]<<16;break m}case 1:{f=c[z+8+(f<<3)>>2]|0;if((f|0)<0){f=0-(8192-f>>14)|0;break m}else{f=f+8192>>14;break m}}default:{f=c[z+8+(f<<3)>>2]|0;break m}}else{f=c[z+4>>2]|0;if(!f)f=0;else if(!(c[f>>2]|0)){c[f>>2]=130;f=0}else f=0}while(0);h=f+j|0;f=e+4|0;n:do if(l>>>0>f>>>0)switch(c[z+8+(f<<3)+4>>2]|0){case 2:{f=c[z+8+(f<<3)>>2]<<16;break n}case 1:{f=c[z+8+(f<<3)>>2]|0;if((f|0)<0){f=0-(8192-f>>14)|0;break n}else{f=f+8192>>14;break n}}default:{f=c[z+8+(f<<3)>>2]|0;break n}}else{f=c[z+4>>2]|0;if(!f)f=0;else{if(c[f>>2]|0){f=0;break}c[f>>2]=130;f=0}}while(0);g=f+i|0;f=e+5|0;o:do if(l>>>0>f>>>0)switch(c[z+8+(f<<3)+4>>2]|0){case 2:{f=c[z+8+(f<<3)>>2]<<16;break o}case 1:{f=c[z+8+(f<<3)>>2]|0;if((f|0)<0){f=0-(8192-f>>14)|0;break o}else{f=f+8192>>14;break o}}default:{f=c[z+8+(f<<3)>>2]|0;break o}}else{f=c[z+4>>2]|0;if(!f){f=0;break}if(c[f>>2]|0){f=0;break}c[f>>2]=130;f=0}while(0);y=f+h|0;oVa(b+24|0,k,j,i,h,g,y);c[b+11908>>2]=g;c[b+11904>>2]=y;e=e+6|0}while(e>>>0>3>>>0);c[z+392>>2]=z+8;x=B;w=C;u=A;B=x;C=w;c[b+19536>>2]=4;c[b+19540>>2]=81;break a}case 26:{l=(c[z+392>>2]|0)-(z+8|0)>>3;if((l&-3)>>>0>(l-(l&-3)|0)>>>0){g=l-(l&-3)|0;do{if(!(l-g&1)){f=c[z+392>>2]|0;k=c[b+11908>>2]|0}else{f=c[z+392>>2]|0;p:do if(f-(z+8|0)>>3>>>0>g>>>0){e=z+8+(g<<3)|0;switch(c[z+8+(g<<3)+4>>2]|0){case 2:{e=c[e>>2]<<16;break p}case 1:{e=c[e>>2]|0;if((e|0)<0){e=0-(8192-e>>14)|0;break p}else{e=e+8192>>14;break p}}default:{e=c[e>>2]|0;break p}}}else{e=c[z+4>>2]|0;if(!e)e=0;else if(!(c[e>>2]|0)){c[e>>2]=130;e=0}else e=0}while(0);g=g+1|0;k=(c[b+11908>>2]|0)+e|0}j=f-(z+8|0)>>3;q:do if(j>>>0>g>>>0){e=z+8+(g<<3)|0;switch(c[z+8+(g<<3)+4>>2]|0){case 2:{e=c[e>>2]<<16;break q}case 1:{e=c[e>>2]|0;if((e|0)<0){e=0-(8192-e>>14)|0;break q}else{e=e+8192>>14;break q}}default:{e=c[e>>2]|0;break q}}}else{e=c[z+4>>2]|0;if(!e)e=0;else if(!(c[e>>2]|0)){c[e>>2]=130;e=0}else e=0}while(0);i=(c[b+11904>>2]|0)+e|0;e=g+1|0;r:do if(j>>>0>e>>>0)switch(c[z+8+(e<<3)+4>>2]|0){case 2:{e=c[z+8+(e<<3)>>2]<<16;break r}case 1:{e=c[z+8+(e<<3)>>2]|0;if((e|0)<0){e=0-(8192-e>>14)|0;break r}else{e=e+8192>>14;break r}}default:{e=c[z+8+(e<<3)>>2]|0;break r}}else{e=c[z+4>>2]|0;if(!e)e=0;else if(!(c[e>>2]|0)){c[e>>2]=130;e=0}else e=0}while(0);h=e+k|0;e=g+2|0;s:do if(j>>>0>e>>>0)switch(c[z+8+(e<<3)+4>>2]|0){case 2:{e=c[z+8+(e<<3)>>2]<<16;break s}case 1:{e=c[z+8+(e<<3)>>2]|0;if((e|0)<0){e=0-(8192-e>>14)|0;break s}else{e=e+8192>>14;break s}}default:{e=c[z+8+(e<<3)>>2]|0;break s}}else{e=c[z+4>>2]|0;if(!e)e=0;else if(!(c[e>>2]|0)){c[e>>2]=130;e=0}else e=0}while(0);f=e+i|0;e=g+3|0;t:do if(j>>>0>e>>>0)switch(c[z+8+(e<<3)+4>>2]|0){case 2:{e=c[z+8+(e<<3)>>2]<<16;break t}case 1:{e=c[z+8+(e<<3)>>2]|0;if((e|0)<0){e=0-(8192-e>>14)|0;break t}else{e=e+8192>>14;break t}}default:{e=c[z+8+(e<<3)>>2]|0;break t}}else{e=c[z+4>>2]|0;if(!e)e=0;else if(!(c[e>>2]|0)){c[e>>2]=130;e=0}else e=0}while(0);y=e+f|0;oVa(b+24|0,k,i,h,f,h,y);c[b+11908>>2]=h;c[b+11904>>2]=y;g=g+4|0}while((l&-3)>>>0>g>>>0)}c[z+392>>2]=z+8;x=B;w=C;u=A;B=x;C=w;c[b+19536>>2]=4;c[b+19540>>2]=81;break a}default:H=1}}if(H){H=0;switch(s|0){case 27:{l=(c[z+392>>2]|0)-(z+8|0)>>3;if((l&-3)>>>0>(l-(l&-3)|0)>>>0){g=l-(l&-3)|0;do{if(!(l-g&1)){f=c[z+392>>2]|0;k=c[b+11904>>2]|0}else{f=c[z+392>>2]|0;u:do if(f-(z+8|0)>>3>>>0>g>>>0){e=z+8+(g<<3)|0;switch(c[z+8+(g<<3)+4>>2]|0){case 2:{e=c[e>>2]<<16;break u}case 1:{e=c[e>>2]|0;if((e|0)<0){e=0-(8192-e>>14)|0;break u}else{e=e+8192>>14;break u}}default:{e=c[e>>2]|0;break u}}}else{e=c[z+4>>2]|0;if(!e)e=0;else if(!(c[e>>2]|0)){c[e>>2]=130;e=0}else e=0}while(0);g=g+1|0;k=(c[b+11904>>2]|0)+e|0}j=f-(z+8|0)>>3;v:do if(j>>>0>g>>>0){e=z+8+(g<<3)|0;switch(c[z+8+(g<<3)+4>>2]|0){case 2:{e=c[e>>2]<<16;break v}case 1:{e=c[e>>2]|0;if((e|0)<0){e=0-(8192-e>>14)|0;break v}else{e=e+8192>>14;break v}}default:{e=c[e>>2]|0;break v}}}else{e=c[z+4>>2]|0;if(!e)e=0;else if(!(c[e>>2]|0)){c[e>>2]=130;e=0}else e=0}while(0);i=(c[b+11908>>2]|0)+e|0;e=g+1|0;w:do if(j>>>0>e>>>0)switch(c[z+8+(e<<3)+4>>2]|0){case 2:{e=c[z+8+(e<<3)>>2]<<16;break w}case 1:{e=c[z+8+(e<<3)>>2]|0;if((e|0)<0){e=0-(8192-e>>14)|0;break w}else{e=e+8192>>14;break w}}default:{e=c[z+8+(e<<3)>>2]|0;break w}}else{e=c[z+4>>2]|0;if(!e)e=0;else if(!(c[e>>2]|0)){c[e>>2]=130;e=0}else e=0}while(0);h=e+i|0;e=g+2|0;x:do if(j>>>0>e>>>0)switch(c[z+8+(e<<3)+4>>2]|0){case 2:{e=c[z+8+(e<<3)>>2]<<16;break x}case 1:{e=c[z+8+(e<<3)>>2]|0;if((e|0)<0){e=0-(8192-e>>14)|0;break x}else{e=e+8192>>14;break x}}default:{e=c[z+8+(e<<3)>>2]|0;break x}}else{e=c[z+4>>2]|0;if(!e)e=0;else if(!(c[e>>2]|0)){c[e>>2]=130;e=0}else e=0}while(0);f=e+k|0;e=g+3|0;y:do if(j>>>0>e>>>0)switch(c[z+8+(e<<3)+4>>2]|0){case 2:{e=c[z+8+(e<<3)>>2]<<16;break y}case 1:{e=c[z+8+(e<<3)>>2]|0;if((e|0)<0){e=0-(8192-e>>14)|0;break y}else{e=e+8192>>14;break y}}default:{e=c[z+8+(e<<3)>>2]|0;break y}}else{e=c[z+4>>2]|0;if(!e)e=0;else if(!(c[e>>2]|0)){c[e>>2]=130;e=0}else e=0}while(0);y=e+h|0;oVa(b+24|0,i,k,h,f,y,f);c[b+11908>>2]=y;c[b+11904>>2]=f;g=g+4|0}while((l&-3)>>>0>g>>>0)}c[z+392>>2]=z+8;x=B;w=C;u=A;B=x;C=w;c[b+19536>>2]=4;c[b+19540>>2]=81;break a}case 31:case 30:{o=(c[z+392>>2]|0)-(z+8|0)>>3;if((o&-3)>>>0>(o-(o&-3)|0)>>>0){e=(t|0)==31&1;n=o-(o&-3)|0;do{if(!(e<<24>>24)){k=c[b+11908>>2]|0;f=(c[z+392>>2]|0)-(z+8|0)>>3;z:do if(f>>>0>n>>>0){e=z+8+(n<<3)|0;switch(c[z+8+(n<<3)+4>>2]|0){case 2:{e=c[e>>2]<<16;break z}case 1:{e=c[e>>2]|0;if((e|0)<0){e=0-(8192-e>>14)|0;break z}else{e=e+8192>>14;break z}}default:{e=c[e>>2]|0;break z}}}else{e=c[z+4>>2]|0;if(!e)e=0;else if(!(c[e>>2]|0)){c[e>>2]=130;e=0}else e=0}while(0);h=(c[b+11904>>2]|0)+e|0;l=n+1|0;A:do if(f>>>0>l>>>0)switch(c[z+8+(l<<3)+4>>2]|0){case 2:{e=c[z+8+(l<<3)>>2]<<16;break A}case 1:{e=c[z+8+(l<<3)>>2]|0;if((e|0)<0){e=0-(8192-e>>14)|0;break A}else{e=e+8192>>14;break A}}default:{e=c[z+8+(l<<3)>>2]|0;break A}}else{e=c[z+4>>2]|0;if(!e)e=0;else if(!(c[e>>2]|0)){c[e>>2]=130;e=0}else e=0}while(0);j=e+k|0;e=n+2|0;B:do if(f>>>0>e>>>0)switch(c[z+8+(e<<3)+4>>2]|0){case 2:{e=c[z+8+(e<<3)>>2]<<16;break B}case 1:{e=c[z+8+(e<<3)>>2]|0;if((e|0)<0){e=0-(8192-e>>14)|0;break B}else{e=e+8192>>14;break B}}default:{e=c[z+8+(e<<3)>>2]|0;break B}}else{e=c[z+4>>2]|0;if(!e)e=0;else if(!(c[e>>2]|0)){c[e>>2]=130;e=0}else e=0}while(0);m=e+h|0;e=n+3|0;C:do if(f>>>0>e>>>0)switch(c[z+8+(e<<3)+4>>2]|0){case 2:{e=c[z+8+(e<<3)>>2]<<16;break C}case 1:{e=c[z+8+(e<<3)>>2]|0;if((e|0)<0){e=0-(8192-e>>14)|0;break C}else{e=e+8192>>14;break C}}default:{e=c[z+8+(e<<3)>>2]|0;break C}}else{e=c[z+4>>2]|0;if(!e)e=0;else{if(c[e>>2]|0){e=0;break}c[e>>2]=130;e=0}}while(0);i=e+j|0;if(((o&-3)-n|0)==5){e=n+4|0;D:do if(f>>>0>e>>>0)switch(c[z+8+(e<<3)+4>>2]|0){case 2:{f=c[z+8+(e<<3)>>2]<<16;break D}case 1:{e=c[z+8+(e<<3)>>2]|0;if((e|0)<0){f=0-(8192-e>>14)|0;break D}else{f=e+8192>>14;break D}}default:{f=c[z+8+(e<<3)>>2]|0;break D}}else{e=c[z+4>>2]|0;if(!e){f=0;break}if(c[e>>2]|0){f=0;break}c[e>>2]=130;f=0}while(0);e=1;g=m;f=f+m|0}else{e=1;l=n;g=m;f=m}}else{g=(c[z+392>>2]|0)-(z+8|0)>>3;E:do if(g>>>0>n>>>0){e=z+8+(n<<3)|0;switch(c[z+8+(n<<3)+4>>2]|0){case 2:{e=c[e>>2]<<16;break E}case 1:{e=c[e>>2]|0;if((e|0)<0){e=0-(8192-e>>14)|0;break E}else{e=e+8192>>14;break E}}default:{e=c[e>>2]|0;break E}}}else{e=c[z+4>>2]|0;if(!e)e=0;else if(!(c[e>>2]|0)){c[e>>2]=130;e=0}else e=0}while(0);k=(c[b+11908>>2]|0)+e|0;h=c[b+11904>>2]|0;l=n+1|0;F:do if(g>>>0>l>>>0)switch(c[z+8+(l<<3)+4>>2]|0){case 2:{e=c[z+8+(l<<3)>>2]<<16;break F}case 1:{e=c[z+8+(l<<3)>>2]|0;if((e|0)<0){e=0-(8192-e>>14)|0;break F}else{e=e+8192>>14;break F}}default:{e=c[z+8+(l<<3)>>2]|0;break F}}else{e=c[z+4>>2]|0;if(!e)e=0;else if(!(c[e>>2]|0)){c[e>>2]=130;e=0}else e=0}while(0);i=e+k|0;e=n+2|0;G:do if(g>>>0>e>>>0)switch(c[z+8+(e<<3)+4>>2]|0){case 2:{e=c[z+8+(e<<3)>>2]<<16;break G}case 1:{e=c[z+8+(e<<3)>>2]|0;if((e|0)<0){e=0-(8192-e>>14)|0;break G}else{e=e+8192>>14;break G}}default:{e=c[z+8+(e<<3)>>2]|0;break G}}else{e=c[z+4>>2]|0;if(!e)e=0;else if(!(c[e>>2]|0)){c[e>>2]=130;e=0}else e=0}while(0);m=e+h|0;e=n+3|0;H:do if(g>>>0>e>>>0)switch(c[z+8+(e<<3)+4>>2]|0){case 2:{e=c[z+8+(e<<3)>>2]<<16;break H}case 1:{e=c[z+8+(e<<3)>>2]|0;if((e|0)<0){e=0-(8192-e>>14)|0;break H}else{e=e+8192>>14;break H}}default:{e=c[z+8+(e<<3)>>2]|0;break H}}else{e=c[z+4>>2]|0;if(!e)e=0;else{if(c[e>>2]|0){e=0;break}c[e>>2]=130;e=0}}while(0);f=e+m|0;if(((o&-3)-n|0)==5){e=n+4|0;I:do if(g>>>0>e>>>0)switch(c[z+8+(e<<3)+4>>2]|0){case 2:{g=c[z+8+(e<<3)>>2]<<16;break I}case 1:{e=c[z+8+(e<<3)>>2]|0;if((e|0)<0){g=0-(8192-e>>14)|0;break I}else{g=e+8192>>14;break I}}default:{g=c[z+8+(e<<3)>>2]|0;break I}}else{e=c[z+4>>2]|0;if(!e){g=0;break}if(c[e>>2]|0){g=0;break}c[e>>2]=130;g=0}while(0);e=0;j=i;i=g+i|0;g=m}else{e=0;l=n;j=i;g=m}}oVa(b+24|0,k,h,j,g,i,f);c[b+11908>>2]=i;c[b+11904>>2]=f;n=l+4|0}while((o&-3)>>>0>n>>>0)}c[z+392>>2]=z+8;x=B;w=C;u=A;B=x;C=w;c[b+19536>>2]=4;c[b+19540>>2]=81;break a}case 28:{if(f>>>0>>0){x=f+1|0;c[y>>2]=x;e=d[f>>0]|0;f=x}else{e=c[C>>2]|0;if(!e)e=0;else if(!(c[e>>2]|0)){c[e>>2]=85;e=0}else e=0}g=e<<8;if(f>>>0>>0){c[y>>2]=f+1;e=d[f>>0]|0}else{e=c[C>>2]|0;if(!e)e=0;else if(!(c[e>>2]|0)){c[e>>2]=85;e=0}else e=0}f=c[z+392>>2]|0;if((f|0)!=(z+392|0)){c[f>>2]=(e|g)<<16>>16;c[f+4>>2]=2;c[z+392>>2]=f+8;x=B;w=C;u=A;B=x;C=w;c[b+19536>>2]=4;c[b+19540>>2]=81;break a}e=c[z+4>>2]|0;if(!e){x=B;w=C;u=A;B=x;C=w;c[b+19536>>2]=4;c[b+19540>>2]=81;break a}if(c[e>>2]|0){x=B;w=C;u=A;B=x;C=w;c[b+19536>>2]=4;c[b+19540>>2]=81;break a}c[e>>2]=130;x=B;w=C;u=A;B=x;C=w;c[b+19536>>2]=4;c[b+19540>>2]=81;break a}default:H=1}}if(H){H=0;switch(s|0){default:{if(t>>>0<247){e=c[z+392>>2]|0;if((e|0)!=(z+392|0)){c[e>>2]=t+-139;c[e+4>>2]=2;c[z+392>>2]=e+8;x=B;w=C;u=A;B=x;C=w;c[b+19536>>2]=4;c[b+19540>>2]=81;break a}e=c[z+4>>2]|0;if(!e){x=B;w=C;u=A;B=x;C=w;c[b+19536>>2]=4;c[b+19540>>2]=81;break a}if(c[e>>2]|0){x=B;w=C;u=A;B=x;C=w;c[b+19536>>2]=4;c[b+19540>>2]=81;break a}c[e>>2]=130;x=B;w=C;u=A;B=x;C=w;c[b+19536>>2]=4;c[b+19540>>2]=81;break a}if(t>>>0<251){g=(t<<8)+-63232|0;if(f>>>0>>0){c[y>>2]=f+1;e=d[f>>0]|0}else{e=c[C>>2]|0;if(!e)e=0;else if(!(c[e>>2]|0)){c[e>>2]=85;e=0}else e=0}f=c[z+392>>2]|0;if((f|0)!=(z+392|0)){c[f>>2]=(e|g)+108;c[f+4>>2]=2;c[z+392>>2]=f+8;x=B;w=C;u=A;B=x;C=w;c[b+19536>>2]=4;c[b+19540>>2]=81;break a}e=c[z+4>>2]|0;if(!e){x=B;w=C;u=A;B=x;C=w;c[b+19536>>2]=4;c[b+19540>>2]=81;break a}if(c[e>>2]|0){x=B;w=C;u=A;B=x;C=w;c[b+19536>>2]=4;c[b+19540>>2]=81;break a}c[e>>2]=130;x=B;w=C;u=A;B=x;C=w;c[b+19536>>2]=4;c[b+19540>>2]=81;break a}if((t|0)!=255){g=(t<<8)+-64256|0;if(f>>>0>>0){c[y>>2]=f+1;e=d[f>>0]|0}else{e=c[C>>2]|0;if(!e)e=0;else if(!(c[e>>2]|0)){c[e>>2]=85;e=0}else e=0}f=c[z+392>>2]|0;if((f|0)!=(z+392|0)){c[f>>2]=-108-(e|g);c[f+4>>2]=2;c[z+392>>2]=f+8;x=B;w=C;u=A;B=x;C=w;c[b+19536>>2]=4;c[b+19540>>2]=81;break a}e=c[z+4>>2]|0;if(!e){x=B;w=C;u=A;B=x;C=w;c[b+19536>>2]=4;c[b+19540>>2]=81;break a}if(c[e>>2]|0){x=B;w=C;u=A;B=x;C=w;c[b+19536>>2]=4;c[b+19540>>2]=81;break a}c[e>>2]=130;x=B;w=C;u=A;B=x;C=w;c[b+19536>>2]=4;c[b+19540>>2]=81;break a}if(f>>>0>>0){x=f+1|0;c[y>>2]=x;e=d[f>>0]|0;f=x}else{e=c[C>>2]|0;if(!e)e=0;else if(!(c[e>>2]|0)){c[e>>2]=85;e=0}else e=0}g=e<<24;if(f>>>0>>0){x=f+1|0;c[y>>2]=x;e=d[f>>0]|0;f=x}else{e=c[C>>2]|0;if(!e)e=0;else if(!(c[e>>2]|0)){c[e>>2]=85;e=0}else e=0}g=e<<16|g;if(f>>>0>>0){x=f+1|0;c[y>>2]=x;e=d[f>>0]|0;f=x}else{e=c[C>>2]|0;if(!e)e=0;else if(!(c[e>>2]|0)){c[e>>2]=85;e=0}else e=0}g=g|e<<8;if(f>>>0>>0){c[y>>2]=f+1;e=d[f>>0]|0}else{e=c[C>>2]|0;if(!e)e=0;else if(!(c[e>>2]|0)){c[e>>2]=85;e=0}else e=0}f=c[z+392>>2]|0;if((f|0)!=(z+392|0)){c[f>>2]=g|e;c[f+4>>2]=0;c[z+392>>2]=f+8;x=B;w=C;u=A;B=x;C=w;c[b+19536>>2]=4;c[b+19540>>2]=81;break a}e=c[z+4>>2]|0;if(!e){x=B;w=C;u=A;B=x;C=w;c[b+19536>>2]=4;c[b+19540>>2]=81;break a}if(c[e>>2]|0){x=B;w=C;u=A;B=x;C=w;c[b+19536>>2]=4;c[b+19540>>2]=81;break a}c[e>>2]=130;x=B;w=C;u=A;B=x;C=w;c[b+19536>>2]=4;c[b+19540>>2]=81;break a}}}}c[b+16472>>2]=E;c[b+19128>>2]=C;c[b+19168>>2]=w;c[b+19176>>2]=B;c[b+19184>>2]=x;c[b+19336>>2]=u;c[b+19360>>2]=F;c[b+19416>>2]=G;c[b+19504>>2]=D;c[b+19520>>2]=H} -function bfa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+16|0;Jj(a);c[a>>2]=24156;c[a+8>>2]=b;if(b|0)Hi[c[(c[b>>2]|0)+8>>2]&1023](b);c[a+12>>2]=d;c[a+16>>2]=0;c[a+20>>2]=0;c[a+24>>2]=0;M8(a+28|0,d);c[a+32>>2]=0;c[a+32+4>>2]=0;c[a+32+8>>2]=0;c[a+32+12>>2]=0;g[a+48>>2]=1.0;if((d|0)<1){e=nf(16)|0;ds(e,436693,f);zc(e|0,96,27)}else{b=Zba(e)|0;e=YAb(40)|0;E8(e,d*80|0,0,34962,b,1);c[a+24>>2]=e;i=f;return}}function cfa(a,b,d,e,f,g,h,j,k,l,m){a=a|0;b=+b;d=+d;e=+e;f=+f;g=+g;h=+h;j=+j;k=+k;l=+l;m=m|0;var n=0,o=0;o=i;i=i+48|0;do if((m|0)==-1){n=c[a+12>>2]|0;if((c[a+16>>2]|0)>=(n|0)){a=-1;i=o;return a|0}}else if((m|0)<-1){a=-1;i=o;return a|0}else{n=c[a+12>>2]|0;break}while(0);if((n|0)<=(m|0)){a=-1;i=o;return a|0}Uua(o,b,d,e,f,g,h,j,k,l);n=c[a+8>>2]|0;n=vi[c[(c[n>>2]|0)+48>>2]&2047](n)|0;if((m|0)==-1){dfa(a,n,o,c[a+16>>2]|0);m=c[a+16>>2]|0;c[a+16>>2]=m+1}else dfa(a,n,o,m);a=m;i=o;return a|0}function dfa(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var h=0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0,s=0,t=0;h=i;i=i+80|0;c[h>>2]=c[d>>2];c[h+4>>2]=c[d+4>>2];c[h+8>>2]=c[d+8>>2];c[h+12>>2]=c[d+12>>2];c[h+16>>2]=c[d+16>>2];c[h+20>>2]=c[d+20>>2];c[h+20+4>>2]=c[d+20+4>>2];c[h+20+8>>2]=c[d+20+8>>2];c[h+20+12>>2]=c[d+20+12>>2];c[h+20+16>>2]=c[d+20+16>>2];c[h+40>>2]=c[d+40>>2];c[h+40+4>>2]=c[d+40+4>>2];c[h+40+8>>2]=c[d+40+8>>2];c[h+40+12>>2]=c[d+40+12>>2];c[h+40+16>>2]=c[d+40+16>>2];c[h+60>>2]=c[d+60>>2];c[h+60+4>>2]=c[d+60+4>>2];c[h+60+8>>2]=c[d+60+8>>2];c[h+60+12>>2]=c[d+60+12>>2];c[h+60+16>>2]=c[d+60+16>>2];p=+g[e>>2];o=+g[e+12>>2];q=+g[e+24>>2];l=+g[e+4>>2];j=+g[e+16>>2];n=+g[e+28>>2];k=+g[h>>2];m=+g[h+4>>2];g[h>>2]=q+(p*k+o*m);g[h+4>>2]=n+(k*l+m*j);m=+g[h+20>>2];k=+g[h+24>>2];g[h+20>>2]=q+(p*m+o*k);g[h+24>>2]=n+(m*l+k*j);k=+g[h+40>>2];m=+g[h+44>>2];g[h+40>>2]=q+(p*k+o*m);g[h+44>>2]=n+(k*l+m*j);m=+g[h+60>>2];k=+g[h+64>>2];g[h+60>>2]=q+(p*m+o*k);g[h+64>>2]=n+(m*l+k*j);e=c[b+20>>2]|0;if(!e){d=b+24|0;b=c[d>>2]|0;I8(b);e=c[d>>2]|0;F8(e)|0;d=c[d>>2]|0;f=f*80|0;K8(d,f,80,h);J8(b);i=h;return}t=a[e>>0]|0;s=a[e+1>>0]|0;r=a[e+2>>0]|0;d=a[e+3>>0]|0;a[h+16>>0]=t;a[h+17>>0]=s;a[h+18>>0]=r;a[h+19>>0]=d;a[h+36>>0]=t;a[h+37>>0]=s;a[h+38>>0]=r;a[h+39>>0]=d;a[h+56>>0]=t;a[h+57>>0]=s;a[h+58>>0]=r;a[h+59>>0]=d;a[h+76>>0]=t;a[h+77>>0]=s;a[h+78>>0]=r;a[h+79>>0]=d;d=b+24|0;b=c[d>>2]|0;I8(b);e=c[d>>2]|0;F8(e)|0;d=c[d>>2]|0;f=f*80|0;K8(d,f,80,h);J8(b);i=h;return}function efa(a,b,d,e,f,g,h,j,k,l,m,n){a=a|0;b=b|0;d=+d;e=+e;f=+f;g=+g;h=+h;j=+j;k=+k;l=+l;m=+m;n=n|0;var o=0,p=0,q=0;q=i;i=i+48|0;do if((n|0)==-1){o=c[a+16>>2]|0;if((o|0)<(c[a+12>>2]|0))p=a+16|0;else{a=-1;i=q;return a|0}}else if((n|0)<-1){a=-1;i=q;return a|0}else{p=a+16|0;o=c[a+16>>2]|0;break}while(0);if((o|0)<=(n|0)){a=-1;i=q;return a|0}Uua(q,d,e,f,g,h,j,k,l,m);o=HC(b)|0;if((n|0)==-1){dfa(a,o,q,c[p>>2]|0);n=c[p>>2]|0;c[p>>2]=n+1}else dfa(a,o,q,n);a=n;i=q;return a|0}function ffa(a){a=a|0;c[a+16>>2]=0;return}function gfa(a){a=a|0;var b=0;b=c[a+24>>2]|0;I8(b);G8(c[a+24>>2]|0);J8(b);return}function hfa(a,b){a=a|0;b=b|0;var d=0;if(b|0)Hi[c[(c[b>>2]|0)+8>>2]&1023](b);d=c[a+8>>2]|0;if(!d){c[a+8>>2]=b;return}Hi[c[(c[d>>2]|0)+12>>2]&1023](d);c[a+8>>2]=b;return}function ifa(a){a=a|0;return c[a+8>>2]|0}function jfa(b,e){b=b|0;e=e|0;var f=0;f=c[b+20>>2]|0;if(!f){f=YAb(4)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;a[f>>0]=e;a[f+1>>0]=e>>8;a[f+2>>0]=e>>16;a[f+3>>0]=e>>24;c[b+20>>2]=f;return}else{b=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;a[f>>0]=b;a[f+1>>0]=b>>8;a[f+2>>0]=b>>16;a[f+3>>0]=b>>24;return}}function kfa(a){a=a|0;var b=0;b=c[a+20>>2]|0;if(b|0)oAb(b);c[a+20>>2]=0;return}function lfa(a){a=a|0;return c[a+20>>2]|0}function mfa(a){a=a|0;return c[a+16>>2]|0}function nfa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;f=i;i=i+16|0;if((b|0)<1){a=nf(16)|0;ds(a,436693,f);zc(a|0,96,27)}if((c[a+12>>2]|0)==(b|0)){i=f;return}d=c[a+24>>2]|0;I8(d);g=F8(c[a+24>>2]|0)|0;J8(d);d=YAb(40)|0;h=c[a+24>>2]|0;E8(d,b*80|0,0,c[h+12>>2]|0,c[h+16>>2]|0,c[h+36>>2]|0);I8(d);h=F8(d)|0;e=c[a+12>>2]|0;mBb(h|0,g|0,((e|0)<(b|0)?e:b)*80|0)|0;M8(f+4|0,b);R8(a+28|0,f+4|0)|0;S8(f+4|0);J8(d);e=c[a+24>>2]|0;if(e|0)Hi[c[(c[e>>2]|0)+4>>2]&1023](e);c[a+24>>2]=d;c[a+12>>2]=b;h=c[a+16>>2]|0;c[a+16>>2]=(h|0)>(b|0)?b:h;i=f;return}function ofa(a){a=a|0;return c[a+12>>2]|0}function pfa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=i;i=i+16|0;g=hca(e)|0;if(g>>>0>2]<<2>>>0){e=nf(16)|0;c[h>>2]=c[b+12>>2]<<2;ds(e,436719,h);zc(e|0,96,27)}f=qfa(b+32|0,d)|0;if(!f)f=0;else{f=c[f+20>>2]|0;if(!f)f=0;else Hi[c[(c[f>>2]|0)+8>>2]&1023](f)}g=lca(e,d)|0;if((g|0)<0){e=nf(16)|0;c[h+8>>2]=(a[d>>0]&1)==0?d+1|0:c[d+8>>2]|0;ds(e,436816,h+8|0);zc(e|0,96,27)}if(e|0){Hi[c[(c[e>>2]|0)+8>>2]&1023](e);Hi[c[(c[e>>2]|0)+8>>2]&1023](e);Hi[c[(c[e>>2]|0)+12>>2]&1023](e)}d=rfa(b+32|0,d)|0;if(e|0)Hi[c[(c[e>>2]|0)+8>>2]&1023](e);b=c[d>>2]|0;if(b|0)Hi[c[(c[b>>2]|0)+12>>2]&1023](b);c[d>>2]=e;c[d+4>>2]=g;if(e|0)Hi[c[(c[e>>2]|0)+12>>2]&1023](e);if(!f){i=h;return}Hi[c[(c[f>>2]|0)+12>>2]&1023](f);i=h;return}function qfa(e,f){e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;m=a[f>>0]|0;n=(m&1)==0?f+1|0:c[f+8>>2]|0;m=(m&1)==0?(m&255)>>>1:c[f+4>>2]|0;if(m>>>0>3){g=m;h=n;f=m;while(1){o=_(d[h>>0]|d[h+1>>0]<<8|d[h+2>>0]<<16|d[h+3>>0]<<24,1540483477)|0;f=(_(o>>>24^o,1540483477)|0)^(_(f,1540483477)|0);g=g+-4|0;if(g>>>0<=3)break;else h=h+4|0}g=m+-4-(m+-4&-4)|0;h=n+((m+-4&-4)+4)|0}else{g=m;h=n;f=m}switch(g|0){case 3:{i=d[h+2>>0]<<16^f;l=6;break}case 2:{i=f;l=6;break}case 1:{j=f;l=7;break}default:k=f}if((l|0)==6){j=d[h+1>>0]<<8^i;l=7}if((l|0)==7)k=_(d[h>>0]^j,1540483477)|0;f=_(k>>>13^k,1540483477)|0;k=c[e+4>>2]|0;if(!k){o=0;return o|0}if(!(k+-1&k))j=(f>>>15^f)&k+-1;else j=((f>>>15^f)>>>0)%(k>>>0)|0;f=c[(c[e>>2]|0)+(j<<2)>>2]|0;if(!f){o=0;return o|0}f=c[f>>2]|0;if(!f){o=0;return o|0}if(!(k+-1&k)){a:while(1){if((c[f+4>>2]&k+-1|0)!=(j|0)){f=0;l=35;break}h=f+8|0;g=b[h>>1]|0;do if((((g&1)==0?(g&254)>>>1:c[f+12>>2]|0)|0)==(m|0)){if(g&1)if(!(qmb(c[f+16>>2]|0,n,m)|0)){l=35;break a}else break;if(!m){l=35;break a}if(((g&65535)>>>8&255)<<24>>24==(a[n>>0]|0)){i=(g&254)>>>1;g=h+1|0;h=n;do{i=i+-1|0;g=g+1|0;if(!i){l=35;break a}h=h+1|0}while((a[g>>0]|0)==(a[h>>0]|0))}}while(0);f=c[f>>2]|0;if(!f){f=0;l=35;break}}if((l|0)==35)return f|0}else{b:while(1){if((((c[f+4>>2]|0)>>>0)%(k>>>0)|0|0)!=(j|0)){f=0;l=35;break}h=f+8|0;g=b[h>>1]|0;do if((((g&1)==0?(g&254)>>>1:c[f+12>>2]|0)|0)==(m|0)){if(g&1)if(!(qmb(c[f+16>>2]|0,n,m)|0)){l=35;break b}else break;if(!m){l=35;break b}if(((g&65535)>>>8&255)<<24>>24==(a[n>>0]|0)){i=(g&254)>>>1;g=h+1|0;h=n;do{i=i+-1|0;g=g+1|0;if(!i){l=35;break b}h=h+1|0}while((a[g>>0]|0)==(a[h>>0]|0))}}while(0);f=c[f>>2]|0;if(!f){f=0;l=35;break}}if((l|0)==35)return f|0}return 0}function rfa(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;d=qfa(a,b)|0;if(d|0){a=d;a=a+20|0;i=e;return a|0}d=YAb(28)|0;Hqb(d+8|0,b);c[d+20>>2]=0;c[d+20+4>>2]=0;c[d+20>>2]=0;sfa(e,a,d);a=c[e>>2]|0;a=a+20|0;i=e;return a|0}function sfa(e,f,h){e=e|0;f=f|0;h=h|0;var i=0,j=0,k=0.0,l=0.0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;s=a[h+8>>0]|0;t=(s&1)==0?h+8+1|0:c[h+16>>2]|0;s=(s&1)==0?(s&255)>>>1:c[h+12>>2]|0;if(s>>>0>3){m=s;n=t;i=s;while(1){u=_(d[n>>0]|d[n+1>>0]<<8|d[n+2>>0]<<16|d[n+3>>0]<<24,1540483477)|0;i=(_(u>>>24^u,1540483477)|0)^(_(i,1540483477)|0);m=m+-4|0;if(m>>>0<=3)break;else n=n+4|0}m=s+-4-(s+-4&-4)|0;n=t+((s+-4&-4)+4)|0}else{m=s;n=t;i=s}switch(m|0){case 3:{o=d[n+2>>0]<<16^i;r=6;break}case 2:{o=i;r=6;break}case 1:{p=i;r=7;break}default:q=i}if((r|0)==6){p=d[n+1>>0]<<8^o;r=7}if((r|0)==7)q=_(d[n>>0]^p,1540483477)|0;i=_(q>>>13^q,1540483477)|0;c[h+4>>2]=i>>>15^i;q=c[f+4>>2]|0;a:do if(!q)j=0;else{if(!(q+-1&q))p=(i>>>15^i)&q+-1;else p=((i>>>15^i)>>>0)%(q>>>0)|0;i=c[(c[f>>2]|0)+(p<<2)>>2]|0;if(!i)j=p;else{i=c[i>>2]|0;if(!i)j=p;else if(!(q+-1&q)){b:while(1){if((c[i+4>>2]&q+-1|0)!=(p|0)){j=p;break a}n=i+8|0;m=b[n>>1]|0;do if((((m&1)==0?(m&254)>>>1:c[i+12>>2]|0)|0)==(s|0)){if(m&1)if(!(qmb(c[i+16>>2]|0,t,s)|0)){m=0;r=49;break b}else break;if(!s){m=0;r=49;break b}if(((m&65535)>>>8&255)<<24>>24==(a[t>>0]|0)){o=(m&254)>>>1;m=n+1|0;n=t;do{o=o+-1|0;m=m+1|0;if(!o){m=0;r=49;break b}n=n+1|0}while((a[m>>0]|0)==(a[n>>0]|0))}}while(0);i=c[i>>2]|0;if(!i){j=p;break a}}if((r|0)==49){u=i;c[e>>2]=u;u=e+4|0;a[u>>0]=m;return}}else{c:while(1){if((((c[i+4>>2]|0)>>>0)%(q>>>0)|0|0)!=(p|0)){j=p;break a}n=i+8|0;m=b[n>>1]|0;do if((((m&1)==0?(m&254)>>>1:c[i+12>>2]|0)|0)==(s|0)){if(m&1)if(!(qmb(c[i+16>>2]|0,t,s)|0)){m=0;r=49;break c}else break;if(!s){m=0;r=49;break c}if(((m&65535)>>>8&255)<<24>>24==(a[t>>0]|0)){o=(m&254)>>>1;m=n+1|0;n=t;do{o=o+-1|0;m=m+1|0;if(!o){m=0;r=49;break c}n=n+1|0}while((a[m>>0]|0)==(a[n>>0]|0))}}while(0);i=c[i>>2]|0;if(!i){j=p;break a}}if((r|0)==49){u=i;c[e>>2]=u;u=e+4|0;a[u>>0]=m;return}}}}while(0);k=+(((c[f+12>>2]|0)+1|0)>>>0);l=+g[f+16>>2];do if((q|0)==0|k>+(q>>>0)*l){if(q>>>0>2)i=(q+-1&q|0)==0;else i=0;i=(i&1|q<<1)^1;j=~~+Z(+(k/l))>>>0;tfa(f,i>>>0>>0?j:i);i=c[f+4>>2]|0;j=c[h+4>>2]|0;if(!(i+-1&i)){m=i;j=i+-1&j;break}else{m=i;j=(j>>>0)%(i>>>0)|0;break}}else m=q;while(0);i=c[(c[f>>2]|0)+(j<<2)>>2]|0;if(!i){c[h>>2]=c[f+8>>2];c[f+8>>2]=h;c[(c[f>>2]|0)+(j<<2)>>2]=f+8;i=c[h>>2]|0;if(i|0){i=c[i+4>>2]|0;j=m+-1|0;if(!(j&m))i=i&j;else i=(i>>>0)%(m>>>0)|0;c[(c[f>>2]|0)+(i<<2)>>2]=h}}else{c[h>>2]=c[i>>2];c[i>>2]=h}c[f+12>>2]=(c[f+12>>2]|0)+1;f=1;u=h;c[e>>2]=u;u=e+4|0;a[u>>0]=f;return}function tfa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if((b|0)==1)b=2;else if(b+-1&b)b=Eqb(b)|0;f=c[a+4>>2]|0;if(b>>>0>f>>>0){ufa(a,b);return}if(b>>>0>=f>>>0)return;if(f>>>0>2)e=(f+-1&f|0)==0;else e=0;d=~~+Z(+(+((c[a+12>>2]|0)>>>0)/+g[a+16>>2]))>>>0;if(e)d=1<<32-(aa(d+-1|0)|0);else d=Eqb(d)|0;b=b>>>0>>0?d:b;if(b>>>0>=f>>>0)return;ufa(a,b);return}function ufa(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;if(!e){f=c[d>>2]|0;c[d>>2]=0;if(f|0)oAb(f);c[d+4>>2]=0;return}r=YAb(e<<2)|0;f=c[d>>2]|0;c[d>>2]=r;if(f|0)oAb(f);c[d+4>>2]=e;f=0;do{c[(c[d>>2]|0)+(f<<2)>>2]=0;f=f+1|0}while((f|0)!=(e|0));h=c[d+8>>2]|0;if(!h)return;f=c[h+4>>2]|0;if(!(e+-1&e))g=f&e+-1;else g=(f>>>0)%(e>>>0)|0;c[(c[d>>2]|0)+(g<<2)>>2]=d+8;f=c[h>>2]|0;if(!f)return;else j=h;a:while(1){r=h;b:while(1){while(1){h=c[f+4>>2]|0;if(!(e+-1&e))q=h&e+-1;else q=(h>>>0)%(e>>>0)|0;if((q|0)==(g|0)){h=f;break}h=(c[d>>2]|0)+(q<<2)|0;if(!(c[h>>2]|0)){g=q;i=f;f=r;break b}h=c[f>>2]|0;c:do if(!h)h=f;else{n=f+8|0;o=b[n>>1]|0;p=(o&1)==0?(o&254)>>>1:c[f+12>>2]|0;m=f+16|0;if(!(o&1)){m=f;while(1){i=h+8|0;k=a[i>>0]|0;if((p|0)!=(((k&1)==0?(k&255)>>>1:c[h+12>>2]|0)|0)){h=m;break c}i=(k&1)==0?i+1|0:c[h+16>>2]|0;d:do if(p|0){if(((o&65535)>>>8&255)<<24>>24==(a[i>>0]|0)){k=(o&254)>>>1;l=n+1|0}else{h=m;break c}while(1){k=k+-1|0;l=l+1|0;if(!k)break d;i=i+1|0;if((a[l>>0]|0)!=(a[i>>0]|0)){h=m;break c}}}while(0);i=c[h>>2]|0;if(!i)break;else{m=h;h=i}}}else{if(!p){i=f;while(1){p=a[h+8>>0]|0;if(((p&1)==0?(p&255)>>>1:c[h+12>>2]|0)|0){h=i;break c}i=c[h>>2]|0;if(!i)break c;else{p=h;h=i;i=p}}}else l=f;while(1){i=h+8|0;k=a[i>>0]|0;if((p|0)!=(((k&1)==0?(k&255)>>>1:c[h+12>>2]|0)|0)){h=l;break c}if(qmb(c[m>>2]|0,(k&1)==0?i+1|0:c[h+16>>2]|0,p)|0){h=l;break c}i=c[h>>2]|0;if(!i)break;else{l=h;h=i}}}}while(0);c[r>>2]=c[h>>2];c[h>>2]=c[c[(c[d>>2]|0)+(q<<2)>>2]>>2];c[c[(c[d>>2]|0)+(q<<2)>>2]>>2]=f;f=c[j>>2]|0;if(!f){f=38;break a}}f=c[h>>2]|0;if(!f){f=38;break a}else{j=h;r=h}}c[h>>2]=f;f=c[i>>2]|0;if(!f){f=38;break}else{j=i;h=i}}if((f|0)==38)return}function vfa(a){a=a|0;var b=0,d=0;c[a>>2]=24184;b=c[a+12>>2]|0;if(b|0)Hi[c[(c[b>>2]|0)+4>>2]&1023](b);wfa(a+28|0);d=c[a+16>>2]|0;if(d|0){b=c[a+20>>2]|0;if((b|0)!=(d|0))c[a+20>>2]=b+(~(((b+-12-d|0)>>>0)/12|0)*12|0);oAb(d)}b=c[a+8>>2]|0;if(!b)return;Hi[c[(c[b>>2]|0)+12>>2]&1023](b);return}function wfa(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;b=c[a>>2]|0;if(!b)return;d=c[a+4>>2]|0;if((d|0)!=(b|0)){do{g=d+-80|0;c[a+4>>2]=g;h=c[d+-68>>2]|0;if(h|0){e=d+-64|0;f=c[e>>2]|0;if((f|0)!=(h|0))c[e>>2]=f+(~((f+-8-h|0)>>>3)<<3);oAb(h)}f=c[g>>2]|0;if(f|0){d=d+-76|0;e=c[d>>2]|0;if((e|0)!=(f|0))c[d>>2]=e+(~((e+-4-f|0)>>>2)<<2);oAb(f)}d=c[a+4>>2]|0}while((d|0)!=(b|0));b=c[a>>2]|0}oAb(b);return}function xfa(a){a=a|0;var b=0,d=0;c[a>>2]=24184;b=c[a+12>>2]|0;if(b|0)Hi[c[(c[b>>2]|0)+4>>2]&1023](b);wfa(a+28|0);d=c[a+16>>2]|0;if(d|0){b=c[a+20>>2]|0;if((b|0)!=(d|0))c[a+20>>2]=b+(~(((b+-12-d|0)>>>0)/12|0)*12|0);oAb(d)}b=c[a+8>>2]|0;if(!b){oAb(a);return}Hi[c[(c[b>>2]|0)+12>>2]&1023](b);oAb(a);return}function yfa(a,b,d,e,f,g,h,j,k,l){a=a|0;b=+b;d=+d;e=+e;f=+f;g=+g;h=+h;j=+j;k=+k;l=+l;var m=0,n=0,o=0;m=i;i=i+64|0;if(!(c[a+12>>2]|0)){i=m;return}if((c[a+16>>2]|0)==(c[a+20>>2]|0)){i=m;return}n=x8(c[a+8>>2]|0)|0;if((n|0)!=(c[a+44>>2]|0))zfa(a);Xca(631040);n=_ca(631040)|0;Hua(m,b,d,e,f,g,h,j,k,l);Kua(n,m);n=c[a+12>>2]|0;I8(n);G8(c[a+12>>2]|0);o=L8(c[a+12>>2]|0,0)|0;Ii[c[163985]&63](0,2,5126,0,16,o);o=L8(c[a+12>>2]|0,8)|0;Ii[c[163985]&63](1,2,5123,1,16,o);o=L8(c[a+12>>2]|0,12)|0;Ii[c[163985]&63](2,4,5121,1,16,o);J8(n);Uca(631040,7);d8(c[a+8>>2]|0,a+16|0,1);Zca(631040);i=m;return}function zfa(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;h=i;i=i+16|0;g=x8(c[a+8>>2]|0)|0;if((g|0)==(c[a+44>>2]|0)){i=h;return}Afa(h,a+28|0);Bfa(a);b=c[h>>2]|0;d=c[h+4>>2]|0;if((b|0)!=(d|0))do{Cfa(a,b);b=b+80|0}while((b|0)!=(d|0));c[a+44>>2]=x8(c[a+8>>2]|0)|0;b=c[h>>2]|0;if(b|0){d=c[h+4>>2]|0;if((d|0)!=(b|0)){do{a=d+-80|0;c[h+4>>2]=a;e=c[d+-68>>2]|0;if(e|0){f=d+-64|0;g=c[f>>2]|0;if((g|0)!=(e|0))c[f>>2]=g+(~((g+-8-e|0)>>>3)<<3);oAb(e)}e=c[a>>2]|0;if(e|0){d=d+-76|0;a=c[d>>2]|0;if((a|0)!=(e|0))c[d>>2]=a+(~((a+-4-e|0)>>>2)<<2);oAb(e)}d=c[h+4>>2]|0}while((d|0)!=(b|0));b=c[h>>2]|0}oAb(b)}i=h;return}function Afa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;e=c[b+4>>2]|0;f=c[b>>2]|0;if((e|0)==(f|0))return;if(((e-f|0)/80|0)>>>0>53687091)jzb(a);d=YAb(e-f|0)|0;c[a+4>>2]=d;c[a>>2]=d;c[a+8>>2]=d+(((e-f|0)/80|0)*80|0);e=c[b>>2]|0;g=c[b+4>>2]|0;if((e|0)==(g|0))return;do{_7(d,e);a8(d+12|0,e+12|0);d=d+24|0;f=e+24|0;b=d+56|0;do{c[d>>2]=c[f>>2];d=d+4|0;f=f+4|0}while((d|0)<(b|0));d=(c[a+4>>2]|0)+80|0;c[a+4>>2]=d;e=e+80|0}while((e|0)!=(g|0));return}function Bfa(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;h=c[a+28>>2]|0;b=c[a+32>>2]|0;if((b|0)!=(h|0))do{f=b+-80|0;c[a+32>>2]=f;g=c[b+-68>>2]|0;if(g|0){d=b+-64|0;e=c[d>>2]|0;if((e|0)!=(g|0))c[d>>2]=e+(~((e+-8-g|0)>>>3)<<3);oAb(g)}e=c[f>>2]|0;if(e|0){b=b+-76|0;d=c[b>>2]|0;if((d|0)!=(e|0))c[b>>2]=d+(~((d+-4-e|0)>>>2)<<2);oAb(e)}b=c[a+32>>2]|0}while((b|0)!=(h|0));b=c[a+16>>2]|0;d=c[a+20>>2]|0;if((d|0)==(b|0)){g=a+8|0;g=c[g>>2]|0;g=x8(g)|0;h=a+44|0;c[h>>2]=g;a=a+40|0;c[a>>2]=0;return}c[a+20>>2]=d+(~(((d+-12-b|0)>>>0)/12|0)*12|0);g=a+8|0;g=c[g>>2]|0;g=x8(g)|0;h=a+44|0;c[h>>2]=g;a=a+40|0;c[a>>2]=0;return}function Cfa(a,d){a=a|0;d=d|0;var e=0,f=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0.0,q=0,r=0.0,s=0.0;n=i;i=i+80|0;c[n+52>>2]=0;m=n+52+4|0;c[m>>2]=0;c[n+52+8>>2]=0;f=c[d+28>>2]|0;e=c[a+8>>2]|0;if((f|0)==4){g[n+32>>2]=0.0;g[n+32+4>>2]=0.0;c[n+72>>2]=c[n+32>>2];c[n+72+4>>2]=c[n+32+4>>2];O7(n+40|0,e,d,n+52|0,0.0,n+72|0,n);l=c[n+40>>2]|0;k=c[n+40+4>>2]|0;c[n+40+8>>2]=0;c[n+40+4>>2]=0;c[n+40>>2]=0}else{Y7(n+20|0,e,d,+g[d+24>>2],f,n+52|0,n);l=c[n+20>>2]|0;k=c[n+20+4>>2]|0;c[n+20+8>>2]=0;c[n+20+4>>2]=0;c[n+20>>2]=0}j=b[d+40>>1]|0;if((j&255)<<24>>24){e=c[n+52>>2]|0;f=(c[m>>2]|0)-e|0;if((f|0)>0){h=0;do{q=e+(h<<4)|0;s=+g[q>>2];o=e+(h<<4)+4|0;r=+g[o>>2];p=+g[d+72>>2]+(s*+g[d+48>>2]+r*+g[d+60>>2]);g[q>>2]=+g[d+68>>2]+(+g[d+44>>2]*s+ +g[d+56>>2]*r);g[o>>2]=p;h=h+1|0}while((h|0)!=(f>>4|0))}}e=c[a+40>>2]|0;if((j&65535)<256){e=c[a+16>>2]|0;f=c[a+20>>2]|0;if((f|0)==(e|0))e=0;else{c[a+20>>2]=f+(~(((f+-12-e|0)>>>0)/12|0)*12|0);e=0}}Dfa(a,n+52|0,e);j=l;if((j|0)!=(k|0)){f=j;do{q=f+4|0;c[q>>2]=(c[q>>2]|0)+e;f=f+12|0}while((f|0)!=(k|0));h=c[a+20>>2]|0;if((c[a+16>>2]|0)==(h|0))f=l;else{f=c[h+-4>>2]|0;if((c[h+-12>>2]|0)==(c[j>>2]|0))if(((c[h+-8>>2]|0)+f|0)==(c[j+4>>2]|0)){c[h+-4>>2]=(c[j+8>>2]|0)+f;f=j+12|0}else f=l;else f=l}c[n+16>>2]=h;c[n+12>>2]=f;c[n+8>>2]=k;c[n+64>>2]=c[n+16>>2];c[n+68>>2]=c[n+12>>2];c[n+72>>2]=c[n+8>>2];c8(a+16|0,n+64|0,n+68|0,n+72|0)|0}c[a+40>>2]=((c[m>>2]|0)-(c[n+52>>2]|0)>>4)+e;e=c[a+32>>2]|0;if((e|0)==(c[a+36>>2]|0)){Efa(a+28|0,d);e=c[a+32>>2]|0}else{_7(e,d);a8(e+12|0,d+12|0);h=e+24|0;e=d+24|0;f=h+56|0;do{c[h>>2]=c[e>>2];h=h+4|0;e=e+4|0}while((h|0)<(f|0));e=(c[a+32>>2]|0)+80|0;c[a+32>>2]=e}o=c[n+4>>2]|0;q=e+-48|0;c[q>>2]=c[n>>2];c[q+4>>2]=o;q=x8(c[a+8>>2]|0)|0;if((q|0)!=(c[a+44>>2]|0))zfa(a);if(l|0)oAb(l);e=c[n+52>>2]|0;if(!e){i=n;return}f=c[m>>2]|0;if((f|0)!=(e|0))c[m>>2]=f+(~((f+-16-e|0)>>>4)<<4);oAb(e);i=n;return}function Dfa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;h=c[b+4>>2]|0;i=c[b>>2]|0;if((h|0)==(i|0))return;e=c[a+12>>2]|0;if(!e){f=~~(+((h-i+(d<<4)|0)>>>0)*1.5)>>>0;g=6}else{f=c[e+8>>2]|0;if((h-i+(d<<4)|0)>>>0>f>>>0){f=~~(+(f>>>0)*1.5)>>>0>>>0<~~(+((h-i+(d<<4)|0)>>>0)*1.5)>>>0>>>0?~~(+((h-i+(d<<4)|0)>>>0)*1.5)>>>0:~~(+(f>>>0)*1.5)>>>0;g=6}}if((g|0)==6){e=YAb(40)|0;E8(e,f,0,34962,35048,0);f=c[a+12>>2]|0;if(f|0){I8(f);g=F8(c[a+12>>2]|0)|0;J8(f);I8(e);K8(e,0,c[(c[a+12>>2]|0)+8>>2]|0,g);J8(e);f=c[a+12>>2]|0;if(f|0)Hi[c[(c[f>>2]|0)+4>>2]&1023](f)}c[a+12>>2]=e}I8(e);d=(F8(c[a+12>>2]|0)|0)+(d<<4)|0;mBb(d|0,c[b>>2]|0,h-i|0)|0;J8(e);return}function Efa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=c[a>>2]|0;e=(((c[a+4>>2]|0)-f|0)/80|0)+1|0;if(e>>>0>53687091)jzb(a);d=((c[a+8>>2]|0)-f|0)/80|0;if(d>>>0<26843545){d=d<<1>>>0>>0?e:d<<1;e=((c[a+4>>2]|0)-f|0)/80|0;if(!d){f=0;d=0}else g=6}else{d=53687091;e=((c[a+4>>2]|0)-f|0)/80|0;g=6}if((g|0)==6){f=d;d=YAb(d*80|0)|0}k=d+(e*80|0)|0;j=d+(f*80|0)|0;_7(k,b);a8(d+(e*80|0)+12|0,b+12|0);h=d+(e*80|0)+24|0;f=b+24|0;g=h+56|0;do{c[h>>2]=c[f>>2];h=h+4|0;f=f+4|0}while((h|0)<(g|0));b=c[a>>2]|0;d=c[a+4>>2]|0;if((d|0)==(b|0)){e=k;i=b;d=b}else{f=k;e=k;do{h=f+-80|0;g=d;d=d+-80|0;c[h>>2]=0;i=f+-76|0;c[i>>2]=0;c[f+-72>>2]=0;c[h>>2]=c[d>>2];c[i>>2]=c[g+-76>>2];c[f+-72>>2]=c[g+-72>>2];c[g+-72>>2]=0;c[g+-76>>2]=0;c[d>>2]=0;i=f+-68|0;c[i>>2]=0;h=f+-64|0;c[h>>2]=0;c[f+-60>>2]=0;c[i>>2]=c[g+-68>>2];c[h>>2]=c[g+-64>>2];c[f+-60>>2]=c[g+-60>>2];c[g+-60>>2]=0;c[g+-64>>2]=0;c[g+-68>>2]=0;h=f+-56|0;f=g+-56|0;g=h+56|0;do{c[h>>2]=c[f>>2];h=h+4|0;f=f+4|0}while((h|0)<(g|0));f=e+-80|0;e=f}while((d|0)!=(b|0));i=c[a>>2]|0;d=c[a+4>>2]|0}c[a>>2]=e;c[a+4>>2]=k+80;c[a+8>>2]=j;h=i;if((d|0)!=(h|0)){f=d;do{g=f;f=f+-80|0;d=c[g+-68>>2]|0;if(d|0){e=c[g+-64>>2]|0;if((e|0)!=(d|0))c[g+-64>>2]=e+(~((e+-8-d|0)>>>3)<<3);oAb(d)}d=c[f>>2]|0;if(d|0){e=c[g+-76>>2]|0;if((e|0)!=(d|0))c[g+-76>>2]=e+(~((e+-4-d|0)>>>2)<<2);oAb(d)}}while((f|0)!=(h|0))}if(!i)return;oAb(i);return}function Ffa(a,b,d){a=a|0;b=b|0;d=d|0;Jj(a);c[a>>2]=24184;c[a+8>>2]=b;if(b|0)Hi[c[(c[b>>2]|0)+8>>2]&1023](b);c[a+12>>2]=0;c[a+12+4>>2]=0;c[a+12+8>>2]=0;c[a+12+12>>2]=0;c[a+12+16>>2]=0;c[a+12+20>>2]=0;c[a+12+24>>2]=0;c[a+12+28>>2]=0;c[a+44>>2]=-1;Gfa(a,d,-1.0,4);return}function Gfa(d,e,f,h){d=d|0;e=e|0;f=+f;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0;l=i;i=i+112|0;k=c[e>>2]|0;j=c[e+4>>2]|0;do if((k|0)!=(j|0)){if((j-k|0)==16){j=a[k>>0]|0;if(!(j&1))j=(j&255)>>>1;else j=c[k+4>>2]|0;if(!j)break};c[l+80>>2]=0;c[l+80+4>>2]=0;c[l+80+8>>2]=0;c[l+80+12>>2]=0;c[l+80+16>>2]=0;c[l+80+20>>2]=0;L7(e,l+80|0);_7(l,l+80|0);c[l+12>>2]=0;c[l+16>>2]=0;c[l+20>>2]=0;j=(c[l+80+16>>2]|0)-(c[l+80+12>>2]|0)|0;if(j>>3|0){if(j>>3>>>0>536870911)jzb(l+12|0);k=YAb(j)|0;c[l+16>>2]=k;c[l+12>>2]=k;c[l+20>>2]=k+(j>>3<<3);j=c[l+80+12>>2]|0;e=c[l+80+16>>2]|0;if((j|0)!=(e|0))do{o=j;n=c[o+4>>2]|0;m=k;c[m>>2]=c[o>>2];c[m+4>>2]=n;k=(c[l+16>>2]|0)+8|0;c[l+16>>2]=k;j=j+8|0}while((j|0)!=(e|0))}g[l+24>>2]=f;c[l+28>>2]=h;c[l+32>>2]=0;c[l+32+4>>2]=0;b[l+32+8>>1]=0;Sua(l+44|0);Cfa(d,l);j=c[l+12>>2]|0;if(j|0){k=c[l+16>>2]|0;if((k|0)!=(j|0))c[l+16>>2]=k+(~((k+-8-j|0)>>>3)<<3);oAb(j)}j=c[l>>2]|0;if(j|0){k=c[l+4>>2]|0;if((k|0)!=(j|0))c[l+4>>2]=k+(~((k+-4-j|0)>>>2)<<2);oAb(j)}j=c[l+80+12>>2]|0;if(j|0){k=c[l+80+16>>2]|0;if((k|0)!=(j|0))c[l+80+16>>2]=k+(~((k+-8-j|0)>>>3)<<3);oAb(j)}j=c[l+80>>2]|0;if(j|0){k=c[l+80+4>>2]|0;if((k|0)!=(j|0))c[l+80+4>>2]=k+(~((k+-4-j|0)>>>2)<<2);oAb(j)}i=l;return}while(0);Bfa(d);i=l;return}function Hfa(a,b){a=a|0;b=b|0;Gfa(a,b,-1.0,4);return}function Ifa(a){a=a|0;Bfa(a);return}function Jfa(a,b,c,d,e,f,g,h,i,j,k){a=a|0;b=b|0;c=+c;d=+d;e=+e;f=+f;g=+g;h=+h;i=+i;j=+j;k=+k;return Kfa(a,b,-1.0,4,c,d,e,f,g,h,i,j,k)|0}function Kfa(b,d,e,f,h,j,k,l,m,n,o,p,q){b=b|0;d=d|0;e=+e;f=f|0;h=+h;j=+j;k=+k;l=+l;m=+m;n=+n;o=+o;p=+p;q=+q;var r=0,s=0,t=0,u=0,v=0,w=0;t=i;i=i+144|0;c[t+120>>2]=0;c[t+120+4>>2]=0;c[t+120+8>>2]=0;c[t+120+12>>2]=0;c[t+120+16>>2]=0;c[t+120+20>>2]=0;L7(d,t+120|0);Uua(t+80|0,h,j,k,l,m,n,o,p,q);_7(t,t+120|0);c[t+12>>2]=0;c[t+16>>2]=0;c[t+20>>2]=0;d=(c[t+120+16>>2]|0)-(c[t+120+12>>2]|0)|0;if(d>>3|0){if(d>>3>>>0>536870911)jzb(t+12|0);r=YAb(d)|0;c[t+16>>2]=r;c[t+12>>2]=r;c[t+20>>2]=r+(d>>3<<3);d=c[t+120+12>>2]|0;s=c[t+120+16>>2]|0;if((d|0)!=(s|0))do{w=d;v=c[w+4>>2]|0;u=r;c[u>>2]=c[w>>2];c[u+4>>2]=v;r=(c[t+16>>2]|0)+8|0;c[t+16>>2]=r;d=d+8|0}while((d|0)!=(s|0))}g[t+24>>2]=e;c[t+28>>2]=f;c[t+32>>2]=0;c[t+36>>2]=0;a[t+40>>0]=1;a[t+41>>0]=1;d=t+44|0;r=t+80|0;s=d+36|0;do{c[d>>2]=c[r>>2];d=d+4|0;r=r+4|0}while((d|0)<(s|0));Cfa(b,t);d=c[t+12>>2]|0;if(d|0){r=c[t+16>>2]|0;if((r|0)!=(d|0))c[t+16>>2]=r+(~((r+-8-d|0)>>>3)<<3);oAb(d)}d=c[t>>2]|0;if(d|0){r=c[t+4>>2]|0;if((r|0)!=(d|0))c[t+4>>2]=r+(~((r+-4-d|0)>>>2)<<2);oAb(d)}s=(((c[b+32>>2]|0)-(c[b+28>>2]|0)|0)/80|0)+-1|0;d=c[t+120+12>>2]|0;if(d|0){r=c[t+120+16>>2]|0;if((r|0)!=(d|0))c[t+120+16>>2]=r+(~((r+-8-d|0)>>>3)<<3);oAb(d)}d=c[t+120>>2]|0;if(!d){i=t;return s|0}r=c[t+120+4>>2]|0;if((r|0)!=(d|0))c[t+120+4>>2]=r+(~((r+-4-d|0)>>>2)<<2);oAb(d);i=t;return s|0}function Lfa(a,b){a=a|0;b=b|0;var d=0;if(b|0)Hi[c[(c[b>>2]|0)+8>>2]&1023](b);d=c[a+8>>2]|0;if(d|0)Hi[c[(c[d>>2]|0)+12>>2]&1023](d);c[a+8>>2]=b;c[a+44>>2]=-1;zfa(a);return}function Mfa(a){a=a|0;return c[a+8>>2]|0}function Nfa(a,b){a=a|0;b=b|0;var d=0,e=0;if((b|0)<0){e=c[a+32>>2]|0;d=c[a+28>>2]|0;b=(((e-d|0)/80|0)+-1|0)<0?0:((e-d|0)/80|0)+-1|0;a=e}else{d=c[a+28>>2]|0;a=c[a+32>>2]|0}if((b|0)>=((a-d|0)/80|0|0)){e=0;return e|0}e=c[d+(b*80|0)+32>>2]|0;return e|0}function Ofa(a,b){a=a|0;b=b|0;var d=0,e=0;if((b|0)<0){e=c[a+32>>2]|0;d=c[a+28>>2]|0;b=(((e-d|0)/80|0)+-1|0)<0?0:((e-d|0)/80|0)+-1|0;a=e}else{d=c[a+28>>2]|0;a=c[a+32>>2]|0}if((b|0)>=((a-d|0)/80|0|0)){e=0;return e|0}e=c[d+(b*80|0)+36>>2]|0;return e|0}function Pfa(a){a=a|0;var b=0;c[a>>2]=24212;c[a+8>>2]=24248;oda(631040,c[a+20>>2]|0);c[a+20>>2]=0;oda(631040,c[a+24>>2]|0);c[a+24>>2]=0;oda(631040,c[a+28>>2]|0);c[a+28>>2]=0;b=c[a+16>>2]|0;if(b|0)Hi[c[(c[b>>2]|0)+12>>2]&1023](b);b=c[a+12>>2]|0;if(!b){Cga(a+8|0);return}Hi[c[(c[b>>2]|0)+12>>2]&1023](b);Cga(a+8|0);return}function Qfa(a){a=a|0;Pfa(a);oAb(a);return}function Rfa(a,b,d,e,f,g,h,j,k,l){a=a|0;b=+b;d=+d;e=+e;f=+f;g=+g;h=+h;j=+j;k=+k;l=+l;var m=0,n=0,o=0;o=i;i=i+64|0;Sfa(a);m=c[157830]|0;n=(m|0)==(c[157831]|0);if(n){zea(c[157832]|0,0);m=c[157832]|0}Rea(m,c[a+20>>2]|0,c[a+24>>2]|0,c[a+28>>2]|0);Xca(631040);m=_ca(631040)|0;Hua(o,b,d,e,f,g,h,j,k,l);Kua(m,o);Uca(631040,3);Ii[c[163985]&63](0,2,5126,0,20,a+32|0);Ii[c[163985]&63](1,2,5126,0,20,a+40|0);$ca(631040);ada(631040,5,0,4);if(!n){Zca(631040);i=o;return}zea(c[157831]|0,0);Zca(631040);i=o;return}function Sfa(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0;b=c[a+12>>2]|0;b=vi[c[(c[b>>2]|0)+28>>2]&2047](b)|0;d=c[a+12>>2]|0;Hi[c[(c[d>>2]|0)+16>>2]&1023](d);if(!b)return;d=c[a+12>>2]|0;d=vi[c[(c[d>>2]|0)+20>>2]&2047](d)|0;i=c[d>>2]|0;e=c[d+12>>2]|0;h=c[d+4>>2]|0;b=c[d+16>>2]|0;g=c[d+8>>2]|0;f=c[d+20>>2]|0;d=c[d+24>>2]|0;Wca(631040,c[a+20>>2]|0);Vi[c[164235]&15](3553,0,0,0,i,h,6409,5121,g);Wca(631040,c[a+24>>2]|0);Vi[c[164235]&15](3553,0,0,0,e,b,6409,5121,f);Wca(631040,c[a+28>>2]|0);Vi[c[164235]&15](3553,0,0,0,e,b,6409,5121,d);return}function Tfa(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0;b=i;i=i+16|0;si[c[163965]&511](3,a+20|0);d=c[a+12>>2]|0;d=vi[c[(c[d>>2]|0)+20>>2]&2047](d)|0;k=c[d>>2]|0;f=c[d+12>>2]|0;j=c[d+4>>2]|0;e=c[d+16>>2]|0;h=c[d+8>>2]|0;g=c[d+20>>2]|0;d=c[d+24>>2]|0;c[b>>2]=0;c[b+4>>2]=0;Wca(631040,c[a+20>>2]|0);pda(631040,a+112|0);qda(631040,b);Vi[c[164645]&15](3553,0,6409,k,j,0,6409,5121,h);Wca(631040,c[a+24>>2]|0);pda(631040,a+112|0);qda(631040,b);Vi[c[164645]&15](3553,0,6409,f,e,0,6409,5121,g);Wca(631040,c[a+28>>2]|0);pda(631040,a+112|0);qda(631040,b);Vi[c[164645]&15](3553,0,6409,f,e,0,6409,5121,d);i=b;return 1}function Ufa(a){a=a|0;oda(631040,c[a+20>>2]|0);c[a+20>>2]=0;oda(631040,c[a+24>>2]|0);c[a+24>>2]=0;oda(631040,c[a+28>>2]|0);c[a+28>>2]=0;return}function Vfa(a){a=a|0;Pfa(a+-8|0);return}function Wfa(a){a=a|0;Pfa(a+-8|0);oAb(a+-8|0);return}function Xfa(a){a=a|0;Tfa(a+-8|0)|0;return 1}function Yfa(a){a=a|0;oda(631040,c[a+-8+20>>2]|0);c[a+-8+20>>2]=0;oda(631040,c[a+-8+24>>2]|0);c[a+-8+24>>2]=0;oda(631040,c[a+-8+28>>2]|0);c[a+-8+28>>2]=0;return}function Zfa(a,b){a=a|0;b=b|0;var d=0;Jj(a);c[a>>2]=24272;Gga(a+8|0);c[a>>2]=24212;c[a+8>>2]=24248;c[a+12>>2]=b;if(b|0)Hi[c[(c[b>>2]|0)+8>>2]&1023](b);c[a+16>>2]=0;d=TC()|0;c[a+112>>2]=c[d>>2];c[a+112+4>>2]=c[d+4>>2];c[a+112+8>>2]=c[d+8>>2];c[a+112+12>>2]=c[d+12>>2];c[a+120>>2]=0;Hi[c[(c[b>>2]|0)+16>>2]&1023](b);c[a+48>>2]=-1;c[a+68>>2]=-1;c[a+88>>2]=-1;c[a+108>>2]=-1;g[a+32>>2]=0.0;g[a+36>>2]=0.0;g[a+52>>2]=0.0;g[a+56>>2]=+(vi[c[(c[b>>2]|0)+36>>2]&2047](b)|0);g[a+72>>2]=+(vi[c[(c[b>>2]|0)+32>>2]&2047](b)|0);g[a+76>>2]=0.0;g[a+92>>2]=+(vi[c[(c[b>>2]|0)+32>>2]&2047](b)|0);g[a+96>>2]=+(vi[c[(c[b>>2]|0)+36>>2]&2047](b)|0);g[a+40>>2]=0.0;g[a+44>>2]=0.0;g[a+60>>2]=0.0;g[a+64>>2]=1.0;g[a+80>>2]=1.0;g[a+84>>2]=0.0;g[a+100>>2]=1.0;g[a+104>>2]=1.0;vi[c[(c[a>>2]|0)+20>>2]&2047](a)|0;return}function _fa(a){a=a|0;oAb(a);return}function $fa(a){a=a|0;return c[a+12>>2]|0}function aga(a){a=a|0;return c[a+16>>2]|0}function bga(a,b){a=a|0;b=b|0;var d=0;if(b|0){Hi[c[(c[b>>2]|0)+8>>2]&1023](b);Hi[c[(c[b>>2]|0)+8>>2]&1023](b)}d=c[a+16>>2]|0;if(d|0)Hi[c[(c[d>>2]|0)+12>>2]&1023](d);c[a+16>>2]=b;if(!b)return;Hi[c[(c[b>>2]|0)+12>>2]&1023](b);return}function cga(a){a=a|0;a=c[a+12>>2]|0;return vi[c[(c[a>>2]|0)+32>>2]&2047](a)|0}function dga(a){a=a|0;a=c[a+12>>2]|0;return vi[c[(c[a>>2]|0)+36>>2]&2047](a)|0}function ega(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;if(VC(b,0)|0){c[a+112>>2]=c[b>>2];c[a+112+4>>2]=c[b+4>>2];c[a+112+8>>2]=c[b+8>>2];c[a+112+12>>2]=c[b+12>>2];Wca(631040,c[a+20>>2]|0);pda(631040,a+112|0);Wca(631040,c[a+24>>2]|0);pda(631040,a+112|0);Wca(631040,c[a+28>>2]|0);pda(631040,a+112|0);i=d;return}else{a=nf(16)|0;ds(a,436938,d);zc(a|0,96,27)}}function fga(a){a=a|0;return a+112|0}function gga(a,b){a=a|0;b=b|0;return hga(a,b,17)|0}function hga(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((qDa(a,b)|0)!=7){c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0}e=EDa(a,b)|0;if(c[(c[155773]|0)+(c[e>>2]<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0){d=e+4|0;d=c[d>>2]|0;i=f;return d|0}c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0;d=e+4|0;d=c[d>>2]|0;i=f;return d|0}function iga(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;g=i;i=i+16|0;d=hga(a,1,17)|0;YGa(a,2,6);f=c[155676]|0;if(f|0){uaa(g,f);b=c[g>>2]|0;e=c[g+4>>2]|0;if((b|0)!=(e|0))do{h=c[b>>2]|0;Hi[c[(c[h>>2]|0)+8>>2]&1023](h);b=b+4|0}while((b|0)!=(e|0));f9(f,d);lDa(a,2);e=eEa(a,0,0,0)|0;e9(f,g);b=c[g>>2]|0;d=c[g+4>>2]|0;if((b|0)!=(d|0))do{h=c[b>>2]|0;Hi[c[(c[h>>2]|0)+12>>2]&1023](h);b=b+4|0}while((b|0)!=(d|0));if(!e){f=1;b=0}else{f=0;b=kEa(a)|0}d=c[g>>2]|0;if(d|0){e=c[g+4>>2]|0;if((e|0)!=(d|0))c[g+4>>2]=e+(~((e+-4-d|0)>>>2)<<2);oAb(d)}if(!f){h=b;i=g;return h|0}}h=0;i=g;return h|0}function jga(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;b=hga(a,1,17)|0;g=Yw(a,58)|0;f=~~+$Ga(a,2,0.0);e=~~+$Ga(a,3,0.0);d=~~+$Ga(a,4,+(vi[c[(c[b>>2]|0)+24>>2]&2047](b)|0));b=i7(b,g,f,e,d,~~+$Ga(a,5,+(vi[c[(c[b>>2]|0)+28>>2]&2047](b)|0)))|0;Gs(a,22,b);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);return 1}function kga(a){a=a|0;var b=0;b=i;i=i+16|0;if(m7(c[(hga(a,1,17)|0)+144>>2]|0,b+4|0)|0){LDa(a,c[b+4>>2]|0);a=1;i=b;return a|0}else{a=PGa(a,436962,b)|0;i=b;return a|0}return 0}function lga(a){a=a|0;JDa(a,c[(hga(a,1,17)|0)+168>>2]|0);return 1}function mga(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=15104;c[b+4>>2]=24292;c[b+8>>2]=0;a=xs(a,17,436985,b)|0;i=b;return a|0}function nga(a,b){a=a|0;b=b|0;return Cw(a,b,14)|0}function oga(a){a=a|0;IDa(a,+N7(Cw(a,1,14)|0));return 1}function pga(a){a=a|0;var b=0,c=0,d=0;b=i;i=i+16|0;c=Cw(a,1,14)|0;d=UGa(a,2,0)|0;Iqb(b,d,rnb(d)|0);JDa(a,h8(c,b)|0);Mqb(b);i=b;return 1}function qga(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0.0,k=0;h=i;i=i+48|0;d=Cw(b,1,14)|0;c[h+24>>2]=0;c[h+24+4>>2]=0;c[h+24+8>>2]=0;Sz(b,2,h+24|0);j=+_Ga(b,3);c[h+12>>2]=0;g=h+12+4|0;c[g>>2]=0;c[h+12+8>>2]=0;c[h>>2]=0;c[h+4>>2]=0;c[h+8>>2]=0;m8(d,h+24|0,j,h+12|0,h);d=c[h>>2]|0;f=c[h+4>>2]|0;if((d|0)==(f|0))d=0;else{e=d;d=0;do{k=c[e>>2]|0;d=(d|0)<(k|0)?k:d;e=e+4|0}while((e|0)!=(f|0))}JDa(b,d);WDa(b,((c[g>>2]|0)-(c[h+12>>2]|0)|0)/12|0,0);f=0;while(1){d=c[h+12>>2]|0;if((f|0)>=(((c[g>>2]|0)-d|0)/12|0|0))break;e=d+(f*12|0)|0;if(!(a[e>>0]&1))d=e+1|0;else d=c[d+(f*12|0)+8>>2]|0;LDa(b,d);k=f+1|0;aEa(b,-2,k);f=k}e=c[h>>2]|0;if(e){d=c[h+4>>2]|0;if((d|0)!=(e|0))c[h+4>>2]=d+(~((d+-4-e|0)>>>2)<<2);oAb(e);d=c[h+12>>2]|0}if(d|0){e=c[g>>2]|0;if((e|0)!=(d|0)){do{k=e+-12|0;c[g>>2]=k;Mqb(k);e=c[g>>2]|0}while((e|0)!=(d|0));d=c[h+12>>2]|0}oAb(d)}d=c[h+24>>2]|0;if(!d){i=h;return 2}e=c[h+24+4>>2]|0;if((e|0)!=(d|0)){do{k=e+-16|0;c[h+24+4>>2]=k;Mqb(k);e=c[h+24+4>>2]|0}while((e|0)!=(d|0));d=c[h+24>>2]|0}oAb(d);i=h;return 2}function rga(a){a=a|0;var b=0;b=Cw(a,1,14)|0;n8(b,+_Ga(a,2));return 0}function sga(a){a=a|0;IDa(a,+X7(Cw(a,1,14)|0));return 1}function tga(a){a=a|0;var b=0,d=0,e=0,f=0;f=i;i=i+32|0;b=Cw(a,1,14)|0;d=p8(b)|0;c[f+16>>2]=c[d>>2];c[f+16+4>>2]=c[d+4>>2];c[f+16+8>>2]=c[d+8>>2];c[f+16+12>>2]=c[d+12>>2];d=UGa(a,2,0)|0;e=TGa(a,3,d,0)|0;if(!(WC(d,f+16|0)|0)){c[f>>2]=d;a=PGa(a,437032,f)|0;i=f;return a|0}if(WC(e,f+16+4|0)|0){g[f+16+12>>2]=+$Ga(a,4,1.0);o8(b,f+16|0);a=0;i=f;return a|0}else{c[f+8>>2]=e;a=PGa(a,437032,f+8|0)|0;i=f;return a|0}return 0}function uga(a){a=a|0;var b=0,d=0.0,e=0,f=0;b=i;i=i+16|0;f=p8(Cw(a,1,14)|0)|0;e=c[f+4>>2]|0;d=+g[f+12>>2];XC(c[f>>2]|0,b+4|0)|0;XC(e,b)|0;LDa(a,c[b+4>>2]|0);LDa(a,c[b>>2]|0);IDa(a,d);i=b;return 3}function vga(a){a=a|0;IDa(a,+(q8(Cw(a,1,14)|0)|0));return 1}function wga(a){a=a|0;IDa(a,+(r8(Cw(a,1,14)|0)|0));return 1}function xga(a){a=a|0;IDa(a,+W7(Cw(a,1,14)|0));return 1}function yga(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=i;i=i+16|0;c=Cw(a,1,14)|0;d=(kDa(a)|0)+-1|0;d=(d|0)<1?1:d;a:do if((d|0)>0){e=2;while(1){if((qDa(a,e)|0)==4){js(f,a,e);b=t8(c,f)|0;Mqb(f);if(!b){b=0;break a}}else{b=s8(c,~~+_Ga(a,e)>>>0)|0;if(!b){b=0;break a}}if((e|0)>(d|0)){b=b&1;break}else e=e+1|0}}else b=0;while(0);gs(a,b<<24>>24!=0);i=f;return 1}function zga(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;h=i;i=i+16|0;b=Cw(a,1,14)|0;c[h+4>>2]=0;g=h+4+4|0;c[g>>2]=0;c[h+4+8>>2]=0;f=2;while(1){if((f|0)>(kDa(a)|0))break;d=Cw(a,f,14)|0;c[h>>2]=d;e=c[g>>2]|0;if(e>>>0<(c[h+4+8>>2]|0)>>>0){c[e>>2]=d;c[g>>2]=(c[g>>2]|0)+4}else Aga(h+4|0,h);f=f+1|0}u8(b,h+4|0);d=c[h+4>>2]|0;if(!d){i=h;return 0}b=c[g>>2]|0;if((b|0)!=(d|0))c[g>>2]=b+(~((b+-4-d|0)>>>2)<<2);oAb(d);i=h;return 0}function Aga(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=c[a>>2]|0;d=((c[a+4>>2]|0)-j>>2)+1|0;if(d>>>0>1073741823)jzb(a);e=(c[a+8>>2]|0)-j|0;if(e>>2>>>0<536870911){d=e>>1>>>0>>0?d:e>>1;f=c[a+4>>2]|0;if(!d){i=0;g=0;e=f-j>>2;d=f}else{h=f;e=f-j>>2;k=6}}else{e=c[a+4>>2]|0;d=1073741823;h=e;e=e-j>>2;k=6}if((k|0)==6){i=d;g=YAb(d<<2)|0;d=h}k=g+(e<<2)|0;c[k>>2]=c[b>>2];b=d-j|0;mBb(k+(0-(b>>2)<<2)|0,j|0,b|0)|0;c[a>>2]=k+(0-(b>>2)<<2);c[a+4>>2]=k+4;c[a+8>>2]=g+(i<<2);if(!j)return;oAb(j);return}function Bga(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=24332;c[b+4>>2]=0;a=xs(a,14,437056,b)|0;i=b;return a|0}function Cga(a){a=a|0;var b=0;b=i;i=i+16|0;c[a>>2]=24444;c[b>>2]=a;Dga(632e3,b);i=b;return}function Dga(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+16|0;c[m>>2]=m;c[m+4>>2]=m;c[m+8>>2]=0;f=c[a+4>>2]|0;if((f|0)==(a|0)){i=m;return}if((m|0)==(a|0)){h=f;g=f;while(1){e=c[h+8>>2]|0;d=c[g+4>>2]|0;if((e|0)==(c[b>>2]|0)){a:do if((d|0)==(a|0)){f=a;e=0}else{f=d;while(1){if((c[f+8>>2]|0)!=(e|0)){e=1;break a}d=c[d+4>>2]|0;f=d;if((f|0)==(a|0)){f=a;e=0;break}}}while(0);if((h|0)!=(f|0)){l=c[d>>2]|0;k=c[g>>2]|0;c[k+4>>2]=c[l+4>>2];c[c[l+4>>2]>>2]=k;k=c[m>>2]|0;c[k+4>>2]=h;c[g>>2]=k;c[m>>2]=l;c[l+4>>2]=a}if(e)d=c[d+4>>2]|0}h=d;if((h|0)==(a|0))break;else g=d}i=m;return}e=m;l=f;d=0;k=f;while(1){g=c[l+8>>2]|0;f=c[k+4>>2]|0;if((g|0)==(c[b>>2]|0)){b:do if((f|0)==(a|0)){h=a;j=0}else{h=f;while(1){if((c[h+8>>2]|0)!=(g|0)){j=1;break b}f=c[f+4>>2]|0;h=f;if((h|0)==(a|0)){h=a;j=0;break}}}while(0);if((l|0)!=(h|0)){g=l;e=0;do{e=e+1|0;g=c[g+4>>2]|0}while((g|0)!=(h|0));c[a+8>>2]=(c[a+8>>2]|0)-e;d=d+e|0;c[m+8>>2]=d;e=c[f>>2]|0;h=c[k>>2]|0;c[h+4>>2]=c[e+4>>2];c[c[e+4>>2]>>2]=h;h=c[m>>2]|0;c[h+4>>2]=l;c[k>>2]=h;c[m>>2]=e;c[e+4>>2]=m}if(j)f=c[f+4>>2]|0}l=f;if((l|0)==(a|0))break;else k=f}if(!d){i=m;return}d=c[m+4>>2]|0;a=c[d>>2]|0;c[a+4>>2]=c[e+4>>2];c[c[e+4>>2]>>2]=a;c[m+8>>2]=0;if((d|0)==(m|0)){i=m;return}do{a=d;d=c[d+4>>2]|0;oAb(a)}while((d|0)!=(m|0));i=m;return}function Ega(a){a=a|0;var b=0;b=i;i=i+16|0;c[a>>2]=24444;c[b>>2]=a;Dga(632e3,b);oAb(a);i=b;return}function Fga(){c[158e3]=632e3;c[158001]=632e3;c[158002]=0;return}function Gga(a){a=a|0;var b=0;c[a>>2]=24444;b=YAb(12)|0;c[b+8>>2]=a;c[b+4>>2]=632e3;a=c[158e3]|0;c[b>>2]=a;c[a+4>>2]=b;c[158e3]=b;c[158002]=(c[158002]|0)+1;return}function Hga(){var a=0,b=0,d=0;a=c[158001]|0;if((a|0)==632e3){d=1;return d|0}else{b=a;d=a;a=1}do{b=c[b+8>>2]|0;if(a)a=vi[c[(c[b>>2]|0)+8>>2]&2047](b)|0;else a=0;d=c[d+4>>2]|0;b=d}while((b|0)!=632e3);return a|0}function Iga(){var a=0,b=0,d=0;a=c[158001]|0;if((a|0)==632e3)return;else b=a;do{d=c[b+8>>2]|0;Hi[c[(c[d>>2]|0)+12>>2]&1023](d);a=c[a+4>>2]|0;b=a}while((b|0)!=632e3);return}function Jga(a){a=a|0;var b=0,d=0,e=0;c[a>>2]=24468;b=c[a+12>>2]|0;if((b|0)!=(a+8|0)){d=b;do{e=c[d+8>>2]|0;Hi[c[(c[e>>2]|0)+12>>2]&1023](e);b=c[b+4>>2]|0;d=b}while((d|0)!=(a+8|0))}b=c[a+24>>2]|0;if((b|0)!=(a+20|0)){d=b;do{e=c[d+8>>2]|0;Hi[c[(c[e>>2]|0)+12>>2]&1023](e);b=c[b+4>>2]|0;d=b}while((d|0)!=(a+20|0))}if(c[a+28>>2]|0){b=c[a+24>>2]|0;e=(c[a+20>>2]|0)+4|0;d=c[b>>2]|0;c[d+4>>2]=c[e>>2];c[c[e>>2]>>2]=d;c[a+28>>2]=0;if((b|0)!=(a+20|0))do{e=b;b=c[b+4>>2]|0;oAb(e)}while((b|0)!=(a+20|0))}if(!(c[a+16>>2]|0)){wj(a);return}b=c[a+12>>2]|0;e=(c[a+8>>2]|0)+4|0;d=c[b>>2]|0;c[d+4>>2]=c[e>>2];c[c[e>>2]>>2]=d;c[a+16>>2]=0;if((b|0)==(a+8|0)){wj(a);return}do{e=b;b=c[b+4>>2]|0;oAb(e)}while((b|0)!=(a+8|0));wj(a);return}function Kga(a){a=a|0;Jga(a);oAb(a);return}function Lga(a){a=a|0;return 5}function Mga(a){a=a|0;return 437265}function Nga(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0;j=i;i=i+16|0;h=YAb(40)|0;c[j>>2]=j;c[j+4>>2]=j;c[j+8>>2]=0;d=c[a+12>>2]|0;if((d|0)!=(a+8|0)){e=d;f=j;g=0;do{k=f;f=YAb(12)|0;c[f+8>>2]=c[e+8>>2];c[f+4>>2]=j;c[f>>2]=k;c[k+4>>2]=f;c[j>>2]=f;g=g+1|0;c[j+8>>2]=g;d=c[d+4>>2]|0;e=d}while((e|0)!=(a+8|0))}Yga(h,j,b);if(!(c[j+8>>2]|0)){i=j;return h|0}d=c[j+4>>2]|0;k=(c[j>>2]|0)+4|0;a=c[d>>2]|0;c[a+4>>2]=c[k>>2];c[c[k>>2]>>2]=a;c[j+8>>2]=0;if((d|0)==(j|0)){i=j;return h|0}do{k=d;d=c[d+4>>2]|0;oAb(k)}while((d|0)!=(j|0));i=j;return h|0}function Oga(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;k=i;i=i+16|0;j=YAb(40)|0;c[k>>2]=k;c[k+4>>2]=k;c[k+8>>2]=0;e=c[a+12>>2]|0;if((e|0)!=(a+8|0)){f=e;g=k;h=0;do{l=g;g=YAb(12)|0;c[g+8>>2]=c[f+8>>2];c[g+4>>2]=k;c[g>>2]=l;c[l+4>>2]=g;c[k>>2]=g;h=h+1|0;c[k+8>>2]=h;e=c[e+4>>2]|0;f=e}while((f|0)!=(a+8|0))}_ga(j,k,b,d);if(!(c[k+8>>2]|0)){i=k;return j|0}e=c[k+4>>2]|0;l=(c[k>>2]|0)+4|0;b=c[e>>2]|0;c[b+4>>2]=c[l>>2];c[c[l>>2]>>2]=b;c[k+8>>2]=0;if((e|0)==(k|0)){i=k;return j|0}do{l=e;e=c[e+4>>2]|0;oAb(l)}while((e|0)!=(k|0));i=k;return j|0}function Pga(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0;m=i;i=i+16|0;l=YAb(40)|0;c[m>>2]=m;c[m+4>>2]=m;c[m+8>>2]=0;g=c[a+12>>2]|0;if((g|0)!=(a+8|0)){h=g;j=m;k=0;do{n=j;j=YAb(12)|0;c[j+8>>2]=c[h+8>>2];c[j+4>>2]=m;c[j>>2]=n;c[n+4>>2]=j;c[m>>2]=j;k=k+1|0;c[m+8>>2]=k;g=c[g+4>>2]|0;h=g}while((h|0)!=(a+8|0))}aha(l,m,b,d,e,f);if(!(c[m+8>>2]|0)){i=m;return l|0}g=c[m+4>>2]|0;n=(c[m>>2]|0)+4|0;b=c[g>>2]|0;c[b+4>>2]=c[n>>2];c[c[n>>2]>>2]=b;c[m+8>>2]=0;if((g|0)==(m|0)){i=m;return l|0}do{n=g;g=c[g+4>>2]|0;oAb(n)}while((g|0)!=(m|0));i=m;return l|0}function Qga(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0;j=i;i=i+16|0;h=YAb(36)|0;c[j>>2]=j;c[j+4>>2]=j;c[j+8>>2]=0;d=c[a+24>>2]|0;if((d|0)!=(a+20|0)){e=d;f=j;g=0;do{k=f;f=YAb(12)|0;c[f+8>>2]=c[e+8>>2];c[f+4>>2]=j;c[f>>2]=k;c[k+4>>2]=f;c[j>>2]=f;g=g+1|0;c[j+8>>2]=g;d=c[d+4>>2]|0;e=d}while((e|0)!=(a+20|0))}tva(h,j,b);if(!(c[j+8>>2]|0)){i=j;return h|0}d=c[j+4>>2]|0;k=(c[j>>2]|0)+4|0;a=c[d>>2]|0;c[a+4>>2]=c[k>>2];c[c[k>>2]>>2]=a;c[j+8>>2]=0;if((d|0)==(j|0)){i=j;return h|0}do{k=d;d=c[d+4>>2]|0;oAb(k)}while((d|0)!=(j|0));i=j;return h|0}function Rga(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[a+24>>2]|0;if((d|0)==(a+20|0)){a=0;return a|0}else e=d;while(1){e=c[e+8>>2]|0;if(Xi[c[(c[e>>2]|0)+16>>2]&511](e,b)|0){d=1;e=4;break}d=c[d+4>>2]|0;e=d;if((e|0)==(a+20|0)){d=0;e=4;break}}if((e|0)==4)return d|0;return 0}function Sga(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;g=i;i=i+48|0;Jj(a);c[a>>2]=24468;c[a+8>>2]=a+8;c[a+12>>2]=a+8;c[a+16>>2]=0;c[a+20>>2]=a+20;c[a+24>>2]=a+20;c[a+28>>2]=0;b=YAb(8)|0;Eva(b);c[b>>2]=24620;c[g+24>>2]=b;b=YAb(8)|0;Eva(b);c[b>>2]=24696;c[g+24+4>>2]=b;b=c[a+12>>2]|0;if((b|0)==(a+8|0))d=g+24|0;else{c[b+8>>2]=c[g+24>>2];b=c[b+4>>2]|0;if((b|0)==(a+8|0))d=g+24+4|0;else{c[b+8>>2]=c[g+24+4>>2];d=g+24+8|0;b=c[b+4>>2]|0}}e=b;if((e|0)==(a+8|0)){c[g+20>>2]=a+8;c[g+32>>2]=c[g+20>>2];Tga(a+8|0,g+32|0,d,g+24+8|0,0)|0}else{d=(c[a+8>>2]|0)+4|0;b=c[b>>2]|0;c[b+4>>2]=c[d>>2];c[c[d>>2]>>2]=b;d=e;b=e;do{d=c[d+4>>2]|0;c[a+16>>2]=(c[a+16>>2]|0)+-1;oAb(b);b=d}while((b|0)!=(a+8|0))}b=YAb(8)|0;Jj(b);c[b>>2]=33808;c[g>>2]=b;d=YAb(8)|0;Jj(d);c[d>>2]=24664;c[g+4>>2]=d;d=YAb(8)|0;Jj(d);c[d>>2]=24556;c[g+8>>2]=d;d=YAb(8)|0;Jj(d);c[d>>2]=24588;c[g+12>>2]=d;d=YAb(8)|0;Jj(d);c[d>>2]=33744;c[g+16>>2]=d;d=c[a+24>>2]|0;if((d|0)==(a+20|0)){f=g;b=d}else{c[d+8>>2]=b;b=c[d+4>>2]|0;if((b|0)==(a+20|0))f=g+4|0;else{c[b+8>>2]=c[g+4>>2];b=c[b+4>>2]|0;if((b|0)==(a+20|0))f=g+8|0;else{c[b+8>>2]=c[g+8>>2];b=c[b+4>>2]|0;if((b|0)==(a+20|0))f=g+12|0;else{c[b+8>>2]=c[g+12>>2];b=c[b+4>>2]|0;if((b|0)==(a+20|0))f=g+16|0;else{c[b+8>>2]=c[g+16>>2];f=g+20|0;b=c[b+4>>2]|0}}}}}e=b;if((e|0)==(a+20|0)){c[g+20>>2]=a+20;c[g+32>>2]=c[g+20>>2];Uga(a+20|0,g+32|0,f,g+20|0,0)|0;i=g;return}d=(c[a+20>>2]|0)+4|0;b=c[b>>2]|0;c[b+4>>2]=c[d>>2];c[c[d>>2]>>2]=b;d=e;b=e;do{d=c[d+4>>2]|0;c[a+28>>2]=(c[a+28>>2]|0)+-1;oAb(b);b=d}while((b|0)!=(a+20|0));i=g;return}function Tga(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;h=c[b>>2]|0;if((d|0)==(e|0)){a=h;return a|0}i=YAb(12)|0;c[i>>2]=0;c[i+8>>2]=c[d>>2];if((d+4|0)==(e|0)){b=1;f=i}else{g=d+4|0;b=1;d=i;while(1){f=YAb(12)|0;c[f+8>>2]=c[g>>2];c[d+4>>2]=f;c[f>>2]=d;b=b+1|0;g=g+4|0;if((g|0)==(e|0))break;else d=f}}e=f;g=c[h>>2]|0;c[g+4>>2]=i;c[i>>2]=g;c[h>>2]=e;c[e+4>>2]=h;c[a+8>>2]=(c[a+8>>2]|0)+b;a=i;return a|0}function Uga(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;h=c[b>>2]|0;if((d|0)==(e|0)){a=h;return a|0}i=YAb(12)|0;c[i>>2]=0;c[i+8>>2]=c[d>>2];if((d+4|0)==(e|0)){b=1;f=i}else{g=d+4|0;b=1;d=i;while(1){f=YAb(12)|0;c[f+8>>2]=c[g>>2];c[d+4>>2]=f;c[f>>2]=d;b=b+1|0;g=g+4|0;if((g|0)==(e|0))break;else d=f}}e=f;g=c[h>>2]|0;c[g+4>>2]=i;c[i>>2]=g;c[h>>2]=e;c[e+4>>2]=h;c[a+8>>2]=(c[a+8>>2]|0)+b;a=i;return a|0}function Vga(a){a=a|0;var b=0,d=0,e=0;c[a>>2]=24520;b=c[a+36>>2]|0;if(!b){b=c[a+16>>2]|0;if(b|0)aBb(b)}else si[c[(c[b>>2]|0)+32>>2]&511](b,c[a+16>>2]|0);b=c[a+28>>2]|0;if((b|0)!=(a+24|0)){d=b;do{e=c[d+8>>2]|0;Hi[c[(c[e>>2]|0)+12>>2]&1023](e);b=c[b+4>>2]|0;d=b}while((d|0)!=(a+24|0))}if(!(c[a+32>>2]|0)){Rha(a);return}b=c[a+28>>2]|0;e=(c[a+24>>2]|0)+4|0;d=c[b>>2]|0;c[d+4>>2]=c[e>>2];c[c[e>>2]>>2]=d;c[a+32>>2]=0;if((b|0)==(a+24|0)){Rha(a);return}do{e=b;b=c[b+4>>2]|0;oAb(e)}while((b|0)!=(a+24|0));Rha(a);return}function Wga(a){a=a|0;Vga(a);oAb(a);return}function Xga(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+48|0;c[h+32>>2]=0;c[h+32+4>>2]=0;c[h+32+8>>2]=0;e=c[a+8>>2]|0;c[h+32>>2]=e;g=c[a+12>>2]|0;c[h+32+4>>2]=g;c[h+32+8>>2]=_(g<<2,e)|0;c[h+32+12>>2]=c[a+16>>2];e=c[a+28>>2]|0;if((e|0)!=(a+24|0)){f=e;g=e;while(1){e=c[f+8>>2]|0;if(Xi[c[(c[e>>2]|0)+20>>2]&511](e,b)|0)break;g=c[g+4>>2]|0;f=g;if((f|0)==(a+24|0)){e=0;break}}if(e|0){QO(h+24|0,bP(a+20|0)|0);kj[c[(c[e>>2]|0)+28>>2]&127](h,e,h+32|0,b);f=c[h>>2]|0;g=c[h+4>>2]|0;SO(h+24|0);if(g|0){b=YAb(48)|0;Iqb(h+12|0,d,rnb(d)|0);su(b,f,0,h+12|0);Mqb(h+12|0);mBb(vi[c[(c[b>>2]|0)+16>>2]&2047](b)|0,g|0,f|0)|0;si[c[(c[e>>2]|0)+32>>2]&511](e,g);i=h;return b|0}}}c[h+24>>2]=439634;fia(b,h+24|0)|0;b=nf(16)|0;c[h+8>>2]=c[h+24>>2];ds(b,437314,h+8|0);zc(b|0,96,27);return 0}function Yga(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;Wha(a);c[a>>2]=24520;c[a+24>>2]=a+24;c[a+28>>2]=a+24;c[a+32>>2]=0;e=c[b+4>>2]|0;if((e|0)==(b|0)){g=a+24|0;f=a+24|0}else{f=a+24|0;g=0;h=e;do{i=f;f=YAb(12)|0;c[f+8>>2]=c[h+8>>2];c[f+4>>2]=a+24;c[f>>2]=i;c[i+4>>2]=f;c[a+24>>2]=f;g=g+1|0;c[a+32>>2]=g;e=c[e+4>>2]|0;h=e}while((h|0)!=(b|0));g=a+24|0;f=c[a+28>>2]|0}c[a+36>>2]=0;e=f;if((e|0)==(g|0)){Zga(a,d);return}do{i=c[e+8>>2]|0;Hi[c[(c[i>>2]|0)+8>>2]&1023](i);f=c[f+4>>2]|0;e=f}while((e|0)!=(g|0));Zga(a,d);return}function Zga(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0;k=i;i=i+32|0;e=c[b+28>>2]|0;if((e|0)!=(b+24|0)){f=e;g=e;while(1){e=c[f+8>>2]|0;if(Xi[c[(c[e>>2]|0)+16>>2]&511](e,d)|0)break;g=c[g+4>>2]|0;f=g;if((f|0)==(b+24|0)){e=0;break}}if(e|0){$i[c[(c[e>>2]|0)+24>>2]&255](k+16|0,e,d);g=c[k+16>>2]|0;h=c[k+16+4>>2]|0;j=c[k+16+12>>2]|0;if(j|0){d=(c[k+16+8>>2]|0)==(_(h<<2,g)|0);f=c[b+36>>2]|0;if(!d)if(f|0){si[c[(c[f>>2]|0)+32>>2]&511](f,j);b=nf(16)|0;ds(b,437420,k+8|0);zc(b|0,96,27)}else{aBb(j);b=nf(16)|0;ds(b,437420,k+8|0);zc(b|0,96,27)}if(f|0){si[c[(c[f>>2]|0)+32>>2]&511](f,c[b+16>>2]|0);d=b+16|0;f=b+8|0;c[f>>2]=g;g=b+12|0;c[g>>2]=h;c[d>>2]=j;c[b+36>>2]=e;i=k;return}f=c[b+16>>2]|0;if(!f){d=b+16|0;f=b+8|0;c[f>>2]=g;g=b+12|0;c[g>>2]=h;c[d>>2]=j;c[b+36>>2]=e;i=k;return}aBb(f);d=b+16|0;f=b+8|0;c[f>>2]=g;g=b+12|0;c[g>>2]=h;c[d>>2]=j;c[b+36>>2]=e;i=k;return}}}d=tu(d)|0;b=nf(16)|0;c[k>>2]=(a[d>>0]&1)==0?d+1|0:c[d+8>>2]|0;ds(b,437355,k);zc(b|0,96,27)}function _ga(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;Wha(a);c[a>>2]=24520;c[a+24>>2]=a+24;c[a+28>>2]=a+24;c[a+32>>2]=0;f=c[b+4>>2]|0;if((f|0)==(b|0)){h=a+24|0;g=a+24|0}else{g=a+24|0;h=0;i=f;do{j=g;g=YAb(12)|0;c[g+8>>2]=c[i+8>>2];c[g+4>>2]=a+24;c[g>>2]=j;c[j+4>>2]=g;c[a+24>>2]=g;h=h+1|0;c[a+32>>2]=h;f=c[f+4>>2]|0;i=f}while((i|0)!=(b|0));h=a+24|0;g=c[a+28>>2]|0}c[a+36>>2]=0;f=g;if((f|0)!=(h|0))do{j=c[f+8>>2]|0;Hi[c[(c[j>>2]|0)+8>>2]&1023](j);g=c[g+4>>2]|0;f=g}while((f|0)!=(h|0));c[a+8>>2]=d;c[a+12>>2]=e;$ga(a,d,e,0);hBb(c[a+16>>2]|0,0,_(d<<2,e)|0)|0;return}function $ga(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;d=_(b<<2,d)|0;b=_Ab(d)|0;c[a+16>>2]=b;if(e|0)mBb(b|0,e|0,d|0)|0;c[a+36>>2]=0;return}function aha(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;Wha(a);c[a>>2]=24520;c[a+24>>2]=a+24;c[a+28>>2]=a+24;c[a+32>>2]=0;h=c[b+4>>2]|0;if((h|0)==(b|0)){j=a+24|0;i=a+24|0}else{i=a+24|0;j=0;k=h;do{l=i;i=YAb(12)|0;c[i+8>>2]=c[k+8>>2];c[i+4>>2]=a+24;c[i>>2]=l;c[l+4>>2]=i;c[a+24>>2]=i;j=j+1|0;c[a+32>>2]=j;h=c[h+4>>2]|0;k=h}while((k|0)!=(b|0));j=a+24|0;i=c[a+28>>2]|0}c[a+36>>2]=0;h=i;if((h|0)!=(j|0))do{l=c[h+8>>2]|0;Hi[c[(c[l>>2]|0)+8>>2]&1023](l);i=c[i+4>>2]|0;h=i}while((h|0)!=(j|0));c[a+8>>2]=d;c[a+12>>2]=e;if(g){c[a+16>>2]=f;return}else{$ga(a,d,e,f);return}}function bha(a){a=a|0;oAb(a);return}function cha(a,b){a=a|0;b=b|0;if((vi[c[(c[b>>2]|0)+20>>2]&2047](b)|0)>>>0<64){a=0;return a|0}b=vi[c[(c[b>>2]|0)+16>>2]&2047](b)|0;if(qmb(b,437524,12)|0){a=0;return a|0}b=c[b+12>>2]|0;a:do if((b|0)<67305985){switch(b|0){case 16909060:break a;default:b=0}return b|0}else{switch(b|0){case 67305985:break a;default:b=0}return b|0}while(0);a=1;return a|0}function dha(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=i;i=i+128|0;if(!(Xi[c[(c[b>>2]|0)+16>>2]&511](b,d)|0)){h=nf(16)|0;ds(h,437536,u);zc(h|0,96,27)}b=u+64|0;j=vi[c[(c[d>>2]|0)+16>>2]&2047](d)|0;k=b+64|0;do{c[b>>2]=c[j>>2];b=b+4|0;j=j+4|0}while((b|0)<(k|0));o=(c[u+64+12>>2]|0)==16909060;if(o){j=u+64+16|0;c[j>>2]=gBb(c[j>>2]|0)|0;c[j+4>>2]=gBb(c[j+4>>2]|0)|0;c[j+8>>2]=gBb(c[j+8>>2]|0)|0;k=gBb(c[j+12>>2]|0)|0;c[j+12>>2]=k;c[j+16>>2]=gBb(c[j+16>>2]|0)|0;c[j+20>>2]=gBb(c[j+20>>2]|0)|0;c[j+24>>2]=gBb(c[j+24>>2]|0)|0;c[j+28>>2]=gBb(c[j+28>>2]|0)|0;c[j+32>>2]=gBb(c[j+32>>2]|0)|0;c[j+36>>2]=gBb(c[j+36>>2]|0)|0;b=gBb(c[j+40>>2]|0)|0;c[j+40>>2]=b;c[j+44>>2]=gBb(c[j+44>>2]|0)|0;j=u+64+56|0}else{j=u+64+56|0;b=c[u+64+56>>2]|0;k=c[u+64+28>>2]|0}t=(b|0)==0?1:b;c[j>>2]=t;do switch(k|0){case 36196:{s=15;b=0;break}case 37488:{s=19;b=0;break}case 37489:{s=20;b=0;break}case 37490:{s=21;b=0;break}case 37491:{s=22;b=0;break}case 37492:{s=16;b=0;break}case 37493:{s=16;b=1;break}case 37494:{s=18;b=0;break}case 37495:{s=18;b=1;break}case 37496:{s=17;b=0;break}case 37497:{s=17;b=1;break}case 35840:{s=12;b=0;break}case 35841:{s=11;b=0;break}case 35842:{s=14;b=0;break}case 35843:{s=13;b=0;break}case 33776:{s=1;b=0;break}case 33778:{s=2;b=0;break}case 33779:{s=3;b=0;break}case 37840:{b=1;l=25;break}case 37808:{b=0;l=25;break}case 37841:{b=1;l=27;break}case 37809:{b=0;l=27;break}case 37842:{b=1;l=29;break}case 37810:{b=0;l=29;break}case 37843:{b=1;l=31;break}case 37811:{b=0;l=31;break}case 37844:{b=1;l=33;break}case 37812:{b=0;l=33;break}case 37845:{b=1;l=35;break}case 37813:{b=0;l=35;break}case 37846:{b=1;l=37;break}case 37814:{b=0;l=37;break}case 37847:{b=1;l=39;break}case 37815:{b=0;l=39;break}case 37848:{b=1;l=41;break}case 37816:{b=0;l=41;break}case 37849:{b=1;l=43;break}case 37817:{b=0;l=43;break}case 37850:{b=1;l=45;break}case 37818:{b=0;l=45;break}case 37851:{b=1;l=47;break}case 37819:{b=0;l=47;break}case 37852:{b=1;l=49;break}case 37820:{b=0;l=49;break}case 37853:{b=1;l=51;break}case 37821:{b=0;l=51;break}default:{h=nf(16)|0;ds(h,437587,u+8|0);zc(h|0,96,27)}}while(0);switch(l|0){case 25:{s=23;break}case 27:{s=24;break}case 29:{s=25;break}case 31:{s=26;break}case 33:{s=27;break}case 35:{s=28;break}case 37:{s=29;break}case 39:{s=30;break}case 41:{s=31;break}case 43:{s=32;break}case 45:{s=33;break}case 47:{s=34;break}case 49:{s=35;break}case 51:{s=36;break}}if(c[u+64+48>>2]|0){h=nf(16)|0;ds(h,437625,u+16|0);zc(h|0,96,27)}if((c[u+64+44>>2]|0)>>>0>1){h=nf(16)|0;ds(h,437672,u+24|0);zc(h|0,96,27)}if((c[u+64+52>>2]|0)>>>0>1){h=nf(16)|0;ds(h,437716,u+32|0);zc(h|0,96,27)}n=(c[u+64+60>>2]|0)+64|0;r=vi[c[(c[d>>2]|0)+16>>2]&2047](d)|0;a:do if((t|0)>0)if(o){k=n;m=0;j=0;while(1){l=k+4|0;if(l>>>0>(vi[c[(c[d>>2]|0)+20>>2]&2047](d)|0)>>>0)break;k=(gBb(c[r+k>>2]|0)|0)+3&-4;j=k+j|0;m=m+1|0;if((m|0)>=(t|0))break a;else k=k+l|0}h=nf(16)|0;ds(h,437765,u+40|0);zc(h|0,96,27)}else{k=n;m=0;j=0;while(1){l=k+4|0;if(l>>>0>(vi[c[(c[d>>2]|0)+20>>2]&2047](d)|0)>>>0)break;k=(c[r+k>>2]|0)+3&-4;j=k+j|0;m=m+1|0;if((m|0)>=(t|0))break a;else k=k+l|0}h=nf(16)|0;ds(h,437765,u+40|0);zc(h|0,96,27)}else j=0;while(0);q=_Ab(j)|0;if((t|0)<=0){c[f>>2]=j;c[g>>2]=s;a[h>>0]=b;i=u;return q|0}d=c[u+64+36>>2]|0;p=c[u+64+40>>2]|0;if(o){o=0;k=n;n=0;while(1){m=gBb(c[r+k>>2]|0)|0;k=k+4|0;l=d>>>n;c[u+48>>2]=(l|0)==0?1:l;l=p>>>n;c[u+48+4>>2]=(l|0)==0?1:l;c[u+48+8>>2]=m;l=q+o|0;mBb(l|0,r+k|0,m|0)|0;c[u+48+12>>2]=l;l=c[e+4>>2]|0;if((l|0)==(c[e+8>>2]|0))eha(e,u+48|0);else{c[l>>2]=c[u+48>>2];c[l+4>>2]=c[u+48+4>>2];c[l+8>>2]=c[u+48+8>>2];c[l+12>>2]=c[u+48+12>>2];c[e+4>>2]=(c[e+4>>2]|0)+16}n=n+1|0;if((n|0)>=(t|0))break;else{o=(m+3&-4)+o|0;k=(m+3&-4)+k|0}}c[f>>2]=j;c[g>>2]=s;a[h>>0]=b;i=u;return q|0}else{o=0;k=n;n=0;while(1){m=c[r+k>>2]|0;k=k+4|0;l=d>>>n;c[u+48>>2]=(l|0)==0?1:l;l=p>>>n;c[u+48+4>>2]=(l|0)==0?1:l;c[u+48+8>>2]=m;l=q+o|0;mBb(l|0,r+k|0,m|0)|0;c[u+48+12>>2]=l;l=c[e+4>>2]|0;if((l|0)==(c[e+8>>2]|0))eha(e,u+48|0);else{c[l>>2]=c[u+48>>2];c[l+4>>2]=c[u+48+4>>2];c[l+8>>2]=c[u+48+8>>2];c[l+12>>2]=c[u+48+12>>2];c[e+4>>2]=(c[e+4>>2]|0)+16}n=n+1|0;if((n|0)>=(t|0))break;else{o=(m+3&-4)+o|0;k=(m+3&-4)+k|0}}c[f>>2]=j;c[g>>2]=s;a[h>>0]=b;i=u;return q|0}return 0}function eha(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=c[a>>2]|0;d=((c[a+4>>2]|0)-j>>4)+1|0;if(d>>>0>268435455)jzb(a);e=(c[a+8>>2]|0)-j|0;if(e>>4>>>0<134217727){d=e>>3>>>0>>0?d:e>>3;f=c[a+4>>2]|0;if(!d){i=0;g=0;e=f-j>>4;d=f}else{h=f;e=f-j>>4;k=6}}else{e=c[a+4>>2]|0;d=268435455;h=e;e=e-j>>4;k=6}if((k|0)==6){i=d;g=YAb(d<<4)|0;d=h}k=g+(e<<4)|0;c[k>>2]=c[b>>2];c[k+4>>2]=c[b+4>>2];c[k+8>>2]=c[b+8>>2];c[k+12>>2]=c[b+12>>2];b=d-j|0;mBb(k+(0-(b>>4)<<4)|0,j|0,b|0)|0;c[a>>2]=k+(0-(b>>4)<<4);c[a+4>>2]=k+16;c[a+8>>2]=g+(i<<4);if(!j)return;oAb(j);return}function fha(a){a=a|0;oAb(a);return}function gha(a,d){a=a|0;d=d|0;if((vi[c[(c[d>>2]|0)+20>>2]&2047](d)|0)>>>0<17)return 0;d=vi[c[(c[d>>2]|0)+16>>2]&2047](d)|0;if(qmb(d,437840,4)|0)return 0;d=b[d+4>>1]|0;if(((d&255)+-49&255)<2)return (d&-256)<<16>>16==12288|0;else return 0;return 0}function hha(b,d,f,g,h,j){b=b|0;d=d|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0;o=i;i=i+32|0;if(!(Xi[c[(c[b>>2]|0)+16>>2]&511](b,d)|0)){j=nf(16)|0;ds(j,437844,o);zc(j|0,96,27)}k=vi[c[(c[d>>2]|0)+16>>2]&2047](d)|0;n=e[k+6>>1]|0;b=e[k+12>>1]|0;k=e[k+14>>1]|0;switch(n<<8&65280|n>>>8|0){case 0:{l=15;break}case 1:{l=16;break}case 3:case 2:{l=17;break}case 4:{l=18;break}case 5:{l=19;break}case 6:{l=21;break}case 7:{l=20;break}case 8:{l=22;break}default:{j=nf(16)|0;ds(j,437895,o+8|0);zc(j|0,96,27)}}m=(vi[c[(c[d>>2]|0)+20>>2]&2047](d)|0)+-16|0;n=_Ab(m)|0;mBb(n|0,(vi[c[(c[d>>2]|0)+16>>2]&2047](d)|0)+16|0,m|0)|0;c[o+16>>2]=b<<8&65280|b>>>8;c[o+16+4>>2]=k<<8&65280|k>>>8;c[o+16+8>>2]=m;c[o+16+12>>2]=n;b=c[f+4>>2]|0;if((b|0)==(c[f+8>>2]|0)){eha(f,o+16|0);c[g>>2]=m;c[h>>2]=l;a[j>>0]=0;i=o;return n|0}else{c[b>>2]=c[o+16>>2];c[b+4>>2]=c[o+16+4>>2];c[b+8>>2]=c[o+16+8>>2];c[b+12>>2]=c[o+16+12>>2];c[f+4>>2]=(c[f+4>>2]|0)+16;c[g>>2]=m;c[h>>2]=l;a[j>>0]=0;i=o;return n|0}return 0}function iha(a){a=a|0;xva(a);oAb(a);return}function jha(a,b){a=a|0;b=b|0;var d=0;a=i;i=i+304|0;c[a+300>>2]=0;c[a+296>>2]=0;d=vi[c[(c[b>>2]|0)+16>>2]&2047](b)|0;b=vi[c[(c[b>>2]|0)+20>>2]&2047](b)|0;zta(a);b=(mta(a+300|0,a+296|0,a,d,b)|0)==0;if(!(b&(c[a+300>>2]|0)!=0)){d=0;Nsa(a);i=a;return d|0}d=(c[a+296>>2]|0)!=0;Nsa(a);i=a;return d|0}function kha(a,b){a=a|0;b=b|0;return (b|0)==1|0}function lha(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=i;i=i+320|0;c[e+308>>2]=0;c[e+304>>2]=0;f=vi[c[(c[d>>2]|0)+16>>2]&2047](d)|0;b=vi[c[(c[d>>2]|0)+20>>2]&2047](d)|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;zta(e+8|0);c[e+8+100>>2]=6;c[e+8+104>>2]=8;c[e+8+8>>2]=76;b=nta(a+12|0,e+308|0,e+304|0,e+8|0,f,b)|0;if(!b){d=c[e+308>>2]|0;c[a>>2]=d;f=c[e+304>>2]|0;c[a+4>>2]=f;c[a+8>>2]=_(d<<2,f)|0;Nsa(e+8|0);i=e;return}else{a=yta(b)|0;f=nf(16)|0;c[e>>2]=a;ds(f,437982,e);zc(f|0,96,27)}}function mha(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0;j=i;i=i+16|0;c[j>>2]=e;if(a|0){h=c[a>>2]|0;f=0}else{h=0;f=0}a:while(1){g=f+1|0;c[j>>2]=e<>2]=f;if(!b){b=0;i=j;return b|0}c[b>>2]=c[j>>2];b=0;i=j;return b|0}else if((g|0)==14){i=j;return f|0}return 0}function nha(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+320|0;if((e|0)!=1){d=nf(16)|0;ds(d,438014,f);zc(d|0,96,27)}c[a>>2]=0;c[a+4>>2]=0;zta(f+16|0);c[f+16+100>>2]=6;c[f+16+104>>2]=8;c[f+16+144>>2]=6;c[f+16+148>>2]=8;c[f+16+60>>2]=77;b=qta(a+4|0,a,c[d+12>>2]|0,c[d>>2]|0,c[d+4>>2]|0,f+16|0)|0;if(!b){Nsa(f+16|0);i=f;return}else{e=yta(b)|0;d=nf(16)|0;c[f+8>>2]=e;ds(d,438059,f+8|0);zc(d|0,96,27)}}function oha(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=i;i=i+16|0;f=clb(e)|0;c[g>>2]=f;f=Vpb(f)|0;do if(!f)f=83;else{if(blb(f,g,d,e)|0){Wpb(f);f=1e4;break}if(a|0)c[a>>2]=f;if(!b)f=0;else{c[b>>2]=c[g>>2];f=0}}while(0);i=g;return f|0}function pha(a,b){a=a|0;b=b|0;if(!b)return;Wpb(b);return}function qha(a){a=a|0;oAb(a);return}function rha(a,b){a=a|0;b=b|0;if((vi[c[(c[b>>2]|0)+20>>2]&2047](b)|0)>>>0<52){b=0;return b|0}if((vi[c[(c[b>>2]|0)+20>>2]&2047](b)|0)>>>0<52){b=0;return b|0}a=c[(vi[c[(c[b>>2]|0)+16>>2]&2047](b)|0)>>2]|0;a:do if((a|0)<1347834371){switch(a|0){case 55727696:{a=1;break}default:break a}return a|0}else{switch(a|0){case 1347834371:{a=1;break}default:break a}return a|0}while(0);a=c[(vi[c[(c[b>>2]|0)+16>>2]&2047](b)|0)+44>>2]|0;b:do if((a|0)<1347834401){switch(a|0){case 559044176:{a=1;break}default:break b}return a|0}else{switch(a|0){case 1347834401:{a=1;break}default:break b}return a|0}while(0);b=0;return b|0}function sha(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+112|0;if(!(Xi[c[(c[b>>2]|0)+16>>2]&511](b,d)|0)){h=nf(16)|0;ds(h,438124,q);zc(h|0,96,27)}n=q+48|0;b=vi[c[(c[d>>2]|0)+16>>2]&2047](d)|0;o=n+52|0;do{c[n>>2]=c[b>>2];n=n+4|0;b=b+4|0}while((n|0)<(o|0));b=c[q+48>>2]|0;a:do if((b|0)<1347834371)switch(b|0){case 55727696:{j=16;break}default:j=4}else{switch(b|0){case 1347834371:break;default:{j=4;break a}}c[q+48>>2]=55727696;c[q+48+4>>2]=gBb(c[q+48+4>>2]|0)|0;b=Rf(c[q+48+8>>2]|0,c[q+48+8+4>>2]|0)|0;c[q+48+8>>2]=b;c[q+48+8+4>>2]=C;c[q+48+16>>2]=gBb(c[q+48+16>>2]|0)|0;c[q+48+20>>2]=gBb(c[q+48+20>>2]|0)|0;c[q+48+24>>2]=gBb(c[q+48+24>>2]|0)|0;c[q+48+28>>2]=gBb(c[q+48+28>>2]|0)|0;b=gBb(c[q+48+32>>2]|0)|0;c[q+48+32>>2]=b;c[q+48+40>>2]=gBb(c[q+48+40>>2]|0)|0;c[q+48+44>>2]=gBb(c[q+48+44>>2]|0)|0;c[q+48+48>>2]=gBb(c[q+48+48>>2]|0)|0}while(0);b:do if((j|0)==4){p=vi[c[(c[d>>2]|0)+16>>2]&2047](d)|0;b=c[p+4>>2]|0;j=c[p+8>>2]|0;m=c[p+12>>2]|0;l=c[p+16>>2]|0;k=c[p+48>>2]|0;if((c[p+44>>2]|0)==1347834401){b=gBb(b|0)|0;j=gBb(j|0)|0;m=gBb(m|0)|0;l=gBb(l|0)|0;k=gBb(k|0)|0}n=q+48|0;o=n+44|0;do{c[n>>2]=0;n=n+4|0}while((n|0)<(o|0));c[q+48>>2]=55727696;c[q+48+24>>2]=b;c[q+48+28>>2]=j;c[q+48+32>>2]=1;c[q+48+36>>2]=k;c[q+48+40>>2]=1;c[q+48+44>>2]=m;c[q+48+48>>2]=0;switch(l&255|0){case 24:{c[q+48+8>>2]=1;c[q+48+8+4>>2]=0;j=16;break b}case 25:{c[q+48+8>>2]=3;c[q+48+8+4>>2]=0;j=16;break b}case 28:{c[q+48+8>>2]=4;c[q+48+8+4>>2]=0;j=16;break b}case 29:{c[q+48+8>>2]=5;c[q+48+8+4>>2]=0;j=16;break b}case 32:{c[q+48+8>>2]=7;c[q+48+8+4>>2]=0;j=16;break b}case 34:{c[q+48+8>>2]=9;c[q+48+8+4>>2]=0;j=16;break b}case 36:{c[q+48+8>>2]=11;c[q+48+8+4>>2]=0;j=16;break b}case 54:{c[q+48+8>>2]=6;c[q+48+8+4>>2]=0;j=16;break b}default:{c[q+48+8>>2]=127;c[q+48+8+4>>2]=0;j=16;break b}}}while(0);if((j|0)==16)b=c[q+48+32>>2]|0;if(b>>>0>1){h=nf(16)|0;ds(h,438175,q+8|0);zc(h|0,96,27)}b=(c[q+48+20>>2]|0)+-1|0;if(b>>>0<9)b=(273>>>(b&511)&1)!=0;else b=0;do switch(c[q+48+8>>2]|0){case 0:{p=11;break}case 1:{p=13;break}case 2:{p=12;break}case 3:{p=14;break}case 6:{p=15;break}case 7:{p=1;break}case 9:{p=2;break}case 11:{p=3;break}case 12:{p=b?5:4;break}case 13:{p=b?7:6;break}case 14:{p=b?9:8;break}case 15:{p=10;break}case 22:{p=16;break}case 23:{p=17;break}case 24:{p=18;break}case 25:{p=b?20:19;break}case 26:{p=b?22:21;break}case 27:{p=23;break}case 28:{p=24;break}case 29:{p=25;break}case 30:{p=26;break}case 31:{p=27;break}case 32:{p=28;break}case 33:{p=29;break}case 34:{p=30;break}case 35:{p=31;break}case 36:{p=32;break}case 37:{p=33;break}case 38:{p=34;break}case 39:{p=35;break}case 40:{p=36;break}default:{h=nf(16)|0;ds(h,438233,q+16|0);zc(h|0,96,27)}}while(0);k=c[q+48+44>>2]|0;if((k|0)>0){j=0;b=0;do{b=(tha(q+48|0,j)|0)+b|0;j=j+1|0}while((j|0)<(k|0))}else b=0;j=(c[q+48+48>>2]|0)+52|0;if((vi[c[(c[d>>2]|0)+20>>2]&2047](d)|0)>>>0<(j+b|0)>>>0){h=nf(16)|0;ds(h,438285,q+24|0);zc(h|0,96,27)}o=_Ab(b)|0;n=(vi[c[(c[d>>2]|0)+16>>2]&2047](d)|0)+j|0;if((k|0)<=0){c[f>>2]=b;c[g>>2]=p;e=q+48+16|0;e=c[e>>2]|0;e=(e|0)==1;e=e&1;a[h>>0]=e;i=q;return o|0}l=0;m=0;while(1){j=tha(q+48|0,m)|0;k=l;l=j+l|0;if(l>>>0>b>>>0){j=65;break}d=c[q+48+28>>2]>>m;c[q+32>>2]=(d|0)<1?1:d;d=c[q+48+24>>2]>>m;c[q+32+4>>2]=(d|0)<1?1:d;c[q+32+8>>2]=j;mBb(o+k|0,n+k|0,j|0)|0;c[q+32+12>>2]=o+k;j=c[e+4>>2]|0;if((j|0)==(c[e+8>>2]|0))eha(e,q+32|0);else{c[j>>2]=c[q+32>>2];c[j+4>>2]=c[q+32+4>>2];c[j+8>>2]=c[q+32+8>>2];c[j+12>>2]=c[q+32+12>>2];c[e+4>>2]=(c[e+4>>2]|0)+16}m=m+1|0;if((m|0)>=(c[q+48+44>>2]|0)){j=65;break}}if((j|0)==65){c[f>>2]=b;c[g>>2]=p;e=q+48+16|0;e=c[e>>2]|0;e=(e|0)==1;e=e&1;a[h>>0]=e;i=q;return o|0}return 0}function tha(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=c[a+8>>2]|0;g=c[a+8+4>>2]|0;do switch(f|0){case 0:{if(!g){h=8;i=16}else d=55;break}case 1:{if(!g){h=8;i=16}else d=55;break}case 2:{if(!g)d=37;else d=55;break}case 3:{if(!g)d=37;else d=55;break}case 4:{if(!g){h=4;i=8}else d=55;break}case 5:{if(!g){h=4;i=4}else d=55;break}case 6:{if(!g)d=40;else d=55;break}case 7:{if(!g)d=40;else d=55;break}case 8:{if(!g)d=40;else d=55;break}case 9:{if(!g)d=40;else d=55;break}case 10:{if(!g)d=40;else d=55;break}case 11:{if(!g)d=40;else d=55;break}case 12:{if(!g)d=40;else d=55;break}case 13:{if(!g)d=40;else d=55;break}case 14:{if(!g)d=40;else d=55;break}case 15:{if(!g)d=40;else d=55;break}case 22:{if(!g)d=40;else d=55;break}case 23:{if(!g)d=40;else d=55;break}case 24:{if(!g)d=40;else d=55;break}case 25:{if(!g)d=40;else d=55;break}case 26:{if(!g)d=40;else d=55;break}case 27:{if(!g){h=4;i=4}else d=55;break}case 28:{if(!g){h=4;i=5}else d=55;break}case 29:{if(!g){h=5;i=5}else d=55;break}case 30:{if(!g){h=5;i=6}else d=55;break}case 31:{if(!g){h=6;i=6}else d=55;break}case 32:{if(!g){h=5;i=8}else d=55;break}case 33:{if(!g){h=6;i=8}else d=55;break}case 34:{if(!g){h=8;i=8}else d=55;break}case 35:{if(!g){h=5;i=10}else d=55;break}case 36:{if(!g){h=6;i=10}else d=55;break}case 37:{if(!g){h=8;i=10}else d=55;break}case 38:{if(!g){h=10;i=10}else d=55;break}case 39:{if(!g){h=10;i=12}else d=55;break}case 40:{if(!g){h=12;i=12}else d=55;break}default:d=55}while(0);if((d|0)==37){h=8;i=8}else if((d|0)==40){h=4;i=4}else if((d|0)==55){h=1;i=1}d=c[a+28>>2]>>b;e=c[a+24>>2]>>b;b=c[a+32>>2]>>b;b=(b|0)<1?1:b;d=(i+-1+((d|0)<1?1:d)|0)/(i|0)|0;e=(h+-1+((e|0)<1?1:e)|0)/(h|0)|0;a=jBb(f|0,g|0,-27,-1)|0;j=C;if(j>>>0<0|(j|0)==0&a>>>0<14){j=_(_(d<<4,e)|0,b)|0;return j|0}a=rBb(f|0,g|0,56)|0;j=pBb(a|0,C|0,56)|0;a:do if((f|0)==(j|f|0)&0==(C|g&16777215|0))switch(f|0){case 4:case 1:case 0:{a=2;break a}case 25:case 24:case 22:case 12:case 7:case 6:case 5:case 3:case 2:{a=4;break a}case 26:case 23:case 15:case 14:case 13:case 11:case 10:case 9:case 8:{a=8;break a}default:{a=0;break a}}else{k=rBb(f|0,g|0,40)|0;j=rBb(f|0,g|0,48)|0;a=(k&255)+a+(g&255)+(j&255)|0}while(0);k=(_(_(_(_(_(i,h)|0,d)|0,e)|0,b)|0,a)|0)/8|0;return k|0}function uha(a){a=a|0;xva(a);oAb(a);return}function vha(a,b){a=a|0;b=b|0;var d=0;a=i;i=i+208|0;c[a+8>>2]=0;c[a+4>>2]=0;c[a>>2]=0;d=vi[c[(c[b>>2]|0)+16>>2]&2047](b)|0;b=vi[c[(c[b>>2]|0)+20>>2]&2047](b)|0;c[a+16+16>>2]=0;c[a+16+32>>2]=0;c[a+16+176>>2]=d;c[a+16+168>>2]=d;c[a+16+180>>2]=d+b;c[a+16+172>>2]=d+b;b=(wha(a+16|0,a+8|0,a+4|0,a)|0)==1;if(!(b&(c[a+8>>2]|0)>0)){d=0;i=a;return d|0}d=(c[a+4>>2]|0)>0;i=a;return d|0}function wha(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;n=i;i=i+18192|0;c[n>>2]=b;if(xha(n,2)|0){if(d|0)c[d>>2]=c[c[n>>2]>>2];if(e|0)c[e>>2]=c[(c[n>>2]|0)+4>>2];if(f|0)c[f>>2]=c[(c[n>>2]|0)+8>>2];f=1;i=n;return f|0}g=c[n>>2]|0;c[g+168>>2]=c[g+176>>2];c[g+172>>2]=c[g+180>>2];g=c[b+168>>2]|0;h=c[b+172>>2]|0;if(g>>>0>>0){c[b+168>>2]=g+1;k=a[g>>0]|0;j=g+1|0;m=16}else if(!(c[b+32>>2]|0))m=25;else{g=Gi[c[b+16>>2]&255](c[b+28>>2]|0,b+40|0,c[b+36>>2]|0)|0;if(!g){c[b+32>>2]=0;a[b+40>>0]=0;j=b+41|0;h=b+41|0;g=0}else{j=b+41|0;h=b+40+g|0;g=a[b+40>>0]|0}c[b+172>>2]=h;c[b+168>>2]=j;k=g;m=16}a:do if((m|0)==16)if(k<<24>>24==66){if(j>>>0>>0){k=j+1|0;c[b+168>>2]=k;g=a[j>>0]|0}else{if(!(c[b+32>>2]|0)){m=25;break}g=Gi[c[b+16>>2]&255](c[b+28>>2]|0,b+40|0,c[b+36>>2]|0)|0;if(!g){c[b+32>>2]=0;a[b+40>>0]=0;j=b+41|0;h=b+41|0;g=0}else{j=b+41|0;h=b+40+g|0;g=a[b+40>>0]|0}c[b+172>>2]=h;c[b+168>>2]=j;k=j}j=k;if(g<<24>>24==77){if(!(c[b+16>>2]|0))m=29;else{g=h-j|0;if((g|0)<12){c[b+168>>2]=h;si[c[b+20>>2]&511](c[b+28>>2]|0,12-g|0)}else m=29}if((m|0)==29)c[b+168>>2]=k+12;switch(Aha(b)|0){case 12:{j=c[b+168>>2]|0;h=c[b+172>>2]|0;if(j>>>0>>0){c[b+168>>2]=j+1;g=a[j>>0]|0;j=j+1|0}else if(!(c[b+32>>2]|0))g=0;else{g=Gi[c[b+16>>2]&255](c[b+28>>2]|0,b+40|0,c[b+36>>2]|0)|0;if(!g){c[b+32>>2]=0;a[b+40>>0]=0;j=b+41|0;h=b+41|0;g=0}else{j=b+41|0;h=b+40+g|0;g=a[b+40>>0]|0}c[b+172>>2]=h;c[b+168>>2]=j}k=g&255;if(j>>>0>>0){l=j+1|0;c[b+168>>2]=l;g=a[j>>0]|0;j=l}else if(!(c[b+32>>2]|0))g=0;else{g=Gi[c[b+16>>2]&255](c[b+28>>2]|0,b+40|0,c[b+36>>2]|0)|0;if(!g){c[b+32>>2]=0;a[b+40>>0]=0;j=b+41|0;h=b+41|0;g=0}else{j=b+41|0;h=b+40+g|0;g=a[b+40>>0]|0}c[b+172>>2]=h;c[b+168>>2]=j}c[d>>2]=(g&255)<<8|k;if(j>>>0>>0){l=j+1|0;c[b+168>>2]=l;g=a[j>>0]|0;j=l}else if(!(c[b+32>>2]|0))g=0;else{g=Gi[c[b+16>>2]&255](c[b+28>>2]|0,b+40|0,c[b+36>>2]|0)|0;if(!g){c[b+32>>2]=0;a[b+40>>0]=0;j=b+41|0;h=b+41|0;g=0}else{j=b+41|0;h=b+40+g|0;g=a[b+40>>0]|0}c[b+172>>2]=h;c[b+168>>2]=j}k=g&255;if(j>>>0>>0){l=j+1|0;c[b+168>>2]=l;g=a[j>>0]|0;j=l}else if(!(c[b+32>>2]|0))g=0;else{g=Gi[c[b+16>>2]&255](c[b+28>>2]|0,b+40|0,c[b+36>>2]|0)|0;if(!g){c[b+32>>2]=0;a[b+40>>0]=0;j=b+41|0;h=b+41|0;g=0}else{j=b+41|0;h=b+40+g|0;g=a[b+40>>0]|0}c[b+172>>2]=h;c[b+168>>2]=j}g=(g&255)<<8|k;break}case 124:case 108:case 56:case 40:{c[d>>2]=Aha(b)|0;g=Aha(b)|0;j=c[b+168>>2]|0;h=c[b+172>>2]|0;break}default:{g=c[b+176>>2]|0;c[b+168>>2]=g;h=c[b+180>>2]|0;c[b+172>>2]=h;break a}}c[e>>2]=g;if(j>>>0>>0){l=j+1|0;c[b+168>>2]=l;g=a[j>>0]|0;j=l}else if(!(c[b+32>>2]|0))g=0;else{g=Gi[c[b+16>>2]&255](c[b+28>>2]|0,b+40|0,c[b+36>>2]|0)|0;if(!g){c[b+32>>2]=0;a[b+40>>0]=0;j=b+41|0;h=b+41|0;g=0}else{j=b+41|0;h=b+40+g|0;g=a[b+40>>0]|0}c[b+172>>2]=h;c[b+168>>2]=j}k=g&255;if(j>>>0>>0){l=j+1|0;c[b+168>>2]=l;g=a[j>>0]|0;j=l}else if(!(c[b+32>>2]|0))g=0;else{g=Gi[c[b+16>>2]&255](c[b+28>>2]|0,b+40|0,c[b+36>>2]|0)|0;if(!g){c[b+32>>2]=0;a[b+40>>0]=0;j=b+41|0;h=b+41|0;g=0}else{j=b+41|0;h=b+40+g|0;g=a[b+40>>0]|0}c[b+172>>2]=h;c[b+168>>2]=j}if(((g&255)<<8|k|0)!=1){g=c[b+176>>2]|0;c[b+168>>2]=g;h=c[b+180>>2]|0;c[b+172>>2]=h;break}if(j>>>0>>0){e=j+1|0;c[b+168>>2]=e;g=a[j>>0]|0;j=e}else if(!(c[b+32>>2]|0))g=0;else{g=Gi[c[b+16>>2]&255](c[b+28>>2]|0,b+40|0,c[b+36>>2]|0)|0;if(!g){c[b+32>>2]=0;a[b+40>>0]=0;j=b+41|0;h=b+41|0;g=0}else{j=b+41|0;h=b+40+g|0;g=a[b+40>>0]|0}c[b+172>>2]=h;c[b+168>>2]=j}k=g&255;if(j>>>0>>0){c[b+168>>2]=j+1;g=a[j>>0]|0}else if(!(c[b+32>>2]|0))g=0;else{g=Gi[c[b+16>>2]&255](c[b+28>>2]|0,b+40|0,c[b+36>>2]|0)|0;if(!g){c[b+32>>2]=0;a[b+40>>0]=0;j=b+41|0;h=b+41|0;g=0}else{j=b+41|0;h=b+40+g|0;g=a[b+40>>0]|0}c[b+172>>2]=h;c[b+168>>2]=j}c[f>>2]=((g&255)<<8|k)>>>3;f=1;i=n;return f|0}else m=25}else m=25;while(0);if((m|0)==25){g=c[b+176>>2]|0;c[b+168>>2]=g;h=c[b+180>>2]|0;c[b+172>>2]=h}if(g>>>0>>0){c[b+168>>2]=g+1;g=g+1|0}else if(c[b+32>>2]|0){h=Gi[c[b+16>>2]&255](c[b+28>>2]|0,b+40|0,c[b+36>>2]|0)|0;if(!h){c[b+32>>2]=0;a[b+40>>0]=0;g=b+41|0;h=b+41|0}else{g=b+41|0;h=b+40+h|0}c[b+172>>2]=h;c[b+168>>2]=g}if(g>>>0>>0){m=g+1|0;c[b+168>>2]=m;k=a[g>>0]|0;g=m;m=107}else if(c[b+32>>2]|0){g=Gi[c[b+16>>2]&255](c[b+28>>2]|0,b+40|0,c[b+36>>2]|0)|0;if(!g){c[b+32>>2]=0;a[b+40>>0]=0;j=b+41|0;h=b+41|0;g=0}else{j=b+41|0;h=b+40+g|0;g=a[b+40>>0]|0}c[b+172>>2]=h;c[b+168>>2]=j;k=g;g=j;m=107}if((m|0)==107)if((k&255)>1){c[b+168>>2]=c[b+176>>2];c[b+172>>2]=c[b+180>>2];f=0;i=n;return f|0}if(g>>>0>>0){k=g+1|0;c[b+168>>2]=k;g=a[g>>0]|0}else{if(!(c[b+32>>2]|0)){f=0;i=n;return f|0}g=Gi[c[b+16>>2]&255](c[b+28>>2]|0,b+40|0,c[b+36>>2]|0)|0;if(!g){c[b+32>>2]=0;a[b+40>>0]=0;j=b+41|0;h=b+41|0;g=0}else{j=b+41|0;h=b+40+g|0;g=a[b+40>>0]|0}c[b+172>>2]=h;c[b+168>>2]=j;k=j}j=k;switch(g<<24>>24){case 1:case 2:case 3:case 9:case 10:case 11:break;default:{f=0;i=n;return f|0}}if(!(c[b+16>>2]|0))m=120;else{g=h-j|0;if((g|0)<9){c[b+168>>2]=h;si[c[b+20>>2]&511](c[b+28>>2]|0,9-g|0);j=c[b+168>>2]|0;h=c[b+172>>2]|0}else m=120}if((m|0)==120){j=k+9|0;c[b+168>>2]=j}if(j>>>0>>0){l=j+1|0;c[b+168>>2]=l;g=a[j>>0]|0;j=l}else if(!(c[b+32>>2]|0))g=0;else{g=Gi[c[b+16>>2]&255](c[b+28>>2]|0,b+40|0,c[b+36>>2]|0)|0;if(!g){c[b+32>>2]=0;a[b+40>>0]=0;j=b+41|0;h=b+41|0;g=0}else{j=b+41|0;h=b+40+g|0;g=a[b+40>>0]|0}c[b+172>>2]=h;c[b+168>>2]=j}k=g&255;if(j>>>0>>0){l=j+1|0;c[b+168>>2]=l;g=a[j>>0]|0;j=l}else if(!(c[b+32>>2]|0))g=0;else{g=Gi[c[b+16>>2]&255](c[b+28>>2]|0,b+40|0,c[b+36>>2]|0)|0;if(!g){c[b+32>>2]=0;a[b+40>>0]=0;j=b+41|0;h=b+41|0;g=0}else{j=b+41|0;h=b+40+g|0;g=a[b+40>>0]|0}c[b+172>>2]=h;c[b+168>>2]=j}l=(g&255)<<8|k;if(!l){c[b+168>>2]=c[b+176>>2];c[b+172>>2]=c[b+180>>2];f=0;i=n;return f|0}if(j>>>0>>0){k=j+1|0;c[b+168>>2]=k;g=a[j>>0]|0;j=k}else if(!(c[b+32>>2]|0))g=0;else{g=Gi[c[b+16>>2]&255](c[b+28>>2]|0,b+40|0,c[b+36>>2]|0)|0;if(!g){c[b+32>>2]=0;a[b+40>>0]=0;j=b+41|0;h=b+41|0;g=0}else{j=b+41|0;h=b+40+g|0;g=a[b+40>>0]|0}c[b+172>>2]=h;c[b+168>>2]=j}k=g&255;if(j>>>0>>0){o=j+1|0;c[b+168>>2]=o;g=a[j>>0]|0;j=o}else if(!(c[b+32>>2]|0))g=0;else{g=Gi[c[b+16>>2]&255](c[b+28>>2]|0,b+40|0,c[b+36>>2]|0)|0;if(!g){c[b+32>>2]=0;a[b+40>>0]=0;j=b+41|0;h=b+41|0;g=0}else{j=b+41|0;h=b+40+g|0;g=a[b+40>>0]|0}c[b+172>>2]=h;c[b+168>>2]=j}k=(g&255)<<8|k;if(!k){c[b+168>>2]=c[b+176>>2];c[b+172>>2]=c[b+180>>2];o=0;i=n;return o|0}if(j>>>0>>0){c[b+168>>2]=j+1;g=a[j>>0]|0;m=160}else if(c[b+32>>2]|0){g=Gi[c[b+16>>2]&255](c[b+28>>2]|0,b+40|0,c[b+36>>2]|0)|0;if(!g){c[b+32>>2]=0;a[b+40>>0]=0;j=b+41|0;h=b+41|0;g=0}else{j=b+41|0;h=b+40+g|0;g=a[b+40>>0]|0}c[b+172>>2]=h;c[b+168>>2]=j;m=160}b:do if((m|0)==160){switch(g<<24>>24){case 8:case 16:case 24:case 32:break;default:break b}if(d|0)c[d>>2]=l;if(e|0)c[e>>2]=k;if(!f){o=1;i=n;return o|0}c[f>>2]=(g&255)>>>3&255;o=1;i=n;return o|0}while(0);c[b+168>>2]=c[b+176>>2];c[b+172>>2]=c[b+180>>2];o=0;i=n;return o|0}function xha(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;a[b+18116>>0]=-1;j=c[b>>2]|0;g=c[j+168>>2]|0;if(g>>>0<(c[j+172>>2]|0)>>>0){c[j+168>>2]=g+1;g=a[g>>0]|0}else{if(!(c[j+32>>2]|0)){b=0;return b|0}g=Gi[c[j+16>>2]&255](c[j+28>>2]|0,j+40|0,c[j+36>>2]|0)|0;if(!g){c[j+32>>2]=0;a[j+40>>0]=0;i=j+41|0;h=j+41|0;g=0}else{i=j+41|0;h=j+40+g|0;g=a[j+40>>0]|0}c[j+172>>2]=h;c[j+168>>2]=i}if(g<<24>>24!=-1){b=0;return b|0}a:while(1){j=c[b>>2]|0;g=c[j+168>>2]|0;if(g>>>0<(c[j+172>>2]|0)>>>0){c[j+168>>2]=g+1;g=a[g>>0]|0}else{if(!(c[j+32>>2]|0)){u=0;s=186;break}g=Gi[c[j+16>>2]&255](c[j+28>>2]|0,j+40|0,c[j+36>>2]|0)|0;if(!g){c[j+32>>2]=0;a[j+40>>0]=0;i=j+41|0;h=j+41|0;g=0}else{i=j+41|0;h=j+40+g|0;g=a[j+40>>0]|0}c[j+172>>2]=h;c[j+168>>2]=i}switch(g<<24>>24){case -1:break;case -40:{s=17;break a}default:{u=0;s=186;break a}}}if((s|0)==17){if((d|0)==1){b=1;return b|0}g=a[b+18116>>0]|0;b:do if(g<<24>>24==-1){j=c[b>>2]|0;g=c[j+168>>2]|0;if(g>>>0<(c[j+172>>2]|0)>>>0){c[j+168>>2]=g+1;g=a[g>>0]|0}else{if(!(c[j+32>>2]|0)){g=-1;break}g=Gi[c[j+16>>2]&255](c[j+28>>2]|0,j+40|0,c[j+36>>2]|0)|0;if(!g){c[j+32>>2]=0;a[j+40>>0]=0;i=j+41|0;h=j+41|0;g=0}else{i=j+41|0;h=j+40+g|0;g=a[j+40>>0]|0}c[j+172>>2]=h;c[j+168>>2]=i}if(g<<24>>24==-1)do{j=c[b>>2]|0;g=c[j+168>>2]|0;if(g>>>0<(c[j+172>>2]|0)>>>0){c[j+168>>2]=g+1;g=a[g>>0]|0}else{if(!(c[j+32>>2]|0)){g=0;break b}g=Gi[c[j+16>>2]&255](c[j+28>>2]|0,j+40|0,c[j+36>>2]|0)|0;if(!g){c[j+32>>2]=0;a[j+40>>0]=0;i=j+41|0;h=j+41|0;g=0}else{i=j+41|0;h=j+40+g|0;g=a[j+40>>0]|0}c[j+172>>2]=h;c[j+168>>2]=i}}while(g<<24>>24==-1);else g=-1}else a[b+18116>>0]=-1;while(0);h=g&255;g=g<<24>>24==-62;c:do if(g|(h|1|0)==193)m=g;else{d:while(1){if(!(yha(b,h)|0)){u=0;s=186;break}g=a[b+18116>>0]|0;e:do if(g<<24>>24==-1){j=c[b>>2]|0;g=c[j+168>>2]|0;if(g>>>0<(c[j+172>>2]|0)>>>0){c[j+168>>2]=g+1;l=a[g>>0]|0;s=48}else if(c[j+32>>2]|0){g=Gi[c[j+16>>2]&255](c[j+28>>2]|0,j+40|0,c[j+36>>2]|0)|0;if(!g){c[j+32>>2]=0;a[j+40>>0]=0;i=j+41|0;g=j+41|0;h=0}else{i=j+41|0;g=j+40+g|0;h=a[j+40>>0]|0}c[j+172>>2]=g;c[j+168>>2]=i;l=h;s=48}if((s|0)==48){s=0;if(l<<24>>24==-1)while(1){j=c[b>>2]|0;g=c[j+168>>2]|0;if(g>>>0<(c[j+172>>2]|0)>>>0){c[j+168>>2]=g+1;g=a[g>>0]|0}else{if(!(c[j+32>>2]|0)){g=0;break e}g=Gi[c[j+16>>2]&255](c[j+28>>2]|0,j+40|0,c[j+36>>2]|0)|0;if(!g){c[j+32>>2]=0;a[j+40>>0]=0;i=j+41|0;h=j+41|0;g=0}else{i=j+41|0;h=j+40+g|0;g=a[j+40>>0]|0}c[j+172>>2]=h;c[j+168>>2]=i}if(g<<24>>24!=-1)break e}}while(1){g=c[b>>2]|0;if(!(c[g+16>>2]|0))s=60;else if(vi[c[g+24>>2]&2047](c[g+28>>2]|0)|0)if(!(c[g+32>>2]|0)){u=0;s=186;break d}else s=60;if((s|0)==60){s=0;if((c[g+168>>2]|0)>>>0>=(c[g+172>>2]|0)>>>0){u=0;s=186;break d}}g=a[b+18116>>0]|0;if(g<<24>>24!=-1){s=62;break}k=c[b>>2]|0;h=c[k+168>>2]|0;if(h>>>0<(c[k+172>>2]|0)>>>0){c[k+168>>2]=h+1;h=a[h>>0]|0}else{if(!(c[k+32>>2]|0))continue;h=Gi[c[k+16>>2]&255](c[k+28>>2]|0,k+40|0,c[k+36>>2]|0)|0;if(!h){c[k+32>>2]=0;a[k+40>>0]=0;j=k+41|0;i=k+41|0;h=0}else{j=k+41|0;i=k+40+h|0;h=a[k+40>>0]|0}c[k+172>>2]=i;c[k+168>>2]=j}if(h<<24>>24==-1)break}if((s|0)==62){s=0;a[b+18116>>0]=-1;break}do{j=c[b>>2]|0;g=c[j+168>>2]|0;if(g>>>0<(c[j+172>>2]|0)>>>0){c[j+168>>2]=g+1;g=a[g>>0]|0}else{if(!(c[j+32>>2]|0)){g=0;break e}g=Gi[c[j+16>>2]&255](c[j+28>>2]|0,j+40|0,c[j+36>>2]|0)|0;if(!g){c[j+32>>2]=0;a[j+40>>0]=0;i=j+41|0;h=j+41|0;g=0}else{i=j+41|0;h=j+40+g|0;g=a[j+40>>0]|0}c[j+172>>2]=h;c[j+168>>2]=i}}while(g<<24>>24==-1)}else a[b+18116>>0]=-1;while(0);h=g&255;g=g<<24>>24==-62;if(g|(h|1|0)==193){m=g;break c}}if((s|0)==186)return u|0}while(0);c[b+18124>>2]=m&1;o=c[b>>2]|0;g=c[o+168>>2]|0;h=c[o+172>>2]|0;if(g>>>0>>0){c[o+168>>2]=g+1;j=a[g>>0]|0;g=g+1|0}else if(!(c[o+32>>2]|0))j=0;else{g=Gi[c[o+16>>2]&255](c[o+28>>2]|0,o+40|0,c[o+36>>2]|0)|0;if(!g){c[o+32>>2]=0;a[o+40>>0]=0;i=o+41|0;h=o+41|0;g=0}else{i=o+41|0;h=o+40+g|0;g=a[o+40>>0]|0}c[o+172>>2]=h;c[o+168>>2]=i;j=g;g=i}j=(j&255)<<8;if(g>>>0>>0){m=g+1|0;c[o+168>>2]=m;i=a[g>>0]|0;g=m}else if(!(c[o+32>>2]|0))i=0;else{h=Gi[c[o+16>>2]&255](c[o+28>>2]|0,o+40|0,c[o+36>>2]|0)|0;if(!h){c[o+32>>2]=0;a[o+40>>0]=0;g=o+41|0;h=o+41|0;i=0}else{g=o+41|0;h=o+40+h|0;i=a[o+40>>0]|0}c[o+172>>2]=h;c[o+168>>2]=g}l=i&255|j;if(l>>>0<11){b=0;return b|0}if(g>>>0>>0){i=g+1|0;c[o+168>>2]=i;g=a[g>>0]|0}else{if(!(c[o+32>>2]|0)){b=0;return b|0}g=Gi[c[o+16>>2]&255](c[o+28>>2]|0,o+40|0,c[o+36>>2]|0)|0;if(!g){c[o+32>>2]=0;a[o+40>>0]=0;i=o+41|0;h=o+41|0;g=0}else{i=o+41|0;h=o+40+g|0;g=a[o+40>>0]|0}c[o+172>>2]=h;c[o+168>>2]=i}if(g<<24>>24!=8){b=0;return b|0}if(i>>>0>>0){m=i+1|0;c[o+168>>2]=m;g=a[i>>0]|0;i=m}else if(!(c[o+32>>2]|0))g=0;else{g=Gi[c[o+16>>2]&255](c[o+28>>2]|0,o+40|0,c[o+36>>2]|0)|0;if(!g){c[o+32>>2]=0;a[o+40>>0]=0;i=o+41|0;h=o+41|0;g=0}else{i=o+41|0;h=o+40+g|0;g=a[o+40>>0]|0}c[o+172>>2]=h;c[o+168>>2]=i}j=(g&255)<<8;if(i>>>0>>0){m=i+1|0;c[o+168>>2]=m;g=a[i>>0]|0;i=m}else if(!(c[o+32>>2]|0))g=0;else{g=Gi[c[o+16>>2]&255](c[o+28>>2]|0,o+40|0,c[o+36>>2]|0)|0;if(!g){c[o+32>>2]=0;a[o+40>>0]=0;i=o+41|0;h=o+41|0;g=0}else{i=o+41|0;h=o+40+g|0;g=a[o+40>>0]|0}c[o+172>>2]=h;c[o+168>>2]=i}m=g&255|j;c[o+4>>2]=m;if(!m){b=0;return b|0}if(i>>>0>>0){m=i+1|0;c[o+168>>2]=m;g=a[i>>0]|0;i=m}else if(!(c[o+32>>2]|0))g=0;else{g=Gi[c[o+16>>2]&255](c[o+28>>2]|0,o+40|0,c[o+36>>2]|0)|0;if(!g){c[o+32>>2]=0;a[o+40>>0]=0;i=o+41|0;h=o+41|0;g=0}else{i=o+41|0;h=o+40+g|0;g=a[o+40>>0]|0}c[o+172>>2]=h;c[o+168>>2]=i}j=(g&255)<<8;if(i>>>0>>0){m=i+1|0;c[o+168>>2]=m;g=a[i>>0]|0;i=m}else if(!(c[o+32>>2]|0))g=0;else{g=Gi[c[o+16>>2]&255](c[o+28>>2]|0,o+40|0,c[o+36>>2]|0)|0;if(!g){c[o+32>>2]=0;a[o+40>>0]=0;i=o+41|0;h=o+41|0;g=0}else{i=o+41|0;h=o+40+g|0;g=a[o+40>>0]|0}c[o+172>>2]=h;c[o+168>>2]=i}m=g&255|j;c[o>>2]=m;if(!m){b=0;return b|0}if(i>>>0>>0){m=i+1|0;c[o+168>>2]=m;g=a[i>>0]|0;i=m}else{if(!(c[o+32>>2]|0)){b=0;return b|0}g=Gi[c[o+16>>2]&255](c[o+28>>2]|0,o+40|0,c[o+36>>2]|0)|0;if(!g){c[o+32>>2]=0;a[o+40>>0]=0;i=o+41|0;h=o+41|0;g=0}else{i=o+41|0;h=o+40+g|0;g=a[o+40>>0]|0}c[o+172>>2]=h;c[o+168>>2]=i}j=g&255;switch(g<<24>>24){case 1:case 3:break;default:{b=0;return b|0}}c[o+8>>2]=j;k=0;do{c[b+17820+(k*72|0)+44>>2]=0;c[b+17820+(k*72|0)+56>>2]=0;k=k+1|0}while((k|0)!=(j|0));if((l|0)!=((j*3|0)+8|0)){b=0;return b|0}f:do if(!(g<<24>>24))t=j;else{l=0;while(1){do if(i>>>0>>0){m=i+1|0;c[o+168>>2]=m;g=a[i>>0]|0;i=m}else{if(!(c[o+32>>2]|0)){g=0;break}g=Gi[c[o+16>>2]&255](c[o+28>>2]|0,o+40|0,c[o+36>>2]|0)|0;if(!g){c[o+32>>2]=0;a[o+40>>0]=0;h=o+41|0;g=0}else{h=o+40+g|0;g=a[o+40>>0]|0}c[o+172>>2]=h;c[o+168>>2]=o+41;i=o+41|0}while(0);m=g&255;c[b+17820+(l*72|0)>>2]=m;k=l;l=l+1|0;if(!((m|0)==(l|0)|(m|0)==(k|0))){u=0;s=186;break}do if(i>>>0>>0){m=i+1|0;c[o+168>>2]=m;g=a[i>>0]|0;i=m}else{if(!(c[o+32>>2]|0)){g=0;break}g=Gi[c[o+16>>2]&255](c[o+28>>2]|0,o+40|0,c[o+36>>2]|0)|0;if(!g){c[o+32>>2]=0;a[o+40>>0]=0;h=o+41|0;g=0}else{h=o+40+g|0;g=a[o+40>>0]|0}c[o+172>>2]=h;c[o+168>>2]=o+41;i=o+41|0}while(0);j=g&255;c[b+17820+(k*72|0)+4>>2]=j>>>4;if((g&255)>79|(j>>>4|0)==0){u=0;s=186;break}c[b+17820+(k*72|0)+8>>2]=j&15;if(((j&15)+-1|0)>>>0>3){u=0;s=186;break}do if(i>>>0>>0){p=i+1|0;c[o+168>>2]=p;f=a[i>>0]|0;n=h;s=170}else{if(!(c[o+32>>2]|0)){c[b+17820+(k*72|0)+12>>2]=0;q=h;r=i;break}f=Gi[c[o+16>>2]&255](c[o+28>>2]|0,o+40|0,c[o+36>>2]|0)|0;if(!f){c[o+32>>2]=0;a[o+40>>0]=0;g=o+41|0;f=0}else{g=o+40+f|0;f=a[o+40>>0]|0}c[o+172>>2]=g;c[o+168>>2]=o+41;n=g;p=o+41|0;s=170}while(0);if((s|0)==170){s=0;c[b+17820+(k*72|0)+12>>2]=f&255;if((f&255)>3){u=0;s=186;break}else{q=n;r=p}}g=c[o+8>>2]|0;if((l|0)>=(g|0)){t=g;break f}else{i=r;h=q}}if((s|0)==186)return u|0}while(0);if(d|0){b=1;return b|0}j=c[o>>2]|0;k=c[o+4>>2]|0;if((((1073741824/(j>>>0)|0)>>>0)/(t>>>0)|0)>>>0>>0){b=0;return b|0}if((t|0)>0){f=c[o+8>>2]|0;g=1;i=0;h=1;do{t=c[b+17820+(i*72|0)+4>>2]|0;g=(t|0)>(g|0)?t:g;t=c[b+17820+(i*72|0)+8>>2]|0;h=(t|0)>(h|0)?t:h;i=i+1|0}while((i|0)<(f|0));n=g}else{f=t;n=1;h=1}c[b+17796>>2]=n;c[b+17800>>2]=h;d=n<<3;c[b+17812>>2]=d;t=h<<3;c[b+17816>>2]=t;c[b+17804>>2]=((j+-1+d|0)>>>0)/(d>>>0)|0;c[b+17808>>2]=((k+-1+t|0)>>>0)/(t>>>0)|0;if((f|0)<=0){b=1;return b|0}l=n+-1|0;m=h+-1|0;i=j;g=k;j=0;while(1){f=c[b+17820+(j*72|0)+4>>2]|0;c[b+17820+(j*72|0)+28>>2]=((l+(_(f,i)|0)|0)>>>0)/(n>>>0)|0;i=c[b+17820+(j*72|0)+8>>2]|0;c[b+17820+(j*72|0)+32>>2]=((m+(_(i,g)|0)|0)>>>0)/(h>>>0)|0;f=_(c[b+17804>>2]<<3,f)|0;c[b+17820+(j*72|0)+36>>2]=f;g=_(c[b+17808>>2]<<3,i)|0;c[b+17820+(j*72|0)+40>>2]=g;i=Vpb(_(g,f)|0|15)|0;c[b+17820+(j*72|0)+48>>2]=i;if(!i){e=j;break}c[b+17820+(j*72|0)+44>>2]=i+15&-16;c[b+17820+(j*72|0)+56>>2]=0;if(!(c[b+18124>>2]|0)){f=0;g=0}else{c[b+17820+(j*72|0)+64>>2]=f>>3;c[b+17820+(j*72|0)+68>>2]=g>>3;g=Vpb(_(f<<4,g>>3)|0|15)|0;f=g+15&-16}c[b+17820+(j*72|0)+52>>2]=g;c[b+17820+(j*72|0)+60>>2]=f;f=j+1|0;if((f|0)>=(c[o+8>>2]|0)){u=1;s=186;break}i=c[o>>2]|0;g=c[o+4>>2]|0;j=f}if((s|0)==186)return u|0;if((e|0)<=0){b=0;return b|0}do{u=e;e=e+-1|0;t=b+17820+(e*72|0)+48|0;Wpb(c[t>>2]|0);c[t>>2]=0}while((u|0)>1);u=0;return u|0}else if((s|0)==186)return u|0;return 0}function yha(e,f){e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+64|0;switch(f|0){case 221:{k=c[e>>2]|0;f=c[k+168>>2]|0;g=c[k+172>>2]|0;if(f>>>0>>0){c[k+168>>2]=f+1;j=a[f>>0]|0;f=f+1|0}else if(!(c[k+32>>2]|0))j=0;else{f=Gi[c[k+16>>2]&255](c[k+28>>2]|0,k+40|0,c[k+36>>2]|0)|0;if(!f){c[k+32>>2]=0;a[k+40>>0]=0;h=k+41|0;g=k+41|0;f=0}else{h=k+41|0;g=k+40+f|0;f=a[k+40>>0]|0}c[k+172>>2]=g;c[k+168>>2]=h;j=f;f=h}j=(j&255)<<8;if(f>>>0>>0){c[k+168>>2]=f+1;f=a[f>>0]|0}else if(!(c[k+32>>2]|0))f=0;else{f=Gi[c[k+16>>2]&255](c[k+28>>2]|0,k+40|0,c[k+36>>2]|0)|0;if(!f){c[k+32>>2]=0;a[k+40>>0]=0;h=k+41|0;g=k+41|0;f=0}else{h=k+41|0;g=k+40+f|0;f=a[k+40>>0]|0}c[k+172>>2]=g;c[k+168>>2]=h}if((f&255|j|0)!=4){e=0;e=e&1;i=p;return e|0}k=c[e>>2]|0;g=c[k+168>>2]|0;h=c[k+172>>2]|0;if(g>>>0>>0){c[k+168>>2]=g+1;f=a[g>>0]|0;g=g+1|0}else if(!(c[k+32>>2]|0))f=0;else{f=Gi[c[k+16>>2]&255](c[k+28>>2]|0,k+40|0,c[k+36>>2]|0)|0;if(!f){c[k+32>>2]=0;a[k+40>>0]=0;g=k+41|0;h=k+41|0;f=0}else{g=k+41|0;h=k+40+f|0;f=a[k+40>>0]|0}c[k+172>>2]=h;c[k+168>>2]=g}j=(f&255)<<8;if(g>>>0>>0){c[k+168>>2]=g+1;f=a[g>>0]|0}else if(!(c[k+32>>2]|0))f=0;else{f=Gi[c[k+16>>2]&255](c[k+28>>2]|0,k+40|0,c[k+36>>2]|0)|0;if(!f){c[k+32>>2]=0;a[k+40>>0]=0;h=k+41|0;g=k+41|0;f=0}else{h=k+41|0;g=k+40+f|0;f=a[k+40>>0]|0}c[k+172>>2]=g;c[k+168>>2]=h}c[e+18168>>2]=f&255|j;e=1;e=e&1;i=p;return e|0}case 219:{k=c[e>>2]|0;g=c[k+168>>2]|0;h=c[k+172>>2]|0;if(g>>>0>>0){c[k+168>>2]=g+1;f=a[g>>0]|0;g=g+1|0}else if(!(c[k+32>>2]|0))f=0;else{f=Gi[c[k+16>>2]&255](c[k+28>>2]|0,k+40|0,c[k+36>>2]|0)|0;if(!f){c[k+32>>2]=0;a[k+40>>0]=0;g=k+41|0;h=k+41|0;f=0}else{g=k+41|0;h=k+40+f|0;f=a[k+40>>0]|0}c[k+172>>2]=h;c[k+168>>2]=g}j=(f&255)<<8;if(g>>>0>>0){c[k+168>>2]=g+1;f=a[g>>0]|0}else if(!(c[k+32>>2]|0))f=0;else{f=Gi[c[k+16>>2]&255](c[k+28>>2]|0,k+40|0,c[k+36>>2]|0)|0;if(!f){c[k+32>>2]=0;a[k+40>>0]=0;h=k+41|0;g=k+41|0;f=0}else{h=k+41|0;g=k+40+f|0;f=a[k+40>>0]|0}c[k+172>>2]=g;c[k+168>>2]=h}f=f&255|j;a:do if(f>>>0>2){m=f+-2|0;while(1){j=c[e>>2]|0;f=c[j+168>>2]|0;if(f>>>0<(c[j+172>>2]|0)>>>0){c[j+168>>2]=f+1;f=a[f>>0]|0}else if(!(c[j+32>>2]|0))f=0;else{f=Gi[c[j+16>>2]&255](c[j+28>>2]|0,j+40|0,c[j+36>>2]|0)|0;if(!f){c[j+32>>2]=0;a[j+40>>0]=0;h=j+41|0;g=j+41|0;f=0}else{h=j+41|0;g=j+40+f|0;f=a[j+40>>0]|0}c[j+172>>2]=g;c[j+168>>2]=h}k=f&255;if((k&240|0)!=0|(k&15)>>>0>3){f=0;break}else l=0;do{j=c[e>>2]|0;f=c[j+168>>2]|0;if(f>>>0<(c[j+172>>2]|0)>>>0){c[j+168>>2]=f+1;f=a[f>>0]|0}else if(!(c[j+32>>2]|0))f=0;else{f=Gi[c[j+16>>2]&255](c[j+28>>2]|0,j+40|0,c[j+36>>2]|0)|0;if(!f){c[j+32>>2]=0;a[j+40>>0]=0;h=j+41|0;g=j+41|0;f=0}else{h=j+41|0;g=j+40+f|0;f=a[j+40>>0]|0}c[j+172>>2]=g;c[j+168>>2]=h}a[(d[438370+l>>0]|0)+(e+13444+((k&15)<<6))>>0]=f;l=l+1|0}while((l|0)!=64);f=m+-65|0;if((m|0)>65)m=f;else break a}e=f&1;i=p;return e|0}else f=f+-2|0;while(0);e=(f|0)==0;e=e&1;i=p;return e|0}case 196:{k=c[e>>2]|0;f=c[k+168>>2]|0;g=c[k+172>>2]|0;if(f>>>0>>0){c[k+168>>2]=f+1;j=a[f>>0]|0;f=f+1|0}else if(!(c[k+32>>2]|0))j=0;else{f=Gi[c[k+16>>2]&255](c[k+28>>2]|0,k+40|0,c[k+36>>2]|0)|0;if(!f){c[k+32>>2]=0;a[k+40>>0]=0;h=k+41|0;g=k+41|0;f=0}else{h=k+41|0;g=k+40+f|0;f=a[k+40>>0]|0}c[k+172>>2]=g;c[k+168>>2]=h;j=f;f=h}j=(j&255)<<8;if(f>>>0>>0){c[k+168>>2]=f+1;f=a[f>>0]|0}else if(!(c[k+32>>2]|0))f=0;else{f=Gi[c[k+16>>2]&255](c[k+28>>2]|0,k+40|0,c[k+36>>2]|0)|0;if(!f){c[k+32>>2]=0;a[k+40>>0]=0;h=k+41|0;g=k+41|0;f=0}else{h=k+41|0;g=k+40+f|0;f=a[k+40>>0]|0}c[k+172>>2]=g;c[k+168>>2]=h}f=f&255|j;b:do if(f>>>0>2){m=f+-2|0;while(1){j=c[e>>2]|0;f=c[j+168>>2]|0;if(f>>>0<(c[j+172>>2]|0)>>>0){c[j+168>>2]=f+1;f=a[f>>0]|0}else if(!(c[j+32>>2]|0))f=0;else{f=Gi[c[j+16>>2]&255](c[j+28>>2]|0,j+40|0,c[j+36>>2]|0)|0;if(!f){c[j+32>>2]=0;a[j+40>>0]=0;h=j+41|0;g=j+41|0;f=0}else{h=j+41|0;g=j+40+f|0;f=a[j+40>>0]|0}c[j+172>>2]=g;c[j+168>>2]=h}o=f&255;if((f&255)>31|(o&15)>>>0>3)break;else{l=0;k=0}while(1){j=c[e>>2]|0;f=c[j+168>>2]|0;if(f>>>0<(c[j+172>>2]|0)>>>0){c[j+168>>2]=f+1;f=a[f>>0]|0}else if(!(c[j+32>>2]|0))f=0;else{f=Gi[c[j+16>>2]&255](c[j+28>>2]|0,j+40|0,c[j+36>>2]|0)|0;if(!f){c[j+32>>2]=0;a[j+40>>0]=0;h=j+41|0;g=j+41|0;f=0}else{h=j+41|0;g=j+40+f|0;f=a[j+40>>0]|0}c[j+172>>2]=g;c[j+168>>2]=h}n=f&255;c[p+(l<<2)>>2]=n;n=n+k|0;l=l+1|0;if((l|0)==16)break;else k=n}m=m+-17|0;if(!(o&240)){if(!(zha(e+4+((o&15)*1680|0)|0,p)|0))break;l=e+4+((o&15)*1680|0)+1024|0}else{if(!(zha(e+6724+((o&15)*1680|0)|0,p)|0))break;l=e+6724+((o&15)*1680|0)+1024|0}if((n|0)>0){k=0;do{j=c[e>>2]|0;f=c[j+168>>2]|0;if(f>>>0<(c[j+172>>2]|0)>>>0){c[j+168>>2]=f+1;f=a[f>>0]|0}else if(!(c[j+32>>2]|0))f=0;else{f=Gi[c[j+16>>2]&255](c[j+28>>2]|0,j+40|0,c[j+36>>2]|0)|0;if(!f){c[j+32>>2]=0;a[j+40>>0]=0;h=j+41|0;g=j+41|0;f=0}else{h=j+41|0;g=j+40+f|0;f=a[j+40>>0]|0}c[j+172>>2]=g;c[j+168>>2]=h}a[l+k>>0]=f;k=k+1|0}while((k|0)!=(n|0))}if(o&240|0){k=0;do{f=a[e+6724+((o&15)*1680|0)+k>>0]|0;h=e+13700+((o&15)<<10)+(k<<1)|0;b[h>>1]=0;if(f<<24>>24!=-1){j=d[e+6724+((o&15)*1680|0)+1024+(f&255)>>0]|0;g=d[e+6724+((o&15)*1680|0)+1280+(f&255)>>0]|0;if(j&15|0)if((g+(j&15)|0)>>>0<10){f=(k<>>(9-(j&15)|0);if((f|0)<(1<<(j&15)+-1|0))f=(-1<<(j&15))+1+f|0;if((f+128|0)>>>0<256)b[h>>1]=(f<<8|j&240)+(g+(j&15))}}k=k+1|0}while((k|0)!=512)}if((m-n|0)>0)m=m-n|0;else{f=m-n|0;break b}}e=0;e=e&1;i=p;return e|0}else f=f+-2|0;while(0);e=(f|0)==0;e=e&1;i=p;return e|0}case 255:{e=0;e=e&1;i=p;return e|0}default:{if(!((f|0)==254|(f&-16|0)==224)){e=0;e=e&1;i=p;return e|0}m=c[e>>2]|0;f=c[m+168>>2]|0;g=c[m+172>>2]|0;if(f>>>0>>0){c[m+168>>2]=f+1;k=a[f>>0]|0;f=f+1|0;j=g;h=g}else if(!(c[m+32>>2]|0)){k=0;j=g;h=g}else{f=Gi[c[m+16>>2]&255](c[m+28>>2]|0,m+40|0,c[m+36>>2]|0)|0;if(!f){c[m+32>>2]=0;a[m+40>>0]=0;g=m+41|0;h=m+41|0;f=0}else{g=m+41|0;h=m+40+f|0;f=a[m+40>>0]|0}c[m+172>>2]=h;c[m+168>>2]=g;k=f;f=g;j=h}l=(k&255)<<8;if(f>>>0>>0){k=f+1|0;c[m+168>>2]=k;g=a[f>>0]|0;f=k;k=h}else if(!(c[m+32>>2]|0)){g=0;k=h}else{g=Gi[c[m+16>>2]&255](c[m+28>>2]|0,m+40|0,c[m+36>>2]|0)|0;if(!g){c[m+32>>2]=0;a[m+40>>0]=0;f=m+41|0;h=m+41|0;g=0}else{f=m+41|0;h=m+40+g|0;g=a[m+40>>0]|0}c[m+172>>2]=h;c[m+168>>2]=f;k=h;j=h}h=g&255|l;if(h>>>0<2){c[m+168>>2]=k;e=1;e=e&1;i=p;return e|0}if(c[m+16>>2]|0){g=j-f|0;if((h+-2|0)>(g|0)){c[m+168>>2]=j;si[c[m+20>>2]&511](c[m+28>>2]|0,h+-2-g|0);e=1;e=e&1;i=p;return e|0}}c[m+168>>2]=f+(h+-2);e=1;e=e&1;i=p;return e|0}}return 0}function zha(f,g){f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0;m=0;h=0;do{j=g+(m<<2)|0;m=m+1|0;if((c[j>>2]|0)>0){k=m&255;l=0;i=h;while(1){h=i+1|0;a[f+1280+i>>0]=k;l=l+1|0;if((l|0)>=(c[j>>2]|0))break;else i=h}}}while((m|0)!=16);a[f+1280+h>>0]=0;h=0;i=1;j=0;while(1){c[f+1612+(i<<2)>>2]=j-h;if((d[f+1280+j>>0]|0|0)==(i|0)){k=j;while(1){l=h+1|0;j=k+1|0;b[f+512+(k<<1)>>1]=h;if((d[f+1280+j>>0]|0|0)==(i|0)){h=l;k=j}else break}if((h|0)<(1<>2]=h<<16-i;i=i+1|0;if((i|0)<17)h=h<<1;else break}if((n|0)==16)return h|0;c[f+1540+(i<<2)>>2]=-1;hBb(f|0,-1,512)|0;if((j|0)>0)i=0;else{f=1;return f|0}do{h=a[f+1280+i>>0]|0;if((h&255)<10)if((9-(h&255)|0)!=31)hBb(f+((e[f+512+(i<<1)>>1]|0)<<9-(h&255))|0,i&255|0,((1<<9-(h&255)|0)>1?1<<9-(h&255):1)|0)|0;i=i+1|0}while((i|0)!=(j|0));h=1;return h|0}function Aha(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;d=c[b+168>>2]|0;e=c[b+172>>2]|0;if(d>>>0>>0){c[b+168>>2]=d+1;g=a[d>>0]|0;d=d+1|0}else if(!(c[b+32>>2]|0))g=0;else{d=Gi[c[b+16>>2]&255](c[b+28>>2]|0,b+40|0,c[b+36>>2]|0)|0;if(!d){c[b+32>>2]=0;a[b+40>>0]=0;f=b+41|0;e=b+41|0;d=0}else{f=b+41|0;e=b+40+d|0;d=a[b+40>>0]|0}c[b+172>>2]=e;c[b+168>>2]=f;g=d;d=f}g=g&255;if(d>>>0>>0){h=d+1|0;c[b+168>>2]=h;f=a[d>>0]|0;d=h}else if(!(c[b+32>>2]|0))f=0;else{e=Gi[c[b+16>>2]&255](c[b+28>>2]|0,b+40|0,c[b+36>>2]|0)|0;if(!e){c[b+32>>2]=0;a[b+40>>0]=0;d=b+41|0;e=b+41|0;f=0}else{d=b+41|0;e=b+40+e|0;f=a[b+40>>0]|0}c[b+172>>2]=e;c[b+168>>2]=d}h=(f&255)<<8|g;if(d>>>0>>0){g=d+1|0;c[b+168>>2]=g;f=a[d>>0]|0;d=g}else if(!(c[b+32>>2]|0))f=0;else{e=Gi[c[b+16>>2]&255](c[b+28>>2]|0,b+40|0,c[b+36>>2]|0)|0;if(!e){c[b+32>>2]=0;a[b+40>>0]=0;d=b+41|0;e=b+41|0;f=0}else{d=b+41|0;e=b+40+e|0;f=a[b+40>>0]|0}c[b+172>>2]=e;c[b+168>>2]=d}g=f&255;if(d>>>0>>0){c[b+168>>2]=d+1;b=a[d>>0]|0;b=b&255;b=b<<8;b=b|g;b=b<<16;b=h|b;return b|0}if(!(c[b+32>>2]|0)){b=0;b=b&255;b=b<<8;b=b|g;b=b<<16;b=h|b;return b|0}d=Gi[c[b+16>>2]&255](c[b+28>>2]|0,b+40|0,c[b+36>>2]|0)|0;if(!d){c[b+32>>2]=0;a[b+40>>0]=0;f=b+41|0;d=b+41|0;e=0}else{f=b+41|0;d=b+40+d|0;e=a[b+40>>0]|0}c[b+172>>2]=d;c[b+168>>2]=f;b=e;b=b&255;b=b<<8;b=b|g;b=b<<16;b=h|b;return b|0}function Bha(a,b){a=a|0;b=b|0;return (b|0)==0|0}function Cha(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;m=i;i=i+192|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;c[m+4>>2]=0;k=vi[c[(c[e>>2]|0)+16>>2]&2047](e)|0;d=vi[c[(c[e>>2]|0)+20>>2]&2047](e)|0;c[m+8+16>>2]=0;c[m+8+32>>2]=0;c[m+8+176>>2]=k;c[m+8+168>>2]=k;c[m+8+180>>2]=k+d;c[m+8+172>>2]=k+d;d=Dha(m+8|0,b,b+4|0,m+4|0,4)|0;if((d|0)!=0&0!=0){e=c[b>>2]|0;f=c[b+4>>2]|0;if((f>>1|0)>0)if((e|0)>0){k=0;do{g=_(k,e)|0;h=_(f+-1-k|0,e)|0;j=0;do{p=j+g<<2;n=j+h<<2;o=a[d+p>>0]|0;a[d+p>>0]=a[d+n>>0]|0;a[d+n>>0]=o;o=a[d+(p|1)>>0]|0;a[d+(p|1)>>0]=a[d+(n|1)>>0]|0;a[d+(n|1)>>0]=o;o=a[d+(p|2)>>0]|0;a[d+(p|2)>>0]=a[d+(n|2)>>0]|0;a[d+(n|2)>>0]=o;o=a[d+(p|3)>>0]|0;a[d+(p|3)>>0]=a[d+(n|3)>>0]|0;a[d+(n|3)>>0]=o;j=j+1|0}while((j|0)!=(e|0));k=k+1|0}while((k|0)!=(f>>1|0));c[b+12>>2]=d}else l=8;else l=8}else l=8;do if((l|0)==8){c[b+12>>2]=d;if(!d){p=nf(16)|0;ds(p,438707,m);zc(p|0,96,27)}else{e=c[b>>2]|0;break}}while(0);if((e|0)<1){p=nf(16)|0;ds(p,438707,m);zc(p|0,96,27)}d=c[b+4>>2]|0;if((d|0)<1){p=nf(16)|0;ds(p,438707,m);zc(p|0,96,27)}else{c[b+8>>2]=_(e<<2,d)|0;i=m;return}}function Dha(e,f,h,j,k){e=e|0;f=f|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,v=0,w=0,x=0,y=0,z=0,C=0,D=0,E=0,F=0;C=0;F=i;i=i+30848|0;r=c[e+168>>2]|0;s=c[e+172>>2]|0;if(r>>>0>>0){c[e+168>>2]=r+1;o=a[r>>0]|0;p=s;q=r+1|0;C=8}else if(!(c[e+32>>2]|0))u=1;else{o=Gi[c[e+16>>2]&255](c[e+28>>2]|0,e+40|0,c[e+36>>2]|0)|0;if(!o){c[e+32>>2]=0;a[e+40>>0]=0;q=e+41|0;p=e+41|0;o=0}else{q=e+41|0;p=e+40+o|0;o=a[e+40>>0]|0}c[e+172>>2]=p;c[e+168>>2]=q;C=8}a:do if((C|0)==8)if(o<<24>>24==-1){b:while(1){if(q>>>0

>>0){u=q+1|0;c[e+168>>2]=u;o=a[q>>0]|0;q=u}else{if(!(c[e+32>>2]|0)){u=1;break a}o=Gi[c[e+16>>2]&255](c[e+28>>2]|0,e+40|0,c[e+36>>2]|0)|0;if(!o){c[e+32>>2]=0;a[e+40>>0]=0;p=e+41|0;o=0}else{p=e+40+o|0;o=a[e+40>>0]|0}c[e+172>>2]=p;c[e+168>>2]=e+41;q=e+41|0}switch(o<<24>>24){case -1:break;case -40:break b;default:{u=1;break a}}}u=0}else u=1;while(0);o=c[e+176>>2]|0;c[e+168>>2]=o;p=c[e+180>>2]|0;c[e+172>>2]=p;if(!u){c[F+4>>2]=e;c[F+4+18176>>2]=98;c[F+4+18180>>2]=47;c[F+4+18184>>2]=78;c[e+8>>2]=0;c:{l=1;if(l){l=0;if(k>>>0>4)v=0;else l=1}if(l)if(1){c[F+4+17868>>2]=0;c[F+4+17872>>2]=0;c[F+4+17940>>2]=0;c[F+4+17944>>2]=0;c[F+4+18012>>2]=0;c[F+4+18016>>2]=0;c[F+4+18084>>2]=0;c[F+4+18088>>2]=0;c[(F+4+18168|0)>>2]=0;d:do if(xha(F+4|0,0)|0){l=a[(F+4+18116|0)>>0]|0;e:do if(l<<24>>24==-1){o=c[F+4>>2]|0;l=c[o+168>>2]|0;if(l>>>0<(c[o+172>>2]|0)>>>0){c[o+168>>2]=l+1;l=a[l>>0]|0}else{if(!(c[o+32>>2]|0)){l=-1;break}l=Gi[c[o+16>>2]&255](c[o+28>>2]|0,o+40|0,c[o+36>>2]|0)|0;if(!l){c[o+32>>2]=0;a[o+40>>0]=0;n=o+41|0;m=o+41|0;l=0}else{n=o+41|0;m=o+40+l|0;l=a[o+40>>0]|0}c[o+172>>2]=m;c[o+168>>2]=n}if(l<<24>>24==-1)do{o=c[F+4>>2]|0;l=c[o+168>>2]|0;if(l>>>0<(c[o+172>>2]|0)>>>0){c[o+168>>2]=l+1;l=a[l>>0]|0}else{if(!(c[o+32>>2]|0)){l=0;break e}l=Gi[c[o+16>>2]&255](c[o+28>>2]|0,o+40|0,c[o+36>>2]|0)|0;if(!l){c[o+32>>2]=0;a[o+40>>0]=0;n=o+41|0;m=o+41|0;l=0}else{n=o+41|0;m=o+40+l|0;l=a[o+40>>0]|0}c[o+172>>2]=m;c[o+168>>2]=n}}while(l<<24>>24==-1);else l=-1}else a[(F+4+18116|0)>>0]=-1;while(0);f:while(1){v=l&255;g:{w=1;e=v|0;if(w)switch(e|0){case 217:break f;default:w=1}if(w){w=0;switch(e|0){case 218:{p=c[F+4>>2]|0;l=c[p+168>>2]|0;m=c[p+172>>2]|0;if(l>>>0>>0){c[p+168>>2]=l+1;o=a[l>>0]|0;l=l+1|0}else if(!(c[p+32>>2]|0))o=0;else{l=Gi[c[p+16>>2]&255](c[p+28>>2]|0,p+40|0,c[p+36>>2]|0)|0;if(!l){c[p+32>>2]=0;a[p+40>>0]=0;n=p+41|0;m=p+41|0;l=0}else{n=p+41|0;m=p+40+l|0;l=a[p+40>>0]|0}c[p+172>>2]=m;c[p+168>>2]=n;o=l;l=n}o=(o&255)<<8;if(l>>>0>>0){c[p+168>>2]=l+1;l=a[l>>0]|0}else if(!(c[p+32>>2]|0))l=0;else{l=Gi[c[p+16>>2]&255](c[p+28>>2]|0,p+40|0,c[p+36>>2]|0)|0;if(!l){c[p+32>>2]=0;a[p+40>>0]=0;n=p+41|0;m=p+41|0;l=0}else{n=p+41|0;m=p+40+l|0;l=a[p+40>>0]|0}c[p+172>>2]=m;c[p+168>>2]=n}p=l&255|o;o=c[F+4>>2]|0;l=c[o+168>>2]|0;if(l>>>0<(c[o+172>>2]|0)>>>0){c[o+168>>2]=l+1;l=a[l>>0]|0}else{if(!(c[o+32>>2]|0)){C=59;break f}l=Gi[c[o+16>>2]&255](c[o+28>>2]|0,o+40|0,c[o+36>>2]|0)|0;if(!l){c[o+32>>2]=0;a[o+40>>0]=0;n=o+41|0;m=o+41|0;l=0}else{n=o+41|0;m=o+40+l|0;l=a[o+40>>0]|0}c[o+172>>2]=m;c[o+168>>2]=n}m=l&255;c[(F+4+18148|0)>>2]=m;if((l+-1&255)>3)break d;l=c[F+4>>2]|0;if((m|0)>(c[l+8>>2]|0))break d;if((p|0)==((m<<1)+6|0))u=0;else break d;while(1){s=(u|0)<(m|0);q=l+168|0;m=c[q>>2]|0;r=l+172|0;if(m>>>0<(c[r>>2]|0)>>>0){c[q>>2]=m+1;l=a[m>>0]|0}else{m=l+32|0;if(!(c[m>>2]|0))l=0;else{p=l+40|0;n=Gi[c[l+16>>2]&255](c[l+28>>2]|0,p,c[l+36>>2]|0)|0;if(!n){c[m>>2]=0;m=l+41|0;a[p>>0]=0;o=m;l=0}else{o=l+41|0;m=l+40+n|0;l=a[p>>0]|0}c[r>>2]=m;c[q>>2]=o}}p=l&255;if(!s)break;o=c[F+4>>2]|0;l=c[o+168>>2]|0;do if(l>>>0<(c[o+172>>2]|0)>>>0){c[o+168>>2]=l+1;m=a[l>>0]|0;l=o}else{if(!(c[o+32>>2]|0)){m=0;l=o;break}l=Gi[c[o+16>>2]&255](c[o+28>>2]|0,o+40|0,c[o+36>>2]|0)|0;if(!l){c[o+32>>2]=0;a[o+40>>0]=0;n=o+41|0;l=o+41|0;m=0}else{n=o+41|0;l=o+40+l|0;m=a[o+40>>0]|0}c[o+172>>2]=l;c[o+168>>2]=n;l=c[F+4>>2]|0}while(0);o=m&255;n=c[l+8>>2]|0;h:do if((n|0)>0){l=0;do{if((c[F+4+17820+(l*72|0)>>2]|0)==(p|0))break h;l=l+1|0}while((l|0)<(n|0))}else l=0;while(0);if((l|0)==(n|0))break d;c[F+4+17820+(l*72|0)+16>>2]=o>>>4;if((m&255)>63)break d;c[F+4+17820+(l*72|0)+20>>2]=o&15;if((o&15)>>>0>3)break d;c[F+4+18152+(u<<2)>>2]=l;m=c[(F+4+18148|0)>>2]|0;l=c[F+4>>2]|0;u=u+1|0}c[F+4+18128>>2]=p;o=c[F+4>>2]|0;l=c[o+168>>2]|0;n=c[o+172>>2]|0;if(l>>>0>>0){c[o+168>>2]=l+1;m=a[l>>0]|0;l=l+1|0}else if(!(c[o+32>>2]|0))m=0;else{l=Gi[c[o+16>>2]&255](c[o+28>>2]|0,o+40|0,c[o+36>>2]|0)|0;if(!l){c[o+32>>2]=0;a[o+40>>0]=0;n=o+41|0;l=o+41|0;m=0}else{n=o+41|0;l=o+40+l|0;m=a[o+40>>0]|0}c[o+172>>2]=l;c[o+168>>2]=n;n=c[F+4>>2]|0;o=n;l=c[n+168>>2]|0;n=c[n+172>>2]|0}c[(F+4+18132|0)>>2]=m&255;q=o+168|0;r=o+172|0;if(l>>>0>>0){c[q>>2]=l+1;l=a[l>>0]|0}else{l=o+32|0;if(!(c[l>>2]|0))l=0;else{p=o+40|0;m=Gi[c[o+16>>2]&255](c[o+28>>2]|0,p,c[o+36>>2]|0)|0;if(!m){c[l>>2]=0;m=o+41|0;a[p>>0]=0;n=m;l=0}else{n=o+41|0;m=o+40+m|0;l=a[p>>0]|0}c[r>>2]=m;c[q>>2]=n}}m=l&255;c[F+4+18136>>2]=m>>>4;c[F+4+18140>>2]=m&15;n=(c[F+4+18124>>2]|0)==0;o=c[F+4+18128>>2]|0;if(n){if(!((o|0)==0&(m>>>4|m&15|0)==0))break d;c[(F+4+18132|0)>>2]=63}else{if((o|0)>63)break d;u=c[(F+4+18132|0)>>2]|0;if((u|0)>63|(o|0)>(u|0))break d;if((l&255)>223|(m&15)>>>0>13)break d}c[(F+4+18112|0)>>2]=0;c[(F+4+18108|0)>>2]=0;c[(F+4+18120|0)>>2]=0;c[(F+4+17988|0)>>2]=0;c[(F+4+17916|0)>>2]=0;c[(F+4+17844|0)>>2]=0;a[(F+4+18116|0)>>0]=-1;r=c[(F+4+18168|0)>>2]|0;r=(r|0)==0?2147483647:r;c[(F+4+18172|0)>>2]=r;c[(F+4+18144|0)>>2]=0;s=(c[(F+4+18148|0)>>2]|0)==1;i:do{u=1;c[F+19408>>2]=r;c[F+22944>>2]=y;c[F+26536>>2]=n;c[F+26792>>2]=s;c[F+30608>>2]=C;c[F+30640>>2]=u;c[F+30704>>2]=0;c[F+30708>>2]=0;Jsa(F);y=c[F+22944>>2]|0;C=c[F+30608>>2]|0;A=c[F+30704>>2]|0;t=c[F+30708>>2]|0;B=+g[F+30708>>2];c[F+30704>>2]=0;c[F+30708>>2]=0;if((A|0)==1)break;if((A|0)==2)switch(t|0){case 36:break d;case 37:break i}}while(0);if((C|0)==437){C=0;y=a[(F+4+18116|0)>>0]|0}if(y<<24>>24!=-1){z=y;break g}j:while(1){l=c[F+4>>2]|0;do if(!(c[l+16>>2]|0))C=442;else{if(!(vi[c[l+24>>2]&2047](c[l+28>>2]|0)|0))break;if(!(c[l+32>>2]|0)){C=460;break g}else C=442}while(0);if((C|0)==442){C=0;if((c[l+168>>2]|0)>>>0>=(c[l+172>>2]|0)>>>0){C=460;break g}}o=c[F+4>>2]|0;l=c[o+168>>2]|0;if(l>>>0<(c[o+172>>2]|0)>>>0){c[o+168>>2]=l+1;l=a[l>>0]|0}else{if(!(c[o+32>>2]|0))continue;l=Gi[c[o+16>>2]&255](c[o+28>>2]|0,o+40|0,c[o+36>>2]|0)|0;if(!l){c[o+32>>2]=0;a[o+40>>0]=0;n=o+41|0;m=o+41|0;l=0}else{n=o+41|0;m=o+40+l|0;l=a[o+40>>0]|0}c[o+172>>2]=m;c[o+168>>2]=n}switch(l<<24>>24){case 0:break;case -1:break j;default:break d}}o=c[F+4>>2]|0;l=c[o+168>>2]|0;do if(l>>>0<(c[o+172>>2]|0)>>>0){c[o+168>>2]=l+1;l=a[l>>0]|0}else{if(!(c[o+32>>2]|0)){l=0;break}l=Gi[c[o+16>>2]&255](c[o+28>>2]|0,o+40|0,c[o+36>>2]|0)|0;if(!l){c[o+32>>2]=0;a[o+40>>0]=0;n=o+41|0;m=o+41|0;l=0}else{n=o+41|0;m=o+40+l|0;l=a[o+40>>0]|0}c[o+172>>2]=m;c[o+168>>2]=n}while(0);a[(F+4+18116|0)>>0]=l;x=l;C=461;break}default:w=1}}if(w)switch(e|0){default:if(!(yha(F+4|0,v)|0))break d;else C=460}}if((C|0)==460){x=a[(F+4+18116|0)>>0]|0;C=461}if((C|0)==461){C=0;if(x<<24>>24==-1){o=c[F+4>>2]|0;l=c[o+168>>2]|0;if(l>>>0<(c[o+172>>2]|0)>>>0){c[o+168>>2]=l+1;l=a[l>>0]|0}else{if(!(c[o+32>>2]|0)){l=-1;continue}l=Gi[c[o+16>>2]&255](c[o+28>>2]|0,o+40|0,c[o+36>>2]|0)|0;if(!l){c[o+32>>2]=0;a[o+40>>0]=0;n=o+41|0;m=o+41|0;l=0}else{n=o+41|0;m=o+40+l|0;l=a[o+40>>0]|0}c[o+172>>2]=m;c[o+168>>2]=n}if(l<<24>>24!=-1){l=-1;continue}while(1){o=c[F+4>>2]|0;l=c[o+168>>2]|0;if(l>>>0<(c[o+172>>2]|0)>>>0){c[o+168>>2]=l+1;l=a[l>>0]|0}else{if(!(c[o+32>>2]|0)){l=0;continue f}l=Gi[c[o+16>>2]&255](c[o+28>>2]|0,o+40|0,c[o+36>>2]|0)|0;if(!l){c[o+32>>2]=0;a[o+40>>0]=0;n=o+41|0;m=o+41|0;l=0}else{n=o+41|0;m=o+40+l|0;l=a[o+40>>0]|0}c[o+172>>2]=m;c[o+168>>2]=n}if(l<<24>>24!=-1)continue f}}else z=x}a[(F+4+18116|0)>>0]=-1;l=z}if((C|0)==59){c[(F+4+18148|0)>>2]=0;break}l=c[F+4>>2]|0;m=c[l+8>>2]|0;if((m|0)>0?(c[F+4+18124>>2]|0)!=0:0){y=0;do{r=(c[F+4+17820+(y*72|0)+28>>2]|0)+7>>3;s=(c[F+4+17820+(y*72|0)+32>>2]|0)+7>>3;if((s|0)>0){u=F+4+17820+(y*72|0)+60|0;v=F+4+17820+(y*72|0)+64|0;w=F+4+17820+(y*72|0)+12|0;e=F+4+17820+(y*72|0)+44|0;x=F+4+17820+(y*72|0)+36|0;if((r|0)>0){q=0;do{n=q<<3;p=0;do{l=(c[u>>2]|0)+((_(c[v>>2]|0,q)|0)+p<<6<<1)|0;m=c[w>>2]|0;o=0;do{z=l+(o<<1)|0;b[z>>1]=_(b[z>>1]|0,d[F+4+13444+(m<<6)+o>>0]|0)|0;o=o+1|0}while((o|0)!=64);z=c[x>>2]|0;o=(c[e>>2]|0)+(_(z,n)|0)+(p<<3)|0;$i[c[F+4+18176>>2]&255](o,z,l);p=p+1|0}while((p|0)!=(r|0));q=q+1|0}while((q|0)!=(s|0));l=c[F+4>>2]|0}}y=y+1|0;m=c[l+8>>2]|0}while((y|0)<(m|0))}q=l+8|0;u=(k|0)==0?m:k;s=(m|0)==3&(u|0)<3?1:m;k:do if((s|0)>0){m=c[l>>2]|0;p=0;while(1){o=F+18192+(p<<5)|0;k=Vpb(m+3|0)|0;c[F+4+17820+(p*72|0)+56>>2]=k;if(!k)break;k=(c[F+4+17796>>2]|0)/(c[F+4+17820+(p*72|0)+4>>2]|0)|0;c[F+18192+(p<<5)+12>>2]=k;n=(c[F+4+17800>>2]|0)/(c[F+4+17820+(p*72|0)+8>>2]|0)|0;c[F+18192+(p<<5)+16>>2]=n;c[F+18192+(p<<5)+24>>2]=n>>1;m=c[l>>2]|0;c[F+18192+(p<<5)+20>>2]=((k+-1+m|0)>>>0)/(k>>>0)|0;c[F+18192+(p<<5)+28>>2]=0;z=c[F+4+17820+(p*72|0)+44>>2]|0;c[F+18192+(p<<5)+8>>2]=z;c[F+18192+(p<<5)+4>>2]=z;l:do switch(k|0){case 1:switch(n|0){case 1:{c[o>>2]=79;break l}case 2:{c[o>>2]=80;break l}default:{C=516;break l}}case 2:switch(n|0){case 1:{c[o>>2]=81;break l}case 2:{c[o>>2]=c[F+4+18184>>2];break l}default:{C=516;break l}}default:C=516}while(0);if((C|0)==516){C=0;c[o>>2]=82}p=p+1|0;if((p|0)>=(s|0)){E=m;C=518;break k}}if((c[q>>2]|0)>0){o=0;do{m=F+4+17820+(o*72|0)+48|0;n=c[m>>2]|0;if(n|0){Wpb(n);c[m>>2]=0;c[F+4+17820+(o*72|0)+44>>2]=0}m=F+4+17820+(o*72|0)+52|0;n=c[m>>2]|0;if(n|0){Wpb(n);c[m>>2]=0;c[F+4+17820+(o*72|0)+60>>2]=0}m=F+4+17820+(o*72|0)+56|0;n=c[m>>2]|0;if(n|0){Wpb(n);c[m>>2]=0}o=o+1|0}while((o|0)<(c[(c[F+4>>2]|0)+8>>2]|0));D=0}else D=0}else{E=c[l>>2]|0;C=518}while(0);m:do if((C|0)==518){r=_(E,u)|0;m=l+4|0;r=Vpb((_(r,c[m>>2]|0)|0)+1|0)|0;if(!r){if((c[q>>2]|0)>0)n=0;else{D=0;break}while(1){l=F+4+17820+(n*72|0)+48|0;m=c[l>>2]|0;if(m|0){Wpb(m);c[l>>2]=0;c[F+4+17820+(n*72|0)+44>>2]=0}l=F+4+17820+(n*72|0)+52|0;m=c[l>>2]|0;if(m|0){Wpb(m);c[l>>2]=0;c[F+4+17820+(n*72|0)+60>>2]=0}l=F+4+17820+(n*72|0)+56|0;m=c[l>>2]|0;if(m|0){Wpb(m);c[l>>2]=0}n=n+1|0;if((n|0)>=(c[(c[F+4>>2]|0)+8>>2]|0)){D=0;break m}}}if(c[m>>2]|0){q=0;do{p=r+(_(_(q,u)|0,c[l>>2]|0)|0)|0;if((s|0)>0){o=0;do{l=F+18192+(o<<5)+24|0;D=c[l>>2]|0;E=c[F+18192+(o<<5)+16>>2]|0;m=F+18192+(o<<5)+8|0;n=F+18192+(o<<5)+4|0;c[F+18320+(o<<2)>>2]=Ci[c[F+18192+(o<<5)>>2]&127](c[F+4+17820+(o*72|0)+56>>2]|0,c[((D|0)>=(E>>1|0)?m:n)>>2]|0,c[((D|0)>=(E>>1|0)?n:m)>>2]|0,c[F+18192+(o<<5)+20>>2]|0,c[F+18192+(o<<5)+12>>2]|0)|0;c[l>>2]=D+1;do if((D+1|0)>=(E|0)){c[l>>2]=0;l=c[m>>2]|0;c[n>>2]=l;D=F+18192+(o<<5)+28|0;E=(c[D>>2]|0)+1|0;c[D>>2]=E;if((E|0)>=(c[F+4+17820+(o*72|0)+32>>2]|0))break;c[m>>2]=l+(c[F+4+17820+(o*72|0)+36>>2]|0)}while(0);o=o+1|0}while((o|0)!=(s|0));l=c[F+4>>2]|0}o=c[F+18320>>2]|0;do if((u|0)>2){if((c[l+8>>2]|0)==3){Ii[c[F+4+18180>>2]&63](p,o,c[F+18320+4>>2]|0,c[F+18320+8>>2]|0,c[l>>2]|0,u);l=c[F+4>>2]|0;break}if(c[l>>2]|0){n=0;m=p;while(1){l=a[o+n>>0]|0;a[m+2>>0]=l;a[m+1>>0]=l;a[m>>0]=l;a[m+3>>0]=-1;n=n+1|0;l=c[F+4>>2]|0;if(n>>>0>=(c[l>>2]|0)>>>0)break;else m=m+u|0}}}else{m=(c[l>>2]|0)!=0;if((u|0)==1){if(m)m=0;else break;do{a[p+m>>0]=a[o+m>>0]|0;m=m+1|0}while(m>>>0<(c[l>>2]|0)>>>0)}else{if(m){n=0;m=p}else break;while(1){a[m>>0]=a[o+n>>0]|0;a[m+1>>0]=-1;n=n+1|0;l=c[F+4>>2]|0;if(n>>>0>=(c[l>>2]|0)>>>0)break;else m=m+2|0}}}while(0);q=q+1|0}while(q>>>0<(c[l+4>>2]|0)>>>0)}if((c[l+8>>2]|0)>0){n=0;do{l=F+4+17820+(n*72|0)+48|0;m=c[l>>2]|0;if(m|0){Wpb(m);c[l>>2]=0;c[F+4+17820+(n*72|0)+44>>2]=0}l=F+4+17820+(n*72|0)+52|0;m=c[l>>2]|0;if(m|0){Wpb(m);c[l>>2]=0;c[F+4+17820+(n*72|0)+60>>2]=0}l=F+4+17820+(n*72|0)+56|0;m=c[l>>2]|0;if(m|0){Wpb(m);c[l>>2]=0}n=n+1|0;l=c[F+4>>2]|0}while((n|0)<(c[l+8>>2]|0))}c[f>>2]=c[l>>2];c[h>>2]=c[l+4>>2];if(!j)D=r;else{c[j>>2]=c[l+8>>2];D=r}}while(0);v=D;break c}while(0);if((c[(c[F+4>>2]|0)+8>>2]|0)>0){n=0;do{l=F+4+17820+(n*72|0)+48|0;m=c[l>>2]|0;if(m|0){Wpb(m);c[l>>2]=0;c[F+4+17820+(n*72|0)+44>>2]=0}l=F+4+17820+(n*72|0)+52|0;m=c[l>>2]|0;if(m|0){Wpb(m);c[l>>2]=0;c[F+4+17820+(n*72|0)+60>>2]=0}l=F+4+17820+(n*72|0)+56|0;m=c[l>>2]|0;if(m|0){Wpb(m);c[l>>2]=0}n=n+1|0}while((n|0)<(c[(c[F+4>>2]|0)+8>>2]|0));v=0}else v=0}}h=v;i=F;return h|0}if(o>>>0

>>0){c[e+168>>2]=o+1;l=a[o>>0]|0;m=o+1|0;n=p;C=565}else if(!(c[e+32>>2]|0))C=602;else{l=Gi[c[e+16>>2]&255](c[e+28>>2]|0,e+40|0,c[e+36>>2]|0)|0;if(!l){c[e+32>>2]=0;a[e+40>>0]=0;m=e+41|0;n=e+41|0;l=0}else{m=e+41|0;n=e+40+l|0;l=a[e+40>>0]|0}c[e+172>>2]=n;c[e+168>>2]=m;C=565}c[F+19360>>2]=e;c[F+19368>>2]=f;c[F+19376>>2]=h;c[F+19384>>2]=j;c[F+19392>>2]=k;c[F+19464>>2]=w;c[F+19480>>2]=l;c[F+23712>>2]=m;c[F+23720>>2]=n;c[F+30608>>2]=C;c[F+30696>>2]=0;c[F+30700>>2]=0;Isa(F);A=c[F+30696>>2]|0;t=c[F+30700>>2]|0;B=+g[F+30700>>2];c[F+30696>>2]=0;c[F+30700>>2]=0;if((A|0)==6)return t|0;return 0|0;return 0}function Eha(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;w=i;i=i+256|0;j=0;k=w;while(1){h=b[f+16>>1]|0;g=b[f+32>>1]|0;if(!((h|g)<<16>>16))if(!(b[f+48>>1]|0))if(!(b[f+64>>1]|0))if(!(b[f+80>>1]|0))if(!(b[f+96>>1]|0))if(!(b[f+112>>1]|0)){v=b[f>>1]<<2;c[k+224>>2]=v;c[k+192>>2]=v;c[k+160>>2]=v;c[k+128>>2]=v;c[k+96>>2]=v;c[k+64>>2]=v;c[k+32>>2]=v;c[k>>2]=v}else{g=0;l=9}else{g=0;l=9}else{g=0;l=9}else{g=0;l=9}else{g=0;l=9}else l=9;if((l|0)==9){l=0;s=g<<16>>16;y=b[f+96>>1]|0;o=((y+s|0)*2217|0)+(_(y,-7567)|0)|0;m=b[f>>1]|0;n=b[f+64>>1]|0;u=b[f+112>>1]|0;q=b[f+80>>1]|0;g=b[f+48>>1]|0;v=(((h<<16>>16)+q+(g+u)|0)*4816|0)+(_((h<<16>>16)+u|0,-3685)|0)|0;r=(((h<<16>>16)+q+(g+u)|0)*4816|0)+(_(g+q|0,-10497)|0)|0;t=_(g+u|0,-8034)|0;p=_((h<<16>>16)+q|0,-1597)|0;x=((y+s|0)*2217|0)+(s*3135|0)+512+(n+m<<12)|0;s=(n+m<<12)-(((y+s|0)*2217|0)+(s*3135|0))+512|0;c[k>>2]=p+((h<<16>>16)*6149|0)+v+x>>10;c[k+224>>2]=x-(p+((h<<16>>16)*6149|0)+v)>>10;c[k+32>>2]=t+(g*12586|0)+r+(o+512+(m-n<<12))>>10;c[k+192>>2]=o+512+(m-n<<12)-(t+(g*12586|0)+r)>>10;c[k+64>>2]=p+(q*8410|0)+r+((m-n<<12)-o+512)>>10;c[k+160>>2]=(m-n<<12)-o+512-(p+(q*8410|0)+r)>>10;c[k+96>>2]=t+(u*1223|0)+v+s>>10;c[k+128>>2]=s-(t+(u*1223|0)+v)>>10}j=j+1|0;if((j|0)==8){v=0;u=w;break}else{f=f+2|0;k=k+4|0}}while(1){t=c[u+8>>2]|0;f=c[u+24>>2]|0;k=((f+t|0)*2217|0)+(_(f,-7567)|0)|0;l=c[u>>2]|0;m=c[u+16>>2]|0;q=c[u+28>>2]|0;n=c[u+20>>2]|0;j=c[u+12>>2]|0;g=c[u+4>>2]|0;r=((g+n+(j+q)|0)*4816|0)+(_(g+q|0,-3685)|0)|0;o=((g+n+(j+q)|0)*4816|0)+(_(j+n|0,-10497)|0)|0;s=_(j+q|0,-8034)|0;p=_(g+n|0,-1597)|0;h=((f+t|0)*2217|0)+(t*3135|0)+16842752+(m+l<<12)|0;t=(m+l<<12)-(((f+t|0)*2217|0)+(t*3135|0))+16842752|0;f=p+(g*6149|0)+r+h>>17;if(f>>>0>255)f=~(p+(g*6149|0)+r+h>>31&255);else f=f&255;a[d>>0]=f;f=h-(p+(g*6149|0)+r)>>17;if(f>>>0>255)f=~(h-(p+(g*6149|0)+r)>>31&255);else f=f&255;a[d+7>>0]=f;f=s+(j*12586|0)+o+(k+16842752+(l-m<<12))|0;if(f>>17>>>0>255)f=~(f>>31&255);else f=f>>17&255;a[d+1>>0]=f;f=k+16842752+(l-m<<12)-(s+(j*12586|0)+o)|0;if(f>>17>>>0>255)f=~(f>>31&255);else f=f>>17&255;a[d+6>>0]=f;f=p+(n*8410|0)+o+((l-m<<12)-k+16842752)|0;if(f>>17>>>0>255)f=~(f>>31&255);else f=f>>17&255;a[d+2>>0]=f;f=(l-m<<12)-k+16842752-(p+(n*8410|0)+o)|0;if(f>>17>>>0>255)f=~(f>>31&255);else f=f>>17&255;a[d+5>>0]=f;f=s+(q*1223|0)+r+t>>17;if(f>>>0>255)f=~(s+(q*1223|0)+r+t>>31&255);else f=f&255;a[d+3>>0]=f;f=t-(s+(q*1223|0)+r)>>17;if(f>>>0>255)f=~(t-(s+(q*1223|0)+r)>>31&255);else f=f&255;a[d+4>>0]=f;v=v+1|0;if((v|0)==8)break;else{d=d+e|0;u=u+32|0}}i=w;return}function Fha(b,c,e,f,g,h){b=b|0;c=c|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0;if((g|0)>0)i=0;else return;while(1){j=(d[c+i>>0]|0)<<20|524288;k=(d[f+i>>0]|0)+-128|0;m=(d[e+i>>0]|0)+-128|0;l=(_(k,1470208)|0)+j|0;k=(_(k,-748800)|0)+j+((_(m,-360960)|0)&-65536)|0;j=(_(m,1858048)|0)+j|0;a[b>>0]=l>>20>>>0>255?(l>>>31)+255|0:l>>20;a[b+1>>0]=k>>20>>>0>255?(k>>>31)+255|0:k>>20;a[b+2>>0]=j>>20>>>0>255?(j>>>31)+255|0:j>>20;a[b+3>>0]=-1;i=i+1|0;if((i|0)==(g|0))break;else b=b+h|0}return}function Gha(b,c,e,f,g){b=b|0;c=c|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0;g=((d[c>>0]|0)*3|0)+(d[e>>0]|0)|0;if((f|0)==1){a[b+1>>0]=(g+2|0)>>>2;a[b>>0]=(g+2|0)>>>2;return b|0}a[b>>0]=(g+2|0)>>>2;if((f|0)>1){i=1;h=g;while(1){g=((d[c+i>>0]|0)*3|0)+(d[e+i>>0]|0)|0;j=i<<1;a[b+(j+-1)>>0]=((h*3|0)+8+g|0)>>>4;a[b+j>>0]=(h+8+(g*3|0)|0)>>>4;i=i+1|0;if((i|0)==(f|0))break;else h=g}}a[b+((f<<1)+-1)>>0]=(g+2|0)>>>2;return b|0}function Hha(e,f,g,h,j,k,l){e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+16|0;a:do if((c[e+18112>>2]|0)<16){b:while(1){do if(!(c[e+18120>>2]|0)){p=c[e>>2]|0;m=c[p+168>>2]|0;if(m>>>0<(c[p+172>>2]|0)>>>0){c[p+168>>2]=m+1;n=a[m>>0]|0}else{if(!(c[p+32>>2]|0)){m=0;break}m=Gi[c[p+16>>2]&255](c[p+28>>2]|0,p+40|0,c[p+36>>2]|0)|0;if(!m){c[p+32>>2]=0;a[p+40>>0]=0;o=p+41|0;m=p+41|0;n=0}else{o=p+41|0;m=p+40+m|0;n=a[p+40>>0]|0}c[p+172>>2]=m;c[p+168>>2]=o}m=n&255;if(n<<24>>24==-1){p=c[e>>2]|0;m=c[p+168>>2]|0;if(m>>>0<(c[p+172>>2]|0)>>>0){c[p+168>>2]=m+1;m=a[m>>0]|0}else{if(!(c[p+32>>2]|0)){m=255;break}m=Gi[c[p+16>>2]&255](c[p+28>>2]|0,p+40|0,c[p+36>>2]|0)|0;if(!m){c[p+32>>2]=0;a[p+40>>0]=0;o=p+41|0;n=p+41|0;m=0}else{o=p+41|0;n=p+40+m|0;m=a[p+40>>0]|0}c[p+172>>2]=n;c[p+168>>2]=o}if(!(m<<24>>24))m=255;else break b}}else m=0;while(0);r=c[e+18112>>2]|0;c[e+18108>>2]=m<<24-r|c[e+18108>>2];c[e+18112>>2]=r+8;if((r+8|0)>=25)break a}a[e+18116>>0]=m;c[e+18120>>2]=1}while(0);g=Iha(e,g)|0;if((g|0)<0){e=0;i=s;return e|0}m=f;n=m+128|0;do{b[m>>1]=0;m=m+2|0}while((m|0)<(n|0));do if(!g){r=e+18108|0;m=0}else{c:do if((c[e+18112>>2]|0)<(g|0)){d:while(1){do if(!(c[e+18120>>2]|0)){p=c[e>>2]|0;m=c[p+168>>2]|0;if(m>>>0<(c[p+172>>2]|0)>>>0){c[p+168>>2]=m+1;n=a[m>>0]|0}else{if(!(c[p+32>>2]|0)){m=0;break}m=Gi[c[p+16>>2]&255](c[p+28>>2]|0,p+40|0,c[p+36>>2]|0)|0;if(!m){c[p+32>>2]=0;a[p+40>>0]=0;o=p+41|0;m=p+41|0;n=0}else{o=p+41|0;m=p+40+m|0;n=a[p+40>>0]|0}c[p+172>>2]=m;c[p+168>>2]=o}m=n&255;if(n<<24>>24==-1){p=c[e>>2]|0;m=c[p+168>>2]|0;if(m>>>0<(c[p+172>>2]|0)>>>0){c[p+168>>2]=m+1;m=a[m>>0]|0}else{if(!(c[p+32>>2]|0)){m=255;break}m=Gi[c[p+16>>2]&255](c[p+28>>2]|0,p+40|0,c[p+36>>2]|0)|0;if(!m){c[p+32>>2]=0;a[p+40>>0]=0;o=p+41|0;n=p+41|0;m=0}else{o=p+41|0;n=p+40+m|0;m=a[p+40>>0]|0}c[p+172>>2]=n;c[p+168>>2]=o}if(!(m<<24>>24))m=255;else break d}}else m=0;while(0);r=c[e+18112>>2]|0;c[e+18108>>2]=m<<24-r|c[e+18108>>2];c[e+18112>>2]=r+8;if((r+8|0)>=25){m=e+18108|0;break c}}a[e+18116>>0]=m;c[e+18120>>2]=1;m=e+18108|0}else m=e+18108|0;while(0);n=c[m>>2]|0;if(g>>>0<17){q=c[65624+(g<<2)>>2]|0;c[m>>2]=(n<>>(32-g|0))&~q;c[e+18112>>2]=(c[e+18112>>2]|0)-g;r=m;m=(c[24732+(g<<2)>>2]&~(n>>31))+(q&(n<>>(32-g|0)))|0;break}else{e=nf(16)|0;c[s>>2]=438588;ds(e,438531,s);zc(e|0,96,27)}}while(0);m=(c[e+17820+(k*72|0)+24>>2]|0)+m|0;c[e+17820+(k*72|0)+24>>2]=m;b[f>>1]=_(d[l>>0]|0,m)|0;m=1;e:while(1){f:do if((c[e+18112>>2]|0)<16){g:while(1){do if(!(c[e+18120>>2]|0)){g=c[e>>2]|0;n=c[g+168>>2]|0;if(n>>>0<(c[g+172>>2]|0)>>>0){c[g+168>>2]=n+1;o=a[n>>0]|0}else{if(!(c[g+32>>2]|0)){n=0;break}n=Gi[c[g+16>>2]&255](c[g+28>>2]|0,g+40|0,c[g+36>>2]|0)|0;if(!n){c[g+32>>2]=0;a[g+40>>0]=0;p=g+41|0;n=g+41|0;o=0}else{p=g+41|0;n=g+40+n|0;o=a[g+40>>0]|0}c[g+172>>2]=n;c[g+168>>2]=p}n=o&255;if(o<<24>>24==-1){g=c[e>>2]|0;n=c[g+168>>2]|0;if(n>>>0<(c[g+172>>2]|0)>>>0){c[g+168>>2]=n+1;n=a[n>>0]|0}else{if(!(c[g+32>>2]|0)){n=255;break}n=Gi[c[g+16>>2]&255](c[g+28>>2]|0,g+40|0,c[g+36>>2]|0)|0;if(!n){c[g+32>>2]=0;a[g+40>>0]=0;p=g+41|0;o=g+41|0;n=0}else{p=g+41|0;o=g+40+n|0;n=a[g+40>>0]|0}c[g+172>>2]=o;c[g+168>>2]=p}if(!(n<<24>>24))n=255;else break g}}else n=0;while(0);q=c[e+18112>>2]|0;c[r>>2]=n<<24-q|c[r>>2];c[e+18112>>2]=q+8;if((q+8|0)>=25)break f}a[e+18116>>0]=n;c[e+18120>>2]=1}while(0);n=c[r>>2]|0;o=b[j+(n>>>23<<1)>>1]|0;do if(!(o<<16>>16)){q=Iha(e,h)|0;if((q|0)<0){m=0;n=98;break e}if(!(q&15))if((q|0)==240){m=m+16|0;break}else{m=1;n=98;break e}g=(q>>4)+m|0;k=d[438370+g>>0]|0;m=c[e+18112>>2]|0;h:do if((m|0)<(q&15|0)){i:while(1){do if(!(c[e+18120>>2]|0)){p=c[e>>2]|0;m=c[p+168>>2]|0;if(m>>>0<(c[p+172>>2]|0)>>>0){c[p+168>>2]=m+1;m=a[m>>0]|0}else{if(!(c[p+32>>2]|0)){n=0;break}m=Gi[c[p+16>>2]&255](c[p+28>>2]|0,p+40|0,c[p+36>>2]|0)|0;if(!m){c[p+32>>2]=0;a[p+40>>0]=0;o=p+41|0;n=p+41|0;m=0}else{o=p+41|0;n=p+40+m|0;m=a[p+40>>0]|0}c[p+172>>2]=n;c[p+168>>2]=o}n=m&255;if(m<<24>>24==-1){p=c[e>>2]|0;m=c[p+168>>2]|0;if(m>>>0<(c[p+172>>2]|0)>>>0){c[p+168>>2]=m+1;m=a[m>>0]|0}else{if(!(c[p+32>>2]|0)){n=255;break}m=Gi[c[p+16>>2]&255](c[p+28>>2]|0,p+40|0,c[p+36>>2]|0)|0;if(!m){c[p+32>>2]=0;a[p+40>>0]=0;o=p+41|0;n=p+41|0;m=0}else{o=p+41|0;n=p+40+m|0;m=a[p+40>>0]|0}c[p+172>>2]=n;c[p+168>>2]=o}if(!(m<<24>>24))n=255;else break i}}else n=0;while(0);m=c[e+18112>>2]|0;c[r>>2]=n<<24-m|c[r>>2];c[e+18112>>2]=m+8;if((m+8|0)>=25){m=m+8|0;break h}}a[e+18116>>0]=m;c[e+18120>>2]=1;m=c[e+18112>>2]|0}while(0);o=c[r>>2]|0;p=c[65624+((q&15)<<2)>>2]|0;c[r>>2]=(o<<(q&15)|o>>>(32-(q&15)|0))&~p;c[e+18112>>2]=m-(q&15);b[f+(k<<1)>>1]=_((c[24732+((q&15)<<2)>>2]&~(o>>31))+((o<<(q&15)|o>>>(32-(q&15)|0))&p)|0,d[l+k>>0]|0)|0;m=g+1|0}else{m=(o<<16>>16>>>4&15)+m|0;c[r>>2]=n<<(o&15);c[e+18112>>2]=(c[e+18112>>2]|0)-(o&15);q=d[438370+m>>0]|0;b[f+(q<<1)>>1]=_(d[l+q>>0]|0,o<<16>>16>>8)|0;m=m+1|0}while(0);if((m|0)>=64){m=1;n=98;break}}if((n|0)==98){i=s;return m|0}return 0}function Iha(b,f){b=b|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0;m=i;i=i+16|0;a:do if((c[b+18112>>2]|0)<16){b:while(1){do if(!(c[b+18120>>2]|0)){k=c[b>>2]|0;g=c[k+168>>2]|0;if(g>>>0<(c[k+172>>2]|0)>>>0){c[k+168>>2]=g+1;h=a[g>>0]|0}else{if(!(c[k+32>>2]|0)){g=0;break}g=Gi[c[k+16>>2]&255](c[k+28>>2]|0,k+40|0,c[k+36>>2]|0)|0;if(!g){c[k+32>>2]=0;a[k+40>>0]=0;j=k+41|0;g=k+41|0;h=0}else{j=k+41|0;g=k+40+g|0;h=a[k+40>>0]|0}c[k+172>>2]=g;c[k+168>>2]=j}g=h&255;if(h<<24>>24==-1){k=c[b>>2]|0;g=c[k+168>>2]|0;if(g>>>0<(c[k+172>>2]|0)>>>0){c[k+168>>2]=g+1;g=a[g>>0]|0}else{if(!(c[k+32>>2]|0)){g=255;break}g=Gi[c[k+16>>2]&255](c[k+28>>2]|0,k+40|0,c[k+36>>2]|0)|0;if(!g){c[k+32>>2]=0;a[k+40>>0]=0;j=k+41|0;h=k+41|0;g=0}else{j=k+41|0;h=k+40+g|0;g=a[k+40>>0]|0}c[k+172>>2]=h;c[k+168>>2]=j}if(!(g<<24>>24))g=255;else break b}}else g=0;while(0);l=c[b+18112>>2]|0;c[b+18108>>2]=g<<24-l|c[b+18108>>2];c[b+18112>>2]=l+8;if((l+8|0)>=25){k=b+18108|0;break a}}a[b+18116>>0]=g;c[b+18120>>2]=1;k=b+18108|0}else k=b+18108|0;while(0);l=c[k>>2]|0;g=a[f+(l>>>23)>>0]|0;if(g<<24>>24!=-1){h=d[f+1280+(g&255)>>0]|0;j=c[b+18112>>2]|0;if((j|0)<(h|0)){b=-1;i=m;return b|0}c[k>>2]=l<>2]=j-h;b=d[f+1024+(g&255)>>0]|0;i=m;return b|0}g=10;while(1)if(l>>>16>>>0<(c[f+1540+(g<<2)>>2]|0)>>>0)break;else g=g+1|0;h=c[b+18112>>2]|0;if((g|0)==17){c[b+18112>>2]=h+-16;b=-1;i=m;return b|0}if((h|0)<(g|0)){b=-1;i=m;return b|0}j=(l>>>(32-g|0)&c[65624+(g<<2)>>2])+(c[f+1612+(g<<2)>>2]|0)|0;n=d[f+1280+j>>0]|0;if((l>>>(32-n|0)&c[65624+(n<<2)>>2]|0)!=(e[f+512+(j<<1)>>1]|0|0)){n=nf(16)|0;c[m>>2]=438449;ds(n,438531,m);zc(n|0,96,27)}c[b+18112>>2]=h-g;c[k>>2]=l<>0]|0;i=m;return n|0}function Jha(d,f,g,h){d=d|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;if(c[d+18132>>2]|0){d=0;i=n;return d|0}a:do if((c[d+18112>>2]|0)<16){b:while(1){do if(!(c[d+18120>>2]|0)){m=c[d>>2]|0;j=c[m+168>>2]|0;if(j>>>0<(c[m+172>>2]|0)>>>0){c[m+168>>2]=j+1;k=a[j>>0]|0}else{if(!(c[m+32>>2]|0)){j=0;break}j=Gi[c[m+16>>2]&255](c[m+28>>2]|0,m+40|0,c[m+36>>2]|0)|0;if(!j){c[m+32>>2]=0;a[m+40>>0]=0;l=m+41|0;j=m+41|0;k=0}else{l=m+41|0;j=m+40+j|0;k=a[m+40>>0]|0}c[m+172>>2]=j;c[m+168>>2]=l}j=k&255;if(k<<24>>24==-1){m=c[d>>2]|0;j=c[m+168>>2]|0;if(j>>>0<(c[m+172>>2]|0)>>>0){c[m+168>>2]=j+1;j=a[j>>0]|0}else{if(!(c[m+32>>2]|0)){j=255;break}j=Gi[c[m+16>>2]&255](c[m+28>>2]|0,m+40|0,c[m+36>>2]|0)|0;if(!j){c[m+32>>2]=0;a[m+40>>0]=0;l=m+41|0;k=m+41|0;j=0}else{l=m+41|0;k=m+40+j|0;j=a[m+40>>0]|0}c[m+172>>2]=k;c[m+168>>2]=l}if(!(j<<24>>24))j=255;else break b}}else j=0;while(0);m=c[d+18112>>2]|0;c[d+18108>>2]=j<<24-m|c[d+18108>>2];c[d+18112>>2]=m+8;if((m+8|0)>=25)break a}a[d+18116>>0]=j;c[d+18120>>2]=1}while(0);if(c[d+18136>>2]|0){j=c[d+18112>>2]|0;c:do if((j|0)<1){d:while(1){do if(!(c[d+18120>>2]|0)){m=c[d>>2]|0;j=c[m+168>>2]|0;if(j>>>0<(c[m+172>>2]|0)>>>0){c[m+168>>2]=j+1;j=a[j>>0]|0}else{if(!(c[m+32>>2]|0)){k=0;break}j=Gi[c[m+16>>2]&255](c[m+28>>2]|0,m+40|0,c[m+36>>2]|0)|0;if(!j){c[m+32>>2]=0;a[m+40>>0]=0;l=m+41|0;k=m+41|0;j=0}else{l=m+41|0;k=m+40+j|0;j=a[m+40>>0]|0}c[m+172>>2]=k;c[m+168>>2]=l}k=j&255;if(j<<24>>24==-1){m=c[d>>2]|0;j=c[m+168>>2]|0;if(j>>>0<(c[m+172>>2]|0)>>>0){c[m+168>>2]=j+1;j=a[j>>0]|0}else{if(!(c[m+32>>2]|0)){k=255;break}j=Gi[c[m+16>>2]&255](c[m+28>>2]|0,m+40|0,c[m+36>>2]|0)|0;if(!j){c[m+32>>2]=0;a[m+40>>0]=0;l=m+41|0;k=m+41|0;j=0}else{l=m+41|0;k=m+40+j|0;j=a[m+40>>0]|0}c[m+172>>2]=k;c[m+168>>2]=l}if(!(j<<24>>24))k=255;else break d}}else k=0;while(0);j=c[d+18112>>2]|0;c[d+18108>>2]=k<<24-j|c[d+18108>>2];c[d+18112>>2]=j+8;if((j+8|0)>=25){k=d+18108|0;j=j+8|0;break c}}a[d+18116>>0]=j;c[d+18120>>2]=1;k=d+18108|0;j=c[d+18112>>2]|0}else k=d+18108|0;while(0);h=c[k>>2]|0;c[k>>2]=h<<1;c[d+18112>>2]=j+-1;if((h|0)>-1){d=1;i=n;return d|0}b[f>>1]=(e[f>>1]|0)+(65536<>2]>>>16);d=1;i=n;return d|0}j=f;k=j+128|0;do{b[j>>1]=0;j=j+2|0}while((j|0)<(k|0));g=Iha(d,g)|0;do if(!g)j=0;else{e:do if((c[d+18112>>2]|0)<(g|0)){f:while(1){do if(!(c[d+18120>>2]|0)){m=c[d>>2]|0;j=c[m+168>>2]|0;if(j>>>0<(c[m+172>>2]|0)>>>0){c[m+168>>2]=j+1;k=a[j>>0]|0}else{if(!(c[m+32>>2]|0)){j=0;break}j=Gi[c[m+16>>2]&255](c[m+28>>2]|0,m+40|0,c[m+36>>2]|0)|0;if(!j){c[m+32>>2]=0;a[m+40>>0]=0;l=m+41|0;j=m+41|0;k=0}else{l=m+41|0;j=m+40+j|0;k=a[m+40>>0]|0}c[m+172>>2]=j;c[m+168>>2]=l}j=k&255;if(k<<24>>24==-1){m=c[d>>2]|0;j=c[m+168>>2]|0;if(j>>>0<(c[m+172>>2]|0)>>>0){c[m+168>>2]=j+1;j=a[j>>0]|0}else{if(!(c[m+32>>2]|0)){j=255;break}j=Gi[c[m+16>>2]&255](c[m+28>>2]|0,m+40|0,c[m+36>>2]|0)|0;if(!j){c[m+32>>2]=0;a[m+40>>0]=0;l=m+41|0;k=m+41|0;j=0}else{l=m+41|0;k=m+40+j|0;j=a[m+40>>0]|0}c[m+172>>2]=k;c[m+168>>2]=l}if(!(j<<24>>24))j=255;else break f}}else j=0;while(0);m=c[d+18112>>2]|0;c[d+18108>>2]=j<<24-m|c[d+18108>>2];c[d+18112>>2]=m+8;if((m+8|0)>=25){j=d+18108|0;break e}}a[d+18116>>0]=j;c[d+18120>>2]=1;j=d+18108|0}else j=d+18108|0;while(0);k=c[j>>2]|0;if(g>>>0<17){m=c[65624+(g<<2)>>2]|0;c[j>>2]=(k<>>(32-g|0))&~m;c[d+18112>>2]=(c[d+18112>>2]|0)-g;j=(c[24732+(g<<2)>>2]&~(k>>31))+(m&(k<>>(32-g|0)))|0;break}else{d=nf(16)|0;c[n>>2]=438588;ds(d,438531,n);zc(d|0,96,27)}}while(0);g=(c[d+17820+(h*72|0)+24>>2]|0)+j|0;c[d+17820+(h*72|0)+24>>2]=g;b[f>>1]=g<>2];d=1;i=n;return d|0}function Kha(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return b|0}function Lha(b,c,e,f,g){b=b|0;c=c|0;e=e|0;f=f|0;g=g|0;if((f|0)>0)g=0;else return b|0;do{a[b+g>>0]=((d[e+g>>0]|0)+2+((d[c+g>>0]|0)*3|0)|0)>>>2;g=g+1|0}while((g|0)!=(f|0));return b|0}function Mha(b,c,e,f,g){b=b|0;c=c|0;e=e|0;f=f|0;g=g|0;var h=0;g=a[c>>0]|0;if((f|0)==1){a[b+1>>0]=g;a[b>>0]=g;return b|0}a[b>>0]=g;a[b+1>>0]=((d[c+1>>0]|0)+2+((d[c>>0]|0)*3|0)|0)>>>2;if((f+-1|0)>1){g=1;do{h=((d[c+g>>0]|0)*3|0)+2|0;e=g<<1;a[b+e>>0]=(h+(d[c+(g+-1)>>0]|0)|0)>>>2;g=g+1|0;a[b+(e|1)>>0]=((d[c+g>>0]|0)+h|0)>>>2}while((g|0)!=(f+-1|0));g=f+-1<<1}else g=2;a[b+g>>0]=((d[c+(f+-1)>>0]|0)+2+((d[c+(f+-2)>>0]|0)*3|0)|0)>>>2;a[b+(g|1)>>0]=a[c+(f+-1)>>0]|0;return b|0}function Nha(b,c,d,e,f){b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;if((e|0)>0&(f|0)>0)h=0;else return b|0;do{d=c+h|0;g=_(h,f)|0;i=0;do{a[b+(i+g)>>0]=a[d>>0]|0;i=i+1|0}while((i|0)!=(f|0));h=h+1|0}while((h|0)!=(e|0));return b|0}function Oha(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;p=i;i=i+16|0;if((f|0)==(e|0)){h=b;i=p;return h|0}if((f+-1|0)>>>0>=4){h=nf(16)|0;c[p>>2]=438676;ds(h,438531,p);zc(h|0,96,27)}n=Vpb(_(_(g,f)|0,h)|0)|0;if(!n){Wpb(b);h=0;i=p;return h|0}a:do if((h|0)>0){m=(g+-1|0)>-1;o=0;b:while(1){j=_(o,g)|0;k=b+(_(j,e)|0)|0;j=n+(_(j,f)|0)|0;do switch((e<<3)+f|0){case 10:{if(m){l=g+-1|0;while(1){a[j>>0]=a[k>>0]|0;a[j+1>>0]=-1;l=l+-1|0;if((l|0)<=-1)break;else{j=j+2|0;k=k+1|0}}}break}case 11:{if(m){l=g+-1|0;while(1){q=a[k>>0]|0;a[j+2>>0]=q;a[j+1>>0]=q;a[j>>0]=q;l=l+-1|0;if((l|0)<=-1)break;else{j=j+3|0;k=k+1|0}}}break}case 12:{if(m){l=g+-1|0;while(1){q=a[k>>0]|0;a[j+2>>0]=q;a[j+1>>0]=q;a[j>>0]=q;a[j+3>>0]=-1;l=l+-1|0;if((l|0)<=-1)break;else{j=j+4|0;k=k+1|0}}}break}case 17:{if(m){l=g+-1|0;while(1){a[j>>0]=a[k>>0]|0;l=l+-1|0;if((l|0)<=-1)break;else{j=j+1|0;k=k+2|0}}}break}case 19:{if(m){l=g+-1|0;while(1){q=a[k>>0]|0;a[j+2>>0]=q;a[j+1>>0]=q;a[j>>0]=q;l=l+-1|0;if((l|0)<=-1)break;else{j=j+3|0;k=k+2|0}}}break}case 20:{if(m){l=g+-1|0;while(1){q=a[k>>0]|0;a[j+2>>0]=q;a[j+1>>0]=q;a[j>>0]=q;a[j+3>>0]=a[k+1>>0]|0;l=l+-1|0;if((l|0)<=-1)break;else{j=j+4|0;k=k+2|0}}}break}case 28:{if(m){l=g+-1|0;while(1){a[j>>0]=a[k>>0]|0;a[j+1>>0]=a[k+1>>0]|0;a[j+2>>0]=a[k+2>>0]|0;a[j+3>>0]=-1;l=l+-1|0;if((l|0)<=-1)break;else{j=j+4|0;k=k+3|0}}}break}case 25:{if(m){l=g+-1|0;while(1){a[j>>0]=(((d[k+1>>0]|0)*150|0)+((d[k>>0]|0)*77|0)+((d[k+2>>0]|0)*29|0)|0)>>>8;l=l+-1|0;if((l|0)<=-1)break;else{j=j+1|0;k=k+3|0}}}break}case 26:{if(m){l=g+-1|0;while(1){a[j>>0]=(((d[k+1>>0]|0)*150|0)+((d[k>>0]|0)*77|0)+((d[k+2>>0]|0)*29|0)|0)>>>8;a[j+1>>0]=-1;l=l+-1|0;if((l|0)<=-1)break;else{j=j+2|0;k=k+3|0}}}break}case 33:{if(m){l=g+-1|0;while(1){a[j>>0]=(((d[k+1>>0]|0)*150|0)+((d[k>>0]|0)*77|0)+((d[k+2>>0]|0)*29|0)|0)>>>8;l=l+-1|0;if((l|0)<=-1)break;else{j=j+1|0;k=k+4|0}}}break}case 34:{if(m){l=g+-1|0;while(1){a[j>>0]=(((d[k+1>>0]|0)*150|0)+((d[k>>0]|0)*77|0)+((d[k+2>>0]|0)*29|0)|0)>>>8;a[j+1>>0]=a[k+3>>0]|0;l=l+-1|0;if((l|0)<=-1)break;else{j=j+2|0;k=k+4|0}}}break}case 35:{if(m){l=g+-1|0;while(1){a[j>>0]=a[k>>0]|0;a[j+1>>0]=a[k+1>>0]|0;a[j+2>>0]=a[k+2>>0]|0;l=l+-1|0;if((l|0)<=-1)break;else{j=j+3|0;k=k+4|0}}}break}default:break b}while(0);o=o+1|0;if((o|0)>=(h|0))break a}q=nf(16)|0;c[p+8>>2]=601740;ds(q,438531,p+8|0);zc(q|0,96,27)}while(0);Wpb(b);q=n;i=p;return q|0}function Pha(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0;k=i;i=i+16|0;if(!(Xi[c[(c[d>>2]|0)+20>>2]&511](d,f)|0)){j=nf(16)|0;ds(j,438746,k);zc(j|0,96,27)}h=c[e>>2]|0;j=c[e+4>>2]|0;f=_(h<<2,j)|0;c[b>>2]=f+18;g=Vpb(f+18|0)|0;c[b+4>>2]=g;if(!g){j=nf(16)|0;ds(j,438762,k+8|0);zc(j|0,96,27)}a[g>>0]=0;a[g+1>>0]=0;a[g+2>>0]=2;a[g+3>>0]=0;a[g+3+1>>0]=0;a[g+3+2>>0]=0;a[g+3+3>>0]=0;a[g+7>>0]=32;a[g+8>>0]=0;a[g+8+1>>0]=0;a[g+8+2>>0]=0;a[g+8+3>>0]=0;a[g+12>>0]=h;a[g+13>>0]=h>>>8;a[g+14>>0]=j;a[g+15>>0]=j>>>8;a[g+16>>0]=32;a[g+17>>0]=32;mBb(g+18|0,c[e+12>>2]|0,f|0)|0;if((j|0)>0&(h|0)>0)b=0;else{i=k;return}do{f=_(h,b)|0;d=0;do{e=f+d|0;l=a[g+18+(e<<2)>>0]|0;a[g+18+(e<<2)>>0]=a[g+18+(e<<2)+2>>0]|0;a[g+18+(e<<2)+2>>0]=l;d=d+1|0}while((d|0)!=(h|0));b=b+1|0}while((b|0)<(j|0));i=k;return}function Qha(a,b){a=a|0;b=b|0;Wpb(b);return}function Rha(a){a=a|0;c[a>>2]=24804;aP(a+20|0);return}function Sha(a){a=a|0;c[a>>2]=24804;aP(a+20|0);oAb(a);return}function Tha(a){a=a|0;return c[a+16>>2]|0}function Uha(a){a=a|0;return _(c[a+8>>2]<<2,c[a+12>>2]|0)|0}function Vha(){var b=0,d=0,e=0,f=0,g=0;g=i;i=i+16|0;a[632020]=0;a[632032]=0;a[632044]=0;a[632056]=0;c[158015]=0;c[158016]=0;b=a[438801]|0;if(!(b<<24>>24))d=5381;else{e=438801;d=5381;do{e=e+1|0;d=(d*33|0)+(b<<24>>24)|0;b=a[e>>0]|0}while(b<<24>>24!=0)}b=d&3;if(!(a[632012+(b*12|0)+8>>0]|0)){d=b;b=632012+(b*12|0)+8|0;f=5}else{b=d+1&3;if(!(a[632012+(b*12|0)+8>>0]|0)){d=b;b=632012+(b*12|0)+8|0;f=5}else{b=d+2&3;if(!(a[632012+(b*12|0)+8>>0]|0)){d=b;b=632012+(b*12|0)+8|0;f=5}else{b=d+3&3;if(!(a[632012+(b*12|0)+8>>0]|0)){d=b;b=632012+(b*12|0)+8|0;f=5}}}}if((f|0)==5){a[b>>0]=1;c[632012+(d*12|0)>>2]=438801;c[632012+(d*12|0)+4>>2]=0}if(0>1){c[g>>2]=438801;c[g+4>>2]=0;vpb(441068,g)|0}else c[158015]=438801;b=a[438805]|0;if(!(b<<24>>24))d=5381;else{e=438805;d=5381;do{e=e+1|0;d=(d*33|0)+(b<<24>>24)|0;b=a[e>>0]|0}while(b<<24>>24!=0)}b=d&3;if(!(a[632012+(b*12|0)+8>>0]|0)){d=b;b=632012+(b*12|0)+8|0;f=17}else{b=d+1&3;if(!(a[632012+(b*12|0)+8>>0]|0)){d=b;b=632012+(b*12|0)+8|0;f=17}else{b=d+2&3;if(!(a[632012+(b*12|0)+8>>0]|0)){d=b;b=632012+(b*12|0)+8|0;f=17}else{b=d+3&3;if(!(a[632012+(b*12|0)+8>>0]|0)){d=b;b=632012+(b*12|0)+8|0;f=17}}}}if((f|0)==17){a[b>>0]=1;c[632012+(d*12|0)>>2]=438805;c[632012+(d*12|0)+4>>2]=1}if(1>1){c[g+8>>2]=438805;c[g+8+4>>2]=1;vpb(441068,g+8|0)|0;i=g;return}else{c[158016]=438805;i=g;return}}function Wha(a){a=a|0;Jj(a);c[a>>2]=24804;c[a+16>>2]=0;$O(a+20|0);return}function Xha(a){a=a|0;return c[a+8>>2]|0}function Yha(a){a=a|0;return c[a+12>>2]|0}function Zha(a,b,d){a=a|0;b=b|0;d=d|0;if((b|0)<=-1){d=0;return d|0}if(!((d|0)>-1?(c[a+8>>2]|0)>(b|0):0)){d=0;return d|0}d=(c[a+12>>2]|0)>(d|0);return d|0}function _ha(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;h=i;i=i+16|0;if((e|0)>-1)if((f|0)>-1?(c[b+8>>2]|0)>(e|0):0)if((c[b+12>>2]|0)>(f|0)){QO(h+4|0,bP(b+20|0)|0);j=vi[c[(c[b>>2]|0)+16>>2]&2047](b)|0;f=j+((_(c[b+8>>2]|0,f)|0)+e<<2)|0;e=d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24;a[f>>0]=e;a[f+1>>0]=e>>8;a[f+2>>0]=e>>16;a[f+3>>0]=e>>24;SO(h+4|0);i=h;return}j=nf(16)|0;ds(j,438809,h);zc(j|0,96,27)}function $ha(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0;h=vi[c[(c[b>>2]|0)+16>>2]&2047](b)|0;f=h+((_(c[b+8>>2]|0,f)|0)+e<<2)|0;e=d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24;a[f>>0]=e;a[f+1>>0]=e>>8;a[f+2>>0]=e>>16;a[f+3>>0]=e>>24;return}function aia(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;h=i;i=i+16|0;if((f|0)>-1)if((g|0)>-1?(c[e+8>>2]|0)>(f|0):0)if((c[e+12>>2]|0)>(g|0)){QO(h+4|0,bP(e+20|0)|0);j=vi[c[(c[e>>2]|0)+16>>2]&2047](e)|0;g=j+((_(c[e+8>>2]|0,g)|0)+f<<2)|0;g=d[g>>0]|d[g+1>>0]<<8|d[g+2>>0]<<16|d[g+3>>0]<<24;a[b>>0]=g;a[b+1>>0]=g>>8;a[b+2>>0]=g>>16;a[b+3>>0]=g>>24;SO(h+4|0);i=h;return}j=nf(16)|0;ds(j,438844,h);zc(j|0,96,27)}function bia(a,b,d,e,f,g,h,j){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=i;i=i+16|0;QO(u+4|0,bP(b+20|0)|0);QO(u,bP(a+20|0)|0);t=vi[c[(c[b>>2]|0)+16>>2]&2047](b)|0;s=vi[c[(c[a>>2]|0)+16>>2]&2047](a)|0;o=c[b+8>>2]|0;do if(!((h+f|0)<0|(o|0)<=(f|0))){p=c[b+12>>2]|0;if(!((j+g|0)<0|(p|0)<=(g|0))){q=c[a+8>>2]|0;if((q|0)>(d|0))if((h+d|0)>=0){r=c[a+12>>2]|0;if((r|0)>(e|0))if((j+e|0)>=0){k=f-((d|0)<0?d:0)|0;f=g-((e|0)<0?e:0)|0;m=(k|0)<0?0:k;g=(k|0)<0?k:0;k=((d|0)<0?0:d)-g|0;l=(f|0)<0?0:f;f=(f|0)<0?f:0;n=((e|0)<0?0:e)-f|0;g=(((d|0)<0?h+d|0:h+d|0)|0)>(q|0)?q-k|0:((d|0)<0?h+d|0:h)+g|0;d=(((e|0)<0?j+e|0:j+e|0)|0)>(r|0)?r-n|0:((e|0)<0?j+e|0:j)+f|0;g=(g+m|0)>(o|0)?o-m|0:g;d=(d+l|0)>(p|0)?p-l|0:d;if((g|0)==(q|0)&(q|0)==(o|0)&(d|0)==(r|0)&(r|0)==(p|0)){mBb(s|0,t|0,_(o<<2,p)|0)|0;break}if((g|0)>0&(d|0)>0){mBb(s+(k<<2)+((_(q,n)|0)<<2)|0,t+(m<<2)+((_(o,l)|0)<<2)|0,g<<2|0)|0;if((d|0)>1){f=1;do{mBb(s+(k<<2)+((_(c[a+8>>2]|0,f+n|0)|0)<<2)|0,t+(m<<2)+((_(c[b+8>>2]|0,f+l|0)|0)<<2)|0,g<<2|0)|0;f=f+1|0}while((f|0)<(d|0))}}}}}}while(0);SO(u);SO(u+4|0);i=u;return}function cia(a){a=a|0;return bP(a+20|0)|0}function dia(a,b){a=a|0;b=b|0;return eia(632012,a,b)|0}function eia(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=a[d>>0]|0;if(!(g<<24>>24))m=5381;else{h=d;i=g;f=5381;do{h=h+1|0;f=(f*33|0)+(i<<24>>24)|0;i=a[h>>0]|0}while(i<<24>>24!=0);m=f}f=m&3;if(!(a[b+(f*12|0)+8>>0]|0)){e=1;b=0;b=e&b;return b|0}i=c[b+(f*12|0)>>2]|0;h=a[i>>0]|0;a:do if(!(h<<24>>24)){h=g;l=8}else if(g<<24>>24?h<<24>>24==g<<24>>24:0){k=d;while(1){i=i+1|0;k=k+1|0;j=a[i>>0]|0;h=a[k>>0]|0;if(!(j<<24>>24)){l=8;break a}if(!(h<<24>>24?j<<24>>24==h<<24>>24:0)){l=10;break}}}else l=10;while(0);if((l|0)==8)if(h<<24>>24)l=10;do if((l|0)==10){f=m+1&3;if(!(a[b+(f*12|0)+8>>0]|0)){e=1;b=0;b=e&b;return b|0}i=c[b+(f*12|0)>>2]|0;h=a[i>>0]|0;b:do if(!(h<<24>>24)){h=g;l=16}else if(g<<24>>24?h<<24>>24==g<<24>>24:0){k=d;do{i=i+1|0;k=k+1|0;j=a[i>>0]|0;h=a[k>>0]|0;if(!(j<<24>>24)){l=16;break b}}while(h<<24>>24?j<<24>>24==h<<24>>24:0)}while(0);if((l|0)==16)if(!(h<<24>>24))break;f=m+2&3;if(!(a[b+(f*12|0)+8>>0]|0)){e=1;b=0;b=e&b;return b|0}i=c[b+(f*12|0)>>2]|0;h=a[i>>0]|0;c:do if(!(h<<24>>24)){h=g;l=22}else if(g<<24>>24?h<<24>>24==g<<24>>24:0){k=d;do{i=i+1|0;k=k+1|0;j=a[i>>0]|0;h=a[k>>0]|0;if(!(j<<24>>24)){l=22;break c}}while(h<<24>>24?j<<24>>24==h<<24>>24:0)}while(0);if((l|0)==22)if(!(h<<24>>24))break;f=m+3&3;if(!(a[b+(f*12|0)+8>>0]|0)){e=1;b=0;b=e&b;return b|0}h=c[b+(f*12|0)>>2]|0;i=a[h>>0]|0;d:do if(i<<24>>24){if(!(g<<24>>24?i<<24>>24==g<<24>>24:0)){e=0;b=0;b=e&b;return b|0}while(1){h=h+1|0;d=d+1|0;i=a[h>>0]|0;g=a[d>>0]|0;if(!(i<<24>>24))break d;if(!(g<<24>>24?i<<24>>24==g<<24>>24:0)){f=0;g=0;break}}b=f&g;return b|0}while(0);if(g<<24>>24){e=0;b=0;b=e&b;return b|0}}while(0);c[e>>2]=c[b+(f*12|0)+4>>2];e=1;b=1;b=e&b;return b|0}function fia(a,b){a=a|0;b=b|0;if(a>>>0>1)a=0;else{a=c[632060+(a<<2)>>2]|0;if(!a)a=0;else{c[b>>2]=a;a=1}}return a|0}function gia(a){a=a|0;var d=0,e=0,f=0,h=0;h=i;i=i+80|0;c[a>>2]=24840;d=c[a+16>>2]|0;if(d|0)Bjb(d);d=c[a+12>>2]|0;if(d|0)hkb(d);d=c[a+8>>2]|0;if(d|0)ghb(d);c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[a+20>>2]=-1;g[a+52>>2]=0.0;g[a+56>>2]=0.0;b[a+60>>1]=0;d=a+62|0;e=h;f=d+66|0;do{b[d>>1]=b[e>>1]|0;d=d+2|0;e=e+2|0}while((d|0)<(f|0));c[a+128>>2]=0;c[a+128+4>>2]=0;c[a+136>>2]=-1;c[a+140>>2]=-1;Mqb(a+40|0);Mqb(a+24|0);i=h;return}function hia(a){a=a|0;gia(a);oAb(a);return}function iia(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;j=i;i=i+96|0;Hi[c[(c[b>>2]|0)+20>>2]&1023](b);e=Yjb(d)|0;c[b+8>>2]=e;if(!e){h=c[b>>2]|0;h=h+24|0;h=c[h>>2]|0;h=vi[h&2047](b)|0;i=j;return h|0}c[b+20>>2]=mkb(e)|0;okb(j+16|0,c[b+8>>2]|0);e=j+72|0;f=j+16|0;g=e+16|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));Vjb(j+72|0,j+32|0,33);Iqb(j,j+32|0,rnb(j+32|0)|0);if(!(a[b+24>>0]&1)){a[b+24+1>>0]=0;a[b+24>>0]=0}else{a[c[b+32>>2]>>0]=0;c[b+28>>2]=0}Qqb(b+24|0,0);c[b+24>>2]=c[j>>2];c[b+24+4>>2]=c[j+4>>2];c[b+24+8>>2]=c[j+8>>2];c[j>>2]=0;c[j+4>>2]=0;c[j+8>>2]=0;Mqb(j);Xi[c[(c[b>>2]|0)+60>>2]&511](b,d)|0;e=nkb(c[b+8>>2]|0)|0;if(!e){e=c[b+12>>2]|0;if(e|0){e=fkb(e)|0;if(e|0)h=8}}else h=8;if((h|0)==8)Rqb(b+40|0,e)|0;h=c[b>>2]|0;h=h+24|0;h=c[h>>2]|0;h=vi[h&2047](b)|0;i=j;return h|0}function jia(a){a=a|0;var d=0,e=0,f=0,h=0;h=i;i=i+80|0;d=c[a+16>>2]|0;if(d|0)Bjb(d);d=c[a+12>>2]|0;if(d|0)hkb(d);d=c[a+8>>2]|0;if(d|0)ghb(d);c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[a+20>>2]=-1;g[a+52>>2]=0.0;g[a+56>>2]=0.0;b[a+60>>1]=0;d=a+62|0;e=h;f=d+66|0;do{b[d>>1]=b[e>>1]|0;d=d+2|0;e=e+2|0}while((d|0)<(f|0));c[a+128>>2]=0;c[a+128+4>>2]=0;c[a+136>>2]=-1;c[a+140>>2]=-1;i=h;return}function kia(a){a=a|0;a=c[a+8>>2]|0;if(!a){a=0;return a|0}a=(dkb(a)|0)!=0;return a|0}function lia(b){b=b|0;if(!(a[b+40>>0]&1)){b=b+40+1|0;return b|0}else{b=c[b+48>>2]|0;return b|0}return 0}function mia(a){a=a|0;if(!(vi[c[(c[a>>2]|0)+24>>2]&2047](a)|0)){a=0;return a|0}a=jkb(c[a+8>>2]|0)|0;return a|0}function nia(a){a=a|0;if(!(vi[c[(c[a>>2]|0)+24>>2]&2047](a)|0)){a=0;return a|0}a=lkb(c[a+8>>2]|0)|0;return a|0}function oia(a){a=a|0;if(!(vi[c[(c[a>>2]|0)+24>>2]&2047](a)|0)){a=0;return a|0}a=kkb(c[a+8>>2]|0)|0;return a|0}function pia(a,b){a=a|0;b=b|0;var d=0.0;if((b|0)<0|(vi[c[(c[a>>2]|0)+24>>2]&2047](a)|0)^1){d=0.0;return +d}if((vi[c[(c[a>>2]|0)+32>>2]&2047](a)|0)<=(b|0)){d=0.0;return +d}d=+qja(+(($jb(c[a+8>>2]|0,b)|0)<<16>>16)*.000030517578125);return +d}function qia(a,b){a=a|0;b=b|0;var d=0.0,e=0,f=0,h=0,j=0;j=i;i=i+16|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;f=vi[c[(c[b>>2]|0)+32>>2]&2047](b)|0;if((f|0)<1|(vi[c[(c[b>>2]|0)+24>>2]&2047](b)|0)^1){i=j;return}if(!f){i=j;return}h=YAb(f<<2)|0;c[a>>2]=h;c[a+4>>2]=h;c[a+8>>2]=h+(f<<2);if((f|0)<=0){i=j;return}h=0;do{d=+qja(+(($jb(c[b+8>>2]|0,h)|0)<<16>>16)*.000030517578125);g[j>>2]=d;e=c[a+4>>2]|0;if(e>>>0<(c[a+8>>2]|0)>>>0){g[e>>2]=d;c[a+4>>2]=e+4}else cB(a,j);h=h+1|0}while((h|0)<(f|0));i=j;return}function ria(b,d){b=b|0;d=d|0;if((d|0)<0|(vi[c[(c[b>>2]|0)+24>>2]&2047](b)|0)^1){b=0;return b|0}if((vi[c[(c[b>>2]|0)+40>>2]&2047](b)|0)<=(d|0)){b=0;return b|0}d=ckb(c[b+8>>2]|0,d)|0;if((d&255)>=16){b=0;return b|0}if(!(a[1205564+((d&255)<<3)+4>>0]|0)){b=0;return b|0}b=c[1205564+((d&255)<<3)>>2]|0;return b|0}function sia(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if(!(vi[c[(c[a>>2]|0)+24>>2]&2047](a)|0)){a=0;return a|0}f=vi[c[(c[a>>2]|0)+36>>2]&2047](a)|0;d=c[b>>2]|0;e=c[b+4>>2]|0;if((d|0)==(e|0)){a=0;return a|0}while(1){b=c[d>>2]|0;if((b|0)>-1&(b|0)<(f|0))if((akb(c[a+8>>2]|0,b)|0)<<24>>24==1){b=1;d=6;break}d=d+4|0;if((d|0)==(e|0)){b=0;d=6;break}}if((d|0)==6)return b|0;return 0}function tia(a,b){a=a|0;b=b|0;if(!(Rjb(b)|0)){a=0;return a|0}if(vi[c[(c[a>>2]|0)+64>>2]&2047](a)|0){hkb(c[a+12>>2]|0);c[a+12>>2]=0}c[a+12>>2]=Wjb(b)|0;a=vi[c[(c[a>>2]|0)+64>>2]&2047](a)|0;return a|0}function uia(a){a=a|0;return (c[a+12>>2]|0)!=0|0}function via(b,d){b=b|0;d=d|0;var e=0.0;if(!(vi[c[(c[b>>2]|0)+24>>2]&2047](b)|0)){e=0.0;return +e}if(!(d>>>0<7&(vi[c[(c[b>>2]|0)+64>>2]&2047](b)|0))){e=0.0;return +e}if(!(a[1205876+(d<<3)+4>>0]|0)){e=0.0;return +e}e=+qja(+((_jb(c[b+12>>2]|0,c[1205876+(d<<3)>>2]|0)|0)<<16>>16)*.000030517578125);return +e}function wia(b,d){b=b|0;d=d|0;var e=0,f=0;if(!(vi[c[(c[b>>2]|0)+24>>2]&2047](b)|0)){b=0;return b|0}if(!(vi[c[(c[b>>2]|0)+64>>2]&2047](b)|0)){b=0;return b|0}e=c[d>>2]|0;f=c[d+4>>2]|0;if((e|0)==(f|0)){b=0;return b|0}while(1){d=c[e>>2]|0;if(d>>>0<16)if(a[1206060+(d<<3)+4>>0]|0)if((bkb(c[b+12>>2]|0,c[1206060+(d<<3)>>2]|0)|0)<<24>>24==1){d=1;e=9;break}e=e+4|0;if((e|0)==(f|0)){d=0;e=9;break}}if((e|0)==9)return d|0;return 0}function xia(a){a=a|0;return c[a+8>>2]|0}function yia(a,b){a=a|0;b=b|0;Hqb(a,b+24|0);return}function zia(a){a=a|0;return c[a+20>>2]|0}function Aia(a){a=a|0;return c[a+36>>2]|0}function Bia(a){a=a|0;var b=0;if(!(Cia(a)|0)){a=0;return a|0}b=Fjb(c[a+16>>2]|0)|0;if(b&4|0){a=1;return a|0}if(!((b&2048|0)==0|(vi[c[(c[a>>2]|0)+64>>2]&2047](a)|0)^1)){a=1;return a|0}a=(b&2|0)!=0;return a|0}function Cia(a){a=a|0;var d=0,e=0,f=0,h=0,j=0;j=i;i=i+80|0;if(!(vi[c[(c[a>>2]|0)+24>>2]&2047](a)|0)){a=0;i=j;return a|0}if(!(uib(4096)|0))if((Dgb(4096)|0)<0){a=0;i=j;return a|0}d=c[a+16>>2]|0;if(d|0){if((vjb(d)|0)!=-1){a=1;i=j;return a|0}d=c[a+16>>2]|0;if(d|0){Bjb(d);c[a+16>>2]=0}}d=yjb(c[a+8>>2]|0)|0;c[a+16>>2]=d;g[a+52>>2]=0.0;g[a+56>>2]=0.0;b[a+60>>1]=0;e=a+62|0;f=j;h=e+66|0;do{b[e>>1]=b[f>>1]|0;e=e+2|0;f=f+2|0}while((e|0)<(h|0));c[a+128>>2]=0;c[a+128+4>>2]=0;c[a+136>>2]=-1;c[a+140>>2]=-1;a=(d|0)!=0;i=j;return a|0}function Dia(d,e,f,h){d=d|0;e=+e;f=+f;h=+h;var j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+16|0;g[r+8>>2]=e;g[r+4>>2]=0.0;p=e<0.0?r+4|0:r+8|0;g[r>>2]=1.0;p=c[(+g[p>>2]>1.0?r:p)>>2]|0;c[r+8>>2]=p;e=f<0.0?0.0:f;e=e>1.0?1.0:e;f=(c[k>>2]=p,+g[k>>2]);if(e==0.0&f==0.0){d=vi[c[(c[d>>2]|0)+100>>2]&2047](d)|0;i=r;return d|0}if(!(Cia(d)|0)){d=0;i=r;return d|0}if(!(h>=0.0))o=-1;else o=~~((h>4294967.5?4294967.5:h)*1.0e3)>>>0;n=Fjb(c[d+16>>2]|0)|0;j=Gjb(c[d+16>>2]|0)|0;if(!(n&4))q=8;else{l=d+60|0;m=l+68|0;do{c[l>>2]=0;l=l+4|0}while((l|0)<(m|0));b[d+60>>1]=4;c[d+64>>2]=o;b[d+68>>1]=~~(f*65535.0);b[d+60+10>>1]=~~(e*65535.0);if(!(Eia(d)|0))q=8}do if((q|0)==8){if(vi[c[(c[d>>2]|0)+64>>2]&2047](d)|0)if((n&2048|0)!=0&(j|0)==2){b[d+132>>1]=~~(f*32767.0);b[d+128>>1]=~~(f*32767.0);b[d+134>>1]=~~(e*32767.0);b[d+130>>1]=~~(e*32767.0);l=d+60|0;m=l+68|0;do{c[l>>2]=0;l=l+4|0}while((l|0)<(m|0));b[d+60>>1]=2048;c[d+80>>2]=o;a[d+90>>0]=2;b[d+92>>1]=10;b[d+94>>1]=2;c[d+96>>2]=d+128;j=Eia(d)|0}else j=0;else j=0;if((n&2|0)==0|j){if(j)break}else{l=d+60|0;m=l+68|0;do{c[l>>2]=0;l=l+4|0}while((l|0)<(m|0));b[d+60>>1]=2;c[d+80>>2]=o;b[d+90>>1]=10;b[d+92>>1]=~~((f>2]=0.0;g[d+52>>2]=0.0;c[d+140>>2]=-1;d=0;i=r;return d|0}while(0);c[d+52>>2]=p;g[d+56>>2]=e;if((o|0)==-1){c[d+140>>2]=-1;d=1;i=r;return d|0}else{c[d+140>>2]=(a7a()|0)+o;d=1;i=r;return d|0}return 0}function Eia(a){a=a|0;var b=0;b=c[a+136>>2]|0;if((b|0)==-1)b=a+60|0;else{if(!(Jjb(c[a+16>>2]|0,b,a+60|0)|0))if(!(Ljb(c[a+16>>2]|0,c[a+136>>2]|0,1)|0)){a=1;return a|0}Ejb(c[a+16>>2]|0,c[a+136>>2]|0);c[a+136>>2]=-1;b=a+60|0}b=Hjb(c[a+16>>2]|0,b)|0;c[a+136>>2]=b;if((b|0)!=-1)if(!(Ljb(c[a+16>>2]|0,b,1)|0)){a=1;return a|0}a=0;return a|0}function Fia(a){a=a|0;var b=0;if(uib(4096)|0){b=c[a+16>>2]|0;if(b|0)if((vjb(b)|0)!=-1)if(Njb(c[a+16>>2]|0,c[a+136>>2]|0)|0){a=0;return a|0}}g[a+56>>2]=0.0;g[a+52>>2]=0.0;a=1;return a|0}function Gia(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=c[a+140>>2]|0;if((e|0)!=-1)if((e-(a7a()|0)|0)<1){vi[c[(c[a>>2]|0)+100>>2]&2047](a)|0;c[a+140>>2]=-1}e=c[a+136>>2]|0;f=c[a+16>>2]|0;if(!((e|0)==-1|(f|0)==0))if((Pjb(f,e)|0)==1){f=a+56|0;a=c[a+52>>2]|0;c[b>>2]=a;a=c[f>>2]|0;c[d>>2]=a;return}g[a+56>>2]=0.0;g[a+52>>2]=0.0;a=a+56|0;f=0;c[b>>2]=f;a=c[a>>2]|0;c[d>>2]=a;return}function Hia(){var b=0,d=0,e=0;a[1205568]=0;a[1205576]=0;a[1205584]=0;a[1205592]=0;a[1205600]=0;a[1205608]=0;a[1205616]=0;a[1205624]=0;a[1205632]=0;a[1205640]=0;a[1205648]=0;a[1205656]=0;a[1205664]=0;a[1205672]=0;a[1205680]=0;a[1205688]=0;a[1205696]=0;a[1205704]=0;a[1205712]=0;a[1205720]=0;a[1205728]=0;a[1205736]=0;a[1205744]=0;a[1205752]=0;a[1205760]=0;a[1205768]=0;a[1205776]=0;a[1205784]=0;a[1205792]=0;a[1205800]=0;a[1205808]=0;a[1205816]=0;e=0;do{b=c[24948+(e<<3)>>2]|0;d=a[24948+(e<<3)+4>>0]|0;if(b>>>0<16){c[1205692+(b<<3)>>2]=d&255;a[1205692+(b<<3)+4>>0]=1}if((d&255)<16){c[1205564+((d&255)<<3)>>2]=b;a[1205564+((d&255)<<3)+4>>0]=1}e=e+1|0}while((e|0)!=9);a[1205824]=0;a[1205832]=0;a[1205840]=0;a[1205848]=0;a[1205856]=0;a[1205864]=0;a[1205872]=0;a[1205880]=0;a[1205888]=0;a[1205896]=0;a[1205904]=0;a[1205912]=0;a[1205920]=0;a[1205928]=0;if(1<7){c[301471]=0;a[1205888]=1}if(0<7){c[301455]=1;a[1205824]=1}if(2<7){c[301473]=1;a[1205896]=1}if(1<7){c[301457]=2;a[1205832]=1}if(3<7){c[301475]=2;a[1205904]=1}if(2<7){c[301459]=3;a[1205840]=1}if(4<7){c[301477]=3;a[1205912]=1}if(3<7){c[301461]=4;a[1205848]=1}if(5<7){c[301479]=4;a[1205920]=1}if(4<7){c[301463]=5;a[1205856]=1}if(6<7){c[301481]=5;a[1205928]=1}if(5<7){c[301465]=6;a[1205864]=1}a[1205936]=0;a[1205944]=0;a[1205952]=0;a[1205960]=0;a[1205968]=0;a[1205976]=0;a[1205984]=0;a[1205992]=0;a[1206e3]=0;a[1206008]=0;a[1206016]=0;a[1206024]=0;a[1206032]=0;a[1206040]=0;a[1206048]=0;a[1206056]=0;a[1206064]=0;a[1206072]=0;a[1206080]=0;a[1206088]=0;a[1206096]=0;a[1206104]=0;a[1206112]=0;a[1206120]=0;a[1206128]=0;a[1206136]=0;a[1206144]=0;a[1206152]=0;a[1206160]=0;a[1206168]=0;a[1206176]=0;a[1206184]=0;e=0;do{b=c[25020+(e<<3)>>2]|0;d=c[25020+(e<<3)+4>>2]|0;if(b>>>0<16){c[1206060+(b<<3)>>2]=d;a[1206060+(b<<3)+4>>0]=1}if(d>>>0<16){c[1205932+(d<<3)>>2]=b;a[1205932+(d<<3)+4>>0]=1}e=e+1|0}while((e|0)!=15);return}function Iia(a,d){a=a|0;d=d|0;Jj(a);c[a>>2]=24840;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[a+20>>2]=-1;c[a+24>>2]=0;c[a+24+4>>2]=0;c[a+24+8>>2]=0;c[a+36>>2]=d;c[a+128>>2]=0;c[a+128+4>>2]=0;c[a+40>>2]=0;c[a+40+4>>2]=0;c[a+40+8>>2]=0;c[a+40+12>>2]=0;c[a+40+16>>2]=0;b[a+40+20>>1]=0;c[a+136>>2]=-1;c[a+140>>2]=-1;return}function Jia(b,d){b=b|0;d=d|0;if((b&255)>=16){d=0;return d|0}if(!(a[1205564+((b&255)<<3)+4>>0]|0)){d=0;return d|0}c[d>>2]=c[1205564+((b&255)<<3)>>2];d=1;return d|0}function Kia(b,d){b=b|0;d=d|0;if(b>>>0>=7){d=0;return d|0}if(!(a[1205876+(b<<3)+4>>0]|0)){d=0;return d|0}c[d>>2]=c[1205876+(b<<3)>>2];d=1;return d|0}function Lia(b,d){b=b|0;d=d|0;if(b>>>0>=16){d=0;return d|0}if(!(a[1206060+(b<<3)+4>>0]|0)){d=0;return d|0}c[d>>2]=c[1206060+(b<<3)>>2];d=1;return d|0}function Mia(b,d){b=b|0;d=d|0;if(b>>>0>=16){d=0;return d|0}if(!(a[1205692+(b<<3)+4>>0]|0)){d=0;return d|0}a[d>>0]=c[1205692+(b<<3)>>2];d=1;return d|0}function Nia(b,d){b=b|0;d=d|0;if(b>>>0>=7){d=0;return d|0}if(!(a[1205820+(b<<3)+4>>0]|0)){d=0;return d|0}c[d>>2]=c[1205820+(b<<3)>>2];d=1;return d|0}function Oia(b,d){b=b|0;d=d|0;if(b>>>0>=16){d=0;return d|0}if(!(a[1205932+(b<<3)+4>>0]|0)){d=0;return d|0}c[d>>2]=c[1205932+(b<<3)>>2];d=1;return d|0}function Pia(a){a=a|0;var b=0,d=0,e=0;c[a>>2]=25148;b=c[a+24>>2]|0;if((b|0)!=(a+20|0)){d=b;do{e=c[d+8>>2]|0;Hi[c[(c[e>>2]|0)+20>>2]&1023](e);Hi[c[(c[e>>2]|0)+12>>2]&1023](e);b=c[b+4>>2]|0;d=b}while((d|0)!=(a+20|0))}if(uib(4096)|0)ehb(4096);ehb(8704);Qia(a+32|0,c[a+36>>2]|0);if(c[a+28>>2]|0){b=c[a+24>>2]|0;e=(c[a+20>>2]|0)+4|0;d=c[b>>2]|0;c[d+4>>2]=c[e>>2];c[c[e>>2]>>2]=d;c[a+28>>2]=0;if((b|0)!=(a+20|0))do{e=b;b=c[b+4>>2]|0;oAb(e)}while((b|0)!=(a+20|0))}b=c[a+8>>2]|0;if(!b){wj(a);return}d=c[a+12>>2]|0;if((d|0)!=(b|0))c[a+12>>2]=d+(~((d+-4-b|0)>>>2)<<2);oAb(b);wj(a);return}function Qia(a,b){a=a|0;b=b|0;if(!b)return;else{Qia(a,c[b>>2]|0);Qia(a,c[b+4>>2]|0);Mqb(b+16|0);oAb(b);return}}function Ria(a){a=a|0;Pia(a);oAb(a);return}function Sia(a){a=a|0;return 6}function Tia(a){a=a|0;return 439005}function Uia(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+112|0;if((e|0)<0){d=0;i=n;return d|0}if((Wib()|0)<=(e|0)){d=0;i=n;return d|0}if((Wib()|0)>(e|0)){f=n+36|0;h=f+33|0;do{a[f>>0]=0;f=f+1|0}while((f|0)<(h|0));khb(n+88|0,e);f=n+72|0;g=n+88|0;h=f+16|0;do{a[f>>0]=a[g>>0]|0;f=f+1|0;g=g+1|0}while((f|0)<(h|0));Vjb(n+72|0,n+36|0,33);Iqb(n+12|0,n+36|0,rnb(n+36|0)|0)}else Iqb(n+12|0,1279070,0);c[n+36>>2]=0;f=c[d+24>>2]|0;a:do if((f|0)==(d+20|0)){g=0;h=20}else{g=f;k=f;b:while(1){f=c[g+8>>2]|0;do if(!(vi[c[(c[f>>2]|0)+24>>2]&2047](f)|0)){si[c[(c[f>>2]|0)+80>>2]&511](n+24|0,f);h=b[n+24>>1]|0;j=(h&1)==0?(h&254)>>>1:c[n+24+4>>2]|0;g=a[n+12>>0]|0;if((j|0)==(((g&1)==0?(g&255)>>>1:c[n+12+4>>2]|0)|0)){g=(g&1)==0?n+12+1|0:c[n+12+8>>2]|0;if(h&1){m=(qmb(c[n+24+8>>2]|0,g,j)|0)==0;Mqb(n+24|0);if(m){h=17;break b}else break}if(!j){h=19;break b}if(((h&65535)>>>8&255)<<24>>24==(a[g>>0]|0)){h=(h&254)>>>1;j=n+24+1|0;do{h=h+-1|0;j=j+1|0;if(!h){h=19;break b}g=g+1|0}while((a[j>>0]|0)==(a[g>>0]|0))}}Mqb(n+24|0)}while(0);k=c[k+4>>2]|0;g=k;if((g|0)==(d+20|0)){g=0;h=20;break a}}if((h|0)==17){c[n+36>>2]=f;l=f;m=f;k=1;break}else if((h|0)==19){Mqb(n+24|0);c[n+36>>2]=f;if(!f){g=1;h=20;break}else{l=f;m=f;k=1;break}}}while(0);if((h|0)==20){f=YAb(144)|0;Iia(f,c[d+28>>2]|0);c[n+36>>2]=f;l=YAb(12)|0;c[l+8>>2]=f;c[l+4>>2]=d+20;m=c[d+20>>2]|0;c[l>>2]=m;c[m+4>>2]=l;c[d+20>>2]=l;c[d+28>>2]=(c[d+28>>2]|0)+1;l=f;m=f;k=g}si[c[(c[d>>2]|0)+28>>2]&511](d,f);c:do if(Xi[c[(c[f>>2]|0)+16>>2]&511](f,e)|0){g=c[d+8>>2]|0;j=c[d+12>>2]|0;d:do if((g|0)!=(j|0)){while(1){h=c[g>>2]|0;e=vi[c[(c[f>>2]|0)+76>>2]&2047](f)|0;g=g+4|0;if((e|0)==(vi[c[(c[h>>2]|0)+76>>2]&2047](h)|0))break;if((g|0)==(j|0))break d}Hi[c[(c[f>>2]|0)+20>>2]&1023](f);if(k){f=h;break c}Via(d+20|0,n+36|0);Hi[c[(c[l>>2]|0)+12>>2]&1023](l);f=h;break c}while(0);if(vi[c[(c[f>>2]|0)+64>>2]&2047](f)|0){si[c[(c[f>>2]|0)+80>>2]&511](n,f);j=Wia(d+32|0,n+72|0,n)|0;g=c[j>>2]|0;if(!g){g=YAb(32)|0;c[g+16>>2]=c[n>>2];c[g+16+4>>2]=c[n+4>>2];c[g+16+8>>2]=c[n+8>>2];c[n>>2]=0;c[n+4>>2]=0;c[n+8>>2]=0;a[g+28>>0]=0;h=c[n+72>>2]|0;c[g>>2]=0;c[g+4>>2]=0;c[g+8>>2]=h;c[j>>2]=g;h=c[c[d+32>>2]>>2]|0;if(!h)h=g;else{c[d+32>>2]=h;h=c[j>>2]|0}Fj(c[d+36>>2]|0,h);c[d+40>>2]=(c[d+40>>2]|0)+1}a[g+28>>0]=1;Mqb(n)}g=c[d+12>>2]|0;if((g|0)==(c[d+16>>2]|0)){Xia(d+8|0,n+36|0);break}else{c[g>>2]=m;c[d+12>>2]=(c[d+12>>2]|0)+4;break}}else f=0;while(0);Mqb(n+12|0);d=f;i=n;return d|0}function Via(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+16|0;c[m>>2]=m;c[m+4>>2]=m;c[m+8>>2]=0;f=c[a+4>>2]|0;if((f|0)==(a|0)){i=m;return}if((m|0)==(a|0)){h=f;g=f;while(1){e=c[h+8>>2]|0;d=c[g+4>>2]|0;if((e|0)==(c[b>>2]|0)){a:do if((d|0)==(a|0)){f=a;e=0}else{f=d;while(1){if((c[f+8>>2]|0)!=(e|0)){e=1;break a}d=c[d+4>>2]|0;f=d;if((f|0)==(a|0)){f=a;e=0;break}}}while(0);if((h|0)!=(f|0)){l=c[d>>2]|0;k=c[g>>2]|0;c[k+4>>2]=c[l+4>>2];c[c[l+4>>2]>>2]=k;k=c[m>>2]|0;c[k+4>>2]=h;c[g>>2]=k;c[m>>2]=l;c[l+4>>2]=a}if(e)d=c[d+4>>2]|0}h=d;if((h|0)==(a|0))break;else g=d}i=m;return}e=m;l=f;d=0;k=f;while(1){g=c[l+8>>2]|0;f=c[k+4>>2]|0;if((g|0)==(c[b>>2]|0)){b:do if((f|0)==(a|0)){h=a;j=0}else{h=f;while(1){if((c[h+8>>2]|0)!=(g|0)){j=1;break b}f=c[f+4>>2]|0;h=f;if((h|0)==(a|0)){h=a;j=0;break}}}while(0);if((l|0)!=(h|0)){g=l;e=0;do{e=e+1|0;g=c[g+4>>2]|0}while((g|0)!=(h|0));c[a+8>>2]=(c[a+8>>2]|0)-e;d=d+e|0;c[m+8>>2]=d;e=c[f>>2]|0;h=c[k>>2]|0;c[h+4>>2]=c[e+4>>2];c[c[e+4>>2]>>2]=h;h=c[m>>2]|0;c[h+4>>2]=l;c[k>>2]=h;c[m>>2]=e;c[e+4>>2]=m}if(j)f=c[f+4>>2]|0}l=f;if((l|0)==(a|0))break;else k=f}if(!d){i=m;return}d=c[m+4>>2]|0;a=c[d>>2]|0;c[a+4>>2]=c[e+4>>2];c[c[e+4>>2]>>2]=a;c[m+8>>2]=0;if((d|0)==(m|0)){i=m;return}do{a=d;d=c[d+4>>2]|0;oAb(a)}while((d|0)!=(m|0));i=m;return}function Wia(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;f=c[b+4>>2]|0;if(!f){c[d>>2]=b+4;d=b+4|0;return d|0}h=a[e>>0]|0;i=(h&1)==0?(h&255)>>>1:c[e+4>>2]|0;h=(h&1)==0?e+1|0:c[e+8>>2]|0;while(1){e=f+16|0;g=a[e>>0]|0;b=(g&1)==0?(g&255)>>>1:c[f+20>>2]|0;e=(g&1)==0?e+1|0:c[f+24>>2]|0;g=qmb(h,e,b>>>0>>0?b:i)|0;if((((g|0)==0?(i>>>0>>0?-2147483648:0):g)|0)<0){b=c[f>>2]|0;if(!b){b=f;e=5;break}else f=b}else{g=qmb(e,h,i>>>0>>0?i:b)|0;if((((g|0)==0?(b>>>0>>0?-2147483648:0):g)|0)>=0){e=10;break}g=f+4|0;b=c[g>>2]|0;if(!b){e=9;break}else f=b}}if((e|0)==5){c[d>>2]=f;d=b;return d|0}else if((e|0)==9){c[d>>2]=f;d=g;return d|0}else if((e|0)==10){c[d>>2]=f;return d|0}return 0}function Xia(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=c[a>>2]|0;d=((c[a+4>>2]|0)-j>>2)+1|0;if(d>>>0>1073741823)jzb(a);e=(c[a+8>>2]|0)-j|0;if(e>>2>>>0<536870911){d=e>>1>>>0>>0?d:e>>1;f=c[a+4>>2]|0;if(!d){i=0;g=0;e=f-j>>2;d=f}else{h=f;e=f-j>>2;k=6}}else{e=c[a+4>>2]|0;d=1073741823;h=e;e=e-j>>2;k=6}if((k|0)==6){i=d;g=YAb(d<<2)|0;d=h}k=g+(e<<2)|0;c[k>>2]=c[b>>2];b=d-j|0;mBb(k+(0-(b>>2)<<2)|0,j|0,b|0)|0;c[a>>2]=k+(0-(b>>2)<<2);c[a+4>>2]=k+4;c[a+8>>2]=g+(i<<2);if(!j)return;oAb(j);return}function Yia(a,b){a=a|0;b=b|0;var d=0,e=0;if(!b)return;d=c[a+8>>2]|0;e=c[a+12>>2]|0;a:do if((d|0)!=(e|0)){do{if((c[d>>2]|0)==(b|0))break a;d=d+4|0}while((d|0)!=(e|0));return}while(0);if((d|0)==(e|0))return;e=c[d>>2]|0;Hi[c[(c[e>>2]|0)+20>>2]&1023](e);e=d+4|0;b=(c[a+12>>2]|0)-e|0;nBb(d|0,e|0,b|0)|0;d=d+(b>>2<<2)|0;b=c[a+12>>2]|0;if((b|0)==(d|0))return;c[a+12>>2]=b+(~((b+-4-d|0)>>>2)<<2);return}function Zia(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[a+8>>2]|0;e=c[a+12>>2]|0;if((d|0)==(e|0)){b=0;return b|0}while(1){a=c[d>>2]|0;d=d+4|0;if((vi[c[(c[a>>2]|0)+84>>2]&2047](a)|0)==(b|0)){d=4;break}if((d|0)==(e|0)){a=0;d=4;break}}if((d|0)==4)return a|0;return 0}function _ia(a,b){a=a|0;b=b|0;var d=0;if((b|0)<0){a=0;return a|0}d=c[a+8>>2]|0;if((c[a+12>>2]|0)-d>>2>>>0<=b>>>0){a=0;return a|0}a=c[d+(b<<2)>>2]|0;return a|0}function $ia(a,b){a=a|0;b=b|0;var d=0,e=0;e=c[a+8>>2]|0;d=(c[a+12>>2]|0)-e|0;if((d|0)<=0){b=-1;return b|0}a=0;while(1){if((c[e+(a<<2)>>2]|0)==(b|0)){d=5;break}a=a+1|0;if((a|0)>=(d>>2|0)){a=-1;d=5;break}}if((d|0)==5)return a|0;return 0}function aja(a){a=a|0;return (c[a+12>>2]|0)-(c[a+8>>2]|0)>>2|0}function bja(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+320|0;h=a[e>>0]|0;if((((h&1)==0?(h&255)>>>1:c[e+4>>2]|0)|0)!=32){b=nf(16)|0;c[r+8>>2]=(a[e>>0]&1)==0?e+1|0:c[e+8>>2]|0;ds(b,439023,r+8|0);zc(b|0,96,27)}Rib(r+296|0,(h&1)==0?e+1|0:c[e+8>>2]|0);c[r+248>>2]=0;c[r+248+4>>2]=0;c[r+248+8>>2]=0;h=r+272|0;j=r+296|0;k=h+16|0;do{a[h>>0]=a[j>>0]|0;h=h+1|0;j=j+1|0}while((h|0)<(k|0));h=Ujb(r+272|0)|0;if(!h){c[r+260>>2]=0;c[r+260+4>>2]=0;c[r+260+8>>2]=0;p=a[e>>0]|0;q=(p&1)==0?(p&255)>>>1:c[e+4>>2]|0;frb(r+260|0,(p&1)==0?e+1|0:c[e+8>>2]|0,q,q+12|0);Vqb(r+260|0,439049,12)|0;if(!(a[r+248>>0]&1)){a[r+248+1>>0]=0;a[r+248>>0]=0}else{a[c[r+248+8>>2]>>0]=0;c[r+248+4>>2]=0}Qqb(r+248|0,0);c[r+248>>2]=c[r+260>>2];c[r+248+4>>2]=c[r+260+4>>2];c[r+248+8>>2]=c[r+260+8>>2];c[r+260>>2]=0;c[r+260+4>>2]=0;c[r+260+8>>2]=0;Mqb(r+260|0)}else{Rqb(r+248|0,h)|0;L7a(h)}o=r+104+64|0;c[r+104+8>>2]=9184;p=r+104+12|0;c[r+104>>2]=9388;c[o>>2]=9408;c[r+104+4>>2]=0;rsb(r+104+64|0,p);c[r+104+136>>2]=0;c[r+104+140>>2]=-1;c[r+104>>2]=9164;c[o>>2]=9204;c[r+104+8>>2]=9184;tsb(p);c[p>>2]=9220;q=r+104+44|0;c[q>>2]=0;c[q+4>>2]=0;c[q+8>>2]=0;c[q+12>>2]=0;c[r+104+60>>2]=24;c[r+272>>2]=0;c[r+272+4>>2]=0;c[r+272+8>>2]=0;dk(p,r+272|0);Mqb(r+272|0);switch(c[g>>2]|0){case 0:{h=c[g+4>>2]|0;if((h|0)>-1)Asb(ek(r+104+8|0,608043,1)|0,h)|0;break}case 1:{h=c[g+4>>2]|0;if((h|0)>-1)Asb(ek(r+104+8|0,608045,1)|0,h)|0;break}case 2:{h=c[g+4>>2]|0;if((h|0)>-1)if(Mia(c[g+8>>2]|0,r+288|0)|0){n=ek(Asb(ek(r+104+8|0,609553,1)|0,h)|0,616643,1)|0;Asb(n,d[r+288>>0]|0)|0}break}default:{}}gk(r+92|0,p);n=a[r+92>>0]|0;if(!(((n&1)==0?(n&255)>>>1:c[r+92+4>>2]|0)|0)){b=nf(16)|0;ds(b,439062,r+16|0);zc(b|0,96,27)}m=c[f+4>>2]|0;c[r>>2]=c[f>>2];c[r+4>>2]=m;c[r+272>>2]=c[r>>2];c[r+272+4>>2]=c[r+4>>2];cja(r+80|0,0,r+272|0);dja(0,r+248|0,r+92|0);c[r+56>>2]=0;c[r+56+4>>2]=0;c[r+56+8>>2]=0;m=a[r+80>>0]|0;n=(m&1)==0?(m&255)>>>1:c[r+80+4>>2]|0;frb(r+56|0,(m&1)==0?r+80+1|0:c[r+80+8>>2]|0,n,n+1|0);Vqb(r+56|0,439695,1)|0;n=a[r+92>>0]|0;n=Vqb(r+56|0,(n&1)==0?r+92+1|0:c[r+92+8>>2]|0,(n&1)==0?(n&255)>>>1:c[r+92+4>>2]|0)|0;c[r+68>>2]=c[n>>2];c[r+68+4>>2]=c[n+4>>2];c[r+68+8>>2]=c[n+8>>2];c[n>>2]=0;c[n+4>>2]=0;c[n+8>>2]=0;n=Wqb(r+68|0,439685)|0;c[r+272>>2]=c[n>>2];c[r+272+4>>2]=c[n+4>>2];c[r+272+8>>2]=c[n+8>>2];c[n>>2]=0;c[n+4>>2]=0;c[n+8>>2]=0;Mqb(r+68|0);Mqb(r+56|0);Iqb(r+20|0,439121,2);n=a[r+80>>0]|0;n=Vqb(r+20|0,(n&1)==0?r+80+1|0:c[r+80+8>>2]|0,(n&1)==0?(n&255)>>>1:c[r+80+4>>2]|0)|0;c[r+32>>2]=c[n>>2];c[r+32+4>>2]=c[n+4>>2];c[r+32+8>>2]=c[n+8>>2];c[n>>2]=0;c[n+4>>2]=0;c[n+8>>2]=0;n=Wqb(r+32|0,439695)|0;c[r+44>>2]=c[n>>2];c[r+44+4>>2]=c[n+4>>2];c[r+44+8>>2]=c[n+8>>2];c[n>>2]=0;c[n+4>>2]=0;c[n+8>>2]=0;n=a[r+248>>0]|0;m=(n&1)==0?r+248+1|0:c[r+248+8>>2]|0;n=(n&1)==0?(n&255)>>>1:c[r+248+4>>2]|0;k=a[r+44>>0]|0;j=(k&1)==0?r+44+1|0:c[r+44+8>>2]|0;k=(k&1)==0?(k&255)>>>1:c[r+44+4>>2]|0;a:do if(n>>>0>>0)j=-1;else if(!k)j=0;else{b:do if((n|0)>=(k|0))if((m+n+(1-k)|0)!=(m|0)){g=a[j>>0]|0;h=m;c:while(1){if((a[h>>0]|0)==g<<24>>24){f=h;l=j;do{l=l+1|0;if((l|0)==(j+k|0))break c;f=f+1|0}while((a[f>>0]|0)==(a[l>>0]|0))}h=h+1|0;if((h|0)==(m+n+(1-k)|0))break b}if((h|0)!=(m+n|0)){j=h-m|0;break a}}while(0);j=-1}while(0);Mqb(r+44|0);Mqb(r+32|0);Mqb(r+20|0);if((j|0)==-1){n=a[r+272>>0]|0;Vqb(r+248|0,(n&1)==0?r+272+1|0:c[r+272+8>>2]|0,(n&1)==0?(n&255)>>>1:c[r+272+4>>2]|0)|0}else{h=brb(r+248|0,44,j)|0;if((h|0)==-1){h=a[r+248>>0]|0;h=((h&1)==0?(h&255)>>>1:c[r+248+4>>2]|0)+-1|0}n=a[r+272>>0]|0;$qb(r+248|0,j,1-j+h|0,(n&1)==0?r+272+1|0:c[r+272+8>>2]|0,(n&1)==0?(n&255)>>>1:c[r+272+4>>2]|0)|0}h=Pib((a[r+248>>0]&1)==0?r+248+1|0:c[r+248+8>>2]|0)|0;if((h|0)==-1){b=(h|0)>-1;Mqb(r+272|0);Mqb(r+80|0);Mqb(r+92|0);c[r+104>>2]=9164;c[o>>2]=9204;e=r+104+8|0;c[e>>2]=9184;c[p>>2]=9220;Mqb(q);urb(p);qrb(o);Mqb(r+248|0);i=r;return b|0}a[(eja(b+32|0,e)|0)>>0]=1;if((h|0)!=1){b=(h|0)>-1;Mqb(r+272|0);Mqb(r+80|0);Mqb(r+92|0);c[r+104>>2]=9164;c[o>>2]=9204;e=r+104+8|0;c[e>>2]=9184;c[p>>2]=9220;Mqb(q);urb(p);qrb(o);Mqb(r+248|0);i=r;return b|0}fja(b,e);b=(h|0)>-1;Mqb(r+272|0);Mqb(r+80|0);Mqb(r+92|0);c[r+104>>2]=9164;c[o>>2]=9204;e=r+104+8|0;c[e>>2]=9184;c[p>>2]=9220;Mqb(q);urb(p);qrb(o);Mqb(r+248|0);i=r;return b|0}function cja(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=i;i=i+16|0;switch(c[d>>2]|0){case 0:{if(Kia(c[d+4>>2]|0,e+8|0)|0){b=Sjb(c[e+8>>2]|0)|0;f=6}break}case 1:{if(Lia(c[d+4>>2]|0,e+4|0)|0){b=Tjb(c[e+4>>2]|0)|0;f=6}break}default:{}}if((f|0)==6)if(b|0){Iqb(a,b,rnb(b)|0);i=e;return}f=nf(16)|0;ds(f,439092,e);zc(f|0,96,27)}function dja(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;c[o>>2]=0;c[o+4>>2]=0;c[o+8>>2]=0;l=a[e>>0]|0;m=(l&1)==0?(l&255)>>>1:c[e+4>>2]|0;frb(o,(l&1)==0?e+1|0:c[e+8>>2]|0,m,m+1|0);Vqb(o,439685,1)|0;m=a[d>>0]|0;l=(m&1)==0?d+1|0:c[d+8>>2]|0;m=(m&1)==0?(m&255)>>>1:c[d+4>>2]|0;g=a[o>>0]|0;f=(g&1)==0?o+1|0:c[o+8>>2]|0;g=(g&1)==0?(g&255)>>>1:c[o+4>>2]|0;a:do if(m>>>0>>0)n=12;else{if(!g){Mqb(o);b=0;break}if((m|0)<(g|0))n=12;else if((l+m+(1-g)|0)==(l|0))n=12;else{h=a[f>>0]|0;b=l;b:while(1){if((a[b>>0]|0)==h<<24>>24){j=b;k=f;do{k=k+1|0;if((k|0)==(f+g|0))break b;j=j+1|0}while((a[j>>0]|0)==(a[k>>0]|0))}b=b+1|0;if((b|0)==(l+m+(1-g)|0)){n=12;break a}}if((b|0)==(l+m|0))n=12;else{Mqb(o);if((b-l|0)==-1)n=14;else b=b-l|0}}}while(0);if((n|0)==12){Mqb(o);n=14}if((n|0)==14){m=a[d>>0]|0;k=(m&1)==0?d+1|0:c[d+8>>2]|0;m=(m&1)==0?(m&255)>>>1:c[d+4>>2]|0;l=a[e>>0]|0;j=(l&1)==0?e+1|0:c[e+8>>2]|0;l=(l&1)==0?(l&255)>>>1:c[e+4>>2]|0;c:do if((l|0)==0|(m|0)<(l|0))b=k+m|0;else if((l+-1|0)==(m|0))b=k+m|0;else{f=a[j+l+-1>>0]|0;g=k+m|0;while(1){g=g+-1|0;if((a[g>>0]|0)==f<<24>>24){b=g;h=j+l+-1|0;do{if((h|0)==(j|0))break c;b=b+-1|0;h=h+-1|0}while((a[b>>0]|0)==(a[h>>0]|0))}if((k+(l+-1)|0)==(g|0)){b=k+m|0;break}}}while(0);b=(l|0)!=0&(b|0)==(k+m|0)?-1:b-k|0;if((b|0)==-1|(b|0)!=(m-l|0)){i=o;return}}f=crb(d,44,b)|0;if((f|0)==-1){i=o;return}e=a[d>>0]|0;if(f>>>0>=(((e&1)==0?(e&255)>>>1:c[d+4>>2]|0)+-1|0)>>>0){i=o;return}b=brb(d,44,f+2|0)|0;if((b|0)==-1){b=a[d>>0]|0;b=((b&1)==0?(b&255)>>>1:c[d+4>>2]|0)+-1|0}arb(d,f+1|0,b-f|0,1279070)|0;i=o;return}function eja(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+16|0;f=Wia(b,h,d)|0;e=c[f>>2]|0;if(e|0){b=e;b=b+28|0;i=h;return b|0}g=YAb(32)|0;Hqb(g+16|0,d);a[g+28>>0]=0;e=c[h>>2]|0;c[g>>2]=0;c[g+4>>2]=0;c[g+8>>2]=e;c[f>>2]=g;e=c[c[b>>2]>>2]|0;if(!e)e=g;else{c[b>>2]=e;e=c[f>>2]|0}Fj(c[b+4>>2]|0,e);c[b+8>>2]=(c[b+8>>2]|0)+1;b=g;b=b+28|0;i=h;return b|0}function fja(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;k=i;i=i+96|0;if((Wib()|0)<=0){i=k;return}j=0;do{if(Rjb(j)|0){if((Wib()|0)>(j|0)){e=k+40|0;g=e+33|0;do{a[e>>0]=0;e=e+1|0}while((e|0)<(g|0));khb(k+24|0,j);e=k+80|0;f=k+24|0;g=e+16|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));Vjb(k+80|0,k+40|0,33);Iqb(k+12|0,k+40|0,rnb(k+40|0)|0)}else Iqb(k+12|0,1279070,0);e=a[d>>0]|0;f=(e&1)==0?(e&255)>>>1:c[d+4>>2]|0;h=a[k+12>>0]|0;g=(h&1)==0?(h&255)>>>1:c[k+12+4>>2]|0;h=(qmb((e&1)==0?d+1|0:c[d+8>>2]|0,(h&1)==0?k+12+1|0:c[k+12+8>>2]|0,f>>>0>g>>>0?g:f)|0)!=0;Mqb(k+12|0);if(!((f|0)!=(g|0)|h)){e=c[b+8>>2]|0;h=c[b+12>>2]|0;if((e|0)!=(h|0))do{f=c[e>>2]|0;if(!(vi[c[(c[f>>2]|0)+64>>2]&2047](f)|0)){si[c[(c[f>>2]|0)+80>>2]&511](k,f);n=a[d>>0]|0;m=(n&1)==0?(n&255)>>>1:c[d+4>>2]|0;g=a[k>>0]|0;l=(g&1)==0?(g&255)>>>1:c[k+4>>2]|0;g=(qmb((n&1)==0?d+1|0:c[d+8>>2]|0,(g&1)==0?k+1|0:c[k+8>>2]|0,m>>>0>l>>>0?l:m)|0)!=0;Mqb(k);if(!((m|0)!=(l|0)|g)){g=Wjb(j)|0;if(g|0){n=gkb(g)|0;if((n|0)==(vi[c[(c[f>>2]|0)+76>>2]&2047](f)|0))Xi[c[(c[f>>2]|0)+60>>2]&511](f,j)|0;hkb(g)}}}e=e+4|0}while((e|0)!=(h|0))}}j=j+1|0}while((j|0)<(Wib()|0));i=k;return}function gja(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+128|0;d=a[e>>0]|0;if((((d&1)==0?(d&255)>>>1:c[e+4>>2]|0)|0)!=32){b=nf(16)|0;c[m+8>>2]=(a[e>>0]&1)==0?e+1|0:c[e+8>>2]|0;ds(b,439023,m+8|0);zc(b|0,96,27)}c[b>>2]=3;Rib(m+104|0,(d&1)==0?e+1|0:c[e+8>>2]|0);c[m+72>>2]=0;c[m+72+4>>2]=0;c[m+72+8>>2]=0;d=m+88|0;e=m+104|0;g=d+16|0;do{a[d>>0]=a[e>>0]|0;d=d+1|0;e=e+1|0}while((d|0)<(g|0));d=Ujb(m+88|0)|0;if(!d){Mqb(m+72|0);i=m;return}Rqb(m+72|0,d)|0;L7a(d);l=c[f+4>>2]|0;c[m>>2]=c[f>>2];c[m+4>>2]=l;c[m+88>>2]=c[m>>2];c[m+88+4>>2]=c[m+4>>2];cja(m+60|0,0,m+88|0);Iqb(m+24|0,439685,1);l=a[m+60>>0]|0;l=Vqb(m+24|0,(l&1)==0?m+60+1|0:c[m+60+8>>2]|0,(l&1)==0?(l&255)>>>1:c[m+60+4>>2]|0)|0;c[m+36>>2]=c[l>>2];c[m+36+4>>2]=c[l+4>>2];c[m+36+8>>2]=c[l+8>>2];c[l>>2]=0;c[l+4>>2]=0;c[l+8>>2]=0;l=Wqb(m+36|0,439695)|0;c[m+48>>2]=c[l>>2];c[m+48+4>>2]=c[l+4>>2];c[m+48+8>>2]=c[l+8>>2];c[l>>2]=0;c[l+4>>2]=0;c[l+8>>2]=0;l=a[m+72>>0]|0;k=(l&1)==0?m+72+1|0:c[m+72+8>>2]|0;l=(l&1)==0?(l&255)>>>1:c[m+72+4>>2]|0;g=a[m+48>>0]|0;e=(g&1)==0?m+48+1|0:c[m+48+8>>2]|0;g=(g&1)==0?(g&255)>>>1:c[m+48+4>>2]|0;a:do if(l>>>0>>0)e=-1;else if(!g)e=0;else{b:do if((l|0)>=(g|0))if((k+l+(1-g)|0)!=(k|0)){f=a[e>>0]|0;d=k;c:while(1){if((a[d>>0]|0)==f<<24>>24){h=d;j=e;do{j=j+1|0;if((j|0)==(e+g|0))break c;h=h+1|0}while((a[h>>0]|0)==(a[j>>0]|0))}d=d+1|0;if((d|0)==(k+l+(1-g)|0))break b}if((d|0)!=(k+l|0)){e=d-k|0;break a}}while(0);e=-1}while(0);Mqb(m+48|0);Mqb(m+36|0);Mqb(m+24|0);if((e|0)!=-1){d=brb(m+72|0,44,e+1|0)|0;g=a[m+72>>0]|0;if((d|0)==-1){d=c[m+72+4>>2]|0;f=d;d=((g&1)==0?(g&255)>>>1:d)+-1|0}else f=c[m+72+4>>2]|0;if(d>>>0<((g&1)==0?(g&255)>>>1:f)>>>0){l=a[m+60>>0]|0;l=e+2+((l&1)==0?(l&255)>>>1:c[m+60+4>>2]|0)|0;Kqb(m+88|0,m+72|0,l,d+1+(((a[((g&1)==0?m+72+1|0:c[m+72+8>>2]|0)+d>>0]|0)==44)<<31>>31)-l|0,m+72|0);hja(m+12|0,0,m+88|0);c[b>>2]=c[m+12>>2];c[b+4>>2]=c[m+12+4>>2];c[b+8>>2]=c[m+12+8>>2];Mqb(m+88|0)}}Mqb(m+60|0);Mqb(m+72|0);i=m;return}function hja(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+48|0;c[b>>2]=3;d=a[e>>0]|0;if(((d&1)==0?(d&255)>>>1:c[e+4>>2]|0)>>>0<2){i=f;return}d=a[((d&1)==0?e+1|0:c[e+8>>2]|0)>>0]|0;Kqb(f+24|0,e,1,-1,e);switch(d<<24>>24|0){case 97:{c[b>>2]=0;c[b+4>>2]=gmb((a[f+24>>0]&1)==0?f+24+1|0:c[f+24+8>>2]|0,0,10)|0;break}case 98:{c[b>>2]=1;c[b+4>>2]=gmb((a[f+24>>0]&1)==0?f+24+1|0:c[f+24+8>>2]|0,0,10)|0;break}case 104:{e=a[f+24>>0]|0;if(((e&1)==0?(e&255)>>>1:c[f+24+4>>2]|0)>>>0>=3){c[b>>2]=2;Kqb(f+12|0,f+24|0,0,1,f+24|0);c[b+4>>2]=gmb((a[f+12>>0]&1)==0?f+12+1|0:c[f+12+8>>2]|0,0,10)|0;Mqb(f+12|0);Kqb(f,f+24|0,2,-1,f+24|0);e=(gmb((a[f>>0]&1)==0?f+1|0:c[f+8>>2]|0,0,10)|0)&255;Mqb(f);if(!(Jia(e,b+8|0)|0))c[b>>2]=3}break}default:{}}Mqb(f+24|0);i=f;return}function ija(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+176|0;c[o+16+8>>2]=9184;m=o+16+12|0;c[o+16>>2]=9388;c[o+16+64>>2]=9408;c[o+16+4>>2]=0;rsb(o+16+64|0,m);c[o+16+136>>2]=0;c[o+16+140>>2]=-1;c[o+16>>2]=9164;c[o+16+64>>2]=9204;c[o+16+8>>2]=9184;tsb(m);c[m>>2]=9220;n=o+16+44|0;c[n>>2]=0;c[n+4>>2]=0;c[n+8>>2]=0;c[n+12>>2]=0;c[o+16+60>>2]=24;dk(m,d);c[o+4>>2]=0;c[o+4+4>>2]=0;c[o+4+8>>2]=0;l=0;a:while(1){b:while(1){c[o+160>>2]=ssb(o+16+(c[(c[o+16>>2]|0)+-12>>2]|0)|0)|0;k=Usb(o+160|0,1203596)|0;k=Xi[c[(c[k>>2]|0)+28>>2]&511](k,10)|0;bAb(o+160|0);k=kv(o+16|0,o+4|0,k)|0;if(c[k+(c[(c[k>>2]|0)+-12>>2]|0)+16>>2]&5|0)break a;e=a[o+4>>0]|0;j=(e&1)==0?(e&255)>>>1:c[o+4+4>>2]|0;if(!j)continue;d=c[o+4+8>>2]|0;k=(e&1)==0?o+4+1|0:d;g=a[k>>0]|0;if(g<<24>>24==35)continue;c:do if(j>>>0>=9)if((j|0)>=9)if((k+j+-8|0)!=(k|0)){f=k;d:while(1){if(g<<24>>24==112){g=f;h=439124;do{h=h+1|0;if((h|0)==439133)break d;g=g+1|0}while((a[g>>0]|0)==(a[h>>0]|0))}g=f+1|0;if((g|0)==(k+j+-8|0))break c;f=g;g=a[g>>0]|0}if(!((f|0)==(k+j|0)|(f-k|0)==-1)){d=brb(o+4|0,44,f-k+9|0)|0;Kqb(o+160|0,o+4|0,f-k+9|0,d-(f-k+9)|0,o+4|0);if(erb(o+160|0,ajb()|0)|0){d=17;break b}_qb(o+4|0,f-k|0,1-(f-k)+d|0)|0;Mqb(o+160|0);e=a[o+4>>0]|0;d=c[o+4+8>>2]|0}}while(0);if((Pib((e&1)==0?o+4+1|0:d)|0)!=-1){d=19;break}}if((d|0)==17){Mqb(o+160|0);l=1;continue}else if((d|0)==19){Kqb(o+160|0,o+4|0,0,brb(o+4|0,44,0)|0,o+4|0);a[(eja(b+32|0,o+160|0)|0)>>0]=1;fja(b,o+160|0);Mqb(o+160|0);l=1;continue}}if(l){Mqb(o+4|0);c[o+16>>2]=9164;c[o+16+64>>2]=9204;c[o+16+8>>2]=9184;c[m>>2]=9220;Mqb(n);urb(m);qrb(o+16+64|0);i=o;return}else{b=nf(16)|0;ds(b,439134,o);zc(b|0,96,27)}}function jja(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;j=i;i=i+80|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;e=c[d+32>>2]|0;if((e|0)==(d+36|0)){i=j;return}f=e;while(1){e=f+16|0;if(!(a[e>>0]&1))e=e+1|0;else e=c[f+24>>2]|0;Rib(j+56|0,e);e=j+40|0;g=j+56|0;h=e+16|0;do{a[e>>0]=a[g>>0]|0;e=e+1|0;g=g+1|0}while((e|0)<(h|0));e=Ujb(j+40|0)|0;if(e){Iqb(j+40|0,e,rnb(e)|0);L7a(e);g=crb(j+40|0,44,-1)|0;h=a[j+40>>0]|0;if((g|0)!=(((h&1)==0?(h&255)>>>1:c[j+40+4>>2]|0)+-1|0))Wqb(j+40|0,439685)|0;h=ajb()|0;Iqb(j,h,rnb(h)|0);h=Zqb(j,0,439124)|0;c[j+12>>2]=c[h>>2];c[j+12+4>>2]=c[h+4>>2];c[j+12+8>>2]=c[h+8>>2];c[h>>2]=0;c[h+4>>2]=0;c[h+8>>2]=0;h=Wqb(j+12|0,439160)|0;c[j+24>>2]=c[h>>2];c[j+24+4>>2]=c[h+4>>2];c[j+24+8>>2]=c[h+8>>2];c[h>>2]=0;c[h+4>>2]=0;c[h+8>>2]=0;h=a[j+24>>0]|0;Vqb(j+40|0,(h&1)==0?j+24+1|0:c[j+24+8>>2]|0,(h&1)==0?(h&255)>>>1:c[j+24+4>>2]|0)|0;Mqb(j+24|0);Mqb(j+12|0);Mqb(j);h=a[j+40>>0]|0;Vqb(b,(h&1)==0?j+40+1|0:c[j+40+8>>2]|0,(h&1)==0?(h&255)>>>1:c[j+40+4>>2]|0)|0;Mqb(j+40|0)}e=c[f+4>>2]|0;if(!e)while(1){e=c[f+8>>2]|0;if((c[e>>2]|0)==(f|0))break;else f=e}else while(1){f=c[e>>2]|0;if(!f)break;else e=f}if((e|0)==(d+36|0))break;else f=e}i=j;return}function kja(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;Jj(a);c[a>>2]=25148;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[a+20>>2]=a+20;c[a+24>>2]=a+20;c[a+28>>2]=0;c[a+36>>2]=0;c[a+40>>2]=0;c[a+32>>2]=a+36;if((Dgb(8704)|0)<0){a=nf(16)|0;c[d>>2]=n6a()|0;ds(a,439163,d);zc(a|0,96,27)}b=0;while(1){if((b|0)>=(Wib()|0))break;Xi[c[(c[a>>2]|0)+24>>2]&511](a,b)|0;b=b+1|0}djb(1)|0;ikb(1)|0;i=d;return}function lja(){mja(632068,25212,72);a[632524]=0;a[632536]=0;a[632548]=0;a[632560]=0;a[632572]=0;a[632584]=0;a[632596]=0;a[632608]=0;a[632620]=0;a[632632]=0;a[632644]=0;a[632656]=0;a[632668]=0;a[632680]=0;c[158171]=0;c[158172]=0;c[158173]=0;c[158174]=0;c[158175]=0;c[158176]=0;c[158177]=0;nja(632516,608143,1)|0;nja(632516,608149,2)|0;nja(632516,608155,3)|0;nja(632516,608162,4)|0;nja(632516,439224,5)|0;nja(632516,439236,6)|0;oja(632712,25284,120);a[633168]=0;a[633180]=0;a[633192]=0;a[633204]=0;a[633216]=0;a[633228]=0;c[158308]=0;c[158309]=0;c[158310]=0;pja(633160,439249,0)|0;pja(633160,439254,1)|0;pja(633160,439261,2)|0;return}function mja(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;a[b+8>>0]=0;a[b+20>>0]=0;a[b+32>>0]=0;a[b+44>>0]=0;a[b+56>>0]=0;a[b+68>>0]=0;a[b+80>>0]=0;a[b+92>>0]=0;a[b+104>>0]=0;a[b+116>>0]=0;a[b+128>>0]=0;a[b+140>>0]=0;a[b+152>>0]=0;a[b+164>>0]=0;a[b+176>>0]=0;a[b+188>>0]=0;a[b+200>>0]=0;a[b+212>>0]=0;a[b+224>>0]=0;a[b+236>>0]=0;a[b+248>>0]=0;a[b+260>>0]=0;a[b+272>>0]=0;a[b+284>>0]=0;a[b+296>>0]=0;a[b+308>>0]=0;a[b+320>>0]=0;a[b+332>>0]=0;a[b+344>>0]=0;a[b+356>>0]=0;a[b+368>>0]=0;a[b+380>>0]=0;f=b+384|0;g=f+64|0;do{c[f>>2]=0;f=f+4|0}while((f|0)<(g|0));if(!(e>>>3)){i=n;return}else l=0;do{j=c[d+(l<<3)>>2]|0;k=c[d+(l<<3)+4>>2]|0;f=a[j>>0]|0;if(!(f<<24>>24))g=5381;else{h=j;g=5381;do{h=h+1|0;g=(g*33|0)+(f<<24>>24)|0;f=a[h>>0]|0}while(f<<24>>24!=0)}h=0;do{f=h+g&31;h=h+1|0;if(!(a[b+(f*12|0)+8>>0]|0)){m=8;break}}while(h>>>0<32);if((m|0)==8){m=0;a[b+(f*12|0)+8>>0]=1;c[b+(f*12|0)>>2]=j;c[b+(f*12|0)+4>>2]=k}if(k>>>0>15){c[n>>2]=j;c[n+4>>2]=k;vpb(441068,n)|0}else c[b+384+(k<<2)>>2]=j;l=l+1|0}while((l|0)!=(e>>>3|0));i=n;return}function nja(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;f=a[d>>0]|0;if(!(f<<24>>24))g=5381;else{h=d;g=5381;do{h=h+1|0;g=(g*33|0)+(f<<24>>24)|0;f=a[h>>0]|0}while(f<<24>>24!=0)}f=(g>>>0)%14|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+1|0)>>>0)%14|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+2|0)>>>0)%14|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+3|0)>>>0)%14|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+4|0)>>>0)%14|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+5|0)>>>0)%14|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+6|0)>>>0)%14|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+7|0)>>>0)%14|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+8|0)>>>0)%14|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+9|0)>>>0)%14|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+10|0)>>>0)%14|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+11|0)>>>0)%14|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+12|0)>>>0)%14|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+13|0)>>>0)%14|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else f=0}}}}}}}}}}}}}if((j|0)==5){a[f>>0]=1;c[b+(g*12|0)>>2]=d;c[b+(g*12|0)+4>>2]=e;f=1}if(e>>>0>6){c[k>>2]=d;c[k+4>>2]=e;vpb(441068,k)|0;j=0;i=k;return j|0}else{c[b+168+(e<<2)>>2]=d;j=f;i=k;return j|0}return 0}function oja(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;a[b+8>>0]=0;a[b+20>>0]=0;a[b+32>>0]=0;a[b+44>>0]=0;a[b+56>>0]=0;a[b+68>>0]=0;a[b+80>>0]=0;a[b+92>>0]=0;a[b+104>>0]=0;a[b+116>>0]=0;a[b+128>>0]=0;a[b+140>>0]=0;a[b+152>>0]=0;a[b+164>>0]=0;a[b+176>>0]=0;a[b+188>>0]=0;a[b+200>>0]=0;a[b+212>>0]=0;a[b+224>>0]=0;a[b+236>>0]=0;a[b+248>>0]=0;a[b+260>>0]=0;a[b+272>>0]=0;a[b+284>>0]=0;a[b+296>>0]=0;a[b+308>>0]=0;a[b+320>>0]=0;a[b+332>>0]=0;a[b+344>>0]=0;a[b+356>>0]=0;a[b+368>>0]=0;a[b+380>>0]=0;f=b+384|0;g=f+64|0;do{c[f>>2]=0;f=f+4|0}while((f|0)<(g|0));if(!(e>>>3)){i=n;return}else l=0;do{j=c[d+(l<<3)>>2]|0;k=c[d+(l<<3)+4>>2]|0;f=a[j>>0]|0;if(!(f<<24>>24))g=5381;else{h=j;g=5381;do{h=h+1|0;g=(g*33|0)+(f<<24>>24)|0;f=a[h>>0]|0}while(f<<24>>24!=0)}h=0;do{f=h+g&31;h=h+1|0;if(!(a[b+(f*12|0)+8>>0]|0)){m=8;break}}while(h>>>0<32);if((m|0)==8){m=0;a[b+(f*12|0)+8>>0]=1;c[b+(f*12|0)>>2]=j;c[b+(f*12|0)+4>>2]=k}if(k>>>0>15){c[n>>2]=j;c[n+4>>2]=k;vpb(441068,n)|0}else c[b+384+(k<<2)>>2]=j;l=l+1|0}while((l|0)!=(e>>>3|0));i=n;return}function pja(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;f=a[d>>0]|0;if(!(f<<24>>24))g=5381;else{h=d;g=5381;do{h=h+1|0;g=(g*33|0)+(f<<24>>24)|0;f=a[h>>0]|0}while(f<<24>>24!=0)}f=(g>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+1|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+2|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+3|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+4|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+5|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else f=0}}}}}if((j|0)==5){a[f>>0]=1;c[b+(g*12|0)>>2]=d;c[b+(g*12|0)+4>>2]=e;f=1}if(e>>>0>2){c[k>>2]=d;c[k+4>>2]=e;vpb(441068,k)|0;j=0;i=k;return j|0}else{c[b+72+(e<<2)>>2]=d;j=f;i=k;return j|0}return 0}function qja(a){a=+a;if(+N(+a)<.01){a=0.0;return +a}if(a<-.9900000095367432){a=-1.0;return +a}a=a>.9900000095367432?1.0:a;return +a}function rja(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=a[b>>0]|0;if(!(e<<24>>24))f=5381;else{g=b;f=5381;do{g=g+1|0;f=(f*33|0)+(e<<24>>24)|0;e=a[g>>0]|0}while(e<<24>>24!=0)}j=0;while(1){i=j+f&31;if(!(a[632068+(i*12|0)+8>>0]|0)){e=1;f=0;k=11;break}g=c[632068+(i*12|0)>>2]|0;h=a[g>>0]|0;a:do if(!(h<<24>>24)){e=b;k=8}else{e=b;while(1){l=a[e>>0]|0;if(!(l<<24>>24?h<<24>>24==l<<24>>24:0))break a;g=g+1|0;e=e+1|0;h=a[g>>0]|0;if(!(h<<24>>24)){k=8;break}}}while(0);if((k|0)==8){k=0;if(!(a[e>>0]|0)){k=9;break}}j=j+1|0;if(j>>>0>=32){e=0;f=0;k=11;break}}if((k|0)==9){c[d>>2]=c[632068+(i*12|0)+4>>2];k=1;l=1;l=k&l;return l|0}else if((k|0)==11){l=e&f;return l|0}return 0}function sja(a,b){a=a|0;b=b|0;if(a>>>0>15)a=0;else{a=c[632452+(a<<2)>>2]|0;if(!a)a=0;else{c[b>>2]=a;a=1}}return a|0}function tja(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=a[b>>0]|0;if(!(e<<24>>24))f=5381;else{g=b;f=5381;do{g=g+1|0;f=(f*33|0)+(e<<24>>24)|0;e=a[g>>0]|0}while(e<<24>>24!=0)}j=0;while(1){i=((j+f|0)>>>0)%14|0;if(!(a[632516+(i*12|0)+8>>0]|0)){e=1;f=0;k=11;break}g=c[632516+(i*12|0)>>2]|0;h=a[g>>0]|0;a:do if(!(h<<24>>24)){e=b;k=8}else{e=b;while(1){l=a[e>>0]|0;if(!(l<<24>>24?h<<24>>24==l<<24>>24:0))break a;g=g+1|0;e=e+1|0;h=a[g>>0]|0;if(!(h<<24>>24)){k=8;break}}}while(0);if((k|0)==8){k=0;if(!(a[e>>0]|0)){k=9;break}}j=j+1|0;if(j>>>0>=14){e=0;f=0;k=11;break}}if((k|0)==9){c[d>>2]=c[632516+(i*12|0)+4>>2];k=1;l=1;l=k&l;return l|0}else if((k|0)==11){l=e&f;return l|0}return 0}function uja(a,b){a=a|0;b=b|0;if(a>>>0>6)a=0;else{a=c[632684+(a<<2)>>2]|0;if(!a)a=0;else{c[b>>2]=a;a=1}}return a|0}function vja(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=a[b>>0]|0;if(!(e<<24>>24))f=5381;else{g=b;f=5381;do{g=g+1|0;f=(f*33|0)+(e<<24>>24)|0;e=a[g>>0]|0}while(e<<24>>24!=0)}j=0;while(1){i=j+f&31;if(!(a[632712+(i*12|0)+8>>0]|0)){e=1;f=0;k=11;break}g=c[632712+(i*12|0)>>2]|0;h=a[g>>0]|0;a:do if(!(h<<24>>24)){e=b;k=8}else{e=b;while(1){l=a[e>>0]|0;if(!(l<<24>>24?h<<24>>24==l<<24>>24:0))break a;g=g+1|0;e=e+1|0;h=a[g>>0]|0;if(!(h<<24>>24)){k=8;break}}}while(0);if((k|0)==8){k=0;if(!(a[e>>0]|0)){k=9;break}}j=j+1|0;if(j>>>0>=32){e=0;f=0;k=11;break}}if((k|0)==9){c[d>>2]=c[632712+(i*12|0)+4>>2];k=1;l=1;l=k&l;return l|0}else if((k|0)==11){l=e&f;return l|0}return 0}function wja(a,b){a=a|0;b=b|0;if(a>>>0>15)a=0;else{a=c[633096+(a<<2)>>2]|0;if(!a)a=0;else{c[b>>2]=a;a=1}}return a|0}function xja(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=a[b>>0]|0;if(!(e<<24>>24))f=5381;else{g=b;f=5381;do{g=g+1|0;f=(f*33|0)+(e<<24>>24)|0;e=a[g>>0]|0}while(e<<24>>24!=0)}j=0;while(1){i=((j+f|0)>>>0)%6|0;if(!(a[633160+(i*12|0)+8>>0]|0)){e=1;f=0;k=11;break}g=c[633160+(i*12|0)>>2]|0;h=a[g>>0]|0;a:do if(!(h<<24>>24)){e=b;k=8}else{e=b;while(1){l=a[e>>0]|0;if(!(l<<24>>24?h<<24>>24==l<<24>>24:0))break a;g=g+1|0;e=e+1|0;h=a[g>>0]|0;if(!(h<<24>>24)){k=8;break}}}while(0);if((k|0)==8){k=0;if(!(a[e>>0]|0)){k=9;break}}j=j+1|0;if(j>>>0>=6){e=0;f=0;k=11;break}}if((k|0)==9){c[d>>2]=c[633160+(i*12|0)+4>>2];k=1;l=1;l=k&l;return l|0}else if((k|0)==11){l=e&f;return l|0}return 0}function yja(a,b){a=a|0;b=b|0;if(a>>>0>2)a=0;else{a=c[633232+(a<<2)>>2]|0;if(!a)a=0;else{c[b>>2]=a;a=1}}return a|0}function zja(a,b){a=a|0;b=b|0;return Aja(a,b,24)|0}function Aja(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((qDa(a,b)|0)!=7){c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0}e=EDa(a,b)|0;if(c[(c[155773]|0)+(c[e>>2]<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0){d=e+4|0;d=c[d>>2]|0;i=f;return d|0}c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0;d=e+4|0;d=c[d>>2]|0;i=f;return d|0}function Bja(a){a=a|0;var b=0;b=Aja(a,1,24)|0;gs(a,vi[c[(c[b>>2]|0)+24>>2]&2047](b)|0);return 1}function Cja(a){a=a|0;var b=0;b=Aja(a,1,24)|0;LDa(a,vi[c[(c[b>>2]|0)+28>>2]&2047](b)|0);return 1}function Dja(a){a=a|0;var b=0;b=Aja(a,1,24)|0;JDa(a,(vi[c[(c[b>>2]|0)+88>>2]&2047](b)|0)+1|0);b=vi[c[(c[b>>2]|0)+84>>2]&2047](b)|0;if((b|0)>-1){JDa(a,b+1|0);return 2}else{HDa(a);return 2}return 0}function Eja(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;d=Aja(a,1,24)|0;si[c[(c[d>>2]|0)+80>>2]&511](b,d);ks(a,b);Mqb(b);i=b;return 1}function Fja(a){a=a|0;var b=0;b=Aja(a,1,24)|0;JDa(a,vi[c[(c[b>>2]|0)+32>>2]&2047](b)|0);return 1}function Gja(a){a=a|0;var b=0;b=Aja(a,1,24)|0;JDa(a,vi[c[(c[b>>2]|0)+36>>2]&2047](b)|0);return 1}function Hja(a){a=a|0;var b=0;b=Aja(a,1,24)|0;JDa(a,vi[c[(c[b>>2]|0)+40>>2]&2047](b)|0);return 1}function Ija(a){a=a|0;var b=0,d=0;d=Aja(a,1,24)|0;b=~~+_Ga(a,2)+-1|0;IDa(a,+_i[c[(c[d>>2]|0)+44>>2]&15](d,b));return 1}function Jja(a){a=a|0;var b=0,d=0,e=0,f=0;f=i;i=i+16|0;d=Aja(a,1,24)|0;si[c[(c[d>>2]|0)+48>>2]&511](f,d);d=c[f+4>>2]|0;b=c[f>>2]|0;if((d|0)==(b|0))e=0;else{d=0;do{IDa(a,+g[b+(d<<2)>>2]);d=d+1|0;e=c[f+4>>2]|0;b=c[f>>2]|0}while(d>>>0>2>>>0);d=e;e=e-b>>2}if(!b){i=f;return e|0}if((d|0)!=(b|0))c[f+4>>2]=d+(~((d+-4-b|0)>>>2)<<2);oAb(b);i=f;return e|0}function Kja(a){a=a|0;var b=0,d=0,e=0;b=i;i=i+16|0;e=Aja(a,1,24)|0;d=~~+_Ga(a,2)+-1|0;d=Xi[c[(c[e>>2]|0)+52>>2]&511](e,d)|0;c[b>>2]=1279070;sja(d,b)|0;LDa(a,c[b>>2]|0);i=b;return 1}function Lja(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;h=i;i=i+16|0;b=Aja(a,1,24)|0;aHa(a,2)|0;c[h+4>>2]=0;g=h+4+4|0;c[g>>2]=0;c[h+4+8>>2]=0;f=2;while(1){if((f|0)>(kDa(a)|0))break;d=~~+_Ga(a,f)+-1|0;c[h>>2]=d;e=c[g>>2]|0;if(e>>>0<(c[h+4+8>>2]|0)>>>0){c[e>>2]=d;c[g>>2]=e+4}else al(h+4|0,h);f=f+1|0}gs(a,Xi[c[(c[b>>2]|0)+56>>2]&511](b,h+4|0)|0);b=c[h+4>>2]|0;if(!b){i=h;return 1}d=c[g>>2]|0;if((d|0)!=(b|0))c[g>>2]=d+(~((d+-4-b|0)>>>2)<<2);oAb(b);i=h;return 1}function Mja(a){a=a|0;var b=0;b=Aja(a,1,24)|0;gs(a,vi[c[(c[b>>2]|0)+64>>2]&2047](b)|0);return 1}function Nja(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;b=Aja(a,1,24)|0;d=UGa(a,2,0)|0;if(tja(d,e+4|0)|0){IDa(a,+_i[c[(c[b>>2]|0)+68>>2]&15](b,c[e+4>>2]|0));a=1;i=e;return a|0}else{c[e>>2]=d;a=PGa(a,439273,e)|0;i=e;return a|0}return 0}function Oja(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;g=i;i=i+32|0;e=Aja(a,1,24)|0;c[g+8>>2]=0;f=g+8+4|0;c[f>>2]=0;c[g+8+8>>2]=0;b=(kDa(a)|0)+-1|0;if(b|0){d=YAb(b<<2)|0;c[g+8>>2]=d;c[f>>2]=d;c[g+8+8>>2]=d+(b<<2)}UGa(a,2,0)|0;d=2;while(1){if((d|0)>(kDa(a)|0)){d=11;break}b=UGa(a,d,0)|0;if(!(vja(b,g+4|0)|0)){d=6;break}b=c[f>>2]|0;if((b|0)==(c[g+8+8>>2]|0))Pja(g+8|0,g+4|0);else{c[b>>2]=c[g+4>>2];c[f>>2]=b+4}d=d+1|0}if((d|0)==6){c[g>>2]=b;e=PGa(a,439298,g)|0}else if((d|0)==11){gs(a,Xi[c[(c[e>>2]|0)+72>>2]&511](e,g+8|0)|0);e=1}b=c[g+8>>2]|0;if(!b){i=g;return e|0}d=c[f>>2]|0;if((d|0)!=(b|0))c[f>>2]=d+(~((d+-4-b|0)>>>2)<<2);oAb(b);i=g;return e|0}function Pja(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=c[a>>2]|0;d=((c[a+4>>2]|0)-j>>2)+1|0;if(d>>>0>1073741823)jzb(a);e=(c[a+8>>2]|0)-j|0;if(e>>2>>>0<536870911){d=e>>1>>>0>>0?d:e>>1;f=c[a+4>>2]|0;if(!d){i=0;g=0;e=f-j>>2;d=f}else{h=f;e=f-j>>2;k=6}}else{e=c[a+4>>2]|0;d=1073741823;h=e;e=e-j>>2;k=6}if((k|0)==6){i=d;g=YAb(d<<2)|0;d=h}k=g+(e<<2)|0;c[k>>2]=c[b>>2];b=d-j|0;mBb(k+(0-(b>>2)<<2)|0,j|0,b|0)|0;c[a>>2]=k+(0-(b>>2)<<2);c[a+4>>2]=k+4;c[a+8>>2]=g+(i<<2);if(!j)return;oAb(j);return}function Qja(a){a=a|0;var b=0;b=Aja(a,1,24)|0;gs(a,vi[c[(c[b>>2]|0)+92>>2]&2047](b)|0);return 1}function Rja(a){a=a|0;var b=0,d=0.0,e=0.0,f=0.0;b=Aja(a,1,24)|0;if((qDa(a,2)|0)<1){b=vi[c[(c[b>>2]|0)+100>>2]&2047](b)|0;gs(a,b);return 1}else{f=+_Ga(a,2);e=+$Ga(a,3,f);d=+$Ga(a,4,-1.0);b=Ui[c[(c[b>>2]|0)+96>>2]&1](b,f,e,d)|0;gs(a,b);return 1}return 0}function Sja(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;d=Aja(a,1,24)|0;$i[c[(c[d>>2]|0)+104>>2]&255](d,b+4|0,b);IDa(a,+g[b+4>>2]);IDa(a,+g[b>>2]);i=b;return 2}function Tja(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=25404;c[b+4>>2]=0;a=xs(a,24,439325,b)|0;i=b;return a|0}function Uja(a){a=a|0;wj(a);oAb(a);return}function Vja(a){a=a|0;return 7}function Wja(a){a=a|0;return 439616}function Xja(b,c){b=b|0;c=c|0;a[b+8>>0]=c&1;return}function Yja(b){b=b|0;return (a[b+8>>0]|0)!=0|0}function Zja(b,d){b=b|0;d=d|0;var e=0;e=mjb(0)|0;b=c[d>>2]|0;d=c[d+4>>2]|0;if((b|0)==(d|0)){e=0;return e|0}while(1){if(a[e+(ojb(c[(c[158311]|0)+(c[b>>2]<<2)>>2]|0)|0)>>0]|0){b=1;d=4;break}b=b+4|0;if((b|0)==(d|0)){b=0;d=4;break}}if((d|0)==4)return b|0;return 0}function _ja(b,d){b=b|0;d=d|0;var e=0,f=0;f=mjb(0)|0;b=c[d>>2]|0;e=c[d+4>>2]|0;if((b|0)==(e|0)){f=0;return f|0}while(1){d=c[b>>2]|0;if(d>>>0<512)if(a[637344+(d<<3)+4>>0]|0)if(a[f+(c[637344+(d<<3)>>2]|0)>>0]|0){b=1;d=6;break}b=b+4|0;if((b|0)==(e|0)){b=0;d=6;break}}if((d|0)==6)return b|0;return 0}function $ja(b,d){b=b|0;d=d|0;var e=0;if(d>>>0<512)if(!(a[637344+(d<<3)+4>>0]|0))d=0;else d=c[637344+(d<<3)>>2]|0;else d=0;b=njb(d)|0;e=c[158311]|0;d=0;while(1){if((c[e+(d<<2)>>2]|0)==(b|0)){b=7;break}d=d+1|0;if((d|0)>=191){d=0;b=7;break}}if((b|0)==7)return d|0;return 0}function aka(b,d){b=b|0;d=d|0;if((d|0)==191)d=0;else{d=ojb(c[(c[158311]|0)+(d<<2)>>2]|0)|0;if(d>>>0<512)if(!(a[633248+(d<<3)+4>>0]|0))d=0;else d=c[633248+(d<<3)>>2]|0;else d=0}return d|0}function bka(a,b){a=a|0;b=b|0;if(b){ykb();return}else{Ukb();return}}function cka(a,b,d,e,f,g){a=a|0;b=b|0;d=+d;e=+e;f=+f;g=+g;var j=0,k=0;k=i;i=i+48|0;h[k+24>>3]=d;h[k+16>>3]=e;h[k+8>>3]=f;h[k>>3]=g;j=c[155688]|0;if(j){$i[c[(c[j>>2]|0)+148>>2]&255](j,k+24|0,k+16|0);$i[c[(c[j>>2]|0)+148>>2]&255](j,k+8|0,k);d=+h[k+24>>3];e=+h[k+16>>3];f=+h[k+8>>3];g=+h[k>>3]}c[k+32>>2]=~~d;c[k+32+4>>2]=~~e;c[k+32+8>>2]=~~f;c[k+32+12>>2]=~~g;Vkb(k+32|0);si[c[(c[a>>2]|0)+48>>2]&511](a,b);i=k;return}function dka(a){a=a|0;return (Tkb()|0)!=0|0}function eka(a){a=a|0;return (xkb()|0)!=0|0}function fka(){var b=0,d=0,e=0;gka()|0;c[158311]=641440;b=633248;do{a[b+4>>0]=0;b=b+8|0}while((b|0)!=637344);b=637344;do{a[b+4>>0]=0;b=b+8|0}while((b|0)!=641440);e=0;do{d=c[25636+(e<<3)>>2]|0;b=c[25636+(e<<3)+4>>2]|0;if(d>>>0<512){c[637344+(d<<3)>>2]=b;a[637344+(d<<3)+4>>0]=1}if(b>>>0<512){c[633248+(b<<3)>>2]=d;a[633248+(b<<3)+4>>0]=1}e=e+1|0}while((e|0)!=241);return}function gka(){c[160360]=0;c[160361]=13;c[160362]=27;c[160363]=8;c[160364]=9;c[160365]=32;c[160366]=33;c[160367]=34;c[160368]=35;c[160369]=37;c[160370]=36;c[160371]=38;c[160372]=39;c[160373]=40;c[160374]=41;c[160375]=42;c[160376]=43;c[160377]=44;c[160378]=45;c[160379]=46;c[160380]=47;c[160381]=48;c[160382]=49;c[160383]=50;c[160384]=51;c[160385]=52;c[160386]=53;c[160387]=54;c[160388]=55;c[160389]=56;c[160390]=57;c[160391]=58;c[160392]=59;c[160393]=60;c[160394]=61;c[160395]=62;c[160396]=63;c[160397]=64;c[160398]=91;c[160399]=92;c[160400]=93;c[160401]=94;c[160402]=95;c[160403]=96;c[160404]=97;c[160405]=98;c[160406]=99;c[160407]=100;c[160408]=101;c[160409]=102;c[160410]=103;c[160411]=104;c[160412]=105;c[160413]=106;c[160414]=107;c[160415]=108;c[160416]=109;c[160417]=110;c[160418]=111;c[160419]=112;c[160420]=113;c[160421]=114;c[160422]=115;c[160423]=116;c[160424]=117;c[160425]=118;c[160426]=119;c[160427]=120;c[160428]=121;c[160429]=122;c[160430]=1073741881;c[160431]=1073741882;c[160432]=1073741883;c[160433]=1073741884;c[160434]=1073741885;c[160435]=1073741886;c[160436]=1073741887;c[160437]=1073741888;c[160438]=1073741889;c[160439]=1073741890;c[160440]=1073741891;c[160441]=1073741892;c[160442]=1073741893;c[160443]=1073741894;c[160444]=1073741895;c[160445]=1073741896;c[160446]=1073741897;c[160447]=1073741898;c[160448]=1073741899;c[160449]=127;c[160450]=1073741901;c[160451]=1073741902;c[160452]=1073741903;c[160453]=1073741904;c[160454]=1073741905;c[160455]=1073741906;c[160456]=1073741907;c[160457]=1073741908;c[160458]=1073741909;c[160459]=1073741910;c[160460]=1073741911;c[160461]=1073741912;c[160471]=1073741922;c[160462]=1073741913;c[160463]=1073741914;c[160464]=1073741915;c[160465]=1073741916;c[160466]=1073741917;c[160467]=1073741918;c[160468]=1073741919;c[160469]=1073741920;c[160470]=1073741921;c[160472]=1073741923;c[160473]=1073741957;c[160474]=1073741927;c[160475]=1073741925;c[160476]=1073741926;c[160477]=1073741928;c[160478]=1073741929;c[160479]=1073741930;c[160480]=1073741931;c[160481]=1073741932;c[160482]=1073741933;c[160483]=1073741934;c[160484]=1073741935;c[160485]=1073741936;c[160486]=1073741937;c[160487]=1073741938;c[160488]=1073741939;c[160489]=1073741940;c[160490]=1073741941;c[160491]=1073741942;c[160492]=1073741943;c[160493]=1073741944;c[160494]=1073741945;c[160495]=1073741946;c[160496]=1073741947;c[160497]=1073741948;c[160498]=1073741949;c[160499]=1073741950;c[160500]=1073741951;c[160501]=1073741952;c[160502]=1073741953;c[160503]=1073741977;c[160504]=1073741978;c[160505]=1073741979;c[160506]=1073741980;c[160507]=1073741981;c[160508]=1073741982;c[160509]=1073741983;c[160510]=1073741984;c[160511]=1073741985;c[160512]=1073741986;c[160513]=1073742002;c[160514]=1073742003;c[160515]=1073742004;c[160516]=1073742005;c[160517]=1073742048;c[160518]=1073742049;c[160519]=1073742050;c[160520]=1073742051;c[160521]=1073742052;c[160522]=1073742053;c[160523]=1073742054;c[160524]=1073742055;c[160525]=1073742081;c[160526]=1073742082;c[160527]=1073742083;c[160528]=1073742084;c[160529]=1073742085;c[160530]=1073742086;c[160531]=1073742087;c[160532]=1073742088;c[160533]=1073742089;c[160534]=1073742090;c[160535]=1073742091;c[160536]=1073742092;c[160537]=1073742093;c[160538]=1073742094;c[160539]=1073742095;c[160540]=1073742096;c[160541]=1073742097;c[160542]=1073742098;c[160543]=1073742099;c[160544]=1073742100;c[160545]=1073742101;c[160546]=1073742102;c[160547]=1073742103;c[160548]=1073742104;c[160549]=1073742105;c[160550]=1073742106;return 641440}function hka(b){b=b|0;Jj(b);c[b>>2]=25572;a[b+8>>0]=0;return}function ika(b,d){b=b|0;d=d|0;if(b>>>0>=512){d=0;return d|0}if(!(a[633248+(b<<3)+4>>0]|0)){d=0;return d|0}c[d>>2]=c[633248+(b<<3)>>2];d=1;return d|0}function jka(){var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;b=642204;do{a[b+8>>0]=0;b=b+12|0}while((b|0)!=646788);hBb(646788,0,764)|0;h=0;do{f=c[27564+(h<<3)>>2]|0;g=c[27564+(h<<3)+4>>2]|0;b=a[f>>0]|0;if(!(b<<24>>24))d=5381;else{e=f;d=5381;do{e=e+1|0;d=(d*33|0)+(b<<24>>24)|0;b=a[e>>0]|0}while(b<<24>>24!=0)}e=0;do{b=((e+d|0)>>>0)%382|0;e=e+1|0;if(!(a[642204+(b*12|0)+8>>0]|0)){j=9;break}}while(e>>>0<382);if((j|0)==9){j=0;a[642204+(b*12|0)+8>>0]=1;c[642204+(b*12|0)>>2]=f;c[642204+(b*12|0)+4>>2]=g}if(g>>>0>190){c[k>>2]=f;c[k+4>>2]=g;vpb(441068,k)|0}else c[646788+(g<<2)>>2]=f;h=h+1|0}while((h|0)!=191);b=647552;do{a[b+8>>0]=0;b=b+12|0}while((b|0)!=653336);hBb(653336,0,964)|0;h=0;do{f=c[29092+(h<<3)>>2]|0;g=c[29092+(h<<3)+4>>2]|0;b=a[f>>0]|0;if(!(b<<24>>24))d=5381;else{e=f;d=5381;do{e=e+1|0;d=(d*33|0)+(b<<24>>24)|0;b=a[e>>0]|0}while(b<<24>>24!=0)}e=0;do{b=((e+d|0)>>>0)%482|0;e=e+1|0;if(!(a[647552+(b*12|0)+8>>0]|0)){j=21;break}}while(e>>>0<482);if((j|0)==21){j=0;a[647552+(b*12|0)+8>>0]=1;c[647552+(b*12|0)>>2]=f;c[647552+(b*12|0)+4>>2]=g}if(g>>>0>240){c[k+8>>2]=f;c[k+8+4>>2]=g;vpb(441068,k+8|0)|0}else c[653336+(g<<2)>>2]=f;h=h+1|0}while((h|0)!=241);i=k;return}function kka(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=a[b>>0]|0;if(!(e<<24>>24))f=5381;else{g=b;f=5381;do{g=g+1|0;f=(f*33|0)+(e<<24>>24)|0;e=a[g>>0]|0}while(e<<24>>24!=0)}j=0;while(1){i=((j+f|0)>>>0)%382|0;if(!(a[642204+(i*12|0)+8>>0]|0)){e=1;f=0;k=11;break}g=c[642204+(i*12|0)>>2]|0;h=a[g>>0]|0;a:do if(!(h<<24>>24)){e=b;k=8}else{e=b;while(1){l=a[e>>0]|0;if(!(l<<24>>24?h<<24>>24==l<<24>>24:0))break a;g=g+1|0;e=e+1|0;h=a[g>>0]|0;if(!(h<<24>>24)){k=8;break}}}while(0);if((k|0)==8){k=0;if(!(a[e>>0]|0)){k=9;break}}j=j+1|0;if(j>>>0>=382){e=0;f=0;k=11;break}}if((k|0)==9){c[d>>2]=c[642204+(i*12|0)+4>>2];k=1;l=1;l=k&l;return l|0}else if((k|0)==11){l=e&f;return l|0}return 0}function lka(a,b){a=a|0;b=b|0;if(a>>>0>190)a=0;else{a=c[646788+(a<<2)>>2]|0;if(!a)a=0;else{c[b>>2]=a;a=1}}return a|0}function mka(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=a[b>>0]|0;if(!(e<<24>>24))f=5381;else{g=b;f=5381;do{g=g+1|0;f=(f*33|0)+(e<<24>>24)|0;e=a[g>>0]|0}while(e<<24>>24!=0)}j=0;while(1){i=((j+f|0)>>>0)%482|0;if(!(a[647552+(i*12|0)+8>>0]|0)){e=1;f=0;k=11;break}g=c[647552+(i*12|0)>>2]|0;h=a[g>>0]|0;a:do if(!(h<<24>>24)){e=b;k=8}else{e=b;while(1){l=a[e>>0]|0;if(!(l<<24>>24?h<<24>>24==l<<24>>24:0))break a;g=g+1|0;e=e+1|0;h=a[g>>0]|0;if(!(h<<24>>24)){k=8;break}}}while(0);if((k|0)==8){k=0;if(!(a[e>>0]|0)){k=9;break}}j=j+1|0;if(j>>>0>=482){e=0;f=0;k=11;break}}if((k|0)==9){c[d>>2]=c[647552+(i*12|0)+4>>2];k=1;l=1;l=k&l;return l|0}else if((k|0)==11){l=e&f;return l|0}return 0}function nka(a,b){a=a|0;b=b|0;if(a>>>0>240)a=0;else{a=c[653336+(a<<2)>>2]|0;if(!a)a=0;else{c[b>>2]=a;a=1}}return a|0}function oka(a,b){a=a|0;b=b|0;Jj(a);c[a>>2]=31028;rka(a+8|0,b);return}function pka(a){a=a|0;var b=0,d=0;c[a>>2]=31028;b=c[a+8>>2]|0;if(!b)return;d=c[a+12>>2]|0;if((d|0)!=(b|0))c[a+12>>2]=d+(~((d+-8-b|0)>>>3)<<3);oAb(b);return}function qka(a){a=a|0;var b=0,d=0;c[a>>2]=31028;b=c[a+8>>2]|0;if(!b){oAb(a);return}d=c[a+12>>2]|0;if((d|0)!=(b|0))c[a+12>>2]=d+(~((d+-8-b|0)>>>3)<<3);oAb(b);oAb(a);return}function rka(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;e=(c[b+4>>2]|0)-(c[b>>2]|0)|0;if(!(e>>3))return;if(e>>3>>>0>536870911)jzb(a);d=YAb(e)|0;c[a+4>>2]=d;c[a>>2]=d;c[a+8>>2]=d+(e>>3<<3);e=c[b>>2]|0;b=c[b+4>>2]|0;if((e|0)==(b|0))return;do{h=e;g=c[h+4>>2]|0;f=d;c[f>>2]=c[h>>2];c[f+4>>2]=g;d=(c[a+4>>2]|0)+8|0;c[a+4>>2]=d;e=e+8|0}while((e|0)!=(b|0));return}function ska(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0,j=0.0,k=0,l=0,m=0.0,n=0;l=i;i=i+16|0;d=(c[b+12>>2]|0)-(c[b+8>>2]|0)|0;if((d|0)==8){k=nf(16)|0;ds(k,441130,l);zc(k|0,96,27)}c[l+4>>2]=0;k=l+4+4|0;c[k>>2]=0;c[l+4+8>>2]=0;a:do if(!((d>>3)+-1|0)){e=k;d=l+4|0}else{if(((d>>3)+-1|0)>>>0>536870911)jzb(l+4|0);h=YAb((d>>3)+-1<<3)|0;c[k>>2]=h;c[l+4>>2]=h;f=h+((d>>3)+-1<<3)|0;c[l+4+8>>2]=f;d=(d>>3)+-1|0;e=h;while(1){g[e>>2]=0.0;g[e+4>>2]=0.0;d=d+-1|0;if(!d)break;else e=e+8|0}c[k>>2]=f;d=c[b+8>>2]|0;j=+((((c[b+12>>2]|0)-d>>3)+-1|0)>>>0);if((f|0)==(h|0)){e=k;d=l+4|0}else{e=h;f=0;while(1){h=f+1|0;m=j*(+g[d+(h<<3)+4>>2]-+g[d+(f<<3)+4>>2]);g[e+(f<<3)>>2]=j*(+g[d+(h<<3)>>2]-+g[d+(f<<3)>>2]);g[e+(f<<3)+4>>2]=m;e=c[l+4>>2]|0;if(h>>>0>=(c[k>>2]|0)-e>>3>>>0){e=k;d=l+4|0;break a}d=c[b+8>>2]|0;f=h}}}while(0);Jj(a);c[a>>2]=31028;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;d=c[d>>2]|0;e=(c[e>>2]|0)-d|0;if(e>>3){if(e>>3>>>0>536870911)jzb(a+8|0);f=YAb(e)|0;c[a+12>>2]=f;c[a+8>>2]=f;c[a+16>>2]=f+(e>>3<<3);d=c[l+4>>2]|0;h=c[k>>2]|0;if((d|0)!=(h|0)){e=f;do{n=d;f=c[n+4>>2]|0;b=e;c[b>>2]=c[n>>2];c[b+4>>2]=f;e=(c[a+12>>2]|0)+8|0;c[a+12>>2]=e;d=d+8|0}while((d|0)!=(h|0));d=c[l+4>>2]|0}}if(!d){i=l;return}e=c[k>>2]|0;if((e|0)!=(d|0))c[k>>2]=e+(~((e+-8-d|0)>>>3)<<3);oAb(d);i=l;return}function tka(a,b){a=a|0;b=b|0;var d=0,e=0;if((b|0)<0){d=c[a+12>>2]|0;e=c[a+8>>2]|0;do b=(d-e>>3)+b|0;while((b|0)<0)}else{e=c[a+8>>2]|0;d=c[a+12>>2]|0}a=e;d=d-e>>3;while(1)if(b>>>0>>0)break;else b=b-d|0;return a+(b<<3)|0}function uka(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;if((b|0)<0){e=c[a+12>>2]|0;f=c[a+8>>2]|0;do b=(e-f>>3)+b|0;while((b|0)<0)}else{f=c[a+8>>2]|0;e=c[a+12>>2]|0}a=f;e=e-f>>3;while(1)if(b>>>0>>0)break;else b=b-e|0;f=c[d+4>>2]|0;c[a+(b<<3)>>2]=c[d>>2];c[a+(b<<3)+4>>2]=f;return}function vka(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+16|0;if((d|0)<0){e=c[a+12>>2]|0;f=c[a+8>>2]|0;do d=(e-f>>3)+d|0;while((d|0)<0);g=a+8|0}else{f=c[a+8>>2]|0;g=a+8|0;e=c[a+12>>2]|0}a=f;e=e-f>>3;while(1)if(d>>>0>e>>>0)d=d-e|0;else break;c[h>>2]=a+(d<<3);c[h+4>>2]=c[h>>2];wka(g,h+4|0,b)|0;i=h;return}function wka(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=c[a>>2]|0;k=i+((c[b>>2]|0)-i>>3<<3)|0;f=c[a+4>>2]|0;b=c[a+8>>2]|0;if(f>>>0>>0){if((k|0)==(f|0)){j=c[d+4>>2]|0;c[k>>2]=c[d>>2];c[k+4>>2]=j;c[a+4>>2]=(c[a+4>>2]|0)+8;a=k;return a|0}if((k+(f-(k+8)>>3<<3)|0)>>>0>>0){b=f;e=k+(f-(k+8)>>3<<3)|0;do{h=e;i=c[h+4>>2]|0;j=b;c[j>>2]=c[h>>2];c[j+4>>2]=i;e=e+8|0;b=(c[a+4>>2]|0)+8|0;c[a+4>>2]=b}while(e>>>0>>0)}nBb(f+(0-(f-(k+8)>>3)<<3)|0,k|0,f-(k+8)|0)|0;if(k>>>0<=d>>>0)d=(c[a+4>>2]|0)>>>0>d>>>0?d+8|0:d;j=d;a=c[j+4>>2]|0;c[k>>2]=c[j>>2];c[k+4>>2]=a;a=k;return a|0}if(((f-i>>3)+1|0)>>>0>536870911)jzb(a);if(b-i>>3>>>0<268435455){b=b-i>>2>>>0<((f-i>>3)+1|0)>>>0?(f-i>>3)+1|0:b-i>>2;if(!b){h=0;e=k;j=0;b=k-i>>3}else{f=k-i>>3;e=k;g=14}}else{b=536870911;f=k-i>>3;e=k;g=14}if((g|0)==14){h=b;j=YAb(b<<3)|0;b=f}g=j+(b<<3)|0;f=j+(h<<3)|0;do if((b|0)==(h|0)){if((b|0)>0){b=g+(((b+1|0)/-2|0)<<3)|0;h=b;break}f=(b|0)==0?1:b<<1;g=YAb(f<<3)|0;if(!j){h=g+(f>>>2<<3)|0;b=g+(f>>>2<<3)|0;f=g+(f<<3)|0}else{oAb(j);h=g+(f>>>2<<3)|0;i=c[a>>2]|0;b=g+(f>>>2<<3)|0;f=g+(f<<3)|0}}else{h=g;b=g}while(0);j=c[d+4>>2]|0;c[h>>2]=c[d>>2];c[h+4>>2]=j;h=e-i|0;mBb(b+(0-(h>>3)<<3)|0,i|0,h|0)|0;j=(c[a+4>>2]|0)-e|0;mBb(b+8|0,k|0,j|0)|0;d=c[a>>2]|0;c[a>>2]=b+(0-(h>>3)<<3);c[a+4>>2]=b+8+(j>>3<<3);c[a+8>>2]=f;if(!d){a=b;return a|0}oAb(d);a=b;return a|0}function xka(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if((b|0)<0){e=c[a+12>>2]|0;d=c[a+8>>2]|0;do b=(e-d>>3)+b|0;while((b|0)<0);f=a+12|0}else{d=c[a+8>>2]|0;f=a+12|0;e=c[a+12>>2]|0}a=d;d=e-d>>3;while(1)if(b>>>0>>0)break;else b=b-d|0;d=e-(a+(b<<3)+8)|0;nBb(a+(b<<3)|0,a+(b<<3)+8|0,d|0)|0;e=c[f>>2]|0;if((e|0)==(a+(b<<3)+(d>>3<<3)|0))return;c[f>>2]=e+(~((e+-8-(a+(b<<3)+(d>>3<<3))|0)>>>3)<<3);return}function yka(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;e=c[a+12>>2]|0;a=c[a+8>>2]|0;if((e|0)==(a|0))return;d=0;do{f=a+(d<<3)|0;g[f>>2]=+g[b>>2]+ +g[f>>2];f=a+(d<<3)+4|0;g[f>>2]=+g[b+4>>2]+ +g[f>>2];d=d+1|0}while(d>>>0>3>>>0);return}function zka(a,b,d){a=a|0;b=+b;d=d|0;var e=0,f=0,h=0.0,i=0,j=0.0,k=0.0,l=0.0,m=0,n=0.0;h=+Q(+b);b=+R(+b);f=c[a+12>>2]|0;a=c[a+8>>2]|0;if((f|0)==(a|0))return;e=0;do{m=a+(e<<3)|0;n=+g[d>>2];k=+g[m>>2]-n;i=a+(e<<3)+4|0;l=+g[d+4>>2];j=+g[i>>2]-l;g[m>>2]=n+(h*k-b*j);g[i>>2]=l+(b*k+h*j);e=e+1|0}while(e>>>0>3>>>0);return}function Aka(a,b,d){a=a|0;b=+b;d=d|0;var e=0,f=0,h=0,i=0.0,j=0,k=0.0;e=c[a+8>>2]|0;if((c[a+12>>2]|0)==(e|0))return;f=0;do{h=e;j=h+(f<<3)|0;k=+g[d>>2];h=h+(f<<3)+4|0;i=+g[d+4>>2];i=i+b*(+g[h>>2]-i);g[j>>2]=k+b*(+g[j>>2]-k);g[h>>2]=i;f=f+1|0;e=c[a+8>>2]|0}while(f>>>0<(c[a+12>>2]|0)-e>>3>>>0);return}function Bka(a,b,d){a=a|0;b=b|0;d=+d;var e=0,f=0,h=0,j=0,k=0,l=0,m=0.0;l=i;i=i+32|0;if(d<0.0|d>1.0){a=nf(16)|0;ds(a,441167,l);zc(a|0,96,27)}if((c[b+12>>2]|0)-(c[b+8>>2]|0)>>3>>>0<2){a=nf(16)|0;ds(a,441221,l+8|0);zc(a|0,96,27)}rka(l+12|0,b+8|0);e=c[b+12>>2]|0;f=c[b+8>>2]|0;if(e-f>>3>>>0>1){k=1;do{if((e-f>>3|0)!=(k|0)){h=c[l+12>>2]|0;j=0;do{f=h+(j<<3)|0;e=h+(j<<3)+4|0;j=j+1|0;m=(1.0-d)*+g[e>>2]+d*+g[h+(j<<3)+4>>2];g[f>>2]=(1.0-d)*+g[f>>2]+d*+g[h+(j<<3)>>2];g[e>>2]=m;e=c[b+12>>2]|0;f=c[b+8>>2]|0}while(j>>>0<((e-f>>3)-k|0)>>>0)}k=k+1|0}while(k>>>0>3>>>0)}f=c[l+12>>2]|0;b=c[f+4>>2]|0;c[a>>2]=c[f>>2];c[a+4>>2]=b;if(!f){i=l;return}e=c[l+12+4>>2]|0;if((e|0)!=(f|0))c[l+12+4>>2]=e+(~((e+-8-f|0)>>>3)<<3);oAb(f);i=l;return}function Cka(a,b,d){a=a|0;b=+b;d=+d;var e=0,f=0,h=0,j=0.0,k=0.0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0.0,v=0.0;t=i;i=i+48|0;if(b<0.0|d>1.0){s=nf(16)|0;ds(s,441270,t);zc(s|0,96,27)}if(d<=b){s=nf(16)|0;ds(s,441322,t+8|0);zc(s|0,96,27)}rka(t+36|0,a+8|0);c[t+24>>2]=0;s=t+24+4|0;c[s>>2]=0;c[t+24+8>>2]=0;c[t+12>>2]=0;r=t+12+4|0;c[r>>2]=0;c[t+12+8>>2]=0;f=c[t+36>>2]|0;e=(c[t+36+4>>2]|0)-f|0;if(!(e>>3)){a=f;e=t+12|0;h=t+12+8|0;f=t+36|0;p=11}else{l=YAb(e)|0;c[t+24>>2]=l;c[s>>2]=l;c[t+24+8>>2]=l+(e>>3<<3);q=YAb(e)|0;c[t+12>>2]=q;c[r>>2]=q;c[t+12+8>>2]=q+(e>>3<<3);if(e>>3>>>0>1){m=f;e=(l|0)==(l+(e>>3<<3)|0);h=f;a=l;n=1;while(1){if(e)mk(t+24|0,m);else{m=h;o=c[m+4>>2]|0;q=a;c[q>>2]=c[m>>2];c[q+4>>2]=o;c[s>>2]=(c[s>>2]|0)+8}l=c[t+36>>2]|0;h=(c[t+36+4>>2]|0)-l>>3;if((h|0)!=(n|0)){a=h-n|0;j=+g[l>>2];k=+g[l+4>>2];e=0;do{q=e;e=e+1|0;v=j;j=+g[l+(e<<3)>>2];u=k;k=+g[l+(e<<3)+4>>2];g[l+(q<<3)>>2]=v+d*(j-v);g[l+(q<<3)+4>>2]=d*(k-u)+u}while(e>>>0>>0)}n=n+1|0;f=c[s>>2]|0;e=(f|0)==(c[t+24+8>>2]|0);if(n>>>0>=h>>>0){a=l;h=l;break}else{m=l;h=l;a=f}}}else{a=f;h=f;f=l;e=(l|0)==(l+(e>>3<<3)|0)}if(e){e=t+12|0;h=t+12+8|0;f=t+36|0;p=11}else{o=h;n=c[o+4>>2]|0;e=f;c[e>>2]=c[o>>2];c[e+4>>2]=n;e=(c[s>>2]|0)+8|0;c[s>>2]=e;n=s;o=t+12|0;q=t+36|0;h=t+12+8|0}}if((p|0)==11){mk(t+24|0,a);n=s;o=e;q=f;e=c[s>>2]|0}a=c[t+24>>2]|0;e=e-a>>3;if(e>>>0>1){m=1;do{a=a+(e-m<<3)|0;e=c[r>>2]|0;if((e|0)==(c[h>>2]|0))mk(t+12|0,a);else{p=c[a+4>>2]|0;c[e>>2]=c[a>>2];c[e+4>>2]=p;c[r>>2]=(c[r>>2]|0)+8}a=c[t+24>>2]|0;e=(c[n>>2]|0)-a>>3;if((e|0)!=(m|0)){f=e-m|0;j=+g[a>>2];k=+g[a+4>>2];l=0;do{p=l;l=l+1|0;u=j;j=+g[a+(l<<3)>>2];v=k;k=+g[a+(l<<3)+4>>2];g[a+(p<<3)>>2]=u+b/d*(j-u);g[a+(p<<3)+4>>2]=b/d*(k-v)+v}while(l>>>0>>0)}m=m+1|0}while(e>>>0>m>>>0)}e=c[r>>2]|0;if((e|0)==(c[h>>2]|0)){mk(t+12|0,a);a=c[r>>2]|0}else{p=a;a=c[p+4>>2]|0;c[e>>2]=c[p>>2];c[e+4>>2]=a;a=(c[r>>2]|0)+8|0;c[r>>2]=a}e=c[t+12>>2]|0;if((e|0)!=(a|0)){a=a+-8|0;if(e>>>0>>0)do{n=e;m=c[n>>2]|0;n=c[n+4>>2]|0;h=a;l=c[h+4>>2]|0;p=e;c[p>>2]=c[h>>2];c[p+4>>2]=l;p=a;c[p>>2]=m;c[p+4>>2]=n;e=e+8|0;a=a+-8|0}while(e>>>0>>0)}l=YAb(20)|0;Jj(l);c[l>>2]=31028;c[l+8>>2]=0;c[l+12>>2]=0;c[l+16>>2]=0;a=c[o>>2]|0;e=(c[r>>2]|0)-a|0;if(e>>3){if(e>>3>>>0>536870911)jzb(l+8|0);f=YAb(e)|0;c[l+12>>2]=f;c[l+8>>2]=f;c[l+16>>2]=f+(e>>3<<3);a=c[t+12>>2]|0;h=c[r>>2]|0;if((a|0)!=(h|0)){e=f;do{n=a;o=c[n+4>>2]|0;p=e;c[p>>2]=c[n>>2];c[p+4>>2]=o;e=(c[l+12>>2]|0)+8|0;c[l+12>>2]=e;a=a+8|0}while((a|0)!=(h|0));a=c[t+12>>2]|0}}e=a;if(a|0){f=c[r>>2]|0;if((f|0)!=(a|0))c[r>>2]=f+(~((f+-8-e|0)>>>3)<<3);oAb(a)}a=c[t+24>>2]|0;if(a|0){e=c[s>>2]|0;if((e|0)!=(a|0))c[s>>2]=e+(~((e+-8-a|0)>>>3)<<3);oAb(a)}a=c[q>>2]|0;if(!a){i=t;return l|0}e=c[t+36+4>>2]|0;if((e|0)!=(a|0))c[t+36+4>>2]=e+(~((e+-8-a|0)>>>3)<<3);oAb(a);i=t;return l|0}function Dka(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;if((c[b+12>>2]|0)-(c[b+8>>2]|0)>>3>>>0<2){b=nf(16)|0;ds(b,441221,e);zc(b|0,96,27)}else{rka(a,b+8|0);Eka(a,d);i=e;return}}function Eka(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0.0;p=i;i=i+32|0;if((b|0)<1){i=p;return}c[p+12>>2]=0;o=p+12+4|0;c[o>>2]=0;c[p+12+8>>2]=0;c[p>>2]=0;c[p+4>>2]=0;c[p+8>>2]=0;d=c[a>>2]|0;j=(c[a+4>>2]|0)-d|0;if(!(j>>3)){f=p+8|0;h=p;e=a;n=7}else{e=YAb(j)|0;c[p+12>>2]=e;c[o>>2]=e;c[p+12+8>>2]=e+(j>>3<<3);m=YAb(j)|0;c[p>>2]=m;c[p+4>>2]=m;c[p+8>>2]=m+(j>>3<<3);if(j>>3>>>0>1){f=d;j=(e|0)==(e+(j>>3<<3)|0);k=1;while(1){if(j)mk(p+12|0,f);else{j=d;l=c[j+4>>2]|0;m=e;c[m>>2]=c[j>>2];c[m+4>>2]=l;c[o>>2]=(c[o>>2]|0)+8}d=c[a>>2]|0;d=d+(((c[a+4>>2]|0)-d>>3)-k<<3)|0;e=c[p+4>>2]|0;if((e|0)==(c[p+8>>2]|0))mk(p,d);else{m=c[d+4>>2]|0;c[e>>2]=c[d>>2];c[e+4>>2]=m;c[p+4>>2]=(c[p+4>>2]|0)+8}e=c[a+4>>2]|0;d=c[a>>2]|0;if((e-d>>3|0)!=(k|0)){f=0;do{m=d;d=m+(f<<3)|0;e=m+(f<<3)+4|0;f=f+1|0;q=(+g[e>>2]+ +g[m+(f<<3)+4>>2])*.5;g[d>>2]=(+g[d>>2]+ +g[m+(f<<3)>>2])*.5;g[e>>2]=q;e=c[a+4>>2]|0;d=c[a>>2]|0}while(f>>>0<((e-d>>3)-k|0)>>>0)}k=k+1|0;f=d;h=c[o>>2]|0;j=(h|0)==(c[p+12+8>>2]|0);if(k>>>0>=e-d>>3>>>0){e=j;break}else e=h}}else{f=d;h=e;e=(e|0)==(e+(j>>3<<3)|0)}if(e){d=f;f=p+8|0;h=p;e=a;n=7}else{l=d;f=c[l+4>>2]|0;m=h;c[m>>2]=c[l>>2];c[m+4>>2]=f;c[o>>2]=(c[o>>2]|0)+8;m=a;f=p+8|0;l=p}}if((n|0)==7){mk(p+12|0,d);m=e;l=h}d=c[m>>2]|0;e=c[p+4>>2]|0;if((e|0)==(c[f>>2]|0))mk(p,d);else{n=c[d+4>>2]|0;c[e>>2]=c[d>>2];c[e+4>>2]=n;c[p+4>>2]=(c[p+4>>2]|0)+8}Eka(p+12|0,b+-1|0);Eka(p,b+-1|0);e=c[o>>2]|0;j=c[p+12>>2]|0;d=(e-j>>3)+-1+((c[p+4>>2]|0)-(c[l>>2]|0)>>3)|0;f=c[a+4>>2]|0;h=c[a>>2]|0;if(d>>>0>f-h>>3>>>0){Fka(a,d-(f-h>>3)|0);d=c[p+12>>2]|0;e=c[o>>2]|0;f=d}else if(d>>>0>3>>>0)if((f|0)==(h+(d<<3)|0)){f=j;d=j}else{c[a+4>>2]=f+(~((f+-8-(h+(d<<3))|0)>>>3)<<3);f=j;d=j}else{f=j;d=j}if((e|0)==(f|0)){h=f;e=f}else{f=0;do{a=d+(f<<3)|0;d=c[a+4>>2]|0;e=(c[m>>2]|0)+(f<<3)|0;c[e>>2]=c[a>>2];c[e+4>>2]=d;f=f+1|0;e=c[o>>2]|0;d=c[p+12>>2]|0}while(f>>>0>3>>>0);h=d}d=c[p+4>>2]|0;f=c[l>>2]|0;a:do if(d-f>>3>>>0>1){k=h;j=d-f>>3;d=1;while(1){a=f+(j+~d<<3)|0;f=c[a+4>>2]|0;h=(c[m>>2]|0)+(d+-1+(e-k>>3)<<3)|0;c[h>>2]=c[a>>2];c[h+4>>2]=f;h=d+1|0;d=c[p+4>>2]|0;f=c[l>>2]|0;if(d-f>>3>>>0<=h>>>0)break a;e=c[o>>2]|0;k=c[p+12>>2]|0;j=d-f>>3;d=h}}while(0);e=f;if(f|0){if((d|0)!=(f|0))c[p+4>>2]=d+(~((d+-8-e|0)>>>3)<<3);oAb(f)}d=c[p+12>>2]|0;if(d|0){e=c[o>>2]|0;if((e|0)!=(d|0))c[o>>2]=e+(~((e+-8-d|0)>>>3)<<3);oAb(d)}i=p;return}function Fka(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0,i=0,j=0,k=0,l=0;d=c[a+8>>2]|0;f=c[a+4>>2]|0;if(d-f>>3>>>0>=b>>>0){d=b;e=f;while(1){g[e>>2]=0.0;g[e+4>>2]=0.0;d=d+-1|0;if(!d)break;else e=e+8|0}c[a+4>>2]=f+(b<<3);return}l=c[a>>2]|0;if(((f-l>>3)+b|0)>>>0>536870911)jzb(a);if(d-l>>3>>>0<268435455){d=d-l>>2>>>0<((f-l>>3)+b|0)>>>0?(f-l>>3)+b|0:d-l>>2;f=c[a+4>>2]|0;if(!d){j=0;d=0;e=f-l>>3;i=f}else{h=f;e=f-l>>3;k=9}}else{e=c[a+4>>2]|0;d=536870911;h=e;e=e-l>>3;k=9}if((k|0)==9){j=d;d=YAb(d<<3)|0;i=h}h=d+(e<<3)|0;e=d+(j<<3)|0;d=b;f=h;while(1){g[f>>2]=0.0;g[f+4>>2]=0.0;d=d+-1|0;if(!d)break;else f=f+8|0}k=i-l|0;mBb(h+(0-(k>>3)<<3)|0,l|0,k|0)|0;c[a>>2]=h+(0-(k>>3)<<3);c[a+4>>2]=h+(b<<3);c[a+8>>2]=e;if(!l)return;oAb(l);return}function Gka(a,b,d,e,f){a=a|0;b=b|0;d=+d;e=+e;f=f|0;var g=0,h=0,j=0,k=0.0,l=0,m=0,n=0;m=i;i=i+16|0;if((c[b+12>>2]|0)-(c[b+8>>2]|0)>>3>>>0<2){a=nf(16)|0;ds(a,441221,m);zc(a|0,96,27)}rka(m+4|0,b+8|0);Eka(m+4|0,f);do if(d==e){g=c[m+4>>2]|0;b=c[m+4+4>>2]|0;if((b|0)==(g|0)){h=m+4+4|0;f=m+4|0;j=g;l=14}else{c[m+4+4>>2]=b+(~((b+-8-g|0)>>>3)<<3);h=m+4+4|0;f=m+4|0;j=g;b=b+(~((b+-8-g|0)>>>3)<<3)|0;l=14}}else{if(!(d>2]|0;b=c[m+4+4>>2]|0;l=14;break}g=c[m+4>>2]|0;k=+((c[m+4+4>>2]|0)-g>>3>>>0);c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;b=(~~(k*e+.5)>>>0)-(~~(k*d)>>>0)<<3;if(!(b>>3))f=m+4|0;else{if(b>>3>>>0>536870911)jzb(a);f=YAb(b)|0;c[a+4>>2]=f;c[a>>2]=f;c[a+8>>2]=f+(b>>3<<3);if((~~(k*e+.5)>>>0|0)==(~~(k*d)>>>0|0))f=m+4|0;else{b=g+(~~(k*d)>>>0<<3)|0;do{n=b;h=c[n+4>>2]|0;j=f;c[j>>2]=c[n>>2];c[j+4>>2]=h;f=(c[a+4>>2]|0)+8|0;c[a+4>>2]=f;b=b+8|0}while((b|0)!=(g+(~~(k*e+.5)>>>0<<3)|0));f=m+4|0}}}while(0);if((l|0)==14){c[a>>2]=j;c[a+4>>2]=b;c[a+8>>2]=c[m+4+8>>2];c[m+4+8>>2]=0;c[h>>2]=0;c[f>>2]=0}f=c[f>>2]|0;if(!f){i=m;return}b=c[m+4+4>>2]|0;if((b|0)!=(f|0))c[m+4+4>>2]=b+(~((b+-8-f|0)>>>3)<<3);oAb(f);i=m;return}function Hka(a){a=a|0;var b=0;c[a>>2]=31052;b=c[a+8>>2]|0;if(b|0)qjb(b);_F(a);return}function Ika(a){a=a|0;var b=0;c[a>>2]=31052;b=c[a+8>>2]|0;if(b|0)qjb(b);_F(a);oAb(a);return}function Jka(a){a=a|0;return c[a+8>>2]|0}function Kka(a){a=a|0;return c[a+12>>2]|0}function Lka(a){a=a|0;return c[a+16>>2]|0}function Mka(){var b=0,d=0;a[1206192]=0;a[1206200]=0;a[1206208]=0;a[1206216]=0;a[1206224]=0;a[1206232]=0;a[1206240]=0;a[1206248]=0;a[1206256]=0;a[1206264]=0;a[1206272]=0;a[1206280]=0;d=0;do{b=c[31080+(d<<3)>>2]|0;if(b>>>0<12){c[1206188+(b<<3)>>2]=c[31080+(d<<3)+4>>2];a[1206188+(b<<3)+4>>0]=1}d=d+1|0}while((d|0)!=12);return}function Nka(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=i;i=i+16|0;Jj(a);c[a>>2]=31052;c[a+8>>2]=0;c[a+12>>2]=1;c[a+16>>2]=12;g=Xha(b)|0;h=Yha(b)|0;b=Gcb(vi[c[(c[b>>2]|0)+16>>2]&2047](b)|0,g,h,32,g<<2,255,65280,16711680,-16777216)|0;if(!b){h=nf(16)|0;ds(h,441402,f);zc(h|0,96,27)}c[a+8>>2]=rjb(b,d,e)|0;A7a(b);if(!(c[a+8>>2]|0)){h=nf(16)|0;c[f+8>>2]=n6a()|0;ds(h,441439,f+8|0);zc(h|0,96,27)}else{i=f;return}}function Oka(b,d){b=b|0;d=d|0;var e=0;e=i;i=i+16|0;Jj(b);c[b>>2]=31052;c[b+8>>2]=0;c[b+12>>2]=0;c[b+16>>2]=d;if(d>>>0>=12){b=nf(16)|0;ds(b,441464,e);zc(b|0,96,27)}if(!(a[1206188+(d<<3)+4>>0]|0)){b=nf(16)|0;ds(b,441464,e);zc(b|0,96,27)}d=sjb(c[1206188+(d<<3)>>2]|0)|0;c[b+8>>2]=d;if(!d){b=nf(16)|0;c[e+8>>2]=n6a()|0;ds(b,441507,e+8|0);zc(b|0,96,27)}else{i=e;return}}function Pka(a){a=a|0;var b=0,d=0;c[a>>2]=31184;b=c[a+16>>2]|0;do if(b|0){d=c[b>>2]|0;if(d){Hi[c[(c[d>>2]|0)+4>>2]&1023](d);b=c[a+16>>2]|0;if(!b)break}oAb(b)}while(0);En(a);return}function Qka(a){a=a|0;var b=0,d=0;c[a>>2]=31184;b=c[a+16>>2]|0;do if(b|0){d=c[b>>2]|0;if(d){Hi[c[(c[d>>2]|0)+4>>2]&1023](d);b=c[a+16>>2]|0;if(!b)break}oAb(b)}while(0);En(a);oAb(a);return}function Rka(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var h=0,j=0;h=i;i=i+64|0;Jj(b);c[b>>2]=31184;c[b+12>>2]=d;c[b+16>>2]=0;j=YAb(4)|0;c[b+16>>2]=j;c[j>>2]=0;c[h+8+44>>2]=0;j=h+8+4|0;c[j>>2]=0;c[j+4>>2]=0;c[j+8>>2]=0;c[j+12>>2]=0;c[j+16>>2]=0;c[j+20>>2]=0;c[j+24>>2]=0;c[j+28>>2]=0;a[h+8+36>>0]=1;a[h+8+37>>0]=1;a[h+8+38>>0]=0;a[h+8+39>>0]=0;c[h+8>>2]=0;a[h+8+40>>0]=1;g[h+8+48>>2]=1.0;GG(h,e);e=c[h+4>>2]|0;c[h+8+4>>2]=c[h>>2];c[h+8+4+4>>2]=e;c[h+8+44>>2]=c[b+16>>2];c[b+8>>2]=hT(c[d+20>>2]|0,h+8|0)|0;Hi[c[(c[b>>2]|0)+8>>2]&1023](b);switch(f|0){case 1:{hqa(c[b+8>>2]|0,0);j=c[b+8>>2]|0;c_(j,b);i=h;return}case 2:{hqa(c[b+8>>2]|0,2);j=c[b+8>>2]|0;c_(j,b);i=h;return}case 3:{hqa(c[b+8>>2]|0,1);j=c[b+8>>2]|0;c_(j,b);i=h;return}default:{j=c[b+8>>2]|0;c_(j,b);i=h;return}}}function Ska(a,b){a=a|0;b=b|0;switch(b|0){case 1:{hqa(c[a+8>>2]|0,0);return}case 2:{hqa(c[a+8>>2]|0,2);return}case 3:{hqa(c[a+8>>2]|0,1);return}default:return}}function Tka(a){a=a|0;return +(+aH(+g[(c[a+8>>2]|0)+12>>2]))}function Uka(a){a=a|0;return +(+aH(+g[(c[a+8>>2]|0)+16>>2]))}function Vka(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;dH(e,(c[a+8>>2]|0)+12|0);c[b>>2]=c[e>>2];c[d>>2]=c[e+4>>2];i=e;return}function Wka(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;dH(e,(c[a+8>>2]|0)+64|0);c[b>>2]=c[e>>2];c[d>>2]=c[e+4>>2];i=e;return}function Xka(a){a=a|0;return +(+g[(c[a+8>>2]|0)+56>>2])}function Yka(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;dH(e,(c[a+8>>2]|0)+44|0);c[b>>2]=c[e>>2];c[d>>2]=c[e+4>>2];i=e;return}function Zka(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;dH(e,(c[a+8>>2]|0)+28|0);c[b>>2]=c[e>>2];c[d>>2]=c[e+4>>2];i=e;return}function _ka(a){a=a|0;return +(+g[(c[a+8>>2]|0)+72>>2])}function $ka(a){a=a|0;return +(+g[(c[a+8>>2]|0)+116>>2])}function ala(a){a=a|0;var b=0.0,d=0.0;a=c[a+8>>2]|0;d=+g[a+28>>2];b=+g[a+32>>2];return +(+aH(+aH(+g[a+124>>2]+ +g[a+116>>2]*(d*d+b*b))))}function bla(a,b){a=a|0;b=b|0;var d=0,e=0,f=0.0,h=0.0;d=i;i=i+32|0;e=c[a+8>>2]|0;a=c[e+116>>2]|0;c[d+8>>2]=a;h=+g[e+28>>2];f=+g[e+32>>2];g[d+8+12>>2]=+g[e+124>>2]+(c[k>>2]=a,+g[k>>2])*(h*h+f*f);a=c[e+28+4>>2]|0;c[d+8+4>>2]=c[e+28>>2];c[d+8+4+4>>2]=a;dH(d,d+8+4|0);IDa(b,+g[d>>2]);IDa(b,+g[d+4>>2]);IDa(b,+g[d+8>>2]);IDa(b,+aH(+aH(+g[d+8+12>>2])));i=d;return 4}function cla(a){a=a|0;return +(+g[(c[a+8>>2]|0)+136>>2])}function dla(a){a=a|0;return +(+g[(c[a+8>>2]|0)+132>>2])}function ela(a){a=a|0;return +(+g[(c[a+8>>2]|0)+140>>2])}function fla(a){a=a|0;switch(c[c[a+8>>2]>>2]|0){case 0:{a=1;break}case 2:{a=2;break}case 1:{a=3;break}default:a=0}return a|0}function gla(a,d,e,f){a=a|0;d=+d;e=+e;f=f|0;var h=0,j=0,k=0;k=i;i=i+16|0;j=c[a+8>>2]|0;g[k>>2]=d;g[k+4>>2]=e;GG(k+8|0,k);h=c[a+8>>2]|0;if((c[j>>2]|0)!=2){i=k;return}a=b[j+4>>1]|0;if((a&2)==0&f)if(!(a&2)){b[j+4>>1]=a&65535|2;g[j+144>>2]=0.0;a=(a&65535|2)&65535}if(!(a&2)){i=k;return}d=+g[j+120>>2];e=d*+g[k+8+4>>2];g[j+64>>2]=d*+g[k+8>>2]+ +g[j+64>>2];g[j+68>>2]=e+ +g[j+68>>2];g[j+72>>2]=+g[j+72>>2]+ +g[j+128>>2]*((+g[h+44>>2]-+g[j+44>>2])*+g[k+8+4>>2]-(+g[h+48>>2]-+g[j+48>>2])*+g[k+8>>2]);i=k;return}function hla(a,d,e,f,h,j){a=a|0;d=+d;e=+e;f=+f;h=+h;j=j|0;var k=0,l=0;l=i;i=i+32|0;k=c[a+8>>2]|0;g[l+16>>2]=d;g[l+16+4>>2]=e;GG(l+24|0,l+16|0);g[l>>2]=f;g[l+4>>2]=h;GG(l+8|0,l);if((c[k>>2]|0)!=2){i=l;return}a=b[k+4>>1]|0;if((a&2)==0&j)if(!(a&2)){b[k+4>>1]=a&65535|2;g[k+144>>2]=0.0;a=(a&65535|2)&65535}if(!(a&2)){i=l;return}f=+g[k+120>>2];h=f*+g[l+24+4>>2];g[k+64>>2]=f*+g[l+24>>2]+ +g[k+64>>2];g[k+68>>2]=h+ +g[k+68>>2];g[k+72>>2]=+g[k+72>>2]+ +g[k+128>>2]*((+g[l+8>>2]-+g[k+44>>2])*+g[l+24+4>>2]-(+g[l+8+4>>2]-+g[k+48>>2])*+g[l+24>>2]);i=l;return}function ila(a,d,e){a=a|0;d=+d;e=e|0;var f=0;f=c[a+8>>2]|0;d=+HG(+HG(d));if((c[f>>2]|0)!=2)return;a=b[f+4>>1]|0;if((a&2)==0&e)if(!(a&2)){b[f+4>>1]=a&65535|2;g[f+144>>2]=0.0;a=(a&65535|2)&65535}if(!(a&2))return;g[f+72>>2]=+g[f+72>>2]+d*+g[f+128>>2];return}function jla(a,d,e){a=a|0;d=+d;e=e|0;var f=0;f=c[a+8>>2]|0;d=+HG(+HG(d));if((c[f>>2]|0)!=2)return;a=b[f+4>>1]|0;if((a&2)==0&e)if(!(a&2)){b[f+4>>1]=a&65535|2;g[f+144>>2]=0.0;a=(a&65535|2)&65535}if(!(a&2))return;g[f+84>>2]=d+ +g[f+84>>2];return}function kla(a,d,e,f,h,j){a=a|0;d=+d;e=+e;f=+f;h=+h;j=j|0;var k=0,l=0;l=i;i=i+32|0;k=c[a+8>>2]|0;g[l+16>>2]=d;g[l+16+4>>2]=e;GG(l+24|0,l+16|0);g[l>>2]=f;g[l+4>>2]=h;GG(l+8|0,l);if((c[k>>2]|0)!=2){i=l;return}a=b[k+4>>1]|0;if((a&2)==0&j)if(!(a&2)){b[k+4>>1]=a&65535|2;g[k+144>>2]=0.0;a=(a&65535|2)&65535}if(!(a&2)){i=l;return}g[k+76>>2]=+g[l+24>>2]+ +g[k+76>>2];g[k+80>>2]=+g[l+24+4>>2]+ +g[k+80>>2];g[k+84>>2]=+g[k+84>>2]+((+g[l+8>>2]-+g[k+44>>2])*+g[l+24+4>>2]-(+g[l+8+4>>2]-+g[k+48>>2])*+g[l+24>>2]);i=l;return}function lla(a,d,e,f){a=a|0;d=+d;e=+e;f=f|0;var h=0,j=0;j=i;i=i+16|0;h=c[a+8>>2]|0;g[j>>2]=d;g[j+4>>2]=e;GG(j+8|0,j);if((c[h>>2]|0)!=2){i=j;return}a=b[h+4>>1]|0;if((a&2)==0&f)if(!(a&2)){b[h+4>>1]=a&65535|2;g[h+144>>2]=0.0;a=(a&65535|2)&65535}if(!(a&2)){i=j;return}g[h+76>>2]=+g[j+8>>2]+ +g[h+76>>2];g[h+80>>2]=+g[j+8+4>>2]+ +g[h+80>>2];i=j;return}function mla(a,b){a=a|0;b=+b;var d=0,e=0,f=0.0;d=i;i=i+16|0;e=c[a+8>>2]|0;f=+aH(+g[e+16>>2]);g[d>>2]=b;g[d+4>>2]=f;GG(d+8|0,d);oqa(e,d+8|0,+g[(c[a+8>>2]|0)+56>>2]);i=d;return}function nla(a,b){a=a|0;b=+b;var d=0,e=0;d=i;i=i+16|0;e=c[a+8>>2]|0;g[d>>2]=+aH(+g[e+12>>2]);g[d+4>>2]=b;GG(d+8|0,d);oqa(e,d+8|0,+g[(c[a+8>>2]|0)+56>>2]);i=d;return}function ola(a,d,f){a=a|0;d=+d;f=+f;var h=0,j=0;j=i;i=i+16|0;h=c[a+8>>2]|0;g[j+8>>2]=d;g[j+8+4>>2]=f;GG(j,j+8|0);if(!(c[h>>2]|0)){i=j;return}d=+g[j>>2];f=+g[j+4>>2];if(d*d+f*f>0.0){a=e[h+4>>1]|0;if(!(a&2)){b[h+4>>1]=a|2;g[h+144>>2]=0.0}}a=c[j+4>>2]|0;c[h+64>>2]=c[j>>2];c[h+64+4>>2]=a;i=j;return}function pla(a,b){a=a|0;b=+b;a=c[a+8>>2]|0;oqa(a,a+12|0,b);return}function qla(a,d){a=a|0;d=+d;var f=0;a=c[a+8>>2]|0;if(!(c[a>>2]|0))return;if(d*d>0.0){f=e[a+4>>1]|0;if(!(f&2)){b[a+4>>1]=f|2;g[a+144>>2]=0.0}}g[a+72>>2]=d;return}function rla(a,b,d){a=a|0;b=+b;d=+d;var e=0,f=0;e=i;i=i+16|0;f=c[a+8>>2]|0;g[e>>2]=b;g[e+4>>2]=d;GG(e+8|0,e);oqa(f,e+8|0,+g[(c[a+8>>2]|0)+56>>2]);i=e;return}function sla(a,b){a=a|0;b=+b;g[(c[a+8>>2]|0)+136>>2]=b;return}function tla(a,b){a=a|0;b=+b;g[(c[a+8>>2]|0)+132>>2]=b;return}function ula(a){a=a|0;iqa(c[a+8>>2]|0);return}function vla(a,b,d,e,f){a=a|0;b=+b;d=+d;e=+e;f=+f;var h=0,j=0;h=i;i=i+32|0;g[h+8>>2]=b;g[h+8+4>>2]=d;GG(h,h+8|0);j=c[h+4>>2]|0;c[h+16+4>>2]=c[h>>2];c[h+16+4+4>>2]=j;g[h+16>>2]=e;g[h+16+12>>2]=+HG(+HG(f));mqa(c[a+8>>2]|0,h+16|0);i=h;return}function wla(a,b){a=a|0;b=+b;var d=0,e=0,f=0.0,h=0.0;d=i;i=i+16|0;a=c[a+8>>2]|0;e=c[a+116>>2]|0;c[d>>2]=e;h=+g[a+28>>2];f=+g[a+32>>2];g[d+12>>2]=+g[a+124>>2]+(c[k>>2]=e,+g[k>>2])*(h*h+f*f);e=c[a+28+4>>2]|0;c[d+4>>2]=c[a+28>>2];c[d+4+4>>2]=e;g[d>>2]=b;mqa(a,d);i=d;return}function xla(a,b){a=a|0;b=+b;var d=0,e=0,f=0;d=i;i=i+16|0;e=c[a+8>>2]|0;f=c[e+28+4>>2]|0;c[d+4>>2]=c[e+28>>2];c[d+4+4>>2]=f;c[d>>2]=c[e+116>>2];g[d+12>>2]=+HG(+HG(b));mqa(c[a+8>>2]|0,d);i=d;return}function yla(a,b){a=a|0;b=+b;g[(c[a+8>>2]|0)+140>>2]=b;return}function zla(a,b,d,e,f){a=a|0;b=+b;d=+d;e=e|0;f=f|0;var h=0,j=0.0,k=0.0,l=0.0;h=i;i=i+32|0;a=c[a+8>>2]|0;g[h>>2]=b;g[h+4>>2]=d;GG(h+8|0,h);l=+g[a+24>>2];k=+g[h+8>>2];j=+g[a+20>>2];b=+g[h+8+4>>2];d=k*j+l*b+ +g[a+16>>2];g[h+16>>2]=+g[a+12>>2]+(l*k-j*b);g[h+16+4>>2]=d;dH(h+24|0,h+16|0);c[e>>2]=c[h+24>>2];c[f>>2]=c[h+24+4>>2];i=h;return}function Ala(a,b,d,e,f){a=a|0;b=+b;d=+d;e=e|0;f=f|0;var h=0,j=0.0,k=0.0;h=i;i=i+32|0;a=c[a+8>>2]|0;g[h>>2]=b;g[h+4>>2]=d;GG(h+8|0,h);b=+g[a+24>>2];k=+g[h+8>>2];j=+g[a+20>>2];d=+g[h+8+4>>2];g[h+16>>2]=b*k-j*d;g[h+16+4>>2]=k*j+b*d;dH(h+24|0,h+16|0);c[e>>2]=c[h+24>>2];c[f>>2]=c[h+24+4>>2];i=h;return}function Bla(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0;f=i;i=i+32|0;d=kDa(b)|0;ns(b,2)|0;if((d|0)<=1){i=f;return d|0}e=0;do{l=+yDa(b,1);m=+yDa(b,2);mDa(b,1);mDa(b,1);n=c[a+8>>2]|0;g[f>>2]=l;g[f+4>>2]=m;GG(f+8|0,f);m=+g[n+24>>2];l=+g[f+8>>2];k=+g[n+20>>2];j=+g[f+8+4>>2];h=l*k+m*j+ +g[n+16>>2];g[f+16>>2]=+g[n+12>>2]+(m*l-k*j);g[f+16+4>>2]=h;dH(f+24|0,f+16|0);IDa(b,+g[f+24>>2]);IDa(b,+g[f+24+4>>2]);e=e+1|0}while((e|0)<((d|0)/2|0|0));i=f;return d|0}function Cla(a,b,d,e,f){a=a|0;b=+b;d=+d;e=e|0;f=f|0;var h=0,j=0.0,k=0.0;h=i;i=i+32|0;a=c[a+8>>2]|0;g[h>>2]=b;g[h+4>>2]=d;GG(h+8|0,h);b=+g[h+8>>2]-+g[a+12>>2];j=+g[h+8+4>>2]-+g[a+16>>2];k=+g[a+24>>2];d=+g[a+20>>2];g[h+16>>2]=b*k+j*d;g[h+16+4>>2]=k*j-b*d;dH(h+24|0,h+16|0);c[e>>2]=c[h+24>>2];c[f>>2]=c[h+24+4>>2];i=h;return}function Dla(a,b,d,e,f){a=a|0;b=+b;d=+d;e=e|0;f=f|0;var h=0,j=0.0,k=0.0;h=i;i=i+32|0;a=c[a+8>>2]|0;g[h>>2]=b;g[h+4>>2]=d;GG(h+8|0,h);k=+g[a+24>>2];b=+g[h+8>>2];d=+g[a+20>>2];j=+g[h+8+4>>2];g[h+16>>2]=k*b+d*j;g[h+16+4>>2]=k*j-b*d;dH(h+24|0,h+16|0);c[e>>2]=c[h+24>>2];c[f>>2]=c[h+24+4>>2];i=h;return}function Ela(a,b,d,e,f){a=a|0;b=+b;d=+d;e=e|0;f=f|0;var h=0;h=i;i=i+32|0;a=c[a+8>>2]|0;g[h>>2]=b;g[h+4>>2]=d;GG(h+8|0,h);b=+g[a+72>>2];d=b*(+g[h+8>>2]-+g[a+44>>2])+ +g[a+68>>2];g[h+16>>2]=+g[a+64>>2]-b*(+g[h+8+4>>2]-+g[a+48>>2]);g[h+16+4>>2]=d;dH(h+24|0,h+16|0);c[e>>2]=c[h+24>>2];c[f>>2]=c[h+24+4>>2];i=h;return}function Fla(a,b,d,e,f){a=a|0;b=+b;d=+d;e=e|0;f=f|0;var h=0,j=0.0,k=0.0,l=0.0,m=0.0;h=i;i=i+32|0;a=c[a+8>>2]|0;g[h>>2]=b;g[h+4>>2]=d;GG(h+8|0,h);j=+g[a+24>>2];l=+g[h+8>>2];k=+g[a+20>>2];b=+g[h+8+4>>2];m=+g[a+72>>2];d=m*(+g[a+12>>2]+(j*l-k*b)-+g[a+44>>2])+ +g[a+68>>2];g[h+16>>2]=+g[a+64>>2]-m*(l*k+j*b+ +g[a+16>>2]-+g[a+48>>2]);g[h+16+4>>2]=d;dH(h+24|0,h+16|0);c[e>>2]=c[h+24>>2];c[f>>2]=c[h+24+4>>2];i=h;return}function Gla(a){a=a|0;return (b[(c[a+8>>2]|0)+4>>1]&8)!=0|0}function Hla(a,d){a=a|0;d=d|0;var f=0;a=(c[a+8>>2]|0)+4|0;f=e[a>>1]|0;b[a>>1]=d?f|8:f&65527;return}function Ila(a){a=a|0;return (b[(c[a+8>>2]|0)+4>>1]&32)!=0|0}function Jla(a){a=a|0;return (b[(c[a+8>>2]|0)+4>>1]&2)!=0|0}function Kla(a,d){a=a|0;d=d|0;var f=0;a=c[a+8>>2]|0;f=e[a+4>>1]|0;if(d){b[a+4>>1]=f|4;return}b[a+4>>1]=f&65531;if(f&2|0)return;b[a+4>>1]=f&65531|2;g[a+144>>2]=0.0;return}function Lla(a){a=a|0;return (b[(c[a+8>>2]|0)+4>>1]&4)!=0|0}function Mla(a,b){a=a|0;b=b|0;pqa(c[a+8>>2]|0,b);return}function Nla(a,d){a=a|0;d=d|0;var f=0;a=c[a+8>>2]|0;f=e[a+4>>1]|0;if(!d){b[a+4>>1]=f&65533;g[a+144>>2]=0.0;c[a+64>>2]=0;c[a+64+4>>2]=0;c[a+64+8>>2]=0;c[a+64+12>>2]=0;c[a+64+16>>2]=0;c[a+64+20>>2]=0;return}if(f&2|0)return;b[a+4>>1]=f|2;g[a+144>>2]=0.0;return}function Ola(a,b){a=a|0;b=b|0;qqa(c[a+8>>2]|0,b);return}function Pla(a){a=a|0;return (b[(c[a+8>>2]|0)+4>>1]&16)!=0|0}function Qla(a){a=a|0;return c[a+12>>2]|0}function Rla(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+16|0;WDa(b,0,0);a=c[(c[a+8>>2]|0)+100>>2]|0;if(!a){i=f;return 1}else e=1;while(1){d=e_(a)|0;if(!d){a=3;break}Gs(b,35,d);aEa(b,-2,e);a=c[a+4>>2]|0;if(!a){a=5;break}else e=e+1|0}if((a|0)==3){b=nf(16)|0;ds(b,441826,f);zc(b|0,96,27)}else if((a|0)==5){i=f;return 1}return 0}function Sla(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+16|0;WDa(b,0,0);a=c[(c[a+8>>2]|0)+108>>2]|0;if(!a){i=f;return 1}else e=1;while(1){d=e_(c[a+4>>2]|0)|0;if(!d){a=3;break}GM(b,d);aEa(b,-2,e);a=c[a+12>>2]|0;if(!a){a=5;break}else e=e+1|0}if((a|0)==3){b=nf(16)|0;ds(b,442172,f);zc(b|0,96,27)}else if((a|0)==5){i=f;return 1}return 0}function Tla(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;WDa(b,0,0);a=c[(c[a+8>>2]|0)+112>>2]|0;if(!a)return 1;else f=1;while(1){e=a+4|0;d=e_(c[e>>2]|0)|0;if(!d){d=YAb(12)|0;oma(d,c[e>>2]|0)}else Hi[c[(c[d>>2]|0)+8>>2]&1023](d);Gs(b,33,d);Hi[c[(c[d>>2]|0)+12>>2]&1023](d);aEa(b,-2,f);a=c[a+12>>2]|0;if(!a)break;else f=f+1|0}return 1}function Ula(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;b=c[(c[a+12>>2]|0)+20>>2]|0;if(!(c[b+102868>>2]&2)){iT(b,c[a+8>>2]|0);d_(c[a+8>>2]|0);c[a+8>>2]=0;Hi[c[(c[a>>2]|0)+12>>2]&1023](a);i=e;return}Hi[c[(c[a>>2]|0)+8>>2]&1023](a);b=c[a+12>>2]|0;c[e>>2]=a;d=c[b+32>>2]|0;if(d>>>0<(c[b+36>>2]|0)>>>0){c[d>>2]=a;c[b+32>>2]=(c[b+32>>2]|0)+4;i=e;return}else{Vla(b+28|0,e);i=e;return}}function Vla(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=c[a>>2]|0;d=((c[a+4>>2]|0)-j>>2)+1|0;if(d>>>0>1073741823)jzb(a);e=(c[a+8>>2]|0)-j|0;if(e>>2>>>0<536870911){d=e>>1>>>0>>0?d:e>>1;f=c[a+4>>2]|0;if(!d){i=0;g=0;e=f-j>>2;d=f}else{h=f;e=f-j>>2;k=6}}else{e=c[a+4>>2]|0;d=1073741823;h=e;e=e-j>>2;k=6}if((k|0)==6){i=d;g=YAb(d<<2)|0;d=h}k=g+(e<<2)|0;c[k>>2]=c[b>>2];b=d-j|0;mBb(k+(0-(b>>2)<<2)|0,j|0,b|0)|0;c[a>>2]=k+(0-(b>>2)<<2);c[a+4>>2]=k+4;c[a+8>>2]=g+(i<<2);if(!j)return;oAb(j);return}function Wla(a,b){a=a|0;b=b|0;var d=0;os(b,1,1)|0;d=c[a+16>>2]|0;if(!d){d=YAb(4)|0;c[d>>2]=0;c[a+16>>2]=d;c[(c[a+8>>2]|0)+148>>2]=d}d=c[d>>2]|0;if(d|0)Hi[c[(c[d>>2]|0)+4>>2]&1023](d);d=YAb(12)|0;h_(d,b);c[c[a+16>>2]>>2]=d;return 0}function Xla(a,b){a=a|0;b=b|0;a=c[a+16>>2]|0;if(a|0){a=c[a>>2]|0;if(a|0){j_(a,b);return 1}}HDa(b);return 1}function Yla(a){a=a|0;hI(a);return}function Zla(a){a=a|0;hI(a);oAb(a);return}function _la(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;jI(b,d,f);c[b>>2]=31208;a[b+13>>0]=e&1;return}function $la(b,d,e){b=b|0;d=+d;e=+e;var f=0;f=i;i=i+32|0;if(!(a[b+13>>0]|0)){g[f+16>>2]=d;g[f+16+4>>2]=e;b=c[b+8>>2]|0;GG(f+8|0,f+16|0);qS(b,f+8|0);i=f;return}else{b=nf(16)|0;ds(b,441600,f);zc(b|0,96,27)}}function ama(b,d,e){b=b|0;d=+d;e=+e;var f=0;f=i;i=i+32|0;if(!(a[b+13>>0]|0)){g[f+16>>2]=d;g[f+16+4>>2]=e;b=c[b+8>>2]|0;GG(f+8|0,f+16|0);qS(b,f+8|0);i=f;return}else{b=nf(16)|0;ds(b,441661,f);zc(b|0,96,27)}}function bma(a,d){a=a|0;d=d|0;var e=0;a=c[a+8>>2]|0;e=YAb(48)|0;c[e>>2]=19588;c[e+4>>2]=1;g[e+8>>2]=.009999999776482582;c[e+28>>2]=0;c[e+28+4>>2]=0;c[e+28+8>>2]=0;c[e+28+12>>2]=0;b[e+28+16>>1]=0;rS(a,e,d);a=YAb(16)|0;Rma(a,e,1);return a|0}function cma(a){a=a|0;return c[(c[a+8>>2]|0)+16>>2]|0}function dma(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;b=c[b+8>>2]|0;if((d|0)>=0)if((c[b+16>>2]|0)>(d|0)){dH(a,(c[b+12>>2]|0)+(d<<3)|0);i=e;return}d=nf(16)|0;ds(d,441726,e);zc(d|0,96,27)}function ema(a){a=a|0;return c[(c[a+8>>2]|0)+12>>2]|0}function fma(a){a=a|0;hI(a);return}function gma(a){a=a|0;hI(a);oAb(a);return}function hma(a,b,d){a=a|0;b=b|0;d=d|0;jI(a,b,d);c[a>>2]=31232;return}function ima(a){a=a|0;return +(+aH(+g[(c[a+8>>2]|0)+8>>2]))}function jma(a,b){a=a|0;b=+b;b=+HG(b);g[(c[a+8>>2]|0)+8>>2]=b;return}function kma(a,b,d){a=a|0;b=b|0;d=d|0;a=c[a+8>>2]|0;g[b>>2]=+aH(+g[a+12>>2]);g[d>>2]=+aH(+g[a+16>>2]);return}function lma(a,b,d){a=a|0;b=+b;d=+d;var e=0,f=0;e=i;i=i+16|0;a=(c[a+8>>2]|0)+12|0;g[e+8>>2]=b;g[e+8+4>>2]=d;GG(e,e+8|0);f=c[e+4>>2]|0;c[a>>2]=c[e>>2];c[a+4>>2]=f;i=e;return}function mma(a){a=a|0;var b=0;c[a>>2]=31256;b=c[a+8>>2]|0;if(!b)return;d_(b);c[a+8>>2]=0;return}function nma(a){a=a|0;var b=0;c[a>>2]=31256;b=c[a+8>>2]|0;if(!b){oAb(a);return}d_(b);c[a+8>>2]=0;oAb(a);return}function oma(a,b){a=a|0;b=b|0;Jj(a);c[a>>2]=31256;c[a+8>>2]=b;c_(b,a);return}function pma(a){a=a|0;var b=0;b=c[a+8>>2]|0;if(!b)return;d_(b);c[a+8>>2]=0;return}function qma(a){a=a|0;return (c[a+8>>2]|0)!=0|0}function rma(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0;e=i;i=i+48|0;os(b,1,1)|0;h=c[a+8>>2]|0;f=c[h+48>>2]|0;d=c[h+52>>2]|0;Jpa(e+8|0,h+64|0,(c[f+8>>2]|0)+12|0,+g[(c[f+12>>2]|0)+8>>2],(c[d+8>>2]|0)+12|0,+g[(c[d+12>>2]|0)+8>>2]);a=c[(c[a+8>>2]|0)+124>>2]|0;if((a|0)<=0){h=a<<1;i=e;return h|0}d=0;do{dH(e,e+8+8+(d<<3)|0);IDa(b,+g[e>>2]);IDa(b,+g[e+4>>2]);d=d+1|0}while((d|0)!=(a|0));h=a<<1;i=e;return h|0}function sma(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=i;i=i+32|0;os(b,1,1)|0;f=c[a+8>>2]|0;e=c[f+48>>2]|0;a=c[f+52>>2]|0;Jpa(d,f+64|0,(c[e+8>>2]|0)+12|0,+g[(c[e+12>>2]|0)+8>>2],(c[a+8>>2]|0)+12|0,+g[(c[a+12>>2]|0)+8>>2]);IDa(b,+g[d>>2]);IDa(b,+g[d+4>>2]);i=d;return 2}function tma(a){a=a|0;return +(+g[(c[a+8>>2]|0)+136>>2])}function uma(a){a=a|0;return +(+g[(c[a+8>>2]|0)+140>>2])}function vma(a){a=a|0;return (c[(c[a+8>>2]|0)+4>>2]&4|0)!=0|0}function wma(a){a=a|0;return (c[(c[a+8>>2]|0)+4>>2]&2|0)!=0|0}function xma(a,b){a=a|0;b=+b;g[(c[a+8>>2]|0)+136>>2]=b;return}function yma(a,b){a=a|0;b=+b;g[(c[a+8>>2]|0)+140>>2]=b;return}function zma(a,b){a=a|0;b=b|0;var d=0;a=(c[a+8>>2]|0)+4|0;d=c[a>>2]|0;c[a>>2]=b?d|4:d&-5;return}function Ama(a){a=a|0;a=c[a+8>>2]|0;g[a+136>>2]=+O(+(+g[(c[a+48>>2]|0)+16>>2]*+g[(c[a+52>>2]|0)+16>>2]));return}function Bma(a){a=a|0;var b=0.0,d=0.0;a=c[a+8>>2]|0;d=+g[(c[a+48>>2]|0)+20>>2];b=+g[(c[a+52>>2]|0)+20>>2];g[a+140>>2]=d>b?d:b;return}function Cma(a,b){a=a|0;b=+b;g[(c[a+8>>2]|0)+144>>2]=b;return}function Dma(a){a=a|0;return +(+g[(c[a+8>>2]|0)+144>>2])}function Ema(a,b,d){a=a|0;b=b|0;d=d|0;a=c[a+8>>2]|0;c[b>>2]=c[a+56>>2];c[d>>2]=c[a+60>>2];return}function Fma(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;c[b>>2]=e_(c[(c[a+8>>2]|0)+48>>2]|0)|0;a=e_(c[(c[a+8>>2]|0)+52>>2]|0)|0;c[d>>2]=a;if((a|0)==0|(c[b>>2]|0)==0){a=nf(16)|0;ds(a,441826,e);zc(a|0,96,27)}else{i=e;return}}function Gma(a){a=a|0;iG(a);return}function Hma(a){a=a|0;iG(a);oAb(a);return}function Ima(b,d,e,f,h,j,k,l){b=b|0;d=d|0;e=e|0;f=+f;h=+h;j=+j;k=+k;l=l|0;var m=0;m=i;i=i+80|0;lG(b,d,e);c[b>>2]=31280;c[b+28>>2]=0;c[m+32>>2]=0;c[m+32+4>>2]=0;c[m+32+8>>2]=0;c[m+32+12>>2]=0;a[m+32+16>>0]=0;c[m+32>>2]=3;c[m+32+20>>2]=0;c[m+32+20+4>>2]=0;c[m+32+20+8>>2]=0;c[m+32+20+12>>2]=0;g[m+32+36>>2]=1.0;g[m+32+40>>2]=0.0;g[m+32+44>>2]=0.0;d=c[d+8>>2]|0;e=c[e+8>>2]|0;g[m+16>>2]=f;g[m+16+4>>2]=h;GG(m+24|0,m+16|0);g[m>>2]=j;g[m+4>>2]=k;GG(m+8|0,m);xra(m+32|0,d,e,m+24|0,m+8|0);a[m+32+16>>0]=l&1;c[b+28>>2]=tG(b,m+32|0)|0;i=m;return}function Jma(a,b){a=a|0;b=+b;a=c[a+28>>2]|0;g[a+104>>2]=+HG(b);return}function Kma(a){a=a|0;return +(+aH(+g[(c[a+28>>2]|0)+104>>2]))}function Lma(a,b){a=a|0;b=+b;g[(c[a+28>>2]|0)+68>>2]=b;return}function Mma(a){a=a|0;return +(+g[(c[a+28>>2]|0)+68>>2])}function Nma(a,b){a=a|0;b=+b;g[(c[a+28>>2]|0)+72>>2]=b;return}function Oma(a){a=a|0;return +(+g[(c[a+28>>2]|0)+72>>2])}function Pma(a){a=a|0;hI(a);return}function Qma(a){a=a|0;hI(a);oAb(a);return}function Rma(a,b,d){a=a|0;b=b|0;d=d|0;jI(a,b,d);c[a>>2]=31304;return}function Sma(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;a=c[a+8>>2]|0;dH(d+8|0,a+12|0);dH(d,a+20|0);IDa(b,+g[d+8>>2]);IDa(b,+g[d+8+4>>2]);IDa(b,+g[d>>2]);IDa(b,+g[d+4>>2]);i=d;return 4}function Tma(a){a=a|0;var b=0,d=0;c[a>>2]=31328;b=c[a+12>>2]|0;if(!b)return;d=c[b>>2]|0;if(d){Hi[c[(c[d>>2]|0)+4>>2]&1023](d);b=c[a+12>>2]|0;if(!b)return}oAb(b);return}function Uma(a){a=a|0;var b=0,d=0;c[a>>2]=31328;b=c[a+12>>2]|0;if(!b){oAb(a);return}d=c[b>>2]|0;if(d){Hi[c[(c[d>>2]|0)+4>>2]&1023](d);b=c[a+12>>2]|0;if(!b){oAb(a);return}}oAb(b);oAb(a);return}function Vma(d,e,f,h){d=d|0;e=e|0;f=f|0;h=+h;var j=0,k=0;j=i;i=i+32|0;Jj(d);c[d>>2]=31328;c[d+8>>2]=e;c[d+16>>2]=0;k=YAb(4)|0;c[d+12>>2]=k;c[k>>2]=0;b[j+22>>1]=1;b[j+24>>1]=-1;b[j+26>>1]=0;g[j+8>>2]=.20000000298023224;g[j+12>>2]=0.0;a[j+20>>0]=0;c[j>>2]=c[f+8>>2];c[j+4>>2]=k;g[j+16>>2]=h;c[d+16>>2]=kqa(c[e+8>>2]|0,j)|0;Hi[c[(c[d>>2]|0)+8>>2]&1023](d);c_(c[d+16>>2]|0,d);i=j;return}function Wma(a){a=a|0;var b=0;b=i;i=i+16|0;jI(b,c[(c[a+16>>2]|0)+12>>2]|0,0);a=kI(b)|0;hI(b);i=b;return a|0}function Xma(a,b){a=a|0;b=+b;g[(c[a+16>>2]|0)+16>>2]=b;return}function Yma(a,b){a=a|0;b=+b;g[(c[a+16>>2]|0)+20>>2]=b;return}function Zma(a,b){a=a|0;b=+b;a=c[a+16>>2]|0;bT(b>=0.0&((g[k>>2]=b,c[k>>2]|0)&2139095040|0)!=2139095040,441957);g[a>>2]=b;return}function _ma(a,b){a=a|0;b=b|0;Qqa(c[a+16>>2]|0,b);return}function $ma(a){a=a|0;return +(+g[(c[a+16>>2]|0)+16>>2])}function ana(a){a=a|0;return +(+g[(c[a+16>>2]|0)+20>>2])}function bna(a){a=a|0;return +(+g[c[a+16>>2]>>2])}function cna(b){b=b|0;return (a[(c[b+16>>2]|0)+38>>0]|0)!=0|0}function dna(a){a=a|0;return c[a+8>>2]|0}function ena(a){a=a|0;var b=0;a=(c[a+16>>2]|0)+12|0;if(!(c[a>>2]|0)){a=0;return a|0}b=YAb(16)|0;jI(b,c[a>>2]|0,0);a=b;return a|0}function fna(a){a=a|0;return (c[a+16>>2]|0)!=0|0}function gna(a,d){a=a|0;d=d|0;var e=0;e=i;i=i+16|0;b[e>>1]=c[d>>2];b[e+2>>1]=c[d+4>>2];b[e+4>>1]=c[d+8>>2];Pqa(c[a+16>>2]|0,e);i=e;return}function hna(a,d){a=a|0;d=d|0;var f=0,g=0;g=c[a+16>>2]|0;f=b[g+34>>1]|0;a=b[g+36>>1]|0;c[d>>2]=e[g+32>>1];c[d+4>>2]=f&65535;c[d+8>>2]=a<<16>>16;return}function ina(a,d){a=a|0;d=d|0;var e=0,f=0;e=i;i=i+16|0;f=(c[a+16>>2]|0)+32|0;b[e>>1]=b[f>>1]|0;b[e+2>>1]=b[f+2>>1]|0;b[e+4>>1]=b[f+4>>1]|0;b[e>>1]=jna(0,d)|0;Pqa(c[a+16>>2]|0,e);i=e;return 0}function jna(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;g=i;i=i+16|0;e=kDa(b)|0;if((e|0)<1){h=0;i=g;return h|0}else{a=0;f=1}while(1){d=(zDa(b,f)|0)+-1|0;if(d>>>0>15){h=5;break}a=1<>2]=156212;zc(h|0,9016,680)}h=a&65535;i=g;return h|0}function kna(a,d){a=a|0;d=d|0;var e=0,f=0;e=i;i=i+16|0;f=(c[a+16>>2]|0)+32|0;b[e>>1]=b[f>>1]|0;b[e+2>>1]=b[f+2>>1]|0;b[e+4>>1]=b[f+4>>1]|0;b[e+2>>1]=(jna(0,d)|0)&65535^65535;Pqa(c[a+16>>2]|0,e);i=e;return 0}function lna(a,d){a=a|0;d=d|0;var f=0;f=i;i=i+16|0;a=c[a+16>>2]|0;c[f>>2]=e[a+32>>1]|e[a+32+2>>1]<<16;b[f+4>>1]=d;Pqa(a,f);i=f;return}function mna(a){a=a|0;return b[(c[a+16>>2]|0)+36>>1]|0}function nna(a,b){a=a|0;b=b|0;a=e[(c[a+16>>2]|0)+32>>1]|0;if(a&1|0)JDa(b,1);if(a&2|0)JDa(b,2);if(a&4|0)JDa(b,3);if(a&8|0)JDa(b,4);if(a&16|0)JDa(b,5);if(a&32|0)JDa(b,6);if(a&64|0)JDa(b,7);if(a&128|0)JDa(b,8);if(a&256|0)JDa(b,9);if(a&512|0)JDa(b,10);if(a&1024|0)JDa(b,11);if(a&2048|0)JDa(b,12);if(a&4096|0)JDa(b,13);if(a&8192|0)JDa(b,14);if(a&16384|0)JDa(b,15);if(!(a&32768)){b=Ff(a|0)|0;return b|0}JDa(b,16);b=Ff(a|0)|0;return b|0}function ona(a,b){a=a|0;b=b|0;a=(e[(c[a+16>>2]|0)+34>>1]|0)^65535;if(a&1|0)JDa(b,1);if(a&2|0)JDa(b,2);if(a&4|0)JDa(b,3);if(a&8|0)JDa(b,4);if(a&16|0)JDa(b,5);if(a&32|0)JDa(b,6);if(a&64|0)JDa(b,7);if(a&128|0)JDa(b,8);if(a&256|0)JDa(b,9);if(a&512|0)JDa(b,10);if(a&1024|0)JDa(b,11);if(a&2048|0)JDa(b,12);if(a&4096|0)JDa(b,13);if(a&8192|0)JDa(b,14);if(a&16384|0)JDa(b,15);if(!(a&32768)){b=Ff(a|0)|0;return b|0}JDa(b,16);b=Ff(a|0)|0;return b|0}function pna(a,b){a=a|0;b=b|0;var d=0;os(b,1,1)|0;d=c[c[a+12>>2]>>2]|0;if(d|0)Hi[c[(c[d>>2]|0)+4>>2]&1023](d);d=YAb(12)|0;h_(d,b);c[c[a+12>>2]>>2]=d;return 0}function qna(a,b){a=a|0;b=b|0;a=c[c[a+12>>2]>>2]|0;if(!a){HDa(b);return 1}else{j_(a,b);return 1}return 0}function rna(a,b,d){a=a|0;b=+b;d=+d;var e=0,f=0;e=i;i=i+16|0;a=c[a+16>>2]|0;g[e>>2]=b;g[e+4>>2]=d;GG(e+8|0,e);f=c[a+12>>2]|0;a=Gi[c[(c[f>>2]|0)+16>>2]&255](f,(c[a+8>>2]|0)+12|0,e+8|0)|0;i=e;return a|0}function sna(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0.0,j=0.0,k=0.0,l=0.0,m=0.0;d=i;i=i+32|0;m=+HG(+_Ga(b,1));l=+HG(+_Ga(b,2));k=+HG(+_Ga(b,3));j=+HG(+_Ga(b,4));h=+_Ga(b,5);e=~~+$Ga(b,6,1.0)+-1|0;g[d+12>>2]=m;g[d+12+4>>2]=l;g[d+12+8>>2]=k;g[d+12+12>>2]=j;g[d+12+16>>2]=h;a=c[a+16>>2]|0;f=c[a+12>>2]|0;if(!(Ci[c[(c[f>>2]|0)+20>>2]&127](f,d,d+12|0,(c[a+8>>2]|0)+12|0,e)|0)){f=0;i=d;return f|0}IDa(b,+g[d>>2]);IDa(b,+g[d+4>>2]);IDa(b,+g[d+8>>2]);f=3;i=d;return f|0}function tna(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+32|0;e=~~+$Ga(b,1,1.0);d=c[a+16>>2]|0;if((e|0)>0)a=(c[d+28>>2]|0)>=(e|0);else a=0;bT(a,442058);e=(c[d+24>>2]|0)+((e+-1|0)*28|0)|0;c[f+16>>2]=c[e>>2];c[f+16+4>>2]=c[e+4>>2];c[f+16+8>>2]=c[e+8>>2];c[f+16+12>>2]=c[e+12>>2];eH(f,f+16|0);c[f+16>>2]=c[f>>2];c[f+16+4>>2]=c[f+4>>2];c[f+16+8>>2]=c[f+8>>2];c[f+16+12>>2]=c[f+12>>2];IDa(b,+g[f+16>>2]);IDa(b,+g[f+16+4>>2]);IDa(b,+g[f+16+8>>2]);IDa(b,+g[f+16+12>>2]);i=f;return 4}function una(a,b){a=a|0;b=b|0;var d=0,e=0;d=i;i=i+32|0;a=c[a+16>>2]|0;e=c[a+12>>2]|0;Li[c[(c[e>>2]|0)+28>>2]&31](e,d+8|0,+g[a>>2]);dH(d,d+8+4|0);IDa(b,+g[d>>2]);IDa(b,+g[d+4>>2]);IDa(b,+g[d+8>>2]);IDa(b,+g[d+8+12>>2]);i=d;return 4}function vna(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;d=c[a+8>>2]|0;if(!(c[(c[(c[d+12>>2]|0)+20>>2]|0)+102868>>2]&2)){if(!b){b=c[a+16>>2]|0;if(b|0)lqa(c[d+8>>2]|0,b)}d_(c[a+16>>2]|0);c[a+16>>2]=0;Hi[c[(c[a>>2]|0)+12>>2]&1023](a);i=e;return}else{Hi[c[(c[a>>2]|0)+8>>2]&1023](a);b=c[(c[a+8>>2]|0)+12>>2]|0;c[e>>2]=a;d=c[b+44>>2]|0;if(d>>>0<(c[b+48>>2]|0)>>>0){c[d>>2]=a;c[b+44>>2]=(c[b+44>>2]|0)+4;i=e;return}else{wna(b+40|0,e);i=e;return}}}function wna(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=c[a>>2]|0;d=((c[a+4>>2]|0)-j>>2)+1|0;if(d>>>0>1073741823)jzb(a);e=(c[a+8>>2]|0)-j|0;if(e>>2>>>0<536870911){d=e>>1>>>0>>0?d:e>>1;f=c[a+4>>2]|0;if(!d){i=0;g=0;e=f-j>>2;d=f}else{h=f;e=f-j>>2;k=6}}else{e=c[a+4>>2]|0;d=1073741823;h=e;e=e-j>>2;k=6}if((k|0)==6){i=d;g=YAb(d<<2)|0;d=h}k=g+(e<<2)|0;c[k>>2]=c[b>>2];b=d-j|0;mBb(k+(0-(b>>2)<<2)|0,j|0,b|0)|0;c[a>>2]=k+(0-(b>>2)<<2);c[a+4>>2]=k+4;c[a+8>>2]=g+(i<<2);if(!j)return;oAb(j);return}function xna(a){a=a|0;iG(a);return}function yna(a){a=a|0;iG(a);oAb(a);return}function zna(b,d,e,f,h,j,k,l){b=b|0;d=d|0;e=e|0;f=+f;h=+h;j=+j;k=+k;l=l|0;var m=0,n=0;m=i;i=i+80|0;lG(b,d,e);c[b>>2]=31352;c[b+28>>2]=0;c[m+32>>2]=0;c[m+32+4>>2]=0;c[m+32+8>>2]=0;c[m+32+12>>2]=0;a[m+32+16>>0]=0;c[m+32>>2]=9;n=m+32+20|0;c[n>>2]=0;c[n+4>>2]=0;c[n+8>>2]=0;c[n+12>>2]=0;c[n+16>>2]=0;c[n+20>>2]=0;n=c[d+8>>2]|0;d=c[e+8>>2]|0;g[m+16>>2]=f;g[m+16+4>>2]=h;GG(m+24|0,m+16|0);Ira(m+32|0,n,d,m+24|0);e=c[e+8>>2]|0;g[m>>2]=j;g[m+4>>2]=k;GG(m+8|0,m);h=+g[m+8>>2]-+g[e+12>>2];j=+g[m+8+4>>2]-+g[e+16>>2];f=+g[e+24>>2];k=+g[e+20>>2];g[m+32+28>>2]=h*f+j*k;g[m+32+32>>2]=f*j-h*k;a[m+32+16>>0]=l&1;c[b+28>>2]=tG(b,m+32|0)|0;i=m;return}function Ana(a,b){a=a|0;b=+b;a=c[a+28>>2]|0;Kra(a,+HG(b));return}function Bna(a){a=a|0;return +(+aH(+Lra(c[a+28>>2]|0)))}function Cna(a,b){a=a|0;b=+b;a=c[a+28>>2]|0;Mra(a,+HG(+HG(b)));return}function Dna(a){a=a|0;return +(+aH(+aH(+Nra(c[a+28>>2]|0))))}function Ena(a){a=a|0;iG(a);return}function Fna(a){a=a|0;iG(a);oAb(a);return}function Gna(b,d,e,f,h){b=b|0;d=d|0;e=e|0;f=+f;h=h|0;var j=0;j=i;i=i+32|0;lG(b,c[d+20>>2]|0,c[e+20>>2]|0);c[b>>2]=31376;c[b+28>>2]=0;c[j>>2]=0;c[j+4>>2]=0;c[j+8>>2]=0;c[j+12>>2]=0;c[j>>2]=6;c[j+20>>2]=c[d+24>>2];c[j+24>>2]=c[e+24>>2];c[j+8>>2]=c[(c[d+20>>2]|0)+8>>2];c[j+12>>2]=c[(c[e+20>>2]|0)+8>>2];g[j+28>>2]=f;a[j+16>>0]=h&1;c[b+28>>2]=tG(b,j)|0;i=j;return}function Hna(a,b){a=a|0;b=+b;Yra(c[a+28>>2]|0,b);return}function Ina(a){a=a|0;return +(+Zra(c[a+28>>2]|0))}function Jna(a){a=a|0;var b=0;b=i;i=i+16|0;a=c[(c[a+28>>2]|0)+68>>2]|0;if(!a){a=0;i=b;return a|0}a=e_(a)|0;if(!a){a=nf(16)|0;ds(a,442172,b);zc(a|0,96,27)}i=b;return a|0}function Kna(a){a=a|0;var b=0;b=i;i=i+16|0;a=c[(c[a+28>>2]|0)+72>>2]|0;if(!a){a=0;i=b;return a|0}a=e_(a)|0;if(!a){a=nf(16)|0;ds(a,442172,b);zc(a|0,96,27)}i=b;return a|0}function Lna(a){a=a|0;iG(a);return}function Mna(a){a=a|0;iG(a);oAb(a);return}function Nna(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+48|0;lG(b,d,e);c[b>>2]=31400;c[b+28>>2]=0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;a[f+16>>0]=0;c[f>>2]=11;g[f+20>>2]=0.0;g[f+24>>2]=0.0;g[f+28>>2]=0.0;g[f+32>>2]=1.0;g[f+36>>2]=1.0;g[f+40>>2]=.30000001192092896;iU(f,c[d+8>>2]|0,c[e+8>>2]|0);c[b+28>>2]=tG(b,f)|0;i=f;return}function Ona(b,d,e,f,h){b=b|0;d=d|0;e=e|0;f=+f;h=h|0;var j=0;j=i;i=i+48|0;lG(b,d,e);c[b>>2]=31400;c[b+28>>2]=0;c[j>>2]=0;c[j+4>>2]=0;c[j+8>>2]=0;c[j+12>>2]=0;a[j+16>>0]=0;c[j>>2]=11;g[j+20>>2]=0.0;g[j+24>>2]=0.0;g[j+28>>2]=0.0;g[j+32>>2]=1.0;g[j+36>>2]=1.0;g[j+40>>2]=.30000001192092896;iU(j,c[d+8>>2]|0,c[e+8>>2]|0);g[j+40>>2]=f;a[j+16>>0]=h&1;c[b+28>>2]=tG(b,j)|0;i=j;return}function Pna(a,b,d){a=a|0;b=+b;d=+d;var e=0;e=i;i=i+16|0;a=c[a+28>>2]|0;g[e>>2]=b;g[e+4>>2]=d;GG(e+8|0,e);qU(a,e+8|0);i=e;return}function Qna(a,b){a=a|0;b=b|0;IDa(b,+aH(+g[(rU(c[a+28>>2]|0)|0)>>2]));IDa(b,+aH(+g[(rU(c[a+28>>2]|0)|0)+4>>2]));return 2}function Rna(a,b){a=a|0;b=+b;sU(c[a+28>>2]|0,b);return}function Sna(a){a=a|0;return +(+tU(c[a+28>>2]|0))}function Tna(a,b){a=a|0;b=+b;a=c[a+28>>2]|0;kU(a,+HG(b));return}function Una(a){a=a|0;return +(+aH(+lU(c[a+28>>2]|0)))}function Vna(a,b){a=a|0;b=+b;a=c[a+28>>2]|0;mU(a,+HG(+HG(b)));return}function Wna(a){a=a|0;return +(+aH(+aH(+nU(c[a+28>>2]|0))))}function Xna(a,b){a=a|0;b=+b;oU(c[a+28>>2]|0,b);return}function Yna(a){a=a|0;return +(+pU(c[a+28>>2]|0))}function Zna(a){a=a|0;iG(a);return}function _na(a){a=a|0;iG(a);oAb(a);return}function $na(b,d,e,f){b=b|0;d=d|0;e=+e;f=+f;var h=0;h=i;i=i+64|0;kG(b,d);c[b>>2]=31424;c[b+28>>2]=0;c[h+16>>2]=0;c[h+16+4>>2]=0;c[h+16+8>>2]=0;c[h+16+12>>2]=0;a[h+16+16>>0]=0;c[h+16>>2]=5;g[h+16+20>>2]=0.0;g[h+16+24>>2]=0.0;g[h+16+28>>2]=0.0;g[h+16+32>>2]=5.0;g[h+16+36>>2]=.699999988079071;c[h+16+8>>2]=LJ(c[d+12>>2]|0)|0;d=c[d+8>>2]|0;c[h+16+12>>2]=d;g[h+16+28>>2]=+g[d+116>>2]*1.0e3;g[h+8>>2]=e;g[h+8+4>>2]=f;GG(h,h+8|0);d=c[h+4>>2]|0;c[h+16+20>>2]=c[h>>2];c[h+16+20+4>>2]=d;c[b+28>>2]=tG(b,h+16|0)|0;i=h;return}function aoa(a,b,d){a=a|0;b=+b;d=+d;var e=0;e=i;i=i+16|0;a=c[a+28>>2]|0;g[e>>2]=b;g[e+4>>2]=d;GG(e+8|0,e);FU(a,e+8|0);i=e;return}function boa(a,b){a=a|0;b=b|0;IDa(b,+aH(+g[(GU(c[a+28>>2]|0)|0)>>2]));IDa(b,+aH(+g[(GU(c[a+28>>2]|0)|0)+4>>2]));return 2}function coa(a,b){a=a|0;b=+b;a=c[a+28>>2]|0;HU(a,+HG(b));return}function doa(a){a=a|0;return +(+aH(+IU(c[a+28>>2]|0)))}function eoa(a,b){a=a|0;b=+b;JU(c[a+28>>2]|0,b);return}function foa(a){a=a|0;return +(+KU(c[a+28>>2]|0))}function goa(a,b){a=a|0;b=+b;LU(c[a+28>>2]|0,b);return}function hoa(a){a=a|0;return +(+MU(c[a+28>>2]|0))}function ioa(a){a=a|0;var b=0;c[a>>2]=31448;b=c[a+32>>2]|0;if(b|0)aBb(b);Mqb(a+12|0);b=c[a+8>>2]|0;if(!b)return;Hi[c[(c[b>>2]|0)+12>>2]&1023](b);return}function joa(a){a=a|0;var b=0;c[a>>2]=31448;b=c[a+32>>2]|0;if(b|0)aBb(b);Mqb(a+12|0);b=c[a+8>>2]|0;if(!b){oAb(a);return}Hi[c[(c[b>>2]|0)+12>>2]&1023](b);oAb(a);return}function koa(a){a=a|0;return c[a+24>>2]|0}function loa(a){a=a|0;return c[a+32>>2]|0}function moa(b){b=b|0;return (a[b+36>>0]|0)!=0|0}function noa(a){a=a|0;return c[a+28>>2]|0}function ooa(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;Jj(b);c[b>>2]=31448;c[b+8>>2]=d;if(d|0)Hi[c[(c[d>>2]|0)+8>>2]&1023](d);Hqb(b+12|0,e);c[b+24>>2]=f;c[b+28>>2]=44100;c[b+32>>2]=0;a[b+36>>0]=0;c[b+32>>2]=_Ab((f|0)>-1?f:-1)|0;return}function poa(a){a=a|0;var b=0;c[a>>2]=31520;b=c[a+40>>2]|0;if(b|0)OPa(b);ioa(a);return}function qoa(a){a=a|0;var b=0;c[a>>2]=31520;b=c[a+40>>2]|0;if(b|0)OPa(b);ioa(a);oAb(a);return}function roa(a){a=a|0;var b=0;b=YAb(112)|0;soa(b,c[a+8>>2]|0,a+12|0,c[a+24>>2]|0);return b|0}function soa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+16|0;ooa(a,b,d,e);c[a>>2]=31520;c[a+40>>2]=0;h[a+104>>3]=-2.0;c[a+44>>2]=3;c[a+48>>2]=2;c[a+52>>2]=16;c[a+56>>2]=c[a+28>>2];c[a+60>>2]=1;c[a+64>>2]=128;c[a+68>>2]=32;c[a+72>>2]=0;c[a+72+4>>2]=0;c[a+72+8>>2]=0;c[a+72+12>>2]=0;c[a+72+16>>2]=0;c[a+72+20>>2]=0;c[a+96>>2]=-1;TPa(a+44|0);e=vi[c[(c[b>>2]|0)+16>>2]&2047](b)|0;e=NPa(e,vi[c[(c[b>>2]|0)+20>>2]&2047](b)|0)|0;c[a+40>>2]=e;if(!e){a=nf(16)|0;ds(a,442360,f);zc(a|0,96,27)}else{RPa(e,128);i=f;return}}function toa(b){b=b|0;var d=0;d=PPa(c[b+40>>2]|0,c[b+32>>2]|0,c[b+24>>2]|0)|0;if(d|0)return d|0;a[b+36>>0]=1;return d|0}function uoa(a,b){a=a|0;b=+b;SPa(c[a+40>>2]|0,~~(b*1.0e3));return 1}function voa(b){b=b|0;var d=0,e=0;OPa(c[b+40>>2]|0);e=c[b+8>>2]|0;e=vi[c[(c[e>>2]|0)+16>>2]&2047](e)|0;d=c[b+8>>2]|0;d=NPa(e,vi[c[(c[d>>2]|0)+20>>2]&2047](d)|0)|0;c[b+40>>2]=d;RPa(d,128);a[b+36>>0]=0;return (c[b+40>>2]|0)!=0|0}function woa(a){a=a|0;return 1}function xoa(a){a=a|0;return 2}function yoa(a){a=a|0;return 16}function zoa(a){a=a|0;var b=0.0,d=0;b=+h[a+104>>3];if(!(b==-2.0))return +b;d=QPa(c[a+40>>2]|0)|0;if((d|0)<0)b=-1.0;else b=+(d|0)/1.0e3;h[a+104>>3]=b;return +b}function Aoa(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;if(!(a[621176]|0))if(se(621176)|0){Iqb(654300,442394,3);Iqb(654312,442398,3);Iqb(654324,442402,3);Iqb(654336,442406,3);Iqb(654348,442410,3);Iqb(654360,442414,3);Iqb(654372,442418,3);Iqb(654384,442422,3);Iqb(654396,442426,2);Iqb(654408,442429,3);Iqb(654420,442433,3);Iqb(654432,442437,3);Iqb(654444,442441,3);Iqb(654456,519243,3);Iqb(654468,442445,3);Iqb(654480,442449,3);Iqb(654492,442453,3);Iqb(654504,442457,3);Iqb(654516,442461,3);Iqb(654528,442465,3);Iqb(654540,442469,3);Iqb(654552,442473,3);Iqb(654564,442477,3);Iqb(654576,442481,2);Iqb(654588,1279070,0);fd(621176)}g=a[b>>0]|0;i=(g&1)==0?(g&255)>>>1:c[b+4>>2]|0;g=(g&1)==0?b+1|0:c[b+8>>2]|0;h=0;while(1){e=654300+(h*12|0)|0;b=a[e>>0]|0;if(!(b&1))d=(b&255)>>>1;else d=c[654300+(h*12|0)+4>>2]|0;if(!d){b=0;d=15;break}if(!(b&1)){f=(b&255)>>>1;d=e+1|0}else{f=c[654300+(h*12|0)+4>>2]|0;d=c[654300+(h*12|0)+8>>2]|0}b=i>>>0>>0;if(!(qmb(d,g,b?i:f)|0))if(f>>>0>=i>>>0&(b^1)){b=1;d=15;break}h=h+1|0}if((d|0)==15)return b|0;return 0}function Boa(a){a=a|0;c[a>>2]=31592;Lgb(c[a+4>>2]|0);return}function Coa(a){a=a|0;c[a>>2]=31592;Lgb(c[a+4>>2]|0);oAb(a);return}function Doa(a){a=a|0;return}function Eoa(a){a=a|0;return}function Foa(a){a=a|0;c[a>>2]=31616;Ykb(c[a+4>>2]|0);return}function Goa(a){a=a|0;c[a>>2]=31616;Ykb(c[a+4>>2]|0);oAb(a);return}function Hoa(a){a=a|0;Zkb(c[a+4>>2]|0)|0;return}function Ioa(a){a=a|0;_kb(c[a+4>>2]|0)|0;return}function Joa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=c[a+4>>2]|0;a=c[b+4>>2]|0;if((d|0)<0){d=alb(e,a)|0;d=(d|0)==0;return d|0}else{d=$kb(e,a,d)|0;d=(d|0)==0;return d|0}return 0}function Koa(a){a=a|0;c[a>>2]=31592;c[a+4>>2]=Jgb()|0;return}function Loa(){var a=0;a=YAb(8)|0;c[a>>2]=31592;c[a+4>>2]=Jgb()|0;return a|0}function Moa(){var a=0;a=YAb(8)|0;c[a>>2]=31616;c[a+4>>2]=Xkb()|0;return a|0}function Noa(a){a=a|0;var b=0;b=YAb(24)|0;Lva(b,a);return b|0}function Ooa(b){b=b|0;var d=0,e=0,f=0;c[b>>2]=31644;if(c[b+36>>2]|0){d=c[b+32>>2]|0;do{e=c[(c[(c[b+20>>2]|0)+(d>>>10<<2)>>2]|0)+((d&1023)<<2)>>2]|0;Hi[c[(c[e>>2]|0)+12>>2]&1023](e);e=(c[b+36>>2]|0)+-1|0;c[b+36>>2]=e;d=(c[b+32>>2]|0)+1|0;c[b+32>>2]=d;if(d>>>0>2047){oAb(c[c[b+20>>2]>>2]|0);c[b+20>>2]=(c[b+20>>2]|0)+4;d=(c[b+32>>2]|0)+-1024|0;c[b+32>>2]=d;e=c[b+36>>2]|0}}while((e|0)!=0)}d=c[b+8>>2]|0;if(d|0)Hi[c[(c[d>>2]|0)+4>>2]&1023](d);d=c[b+12>>2]|0;if(d|0)Hi[c[(c[d>>2]|0)+4>>2]&1023](d);if(!(a[b+40>>0]|0)){Mqb(b+44|0);Poa(b+16|0);return}f=Qoa(654600,b+44|0)|0;if((f|0)==654604){Mqb(b+44|0);Poa(b+16|0);return}d=c[f+4>>2]|0;if(!d){e=f;while(1){d=c[e+8>>2]|0;if((c[d>>2]|0)==(e|0))break;else e=d}}else while(1){e=c[d>>2]|0;if(!e)break;else d=e}if((c[163650]|0)==(f|0))c[163650]=d;c[163652]=(c[163652]|0)+-1;yj(c[163651]|0,f);Mqb(f+16|0);oAb(f);Mqb(b+44|0);Poa(b+16|0);return}function Poa(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;d=c[a+4>>2]|0;e=c[a+16>>2]|0;h=c[a+8>>2]|0;if((h|0)==(d|0)){f=0;g=a+20|0;b=0}else{f=(c[a+20>>2]|0)+e|0;f=(c[d+(f>>>10<<2)>>2]|0)+((f&1023)<<2)|0;g=a+20|0;b=(c[d+(e>>>10<<2)>>2]|0)+((e&1023)<<2)|0}e=d+(e>>>10<<2)|0;a:while(1){do{if((b|0)==(f|0))break a;b=b+4|0}while((b-(c[e>>2]|0)|0)!=4096);b=e+4|0;e=b;b=c[b>>2]|0}c[g>>2]=0;if(h-d>>2>>>0>2)do{oAb(c[d>>2]|0);d=(c[a+4>>2]|0)+4|0;c[a+4>>2]=d;b=(c[a+8>>2]|0)-d>>2}while(b>>>0>2);else b=h-d>>2;switch(b|0){case 1:{c[a+16>>2]=512;break}case 2:{c[a+16>>2]=1024;break}default:{}}b=c[a+4>>2]|0;d=c[a+8>>2]|0;if((b|0)!=(d|0)){do{oAb(c[b>>2]|0);b=b+4|0}while((b|0)!=(d|0));b=c[a+4>>2]|0;d=c[a+8>>2]|0;if((d|0)!=(b|0))c[a+8>>2]=d+(~((d+-4-b|0)>>>2)<<2)}b=c[a>>2]|0;if(!b)return;oAb(b);return}function Qoa(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;e=c[b+4>>2]|0;if(e|0){f=a[d>>0]|0;g=(f&1)==0?(f&255)>>>1:c[d+4>>2]|0;f=(f&1)==0?d+1|0:c[d+8>>2]|0;d=b+4|0;a:do{while(1){h=e+16|0;j=a[h>>0]|0;i=(j&1)==0?(j&255)>>>1:c[e+20>>2]|0;h=qmb((j&1)==0?h+1|0:c[e+24>>2]|0,f,g>>>0>>0?g:i)|0;if((((h|0)==0?(i>>>0>>0?-2147483648:0):h)|0)>=0){d=e;break}e=c[e+4>>2]|0;if(!e)break a}e=c[d>>2]|0}while((e|0)!=0);if((d|0)!=(b+4|0)){j=d+16|0;h=a[j>>0]|0;i=(h&1)==0?(h&255)>>>1:c[d+20>>2]|0;j=qmb(f,(h&1)==0?j+1|0:c[d+24>>2]|0,i>>>0>>0?i:g)|0;if((((j|0)==0?(g>>>0>>0?-2147483648:0):j)|0)>=0){j=d;return j|0}}}j=b+4|0;return j|0}function Roa(a){a=a|0;Ooa(a);oAb(a);return}function Soa(b){b=b|0;var d=0;d=i;i=i+16|0;TO(d);if(a[b+40>>0]|0)VO(d,c[163653]|0);Hj(b);UO(d);i=d;return}function Toa(b){b=b|0;var d=0;d=i;i=i+16|0;TO(d);if(a[b+40>>0]|0)VO(d,c[163653]|0);Ij(b);UO(d);i=d;return}function Uoa(){c[163651]=0;c[163652]=0;c[163650]=654604;return}function Voa(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0;j=i;i=i+16|0;d=c[163653]|0;if(!d){d=Loa()|0;c[163653]=d}QO(j,d);d=c[163651]|0;a:do if(d|0){h=a[b>>0]|0;g=(h&1)==0?(h&255)>>>1:c[b+4>>2]|0;h=(h&1)==0?b+1|0:c[b+8>>2]|0;while(1){f=d+16|0;k=a[f>>0]|0;e=(k&1)==0?(k&255)>>>1:c[d+20>>2]|0;f=(k&1)==0?f+1|0:c[d+24>>2]|0;k=qmb(h,f,e>>>0>>0?e:g)|0;if((((k|0)==0?(g>>>0>>0?-2147483648:0):k)|0)>=0){k=qmb(f,h,g>>>0>>0?g:e)|0;if((((k|0)==0?(e>>>0>>0?-2147483648:0):k)|0)>=0)break;d=d+4|0}d=c[d>>2]|0;if(!d)break a}k=c[(Xoa(654600,b)|0)>>2]|0;Hi[c[(c[k>>2]|0)+8>>2]&1023](k);k=Xoa(654600,b)|0;k=c[k>>2]|0;SO(j);i=j;return k|0}while(0);k=YAb(64)|0;Woa(k,b);c[(Xoa(654600,b)|0)>>2]=k;k=Xoa(654600,b)|0;k=c[k>>2]|0;SO(j);i=j;return k|0}function Woa(b,d){b=b|0;d=d|0;Jj(b);c[b>>2]=31644;c[b+16>>2]=0;c[b+16+4>>2]=0;c[b+16+8>>2]=0;c[b+16+12>>2]=0;c[b+16+16>>2]=0;c[b+16+20>>2]=0;a[b+40>>0]=1;Hqb(b+44|0,d);c[b+56>>2]=0;c[b+60>>2]=0;c[b+8>>2]=Loa()|0;c[b+12>>2]=Moa()|0;return}function Xoa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;e=Yoa(a,g,b)|0;d=c[e>>2]|0;if(d|0){a=d;a=a+28|0;i=g;return a|0}f=YAb(32)|0;Hqb(f+16|0,b);c[f+28>>2]=0;d=c[g>>2]|0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=d;c[e>>2]=f;d=c[c[a>>2]>>2]|0;if(!d)d=f;else{c[a>>2]=d;d=c[e>>2]|0}Fj(c[a+4>>2]|0,d);c[a+8>>2]=(c[a+8>>2]|0)+1;a=f;a=a+28|0;i=g;return a|0}function Yoa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;f=c[b+4>>2]|0;if(!f){c[d>>2]=b+4;d=b+4|0;return d|0}h=a[e>>0]|0;i=(h&1)==0?(h&255)>>>1:c[e+4>>2]|0;h=(h&1)==0?e+1|0:c[e+8>>2]|0;while(1){e=f+16|0;g=a[e>>0]|0;b=(g&1)==0?(g&255)>>>1:c[f+20>>2]|0;e=(g&1)==0?e+1|0:c[f+24>>2]|0;g=qmb(h,e,b>>>0>>0?b:i)|0;if((((g|0)==0?(i>>>0>>0?-2147483648:0):g)|0)<0){b=c[f>>2]|0;if(!b){b=f;e=5;break}else f=b}else{g=qmb(e,h,i>>>0>>0?i:b)|0;if((((g|0)==0?(b>>>0>>0?-2147483648:0):g)|0)>=0){e=10;break}g=f+4|0;b=c[g>>2]|0;if(!b){e=9;break}else f=b}}if((e|0)==5){c[d>>2]=f;d=b;return d|0}else if((e|0)==9){c[d>>2]=f;d=g;return d|0}else if((e|0)==10){c[d>>2]=f;return d|0}return 0}function Zoa(b){b=b|0;Jj(b);c[b>>2]=31644;c[b+16>>2]=0;c[b+16+4>>2]=0;c[b+16+8>>2]=0;c[b+16+12>>2]=0;c[b+16+16>>2]=0;c[b+16+20>>2]=0;a[b+16+24>>0]=0;c[b+44>>2]=0;c[b+44+4>>2]=0;c[b+44+8>>2]=0;c[b+44+12>>2]=0;c[b+44+16>>2]=0;c[b+8>>2]=Loa()|0;c[b+12>>2]=Moa()|0;return}function _oa(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;h=i;i=i+16|0;if(!d){d=0;i=h;return d|0}QO(h,c[b+8>>2]|0);Hi[c[(c[d>>2]|0)+8>>2]&1023](d);if(a[b+40>>0]|0)if(!(c[b+36>>2]|0))Hi[c[(c[b>>2]|0)+8>>2]&1023](b);j=c[b+24>>2]|0;f=c[b+20>>2]|0;g=c[b+32>>2]|0;e=c[b+36>>2]|0;if((((j|0)==(f|0)?0:(j-f<<8)+-1|0)|0)==(e+g|0)){$oa(b+16|0);e=c[b+36>>2]|0;g=c[b+32>>2]|0;f=c[b+20>>2]|0}j=e+g|0;c[(c[f+(j>>>10<<2)>>2]|0)+((j&1023)<<2)>>2]=d;c[b+36>>2]=e+1;j=c[b+12>>2]|0;Hi[c[(c[j>>2]|0)+12>>2]&1023](j);j=(c[b+56>>2]|0)+1|0;c[b+56>>2]=j;SO(h);i=h;return j|0}function $oa(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;b=c[a+16>>2]|0;if(b>>>0>1023){c[a+16>>2]=b+-1024;f=c[a+4>>2]|0;l=c[f>>2]|0;c[a+4>>2]=f+4;b=c[a+8>>2]|0;d=c[a+12>>2]|0;do if((b|0)==(d|0)){e=c[a>>2]|0;if((f+4|0)>>>0>e>>>0){n=f+4+((((f+4-e>>2)+1|0)/-2|0)<<2)|0;nBb(n|0,f+4|0,b-(f+4)|0)|0;c[a+8>>2]=n+(b-(f+4)>>2<<2);c[a+4>>2]=(c[a+4>>2]|0)+((((f+4-e>>2)+1|0)/-2|0)<<2);b=n+(b-(f+4)>>2<<2)|0;break}h=(d-e>>1|0)==0?1:d-e>>1;j=YAb(h<<2)|0;k=j+(h>>>2<<2)|0;if((f+4|0)==(b|0)){d=e;b=k}else{g=j+(h>>>2<<2)|0;e=f+4|0;d=k;while(1){c[g>>2]=c[e>>2];g=d+4|0;f=g;e=e+4|0;if((e|0)==(b|0))break;else d=f}d=c[a>>2]|0;b=f}c[a>>2]=j;c[a+4>>2]=k;c[a+8>>2]=b;c[a+12>>2]=j+(h<<2);if(d){oAb(d);b=c[a+8>>2]|0}}while(0);c[b>>2]=l;c[a+8>>2]=(c[a+8>>2]|0)+4;i=o;return}g=c[a+8>>2]|0;e=c[a+4>>2]|0;d=c[a+12>>2]|0;b=d-(c[a>>2]|0)|0;if(g-e>>2>>>0>2>>>0){b=YAb(4096)|0;if((d|0)!=(g|0)){c[o+4>>2]=b;apa(a,o+4|0);i=o;return}c[o>>2]=b;bpa(a,o);f=c[a+4>>2]|0;l=c[f>>2]|0;c[a+4>>2]=f+4;b=c[a+8>>2]|0;d=c[a+12>>2]|0;do if((b|0)==(d|0)){e=c[a>>2]|0;if((f+4|0)>>>0>e>>>0){n=f+4+((((f+4-e>>2)+1|0)/-2|0)<<2)|0;nBb(n|0,f+4|0,b-(f+4)|0)|0;c[a+8>>2]=n+(b-(f+4)>>2<<2);c[a+4>>2]=(c[a+4>>2]|0)+((((f+4-e>>2)+1|0)/-2|0)<<2);b=n+(b-(f+4)>>2<<2)|0;break}k=(d-e>>1|0)==0?1:d-e>>1;h=YAb(k<<2)|0;j=h+(k>>>2<<2)|0;if((f+4|0)==(b|0)){d=e;b=j}else{g=h+(k>>>2<<2)|0;e=f+4|0;d=j;while(1){c[g>>2]=c[e>>2];g=d+4|0;f=g;e=e+4|0;if((e|0)==(b|0))break;else d=f}d=c[a>>2]|0;b=f}c[a>>2]=h;c[a+4>>2]=j;c[a+8>>2]=b;c[a+12>>2]=h+(k<<2);if(d){oAb(d);b=c[a+8>>2]|0}}while(0);c[b>>2]=l;c[a+8>>2]=(c[a+8>>2]|0)+4;i=o;return}b=(b>>1|0)==0?1:b>>1;d=YAb(b<<2)|0;f=YAb(4096)|0;do if((g-e>>2|0)==(b|0))if((g-e|0)>0){k=g;h=e;j=d;e=d+(g-e>>2<<2)+((((g-e>>2)+1|0)/-2|0)<<2)|0;d=d+(b<<2)|0;break}else{n=(g-e>>1|0)==0?1:g-e>>1;m=YAb(n<<2)|0;oAb(d);k=c[a+8>>2]|0;h=c[a+4>>2]|0;j=m;e=m+(n>>>2<<2)|0;d=m+(n<<2)|0;break}else{k=g;h=e;j=d;e=d+(g-e>>2<<2)|0;d=d+(b<<2)|0}while(0);b=e;c[e>>2]=f;e=e+4|0;if((k|0)==(h|0)){g=j;f=b}else{n=k;do{n=n+-4|0;g=b;do if((g|0)==(j|0)){h=e;if(h>>>0>>0){m=h+((((d-e>>2)+1|0)/2|0)<<2)|0;e=e-b|0;nBb(m+(0-(e>>2)<<2)|0,b|0,e|0)|0;g=m+(0-(e>>2)<<2)|0;b=m+(0-(e>>2)<<2)|0;e=m;break}l=d-j>>1;l=(l|0)==0?1:l;m=YAb(l<<2)|0;k=m+((l+3|0)>>>2<<2)|0;if((g|0)==(h|0))e=k;else{f=m+((l+3|0)>>>2<<2)|0;d=g;e=k;do{c[f>>2]=c[d>>2];f=e+4|0;e=f;d=d+4|0}while((d|0)!=(h|0))}if(!b){g=m+((l+3|0)>>>2<<2)|0;j=m;b=k;d=m+(l<<2)|0}else{oAb(b);g=m+((l+3|0)>>>2<<2)|0;j=m;b=k;d=m+(l<<2)|0}}while(0);c[g+-4>>2]=c[n>>2];b=b+-4|0}while((n|0)!=(c[a+4>>2]|0));g=j;f=b}b=c[a>>2]|0;c[a>>2]=g;c[a+4>>2]=f;c[a+8>>2]=e;c[a+12>>2]=d;if(!b){i=o;return}oAb(b);i=o;return}function apa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=c[a+8>>2]|0;e=c[a+12>>2]|0;do if((d|0)==(e|0)){g=c[a+4>>2]|0;f=c[a>>2]|0;if(g>>>0>f>>>0){k=g+((((g-f>>2)+1|0)/-2|0)<<2)|0;nBb(k|0,g|0,d-g|0)|0;c[a+8>>2]=k+(d-g>>2<<2);c[a+4>>2]=(c[a+4>>2]|0)+((((g-f>>2)+1|0)/-2|0)<<2);d=k+(d-g>>2<<2)|0;break}i=(e-f>>1|0)==0?1:e-f>>1;j=YAb(i<<2)|0;k=j+(i>>>2<<2)|0;if((g|0)==(d|0)){e=f;d=k}else{h=j+(i>>>2<<2)|0;f=g;e=k;while(1){c[h>>2]=c[f>>2];h=e+4|0;g=h;f=f+4|0;if((f|0)==(d|0))break;else e=g}e=c[a>>2]|0;d=g}c[a>>2]=j;c[a+4>>2]=k;c[a+8>>2]=d;c[a+12>>2]=j+(i<<2);if(e){oAb(e);d=c[a+8>>2]|0}}while(0);c[d>>2]=c[b>>2];c[a+8>>2]=(c[a+8>>2]|0)+4;return}function bpa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=c[a+4>>2]|0;e=c[a>>2]|0;do if((d|0)==(e|0)){j=c[a+8>>2]|0;f=c[a+12>>2]|0;if(j>>>0>>0){i=j+((((f-j>>2)+1|0)/2|0)<<2)+(0-(j-d>>2)<<2)|0;nBb(i|0,d|0,j-d|0)|0;c[a+4>>2]=i;c[a+8>>2]=(c[a+8>>2]|0)+((((f-j>>2)+1|0)/2|0)<<2);d=i;break}g=(f-e>>1|0)==0?1:f-e>>1;h=YAb(g<<2)|0;i=h+((g+3|0)>>>2<<2)|0;if((d|0)==(j|0))e=i;else{f=h+((g+3|0)>>>2<<2)|0;e=i;do{c[f>>2]=c[d>>2];f=e+4|0;e=f;d=d+4|0}while((d|0)!=(j|0));d=c[a>>2]|0}c[a>>2]=h;c[a+4>>2]=i;c[a+8>>2]=e;c[a+12>>2]=h+(g<<2);if(!d)d=h+((g+3|0)>>>2<<2)|0;else{oAb(d);d=c[a+4>>2]|0}}while(0);c[d+-4>>2]=c[b>>2];c[a+4>>2]=(c[a+4>>2]|0)+-4;return}function cpa(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;if(!b){i=e;return}QO(e,c[a+8>>2]|0);d=_oa(a,b)|0;a:do if((d|0)>-1)while(1){if(d>>>0<=(c[a+60>>2]|0)>>>0)break a;b=c[a+12>>2]|0;Gi[c[(c[b>>2]|0)+16>>2]&255](b,c[a+8>>2]|0,-1)|0}else while(1){b=c[a+60>>2]|0;if(d>>>0<=b>>>0)if((d|0)==(b|0)|(b|0)<1)break a;b=c[a+12>>2]|0;Gi[c[(c[b>>2]|0)+16>>2]&255](b,c[a+8>>2]|0,-1)|0}while(0);SO(e);i=e;return}function dpa(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;g=i;i=i+16|0;QO(g,c[b+8>>2]|0);e=c[b+36>>2]|0;if(!e){b=0;SO(g);i=g;return b|0}f=c[b+20>>2]|0;h=c[b+32>>2]|0;d=c[(c[f+(h>>>10<<2)>>2]|0)+((h&1023)<<2)>>2]|0;c[b+36>>2]=e+-1;c[b+32>>2]=h+1;if((h+1|0)>>>0>2047){oAb(c[f>>2]|0);c[b+20>>2]=(c[b+20>>2]|0)+4;c[b+32>>2]=(c[b+32>>2]|0)+-1024}c[b+60>>2]=(c[b+60>>2]|0)+1;h=c[b+12>>2]|0;Hi[c[(c[h>>2]|0)+12>>2]&1023](h);if(!(a[b+40>>0]|0)){h=d;SO(g);i=g;return h|0}if(c[b+36>>2]|0){h=d;SO(g);i=g;return h|0}Hi[c[(c[b>>2]|0)+12>>2]&1023](b);h=d;SO(g);i=g;return h|0}function epa(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;QO(d,c[a+8>>2]|0);while(1){b=dpa(a)|0;if(b|0)break;b=c[a+12>>2]|0;Gi[c[(c[b>>2]|0)+16>>2]&255](b,c[a+8>>2]|0,-1)|0}SO(d);i=d;return b|0}function fpa(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;QO(b,c[a+8>>2]|0);if(!(c[a+36>>2]|0)){a=0;SO(b);i=b;return a|0}d=c[a+32>>2]|0;a=c[(c[(c[a+20>>2]|0)+(d>>>10<<2)>>2]|0)+((d&1023)<<2)>>2]|0;Hi[c[(c[a>>2]|0)+8>>2]&1023](a);SO(b);i=b;return a|0}function gpa(a){a=a|0;var b=0;b=i;i=i+16|0;QO(b,c[a+8>>2]|0);a=c[a+36>>2]|0;SO(b);i=b;return a|0}function hpa(b){b=b|0;var d=0,e=0,f=0;f=i;i=i+16|0;QO(f,c[b+8>>2]|0);if(!(c[b+36>>2]|0)){SO(f);i=f;return}d=c[b+32>>2]|0;do{e=c[(c[(c[b+20>>2]|0)+(d>>>10<<2)>>2]|0)+((d&1023)<<2)>>2]|0;Hi[c[(c[e>>2]|0)+12>>2]&1023](e);e=(c[b+36>>2]|0)+-1|0;c[b+36>>2]=e;d=(c[b+32>>2]|0)+1|0;c[b+32>>2]=d;if(d>>>0>2047){oAb(c[c[b+20>>2]>>2]|0);c[b+20>>2]=(c[b+20>>2]|0)+4;d=(c[b+32>>2]|0)+-1024|0;c[b+32>>2]=d;e=c[b+36>>2]|0}}while((e|0)!=0);c[b+60>>2]=c[b+56>>2];e=c[b+12>>2]|0;Hi[c[(c[e>>2]|0)+12>>2]&1023](e);if(!(a[b+40>>0]|0)){SO(f);i=f;return}Hi[c[(c[b>>2]|0)+12>>2]&1023](b);SO(f);i=f;return}function ipa(a){a=a|0;a=c[a+8>>2]|0;Hi[c[(c[a>>2]|0)+8>>2]&1023](a);return}function jpa(a){a=a|0;a=c[a+8>>2]|0;Hi[c[(c[a>>2]|0)+12>>2]&1023](a);return}function kpa(a){a=a|0;var b=0,d=0;c[a>>2]=31668;c[a+8>>2]=31696;if((c[a+60>>2]|0)>0){b=0;do{d=c[(c[a+56>>2]|0)+(b<<2)>>2]|0;Hi[c[(c[d>>2]|0)+12>>2]&1023](d);b=b+1|0}while((b|0)<(c[a+60>>2]|0))}Mqb(a+44|0);Mqb(a+32|0);b=c[a+28>>2]|0;if(!b){OO(a+8|0);return}Hi[c[(c[b>>2]|0)+12>>2]&1023](b);OO(a+8|0);return}function lpa(a){a=a|0;kpa(a);oAb(a);return}function mpa(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+32|0;Hi[c[(c[b>>2]|0)+8>>2]&1023](b);if(!(a[b+44>>0]&1)){a[b+44+1>>0]=0;a[b+44>>0]=0}else{a[c[b+52>>2]>>0]=0;c[b+48>>2]=0}g=uHa()|0;xHa(g);ws(g,1469,442638)|0;ps(g,442638)|0;lDa(g,-2);ps(g,442643)|0;lDa(g,-2);ps(g,442655)|0;lDa(g,-2);d=c[b+28>>2]|0;d=vi[c[(c[d>>2]|0)+16>>2]&2047](d)|0;e=c[b+28>>2]|0;e=vi[c[(c[e>>2]|0)+20>>2]&2047](e)|0;if(!(a[b+32>>0]&1))f=b+32+1|0;else f=c[b+40>>2]|0;if(!(sHa(g,d,e,f)|0)){d=c[b+60>>2]|0;if((d|0)>0){e=0;do{t_(c[(c[b+56>>2]|0)+(e<<2)>>2]|0,g);f=c[(c[b+56>>2]|0)+(e<<2)>>2]|0;Hi[c[(c[f>>2]|0)+12>>2]&1023](f);e=e+1|0}while((e|0)<(c[b+60>>2]|0))}c[b+60>>2]=0;c[b+56>>2]=0;if(eEa(g,d,0,0)|0){is(h,g,-1);if(!(a[b+44>>0]&1)){a[b+44+1>>0]=0;a[b+44>>0]=0}else{a[c[b+52>>2]>>0]=0;c[b+48>>2]=0}Qqb(b+44|0,0);c[b+44>>2]=c[h>>2];c[b+44+4>>2]=c[h+4>>2];c[b+44+8>>2]=c[h+8>>2];c[h>>2]=0;c[h+4>>2]=0;c[h+8>>2]=0;Mqb(h)}}else{is(h+12|0,g,-1);if(!(a[b+44>>0]&1)){a[b+44+1>>0]=0;a[b+44>>0]=0}else{a[c[b+52>>2]>>0]=0;c[b+48>>2]=0}Qqb(b+44|0,0);c[b+44>>2]=c[h+12>>2];c[b+44+4>>2]=c[h+12+4>>2];c[b+44+8>>2]=c[h+12+8>>2];c[h+12>>2]=0;c[h+12+4>>2]=0;c[h+12+8>>2]=0;Mqb(h+12|0)}cGa(g);d=a[b+44>>0]|0;if(!(d&1))d=(d&255)>>>1;else d=c[b+48>>2]|0;if(!d){g=c[b>>2]|0;g=g+12|0;g=c[g>>2]|0;Hi[g&1023](b);i=h;return}npa(b);g=c[b>>2]|0;g=g+12|0;g=c[g>>2]|0;Hi[g&1023](b);i=h;return}function npa(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;h=i;i=i+48|0;d=a[b+44>>0]|0;if(!(d&1))d=(d&255)>>>1;else d=c[b+48>>2]|0;if(!d){i=h;return}g=c[155673]|0;if(!g){i=h;return}c[h+40>>2]=53;c[h+40+4>>2]=b;e=YAb(32)|0;q_(e,53,h+40|0);c[h+16>>2]=e;Hi[c[(c[e>>2]|0)+8>>2]&1023](e);e=YAb(32)|0;d=a[b+44>>0]|0;if(!(d&1)){f=b+44+1|0;d=(d&255)>>>1}else{f=c[b+52>>2]|0;d=c[b+48>>2]|0}o_(e,f,d);c[h+16+4>>2]=e;Hi[c[(c[e>>2]|0)+8>>2]&1023](e);c[h+24>>2]=0;b=h+24+4|0;c[b>>2]=0;c[h+24+8>>2]=0;d=YAb(8)|0;c[b>>2]=d;c[h+24>>2]=d;c[h+24+8>>2]=d+8;e=c[h+16>>2]|0;c[d>>2]=e;if(e){Hi[c[(c[e>>2]|0)+8>>2]&1023](e);d=c[b>>2]|0}d=d+4|0;c[b>>2]=d;e=c[h+16+4>>2]|0;c[d>>2]=e;if(e){Hi[c[(c[e>>2]|0)+8>>2]&1023](e);d=c[b>>2]|0}c[b>>2]=d+4;d=c[h+16+4>>2]|0;if(d|0)Hi[c[(c[d>>2]|0)+12>>2]&1023](d);d=c[h+16>>2]|0;if(d|0)Hi[c[(c[d>>2]|0)+12>>2]&1023](d);e=YAb(32)|0;Iqb(h,442671,11);M2(e,h,h+24|0);Mqb(h);d=c[h+24>>2]|0;f=c[b>>2]|0;if((d|0)!=(f|0))do{j=c[d>>2]|0;Hi[c[(c[j>>2]|0)+12>>2]&1023](j);d=d+4|0}while((d|0)!=(f|0));Q2(g,e);Hi[c[(c[e>>2]|0)+12>>2]&1023](e);d=c[h+24>>2]|0;if(d|0){e=c[b>>2]|0;if((e|0)!=(d|0)){do{e=e+-4|0;c[b>>2]=e;f=c[e>>2]|0;if(f){Hi[c[(c[f>>2]|0)+12>>2]&1023](f);e=c[b>>2]|0}}while((e|0)!=(d|0));d=c[h+24>>2]|0}oAb(d)}i=h;return}function opa(a){a=a|0;kpa(a+-8|0);return}function ppa(a){a=a|0;kpa(a+-8|0);oAb(a+-8|0);return}function qpa(a){a=a|0;mpa(a+-8|0);return}function rpa(a,b,d){a=a|0;b=b|0;d=d|0;Jj(a);WO(a+8|0);c[a>>2]=31668;c[a+8>>2]=31696;c[a+28>>2]=d;if(d|0)Hi[c[(c[d>>2]|0)+8>>2]&1023](d);Hqb(a+32|0,b);c[a+44>>2]=0;c[a+44+4>>2]=0;c[a+44+8>>2]=0;c[a+44+12>>2]=0;c[a+44+16>>2]=0;Nqb(a+16|0,b)|0;return}function spa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;if((c[a+60>>2]|0)>0){e=0;do{f=c[(c[a+56>>2]|0)+(e<<2)>>2]|0;Hi[c[(c[f>>2]|0)+12>>2]&1023](f);e=e+1|0}while((e|0)<(c[a+60>>2]|0))}c[a+56>>2]=b;c[a+60>>2]=d;return XO(a+8|0)|0}function tpa(a){a=a|0;return a+44|0}function upa(a){a=a|0;Mpa(a);c[a+28>>2]=0;c[a+48>>2]=16;c[a+52>>2]=0;c[a+44>>2]=_S(128)|0;c[a+36>>2]=16;c[a+40>>2]=0;c[a+32>>2]=_S(64)|0;return}function vpa(a){a=a|0;$S(c[a+32>>2]|0);$S(c[a+44>>2]|0);Npa(a);return}function wpa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;d=Ppa(a,b,d)|0;c[a+28>>2]=(c[a+28>>2]|0)+1;b=c[a+40>>2]|0;if((b|0)==(c[a+36>>2]|0)){e=c[a+32>>2]|0;c[a+36>>2]=b<<1;b=_S(b<<3)|0;c[a+32>>2]=b;mBb(b|0,e|0,c[a+40>>2]<<2|0)|0;$S(e);b=c[a+40>>2]|0}c[(c[a+32>>2]|0)+(b<<2)>>2]=d;c[a+40>>2]=(c[a+40>>2]|0)+1;return d|0}function xpa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;d=c[a+40>>2]|0;if((d|0)>0){g=c[a+32>>2]|0;f=0;do{e=g+(f<<2)|0;if((c[e>>2]|0)==(b|0)){c[e>>2]=-1;d=c[a+40>>2]|0}f=f+1|0}while((f|0)<(d|0))}c[a+28>>2]=(c[a+28>>2]|0)+-1;Spa(a,b);return}function ypa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;if(!(Upa(a,b,d,e)|0))return;d=c[a+40>>2]|0;if((d|0)==(c[a+36>>2]|0)){e=c[a+32>>2]|0;c[a+36>>2]=d<<1;d=_S(d<<3)|0;c[a+32>>2]=d;mBb(d|0,e|0,c[a+40>>2]<<2|0)|0;$S(e);d=c[a+40>>2]|0}c[(c[a+32>>2]|0)+(d<<2)>>2]=b;c[a+40>>2]=(c[a+40>>2]|0)+1;return}function zpa(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[a+40>>2]|0;if((d|0)==(c[a+36>>2]|0)){e=c[a+32>>2]|0;c[a+36>>2]=d<<1;d=_S(d<<3)|0;c[a+32>>2]=d;mBb(d|0,e|0,c[a+40>>2]<<2|0)|0;$S(e);d=c[a+40>>2]|0}c[(c[a+32>>2]|0)+(d<<2)>>2]=b;c[a+40>>2]=(c[a+40>>2]|0)+1;return}function Apa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=c[a+56>>2]|0;if((d|0)==(b|0))return 1;e=c[a+52>>2]|0;if((e|0)==(c[a+48>>2]|0)){d=c[a+44>>2]|0;c[a+48>>2]=e<<1;e=_S(e<<4)|0;c[a+44>>2]=e;mBb(e|0,d|0,c[a+52>>2]<<3|0)|0;$S(d);d=c[a+56>>2]|0;e=c[a+52>>2]|0}f=c[a+44>>2]|0;c[f+(e<<3)>>2]=(d|0)>(b|0)?b:d;c[f+(e<<3)+4>>2]=(d|0)<(b|0)?b:d;c[a+52>>2]=e+1;return 1}function Bpa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0;c[a+60>>2]=0;h=+g[d+12>>2];l=+g[b+12>>2];k=+g[d+8>>2];i=+g[b+16>>2];n=+g[f+12>>2];p=+g[e+12>>2];o=+g[f+8>>2];m=+g[e+16>>2];j=+g[f>>2]+(n*p-o*m)-(+g[d>>2]+(h*l-k*i));i=p*o+n*m+ +g[f+4>>2]-(l*k+h*i+ +g[d+4>>2]);h=+g[b+8>>2]+ +g[e+8>>2];if(j*j+i*i>h*h)return;c[a+56>>2]=0;f=c[b+12+4>>2]|0;c[a+48>>2]=c[b+12>>2];c[a+48+4>>2]=f;g[a+40>>2]=0.0;g[a+44>>2]=0.0;c[a+60>>2]=1;f=c[e+12+4>>2]|0;c[a>>2]=c[e+12>>2];c[a+4>>2]=f;c[a+16>>2]=0;return}function Cpa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var h=0.0,i=0.0,j=0,l=0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0,t=0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0;c[a+60>>2]=0;x=+g[f+12>>2];v=+g[e+12>>2];u=+g[f+8>>2];w=+g[e+16>>2];y=+g[f>>2]+(x*v-u*w)-+g[d>>2];w=v*u+x*w+ +g[f+4>>2]-+g[d+4>>2];x=+g[d+12>>2];u=+g[d+8>>2];v=+g[b+8>>2]+ +g[e+8>>2];l=c[b+148>>2]|0;do if((l|0)>0){d=0;f=0;i=-3402823466385288598117041.0e14;while(1){h=(y*x+w*u-+g[b+20+(d<<3)>>2])*+g[b+84+(d<<3)>>2]+(x*w-y*u-+g[b+20+(d<<3)+4>>2])*+g[b+84+(d<<3)+4>>2];if(h>v){d=19;break}t=h>i;i=t?h:i;f=t?d:f;d=d+1|0;if((d|0)>=(l|0)){d=4;break}}if((d|0)==4){j=i<1.1920928955078125e-07;break}else if((d|0)==19)return}else{f=0;j=1}while(0);t=f+1|0;t=(t|0)<(l|0)?t:0;d=c[b+20+(f<<3)>>2]|0;l=c[b+20+(f<<3)+4>>2]|0;s=c[b+20+(t<<3)>>2]|0;t=c[b+20+(t<<3)+4>>2]|0;if(j){c[a+60>>2]=1;c[a+56>>2]=1;j=b+84+(f<<3)|0;b=c[j+4>>2]|0;c[a+40>>2]=c[j>>2];c[a+40+4>>2]=b;x=(c[k>>2]=d,+g[k>>2]);x=x+(c[k>>2]=s,+g[k>>2]);y=(c[k>>2]=l,+g[k>>2]);y=(y+(c[k>>2]=t,+g[k>>2]))*.5;g[a+48>>2]=x*.5;g[a+52>>2]=y;b=c[e+12+4>>2]|0;c[a>>2]=c[e+12>>2];c[a+4>>2]=b;c[a+16>>2]=0;return}h=(c[k>>2]=d,+g[k>>2]);i=y*x+w*u-h;m=(c[k>>2]=l,+g[k>>2]);n=x*w-y*u-m;o=(c[k>>2]=s,+g[k>>2]);p=(c[k>>2]=t,+g[k>>2]);q=y*x+w*u-o;r=x*w-y*u-p;if(i*(o-h)+n*(p-m)<=0.0){if(i*i+n*n>v*v)return;c[a+60>>2]=1;c[a+56>>2]=1;g[a+40>>2]=i;g[a+44>>2]=n;h=+O(+(i*i+n*n));if(!(h<1.1920928955078125e-07)){g[a+40>>2]=i*(1.0/h);g[a+44>>2]=n*(1.0/h)}c[a+48>>2]=d;c[a+52>>2]=l;b=c[e+12+4>>2]|0;c[a>>2]=c[e+12>>2];c[a+4>>2]=b;c[a+16>>2]=0;return}if(!(q*(h-o)+r*(m-p)<=0.0)){d=b+84+(f<<3)|0;if((y*x+w*u-(h+o)*.5)*+g[d>>2]+(x*w-y*u-(m+p)*.5)*+g[b+84+(f<<3)+4>>2]>v)return;c[a+60>>2]=1;c[a+56>>2]=1;b=c[d+4>>2]|0;c[a+40>>2]=c[d>>2];c[a+40+4>>2]=b;g[a+48>>2]=(h+o)*.5;g[a+52>>2]=(m+p)*.5;b=c[e+12+4>>2]|0;c[a>>2]=c[e+12>>2];c[a+4>>2]=b;c[a+16>>2]=0;return}if(q*q+r*r>v*v)return;c[a+60>>2]=1;c[a+56>>2]=1;g[a+40>>2]=q;g[a+44>>2]=r;h=+O(+(q*q+r*r));if(!(h<1.1920928955078125e-07)){g[a+40>>2]=q*(1.0/h);g[a+44>>2]=r*(1.0/h)}c[a+48>>2]=s;c[a+52>>2]=t;b=c[e+12+4>>2]|0;c[a>>2]=c[e+12>>2];c[a+4>>2]=b;c[a+16>>2]=0;return}function Dpa(b,d,e,f,h){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;var i=0.0,j=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0,w=0,x=0.0,y=0.0;c[b+60>>2]=0;n=+g[h+12>>2];o=+g[f+12>>2];i=+g[h+8>>2];m=+g[f+16>>2];u=+g[h>>2]+(n*o-i*m)-+g[e>>2];m=o*i+n*m+ +g[h+4>>2]-+g[e+4>>2];n=+g[e+12>>2];i=+g[e+8>>2];v=c[d+12>>2]|0;w=c[d+16>>2]|0;h=c[d+20>>2]|0;e=c[d+24>>2]|0;o=(c[k>>2]=h,+g[k>>2]);p=(c[k>>2]=v,+g[k>>2]);q=(c[k>>2]=e,+g[k>>2]);r=(c[k>>2]=w,+g[k>>2]);j=(o-p)*(o-(u*n+m*i))+(q-r)*(q-(n*m-u*i));s=u*n+m*i-p;t=n*m-u*i-r;l=+g[d+8>>2]+ +g[f+8>>2];if(s*(o-p)+t*(q-r)<=0.0){if(s*s+t*t>l*l)return;if(a[d+44>>0]|0)if((p-(u*n+m*i))*(p-+g[d+28>>2])+(r-(n*m-u*i))*(r-+g[d+32>>2])>0.0)return;c[b+60>>2]=1;c[b+56>>2]=0;g[b+40>>2]=0.0;g[b+44>>2]=0.0;c[b+48>>2]=v;c[b+52>>2]=w;c[b+16>>2]=0;a[b+16>>0]=0;a[b+16+1>>0]=0;a[b+16+2>>0]=0;a[b+16+3>>0]=0;w=c[f+12+4>>2]|0;c[b>>2]=c[f+12>>2];c[b+4>>2]=w;return}if(!(j<=0.0)){bT((o-p)*(o-p)+(q-r)*(q-r)>0.0,442683);y=1.0/((o-p)*(o-p)+(q-r)*(q-r));x=u*n+m*i-y*(p*j+o*(s*(o-p)+t*(q-r)));u=n*m-u*i-y*(r*j+q*(s*(o-p)+t*(q-r)));if(x*x+u*u>l*l)return;l=t*(o-p)+s*-(q-r)<0.0?q-r:-(q-r);i=t*(o-p)+s*-(q-r)<0.0?-(o-p):o-p;j=+O(+(l*l+i*i));if(!(j<1.1920928955078125e-07)){l=l*(1.0/j);i=i*(1.0/j)}c[b+60>>2]=1;c[b+56>>2]=1;g[b+40>>2]=l;g[b+44>>2]=i;c[b+48>>2]=v;c[b+52>>2]=w;c[b+16>>2]=0;a[b+16>>0]=0;a[b+16+1>>0]=0;a[b+16+2>>0]=1;a[b+16+3>>0]=0;w=c[f+12+4>>2]|0;c[b>>2]=c[f+12>>2];c[b+4>>2]=w;return}if((u*n+m*i-o)*(u*n+m*i-o)+(n*m-u*i-q)*(n*m-u*i-q)>l*l)return;if(a[d+45>>0]|0)if((u*n+m*i-o)*(+g[d+36>>2]-o)+(n*m-u*i-q)*(+g[d+40>>2]-q)>0.0)return;c[b+60>>2]=1;c[b+56>>2]=0;g[b+40>>2]=0.0;g[b+44>>2]=0.0;c[b+48>>2]=h;c[b+52>>2]=e;c[b+16>>2]=0;a[b+16>>0]=1;a[b+16+1>>0]=0;a[b+16+2>>0]=0;a[b+16+3>>0]=0;w=c[f+12+4>>2]|0;c[b>>2]=c[f+12>>2];c[b+4>>2]=w;return}function Epa(d,e,f,h,j,l){d=d|0;e=e|0;f=f|0;h=h|0;j=j|0;l=l|0;var m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0,u=0.0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0,K=0;K=i;i=i+144|0;u=+g[h+12>>2];p=+g[l+8>>2];D=+g[h+8>>2];m=+g[l+12>>2];G=+g[l>>2]-+g[h>>2];n=+g[l+4>>2]-+g[h+4>>2];g[d+132>>2]=u*G+D*n;g[d+136>>2]=u*n-D*G;g[d+140>>2]=u*p-D*m;g[d+144>>2]=p*D+u*m;q=+g[j+12>>2];o=+g[j+16>>2];F=u*G+D*n+((p*D+u*m)*q-(u*p-D*m)*o);G=q*(u*p-D*m)+(p*D+u*m)*o+(u*n-D*G);g[d+148>>2]=F;g[d+152>>2]=G;z=c[f+28>>2]|0;A=c[f+28+4>>2]|0;c[d+156>>2]=z;c[d+156+4>>2]=A;w=c[f+12>>2]|0;y=c[f+12+4>>2]|0;c[d+164>>2]=w;c[d+164+4>>2]=y;v=c[f+20>>2]|0;x=c[f+20+4>>2]|0;c[d+172>>2]=v;c[d+172+4>>2]=x;B=c[f+36>>2]|0;C=c[f+36+4>>2]|0;c[d+180>>2]=B;c[d+180+4>>2]=C;f=b[f+44>>1]|0;D=(c[k>>2]=v,+g[k>>2]);n=(c[k>>2]=w,+g[k>>2]);u=(c[k>>2]=x,+g[k>>2]);o=(c[k>>2]=y,+g[k>>2]);m=+O(+((D-n)*(D-n)+(u-o)*(u-o)));p=(c[k>>2]=z,+g[k>>2]);q=(c[k>>2]=A,+g[k>>2]);s=(c[k>>2]=B,+g[k>>2]);r=(c[k>>2]=C,+g[k>>2]);if(m<1.1920928955078125e-07){I=u-o;H=D-n}else{I=(u-o)*(1.0/m);H=(D-n)*(1.0/m)}E=-H;g[d+196>>2]=I;g[d+200>>2]=E;E=(F-n)*I+(G-o)*E;if((f&255)<<24>>24){m=+O(+((n-p)*(n-p)+(o-q)*(o-q)));if(m<1.1920928955078125e-07){n=n-p;m=o-q}else{n=(n-p)*(1.0/m);m=(o-q)*(1.0/m)}o=-n;g[d+188>>2]=m;g[d+192>>2]=o;l=I*n-H*m>=0.0;p=(F-p)*m+(G-q)*o}else{l=0;p=0.0}do if((f&65535)>255){m=+O(+((s-D)*(s-D)+(r-u)*(r-u)));if(m<1.1920928955078125e-07){o=r-u;n=s-D}else{o=(r-u)*(1.0/m);n=(s-D)*(1.0/m)}m=-n;g[d+204>>2]=o;g[d+208>>2]=m;h=H*o-I*n>0.0;m=(F-D)*o+(G-u)*m;if(!((f&255)<<24>>24))if(h){a[d+248>>0]=(E>=0.0|m>=0.0)&1;if(E>=0.0|m>=0.0){C=c[d+196>>2]|0;B=c[d+196+4>>2]|0;c[d+212>>2]=C;c[d+212+4>>2]=B;g[d+228>>2]=-(c[k>>2]=C,+g[k>>2]);g[d+232>>2]=H;C=c[d+204+4>>2]|0;c[d+236>>2]=c[d+204>>2];c[d+236+4>>2]=C;break}else{I=-I;g[d+212>>2]=I;g[d+216>>2]=H;g[d+228>>2]=I;g[d+232>>2]=H;C=c[d+196+4>>2]|0;c[d+236>>2]=c[d+196>>2];c[d+236+4>>2]=C;break}}else{a[d+248>>0]=E>=0.0&m>=0.0&1;if(E>=0.0&m>=0.0){B=c[d+196>>2]|0;C=c[d+196+4>>2]|0;c[d+212>>2]=B;c[d+212+4>>2]=C;g[d+228>>2]=-(c[k>>2]=B,+g[k>>2]);g[d+232>>2]=H;c[d+236>>2]=B;c[d+236+4>>2]=C;break}else{g[d+212>>2]=-I;g[d+216>>2]=H;I=-+g[d+208>>2];g[d+228>>2]=-+g[d+204>>2];g[d+232>>2]=I;C=c[d+196+4>>2]|0;c[d+236>>2]=c[d+196>>2];c[d+236+4>>2]=C;break}}if(l&h){C=E>=0.0|p>=0.0|m>=0.0;a[d+248>>0]=C&1;if(C){C=c[d+196+4>>2]|0;c[d+212>>2]=c[d+196>>2];c[d+212+4>>2]=C;C=c[d+188+4>>2]|0;c[d+228>>2]=c[d+188>>2];c[d+228+4>>2]=C;C=c[d+204+4>>2]|0;c[d+236>>2]=c[d+204>>2];c[d+236+4>>2]=C;break}else{I=-I;g[d+212>>2]=I;g[d+216>>2]=H;g[d+228>>2]=I;g[d+232>>2]=H;g[d+236>>2]=I;g[d+240>>2]=H;break}}if(l){if(!(p>=0.0)){a[d+248>>0]=E>=0.0&m>=0.0&1;if(E>=0.0&m>=0.0)h=d+212|0;else{I=-I;g[d+212>>2]=I;g[d+216>>2]=H;g[d+228>>2]=-o;g[d+232>>2]=n;g[d+236>>2]=I;g[d+240>>2]=H;break}}else{a[d+248>>0]=1;h=d+212|0}B=c[d+196+4>>2]|0;C=h;c[C>>2]=c[d+196>>2];c[C+4>>2]=B;C=c[d+188+4>>2]|0;c[d+228>>2]=c[d+188>>2];c[d+228+4>>2]=C;C=c[d+196+4>>2]|0;c[d+236>>2]=c[d+196>>2];c[d+236+4>>2]=C;break}if(!h){C=E>=0.0&p>=0.0&m>=0.0;a[d+248>>0]=C&1;if(C){B=c[d+196>>2]|0;C=c[d+196+4>>2]|0;c[d+212>>2]=B;c[d+212+4>>2]=C;c[d+228>>2]=B;c[d+228+4>>2]=C;c[d+236>>2]=B;c[d+236+4>>2]=C;break}else{g[d+212>>2]=-I;g[d+216>>2]=H;g[d+228>>2]=-o;g[d+232>>2]=n;I=-+g[d+192>>2];g[d+236>>2]=-+g[d+188>>2];g[d+240>>2]=I;break}}if(!(m>=0.0)){C=E>=0.0&p>=0.0;a[d+248>>0]=C&1;if(C)h=d+212|0;else{I=-I;g[d+212>>2]=I;g[d+216>>2]=H;g[d+228>>2]=I;g[d+232>>2]=H;I=-+g[d+192>>2];g[d+236>>2]=-+g[d+188>>2];g[d+240>>2]=I;break}}else{a[d+248>>0]=1;h=d+212|0}B=c[d+196>>2]|0;C=c[d+196+4>>2]|0;A=h;c[A>>2]=B;c[A+4>>2]=C;c[d+228>>2]=B;c[d+228+4>>2]=C;C=c[d+204+4>>2]|0;c[d+236>>2]=c[d+204>>2];c[d+236+4>>2]=C}else{if(!((f&255)<<24>>24)){a[d+248>>0]=E>=0.0&1;if(E>=0.0){C=c[d+196>>2]|0;B=c[d+196+4>>2]|0;c[d+212>>2]=C;c[d+212+4>>2]=B;I=-(c[k>>2]=C,+g[k>>2]);g[d+228>>2]=I;g[d+232>>2]=H;g[d+236>>2]=I;g[d+240>>2]=H;break}else{g[d+212>>2]=-I;g[d+216>>2]=H;B=c[d+196>>2]|0;C=c[d+196+4>>2]|0;c[d+228>>2]=B;c[d+228+4>>2]=C;c[d+236>>2]=B;c[d+236+4>>2]=C;break}}h=p>=0.0;if(l){a[d+248>>0]=(E>=0.0|h)&1;if(E>=0.0|h){C=c[d+196>>2]|0;B=c[d+196+4>>2]|0;c[d+212>>2]=C;c[d+212+4>>2]=B;B=c[d+188+4>>2]|0;c[d+228>>2]=c[d+188>>2];c[d+228+4>>2]=B;g[d+236>>2]=-(c[k>>2]=C,+g[k>>2]);g[d+240>>2]=H;break}else{g[d+212>>2]=-I;g[d+216>>2]=H;C=c[d+196>>2]|0;B=c[d+196+4>>2]|0;c[d+228>>2]=C;c[d+228+4>>2]=B;g[d+236>>2]=-(c[k>>2]=C,+g[k>>2]);g[d+240>>2]=H;break}}else{a[d+248>>0]=E>=0.0&h&1;if(E>=0.0&h){C=c[d+196>>2]|0;B=c[d+196+4>>2]|0;c[d+212>>2]=C;c[d+212+4>>2]=B;c[d+228>>2]=C;c[d+228+4>>2]=B;g[d+236>>2]=-(c[k>>2]=C,+g[k>>2]);g[d+240>>2]=H;break}else{g[d+212>>2]=-I;g[d+216>>2]=H;C=c[d+196+4>>2]|0;c[d+228>>2]=c[d+196>>2];c[d+228+4>>2]=C;I=-+g[d+192>>2];g[d+236>>2]=-+g[d+188>>2];g[d+240>>2]=I;break}}}while(0);h=c[j+148>>2]|0;c[d+128>>2]=h;if((h|0)>0){h=0;do{E=+g[d+144>>2];I=+g[j+20+(h<<3)>>2];G=+g[d+140>>2];F=+g[j+20+(h<<3)+4>>2];H=I*G+E*F+ +g[d+136>>2];g[d+(h<<3)>>2]=+g[d+132>>2]+(E*I-G*F);g[d+(h<<3)+4>>2]=H;H=+g[d+144>>2];F=+g[j+84+(h<<3)>>2];G=+g[d+140>>2];I=+g[j+84+(h<<3)+4>>2];g[d+64+(h<<3)>>2]=H*F-G*I;g[d+64+(h<<3)+4>>2]=F*G+H*I;h=h+1|0}while((h|0)<(c[j+148>>2]|0));h=c[d+128>>2]|0}g[d+244>>2]=.019999999552965164;c[e+60>>2]=0;if((h|0)<=0){i=K;return}n=+g[d+164>>2];o=+g[d+168>>2];p=+g[d+212>>2];q=+g[d+216>>2];s=3402823466385288598117041.0e14;m=3402823466385288598117041.0e14;f=0;while(1){r=p*(+g[d+(f<<3)>>2]-n)+q*(+g[d+(f<<3)+4>>2]-o);l=r.019999999552965164){i=K;return}Fpa(K+128|0,d);h=c[K+128>>2]|0;if(!h)J=58;else{m=+g[K+128+8>>2];if(!(m>+g[d+244>>2]))if(m>u*.9800000190734863+1.0000000474974513e-03){l=c[K+128+4>>2]|0;if((h|0)==1){v=K+72|0;C=K+24|0;w=K+24|0;h=e+56|0;J=60}else{c[e+56>>2]=2;t=c[d+164+4>>2]|0;c[K+24>>2]=c[d+164>>2];c[K+24+4>>2]=t;a[K+24+8>>0]=0;a[K+24+8+1>>0]=l;a[K+24+8+2>>0]=0;a[K+24+8+3>>0]=1;t=c[d+172+4>>2]|0;c[K+24+12>>2]=c[d+172>>2];c[K+24+12+4>>2]=t;a[K+24+20>>0]=0;a[K+24+20+1>>0]=l;a[K+24+20+2>>0]=0;a[K+24+20+3>>0]=1;c[K+72>>2]=l;t=(l+1|0)<(c[d+128>>2]|0)?l+1|0:0;c[K+72+4>>2]=t;x=c[d+(l<<3)>>2]|0;w=c[d+(l<<3)+4>>2]|0;c[K+72+8>>2]=x;c[K+72+8+4>>2]=w;v=c[d+(t<<3)>>2]|0;t=c[d+(t<<3)+4>>2]|0;c[K+72+16>>2]=v;c[K+72+16+4>>2]=t;f=c[d+64+(l<<3)>>2]|0;B=c[d+64+(l<<3)+4>>2]|0;c[K+72+24>>2]=f;c[K+72+24+4>>2]=B;y=K+72+8|0;z=K+72|0;A=K+72+24|0;m=(c[k>>2]=f,+g[k>>2]);f=K+24|0;h=0;J=67}}else J=58}if((J|0)==58){v=K+72|0;C=K+24|0;w=K+24|0;h=e+56|0;J=60}do if((J|0)==60){c[h>>2]=1;t=c[d+128>>2]|0;if((t|0)>1){m=+g[d+212>>2];n=+g[d+216>>2];h=0;p=m*+g[d+64>>2]+n*+g[d+68>>2];f=1;while(1){o=m*+g[d+64+(f<<3)>>2]+n*+g[d+64+(f<<3)+4>>2];l=o=(t|0))break;else p=l?o:p}}else h=0;J=h+1|0;J=(J|0)<(t|0)?J:0;A=d+(h<<3)|0;B=c[A+4>>2]|0;c[K+24>>2]=c[A>>2];c[K+24+4>>2]=B;a[K+24+8>>0]=0;a[K+24+8+1>>0]=h;a[K+24+8+2>>0]=1;a[K+24+8+3>>0]=0;B=c[d+(J<<3)+4>>2]|0;c[K+24+12>>2]=c[d+(J<<3)>>2];c[K+24+12+4>>2]=B;a[K+24+20>>0]=0;a[K+24+20+1>>0]=J;a[K+24+20+2>>0]=1;a[K+24+20+3>>0]=0;if(!(a[d+248>>0]|0)){c[K+72>>2]=1;c[K+72+4>>2]=0;x=c[d+172>>2]|0;w=c[d+172+4>>2]|0;c[K+72+8>>2]=x;c[K+72+8+4>>2]=w;v=c[d+164>>2]|0;t=c[d+164+4>>2]|0;c[K+72+16>>2]=v;c[K+72+16+4>>2]=t;m=-+g[d+196>>2];I=-+g[d+200>>2];g[K+72+24>>2]=m;g[K+72+28>>2]=I;y=K+72+8|0;z=K+72|0;A=K+72+24|0;B=(g[k>>2]=I,c[k>>2]|0);f=C;l=1;h=1;J=67;break}else{c[K+72>>2]=0;c[K+72+4>>2]=1;x=c[d+164>>2]|0;w=c[d+164+4>>2]|0;c[K+72+8>>2]=x;c[K+72+8+4>>2]=w;v=c[d+172>>2]|0;t=c[d+172+4>>2]|0;c[K+72+16>>2]=v;c[K+72+16+4>>2]=t;f=c[d+196>>2]|0;B=c[d+196+4>>2]|0;c[K+72+24>>2]=f;c[K+72+24+4>>2]=B;y=K+72+8|0;z=K+72|0;A=K+72+24|0;m=(c[k>>2]=f,+g[k>>2]);f=C;l=0;h=1;J=67;break}}while(0);if((J|0)==67){G=(c[k>>2]=x,+g[k>>2]);H=(c[k>>2]=w,+g[k>>2]);D=(c[k>>2]=v,+g[k>>2]);E=(c[k>>2]=t,+g[k>>2]);I=-m;c[K+72+32>>2]=B;g[K+72+36>>2]=I;F=(c[k>>2]=B,+g[k>>2]);g[K+72+44>>2]=-F;g[K+72+48>>2]=m;g[K+72+40>>2]=F*G+H*I;g[K+72+52>>2]=D*-F+m*E;if((Kpa(K+48|0,f,K+72+32|0,F*G+H*I,l)|0)>=2)if((Kpa(K,K+48|0,K+72+44|0,+g[K+72+52>>2],c[K+72+4>>2]|0)|0)>=2){if(h){C=A;j=c[C>>2]|0;C=c[C+4>>2]|0;c[e+40>>2]=j;c[e+40+4>>2]=C;C=y;J=c[C>>2]|0;C=c[C+4>>2]|0;c[e+48>>2]=J;c[e+48+4>>2]=C;p=(c[k>>2]=J,+g[k>>2]);q=(c[k>>2]=j,+g[k>>2]);r=+g[K+72+12>>2];s=+g[K+72+28>>2];m=+g[K>>2];n=+g[K+4>>2];o=+g[d+244>>2];if(!((m-p)*q+(n-r)*s<=o))h=0;else{I=m-+g[d+132>>2];H=n-+g[d+136>>2];G=+g[d+144>>2];o=+g[d+140>>2];g[e>>2]=I*G+H*o;g[e+4>>2]=G*H-I*o;c[e+16>>2]=c[K+8>>2];o=+g[d+244>>2];h=1}m=+g[K+12>>2];n=+g[K+16>>2];if((m-p)*q+(n-r)*s<=o){H=m-+g[d+132>>2];G=n-+g[d+136>>2];F=+g[d+144>>2];I=+g[d+140>>2];g[e+(h*20|0)>>2]=H*F+G*I;g[e+(h*20|0)+4>>2]=F*G-H*I;c[e+(h*20|0)+16>>2]=c[K+20>>2];h=h+1|0}}else{C=c[z>>2]|0;J=c[j+84+(C<<3)+4>>2]|0;c[e+40>>2]=c[j+84+(C<<3)>>2];c[e+40+4>>2]=J;J=c[j+20+(C<<3)+4>>2]|0;c[e+48>>2]=c[j+20+(C<<3)>>2];c[e+48+4>>2]=J;n=+g[K+72+8>>2];o=+g[K+72+24>>2];p=+g[K+72+12>>2];q=+g[K+72+28>>2];m=+g[d+244>>2];if(!((+g[K>>2]-n)*o+(+g[K+4>>2]-p)*q<=m))h=0;else{h=c[K+4>>2]|0;c[e>>2]=c[K>>2];c[e+4>>2]=h;a[e+16+2>>0]=a[K+8+3>>0]|0;a[e+16+3>>0]=a[K+8+2>>0]|0;a[e+16>>0]=a[K+8+1>>0]|0;a[e+16+1>>0]=a[K+8>>0]|0;m=+g[d+244>>2];h=1}if((+g[K+12>>2]-n)*o+(+g[K+16>>2]-p)*q<=m){j=c[K+12+4>>2]|0;d=e+(h*20|0)|0;c[d>>2]=c[K+12>>2];c[d+4>>2]=j;d=e+(h*20|0)+16|0;a[d+2>>0]=a[K+20+3>>0]|0;a[d+3>>0]=a[K+20+2>>0]|0;a[d>>0]=a[K+20+1>>0]|0;a[d+1>>0]=a[K+20>>0]|0;h=h+1|0}}c[e+60>>2]=h}}i=K;return}function Fpa(a,b){a=a|0;b=b|0;var d=0,e=0.0,f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0,r=0,s=0.0;c[a>>2]=0;c[a+4>>2]=-1;g[a+8>>2]=-3402823466385288598117041.0e14;o=+g[b+216>>2];p=+g[b+212>>2];q=c[b+128>>2]|0;if((q|0)<=0)return;j=+g[b+164>>2];k=+g[b+168>>2];l=+g[b+172>>2];m=+g[b+176>>2];n=+g[b+244>>2];i=-3402823466385288598117041.0e14;d=0;while(1){f=+g[b+64+(d<<3)>>2];h=-+g[b+64+(d<<3)+4>>2];s=+g[b+(d<<3)>>2];e=+g[b+(d<<3)+4>>2];e=(s-j)*-f+(e-k)*h<(s-l)*-f+(e-m)*h?(s-j)*-f+(e-k)*h:(s-l)*-f+(e-m)*h;if(e>n)break;if(!(o*f+p*h>=0.0))if(e>i?!((-f-+g[b+228>>2])*p+(h-+g[b+232>>2])*o<-.03490658849477768):0)r=7;else e=i;else if(e>i?!((-f-+g[b+236>>2])*p+(h-+g[b+240>>2])*o<-.03490658849477768):0)r=7;else e=i;if((r|0)==7){r=0;c[a>>2]=2;c[a+4>>2]=d;g[a+8>>2]=e}d=d+1|0;if((d|0)>=(q|0)){r=10;break}else i=e}if((r|0)==10)return;c[a>>2]=2;c[a+4>>2]=d;g[a+8>>2]=e;return}function Gpa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=i;i=i+256|0;Epa(f,a,b,c,d,e);i=f;return}function Hpa(b,d,e,f,h){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;var j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0,z=0,A=0.0,B=0.0,C=0.0,D=0.0,E=0,F=0.0,G=0.0,H=0;H=i;i=i+96|0;c[b+60>>2]=0;G=+g[d+8>>2]+ +g[f+8>>2];c[H+92>>2]=0;j=+Ipa(H+92|0,d,e,f,h);if(j>G){i=H;return}c[H+88>>2]=0;k=+Ipa(H+88|0,f,h,d,e);if(!(k>G)){m=+g[h>>2];t=+g[h+4>>2];q=+g[h+8>>2];r=+g[h+12>>2];l=+g[e>>2];s=+g[e+4>>2];n=+g[e+8>>2];o=+g[e+12>>2];if(k>j+5.000000237487257e-04){e=2;h=H+88|0;E=1;z=f;A=m;B=r;C=t;D=q;F=l;t=s}else{e=1;h=H+92|0;E=0;z=d;d=f;A=l;B=o;C=s;D=n;F=m;n=q;o=r}y=c[h>>2]|0;c[b+56>>2]=e;p=c[d+148>>2]|0;if((y|0)>-1)h=(c[z+148>>2]|0)>(y|0);else h=0;bT(h,442694);j=+g[z+84+(y<<3)>>2];x=+g[z+84+(y<<3)+4>>2];k=B*j-D*x;x=D*j+B*x;j=o*k+n*x;k=o*x-n*k;if((p|0)>0){f=0;h=0;m=3402823466385288598117041.0e14;while(1){l=j*+g[d+84+(f<<3)>>2]+k*+g[d+84+(f<<3)+4>>2];e=l>2];r=+g[d+20+(h<<3)+4>>2];g[H+64>>2]=F+(o*q-n*r);g[H+64+4>>2]=t+(n*q+o*r);a[H+64+8>>0]=y;a[H+64+8+1>>0]=h;a[H+64+8+2>>0]=1;a[H+64+8+3>>0]=0;r=+g[d+20+(p<<3)>>2];q=+g[d+20+(p<<3)+4>>2];g[H+64+12>>2]=F+(o*r-n*q);g[H+64+16>>2]=t+(n*r+o*q);a[H+64+20>>0]=y;a[H+64+20+1>>0]=p;a[H+64+20+2>>0]=1;a[H+64+20+3>>0]=0;h=(y+1|0)<(c[z+148>>2]|0)?y+1|0:0;q=+g[z+20+(y<<3)>>2];r=+g[z+20+(y<<3)+4>>2];s=+g[z+20+(h<<3)>>2];m=+g[z+20+(h<<3)+4>>2];j=+O(+((s-q)*(s-q)+(m-r)*(m-r)));if(j<1.1920928955078125e-07){k=s-q;l=m-r}else{k=(s-q)*(1.0/j);l=(m-r)*(1.0/j)}u=B*k-D*l;v=D*k+B*l;g[H+56>>2]=u;g[H+56+4>>2]=v;w=A+(B*q-D*r);x=C+(D*q+B*r);j=-k;g[H>>2]=-u;g[H+4>>2]=-v;if((Kpa(H+32|0,H+64|0,H,G-(w*u+x*v),y)|0)>=2)if((Kpa(H+8|0,H+32|0,H+56|0,G+((A+(B*s-D*m))*u+(C+(D*s+B*m))*v),h)|0)>=2){g[b+40>>2]=l;g[b+44>>2]=j;g[b+48>>2]=(q+s)*.5;g[b+52>>2]=(r+m)*.5;j=+g[H+8>>2];k=+g[H+8+4>>2];if(!(E<<24>>24)){if(!(v*j+k*-u-(w*v+x*-u)<=G))h=0;else{D=j-F;C=k-t;g[b>>2]=o*D+n*C;g[b+4>>2]=o*C-n*D;c[b+16>>2]=c[H+8+8>>2];h=1}j=+g[H+8+12>>2];k=+g[H+8+16>>2];if(v*j+k*-u-(w*v+x*-u)<=G){G=j-F;F=k-t;g[b+(h*20|0)>>2]=o*G+n*F;g[b+(h*20|0)+4>>2]=o*F-n*G;c[b+(h*20|0)+16>>2]=c[H+8+20>>2];h=h+1|0}}else{if(!(v*j+k*-u-(w*v+x*-u)<=G))h=0;else{D=j-F;C=k-t;g[b>>2]=o*D+n*C;g[b+4>>2]=o*C-n*D;h=c[H+8+8>>2]|0;c[b+16>>2]=h;a[b+16>>0]=h>>>8;a[b+16+1>>0]=h;a[b+16+2>>0]=h>>>24;a[b+16+3>>0]=h>>>16;h=1}j=+g[H+8+12>>2];k=+g[H+8+16>>2];if(v*j+k*-u-(w*v+x*-u)<=G){G=j-F;F=k-t;g[b+(h*20|0)>>2]=o*G+n*F;g[b+(h*20|0)+4>>2]=o*F-n*G;E=b+(h*20|0)+16|0;z=c[H+8+20>>2]|0;c[E>>2]=z;a[E>>0]=z>>>8;a[E+1>>0]=z;a[E+2>>0]=z>>>24;a[E+3>>0]=z>>>16;h=h+1|0}}c[b+60>>2]=h}}i=H;return}function Ipa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0,p=0.0,q=0.0,r=0.0,s=0,t=0.0,u=0.0,v=0,w=0.0;v=c[b+148>>2]|0;s=c[e+148>>2]|0;t=+g[f+12>>2];u=+g[d+8>>2];p=+g[f+8>>2];q=+g[d+12>>2];r=+g[d>>2]-+g[f>>2];n=+g[d+4>>2]-+g[f+4>>2];if((v|0)<=0){v=0;u=-3402823466385288598117041.0e14;c[a>>2]=v;return +u}if((s|0)>0){d=0;o=0;h=-3402823466385288598117041.0e14}else{d=0;f=0;h=-3402823466385288598117041.0e14;do{e=h<3402823466385288598117041.0e14;h=e?3402823466385288598117041.0e14:h;d=e?f:d;f=f+1|0}while((f|0)!=(v|0));c[a>>2]=d;return +h}do{j=+g[b+84+(o<<3)>>2];k=+g[b+84+(o<<3)+4>>2];l=+g[b+20+(o<<3)>>2];m=+g[b+20+(o<<3)+4>>2];f=0;i=3402823466385288598117041.0e14;do{w=((u*p+t*q)*j-(t*u-p*q)*k)*(+g[e+20+(f<<3)>>2]-(t*r+p*n+((u*p+t*q)*l-(t*u-p*q)*m)))+((t*u-p*q)*j+(u*p+t*q)*k)*(+g[e+20+(f<<3)+4>>2]-(t*n-p*r+((t*u-p*q)*l+(u*p+t*q)*m)));i=wh;h=f?i:h;d=f?o:d;o=o+1|0}while((o|0)!=(v|0));c[a>>2]=d;return +h}function Jpa(a,b,d,e,f,h){a=a|0;b=b|0;d=d|0;e=+e;f=f|0;h=+h;var i=0.0,j=0.0,k=0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0;if(!(c[b+60>>2]|0))return;switch(c[b+56>>2]|0){case 0:{g[a>>2]=1.0;g[a+4>>2]=0.0;p=+g[d+12>>2];l=+g[b+48>>2];i=+g[d+8>>2];n=+g[b+52>>2];o=+g[d>>2]+(p*l-i*n);n=l*i+p*n+ +g[d+4>>2];p=+g[f+12>>2];i=+g[b>>2];l=+g[f+8>>2];j=+g[b+4>>2];m=+g[f>>2]+(p*i-l*j);j=i*l+p*j+ +g[f+4>>2];if((o-m)*(o-m)+(n-j)*(n-j)>1.4210854715202004e-14){g[a>>2]=m-o;g[a+4>>2]=j-n;i=+O(+((m-o)*(m-o)+(j-n)*(j-n)));if(i<1.1920928955078125e-07){l=m-o;i=j-n}else{g[a>>2]=(m-o)*(1.0/i);g[a+4>>2]=(j-n)*(1.0/i);l=(m-o)*(1.0/i);i=(j-n)*(1.0/i)}}else{l=1.0;i=0.0}p=o+l*e;e=n+i*e;o=m-l*h;h=j-i*h;g[a+8>>2]=(p+o)*.5;g[a+12>>2]=(e+h)*.5;g[a+24>>2]=(o-p)*l+(h-e)*i;return}case 1:{i=+g[d+12>>2];j=+g[b+40>>2];l=+g[d+8>>2];m=+g[b+44>>2];g[a>>2]=i*j-l*m;g[a+4>>2]=j*l+i*m;o=+g[d+12>>2];r=+g[b+48>>2];q=+g[d+8>>2];n=+g[b+52>>2];p=+g[d>>2]+(o*r-q*n);n=r*q+o*n+ +g[d+4>>2];if((c[b+60>>2]|0)<=0)return;o=i*j-l*m;i=j*l+i*m;k=0;while(1){r=+g[f+12>>2];j=+g[b+(k*20|0)>>2];m=+g[f+8>>2];q=+g[b+(k*20|0)+4>>2];l=+g[f>>2]+(r*j-m*q);q=j*m+r*q+ +g[f+4>>2];r=e-(o*(l-p)+(q-n)*i);m=l+o*r;r=q+i*r;o=l-o*h;q=q-i*h;g[a+8+(k<<3)>>2]=(o+m)*.5;g[a+8+(k<<3)+4>>2]=(q+r)*.5;g[a+24+(k<<2)>>2]=+g[a>>2]*(o-m)+ +g[a+4>>2]*(q-r);k=k+1|0;if((k|0)>=(c[b+60>>2]|0))break;o=+g[a>>2];i=+g[a+4>>2]}return}case 2:{i=+g[f+12>>2];l=+g[b+40>>2];m=+g[f+8>>2];n=+g[b+44>>2];g[a>>2]=i*l-m*n;g[a+4>>2]=l*m+i*n;r=+g[f+12>>2];j=+g[b+48>>2];q=+g[f+8>>2];o=+g[b+52>>2];p=+g[f>>2]+(r*j-q*o);o=j*q+r*o+ +g[f+4>>2];if((c[b+60>>2]|0)>0){j=i*l-m*n;i=l*m+i*n;k=0;do{r=+g[d+12>>2];l=+g[b+(k*20|0)>>2];q=+g[d+8>>2];m=+g[b+(k*20|0)+4>>2];n=+g[d>>2]+(r*l-q*m);m=l*q+r*m+ +g[d+4>>2];r=h-(j*(n-p)+(m-o)*i);q=n+j*r;r=m+i*r;n=n-j*e;j=m-i*e;g[a+8+(k<<3)>>2]=(n+q)*.5;g[a+8+(k<<3)+4>>2]=(j+r)*.5;g[a+24+(k<<2)>>2]=+g[a>>2]*(n-q)+ +g[a+4>>2]*(j-r);k=k+1|0;j=+g[a>>2];i=+g[a+4>>2]}while((k|0)<(c[b+60>>2]|0))}else{j=i*l-m*n;i=l*m+i*n}g[a>>2]=-j;g[a+4>>2]=-i;return}default:return}}function Kpa(b,d,e,f,h){b=b|0;d=d|0;e=e|0;f=+f;h=h|0;var i=0.0,j=0.0,k=0.0,l=0;k=+g[e>>2];j=+g[e+4>>2];i=k*+g[d>>2]+j*+g[d+4>>2]-f;f=k*+g[d+12>>2]+j*+g[d+16>>2]-f;if(!(i<=0.0))e=0;else{c[b>>2]=c[d>>2];c[b+4>>2]=c[d+4>>2];c[b+8>>2]=c[d+8>>2];e=1}if(f<=0.0){l=b+(e*12|0)|0;c[l>>2]=c[d+12>>2];c[l+4>>2]=c[d+12+4>>2];c[l+8>>2]=c[d+12+8>>2];e=e+1|0}if(!(i*f<0.0)){l=e;return l|0}j=+g[d>>2];k=+g[d+4>>2];k=k+i/(i-f)*(+g[d+16>>2]-k);g[b+(e*12|0)>>2]=j+i/(i-f)*(+g[d+12>>2]-j);g[b+(e*12|0)+4>>2]=k;l=b+(e*12|0)+8|0;a[l>>0]=h;a[l+1>>0]=a[d+8+1>>0]|0;a[l+2>>0]=0;a[l+3>>0]=1;l=e+1|0;return l|0}function Lpa(d,e,f,h,j,k){d=d|0;e=e|0;f=f|0;h=h|0;j=j|0;k=k|0;var l=0;l=i;i=i+128|0;c[l+36+16>>2]=0;c[l+36+20>>2]=0;g[l+36+24>>2]=0.0;c[l+36+44>>2]=0;c[l+36+48>>2]=0;g[l+36+52>>2]=0.0;cS(l+36|0,d,e);cS(l+36+28|0,f,h);c[l+36+56>>2]=c[j>>2];c[l+36+56+4>>2]=c[j+4>>2];c[l+36+56+8>>2]=c[j+8>>2];c[l+36+56+12>>2]=c[j+12>>2];c[l+36+72>>2]=c[k>>2];c[l+36+72+4>>2]=c[k+4>>2];c[l+36+72+8>>2]=c[k+8>>2];c[l+36+72+12>>2]=c[k+12>>2];a[l+36+88>>0]=1;b[l+24+4>>1]=0;eS(l,l+24|0,l+36|0);i=l;return +g[l+16>>2]<1.1920928955078125e-06|0}function Mpa(a){a=a|0;var b=0,d=0,e=0;c[a>>2]=-1;c[a+12>>2]=16;c[a+8>>2]=0;b=_S(576)|0;c[a+4>>2]=b;hBb(b|0,0,(c[a+12>>2]|0)*36|0)|0;b=c[a+12>>2]|0;if((b|0)>1){d=c[a+4>>2]|0;e=0;do{b=e;e=e+1|0;c[d+(b*36|0)+20>>2]=e;c[d+(b*36|0)+32>>2]=-1;b=(c[a+12>>2]|0)+-1|0}while((e|0)<(b|0))}else b=b+-1|0;e=c[a+4>>2]|0;c[e+(b*36|0)+20>>2]=-1;c[e+(((c[a+12>>2]|0)+-1|0)*36|0)+32>>2]=-1;c[a+16>>2]=0;c[a+20>>2]=0;c[a+24>>2]=0;return}function Npa(a){a=a|0;$S(c[a+4>>2]|0);return}function Opa(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a+16>>2]|0;if((b|0)==-1){bT((c[a+8>>2]|0)==(c[a+12>>2]|0),442731);d=c[a+4>>2]|0;b=c[a+12>>2]|0;c[a+12>>2]=b<<1;b=_S(b*72|0)|0;c[a+4>>2]=b;mBb(b|0,d|0,(c[a+8>>2]|0)*36|0)|0;$S(d);d=c[a+8>>2]|0;b=(c[a+12>>2]|0)+-1|0;if((d|0)<(b|0)){e=c[a+4>>2]|0;do{b=d;d=d+1|0;c[e+(b*36|0)+20>>2]=d;c[e+(b*36|0)+32>>2]=-1;b=(c[a+12>>2]|0)+-1|0}while((d|0)<(b|0))}e=c[a+4>>2]|0;c[e+(b*36|0)+20>>2]=-1;c[e+(((c[a+12>>2]|0)+-1|0)*36|0)+32>>2]=-1;b=c[a+8>>2]|0;c[a+16>>2]=b;d=a+8|0}else{d=a+8|0;e=c[a+4>>2]|0}f=e+(b*36|0)+20|0;c[a+16>>2]=c[f>>2];c[f>>2]=-1;c[e+(b*36|0)+24>>2]=-1;c[e+(b*36|0)+28>>2]=-1;c[e+(b*36|0)+32>>2]=0;c[e+(b*36|0)+16>>2]=0;c[d>>2]=(c[d>>2]|0)+1;return b|0}function Ppa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0.0;e=Opa(a)|0;f=c[a+4>>2]|0;h=+g[b+4>>2]+-.10000000149011612;g[f+(e*36|0)>>2]=+g[b>>2]+-.10000000149011612;g[f+(e*36|0)+4>>2]=h;f=c[a+4>>2]|0;h=+g[b+12>>2]+.10000000149011612;g[f+(e*36|0)+8>>2]=+g[b+8>>2]+.10000000149011612;g[f+(e*36|0)+12>>2]=h;b=c[a+4>>2]|0;c[b+(e*36|0)+16>>2]=d;c[b+(e*36|0)+32>>2]=0;Qpa(a,e);return e|0}function Qpa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0,x=0.0,y=0.0,z=0.0,A=0.0,B=0;c[a+24>>2]=(c[a+24>>2]|0)+1;d=c[a>>2]|0;if((d|0)==-1){c[a>>2]=b;c[(c[a+4>>2]|0)+(b*36|0)+20>>2]=-1;return}w=c[a+4>>2]|0;x=+g[w+(b*36|0)>>2];y=+g[w+(b*36|0)+4>>2];z=+g[w+(b*36|0)+8>>2];A=+g[w+(b*36|0)+12>>2];e=c[w+(d*36|0)+24>>2]|0;a:do if((e|0)==-1)h=d;else while(1){f=c[w+(d*36|0)+28>>2]|0;r=+g[w+(d*36|0)+8>>2];s=+g[w+(d*36|0)>>2];t=+g[w+(d*36|0)+12>>2];u=+g[w+(d*36|0)+4>>2];v=((r>z?r:z)-(sA?t:A)-(u>2];j=x>2];l=y>2];n=z>m?z:m;o=+g[w+(e*36|0)+12>>2];p=A>o?A:o;if((c[w+(e*36|0)+24>>2]|0)==-1)i=(n-j+(p-l))*2.0;else i=(n-j+(p-l))*2.0-(m-i+(o-k))*2.0;q=(v-(r-s+(t-u))*2.0)*2.0+i;j=+g[w+(f*36|0)>>2];k=x>2];m=y>2];o=z>n?z:n;p=+g[w+(f*36|0)+12>>2];i=A>p?A:p;if((c[w+(f*36|0)+24>>2]|0)==-1)i=(o-k+(i-m))*2.0;else i=(o-k+(i-m))*2.0-(n-j+(p-l))*2.0;i=(v-(r-s+(t-u))*2.0)*2.0+i;if(v*2.0>2]|0;if((e|0)==-1){h=d;break}}while(0);e=c[w+(h*36|0)+20>>2]|0;f=Opa(a)|0;d=c[a+4>>2]|0;c[d+(f*36|0)+20>>2]=e;c[d+(f*36|0)+16>>2]=0;u=+g[d+(h*36|0)>>2];v=+g[d+(h*36|0)+4>>2];g[d+(f*36|0)>>2]=x>2]=y>2];y=+g[d+(h*36|0)+12>>2];g[d+(f*36|0)+8>>2]=z>x?z:x;g[d+(f*36|0)+12>>2]=A>y?A:y;d=c[a+4>>2]|0;c[d+(f*36|0)+32>>2]=(c[d+(h*36|0)+32>>2]|0)+1;if((e|0)==-1){c[d+(f*36|0)+24>>2]=h;w=c[a+4>>2]|0;c[w+(f*36|0)+28>>2]=b;c[w+(h*36|0)+20>>2]=f;c[w+(b*36|0)+20>>2]=f;c[a>>2]=f}else{if((c[d+(e*36|0)+24>>2]|0)==(h|0))c[d+(e*36|0)+24>>2]=f;else c[d+(e*36|0)+28>>2]=f;w=c[a+4>>2]|0;c[w+(f*36|0)+24>>2]=h;c[w+(f*36|0)+28>>2]=b;c[w+(h*36|0)+20>>2]=f;c[w+(b*36|0)+20>>2]=f}d=c[(c[a+4>>2]|0)+(b*36|0)+20>>2]|0;if((d|0)==-1)return;do{b=Rpa(a,d)|0;h=c[a+4>>2]|0;f=c[h+(b*36|0)+24>>2]|0;h=c[h+(b*36|0)+28>>2]|0;bT((f|0)!=-1,443084);bT((h|0)!=-1,443106);w=c[a+4>>2]|0;B=c[w+(f*36|0)+32>>2]|0;e=c[w+(h*36|0)+32>>2]|0;c[w+(b*36|0)+32>>2]=((B|0)>(e|0)?B:e)+1;A=+g[w+(f*36|0)>>2];z=+g[w+(h*36|0)>>2];y=+g[w+(f*36|0)+4>>2];x=+g[w+(h*36|0)+4>>2];g[w+(b*36|0)>>2]=A>2]=y>2];y=+g[w+(h*36|0)+8>>2];z=+g[w+(f*36|0)+12>>2];A=+g[w+(h*36|0)+12>>2];g[w+(b*36|0)+8>>2]=x>y?x:y;g[w+(b*36|0)+12>>2]=z>A?z:A;d=c[(c[a+4>>2]|0)+(b*36|0)+20>>2]|0}while((d|0)!=-1);return}function Rpa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0,i=0,j=0,k=0,l=0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0;bT((b|0)!=-1,442816);i=c[a+4>>2]|0;l=c[i+(b*36|0)+24>>2]|0;if((l|0)==-1){l=b;return l|0}if((c[i+(b*36|0)+32>>2]|0)<2){l=b;return l|0}k=c[i+(b*36|0)+28>>2]|0;if((l|0)>-1)d=(l|0)<(c[a+12>>2]|0);else d=0;bT(d,442834);if((k|0)>-1)d=(k|0)<(c[a+12>>2]|0);else d=0;bT(d,442865);j=c[a+4>>2]|0;d=(c[j+(k*36|0)+32>>2]|0)-(c[j+(l*36|0)+32>>2]|0)|0;if((d|0)>1){f=c[j+(k*36|0)+24>>2]|0;h=c[j+(k*36|0)+28>>2]|0;if((f|0)>-1)d=(f|0)<(c[a+12>>2]|0);else d=0;bT(d,442896);if((h|0)>-1)d=(h|0)<(c[a+12>>2]|0);else d=0;bT(d,442927);c[j+(k*36|0)+24>>2]=b;c[j+(k*36|0)+20>>2]=c[i+(b*36|0)+20>>2];c[i+(b*36|0)+20>>2]=k;d=c[j+(k*36|0)+20>>2]|0;do if((d|0)==-1)c[a>>2]=k;else{e=c[a+4>>2]|0;if((c[e+(d*36|0)+24>>2]|0)==(b|0)){c[e+(d*36|0)+24>>2]=k;break}else{bT((c[e+(d*36|0)+28>>2]|0)==(b|0),442958);c[(c[a+4>>2]|0)+((c[j+(k*36|0)+20>>2]|0)*36|0)+28>>2]=k;break}}while(0);if((c[j+(f*36|0)+32>>2]|0)>(c[j+(h*36|0)+32>>2]|0)){c[j+(k*36|0)+28>>2]=f;c[i+(b*36|0)+28>>2]=h;c[j+(h*36|0)+20>>2]=b;r=+g[j+(l*36|0)>>2];m=+g[j+(h*36|0)>>2];m=r>2];o=+g[j+(h*36|0)+4>>2];o=r>2]=m;g[i+(b*36|0)+4>>2]=o;r=+g[j+(l*36|0)+8>>2];q=+g[j+(h*36|0)+8>>2];p=+g[j+(l*36|0)+12>>2];n=+g[j+(h*36|0)+12>>2];g[i+(b*36|0)+8>>2]=r>q?r:q;g[i+(b*36|0)+12>>2]=p>n?p:n;n=+g[j+(f*36|0)>>2];p=+g[j+(f*36|0)+4>>2];g[j+(k*36|0)>>2]=m>2]=o>2];o=+g[j+(f*36|0)+8>>2];n=+g[i+(b*36|0)+12>>2];m=+g[j+(f*36|0)+12>>2];g[j+(k*36|0)+8>>2]=p>o?p:o;g[j+(k*36|0)+12>>2]=n>m?n:m;d=c[j+(l*36|0)+32>>2]|0;l=c[j+(h*36|0)+32>>2]|0;l=((d|0)>(l|0)?d:l)+1|0;c[i+(b*36|0)+32>>2]=l;d=c[j+(f*36|0)+32>>2]|0;d=(l|0)>(d|0)?l:d}else{c[j+(k*36|0)+28>>2]=h;c[i+(b*36|0)+28>>2]=f;c[j+(f*36|0)+20>>2]=b;m=+g[j+(l*36|0)>>2];r=+g[j+(f*36|0)>>2];r=m>2];p=+g[j+(f*36|0)+4>>2];p=m>2]=r;g[i+(b*36|0)+4>>2]=p;m=+g[j+(l*36|0)+8>>2];n=+g[j+(f*36|0)+8>>2];o=+g[j+(l*36|0)+12>>2];q=+g[j+(f*36|0)+12>>2];g[i+(b*36|0)+8>>2]=m>n?m:n;g[i+(b*36|0)+12>>2]=o>q?o:q;q=+g[j+(h*36|0)>>2];o=+g[j+(h*36|0)+4>>2];g[j+(k*36|0)>>2]=r>2]=p>2];p=+g[j+(h*36|0)+8>>2];q=+g[i+(b*36|0)+12>>2];r=+g[j+(h*36|0)+12>>2];g[j+(k*36|0)+8>>2]=o>p?o:p;g[j+(k*36|0)+12>>2]=q>r?q:r;d=c[j+(l*36|0)+32>>2]|0;l=c[j+(f*36|0)+32>>2]|0;l=((d|0)>(l|0)?d:l)+1|0;c[i+(b*36|0)+32>>2]=l;d=c[j+(h*36|0)+32>>2]|0;d=(l|0)>(d|0)?l:d}c[j+(k*36|0)+32>>2]=d+1;l=k;return l|0}if((d|0)>=-1){l=b;return l|0}f=c[j+(l*36|0)+24>>2]|0;h=c[j+(l*36|0)+28>>2]|0;if((f|0)>-1)d=(f|0)<(c[a+12>>2]|0);else d=0;bT(d,442990);if((h|0)>-1)d=(h|0)<(c[a+12>>2]|0);else d=0;bT(d,443021);c[j+(l*36|0)+24>>2]=b;c[j+(l*36|0)+20>>2]=c[i+(b*36|0)+20>>2];c[i+(b*36|0)+20>>2]=l;d=c[j+(l*36|0)+20>>2]|0;do if((d|0)==-1)c[a>>2]=l;else{e=c[a+4>>2]|0;if((c[e+(d*36|0)+24>>2]|0)==(b|0)){c[e+(d*36|0)+24>>2]=l;break}else{bT((c[e+(d*36|0)+28>>2]|0)==(b|0),443052);c[(c[a+4>>2]|0)+((c[j+(l*36|0)+20>>2]|0)*36|0)+28>>2]=l;break}}while(0);if((c[j+(f*36|0)+32>>2]|0)>(c[j+(h*36|0)+32>>2]|0)){c[j+(l*36|0)+28>>2]=f;c[i+(b*36|0)+24>>2]=h;c[j+(h*36|0)+20>>2]=b;m=+g[j+(k*36|0)>>2];r=+g[j+(h*36|0)>>2];r=m>2];p=+g[j+(h*36|0)+4>>2];p=m>2]=r;g[i+(b*36|0)+4>>2]=p;m=+g[j+(k*36|0)+8>>2];n=+g[j+(h*36|0)+8>>2];o=+g[j+(k*36|0)+12>>2];q=+g[j+(h*36|0)+12>>2];g[i+(b*36|0)+8>>2]=m>n?m:n;g[i+(b*36|0)+12>>2]=o>q?o:q;q=+g[j+(f*36|0)>>2];o=+g[j+(f*36|0)+4>>2];g[j+(l*36|0)>>2]=r>2]=p>2];p=+g[j+(f*36|0)+8>>2];q=+g[i+(b*36|0)+12>>2];r=+g[j+(f*36|0)+12>>2];g[j+(l*36|0)+8>>2]=o>p?o:p;g[j+(l*36|0)+12>>2]=q>r?q:r;d=c[j+(k*36|0)+32>>2]|0;k=c[j+(h*36|0)+32>>2]|0;k=((d|0)>(k|0)?d:k)+1|0;c[i+(b*36|0)+32>>2]=k;d=c[j+(f*36|0)+32>>2]|0;d=(k|0)>(d|0)?k:d}else{c[j+(l*36|0)+28>>2]=h;c[i+(b*36|0)+24>>2]=f;c[j+(f*36|0)+20>>2]=b;m=+g[j+(k*36|0)>>2];r=+g[j+(f*36|0)>>2];r=m>2];p=+g[j+(f*36|0)+4>>2];p=m>2]=r;g[i+(b*36|0)+4>>2]=p;m=+g[j+(k*36|0)+8>>2];n=+g[j+(f*36|0)+8>>2];o=+g[j+(k*36|0)+12>>2];q=+g[j+(f*36|0)+12>>2];g[i+(b*36|0)+8>>2]=m>n?m:n;g[i+(b*36|0)+12>>2]=o>q?o:q;q=+g[j+(h*36|0)>>2];o=+g[j+(h*36|0)+4>>2];g[j+(l*36|0)>>2]=r>2]=p>2];p=+g[j+(h*36|0)+8>>2];q=+g[i+(b*36|0)+12>>2];r=+g[j+(h*36|0)+12>>2];g[j+(l*36|0)+8>>2]=o>p?o:p;g[j+(l*36|0)+12>>2]=q>r?q:r;d=c[j+(k*36|0)+32>>2]|0;k=c[j+(f*36|0)+32>>2]|0;k=((d|0)>(k|0)?d:k)+1|0;c[i+(b*36|0)+32>>2]=k;d=c[j+(h*36|0)+32>>2]|0;d=(k|0)>(d|0)?k:d}c[j+(l*36|0)+32>>2]=d+1;return l|0}function Spa(a,b){a=a|0;b=b|0;var d=0;if((b|0)>-1)d=(c[a+12>>2]|0)>(b|0);else d=0;bT(d,443661);bT((c[(c[a+4>>2]|0)+(b*36|0)+24>>2]|0)==-1,443128);Tpa(a,b);if((b|0)>-1)d=(c[a+12>>2]|0)>(b|0);else d=0;bT(d,442761);bT((c[a+8>>2]|0)>0,442800);d=c[a+4>>2]|0;c[d+(b*36|0)+20>>2]=c[a+16>>2];c[d+(b*36|0)+32>>2]=-1;c[a+16>>2]=b;c[a+8>>2]=(c[a+8>>2]|0)+-1;return}function Tpa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0,i=0.0,j=0.0,k=0.0,l=0.0;if((c[a>>2]|0)==(b|0)){c[a>>2]=-1;return}f=c[a+4>>2]|0;h=c[f+(b*36|0)+20>>2]|0;d=c[f+(h*36|0)+20>>2]|0;e=c[f+(h*36|0)+24>>2]|0;if((e|0)==(b|0))e=c[f+(h*36|0)+28>>2]|0;if((d|0)==-1){c[a>>2]=e;c[f+(e*36|0)+20>>2]=-1;if((h|0)>-1)d=(c[a+12>>2]|0)>(h|0);else d=0;bT(d,442761);bT((c[a+8>>2]|0)>0,442800);f=c[a+4>>2]|0;c[f+(h*36|0)+20>>2]=c[a+16>>2];c[f+(h*36|0)+32>>2]=-1;c[a+16>>2]=h;c[a+8>>2]=(c[a+8>>2]|0)+-1;return}if((c[f+(d*36|0)+24>>2]|0)==(h|0))c[f+(d*36|0)+24>>2]=e;else c[f+(d*36|0)+28>>2]=e;c[f+(e*36|0)+20>>2]=d;if((h|0)>-1)e=(c[a+12>>2]|0)>(h|0);else e=0;bT(e,442761);bT((c[a+8>>2]|0)>0,442800);f=c[a+4>>2]|0;c[f+(h*36|0)+20>>2]=c[a+16>>2];c[f+(h*36|0)+32>>2]=-1;c[a+16>>2]=h;c[a+8>>2]=(c[a+8>>2]|0)+-1;do{h=Rpa(a,d)|0;f=c[a+4>>2]|0;e=c[f+(h*36|0)+24>>2]|0;b=c[f+(h*36|0)+28>>2]|0;i=+g[f+(e*36|0)>>2];j=+g[f+(b*36|0)>>2];k=+g[f+(e*36|0)+4>>2];l=+g[f+(b*36|0)+4>>2];g[f+(h*36|0)>>2]=i>2]=k>2];k=+g[f+(b*36|0)+8>>2];j=+g[f+(e*36|0)+12>>2];i=+g[f+(b*36|0)+12>>2];g[f+(h*36|0)+8>>2]=l>k?l:k;g[f+(h*36|0)+12>>2]=j>i?j:i;f=c[a+4>>2]|0;e=c[f+(e*36|0)+32>>2]|0;b=c[f+(b*36|0)+32>>2]|0;c[f+(h*36|0)+32>>2]=((e|0)>(b|0)?e:b)+1;d=c[f+(h*36|0)+20>>2]|0}while((d|0)!=-1);return}function Upa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0;if((b|0)>-1)f=(c[a+12>>2]|0)>(b|0);else f=0;bT(f,443661);bT((c[(c[a+4>>2]|0)+(b*36|0)+24>>2]|0)==-1,443128);f=c[a+4>>2]|0;if(!(+g[f+(b*36|0)>>2]<=+g[d>>2]))f=d+4|0;else if(!(+g[f+(b*36|0)+4>>2]<=+g[d+4>>2]))f=d+4|0;else if(!(+g[d+8>>2]<=+g[f+(b*36|0)+8>>2]))f=d+4|0;else if(!(+g[d+12>>2]<=+g[f+(b*36|0)+12>>2]))f=d+4|0;else{a=0;return a|0}Tpa(a,b);m=+g[d>>2]+-.10000000149011612;l=+g[f>>2]+-.10000000149011612;k=+g[d+8>>2]+.10000000149011612;i=+g[d+12>>2]+.10000000149011612;j=+g[e>>2]*2.0;h=+g[e+4>>2]*2.0;e=c[a+4>>2]|0;g[e+(b*36|0)>>2]=j<0.0?m+j:m;g[e+(b*36|0)+4>>2]=h<0.0?l+h:l;g[e+(b*36|0)+8>>2]=j<0.0?k:k+j;g[e+(b*36|0)+12>>2]=h<0.0?i:i+h;Qpa(a,b);a=1;return a|0}function Vpa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;e=c[a+12>>2]|0;if((e|0)<=0)return;a=c[a+4>>2]|0;d=0;do{f=a+(d*36|0)|0;g[f>>2]=+g[f>>2]-+g[b>>2];f=a+(d*36|0)+4|0;g[f>>2]=+g[f>>2]-+g[b+4>>2];f=a+(d*36|0)+8|0;g[f>>2]=+g[f>>2]-+g[b>>2];f=a+(d*36|0)+12|0;g[f>>2]=+g[f>>2]-+g[b+4>>2];d=d+1|0}while((d|0)<(e|0));return}function Wpa(d,e){d=d|0;e=e|0;var f=0,h=0.0,j=0,l=0,m=0.0,n=0.0,o=0.0,p=0.0,q=0,r=0.0,s=0.0,t=0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0.0,K=0.0,L=0.0,N=0.0,O=0.0,P=0.0,S=0,T=0,U=0;U=i;i=i+320|0;c[163656]=(c[163656]|0)+1;c[d>>2]=0;S=c[e+128>>2]|0;c[d+4>>2]=S;f=U+276|0;j=e+56|0;l=f+36|0;do{c[f>>2]=c[j>>2];f=f+4|0;j=j+4|0}while((f|0)<(l|0));f=U+240|0;j=e+92|0;l=f+36|0;do{c[f>>2]=c[j>>2];f=f+4|0;j=j+4|0}while((f|0)<(l|0));P=+g[U+276+24>>2];H=+M(+(P/6.2831854820251465))*6.2831854820251465;g[U+276+24>>2]=P-H;I=+g[U+276+28>>2]-H;g[U+276+28>>2]=I;J=+g[U+240+24>>2];K=+M(+(J/6.2831854820251465))*6.2831854820251465;g[U+240+24>>2]=J-K;L=+g[U+240+28>>2]-K;g[U+240+28>>2]=L;N=(c[k>>2]=S,+g[k>>2]);O=+g[e+24>>2]+ +g[e+52>>2]+-.014999999664723873;O=O<.004999999888241291?.004999999888241291:O;bT(O>1.2499999720603228e-03,443154);b[U+228+4>>1]=0;c[U+136>>2]=c[e>>2];c[U+136+4>>2]=c[e+4>>2];c[U+136+8>>2]=c[e+8>>2];c[U+136+12>>2]=c[e+12>>2];c[U+136+16>>2]=c[e+16>>2];c[U+136+20>>2]=c[e+20>>2];c[U+136+24>>2]=c[e+24>>2];f=U+136+28|0;c[f>>2]=c[e+28>>2];c[f+4>>2]=c[e+28+4>>2];c[f+8>>2]=c[e+28+8>>2];c[f+12>>2]=c[e+28+12>>2];c[f+16>>2]=c[e+28+16>>2];c[f+20>>2]=c[e+28+20>>2];c[f+24>>2]=c[e+28+24>>2];a[U+136+88>>0]=0;v=+g[U+276+8>>2];w=+g[U+276+12>>2];x=+g[U+276+16>>2];y=+g[U+276+20>>2];z=+g[U+276>>2];A=+g[U+276+4>>2];B=+g[U+240+8>>2];C=+g[U+240+12>>2];D=+g[U+240+16>>2];E=+g[U+240+20>>2];F=+g[U+240>>2];G=+g[U+240+4>>2];f=0;h=0.0;while(1){s=1.0-h;r=s*(P-H)+h*I;p=+R(+r);r=+Q(+r);m=s*(J-K)+h*L;u=+R(+m);m=+Q(+m);g[U+136+56>>2]=s*v+h*x-(r*z-p*A);g[U+136+60>>2]=s*w+h*y-(p*z+r*A);g[U+136+64>>2]=p;g[U+136+68>>2]=r;g[U+136+72>>2]=s*B+h*D-(m*F-u*G);g[U+136+76>>2]=s*C+h*E-(u*F+m*G);g[U+136+80>>2]=u;g[U+136+84>>2]=m;eS(U+112|0,U+228|0,U+136|0);m=+g[U+112+16>>2];if(m<=0.0){h=0.0;j=2;T=21;break}if(mO+1.2499999720603228e-03)T=5;else{t=0;u=N;while(1){if(m>O+-1.2499999720603228e-03){j=0;h=u;break a}l=c[U+4>>2]|0;q=c[U>>2]|0;n=+Zpa(U+8|0,l,q,h);if(n0.0?o-O:-(o-O))<1.2499999720603228e-03)break;if((j|0)==50){j=50;n=u;break}else{r=o>O?n:r;s=o>O?s:n;p=o>O?o:p;m=o>O?m:o}}q=c[163660]|0;c[163660]=(q|0)>(j|0)?q:j;t=t+1|0;if((t|0)==8){j=0;break a}m=+Ypa(U+8|0,U+4|0,U,n);if(m>O+1.2499999720603228e-03){T=5;break a}else u=n}if((T|0)==8){T=0;c[d>>2]=1;g[d+4>>2]=h;j=1;break}else if((T|0)==10){T=0;c[d>>2]=3;g[d+4>>2]=h;j=1;break}}while(0);if((T|0)==5){T=0;c[d>>2]=4;c[d+4>>2]=S;j=1}f=f+1|0;c[163657]=(c[163657]|0)+1;if(j)break;if((f|0)==20){T=20;break}}if((T|0)==20){c[d>>2]=1;g[d+4>>2]=h;f=20}else if((T|0)==21){c[d>>2]=j;g[d+4>>2]=h;T=f;d=c[163658]|0;e=(d|0)>(T|0);T=e?d:T;c[163658]=T;O=+eqa(U+312|0);P=+g[163655];T=P>O;P=T?P:O;g[163655]=P;P=+g[163654];P=O+P;g[163654]=P;i=U;return}T=f;d=c[163658]|0;e=(d|0)>(T|0);T=e?d:T;c[163658]=T;O=+eqa(U+312|0);P=+g[163655];T=P>O;P=T?P:O;g[163655]=P;P=+g[163654];P=O+P;g[163654]=P;i=U;return}function Xpa(a,e,f,h,i,j,k){a=a|0;e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;k=+k;var l=0,m=0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0;c[a>>2]=f;c[a+4>>2]=i;s=b[e+4>>1]|0;bT((s+-1&65535)<2,443173);m=a+8|0;l=m+36|0;do{c[m>>2]=c[h>>2];m=m+4|0;h=h+4|0}while((m|0)<(l|0));m=a+44|0;h=j;l=m+36|0;do{c[m>>2]=c[h>>2];m=m+4|0;h=h+4|0}while((m|0)<(l|0));v=(1.0-k)*+g[a+32>>2]+ +g[a+36>>2]*k;u=+R(+v);v=+Q(+v);z=+g[a+8>>2];x=+g[a+12>>2];w=(1.0-k)*+g[a+16>>2]+ +g[a+24>>2]*k-(v*z-u*x);x=(1.0-k)*+g[a+20>>2]+ +g[a+28>>2]*k-(u*z+v*x);z=(1.0-k)*+g[a+68>>2]+ +g[a+72>>2]*k;y=+R(+z);z=+Q(+z);r=+g[a+44>>2];t=+g[a+48>>2];A=(1.0-k)*+g[a+52>>2]+ +g[a+60>>2]*k-(z*r-y*t);t=(1.0-k)*+g[a+56>>2]+ +g[a+64>>2]*k-(y*r+z*t);if(s<<16>>16==1){c[a+80>>2]=0;i=c[a>>2]|0;f=d[e+6>>0]|0;bT((c[i+20>>2]|0)>(f|0),443196);i=c[i+16>>2]|0;p=+g[i+(f<<3)>>2];q=+g[i+(f<<3)+4>>2];f=c[a+4>>2]|0;e=d[e+9>>0]|0;bT((c[f+20>>2]|0)>(e|0),443196);f=c[f+16>>2]|0;k=+g[f+(e<<3)>>2];n=+g[f+(e<<3)+4>>2];g[a+92>>2]=A+(z*k-y*n)-(w+(v*p-u*q));g[a+96>>2]=t+(y*k+z*n)-(x+(u*p+v*q));o=+O(+((A+(z*k-y*n)-(w+(v*p-u*q)))*(A+(z*k-y*n)-(w+(v*p-u*q)))+(t+(y*k+z*n)-(x+(u*p+v*q)))*(t+(y*k+z*n)-(x+(u*p+v*q)))));if(o<1.1920928955078125e-07){A=0.0;return +A}g[a+92>>2]=(A+(z*k-y*n)-(w+(v*p-u*q)))*(1.0/o);g[a+96>>2]=1.0/o*(t+(y*k+z*n)-(x+(u*p+v*q)));A=o;return +A}s=b[e+6>>1]|0;if((s&255)<<24>>24==((s&65535)>>>8&255)<<24>>24){c[a+80>>2]=2;s=d[e+9>>0]|0;bT((c[i+20>>2]|0)>(s|0),443196);m=c[i+16>>2]|0;q=+g[m+(s<<3)>>2];r=+g[m+(s<<3)+4>>2];s=d[e+10>>0]|0;bT((c[i+20>>2]|0)>(s|0),443196);i=c[i+16>>2]|0;n=+g[i+(s<<3)>>2];o=+g[i+(s<<3)+4>>2];g[a+92>>2]=o-r;g[a+96>>2]=-(n-q);k=+O(+((n-q)*(n-q)+(o-r)*(o-r)));if(k<1.1920928955078125e-07){p=o-r;k=-(n-q)}else{g[a+92>>2]=(o-r)*(1.0/k);g[a+96>>2]=1.0/k*-(n-q);p=(o-r)*(1.0/k);k=1.0/k*-(n-q)}g[a+84>>2]=(q+n)*.5;g[a+88>>2]=(r+o)*.5;e=d[e+6>>0]|0;bT((c[f+20>>2]|0)>(e|0),443196);f=c[f+16>>2]|0;C=+g[f+(e<<3)>>2];B=+g[f+(e<<3)+4>>2];k=(z*p-y*k)*(w+(v*C-u*B)-(A+(z*((q+n)*.5)-y*((r+o)*.5))))+(y*p+z*k)*(x+(u*C+v*B)-(t+(y*((q+n)*.5)+z*((r+o)*.5))));if(!(k<0.0)){C=k;return +C}C=-+g[a+96>>2];g[a+92>>2]=-+g[a+92>>2];g[a+96>>2]=C;C=-k;return +C}else{c[a+80>>2]=1;f=c[a>>2]|0;i=d[e+6>>0]|0;bT((c[f+20>>2]|0)>(i|0),443196);f=c[f+16>>2]|0;n=+g[f+(i<<3)>>2];o=+g[f+(i<<3)+4>>2];i=c[a>>2]|0;f=d[e+7>>0]|0;bT((c[i+20>>2]|0)>(f|0),443196);i=c[i+16>>2]|0;p=+g[i+(f<<3)>>2];q=+g[i+(f<<3)+4>>2];g[a+92>>2]=q-o;g[a+96>>2]=-(p-n);k=+O(+((p-n)*(p-n)+(q-o)*(q-o)));if(k<1.1920928955078125e-07){r=q-o;k=-(p-n)}else{g[a+92>>2]=(q-o)*(1.0/k);g[a+96>>2]=1.0/k*-(p-n);r=(q-o)*(1.0/k);k=1.0/k*-(p-n)}g[a+84>>2]=(n+p)*.5;g[a+88>>2]=(o+q)*.5;f=c[a+4>>2]|0;e=d[e+9>>0]|0;bT((c[f+20>>2]|0)>(e|0),443196);f=c[f+16>>2]|0;B=+g[f+(e<<3)>>2];C=+g[f+(e<<3)+4>>2];k=(v*r-u*k)*(A+(z*B-y*C)-(w+(v*((n+p)*.5)-u*((o+q)*.5))))+(u*r+v*k)*(t+(y*B+z*C)-(x+(u*((n+p)*.5)+v*((o+q)*.5))));if(!(k<0.0)){C=k;return +C}C=-+g[a+96>>2];g[a+92>>2]=-+g[a+92>>2];g[a+96>>2]=C;C=-k;return +C}return 0.0}function Ypa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=+e;var f=0,h=0,i=0,j=0.0,k=0,l=0,m=0.0,n=0.0,o=0,p=0.0,q=0.0,r=0.0,s=0.0,t=0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0;w=(1.0-e)*+g[a+32>>2]+ +g[a+36>>2]*e;v=+R(+w);w=+Q(+w);A=+g[a+8>>2];y=+g[a+12>>2];x=(1.0-e)*+g[a+16>>2]+ +g[a+24>>2]*e-(w*A-v*y);y=(1.0-e)*+g[a+20>>2]+ +g[a+28>>2]*e-(v*A+w*y);A=(1.0-e)*+g[a+68>>2]+ +g[a+72>>2]*e;z=+R(+A);A=+Q(+A);s=+g[a+44>>2];u=+g[a+48>>2];B=(1.0-e)*+g[a+52>>2]+ +g[a+60>>2]*e-(A*s-z*u);u=(1.0-e)*+g[a+56>>2]+ +g[a+64>>2]*e-(z*s+A*u);switch(c[a+80>>2]|0){case 0:{m=+g[a+92>>2];n=+g[a+96>>2];o=c[a>>2]|0;i=c[o+16>>2]|0;k=c[o+20>>2]|0;if((k|0)>1){f=0;j=(w*m+v*n)*+g[i>>2]+(w*n-v*m)*+g[i+4>>2];l=1;while(1){e=(w*m+v*n)*+g[i+(l<<3)>>2]+(w*n-v*m)*+g[i+(l<<3)+4>>2];h=e>j;f=h?l:f;l=l+1|0;if((l|0)==(k|0))break;else j=h?e:j}}else f=0;c[b>>2]=f;i=c[a+4>>2]|0;h=c[i+16>>2]|0;i=c[i+20>>2]|0;if((i|0)>1){f=0;j=(A*-m+z*-n)*+g[h>>2]+(A*-n-z*-m)*+g[h+4>>2];l=1;while(1){e=(A*-m+z*-n)*+g[h+(l<<3)>>2]+(A*-n-z*-m)*+g[h+(l<<3)+4>>2];k=e>j;f=k?l:f;l=l+1|0;if((l|0)==(i|0))break;else j=k?e:j}}else f=0;c[d>>2]=f;h=c[b>>2]|0;if((h|0)>-1)f=(c[o+20>>2]|0)>(h|0);else f=0;bT(f,443196);i=c[o+16>>2]|0;j=+g[i+(h<<3)>>2];e=+g[i+(h<<3)+4>>2];i=c[a+4>>2]|0;f=c[d>>2]|0;if((f|0)>-1)h=(c[i+20>>2]|0)>(f|0);else h=0;bT(h,443196);d=c[i+16>>2]|0;r=+g[d+(f<<3)>>2];s=+g[d+(f<<3)+4>>2];B=+g[a+92>>2]*(B+(A*r-z*s)-(x+(w*j-v*e)))+ +g[a+96>>2]*(u+(z*r+A*s)-(y+(v*j+w*e)));return +B}case 1:{p=+g[a+92>>2];q=+g[a+96>>2];r=+g[a+84>>2];s=+g[a+88>>2];m=A*-(w*p-v*q)+z*-(v*p+w*q);n=A*-(v*p+w*q)-z*-(w*p-v*q);c[b>>2]=-1;o=c[a+4>>2]|0;h=c[o+16>>2]|0;i=c[o+20>>2]|0;if((i|0)>1){f=0;j=m*+g[h>>2]+n*+g[h+4>>2];l=1;while(1){e=m*+g[h+(l<<3)>>2]+n*+g[h+(l<<3)+4>>2];k=e>j;f=k?l:f;l=l+1|0;if((l|0)==(i|0))break;else j=k?e:j}c[d>>2]=f;if((f|0)>-1)t=18;else h=0}else{c[d>>2]=0;f=0;t=18}if((t|0)==18)h=(c[o+20>>2]|0)>(f|0);bT(h,443196);d=c[o+16>>2]|0;m=+g[d+(f<<3)>>2];n=+g[d+(f<<3)+4>>2];B=(w*p-v*q)*(B+(A*m-z*n)-(x+(w*r-v*s)))+(v*p+w*q)*(u+(z*m+A*n)-(y+(v*r+w*s)));return +B}case 2:{p=+g[a+92>>2];q=+g[a+96>>2];r=+g[a+84>>2];s=+g[a+88>>2];m=w*-(A*p-z*q)+v*-(z*p+A*q);n=w*-(z*p+A*q)-v*-(A*p-z*q);c[d>>2]=-1;o=c[a>>2]|0;h=c[o+16>>2]|0;i=c[o+20>>2]|0;if((i|0)>1){f=0;j=m*+g[h>>2]+n*+g[h+4>>2];l=1;while(1){e=m*+g[h+(l<<3)>>2]+n*+g[h+(l<<3)+4>>2];k=e>j;f=k?l:f;l=l+1|0;if((l|0)==(i|0))break;else j=k?e:j}c[b>>2]=f;if((f|0)>-1)t=25;else h=0}else{c[b>>2]=0;f=0;t=25}if((t|0)==25)h=(c[o+20>>2]|0)>(f|0);bT(h,443196);d=c[o+16>>2]|0;m=+g[d+(f<<3)>>2];n=+g[d+(f<<3)+4>>2];B=(A*p-z*q)*(x+(w*m-v*n)-(B+(A*r-z*s)))+(z*p+A*q)*(y+(v*m+w*n)-(u+(z*r+A*s)));return +B}default:{bT(0,619694);c[b>>2]=-1;c[d>>2]=-1;B=0.0;return +B}}return 0.0}function Zpa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=+e;var f=0,h=0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0;n=(1.0-e)*+g[a+32>>2]+ +g[a+36>>2]*e;m=+R(+n);n=+Q(+n);r=+g[a+8>>2];p=+g[a+12>>2];o=(1.0-e)*+g[a+16>>2]+ +g[a+24>>2]*e-(n*r-m*p);p=(1.0-e)*+g[a+20>>2]+ +g[a+28>>2]*e-(m*r+n*p);r=(1.0-e)*+g[a+68>>2]+ +g[a+72>>2]*e;q=+R(+r);r=+Q(+r);k=+g[a+44>>2];l=+g[a+48>>2];s=(1.0-e)*+g[a+52>>2]+ +g[a+60>>2]*e-(r*k-q*l);l=(1.0-e)*+g[a+56>>2]+ +g[a+64>>2]*e-(q*k+r*l);switch(c[a+80>>2]|0){case 0:{f=c[a>>2]|0;if((b|0)>-1)h=(c[f+20>>2]|0)>(b|0);else h=0;bT(h,443196);f=c[f+16>>2]|0;i=+g[f+(b<<3)>>2];e=+g[f+(b<<3)+4>>2];f=c[a+4>>2]|0;if((d|0)>-1)h=(c[f+20>>2]|0)>(d|0);else h=0;bT(h,443196);b=c[f+16>>2]|0;j=+g[b+(d<<3)>>2];k=+g[b+(d<<3)+4>>2];s=+g[a+92>>2]*(s+(r*j-q*k)-(o+(n*i-m*e)))+ +g[a+96>>2]*(l+(q*j+r*k)-(p+(m*i+n*e)));return +s}case 1:{e=+g[a+92>>2];i=+g[a+96>>2];j=+g[a+84>>2];k=+g[a+88>>2];f=c[a+4>>2]|0;if((d|0)>-1)h=(c[f+20>>2]|0)>(d|0);else h=0;bT(h,443196);a=c[f+16>>2]|0;u=+g[a+(d<<3)>>2];t=+g[a+(d<<3)+4>>2];s=(n*e-m*i)*(s+(r*u-q*t)-(o+(n*j-m*k)))+(m*e+n*i)*(l+(q*u+r*t)-(p+(m*j+n*k)));return +s}case 2:{e=+g[a+92>>2];i=+g[a+96>>2];j=+g[a+84>>2];k=+g[a+88>>2];f=c[a>>2]|0;if((b|0)>-1)h=(c[f+20>>2]|0)>(b|0);else h=0;bT(h,443196);a=c[f+16>>2]|0;t=+g[a+(b<<3)>>2];u=+g[a+(b<<3)+4>>2];u=(r*e-q*i)*(o+(n*t-m*u)-(s+(r*j-q*k)))+(q*e+r*i)*(p+(m*t+n*u)-(l+(q*j+r*k)));return +u}default:{bT(0,619694);u=0.0;return +u}}return 0.0}function _pa(a){a=a|0;c[a+102400>>2]=0;c[a+102404>>2]=0;c[a+102408>>2]=0;c[a+102796>>2]=0;return}function $pa(a){a=a|0;bT((c[a+102400>>2]|0)==0,443226);bT((c[a+102796>>2]|0)==0,443239);return}function aqa(b,d){b=b|0;d=d|0;var e=0,f=0;bT((c[b+102796>>2]|0)<32,443257);e=c[b+102796>>2]|0;c[b+102412+(e*12|0)+4>>2]=d;f=c[b+102400>>2]|0;if((f+d|0)>102400){c[b+102412+(e*12|0)>>2]=_S(d)|0;a[b+102412+(e*12|0)+8>>0]=1;e=b+102412+(e*12|0)|0}else{c[b+102412+(e*12|0)>>2]=b+f;a[b+102412+(e*12|0)+8>>0]=0;c[b+102400>>2]=(c[b+102400>>2]|0)+d;e=b+102412+(e*12|0)|0}d=(c[b+102404>>2]|0)+d|0;c[b+102404>>2]=d;f=c[b+102408>>2]|0;c[b+102408>>2]=(f|0)>(d|0)?f:d;c[b+102796>>2]=(c[b+102796>>2]|0)+1;return c[e>>2]|0}function bqa(b,d){b=b|0;d=d|0;var e=0;bT((c[b+102796>>2]|0)>0,443291);e=b+102412+((c[b+102796>>2]|0)*12|0)|0;bT((c[e+-12>>2]|0)==(d|0),443308);if(!(a[e+-4>>0]|0)){c[b+102400>>2]=(c[b+102400>>2]|0)-(c[e+-8>>2]|0);e=e+-8|0}else{$S(d);e=e+-8|0}c[b+102404>>2]=(c[b+102404>>2]|0)-(c[e>>2]|0);c[b+102796>>2]=(c[b+102796>>2]|0)+-1;return}function cqa(a){a=a|0;return}function dqa(a){a=a|0;return}function eqa(a){a=a|0;return 0.0}function fqa(d,e,f){d=d|0;e=e|0;f=f|0;var h=0,i=0,j=0.0;if((c[e+4>>2]&2139095040|0)==2139095040)h=0;else h=(c[e+8>>2]&2139095040|0)!=2139095040;bT(h,443325);if((c[e+16>>2]&2139095040|0)==2139095040)h=0;else h=(c[e+20>>2]&2139095040|0)!=2139095040;bT(h,443348);bT((c[e+12>>2]&2139095040|0)!=2139095040,443377);bT((c[e+24>>2]&2139095040|0)!=2139095040,443398);j=+g[e+32>>2];bT(j>=0.0&((g[k>>2]=j,c[k>>2]|0)&2139095040|0)!=2139095040,443429);j=+g[e+28>>2];bT(j>=0.0&((g[k>>2]=j,c[k>>2]|0)&2139095040|0)!=2139095040,443489);b[d+4>>1]=0;h=(a[e+39>>0]|0)==0?0:8;b[d+4>>1]=h;if(a[e+38>>0]|0){b[d+4>>1]=h&65535|16;h=(h&65535|16)&65535}i=b[e+36>>1]|0;if((i&255)<<24>>24){h=(h&65535|4)&65535;b[d+4>>1]=h}if((i&65535)>=256){h=(h&65535|2)&65535;b[d+4>>1]=h}if(a[e+40>>0]|0)b[d+4>>1]=h&65535|32;c[d+88>>2]=f;i=c[e+4>>2]|0;f=c[e+4+4>>2]|0;c[d+12>>2]=i;c[d+12+4>>2]=f;j=+g[e+12>>2];g[d+20>>2]=+R(+j);g[d+24>>2]=+Q(+j);g[d+28>>2]=0.0;g[d+32>>2]=0.0;c[d+36>>2]=i;c[d+36+4>>2]=f;c[d+44>>2]=i;c[d+44+4>>2]=f;f=c[e+12>>2]|0;c[d+52>>2]=f;c[d+56>>2]=f;g[d+60>>2]=0.0;c[d+108>>2]=0;c[d+112>>2]=0;c[d+92>>2]=0;c[d+96>>2]=0;f=c[e+16+4>>2]|0;c[d+64>>2]=c[e+16>>2];c[d+64+4>>2]=f;c[d+72>>2]=c[e+24>>2];c[d+132>>2]=c[e+28>>2];c[d+136>>2]=c[e+32>>2];c[d+140>>2]=c[e+48>>2];g[d+76>>2]=0.0;g[d+80>>2]=0.0;g[d+84>>2]=0.0;g[d+144>>2]=0.0;f=c[e>>2]|0;c[d>>2]=f;g[d+116>>2]=(f|0)==2?1.0:0.0;g[d+120>>2]=(f|0)==2?1.0:0.0;g[d+124>>2]=0.0;g[d+128>>2]=0.0;c[d+148>>2]=c[e+44>>2];c[d+100>>2]=0;c[d+104>>2]=0;return}function gqa(a){a=a|0;return}function hqa(a,d){a=a|0;d=d|0;var f=0,h=0,j=0,l=0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0;l=i;i=i+16|0;bT((c[(c[a+88>>2]|0)+102868>>2]&2|0)==0,443547);if(c[(c[a+88>>2]|0)+102868>>2]&2|0){i=l;return}if((c[a>>2]|0)==(d|0)){i=l;return}c[a>>2]=d;iqa(a);if(!(c[a>>2]|0)){g[a+64>>2]=0.0;g[a+68>>2]=0.0;g[a+72>>2]=0.0;j=c[a+56>>2]|0;c[a+52>>2]=j;d=c[a+44>>2]|0;f=c[a+44+4>>2]|0;c[a+36>>2]=d;c[a+36+4>>2]=f;o=(c[k>>2]=j,+g[k>>2]);q=+R(+o);g[l+8>>2]=q;o=+Q(+o);g[l+12>>2]=o;p=+g[a+28>>2];m=+g[a+32>>2];n=(c[k>>2]=d,+g[k>>2])-(o*p-q*m);m=(c[k>>2]=f,+g[k>>2])-(q*p+o*m);g[l>>2]=n;g[l+4>>2]=m;f=(c[a+88>>2]|0)+102872|0;d=c[a+100>>2]|0;if(d|0)do{Oqa(d,f,l,a+12|0);d=c[d+4>>2]|0}while((d|0)!=0)}d=e[a+4>>1]|0;if(!(d&2)){b[a+4>>1]=d|2;g[a+144>>2]=0.0}g[a+76>>2]=0.0;g[a+80>>2]=0.0;g[a+84>>2]=0.0;d=c[a+112>>2]|0;if(d|0)do{j=d;d=c[d+12>>2]|0;yqa((c[a+88>>2]|0)+102872|0,c[j+4>>2]|0)}while((d|0)!=0);c[a+112>>2]=0;j=(c[a+88>>2]|0)+102872|0;d=c[a+100>>2]|0;if(!d){i=l;return}do{f=c[d+28>>2]|0;if((f|0)>0){a=d+24|0;h=0;do{zpa(j,c[(c[a>>2]|0)+(h*28|0)+24>>2]|0);h=h+1|0}while((h|0)!=(f|0))}d=c[d+4>>2]|0}while((d|0)!=0);i=l;return}function iqa(a){a=a|0;var d=0,e=0,f=0.0,h=0.0,j=0,l=0.0,m=0,n=0,o=0,p=0.0,q=0.0,r=0.0,s=0.0;n=i;i=i+16|0;g[a+28>>2]=0.0;g[a+32>>2]=0.0;c[a+116>>2]=0;c[a+116+4>>2]=0;c[a+116+8>>2]=0;c[a+116+12>>2]=0;d=c[a>>2]|0;if(d>>>0<2){j=c[a+12>>2]|0;m=c[a+12+4>>2]|0;c[a+36>>2]=j;c[a+36+4>>2]=m;c[a+44>>2]=j;c[a+44+4>>2]=m;c[a+52>>2]=c[a+56>>2];i=n;return}bT((d|0)==2,443576);e=c[157288]|0;j=c[157289]|0;d=c[a+100>>2]|0;if(!d)d=j;else{do{f=+g[d>>2];if(!(f==0.0)){o=c[d+12>>2]|0;Li[c[(c[o>>2]|0)+28>>2]&31](o,n,f);l=+g[n>>2];g[a+116>>2]=l+ +g[a+116>>2];e=(g[k>>2]=(c[k>>2]=e,+g[k>>2])+l*+g[n+4>>2],c[k>>2]|0);j=(g[k>>2]=(c[k>>2]=j,+g[k>>2])+l*+g[n+8>>2],c[k>>2]|0);g[a+124>>2]=+g[n+12>>2]+ +g[a+124>>2]}d=c[d+4>>2]|0}while((d|0)!=0);d=j}f=+g[a+116>>2];if(f>0.0){g[a+120>>2]=1.0/f;e=(g[k>>2]=(c[k>>2]=e,+g[k>>2])*(1.0/f),c[k>>2]|0);h=f;d=(g[k>>2]=(c[k>>2]=d,+g[k>>2])*(1.0/f),c[k>>2]|0)}else{g[a+116>>2]=1.0;g[a+120>>2]=1.0;h=1.0}f=+g[a+124>>2];if(f>0.0)if(!(b[a+4>>1]&16)){p=(c[k>>2]=e,+g[k>>2]);l=(c[k>>2]=d,+g[k>>2]);f=f-(p*p+l*l)*h;g[a+124>>2]=f;bT(f>0.0,443601);f=p;h=l;l=1.0/+g[a+124>>2]}else m=14;else m=14;if((m|0)==14){g[a+124>>2]=0.0;f=(c[k>>2]=e,+g[k>>2]);h=(c[k>>2]=d,+g[k>>2]);l=0.0}g[a+128>>2]=l;p=+g[a+44>>2];q=+g[a+48>>2];c[a+28>>2]=e;c[a+32>>2]=d;r=+g[a+24>>2];s=+g[a+20>>2];l=+g[a+12>>2]+(f*r-s*h);f=f*s+r*h+ +g[a+16>>2];g[a+44>>2]=l;g[a+48>>2]=f;g[a+36>>2]=l;g[a+40>>2]=f;h=+g[a+72>>2];g[a+64>>2]=+g[a+64>>2]-h*(f-q);g[a+68>>2]=h*(l-p)+ +g[a+68>>2];i=n;return}function jqa(a){a=a|0;var b=0,d=0,e=0,f=0.0,h=0.0,j=0.0,k=0.0,l=0.0;e=i;i=i+16|0;l=+g[a+52>>2];j=+R(+l);g[e+8>>2]=j;l=+Q(+l);g[e+12>>2]=l;k=+g[a+28>>2];h=+g[a+32>>2];f=+g[a+40>>2]-(k*j+l*h);g[e>>2]=+g[a+36>>2]-(l*k-j*h);g[e+4>>2]=f;d=(c[a+88>>2]|0)+102872|0;b=c[a+100>>2]|0;if(!b){i=e;return}do{Oqa(b,d,e,a+12|0);b=c[b+4>>2]|0}while((b|0)!=0);i=e;return}function kqa(a,d){a=a|0;d=d|0;var e=0,f=0;bT((c[(c[a+88>>2]|0)+102868>>2]&2|0)==0,443547);f=c[a+88>>2]|0;if(c[f+102868>>2]&2|0){a=0;return a|0}e=US(f,44)|0;Jqa(e);Kqa(e,f,a,d);if(b[a+4>>1]&32)Mqa(e,(c[a+88>>2]|0)+102872|0,a+12|0);c[e+4>>2]=c[a+100>>2];c[a+100>>2]=e;c[a+104>>2]=(c[a+104>>2]|0)+1;c[e+8>>2]=a;if(+g[e>>2]>0.0)iqa(a);a=(c[a+88>>2]|0)+102868|0;c[a>>2]=c[a>>2]|1;a=e;return a|0}function lqa(a,d){a=a|0;d=d|0;var e=0,f=0;bT((c[(c[a+88>>2]|0)+102868>>2]&2|0)==0,443547);if(c[(c[a+88>>2]|0)+102868>>2]&2|0)return;bT((c[d+8>>2]|0)==(a|0),443612);bT((c[a+104>>2]|0)>0,443636);e=c[a+100>>2]|0;a:do if(!e)e=0;else{f=a+100|0;while(1){if((e|0)==(d|0)){e=f;break}f=e+4|0;e=c[f>>2]|0;if(!e){e=0;break a}}c[e>>2]=c[d+4>>2];e=1}while(0);bT(e,443655);e=c[a+112>>2]|0;if(e|0)do{f=c[e+4>>2]|0;e=c[e+12>>2]|0;if((c[f+48>>2]|0)==(d|0)?1:(c[f+52>>2]|0)==(d|0))yqa((c[a+88>>2]|0)+102872|0,f)}while((e|0)!=0);e=c[a+88>>2]|0;if(b[a+4>>1]&32)Nqa(d,e+102872|0);Lqa(d,e);c[d+8>>2]=0;c[d+4>>2]=0;VS(e,d,44);c[a+104>>2]=(c[a+104>>2]|0)+-1;iqa(a);return}function mqa(a,d){a=a|0;d=d|0;var e=0.0,f=0.0,h=0.0,i=0.0,j=0.0,l=0.0,m=0.0,n=0;bT((c[(c[a+88>>2]|0)+102868>>2]&2|0)==0,443547);if(c[(c[a+88>>2]|0)+102868>>2]&2|0)return;if((c[a>>2]|0)!=2)return;g[a+124>>2]=0.0;g[a+128>>2]=0.0;f=+g[d>>2];f=!(f<=0.0)?f:1.0;g[a+116>>2]=f;g[a+120>>2]=1.0/f;e=+g[d+12>>2];if(e>0.0)if(!(b[a+4>>1]&16)){i=+g[d+4>>2];h=+g[d+8>>2];g[a+124>>2]=e-f*(i*i+h*h);bT(e-f*(i*i+h*h)>0.0,443601);g[a+128>>2]=1.0/+g[a+124>>2]}i=+g[a+44>>2];e=+g[a+48>>2];n=c[d+4>>2]|0;d=c[d+4+4>>2]|0;c[a+28>>2]=n;c[a+28+4>>2]=d;f=+g[a+24>>2];m=(c[k>>2]=n,+g[k>>2]);l=+g[a+20>>2];j=(c[k>>2]=d,+g[k>>2]);h=+g[a+12>>2]+(f*m-l*j);j=m*l+f*j+ +g[a+16>>2];g[a+44>>2]=h;g[a+48>>2]=j;g[a+36>>2]=h;g[a+40>>2]=j;f=+g[a+72>>2];g[a+64>>2]=+g[a+64>>2]-f*(j-e);g[a+68>>2]=f*(h-i)+ +g[a+68>>2];return}function nqa(b,d){b=b|0;d=d|0;if((c[b>>2]|0)!=2)if((c[d>>2]|0)!=2){d=0;return d|0}b=c[b+108>>2]|0;if(!b){d=1;return d|0}while(1){if((c[b>>2]|0)==(d|0))if(!(a[(c[b+4>>2]|0)+61>>0]|0)){b=0;d=7;break}b=c[b+12>>2]|0;if(!b){b=1;d=7;break}}if((d|0)==7)return b|0;return 0}function oqa(a,b,d){a=a|0;b=b|0;d=+d;var e=0,f=0.0,h=0.0,i=0.0,j=0.0,l=0.0,m=0;bT((c[(c[a+88>>2]|0)+102868>>2]&2|0)==0,443547);e=c[a+88>>2]|0;if(c[e+102868>>2]&2|0)return;j=+R(+d);g[a+20>>2]=j;i=+Q(+d);g[a+24>>2]=i;m=c[b>>2]|0;b=c[b+4>>2]|0;c[a+12>>2]=m;c[a+12+4>>2]=b;l=+g[a+28>>2];f=+g[a+32>>2];h=(c[k>>2]=m,+g[k>>2])+(i*l-j*f);f=l*j+i*f+(c[k>>2]=b,+g[k>>2]);g[a+44>>2]=h;g[a+48>>2]=f;g[a+56>>2]=d;g[a+36>>2]=h;g[a+40>>2]=f;g[a+52>>2]=d;b=c[a+100>>2]|0;if(!b)return;do{Oqa(b,e+102872|0,a+12|0,a+12|0);b=c[b+4>>2]|0}while((b|0)!=0);return}function pqa(a,d){a=a|0;d=d|0;var e=0;bT((c[(c[a+88>>2]|0)+102868>>2]&2|0)==0,443547);e=b[a+4>>1]|0;if(!((e&32)!=0^d))return;if(d){b[a+4>>1]=e&65535|32;d=(c[a+88>>2]|0)+102872|0;e=c[a+100>>2]|0;if(!e)return;do{Mqa(e,d,a+12|0);e=c[e+4>>2]|0}while((e|0)!=0);return}b[a+4>>1]=e&65503;d=(c[a+88>>2]|0)+102872|0;e=c[a+100>>2]|0;if(e|0)do{Nqa(e,d);e=c[e+4>>2]|0}while((e|0)!=0);e=c[a+112>>2]|0;if(e|0)do{d=e;e=c[e+12>>2]|0;yqa((c[a+88>>2]|0)+102872|0,c[d+4>>2]|0)}while((e|0)!=0);c[a+112>>2]=0;return}function qqa(a,c){a=a|0;c=c|0;var d=0;d=e[a+4>>1]|0;if(!((d&16|0)!=0^c))return;b[a+4>>1]=c?d|16:d&65519;g[a+72>>2]=0.0;iqa(a);return}function rqa(a){a=a|0;return}function sqa(a){a=a|0;oAb(a);return}function tqa(a,b){a=a|0;b=b|0;return}function uqa(a,b){a=a|0;b=b|0;return}function vqa(a,b,c){a=a|0;b=b|0;c=c|0;return}function wqa(a,b,c){a=a|0;b=b|0;c=c|0;return}function xqa(a){a=a|0;upa(a);c[a+60>>2]=0;c[a+64>>2]=0;c[a+68>>2]=31708;c[a+72>>2]=31712;c[a+76>>2]=0;return}function yqa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;f=c[(c[b+48>>2]|0)+8>>2]|0;g=c[(c[b+52>>2]|0)+8>>2]|0;d=c[a+72>>2]|0;if(d|0)if(c[b+4>>2]&2|0)si[c[(c[d>>2]|0)+12>>2]&511](d,b);d=c[b+8>>2]|0;if(d|0)c[d+12>>2]=c[b+12>>2];e=c[b+12>>2]|0;if(e|0)c[e+8>>2]=d;if((c[a+60>>2]|0)==(b|0))c[a+60>>2]=e;d=c[b+24>>2]|0;if(d|0)c[d+12>>2]=c[b+28>>2];e=c[b+28>>2]|0;if(e|0)c[e+8>>2]=d;if((b+16|0)==(c[f+112>>2]|0))c[f+112>>2]=e;d=c[b+40>>2]|0;if(d|0)c[d+12>>2]=c[b+44>>2];e=c[b+44>>2]|0;if(e|0)c[e+8>>2]=d;if((b+32|0)!=(c[g+112>>2]|0)){g=a+76|0;g=c[g>>2]|0;zT(b,g);a=a+64|0;b=c[a>>2]|0;b=b+-1|0;c[a>>2]=b;return}c[g+112>>2]=e;g=a+76|0;g=c[g>>2]|0;zT(b,g);a=a+64|0;b=c[a>>2]|0;b=b+-1|0;c[a>>2]=b;return}function zqa(a){a=a|0;var d=0,e=0,f=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;d=c[a+60>>2]|0;if(!d)return;do{k=c[d+48>>2]|0;l=c[d+52>>2]|0;j=c[d+56>>2]|0;m=c[d+60>>2]|0;e=c[k+8>>2]|0;i=c[l+8>>2]|0;f=d+4|0;do if(!(c[f>>2]&8))n=10;else{if(!(nqa(i,e)|0)){m=c[d+12>>2]|0;yqa(a,d);d=m;break}h=c[a+68>>2]|0;if(h|0)if(!(Gi[c[(c[h>>2]|0)+8>>2]&255](h,k,l)|0)){m=c[d+12>>2]|0;yqa(a,d);d=m;break}c[f>>2]=c[f>>2]&-9;n=10}while(0);do if((n|0)==10){n=0;if(!(b[e+4>>1]&2))f=0;else f=(c[e>>2]|0)!=0;if(!(b[i+4>>1]&2))e=0;else e=(c[i>>2]|0)!=0;if(!(f|e)){d=c[d+12>>2]|0;break}i=c[(c[k+24>>2]|0)+(j*28|0)+24>>2]|0;h=c[(c[l+24>>2]|0)+(m*28|0)+24>>2]|0;if((i|0)>-1)e=(c[a+12>>2]|0)>(i|0);else e=0;bT(e,443661);e=c[a+4>>2]|0;if((h|0)>-1)f=(c[a+12>>2]|0)>(h|0);else f=0;bT(f,443661);m=c[a+4>>2]|0;if((+g[m+(h*36|0)>>2]-+g[e+(i*36|0)+8>>2]>0.0?1:+g[m+(h*36|0)+4>>2]-+g[e+(i*36|0)+12>>2]>0.0)|+g[e+(i*36|0)>>2]-+g[m+(h*36|0)+8>>2]>0.0|+g[e+(i*36|0)+4>>2]-+g[m+(h*36|0)+12>>2]>0.0){m=c[d+12>>2]|0;yqa(a,d);d=m;break}else{DT(d,c[a+72>>2]|0);d=c[d+12>>2]|0;break}}while(0)}while((d|0)!=0);return}function Aqa(a){a=a|0;Bqa(a,a);return}function Bqa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;c[a+52>>2]=0;d=c[a+40>>2]|0;if((d|0)>0){f=0;do{e=c[(c[a+32>>2]|0)+(f<<2)>>2]|0;c[a+56>>2]=e;if((e|0)!=-1){if((e|0)>-1)d=(c[a+12>>2]|0)>(e|0);else d=0;bT(d,443661);Hqa(a,a,(c[a+4>>2]|0)+(e*36|0)|0);d=c[a+40>>2]|0}f=f+1|0}while((f|0)<(d|0));d=c[a+52>>2]|0}else d=0;c[a+40>>2]=0;j=c[a+44>>2]|0;c[k>>2]=347;Dqa(j,j+(d<<3)|0,k);if((c[a+52>>2]|0)<=0){i=k;return}d=0;do{g=c[a+44>>2]|0;j=g+(d<<3)|0;e=c[j>>2]|0;if((e|0)>-1)f=(c[a+12>>2]|0)>(e|0);else f=0;bT(f,443661);h=c[(c[a+4>>2]|0)+(e*36|0)+16>>2]|0;g=g+(d<<3)+4|0;e=c[g>>2]|0;if((e|0)>-1)f=(c[a+12>>2]|0)>(e|0);else f=0;bT(f,443661);Iqa(b,h,c[(c[a+4>>2]|0)+(e*36|0)+16>>2]|0);f=c[a+52>>2]|0;d=d+1|0;do{if((d|0)>=(f|0))break;e=c[a+44>>2]|0;if((c[e+(d<<3)>>2]|0)!=(c[j>>2]|0))break;h=(c[e+(d<<3)+4>>2]|0)==(c[g>>2]|0);d=(h&1)+d|0}while(h)}while((d|0)<(f|0));i=k;return}function Cqa(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[a>>2]|0;e=c[b>>2]|0;if((d|0)<(e|0)){b=1;return b|0}if((d|0)!=(e|0)){b=0;return b|0}b=(c[a+4>>2]|0)<(c[b+4>>2]|0);return b|0}function Dqa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:while(1){l=b;m=b+-8|0;b:while(1){k=a;switch(l-k>>3|0){case 2:{n=4;break a}case 3:{n=6;break a}case 4:{n=14;break a}case 5:{n=15;break a}case 1:case 0:{n=69;break a}default:{}}if((l-k|0)<248){n=21;break a}j=a+(((l-k>>3|0)/2|0)<<3)|0;do if((l-k|0)>7992){e=a+(((l-k>>3|0)/4|0)<<3)|0;g=j+(((l-k>>3|0)/4|0)<<3)|0;f=Eqa(a,e,j,g,d)|0;if(Xi[c[d>>2]&511](m,g)|0){h=c[g>>2]|0;i=c[g+4>>2]|0;o=c[m+4>>2]|0;c[g>>2]=c[m>>2];c[g+4>>2]=o;c[m>>2]=h;c[m+4>>2]=i;if(Xi[c[d>>2]&511](g,j)|0){i=c[j>>2]|0;o=c[j+4>>2]|0;h=c[g+4>>2]|0;c[j>>2]=c[g>>2];c[j+4>>2]=h;c[g>>2]=i;c[g+4>>2]=o;if(Xi[c[d>>2]&511](j,e)|0){i=c[e>>2]|0;o=c[e+4>>2]|0;h=c[j+4>>2]|0;c[e>>2]=c[j>>2];c[e+4>>2]=h;c[j>>2]=i;c[j+4>>2]=o;if(Xi[c[d>>2]&511](e,a)|0){o=a;i=c[o>>2]|0;o=c[o+4>>2]|0;g=c[e+4>>2]|0;h=a;c[h>>2]=c[e>>2];c[h+4>>2]=g;c[e>>2]=i;c[e+4>>2]=o;f=f+4|0}else f=f+3|0}else f=f+2|0}else f=f+1|0}}else{o=Xi[c[d>>2]&511](j,a)|0;e=Xi[c[d>>2]&511](m,j)|0;if(!o){if(!e){f=0;break}i=c[j>>2]|0;o=c[j+4>>2]|0;h=c[m+4>>2]|0;c[j>>2]=c[m>>2];c[j+4>>2]=h;c[m>>2]=i;c[m+4>>2]=o;if(!(Xi[c[d>>2]&511](j,a)|0)){f=1;break}f=a;o=c[f>>2]|0;f=c[f+4>>2]|0;h=c[j+4>>2]|0;i=a;c[i>>2]=c[j>>2];c[i+4>>2]=h;c[j>>2]=o;c[j+4>>2]=f;f=2;break}g=a;f=c[g>>2]|0;g=c[g+4>>2]|0;if(e){i=c[m+4>>2]|0;o=a;c[o>>2]=c[m>>2];c[o+4>>2]=i;c[m>>2]=f;c[m+4>>2]=g;f=1;break}i=c[j+4>>2]|0;o=a;c[o>>2]=c[j>>2];c[o+4>>2]=i;c[j>>2]=f;c[j+4>>2]=g;if(Xi[c[d>>2]&511](m,j)|0){o=c[j>>2]|0;f=c[j+4>>2]|0;i=c[m+4>>2]|0;c[j>>2]=c[m>>2];c[j+4>>2]=i;c[m>>2]=o;c[m+4>>2]=f;f=2}else f=1}while(0);do if(Xi[c[d>>2]&511](a,j)|0)g=m;else{e=m;while(1){e=e+-8|0;if((a|0)==(e|0))break;if(Xi[c[d>>2]&511](e,j)|0){n=51;break}}if((n|0)==51){n=0;g=a;o=c[g>>2]|0;g=c[g+4>>2]|0;h=c[e+4>>2]|0;i=a;c[i>>2]=c[e>>2];c[i+4>>2]=h;c[e>>2]=o;c[e+4>>2]=g;g=e;f=f+1|0;break}e=a+8|0;if(!(Xi[c[d>>2]&511](a,m)|0)){if((e|0)==(m|0)){n=69;break a}while(1){if(Xi[c[d>>2]&511](a,e)|0)break;e=e+8|0;if((e|0)==(m|0)){n=69;break a}}k=c[e>>2]|0;o=c[e+4>>2]|0;j=c[m+4>>2]|0;c[e>>2]=c[m>>2];c[e+4>>2]=j;c[m>>2]=k;c[m+4>>2]=o;e=e+8|0}if((e|0)==(m|0)){n=69;break a}else g=m;while(1){f=e;while(1){e=f+8|0;if(Xi[c[d>>2]&511](a,f)|0)break;else f=e}do g=g+-8|0;while(Xi[c[d>>2]&511](a,g)|0);if(f>>>0>=g>>>0){a=f;continue b}k=c[f>>2]|0;o=c[f+4>>2]|0;j=c[g+4>>2]|0;c[f>>2]=c[g>>2];c[f+4>>2]=j;c[g>>2]=k;c[g+4>>2]=o}}while(0);e=a+8|0;c:do if(e>>>0>>0){i=g;while(1){g=e;while(1){e=g+8|0;if(Xi[c[d>>2]&511](g,j)|0)g=e;else break}h=i;do h=h+-8|0;while(!(Xi[c[d>>2]&511](h,j)|0));if(g>>>0>h>>>0){e=g;g=j;break c}o=c[g>>2]|0;i=c[g+4>>2]|0;p=c[h+4>>2]|0;c[g>>2]=c[h>>2];c[g+4>>2]=p;c[h>>2]=o;c[h+4>>2]=i;i=h;j=(j|0)==(g|0)?h:j;f=f+1|0}}else g=j;while(0);if((e|0)!=(g|0))if(Xi[c[d>>2]&511](g,e)|0){o=e;j=c[o>>2]|0;o=c[o+4>>2]|0;h=g;i=c[h+4>>2]|0;p=e;c[p>>2]=c[h>>2];c[p+4>>2]=i;p=g;c[p>>2]=j;c[p+4>>2]=o;f=f+1|0}if(!f){f=Gqa(a,e,d)|0;g=e+8|0;if(Gqa(g,b,d)|0){n=68;break}if(f){a=g;continue}}p=e;if((p-k|0)>=(l-p|0)){n=67;break}Dqa(a,e,d);a=e+8|0}if((n|0)==67){n=0;Dqa(e+8|0,b,d);b=e;continue}else if((n|0)==68){n=0;if(f){n=69;break}else{b=e;continue}}}if((n|0)==4){if(!(Xi[c[d>>2]&511](m,a)|0))return;o=c[a>>2]|0;p=c[a+4>>2]|0;d=c[m+4>>2]|0;c[a>>2]=c[m>>2];c[a+4>>2]=d;c[m>>2]=o;c[m+4>>2]=p;return}else if((n|0)==6){p=Xi[c[d>>2]&511](a+8|0,a)|0;b=Xi[c[d>>2]&511](m,a+8|0)|0;if(!p){if(!b)return;o=c[a+8>>2]|0;p=c[a+8+4>>2]|0;n=c[m+4>>2]|0;c[a+8>>2]=c[m>>2];c[a+8+4>>2]=n;c[m>>2]=o;c[m+4>>2]=p;if(!(Xi[c[d>>2]&511](a+8|0,a)|0))return;o=c[a>>2]|0;p=c[a+4>>2]|0;d=c[a+8+4>>2]|0;c[a>>2]=c[a+8>>2];c[a+4>>2]=d;c[a+8>>2]=o;c[a+8+4>>2]=p;return}e=c[a>>2]|0;f=c[a+4>>2]|0;if(b){p=c[m+4>>2]|0;c[a>>2]=c[m>>2];c[a+4>>2]=p;c[m>>2]=e;c[m+4>>2]=f;return}p=c[a+8+4>>2]|0;c[a>>2]=c[a+8>>2];c[a+4>>2]=p;c[a+8>>2]=e;c[a+8+4>>2]=f;if(!(Xi[c[d>>2]&511](m,a+8|0)|0))return;o=c[a+8>>2]|0;p=c[a+8+4>>2]|0;d=c[m+4>>2]|0;c[a+8>>2]=c[m>>2];c[a+8+4>>2]=d;c[m>>2]=o;c[m+4>>2]=p;return}else if((n|0)==14){Eqa(a,a+8|0,a+16|0,m,d)|0;return}else if((n|0)==15){Eqa(a,a+8|0,a+16|0,a+24|0,d)|0;if(!(Xi[c[d>>2]&511](m,a+24|0)|0))return;o=c[a+24>>2]|0;p=c[a+24+4>>2]|0;n=c[m+4>>2]|0;c[a+24>>2]=c[m>>2];c[a+24+4>>2]=n;c[m>>2]=o;c[m+4>>2]=p;if(!(Xi[c[d>>2]&511](a+24|0,a+16|0)|0))return;o=c[a+16>>2]|0;p=c[a+16+4>>2]|0;n=c[a+24+4>>2]|0;c[a+16>>2]=c[a+24>>2];c[a+16+4>>2]=n;c[a+24>>2]=o;c[a+24+4>>2]=p;if(!(Xi[c[d>>2]&511](a+16|0,a+8|0)|0))return;o=c[a+8>>2]|0;p=c[a+8+4>>2]|0;n=c[a+16+4>>2]|0;c[a+8>>2]=c[a+16>>2];c[a+8+4>>2]=n;c[a+16>>2]=o;c[a+16+4>>2]=p;if(!(Xi[c[d>>2]&511](a+8|0,a)|0))return;o=c[a>>2]|0;p=c[a+4>>2]|0;d=c[a+8+4>>2]|0;c[a>>2]=c[a+8>>2];c[a+4>>2]=d;c[a+8>>2]=o;c[a+8+4>>2]=p;return}else if((n|0)==21){Fqa(a,b,d);return}else if((n|0)==69)return}function Eqa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;i=Xi[c[f>>2]&511](b,a)|0;g=Xi[c[f>>2]&511](d,b)|0;do if(i){h=c[a>>2]|0;i=c[a+4>>2]|0;if(g){g=c[d+4>>2]|0;c[a>>2]=c[d>>2];c[a+4>>2]=g;c[d>>2]=h;c[d+4>>2]=i;g=1;break}g=c[b+4>>2]|0;c[a>>2]=c[b>>2];c[a+4>>2]=g;c[b>>2]=h;c[b+4>>2]=i;if(Xi[c[f>>2]&511](d,b)|0){i=c[b>>2]|0;g=c[b+4>>2]|0;h=c[d+4>>2]|0;c[b>>2]=c[d>>2];c[b+4>>2]=h;c[d>>2]=i;c[d+4>>2]=g;g=2}else g=1}else if(g){h=c[b>>2]|0;i=c[b+4>>2]|0;g=c[d+4>>2]|0;c[b>>2]=c[d>>2];c[b+4>>2]=g;c[d>>2]=h;c[d+4>>2]=i;if(Xi[c[f>>2]&511](b,a)|0){i=c[a>>2]|0;g=c[a+4>>2]|0;h=c[b+4>>2]|0;c[a>>2]=c[b>>2];c[a+4>>2]=h;c[b>>2]=i;c[b+4>>2]=g;g=2}else g=1}else g=0;while(0);if(!(Xi[c[f>>2]&511](e,d)|0)){e=g;return e|0}h=c[d>>2]|0;i=c[d+4>>2]|0;j=c[e+4>>2]|0;c[d>>2]=c[e>>2];c[d+4>>2]=j;c[e>>2]=h;c[e+4>>2]=i;if(!(Xi[c[f>>2]&511](d,b)|0)){j=g+1|0;return j|0}e=c[b>>2]|0;j=c[b+4>>2]|0;i=c[d+4>>2]|0;c[b>>2]=c[d>>2];c[b+4>>2]=i;c[d>>2]=e;c[d+4>>2]=j;if(!(Xi[c[f>>2]&511](b,a)|0)){j=g+2|0;return j|0}e=c[a>>2]|0;j=c[a+4>>2]|0;d=c[b+4>>2]|0;c[a>>2]=c[b>>2];c[a+4>>2]=d;c[b>>2]=e;c[b+4>>2]=j;j=g+3|0;return j|0}function Fqa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;h=i;i=i+16|0;g=Xi[c[d>>2]&511](a+8|0,a)|0;e=Xi[c[d>>2]&511](a+16|0,a+8|0)|0;do if(g){f=c[a>>2]|0;g=c[a+4>>2]|0;if(e){e=c[a+16+4>>2]|0;c[a>>2]=c[a+16>>2];c[a+4>>2]=e;c[a+16>>2]=f;c[a+16+4>>2]=g;break}e=c[a+8+4>>2]|0;c[a>>2]=c[a+8>>2];c[a+4>>2]=e;c[a+8>>2]=f;c[a+8+4>>2]=g;if(Xi[c[d>>2]&511](a+16|0,a+8|0)|0){f=c[a+8>>2]|0;g=c[a+8+4>>2]|0;e=c[a+16+4>>2]|0;c[a+8>>2]=c[a+16>>2];c[a+8+4>>2]=e;c[a+16>>2]=f;c[a+16+4>>2]=g}}else if(e){f=c[a+8>>2]|0;g=c[a+8+4>>2]|0;e=c[a+16+4>>2]|0;c[a+8>>2]=c[a+16>>2];c[a+8+4>>2]=e;c[a+16>>2]=f;c[a+16+4>>2]=g;if(Xi[c[d>>2]&511](a+8|0,a)|0){f=c[a>>2]|0;g=c[a+4>>2]|0;e=c[a+8+4>>2]|0;c[a>>2]=c[a+8>>2];c[a+4>>2]=e;c[a+8>>2]=f;c[a+8+4>>2]=g}}while(0);if((a+24|0)==(b|0)){i=h;return}g=a+24|0;e=a+16|0;while(1){if(Xi[c[d>>2]&511](g,e)|0){j=g;f=c[j+4>>2]|0;c[h>>2]=c[j>>2];c[h+4>>2]=f;f=g;while(1){l=e;k=c[l+4>>2]|0;j=f;c[j>>2]=c[l>>2];c[j+4>>2]=k;if((e|0)==(a|0))break;f=e+-8|0;if(Xi[c[d>>2]&511](h,f)|0){l=e;e=f;f=l}else break}k=c[h+4>>2]|0;l=e;c[l>>2]=c[h>>2];c[l+4>>2]=k}e=g+8|0;if((e|0)==(b|0))break;else{l=g;g=e;e=l}}i=h;return}function Gqa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;j=i;i=i+16|0;switch(b-a>>3|0){case 2:{if(!(Xi[c[d>>2]&511](b+-8|0,a)|0)){b=1;i=j;return b|0}h=c[a>>2]|0;d=c[a+4>>2]|0;g=c[b+-8+4>>2]|0;c[a>>2]=c[b+-8>>2];c[a+4>>2]=g;c[b+-8>>2]=h;c[b+-8+4>>2]=d;b=1;i=j;return b|0}case 3:{h=Xi[c[d>>2]&511](a+8|0,a)|0;e=Xi[c[d>>2]&511](b+-8|0,a+8|0)|0;if(!h){if(!e){b=1;i=j;return b|0}g=c[a+8>>2]|0;h=c[a+8+4>>2]|0;f=c[b+-8+4>>2]|0;c[a+8>>2]=c[b+-8>>2];c[a+8+4>>2]=f;c[b+-8>>2]=g;c[b+-8+4>>2]=h;if(!(Xi[c[d>>2]&511](a+8|0,a)|0)){b=1;i=j;return b|0}d=c[a>>2]|0;b=c[a+4>>2]|0;h=c[a+8+4>>2]|0;c[a>>2]=c[a+8>>2];c[a+4>>2]=h;c[a+8>>2]=d;c[a+8+4>>2]=b;b=1;i=j;return b|0}f=c[a>>2]|0;g=c[a+4>>2]|0;if(e){d=c[b+-8+4>>2]|0;c[a>>2]=c[b+-8>>2];c[a+4>>2]=d;c[b+-8>>2]=f;c[b+-8+4>>2]=g;b=1;i=j;return b|0}h=c[a+8+4>>2]|0;c[a>>2]=c[a+8>>2];c[a+4>>2]=h;c[a+8>>2]=f;c[a+8+4>>2]=g;if(!(Xi[c[d>>2]&511](b+-8|0,a+8|0)|0)){b=1;i=j;return b|0}h=c[a+8>>2]|0;d=c[a+8+4>>2]|0;g=c[b+-8+4>>2]|0;c[a+8>>2]=c[b+-8>>2];c[a+8+4>>2]=g;c[b+-8>>2]=h;c[b+-8+4>>2]=d;b=1;i=j;return b|0}case 4:{Eqa(a,a+8|0,a+16|0,b+-8|0,d)|0;b=1;i=j;return b|0}case 5:{Eqa(a,a+8|0,a+16|0,a+24|0,d)|0;if(!(Xi[c[d>>2]&511](b+-8|0,a+24|0)|0)){b=1;i=j;return b|0}g=c[a+24>>2]|0;h=c[a+24+4>>2]|0;f=c[b+-8+4>>2]|0;c[a+24>>2]=c[b+-8>>2];c[a+24+4>>2]=f;c[b+-8>>2]=g;c[b+-8+4>>2]=h;if(!(Xi[c[d>>2]&511](a+24|0,a+16|0)|0)){b=1;i=j;return b|0}h=c[a+16>>2]|0;b=c[a+16+4>>2]|0;g=c[a+24+4>>2]|0;c[a+16>>2]=c[a+24>>2];c[a+16+4>>2]=g;c[a+24>>2]=h;c[a+24+4>>2]=b;if(!(Xi[c[d>>2]&511](a+16|0,a+8|0)|0)){b=1;i=j;return b|0}h=c[a+8>>2]|0;b=c[a+8+4>>2]|0;g=c[a+16+4>>2]|0;c[a+8>>2]=c[a+16>>2];c[a+8+4>>2]=g;c[a+16>>2]=h;c[a+16+4>>2]=b;if(!(Xi[c[d>>2]&511](a+8|0,a)|0)){b=1;i=j;return b|0}d=c[a>>2]|0;b=c[a+4>>2]|0;h=c[a+8+4>>2]|0;c[a>>2]=c[a+8>>2];c[a+4>>2]=h;c[a+8>>2]=d;c[a+8+4>>2]=b;b=1;i=j;return b|0}case 1:case 0:{b=1;i=j;return b|0}default:{h=Xi[c[d>>2]&511](a+8|0,a)|0;e=Xi[c[d>>2]&511](a+16|0,a+8|0)|0;do if(h){f=c[a>>2]|0;g=c[a+4>>2]|0;if(e){h=c[a+16+4>>2]|0;c[a>>2]=c[a+16>>2];c[a+4>>2]=h;c[a+16>>2]=f;c[a+16+4>>2]=g;break}h=c[a+8+4>>2]|0;c[a>>2]=c[a+8>>2];c[a+4>>2]=h;c[a+8>>2]=f;c[a+8+4>>2]=g;if(Xi[c[d>>2]&511](a+16|0,a+8|0)|0){g=c[a+8>>2]|0;h=c[a+8+4>>2]|0;f=c[a+16+4>>2]|0;c[a+8>>2]=c[a+16>>2];c[a+8+4>>2]=f;c[a+16>>2]=g;c[a+16+4>>2]=h}}else if(e){g=c[a+8>>2]|0;h=c[a+8+4>>2]|0;f=c[a+16+4>>2]|0;c[a+8>>2]=c[a+16>>2];c[a+8+4>>2]=f;c[a+16>>2]=g;c[a+16+4>>2]=h;if(Xi[c[d>>2]&511](a+8|0,a)|0){g=c[a>>2]|0;h=c[a+4>>2]|0;f=c[a+8+4>>2]|0;c[a>>2]=c[a+8>>2];c[a+4>>2]=f;c[a+8>>2]=g;c[a+8+4>>2]=h}}while(0);a:do if((a+24|0)==(b|0)){f=1;e=0}else{e=0;h=a+24|0;f=a+16|0;while(1){if(Xi[c[d>>2]&511](h,f)|0){k=h;g=c[k+4>>2]|0;c[j>>2]=c[k>>2];c[j+4>>2]=g;g=h;while(1){m=f;l=c[m+4>>2]|0;k=g;c[k>>2]=c[m>>2];c[k+4>>2]=l;if((f|0)==(a|0))break;g=f+-8|0;if(Xi[c[d>>2]&511](j,g)|0){m=f;f=g;g=m}else break}l=c[j+4>>2]|0;m=f;c[m>>2]=c[j>>2];c[m+4>>2]=l;e=e+1|0;if((e|0)==8){f=0;e=(h+8|0)==(b|0);break a}}f=h+8|0;if((f|0)==(b|0)){f=1;e=0;break}else{m=h;h=f;f=m}}}while(0);m=e|f;i=j;return m|0}}return 0}function Hqa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0,j=0,k=0,l=0;l=i;i=i+1040|0;c[l>>2]=l+4;c[l+1032>>2]=256;c[l+4>>2]=c[a>>2];c[l+1028>>2]=1;while(1){bT(1,443702);f=(c[l+1028>>2]|0)+-1|0;c[l+1028>>2]=f;e=c[l>>2]|0;h=c[e+(f<<2)>>2]|0;if((h|0)!=-1){j=c[a+4>>2]|0;if(!((+g[d>>2]-+g[j+(h*36|0)+8>>2]>0.0?1:+g[d+4>>2]-+g[j+(h*36|0)+12>>2]>0.0)|+g[j+(h*36|0)>>2]-+g[d+8>>2]>0.0|+g[j+(h*36|0)+4>>2]-+g[d+12>>2]>0.0)){if((c[j+(h*36|0)+24>>2]|0)==-1){j=Apa(b,h)|0;if(j&(c[l+1028>>2]|0)>0)continue;else{k=7;break}}if((f|0)==(c[l+1032>>2]|0)){c[l+1032>>2]=f<<1;f=_S(f<<3)|0;c[l>>2]=f;mBb(f|0,e|0,c[l+1028>>2]<<2|0)|0;if((e|0)!=(l+4|0))$S(e)}e=c[l>>2]|0;c[e+(c[l+1028>>2]<<2)>>2]=c[j+(h*36|0)+24>>2];f=(c[l+1028>>2]|0)+1|0;c[l+1028>>2]=f;if((f|0)==(c[l+1032>>2]|0)){c[l+1032>>2]=f<<1;f=_S(f<<3)|0;c[l>>2]=f;mBb(f|0,e|0,c[l+1028>>2]<<2|0)|0;if((e|0)!=(l+4|0))$S(e)}e=c[l>>2]|0;c[e+(c[l+1028>>2]<<2)>>2]=c[j+(h*36|0)+28>>2];f=(c[l+1028>>2]|0)+1|0;c[l+1028>>2]=f}}if((f|0)<=0)break}if((k|0)==7)e=c[l>>2]|0;if((e|0)==(l+4|0)){i=l;return}$S(e);c[l>>2]=0;i=l;return}function Iqa(d,f,h){d=d|0;f=f|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;p=c[f+16>>2]|0;q=c[h+16>>2]|0;o=c[f+20>>2]|0;n=c[h+20>>2]|0;m=c[p+8>>2]|0;l=c[q+8>>2]|0;if((m|0)==(l|0))return;f=c[l+112>>2]|0;a:do if(f|0){while(1){if((c[f>>2]|0)==(m|0)){k=c[f+4>>2]|0;h=c[k+48>>2]|0;i=c[k+52>>2]|0;j=c[k+56>>2]|0;k=c[k+60>>2]|0;if((h|0)==(p|0)&(i|0)==(q|0)&(j|0)==(o|0)&(k|0)==(n|0)){f=24;break}if((h|0)==(q|0)&(i|0)==(p|0)&(j|0)==(n|0)&(k|0)==(o|0)){f=24;break}}f=c[f+12>>2]|0;if(!f)break a}if((f|0)==24)return}while(0);if(!(nqa(l,m)|0))return;f=c[d+68>>2]|0;if(f|0)if(!(Gi[c[(c[f>>2]|0)+8>>2]&255](f,p,q)|0))return;h=yT(p,o,q,n,c[d+76>>2]|0)|0;if(!h)return;i=c[h+48>>2]|0;j=c[h+52>>2]|0;k=c[i+8>>2]|0;l=c[j+8>>2]|0;c[h+8>>2]=0;f=c[d+60>>2]|0;c[h+12>>2]=f;if(f|0)c[f+8>>2]=h;c[d+60>>2]=h;c[h+20>>2]=h;c[h+16>>2]=l;c[h+24>>2]=0;f=c[k+112>>2]|0;c[h+28>>2]=f;if(f|0)c[f+8>>2]=h+16;c[k+112>>2]=h+16;c[h+36>>2]=h;c[h+32>>2]=k;c[h+40>>2]=0;f=c[l+112>>2]|0;c[h+44>>2]=f;if(f|0)c[f+8>>2]=h+32;c[l+112>>2]=h+32;if(!(a[i+38>>0]|0))if(!(a[j+38>>0]|0)){f=e[k+4>>1]|0;if(!(f&2)){b[k+4>>1]=f|2;g[k+144>>2]=0.0}f=e[l+4>>1]|0;if(!(f&2)){b[l+4>>1]=f|2;g[l+144>>2]=0.0}}c[d+64>>2]=(c[d+64>>2]|0)+1;return}function Jqa(a){a=a|0;b[a+32>>1]=1;b[a+34>>1]=-1;b[a+36>>1]=0;c[a+40>>2]=0;c[a+24>>2]=0;c[a+28>>2]=0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;return}function Kqa(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0;c[d+40>>2]=c[g+4>>2];c[d+16>>2]=c[g+8>>2];c[d+20>>2]=c[g+12>>2];c[d+8>>2]=f;c[d+4>>2]=0;b[d+32>>1]=b[g+22>>1]|0;b[d+32+2>>1]=b[g+22+2>>1]|0;b[d+32+4>>1]=b[g+22+4>>1]|0;a[d+38>>0]=a[g+20>>0]|0;h=c[g>>2]|0;h=Xi[c[(c[h>>2]|0)+8>>2]&511](h,e)|0;c[d+12>>2]=h;h=vi[c[(c[h>>2]|0)+12>>2]&2047](h)|0;f=US(e,h*28|0)|0;c[d+24>>2]=f;if((h|0)>0)e=0;else{h=d+28|0;c[h>>2]=0;g=g+16|0;g=c[g>>2]|0;c[d>>2]=g;return}do{c[f+(e*28|0)+16>>2]=0;c[f+(e*28|0)+24>>2]=-1;e=e+1|0}while((e|0)!=(h|0));h=d+28|0;c[h>>2]=0;g=g+16|0;g=c[g>>2]|0;c[d>>2]=g;return}function Lqa(a,b){a=a|0;b=b|0;var d=0;bT((c[a+28>>2]|0)==0,443714);d=c[a+12>>2]|0;d=vi[c[(c[d>>2]|0)+12>>2]&2047](d)|0;VS(b,c[a+24>>2]|0,d*28|0);c[a+24>>2]=0;d=c[a+12>>2]|0;switch(c[d+4>>2]|0){case 0:{Hi[c[c[d>>2]>>2]&1023](d);VS(b,d,20);c[a+12>>2]=0;return}case 1:{Hi[c[c[d>>2]>>2]&1023](d);VS(b,d,48);c[a+12>>2]=0;return}case 2:{Hi[c[c[d>>2]>>2]&1023](d);VS(b,d,152);c[a+12>>2]=0;return}case 3:{Hi[c[c[d>>2]>>2]&1023](d);VS(b,d,40);c[a+12>>2]=0;return}default:{bT(0,619694);c[a+12>>2]=0;return}}}function Mqa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;bT((c[a+28>>2]|0)==0,443714);e=c[a+12>>2]|0;e=vi[c[(c[e>>2]|0)+12>>2]&2047](e)|0;c[a+28>>2]=e;if((e|0)<=0)return;e=0;do{f=c[a+24>>2]|0;g=f+(e*28|0)|0;h=c[a+12>>2]|0;kj[c[(c[h>>2]|0)+24>>2]&127](h,g,d,e);c[f+(e*28|0)+24>>2]=wpa(b,g,g)|0;c[f+(e*28|0)+16>>2]=a;c[f+(e*28|0)+20>>2]=e;e=e+1|0}while((e|0)<(c[a+28>>2]|0));return}function Nqa(a,b){a=a|0;b=b|0;var d=0,e=0;if((c[a+28>>2]|0)<=0){c[a+28>>2]=0;return}d=0;do{e=(c[a+24>>2]|0)+(d*28|0)+24|0;xpa(b,c[e>>2]|0);c[e>>2]=-1;d=d+1|0}while((d|0)<(c[a+28>>2]|0));c[a+28>>2]=0;return}function Oqa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0,j=0,k=0,l=0.0,m=0.0,n=0.0,o=0.0,p=0;h=i;i=i+48|0;if((c[a+28>>2]|0)<=0){i=h;return}f=0;do{k=c[a+24>>2]|0;p=c[a+12>>2]|0;j=k+(f*28|0)+20|0;kj[c[(c[p>>2]|0)+24>>2]&127](p,h+24|0,d,c[j>>2]|0);p=c[a+12>>2]|0;kj[c[(c[p>>2]|0)+24>>2]&127](p,h+8|0,e,c[j>>2]|0);j=k+(f*28|0)|0;l=+g[h+24>>2];m=+g[h+8>>2];n=+g[h+24+4>>2];o=+g[h+8+4>>2];g[j>>2]=l>2]=n>2];n=+g[h+8+8>>2];m=+g[h+24+12>>2];l=+g[h+8+12>>2];g[k+(f*28|0)+8>>2]=o>n?o:n;g[k+(f*28|0)+12>>2]=m>l?m:l;l=+g[e+4>>2]-+g[d+4>>2];g[h>>2]=+g[e>>2]-+g[d>>2];g[h+4>>2]=l;ypa(b,c[k+(f*28|0)+24>>2]|0,j,h);f=f+1|0}while((f|0)<(c[a+28>>2]|0));i=h;return}function Pqa(a,d){a=a|0;d=d|0;var e=0,f=0;b[a+32>>1]=b[d>>1]|0;b[a+32+2>>1]=b[d+2>>1]|0;b[a+32+4>>1]=b[d+4>>1]|0;f=c[a+8>>2]|0;if(!f)return;d=c[f+112>>2]|0;if(d|0)do{e=c[d+4>>2]|0;if((c[e+48>>2]|0)==(a|0)?1:(c[e+52>>2]|0)==(a|0))c[e+4>>2]=c[e+4>>2]|8;d=c[d+12>>2]|0}while((d|0)!=0);d=c[f+88>>2]|0;if(!d)return;if((c[a+28>>2]|0)<=0)return;e=0;do{zpa(d+102872|0,c[(c[a+24>>2]|0)+(e*28|0)+24>>2]|0);e=e+1|0}while((e|0)<(c[a+28>>2]|0));return}function Qqa(f,h){f=f|0;h=h|0;var i=0,j=0;if((h&1|0)==(d[f+38>>0]|0|0))return;i=c[f+8>>2]|0;j=e[i+4>>1]|0;if(!(j&2)){b[i+4>>1]=j|2;g[i+144>>2]=0.0}a[f+38>>0]=h&1;return}function Rqa(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;c[a+40>>2]=b;c[a+44>>2]=d;c[a+48>>2]=e;c[a+28>>2]=0;c[a+36>>2]=0;c[a+32>>2]=0;c[a>>2]=f;c[a+4>>2]=g;c[a+8>>2]=aqa(f,b<<2)|0;c[a+12>>2]=aqa(c[a>>2]|0,d<<2)|0;c[a+16>>2]=aqa(c[a>>2]|0,e<<2)|0;c[a+24>>2]=aqa(c[a>>2]|0,(c[a+40>>2]|0)*12|0)|0;c[a+20>>2]=aqa(c[a>>2]|0,(c[a+40>>2]|0)*12|0)|0;return}function Sqa(a){a=a|0;bqa(c[a>>2]|0,c[a+20>>2]|0);bqa(c[a>>2]|0,c[a+24>>2]|0);bqa(c[a>>2]|0,c[a+16>>2]|0);bqa(c[a>>2]|0,c[a+12>>2]|0);bqa(c[a>>2]|0,c[a+8>>2]|0);return}function Tqa(d,f,h,j,l){d=d|0;f=f|0;h=h|0;j=j|0;l=l|0;var m=0,n=0.0,o=0,p=0,q=0,r=0,s=0.0,t=0.0,u=0,v=0,w=0,x=0.0,y=0,z=0.0,A=0.0;y=i;i=i+160|0;x=+g[h>>2];if((c[d+28>>2]|0)>0){v=0;do{p=c[(c[d+8>>2]|0)+(v<<2)>>2]|0;q=c[p+44>>2]|0;r=c[p+44+4>>2]|0;u=c[p+56>>2]|0;m=c[p+64>>2]|0;o=c[p+68>>2]|0;n=+g[p+72>>2];c[p+36>>2]=q;c[p+36+4>>2]=r;c[p+52>>2]=u;if((c[p>>2]|0)==2){t=+g[p+140>>2];s=+g[p+120>>2];z=(c[k>>2]=m,+g[k>>2])+x*(t*+g[j>>2]+s*+g[p+76>>2]);s=(c[k>>2]=o,+g[k>>2])+x*(t*+g[j+4>>2]+s*+g[p+80>>2]);t=1.0/(x*+g[p+132>>2]+1.0);m=(g[k>>2]=z*t,c[k>>2]|0);o=(g[k>>2]=s*t,c[k>>2]|0);n=(n+x*+g[p+128>>2]*+g[p+84>>2])*(1.0/(x*+g[p+136>>2]+1.0))}w=(c[d+20>>2]|0)+(v*12|0)|0;c[w>>2]=q;c[w+4>>2]=r;c[(c[d+20>>2]|0)+(v*12|0)+8>>2]=u;w=c[d+24>>2]|0;c[w+(v*12|0)>>2]=m;c[w+(v*12|0)+4>>2]=o;g[(c[d+24>>2]|0)+(v*12|0)+8>>2]=n;v=v+1|0}while((v|0)<(c[d+28>>2]|0));v=d+24|0;w=d+20|0}else{v=d+24|0;w=d+20|0};c[y+96>>2]=c[h>>2];c[y+96+4>>2]=c[h+4>>2];c[y+96+8>>2]=c[h+8>>2];c[y+96+12>>2]=c[h+12>>2];c[y+96+16>>2]=c[h+16>>2];c[y+96+20>>2]=c[h+20>>2];u=c[w>>2]|0;c[y+96+24>>2]=u;j=c[v>>2]|0;c[y+96+28>>2]=j;c[y+52>>2]=c[h>>2];c[y+52+4>>2]=c[h+4>>2];c[y+52+8>>2]=c[h+8>>2];c[y+52+12>>2]=c[h+12>>2];c[y+52+16>>2]=c[h+16>>2];c[y+52+20>>2]=c[h+20>>2];c[y+52+24>>2]=c[d+12>>2];c[y+52+28>>2]=c[d+36>>2];c[y+52+32>>2]=u;c[y+52+36>>2]=j;c[y+52+40>>2]=c[d>>2];fra(y,y+52|0);hra(y);if(a[h+20>>0]|0)ira(y);if((c[d+32>>2]|0)>0){m=0;do{j=c[(c[d+16>>2]|0)+(m<<2)>>2]|0;si[c[(c[j>>2]|0)+32>>2]&511](j,y+96|0);m=m+1|0}while((m|0)<(c[d+32>>2]|0))}g[f+12>>2]=+eqa(y+148|0);if((c[h+12>>2]|0)>0){m=0;do{if((c[d+32>>2]|0)>0){o=0;do{j=c[(c[d+16>>2]|0)+(o<<2)>>2]|0;si[c[(c[j>>2]|0)+36>>2]&511](j,y+96|0);o=o+1|0}while((o|0)<(c[d+32>>2]|0))}jra(y);m=m+1|0}while((m|0)<(c[h+12>>2]|0))}kra(y);g[f+16>>2]=+eqa(y+148|0);if((c[d+28>>2]|0)>0){m=c[v>>2]|0;j=0;do{q=c[w>>2]|0;r=q+(j*12|0)|0;u=q+(j*12|0)+4|0;o=c[m+(j*12|0)>>2]|0;p=c[m+(j*12|0)+4>>2]|0;n=+g[m+(j*12|0)+8>>2];s=(c[k>>2]=o,+g[k>>2]);t=(c[k>>2]=p,+g[k>>2]);if(x*s*(x*s)+x*t*(x*t)>4.0){z=2.0/+O(+(x*s*(x*s)+x*t*(x*t)));o=(g[k>>2]=s*z,c[k>>2]|0);m=(g[k>>2]=t*z,c[k>>2]|0)}else m=p;if(x*n*(x*n)>2.4674012660980225)n=n*(1.5707963705062866/(x*n>0.0?x*n:-(x*n)));s=x*(c[k>>2]=o,+g[k>>2]);t=+g[u>>2]+x*(c[k>>2]=m,+g[k>>2]);z=+g[q+(j*12|0)+8>>2]+x*n;g[r>>2]=+g[r>>2]+s;g[u>>2]=t;g[(c[w>>2]|0)+(j*12|0)+8>>2]=z;u=c[v>>2]|0;c[u+(j*12|0)>>2]=o;c[u+(j*12|0)+4>>2]=m;m=c[v>>2]|0;g[m+(j*12|0)+8>>2]=n;j=j+1|0}while((j|0)<(c[d+28>>2]|0))}if((c[h+16>>2]|0)>0){r=0;m=0;do{q=lra(y)|0;if((c[d+32>>2]|0)>0){p=0;o=1;do{j=c[(c[d+16>>2]|0)+(p<<2)>>2]|0;o=o&(Xi[c[(c[j>>2]|0)+40>>2]&511](j,y+96|0)|0);p=p+1|0}while((p|0)<(c[d+32>>2]|0))}else o=1;j=q&o;m=m|j;r=r+1|0}while((r|0)<(c[h+16>>2]|0)&(j^1));u=m^1}else u=1;if((c[d+28>>2]|0)>0){m=0;do{h=c[(c[d+8>>2]|0)+(m<<2)>>2]|0;j=(c[w>>2]|0)+(m*12|0)|0;r=c[j>>2]|0;j=c[j+4>>2]|0;c[h+44>>2]=r;c[h+44+4>>2]=j;q=c[(c[w>>2]|0)+(m*12|0)+8>>2]|0;c[h+56>>2]=q;o=(c[v>>2]|0)+(m*12|0)|0;p=c[o+4>>2]|0;c[h+64>>2]=c[o>>2];c[h+64+4>>2]=p;c[h+72>>2]=c[(c[v>>2]|0)+(m*12|0)+8>>2];s=(c[k>>2]=q,+g[k>>2]);A=+R(+s);g[h+20>>2]=A;s=+Q(+s);g[h+24>>2]=s;n=+g[h+28>>2];z=+g[h+32>>2];t=(c[k>>2]=r,+g[k>>2])-(s*n-A*z);z=(c[k>>2]=j,+g[k>>2])-(A*n+s*z);g[h+12>>2]=t;g[h+16>>2]=z;m=m+1|0}while((m|0)<(c[d+28>>2]|0))}g[f+20>>2]=+eqa(y+148|0);m=c[y+40>>2]|0;if(c[d+4>>2]|0)if((c[d+36>>2]|0)>0){q=0;do{o=c[(c[d+12>>2]|0)+(q<<2)>>2]|0;p=c[m+(q*156|0)+148>>2]|0;c[y+128+16>>2]=p;if((p|0)>0){r=0;do{c[y+128+(r<<2)>>2]=c[m+(q*156|0)+(r*36|0)+16>>2];c[y+128+8+(r<<2)>>2]=c[m+(q*156|0)+(r*36|0)+20>>2];r=r+1|0}while((r|0)!=(p|0))}f=c[d+4>>2]|0;$i[c[(c[f>>2]|0)+20>>2]&255](f,o,y+128|0);q=q+1|0}while((q|0)<(c[d+36>>2]|0))}if(!l){gra(y);i=y;return}o=c[d+28>>2]|0;if((o|0)>0){p=c[d+8>>2]|0;q=0;n=3402823466385288598117041.0e14;do{m=c[p+(q<<2)>>2]|0;do if(c[m>>2]|0){if(b[m+4>>1]&4){A=+g[m+72>>2];if(!(A*A>.001218469929881394)){z=+g[m+64>>2];A=+g[m+68>>2];if(!(z*z+A*A>9.999999747378752e-05)){A=x+ +g[m+144>>2];g[m+144>>2]=A;n=n>2]=0.0;n=0.0}while(0);q=q+1|0}while((q|0)<(o|0))}else n=3402823466385288598117041.0e14;if(!(n>=.5)|u){gra(y);i=y;return}if((c[d+28>>2]|0)<=0){gra(y);i=y;return}m=0;do{l=c[(c[d+8>>2]|0)+(m<<2)>>2]|0;b[l+4>>1]=e[l+4>>1]&65533;g[l+144>>2]=0.0;c[l+64>>2]=0;c[l+64+4>>2]=0;c[l+64+8>>2]=0;c[l+64+12>>2]=0;c[l+64+16>>2]=0;c[l+64+20>>2]=0;m=m+1|0}while((m|0)<(c[d+28>>2]|0));gra(y);i=y;return}function Uqa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0,j=0.0,l=0.0,m=0.0,n=0.0,o=0,p=0,q=0,r=0,s=0,t=0.0,u=0.0,v=0.0;r=i;i=i+128|0;bT((c[a+28>>2]|0)>(d|0),443732);bT((c[a+28>>2]|0)>(e|0),443756);if((c[a+28>>2]|0)>0){f=0;do{q=c[(c[a+8>>2]|0)+(f<<2)>>2]|0;h=c[q+44+4>>2]|0;p=(c[a+20>>2]|0)+(f*12|0)|0;c[p>>2]=c[q+44>>2];c[p+4>>2]=h;c[(c[a+20>>2]|0)+(f*12|0)+8>>2]=c[q+56>>2];p=c[q+64+4>>2]|0;h=(c[a+24>>2]|0)+(f*12|0)|0;c[h>>2]=c[q+64>>2];c[h+4>>2]=p;h=c[a+24>>2]|0;c[h+(f*12|0)+8>>2]=c[q+72>>2];f=f+1|0}while((f|0)<(c[a+28>>2]|0));p=a+24|0;q=a+20|0;f=h}else{p=a+24|0;q=a+20|0;f=c[a+24>>2]|0}c[r+52+24>>2]=c[a+12>>2];c[r+52+28>>2]=c[a+36>>2];c[r+52+40>>2]=c[a>>2];c[r+52>>2]=c[b>>2];c[r+52+4>>2]=c[b+4>>2];c[r+52+8>>2]=c[b+8>>2];c[r+52+12>>2]=c[b+12>>2];c[r+52+16>>2]=c[b+16>>2];c[r+52+20>>2]=c[b+20>>2];c[r+52+32>>2]=c[q>>2];c[r+52+36>>2]=f;fra(r,r+52|0);if((c[b+16>>2]|0)>0){f=0;do{f=f+1|0;o=(nra(r,d,e)|0)^1}while((f|0)<(c[b+16>>2]|0)&o)}f=(c[q>>2]|0)+(d*12|0)|0;o=c[f+4>>2]|0;h=(c[(c[a+8>>2]|0)+(d<<2)>>2]|0)+36|0;c[h>>2]=c[f>>2];c[h+4>>2]=o;h=c[q>>2]|0;o=c[a+8>>2]|0;c[(c[o+(d<<2)>>2]|0)+52>>2]=c[h+(d*12|0)+8>>2];d=c[h+(e*12|0)+4>>2]|0;o=(c[o+(e<<2)>>2]|0)+36|0;c[o>>2]=c[h+(e*12|0)>>2];c[o+4>>2]=d;c[(c[(c[a+8>>2]|0)+(e<<2)>>2]|0)+52>>2]=c[(c[q>>2]|0)+(e*12|0)+8>>2];hra(r);if((c[b+12>>2]|0)>0){f=0;do{jra(r);f=f+1|0}while((f|0)<(c[b+12>>2]|0))}n=+g[b>>2];if((c[a+28>>2]|0)>0){o=0;do{d=c[q>>2]|0;e=d+(o*12|0)|0;b=d+(o*12|0)+4|0;s=c[p>>2]|0;h=c[s+(o*12|0)>>2]|0;f=c[s+(o*12|0)+4>>2]|0;j=+g[s+(o*12|0)+8>>2];l=(c[k>>2]=h,+g[k>>2]);m=(c[k>>2]=f,+g[k>>2]);if(n*l*(n*l)+n*m*(n*m)>4.0){t=2.0/+O(+(n*l*(n*l)+n*m*(n*m)));h=(g[k>>2]=l*t,c[k>>2]|0);f=(g[k>>2]=m*t,c[k>>2]|0)}if(n*j*(n*j)>2.4674012660980225)j=j*(1.5707963705062866/(n*j>0.0?n*j:-(n*j)));v=n*(c[k>>2]=h,+g[k>>2]);v=+g[e>>2]+v;u=+g[b>>2]+n*(c[k>>2]=f,+g[k>>2]);m=+g[d+(o*12|0)+8>>2]+n*j;g[e>>2]=v;g[b>>2]=u;g[(c[q>>2]|0)+(o*12|0)+8>>2]=m;s=c[p>>2]|0;c[s+(o*12|0)>>2]=h;c[s+(o*12|0)+4>>2]=f;g[(c[p>>2]|0)+(o*12|0)+8>>2]=j;s=c[(c[a+8>>2]|0)+(o<<2)>>2]|0;g[s+44>>2]=v;g[s+48>>2]=u;g[s+56>>2]=m;c[s+64>>2]=h;c[s+68>>2]=f;g[s+72>>2]=j;j=+R(+m);g[s+20>>2]=j;m=+Q(+m);g[s+24>>2]=m;l=+g[s+28>>2];t=+g[s+32>>2];g[s+12>>2]=v-(m*l-j*t);g[s+16>>2]=u-(j*l+m*t);o=o+1|0}while((o|0)<(c[a+28>>2]|0))}f=c[r+40>>2]|0;if(!(c[a+4>>2]|0)){gra(r);i=r;return}if((c[a+36>>2]|0)<=0){gra(r);i=r;return}e=0;do{h=c[(c[a+12>>2]|0)+(e<<2)>>2]|0;d=c[f+(e*156|0)+148>>2]|0;c[r+96+16>>2]=d;if((d|0)>0){b=0;do{c[r+96+(b<<2)>>2]=c[f+(e*156|0)+(b*36|0)+16>>2];c[r+96+8+(b<<2)>>2]=c[f+(e*156|0)+(b*36|0)+20>>2];b=b+1|0}while((b|0)!=(d|0))}s=c[a+4>>2]|0;$i[c[(c[s>>2]|0)+20>>2]&255](s,h,r+96|0);e=e+1|0}while((e|0)<(c[a+36>>2]|0));gra(r);i=r;return}function Vqa(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var h=0,j=0;h=i;i=i+48|0;j=c[(c[a+48>>2]|0)+12>>2]|0;c[h>>2]=19588;c[h+4>>2]=1;g[h+8>>2]=.009999999776482582;c[h+28>>2]=0;c[h+28+4>>2]=0;c[h+28+8>>2]=0;c[h+28+12>>2]=0;b[h+28+16>>1]=0;rS(j,h,c[a+56>>2]|0);Dpa(d,h,e,c[(c[a+52>>2]|0)+12>>2]|0,f);i=h;return}function Wqa(a){a=a|0;oAb(a);return}function Xqa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;f=US(f,148)|0;AT(f,a,b,d,e);c[f>>2]=31756;bT((c[(c[(c[f+48>>2]|0)+12>>2]|0)+4>>2]|0)==3,443833);bT((c[(c[(c[f+52>>2]|0)+12>>2]|0)+4>>2]|0)==0,443980);return f|0}function Yqa(a,b){a=a|0;b=b|0;Hi[c[(c[a>>2]|0)+4>>2]&1023](a);VS(b,a,148);return}function Zqa(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var h=0,j=0;h=i;i=i+48|0;j=c[(c[a+48>>2]|0)+12>>2]|0;c[h>>2]=19588;c[h+4>>2]=1;g[h+8>>2]=.009999999776482582;c[h+28>>2]=0;c[h+28+4>>2]=0;c[h+28+8>>2]=0;c[h+28+12>>2]=0;b[h+28+16>>1]=0;rS(j,h,c[a+56>>2]|0);Gpa(d,h,e,c[(c[a+52>>2]|0)+12>>2]|0,f);i=h;return}function _qa(a){a=a|0;oAb(a);return}function $qa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;f=US(f,148)|0;AT(f,a,b,d,e);c[f>>2]=31776;bT((c[(c[(c[f+48>>2]|0)+12>>2]|0)+4>>2]|0)==3,443833);bT((c[(c[(c[f+52>>2]|0)+12>>2]|0)+4>>2]|0)==2,443875);return f|0}function ara(a,b){a=a|0;b=b|0;Hi[c[(c[a>>2]|0)+4>>2]&1023](a);VS(b,a,148);return}function bra(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;Bpa(b,c[(c[a+48>>2]|0)+12>>2]|0,d,c[(c[a+52>>2]|0)+12>>2]|0,e);return}function cra(a){a=a|0;oAb(a);return}function dra(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;f=US(f,148)|0;AT(f,a,0,d,0);c[f>>2]=31796;bT((c[(c[(c[f+48>>2]|0)+12>>2]|0)+4>>2]|0)==0,443937);bT((c[(c[(c[f+52>>2]|0)+12>>2]|0)+4>>2]|0)==0,443980);return f|0}function era(a,b){a=a|0;b=b|0;Hi[c[(c[a>>2]|0)+4>>2]&1023](a);VS(b,a,148);return}function fra(b,d){b=b|0;d=d|0;var e=0,f=0.0,h=0.0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;c[b>>2]=c[d>>2];c[b+4>>2]=c[d+4>>2];c[b+8>>2]=c[d+8>>2];c[b+12>>2]=c[d+12>>2];c[b+16>>2]=c[d+16>>2];c[b+20>>2]=c[d+20>>2];k=c[d+40>>2]|0;c[b+32>>2]=k;l=c[d+28>>2]|0;c[b+48>>2]=l;c[b+36>>2]=aqa(k,l*88|0)|0;c[b+40>>2]=aqa(c[b+32>>2]|0,(c[b+48>>2]|0)*156|0)|0;c[b+24>>2]=c[d+32>>2];c[b+28>>2]=c[d+36>>2];d=c[d+24>>2]|0;c[b+44>>2]=d;if((c[b+48>>2]|0)<=0)return;e=0;while(1){d=c[d+(e<<2)>>2]|0;o=c[d+48>>2]|0;n=c[d+52>>2]|0;m=c[(c[o+12>>2]|0)+8>>2]|0;l=c[(c[n+12>>2]|0)+8>>2]|0;o=c[o+8>>2]|0;n=c[n+8>>2]|0;i=c[d+124>>2]|0;bT((i|0)>0,444023);j=c[b+40>>2]|0;c[j+(e*156|0)+136>>2]=c[d+136>>2];c[j+(e*156|0)+140>>2]=c[d+140>>2];c[j+(e*156|0)+144>>2]=c[d+144>>2];c[j+(e*156|0)+112>>2]=c[o+8>>2];c[j+(e*156|0)+116>>2]=c[n+8>>2];c[j+(e*156|0)+120>>2]=c[o+120>>2];c[j+(e*156|0)+124>>2]=c[n+120>>2];c[j+(e*156|0)+128>>2]=c[o+128>>2];c[j+(e*156|0)+132>>2]=c[n+128>>2];c[j+(e*156|0)+152>>2]=e;c[j+(e*156|0)+148>>2]=i;k=j+(e*156|0)+80|0;c[k>>2]=0;c[k+4>>2]=0;c[k+8>>2]=0;c[k+12>>2]=0;c[k+16>>2]=0;c[k+20>>2]=0;c[k+24>>2]=0;c[k+28>>2]=0;k=c[b+36>>2]|0;c[k+(e*88|0)+32>>2]=c[o+8>>2];c[k+(e*88|0)+36>>2]=c[n+8>>2];c[k+(e*88|0)+40>>2]=c[o+120>>2];c[k+(e*88|0)+44>>2]=c[n+120>>2];p=c[o+28+4>>2]|0;q=k+(e*88|0)+48|0;c[q>>2]=c[o+28>>2];c[q+4>>2]=p;q=c[n+28+4>>2]|0;p=k+(e*88|0)+56|0;c[p>>2]=c[n+28>>2];c[p+4>>2]=q;c[k+(e*88|0)+64>>2]=c[o+128>>2];c[k+(e*88|0)+68>>2]=c[n+128>>2];n=c[d+104+4>>2]|0;o=k+(e*88|0)+16|0;c[o>>2]=c[d+104>>2];c[o+4>>2]=n;o=c[d+112+4>>2]|0;n=k+(e*88|0)+24|0;c[n>>2]=c[d+112>>2];c[n+4>>2]=o;c[k+(e*88|0)+84>>2]=i;c[k+(e*88|0)+76>>2]=m;c[k+(e*88|0)+80>>2]=l;c[k+(e*88|0)+72>>2]=c[d+120>>2];if((i|0)>0){l=0;do{if(!(a[b+20>>0]|0)){f=0.0;h=0.0}else{h=+g[b+8>>2];f=h*+g[d+64+(l*20|0)+12>>2];h=h*+g[d+64+(l*20|0)+8>>2]}g[j+(e*156|0)+(l*36|0)+16>>2]=h;g[j+(e*156|0)+(l*36|0)+20>>2]=f;o=j+(e*156|0)+(l*36|0)|0;g[j+(e*156|0)+(l*36|0)+24>>2]=0.0;g[j+(e*156|0)+(l*36|0)+28>>2]=0.0;g[j+(e*156|0)+(l*36|0)+32>>2]=0.0;c[o>>2]=0;c[o+4>>2]=0;c[o+8>>2]=0;c[o+12>>2]=0;o=d+64+(l*20|0)|0;p=c[o+4>>2]|0;q=k+(e*88|0)+(l<<3)|0;c[q>>2]=c[o>>2];c[q+4>>2]=p;l=l+1|0}while((l|0)!=(i|0))}e=e+1|0;if((e|0)>=(c[b+48>>2]|0))break;d=c[b+44>>2]|0}return}function gra(a){a=a|0;bqa(c[a+32>>2]|0,c[a+40>>2]|0);bqa(c[a+32>>2]|0,c[a+36>>2]|0);return}function hra(a){a=a|0;var b=0.0,d=0.0,e=0.0,f=0.0,h=0.0,j=0,k=0,l=0,m=0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0,u=0,v=0,w=0,x=0.0,y=0.0,z=0.0,A=0.0,B=0,C=0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0.0,K=0.0,L=0.0,M=0;C=i;i=i+64|0;if((c[a+48>>2]|0)<=0){i=C;return}B=0;do{w=c[a+40>>2]|0;u=c[a+36>>2]|0;D=+g[u+(B*88|0)+76>>2];b=+g[u+(B*88|0)+80>>2];t=c[(c[a+44>>2]|0)+(c[w+(B*156|0)+152>>2]<<2)>>2]|0;m=c[w+(B*156|0)+112>>2]|0;v=c[w+(B*156|0)+116>>2]|0;x=+g[w+(B*156|0)+120>>2];y=+g[w+(B*156|0)+124>>2];z=+g[w+(B*156|0)+128>>2];A=+g[w+(B*156|0)+132>>2];J=+g[u+(B*88|0)+48>>2];L=+g[u+(B*88|0)+52>>2];F=+g[u+(B*88|0)+56>>2];H=+g[u+(B*88|0)+60>>2];u=c[a+24>>2]|0;d=+g[u+(m*12|0)>>2];e=+g[u+(m*12|0)+4>>2];K=+g[u+(m*12|0)+8>>2];j=c[a+28>>2]|0;f=+g[j+(m*12|0)>>2];h=+g[j+(m*12|0)+4>>2];n=+g[j+(m*12|0)+8>>2];o=+g[u+(v*12|0)>>2];p=+g[u+(v*12|0)+4>>2];G=+g[u+(v*12|0)+8>>2];q=+g[j+(v*12|0)>>2];r=+g[j+(v*12|0)+4>>2];s=+g[j+(v*12|0)+8>>2];bT((c[t+124>>2]|0)>0,444038);I=+R(+K);g[C+48+8>>2]=I;K=+Q(+K);g[C+48+12>>2]=K;E=+R(+G);g[C+32+8>>2]=E;G=+Q(+G);g[C+32+12>>2]=G;g[C+48>>2]=d-(J*K-L*I);g[C+48+4>>2]=e-(L*K+J*I);g[C+32>>2]=o-(F*G-H*E);g[C+32+4>>2]=p-(H*G+F*E);Jpa(C,t+64|0,C+48|0,D,C+32|0,b);t=w+(B*156|0)+72|0;v=c[C+4>>2]|0;c[t>>2]=c[C>>2];c[t+4>>2]=v;v=w+(B*156|0)+148|0;j=c[v>>2]|0;do if((j|0)>0){k=w+(B*156|0)+76|0;l=w+(B*156|0)+140|0;u=0;do{M=C+8+(u<<3)|0;b=+g[M>>2]-d;m=C+8+(u<<3)+4|0;K=+g[m>>2]-e;g[w+(B*156|0)+(u*36|0)>>2]=b;g[w+(B*156|0)+(u*36|0)+4>>2]=K;L=+g[M>>2]-o;J=+g[m>>2]-p;g[w+(B*156|0)+(u*36|0)+8>>2]=L;g[w+(B*156|0)+(u*36|0)+12>>2]=J;H=+g[k>>2];I=+g[t>>2];I=x+y+(b*H-K*I)*(z*(b*H-K*I))+(H*L-I*J)*(A*(H*L-I*J));g[w+(B*156|0)+(u*36|0)+24>>2]=I>0.0?1.0/I:0.0;I=+g[k>>2];H=-+g[t>>2];I=x+y+(b*H-I*K)*(z*(b*H-I*K))+(L*H-I*J)*(A*(L*H-I*J));g[w+(B*156|0)+(u*36|0)+28>>2]=I>0.0?1.0/I:0.0;m=w+(B*156|0)+(u*36|0)+32|0;g[m>>2]=0.0;b=+g[t>>2]*(q-s*J-f+n*K)+ +g[k>>2]*(r+s*L-h-n*b);if(b<-1.0)g[m>>2]=-(b*+g[l>>2]);u=u+1|0}while((u|0)!=(j|0));if(!((c[v>>2]|0)!=2|1==0)){e=+g[w+(B*156|0)+76>>2];d=+g[t>>2];h=+g[w+(B*156|0)>>2]*e-+g[w+(B*156|0)+4>>2]*d;f=e*+g[w+(B*156|0)+8>>2]-d*+g[w+(B*156|0)+12>>2];b=e*+g[w+(B*156|0)+36>>2]-d*+g[w+(B*156|0)+40>>2];d=e*+g[w+(B*156|0)+44>>2]-d*+g[w+(B*156|0)+48>>2];e=x+y+h*(z*h)+f*(A*f);f=x+y+z*h*b+A*f*d;h=e*(x+y+b*(z*b)+d*(A*d))-f*f;if(e*e>2]=e;g[w+(B*156|0)+100>>2]=f;g[w+(B*156|0)+104>>2]=f;g[w+(B*156|0)+108>>2]=x+y+b*(z*b)+d*(A*d);L=h!=0.0?1.0/h:h;g[w+(B*156|0)+80>>2]=(x+y+b*(z*b)+d*(A*d))*L;g[w+(B*156|0)+84>>2]=-(L*f);g[w+(B*156|0)+88>>2]=-(L*f);g[w+(B*156|0)+92>>2]=e*L;break}else{c[v>>2]=1;break}}}while(0);B=B+1|0}while((B|0)<(c[a+48>>2]|0));i=C;return}function ira(a){a=a|0;var b=0.0,d=0.0,e=0,f=0,h=0,i=0,j=0,l=0.0,m=0.0,n=0,o=0.0,p=0.0,q=0.0,r=0.0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0.0,A=0.0;if((c[a+48>>2]|0)<=0)return;h=c[a+28>>2]|0;y=0;do{t=c[a+40>>2]|0;w=c[t+(y*156|0)+112>>2]|0;x=c[t+(y*156|0)+116>>2]|0;o=+g[t+(y*156|0)+120>>2];p=+g[t+(y*156|0)+128>>2];q=+g[t+(y*156|0)+124>>2];r=+g[t+(y*156|0)+132>>2];s=c[t+(y*156|0)+148>>2]|0;u=h+(w*12|0)|0;i=c[u>>2]|0;v=h+(w*12|0)+4|0;j=c[v>>2]|0;d=+g[h+(w*12|0)+8>>2];f=c[h+(x*12|0)>>2]|0;e=c[h+(x*12|0)+4>>2]|0;b=+g[h+(x*12|0)+8>>2];l=+g[t+(y*156|0)+72>>2];m=+g[t+(y*156|0)+76>>2];if((s|0)>0){n=0;h=j;do{A=+g[t+(y*156|0)+(n*36|0)+16>>2];z=+g[t+(y*156|0)+(n*36|0)+20>>2];d=d-p*(+g[t+(y*156|0)+(n*36|0)>>2]*(m*A-l*z)-+g[t+(y*156|0)+(n*36|0)+4>>2]*(l*A+m*z));i=(g[k>>2]=(c[k>>2]=i,+g[k>>2])-o*(l*A+m*z),c[k>>2]|0);h=(g[k>>2]=(c[k>>2]=h,+g[k>>2])-o*(m*A-l*z),c[k>>2]|0);b=b+r*((m*A-l*z)*+g[t+(y*156|0)+(n*36|0)+8>>2]-(l*A+m*z)*+g[t+(y*156|0)+(n*36|0)+12>>2]);f=(g[k>>2]=(c[k>>2]=f,+g[k>>2])+q*(l*A+m*z),c[k>>2]|0);e=(g[k>>2]=(c[k>>2]=e,+g[k>>2])+q*(m*A-l*z),c[k>>2]|0);n=n+1|0}while((n|0)!=(s|0))}else h=j;c[u>>2]=i;c[v>>2]=h;h=c[a+28>>2]|0;g[h+(w*12|0)+8>>2]=d;c[h+(x*12|0)>>2]=f;c[h+(x*12|0)+4>>2]=e;h=c[a+28>>2]|0;g[h+(x*12|0)+8>>2]=b;y=y+1|0}while((y|0)<(c[a+48>>2]|0));return}function jra(a){a=a|0;var b=0.0,d=0,e=0,f=0,h=0.0,i=0,j=0,l=0.0,m=0,n=0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0,I=0,J=0.0,K=0.0,L=0.0,M=0.0,N=0.0,O=0.0,P=0,Q=0,R=0;if((c[a+48>>2]|0)<=0)return;d=c[a+28>>2]|0;R=0;do{I=c[a+40>>2]|0;P=c[I+(R*156|0)+112>>2]|0;Q=c[I+(R*156|0)+116>>2]|0;J=+g[I+(R*156|0)+120>>2];L=+g[I+(R*156|0)+128>>2];K=+g[I+(R*156|0)+124>>2];O=+g[I+(R*156|0)+132>>2];H=c[I+(R*156|0)+148>>2]|0;e=c[d+(P*12|0)>>2]|0;j=c[d+(P*12|0)+4>>2]|0;h=+g[d+(P*12|0)+8>>2];i=c[d+(Q*12|0)>>2]|0;f=c[d+(Q*12|0)+4>>2]|0;b=+g[d+(Q*12|0)+8>>2];M=+g[I+(R*156|0)+72>>2];N=+g[I+(R*156|0)+76>>2];l=+g[I+(R*156|0)+136>>2];bT((H+-1|0)>>>0<2,444063);if((H|0)>0){m=I+(R*156|0)+144|0;n=0;d=e;e=j;do{E=+g[I+(R*156|0)+(n*36|0)+12>>2];D=+g[I+(R*156|0)+(n*36|0)+8>>2];B=(c[k>>2]=i,+g[k>>2]);C=(c[k>>2]=f,+g[k>>2]);x=(c[k>>2]=d,+g[k>>2]);y=(c[k>>2]=e,+g[k>>2]);A=+g[I+(R*156|0)+(n*36|0)+4>>2];z=+g[I+(R*156|0)+(n*36|0)>>2];w=l*+g[I+(R*156|0)+(n*36|0)+16>>2];d=I+(R*156|0)+(n*36|0)+20|0;G=+g[d>>2];F=G-+g[I+(R*156|0)+(n*36|0)+28>>2]*(N*(B-b*E-x+h*A)+(C+b*D-y-h*z)*-M-+g[m>>2]);F=F>2]=F;d=(g[k>>2]=x-J*(N*(F-G)),c[k>>2]|0);e=(g[k>>2]=y-J*((F-G)*-M),c[k>>2]|0);h=h-L*(z*((F-G)*-M)-A*(N*(F-G)));i=(g[k>>2]=B+K*(N*(F-G)),c[k>>2]|0);f=(g[k>>2]=C+K*((F-G)*-M),c[k>>2]|0);b=b+O*(D*((F-G)*-M)-E*(N*(F-G)));n=n+1|0}while((n|0)!=(H|0))}else{d=e;e=j}do if((H|0)==1|1==0){if((H|0)>0){j=0;do{E=+g[I+(R*156|0)+(j*36|0)+12>>2];D=+g[I+(R*156|0)+(j*36|0)+8>>2];B=(c[k>>2]=i,+g[k>>2]);C=(c[k>>2]=f,+g[k>>2]);x=(c[k>>2]=d,+g[k>>2]);y=(c[k>>2]=e,+g[k>>2]);A=+g[I+(R*156|0)+(j*36|0)+4>>2];z=+g[I+(R*156|0)+(j*36|0)>>2];d=I+(R*156|0)+(j*36|0)+16|0;G=+g[d>>2];F=G-+g[I+(R*156|0)+(j*36|0)+24>>2]*(M*(B-b*E-x+h*A)+N*(C+b*D-y-h*z)-+g[I+(R*156|0)+(j*36|0)+32>>2]);F=F>0.0?F:0.0;g[d>>2]=F;d=(g[k>>2]=x-J*(M*(F-G)),c[k>>2]|0);e=(g[k>>2]=y-J*(N*(F-G)),c[k>>2]|0);h=h-L*(z*(N*(F-G))-A*(M*(F-G)));i=(g[k>>2]=B+K*(M*(F-G)),c[k>>2]|0);f=(g[k>>2]=C+K*(N*(F-G)),c[k>>2]|0);b=b+O*(D*(N*(F-G))-E*(M*(F-G)));j=j+1|0}while((j|0)!=(H|0))}}else{j=I+(R*156|0)+16|0;B=+g[j>>2];m=I+(R*156|0)+52|0;C=+g[m>>2];bT(B>=0.0&C>=0.0,444098);D=+g[I+(R*156|0)+12>>2];E=+g[I+(R*156|0)+8>>2];o=(c[k>>2]=i,+g[k>>2]);p=(c[k>>2]=f,+g[k>>2]);q=(c[k>>2]=d,+g[k>>2]);r=(c[k>>2]=e,+g[k>>2]);x=+g[I+(R*156|0)+4>>2];y=+g[I+(R*156|0)>>2];F=+g[I+(R*156|0)+48>>2];G=+g[I+(R*156|0)+44>>2];z=+g[I+(R*156|0)+40>>2];A=+g[I+(R*156|0)+36>>2];s=+g[I+(R*156|0)+104>>2];l=+g[I+(R*156|0)+100>>2];t=M*(o-b*D-q+h*x)+N*(p+b*E-r-h*y)-+g[I+(R*156|0)+32>>2]-(B*+g[I+(R*156|0)+96>>2]+C*s);u=M*(o-b*F-q+h*z)+N*(p+b*G-r-h*A)-+g[I+(R*156|0)+68>>2]-(B*l+C*+g[I+(R*156|0)+108>>2]);v=+g[I+(R*156|0)+80>>2]*t+ +g[I+(R*156|0)+88>>2]*u;w=t*+g[I+(R*156|0)+84>>2]+u*+g[I+(R*156|0)+92>>2];if(!(!(v<=-0.0)|!(w<=-0.0))){d=(g[k>>2]=q-J*(M*(-v-B)+M*(-w-C)),c[k>>2]|0);e=(g[k>>2]=r-J*(N*(-v-B)+N*(-w-C)),c[k>>2]|0);i=(g[k>>2]=o+K*(M*(-v-B)+M*(-w-C)),c[k>>2]|0);f=(g[k>>2]=p+K*(N*(-v-B)+N*(-w-C)),c[k>>2]|0);g[j>>2]=-v;g[m>>2]=-w;h=h-L*(y*(N*(-v-B))-x*(M*(-v-B))+(A*(N*(-w-C))-z*(M*(-w-C))));b=b+O*(E*(N*(-v-B))-D*(M*(-v-B))+(G*(N*(-w-C))-F*(M*(-w-C))));break}v=t*+g[I+(R*156|0)+24>>2];if(v<=-0.0&u+l*-v>=0.0){d=(g[k>>2]=q-J*(M*(0.0-C)+M*(-v-B)),c[k>>2]|0);e=(g[k>>2]=r-J*(N*(0.0-C)+N*(-v-B)),c[k>>2]|0);i=(g[k>>2]=o+K*(M*(0.0-C)+M*(-v-B)),c[k>>2]|0);f=(g[k>>2]=p+K*(N*(0.0-C)+N*(-v-B)),c[k>>2]|0);g[j>>2]=-v;c[m>>2]=0;h=h-L*(N*(-v-B)*y-M*(-v-B)*x+(N*(0.0-C)*A-M*(0.0-C)*z));b=b+O*(N*(-v-B)*E-M*(-v-B)*D+(N*(0.0-C)*G-M*(0.0-C)*F));break}l=u*+g[I+(R*156|0)+60>>2];if(l<=-0.0&t+s*-l>=0.0){d=(g[k>>2]=q-J*(M*(0.0-B)+M*(-l-C)),c[k>>2]|0);e=(g[k>>2]=r-J*(N*(0.0-B)+N*(-l-C)),c[k>>2]|0);i=(g[k>>2]=o+K*(M*(0.0-B)+M*(-l-C)),c[k>>2]|0);f=(g[k>>2]=p+K*(N*(0.0-B)+N*(-l-C)),c[k>>2]|0);c[j>>2]=0;g[m>>2]=-l;h=h-L*(N*(0.0-B)*y-M*(0.0-B)*x+(N*(-l-C)*A-M*(-l-C)*z));b=b+O*(N*(0.0-B)*E-M*(0.0-B)*D+(N*(-l-C)*G-M*(-l-C)*F));break}if(t>=0.0&u>=0.0){d=(g[k>>2]=q-J*(M*(0.0-B)+M*(0.0-C)),c[k>>2]|0);e=(g[k>>2]=r-J*(N*(0.0-B)+N*(0.0-C)),c[k>>2]|0);i=(g[k>>2]=o+K*(M*(0.0-B)+M*(0.0-C)),c[k>>2]|0);f=(g[k>>2]=p+K*(N*(0.0-B)+N*(0.0-C)),c[k>>2]|0);c[j>>2]=0;c[m>>2]=0;h=h-L*(N*(0.0-B)*y-M*(0.0-B)*x+(N*(0.0-C)*A-M*(0.0-C)*z));b=b+O*(N*(0.0-B)*E-M*(0.0-B)*D+(N*(0.0-C)*G-M*(0.0-C)*F))}}while(0);I=c[a+28>>2]|0;c[I+(P*12|0)>>2]=d;c[I+(P*12|0)+4>>2]=e;d=c[a+28>>2]|0;g[d+(P*12|0)+8>>2]=h;c[d+(Q*12|0)>>2]=i;c[d+(Q*12|0)+4>>2]=f;d=c[a+28>>2]|0;g[d+(Q*12|0)+8>>2]=b;R=R+1|0}while((R|0)<(c[a+48>>2]|0));return}function kra(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;g=c[a+48>>2]|0;if((g|0)<=0)return;h=c[a+40>>2]|0;d=c[a+44>>2]|0;e=0;do{a=c[d+(c[h+(e*156|0)+152>>2]<<2)>>2]|0;b=c[h+(e*156|0)+148>>2]|0;if((b|0)>0){f=0;do{c[a+64+(f*20|0)+8>>2]=c[h+(e*156|0)+(f*36|0)+16>>2];c[a+64+(f*20|0)+12>>2]=c[h+(e*156|0)+(f*36|0)+20>>2];f=f+1|0}while((f|0)<(b|0))}e=e+1|0}while((e|0)<(g|0));return}function lra(a){a=a|0;var b=0.0,d=0,e=0,f=0,h=0,j=0.0,l=0.0,m=0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0,H=0,I=0,J=0,K=0;K=i;i=i+64|0;if((c[a+48>>2]|0)<=0){F=0.0;a=F>=-.014999999664723873;i=K;return a|0}m=c[a+24>>2]|0;J=0;b=0.0;do{G=c[a+36>>2]|0;x=G+(J*88|0)|0;H=c[G+(J*88|0)+32>>2]|0;I=c[G+(J*88|0)+36>>2]|0;y=+g[G+(J*88|0)+48>>2];z=+g[G+(J*88|0)+52>>2];A=+g[G+(J*88|0)+40>>2];B=+g[G+(J*88|0)+64>>2];C=+g[G+(J*88|0)+56>>2];D=+g[G+(J*88|0)+60>>2];E=+g[G+(J*88|0)+44>>2];F=+g[G+(J*88|0)+68>>2];G=c[G+(J*88|0)+84>>2]|0;h=c[m+(H*12|0)>>2]|0;f=c[m+(H*12|0)+4>>2]|0;j=+g[m+(H*12|0)+8>>2];e=c[m+(I*12|0)>>2]|0;d=c[m+(I*12|0)+4>>2]|0;l=+g[m+(I*12|0)+8>>2];if((G|0)>0){m=0;do{w=+R(+j);g[K+40+8>>2]=w;t=+Q(+j);g[K+40+12>>2]=t;p=+R(+l);g[K+24+8>>2]=p;q=+Q(+l);g[K+24+12>>2]=q;s=(c[k>>2]=h,+g[k>>2]);r=(c[k>>2]=f,+g[k>>2]);g[K+40>>2]=s-(y*t-z*w);g[K+40+4>>2]=r-(z*t+y*w);w=(c[k>>2]=e,+g[k>>2]);t=(c[k>>2]=d,+g[k>>2]);g[K+24>>2]=w-(C*q-D*p);g[K+24+4>>2]=t-(D*q+C*p);mra(K,x,K+40|0,K+24|0,m);p=+g[K>>2];q=+g[K+4>>2];u=+g[K+8>>2];v=+g[K+12>>2];n=+g[K+16>>2];b=b0.0)n=-(n<-.20000000298023224?-.20000000298023224:n)/o;else n=0.0;p=p*n;q=q*n;h=(g[k>>2]=s-A*p,c[k>>2]|0);f=(g[k>>2]=r-A*q,c[k>>2]|0);j=j-B*((u-s)*q-(v-r)*p);e=(g[k>>2]=w+E*p,c[k>>2]|0);d=(g[k>>2]=t+E*q,c[k>>2]|0);l=l+F*((u-w)*q-(v-t)*p);m=m+1|0}while((m|0)!=(G|0));m=c[a+24>>2]|0}c[m+(H*12|0)>>2]=h;c[m+(H*12|0)+4>>2]=f;m=c[a+24>>2]|0;g[m+(H*12|0)+8>>2]=j;c[m+(I*12|0)>>2]=e;c[m+(I*12|0)+4>>2]=d;m=c[a+24>>2]|0;g[m+(I*12|0)+8>>2]=l;J=J+1|0}while((J|0)<(c[a+48>>2]|0));a=b>=-.014999999664723873;i=K;return a|0}function mra(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0;bT((c[b+84>>2]|0)>0,444125);switch(c[b+72>>2]|0){case 0:{h=+g[d+12>>2];j=+g[b+24>>2];n=+g[d+8>>2];k=+g[b+28>>2];m=+g[d>>2]+(h*j-n*k);k=j*n+h*k+ +g[d+4>>2];h=+g[e+12>>2];n=+g[b>>2];j=+g[e+8>>2];i=+g[b+4>>2];l=+g[e>>2]+(h*n-j*i);i=n*j+h*i+ +g[e+4>>2];g[a>>2]=l-m;g[a+4>>2]=i-k;h=+O(+((l-m)*(l-m)+(i-k)*(i-k)));if(h<1.1920928955078125e-07){j=l-m;h=i-k}else{g[a>>2]=(l-m)*(1.0/h);g[a+4>>2]=(i-k)*(1.0/h);j=(l-m)*(1.0/h);h=(i-k)*(1.0/h)}g[a+8>>2]=(m+l)*.5;g[a+12>>2]=(k+i)*.5;g[a+16>>2]=(l-m)*j+(i-k)*h-+g[b+76>>2]-+g[b+80>>2];return}case 1:{k=+g[d+12>>2];i=+g[b+16>>2];j=+g[d+8>>2];l=+g[b+20>>2];g[a>>2]=k*i-j*l;g[a+4>>2]=i*j+k*l;o=+g[d+12>>2];q=+g[b+24>>2];p=+g[d+8>>2];h=+g[b+28>>2];r=+g[e+12>>2];t=+g[b+(f<<3)>>2];s=+g[e+8>>2];n=+g[b+(f<<3)+4>>2];m=+g[e>>2]+(r*t-s*n);n=t*s+r*n+ +g[e+4>>2];g[a+16>>2]=(k*i-j*l)*(m-(+g[d>>2]+(o*q-p*h)))+(n-(q*p+o*h+ +g[d+4>>2]))*(i*j+k*l)-+g[b+76>>2]-+g[b+80>>2];g[a+8>>2]=m;g[a+12>>2]=n;return}case 2:{s=+g[e+12>>2];q=+g[b+16>>2];r=+g[e+8>>2];t=+g[b+20>>2];g[a>>2]=s*q-r*t;g[a+4>>2]=q*r+s*t;m=+g[e+12>>2];k=+g[b+24>>2];l=+g[e+8>>2];n=+g[b+28>>2];j=+g[d+12>>2];h=+g[b+(f<<3)>>2];i=+g[d+8>>2];p=+g[b+(f<<3)+4>>2];o=+g[d>>2]+(j*h-i*p);p=h*i+j*p+ +g[d+4>>2];g[a+16>>2]=(s*q-r*t)*(o-(+g[e>>2]+(m*k-l*n)))+(p-(k*l+m*n+ +g[e+4>>2]))*(q*r+s*t)-+g[b+76>>2]-+g[b+80>>2];g[a+8>>2]=o;g[a+12>>2]=p;g[a>>2]=-(s*q-r*t);g[a+4>>2]=-(q*r+s*t);return}default:return}}function nra(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0,h=0,j=0,l=0,m=0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0,C=0.0,D=0.0,E=0.0,F=0.0,G=0,H=0.0,I=0.0,J=0.0,K=0,L=0,M=0,N=0;N=i;i=i+64|0;if((c[a+48>>2]|0)<=0){J=0.0;d=J>=-.007499999832361937;i=N;return d|0}M=0;e=0.0;do{f=c[a+36>>2]|0;B=f+(M*88|0)|0;K=c[f+(M*88|0)+32>>2]|0;L=c[f+(M*88|0)+36>>2]|0;C=+g[f+(M*88|0)+48>>2];D=+g[f+(M*88|0)+52>>2];E=+g[f+(M*88|0)+56>>2];F=+g[f+(M*88|0)+60>>2];G=c[f+(M*88|0)+84>>2]|0;if((K|0)==(b|0)|(K|0)==(d|0)){H=+g[f+(M*88|0)+64>>2];J=+g[f+(M*88|0)+40>>2]}else{H=0.0;J=0.0}if((L|0)==(b|0)|(L|0)==(d|0)){I=+g[f+(M*88|0)+68>>2];A=+g[f+(M*88|0)+44>>2]}else{I=0.0;A=0.0}m=c[a+24>>2]|0;l=c[m+(K*12|0)>>2]|0;j=c[m+(K*12|0)+4>>2]|0;o=+g[m+(K*12|0)+8>>2];h=c[m+(L*12|0)>>2]|0;f=c[m+(L*12|0)+4>>2]|0;n=+g[m+(L*12|0)+8>>2];if((G|0)>0){z=J+A;m=0;do{y=+R(+o);g[N+40+8>>2]=y;v=+Q(+o);g[N+40+12>>2]=v;r=+R(+n);g[N+24+8>>2]=r;s=+Q(+n);g[N+24+12>>2]=s;u=(c[k>>2]=l,+g[k>>2]);t=(c[k>>2]=j,+g[k>>2]);g[N+40>>2]=u-(C*v-D*y);g[N+40+4>>2]=t-(D*v+C*y);y=(c[k>>2]=h,+g[k>>2]);v=(c[k>>2]=f,+g[k>>2]);g[N+24>>2]=y-(E*s-F*r);g[N+24+4>>2]=v-(F*s+E*r);mra(N,B,N+40|0,N+24|0,m);r=+g[N>>2];s=+g[N+4>>2];w=+g[N+8>>2];x=+g[N+12>>2];p=+g[N+16>>2];e=e0.0)p=-(p<-.20000000298023224?-.20000000298023224:p)/q;else p=0.0;r=r*p;s=s*p;l=(g[k>>2]=u-J*r,c[k>>2]|0);j=(g[k>>2]=t-J*s,c[k>>2]|0);o=o-H*((w-u)*s-(x-t)*r);h=(g[k>>2]=y+A*r,c[k>>2]|0);f=(g[k>>2]=v+A*s,c[k>>2]|0);n=n+I*((w-y)*s-(x-v)*r);m=m+1|0}while((m|0)!=(G|0));m=c[a+24>>2]|0}c[m+(K*12|0)>>2]=l;c[m+(K*12|0)+4>>2]=j;G=c[a+24>>2]|0;g[G+(K*12|0)+8>>2]=o;c[G+(L*12|0)>>2]=h;c[G+(L*12|0)+4>>2]=f;g[(c[a+24>>2]|0)+(L*12|0)+8>>2]=n;M=M+1|0}while((M|0)<(c[a+48>>2]|0));d=e>=-.007499999832361937;i=N;return d|0}function ora(a,b){a=a|0;b=b|0;var d=0.0,e=0.0,f=0.0,h=0.0,i=0.0,j=0;j=c[b+48>>2]|0;i=+g[j+24>>2];h=+g[b+80>>2];f=+g[j+20>>2];e=+g[b+84>>2];d=h*f+i*e+ +g[j+16>>2];g[a>>2]=+g[j+12>>2]+(i*h-f*e);g[a+4>>2]=d;return}function pra(a,b){a=a|0;b=b|0;var d=0.0,e=0.0,f=0.0,h=0.0,i=0.0,j=0;j=c[b+52>>2]|0;i=+g[j+24>>2];h=+g[b+88>>2];f=+g[j+20>>2];e=+g[b+92>>2];d=h*f+i*e+ +g[j+16>>2];g[a>>2]=+g[j+12>>2]+(i*h-f*e);g[a+4>>2]=d;return}function qra(a,b,c){a=a|0;b=b|0;c=+c;var d=0.0;d=+g[b+100>>2]*c;c=d*+g[b+120>>2];g[a>>2]=+g[b+116>>2]*d;g[a+4>>2]=c;return}function rra(a,b){a=a|0;b=+b;return 0.0}function sra(a){a=a|0;var b=0,e=0.0,f=0,j=0;b=i;i=i+96|0;j=c[(c[a+48>>2]|0)+8>>2]|0;f=c[(c[a+52>>2]|0)+8>>2]|0;aT(444162,b);c[b+8>>2]=j;aT(444558,b+8|0);c[b+16>>2]=f;aT(444584,b+16|0);c[b+24>>2]=d[a+61>>0];aT(444610,b+24|0);e=+g[a+84>>2];h[b+32>>3]=+g[a+80>>2];h[b+32+8>>3]=e;aT(444315,b+32|0);e=+g[a+92>>2];h[b+48>>3]=+g[a+88>>2];h[b+48+8>>3]=e;aT(444357,b+48|0);h[b+64>>3]=+g[a+104>>2];aT(444188,b+64|0);h[b+72>>3]=+g[a+68>>2];aT(444212,b+72|0);h[b+80>>3]=+g[a+72>>2];aT(444241,b+80|0);c[b+88>>2]=c[a+56>>2];aT(444722,b+88|0);i=b;return}function tra(a){a=a|0;oAb(a);return}function ura(b,d){b=b|0;d=d|0;var e=0.0,f=0.0,h=0.0,i=0.0,j=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0,s=0,t=0.0,u=0,v=0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0,G=0,H=0,I=0,J=0,K=0,L=0.0,M=0.0;K=c[b+48>>2]|0;v=c[K+8>>2]|0;c[b+108>>2]=v;u=c[b+52>>2]|0;J=c[u+8>>2]|0;c[b+112>>2]=J;I=c[K+28>>2]|0;H=c[K+28+4>>2]|0;c[b+140>>2]=I;c[b+140+4>>2]=H;G=c[u+28>>2]|0;F=c[u+28+4>>2]|0;c[b+148>>2]=G;c[b+148+4>>2]=F;c[b+156>>2]=c[K+120>>2];c[b+160>>2]=c[u+120>>2];c[b+164>>2]=c[K+128>>2];c[b+168>>2]=c[u+128>>2];u=c[d+24>>2]|0;f=+g[u+(v*12|0)>>2];e=+g[u+(v*12|0)+4>>2];y=+g[u+(v*12|0)+8>>2];K=c[d+28>>2]|0;r=c[K+(v*12|0)>>2]|0;s=c[K+(v*12|0)+4>>2]|0;t=+g[K+(v*12|0)+8>>2];q=+g[u+(J*12|0)>>2];j=+g[u+(J*12|0)+4>>2];A=+g[u+(J*12|0)+8>>2];u=c[K+(J*12|0)>>2]|0;v=c[K+(J*12|0)+4>>2]|0;w=+g[K+(J*12|0)+8>>2];x=+R(+y);y=+Q(+y);z=+R(+A);A=+Q(+A);B=+g[b+80>>2]-(c[k>>2]=I,+g[k>>2]);C=+g[b+84>>2]-(c[k>>2]=H,+g[k>>2]);g[b+124>>2]=y*B-x*C;g[b+128>>2]=x*B+y*C;D=+g[b+88>>2]-(c[k>>2]=G,+g[k>>2]);E=+g[b+92>>2]-(c[k>>2]=F,+g[k>>2]);g[b+132>>2]=A*D-z*E;g[b+136>>2]=z*D+A*E;f=q+(A*D-z*E)-f-(y*B-x*C);e=j+(z*D+A*E)-e-(x*B+y*C);g[b+116>>2]=f;g[b+120>>2]=e;j=+O(+(f*f+e*e));if(j>.004999999888241291){g[b+116>>2]=f*(1.0/j);q=1.0/j*e;l=f*(1.0/j)}else{g[b+116>>2]=0.0;q=0.0;l=0.0}g[b+120>>2]=q;e=q*(y*B-x*C)-(x*B+y*C)*l;f=q*(A*D-z*E)-l*(z*D+A*E);m=+g[b+156>>2];n=+g[b+164>>2];o=+g[b+160>>2];p=+g[b+168>>2];h=o+(m+e*(e*n))+f*(f*p)!=0.0?1.0/(o+(m+e*(e*n))+f*(f*p)):0.0;g[b+172>>2]=h;i=+g[b+68>>2];if(i>0.0){M=+g[d>>2];L=M*(i*6.2831854820251465*(h*2.0*+g[b+72>>2])+i*6.2831854820251465*(i*6.2831854820251465*h)*M);L=L!=0.0?1.0/L:0.0;j=i*6.2831854820251465*(i*6.2831854820251465*h)*((j-+g[b+104>>2])*M)*L;e=o+(m+e*(e*n))+f*(f*p)+L;g[b+172>>2]=e!=0.0?1.0/e:0.0;e=j;f=L}else{e=0.0;f=0.0}g[b+96>>2]=f;g[b+76>>2]=e;if(!(a[d+20>>0]|0)){g[b+100>>2]=0.0;I=s;G=u;J=v;L=t;M=w;K=c[b+108>>2]|0;H=c[d+28>>2]|0;F=H+(K*12|0)|0;c[F>>2]=r;K=H+(K*12|0)+4|0;c[K>>2]=I;K=c[b+108>>2]|0;I=c[d+28>>2]|0;K=I+(K*12|0)+8|0;g[K>>2]=L;K=c[b+112>>2]|0;H=I+(K*12|0)|0;c[H>>2]=G;K=I+(K*12|0)+4|0;c[K>>2]=J;K=c[b+112>>2]|0;J=c[d+28>>2]|0;K=J+(K*12|0)+8|0;g[K>>2]=M;return}else{L=+g[d+8>>2]*+g[b+100>>2];g[b+100>>2]=L;M=L*l;q=L*q;J=(g[k>>2]=(c[k>>2]=r,+g[k>>2])-M*m,c[k>>2]|0);I=(g[k>>2]=(c[k>>2]=s,+g[k>>2])-q*m,c[k>>2]|0);G=(g[k>>2]=(c[k>>2]=u,+g[k>>2])+M*o,c[k>>2]|0);u=J;J=(g[k>>2]=(c[k>>2]=v,+g[k>>2])+q*o,c[k>>2]|0);L=t-n*(q*(y*B-x*C)-M*(x*B+y*C));M=w+p*(q*(A*D-z*E)-M*(z*D+A*E));K=c[b+108>>2]|0;H=c[d+28>>2]|0;F=H+(K*12|0)|0;c[F>>2]=u;K=H+(K*12|0)+4|0;c[K>>2]=I;K=c[b+108>>2]|0;I=c[d+28>>2]|0;K=I+(K*12|0)+8|0;g[K>>2]=L;K=c[b+112>>2]|0;H=I+(K*12|0)|0;c[H>>2]=G;K=I+(K*12|0)+4|0;c[K>>2]=J;K=c[b+112>>2]|0;J=c[d+28>>2]|0;K=J+(K*12|0)+8|0;g[K>>2]=M;return}}function vra(a,b){a=a|0;b=b|0;var d=0.0,e=0,f=0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0;f=c[a+108>>2]|0;e=c[b+28>>2]|0;q=+g[e+(f*12|0)>>2];p=+g[e+(f*12|0)+4>>2];t=+g[e+(f*12|0)+8>>2];u=c[a+112>>2]|0;m=+g[e+(u*12|0)>>2];k=+g[e+(u*12|0)+4>>2];s=+g[e+(u*12|0)+8>>2];n=+g[a+128>>2];h=+g[a+124>>2];d=+g[a+136>>2];r=+g[a+132>>2];l=+g[a+116>>2];j=+g[a+120>>2];o=+g[a+100>>2];i=+g[a+172>>2]*(+g[a+76>>2]+(l*(m-s*d-(q-t*n))+j*(k+s*r-(p+t*h)))+ +g[a+96>>2]*o);g[a+100>>2]=o-i;o=+g[a+156>>2];n=t-+g[a+164>>2]*(j*-i*h-l*-i*n);h=+g[a+160>>2];d=s+ +g[a+168>>2]*(j*-i*r-l*-i*d);g[e+(f*12|0)>>2]=q-l*-i*o;g[e+(f*12|0)+4>>2]=p-j*-i*o;f=c[b+28>>2]|0;g[f+((c[a+108>>2]|0)*12|0)+8>>2]=n;e=c[a+112>>2]|0;g[f+(e*12|0)>>2]=m+l*-i*h;g[f+(e*12|0)+4>>2]=k+j*-i*h;g[(c[b+28>>2]|0)+((c[a+112>>2]|0)*12|0)+8>>2]=d;return}function wra(a,b){a=a|0;b=b|0;var d=0.0,e=0.0,f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0,u=0.0,v=0.0,w=0,x=0.0,y=0;if(+g[a+68>>2]>0.0){a=1;return a|0}t=c[a+108>>2]|0;w=c[b+24>>2]|0;x=+g[w+(t*12|0)>>2];i=+g[w+(t*12|0)+4>>2];j=+g[w+(t*12|0)+8>>2];y=c[a+112>>2]|0;k=+g[w+(y*12|0)>>2];l=+g[w+(y*12|0)+4>>2];m=+g[w+(y*12|0)+8>>2];n=+R(+j);o=+Q(+j);p=+R(+m);q=+Q(+m);r=+g[a+80>>2]-+g[a+140>>2];s=+g[a+84>>2]-+g[a+144>>2];u=+g[a+88>>2]-+g[a+148>>2];v=+g[a+92>>2]-+g[a+152>>2];e=k+(q*u-p*v)-x-(o*r-n*s);d=l+(p*u+q*v)-i-(n*r+o*s);f=+O(+(e*e+d*d));if(f<1.1920928955078125e-07)h=0.0;else{h=f;e=1.0/f*e;d=1.0/f*d}h=h-+g[a+104>>2];h=h<.20000000298023224?h:.20000000298023224;h=h<-.20000000298023224?-.20000000298023224:h;f=-(+g[a+172>>2]*h);e=e*f;f=d*f;d=+g[a+156>>2];r=j-+g[a+164>>2]*((o*r-n*s)*f-(n*r+o*s)*e);s=+g[a+160>>2];v=m+ +g[a+168>>2]*((q*u-p*v)*f-(p*u+q*v)*e);g[w+(t*12|0)>>2]=x-d*e;g[w+(t*12|0)+4>>2]=i-d*f;w=c[b+24>>2]|0;g[w+((c[a+108>>2]|0)*12|0)+8>>2]=r;y=c[a+112>>2]|0;g[w+(y*12|0)>>2]=k+s*e;g[w+(y*12|0)+4>>2]=l+s*f;g[(c[b+24>>2]|0)+((c[a+112>>2]|0)*12|0)+8>>2]=v;y=(h>0.0?h:-h)<.004999999888241291;return y|0}function xra(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var h=0.0,i=0.0,j=0.0,k=0.0;c[a+8>>2]=b;c[a+12>>2]=d;j=+g[e>>2]-+g[b+12>>2];k=+g[e+4>>2]-+g[b+16>>2];i=+g[b+24>>2];h=+g[b+20>>2];g[a+20>>2]=j*i+k*h;g[a+24>>2]=i*k-j*h;h=+g[f>>2]-+g[d+12>>2];j=+g[f+4>>2]-+g[d+16>>2];k=+g[d+24>>2];i=+g[d+20>>2];g[a+28>>2]=h*k+j*i;g[a+32>>2]=k*j-h*i;i=+g[f>>2]-+g[e>>2];h=+g[f+4>>2]-+g[e+4>>2];g[a+36>>2]=+O(+(i*i+h*h));return}function yra(a,b){a=a|0;b=b|0;var d=0;WT(a,b);c[a>>2]=31816;d=c[b+20+4>>2]|0;c[a+80>>2]=c[b+20>>2];c[a+80+4>>2]=d;d=c[b+28+4>>2]|0;c[a+88>>2]=c[b+28>>2];c[a+88+4>>2]=d;c[a+104>>2]=c[b+36>>2];c[a+68>>2]=c[b+40>>2];c[a+72>>2]=c[b+44>>2];g[a+100>>2]=0.0;g[a+96>>2]=0.0;g[a+76>>2]=0.0;return}function zra(a,b){a=a|0;b=b|0;var d=0.0,e=0.0,f=0.0,h=0.0,i=0.0,j=0;j=c[b+48>>2]|0;i=+g[j+24>>2];h=+g[b+68>>2];f=+g[j+20>>2];e=+g[b+72>>2];d=h*f+i*e+ +g[j+16>>2];g[a>>2]=+g[j+12>>2]+(i*h-f*e);g[a+4>>2]=d;return}function Ara(a,b){a=a|0;b=b|0;var d=0.0,e=0.0,f=0.0,h=0.0,i=0.0,j=0;j=c[b+52>>2]|0;i=+g[j+24>>2];h=+g[b+76>>2];f=+g[j+20>>2];e=+g[b+80>>2];d=h*f+i*e+ +g[j+16>>2];g[a>>2]=+g[j+12>>2]+(i*h-f*e);g[a+4>>2]=d;return}function Bra(a,b,c){a=a|0;b=b|0;c=+c;var d=0.0;d=+g[b+88>>2]*c;g[a>>2]=+g[b+84>>2]*c;g[a+4>>2]=d;return}function Cra(a,b){a=a|0;b=+b;return +(+g[a+92>>2]*b)}function Dra(a){a=a|0;var b=0,e=0.0,f=0,j=0;b=i;i=i+96|0;j=c[(c[a+48>>2]|0)+8>>2]|0;f=c[(c[a+52>>2]|0)+8>>2]|0;aT(444289,b);c[b+8>>2]=j;aT(444558,b+8|0);c[b+16>>2]=f;aT(444584,b+16|0);c[b+24>>2]=d[a+61>>0];aT(444610,b+24|0);e=+g[a+72>>2];h[b+32>>3]=+g[a+68>>2];h[b+32+8>>3]=e;aT(444315,b+32|0);e=+g[a+80>>2];h[b+48>>3]=+g[a+76>>2];h[b+48+8>>3]=e;aT(444357,b+48|0);h[b+64>>3]=+g[a+96>>2];aT(444399,b+64|0);h[b+72>>3]=+g[a+100>>2];aT(444425,b+72|0);c[b+80>>2]=c[a+56>>2];aT(444722,b+80|0);i=b;return}function Era(a){a=a|0;oAb(a);return}function Fra(b,d){b=b|0;d=d|0;var e=0.0,f=0.0,h=0.0,i=0.0,j=0,l=0,m=0.0,n=0,o=0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;D=c[b+48>>2]|0;o=c[D+8>>2]|0;c[b+104>>2]=o;C=c[b+52>>2]|0;K=c[C+8>>2]|0;c[b+108>>2]=K;J=c[D+28>>2]|0;I=c[D+28+4>>2]|0;c[b+128>>2]=J;c[b+128+4>>2]=I;H=c[C+28>>2]|0;G=c[C+28+4>>2]|0;c[b+136>>2]=H;c[b+136+4>>2]=G;F=c[D+120>>2]|0;c[b+144>>2]=F;E=c[C+120>>2]|0;c[b+148>>2]=E;D=c[D+128>>2]|0;c[b+152>>2]=D;C=c[C+128>>2]|0;c[b+156>>2]=C;n=c[d+24>>2]|0;r=+g[n+(o*12|0)+8>>2];L=c[d+28>>2]|0;j=c[L+(o*12|0)>>2]|0;l=c[L+(o*12|0)+4>>2]|0;m=+g[L+(o*12|0)+8>>2];t=+g[n+(K*12|0)+8>>2];n=c[L+(K*12|0)>>2]|0;o=c[L+(K*12|0)+4>>2]|0;p=+g[L+(K*12|0)+8>>2];q=+R(+r);r=+Q(+r);s=+R(+t);t=+Q(+t);u=+g[b+68>>2]-(c[k>>2]=J,+g[k>>2]);v=+g[b+72>>2]-(c[k>>2]=I,+g[k>>2]);g[b+112>>2]=r*u-q*v;g[b+116>>2]=q*u+r*v;w=+g[b+76>>2]-(c[k>>2]=H,+g[k>>2]);x=+g[b+80>>2]-(c[k>>2]=G,+g[k>>2]);g[b+120>>2]=t*w-s*x;g[b+124>>2]=s*w+t*x;e=(c[k>>2]=F,+g[k>>2]);f=(c[k>>2]=E,+g[k>>2]);h=(c[k>>2]=D,+g[k>>2]);i=(c[k>>2]=C,+g[k>>2]);z=e+f+(q*u+r*v)*(h*(q*u+r*v))+(s*w+t*x)*(i*(s*w+t*x));A=-((q*u+r*v)*(h*(r*u-q*v)))-(s*w+t*x)*(i*(t*w-s*x));B=e+f+(r*u-q*v)*(h*(r*u-q*v))+(t*w-s*x)*(i*(t*w-s*x));y=z*B-A*A!=0.0?1.0/(z*B-A*A):z*B-A*A;g[b+160>>2]=B*y;g[b+164>>2]=-(A*y);g[b+168>>2]=-(A*y);g[b+172>>2]=z*y;g[b+176>>2]=h+i>0.0?1.0/(h+i):h+i;if(!(a[d+20>>0]|0)){g[b+84>>2]=0.0;g[b+88>>2]=0.0;g[b+92>>2]=0.0;F=j;J=l;H=n;K=o;A=m;B=p;L=c[b+104>>2]|0;I=c[d+28>>2]|0;G=I+(L*12|0)|0;c[G>>2]=F;L=I+(L*12|0)+4|0;c[L>>2]=J;L=c[b+104>>2]|0;J=c[d+28>>2]|0;L=J+(L*12|0)+8|0;g[L>>2]=A;L=c[b+108>>2]|0;I=J+(L*12|0)|0;c[I>>2]=H;L=J+(L*12|0)+4|0;c[L>>2]=K;L=c[b+108>>2]|0;K=c[d+28>>2]|0;L=K+(L*12|0)+8|0;g[L>>2]=B;return}else{y=+g[d+8>>2];B=y*+g[b+84>>2];g[b+84>>2]=B;z=y*+g[b+88>>2];g[b+88>>2]=z;y=y*+g[b+92>>2];g[b+92>>2]=y;F=(g[k>>2]=(c[k>>2]=j,+g[k>>2])-e*B,c[k>>2]|0);J=(g[k>>2]=(c[k>>2]=l,+g[k>>2])-e*z,c[k>>2]|0);H=(g[k>>2]=(c[k>>2]=n,+g[k>>2])+f*B,c[k>>2]|0);K=(g[k>>2]=(c[k>>2]=o,+g[k>>2])+f*z,c[k>>2]|0);A=m-h*(y+(z*(r*u-q*v)-B*(q*u+r*v)));B=p+i*(y+(z*(t*w-s*x)-B*(s*w+t*x)));L=c[b+104>>2]|0;I=c[d+28>>2]|0;G=I+(L*12|0)|0;c[G>>2]=F;L=I+(L*12|0)+4|0;c[L>>2]=J;L=c[b+104>>2]|0;J=c[d+28>>2]|0;L=J+(L*12|0)+8|0;g[L>>2]=A;L=c[b+108>>2]|0;I=J+(L*12|0)|0;c[I>>2]=H;L=J+(L*12|0)+4|0;c[L>>2]=K;L=c[b+108>>2]|0;K=c[d+28>>2]|0;L=K+(L*12|0)+8|0;g[L>>2]=B;return}}function Gra(a,b){a=a|0;b=b|0;var d=0.0,e=0.0,f=0.0,h=0.0,i=0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0;i=c[a+104>>2]|0;q=c[b+28>>2]|0;u=+g[q+(i*12|0)>>2];y=+g[q+(i*12|0)+4>>2];B=+g[q+(i*12|0)+8>>2];C=c[a+108>>2]|0;j=+g[q+(C*12|0)>>2];k=+g[q+(C*12|0)+4>>2];l=+g[q+(C*12|0)+8>>2];m=+g[a+144>>2];n=+g[a+148>>2];o=+g[a+152>>2];p=+g[a+156>>2];h=+g[b>>2];r=+g[a+92>>2];t=h*+g[a+100>>2];s=r-(l-B)*+g[a+176>>2];s=s>2]=s;t=+g[a+124>>2];v=+g[a+120>>2];w=+g[a+116>>2];x=+g[a+112>>2];d=+g[a+164>>2]*(w*(B-o*(s-r))+(j-t*(l+p*(s-r))-u))+ +g[a+172>>2]*(k+v*(l+p*(s-r))-y-x*(B-o*(s-r)));z=+g[a+84>>2];A=+g[a+88>>2];e=z-(+g[a+160>>2]*(w*(B-o*(s-r))+(j-t*(l+p*(s-r))-u))+ +g[a+168>>2]*(k+v*(l+p*(s-r))-y-x*(B-o*(s-r))));g[a+84>>2]=e;g[a+88>>2]=A-d;h=h*+g[a+96>>2];if(e*e+(A-d)*(A-d)>h*h){f=+O(+(e*e+(A-d)*(A-d)));if(f<1.1920928955078125e-07)d=A-d;else{g[a+84>>2]=e*(1.0/f);g[a+88>>2]=(A-d)*(1.0/f);d=(A-d)*(1.0/f);e=e*(1.0/f)}e=h*e;g[a+84>>2]=e;d=h*d;g[a+88>>2]=d}else d=A-d;z=e-z;A=d-A;g[q+(i*12|0)>>2]=u-m*z;g[q+(i*12|0)+4>>2]=y-m*A;q=c[b+28>>2]|0;g[q+((c[a+104>>2]|0)*12|0)+8>>2]=B-o*(s-r)-o*(x*A-z*w);C=c[a+108>>2]|0;g[q+(C*12|0)>>2]=j+n*z;g[q+(C*12|0)+4>>2]=k+n*A;g[(c[b+28>>2]|0)+((c[a+108>>2]|0)*12|0)+8>>2]=l+p*(s-r)+p*(A*v-z*t);return}function Hra(a,b){a=a|0;b=b|0;return 1}function Ira(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0.0,h=0.0,i=0.0,j=0.0;c[a+8>>2]=b;c[a+12>>2]=d;i=+g[e>>2]-+g[b+12>>2];j=+g[e+4>>2]-+g[b+16>>2];f=+g[b+24>>2];h=+g[b+20>>2];g[a+20>>2]=i*f+j*h;g[a+24>>2]=f*j-i*h;h=+g[e>>2]-+g[d+12>>2];i=+g[e+4>>2]-+g[d+16>>2];j=+g[d+24>>2];f=+g[d+20>>2];g[a+28>>2]=h*j+i*f;g[a+32>>2]=j*i-h*f;return}function Jra(a,b){a=a|0;b=b|0;var d=0;WT(a,b);c[a>>2]=31868;d=c[b+20+4>>2]|0;c[a+68>>2]=c[b+20>>2];c[a+68+4>>2]=d;d=c[b+28+4>>2]|0;c[a+76>>2]=c[b+28>>2];c[a+76+4>>2]=d;g[a+84>>2]=0.0;g[a+88>>2]=0.0;g[a+92>>2]=0.0;c[a+96>>2]=c[b+36>>2];c[a+100>>2]=c[b+40>>2];return}function Kra(a,b){a=a|0;b=+b;bT(b>=0.0&((g[k>>2]=b,c[k>>2]|0)&2139095040|0)!=2139095040,444452);g[a+96>>2]=b;return}function Lra(a){a=a|0;return +(+g[a+96>>2])}function Mra(a,b){a=a|0;b=+b;bT(b>=0.0&((g[k>>2]=b,c[k>>2]|0)&2139095040|0)!=2139095040,444486);g[a+100>>2]=b;return}function Nra(a){a=a|0;return +(+g[a+100>>2])}function Ora(a,b){a=a|0;b=b|0;var d=0.0,e=0.0,f=0.0,h=0.0,i=0.0,j=0;j=c[b+48>>2]|0;i=+g[j+24>>2];h=+g[b+92>>2];f=+g[j+20>>2];e=+g[b+96>>2];d=h*f+i*e+ +g[j+16>>2];g[a>>2]=+g[j+12>>2]+(i*h-f*e);g[a+4>>2]=d;return}function Pra(a,b){a=a|0;b=b|0;var d=0.0,e=0.0,f=0.0,h=0.0,i=0.0,j=0;j=c[b+52>>2]|0;i=+g[j+24>>2];h=+g[b+100>>2];f=+g[j+20>>2];e=+g[b+104>>2];d=h*f+i*e+ +g[j+16>>2];g[a>>2]=+g[j+12>>2]+(i*h-f*e);g[a+4>>2]=d;return}function Qra(a,b,c){a=a|0;b=b|0;c=+c;var d=0.0,e=0.0;e=+g[b+156>>2];d=e*+g[b+244>>2]*c;g[a>>2]=e*+g[b+240>>2]*c;g[a+4>>2]=d;return}function Rra(a,b){a=a|0;b=+b;return +(+g[a+156>>2]*+g[a+256>>2]*b)}function Sra(a){a=a|0;var b=0,e=0,f=0,j=0,k=0;b=i;i=i+64|0;k=c[(c[a+48>>2]|0)+8>>2]|0;j=c[(c[a+52>>2]|0)+8>>2]|0;f=c[(c[a+68>>2]|0)+56>>2]|0;e=c[(c[a+72>>2]|0)+56>>2]|0;aT(444536,b);c[b+8>>2]=k;aT(444558,b+8|0);c[b+16>>2]=j;aT(444584,b+16|0);c[b+24>>2]=d[a+61>>0];aT(444610,b+24|0);c[b+32>>2]=f;aT(444645,b+32|0);c[b+40>>2]=e;aT(444672,b+40|0);h[b+48>>3]=+g[a+152>>2];aT(444699,b+48|0);c[b+56>>2]=c[a+56>>2];aT(444722,b+56|0);i=b;return}function Tra(a){a=a|0;oAb(a);return}function Ura(b,d){b=b|0;d=d|0;var e=0.0,f=0.0,h=0.0,i=0.0,j=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0,u=0.0,v=0,w=0,x=0.0,y=0,z=0,A=0.0,B=0,C=0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0.0,K=0,L=0,M=0,N=0,O=0,P=0,S=0,T=0,U=0,V=0.0,W=0.0,X=0.0,Y=0;O=c[b+48>>2]|0;v=c[O+8>>2]|0;c[b+160>>2]=v;L=c[b+52>>2]|0;T=c[L+8>>2]|0;c[b+164>>2]=T;P=c[b+84>>2]|0;c[b+168>>2]=c[P+8>>2];M=c[b+88>>2]|0;c[b+172>>2]=c[M+8>>2];S=c[O+28+4>>2]|0;c[b+176>>2]=c[O+28>>2];c[b+176+4>>2]=S;S=c[L+28+4>>2]|0;c[b+184>>2]=c[L+28>>2];c[b+184+4>>2]=S;S=c[P+28+4>>2]|0;c[b+192>>2]=c[P+28>>2];c[b+192+4>>2]=S;S=c[M+28+4>>2]|0;c[b+200>>2]=c[M+28>>2];c[b+200+4>>2]=S;c[b+208>>2]=c[O+120>>2];c[b+212>>2]=c[L+120>>2];S=c[P+120>>2]|0;c[b+216>>2]=S;N=c[M+120>>2]|0;c[b+220>>2]=N;O=c[O+128>>2]|0;c[b+224>>2]=O;L=c[L+128>>2]|0;c[b+228>>2]=L;P=c[P+128>>2]|0;c[b+232>>2]=P;M=c[M+128>>2]|0;c[b+236>>2]=M;B=c[d+24>>2]|0;f=+g[B+(v*12|0)+8>>2];U=c[d+28>>2]|0;K=c[U+(v*12|0)>>2]|0;t=c[U+(v*12|0)+4>>2]|0;u=+g[U+(v*12|0)+8>>2];l=+g[B+(T*12|0)+8>>2];v=c[U+(T*12|0)>>2]|0;w=c[U+(T*12|0)+4>>2]|0;x=+g[U+(T*12|0)+8>>2];T=c[b+168>>2]|0;i=+g[B+(T*12|0)+8>>2];y=c[U+(T*12|0)>>2]|0;z=c[U+(T*12|0)+4>>2]|0;A=+g[U+(T*12|0)+8>>2];T=c[b+172>>2]|0;r=+g[B+(T*12|0)+8>>2];B=c[U+(T*12|0)>>2]|0;C=c[U+(T*12|0)+4>>2]|0;D=+g[U+(T*12|0)+8>>2];e=+R(+f);f=+Q(+f);j=+R(+l);l=+Q(+l);h=+R(+i);i=+Q(+i);q=+R(+r);r=+Q(+r);g[b+272>>2]=0.0;E=(c[k>>2]=S,+g[k>>2]);F=(c[k>>2]=P,+g[k>>2]);G=(c[k>>2]=O,+g[k>>2]);H=(c[k>>2]=N,+g[k>>2]);I=(c[k>>2]=M,+g[k>>2]);J=(c[k>>2]=L,+g[k>>2]);if((c[b+76>>2]|0)==1){g[b+264>>2]=1.0;e=G+F;s=0.0;n=0.0;o=1.0;p=1.0}else{m=+g[b+124>>2];n=+g[b+128>>2];V=+g[b+108>>2]-+g[b+192>>2];p=+g[b+112>>2]-+g[b+196>>2];s=+g[b+92>>2]-+g[b+176>>2];o=+g[b+96>>2]-+g[b+180>>2];p=(h*m+i*n)*(i*V-h*p)-(i*m-h*n)*(h*V+i*p);g[b+264>>2]=p;o=(h*m+i*n)*(f*s-e*o)-(i*m-h*n)*(e*s+f*o);e=E+ +g[b+208>>2]+p*(F*p)+o*(o*G);s=i*m-h*n;n=h*m+i*n}m=e+0.0;g[b+240>>2]=s;g[b+244>>2]=n;g[b+256>>2]=o;g[b+272>>2]=m;if((c[b+80>>2]|0)==1){U=c[b+152>>2]|0;c[b+260>>2]=U;c[b+268>>2]=U;h=(c[k>>2]=U,+g[k>>2]);i=h*h*(J+I);j=0.0;e=0.0;f=h}else{W=+g[b+132>>2];V=+g[b+136>>2];X=+g[b+116>>2]-+g[b+200>>2];h=+g[b+120>>2]-+g[b+204>>2];i=+g[b+100>>2]-+g[b+184>>2];f=+g[b+104>>2]-+g[b+188>>2];e=+g[b+152>>2];h=((q*W+r*V)*(r*X-q*h)-(r*W-q*V)*(q*X+r*h))*e;g[b+268>>2]=h;f=((q*W+r*V)*(l*i-j*f)-(r*W-q*V)*(j*i+l*f))*e;g[b+260>>2]=f;i=e*e*(H+ +g[b+212>>2])+h*(I*h)+f*(f*J);j=(r*W-q*V)*e;e=(q*W+r*V)*e}X=m+i;g[b+248>>2]=j;g[b+252>>2]=e;g[b+272>>2]=X>0.0?1.0/X:0.0;if(!(a[d+20>>0]|0)){g[b+156>>2]=0.0;Y=K;N=t;K=v;P=w;M=y;S=z;O=B;T=C;J=u;V=x;W=A;X=D;U=c[b+160>>2]|0;L=c[d+28>>2]|0;C=L+(U*12|0)|0;c[C>>2]=Y;U=L+(U*12|0)+4|0;c[U>>2]=N;U=c[b+160>>2]|0;N=c[d+28>>2]|0;U=N+(U*12|0)+8|0;g[U>>2]=J;U=c[b+164>>2]|0;L=N+(U*12|0)|0;c[L>>2]=K;U=N+(U*12|0)+4|0;c[U>>2]=P;U=c[b+164>>2]|0;P=c[d+28>>2]|0;U=P+(U*12|0)+8|0;g[U>>2]=V;U=c[b+168>>2]|0;N=P+(U*12|0)|0;c[N>>2]=M;U=P+(U*12|0)+4|0;c[U>>2]=S;U=c[b+168>>2]|0;S=c[d+28>>2]|0;U=S+(U*12|0)+8|0;g[U>>2]=W;U=c[b+172>>2]|0;P=S+(U*12|0)|0;c[P>>2]=O;U=S+(U*12|0)+4|0;c[U>>2]=T;U=c[b+172>>2]|0;T=c[d+28>>2]|0;U=T+(U*12|0)+8|0;g[U>>2]=X;return}else{X=+g[b+156>>2];V=+g[b+208>>2]*X;U=(g[k>>2]=(c[k>>2]=K,+g[k>>2])+s*V,c[k>>2]|0);O=(g[k>>2]=(c[k>>2]=t,+g[k>>2])+V*n,c[k>>2]|0);V=X*+g[b+212>>2];L=(g[k>>2]=(c[k>>2]=v,+g[k>>2])+j*V,c[k>>2]|0);S=(g[k>>2]=(c[k>>2]=w,+g[k>>2])+V*e,c[k>>2]|0);N=(g[k>>2]=(c[k>>2]=y,+g[k>>2])-s*(X*E),c[k>>2]|0);T=(g[k>>2]=(c[k>>2]=z,+g[k>>2])-n*(X*E),c[k>>2]|0);P=(g[k>>2]=(c[k>>2]=B,+g[k>>2])-j*(X*H),c[k>>2]|0);B=U;U=(g[k>>2]=(c[k>>2]=C,+g[k>>2])-e*(X*H),c[k>>2]|0);H=u+X*G*o;V=x+X*J*f;W=A-X*F*p;X=D-X*I*h;Y=c[b+160>>2]|0;M=c[d+28>>2]|0;K=M+(Y*12|0)|0;c[K>>2]=B;Y=M+(Y*12|0)+4|0;c[Y>>2]=O;Y=c[b+160>>2]|0;O=c[d+28>>2]|0;Y=O+(Y*12|0)+8|0;g[Y>>2]=H;Y=c[b+164>>2]|0;M=O+(Y*12|0)|0;c[M>>2]=L;Y=O+(Y*12|0)+4|0;c[Y>>2]=S;Y=c[b+164>>2]|0;S=c[d+28>>2]|0;Y=S+(Y*12|0)+8|0;g[Y>>2]=V;Y=c[b+168>>2]|0;O=S+(Y*12|0)|0;c[O>>2]=N;Y=S+(Y*12|0)+4|0;c[Y>>2]=T;Y=c[b+168>>2]|0;T=c[d+28>>2]|0;Y=T+(Y*12|0)+8|0;g[Y>>2]=W;Y=c[b+172>>2]|0;S=T+(Y*12|0)|0;c[S>>2]=P;Y=T+(Y*12|0)+4|0;c[Y>>2]=U;Y=c[b+172>>2]|0;U=c[d+28>>2]|0;Y=U+(Y*12|0)+8|0;g[Y>>2]=X;return}}function Vra(a,b){a=a|0;b=b|0;var d=0.0,e=0,f=0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0;f=c[a+160>>2]|0;e=c[b+28>>2]|0;z=+g[e+(f*12|0)>>2];y=+g[e+(f*12|0)+4>>2];t=+g[e+(f*12|0)+8>>2];f=c[a+164>>2]|0;v=+g[e+(f*12|0)>>2];u=+g[e+(f*12|0)+4>>2];n=+g[e+(f*12|0)+8>>2];f=c[a+168>>2]|0;r=+g[e+(f*12|0)>>2];p=+g[e+(f*12|0)+4>>2];h=+g[e+(f*12|0)+8>>2];f=c[a+172>>2]|0;l=+g[e+(f*12|0)>>2];j=+g[e+(f*12|0)+4>>2];B=+g[e+(f*12|0)+8>>2];q=+g[a+240>>2];o=+g[a+244>>2];k=+g[a+248>>2];i=+g[a+252>>2];w=+g[a+256>>2];m=+g[a+264>>2];s=+g[a+260>>2];d=+g[a+268>>2];A=+g[a+272>>2]*((z-r)*q+(y-p)*o+((v-l)*k+(u-j)*i)+(t*w-h*m+(n*s-B*d)));g[a+156>>2]=+g[a+156>>2]-A;x=+g[a+208>>2]*-A;w=t+ +g[a+224>>2]*-A*w;t=+g[a+212>>2]*-A;s=n+ +g[a+228>>2]*-A*s;n=+g[a+216>>2]*-A;m=h-+g[a+232>>2]*-A*m;h=+g[a+220>>2]*-A;d=B-+g[a+236>>2]*-A*d;f=c[a+160>>2]|0;e=c[b+28>>2]|0;g[e+(f*12|0)>>2]=z+q*x;g[e+(f*12|0)+4>>2]=y+o*x;f=c[b+28>>2]|0;g[f+((c[a+160>>2]|0)*12|0)+8>>2]=w;e=c[a+164>>2]|0;g[f+(e*12|0)>>2]=v+k*t;g[f+(e*12|0)+4>>2]=u+t*i;e=c[b+28>>2]|0;g[e+((c[a+164>>2]|0)*12|0)+8>>2]=s;f=c[a+168>>2]|0;g[e+(f*12|0)>>2]=r-q*n;g[e+(f*12|0)+4>>2]=p-o*n;f=c[b+28>>2]|0;g[f+((c[a+168>>2]|0)*12|0)+8>>2]=m;e=c[a+172>>2]|0;g[f+(e*12|0)>>2]=l-k*h;g[f+(e*12|0)+4>>2]=j-i*h;g[(c[b+28>>2]|0)+((c[a+172>>2]|0)*12|0)+8>>2]=d;return}function Wra(a,b){a=a|0;b=b|0;var d=0.0,e=0.0,f=0.0,h=0.0,i=0.0,j=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0,v=0,w=0,x=0.0,y=0,z=0,A=0.0,B=0.0,C=0,D=0,E=0,F=0.0,G=0.0,H=0,I=0,J=0.0,K=0.0,L=0.0,M=0.0,N=0.0,O=0,P=0.0,S=0.0,T=0.0,U=0.0,V=0.0,W=0.0,X=0.0;u=c[a+160>>2]|0;D=c[b+24>>2]|0;H=c[D+(u*12|0)>>2]|0;I=c[D+(u*12|0)+4>>2]|0;J=+g[D+(u*12|0)+8>>2];O=c[a+164>>2]|0;v=c[D+(O*12|0)>>2]|0;w=c[D+(O*12|0)+4>>2]|0;x=+g[D+(O*12|0)+8>>2];O=c[a+168>>2]|0;y=c[D+(O*12|0)>>2]|0;z=c[D+(O*12|0)+4>>2]|0;A=+g[D+(O*12|0)+8>>2];O=c[a+172>>2]|0;C=c[D+(O*12|0)>>2]|0;E=c[D+(O*12|0)+4>>2]|0;F=+g[D+(O*12|0)+8>>2];d=+R(+J);e=+Q(+J);q=+R(+x);r=+Q(+x);f=+R(+A);h=+Q(+A);s=+R(+F);t=+Q(+F);G=+g[a+224>>2];if((c[a+76>>2]|0)==1){f=+g[a+232>>2];B=f;K=0.0;L=0.0;M=1.0;N=1.0;i=J-A-+g[a+140>>2];f=G+f}else{U=+g[a+124>>2];S=+g[a+128>>2];T=+g[a+108>>2]-+g[a+192>>2];i=+g[a+112>>2]-+g[a+196>>2];l=+g[a+92>>2]-+g[a+176>>2];m=+g[a+96>>2]-+g[a+180>>2];n=(f*U+h*S)*(h*T-f*i)-(h*U-f*S)*(f*T+h*i);p=(f*U+h*S)*(e*l-d*m)-(h*U-f*S)*(d*l+e*m);o=+g[a+232>>2];j=(c[k>>2]=H,+g[k>>2]);j=j-(c[k>>2]=y,+g[k>>2]);P=(c[k>>2]=I,+g[k>>2]);P=P-(c[k>>2]=z,+g[k>>2])+(d*l+e*m);B=o;K=h*U-f*S;L=f*U+h*S;M=p;N=n;i=U*(h*(j+(e*l-d*m))+f*P-T)+S*(h*P-f*(j+(e*l-d*m))-i);f=+g[a+216>>2]+ +g[a+208>>2]+n*(n*o)+p*(G*p)}h=+g[a+152>>2];if((c[a+80>>2]|0)==1){j=+g[a+228>>2];l=+g[a+236>>2];d=h*h*(j+l);m=0.0;n=0.0;o=h;p=h;e=x-F-+g[a+144>>2]}else{X=+g[a+132>>2];V=+g[a+136>>2];W=+g[a+116>>2]-+g[a+200>>2];e=+g[a+120>>2]-+g[a+204>>2];T=+g[a+100>>2]-+g[a+184>>2];U=+g[a+104>>2]-+g[a+188>>2];p=h*((s*X+t*V)*(t*W-s*e)-(t*X-s*V)*(s*W+t*e));o=h*((s*X+t*V)*(r*T-q*U)-(t*X-s*V)*(q*T+r*U));l=+g[a+236>>2];j=+g[a+228>>2];S=(c[k>>2]=v,+g[k>>2]);S=S-(c[k>>2]=C,+g[k>>2]);P=(c[k>>2]=w,+g[k>>2]);P=P-(c[k>>2]=E,+g[k>>2])+(q*T+r*U);d=h*h*(+g[a+220>>2]+ +g[a+212>>2])+p*(p*l)+o*(j*o);m=(t*X-s*V)*h;n=(s*X+t*V)*h;e=X*(t*(S+(r*T-q*U))+s*P-W)+V*(t*P-s*(S+(r*T-q*U))-e)}d=f+0.0+d;if(d>0.0)d=-(i+e*h-+g[a+148>>2])/d;else d=0.0;P=d*+g[a+208>>2];t=(c[k>>2]=H,+g[k>>2])+K*P;P=(c[k>>2]=I,+g[k>>2])+L*P;T=d*+g[a+212>>2];S=(c[k>>2]=v,+g[k>>2])+m*T;T=(c[k>>2]=w,+g[k>>2])+n*T;V=d*+g[a+216>>2];U=(c[k>>2]=y,+g[k>>2])-K*V;V=(c[k>>2]=z,+g[k>>2])-L*V;X=d*+g[a+220>>2];W=(c[k>>2]=C,+g[k>>2])-m*X;X=(c[k>>2]=E,+g[k>>2])-n*X;g[D+(u*12|0)>>2]=t;g[D+(u*12|0)+4>>2]=P;I=c[b+24>>2]|0;g[I+((c[a+160>>2]|0)*12|0)+8>>2]=J+M*(d*G);O=c[a+164>>2]|0;g[I+(O*12|0)>>2]=S;g[I+(O*12|0)+4>>2]=T;O=c[b+24>>2]|0;g[O+((c[a+164>>2]|0)*12|0)+8>>2]=x+o*(d*j);I=c[a+168>>2]|0;g[O+(I*12|0)>>2]=U;g[O+(I*12|0)+4>>2]=V;I=c[b+24>>2]|0;g[I+((c[a+168>>2]|0)*12|0)+8>>2]=A-N*(d*B);O=c[a+172>>2]|0;g[I+(O*12|0)>>2]=W;g[I+(O*12|0)+4>>2]=X;g[(c[b+24>>2]|0)+((c[a+172>>2]|0)*12|0)+8>>2]=F-p*(d*l);return 1}function Xra(a,b){a=a|0;b=b|0;var d=0,e=0,f=0.0,h=0.0,i=0.0,j=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0,u=0,v=0,w=0,x=0.0;WT(a,b);c[a>>2]=31920;e=c[b+20>>2]|0;c[a+68>>2]=e;d=c[b+24>>2]|0;c[a+72>>2]=d;e=c[e+4>>2]|0;c[a+76>>2]=e;c[a+80>>2]=c[d+4>>2];bT((e+-1|0)>>>0<2,444765);bT(((c[a+80>>2]|0)+-1|0)>>>0<2,444823);e=c[a+68>>2]|0;d=c[e+48>>2]|0;c[a+84>>2]=d;e=c[e+52>>2]|0;c[a+48>>2]=e;f=+g[e+20>>2];h=+g[e+24>>2];i=+g[d+20>>2];j=+g[d+24>>2];if((c[a+76>>2]|0)==1){j=+g[e+56>>2];l=+g[d+56>>2];e=c[b+20>>2]|0;d=c[e+68+4>>2]|0;c[a+108>>2]=c[e+68>>2];c[a+108+4>>2]=d;d=c[e+76+4>>2]|0;c[a+92>>2]=c[e+76>>2];c[a+92+4>>2]=d;e=c[e+116>>2]|0;c[a+140>>2]=e;g[a+124>>2]=0.0;g[a+128>>2]=0.0;l=j-l-(c[k>>2]=e,+g[k>>2])}else{q=+g[d+16>>2];o=+g[d+12>>2];r=+g[e+16>>2];p=+g[e+12>>2];e=c[b+20>>2]|0;w=c[e+68>>2]|0;v=c[e+68+4>>2]|0;c[a+108>>2]=w;c[a+108+4>>2]=v;u=c[e+76>>2]|0;t=c[e+76+4>>2]|0;c[a+92>>2]=u;c[a+92+4>>2]=t;c[a+140>>2]=c[e+100>>2];d=c[e+84>>2]|0;e=c[e+84+4>>2]|0;c[a+124>>2]=d;c[a+124+4>>2]=e;s=(c[k>>2]=w,+g[k>>2]);l=(c[k>>2]=v,+g[k>>2]);n=(c[k>>2]=u,+g[k>>2]);m=(c[k>>2]=t,+g[k>>2]);s=(c[k>>2]=d,+g[k>>2])*(j*(p-o+(h*n-f*m))+i*(r-q+(f*n+h*m))-s);l=s+(c[k>>2]=e,+g[k>>2])*(j*(r-q+(f*n+h*m))-i*(p-o+(h*n-f*m))-l)}e=c[a+72>>2]|0;d=c[e+48>>2]|0;c[a+88>>2]=d;e=c[e+52>>2]|0;c[a+52>>2]=e;f=+g[e+20>>2];h=+g[e+24>>2];i=+g[d+20>>2];j=+g[d+24>>2];if((c[a+80>>2]|0)==1){s=+g[e+56>>2];r=+g[d+56>>2];w=c[b+24>>2]|0;v=c[w+68+4>>2]|0;c[a+116>>2]=c[w+68>>2];c[a+116+4>>2]=v;v=c[w+76+4>>2]|0;c[a+100>>2]=c[w+76>>2];c[a+100+4>>2]=v;w=c[w+116>>2]|0;c[a+144>>2]=w;g[a+132>>2]=0.0;g[a+136>>2]=0.0;r=s-r-(c[k>>2]=w,+g[k>>2]);w=b+28|0;s=+g[w>>2];w=a+152|0;g[w>>2]=s;s=r*s;s=l+s;w=a+148|0;g[w>>2]=s;w=a+156|0;g[w>>2]=0.0;return}else{n=+g[d+16>>2];p=+g[d+12>>2];m=+g[e+16>>2];o=+g[e+12>>2];w=c[b+24>>2]|0;d=c[w+68>>2]|0;e=c[w+68+4>>2]|0;c[a+116>>2]=d;c[a+116+4>>2]=e;t=c[w+76>>2]|0;u=c[w+76+4>>2]|0;c[a+100>>2]=t;c[a+100+4>>2]=u;c[a+144>>2]=c[w+100>>2];v=c[w+84>>2]|0;w=c[w+84+4>>2]|0;c[a+132>>2]=v;c[a+132+4>>2]=w;x=(c[k>>2]=d,+g[k>>2]);r=(c[k>>2]=e,+g[k>>2]);q=(c[k>>2]=t,+g[k>>2]);s=(c[k>>2]=u,+g[k>>2]);x=(c[k>>2]=v,+g[k>>2])*(j*(o-p+(h*q-f*s))+i*(m-n+(f*q+h*s))-x);r=x+(c[k>>2]=w,+g[k>>2])*(j*(m-n+(f*q+h*s))-i*(o-p+(h*q-f*s))-r);w=b+28|0;s=+g[w>>2];w=a+152|0;g[w>>2]=s;s=r*s;s=l+s;w=a+148|0;g[w>>2]=s;w=a+156|0;g[w>>2]=0.0;return}}function Yra(a,b){a=a|0;b=+b;bT(((g[k>>2]=b,c[k>>2]|0)&2139095040|0)!=2139095040,444881);g[a+152>>2]=b;return}function Zra(a){a=a|0;return +(+g[a+152>>2])}function _ra(b,e,f,g,h,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0;k=i;i=i+16|0;c[k+8>>2]=b;c[k+4>>2]=e;c[k>>2]=f;a[k+14>>0]=g;a[k+13>>0]=h;a[k+12>>0]=j;mBb(c[k+8>>2]|0,c[k+4>>2]|0,(c[k>>2]|0)+(d[k+13>>0]|0)+(d[k+12>>0]|0)|0)|0;i=k;return}function $ra(e,f,g,h,j,k){e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0;l=i;i=i+32|0;c[l+12>>2]=e;c[l+8>>2]=f;c[l+4>>2]=g;a[l+20>>0]=h;a[l+19>>0]=j;a[l+18>>0]=k;if(d[l+19>>0]|0|0){b[l+16>>1]=(d[c[l+8>>2]>>0]|0)-128<<8;mBb(c[l+12>>2]|0,l+16+(d[l+20>>0]|0)|0,d[l+19>>0]|0|0)|0;c[l+8>>2]=(c[l+8>>2]|0)+1;c[l+12>>2]=(c[l+12>>2]|0)+(d[l+19>>0]|0)}c[l>>2]=0;while(1){if((c[l>>2]|0)>>>0>=(c[l+4>>2]|0)>>>0)break;b[l+16>>1]=(d[(c[l+8>>2]|0)+(c[l>>2]|0)>>0]|0)-128<<8;k=(c[l+12>>2]|0)+(c[l>>2]<<1)|0;a[k>>0]=a[l+16>>0]|0;a[k+1>>0]=a[l+16+1>>0]|0;c[l>>2]=(c[l>>2]|0)+1}if(!(d[l+18>>0]|0)){i=l;return}b[l+16>>1]=(d[(c[l+8>>2]|0)+(c[l+4>>2]|0)>>0]|0)-128<<8;mBb((c[l+12>>2]|0)+(c[l+4>>2]<<1)|0,l+16|0,d[l+18>>0]|0|0)|0;i=l;return}function asa(b,e,f,g,h,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0;k=i;i=i+32|0;c[k+16>>2]=b;c[k+12>>2]=e;c[k+8>>2]=f;a[k+22>>0]=g;a[k+21>>0]=h;a[k+20>>0]=j;if(d[k+21>>0]|0|0){c[k+4>>2]=(d[c[k+12>>2]>>0]|0)-128<<24;mBb(c[k+16>>2]|0,k+4+1+(d[k+22>>0]|0)|0,d[k+21>>0]|0|0)|0;c[k+12>>2]=(c[k+12>>2]|0)+1;c[k+16>>2]=(c[k+16>>2]|0)+(d[k+21>>0]|0)}c[k>>2]=0;while(1){if((c[k>>2]|0)>>>0>=(c[k+8>>2]|0)>>>0)break;c[k+4>>2]=(d[(c[k+12>>2]|0)+(c[k>>2]|0)>>0]|0)-128<<24;j=(c[k+16>>2]|0)+((c[k>>2]|0)*3|0)|0;a[j>>0]=a[k+4+1>>0]|0;a[j+1>>0]=a[k+4+1+1>>0]|0;a[j+2>>0]=a[k+4+1+2>>0]|0;c[k>>2]=(c[k>>2]|0)+1}if(!(d[k+20>>0]|0)){i=k;return}c[k+4>>2]=(d[(c[k+12>>2]|0)+(c[k+8>>2]|0)>>0]|0)-128<<24;mBb((c[k+16>>2]|0)+((c[k+8>>2]|0)*3|0)|0,k+4+1|0,d[k+20>>0]|0|0)|0;i=k;return}function bsa(b,e,f,g,h,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0;k=i;i=i+32|0;c[k+16>>2]=b;c[k+12>>2]=e;c[k+8>>2]=f;a[k+22>>0]=g;a[k+21>>0]=h;a[k+20>>0]=j;if(d[k+21>>0]|0|0){c[k+4>>2]=(d[c[k+12>>2]>>0]|0)-128<<24;mBb(c[k+16>>2]|0,k+4+(d[k+22>>0]|0)|0,d[k+21>>0]|0|0)|0;c[k+12>>2]=(c[k+12>>2]|0)+1;c[k+16>>2]=(c[k+16>>2]|0)+(d[k+21>>0]|0)}c[k>>2]=0;while(1){if((c[k>>2]|0)>>>0>=(c[k+8>>2]|0)>>>0)break;c[k+4>>2]=(d[(c[k+12>>2]|0)+(c[k>>2]|0)>>0]|0)-128<<24;j=(c[k+16>>2]|0)+(c[k>>2]<<2)|0;a[j>>0]=a[k+4>>0]|0;a[j+1>>0]=a[k+4+1>>0]|0;a[j+2>>0]=a[k+4+2>>0]|0;a[j+3>>0]=a[k+4+3>>0]|0;c[k>>2]=(c[k>>2]|0)+1}if(!(d[k+20>>0]|0)){i=k;return}c[k+4>>2]=(d[(c[k+12>>2]|0)+(c[k+8>>2]|0)>>0]|0)-128<<24;mBb((c[k+16>>2]|0)+(c[k+8>>2]<<2)|0,k+4|0,d[k+20>>0]|0|0)|0;i=k;return}function csa(b,e,f,h,j,k){b=b|0;e=e|0;f=f|0;h=h|0;j=j|0;k=k|0;var l=0;l=i;i=i+32|0;c[l+16>>2]=b;c[l+12>>2]=e;c[l+8>>2]=f;a[l+22>>0]=h;a[l+21>>0]=j;a[l+20>>0]=k;if(d[l+21>>0]|0|0){g[l+4>>2]=+((d[c[l+12>>2]>>0]|0)-128|0)/128.0;mBb(c[l+16>>2]|0,l+4+(d[l+22>>0]|0)|0,d[l+21>>0]|0|0)|0;c[l+12>>2]=(c[l+12>>2]|0)+1;c[l+16>>2]=(c[l+16>>2]|0)+(d[l+21>>0]|0)}c[l>>2]=0;while(1){if((c[l>>2]|0)>>>0>=(c[l+8>>2]|0)>>>0)break;g[l+4>>2]=+((d[(c[l+12>>2]|0)+(c[l>>2]|0)>>0]|0)-128|0)/128.0;k=(c[l+16>>2]|0)+(c[l>>2]<<2)|0;a[k>>0]=a[l+4>>0]|0;a[k+1>>0]=a[l+4+1>>0]|0;a[k+2>>0]=a[l+4+2>>0]|0;a[k+3>>0]=a[l+4+3>>0]|0;c[l>>2]=(c[l>>2]|0)+1}if(!(d[l+20>>0]|0)){i=l;return}g[l+4>>2]=+((d[(c[l+12>>2]|0)+(c[l+8>>2]|0)>>0]|0)-128|0)/128.0;mBb((c[l+16>>2]|0)+(c[l+8>>2]<<2)|0,l+4|0,d[l+20>>0]|0|0)|0;i=l;return}function dsa(b,e,f,g,j,k){b=b|0;e=e|0;f=f|0;g=g|0;j=j|0;k=k|0;var l=0;l=i;i=i+32|0;c[l+20>>2]=b;c[l+16>>2]=e;c[l+12>>2]=f;a[l+26>>0]=g;a[l+25>>0]=j;a[l+24>>0]=k;if(d[l+25>>0]|0|0){h[l>>3]=+((d[c[l+16>>2]>>0]|0)-128|0)/128.0;mBb(c[l+20>>2]|0,l+(d[l+26>>0]|0)|0,d[l+25>>0]|0|0)|0;c[l+16>>2]=(c[l+16>>2]|0)+1;c[l+20>>2]=(c[l+20>>2]|0)+(d[l+25>>0]|0)}c[l+8>>2]=0;while(1){if((c[l+8>>2]|0)>>>0>=(c[l+12>>2]|0)>>>0)break;h[l>>3]=+((d[(c[l+16>>2]|0)+(c[l+8>>2]|0)>>0]|0)-128|0)/128.0;k=(c[l+20>>2]|0)+(c[l+8>>2]<<3)|0;a[k>>0]=a[l>>0]|0;a[k+1>>0]=a[l+1>>0]|0;a[k+2>>0]=a[l+2>>0]|0;a[k+3>>0]=a[l+3>>0]|0;a[k+4>>0]=a[l+4>>0]|0;a[k+5>>0]=a[l+5>>0]|0;a[k+6>>0]=a[l+6>>0]|0;a[k+7>>0]=a[l+7>>0]|0;c[l+8>>2]=(c[l+8>>2]|0)+1}if(!(d[l+24>>0]|0)){i=l;return}h[l>>3]=+((d[(c[l+16>>2]|0)+(c[l+12>>2]|0)>>0]|0)-128|0)/128.0;mBb((c[l+20>>2]|0)+(c[l+12>>2]<<3)|0,l|0,d[l+24>>0]|0|0)|0;i=l;return}function esa(d,e,f,g,h,j){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0;k=i;i=i+32|0;c[k+12>>2]=d;c[k+8>>2]=e;c[k+4>>2]=f;a[k+20>>0]=g;a[k+19>>0]=h;a[k+18>>0]=j;c[k>>2]=0;while(1){if((c[k>>2]|0)>>>0>=(c[k+4>>2]|0)>>>0)break;j=(c[k+8>>2]|0)+(c[k>>2]<<1)|0;a[k+16>>0]=a[j>>0]|0;a[k+16+1>>0]=a[j+1>>0]|0;a[(c[k+12>>2]|0)+(c[k>>2]|0)>>0]=(b[k+16>>1]>>8)+128;c[k>>2]=(c[k>>2]|0)+1}i=k;return}function fsa(b,e,f,g,h,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0;k=i;i=i+16|0;c[k+8>>2]=b;c[k+4>>2]=e;c[k>>2]=f;a[k+14>>0]=g;a[k+13>>0]=h;a[k+12>>0]=j;mBb(c[k+8>>2]|0,(c[k+4>>2]|0)+(d[k+14>>0]|0)|0,(c[k>>2]<<1)+(d[k+13>>0]|0)+(d[k+12>>0]|0)|0)|0;i=k;return}function gsa(e,f,g,h,j,k){e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0;l=i;i=i+32|0;c[l+16>>2]=e;c[l+12>>2]=f;c[l+8>>2]=g;a[l+24>>0]=h;a[l+23>>0]=j;a[l+22>>0]=k;if(d[l+23>>0]|0){k=c[l+12>>2]|0;a[l+20>>0]=a[k>>0]|0;a[l+20+1>>0]=a[k+1>>0]|0;c[l+4>>2]=b[l+20>>1]<<16;mBb(c[l+16>>2]|0,l+4+1+(d[l+24>>0]|0)|0,d[l+23>>0]|0)|0;c[l+12>>2]=(c[l+12>>2]|0)+2;c[l+16>>2]=(c[l+16>>2]|0)+(d[l+23>>0]|0)}c[l>>2]=0;while(1){if((c[l>>2]|0)>>>0>=(c[l+8>>2]|0)>>>0)break;k=(c[l+12>>2]|0)+(c[l>>2]<<1)|0;a[l+20>>0]=a[k>>0]|0;a[l+20+1>>0]=a[k+1>>0]|0;c[l+4>>2]=b[l+20>>1]<<16;k=(c[l+16>>2]|0)+((c[l>>2]|0)*3|0)|0;a[k>>0]=a[l+4+1>>0]|0;a[k+1>>0]=a[l+4+1+1>>0]|0;a[k+2>>0]=a[l+4+1+2>>0]|0;c[l>>2]=(c[l>>2]|0)+1}if(!(d[l+22>>0]|0)){i=l;return}k=(c[l+12>>2]|0)+(c[l+8>>2]<<1)|0;a[l+20>>0]=a[k>>0]|0;a[l+20+1>>0]=a[k+1>>0]|0;c[l+4>>2]=b[l+20>>1]<<16;mBb((c[l+16>>2]|0)+((c[l+8>>2]|0)*3|0)|0,l+4+1|0,d[l+22>>0]|0)|0;i=l;return}function hsa(e,f,g,h,j,k){e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0;l=i;i=i+32|0;c[l+16>>2]=e;c[l+12>>2]=f;c[l+8>>2]=g;a[l+24>>0]=h;a[l+23>>0]=j;a[l+22>>0]=k;if(d[l+23>>0]|0){k=c[l+12>>2]|0;a[l+20>>0]=a[k>>0]|0;a[l+20+1>>0]=a[k+1>>0]|0;c[l+4>>2]=b[l+20>>1]<<16;mBb(c[l+16>>2]|0,l+4+(d[l+24>>0]|0)|0,d[l+23>>0]|0)|0;c[l+12>>2]=(c[l+12>>2]|0)+2;c[l+16>>2]=(c[l+16>>2]|0)+(d[l+23>>0]|0)}c[l>>2]=0;while(1){if((c[l>>2]|0)>>>0>=(c[l+8>>2]|0)>>>0)break;k=(c[l+12>>2]|0)+(c[l>>2]<<1)|0;a[l+20>>0]=a[k>>0]|0;a[l+20+1>>0]=a[k+1>>0]|0;c[l+4>>2]=b[l+20>>1]<<16;k=(c[l+16>>2]|0)+(c[l>>2]<<2)|0;a[k>>0]=a[l+4>>0]|0;a[k+1>>0]=a[l+4+1>>0]|0;a[k+2>>0]=a[l+4+2>>0]|0;a[k+3>>0]=a[l+4+3>>0]|0;c[l>>2]=(c[l>>2]|0)+1}if(!(d[l+22>>0]|0)){i=l;return}k=(c[l+12>>2]|0)+(c[l+8>>2]<<1)|0;a[l+20>>0]=a[k>>0]|0;a[l+20+1>>0]=a[k+1>>0]|0;c[l+4>>2]=b[l+20>>1]<<16;mBb((c[l+16>>2]|0)+(c[l+8>>2]<<2)|0,l+4|0,d[l+22>>0]|0)|0;i=l;return}function isa(e,f,h,j,k,l){e=e|0;f=f|0;h=h|0;j=j|0;k=k|0;l=l|0;var m=0;m=i;i=i+32|0;c[m+16>>2]=e;c[m+12>>2]=f;c[m+8>>2]=h;a[m+24>>0]=j;a[m+23>>0]=k;a[m+22>>0]=l;if(d[m+23>>0]|0){l=c[m+12>>2]|0;a[m+20>>0]=a[l>>0]|0;a[m+20+1>>0]=a[l+1>>0]|0;g[m+4>>2]=+(b[m+20>>1]|0)/32768.0;mBb(c[m+16>>2]|0,m+4+(d[m+24>>0]|0)|0,d[m+23>>0]|0)|0;c[m+12>>2]=(c[m+12>>2]|0)+2;c[m+16>>2]=(c[m+16>>2]|0)+(d[m+23>>0]|0)}c[m>>2]=0;while(1){if((c[m>>2]|0)>>>0>=(c[m+8>>2]|0)>>>0)break;l=(c[m+12>>2]|0)+(c[m>>2]<<1)|0;a[m+20>>0]=a[l>>0]|0;a[m+20+1>>0]=a[l+1>>0]|0;g[m+4>>2]=+(b[m+20>>1]|0)/32768.0;l=(c[m+16>>2]|0)+(c[m>>2]<<2)|0;a[l>>0]=a[m+4>>0]|0;a[l+1>>0]=a[m+4+1>>0]|0;a[l+2>>0]=a[m+4+2>>0]|0;a[l+3>>0]=a[m+4+3>>0]|0;c[m>>2]=(c[m>>2]|0)+1}if(!(d[m+22>>0]|0)){i=m;return}l=(c[m+12>>2]|0)+(c[m+8>>2]<<1)|0;a[m+20>>0]=a[l>>0]|0;a[m+20+1>>0]=a[l+1>>0]|0;g[m+4>>2]=+(b[m+20>>1]|0)/32768.0;mBb((c[m+16>>2]|0)+(c[m+8>>2]<<2)|0,m+4|0,d[m+22>>0]|0)|0;i=m;return}function jsa(e,f,g,j,k,l){e=e|0;f=f|0;g=g|0;j=j|0;k=k|0;l=l|0;var m=0;m=i;i=i+32|0;c[m+20>>2]=e;c[m+16>>2]=f;c[m+12>>2]=g;a[m+28>>0]=j;a[m+27>>0]=k;a[m+26>>0]=l;if(d[m+27>>0]|0){l=c[m+16>>2]|0;a[m+24>>0]=a[l>>0]|0;a[m+24+1>>0]=a[l+1>>0]|0;h[m>>3]=+(b[m+24>>1]|0)/32768.0;mBb(c[m+20>>2]|0,m+(d[m+28>>0]|0)|0,d[m+27>>0]|0)|0;c[m+16>>2]=(c[m+16>>2]|0)+2;c[m+20>>2]=(c[m+20>>2]|0)+(d[m+27>>0]|0)}c[m+8>>2]=0;while(1){if((c[m+8>>2]|0)>>>0>=(c[m+12>>2]|0)>>>0)break;l=(c[m+16>>2]|0)+(c[m+8>>2]<<1)|0;a[m+24>>0]=a[l>>0]|0;a[m+24+1>>0]=a[l+1>>0]|0;h[m>>3]=+(b[m+24>>1]|0)/32768.0;l=(c[m+20>>2]|0)+(c[m+8>>2]<<3)|0;a[l>>0]=a[m>>0]|0;a[l+1>>0]=a[m+1>>0]|0;a[l+2>>0]=a[m+2>>0]|0;a[l+3>>0]=a[m+3>>0]|0;a[l+4>>0]=a[m+4>>0]|0;a[l+5>>0]=a[m+5>>0]|0;a[l+6>>0]=a[m+6>>0]|0;a[l+7>>0]=a[m+7>>0]|0;c[m+8>>2]=(c[m+8>>2]|0)+1}if(!(d[m+26>>0]|0)){i=m;return}l=(c[m+16>>2]|0)+(c[m+12>>2]<<1)|0;a[m+24>>0]=a[l>>0]|0;a[m+24+1>>0]=a[l+1>>0]|0;h[m>>3]=+(b[m+24>>1]|0)/32768.0;mBb((c[m+20>>2]|0)+(c[m+12>>2]<<3)|0,m|0,d[m+26>>0]|0)|0;i=m;return}function ksa(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0;j=i;i=i+32|0;c[j+16>>2]=b;c[j+12>>2]=d;c[j+8>>2]=e;a[j+22>>0]=f;a[j+21>>0]=g;a[j+20>>0]=h;c[j+4>>2]=0;c[j>>2]=0;while(1){if((c[j>>2]|0)>>>0>=(c[j+8>>2]|0)>>>0)break;h=(c[j+12>>2]|0)+((c[j>>2]|0)*3|0)|0;a[j+4+1>>0]=a[h>>0]|0;a[j+4+1+1>>0]=a[h+1>>0]|0;a[j+4+1+2>>0]=a[h+2>>0]|0;a[(c[j+16>>2]|0)+(c[j>>2]|0)>>0]=(c[j+4>>2]>>16)+128;c[j>>2]=(c[j>>2]|0)+1}i=j;return}function lsa(b,e,f,g,h,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0;k=i;i=i+32|0;c[k+12>>2]=b;c[k+8>>2]=e;c[k+4>>2]=f;a[k+18>>0]=g;a[k+17>>0]=h;a[k+16>>0]=j;if(d[k+17>>0]|0|0){mBb(c[k+12>>2]|0,(c[k+8>>2]|0)+1+(d[k+18>>0]|0)|0,d[k+17>>0]|0|0)|0;c[k+8>>2]=(c[k+8>>2]|0)+3;c[k+12>>2]=(c[k+12>>2]|0)+(d[k+17>>0]|0)}c[k>>2]=0;while(1){if((c[k>>2]|0)>>>0>=(c[k+4>>2]|0)>>>0)break;j=(c[k+12>>2]|0)+(c[k>>2]<<1)|0;e=(c[k+8>>2]|0)+1+((c[k>>2]|0)*3|0)|0;a[j>>0]=a[e>>0]|0;a[j+1>>0]=a[e+1>>0]|0;c[k>>2]=(c[k>>2]|0)+1}if(!(d[k+16>>0]|0)){i=k;return}mBb((c[k+12>>2]|0)+(c[k+4>>2]<<1)|0,(c[k+8>>2]|0)+1+((c[k+4>>2]|0)*3|0)|0,d[k+16>>0]|0|0)|0;i=k;return}function msa(b,e,f,g,h,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0;k=i;i=i+16|0;c[k+8>>2]=b;c[k+4>>2]=e;c[k>>2]=f;a[k+14>>0]=g;a[k+13>>0]=h;a[k+12>>0]=j;mBb(c[k+8>>2]|0,(c[k+4>>2]|0)+(d[k+14>>0]|0)|0,((c[k>>2]|0)*3|0)+(d[k+13>>0]|0)+(d[k+12>>0]|0)|0)|0;i=k;return}function nsa(b,e,f,g,h,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0;k=i;i=i+32|0;c[k+16>>2]=b;c[k+12>>2]=e;c[k+8>>2]=f;a[k+22>>0]=g;a[k+21>>0]=h;a[k+20>>0]=j;c[k+4>>2]=0;if(d[k+21>>0]|0|0){j=c[k+12>>2]|0;a[k+4+1>>0]=a[j>>0]|0;a[k+4+1+1>>0]=a[j+1>>0]|0;a[k+4+1+2>>0]=a[j+2>>0]|0;mBb(c[k+16>>2]|0,k+4+(d[k+22>>0]|0)|0,d[k+21>>0]|0|0)|0;c[k+12>>2]=(c[k+12>>2]|0)+3;c[k+16>>2]=(c[k+16>>2]|0)+(d[k+21>>0]|0)}c[k>>2]=0;while(1){if((c[k>>2]|0)>>>0>=(c[k+8>>2]|0)>>>0)break;j=(c[k+12>>2]|0)+((c[k>>2]|0)*3|0)|0;a[k+4+1>>0]=a[j>>0]|0;a[k+4+1+1>>0]=a[j+1>>0]|0;a[k+4+1+2>>0]=a[j+2>>0]|0;j=(c[k+16>>2]|0)+(c[k>>2]<<2)|0;a[j>>0]=a[k+4>>0]|0;a[j+1>>0]=a[k+4+1>>0]|0;a[j+2>>0]=a[k+4+2>>0]|0;a[j+3>>0]=a[k+4+3>>0]|0;c[k>>2]=(c[k>>2]|0)+1}if(!(d[k+20>>0]|0)){i=k;return}j=(c[k+12>>2]|0)+((c[k+8>>2]|0)*3|0)|0;a[k+4+1>>0]=a[j>>0]|0;a[k+4+1+1>>0]=a[j+1>>0]|0;a[k+4+1+2>>0]=a[j+2>>0]|0;mBb((c[k+16>>2]|0)+(c[k+8>>2]<<2)|0,k+4|0,d[k+20>>0]|0|0)|0;i=k;return}function osa(b,e,f,h,j,k){b=b|0;e=e|0;f=f|0;h=h|0;j=j|0;k=k|0;var l=0;l=i;i=i+32|0;c[l+20>>2]=b;c[l+16>>2]=e;c[l+12>>2]=f;a[l+26>>0]=h;a[l+25>>0]=j;a[l+24>>0]=k;c[l+8>>2]=0;if(d[l+25>>0]|0|0){k=c[l+16>>2]|0;a[l+8+1>>0]=a[k>>0]|0;a[l+8+1+1>>0]=a[k+1>>0]|0;a[l+8+1+2>>0]=a[k+2>>0]|0;g[l+4>>2]=+(c[l+8>>2]|0)/2147483648.0;mBb(c[l+20>>2]|0,l+4+(d[l+26>>0]|0)|0,d[l+25>>0]|0|0)|0;c[l+16>>2]=(c[l+16>>2]|0)+3;c[l+20>>2]=(c[l+20>>2]|0)+(d[l+25>>0]|0)}c[l>>2]=0;while(1){if((c[l>>2]|0)>>>0>=(c[l+12>>2]|0)>>>0)break;k=(c[l+16>>2]|0)+((c[l>>2]|0)*3|0)|0;a[l+8+1>>0]=a[k>>0]|0;a[l+8+1+1>>0]=a[k+1>>0]|0;a[l+8+1+2>>0]=a[k+2>>0]|0;g[l+4>>2]=+(c[l+8>>2]|0)/2147483648.0;k=(c[l+20>>2]|0)+(c[l>>2]<<2)|0;a[k>>0]=a[l+4>>0]|0;a[k+1>>0]=a[l+4+1>>0]|0;a[k+2>>0]=a[l+4+2>>0]|0;a[k+3>>0]=a[l+4+3>>0]|0;c[l>>2]=(c[l>>2]|0)+1}if(!(d[l+24>>0]|0)){i=l;return}k=(c[l+16>>2]|0)+((c[l+12>>2]|0)*3|0)|0;a[l+8+1>>0]=a[k>>0]|0;a[l+8+1+1>>0]=a[k+1>>0]|0;a[l+8+1+2>>0]=a[k+2>>0]|0;g[l+4>>2]=+(c[l+8>>2]|0)/2147483648.0;mBb((c[l+20>>2]|0)+(c[l+12>>2]<<2)|0,l+4|0,d[l+24>>0]|0|0)|0;i=l;return}function psa(b,e,f,g,j,k){b=b|0;e=e|0;f=f|0;g=g|0;j=j|0;k=k|0;var l=0;l=i;i=i+32|0;c[l+24>>2]=b;c[l+20>>2]=e;c[l+16>>2]=f;a[l+30>>0]=g;a[l+29>>0]=j;a[l+28>>0]=k;c[l+12>>2]=0;if(d[l+29>>0]|0|0){k=c[l+20>>2]|0;a[l+12+1>>0]=a[k>>0]|0;a[l+12+1+1>>0]=a[k+1>>0]|0;a[l+12+1+2>>0]=a[k+2>>0]|0;h[l>>3]=+(c[l+12>>2]|0)/2147483648.0;mBb(c[l+24>>2]|0,l+(d[l+30>>0]|0)|0,d[l+29>>0]|0|0)|0;c[l+20>>2]=(c[l+20>>2]|0)+3;c[l+24>>2]=(c[l+24>>2]|0)+(d[l+29>>0]|0)}c[l+8>>2]=0;while(1){if((c[l+8>>2]|0)>>>0>=(c[l+16>>2]|0)>>>0)break;k=(c[l+20>>2]|0)+((c[l+8>>2]|0)*3|0)|0;a[l+12+1>>0]=a[k>>0]|0;a[l+12+1+1>>0]=a[k+1>>0]|0;a[l+12+1+2>>0]=a[k+2>>0]|0;h[l>>3]=+(c[l+12>>2]|0)/2147483648.0;k=(c[l+24>>2]|0)+(c[l+8>>2]<<3)|0;a[k>>0]=a[l>>0]|0;a[k+1>>0]=a[l+1>>0]|0;a[k+2>>0]=a[l+2>>0]|0;a[k+3>>0]=a[l+3>>0]|0;a[k+4>>0]=a[l+4>>0]|0;a[k+5>>0]=a[l+5>>0]|0;a[k+6>>0]=a[l+6>>0]|0;a[k+7>>0]=a[l+7>>0]|0;c[l+8>>2]=(c[l+8>>2]|0)+1}if(!(d[l+28>>0]|0)){i=l;return}k=(c[l+20>>2]|0)+((c[l+16>>2]|0)*3|0)|0;a[l+12+1>>0]=a[k>>0]|0;a[l+12+1+1>>0]=a[k+1>>0]|0;a[l+12+1+2>>0]=a[k+2>>0]|0;h[l>>3]=+(c[l+12>>2]|0)/2147483648.0;mBb((c[l+24>>2]|0)+(c[l+16>>2]<<3)|0,l|0,d[l+28>>0]|0|0)|0;i=l;return}function qsa(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0;j=i;i=i+32|0;c[j+16>>2]=b;c[j+12>>2]=d;c[j+8>>2]=e;a[j+22>>0]=f;a[j+21>>0]=g;a[j+20>>0]=h;c[j+4>>2]=0;c[j>>2]=0;while(1){if((c[j>>2]|0)>>>0>=(c[j+8>>2]|0)>>>0)break;h=(c[j+12>>2]|0)+(c[j>>2]<<2)|0;a[j+4>>0]=a[h>>0]|0;a[j+4+1>>0]=a[h+1>>0]|0;a[j+4+2>>0]=a[h+2>>0]|0;a[j+4+3>>0]=a[h+3>>0]|0;a[(c[j+16>>2]|0)+(c[j>>2]|0)>>0]=(c[j+4>>2]>>24)+128;c[j>>2]=(c[j>>2]|0)+1}i=j;return}function rsa(b,e,f,g,h,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0;k=i;i=i+32|0;c[k+12>>2]=b;c[k+8>>2]=e;c[k+4>>2]=f;a[k+18>>0]=g;a[k+17>>0]=h;a[k+16>>0]=j;if(d[k+17>>0]|0|0){mBb(c[k+12>>2]|0,(c[k+8>>2]|0)+2+(d[k+18>>0]|0)|0,d[k+17>>0]|0|0)|0;c[k+8>>2]=(c[k+8>>2]|0)+4;c[k+12>>2]=(c[k+12>>2]|0)+(d[k+17>>0]|0)}c[k>>2]=0;while(1){if((c[k>>2]|0)>>>0>=(c[k+4>>2]|0)>>>0)break;j=(c[k+12>>2]|0)+(c[k>>2]<<1)|0;e=(c[k+8>>2]|0)+2+(c[k>>2]<<2)|0;a[j>>0]=a[e>>0]|0;a[j+1>>0]=a[e+1>>0]|0;c[k>>2]=(c[k>>2]|0)+1}if(!(d[k+16>>0]|0)){i=k;return}mBb((c[k+12>>2]|0)+(c[k+4>>2]<<1)|0,(c[k+8>>2]|0)+2+(c[k+4>>2]<<2)|0,d[k+16>>0]|0|0)|0;i=k;return}function ssa(b,e,f,g,h,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0;k=i;i=i+32|0;c[k+12>>2]=b;c[k+8>>2]=e;c[k+4>>2]=f;a[k+18>>0]=g;a[k+17>>0]=h;a[k+16>>0]=j;if(d[k+17>>0]|0|0){mBb(c[k+12>>2]|0,(c[k+8>>2]|0)+1+(d[k+18>>0]|0)|0,d[k+17>>0]|0|0)|0;c[k+8>>2]=(c[k+8>>2]|0)+4;c[k+12>>2]=(c[k+12>>2]|0)+(d[k+17>>0]|0)}c[k>>2]=0;while(1){if((c[k>>2]|0)>>>0>=(c[k+4>>2]|0)>>>0)break;j=(c[k+12>>2]|0)+((c[k>>2]|0)*3|0)|0;e=(c[k+8>>2]|0)+1+(c[k>>2]<<2)|0;a[j>>0]=a[e>>0]|0;a[j+1>>0]=a[e+1>>0]|0;a[j+2>>0]=a[e+2>>0]|0;c[k>>2]=(c[k>>2]|0)+1}if(!(d[k+16>>0]|0)){i=k;return}mBb((c[k+12>>2]|0)+((c[k+4>>2]|0)*3|0)|0,(c[k+8>>2]|0)+1+(c[k+4>>2]<<2)|0,d[k+16>>0]|0|0)|0;i=k;return}function tsa(b,e,f,g,h,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0;k=i;i=i+16|0;c[k+8>>2]=b;c[k+4>>2]=e;c[k>>2]=f;a[k+14>>0]=g;a[k+13>>0]=h;a[k+12>>0]=j;mBb(c[k+8>>2]|0,(c[k+4>>2]|0)+(d[k+14>>0]|0)|0,(c[k>>2]<<2)+(d[k+13>>0]|0)+(d[k+12>>0]|0)|0)|0;i=k;return}function usa(b,e,f,h,j,k){b=b|0;e=e|0;f=f|0;h=h|0;j=j|0;k=k|0;var l=0;l=i;i=i+32|0;c[l+20>>2]=b;c[l+16>>2]=e;c[l+12>>2]=f;a[l+26>>0]=h;a[l+25>>0]=j;a[l+24>>0]=k;if(d[l+25>>0]|0|0){k=c[l+16>>2]|0;a[l+8>>0]=a[k>>0]|0;a[l+8+1>>0]=a[k+1>>0]|0;a[l+8+2>>0]=a[k+2>>0]|0;a[l+8+3>>0]=a[k+3>>0]|0;g[l+4>>2]=+(c[l+8>>2]|0)/2147483648.0;mBb(c[l+20>>2]|0,l+4+(d[l+26>>0]|0)|0,d[l+25>>0]|0|0)|0;c[l+16>>2]=(c[l+16>>2]|0)+4;c[l+20>>2]=(c[l+20>>2]|0)+(d[l+25>>0]|0)}c[l>>2]=0;while(1){if((c[l>>2]|0)>>>0>=(c[l+12>>2]|0)>>>0)break;k=(c[l+16>>2]|0)+(c[l>>2]<<2)|0;a[l+8>>0]=a[k>>0]|0;a[l+8+1>>0]=a[k+1>>0]|0;a[l+8+2>>0]=a[k+2>>0]|0;a[l+8+3>>0]=a[k+3>>0]|0;g[l+4>>2]=+(c[l+8>>2]|0)/2147483648.0;k=(c[l+20>>2]|0)+(c[l>>2]<<2)|0;a[k>>0]=a[l+4>>0]|0;a[k+1>>0]=a[l+4+1>>0]|0;a[k+2>>0]=a[l+4+2>>0]|0;a[k+3>>0]=a[l+4+3>>0]|0;c[l>>2]=(c[l>>2]|0)+1}if(!(d[l+24>>0]|0)){i=l;return}k=(c[l+16>>2]|0)+(c[l+12>>2]<<2)|0;a[l+8>>0]=a[k>>0]|0;a[l+8+1>>0]=a[k+1>>0]|0;a[l+8+2>>0]=a[k+2>>0]|0;a[l+8+3>>0]=a[k+3>>0]|0;g[l+4>>2]=+(c[l+8>>2]|0)/2147483648.0;mBb((c[l+20>>2]|0)+(c[l+12>>2]<<2)|0,l+4|0,d[l+24>>0]|0|0)|0;i=l;return}function vsa(b,e,f,g,j,k){b=b|0;e=e|0;f=f|0;g=g|0;j=j|0;k=k|0;var l=0;l=i;i=i+32|0;c[l+24>>2]=b;c[l+20>>2]=e;c[l+16>>2]=f;a[l+30>>0]=g;a[l+29>>0]=j;a[l+28>>0]=k;if(d[l+29>>0]|0|0){k=c[l+20>>2]|0;a[l+12>>0]=a[k>>0]|0;a[l+12+1>>0]=a[k+1>>0]|0;a[l+12+2>>0]=a[k+2>>0]|0;a[l+12+3>>0]=a[k+3>>0]|0;h[l>>3]=+(c[l+12>>2]|0)/2147483648.0;mBb(c[l+24>>2]|0,l+(d[l+30>>0]|0)|0,d[l+29>>0]|0|0)|0;c[l+20>>2]=(c[l+20>>2]|0)+4;c[l+24>>2]=(c[l+24>>2]|0)+(d[l+29>>0]|0)}c[l+8>>2]=0;while(1){if((c[l+8>>2]|0)>>>0>=(c[l+16>>2]|0)>>>0)break;k=(c[l+20>>2]|0)+(c[l+8>>2]<<2)|0;a[l+12>>0]=a[k>>0]|0;a[l+12+1>>0]=a[k+1>>0]|0;a[l+12+2>>0]=a[k+2>>0]|0;a[l+12+3>>0]=a[k+3>>0]|0;h[l>>3]=+(c[l+12>>2]|0)/2147483648.0;k=(c[l+24>>2]|0)+(c[l+8>>2]<<3)|0;a[k>>0]=a[l>>0]|0;a[k+1>>0]=a[l+1>>0]|0;a[k+2>>0]=a[l+2>>0]|0;a[k+3>>0]=a[l+3>>0]|0;a[k+4>>0]=a[l+4>>0]|0;a[k+5>>0]=a[l+5>>0]|0;a[k+6>>0]=a[l+6>>0]|0;a[k+7>>0]=a[l+7>>0]|0;c[l+8>>2]=(c[l+8>>2]|0)+1}if(!(d[l+28>>0]|0)){i=l;return}k=(c[l+20>>2]|0)+(c[l+16>>2]<<2)|0;a[l+12>>0]=a[k>>0]|0;a[l+12+1>>0]=a[k+1>>0]|0;a[l+12+2>>0]=a[k+2>>0]|0;a[l+12+3>>0]=a[k+3>>0]|0;h[l>>3]=+(c[l+12>>2]|0)/2147483648.0;mBb((c[l+24>>2]|0)+(c[l+16>>2]<<3)|0,l|0,d[l+28>>0]|0|0)|0;i=l;return}function wsa(b,d,e,f,h,j){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;j=j|0;var k=0;k=i;i=i+32|0;c[k+16>>2]=b;c[k+12>>2]=d;c[k+8>>2]=e;a[k+22>>0]=f;a[k+21>>0]=h;a[k+20>>0]=j;c[k>>2]=0;while(1){if((c[k>>2]|0)>>>0>=(c[k+8>>2]|0)>>>0)break;j=(c[k+12>>2]|0)+(c[k>>2]<<2)|0;a[k+4>>0]=a[j>>0]|0;a[k+4+1>>0]=a[j+1>>0]|0;a[k+4+2>>0]=a[j+2>>0]|0;a[k+4+3>>0]=a[j+3>>0]|0;a[(c[k+16>>2]|0)+(c[k>>2]|0)>>0]=~~(+g[k+4>>2]*127.5+128.0);c[k>>2]=(c[k>>2]|0)+1}i=k;return}function xsa(e,f,h,j,k,l){e=e|0;f=f|0;h=h|0;j=j|0;k=k|0;l=l|0;var m=0;m=i;i=i+32|0;c[m+16>>2]=e;c[m+12>>2]=f;c[m+8>>2]=h;a[m+24>>0]=j;a[m+23>>0]=k;a[m+22>>0]=l;if(d[m+23>>0]|0|0){l=c[m+12>>2]|0;a[m+4>>0]=a[l>>0]|0;a[m+4+1>>0]=a[l+1>>0]|0;a[m+4+2>>0]=a[l+2>>0]|0;a[m+4+3>>0]=a[l+3>>0]|0;b[m+20>>1]=~~(+g[m+4>>2]*32767.5);mBb(c[m+16>>2]|0,m+20+(d[m+24>>0]|0)|0,d[m+23>>0]|0|0)|0;c[m+12>>2]=(c[m+12>>2]|0)+4;c[m+16>>2]=(c[m+16>>2]|0)+(d[m+23>>0]|0)}c[m>>2]=0;while(1){if((c[m>>2]|0)>>>0>=(c[m+8>>2]|0)>>>0)break;l=(c[m+12>>2]|0)+(c[m>>2]<<2)|0;a[m+4>>0]=a[l>>0]|0;a[m+4+1>>0]=a[l+1>>0]|0;a[m+4+2>>0]=a[l+2>>0]|0;a[m+4+3>>0]=a[l+3>>0]|0;b[m+20>>1]=~~(+g[m+4>>2]*32767.5);l=(c[m+16>>2]|0)+(c[m>>2]<<1)|0;a[l>>0]=a[m+20>>0]|0;a[l+1>>0]=a[m+20+1>>0]|0;c[m>>2]=(c[m>>2]|0)+1}if(!(d[m+22>>0]|0)){i=m;return}l=(c[m+12>>2]|0)+(c[m>>2]<<2)|0;a[m+4>>0]=a[l>>0]|0;a[m+4+1>>0]=a[l+1>>0]|0;a[m+4+2>>0]=a[l+2>>0]|0;a[m+4+3>>0]=a[l+3>>0]|0;b[m+20>>1]=~~(+g[m+4>>2]*32767.5);mBb((c[m+16>>2]|0)+(c[m>>2]<<1)|0,m+20|0,d[m+22>>0]|0|0)|0;i=m;return}function ysa(b,e,f,h,j,k){b=b|0;e=e|0;f=f|0;h=h|0;j=j|0;k=k|0;var l=0;l=i;i=i+32|0;c[l+20>>2]=b;c[l+16>>2]=e;c[l+12>>2]=f;a[l+26>>0]=h;a[l+25>>0]=j;a[l+24>>0]=k;if(d[l+25>>0]|0|0){k=c[l+16>>2]|0;a[l+8>>0]=a[k>>0]|0;a[l+8+1>>0]=a[k+1>>0]|0;a[l+8+2>>0]=a[k+2>>0]|0;a[l+8+3>>0]=a[k+3>>0]|0;c[l+4>>2]=~~(+g[l+8>>2]*2147483647.5);mBb(c[l+20>>2]|0,l+4+1+(d[l+26>>0]|0)|0,d[l+25>>0]|0|0)|0;c[l+16>>2]=(c[l+16>>2]|0)+4;c[l+20>>2]=(c[l+20>>2]|0)+(d[l+25>>0]|0)}c[l>>2]=0;while(1){if((c[l>>2]|0)>>>0>=(c[l+12>>2]|0)>>>0)break;k=(c[l+16>>2]|0)+(c[l>>2]<<2)|0;a[l+8>>0]=a[k>>0]|0;a[l+8+1>>0]=a[k+1>>0]|0;a[l+8+2>>0]=a[k+2>>0]|0;a[l+8+3>>0]=a[k+3>>0]|0;c[l+4>>2]=~~(+g[l+8>>2]*2147483647.5);k=(c[l+20>>2]|0)+((c[l>>2]|0)*3|0)|0;a[k>>0]=a[l+4+1>>0]|0;a[k+1>>0]=a[l+4+1+1>>0]|0;a[k+2>>0]=a[l+4+1+2>>0]|0;c[l>>2]=(c[l>>2]|0)+1}if(!(d[l+24>>0]|0)){i=l;return}k=(c[l+16>>2]|0)+(c[l+12>>2]<<2)|0;a[l+8>>0]=a[k>>0]|0;a[l+8+1>>0]=a[k+1>>0]|0;a[l+8+2>>0]=a[k+2>>0]|0;a[l+8+3>>0]=a[k+3>>0]|0;c[l+4>>2]=~~(+g[l+8>>2]*2147483647.5);mBb((c[l+20>>2]|0)+((c[l+12>>2]|0)*3|0)|0,l+4+1|0,d[l+24>>0]|0|0)|0;i=l;return}function zsa(b,e,f,h,j,k){b=b|0;e=e|0;f=f|0;h=h|0;j=j|0;k=k|0;var l=0;l=i;i=i+32|0;c[l+20>>2]=b;c[l+16>>2]=e;c[l+12>>2]=f;a[l+26>>0]=h;a[l+25>>0]=j;a[l+24>>0]=k;if(d[l+25>>0]|0|0){k=c[l+16>>2]|0;a[l+8>>0]=a[k>>0]|0;a[l+8+1>>0]=a[k+1>>0]|0;a[l+8+2>>0]=a[k+2>>0]|0;a[l+8+3>>0]=a[k+3>>0]|0;c[l+4>>2]=~~(+g[l+8>>2]*2147483647.5);mBb(c[l+20>>2]|0,l+4+(d[l+26>>0]|0)|0,d[l+25>>0]|0|0)|0;c[l+16>>2]=(c[l+16>>2]|0)+4;c[l+20>>2]=(c[l+20>>2]|0)+(d[l+25>>0]|0)}c[l>>2]=0;while(1){if((c[l>>2]|0)>>>0>=(c[l+12>>2]|0)>>>0)break;k=(c[l+16>>2]|0)+(c[l>>2]<<2)|0;a[l+8>>0]=a[k>>0]|0;a[l+8+1>>0]=a[k+1>>0]|0;a[l+8+2>>0]=a[k+2>>0]|0;a[l+8+3>>0]=a[k+3>>0]|0;c[l+4>>2]=~~(+g[l+8>>2]*2147483647.5);k=(c[l+20>>2]|0)+(c[l>>2]<<2)|0;a[k>>0]=a[l+4>>0]|0;a[k+1>>0]=a[l+4+1>>0]|0;a[k+2>>0]=a[l+4+2>>0]|0;a[k+3>>0]=a[l+4+3>>0]|0;c[l>>2]=(c[l>>2]|0)+1}if(!(d[l+24>>0]|0)){i=l;return}k=(c[l+16>>2]|0)+(c[l+12>>2]<<2)|0;a[l+8>>0]=a[k>>0]|0;a[l+8+1>>0]=a[k+1>>0]|0;a[l+8+2>>0]=a[k+2>>0]|0;a[l+8+3>>0]=a[k+3>>0]|0;c[l+4>>2]=~~(+g[l+8>>2]*2147483647.5);mBb((c[l+20>>2]|0)+(c[l+12>>2]<<2)|0,l+4|0,d[l+24>>0]|0|0)|0;i=l;return}function Asa(b,e,f,g,h,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0;k=i;i=i+16|0;c[k+8>>2]=b;c[k+4>>2]=e;c[k>>2]=f;a[k+14>>0]=g;a[k+13>>0]=h;a[k+12>>0]=j;mBb(c[k+8>>2]|0,(c[k+4>>2]|0)+(d[k+14>>0]|0)|0,(c[k>>2]<<2)+(d[k+13>>0]|0)+(d[k+12>>0]|0)|0)|0;i=k;return}function Bsa(b,e,f,j,k,l){b=b|0;e=e|0;f=f|0;j=j|0;k=k|0;l=l|0;var m=0;m=i;i=i+32|0;c[m+24>>2]=b;c[m+20>>2]=e;c[m+16>>2]=f;a[m+30>>0]=j;a[m+29>>0]=k;a[m+28>>0]=l;if(d[m+29>>0]|0|0){l=c[m+20>>2]|0;a[m+12>>0]=a[l>>0]|0;a[m+12+1>>0]=a[l+1>>0]|0;a[m+12+2>>0]=a[l+2>>0]|0;a[m+12+3>>0]=a[l+3>>0]|0;h[m>>3]=+g[m+12>>2];mBb(c[m+24>>2]|0,m+(d[m+30>>0]|0)|0,d[m+29>>0]|0|0)|0;c[m+20>>2]=(c[m+20>>2]|0)+4;c[m+24>>2]=(c[m+24>>2]|0)+(d[m+29>>0]|0)}c[m+8>>2]=0;while(1){if((c[m+8>>2]|0)>>>0>=(c[m+16>>2]|0)>>>0)break;l=(c[m+20>>2]|0)+(c[m+8>>2]<<2)|0;a[m+12>>0]=a[l>>0]|0;a[m+12+1>>0]=a[l+1>>0]|0;a[m+12+2>>0]=a[l+2>>0]|0;a[m+12+3>>0]=a[l+3>>0]|0;h[m>>3]=+g[m+12>>2];l=(c[m+24>>2]|0)+(c[m+8>>2]<<3)|0;a[l>>0]=a[m>>0]|0;a[l+1>>0]=a[m+1>>0]|0;a[l+2>>0]=a[m+2>>0]|0;a[l+3>>0]=a[m+3>>0]|0;a[l+4>>0]=a[m+4>>0]|0;a[l+5>>0]=a[m+5>>0]|0;a[l+6>>0]=a[m+6>>0]|0;a[l+7>>0]=a[m+7>>0]|0;c[m+8>>2]=(c[m+8>>2]|0)+1}if(!(d[m+28>>0]|0)){i=m;return}l=(c[m+20>>2]|0)+(c[m+16>>2]<<2)|0;a[m+12>>0]=a[l>>0]|0;a[m+12+1>>0]=a[l+1>>0]|0;a[m+12+2>>0]=a[l+2>>0]|0;a[m+12+3>>0]=a[l+3>>0]|0;h[m>>3]=+g[m+12>>2];mBb((c[m+24>>2]|0)+(c[m+16>>2]<<3)|0,m|0,d[m+28>>0]|0|0)|0;i=m;return}function Csa(b,d,e,f,g,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;j=j|0;var k=0;k=i;i=i+32|0;c[k+20>>2]=b;c[k+16>>2]=d;c[k+12>>2]=e;a[k+26>>0]=f;a[k+25>>0]=g;a[k+24>>0]=j;c[k+8>>2]=0;while(1){if((c[k+8>>2]|0)>>>0>=(c[k+12>>2]|0)>>>0)break;j=(c[k+16>>2]|0)+(c[k+8>>2]<<3)|0;a[k>>0]=a[j>>0]|0;a[k+1>>0]=a[j+1>>0]|0;a[k+2>>0]=a[j+2>>0]|0;a[k+3>>0]=a[j+3>>0]|0;a[k+4>>0]=a[j+4>>0]|0;a[k+5>>0]=a[j+5>>0]|0;a[k+6>>0]=a[j+6>>0]|0;a[k+7>>0]=a[j+7>>0]|0;a[(c[k+20>>2]|0)+(c[k+8>>2]|0)>>0]=~~(+h[k>>3]*127.5+128.0);c[k+8>>2]=(c[k+8>>2]|0)+1}i=k;return}function Dsa(e,f,g,j,k,l){e=e|0;f=f|0;g=g|0;j=j|0;k=k|0;l=l|0;var m=0;m=i;i=i+32|0;c[m+20>>2]=e;c[m+16>>2]=f;c[m+12>>2]=g;a[m+28>>0]=j;a[m+27>>0]=k;a[m+26>>0]=l;if(d[m+27>>0]|0|0){l=c[m+16>>2]|0;a[m>>0]=a[l>>0]|0;a[m+1>>0]=a[l+1>>0]|0;a[m+2>>0]=a[l+2>>0]|0;a[m+3>>0]=a[l+3>>0]|0;a[m+4>>0]=a[l+4>>0]|0;a[m+5>>0]=a[l+5>>0]|0;a[m+6>>0]=a[l+6>>0]|0;a[m+7>>0]=a[l+7>>0]|0;b[m+24>>1]=~~(+h[m>>3]*32767.5);mBb(c[m+20>>2]|0,m+24+(d[m+28>>0]|0)|0,d[m+27>>0]|0|0)|0;c[m+16>>2]=(c[m+16>>2]|0)+8;c[m+20>>2]=(c[m+20>>2]|0)+(d[m+27>>0]|0)}c[m+8>>2]=0;while(1){if((c[m+8>>2]|0)>>>0>=(c[m+12>>2]|0)>>>0)break;l=(c[m+16>>2]|0)+(c[m+8>>2]<<3)|0;a[m>>0]=a[l>>0]|0;a[m+1>>0]=a[l+1>>0]|0;a[m+2>>0]=a[l+2>>0]|0;a[m+3>>0]=a[l+3>>0]|0;a[m+4>>0]=a[l+4>>0]|0;a[m+5>>0]=a[l+5>>0]|0;a[m+6>>0]=a[l+6>>0]|0;a[m+7>>0]=a[l+7>>0]|0;b[m+24>>1]=~~(+h[m>>3]*32767.5);l=(c[m+20>>2]|0)+(c[m+8>>2]<<1)|0;a[l>>0]=a[m+24>>0]|0;a[l+1>>0]=a[m+24+1>>0]|0;c[m+8>>2]=(c[m+8>>2]|0)+1}if(!(d[m+26>>0]|0)){i=m;return}l=(c[m+16>>2]|0)+(c[m+8>>2]<<3)|0;a[m>>0]=a[l>>0]|0;a[m+1>>0]=a[l+1>>0]|0;a[m+2>>0]=a[l+2>>0]|0;a[m+3>>0]=a[l+3>>0]|0;a[m+4>>0]=a[l+4>>0]|0;a[m+5>>0]=a[l+5>>0]|0;a[m+6>>0]=a[l+6>>0]|0;a[m+7>>0]=a[l+7>>0]|0;b[m+24>>1]=~~(+h[m>>3]*32767.5);mBb((c[m+20>>2]|0)+(c[m+8>>2]<<1)|0,m+24|0,d[m+26>>0]|0|0)|0;i=m;return}function Esa(b,e,f,g,j,k){b=b|0;e=e|0;f=f|0;g=g|0;j=j|0;k=k|0;var l=0;l=i;i=i+32|0;c[l+24>>2]=b;c[l+20>>2]=e;c[l+16>>2]=f;a[l+30>>0]=g;a[l+29>>0]=j;a[l+28>>0]=k;if(d[l+29>>0]|0|0){k=c[l+20>>2]|0;a[l>>0]=a[k>>0]|0;a[l+1>>0]=a[k+1>>0]|0;a[l+2>>0]=a[k+2>>0]|0;a[l+3>>0]=a[k+3>>0]|0;a[l+4>>0]=a[k+4>>0]|0;a[l+5>>0]=a[k+5>>0]|0;a[l+6>>0]=a[k+6>>0]|0;a[l+7>>0]=a[k+7>>0]|0;c[l+12>>2]=~~(+h[l>>3]*2147483647.5);mBb(c[l+24>>2]|0,l+12+1+(d[l+30>>0]|0)|0,d[l+29>>0]|0|0)|0;c[l+20>>2]=(c[l+20>>2]|0)+8;c[l+24>>2]=(c[l+24>>2]|0)+(d[l+29>>0]|0)}c[l+8>>2]=0;while(1){if((c[l+8>>2]|0)>>>0>=(c[l+16>>2]|0)>>>0)break;k=(c[l+20>>2]|0)+(c[l+8>>2]<<3)|0;a[l>>0]=a[k>>0]|0;a[l+1>>0]=a[k+1>>0]|0;a[l+2>>0]=a[k+2>>0]|0;a[l+3>>0]=a[k+3>>0]|0;a[l+4>>0]=a[k+4>>0]|0;a[l+5>>0]=a[k+5>>0]|0;a[l+6>>0]=a[k+6>>0]|0;a[l+7>>0]=a[k+7>>0]|0;c[l+12>>2]=~~(+h[l>>3]*2147483647.5);k=(c[l+24>>2]|0)+((c[l+8>>2]|0)*3|0)|0;a[k>>0]=a[l+12+1>>0]|0;a[k+1>>0]=a[l+12+1+1>>0]|0;a[k+2>>0]=a[l+12+1+2>>0]|0;c[l+8>>2]=(c[l+8>>2]|0)+1}if(!(d[l+28>>0]|0)){i=l;return}k=(c[l+20>>2]|0)+(c[l+16>>2]<<3)|0;a[l>>0]=a[k>>0]|0;a[l+1>>0]=a[k+1>>0]|0;a[l+2>>0]=a[k+2>>0]|0;a[l+3>>0]=a[k+3>>0]|0;a[l+4>>0]=a[k+4>>0]|0;a[l+5>>0]=a[k+5>>0]|0;a[l+6>>0]=a[k+6>>0]|0;a[l+7>>0]=a[k+7>>0]|0;c[l+12>>2]=~~(+h[l>>3]*2147483647.5);mBb((c[l+24>>2]|0)+((c[l+16>>2]|0)*3|0)|0,l+12+1|0,d[l+28>>0]|0|0)|0;i=l;return}function Fsa(b,e,f,g,j,k){b=b|0;e=e|0;f=f|0;g=g|0;j=j|0;k=k|0;var l=0;l=i;i=i+32|0;c[l+24>>2]=b;c[l+20>>2]=e;c[l+16>>2]=f;a[l+30>>0]=g;a[l+29>>0]=j;a[l+28>>0]=k;if(d[l+29>>0]|0|0){k=c[l+20>>2]|0;a[l>>0]=a[k>>0]|0;a[l+1>>0]=a[k+1>>0]|0;a[l+2>>0]=a[k+2>>0]|0;a[l+3>>0]=a[k+3>>0]|0;a[l+4>>0]=a[k+4>>0]|0;a[l+5>>0]=a[k+5>>0]|0;a[l+6>>0]=a[k+6>>0]|0;a[l+7>>0]=a[k+7>>0]|0;c[l+12>>2]=~~(+h[l>>3]*2147483647.5);mBb(c[l+24>>2]|0,l+12+(d[l+30>>0]|0)|0,d[l+29>>0]|0|0)|0;c[l+20>>2]=(c[l+20>>2]|0)+8;c[l+24>>2]=(c[l+24>>2]|0)+(d[l+29>>0]|0)}c[l+8>>2]=0;while(1){if((c[l+8>>2]|0)>>>0>=(c[l+16>>2]|0)>>>0)break;k=(c[l+20>>2]|0)+(c[l+8>>2]<<3)|0;a[l>>0]=a[k>>0]|0;a[l+1>>0]=a[k+1>>0]|0;a[l+2>>0]=a[k+2>>0]|0;a[l+3>>0]=a[k+3>>0]|0;a[l+4>>0]=a[k+4>>0]|0;a[l+5>>0]=a[k+5>>0]|0;a[l+6>>0]=a[k+6>>0]|0;a[l+7>>0]=a[k+7>>0]|0;c[l+12>>2]=~~(+h[l>>3]*2147483647.5);k=(c[l+24>>2]|0)+(c[l+8>>2]<<2)|0;a[k>>0]=a[l+12>>0]|0;a[k+1>>0]=a[l+12+1>>0]|0;a[k+2>>0]=a[l+12+2>>0]|0;a[k+3>>0]=a[l+12+3>>0]|0;c[l+8>>2]=(c[l+8>>2]|0)+1}if(!(d[l+28>>0]|0)){i=l;return}k=(c[l+20>>2]|0)+(c[l+16>>2]<<3)|0;a[l>>0]=a[k>>0]|0;a[l+1>>0]=a[k+1>>0]|0;a[l+2>>0]=a[k+2>>0]|0;a[l+3>>0]=a[k+3>>0]|0;a[l+4>>0]=a[k+4>>0]|0;a[l+5>>0]=a[k+5>>0]|0;a[l+6>>0]=a[k+6>>0]|0;a[l+7>>0]=a[k+7>>0]|0;c[l+12>>2]=~~(+h[l>>3]*2147483647.5);mBb((c[l+24>>2]|0)+(c[l+16>>2]<<2)|0,l+12|0,d[l+28>>0]|0|0)|0;i=l;return}function Gsa(b,e,f,j,k,l){b=b|0;e=e|0;f=f|0;j=j|0;k=k|0;l=l|0;var m=0;m=i;i=i+32|0;c[m+24>>2]=b;c[m+20>>2]=e;c[m+16>>2]=f;a[m+30>>0]=j;a[m+29>>0]=k;a[m+28>>0]=l;if(d[m+29>>0]|0|0){l=c[m+20>>2]|0;a[m>>0]=a[l>>0]|0;a[m+1>>0]=a[l+1>>0]|0;a[m+2>>0]=a[l+2>>0]|0;a[m+3>>0]=a[l+3>>0]|0;a[m+4>>0]=a[l+4>>0]|0;a[m+5>>0]=a[l+5>>0]|0;a[m+6>>0]=a[l+6>>0]|0;a[m+7>>0]=a[l+7>>0]|0;g[m+12>>2]=+h[m>>3];mBb(c[m+24>>2]|0,m+12+(d[m+30>>0]|0)|0,d[m+29>>0]|0|0)|0;c[m+20>>2]=(c[m+20>>2]|0)+8;c[m+24>>2]=(c[m+24>>2]|0)+(d[m+29>>0]|0)}c[m+8>>2]=0;while(1){if((c[m+8>>2]|0)>>>0>=(c[m+16>>2]|0)>>>0)break;l=(c[m+20>>2]|0)+(c[m+8>>2]<<3)|0;a[m>>0]=a[l>>0]|0;a[m+1>>0]=a[l+1>>0]|0;a[m+2>>0]=a[l+2>>0]|0;a[m+3>>0]=a[l+3>>0]|0;a[m+4>>0]=a[l+4>>0]|0;a[m+5>>0]=a[l+5>>0]|0;a[m+6>>0]=a[l+6>>0]|0;a[m+7>>0]=a[l+7>>0]|0;g[m+12>>2]=+h[m>>3];l=(c[m+24>>2]|0)+(c[m+8>>2]<<2)|0;a[l>>0]=a[m+12>>0]|0;a[l+1>>0]=a[m+12+1>>0]|0;a[l+2>>0]=a[m+12+2>>0]|0;a[l+3>>0]=a[m+12+3>>0]|0;c[m+8>>2]=(c[m+8>>2]|0)+1}if(!(d[m+28>>0]|0)){i=m;return}l=(c[m+20>>2]|0)+(c[m+16>>2]<<3)|0;a[m>>0]=a[l>>0]|0;a[m+1>>0]=a[l+1>>0]|0;a[m+2>>0]=a[l+2>>0]|0;a[m+3>>0]=a[l+3>>0]|0;a[m+4>>0]=a[l+4>>0]|0;a[m+5>>0]=a[l+5>>0]|0;a[m+6>>0]=a[l+6>>0]|0;a[m+7>>0]=a[l+7>>0]|0;g[m+12>>2]=+h[m>>3];mBb((c[m+24>>2]|0)+(c[m+16>>2]<<2)|0,m+12|0,d[m+28>>0]|0|0)|0;i=m;return}function Hsa(b,e,f,g,h,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0;k=i;i=i+16|0;c[k+8>>2]=b;c[k+4>>2]=e;c[k>>2]=f;a[k+14>>0]=g;a[k+13>>0]=h;a[k+12>>0]=j;mBb(c[k+8>>2]|0,(c[k+4>>2]|0)+(d[k+14>>0]|0)|0,(c[k>>2]<<3)+(d[k+13>>0]|0)+(d[k+12>>0]|0)|0)|0;i=k;return}function Isa(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,$=0,aa=0,ba=0,ca=0;ba=c[b+19360>>2]|0;Z=c[b+19368>>2]|0;$=c[b+19376>>2]|0;Y=c[b+19384>>2]|0;ca=c[b+19392>>2]|0;j=c[b+19480>>2]|0;l=c[b+23712>>2]|0;m=c[b+23720>>2]|0;aa=c[b+30608>>2]|0;a:{b:do if((aa|0)==565){n=1;if(n){n=0;if(j<<24>>24==66){if(l>>>0>>0){c[ba+168>>2]=l+1;j=a[l>>0]|0}else{if(!(c[ba+32>>2]|0)){aa=602;break}j=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!j){c[ba+32>>2]=0;a[ba+40>>0]=0;m=ba+41|0;l=ba+41|0;j=0}else{m=ba+41|0;l=ba+40+j|0;j=a[ba+40>>0]|0}c[ba+172>>2]=l;c[ba+168>>2]=m}l=1;if(l)if(j<<24>>24==77){Aha(ba)|0;h=c[ba+168>>2]|0;j=c[ba+172>>2]|0;if(h>>>0>>0){c[ba+168>>2]=h+1;h=h+1|0}else if(c[ba+32>>2]|0){j=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!j){c[ba+32>>2]=0;a[ba+40>>0]=0;h=ba+41|0;j=ba+41|0}else{h=ba+41|0;j=ba+40+j|0}c[ba+172>>2]=j;c[ba+168>>2]=h}if(h>>>0>>0){h=h+1|0;c[ba+168>>2]=h}else if(c[ba+32>>2]|0){j=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!j){c[ba+32>>2]=0;a[ba+40>>0]=0;h=ba+41|0;j=ba+41|0}else{h=ba+41|0;j=ba+40+j|0}c[ba+172>>2]=j;c[ba+168>>2]=h}if(h>>>0>>0){h=h+1|0;c[ba+168>>2]=h}else if(c[ba+32>>2]|0){j=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!j){c[ba+32>>2]=0;a[ba+40>>0]=0;h=ba+41|0;j=ba+41|0}else{h=ba+41|0;j=ba+40+j|0}c[ba+172>>2]=j;c[ba+168>>2]=h}if(h>>>0>>0)c[ba+168>>2]=h+1;else if(c[ba+32>>2]|0){h=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!h){c[ba+32>>2]=0;a[ba+40>>0]=0;j=ba+41|0;h=ba+41|0}else{j=ba+41|0;h=ba+40+h|0}c[ba+172>>2]=h;c[ba+168>>2]=j}Aha(ba)|0;j=Aha(ba)|0;h=c[ba+176>>2]|0;c[ba+168>>2]=h;k=c[ba+180>>2]|0;c[ba+172>>2]=k;if((j|0)!=12)switch(j|16|0){case 56:case 124:break;default:break b}if(h>>>0>>0){c[ba+168>>2]=h+1;q=a[h>>0]|0;p=h+1|0;o=k;aa=612}else if(!(c[ba+32>>2]|0))d=0;else{e=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!e){c[ba+32>>2]=0;a[ba+40>>0]=0;f=ba+41|0;g=ba+41|0;e=0}else{f=ba+41|0;g=ba+40+e|0;e=a[ba+40>>0]|0}c[ba+172>>2]=g;c[ba+168>>2]=f;q=e;p=f;o=g;aa=612}c:do if((aa|0)==612){X=1;if(X){X=0;if(q<<24>>24==66){if(p>>>0>>0){c[ba+168>>2]=p+1;e=a[p>>0]|0}else{if(!(c[ba+32>>2]|0)){d=0;break}e=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!e){c[ba+32>>2]=0;a[ba+40>>0]=0;g=ba+41|0;f=ba+41|0;e=0}else{g=ba+41|0;f=ba+40+e|0;e=a[ba+40>>0]|0}c[ba+172>>2]=f;c[ba+168>>2]=g}W=1;if(W){W=0;if(e<<24>>24==77){Aha(ba)|0;d=c[ba+168>>2]|0;e=c[ba+172>>2]|0;if(d>>>0>>0){c[ba+168>>2]=d+1;d=d+1|0}else if(c[ba+32>>2]|0){e=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!e){c[ba+32>>2]=0;a[ba+40>>0]=0;d=ba+41|0;e=ba+41|0}else{d=ba+41|0;e=ba+40+e|0}c[ba+172>>2]=e;c[ba+168>>2]=d}do if(d>>>0>>0){d=d+1|0;c[ba+168>>2]=d}else{if(!(c[ba+32>>2]|0))break;e=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!e){c[ba+32>>2]=0;a[ba+40>>0]=0;d=ba+41|0;e=ba+41|0}else{d=ba+41|0;e=ba+40+e|0}c[ba+172>>2]=e;c[ba+168>>2]=d}while(0);do if(d>>>0>>0){d=d+1|0;c[ba+168>>2]=d}else{if(!(c[ba+32>>2]|0))break;e=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!e){c[ba+32>>2]=0;a[ba+40>>0]=0;d=ba+41|0;e=ba+41|0}else{d=ba+41|0;e=ba+40+e|0}c[ba+172>>2]=e;c[ba+168>>2]=d}while(0);do if(d>>>0>>0)c[ba+168>>2]=d+1;else{if(!(c[ba+32>>2]|0))break;d=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!d){c[ba+32>>2]=0;a[ba+40>>0]=0;e=ba+41|0;d=ba+41|0}else{e=ba+41|0;d=ba+40+d|0}c[ba+172>>2]=d;c[ba+168>>2]=e}while(0);k=Aha(ba)|0;l=Aha(ba)|0;switch(l|0){case 12:case 40:case 56:case 108:case 124:break;default:{d=0;break c}}if((l|0)==12){d=c[ba+168>>2]|0;e=c[ba+172>>2]|0;do if(d>>>0>>0){c[ba+168>>2]=d+1;g=a[d>>0]|0;d=d+1|0}else{if(!(c[ba+32>>2]|0)){g=0;break}d=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!d){c[ba+32>>2]=0;a[ba+40>>0]=0;f=ba+41|0;e=ba+41|0;d=0}else{f=ba+41|0;e=ba+40+d|0;d=a[ba+40>>0]|0}c[ba+172>>2]=e;c[ba+168>>2]=f;g=d;d=f}while(0);g=g&255;do if(d>>>0>>0){K=d+1|0;c[ba+168>>2]=K;f=a[d>>0]|0;d=K}else{if(!(c[ba+32>>2]|0)){f=0;break}e=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!e){c[ba+32>>2]=0;a[ba+40>>0]=0;d=ba+41|0;e=ba+41|0;f=0}else{d=ba+41|0;e=ba+40+e|0;f=a[ba+40>>0]|0}c[ba+172>>2]=e;c[ba+168>>2]=d}while(0);c[ba>>2]=(f&255)<<8|g;do if(d>>>0>>0){K=d+1|0;c[ba+168>>2]=K;g=a[d>>0]|0;d=K}else{if(!(c[ba+32>>2]|0)){g=0;break}d=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!d){c[ba+32>>2]=0;a[ba+40>>0]=0;f=ba+41|0;e=ba+41|0;d=0}else{f=ba+41|0;e=ba+40+d|0;d=a[ba+40>>0]|0}c[ba+172>>2]=e;c[ba+168>>2]=f;g=d;d=f}while(0);g=g&255;do if(d>>>0>>0){K=d+1|0;c[ba+168>>2]=K;f=a[d>>0]|0;d=K}else{if(!(c[ba+32>>2]|0)){f=0;break}e=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!e){c[ba+32>>2]=0;a[ba+40>>0]=0;d=ba+41|0;e=ba+41|0;f=0}else{d=ba+41|0;e=ba+40+e|0;f=a[ba+40>>0]|0}c[ba+172>>2]=e;c[ba+168>>2]=d}while(0);c[ba+4>>2]=(f&255)<<8|g}else{c[ba>>2]=Aha(ba)|0;c[ba+4>>2]=Aha(ba)|0;d=c[ba+168>>2]|0;e=c[ba+172>>2]|0}do if(d>>>0>>0){K=d+1|0;c[ba+168>>2]=K;g=a[d>>0]|0;d=K}else{if(!(c[ba+32>>2]|0)){g=0;break}d=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!d){c[ba+32>>2]=0;a[ba+40>>0]=0;f=ba+41|0;e=ba+41|0;d=0}else{f=ba+41|0;e=ba+40+d|0;d=a[ba+40>>0]|0}c[ba+172>>2]=e;c[ba+168>>2]=f;g=d;d=f}while(0);g=g&255;do if(d>>>0>>0){K=d+1|0;c[ba+168>>2]=K;f=a[d>>0]|0;d=K}else{if(!(c[ba+32>>2]|0)){f=0;break}e=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!e){c[ba+32>>2]=0;a[ba+40>>0]=0;d=ba+41|0;e=ba+41|0;f=0}else{d=ba+41|0;e=ba+40+e|0;f=a[ba+40>>0]|0}c[ba+172>>2]=e;c[ba+168>>2]=d}while(0);if(((f&255)<<8|g|0)!=1){d=0;break}do if(d>>>0>>0){K=d+1|0;c[ba+168>>2]=K;g=a[d>>0]|0;d=K}else{if(!(c[ba+32>>2]|0)){g=0;break}d=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!d){c[ba+32>>2]=0;a[ba+40>>0]=0;f=ba+41|0;e=ba+41|0;d=0}else{f=ba+41|0;e=ba+40+d|0;d=a[ba+40>>0]|0}c[ba+172>>2]=e;c[ba+168>>2]=f;g=d;d=f}while(0);g=g&255;do if(d>>>0>>0){c[ba+168>>2]=d+1;d=a[d>>0]|0}else{if(!(c[ba+32>>2]|0)){d=0;break}d=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!d){c[ba+32>>2]=0;a[ba+40>>0]=0;f=ba+41|0;e=ba+41|0;d=0}else{f=ba+41|0;e=ba+40+d|0;d=a[ba+40>>0]|0}c[ba+172>>2]=e;c[ba+168>>2]=f}while(0);J=(d&255)<<8|g;if((J|0)==1){d=0;break}K=c[ba+4>>2]|0;c[ba+4>>2]=(K|0)>-1?K:0-K|0;d:do if((l|0)==12){if(J>>>0>=24){H=255;G=0;F=0;f=0;E=0;j=0;break}H=255;G=0;F=0;f=0;E=0;j=(k+-38|0)/3|0}else{d=Aha(ba)|0;if((d+-1|0)>>>0<2){d=0;break c}Aha(ba)|0;Aha(ba)|0;Aha(ba)|0;Aha(ba)|0;Aha(ba)|0;e:do switch(l|16|0){case 56:{if((l|0)==56){Aha(ba)|0;Aha(ba)|0;Aha(ba)|0;Aha(ba)|0}switch(J|0){case 16:case 32:break;default:{d=0;e=0;f=0;g=0;break e}}switch(d|0){case 0:{H=(J|0)==32?0:255;G=(J|0)==32?-16777216:0;F=(J|0)==32?255:31;f=(J|0)==32?65280:992;E=(J|0)==32?16711680:31744;j=0;break d}case 3:{g=Aha(ba)|0;e=Aha(ba)|0;d=Aha(ba)|0;if((g|0)==(e|0)&(e|0)==(d|0)){d=0;break c}else{H=255;G=0;F=d;f=e;E=g;j=0;break d}}default:{d=0;break c}}}case 124:{g=Aha(ba)|0;f=Aha(ba)|0;e=Aha(ba)|0;d=Aha(ba)|0;Aha(ba)|0;Aha(ba)|0;Aha(ba)|0;Aha(ba)|0;Aha(ba)|0;Aha(ba)|0;Aha(ba)|0;Aha(ba)|0;Aha(ba)|0;Aha(ba)|0;Aha(ba)|0;Aha(ba)|0;Aha(ba)|0;if((l|0)!=124)break e;Aha(ba)|0;Aha(ba)|0;Aha(ba)|0;Aha(ba)|0;break}default:{ca=nf(16)|0;c[b>>2]=438651;ds(ca,438531,b);zc(ca|0,96,27)}}while(0);if(J>>>0>=16){H=255;G=d;F=e;E=g;j=0;break}H=255;G=d;F=e;E=g;j=k+-14-l>>2}while(0);D=(G|0)!=0;I=D?4:3;c[ba+8>>2]=I;I=(ca|0)>2?ca:I;d=_(c[ba>>2]|0,I)|0;d=Vpb(_(d,c[ba+4>>2]|0)|0)|0;if(!d){d=0;break}f:do{e=1;if(e)if(J>>>0<16){if((j|0)==0|(j|0)>256){Wpb(d);d=0;break c}if((j|0)>0){g=c[ba+168>>2]|0;e=c[ba+172>>2]|0;h=0;while(1){do if(g>>>0>>0){V=g+1|0;c[ba+168>>2]=V;f=a[g>>0]|0;g=V}else{if(!(c[ba+32>>2]|0)){f=0;break}e=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!e){c[ba+32>>2]=0;a[ba+40>>0]=0;e=ba+41|0;f=0}else{e=ba+40+e|0;f=a[ba+40>>0]|0}c[ba+172>>2]=e;c[ba+168>>2]=ba+41;g=ba+41|0}while(0);a[b+18320+(h<<2)+2>>0]=f;do if(g>>>0>>0){V=g+1|0;c[ba+168>>2]=V;f=a[g>>0]|0;g=V}else{if(!(c[ba+32>>2]|0)){f=0;break}e=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!e){c[ba+32>>2]=0;a[ba+40>>0]=0;e=ba+41|0;f=0}else{e=ba+40+e|0;f=a[ba+40>>0]|0}c[ba+172>>2]=e;c[ba+168>>2]=ba+41;g=ba+41|0}while(0);a[b+18320+(h<<2)+1>>0]=f;do if(g>>>0>>0){V=g+1|0;c[ba+168>>2]=V;f=a[g>>0]|0;g=V}else{if(!(c[ba+32>>2]|0)){f=0;break}e=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!e){c[ba+32>>2]=0;a[ba+40>>0]=0;e=ba+41|0;f=0}else{e=ba+40+e|0;f=a[ba+40>>0]|0}c[ba+172>>2]=e;c[ba+168>>2]=ba+41;g=ba+41|0}while(0);a[b+18320+(h<<2)>>0]=f;do if((l|0)==12)f=g;else{if(g>>>0>>0){f=g+1|0;c[ba+168>>2]=f;break}if(!(c[ba+32>>2]|0)){f=g;break}e=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!e){c[ba+32>>2]=0;a[ba+40>>0]=0;e=ba+41|0}else e=ba+40+e|0;c[ba+172>>2]=e;c[ba+168>>2]=ba+41;f=ba+41|0}while(0);a[b+18320+(h<<2)+3>>0]=-1;h=h+1|0;if((h|0)==(j|0))break;else g=f}}g=k+-14-l-(_(j,(l|0)==12?3:4)|0)|0;g:do if((g|0)<0)c[ba+168>>2]=c[ba+172>>2];else{do if(!(c[ba+16>>2]|0))e=c[ba+168>>2]|0;else{f=c[ba+172>>2]|0;e=c[ba+168>>2]|0;if((g|0)<=(f-e|0))break;c[ba+168>>2]=f;si[c[ba+20>>2]&511](c[ba+28>>2]|0,g-(f-e)|0);break g}while(0);c[ba+168>>2]=e+g}while(0);do if((J|0)==4){e=c[ba>>2]|0;f=e;e=(e+1|0)>>>1}else if((J|0)==8){e=c[ba>>2]|0;f=e;break}else{Wpb(d);d=0;break c}while(0);n=0-e&3;e=c[ba+4>>2]|0;if((e|0)<=0){v=e;u=H;break}g=0;j=0;while(1){h:do if((f|0)>0){e=c[ba+168>>2]|0;h=c[ba+172>>2]|0;if((I|0)==4){m=0;l=j;while(1){do if(e>>>0>>0){V=e+1|0;c[ba+168>>2]=V;j=a[e>>0]|0;e=V}else{if(!(c[ba+32>>2]|0)){j=0;break}e=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!e){c[ba+32>>2]=0;a[ba+40>>0]=0;h=ba+41|0;e=0}else{h=ba+40+e|0;e=a[ba+40>>0]|0}c[ba+172>>2]=h;c[ba+168>>2]=ba+41;j=e;f=c[ba>>2]|0;e=ba+41|0}while(0);j=j&255;k=(J|0)==4?j>>>4:j;a[d+l>>0]=a[b+18320+(k<<2)>>0]|0;a[d+(l+1)>>0]=a[b+18320+(k<<2)+1>>0]|0;a[d+(l+2)>>0]=a[b+18320+(k<<2)+2>>0]|0;k=l+4|0;a[d+(l+3)>>0]=-1;if((m|1|0)==(f|0)){h=k;break h}j=(J|0)==4?j&15:0;if((J|0)==8){do if(e>>>0>>0){V=e+1|0;c[ba+168>>2]=V;j=a[e>>0]|0;e=V}else{if(!(c[ba+32>>2]|0)){j=0;break}e=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!e){c[ba+32>>2]=0;a[ba+40>>0]=0;h=ba+41|0;e=0}else{h=ba+40+e|0;e=a[ba+40>>0]|0}c[ba+172>>2]=h;c[ba+168>>2]=ba+41;j=e;f=c[ba>>2]|0;e=ba+41|0}while(0);j=j&255}a[d+k>>0]=a[b+18320+(j<<2)>>0]|0;a[d+(l+5)>>0]=a[b+18320+(j<<2)+1>>0]|0;a[d+(l+6)>>0]=a[b+18320+(j<<2)+2>>0]|0;j=l+8|0;a[d+(l+7)>>0]=-1;m=m+2|0;if((m|0)>=(f|0)){h=j;break}else l=j}}else{m=0;l=j;while(1){do if(e>>>0>>0){V=e+1|0;c[ba+168>>2]=V;j=a[e>>0]|0;e=V}else{if(!(c[ba+32>>2]|0)){j=0;break}e=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!e){c[ba+32>>2]=0;a[ba+40>>0]=0;h=ba+41|0;e=0}else{h=ba+40+e|0;e=a[ba+40>>0]|0}c[ba+172>>2]=h;c[ba+168>>2]=ba+41;j=e;f=c[ba>>2]|0;e=ba+41|0}while(0);j=j&255;V=(J|0)==4?j>>>4:j;a[d+l>>0]=a[b+18320+(V<<2)>>0]|0;a[d+(l+1)>>0]=a[b+18320+(V<<2)+1>>0]|0;k=l+3|0;a[d+(l+2)>>0]=a[b+18320+(V<<2)+2>>0]|0;if((m|1|0)==(f|0)){h=k;break h}j=(J|0)==4?j&15:0;if((J|0)==8){do if(e>>>0>>0){V=e+1|0;c[ba+168>>2]=V;j=a[e>>0]|0;e=V}else{if(!(c[ba+32>>2]|0)){j=0;break}e=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!e){c[ba+32>>2]=0;a[ba+40>>0]=0;h=ba+41|0;e=0}else{h=ba+40+e|0;e=a[ba+40>>0]|0}c[ba+172>>2]=h;c[ba+168>>2]=ba+41;j=e;f=c[ba>>2]|0;e=ba+41|0}while(0);j=j&255}a[d+k>>0]=a[b+18320+(j<<2)>>0]|0;a[d+(l+4)>>0]=a[b+18320+(j<<2)+1>>0]|0;k=l+6|0;a[d+(l+5)>>0]=a[b+18320+(j<<2)+2>>0]|0;m=m+2|0;if((m|0)>=(f|0)){h=k;break}else l=k}}}else h=j;while(0);do if(!(c[ba+16>>2]|0)){y=c[ba+168>>2]|0;aa=819}else{e=c[ba+172>>2]|0;f=c[ba+168>>2]|0;if((n|0)<=(e-f|0)){y=f;aa=819;break}c[ba+168>>2]=e;si[c[ba+20>>2]&511](c[ba+28>>2]|0,n-(e-f)|0)}while(0);if((aa|0)==819){aa=0;c[ba+168>>2]=y+n}g=g+1|0;e=c[ba+4>>2]|0;if((g|0)>=(e|0)){v=e;u=H;break f}f=c[ba>>2]|0;j=h}}else e=1;if(e)if(1){i:do if((k+-14-l|0)<0)c[ba+168>>2]=c[ba+172>>2];else{do if(!(c[ba+16>>2]|0))e=c[ba+168>>2]|0;else{g=c[ba+172>>2]|0;e=c[ba+168>>2]|0;if((k+-14-l|0)<=(g-e|0))break;c[ba+168>>2]=g;si[c[ba+20>>2]&511](c[ba+28>>2]|0,k+-14-l-(g-e)|0);break i}while(0);c[ba+168>>2]=e+(k+-14-l)}while(0);switch(J|0){case 24:{S=(_(c[ba>>2]|0,-3)|0)&3;U=1;V=0;R=0;Q=0;P=0;w=1;O=0;N=0;M=0;L=0;break}case 16:{x=0-(c[ba>>2]<<1)&2;aa=833;break}case 32:{if((G|0)==-16777216&((F|0)==255&(f|0)==65280&(E|0)==16711680)){S=0;U=1;V=0;R=0;Q=0;P=0;w=2;O=0;N=0;M=0;L=0}else{x=0;aa=833}break}default:{x=0;aa=833}}if((aa|0)==833){if(!((F|0)!=0&((f|0)!=0&(E|0)!=0))){Wpb(d);d=0;break c}p=E>>>0>65535;o=p?E>>>16:E;p=p?16:0;n=o>>>0>255?o>>>8:o;p=o>>>0>255?p|8:p;o=n>>>0>15?n>>>4:n;p=n>>>0>15?p|4:p;n=(E>>>1&1431655765)+(E&1431655765)|0;m=f>>>0>65535;l=m?f>>>16:f;m=m?16:0;k=l>>>0>255?l>>>8:l;m=l>>>0>255?m|8:m;l=k>>>0>15?k>>>4:k;m=k>>>0>15?m|4:m;k=(f>>>1&1431655765)+(f&1431655765)|0;j=F>>>0>65535;h=j?F>>>16:F;j=j?16:0;g=h>>>0>255?h>>>8:h;j=h>>>0>255?j|8:j;h=g>>>0>15?g>>>4:g;j=g>>>0>15?j|4:j;g=(F>>>1&1431655765)+(F&1431655765)|0;if(!G)e=-8;else{e=G>>>0>65535;V=e?G>>>16:G;e=e?16:0;U=V>>>0>255?V>>>8:V;e=V>>>0>255?e|8:e;V=U>>>0>15?U>>>4:U;e=U>>>0>15?e|4:e;e=((V>>>0>3?V>>>2:V)>>>0>1&1)+(V>>>0>3?e|2:e)+-7|0}V=(G>>>1&1431655765)+(G&1431655765)|0;S=x;U=0;V=(((((((V>>>2&858993459)+(V&858993459)|0)>>>4)+((V>>>2&858993459)+(V&858993459))&252645135)>>>8)+((((V>>>2&858993459)+(V&858993459)|0)>>>4)+((V>>>2&858993459)+(V&858993459))&252645135)|0)>>>16)+((((((V>>>2&858993459)+(V&858993459)|0)>>>4)+((V>>>2&858993459)+(V&858993459))&252645135)>>>8)+((((V>>>2&858993459)+(V&858993459)|0)>>>4)+((V>>>2&858993459)+(V&858993459))&252645135))&63;R=e;Q=(((((((g>>>2&858993459)+(g&858993459)|0)>>>4)+((g>>>2&858993459)+(g&858993459))&252645135)>>>8)+((((g>>>2&858993459)+(g&858993459)|0)>>>4)+((g>>>2&858993459)+(g&858993459))&252645135)|0)>>>16)+((((((g>>>2&858993459)+(g&858993459)|0)>>>4)+((g>>>2&858993459)+(g&858993459))&252645135)>>>8)+((((g>>>2&858993459)+(g&858993459)|0)>>>4)+((g>>>2&858993459)+(g&858993459))&252645135))&63;P=(h>>>0>3?j|2:j)+-7+((h>>>0>3?h>>>2:h)>>>0>1&1)|0;w=0;O=(((((((k>>>2&858993459)+(k&858993459)|0)>>>4)+((k>>>2&858993459)+(k&858993459))&252645135)>>>8)+((((k>>>2&858993459)+(k&858993459)|0)>>>4)+((k>>>2&858993459)+(k&858993459))&252645135)|0)>>>16)+((((((k>>>2&858993459)+(k&858993459)|0)>>>4)+((k>>>2&858993459)+(k&858993459))&252645135)>>>8)+((((k>>>2&858993459)+(k&858993459)|0)>>>4)+((k>>>2&858993459)+(k&858993459))&252645135))&63;N=(l>>>0>3?m|2:m)+-7+((l>>>0>3?l>>>2:l)>>>0>1&1)|0;M=(((((((n>>>2&858993459)+(n&858993459)|0)>>>4)+((n>>>2&858993459)+(n&858993459))&252645135)>>>8)+((((n>>>2&858993459)+(n&858993459)|0)>>>4)+((n>>>2&858993459)+(n&858993459))&252645135)|0)>>>16)+((((((n>>>2&858993459)+(n&858993459)|0)>>>4)+((n>>>2&858993459)+(n&858993459))&252645135)>>>8)+((((n>>>2&858993459)+(n&858993459)|0)>>>4)+((n>>>2&858993459)+(n&858993459))&252645135))&63;L=(o>>>0>3?p|2:p)+-7+((o>>>0>3?o>>>2:o)>>>0>1&1)|0}e=c[ba+4>>2]|0;if((e|0)<=0){v=e;u=H;break}q=(w|0)==2;r=(L|0)<0;s=0-L|0;t=M>>>0<8;u=(N|0)<0;v=0-N|0;w=O>>>0<8;x=(P|0)<0;y=0-P|0;z=Q>>>0<8;A=(R|0)<0;B=0-R|0;C=V>>>0<8;g=H;p=0;h=0;while(1){e=(c[ba>>2]|0)>0;do if(U){if(!e){j=g;break}k=c[ba+168>>2]|0;j=c[ba+172>>2]|0;m=0;do{do if(k>>>0>>0){H=k+1|0;c[ba+168>>2]=H;e=a[k>>0]|0;k=H}else{if(!(c[ba+32>>2]|0)){e=0;break}e=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!e){c[ba+32>>2]=0;a[ba+40>>0]=0;j=ba+41|0;e=0}else{j=ba+40+e|0;e=a[ba+40>>0]|0}c[ba+172>>2]=j;c[ba+168>>2]=ba+41;k=ba+41|0}while(0);a[d+(h+2)>>0]=e;do if(k>>>0>>0){H=k+1|0;c[ba+168>>2]=H;e=a[k>>0]|0;k=H}else{if(!(c[ba+32>>2]|0)){e=0;break}e=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!e){c[ba+32>>2]=0;a[ba+40>>0]=0;j=ba+41|0;e=0}else{j=ba+40+e|0;e=a[ba+40>>0]|0}c[ba+172>>2]=j;c[ba+168>>2]=ba+41;k=ba+41|0}while(0);a[d+(h+1)>>0]=e;do if(k>>>0>>0){H=k+1|0;c[ba+168>>2]=H;e=a[k>>0]|0;k=H}else{if(!(c[ba+32>>2]|0)){e=0;break}e=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!e){c[ba+32>>2]=0;a[ba+40>>0]=0;j=ba+41|0;e=0}else{j=ba+40+e|0;e=a[ba+40>>0]|0}c[ba+172>>2]=j;c[ba+168>>2]=ba+41;k=ba+41|0}while(0);a[d+h>>0]=e;l=h+3|0;if(q){do if(k>>>0>>0){H=k+1|0;c[ba+168>>2]=H;e=a[k>>0]|0;k=H}else{if(!(c[ba+32>>2]|0)){e=0;break}e=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!e){c[ba+32>>2]=0;a[ba+40>>0]=0;j=ba+41|0;e=0}else{j=ba+40+e|0;e=a[ba+40>>0]|0}c[ba+172>>2]=j;c[ba+168>>2]=ba+41;k=ba+41|0}while(0);e=e&255}else e=255;g=e|g;if((I|0)==4){a[d+l>>0]=e;h=h+4|0}else h=l;m=m+1|0}while((m|0)<(c[ba>>2]|0));j=g}else{if(e){n=g;o=0;m=h}else{j=g;break}while(1){if((J|0)==16){g=c[ba+168>>2]|0;h=c[ba+172>>2]|0;do if(g>>>0>>0){c[ba+168>>2]=g+1;e=a[g>>0]|0;g=g+1|0}else{if(!(c[ba+32>>2]|0)){e=0;break}e=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!e){c[ba+32>>2]=0;a[ba+40>>0]=0;h=ba+41|0;e=0}else{h=ba+40+e|0;e=a[ba+40>>0]|0}c[ba+172>>2]=h;c[ba+168>>2]=ba+41;g=ba+41|0}while(0);j=e&255;do if(g>>>0>>0){c[ba+168>>2]=g+1;e=a[g>>0]|0}else{if(!(c[ba+32>>2]|0)){e=0;break}e=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!e){c[ba+32>>2]=0;a[ba+40>>0]=0;g=ba+41|0;e=0}else{g=ba+40+e|0;e=a[ba+40>>0]|0}c[ba+172>>2]=g;c[ba+168>>2]=ba+41}while(0);l=(e&255)<<8|j}else l=Aha(ba)|0;e=l&E;e=r?e<>L;if(t){g=e;h=M;do{g=(e>>h)+g|0;h=h+M|0}while((h|0)<8);e=g}j=m+1|0;a[d+m>>0]=e;e=l&f;e=u?e<>N;if(w){g=e;h=O;do{g=(e>>h)+g|0;h=h+O|0}while((h|0)<8);e=g}k=m+2|0;a[d+j>>0]=e;g=l&F;g=x?g<>P;if(z){e=g;h=Q;do{e=(g>>h)+e|0;h=h+Q|0}while((h|0)<8);g=e}e=m+3|0;a[d+k>>0]=g;do if(D){h=l&G;h=A?h<>R;if(C){g=h;j=V}else break;do{g=(h>>j)+g|0;j=j+V|0}while((j|0)<8);h=g}else h=255;while(0);g=h|n;if((I|0)==4){a[d+e>>0]=h;e=m+4|0}o=o+1|0;if((o|0)>=(c[ba>>2]|0)){j=g;h=e;break}else{n=g;m=e}}}while(0);do if(!(c[ba+16>>2]|0)){T=c[ba+168>>2]|0;aa=909}else{e=c[ba+172>>2]|0;g=c[ba+168>>2]|0;if((S|0)<=(e-g|0)){T=g;aa=909;break}c[ba+168>>2]=e;si[c[ba+20>>2]&511](c[ba+28>>2]|0,S-(e-g)|0)}while(0);if((aa|0)==909){aa=0;c[ba+168>>2]=T+S}p=p+1|0;e=c[ba+4>>2]|0;if((p|0)>=(e|0)){v=e;u=j;break}else g=j}}}while(0);do if((I|0)==4&(u|0)==0){e=(_(v<<2,c[ba>>2]|0)|0)+-1|0;if((e|0)<=-1)break;do{a[d+e>>0]=-1;e=e+-4|0}while((e|0)>-1)}while(0);do if((K|0)>0){e=v>>1;if((e|0)<=0)break;f=_(c[ba>>2]|0,I)|0;if((f|0)>0)k=0;else break;do{g=d+(_(f,k)|0)|0;h=d+(_(f,v+~k|0)|0)|0;j=0;do{T=g+j|0;U=a[T>>0]|0;V=h+j|0;a[T>>0]=a[V>>0]|0;a[V>>0]=U;j=j+1|0}while((j|0)!=(f|0));k=k+1|0}while((k|0)!=(e|0))}while(0);if(!((ca|0)==0|(I|0)==(ca|0))){d=Oha(d,I,ca,c[ba>>2]|0,v)|0;if(!d){d=0;break}}c[Z>>2]=c[ba>>2];c[$>>2]=c[ba+4>>2];if(!Y)break;c[Y>>2]=c[ba+8>>2]}else W=1}if(W)if(1)d=0}else X=1}if(X)if(1)d=0}while(0);i=b;c[b+30696>>2]=6;c[b+30700>>2]=d|0;break a}else l=1;if(l)if(1)aa=602}else n=1}if(n)if(1)aa=602}while(0);if((aa|0)==602){h=c[ba+176>>2]|0;c[ba+168>>2]=h;k=c[ba+180>>2]|0;c[ba+172>>2]=k}if(h>>>0>>0){h=h+1|0;c[ba+168>>2]=h;d=k}else if(!(c[ba+32>>2]|0))d=k;else{d=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!d){c[ba+32>>2]=0;a[ba+40>>0]=0;h=ba+41|0;d=ba+41|0}else{h=ba+41|0;d=ba+40+d|0}c[ba+172>>2]=d;c[ba+168>>2]=h}if(h>>>0>>0){g=h+1|0;c[ba+168>>2]=g;r=a[h>>0]|0;f=d;aa=940}else if(!(c[ba+32>>2]|0)){s=h;t=d}else{d=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!d){c[ba+32>>2]=0;a[ba+40>>0]=0;g=ba+41|0;f=ba+41|0;d=0}else{g=ba+41|0;f=ba+40+d|0;d=a[ba+40>>0]|0}c[ba+172>>2]=f;c[ba+168>>2]=g;r=d;aa=940}if((aa|0)==940)if((r&255)>1){d=0;i=b;c[b+30696>>2]=6;c[b+30700>>2]=d|0;break a}else{s=g;t=f}if(s>>>0>>0){f=s+1|0;c[ba+168>>2]=f;g=a[s>>0]|0;d=t}else{if(!(c[ba+32>>2]|0)){d=0;i=b;c[b+30696>>2]=6;c[b+30700>>2]=d|0;break a}d=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!d){c[ba+32>>2]=0;a[ba+40>>0]=0;f=ba+41|0;d=ba+41|0;g=0}else{f=ba+41|0;d=ba+40+d|0;g=a[ba+40>>0]|0}c[ba+172>>2]=d;c[ba+168>>2]=f}switch(g<<24>>24){case 1:case 2:case 3:case 9:case 10:case 11:break;default:{d=0;i=b;c[b+30696>>2]=6;c[b+30700>>2]=d|0;break a}}if(f>>>0>>0){f=f+1|0;c[ba+168>>2]=f}else if(c[ba+32>>2]|0){d=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!d){c[ba+32>>2]=0;a[ba+40>>0]=0;f=ba+41|0;d=ba+41|0}else{f=ba+41|0;d=ba+40+d|0}c[ba+172>>2]=d;c[ba+168>>2]=f}if(f>>>0>>0){f=f+1|0;c[ba+168>>2]=f}else if(c[ba+32>>2]|0){d=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!d){c[ba+32>>2]=0;a[ba+40>>0]=0;f=ba+41|0;d=ba+41|0}else{f=ba+41|0;d=ba+40+d|0}c[ba+172>>2]=d;c[ba+168>>2]=f}if(f>>>0>>0){f=f+1|0;c[ba+168>>2]=f}else if(c[ba+32>>2]|0){d=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!d){c[ba+32>>2]=0;a[ba+40>>0]=0;f=ba+41|0;d=ba+41|0}else{f=ba+41|0;d=ba+40+d|0}c[ba+172>>2]=d;c[ba+168>>2]=f}if(f>>>0>>0){f=f+1|0;c[ba+168>>2]=f}else if(c[ba+32>>2]|0){d=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!d){c[ba+32>>2]=0;a[ba+40>>0]=0;f=ba+41|0;d=ba+41|0}else{f=ba+41|0;d=ba+40+d|0}c[ba+172>>2]=d;c[ba+168>>2]=f}if(f>>>0>>0){f=f+1|0;c[ba+168>>2]=f}else if(c[ba+32>>2]|0){d=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!d){c[ba+32>>2]=0;a[ba+40>>0]=0;f=ba+41|0;d=ba+41|0}else{f=ba+41|0;d=ba+40+d|0}c[ba+172>>2]=d;c[ba+168>>2]=f}if(f>>>0>>0){f=f+1|0;c[ba+168>>2]=f}else if(c[ba+32>>2]|0){d=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!d){c[ba+32>>2]=0;a[ba+40>>0]=0;f=ba+41|0;d=ba+41|0}else{f=ba+41|0;d=ba+40+d|0}c[ba+172>>2]=d;c[ba+168>>2]=f}if(f>>>0>>0){f=f+1|0;c[ba+168>>2]=f}else if(c[ba+32>>2]|0){d=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!d){c[ba+32>>2]=0;a[ba+40>>0]=0;f=ba+41|0;d=ba+41|0}else{f=ba+41|0;d=ba+40+d|0}c[ba+172>>2]=d;c[ba+168>>2]=f}if(f>>>0>>0){f=f+1|0;c[ba+168>>2]=f}else if(c[ba+32>>2]|0){d=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!d){c[ba+32>>2]=0;a[ba+40>>0]=0;f=ba+41|0;d=ba+41|0}else{f=ba+41|0;d=ba+40+d|0}c[ba+172>>2]=d;c[ba+168>>2]=f}if(f>>>0>>0){f=f+1|0;c[ba+168>>2]=f}else if(c[ba+32>>2]|0){d=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!d){c[ba+32>>2]=0;a[ba+40>>0]=0;f=ba+41|0;d=ba+41|0}else{f=ba+41|0;d=ba+40+d|0}c[ba+172>>2]=d;c[ba+168>>2]=f}if(f>>>0>>0){X=f+1|0;c[ba+168>>2]=X;g=a[f>>0]|0;f=X}else if(!(c[ba+32>>2]|0))g=0;else{d=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!d){c[ba+32>>2]=0;a[ba+40>>0]=0;f=ba+41|0;d=ba+41|0;g=0}else{f=ba+41|0;d=ba+40+d|0;g=a[ba+40>>0]|0}c[ba+172>>2]=d;c[ba+168>>2]=f}h=(g&255)<<8;if(f>>>0>>0){X=f+1|0;c[ba+168>>2]=X;g=a[f>>0]|0;f=X}else if(!(c[ba+32>>2]|0))g=0;else{d=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!d){c[ba+32>>2]=0;a[ba+40>>0]=0;f=ba+41|0;d=ba+41|0;g=0}else{f=ba+41|0;d=ba+40+d|0;g=a[ba+40>>0]|0}c[ba+172>>2]=d;c[ba+168>>2]=f}if(!(g&255|h)){d=0;i=b;c[b+30696>>2]=6;c[b+30700>>2]=d|0;break a}do if(f>>>0>>0){X=f+1|0;c[ba+168>>2]=X;g=a[f>>0]|0;f=X}else{if(!(c[ba+32>>2]|0)){g=0;break}d=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!d){c[ba+32>>2]=0;a[ba+40>>0]=0;f=ba+41|0;d=ba+41|0;g=0}else{f=ba+41|0;d=ba+40+d|0;g=a[ba+40>>0]|0}c[ba+172>>2]=d;c[ba+168>>2]=f}while(0);h=(g&255)<<8;do if(f>>>0>>0){X=f+1|0;c[ba+168>>2]=X;g=a[f>>0]|0;f=X}else{if(!(c[ba+32>>2]|0)){g=0;break}d=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!d){c[ba+32>>2]=0;a[ba+40>>0]=0;f=ba+41|0;d=ba+41|0;g=0}else{f=ba+41|0;d=ba+40+d|0;g=a[ba+40>>0]|0}c[ba+172>>2]=d;c[ba+168>>2]=f}while(0);if(!(g&255|h)){d=0;i=b;c[b+30696>>2]=6;c[b+30700>>2]=d|0;break a}do if(f>>>0>>0){c[ba+168>>2]=f+1;e=a[f>>0]|0;aa=1049}else{if(!(c[ba+32>>2]|0))break;d=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!d){c[ba+32>>2]=0;a[ba+40>>0]=0;f=ba+41|0;d=ba+41|0;e=0}else{f=ba+41|0;d=ba+40+d|0;e=a[ba+40>>0]|0}c[ba+172>>2]=d;c[ba+168>>2]=f;aa=1049}while(0);j:do if((aa|0)==1049){switch(e<<24>>24){case 8:case 16:case 24:case 32:break;default:break j}d=c[ba+176>>2]|0;c[ba+168>>2]=d;e=c[ba+180>>2]|0;c[ba+172>>2]=e;do if(d>>>0>>0){c[ba+168>>2]=d+1;g=a[d>>0]|0;d=d+1|0}else{if(!(c[ba+32>>2]|0)){g=0;break}d=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!d){c[ba+32>>2]=0;a[ba+40>>0]=0;f=ba+41|0;e=ba+41|0;d=0}else{f=ba+41|0;e=ba+40+d|0;d=a[ba+40>>0]|0}c[ba+172>>2]=e;c[ba+168>>2]=f;g=d;d=f}while(0);y=g&255;do if(d>>>0>>0){X=d+1|0;c[ba+168>>2]=X;f=a[d>>0]|0;d=X}else{if(!(c[ba+32>>2]|0)){f=0;break}e=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!e){c[ba+32>>2]=0;a[ba+40>>0]=0;d=ba+41|0;e=ba+41|0;f=0}else{d=ba+41|0;e=ba+40+e|0;f=a[ba+40>>0]|0}c[ba+172>>2]=e;c[ba+168>>2]=d}while(0);do if(d>>>0>>0){X=d+1|0;c[ba+168>>2]=X;g=a[d>>0]|0;d=X}else{if(!(c[ba+32>>2]|0)){g=0;break}e=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!e){c[ba+32>>2]=0;a[ba+40>>0]=0;d=ba+41|0;e=ba+41|0;g=0}else{d=ba+41|0;e=ba+40+e|0;g=a[ba+40>>0]|0}c[ba+172>>2]=e;c[ba+168>>2]=d}while(0);o=g&255;do if(d>>>0>>0){X=d+1|0;c[ba+168>>2]=X;h=a[d>>0]|0;d=X}else{if(!(c[ba+32>>2]|0)){h=0;break}e=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!e){c[ba+32>>2]=0;a[ba+40>>0]=0;d=ba+41|0;e=ba+41|0;h=0}else{d=ba+41|0;e=ba+40+e|0;h=a[ba+40>>0]|0}c[ba+172>>2]=e;c[ba+168>>2]=d}while(0);j=h&255;do if(d>>>0>>0){X=d+1|0;c[ba+168>>2]=X;h=a[d>>0]|0;d=X}else{if(!(c[ba+32>>2]|0)){h=0;break}e=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!e){c[ba+32>>2]=0;a[ba+40>>0]=0;d=ba+41|0;e=ba+41|0;h=0}else{d=ba+41|0;e=ba+40+e|0;h=a[ba+40>>0]|0}c[ba+172>>2]=e;c[ba+168>>2]=d}while(0);w=(h&255)<<8|j;do if(d>>>0>>0){X=d+1|0;c[ba+168>>2]=X;h=a[d>>0]|0;d=X}else{if(!(c[ba+32>>2]|0)){h=0;break}e=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!e){c[ba+32>>2]=0;a[ba+40>>0]=0;d=ba+41|0;e=ba+41|0;h=0}else{d=ba+41|0;e=ba+40+e|0;h=a[ba+40>>0]|0}c[ba+172>>2]=e;c[ba+168>>2]=d}while(0);j=h&255;do if(d>>>0>>0){X=d+1|0;c[ba+168>>2]=X;h=a[d>>0]|0;d=X}else{if(!(c[ba+32>>2]|0)){h=0;break}e=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!e){c[ba+32>>2]=0;a[ba+40>>0]=0;d=ba+41|0;e=ba+41|0;h=0}else{d=ba+41|0;e=ba+40+e|0;h=a[ba+40>>0]|0}c[ba+172>>2]=e;c[ba+168>>2]=d}while(0);x=(h&255)<<8|j;do if(d>>>0>>0){X=d+1|0;c[ba+168>>2]=X;h=a[d>>0]|0;d=X}else{if(!(c[ba+32>>2]|0)){h=0;break}e=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!e){c[ba+32>>2]=0;a[ba+40>>0]=0;d=ba+41|0;e=ba+41|0;h=0}else{d=ba+41|0;e=ba+40+e|0;h=a[ba+40>>0]|0}c[ba+172>>2]=e;c[ba+168>>2]=d}while(0);n=h&255;do if(d>>>0>>0){d=d+1|0;c[ba+168>>2]=d}else{if(!(c[ba+32>>2]|0))break;e=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!e){c[ba+32>>2]=0;a[ba+40>>0]=0;d=ba+41|0;e=ba+41|0}else{d=ba+41|0;e=ba+40+e|0}c[ba+172>>2]=e;c[ba+168>>2]=d}while(0);do if(d>>>0>>0){d=d+1|0;c[ba+168>>2]=d}else{if(!(c[ba+32>>2]|0))break;e=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!e){c[ba+32>>2]=0;a[ba+40>>0]=0;d=ba+41|0;e=ba+41|0}else{d=ba+41|0;e=ba+40+e|0}c[ba+172>>2]=e;c[ba+168>>2]=d}while(0);do if(d>>>0>>0){d=d+1|0;c[ba+168>>2]=d}else{if(!(c[ba+32>>2]|0))break;e=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!e){c[ba+32>>2]=0;a[ba+40>>0]=0;d=ba+41|0;e=ba+41|0}else{d=ba+41|0;e=ba+40+e|0}c[ba+172>>2]=e;c[ba+168>>2]=d}while(0);do if(d>>>0>>0){d=d+1|0;c[ba+168>>2]=d}else{if(!(c[ba+32>>2]|0))break;e=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!e){c[ba+32>>2]=0;a[ba+40>>0]=0;d=ba+41|0;e=ba+41|0}else{d=ba+41|0;e=ba+40+e|0}c[ba+172>>2]=e;c[ba+168>>2]=d}while(0);do if(d>>>0>>0){X=d+1|0;c[ba+168>>2]=X;j=a[d>>0]|0;d=X}else{if(!(c[ba+32>>2]|0)){j=0;break}e=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!e){c[ba+32>>2]=0;a[ba+40>>0]=0;d=ba+41|0;e=ba+41|0;j=0}else{d=ba+41|0;e=ba+40+e|0;j=a[ba+40>>0]|0}c[ba+172>>2]=e;c[ba+168>>2]=d}while(0);k=j&255;do if(d>>>0>>0){X=d+1|0;c[ba+168>>2]=X;j=a[d>>0]|0;d=X}else{if(!(c[ba+32>>2]|0)){j=0;break}e=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!e){c[ba+32>>2]=0;a[ba+40>>0]=0;d=ba+41|0;e=ba+41|0;j=0}else{d=ba+41|0;e=ba+40+e|0;j=a[ba+40>>0]|0}c[ba+172>>2]=e;c[ba+168>>2]=d}while(0);v=(j&255)<<8|k;do if(d>>>0>>0){X=d+1|0;c[ba+168>>2]=X;j=a[d>>0]|0;d=X}else{if(!(c[ba+32>>2]|0)){j=0;break}e=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!e){c[ba+32>>2]=0;a[ba+40>>0]=0;d=ba+41|0;e=ba+41|0;j=0}else{d=ba+41|0;e=ba+40+e|0;j=a[ba+40>>0]|0}c[ba+172>>2]=e;c[ba+168>>2]=d}while(0);k=j&255;do if(d>>>0>>0){X=d+1|0;c[ba+168>>2]=X;j=a[d>>0]|0;d=X}else{if(!(c[ba+32>>2]|0)){j=0;break}e=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!e){c[ba+32>>2]=0;a[ba+40>>0]=0;d=ba+41|0;e=ba+41|0;j=0}else{d=ba+41|0;e=ba+40+e|0;j=a[ba+40>>0]|0}c[ba+172>>2]=e;c[ba+168>>2]=d}while(0);u=(j&255)<<8|k;do if(d>>>0>>0){X=d+1|0;c[ba+168>>2]=X;m=a[d>>0]|0;d=X}else{if(!(c[ba+32>>2]|0)){m=0;break}e=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!e){c[ba+32>>2]=0;a[ba+40>>0]=0;d=ba+41|0;e=ba+41|0;j=0}else{d=ba+41|0;e=ba+40+e|0;j=a[ba+40>>0]|0}c[ba+172>>2]=e;c[ba+168>>2]=d;m=j}while(0);r=(m&255)>>>3&255;do if(d>>>0>>0){j=d+1|0;c[ba+168>>2]=j;k=a[d>>0]|0}else{if(!(c[ba+32>>2]|0)){k=0;j=d;break}d=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!d){c[ba+32>>2]=0;a[ba+40>>0]=0;j=ba+41|0;e=ba+41|0;d=0}else{j=ba+41|0;e=ba+40+d|0;d=a[ba+40>>0]|0}c[ba+172>>2]=e;c[ba+168>>2]=j;k=d}while(0);l=j;p=(g&255)>7;q=(k&255)>>>5&1;k:do if(((p?o+-8|0:o)+-1|0)>>>0>2|((v|0)==0|(u|0)==0))d=0;else{switch(m<<24>>24){case 8:case 16:case 24:case 32:break;default:{d=0;break k}}o=f<<24>>24!=0;t=o?(h&255)>>>3&255:r;c[Z>>2]=v;c[$>>2]=u;if(Y|0)c[Y>>2]=t;s=_(u,v)|0;d=Vpb(_(t,s)|0)|0;if(!d){d=0;break}do if(!(c[ba+16>>2]|0))aa=1185;else{f=e-l|0;if((y|0)<=(f|0)){aa=1185;break}c[ba+168>>2]=e;si[c[ba+20>>2]&511](c[ba+28>>2]|0,y-f|0)}while(0);if((aa|0)==1185)c[ba+168>>2]=j+y;do if(o|p){l:do if(o){do if(!(c[ba+16>>2]|0)){z=c[ba+168>>2]|0;aa=1207}else{e=c[ba+172>>2]|0;f=c[ba+168>>2]|0;if((w|0)<=(e-f|0)){z=f;aa=1207;break}c[ba+168>>2]=e;si[c[ba+20>>2]&511](c[ba+28>>2]|0,w-(e-f)|0)}while(0);if((aa|0)==1207)c[ba+168>>2]=z+w;h=(_(n,x)|0)>>>3;j=Vpb(h)|0;if(!j){Wpb(d);d=0;break k}e=c[ba+16>>2]|0;do if(!e){E=c[ba+168>>2]|0;F=c[ba+172>>2]|0;aa=1213}else{f=c[ba+172>>2]|0;g=c[ba+168>>2]|0;if((h|0)<=(f-g|0)){E=g;F=f;aa=1213;break}mBb(j|0,g|0,f-g|0)|0;$=(Gi[e&255](c[ba+28>>2]|0,j+(f-g)|0,h-(f-g)|0)|0)==(h-(f-g)|0);c[ba+168>>2]=c[ba+172>>2];if($){n=j;break l}}while(0);do if((aa|0)==1213){e=E+h|0;if(e>>>0>F>>>0)break;mBb(j|0,E|0,h|0)|0;c[ba+168>>2]=e;n=j;break l}while(0);Wpb(d);Wpb(j);d=0;break k}else n=0;while(0);if(s|0){j=(((m&255)+-1|0)>>>3)+1|0;m=t>>>0>1?t:1;e=0;f=0;k=0;g=1;while(1){l=d+(_(k,t)|0)|0;do if(p){if(e|0){if(!f){I=e;J=0;aa=1231;break}if(!g){G=e;H=f;break}else{I=e;J=f;aa=1231;break}}e=c[ba+168>>2]|0;do if(e>>>0<(c[ba+172>>2]|0)>>>0){c[ba+168>>2]=e+1;e=a[e>>0]|0}else{if(!(c[ba+32>>2]|0)){e=0;break}e=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!e){c[ba+32>>2]=0;a[ba+40>>0]=0;f=ba+41|0;e=0}else{f=ba+40+e|0;e=a[ba+40>>0]|0}c[ba+172>>2]=f;c[ba+168>>2]=ba+41}while(0);J=e&255;I=(J&127)+1|0;J=J>>>7;aa=1231}else{I=e;J=f;aa=1231}while(0);do if((aa|0)==1231){aa=0;e=c[ba+168>>2]|0;f=c[ba+172>>2]|0;if(o){do if(e>>>0>>0){c[ba+168>>2]=e+1;e=a[e>>0]|0}else{if(!(c[ba+32>>2]|0)){e=0;break}e=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!e){c[ba+32>>2]=0;a[ba+40>>0]=0;f=ba+41|0;e=0}else{f=ba+40+e|0;e=a[ba+40>>0]|0}c[ba+172>>2]=f;c[ba+168>>2]=ba+41}while(0);G=e&255;mBb(b+18320|0,n+(_(G>>>0>=x>>>0?0:G,r)|0)|0,j|0)|0;G=I;H=J;break}else{h=0;do{do if(e>>>0>>0){$=e+1|0;c[ba+168>>2]=$;g=a[e>>0]|0;e=$}else{if(!(c[ba+32>>2]|0)){g=0;break}e=Gi[c[ba+16>>2]&255](c[ba+28>>2]|0,ba+40|0,c[ba+36>>2]|0)|0;if(!e){c[ba+32>>2]=0;a[ba+40>>0]=0;f=ba+41|0;e=0}else{f=ba+40+e|0;e=a[ba+40>>0]|0}c[ba+172>>2]=f;c[ba+168>>2]=ba+41;g=e;e=ba+41|0}while(0);a[b+18320+h>>0]=g;h=h+1|0}while((h|0)!=(j|0));G=I;H=J}}while(0);if(t|0)mBb(l|0,b+18320|0,m|0)|0;k=k+1|0;if((k|0)>=(s|0))break;else{e=G+-1|0;f=H;g=0}}}do if(!q){e=_(t,v)|0;if(!e)break;f=((u>>>0>2?u:2)+-1|0)>>>1;k=0;while(1){g=e;h=_(k,e)|0;j=_(u+-1-k|0,e)|0;while(1){Z=d+h|0;$=a[Z>>0]|0;ba=d+j|0;a[Z>>0]=a[ba>>0]|0;a[ba>>0]=$;if((g|0)>1){g=g+-1|0;h=h+1|0;j=j+1|0}else break}if((k|0)==(f|0))break;else k=k+1|0}}while(0);if(!n)break;Wpb(n)}else{k=_(t,v)|0;if(!q){j=0;do{h=d+(_(u+-1-j|0,k)|0)|0;e=c[ba+16>>2]|0;do if(!e){A=c[ba+168>>2]|0;B=c[ba+172>>2]|0;aa=1192}else{f=c[ba+172>>2]|0;g=c[ba+168>>2]|0;if((k|0)<=(f-g|0)){A=g;B=f;aa=1192;break}mBb(h|0,g|0,f-g|0)|0;Gi[e&255](c[ba+28>>2]|0,h+(f-g)|0,k-(f-g)|0)|0;c[ba+168>>2]=c[ba+172>>2]}while(0);do if((aa|0)==1192){aa=0;e=A+k|0;if(e>>>0>B>>>0)break;mBb(h|0,A|0,k|0)|0;c[ba+168>>2]=e}while(0);j=j+1|0}while((u|0)>(j|0))}else{j=0;do{h=d+(_(j,k)|0)|0;e=c[ba+16>>2]|0;do if(!e){C=c[ba+168>>2]|0;D=c[ba+172>>2]|0;aa=1199}else{f=c[ba+172>>2]|0;g=c[ba+168>>2]|0;if((k|0)<=(f-g|0)){C=g;D=f;aa=1199;break}mBb(h|0,g|0,f-g|0)|0;Gi[e&255](c[ba+28>>2]|0,h+(f-g)|0,k-(f-g)|0)|0;c[ba+168>>2]=c[ba+172>>2]}while(0);do if((aa|0)==1199){aa=0;e=C+k|0;if(e>>>0>D>>>0)break;mBb(h|0,C|0,k|0)|0;c[ba+168>>2]=e}while(0);j=j+1|0}while((u|0)>(j|0))}}while(0);if(!((s|0)==0|t>>>0<3)){e=0;f=d;while(1){$=a[f>>0]|0;ba=f+2|0;a[f>>0]=a[ba>>0]|0;a[ba>>0]=$;e=e+1|0;if((e|0)>=(s|0))break;else f=f+t|0}}if((ca|0)==0|(t|0)==(ca|0))break;d=Oha(d,t,ca,v,u)|0}while(0);i=b;c[b+30696>>2]=6;c[b+30700>>2]=d|0;break a}while(0);c[ba+168>>2]=c[ba+176>>2];c[ba+172>>2]=c[ba+180>>2];d=0;i=b;c[b+30696>>2]=6;c[b+30700>>2]=d|0;break a}c[b+19464>>2]=d;c[b+30608>>2]=aa}function Jsa(e){e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;g=c[e+19408>>2]|0;w=c[e+22944>>2]|0;f=c[e+26536>>2]|0;q=c[e+26792>>2]|0;x=c[e+30608>>2]|0;y=c[e+30640>>2]|0;a:{if(y){y=0;if(f){if(q){k=c[e+4+18152>>2]|0;l=(c[e+4+17820+(k*72|0)+28>>2]|0)+7>>3;m=(c[e+4+17820+(k*72|0)+32>>2]|0)+7>>3;b:do if((m|0)>0){p=0;while(1){if((l|0)>0){n=p<<3;o=0;do{v=c[e+4+17820+(k*72|0)+20>>2]|0;if(!(Hha(e+4|0,e+18320|0,e+4+4+((c[e+4+17820+(k*72|0)+16>>2]|0)*1680|0)|0,e+4+6724+(v*1680|0)|0,e+4+13700+(v<<10)|0,k,e+4+13444+(c[e+4+17820+(k*72|0)+12>>2]<<6)|0)|0)){f=0;break b}v=c[e+4+17820+(k*72|0)+36>>2]|0;u=(c[e+4+17820+(k*72|0)+44>>2]|0)+(_(n,v)|0)+(o<<3)|0;$i[c[e+4+18176>>2]&255](u,v,e+18320|0);v=c[(e+4+18172|0)>>2]|0;c[(e+4+18172|0)>>2]=v+-1;if((v|0)<2){c:do if((c[(e+4+18112|0)>>2]|0)<24){d:while(1){do if(!(c[(e+4+18120|0)>>2]|0)){j=c[e+4>>2]|0;f=c[j+168>>2]|0;if(f>>>0<(c[j+172>>2]|0)>>>0){c[j+168>>2]=f+1;f=a[f>>0]|0}else{if(!(c[j+32>>2]|0)){f=0;break}f=Gi[c[j+16>>2]&255](c[j+28>>2]|0,j+40|0,c[j+36>>2]|0)|0;if(!f){c[j+32>>2]=0;a[j+40>>0]=0;i=j+41|0;h=j+41|0;f=0}else{i=j+41|0;h=j+40+f|0;f=a[j+40>>0]|0}c[j+172>>2]=h;c[j+168>>2]=i}if(f<<24>>24!=-1){f=f&255;break}j=c[e+4>>2]|0;f=c[j+168>>2]|0;if(f>>>0<(c[j+172>>2]|0)>>>0){c[j+168>>2]=f+1;f=a[f>>0]|0}else{if(!(c[j+32>>2]|0)){f=255;break}f=Gi[c[j+16>>2]&255](c[j+28>>2]|0,j+40|0,c[j+36>>2]|0)|0;if(!f){c[j+32>>2]=0;a[j+40>>0]=0;i=j+41|0;h=j+41|0;f=0}else{i=j+41|0;h=j+40+f|0;f=a[j+40>>0]|0}c[j+172>>2]=h;c[j+168>>2]=i}if(!(f<<24>>24))f=255;else break d}else f=0;while(0);v=c[(e+4+18112|0)>>2]|0;c[(e+4+18108|0)>>2]=f<<24-v|c[(e+4+18108|0)>>2];c[(e+4+18112|0)>>2]=v+8;if((v+8|0)>=25)break c}a[(e+4+18116|0)>>0]=f;c[(e+4+18120|0)>>2]=1}while(0);if((a[(e+4+18116|0)>>0]&-8)<<24>>24!=-48){f=1;break b}c[(e+4+18112|0)>>2]=0;c[(e+4+18108|0)>>2]=0;c[(e+4+18120|0)>>2]=0;c[(e+4+17988|0)>>2]=0;c[(e+4+17916|0)>>2]=0;c[(e+4+17844|0)>>2]=0;a[(e+4+18116|0)>>0]=-1;v=c[(e+4+18168|0)>>2]|0;c[(e+4+18172|0)>>2]=(v|0)==0?2147483647:v;c[(e+4+18144|0)>>2]=0}o=o+1|0}while((o|0)<(l|0))}p=p+1|0;if((p|0)>=(m|0)){f=1;break}}}else f=1;while(0)}else{f=c[e+4+17808>>2]|0;e:do if((f|0)>0){h=g;i=c[e+4+17804>>2]|0;n=0;while(1){if((i|0)>0){f=h;m=0;do{h=c[(e+4+18148|0)>>2]|0;if((h|0)>0){l=0;do{k=c[e+4+18152+(l<<2)>>2]|0;f=c[e+4+17820+(k*72|0)+8>>2]|0;if((f|0)>0){h=c[e+4+17820+(k*72|0)+4>>2]|0;j=0;do{if((h|0)>0){i=0;do{v=c[e+4+17820+(k*72|0)+20>>2]|0;if(!(Hha(e+4|0,e+18320|0,e+4+4+((c[e+4+17820+(k*72|0)+16>>2]|0)*1680|0)|0,e+4+6724+(v*1680|0)|0,e+4+13700+(v<<10)|0,k,e+4+13444+(c[e+4+17820+(k*72|0)+12>>2]<<6)|0)|0)){f=0;break e}v=(_(f,n)|0)+j<<3;f=(_(h,m)|0)+i<<3;h=c[e+4+17820+(k*72|0)+36>>2]|0;f=(c[e+4+17820+(k*72|0)+44>>2]|0)+(_(v,h)|0)+f|0;$i[c[e+4+18176>>2]&255](f,h,e+18320|0);i=i+1|0;h=c[e+4+17820+(k*72|0)+4>>2]|0;f=c[e+4+17820+(k*72|0)+8>>2]|0}while((i|0)<(h|0))}j=j+1|0}while((j|0)<(f|0));h=c[(e+4+18148|0)>>2]|0}l=l+1|0}while((l|0)<(h|0));f=c[(e+4+18172|0)>>2]|0}h=f+-1|0;c[(e+4+18172|0)>>2]=h;if((f|0)<2){f:do if((c[(e+4+18112|0)>>2]|0)<24){g:while(1){do if(!(c[(e+4+18120|0)>>2]|0)){j=c[e+4>>2]|0;f=c[j+168>>2]|0;if(f>>>0<(c[j+172>>2]|0)>>>0){c[j+168>>2]=f+1;f=a[f>>0]|0}else{if(!(c[j+32>>2]|0)){f=0;break}f=Gi[c[j+16>>2]&255](c[j+28>>2]|0,j+40|0,c[j+36>>2]|0)|0;if(!f){c[j+32>>2]=0;a[j+40>>0]=0;i=j+41|0;h=j+41|0;f=0}else{i=j+41|0;h=j+40+f|0;f=a[j+40>>0]|0}c[j+172>>2]=h;c[j+168>>2]=i}if(f<<24>>24!=-1){f=f&255;break}j=c[e+4>>2]|0;f=c[j+168>>2]|0;if(f>>>0<(c[j+172>>2]|0)>>>0){c[j+168>>2]=f+1;f=a[f>>0]|0}else{if(!(c[j+32>>2]|0)){f=255;break}f=Gi[c[j+16>>2]&255](c[j+28>>2]|0,j+40|0,c[j+36>>2]|0)|0;if(!f){c[j+32>>2]=0;a[j+40>>0]=0;i=j+41|0;h=j+41|0;f=0}else{i=j+41|0;h=j+40+f|0;f=a[j+40>>0]|0}c[j+172>>2]=h;c[j+168>>2]=i}if(!(f<<24>>24))f=255;else break g}else f=0;while(0);v=c[(e+4+18112|0)>>2]|0;c[(e+4+18108|0)>>2]=f<<24-v|c[(e+4+18108|0)>>2];c[(e+4+18112|0)>>2]=v+8;if((v+8|0)>=25)break f}a[(e+4+18116|0)>>0]=f;c[(e+4+18120|0)>>2]=1}while(0);if((a[(e+4+18116|0)>>0]&-8)<<24>>24!=-48){f=1;break e}c[(e+4+18112|0)>>2]=0;c[(e+4+18108|0)>>2]=0;c[(e+4+18120|0)>>2]=0;c[(e+4+17988|0)>>2]=0;c[(e+4+17916|0)>>2]=0;c[(e+4+17844|0)>>2]=0;a[(e+4+18116|0)>>0]=-1;f=c[(e+4+18168|0)>>2]|0;f=(f|0)==0?2147483647:f;c[(e+4+18172|0)>>2]=f;c[(e+4+18144|0)>>2]=0}else f=h;m=m+1|0;i=c[e+4+17804>>2]|0}while((m|0)<(i|0));h=f;f=c[e+4+17808>>2]|0}n=n+1|0;if((n|0)>=(f|0)){f=1;break}}}else f=1;while(0)}if(!f){c[e+30704>>2]=2;c[e+30708>>2]=36;break a}else x=437}else y=1}if(y){y=0;if(1){if(!q){f=c[e+4+17808>>2]|0;if((f|0)<=0){x=437;c[e+30704>>2]=1;break a}h=c[e+4+17804>>2]|0;m=0;while(1){if((h|0)>0){l=0;do{f=c[(e+4+18148|0)>>2]|0;if((f|0)>0){k=0;do{j=c[e+4+18152+(k<<2)>>2]|0;g=c[e+4+17820+(j*72|0)+8>>2]|0;if((g|0)>0){f=c[e+4+17820+(j*72|0)+4>>2]|0;i=0;do{if((f|0)>0){h=0;do{u=(_(f,l)|0)+h|0;v=(_(g,m)|0)+i|0;v=(c[e+4+17820+(j*72|0)+60>>2]|0)+(u+(_(c[e+4+17820+(j*72|0)+64>>2]|0,v)|0)<<6<<1)|0;h=h+1|0;if(!(Jha(e+4|0,v,e+4+4+((c[e+4+17820+(j*72|0)+16>>2]|0)*1680|0)|0,j)|0)){c[e+30704>>2]=2;c[e+30708>>2]=36;break a}f=c[e+4+17820+(j*72|0)+4>>2]|0;g=c[e+4+17820+(j*72|0)+8>>2]|0}while((h|0)<(f|0))}i=i+1|0}while((i|0)<(g|0));f=c[(e+4+18148|0)>>2]|0}k=k+1|0}while((k|0)<(f|0));g=c[(e+4+18172|0)>>2]|0}f=g+-1|0;c[(e+4+18172|0)>>2]=f;if((g|0)<2){h:do if((c[(e+4+18112|0)>>2]|0)<24){i:while(1){do if(!(c[(e+4+18120|0)>>2]|0)){i=c[e+4>>2]|0;f=c[i+168>>2]|0;if(f>>>0<(c[i+172>>2]|0)>>>0){c[i+168>>2]=f+1;f=a[f>>0]|0}else{if(!(c[i+32>>2]|0)){f=0;break}f=Gi[c[i+16>>2]&255](c[i+28>>2]|0,i+40|0,c[i+36>>2]|0)|0;if(!f){c[i+32>>2]=0;a[i+40>>0]=0;h=i+41|0;g=i+41|0;f=0}else{h=i+41|0;g=i+40+f|0;f=a[i+40>>0]|0}c[i+172>>2]=g;c[i+168>>2]=h}if(f<<24>>24!=-1){f=f&255;break}i=c[e+4>>2]|0;f=c[i+168>>2]|0;if(f>>>0<(c[i+172>>2]|0)>>>0){c[i+168>>2]=f+1;f=a[f>>0]|0}else{if(!(c[i+32>>2]|0)){f=255;break}f=Gi[c[i+16>>2]&255](c[i+28>>2]|0,i+40|0,c[i+36>>2]|0)|0;if(!f){c[i+32>>2]=0;a[i+40>>0]=0;h=i+41|0;g=i+41|0;f=0}else{h=i+41|0;g=i+40+f|0;f=a[i+40>>0]|0}c[i+172>>2]=g;c[i+168>>2]=h}if(!(f<<24>>24))f=255;else break i}else f=0;while(0);v=c[(e+4+18112|0)>>2]|0;c[(e+4+18108|0)>>2]=f<<24-v|c[(e+4+18108|0)>>2];c[(e+4+18112|0)>>2]=v+8;if((v+8|0)>=25)break h}a[(e+4+18116|0)>>0]=f;c[(e+4+18120|0)>>2]=1}while(0);f=a[(e+4+18116|0)>>0]|0;if((f&-8)<<24>>24!=-48){w=f;c[e+30704>>2]=2;c[e+30708>>2]=37;break a}c[(e+4+18112|0)>>2]=0;c[(e+4+18108|0)>>2]=0;c[(e+4+18120|0)>>2]=0;c[(e+4+17988|0)>>2]=0;c[(e+4+17916|0)>>2]=0;c[(e+4+17844|0)>>2]=0;a[(e+4+18116|0)>>0]=-1;g=c[(e+4+18168|0)>>2]|0;g=(g|0)==0?2147483647:g;c[(e+4+18172|0)>>2]=g;c[(e+4+18144|0)>>2]=0}else g=f;l=l+1|0;h=c[e+4+17804>>2]|0}while((l|0)<(h|0));f=c[e+4+17808>>2]|0}m=m+1|0;if((m|0)>=(f|0)){x=437;c[e+30704>>2]=2;c[e+30708>>2]=37;break a}}}r=c[e+4+18152>>2]|0;s=(c[e+4+17820+(r*72|0)+28>>2]|0)+7>>3;t=(c[e+4+17820+(r*72|0)+32>>2]|0)+7>>3;if((t|0)<=0){x=437;c[e+30704>>2]=1;break a}v=0;while(1){if((s|0)>0){u=0;do{q=(c[e+4+17820+(r*72|0)+60>>2]|0)+((_(c[e+4+17820+(r*72|0)+64>>2]|0,v)|0)+u<<6<<1)|0;g=c[e+4+18128>>2]|0;j:do{f=1;if(f){f=0;if(!g){if(!(Jha(e+4|0,q,e+4+4+((c[e+4+17820+(r*72|0)+16>>2]|0)*1680|0)|0,r)|0)){c[e+30704>>2]=2;c[e+30708>>2]=36;break a}}else f=1}if(f)if(1){o=c[e+4+17820+(r*72|0)+20>>2]|0;p=c[e+4+18140>>2]|0;if(!(c[e+4+18136>>2]|0)){f=c[(e+4+18144|0)>>2]|0;if(!f)f=g;else{c[(e+4+18144|0)>>2]=f+-1;break}k:while(1){l:do if((c[(e+4+18112|0)>>2]|0)<16){m:while(1){do if(!(c[(e+4+18120|0)>>2]|0)){j=c[e+4>>2]|0;g=c[j+168>>2]|0;if(g>>>0<(c[j+172>>2]|0)>>>0){c[j+168>>2]=g+1;g=a[g>>0]|0}else{if(!(c[j+32>>2]|0)){g=0;break}g=Gi[c[j+16>>2]&255](c[j+28>>2]|0,j+40|0,c[j+36>>2]|0)|0;if(!g){c[j+32>>2]=0;a[j+40>>0]=0;i=j+41|0;h=j+41|0;g=0}else{i=j+41|0;h=j+40+g|0;g=a[j+40>>0]|0}c[j+172>>2]=h;c[j+168>>2]=i}if(g<<24>>24!=-1){g=g&255;break}j=c[e+4>>2]|0;g=c[j+168>>2]|0;if(g>>>0<(c[j+172>>2]|0)>>>0){c[j+168>>2]=g+1;g=a[g>>0]|0}else{if(!(c[j+32>>2]|0)){g=255;break}g=Gi[c[j+16>>2]&255](c[j+28>>2]|0,j+40|0,c[j+36>>2]|0)|0;if(!g){c[j+32>>2]=0;a[j+40>>0]=0;i=j+41|0;h=j+41|0;g=0}else{i=j+41|0;h=j+40+g|0;g=a[j+40>>0]|0}c[j+172>>2]=h;c[j+168>>2]=i}if(!(g<<24>>24))g=255;else break m}else g=0;while(0);n=c[(e+4+18112|0)>>2]|0;c[(e+4+18108|0)>>2]=g<<24-n|c[(e+4+18108|0)>>2];c[(e+4+18112|0)>>2]=n+8;if((n+8|0)>=25)break l}a[(e+4+18116|0)>>0]=g;c[(e+4+18120|0)>>2]=1}while(0);g=c[(e+4+18108|0)>>2]|0;h=b[e+4+13700+(o<<10)+(g>>>23<<1)>>1]|0;do if(!(h<<16>>16)){l=Iha(e+4|0,e+4+6724+(o*1680|0)|0)|0;if((l|0)<0){c[e+30704>>2]=2;c[e+30708>>2]=36;break a}if(!(l&15)){if((l>>4|0)<15)break k;f=f+16|0;break}j=(l>>4)+f|0;k=d[438370+j>>0]|0;f=c[(e+4+18112|0)>>2]|0;n:do if((f|0)<(l&15|0)){o:while(1){do if(!(c[(e+4+18120|0)>>2]|0)){i=c[e+4>>2]|0;f=c[i+168>>2]|0;if(f>>>0<(c[i+172>>2]|0)>>>0){c[i+168>>2]=f+1;f=a[f>>0]|0}else{if(!(c[i+32>>2]|0)){g=0;break}f=Gi[c[i+16>>2]&255](c[i+28>>2]|0,i+40|0,c[i+36>>2]|0)|0;if(!f){c[i+32>>2]=0;a[i+40>>0]=0;h=i+41|0;g=i+41|0;f=0}else{h=i+41|0;g=i+40+f|0;f=a[i+40>>0]|0}c[i+172>>2]=g;c[i+168>>2]=h}if(f<<24>>24!=-1){g=f&255;break}i=c[e+4>>2]|0;f=c[i+168>>2]|0;if(f>>>0<(c[i+172>>2]|0)>>>0){c[i+168>>2]=f+1;f=a[f>>0]|0}else{if(!(c[i+32>>2]|0)){g=255;break}f=Gi[c[i+16>>2]&255](c[i+28>>2]|0,i+40|0,c[i+36>>2]|0)|0;if(!f){c[i+32>>2]=0;a[i+40>>0]=0;h=i+41|0;g=i+41|0;f=0}else{h=i+41|0;g=i+40+f|0;f=a[i+40>>0]|0}c[i+172>>2]=g;c[i+168>>2]=h}if(!(f<<24>>24))g=255;else break o}else g=0;while(0);f=c[(e+4+18112|0)>>2]|0;c[(e+4+18108|0)>>2]=g<<24-f|c[(e+4+18108|0)>>2];c[(e+4+18112|0)>>2]=f+8;if((f+8|0)>=25){f=f+8|0;break n}}a[(e+4+18116|0)>>0]=f;c[(e+4+18120|0)>>2]=1;f=c[(e+4+18112|0)>>2]|0}while(0);m=c[(e+4+18108|0)>>2]|0;n=c[65624+((l&15)<<2)>>2]|0;c[(e+4+18108|0)>>2]=(m<<(l&15)|m>>>(32-(l&15)|0))&~n;c[(e+4+18112|0)>>2]=f-(l&15);b[q+(k<<1)>>1]=(c[24732+((l&15)<<2)>>2]&~(m>>31))+((m<<(l&15)|m>>>(32-(l&15)|0))&n)<>16>>>4&15)+f|0;c[(e+4+18108|0)>>2]=g<<(h&15);c[(e+4+18112|0)>>2]=(c[(e+4+18112|0)>>2]|0)-(h&15);b[q+(d[438370+f>>0]<<1)>>1]=h<<16>>16>>8<(c[(e+4+18132|0)>>2]|0))break j}c[(e+4+18144|0)>>2]=1<<(l>>4);if(!(l>>4))f=1<<(l>>4);else{f=c[(e+4+18112|0)>>2]|0;p:do if((f|0)<(l>>4|0)){q:while(1){do if(!(c[(e+4+18120|0)>>2]|0)){i=c[e+4>>2]|0;f=c[i+168>>2]|0;if(f>>>0<(c[i+172>>2]|0)>>>0){c[i+168>>2]=f+1;f=a[f>>0]|0}else{if(!(c[i+32>>2]|0)){g=0;break}f=Gi[c[i+16>>2]&255](c[i+28>>2]|0,i+40|0,c[i+36>>2]|0)|0;if(!f){c[i+32>>2]=0;a[i+40>>0]=0;h=i+41|0;g=i+41|0;f=0}else{h=i+41|0;g=i+40+f|0;f=a[i+40>>0]|0}c[i+172>>2]=g;c[i+168>>2]=h}if(f<<24>>24!=-1){g=f&255;break}i=c[e+4>>2]|0;f=c[i+168>>2]|0;if(f>>>0<(c[i+172>>2]|0)>>>0){c[i+168>>2]=f+1;f=a[f>>0]|0}else{if(!(c[i+32>>2]|0)){g=255;break}f=Gi[c[i+16>>2]&255](c[i+28>>2]|0,i+40|0,c[i+36>>2]|0)|0;if(!f){c[i+32>>2]=0;a[i+40>>0]=0;h=i+41|0;g=i+41|0;f=0}else{h=i+41|0;g=i+40+f|0;f=a[i+40>>0]|0}c[i+172>>2]=g;c[i+168>>2]=h}if(!(f<<24>>24))g=255;else break q}else g=0;while(0);f=c[(e+4+18112|0)>>2]|0;c[(e+4+18108|0)>>2]=g<<24-f|c[(e+4+18108|0)>>2];c[(e+4+18112|0)>>2]=f+8;if((f+8|0)>=25){f=f+8|0;break p}}a[(e+4+18116|0)>>0]=f;c[(e+4+18120|0)>>2]=1;f=c[(e+4+18112|0)>>2]|0}while(0);p=c[(e+4+18108|0)>>2]|0;q=c[65624+(l>>4<<2)>>2]|0;c[(e+4+18108|0)>>2]=(p<<(l>>4)|p>>>(32-(l>>4)|0))&~q;c[(e+4+18112|0)>>2]=f-(l>>4);f=(c[(e+4+18144|0)>>2]|0)+((p<<(l>>4)|p>>>(32-(l>>4)|0))&q)|0;c[(e+4+18144|0)>>2]=f}c[(e+4+18144|0)>>2]=f+-1;break}f=c[(e+4+18144|0)>>2]|0;if(f|0){c[(e+4+18144|0)>>2]=f+-1;if((g|0)>(c[(e+4+18132|0)>>2]|0))break;k=g;while(1){j=q+(d[438370+k>>0]<<1)|0;do if(b[j>>1]|0){f=c[(e+4+18112|0)>>2]|0;r:do if((f|0)<1){s:while(1){do if(!(c[(e+4+18120|0)>>2]|0)){i=c[e+4>>2]|0;f=c[i+168>>2]|0;if(f>>>0<(c[i+172>>2]|0)>>>0){c[i+168>>2]=f+1;f=a[f>>0]|0}else{if(!(c[i+32>>2]|0)){g=0;break}f=Gi[c[i+16>>2]&255](c[i+28>>2]|0,i+40|0,c[i+36>>2]|0)|0;if(!f){c[i+32>>2]=0;a[i+40>>0]=0;h=i+41|0;g=i+41|0;f=0}else{h=i+41|0;g=i+40+f|0;f=a[i+40>>0]|0}c[i+172>>2]=g;c[i+168>>2]=h}if(f<<24>>24!=-1){g=f&255;break}i=c[e+4>>2]|0;f=c[i+168>>2]|0;if(f>>>0<(c[i+172>>2]|0)>>>0){c[i+168>>2]=f+1;f=a[f>>0]|0}else{if(!(c[i+32>>2]|0)){g=255;break}f=Gi[c[i+16>>2]&255](c[i+28>>2]|0,i+40|0,c[i+36>>2]|0)|0;if(!f){c[i+32>>2]=0;a[i+40>>0]=0;h=i+41|0;g=i+41|0;f=0}else{h=i+41|0;g=i+40+f|0;f=a[i+40>>0]|0}c[i+172>>2]=g;c[i+168>>2]=h}if(!(f<<24>>24))g=255;else break s}else g=0;while(0);f=c[(e+4+18112|0)>>2]|0;c[(e+4+18108|0)>>2]=g<<24-f|c[(e+4+18108|0)>>2];c[(e+4+18112|0)>>2]=f+8;if((f+8|0)>=25){f=f+8|0;break r}}a[(e+4+18116|0)>>0]=f;c[(e+4+18120|0)>>2]=1;f=c[(e+4+18112|0)>>2]|0}while(0);o=c[(e+4+18108|0)>>2]|0;c[(e+4+18108|0)>>2]=o<<1;c[(e+4+18112|0)>>2]=f+-1;if((o|0)>-1)break;f=b[j>>1]|0;if(f<<16>>16&1<>16|0)break;if(f<<16>>16>0){b[j>>1]=(f<<16>>16)+(1<>16);break}else{b[j>>1]=(f<<16>>16)-(1<>16);break}}while(0);if((k|0)<(c[(e+4+18132|0)>>2]|0))k=k+1|0;else break j}}f=g;while(1){k=Iha(e+4|0,e+4+6724+(o*1680|0)|0)|0;if((k|0)<0){c[e+30704>>2]=2;c[e+30708>>2]=36;break a}t:do switch(k&15|0){case 0:{if((k>>4|0)>=15){h=k>>4;n=0;break t}c[(e+4+18144|0)>>2]=(1<<(k>>4))+-1;if(!(k>>4)){h=64;n=0;break t}g=c[(e+4+18112|0)>>2]|0;u:do if((g|0)<(k>>4|0)){v:while(1){do if(!(c[(e+4+18120|0)>>2]|0)){j=c[e+4>>2]|0;g=c[j+168>>2]|0;if(g>>>0<(c[j+172>>2]|0)>>>0){c[j+168>>2]=g+1;g=a[g>>0]|0}else{if(!(c[j+32>>2]|0)){h=0;break}g=Gi[c[j+16>>2]&255](c[j+28>>2]|0,j+40|0,c[j+36>>2]|0)|0;if(!g){c[j+32>>2]=0;a[j+40>>0]=0;i=j+41|0;h=j+41|0;g=0}else{i=j+41|0;h=j+40+g|0;g=a[j+40>>0]|0}c[j+172>>2]=h;c[j+168>>2]=i}if(g<<24>>24!=-1){h=g&255;break}j=c[e+4>>2]|0;g=c[j+168>>2]|0;if(g>>>0<(c[j+172>>2]|0)>>>0){c[j+168>>2]=g+1;g=a[g>>0]|0}else{if(!(c[j+32>>2]|0)){h=255;break}g=Gi[c[j+16>>2]&255](c[j+28>>2]|0,j+40|0,c[j+36>>2]|0)|0;if(!g){c[j+32>>2]=0;a[j+40>>0]=0;i=j+41|0;h=j+41|0;g=0}else{i=j+41|0;h=j+40+g|0;g=a[j+40>>0]|0}c[j+172>>2]=h;c[j+168>>2]=i}if(!(g<<24>>24))h=255;else break v}else h=0;while(0);g=c[(e+4+18112|0)>>2]|0;c[(e+4+18108|0)>>2]=h<<24-g|c[(e+4+18108|0)>>2];c[(e+4+18112|0)>>2]=g+8;if((g+8|0)>=25){g=g+8|0;break u}}a[(e+4+18116|0)>>0]=g;c[(e+4+18120|0)>>2]=1;g=c[(e+4+18112|0)>>2]|0}while(0);n=c[(e+4+18108|0)>>2]|0;h=c[65624+(k>>4<<2)>>2]|0;c[(e+4+18108|0)>>2]=(n<<(k>>4)|n>>>(32-(k>>4)|0))&~h;c[(e+4+18112|0)>>2]=g-(k>>4);c[(e+4+18144|0)>>2]=(c[(e+4+18144|0)>>2]|0)+((n<<(k>>4)|n>>>(32-(k>>4)|0))&h);h=64;n=0;break}case 1:{g=c[(e+4+18112|0)>>2]|0;w:do if((g|0)<1){x:while(1){do if(!(c[(e+4+18120|0)>>2]|0)){j=c[e+4>>2]|0;g=c[j+168>>2]|0;if(g>>>0<(c[j+172>>2]|0)>>>0){c[j+168>>2]=g+1;g=a[g>>0]|0}else{if(!(c[j+32>>2]|0)){h=0;break}g=Gi[c[j+16>>2]&255](c[j+28>>2]|0,j+40|0,c[j+36>>2]|0)|0;if(!g){c[j+32>>2]=0;a[j+40>>0]=0;i=j+41|0;h=j+41|0;g=0}else{i=j+41|0;h=j+40+g|0;g=a[j+40>>0]|0}c[j+172>>2]=h;c[j+168>>2]=i}if(g<<24>>24!=-1){h=g&255;break}j=c[e+4>>2]|0;g=c[j+168>>2]|0;if(g>>>0<(c[j+172>>2]|0)>>>0){c[j+168>>2]=g+1;g=a[g>>0]|0}else{if(!(c[j+32>>2]|0)){h=255;break}g=Gi[c[j+16>>2]&255](c[j+28>>2]|0,j+40|0,c[j+36>>2]|0)|0;if(!g){c[j+32>>2]=0;a[j+40>>0]=0;i=j+41|0;h=j+41|0;g=0}else{i=j+41|0;h=j+40+g|0;g=a[j+40>>0]|0}c[j+172>>2]=h;c[j+168>>2]=i}if(!(g<<24>>24))h=255;else break x}else h=0;while(0);g=c[(e+4+18112|0)>>2]|0;c[(e+4+18108|0)>>2]=h<<24-g|c[(e+4+18108|0)>>2];c[(e+4+18112|0)>>2]=g+8;if((g+8|0)>=25){g=g+8|0;break w}}a[(e+4+18116|0)>>0]=g;c[(e+4+18120|0)>>2]=1;g=c[(e+4+18112|0)>>2]|0}while(0);n=c[(e+4+18108|0)>>2]|0;c[(e+4+18108|0)>>2]=n<<1;c[(e+4+18112|0)>>2]=g+-1;h=k>>4;n=(n|0)>-1?0-(1<>16)|0:1<>16;break}default:{c[e+30704>>2]=2;c[e+30708>>2]=36;break a}}while(0);g=c[(e+4+18132|0)>>2]|0;y:do if((f|0)<=(g|0)){m=h;while(1){h=f;while(1){f=h+1|0;l=q+(d[438370+h>>0]<<1)|0;if(!(b[l>>1]|0))break;g=c[(e+4+18112|0)>>2]|0;z:do if((g|0)<1){A:while(1){do if(!(c[(e+4+18120|0)>>2]|0)){k=c[e+4>>2]|0;g=c[k+168>>2]|0;if(g>>>0<(c[k+172>>2]|0)>>>0){c[k+168>>2]=g+1;g=a[g>>0]|0}else{if(!(c[k+32>>2]|0)){i=0;break}g=Gi[c[k+16>>2]&255](c[k+28>>2]|0,k+40|0,c[k+36>>2]|0)|0;if(!g){c[k+32>>2]=0;a[k+40>>0]=0;j=k+41|0;i=k+41|0;g=0}else{j=k+41|0;i=k+40+g|0;g=a[k+40>>0]|0}c[k+172>>2]=i;c[k+168>>2]=j}if(g<<24>>24!=-1){i=g&255;break}k=c[e+4>>2]|0;g=c[k+168>>2]|0;if(g>>>0<(c[k+172>>2]|0)>>>0){c[k+168>>2]=g+1;g=a[g>>0]|0}else{if(!(c[k+32>>2]|0)){i=255;break}g=Gi[c[k+16>>2]&255](c[k+28>>2]|0,k+40|0,c[k+36>>2]|0)|0;if(!g){c[k+32>>2]=0;a[k+40>>0]=0;j=k+41|0;i=k+41|0;g=0}else{j=k+41|0;i=k+40+g|0;g=a[k+40>>0]|0}c[k+172>>2]=i;c[k+168>>2]=j}if(!(g<<24>>24))i=255;else break A}else i=0;while(0);g=c[(e+4+18112|0)>>2]|0;c[(e+4+18108|0)>>2]=i<<24-g|c[(e+4+18108|0)>>2];c[(e+4+18112|0)>>2]=g+8;if((g+8|0)>=25){g=g+8|0;break z}}a[(e+4+18116|0)>>0]=g;c[(e+4+18120|0)>>2]=1;g=c[(e+4+18112|0)>>2]|0}while(0);k=c[(e+4+18108|0)>>2]|0;c[(e+4+18108|0)>>2]=k<<1;c[(e+4+18112|0)>>2]=g+-1;do if((k|0)<=-1){g=b[l>>1]|0;if(g<<16>>16&1<>16|0)break;if(g<<16>>16>0){b[l>>1]=(g<<16>>16)+(1<>16);break}else{b[l>>1]=(g<<16>>16)-(1<>16);break}}while(0);g=c[(e+4+18132|0)>>2]|0;if((h|0)<(g|0))h=f;else break y}if(!m)break;if((h|0)<(g|0))m=m+-1|0;else break y}b[l>>1]=n}while(0);if((f|0)>(g|0))break j}}}while(0);q=c[(e+4+18172|0)>>2]|0;c[(e+4+18172|0)>>2]=q+-1;if((q|0)<2){B:do if((c[(e+4+18112|0)>>2]|0)<24){C:while(1){do if(!(c[(e+4+18120|0)>>2]|0)){i=c[e+4>>2]|0;f=c[i+168>>2]|0;if(f>>>0<(c[i+172>>2]|0)>>>0){c[i+168>>2]=f+1;f=a[f>>0]|0}else{if(!(c[i+32>>2]|0)){f=0;break}f=Gi[c[i+16>>2]&255](c[i+28>>2]|0,i+40|0,c[i+36>>2]|0)|0;if(!f){c[i+32>>2]=0;a[i+40>>0]=0;h=i+41|0;g=i+41|0;f=0}else{h=i+41|0;g=i+40+f|0;f=a[i+40>>0]|0}c[i+172>>2]=g;c[i+168>>2]=h}if(f<<24>>24!=-1){f=f&255;break}i=c[e+4>>2]|0;f=c[i+168>>2]|0;if(f>>>0<(c[i+172>>2]|0)>>>0){c[i+168>>2]=f+1;f=a[f>>0]|0}else{if(!(c[i+32>>2]|0)){f=255;break}f=Gi[c[i+16>>2]&255](c[i+28>>2]|0,i+40|0,c[i+36>>2]|0)|0;if(!f){c[i+32>>2]=0;a[i+40>>0]=0;h=i+41|0;g=i+41|0;f=0}else{h=i+41|0;g=i+40+f|0;f=a[i+40>>0]|0}c[i+172>>2]=g;c[i+168>>2]=h}if(!(f<<24>>24))f=255;else break C}else f=0;while(0);q=c[(e+4+18112|0)>>2]|0;c[(e+4+18108|0)>>2]=f<<24-q|c[(e+4+18108|0)>>2];c[(e+4+18112|0)>>2]=q+8;if((q+8|0)>=25)break B}a[(e+4+18116|0)>>0]=f;c[(e+4+18120|0)>>2]=1}while(0);f=a[(e+4+18116|0)>>0]|0;if((f&-8)<<24>>24!=-48){w=f;c[e+30704>>2]=2;c[e+30708>>2]=37;break a}c[(e+4+18112|0)>>2]=0;c[(e+4+18108|0)>>2]=0;c[(e+4+18120|0)>>2]=0;c[(e+4+17988|0)>>2]=0;c[(e+4+17916|0)>>2]=0;c[(e+4+17844|0)>>2]=0;a[(e+4+18116|0)>>0]=-1;q=c[(e+4+18168|0)>>2]|0;c[(e+4+18172|0)>>2]=(q|0)==0?2147483647:q;c[(e+4+18144|0)>>2]=0}u=u+1|0}while((u|0)<(s|0))}v=v+1|0;if((v|0)>=(t|0)){x=437;break}}}else y=1}}c[e+22944>>2]=w;c[e+30608>>2]=x;c[e+30640>>2]=y} -function x9a(f){f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;q=c[f+24>>2]|0;g=c[f+28>>2]|0;v=c[f+16>>2]|0;w=c[f+36>>2]|0;x=c[f+40>>2]|0;r=c[f+44>>2]|0;s=d[x+9>>0]|0;t=d[r+9>>0]|0;u=a[f+63>>0]|0;if(u<<24>>24==0|(g|0)==0)return;h=c[f+20>>2]|0;f=c[f>>2]|0;a:while(1){g=g+-1|0;switch(q&3|0){case 0:{p=(q+3|0)/4|0;o=f;f=4;break}case 3:{p=(q+3|0)/4|0;o=f;f=20;break}case 2:{p=(q+3|0)/4|0;o=f;f=36;break}case 1:{p=(q+3|0)/4|0;o=f;f=52;break}default:{f=68;break a}}while(1)if((f|0)==4){switch(s|0){case 1:{n=d[o>>0]|0;f=c[x+32>>2]|0;m=c[x+28>>2]|0;j=a[(c[124356+((m>>>16&255)<<2)>>2]|0)+((c[x+20>>2]&n)>>>(f>>>16&255))>>0]|0;i=a[(c[124356+((m>>>8&255)<<2)>>2]|0)+((c[x+16>>2]&n)>>>(f>>>8&255))>>0]|0;f=a[(c[124356+((m&255)<<2)>>2]|0)+((n&c[x+12>>2])>>>(f&255))>>0]|0;break}case 2:{n=e[o>>1]|0;f=c[x+32>>2]|0;m=c[x+28>>2]|0;j=a[(c[124356+((m>>>16&255)<<2)>>2]|0)+((c[x+20>>2]&n)>>>(f>>>16&255))>>0]|0;i=a[(c[124356+((m>>>8&255)<<2)>>2]|0)+((c[x+16>>2]&n)>>>(f>>>8&255))>>0]|0;f=a[(c[124356+((m&255)<<2)>>2]|0)+((n&c[x+12>>2])>>>(f&255))>>0]|0;break}case 3:{f=c[x+32>>2]|0;j=a[o+(f>>>19&31)>>0]|0;i=a[o+(f>>>11&31)>>0]|0;f=a[o+(f>>>3&31)>>0]|0;break}case 4:{n=c[o>>2]|0;f=c[x+32>>2]|0;m=c[x+28>>2]|0;j=a[(c[124356+((m>>>16&255)<<2)>>2]|0)+((c[x+20>>2]&n)>>>(f>>>16&255))>>0]|0;i=a[(c[124356+((m>>>8&255)<<2)>>2]|0)+((c[x+16>>2]&n)>>>(f>>>8&255))>>0]|0;f=a[(c[124356+((m&255)<<2)>>2]|0)+((c[x+12>>2]&n)>>>(f&255))>>0]|0;break}default:{j=0;i=0;f=0}}n=f&255;m=i&255;l=j&255;switch(t|0){case 1:{y=d[h>>0]|0;k=c[r+32>>2]|0;z=c[r+28>>2]|0;f=a[(c[124356+(z>>>24<<2)>>2]|0)+((c[r+24>>2]&y)>>>(k>>>24))>>0]|0;i=a[(c[124356+((z>>>16&255)<<2)>>2]|0)+((c[r+20>>2]&y)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((z>>>8&255)<<2)>>2]|0)+((c[r+16>>2]&y)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((z&255)<<2)>>2]|0)+((y&c[r+12>>2])>>>(k&255))>>0]|0;break}case 2:{z=e[h>>1]|0;k=c[r+32>>2]|0;y=c[r+28>>2]|0;f=a[(c[124356+(y>>>24<<2)>>2]|0)+((c[r+24>>2]&z)>>>(k>>>24))>>0]|0;i=a[(c[124356+((y>>>16&255)<<2)>>2]|0)+((c[r+20>>2]&z)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((y>>>8&255)<<2)>>2]|0)+((c[r+16>>2]&z)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((y&255)<<2)>>2]|0)+((z&c[r+12>>2])>>>(k&255))>>0]|0;break}case 3:{k=c[r+32>>2]|0;f=-1;i=a[h+(k>>>19&31)>>0]|0;j=a[h+(k>>>11&31)>>0]|0;k=a[h+(k>>>3&31)>>0]|0;break}case 4:{z=c[h>>2]|0;k=c[r+32>>2]|0;y=c[r+28>>2]|0;f=a[(c[124356+(y>>>24<<2)>>2]|0)+((c[r+24>>2]&z)>>>(k>>>24))>>0]|0;i=a[(c[124356+((y>>>16&255)<<2)>>2]|0)+((c[r+20>>2]&z)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((y>>>8&255)<<2)>>2]|0)+((c[r+16>>2]&z)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((y&255)<<2)>>2]|0)+((c[r+12>>2]&z)>>>(k&255))>>0]|0;break}default:{f=0;i=0;j=0;k=0}}k=k&255;j=j&255;z=i&255;i=f&255;k=(((_(n-k|0,u&255)|0)>>>0)/255|0)+k|0;j=(((_(m-j|0,u&255)|0)>>>0)/255|0)+j|0;f=(((_(l-z|0,u&255)|0)>>>0)/255|0)+z|0;i=i+(u&255)-(((_(i,u&255)|0)>>>0)/255|0)|0;switch(t|0){case 1:{y=c[r+28>>2]|0;z=c[r+32>>2]|0;a[h>>0]=j>>>(y>>>8&255)<<(z>>>8&255)|k>>>(y&255)<<(z&255)|f>>>(y>>>16&255)<<(z>>>16&255)|i>>>(y>>>24)<<(z>>>24);break}case 2:{y=c[r+28>>2]|0;z=c[r+32>>2]|0;b[h>>1]=j>>>(y>>>8&255)<<(z>>>8&255)|k>>>(y&255)<<(z&255)|f>>>(y>>>16&255)<<(z>>>16&255)|i>>>(y>>>24)<<(z>>>24);break}case 3:{a[h+((d[r+32>>0]|0)>>>3&255)>>0]=k;a[h+((d[r+33>>0]|0)>>>3&255)>>0]=j;a[h+((d[r+34>>0]|0)>>>3&255)>>0]=f;break}case 4:{y=c[r+28>>2]|0;z=c[r+32>>2]|0;c[h>>2]=j>>>(y>>>8&255)<<(z>>>8&255)|k>>>(y&255)<<(z&255)|f>>>(y>>>16&255)<<(z>>>16&255)|i>>>(y>>>24)<<(z>>>24);break}default:{}}h=h+t|0;o=o+s|0;f=20;continue}else if((f|0)==20){switch(s|0){case 1:{z=d[o>>0]|0;f=c[x+32>>2]|0;y=c[x+28>>2]|0;j=a[(c[124356+((y>>>16&255)<<2)>>2]|0)+((c[x+20>>2]&z)>>>(f>>>16&255))>>0]|0;i=a[(c[124356+((y>>>8&255)<<2)>>2]|0)+((c[x+16>>2]&z)>>>(f>>>8&255))>>0]|0;f=a[(c[124356+((y&255)<<2)>>2]|0)+((z&c[x+12>>2])>>>(f&255))>>0]|0;break}case 2:{z=e[o>>1]|0;f=c[x+32>>2]|0;y=c[x+28>>2]|0;j=a[(c[124356+((y>>>16&255)<<2)>>2]|0)+((c[x+20>>2]&z)>>>(f>>>16&255))>>0]|0;i=a[(c[124356+((y>>>8&255)<<2)>>2]|0)+((c[x+16>>2]&z)>>>(f>>>8&255))>>0]|0;f=a[(c[124356+((y&255)<<2)>>2]|0)+((z&c[x+12>>2])>>>(f&255))>>0]|0;break}case 3:{f=c[x+32>>2]|0;j=a[o+(f>>>19&31)>>0]|0;i=a[o+(f>>>11&31)>>0]|0;f=a[o+(f>>>3&31)>>0]|0;break}case 4:{z=c[o>>2]|0;f=c[x+32>>2]|0;y=c[x+28>>2]|0;j=a[(c[124356+((y>>>16&255)<<2)>>2]|0)+((c[x+20>>2]&z)>>>(f>>>16&255))>>0]|0;i=a[(c[124356+((y>>>8&255)<<2)>>2]|0)+((c[x+16>>2]&z)>>>(f>>>8&255))>>0]|0;f=a[(c[124356+((y&255)<<2)>>2]|0)+((c[x+12>>2]&z)>>>(f&255))>>0]|0;break}default:{j=0;i=0;f=0}}n=f&255;m=i&255;l=j&255;switch(t|0){case 1:{z=d[h>>0]|0;k=c[r+32>>2]|0;y=c[r+28>>2]|0;f=a[(c[124356+(y>>>24<<2)>>2]|0)+((c[r+24>>2]&z)>>>(k>>>24))>>0]|0;i=a[(c[124356+((y>>>16&255)<<2)>>2]|0)+((c[r+20>>2]&z)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((y>>>8&255)<<2)>>2]|0)+((c[r+16>>2]&z)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((y&255)<<2)>>2]|0)+((z&c[r+12>>2])>>>(k&255))>>0]|0;break}case 2:{z=e[h>>1]|0;k=c[r+32>>2]|0;y=c[r+28>>2]|0;f=a[(c[124356+(y>>>24<<2)>>2]|0)+((c[r+24>>2]&z)>>>(k>>>24))>>0]|0;i=a[(c[124356+((y>>>16&255)<<2)>>2]|0)+((c[r+20>>2]&z)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((y>>>8&255)<<2)>>2]|0)+((c[r+16>>2]&z)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((y&255)<<2)>>2]|0)+((z&c[r+12>>2])>>>(k&255))>>0]|0;break}case 3:{k=c[r+32>>2]|0;f=-1;i=a[h+(k>>>19&31)>>0]|0;j=a[h+(k>>>11&31)>>0]|0;k=a[h+(k>>>3&31)>>0]|0;break}case 4:{z=c[h>>2]|0;k=c[r+32>>2]|0;y=c[r+28>>2]|0;f=a[(c[124356+(y>>>24<<2)>>2]|0)+((c[r+24>>2]&z)>>>(k>>>24))>>0]|0;i=a[(c[124356+((y>>>16&255)<<2)>>2]|0)+((c[r+20>>2]&z)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((y>>>8&255)<<2)>>2]|0)+((c[r+16>>2]&z)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((y&255)<<2)>>2]|0)+((c[r+12>>2]&z)>>>(k&255))>>0]|0;break}default:{f=0;i=0;j=0;k=0}}k=k&255;j=j&255;z=i&255;i=f&255;k=(((_(n-k|0,u&255)|0)>>>0)/255|0)+k|0;j=(((_(m-j|0,u&255)|0)>>>0)/255|0)+j|0;f=(((_(l-z|0,u&255)|0)>>>0)/255|0)+z|0;i=i+(u&255)-(((_(i,u&255)|0)>>>0)/255|0)|0;switch(t|0){case 1:{y=c[r+28>>2]|0;z=c[r+32>>2]|0;a[h>>0]=j>>>(y>>>8&255)<<(z>>>8&255)|k>>>(y&255)<<(z&255)|f>>>(y>>>16&255)<<(z>>>16&255)|i>>>(y>>>24)<<(z>>>24);break}case 2:{y=c[r+28>>2]|0;z=c[r+32>>2]|0;b[h>>1]=j>>>(y>>>8&255)<<(z>>>8&255)|k>>>(y&255)<<(z&255)|f>>>(y>>>16&255)<<(z>>>16&255)|i>>>(y>>>24)<<(z>>>24);break}case 3:{a[h+((d[r+32>>0]|0)>>>3&255)>>0]=k;a[h+((d[r+33>>0]|0)>>>3&255)>>0]=j;a[h+((d[r+34>>0]|0)>>>3&255)>>0]=f;break}case 4:{y=c[r+28>>2]|0;z=c[r+32>>2]|0;c[h>>2]=j>>>(y>>>8&255)<<(z>>>8&255)|k>>>(y&255)<<(z&255)|f>>>(y>>>16&255)<<(z>>>16&255)|i>>>(y>>>24)<<(z>>>24);break}default:{}}h=h+t|0;o=o+s|0;f=36;continue}else if((f|0)==36){switch(s|0){case 1:{z=d[o>>0]|0;f=c[x+32>>2]|0;y=c[x+28>>2]|0;j=a[(c[124356+((y>>>16&255)<<2)>>2]|0)+((c[x+20>>2]&z)>>>(f>>>16&255))>>0]|0;i=a[(c[124356+((y>>>8&255)<<2)>>2]|0)+((c[x+16>>2]&z)>>>(f>>>8&255))>>0]|0;f=a[(c[124356+((y&255)<<2)>>2]|0)+((z&c[x+12>>2])>>>(f&255))>>0]|0;break}case 2:{z=e[o>>1]|0;f=c[x+32>>2]|0;y=c[x+28>>2]|0;j=a[(c[124356+((y>>>16&255)<<2)>>2]|0)+((c[x+20>>2]&z)>>>(f>>>16&255))>>0]|0;i=a[(c[124356+((y>>>8&255)<<2)>>2]|0)+((c[x+16>>2]&z)>>>(f>>>8&255))>>0]|0;f=a[(c[124356+((y&255)<<2)>>2]|0)+((z&c[x+12>>2])>>>(f&255))>>0]|0;break}case 3:{f=c[x+32>>2]|0;j=a[o+(f>>>19&31)>>0]|0;i=a[o+(f>>>11&31)>>0]|0;f=a[o+(f>>>3&31)>>0]|0;break}case 4:{z=c[o>>2]|0;f=c[x+32>>2]|0;y=c[x+28>>2]|0;j=a[(c[124356+((y>>>16&255)<<2)>>2]|0)+((c[x+20>>2]&z)>>>(f>>>16&255))>>0]|0;i=a[(c[124356+((y>>>8&255)<<2)>>2]|0)+((c[x+16>>2]&z)>>>(f>>>8&255))>>0]|0;f=a[(c[124356+((y&255)<<2)>>2]|0)+((c[x+12>>2]&z)>>>(f&255))>>0]|0;break}default:{j=0;i=0;f=0}}n=f&255;m=i&255;l=j&255;switch(t|0){case 1:{z=d[h>>0]|0;k=c[r+32>>2]|0;y=c[r+28>>2]|0;f=a[(c[124356+(y>>>24<<2)>>2]|0)+((c[r+24>>2]&z)>>>(k>>>24))>>0]|0;i=a[(c[124356+((y>>>16&255)<<2)>>2]|0)+((c[r+20>>2]&z)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((y>>>8&255)<<2)>>2]|0)+((c[r+16>>2]&z)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((y&255)<<2)>>2]|0)+((z&c[r+12>>2])>>>(k&255))>>0]|0;break}case 2:{z=e[h>>1]|0;k=c[r+32>>2]|0;y=c[r+28>>2]|0;f=a[(c[124356+(y>>>24<<2)>>2]|0)+((c[r+24>>2]&z)>>>(k>>>24))>>0]|0;i=a[(c[124356+((y>>>16&255)<<2)>>2]|0)+((c[r+20>>2]&z)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((y>>>8&255)<<2)>>2]|0)+((c[r+16>>2]&z)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((y&255)<<2)>>2]|0)+((z&c[r+12>>2])>>>(k&255))>>0]|0;break}case 3:{k=c[r+32>>2]|0;f=-1;i=a[h+(k>>>19&31)>>0]|0;j=a[h+(k>>>11&31)>>0]|0;k=a[h+(k>>>3&31)>>0]|0;break}case 4:{z=c[h>>2]|0;k=c[r+32>>2]|0;y=c[r+28>>2]|0;f=a[(c[124356+(y>>>24<<2)>>2]|0)+((c[r+24>>2]&z)>>>(k>>>24))>>0]|0;i=a[(c[124356+((y>>>16&255)<<2)>>2]|0)+((c[r+20>>2]&z)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((y>>>8&255)<<2)>>2]|0)+((c[r+16>>2]&z)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((y&255)<<2)>>2]|0)+((c[r+12>>2]&z)>>>(k&255))>>0]|0;break}default:{f=0;i=0;j=0;k=0}}k=k&255;j=j&255;z=i&255;i=f&255;k=(((_(n-k|0,u&255)|0)>>>0)/255|0)+k|0;j=(((_(m-j|0,u&255)|0)>>>0)/255|0)+j|0;f=(((_(l-z|0,u&255)|0)>>>0)/255|0)+z|0;i=i+(u&255)-(((_(i,u&255)|0)>>>0)/255|0)|0;switch(t|0){case 1:{y=c[r+28>>2]|0;z=c[r+32>>2]|0;a[h>>0]=j>>>(y>>>8&255)<<(z>>>8&255)|k>>>(y&255)<<(z&255)|f>>>(y>>>16&255)<<(z>>>16&255)|i>>>(y>>>24)<<(z>>>24);break}case 2:{y=c[r+28>>2]|0;z=c[r+32>>2]|0;b[h>>1]=j>>>(y>>>8&255)<<(z>>>8&255)|k>>>(y&255)<<(z&255)|f>>>(y>>>16&255)<<(z>>>16&255)|i>>>(y>>>24)<<(z>>>24);break}case 3:{a[h+((d[r+32>>0]|0)>>>3&255)>>0]=k;a[h+((d[r+33>>0]|0)>>>3&255)>>0]=j;a[h+((d[r+34>>0]|0)>>>3&255)>>0]=f;break}case 4:{y=c[r+28>>2]|0;z=c[r+32>>2]|0;c[h>>2]=j>>>(y>>>8&255)<<(z>>>8&255)|k>>>(y&255)<<(z&255)|f>>>(y>>>16&255)<<(z>>>16&255)|i>>>(y>>>24)<<(z>>>24);break}default:{}}h=h+t|0;o=o+s|0;f=52;continue}else if((f|0)==52){switch(s|0){case 1:{z=d[o>>0]|0;f=c[x+32>>2]|0;y=c[x+28>>2]|0;j=a[(c[124356+((y>>>16&255)<<2)>>2]|0)+((c[x+20>>2]&z)>>>(f>>>16&255))>>0]|0;i=a[(c[124356+((y>>>8&255)<<2)>>2]|0)+((c[x+16>>2]&z)>>>(f>>>8&255))>>0]|0;f=a[(c[124356+((y&255)<<2)>>2]|0)+((z&c[x+12>>2])>>>(f&255))>>0]|0;break}case 2:{z=e[o>>1]|0;f=c[x+32>>2]|0;y=c[x+28>>2]|0;j=a[(c[124356+((y>>>16&255)<<2)>>2]|0)+((c[x+20>>2]&z)>>>(f>>>16&255))>>0]|0;i=a[(c[124356+((y>>>8&255)<<2)>>2]|0)+((c[x+16>>2]&z)>>>(f>>>8&255))>>0]|0;f=a[(c[124356+((y&255)<<2)>>2]|0)+((z&c[x+12>>2])>>>(f&255))>>0]|0;break}case 3:{f=c[x+32>>2]|0;j=a[o+(f>>>19&31)>>0]|0;i=a[o+(f>>>11&31)>>0]|0;f=a[o+(f>>>3&31)>>0]|0;break}case 4:{z=c[o>>2]|0;f=c[x+32>>2]|0;y=c[x+28>>2]|0;j=a[(c[124356+((y>>>16&255)<<2)>>2]|0)+((c[x+20>>2]&z)>>>(f>>>16&255))>>0]|0;i=a[(c[124356+((y>>>8&255)<<2)>>2]|0)+((c[x+16>>2]&z)>>>(f>>>8&255))>>0]|0;f=a[(c[124356+((y&255)<<2)>>2]|0)+((c[x+12>>2]&z)>>>(f&255))>>0]|0;break}default:{j=0;i=0;f=0}}n=f&255;m=i&255;l=j&255;switch(t|0){case 1:{z=d[h>>0]|0;k=c[r+32>>2]|0;y=c[r+28>>2]|0;f=a[(c[124356+(y>>>24<<2)>>2]|0)+((c[r+24>>2]&z)>>>(k>>>24))>>0]|0;i=a[(c[124356+((y>>>16&255)<<2)>>2]|0)+((c[r+20>>2]&z)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((y>>>8&255)<<2)>>2]|0)+((c[r+16>>2]&z)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((y&255)<<2)>>2]|0)+((z&c[r+12>>2])>>>(k&255))>>0]|0;break}case 2:{z=e[h>>1]|0;k=c[r+32>>2]|0;y=c[r+28>>2]|0;f=a[(c[124356+(y>>>24<<2)>>2]|0)+((c[r+24>>2]&z)>>>(k>>>24))>>0]|0;i=a[(c[124356+((y>>>16&255)<<2)>>2]|0)+((c[r+20>>2]&z)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((y>>>8&255)<<2)>>2]|0)+((c[r+16>>2]&z)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((y&255)<<2)>>2]|0)+((z&c[r+12>>2])>>>(k&255))>>0]|0;break}case 3:{k=c[r+32>>2]|0;f=-1;i=a[h+(k>>>19&31)>>0]|0;j=a[h+(k>>>11&31)>>0]|0;k=a[h+(k>>>3&31)>>0]|0;break}case 4:{z=c[h>>2]|0;k=c[r+32>>2]|0;y=c[r+28>>2]|0;f=a[(c[124356+(y>>>24<<2)>>2]|0)+((c[r+24>>2]&z)>>>(k>>>24))>>0]|0;i=a[(c[124356+((y>>>16&255)<<2)>>2]|0)+((c[r+20>>2]&z)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((y>>>8&255)<<2)>>2]|0)+((c[r+16>>2]&z)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((y&255)<<2)>>2]|0)+((c[r+12>>2]&z)>>>(k&255))>>0]|0;break}default:{f=0;i=0;j=0;k=0}}k=k&255;j=j&255;z=i&255;i=f&255;k=(((_(n-k|0,u&255)|0)>>>0)/255|0)+k|0;j=(((_(m-j|0,u&255)|0)>>>0)/255|0)+j|0;f=(((_(l-z|0,u&255)|0)>>>0)/255|0)+z|0;i=i+(u&255)-(((_(i,u&255)|0)>>>0)/255|0)|0;switch(t|0){case 1:{y=c[r+28>>2]|0;z=c[r+32>>2]|0;a[h>>0]=j>>>(y>>>8&255)<<(z>>>8&255)|k>>>(y&255)<<(z&255)|f>>>(y>>>16&255)<<(z>>>16&255)|i>>>(y>>>24)<<(z>>>24);break}case 2:{y=c[r+28>>2]|0;z=c[r+32>>2]|0;b[h>>1]=j>>>(y>>>8&255)<<(z>>>8&255)|k>>>(y&255)<<(z&255)|f>>>(y>>>16&255)<<(z>>>16&255)|i>>>(y>>>24)<<(z>>>24);break}case 3:{a[h+((d[r+32>>0]|0)>>>3&255)>>0]=k;a[h+((d[r+33>>0]|0)>>>3&255)>>0]=j;a[h+((d[r+34>>0]|0)>>>3&255)>>0]=f;break}case 4:{y=c[r+28>>2]|0;z=c[r+32>>2]|0;c[h>>2]=j>>>(y>>>8&255)<<(z>>>8&255)|k>>>(y&255)<<(z&255)|f>>>(y>>>16&255)<<(z>>>16&255)|i>>>(y>>>24)<<(z>>>24);break}default:{}}f=o+s|0;h=h+t|0;if((p|0)>1){p=p+-1|0;o=f;f=4;continue}else break}if(!g){f=70;break}else{h=h+w|0;f=f+v|0}}if((f|0)!=68)if((f|0)==70)return}function y9a(d){d=d|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;m=a[d+63>>0]|0;if(m<<24>>24==-128){v9a(d,-2082);return}o=c[d+24>>2]|0;f=c[d+28>>2]|0;h=c[d>>2]|0;n=c[d+16>>2]>>1;g=c[d+20>>2]|0;l=c[d+36>>2]>>1;if(!f)return;if(!(o&3)){i=f+-1|0;d=g;f=h;while(1){h=(o+3|0)/4|0;while(1){k=e[f>>1]|0;g=e[d>>1]|0;g=((_(((k<<16|k)&132184095)-((g<<16|g)&132184095)|0,(m&255)>>>3)|0)>>>5)+((g<<16|g)&132184095)&132184095;k=d+2|0;b[d>>1]=g>>>16|g;g=e[f+2>>1]|0;j=e[k>>1]|0;j=((_(((g<<16|g)&132184095)-((j<<16|j)&132184095)|0,(m&255)>>>3)|0)>>>5)+((j<<16|j)&132184095)&132184095;g=d+4|0;b[k>>1]=j>>>16|j;k=e[f+4>>1]|0;j=e[g>>1]|0;j=((_(((k<<16|k)&132184095)-((j<<16|j)&132184095)|0,(m&255)>>>3)|0)>>>5)+((j<<16|j)&132184095)&132184095;k=d+6|0;b[g>>1]=j>>>16|j;g=f+8|0;f=e[f+6>>1]|0;j=e[k>>1]|0;j=((_(((f<<16|f)&132184095)-((j<<16|j)&132184095)|0,(m&255)>>>3)|0)>>>5)+((j<<16|j)&132184095)&132184095;d=d+8|0;b[k>>1]=j>>>16|j;if((h|0)>1){h=h+-1|0;f=g}else break}if(!i)break;else{i=i+-1|0;d=d+(l<<1)|0;f=g+(n<<1)|0}}return}else{k=f+-1|0;d=g;f=h}a:while(1){switch(o&3|0){case 1:{i=(o+3|0)/4|0;h=f;j=12;break}case 3:{g=(o+3|0)/4|0;j=10;break}case 2:{g=(o+3|0)/4|0;j=11;break}default:{j=13;break a}}while(1)if((j|0)==10){h=e[f>>1]|0;i=e[d>>1]|0;i=((_(((h<<16|h)&132184095)-((i<<16|i)&132184095)|0,(m&255)>>>3)|0)>>>5)+((i<<16|i)&132184095)&132184095;b[d>>1]=i>>>16|i;d=d+2|0;f=f+2|0;j=11;continue}else if((j|0)==11){h=e[f>>1]|0;i=e[d>>1]|0;i=((_(((h<<16|h)&132184095)-((i<<16|i)&132184095)|0,(m&255)>>>3)|0)>>>5)+((i<<16|i)&132184095)&132184095;b[d>>1]=i>>>16|i;d=d+2|0;i=g;h=f+2|0;j=12;continue}else if((j|0)==12){g=h+2|0;f=e[h>>1]|0;j=e[d>>1]|0;j=((_(((f<<16|f)&132184095)-((j<<16|j)&132184095)|0,(m&255)>>>3)|0)>>>5)+((j<<16|j)&132184095)&132184095;f=d+2|0;b[d>>1]=j>>>16|j;if((i|0)<=1)break;j=e[g>>1]|0;g=e[f>>1]|0;g=((_(((j<<16|j)&132184095)-((g<<16|g)&132184095)|0,(m&255)>>>3)|0)>>>5)+((g<<16|g)&132184095)&132184095;b[f>>1]=g>>>16|g;d=d+4|0;g=i+-1|0;f=h+4|0;j=10;continue}if(!k){j=15;break}else{k=k+-1|0;d=f+(l<<1)|0;f=g+(n<<1)|0}}if((j|0)!=13)if((j|0)==15)return}function z9a(b){b=b|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;m=c[b+24>>2]|0;f=c[b+28>>2]|0;s=c[b+16>>2]|0;t=c[b+36>>2]|0;u=c[b+48>>2]|0;n=c[b+40>>2]|0;o=d[n+9>>0]|0;p=c[b+56>>2]|0;q=d[b+63>>0]|0;if(!f)return;r=(c[b+44>>2]|0)+4|0;g=c[b+20>>2]|0;h=c[b>>2]|0;a:while(1){f=f+-1|0;switch(m&7|0){case 0:{b=g;l=(m+7|0)/8|0;i=4;break}case 7:{l=(m+7|0)/8|0;i=14;break}case 6:{l=(m+7|0)/8|0;i=24;break}case 5:{l=(m+7|0)/8|0;i=34;break}case 4:{l=(m+7|0)/8|0;i=44;break}case 3:{l=(m+7|0)/8|0;i=54;break}case 2:{l=(m+7|0)/8|0;i=64;break}case 1:{l=(m+7|0)/8|0;i=74;break}default:{i=84;break a}}while(1)if((i|0)==4){switch(o|0){case 1:{v=d[h>>0]|0;k=c[n+32>>2]|0;w=c[n+28>>2]|0;g=v;i=a[(c[124356+((w>>>16&255)<<2)>>2]|0)+((c[n+20>>2]&v)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((w>>>8&255)<<2)>>2]|0)+((c[n+16>>2]&v)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((w&255)<<2)>>2]|0)+((v&c[n+12>>2])>>>(k&255))>>0]|0;break}case 2:{w=e[h>>1]|0;k=c[n+32>>2]|0;v=c[n+28>>2]|0;g=w;i=a[(c[124356+((v>>>16&255)<<2)>>2]|0)+((c[n+20>>2]&w)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((v>>>8&255)<<2)>>2]|0)+((c[n+16>>2]&w)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((v&255)<<2)>>2]|0)+((w&c[n+12>>2])>>>(k&255))>>0]|0;break}case 3:{k=c[n+32>>2]|0;g=0;i=a[h+(k>>>19&31)>>0]|0;j=a[h+(k>>>11&31)>>0]|0;k=a[h+(k>>>3&31)>>0]|0;break}case 4:{w=c[h>>2]|0;k=c[n+32>>2]|0;v=c[n+28>>2]|0;g=w;i=a[(c[124356+((v>>>16&255)<<2)>>2]|0)+((c[n+20>>2]&w)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((v>>>8&255)<<2)>>2]|0)+((c[n+16>>2]&w)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((v&255)<<2)>>2]|0)+((c[n+12>>2]&w)>>>(k&255))>>0]|0;break}default:{g=0;i=0;j=0;k=0}}do if((g|0)!=(p|0)){g=d[b>>0]|0;x=c[(c[r>>2]|0)+4>>2]|0;w=d[x+(g<<2)>>0]|0;v=d[x+(g<<2)+1>>0]|0;g=d[x+(g<<2)+2>>0]|0;g=((((_((j&255)-v|0,q)|0)>>>0)/255|0)+v|0)>>>3&28|(((_((k&255)-w|0,q)|0)>>>0)/255|0)+w&224|((((_((i&255)-g|0,q)|0)>>>0)/255|0)+g|0)>>>6&3;if(!u){a[b>>0]=g;break}else{a[b>>0]=a[u+g>>0]|0;break}}while(0);g=b+1|0;h=h+o|0;i=14;continue}else if((i|0)==14){switch(o|0){case 1:{x=d[h>>0]|0;k=c[n+32>>2]|0;w=c[n+28>>2]|0;b=x;i=a[(c[124356+((w>>>16&255)<<2)>>2]|0)+((c[n+20>>2]&x)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((w>>>8&255)<<2)>>2]|0)+((c[n+16>>2]&x)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((w&255)<<2)>>2]|0)+((x&c[n+12>>2])>>>(k&255))>>0]|0;break}case 2:{x=e[h>>1]|0;k=c[n+32>>2]|0;w=c[n+28>>2]|0;b=x;i=a[(c[124356+((w>>>16&255)<<2)>>2]|0)+((c[n+20>>2]&x)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((w>>>8&255)<<2)>>2]|0)+((c[n+16>>2]&x)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((w&255)<<2)>>2]|0)+((x&c[n+12>>2])>>>(k&255))>>0]|0;break}case 3:{k=c[n+32>>2]|0;b=0;i=a[h+(k>>>19&31)>>0]|0;j=a[h+(k>>>11&31)>>0]|0;k=a[h+(k>>>3&31)>>0]|0;break}case 4:{x=c[h>>2]|0;k=c[n+32>>2]|0;w=c[n+28>>2]|0;b=x;i=a[(c[124356+((w>>>16&255)<<2)>>2]|0)+((c[n+20>>2]&x)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((w>>>8&255)<<2)>>2]|0)+((c[n+16>>2]&x)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((w&255)<<2)>>2]|0)+((c[n+12>>2]&x)>>>(k&255))>>0]|0;break}default:{b=0;i=0;j=0;k=0}}do if((b|0)!=(p|0)){b=d[g>>0]|0;v=c[(c[r>>2]|0)+4>>2]|0;x=d[v+(b<<2)>>0]|0;w=d[v+(b<<2)+1>>0]|0;b=d[v+(b<<2)+2>>0]|0;b=((((_((j&255)-w|0,q)|0)>>>0)/255|0)+w|0)>>>3&28|(((_((k&255)-x|0,q)|0)>>>0)/255|0)+x&224|((((_((i&255)-b|0,q)|0)>>>0)/255|0)+b|0)>>>6&3;if(!u){a[g>>0]=b;break}else{a[g>>0]=a[u+b>>0]|0;break}}while(0);g=g+1|0;h=h+o|0;i=24;continue}else if((i|0)==24){switch(o|0){case 1:{x=d[h>>0]|0;k=c[n+32>>2]|0;w=c[n+28>>2]|0;b=x;i=a[(c[124356+((w>>>16&255)<<2)>>2]|0)+((c[n+20>>2]&x)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((w>>>8&255)<<2)>>2]|0)+((c[n+16>>2]&x)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((w&255)<<2)>>2]|0)+((x&c[n+12>>2])>>>(k&255))>>0]|0;break}case 2:{x=e[h>>1]|0;k=c[n+32>>2]|0;w=c[n+28>>2]|0;b=x;i=a[(c[124356+((w>>>16&255)<<2)>>2]|0)+((c[n+20>>2]&x)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((w>>>8&255)<<2)>>2]|0)+((c[n+16>>2]&x)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((w&255)<<2)>>2]|0)+((x&c[n+12>>2])>>>(k&255))>>0]|0;break}case 3:{k=c[n+32>>2]|0;b=0;i=a[h+(k>>>19&31)>>0]|0;j=a[h+(k>>>11&31)>>0]|0;k=a[h+(k>>>3&31)>>0]|0;break}case 4:{x=c[h>>2]|0;k=c[n+32>>2]|0;w=c[n+28>>2]|0;b=x;i=a[(c[124356+((w>>>16&255)<<2)>>2]|0)+((c[n+20>>2]&x)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((w>>>8&255)<<2)>>2]|0)+((c[n+16>>2]&x)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((w&255)<<2)>>2]|0)+((c[n+12>>2]&x)>>>(k&255))>>0]|0;break}default:{b=0;i=0;j=0;k=0}}do if((b|0)!=(p|0)){b=d[g>>0]|0;v=c[(c[r>>2]|0)+4>>2]|0;x=d[v+(b<<2)>>0]|0;w=d[v+(b<<2)+1>>0]|0;b=d[v+(b<<2)+2>>0]|0;b=((((_((j&255)-w|0,q)|0)>>>0)/255|0)+w|0)>>>3&28|(((_((k&255)-x|0,q)|0)>>>0)/255|0)+x&224|((((_((i&255)-b|0,q)|0)>>>0)/255|0)+b|0)>>>6&3;if(!u){a[g>>0]=b;break}else{a[g>>0]=a[u+b>>0]|0;break}}while(0);g=g+1|0;h=h+o|0;i=34;continue}else if((i|0)==34){switch(o|0){case 1:{x=d[h>>0]|0;k=c[n+32>>2]|0;w=c[n+28>>2]|0;b=x;i=a[(c[124356+((w>>>16&255)<<2)>>2]|0)+((c[n+20>>2]&x)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((w>>>8&255)<<2)>>2]|0)+((c[n+16>>2]&x)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((w&255)<<2)>>2]|0)+((x&c[n+12>>2])>>>(k&255))>>0]|0;break}case 2:{x=e[h>>1]|0;k=c[n+32>>2]|0;w=c[n+28>>2]|0;b=x;i=a[(c[124356+((w>>>16&255)<<2)>>2]|0)+((c[n+20>>2]&x)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((w>>>8&255)<<2)>>2]|0)+((c[n+16>>2]&x)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((w&255)<<2)>>2]|0)+((x&c[n+12>>2])>>>(k&255))>>0]|0;break}case 3:{k=c[n+32>>2]|0;b=0;i=a[h+(k>>>19&31)>>0]|0;j=a[h+(k>>>11&31)>>0]|0;k=a[h+(k>>>3&31)>>0]|0;break}case 4:{x=c[h>>2]|0;k=c[n+32>>2]|0;w=c[n+28>>2]|0;b=x;i=a[(c[124356+((w>>>16&255)<<2)>>2]|0)+((c[n+20>>2]&x)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((w>>>8&255)<<2)>>2]|0)+((c[n+16>>2]&x)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((w&255)<<2)>>2]|0)+((c[n+12>>2]&x)>>>(k&255))>>0]|0;break}default:{b=0;i=0;j=0;k=0}}do if((b|0)!=(p|0)){b=d[g>>0]|0;v=c[(c[r>>2]|0)+4>>2]|0;x=d[v+(b<<2)>>0]|0;w=d[v+(b<<2)+1>>0]|0;b=d[v+(b<<2)+2>>0]|0;b=((((_((j&255)-w|0,q)|0)>>>0)/255|0)+w|0)>>>3&28|(((_((k&255)-x|0,q)|0)>>>0)/255|0)+x&224|((((_((i&255)-b|0,q)|0)>>>0)/255|0)+b|0)>>>6&3;if(!u){a[g>>0]=b;break}else{a[g>>0]=a[u+b>>0]|0;break}}while(0);g=g+1|0;h=h+o|0;i=44;continue}else if((i|0)==44){switch(o|0){case 1:{x=d[h>>0]|0;k=c[n+32>>2]|0;w=c[n+28>>2]|0;b=x;i=a[(c[124356+((w>>>16&255)<<2)>>2]|0)+((c[n+20>>2]&x)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((w>>>8&255)<<2)>>2]|0)+((c[n+16>>2]&x)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((w&255)<<2)>>2]|0)+((x&c[n+12>>2])>>>(k&255))>>0]|0;break}case 2:{x=e[h>>1]|0;k=c[n+32>>2]|0;w=c[n+28>>2]|0;b=x;i=a[(c[124356+((w>>>16&255)<<2)>>2]|0)+((c[n+20>>2]&x)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((w>>>8&255)<<2)>>2]|0)+((c[n+16>>2]&x)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((w&255)<<2)>>2]|0)+((x&c[n+12>>2])>>>(k&255))>>0]|0;break}case 3:{k=c[n+32>>2]|0;b=0;i=a[h+(k>>>19&31)>>0]|0;j=a[h+(k>>>11&31)>>0]|0;k=a[h+(k>>>3&31)>>0]|0;break}case 4:{x=c[h>>2]|0;k=c[n+32>>2]|0;w=c[n+28>>2]|0;b=x;i=a[(c[124356+((w>>>16&255)<<2)>>2]|0)+((c[n+20>>2]&x)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((w>>>8&255)<<2)>>2]|0)+((c[n+16>>2]&x)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((w&255)<<2)>>2]|0)+((c[n+12>>2]&x)>>>(k&255))>>0]|0;break}default:{b=0;i=0;j=0;k=0}}do if((b|0)!=(p|0)){b=d[g>>0]|0;v=c[(c[r>>2]|0)+4>>2]|0;x=d[v+(b<<2)>>0]|0;w=d[v+(b<<2)+1>>0]|0;b=d[v+(b<<2)+2>>0]|0;b=((((_((j&255)-w|0,q)|0)>>>0)/255|0)+w|0)>>>3&28|(((_((k&255)-x|0,q)|0)>>>0)/255|0)+x&224|((((_((i&255)-b|0,q)|0)>>>0)/255|0)+b|0)>>>6&3;if(!u){a[g>>0]=b;break}else{a[g>>0]=a[u+b>>0]|0;break}}while(0);g=g+1|0;h=h+o|0;i=54;continue}else if((i|0)==54){switch(o|0){case 1:{x=d[h>>0]|0;k=c[n+32>>2]|0;w=c[n+28>>2]|0;b=x;i=a[(c[124356+((w>>>16&255)<<2)>>2]|0)+((c[n+20>>2]&x)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((w>>>8&255)<<2)>>2]|0)+((c[n+16>>2]&x)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((w&255)<<2)>>2]|0)+((x&c[n+12>>2])>>>(k&255))>>0]|0;break}case 2:{x=e[h>>1]|0;k=c[n+32>>2]|0;w=c[n+28>>2]|0;b=x;i=a[(c[124356+((w>>>16&255)<<2)>>2]|0)+((c[n+20>>2]&x)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((w>>>8&255)<<2)>>2]|0)+((c[n+16>>2]&x)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((w&255)<<2)>>2]|0)+((x&c[n+12>>2])>>>(k&255))>>0]|0;break}case 3:{k=c[n+32>>2]|0;b=0;i=a[h+(k>>>19&31)>>0]|0;j=a[h+(k>>>11&31)>>0]|0;k=a[h+(k>>>3&31)>>0]|0;break}case 4:{x=c[h>>2]|0;k=c[n+32>>2]|0;w=c[n+28>>2]|0;b=x;i=a[(c[124356+((w>>>16&255)<<2)>>2]|0)+((c[n+20>>2]&x)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((w>>>8&255)<<2)>>2]|0)+((c[n+16>>2]&x)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((w&255)<<2)>>2]|0)+((c[n+12>>2]&x)>>>(k&255))>>0]|0;break}default:{b=0;i=0;j=0;k=0}}do if((b|0)!=(p|0)){b=d[g>>0]|0;v=c[(c[r>>2]|0)+4>>2]|0;x=d[v+(b<<2)>>0]|0;w=d[v+(b<<2)+1>>0]|0;b=d[v+(b<<2)+2>>0]|0;b=((((_((j&255)-w|0,q)|0)>>>0)/255|0)+w|0)>>>3&28|(((_((k&255)-x|0,q)|0)>>>0)/255|0)+x&224|((((_((i&255)-b|0,q)|0)>>>0)/255|0)+b|0)>>>6&3;if(!u){a[g>>0]=b;break}else{a[g>>0]=a[u+b>>0]|0;break}}while(0);g=g+1|0;h=h+o|0;i=64;continue}else if((i|0)==64){switch(o|0){case 1:{x=d[h>>0]|0;k=c[n+32>>2]|0;w=c[n+28>>2]|0;b=x;i=a[(c[124356+((w>>>16&255)<<2)>>2]|0)+((c[n+20>>2]&x)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((w>>>8&255)<<2)>>2]|0)+((c[n+16>>2]&x)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((w&255)<<2)>>2]|0)+((x&c[n+12>>2])>>>(k&255))>>0]|0;break}case 2:{x=e[h>>1]|0;k=c[n+32>>2]|0;w=c[n+28>>2]|0;b=x;i=a[(c[124356+((w>>>16&255)<<2)>>2]|0)+((c[n+20>>2]&x)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((w>>>8&255)<<2)>>2]|0)+((c[n+16>>2]&x)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((w&255)<<2)>>2]|0)+((x&c[n+12>>2])>>>(k&255))>>0]|0;break}case 3:{k=c[n+32>>2]|0;b=0;i=a[h+(k>>>19&31)>>0]|0;j=a[h+(k>>>11&31)>>0]|0;k=a[h+(k>>>3&31)>>0]|0;break}case 4:{x=c[h>>2]|0;k=c[n+32>>2]|0;w=c[n+28>>2]|0;b=x;i=a[(c[124356+((w>>>16&255)<<2)>>2]|0)+((c[n+20>>2]&x)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((w>>>8&255)<<2)>>2]|0)+((c[n+16>>2]&x)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((w&255)<<2)>>2]|0)+((c[n+12>>2]&x)>>>(k&255))>>0]|0;break}default:{b=0;i=0;j=0;k=0}}do if((b|0)!=(p|0)){b=d[g>>0]|0;v=c[(c[r>>2]|0)+4>>2]|0;x=d[v+(b<<2)>>0]|0;w=d[v+(b<<2)+1>>0]|0;b=d[v+(b<<2)+2>>0]|0;b=((((_((j&255)-w|0,q)|0)>>>0)/255|0)+w|0)>>>3&28|(((_((k&255)-x|0,q)|0)>>>0)/255|0)+x&224|((((_((i&255)-b|0,q)|0)>>>0)/255|0)+b|0)>>>6&3;if(!u){a[g>>0]=b;break}else{a[g>>0]=a[u+b>>0]|0;break}}while(0);g=g+1|0;h=h+o|0;i=74;continue}else if((i|0)==74){switch(o|0){case 1:{x=d[h>>0]|0;k=c[n+32>>2]|0;w=c[n+28>>2]|0;b=x;i=a[(c[124356+((w>>>16&255)<<2)>>2]|0)+((c[n+20>>2]&x)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((w>>>8&255)<<2)>>2]|0)+((c[n+16>>2]&x)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((w&255)<<2)>>2]|0)+((x&c[n+12>>2])>>>(k&255))>>0]|0;break}case 2:{x=e[h>>1]|0;k=c[n+32>>2]|0;w=c[n+28>>2]|0;b=x;i=a[(c[124356+((w>>>16&255)<<2)>>2]|0)+((c[n+20>>2]&x)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((w>>>8&255)<<2)>>2]|0)+((c[n+16>>2]&x)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((w&255)<<2)>>2]|0)+((x&c[n+12>>2])>>>(k&255))>>0]|0;break}case 3:{k=c[n+32>>2]|0;b=0;i=a[h+(k>>>19&31)>>0]|0;j=a[h+(k>>>11&31)>>0]|0;k=a[h+(k>>>3&31)>>0]|0;break}case 4:{x=c[h>>2]|0;k=c[n+32>>2]|0;w=c[n+28>>2]|0;b=x;i=a[(c[124356+((w>>>16&255)<<2)>>2]|0)+((c[n+20>>2]&x)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((w>>>8&255)<<2)>>2]|0)+((c[n+16>>2]&x)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((w&255)<<2)>>2]|0)+((c[n+12>>2]&x)>>>(k&255))>>0]|0;break}default:{b=0;i=0;j=0;k=0}}do if((b|0)!=(p|0)){b=d[g>>0]|0;v=c[(c[r>>2]|0)+4>>2]|0;x=d[v+(b<<2)>>0]|0;w=d[v+(b<<2)+1>>0]|0;b=d[v+(b<<2)+2>>0]|0;b=((((_((j&255)-w|0,q)|0)>>>0)/255|0)+w|0)>>>3&28|(((_((k&255)-x|0,q)|0)>>>0)/255|0)+x&224|((((_((i&255)-b|0,q)|0)>>>0)/255|0)+b|0)>>>6&3;if(!u){a[g>>0]=b;break}else{a[g>>0]=a[u+b>>0]|0;break}}while(0);b=g+1|0;h=h+o|0;if((l|0)>1){l=l+-1|0;i=4;continue}else break}if(!f){i=86;break}else{g=b+t|0;h=h+s|0}}if((i|0)!=84)if((i|0)==86)return}function A9a(f){f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;q=c[f+24>>2]|0;g=c[f+28>>2]|0;w=c[f+16>>2]|0;x=c[f+36>>2]|0;y=c[f+40>>2]|0;r=c[f+44>>2]|0;s=c[f+56>>2]|0;t=d[y+9>>0]|0;u=d[r+9>>0]|0;v=a[f+63>>0]|0;if(!g)return;h=c[f+20>>2]|0;f=c[f>>2]|0;a:while(1){g=g+-1|0;switch(q&3|0){case 0:{p=(q+3|0)/4|0;o=f;f=4;break}case 3:{p=(q+3|0)/4|0;o=f;f=21;break}case 2:{p=(q+3|0)/4|0;o=f;f=38;break}case 1:{p=(q+3|0)/4|0;o=f;f=55;break}default:{f=72;break a}}while(1)if((f|0)==4){switch(t|0){case 1:{f=d[o>>0]|0;break}case 2:{f=e[o>>1]|0;break}case 3:{f=(d[o+1>>0]|0)<<8|(d[o>>0]|0)|(d[o+2>>0]|0)<<16;break}case 4:{f=c[o>>2]|0;break}default:f=0}b:do if(!(v<<24>>24==0|(f|0)==(s|0))){n=c[y+32>>2]|0;k=c[y+28>>2]|0;l=d[(c[124356+((k&255)<<2)>>2]|0)+((c[y+12>>2]&f)>>>(n&255))>>0]|0;m=d[(c[124356+((k>>>8&255)<<2)>>2]|0)+((c[y+16>>2]&f)>>>(n>>>8&255))>>0]|0;n=d[(c[124356+((k>>>16&255)<<2)>>2]|0)+((c[y+20>>2]&f)>>>(n>>>16&255))>>0]|0;switch(u|0){case 1:{z=d[h>>0]|0;k=c[r+32>>2]|0;A=c[r+28>>2]|0;f=a[(c[124356+(A>>>24<<2)>>2]|0)+((c[r+24>>2]&z)>>>(k>>>24))>>0]|0;i=a[(c[124356+((A>>>16&255)<<2)>>2]|0)+((c[r+20>>2]&z)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((A>>>8&255)<<2)>>2]|0)+((c[r+16>>2]&z)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((A&255)<<2)>>2]|0)+((z&c[r+12>>2])>>>(k&255))>>0]|0;break}case 2:{A=e[h>>1]|0;k=c[r+32>>2]|0;z=c[r+28>>2]|0;f=a[(c[124356+(z>>>24<<2)>>2]|0)+((c[r+24>>2]&A)>>>(k>>>24))>>0]|0;i=a[(c[124356+((z>>>16&255)<<2)>>2]|0)+((c[r+20>>2]&A)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((z>>>8&255)<<2)>>2]|0)+((c[r+16>>2]&A)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((z&255)<<2)>>2]|0)+((A&c[r+12>>2])>>>(k&255))>>0]|0;break}case 3:{k=c[r+32>>2]|0;f=-1;i=a[h+(k>>>19&31)>>0]|0;j=a[h+(k>>>11&31)>>0]|0;k=a[h+(k>>>3&31)>>0]|0;break}case 4:{A=c[h>>2]|0;k=c[r+32>>2]|0;z=c[r+28>>2]|0;f=a[(c[124356+(z>>>24<<2)>>2]|0)+((c[r+24>>2]&A)>>>(k>>>24))>>0]|0;i=a[(c[124356+((z>>>16&255)<<2)>>2]|0)+((c[r+20>>2]&A)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((z>>>8&255)<<2)>>2]|0)+((c[r+16>>2]&A)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((z&255)<<2)>>2]|0)+((c[r+12>>2]&A)>>>(k&255))>>0]|0;break}default:{f=0;i=0;j=0;k=0}}k=k&255;j=j&255;A=i&255;i=f&255;k=(((_(l-k|0,v&255)|0)>>>0)/255|0)+k|0;j=(((_(m-j|0,v&255)|0)>>>0)/255|0)+j|0;f=(((_(n-A|0,v&255)|0)>>>0)/255|0)+A|0;i=i+(v&255)-(((_(i,v&255)|0)>>>0)/255|0)|0;switch(u|0){case 1:{z=c[r+28>>2]|0;A=c[r+32>>2]|0;a[h>>0]=j>>>(z>>>8&255)<<(A>>>8&255)|k>>>(z&255)<<(A&255)|f>>>(z>>>16&255)<<(A>>>16&255)|i>>>(z>>>24)<<(A>>>24);break b}case 2:{z=c[r+28>>2]|0;A=c[r+32>>2]|0;b[h>>1]=j>>>(z>>>8&255)<<(A>>>8&255)|k>>>(z&255)<<(A&255)|f>>>(z>>>16&255)<<(A>>>16&255)|i>>>(z>>>24)<<(A>>>24);break b}case 3:{a[h+((d[r+32>>0]|0)>>>3&255)>>0]=k;a[h+((d[r+33>>0]|0)>>>3&255)>>0]=j;a[h+((d[r+34>>0]|0)>>>3&255)>>0]=f;break b}case 4:{z=c[r+28>>2]|0;A=c[r+32>>2]|0;c[h>>2]=j>>>(z>>>8&255)<<(A>>>8&255)|k>>>(z&255)<<(A&255)|f>>>(z>>>16&255)<<(A>>>16&255)|i>>>(z>>>24)<<(A>>>24);break b}default:break b}}while(0);h=h+u|0;o=o+t|0;f=21;continue}else if((f|0)==21){switch(t|0){case 1:{f=d[o>>0]|0;break}case 2:{f=e[o>>1]|0;break}case 3:{f=(d[o+1>>0]|0)<<8|(d[o>>0]|0)|(d[o+2>>0]|0)<<16;break}case 4:{f=c[o>>2]|0;break}default:f=0}c:do if(!(v<<24>>24==0|(f|0)==(s|0))){n=c[y+32>>2]|0;A=c[y+28>>2]|0;l=d[(c[124356+((A&255)<<2)>>2]|0)+((c[y+12>>2]&f)>>>(n&255))>>0]|0;m=d[(c[124356+((A>>>8&255)<<2)>>2]|0)+((c[y+16>>2]&f)>>>(n>>>8&255))>>0]|0;n=d[(c[124356+((A>>>16&255)<<2)>>2]|0)+((c[y+20>>2]&f)>>>(n>>>16&255))>>0]|0;switch(u|0){case 1:{A=d[h>>0]|0;k=c[r+32>>2]|0;z=c[r+28>>2]|0;f=a[(c[124356+(z>>>24<<2)>>2]|0)+((c[r+24>>2]&A)>>>(k>>>24))>>0]|0;i=a[(c[124356+((z>>>16&255)<<2)>>2]|0)+((c[r+20>>2]&A)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((z>>>8&255)<<2)>>2]|0)+((c[r+16>>2]&A)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((z&255)<<2)>>2]|0)+((A&c[r+12>>2])>>>(k&255))>>0]|0;break}case 2:{A=e[h>>1]|0;k=c[r+32>>2]|0;z=c[r+28>>2]|0;f=a[(c[124356+(z>>>24<<2)>>2]|0)+((c[r+24>>2]&A)>>>(k>>>24))>>0]|0;i=a[(c[124356+((z>>>16&255)<<2)>>2]|0)+((c[r+20>>2]&A)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((z>>>8&255)<<2)>>2]|0)+((c[r+16>>2]&A)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((z&255)<<2)>>2]|0)+((A&c[r+12>>2])>>>(k&255))>>0]|0;break}case 3:{k=c[r+32>>2]|0;f=-1;i=a[h+(k>>>19&31)>>0]|0;j=a[h+(k>>>11&31)>>0]|0;k=a[h+(k>>>3&31)>>0]|0;break}case 4:{A=c[h>>2]|0;k=c[r+32>>2]|0;z=c[r+28>>2]|0;f=a[(c[124356+(z>>>24<<2)>>2]|0)+((c[r+24>>2]&A)>>>(k>>>24))>>0]|0;i=a[(c[124356+((z>>>16&255)<<2)>>2]|0)+((c[r+20>>2]&A)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((z>>>8&255)<<2)>>2]|0)+((c[r+16>>2]&A)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((z&255)<<2)>>2]|0)+((c[r+12>>2]&A)>>>(k&255))>>0]|0;break}default:{f=0;i=0;j=0;k=0}}k=k&255;j=j&255;A=i&255;i=f&255;k=(((_(l-k|0,v&255)|0)>>>0)/255|0)+k|0;j=(((_(m-j|0,v&255)|0)>>>0)/255|0)+j|0;f=(((_(n-A|0,v&255)|0)>>>0)/255|0)+A|0;i=i+(v&255)-(((_(i,v&255)|0)>>>0)/255|0)|0;switch(u|0){case 1:{z=c[r+28>>2]|0;A=c[r+32>>2]|0;a[h>>0]=j>>>(z>>>8&255)<<(A>>>8&255)|k>>>(z&255)<<(A&255)|f>>>(z>>>16&255)<<(A>>>16&255)|i>>>(z>>>24)<<(A>>>24);break c}case 2:{z=c[r+28>>2]|0;A=c[r+32>>2]|0;b[h>>1]=j>>>(z>>>8&255)<<(A>>>8&255)|k>>>(z&255)<<(A&255)|f>>>(z>>>16&255)<<(A>>>16&255)|i>>>(z>>>24)<<(A>>>24);break c}case 3:{a[h+((d[r+32>>0]|0)>>>3&255)>>0]=k;a[h+((d[r+33>>0]|0)>>>3&255)>>0]=j;a[h+((d[r+34>>0]|0)>>>3&255)>>0]=f;break c}case 4:{z=c[r+28>>2]|0;A=c[r+32>>2]|0;c[h>>2]=j>>>(z>>>8&255)<<(A>>>8&255)|k>>>(z&255)<<(A&255)|f>>>(z>>>16&255)<<(A>>>16&255)|i>>>(z>>>24)<<(A>>>24);break c}default:break c}}while(0);h=h+u|0;o=o+t|0;f=38;continue}else if((f|0)==38){switch(t|0){case 1:{f=d[o>>0]|0;break}case 2:{f=e[o>>1]|0;break}case 3:{f=(d[o+1>>0]|0)<<8|(d[o>>0]|0)|(d[o+2>>0]|0)<<16;break}case 4:{f=c[o>>2]|0;break}default:f=0}d:do if(!(v<<24>>24==0|(f|0)==(s|0))){n=c[y+32>>2]|0;A=c[y+28>>2]|0;l=d[(c[124356+((A&255)<<2)>>2]|0)+((c[y+12>>2]&f)>>>(n&255))>>0]|0;m=d[(c[124356+((A>>>8&255)<<2)>>2]|0)+((c[y+16>>2]&f)>>>(n>>>8&255))>>0]|0;n=d[(c[124356+((A>>>16&255)<<2)>>2]|0)+((c[y+20>>2]&f)>>>(n>>>16&255))>>0]|0;switch(u|0){case 1:{A=d[h>>0]|0;k=c[r+32>>2]|0;z=c[r+28>>2]|0;f=a[(c[124356+(z>>>24<<2)>>2]|0)+((c[r+24>>2]&A)>>>(k>>>24))>>0]|0;i=a[(c[124356+((z>>>16&255)<<2)>>2]|0)+((c[r+20>>2]&A)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((z>>>8&255)<<2)>>2]|0)+((c[r+16>>2]&A)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((z&255)<<2)>>2]|0)+((A&c[r+12>>2])>>>(k&255))>>0]|0;break}case 2:{A=e[h>>1]|0;k=c[r+32>>2]|0;z=c[r+28>>2]|0;f=a[(c[124356+(z>>>24<<2)>>2]|0)+((c[r+24>>2]&A)>>>(k>>>24))>>0]|0;i=a[(c[124356+((z>>>16&255)<<2)>>2]|0)+((c[r+20>>2]&A)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((z>>>8&255)<<2)>>2]|0)+((c[r+16>>2]&A)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((z&255)<<2)>>2]|0)+((A&c[r+12>>2])>>>(k&255))>>0]|0;break}case 3:{k=c[r+32>>2]|0;f=-1;i=a[h+(k>>>19&31)>>0]|0;j=a[h+(k>>>11&31)>>0]|0;k=a[h+(k>>>3&31)>>0]|0;break}case 4:{A=c[h>>2]|0;k=c[r+32>>2]|0;z=c[r+28>>2]|0;f=a[(c[124356+(z>>>24<<2)>>2]|0)+((c[r+24>>2]&A)>>>(k>>>24))>>0]|0;i=a[(c[124356+((z>>>16&255)<<2)>>2]|0)+((c[r+20>>2]&A)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((z>>>8&255)<<2)>>2]|0)+((c[r+16>>2]&A)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((z&255)<<2)>>2]|0)+((c[r+12>>2]&A)>>>(k&255))>>0]|0;break}default:{f=0;i=0;j=0;k=0}}k=k&255;j=j&255;A=i&255;i=f&255;k=(((_(l-k|0,v&255)|0)>>>0)/255|0)+k|0;j=(((_(m-j|0,v&255)|0)>>>0)/255|0)+j|0;f=(((_(n-A|0,v&255)|0)>>>0)/255|0)+A|0;i=i+(v&255)-(((_(i,v&255)|0)>>>0)/255|0)|0;switch(u|0){case 1:{z=c[r+28>>2]|0;A=c[r+32>>2]|0;a[h>>0]=j>>>(z>>>8&255)<<(A>>>8&255)|k>>>(z&255)<<(A&255)|f>>>(z>>>16&255)<<(A>>>16&255)|i>>>(z>>>24)<<(A>>>24);break d}case 2:{z=c[r+28>>2]|0;A=c[r+32>>2]|0;b[h>>1]=j>>>(z>>>8&255)<<(A>>>8&255)|k>>>(z&255)<<(A&255)|f>>>(z>>>16&255)<<(A>>>16&255)|i>>>(z>>>24)<<(A>>>24);break d}case 3:{a[h+((d[r+32>>0]|0)>>>3&255)>>0]=k;a[h+((d[r+33>>0]|0)>>>3&255)>>0]=j;a[h+((d[r+34>>0]|0)>>>3&255)>>0]=f;break d}case 4:{z=c[r+28>>2]|0;A=c[r+32>>2]|0;c[h>>2]=j>>>(z>>>8&255)<<(A>>>8&255)|k>>>(z&255)<<(A&255)|f>>>(z>>>16&255)<<(A>>>16&255)|i>>>(z>>>24)<<(A>>>24);break d}default:break d}}while(0);h=h+u|0;o=o+t|0;f=55;continue}else if((f|0)==55){switch(t|0){case 1:{f=d[o>>0]|0;break}case 2:{f=e[o>>1]|0;break}case 3:{f=(d[o+1>>0]|0)<<8|(d[o>>0]|0)|(d[o+2>>0]|0)<<16;break}case 4:{f=c[o>>2]|0;break}default:f=0}e:do if(!(v<<24>>24==0|(f|0)==(s|0))){m=c[y+32>>2]|0;A=c[y+28>>2]|0;l=d[(c[124356+((A&255)<<2)>>2]|0)+((c[y+12>>2]&f)>>>(m&255))>>0]|0;n=d[(c[124356+((A>>>8&255)<<2)>>2]|0)+((c[y+16>>2]&f)>>>(m>>>8&255))>>0]|0;m=d[(c[124356+((A>>>16&255)<<2)>>2]|0)+((c[y+20>>2]&f)>>>(m>>>16&255))>>0]|0;switch(u|0){case 1:{A=d[h>>0]|0;k=c[r+32>>2]|0;z=c[r+28>>2]|0;f=a[(c[124356+(z>>>24<<2)>>2]|0)+((c[r+24>>2]&A)>>>(k>>>24))>>0]|0;i=a[(c[124356+((z>>>16&255)<<2)>>2]|0)+((c[r+20>>2]&A)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((z>>>8&255)<<2)>>2]|0)+((c[r+16>>2]&A)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((z&255)<<2)>>2]|0)+((A&c[r+12>>2])>>>(k&255))>>0]|0;break}case 2:{A=e[h>>1]|0;k=c[r+32>>2]|0;z=c[r+28>>2]|0;f=a[(c[124356+(z>>>24<<2)>>2]|0)+((c[r+24>>2]&A)>>>(k>>>24))>>0]|0;i=a[(c[124356+((z>>>16&255)<<2)>>2]|0)+((c[r+20>>2]&A)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((z>>>8&255)<<2)>>2]|0)+((c[r+16>>2]&A)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((z&255)<<2)>>2]|0)+((A&c[r+12>>2])>>>(k&255))>>0]|0;break}case 3:{k=c[r+32>>2]|0;f=-1;i=a[h+(k>>>19&31)>>0]|0;j=a[h+(k>>>11&31)>>0]|0;k=a[h+(k>>>3&31)>>0]|0;break}case 4:{A=c[h>>2]|0;k=c[r+32>>2]|0;z=c[r+28>>2]|0;f=a[(c[124356+(z>>>24<<2)>>2]|0)+((c[r+24>>2]&A)>>>(k>>>24))>>0]|0;i=a[(c[124356+((z>>>16&255)<<2)>>2]|0)+((c[r+20>>2]&A)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((z>>>8&255)<<2)>>2]|0)+((c[r+16>>2]&A)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((z&255)<<2)>>2]|0)+((c[r+12>>2]&A)>>>(k&255))>>0]|0;break}default:{f=0;i=0;j=0;k=0}}k=k&255;j=j&255;A=i&255;i=f&255;k=(((_(l-k|0,v&255)|0)>>>0)/255|0)+k|0;j=(((_(n-j|0,v&255)|0)>>>0)/255|0)+j|0;f=(((_(m-A|0,v&255)|0)>>>0)/255|0)+A|0;i=i+(v&255)-(((_(i,v&255)|0)>>>0)/255|0)|0;switch(u|0){case 1:{z=c[r+28>>2]|0;A=c[r+32>>2]|0;a[h>>0]=j>>>(z>>>8&255)<<(A>>>8&255)|k>>>(z&255)<<(A&255)|f>>>(z>>>16&255)<<(A>>>16&255)|i>>>(z>>>24)<<(A>>>24);break e}case 2:{z=c[r+28>>2]|0;A=c[r+32>>2]|0;b[h>>1]=j>>>(z>>>8&255)<<(A>>>8&255)|k>>>(z&255)<<(A&255)|f>>>(z>>>16&255)<<(A>>>16&255)|i>>>(z>>>24)<<(A>>>24);break e}case 3:{a[h+((d[r+32>>0]|0)>>>3&255)>>0]=k;a[h+((d[r+33>>0]|0)>>>3&255)>>0]=j;a[h+((d[r+34>>0]|0)>>>3&255)>>0]=f;break e}case 4:{z=c[r+28>>2]|0;A=c[r+32>>2]|0;c[h>>2]=j>>>(z>>>8&255)<<(A>>>8&255)|k>>>(z&255)<<(A&255)|f>>>(z>>>16&255)<<(A>>>16&255)|i>>>(z>>>24)<<(A>>>24);break e}default:break e}}while(0);f=o+t|0;h=h+u|0;if((p|0)>1){p=p+-1|0;o=f;f=4;continue}else break}if(!g){f=74;break}else{h=h+x|0;f=f+w|0}}if((f|0)!=72)if((f|0)==74)return}function B9a(b){b=b|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;m=c[b+24>>2]|0;f=c[b+28>>2]|0;q=c[b+16>>2]|0;r=c[b+36>>2]|0;s=c[b+48>>2]|0;n=c[b+40>>2]|0;o=d[n+9>>0]|0;if(!f)return;p=(c[b+44>>2]|0)+4|0;g=c[b+20>>2]|0;h=c[b>>2]|0;a:while(1){f=f+-1|0;switch(m&3|0){case 0:{l=(m+3|0)/4|0;b=4;break}case 3:{l=(m+3|0)/4|0;b=13;break}case 2:{l=(m+3|0)/4|0;b=22;break}case 1:{l=(m+3|0)/4|0;b=31;break}default:{b=40;break a}}while(1)if((b|0)==4){switch(o|0){case 1:{t=d[h>>0]|0;k=c[n+32>>2]|0;u=c[n+28>>2]|0;b=a[(c[124356+(u>>>24<<2)>>2]|0)+((c[n+24>>2]&t)>>>(k>>>24))>>0]|0;i=a[(c[124356+((u>>>16&255)<<2)>>2]|0)+((c[n+20>>2]&t)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((u>>>8&255)<<2)>>2]|0)+((c[n+16>>2]&t)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((u&255)<<2)>>2]|0)+((t&c[n+12>>2])>>>(k&255))>>0]|0;break}case 2:{u=e[h>>1]|0;k=c[n+32>>2]|0;t=c[n+28>>2]|0;b=a[(c[124356+(t>>>24<<2)>>2]|0)+((c[n+24>>2]&u)>>>(k>>>24))>>0]|0;i=a[(c[124356+((t>>>16&255)<<2)>>2]|0)+((c[n+20>>2]&u)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((t>>>8&255)<<2)>>2]|0)+((c[n+16>>2]&u)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((t&255)<<2)>>2]|0)+((u&c[n+12>>2])>>>(k&255))>>0]|0;break}case 3:{k=c[n+32>>2]|0;b=-1;i=a[h+(k>>>19&31)>>0]|0;j=a[h+(k>>>11&31)>>0]|0;k=a[h+(k>>>3&31)>>0]|0;break}case 4:{u=c[h>>2]|0;k=c[n+32>>2]|0;t=c[n+28>>2]|0;b=a[(c[124356+(t>>>24<<2)>>2]|0)+((c[n+24>>2]&u)>>>(k>>>24))>>0]|0;i=a[(c[124356+((t>>>16&255)<<2)>>2]|0)+((c[n+20>>2]&u)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((t>>>8&255)<<2)>>2]|0)+((c[n+16>>2]&u)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((t&255)<<2)>>2]|0)+((c[n+12>>2]&u)>>>(k&255))>>0]|0;break}default:{b=0;i=0;j=0;k=0}}u=b&255;b=d[g>>0]|0;w=c[(c[p>>2]|0)+4>>2]|0;t=d[w+(b<<2)>>0]|0;v=d[w+(b<<2)+1>>0]|0;b=d[w+(b<<2)+2>>0]|0;b=((((_((j&255)-v|0,u)|0)>>>0)/255|0)+v|0)>>>3&28|(((_((k&255)-t|0,u)|0)>>>0)/255|0)+t&224|((((_((i&255)-b|0,u)|0)>>>0)/255|0)+b|0)>>>6&3;if(!s)b=b&255;else b=a[s+b>>0]|0;a[g>>0]=b;g=g+1|0;h=h+o|0;b=13;continue}else if((b|0)==13){switch(o|0){case 1:{w=d[h>>0]|0;k=c[n+32>>2]|0;v=c[n+28>>2]|0;b=a[(c[124356+(v>>>24<<2)>>2]|0)+((c[n+24>>2]&w)>>>(k>>>24))>>0]|0;i=a[(c[124356+((v>>>16&255)<<2)>>2]|0)+((c[n+20>>2]&w)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((v>>>8&255)<<2)>>2]|0)+((c[n+16>>2]&w)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((v&255)<<2)>>2]|0)+((w&c[n+12>>2])>>>(k&255))>>0]|0;break}case 2:{w=e[h>>1]|0;k=c[n+32>>2]|0;v=c[n+28>>2]|0;b=a[(c[124356+(v>>>24<<2)>>2]|0)+((c[n+24>>2]&w)>>>(k>>>24))>>0]|0;i=a[(c[124356+((v>>>16&255)<<2)>>2]|0)+((c[n+20>>2]&w)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((v>>>8&255)<<2)>>2]|0)+((c[n+16>>2]&w)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((v&255)<<2)>>2]|0)+((w&c[n+12>>2])>>>(k&255))>>0]|0;break}case 3:{k=c[n+32>>2]|0;b=-1;i=a[h+(k>>>19&31)>>0]|0;j=a[h+(k>>>11&31)>>0]|0;k=a[h+(k>>>3&31)>>0]|0;break}case 4:{w=c[h>>2]|0;k=c[n+32>>2]|0;v=c[n+28>>2]|0;b=a[(c[124356+(v>>>24<<2)>>2]|0)+((c[n+24>>2]&w)>>>(k>>>24))>>0]|0;i=a[(c[124356+((v>>>16&255)<<2)>>2]|0)+((c[n+20>>2]&w)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((v>>>8&255)<<2)>>2]|0)+((c[n+16>>2]&w)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((v&255)<<2)>>2]|0)+((c[n+12>>2]&w)>>>(k&255))>>0]|0;break}default:{b=0;i=0;j=0;k=0}}w=b&255;b=d[g>>0]|0;t=c[(c[p>>2]|0)+4>>2]|0;v=d[t+(b<<2)>>0]|0;u=d[t+(b<<2)+1>>0]|0;b=d[t+(b<<2)+2>>0]|0;b=((((_((j&255)-u|0,w)|0)>>>0)/255|0)+u|0)>>>3&28|(((_((k&255)-v|0,w)|0)>>>0)/255|0)+v&224|((((_((i&255)-b|0,w)|0)>>>0)/255|0)+b|0)>>>6&3;if(!s)b=b&255;else b=a[s+b>>0]|0;a[g>>0]=b;g=g+1|0;h=h+o|0;b=22;continue}else if((b|0)==22){switch(o|0){case 1:{w=d[h>>0]|0;k=c[n+32>>2]|0;v=c[n+28>>2]|0;b=a[(c[124356+(v>>>24<<2)>>2]|0)+((c[n+24>>2]&w)>>>(k>>>24))>>0]|0;i=a[(c[124356+((v>>>16&255)<<2)>>2]|0)+((c[n+20>>2]&w)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((v>>>8&255)<<2)>>2]|0)+((c[n+16>>2]&w)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((v&255)<<2)>>2]|0)+((w&c[n+12>>2])>>>(k&255))>>0]|0;break}case 2:{w=e[h>>1]|0;k=c[n+32>>2]|0;v=c[n+28>>2]|0;b=a[(c[124356+(v>>>24<<2)>>2]|0)+((c[n+24>>2]&w)>>>(k>>>24))>>0]|0;i=a[(c[124356+((v>>>16&255)<<2)>>2]|0)+((c[n+20>>2]&w)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((v>>>8&255)<<2)>>2]|0)+((c[n+16>>2]&w)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((v&255)<<2)>>2]|0)+((w&c[n+12>>2])>>>(k&255))>>0]|0;break}case 3:{k=c[n+32>>2]|0;b=-1;i=a[h+(k>>>19&31)>>0]|0;j=a[h+(k>>>11&31)>>0]|0;k=a[h+(k>>>3&31)>>0]|0;break}case 4:{w=c[h>>2]|0;k=c[n+32>>2]|0;v=c[n+28>>2]|0;b=a[(c[124356+(v>>>24<<2)>>2]|0)+((c[n+24>>2]&w)>>>(k>>>24))>>0]|0;i=a[(c[124356+((v>>>16&255)<<2)>>2]|0)+((c[n+20>>2]&w)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((v>>>8&255)<<2)>>2]|0)+((c[n+16>>2]&w)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((v&255)<<2)>>2]|0)+((c[n+12>>2]&w)>>>(k&255))>>0]|0;break}default:{b=0;i=0;j=0;k=0}}w=b&255;b=d[g>>0]|0;t=c[(c[p>>2]|0)+4>>2]|0;v=d[t+(b<<2)>>0]|0;u=d[t+(b<<2)+1>>0]|0;b=d[t+(b<<2)+2>>0]|0;b=((((_((j&255)-u|0,w)|0)>>>0)/255|0)+u|0)>>>3&28|(((_((k&255)-v|0,w)|0)>>>0)/255|0)+v&224|((((_((i&255)-b|0,w)|0)>>>0)/255|0)+b|0)>>>6&3;if(!s)b=b&255;else b=a[s+b>>0]|0;a[g>>0]=b;g=g+1|0;h=h+o|0;b=31;continue}else if((b|0)==31){switch(o|0){case 1:{w=d[h>>0]|0;k=c[n+32>>2]|0;v=c[n+28>>2]|0;b=a[(c[124356+(v>>>24<<2)>>2]|0)+((c[n+24>>2]&w)>>>(k>>>24))>>0]|0;i=a[(c[124356+((v>>>16&255)<<2)>>2]|0)+((c[n+20>>2]&w)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((v>>>8&255)<<2)>>2]|0)+((c[n+16>>2]&w)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((v&255)<<2)>>2]|0)+((w&c[n+12>>2])>>>(k&255))>>0]|0;break}case 2:{w=e[h>>1]|0;k=c[n+32>>2]|0;v=c[n+28>>2]|0;b=a[(c[124356+(v>>>24<<2)>>2]|0)+((c[n+24>>2]&w)>>>(k>>>24))>>0]|0;i=a[(c[124356+((v>>>16&255)<<2)>>2]|0)+((c[n+20>>2]&w)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((v>>>8&255)<<2)>>2]|0)+((c[n+16>>2]&w)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((v&255)<<2)>>2]|0)+((w&c[n+12>>2])>>>(k&255))>>0]|0;break}case 3:{k=c[n+32>>2]|0;b=-1;i=a[h+(k>>>19&31)>>0]|0;j=a[h+(k>>>11&31)>>0]|0;k=a[h+(k>>>3&31)>>0]|0;break}case 4:{w=c[h>>2]|0;k=c[n+32>>2]|0;v=c[n+28>>2]|0;b=a[(c[124356+(v>>>24<<2)>>2]|0)+((c[n+24>>2]&w)>>>(k>>>24))>>0]|0;i=a[(c[124356+((v>>>16&255)<<2)>>2]|0)+((c[n+20>>2]&w)>>>(k>>>16&255))>>0]|0;j=a[(c[124356+((v>>>8&255)<<2)>>2]|0)+((c[n+16>>2]&w)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((v&255)<<2)>>2]|0)+((c[n+12>>2]&w)>>>(k&255))>>0]|0;break}default:{b=0;i=0;j=0;k=0}}w=b&255;b=d[g>>0]|0;t=c[(c[p>>2]|0)+4>>2]|0;v=d[t+(b<<2)>>0]|0;u=d[t+(b<<2)+1>>0]|0;b=d[t+(b<<2)+2>>0]|0;b=((((_((j&255)-u|0,w)|0)>>>0)/255|0)+u|0)>>>3&28|(((_((k&255)-v|0,w)|0)>>>0)/255|0)+v&224|((((_((i&255)-b|0,w)|0)>>>0)/255|0)+b|0)>>>6&3;if(!s)b=b&255;else b=a[s+b>>0]|0;a[g>>0]=b;b=g+1|0;h=h+o|0;if((l|0)>1){g=b;l=l+-1|0;b=4;continue}else break}if(!f){b=42;break}else{g=b+r|0;h=h+q|0}}if((b|0)!=40)if((b|0)==42)return}function C9a(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=c[a+24>>2]|0;b=c[a+28>>2]|0;h=c[a+16>>2]>>2;i=c[a+36>>2]>>2;if(!b)return;d=c[a+20>>2]|0;e=c[a>>2]|0;a:while(1){b=b+-1|0;switch(g&3|0){case 0:{f=(g+3|0)/4|0;a=4;break}case 3:{f=(g+3|0)/4|0;a=8;break}case 2:{f=(g+3|0)/4|0;a=12;break}case 1:{f=(g+3|0)/4|0;a=16;break}default:{a=20;break a}}while(1)if((a|0)==4){a=c[e>>2]|0;switch(a>>>24|0){case 0:break;case 255:{c[d>>2]=a;break}default:{j=c[d>>2]|0;c[d>>2]=((_((a&65280)-(j&65280)|0,a>>>24)|0)>>>8)+(j&65280)&65280|((_(j>>>24,a>>>24^255)|0)>>>8)+(a>>>24)<<24|((_((a&16711935)-(j&16711935)|0,a>>>24)|0)>>>8)+(j&16711935)&16711935}}d=d+4|0;e=e+4|0;a=8;continue}else if((a|0)==8){a=c[e>>2]|0;switch(a>>>24|0){case 0:break;case 255:{c[d>>2]=a;break}default:{j=c[d>>2]|0;c[d>>2]=((_((a&65280)-(j&65280)|0,a>>>24)|0)>>>8)+(j&65280)&65280|((_(j>>>24,a>>>24^255)|0)>>>8)+(a>>>24)<<24|((_((a&16711935)-(j&16711935)|0,a>>>24)|0)>>>8)+(j&16711935)&16711935}}d=d+4|0;e=e+4|0;a=12;continue}else if((a|0)==12){a=c[e>>2]|0;switch(a>>>24|0){case 0:break;case 255:{c[d>>2]=a;break}default:{j=c[d>>2]|0;c[d>>2]=((_((a&65280)-(j&65280)|0,a>>>24)|0)>>>8)+(j&65280)&65280|((_(j>>>24,a>>>24^255)|0)>>>8)+(a>>>24)<<24|((_((a&16711935)-(j&16711935)|0,a>>>24)|0)>>>8)+(j&16711935)&16711935}}d=d+4|0;e=e+4|0;a=16;continue}else if((a|0)==16){a=c[e>>2]|0;switch(a>>>24|0){case 0:break;case 255:{c[d>>2]=a;break}default:{j=c[d>>2]|0;c[d>>2]=((_((a&65280)-(j&65280)|0,a>>>24)|0)>>>8)+(j&65280)&65280|((_(j>>>24,a>>>24^255)|0)>>>8)+(a>>>24)<<24|((_((a&16711935)-(j&16711935)|0,a>>>24)|0)>>>8)+(j&16711935)&16711935}}e=e+4|0;d=d+4|0;if((f|0)>1){f=f+-1|0;a=4;continue}else break}if(!b){a=22;break}else{d=d+(i<<2)|0;e=e+(h<<2)|0}}if((a|0)!=20)if((a|0)==22)return}function D9a(b){b=b|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;l=c[b+24>>2]|0;f=c[b+28>>2]|0;q=c[b+16>>2]|0;r=c[b+36>>2]|0;s=c[b+48>>2]|0;m=c[b+40>>2]|0;n=d[m+9>>0]|0;o=d[b+63>>0]|0;if(!f)return;p=(c[b+44>>2]|0)+4|0;g=c[b+20>>2]|0;h=c[b>>2]|0;a:while(1){f=f+-1|0;switch(l&3|0){case 0:{k=(l+3|0)/4|0;b=4;break}case 3:{k=(l+3|0)/4|0;b=13;break}case 2:{k=(l+3|0)/4|0;b=22;break}case 1:{k=(l+3|0)/4|0;b=31;break}default:{b=40;break a}}while(1)if((b|0)==4){switch(n|0){case 1:{t=d[h>>0]|0;j=c[m+32>>2]|0;u=c[m+28>>2]|0;b=a[(c[124356+((u>>>16&255)<<2)>>2]|0)+((c[m+20>>2]&t)>>>(j>>>16&255))>>0]|0;i=a[(c[124356+((u>>>8&255)<<2)>>2]|0)+((c[m+16>>2]&t)>>>(j>>>8&255))>>0]|0;j=a[(c[124356+((u&255)<<2)>>2]|0)+((t&c[m+12>>2])>>>(j&255))>>0]|0;break}case 2:{u=e[h>>1]|0;j=c[m+32>>2]|0;t=c[m+28>>2]|0;b=a[(c[124356+((t>>>16&255)<<2)>>2]|0)+((c[m+20>>2]&u)>>>(j>>>16&255))>>0]|0;i=a[(c[124356+((t>>>8&255)<<2)>>2]|0)+((c[m+16>>2]&u)>>>(j>>>8&255))>>0]|0;j=a[(c[124356+((t&255)<<2)>>2]|0)+((u&c[m+12>>2])>>>(j&255))>>0]|0;break}case 3:{j=c[m+32>>2]|0;b=a[h+(j>>>19&31)>>0]|0;i=a[h+(j>>>11&31)>>0]|0;j=a[h+(j>>>3&31)>>0]|0;break}case 4:{u=c[h>>2]|0;j=c[m+32>>2]|0;t=c[m+28>>2]|0;b=a[(c[124356+((t>>>16&255)<<2)>>2]|0)+((c[m+20>>2]&u)>>>(j>>>16&255))>>0]|0;i=a[(c[124356+((t>>>8&255)<<2)>>2]|0)+((c[m+16>>2]&u)>>>(j>>>8&255))>>0]|0;j=a[(c[124356+((t&255)<<2)>>2]|0)+((c[m+12>>2]&u)>>>(j&255))>>0]|0;break}default:{b=0;i=0;j=0}}u=d[g>>0]|0;w=c[(c[p>>2]|0)+4>>2]|0;t=d[w+(u<<2)>>0]|0;v=d[w+(u<<2)+1>>0]|0;u=d[w+(u<<2)+2>>0]|0;b=((((_((i&255)-v|0,o)|0)>>>0)/255|0)+v|0)>>>3&28|(((_((j&255)-t|0,o)|0)>>>0)/255|0)+t&224|((((_((b&255)-u|0,o)|0)>>>0)/255|0)+u|0)>>>6&3;if(!s)b=b&255;else b=a[s+b>>0]|0;a[g>>0]=b;g=g+1|0;h=h+n|0;b=13;continue}else if((b|0)==13){switch(n|0){case 1:{w=d[h>>0]|0;j=c[m+32>>2]|0;v=c[m+28>>2]|0;b=a[(c[124356+((v>>>16&255)<<2)>>2]|0)+((c[m+20>>2]&w)>>>(j>>>16&255))>>0]|0;i=a[(c[124356+((v>>>8&255)<<2)>>2]|0)+((c[m+16>>2]&w)>>>(j>>>8&255))>>0]|0;j=a[(c[124356+((v&255)<<2)>>2]|0)+((w&c[m+12>>2])>>>(j&255))>>0]|0;break}case 2:{w=e[h>>1]|0;j=c[m+32>>2]|0;v=c[m+28>>2]|0;b=a[(c[124356+((v>>>16&255)<<2)>>2]|0)+((c[m+20>>2]&w)>>>(j>>>16&255))>>0]|0;i=a[(c[124356+((v>>>8&255)<<2)>>2]|0)+((c[m+16>>2]&w)>>>(j>>>8&255))>>0]|0;j=a[(c[124356+((v&255)<<2)>>2]|0)+((w&c[m+12>>2])>>>(j&255))>>0]|0;break}case 3:{j=c[m+32>>2]|0;b=a[h+(j>>>19&31)>>0]|0;i=a[h+(j>>>11&31)>>0]|0;j=a[h+(j>>>3&31)>>0]|0;break}case 4:{w=c[h>>2]|0;j=c[m+32>>2]|0;v=c[m+28>>2]|0;b=a[(c[124356+((v>>>16&255)<<2)>>2]|0)+((c[m+20>>2]&w)>>>(j>>>16&255))>>0]|0;i=a[(c[124356+((v>>>8&255)<<2)>>2]|0)+((c[m+16>>2]&w)>>>(j>>>8&255))>>0]|0;j=a[(c[124356+((v&255)<<2)>>2]|0)+((c[m+12>>2]&w)>>>(j&255))>>0]|0;break}default:{b=0;i=0;j=0}}w=d[g>>0]|0;t=c[(c[p>>2]|0)+4>>2]|0;v=d[t+(w<<2)>>0]|0;u=d[t+(w<<2)+1>>0]|0;w=d[t+(w<<2)+2>>0]|0;b=((((_((i&255)-u|0,o)|0)>>>0)/255|0)+u|0)>>>3&28|(((_((j&255)-v|0,o)|0)>>>0)/255|0)+v&224|((((_((b&255)-w|0,o)|0)>>>0)/255|0)+w|0)>>>6&3;if(!s)b=b&255;else b=a[s+b>>0]|0;a[g>>0]=b;g=g+1|0;h=h+n|0;b=22;continue}else if((b|0)==22){switch(n|0){case 1:{w=d[h>>0]|0;j=c[m+32>>2]|0;v=c[m+28>>2]|0;b=a[(c[124356+((v>>>16&255)<<2)>>2]|0)+((c[m+20>>2]&w)>>>(j>>>16&255))>>0]|0;i=a[(c[124356+((v>>>8&255)<<2)>>2]|0)+((c[m+16>>2]&w)>>>(j>>>8&255))>>0]|0;j=a[(c[124356+((v&255)<<2)>>2]|0)+((w&c[m+12>>2])>>>(j&255))>>0]|0;break}case 2:{w=e[h>>1]|0;j=c[m+32>>2]|0;v=c[m+28>>2]|0;b=a[(c[124356+((v>>>16&255)<<2)>>2]|0)+((c[m+20>>2]&w)>>>(j>>>16&255))>>0]|0;i=a[(c[124356+((v>>>8&255)<<2)>>2]|0)+((c[m+16>>2]&w)>>>(j>>>8&255))>>0]|0;j=a[(c[124356+((v&255)<<2)>>2]|0)+((w&c[m+12>>2])>>>(j&255))>>0]|0;break}case 3:{j=c[m+32>>2]|0;b=a[h+(j>>>19&31)>>0]|0;i=a[h+(j>>>11&31)>>0]|0;j=a[h+(j>>>3&31)>>0]|0;break}case 4:{w=c[h>>2]|0;j=c[m+32>>2]|0;v=c[m+28>>2]|0;b=a[(c[124356+((v>>>16&255)<<2)>>2]|0)+((c[m+20>>2]&w)>>>(j>>>16&255))>>0]|0;i=a[(c[124356+((v>>>8&255)<<2)>>2]|0)+((c[m+16>>2]&w)>>>(j>>>8&255))>>0]|0;j=a[(c[124356+((v&255)<<2)>>2]|0)+((c[m+12>>2]&w)>>>(j&255))>>0]|0;break}default:{b=0;i=0;j=0}}w=d[g>>0]|0;t=c[(c[p>>2]|0)+4>>2]|0;v=d[t+(w<<2)>>0]|0;u=d[t+(w<<2)+1>>0]|0;w=d[t+(w<<2)+2>>0]|0;b=((((_((i&255)-u|0,o)|0)>>>0)/255|0)+u|0)>>>3&28|(((_((j&255)-v|0,o)|0)>>>0)/255|0)+v&224|((((_((b&255)-w|0,o)|0)>>>0)/255|0)+w|0)>>>6&3;if(!s)b=b&255;else b=a[s+b>>0]|0;a[g>>0]=b;g=g+1|0;h=h+n|0;b=31;continue}else if((b|0)==31){switch(n|0){case 1:{w=d[h>>0]|0;j=c[m+32>>2]|0;v=c[m+28>>2]|0;b=a[(c[124356+((v>>>16&255)<<2)>>2]|0)+((c[m+20>>2]&w)>>>(j>>>16&255))>>0]|0;i=a[(c[124356+((v>>>8&255)<<2)>>2]|0)+((c[m+16>>2]&w)>>>(j>>>8&255))>>0]|0;j=a[(c[124356+((v&255)<<2)>>2]|0)+((w&c[m+12>>2])>>>(j&255))>>0]|0;break}case 2:{w=e[h>>1]|0;j=c[m+32>>2]|0;v=c[m+28>>2]|0;b=a[(c[124356+((v>>>16&255)<<2)>>2]|0)+((c[m+20>>2]&w)>>>(j>>>16&255))>>0]|0;i=a[(c[124356+((v>>>8&255)<<2)>>2]|0)+((c[m+16>>2]&w)>>>(j>>>8&255))>>0]|0;j=a[(c[124356+((v&255)<<2)>>2]|0)+((w&c[m+12>>2])>>>(j&255))>>0]|0;break}case 3:{j=c[m+32>>2]|0;b=a[h+(j>>>19&31)>>0]|0;i=a[h+(j>>>11&31)>>0]|0;j=a[h+(j>>>3&31)>>0]|0;break}case 4:{w=c[h>>2]|0;j=c[m+32>>2]|0;v=c[m+28>>2]|0;b=a[(c[124356+((v>>>16&255)<<2)>>2]|0)+((c[m+20>>2]&w)>>>(j>>>16&255))>>0]|0;i=a[(c[124356+((v>>>8&255)<<2)>>2]|0)+((c[m+16>>2]&w)>>>(j>>>8&255))>>0]|0;j=a[(c[124356+((v&255)<<2)>>2]|0)+((c[m+12>>2]&w)>>>(j&255))>>0]|0;break}default:{b=0;i=0;j=0}}w=d[g>>0]|0;t=c[(c[p>>2]|0)+4>>2]|0;v=d[t+(w<<2)>>0]|0;u=d[t+(w<<2)+1>>0]|0;w=d[t+(w<<2)+2>>0]|0;b=((((_((i&255)-u|0,o)|0)>>>0)/255|0)+u|0)>>>3&28|(((_((j&255)-v|0,o)|0)>>>0)/255|0)+v&224|((((_((b&255)-w|0,o)|0)>>>0)/255|0)+w|0)>>>6&3;if(!s)b=b&255;else b=a[s+b>>0]|0;a[g>>0]=b;b=g+1|0;h=h+n|0;if((k|0)>1){g=b;k=k+-1|0;b=4;continue}else break}if(!f){b=42;break}else{g=b+r|0;h=h+q|0}}if((b|0)!=40)if((b|0)==42)return}function E9a(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;B=a[b+63>>0]|0;C=c[b+24>>2]|0;r=c[b+28>>2]|0;e=c[b>>2]|0;E=c[b+16>>2]>>2;d=c[b+20>>2]|0;D=c[b+36>>2]>>2;if(B<<24>>24!=-128){if(!r)return;if(!(C&3)){f=r+-1|0;while(1){b=(C+3|0)/4|0;while(1){y=c[e>>2]|0;A=c[d>>2]|0;c[d>>2]=((_((y&65280)-(A&65280)|0,B&255)|0)>>>8)+(A&65280)&65280|((_((y&16711935)-(A&16711935)|0,B&255)|0)>>>8)+(A&16711935)&16711935|-16777216;A=d+4|0;y=c[e+4>>2]|0;z=c[A>>2]|0;c[A>>2]=((_((y&65280)-(z&65280)|0,B&255)|0)>>>8)+(z&65280)&65280|((_((y&16711935)-(z&16711935)|0,B&255)|0)>>>8)+(z&16711935)&16711935|-16777216;A=d+8|0;z=c[e+8>>2]|0;y=c[A>>2]|0;c[A>>2]=((_((z&65280)-(y&65280)|0,B&255)|0)>>>8)+(y&65280)&65280|((_((z&16711935)-(y&16711935)|0,B&255)|0)>>>8)+(y&16711935)&16711935|-16777216;A=d+12|0;y=c[e+12>>2]|0;z=c[A>>2]|0;c[A>>2]=((_((y&65280)-(z&65280)|0,B&255)|0)>>>8)+(z&65280)&65280|((_((y&16711935)-(z&16711935)|0,B&255)|0)>>>8)+(z&16711935)&16711935|-16777216;e=e+16|0;d=d+16|0;if((b|0)>1)b=b+-1|0;else break}if(!f)break;else{f=f+-1|0;d=d+(D<<2)|0;e=e+(E<<2)|0}}return}else{h=r+-1|0;g=d;b=e}a:while(1){switch(C&3|0){case 1:{k=g;n=(C+3|0)/4|0;q=b;f=27;break}case 3:{i=g;l=(C+3|0)/4|0;o=b;f=25;break}case 2:{j=g;m=(C+3|0)/4|0;p=b;f=26;break}default:{f=28;break a}}while(1)if((f|0)==25){m=c[o>>2]|0;j=c[i>>2]|0;c[i>>2]=((_((m&65280)-(j&65280)|0,B&255)|0)>>>8)+(j&65280)&65280|((_((m&16711935)-(j&16711935)|0,B&255)|0)>>>8)+(j&16711935)&16711935|-16777216;j=i+4|0;m=l;p=o+4|0;f=26;continue}else if((f|0)==26){n=c[p>>2]|0;k=c[j>>2]|0;c[j>>2]=((_((n&65280)-(k&65280)|0,B&255)|0)>>>8)+(k&65280)&65280|((_((n&16711935)-(k&16711935)|0,B&255)|0)>>>8)+(k&16711935)&16711935|-16777216;k=j+4|0;n=m;q=p+4|0;f=27;continue}else if((f|0)==27){b=c[q>>2]|0;f=c[k>>2]|0;c[k>>2]=((_((b&65280)-(f&65280)|0,B&255)|0)>>>8)+(f&65280)&65280|((_((b&16711935)-(f&16711935)|0,B&255)|0)>>>8)+(f&16711935)&16711935|-16777216;f=q+4|0;b=k+4|0;if((n|0)<=1)break;l=c[f>>2]|0;i=c[b>>2]|0;c[b>>2]=((_((l&65280)-(i&65280)|0,B&255)|0)>>>8)+(i&65280)&65280|((_((l&16711935)-(i&16711935)|0,B&255)|0)>>>8)+(i&16711935)&16711935|-16777216;i=k+8|0;l=n+-1|0;o=q+8|0;f=25;continue}if(!h){f=30;break}else{h=h+-1|0;g=b+(D<<2)|0;b=f+(E<<2)|0}}if((f|0)!=28)if((f|0)==30)return}if(!r)return;j=(C+3|0)/4|0;switch(C&3|0){case 0:{g=r+-1|0;while(1){f=j;while(1){A=c[e>>2]|0;C=c[d>>2]|0;B=d+4|0;c[d>>2]=(((C&16711422)+(A&16711422)|0)>>>1)+(A&65793&C)|-16777216;C=c[e+4>>2]|0;A=c[B>>2]|0;b=d+8|0;c[B>>2]=(((A&16711422)+(C&16711422)|0)>>>1)+(C&65793&A)|-16777216;B=c[e+8>>2]|0;A=c[b>>2]|0;C=d+12|0;c[b>>2]=(((A&16711422)+(B&16711422)|0)>>>1)+(B&65793&A)|-16777216;b=e+16|0;A=c[e+12>>2]|0;B=c[C>>2]|0;d=d+16|0;c[C>>2]=(((B&16711422)+(A&16711422)|0)>>>1)+(A&65793&B)|-16777216;if((f|0)>1){f=f+-1|0;e=b}else break}if(!g)break;else{g=g+-1|0;d=d+(D<<2)|0;e=b+(E<<2)|0}}return}case 1:{i=r+-1|0;f=d;while(1){b=e+4|0;A=c[e>>2]|0;B=c[f>>2]|0;d=f+4|0;c[f>>2]=(((B&16711422)+(A&16711422)|0)>>>1)+(A&65793&B)|-16777216;if((C+3|0)>7){g=f;h=j;while(1){h=h+-1|0;A=c[b>>2]|0;B=c[d>>2]|0;z=g+8|0;c[d>>2]=(((B&16711422)+(A&16711422)|0)>>>1)+(A&65793&B)|-16777216;B=c[e+8>>2]|0;d=c[z>>2]|0;A=g+12|0;c[z>>2]=(((d&16711422)+(B&16711422)|0)>>>1)+(B&65793&d)|-16777216;d=e;e=e+16|0;z=c[d+12>>2]|0;B=c[A>>2]|0;f=g;g=g+16|0;c[A>>2]=(((B&16711422)+(z&16711422)|0)>>>1)+(z&65793&B)|-16777216;A=c[e>>2]|0;B=c[g>>2]|0;c[g>>2]=(((B&16711422)+(A&16711422)|0)>>>1)+(A&65793&B)|-16777216;if((h|0)<=1){b=d+20|0;d=f+20|0;break}else{b=d+20|0;d=f+20|0}}}if(!i)break;else{i=i+-1|0;f=d+(D<<2)|0;e=b+(E<<2)|0}}return}default:{b=r+-1|0;b:while(1){switch(C&3|0){case 1:{u=d;x=j;A=e;f=20;break}case 3:{s=d;v=j;y=e;f=18;break}case 2:{t=d;w=j;z=e;f=19;break}default:{f=21;break b}}while(1)if((f|0)==18){w=c[y>>2]|0;t=c[s>>2]|0;c[s>>2]=(((t&16711422)+(w&16711422)|0)>>>1)+(w&65793&t)|-16777216;t=s+4|0;w=v;z=y+4|0;f=19;continue}else if((f|0)==19){x=c[z>>2]|0;u=c[t>>2]|0;c[t>>2]=(((u&16711422)+(x&16711422)|0)>>>1)+(x&65793&u)|-16777216;u=t+4|0;x=w;A=z+4|0;f=20;continue}else if((f|0)==20){e=A+4|0;r=c[A>>2]|0;B=c[u>>2]|0;d=u+4|0;c[u>>2]=(((B&16711422)+(r&16711422)|0)>>>1)+(r&65793&B)|-16777216;if((x|0)<=1)break;v=c[e>>2]|0;s=c[d>>2]|0;c[d>>2]=(((s&16711422)+(v&16711422)|0)>>>1)+(v&65793&s)|-16777216;s=u+8|0;v=x+-1|0;y=A+8|0;f=18;continue}if(!b){f=30;break}else{b=b+-1|0;d=d+(D<<2)|0;e=e+(E<<2)|0}}if((f|0)!=21)if((f|0)==30)return}}}function F9a(e){e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;j=c[e+4>>2]|0;e=c[e+52>>2]|0;i=c[(c[e>>2]|0)+4>>2]|0;f=b[i+8>>1]|0;if((f&255)<8){j=0;return j|0}switch(c[e+68>>2]&-28673|0){case 0:{if((f&255)<<24>>24==8){a:do if((a[j+9>>0]|0)==4){e=c[j+12>>2]|0;if((e|0)<1072693248){switch(e|0){case 16711680:break;default:break a}if((c[j+16>>2]|0)!=65280)break;if((c[j+20>>2]|0)==255)e=728;else break;return e|0}else{switch(e|0){case 1072693248:break;default:break a}if((c[j+16>>2]|0)!=1047552)break;if((c[j+20>>2]|0)==1023)e=729;else break;return e|0}}while(0);j=730;return j|0}if(!(c[i+24>>2]|0))h=1;else h=c[j+24>>2]|0?4:2;g=c[125112+((d[j+9>>0]|0)+-1<<2)>>2]|0;e=c[g+12>>2]|0;b:do if(!e)e=0;else{f=0;while(1){k=c[g+(f*40|0)>>2]|0;if((k|0)==0?1:(c[j+12>>2]|0)==(k|0)){k=c[g+(f*40|0)+4>>2]|0;if((k|0)==0?1:(c[j+16>>2]|0)==(k|0)){k=c[g+(f*40|0)+8>>2]|0;if((k|0)==0?1:(c[j+20>>2]|0)==(k|0)){k=c[g+(f*40|0)+16>>2]|0;if((k|0)==0?1:(c[i+12>>2]|0)==(k|0)){k=c[g+(f*40|0)+20>>2]|0;if((k|0)==0?1:(c[i+16>>2]|0)==(k|0)){k=c[g+(f*40|0)+24>>2]|0;if((k|0)==0?1:(c[i+20>>2]|0)==(k|0))if((d[i+9>>0]|0)==(e|0))if((c[g+(f*40|0)+36>>2]&h|0)==(h|0)){k=g+(f*40|0)+28|0;e=c[k>>2]|0;e=(O9a()|0)!=0&e;if((e|0)==(c[k>>2]|0)){e=f;break b}}}}}}}f=f+1|0;e=c[g+(f*40|0)+12>>2]|0;if(!e){e=f;break}}}while(0);e=c[g+(e*40|0)+32>>2]|0;if((e|0)!=463){k=e;return k|0}if((c[j>>2]|0)==372711428){k=731;return k|0}if((c[i>>2]|0)==372711428){k=732;return k|0}if((a[j+9>>0]|0)!=4){k=(h|0)==4;k=k?727:463;return k|0}if((a[i+9>>0]|0)!=4){k=(h|0)==4;k=k?727:463;return k|0}if((c[j+12>>2]|0)!=(c[i+12>>2]|0)){k=(h|0)==4;k=k?727:463;return k|0}if((c[j+16>>2]|0)!=(c[i+16>>2]|0)){k=(h|0)==4;k=k?727:463;return k|0}if((c[j+20>>2]|0)!=(c[i+20>>2]|0)){k=(h|0)==4;k=k?727:463;return k|0}if((h|0)!=4){k=733;return k|0}k=(c[j+24>>2]|0)==(c[i+24>>2]|0)?726:727;return k|0}case 256:{if((a[j+9>>0]|0)==2)if(c[e+4>>2]|0){k=734;return k|0}if((f&-256)<<16>>16==256){k=735;return k|0}if(c[j+24>>2]|0)if(c[i+24>>2]|0){k=736;return k|0}k=737;return k|0}default:{k=0;return k|0}}return 0}function G9a(f){f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;p=c[f+24>>2]|0;g=c[f+28>>2]|0;w=c[f+16>>2]|0;q=c[f+36>>2]|0;r=c[f+40>>2]|0;s=d[r+9>>0]|0;t=c[f+44>>2]|0;v=d[t+9>>0]|0;if(!(c[t+24>>2]|0))u=0;else u=d[f+63>>0]|0;if(!g)return;h=c[f+20>>2]|0;i=c[f>>2]|0;a:while(1){g=g+-1|0;switch(p&7|0){case 0:{f=h;o=(p+7|0)/8|0;j=6;break}case 7:{o=(p+7|0)/8|0;j=17;break}case 6:{o=(p+7|0)/8|0;j=28;break}case 5:{o=(p+7|0)/8|0;j=39;break}case 4:{o=(p+7|0)/8|0;j=50;break}case 3:{o=(p+7|0)/8|0;j=61;break}case 2:{o=(p+7|0)/8|0;j=72;break}case 1:{o=(p+7|0)/8|0;j=83;break}default:{j=94;break a}}while(1)if((j|0)==6){switch(s|0){case 1:{m=d[i>>0]|0;n=c[r+32>>2]|0;k=c[r+28>>2]|0;j=a[(c[124356+((k>>>16&255)<<2)>>2]|0)+((c[r+20>>2]&m)>>>(n>>>16&255))>>0]|0;l=a[(c[124356+((k>>>8&255)<<2)>>2]|0)+((c[r+16>>2]&m)>>>(n>>>8&255))>>0]|0;n=a[(c[124356+((k&255)<<2)>>2]|0)+((m&c[r+12>>2])>>>(n&255))>>0]|0;break}case 2:{m=e[i>>1]|0;n=c[r+32>>2]|0;k=c[r+28>>2]|0;j=a[(c[124356+((k>>>16&255)<<2)>>2]|0)+((c[r+20>>2]&m)>>>(n>>>16&255))>>0]|0;l=a[(c[124356+((k>>>8&255)<<2)>>2]|0)+((c[r+16>>2]&m)>>>(n>>>8&255))>>0]|0;n=a[(c[124356+((k&255)<<2)>>2]|0)+((m&c[r+12>>2])>>>(n&255))>>0]|0;break}case 3:{n=c[r+32>>2]|0;j=a[i+(n>>>19&31)>>0]|0;l=a[i+(n>>>11&31)>>0]|0;n=a[i+(n>>>3&31)>>0]|0;break}case 4:{m=c[i>>2]|0;n=c[r+32>>2]|0;k=c[r+28>>2]|0;j=a[(c[124356+((k>>>16&255)<<2)>>2]|0)+((c[r+20>>2]&m)>>>(n>>>16&255))>>0]|0;l=a[(c[124356+((k>>>8&255)<<2)>>2]|0)+((c[r+16>>2]&m)>>>(n>>>8&255))>>0]|0;n=a[(c[124356+((k&255)<<2)>>2]|0)+((c[r+12>>2]&m)>>>(n&255))>>0]|0;break}default:{j=0;l=0;n=0}}m=n&255;k=l&255;h=j&255;switch(v|0){case 1:{l=c[t+28>>2]|0;n=c[t+32>>2]|0;a[f>>0]=k>>>(l>>>8&255)<<(n>>>8&255)|m>>>(l&255)<<(n&255)|h>>>(l>>>16&255)<<(n>>>16&255)|u>>>(l>>>24)<<(n>>>24);break}case 2:{l=c[t+28>>2]|0;n=c[t+32>>2]|0;b[f>>1]=k>>>(l>>>8&255)<<(n>>>8&255)|m>>>(l&255)<<(n&255)|h>>>(l>>>16&255)<<(n>>>16&255)|u>>>(l>>>24)<<(n>>>24);break}case 3:{a[f+((d[t+32>>0]|0)>>>3&255)>>0]=n;a[f+((d[t+33>>0]|0)>>>3&255)>>0]=l;a[f+((d[t+34>>0]|0)>>>3&255)>>0]=j;break}case 4:{l=c[t+28>>2]|0;n=c[t+32>>2]|0;c[f>>2]=k>>>(l>>>8&255)<<(n>>>8&255)|m>>>(l&255)<<(n&255)|h>>>(l>>>16&255)<<(n>>>16&255)|u>>>(l>>>24)<<(n>>>24);break}default:{}}h=f+v|0;i=i+s|0;j=17;continue}else if((j|0)==17){switch(s|0){case 1:{m=d[i>>0]|0;n=c[r+32>>2]|0;k=c[r+28>>2]|0;j=a[(c[124356+((k>>>16&255)<<2)>>2]|0)+((c[r+20>>2]&m)>>>(n>>>16&255))>>0]|0;l=a[(c[124356+((k>>>8&255)<<2)>>2]|0)+((c[r+16>>2]&m)>>>(n>>>8&255))>>0]|0;n=a[(c[124356+((k&255)<<2)>>2]|0)+((m&c[r+12>>2])>>>(n&255))>>0]|0;break}case 2:{m=e[i>>1]|0;n=c[r+32>>2]|0;k=c[r+28>>2]|0;j=a[(c[124356+((k>>>16&255)<<2)>>2]|0)+((c[r+20>>2]&m)>>>(n>>>16&255))>>0]|0;l=a[(c[124356+((k>>>8&255)<<2)>>2]|0)+((c[r+16>>2]&m)>>>(n>>>8&255))>>0]|0;n=a[(c[124356+((k&255)<<2)>>2]|0)+((m&c[r+12>>2])>>>(n&255))>>0]|0;break}case 3:{n=c[r+32>>2]|0;j=a[i+(n>>>19&31)>>0]|0;l=a[i+(n>>>11&31)>>0]|0;n=a[i+(n>>>3&31)>>0]|0;break}case 4:{m=c[i>>2]|0;n=c[r+32>>2]|0;k=c[r+28>>2]|0;j=a[(c[124356+((k>>>16&255)<<2)>>2]|0)+((c[r+20>>2]&m)>>>(n>>>16&255))>>0]|0;l=a[(c[124356+((k>>>8&255)<<2)>>2]|0)+((c[r+16>>2]&m)>>>(n>>>8&255))>>0]|0;n=a[(c[124356+((k&255)<<2)>>2]|0)+((c[r+12>>2]&m)>>>(n&255))>>0]|0;break}default:{j=0;l=0;n=0}}m=n&255;k=l&255;f=j&255;switch(v|0){case 1:{l=c[t+28>>2]|0;n=c[t+32>>2]|0;a[h>>0]=k>>>(l>>>8&255)<<(n>>>8&255)|m>>>(l&255)<<(n&255)|f>>>(l>>>16&255)<<(n>>>16&255)|u>>>(l>>>24)<<(n>>>24);break}case 2:{l=c[t+28>>2]|0;n=c[t+32>>2]|0;b[h>>1]=k>>>(l>>>8&255)<<(n>>>8&255)|m>>>(l&255)<<(n&255)|f>>>(l>>>16&255)<<(n>>>16&255)|u>>>(l>>>24)<<(n>>>24);break}case 3:{a[h+((d[t+32>>0]|0)>>>3&255)>>0]=n;a[h+((d[t+33>>0]|0)>>>3&255)>>0]=l;a[h+((d[t+34>>0]|0)>>>3&255)>>0]=j;break}case 4:{l=c[t+28>>2]|0;n=c[t+32>>2]|0;c[h>>2]=k>>>(l>>>8&255)<<(n>>>8&255)|m>>>(l&255)<<(n&255)|f>>>(l>>>16&255)<<(n>>>16&255)|u>>>(l>>>24)<<(n>>>24);break}default:{}}h=h+v|0;i=i+s|0;j=28;continue}else if((j|0)==28){switch(s|0){case 1:{m=d[i>>0]|0;n=c[r+32>>2]|0;k=c[r+28>>2]|0;j=a[(c[124356+((k>>>16&255)<<2)>>2]|0)+((c[r+20>>2]&m)>>>(n>>>16&255))>>0]|0;l=a[(c[124356+((k>>>8&255)<<2)>>2]|0)+((c[r+16>>2]&m)>>>(n>>>8&255))>>0]|0;n=a[(c[124356+((k&255)<<2)>>2]|0)+((m&c[r+12>>2])>>>(n&255))>>0]|0;break}case 2:{m=e[i>>1]|0;n=c[r+32>>2]|0;k=c[r+28>>2]|0;j=a[(c[124356+((k>>>16&255)<<2)>>2]|0)+((c[r+20>>2]&m)>>>(n>>>16&255))>>0]|0;l=a[(c[124356+((k>>>8&255)<<2)>>2]|0)+((c[r+16>>2]&m)>>>(n>>>8&255))>>0]|0;n=a[(c[124356+((k&255)<<2)>>2]|0)+((m&c[r+12>>2])>>>(n&255))>>0]|0;break}case 3:{n=c[r+32>>2]|0;j=a[i+(n>>>19&31)>>0]|0;l=a[i+(n>>>11&31)>>0]|0;n=a[i+(n>>>3&31)>>0]|0;break}case 4:{m=c[i>>2]|0;n=c[r+32>>2]|0;k=c[r+28>>2]|0;j=a[(c[124356+((k>>>16&255)<<2)>>2]|0)+((c[r+20>>2]&m)>>>(n>>>16&255))>>0]|0;l=a[(c[124356+((k>>>8&255)<<2)>>2]|0)+((c[r+16>>2]&m)>>>(n>>>8&255))>>0]|0;n=a[(c[124356+((k&255)<<2)>>2]|0)+((c[r+12>>2]&m)>>>(n&255))>>0]|0;break}default:{j=0;l=0;n=0}}m=n&255;k=l&255;f=j&255;switch(v|0){case 1:{l=c[t+28>>2]|0;n=c[t+32>>2]|0;a[h>>0]=k>>>(l>>>8&255)<<(n>>>8&255)|m>>>(l&255)<<(n&255)|f>>>(l>>>16&255)<<(n>>>16&255)|u>>>(l>>>24)<<(n>>>24);break}case 2:{l=c[t+28>>2]|0;n=c[t+32>>2]|0;b[h>>1]=k>>>(l>>>8&255)<<(n>>>8&255)|m>>>(l&255)<<(n&255)|f>>>(l>>>16&255)<<(n>>>16&255)|u>>>(l>>>24)<<(n>>>24);break}case 3:{a[h+((d[t+32>>0]|0)>>>3&255)>>0]=n;a[h+((d[t+33>>0]|0)>>>3&255)>>0]=l;a[h+((d[t+34>>0]|0)>>>3&255)>>0]=j;break}case 4:{l=c[t+28>>2]|0;n=c[t+32>>2]|0;c[h>>2]=k>>>(l>>>8&255)<<(n>>>8&255)|m>>>(l&255)<<(n&255)|f>>>(l>>>16&255)<<(n>>>16&255)|u>>>(l>>>24)<<(n>>>24);break}default:{}}h=h+v|0;i=i+s|0;j=39;continue}else if((j|0)==39){switch(s|0){case 1:{m=d[i>>0]|0;n=c[r+32>>2]|0;k=c[r+28>>2]|0;j=a[(c[124356+((k>>>16&255)<<2)>>2]|0)+((c[r+20>>2]&m)>>>(n>>>16&255))>>0]|0;l=a[(c[124356+((k>>>8&255)<<2)>>2]|0)+((c[r+16>>2]&m)>>>(n>>>8&255))>>0]|0;n=a[(c[124356+((k&255)<<2)>>2]|0)+((m&c[r+12>>2])>>>(n&255))>>0]|0;break}case 2:{m=e[i>>1]|0;n=c[r+32>>2]|0;k=c[r+28>>2]|0;j=a[(c[124356+((k>>>16&255)<<2)>>2]|0)+((c[r+20>>2]&m)>>>(n>>>16&255))>>0]|0;l=a[(c[124356+((k>>>8&255)<<2)>>2]|0)+((c[r+16>>2]&m)>>>(n>>>8&255))>>0]|0;n=a[(c[124356+((k&255)<<2)>>2]|0)+((m&c[r+12>>2])>>>(n&255))>>0]|0;break}case 3:{n=c[r+32>>2]|0;j=a[i+(n>>>19&31)>>0]|0;l=a[i+(n>>>11&31)>>0]|0;n=a[i+(n>>>3&31)>>0]|0;break}case 4:{m=c[i>>2]|0;n=c[r+32>>2]|0;k=c[r+28>>2]|0;j=a[(c[124356+((k>>>16&255)<<2)>>2]|0)+((c[r+20>>2]&m)>>>(n>>>16&255))>>0]|0;l=a[(c[124356+((k>>>8&255)<<2)>>2]|0)+((c[r+16>>2]&m)>>>(n>>>8&255))>>0]|0;n=a[(c[124356+((k&255)<<2)>>2]|0)+((c[r+12>>2]&m)>>>(n&255))>>0]|0;break}default:{j=0;l=0;n=0}}f=j&255;k=l&255;m=n&255;switch(v|0){case 1:{l=c[t+28>>2]|0;n=c[t+32>>2]|0;a[h>>0]=k>>>(l>>>8&255)<<(n>>>8&255)|m>>>(l&255)<<(n&255)|f>>>(l>>>16&255)<<(n>>>16&255)|u>>>(l>>>24)<<(n>>>24);break}case 2:{l=c[t+28>>2]|0;n=c[t+32>>2]|0;b[h>>1]=k>>>(l>>>8&255)<<(n>>>8&255)|m>>>(l&255)<<(n&255)|f>>>(l>>>16&255)<<(n>>>16&255)|u>>>(l>>>24)<<(n>>>24);break}case 3:{a[h+((d[t+32>>0]|0)>>>3&255)>>0]=n;a[h+((d[t+33>>0]|0)>>>3&255)>>0]=l;a[h+((d[t+34>>0]|0)>>>3&255)>>0]=j;break}case 4:{l=c[t+28>>2]|0;n=c[t+32>>2]|0;c[h>>2]=k>>>(l>>>8&255)<<(n>>>8&255)|m>>>(l&255)<<(n&255)|f>>>(l>>>16&255)<<(n>>>16&255)|u>>>(l>>>24)<<(n>>>24);break}default:{}}h=h+v|0;i=i+s|0;j=50;continue}else if((j|0)==50){switch(s|0){case 1:{m=d[i>>0]|0;n=c[r+32>>2]|0;k=c[r+28>>2]|0;j=a[(c[124356+((k>>>16&255)<<2)>>2]|0)+((c[r+20>>2]&m)>>>(n>>>16&255))>>0]|0;l=a[(c[124356+((k>>>8&255)<<2)>>2]|0)+((c[r+16>>2]&m)>>>(n>>>8&255))>>0]|0;n=a[(c[124356+((k&255)<<2)>>2]|0)+((m&c[r+12>>2])>>>(n&255))>>0]|0;break}case 2:{m=e[i>>1]|0;n=c[r+32>>2]|0;k=c[r+28>>2]|0;j=a[(c[124356+((k>>>16&255)<<2)>>2]|0)+((c[r+20>>2]&m)>>>(n>>>16&255))>>0]|0;l=a[(c[124356+((k>>>8&255)<<2)>>2]|0)+((c[r+16>>2]&m)>>>(n>>>8&255))>>0]|0;n=a[(c[124356+((k&255)<<2)>>2]|0)+((m&c[r+12>>2])>>>(n&255))>>0]|0;break}case 3:{n=c[r+32>>2]|0;j=a[i+(n>>>19&31)>>0]|0;l=a[i+(n>>>11&31)>>0]|0;n=a[i+(n>>>3&31)>>0]|0;break}case 4:{m=c[i>>2]|0;n=c[r+32>>2]|0;k=c[r+28>>2]|0;j=a[(c[124356+((k>>>16&255)<<2)>>2]|0)+((c[r+20>>2]&m)>>>(n>>>16&255))>>0]|0;l=a[(c[124356+((k>>>8&255)<<2)>>2]|0)+((c[r+16>>2]&m)>>>(n>>>8&255))>>0]|0;n=a[(c[124356+((k&255)<<2)>>2]|0)+((c[r+12>>2]&m)>>>(n&255))>>0]|0;break}default:{j=0;l=0;n=0}}f=j&255;k=l&255;m=n&255;switch(v|0){case 1:{l=c[t+28>>2]|0;n=c[t+32>>2]|0;a[h>>0]=k>>>(l>>>8&255)<<(n>>>8&255)|m>>>(l&255)<<(n&255)|f>>>(l>>>16&255)<<(n>>>16&255)|u>>>(l>>>24)<<(n>>>24);break}case 2:{l=c[t+28>>2]|0;n=c[t+32>>2]|0;b[h>>1]=k>>>(l>>>8&255)<<(n>>>8&255)|m>>>(l&255)<<(n&255)|f>>>(l>>>16&255)<<(n>>>16&255)|u>>>(l>>>24)<<(n>>>24);break}case 3:{a[h+((d[t+32>>0]|0)>>>3&255)>>0]=n;a[h+((d[t+33>>0]|0)>>>3&255)>>0]=l;a[h+((d[t+34>>0]|0)>>>3&255)>>0]=j;break}case 4:{l=c[t+28>>2]|0;n=c[t+32>>2]|0;c[h>>2]=k>>>(l>>>8&255)<<(n>>>8&255)|m>>>(l&255)<<(n&255)|f>>>(l>>>16&255)<<(n>>>16&255)|u>>>(l>>>24)<<(n>>>24);break}default:{}}h=h+v|0;i=i+s|0;j=61;continue}else if((j|0)==61){switch(s|0){case 1:{m=d[i>>0]|0;n=c[r+32>>2]|0;k=c[r+28>>2]|0;j=a[(c[124356+((k>>>16&255)<<2)>>2]|0)+((c[r+20>>2]&m)>>>(n>>>16&255))>>0]|0;l=a[(c[124356+((k>>>8&255)<<2)>>2]|0)+((c[r+16>>2]&m)>>>(n>>>8&255))>>0]|0;n=a[(c[124356+((k&255)<<2)>>2]|0)+((m&c[r+12>>2])>>>(n&255))>>0]|0;break}case 2:{m=e[i>>1]|0;n=c[r+32>>2]|0;k=c[r+28>>2]|0;j=a[(c[124356+((k>>>16&255)<<2)>>2]|0)+((c[r+20>>2]&m)>>>(n>>>16&255))>>0]|0;l=a[(c[124356+((k>>>8&255)<<2)>>2]|0)+((c[r+16>>2]&m)>>>(n>>>8&255))>>0]|0;n=a[(c[124356+((k&255)<<2)>>2]|0)+((m&c[r+12>>2])>>>(n&255))>>0]|0;break}case 3:{n=c[r+32>>2]|0;j=a[i+(n>>>19&31)>>0]|0;l=a[i+(n>>>11&31)>>0]|0;n=a[i+(n>>>3&31)>>0]|0;break}case 4:{m=c[i>>2]|0;n=c[r+32>>2]|0;k=c[r+28>>2]|0;j=a[(c[124356+((k>>>16&255)<<2)>>2]|0)+((c[r+20>>2]&m)>>>(n>>>16&255))>>0]|0;l=a[(c[124356+((k>>>8&255)<<2)>>2]|0)+((c[r+16>>2]&m)>>>(n>>>8&255))>>0]|0;n=a[(c[124356+((k&255)<<2)>>2]|0)+((c[r+12>>2]&m)>>>(n&255))>>0]|0;break}default:{j=0;l=0;n=0}}f=j&255;k=l&255;m=n&255;switch(v|0){case 1:{l=c[t+28>>2]|0;n=c[t+32>>2]|0;a[h>>0]=k>>>(l>>>8&255)<<(n>>>8&255)|m>>>(l&255)<<(n&255)|f>>>(l>>>16&255)<<(n>>>16&255)|u>>>(l>>>24)<<(n>>>24);break}case 2:{l=c[t+28>>2]|0;n=c[t+32>>2]|0;b[h>>1]=k>>>(l>>>8&255)<<(n>>>8&255)|m>>>(l&255)<<(n&255)|f>>>(l>>>16&255)<<(n>>>16&255)|u>>>(l>>>24)<<(n>>>24);break}case 3:{a[h+((d[t+32>>0]|0)>>>3&255)>>0]=n;a[h+((d[t+33>>0]|0)>>>3&255)>>0]=l;a[h+((d[t+34>>0]|0)>>>3&255)>>0]=j;break}case 4:{l=c[t+28>>2]|0;n=c[t+32>>2]|0;c[h>>2]=k>>>(l>>>8&255)<<(n>>>8&255)|m>>>(l&255)<<(n&255)|f>>>(l>>>16&255)<<(n>>>16&255)|u>>>(l>>>24)<<(n>>>24);break}default:{}}h=h+v|0;i=i+s|0;j=72;continue}else if((j|0)==72){switch(s|0){case 1:{m=d[i>>0]|0;n=c[r+32>>2]|0;k=c[r+28>>2]|0;j=a[(c[124356+((k>>>16&255)<<2)>>2]|0)+((c[r+20>>2]&m)>>>(n>>>16&255))>>0]|0;l=a[(c[124356+((k>>>8&255)<<2)>>2]|0)+((c[r+16>>2]&m)>>>(n>>>8&255))>>0]|0;n=a[(c[124356+((k&255)<<2)>>2]|0)+((m&c[r+12>>2])>>>(n&255))>>0]|0;break}case 2:{m=e[i>>1]|0;n=c[r+32>>2]|0;k=c[r+28>>2]|0;j=a[(c[124356+((k>>>16&255)<<2)>>2]|0)+((c[r+20>>2]&m)>>>(n>>>16&255))>>0]|0;l=a[(c[124356+((k>>>8&255)<<2)>>2]|0)+((c[r+16>>2]&m)>>>(n>>>8&255))>>0]|0;n=a[(c[124356+((k&255)<<2)>>2]|0)+((m&c[r+12>>2])>>>(n&255))>>0]|0;break}case 3:{n=c[r+32>>2]|0;j=a[i+(n>>>19&31)>>0]|0;l=a[i+(n>>>11&31)>>0]|0;n=a[i+(n>>>3&31)>>0]|0;break}case 4:{m=c[i>>2]|0;n=c[r+32>>2]|0;k=c[r+28>>2]|0;j=a[(c[124356+((k>>>16&255)<<2)>>2]|0)+((c[r+20>>2]&m)>>>(n>>>16&255))>>0]|0;l=a[(c[124356+((k>>>8&255)<<2)>>2]|0)+((c[r+16>>2]&m)>>>(n>>>8&255))>>0]|0;n=a[(c[124356+((k&255)<<2)>>2]|0)+((c[r+12>>2]&m)>>>(n&255))>>0]|0;break}default:{j=0;l=0;n=0}}f=j&255;k=l&255;m=n&255;switch(v|0){case 1:{l=c[t+28>>2]|0;n=c[t+32>>2]|0;a[h>>0]=k>>>(l>>>8&255)<<(n>>>8&255)|m>>>(l&255)<<(n&255)|f>>>(l>>>16&255)<<(n>>>16&255)|u>>>(l>>>24)<<(n>>>24);break}case 2:{l=c[t+28>>2]|0;n=c[t+32>>2]|0;b[h>>1]=k>>>(l>>>8&255)<<(n>>>8&255)|m>>>(l&255)<<(n&255)|f>>>(l>>>16&255)<<(n>>>16&255)|u>>>(l>>>24)<<(n>>>24);break}case 3:{a[h+((d[t+32>>0]|0)>>>3&255)>>0]=n;a[h+((d[t+33>>0]|0)>>>3&255)>>0]=l;a[h+((d[t+34>>0]|0)>>>3&255)>>0]=j;break}case 4:{l=c[t+28>>2]|0;n=c[t+32>>2]|0;c[h>>2]=k>>>(l>>>8&255)<<(n>>>8&255)|m>>>(l&255)<<(n&255)|f>>>(l>>>16&255)<<(n>>>16&255)|u>>>(l>>>24)<<(n>>>24);break}default:{}}h=h+v|0;i=i+s|0;j=83;continue}else if((j|0)==83){switch(s|0){case 1:{m=d[i>>0]|0;n=c[r+32>>2]|0;k=c[r+28>>2]|0;j=a[(c[124356+((k>>>16&255)<<2)>>2]|0)+((c[r+20>>2]&m)>>>(n>>>16&255))>>0]|0;l=a[(c[124356+((k>>>8&255)<<2)>>2]|0)+((c[r+16>>2]&m)>>>(n>>>8&255))>>0]|0;n=a[(c[124356+((k&255)<<2)>>2]|0)+((m&c[r+12>>2])>>>(n&255))>>0]|0;break}case 2:{m=e[i>>1]|0;n=c[r+32>>2]|0;k=c[r+28>>2]|0;j=a[(c[124356+((k>>>16&255)<<2)>>2]|0)+((c[r+20>>2]&m)>>>(n>>>16&255))>>0]|0;l=a[(c[124356+((k>>>8&255)<<2)>>2]|0)+((c[r+16>>2]&m)>>>(n>>>8&255))>>0]|0;n=a[(c[124356+((k&255)<<2)>>2]|0)+((m&c[r+12>>2])>>>(n&255))>>0]|0;break}case 3:{n=c[r+32>>2]|0;j=a[i+(n>>>19&31)>>0]|0;l=a[i+(n>>>11&31)>>0]|0;n=a[i+(n>>>3&31)>>0]|0;break}case 4:{m=c[i>>2]|0;n=c[r+32>>2]|0;k=c[r+28>>2]|0;j=a[(c[124356+((k>>>16&255)<<2)>>2]|0)+((c[r+20>>2]&m)>>>(n>>>16&255))>>0]|0;l=a[(c[124356+((k>>>8&255)<<2)>>2]|0)+((c[r+16>>2]&m)>>>(n>>>8&255))>>0]|0;n=a[(c[124356+((k&255)<<2)>>2]|0)+((c[r+12>>2]&m)>>>(n&255))>>0]|0;break}default:{j=0;l=0;n=0}}f=j&255;k=l&255;m=n&255;switch(v|0){case 1:{l=c[t+28>>2]|0;n=c[t+32>>2]|0;a[h>>0]=k>>>(l>>>8&255)<<(n>>>8&255)|m>>>(l&255)<<(n&255)|f>>>(l>>>16&255)<<(n>>>16&255)|u>>>(l>>>24)<<(n>>>24);break}case 2:{l=c[t+28>>2]|0;n=c[t+32>>2]|0;b[h>>1]=k>>>(l>>>8&255)<<(n>>>8&255)|m>>>(l&255)<<(n&255)|f>>>(l>>>16&255)<<(n>>>16&255)|u>>>(l>>>24)<<(n>>>24);break}case 3:{a[h+((d[t+32>>0]|0)>>>3&255)>>0]=n;a[h+((d[t+33>>0]|0)>>>3&255)>>0]=l;a[h+((d[t+34>>0]|0)>>>3&255)>>0]=j;break}case 4:{l=c[t+28>>2]|0;n=c[t+32>>2]|0;c[h>>2]=k>>>(l>>>8&255)<<(n>>>8&255)|m>>>(l&255)<<(n&255)|f>>>(l>>>16&255)<<(n>>>16&255)|u>>>(l>>>24)<<(n>>>24);break}default:{}}f=h+v|0;i=i+s|0;if((o|0)>1){o=o+-1|0;j=6;continue}else break}if(!g){j=96;break}else{h=f+q|0;i=i+w|0}}if((j|0)!=94)if((j|0)==96)return}function H9a(a){a=a|0;I9a(a,125368);return}function I9a(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;j=c[a+24>>2]|0;e=c[a+28>>2]|0;k=c[a+16>>2]|0;l=(c[a+36>>2]|0)/4|0;if(!e)return;f=c[a+20>>2]|0;a=c[a>>2]|0;a:while(1){e=e+-1|0;switch(j&7|0){case 0:{g=(j+7|0)/8|0;i=4;break}case 7:{g=(j+7|0)/8|0;i=5;break}case 6:{g=(j+7|0)/8|0;i=6;break}case 5:{g=(j+7|0)/8|0;i=7;break}case 4:{g=(j+7|0)/8|0;i=8;break}case 3:{g=(j+7|0)/8|0;i=9;break}case 2:{g=(j+7|0)/8|0;i=10;break}case 1:{h=f;g=(j+7|0)/8|0;i=11;break}default:{i=12;break a}}while(1)if((i|0)==4){c[f>>2]=(c[b+(((d[a+1>>0]|0)<<1|1)<<2)>>2]|0)+(c[b+((d[a>>0]|0)<<1<<2)>>2]|0);f=f+4|0;a=a+2|0;i=5;continue}else if((i|0)==5){c[f>>2]=(c[b+(((d[a+1>>0]|0)<<1|1)<<2)>>2]|0)+(c[b+((d[a>>0]|0)<<1<<2)>>2]|0);f=f+4|0;a=a+2|0;i=6;continue}else if((i|0)==6){c[f>>2]=(c[b+(((d[a+1>>0]|0)<<1|1)<<2)>>2]|0)+(c[b+((d[a>>0]|0)<<1<<2)>>2]|0);f=f+4|0;a=a+2|0;i=7;continue}else if((i|0)==7){c[f>>2]=(c[b+(((d[a+1>>0]|0)<<1|1)<<2)>>2]|0)+(c[b+((d[a>>0]|0)<<1<<2)>>2]|0);f=f+4|0;a=a+2|0;i=8;continue}else if((i|0)==8){c[f>>2]=(c[b+(((d[a+1>>0]|0)<<1|1)<<2)>>2]|0)+(c[b+((d[a>>0]|0)<<1<<2)>>2]|0);f=f+4|0;a=a+2|0;i=9;continue}else if((i|0)==9){c[f>>2]=(c[b+(((d[a+1>>0]|0)<<1|1)<<2)>>2]|0)+(c[b+((d[a>>0]|0)<<1<<2)>>2]|0);f=f+4|0;a=a+2|0;i=10;continue}else if((i|0)==10){c[f>>2]=(c[b+(((d[a+1>>0]|0)<<1|1)<<2)>>2]|0)+(c[b+((d[a>>0]|0)<<1<<2)>>2]|0);h=f+4|0;a=a+2|0;i=11;continue}else if((i|0)==11){f=h+4|0;c[h>>2]=(c[b+(((d[a+1>>0]|0)<<1|1)<<2)>>2]|0)+(c[b+((d[a>>0]|0)<<1<<2)>>2]|0);a=a+2|0;if((g|0)>1){g=g+-1|0;i=4;continue}else break}if(!e){i=14;break}else{f=f+(l<<2)|0;a=a+k|0}}if((i|0)!=12)if((i|0)==14)return}function J9a(a){a=a|0;I9a(a,127416);return}function K9a(a){a=a|0;I9a(a,129464);return}function L9a(a){a=a|0;I9a(a,131512);return}function M9a(a){a=a|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=c[a+24>>2]|0;d=c[a+28>>2]|0;i=(c[a+16>>2]|0)/4|0;j=(c[a+36>>2]|0)/2|0;if(!d)return;e=c[a+20>>2]|0;a=c[a>>2]|0;a:while(1){d=d+-1|0;switch(h&7|0){case 0:{f=(h+7|0)/8|0;g=4;break}case 7:{f=(h+7|0)/8|0;g=5;break}case 6:{f=(h+7|0)/8|0;g=6;break}case 5:{f=(h+7|0)/8|0;g=7;break}case 4:{f=(h+7|0)/8|0;g=8;break}case 3:{f=(h+7|0)/8|0;g=9;break}case 2:{f=(h+7|0)/8|0;g=10;break}case 1:{f=(h+7|0)/8|0;g=11;break}default:{g=12;break a}}while(1)if((g|0)==4){k=c[a>>2]|0;b[e>>1]=k>>>8&63488|k>>>5&2016|k>>>3&31;e=e+2|0;a=a+4|0;g=5;continue}else if((g|0)==5){k=c[a>>2]|0;b[e>>1]=k>>>8&63488|k>>>5&2016|k>>>3&31;e=e+2|0;a=a+4|0;g=6;continue}else if((g|0)==6){k=c[a>>2]|0;b[e>>1]=k>>>8&63488|k>>>5&2016|k>>>3&31;e=e+2|0;a=a+4|0;g=7;continue}else if((g|0)==7){k=c[a>>2]|0;b[e>>1]=k>>>8&63488|k>>>5&2016|k>>>3&31;e=e+2|0;a=a+4|0;g=8;continue}else if((g|0)==8){k=c[a>>2]|0;b[e>>1]=k>>>8&63488|k>>>5&2016|k>>>3&31;e=e+2|0;a=a+4|0;g=9;continue}else if((g|0)==9){k=c[a>>2]|0;b[e>>1]=k>>>8&63488|k>>>5&2016|k>>>3&31;e=e+2|0;a=a+4|0;g=10;continue}else if((g|0)==10){k=c[a>>2]|0;b[e>>1]=k>>>8&63488|k>>>5&2016|k>>>3&31;e=e+2|0;a=a+4|0;g=11;continue}else if((g|0)==11){k=c[a>>2]|0;b[e>>1]=k>>>8&63488|k>>>5&2016|k>>>3&31;a=a+4|0;e=e+2|0;if((f|0)>1){f=f+-1|0;g=4;continue}else break}if(!d){g=14;break}else{e=e+(j<<1)|0;a=a+(i<<2)|0}}if((g|0)!=12)if((g|0)==14)return}function N9a(a){a=a|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=c[a+24>>2]|0;d=c[a+28>>2]|0;i=(c[a+16>>2]|0)/4|0;j=(c[a+36>>2]|0)/2|0;if(!d)return;e=c[a+20>>2]|0;a=c[a>>2]|0;a:while(1){d=d+-1|0;switch(h&7|0){case 0:{f=(h+7|0)/8|0;g=4;break}case 7:{f=(h+7|0)/8|0;g=5;break}case 6:{f=(h+7|0)/8|0;g=6;break}case 5:{f=(h+7|0)/8|0;g=7;break}case 4:{f=(h+7|0)/8|0;g=8;break}case 3:{f=(h+7|0)/8|0;g=9;break}case 2:{f=(h+7|0)/8|0;g=10;break}case 1:{f=(h+7|0)/8|0;g=11;break}default:{g=12;break a}}while(1)if((g|0)==4){k=c[a>>2]|0;b[e>>1]=k>>>9&31744|k>>>6&992|k>>>3&31;e=e+2|0;a=a+4|0;g=5;continue}else if((g|0)==5){k=c[a>>2]|0;b[e>>1]=k>>>9&31744|k>>>6&992|k>>>3&31;e=e+2|0;a=a+4|0;g=6;continue}else if((g|0)==6){k=c[a>>2]|0;b[e>>1]=k>>>9&31744|k>>>6&992|k>>>3&31;e=e+2|0;a=a+4|0;g=7;continue}else if((g|0)==7){k=c[a>>2]|0;b[e>>1]=k>>>9&31744|k>>>6&992|k>>>3&31;e=e+2|0;a=a+4|0;g=8;continue}else if((g|0)==8){k=c[a>>2]|0;b[e>>1]=k>>>9&31744|k>>>6&992|k>>>3&31;e=e+2|0;a=a+4|0;g=9;continue}else if((g|0)==9){k=c[a>>2]|0;b[e>>1]=k>>>9&31744|k>>>6&992|k>>>3&31;e=e+2|0;a=a+4|0;g=10;continue}else if((g|0)==10){k=c[a>>2]|0;b[e>>1]=k>>>9&31744|k>>>6&992|k>>>3&31;e=e+2|0;a=a+4|0;g=11;continue}else if((g|0)==11){k=c[a>>2]|0;b[e>>1]=k>>>9&31744|k>>>6&992|k>>>3&31;a=a+4|0;e=e+2|0;if((f|0)>1){f=f+-1|0;g=4;continue}else break}if(!d){g=14;break}else{e=e+(j<<1)|0;a=a+(i<<2)|0}}if((g|0)!=12)if((g|0)==14)return}function O9a(){var a=0,b=0;b=i;i=i+16|0;a=c[33430]|0;if((a|0)==-1){c[33430]=0;c[b>>2]=0;a=c[33430]|0;if(c[b>>2]|0){c[33430]=a|2;a=a|2}}i=b;return a>>>2&1|0}function P9a(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=c[a+24>>2]|0;b=c[a+28>>2]|0;e=c[a>>2]|0;l=c[a+16>>2]|0;d=c[a+20>>2]|0;j=c[a+36>>2]|0;if(!b)return;k=(i+7|0)/8|0;switch(i&7|0){case 0:{f=b+-1|0;a=d;b=e;while(1){d=k;while(1){c[a>>2]=c[b>>2];c[a+4>>2]=c[b+4>>2];c[a+8>>2]=c[b+8>>2];c[a+12>>2]=c[b+12>>2];c[a+16>>2]=c[b+16>>2];c[a+20>>2]=c[b+20>>2];c[a+24>>2]=c[b+24>>2];c[a+28>>2]=c[b+28>>2];a=a+32|0;b=b+32|0;if((d|0)>1)d=d+-1|0;else break}if(!f)break;else{f=f+-1|0;a=a+j|0;b=b+l|0}}return}case 7:{g=b+-1|0;while(1){c[d>>2]=c[e>>2];c[d+4>>2]=c[e+4>>2];c[d+8>>2]=c[e+8>>2];c[d+12>>2]=c[e+12>>2];c[d+16>>2]=c[e+16>>2];c[d+20>>2]=c[e+20>>2];c[d+24>>2]=c[e+24>>2];b=d+28|0;a=e+28|0;if((i+7|0)>15){f=k;while(1){f=f+-1|0;c[b>>2]=c[a>>2];b=d;d=d+32|0;a=e;e=e+32|0;c[d>>2]=c[e>>2];c[b+36>>2]=c[a+36>>2];c[b+40>>2]=c[a+40>>2];c[b+44>>2]=c[a+44>>2];c[b+48>>2]=c[a+48>>2];c[b+52>>2]=c[a+52>>2];c[b+56>>2]=c[a+56>>2];if((f|0)<=1){b=b+60|0;a=a+60|0;break}else{a=a+60|0;b=b+60|0}}}if(!g)break;else{g=g+-1|0;d=b+j|0;e=a+l|0}}return}default:{h=b+-1|0;a=d;b=e;a:while(1){switch(i&7|0){case 1:{f=k;e=b;g=17;break}case 2:{d=k;g=16;break}case 6:{d=k;g=12;break}case 5:{d=k;g=13;break}case 4:{d=k;g=14;break}case 3:{d=k;g=15;break}default:{g=18;break a}}while(1)if((g|0)==12){c[a>>2]=c[b>>2];a=a+4|0;b=b+4|0;g=13;continue}else if((g|0)==13){c[a>>2]=c[b>>2];a=a+4|0;b=b+4|0;g=14;continue}else if((g|0)==14){c[a>>2]=c[b>>2];a=a+4|0;b=b+4|0;g=15;continue}else if((g|0)==15){c[a>>2]=c[b>>2];a=a+4|0;b=b+4|0;g=16;continue}else if((g|0)==16){c[a>>2]=c[b>>2];a=a+4|0;f=d;e=b+4|0;g=17;continue}else if((g|0)==17){c[a>>2]=c[e>>2];b=a+4|0;d=e+4|0;if((f|0)<=1)break;c[b>>2]=c[d>>2];c[a+8>>2]=c[e+8>>2];a=a+12|0;d=f+-1|0;b=e+12|0;g=12;continue}if(!h){g=20;break}else{h=h+-1|0;a=b+j|0;b=d+l|0}}if((g|0)!=18)if((g|0)==20)return}}}function Q9a(f){f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;s=c[f+24>>2]|0;g=c[f+28>>2]|0;y=c[f+16>>2]|0;z=c[f+36>>2]|0;A=c[f+40>>2]|0;t=d[A+9>>0]|0;u=c[f+44>>2]|0;v=d[u+9>>0]|0;if(!g)return;w=_(s,t)|0;x=_(s,v)|0;h=c[f+20>>2]|0;i=c[f>>2]|0;while(1){g=g+-1|0;if(!s)f=i;else{f=i+w|0;q=s;r=h;while(1){switch(t|0){case 1:{m=d[i>>0]|0;p=c[A+32>>2]|0;l=c[A+28>>2]|0;j=a[(c[124356+(l>>>24<<2)>>2]|0)+((c[A+24>>2]&m)>>>(p>>>24))>>0]|0;n=a[(c[124356+((l>>>16&255)<<2)>>2]|0)+((c[A+20>>2]&m)>>>(p>>>16&255))>>0]|0;o=a[(c[124356+((l>>>8&255)<<2)>>2]|0)+((c[A+16>>2]&m)>>>(p>>>8&255))>>0]|0;p=a[(c[124356+((l&255)<<2)>>2]|0)+((m&c[A+12>>2])>>>(p&255))>>0]|0;break}case 2:{m=e[i>>1]|0;p=c[A+32>>2]|0;l=c[A+28>>2]|0;j=a[(c[124356+(l>>>24<<2)>>2]|0)+((c[A+24>>2]&m)>>>(p>>>24))>>0]|0;n=a[(c[124356+((l>>>16&255)<<2)>>2]|0)+((c[A+20>>2]&m)>>>(p>>>16&255))>>0]|0;o=a[(c[124356+((l>>>8&255)<<2)>>2]|0)+((c[A+16>>2]&m)>>>(p>>>8&255))>>0]|0;p=a[(c[124356+((l&255)<<2)>>2]|0)+((m&c[A+12>>2])>>>(p&255))>>0]|0;break}case 3:{p=c[A+32>>2]|0;j=-1;n=a[i+(p>>>19&31)>>0]|0;o=a[i+(p>>>11&31)>>0]|0;p=a[i+(p>>>3&31)>>0]|0;break}case 4:{m=c[i>>2]|0;p=c[A+32>>2]|0;l=c[A+28>>2]|0;j=a[(c[124356+(l>>>24<<2)>>2]|0)+((c[A+24>>2]&m)>>>(p>>>24))>>0]|0;n=a[(c[124356+((l>>>16&255)<<2)>>2]|0)+((c[A+20>>2]&m)>>>(p>>>16&255))>>0]|0;o=a[(c[124356+((l>>>8&255)<<2)>>2]|0)+((c[A+16>>2]&m)>>>(p>>>8&255))>>0]|0;p=a[(c[124356+((l&255)<<2)>>2]|0)+((c[A+12>>2]&m)>>>(p&255))>>0]|0;break}default:{j=0;n=0;o=0;p=0}}j=j&255;k=n&255;l=o&255;m=p&255;switch(v|0){case 1:{o=c[u+28>>2]|0;p=c[u+32>>2]|0;a[r>>0]=l>>>(o>>>8&255)<<(p>>>8&255)|m>>>(o&255)<<(p&255)|k>>>(o>>>16&255)<<(p>>>16&255)|j>>>(o>>>24)<<(p>>>24);break}case 2:{o=c[u+28>>2]|0;p=c[u+32>>2]|0;b[r>>1]=l>>>(o>>>8&255)<<(p>>>8&255)|m>>>(o&255)<<(p&255)|k>>>(o>>>16&255)<<(p>>>16&255)|j>>>(o>>>24)<<(p>>>24);break}case 3:{a[r+((d[u+32>>0]|0)>>>3&255)>>0]=p;a[r+((d[u+33>>0]|0)>>>3&255)>>0]=o;a[r+((d[u+34>>0]|0)>>>3&255)>>0]=n;break}case 4:{o=c[u+28>>2]|0;p=c[u+32>>2]|0;c[r>>2]=l>>>(o>>>8&255)<<(p>>>8&255)|m>>>(o&255)<<(p&255)|k>>>(o>>>16&255)<<(p>>>16&255)|j>>>(o>>>24)<<(p>>>24);break}default:{}}q=q+-1|0;if(!q)break;else{r=r+v|0;i=i+t|0}}h=h+x|0}if(!g)break;else{h=h+z|0;i=f+y|0}}return}function R9a(f){f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;m=c[f+24>>2]|0;g=c[f+28>>2]|0;v=c[f+16>>2]|0;n=c[f+36>>2]|0;p=c[f+40>>2]|0;q=c[f+44>>2]|0;r=d[p+9>>0]|0;s=d[q+9>>0]|0;if(!(c[q+24>>2]|0))o=0;else o=d[f+63>>0]|0;t=~c[p+24>>2];u=c[f+56>>2]&t;if(!g)return;h=c[f+20>>2]|0;i=c[f>>2]|0;a:while(1){g=g+-1|0;switch(m&7|0){case 0:{f=h;l=(m+7|0)/8|0;j=6;break}case 7:{l=(m+7|0)/8|0;j=18;break}case 6:{l=(m+7|0)/8|0;j=30;break}case 5:{l=(m+7|0)/8|0;j=42;break}case 4:{l=(m+7|0)/8|0;j=54;break}case 3:{l=(m+7|0)/8|0;j=66;break}case 2:{l=(m+7|0)/8|0;j=78;break}case 1:{l=(m+7|0)/8|0;j=90;break}default:{j=102;break a}}while(1)if((j|0)==6){switch(r|0){case 1:{h=d[i>>0]|0;break}case 2:{h=e[i>>1]|0;break}case 3:{h=(d[i+1>>0]|0)<<8|(d[i>>0]|0)|(d[i+2>>0]|0)<<16;break}case 4:{h=c[i>>2]|0;break}default:h=0}b:do if((h&t|0)!=(u|0)){w=c[p+32>>2]|0;x=c[p+28>>2]|0;j=a[(c[124356+((x&255)<<2)>>2]|0)+((c[p+12>>2]&h)>>>(w&255))>>0]|0;k=a[(c[124356+((x>>>8&255)<<2)>>2]|0)+((c[p+16>>2]&h)>>>(w>>>8&255))>>0]|0;h=a[(c[124356+((x>>>16&255)<<2)>>2]|0)+((c[p+20>>2]&h)>>>(w>>>16&255))>>0]|0;switch(s|0){case 1:{w=c[q+28>>2]|0;x=c[q+32>>2]|0;a[f>>0]=(k&255)>>>(w>>>8&255)<<(x>>>8&255)|(j&255)>>>(w&255)<<(x&255)|(h&255)>>>(w>>>16&255)<<(x>>>16&255)|o>>>(w>>>24)<<(x>>>24);break b}case 2:{w=c[q+28>>2]|0;x=c[q+32>>2]|0;b[f>>1]=(k&255)>>>(w>>>8&255)<<(x>>>8&255)|(j&255)>>>(w&255)<<(x&255)|(h&255)>>>(w>>>16&255)<<(x>>>16&255)|o>>>(w>>>24)<<(x>>>24);break b}case 3:{a[f+((d[q+32>>0]|0)>>>3&255)>>0]=j;a[f+((d[q+33>>0]|0)>>>3&255)>>0]=k;a[f+((d[q+34>>0]|0)>>>3&255)>>0]=h;break b}case 4:{w=c[q+28>>2]|0;x=c[q+32>>2]|0;c[f>>2]=(k&255)>>>(w>>>8&255)<<(x>>>8&255)|(j&255)>>>(w&255)<<(x&255)|(h&255)>>>(w>>>16&255)<<(x>>>16&255)|o>>>(w>>>24)<<(x>>>24);break b}default:break b}}while(0);h=f+s|0;i=i+r|0;j=18;continue}else if((j|0)==18){switch(r|0){case 1:{f=d[i>>0]|0;break}case 2:{f=e[i>>1]|0;break}case 3:{f=(d[i+1>>0]|0)<<8|(d[i>>0]|0)|(d[i+2>>0]|0)<<16;break}case 4:{f=c[i>>2]|0;break}default:f=0}c:do if((f&t|0)!=(u|0)){x=c[p+32>>2]|0;w=c[p+28>>2]|0;j=a[(c[124356+((w&255)<<2)>>2]|0)+((c[p+12>>2]&f)>>>(x&255))>>0]|0;k=a[(c[124356+((w>>>8&255)<<2)>>2]|0)+((c[p+16>>2]&f)>>>(x>>>8&255))>>0]|0;f=a[(c[124356+((w>>>16&255)<<2)>>2]|0)+((c[p+20>>2]&f)>>>(x>>>16&255))>>0]|0;switch(s|0){case 1:{w=c[q+28>>2]|0;x=c[q+32>>2]|0;a[h>>0]=(k&255)>>>(w>>>8&255)<<(x>>>8&255)|(j&255)>>>(w&255)<<(x&255)|(f&255)>>>(w>>>16&255)<<(x>>>16&255)|o>>>(w>>>24)<<(x>>>24);break c}case 2:{w=c[q+28>>2]|0;x=c[q+32>>2]|0;b[h>>1]=(k&255)>>>(w>>>8&255)<<(x>>>8&255)|(j&255)>>>(w&255)<<(x&255)|(f&255)>>>(w>>>16&255)<<(x>>>16&255)|o>>>(w>>>24)<<(x>>>24);break c}case 3:{a[h+((d[q+32>>0]|0)>>>3&255)>>0]=j;a[h+((d[q+33>>0]|0)>>>3&255)>>0]=k;a[h+((d[q+34>>0]|0)>>>3&255)>>0]=f;break c}case 4:{w=c[q+28>>2]|0;x=c[q+32>>2]|0;c[h>>2]=(k&255)>>>(w>>>8&255)<<(x>>>8&255)|(j&255)>>>(w&255)<<(x&255)|(f&255)>>>(w>>>16&255)<<(x>>>16&255)|o>>>(w>>>24)<<(x>>>24);break c}default:break c}}while(0);h=h+s|0;i=i+r|0;j=30;continue}else if((j|0)==30){switch(r|0){case 1:{f=d[i>>0]|0;break}case 2:{f=e[i>>1]|0;break}case 3:{f=(d[i+1>>0]|0)<<8|(d[i>>0]|0)|(d[i+2>>0]|0)<<16;break}case 4:{f=c[i>>2]|0;break}default:f=0}d:do if((f&t|0)!=(u|0)){x=c[p+32>>2]|0;w=c[p+28>>2]|0;j=a[(c[124356+((w&255)<<2)>>2]|0)+((c[p+12>>2]&f)>>>(x&255))>>0]|0;k=a[(c[124356+((w>>>8&255)<<2)>>2]|0)+((c[p+16>>2]&f)>>>(x>>>8&255))>>0]|0;f=a[(c[124356+((w>>>16&255)<<2)>>2]|0)+((c[p+20>>2]&f)>>>(x>>>16&255))>>0]|0;switch(s|0){case 1:{w=c[q+28>>2]|0;x=c[q+32>>2]|0;a[h>>0]=(k&255)>>>(w>>>8&255)<<(x>>>8&255)|(j&255)>>>(w&255)<<(x&255)|(f&255)>>>(w>>>16&255)<<(x>>>16&255)|o>>>(w>>>24)<<(x>>>24);break d}case 2:{w=c[q+28>>2]|0;x=c[q+32>>2]|0;b[h>>1]=(k&255)>>>(w>>>8&255)<<(x>>>8&255)|(j&255)>>>(w&255)<<(x&255)|(f&255)>>>(w>>>16&255)<<(x>>>16&255)|o>>>(w>>>24)<<(x>>>24);break d}case 3:{a[h+((d[q+32>>0]|0)>>>3&255)>>0]=j;a[h+((d[q+33>>0]|0)>>>3&255)>>0]=k;a[h+((d[q+34>>0]|0)>>>3&255)>>0]=f;break d}case 4:{w=c[q+28>>2]|0;x=c[q+32>>2]|0;c[h>>2]=(k&255)>>>(w>>>8&255)<<(x>>>8&255)|(j&255)>>>(w&255)<<(x&255)|(f&255)>>>(w>>>16&255)<<(x>>>16&255)|o>>>(w>>>24)<<(x>>>24);break d}default:break d}}while(0);h=h+s|0;i=i+r|0;j=42;continue}else if((j|0)==42){switch(r|0){case 1:{f=d[i>>0]|0;break}case 2:{f=e[i>>1]|0;break}case 3:{f=(d[i+1>>0]|0)<<8|(d[i>>0]|0)|(d[i+2>>0]|0)<<16;break}case 4:{f=c[i>>2]|0;break}default:f=0}e:do if((f&t|0)!=(u|0)){x=c[p+32>>2]|0;w=c[p+28>>2]|0;j=a[(c[124356+((w&255)<<2)>>2]|0)+((c[p+12>>2]&f)>>>(x&255))>>0]|0;k=a[(c[124356+((w>>>8&255)<<2)>>2]|0)+((c[p+16>>2]&f)>>>(x>>>8&255))>>0]|0;f=a[(c[124356+((w>>>16&255)<<2)>>2]|0)+((c[p+20>>2]&f)>>>(x>>>16&255))>>0]|0;switch(s|0){case 1:{w=c[q+28>>2]|0;x=c[q+32>>2]|0;a[h>>0]=(k&255)>>>(w>>>8&255)<<(x>>>8&255)|(j&255)>>>(w&255)<<(x&255)|(f&255)>>>(w>>>16&255)<<(x>>>16&255)|o>>>(w>>>24)<<(x>>>24);break e}case 2:{w=c[q+28>>2]|0;x=c[q+32>>2]|0;b[h>>1]=(k&255)>>>(w>>>8&255)<<(x>>>8&255)|(j&255)>>>(w&255)<<(x&255)|(f&255)>>>(w>>>16&255)<<(x>>>16&255)|o>>>(w>>>24)<<(x>>>24);break e}case 3:{a[h+((d[q+32>>0]|0)>>>3&255)>>0]=j;a[h+((d[q+33>>0]|0)>>>3&255)>>0]=k;a[h+((d[q+34>>0]|0)>>>3&255)>>0]=f;break e}case 4:{w=c[q+28>>2]|0;x=c[q+32>>2]|0;c[h>>2]=(k&255)>>>(w>>>8&255)<<(x>>>8&255)|(j&255)>>>(w&255)<<(x&255)|(f&255)>>>(w>>>16&255)<<(x>>>16&255)|o>>>(w>>>24)<<(x>>>24);break e}default:break e}}while(0);h=h+s|0;i=i+r|0;j=54;continue}else if((j|0)==54){switch(r|0){case 1:{f=d[i>>0]|0;break}case 2:{f=e[i>>1]|0;break}case 3:{f=(d[i+1>>0]|0)<<8|(d[i>>0]|0)|(d[i+2>>0]|0)<<16;break}case 4:{f=c[i>>2]|0;break}default:f=0}f:do if((f&t|0)!=(u|0)){x=c[p+32>>2]|0;w=c[p+28>>2]|0;j=a[(c[124356+((w&255)<<2)>>2]|0)+((c[p+12>>2]&f)>>>(x&255))>>0]|0;k=a[(c[124356+((w>>>8&255)<<2)>>2]|0)+((c[p+16>>2]&f)>>>(x>>>8&255))>>0]|0;f=a[(c[124356+((w>>>16&255)<<2)>>2]|0)+((c[p+20>>2]&f)>>>(x>>>16&255))>>0]|0;switch(s|0){case 1:{w=c[q+28>>2]|0;x=c[q+32>>2]|0;a[h>>0]=(k&255)>>>(w>>>8&255)<<(x>>>8&255)|(j&255)>>>(w&255)<<(x&255)|(f&255)>>>(w>>>16&255)<<(x>>>16&255)|o>>>(w>>>24)<<(x>>>24);break f}case 2:{w=c[q+28>>2]|0;x=c[q+32>>2]|0;b[h>>1]=(k&255)>>>(w>>>8&255)<<(x>>>8&255)|(j&255)>>>(w&255)<<(x&255)|(f&255)>>>(w>>>16&255)<<(x>>>16&255)|o>>>(w>>>24)<<(x>>>24);break f}case 3:{a[h+((d[q+32>>0]|0)>>>3&255)>>0]=j;a[h+((d[q+33>>0]|0)>>>3&255)>>0]=k;a[h+((d[q+34>>0]|0)>>>3&255)>>0]=f;break f}case 4:{w=c[q+28>>2]|0;x=c[q+32>>2]|0;c[h>>2]=(k&255)>>>(w>>>8&255)<<(x>>>8&255)|(j&255)>>>(w&255)<<(x&255)|(f&255)>>>(w>>>16&255)<<(x>>>16&255)|o>>>(w>>>24)<<(x>>>24);break f}default:break f}}while(0);h=h+s|0;i=i+r|0;j=66;continue}else if((j|0)==66){switch(r|0){case 1:{f=d[i>>0]|0;break}case 2:{f=e[i>>1]|0;break}case 3:{f=(d[i+1>>0]|0)<<8|(d[i>>0]|0)|(d[i+2>>0]|0)<<16;break}case 4:{f=c[i>>2]|0;break}default:f=0}g:do if((f&t|0)!=(u|0)){x=c[p+32>>2]|0;w=c[p+28>>2]|0;j=a[(c[124356+((w&255)<<2)>>2]|0)+((c[p+12>>2]&f)>>>(x&255))>>0]|0;k=a[(c[124356+((w>>>8&255)<<2)>>2]|0)+((c[p+16>>2]&f)>>>(x>>>8&255))>>0]|0;f=a[(c[124356+((w>>>16&255)<<2)>>2]|0)+((c[p+20>>2]&f)>>>(x>>>16&255))>>0]|0;switch(s|0){case 1:{w=c[q+28>>2]|0;x=c[q+32>>2]|0;a[h>>0]=(k&255)>>>(w>>>8&255)<<(x>>>8&255)|(j&255)>>>(w&255)<<(x&255)|(f&255)>>>(w>>>16&255)<<(x>>>16&255)|o>>>(w>>>24)<<(x>>>24);break g}case 2:{w=c[q+28>>2]|0;x=c[q+32>>2]|0;b[h>>1]=(k&255)>>>(w>>>8&255)<<(x>>>8&255)|(j&255)>>>(w&255)<<(x&255)|(f&255)>>>(w>>>16&255)<<(x>>>16&255)|o>>>(w>>>24)<<(x>>>24);break g}case 3:{a[h+((d[q+32>>0]|0)>>>3&255)>>0]=j;a[h+((d[q+33>>0]|0)>>>3&255)>>0]=k;a[h+((d[q+34>>0]|0)>>>3&255)>>0]=f;break g}case 4:{w=c[q+28>>2]|0;x=c[q+32>>2]|0;c[h>>2]=(k&255)>>>(w>>>8&255)<<(x>>>8&255)|(j&255)>>>(w&255)<<(x&255)|(f&255)>>>(w>>>16&255)<<(x>>>16&255)|o>>>(w>>>24)<<(x>>>24);break g}default:break g}}while(0);h=h+s|0;i=i+r|0;j=78;continue}else if((j|0)==78){switch(r|0){case 1:{f=d[i>>0]|0;break}case 2:{f=e[i>>1]|0;break}case 3:{f=(d[i+1>>0]|0)<<8|(d[i>>0]|0)|(d[i+2>>0]|0)<<16;break}case 4:{f=c[i>>2]|0;break}default:f=0}h:do if((f&t|0)!=(u|0)){x=c[p+32>>2]|0;w=c[p+28>>2]|0;j=a[(c[124356+((w&255)<<2)>>2]|0)+((c[p+12>>2]&f)>>>(x&255))>>0]|0;k=a[(c[124356+((w>>>8&255)<<2)>>2]|0)+((c[p+16>>2]&f)>>>(x>>>8&255))>>0]|0;f=a[(c[124356+((w>>>16&255)<<2)>>2]|0)+((c[p+20>>2]&f)>>>(x>>>16&255))>>0]|0;switch(s|0){case 1:{w=c[q+28>>2]|0;x=c[q+32>>2]|0;a[h>>0]=(k&255)>>>(w>>>8&255)<<(x>>>8&255)|(j&255)>>>(w&255)<<(x&255)|(f&255)>>>(w>>>16&255)<<(x>>>16&255)|o>>>(w>>>24)<<(x>>>24);break h}case 2:{w=c[q+28>>2]|0;x=c[q+32>>2]|0;b[h>>1]=(k&255)>>>(w>>>8&255)<<(x>>>8&255)|(j&255)>>>(w&255)<<(x&255)|(f&255)>>>(w>>>16&255)<<(x>>>16&255)|o>>>(w>>>24)<<(x>>>24);break h}case 3:{a[h+((d[q+32>>0]|0)>>>3&255)>>0]=j;a[h+((d[q+33>>0]|0)>>>3&255)>>0]=k;a[h+((d[q+34>>0]|0)>>>3&255)>>0]=f;break h}case 4:{w=c[q+28>>2]|0;x=c[q+32>>2]|0;c[h>>2]=(k&255)>>>(w>>>8&255)<<(x>>>8&255)|(j&255)>>>(w&255)<<(x&255)|(f&255)>>>(w>>>16&255)<<(x>>>16&255)|o>>>(w>>>24)<<(x>>>24);break h}default:break h}}while(0);h=h+s|0;i=i+r|0;j=90;continue}else if((j|0)==90){switch(r|0){case 1:{f=d[i>>0]|0;break}case 2:{f=e[i>>1]|0;break}case 3:{f=(d[i+1>>0]|0)<<8|(d[i>>0]|0)|(d[i+2>>0]|0)<<16;break}case 4:{f=c[i>>2]|0;break}default:f=0}i:do if((f&t|0)!=(u|0)){x=c[p+32>>2]|0;w=c[p+28>>2]|0;j=a[(c[124356+((w&255)<<2)>>2]|0)+((c[p+12>>2]&f)>>>(x&255))>>0]|0;k=a[(c[124356+((w>>>8&255)<<2)>>2]|0)+((c[p+16>>2]&f)>>>(x>>>8&255))>>0]|0;f=a[(c[124356+((w>>>16&255)<<2)>>2]|0)+((c[p+20>>2]&f)>>>(x>>>16&255))>>0]|0;switch(s|0){case 1:{w=c[q+28>>2]|0;x=c[q+32>>2]|0;a[h>>0]=(k&255)>>>(w>>>8&255)<<(x>>>8&255)|(j&255)>>>(w&255)<<(x&255)|(f&255)>>>(w>>>16&255)<<(x>>>16&255)|o>>>(w>>>24)<<(x>>>24);break i}case 2:{w=c[q+28>>2]|0;x=c[q+32>>2]|0;b[h>>1]=(k&255)>>>(w>>>8&255)<<(x>>>8&255)|(j&255)>>>(w&255)<<(x&255)|(f&255)>>>(w>>>16&255)<<(x>>>16&255)|o>>>(w>>>24)<<(x>>>24);break i}case 3:{a[h+((d[q+32>>0]|0)>>>3&255)>>0]=j;a[h+((d[q+33>>0]|0)>>>3&255)>>0]=k;a[h+((d[q+34>>0]|0)>>>3&255)>>0]=f;break i}case 4:{w=c[q+28>>2]|0;x=c[q+32>>2]|0;c[h>>2]=(k&255)>>>(w>>>8&255)<<(x>>>8&255)|(j&255)>>>(w&255)<<(x&255)|(f&255)>>>(w>>>16&255)<<(x>>>16&255)|o>>>(w>>>24)<<(x>>>24);break i}default:break i}}while(0);f=h+s|0;i=i+r|0;if((l|0)>1){l=l+-1|0;j=6;continue}else break}if(!g){j=104;break}else{h=f+n|0;i=i+v|0}}if((j|0)!=102)if((j|0)==104)return}function S9a(b){b=b|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0;fa=c[b+24>>2]|0;h=c[b+28>>2]|0;f=c[b>>2]|0;ha=c[b+16>>2]|0;g=c[b+20>>2]|0;ga=c[b+36>>2]|0;Y=c[b+48>>2]|0;da=c[b+40>>2]|0;ea=d[da+9>>0]|0;if(!Y){if(!h)return;h=h+-1|0;a:while(1){switch(fa&7|0){case 0:{Z=g;$=(fa+7|0)/8|0;ba=f;f=7;break}case 7:{p=g;w=(fa+7|0)/8|0;R=f;f=13;break}case 6:{q=g;x=(fa+7|0)/8|0;S=f;f=19;break}case 5:{r=g;y=(fa+7|0)/8|0;T=f;f=25;break}case 4:{s=g;z=(fa+7|0)/8|0;U=f;f=31;break}case 3:{t=g;A=(fa+7|0)/8|0;V=f;f=37;break}case 2:{u=g;B=(fa+7|0)/8|0;W=f;f=43;break}case 1:{v=g;C=(fa+7|0)/8|0;X=f;f=49;break}default:{f=55;break a}}while(1)if((f|0)==7){switch(ea|0){case 1:{ca=d[ba>>0]|0;g=c[da+32>>2]|0;aa=c[da+28>>2]|0;f=a[(c[124356+((aa>>>16&255)<<2)>>2]|0)+((c[da+20>>2]&ca)>>>(g>>>16&255))>>0]|0;b=a[(c[124356+((aa>>>8&255)<<2)>>2]|0)+((c[da+16>>2]&ca)>>>(g>>>8&255))>>0]|0;g=a[(c[124356+((aa&255)<<2)>>2]|0)+((ca&c[da+12>>2])>>>(g&255))>>0]|0;break}case 2:{ca=e[ba>>1]|0;g=c[da+32>>2]|0;aa=c[da+28>>2]|0;f=a[(c[124356+((aa>>>16&255)<<2)>>2]|0)+((c[da+20>>2]&ca)>>>(g>>>16&255))>>0]|0;b=a[(c[124356+((aa>>>8&255)<<2)>>2]|0)+((c[da+16>>2]&ca)>>>(g>>>8&255))>>0]|0;g=a[(c[124356+((aa&255)<<2)>>2]|0)+((ca&c[da+12>>2])>>>(g&255))>>0]|0;break}case 3:{g=c[da+32>>2]|0;f=a[ba+(g>>>19&31)>>0]|0;b=a[ba+(g>>>11&31)>>0]|0;g=a[ba+(g>>>3&31)>>0]|0;break}case 4:{ca=c[ba>>2]|0;g=c[da+32>>2]|0;aa=c[da+28>>2]|0;f=a[(c[124356+((aa>>>16&255)<<2)>>2]|0)+((c[da+20>>2]&ca)>>>(g>>>16&255))>>0]|0;b=a[(c[124356+((aa>>>8&255)<<2)>>2]|0)+((c[da+16>>2]&ca)>>>(g>>>8&255))>>0]|0;g=a[(c[124356+((aa&255)<<2)>>2]|0)+((c[da+12>>2]&ca)>>>(g&255))>>0]|0;break}default:{f=0;b=0;g=0}}a[Z>>0]=(b&255)>>>5<<2|g&224|(f&255)>>>6;p=Z+1|0;w=$;R=ba+ea|0;f=13;continue}else if((f|0)==13){switch(ea|0){case 1:{ca=d[R>>0]|0;g=c[da+32>>2]|0;aa=c[da+28>>2]|0;f=a[(c[124356+((aa>>>16&255)<<2)>>2]|0)+((c[da+20>>2]&ca)>>>(g>>>16&255))>>0]|0;b=a[(c[124356+((aa>>>8&255)<<2)>>2]|0)+((c[da+16>>2]&ca)>>>(g>>>8&255))>>0]|0;g=a[(c[124356+((aa&255)<<2)>>2]|0)+((ca&c[da+12>>2])>>>(g&255))>>0]|0;break}case 2:{ca=e[R>>1]|0;g=c[da+32>>2]|0;aa=c[da+28>>2]|0;f=a[(c[124356+((aa>>>16&255)<<2)>>2]|0)+((c[da+20>>2]&ca)>>>(g>>>16&255))>>0]|0;b=a[(c[124356+((aa>>>8&255)<<2)>>2]|0)+((c[da+16>>2]&ca)>>>(g>>>8&255))>>0]|0;g=a[(c[124356+((aa&255)<<2)>>2]|0)+((ca&c[da+12>>2])>>>(g&255))>>0]|0;break}case 3:{g=c[da+32>>2]|0;f=a[R+(g>>>19&31)>>0]|0;b=a[R+(g>>>11&31)>>0]|0;g=a[R+(g>>>3&31)>>0]|0;break}case 4:{ca=c[R>>2]|0;g=c[da+32>>2]|0;aa=c[da+28>>2]|0;f=a[(c[124356+((aa>>>16&255)<<2)>>2]|0)+((c[da+20>>2]&ca)>>>(g>>>16&255))>>0]|0;b=a[(c[124356+((aa>>>8&255)<<2)>>2]|0)+((c[da+16>>2]&ca)>>>(g>>>8&255))>>0]|0;g=a[(c[124356+((aa&255)<<2)>>2]|0)+((c[da+12>>2]&ca)>>>(g&255))>>0]|0;break}default:{f=0;b=0;g=0}}a[p>>0]=(b&255)>>>5<<2|g&224|(f&255)>>>6;q=p+1|0;x=w;S=R+ea|0;f=19;continue}else if((f|0)==19){switch(ea|0){case 1:{ca=d[S>>0]|0;g=c[da+32>>2]|0;aa=c[da+28>>2]|0;f=a[(c[124356+((aa>>>16&255)<<2)>>2]|0)+((c[da+20>>2]&ca)>>>(g>>>16&255))>>0]|0;b=a[(c[124356+((aa>>>8&255)<<2)>>2]|0)+((c[da+16>>2]&ca)>>>(g>>>8&255))>>0]|0;g=a[(c[124356+((aa&255)<<2)>>2]|0)+((ca&c[da+12>>2])>>>(g&255))>>0]|0;break}case 2:{ca=e[S>>1]|0;g=c[da+32>>2]|0;aa=c[da+28>>2]|0;f=a[(c[124356+((aa>>>16&255)<<2)>>2]|0)+((c[da+20>>2]&ca)>>>(g>>>16&255))>>0]|0;b=a[(c[124356+((aa>>>8&255)<<2)>>2]|0)+((c[da+16>>2]&ca)>>>(g>>>8&255))>>0]|0;g=a[(c[124356+((aa&255)<<2)>>2]|0)+((ca&c[da+12>>2])>>>(g&255))>>0]|0;break}case 3:{g=c[da+32>>2]|0;f=a[S+(g>>>19&31)>>0]|0;b=a[S+(g>>>11&31)>>0]|0;g=a[S+(g>>>3&31)>>0]|0;break}case 4:{ca=c[S>>2]|0;g=c[da+32>>2]|0;aa=c[da+28>>2]|0;f=a[(c[124356+((aa>>>16&255)<<2)>>2]|0)+((c[da+20>>2]&ca)>>>(g>>>16&255))>>0]|0;b=a[(c[124356+((aa>>>8&255)<<2)>>2]|0)+((c[da+16>>2]&ca)>>>(g>>>8&255))>>0]|0;g=a[(c[124356+((aa&255)<<2)>>2]|0)+((c[da+12>>2]&ca)>>>(g&255))>>0]|0;break}default:{f=0;b=0;g=0}}a[q>>0]=(b&255)>>>5<<2|g&224|(f&255)>>>6;r=q+1|0;y=x;T=S+ea|0;f=25;continue}else if((f|0)==25){switch(ea|0){case 1:{ca=d[T>>0]|0;g=c[da+32>>2]|0;aa=c[da+28>>2]|0;f=a[(c[124356+((aa>>>16&255)<<2)>>2]|0)+((c[da+20>>2]&ca)>>>(g>>>16&255))>>0]|0;b=a[(c[124356+((aa>>>8&255)<<2)>>2]|0)+((c[da+16>>2]&ca)>>>(g>>>8&255))>>0]|0;g=a[(c[124356+((aa&255)<<2)>>2]|0)+((ca&c[da+12>>2])>>>(g&255))>>0]|0;break}case 2:{ca=e[T>>1]|0;g=c[da+32>>2]|0;aa=c[da+28>>2]|0;f=a[(c[124356+((aa>>>16&255)<<2)>>2]|0)+((c[da+20>>2]&ca)>>>(g>>>16&255))>>0]|0;b=a[(c[124356+((aa>>>8&255)<<2)>>2]|0)+((c[da+16>>2]&ca)>>>(g>>>8&255))>>0]|0;g=a[(c[124356+((aa&255)<<2)>>2]|0)+((ca&c[da+12>>2])>>>(g&255))>>0]|0;break}case 3:{g=c[da+32>>2]|0;f=a[T+(g>>>19&31)>>0]|0;b=a[T+(g>>>11&31)>>0]|0;g=a[T+(g>>>3&31)>>0]|0;break}case 4:{ca=c[T>>2]|0;g=c[da+32>>2]|0;aa=c[da+28>>2]|0;f=a[(c[124356+((aa>>>16&255)<<2)>>2]|0)+((c[da+20>>2]&ca)>>>(g>>>16&255))>>0]|0;b=a[(c[124356+((aa>>>8&255)<<2)>>2]|0)+((c[da+16>>2]&ca)>>>(g>>>8&255))>>0]|0;g=a[(c[124356+((aa&255)<<2)>>2]|0)+((c[da+12>>2]&ca)>>>(g&255))>>0]|0;break}default:{f=0;b=0;g=0}}a[r>>0]=(b&255)>>>5<<2|g&224|(f&255)>>>6;s=r+1|0;z=y;U=T+ea|0;f=31;continue}else if((f|0)==31){switch(ea|0){case 1:{ca=d[U>>0]|0;g=c[da+32>>2]|0;aa=c[da+28>>2]|0;f=a[(c[124356+((aa>>>16&255)<<2)>>2]|0)+((c[da+20>>2]&ca)>>>(g>>>16&255))>>0]|0;b=a[(c[124356+((aa>>>8&255)<<2)>>2]|0)+((c[da+16>>2]&ca)>>>(g>>>8&255))>>0]|0;g=a[(c[124356+((aa&255)<<2)>>2]|0)+((ca&c[da+12>>2])>>>(g&255))>>0]|0;break}case 2:{ca=e[U>>1]|0;g=c[da+32>>2]|0;aa=c[da+28>>2]|0;f=a[(c[124356+((aa>>>16&255)<<2)>>2]|0)+((c[da+20>>2]&ca)>>>(g>>>16&255))>>0]|0;b=a[(c[124356+((aa>>>8&255)<<2)>>2]|0)+((c[da+16>>2]&ca)>>>(g>>>8&255))>>0]|0;g=a[(c[124356+((aa&255)<<2)>>2]|0)+((ca&c[da+12>>2])>>>(g&255))>>0]|0;break}case 3:{g=c[da+32>>2]|0;f=a[U+(g>>>19&31)>>0]|0;b=a[U+(g>>>11&31)>>0]|0;g=a[U+(g>>>3&31)>>0]|0;break}case 4:{ca=c[U>>2]|0;g=c[da+32>>2]|0;aa=c[da+28>>2]|0;f=a[(c[124356+((aa>>>16&255)<<2)>>2]|0)+((c[da+20>>2]&ca)>>>(g>>>16&255))>>0]|0;b=a[(c[124356+((aa>>>8&255)<<2)>>2]|0)+((c[da+16>>2]&ca)>>>(g>>>8&255))>>0]|0;g=a[(c[124356+((aa&255)<<2)>>2]|0)+((c[da+12>>2]&ca)>>>(g&255))>>0]|0;break}default:{f=0;b=0;g=0}}a[s>>0]=(b&255)>>>5<<2|g&224|(f&255)>>>6;t=s+1|0;A=z;V=U+ea|0;f=37;continue}else if((f|0)==37){switch(ea|0){case 1:{ca=d[V>>0]|0;g=c[da+32>>2]|0;aa=c[da+28>>2]|0;f=a[(c[124356+((aa>>>16&255)<<2)>>2]|0)+((c[da+20>>2]&ca)>>>(g>>>16&255))>>0]|0;b=a[(c[124356+((aa>>>8&255)<<2)>>2]|0)+((c[da+16>>2]&ca)>>>(g>>>8&255))>>0]|0;g=a[(c[124356+((aa&255)<<2)>>2]|0)+((ca&c[da+12>>2])>>>(g&255))>>0]|0;break}case 2:{ca=e[V>>1]|0;g=c[da+32>>2]|0;aa=c[da+28>>2]|0;f=a[(c[124356+((aa>>>16&255)<<2)>>2]|0)+((c[da+20>>2]&ca)>>>(g>>>16&255))>>0]|0;b=a[(c[124356+((aa>>>8&255)<<2)>>2]|0)+((c[da+16>>2]&ca)>>>(g>>>8&255))>>0]|0;g=a[(c[124356+((aa&255)<<2)>>2]|0)+((ca&c[da+12>>2])>>>(g&255))>>0]|0;break}case 3:{g=c[da+32>>2]|0;f=a[V+(g>>>19&31)>>0]|0;b=a[V+(g>>>11&31)>>0]|0;g=a[V+(g>>>3&31)>>0]|0;break}case 4:{ca=c[V>>2]|0;g=c[da+32>>2]|0;aa=c[da+28>>2]|0;f=a[(c[124356+((aa>>>16&255)<<2)>>2]|0)+((c[da+20>>2]&ca)>>>(g>>>16&255))>>0]|0;b=a[(c[124356+((aa>>>8&255)<<2)>>2]|0)+((c[da+16>>2]&ca)>>>(g>>>8&255))>>0]|0;g=a[(c[124356+((aa&255)<<2)>>2]|0)+((c[da+12>>2]&ca)>>>(g&255))>>0]|0;break}default:{f=0;b=0;g=0}}a[t>>0]=(b&255)>>>5<<2|g&224|(f&255)>>>6;u=t+1|0;B=A;W=V+ea|0;f=43;continue}else if((f|0)==43){switch(ea|0){case 1:{ca=d[W>>0]|0;g=c[da+32>>2]|0;aa=c[da+28>>2]|0;f=a[(c[124356+((aa>>>16&255)<<2)>>2]|0)+((c[da+20>>2]&ca)>>>(g>>>16&255))>>0]|0;b=a[(c[124356+((aa>>>8&255)<<2)>>2]|0)+((c[da+16>>2]&ca)>>>(g>>>8&255))>>0]|0;g=a[(c[124356+((aa&255)<<2)>>2]|0)+((ca&c[da+12>>2])>>>(g&255))>>0]|0;break}case 2:{ca=e[W>>1]|0;g=c[da+32>>2]|0;aa=c[da+28>>2]|0;f=a[(c[124356+((aa>>>16&255)<<2)>>2]|0)+((c[da+20>>2]&ca)>>>(g>>>16&255))>>0]|0;b=a[(c[124356+((aa>>>8&255)<<2)>>2]|0)+((c[da+16>>2]&ca)>>>(g>>>8&255))>>0]|0;g=a[(c[124356+((aa&255)<<2)>>2]|0)+((ca&c[da+12>>2])>>>(g&255))>>0]|0;break}case 3:{g=c[da+32>>2]|0;f=a[W+(g>>>19&31)>>0]|0;b=a[W+(g>>>11&31)>>0]|0;g=a[W+(g>>>3&31)>>0]|0;break}case 4:{ca=c[W>>2]|0;g=c[da+32>>2]|0;aa=c[da+28>>2]|0;f=a[(c[124356+((aa>>>16&255)<<2)>>2]|0)+((c[da+20>>2]&ca)>>>(g>>>16&255))>>0]|0;b=a[(c[124356+((aa>>>8&255)<<2)>>2]|0)+((c[da+16>>2]&ca)>>>(g>>>8&255))>>0]|0;g=a[(c[124356+((aa&255)<<2)>>2]|0)+((c[da+12>>2]&ca)>>>(g&255))>>0]|0;break}default:{f=0;b=0;g=0}}a[u>>0]=(b&255)>>>5<<2|g&224|(f&255)>>>6;v=u+1|0;C=B;X=W+ea|0;f=49;continue}else if((f|0)==49){switch(ea|0){case 1:{ca=d[X>>0]|0;g=c[da+32>>2]|0;aa=c[da+28>>2]|0;f=a[(c[124356+((aa>>>16&255)<<2)>>2]|0)+((c[da+20>>2]&ca)>>>(g>>>16&255))>>0]|0;b=a[(c[124356+((aa>>>8&255)<<2)>>2]|0)+((c[da+16>>2]&ca)>>>(g>>>8&255))>>0]|0;g=a[(c[124356+((aa&255)<<2)>>2]|0)+((ca&c[da+12>>2])>>>(g&255))>>0]|0;break}case 2:{ca=e[X>>1]|0;g=c[da+32>>2]|0;aa=c[da+28>>2]|0;f=a[(c[124356+((aa>>>16&255)<<2)>>2]|0)+((c[da+20>>2]&ca)>>>(g>>>16&255))>>0]|0;b=a[(c[124356+((aa>>>8&255)<<2)>>2]|0)+((c[da+16>>2]&ca)>>>(g>>>8&255))>>0]|0;g=a[(c[124356+((aa&255)<<2)>>2]|0)+((ca&c[da+12>>2])>>>(g&255))>>0]|0;break}case 3:{g=c[da+32>>2]|0;f=a[X+(g>>>19&31)>>0]|0;b=a[X+(g>>>11&31)>>0]|0;g=a[X+(g>>>3&31)>>0]|0;break}case 4:{ca=c[X>>2]|0;g=c[da+32>>2]|0;aa=c[da+28>>2]|0;f=a[(c[124356+((aa>>>16&255)<<2)>>2]|0)+((c[da+20>>2]&ca)>>>(g>>>16&255))>>0]|0;b=a[(c[124356+((aa>>>8&255)<<2)>>2]|0)+((c[da+16>>2]&ca)>>>(g>>>8&255))>>0]|0;g=a[(c[124356+((aa&255)<<2)>>2]|0)+((c[da+12>>2]&ca)>>>(g&255))>>0]|0;break}default:{f=0;b=0;g=0}}a[v>>0]=(b&255)>>>5<<2|g&224|(f&255)>>>6;f=v+1|0;b=X+ea|0;if((C|0)>1){Z=f;$=C+-1|0;ba=b;f=7;continue}else break}if(!h){f=108;break}else{h=h+-1|0;g=f+ga|0;f=b+ha|0}}if((f|0)!=55)if((f|0)==108)return}else{if(!h)return;h=h+-1|0;b:while(1){switch(fa&7|0){case 0:{_=g;aa=(fa+7|0)/8|0;ca=f;f=58;break}case 7:{i=g;D=(fa+7|0)/8|0;K=f;f=64;break}case 6:{j=g;E=(fa+7|0)/8|0;L=f;f=70;break}case 5:{k=g;F=(fa+7|0)/8|0;M=f;f=76;break}case 4:{l=g;G=(fa+7|0)/8|0;N=f;f=82;break}case 3:{m=g;H=(fa+7|0)/8|0;O=f;f=88;break}case 2:{n=g;I=(fa+7|0)/8|0;P=f;f=94;break}case 1:{o=g;J=(fa+7|0)/8|0;Q=f;f=100;break}default:{f=106;break b}}while(1)if((f|0)==58){switch(ea|0){case 1:{ba=d[ca>>0]|0;g=c[da+32>>2]|0;$=c[da+28>>2]|0;f=a[(c[124356+(($>>>16&255)<<2)>>2]|0)+((c[da+20>>2]&ba)>>>(g>>>16&255))>>0]|0;b=a[(c[124356+(($>>>8&255)<<2)>>2]|0)+((c[da+16>>2]&ba)>>>(g>>>8&255))>>0]|0;g=a[(c[124356+(($&255)<<2)>>2]|0)+((ba&c[da+12>>2])>>>(g&255))>>0]|0;break}case 2:{ba=e[ca>>1]|0;g=c[da+32>>2]|0;$=c[da+28>>2]|0;f=a[(c[124356+(($>>>16&255)<<2)>>2]|0)+((c[da+20>>2]&ba)>>>(g>>>16&255))>>0]|0;b=a[(c[124356+(($>>>8&255)<<2)>>2]|0)+((c[da+16>>2]&ba)>>>(g>>>8&255))>>0]|0;g=a[(c[124356+(($&255)<<2)>>2]|0)+((ba&c[da+12>>2])>>>(g&255))>>0]|0;break}case 3:{g=c[da+32>>2]|0;f=a[ca+(g>>>19&31)>>0]|0;b=a[ca+(g>>>11&31)>>0]|0;g=a[ca+(g>>>3&31)>>0]|0;break}case 4:{ba=c[ca>>2]|0;g=c[da+32>>2]|0;$=c[da+28>>2]|0;f=a[(c[124356+(($>>>16&255)<<2)>>2]|0)+((c[da+20>>2]&ba)>>>(g>>>16&255))>>0]|0;b=a[(c[124356+(($>>>8&255)<<2)>>2]|0)+((c[da+16>>2]&ba)>>>(g>>>8&255))>>0]|0;g=a[(c[124356+(($&255)<<2)>>2]|0)+((c[da+12>>2]&ba)>>>(g&255))>>0]|0;break}default:{f=0;b=0;g=0}}a[_>>0]=a[Y+((b&255)>>>5<<2|g&224|(f&255)>>>6)>>0]|0;i=_+1|0;D=aa;K=ca+ea|0;f=64;continue}else if((f|0)==64){switch(ea|0){case 1:{ba=d[K>>0]|0;g=c[da+32>>2]|0;$=c[da+28>>2]|0;f=a[(c[124356+(($>>>16&255)<<2)>>2]|0)+((c[da+20>>2]&ba)>>>(g>>>16&255))>>0]|0;b=a[(c[124356+(($>>>8&255)<<2)>>2]|0)+((c[da+16>>2]&ba)>>>(g>>>8&255))>>0]|0;g=a[(c[124356+(($&255)<<2)>>2]|0)+((ba&c[da+12>>2])>>>(g&255))>>0]|0;break}case 2:{ba=e[K>>1]|0;g=c[da+32>>2]|0;$=c[da+28>>2]|0;f=a[(c[124356+(($>>>16&255)<<2)>>2]|0)+((c[da+20>>2]&ba)>>>(g>>>16&255))>>0]|0;b=a[(c[124356+(($>>>8&255)<<2)>>2]|0)+((c[da+16>>2]&ba)>>>(g>>>8&255))>>0]|0;g=a[(c[124356+(($&255)<<2)>>2]|0)+((ba&c[da+12>>2])>>>(g&255))>>0]|0;break}case 3:{g=c[da+32>>2]|0;f=a[K+(g>>>19&31)>>0]|0;b=a[K+(g>>>11&31)>>0]|0;g=a[K+(g>>>3&31)>>0]|0;break}case 4:{ba=c[K>>2]|0;g=c[da+32>>2]|0;$=c[da+28>>2]|0;f=a[(c[124356+(($>>>16&255)<<2)>>2]|0)+((c[da+20>>2]&ba)>>>(g>>>16&255))>>0]|0;b=a[(c[124356+(($>>>8&255)<<2)>>2]|0)+((c[da+16>>2]&ba)>>>(g>>>8&255))>>0]|0;g=a[(c[124356+(($&255)<<2)>>2]|0)+((c[da+12>>2]&ba)>>>(g&255))>>0]|0;break}default:{f=0;b=0;g=0}}a[i>>0]=a[Y+((b&255)>>>5<<2|g&224|(f&255)>>>6)>>0]|0;j=i+1|0;E=D;L=K+ea|0;f=70;continue}else if((f|0)==70){switch(ea|0){case 1:{ba=d[L>>0]|0;g=c[da+32>>2]|0;$=c[da+28>>2]|0;f=a[(c[124356+(($>>>16&255)<<2)>>2]|0)+((c[da+20>>2]&ba)>>>(g>>>16&255))>>0]|0;b=a[(c[124356+(($>>>8&255)<<2)>>2]|0)+((c[da+16>>2]&ba)>>>(g>>>8&255))>>0]|0;g=a[(c[124356+(($&255)<<2)>>2]|0)+((ba&c[da+12>>2])>>>(g&255))>>0]|0;break}case 2:{ba=e[L>>1]|0;g=c[da+32>>2]|0;$=c[da+28>>2]|0;f=a[(c[124356+(($>>>16&255)<<2)>>2]|0)+((c[da+20>>2]&ba)>>>(g>>>16&255))>>0]|0;b=a[(c[124356+(($>>>8&255)<<2)>>2]|0)+((c[da+16>>2]&ba)>>>(g>>>8&255))>>0]|0;g=a[(c[124356+(($&255)<<2)>>2]|0)+((ba&c[da+12>>2])>>>(g&255))>>0]|0;break}case 3:{g=c[da+32>>2]|0;f=a[L+(g>>>19&31)>>0]|0;b=a[L+(g>>>11&31)>>0]|0;g=a[L+(g>>>3&31)>>0]|0;break}case 4:{ba=c[L>>2]|0;g=c[da+32>>2]|0;$=c[da+28>>2]|0;f=a[(c[124356+(($>>>16&255)<<2)>>2]|0)+((c[da+20>>2]&ba)>>>(g>>>16&255))>>0]|0;b=a[(c[124356+(($>>>8&255)<<2)>>2]|0)+((c[da+16>>2]&ba)>>>(g>>>8&255))>>0]|0;g=a[(c[124356+(($&255)<<2)>>2]|0)+((c[da+12>>2]&ba)>>>(g&255))>>0]|0;break}default:{f=0;b=0;g=0}}a[j>>0]=a[Y+((b&255)>>>5<<2|g&224|(f&255)>>>6)>>0]|0;k=j+1|0;F=E;M=L+ea|0;f=76;continue}else if((f|0)==76){switch(ea|0){case 1:{ba=d[M>>0]|0;g=c[da+32>>2]|0;$=c[da+28>>2]|0;f=a[(c[124356+(($>>>16&255)<<2)>>2]|0)+((c[da+20>>2]&ba)>>>(g>>>16&255))>>0]|0;b=a[(c[124356+(($>>>8&255)<<2)>>2]|0)+((c[da+16>>2]&ba)>>>(g>>>8&255))>>0]|0;g=a[(c[124356+(($&255)<<2)>>2]|0)+((ba&c[da+12>>2])>>>(g&255))>>0]|0;break}case 2:{ba=e[M>>1]|0;g=c[da+32>>2]|0;$=c[da+28>>2]|0;f=a[(c[124356+(($>>>16&255)<<2)>>2]|0)+((c[da+20>>2]&ba)>>>(g>>>16&255))>>0]|0;b=a[(c[124356+(($>>>8&255)<<2)>>2]|0)+((c[da+16>>2]&ba)>>>(g>>>8&255))>>0]|0;g=a[(c[124356+(($&255)<<2)>>2]|0)+((ba&c[da+12>>2])>>>(g&255))>>0]|0;break}case 3:{g=c[da+32>>2]|0;f=a[M+(g>>>19&31)>>0]|0;b=a[M+(g>>>11&31)>>0]|0;g=a[M+(g>>>3&31)>>0]|0;break}case 4:{ba=c[M>>2]|0;g=c[da+32>>2]|0;$=c[da+28>>2]|0;f=a[(c[124356+(($>>>16&255)<<2)>>2]|0)+((c[da+20>>2]&ba)>>>(g>>>16&255))>>0]|0;b=a[(c[124356+(($>>>8&255)<<2)>>2]|0)+((c[da+16>>2]&ba)>>>(g>>>8&255))>>0]|0;g=a[(c[124356+(($&255)<<2)>>2]|0)+((c[da+12>>2]&ba)>>>(g&255))>>0]|0;break}default:{f=0;b=0;g=0}}a[k>>0]=a[Y+((b&255)>>>5<<2|g&224|(f&255)>>>6)>>0]|0;l=k+1|0;G=F;N=M+ea|0;f=82;continue}else if((f|0)==82){switch(ea|0){case 1:{ba=d[N>>0]|0;g=c[da+32>>2]|0;$=c[da+28>>2]|0;f=a[(c[124356+(($>>>16&255)<<2)>>2]|0)+((c[da+20>>2]&ba)>>>(g>>>16&255))>>0]|0;b=a[(c[124356+(($>>>8&255)<<2)>>2]|0)+((c[da+16>>2]&ba)>>>(g>>>8&255))>>0]|0;g=a[(c[124356+(($&255)<<2)>>2]|0)+((ba&c[da+12>>2])>>>(g&255))>>0]|0;break}case 2:{ba=e[N>>1]|0;g=c[da+32>>2]|0;$=c[da+28>>2]|0;f=a[(c[124356+(($>>>16&255)<<2)>>2]|0)+((c[da+20>>2]&ba)>>>(g>>>16&255))>>0]|0;b=a[(c[124356+(($>>>8&255)<<2)>>2]|0)+((c[da+16>>2]&ba)>>>(g>>>8&255))>>0]|0;g=a[(c[124356+(($&255)<<2)>>2]|0)+((ba&c[da+12>>2])>>>(g&255))>>0]|0;break}case 3:{g=c[da+32>>2]|0;f=a[N+(g>>>19&31)>>0]|0;b=a[N+(g>>>11&31)>>0]|0;g=a[N+(g>>>3&31)>>0]|0;break}case 4:{ba=c[N>>2]|0;g=c[da+32>>2]|0;$=c[da+28>>2]|0;f=a[(c[124356+(($>>>16&255)<<2)>>2]|0)+((c[da+20>>2]&ba)>>>(g>>>16&255))>>0]|0;b=a[(c[124356+(($>>>8&255)<<2)>>2]|0)+((c[da+16>>2]&ba)>>>(g>>>8&255))>>0]|0;g=a[(c[124356+(($&255)<<2)>>2]|0)+((c[da+12>>2]&ba)>>>(g&255))>>0]|0;break}default:{f=0;b=0;g=0}}a[l>>0]=a[Y+((b&255)>>>5<<2|g&224|(f&255)>>>6)>>0]|0;m=l+1|0;H=G;O=N+ea|0;f=88;continue}else if((f|0)==88){switch(ea|0){case 1:{ba=d[O>>0]|0;g=c[da+32>>2]|0;$=c[da+28>>2]|0;f=a[(c[124356+(($>>>16&255)<<2)>>2]|0)+((c[da+20>>2]&ba)>>>(g>>>16&255))>>0]|0;b=a[(c[124356+(($>>>8&255)<<2)>>2]|0)+((c[da+16>>2]&ba)>>>(g>>>8&255))>>0]|0;g=a[(c[124356+(($&255)<<2)>>2]|0)+((ba&c[da+12>>2])>>>(g&255))>>0]|0;break}case 2:{ba=e[O>>1]|0;g=c[da+32>>2]|0;$=c[da+28>>2]|0;f=a[(c[124356+(($>>>16&255)<<2)>>2]|0)+((c[da+20>>2]&ba)>>>(g>>>16&255))>>0]|0;b=a[(c[124356+(($>>>8&255)<<2)>>2]|0)+((c[da+16>>2]&ba)>>>(g>>>8&255))>>0]|0;g=a[(c[124356+(($&255)<<2)>>2]|0)+((ba&c[da+12>>2])>>>(g&255))>>0]|0;break}case 3:{g=c[da+32>>2]|0;f=a[O+(g>>>19&31)>>0]|0;b=a[O+(g>>>11&31)>>0]|0;g=a[O+(g>>>3&31)>>0]|0;break}case 4:{ba=c[O>>2]|0;g=c[da+32>>2]|0;$=c[da+28>>2]|0;f=a[(c[124356+(($>>>16&255)<<2)>>2]|0)+((c[da+20>>2]&ba)>>>(g>>>16&255))>>0]|0;b=a[(c[124356+(($>>>8&255)<<2)>>2]|0)+((c[da+16>>2]&ba)>>>(g>>>8&255))>>0]|0;g=a[(c[124356+(($&255)<<2)>>2]|0)+((c[da+12>>2]&ba)>>>(g&255))>>0]|0;break}default:{f=0;b=0;g=0}}a[m>>0]=a[Y+((b&255)>>>5<<2|g&224|(f&255)>>>6)>>0]|0;n=m+1|0;I=H;P=O+ea|0;f=94;continue}else if((f|0)==94){switch(ea|0){case 1:{ba=d[P>>0]|0;g=c[da+32>>2]|0;$=c[da+28>>2]|0;f=a[(c[124356+(($>>>16&255)<<2)>>2]|0)+((c[da+20>>2]&ba)>>>(g>>>16&255))>>0]|0;b=a[(c[124356+(($>>>8&255)<<2)>>2]|0)+((c[da+16>>2]&ba)>>>(g>>>8&255))>>0]|0;g=a[(c[124356+(($&255)<<2)>>2]|0)+((ba&c[da+12>>2])>>>(g&255))>>0]|0;break}case 2:{ba=e[P>>1]|0;g=c[da+32>>2]|0;$=c[da+28>>2]|0;f=a[(c[124356+(($>>>16&255)<<2)>>2]|0)+((c[da+20>>2]&ba)>>>(g>>>16&255))>>0]|0;b=a[(c[124356+(($>>>8&255)<<2)>>2]|0)+((c[da+16>>2]&ba)>>>(g>>>8&255))>>0]|0;g=a[(c[124356+(($&255)<<2)>>2]|0)+((ba&c[da+12>>2])>>>(g&255))>>0]|0;break}case 3:{g=c[da+32>>2]|0;f=a[P+(g>>>19&31)>>0]|0;b=a[P+(g>>>11&31)>>0]|0;g=a[P+(g>>>3&31)>>0]|0;break}case 4:{ba=c[P>>2]|0;g=c[da+32>>2]|0;$=c[da+28>>2]|0;f=a[(c[124356+(($>>>16&255)<<2)>>2]|0)+((c[da+20>>2]&ba)>>>(g>>>16&255))>>0]|0;b=a[(c[124356+(($>>>8&255)<<2)>>2]|0)+((c[da+16>>2]&ba)>>>(g>>>8&255))>>0]|0;g=a[(c[124356+(($&255)<<2)>>2]|0)+((c[da+12>>2]&ba)>>>(g&255))>>0]|0;break}default:{f=0;b=0;g=0}}a[n>>0]=a[Y+((b&255)>>>5<<2|g&224|(f&255)>>>6)>>0]|0;o=n+1|0;J=I;Q=P+ea|0;f=100;continue}else if((f|0)==100){switch(ea|0){case 1:{ba=d[Q>>0]|0;g=c[da+32>>2]|0;$=c[da+28>>2]|0;f=a[(c[124356+(($>>>16&255)<<2)>>2]|0)+((c[da+20>>2]&ba)>>>(g>>>16&255))>>0]|0;b=a[(c[124356+(($>>>8&255)<<2)>>2]|0)+((c[da+16>>2]&ba)>>>(g>>>8&255))>>0]|0;g=a[(c[124356+(($&255)<<2)>>2]|0)+((ba&c[da+12>>2])>>>(g&255))>>0]|0;break}case 2:{ba=e[Q>>1]|0;g=c[da+32>>2]|0;$=c[da+28>>2]|0;f=a[(c[124356+(($>>>16&255)<<2)>>2]|0)+((c[da+20>>2]&ba)>>>(g>>>16&255))>>0]|0;b=a[(c[124356+(($>>>8&255)<<2)>>2]|0)+((c[da+16>>2]&ba)>>>(g>>>8&255))>>0]|0;g=a[(c[124356+(($&255)<<2)>>2]|0)+((ba&c[da+12>>2])>>>(g&255))>>0]|0;break}case 3:{g=c[da+32>>2]|0;f=a[Q+(g>>>19&31)>>0]|0;b=a[Q+(g>>>11&31)>>0]|0;g=a[Q+(g>>>3&31)>>0]|0;break}case 4:{ba=c[Q>>2]|0;g=c[da+32>>2]|0;$=c[da+28>>2]|0;f=a[(c[124356+(($>>>16&255)<<2)>>2]|0)+((c[da+20>>2]&ba)>>>(g>>>16&255))>>0]|0;b=a[(c[124356+(($>>>8&255)<<2)>>2]|0)+((c[da+16>>2]&ba)>>>(g>>>8&255))>>0]|0;g=a[(c[124356+(($&255)<<2)>>2]|0)+((c[da+12>>2]&ba)>>>(g&255))>>0]|0;break}default:{f=0;b=0;g=0}}a[o>>0]=a[Y+((b&255)>>>5<<2|g&224|(f&255)>>>6)>>0]|0;f=o+1|0;b=Q+ea|0;if((J|0)>1){_=f;aa=J+-1|0;ca=b;f=58;continue}else break}if(!h){f=108;break}else{h=h+-1|0;g=f+ga|0;f=b+ha|0}}if((f|0)!=106)if((f|0)==108)return}}function T9a(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0;V=c[b+24>>2]|0;f=c[b+28>>2]|0;e=c[b>>2]|0;X=(c[b+16>>2]|0)/4|0;d=c[b+20>>2]|0;W=c[b+36>>2]|0;g=c[b+48>>2]|0;if(!g){if(!f)return;b=f+-1|0;a:while(1){switch(V&7|0){case 0:{h=d;p=(V+7|0)/8|0;d=7;break}case 7:{i=d;q=(V+7|0)/8|0;d=8;break}case 6:{j=d;r=(V+7|0)/8|0;d=9;break}case 5:{k=d;s=(V+7|0)/8|0;d=10;break}case 4:{l=d;t=(V+7|0)/8|0;d=11;break}case 3:{m=d;u=(V+7|0)/8|0;d=12;break}case 2:{n=d;v=(V+7|0)/8|0;d=13;break}case 1:{o=d;w=(V+7|0)/8|0;d=14;break}default:{d=15;break a}}while(1)if((d|0)==7){i=c[e>>2]|0;a[h>>0]=i>>>16&224|i>>>11&28|i>>>6&3;i=h+1|0;q=p;d=8;continue}else if((d|0)==8){j=c[e>>2]|0;a[i>>0]=j>>>16&224|j>>>11&28|j>>>6&3;j=i+1|0;r=q;d=9;continue}else if((d|0)==9){k=c[e>>2]|0;a[j>>0]=k>>>16&224|k>>>11&28|k>>>6&3;k=j+1|0;s=r;d=10;continue}else if((d|0)==10){l=c[e>>2]|0;a[k>>0]=l>>>16&224|l>>>11&28|l>>>6&3;l=k+1|0;t=s;d=11;continue}else if((d|0)==11){m=c[e>>2]|0;a[l>>0]=m>>>16&224|m>>>11&28|m>>>6&3;m=l+1|0;u=t;d=12;continue}else if((d|0)==12){n=c[e>>2]|0;a[m>>0]=n>>>16&224|n>>>11&28|n>>>6&3;n=m+1|0;v=u;d=13;continue}else if((d|0)==13){o=c[e>>2]|0;a[n>>0]=o>>>16&224|o>>>11&28|o>>>6&3;o=n+1|0;w=v;d=14;continue}else if((d|0)==14){U=c[e>>2]|0;d=o+1|0;a[o>>0]=U>>>16&224|U>>>11&28|U>>>6&3;if((w|0)>1){h=d;p=w+-1|0;d=7;continue}else break}if(!b){d=28;break}else{b=b+-1|0;d=d+W|0;e=e+(X<<2)|0}}if((d|0)!=15)if((d|0)==28)return}else{if(!f)return;b=f+-1|0;b:while(1){switch(V&7|0){case 0:{x=d;F=(V+7|0)/8|0;N=e;d=18;break}case 7:{y=d;G=(V+7|0)/8|0;O=e;d=19;break}case 6:{z=d;H=(V+7|0)/8|0;P=e;d=20;break}case 5:{A=d;I=(V+7|0)/8|0;Q=e;d=21;break}case 4:{B=d;J=(V+7|0)/8|0;R=e;d=22;break}case 3:{C=d;K=(V+7|0)/8|0;S=e;d=23;break}case 2:{D=d;L=(V+7|0)/8|0;T=e;d=24;break}case 1:{E=d;M=(V+7|0)/8|0;U=e;d=25;break}default:{d=26;break b}}while(1)if((d|0)==18){y=c[N>>2]|0;a[x>>0]=a[g+(y>>>16&224|y>>>11&28|y>>>6&3)>>0]|0;y=x+1|0;G=F;O=N+4|0;d=19;continue}else if((d|0)==19){z=c[O>>2]|0;a[y>>0]=a[g+(z>>>16&224|z>>>11&28|z>>>6&3)>>0]|0;z=y+1|0;H=G;P=O+4|0;d=20;continue}else if((d|0)==20){A=c[P>>2]|0;a[z>>0]=a[g+(A>>>16&224|A>>>11&28|A>>>6&3)>>0]|0;A=z+1|0;I=H;Q=P+4|0;d=21;continue}else if((d|0)==21){B=c[Q>>2]|0;a[A>>0]=a[g+(B>>>16&224|B>>>11&28|B>>>6&3)>>0]|0;B=A+1|0;J=I;R=Q+4|0;d=22;continue}else if((d|0)==22){C=c[R>>2]|0;a[B>>0]=a[g+(C>>>16&224|C>>>11&28|C>>>6&3)>>0]|0;C=B+1|0;K=J;S=R+4|0;d=23;continue}else if((d|0)==23){D=c[S>>2]|0;a[C>>0]=a[g+(D>>>16&224|D>>>11&28|D>>>6&3)>>0]|0;D=C+1|0;L=K;T=S+4|0;d=24;continue}else if((d|0)==24){E=c[T>>2]|0;a[D>>0]=a[g+(E>>>16&224|E>>>11&28|E>>>6&3)>>0]|0;E=D+1|0;M=L;U=T+4|0;d=25;continue}else if((d|0)==25){e=c[U>>2]|0;d=E+1|0;a[E>>0]=a[g+(e>>>16&224|e>>>11&28|e>>>6&3)>>0]|0;e=U+4|0;if((M|0)>1){x=d;F=M+-1|0;N=e;d=18;continue}else break}if(!b){d=28;break}else{b=b+-1|0;d=d+W|0;e=e+(X<<2)|0}}if((d|0)!=26)if((d|0)==28)return}}function U9a(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0;V=c[b+24>>2]|0;f=c[b+28>>2]|0;e=c[b>>2]|0;X=(c[b+16>>2]|0)/4|0;d=c[b+20>>2]|0;W=c[b+36>>2]|0;g=c[b+48>>2]|0;if(!g){if(!f)return;b=f+-1|0;a:while(1){switch(V&7|0){case 0:{h=d;p=(V+7|0)/8|0;d=7;break}case 7:{i=d;q=(V+7|0)/8|0;d=8;break}case 6:{j=d;r=(V+7|0)/8|0;d=9;break}case 5:{k=d;s=(V+7|0)/8|0;d=10;break}case 4:{l=d;t=(V+7|0)/8|0;d=11;break}case 3:{m=d;u=(V+7|0)/8|0;d=12;break}case 2:{n=d;v=(V+7|0)/8|0;d=13;break}case 1:{o=d;w=(V+7|0)/8|0;d=14;break}default:{d=15;break a}}while(1)if((d|0)==7){i=c[e>>2]|0;a[h>>0]=i>>>22&224|i>>>15&28|i>>>8&3;i=h+1|0;q=p;d=8;continue}else if((d|0)==8){j=c[e>>2]|0;a[i>>0]=j>>>22&224|j>>>15&28|j>>>8&3;j=i+1|0;r=q;d=9;continue}else if((d|0)==9){k=c[e>>2]|0;a[j>>0]=k>>>22&224|k>>>15&28|k>>>8&3;k=j+1|0;s=r;d=10;continue}else if((d|0)==10){l=c[e>>2]|0;a[k>>0]=l>>>22&224|l>>>15&28|l>>>8&3;l=k+1|0;t=s;d=11;continue}else if((d|0)==11){m=c[e>>2]|0;a[l>>0]=m>>>22&224|m>>>15&28|m>>>8&3;m=l+1|0;u=t;d=12;continue}else if((d|0)==12){n=c[e>>2]|0;a[m>>0]=n>>>22&224|n>>>15&28|n>>>8&3;n=m+1|0;v=u;d=13;continue}else if((d|0)==13){o=c[e>>2]|0;a[n>>0]=o>>>22&224|o>>>15&28|o>>>8&3;o=n+1|0;w=v;d=14;continue}else if((d|0)==14){U=c[e>>2]|0;d=o+1|0;a[o>>0]=U>>>22&224|U>>>15&28|U>>>8&3;if((w|0)>1){h=d;p=w+-1|0;d=7;continue}else break}if(!b){d=28;break}else{b=b+-1|0;d=d+W|0;e=e+(X<<2)|0}}if((d|0)!=15)if((d|0)==28)return}else{if(!f)return;b=f+-1|0;b:while(1){switch(V&7|0){case 0:{x=d;F=(V+7|0)/8|0;N=e;d=18;break}case 7:{y=d;G=(V+7|0)/8|0;O=e;d=19;break}case 6:{z=d;H=(V+7|0)/8|0;P=e;d=20;break}case 5:{A=d;I=(V+7|0)/8|0;Q=e;d=21;break}case 4:{B=d;J=(V+7|0)/8|0;R=e;d=22;break}case 3:{C=d;K=(V+7|0)/8|0;S=e;d=23;break}case 2:{D=d;L=(V+7|0)/8|0;T=e;d=24;break}case 1:{E=d;M=(V+7|0)/8|0;U=e;d=25;break}default:{d=26;break b}}while(1)if((d|0)==18){y=c[N>>2]|0;a[x>>0]=a[g+(y>>>22&224|y>>>15&28|y>>>8&3)>>0]|0;y=x+1|0;G=F;O=N+4|0;d=19;continue}else if((d|0)==19){z=c[O>>2]|0;a[y>>0]=a[g+(z>>>22&224|z>>>15&28|z>>>8&3)>>0]|0;z=y+1|0;H=G;P=O+4|0;d=20;continue}else if((d|0)==20){A=c[P>>2]|0;a[z>>0]=a[g+(A>>>22&224|A>>>15&28|A>>>8&3)>>0]|0;A=z+1|0;I=H;Q=P+4|0;d=21;continue}else if((d|0)==21){B=c[Q>>2]|0;a[A>>0]=a[g+(B>>>22&224|B>>>15&28|B>>>8&3)>>0]|0;B=A+1|0;J=I;R=Q+4|0;d=22;continue}else if((d|0)==22){C=c[R>>2]|0;a[B>>0]=a[g+(C>>>22&224|C>>>15&28|C>>>8&3)>>0]|0;C=B+1|0;K=J;S=R+4|0;d=23;continue}else if((d|0)==23){D=c[S>>2]|0;a[C>>0]=a[g+(D>>>22&224|D>>>15&28|D>>>8&3)>>0]|0;D=C+1|0;L=K;T=S+4|0;d=24;continue}else if((d|0)==24){E=c[T>>2]|0;a[D>>0]=a[g+(E>>>22&224|E>>>15&28|E>>>8&3)>>0]|0;E=D+1|0;M=L;U=T+4|0;d=25;continue}else if((d|0)==25){e=c[U>>2]|0;d=E+1|0;a[E>>0]=a[g+(e>>>22&224|e>>>15&28|e>>>8&3)>>0]|0;e=U+4|0;if((M|0)>1){x=d;F=M+-1|0;N=e;d=18;continue}else break}if(!b){d=28;break}else{b=b+-1|0;d=d+W|0;e=e+(X<<2)|0}}if((d|0)!=26)if((d|0)==28)return}}function V9a(e){e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;k=c[e+24>>2]|0;f=c[e+28>>2]|0;m=c[e+16>>2]|0;n=c[e+36>>2]|0;o=c[e+44>>2]|0;l=d[o+9>>0]|0;if(!f)return;g=c[e+20>>2]|0;i=c[e>>2]|0;a:while(1){f=f+-1|0;switch(k&7|0){case 0:{e=g;j=(k+7|0)/8|0;h=4;break}case 7:{j=(k+7|0)/8|0;h=10;break}case 6:{j=(k+7|0)/8|0;h=16;break}case 5:{j=(k+7|0)/8|0;h=22;break}case 4:{j=(k+7|0)/8|0;h=28;break}case 3:{j=(k+7|0)/8|0;h=34;break}case 2:{j=(k+7|0)/8|0;h=40;break}case 1:{j=(k+7|0)/8|0;h=46;break}default:{h=52;break a}}while(1)if((h|0)==4){g=c[i>>2]|0;h=d[594648+(g>>>30)>>0]|0;switch(l|0){case 1:{q=c[o+28>>2]|0;p=c[o+32>>2]|0;a[e>>0]=(g>>>12&255)>>>(q>>>8&255)<<(p>>>8&255)|(g>>>22&255)>>>(q&255)<<(p&255)|(g>>>2&255)>>>(q>>>16&255)<<(p>>>16&255)|h>>>(q>>>24)<<(p>>>24);break}case 2:{p=c[o+28>>2]|0;q=c[o+32>>2]|0;b[e>>1]=(g>>>12&255)>>>(p>>>8&255)<<(q>>>8&255)|(g>>>22&255)>>>(p&255)<<(q&255)|(g>>>2&255)>>>(p>>>16&255)<<(q>>>16&255)|h>>>(p>>>24)<<(q>>>24);break}case 3:{a[e+((d[o+32>>0]|0)>>>3&255)>>0]=g>>>22;a[e+((d[o+33>>0]|0)>>>3&255)>>0]=g>>>12;a[e+((d[o+34>>0]|0)>>>3&255)>>0]=g>>>2;break}case 4:{p=c[o+28>>2]|0;q=c[o+32>>2]|0;c[e>>2]=(g>>>12&255)>>>(p>>>8&255)<<(q>>>8&255)|(g>>>22&255)>>>(p&255)<<(q&255)|(g>>>2&255)>>>(p>>>16&255)<<(q>>>16&255)|h>>>(p>>>24)<<(q>>>24);break}default:{}}g=e+l|0;i=i+4|0;h=10;continue}else if((h|0)==10){e=c[i>>2]|0;h=d[594648+(e>>>30)>>0]|0;switch(l|0){case 1:{p=c[o+28>>2]|0;q=c[o+32>>2]|0;a[g>>0]=(e>>>12&255)>>>(p>>>8&255)<<(q>>>8&255)|(e>>>22&255)>>>(p&255)<<(q&255)|(e>>>2&255)>>>(p>>>16&255)<<(q>>>16&255)|h>>>(p>>>24)<<(q>>>24);break}case 2:{p=c[o+28>>2]|0;q=c[o+32>>2]|0;b[g>>1]=(e>>>12&255)>>>(p>>>8&255)<<(q>>>8&255)|(e>>>22&255)>>>(p&255)<<(q&255)|(e>>>2&255)>>>(p>>>16&255)<<(q>>>16&255)|h>>>(p>>>24)<<(q>>>24);break}case 3:{a[g+((d[o+32>>0]|0)>>>3&255)>>0]=e>>>22;a[g+((d[o+33>>0]|0)>>>3&255)>>0]=e>>>12;a[g+((d[o+34>>0]|0)>>>3&255)>>0]=e>>>2;break}case 4:{p=c[o+28>>2]|0;q=c[o+32>>2]|0;c[g>>2]=(e>>>12&255)>>>(p>>>8&255)<<(q>>>8&255)|(e>>>22&255)>>>(p&255)<<(q&255)|(e>>>2&255)>>>(p>>>16&255)<<(q>>>16&255)|h>>>(p>>>24)<<(q>>>24);break}default:{}}g=g+l|0;i=i+4|0;h=16;continue}else if((h|0)==16){e=c[i>>2]|0;h=d[594648+(e>>>30)>>0]|0;switch(l|0){case 1:{p=c[o+28>>2]|0;q=c[o+32>>2]|0;a[g>>0]=(e>>>12&255)>>>(p>>>8&255)<<(q>>>8&255)|(e>>>22&255)>>>(p&255)<<(q&255)|(e>>>2&255)>>>(p>>>16&255)<<(q>>>16&255)|h>>>(p>>>24)<<(q>>>24);break}case 2:{p=c[o+28>>2]|0;q=c[o+32>>2]|0;b[g>>1]=(e>>>12&255)>>>(p>>>8&255)<<(q>>>8&255)|(e>>>22&255)>>>(p&255)<<(q&255)|(e>>>2&255)>>>(p>>>16&255)<<(q>>>16&255)|h>>>(p>>>24)<<(q>>>24);break}case 3:{a[g+((d[o+32>>0]|0)>>>3&255)>>0]=e>>>22;a[g+((d[o+33>>0]|0)>>>3&255)>>0]=e>>>12;a[g+((d[o+34>>0]|0)>>>3&255)>>0]=e>>>2;break}case 4:{p=c[o+28>>2]|0;q=c[o+32>>2]|0;c[g>>2]=(e>>>12&255)>>>(p>>>8&255)<<(q>>>8&255)|(e>>>22&255)>>>(p&255)<<(q&255)|(e>>>2&255)>>>(p>>>16&255)<<(q>>>16&255)|h>>>(p>>>24)<<(q>>>24);break}default:{}}g=g+l|0;i=i+4|0;h=22;continue}else if((h|0)==22){e=c[i>>2]|0;h=d[594648+(e>>>30)>>0]|0;switch(l|0){case 1:{p=c[o+28>>2]|0;q=c[o+32>>2]|0;a[g>>0]=(e>>>12&255)>>>(p>>>8&255)<<(q>>>8&255)|(e>>>22&255)>>>(p&255)<<(q&255)|(e>>>2&255)>>>(p>>>16&255)<<(q>>>16&255)|h>>>(p>>>24)<<(q>>>24);break}case 2:{p=c[o+28>>2]|0;q=c[o+32>>2]|0;b[g>>1]=(e>>>12&255)>>>(p>>>8&255)<<(q>>>8&255)|(e>>>22&255)>>>(p&255)<<(q&255)|(e>>>2&255)>>>(p>>>16&255)<<(q>>>16&255)|h>>>(p>>>24)<<(q>>>24);break}case 3:{a[g+((d[o+32>>0]|0)>>>3&255)>>0]=e>>>22;a[g+((d[o+33>>0]|0)>>>3&255)>>0]=e>>>12;a[g+((d[o+34>>0]|0)>>>3&255)>>0]=e>>>2;break}case 4:{p=c[o+28>>2]|0;q=c[o+32>>2]|0;c[g>>2]=(e>>>12&255)>>>(p>>>8&255)<<(q>>>8&255)|(e>>>22&255)>>>(p&255)<<(q&255)|(e>>>2&255)>>>(p>>>16&255)<<(q>>>16&255)|h>>>(p>>>24)<<(q>>>24);break}default:{}}g=g+l|0;i=i+4|0;h=28;continue}else if((h|0)==28){e=c[i>>2]|0;h=d[594648+(e>>>30)>>0]|0;switch(l|0){case 1:{p=c[o+28>>2]|0;q=c[o+32>>2]|0;a[g>>0]=(e>>>12&255)>>>(p>>>8&255)<<(q>>>8&255)|(e>>>22&255)>>>(p&255)<<(q&255)|(e>>>2&255)>>>(p>>>16&255)<<(q>>>16&255)|h>>>(p>>>24)<<(q>>>24);break}case 2:{p=c[o+28>>2]|0;q=c[o+32>>2]|0;b[g>>1]=(e>>>12&255)>>>(p>>>8&255)<<(q>>>8&255)|(e>>>22&255)>>>(p&255)<<(q&255)|(e>>>2&255)>>>(p>>>16&255)<<(q>>>16&255)|h>>>(p>>>24)<<(q>>>24);break}case 3:{a[g+((d[o+32>>0]|0)>>>3&255)>>0]=e>>>22;a[g+((d[o+33>>0]|0)>>>3&255)>>0]=e>>>12;a[g+((d[o+34>>0]|0)>>>3&255)>>0]=e>>>2;break}case 4:{p=c[o+28>>2]|0;q=c[o+32>>2]|0;c[g>>2]=(e>>>12&255)>>>(p>>>8&255)<<(q>>>8&255)|(e>>>22&255)>>>(p&255)<<(q&255)|(e>>>2&255)>>>(p>>>16&255)<<(q>>>16&255)|h>>>(p>>>24)<<(q>>>24);break}default:{}}g=g+l|0;i=i+4|0;h=34;continue}else if((h|0)==34){e=c[i>>2]|0;h=d[594648+(e>>>30)>>0]|0;switch(l|0){case 1:{p=c[o+28>>2]|0;q=c[o+32>>2]|0;a[g>>0]=(e>>>12&255)>>>(p>>>8&255)<<(q>>>8&255)|(e>>>22&255)>>>(p&255)<<(q&255)|(e>>>2&255)>>>(p>>>16&255)<<(q>>>16&255)|h>>>(p>>>24)<<(q>>>24);break}case 2:{p=c[o+28>>2]|0;q=c[o+32>>2]|0;b[g>>1]=(e>>>12&255)>>>(p>>>8&255)<<(q>>>8&255)|(e>>>22&255)>>>(p&255)<<(q&255)|(e>>>2&255)>>>(p>>>16&255)<<(q>>>16&255)|h>>>(p>>>24)<<(q>>>24);break}case 3:{a[g+((d[o+32>>0]|0)>>>3&255)>>0]=e>>>22;a[g+((d[o+33>>0]|0)>>>3&255)>>0]=e>>>12;a[g+((d[o+34>>0]|0)>>>3&255)>>0]=e>>>2;break}case 4:{p=c[o+28>>2]|0;q=c[o+32>>2]|0;c[g>>2]=(e>>>12&255)>>>(p>>>8&255)<<(q>>>8&255)|(e>>>22&255)>>>(p&255)<<(q&255)|(e>>>2&255)>>>(p>>>16&255)<<(q>>>16&255)|h>>>(p>>>24)<<(q>>>24);break}default:{}}g=g+l|0;i=i+4|0;h=40;continue}else if((h|0)==40){e=c[i>>2]|0;h=d[594648+(e>>>30)>>0]|0;switch(l|0){case 1:{p=c[o+28>>2]|0;q=c[o+32>>2]|0;a[g>>0]=(e>>>12&255)>>>(p>>>8&255)<<(q>>>8&255)|(e>>>22&255)>>>(p&255)<<(q&255)|(e>>>2&255)>>>(p>>>16&255)<<(q>>>16&255)|h>>>(p>>>24)<<(q>>>24);break}case 2:{p=c[o+28>>2]|0;q=c[o+32>>2]|0;b[g>>1]=(e>>>12&255)>>>(p>>>8&255)<<(q>>>8&255)|(e>>>22&255)>>>(p&255)<<(q&255)|(e>>>2&255)>>>(p>>>16&255)<<(q>>>16&255)|h>>>(p>>>24)<<(q>>>24);break}case 3:{a[g+((d[o+32>>0]|0)>>>3&255)>>0]=e>>>22;a[g+((d[o+33>>0]|0)>>>3&255)>>0]=e>>>12;a[g+((d[o+34>>0]|0)>>>3&255)>>0]=e>>>2;break}case 4:{p=c[o+28>>2]|0;q=c[o+32>>2]|0;c[g>>2]=(e>>>12&255)>>>(p>>>8&255)<<(q>>>8&255)|(e>>>22&255)>>>(p&255)<<(q&255)|(e>>>2&255)>>>(p>>>16&255)<<(q>>>16&255)|h>>>(p>>>24)<<(q>>>24);break}default:{}}g=g+l|0;i=i+4|0;h=46;continue}else if((h|0)==46){e=c[i>>2]|0;h=d[594648+(e>>>30)>>0]|0;switch(l|0){case 1:{p=c[o+28>>2]|0;q=c[o+32>>2]|0;a[g>>0]=(e>>>12&255)>>>(p>>>8&255)<<(q>>>8&255)|(e>>>22&255)>>>(p&255)<<(q&255)|(e>>>2&255)>>>(p>>>16&255)<<(q>>>16&255)|h>>>(p>>>24)<<(q>>>24);break}case 2:{p=c[o+28>>2]|0;q=c[o+32>>2]|0;b[g>>1]=(e>>>12&255)>>>(p>>>8&255)<<(q>>>8&255)|(e>>>22&255)>>>(p&255)<<(q&255)|(e>>>2&255)>>>(p>>>16&255)<<(q>>>16&255)|h>>>(p>>>24)<<(q>>>24);break}case 3:{a[g+((d[o+32>>0]|0)>>>3&255)>>0]=e>>>22;a[g+((d[o+33>>0]|0)>>>3&255)>>0]=e>>>12;a[g+((d[o+34>>0]|0)>>>3&255)>>0]=e>>>2;break}case 4:{p=c[o+28>>2]|0;q=c[o+32>>2]|0;c[g>>2]=(e>>>12&255)>>>(p>>>8&255)<<(q>>>8&255)|(e>>>22&255)>>>(p&255)<<(q&255)|(e>>>2&255)>>>(p>>>16&255)<<(q>>>16&255)|h>>>(p>>>24)<<(q>>>24);break}default:{}}e=g+l|0;h=i+4|0;if((j|0)>1){j=j+-1|0;i=h;h=4;continue}else break}if(!f){h=54;break}else{g=e+n|0;i=h+m|0}}if((h|0)!=52)if((h|0)==54)return}function W9a(b){b=b|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;q=c[b+24>>2]|0;f=c[b+28>>2]|0;s=c[b+16>>2]|0;t=c[b+36>>2]|0;u=c[b+40>>2]|0;r=d[u+9>>0]|0;if(!f)return;g=c[b+20>>2]|0;h=c[b>>2]|0;a:while(1){f=f+-1|0;switch(q&7|0){case 0:{b=g;p=(q+7|0)/8|0;l=4;break}case 7:{p=(q+7|0)/8|0;l=12;break}case 6:{p=(q+7|0)/8|0;l=20;break}case 5:{p=(q+7|0)/8|0;l=28;break}case 4:{p=(q+7|0)/8|0;l=36;break}case 3:{p=(q+7|0)/8|0;l=44;break}case 2:{p=(q+7|0)/8|0;l=52;break}case 1:{p=(q+7|0)/8|0;l=60;break}default:{l=68;break a}}while(1)if((l|0)==4){l=0;switch(r|0){case 1:{l=d[h>>0]|0;j=c[u+32>>2]|0;o=c[u+28>>2]|0;k=a[(c[124356+(o>>>24<<2)>>2]|0)+((c[u+24>>2]&l)>>>(j>>>24))>>0]|0;g=(c[124356+((o>>>16&255)<<2)>>2]|0)+((c[u+20>>2]&l)>>>(j>>>16&255))|0;i=(c[124356+((o>>>8&255)<<2)>>2]|0)+((c[u+16>>2]&l)>>>(j>>>8&255))|0;j=(c[124356+((o&255)<<2)>>2]|0)+((l&c[u+12>>2])>>>(j&255))|0;l=9;break}case 2:{l=e[h>>1]|0;j=c[u+32>>2]|0;o=c[u+28>>2]|0;k=a[(c[124356+(o>>>24<<2)>>2]|0)+((c[u+24>>2]&l)>>>(j>>>24))>>0]|0;g=(c[124356+((o>>>16&255)<<2)>>2]|0)+((c[u+20>>2]&l)>>>(j>>>16&255))|0;i=(c[124356+((o>>>8&255)<<2)>>2]|0)+((c[u+16>>2]&l)>>>(j>>>8&255))|0;j=(c[124356+((o&255)<<2)>>2]|0)+((l&c[u+12>>2])>>>(j&255))|0;l=9;break}case 3:{j=c[u+32>>2]|0;k=-1;g=h+(j>>>19&31)|0;i=h+(j>>>11&31)|0;j=h+(j>>>3&31)|0;l=9;break}case 4:{l=c[h>>2]|0;j=c[u+32>>2]|0;o=c[u+28>>2]|0;k=a[(c[124356+(o>>>24<<2)>>2]|0)+((c[u+24>>2]&l)>>>(j>>>24))>>0]|0;g=(c[124356+((o>>>16&255)<<2)>>2]|0)+((c[u+20>>2]&l)>>>(j>>>16&255))|0;i=(c[124356+((o>>>8&255)<<2)>>2]|0)+((c[u+16>>2]&l)>>>(j>>>8&255))|0;j=(c[124356+((o&255)<<2)>>2]|0)+((c[u+12>>2]&l)>>>(j&255))|0;l=9;break}default:{n=0;k=0;m=0;i=0;j=0;g=0}}if((l|0)==9){l=a[g>>0]|0;o=a[i>>0]|0;g=a[j>>0]|0;if(!(g<<24>>24)){n=0;m=l;i=l&255;j=o;g=o&255}else{n=(g&255)<<22|3145728;m=l;i=l&255;j=o;g=o&255}}c[b>>2]=(((k&255)/85|0)&255)<<30|n|(m<<24>>24==0?0:i<<2|3)|(j<<24>>24==0?0:g<<12|3072);g=b+4|0;h=h+r|0;l=12;continue}else if((l|0)==12){l=0;switch(r|0){case 1:{l=d[h>>0]|0;j=c[u+32>>2]|0;o=c[u+28>>2]|0;k=a[(c[124356+(o>>>24<<2)>>2]|0)+((c[u+24>>2]&l)>>>(j>>>24))>>0]|0;b=(c[124356+((o>>>16&255)<<2)>>2]|0)+((c[u+20>>2]&l)>>>(j>>>16&255))|0;i=(c[124356+((o>>>8&255)<<2)>>2]|0)+((c[u+16>>2]&l)>>>(j>>>8&255))|0;j=(c[124356+((o&255)<<2)>>2]|0)+((l&c[u+12>>2])>>>(j&255))|0;l=17;break}case 2:{l=e[h>>1]|0;j=c[u+32>>2]|0;o=c[u+28>>2]|0;k=a[(c[124356+(o>>>24<<2)>>2]|0)+((c[u+24>>2]&l)>>>(j>>>24))>>0]|0;b=(c[124356+((o>>>16&255)<<2)>>2]|0)+((c[u+20>>2]&l)>>>(j>>>16&255))|0;i=(c[124356+((o>>>8&255)<<2)>>2]|0)+((c[u+16>>2]&l)>>>(j>>>8&255))|0;j=(c[124356+((o&255)<<2)>>2]|0)+((l&c[u+12>>2])>>>(j&255))|0;l=17;break}case 3:{j=c[u+32>>2]|0;k=-1;b=h+(j>>>19&31)|0;i=h+(j>>>11&31)|0;j=h+(j>>>3&31)|0;l=17;break}case 4:{l=c[h>>2]|0;j=c[u+32>>2]|0;o=c[u+28>>2]|0;k=a[(c[124356+(o>>>24<<2)>>2]|0)+((c[u+24>>2]&l)>>>(j>>>24))>>0]|0;b=(c[124356+((o>>>16&255)<<2)>>2]|0)+((c[u+20>>2]&l)>>>(j>>>16&255))|0;i=(c[124356+((o>>>8&255)<<2)>>2]|0)+((c[u+16>>2]&l)>>>(j>>>8&255))|0;j=(c[124356+((o&255)<<2)>>2]|0)+((c[u+12>>2]&l)>>>(j&255))|0;l=17;break}default:{n=0;k=0;m=0;i=0;j=0;b=0}}if((l|0)==17){l=a[b>>0]|0;o=a[i>>0]|0;b=a[j>>0]|0;if(!(b<<24>>24)){n=0;m=l;i=l&255;j=o;b=o&255}else{n=(b&255)<<22|3145728;m=l;i=l&255;j=o;b=o&255}}c[g>>2]=(((k&255)/85|0)&255)<<30|n|(m<<24>>24==0?0:i<<2|3)|(j<<24>>24==0?0:b<<12|3072);g=g+4|0;h=h+r|0;l=20;continue}else if((l|0)==20){l=0;switch(r|0){case 1:{l=d[h>>0]|0;j=c[u+32>>2]|0;o=c[u+28>>2]|0;k=a[(c[124356+(o>>>24<<2)>>2]|0)+((c[u+24>>2]&l)>>>(j>>>24))>>0]|0;b=(c[124356+((o>>>16&255)<<2)>>2]|0)+((c[u+20>>2]&l)>>>(j>>>16&255))|0;i=(c[124356+((o>>>8&255)<<2)>>2]|0)+((c[u+16>>2]&l)>>>(j>>>8&255))|0;j=(c[124356+((o&255)<<2)>>2]|0)+((l&c[u+12>>2])>>>(j&255))|0;l=25;break}case 2:{l=e[h>>1]|0;j=c[u+32>>2]|0;o=c[u+28>>2]|0;k=a[(c[124356+(o>>>24<<2)>>2]|0)+((c[u+24>>2]&l)>>>(j>>>24))>>0]|0;b=(c[124356+((o>>>16&255)<<2)>>2]|0)+((c[u+20>>2]&l)>>>(j>>>16&255))|0;i=(c[124356+((o>>>8&255)<<2)>>2]|0)+((c[u+16>>2]&l)>>>(j>>>8&255))|0;j=(c[124356+((o&255)<<2)>>2]|0)+((l&c[u+12>>2])>>>(j&255))|0;l=25;break}case 3:{j=c[u+32>>2]|0;k=-1;b=h+(j>>>19&31)|0;i=h+(j>>>11&31)|0;j=h+(j>>>3&31)|0;l=25;break}case 4:{l=c[h>>2]|0;j=c[u+32>>2]|0;o=c[u+28>>2]|0;k=a[(c[124356+(o>>>24<<2)>>2]|0)+((c[u+24>>2]&l)>>>(j>>>24))>>0]|0;b=(c[124356+((o>>>16&255)<<2)>>2]|0)+((c[u+20>>2]&l)>>>(j>>>16&255))|0;i=(c[124356+((o>>>8&255)<<2)>>2]|0)+((c[u+16>>2]&l)>>>(j>>>8&255))|0;j=(c[124356+((o&255)<<2)>>2]|0)+((c[u+12>>2]&l)>>>(j&255))|0;l=25;break}default:{n=0;k=0;m=0;i=0;j=0;b=0}}if((l|0)==25){l=a[b>>0]|0;o=a[i>>0]|0;b=a[j>>0]|0;if(!(b<<24>>24)){n=0;m=l;i=l&255;j=o;b=o&255}else{n=(b&255)<<22|3145728;m=l;i=l&255;j=o;b=o&255}}c[g>>2]=(((k&255)/85|0)&255)<<30|n|(m<<24>>24==0?0:i<<2|3)|(j<<24>>24==0?0:b<<12|3072);g=g+4|0;h=h+r|0;l=28;continue}else if((l|0)==28){l=0;switch(r|0){case 1:{l=d[h>>0]|0;j=c[u+32>>2]|0;o=c[u+28>>2]|0;k=a[(c[124356+(o>>>24<<2)>>2]|0)+((c[u+24>>2]&l)>>>(j>>>24))>>0]|0;b=(c[124356+((o>>>16&255)<<2)>>2]|0)+((c[u+20>>2]&l)>>>(j>>>16&255))|0;i=(c[124356+((o>>>8&255)<<2)>>2]|0)+((c[u+16>>2]&l)>>>(j>>>8&255))|0;j=(c[124356+((o&255)<<2)>>2]|0)+((l&c[u+12>>2])>>>(j&255))|0;l=33;break}case 2:{l=e[h>>1]|0;j=c[u+32>>2]|0;o=c[u+28>>2]|0;k=a[(c[124356+(o>>>24<<2)>>2]|0)+((c[u+24>>2]&l)>>>(j>>>24))>>0]|0;b=(c[124356+((o>>>16&255)<<2)>>2]|0)+((c[u+20>>2]&l)>>>(j>>>16&255))|0;i=(c[124356+((o>>>8&255)<<2)>>2]|0)+((c[u+16>>2]&l)>>>(j>>>8&255))|0;j=(c[124356+((o&255)<<2)>>2]|0)+((l&c[u+12>>2])>>>(j&255))|0;l=33;break}case 3:{j=c[u+32>>2]|0;k=-1;b=h+(j>>>19&31)|0;i=h+(j>>>11&31)|0;j=h+(j>>>3&31)|0;l=33;break}case 4:{l=c[h>>2]|0;j=c[u+32>>2]|0;o=c[u+28>>2]|0;k=a[(c[124356+(o>>>24<<2)>>2]|0)+((c[u+24>>2]&l)>>>(j>>>24))>>0]|0;b=(c[124356+((o>>>16&255)<<2)>>2]|0)+((c[u+20>>2]&l)>>>(j>>>16&255))|0;i=(c[124356+((o>>>8&255)<<2)>>2]|0)+((c[u+16>>2]&l)>>>(j>>>8&255))|0;j=(c[124356+((o&255)<<2)>>2]|0)+((c[u+12>>2]&l)>>>(j&255))|0;l=33;break}default:{n=0;k=0;m=0;i=0;j=0;b=0}}if((l|0)==33){l=a[b>>0]|0;o=a[i>>0]|0;b=a[j>>0]|0;if(!(b<<24>>24)){n=0;m=l;i=l&255;j=o;b=o&255}else{n=(b&255)<<22|3145728;m=l;i=l&255;j=o;b=o&255}}c[g>>2]=(((k&255)/85|0)&255)<<30|n|(m<<24>>24==0?0:i<<2|3)|(j<<24>>24==0?0:b<<12|3072);g=g+4|0;h=h+r|0;l=36;continue}else if((l|0)==36){l=0;switch(r|0){case 1:{l=d[h>>0]|0;j=c[u+32>>2]|0;o=c[u+28>>2]|0;k=a[(c[124356+(o>>>24<<2)>>2]|0)+((c[u+24>>2]&l)>>>(j>>>24))>>0]|0;b=(c[124356+((o>>>16&255)<<2)>>2]|0)+((c[u+20>>2]&l)>>>(j>>>16&255))|0;i=(c[124356+((o>>>8&255)<<2)>>2]|0)+((c[u+16>>2]&l)>>>(j>>>8&255))|0;j=(c[124356+((o&255)<<2)>>2]|0)+((l&c[u+12>>2])>>>(j&255))|0;l=41;break}case 2:{l=e[h>>1]|0;j=c[u+32>>2]|0;o=c[u+28>>2]|0;k=a[(c[124356+(o>>>24<<2)>>2]|0)+((c[u+24>>2]&l)>>>(j>>>24))>>0]|0;b=(c[124356+((o>>>16&255)<<2)>>2]|0)+((c[u+20>>2]&l)>>>(j>>>16&255))|0;i=(c[124356+((o>>>8&255)<<2)>>2]|0)+((c[u+16>>2]&l)>>>(j>>>8&255))|0;j=(c[124356+((o&255)<<2)>>2]|0)+((l&c[u+12>>2])>>>(j&255))|0;l=41;break}case 3:{j=c[u+32>>2]|0;k=-1;b=h+(j>>>19&31)|0;i=h+(j>>>11&31)|0;j=h+(j>>>3&31)|0;l=41;break}case 4:{l=c[h>>2]|0;j=c[u+32>>2]|0;o=c[u+28>>2]|0;k=a[(c[124356+(o>>>24<<2)>>2]|0)+((c[u+24>>2]&l)>>>(j>>>24))>>0]|0;b=(c[124356+((o>>>16&255)<<2)>>2]|0)+((c[u+20>>2]&l)>>>(j>>>16&255))|0;i=(c[124356+((o>>>8&255)<<2)>>2]|0)+((c[u+16>>2]&l)>>>(j>>>8&255))|0;j=(c[124356+((o&255)<<2)>>2]|0)+((c[u+12>>2]&l)>>>(j&255))|0;l=41;break}default:{n=0;k=0;m=0;i=0;j=0;b=0}}if((l|0)==41){l=a[b>>0]|0;o=a[i>>0]|0;b=a[j>>0]|0;if(!(b<<24>>24)){n=0;m=l;i=l&255;j=o;b=o&255}else{n=(b&255)<<22|3145728;m=l;i=l&255;j=o;b=o&255}}c[g>>2]=(((k&255)/85|0)&255)<<30|n|(m<<24>>24==0?0:i<<2|3)|(j<<24>>24==0?0:b<<12|3072);g=g+4|0;h=h+r|0;l=44;continue}else if((l|0)==44){l=0;switch(r|0){case 1:{l=d[h>>0]|0;j=c[u+32>>2]|0;o=c[u+28>>2]|0;k=a[(c[124356+(o>>>24<<2)>>2]|0)+((c[u+24>>2]&l)>>>(j>>>24))>>0]|0;b=(c[124356+((o>>>16&255)<<2)>>2]|0)+((c[u+20>>2]&l)>>>(j>>>16&255))|0;i=(c[124356+((o>>>8&255)<<2)>>2]|0)+((c[u+16>>2]&l)>>>(j>>>8&255))|0;j=(c[124356+((o&255)<<2)>>2]|0)+((l&c[u+12>>2])>>>(j&255))|0;l=49;break}case 2:{l=e[h>>1]|0;j=c[u+32>>2]|0;o=c[u+28>>2]|0;k=a[(c[124356+(o>>>24<<2)>>2]|0)+((c[u+24>>2]&l)>>>(j>>>24))>>0]|0;b=(c[124356+((o>>>16&255)<<2)>>2]|0)+((c[u+20>>2]&l)>>>(j>>>16&255))|0;i=(c[124356+((o>>>8&255)<<2)>>2]|0)+((c[u+16>>2]&l)>>>(j>>>8&255))|0;j=(c[124356+((o&255)<<2)>>2]|0)+((l&c[u+12>>2])>>>(j&255))|0;l=49;break}case 3:{j=c[u+32>>2]|0;k=-1;b=h+(j>>>19&31)|0;i=h+(j>>>11&31)|0;j=h+(j>>>3&31)|0;l=49;break}case 4:{l=c[h>>2]|0;j=c[u+32>>2]|0;o=c[u+28>>2]|0;k=a[(c[124356+(o>>>24<<2)>>2]|0)+((c[u+24>>2]&l)>>>(j>>>24))>>0]|0;b=(c[124356+((o>>>16&255)<<2)>>2]|0)+((c[u+20>>2]&l)>>>(j>>>16&255))|0;i=(c[124356+((o>>>8&255)<<2)>>2]|0)+((c[u+16>>2]&l)>>>(j>>>8&255))|0;j=(c[124356+((o&255)<<2)>>2]|0)+((c[u+12>>2]&l)>>>(j&255))|0;l=49;break}default:{n=0;k=0;m=0;i=0;j=0;b=0}}if((l|0)==49){l=a[b>>0]|0;o=a[i>>0]|0;b=a[j>>0]|0;if(!(b<<24>>24)){n=0;m=l;i=l&255;j=o;b=o&255}else{n=(b&255)<<22|3145728;m=l;i=l&255;j=o;b=o&255}}c[g>>2]=(((k&255)/85|0)&255)<<30|n|(m<<24>>24==0?0:i<<2|3)|(j<<24>>24==0?0:b<<12|3072);g=g+4|0;h=h+r|0;l=52;continue}else if((l|0)==52){l=0;switch(r|0){case 1:{l=d[h>>0]|0;j=c[u+32>>2]|0;o=c[u+28>>2]|0;k=a[(c[124356+(o>>>24<<2)>>2]|0)+((c[u+24>>2]&l)>>>(j>>>24))>>0]|0;b=(c[124356+((o>>>16&255)<<2)>>2]|0)+((c[u+20>>2]&l)>>>(j>>>16&255))|0;i=(c[124356+((o>>>8&255)<<2)>>2]|0)+((c[u+16>>2]&l)>>>(j>>>8&255))|0;j=(c[124356+((o&255)<<2)>>2]|0)+((l&c[u+12>>2])>>>(j&255))|0;l=57;break}case 2:{l=e[h>>1]|0;j=c[u+32>>2]|0;o=c[u+28>>2]|0;k=a[(c[124356+(o>>>24<<2)>>2]|0)+((c[u+24>>2]&l)>>>(j>>>24))>>0]|0;b=(c[124356+((o>>>16&255)<<2)>>2]|0)+((c[u+20>>2]&l)>>>(j>>>16&255))|0;i=(c[124356+((o>>>8&255)<<2)>>2]|0)+((c[u+16>>2]&l)>>>(j>>>8&255))|0;j=(c[124356+((o&255)<<2)>>2]|0)+((l&c[u+12>>2])>>>(j&255))|0;l=57;break}case 3:{j=c[u+32>>2]|0;k=-1;b=h+(j>>>19&31)|0;i=h+(j>>>11&31)|0;j=h+(j>>>3&31)|0;l=57;break}case 4:{l=c[h>>2]|0;j=c[u+32>>2]|0;o=c[u+28>>2]|0;k=a[(c[124356+(o>>>24<<2)>>2]|0)+((c[u+24>>2]&l)>>>(j>>>24))>>0]|0;b=(c[124356+((o>>>16&255)<<2)>>2]|0)+((c[u+20>>2]&l)>>>(j>>>16&255))|0;i=(c[124356+((o>>>8&255)<<2)>>2]|0)+((c[u+16>>2]&l)>>>(j>>>8&255))|0;j=(c[124356+((o&255)<<2)>>2]|0)+((c[u+12>>2]&l)>>>(j&255))|0;l=57;break}default:{n=0;k=0;m=0;i=0;j=0;b=0}}if((l|0)==57){l=a[b>>0]|0;o=a[i>>0]|0;b=a[j>>0]|0;if(!(b<<24>>24)){n=0;m=l;i=l&255;j=o;b=o&255}else{n=(b&255)<<22|3145728;m=l;i=l&255;j=o;b=o&255}}c[g>>2]=(((k&255)/85|0)&255)<<30|n|(m<<24>>24==0?0:i<<2|3)|(j<<24>>24==0?0:b<<12|3072);g=g+4|0;h=h+r|0;l=60;continue}else if((l|0)==60){l=0;switch(r|0){case 1:{l=d[h>>0]|0;j=c[u+32>>2]|0;o=c[u+28>>2]|0;k=a[(c[124356+(o>>>24<<2)>>2]|0)+((c[u+24>>2]&l)>>>(j>>>24))>>0]|0;b=(c[124356+((o>>>16&255)<<2)>>2]|0)+((c[u+20>>2]&l)>>>(j>>>16&255))|0;i=(c[124356+((o>>>8&255)<<2)>>2]|0)+((c[u+16>>2]&l)>>>(j>>>8&255))|0;j=(c[124356+((o&255)<<2)>>2]|0)+((l&c[u+12>>2])>>>(j&255))|0;l=65;break}case 2:{l=e[h>>1]|0;j=c[u+32>>2]|0;o=c[u+28>>2]|0;k=a[(c[124356+(o>>>24<<2)>>2]|0)+((c[u+24>>2]&l)>>>(j>>>24))>>0]|0;b=(c[124356+((o>>>16&255)<<2)>>2]|0)+((c[u+20>>2]&l)>>>(j>>>16&255))|0;i=(c[124356+((o>>>8&255)<<2)>>2]|0)+((c[u+16>>2]&l)>>>(j>>>8&255))|0;j=(c[124356+((o&255)<<2)>>2]|0)+((l&c[u+12>>2])>>>(j&255))|0;l=65;break}case 3:{j=c[u+32>>2]|0;k=-1;b=h+(j>>>19&31)|0;i=h+(j>>>11&31)|0;j=h+(j>>>3&31)|0;l=65;break}case 4:{l=c[h>>2]|0;j=c[u+32>>2]|0;o=c[u+28>>2]|0;k=a[(c[124356+(o>>>24<<2)>>2]|0)+((c[u+24>>2]&l)>>>(j>>>24))>>0]|0;b=(c[124356+((o>>>16&255)<<2)>>2]|0)+((c[u+20>>2]&l)>>>(j>>>16&255))|0;i=(c[124356+((o>>>8&255)<<2)>>2]|0)+((c[u+16>>2]&l)>>>(j>>>8&255))|0;j=(c[124356+((o&255)<<2)>>2]|0)+((c[u+12>>2]&l)>>>(j&255))|0;l=65;break}default:{n=0;k=0;m=0;i=0;j=0;b=0}}if((l|0)==65){l=a[b>>0]|0;o=a[i>>0]|0;b=a[j>>0]|0;if(!(b<<24>>24)){n=0;m=l;i=l&255;j=o;b=o&255}else{n=(b&255)<<22|3145728;m=l;i=l&255;j=o;b=o&255}}c[g>>2]=(((k&255)/85|0)&255)<<30|n|(m<<24>>24==0?0:i<<2|3)|(j<<24>>24==0?0:b<<12|3072);b=g+4|0;h=h+r|0;if((p|0)>1){p=p+-1|0;l=4;continue}else break}if(!f){l=70;break}else{g=b+t|0;h=h+s|0}}if((l|0)!=68)if((l|0)==70)return}function X9a(a){a=a|0;var b=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0;T=c[a+24>>2]|0;h=c[a+28>>2]|0;e=c[a>>2]|0;V=c[a+16>>2]|0;b=c[a+20>>2]|0;U=c[a+36>>2]|0;f=c[a+40>>2]|0;g=c[a+44>>2]|0;if(!(c[g+24>>2]|0)){i=c[f+16>>2]|c[f+12>>2]|c[f+20>>2];if(!h)return;switch(T&7|0){case 0:{g=h+-1|0;while(1){f=(T+7|0)/8|0;while(1){c[b>>2]=c[e>>2]&i;c[b+4>>2]=c[e+4>>2]&i;c[b+8>>2]=c[e+8>>2]&i;c[b+12>>2]=c[e+12>>2]&i;c[b+16>>2]=c[e+16>>2]&i;c[b+20>>2]=c[e+20>>2]&i;c[b+24>>2]=c[e+24>>2]&i;c[b+28>>2]=c[e+28>>2]&i;b=b+32|0;e=e+32|0;if((f|0)>1)f=f+-1|0;else break}if(!g)break;else{g=g+-1|0;b=b+U|0;e=e+V|0}}return}case 7:{h=h+-1|0;while(1){a=(T+7|0)/8|0;while(1){c[b>>2]=c[e>>2]&i;c[b+4>>2]=c[e+4>>2]&i;c[b+8>>2]=c[e+8>>2]&i;c[b+12>>2]=c[e+12>>2]&i;c[b+16>>2]=c[e+16>>2]&i;c[b+20>>2]=c[e+20>>2]&i;c[b+24>>2]=c[e+24>>2]&i;f=b+28|0;g=e+28|0;if((a|0)<=1)break;c[f>>2]=c[g>>2]&i;b=b+32|0;a=a+-1|0;e=e+32|0}if(!h)break;else{h=h+-1|0;b=f+U|0;e=g+V|0}}return}default:{f=h+-1|0;a:while(1){switch(T&7|0){case 1:{o=b;G=(T+7|0)/8|0;M=e;b=37;break}case 2:{n=b;F=(T+7|0)/8|0;L=e;b=36;break}case 6:{j=b;B=(T+7|0)/8|0;H=e;b=32;break}case 5:{k=b;C=(T+7|0)/8|0;I=e;b=33;break}case 4:{l=b;D=(T+7|0)/8|0;J=e;b=34;break}case 3:{m=b;E=(T+7|0)/8|0;K=e;b=35;break}default:{b=38;break a}}while(1)if((b|0)==32){c[j>>2]=c[H>>2]&i;k=j+4|0;C=B;I=H+4|0;b=33;continue}else if((b|0)==33){c[k>>2]=c[I>>2]&i;l=k+4|0;D=C;J=I+4|0;b=34;continue}else if((b|0)==34){c[l>>2]=c[J>>2]&i;m=l+4|0;E=D;K=J+4|0;b=35;continue}else if((b|0)==35){c[m>>2]=c[K>>2]&i;n=m+4|0;F=E;L=K+4|0;b=36;continue}else if((b|0)==36){c[n>>2]=c[L>>2]&i;o=n+4|0;G=F;M=L+4|0;b=37;continue}else if((b|0)==37){c[o>>2]=c[M>>2]&i;b=o+4|0;e=M+4|0;if((G|0)<=1)break;c[b>>2]=c[e>>2]&i;c[o+8>>2]=c[M+8>>2]&i;j=o+12|0;B=G+-1|0;H=M+12|0;b=32;continue}if(!f){b=40;break}else{f=f+-1|0;b=b+U|0;e=e+V|0}}if((b|0)!=38)if((b|0)==40)return}}}else{i=(d[a+63>>0]|0)>>>(d[g+31>>0]|0)<<(d[g+35>>0]|0);if(!h)return;switch(T&7|0){case 0:{g=h+-1|0;while(1){f=(T+7|0)/8|0;while(1){c[b>>2]=c[e>>2]|i;c[b+4>>2]=c[e+4>>2]|i;c[b+8>>2]=c[e+8>>2]|i;c[b+12>>2]=c[e+12>>2]|i;c[b+16>>2]=c[e+16>>2]|i;c[b+20>>2]=c[e+20>>2]|i;c[b+24>>2]=c[e+24>>2]|i;c[b+28>>2]=c[e+28>>2]|i;b=b+32|0;e=e+32|0;if((f|0)>1)f=f+-1|0;else break}if(!g)break;else{g=g+-1|0;b=b+U|0;e=e+V|0}}return}case 7:{h=h+-1|0;while(1){a=(T+7|0)/8|0;while(1){c[b>>2]=c[e>>2]|i;c[b+4>>2]=c[e+4>>2]|i;c[b+8>>2]=c[e+8>>2]|i;c[b+12>>2]=c[e+12>>2]|i;c[b+16>>2]=c[e+16>>2]|i;c[b+20>>2]=c[e+20>>2]|i;c[b+24>>2]=c[e+24>>2]|i;f=b+28|0;g=e+28|0;if((a|0)<=1)break;c[f>>2]=c[g>>2]|i;b=b+32|0;a=a+-1|0;e=e+32|0}if(!h)break;else{h=h+-1|0;b=f+U|0;e=g+V|0}}return}default:{f=h+-1|0;b:while(1){switch(T&7|0){case 1:{u=b;A=(T+7|0)/8|0;S=e;b=18;break}case 2:{t=b;z=(T+7|0)/8|0;R=e;b=17;break}case 6:{p=b;v=(T+7|0)/8|0;N=e;b=13;break}case 5:{q=b;w=(T+7|0)/8|0;O=e;b=14;break}case 4:{r=b;x=(T+7|0)/8|0;P=e;b=15;break}case 3:{s=b;y=(T+7|0)/8|0;Q=e;b=16;break}default:{b=19;break b}}while(1)if((b|0)==13){c[p>>2]=c[N>>2]|i;q=p+4|0;w=v;O=N+4|0;b=14;continue}else if((b|0)==14){c[q>>2]=c[O>>2]|i;r=q+4|0;x=w;P=O+4|0;b=15;continue}else if((b|0)==15){c[r>>2]=c[P>>2]|i;s=r+4|0;y=x;Q=P+4|0;b=16;continue}else if((b|0)==16){c[s>>2]=c[Q>>2]|i;t=s+4|0;z=y;R=Q+4|0;b=17;continue}else if((b|0)==17){c[t>>2]=c[R>>2]|i;u=t+4|0;A=z;S=R+4|0;b=18;continue}else if((b|0)==18){c[u>>2]=c[S>>2]|i;b=u+4|0;e=S+4|0;if((A|0)<=1)break;c[b>>2]=c[e>>2]|i;c[u+8>>2]=c[S+8>>2]|i;p=u+12|0;v=A+-1|0;N=S+12|0;b=13;continue}if(!f){b=40;break}else{f=f+-1|0;b=b+U|0;e=e+V|0}}if((b|0)!=19)if((b|0)==40)return}}}}function Y9a(a){a=a|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;k=c[a+24>>2]|0;d=c[a+28>>2]|0;f=c[a>>2]|0;e=c[a+20>>2]|0;l=~c[(c[a+40>>2]|0)+24>>2];m=(c[a+16>>2]|0)/2|0;n=(c[a+36>>2]|0)/2|0;j=c[a+56>>2]&l;if(!d)return;if(!(k&7)){g=d+-1|0;a=e;d=f;while(1){e=a;f=(k+7|0)/8|0;while(1){a=b[d>>1]|0;if((a&65535&l|0)!=(j|0))b[e>>1]=a;a=b[d+2>>1]|0;if((a&65535&l|0)!=(j|0))b[e+2>>1]=a;a=b[d+4>>1]|0;if((a&65535&l|0)!=(j|0))b[e+4>>1]=a;a=b[d+6>>1]|0;if((a&65535&l|0)!=(j|0))b[e+6>>1]=a;a=b[d+8>>1]|0;if((a&65535&l|0)!=(j|0))b[e+8>>1]=a;a=b[d+10>>1]|0;if((a&65535&l|0)!=(j|0))b[e+10>>1]=a;a=b[d+12>>1]|0;if((a&65535&l|0)!=(j|0))b[e+12>>1]=a;a=b[d+14>>1]|0;if((a&65535&l|0)!=(j|0))b[e+14>>1]=a;a=e+16|0;d=d+16|0;if((f|0)>1){e=a;f=f+-1|0}else break}if(!g)break;else{g=g+-1|0;a=a+(n<<1)|0;d=d+(m<<1)|0}}return}else{i=d+-1|0;a=e}a:while(1){switch(k&7|0){case 1:{g=a;h=(k+7|0)/8|0;a=44;break}case 7:{d=a;e=(k+7|0)/8|0;a=26;break}case 6:{d=a;e=(k+7|0)/8|0;a=29;break}case 5:{d=a;e=(k+7|0)/8|0;a=32;break}case 4:{d=a;e=(k+7|0)/8|0;a=35;break}case 3:{d=a;e=(k+7|0)/8|0;a=38;break}case 2:{d=a;e=(k+7|0)/8|0;a=41;break}default:{a=47;break a}}while(1)if((a|0)==26){a=b[f>>1]|0;if((a&65535&l|0)!=(j|0))b[d>>1]=a;d=d+2|0;f=f+2|0;a=29;continue}else if((a|0)==29){a=b[f>>1]|0;if((a&65535&l|0)!=(j|0))b[d>>1]=a;d=d+2|0;f=f+2|0;a=32;continue}else if((a|0)==32){a=b[f>>1]|0;if((a&65535&l|0)!=(j|0))b[d>>1]=a;d=d+2|0;f=f+2|0;a=35;continue}else if((a|0)==35){a=b[f>>1]|0;if((a&65535&l|0)!=(j|0))b[d>>1]=a;d=d+2|0;f=f+2|0;a=38;continue}else if((a|0)==38){a=b[f>>1]|0;if((a&65535&l|0)!=(j|0))b[d>>1]=a;d=d+2|0;f=f+2|0;a=41;continue}else if((a|0)==41){a=b[f>>1]|0;if((a&65535&l|0)!=(j|0))b[d>>1]=a;g=d+2|0;h=e;f=f+2|0;a=44;continue}else if((a|0)==44){a=b[f>>1]|0;if((a&65535&l|0)!=(j|0))b[g>>1]=a;e=g+2|0;d=f+2|0;if((h|0)<=1)break;a=b[d>>1]|0;if((a&65535&l|0)!=(j|0))b[e>>1]=a;d=g+4|0;e=h+-1|0;f=f+4|0;a=26;continue}if(!i){a=49;break}else{i=i+-1|0;a=e+(n<<1)|0;f=d+(m<<1)|0}}if((a|0)!=47)if((a|0)==49)return}function Z9a(b){b=b|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0;fa=c[b+24>>2]|0;h=c[b+28>>2]|0;f=c[b>>2]|0;ka=c[b+16>>2]|0;g=c[b+20>>2]|0;ga=c[b+36>>2]|0;ha=c[b+40>>2]|0;Z=c[b+48>>2]|0;ia=~c[ha+24>>2];ja=d[ha+9>>0]|0;ea=c[b+56>>2]&ia;if(!Z){if(!h)return;i=h+-1|0;a:while(1){switch(fa&7|0){case 0:{_=g;aa=(fa+7|0)/8|0;ca=f;f=7;break}case 7:{q=g;x=(fa+7|0)/8|0;S=f;f=15;break}case 6:{r=g;y=(fa+7|0)/8|0;T=f;f=23;break}case 5:{s=g;z=(fa+7|0)/8|0;U=f;f=31;break}case 4:{t=g;A=(fa+7|0)/8|0;V=f;f=39;break}case 3:{u=g;B=(fa+7|0)/8|0;W=f;f=47;break}case 2:{v=g;C=(fa+7|0)/8|0;X=f;f=55;break}case 1:{w=g;D=(fa+7|0)/8|0;Y=f;f=63;break}default:{f=71;break a}}while(1)if((f|0)==7){switch(ja|0){case 1:{da=d[ca>>0]|0;h=c[ha+32>>2]|0;ba=c[ha+28>>2]|0;f=da;b=a[(c[124356+((ba>>>16&255)<<2)>>2]|0)+((c[ha+20>>2]&da)>>>(h>>>16&255))>>0]|0;g=a[(c[124356+((ba>>>8&255)<<2)>>2]|0)+((c[ha+16>>2]&da)>>>(h>>>8&255))>>0]|0;h=a[(c[124356+((ba&255)<<2)>>2]|0)+((da&c[ha+12>>2])>>>(h&255))>>0]|0;break}case 2:{da=e[ca>>1]|0;h=c[ha+32>>2]|0;ba=c[ha+28>>2]|0;f=da;b=a[(c[124356+((ba>>>16&255)<<2)>>2]|0)+((c[ha+20>>2]&da)>>>(h>>>16&255))>>0]|0;g=a[(c[124356+((ba>>>8&255)<<2)>>2]|0)+((c[ha+16>>2]&da)>>>(h>>>8&255))>>0]|0;h=a[(c[124356+((ba&255)<<2)>>2]|0)+((da&c[ha+12>>2])>>>(h&255))>>0]|0;break}case 3:{h=c[ha+32>>2]|0;f=0;b=a[ca+(h>>>19&31)>>0]|0;g=a[ca+(h>>>11&31)>>0]|0;h=a[ca+(h>>>3&31)>>0]|0;break}case 4:{da=c[ca>>2]|0;h=c[ha+32>>2]|0;ba=c[ha+28>>2]|0;f=da;b=a[(c[124356+((ba>>>16&255)<<2)>>2]|0)+((c[ha+20>>2]&da)>>>(h>>>16&255))>>0]|0;g=a[(c[124356+((ba>>>8&255)<<2)>>2]|0)+((c[ha+16>>2]&da)>>>(h>>>8&255))>>0]|0;h=a[(c[124356+((ba&255)<<2)>>2]|0)+((c[ha+12>>2]&da)>>>(h&255))>>0]|0;break}default:{f=0;b=0;g=0;h=0}}if((f&ia|0)!=(ea|0))a[_>>0]=(g&255)>>>5<<2|h&224|(b&255)>>>6;q=_+1|0;x=aa;S=ca+ja|0;f=15;continue}else if((f|0)==15){switch(ja|0){case 1:{da=d[S>>0]|0;h=c[ha+32>>2]|0;ba=c[ha+28>>2]|0;f=da;b=a[(c[124356+((ba>>>16&255)<<2)>>2]|0)+((c[ha+20>>2]&da)>>>(h>>>16&255))>>0]|0;g=a[(c[124356+((ba>>>8&255)<<2)>>2]|0)+((c[ha+16>>2]&da)>>>(h>>>8&255))>>0]|0;h=a[(c[124356+((ba&255)<<2)>>2]|0)+((da&c[ha+12>>2])>>>(h&255))>>0]|0;break}case 2:{da=e[S>>1]|0;h=c[ha+32>>2]|0;ba=c[ha+28>>2]|0;f=da;b=a[(c[124356+((ba>>>16&255)<<2)>>2]|0)+((c[ha+20>>2]&da)>>>(h>>>16&255))>>0]|0;g=a[(c[124356+((ba>>>8&255)<<2)>>2]|0)+((c[ha+16>>2]&da)>>>(h>>>8&255))>>0]|0;h=a[(c[124356+((ba&255)<<2)>>2]|0)+((da&c[ha+12>>2])>>>(h&255))>>0]|0;break}case 3:{h=c[ha+32>>2]|0;f=0;b=a[S+(h>>>19&31)>>0]|0;g=a[S+(h>>>11&31)>>0]|0;h=a[S+(h>>>3&31)>>0]|0;break}case 4:{da=c[S>>2]|0;h=c[ha+32>>2]|0;ba=c[ha+28>>2]|0;f=da;b=a[(c[124356+((ba>>>16&255)<<2)>>2]|0)+((c[ha+20>>2]&da)>>>(h>>>16&255))>>0]|0;g=a[(c[124356+((ba>>>8&255)<<2)>>2]|0)+((c[ha+16>>2]&da)>>>(h>>>8&255))>>0]|0;h=a[(c[124356+((ba&255)<<2)>>2]|0)+((c[ha+12>>2]&da)>>>(h&255))>>0]|0;break}default:{f=0;b=0;g=0;h=0}}if((f&ia|0)!=(ea|0))a[q>>0]=(g&255)>>>5<<2|h&224|(b&255)>>>6;r=q+1|0;y=x;T=S+ja|0;f=23;continue}else if((f|0)==23){switch(ja|0){case 1:{da=d[T>>0]|0;h=c[ha+32>>2]|0;ba=c[ha+28>>2]|0;f=da;b=a[(c[124356+((ba>>>16&255)<<2)>>2]|0)+((c[ha+20>>2]&da)>>>(h>>>16&255))>>0]|0;g=a[(c[124356+((ba>>>8&255)<<2)>>2]|0)+((c[ha+16>>2]&da)>>>(h>>>8&255))>>0]|0;h=a[(c[124356+((ba&255)<<2)>>2]|0)+((da&c[ha+12>>2])>>>(h&255))>>0]|0;break}case 2:{da=e[T>>1]|0;h=c[ha+32>>2]|0;ba=c[ha+28>>2]|0;f=da;b=a[(c[124356+((ba>>>16&255)<<2)>>2]|0)+((c[ha+20>>2]&da)>>>(h>>>16&255))>>0]|0;g=a[(c[124356+((ba>>>8&255)<<2)>>2]|0)+((c[ha+16>>2]&da)>>>(h>>>8&255))>>0]|0;h=a[(c[124356+((ba&255)<<2)>>2]|0)+((da&c[ha+12>>2])>>>(h&255))>>0]|0;break}case 3:{h=c[ha+32>>2]|0;f=0;b=a[T+(h>>>19&31)>>0]|0;g=a[T+(h>>>11&31)>>0]|0;h=a[T+(h>>>3&31)>>0]|0;break}case 4:{da=c[T>>2]|0;h=c[ha+32>>2]|0;ba=c[ha+28>>2]|0;f=da;b=a[(c[124356+((ba>>>16&255)<<2)>>2]|0)+((c[ha+20>>2]&da)>>>(h>>>16&255))>>0]|0;g=a[(c[124356+((ba>>>8&255)<<2)>>2]|0)+((c[ha+16>>2]&da)>>>(h>>>8&255))>>0]|0;h=a[(c[124356+((ba&255)<<2)>>2]|0)+((c[ha+12>>2]&da)>>>(h&255))>>0]|0;break}default:{f=0;b=0;g=0;h=0}}if((f&ia|0)!=(ea|0))a[r>>0]=(g&255)>>>5<<2|h&224|(b&255)>>>6;s=r+1|0;z=y;U=T+ja|0;f=31;continue}else if((f|0)==31){switch(ja|0){case 1:{da=d[U>>0]|0;h=c[ha+32>>2]|0;ba=c[ha+28>>2]|0;f=da;b=a[(c[124356+((ba>>>16&255)<<2)>>2]|0)+((c[ha+20>>2]&da)>>>(h>>>16&255))>>0]|0;g=a[(c[124356+((ba>>>8&255)<<2)>>2]|0)+((c[ha+16>>2]&da)>>>(h>>>8&255))>>0]|0;h=a[(c[124356+((ba&255)<<2)>>2]|0)+((da&c[ha+12>>2])>>>(h&255))>>0]|0;break}case 2:{da=e[U>>1]|0;h=c[ha+32>>2]|0;ba=c[ha+28>>2]|0;f=da;b=a[(c[124356+((ba>>>16&255)<<2)>>2]|0)+((c[ha+20>>2]&da)>>>(h>>>16&255))>>0]|0;g=a[(c[124356+((ba>>>8&255)<<2)>>2]|0)+((c[ha+16>>2]&da)>>>(h>>>8&255))>>0]|0;h=a[(c[124356+((ba&255)<<2)>>2]|0)+((da&c[ha+12>>2])>>>(h&255))>>0]|0;break}case 3:{h=c[ha+32>>2]|0;f=0;b=a[U+(h>>>19&31)>>0]|0;g=a[U+(h>>>11&31)>>0]|0;h=a[U+(h>>>3&31)>>0]|0;break}case 4:{da=c[U>>2]|0;h=c[ha+32>>2]|0;ba=c[ha+28>>2]|0;f=da;b=a[(c[124356+((ba>>>16&255)<<2)>>2]|0)+((c[ha+20>>2]&da)>>>(h>>>16&255))>>0]|0;g=a[(c[124356+((ba>>>8&255)<<2)>>2]|0)+((c[ha+16>>2]&da)>>>(h>>>8&255))>>0]|0;h=a[(c[124356+((ba&255)<<2)>>2]|0)+((c[ha+12>>2]&da)>>>(h&255))>>0]|0;break}default:{f=0;b=0;g=0;h=0}}if((f&ia|0)!=(ea|0))a[s>>0]=(g&255)>>>5<<2|h&224|(b&255)>>>6;t=s+1|0;A=z;V=U+ja|0;f=39;continue}else if((f|0)==39){switch(ja|0){case 1:{da=d[V>>0]|0;h=c[ha+32>>2]|0;ba=c[ha+28>>2]|0;f=da;b=a[(c[124356+((ba>>>16&255)<<2)>>2]|0)+((c[ha+20>>2]&da)>>>(h>>>16&255))>>0]|0;g=a[(c[124356+((ba>>>8&255)<<2)>>2]|0)+((c[ha+16>>2]&da)>>>(h>>>8&255))>>0]|0;h=a[(c[124356+((ba&255)<<2)>>2]|0)+((da&c[ha+12>>2])>>>(h&255))>>0]|0;break}case 2:{da=e[V>>1]|0;h=c[ha+32>>2]|0;ba=c[ha+28>>2]|0;f=da;b=a[(c[124356+((ba>>>16&255)<<2)>>2]|0)+((c[ha+20>>2]&da)>>>(h>>>16&255))>>0]|0;g=a[(c[124356+((ba>>>8&255)<<2)>>2]|0)+((c[ha+16>>2]&da)>>>(h>>>8&255))>>0]|0;h=a[(c[124356+((ba&255)<<2)>>2]|0)+((da&c[ha+12>>2])>>>(h&255))>>0]|0;break}case 3:{h=c[ha+32>>2]|0;f=0;b=a[V+(h>>>19&31)>>0]|0;g=a[V+(h>>>11&31)>>0]|0;h=a[V+(h>>>3&31)>>0]|0;break}case 4:{da=c[V>>2]|0;h=c[ha+32>>2]|0;ba=c[ha+28>>2]|0;f=da;b=a[(c[124356+((ba>>>16&255)<<2)>>2]|0)+((c[ha+20>>2]&da)>>>(h>>>16&255))>>0]|0;g=a[(c[124356+((ba>>>8&255)<<2)>>2]|0)+((c[ha+16>>2]&da)>>>(h>>>8&255))>>0]|0;h=a[(c[124356+((ba&255)<<2)>>2]|0)+((c[ha+12>>2]&da)>>>(h&255))>>0]|0;break}default:{f=0;b=0;g=0;h=0}}if((f&ia|0)!=(ea|0))a[t>>0]=(g&255)>>>5<<2|h&224|(b&255)>>>6;u=t+1|0;B=A;W=V+ja|0;f=47;continue}else if((f|0)==47){switch(ja|0){case 1:{da=d[W>>0]|0;h=c[ha+32>>2]|0;ba=c[ha+28>>2]|0;f=da;b=a[(c[124356+((ba>>>16&255)<<2)>>2]|0)+((c[ha+20>>2]&da)>>>(h>>>16&255))>>0]|0;g=a[(c[124356+((ba>>>8&255)<<2)>>2]|0)+((c[ha+16>>2]&da)>>>(h>>>8&255))>>0]|0;h=a[(c[124356+((ba&255)<<2)>>2]|0)+((da&c[ha+12>>2])>>>(h&255))>>0]|0;break}case 2:{da=e[W>>1]|0;h=c[ha+32>>2]|0;ba=c[ha+28>>2]|0;f=da;b=a[(c[124356+((ba>>>16&255)<<2)>>2]|0)+((c[ha+20>>2]&da)>>>(h>>>16&255))>>0]|0;g=a[(c[124356+((ba>>>8&255)<<2)>>2]|0)+((c[ha+16>>2]&da)>>>(h>>>8&255))>>0]|0;h=a[(c[124356+((ba&255)<<2)>>2]|0)+((da&c[ha+12>>2])>>>(h&255))>>0]|0;break}case 3:{h=c[ha+32>>2]|0;f=0;b=a[W+(h>>>19&31)>>0]|0;g=a[W+(h>>>11&31)>>0]|0;h=a[W+(h>>>3&31)>>0]|0;break}case 4:{da=c[W>>2]|0;h=c[ha+32>>2]|0;ba=c[ha+28>>2]|0;f=da;b=a[(c[124356+((ba>>>16&255)<<2)>>2]|0)+((c[ha+20>>2]&da)>>>(h>>>16&255))>>0]|0;g=a[(c[124356+((ba>>>8&255)<<2)>>2]|0)+((c[ha+16>>2]&da)>>>(h>>>8&255))>>0]|0;h=a[(c[124356+((ba&255)<<2)>>2]|0)+((c[ha+12>>2]&da)>>>(h&255))>>0]|0;break}default:{f=0;b=0;g=0;h=0}}if((f&ia|0)!=(ea|0))a[u>>0]=(g&255)>>>5<<2|h&224|(b&255)>>>6;v=u+1|0;C=B;X=W+ja|0;f=55;continue}else if((f|0)==55){switch(ja|0){case 1:{da=d[X>>0]|0;h=c[ha+32>>2]|0;ba=c[ha+28>>2]|0;f=da;b=a[(c[124356+((ba>>>16&255)<<2)>>2]|0)+((c[ha+20>>2]&da)>>>(h>>>16&255))>>0]|0;g=a[(c[124356+((ba>>>8&255)<<2)>>2]|0)+((c[ha+16>>2]&da)>>>(h>>>8&255))>>0]|0;h=a[(c[124356+((ba&255)<<2)>>2]|0)+((da&c[ha+12>>2])>>>(h&255))>>0]|0;break}case 2:{da=e[X>>1]|0;h=c[ha+32>>2]|0;ba=c[ha+28>>2]|0;f=da;b=a[(c[124356+((ba>>>16&255)<<2)>>2]|0)+((c[ha+20>>2]&da)>>>(h>>>16&255))>>0]|0;g=a[(c[124356+((ba>>>8&255)<<2)>>2]|0)+((c[ha+16>>2]&da)>>>(h>>>8&255))>>0]|0;h=a[(c[124356+((ba&255)<<2)>>2]|0)+((da&c[ha+12>>2])>>>(h&255))>>0]|0;break}case 3:{h=c[ha+32>>2]|0;f=0;b=a[X+(h>>>19&31)>>0]|0;g=a[X+(h>>>11&31)>>0]|0;h=a[X+(h>>>3&31)>>0]|0;break}case 4:{da=c[X>>2]|0;h=c[ha+32>>2]|0;ba=c[ha+28>>2]|0;f=da;b=a[(c[124356+((ba>>>16&255)<<2)>>2]|0)+((c[ha+20>>2]&da)>>>(h>>>16&255))>>0]|0;g=a[(c[124356+((ba>>>8&255)<<2)>>2]|0)+((c[ha+16>>2]&da)>>>(h>>>8&255))>>0]|0;h=a[(c[124356+((ba&255)<<2)>>2]|0)+((c[ha+12>>2]&da)>>>(h&255))>>0]|0;break}default:{f=0;b=0;g=0;h=0}}if((f&ia|0)!=(ea|0))a[v>>0]=(g&255)>>>5<<2|h&224|(b&255)>>>6;w=v+1|0;D=C;Y=X+ja|0;f=63;continue}else if((f|0)==63){switch(ja|0){case 1:{da=d[Y>>0]|0;h=c[ha+32>>2]|0;ba=c[ha+28>>2]|0;f=da;b=a[(c[124356+((ba>>>16&255)<<2)>>2]|0)+((c[ha+20>>2]&da)>>>(h>>>16&255))>>0]|0;g=a[(c[124356+((ba>>>8&255)<<2)>>2]|0)+((c[ha+16>>2]&da)>>>(h>>>8&255))>>0]|0;h=a[(c[124356+((ba&255)<<2)>>2]|0)+((da&c[ha+12>>2])>>>(h&255))>>0]|0;break}case 2:{da=e[Y>>1]|0;h=c[ha+32>>2]|0;ba=c[ha+28>>2]|0;f=da;b=a[(c[124356+((ba>>>16&255)<<2)>>2]|0)+((c[ha+20>>2]&da)>>>(h>>>16&255))>>0]|0;g=a[(c[124356+((ba>>>8&255)<<2)>>2]|0)+((c[ha+16>>2]&da)>>>(h>>>8&255))>>0]|0;h=a[(c[124356+((ba&255)<<2)>>2]|0)+((da&c[ha+12>>2])>>>(h&255))>>0]|0;break}case 3:{h=c[ha+32>>2]|0;f=0;b=a[Y+(h>>>19&31)>>0]|0;g=a[Y+(h>>>11&31)>>0]|0;h=a[Y+(h>>>3&31)>>0]|0;break}case 4:{da=c[Y>>2]|0;h=c[ha+32>>2]|0;ba=c[ha+28>>2]|0;f=da;b=a[(c[124356+((ba>>>16&255)<<2)>>2]|0)+((c[ha+20>>2]&da)>>>(h>>>16&255))>>0]|0;g=a[(c[124356+((ba>>>8&255)<<2)>>2]|0)+((c[ha+16>>2]&da)>>>(h>>>8&255))>>0]|0;h=a[(c[124356+((ba&255)<<2)>>2]|0)+((c[ha+12>>2]&da)>>>(h&255))>>0]|0;break}default:{f=0;b=0;g=0;h=0}}if((f&ia|0)!=(ea|0))a[w>>0]=(g&255)>>>5<<2|h&224|(b&255)>>>6;f=w+1|0;b=Y+ja|0;if((D|0)>1){_=f;aa=D+-1|0;ca=b;f=7;continue}else break}if(!i){f=140;break}else{i=i+-1|0;g=f+ga|0;f=b+ka|0}}if((f|0)!=71)if((f|0)==140)return}else{if(!h)return;i=h+-1|0;b:while(1){switch(fa&7|0){case 0:{$=g;ba=(fa+7|0)/8|0;da=f;f=74;break}case 7:{j=g;E=(fa+7|0)/8|0;L=f;f=82;break}case 6:{k=g;F=(fa+7|0)/8|0;M=f;f=90;break}case 5:{l=g;G=(fa+7|0)/8|0;N=f;f=98;break}case 4:{m=g;H=(fa+7|0)/8|0;O=f;f=106;break}case 3:{n=g;I=(fa+7|0)/8|0;P=f;f=114;break}case 2:{o=g;J=(fa+7|0)/8|0;Q=f;f=122;break}case 1:{p=g;K=(fa+7|0)/8|0;R=f;f=130;break}default:{f=138;break b}}while(1)if((f|0)==74){switch(ja|0){case 1:{ca=d[da>>0]|0;h=c[ha+32>>2]|0;aa=c[ha+28>>2]|0;f=ca;b=a[(c[124356+((aa>>>16&255)<<2)>>2]|0)+((c[ha+20>>2]&ca)>>>(h>>>16&255))>>0]|0;g=a[(c[124356+((aa>>>8&255)<<2)>>2]|0)+((c[ha+16>>2]&ca)>>>(h>>>8&255))>>0]|0;h=a[(c[124356+((aa&255)<<2)>>2]|0)+((ca&c[ha+12>>2])>>>(h&255))>>0]|0;break}case 2:{ca=e[da>>1]|0;h=c[ha+32>>2]|0;aa=c[ha+28>>2]|0;f=ca;b=a[(c[124356+((aa>>>16&255)<<2)>>2]|0)+((c[ha+20>>2]&ca)>>>(h>>>16&255))>>0]|0;g=a[(c[124356+((aa>>>8&255)<<2)>>2]|0)+((c[ha+16>>2]&ca)>>>(h>>>8&255))>>0]|0;h=a[(c[124356+((aa&255)<<2)>>2]|0)+((ca&c[ha+12>>2])>>>(h&255))>>0]|0;break}case 3:{h=c[ha+32>>2]|0;f=0;b=a[da+(h>>>19&31)>>0]|0;g=a[da+(h>>>11&31)>>0]|0;h=a[da+(h>>>3&31)>>0]|0;break}case 4:{ca=c[da>>2]|0;h=c[ha+32>>2]|0;aa=c[ha+28>>2]|0;f=ca;b=a[(c[124356+((aa>>>16&255)<<2)>>2]|0)+((c[ha+20>>2]&ca)>>>(h>>>16&255))>>0]|0;g=a[(c[124356+((aa>>>8&255)<<2)>>2]|0)+((c[ha+16>>2]&ca)>>>(h>>>8&255))>>0]|0;h=a[(c[124356+((aa&255)<<2)>>2]|0)+((c[ha+12>>2]&ca)>>>(h&255))>>0]|0;break}default:{f=0;b=0;g=0;h=0}}if((f&ia|0)!=(ea|0))a[$>>0]=a[Z+((g&255)>>>5<<2|h&224|(b&255)>>>6)>>0]|0;j=$+1|0;E=ba;L=da+ja|0;f=82;continue}else if((f|0)==82){switch(ja|0){case 1:{ca=d[L>>0]|0;h=c[ha+32>>2]|0;aa=c[ha+28>>2]|0;f=ca;b=a[(c[124356+((aa>>>16&255)<<2)>>2]|0)+((c[ha+20>>2]&ca)>>>(h>>>16&255))>>0]|0;g=a[(c[124356+((aa>>>8&255)<<2)>>2]|0)+((c[ha+16>>2]&ca)>>>(h>>>8&255))>>0]|0;h=a[(c[124356+((aa&255)<<2)>>2]|0)+((ca&c[ha+12>>2])>>>(h&255))>>0]|0;break}case 2:{ca=e[L>>1]|0;h=c[ha+32>>2]|0;aa=c[ha+28>>2]|0;f=ca;b=a[(c[124356+((aa>>>16&255)<<2)>>2]|0)+((c[ha+20>>2]&ca)>>>(h>>>16&255))>>0]|0;g=a[(c[124356+((aa>>>8&255)<<2)>>2]|0)+((c[ha+16>>2]&ca)>>>(h>>>8&255))>>0]|0;h=a[(c[124356+((aa&255)<<2)>>2]|0)+((ca&c[ha+12>>2])>>>(h&255))>>0]|0;break}case 3:{h=c[ha+32>>2]|0;f=0;b=a[L+(h>>>19&31)>>0]|0;g=a[L+(h>>>11&31)>>0]|0;h=a[L+(h>>>3&31)>>0]|0;break}case 4:{ca=c[L>>2]|0;h=c[ha+32>>2]|0;aa=c[ha+28>>2]|0;f=ca;b=a[(c[124356+((aa>>>16&255)<<2)>>2]|0)+((c[ha+20>>2]&ca)>>>(h>>>16&255))>>0]|0;g=a[(c[124356+((aa>>>8&255)<<2)>>2]|0)+((c[ha+16>>2]&ca)>>>(h>>>8&255))>>0]|0;h=a[(c[124356+((aa&255)<<2)>>2]|0)+((c[ha+12>>2]&ca)>>>(h&255))>>0]|0;break}default:{f=0;b=0;g=0;h=0}}if((f&ia|0)!=(ea|0))a[j>>0]=a[Z+((g&255)>>>5<<2|h&224|(b&255)>>>6)>>0]|0;k=j+1|0;F=E;M=L+ja|0;f=90;continue}else if((f|0)==90){switch(ja|0){case 1:{ca=d[M>>0]|0;h=c[ha+32>>2]|0;aa=c[ha+28>>2]|0;f=ca;b=a[(c[124356+((aa>>>16&255)<<2)>>2]|0)+((c[ha+20>>2]&ca)>>>(h>>>16&255))>>0]|0;g=a[(c[124356+((aa>>>8&255)<<2)>>2]|0)+((c[ha+16>>2]&ca)>>>(h>>>8&255))>>0]|0;h=a[(c[124356+((aa&255)<<2)>>2]|0)+((ca&c[ha+12>>2])>>>(h&255))>>0]|0;break}case 2:{ca=e[M>>1]|0;h=c[ha+32>>2]|0;aa=c[ha+28>>2]|0;f=ca;b=a[(c[124356+((aa>>>16&255)<<2)>>2]|0)+((c[ha+20>>2]&ca)>>>(h>>>16&255))>>0]|0;g=a[(c[124356+((aa>>>8&255)<<2)>>2]|0)+((c[ha+16>>2]&ca)>>>(h>>>8&255))>>0]|0;h=a[(c[124356+((aa&255)<<2)>>2]|0)+((ca&c[ha+12>>2])>>>(h&255))>>0]|0;break}case 3:{h=c[ha+32>>2]|0;f=0;b=a[M+(h>>>19&31)>>0]|0;g=a[M+(h>>>11&31)>>0]|0;h=a[M+(h>>>3&31)>>0]|0;break}case 4:{ca=c[M>>2]|0;h=c[ha+32>>2]|0;aa=c[ha+28>>2]|0;f=ca;b=a[(c[124356+((aa>>>16&255)<<2)>>2]|0)+((c[ha+20>>2]&ca)>>>(h>>>16&255))>>0]|0;g=a[(c[124356+((aa>>>8&255)<<2)>>2]|0)+((c[ha+16>>2]&ca)>>>(h>>>8&255))>>0]|0;h=a[(c[124356+((aa&255)<<2)>>2]|0)+((c[ha+12>>2]&ca)>>>(h&255))>>0]|0;break}default:{f=0;b=0;g=0;h=0}}if((f&ia|0)!=(ea|0))a[k>>0]=a[Z+((g&255)>>>5<<2|h&224|(b&255)>>>6)>>0]|0;l=k+1|0;G=F;N=M+ja|0;f=98;continue}else if((f|0)==98){switch(ja|0){case 1:{ca=d[N>>0]|0;h=c[ha+32>>2]|0;aa=c[ha+28>>2]|0;f=ca;b=a[(c[124356+((aa>>>16&255)<<2)>>2]|0)+((c[ha+20>>2]&ca)>>>(h>>>16&255))>>0]|0;g=a[(c[124356+((aa>>>8&255)<<2)>>2]|0)+((c[ha+16>>2]&ca)>>>(h>>>8&255))>>0]|0;h=a[(c[124356+((aa&255)<<2)>>2]|0)+((ca&c[ha+12>>2])>>>(h&255))>>0]|0;break}case 2:{ca=e[N>>1]|0;h=c[ha+32>>2]|0;aa=c[ha+28>>2]|0;f=ca;b=a[(c[124356+((aa>>>16&255)<<2)>>2]|0)+((c[ha+20>>2]&ca)>>>(h>>>16&255))>>0]|0;g=a[(c[124356+((aa>>>8&255)<<2)>>2]|0)+((c[ha+16>>2]&ca)>>>(h>>>8&255))>>0]|0;h=a[(c[124356+((aa&255)<<2)>>2]|0)+((ca&c[ha+12>>2])>>>(h&255))>>0]|0;break}case 3:{h=c[ha+32>>2]|0;f=0;b=a[N+(h>>>19&31)>>0]|0;g=a[N+(h>>>11&31)>>0]|0;h=a[N+(h>>>3&31)>>0]|0;break}case 4:{ca=c[N>>2]|0;h=c[ha+32>>2]|0;aa=c[ha+28>>2]|0;f=ca;b=a[(c[124356+((aa>>>16&255)<<2)>>2]|0)+((c[ha+20>>2]&ca)>>>(h>>>16&255))>>0]|0;g=a[(c[124356+((aa>>>8&255)<<2)>>2]|0)+((c[ha+16>>2]&ca)>>>(h>>>8&255))>>0]|0;h=a[(c[124356+((aa&255)<<2)>>2]|0)+((c[ha+12>>2]&ca)>>>(h&255))>>0]|0;break}default:{f=0;b=0;g=0;h=0}}if((f&ia|0)!=(ea|0))a[l>>0]=a[Z+((g&255)>>>5<<2|h&224|(b&255)>>>6)>>0]|0;m=l+1|0;H=G;O=N+ja|0;f=106;continue}else if((f|0)==106){switch(ja|0){case 1:{ca=d[O>>0]|0;h=c[ha+32>>2]|0;aa=c[ha+28>>2]|0;f=ca;b=a[(c[124356+((aa>>>16&255)<<2)>>2]|0)+((c[ha+20>>2]&ca)>>>(h>>>16&255))>>0]|0;g=a[(c[124356+((aa>>>8&255)<<2)>>2]|0)+((c[ha+16>>2]&ca)>>>(h>>>8&255))>>0]|0;h=a[(c[124356+((aa&255)<<2)>>2]|0)+((ca&c[ha+12>>2])>>>(h&255))>>0]|0;break}case 2:{ca=e[O>>1]|0;h=c[ha+32>>2]|0;aa=c[ha+28>>2]|0;f=ca;b=a[(c[124356+((aa>>>16&255)<<2)>>2]|0)+((c[ha+20>>2]&ca)>>>(h>>>16&255))>>0]|0;g=a[(c[124356+((aa>>>8&255)<<2)>>2]|0)+((c[ha+16>>2]&ca)>>>(h>>>8&255))>>0]|0;h=a[(c[124356+((aa&255)<<2)>>2]|0)+((ca&c[ha+12>>2])>>>(h&255))>>0]|0;break}case 3:{h=c[ha+32>>2]|0;f=0;b=a[O+(h>>>19&31)>>0]|0;g=a[O+(h>>>11&31)>>0]|0;h=a[O+(h>>>3&31)>>0]|0;break}case 4:{ca=c[O>>2]|0;h=c[ha+32>>2]|0;aa=c[ha+28>>2]|0;f=ca;b=a[(c[124356+((aa>>>16&255)<<2)>>2]|0)+((c[ha+20>>2]&ca)>>>(h>>>16&255))>>0]|0;g=a[(c[124356+((aa>>>8&255)<<2)>>2]|0)+((c[ha+16>>2]&ca)>>>(h>>>8&255))>>0]|0;h=a[(c[124356+((aa&255)<<2)>>2]|0)+((c[ha+12>>2]&ca)>>>(h&255))>>0]|0;break}default:{f=0;b=0;g=0;h=0}}if((f&ia|0)!=(ea|0))a[m>>0]=a[Z+((g&255)>>>5<<2|h&224|(b&255)>>>6)>>0]|0;n=m+1|0;I=H;P=O+ja|0;f=114;continue}else if((f|0)==114){switch(ja|0){case 1:{ca=d[P>>0]|0;h=c[ha+32>>2]|0;aa=c[ha+28>>2]|0;f=ca;b=a[(c[124356+((aa>>>16&255)<<2)>>2]|0)+((c[ha+20>>2]&ca)>>>(h>>>16&255))>>0]|0;g=a[(c[124356+((aa>>>8&255)<<2)>>2]|0)+((c[ha+16>>2]&ca)>>>(h>>>8&255))>>0]|0;h=a[(c[124356+((aa&255)<<2)>>2]|0)+((ca&c[ha+12>>2])>>>(h&255))>>0]|0;break}case 2:{ca=e[P>>1]|0;h=c[ha+32>>2]|0;aa=c[ha+28>>2]|0;f=ca;b=a[(c[124356+((aa>>>16&255)<<2)>>2]|0)+((c[ha+20>>2]&ca)>>>(h>>>16&255))>>0]|0;g=a[(c[124356+((aa>>>8&255)<<2)>>2]|0)+((c[ha+16>>2]&ca)>>>(h>>>8&255))>>0]|0;h=a[(c[124356+((aa&255)<<2)>>2]|0)+((ca&c[ha+12>>2])>>>(h&255))>>0]|0;break}case 3:{h=c[ha+32>>2]|0;f=0;b=a[P+(h>>>19&31)>>0]|0;g=a[P+(h>>>11&31)>>0]|0;h=a[P+(h>>>3&31)>>0]|0;break}case 4:{ca=c[P>>2]|0;h=c[ha+32>>2]|0;aa=c[ha+28>>2]|0;f=ca;b=a[(c[124356+((aa>>>16&255)<<2)>>2]|0)+((c[ha+20>>2]&ca)>>>(h>>>16&255))>>0]|0;g=a[(c[124356+((aa>>>8&255)<<2)>>2]|0)+((c[ha+16>>2]&ca)>>>(h>>>8&255))>>0]|0;h=a[(c[124356+((aa&255)<<2)>>2]|0)+((c[ha+12>>2]&ca)>>>(h&255))>>0]|0;break}default:{f=0;b=0;g=0;h=0}}if((f&ia|0)!=(ea|0))a[n>>0]=a[Z+((g&255)>>>5<<2|h&224|(b&255)>>>6)>>0]|0;o=n+1|0;J=I;Q=P+ja|0;f=122;continue}else if((f|0)==122){switch(ja|0){case 1:{ca=d[Q>>0]|0;h=c[ha+32>>2]|0;aa=c[ha+28>>2]|0;f=ca;b=a[(c[124356+((aa>>>16&255)<<2)>>2]|0)+((c[ha+20>>2]&ca)>>>(h>>>16&255))>>0]|0;g=a[(c[124356+((aa>>>8&255)<<2)>>2]|0)+((c[ha+16>>2]&ca)>>>(h>>>8&255))>>0]|0;h=a[(c[124356+((aa&255)<<2)>>2]|0)+((ca&c[ha+12>>2])>>>(h&255))>>0]|0;break}case 2:{ca=e[Q>>1]|0;h=c[ha+32>>2]|0;aa=c[ha+28>>2]|0;f=ca;b=a[(c[124356+((aa>>>16&255)<<2)>>2]|0)+((c[ha+20>>2]&ca)>>>(h>>>16&255))>>0]|0;g=a[(c[124356+((aa>>>8&255)<<2)>>2]|0)+((c[ha+16>>2]&ca)>>>(h>>>8&255))>>0]|0;h=a[(c[124356+((aa&255)<<2)>>2]|0)+((ca&c[ha+12>>2])>>>(h&255))>>0]|0;break}case 3:{h=c[ha+32>>2]|0;f=0;b=a[Q+(h>>>19&31)>>0]|0;g=a[Q+(h>>>11&31)>>0]|0;h=a[Q+(h>>>3&31)>>0]|0;break}case 4:{ca=c[Q>>2]|0;h=c[ha+32>>2]|0;aa=c[ha+28>>2]|0;f=ca;b=a[(c[124356+((aa>>>16&255)<<2)>>2]|0)+((c[ha+20>>2]&ca)>>>(h>>>16&255))>>0]|0;g=a[(c[124356+((aa>>>8&255)<<2)>>2]|0)+((c[ha+16>>2]&ca)>>>(h>>>8&255))>>0]|0;h=a[(c[124356+((aa&255)<<2)>>2]|0)+((c[ha+12>>2]&ca)>>>(h&255))>>0]|0;break}default:{f=0;b=0;g=0;h=0}}if((f&ia|0)!=(ea|0))a[o>>0]=a[Z+((g&255)>>>5<<2|h&224|(b&255)>>>6)>>0]|0;p=o+1|0;K=J;R=Q+ja|0;f=130;continue}else if((f|0)==130){switch(ja|0){case 1:{ca=d[R>>0]|0;h=c[ha+32>>2]|0;aa=c[ha+28>>2]|0;f=ca;b=a[(c[124356+((aa>>>16&255)<<2)>>2]|0)+((c[ha+20>>2]&ca)>>>(h>>>16&255))>>0]|0;g=a[(c[124356+((aa>>>8&255)<<2)>>2]|0)+((c[ha+16>>2]&ca)>>>(h>>>8&255))>>0]|0;h=a[(c[124356+((aa&255)<<2)>>2]|0)+((ca&c[ha+12>>2])>>>(h&255))>>0]|0;break}case 2:{ca=e[R>>1]|0;h=c[ha+32>>2]|0;aa=c[ha+28>>2]|0;f=ca;b=a[(c[124356+((aa>>>16&255)<<2)>>2]|0)+((c[ha+20>>2]&ca)>>>(h>>>16&255))>>0]|0;g=a[(c[124356+((aa>>>8&255)<<2)>>2]|0)+((c[ha+16>>2]&ca)>>>(h>>>8&255))>>0]|0;h=a[(c[124356+((aa&255)<<2)>>2]|0)+((ca&c[ha+12>>2])>>>(h&255))>>0]|0;break}case 3:{h=c[ha+32>>2]|0;f=0;b=a[R+(h>>>19&31)>>0]|0;g=a[R+(h>>>11&31)>>0]|0;h=a[R+(h>>>3&31)>>0]|0;break}case 4:{ca=c[R>>2]|0;h=c[ha+32>>2]|0;aa=c[ha+28>>2]|0;f=ca;b=a[(c[124356+((aa>>>16&255)<<2)>>2]|0)+((c[ha+20>>2]&ca)>>>(h>>>16&255))>>0]|0;g=a[(c[124356+((aa>>>8&255)<<2)>>2]|0)+((c[ha+16>>2]&ca)>>>(h>>>8&255))>>0]|0;h=a[(c[124356+((aa&255)<<2)>>2]|0)+((c[ha+12>>2]&ca)>>>(h&255))>>0]|0;break}default:{f=0;b=0;g=0;h=0}}if((f&ia|0)!=(ea|0))a[p>>0]=a[Z+((g&255)>>>5<<2|h&224|(b&255)>>>6)>>0]|0;f=p+1|0;b=R+ja|0;if((K|0)>1){$=f;ba=K+-1|0;da=b;f=74;continue}else break}if(!i){f=140;break}else{i=i+-1|0;g=f+ga|0;f=b+ka|0}}if((f|0)!=138)if((f|0)==140)return}}function _9a(f){f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;r=c[f+24>>2]|0;g=c[f+28>>2]|0;y=c[f+16>>2]|0;z=c[f+36>>2]|0;s=c[f+40>>2]|0;t=c[f+44>>2]|0;u=~c[s+24>>2];v=c[f+56>>2]&u;if(!g)return;w=d[s+9>>0]|0;x=d[t+9>>0]|0;h=c[f+20>>2]|0;i=c[f>>2]|0;a:while(1){g=g+-1|0;switch(r&7|0){case 0:{f=h;q=(r+7|0)/8|0;j=4;break}case 7:{q=(r+7|0)/8|0;j=16;break}case 6:{q=(r+7|0)/8|0;j=28;break}case 5:{q=(r+7|0)/8|0;j=40;break}case 4:{q=(r+7|0)/8|0;j=52;break}case 3:{q=(r+7|0)/8|0;j=64;break}case 2:{q=(r+7|0)/8|0;j=76;break}case 1:{q=(r+7|0)/8|0;j=88;break}default:{j=100;break a}}while(1)if((j|0)==4){switch(w|0){case 1:{o=d[i>>0]|0;p=c[s+32>>2]|0;m=c[s+28>>2]|0;j=o;h=a[(c[124356+(m>>>24<<2)>>2]|0)+((c[s+24>>2]&o)>>>(p>>>24))>>0]|0;l=a[(c[124356+((m>>>16&255)<<2)>>2]|0)+((c[s+20>>2]&o)>>>(p>>>16&255))>>0]|0;n=a[(c[124356+((m>>>8&255)<<2)>>2]|0)+((c[s+16>>2]&o)>>>(p>>>8&255))>>0]|0;p=a[(c[124356+((m&255)<<2)>>2]|0)+((o&c[s+12>>2])>>>(p&255))>>0]|0;break}case 2:{o=e[i>>1]|0;p=c[s+32>>2]|0;m=c[s+28>>2]|0;j=o;h=a[(c[124356+(m>>>24<<2)>>2]|0)+((c[s+24>>2]&o)>>>(p>>>24))>>0]|0;l=a[(c[124356+((m>>>16&255)<<2)>>2]|0)+((c[s+20>>2]&o)>>>(p>>>16&255))>>0]|0;n=a[(c[124356+((m>>>8&255)<<2)>>2]|0)+((c[s+16>>2]&o)>>>(p>>>8&255))>>0]|0;p=a[(c[124356+((m&255)<<2)>>2]|0)+((o&c[s+12>>2])>>>(p&255))>>0]|0;break}case 3:{p=c[s+32>>2]|0;j=0;h=-1;l=a[i+(p>>>19&31)>>0]|0;n=a[i+(p>>>11&31)>>0]|0;p=a[i+(p>>>3&31)>>0]|0;break}case 4:{o=c[i>>2]|0;p=c[s+32>>2]|0;m=c[s+28>>2]|0;j=o;h=a[(c[124356+(m>>>24<<2)>>2]|0)+((c[s+24>>2]&o)>>>(p>>>24))>>0]|0;l=a[(c[124356+((m>>>16&255)<<2)>>2]|0)+((c[s+20>>2]&o)>>>(p>>>16&255))>>0]|0;n=a[(c[124356+((m>>>8&255)<<2)>>2]|0)+((c[s+16>>2]&o)>>>(p>>>8&255))>>0]|0;p=a[(c[124356+((m&255)<<2)>>2]|0)+((c[s+12>>2]&o)>>>(p&255))>>0]|0;break}default:{j=0;h=0;l=0;n=0;p=0}}o=p&255;m=n&255;k=l&255;h=h&255;b:do if((j&u|0)!=(v|0))switch(x|0){case 1:{n=c[t+28>>2]|0;p=c[t+32>>2]|0;a[f>>0]=m>>>(n>>>8&255)<<(p>>>8&255)|o>>>(n&255)<<(p&255)|k>>>(n>>>16&255)<<(p>>>16&255)|h>>>(n>>>24)<<(p>>>24);break b}case 2:{n=c[t+28>>2]|0;p=c[t+32>>2]|0;b[f>>1]=m>>>(n>>>8&255)<<(p>>>8&255)|o>>>(n&255)<<(p&255)|k>>>(n>>>16&255)<<(p>>>16&255)|h>>>(n>>>24)<<(p>>>24);break b}case 3:{a[f+((d[t+32>>0]|0)>>>3&255)>>0]=p;a[f+((d[t+33>>0]|0)>>>3&255)>>0]=n;a[f+((d[t+34>>0]|0)>>>3&255)>>0]=l;break b}case 4:{n=c[t+28>>2]|0;p=c[t+32>>2]|0;c[f>>2]=m>>>(n>>>8&255)<<(p>>>8&255)|o>>>(n&255)<<(p&255)|k>>>(n>>>16&255)<<(p>>>16&255)|h>>>(n>>>24)<<(p>>>24);break b}default:break b}while(0);h=f+x|0;i=i+w|0;j=16;continue}else if((j|0)==16){switch(w|0){case 1:{o=d[i>>0]|0;p=c[s+32>>2]|0;m=c[s+28>>2]|0;j=o;f=a[(c[124356+(m>>>24<<2)>>2]|0)+((c[s+24>>2]&o)>>>(p>>>24))>>0]|0;l=a[(c[124356+((m>>>16&255)<<2)>>2]|0)+((c[s+20>>2]&o)>>>(p>>>16&255))>>0]|0;n=a[(c[124356+((m>>>8&255)<<2)>>2]|0)+((c[s+16>>2]&o)>>>(p>>>8&255))>>0]|0;p=a[(c[124356+((m&255)<<2)>>2]|0)+((o&c[s+12>>2])>>>(p&255))>>0]|0;break}case 2:{o=e[i>>1]|0;p=c[s+32>>2]|0;m=c[s+28>>2]|0;j=o;f=a[(c[124356+(m>>>24<<2)>>2]|0)+((c[s+24>>2]&o)>>>(p>>>24))>>0]|0;l=a[(c[124356+((m>>>16&255)<<2)>>2]|0)+((c[s+20>>2]&o)>>>(p>>>16&255))>>0]|0;n=a[(c[124356+((m>>>8&255)<<2)>>2]|0)+((c[s+16>>2]&o)>>>(p>>>8&255))>>0]|0;p=a[(c[124356+((m&255)<<2)>>2]|0)+((o&c[s+12>>2])>>>(p&255))>>0]|0;break}case 3:{p=c[s+32>>2]|0;j=0;f=-1;l=a[i+(p>>>19&31)>>0]|0;n=a[i+(p>>>11&31)>>0]|0;p=a[i+(p>>>3&31)>>0]|0;break}case 4:{o=c[i>>2]|0;p=c[s+32>>2]|0;m=c[s+28>>2]|0;j=o;f=a[(c[124356+(m>>>24<<2)>>2]|0)+((c[s+24>>2]&o)>>>(p>>>24))>>0]|0;l=a[(c[124356+((m>>>16&255)<<2)>>2]|0)+((c[s+20>>2]&o)>>>(p>>>16&255))>>0]|0;n=a[(c[124356+((m>>>8&255)<<2)>>2]|0)+((c[s+16>>2]&o)>>>(p>>>8&255))>>0]|0;p=a[(c[124356+((m&255)<<2)>>2]|0)+((c[s+12>>2]&o)>>>(p&255))>>0]|0;break}default:{j=0;f=0;l=0;n=0;p=0}}o=p&255;m=n&255;k=l&255;f=f&255;c:do if((j&u|0)!=(v|0))switch(x|0){case 1:{n=c[t+28>>2]|0;p=c[t+32>>2]|0;a[h>>0]=m>>>(n>>>8&255)<<(p>>>8&255)|o>>>(n&255)<<(p&255)|k>>>(n>>>16&255)<<(p>>>16&255)|f>>>(n>>>24)<<(p>>>24);break c}case 2:{n=c[t+28>>2]|0;p=c[t+32>>2]|0;b[h>>1]=m>>>(n>>>8&255)<<(p>>>8&255)|o>>>(n&255)<<(p&255)|k>>>(n>>>16&255)<<(p>>>16&255)|f>>>(n>>>24)<<(p>>>24);break c}case 3:{a[h+((d[t+32>>0]|0)>>>3&255)>>0]=p;a[h+((d[t+33>>0]|0)>>>3&255)>>0]=n;a[h+((d[t+34>>0]|0)>>>3&255)>>0]=l;break c}case 4:{n=c[t+28>>2]|0;p=c[t+32>>2]|0;c[h>>2]=m>>>(n>>>8&255)<<(p>>>8&255)|o>>>(n&255)<<(p&255)|k>>>(n>>>16&255)<<(p>>>16&255)|f>>>(n>>>24)<<(p>>>24);break c}default:break c}while(0);h=h+x|0;i=i+w|0;j=28;continue}else if((j|0)==28){switch(w|0){case 1:{o=d[i>>0]|0;p=c[s+32>>2]|0;m=c[s+28>>2]|0;j=o;f=a[(c[124356+(m>>>24<<2)>>2]|0)+((c[s+24>>2]&o)>>>(p>>>24))>>0]|0;l=a[(c[124356+((m>>>16&255)<<2)>>2]|0)+((c[s+20>>2]&o)>>>(p>>>16&255))>>0]|0;n=a[(c[124356+((m>>>8&255)<<2)>>2]|0)+((c[s+16>>2]&o)>>>(p>>>8&255))>>0]|0;p=a[(c[124356+((m&255)<<2)>>2]|0)+((o&c[s+12>>2])>>>(p&255))>>0]|0;break}case 2:{o=e[i>>1]|0;p=c[s+32>>2]|0;m=c[s+28>>2]|0;j=o;f=a[(c[124356+(m>>>24<<2)>>2]|0)+((c[s+24>>2]&o)>>>(p>>>24))>>0]|0;l=a[(c[124356+((m>>>16&255)<<2)>>2]|0)+((c[s+20>>2]&o)>>>(p>>>16&255))>>0]|0;n=a[(c[124356+((m>>>8&255)<<2)>>2]|0)+((c[s+16>>2]&o)>>>(p>>>8&255))>>0]|0;p=a[(c[124356+((m&255)<<2)>>2]|0)+((o&c[s+12>>2])>>>(p&255))>>0]|0;break}case 3:{p=c[s+32>>2]|0;j=0;f=-1;l=a[i+(p>>>19&31)>>0]|0;n=a[i+(p>>>11&31)>>0]|0;p=a[i+(p>>>3&31)>>0]|0;break}case 4:{o=c[i>>2]|0;p=c[s+32>>2]|0;m=c[s+28>>2]|0;j=o;f=a[(c[124356+(m>>>24<<2)>>2]|0)+((c[s+24>>2]&o)>>>(p>>>24))>>0]|0;l=a[(c[124356+((m>>>16&255)<<2)>>2]|0)+((c[s+20>>2]&o)>>>(p>>>16&255))>>0]|0;n=a[(c[124356+((m>>>8&255)<<2)>>2]|0)+((c[s+16>>2]&o)>>>(p>>>8&255))>>0]|0;p=a[(c[124356+((m&255)<<2)>>2]|0)+((c[s+12>>2]&o)>>>(p&255))>>0]|0;break}default:{j=0;f=0;l=0;n=0;p=0}}o=p&255;m=n&255;k=l&255;f=f&255;d:do if((j&u|0)!=(v|0))switch(x|0){case 1:{n=c[t+28>>2]|0;p=c[t+32>>2]|0;a[h>>0]=m>>>(n>>>8&255)<<(p>>>8&255)|o>>>(n&255)<<(p&255)|k>>>(n>>>16&255)<<(p>>>16&255)|f>>>(n>>>24)<<(p>>>24);break d}case 2:{n=c[t+28>>2]|0;p=c[t+32>>2]|0;b[h>>1]=m>>>(n>>>8&255)<<(p>>>8&255)|o>>>(n&255)<<(p&255)|k>>>(n>>>16&255)<<(p>>>16&255)|f>>>(n>>>24)<<(p>>>24);break d}case 3:{a[h+((d[t+32>>0]|0)>>>3&255)>>0]=p;a[h+((d[t+33>>0]|0)>>>3&255)>>0]=n;a[h+((d[t+34>>0]|0)>>>3&255)>>0]=l;break d}case 4:{n=c[t+28>>2]|0;p=c[t+32>>2]|0;c[h>>2]=m>>>(n>>>8&255)<<(p>>>8&255)|o>>>(n&255)<<(p&255)|k>>>(n>>>16&255)<<(p>>>16&255)|f>>>(n>>>24)<<(p>>>24);break d}default:break d}while(0);h=h+x|0;i=i+w|0;j=40;continue}else if((j|0)==40){switch(w|0){case 1:{o=d[i>>0]|0;p=c[s+32>>2]|0;m=c[s+28>>2]|0;j=o;f=a[(c[124356+(m>>>24<<2)>>2]|0)+((c[s+24>>2]&o)>>>(p>>>24))>>0]|0;l=a[(c[124356+((m>>>16&255)<<2)>>2]|0)+((c[s+20>>2]&o)>>>(p>>>16&255))>>0]|0;n=a[(c[124356+((m>>>8&255)<<2)>>2]|0)+((c[s+16>>2]&o)>>>(p>>>8&255))>>0]|0;p=a[(c[124356+((m&255)<<2)>>2]|0)+((o&c[s+12>>2])>>>(p&255))>>0]|0;break}case 2:{o=e[i>>1]|0;p=c[s+32>>2]|0;m=c[s+28>>2]|0;j=o;f=a[(c[124356+(m>>>24<<2)>>2]|0)+((c[s+24>>2]&o)>>>(p>>>24))>>0]|0;l=a[(c[124356+((m>>>16&255)<<2)>>2]|0)+((c[s+20>>2]&o)>>>(p>>>16&255))>>0]|0;n=a[(c[124356+((m>>>8&255)<<2)>>2]|0)+((c[s+16>>2]&o)>>>(p>>>8&255))>>0]|0;p=a[(c[124356+((m&255)<<2)>>2]|0)+((o&c[s+12>>2])>>>(p&255))>>0]|0;break}case 3:{p=c[s+32>>2]|0;j=0;f=-1;l=a[i+(p>>>19&31)>>0]|0;n=a[i+(p>>>11&31)>>0]|0;p=a[i+(p>>>3&31)>>0]|0;break}case 4:{o=c[i>>2]|0;p=c[s+32>>2]|0;m=c[s+28>>2]|0;j=o;f=a[(c[124356+(m>>>24<<2)>>2]|0)+((c[s+24>>2]&o)>>>(p>>>24))>>0]|0;l=a[(c[124356+((m>>>16&255)<<2)>>2]|0)+((c[s+20>>2]&o)>>>(p>>>16&255))>>0]|0;n=a[(c[124356+((m>>>8&255)<<2)>>2]|0)+((c[s+16>>2]&o)>>>(p>>>8&255))>>0]|0;p=a[(c[124356+((m&255)<<2)>>2]|0)+((c[s+12>>2]&o)>>>(p&255))>>0]|0;break}default:{j=0;f=0;l=0;n=0;p=0}}o=p&255;m=n&255;k=l&255;f=f&255;e:do if((j&u|0)!=(v|0))switch(x|0){case 1:{n=c[t+28>>2]|0;p=c[t+32>>2]|0;a[h>>0]=m>>>(n>>>8&255)<<(p>>>8&255)|o>>>(n&255)<<(p&255)|k>>>(n>>>16&255)<<(p>>>16&255)|f>>>(n>>>24)<<(p>>>24);break e}case 2:{n=c[t+28>>2]|0;p=c[t+32>>2]|0;b[h>>1]=m>>>(n>>>8&255)<<(p>>>8&255)|o>>>(n&255)<<(p&255)|k>>>(n>>>16&255)<<(p>>>16&255)|f>>>(n>>>24)<<(p>>>24);break e}case 3:{a[h+((d[t+32>>0]|0)>>>3&255)>>0]=p;a[h+((d[t+33>>0]|0)>>>3&255)>>0]=n;a[h+((d[t+34>>0]|0)>>>3&255)>>0]=l;break e}case 4:{n=c[t+28>>2]|0;p=c[t+32>>2]|0;c[h>>2]=m>>>(n>>>8&255)<<(p>>>8&255)|o>>>(n&255)<<(p&255)|k>>>(n>>>16&255)<<(p>>>16&255)|f>>>(n>>>24)<<(p>>>24);break e}default:break e}while(0);h=h+x|0;i=i+w|0;j=52;continue}else if((j|0)==52){switch(w|0){case 1:{o=d[i>>0]|0;p=c[s+32>>2]|0;m=c[s+28>>2]|0;j=o;f=a[(c[124356+(m>>>24<<2)>>2]|0)+((c[s+24>>2]&o)>>>(p>>>24))>>0]|0;l=a[(c[124356+((m>>>16&255)<<2)>>2]|0)+((c[s+20>>2]&o)>>>(p>>>16&255))>>0]|0;n=a[(c[124356+((m>>>8&255)<<2)>>2]|0)+((c[s+16>>2]&o)>>>(p>>>8&255))>>0]|0;p=a[(c[124356+((m&255)<<2)>>2]|0)+((o&c[s+12>>2])>>>(p&255))>>0]|0;break}case 2:{o=e[i>>1]|0;p=c[s+32>>2]|0;m=c[s+28>>2]|0;j=o;f=a[(c[124356+(m>>>24<<2)>>2]|0)+((c[s+24>>2]&o)>>>(p>>>24))>>0]|0;l=a[(c[124356+((m>>>16&255)<<2)>>2]|0)+((c[s+20>>2]&o)>>>(p>>>16&255))>>0]|0;n=a[(c[124356+((m>>>8&255)<<2)>>2]|0)+((c[s+16>>2]&o)>>>(p>>>8&255))>>0]|0;p=a[(c[124356+((m&255)<<2)>>2]|0)+((o&c[s+12>>2])>>>(p&255))>>0]|0;break}case 3:{p=c[s+32>>2]|0;j=0;f=-1;l=a[i+(p>>>19&31)>>0]|0;n=a[i+(p>>>11&31)>>0]|0;p=a[i+(p>>>3&31)>>0]|0;break}case 4:{o=c[i>>2]|0;p=c[s+32>>2]|0;m=c[s+28>>2]|0;j=o;f=a[(c[124356+(m>>>24<<2)>>2]|0)+((c[s+24>>2]&o)>>>(p>>>24))>>0]|0;l=a[(c[124356+((m>>>16&255)<<2)>>2]|0)+((c[s+20>>2]&o)>>>(p>>>16&255))>>0]|0;n=a[(c[124356+((m>>>8&255)<<2)>>2]|0)+((c[s+16>>2]&o)>>>(p>>>8&255))>>0]|0;p=a[(c[124356+((m&255)<<2)>>2]|0)+((c[s+12>>2]&o)>>>(p&255))>>0]|0;break}default:{j=0;f=0;l=0;n=0;p=0}}o=p&255;m=n&255;k=l&255;f=f&255;f:do if((j&u|0)!=(v|0))switch(x|0){case 1:{n=c[t+28>>2]|0;p=c[t+32>>2]|0;a[h>>0]=m>>>(n>>>8&255)<<(p>>>8&255)|o>>>(n&255)<<(p&255)|k>>>(n>>>16&255)<<(p>>>16&255)|f>>>(n>>>24)<<(p>>>24);break f}case 2:{n=c[t+28>>2]|0;p=c[t+32>>2]|0;b[h>>1]=m>>>(n>>>8&255)<<(p>>>8&255)|o>>>(n&255)<<(p&255)|k>>>(n>>>16&255)<<(p>>>16&255)|f>>>(n>>>24)<<(p>>>24);break f}case 3:{a[h+((d[t+32>>0]|0)>>>3&255)>>0]=p;a[h+((d[t+33>>0]|0)>>>3&255)>>0]=n;a[h+((d[t+34>>0]|0)>>>3&255)>>0]=l;break f}case 4:{n=c[t+28>>2]|0;p=c[t+32>>2]|0;c[h>>2]=m>>>(n>>>8&255)<<(p>>>8&255)|o>>>(n&255)<<(p&255)|k>>>(n>>>16&255)<<(p>>>16&255)|f>>>(n>>>24)<<(p>>>24);break f}default:break f}while(0);h=h+x|0;i=i+w|0;j=64;continue}else if((j|0)==64){switch(w|0){case 1:{o=d[i>>0]|0;p=c[s+32>>2]|0;m=c[s+28>>2]|0;j=o;f=a[(c[124356+(m>>>24<<2)>>2]|0)+((c[s+24>>2]&o)>>>(p>>>24))>>0]|0;l=a[(c[124356+((m>>>16&255)<<2)>>2]|0)+((c[s+20>>2]&o)>>>(p>>>16&255))>>0]|0;n=a[(c[124356+((m>>>8&255)<<2)>>2]|0)+((c[s+16>>2]&o)>>>(p>>>8&255))>>0]|0;p=a[(c[124356+((m&255)<<2)>>2]|0)+((o&c[s+12>>2])>>>(p&255))>>0]|0;break}case 2:{o=e[i>>1]|0;p=c[s+32>>2]|0;m=c[s+28>>2]|0;j=o;f=a[(c[124356+(m>>>24<<2)>>2]|0)+((c[s+24>>2]&o)>>>(p>>>24))>>0]|0;l=a[(c[124356+((m>>>16&255)<<2)>>2]|0)+((c[s+20>>2]&o)>>>(p>>>16&255))>>0]|0;n=a[(c[124356+((m>>>8&255)<<2)>>2]|0)+((c[s+16>>2]&o)>>>(p>>>8&255))>>0]|0;p=a[(c[124356+((m&255)<<2)>>2]|0)+((o&c[s+12>>2])>>>(p&255))>>0]|0;break}case 3:{p=c[s+32>>2]|0;j=0;f=-1;l=a[i+(p>>>19&31)>>0]|0;n=a[i+(p>>>11&31)>>0]|0;p=a[i+(p>>>3&31)>>0]|0;break}case 4:{o=c[i>>2]|0;p=c[s+32>>2]|0;m=c[s+28>>2]|0;j=o;f=a[(c[124356+(m>>>24<<2)>>2]|0)+((c[s+24>>2]&o)>>>(p>>>24))>>0]|0;l=a[(c[124356+((m>>>16&255)<<2)>>2]|0)+((c[s+20>>2]&o)>>>(p>>>16&255))>>0]|0;n=a[(c[124356+((m>>>8&255)<<2)>>2]|0)+((c[s+16>>2]&o)>>>(p>>>8&255))>>0]|0;p=a[(c[124356+((m&255)<<2)>>2]|0)+((c[s+12>>2]&o)>>>(p&255))>>0]|0;break}default:{j=0;f=0;l=0;n=0;p=0}}o=p&255;m=n&255;k=l&255;f=f&255;g:do if((j&u|0)!=(v|0))switch(x|0){case 1:{n=c[t+28>>2]|0;p=c[t+32>>2]|0;a[h>>0]=m>>>(n>>>8&255)<<(p>>>8&255)|o>>>(n&255)<<(p&255)|k>>>(n>>>16&255)<<(p>>>16&255)|f>>>(n>>>24)<<(p>>>24);break g}case 2:{n=c[t+28>>2]|0;p=c[t+32>>2]|0;b[h>>1]=m>>>(n>>>8&255)<<(p>>>8&255)|o>>>(n&255)<<(p&255)|k>>>(n>>>16&255)<<(p>>>16&255)|f>>>(n>>>24)<<(p>>>24);break g}case 3:{a[h+((d[t+32>>0]|0)>>>3&255)>>0]=p;a[h+((d[t+33>>0]|0)>>>3&255)>>0]=n;a[h+((d[t+34>>0]|0)>>>3&255)>>0]=l;break g}case 4:{n=c[t+28>>2]|0;p=c[t+32>>2]|0;c[h>>2]=m>>>(n>>>8&255)<<(p>>>8&255)|o>>>(n&255)<<(p&255)|k>>>(n>>>16&255)<<(p>>>16&255)|f>>>(n>>>24)<<(p>>>24);break g}default:break g}while(0);h=h+x|0;i=i+w|0;j=76;continue}else if((j|0)==76){switch(w|0){case 1:{o=d[i>>0]|0;p=c[s+32>>2]|0;m=c[s+28>>2]|0;j=o;f=a[(c[124356+(m>>>24<<2)>>2]|0)+((c[s+24>>2]&o)>>>(p>>>24))>>0]|0;l=a[(c[124356+((m>>>16&255)<<2)>>2]|0)+((c[s+20>>2]&o)>>>(p>>>16&255))>>0]|0;n=a[(c[124356+((m>>>8&255)<<2)>>2]|0)+((c[s+16>>2]&o)>>>(p>>>8&255))>>0]|0;p=a[(c[124356+((m&255)<<2)>>2]|0)+((o&c[s+12>>2])>>>(p&255))>>0]|0;break}case 2:{o=e[i>>1]|0;p=c[s+32>>2]|0;m=c[s+28>>2]|0;j=o;f=a[(c[124356+(m>>>24<<2)>>2]|0)+((c[s+24>>2]&o)>>>(p>>>24))>>0]|0;l=a[(c[124356+((m>>>16&255)<<2)>>2]|0)+((c[s+20>>2]&o)>>>(p>>>16&255))>>0]|0;n=a[(c[124356+((m>>>8&255)<<2)>>2]|0)+((c[s+16>>2]&o)>>>(p>>>8&255))>>0]|0;p=a[(c[124356+((m&255)<<2)>>2]|0)+((o&c[s+12>>2])>>>(p&255))>>0]|0;break}case 3:{p=c[s+32>>2]|0;j=0;f=-1;l=a[i+(p>>>19&31)>>0]|0;n=a[i+(p>>>11&31)>>0]|0;p=a[i+(p>>>3&31)>>0]|0;break}case 4:{o=c[i>>2]|0;p=c[s+32>>2]|0;m=c[s+28>>2]|0;j=o;f=a[(c[124356+(m>>>24<<2)>>2]|0)+((c[s+24>>2]&o)>>>(p>>>24))>>0]|0;l=a[(c[124356+((m>>>16&255)<<2)>>2]|0)+((c[s+20>>2]&o)>>>(p>>>16&255))>>0]|0;n=a[(c[124356+((m>>>8&255)<<2)>>2]|0)+((c[s+16>>2]&o)>>>(p>>>8&255))>>0]|0;p=a[(c[124356+((m&255)<<2)>>2]|0)+((c[s+12>>2]&o)>>>(p&255))>>0]|0;break}default:{j=0;f=0;l=0;n=0;p=0}}o=p&255;m=n&255;k=l&255;f=f&255;h:do if((j&u|0)!=(v|0))switch(x|0){case 1:{n=c[t+28>>2]|0;p=c[t+32>>2]|0;a[h>>0]=m>>>(n>>>8&255)<<(p>>>8&255)|o>>>(n&255)<<(p&255)|k>>>(n>>>16&255)<<(p>>>16&255)|f>>>(n>>>24)<<(p>>>24);break h}case 2:{n=c[t+28>>2]|0;p=c[t+32>>2]|0;b[h>>1]=m>>>(n>>>8&255)<<(p>>>8&255)|o>>>(n&255)<<(p&255)|k>>>(n>>>16&255)<<(p>>>16&255)|f>>>(n>>>24)<<(p>>>24);break h}case 3:{a[h+((d[t+32>>0]|0)>>>3&255)>>0]=p;a[h+((d[t+33>>0]|0)>>>3&255)>>0]=n;a[h+((d[t+34>>0]|0)>>>3&255)>>0]=l;break h}case 4:{n=c[t+28>>2]|0;p=c[t+32>>2]|0;c[h>>2]=m>>>(n>>>8&255)<<(p>>>8&255)|o>>>(n&255)<<(p&255)|k>>>(n>>>16&255)<<(p>>>16&255)|f>>>(n>>>24)<<(p>>>24);break h}default:break h}while(0);h=h+x|0;i=i+w|0;j=88;continue}else if((j|0)==88){switch(w|0){case 1:{o=d[i>>0]|0;p=c[s+32>>2]|0;m=c[s+28>>2]|0;j=o;f=a[(c[124356+(m>>>24<<2)>>2]|0)+((c[s+24>>2]&o)>>>(p>>>24))>>0]|0;l=a[(c[124356+((m>>>16&255)<<2)>>2]|0)+((c[s+20>>2]&o)>>>(p>>>16&255))>>0]|0;n=a[(c[124356+((m>>>8&255)<<2)>>2]|0)+((c[s+16>>2]&o)>>>(p>>>8&255))>>0]|0;p=a[(c[124356+((m&255)<<2)>>2]|0)+((o&c[s+12>>2])>>>(p&255))>>0]|0;break}case 2:{o=e[i>>1]|0;p=c[s+32>>2]|0;m=c[s+28>>2]|0;j=o;f=a[(c[124356+(m>>>24<<2)>>2]|0)+((c[s+24>>2]&o)>>>(p>>>24))>>0]|0;l=a[(c[124356+((m>>>16&255)<<2)>>2]|0)+((c[s+20>>2]&o)>>>(p>>>16&255))>>0]|0;n=a[(c[124356+((m>>>8&255)<<2)>>2]|0)+((c[s+16>>2]&o)>>>(p>>>8&255))>>0]|0;p=a[(c[124356+((m&255)<<2)>>2]|0)+((o&c[s+12>>2])>>>(p&255))>>0]|0;break}case 3:{p=c[s+32>>2]|0;j=0;f=-1;l=a[i+(p>>>19&31)>>0]|0;n=a[i+(p>>>11&31)>>0]|0;p=a[i+(p>>>3&31)>>0]|0;break}case 4:{o=c[i>>2]|0;p=c[s+32>>2]|0;m=c[s+28>>2]|0;j=o;f=a[(c[124356+(m>>>24<<2)>>2]|0)+((c[s+24>>2]&o)>>>(p>>>24))>>0]|0;l=a[(c[124356+((m>>>16&255)<<2)>>2]|0)+((c[s+20>>2]&o)>>>(p>>>16&255))>>0]|0;n=a[(c[124356+((m>>>8&255)<<2)>>2]|0)+((c[s+16>>2]&o)>>>(p>>>8&255))>>0]|0;p=a[(c[124356+((m&255)<<2)>>2]|0)+((c[s+12>>2]&o)>>>(p&255))>>0]|0;break}default:{j=0;f=0;l=0;n=0;p=0}}o=p&255;m=n&255;k=l&255;f=f&255;i:do if((j&u|0)!=(v|0))switch(x|0){case 1:{n=c[t+28>>2]|0;p=c[t+32>>2]|0;a[h>>0]=m>>>(n>>>8&255)<<(p>>>8&255)|o>>>(n&255)<<(p&255)|k>>>(n>>>16&255)<<(p>>>16&255)|f>>>(n>>>24)<<(p>>>24);break i}case 2:{n=c[t+28>>2]|0;p=c[t+32>>2]|0;b[h>>1]=m>>>(n>>>8&255)<<(p>>>8&255)|o>>>(n&255)<<(p&255)|k>>>(n>>>16&255)<<(p>>>16&255)|f>>>(n>>>24)<<(p>>>24);break i}case 3:{a[h+((d[t+32>>0]|0)>>>3&255)>>0]=p;a[h+((d[t+33>>0]|0)>>>3&255)>>0]=n;a[h+((d[t+34>>0]|0)>>>3&255)>>0]=l;break i}case 4:{n=c[t+28>>2]|0;p=c[t+32>>2]|0;c[h>>2]=m>>>(n>>>8&255)<<(p>>>8&255)|o>>>(n&255)<<(p&255)|k>>>(n>>>16&255)<<(p>>>16&255)|f>>>(n>>>24)<<(p>>>24);break i}default:break i}while(0);f=h+x|0;i=i+w|0;if((q|0)>1){q=q+-1|0;j=4;continue}else break}if(!g){j=102;break}else{h=f+z|0;i=i+y|0}}if((j|0)!=100)if((j|0)==102)return}function $9a(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;c[e>>2]=d;d=iob(a,b,e)|0;i=e;return d|0}function aab(){var a=0,b=0;b=i;i=i+16|0;a=c[33430]|0;if((a|0)==-1){c[33430]=0;c[b>>2]=0;a=c[33430]|0;if(c[b>>2]|0){c[33430]=a|2;a=a|2}}i=b;return a>>>3&1|0}function bab(){var a=0,b=0;b=i;i=i+16|0;a=c[33430]|0;if((a|0)==-1){c[33430]=0;c[b>>2]=0;a=c[33430]|0;if(c[b>>2]|0){c[33430]=a|2;a=a|2}}i=b;return a>>>4&1|0}function cab(){var a=0,b=0;b=i;i=i+16|0;a=c[33430]|0;if((a|0)==-1){c[33430]=0;c[b>>2]=0;a=c[33430]|0;if(c[b>>2]|0){c[33430]=a|2;a=a|2}}i=b;return a>>>5&1|0}function dab(){var a=0,b=0;b=i;i=i+16|0;a=c[33430]|0;if((a|0)==-1){c[33430]=0;c[b>>2]=0;a=c[33430]|0;if(c[b>>2]|0){c[33430]=a|2;a=a|2}}i=b;return a>>>1&1|0}function eab(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=c[a+28>>2]|0;l=(c[a+8>>2]<<16|0)/(d|0)|0;b=c[a+24>>2]|0;k=(c[a+4>>2]<<16|0)/(b|0)|0;c[a+28>>2]=d+-1;if(!d)return;g=c[a+20>>2]|0;j=g;d=d+-1|0;e=0;f=0;while(1){if((e|0)>65535){i=e+-65536|0;e=i-(i>>>16<<16)|0;f=f+1+(i>>>16)|0}if(!b)b=d;else{d=65536;h=0;i=-1;while(1){b=b+-1|0;if((d|0)>65535){d=d+-65536|0;i=i+1+(d>>>16)|0;d=d-(d>>>16<<16)|0;h=(c[a>>2]|0)+(_(c[a+12>>2]|0,f)|0)+(i<<2)|0}c[g>>2]=c[h>>2];if(!b)break;else{g=g+4|0;d=d+k|0}}b=c[a+28>>2]|0}g=j+(c[a+32>>2]|0)|0;d=b+-1|0;c[a+28>>2]=d;if(!b)break;b=c[a+24>>2]|0;j=g;e=e+l|0}c[a+20>>2]=g;return}function fab(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;j=c[a+52>>2]|0;l=c[a+28>>2]|0;c[a+28>>2]=l+-1;if(!l)return;d=c[a>>2]|0;b=c[a+20>>2]|0;k=d;l=b;while(1){e=c[a+24>>2]|0;if(e|0)switch(j&112|0){case 16:{e=e+-1|0;while(1){c[b>>2]=c[d>>2]&16777215;if(!e)break;else{e=e+-1|0;b=b+4|0;d=d+4|0}}break}case 32:{e=e+-1|0;while(1){i=c[d>>2]|0;h=c[b>>2]|0;c[b>>2]=(((h>>>8&255)+(i>>>8&255)|0)>>>0>255?255:(h>>>8&255)+(i>>>8&255)|0)<<8|(((h>>>16&255)+(i>>>16&255)|0)>>>0>255?255:(h>>>16&255)+(i>>>16&255)|0)<<16|(((h&255)+(i&255)|0)>>>0>255?255:(h&255)+(i&255)|0);if(!e)break;else{e=e+-1|0;b=b+4|0;d=d+4|0}}break}default:{i=e+-1|0;while(1){e=c[d>>2]|0;f=c[b>>2]|0;if((j&112|0)==64){g=((_(f&255,e&255)|0)>>>0)/255|0;h=((_(f>>>8&255,e>>>8&255)|0)>>>0)/255|0;e=((_(f>>>16&255,e>>>16&255)|0)>>>0)/255|0}else{g=f&255;h=f>>>8&255;e=f>>>16&255}c[b>>2]=h<<8|e<<16|g;if(!i)break;else{i=i+-1|0;b=b+4|0;d=d+4|0}}}}d=k+(c[a+12>>2]|0)|0;b=l+(c[a+32>>2]|0)|0;l=c[a+28>>2]|0;c[a+28>>2]=l+-1;if(!l)break;else{k=d;l=b}}c[a>>2]=d;c[a+20>>2]=b;return}function gab(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;o=c[a+52>>2]|0;n=c[a+28>>2]|0;q=(c[a+8>>2]<<16|0)/(n|0)|0;b=c[a+24>>2]|0;p=(c[a+4>>2]<<16|0)/(b|0)|0;c[a+28>>2]=n+-1;if(!n)return;m=c[a+20>>2]|0;h=m;d=0;e=0;while(1){if((d|0)>65535){l=d+-65536|0;n=l-(l>>>16<<16)|0;e=e+1+(l>>>16)|0}else n=d;d=b+-1|0;a:do if(b|0){if((o&112|0)==16){b=65536;f=0;g=-1;while(1){if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;f=(c[a>>2]|0)+(_(c[a+12>>2]|0,e)|0)+(g<<2)|0}c[h>>2]=c[f>>2]&16777215;if(!d)break a;else{d=d+-1|0;h=h+4|0;b=b+p|0}}}else{b=65536;f=0;g=-1}while(1){if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;f=(c[a>>2]|0)+(_(c[a+12>>2]|0,e)|0)+(g<<2)|0}i=c[f>>2]|0;j=c[h>>2]|0;switch(o&112|0){case 64:{k=((_(j&255,i&255)|0)>>>0)/255|0;l=((_(j>>>8&255,i>>>8&255)|0)>>>0)/255|0;i=((_(j>>>16&255,i>>>16&255)|0)>>>0)/255|0;break}case 32:{k=((j&255)+(i&255)|0)>>>0>255?255:(j&255)+(i&255)|0;l=((j>>>8&255)+(i>>>8&255)|0)>>>0>255?255:(j>>>8&255)+(i>>>8&255)|0;i=((j>>>16&255)+(i>>>16&255)|0)>>>0>255?255:(j>>>16&255)+(i>>>16&255)|0;break}default:{k=j&255;l=j>>>8&255;i=j>>>16&255}}c[h>>2]=l<<8|i<<16|k;if(!d)break a;else{d=d+-1|0;h=h+4|0;b=b+p|0}}}while(0);d=m+(c[a+32>>2]|0)|0;m=c[a+28>>2]|0;c[a+28>>2]=m+-1;if(!m)break;h=d;b=c[a+24>>2]|0;m=d;d=n+q|0}c[a+20>>2]=d;return}function hab(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=c[a+52>>2]|0;j=c[a+60>>2]|0;d=c[a+28>>2]|0;c[a+28>>2]=d+-1;if(!d)return;g=c[a>>2]|0;e=c[a+20>>2]|0;if(!(b&1)){h=g;i=e;f=d+-1|0;b=e;d=g;while(1){e=c[a+24>>2]|0;if(!e)e=f;else{while(1){e=e+-1|0;c[b>>2]=c[d>>2]&16777215;if(!e)break;else{b=b+4|0;d=d+4|0}}e=c[a+28>>2]|0}d=h+(c[a+12>>2]|0)|0;b=i+(c[a+32>>2]|0)|0;f=e+-1|0;c[a+28>>2]=f;if(!e)break;else{h=d;i=b}}c[a>>2]=d;c[a+20>>2]=b;return}else{h=g;i=e;f=d+-1|0;b=e;d=g;while(1){e=c[a+24>>2]|0;if(!e)e=f;else{while(1){e=e+-1|0;g=c[d>>2]|0;c[b>>2]=(((_(g>>>8&255,j>>>8&255)|0)>>>0)/255|0)<<8|(((_(g>>>16&255,j&255)|0)>>>0)/255|0)<<16|(((_(g&255,j>>>16&255)|0)>>>0)/255|0);if(!e)break;else{b=b+4|0;d=d+4|0}}e=c[a+28>>2]|0}d=h+(c[a+12>>2]|0)|0;b=i+(c[a+32>>2]|0)|0;f=e+-1|0;c[a+28>>2]=f;if(!e)break;else{h=d;i=b}}c[a>>2]=d;c[a+20>>2]=b;return}}function iab(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;k=c[a+52>>2]|0;n=c[a+60>>2]|0;j=c[a+28>>2]|0;l=(c[a+8>>2]<<16|0)/(j|0)|0;b=c[a+24>>2]|0;m=(c[a+4>>2]<<16|0)/(b|0)|0;c[a+28>>2]=j+-1;if(!j)return;f=c[a+20>>2]|0;j=f;d=0;e=0;while(1){if((d|0)>65535){h=d+-65536|0;i=h-(h>>>16<<16)|0;e=e+1+(h>>>16)|0}else i=d;d=b+-1|0;if(b|0)if(!(k&1)){b=65536;g=0;h=-1;while(1){if((b|0)>65535){b=b+-65536|0;h=h+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;g=(c[a>>2]|0)+(_(c[a+12>>2]|0,e)|0)+(h<<2)|0}c[f>>2]=c[g>>2]&16777215;if(!d)break;else{d=d+-1|0;f=f+4|0;b=b+m|0}}}else{b=65536;g=0;h=-1;while(1){if((b|0)>65535){b=b+-65536|0;h=h+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;g=(c[a>>2]|0)+(_(c[a+12>>2]|0,e)|0)+(h<<2)|0}o=c[g>>2]|0;c[f>>2]=((_(o&255,n>>>16&255)|0)>>>0)/255|0|(((_(o>>>8&255,n>>>8&255)|0)>>>0)/255|0)<<8|(((_(o>>>16&255,n&255)|0)>>>0)/255|0)<<16;if(!d)break;else{d=d+-1|0;f=f+4|0;b=b+m|0}}}d=j+(c[a+32>>2]|0)|0;o=c[a+28>>2]|0;c[a+28>>2]=o+-1;if(!o)break;b=c[a+24>>2]|0;j=d;f=d;d=i+l|0}c[a+20>>2]=d;return}function jab(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;l=c[a+52>>2]|0;o=c[a+60>>2]|0;n=c[a+28>>2]|0;c[a+28>>2]=n+-1;if(!n)return;k=(l&2|0)==0?255:o>>>24;d=c[a>>2]|0;b=c[a+20>>2]|0;m=d;n=b;while(1){e=c[a+24>>2]|0;a:do if(e|0)if(!(l&1)){j=e+-1|0;while(1){e=c[d>>2]|0;i=c[b>>2]|0;if((l&48|0)!=0&(k|0)!=255){f=((_(e&255,k)|0)>>>0)/255|0;h=((_(e>>>8&255,k)|0)>>>0)/255|0;e=((_(e>>>16&255,k)|0)>>>0)/255|0}else{f=e&255;h=e>>>8&255;e=e>>>16&255}switch(l&112|0){case 16:{g=f+(((_(i&255,k^255)|0)>>>0)/255|0)|0;f=h+(((_(i>>>8&255,k^255)|0)>>>0)/255|0)|0;e=e+(((_(i>>>16&255,k^255)|0)>>>0)/255|0)|0;break}case 32:{e=e+(i>>>16&255)|0;h=h+(i>>>8&255)|0;g=f+(i&255)|0;g=g>>>0>255?255:g;f=h>>>0>255?255:h;e=e>>>0>255?255:e;break}case 64:{g=((_(f,i&255)|0)>>>0)/255|0;f=((_(h,i>>>8&255)|0)>>>0)/255|0;e=((_(e,i>>>16&255)|0)>>>0)/255|0;break}default:{g=i&255;f=i>>>8&255;e=i>>>16&255}}c[b>>2]=f<<8|e<<16|g;if(!j)break a;else{j=j+-1|0;b=b+4|0;d=d+4|0}}}else{j=e+-1|0;while(1){e=c[d>>2]|0;i=c[b>>2]|0;g=((_(e>>>16&255,o&255)|0)>>>0)/255|0;f=((_(e>>>8&255,o>>>8&255)|0)>>>0)/255|0;e=((_(e&255,o>>>16&255)|0)>>>0)/255|0;if((l&48|0)!=0&(k|0)!=255){e=((_(e,k)|0)>>>0)/255|0;f=((_(f,k)|0)>>>0)/255|0;g=((_(g,k)|0)>>>0)/255|0}switch(l&112|0){case 16:{h=e+(((_(i&255,k^255)|0)>>>0)/255|0)|0;f=f+(((_(i>>>8&255,k^255)|0)>>>0)/255|0)|0;e=g+(((_(i>>>16&255,k^255)|0)>>>0)/255|0)|0;break}case 32:{g=g+(i>>>16&255)|0;f=f+(i>>>8&255)|0;h=e+(i&255)|0;h=h>>>0>255?255:h;f=f>>>0>255?255:f;e=g>>>0>255?255:g;break}case 64:{h=((_(e,i&255)|0)>>>0)/255|0;f=((_(f,i>>>8&255)|0)>>>0)/255|0;e=((_(g,i>>>16&255)|0)>>>0)/255|0;break}default:{h=i&255;f=i>>>8&255;e=i>>>16&255}}c[b>>2]=f<<8|e<<16|h;if(!j)break a;else{j=j+-1|0;b=b+4|0;d=d+4|0}}}while(0);d=m+(c[a+12>>2]|0)|0;b=n+(c[a+32>>2]|0)|0;n=c[a+28>>2]|0;c[a+28>>2]=n+-1;if(!n)break;else{m=d;n=b}}c[a>>2]=d;c[a+20>>2]=b;return}function kab(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;p=c[a+52>>2]|0;t=c[a+60>>2]|0;b=c[a+28>>2]|0;r=(c[a+8>>2]<<16|0)/(b|0)|0;d=c[a+24>>2]|0;s=(c[a+4>>2]<<16|0)/(d|0)|0;c[a+28>>2]=b+-1;if(!b)return;o=(p&2|0)==0?255:t>>>24;g=c[a+20>>2]|0;q=g;b=b+-1|0;e=0;f=0;while(1){if((e|0)>65535){m=e+-65536|0;n=m-(m>>>16<<16)|0;f=f+1+(m>>>16)|0}else n=e;if(!d)d=b;else{b=65536;e=0;h=-1;while(1){d=d+-1|0;if((b|0)>65535){b=b+-65536|0;h=h+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(c[a>>2]|0)+(_(c[a+12>>2]|0,f)|0)+(h<<2)|0}i=c[e>>2]|0;m=c[g>>2]|0;if(!(p&1)){j=i&255;k=i>>>8&255;l=i>>>16&255}else{j=((_(i&255,t>>>16&255)|0)>>>0)/255|0;k=((_(i>>>8&255,t>>>8&255)|0)>>>0)/255|0;l=((_(i>>>16&255,t&255)|0)>>>0)/255|0}if((p&48|0)!=0&(o|0)!=255){j=((_(j,o)|0)>>>0)/255|0;i=((_(k,o)|0)>>>0)/255|0;l=((_(l,o)|0)>>>0)/255|0}else i=k;switch(p&112|0){case 16:{k=j+(((_(m&255,o^255)|0)>>>0)/255|0)|0;j=i+(((_(m>>>8&255,o^255)|0)>>>0)/255|0)|0;i=l+(((_(m>>>16&255,o^255)|0)>>>0)/255|0)|0;break}case 32:{l=l+(m>>>16&255)|0;i=i+(m>>>8&255)|0;k=j+(m&255)|0;k=k>>>0>255?255:k;j=i>>>0>255?255:i;i=l>>>0>255?255:l;break}case 64:{k=((_(j,m&255)|0)>>>0)/255|0;j=((_(i,m>>>8&255)|0)>>>0)/255|0;i=((_(l,m>>>16&255)|0)>>>0)/255|0;break}default:{k=m&255;j=m>>>8&255;i=m>>>16&255}}c[g>>2]=j<<8|i<<16|k;if(!d)break;else{g=g+4|0;b=b+s|0}}d=c[a+28>>2]|0}e=q+(c[a+32>>2]|0)|0;b=d+-1|0;c[a+28>>2]=b;if(!d)break;q=e;g=e;d=c[a+24>>2]|0;e=n+r|0}c[a+20>>2]=e;return}function lab(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=c[a+28>>2]|0;l=(c[a+8>>2]<<16|0)/(d|0)|0;b=c[a+24>>2]|0;k=(c[a+4>>2]<<16|0)/(b|0)|0;c[a+28>>2]=d+-1;if(!d)return;g=c[a+20>>2]|0;j=g;d=d+-1|0;e=0;f=0;while(1){if((e|0)>65535){i=e+-65536|0;e=i-(i>>>16<<16)|0;f=f+1+(i>>>16)|0}if(!b)b=d;else{d=65536;h=0;i=-1;while(1){b=b+-1|0;if((d|0)>65535){d=d+-65536|0;i=i+1+(d>>>16)|0;d=d-(d>>>16<<16)|0;h=(c[a>>2]|0)+(_(c[a+12>>2]|0,f)|0)+(i<<2)|0}m=c[h>>2]|0;c[g>>2]=m<<16&16711680|m&65280|m>>>16&255;if(!b)break;else{g=g+4|0;d=d+k|0}}b=c[a+28>>2]|0}g=j+(c[a+32>>2]|0)|0;d=b+-1|0;c[a+28>>2]=d;if(!b)break;b=c[a+24>>2]|0;j=g;e=e+l|0}c[a+20>>2]=g;return}function mab(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;j=c[a+52>>2]|0;l=c[a+28>>2]|0;c[a+28>>2]=l+-1;if(!l)return;d=c[a>>2]|0;b=c[a+20>>2]|0;k=d;l=b;while(1){e=c[a+24>>2]|0;if(e|0)switch(j&112|0){case 16:{e=e+-1|0;while(1){i=c[d>>2]|0;c[b>>2]=i&65280|i>>>16&255|i<<16&16711680;if(!e)break;else{e=e+-1|0;b=b+4|0;d=d+4|0}}break}case 32:{e=e+-1|0;while(1){i=c[d>>2]|0;h=c[b>>2]|0;c[b>>2]=(((h>>>8&255)+(i>>>8&255)|0)>>>0>255?255:(h>>>8&255)+(i>>>8&255)|0)<<8|(((i>>>16&255)+(h&255)|0)>>>0>255?255:(i>>>16&255)+(h&255)|0)|(((h>>>16&255)+(i&255)|0)>>>0>255?255:(h>>>16&255)+(i&255)|0)<<16;if(!e)break;else{e=e+-1|0;b=b+4|0;d=d+4|0}}break}default:{i=e+-1|0;while(1){e=c[d>>2]|0;f=c[b>>2]|0;if((j&112|0)==64){g=((_(f>>>16&255,e&255)|0)>>>0)/255|0;h=((_(f>>>8&255,e>>>8&255)|0)>>>0)/255|0;e=((_(e>>>16&255,f&255)|0)>>>0)/255|0}else{g=f>>>16&255;h=f>>>8&255;e=f&255}c[b>>2]=h<<8|e|g<<16;if(!i)break;else{i=i+-1|0;b=b+4|0;d=d+4|0}}}}d=k+(c[a+12>>2]|0)|0;b=l+(c[a+32>>2]|0)|0;l=c[a+28>>2]|0;c[a+28>>2]=l+-1;if(!l)break;else{k=d;l=b}}c[a>>2]=d;c[a+20>>2]=b;return}function nab(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;n=c[a+52>>2]|0;o=c[a+28>>2]|0;q=(c[a+8>>2]<<16|0)/(o|0)|0;b=c[a+24>>2]|0;p=(c[a+4>>2]<<16|0)/(b|0)|0;c[a+28>>2]=o+-1;if(!o)return;f=c[a+20>>2]|0;o=f;d=0;e=0;while(1){if((d|0)>65535){l=d+-65536|0;m=l-(l>>>16<<16)|0;e=e+1+(l>>>16)|0}else m=d;d=b+-1|0;a:do if(b|0){if((n&112|0)==16){h=f;b=65536;f=0;g=-1;while(1){if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;f=(c[a>>2]|0)+(_(c[a+12>>2]|0,e)|0)+(g<<2)|0}l=c[f>>2]|0;c[h>>2]=l&65280|l>>>16&255|l<<16&16711680;if(!d)break a;else{d=d+-1|0;h=h+4|0;b=b+p|0}}}else{l=f;b=65536;f=0;g=-1}while(1){if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;f=(c[a>>2]|0)+(_(c[a+12>>2]|0,e)|0)+(g<<2)|0}h=c[f>>2]|0;i=c[l>>2]|0;switch(n&112|0){case 64:{j=((_(i>>>16&255,h&255)|0)>>>0)/255|0;k=((_(i>>>8&255,h>>>8&255)|0)>>>0)/255|0;h=((_(h>>>16&255,i&255)|0)>>>0)/255|0;break}case 32:{j=((i>>>16&255)+(h&255)|0)>>>0>255?255:(i>>>16&255)+(h&255)|0;k=((i>>>8&255)+(h>>>8&255)|0)>>>0>255?255:(i>>>8&255)+(h>>>8&255)|0;h=((h>>>16&255)+(i&255)|0)>>>0>255?255:(h>>>16&255)+(i&255)|0;break}default:{j=i>>>16&255;k=i>>>8&255;h=i&255}}c[l>>2]=k<<8|h|j<<16;if(!d)break a;else{d=d+-1|0;l=l+4|0;b=b+p|0}}}while(0);b=o+(c[a+32>>2]|0)|0;o=c[a+28>>2]|0;c[a+28>>2]=o+-1;if(!o)break;o=b;f=b;b=c[a+24>>2]|0;d=m+q|0}c[a+20>>2]=b;return}function oab(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=c[a+52>>2]|0;j=c[a+60>>2]|0;d=c[a+28>>2]|0;c[a+28>>2]=d+-1;if(!d)return;g=c[a>>2]|0;e=c[a+20>>2]|0;if(!(b&1)){h=g;i=e;f=d+-1|0;b=e;d=g;while(1){e=c[a+24>>2]|0;if(!e)e=f;else{while(1){e=e+-1|0;j=c[d>>2]|0;c[b>>2]=j&65280|j>>>16&255|j<<16&16711680;if(!e)break;else{b=b+4|0;d=d+4|0}}e=c[a+28>>2]|0}d=h+(c[a+12>>2]|0)|0;b=i+(c[a+32>>2]|0)|0;f=e+-1|0;c[a+28>>2]=f;if(!e)break;else{h=d;i=b}}c[a>>2]=d;c[a+20>>2]=b;return}else{h=g;i=e;f=d+-1|0;b=e;d=g;while(1){e=c[a+24>>2]|0;if(!e)e=f;else{while(1){e=e+-1|0;g=c[d>>2]|0;c[b>>2]=(((_(g>>>8&255,j>>>8&255)|0)>>>0)/255|0)<<8|(((_(g>>>16&255,j&255)|0)>>>0)/255|0)|(((_(g&255,j>>>16&255)|0)>>>0)/255|0)<<16;if(!e)break;else{b=b+4|0;d=d+4|0}}e=c[a+28>>2]|0}d=h+(c[a+12>>2]|0)|0;b=i+(c[a+32>>2]|0)|0;f=e+-1|0;c[a+28>>2]=f;if(!e)break;else{h=d;i=b}}c[a>>2]=d;c[a+20>>2]=b;return}}function pab(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;j=c[a+52>>2]|0;n=c[a+60>>2]|0;k=c[a+28>>2]|0;l=(c[a+8>>2]<<16|0)/(k|0)|0;b=c[a+24>>2]|0;m=(c[a+4>>2]<<16|0)/(b|0)|0;c[a+28>>2]=k+-1;if(!k)return;f=c[a+20>>2]|0;k=f;d=0;e=0;while(1){if((d|0)>65535){h=d+-65536|0;i=h-(h>>>16<<16)|0;e=e+1+(h>>>16)|0}else i=d;d=b+-1|0;if(b|0)if(!(j&1)){h=f;b=65536;f=0;g=-1;while(1){if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;f=(c[a>>2]|0)+(_(c[a+12>>2]|0,e)|0)+(g<<2)|0}o=c[f>>2]|0;c[h>>2]=o<<16&16711680|o&65280|o>>>16&255;if(!d)break;else{d=d+-1|0;h=h+4|0;b=b+m|0}}}else{h=f;b=65536;f=0;g=-1;while(1){if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;f=(c[a>>2]|0)+(_(c[a+12>>2]|0,e)|0)+(g<<2)|0}o=c[f>>2]|0;c[h>>2]=(((_(o&255,n>>>16&255)|0)>>>0)/255|0)<<16|(((_(o>>>8&255,n>>>8&255)|0)>>>0)/255|0)<<8|(((_(o>>>16&255,n&255)|0)>>>0)/255|0);if(!d)break;else{d=d+-1|0;h=h+4|0;b=b+m|0}}}b=k+(c[a+32>>2]|0)|0;o=c[a+28>>2]|0;c[a+28>>2]=o+-1;if(!o)break;k=b;f=b;b=c[a+24>>2]|0;d=i+l|0}c[a+20>>2]=b;return}function qab(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;l=c[a+52>>2]|0;o=c[a+60>>2]|0;n=c[a+28>>2]|0;c[a+28>>2]=n+-1;if(!n)return;k=(l&2|0)==0?255:o>>>24;d=c[a>>2]|0;b=c[a+20>>2]|0;m=d;n=b;while(1){e=c[a+24>>2]|0;a:do if(e|0)if(!(l&1)){j=e+-1|0;while(1){e=c[d>>2]|0;i=c[b>>2]|0;if((l&48|0)!=0&(k|0)!=255){f=((_(e&255,k)|0)>>>0)/255|0;h=((_(e>>>8&255,k)|0)>>>0)/255|0;e=((_(e>>>16&255,k)|0)>>>0)/255|0}else{f=e&255;h=e>>>8&255;e=e>>>16&255}switch(l&112|0){case 16:{g=f+(((_(i>>>16&255,k^255)|0)>>>0)/255|0)|0;f=h+(((_(i>>>8&255,k^255)|0)>>>0)/255|0)|0;e=e+(((_(i&255,k^255)|0)>>>0)/255|0)|0;break}case 32:{e=e+(i&255)|0;h=h+(i>>>8&255)|0;g=f+(i>>>16&255)|0;g=g>>>0>255?255:g;f=h>>>0>255?255:h;e=e>>>0>255?255:e;break}case 64:{g=((_(f,i>>>16&255)|0)>>>0)/255|0;f=((_(h,i>>>8&255)|0)>>>0)/255|0;e=((_(e,i&255)|0)>>>0)/255|0;break}default:{g=i>>>16&255;f=i>>>8&255;e=i&255}}c[b>>2]=f<<8|e|g<<16;if(!j)break a;else{j=j+-1|0;b=b+4|0;d=d+4|0}}}else{j=e+-1|0;while(1){e=c[d>>2]|0;i=c[b>>2]|0;g=((_(e>>>16&255,o&255)|0)>>>0)/255|0;f=((_(e>>>8&255,o>>>8&255)|0)>>>0)/255|0;e=((_(e&255,o>>>16&255)|0)>>>0)/255|0;if((l&48|0)!=0&(k|0)!=255){e=((_(e,k)|0)>>>0)/255|0;f=((_(f,k)|0)>>>0)/255|0;g=((_(g,k)|0)>>>0)/255|0}switch(l&112|0){case 16:{h=e+(((_(i>>>16&255,k^255)|0)>>>0)/255|0)|0;f=f+(((_(i>>>8&255,k^255)|0)>>>0)/255|0)|0;e=g+(((_(i&255,k^255)|0)>>>0)/255|0)|0;break}case 32:{g=g+(i&255)|0;f=f+(i>>>8&255)|0;h=e+(i>>>16&255)|0;h=h>>>0>255?255:h;f=f>>>0>255?255:f;e=g>>>0>255?255:g;break}case 64:{h=((_(e,i>>>16&255)|0)>>>0)/255|0;f=((_(f,i>>>8&255)|0)>>>0)/255|0;e=((_(g,i&255)|0)>>>0)/255|0;break}default:{h=i>>>16&255;f=i>>>8&255;e=i&255}}c[b>>2]=f<<8|e|h<<16;if(!j)break a;else{j=j+-1|0;b=b+4|0;d=d+4|0}}}while(0);d=m+(c[a+12>>2]|0)|0;b=n+(c[a+32>>2]|0)|0;n=c[a+28>>2]|0;c[a+28>>2]=n+-1;if(!n)break;else{m=d;n=b}}c[a>>2]=d;c[a+20>>2]=b;return}function rab(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;p=c[a+52>>2]|0;t=c[a+60>>2]|0;b=c[a+28>>2]|0;r=(c[a+8>>2]<<16|0)/(b|0)|0;d=c[a+24>>2]|0;s=(c[a+4>>2]<<16|0)/(d|0)|0;c[a+28>>2]=b+-1;if(!b)return;o=(p&2|0)==0?255:t>>>24;g=c[a+20>>2]|0;q=g;b=b+-1|0;e=0;f=0;while(1){if((e|0)>65535){m=e+-65536|0;n=m-(m>>>16<<16)|0;f=f+1+(m>>>16)|0}else n=e;if(!d)d=b;else{b=65536;e=0;h=-1;while(1){d=d+-1|0;if((b|0)>65535){b=b+-65536|0;h=h+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(c[a>>2]|0)+(_(c[a+12>>2]|0,f)|0)+(h<<2)|0}i=c[e>>2]|0;m=c[g>>2]|0;if(!(p&1)){j=i&255;k=i>>>8&255;l=i>>>16&255}else{j=((_(i&255,t>>>16&255)|0)>>>0)/255|0;k=((_(i>>>8&255,t>>>8&255)|0)>>>0)/255|0;l=((_(i>>>16&255,t&255)|0)>>>0)/255|0}if((p&48|0)!=0&(o|0)!=255){j=((_(j,o)|0)>>>0)/255|0;i=((_(k,o)|0)>>>0)/255|0;l=((_(l,o)|0)>>>0)/255|0}else i=k;switch(p&112|0){case 16:{k=j+(((_(m>>>16&255,o^255)|0)>>>0)/255|0)|0;j=i+(((_(m>>>8&255,o^255)|0)>>>0)/255|0)|0;i=l+(((_(m&255,o^255)|0)>>>0)/255|0)|0;break}case 32:{l=l+(m&255)|0;i=i+(m>>>8&255)|0;k=j+(m>>>16&255)|0;k=k>>>0>255?255:k;j=i>>>0>255?255:i;i=l>>>0>255?255:l;break}case 64:{k=((_(j,m>>>16&255)|0)>>>0)/255|0;j=((_(i,m>>>8&255)|0)>>>0)/255|0;i=((_(l,m&255)|0)>>>0)/255|0;break}default:{k=m>>>16&255;j=m>>>8&255;i=m&255}}c[g>>2]=j<<8|i|k<<16;if(!d)break;else{g=g+4|0;b=b+s|0}}d=c[a+28>>2]|0}e=q+(c[a+32>>2]|0)|0;b=d+-1|0;c[a+28>>2]=b;if(!d)break;q=e;g=e;d=c[a+24>>2]|0;e=n+r|0}c[a+20>>2]=e;return}function sab(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=c[a+28>>2]|0;l=(c[a+8>>2]<<16|0)/(d|0)|0;b=c[a+24>>2]|0;k=(c[a+4>>2]<<16|0)/(b|0)|0;c[a+28>>2]=d+-1;if(!d)return;g=c[a+20>>2]|0;j=g;d=d+-1|0;e=0;f=0;while(1){if((e|0)>65535){i=e+-65536|0;e=i-(i>>>16<<16)|0;f=f+1+(i>>>16)|0}if(!b)b=d;else{d=65536;h=0;i=-1;while(1){b=b+-1|0;if((d|0)>65535){d=d+-65536|0;i=i+1+(d>>>16)|0;d=d-(d>>>16<<16)|0;h=(c[a>>2]|0)+(_(c[a+12>>2]|0,f)|0)+(i<<2)|0}c[g>>2]=c[h>>2]|-16777216;if(!b)break;else{g=g+4|0;d=d+k|0}}b=c[a+28>>2]|0}g=j+(c[a+32>>2]|0)|0;d=b+-1|0;c[a+28>>2]=d;if(!b)break;b=c[a+24>>2]|0;j=g;e=e+l|0}c[a+20>>2]=g;return}function tab(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;j=c[a+52>>2]|0;l=c[a+28>>2]|0;c[a+28>>2]=l+-1;if(!l)return;d=c[a>>2]|0;b=c[a+20>>2]|0;k=d;l=b;while(1){e=c[a+24>>2]|0;a:do if(e|0){if((j&112|0)==16){e=e+-1|0;while(1){c[b>>2]=c[d>>2]|-16777216;if(!e)break a;else{e=e+-1|0;b=b+4|0;d=d+4|0}}}else i=e+-1|0;while(1){e=c[d>>2]|0;f=c[b>>2]|0;switch(j&112|0){case 64:{g=((_(f&255,e&255)|0)>>>0)/255|0;h=((_(f>>>8&255,e>>>8&255)|0)>>>0)/255|0;e=((_(f>>>16&255,e>>>16&255)|0)>>>0)/255|0;break}case 32:{g=((f&255)+(e&255)|0)>>>0>255?255:(f&255)+(e&255)|0;h=((f>>>8&255)+(e>>>8&255)|0)>>>0>255?255:(f>>>8&255)+(e>>>8&255)|0;e=((f>>>16&255)+(e>>>16&255)|0)>>>0>255?255:(f>>>16&255)+(e>>>16&255)|0;break}default:{g=f&255;h=f>>>8&255;e=f>>>16&255}}c[b>>2]=h<<8|e<<16|g|f&-16777216;if(!i)break a;else{i=i+-1|0;b=b+4|0;d=d+4|0}}}while(0);d=k+(c[a+12>>2]|0)|0;b=l+(c[a+32>>2]|0)|0;l=c[a+28>>2]|0;c[a+28>>2]=l+-1;if(!l)break;else{k=d;l=b}}c[a>>2]=d;c[a+20>>2]=b;return}function uab(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;n=c[a+52>>2]|0;o=c[a+28>>2]|0;q=(c[a+8>>2]<<16|0)/(o|0)|0;b=c[a+24>>2]|0;p=(c[a+4>>2]<<16|0)/(b|0)|0;c[a+28>>2]=o+-1;if(!o)return;f=c[a+20>>2]|0;o=f;d=0;e=0;while(1){if((d|0)>65535){l=d+-65536|0;m=l-(l>>>16<<16)|0;e=e+1+(l>>>16)|0}else m=d;d=b+-1|0;a:do if(b|0){if((n&112|0)==16){h=f;b=65536;f=0;g=-1;while(1){if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;f=(c[a>>2]|0)+(_(c[a+12>>2]|0,e)|0)+(g<<2)|0}c[h>>2]=c[f>>2]|-16777216;if(!d)break a;else{d=d+-1|0;h=h+4|0;b=b+p|0}}}else{l=f;b=65536;f=0;g=-1}while(1){if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;f=(c[a>>2]|0)+(_(c[a+12>>2]|0,e)|0)+(g<<2)|0}h=c[f>>2]|0;i=c[l>>2]|0;switch(n&112|0){case 64:{j=((_(i&255,h&255)|0)>>>0)/255|0;k=((_(i>>>8&255,h>>>8&255)|0)>>>0)/255|0;h=((_(i>>>16&255,h>>>16&255)|0)>>>0)/255|0;break}case 32:{j=((i&255)+(h&255)|0)>>>0>255?255:(i&255)+(h&255)|0;k=((i>>>8&255)+(h>>>8&255)|0)>>>0>255?255:(i>>>8&255)+(h>>>8&255)|0;h=((i>>>16&255)+(h>>>16&255)|0)>>>0>255?255:(i>>>16&255)+(h>>>16&255)|0;break}default:{j=i&255;k=i>>>8&255;h=i>>>16&255}}c[l>>2]=k<<8|h<<16|j|i&-16777216;if(!d)break a;else{d=d+-1|0;l=l+4|0;b=b+p|0}}}while(0);b=o+(c[a+32>>2]|0)|0;o=c[a+28>>2]|0;c[a+28>>2]=o+-1;if(!o)break;o=b;f=b;b=c[a+24>>2]|0;d=m+q|0}c[a+20>>2]=b;return}function vab(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;b=c[a+52>>2]|0;j=c[a+60>>2]|0;d=c[a+28>>2]|0;c[a+28>>2]=d+-1;if(!d)return;k=(b&2|0)==0?-16777216:j&-16777216;g=c[a>>2]|0;e=c[a+20>>2]|0;if(!(b&1)){h=g;i=e;f=d+-1|0;b=e;d=g;while(1){e=c[a+24>>2]|0;if(!e)e=f;else{while(1){e=e+-1|0;j=c[d>>2]|0;c[b>>2]=j&16711680|k|j&65280|j&255;if(!e)break;else{b=b+4|0;d=d+4|0}}e=c[a+28>>2]|0}d=h+(c[a+12>>2]|0)|0;b=i+(c[a+32>>2]|0)|0;f=e+-1|0;c[a+28>>2]=f;if(!e)break;else{h=d;i=b}}c[a>>2]=d;c[a+20>>2]=b;return}else{h=g;i=e;f=d+-1|0;b=e;d=g;while(1){e=c[a+24>>2]|0;if(!e)e=f;else{while(1){e=e+-1|0;g=c[d>>2]|0;c[b>>2]=(((_(g>>>16&255,j&255)|0)>>>0)/255|0)<<16|k|(((_(g>>>8&255,j>>>8&255)|0)>>>0)/255|0)<<8|(((_(g&255,j>>>16&255)|0)>>>0)/255|0);if(!e)break;else{b=b+4|0;d=d+4|0}}e=c[a+28>>2]|0}d=h+(c[a+12>>2]|0)|0;b=i+(c[a+32>>2]|0)|0;f=e+-1|0;c[a+28>>2]=f;if(!e)break;else{h=d;i=b}}c[a>>2]=d;c[a+20>>2]=b;return}}function wab(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;j=c[a+52>>2]|0;n=c[a+60>>2]|0;o=c[a+28>>2]|0;l=(c[a+8>>2]<<16|0)/(o|0)|0;b=c[a+24>>2]|0;m=(c[a+4>>2]<<16|0)/(b|0)|0;c[a+28>>2]=o+-1;if(!o)return;o=(j&2|0)==0?-16777216:n&-16777216;f=c[a+20>>2]|0;k=f;d=0;e=0;while(1){if((d|0)>65535){h=d+-65536|0;i=h-(h>>>16<<16)|0;e=e+1+(h>>>16)|0}else i=d;d=b+-1|0;if(b|0)if(!(j&1)){h=f;b=65536;f=0;g=-1;while(1){if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;f=(c[a>>2]|0)+(_(c[a+12>>2]|0,e)|0)+(g<<2)|0}p=c[f>>2]|0;c[h>>2]=p&65280|o|p&255|p&16711680;if(!d)break;else{d=d+-1|0;h=h+4|0;b=b+m|0}}}else{h=f;b=65536;f=0;g=-1;while(1){if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;f=(c[a>>2]|0)+(_(c[a+12>>2]|0,e)|0)+(g<<2)|0}p=c[f>>2]|0;c[h>>2]=(((_(p>>>8&255,n>>>8&255)|0)>>>0)/255|0)<<8|o|(((_(p&255,n>>>16&255)|0)>>>0)/255|0)|(((_(p>>>16&255,n&255)|0)>>>0)/255|0)<<16;if(!d)break;else{d=d+-1|0;h=h+4|0;b=b+m|0}}}b=k+(c[a+32>>2]|0)|0;p=c[a+28>>2]|0;c[a+28>>2]=p+-1;if(!p)break;k=b;f=b;b=c[a+24>>2]|0;d=i+l|0}c[a+20>>2]=b;return}function xab(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;m=c[a+52>>2]|0;n=c[a+60>>2]|0;b=c[a+28>>2]|0;c[a+28>>2]=b+-1;if(!b)return;l=(m&2|0)==0?255:n>>>24;d=c[a>>2]|0;k=c[a+20>>2]|0;o=d;p=k;f=b+-1|0;b=k;while(1){e=c[a+24>>2]|0;if(!e)e=f;else{while(1){e=e+-1|0;f=c[d>>2]|0;k=c[b>>2]|0;if(!(m&1)){g=f&255;h=f>>>8&255;f=f>>>16&255}else{g=((_(f&255,n>>>16&255)|0)>>>0)/255|0;h=((_(f>>>8&255,n>>>8&255)|0)>>>0)/255|0;f=((_(f>>>16&255,n&255)|0)>>>0)/255|0}if((m&48|0)!=0&(l|0)!=255){g=((_(g,l)|0)>>>0)/255|0;h=((_(h,l)|0)>>>0)/255|0;f=((_(f,l)|0)>>>0)/255|0}switch(m&112|0){case 16:{j=(((_(k>>>24,l^255)|0)>>>0)/255|0)+l|0;i=g+(((_(k&255,l^255)|0)>>>0)/255|0)|0;g=h+(((_(k>>>8&255,l^255)|0)>>>0)/255|0)|0;f=f+(((_(k>>>16&255,l^255)|0)>>>0)/255|0)|0;break}case 32:{f=f+(k>>>16&255)|0;h=h+(k>>>8&255)|0;i=g+(k&255)|0;j=k>>>24;i=i>>>0>255?255:i;g=h>>>0>255?255:h;f=f>>>0>255?255:f;break}case 64:{j=k>>>24;i=((_(g,k&255)|0)>>>0)/255|0;g=((_(h,k>>>8&255)|0)>>>0)/255|0;f=((_(f,k>>>16&255)|0)>>>0)/255|0;break}default:{j=k>>>24;i=k&255;g=k>>>8&255;f=k>>>16&255}}c[b>>2]=g<<8|f<<16|i|j<<24;if(!e)break;else{b=b+4|0;d=d+4|0}}e=c[a+28>>2]|0}d=o+(c[a+12>>2]|0)|0;b=p+(c[a+32>>2]|0)|0;f=e+-1|0;c[a+28>>2]=f;if(!e)break;else{o=d;p=b}}c[a>>2]=d;c[a+20>>2]=b;return}function yab(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;q=c[a+52>>2]|0;u=c[a+60>>2]|0;b=c[a+28>>2]|0;s=(c[a+8>>2]<<16|0)/(b|0)|0;d=c[a+24>>2]|0;t=(c[a+4>>2]<<16|0)/(d|0)|0;c[a+28>>2]=b+-1;if(!b)return;p=(q&2|0)==0?255:u>>>24;g=c[a+20>>2]|0;r=g;b=b+-1|0;e=0;f=0;while(1){if((e|0)>65535){n=e+-65536|0;o=n-(n>>>16<<16)|0;f=f+1+(n>>>16)|0}else o=e;if(!d)d=b;else{b=65536;e=0;h=-1;while(1){d=d+-1|0;if((b|0)>65535){b=b+-65536|0;h=h+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(c[a>>2]|0)+(_(c[a+12>>2]|0,f)|0)+(h<<2)|0}i=c[e>>2]|0;n=c[g>>2]|0;if(!(q&1)){j=i&255;k=i>>>8&255;i=i>>>16&255}else{j=((_(i&255,u>>>16&255)|0)>>>0)/255|0;k=((_(i>>>8&255,u>>>8&255)|0)>>>0)/255|0;i=((_(i>>>16&255,u&255)|0)>>>0)/255|0}if((q&48|0)!=0&(p|0)!=255){j=((_(j,p)|0)>>>0)/255|0;k=((_(k,p)|0)>>>0)/255|0;i=((_(i,p)|0)>>>0)/255|0}switch(q&112|0){case 16:{m=(((_(n>>>24,p^255)|0)>>>0)/255|0)+p|0;l=j+(((_(n&255,p^255)|0)>>>0)/255|0)|0;j=k+(((_(n>>>8&255,p^255)|0)>>>0)/255|0)|0;i=i+(((_(n>>>16&255,p^255)|0)>>>0)/255|0)|0;break}case 32:{i=i+(n>>>16&255)|0;k=k+(n>>>8&255)|0;l=j+(n&255)|0;m=n>>>24;l=l>>>0>255?255:l;j=k>>>0>255?255:k;i=i>>>0>255?255:i;break}case 64:{m=n>>>24;l=((_(j,n&255)|0)>>>0)/255|0;j=((_(k,n>>>8&255)|0)>>>0)/255|0;i=((_(i,n>>>16&255)|0)>>>0)/255|0;break}default:{m=n>>>24;l=n&255;j=n>>>8&255;i=n>>>16&255}}c[g>>2]=j<<8|i<<16|l|m<<24;if(!d)break;else{g=g+4|0;b=b+t|0}}d=c[a+28>>2]|0}e=r+(c[a+32>>2]|0)|0;b=d+-1|0;c[a+28>>2]=b;if(!d)break;r=e;g=e;d=c[a+24>>2]|0;e=o+s|0}c[a+20>>2]=e;return}function zab(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=c[a+28>>2]|0;l=(c[a+8>>2]<<16|0)/(d|0)|0;b=c[a+24>>2]|0;k=(c[a+4>>2]<<16|0)/(b|0)|0;c[a+28>>2]=d+-1;if(!d)return;g=c[a+20>>2]|0;j=g;d=d+-1|0;e=0;f=0;while(1){if((e|0)>65535){i=e+-65536|0;e=i-(i>>>16<<16)|0;f=f+1+(i>>>16)|0}if(!b)b=d;else{d=65536;h=0;i=-1;while(1){b=b+-1|0;if((d|0)>65535){d=d+-65536|0;i=i+1+(d>>>16)|0;d=d-(d>>>16<<16)|0;h=(c[a>>2]|0)+(_(c[a+12>>2]|0,f)|0)+(i<<2)|0}m=c[h>>2]|0;c[g>>2]=m<<16&16711680|m&65280|m>>>16&255;if(!b)break;else{g=g+4|0;d=d+k|0}}b=c[a+28>>2]|0}g=j+(c[a+32>>2]|0)|0;d=b+-1|0;c[a+28>>2]=d;if(!b)break;b=c[a+24>>2]|0;j=g;e=e+l|0}c[a+20>>2]=g;return}function Aab(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;j=c[a+52>>2]|0;l=c[a+28>>2]|0;c[a+28>>2]=l+-1;if(!l)return;d=c[a>>2]|0;b=c[a+20>>2]|0;k=d;l=b;while(1){e=c[a+24>>2]|0;if(e|0)switch(j&112|0){case 16:{e=e+-1|0;while(1){i=c[d>>2]|0;c[b>>2]=i&65280|i<<16&16711680|i>>>16&255;if(!e)break;else{e=e+-1|0;b=b+4|0;d=d+4|0}}break}case 32:{e=e+-1|0;while(1){h=c[d>>2]|0;i=c[b>>2]|0;c[b>>2]=(((i>>>8&255)+(h>>>8&255)|0)>>>0>255?255:(i>>>8&255)+(h>>>8&255)|0)<<8|(((i>>>16&255)+(h&255)|0)>>>0>255?255:(i>>>16&255)+(h&255)|0)<<16|(((h>>>16&255)+(i&255)|0)>>>0>255?255:(h>>>16&255)+(i&255)|0);if(!e)break;else{e=e+-1|0;b=b+4|0;d=d+4|0}}break}default:{i=e+-1|0;while(1){e=c[d>>2]|0;f=c[b>>2]|0;if((j&112|0)==64){g=((_(e>>>16&255,f&255)|0)>>>0)/255|0;h=((_(f>>>8&255,e>>>8&255)|0)>>>0)/255|0;e=((_(f>>>16&255,e&255)|0)>>>0)/255|0}else{g=f&255;h=f>>>8&255;e=f>>>16&255}c[b>>2]=h<<8|e<<16|g;if(!i)break;else{i=i+-1|0;b=b+4|0;d=d+4|0}}}}d=k+(c[a+12>>2]|0)|0;b=l+(c[a+32>>2]|0)|0;l=c[a+28>>2]|0;c[a+28>>2]=l+-1;if(!l)break;else{k=d;l=b}}c[a>>2]=d;c[a+20>>2]=b;return}function Bab(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;n=c[a+52>>2]|0;o=c[a+28>>2]|0;q=(c[a+8>>2]<<16|0)/(o|0)|0;b=c[a+24>>2]|0;p=(c[a+4>>2]<<16|0)/(b|0)|0;c[a+28>>2]=o+-1;if(!o)return;f=c[a+20>>2]|0;o=f;d=0;e=0;while(1){if((d|0)>65535){l=d+-65536|0;m=l-(l>>>16<<16)|0;e=e+1+(l>>>16)|0}else m=d;d=b+-1|0;a:do if(b|0){if((n&112|0)==16){h=f;b=65536;f=0;g=-1;while(1){if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;f=(c[a>>2]|0)+(_(c[a+12>>2]|0,e)|0)+(g<<2)|0}l=c[f>>2]|0;c[h>>2]=l&65280|l<<16&16711680|l>>>16&255;if(!d)break a;else{d=d+-1|0;h=h+4|0;b=b+p|0}}}else{l=f;b=65536;f=0;g=-1}while(1){if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;f=(c[a>>2]|0)+(_(c[a+12>>2]|0,e)|0)+(g<<2)|0}h=c[f>>2]|0;i=c[l>>2]|0;switch(n&112|0){case 64:{j=((_(h>>>16&255,i&255)|0)>>>0)/255|0;k=((_(i>>>8&255,h>>>8&255)|0)>>>0)/255|0;h=((_(i>>>16&255,h&255)|0)>>>0)/255|0;break}case 32:{j=((h>>>16&255)+(i&255)|0)>>>0>255?255:(h>>>16&255)+(i&255)|0;k=((i>>>8&255)+(h>>>8&255)|0)>>>0>255?255:(i>>>8&255)+(h>>>8&255)|0;h=((i>>>16&255)+(h&255)|0)>>>0>255?255:(i>>>16&255)+(h&255)|0;break}default:{j=i&255;k=i>>>8&255;h=i>>>16&255}}c[l>>2]=k<<8|h<<16|j;if(!d)break a;else{d=d+-1|0;l=l+4|0;b=b+p|0}}}while(0);b=o+(c[a+32>>2]|0)|0;o=c[a+28>>2]|0;c[a+28>>2]=o+-1;if(!o)break;o=b;f=b;b=c[a+24>>2]|0;d=m+q|0}c[a+20>>2]=b;return}function Cab(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=c[a+52>>2]|0;j=c[a+60>>2]|0;d=c[a+28>>2]|0;c[a+28>>2]=d+-1;if(!d)return;g=c[a>>2]|0;e=c[a+20>>2]|0;if(!(b&1)){h=g;i=e;f=d+-1|0;b=e;d=g;while(1){e=c[a+24>>2]|0;if(!e)e=f;else{while(1){e=e+-1|0;j=c[d>>2]|0;c[b>>2]=j&65280|j<<16&16711680|j>>>16&255;if(!e)break;else{b=b+4|0;d=d+4|0}}e=c[a+28>>2]|0}d=h+(c[a+12>>2]|0)|0;b=i+(c[a+32>>2]|0)|0;f=e+-1|0;c[a+28>>2]=f;if(!e)break;else{h=d;i=b}}c[a>>2]=d;c[a+20>>2]=b;return}else{h=g;i=e;f=d+-1|0;b=e;d=g;while(1){e=c[a+24>>2]|0;if(!e)e=f;else{while(1){e=e+-1|0;g=c[d>>2]|0;c[b>>2]=(((_(g>>>8&255,j>>>8&255)|0)>>>0)/255|0)<<8|(((_(g&255,j&255)|0)>>>0)/255|0)<<16|(((_(g>>>16&255,j>>>16&255)|0)>>>0)/255|0);if(!e)break;else{b=b+4|0;d=d+4|0}}e=c[a+28>>2]|0}d=h+(c[a+12>>2]|0)|0;b=i+(c[a+32>>2]|0)|0;f=e+-1|0;c[a+28>>2]=f;if(!e)break;else{h=d;i=b}}c[a>>2]=d;c[a+20>>2]=b;return}}function Dab(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;j=c[a+52>>2]|0;n=c[a+60>>2]|0;k=c[a+28>>2]|0;l=(c[a+8>>2]<<16|0)/(k|0)|0;b=c[a+24>>2]|0;m=(c[a+4>>2]<<16|0)/(b|0)|0;c[a+28>>2]=k+-1;if(!k)return;f=c[a+20>>2]|0;k=f;d=0;e=0;while(1){if((d|0)>65535){h=d+-65536|0;i=h-(h>>>16<<16)|0;e=e+1+(h>>>16)|0}else i=d;d=b+-1|0;if(b|0)if(!(j&1)){h=f;b=65536;f=0;g=-1;while(1){if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;f=(c[a>>2]|0)+(_(c[a+12>>2]|0,e)|0)+(g<<2)|0}o=c[f>>2]|0;c[h>>2]=o>>>16&255|o&65280|o<<16&16711680;if(!d)break;else{d=d+-1|0;h=h+4|0;b=b+m|0}}}else{h=f;b=65536;f=0;g=-1;while(1){if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;f=(c[a>>2]|0)+(_(c[a+12>>2]|0,e)|0)+(g<<2)|0}o=c[f>>2]|0;c[h>>2]=((_(o>>>16&255,n>>>16&255)|0)>>>0)/255|0|(((_(o>>>8&255,n>>>8&255)|0)>>>0)/255|0)<<8|(((_(o&255,n&255)|0)>>>0)/255|0)<<16;if(!d)break;else{d=d+-1|0;h=h+4|0;b=b+m|0}}}b=k+(c[a+32>>2]|0)|0;o=c[a+28>>2]|0;c[a+28>>2]=o+-1;if(!o)break;k=b;f=b;b=c[a+24>>2]|0;d=i+l|0}c[a+20>>2]=b;return}function Eab(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;l=c[a+52>>2]|0;o=c[a+60>>2]|0;n=c[a+28>>2]|0;c[a+28>>2]=n+-1;if(!n)return;k=(l&2|0)==0?255:o>>>24;d=c[a>>2]|0;b=c[a+20>>2]|0;m=d;n=b;while(1){e=c[a+24>>2]|0;a:do if(e|0)if(!(l&1)){j=e+-1|0;while(1){e=c[d>>2]|0;i=c[b>>2]|0;if((l&48|0)!=0&(k|0)!=255){f=((_(e>>>16&255,k)|0)>>>0)/255|0;h=((_(e>>>8&255,k)|0)>>>0)/255|0;e=((_(e&255,k)|0)>>>0)/255|0}else{f=e>>>16&255;h=e>>>8&255;e=e&255}switch(l&112|0){case 16:{g=f+(((_(i&255,k^255)|0)>>>0)/255|0)|0;f=h+(((_(i>>>8&255,k^255)|0)>>>0)/255|0)|0;e=e+(((_(i>>>16&255,k^255)|0)>>>0)/255|0)|0;break}case 32:{e=e+(i>>>16&255)|0;h=h+(i>>>8&255)|0;g=f+(i&255)|0;g=g>>>0>255?255:g;f=h>>>0>255?255:h;e=e>>>0>255?255:e;break}case 64:{g=((_(f,i&255)|0)>>>0)/255|0;f=((_(h,i>>>8&255)|0)>>>0)/255|0;e=((_(e,i>>>16&255)|0)>>>0)/255|0;break}default:{g=i&255;f=i>>>8&255;e=i>>>16&255}}c[b>>2]=f<<8|e<<16|g;if(!j)break a;else{j=j+-1|0;b=b+4|0;d=d+4|0}}}else{j=e+-1|0;while(1){e=c[d>>2]|0;i=c[b>>2]|0;g=((_(e&255,o&255)|0)>>>0)/255|0;f=((_(e>>>8&255,o>>>8&255)|0)>>>0)/255|0;e=((_(e>>>16&255,o>>>16&255)|0)>>>0)/255|0;if((l&48|0)!=0&(k|0)!=255){e=((_(e,k)|0)>>>0)/255|0;f=((_(f,k)|0)>>>0)/255|0;g=((_(g,k)|0)>>>0)/255|0}switch(l&112|0){case 16:{h=e+(((_(i&255,k^255)|0)>>>0)/255|0)|0;f=f+(((_(i>>>8&255,k^255)|0)>>>0)/255|0)|0;e=g+(((_(i>>>16&255,k^255)|0)>>>0)/255|0)|0;break}case 32:{g=g+(i>>>16&255)|0;f=f+(i>>>8&255)|0;h=e+(i&255)|0;h=h>>>0>255?255:h;f=f>>>0>255?255:f;e=g>>>0>255?255:g;break}case 64:{h=((_(e,i&255)|0)>>>0)/255|0;f=((_(f,i>>>8&255)|0)>>>0)/255|0;e=((_(g,i>>>16&255)|0)>>>0)/255|0;break}default:{h=i&255;f=i>>>8&255;e=i>>>16&255}}c[b>>2]=f<<8|e<<16|h;if(!j)break a;else{j=j+-1|0;b=b+4|0;d=d+4|0}}}while(0);d=m+(c[a+12>>2]|0)|0;b=n+(c[a+32>>2]|0)|0;n=c[a+28>>2]|0;c[a+28>>2]=n+-1;if(!n)break;else{m=d;n=b}}c[a>>2]=d;c[a+20>>2]=b;return}function Fab(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;p=c[a+52>>2]|0;t=c[a+60>>2]|0;b=c[a+28>>2]|0;r=(c[a+8>>2]<<16|0)/(b|0)|0;d=c[a+24>>2]|0;s=(c[a+4>>2]<<16|0)/(d|0)|0;c[a+28>>2]=b+-1;if(!b)return;o=(p&2|0)==0?255:t>>>24;g=c[a+20>>2]|0;q=g;b=b+-1|0;e=0;f=0;while(1){if((e|0)>65535){m=e+-65536|0;n=m-(m>>>16<<16)|0;f=f+1+(m>>>16)|0}else n=e;if(!d)d=b;else{b=65536;e=0;h=-1;while(1){d=d+-1|0;if((b|0)>65535){b=b+-65536|0;h=h+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(c[a>>2]|0)+(_(c[a+12>>2]|0,f)|0)+(h<<2)|0}i=c[e>>2]|0;m=c[g>>2]|0;if(!(p&1)){j=i>>>16&255;k=i>>>8&255;l=i&255}else{j=((_(i>>>16&255,t>>>16&255)|0)>>>0)/255|0;k=((_(i>>>8&255,t>>>8&255)|0)>>>0)/255|0;l=((_(i&255,t&255)|0)>>>0)/255|0}if((p&48|0)!=0&(o|0)!=255){j=((_(j,o)|0)>>>0)/255|0;i=((_(k,o)|0)>>>0)/255|0;l=((_(l,o)|0)>>>0)/255|0}else i=k;switch(p&112|0){case 16:{k=j+(((_(m&255,o^255)|0)>>>0)/255|0)|0;j=i+(((_(m>>>8&255,o^255)|0)>>>0)/255|0)|0;i=l+(((_(m>>>16&255,o^255)|0)>>>0)/255|0)|0;break}case 32:{l=l+(m>>>16&255)|0;i=i+(m>>>8&255)|0;k=j+(m&255)|0;k=k>>>0>255?255:k;j=i>>>0>255?255:i;i=l>>>0>255?255:l;break}case 64:{k=((_(j,m&255)|0)>>>0)/255|0;j=((_(i,m>>>8&255)|0)>>>0)/255|0;i=((_(l,m>>>16&255)|0)>>>0)/255|0;break}default:{k=m&255;j=m>>>8&255;i=m>>>16&255}}c[g>>2]=j<<8|i<<16|k;if(!d)break;else{g=g+4|0;b=b+s|0}}d=c[a+28>>2]|0}e=q+(c[a+32>>2]|0)|0;b=d+-1|0;c[a+28>>2]=b;if(!d)break;q=e;g=e;d=c[a+24>>2]|0;e=n+r|0}c[a+20>>2]=e;return}function Gab(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=c[a+28>>2]|0;l=(c[a+8>>2]<<16|0)/(d|0)|0;b=c[a+24>>2]|0;k=(c[a+4>>2]<<16|0)/(b|0)|0;c[a+28>>2]=d+-1;if(!d)return;g=c[a+20>>2]|0;j=g;d=d+-1|0;e=0;f=0;while(1){if((e|0)>65535){i=e+-65536|0;e=i-(i>>>16<<16)|0;f=f+1+(i>>>16)|0}if(!b)b=d;else{d=65536;h=0;i=-1;while(1){b=b+-1|0;if((d|0)>65535){d=d+-65536|0;i=i+1+(d>>>16)|0;d=d-(d>>>16<<16)|0;h=(c[a>>2]|0)+(_(c[a+12>>2]|0,f)|0)+(i<<2)|0}c[g>>2]=c[h>>2];if(!b)break;else{g=g+4|0;d=d+k|0}}b=c[a+28>>2]|0}g=j+(c[a+32>>2]|0)|0;d=b+-1|0;c[a+28>>2]=d;if(!b)break;b=c[a+24>>2]|0;j=g;e=e+l|0}c[a+20>>2]=g;return}function Hab(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;j=c[a+52>>2]|0;l=c[a+28>>2]|0;c[a+28>>2]=l+-1;if(!l)return;d=c[a>>2]|0;b=c[a+20>>2]|0;k=d;l=b;while(1){e=c[a+24>>2]|0;if(e|0)switch(j&112|0){case 16:{e=e+-1|0;while(1){c[b>>2]=c[d>>2]&16777215;if(!e)break;else{e=e+-1|0;b=b+4|0;d=d+4|0}}break}case 32:{e=e+-1|0;while(1){i=c[d>>2]|0;h=c[b>>2]|0;c[b>>2]=(((h>>>8&255)+(i>>>8&255)|0)>>>0>255?255:(h>>>8&255)+(i>>>8&255)|0)<<8|(((h&255)+(i&255)|0)>>>0>255?255:(h&255)+(i&255)|0)|(((h>>>16&255)+(i>>>16&255)|0)>>>0>255?255:(h>>>16&255)+(i>>>16&255)|0)<<16;if(!e)break;else{e=e+-1|0;b=b+4|0;d=d+4|0}}break}default:{i=e+-1|0;while(1){e=c[d>>2]|0;f=c[b>>2]|0;if((j&112|0)==64){g=((_(f>>>16&255,e>>>16&255)|0)>>>0)/255|0;h=((_(f>>>8&255,e>>>8&255)|0)>>>0)/255|0;e=((_(f&255,e&255)|0)>>>0)/255|0}else{g=f>>>16&255;h=f>>>8&255;e=f&255}c[b>>2]=h<<8|e|g<<16;if(!i)break;else{i=i+-1|0;b=b+4|0;d=d+4|0}}}}d=k+(c[a+12>>2]|0)|0;b=l+(c[a+32>>2]|0)|0;l=c[a+28>>2]|0;c[a+28>>2]=l+-1;if(!l)break;else{k=d;l=b}}c[a>>2]=d;c[a+20>>2]=b;return}function Iab(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;o=c[a+52>>2]|0;n=c[a+28>>2]|0;q=(c[a+8>>2]<<16|0)/(n|0)|0;b=c[a+24>>2]|0;p=(c[a+4>>2]<<16|0)/(b|0)|0;c[a+28>>2]=n+-1;if(!n)return;m=c[a+20>>2]|0;h=m;d=0;e=0;while(1){if((d|0)>65535){l=d+-65536|0;n=l-(l>>>16<<16)|0;e=e+1+(l>>>16)|0}else n=d;d=b+-1|0;a:do if(b|0){if((o&112|0)==16){b=65536;f=0;g=-1;while(1){if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;f=(c[a>>2]|0)+(_(c[a+12>>2]|0,e)|0)+(g<<2)|0}c[h>>2]=c[f>>2]&16777215;if(!d)break a;else{d=d+-1|0;h=h+4|0;b=b+p|0}}}else{b=65536;f=0;g=-1}while(1){if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;f=(c[a>>2]|0)+(_(c[a+12>>2]|0,e)|0)+(g<<2)|0}i=c[f>>2]|0;j=c[h>>2]|0;switch(o&112|0){case 64:{k=((_(j>>>16&255,i>>>16&255)|0)>>>0)/255|0;l=((_(j>>>8&255,i>>>8&255)|0)>>>0)/255|0;i=((_(j&255,i&255)|0)>>>0)/255|0;break}case 32:{k=((j>>>16&255)+(i>>>16&255)|0)>>>0>255?255:(j>>>16&255)+(i>>>16&255)|0;l=((j>>>8&255)+(i>>>8&255)|0)>>>0>255?255:(j>>>8&255)+(i>>>8&255)|0;i=((j&255)+(i&255)|0)>>>0>255?255:(j&255)+(i&255)|0;break}default:{k=j>>>16&255;l=j>>>8&255;i=j&255}}c[h>>2]=l<<8|i|k<<16;if(!d)break a;else{d=d+-1|0;h=h+4|0;b=b+p|0}}}while(0);d=m+(c[a+32>>2]|0)|0;m=c[a+28>>2]|0;c[a+28>>2]=m+-1;if(!m)break;h=d;b=c[a+24>>2]|0;m=d;d=n+q|0}c[a+20>>2]=d;return}function Jab(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=c[a+52>>2]|0;j=c[a+60>>2]|0;d=c[a+28>>2]|0;c[a+28>>2]=d+-1;if(!d)return;g=c[a>>2]|0;e=c[a+20>>2]|0;if(!(b&1)){h=g;i=e;f=d+-1|0;b=e;d=g;while(1){e=c[a+24>>2]|0;if(!e)e=f;else{while(1){e=e+-1|0;c[b>>2]=c[d>>2]&16777215;if(!e)break;else{b=b+4|0;d=d+4|0}}e=c[a+28>>2]|0}d=h+(c[a+12>>2]|0)|0;b=i+(c[a+32>>2]|0)|0;f=e+-1|0;c[a+28>>2]=f;if(!e)break;else{h=d;i=b}}c[a>>2]=d;c[a+20>>2]=b;return}else{h=g;i=e;f=d+-1|0;b=e;d=g;while(1){e=c[a+24>>2]|0;if(!e)e=f;else{while(1){e=e+-1|0;g=c[d>>2]|0;c[b>>2]=(((_(g>>>8&255,j>>>8&255)|0)>>>0)/255|0)<<8|(((_(g&255,j&255)|0)>>>0)/255|0)|(((_(g>>>16&255,j>>>16&255)|0)>>>0)/255|0)<<16;if(!e)break;else{b=b+4|0;d=d+4|0}}e=c[a+28>>2]|0}d=h+(c[a+12>>2]|0)|0;b=i+(c[a+32>>2]|0)|0;f=e+-1|0;c[a+28>>2]=f;if(!e)break;else{h=d;i=b}}c[a>>2]=d;c[a+20>>2]=b;return}}function Kab(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;k=c[a+52>>2]|0;n=c[a+60>>2]|0;j=c[a+28>>2]|0;l=(c[a+8>>2]<<16|0)/(j|0)|0;b=c[a+24>>2]|0;m=(c[a+4>>2]<<16|0)/(b|0)|0;c[a+28>>2]=j+-1;if(!j)return;f=c[a+20>>2]|0;j=f;d=0;e=0;while(1){if((d|0)>65535){h=d+-65536|0;i=h-(h>>>16<<16)|0;e=e+1+(h>>>16)|0}else i=d;d=b+-1|0;if(b|0)if(!(k&1)){b=65536;g=0;h=-1;while(1){if((b|0)>65535){b=b+-65536|0;h=h+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;g=(c[a>>2]|0)+(_(c[a+12>>2]|0,e)|0)+(h<<2)|0}c[f>>2]=c[g>>2]&16777215;if(!d)break;else{d=d+-1|0;f=f+4|0;b=b+m|0}}}else{b=65536;g=0;h=-1;while(1){if((b|0)>65535){b=b+-65536|0;h=h+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;g=(c[a>>2]|0)+(_(c[a+12>>2]|0,e)|0)+(h<<2)|0}o=c[g>>2]|0;c[f>>2]=(((_(o>>>16&255,n>>>16&255)|0)>>>0)/255|0)<<16|(((_(o>>>8&255,n>>>8&255)|0)>>>0)/255|0)<<8|(((_(o&255,n&255)|0)>>>0)/255|0);if(!d)break;else{d=d+-1|0;f=f+4|0;b=b+m|0}}}d=j+(c[a+32>>2]|0)|0;o=c[a+28>>2]|0;c[a+28>>2]=o+-1;if(!o)break;b=c[a+24>>2]|0;j=d;f=d;d=i+l|0}c[a+20>>2]=d;return}function Lab(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;l=c[a+52>>2]|0;o=c[a+60>>2]|0;n=c[a+28>>2]|0;c[a+28>>2]=n+-1;if(!n)return;k=(l&2|0)==0?255:o>>>24;d=c[a>>2]|0;b=c[a+20>>2]|0;m=d;n=b;while(1){e=c[a+24>>2]|0;a:do if(e|0)if(!(l&1)){j=e+-1|0;while(1){e=c[d>>2]|0;i=c[b>>2]|0;if((l&48|0)!=0&(k|0)!=255){f=((_(e>>>16&255,k)|0)>>>0)/255|0;h=((_(e>>>8&255,k)|0)>>>0)/255|0;e=((_(e&255,k)|0)>>>0)/255|0}else{f=e>>>16&255;h=e>>>8&255;e=e&255}switch(l&112|0){case 16:{g=f+(((_(i>>>16&255,k^255)|0)>>>0)/255|0)|0;f=h+(((_(i>>>8&255,k^255)|0)>>>0)/255|0)|0;e=e+(((_(i&255,k^255)|0)>>>0)/255|0)|0;break}case 32:{e=e+(i&255)|0;h=h+(i>>>8&255)|0;g=f+(i>>>16&255)|0;g=g>>>0>255?255:g;f=h>>>0>255?255:h;e=e>>>0>255?255:e;break}case 64:{g=((_(f,i>>>16&255)|0)>>>0)/255|0;f=((_(h,i>>>8&255)|0)>>>0)/255|0;e=((_(e,i&255)|0)>>>0)/255|0;break}default:{g=i>>>16&255;f=i>>>8&255;e=i&255}}c[b>>2]=f<<8|e|g<<16;if(!j)break a;else{j=j+-1|0;b=b+4|0;d=d+4|0}}}else{j=e+-1|0;while(1){e=c[d>>2]|0;i=c[b>>2]|0;g=((_(e&255,o&255)|0)>>>0)/255|0;f=((_(e>>>8&255,o>>>8&255)|0)>>>0)/255|0;e=((_(e>>>16&255,o>>>16&255)|0)>>>0)/255|0;if((l&48|0)!=0&(k|0)!=255){e=((_(e,k)|0)>>>0)/255|0;f=((_(f,k)|0)>>>0)/255|0;g=((_(g,k)|0)>>>0)/255|0}switch(l&112|0){case 16:{h=e+(((_(i>>>16&255,k^255)|0)>>>0)/255|0)|0;f=f+(((_(i>>>8&255,k^255)|0)>>>0)/255|0)|0;e=g+(((_(i&255,k^255)|0)>>>0)/255|0)|0;break}case 32:{g=g+(i&255)|0;f=f+(i>>>8&255)|0;h=e+(i>>>16&255)|0;h=h>>>0>255?255:h;f=f>>>0>255?255:f;e=g>>>0>255?255:g;break}case 64:{h=((_(e,i>>>16&255)|0)>>>0)/255|0;f=((_(f,i>>>8&255)|0)>>>0)/255|0;e=((_(g,i&255)|0)>>>0)/255|0;break}default:{h=i>>>16&255;f=i>>>8&255;e=i&255}}c[b>>2]=f<<8|e|h<<16;if(!j)break a;else{j=j+-1|0;b=b+4|0;d=d+4|0}}}while(0);d=m+(c[a+12>>2]|0)|0;b=n+(c[a+32>>2]|0)|0;n=c[a+28>>2]|0;c[a+28>>2]=n+-1;if(!n)break;else{m=d;n=b}}c[a>>2]=d;c[a+20>>2]=b;return}function Mab(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;p=c[a+52>>2]|0;t=c[a+60>>2]|0;b=c[a+28>>2]|0;r=(c[a+8>>2]<<16|0)/(b|0)|0;d=c[a+24>>2]|0;s=(c[a+4>>2]<<16|0)/(d|0)|0;c[a+28>>2]=b+-1;if(!b)return;o=(p&2|0)==0?255:t>>>24;g=c[a+20>>2]|0;q=g;b=b+-1|0;e=0;f=0;while(1){if((e|0)>65535){m=e+-65536|0;n=m-(m>>>16<<16)|0;f=f+1+(m>>>16)|0}else n=e;if(!d)d=b;else{b=65536;e=0;h=-1;while(1){d=d+-1|0;if((b|0)>65535){b=b+-65536|0;h=h+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(c[a>>2]|0)+(_(c[a+12>>2]|0,f)|0)+(h<<2)|0}i=c[e>>2]|0;m=c[g>>2]|0;if(!(p&1)){j=i>>>16&255;k=i>>>8&255;l=i&255}else{j=((_(i>>>16&255,t>>>16&255)|0)>>>0)/255|0;k=((_(i>>>8&255,t>>>8&255)|0)>>>0)/255|0;l=((_(i&255,t&255)|0)>>>0)/255|0}if((p&48|0)!=0&(o|0)!=255){j=((_(j,o)|0)>>>0)/255|0;i=((_(k,o)|0)>>>0)/255|0;l=((_(l,o)|0)>>>0)/255|0}else i=k;switch(p&112|0){case 16:{k=j+(((_(m>>>16&255,o^255)|0)>>>0)/255|0)|0;j=i+(((_(m>>>8&255,o^255)|0)>>>0)/255|0)|0;i=l+(((_(m&255,o^255)|0)>>>0)/255|0)|0;break}case 32:{l=l+(m&255)|0;i=i+(m>>>8&255)|0;k=j+(m>>>16&255)|0;k=k>>>0>255?255:k;j=i>>>0>255?255:i;i=l>>>0>255?255:l;break}case 64:{k=((_(j,m>>>16&255)|0)>>>0)/255|0;j=((_(i,m>>>8&255)|0)>>>0)/255|0;i=((_(l,m&255)|0)>>>0)/255|0;break}default:{k=m>>>16&255;j=m>>>8&255;i=m&255}}c[g>>2]=j<<8|i|k<<16;if(!d)break;else{g=g+4|0;b=b+s|0}}d=c[a+28>>2]|0}e=q+(c[a+32>>2]|0)|0;b=d+-1|0;c[a+28>>2]=b;if(!d)break;q=e;g=e;d=c[a+24>>2]|0;e=n+r|0}c[a+20>>2]=e;return}function Nab(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=c[a+28>>2]|0;l=(c[a+8>>2]<<16|0)/(d|0)|0;b=c[a+24>>2]|0;k=(c[a+4>>2]<<16|0)/(b|0)|0;c[a+28>>2]=d+-1;if(!d)return;g=c[a+20>>2]|0;j=g;d=d+-1|0;e=0;f=0;while(1){if((e|0)>65535){i=e+-65536|0;e=i-(i>>>16<<16)|0;f=f+1+(i>>>16)|0}if(!b)b=d;else{d=65536;h=0;i=-1;while(1){b=b+-1|0;if((d|0)>65535){d=d+-65536|0;i=i+1+(d>>>16)|0;d=d-(d>>>16<<16)|0;h=(c[a>>2]|0)+(_(c[a+12>>2]|0,f)|0)+(i<<2)|0}m=c[h>>2]|0;c[g>>2]=m&65280|m<<16|m>>>16&255|-16777216;if(!b)break;else{g=g+4|0;d=d+k|0}}b=c[a+28>>2]|0}g=j+(c[a+32>>2]|0)|0;d=b+-1|0;c[a+28>>2]=d;if(!b)break;b=c[a+24>>2]|0;j=g;e=e+l|0}c[a+20>>2]=g;return}function Oab(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;j=c[a+52>>2]|0;l=c[a+28>>2]|0;c[a+28>>2]=l+-1;if(!l)return;d=c[a>>2]|0;b=c[a+20>>2]|0;k=d;l=b;while(1){e=c[a+24>>2]|0;a:do if(e|0){if((j&112|0)==16){e=e+-1|0;while(1){i=c[d>>2]|0;c[b>>2]=i&65280|i<<16|i>>>16&255|-16777216;if(!e)break a;else{e=e+-1|0;b=b+4|0;d=d+4|0}}}else i=e+-1|0;while(1){e=c[d>>2]|0;f=c[b>>2]|0;switch(j&112|0){case 64:{g=((_(e>>>16&255,f&255)|0)>>>0)/255|0;h=((_(f>>>8&255,e>>>8&255)|0)>>>0)/255|0;e=((_(f>>>16&255,e&255)|0)>>>0)/255|0;break}case 32:{g=((e>>>16&255)+(f&255)|0)>>>0>255?255:(e>>>16&255)+(f&255)|0;h=((f>>>8&255)+(e>>>8&255)|0)>>>0>255?255:(f>>>8&255)+(e>>>8&255)|0;e=((f>>>16&255)+(e&255)|0)>>>0>255?255:(f>>>16&255)+(e&255)|0;break}default:{g=f&255;h=f>>>8&255;e=f>>>16&255}}c[b>>2]=h<<8|e<<16|g|f&-16777216;if(!i)break a;else{i=i+-1|0;b=b+4|0;d=d+4|0}}}while(0);d=k+(c[a+12>>2]|0)|0;b=l+(c[a+32>>2]|0)|0;l=c[a+28>>2]|0;c[a+28>>2]=l+-1;if(!l)break;else{k=d;l=b}}c[a>>2]=d;c[a+20>>2]=b;return}function Pab(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;n=c[a+52>>2]|0;o=c[a+28>>2]|0;q=(c[a+8>>2]<<16|0)/(o|0)|0;b=c[a+24>>2]|0;p=(c[a+4>>2]<<16|0)/(b|0)|0;c[a+28>>2]=o+-1;if(!o)return;f=c[a+20>>2]|0;o=f;d=0;e=0;while(1){if((d|0)>65535){l=d+-65536|0;m=l-(l>>>16<<16)|0;e=e+1+(l>>>16)|0}else m=d;d=b+-1|0;a:do if(b|0){if((n&112|0)==16){h=f;b=65536;f=0;g=-1;while(1){if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;f=(c[a>>2]|0)+(_(c[a+12>>2]|0,e)|0)+(g<<2)|0}l=c[f>>2]|0;c[h>>2]=l&65280|l<<16|l>>>16&255|-16777216;if(!d)break a;else{d=d+-1|0;h=h+4|0;b=b+p|0}}}else{l=f;b=65536;f=0;g=-1}while(1){if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;f=(c[a>>2]|0)+(_(c[a+12>>2]|0,e)|0)+(g<<2)|0}h=c[f>>2]|0;i=c[l>>2]|0;switch(n&112|0){case 64:{j=((_(h>>>16&255,i&255)|0)>>>0)/255|0;k=((_(i>>>8&255,h>>>8&255)|0)>>>0)/255|0;h=((_(i>>>16&255,h&255)|0)>>>0)/255|0;break}case 32:{j=((h>>>16&255)+(i&255)|0)>>>0>255?255:(h>>>16&255)+(i&255)|0;k=((i>>>8&255)+(h>>>8&255)|0)>>>0>255?255:(i>>>8&255)+(h>>>8&255)|0;h=((i>>>16&255)+(h&255)|0)>>>0>255?255:(i>>>16&255)+(h&255)|0;break}default:{j=i&255;k=i>>>8&255;h=i>>>16&255}}c[l>>2]=k<<8|h<<16|j|i&-16777216;if(!d)break a;else{d=d+-1|0;l=l+4|0;b=b+p|0}}}while(0);b=o+(c[a+32>>2]|0)|0;o=c[a+28>>2]|0;c[a+28>>2]=o+-1;if(!o)break;o=b;f=b;b=c[a+24>>2]|0;d=m+q|0}c[a+20>>2]=b;return}function Qab(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;b=c[a+52>>2]|0;j=c[a+60>>2]|0;d=c[a+28>>2]|0;c[a+28>>2]=d+-1;if(!d)return;k=(b&2|0)==0?-16777216:j&-16777216;g=c[a>>2]|0;e=c[a+20>>2]|0;if(!(b&1)){h=g;i=e;f=d+-1|0;b=e;d=g;while(1){e=c[a+24>>2]|0;if(!e)e=f;else{while(1){e=e+-1|0;j=c[d>>2]|0;c[b>>2]=j<<16&16711680|k|j&65280|j>>>16&255;if(!e)break;else{b=b+4|0;d=d+4|0}}e=c[a+28>>2]|0}d=h+(c[a+12>>2]|0)|0;b=i+(c[a+32>>2]|0)|0;f=e+-1|0;c[a+28>>2]=f;if(!e)break;else{h=d;i=b}}c[a>>2]=d;c[a+20>>2]=b;return}else{h=g;i=e;f=d+-1|0;b=e;d=g;while(1){e=c[a+24>>2]|0;if(!e)e=f;else{while(1){e=e+-1|0;g=c[d>>2]|0;c[b>>2]=(((_(g&255,j&255)|0)>>>0)/255|0)<<16|k|(((_(g>>>8&255,j>>>8&255)|0)>>>0)/255|0)<<8|(((_(g>>>16&255,j>>>16&255)|0)>>>0)/255|0);if(!e)break;else{b=b+4|0;d=d+4|0}}e=c[a+28>>2]|0}d=h+(c[a+12>>2]|0)|0;b=i+(c[a+32>>2]|0)|0;f=e+-1|0;c[a+28>>2]=f;if(!e)break;else{h=d;i=b}}c[a>>2]=d;c[a+20>>2]=b;return}}function Rab(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;j=c[a+52>>2]|0;n=c[a+60>>2]|0;o=c[a+28>>2]|0;l=(c[a+8>>2]<<16|0)/(o|0)|0;b=c[a+24>>2]|0;m=(c[a+4>>2]<<16|0)/(b|0)|0;c[a+28>>2]=o+-1;if(!o)return;o=(j&2|0)==0?-16777216:n&-16777216;f=c[a+20>>2]|0;k=f;d=0;e=0;while(1){if((d|0)>65535){h=d+-65536|0;i=h-(h>>>16<<16)|0;e=e+1+(h>>>16)|0}else i=d;d=b+-1|0;if(b|0)if(!(j&1)){h=f;b=65536;f=0;g=-1;while(1){if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;f=(c[a>>2]|0)+(_(c[a+12>>2]|0,e)|0)+(g<<2)|0}p=c[f>>2]|0;c[h>>2]=p&65280|o|p>>>16&255|p<<16&16711680;if(!d)break;else{d=d+-1|0;h=h+4|0;b=b+m|0}}}else{h=f;b=65536;f=0;g=-1;while(1){if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;f=(c[a>>2]|0)+(_(c[a+12>>2]|0,e)|0)+(g<<2)|0}p=c[f>>2]|0;c[h>>2]=(((_(p>>>8&255,n>>>8&255)|0)>>>0)/255|0)<<8|o|(((_(p>>>16&255,n>>>16&255)|0)>>>0)/255|0)|(((_(p&255,n&255)|0)>>>0)/255|0)<<16;if(!d)break;else{d=d+-1|0;h=h+4|0;b=b+m|0}}}b=k+(c[a+32>>2]|0)|0;p=c[a+28>>2]|0;c[a+28>>2]=p+-1;if(!p)break;k=b;f=b;b=c[a+24>>2]|0;d=i+l|0}c[a+20>>2]=b;return}function Sab(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;m=c[a+52>>2]|0;n=c[a+60>>2]|0;b=c[a+28>>2]|0;c[a+28>>2]=b+-1;if(!b)return;l=(m&2|0)==0?255:n>>>24;d=c[a>>2]|0;k=c[a+20>>2]|0;o=d;p=k;f=b+-1|0;b=k;while(1){e=c[a+24>>2]|0;if(!e)e=f;else{while(1){e=e+-1|0;f=c[d>>2]|0;k=c[b>>2]|0;if(!(m&1)){g=f>>>16&255;h=f>>>8&255;f=f&255}else{g=((_(f>>>16&255,n>>>16&255)|0)>>>0)/255|0;h=((_(f>>>8&255,n>>>8&255)|0)>>>0)/255|0;f=((_(f&255,n&255)|0)>>>0)/255|0}if((m&48|0)!=0&(l|0)!=255){g=((_(g,l)|0)>>>0)/255|0;h=((_(h,l)|0)>>>0)/255|0;f=((_(f,l)|0)>>>0)/255|0}switch(m&112|0){case 16:{j=(((_(k>>>24,l^255)|0)>>>0)/255|0)+l|0;i=g+(((_(k&255,l^255)|0)>>>0)/255|0)|0;g=h+(((_(k>>>8&255,l^255)|0)>>>0)/255|0)|0;f=f+(((_(k>>>16&255,l^255)|0)>>>0)/255|0)|0;break}case 32:{f=f+(k>>>16&255)|0;h=h+(k>>>8&255)|0;i=g+(k&255)|0;j=k>>>24;i=i>>>0>255?255:i;g=h>>>0>255?255:h;f=f>>>0>255?255:f;break}case 64:{j=k>>>24;i=((_(g,k&255)|0)>>>0)/255|0;g=((_(h,k>>>8&255)|0)>>>0)/255|0;f=((_(f,k>>>16&255)|0)>>>0)/255|0;break}default:{j=k>>>24;i=k&255;g=k>>>8&255;f=k>>>16&255}}c[b>>2]=g<<8|f<<16|i|j<<24;if(!e)break;else{b=b+4|0;d=d+4|0}}e=c[a+28>>2]|0}d=o+(c[a+12>>2]|0)|0;b=p+(c[a+32>>2]|0)|0;f=e+-1|0;c[a+28>>2]=f;if(!e)break;else{o=d;p=b}}c[a>>2]=d;c[a+20>>2]=b;return}function Tab(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;q=c[a+52>>2]|0;u=c[a+60>>2]|0;b=c[a+28>>2]|0;s=(c[a+8>>2]<<16|0)/(b|0)|0;d=c[a+24>>2]|0;t=(c[a+4>>2]<<16|0)/(d|0)|0;c[a+28>>2]=b+-1;if(!b)return;p=(q&2|0)==0?255:u>>>24;g=c[a+20>>2]|0;r=g;b=b+-1|0;e=0;f=0;while(1){if((e|0)>65535){n=e+-65536|0;o=n-(n>>>16<<16)|0;f=f+1+(n>>>16)|0}else o=e;if(!d)d=b;else{b=65536;e=0;h=-1;while(1){d=d+-1|0;if((b|0)>65535){b=b+-65536|0;h=h+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(c[a>>2]|0)+(_(c[a+12>>2]|0,f)|0)+(h<<2)|0}i=c[e>>2]|0;n=c[g>>2]|0;if(!(q&1)){j=i>>>16&255;k=i>>>8&255;i=i&255}else{j=((_(i>>>16&255,u>>>16&255)|0)>>>0)/255|0;k=((_(i>>>8&255,u>>>8&255)|0)>>>0)/255|0;i=((_(i&255,u&255)|0)>>>0)/255|0}if((q&48|0)!=0&(p|0)!=255){j=((_(j,p)|0)>>>0)/255|0;k=((_(k,p)|0)>>>0)/255|0;i=((_(i,p)|0)>>>0)/255|0}switch(q&112|0){case 16:{m=(((_(n>>>24,p^255)|0)>>>0)/255|0)+p|0;l=j+(((_(n&255,p^255)|0)>>>0)/255|0)|0;j=k+(((_(n>>>8&255,p^255)|0)>>>0)/255|0)|0;i=i+(((_(n>>>16&255,p^255)|0)>>>0)/255|0)|0;break}case 32:{i=i+(n>>>16&255)|0;k=k+(n>>>8&255)|0;l=j+(n&255)|0;m=n>>>24;l=l>>>0>255?255:l;j=k>>>0>255?255:k;i=i>>>0>255?255:i;break}case 64:{m=n>>>24;l=((_(j,n&255)|0)>>>0)/255|0;j=((_(k,n>>>8&255)|0)>>>0)/255|0;i=((_(i,n>>>16&255)|0)>>>0)/255|0;break}default:{m=n>>>24;l=n&255;j=n>>>8&255;i=n>>>16&255}}c[g>>2]=j<<8|i<<16|l|m<<24;if(!d)break;else{g=g+4|0;b=b+t|0}}d=c[a+28>>2]|0}e=r+(c[a+32>>2]|0)|0;b=d+-1|0;c[a+28>>2]=b;if(!d)break;r=e;g=e;d=c[a+24>>2]|0;e=o+s|0}c[a+20>>2]=e;return}function Uab(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=c[a+28>>2]|0;l=(c[a+8>>2]<<16|0)/(d|0)|0;b=c[a+24>>2]|0;k=(c[a+4>>2]<<16|0)/(b|0)|0;c[a+28>>2]=d+-1;if(!d)return;g=c[a+20>>2]|0;j=g;d=d+-1|0;e=0;f=0;while(1){if((e|0)>65535){i=e+-65536|0;e=i-(i>>>16<<16)|0;f=f+1+(i>>>16)|0}if(!b)b=d;else{d=65536;h=0;i=-1;while(1){b=b+-1|0;if((d|0)>65535){d=d+-65536|0;i=i+1+(d>>>16)|0;d=d-(d>>>16<<16)|0;h=(c[a>>2]|0)+(_(c[a+12>>2]|0,f)|0)+(i<<2)|0}c[g>>2]=c[h>>2]&16777215;if(!b)break;else{g=g+4|0;d=d+k|0}}b=c[a+28>>2]|0}g=j+(c[a+32>>2]|0)|0;d=b+-1|0;c[a+28>>2]=d;if(!b)break;b=c[a+24>>2]|0;j=g;e=e+l|0}c[a+20>>2]=g;return}function Vab(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;l=c[a+52>>2]|0;n=c[a+28>>2]|0;c[a+28>>2]=n+-1;if(!n)return;d=c[a>>2]|0;b=c[a+20>>2]|0;m=d;n=b;while(1){e=c[a+24>>2]|0;a:do if(e|0){if(!(l&48)){i=e+-1|0;while(1){e=c[d>>2]|0;f=c[b>>2]|0;switch(l&112|0){case 16:{g=(e&255)+(((_(e>>>24^255,f&255)|0)>>>0)/255|0)|0;h=(e>>>8&255)+(((_(f>>>8&255,e>>>24^255)|0)>>>0)/255|0)|0;e=(e>>>16&255)+(((_(f>>>16&255,e>>>24^255)|0)>>>0)/255|0)|0;break}case 32:{g=((e&255)+(f&255)|0)>>>0>255?255:(e&255)+(f&255)|0;h=((e>>>8&255)+(f>>>8&255)|0)>>>0>255?255:(e>>>8&255)+(f>>>8&255)|0;e=((e>>>16&255)+(f>>>16&255)|0)>>>0>255?255:(e>>>16&255)+(f>>>16&255)|0;break}case 64:{g=((_(e&255,f&255)|0)>>>0)/255|0;h=((_(e>>>8&255,f>>>8&255)|0)>>>0)/255|0;e=((_(e>>>16&255,f>>>16&255)|0)>>>0)/255|0;break}default:{g=f&255;h=f>>>8&255;e=f>>>16&255}}c[b>>2]=h<<8|e<<16|g;if(!i)break a;else{i=i+-1|0;b=b+4|0;d=d+4|0}}}else k=e+-1|0;while(1){g=c[d>>2]|0;h=c[b>>2]|0;if((g>>>24|0)==255){e=g&255;f=g>>>8&255;j=g>>>16&255}else{e=((_(g&255,g>>>24)|0)>>>0)/255|0;f=((_(g>>>8&255,g>>>24)|0)>>>0)/255|0;j=((_(g>>>16&255,g>>>24)|0)>>>0)/255|0}switch(l&112|0){case 16:{i=e+(((_(g>>>24^255,h&255)|0)>>>0)/255|0)|0;f=f+(((_(h>>>8&255,g>>>24^255)|0)>>>0)/255|0)|0;e=j+(((_(h>>>16&255,g>>>24^255)|0)>>>0)/255|0)|0;break}case 32:{j=j+(h>>>16&255)|0;f=f+(h>>>8&255)|0;i=e+(h&255)|0;i=i>>>0>255?255:i;f=f>>>0>255?255:f;e=j>>>0>255?255:j;break}case 64:{i=((_(e,h&255)|0)>>>0)/255|0;f=((_(f,h>>>8&255)|0)>>>0)/255|0;e=((_(j,h>>>16&255)|0)>>>0)/255|0;break}default:{i=h&255;f=h>>>8&255;e=h>>>16&255}}c[b>>2]=f<<8|e<<16|i;if(!k)break a;else{k=k+-1|0;b=b+4|0;d=d+4|0}}}while(0);d=m+(c[a+12>>2]|0)|0;b=n+(c[a+32>>2]|0)|0;n=c[a+28>>2]|0;c[a+28>>2]=n+-1;if(!n)break;else{m=d;n=b}}c[a>>2]=d;c[a+20>>2]=b;return}function Wab(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;q=c[a+52>>2]|0;b=c[a+28>>2]|0;s=(c[a+8>>2]<<16|0)/(b|0)|0;d=c[a+24>>2]|0;r=(c[a+4>>2]<<16|0)/(d|0)|0;c[a+28>>2]=b+-1;if(!b)return;p=c[a+20>>2]|0;b=b+-1|0;h=p;e=0;f=0;while(1){if((e|0)>65535){o=e+-65536|0;e=o-(o>>>16<<16)|0;f=f+1+(o>>>16)|0}if(!d)d=b;else{o=h;b=65536;g=0;h=-1;while(1){d=d+-1|0;if((b|0)>65535){b=b+-65536|0;h=h+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;g=(c[a>>2]|0)+(_(c[a+12>>2]|0,f)|0)+(h<<2)|0}k=c[g>>2]|0;l=c[o>>2]|0;if((q&48|0)!=0&(k>>>24|0)!=255){i=((_(k&255,k>>>24)|0)>>>0)/255|0;j=((_(k>>>8&255,k>>>24)|0)>>>0)/255|0;n=((_(k>>>16&255,k>>>24)|0)>>>0)/255|0}else{i=k&255;j=k>>>8&255;n=k>>>16&255}switch(q&112|0){case 16:{m=i+(((_(k>>>24^255,l&255)|0)>>>0)/255|0)|0;j=j+(((_(l>>>8&255,k>>>24^255)|0)>>>0)/255|0)|0;i=n+(((_(l>>>16&255,k>>>24^255)|0)>>>0)/255|0)|0;break}case 32:{n=n+(l>>>16&255)|0;j=j+(l>>>8&255)|0;m=i+(l&255)|0;m=m>>>0>255?255:m;j=j>>>0>255?255:j;i=n>>>0>255?255:n;break}case 64:{m=((_(i,l&255)|0)>>>0)/255|0;j=((_(j,l>>>8&255)|0)>>>0)/255|0;i=((_(n,l>>>16&255)|0)>>>0)/255|0;break}default:{m=l&255;j=l>>>8&255;i=l>>>16&255}}c[o>>2]=j<<8|i<<16|m;if(!d)break;else{o=o+4|0;b=b+r|0}}d=c[a+28>>2]|0}g=p+(c[a+32>>2]|0)|0;b=d+-1|0;c[a+28>>2]=b;if(!d)break;h=g;d=c[a+24>>2]|0;p=g;e=e+s|0}c[a+20>>2]=g;return}function Xab(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=c[a+52>>2]|0;j=c[a+60>>2]|0;d=c[a+28>>2]|0;c[a+28>>2]=d+-1;if(!d)return;g=c[a>>2]|0;e=c[a+20>>2]|0;if(!(b&1)){h=g;i=e;f=d+-1|0;b=e;d=g;while(1){e=c[a+24>>2]|0;if(!e)e=f;else{while(1){e=e+-1|0;c[b>>2]=c[d>>2]&16777215;if(!e)break;else{b=b+4|0;d=d+4|0}}e=c[a+28>>2]|0}d=h+(c[a+12>>2]|0)|0;b=i+(c[a+32>>2]|0)|0;f=e+-1|0;c[a+28>>2]=f;if(!e)break;else{h=d;i=b}}c[a>>2]=d;c[a+20>>2]=b;return}else{h=g;i=e;f=d+-1|0;b=e;d=g;while(1){e=c[a+24>>2]|0;if(!e)e=f;else{while(1){e=e+-1|0;g=c[d>>2]|0;c[b>>2]=(((_(g>>>8&255,j>>>8&255)|0)>>>0)/255|0)<<8|(((_(g>>>16&255,j&255)|0)>>>0)/255|0)<<16|(((_(g&255,j>>>16&255)|0)>>>0)/255|0);if(!e)break;else{b=b+4|0;d=d+4|0}}e=c[a+28>>2]|0}d=h+(c[a+12>>2]|0)|0;b=i+(c[a+32>>2]|0)|0;f=e+-1|0;c[a+28>>2]=f;if(!e)break;else{h=d;i=b}}c[a>>2]=d;c[a+20>>2]=b;return}}function Yab(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;k=c[a+52>>2]|0;n=c[a+60>>2]|0;j=c[a+28>>2]|0;l=(c[a+8>>2]<<16|0)/(j|0)|0;b=c[a+24>>2]|0;m=(c[a+4>>2]<<16|0)/(b|0)|0;c[a+28>>2]=j+-1;if(!j)return;f=c[a+20>>2]|0;j=f;d=0;e=0;while(1){if((d|0)>65535){h=d+-65536|0;i=h-(h>>>16<<16)|0;e=e+1+(h>>>16)|0}else i=d;d=b+-1|0;if(b|0)if(!(k&1)){b=65536;g=0;h=-1;while(1){if((b|0)>65535){b=b+-65536|0;h=h+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;g=(c[a>>2]|0)+(_(c[a+12>>2]|0,e)|0)+(h<<2)|0}c[f>>2]=c[g>>2]&16777215;if(!d)break;else{d=d+-1|0;f=f+4|0;b=b+m|0}}}else{b=65536;g=0;h=-1;while(1){if((b|0)>65535){b=b+-65536|0;h=h+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;g=(c[a>>2]|0)+(_(c[a+12>>2]|0,e)|0)+(h<<2)|0}o=c[g>>2]|0;c[f>>2]=((_(o&255,n>>>16&255)|0)>>>0)/255|0|(((_(o>>>8&255,n>>>8&255)|0)>>>0)/255|0)<<8|(((_(o>>>16&255,n&255)|0)>>>0)/255|0)<<16;if(!d)break;else{d=d+-1|0;f=f+4|0;b=b+m|0}}}d=j+(c[a+32>>2]|0)|0;o=c[a+28>>2]|0;c[a+28>>2]=o+-1;if(!o)break;b=c[a+24>>2]|0;j=d;f=d;d=i+l|0}c[a+20>>2]=d;return}function Zab(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;l=c[a+52>>2]|0;m=c[a+60>>2]|0;b=c[a+28>>2]|0;c[a+28>>2]=b+-1;if(!b)return;d=c[a>>2]|0;k=c[a+20>>2]|0;n=d;o=k;f=b+-1|0;b=k;while(1){e=c[a+24>>2]|0;if(!e)e=f;else{while(1){e=e+-1|0;f=c[d>>2]|0;k=c[b>>2]|0;if(!(l&1)){g=f&255;h=f>>>8&255;i=f>>>16&255}else{g=((_(f&255,m>>>16&255)|0)>>>0)/255|0;h=((_(f>>>8&255,m>>>8&255)|0)>>>0)/255|0;i=((_(f>>>16&255,m&255)|0)>>>0)/255|0}if(!(l&2))j=f>>>24;else j=((_(f>>>24,m>>>24)|0)>>>0)/255|0;if((l&48|0)!=0&j>>>0<255){g=((_(j,g)|0)>>>0)/255|0;f=((_(j,h)|0)>>>0)/255|0;i=((_(j,i)|0)>>>0)/255|0}else f=h;switch(l&112|0){case 16:{j=255-j|0;h=g+(((_(j,k&255)|0)>>>0)/255|0)|0;g=f+(((_(j,k>>>8&255)|0)>>>0)/255|0)|0;f=i+(((_(j,k>>>16&255)|0)>>>0)/255|0)|0;break}case 32:{j=i+(k>>>16&255)|0;f=f+(k>>>8&255)|0;h=g+(k&255)|0;h=h>>>0>255?255:h;g=f>>>0>255?255:f;f=j>>>0>255?255:j;break}case 64:{h=((_(g,k&255)|0)>>>0)/255|0;g=((_(f,k>>>8&255)|0)>>>0)/255|0;f=((_(i,k>>>16&255)|0)>>>0)/255|0;break}default:{h=k&255;g=k>>>8&255;f=k>>>16&255}}c[b>>2]=g<<8|f<<16|h;if(!e)break;else{b=b+4|0;d=d+4|0}}e=c[a+28>>2]|0}d=n+(c[a+12>>2]|0)|0;b=o+(c[a+32>>2]|0)|0;f=e+-1|0;c[a+28>>2]=f;if(!e)break;else{n=d;o=b}}c[a>>2]=d;c[a+20>>2]=b;return}function _ab(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;p=c[a+52>>2]|0;t=c[a+60>>2]|0;b=c[a+28>>2]|0;r=(c[a+8>>2]<<16|0)/(b|0)|0;d=c[a+24>>2]|0;s=(c[a+4>>2]<<16|0)/(d|0)|0;c[a+28>>2]=b+-1;if(!b)return;g=c[a+20>>2]|0;q=g;b=b+-1|0;e=0;f=0;while(1){if((e|0)>65535){n=e+-65536|0;o=n-(n>>>16<<16)|0;f=f+1+(n>>>16)|0}else o=e;if(!d)d=b;else{b=65536;e=0;h=-1;while(1){d=d+-1|0;if((b|0)>65535){b=b+-65536|0;h=h+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(c[a>>2]|0)+(_(c[a+12>>2]|0,f)|0)+(h<<2)|0}i=c[e>>2]|0;n=c[g>>2]|0;if(!(p&1)){j=i&255;k=i>>>8&255;l=i>>>16&255}else{j=((_(i&255,t>>>16&255)|0)>>>0)/255|0;k=((_(i>>>8&255,t>>>8&255)|0)>>>0)/255|0;l=((_(i>>>16&255,t&255)|0)>>>0)/255|0}if(!(p&2))m=i>>>24;else m=((_(i>>>24,t>>>24)|0)>>>0)/255|0;if((p&48|0)!=0&m>>>0<255){j=((_(m,j)|0)>>>0)/255|0;i=((_(m,k)|0)>>>0)/255|0;l=((_(m,l)|0)>>>0)/255|0}else i=k;switch(p&112|0){case 16:{m=255-m|0;k=j+(((_(m,n&255)|0)>>>0)/255|0)|0;j=i+(((_(m,n>>>8&255)|0)>>>0)/255|0)|0;i=l+(((_(m,n>>>16&255)|0)>>>0)/255|0)|0;break}case 32:{m=l+(n>>>16&255)|0;i=i+(n>>>8&255)|0;k=j+(n&255)|0;k=k>>>0>255?255:k;j=i>>>0>255?255:i;i=m>>>0>255?255:m;break}case 64:{k=((_(j,n&255)|0)>>>0)/255|0;j=((_(i,n>>>8&255)|0)>>>0)/255|0;i=((_(l,n>>>16&255)|0)>>>0)/255|0;break}default:{k=n&255;j=n>>>8&255;i=n>>>16&255}}c[g>>2]=j<<8|i<<16|k;if(!d)break;else{g=g+4|0;b=b+s|0}}d=c[a+28>>2]|0}e=q+(c[a+32>>2]|0)|0;b=d+-1|0;c[a+28>>2]=b;if(!d)break;q=e;g=e;d=c[a+24>>2]|0;e=o+r|0}c[a+20>>2]=e;return}function $ab(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=c[a+28>>2]|0;l=(c[a+8>>2]<<16|0)/(d|0)|0;b=c[a+24>>2]|0;k=(c[a+4>>2]<<16|0)/(b|0)|0;c[a+28>>2]=d+-1;if(!d)return;g=c[a+20>>2]|0;j=g;d=d+-1|0;e=0;f=0;while(1){if((e|0)>65535){i=e+-65536|0;e=i-(i>>>16<<16)|0;f=f+1+(i>>>16)|0}if(!b)b=d;else{d=65536;h=0;i=-1;while(1){b=b+-1|0;if((d|0)>65535){d=d+-65536|0;i=i+1+(d>>>16)|0;d=d-(d>>>16<<16)|0;h=(c[a>>2]|0)+(_(c[a+12>>2]|0,f)|0)+(i<<2)|0}m=c[h>>2]|0;c[g>>2]=m<<16&16711680|m&65280|m>>>16&255;if(!b)break;else{g=g+4|0;d=d+k|0}}b=c[a+28>>2]|0}g=j+(c[a+32>>2]|0)|0;d=b+-1|0;c[a+28>>2]=d;if(!b)break;b=c[a+24>>2]|0;j=g;e=e+l|0}c[a+20>>2]=g;return}function abb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;l=c[a+52>>2]|0;n=c[a+28>>2]|0;c[a+28>>2]=n+-1;if(!n)return;d=c[a>>2]|0;b=c[a+20>>2]|0;m=d;n=b;while(1){e=c[a+24>>2]|0;a:do if(e|0){if(!(l&48)){i=e+-1|0;while(1){e=c[d>>2]|0;f=c[b>>2]|0;switch(l&112|0){case 16:{g=(e&255)+(((_(f>>>16&255,e>>>24^255)|0)>>>0)/255|0)|0;h=(e>>>8&255)+(((_(f>>>8&255,e>>>24^255)|0)>>>0)/255|0)|0;e=(e>>>16&255)+(((_(e>>>24^255,f&255)|0)>>>0)/255|0)|0;break}case 32:{g=((e&255)+(f>>>16&255)|0)>>>0>255?255:(e&255)+(f>>>16&255)|0;h=((e>>>8&255)+(f>>>8&255)|0)>>>0>255?255:(e>>>8&255)+(f>>>8&255)|0;e=((e>>>16&255)+(f&255)|0)>>>0>255?255:(e>>>16&255)+(f&255)|0;break}case 64:{g=((_(e&255,f>>>16&255)|0)>>>0)/255|0;h=((_(e>>>8&255,f>>>8&255)|0)>>>0)/255|0;e=((_(e>>>16&255,f&255)|0)>>>0)/255|0;break}default:{g=f>>>16&255;h=f>>>8&255;e=f&255}}c[b>>2]=h<<8|e|g<<16;if(!i)break a;else{i=i+-1|0;b=b+4|0;d=d+4|0}}}else k=e+-1|0;while(1){g=c[d>>2]|0;h=c[b>>2]|0;if((g>>>24|0)==255){e=g&255;f=g>>>8&255;j=g>>>16&255}else{e=((_(g&255,g>>>24)|0)>>>0)/255|0;f=((_(g>>>8&255,g>>>24)|0)>>>0)/255|0;j=((_(g>>>16&255,g>>>24)|0)>>>0)/255|0}switch(l&112|0){case 16:{i=e+(((_(h>>>16&255,g>>>24^255)|0)>>>0)/255|0)|0;f=f+(((_(h>>>8&255,g>>>24^255)|0)>>>0)/255|0)|0;e=j+(((_(g>>>24^255,h&255)|0)>>>0)/255|0)|0;break}case 32:{j=j+(h&255)|0;f=f+(h>>>8&255)|0;i=e+(h>>>16&255)|0;i=i>>>0>255?255:i;f=f>>>0>255?255:f;e=j>>>0>255?255:j;break}case 64:{i=((_(e,h>>>16&255)|0)>>>0)/255|0;f=((_(f,h>>>8&255)|0)>>>0)/255|0;e=((_(j,h&255)|0)>>>0)/255|0;break}default:{i=h>>>16&255;f=h>>>8&255;e=h&255}}c[b>>2]=f<<8|e|i<<16;if(!k)break a;else{k=k+-1|0;b=b+4|0;d=d+4|0}}}while(0);d=m+(c[a+12>>2]|0)|0;b=n+(c[a+32>>2]|0)|0;n=c[a+28>>2]|0;c[a+28>>2]=n+-1;if(!n)break;else{m=d;n=b}}c[a>>2]=d;c[a+20>>2]=b;return}function bbb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;q=c[a+52>>2]|0;b=c[a+28>>2]|0;s=(c[a+8>>2]<<16|0)/(b|0)|0;d=c[a+24>>2]|0;r=(c[a+4>>2]<<16|0)/(d|0)|0;c[a+28>>2]=b+-1;if(!b)return;p=c[a+20>>2]|0;b=b+-1|0;h=p;e=0;f=0;while(1){if((e|0)>65535){o=e+-65536|0;e=o-(o>>>16<<16)|0;f=f+1+(o>>>16)|0}if(!d)d=b;else{o=h;b=65536;g=0;h=-1;while(1){d=d+-1|0;if((b|0)>65535){b=b+-65536|0;h=h+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;g=(c[a>>2]|0)+(_(c[a+12>>2]|0,f)|0)+(h<<2)|0}k=c[g>>2]|0;l=c[o>>2]|0;if((q&48|0)!=0&(k>>>24|0)!=255){i=((_(k&255,k>>>24)|0)>>>0)/255|0;j=((_(k>>>8&255,k>>>24)|0)>>>0)/255|0;n=((_(k>>>16&255,k>>>24)|0)>>>0)/255|0}else{i=k&255;j=k>>>8&255;n=k>>>16&255}switch(q&112|0){case 16:{m=i+(((_(l>>>16&255,k>>>24^255)|0)>>>0)/255|0)|0;j=j+(((_(l>>>8&255,k>>>24^255)|0)>>>0)/255|0)|0;i=n+(((_(k>>>24^255,l&255)|0)>>>0)/255|0)|0;break}case 32:{n=n+(l&255)|0;j=j+(l>>>8&255)|0;m=i+(l>>>16&255)|0;m=m>>>0>255?255:m;j=j>>>0>255?255:j;i=n>>>0>255?255:n;break}case 64:{m=((_(i,l>>>16&255)|0)>>>0)/255|0;j=((_(j,l>>>8&255)|0)>>>0)/255|0;i=((_(n,l&255)|0)>>>0)/255|0;break}default:{m=l>>>16&255;j=l>>>8&255;i=l&255}}c[o>>2]=j<<8|i|m<<16;if(!d)break;else{o=o+4|0;b=b+r|0}}d=c[a+28>>2]|0}g=p+(c[a+32>>2]|0)|0;b=d+-1|0;c[a+28>>2]=b;if(!d)break;h=g;d=c[a+24>>2]|0;p=g;e=e+s|0}c[a+20>>2]=g;return}function cbb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=c[a+52>>2]|0;j=c[a+60>>2]|0;d=c[a+28>>2]|0;c[a+28>>2]=d+-1;if(!d)return;g=c[a>>2]|0;e=c[a+20>>2]|0;if(!(b&1)){h=g;i=e;f=d+-1|0;b=e;d=g;while(1){e=c[a+24>>2]|0;if(!e)e=f;else{while(1){e=e+-1|0;j=c[d>>2]|0;c[b>>2]=j&65280|j>>>16&255|j<<16&16711680;if(!e)break;else{b=b+4|0;d=d+4|0}}e=c[a+28>>2]|0}d=h+(c[a+12>>2]|0)|0;b=i+(c[a+32>>2]|0)|0;f=e+-1|0;c[a+28>>2]=f;if(!e)break;else{h=d;i=b}}c[a>>2]=d;c[a+20>>2]=b;return}else{h=g;i=e;f=d+-1|0;b=e;d=g;while(1){e=c[a+24>>2]|0;if(!e)e=f;else{while(1){e=e+-1|0;g=c[d>>2]|0;c[b>>2]=(((_(g>>>8&255,j>>>8&255)|0)>>>0)/255|0)<<8|(((_(g>>>16&255,j&255)|0)>>>0)/255|0)|(((_(g&255,j>>>16&255)|0)>>>0)/255|0)<<16;if(!e)break;else{b=b+4|0;d=d+4|0}}e=c[a+28>>2]|0}d=h+(c[a+12>>2]|0)|0;b=i+(c[a+32>>2]|0)|0;f=e+-1|0;c[a+28>>2]=f;if(!e)break;else{h=d;i=b}}c[a>>2]=d;c[a+20>>2]=b;return}}function dbb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;j=c[a+52>>2]|0;n=c[a+60>>2]|0;k=c[a+28>>2]|0;l=(c[a+8>>2]<<16|0)/(k|0)|0;b=c[a+24>>2]|0;m=(c[a+4>>2]<<16|0)/(b|0)|0;c[a+28>>2]=k+-1;if(!k)return;f=c[a+20>>2]|0;k=f;d=0;e=0;while(1){if((d|0)>65535){h=d+-65536|0;i=h-(h>>>16<<16)|0;e=e+1+(h>>>16)|0}else i=d;d=b+-1|0;if(b|0)if(!(j&1)){h=f;b=65536;f=0;g=-1;while(1){if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;f=(c[a>>2]|0)+(_(c[a+12>>2]|0,e)|0)+(g<<2)|0}o=c[f>>2]|0;c[h>>2]=o<<16&16711680|o&65280|o>>>16&255;if(!d)break;else{d=d+-1|0;h=h+4|0;b=b+m|0}}}else{h=f;b=65536;f=0;g=-1;while(1){if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;f=(c[a>>2]|0)+(_(c[a+12>>2]|0,e)|0)+(g<<2)|0}o=c[f>>2]|0;c[h>>2]=(((_(o&255,n>>>16&255)|0)>>>0)/255|0)<<16|(((_(o>>>8&255,n>>>8&255)|0)>>>0)/255|0)<<8|(((_(o>>>16&255,n&255)|0)>>>0)/255|0);if(!d)break;else{d=d+-1|0;h=h+4|0;b=b+m|0}}}b=k+(c[a+32>>2]|0)|0;o=c[a+28>>2]|0;c[a+28>>2]=o+-1;if(!o)break;k=b;f=b;b=c[a+24>>2]|0;d=i+l|0}c[a+20>>2]=b;return}function ebb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;l=c[a+52>>2]|0;m=c[a+60>>2]|0;b=c[a+28>>2]|0;c[a+28>>2]=b+-1;if(!b)return;d=c[a>>2]|0;k=c[a+20>>2]|0;n=d;o=k;f=b+-1|0;b=k;while(1){e=c[a+24>>2]|0;if(!e)e=f;else{while(1){e=e+-1|0;f=c[d>>2]|0;k=c[b>>2]|0;if(!(l&1)){g=f&255;h=f>>>8&255;i=f>>>16&255}else{g=((_(f&255,m>>>16&255)|0)>>>0)/255|0;h=((_(f>>>8&255,m>>>8&255)|0)>>>0)/255|0;i=((_(f>>>16&255,m&255)|0)>>>0)/255|0}if(!(l&2))j=f>>>24;else j=((_(f>>>24,m>>>24)|0)>>>0)/255|0;if((l&48|0)!=0&j>>>0<255){g=((_(j,g)|0)>>>0)/255|0;f=((_(j,h)|0)>>>0)/255|0;i=((_(j,i)|0)>>>0)/255|0}else f=h;switch(l&112|0){case 16:{j=255-j|0;h=g+(((_(j,k>>>16&255)|0)>>>0)/255|0)|0;g=f+(((_(j,k>>>8&255)|0)>>>0)/255|0)|0;f=i+(((_(j,k&255)|0)>>>0)/255|0)|0;break}case 32:{j=i+(k&255)|0;f=f+(k>>>8&255)|0;h=g+(k>>>16&255)|0;h=h>>>0>255?255:h;g=f>>>0>255?255:f;f=j>>>0>255?255:j;break}case 64:{h=((_(g,k>>>16&255)|0)>>>0)/255|0;g=((_(f,k>>>8&255)|0)>>>0)/255|0;f=((_(i,k&255)|0)>>>0)/255|0;break}default:{h=k>>>16&255;g=k>>>8&255;f=k&255}}c[b>>2]=g<<8|f|h<<16;if(!e)break;else{b=b+4|0;d=d+4|0}}e=c[a+28>>2]|0}d=n+(c[a+12>>2]|0)|0;b=o+(c[a+32>>2]|0)|0;f=e+-1|0;c[a+28>>2]=f;if(!e)break;else{n=d;o=b}}c[a>>2]=d;c[a+20>>2]=b;return}function fbb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;p=c[a+52>>2]|0;t=c[a+60>>2]|0;b=c[a+28>>2]|0;r=(c[a+8>>2]<<16|0)/(b|0)|0;d=c[a+24>>2]|0;s=(c[a+4>>2]<<16|0)/(d|0)|0;c[a+28>>2]=b+-1;if(!b)return;g=c[a+20>>2]|0;q=g;b=b+-1|0;e=0;f=0;while(1){if((e|0)>65535){n=e+-65536|0;o=n-(n>>>16<<16)|0;f=f+1+(n>>>16)|0}else o=e;if(!d)d=b;else{b=65536;e=0;h=-1;while(1){d=d+-1|0;if((b|0)>65535){b=b+-65536|0;h=h+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(c[a>>2]|0)+(_(c[a+12>>2]|0,f)|0)+(h<<2)|0}i=c[e>>2]|0;n=c[g>>2]|0;if(!(p&1)){j=i&255;k=i>>>8&255;l=i>>>16&255}else{j=((_(i&255,t>>>16&255)|0)>>>0)/255|0;k=((_(i>>>8&255,t>>>8&255)|0)>>>0)/255|0;l=((_(i>>>16&255,t&255)|0)>>>0)/255|0}if(!(p&2))m=i>>>24;else m=((_(i>>>24,t>>>24)|0)>>>0)/255|0;if((p&48|0)!=0&m>>>0<255){j=((_(m,j)|0)>>>0)/255|0;i=((_(m,k)|0)>>>0)/255|0;l=((_(m,l)|0)>>>0)/255|0}else i=k;switch(p&112|0){case 16:{m=255-m|0;k=j+(((_(m,n>>>16&255)|0)>>>0)/255|0)|0;j=i+(((_(m,n>>>8&255)|0)>>>0)/255|0)|0;i=l+(((_(m,n&255)|0)>>>0)/255|0)|0;break}case 32:{m=l+(n&255)|0;i=i+(n>>>8&255)|0;k=j+(n>>>16&255)|0;k=k>>>0>255?255:k;j=i>>>0>255?255:i;i=m>>>0>255?255:m;break}case 64:{k=((_(j,n>>>16&255)|0)>>>0)/255|0;j=((_(i,n>>>8&255)|0)>>>0)/255|0;i=((_(l,n&255)|0)>>>0)/255|0;break}default:{k=n>>>16&255;j=n>>>8&255;i=n&255}}c[g>>2]=j<<8|i|k<<16;if(!d)break;else{g=g+4|0;b=b+s|0}}d=c[a+28>>2]|0}e=q+(c[a+32>>2]|0)|0;b=d+-1|0;c[a+28>>2]=b;if(!d)break;q=e;g=e;d=c[a+24>>2]|0;e=o+r|0}c[a+20>>2]=e;return}function gbb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=c[a+28>>2]|0;l=(c[a+8>>2]<<16|0)/(d|0)|0;b=c[a+24>>2]|0;k=(c[a+4>>2]<<16|0)/(b|0)|0;c[a+28>>2]=d+-1;if(!d)return;g=c[a+20>>2]|0;j=g;d=d+-1|0;e=0;f=0;while(1){if((e|0)>65535){i=e+-65536|0;e=i-(i>>>16<<16)|0;f=f+1+(i>>>16)|0}if(!b)b=d;else{d=65536;h=0;i=-1;while(1){b=b+-1|0;if((d|0)>65535){d=d+-65536|0;i=i+1+(d>>>16)|0;d=d-(d>>>16<<16)|0;h=(c[a>>2]|0)+(_(c[a+12>>2]|0,f)|0)+(i<<2)|0}c[g>>2]=c[h>>2];if(!b)break;else{g=g+4|0;d=d+k|0}}b=c[a+28>>2]|0}g=j+(c[a+32>>2]|0)|0;d=b+-1|0;c[a+28>>2]=d;if(!b)break;b=c[a+24>>2]|0;j=g;e=e+l|0}c[a+20>>2]=g;return}function hbb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;m=c[a+52>>2]|0;o=c[a+28>>2]|0;c[a+28>>2]=o+-1;if(!o)return;d=c[a>>2]|0;b=c[a+20>>2]|0;n=d;o=b;while(1){e=c[a+24>>2]|0;a:do if(e|0){if(!(m&48)){j=e+-1|0;while(1){e=c[d>>2]|0;f=c[b>>2]|0;switch(m&112|0){case 16:{g=(((_(e>>>24^255,f>>>24)|0)>>>0)/255|0)+(e>>>24)|0;h=(e&255)+(((_(e>>>24^255,f&255)|0)>>>0)/255|0)|0;i=(e>>>8&255)+(((_(f>>>8&255,e>>>24^255)|0)>>>0)/255|0)|0;e=(e>>>16&255)+(((_(f>>>16&255,e>>>24^255)|0)>>>0)/255|0)|0;break}case 32:{g=f>>>24;h=((e&255)+(f&255)|0)>>>0>255?255:(e&255)+(f&255)|0;i=((e>>>8&255)+(f>>>8&255)|0)>>>0>255?255:(e>>>8&255)+(f>>>8&255)|0;e=((e>>>16&255)+(f>>>16&255)|0)>>>0>255?255:(e>>>16&255)+(f>>>16&255)|0;break}case 64:{g=f>>>24;h=((_(e&255,f&255)|0)>>>0)/255|0;i=((_(e>>>8&255,f>>>8&255)|0)>>>0)/255|0;e=((_(e>>>16&255,f>>>16&255)|0)>>>0)/255|0;break}default:{g=f>>>24;h=f&255;i=f>>>8&255;e=f>>>16&255}}c[b>>2]=i<<8|e<<16|h|g<<24;if(!j)break a;else{j=j+-1|0;b=b+4|0;d=d+4|0}}}else l=e+-1|0;while(1){g=c[d>>2]|0;h=c[b>>2]|0;if((g>>>24|0)==255){e=g&255;f=g>>>8&255;j=g>>>16&255}else{e=((_(g&255,g>>>24)|0)>>>0)/255|0;f=((_(g>>>8&255,g>>>24)|0)>>>0)/255|0;j=((_(g>>>16&255,g>>>24)|0)>>>0)/255|0}switch(m&112|0){case 16:{k=(((_(g>>>24^255,h>>>24)|0)>>>0)/255|0)+(g>>>24)|0;i=e+(((_(g>>>24^255,h&255)|0)>>>0)/255|0)|0;f=f+(((_(h>>>8&255,g>>>24^255)|0)>>>0)/255|0)|0;e=j+(((_(h>>>16&255,g>>>24^255)|0)>>>0)/255|0)|0;break}case 32:{j=j+(h>>>16&255)|0;f=f+(h>>>8&255)|0;i=e+(h&255)|0;k=h>>>24;i=i>>>0>255?255:i;f=f>>>0>255?255:f;e=j>>>0>255?255:j;break}case 64:{k=h>>>24;i=((_(e,h&255)|0)>>>0)/255|0;f=((_(f,h>>>8&255)|0)>>>0)/255|0;e=((_(j,h>>>16&255)|0)>>>0)/255|0;break}default:{k=h>>>24;i=h&255;f=h>>>8&255;e=h>>>16&255}}c[b>>2]=f<<8|e<<16|i|k<<24;if(!l)break a;else{l=l+-1|0;b=b+4|0;d=d+4|0}}}while(0);d=n+(c[a+12>>2]|0)|0;b=o+(c[a+32>>2]|0)|0;o=c[a+28>>2]|0;c[a+28>>2]=o+-1;if(!o)break;else{n=d;o=b}}c[a>>2]=d;c[a+20>>2]=b;return}function ibb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;q=c[a+52>>2]|0;b=c[a+28>>2]|0;t=(c[a+8>>2]<<16|0)/(b|0)|0;d=c[a+24>>2]|0;s=(c[a+4>>2]<<16|0)/(d|0)|0;c[a+28>>2]=b+-1;if(!b)return;g=c[a+20>>2]|0;r=g;b=b+-1|0;e=0;f=0;while(1){if((e|0)>65535){o=e+-65536|0;p=o-(o>>>16<<16)|0;f=f+1+(o>>>16)|0}else p=e;if(!d)d=b;else{b=65536;e=0;h=-1;while(1){d=d+-1|0;if((b|0)>65535){b=b+-65536|0;h=h+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(c[a>>2]|0)+(_(c[a+12>>2]|0,f)|0)+(h<<2)|0}k=c[e>>2]|0;l=c[g>>2]|0;if((q&48|0)!=0&(k>>>24|0)!=255){i=((_(k&255,k>>>24)|0)>>>0)/255|0;j=((_(k>>>8&255,k>>>24)|0)>>>0)/255|0;n=((_(k>>>16&255,k>>>24)|0)>>>0)/255|0}else{i=k&255;j=k>>>8&255;n=k>>>16&255}switch(q&112|0){case 16:{o=(((_(k>>>24^255,l>>>24)|0)>>>0)/255|0)+(k>>>24)|0;m=i+(((_(k>>>24^255,l&255)|0)>>>0)/255|0)|0;j=j+(((_(l>>>8&255,k>>>24^255)|0)>>>0)/255|0)|0;i=n+(((_(l>>>16&255,k>>>24^255)|0)>>>0)/255|0)|0;break}case 32:{n=n+(l>>>16&255)|0;j=j+(l>>>8&255)|0;m=i+(l&255)|0;o=l>>>24;m=m>>>0>255?255:m;j=j>>>0>255?255:j;i=n>>>0>255?255:n;break}case 64:{o=l>>>24;m=((_(i,l&255)|0)>>>0)/255|0;j=((_(j,l>>>8&255)|0)>>>0)/255|0;i=((_(n,l>>>16&255)|0)>>>0)/255|0;break}default:{o=l>>>24;m=l&255;j=l>>>8&255;i=l>>>16&255}}c[g>>2]=j<<8|i<<16|m|o<<24;if(!d)break;else{g=g+4|0;b=b+s|0}}d=c[a+28>>2]|0}e=r+(c[a+32>>2]|0)|0;b=d+-1|0;c[a+28>>2]=b;if(!d)break;r=e;g=e;d=c[a+24>>2]|0;e=p+t|0}c[a+20>>2]=e;return}function jbb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=c[a+52>>2]|0;i=c[a+60>>2]|0;k=c[a+28>>2]|0;c[a+28>>2]=k+-1;if(!k)return;d=c[a>>2]|0;b=c[a+20>>2]|0;j=d;k=b;while(1){e=c[a+24>>2]|0;if(e|0)if(!(h&1)){g=e+-1|0;while(1){e=c[d>>2]|0;if(!(h&2))f=e>>>24;else f=((_(e>>>24,i>>>24)|0)>>>0)/255|0;c[b>>2]=e&16777215|f<<24;if(!g)break;else{g=g+-1|0;b=b+4|0;d=d+4|0}}}else if(!(h&2)){e=e+-1|0;while(1){g=c[d>>2]|0;c[b>>2]=(((_(g>>>8&255,i>>>8&255)|0)>>>0)/255|0)<<8|(((_(g>>>16&255,i&255)|0)>>>0)/255|0)<<16|(((_(g&255,i>>>16&255)|0)>>>0)/255|0)|g&-16777216;if(!e)break;else{e=e+-1|0;b=b+4|0;d=d+4|0}}}else{e=e+-1|0;while(1){g=c[d>>2]|0;c[b>>2]=(((_(g>>>8&255,i>>>8&255)|0)>>>0)/255|0)<<8|(((_(g>>>16&255,i&255)|0)>>>0)/255|0)<<16|(((_(g&255,i>>>16&255)|0)>>>0)/255|0)|(((_(g>>>24,i>>>24)|0)>>>0)/255|0)<<24;if(!e)break;else{e=e+-1|0;b=b+4|0;d=d+4|0}}}d=j+(c[a+12>>2]|0)|0;b=k+(c[a+32>>2]|0)|0;k=c[a+28>>2]|0;c[a+28>>2]=k+-1;if(!k)break;else{j=d;k=b}}c[a>>2]=d;c[a+20>>2]=b;return}function kbb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;n=c[a+52>>2]|0;r=c[a+60>>2]|0;o=c[a+28>>2]|0;p=(c[a+8>>2]<<16|0)/(o|0)|0;b=c[a+24>>2]|0;q=(c[a+4>>2]<<16|0)/(b|0)|0;c[a+28>>2]=o+-1;if(!o)return;f=c[a+20>>2]|0;o=f;d=0;e=0;while(1){if((d|0)>65535){l=d+-65536|0;m=l-(l>>>16<<16)|0;e=e+1+(l>>>16)|0}else m=d;d=b+-1|0;if(b|0)if(!(n&1)){j=f;b=65536;f=0;g=-1;while(1){if((b|0)>65535){h=b+-65536|0;g=g+1+(h>>>16)|0;h=h-(h>>>16<<16)|0;i=(c[a>>2]|0)+(_(c[a+12>>2]|0,e)|0)+(g<<2)|0}else{h=b;i=f}b=c[i>>2]|0;if(!(n&2))f=b>>>24;else f=((_(b>>>24,r>>>24)|0)>>>0)/255|0;c[j>>2]=b&16777215|f<<24;if(!d)break;else{d=d+-1|0;j=j+4|0;b=h+q|0;f=i}}}else{l=f;b=65536;f=0;g=-1;while(1){if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;f=(c[a>>2]|0)+(_(c[a+12>>2]|0,e)|0)+(g<<2)|0}h=c[f>>2]|0;i=((_(h>>>16&255,r&255)|0)>>>0)/255|0;j=((_(h>>>8&255,r>>>8&255)|0)>>>0)/255|0;k=((_(h&255,r>>>16&255)|0)>>>0)/255|0;if(!(n&2))h=h>>>24;else h=((_(h>>>24,r>>>24)|0)>>>0)/255|0;c[l>>2]=k|j<<8|i<<16|h<<24;if(!d)break;else{d=d+-1|0;l=l+4|0;b=b+q|0}}}b=o+(c[a+32>>2]|0)|0;o=c[a+28>>2]|0;c[a+28>>2]=o+-1;if(!o)break;o=b;f=b;b=c[a+24>>2]|0;d=m+p|0}c[a+20>>2]=b;return}function lbb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;o=c[a+52>>2]|0;p=c[a+60>>2]|0;b=c[a+28>>2]|0;c[a+28>>2]=b+-1;if(!b)return;d=c[a>>2]|0;n=c[a+20>>2]|0;f=b+-1|0;g=n;h=d;b=n;while(1){e=c[a+24>>2]|0;if(!e)e=f;else{while(1){e=e+-1|0;f=c[h>>2]|0;n=c[g>>2]|0;if(!(o&1)){i=f&255;j=f>>>8&255;k=f>>>16&255}else{i=((_(f&255,p>>>16&255)|0)>>>0)/255|0;j=((_(f>>>8&255,p>>>8&255)|0)>>>0)/255|0;k=((_(f>>>16&255,p&255)|0)>>>0)/255|0}if(!(o&2))f=f>>>24;else f=((_(f>>>24,p>>>24)|0)>>>0)/255|0;if((o&48|0)!=0&f>>>0<255){i=((_(f,i)|0)>>>0)/255|0;l=((_(f,j)|0)>>>0)/255|0;m=((_(f,k)|0)>>>0)/255|0}else{l=j;m=k}switch(o&112|0){case 16:{q=255-f|0;k=(((_(q,n>>>24)|0)>>>0)/255|0)+f|0;j=i+(((_(q,n&255)|0)>>>0)/255|0)|0;i=l+(((_(q,n>>>8&255)|0)>>>0)/255|0)|0;f=m+(((_(q,n>>>16&255)|0)>>>0)/255|0)|0;break}case 32:{f=m+(n>>>16&255)|0;q=l+(n>>>8&255)|0;j=i+(n&255)|0;k=n>>>24;j=j>>>0>255?255:j;i=q>>>0>255?255:q;f=f>>>0>255?255:f;break}case 64:{k=n>>>24;j=((_(i,n&255)|0)>>>0)/255|0;i=((_(l,n>>>8&255)|0)>>>0)/255|0;f=((_(m,n>>>16&255)|0)>>>0)/255|0;break}default:{k=n>>>24;j=n&255;i=n>>>8&255;f=n>>>16&255}}c[g>>2]=i<<8|f<<16|j|k<<24;if(!e)break;else{g=g+4|0;h=h+4|0}}e=c[a+28>>2]|0}d=d+(c[a+12>>2]|0)|0;b=b+(c[a+32>>2]|0)|0;f=e+-1|0;c[a+28>>2]=f;if(!e)break;else{g=b;h=d}}c[a>>2]=d;c[a+20>>2]=b;return}function mbb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;q=c[a+52>>2]|0;u=c[a+60>>2]|0;b=c[a+28>>2]|0;s=(c[a+8>>2]<<16|0)/(b|0)|0;d=c[a+24>>2]|0;t=(c[a+4>>2]<<16|0)/(d|0)|0;c[a+28>>2]=b+-1;if(!b)return;g=c[a+20>>2]|0;r=g;b=b+-1|0;e=0;f=0;while(1){if((e|0)>65535){o=e+-65536|0;p=o-(o>>>16<<16)|0;f=f+1+(o>>>16)|0}else p=e;if(!d)d=b;else{b=65536;e=0;h=-1;while(1){d=d+-1|0;if((b|0)>65535){b=b+-65536|0;h=h+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(c[a>>2]|0)+(_(c[a+12>>2]|0,f)|0)+(h<<2)|0}i=c[e>>2]|0;o=c[g>>2]|0;if(!(q&1)){j=i&255;k=i>>>8&255;l=i>>>16&255}else{j=((_(i&255,u>>>16&255)|0)>>>0)/255|0;k=((_(i>>>8&255,u>>>8&255)|0)>>>0)/255|0;l=((_(i>>>16&255,u&255)|0)>>>0)/255|0}if(!(q&2))i=i>>>24;else i=((_(i>>>24,u>>>24)|0)>>>0)/255|0;if((q&48|0)!=0&i>>>0<255){j=((_(i,j)|0)>>>0)/255|0;m=((_(i,k)|0)>>>0)/255|0;n=((_(i,l)|0)>>>0)/255|0}else{m=k;n=l}switch(q&112|0){case 16:{v=255-i|0;l=(((_(v,o>>>24)|0)>>>0)/255|0)+i|0;k=j+(((_(v,o&255)|0)>>>0)/255|0)|0;j=m+(((_(v,o>>>8&255)|0)>>>0)/255|0)|0;i=n+(((_(v,o>>>16&255)|0)>>>0)/255|0)|0;break}case 32:{i=n+(o>>>16&255)|0;v=m+(o>>>8&255)|0;k=j+(o&255)|0;l=o>>>24;k=k>>>0>255?255:k;j=v>>>0>255?255:v;i=i>>>0>255?255:i;break}case 64:{l=o>>>24;k=((_(j,o&255)|0)>>>0)/255|0;j=((_(m,o>>>8&255)|0)>>>0)/255|0;i=((_(n,o>>>16&255)|0)>>>0)/255|0;break}default:{l=o>>>24;k=o&255;j=o>>>8&255;i=o>>>16&255}}c[g>>2]=j<<8|i<<16|k|l<<24;if(!d)break;else{g=g+4|0;b=b+t|0}}d=c[a+28>>2]|0}e=r+(c[a+32>>2]|0)|0;b=d+-1|0;c[a+28>>2]=b;if(!d)break;r=e;g=e;d=c[a+24>>2]|0;e=p+s|0}c[a+20>>2]=e;return}function nbb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=c[a+28>>2]|0;l=(c[a+8>>2]<<16|0)/(d|0)|0;b=c[a+24>>2]|0;k=(c[a+4>>2]<<16|0)/(b|0)|0;c[a+28>>2]=d+-1;if(!d)return;g=c[a+20>>2]|0;j=g;d=d+-1|0;e=0;f=0;while(1){if((e|0)>65535){i=e+-65536|0;e=i-(i>>>16<<16)|0;f=f+1+(i>>>16)|0}if(!b)b=d;else{d=65536;h=0;i=-1;while(1){b=b+-1|0;if((d|0)>65535){d=d+-65536|0;i=i+1+(d>>>16)|0;d=d-(d>>>16<<16)|0;h=(c[a>>2]|0)+(_(c[a+12>>2]|0,f)|0)+(i<<2)|0}m=c[h>>2]|0;c[g>>2]=m>>>24<<16|m>>>8&65280|m>>>8&255;if(!b)break;else{g=g+4|0;d=d+k|0}}b=c[a+28>>2]|0}g=j+(c[a+32>>2]|0)|0;d=b+-1|0;c[a+28>>2]=d;if(!b)break;b=c[a+24>>2]|0;j=g;e=e+l|0}c[a+20>>2]=g;return}function obb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;l=c[a+52>>2]|0;n=c[a+28>>2]|0;c[a+28>>2]=n+-1;if(!n)return;d=c[a>>2]|0;b=c[a+20>>2]|0;m=d;n=b;while(1){e=c[a+24>>2]|0;a:do if(e|0){if(!(l&48)){i=e+-1|0;while(1){e=c[d>>2]|0;f=c[b>>2]|0;switch(l&112|0){case 16:{g=(e>>>8&255)+(((_(e&255^255,f&255)|0)>>>0)/255|0)|0;h=(e>>>16&255)+(((_(f>>>8&255,e&255^255)|0)>>>0)/255|0)|0;e=(e>>>24)+(((_(f>>>16&255,e&255^255)|0)>>>0)/255|0)|0;break}case 32:{g=((e>>>8&255)+(f&255)|0)>>>0>255?255:(e>>>8&255)+(f&255)|0;h=((e>>>16&255)+(f>>>8&255)|0)>>>0>255?255:(e>>>16&255)+(f>>>8&255)|0;e=((e>>>24)+(f>>>16&255)|0)>>>0>255?255:(e>>>24)+(f>>>16&255)|0;break}case 64:{g=((_(e>>>8&255,f&255)|0)>>>0)/255|0;h=((_(e>>>16&255,f>>>8&255)|0)>>>0)/255|0;e=((_(e>>>24,f>>>16&255)|0)>>>0)/255|0;break}default:{g=f&255;h=f>>>8&255;e=f>>>16&255}}c[b>>2]=h<<8|e<<16|g;if(!i)break a;else{i=i+-1|0;b=b+4|0;d=d+4|0}}}else k=e+-1|0;while(1){g=c[d>>2]|0;h=c[b>>2]|0;if((g&255|0)==255){e=g>>>8&255;f=g>>>16&255;j=g>>>24}else{e=((_(g>>>8&255,g&255)|0)>>>0)/255|0;f=((_(g>>>16&255,g&255)|0)>>>0)/255|0;j=((_(g>>>24,g&255)|0)>>>0)/255|0}switch(l&112|0){case 16:{i=e+(((_(g&255^255,h&255)|0)>>>0)/255|0)|0;f=f+(((_(h>>>8&255,g&255^255)|0)>>>0)/255|0)|0;e=j+(((_(h>>>16&255,g&255^255)|0)>>>0)/255|0)|0;break}case 32:{j=j+(h>>>16&255)|0;f=f+(h>>>8&255)|0;i=e+(h&255)|0;i=i>>>0>255?255:i;f=f>>>0>255?255:f;e=j>>>0>255?255:j;break}case 64:{i=((_(e,h&255)|0)>>>0)/255|0;f=((_(f,h>>>8&255)|0)>>>0)/255|0;e=((_(j,h>>>16&255)|0)>>>0)/255|0;break}default:{i=h&255;f=h>>>8&255;e=h>>>16&255}}c[b>>2]=f<<8|e<<16|i;if(!k)break a;else{k=k+-1|0;b=b+4|0;d=d+4|0}}}while(0);d=m+(c[a+12>>2]|0)|0;b=n+(c[a+32>>2]|0)|0;n=c[a+28>>2]|0;c[a+28>>2]=n+-1;if(!n)break;else{m=d;n=b}}c[a>>2]=d;c[a+20>>2]=b;return}function pbb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;q=c[a+52>>2]|0;b=c[a+28>>2]|0;s=(c[a+8>>2]<<16|0)/(b|0)|0;d=c[a+24>>2]|0;r=(c[a+4>>2]<<16|0)/(d|0)|0;c[a+28>>2]=b+-1;if(!b)return;p=c[a+20>>2]|0;b=b+-1|0;h=p;e=0;f=0;while(1){if((e|0)>65535){o=e+-65536|0;e=o-(o>>>16<<16)|0;f=f+1+(o>>>16)|0}if(!d)d=b;else{o=h;b=65536;g=0;h=-1;while(1){d=d+-1|0;if((b|0)>65535){b=b+-65536|0;h=h+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;g=(c[a>>2]|0)+(_(c[a+12>>2]|0,f)|0)+(h<<2)|0}k=c[g>>2]|0;l=c[o>>2]|0;if((q&48|0)!=0&(k&255|0)!=255){i=((_(k>>>8&255,k&255)|0)>>>0)/255|0;j=((_(k>>>16&255,k&255)|0)>>>0)/255|0;n=((_(k>>>24,k&255)|0)>>>0)/255|0}else{i=k>>>8&255;j=k>>>16&255;n=k>>>24}switch(q&112|0){case 16:{m=i+(((_(k&255^255,l&255)|0)>>>0)/255|0)|0;j=j+(((_(l>>>8&255,k&255^255)|0)>>>0)/255|0)|0;i=n+(((_(l>>>16&255,k&255^255)|0)>>>0)/255|0)|0;break}case 32:{n=n+(l>>>16&255)|0;j=j+(l>>>8&255)|0;m=i+(l&255)|0;m=m>>>0>255?255:m;j=j>>>0>255?255:j;i=n>>>0>255?255:n;break}case 64:{m=((_(i,l&255)|0)>>>0)/255|0;j=((_(j,l>>>8&255)|0)>>>0)/255|0;i=((_(n,l>>>16&255)|0)>>>0)/255|0;break}default:{m=l&255;j=l>>>8&255;i=l>>>16&255}}c[o>>2]=j<<8|i<<16|m;if(!d)break;else{o=o+4|0;b=b+r|0}}d=c[a+28>>2]|0}g=p+(c[a+32>>2]|0)|0;b=d+-1|0;c[a+28>>2]=b;if(!d)break;h=g;d=c[a+24>>2]|0;p=g;e=e+s|0}c[a+20>>2]=g;return}function qbb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=c[a+52>>2]|0;j=c[a+60>>2]|0;d=c[a+28>>2]|0;c[a+28>>2]=d+-1;if(!d)return;g=c[a>>2]|0;e=c[a+20>>2]|0;if(!(b&1)){h=g;i=e;f=d+-1|0;b=e;d=g;while(1){e=c[a+24>>2]|0;if(!e)e=f;else{while(1){e=e+-1|0;j=c[d>>2]|0;c[b>>2]=j>>>8&65280|j>>>24<<16|j>>>8&255;if(!e)break;else{b=b+4|0;d=d+4|0}}e=c[a+28>>2]|0}d=h+(c[a+12>>2]|0)|0;b=i+(c[a+32>>2]|0)|0;f=e+-1|0;c[a+28>>2]=f;if(!e)break;else{h=d;i=b}}c[a>>2]=d;c[a+20>>2]=b;return}else{h=g;i=e;f=d+-1|0;b=e;d=g;while(1){e=c[a+24>>2]|0;if(!e)e=f;else{while(1){e=e+-1|0;g=c[d>>2]|0;c[b>>2]=(((_(g>>>16&255,j>>>8&255)|0)>>>0)/255|0)<<8|(((_(g>>>24,j&255)|0)>>>0)/255|0)<<16|(((_(g>>>8&255,j>>>16&255)|0)>>>0)/255|0);if(!e)break;else{b=b+4|0;d=d+4|0}}e=c[a+28>>2]|0}d=h+(c[a+12>>2]|0)|0;b=i+(c[a+32>>2]|0)|0;f=e+-1|0;c[a+28>>2]=f;if(!e)break;else{h=d;i=b}}c[a>>2]=d;c[a+20>>2]=b;return}}function rbb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;k=c[a+52>>2]|0;n=c[a+60>>2]|0;j=c[a+28>>2]|0;l=(c[a+8>>2]<<16|0)/(j|0)|0;b=c[a+24>>2]|0;m=(c[a+4>>2]<<16|0)/(b|0)|0;c[a+28>>2]=j+-1;if(!j)return;i=c[a+20>>2]|0;h=i;d=0;e=0;while(1){if((d|0)>65535){g=d+-65536|0;j=g-(g>>>16<<16)|0;e=e+1+(g>>>16)|0}else j=d;d=b+-1|0;if(b|0)if(!(k&1)){b=65536;f=0;g=-1;while(1){if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;f=(c[a>>2]|0)+(_(c[a+12>>2]|0,e)|0)+(g<<2)|0}o=c[f>>2]|0;c[h>>2]=o>>>8&65535|o>>>24<<16;if(!d)break;else{d=d+-1|0;h=h+4|0;b=b+m|0}}}else{b=65536;f=0;g=-1;while(1){if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;f=(c[a>>2]|0)+(_(c[a+12>>2]|0,e)|0)+(g<<2)|0}o=c[f>>2]|0;c[h>>2]=((_(o>>>8&255,n>>>16&255)|0)>>>0)/255|0|(((_(o>>>16&255,n>>>8&255)|0)>>>0)/255|0)<<8|(((_(o>>>24,n&255)|0)>>>0)/255|0)<<16;if(!d)break;else{d=d+-1|0;h=h+4|0;b=b+m|0}}}d=i+(c[a+32>>2]|0)|0;o=c[a+28>>2]|0;c[a+28>>2]=o+-1;if(!o)break;h=d;b=c[a+24>>2]|0;i=d;d=j+l|0}c[a+20>>2]=d;return}function sbb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;l=c[a+52>>2]|0;m=c[a+60>>2]|0;b=c[a+28>>2]|0;c[a+28>>2]=b+-1;if(!b)return;d=c[a>>2]|0;k=c[a+20>>2]|0;n=d;o=k;f=b+-1|0;b=k;while(1){e=c[a+24>>2]|0;if(!e)e=f;else{while(1){e=e+-1|0;f=c[d>>2]|0;k=c[b>>2]|0;if(!(l&1)){g=f>>>8&255;h=f>>>16&255;i=f>>>24}else{g=((_(f>>>8&255,m>>>16&255)|0)>>>0)/255|0;h=((_(f>>>16&255,m>>>8&255)|0)>>>0)/255|0;i=((_(f>>>24,m&255)|0)>>>0)/255|0}if(!(l&2))j=f&255;else j=((_(f&255,m>>>24)|0)>>>0)/255|0;if((l&48|0)!=0&j>>>0<255){g=((_(j,g)|0)>>>0)/255|0;f=((_(j,h)|0)>>>0)/255|0;i=((_(j,i)|0)>>>0)/255|0}else f=h;switch(l&112|0){case 16:{j=255-j|0;h=g+(((_(j,k&255)|0)>>>0)/255|0)|0;g=f+(((_(j,k>>>8&255)|0)>>>0)/255|0)|0;f=i+(((_(j,k>>>16&255)|0)>>>0)/255|0)|0;break}case 32:{j=i+(k>>>16&255)|0;f=f+(k>>>8&255)|0;h=g+(k&255)|0;h=h>>>0>255?255:h;g=f>>>0>255?255:f;f=j>>>0>255?255:j;break}case 64:{h=((_(g,k&255)|0)>>>0)/255|0;g=((_(f,k>>>8&255)|0)>>>0)/255|0;f=((_(i,k>>>16&255)|0)>>>0)/255|0;break}default:{h=k&255;g=k>>>8&255;f=k>>>16&255}}c[b>>2]=g<<8|f<<16|h;if(!e)break;else{b=b+4|0;d=d+4|0}}e=c[a+28>>2]|0}d=n+(c[a+12>>2]|0)|0;b=o+(c[a+32>>2]|0)|0;f=e+-1|0;c[a+28>>2]=f;if(!e)break;else{n=d;o=b}}c[a>>2]=d;c[a+20>>2]=b;return}function tbb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;p=c[a+52>>2]|0;t=c[a+60>>2]|0;b=c[a+28>>2]|0;r=(c[a+8>>2]<<16|0)/(b|0)|0;d=c[a+24>>2]|0;s=(c[a+4>>2]<<16|0)/(d|0)|0;c[a+28>>2]=b+-1;if(!b)return;g=c[a+20>>2]|0;q=g;b=b+-1|0;e=0;f=0;while(1){if((e|0)>65535){n=e+-65536|0;o=n-(n>>>16<<16)|0;f=f+1+(n>>>16)|0}else o=e;if(!d)d=b;else{b=65536;e=0;h=-1;while(1){d=d+-1|0;if((b|0)>65535){b=b+-65536|0;h=h+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(c[a>>2]|0)+(_(c[a+12>>2]|0,f)|0)+(h<<2)|0}i=c[e>>2]|0;n=c[g>>2]|0;if(!(p&1)){j=i>>>8&255;k=i>>>16&255;l=i>>>24}else{j=((_(i>>>8&255,t>>>16&255)|0)>>>0)/255|0;k=((_(i>>>16&255,t>>>8&255)|0)>>>0)/255|0;l=((_(i>>>24,t&255)|0)>>>0)/255|0}if(!(p&2))m=i&255;else m=((_(i&255,t>>>24)|0)>>>0)/255|0;if((p&48|0)!=0&m>>>0<255){j=((_(m,j)|0)>>>0)/255|0;i=((_(m,k)|0)>>>0)/255|0;l=((_(m,l)|0)>>>0)/255|0}else i=k;switch(p&112|0){case 16:{m=255-m|0;k=j+(((_(m,n&255)|0)>>>0)/255|0)|0;j=i+(((_(m,n>>>8&255)|0)>>>0)/255|0)|0;i=l+(((_(m,n>>>16&255)|0)>>>0)/255|0)|0;break}case 32:{m=l+(n>>>16&255)|0;i=i+(n>>>8&255)|0;k=j+(n&255)|0;k=k>>>0>255?255:k;j=i>>>0>255?255:i;i=m>>>0>255?255:m;break}case 64:{k=((_(j,n&255)|0)>>>0)/255|0;j=((_(i,n>>>8&255)|0)>>>0)/255|0;i=((_(l,n>>>16&255)|0)>>>0)/255|0;break}default:{k=n&255;j=n>>>8&255;i=n>>>16&255}}c[g>>2]=j<<8|i<<16|k;if(!d)break;else{g=g+4|0;b=b+s|0}}d=c[a+28>>2]|0}e=q+(c[a+32>>2]|0)|0;b=d+-1|0;c[a+28>>2]=b;if(!d)break;q=e;g=e;d=c[a+24>>2]|0;e=o+r|0}c[a+20>>2]=e;return}function ubb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=c[a+28>>2]|0;l=(c[a+8>>2]<<16|0)/(d|0)|0;b=c[a+24>>2]|0;k=(c[a+4>>2]<<16|0)/(b|0)|0;c[a+28>>2]=d+-1;if(!d)return;g=c[a+20>>2]|0;j=g;d=d+-1|0;e=0;f=0;while(1){if((e|0)>65535){i=e+-65536|0;e=i-(i>>>16<<16)|0;f=f+1+(i>>>16)|0}if(!b)b=d;else{d=65536;h=0;i=-1;while(1){b=b+-1|0;if((d|0)>65535){d=d+-65536|0;i=i+1+(d>>>16)|0;d=d-(d>>>16<<16)|0;h=(c[a>>2]|0)+(_(c[a+12>>2]|0,f)|0)+(i<<2)|0}m=c[h>>2]|0;c[g>>2]=m>>>8&65280|m>>>24|m<<8&16711680;if(!b)break;else{g=g+4|0;d=d+k|0}}b=c[a+28>>2]|0}g=j+(c[a+32>>2]|0)|0;d=b+-1|0;c[a+28>>2]=d;if(!b)break;b=c[a+24>>2]|0;j=g;e=e+l|0}c[a+20>>2]=g;return}function vbb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;l=c[a+52>>2]|0;n=c[a+28>>2]|0;c[a+28>>2]=n+-1;if(!n)return;d=c[a>>2]|0;b=c[a+20>>2]|0;m=d;n=b;while(1){e=c[a+24>>2]|0;a:do if(e|0){if(!(l&48)){i=e+-1|0;while(1){e=c[d>>2]|0;f=c[b>>2]|0;switch(l&112|0){case 16:{g=(e>>>8&255)+(((_(f>>>16&255,e&255^255)|0)>>>0)/255|0)|0;h=(e>>>16&255)+(((_(f>>>8&255,e&255^255)|0)>>>0)/255|0)|0;e=(e>>>24)+(((_(e&255^255,f&255)|0)>>>0)/255|0)|0;break}case 32:{g=((e>>>8&255)+(f>>>16&255)|0)>>>0>255?255:(e>>>8&255)+(f>>>16&255)|0;h=((e>>>16&255)+(f>>>8&255)|0)>>>0>255?255:(e>>>16&255)+(f>>>8&255)|0;e=((e>>>24)+(f&255)|0)>>>0>255?255:(e>>>24)+(f&255)|0;break}case 64:{g=((_(e>>>8&255,f>>>16&255)|0)>>>0)/255|0;h=((_(e>>>16&255,f>>>8&255)|0)>>>0)/255|0;e=((_(e>>>24,f&255)|0)>>>0)/255|0;break}default:{g=f>>>16&255;h=f>>>8&255;e=f&255}}c[b>>2]=h<<8|e|g<<16;if(!i)break a;else{i=i+-1|0;b=b+4|0;d=d+4|0}}}else k=e+-1|0;while(1){g=c[d>>2]|0;h=c[b>>2]|0;if((g&255|0)==255){e=g>>>8&255;f=g>>>16&255;j=g>>>24}else{e=((_(g>>>8&255,g&255)|0)>>>0)/255|0;f=((_(g>>>16&255,g&255)|0)>>>0)/255|0;j=((_(g>>>24,g&255)|0)>>>0)/255|0}switch(l&112|0){case 16:{i=e+(((_(h>>>16&255,g&255^255)|0)>>>0)/255|0)|0;f=f+(((_(h>>>8&255,g&255^255)|0)>>>0)/255|0)|0;e=j+(((_(g&255^255,h&255)|0)>>>0)/255|0)|0;break}case 32:{j=j+(h&255)|0;f=f+(h>>>8&255)|0;i=e+(h>>>16&255)|0;i=i>>>0>255?255:i;f=f>>>0>255?255:f;e=j>>>0>255?255:j;break}case 64:{i=((_(e,h>>>16&255)|0)>>>0)/255|0;f=((_(f,h>>>8&255)|0)>>>0)/255|0;e=((_(j,h&255)|0)>>>0)/255|0;break}default:{i=h>>>16&255;f=h>>>8&255;e=h&255}}c[b>>2]=f<<8|e|i<<16;if(!k)break a;else{k=k+-1|0;b=b+4|0;d=d+4|0}}}while(0);d=m+(c[a+12>>2]|0)|0;b=n+(c[a+32>>2]|0)|0;n=c[a+28>>2]|0;c[a+28>>2]=n+-1;if(!n)break;else{m=d;n=b}}c[a>>2]=d;c[a+20>>2]=b;return}function wbb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;q=c[a+52>>2]|0;b=c[a+28>>2]|0;s=(c[a+8>>2]<<16|0)/(b|0)|0;d=c[a+24>>2]|0;r=(c[a+4>>2]<<16|0)/(d|0)|0;c[a+28>>2]=b+-1;if(!b)return;p=c[a+20>>2]|0;b=b+-1|0;h=p;e=0;f=0;while(1){if((e|0)>65535){o=e+-65536|0;e=o-(o>>>16<<16)|0;f=f+1+(o>>>16)|0}if(!d)d=b;else{o=h;b=65536;g=0;h=-1;while(1){d=d+-1|0;if((b|0)>65535){b=b+-65536|0;h=h+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;g=(c[a>>2]|0)+(_(c[a+12>>2]|0,f)|0)+(h<<2)|0}k=c[g>>2]|0;l=c[o>>2]|0;if((q&48|0)!=0&(k&255|0)!=255){i=((_(k>>>8&255,k&255)|0)>>>0)/255|0;j=((_(k>>>16&255,k&255)|0)>>>0)/255|0;n=((_(k>>>24,k&255)|0)>>>0)/255|0}else{i=k>>>8&255;j=k>>>16&255;n=k>>>24}switch(q&112|0){case 16:{m=i+(((_(l>>>16&255,k&255^255)|0)>>>0)/255|0)|0;j=j+(((_(l>>>8&255,k&255^255)|0)>>>0)/255|0)|0;i=n+(((_(k&255^255,l&255)|0)>>>0)/255|0)|0;break}case 32:{n=n+(l&255)|0;j=j+(l>>>8&255)|0;m=i+(l>>>16&255)|0;m=m>>>0>255?255:m;j=j>>>0>255?255:j;i=n>>>0>255?255:n;break}case 64:{m=((_(i,l>>>16&255)|0)>>>0)/255|0;j=((_(j,l>>>8&255)|0)>>>0)/255|0;i=((_(n,l&255)|0)>>>0)/255|0;break}default:{m=l>>>16&255;j=l>>>8&255;i=l&255}}c[o>>2]=j<<8|i|m<<16;if(!d)break;else{o=o+4|0;b=b+r|0}}d=c[a+28>>2]|0}g=p+(c[a+32>>2]|0)|0;b=d+-1|0;c[a+28>>2]=b;if(!d)break;h=g;d=c[a+24>>2]|0;p=g;e=e+s|0}c[a+20>>2]=g;return}function xbb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=c[a+52>>2]|0;j=c[a+60>>2]|0;d=c[a+28>>2]|0;c[a+28>>2]=d+-1;if(!d)return;g=c[a>>2]|0;e=c[a+20>>2]|0;if(!(b&1)){h=g;i=e;f=d+-1|0;b=e;d=g;while(1){e=c[a+24>>2]|0;if(!e)e=f;else{while(1){e=e+-1|0;j=c[d>>2]|0;c[b>>2]=j>>>8&65280|j>>>24|j<<8&16711680;if(!e)break;else{b=b+4|0;d=d+4|0}}e=c[a+28>>2]|0}d=h+(c[a+12>>2]|0)|0;b=i+(c[a+32>>2]|0)|0;f=e+-1|0;c[a+28>>2]=f;if(!e)break;else{h=d;i=b}}c[a>>2]=d;c[a+20>>2]=b;return}else{h=g;i=e;f=d+-1|0;b=e;d=g;while(1){e=c[a+24>>2]|0;if(!e)e=f;else{while(1){e=e+-1|0;g=c[d>>2]|0;c[b>>2]=(((_(g>>>16&255,j>>>8&255)|0)>>>0)/255|0)<<8|(((_(g>>>24,j&255)|0)>>>0)/255|0)|(((_(g>>>8&255,j>>>16&255)|0)>>>0)/255|0)<<16;if(!e)break;else{b=b+4|0;d=d+4|0}}e=c[a+28>>2]|0}d=h+(c[a+12>>2]|0)|0;b=i+(c[a+32>>2]|0)|0;f=e+-1|0;c[a+28>>2]=f;if(!e)break;else{h=d;i=b}}c[a>>2]=d;c[a+20>>2]=b;return}}function ybb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;j=c[a+52>>2]|0;n=c[a+60>>2]|0;k=c[a+28>>2]|0;l=(c[a+8>>2]<<16|0)/(k|0)|0;b=c[a+24>>2]|0;m=(c[a+4>>2]<<16|0)/(b|0)|0;c[a+28>>2]=k+-1;if(!k)return;f=c[a+20>>2]|0;k=f;d=0;e=0;while(1){if((d|0)>65535){h=d+-65536|0;i=h-(h>>>16<<16)|0;e=e+1+(h>>>16)|0}else i=d;d=b+-1|0;if(b|0)if(!(j&1)){h=f;b=65536;f=0;g=-1;while(1){if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;f=(c[a>>2]|0)+(_(c[a+12>>2]|0,e)|0)+(g<<2)|0}o=c[f>>2]|0;c[h>>2]=o<<8&16711680|o>>>8&65280|o>>>24;if(!d)break;else{d=d+-1|0;h=h+4|0;b=b+m|0}}}else{h=f;b=65536;f=0;g=-1;while(1){if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;f=(c[a>>2]|0)+(_(c[a+12>>2]|0,e)|0)+(g<<2)|0}o=c[f>>2]|0;c[h>>2]=(((_(o>>>8&255,n>>>16&255)|0)>>>0)/255|0)<<16|(((_(o>>>16&255,n>>>8&255)|0)>>>0)/255|0)<<8|(((_(o>>>24,n&255)|0)>>>0)/255|0);if(!d)break;else{d=d+-1|0;h=h+4|0;b=b+m|0}}}b=k+(c[a+32>>2]|0)|0;o=c[a+28>>2]|0;c[a+28>>2]=o+-1;if(!o)break;k=b;f=b;b=c[a+24>>2]|0;d=i+l|0}c[a+20>>2]=b;return}function zbb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;l=c[a+52>>2]|0;m=c[a+60>>2]|0;b=c[a+28>>2]|0;c[a+28>>2]=b+-1;if(!b)return;d=c[a>>2]|0;k=c[a+20>>2]|0;n=d;o=k;f=b+-1|0;b=k;while(1){e=c[a+24>>2]|0;if(!e)e=f;else{while(1){e=e+-1|0;f=c[d>>2]|0;k=c[b>>2]|0;if(!(l&1)){g=f>>>8&255;h=f>>>16&255;i=f>>>24}else{g=((_(f>>>8&255,m>>>16&255)|0)>>>0)/255|0;h=((_(f>>>16&255,m>>>8&255)|0)>>>0)/255|0;i=((_(f>>>24,m&255)|0)>>>0)/255|0}if(!(l&2))j=f&255;else j=((_(f&255,m>>>24)|0)>>>0)/255|0;if((l&48|0)!=0&j>>>0<255){g=((_(j,g)|0)>>>0)/255|0;f=((_(j,h)|0)>>>0)/255|0;i=((_(j,i)|0)>>>0)/255|0}else f=h;switch(l&112|0){case 16:{j=255-j|0;h=g+(((_(j,k>>>16&255)|0)>>>0)/255|0)|0;g=f+(((_(j,k>>>8&255)|0)>>>0)/255|0)|0;f=i+(((_(j,k&255)|0)>>>0)/255|0)|0;break}case 32:{j=i+(k&255)|0;f=f+(k>>>8&255)|0;h=g+(k>>>16&255)|0;h=h>>>0>255?255:h;g=f>>>0>255?255:f;f=j>>>0>255?255:j;break}case 64:{h=((_(g,k>>>16&255)|0)>>>0)/255|0;g=((_(f,k>>>8&255)|0)>>>0)/255|0;f=((_(i,k&255)|0)>>>0)/255|0;break}default:{h=k>>>16&255;g=k>>>8&255;f=k&255}}c[b>>2]=g<<8|f|h<<16;if(!e)break;else{b=b+4|0;d=d+4|0}}e=c[a+28>>2]|0}d=n+(c[a+12>>2]|0)|0;b=o+(c[a+32>>2]|0)|0;f=e+-1|0;c[a+28>>2]=f;if(!e)break;else{n=d;o=b}}c[a>>2]=d;c[a+20>>2]=b;return}function Abb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;p=c[a+52>>2]|0;t=c[a+60>>2]|0;b=c[a+28>>2]|0;r=(c[a+8>>2]<<16|0)/(b|0)|0;d=c[a+24>>2]|0;s=(c[a+4>>2]<<16|0)/(d|0)|0;c[a+28>>2]=b+-1;if(!b)return;g=c[a+20>>2]|0;q=g;b=b+-1|0;e=0;f=0;while(1){if((e|0)>65535){n=e+-65536|0;o=n-(n>>>16<<16)|0;f=f+1+(n>>>16)|0}else o=e;if(!d)d=b;else{b=65536;e=0;h=-1;while(1){d=d+-1|0;if((b|0)>65535){b=b+-65536|0;h=h+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(c[a>>2]|0)+(_(c[a+12>>2]|0,f)|0)+(h<<2)|0}i=c[e>>2]|0;n=c[g>>2]|0;if(!(p&1)){j=i>>>8&255;k=i>>>16&255;l=i>>>24}else{j=((_(i>>>8&255,t>>>16&255)|0)>>>0)/255|0;k=((_(i>>>16&255,t>>>8&255)|0)>>>0)/255|0;l=((_(i>>>24,t&255)|0)>>>0)/255|0}if(!(p&2))m=i&255;else m=((_(i&255,t>>>24)|0)>>>0)/255|0;if((p&48|0)!=0&m>>>0<255){j=((_(m,j)|0)>>>0)/255|0;i=((_(m,k)|0)>>>0)/255|0;l=((_(m,l)|0)>>>0)/255|0}else i=k;switch(p&112|0){case 16:{m=255-m|0;k=j+(((_(m,n>>>16&255)|0)>>>0)/255|0)|0;j=i+(((_(m,n>>>8&255)|0)>>>0)/255|0)|0;i=l+(((_(m,n&255)|0)>>>0)/255|0)|0;break}case 32:{m=l+(n&255)|0;i=i+(n>>>8&255)|0;k=j+(n>>>16&255)|0;k=k>>>0>255?255:k;j=i>>>0>255?255:i;i=m>>>0>255?255:m;break}case 64:{k=((_(j,n>>>16&255)|0)>>>0)/255|0;j=((_(i,n>>>8&255)|0)>>>0)/255|0;i=((_(l,n&255)|0)>>>0)/255|0;break}default:{k=n>>>16&255;j=n>>>8&255;i=n&255}}c[g>>2]=j<<8|i|k<<16;if(!d)break;else{g=g+4|0;b=b+s|0}}d=c[a+28>>2]|0}e=q+(c[a+32>>2]|0)|0;b=d+-1|0;c[a+28>>2]=b;if(!d)break;q=e;g=e;d=c[a+24>>2]|0;e=o+r|0}c[a+20>>2]=e;return}function Bbb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=c[a+28>>2]|0;l=(c[a+8>>2]<<16|0)/(d|0)|0;b=c[a+24>>2]|0;k=(c[a+4>>2]<<16|0)/(b|0)|0;c[a+28>>2]=d+-1;if(!d)return;g=c[a+20>>2]|0;j=g;d=d+-1|0;e=0;f=0;while(1){if((e|0)>65535){i=e+-65536|0;e=i-(i>>>16<<16)|0;f=f+1+(i>>>16)|0}if(!b)b=d;else{d=65536;h=0;i=-1;while(1){b=b+-1|0;if((d|0)>65535){d=d+-65536|0;i=i+1+(d>>>16)|0;d=d-(d>>>16<<16)|0;h=(c[a>>2]|0)+(_(c[a+12>>2]|0,f)|0)+(i<<2)|0}m=c[h>>2]|0;c[g>>2]=m>>>24<<16|m<<24|m>>>8&65280|m>>>8&255;if(!b)break;else{g=g+4|0;d=d+k|0}}b=c[a+28>>2]|0}g=j+(c[a+32>>2]|0)|0;d=b+-1|0;c[a+28>>2]=d;if(!b)break;b=c[a+24>>2]|0;j=g;e=e+l|0}c[a+20>>2]=g;return}function Cbb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;m=c[a+52>>2]|0;o=c[a+28>>2]|0;c[a+28>>2]=o+-1;if(!o)return;d=c[a>>2]|0;b=c[a+20>>2]|0;n=d;o=b;while(1){e=c[a+24>>2]|0;a:do if(e|0){if(!(m&48)){j=e+-1|0;while(1){e=c[d>>2]|0;f=c[b>>2]|0;switch(m&112|0){case 16:{g=(((_(e&255^255,f>>>24)|0)>>>0)/255|0)+(e&255)|0;h=(e>>>8&255)+(((_(e&255^255,f&255)|0)>>>0)/255|0)|0;i=(e>>>16&255)+(((_(f>>>8&255,e&255^255)|0)>>>0)/255|0)|0;e=(e>>>24)+(((_(f>>>16&255,e&255^255)|0)>>>0)/255|0)|0;break}case 32:{g=f>>>24;h=((e>>>8&255)+(f&255)|0)>>>0>255?255:(e>>>8&255)+(f&255)|0;i=((e>>>16&255)+(f>>>8&255)|0)>>>0>255?255:(e>>>16&255)+(f>>>8&255)|0;e=((e>>>24)+(f>>>16&255)|0)>>>0>255?255:(e>>>24)+(f>>>16&255)|0;break}case 64:{g=f>>>24;h=((_(e>>>8&255,f&255)|0)>>>0)/255|0;i=((_(e>>>16&255,f>>>8&255)|0)>>>0)/255|0;e=((_(e>>>24,f>>>16&255)|0)>>>0)/255|0;break}default:{g=f>>>24;h=f&255;i=f>>>8&255;e=f>>>16&255}}c[b>>2]=i<<8|e<<16|h|g<<24;if(!j)break a;else{j=j+-1|0;b=b+4|0;d=d+4|0}}}else l=e+-1|0;while(1){g=c[d>>2]|0;h=c[b>>2]|0;if((g&255|0)==255){e=g>>>8&255;f=g>>>16&255;j=g>>>24}else{e=((_(g>>>8&255,g&255)|0)>>>0)/255|0;f=((_(g>>>16&255,g&255)|0)>>>0)/255|0;j=((_(g>>>24,g&255)|0)>>>0)/255|0}switch(m&112|0){case 16:{k=(((_(g&255^255,h>>>24)|0)>>>0)/255|0)+(g&255)|0;i=e+(((_(g&255^255,h&255)|0)>>>0)/255|0)|0;f=f+(((_(h>>>8&255,g&255^255)|0)>>>0)/255|0)|0;e=j+(((_(h>>>16&255,g&255^255)|0)>>>0)/255|0)|0;break}case 32:{j=j+(h>>>16&255)|0;f=f+(h>>>8&255)|0;i=e+(h&255)|0;k=h>>>24;i=i>>>0>255?255:i;f=f>>>0>255?255:f;e=j>>>0>255?255:j;break}case 64:{k=h>>>24;i=((_(e,h&255)|0)>>>0)/255|0;f=((_(f,h>>>8&255)|0)>>>0)/255|0;e=((_(j,h>>>16&255)|0)>>>0)/255|0;break}default:{k=h>>>24;i=h&255;f=h>>>8&255;e=h>>>16&255}}c[b>>2]=f<<8|e<<16|i|k<<24;if(!l)break a;else{l=l+-1|0;b=b+4|0;d=d+4|0}}}while(0);d=n+(c[a+12>>2]|0)|0;b=o+(c[a+32>>2]|0)|0;o=c[a+28>>2]|0;c[a+28>>2]=o+-1;if(!o)break;else{n=d;o=b}}c[a>>2]=d;c[a+20>>2]=b;return}function Dbb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;q=c[a+52>>2]|0;b=c[a+28>>2]|0;t=(c[a+8>>2]<<16|0)/(b|0)|0;d=c[a+24>>2]|0;s=(c[a+4>>2]<<16|0)/(d|0)|0;c[a+28>>2]=b+-1;if(!b)return;g=c[a+20>>2]|0;r=g;b=b+-1|0;e=0;f=0;while(1){if((e|0)>65535){o=e+-65536|0;p=o-(o>>>16<<16)|0;f=f+1+(o>>>16)|0}else p=e;if(!d)d=b;else{b=65536;e=0;h=-1;while(1){d=d+-1|0;if((b|0)>65535){b=b+-65536|0;h=h+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(c[a>>2]|0)+(_(c[a+12>>2]|0,f)|0)+(h<<2)|0}k=c[e>>2]|0;l=c[g>>2]|0;if((q&48|0)!=0&(k&255|0)!=255){i=((_(k>>>8&255,k&255)|0)>>>0)/255|0;j=((_(k>>>16&255,k&255)|0)>>>0)/255|0;n=((_(k>>>24,k&255)|0)>>>0)/255|0}else{i=k>>>8&255;j=k>>>16&255;n=k>>>24}switch(q&112|0){case 16:{o=(((_(k&255^255,l>>>24)|0)>>>0)/255|0)+(k&255)|0;m=i+(((_(k&255^255,l&255)|0)>>>0)/255|0)|0;j=j+(((_(l>>>8&255,k&255^255)|0)>>>0)/255|0)|0;i=n+(((_(l>>>16&255,k&255^255)|0)>>>0)/255|0)|0;break}case 32:{n=n+(l>>>16&255)|0;j=j+(l>>>8&255)|0;m=i+(l&255)|0;o=l>>>24;m=m>>>0>255?255:m;j=j>>>0>255?255:j;i=n>>>0>255?255:n;break}case 64:{o=l>>>24;m=((_(i,l&255)|0)>>>0)/255|0;j=((_(j,l>>>8&255)|0)>>>0)/255|0;i=((_(n,l>>>16&255)|0)>>>0)/255|0;break}default:{o=l>>>24;m=l&255;j=l>>>8&255;i=l>>>16&255}}c[g>>2]=j<<8|i<<16|m|o<<24;if(!d)break;else{g=g+4|0;b=b+s|0}}d=c[a+28>>2]|0}e=r+(c[a+32>>2]|0)|0;b=d+-1|0;c[a+28>>2]=b;if(!d)break;r=e;g=e;d=c[a+24>>2]|0;e=p+t|0}c[a+20>>2]=e;return}function Ebb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=c[a+52>>2]|0;k=c[a+60>>2]|0;i=c[a+28>>2]|0;c[a+28>>2]=i+-1;if(!i)return;d=c[a>>2]|0;b=c[a+20>>2]|0;f=b;h=d;while(1){e=c[a+24>>2]|0;if(e|0)if(!(j&1)){i=e+-1|0;while(1){e=c[h>>2]|0;if(!(j&2))g=e&255;else g=((_(e&255,k>>>24)|0)>>>0)/255|0;c[f>>2]=e>>>8&65280|e>>>24<<16|e>>>8&255|g<<24;if(!i)break;else{i=i+-1|0;f=f+4|0;h=h+4|0}}}else if(!(j&2)){g=e+-1|0;e=h;while(1){i=c[e>>2]|0;c[f>>2]=(((_(i>>>16&255,k>>>8&255)|0)>>>0)/255|0)<<8|(((_(i>>>24,k&255)|0)>>>0)/255|0)<<16|(((_(i>>>8&255,k>>>16&255)|0)>>>0)/255|0)|i<<24;if(!g)break;else{g=g+-1|0;f=f+4|0;e=e+4|0}}}else{g=e+-1|0;e=h;while(1){i=c[e>>2]|0;c[f>>2]=(((_(i>>>16&255,k>>>8&255)|0)>>>0)/255|0)<<8|(((_(i>>>24,k&255)|0)>>>0)/255|0)<<16|(((_(i>>>8&255,k>>>16&255)|0)>>>0)/255|0)|(((_(i&255,k>>>24)|0)>>>0)/255|0)<<24;if(!g)break;else{g=g+-1|0;f=f+4|0;e=e+4|0}}}d=d+(c[a+12>>2]|0)|0;b=b+(c[a+32>>2]|0)|0;i=c[a+28>>2]|0;c[a+28>>2]=i+-1;if(!i)break;else{f=b;h=d}}c[a>>2]=d;c[a+20>>2]=b;return}function Fbb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;n=c[a+52>>2]|0;r=c[a+60>>2]|0;o=c[a+28>>2]|0;p=(c[a+8>>2]<<16|0)/(o|0)|0;b=c[a+24>>2]|0;q=(c[a+4>>2]<<16|0)/(b|0)|0;c[a+28>>2]=o+-1;if(!o)return;f=c[a+20>>2]|0;o=f;d=0;e=0;while(1){if((d|0)>65535){l=d+-65536|0;m=l-(l>>>16<<16)|0;e=e+1+(l>>>16)|0}else m=d;d=b+-1|0;if(b|0)if(!(n&1)){j=f;b=65536;f=0;g=-1;while(1){if((b|0)>65535){h=b+-65536|0;g=g+1+(h>>>16)|0;h=h-(h>>>16<<16)|0;i=(c[a>>2]|0)+(_(c[a+12>>2]|0,e)|0)+(g<<2)|0}else{h=b;i=f}b=c[i>>2]|0;if(!(n&2))f=b&255;else f=((_(b&255,r>>>24)|0)>>>0)/255|0;c[j>>2]=b>>>8&65535|b>>>24<<16|f<<24;if(!d)break;else{d=d+-1|0;j=j+4|0;b=h+q|0;f=i}}}else{l=f;b=65536;f=0;g=-1;while(1){if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;f=(c[a>>2]|0)+(_(c[a+12>>2]|0,e)|0)+(g<<2)|0}h=c[f>>2]|0;i=((_(h>>>24,r&255)|0)>>>0)/255|0;j=((_(h>>>16&255,r>>>8&255)|0)>>>0)/255|0;k=((_(h>>>8&255,r>>>16&255)|0)>>>0)/255|0;if(!(n&2))h=h&255;else h=((_(h&255,r>>>24)|0)>>>0)/255|0;c[l>>2]=k|j<<8|i<<16|h<<24;if(!d)break;else{d=d+-1|0;l=l+4|0;b=b+q|0}}}b=o+(c[a+32>>2]|0)|0;o=c[a+28>>2]|0;c[a+28>>2]=o+-1;if(!o)break;o=b;f=b;b=c[a+24>>2]|0;d=m+p|0}c[a+20>>2]=b;return}function Gbb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;o=c[a+52>>2]|0;p=c[a+60>>2]|0;b=c[a+28>>2]|0;c[a+28>>2]=b+-1;if(!b)return;d=c[a>>2]|0;n=c[a+20>>2]|0;f=b+-1|0;g=n;h=d;b=n;while(1){e=c[a+24>>2]|0;if(!e)e=f;else{while(1){e=e+-1|0;f=c[h>>2]|0;n=c[g>>2]|0;if(!(o&1)){i=f>>>8&255;j=f>>>16&255;k=f>>>24}else{i=((_(f>>>8&255,p>>>16&255)|0)>>>0)/255|0;j=((_(f>>>16&255,p>>>8&255)|0)>>>0)/255|0;k=((_(f>>>24,p&255)|0)>>>0)/255|0}if(!(o&2))f=f&255;else f=((_(f&255,p>>>24)|0)>>>0)/255|0;if((o&48|0)!=0&f>>>0<255){i=((_(f,i)|0)>>>0)/255|0;l=((_(f,j)|0)>>>0)/255|0;m=((_(f,k)|0)>>>0)/255|0}else{l=j;m=k}switch(o&112|0){case 16:{q=255-f|0;k=(((_(q,n>>>24)|0)>>>0)/255|0)+f|0;j=i+(((_(q,n&255)|0)>>>0)/255|0)|0;i=l+(((_(q,n>>>8&255)|0)>>>0)/255|0)|0;f=m+(((_(q,n>>>16&255)|0)>>>0)/255|0)|0;break}case 32:{f=m+(n>>>16&255)|0;q=l+(n>>>8&255)|0;j=i+(n&255)|0;k=n>>>24;j=j>>>0>255?255:j;i=q>>>0>255?255:q;f=f>>>0>255?255:f;break}case 64:{k=n>>>24;j=((_(i,n&255)|0)>>>0)/255|0;i=((_(l,n>>>8&255)|0)>>>0)/255|0;f=((_(m,n>>>16&255)|0)>>>0)/255|0;break}default:{k=n>>>24;j=n&255;i=n>>>8&255;f=n>>>16&255}}c[g>>2]=i<<8|f<<16|j|k<<24;if(!e)break;else{g=g+4|0;h=h+4|0}}e=c[a+28>>2]|0}d=d+(c[a+12>>2]|0)|0;b=b+(c[a+32>>2]|0)|0;f=e+-1|0;c[a+28>>2]=f;if(!e)break;else{g=b;h=d}}c[a>>2]=d;c[a+20>>2]=b;return}function Hbb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;q=c[a+52>>2]|0;u=c[a+60>>2]|0;b=c[a+28>>2]|0;s=(c[a+8>>2]<<16|0)/(b|0)|0;d=c[a+24>>2]|0;t=(c[a+4>>2]<<16|0)/(d|0)|0;c[a+28>>2]=b+-1;if(!b)return;g=c[a+20>>2]|0;r=g;b=b+-1|0;e=0;f=0;while(1){if((e|0)>65535){o=e+-65536|0;p=o-(o>>>16<<16)|0;f=f+1+(o>>>16)|0}else p=e;if(!d)d=b;else{b=65536;e=0;h=-1;while(1){d=d+-1|0;if((b|0)>65535){b=b+-65536|0;h=h+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(c[a>>2]|0)+(_(c[a+12>>2]|0,f)|0)+(h<<2)|0}i=c[e>>2]|0;o=c[g>>2]|0;if(!(q&1)){j=i>>>8&255;k=i>>>16&255;l=i>>>24}else{j=((_(i>>>8&255,u>>>16&255)|0)>>>0)/255|0;k=((_(i>>>16&255,u>>>8&255)|0)>>>0)/255|0;l=((_(i>>>24,u&255)|0)>>>0)/255|0}if(!(q&2))i=i&255;else i=((_(i&255,u>>>24)|0)>>>0)/255|0;if((q&48|0)!=0&i>>>0<255){j=((_(i,j)|0)>>>0)/255|0;m=((_(i,k)|0)>>>0)/255|0;n=((_(i,l)|0)>>>0)/255|0}else{m=k;n=l}switch(q&112|0){case 16:{v=255-i|0;l=(((_(v,o>>>24)|0)>>>0)/255|0)+i|0;k=j+(((_(v,o&255)|0)>>>0)/255|0)|0;j=m+(((_(v,o>>>8&255)|0)>>>0)/255|0)|0;i=n+(((_(v,o>>>16&255)|0)>>>0)/255|0)|0;break}case 32:{i=n+(o>>>16&255)|0;v=m+(o>>>8&255)|0;k=j+(o&255)|0;l=o>>>24;k=k>>>0>255?255:k;j=v>>>0>255?255:v;i=i>>>0>255?255:i;break}case 64:{l=o>>>24;k=((_(j,o&255)|0)>>>0)/255|0;j=((_(m,o>>>8&255)|0)>>>0)/255|0;i=((_(n,o>>>16&255)|0)>>>0)/255|0;break}default:{l=o>>>24;k=o&255;j=o>>>8&255;i=o>>>16&255}}c[g>>2]=j<<8|i<<16|k|l<<24;if(!d)break;else{g=g+4|0;b=b+t|0}}d=c[a+28>>2]|0}e=r+(c[a+32>>2]|0)|0;b=d+-1|0;c[a+28>>2]=b;if(!d)break;r=e;g=e;d=c[a+24>>2]|0;e=p+s|0}c[a+20>>2]=e;return}function Ibb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=c[a+28>>2]|0;l=(c[a+8>>2]<<16|0)/(d|0)|0;b=c[a+24>>2]|0;k=(c[a+4>>2]<<16|0)/(b|0)|0;c[a+28>>2]=d+-1;if(!d)return;g=c[a+20>>2]|0;j=g;d=d+-1|0;e=0;f=0;while(1){if((e|0)>65535){i=e+-65536|0;e=i-(i>>>16<<16)|0;f=f+1+(i>>>16)|0}if(!b)b=d;else{d=65536;h=0;i=-1;while(1){b=b+-1|0;if((d|0)>65535){d=d+-65536|0;i=i+1+(d>>>16)|0;d=d-(d>>>16<<16)|0;h=(c[a>>2]|0)+(_(c[a+12>>2]|0,f)|0)+(i<<2)|0}m=c[h>>2]|0;c[g>>2]=m<<16&16711680|m&65280|m>>>16&255;if(!b)break;else{g=g+4|0;d=d+k|0}}b=c[a+28>>2]|0}g=j+(c[a+32>>2]|0)|0;d=b+-1|0;c[a+28>>2]=d;if(!b)break;b=c[a+24>>2]|0;j=g;e=e+l|0}c[a+20>>2]=g;return}function Jbb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;l=c[a+52>>2]|0;n=c[a+28>>2]|0;c[a+28>>2]=n+-1;if(!n)return;d=c[a>>2]|0;b=c[a+20>>2]|0;m=d;n=b;while(1){e=c[a+24>>2]|0;a:do if(e|0){if(!(l&48)){i=e+-1|0;while(1){e=c[d>>2]|0;f=c[b>>2]|0;switch(l&112|0){case 16:{g=(e>>>16&255)+(((_(e>>>24^255,f&255)|0)>>>0)/255|0)|0;h=(e>>>8&255)+(((_(f>>>8&255,e>>>24^255)|0)>>>0)/255|0)|0;e=(e&255)+(((_(f>>>16&255,e>>>24^255)|0)>>>0)/255|0)|0;break}case 32:{g=((e>>>16&255)+(f&255)|0)>>>0>255?255:(e>>>16&255)+(f&255)|0;h=((e>>>8&255)+(f>>>8&255)|0)>>>0>255?255:(e>>>8&255)+(f>>>8&255)|0;e=((e&255)+(f>>>16&255)|0)>>>0>255?255:(e&255)+(f>>>16&255)|0;break}case 64:{g=((_(e>>>16&255,f&255)|0)>>>0)/255|0;h=((_(e>>>8&255,f>>>8&255)|0)>>>0)/255|0;e=((_(e&255,f>>>16&255)|0)>>>0)/255|0;break}default:{g=f&255;h=f>>>8&255;e=f>>>16&255}}c[b>>2]=h<<8|e<<16|g;if(!i)break a;else{i=i+-1|0;b=b+4|0;d=d+4|0}}}else k=e+-1|0;while(1){g=c[d>>2]|0;h=c[b>>2]|0;if((g>>>24|0)==255){e=g>>>16&255;f=g>>>8&255;j=g&255}else{e=((_(g>>>16&255,g>>>24)|0)>>>0)/255|0;f=((_(g>>>8&255,g>>>24)|0)>>>0)/255|0;j=((_(g&255,g>>>24)|0)>>>0)/255|0}switch(l&112|0){case 16:{i=e+(((_(g>>>24^255,h&255)|0)>>>0)/255|0)|0;f=f+(((_(h>>>8&255,g>>>24^255)|0)>>>0)/255|0)|0;e=j+(((_(h>>>16&255,g>>>24^255)|0)>>>0)/255|0)|0;break}case 32:{j=j+(h>>>16&255)|0;f=f+(h>>>8&255)|0;i=e+(h&255)|0;i=i>>>0>255?255:i;f=f>>>0>255?255:f;e=j>>>0>255?255:j;break}case 64:{i=((_(e,h&255)|0)>>>0)/255|0;f=((_(f,h>>>8&255)|0)>>>0)/255|0;e=((_(j,h>>>16&255)|0)>>>0)/255|0;break}default:{i=h&255;f=h>>>8&255;e=h>>>16&255}}c[b>>2]=f<<8|e<<16|i;if(!k)break a;else{k=k+-1|0;b=b+4|0;d=d+4|0}}}while(0);d=m+(c[a+12>>2]|0)|0;b=n+(c[a+32>>2]|0)|0;n=c[a+28>>2]|0;c[a+28>>2]=n+-1;if(!n)break;else{m=d;n=b}}c[a>>2]=d;c[a+20>>2]=b;return}function Kbb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;q=c[a+52>>2]|0;b=c[a+28>>2]|0;s=(c[a+8>>2]<<16|0)/(b|0)|0;d=c[a+24>>2]|0;r=(c[a+4>>2]<<16|0)/(d|0)|0;c[a+28>>2]=b+-1;if(!b)return;p=c[a+20>>2]|0;b=b+-1|0;h=p;e=0;f=0;while(1){if((e|0)>65535){o=e+-65536|0;e=o-(o>>>16<<16)|0;f=f+1+(o>>>16)|0}if(!d)d=b;else{o=h;b=65536;g=0;h=-1;while(1){d=d+-1|0;if((b|0)>65535){b=b+-65536|0;h=h+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;g=(c[a>>2]|0)+(_(c[a+12>>2]|0,f)|0)+(h<<2)|0}k=c[g>>2]|0;l=c[o>>2]|0;if((q&48|0)!=0&(k>>>24|0)!=255){i=((_(k>>>16&255,k>>>24)|0)>>>0)/255|0;j=((_(k>>>8&255,k>>>24)|0)>>>0)/255|0;n=((_(k&255,k>>>24)|0)>>>0)/255|0}else{i=k>>>16&255;j=k>>>8&255;n=k&255}switch(q&112|0){case 16:{m=i+(((_(k>>>24^255,l&255)|0)>>>0)/255|0)|0;j=j+(((_(l>>>8&255,k>>>24^255)|0)>>>0)/255|0)|0;i=n+(((_(l>>>16&255,k>>>24^255)|0)>>>0)/255|0)|0;break}case 32:{n=n+(l>>>16&255)|0;j=j+(l>>>8&255)|0;m=i+(l&255)|0;m=m>>>0>255?255:m;j=j>>>0>255?255:j;i=n>>>0>255?255:n;break}case 64:{m=((_(i,l&255)|0)>>>0)/255|0;j=((_(j,l>>>8&255)|0)>>>0)/255|0;i=((_(n,l>>>16&255)|0)>>>0)/255|0;break}default:{m=l&255;j=l>>>8&255;i=l>>>16&255}}c[o>>2]=j<<8|i<<16|m;if(!d)break;else{o=o+4|0;b=b+r|0}}d=c[a+28>>2]|0}g=p+(c[a+32>>2]|0)|0;b=d+-1|0;c[a+28>>2]=b;if(!d)break;h=g;d=c[a+24>>2]|0;p=g;e=e+s|0}c[a+20>>2]=g;return}function Lbb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=c[a+52>>2]|0;j=c[a+60>>2]|0;d=c[a+28>>2]|0;c[a+28>>2]=d+-1;if(!d)return;g=c[a>>2]|0;e=c[a+20>>2]|0;if(!(b&1)){h=g;i=e;f=d+-1|0;b=e;d=g;while(1){e=c[a+24>>2]|0;if(!e)e=f;else{while(1){e=e+-1|0;j=c[d>>2]|0;c[b>>2]=j&65280|j<<16&16711680|j>>>16&255;if(!e)break;else{b=b+4|0;d=d+4|0}}e=c[a+28>>2]|0}d=h+(c[a+12>>2]|0)|0;b=i+(c[a+32>>2]|0)|0;f=e+-1|0;c[a+28>>2]=f;if(!e)break;else{h=d;i=b}}c[a>>2]=d;c[a+20>>2]=b;return}else{h=g;i=e;f=d+-1|0;b=e;d=g;while(1){e=c[a+24>>2]|0;if(!e)e=f;else{while(1){e=e+-1|0;g=c[d>>2]|0;c[b>>2]=(((_(g>>>8&255,j>>>8&255)|0)>>>0)/255|0)<<8|(((_(g&255,j&255)|0)>>>0)/255|0)<<16|(((_(g>>>16&255,j>>>16&255)|0)>>>0)/255|0);if(!e)break;else{b=b+4|0;d=d+4|0}}e=c[a+28>>2]|0}d=h+(c[a+12>>2]|0)|0;b=i+(c[a+32>>2]|0)|0;f=e+-1|0;c[a+28>>2]=f;if(!e)break;else{h=d;i=b}}c[a>>2]=d;c[a+20>>2]=b;return}}function Mbb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;j=c[a+52>>2]|0;n=c[a+60>>2]|0;k=c[a+28>>2]|0;l=(c[a+8>>2]<<16|0)/(k|0)|0;b=c[a+24>>2]|0;m=(c[a+4>>2]<<16|0)/(b|0)|0;c[a+28>>2]=k+-1;if(!k)return;f=c[a+20>>2]|0;k=f;d=0;e=0;while(1){if((d|0)>65535){h=d+-65536|0;i=h-(h>>>16<<16)|0;e=e+1+(h>>>16)|0}else i=d;d=b+-1|0;if(b|0)if(!(j&1)){h=f;b=65536;f=0;g=-1;while(1){if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;f=(c[a>>2]|0)+(_(c[a+12>>2]|0,e)|0)+(g<<2)|0}o=c[f>>2]|0;c[h>>2]=o>>>16&255|o&65280|o<<16&16711680;if(!d)break;else{d=d+-1|0;h=h+4|0;b=b+m|0}}}else{h=f;b=65536;f=0;g=-1;while(1){if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;f=(c[a>>2]|0)+(_(c[a+12>>2]|0,e)|0)+(g<<2)|0}o=c[f>>2]|0;c[h>>2]=((_(o>>>16&255,n>>>16&255)|0)>>>0)/255|0|(((_(o>>>8&255,n>>>8&255)|0)>>>0)/255|0)<<8|(((_(o&255,n&255)|0)>>>0)/255|0)<<16;if(!d)break;else{d=d+-1|0;h=h+4|0;b=b+m|0}}}b=k+(c[a+32>>2]|0)|0;o=c[a+28>>2]|0;c[a+28>>2]=o+-1;if(!o)break;k=b;f=b;b=c[a+24>>2]|0;d=i+l|0}c[a+20>>2]=b;return}function Nbb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;l=c[a+52>>2]|0;m=c[a+60>>2]|0;b=c[a+28>>2]|0;c[a+28>>2]=b+-1;if(!b)return;d=c[a>>2]|0;k=c[a+20>>2]|0;n=d;o=k;f=b+-1|0;b=k;while(1){e=c[a+24>>2]|0;if(!e)e=f;else{while(1){e=e+-1|0;f=c[d>>2]|0;k=c[b>>2]|0;if(!(l&1)){g=f>>>16&255;h=f>>>8&255;i=f&255}else{g=((_(f>>>16&255,m>>>16&255)|0)>>>0)/255|0;h=((_(f>>>8&255,m>>>8&255)|0)>>>0)/255|0;i=((_(f&255,m&255)|0)>>>0)/255|0}if(!(l&2))j=f>>>24;else j=((_(f>>>24,m>>>24)|0)>>>0)/255|0;if((l&48|0)!=0&j>>>0<255){g=((_(j,g)|0)>>>0)/255|0;f=((_(j,h)|0)>>>0)/255|0;i=((_(j,i)|0)>>>0)/255|0}else f=h;switch(l&112|0){case 16:{j=255-j|0;h=g+(((_(j,k&255)|0)>>>0)/255|0)|0;g=f+(((_(j,k>>>8&255)|0)>>>0)/255|0)|0;f=i+(((_(j,k>>>16&255)|0)>>>0)/255|0)|0;break}case 32:{j=i+(k>>>16&255)|0;f=f+(k>>>8&255)|0;h=g+(k&255)|0;h=h>>>0>255?255:h;g=f>>>0>255?255:f;f=j>>>0>255?255:j;break}case 64:{h=((_(g,k&255)|0)>>>0)/255|0;g=((_(f,k>>>8&255)|0)>>>0)/255|0;f=((_(i,k>>>16&255)|0)>>>0)/255|0;break}default:{h=k&255;g=k>>>8&255;f=k>>>16&255}}c[b>>2]=g<<8|f<<16|h;if(!e)break;else{b=b+4|0;d=d+4|0}}e=c[a+28>>2]|0}d=n+(c[a+12>>2]|0)|0;b=o+(c[a+32>>2]|0)|0;f=e+-1|0;c[a+28>>2]=f;if(!e)break;else{n=d;o=b}}c[a>>2]=d;c[a+20>>2]=b;return}function Obb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;p=c[a+52>>2]|0;t=c[a+60>>2]|0;b=c[a+28>>2]|0;r=(c[a+8>>2]<<16|0)/(b|0)|0;d=c[a+24>>2]|0;s=(c[a+4>>2]<<16|0)/(d|0)|0;c[a+28>>2]=b+-1;if(!b)return;g=c[a+20>>2]|0;q=g;b=b+-1|0;e=0;f=0;while(1){if((e|0)>65535){n=e+-65536|0;o=n-(n>>>16<<16)|0;f=f+1+(n>>>16)|0}else o=e;if(!d)d=b;else{b=65536;e=0;h=-1;while(1){d=d+-1|0;if((b|0)>65535){b=b+-65536|0;h=h+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(c[a>>2]|0)+(_(c[a+12>>2]|0,f)|0)+(h<<2)|0}i=c[e>>2]|0;n=c[g>>2]|0;if(!(p&1)){j=i>>>16&255;k=i>>>8&255;l=i&255}else{j=((_(i>>>16&255,t>>>16&255)|0)>>>0)/255|0;k=((_(i>>>8&255,t>>>8&255)|0)>>>0)/255|0;l=((_(i&255,t&255)|0)>>>0)/255|0}if(!(p&2))m=i>>>24;else m=((_(i>>>24,t>>>24)|0)>>>0)/255|0;if((p&48|0)!=0&m>>>0<255){j=((_(m,j)|0)>>>0)/255|0;i=((_(m,k)|0)>>>0)/255|0;l=((_(m,l)|0)>>>0)/255|0}else i=k;switch(p&112|0){case 16:{m=255-m|0;k=j+(((_(m,n&255)|0)>>>0)/255|0)|0;j=i+(((_(m,n>>>8&255)|0)>>>0)/255|0)|0;i=l+(((_(m,n>>>16&255)|0)>>>0)/255|0)|0;break}case 32:{m=l+(n>>>16&255)|0;i=i+(n>>>8&255)|0;k=j+(n&255)|0;k=k>>>0>255?255:k;j=i>>>0>255?255:i;i=m>>>0>255?255:m;break}case 64:{k=((_(j,n&255)|0)>>>0)/255|0;j=((_(i,n>>>8&255)|0)>>>0)/255|0;i=((_(l,n>>>16&255)|0)>>>0)/255|0;break}default:{k=n&255;j=n>>>8&255;i=n>>>16&255}}c[g>>2]=j<<8|i<<16|k;if(!d)break;else{g=g+4|0;b=b+s|0}}d=c[a+28>>2]|0}e=q+(c[a+32>>2]|0)|0;b=d+-1|0;c[a+28>>2]=b;if(!d)break;q=e;g=e;d=c[a+24>>2]|0;e=o+r|0}c[a+20>>2]=e;return}function Pbb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=c[a+28>>2]|0;l=(c[a+8>>2]<<16|0)/(d|0)|0;b=c[a+24>>2]|0;k=(c[a+4>>2]<<16|0)/(b|0)|0;c[a+28>>2]=d+-1;if(!d)return;g=c[a+20>>2]|0;j=g;d=d+-1|0;e=0;f=0;while(1){if((e|0)>65535){i=e+-65536|0;e=i-(i>>>16<<16)|0;f=f+1+(i>>>16)|0}if(!b)b=d;else{d=65536;h=0;i=-1;while(1){b=b+-1|0;if((d|0)>65535){d=d+-65536|0;i=i+1+(d>>>16)|0;d=d-(d>>>16<<16)|0;h=(c[a>>2]|0)+(_(c[a+12>>2]|0,f)|0)+(i<<2)|0}c[g>>2]=c[h>>2]&16777215;if(!b)break;else{g=g+4|0;d=d+k|0}}b=c[a+28>>2]|0}g=j+(c[a+32>>2]|0)|0;d=b+-1|0;c[a+28>>2]=d;if(!b)break;b=c[a+24>>2]|0;j=g;e=e+l|0}c[a+20>>2]=g;return}function Qbb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;l=c[a+52>>2]|0;n=c[a+28>>2]|0;c[a+28>>2]=n+-1;if(!n)return;d=c[a>>2]|0;b=c[a+20>>2]|0;m=d;n=b;while(1){e=c[a+24>>2]|0;a:do if(e|0){if(!(l&48)){i=e+-1|0;while(1){e=c[d>>2]|0;f=c[b>>2]|0;switch(l&112|0){case 16:{g=(e>>>16&255)+(((_(f>>>16&255,e>>>24^255)|0)>>>0)/255|0)|0;h=(e>>>8&255)+(((_(f>>>8&255,e>>>24^255)|0)>>>0)/255|0)|0;e=(e&255)+(((_(e>>>24^255,f&255)|0)>>>0)/255|0)|0;break}case 32:{g=((e>>>16&255)+(f>>>16&255)|0)>>>0>255?255:(e>>>16&255)+(f>>>16&255)|0;h=((e>>>8&255)+(f>>>8&255)|0)>>>0>255?255:(e>>>8&255)+(f>>>8&255)|0;e=((e&255)+(f&255)|0)>>>0>255?255:(e&255)+(f&255)|0;break}case 64:{g=((_(e>>>16&255,f>>>16&255)|0)>>>0)/255|0;h=((_(e>>>8&255,f>>>8&255)|0)>>>0)/255|0;e=((_(e&255,f&255)|0)>>>0)/255|0;break}default:{g=f>>>16&255;h=f>>>8&255;e=f&255}}c[b>>2]=h<<8|e|g<<16;if(!i)break a;else{i=i+-1|0;b=b+4|0;d=d+4|0}}}else k=e+-1|0;while(1){g=c[d>>2]|0;h=c[b>>2]|0;if((g>>>24|0)==255){e=g>>>16&255;f=g>>>8&255;j=g&255}else{e=((_(g>>>16&255,g>>>24)|0)>>>0)/255|0;f=((_(g>>>8&255,g>>>24)|0)>>>0)/255|0;j=((_(g&255,g>>>24)|0)>>>0)/255|0}switch(l&112|0){case 16:{i=e+(((_(h>>>16&255,g>>>24^255)|0)>>>0)/255|0)|0;f=f+(((_(h>>>8&255,g>>>24^255)|0)>>>0)/255|0)|0;e=j+(((_(g>>>24^255,h&255)|0)>>>0)/255|0)|0;break}case 32:{j=j+(h&255)|0;f=f+(h>>>8&255)|0;i=e+(h>>>16&255)|0;i=i>>>0>255?255:i;f=f>>>0>255?255:f;e=j>>>0>255?255:j;break}case 64:{i=((_(e,h>>>16&255)|0)>>>0)/255|0;f=((_(f,h>>>8&255)|0)>>>0)/255|0;e=((_(j,h&255)|0)>>>0)/255|0;break}default:{i=h>>>16&255;f=h>>>8&255;e=h&255}}c[b>>2]=f<<8|e|i<<16;if(!k)break a;else{k=k+-1|0;b=b+4|0;d=d+4|0}}}while(0);d=m+(c[a+12>>2]|0)|0;b=n+(c[a+32>>2]|0)|0;n=c[a+28>>2]|0;c[a+28>>2]=n+-1;if(!n)break;else{m=d;n=b}}c[a>>2]=d;c[a+20>>2]=b;return}function Rbb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;q=c[a+52>>2]|0;b=c[a+28>>2]|0;s=(c[a+8>>2]<<16|0)/(b|0)|0;d=c[a+24>>2]|0;r=(c[a+4>>2]<<16|0)/(d|0)|0;c[a+28>>2]=b+-1;if(!b)return;p=c[a+20>>2]|0;b=b+-1|0;h=p;e=0;f=0;while(1){if((e|0)>65535){o=e+-65536|0;e=o-(o>>>16<<16)|0;f=f+1+(o>>>16)|0}if(!d)d=b;else{o=h;b=65536;g=0;h=-1;while(1){d=d+-1|0;if((b|0)>65535){b=b+-65536|0;h=h+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;g=(c[a>>2]|0)+(_(c[a+12>>2]|0,f)|0)+(h<<2)|0}k=c[g>>2]|0;l=c[o>>2]|0;if((q&48|0)!=0&(k>>>24|0)!=255){i=((_(k>>>16&255,k>>>24)|0)>>>0)/255|0;j=((_(k>>>8&255,k>>>24)|0)>>>0)/255|0;n=((_(k&255,k>>>24)|0)>>>0)/255|0}else{i=k>>>16&255;j=k>>>8&255;n=k&255}switch(q&112|0){case 16:{m=i+(((_(l>>>16&255,k>>>24^255)|0)>>>0)/255|0)|0;j=j+(((_(l>>>8&255,k>>>24^255)|0)>>>0)/255|0)|0;i=n+(((_(k>>>24^255,l&255)|0)>>>0)/255|0)|0;break}case 32:{n=n+(l&255)|0;j=j+(l>>>8&255)|0;m=i+(l>>>16&255)|0;m=m>>>0>255?255:m;j=j>>>0>255?255:j;i=n>>>0>255?255:n;break}case 64:{m=((_(i,l>>>16&255)|0)>>>0)/255|0;j=((_(j,l>>>8&255)|0)>>>0)/255|0;i=((_(n,l&255)|0)>>>0)/255|0;break}default:{m=l>>>16&255;j=l>>>8&255;i=l&255}}c[o>>2]=j<<8|i|m<<16;if(!d)break;else{o=o+4|0;b=b+r|0}}d=c[a+28>>2]|0}g=p+(c[a+32>>2]|0)|0;b=d+-1|0;c[a+28>>2]=b;if(!d)break;h=g;d=c[a+24>>2]|0;p=g;e=e+s|0}c[a+20>>2]=g;return}function Sbb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=c[a+52>>2]|0;j=c[a+60>>2]|0;d=c[a+28>>2]|0;c[a+28>>2]=d+-1;if(!d)return;g=c[a>>2]|0;e=c[a+20>>2]|0;if(!(b&1)){h=g;i=e;f=d+-1|0;b=e;d=g;while(1){e=c[a+24>>2]|0;if(!e)e=f;else{while(1){e=e+-1|0;c[b>>2]=c[d>>2]&16777215;if(!e)break;else{b=b+4|0;d=d+4|0}}e=c[a+28>>2]|0}d=h+(c[a+12>>2]|0)|0;b=i+(c[a+32>>2]|0)|0;f=e+-1|0;c[a+28>>2]=f;if(!e)break;else{h=d;i=b}}c[a>>2]=d;c[a+20>>2]=b;return}else{h=g;i=e;f=d+-1|0;b=e;d=g;while(1){e=c[a+24>>2]|0;if(!e)e=f;else{while(1){e=e+-1|0;g=c[d>>2]|0;c[b>>2]=(((_(g>>>8&255,j>>>8&255)|0)>>>0)/255|0)<<8|(((_(g&255,j&255)|0)>>>0)/255|0)|(((_(g>>>16&255,j>>>16&255)|0)>>>0)/255|0)<<16;if(!e)break;else{b=b+4|0;d=d+4|0}}e=c[a+28>>2]|0}d=h+(c[a+12>>2]|0)|0;b=i+(c[a+32>>2]|0)|0;f=e+-1|0;c[a+28>>2]=f;if(!e)break;else{h=d;i=b}}c[a>>2]=d;c[a+20>>2]=b;return}}function Tbb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;k=c[a+52>>2]|0;n=c[a+60>>2]|0;j=c[a+28>>2]|0;l=(c[a+8>>2]<<16|0)/(j|0)|0;b=c[a+24>>2]|0;m=(c[a+4>>2]<<16|0)/(b|0)|0;c[a+28>>2]=j+-1;if(!j)return;f=c[a+20>>2]|0;j=f;d=0;e=0;while(1){if((d|0)>65535){h=d+-65536|0;i=h-(h>>>16<<16)|0;e=e+1+(h>>>16)|0}else i=d;d=b+-1|0;if(b|0)if(!(k&1)){b=65536;g=0;h=-1;while(1){if((b|0)>65535){b=b+-65536|0;h=h+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;g=(c[a>>2]|0)+(_(c[a+12>>2]|0,e)|0)+(h<<2)|0}c[f>>2]=c[g>>2]&16777215;if(!d)break;else{d=d+-1|0;f=f+4|0;b=b+m|0}}}else{b=65536;g=0;h=-1;while(1){if((b|0)>65535){b=b+-65536|0;h=h+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;g=(c[a>>2]|0)+(_(c[a+12>>2]|0,e)|0)+(h<<2)|0}o=c[g>>2]|0;c[f>>2]=(((_(o>>>16&255,n>>>16&255)|0)>>>0)/255|0)<<16|(((_(o>>>8&255,n>>>8&255)|0)>>>0)/255|0)<<8|(((_(o&255,n&255)|0)>>>0)/255|0);if(!d)break;else{d=d+-1|0;f=f+4|0;b=b+m|0}}}d=j+(c[a+32>>2]|0)|0;o=c[a+28>>2]|0;c[a+28>>2]=o+-1;if(!o)break;b=c[a+24>>2]|0;j=d;f=d;d=i+l|0}c[a+20>>2]=d;return}function Ubb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;l=c[a+52>>2]|0;m=c[a+60>>2]|0;b=c[a+28>>2]|0;c[a+28>>2]=b+-1;if(!b)return;d=c[a>>2]|0;k=c[a+20>>2]|0;n=d;o=k;f=b+-1|0;b=k;while(1){e=c[a+24>>2]|0;if(!e)e=f;else{while(1){e=e+-1|0;f=c[d>>2]|0;k=c[b>>2]|0;if(!(l&1)){g=f>>>16&255;h=f>>>8&255;i=f&255}else{g=((_(f>>>16&255,m>>>16&255)|0)>>>0)/255|0;h=((_(f>>>8&255,m>>>8&255)|0)>>>0)/255|0;i=((_(f&255,m&255)|0)>>>0)/255|0}if(!(l&2))j=f>>>24;else j=((_(f>>>24,m>>>24)|0)>>>0)/255|0;if((l&48|0)!=0&j>>>0<255){g=((_(j,g)|0)>>>0)/255|0;f=((_(j,h)|0)>>>0)/255|0;i=((_(j,i)|0)>>>0)/255|0}else f=h;switch(l&112|0){case 16:{j=255-j|0;h=g+(((_(j,k>>>16&255)|0)>>>0)/255|0)|0;g=f+(((_(j,k>>>8&255)|0)>>>0)/255|0)|0;f=i+(((_(j,k&255)|0)>>>0)/255|0)|0;break}case 32:{j=i+(k&255)|0;f=f+(k>>>8&255)|0;h=g+(k>>>16&255)|0;h=h>>>0>255?255:h;g=f>>>0>255?255:f;f=j>>>0>255?255:j;break}case 64:{h=((_(g,k>>>16&255)|0)>>>0)/255|0;g=((_(f,k>>>8&255)|0)>>>0)/255|0;f=((_(i,k&255)|0)>>>0)/255|0;break}default:{h=k>>>16&255;g=k>>>8&255;f=k&255}}c[b>>2]=g<<8|f|h<<16;if(!e)break;else{b=b+4|0;d=d+4|0}}e=c[a+28>>2]|0}d=n+(c[a+12>>2]|0)|0;b=o+(c[a+32>>2]|0)|0;f=e+-1|0;c[a+28>>2]=f;if(!e)break;else{n=d;o=b}}c[a>>2]=d;c[a+20>>2]=b;return}function Vbb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;p=c[a+52>>2]|0;t=c[a+60>>2]|0;b=c[a+28>>2]|0;r=(c[a+8>>2]<<16|0)/(b|0)|0;d=c[a+24>>2]|0;s=(c[a+4>>2]<<16|0)/(d|0)|0;c[a+28>>2]=b+-1;if(!b)return;g=c[a+20>>2]|0;q=g;b=b+-1|0;e=0;f=0;while(1){if((e|0)>65535){n=e+-65536|0;o=n-(n>>>16<<16)|0;f=f+1+(n>>>16)|0}else o=e;if(!d)d=b;else{b=65536;e=0;h=-1;while(1){d=d+-1|0;if((b|0)>65535){b=b+-65536|0;h=h+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(c[a>>2]|0)+(_(c[a+12>>2]|0,f)|0)+(h<<2)|0}i=c[e>>2]|0;n=c[g>>2]|0;if(!(p&1)){j=i>>>16&255;k=i>>>8&255;l=i&255}else{j=((_(i>>>16&255,t>>>16&255)|0)>>>0)/255|0;k=((_(i>>>8&255,t>>>8&255)|0)>>>0)/255|0;l=((_(i&255,t&255)|0)>>>0)/255|0}if(!(p&2))m=i>>>24;else m=((_(i>>>24,t>>>24)|0)>>>0)/255|0;if((p&48|0)!=0&m>>>0<255){j=((_(m,j)|0)>>>0)/255|0;i=((_(m,k)|0)>>>0)/255|0;l=((_(m,l)|0)>>>0)/255|0}else i=k;switch(p&112|0){case 16:{m=255-m|0;k=j+(((_(m,n>>>16&255)|0)>>>0)/255|0)|0;j=i+(((_(m,n>>>8&255)|0)>>>0)/255|0)|0;i=l+(((_(m,n&255)|0)>>>0)/255|0)|0;break}case 32:{m=l+(n&255)|0;i=i+(n>>>8&255)|0;k=j+(n>>>16&255)|0;k=k>>>0>255?255:k;j=i>>>0>255?255:i;i=m>>>0>255?255:m;break}case 64:{k=((_(j,n>>>16&255)|0)>>>0)/255|0;j=((_(i,n>>>8&255)|0)>>>0)/255|0;i=((_(l,n&255)|0)>>>0)/255|0;break}default:{k=n>>>16&255;j=n>>>8&255;i=n&255}}c[g>>2]=j<<8|i|k<<16;if(!d)break;else{g=g+4|0;b=b+s|0}}d=c[a+28>>2]|0}e=q+(c[a+32>>2]|0)|0;b=d+-1|0;c[a+28>>2]=b;if(!d)break;q=e;g=e;d=c[a+24>>2]|0;e=o+r|0}c[a+20>>2]=e;return}function Wbb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=c[a+28>>2]|0;l=(c[a+8>>2]<<16|0)/(d|0)|0;b=c[a+24>>2]|0;k=(c[a+4>>2]<<16|0)/(b|0)|0;c[a+28>>2]=d+-1;if(!d)return;g=c[a+20>>2]|0;j=g;d=d+-1|0;e=0;f=0;while(1){if((e|0)>65535){i=e+-65536|0;e=i-(i>>>16<<16)|0;f=f+1+(i>>>16)|0}if(!b)b=d;else{d=65536;h=0;i=-1;while(1){b=b+-1|0;if((d|0)>65535){d=d+-65536|0;i=i+1+(d>>>16)|0;d=d-(d>>>16<<16)|0;h=(c[a>>2]|0)+(_(c[a+12>>2]|0,f)|0)+(i<<2)|0}m=c[h>>2]|0;c[g>>2]=m&-16711936|m<<16&16711680|m>>>16&255;if(!b)break;else{g=g+4|0;d=d+k|0}}b=c[a+28>>2]|0}g=j+(c[a+32>>2]|0)|0;d=b+-1|0;c[a+28>>2]=d;if(!b)break;b=c[a+24>>2]|0;j=g;e=e+l|0}c[a+20>>2]=g;return}function Xbb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;m=c[a+52>>2]|0;o=c[a+28>>2]|0;c[a+28>>2]=o+-1;if(!o)return;d=c[a>>2]|0;b=c[a+20>>2]|0;n=d;o=b;while(1){e=c[a+24>>2]|0;a:do if(e|0){if(!(m&48)){j=e+-1|0;while(1){e=c[d>>2]|0;f=c[b>>2]|0;switch(m&112|0){case 16:{g=(((_(e>>>24^255,f>>>24)|0)>>>0)/255|0)+(e>>>24)|0;h=(e>>>16&255)+(((_(e>>>24^255,f&255)|0)>>>0)/255|0)|0;i=(e>>>8&255)+(((_(f>>>8&255,e>>>24^255)|0)>>>0)/255|0)|0;e=(e&255)+(((_(f>>>16&255,e>>>24^255)|0)>>>0)/255|0)|0;break}case 32:{g=f>>>24;h=((e>>>16&255)+(f&255)|0)>>>0>255?255:(e>>>16&255)+(f&255)|0;i=((e>>>8&255)+(f>>>8&255)|0)>>>0>255?255:(e>>>8&255)+(f>>>8&255)|0;e=((e&255)+(f>>>16&255)|0)>>>0>255?255:(e&255)+(f>>>16&255)|0;break}case 64:{g=f>>>24;h=((_(e>>>16&255,f&255)|0)>>>0)/255|0;i=((_(e>>>8&255,f>>>8&255)|0)>>>0)/255|0;e=((_(e&255,f>>>16&255)|0)>>>0)/255|0;break}default:{g=f>>>24;h=f&255;i=f>>>8&255;e=f>>>16&255}}c[b>>2]=i<<8|e<<16|h|g<<24;if(!j)break a;else{j=j+-1|0;b=b+4|0;d=d+4|0}}}else l=e+-1|0;while(1){g=c[d>>2]|0;h=c[b>>2]|0;if((g>>>24|0)==255){e=g>>>16&255;f=g>>>8&255;j=g&255}else{e=((_(g>>>16&255,g>>>24)|0)>>>0)/255|0;f=((_(g>>>8&255,g>>>24)|0)>>>0)/255|0;j=((_(g&255,g>>>24)|0)>>>0)/255|0}switch(m&112|0){case 16:{k=(((_(g>>>24^255,h>>>24)|0)>>>0)/255|0)+(g>>>24)|0;i=e+(((_(g>>>24^255,h&255)|0)>>>0)/255|0)|0;f=f+(((_(h>>>8&255,g>>>24^255)|0)>>>0)/255|0)|0;e=j+(((_(h>>>16&255,g>>>24^255)|0)>>>0)/255|0)|0;break}case 32:{j=j+(h>>>16&255)|0;f=f+(h>>>8&255)|0;i=e+(h&255)|0;k=h>>>24;i=i>>>0>255?255:i;f=f>>>0>255?255:f;e=j>>>0>255?255:j;break}case 64:{k=h>>>24;i=((_(e,h&255)|0)>>>0)/255|0;f=((_(f,h>>>8&255)|0)>>>0)/255|0;e=((_(j,h>>>16&255)|0)>>>0)/255|0;break}default:{k=h>>>24;i=h&255;f=h>>>8&255;e=h>>>16&255}}c[b>>2]=f<<8|e<<16|i|k<<24;if(!l)break a;else{l=l+-1|0;b=b+4|0;d=d+4|0}}}while(0);d=n+(c[a+12>>2]|0)|0;b=o+(c[a+32>>2]|0)|0;o=c[a+28>>2]|0;c[a+28>>2]=o+-1;if(!o)break;else{n=d;o=b}}c[a>>2]=d;c[a+20>>2]=b;return}function Ybb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;q=c[a+52>>2]|0;b=c[a+28>>2]|0;t=(c[a+8>>2]<<16|0)/(b|0)|0;d=c[a+24>>2]|0;s=(c[a+4>>2]<<16|0)/(d|0)|0;c[a+28>>2]=b+-1;if(!b)return;g=c[a+20>>2]|0;r=g;b=b+-1|0;e=0;f=0;while(1){if((e|0)>65535){o=e+-65536|0;p=o-(o>>>16<<16)|0;f=f+1+(o>>>16)|0}else p=e;if(!d)d=b;else{b=65536;e=0;h=-1;while(1){d=d+-1|0;if((b|0)>65535){b=b+-65536|0;h=h+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(c[a>>2]|0)+(_(c[a+12>>2]|0,f)|0)+(h<<2)|0}k=c[e>>2]|0;l=c[g>>2]|0;if((q&48|0)!=0&(k>>>24|0)!=255){i=((_(k>>>16&255,k>>>24)|0)>>>0)/255|0;j=((_(k>>>8&255,k>>>24)|0)>>>0)/255|0;n=((_(k&255,k>>>24)|0)>>>0)/255|0}else{i=k>>>16&255;j=k>>>8&255;n=k&255}switch(q&112|0){case 16:{o=(((_(k>>>24^255,l>>>24)|0)>>>0)/255|0)+(k>>>24)|0;m=i+(((_(k>>>24^255,l&255)|0)>>>0)/255|0)|0;j=j+(((_(l>>>8&255,k>>>24^255)|0)>>>0)/255|0)|0;i=n+(((_(l>>>16&255,k>>>24^255)|0)>>>0)/255|0)|0;break}case 32:{n=n+(l>>>16&255)|0;j=j+(l>>>8&255)|0;m=i+(l&255)|0;o=l>>>24;m=m>>>0>255?255:m;j=j>>>0>255?255:j;i=n>>>0>255?255:n;break}case 64:{o=l>>>24;m=((_(i,l&255)|0)>>>0)/255|0;j=((_(j,l>>>8&255)|0)>>>0)/255|0;i=((_(n,l>>>16&255)|0)>>>0)/255|0;break}default:{o=l>>>24;m=l&255;j=l>>>8&255;i=l>>>16&255}}c[g>>2]=j<<8|i<<16|m|o<<24;if(!d)break;else{g=g+4|0;b=b+s|0}}d=c[a+28>>2]|0}e=r+(c[a+32>>2]|0)|0;b=d+-1|0;c[a+28>>2]=b;if(!d)break;r=e;g=e;d=c[a+24>>2]|0;e=p+t|0}c[a+20>>2]=e;return}function Zbb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=c[a+52>>2]|0;k=c[a+60>>2]|0;i=c[a+28>>2]|0;c[a+28>>2]=i+-1;if(!i)return;d=c[a>>2]|0;b=c[a+20>>2]|0;f=b;h=d;while(1){e=c[a+24>>2]|0;if(e|0)if(!(j&1)){i=e+-1|0;while(1){e=c[h>>2]|0;if(!(j&2))g=e>>>24;else g=((_(e>>>24,k>>>24)|0)>>>0)/255|0;c[f>>2]=e&65280|e<<16&16711680|e>>>16&255|g<<24;if(!i)break;else{i=i+-1|0;f=f+4|0;h=h+4|0}}}else if(!(j&2)){g=e+-1|0;e=h;while(1){i=c[e>>2]|0;c[f>>2]=(((_(i>>>8&255,k>>>8&255)|0)>>>0)/255|0)<<8|(((_(i&255,k&255)|0)>>>0)/255|0)<<16|(((_(i>>>16&255,k>>>16&255)|0)>>>0)/255|0)|i&-16777216;if(!g)break;else{g=g+-1|0;f=f+4|0;e=e+4|0}}}else{g=e+-1|0;e=h;while(1){i=c[e>>2]|0;c[f>>2]=(((_(i>>>8&255,k>>>8&255)|0)>>>0)/255|0)<<8|(((_(i&255,k&255)|0)>>>0)/255|0)<<16|(((_(i>>>16&255,k>>>16&255)|0)>>>0)/255|0)|(((_(i>>>24,k>>>24)|0)>>>0)/255|0)<<24;if(!g)break;else{g=g+-1|0;f=f+4|0;e=e+4|0}}}d=d+(c[a+12>>2]|0)|0;b=b+(c[a+32>>2]|0)|0;i=c[a+28>>2]|0;c[a+28>>2]=i+-1;if(!i)break;else{f=b;h=d}}c[a>>2]=d;c[a+20>>2]=b;return}function _bb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;n=c[a+52>>2]|0;r=c[a+60>>2]|0;o=c[a+28>>2]|0;p=(c[a+8>>2]<<16|0)/(o|0)|0;b=c[a+24>>2]|0;q=(c[a+4>>2]<<16|0)/(b|0)|0;c[a+28>>2]=o+-1;if(!o)return;f=c[a+20>>2]|0;o=f;d=0;e=0;while(1){if((d|0)>65535){l=d+-65536|0;m=l-(l>>>16<<16)|0;e=e+1+(l>>>16)|0}else m=d;d=b+-1|0;if(b|0)if(!(n&1)){j=f;b=65536;f=0;g=-1;while(1){if((b|0)>65535){h=b+-65536|0;g=g+1+(h>>>16)|0;h=h-(h>>>16<<16)|0;i=(c[a>>2]|0)+(_(c[a+12>>2]|0,e)|0)+(g<<2)|0}else{h=b;i=f}b=c[i>>2]|0;if(!(n&2))f=b>>>24;else f=((_(b>>>24,r>>>24)|0)>>>0)/255|0;c[j>>2]=b>>>16&255|b&65280|b<<16&16711680|f<<24;if(!d)break;else{d=d+-1|0;j=j+4|0;b=h+q|0;f=i}}}else{l=f;b=65536;f=0;g=-1;while(1){if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;f=(c[a>>2]|0)+(_(c[a+12>>2]|0,e)|0)+(g<<2)|0}h=c[f>>2]|0;i=((_(h&255,r&255)|0)>>>0)/255|0;j=((_(h>>>8&255,r>>>8&255)|0)>>>0)/255|0;k=((_(h>>>16&255,r>>>16&255)|0)>>>0)/255|0;if(!(n&2))h=h>>>24;else h=((_(h>>>24,r>>>24)|0)>>>0)/255|0;c[l>>2]=k|j<<8|i<<16|h<<24;if(!d)break;else{d=d+-1|0;l=l+4|0;b=b+q|0}}}b=o+(c[a+32>>2]|0)|0;o=c[a+28>>2]|0;c[a+28>>2]=o+-1;if(!o)break;o=b;f=b;b=c[a+24>>2]|0;d=m+p|0}c[a+20>>2]=b;return}function $bb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;o=c[a+52>>2]|0;p=c[a+60>>2]|0;b=c[a+28>>2]|0;c[a+28>>2]=b+-1;if(!b)return;d=c[a>>2]|0;n=c[a+20>>2]|0;f=b+-1|0;g=n;h=d;b=n;while(1){e=c[a+24>>2]|0;if(!e)e=f;else{while(1){e=e+-1|0;f=c[h>>2]|0;n=c[g>>2]|0;if(!(o&1)){i=f>>>16&255;j=f>>>8&255;k=f&255}else{i=((_(f>>>16&255,p>>>16&255)|0)>>>0)/255|0;j=((_(f>>>8&255,p>>>8&255)|0)>>>0)/255|0;k=((_(f&255,p&255)|0)>>>0)/255|0}if(!(o&2))f=f>>>24;else f=((_(f>>>24,p>>>24)|0)>>>0)/255|0;if((o&48|0)!=0&f>>>0<255){i=((_(f,i)|0)>>>0)/255|0;l=((_(f,j)|0)>>>0)/255|0;m=((_(f,k)|0)>>>0)/255|0}else{l=j;m=k}switch(o&112|0){case 16:{q=255-f|0;k=(((_(q,n>>>24)|0)>>>0)/255|0)+f|0;j=i+(((_(q,n&255)|0)>>>0)/255|0)|0;i=l+(((_(q,n>>>8&255)|0)>>>0)/255|0)|0;f=m+(((_(q,n>>>16&255)|0)>>>0)/255|0)|0;break}case 32:{f=m+(n>>>16&255)|0;q=l+(n>>>8&255)|0;j=i+(n&255)|0;k=n>>>24;j=j>>>0>255?255:j;i=q>>>0>255?255:q;f=f>>>0>255?255:f;break}case 64:{k=n>>>24;j=((_(i,n&255)|0)>>>0)/255|0;i=((_(l,n>>>8&255)|0)>>>0)/255|0;f=((_(m,n>>>16&255)|0)>>>0)/255|0;break}default:{k=n>>>24;j=n&255;i=n>>>8&255;f=n>>>16&255}}c[g>>2]=i<<8|f<<16|j|k<<24;if(!e)break;else{g=g+4|0;h=h+4|0}}e=c[a+28>>2]|0}d=d+(c[a+12>>2]|0)|0;b=b+(c[a+32>>2]|0)|0;f=e+-1|0;c[a+28>>2]=f;if(!e)break;else{g=b;h=d}}c[a>>2]=d;c[a+20>>2]=b;return}function acb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;q=c[a+52>>2]|0;u=c[a+60>>2]|0;b=c[a+28>>2]|0;s=(c[a+8>>2]<<16|0)/(b|0)|0;d=c[a+24>>2]|0;t=(c[a+4>>2]<<16|0)/(d|0)|0;c[a+28>>2]=b+-1;if(!b)return;g=c[a+20>>2]|0;r=g;b=b+-1|0;e=0;f=0;while(1){if((e|0)>65535){o=e+-65536|0;p=o-(o>>>16<<16)|0;f=f+1+(o>>>16)|0}else p=e;if(!d)d=b;else{b=65536;e=0;h=-1;while(1){d=d+-1|0;if((b|0)>65535){b=b+-65536|0;h=h+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(c[a>>2]|0)+(_(c[a+12>>2]|0,f)|0)+(h<<2)|0}i=c[e>>2]|0;o=c[g>>2]|0;if(!(q&1)){j=i>>>16&255;k=i>>>8&255;l=i&255}else{j=((_(i>>>16&255,u>>>16&255)|0)>>>0)/255|0;k=((_(i>>>8&255,u>>>8&255)|0)>>>0)/255|0;l=((_(i&255,u&255)|0)>>>0)/255|0}if(!(q&2))i=i>>>24;else i=((_(i>>>24,u>>>24)|0)>>>0)/255|0;if((q&48|0)!=0&i>>>0<255){j=((_(i,j)|0)>>>0)/255|0;m=((_(i,k)|0)>>>0)/255|0;n=((_(i,l)|0)>>>0)/255|0}else{m=k;n=l}switch(q&112|0){case 16:{v=255-i|0;l=(((_(v,o>>>24)|0)>>>0)/255|0)+i|0;k=j+(((_(v,o&255)|0)>>>0)/255|0)|0;j=m+(((_(v,o>>>8&255)|0)>>>0)/255|0)|0;i=n+(((_(v,o>>>16&255)|0)>>>0)/255|0)|0;break}case 32:{i=n+(o>>>16&255)|0;v=m+(o>>>8&255)|0;k=j+(o&255)|0;l=o>>>24;k=k>>>0>255?255:k;j=v>>>0>255?255:v;i=i>>>0>255?255:i;break}case 64:{l=o>>>24;k=((_(j,o&255)|0)>>>0)/255|0;j=((_(m,o>>>8&255)|0)>>>0)/255|0;i=((_(n,o>>>16&255)|0)>>>0)/255|0;break}default:{l=o>>>24;k=o&255;j=o>>>8&255;i=o>>>16&255}}c[g>>2]=j<<8|i<<16|k|l<<24;if(!d)break;else{g=g+4|0;b=b+t|0}}d=c[a+28>>2]|0}e=r+(c[a+32>>2]|0)|0;b=d+-1|0;c[a+28>>2]=b;if(!d)break;r=e;g=e;d=c[a+24>>2]|0;e=p+s|0}c[a+20>>2]=e;return}function bcb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=c[a+28>>2]|0;l=(c[a+8>>2]<<16|0)/(d|0)|0;b=c[a+24>>2]|0;k=(c[a+4>>2]<<16|0)/(b|0)|0;c[a+28>>2]=d+-1;if(!d)return;g=c[a+20>>2]|0;j=g;d=d+-1|0;e=0;f=0;while(1){if((e|0)>65535){i=e+-65536|0;e=i-(i>>>16<<16)|0;f=f+1+(i>>>16)|0}if(!b)b=d;else{d=65536;h=0;i=-1;while(1){b=b+-1|0;if((d|0)>65535){d=d+-65536|0;i=i+1+(d>>>16)|0;d=d-(d>>>16<<16)|0;h=(c[a>>2]|0)+(_(c[a+12>>2]|0,f)|0)+(i<<2)|0}m=c[h>>2]|0;c[g>>2]=m>>>8&65280|m>>>24|m<<8&16711680;if(!b)break;else{g=g+4|0;d=d+k|0}}b=c[a+28>>2]|0}g=j+(c[a+32>>2]|0)|0;d=b+-1|0;c[a+28>>2]=d;if(!b)break;b=c[a+24>>2]|0;j=g;e=e+l|0}c[a+20>>2]=g;return}function ccb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;l=c[a+52>>2]|0;n=c[a+28>>2]|0;c[a+28>>2]=n+-1;if(!n)return;d=c[a>>2]|0;b=c[a+20>>2]|0;m=d;n=b;while(1){e=c[a+24>>2]|0;a:do if(e|0){if(!(l&48)){i=e+-1|0;while(1){e=c[d>>2]|0;f=c[b>>2]|0;switch(l&112|0){case 16:{g=(e>>>24)+(((_(e&255^255,f&255)|0)>>>0)/255|0)|0;h=(e>>>16&255)+(((_(f>>>8&255,e&255^255)|0)>>>0)/255|0)|0;e=(e>>>8&255)+(((_(f>>>16&255,e&255^255)|0)>>>0)/255|0)|0;break}case 32:{g=((e>>>24)+(f&255)|0)>>>0>255?255:(e>>>24)+(f&255)|0;h=((e>>>16&255)+(f>>>8&255)|0)>>>0>255?255:(e>>>16&255)+(f>>>8&255)|0;e=((e>>>8&255)+(f>>>16&255)|0)>>>0>255?255:(e>>>8&255)+(f>>>16&255)|0;break}case 64:{g=((_(e>>>24,f&255)|0)>>>0)/255|0;h=((_(e>>>16&255,f>>>8&255)|0)>>>0)/255|0;e=((_(e>>>8&255,f>>>16&255)|0)>>>0)/255|0;break}default:{g=f&255;h=f>>>8&255;e=f>>>16&255}}c[b>>2]=h<<8|e<<16|g;if(!i)break a;else{i=i+-1|0;b=b+4|0;d=d+4|0}}}else k=e+-1|0;while(1){g=c[d>>2]|0;h=c[b>>2]|0;if((g&255|0)==255){e=g>>>24;f=g>>>16&255;j=g>>>8&255}else{e=((_(g>>>24,g&255)|0)>>>0)/255|0;f=((_(g>>>16&255,g&255)|0)>>>0)/255|0;j=((_(g>>>8&255,g&255)|0)>>>0)/255|0}switch(l&112|0){case 16:{i=e+(((_(g&255^255,h&255)|0)>>>0)/255|0)|0;f=f+(((_(h>>>8&255,g&255^255)|0)>>>0)/255|0)|0;e=j+(((_(h>>>16&255,g&255^255)|0)>>>0)/255|0)|0;break}case 32:{j=j+(h>>>16&255)|0;f=f+(h>>>8&255)|0;i=e+(h&255)|0;i=i>>>0>255?255:i;f=f>>>0>255?255:f;e=j>>>0>255?255:j;break}case 64:{i=((_(e,h&255)|0)>>>0)/255|0;f=((_(f,h>>>8&255)|0)>>>0)/255|0;e=((_(j,h>>>16&255)|0)>>>0)/255|0;break}default:{i=h&255;f=h>>>8&255;e=h>>>16&255}}c[b>>2]=f<<8|e<<16|i;if(!k)break a;else{k=k+-1|0;b=b+4|0;d=d+4|0}}}while(0);d=m+(c[a+12>>2]|0)|0;b=n+(c[a+32>>2]|0)|0;n=c[a+28>>2]|0;c[a+28>>2]=n+-1;if(!n)break;else{m=d;n=b}}c[a>>2]=d;c[a+20>>2]=b;return}function dcb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;q=c[a+52>>2]|0;b=c[a+28>>2]|0;s=(c[a+8>>2]<<16|0)/(b|0)|0;d=c[a+24>>2]|0;r=(c[a+4>>2]<<16|0)/(d|0)|0;c[a+28>>2]=b+-1;if(!b)return;p=c[a+20>>2]|0;b=b+-1|0;h=p;e=0;f=0;while(1){if((e|0)>65535){o=e+-65536|0;e=o-(o>>>16<<16)|0;f=f+1+(o>>>16)|0}if(!d)d=b;else{o=h;b=65536;g=0;h=-1;while(1){d=d+-1|0;if((b|0)>65535){b=b+-65536|0;h=h+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;g=(c[a>>2]|0)+(_(c[a+12>>2]|0,f)|0)+(h<<2)|0}k=c[g>>2]|0;l=c[o>>2]|0;if((q&48|0)!=0&(k&255|0)!=255){i=((_(k>>>24,k&255)|0)>>>0)/255|0;j=((_(k>>>16&255,k&255)|0)>>>0)/255|0;n=((_(k>>>8&255,k&255)|0)>>>0)/255|0}else{i=k>>>24;j=k>>>16&255;n=k>>>8&255}switch(q&112|0){case 16:{m=i+(((_(k&255^255,l&255)|0)>>>0)/255|0)|0;j=j+(((_(l>>>8&255,k&255^255)|0)>>>0)/255|0)|0;i=n+(((_(l>>>16&255,k&255^255)|0)>>>0)/255|0)|0;break}case 32:{n=n+(l>>>16&255)|0;j=j+(l>>>8&255)|0;m=i+(l&255)|0;m=m>>>0>255?255:m;j=j>>>0>255?255:j;i=n>>>0>255?255:n;break}case 64:{m=((_(i,l&255)|0)>>>0)/255|0;j=((_(j,l>>>8&255)|0)>>>0)/255|0;i=((_(n,l>>>16&255)|0)>>>0)/255|0;break}default:{m=l&255;j=l>>>8&255;i=l>>>16&255}}c[o>>2]=j<<8|i<<16|m;if(!d)break;else{o=o+4|0;b=b+r|0}}d=c[a+28>>2]|0}g=p+(c[a+32>>2]|0)|0;b=d+-1|0;c[a+28>>2]=b;if(!d)break;h=g;d=c[a+24>>2]|0;p=g;e=e+s|0}c[a+20>>2]=g;return}function ecb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=c[a+52>>2]|0;j=c[a+60>>2]|0;d=c[a+28>>2]|0;c[a+28>>2]=d+-1;if(!d)return;g=c[a>>2]|0;e=c[a+20>>2]|0;if(!(b&1)){h=g;i=e;f=d+-1|0;b=e;d=g;while(1){e=c[a+24>>2]|0;if(!e)e=f;else{while(1){e=e+-1|0;j=c[d>>2]|0;c[b>>2]=j>>>8&65280|j<<8&16711680|j>>>24;if(!e)break;else{b=b+4|0;d=d+4|0}}e=c[a+28>>2]|0}d=h+(c[a+12>>2]|0)|0;b=i+(c[a+32>>2]|0)|0;f=e+-1|0;c[a+28>>2]=f;if(!e)break;else{h=d;i=b}}c[a>>2]=d;c[a+20>>2]=b;return}else{h=g;i=e;f=d+-1|0;b=e;d=g;while(1){e=c[a+24>>2]|0;if(!e)e=f;else{while(1){e=e+-1|0;g=c[d>>2]|0;c[b>>2]=(((_(g>>>16&255,j>>>8&255)|0)>>>0)/255|0)<<8|(((_(g>>>8&255,j&255)|0)>>>0)/255|0)<<16|(((_(g>>>24,j>>>16&255)|0)>>>0)/255|0);if(!e)break;else{b=b+4|0;d=d+4|0}}e=c[a+28>>2]|0}d=h+(c[a+12>>2]|0)|0;b=i+(c[a+32>>2]|0)|0;f=e+-1|0;c[a+28>>2]=f;if(!e)break;else{h=d;i=b}}c[a>>2]=d;c[a+20>>2]=b;return}}function fcb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;j=c[a+52>>2]|0;n=c[a+60>>2]|0;k=c[a+28>>2]|0;l=(c[a+8>>2]<<16|0)/(k|0)|0;b=c[a+24>>2]|0;m=(c[a+4>>2]<<16|0)/(b|0)|0;c[a+28>>2]=k+-1;if(!k)return;f=c[a+20>>2]|0;k=f;d=0;e=0;while(1){if((d|0)>65535){h=d+-65536|0;i=h-(h>>>16<<16)|0;e=e+1+(h>>>16)|0}else i=d;d=b+-1|0;if(b|0)if(!(j&1)){h=f;b=65536;f=0;g=-1;while(1){if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;f=(c[a>>2]|0)+(_(c[a+12>>2]|0,e)|0)+(g<<2)|0}o=c[f>>2]|0;c[h>>2]=o>>>24|o>>>8&65280|o<<8&16711680;if(!d)break;else{d=d+-1|0;h=h+4|0;b=b+m|0}}}else{h=f;b=65536;f=0;g=-1;while(1){if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;f=(c[a>>2]|0)+(_(c[a+12>>2]|0,e)|0)+(g<<2)|0}o=c[f>>2]|0;c[h>>2]=((_(o>>>24,n>>>16&255)|0)>>>0)/255|0|(((_(o>>>16&255,n>>>8&255)|0)>>>0)/255|0)<<8|(((_(o>>>8&255,n&255)|0)>>>0)/255|0)<<16;if(!d)break;else{d=d+-1|0;h=h+4|0;b=b+m|0}}}b=k+(c[a+32>>2]|0)|0;o=c[a+28>>2]|0;c[a+28>>2]=o+-1;if(!o)break;k=b;f=b;b=c[a+24>>2]|0;d=i+l|0}c[a+20>>2]=b;return}function gcb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;l=c[a+52>>2]|0;m=c[a+60>>2]|0;b=c[a+28>>2]|0;c[a+28>>2]=b+-1;if(!b)return;d=c[a>>2]|0;k=c[a+20>>2]|0;n=d;o=k;f=b+-1|0;b=k;while(1){e=c[a+24>>2]|0;if(!e)e=f;else{while(1){e=e+-1|0;f=c[d>>2]|0;k=c[b>>2]|0;if(!(l&1)){g=f>>>24;h=f>>>16&255;i=f>>>8&255}else{g=((_(f>>>24,m>>>16&255)|0)>>>0)/255|0;h=((_(f>>>16&255,m>>>8&255)|0)>>>0)/255|0;i=((_(f>>>8&255,m&255)|0)>>>0)/255|0}if(!(l&2))j=f&255;else j=((_(f&255,m>>>24)|0)>>>0)/255|0;if((l&48|0)!=0&j>>>0<255){g=((_(j,g)|0)>>>0)/255|0;f=((_(j,h)|0)>>>0)/255|0;i=((_(j,i)|0)>>>0)/255|0}else f=h;switch(l&112|0){case 16:{j=255-j|0;h=g+(((_(j,k&255)|0)>>>0)/255|0)|0;g=f+(((_(j,k>>>8&255)|0)>>>0)/255|0)|0;f=i+(((_(j,k>>>16&255)|0)>>>0)/255|0)|0;break}case 32:{j=i+(k>>>16&255)|0;f=f+(k>>>8&255)|0;h=g+(k&255)|0;h=h>>>0>255?255:h;g=f>>>0>255?255:f;f=j>>>0>255?255:j;break}case 64:{h=((_(g,k&255)|0)>>>0)/255|0;g=((_(f,k>>>8&255)|0)>>>0)/255|0;f=((_(i,k>>>16&255)|0)>>>0)/255|0;break}default:{h=k&255;g=k>>>8&255;f=k>>>16&255}}c[b>>2]=g<<8|f<<16|h;if(!e)break;else{b=b+4|0;d=d+4|0}}e=c[a+28>>2]|0}d=n+(c[a+12>>2]|0)|0;b=o+(c[a+32>>2]|0)|0;f=e+-1|0;c[a+28>>2]=f;if(!e)break;else{n=d;o=b}}c[a>>2]=d;c[a+20>>2]=b;return}function hcb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;p=c[a+52>>2]|0;t=c[a+60>>2]|0;b=c[a+28>>2]|0;r=(c[a+8>>2]<<16|0)/(b|0)|0;d=c[a+24>>2]|0;s=(c[a+4>>2]<<16|0)/(d|0)|0;c[a+28>>2]=b+-1;if(!b)return;g=c[a+20>>2]|0;q=g;b=b+-1|0;e=0;f=0;while(1){if((e|0)>65535){n=e+-65536|0;o=n-(n>>>16<<16)|0;f=f+1+(n>>>16)|0}else o=e;if(!d)d=b;else{b=65536;e=0;h=-1;while(1){d=d+-1|0;if((b|0)>65535){b=b+-65536|0;h=h+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(c[a>>2]|0)+(_(c[a+12>>2]|0,f)|0)+(h<<2)|0}i=c[e>>2]|0;n=c[g>>2]|0;if(!(p&1)){j=i>>>24;k=i>>>16&255;l=i>>>8&255}else{j=((_(i>>>24,t>>>16&255)|0)>>>0)/255|0;k=((_(i>>>16&255,t>>>8&255)|0)>>>0)/255|0;l=((_(i>>>8&255,t&255)|0)>>>0)/255|0}if(!(p&2))m=i&255;else m=((_(i&255,t>>>24)|0)>>>0)/255|0;if((p&48|0)!=0&m>>>0<255){j=((_(m,j)|0)>>>0)/255|0;i=((_(m,k)|0)>>>0)/255|0;l=((_(m,l)|0)>>>0)/255|0}else i=k;switch(p&112|0){case 16:{m=255-m|0;k=j+(((_(m,n&255)|0)>>>0)/255|0)|0;j=i+(((_(m,n>>>8&255)|0)>>>0)/255|0)|0;i=l+(((_(m,n>>>16&255)|0)>>>0)/255|0)|0;break}case 32:{m=l+(n>>>16&255)|0;i=i+(n>>>8&255)|0;k=j+(n&255)|0;k=k>>>0>255?255:k;j=i>>>0>255?255:i;i=m>>>0>255?255:m;break}case 64:{k=((_(j,n&255)|0)>>>0)/255|0;j=((_(i,n>>>8&255)|0)>>>0)/255|0;i=((_(l,n>>>16&255)|0)>>>0)/255|0;break}default:{k=n&255;j=n>>>8&255;i=n>>>16&255}}c[g>>2]=j<<8|i<<16|k;if(!d)break;else{g=g+4|0;b=b+s|0}}d=c[a+28>>2]|0}e=q+(c[a+32>>2]|0)|0;b=d+-1|0;c[a+28>>2]=b;if(!d)break;q=e;g=e;d=c[a+24>>2]|0;e=o+r|0}c[a+20>>2]=e;return}function icb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=c[a+28>>2]|0;l=(c[a+8>>2]<<16|0)/(d|0)|0;b=c[a+24>>2]|0;k=(c[a+4>>2]<<16|0)/(b|0)|0;c[a+28>>2]=d+-1;if(!d)return;g=c[a+20>>2]|0;j=g;d=d+-1|0;e=0;f=0;while(1){if((e|0)>65535){i=e+-65536|0;e=i-(i>>>16<<16)|0;f=f+1+(i>>>16)|0}if(!b)b=d;else{d=65536;h=0;i=-1;while(1){b=b+-1|0;if((d|0)>65535){d=d+-65536|0;i=i+1+(d>>>16)|0;d=d-(d>>>16<<16)|0;h=(c[a>>2]|0)+(_(c[a+12>>2]|0,f)|0)+(i<<2)|0}m=c[h>>2]|0;c[g>>2]=m>>>24<<16|m>>>8&65280|m>>>8&255;if(!b)break;else{g=g+4|0;d=d+k|0}}b=c[a+28>>2]|0}g=j+(c[a+32>>2]|0)|0;d=b+-1|0;c[a+28>>2]=d;if(!b)break;b=c[a+24>>2]|0;j=g;e=e+l|0}c[a+20>>2]=g;return}function jcb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;l=c[a+52>>2]|0;n=c[a+28>>2]|0;c[a+28>>2]=n+-1;if(!n)return;d=c[a>>2]|0;b=c[a+20>>2]|0;m=d;n=b;while(1){e=c[a+24>>2]|0;a:do if(e|0){if(!(l&48)){i=e+-1|0;while(1){e=c[d>>2]|0;f=c[b>>2]|0;switch(l&112|0){case 16:{g=(e>>>24)+(((_(f>>>16&255,e&255^255)|0)>>>0)/255|0)|0;h=(e>>>16&255)+(((_(f>>>8&255,e&255^255)|0)>>>0)/255|0)|0;e=(e>>>8&255)+(((_(e&255^255,f&255)|0)>>>0)/255|0)|0;break}case 32:{g=((e>>>24)+(f>>>16&255)|0)>>>0>255?255:(e>>>24)+(f>>>16&255)|0;h=((e>>>16&255)+(f>>>8&255)|0)>>>0>255?255:(e>>>16&255)+(f>>>8&255)|0;e=((e>>>8&255)+(f&255)|0)>>>0>255?255:(e>>>8&255)+(f&255)|0;break}case 64:{g=((_(e>>>24,f>>>16&255)|0)>>>0)/255|0;h=((_(e>>>16&255,f>>>8&255)|0)>>>0)/255|0;e=((_(e>>>8&255,f&255)|0)>>>0)/255|0;break}default:{g=f>>>16&255;h=f>>>8&255;e=f&255}}c[b>>2]=h<<8|e|g<<16;if(!i)break a;else{i=i+-1|0;b=b+4|0;d=d+4|0}}}else k=e+-1|0;while(1){g=c[d>>2]|0;h=c[b>>2]|0;if((g&255|0)==255){e=g>>>24;f=g>>>16&255;j=g>>>8&255}else{e=((_(g>>>24,g&255)|0)>>>0)/255|0;f=((_(g>>>16&255,g&255)|0)>>>0)/255|0;j=((_(g>>>8&255,g&255)|0)>>>0)/255|0}switch(l&112|0){case 16:{i=e+(((_(h>>>16&255,g&255^255)|0)>>>0)/255|0)|0;f=f+(((_(h>>>8&255,g&255^255)|0)>>>0)/255|0)|0;e=j+(((_(g&255^255,h&255)|0)>>>0)/255|0)|0;break}case 32:{j=j+(h&255)|0;f=f+(h>>>8&255)|0;i=e+(h>>>16&255)|0;i=i>>>0>255?255:i;f=f>>>0>255?255:f;e=j>>>0>255?255:j;break}case 64:{i=((_(e,h>>>16&255)|0)>>>0)/255|0;f=((_(f,h>>>8&255)|0)>>>0)/255|0;e=((_(j,h&255)|0)>>>0)/255|0;break}default:{i=h>>>16&255;f=h>>>8&255;e=h&255}}c[b>>2]=f<<8|e|i<<16;if(!k)break a;else{k=k+-1|0;b=b+4|0;d=d+4|0}}}while(0);d=m+(c[a+12>>2]|0)|0;b=n+(c[a+32>>2]|0)|0;n=c[a+28>>2]|0;c[a+28>>2]=n+-1;if(!n)break;else{m=d;n=b}}c[a>>2]=d;c[a+20>>2]=b;return}function kcb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;q=c[a+52>>2]|0;b=c[a+28>>2]|0;s=(c[a+8>>2]<<16|0)/(b|0)|0;d=c[a+24>>2]|0;r=(c[a+4>>2]<<16|0)/(d|0)|0;c[a+28>>2]=b+-1;if(!b)return;p=c[a+20>>2]|0;b=b+-1|0;h=p;e=0;f=0;while(1){if((e|0)>65535){o=e+-65536|0;e=o-(o>>>16<<16)|0;f=f+1+(o>>>16)|0}if(!d)d=b;else{o=h;b=65536;g=0;h=-1;while(1){d=d+-1|0;if((b|0)>65535){b=b+-65536|0;h=h+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;g=(c[a>>2]|0)+(_(c[a+12>>2]|0,f)|0)+(h<<2)|0}k=c[g>>2]|0;l=c[o>>2]|0;if((q&48|0)!=0&(k&255|0)!=255){i=((_(k>>>24,k&255)|0)>>>0)/255|0;j=((_(k>>>16&255,k&255)|0)>>>0)/255|0;n=((_(k>>>8&255,k&255)|0)>>>0)/255|0}else{i=k>>>24;j=k>>>16&255;n=k>>>8&255}switch(q&112|0){case 16:{m=i+(((_(l>>>16&255,k&255^255)|0)>>>0)/255|0)|0;j=j+(((_(l>>>8&255,k&255^255)|0)>>>0)/255|0)|0;i=n+(((_(k&255^255,l&255)|0)>>>0)/255|0)|0;break}case 32:{n=n+(l&255)|0;j=j+(l>>>8&255)|0;m=i+(l>>>16&255)|0;m=m>>>0>255?255:m;j=j>>>0>255?255:j;i=n>>>0>255?255:n;break}case 64:{m=((_(i,l>>>16&255)|0)>>>0)/255|0;j=((_(j,l>>>8&255)|0)>>>0)/255|0;i=((_(n,l&255)|0)>>>0)/255|0;break}default:{m=l>>>16&255;j=l>>>8&255;i=l&255}}c[o>>2]=j<<8|i|m<<16;if(!d)break;else{o=o+4|0;b=b+r|0}}d=c[a+28>>2]|0}g=p+(c[a+32>>2]|0)|0;b=d+-1|0;c[a+28>>2]=b;if(!d)break;h=g;d=c[a+24>>2]|0;p=g;e=e+s|0}c[a+20>>2]=g;return}function lcb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=c[a+52>>2]|0;j=c[a+60>>2]|0;d=c[a+28>>2]|0;c[a+28>>2]=d+-1;if(!d)return;g=c[a>>2]|0;e=c[a+20>>2]|0;if(!(b&1)){h=g;i=e;f=d+-1|0;b=e;d=g;while(1){e=c[a+24>>2]|0;if(!e)e=f;else{while(1){e=e+-1|0;j=c[d>>2]|0;c[b>>2]=j>>>8&65535|j>>>24<<16;if(!e)break;else{b=b+4|0;d=d+4|0}}e=c[a+28>>2]|0}d=h+(c[a+12>>2]|0)|0;b=i+(c[a+32>>2]|0)|0;f=e+-1|0;c[a+28>>2]=f;if(!e)break;else{h=d;i=b}}c[a>>2]=d;c[a+20>>2]=b;return}else{h=g;i=e;f=d+-1|0;b=e;d=g;while(1){e=c[a+24>>2]|0;if(!e)e=f;else{while(1){e=e+-1|0;g=c[d>>2]|0;c[b>>2]=(((_(g>>>16&255,j>>>8&255)|0)>>>0)/255|0)<<8|(((_(g>>>8&255,j&255)|0)>>>0)/255|0)|(((_(g>>>24,j>>>16&255)|0)>>>0)/255|0)<<16;if(!e)break;else{b=b+4|0;d=d+4|0}}e=c[a+28>>2]|0}d=h+(c[a+12>>2]|0)|0;b=i+(c[a+32>>2]|0)|0;f=e+-1|0;c[a+28>>2]=f;if(!e)break;else{h=d;i=b}}c[a>>2]=d;c[a+20>>2]=b;return}}function mcb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;j=c[a+52>>2]|0;n=c[a+60>>2]|0;k=c[a+28>>2]|0;l=(c[a+8>>2]<<16|0)/(k|0)|0;b=c[a+24>>2]|0;m=(c[a+4>>2]<<16|0)/(b|0)|0;c[a+28>>2]=k+-1;if(!k)return;f=c[a+20>>2]|0;k=f;d=0;e=0;while(1){if((d|0)>65535){h=d+-65536|0;i=h-(h>>>16<<16)|0;e=e+1+(h>>>16)|0}else i=d;d=b+-1|0;if(b|0)if(!(j&1)){h=f;b=65536;f=0;g=-1;while(1){if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;f=(c[a>>2]|0)+(_(c[a+12>>2]|0,e)|0)+(g<<2)|0}o=c[f>>2]|0;c[h>>2]=o>>>24<<16|o>>>8&65280|o>>>8&255;if(!d)break;else{d=d+-1|0;h=h+4|0;b=b+m|0}}}else{h=f;b=65536;f=0;g=-1;while(1){if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;f=(c[a>>2]|0)+(_(c[a+12>>2]|0,e)|0)+(g<<2)|0}o=c[f>>2]|0;c[h>>2]=(((_(o>>>24,n>>>16&255)|0)>>>0)/255|0)<<16|(((_(o>>>16&255,n>>>8&255)|0)>>>0)/255|0)<<8|(((_(o>>>8&255,n&255)|0)>>>0)/255|0);if(!d)break;else{d=d+-1|0;h=h+4|0;b=b+m|0}}}b=k+(c[a+32>>2]|0)|0;o=c[a+28>>2]|0;c[a+28>>2]=o+-1;if(!o)break;k=b;f=b;b=c[a+24>>2]|0;d=i+l|0}c[a+20>>2]=b;return}function ncb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;l=c[a+52>>2]|0;m=c[a+60>>2]|0;b=c[a+28>>2]|0;c[a+28>>2]=b+-1;if(!b)return;d=c[a>>2]|0;k=c[a+20>>2]|0;n=d;o=k;f=b+-1|0;b=k;while(1){e=c[a+24>>2]|0;if(!e)e=f;else{while(1){e=e+-1|0;f=c[d>>2]|0;k=c[b>>2]|0;if(!(l&1)){g=f>>>24;h=f>>>16&255;i=f>>>8&255}else{g=((_(f>>>24,m>>>16&255)|0)>>>0)/255|0;h=((_(f>>>16&255,m>>>8&255)|0)>>>0)/255|0;i=((_(f>>>8&255,m&255)|0)>>>0)/255|0}if(!(l&2))j=f&255;else j=((_(f&255,m>>>24)|0)>>>0)/255|0;if((l&48|0)!=0&j>>>0<255){g=((_(j,g)|0)>>>0)/255|0;f=((_(j,h)|0)>>>0)/255|0;i=((_(j,i)|0)>>>0)/255|0}else f=h;switch(l&112|0){case 16:{j=255-j|0;h=g+(((_(j,k>>>16&255)|0)>>>0)/255|0)|0;g=f+(((_(j,k>>>8&255)|0)>>>0)/255|0)|0;f=i+(((_(j,k&255)|0)>>>0)/255|0)|0;break}case 32:{j=i+(k&255)|0;f=f+(k>>>8&255)|0;h=g+(k>>>16&255)|0;h=h>>>0>255?255:h;g=f>>>0>255?255:f;f=j>>>0>255?255:j;break}case 64:{h=((_(g,k>>>16&255)|0)>>>0)/255|0;g=((_(f,k>>>8&255)|0)>>>0)/255|0;f=((_(i,k&255)|0)>>>0)/255|0;break}default:{h=k>>>16&255;g=k>>>8&255;f=k&255}}c[b>>2]=g<<8|f|h<<16;if(!e)break;else{b=b+4|0;d=d+4|0}}e=c[a+28>>2]|0}d=n+(c[a+12>>2]|0)|0;b=o+(c[a+32>>2]|0)|0;f=e+-1|0;c[a+28>>2]=f;if(!e)break;else{n=d;o=b}}c[a>>2]=d;c[a+20>>2]=b;return}function ocb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;p=c[a+52>>2]|0;t=c[a+60>>2]|0;b=c[a+28>>2]|0;r=(c[a+8>>2]<<16|0)/(b|0)|0;d=c[a+24>>2]|0;s=(c[a+4>>2]<<16|0)/(d|0)|0;c[a+28>>2]=b+-1;if(!b)return;g=c[a+20>>2]|0;q=g;b=b+-1|0;e=0;f=0;while(1){if((e|0)>65535){n=e+-65536|0;o=n-(n>>>16<<16)|0;f=f+1+(n>>>16)|0}else o=e;if(!d)d=b;else{b=65536;e=0;h=-1;while(1){d=d+-1|0;if((b|0)>65535){b=b+-65536|0;h=h+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(c[a>>2]|0)+(_(c[a+12>>2]|0,f)|0)+(h<<2)|0}i=c[e>>2]|0;n=c[g>>2]|0;if(!(p&1)){j=i>>>24;k=i>>>16&255;l=i>>>8&255}else{j=((_(i>>>24,t>>>16&255)|0)>>>0)/255|0;k=((_(i>>>16&255,t>>>8&255)|0)>>>0)/255|0;l=((_(i>>>8&255,t&255)|0)>>>0)/255|0}if(!(p&2))m=i&255;else m=((_(i&255,t>>>24)|0)>>>0)/255|0;if((p&48|0)!=0&m>>>0<255){j=((_(m,j)|0)>>>0)/255|0;i=((_(m,k)|0)>>>0)/255|0;l=((_(m,l)|0)>>>0)/255|0}else i=k;switch(p&112|0){case 16:{m=255-m|0;k=j+(((_(m,n>>>16&255)|0)>>>0)/255|0)|0;j=i+(((_(m,n>>>8&255)|0)>>>0)/255|0)|0;i=l+(((_(m,n&255)|0)>>>0)/255|0)|0;break}case 32:{m=l+(n&255)|0;i=i+(n>>>8&255)|0;k=j+(n>>>16&255)|0;k=k>>>0>255?255:k;j=i>>>0>255?255:i;i=m>>>0>255?255:m;break}case 64:{k=((_(j,n>>>16&255)|0)>>>0)/255|0;j=((_(i,n>>>8&255)|0)>>>0)/255|0;i=((_(l,n&255)|0)>>>0)/255|0;break}default:{k=n>>>16&255;j=n>>>8&255;i=n&255}}c[g>>2]=j<<8|i|k<<16;if(!d)break;else{g=g+4|0;b=b+s|0}}d=c[a+28>>2]|0}e=q+(c[a+32>>2]|0)|0;b=d+-1|0;c[a+28>>2]=b;if(!d)break;q=e;g=e;d=c[a+24>>2]|0;e=o+r|0}c[a+20>>2]=e;return}function pcb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=c[a+28>>2]|0;l=(c[a+8>>2]<<16|0)/(d|0)|0;b=c[a+24>>2]|0;k=(c[a+4>>2]<<16|0)/(b|0)|0;c[a+28>>2]=d+-1;if(!d)return;g=c[a+20>>2]|0;j=g;d=d+-1|0;e=0;f=0;while(1){if((e|0)>65535){i=e+-65536|0;e=i-(i>>>16<<16)|0;f=f+1+(i>>>16)|0}if(!b)b=d;else{d=65536;h=0;i=-1;while(1){b=b+-1|0;if((d|0)>65535){d=d+-65536|0;i=i+1+(d>>>16)|0;d=d-(d>>>16<<16)|0;h=(c[a>>2]|0)+(_(c[a+12>>2]|0,f)|0)+(i<<2)|0}c[g>>2]=gBb(c[h>>2]|0)|0;if(!b)break;else{g=g+4|0;d=d+k|0}}b=c[a+28>>2]|0}g=j+(c[a+32>>2]|0)|0;d=b+-1|0;c[a+28>>2]=d;if(!b)break;b=c[a+24>>2]|0;j=g;e=e+l|0}c[a+20>>2]=g;return}function qcb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;m=c[a+52>>2]|0;o=c[a+28>>2]|0;c[a+28>>2]=o+-1;if(!o)return;d=c[a>>2]|0;b=c[a+20>>2]|0;n=d;o=b;while(1){e=c[a+24>>2]|0;a:do if(e|0){if(!(m&48)){j=e+-1|0;while(1){e=c[d>>2]|0;f=c[b>>2]|0;switch(m&112|0){case 16:{g=(((_(e&255^255,f>>>24)|0)>>>0)/255|0)+(e&255)|0;h=(e>>>24)+(((_(e&255^255,f&255)|0)>>>0)/255|0)|0;i=(e>>>16&255)+(((_(f>>>8&255,e&255^255)|0)>>>0)/255|0)|0;e=(e>>>8&255)+(((_(f>>>16&255,e&255^255)|0)>>>0)/255|0)|0;break}case 32:{g=f>>>24;h=((e>>>24)+(f&255)|0)>>>0>255?255:(e>>>24)+(f&255)|0;i=((e>>>16&255)+(f>>>8&255)|0)>>>0>255?255:(e>>>16&255)+(f>>>8&255)|0;e=((e>>>8&255)+(f>>>16&255)|0)>>>0>255?255:(e>>>8&255)+(f>>>16&255)|0;break}case 64:{g=f>>>24;h=((_(e>>>24,f&255)|0)>>>0)/255|0;i=((_(e>>>16&255,f>>>8&255)|0)>>>0)/255|0;e=((_(e>>>8&255,f>>>16&255)|0)>>>0)/255|0;break}default:{g=f>>>24;h=f&255;i=f>>>8&255;e=f>>>16&255}}c[b>>2]=i<<8|e<<16|h|g<<24;if(!j)break a;else{j=j+-1|0;b=b+4|0;d=d+4|0}}}else l=e+-1|0;while(1){g=c[d>>2]|0;h=c[b>>2]|0;if((g&255|0)==255){e=g>>>24;f=g>>>16&255;j=g>>>8&255}else{e=((_(g>>>24,g&255)|0)>>>0)/255|0;f=((_(g>>>16&255,g&255)|0)>>>0)/255|0;j=((_(g>>>8&255,g&255)|0)>>>0)/255|0}switch(m&112|0){case 16:{k=(((_(g&255^255,h>>>24)|0)>>>0)/255|0)+(g&255)|0;i=e+(((_(g&255^255,h&255)|0)>>>0)/255|0)|0;f=f+(((_(h>>>8&255,g&255^255)|0)>>>0)/255|0)|0;e=j+(((_(h>>>16&255,g&255^255)|0)>>>0)/255|0)|0;break}case 32:{j=j+(h>>>16&255)|0;f=f+(h>>>8&255)|0;i=e+(h&255)|0;k=h>>>24;i=i>>>0>255?255:i;f=f>>>0>255?255:f;e=j>>>0>255?255:j;break}case 64:{k=h>>>24;i=((_(e,h&255)|0)>>>0)/255|0;f=((_(f,h>>>8&255)|0)>>>0)/255|0;e=((_(j,h>>>16&255)|0)>>>0)/255|0;break}default:{k=h>>>24;i=h&255;f=h>>>8&255;e=h>>>16&255}}c[b>>2]=f<<8|e<<16|i|k<<24;if(!l)break a;else{l=l+-1|0;b=b+4|0;d=d+4|0}}}while(0);d=n+(c[a+12>>2]|0)|0;b=o+(c[a+32>>2]|0)|0;o=c[a+28>>2]|0;c[a+28>>2]=o+-1;if(!o)break;else{n=d;o=b}}c[a>>2]=d;c[a+20>>2]=b;return}function rcb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;q=c[a+52>>2]|0;b=c[a+28>>2]|0;t=(c[a+8>>2]<<16|0)/(b|0)|0;d=c[a+24>>2]|0;s=(c[a+4>>2]<<16|0)/(d|0)|0;c[a+28>>2]=b+-1;if(!b)return;g=c[a+20>>2]|0;r=g;b=b+-1|0;e=0;f=0;while(1){if((e|0)>65535){o=e+-65536|0;p=o-(o>>>16<<16)|0;f=f+1+(o>>>16)|0}else p=e;if(!d)d=b;else{b=65536;e=0;h=-1;while(1){d=d+-1|0;if((b|0)>65535){b=b+-65536|0;h=h+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(c[a>>2]|0)+(_(c[a+12>>2]|0,f)|0)+(h<<2)|0}k=c[e>>2]|0;l=c[g>>2]|0;if((q&48|0)!=0&(k&255|0)!=255){i=((_(k>>>24,k&255)|0)>>>0)/255|0;j=((_(k>>>16&255,k&255)|0)>>>0)/255|0;n=((_(k>>>8&255,k&255)|0)>>>0)/255|0}else{i=k>>>24;j=k>>>16&255;n=k>>>8&255}switch(q&112|0){case 16:{o=(((_(k&255^255,l>>>24)|0)>>>0)/255|0)+(k&255)|0;m=i+(((_(k&255^255,l&255)|0)>>>0)/255|0)|0;j=j+(((_(l>>>8&255,k&255^255)|0)>>>0)/255|0)|0;i=n+(((_(l>>>16&255,k&255^255)|0)>>>0)/255|0)|0;break}case 32:{n=n+(l>>>16&255)|0;j=j+(l>>>8&255)|0;m=i+(l&255)|0;o=l>>>24;m=m>>>0>255?255:m;j=j>>>0>255?255:j;i=n>>>0>255?255:n;break}case 64:{o=l>>>24;m=((_(i,l&255)|0)>>>0)/255|0;j=((_(j,l>>>8&255)|0)>>>0)/255|0;i=((_(n,l>>>16&255)|0)>>>0)/255|0;break}default:{o=l>>>24;m=l&255;j=l>>>8&255;i=l>>>16&255}}c[g>>2]=j<<8|i<<16|m|o<<24;if(!d)break;else{g=g+4|0;b=b+s|0}}d=c[a+28>>2]|0}e=r+(c[a+32>>2]|0)|0;b=d+-1|0;c[a+28>>2]=b;if(!d)break;r=e;g=e;d=c[a+24>>2]|0;e=p+t|0}c[a+20>>2]=e;return}function scb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=c[a+52>>2]|0;k=c[a+60>>2]|0;i=c[a+28>>2]|0;c[a+28>>2]=i+-1;if(!i)return;d=c[a>>2]|0;b=c[a+20>>2]|0;f=b;h=d;while(1){e=c[a+24>>2]|0;if(e|0)if(!(j&1)){i=e+-1|0;while(1){e=c[h>>2]|0;if(!(j&2))g=e&255;else g=((_(e&255,k>>>24)|0)>>>0)/255|0;c[f>>2]=e>>>8&65280|e<<8&16711680|e>>>24|g<<24;if(!i)break;else{i=i+-1|0;f=f+4|0;h=h+4|0}}}else if(!(j&2)){g=e+-1|0;e=h;while(1){i=c[e>>2]|0;c[f>>2]=(((_(i>>>16&255,k>>>8&255)|0)>>>0)/255|0)<<8|(((_(i>>>8&255,k&255)|0)>>>0)/255|0)<<16|(((_(i>>>24,k>>>16&255)|0)>>>0)/255|0)|i<<24;if(!g)break;else{g=g+-1|0;f=f+4|0;e=e+4|0}}}else{g=e+-1|0;e=h;while(1){i=c[e>>2]|0;c[f>>2]=(((_(i>>>16&255,k>>>8&255)|0)>>>0)/255|0)<<8|(((_(i>>>8&255,k&255)|0)>>>0)/255|0)<<16|(((_(i>>>24,k>>>16&255)|0)>>>0)/255|0)|(((_(i&255,k>>>24)|0)>>>0)/255|0)<<24;if(!g)break;else{g=g+-1|0;f=f+4|0;e=e+4|0}}}d=d+(c[a+12>>2]|0)|0;b=b+(c[a+32>>2]|0)|0;i=c[a+28>>2]|0;c[a+28>>2]=i+-1;if(!i)break;else{f=b;h=d}}c[a>>2]=d;c[a+20>>2]=b;return}function tcb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;n=c[a+52>>2]|0;r=c[a+60>>2]|0;o=c[a+28>>2]|0;p=(c[a+8>>2]<<16|0)/(o|0)|0;b=c[a+24>>2]|0;q=(c[a+4>>2]<<16|0)/(b|0)|0;c[a+28>>2]=o+-1;if(!o)return;f=c[a+20>>2]|0;o=f;d=0;e=0;while(1){if((d|0)>65535){l=d+-65536|0;m=l-(l>>>16<<16)|0;e=e+1+(l>>>16)|0}else m=d;d=b+-1|0;if(b|0)if(!(n&1)){j=f;b=65536;f=0;g=-1;while(1){if((b|0)>65535){h=b+-65536|0;g=g+1+(h>>>16)|0;h=h-(h>>>16<<16)|0;i=(c[a>>2]|0)+(_(c[a+12>>2]|0,e)|0)+(g<<2)|0}else{h=b;i=f}b=c[i>>2]|0;if(!(n&2))f=b&255;else f=((_(b&255,r>>>24)|0)>>>0)/255|0;c[j>>2]=b>>>24|b>>>8&65280|b<<8&16711680|f<<24;if(!d)break;else{d=d+-1|0;j=j+4|0;b=h+q|0;f=i}}}else{l=f;b=65536;f=0;g=-1;while(1){if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;f=(c[a>>2]|0)+(_(c[a+12>>2]|0,e)|0)+(g<<2)|0}h=c[f>>2]|0;i=((_(h>>>8&255,r&255)|0)>>>0)/255|0;j=((_(h>>>16&255,r>>>8&255)|0)>>>0)/255|0;k=((_(h>>>24,r>>>16&255)|0)>>>0)/255|0;if(!(n&2))h=h&255;else h=((_(h&255,r>>>24)|0)>>>0)/255|0;c[l>>2]=k|j<<8|i<<16|h<<24;if(!d)break;else{d=d+-1|0;l=l+4|0;b=b+q|0}}}b=o+(c[a+32>>2]|0)|0;o=c[a+28>>2]|0;c[a+28>>2]=o+-1;if(!o)break;o=b;f=b;b=c[a+24>>2]|0;d=m+p|0}c[a+20>>2]=b;return}function ucb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;o=c[a+52>>2]|0;p=c[a+60>>2]|0;b=c[a+28>>2]|0;c[a+28>>2]=b+-1;if(!b)return;d=c[a>>2]|0;n=c[a+20>>2]|0;f=b+-1|0;g=n;h=d;b=n;while(1){e=c[a+24>>2]|0;if(!e)e=f;else{while(1){e=e+-1|0;f=c[h>>2]|0;n=c[g>>2]|0;if(!(o&1)){i=f>>>24;j=f>>>16&255;k=f>>>8&255}else{i=((_(f>>>24,p>>>16&255)|0)>>>0)/255|0;j=((_(f>>>16&255,p>>>8&255)|0)>>>0)/255|0;k=((_(f>>>8&255,p&255)|0)>>>0)/255|0}if(!(o&2))f=f&255;else f=((_(f&255,p>>>24)|0)>>>0)/255|0;if((o&48|0)!=0&f>>>0<255){i=((_(f,i)|0)>>>0)/255|0;l=((_(f,j)|0)>>>0)/255|0;m=((_(f,k)|0)>>>0)/255|0}else{l=j;m=k}switch(o&112|0){case 16:{q=255-f|0;k=(((_(q,n>>>24)|0)>>>0)/255|0)+f|0;j=i+(((_(q,n&255)|0)>>>0)/255|0)|0;i=l+(((_(q,n>>>8&255)|0)>>>0)/255|0)|0;f=m+(((_(q,n>>>16&255)|0)>>>0)/255|0)|0;break}case 32:{f=m+(n>>>16&255)|0;q=l+(n>>>8&255)|0;j=i+(n&255)|0;k=n>>>24;j=j>>>0>255?255:j;i=q>>>0>255?255:q;f=f>>>0>255?255:f;break}case 64:{k=n>>>24;j=((_(i,n&255)|0)>>>0)/255|0;i=((_(l,n>>>8&255)|0)>>>0)/255|0;f=((_(m,n>>>16&255)|0)>>>0)/255|0;break}default:{k=n>>>24;j=n&255;i=n>>>8&255;f=n>>>16&255}}c[g>>2]=i<<8|f<<16|j|k<<24;if(!e)break;else{g=g+4|0;h=h+4|0}}e=c[a+28>>2]|0}d=d+(c[a+12>>2]|0)|0;b=b+(c[a+32>>2]|0)|0;f=e+-1|0;c[a+28>>2]=f;if(!e)break;else{g=b;h=d}}c[a>>2]=d;c[a+20>>2]=b;return}function vcb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;q=c[a+52>>2]|0;u=c[a+60>>2]|0;b=c[a+28>>2]|0;s=(c[a+8>>2]<<16|0)/(b|0)|0;d=c[a+24>>2]|0;t=(c[a+4>>2]<<16|0)/(d|0)|0;c[a+28>>2]=b+-1;if(!b)return;g=c[a+20>>2]|0;r=g;b=b+-1|0;e=0;f=0;while(1){if((e|0)>65535){o=e+-65536|0;p=o-(o>>>16<<16)|0;f=f+1+(o>>>16)|0}else p=e;if(!d)d=b;else{b=65536;e=0;h=-1;while(1){d=d+-1|0;if((b|0)>65535){b=b+-65536|0;h=h+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(c[a>>2]|0)+(_(c[a+12>>2]|0,f)|0)+(h<<2)|0}i=c[e>>2]|0;o=c[g>>2]|0;if(!(q&1)){j=i>>>24;k=i>>>16&255;l=i>>>8&255}else{j=((_(i>>>24,u>>>16&255)|0)>>>0)/255|0;k=((_(i>>>16&255,u>>>8&255)|0)>>>0)/255|0;l=((_(i>>>8&255,u&255)|0)>>>0)/255|0}if(!(q&2))i=i&255;else i=((_(i&255,u>>>24)|0)>>>0)/255|0;if((q&48|0)!=0&i>>>0<255){j=((_(i,j)|0)>>>0)/255|0;m=((_(i,k)|0)>>>0)/255|0;n=((_(i,l)|0)>>>0)/255|0}else{m=k;n=l}switch(q&112|0){case 16:{v=255-i|0;l=(((_(v,o>>>24)|0)>>>0)/255|0)+i|0;k=j+(((_(v,o&255)|0)>>>0)/255|0)|0;j=m+(((_(v,o>>>8&255)|0)>>>0)/255|0)|0;i=n+(((_(v,o>>>16&255)|0)>>>0)/255|0)|0;break}case 32:{i=n+(o>>>16&255)|0;v=m+(o>>>8&255)|0;k=j+(o&255)|0;l=o>>>24;k=k>>>0>255?255:k;j=v>>>0>255?255:v;i=i>>>0>255?255:i;break}case 64:{l=o>>>24;k=((_(j,o&255)|0)>>>0)/255|0;j=((_(m,o>>>8&255)|0)>>>0)/255|0;i=((_(n,o>>>16&255)|0)>>>0)/255|0;break}default:{l=o>>>24;k=o&255;j=o>>>8&255;i=o>>>16&255}}c[g>>2]=j<<8|i<<16|k|l<<24;if(!d)break;else{g=g+4|0;b=b+t|0}}d=c[a+28>>2]|0}e=r+(c[a+32>>2]|0)|0;b=d+-1|0;c[a+28>>2]=b;if(!d)break;r=e;g=e;d=c[a+24>>2]|0;e=p+s|0}c[a+20>>2]=e;return}function wcb(a){a=a|0;var b=0,e=0,f=0,g=0,h=0,i=0,j=0;i=_(d[(c[a+44>>2]|0)+9>>0]|0,c[a+24>>2]|0)|0;e=c[a+28>>2]|0;f=c[a>>2]|0;b=c[a+20>>2]|0;h=c[a+12>>2]|0;g=c[a+32>>2]|0;j=b>>>0<(f+(_(h,e)|0)|0)>>>0;a=f>>>0<(b+(_(g,e)|0)|0)>>>0;if(f>>>0>>0?j:a){if(!e)return;else a=f;while(1){e=e+-1|0;xcb(b,a,i)|0;if(!e)break;else{b=b+g|0;a=a+h|0}}return}else{if(!e)return;else a=f;while(1){e=e+-1|0;l7a(b,a,i)|0;if(!e)break;else{b=b+g|0;a=a+h|0}}return}}function xcb(a,b,c){a=a|0;b=b|0;c=c|0;nBb(a|0,b|0,c|0)|0;return a|0}function ycb(f){f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;x=c[f+52>>2]|0;D=c[f+60>>2]|0;y=c[f+40>>2]|0;z=c[f+44>>2]|0;A=a[y+9>>0]|0;B=d[z+9>>0]|0;w=c[f+28>>2]|0;C=(c[f+8>>2]<<16|0)/(w|0)|0;g=c[f+24>>2]|0;E=(c[f+4>>2]<<16|0)/(g|0)|0;c[f+28>>2]=w+-1;if(!w)return;h=c[f+20>>2]|0;i=0;j=0;while(1){if((i|0)>65535){w=i+-65536|0;i=w-(w>>>16<<16)|0;j=j+1+(w>>>16)|0}if(g|0){k=65536;l=0;m=-1;while(1){g=g+-1|0;if((k|0)>65535){w=k+-65536|0;m=m+1+(w>>>16)|0;w=w-(w>>>16<<16)|0;l=(c[f>>2]|0)+(_(c[f+12>>2]|0,j)|0)+(_(m,A&255)|0)|0}else w=k;k=c[y+24>>2]|0;a:do if(!k)switch(A&255|0){case 1:{q=d[l>>0]|0;k=c[y+32>>2]|0;v=c[y+28>>2]|0;p=-1;o=a[(c[124356+((v>>>16&255)<<2)>>2]|0)+((c[y+20>>2]&q)>>>(k>>>16&255))>>0]|0;n=a[(c[124356+((v>>>8&255)<<2)>>2]|0)+((c[y+16>>2]&q)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((v&255)<<2)>>2]|0)+((q&c[y+12>>2])>>>(k&255))>>0]|0;break a}case 2:{q=e[l>>1]|0;k=c[y+32>>2]|0;v=c[y+28>>2]|0;p=-1;o=a[(c[124356+((v>>>16&255)<<2)>>2]|0)+((c[y+20>>2]&q)>>>(k>>>16&255))>>0]|0;n=a[(c[124356+((v>>>8&255)<<2)>>2]|0)+((c[y+16>>2]&q)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((v&255)<<2)>>2]|0)+((q&c[y+12>>2])>>>(k&255))>>0]|0;break a}case 3:{k=c[y+32>>2]|0;p=-1;o=a[l+(k>>>19&31)>>0]|0;n=a[l+(k>>>11&31)>>0]|0;k=a[l+(k>>>3&31)>>0]|0;q=0;break a}case 4:{q=c[l>>2]|0;k=c[y+32>>2]|0;v=c[y+28>>2]|0;p=-1;o=a[(c[124356+((v>>>16&255)<<2)>>2]|0)+((c[y+20>>2]&q)>>>(k>>>16&255))>>0]|0;n=a[(c[124356+((v>>>8&255)<<2)>>2]|0)+((c[y+16>>2]&q)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((v&255)<<2)>>2]|0)+((c[y+12>>2]&q)>>>(k&255))>>0]|0;break a}default:{p=-1;o=0;n=0;k=0;q=0;break a}}else switch(A&255|0){case 1:{q=d[l>>0]|0;v=c[y+32>>2]|0;u=c[y+28>>2]|0;p=a[(c[124356+(u>>>24<<2)>>2]|0)+((q&k)>>>(v>>>24))>>0]|0;o=a[(c[124356+((u>>>16&255)<<2)>>2]|0)+((c[y+20>>2]&q)>>>(v>>>16&255))>>0]|0;n=a[(c[124356+((u>>>8&255)<<2)>>2]|0)+((c[y+16>>2]&q)>>>(v>>>8&255))>>0]|0;k=a[(c[124356+((u&255)<<2)>>2]|0)+((q&c[y+12>>2])>>>(v&255))>>0]|0;break a}case 2:{q=e[l>>1]|0;v=c[y+32>>2]|0;u=c[y+28>>2]|0;p=a[(c[124356+(u>>>24<<2)>>2]|0)+((q&k)>>>(v>>>24))>>0]|0;o=a[(c[124356+((u>>>16&255)<<2)>>2]|0)+((c[y+20>>2]&q)>>>(v>>>16&255))>>0]|0;n=a[(c[124356+((u>>>8&255)<<2)>>2]|0)+((c[y+16>>2]&q)>>>(v>>>8&255))>>0]|0;k=a[(c[124356+((u&255)<<2)>>2]|0)+((q&c[y+12>>2])>>>(v&255))>>0]|0;break a}case 3:{k=c[y+32>>2]|0;p=-1;o=a[l+(k>>>19&31)>>0]|0;n=a[l+(k>>>11&31)>>0]|0;k=a[l+(k>>>3&31)>>0]|0;q=0;break a}case 4:{q=c[l>>2]|0;v=c[y+32>>2]|0;u=c[y+28>>2]|0;p=a[(c[124356+(u>>>24<<2)>>2]|0)+((q&k)>>>(v>>>24))>>0]|0;o=a[(c[124356+((u>>>16&255)<<2)>>2]|0)+((c[y+20>>2]&q)>>>(v>>>16&255))>>0]|0;n=a[(c[124356+((u>>>8&255)<<2)>>2]|0)+((c[y+16>>2]&q)>>>(v>>>8&255))>>0]|0;k=a[(c[124356+((u&255)<<2)>>2]|0)+((c[y+12>>2]&q)>>>(v&255))>>0]|0;break a}default:{p=0;o=0;n=0;k=0;q=0;break a}}while(0);t=k&255;s=n&255;r=o&255;u=p&255;if(!(x&256))F=24;else{if(A<<24>>24==3){k=c[y+32>>2]|0;k=s<<(k>>>8&255)|t<<(k&255)|r<<(k>>>16&255)}else k=q;if((k|0)!=(c[f+56>>2]|0))F=24}b:do if((F|0)==24){F=0;v=c[z+24>>2]|0;c:do if(!v)switch(B|0){case 1:{q=d[h>>0]|0;k=c[z+32>>2]|0;G=c[z+28>>2]|0;p=-1;o=a[(c[124356+((G>>>16&255)<<2)>>2]|0)+((c[z+20>>2]&q)>>>(k>>>16&255))>>0]|0;n=a[(c[124356+((G>>>8&255)<<2)>>2]|0)+((c[z+16>>2]&q)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((G&255)<<2)>>2]|0)+((q&c[z+12>>2])>>>(k&255))>>0]|0;break c}case 2:{G=e[h>>1]|0;k=c[z+32>>2]|0;q=c[z+28>>2]|0;p=-1;o=a[(c[124356+((q>>>16&255)<<2)>>2]|0)+((c[z+20>>2]&G)>>>(k>>>16&255))>>0]|0;n=a[(c[124356+((q>>>8&255)<<2)>>2]|0)+((c[z+16>>2]&G)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((q&255)<<2)>>2]|0)+((G&c[z+12>>2])>>>(k&255))>>0]|0;break c}case 3:{k=c[z+32>>2]|0;p=-1;o=a[h+(k>>>19&31)>>0]|0;n=a[h+(k>>>11&31)>>0]|0;k=a[h+(k>>>3&31)>>0]|0;break c}case 4:{G=c[h>>2]|0;k=c[z+32>>2]|0;q=c[z+28>>2]|0;p=-1;o=a[(c[124356+((q>>>16&255)<<2)>>2]|0)+((c[z+20>>2]&G)>>>(k>>>16&255))>>0]|0;n=a[(c[124356+((q>>>8&255)<<2)>>2]|0)+((c[z+16>>2]&G)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((q&255)<<2)>>2]|0)+((c[z+12>>2]&G)>>>(k&255))>>0]|0;break c}default:{p=-1;o=0;n=0;k=0;break c}}else switch(B|0){case 1:{G=d[h>>0]|0;k=c[z+32>>2]|0;q=c[z+28>>2]|0;p=a[(c[124356+(q>>>24<<2)>>2]|0)+((G&v)>>>(k>>>24))>>0]|0;o=a[(c[124356+((q>>>16&255)<<2)>>2]|0)+((c[z+20>>2]&G)>>>(k>>>16&255))>>0]|0;n=a[(c[124356+((q>>>8&255)<<2)>>2]|0)+((c[z+16>>2]&G)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((q&255)<<2)>>2]|0)+((G&c[z+12>>2])>>>(k&255))>>0]|0;break c}case 2:{G=e[h>>1]|0;k=c[z+32>>2]|0;q=c[z+28>>2]|0;p=a[(c[124356+(q>>>24<<2)>>2]|0)+((G&v)>>>(k>>>24))>>0]|0;o=a[(c[124356+((q>>>16&255)<<2)>>2]|0)+((c[z+20>>2]&G)>>>(k>>>16&255))>>0]|0;n=a[(c[124356+((q>>>8&255)<<2)>>2]|0)+((c[z+16>>2]&G)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((q&255)<<2)>>2]|0)+((G&c[z+12>>2])>>>(k&255))>>0]|0;break c}case 3:{k=c[z+32>>2]|0;p=-1;o=a[h+(k>>>19&31)>>0]|0;n=a[h+(k>>>11&31)>>0]|0;k=a[h+(k>>>3&31)>>0]|0;break c}case 4:{G=c[h>>2]|0;k=c[z+32>>2]|0;q=c[z+28>>2]|0;p=a[(c[124356+(q>>>24<<2)>>2]|0)+((G&v)>>>(k>>>24))>>0]|0;o=a[(c[124356+((q>>>16&255)<<2)>>2]|0)+((c[z+20>>2]&G)>>>(k>>>16&255))>>0]|0;n=a[(c[124356+((q>>>8&255)<<2)>>2]|0)+((c[z+16>>2]&G)>>>(k>>>8&255))>>0]|0;k=a[(c[124356+((q&255)<<2)>>2]|0)+((c[z+12>>2]&G)>>>(k&255))>>0]|0;break c}default:{p=0;o=0;n=0;k=0;break c}}while(0);k=k&255;n=n&255;o=o&255;p=p&255;if(x&1){r=((_(r,D>>>16&255)|0)>>>0)/255|0;s=((_(s,D>>>8&255)|0)>>>0)/255|0;t=((_(t,D&255)|0)>>>0)/255|0}if(!(x&2))q=u;else q=((_(u,D>>>24)|0)>>>0)/255|0;if((x&48|0)!=0&q>>>0<255){r=((_(q,r)|0)>>>0)/255|0;s=((_(q,s)|0)>>>0)/255|0;t=((_(q,t)|0)>>>0)/255|0}switch(x&112|0){case 0:{p=q;o=r;n=s;k=t;break}case 16:{G=255-q|0;o=r+(((_(G,o)|0)>>>0)/255|0)|0;n=s+(((_(G,n)|0)>>>0)/255|0)|0;k=t+(((_(G,k)|0)>>>0)/255|0)|0;break}case 32:{k=t+k|0;n=s+n|0;o=r+o|0;o=o>>>0>255?255:o;n=n>>>0>255?255:n;k=k>>>0>255?255:k;break}case 64:{o=((_(r,o)|0)>>>0)/255|0;n=((_(s,n)|0)>>>0)/255|0;k=((_(t,k)|0)>>>0)/255|0;break}default:{}}if(!v)switch(B|0){case 1:{v=c[z+28>>2]|0;G=c[z+32>>2]|0;a[h>>0]=k>>>(v&255)<<(G&255)|n>>>(v>>>8&255)<<(G>>>8&255)|o>>>(v>>>16&255)<<(G>>>16&255);break b}case 2:{v=c[z+28>>2]|0;G=c[z+32>>2]|0;b[h>>1]=k>>>(v&255)<<(G&255)|n>>>(v>>>8&255)<<(G>>>8&255)|o>>>(v>>>16&255)<<(G>>>16&255);break b}case 3:{a[h+((d[z+32>>0]|0)>>>3&255)>>0]=k;a[h+((d[z+33>>0]|0)>>>3&255)>>0]=n;a[h+((d[z+34>>0]|0)>>>3&255)>>0]=o;break b}case 4:{v=c[z+28>>2]|0;G=c[z+32>>2]|0;c[h>>2]=k>>>(v&255)<<(G&255)|n>>>(v>>>8&255)<<(G>>>8&255)|o>>>(v>>>16&255)<<(G>>>16&255);break b}default:break b}else switch(B|0){case 1:{v=c[z+28>>2]|0;G=c[z+32>>2]|0;a[h>>0]=n>>>(v>>>8&255)<<(G>>>8&255)|k>>>(v&255)<<(G&255)|o>>>(v>>>16&255)<<(G>>>16&255)|p>>>(v>>>24)<<(G>>>24);break b}case 2:{v=c[z+28>>2]|0;G=c[z+32>>2]|0;b[h>>1]=n>>>(v>>>8&255)<<(G>>>8&255)|k>>>(v&255)<<(G&255)|o>>>(v>>>16&255)<<(G>>>16&255)|p>>>(v>>>24)<<(G>>>24);break b}case 3:{a[h+((d[z+32>>0]|0)>>>3&255)>>0]=k;a[h+((d[z+33>>0]|0)>>>3&255)>>0]=n;a[h+((d[z+34>>0]|0)>>>3&255)>>0]=o;break b}case 4:{v=c[z+28>>2]|0;G=c[z+32>>2]|0;c[h>>2]=n>>>(v>>>8&255)<<(G>>>8&255)|k>>>(v&255)<<(G&255)|o>>>(v>>>16&255)<<(G>>>16&255)|p>>>(v>>>24)<<(G>>>24);break b}default:break b}}while(0);if(!g)break;else{h=h+B|0;k=w+E|0}}}h=(c[f+20>>2]|0)+(c[f+32>>2]|0)|0;c[f+20>>2]=h;G=c[f+28>>2]|0;c[f+28>>2]=G+-1;if(!G)break;g=c[f+24>>2]|0;i=i+C|0}return}function zcb(a){a=a|0;var b=0,d=0,e=0;b=c[a+316>>2]|0;d=c[b>>2]|0;if((c[299745]|0)==(d|0))e=4;else{c[b+268>>2]=0;if((a8a(c[a+188>>2]|0,d)|0)>=0){c[299745]=c[b>>2];l8a(a)|0;b=c[a+316>>2]|0;e=4}}if((e|0)==4)if(c[b+4>>2]|0){b=b+108|0;do{}while((dj[c[b>>2]&7]()|0)!=0)}Acb(c[a+188>>2]|0);return}function Acb(a){a=a|0;var b=0,d=0;d=i;i=i+32|0;b=c[299450]|0;if(!b){l6a(593111,d)|0;i=d;return}if(a|0)if((c[a>>2]|0)==(b+256|0)){if(!(c[a+48>>2]&2)){l6a(594784,d+16|0)|0;i=d;return}if((b8a(c[b+636>>2]|0)|0)==(a|0)){b=c[299450]|0;si[c[b+172>>2]&511](b,a);i=d;return}else{l6a(600455,d+24|0)|0;i=d;return}}l6a(606608,d+8|0)|0;i=d;return}function Bcb(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;f=c[a+316>>2]|0;g=c[b+68>>2]|0;d=c[f>>2]|0;if((c[299745]|0)==(d|0)){d=f;e=4}else{c[f+268>>2]=0;if((a8a(c[a+188>>2]|0,d)|0)>=0){c[299745]=c[f>>2];l8a(a)|0;d=c[a+316>>2]|0;e=4}}if((e|0)==4)if(c[d+4>>2]|0){d=d+108|0;do{}while((dj[c[d>>2]&7]()|0)!=0)}if(!g)return;si[c[f+64>>2]&511](1,g);if(c[g+32>>2]|0)si[c[f+64>>2]&511](1,g+32|0);if(c[g+36>>2]|0)si[c[f+64>>2]&511](1,g+36|0);L7a(c[g+16>>2]|0);L7a(g);c[b+68>>2]=0;return}function Ccb(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0,i=0;i=c[a+316>>2]|0;f=c[b+68>>2]|0;b=c[i>>2]|0;if((c[299745]|0)==(b|0)){b=i;h=4}else{c[i+268>>2]=0;if((a8a(c[a+188>>2]|0,b)|0)>=0){c[299745]=c[i>>2];l8a(a)|0;b=c[a+316>>2]|0;h=4}}if((h|0)==4)if(c[b+4>>2]|0){b=b+108|0;do{}while((dj[c[b>>2]&7]()|0)!=0)}si[c[i+28>>2]&511](c[f+4>>2]|0,c[f>>2]|0);if(d|0)g[d>>2]=1.0;if(!e)return 0;g[e>>2]=1.0;return 0}function Dcb(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=c[a+316>>2]|0;d=c[b+68>>2]|0;b=c[f>>2]|0;if((c[299745]|0)==(b|0)){b=f;e=4}else{c[f+268>>2]=0;if((a8a(c[a+188>>2]|0,b)|0)>=0){c[299745]=c[f>>2];l8a(a)|0;b=c[a+316>>2]|0;e=4}}if((e|0)==4)if(c[b+4>>2]|0){b=b+108|0;do{}while((dj[c[b>>2]&7]()|0)!=0)}si[c[f+28>>2]&511](c[d+4>>2]|0,0);return 0}function Ecb(a,b){a=a|0;b=b|0;b=Fcb(a)|0;if(!b){a=0;return a|0}a=Ocb(b)|0;return a|0}function Fcb(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+48|0;b=c[299450]|0;if(!b){l6a(593111,e)|0;a=0;i=e;return a|0}if(a|0)if((c[a>>2]|0)==(b+256|0)){d=c[a+104>>2]|0;if(c[a+108>>2]|0){a=d;i=e;return a|0}if(d){c[d>>2]=c[d>>2]&-5;A7a(d);b=c[299450]|0}d=c[b+108>>2]|0;if(!d)b=0;else if(!(c[b+112>>2]|0))b=0;else if((Ci[d&127](b,a,e+40|0,e+36|0,e+32|0)|0)<0)b=0;else if(!(R8a(c[e+40>>2]|0,e+28|0,e+24|0,e+20|0,e+16|0,e+12|0)|0))b=0;else b=Gcb(c[e+36>>2]|0,c[a+24>>2]|0,c[a+28>>2]|0,c[e+28>>2]|0,c[e+32>>2]|0,c[e+24>>2]|0,c[e+20>>2]|0,c[e+16>>2]|0,c[e+12>>2]|0)|0;c[a+104>>2]=b;if(!b){a=0;i=e;return a|0}c[a+108>>2]=1;c[b>>2]=c[b>>2]|4;a=b;i=e;return a|0}l6a(606608,e+8|0)|0;a=0;i=e;return a|0}function Gcb(a,b,d,e,f,g,h,i,j){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;j=Hcb(0,0,0,e,g,h,i,j)|0;if(!j)return j|0;c[j>>2]=c[j>>2]|1;c[j+20>>2]=a;c[j+8>>2]=b;c[j+12>>2]=d;c[j+16>>2]=f;c[j+36>>2]=0;c[j+40>>2]=0;c[j+44>>2]=b;c[j+48>>2]=d;return j|0}function Hcb(b,e,f,g,h,j,k,l){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;var m=0;m=i;i=i+16|0;b=Icb(g,h,j,k,l)|0;if(!b){l6a(600550,m)|0;l=0;i=m;return l|0}h=Y6a(1,60)|0;if(!h){k7a(0)|0;l=0;i=m;return l|0}g=Jcb(b)|0;c[h+4>>2]=g;if(!g){A7a(h);l=0;i=m;return l|0}c[h+8>>2]=e;c[h+12>>2]=f;c[h+16>>2]=Kcb(h)|0;b=c[h+8>>2]|0;k=c[h+12>>2]|0;c[h+36>>2]=0;c[h+40>>2]=0;c[h+44>>2]=b;c[h+48>>2]=k;k=c[h+4>>2]|0;j=c[k>>2]|0;if((j|0)==0|(j&-268435456|0)==268435456)if(((j>>>24&15)+-1|0)>>>0<3){b=Lcb(1<<(d[k+8>>0]|0))|0;if(!b){A7a(h);l=0;i=m;return l|0}if((c[b>>2]|0)==2){e=c[b+4>>2]|0;a[e>>0]=-1;a[e+1>>0]=-1;a[e+2>>0]=-1;a[e+4>>0]=0;a[e+5>>0]=0;a[e+6>>0]=0}if((V7a(c[h+4>>2]|0,b)|0)>=0)W7a(c[h+52>>2]|0);Mcb(b);b=c[h+8>>2]|0}do if(b|0){b=c[h+12>>2]|0;if(b|0){b=c7a(_(c[h+16>>2]|0,b)|0)|0;c[h+20>>2]=b;if(b|0){B6a(b,0,_(c[h+16>>2]|0,c[h+12>>2]|0)|0)|0;break}A7a(h);k7a(0)|0;l=0;i=m;return l|0}}while(0);b=Ncb()|0;c[h+52>>2]=b;if(!b){A7a(h);l=0;i=m;return l|0}if(l|0){l=c[b+68>>2]|0;c[b+68>>2]=l&-113|16;if((l&-113|16|0)!=(l|0))W7a(b)}c[h+56>>2]=1;l=h;i=m;return l|0}function Icb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;a:do switch(a|0){case 4:{f=304088064;return f|0}case 8:{if(!b){f=318769153;return f|0}if((b|0)==224&(c|0)==28&(d|0)==3&(e|0)==0){f=336660481;return f|0}break}case 12:{if(!b){f=353504258;return f|0}if((b|0)==3840&(c|0)==240&(d|0)==15&(e|0)==0){f=353504258;return f|0}break}case 15:{if(!b){f=353570562;return f|0}else f=9;break}case 16:{if(!b){f=353701890;return f|0}else f=9;break}case 24:{if((b|0)<255){switch(b|0){case 0:{e=390076419;break}default:{f=24;break a}}return e|0}if((b|0)>=16711680){switch(b|0){case 16711680:{e=390076419;break}default:{f=24;break a}}return e|0}switch(b|0){case 255:break;default:{f=24;break a}}f=386930691;return f|0}case 32:{if(!b){f=370546692;return f|0}else f=24;break}case 1:{f=287310080;return f|0}default:{}}while(0);if((f|0)==9){if((b|0)==31744&(c|0)==992&(d|0)==31&(e|0)==0){f=353570562;return f|0}if((b|0)==31&(c|0)==992&(d|0)==31744&(e|0)==0){f=357764866;return f|0}if((b|0)==3840&(c|0)==240&(d|0)==15&(e|0)==61440){f=355602434;return f|0}if((b|0)==61440&(c|0)==3840&(d|0)==240&(e|0)==15){f=356651010;return f|0}if((b|0)==15&(c|0)==240&(d|0)==3840&(e|0)==61440){f=359796738;return f|0}if((b|0)==240&(c|0)==3840&(d|0)==61440&(e|0)==15){f=360845314;return f|0}if((b|0)==31744&(c|0)==992&(d|0)==31&(e|0)==32768){f=355667970;return f|0}if((b|0)==63488&(c|0)==1984&(d|0)==62&(e|0)==1){f=356782082;return f|0}if((b|0)==31&(c|0)==992&(d|0)==31744&(e|0)==32768){f=359862274;return f|0}if((b|0)==62&(c|0)==1984&(d|0)==63488&(e|0)==1){f=360976386;return f|0}if((b|0)==63488&(c|0)==2016&(d|0)==31&(e|0)==0){f=353701890;return f|0}if((b|0)==31&(c|0)==2016&(d|0)==63488&(e|0)==0){f=357896194;return f|0}}else if((f|0)==24){if((b|0)==16711680&(c|0)==65280&(d|0)==255&(e|0)==0){f=370546692;return f|0}if((b|0)==-16777216&(c|0)==16711680&(d|0)==65280&(e|0)==0){f=371595268;return f|0}if((b|0)==255&(c|0)==65280&(d|0)==16711680&(e|0)==0){f=374740996;return f|0}if((b|0)==65280&(c|0)==16711680&(d|0)==-16777216&(e|0)==0){f=375789572;return f|0}if((b|0)==16711680&(c|0)==65280&(d|0)==255&(e|0)==-16777216){f=372645892;return f|0}if((b|0)==-16777216&(c|0)==16711680&(d|0)==65280&(e|0)==255){f=373694468;return f|0}if((b|0)==255&(c|0)==65280&(d|0)==16711680&(e|0)==-16777216){f=376840196;return f|0}if((b|0)==65280&(c|0)==16711680&(d|0)==-16777216&(e|0)==255){f=377888772;return f|0}if((b|0)==1072693248&(c|0)==1047552&(d|0)==1023&(e|0)==-1073741824){f=372711428;return f|0}}f=0;return f|0}function Jcb(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=c[299744]|0;a:do if(b|0){while(1){if((c[b>>2]|0)==(a|0))break;b=c[b+40>>2]|0;if(!b)break a}c[b+36>>2]=(c[b+36>>2]|0)+1;a=b;i=d;return a|0}while(0);b=c7a(44)|0;if(!b){k7a(0)|0;a=0;i=d;return a|0}if((Q8a(b,a)|0)<0){L7a(b);c[d>>2]=594777;l6a(608461,d)|0;a=0;i=d;return a|0}if((a|0)==0|(a&-268435456|0)==268435456)if(((a>>>24&15)+-1|0)>>>0<3){a=b;i=d;return a|0}c[b+40>>2]=c[299744];c[299744]=b;a=b;i=d;return a|0}function Kcb(a){a=a|0;var b=0;b=c[a+4>>2]|0;a=_(d[b+9>>0]|0,c[a+8>>2]|0)|0;switch(d[b+8>>0]|0|0){case 1:{a=(a+7|0)/8|0;break}case 4:{a=(a+1|0)/2|0;break}default:{}}return a+3&-4|0}function Lcb(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;if((a|0)<1){c[e>>2]=600571;l6a(608461,e)|0;a=0;i=e;return a|0}b=c7a(16)|0;if(!b){k7a(0)|0;a=0;i=e;return a|0}d=c7a(a<<2)|0;c[b+4>>2]=d;if(!d){L7a(b);a=0;i=e;return a|0}else{c[b>>2]=a;c[b+8>>2]=1;c[b+12>>2]=1;B6a(d,255,a<<2)|0;a=b;i=e;return a|0}return 0}function Mcb(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;if(!a){c[b>>2]=600579;l6a(608461,b)|0;i=b;return}d=c[a+12>>2]|0;c[a+12>>2]=d+-1;if((d|0)>1){i=b;return}L7a(c[a+4>>2]|0);L7a(a);i=b;return}function Ncb(){var a=0;a=Y6a(1,88)|0;if(!a){k7a(0)|0;a=0;return a|0}else{c[a+76>>2]=-1;return a|0}return 0}function Ocb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;g=i;i=i+16|0;if(!a){l6a(600587,g)|0;f=0;i=g;return f|0}f=Y6a(1,320)|0;if(!f){k7a(0)|0;f=0;i=g;return f|0}e=Y6a(1,8)|0;if(!e){L7a(c[f+316>>2]|0);L7a(f);k7a(0)|0;f=0;i=g;return f|0}c[e>>2]=a;c[e+4>>2]=a;c[f+4>>2]=231;c[f+8>>2]=156;c[f+12>>2]=378;c[f+16>>2]=379;c[f+20>>2]=380;c[f+24>>2]=381;c[f+28>>2]=103;c[f+36>>2]=104;c[f+40>>2]=232;c[f+44>>2]=382;c[f+48>>2]=1545;c[f+52>>2]=1546;c[f+56>>2]=1547;c[f+60>>2]=157;c[f+64>>2]=158;c[f+68>>2]=159;c[f+72>>2]=97;c[f+76>>2]=2;c[f+80>>2]=105;c[f+84>>2]=738;c[f+88>>2]=233;c[f+92>>2]=739;a=f+104|0;b=136272;d=a+84|0;do{c[a>>2]=c[b>>2];a=a+4|0;b=b+4|0}while((a|0)<(d|0));c[f+316>>2]=e;if(c[e>>2]|0){i=g;return f|0}d=c[e+4>>2]|0;c[e>>2]=d;if(d|0){i=g;return f|0}a=Fcb(c[f+188>>2]|0)|0;if(!a){i=g;return f|0}c[e+4>>2]=a;c[e>>2]=a;a=c[c[f+316>>2]>>2]|0;if(!a){i=g;return f|0}Rcb(a,f+212|0)|0;a=c[c[f+316>>2]>>2]|0;if(!a){i=g;return f|0}if(!(c[f+276>>2]|0)){Rcb(a,0)|0;i=g;return f|0}else{Rcb(a,f+244|0)|0;i=g;return f|0}return 0}function Pcb(b,d){b=b|0;d=d|0;b=c[b+316>>2]|0;if((a[d+12>>0]|0)!=6)return;c[b>>2]=0;c[b+4>>2]=0;return}function Qcb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+16|0;f=c[a+316>>2]|0;e=c[f>>2]|0;if(!e){e=c[f+4>>2]|0;c[f>>2]=e;if(!e){e=Fcb(c[a+188>>2]|0)|0;do if(e|0){c[f+4>>2]=e;c[f>>2]=e;e=c[c[a+316>>2]>>2]|0;if(e|0){Rcb(e,a+212|0)|0;e=c[c[a+316>>2]>>2]|0;if(e|0)if(!(c[a+276>>2]|0)){Rcb(e,0)|0;break}else{Rcb(e,a+244|0)|0;break}}}while(0);e=c[f>>2]|0}if(!e){l6a(600626,g)|0;b=-1;i=g;return b|0}}if(b|0)c[b>>2]=c[e+8>>2];if(!d){b=0;i=g;return b|0}c[d>>2]=c[e+12>>2];b=0;i=g;return b|0}function Rcb(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;if(!a){a=0;i=d;return a|0}c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=c[a+8>>2];c[d+12>>2]=c[a+12>>2];if(!b){c[a+36>>2]=c[d>>2];c[a+36+4>>2]=c[d+4>>2];c[a+36+8>>2]=c[d+8>>2];c[a+36+12>>2]=c[d+12>>2];a=1;i=d;return a|0}else{a=E7a(b,d,a+36|0)|0;i=d;return a|0}return 0}function Scb(b,d){b=b|0;d=d|0;var e=0,f=0;b=i;i=i+32|0;if(!(R8a(c[d+4>>2]|0,b+20|0,b+16|0,b+12|0,b+8|0,b+4|0)|0)){d=l6a(600675,b)|0;i=b;return d|0}f=Hcb(0,c[d+12>>2]|0,c[d+16>>2]|0,c[b+20>>2]|0,c[b+16>>2]|0,c[b+12>>2]|0,c[b+8>>2]|0,c[b+4>>2]|0)|0;c[d+68>>2]=f;e=c[d+28>>2]|0;Tcb(f,e&255,(e&65535)>>>8&255,e>>>16&255)|0;Ucb(c[d+68>>2]|0,a[d+31>>0]|0)|0;Vcb(c[d+68>>2]|0,c[d+24>>2]|0)|0;if(!(c[d+8>>2]|0))Wcb(c[d+68>>2]|0,1)|0;f=((c[d+68>>2]|0)==0)<<31>>31;i=b;return f|0}function Tcb(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0;if(!b){d=-1;return d|0}b=c[b+52>>2]|0;a[b+76>>0]=d;a[b+77>>0]=e;a[b+78>>0]=f;g=c[b+68>>2]|0;d=(e&d)<<24>>24==-1&f<<24>>24==-1?g&-2:g|1;c[b+68>>2]=d;if((d|0)==(g|0)){g=0;return g|0}W7a(b);g=0;return g|0}function Ucb(b,d){b=b|0;d=d|0;var e=0;if(!b){d=-1;return d|0}b=c[b+52>>2]|0;a[b+79>>0]=d;e=c[b+68>>2]|0;d=d<<24>>24==-1?e&-3:e|2;c[b+68>>2]=d;if((d|0)==(e|0)){e=0;return e|0}W7a(b);e=0;return e|0}function Vcb(a,b){a=a|0;b=b|0;var d=0,e=0;if(!a){e=-1;return e|0}d=c[a+52>>2]|0;e=c[d+68>>2]|0;c[d+68>>2]=e&-113;switch(b|0){case 0:{a=e&-113;b=0;break}case 1:{c[d+68>>2]=e&-113|16;a=e&-113|16;b=0;break}case 2:{c[d+68>>2]=e&-113|32;a=e&-113|32;b=0;break}case 4:{c[d+68>>2]=e&-113|64;a=e&-113|64;b=0;break}default:{b=k7a(4)|0;d=c[a+52>>2]|0;a=c[d+68>>2]|0}}if((a|0)==(e|0)){e=b;return e|0}W7a(d);e=b;return e|0}function Wcb(a,b){a=a|0;b=b|0;var d=0;if(!a){b=-1;return b|0}a=c[a+52>>2]|0;d=c[a+68>>2]|0;b=(b|0)==0?d&-4097:d|4096;c[a+68>>2]=b;if((b|0)==(d|0)){d=0;return d|0}W7a(a);d=0;return d|0}function Xcb(a,b){a=a|0;b=b|0;var d=0,f=0,g=0;a=c[b+68>>2]|0;d=c[b+28>>2]|0;if(((d&65535)>>>8&255&(d&255)&(d>>>16&255))<<24>>24==-1){g=d;f=(e[b+28>>1]|0)>>>8&255;b=d>>>16&255;d=g&255;b=Tcb(a,d,f,b)|0;return b|0}Wcb(a,0)|0;g=c[b+28>>2]|0;b=g;f=(g&65535)>>>8&255;g=g>>>16&255;b=b&255;g=Tcb(a,b,f,g)|0;return g|0}function Ycb(b,d){b=b|0;d=d|0;var e=0;e=c[d+68>>2]|0;b=a[d+31>>0]|0;if(b<<24>>24==-1)b=-1;else if(c[(c[e+4>>2]|0)+24>>2]|0){Wcb(e,0)|0;b=a[d+31>>0]|0}return Ucb(e,b)|0}function Zcb(a,b){a=a|0;b=b|0;var d=0;d=c[b+68>>2]|0;a=c[b+24>>2]|0;switch(a|0){case 4:case 2:{Wcb(d,0)|0;a=c[b+24>>2]|0;break}default:{}}return Vcb(d,a)|0}function _cb(a,b,e,f,g){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0;i=c[b+68>>2]|0;if(c[i>>2]&2|0)G7a(i)|0;a=d[(c[i+4>>2]|0)+9>>0]|0;j=_(c[e+8>>2]|0,a)|0;if((c[e+12>>2]|0)>0){b=(c[i+20>>2]|0)+(_(c[i+16>>2]|0,c[e+4>>2]|0)|0)|0;b=b+(_(a,c[e>>2]|0)|0)|0;h=0;a=f;while(1){l7a(b,a,j)|0;h=h+1|0;if((h|0)>=(c[e+12>>2]|0))break;else{b=b+(c[i+16>>2]|0)|0;a=a+g|0}}}if(!(c[i>>2]&2))return 0;H7a(i);return 0}function $cb(a,b,e,f,g){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;var h=0;a=c[b+68>>2]|0;b=c[a+16>>2]|0;h=(c[a+20>>2]|0)+(_(b,c[e+4>>2]|0)|0)|0;c[f>>2]=h+(_(d[(c[a+4>>2]|0)+9>>0]|0,c[e>>2]|0)|0);c[g>>2]=b;return 0}function adb(a,b){a=a|0;b=b|0;return}function bdb(a,b){a=a|0;b=b|0;a=c[a+316>>2]|0;if(!b){c[a>>2]=c[a+4>>2];return 0}else{c[a>>2]=c[b+68>>2];return 0}return 0}function cdb(a){a=a|0;var b=0;b=c[c[a+316>>2]>>2]|0;if(!b)return 0;Rcb(b,a+212|0)|0;return 0}function ddb(a){a=a|0;var b=0;b=c[c[a+316>>2]>>2]|0;if(!b)return 0;if(!(c[a+276>>2]|0)){Rcb(b,0)|0;return 0}else{Rcb(b,a+244|0)|0;return 0}return 0}function edb(a){a=a|0;var b=0,d=0,e=0,f=0;e=i;i=i+16|0;d=c[a+316>>2]|0;b=c[d>>2]|0;if(!b){b=c[d+4>>2]|0;c[d>>2]=b;if(!b){b=Fcb(c[a+188>>2]|0)|0;do if(b|0){c[d+4>>2]=b;c[d>>2]=b;b=c[c[a+316>>2]>>2]|0;if(b|0){Rcb(b,a+212|0)|0;b=c[c[a+316>>2]>>2]|0;if(b|0)if(!(c[a+276>>2]|0)){Rcb(b,0)|0;break}else{Rcb(b,a+244|0)|0;break}}}while(0);b=c[d>>2]|0}if(!b){a=-1;i=e;return a|0}else d=e}else d=e;a=c[a+308>>2]|0;a=fdb(c[b+4>>2]|0,a&255,(a&65535)>>>8&255,a>>>16&255,a>>>24&255)|0;f=b+36|0;c[d>>2]=c[f>>2];c[d+4>>2]=c[f+4>>2];c[d+8>>2]=c[f+8>>2];c[d+12>>2]=c[f+12>>2];Rcb(b,0)|0;D7a(b,0,a)|0;Rcb(b,e)|0;a=0;i=e;return a|0}function fdb(a,b,e,f,g){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;h=c[a+4>>2]|0;if(!h){k=c[a+28>>2]|0;l=c[a+32>>2]|0;b=(e&255)>>>(k>>>8&255)<<(l>>>8&255)|(b&255)>>>(k&255)<<(l&255)|(f&255)>>>(k>>>16&255)<<(l>>>16&255)|(g&255)>>>(k>>>24)<<(l>>>24)&c[a+24>>2];return b|0}l=c[h>>2]|0;a:do if((l|0)>0){j=c[h+4>>2]|0;k=0;a=0;i=-1;while(1){n=(d[j+(k<<2)>>0]|0)-(b&255)|0;o=(d[j+(k<<2)+1>>0]|0)-(e&255)|0;m=(d[j+(k<<2)+2>>0]|0)-(f&255)|0;h=(d[j+(k<<2)+3>>0]|0)-(g&255)|0;h=(_(o,o)|0)+(_(n,n)|0)+(_(m,m)|0)+(_(h,h)|0)|0;if(h>>>0>>0){a=k&255;if(!h)break a}else h=i;k=k+1|0;if((k|0)>=(l|0))break;else i=h}}else a=0;while(0);o=a&255;return o|0}function gdb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0,j=0.0,k=0,l=0,m=0;m=i;f=c[a+316>>2]|0;e=c[f>>2]|0;if(!e){e=c[f+4>>2]|0;c[f>>2]=e;if(!e){e=Fcb(c[a+188>>2]|0)|0;do if(e|0){c[f+4>>2]=e;c[f>>2]=e;e=c[c[a+316>>2]>>2]|0;if(e|0){Rcb(e,a+212|0)|0;e=c[c[a+316>>2]>>2]|0;if(e|0)if(!(c[a+276>>2]|0)){Rcb(e,0)|0;break}else{Rcb(e,a+244|0)|0;break}}}while(0);e=c[f>>2]|0}if(!e){d=-1;i=m;return d|0}}k=i;i=i+((1*(d<<3)|0)+15&-16)|0;h=c[a+212>>2]|0;if(!h)if(!(c[a+216>>2]|0)){if((d|0)>0){f=0;do{c[k+(f<<3)>>2]=~~+g[b+(f<<3)>>2];c[k+(f<<3)+4>>2]=~~+g[b+(f<<3)+4>>2];f=f+1|0}while((f|0)!=(d|0))}}else l=14;else l=14;if((l|0)==14)if((d|0)>0){j=+(c[a+216>>2]|0);f=0;do{c[k+(f<<3)>>2]=~~(+(h|0)+ +g[b+(f<<3)>>2]);c[k+(f<<3)+4>>2]=~~(j+ +g[b+(f<<3)+4>>2]);f=f+1|0}while((f|0)!=(d|0))}h=c[a+312>>2]|0;f=c[a+308>>2]|0;if(!h){d=hdb(e,k,d,fdb(c[e+4>>2]|0,f&255,(f&65535)>>>8&255,f>>>16&255,f>>>24&255)|0)|0;i=m;return d|0}else{d=idb(e,k,d,h,f&255,(f&65535)>>>8&255,f>>>16&255,f>>>24&255)|0;i=m;return d|0}return 0}function hdb(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+16|0;if(!e){q=l6a(601117,r)|0;i=r;return q|0}if((d[(c[e+4>>2]|0)+8>>0]|0)<8){q=l6a(600698,r+8|0)|0;i=r;return q|0}o=c[e+36>>2]|0;j=(c[e+44>>2]|0)+o|0;k=c[e+40>>2]|0;l=(c[e+48>>2]|0)+k|0;if((g|0)<=0){q=0;i=r;return q|0}p=0;a:while(1){m=c[f+(p<<3)>>2]|0;n=c[f+(p<<3)+4>>2]|0;b:do if((n|0)<(l|0)&(((m|0)>=(j|0)|(m|0)<(o|0)|(n|0)<(k|0))^1))switch(d[(c[e+4>>2]|0)+9>>0]|0|0){case 3:break a;case 1:{a[(c[e+20>>2]|0)+(_(c[e+16>>2]|0,n)|0)+m>>0]=h;break b}case 2:{b[(c[e+20>>2]|0)+(_(c[e+16>>2]|0,n)|0)+(m<<1)>>1]=h;break b}case 4:{c[(c[e+20>>2]|0)+(_(c[e+16>>2]|0,n)|0)+(m<<2)>>2]=h;break b}default:break b}while(0);p=p+1|0;if((p|0)>=(g|0)){j=0;q=14;break}}if((q|0)==14){i=r;return j|0}q=k7a(4)|0;i=r;return q|0}function idb(b,d,e,f,g,h,j,k){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=i;i=i+16|0;if(!b){d=l6a(601117,u)|0;i=u;return d|0}l=c[b+4>>2]|0;m=a[l+8>>0]|0;if((m&255)<8){d=l6a(600743,u+8|0)|0;i=u;return d|0}if((f+-1|0)>>>0<2){t=(((_(k&255,g&255)|0)>>>0)/255|0)&255;h=(((_(k&255,h&255)|0)>>>0)/255|0)&255;j=(((_(k&255,j&255)|0)>>>0)/255|0)&255}else t=g;switch(m&255|0){case 15:{if((c[l+12>>2]|0)==31744)s=17;else n=12;break}case 16:{if((c[l+12>>2]|0)==63488)s=18;else n=12;break}case 32:{if((c[l+12>>2]|0)==16711680)s=(c[l+24>>2]|0)==0?13:14;else n=12;break}default:n=12}if((n|0)==12)s=(c[l+24>>2]|0)==0?15:16;n=c[b+36>>2]|0;o=(c[b+44>>2]|0)+n|0;p=c[b+40>>2]|0;q=(c[b+48>>2]|0)+p|0;if((e|0)>0){r=0;g=0}else{d=0;i=u;return d|0}do{l=c[d+(r<<3)>>2]|0;m=c[d+(r<<3)+4>>2]|0;if((m|0)<(q|0)&(((l|0)>=(o|0)|(l|0)<(n|0)|(m|0)<(p|0))^1))g=hj[s&31](b,l,m,f,t,h,j,k)|0;r=r+1|0}while((r|0)!=(e|0));i=u;return g|0}function jdb(a,b,d,e,f,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;switch(e|0){case 1:{d=(c[a+20>>2]|0)+(_(c[a+16>>2]|0,d)|0)+(b<<2)|0;b=c[d>>2]|0;c[d>>2]=(((_(b>>>8&255,i&255^255)|0)>>>0)/255|0)+(g&255)<<8|(((_(b&255,i&255^255)|0)>>>0)/255|0)+(h&255)|(((_(b>>>16&255,i&255^255)|0)>>>0)/255|0)+(f&255)<<16;return 0}case 2:{d=(c[a+20>>2]|0)+(_(c[a+16>>2]|0,d)|0)+(b<<2)|0;b=c[d>>2]|0;c[d>>2]=(((b>>>8&255)+(g&255)|0)>>>0>255?255:(b>>>8&255)+(g&255)|0)<<8|(((b&255)+(h&255)|0)>>>0>255?255:(b&255)+(h&255)|0)|(((b>>>16&255)+(f&255)|0)>>>0>255?255:(b>>>16&255)+(f&255)|0)<<16;return 0}case 4:{d=(c[a+20>>2]|0)+(_(c[a+16>>2]|0,d)|0)+(b<<2)|0;b=c[d>>2]|0;c[d>>2]=(((_(b>>>8&255,g&255)|0)>>>0)/255|0)<<8|(((_(b&255,h&255)|0)>>>0)/255|0)|(((_(b>>>16&255,f&255)|0)>>>0)/255|0)<<16;return 0}default:{c[(c[a+20>>2]|0)+(_(c[a+16>>2]|0,d)|0)+(b<<2)>>2]=(g&255)<<8|(f&255)<<16|h&255;return 0}}return 0}function kdb(a,b,d,e,f,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;switch(e|0){case 1:{d=(c[a+20>>2]|0)+(_(c[a+16>>2]|0,d)|0)+(b<<2)|0;b=c[d>>2]|0;c[d>>2]=(((_(b>>>24,i&255^255)|0)>>>0)/255|0)+(i&255)<<24|(((_(b&255,i&255^255)|0)>>>0)/255|0)+(h&255)|(((_(b>>>16&255,i&255^255)|0)>>>0)/255|0)+(f&255)<<16|(((_(b>>>8&255,i&255^255)|0)>>>0)/255|0)+(g&255)<<8;return 0}case 2:{d=(c[a+20>>2]|0)+(_(c[a+16>>2]|0,d)|0)+(b<<2)|0;b=c[d>>2]|0;c[d>>2]=(((b&255)+(h&255)|0)>>>0>255?255:(b&255)+(h&255)|0)|b&-16777216|(((b>>>16&255)+(f&255)|0)>>>0>255?255:(b>>>16&255)+(f&255)|0)<<16|(((b>>>8&255)+(g&255)|0)>>>0>255?255:(b>>>8&255)+(g&255)|0)<<8;return 0}case 4:{d=(c[a+20>>2]|0)+(_(c[a+16>>2]|0,d)|0)+(b<<2)|0;b=c[d>>2]|0;c[d>>2]=((_(b&255,h&255)|0)>>>0)/255|0|b&-16777216|(((_(b>>>16&255,f&255)|0)>>>0)/255|0)<<16|(((_(b>>>8&255,g&255)|0)>>>0)/255|0)<<8;return 0}default:{c[(c[a+20>>2]|0)+(_(c[a+16>>2]|0,d)|0)+(b<<2)>>2]=(g&255)<<8|(f&255)<<16|h&255|(i&255)<<24;return 0}}return 0}function ldb(a,f,g,h,i,j,k,l){a=a|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0;m=c[a+4>>2]|0;switch(d[m+9>>0]|0|0){case 2:switch(h|0){case 1:{g=(c[a+20>>2]|0)+(_(c[a+16>>2]|0,g)|0)+(f<<1)|0;n=e[g>>1]|0;a=c[m+32>>2]|0;h=c[m+28>>2]|0;f=((((_(d[(c[124356+((h>>>8&255)<<2)>>2]|0)+((c[m+16>>2]&n)>>>(a>>>8&255))>>0]|0,l&255^255)|0)>>>0)/255|0)+(j&255)|0)>>>(h>>>8&255)<<(a>>>8&255)|((((_(d[(c[124356+((h&255)<<2)>>2]|0)+((n&c[m+12>>2])>>>(a&255))>>0]|0,l&255^255)|0)>>>0)/255|0)+(i&255)|0)>>>(h&255)<<(a&255);b[g>>1]=((((_(d[(c[124356+((h>>>16&255)<<2)>>2]|0)+((c[m+20>>2]&n)>>>(a>>>16&255))>>0]|0,l&255^255)|0)>>>0)/255|0)+(k&255)|0)>>>(h>>>16&255)<<(a>>>16&255)|(f|c[m+24>>2]);g=0;return g|0}case 2:{n=(c[a+20>>2]|0)+(_(c[a+16>>2]|0,g)|0)+(f<<1)|0;h=e[n>>1]|0;g=c[m+32>>2]|0;f=c[m+28>>2]|0;a=(d[(c[124356+((f&255)<<2)>>2]|0)+((h&c[m+12>>2])>>>(g&255))>>0]|0)+(i&255)|0;j=(d[(c[124356+((f>>>8&255)<<2)>>2]|0)+((c[m+16>>2]&h)>>>(g>>>8&255))>>0]|0)+(j&255)|0;i=(d[(c[124356+((f>>>16&255)<<2)>>2]|0)+((c[m+20>>2]&h)>>>(g>>>16&255))>>0]|0)+(k&255)|0;b[n>>1]=(j>>>0>255?255:j)>>>(f>>>8&255)<<(g>>>8&255)|(a>>>0>255?255:a)>>>(f&255)<<(g&255)|c[m+24>>2]|(i>>>0>255?255:i)>>>(f>>>16&255)<<(g>>>16&255);n=0;return n|0}case 4:{n=(c[a+20>>2]|0)+(_(c[a+16>>2]|0,g)|0)+(f<<1)|0;h=e[n>>1]|0;f=c[m+32>>2]|0;a=c[m+28>>2]|0;g=(((_(d[(c[124356+((a>>>8&255)<<2)>>2]|0)+((c[m+16>>2]&h)>>>(f>>>8&255))>>0]|0,j&255)|0)>>>0)/255|0)>>>(a>>>8&255)<<(f>>>8&255)|(((_(d[(c[124356+((a&255)<<2)>>2]|0)+((h&c[m+12>>2])>>>(f&255))>>0]|0,i&255)|0)>>>0)/255|0)>>>(a&255)<<(f&255);b[n>>1]=(((_(d[(c[124356+((a>>>16&255)<<2)>>2]|0)+((c[m+20>>2]&h)>>>(f>>>16&255))>>0]|0,k&255)|0)>>>0)/255|0)>>>(a>>>16&255)<<(f>>>16&255)|(g|c[m+24>>2]);n=0;return n|0}default:{n=(c[a+20>>2]|0)+(_(c[a+16>>2]|0,g)|0)+(f<<1)|0;f=c[m+28>>2]|0;g=c[m+32>>2]|0;b[n>>1]=(j&255)>>>(f>>>8&255)<<(g>>>8&255)|(i&255)>>>(f&255)<<(g&255)|c[m+24>>2]|(k&255)>>>(f>>>16&255)<<(g>>>16&255);n=0;return n|0}}case 4:switch(h|0){case 1:{n=(c[a+20>>2]|0)+(_(c[a+16>>2]|0,g)|0)+(f<<2)|0;h=c[n>>2]|0;f=c[m+32>>2]|0;a=c[m+28>>2]|0;g=((((_(d[(c[124356+((a>>>8&255)<<2)>>2]|0)+((c[m+16>>2]&h)>>>(f>>>8&255))>>0]|0,l&255^255)|0)>>>0)/255|0)+(j&255)|0)>>>(a>>>8&255)<<(f>>>8&255)|((((_(d[(c[124356+((a&255)<<2)>>2]|0)+((c[m+12>>2]&h)>>>(f&255))>>0]|0,l&255^255)|0)>>>0)/255|0)+(i&255)|0)>>>(a&255)<<(f&255);c[n>>2]=((((_(d[(c[124356+((a>>>16&255)<<2)>>2]|0)+((c[m+20>>2]&h)>>>(f>>>16&255))>>0]|0,l&255^255)|0)>>>0)/255|0)+(k&255)|0)>>>(a>>>16&255)<<(f>>>16&255)|(g|c[m+24>>2]);n=0;return n|0}case 2:{n=(c[a+20>>2]|0)+(_(c[a+16>>2]|0,g)|0)+(f<<2)|0;h=c[n>>2]|0;g=c[m+32>>2]|0;f=c[m+28>>2]|0;a=(d[(c[124356+((f&255)<<2)>>2]|0)+((c[m+12>>2]&h)>>>(g&255))>>0]|0)+(i&255)|0;j=(d[(c[124356+((f>>>8&255)<<2)>>2]|0)+((c[m+16>>2]&h)>>>(g>>>8&255))>>0]|0)+(j&255)|0;i=(d[(c[124356+((f>>>16&255)<<2)>>2]|0)+((c[m+20>>2]&h)>>>(g>>>16&255))>>0]|0)+(k&255)|0;c[n>>2]=(j>>>0>255?255:j)>>>(f>>>8&255)<<(g>>>8&255)|(a>>>0>255?255:a)>>>(f&255)<<(g&255)|c[m+24>>2]|(i>>>0>255?255:i)>>>(f>>>16&255)<<(g>>>16&255);n=0;return n|0}case 4:{n=(c[a+20>>2]|0)+(_(c[a+16>>2]|0,g)|0)+(f<<2)|0;h=c[n>>2]|0;f=c[m+32>>2]|0;a=c[m+28>>2]|0;g=(((_(d[(c[124356+((a>>>8&255)<<2)>>2]|0)+((c[m+16>>2]&h)>>>(f>>>8&255))>>0]|0,j&255)|0)>>>0)/255|0)>>>(a>>>8&255)<<(f>>>8&255)|(((_(d[(c[124356+((a&255)<<2)>>2]|0)+((c[m+12>>2]&h)>>>(f&255))>>0]|0,i&255)|0)>>>0)/255|0)>>>(a&255)<<(f&255);c[n>>2]=(((_(d[(c[124356+((a>>>16&255)<<2)>>2]|0)+((c[m+20>>2]&h)>>>(f>>>16&255))>>0]|0,k&255)|0)>>>0)/255|0)>>>(a>>>16&255)<<(f>>>16&255)|(g|c[m+24>>2]);n=0;return n|0}default:{n=(c[a+20>>2]|0)+(_(c[a+16>>2]|0,g)|0)+(f<<2)|0;f=c[m+28>>2]|0;g=c[m+32>>2]|0;c[n>>2]=(j&255)>>>(f>>>8&255)<<(g>>>8&255)|(i&255)>>>(f&255)<<(g&255)|c[m+24>>2]|(k&255)>>>(f>>>16&255)<<(g>>>16&255);n=0;return n|0}}default:{n=k7a(4)|0;return n|0}}return 0}function mdb(b,e,f,g,h,i,j,k){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0;l=c[b+4>>2]|0;if((a[l+9>>0]|0)!=4){f=k7a(4)|0;return f|0}switch(g|0){case 1:{f=(c[b+20>>2]|0)+(_(c[b+16>>2]|0,f)|0)+(e<<2)|0;g=c[f>>2]|0;e=c[l+32>>2]|0;b=c[l+28>>2]|0;c[f>>2]=((((_(d[(c[124356+((b>>>8&255)<<2)>>2]|0)+((c[l+16>>2]&g)>>>(e>>>8&255))>>0]|0,k&255^255)|0)>>>0)/255|0)+(i&255)|0)>>>(b>>>8&255)<<(e>>>8&255)|((((_(d[(c[124356+((b&255)<<2)>>2]|0)+((c[l+12>>2]&g)>>>(e&255))>>0]|0,k&255^255)|0)>>>0)/255|0)+(h&255)|0)>>>(b&255)<<(e&255)|((((_(d[(c[124356+((b>>>16&255)<<2)>>2]|0)+((c[l+20>>2]&g)>>>(e>>>16&255))>>0]|0,k&255^255)|0)>>>0)/255|0)+(j&255)|0)>>>(b>>>16&255)<<(e>>>16&255)|((((_(d[(c[124356+(b>>>24<<2)>>2]|0)+((c[l+24>>2]&g)>>>(e>>>24))>>0]|0,k&255^255)|0)>>>0)/255|0)+(k&255)|0)>>>(b>>>24)<<(e>>>24);f=0;return f|0}case 2:{f=(c[b+20>>2]|0)+(_(c[b+16>>2]|0,f)|0)+(e<<2)|0;g=c[f>>2]|0;e=c[l+32>>2]|0;b=c[l+28>>2]|0;k=(d[(c[124356+((b&255)<<2)>>2]|0)+((c[l+12>>2]&g)>>>(e&255))>>0]|0)+(h&255)|0;i=(d[(c[124356+((b>>>8&255)<<2)>>2]|0)+((c[l+16>>2]&g)>>>(e>>>8&255))>>0]|0)+(i&255)|0;h=(d[(c[124356+((b>>>16&255)<<2)>>2]|0)+((c[l+20>>2]&g)>>>(e>>>16&255))>>0]|0)+(j&255)|0;c[f>>2]=(i>>>0>255?255:i)>>>(b>>>8&255)<<(e>>>8&255)|(k>>>0>255?255:k)>>>(b&255)<<(e&255)|(h>>>0>255?255:h)>>>(b>>>16&255)<<(e>>>16&255)|(d[(c[124356+(b>>>24<<2)>>2]|0)+((c[l+24>>2]&g)>>>(e>>>24))>>0]|0)>>>(b>>>24)<<(e>>>24);f=0;return f|0}case 4:{f=(c[b+20>>2]|0)+(_(c[b+16>>2]|0,f)|0)+(e<<2)|0;g=c[f>>2]|0;e=c[l+32>>2]|0;b=c[l+28>>2]|0;c[f>>2]=(((_(d[(c[124356+((b>>>8&255)<<2)>>2]|0)+((c[l+16>>2]&g)>>>(e>>>8&255))>>0]|0,i&255)|0)>>>0)/255|0)>>>(b>>>8&255)<<(e>>>8&255)|(((_(d[(c[124356+((b&255)<<2)>>2]|0)+((c[l+12>>2]&g)>>>(e&255))>>0]|0,h&255)|0)>>>0)/255|0)>>>(b&255)<<(e&255)|(((_(d[(c[124356+((b>>>16&255)<<2)>>2]|0)+((c[l+20>>2]&g)>>>(e>>>16&255))>>0]|0,j&255)|0)>>>0)/255|0)>>>(b>>>16&255)<<(e>>>16&255)|(d[(c[124356+(b>>>24<<2)>>2]|0)+((c[l+24>>2]&g)>>>(e>>>24))>>0]|0)>>>(b>>>24)<<(e>>>24);f=0;return f|0}default:{f=(c[b+20>>2]|0)+(_(c[b+16>>2]|0,f)|0)+(e<<2)|0;b=c[l+28>>2]|0;e=c[l+32>>2]|0;c[f>>2]=(i&255)>>>(b>>>8&255)<<(e>>>8&255)|(h&255)>>>(b&255)<<(e&255)|(j&255)>>>(b>>>16&255)<<(e>>>16&255)|(k&255)>>>(b>>>24)<<(e>>>24);f=0;return f|0}}return 0}function ndb(a,f,g,h,i,j,k,l){a=a|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;switch(h|0){case 1:{g=(c[a+20>>2]|0)+(_(c[a+16>>2]|0,g)|0)+(f<<1)|0;f=e[g>>1]|0;b[g>>1]=((((_(d[594592+(f>>>5&31)>>0]|0,l&255^255)|0)>>>0)/255|0)+(j&255)|0)>>>3<<5|((((_(d[594592+(f>>>10&31)>>0]|0,l&255^255)|0)>>>0)/255|0)+(i&255)|0)>>>3<<10|((((_(d[594592+(f&31)>>0]|0,l&255^255)|0)>>>0)/255|0)+(k&255)|0)>>>3;return 0}case 2:{g=(c[a+20>>2]|0)+(_(c[a+16>>2]|0,g)|0)+(f<<1)|0;f=e[g>>1]|0;i=(d[594592+(f>>>10&31)>>0]|0)+(i&255)|0;j=(d[594592+(f>>>5&31)>>0]|0)+(j&255)|0;f=(d[594592+(f&31)>>0]|0)+(k&255)|0;b[g>>1]=(j>>>0>255?255:j)>>>3<<5|(i>>>0>255?255:i)>>>3<<10|(f>>>0>255?255:f)>>>3;return 0}case 4:{g=(c[a+20>>2]|0)+(_(c[a+16>>2]|0,g)|0)+(f<<1)|0;f=e[g>>1]|0;b[g>>1]=(((_(d[594592+(f>>>5&31)>>0]|0,j&255)|0)>>>0)/255|0)>>>3<<5|(((_(d[594592+(f>>>10&31)>>0]|0,i&255)|0)>>>0)/255|0)>>>3<<10|(((_(d[594592+(f&31)>>0]|0,k&255)|0)>>>0)/255|0)>>>3;return 0}default:{b[(c[a+20>>2]|0)+(_(c[a+16>>2]|0,g)|0)+(f<<1)>>1]=(j&255)>>>3<<5|(i&255)>>>3<<10|(k&255)>>>3;return 0}}return 0}function odb(a,f,g,h,i,j,k,l){a=a|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;switch(h|0){case 1:{g=(c[a+20>>2]|0)+(_(c[a+16>>2]|0,g)|0)+(f<<1)|0;f=e[g>>1]|0;b[g>>1]=((((_(d[594528+(f>>>5&63)>>0]|0,l&255^255)|0)>>>0)/255|0)+(j&255)|0)>>>2<<5|((((_(d[594592+(f>>>11)>>0]|0,l&255^255)|0)>>>0)/255|0)+(i&255)|0)>>>3<<11|((((_(d[594592+(f&31)>>0]|0,l&255^255)|0)>>>0)/255|0)+(k&255)|0)>>>3;return 0}case 2:{g=(c[a+20>>2]|0)+(_(c[a+16>>2]|0,g)|0)+(f<<1)|0;f=e[g>>1]|0;i=(d[594592+(f>>>11)>>0]|0)+(i&255)|0;j=(d[594528+(f>>>5&63)>>0]|0)+(j&255)|0;f=(d[594592+(f&31)>>0]|0)+(k&255)|0;b[g>>1]=(j>>>0>255?255:j)>>>2<<5|(i>>>0>255?255:i)>>>3<<11|(f>>>0>255?255:f)>>>3;return 0}case 4:{g=(c[a+20>>2]|0)+(_(c[a+16>>2]|0,g)|0)+(f<<1)|0;f=e[g>>1]|0;b[g>>1]=(((_(d[594528+(f>>>5&63)>>0]|0,j&255)|0)>>>0)/255|0)>>>2<<5|(((_(d[594592+(f>>>11)>>0]|0,i&255)|0)>>>0)/255|0)>>>3<<11|(((_(d[594592+(f&31)>>0]|0,k&255)|0)>>>0)/255|0)>>>3;return 0}default:{b[(c[a+20>>2]|0)+(_(c[a+16>>2]|0,g)|0)+(f<<1)>>1]=(j&255)>>>2<<5|(i&255)>>>3<<11|(k&255)>>>3;return 0}}return 0}function pdb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0,j=0.0,k=0,l=0,m=0;m=i;f=c[a+316>>2]|0;e=c[f>>2]|0;if(!e){e=c[f+4>>2]|0;c[f>>2]=e;if(!e){e=Fcb(c[a+188>>2]|0)|0;do if(e|0){c[f+4>>2]=e;c[f>>2]=e;e=c[c[a+316>>2]>>2]|0;if(e|0){Rcb(e,a+212|0)|0;e=c[c[a+316>>2]>>2]|0;if(e|0)if(!(c[a+276>>2]|0)){Rcb(e,0)|0;break}else{Rcb(e,a+244|0)|0;break}}}while(0);e=c[f>>2]|0}if(!e){d=-1;i=m;return d|0}}k=i;i=i+((1*(d<<3)|0)+15&-16)|0;h=c[a+212>>2]|0;if(!h)if(!(c[a+216>>2]|0)){if((d|0)>0){f=0;do{c[k+(f<<3)>>2]=~~+g[b+(f<<3)>>2];c[k+(f<<3)+4>>2]=~~+g[b+(f<<3)+4>>2];f=f+1|0}while((f|0)!=(d|0))}}else l=14;else l=14;if((l|0)==14)if((d|0)>0){j=+(c[a+216>>2]|0);f=0;do{c[k+(f<<3)>>2]=~~(+(h|0)+ +g[b+(f<<3)>>2]);c[k+(f<<3)+4>>2]=~~(j+ +g[b+(f<<3)+4>>2]);f=f+1|0}while((f|0)!=(d|0))}h=c[a+312>>2]|0;f=c[a+308>>2]|0;if(!h){d=qdb(e,k,d,fdb(c[e+4>>2]|0,f&255,(f&65535)>>>8&255,f>>>16&255,f>>>24&255)|0)|0;i=m;return d|0}else{d=xdb(e,k,d,h,f&255,(f&65535)>>>8&255,f>>>16&255,f>>>24&255)|0;i=m;return d|0}return 0}function qdb(a,b,e,f){a=a|0;b=b|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+32|0;if(!a){a=l6a(600789,n)|0;i=n;return a|0}g=c[a+4>>2]|0;switch(d[g+9>>0]|0|0){case 1:{if((d[g+8>>0]|0)<8)h=8;else m=3;break}case 2:{m=2;break}case 4:{m=4;break}default:h=8}if((h|0)==8){a=l6a(600838,n+8|0)|0;i=n;return a|0}if((e|0)>1){l=1;do{g=l+-1|0;c[n+24>>2]=c[b+(g<<3)>>2];c[n+20>>2]=c[b+(g<<3)+4>>2];g=b+(l<<3)|0;c[n+16>>2]=c[g>>2];h=b+(l<<3)+4|0;c[n+12>>2]=c[h>>2];if(vdb(a+36|0,n+24|0,n+20|0,n+16|0,n+12|0)|0){j=c[n+16>>2]|0;k=c[n+12>>2]|0;if((j|0)==(c[g>>2]|0))g=(k|0)!=(c[h>>2]|0);else g=1;Ti[m&7](a,c[n+24>>2]|0,c[n+20>>2]|0,j,k,f,g&1)}l=l+1|0}while((l|0)!=(e|0))}h=c[b+(e+-1<<3)>>2]|0;if((c[b>>2]|0)==(h|0)){g=c[b+(e+-1<<3)+4>>2]|0;if((c[b+4>>2]|0)==(g|0)){a=0;i=n;return a|0}}else g=c[b+(e+-1<<3)+4>>2]|0;wdb(a,h,g,f)|0;a=0;i=n;return a|0}function rdb(a,e,f,g,h,j,k){a=a|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;x=i;i=i+16|0;if((h|0)==(f|0)){l=(c[a+20>>2]|0)+((_((c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0,h)|0)<<1)|0;if((g|0)<(e|0)){m=e-g+((k|0)!=0&1)|0;l=k|0?l+(g<<1)|0:l+(g<<1)+2|0}else{m=g-e+((k|0)!=0&1)|0;l=l+(e<<1)|0}if(!m){i=x;return}while(1){m=m+-1|0;b[l>>1]=j;if(!m)break;else l=l+2|0}i=x;return}if((g|0)==(e|0)){n=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;l=c[a+20>>2]|0;if((h|0)<(f|0)){l=l+((_(n,h)|0)<<1)+(g<<1)|0;m=f-h+((k|0)!=0&1)|0;l=k|0?l:l+(n<<1)|0}else{m=h-f+((k|0)!=0&1)|0;l=l+((_(n,f)|0)<<1)+(g<<1)|0}if(!m){i=x;return}while(1){m=m+-1|0;b[l>>1]=j;if(!m)break;else l=l+(n<<1)|0}i=x;return}if((((e-g|0)<0?0-(e-g)|0:e-g|0)|0)==(((f-h|0)<0?0-(f-h)|0:f-h|0)|0)){m=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;l=c[a+20>>2]|0;if((h|0)<(f|0)){a=l+((_(m,h)|0)<<1)+(g<<1)|0;m=m+((g|0)>(e|0)?-1:1)|0;l=f-h|0;n=m;m=(k|0)==0?a+(m<<1)|0:a}else{a=l+((_(m,f)|0)<<1)+(e<<1)|0;l=h-f|0;n=m+((g|0)<(e|0)?-1:1)|0;m=a}l=l+((k|0)!=0&1)|0;if(!l){i=x;return}while(1){l=l+-1|0;b[m>>1]=j;if(!l)break;else m=m+(n<<1)|0}i=x;return}l=c[a+4>>2]|0;sdb(j,l,x+3|0,x+2|0,x+1|0,x);l=c[l+12>>2]|0;a:do if((l|0)<63488){switch(l|0){case 31744:break;default:{w=35;break a}}l=(g-e|0)<0?0-(g-e)|0:g-e|0;m=(h-f|0)<0?0-(h-f)|0:h-f|0;if((l|0)<(m|0)){p=(l<<1)-m|0;v=l<<1;n=l-m|0;l=m;m=0;o=1}else{p=(m<<1)-l|0;v=m<<1;n=m-l|0;m=1;o=0}u=n<<1;t=(g|0)<(e|0)?0-m|0:m;s=(g|0)<(e|0)?-1:1;r=(h|0)<(f|0)?0-o|0:o;q=(h|0)<(f|0)?-1:1;k=l+((k|0)!=0&1)|0;if((k|0)>0){h=c[a+20>>2]|0;g=c[a+16>>2]|0;o=p;p=0;n=e;m=f;while(1){b[h+(_(g,m)|0)+(n<<1)>>1]=j;l=(o|0)<0;p=p+1|0;if((p|0)>=(k|0))break;else{o=(l?v:u)+o|0;n=(l?t:s)+n|0;m=m+(l?r:q)|0}}}}else{switch(l|0){case 63488:break;default:{w=35;break a}}l=(g-e|0)<0?0-(g-e)|0:g-e|0;m=(h-f|0)<0?0-(h-f)|0:h-f|0;if((l|0)<(m|0)){p=(l<<1)-m|0;v=l<<1;n=l-m|0;l=m;m=0;o=1}else{p=(m<<1)-l|0;v=m<<1;n=m-l|0;m=1;o=0}u=n<<1;t=(g|0)<(e|0)?0-m|0:m;s=(g|0)<(e|0)?-1:1;r=(h|0)<(f|0)?0-o|0:o;q=(h|0)<(f|0)?-1:1;k=l+((k|0)!=0&1)|0;if((k|0)>0){h=c[a+20>>2]|0;g=c[a+16>>2]|0;o=p;p=0;n=e;m=f;while(1){b[h+(_(g,m)|0)+(n<<1)>>1]=j;l=(o|0)<0;p=p+1|0;if((p|0)>=(k|0))break;else{o=(l?v:u)+o|0;n=(l?t:s)+n|0;m=m+(l?r:q)|0}}}}while(0);if((w|0)==35){l=(g-e|0)<0?0-(g-e)|0:g-e|0;m=(h-f|0)<0?0-(h-f)|0:h-f|0;if((l|0)<(m|0)){p=(l<<1)-m|0;v=l<<1;n=l-m|0;l=m;m=0;o=1}else{p=(m<<1)-l|0;v=m<<1;n=m-l|0;m=1;o=0}u=n<<1;t=(g|0)<(e|0)?0-m|0:m;s=(g|0)<(e|0)?-1:1;r=(h|0)<(f|0)?0-o|0:o;q=(h|0)<(f|0)?-1:1;k=l+((k|0)!=0&1)|0;if((k|0)>0){h=c[a+20>>2]|0;g=c[a+16>>2]|0;o=p;p=0;n=e;m=f;while(1){b[h+(_(g,m)|0)+(n<<1)>>1]=j;l=(o|0)<0;p=p+1|0;if((p|0)>=(k|0))break;else{o=(l?v:u)+o|0;n=(l?t:s)+n|0;m=m+(l?r:q)|0}}}}i=x;return}function sdb(b,e,f,g,h,i){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0;j=c[e+4>>2]|0;if(!j){a[f>>0]=a[(c[124356+((d[e+28>>0]|0)<<2)>>2]|0)+((c[e+12>>2]&b)>>>(d[e+32>>0]|0))>>0]|0;a[g>>0]=a[(c[124356+((d[e+29>>0]|0)<<2)>>2]|0)+((c[e+16>>2]&b)>>>(d[e+33>>0]|0))>>0]|0;a[h>>0]=a[(c[124356+((d[e+30>>0]|0)<<2)>>2]|0)+((c[e+20>>2]&b)>>>(d[e+34>>0]|0))>>0]|0;a[i>>0]=a[(c[124356+((d[e+31>>0]|0)<<2)>>2]|0)+((c[e+24>>2]&b)>>>(d[e+35>>0]|0))>>0]|0;return}if((c[j>>2]|0)>>>0>b>>>0){a[f>>0]=a[(c[j+4>>2]|0)+(b<<2)>>0]|0;a[g>>0]=a[(c[(c[e+4>>2]|0)+4>>2]|0)+(b<<2)+1>>0]|0;a[h>>0]=a[(c[(c[e+4>>2]|0)+4>>2]|0)+(b<<2)+2>>0]|0;a[i>>0]=a[(c[(c[e+4>>2]|0)+4>>2]|0)+(b<<2)+3>>0]|0;return}else{a[i>>0]=0;a[h>>0]=0;a[g>>0]=0;a[f>>0]=0;return}}function tdb(b,e,f,g,h,i,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;if((h|0)==(f|0)){k=(c[b+20>>2]|0)+(_((c[b+16>>2]|0)/(d[(c[b+4>>2]|0)+9>>0]|0|0)|0,h)|0)|0;if((e|0)>(g|0)){l=e-g+((j|0)!=0&1)|0;k=j|0?k+g|0:k+g+1|0}else{l=g-e+((j|0)!=0&1)|0;k=k+e|0}B6a(k,i,l)|0;return}if((e|0)==(g|0)){m=(c[b+16>>2]|0)/(d[(c[b+4>>2]|0)+9>>0]|0|0)|0;k=c[b+20>>2]|0;if((h|0)<(f|0)){k=k+(_(m,h)|0)+e|0;l=f-h+((j|0)!=0&1)|0;k=j|0?k:k+m|0}else{l=h-f+((j|0)!=0&1)|0;k=k+(_(m,f)|0)+e|0}if(!l)return;while(1){l=l+-1|0;a[k>>0]=i;if(!l)break;else k=k+m|0}return}if((((e-g|0)<0?0-(e-g)|0:e-g|0)|0)==(((f-h|0)<0?0-(f-h)|0:f-h|0)|0)){l=(c[b+16>>2]|0)/(d[(c[b+4>>2]|0)+9>>0]|0|0)|0;k=c[b+20>>2]|0;if((h|0)<(f|0)){b=k+(_(l,h)|0)+g|0;l=l+((g|0)>(e|0)?-1:1)|0;k=f-h|0;m=l;l=(j|0)==0?b+l|0:b}else{b=k+(_(l,f)|0)+e|0;k=h-f|0;m=l+((e|0)>(g|0)?-1:1)|0;l=b}k=k+((j|0)!=0&1)|0;if(!k)return;while(1){k=k+-1|0;a[l>>0]=i;if(!k)break;else l=l+m|0}return}else{l=(g-e|0)<0?0-(g-e)|0:g-e|0;k=(h-f|0)<0?0-(h-f)|0:h-f|0;if((l|0)<(k|0)){n=(l<<1)-k|0;t=l<<1;m=l-k|0;l=0;o=1}else{n=(k<<1)-l|0;t=k<<1;m=k-l|0;k=l;l=1;o=0}s=m<<1;r=(e|0)>(g|0)?0-l|0:l;q=(e|0)>(g|0)?-1:1;p=(h|0)<(f|0)?0-o|0:o;h=(h|0)<(f|0)?-1:1;g=k+((j|0)!=0&1)|0;if((g|0)<=0)return;o=0;m=e;l=f;while(1){a[(c[b+20>>2]|0)+(_(c[b+16>>2]|0,l)|0)+m>>0]=i;k=(n|0)<0;o=o+1|0;if((o|0)>=(g|0))break;else{n=(k?t:s)+n|0;m=(k?r:q)+m|0;l=l+(k?p:h)|0}}return}}function udb(a,b,e,f,g,h,j){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+16|0;if((g|0)==(e|0)){k=(c[a+20>>2]|0)+((_((c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0,g)|0)<<2)|0;if((f|0)<(b|0)){l=b-f+((j|0)!=0&1)|0;k=j|0?k+(f<<2)|0:k+(f<<2)+4|0}else{l=f-b+((j|0)!=0&1)|0;k=k+(b<<2)|0}if(!l){i=v;return}while(1){l=l+-1|0;c[k>>2]=h;if(!l)break;else k=k+4|0}i=v;return}if((f|0)==(b|0)){m=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;k=c[a+20>>2]|0;if((g|0)<(e|0)){k=k+((_(m,g)|0)<<2)+(f<<2)|0;l=e-g+((j|0)!=0&1)|0;k=j|0?k:k+(m<<2)|0}else{l=g-e+((j|0)!=0&1)|0;k=k+((_(m,e)|0)<<2)+(f<<2)|0}if(!l){i=v;return}while(1){l=l+-1|0;c[k>>2]=h;if(!l)break;else k=k+(m<<2)|0}i=v;return}if((((b-f|0)<0?0-(b-f)|0:b-f|0)|0)==(((e-g|0)<0?0-(e-g)|0:e-g|0)|0)){l=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;k=c[a+20>>2]|0;if((g|0)<(e|0)){a=k+((_(l,g)|0)<<2)+(f<<2)|0;l=l+((f|0)>(b|0)?-1:1)|0;k=e-g|0;m=l;l=(j|0)==0?a+(l<<2)|0:a}else{a=k+((_(l,e)|0)<<2)+(b<<2)|0;k=g-e|0;m=l+((f|0)<(b|0)?-1:1)|0;l=a}k=k+((j|0)!=0&1)|0;if(!k){i=v;return}while(1){k=k+-1|0;c[l>>2]=h;if(!k)break;else l=l+(m<<2)|0}i=v;return}k=c[a+4>>2]|0;sdb(h,k,v+3|0,v+2|0,v+1|0,v);do if((c[k+12>>2]|0)==16711680){m=(f-b|0)<0?0-(f-b)|0:f-b|0;n=(g-e|0)<0?0-(g-e)|0:g-e|0;if(!(c[k+24>>2]|0)){if((m|0)<(n|0)){o=(m<<1)-n|0;u=m<<1;l=m-n|0;m=n;k=0;n=1}else{o=(n<<1)-m|0;u=n<<1;l=n-m|0;k=1;n=0}t=l<<1;s=(f|0)<(b|0)?0-k|0:k;r=(f|0)<(b|0)?-1:1;q=(g|0)<(e|0)?0-n|0:n;p=(g|0)<(e|0)?-1:1;g=m+((j|0)!=0&1)|0;if((g|0)<=0)break;f=c[a+20>>2]|0;n=o;o=0;m=b;l=e;while(1){c[f+(_(c[a+16>>2]|0,l)|0)+(m<<2)>>2]=h;k=(n|0)<0;o=o+1|0;if((o|0)>=(g|0))break;else{n=(k?u:t)+n|0;m=(k?s:r)+m|0;l=l+(k?q:p)|0}}}else{if((m|0)<(n|0)){o=(m<<1)-n|0;u=m<<1;l=m-n|0;m=n;k=0;n=1}else{o=(n<<1)-m|0;u=n<<1;l=n-m|0;k=1;n=0}t=l<<1;s=(f|0)<(b|0)?0-k|0:k;r=(f|0)<(b|0)?-1:1;q=(g|0)<(e|0)?0-n|0:n;p=(g|0)<(e|0)?-1:1;g=m+((j|0)!=0&1)|0;if((g|0)<=0)break;f=c[a+20>>2]|0;n=o;o=0;m=b;l=e;while(1){c[f+(_(c[a+16>>2]|0,l)|0)+(m<<2)>>2]=h;k=(n|0)<0;o=o+1|0;if((o|0)>=(g|0))break;else{n=(k?u:t)+n|0;m=(k?s:r)+m|0;l=l+(k?q:p)|0}}}}else{k=(f-b|0)<0?0-(f-b)|0:f-b|0;l=(g-e|0)<0?0-(g-e)|0:g-e|0;if((k|0)<(l|0)){o=(k<<1)-l|0;u=k<<1;m=k-l|0;k=l;l=0;n=1}else{o=(l<<1)-k|0;u=l<<1;m=l-k|0;l=1;n=0}t=m<<1;s=(f|0)<(b|0)?0-l|0:l;r=(f|0)<(b|0)?-1:1;q=(g|0)<(e|0)?0-n|0:n;p=(g|0)<(e|0)?-1:1;g=k+((j|0)!=0&1)|0;if((g|0)>0){f=c[a+20>>2]|0;n=o;o=0;m=b;l=e;while(1){c[f+(_(c[a+16>>2]|0,l)|0)+(m<<2)>>2]=h;k=(n|0)<0;o=o+1|0;if((o|0)>=(g|0))break;else{n=(k?u:t)+n|0;m=(k?s:r)+m|0;l=l+(k?q:p)|0}}}}while(0);i=v;return}function vdb(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=i;i=i+48|0;if(!a){c[B>>2]=600882;l6a(608461,B)|0;f=0;i=B;return f|0}if(!b){c[B+8>>2]=600887;l6a(608461,B+8|0)|0;f=0;i=B;return f|0}if(!d){c[B+16>>2]=600890;l6a(608461,B+16|0)|0;f=0;i=B;return f|0}if(!e){c[B+24>>2]=600893;l6a(608461,B+24|0)|0;f=0;i=B;return f|0}if(!f){c[B+32>>2]=600896;l6a(608461,B+32|0)|0;f=0;i=B;return f|0}z=c[a+8>>2]|0;if((z|0)<1){f=0;i=B;return f|0}A=c[a+12>>2]|0;if((A|0)<1){f=0;i=B;return f|0}j=c[b>>2]|0;h=c[d>>2]|0;m=c[e>>2]|0;g=c[f>>2]|0;y=c[a>>2]|0;v=c[a+4>>2]|0;w=z+y+-1|0;x=A+v+-1|0;if((g|0)<(A+v|0)&(((g|0)<(v|0)|((h|0)>=(A+v|0)|((h|0)<(v|0)|((m|0)<(y|0)|((j|0)<(y|0)|(j|0)>=(z+y|0))|(m|0)<(z+y|0)^1))))^1)){f=1;i=B;return f|0}if((j|0)<(y|0)&(m|0)<(y|0)){f=0;i=B;return f|0}if(!(((g|0)<(A+v|0)|(h|0)>=(A+v|0)^1)&(((h|0)<(v|0)&(g|0)<(v|0)|(j|0)>=(z+y|0)&((m|0)<(z+y|0)^1))^1))){f=0;i=B;return f|0}if((h|0)==(g|0)){if((j|0)<(y|0))c[b>>2]=y;else if((j|0)>=(z+y|0))c[b>>2]=w;if((m|0)<(y|0)){c[e>>2]=y;f=1;i=B;return f|0}if((m|0)<(z+y|0)){f=1;i=B;return f|0}c[e>>2]=w;f=1;i=B;return f|0}if((j|0)==(m|0)){if((h|0)<(v|0))c[d>>2]=v;else if((h|0)>=(A+v|0))c[d>>2]=x;if((g|0)<(v|0)){c[f>>2]=v;f=1;i=B;return f|0}if((g|0)<(A+v|0)){f=1;i=B;return f|0}c[f>>2]=x;f=1;i=B;return f|0}a=(h|0)<(v|0)?2:(h|0)>=(A+v|0)&1;if((j|0)<(y|0))a=a|4;else a=(z+y|0)>(j|0)?a:a|8;k=(g|0)<(v|0)?2:(A+v|0)<=(g|0)&1;k=(m|0)<(y|0)?k|4:(m|0)<(z+y|0)?k:k|8;a:do if(!(k|a))a=m;else{n=0;o=0;while(1){s=w-j|0;t=y-j|0;q=x-h|0;r=v-h|0;if(!a){p=a;a=n;l=o;break}if(k&a|0){g=0;u=67;break}do if(!(a&2)){if(a&1|0){l=((_(m-j|0,q)|0)/(g-h|0)|0)+j|0;h=x;break}if(a&4|0){l=y;h=((_(t,g-h|0)|0)/(m-j|0)|0)+h|0;break}if(!(a&8)){l=n;h=o;break}l=w;h=((_(s,g-h|0)|0)/(m-j|0)|0)+h|0}else{l=((_(m-j|0,r)|0)/(g-h|0)|0)+j|0;h=v}while(0);a=(v|0)>(h|0)?2:(A+v|0)<=(h|0)&1;if((y|0)>(l|0))a=a|4;else a=(z+y|0)>(l|0)?a:a|8;if(!(k|a)){j=l;a=m;break a}else{n=l;j=l;o=h}}if((u|0)==67){i=B;return g|0}n=a;while(1){if(k&p|0){g=0;break}do if(!(k&2)){if(k&1|0){a=((_(m-j|0,q)|0)/(g-h|0)|0)+j|0;g=x;break}if(k&4|0){a=y;g=((_(t,g-h|0)|0)/(m-j|0)|0)+h|0;break}if(!(k&8)){a=n;g=l;break}a=w;g=((_(s,g-h|0)|0)/(m-j|0)|0)+h|0}else{a=((_(m-j|0,r)|0)/(g-h|0)|0)+j|0;g=v}while(0);k=(v|0)>(g|0)?2:(A+v|0)<=(g|0)&1;if((y|0)>(a|0))k=k|4;else k=(z+y|0)>(a|0)?k:k|8;if(!(k|p))break a;else{n=a;m=a;l=g}}i=B;return g|0}while(0);c[b>>2]=j;c[d>>2]=h;c[e>>2]=a;c[f>>2]=g;f=1;i=B;return f|0}function wdb(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0;l=i;i=i+16|0;a:do if(!d)h=l6a(601117,l)|0;else{k=b[(c[d+4>>2]|0)+8>>1]|0;if((k&255)<8){h=l6a(600899,l+8|0)|0;break}h=c[d+36>>2]|0;if((h|0)>(e|0))h=0;else{j=c[d+40>>2]|0;if((j|0)>(f|0))h=0;else if(((c[d+44>>2]|0)+h|0)>(e|0))if(((c[d+48>>2]|0)+j|0)>(f|0))switch((k&65535)>>>8&65535|0){case 1:{a[(c[d+20>>2]|0)+(_(c[d+16>>2]|0,f)|0)+e>>0]=g;h=0;break a}case 2:{b[(c[d+20>>2]|0)+(_(c[d+16>>2]|0,f)|0)+(e<<1)>>1]=g;h=0;break a}case 3:{h=k7a(4)|0;break a}case 4:{c[(c[d+20>>2]|0)+(_(c[d+16>>2]|0,f)|0)+(e<<2)>>2]=g;h=0;break a}default:{h=0;break a}}else h=0;else h=0}}while(0);i=l;return h|0}function xdb(a,b,e,f,g,h,j,k){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+32|0;if(!a){g=l6a(600943,r)|0;i=r;return g|0}m=c[a+4>>2]|0;a:do switch(d[m+9>>0]|0|0){case 2:{n=c[m+12>>2]|0;n=(n|0)==31744?3:(n|0)==63488?1:2;break}case 4:{l=(c[m+24>>2]|0)!=0;if((c[m+12>>2]|0)==16711680){n=l?4:5;break a}else{n=l?6:7;break a}}default:{g=l6a(600993,r+8|0)|0;i=r;return g|0}}while(0);if((e|0)>1){q=1;do{l=q+-1|0;c[r+24>>2]=c[b+(l<<3)>>2];c[r+20>>2]=c[b+(l<<3)+4>>2];l=b+(q<<3)|0;c[r+16>>2]=c[l>>2];m=b+(q<<3)+4|0;c[r+12>>2]=c[m>>2];if(vdb(a+36|0,r+24|0,r+20|0,r+16|0,r+12|0)|0){o=c[r+16>>2]|0;p=c[r+12>>2]|0;if((o|0)==(c[l>>2]|0))l=(p|0)!=(c[m>>2]|0);else l=1;xi[n&7](a,c[r+24>>2]|0,c[r+20>>2]|0,o,p,f,g,h,j,k,l&1)}q=q+1|0}while((q|0)!=(e|0))}m=c[b+(e+-1<<3)>>2]|0;if((c[b>>2]|0)==(m|0)){l=c[b+(e+-1<<3)+4>>2]|0;if((c[b+4>>2]|0)==(l|0)){g=0;i=r;return g|0}}else l=c[b+(e+-1<<3)+4>>2]|0;Fdb(a,m,l,f,g,h,j,k)|0;g=0;i=r;return g|0}function ydb(a,f,g,h,i,j,k,l,m,n,o){a=a|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;var p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;if((j+-1|0)>>>0<2){p=n&255;z=((_(n&255,m&255)|0)>>>0)/255|0;y=((_(n&255,l&255)|0)>>>0)/255|0;x=((_(n&255,k&255)|0)>>>0)/255|0}else{p=n&255;z=m&255;y=l&255;x=k&255}w=p^255;if((i|0)==(g|0))switch(j|0){case 1:{m=(c[a+20>>2]|0)+((_((c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0,i)|0)<<1)|0;if((h|0)<(f|0)){l=f-h+((o|0)!=0&1)|0;m=o|0?m+(h<<1)|0:m+(h<<1)+2|0}else{l=h-f+((o|0)!=0&1)|0;m=m+(f<<1)|0}if(!l)return;while(1){l=l+-1|0;g=e[m>>1]|0;b[m>>1]=((((_(d[594528+(g>>>5&63)>>0]|0,w)|0)>>>0)/255|0)+y|0)>>>2<<5|((((_(d[594592+(g>>>11)>>0]|0,w)|0)>>>0)/255|0)+x|0)>>>3<<11|((((_(d[594592+(g&31)>>0]|0,w)|0)>>>0)/255|0)+z|0)>>>3;if(!l)break;else m=m+2|0}return}case 2:{m=(c[a+20>>2]|0)+((_((c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0,i)|0)<<1)|0;if((h|0)<(f|0)){l=f-h+((o|0)!=0&1)|0;m=o|0?m+(h<<1)|0:m+(h<<1)+2|0}else{l=h-f+((o|0)!=0&1)|0;m=m+(f<<1)|0}if(!l)return;while(1){l=l+-1|0;g=e[m>>1]|0;f=(d[594592+(g>>>11)>>0]|0)+x|0;o=(d[594528+(g>>>5&63)>>0]|0)+y|0;g=(d[594592+(g&31)>>0]|0)+z|0;b[m>>1]=(o>>>0>255?255:o)>>>2<<5|(f>>>0>255?255:f)>>>3<<11|(g>>>0>255?255:g)>>>3;if(!l)break;else m=m+2|0}return}case 4:{m=(c[a+20>>2]|0)+((_((c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0,i)|0)<<1)|0;if((h|0)<(f|0)){l=f-h+((o|0)!=0&1)|0;m=o|0?m+(h<<1)|0:m+(h<<1)+2|0}else{l=h-f+((o|0)!=0&1)|0;m=m+(f<<1)|0}if(!l)return;while(1){l=l+-1|0;g=e[m>>1]|0;b[m>>1]=(((_(d[594528+(g>>>5&63)>>0]|0,y)|0)>>>0)/255|0)>>>2<<5|(((_(d[594592+(g>>>11)>>0]|0,x)|0)>>>0)/255|0)>>>3<<11|(((_(d[594592+(g&31)>>0]|0,z)|0)>>>0)/255|0)>>>3;if(!l)break;else m=m+2|0}return}default:{m=(c[a+20>>2]|0)+((_((c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0,i)|0)<<1)|0;if((h|0)<(f|0)){l=f-h+((o|0)!=0&1)|0;m=o|0?m+(h<<1)|0:m+(h<<1)+2|0}else{l=h-f+((o|0)!=0&1)|0;m=m+(f<<1)|0}if(!l)return;n=(y>>>2<<5|z>>>3|x>>>3<<11)&65535;while(1){l=l+-1|0;b[m>>1]=n;if(!l)break;else m=m+2|0}return}}if((h|0)==(f|0))switch(j|0){case 1:{n=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;m=c[a+20>>2]|0;if((i|0)<(g|0)){m=m+((_(n,i)|0)<<1)+(h<<1)|0;l=g-i+((o|0)!=0&1)|0;m=o|0?m:m+(n<<1)|0}else{l=i-g+((o|0)!=0&1)|0;m=m+((_(n,g)|0)<<1)+(h<<1)|0}if(!l)return;while(1){l=l+-1|0;g=e[m>>1]|0;b[m>>1]=((((_(d[594528+(g>>>5&63)>>0]|0,w)|0)>>>0)/255|0)+y|0)>>>2<<5|((((_(d[594592+(g>>>11)>>0]|0,w)|0)>>>0)/255|0)+x|0)>>>3<<11|((((_(d[594592+(g&31)>>0]|0,w)|0)>>>0)/255|0)+z|0)>>>3;if(!l)break;else m=m+(n<<1)|0}return}case 2:{n=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;m=c[a+20>>2]|0;if((i|0)<(g|0)){m=m+((_(n,i)|0)<<1)+(h<<1)|0;l=g-i+((o|0)!=0&1)|0;m=o|0?m:m+(n<<1)|0}else{l=i-g+((o|0)!=0&1)|0;m=m+((_(n,g)|0)<<1)+(h<<1)|0}if(!l)return;while(1){l=l+-1|0;g=e[m>>1]|0;f=(d[594592+(g>>>11)>>0]|0)+x|0;o=(d[594528+(g>>>5&63)>>0]|0)+y|0;g=(d[594592+(g&31)>>0]|0)+z|0;b[m>>1]=(o>>>0>255?255:o)>>>2<<5|(f>>>0>255?255:f)>>>3<<11|(g>>>0>255?255:g)>>>3;if(!l)break;else m=m+(n<<1)|0}return}case 4:{n=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;m=c[a+20>>2]|0;if((i|0)<(g|0)){m=m+((_(n,i)|0)<<1)+(h<<1)|0;l=g-i+((o|0)!=0&1)|0;m=o|0?m:m+(n<<1)|0}else{l=i-g+((o|0)!=0&1)|0;m=m+((_(n,g)|0)<<1)+(h<<1)|0}if(!l)return;while(1){l=l+-1|0;g=e[m>>1]|0;b[m>>1]=(((_(d[594528+(g>>>5&63)>>0]|0,y)|0)>>>0)/255|0)>>>2<<5|(((_(d[594592+(g>>>11)>>0]|0,x)|0)>>>0)/255|0)>>>3<<11|(((_(d[594592+(g&31)>>0]|0,z)|0)>>>0)/255|0)>>>3;if(!l)break;else m=m+(n<<1)|0}return}default:{k=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;m=c[a+20>>2]|0;if((i|0)<(g|0)){m=m+((_(k,i)|0)<<1)+(h<<1)|0;l=g-i+((o|0)!=0&1)|0;m=o|0?m:m+(k<<1)|0}else{l=i-g+((o|0)!=0&1)|0;m=m+((_(k,g)|0)<<1)+(h<<1)|0}if(!l)return;n=(y>>>2<<5|z>>>3|x>>>3<<11)&65535;while(1){l=l+-1|0;b[m>>1]=n;if(!l)break;else m=m+(k<<1)|0}return}}if((((f-h|0)<0?0-(f-h)|0:f-h|0)|0)==(((g-i|0)<0?0-(g-i)|0:g-i|0)|0))switch(j|0){case 1:{l=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;m=c[a+20>>2]|0;if((i|0)<(g|0)){a=m+((_(l,i)|0)<<1)+(h<<1)|0;l=l+((h|0)>(f|0)?-1:1)|0;m=g-i|0;n=l;l=(o|0)==0?a+(l<<1)|0:a}else{a=m+((_(l,g)|0)<<1)+(f<<1)|0;m=i-g|0;n=l+((h|0)<(f|0)?-1:1)|0;l=a}m=m+((o|0)!=0&1)|0;if(!m)return;while(1){m=m+-1|0;g=e[l>>1]|0;b[l>>1]=((((_(d[594528+(g>>>5&63)>>0]|0,w)|0)>>>0)/255|0)+y|0)>>>2<<5|((((_(d[594592+(g>>>11)>>0]|0,w)|0)>>>0)/255|0)+x|0)>>>3<<11|((((_(d[594592+(g&31)>>0]|0,w)|0)>>>0)/255|0)+z|0)>>>3;if(!m)break;else l=l+(n<<1)|0}return}case 2:{l=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;m=c[a+20>>2]|0;if((i|0)<(g|0)){a=m+((_(l,i)|0)<<1)+(h<<1)|0;l=l+((h|0)>(f|0)?-1:1)|0;m=g-i|0;n=l;l=(o|0)==0?a+(l<<1)|0:a}else{a=m+((_(l,g)|0)<<1)+(f<<1)|0;m=i-g|0;n=l+((h|0)<(f|0)?-1:1)|0;l=a}m=m+((o|0)!=0&1)|0;if(!m)return;while(1){m=m+-1|0;g=e[l>>1]|0;f=(d[594592+(g>>>11)>>0]|0)+x|0;o=(d[594528+(g>>>5&63)>>0]|0)+y|0;g=(d[594592+(g&31)>>0]|0)+z|0;b[l>>1]=(o>>>0>255?255:o)>>>2<<5|(f>>>0>255?255:f)>>>3<<11|(g>>>0>255?255:g)>>>3;if(!m)break;else l=l+(n<<1)|0}return}case 4:{l=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;m=c[a+20>>2]|0;if((i|0)<(g|0)){a=m+((_(l,i)|0)<<1)+(h<<1)|0;l=l+((h|0)>(f|0)?-1:1)|0;m=g-i|0;n=l;l=(o|0)==0?a+(l<<1)|0:a}else{a=m+((_(l,g)|0)<<1)+(f<<1)|0;m=i-g|0;n=l+((h|0)<(f|0)?-1:1)|0;l=a}m=m+((o|0)!=0&1)|0;if(!m)return;while(1){m=m+-1|0;g=e[l>>1]|0;b[l>>1]=(((_(d[594528+(g>>>5&63)>>0]|0,y)|0)>>>0)/255|0)>>>2<<5|(((_(d[594592+(g>>>11)>>0]|0,x)|0)>>>0)/255|0)>>>3<<11|(((_(d[594592+(g&31)>>0]|0,z)|0)>>>0)/255|0)>>>3;if(!m)break;else l=l+(n<<1)|0}return}default:{n=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;m=c[a+20>>2]|0;if((i|0)<(g|0)){m=m+((_(n,i)|0)<<1)+(h<<1)|0;f=n+((h|0)>(f|0)?-1:1)|0;l=g-i|0;k=f;m=(o|0)==0?m+(f<<1)|0:m}else{m=m+((_(n,g)|0)<<1)+(f<<1)|0;l=i-g|0;k=n+((h|0)<(f|0)?-1:1)|0}l=l+((o|0)!=0&1)|0;if(!l)return;n=(y>>>2<<5|z>>>3|x>>>3<<11)&65535;while(1){l=l+-1|0;b[m>>1]=n;if(!l)break;else m=m+(k<<1)|0}return}}switch(j|0){case 1:{m=(h-f|0)<0?0-(h-f)|0:h-f|0;l=(i-g|0)<0?0-(i-g)|0:i-g|0;if((m|0)<(l|0)){p=(m<<1)-l|0;v=m<<1;n=m-l|0;m=l;l=0;k=1}else{p=(l<<1)-m|0;v=l<<1;n=l-m|0;l=1;k=0}u=n<<1;t=(h|0)<(f|0)?0-l|0:l;s=(h|0)<(f|0)?-1:1;r=(i|0)<(g|0)?0-k|0:k;q=(i|0)<(g|0)?-1:1;h=m+((o|0)!=0&1)|0;if((h|0)<=0)return;i=c[a+20>>2]|0;j=c[a+16>>2]|0;k=p;p=0;n=f;l=g;while(1){m=i+(_(j,l)|0)+(n<<1)|0;g=e[m>>1]|0;b[m>>1]=((((_(d[594528+(g>>>5&63)>>0]|0,w)|0)>>>0)/255|0)+y|0)>>>2<<5|((((_(d[594592+(g>>>11)>>0]|0,w)|0)>>>0)/255|0)+x|0)>>>3<<11|((((_(d[594592+(g&31)>>0]|0,w)|0)>>>0)/255|0)+z|0)>>>3;m=(k|0)<0;p=p+1|0;if((p|0)>=(h|0))break;else{k=(m?v:u)+k|0;n=(m?t:s)+n|0;l=l+(m?r:q)|0}}return}case 2:{m=(h-f|0)<0?0-(h-f)|0:h-f|0;l=(i-g|0)<0?0-(i-g)|0:i-g|0;if((m|0)<(l|0)){p=(m<<1)-l|0;v=m<<1;n=m-l|0;m=l;l=0;k=1}else{p=(l<<1)-m|0;v=l<<1;n=l-m|0;l=1;k=0}u=n<<1;t=(h|0)<(f|0)?0-l|0:l;s=(h|0)<(f|0)?-1:1;r=(i|0)<(g|0)?0-k|0:k;q=(i|0)<(g|0)?-1:1;h=m+((o|0)!=0&1)|0;if((h|0)<=0)return;i=c[a+20>>2]|0;j=c[a+16>>2]|0;k=p;p=0;n=f;l=g;while(1){m=i+(_(j,l)|0)+(n<<1)|0;g=e[m>>1]|0;f=(d[594592+(g>>>11)>>0]|0)+x|0;o=(d[594528+(g>>>5&63)>>0]|0)+y|0;g=(d[594592+(g&31)>>0]|0)+z|0;b[m>>1]=(o>>>0>255?255:o)>>>2<<5|(f>>>0>255?255:f)>>>3<<11|(g>>>0>255?255:g)>>>3;m=(k|0)<0;p=p+1|0;if((p|0)>=(h|0))break;else{k=(m?v:u)+k|0;n=(m?t:s)+n|0;l=l+(m?r:q)|0}}return}case 4:{m=(h-f|0)<0?0-(h-f)|0:h-f|0;l=(i-g|0)<0?0-(i-g)|0:i-g|0;if((m|0)<(l|0)){p=(m<<1)-l|0;v=m<<1;n=m-l|0;m=l;l=0;k=1}else{p=(l<<1)-m|0;v=l<<1;n=l-m|0;l=1;k=0}u=n<<1;t=(h|0)<(f|0)?0-l|0:l;s=(h|0)<(f|0)?-1:1;r=(i|0)<(g|0)?0-k|0:k;q=(i|0)<(g|0)?-1:1;h=m+((o|0)!=0&1)|0;if((h|0)<=0)return;i=c[a+20>>2]|0;j=c[a+16>>2]|0;k=p;p=0;n=f;l=g;while(1){m=i+(_(j,l)|0)+(n<<1)|0;g=e[m>>1]|0;b[m>>1]=(((_(d[594528+(g>>>5&63)>>0]|0,y)|0)>>>0)/255|0)>>>2<<5|(((_(d[594592+(g>>>11)>>0]|0,x)|0)>>>0)/255|0)>>>3<<11|(((_(d[594592+(g&31)>>0]|0,z)|0)>>>0)/255|0)>>>3;m=(k|0)<0;p=p+1|0;if((p|0)>=(h|0))break;else{k=(m?v:u)+k|0;n=(m?t:s)+n|0;l=l+(m?r:q)|0}}return}default:{m=(h-f|0)<0?0-(h-f)|0:h-f|0;l=(i-g|0)<0?0-(i-g)|0:i-g|0;if((m|0)<(l|0)){k=(m<<1)-l|0;w=m<<1;n=m-l|0;m=l;l=0;p=1}else{k=(l<<1)-m|0;w=l<<1;n=l-m|0;l=1;p=0}v=n<<1;u=(h|0)<(f|0)?0-l|0:l;t=(h|0)<(f|0)?-1:1;s=(i|0)<(g|0)?0-p|0:p;r=(i|0)<(g|0)?-1:1;q=m+((o|0)!=0&1)|0;if((q|0)<=0)return;h=c[a+20>>2]|0;i=c[a+16>>2]|0;j=(y>>>2<<5|z>>>3|x>>>3<<11)&65535;p=0;n=f;l=g;while(1){b[h+(_(i,l)|0)+(n<<1)>>1]=j;m=(k|0)<0;p=p+1|0;if((p|0)>=(q|0))break;else{k=(m?w:v)+k|0;n=(m?u:t)+n|0;l=l+(m?s:r)|0}}return}}}function zdb(a,f,g,h,i,j,k,l,m,n,o){a=a|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;var p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;F=c[a+4>>2]|0;if((j+-1|0)>>>0<2){p=n&255;I=((_(n&255,m&255)|0)>>>0)/255|0;H=((_(n&255,l&255)|0)>>>0)/255|0;G=((_(n&255,k&255)|0)>>>0)/255|0}else{p=n&255;I=m&255;H=l&255;G=k&255}E=p^255;if((i|0)==(g|0))switch(j|0){case 1:{m=(c[a+20>>2]|0)+((_((c[a+16>>2]|0)/(d[F+9>>0]|0|0)|0,i)|0)<<1)|0;if((h|0)<(f|0)){l=f-h+((o|0)!=0&1)|0;m=o|0?m+(h<<1)|0:m+(h<<1)+2|0}else{l=h-f+((o|0)!=0&1)|0;m=m+(f<<1)|0}if(!l)return;k=c[F+12>>2]|0;p=c[F+32>>2]|0;j=c[F+28>>2]|0;i=c[124356+((j&255)<<2)>>2]|0;h=c[F+16>>2]|0;o=c[124356+((j>>>8&255)<<2)>>2]|0;q=c[F+20>>2]|0;r=c[124356+((j>>>16&255)<<2)>>2]|0;n=c[F+24>>2]|0;while(1){l=l+-1|0;F=e[m>>1]|0;b[m>>1]=((((_(d[o+((h&F)>>>(p>>>8&255))>>0]|0,E)|0)>>>0)/255|0)+H|0)>>>(j>>>8&255)<<(p>>>8&255)|((((_(d[i+((F&k)>>>(p&255))>>0]|0,E)|0)>>>0)/255|0)+G|0)>>>(j&255)<<(p&255)|n|((((_(d[r+((q&F)>>>(p>>>16&255))>>0]|0,E)|0)>>>0)/255|0)+I|0)>>>(j>>>16&255)<<(p>>>16&255);if(!l)break;else m=m+2|0}return}case 2:{m=(c[a+20>>2]|0)+((_((c[a+16>>2]|0)/(d[F+9>>0]|0|0)|0,i)|0)<<1)|0;if((h|0)<(f|0)){l=f-h+((o|0)!=0&1)|0;m=o|0?m+(h<<1)|0:m+(h<<1)+2|0}else{l=h-f+((o|0)!=0&1)|0;m=m+(f<<1)|0}if(!l)return;k=c[F+12>>2]|0;p=c[F+32>>2]|0;j=c[F+28>>2]|0;i=c[124356+((j&255)<<2)>>2]|0;h=c[F+16>>2]|0;o=c[124356+((j>>>8&255)<<2)>>2]|0;q=c[F+20>>2]|0;r=c[124356+((j>>>16&255)<<2)>>2]|0;n=c[F+24>>2]|0;while(1){l=l+-1|0;F=e[m>>1]|0;g=(d[i+((F&k)>>>(p&255))>>0]|0)+G|0;f=(d[o+((h&F)>>>(p>>>8&255))>>0]|0)+H|0;F=(d[r+((q&F)>>>(p>>>16&255))>>0]|0)+I|0;b[m>>1]=(f>>>0>255?255:f)>>>(j>>>8&255)<<(p>>>8&255)|(g>>>0>255?255:g)>>>(j&255)<<(p&255)|n|(F>>>0>255?255:F)>>>(j>>>16&255)<<(p>>>16&255);if(!l)break;else m=m+2|0}return}case 4:{m=(c[a+20>>2]|0)+((_((c[a+16>>2]|0)/(d[F+9>>0]|0|0)|0,i)|0)<<1)|0;if((h|0)<(f|0)){l=f-h+((o|0)!=0&1)|0;m=o|0?m+(h<<1)|0:m+(h<<1)+2|0}else{l=h-f+((o|0)!=0&1)|0;m=m+(f<<1)|0}if(!l)return;k=c[F+12>>2]|0;p=c[F+32>>2]|0;j=c[F+28>>2]|0;i=c[124356+((j&255)<<2)>>2]|0;h=c[F+16>>2]|0;o=c[124356+((j>>>8&255)<<2)>>2]|0;q=c[F+20>>2]|0;r=c[124356+((j>>>16&255)<<2)>>2]|0;n=c[F+24>>2]|0;while(1){l=l+-1|0;F=e[m>>1]|0;b[m>>1]=(((_(d[o+((h&F)>>>(p>>>8&255))>>0]|0,H)|0)>>>0)/255|0)>>>(j>>>8&255)<<(p>>>8&255)|(((_(d[i+((F&k)>>>(p&255))>>0]|0,G)|0)>>>0)/255|0)>>>(j&255)<<(p&255)|n|(((_(d[r+((q&F)>>>(p>>>16&255))>>0]|0,I)|0)>>>0)/255|0)>>>(j>>>16&255)<<(p>>>16&255);if(!l)break;else m=m+2|0}return}default:{m=(c[a+20>>2]|0)+((_((c[a+16>>2]|0)/(d[F+9>>0]|0|0)|0,i)|0)<<1)|0;if((h|0)<(f|0)){l=f-h+((o|0)!=0&1)|0;m=o|0?m+(h<<1)|0:m+(h<<1)+2|0}else{l=h-f+((o|0)!=0&1)|0;m=m+(f<<1)|0}if(!l)return;g=c[F+28>>2]|0;n=c[F+32>>2]|0;n=(H>>>(g>>>8&255)<<(n>>>8&255)|G>>>(g&255)<<(n&255)|c[F+24>>2]|I>>>(g>>>16&255)<<(n>>>16&255))&65535;while(1){l=l+-1|0;b[m>>1]=n;if(!l)break;else m=m+2|0}return}}if((h|0)==(f|0))switch(j|0){case 1:{s=(c[a+16>>2]|0)/(d[F+9>>0]|0|0)|0;m=c[a+20>>2]|0;if((i|0)<(g|0)){m=m+((_(s,i)|0)<<1)+(h<<1)|0;l=g-i+((o|0)!=0&1)|0;m=o|0?m:m+(s<<1)|0}else{l=i-g+((o|0)!=0&1)|0;m=m+((_(s,g)|0)<<1)+(h<<1)|0}if(!l)return;k=c[F+12>>2]|0;p=c[F+32>>2]|0;j=c[F+28>>2]|0;i=c[124356+((j&255)<<2)>>2]|0;h=c[F+16>>2]|0;o=c[124356+((j>>>8&255)<<2)>>2]|0;q=c[F+20>>2]|0;r=c[124356+((j>>>16&255)<<2)>>2]|0;n=c[F+24>>2]|0;while(1){l=l+-1|0;F=e[m>>1]|0;b[m>>1]=((((_(d[o+((h&F)>>>(p>>>8&255))>>0]|0,E)|0)>>>0)/255|0)+H|0)>>>(j>>>8&255)<<(p>>>8&255)|((((_(d[i+((F&k)>>>(p&255))>>0]|0,E)|0)>>>0)/255|0)+G|0)>>>(j&255)<<(p&255)|n|((((_(d[r+((q&F)>>>(p>>>16&255))>>0]|0,E)|0)>>>0)/255|0)+I|0)>>>(j>>>16&255)<<(p>>>16&255);if(!l)break;else m=m+(s<<1)|0}return}case 2:{s=(c[a+16>>2]|0)/(d[F+9>>0]|0|0)|0;m=c[a+20>>2]|0;if((i|0)<(g|0)){m=m+((_(s,i)|0)<<1)+(h<<1)|0;l=g-i+((o|0)!=0&1)|0;m=o|0?m:m+(s<<1)|0}else{l=i-g+((o|0)!=0&1)|0;m=m+((_(s,g)|0)<<1)+(h<<1)|0}if(!l)return;k=c[F+12>>2]|0;p=c[F+32>>2]|0;j=c[F+28>>2]|0;i=c[124356+((j&255)<<2)>>2]|0;h=c[F+16>>2]|0;o=c[124356+((j>>>8&255)<<2)>>2]|0;q=c[F+20>>2]|0;r=c[124356+((j>>>16&255)<<2)>>2]|0;n=c[F+24>>2]|0;while(1){l=l+-1|0;F=e[m>>1]|0;g=(d[i+((F&k)>>>(p&255))>>0]|0)+G|0;f=(d[o+((h&F)>>>(p>>>8&255))>>0]|0)+H|0;F=(d[r+((q&F)>>>(p>>>16&255))>>0]|0)+I|0;b[m>>1]=(f>>>0>255?255:f)>>>(j>>>8&255)<<(p>>>8&255)|(g>>>0>255?255:g)>>>(j&255)<<(p&255)|n|(F>>>0>255?255:F)>>>(j>>>16&255)<<(p>>>16&255);if(!l)break;else m=m+(s<<1)|0}return}case 4:{s=(c[a+16>>2]|0)/(d[F+9>>0]|0|0)|0;m=c[a+20>>2]|0;if((i|0)<(g|0)){m=m+((_(s,i)|0)<<1)+(h<<1)|0;l=g-i+((o|0)!=0&1)|0;m=o|0?m:m+(s<<1)|0}else{l=i-g+((o|0)!=0&1)|0;m=m+((_(s,g)|0)<<1)+(h<<1)|0}if(!l)return;k=c[F+12>>2]|0;p=c[F+32>>2]|0;j=c[F+28>>2]|0;i=c[124356+((j&255)<<2)>>2]|0;h=c[F+16>>2]|0;o=c[124356+((j>>>8&255)<<2)>>2]|0;q=c[F+20>>2]|0;r=c[124356+((j>>>16&255)<<2)>>2]|0;n=c[F+24>>2]|0;while(1){l=l+-1|0;F=e[m>>1]|0;b[m>>1]=(((_(d[o+((h&F)>>>(p>>>8&255))>>0]|0,H)|0)>>>0)/255|0)>>>(j>>>8&255)<<(p>>>8&255)|(((_(d[i+((F&k)>>>(p&255))>>0]|0,G)|0)>>>0)/255|0)>>>(j&255)<<(p&255)|n|(((_(d[r+((q&F)>>>(p>>>16&255))>>0]|0,I)|0)>>>0)/255|0)>>>(j>>>16&255)<<(p>>>16&255);if(!l)break;else m=m+(s<<1)|0}return}default:{k=(c[a+16>>2]|0)/(d[F+9>>0]|0|0)|0;m=c[a+20>>2]|0;if((i|0)<(g|0)){m=m+((_(k,i)|0)<<1)+(h<<1)|0;l=g-i+((o|0)!=0&1)|0;m=o|0?m:m+(k<<1)|0}else{l=i-g+((o|0)!=0&1)|0;m=m+((_(k,g)|0)<<1)+(h<<1)|0}if(!l)return;g=c[F+28>>2]|0;n=c[F+32>>2]|0;n=(H>>>(g>>>8&255)<<(n>>>8&255)|G>>>(g&255)<<(n&255)|c[F+24>>2]|I>>>(g>>>16&255)<<(n>>>16&255))&65535;while(1){l=l+-1|0;b[m>>1]=n;if(!l)break;else m=m+(k<<1)|0}return}}if((((f-h|0)<0?0-(f-h)|0:f-h|0)|0)==(((g-i|0)<0?0-(g-i)|0:g-i|0)|0))switch(j|0){case 1:{l=(c[a+16>>2]|0)/(d[F+9>>0]|0|0)|0;m=c[a+20>>2]|0;if((i|0)<(g|0)){s=m+((_(l,i)|0)<<1)+(h<<1)|0;f=l+((h|0)>(f|0)?-1:1)|0;m=g-i|0;t=f;s=(o|0)==0?s+(f<<1)|0:s}else{s=m+((_(l,g)|0)<<1)+(f<<1)|0;m=i-g|0;t=l+((h|0)<(f|0)?-1:1)|0}m=m+((o|0)!=0&1)|0;if(!m)return;k=c[F+12>>2]|0;p=c[F+32>>2]|0;j=c[F+28>>2]|0;i=c[124356+((j&255)<<2)>>2]|0;h=c[F+16>>2]|0;o=c[124356+((j>>>8&255)<<2)>>2]|0;q=c[F+20>>2]|0;r=c[124356+((j>>>16&255)<<2)>>2]|0;n=c[F+24>>2]|0;l=m;m=s;while(1){l=l+-1|0;F=e[m>>1]|0;b[m>>1]=((((_(d[o+((h&F)>>>(p>>>8&255))>>0]|0,E)|0)>>>0)/255|0)+H|0)>>>(j>>>8&255)<<(p>>>8&255)|((((_(d[i+((F&k)>>>(p&255))>>0]|0,E)|0)>>>0)/255|0)+G|0)>>>(j&255)<<(p&255)|n|((((_(d[r+((q&F)>>>(p>>>16&255))>>0]|0,E)|0)>>>0)/255|0)+I|0)>>>(j>>>16&255)<<(p>>>16&255);if(!l)break;else m=m+(t<<1)|0}return}case 2:{l=(c[a+16>>2]|0)/(d[F+9>>0]|0|0)|0;m=c[a+20>>2]|0;if((i|0)<(g|0)){s=m+((_(l,i)|0)<<1)+(h<<1)|0;f=l+((h|0)>(f|0)?-1:1)|0;m=g-i|0;t=f;s=(o|0)==0?s+(f<<1)|0:s}else{s=m+((_(l,g)|0)<<1)+(f<<1)|0;m=i-g|0;t=l+((h|0)<(f|0)?-1:1)|0}m=m+((o|0)!=0&1)|0;if(!m)return;k=c[F+12>>2]|0;p=c[F+32>>2]|0;j=c[F+28>>2]|0;i=c[124356+((j&255)<<2)>>2]|0;h=c[F+16>>2]|0;o=c[124356+((j>>>8&255)<<2)>>2]|0;q=c[F+20>>2]|0;r=c[124356+((j>>>16&255)<<2)>>2]|0;n=c[F+24>>2]|0;l=m;m=s;while(1){l=l+-1|0;F=e[m>>1]|0;g=(d[i+((F&k)>>>(p&255))>>0]|0)+G|0;f=(d[o+((h&F)>>>(p>>>8&255))>>0]|0)+H|0;F=(d[r+((q&F)>>>(p>>>16&255))>>0]|0)+I|0;b[m>>1]=(f>>>0>255?255:f)>>>(j>>>8&255)<<(p>>>8&255)|(g>>>0>255?255:g)>>>(j&255)<<(p&255)|n|(F>>>0>255?255:F)>>>(j>>>16&255)<<(p>>>16&255);if(!l)break;else m=m+(t<<1)|0}return}case 4:{l=(c[a+16>>2]|0)/(d[F+9>>0]|0|0)|0;m=c[a+20>>2]|0;if((i|0)<(g|0)){s=m+((_(l,i)|0)<<1)+(h<<1)|0;f=l+((h|0)>(f|0)?-1:1)|0;m=g-i|0;t=f;s=(o|0)==0?s+(f<<1)|0:s}else{s=m+((_(l,g)|0)<<1)+(f<<1)|0;m=i-g|0;t=l+((h|0)<(f|0)?-1:1)|0}m=m+((o|0)!=0&1)|0;if(!m)return;k=c[F+12>>2]|0;p=c[F+32>>2]|0;j=c[F+28>>2]|0;i=c[124356+((j&255)<<2)>>2]|0;h=c[F+16>>2]|0;o=c[124356+((j>>>8&255)<<2)>>2]|0;q=c[F+20>>2]|0;r=c[124356+((j>>>16&255)<<2)>>2]|0;n=c[F+24>>2]|0;l=m;m=s;while(1){l=l+-1|0;F=e[m>>1]|0;b[m>>1]=(((_(d[o+((h&F)>>>(p>>>8&255))>>0]|0,H)|0)>>>0)/255|0)>>>(j>>>8&255)<<(p>>>8&255)|(((_(d[i+((F&k)>>>(p&255))>>0]|0,G)|0)>>>0)/255|0)>>>(j&255)<<(p&255)|n|(((_(d[r+((q&F)>>>(p>>>16&255))>>0]|0,I)|0)>>>0)/255|0)>>>(j>>>16&255)<<(p>>>16&255);if(!l)break;else m=m+(t<<1)|0}return}default:{n=(c[a+16>>2]|0)/(d[F+9>>0]|0|0)|0;m=c[a+20>>2]|0;if((i|0)<(g|0)){m=m+((_(n,i)|0)<<1)+(h<<1)|0;f=n+((h|0)>(f|0)?-1:1)|0;l=g-i|0;k=f;m=(o|0)==0?m+(f<<1)|0:m}else{m=m+((_(n,g)|0)<<1)+(f<<1)|0;l=i-g|0;k=n+((h|0)<(f|0)?-1:1)|0}l=l+((o|0)!=0&1)|0;if(!l)return;g=c[F+28>>2]|0;n=c[F+32>>2]|0;n=(H>>>(g>>>8&255)<<(n>>>8&255)|G>>>(g&255)<<(n&255)|c[F+24>>2]|I>>>(g>>>16&255)<<(n>>>16&255))&65535;while(1){l=l+-1|0;b[m>>1]=n;if(!l)break;else m=m+(k<<1)|0}return}}else switch(j|0){case 1:{m=(h-f|0)<0?0-(h-f)|0:h-f|0;l=(i-g|0)<0?0-(i-g)|0:i-g|0;if((m|0)<(l|0)){p=(m<<1)-l|0;D=m<<1;n=m-l|0;m=l;l=0;k=1}else{p=(l<<1)-m|0;D=l<<1;n=l-m|0;l=1;k=0}C=n<<1;B=(h|0)<(f|0)?0-l|0:l;A=(h|0)<(f|0)?-1:1;z=(i|0)<(g|0)?0-k|0:k;y=(i|0)<(g|0)?-1:1;x=m+((o|0)!=0&1)|0;if((x|0)<=0)return;w=c[a+20>>2]|0;i=c[a+16>>2]|0;h=c[F+12>>2]|0;o=c[F+32>>2]|0;q=c[F+28>>2]|0;r=c[124356+((q&255)<<2)>>2]|0;s=c[F+16>>2]|0;t=c[124356+((q>>>8&255)<<2)>>2]|0;u=c[F+20>>2]|0;v=c[124356+((q>>>16&255)<<2)>>2]|0;j=c[F+24>>2]|0;k=p;p=0;n=f;l=g;while(1){m=w+(_(i,l)|0)+(n<<1)|0;F=e[m>>1]|0;b[m>>1]=((((_(d[t+((s&F)>>>(o>>>8&255))>>0]|0,E)|0)>>>0)/255|0)+H|0)>>>(q>>>8&255)<<(o>>>8&255)|((((_(d[r+((F&h)>>>(o&255))>>0]|0,E)|0)>>>0)/255|0)+G|0)>>>(q&255)<<(o&255)|j|((((_(d[v+((u&F)>>>(o>>>16&255))>>0]|0,E)|0)>>>0)/255|0)+I|0)>>>(q>>>16&255)<<(o>>>16&255);m=(k|0)<0;p=p+1|0;if((p|0)>=(x|0))break;else{k=(m?D:C)+k|0;n=(m?B:A)+n|0;l=l+(m?z:y)|0}}return}case 2:{m=(h-f|0)<0?0-(h-f)|0:h-f|0;l=(i-g|0)<0?0-(i-g)|0:i-g|0;if((m|0)<(l|0)){p=(m<<1)-l|0;D=m<<1;n=m-l|0;m=l;l=0;k=1}else{p=(l<<1)-m|0;D=l<<1;n=l-m|0;l=1;k=0}C=n<<1;B=(h|0)<(f|0)?0-l|0:l;A=(h|0)<(f|0)?-1:1;z=(i|0)<(g|0)?0-k|0:k;y=(i|0)<(g|0)?-1:1;x=m+((o|0)!=0&1)|0;if((x|0)<=0)return;w=c[a+20>>2]|0;i=c[a+16>>2]|0;h=c[F+12>>2]|0;o=c[F+32>>2]|0;q=c[F+28>>2]|0;r=c[124356+((q&255)<<2)>>2]|0;s=c[F+16>>2]|0;t=c[124356+((q>>>8&255)<<2)>>2]|0;u=c[F+20>>2]|0;v=c[124356+((q>>>16&255)<<2)>>2]|0;j=c[F+24>>2]|0;k=p;p=0;n=f;l=g;while(1){m=w+(_(i,l)|0)+(n<<1)|0;F=e[m>>1]|0;g=(d[r+((F&h)>>>(o&255))>>0]|0)+G|0;f=(d[t+((s&F)>>>(o>>>8&255))>>0]|0)+H|0;F=(d[v+((u&F)>>>(o>>>16&255))>>0]|0)+I|0;b[m>>1]=(f>>>0>255?255:f)>>>(q>>>8&255)<<(o>>>8&255)|(g>>>0>255?255:g)>>>(q&255)<<(o&255)|j|(F>>>0>255?255:F)>>>(q>>>16&255)<<(o>>>16&255);m=(k|0)<0;p=p+1|0;if((p|0)>=(x|0))break;else{k=(m?D:C)+k|0;n=(m?B:A)+n|0;l=l+(m?z:y)|0}}return}case 4:{m=(h-f|0)<0?0-(h-f)|0:h-f|0;l=(i-g|0)<0?0-(i-g)|0:i-g|0;if((m|0)<(l|0)){p=(m<<1)-l|0;D=m<<1;n=m-l|0;m=l;l=0;k=1}else{p=(l<<1)-m|0;D=l<<1;n=l-m|0;l=1;k=0}C=n<<1;B=(h|0)<(f|0)?0-l|0:l;A=(h|0)<(f|0)?-1:1;z=(i|0)<(g|0)?0-k|0:k;y=(i|0)<(g|0)?-1:1;x=m+((o|0)!=0&1)|0;if((x|0)<=0)return;w=c[a+20>>2]|0;i=c[a+16>>2]|0;h=c[F+12>>2]|0;o=c[F+32>>2]|0;q=c[F+28>>2]|0;r=c[124356+((q&255)<<2)>>2]|0;s=c[F+16>>2]|0;t=c[124356+((q>>>8&255)<<2)>>2]|0;u=c[F+20>>2]|0;v=c[124356+((q>>>16&255)<<2)>>2]|0;j=c[F+24>>2]|0;k=p;p=0;n=f;l=g;while(1){m=w+(_(i,l)|0)+(n<<1)|0;F=e[m>>1]|0;b[m>>1]=(((_(d[t+((s&F)>>>(o>>>8&255))>>0]|0,H)|0)>>>0)/255|0)>>>(q>>>8&255)<<(o>>>8&255)|(((_(d[r+((F&h)>>>(o&255))>>0]|0,G)|0)>>>0)/255|0)>>>(q&255)<<(o&255)|j|(((_(d[v+((u&F)>>>(o>>>16&255))>>0]|0,I)|0)>>>0)/255|0)>>>(q>>>16&255)<<(o>>>16&255);m=(k|0)<0;p=p+1|0;if((p|0)>=(x|0))break;else{k=(m?D:C)+k|0;n=(m?B:A)+n|0;l=l+(m?z:y)|0}}return}default:{m=(h-f|0)<0?0-(h-f)|0:h-f|0;l=(i-g|0)<0?0-(i-g)|0:i-g|0;if((m|0)<(l|0)){k=(m<<1)-l|0;v=m<<1;n=m-l|0;m=l;l=0;p=1}else{k=(l<<1)-m|0;v=l<<1;n=l-m|0;l=1;p=0}u=n<<1;t=(h|0)<(f|0)?0-l|0:l;s=(h|0)<(f|0)?-1:1;r=(i|0)<(g|0)?0-p|0:p;q=(i|0)<(g|0)?-1:1;o=m+((o|0)!=0&1)|0;if((o|0)<=0)return;h=c[a+20>>2]|0;i=c[a+16>>2]|0;p=c[F+28>>2]|0;j=c[F+32>>2]|0;j=(H>>>(p>>>8&255)<<(j>>>8&255)|G>>>(p&255)<<(j&255)|c[F+24>>2]|I>>>(p>>>16&255)<<(j>>>16&255))&65535;p=0;n=f;l=g;while(1){b[h+(_(i,l)|0)+(n<<1)>>1]=j;m=(k|0)<0;p=p+1|0;if((p|0)>=(o|0))break;else{k=(m?v:u)+k|0;n=(m?t:s)+n|0;l=l+(m?r:q)|0}}return}}}function Adb(a,f,g,h,i,j,k,l,m,n,o){a=a|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;var p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;if((j+-1|0)>>>0<2){p=n&255;z=((_(n&255,m&255)|0)>>>0)/255|0;y=((_(n&255,l&255)|0)>>>0)/255|0;x=((_(n&255,k&255)|0)>>>0)/255|0}else{p=n&255;z=m&255;y=l&255;x=k&255}w=p^255;if((i|0)==(g|0))switch(j|0){case 1:{m=(c[a+20>>2]|0)+((_((c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0,i)|0)<<1)|0;if((h|0)<(f|0)){l=f-h+((o|0)!=0&1)|0;m=o|0?m+(h<<1)|0:m+(h<<1)+2|0}else{l=h-f+((o|0)!=0&1)|0;m=m+(f<<1)|0}if(!l)return;while(1){l=l+-1|0;g=e[m>>1]|0;b[m>>1]=((((_(d[594592+(g>>>5&31)>>0]|0,w)|0)>>>0)/255|0)+y|0)>>>3<<5|((((_(d[594592+(g>>>10&31)>>0]|0,w)|0)>>>0)/255|0)+x|0)>>>3<<10|((((_(d[594592+(g&31)>>0]|0,w)|0)>>>0)/255|0)+z|0)>>>3;if(!l)break;else m=m+2|0}return}case 2:{m=(c[a+20>>2]|0)+((_((c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0,i)|0)<<1)|0;if((h|0)<(f|0)){l=f-h+((o|0)!=0&1)|0;m=o|0?m+(h<<1)|0:m+(h<<1)+2|0}else{l=h-f+((o|0)!=0&1)|0;m=m+(f<<1)|0}if(!l)return;while(1){l=l+-1|0;g=e[m>>1]|0;f=(d[594592+(g>>>10&31)>>0]|0)+x|0;o=(d[594592+(g>>>5&31)>>0]|0)+y|0;g=(d[594592+(g&31)>>0]|0)+z|0;b[m>>1]=(o>>>0>255?255:o)>>>3<<5|(f>>>0>255?255:f)>>>3<<10|(g>>>0>255?255:g)>>>3;if(!l)break;else m=m+2|0}return}case 4:{m=(c[a+20>>2]|0)+((_((c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0,i)|0)<<1)|0;if((h|0)<(f|0)){l=f-h+((o|0)!=0&1)|0;m=o|0?m+(h<<1)|0:m+(h<<1)+2|0}else{l=h-f+((o|0)!=0&1)|0;m=m+(f<<1)|0}if(!l)return;while(1){l=l+-1|0;g=e[m>>1]|0;b[m>>1]=(((_(d[594592+(g>>>5&31)>>0]|0,y)|0)>>>0)/255|0)>>>3<<5|(((_(d[594592+(g>>>10&31)>>0]|0,x)|0)>>>0)/255|0)>>>3<<10|(((_(d[594592+(g&31)>>0]|0,z)|0)>>>0)/255|0)>>>3;if(!l)break;else m=m+2|0}return}default:{m=(c[a+20>>2]|0)+((_((c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0,i)|0)<<1)|0;if((h|0)<(f|0)){l=f-h+((o|0)!=0&1)|0;m=o|0?m+(h<<1)|0:m+(h<<1)+2|0}else{l=h-f+((o|0)!=0&1)|0;m=m+(f<<1)|0}if(!l)return;n=(y>>>3<<5|z>>>3|x>>>3<<10)&65535;while(1){l=l+-1|0;b[m>>1]=n;if(!l)break;else m=m+2|0}return}}if((h|0)==(f|0))switch(j|0){case 1:{n=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;m=c[a+20>>2]|0;if((i|0)<(g|0)){m=m+((_(n,i)|0)<<1)+(h<<1)|0;l=g-i+((o|0)!=0&1)|0;m=o|0?m:m+(n<<1)|0}else{l=i-g+((o|0)!=0&1)|0;m=m+((_(n,g)|0)<<1)+(h<<1)|0}if(!l)return;while(1){l=l+-1|0;g=e[m>>1]|0;b[m>>1]=((((_(d[594592+(g>>>5&31)>>0]|0,w)|0)>>>0)/255|0)+y|0)>>>3<<5|((((_(d[594592+(g>>>10&31)>>0]|0,w)|0)>>>0)/255|0)+x|0)>>>3<<10|((((_(d[594592+(g&31)>>0]|0,w)|0)>>>0)/255|0)+z|0)>>>3;if(!l)break;else m=m+(n<<1)|0}return}case 2:{n=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;m=c[a+20>>2]|0;if((i|0)<(g|0)){m=m+((_(n,i)|0)<<1)+(h<<1)|0;l=g-i+((o|0)!=0&1)|0;m=o|0?m:m+(n<<1)|0}else{l=i-g+((o|0)!=0&1)|0;m=m+((_(n,g)|0)<<1)+(h<<1)|0}if(!l)return;while(1){l=l+-1|0;g=e[m>>1]|0;f=(d[594592+(g>>>10&31)>>0]|0)+x|0;o=(d[594592+(g>>>5&31)>>0]|0)+y|0;g=(d[594592+(g&31)>>0]|0)+z|0;b[m>>1]=(o>>>0>255?255:o)>>>3<<5|(f>>>0>255?255:f)>>>3<<10|(g>>>0>255?255:g)>>>3;if(!l)break;else m=m+(n<<1)|0}return}case 4:{n=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;m=c[a+20>>2]|0;if((i|0)<(g|0)){m=m+((_(n,i)|0)<<1)+(h<<1)|0;l=g-i+((o|0)!=0&1)|0;m=o|0?m:m+(n<<1)|0}else{l=i-g+((o|0)!=0&1)|0;m=m+((_(n,g)|0)<<1)+(h<<1)|0}if(!l)return;while(1){l=l+-1|0;g=e[m>>1]|0;b[m>>1]=(((_(d[594592+(g>>>5&31)>>0]|0,y)|0)>>>0)/255|0)>>>3<<5|(((_(d[594592+(g>>>10&31)>>0]|0,x)|0)>>>0)/255|0)>>>3<<10|(((_(d[594592+(g&31)>>0]|0,z)|0)>>>0)/255|0)>>>3;if(!l)break;else m=m+(n<<1)|0}return}default:{k=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;m=c[a+20>>2]|0;if((i|0)<(g|0)){m=m+((_(k,i)|0)<<1)+(h<<1)|0;l=g-i+((o|0)!=0&1)|0;m=o|0?m:m+(k<<1)|0}else{l=i-g+((o|0)!=0&1)|0;m=m+((_(k,g)|0)<<1)+(h<<1)|0}if(!l)return;n=(y>>>3<<5|z>>>3|x>>>3<<10)&65535;while(1){l=l+-1|0;b[m>>1]=n;if(!l)break;else m=m+(k<<1)|0}return}}if((((f-h|0)<0?0-(f-h)|0:f-h|0)|0)==(((g-i|0)<0?0-(g-i)|0:g-i|0)|0))switch(j|0){case 1:{l=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;m=c[a+20>>2]|0;if((i|0)<(g|0)){a=m+((_(l,i)|0)<<1)+(h<<1)|0;l=l+((h|0)>(f|0)?-1:1)|0;m=g-i|0;n=l;l=(o|0)==0?a+(l<<1)|0:a}else{a=m+((_(l,g)|0)<<1)+(f<<1)|0;m=i-g|0;n=l+((h|0)<(f|0)?-1:1)|0;l=a}m=m+((o|0)!=0&1)|0;if(!m)return;while(1){m=m+-1|0;g=e[l>>1]|0;b[l>>1]=((((_(d[594592+(g>>>5&31)>>0]|0,w)|0)>>>0)/255|0)+y|0)>>>3<<5|((((_(d[594592+(g>>>10&31)>>0]|0,w)|0)>>>0)/255|0)+x|0)>>>3<<10|((((_(d[594592+(g&31)>>0]|0,w)|0)>>>0)/255|0)+z|0)>>>3;if(!m)break;else l=l+(n<<1)|0}return}case 2:{l=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;m=c[a+20>>2]|0;if((i|0)<(g|0)){a=m+((_(l,i)|0)<<1)+(h<<1)|0;l=l+((h|0)>(f|0)?-1:1)|0;m=g-i|0;n=l;l=(o|0)==0?a+(l<<1)|0:a}else{a=m+((_(l,g)|0)<<1)+(f<<1)|0;m=i-g|0;n=l+((h|0)<(f|0)?-1:1)|0;l=a}m=m+((o|0)!=0&1)|0;if(!m)return;while(1){m=m+-1|0;g=e[l>>1]|0;f=(d[594592+(g>>>10&31)>>0]|0)+x|0;o=(d[594592+(g>>>5&31)>>0]|0)+y|0;g=(d[594592+(g&31)>>0]|0)+z|0;b[l>>1]=(o>>>0>255?255:o)>>>3<<5|(f>>>0>255?255:f)>>>3<<10|(g>>>0>255?255:g)>>>3;if(!m)break;else l=l+(n<<1)|0}return}case 4:{l=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;m=c[a+20>>2]|0;if((i|0)<(g|0)){a=m+((_(l,i)|0)<<1)+(h<<1)|0;l=l+((h|0)>(f|0)?-1:1)|0;m=g-i|0;n=l;l=(o|0)==0?a+(l<<1)|0:a}else{a=m+((_(l,g)|0)<<1)+(f<<1)|0;m=i-g|0;n=l+((h|0)<(f|0)?-1:1)|0;l=a}m=m+((o|0)!=0&1)|0;if(!m)return;while(1){m=m+-1|0;g=e[l>>1]|0;b[l>>1]=(((_(d[594592+(g>>>5&31)>>0]|0,y)|0)>>>0)/255|0)>>>3<<5|(((_(d[594592+(g>>>10&31)>>0]|0,x)|0)>>>0)/255|0)>>>3<<10|(((_(d[594592+(g&31)>>0]|0,z)|0)>>>0)/255|0)>>>3;if(!m)break;else l=l+(n<<1)|0}return}default:{n=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;m=c[a+20>>2]|0;if((i|0)<(g|0)){m=m+((_(n,i)|0)<<1)+(h<<1)|0;f=n+((h|0)>(f|0)?-1:1)|0;l=g-i|0;k=f;m=(o|0)==0?m+(f<<1)|0:m}else{m=m+((_(n,g)|0)<<1)+(f<<1)|0;l=i-g|0;k=n+((h|0)<(f|0)?-1:1)|0}l=l+((o|0)!=0&1)|0;if(!l)return;n=(y>>>3<<5|z>>>3|x>>>3<<10)&65535;while(1){l=l+-1|0;b[m>>1]=n;if(!l)break;else m=m+(k<<1)|0}return}}switch(j|0){case 1:{m=(h-f|0)<0?0-(h-f)|0:h-f|0;l=(i-g|0)<0?0-(i-g)|0:i-g|0;if((m|0)<(l|0)){p=(m<<1)-l|0;v=m<<1;n=m-l|0;m=l;l=0;k=1}else{p=(l<<1)-m|0;v=l<<1;n=l-m|0;l=1;k=0}u=n<<1;t=(h|0)<(f|0)?0-l|0:l;s=(h|0)<(f|0)?-1:1;r=(i|0)<(g|0)?0-k|0:k;q=(i|0)<(g|0)?-1:1;h=m+((o|0)!=0&1)|0;if((h|0)<=0)return;i=c[a+20>>2]|0;j=c[a+16>>2]|0;k=p;p=0;n=f;l=g;while(1){m=i+(_(j,l)|0)+(n<<1)|0;g=e[m>>1]|0;b[m>>1]=((((_(d[594592+(g>>>5&31)>>0]|0,w)|0)>>>0)/255|0)+y|0)>>>3<<5|((((_(d[594592+(g>>>10&31)>>0]|0,w)|0)>>>0)/255|0)+x|0)>>>3<<10|((((_(d[594592+(g&31)>>0]|0,w)|0)>>>0)/255|0)+z|0)>>>3;m=(k|0)<0;p=p+1|0;if((p|0)>=(h|0))break;else{k=(m?v:u)+k|0;n=(m?t:s)+n|0;l=l+(m?r:q)|0}}return}case 2:{m=(h-f|0)<0?0-(h-f)|0:h-f|0;l=(i-g|0)<0?0-(i-g)|0:i-g|0;if((m|0)<(l|0)){p=(m<<1)-l|0;v=m<<1;n=m-l|0;m=l;l=0;k=1}else{p=(l<<1)-m|0;v=l<<1;n=l-m|0;l=1;k=0}u=n<<1;t=(h|0)<(f|0)?0-l|0:l;s=(h|0)<(f|0)?-1:1;r=(i|0)<(g|0)?0-k|0:k;q=(i|0)<(g|0)?-1:1;h=m+((o|0)!=0&1)|0;if((h|0)<=0)return;i=c[a+20>>2]|0;j=c[a+16>>2]|0;k=p;p=0;n=f;l=g;while(1){m=i+(_(j,l)|0)+(n<<1)|0;g=e[m>>1]|0;f=(d[594592+(g>>>10&31)>>0]|0)+x|0;o=(d[594592+(g>>>5&31)>>0]|0)+y|0;g=(d[594592+(g&31)>>0]|0)+z|0;b[m>>1]=(o>>>0>255?255:o)>>>3<<5|(f>>>0>255?255:f)>>>3<<10|(g>>>0>255?255:g)>>>3;m=(k|0)<0;p=p+1|0;if((p|0)>=(h|0))break;else{k=(m?v:u)+k|0;n=(m?t:s)+n|0;l=l+(m?r:q)|0}}return}case 4:{m=(h-f|0)<0?0-(h-f)|0:h-f|0;l=(i-g|0)<0?0-(i-g)|0:i-g|0;if((m|0)<(l|0)){p=(m<<1)-l|0;v=m<<1;n=m-l|0;m=l;l=0;k=1}else{p=(l<<1)-m|0;v=l<<1;n=l-m|0;l=1;k=0}u=n<<1;t=(h|0)<(f|0)?0-l|0:l;s=(h|0)<(f|0)?-1:1;r=(i|0)<(g|0)?0-k|0:k;q=(i|0)<(g|0)?-1:1;h=m+((o|0)!=0&1)|0;if((h|0)<=0)return;i=c[a+20>>2]|0;j=c[a+16>>2]|0;k=p;p=0;n=f;l=g;while(1){m=i+(_(j,l)|0)+(n<<1)|0;g=e[m>>1]|0;b[m>>1]=(((_(d[594592+(g>>>5&31)>>0]|0,y)|0)>>>0)/255|0)>>>3<<5|(((_(d[594592+(g>>>10&31)>>0]|0,x)|0)>>>0)/255|0)>>>3<<10|(((_(d[594592+(g&31)>>0]|0,z)|0)>>>0)/255|0)>>>3;m=(k|0)<0;p=p+1|0;if((p|0)>=(h|0))break;else{k=(m?v:u)+k|0;n=(m?t:s)+n|0;l=l+(m?r:q)|0}}return}default:{m=(h-f|0)<0?0-(h-f)|0:h-f|0;l=(i-g|0)<0?0-(i-g)|0:i-g|0;if((m|0)<(l|0)){k=(m<<1)-l|0;w=m<<1;n=m-l|0;m=l;l=0;p=1}else{k=(l<<1)-m|0;w=l<<1;n=l-m|0;l=1;p=0}v=n<<1;u=(h|0)<(f|0)?0-l|0:l;t=(h|0)<(f|0)?-1:1;s=(i|0)<(g|0)?0-p|0:p;r=(i|0)<(g|0)?-1:1;q=m+((o|0)!=0&1)|0;if((q|0)<=0)return;h=c[a+20>>2]|0;i=c[a+16>>2]|0;j=(y>>>3<<5|z>>>3|x>>>3<<10)&65535;p=0;n=f;l=g;while(1){b[h+(_(i,l)|0)+(n<<1)>>1]=j;m=(k|0)<0;p=p+1|0;if((p|0)>=(q|0))break;else{k=(m?w:v)+k|0;n=(m?u:t)+n|0;l=l+(m?s:r)|0}}return}}}function Bdb(a,b,e,f,g,h,i,j,k,l,m){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;if((h+-1|0)>>>0<2){u=l&255;x=((_(l&255,k&255)|0)>>>0)/255|0;w=((_(l&255,j&255)|0)>>>0)/255|0;v=((_(l&255,i&255)|0)>>>0)/255|0}else{u=l&255;x=k&255;w=j&255;v=i&255}t=u^255;if((g|0)==(e|0))switch(h|0){case 1:{k=(c[a+20>>2]|0)+((_((c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0,g)|0)<<2)|0;if((f|0)<(b|0)){j=b-f+((m|0)!=0&1)|0;k=m|0?k+(f<<2)|0:k+(f<<2)+4|0}else{j=f-b+((m|0)!=0&1)|0;k=k+(b<<2)|0}if(!j)return;while(1){j=j+-1|0;e=c[k>>2]|0;c[k>>2]=(((_(e>>>24,t)|0)>>>0)/255|0)+u<<24|(((_(e&255,t)|0)>>>0)/255|0)+x|(((_(e>>>16&255,t)|0)>>>0)/255|0)+v<<16|(((_(e>>>8&255,t)|0)>>>0)/255|0)+w<<8;if(!j)break;else k=k+4|0}return}case 2:{k=(c[a+20>>2]|0)+((_((c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0,g)|0)<<2)|0;if((f|0)<(b|0)){j=b-f+((m|0)!=0&1)|0;k=m|0?k+(f<<2)|0:k+(f<<2)+4|0}else{j=f-b+((m|0)!=0&1)|0;k=k+(b<<2)|0}if(!j)return;while(1){j=j+-1|0;b=c[k>>2]|0;m=(b>>>16&255)+v|0;e=(b>>>8&255)+w|0;a=(b&255)+x|0;c[k>>2]=(a>>>0>255?255:a)|b&-16777216|(m>>>0>255?255:m)<<16|(e>>>0>255?255:e)<<8;if(!j)break;else k=k+4|0}return}case 4:{k=(c[a+20>>2]|0)+((_((c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0,g)|0)<<2)|0;if((f|0)<(b|0)){j=b-f+((m|0)!=0&1)|0;k=m|0?k+(f<<2)|0:k+(f<<2)+4|0}else{j=f-b+((m|0)!=0&1)|0;k=k+(b<<2)|0}if(!j)return;while(1){j=j+-1|0;e=c[k>>2]|0;c[k>>2]=((_(e&255,x)|0)>>>0)/255|0|e&-16777216|(((_(e>>>16&255,v)|0)>>>0)/255|0)<<16|(((_(e>>>8&255,w)|0)>>>0)/255|0)<<8;if(!j)break;else k=k+4|0}return}default:{k=(c[a+20>>2]|0)+((_((c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0,g)|0)<<2)|0;if((f|0)<(b|0)){j=b-f+((m|0)!=0&1)|0;k=m|0?k+(f<<2)|0:k+(f<<2)+4|0}else{j=f-b+((m|0)!=0&1)|0;k=k+(b<<2)|0}if(!j)return;l=x|u<<24|w<<8|v<<16;while(1){j=j+-1|0;c[k>>2]=l;if(!j)break;else k=k+4|0}return}}if((f|0)==(b|0))switch(h|0){case 1:{l=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;k=c[a+20>>2]|0;if((g|0)<(e|0)){k=k+((_(l,g)|0)<<2)+(f<<2)|0;j=e-g+((m|0)!=0&1)|0;k=m|0?k:k+(l<<2)|0}else{j=g-e+((m|0)!=0&1)|0;k=k+((_(l,e)|0)<<2)+(f<<2)|0}if(!j)return;while(1){j=j+-1|0;e=c[k>>2]|0;c[k>>2]=(((_(e>>>24,t)|0)>>>0)/255|0)+u<<24|(((_(e&255,t)|0)>>>0)/255|0)+x|(((_(e>>>16&255,t)|0)>>>0)/255|0)+v<<16|(((_(e>>>8&255,t)|0)>>>0)/255|0)+w<<8;if(!j)break;else k=k+(l<<2)|0}return}case 2:{l=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;k=c[a+20>>2]|0;if((g|0)<(e|0)){k=k+((_(l,g)|0)<<2)+(f<<2)|0;j=e-g+((m|0)!=0&1)|0;k=m|0?k:k+(l<<2)|0}else{j=g-e+((m|0)!=0&1)|0;k=k+((_(l,e)|0)<<2)+(f<<2)|0}if(!j)return;while(1){j=j+-1|0;b=c[k>>2]|0;m=(b>>>16&255)+v|0;e=(b>>>8&255)+w|0;a=(b&255)+x|0;c[k>>2]=(a>>>0>255?255:a)|b&-16777216|(m>>>0>255?255:m)<<16|(e>>>0>255?255:e)<<8;if(!j)break;else k=k+(l<<2)|0}return}case 4:{l=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;k=c[a+20>>2]|0;if((g|0)<(e|0)){k=k+((_(l,g)|0)<<2)+(f<<2)|0;j=e-g+((m|0)!=0&1)|0;k=m|0?k:k+(l<<2)|0}else{j=g-e+((m|0)!=0&1)|0;k=k+((_(l,e)|0)<<2)+(f<<2)|0}if(!j)return;while(1){j=j+-1|0;e=c[k>>2]|0;c[k>>2]=((_(e&255,x)|0)>>>0)/255|0|e&-16777216|(((_(e>>>16&255,v)|0)>>>0)/255|0)<<16|(((_(e>>>8&255,w)|0)>>>0)/255|0)<<8;if(!j)break;else k=k+(l<<2)|0}return}default:{i=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;k=c[a+20>>2]|0;if((g|0)<(e|0)){k=k+((_(i,g)|0)<<2)+(f<<2)|0;j=e-g+((m|0)!=0&1)|0;k=m|0?k:k+(i<<2)|0}else{j=g-e+((m|0)!=0&1)|0;k=k+((_(i,e)|0)<<2)+(f<<2)|0}if(!j)return;l=x|u<<24|w<<8|v<<16;while(1){j=j+-1|0;c[k>>2]=l;if(!j)break;else k=k+(i<<2)|0}return}}if((((b-f|0)<0?0-(b-f)|0:b-f|0)|0)==(((e-g|0)<0?0-(e-g)|0:e-g|0)|0))switch(h|0){case 1:{j=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;k=c[a+20>>2]|0;if((g|0)<(e|0)){a=k+((_(j,g)|0)<<2)+(f<<2)|0;j=j+((f|0)>(b|0)?-1:1)|0;k=e-g|0;l=j;j=(m|0)==0?a+(j<<2)|0:a}else{a=k+((_(j,e)|0)<<2)+(b<<2)|0;k=g-e|0;l=j+((f|0)<(b|0)?-1:1)|0;j=a}k=k+((m|0)!=0&1)|0;if(!k)return;while(1){k=k+-1|0;e=c[j>>2]|0;c[j>>2]=(((_(e>>>24,t)|0)>>>0)/255|0)+u<<24|(((_(e&255,t)|0)>>>0)/255|0)+x|(((_(e>>>16&255,t)|0)>>>0)/255|0)+v<<16|(((_(e>>>8&255,t)|0)>>>0)/255|0)+w<<8;if(!k)break;else j=j+(l<<2)|0}return}case 2:{j=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;k=c[a+20>>2]|0;if((g|0)<(e|0)){a=k+((_(j,g)|0)<<2)+(f<<2)|0;j=j+((f|0)>(b|0)?-1:1)|0;k=e-g|0;l=j;j=(m|0)==0?a+(j<<2)|0:a}else{a=k+((_(j,e)|0)<<2)+(b<<2)|0;k=g-e|0;l=j+((f|0)<(b|0)?-1:1)|0;j=a}k=k+((m|0)!=0&1)|0;if(!k)return;while(1){k=k+-1|0;b=c[j>>2]|0;m=(b>>>16&255)+v|0;e=(b>>>8&255)+w|0;a=(b&255)+x|0;c[j>>2]=(a>>>0>255?255:a)|b&-16777216|(m>>>0>255?255:m)<<16|(e>>>0>255?255:e)<<8;if(!k)break;else j=j+(l<<2)|0}return}case 4:{j=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;k=c[a+20>>2]|0;if((g|0)<(e|0)){a=k+((_(j,g)|0)<<2)+(f<<2)|0;j=j+((f|0)>(b|0)?-1:1)|0;k=e-g|0;l=j;j=(m|0)==0?a+(j<<2)|0:a}else{a=k+((_(j,e)|0)<<2)+(b<<2)|0;k=g-e|0;l=j+((f|0)<(b|0)?-1:1)|0;j=a}k=k+((m|0)!=0&1)|0;if(!k)return;while(1){k=k+-1|0;e=c[j>>2]|0;c[j>>2]=((_(e&255,x)|0)>>>0)/255|0|e&-16777216|(((_(e>>>16&255,v)|0)>>>0)/255|0)<<16|(((_(e>>>8&255,w)|0)>>>0)/255|0)<<8;if(!k)break;else j=j+(l<<2)|0}return}default:{l=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;k=c[a+20>>2]|0;if((g|0)<(e|0)){k=k+((_(l,g)|0)<<2)+(f<<2)|0;b=l+((f|0)>(b|0)?-1:1)|0;j=e-g|0;i=b;k=(m|0)==0?k+(b<<2)|0:k}else{k=k+((_(l,e)|0)<<2)+(b<<2)|0;j=g-e|0;i=l+((f|0)<(b|0)?-1:1)|0}j=j+((m|0)!=0&1)|0;if(!j)return;l=x|u<<24|w<<8|v<<16;while(1){j=j+-1|0;c[k>>2]=l;if(!j)break;else k=k+(i<<2)|0}return}}switch(h|0){case 1:{k=(f-b|0)<0?0-(f-b)|0:f-b|0;j=(g-e|0)<0?0-(g-e)|0:g-e|0;if((k|0)<(j|0)){h=(k<<1)-j|0;s=k<<1;l=k-j|0;k=j;j=0;i=1}else{h=(j<<1)-k|0;s=j<<1;l=j-k|0;j=1;i=0}r=l<<1;q=(f|0)<(b|0)?0-j|0:j;p=(f|0)<(b|0)?-1:1;o=(g|0)<(e|0)?0-i|0:i;n=(g|0)<(e|0)?-1:1;f=k+((m|0)!=0&1)|0;if((f|0)<=0)return;g=c[a+20>>2]|0;i=h;h=0;l=b;j=e;while(1){k=g+(_(c[a+16>>2]|0,j)|0)+(l<<2)|0;e=c[k>>2]|0;c[k>>2]=(((_(e>>>24,t)|0)>>>0)/255|0)+u<<24|(((_(e&255,t)|0)>>>0)/255|0)+x|(((_(e>>>16&255,t)|0)>>>0)/255|0)+v<<16|(((_(e>>>8&255,t)|0)>>>0)/255|0)+w<<8;k=(i|0)<0;h=h+1|0;if((h|0)>=(f|0))break;else{i=(k?s:r)+i|0;l=(k?q:p)+l|0;j=j+(k?o:n)|0}}return}case 2:{k=(f-b|0)<0?0-(f-b)|0:f-b|0;j=(g-e|0)<0?0-(g-e)|0:g-e|0;if((k|0)<(j|0)){h=(k<<1)-j|0;s=k<<1;l=k-j|0;k=j;j=0;i=1}else{h=(j<<1)-k|0;s=j<<1;l=j-k|0;j=1;i=0}r=l<<1;q=(f|0)<(b|0)?0-j|0:j;p=(f|0)<(b|0)?-1:1;o=(g|0)<(e|0)?0-i|0:i;n=(g|0)<(e|0)?-1:1;f=k+((m|0)!=0&1)|0;if((f|0)<=0)return;g=c[a+20>>2]|0;i=h;h=0;l=b;j=e;while(1){k=g+(_(c[a+16>>2]|0,j)|0)+(l<<2)|0;b=c[k>>2]|0;m=(b>>>16&255)+v|0;e=(b>>>8&255)+w|0;u=(b&255)+x|0;c[k>>2]=(u>>>0>255?255:u)|b&-16777216|(m>>>0>255?255:m)<<16|(e>>>0>255?255:e)<<8;k=(i|0)<0;h=h+1|0;if((h|0)>=(f|0))break;else{i=(k?s:r)+i|0;l=(k?q:p)+l|0;j=j+(k?o:n)|0}}return}case 4:{k=(f-b|0)<0?0-(f-b)|0:f-b|0;j=(g-e|0)<0?0-(g-e)|0:g-e|0;if((k|0)<(j|0)){h=(k<<1)-j|0;s=k<<1;l=k-j|0;k=j;j=0;i=1}else{h=(j<<1)-k|0;s=j<<1;l=j-k|0;j=1;i=0}r=l<<1;q=(f|0)<(b|0)?0-j|0:j;p=(f|0)<(b|0)?-1:1;o=(g|0)<(e|0)?0-i|0:i;n=(g|0)<(e|0)?-1:1;f=k+((m|0)!=0&1)|0;if((f|0)<=0)return;g=c[a+20>>2]|0;i=h;h=0;l=b;j=e;while(1){k=g+(_(c[a+16>>2]|0,j)|0)+(l<<2)|0;e=c[k>>2]|0;c[k>>2]=((_(e&255,x)|0)>>>0)/255|0|e&-16777216|(((_(e>>>16&255,v)|0)>>>0)/255|0)<<16|(((_(e>>>8&255,w)|0)>>>0)/255|0)<<8;k=(i|0)<0;h=h+1|0;if((h|0)>=(f|0))break;else{i=(k?s:r)+i|0;l=(k?q:p)+l|0;j=j+(k?o:n)|0}}return}default:{k=(f-b|0)<0?0-(f-b)|0:f-b|0;j=(g-e|0)<0?0-(g-e)|0:g-e|0;if((k|0)<(j|0)){i=(k<<1)-j|0;t=k<<1;l=k-j|0;k=j;j=0;h=1}else{i=(j<<1)-k|0;t=j<<1;l=j-k|0;j=1;h=0}s=l<<1;r=(f|0)<(b|0)?0-j|0:j;q=(f|0)<(b|0)?-1:1;p=(g|0)<(e|0)?0-h|0:h;o=(g|0)<(e|0)?-1:1;n=k+((m|0)!=0&1)|0;if((n|0)<=0)return;f=c[a+20>>2]|0;g=x|u<<24|w<<8|v<<16;h=0;l=b;j=e;while(1){c[f+(_(c[a+16>>2]|0,j)|0)+(l<<2)>>2]=g;k=(i|0)<0;h=h+1|0;if((h|0)>=(n|0))break;else{i=(k?t:s)+i|0;l=(k?r:q)+l|0;j=j+(k?p:o)|0}}return}}}function Cdb(a,b,e,f,g,h,i,j,k,l,m){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;if((h+-1|0)>>>0<2){n=l&255;w=((_(l&255,k&255)|0)>>>0)/255|0;v=((_(l&255,j&255)|0)>>>0)/255|0;u=((_(l&255,i&255)|0)>>>0)/255|0}else{n=l&255;w=k&255;v=j&255;u=i&255}t=n^255;if((g|0)==(e|0))switch(h|0){case 1:{k=(c[a+20>>2]|0)+((_((c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0,g)|0)<<2)|0;if((f|0)<(b|0)){j=b-f+((m|0)!=0&1)|0;k=m|0?k+(f<<2)|0:k+(f<<2)+4|0}else{j=f-b+((m|0)!=0&1)|0;k=k+(b<<2)|0}if(!j)return;while(1){j=j+-1|0;e=c[k>>2]|0;c[k>>2]=(((_(e>>>8&255,t)|0)>>>0)/255|0)+v<<8|(((_(e&255,t)|0)>>>0)/255|0)+w|(((_(e>>>16&255,t)|0)>>>0)/255|0)+u<<16;if(!j)break;else k=k+4|0}return}case 2:{k=(c[a+20>>2]|0)+((_((c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0,g)|0)<<2)|0;if((f|0)<(b|0)){j=b-f+((m|0)!=0&1)|0;k=m|0?k+(f<<2)|0:k+(f<<2)+4|0}else{j=f-b+((m|0)!=0&1)|0;k=k+(b<<2)|0}if(!j)return;while(1){j=j+-1|0;m=c[k>>2]|0;e=(m>>>16&255)+u|0;b=(m>>>8&255)+v|0;m=(m&255)+w|0;c[k>>2]=(b>>>0>255?255:b)<<8|(m>>>0>255?255:m)|(e>>>0>255?255:e)<<16;if(!j)break;else k=k+4|0}return}case 4:{k=(c[a+20>>2]|0)+((_((c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0,g)|0)<<2)|0;if((f|0)<(b|0)){j=b-f+((m|0)!=0&1)|0;k=m|0?k+(f<<2)|0:k+(f<<2)+4|0}else{j=f-b+((m|0)!=0&1)|0;k=k+(b<<2)|0}if(!j)return;while(1){j=j+-1|0;e=c[k>>2]|0;c[k>>2]=(((_(e>>>8&255,v)|0)>>>0)/255|0)<<8|(((_(e&255,w)|0)>>>0)/255|0)|(((_(e>>>16&255,u)|0)>>>0)/255|0)<<16;if(!j)break;else k=k+4|0}return}default:{k=(c[a+20>>2]|0)+((_((c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0,g)|0)<<2)|0;if((f|0)<(b|0)){j=b-f+((m|0)!=0&1)|0;k=m|0?k+(f<<2)|0:k+(f<<2)+4|0}else{j=f-b+((m|0)!=0&1)|0;k=k+(b<<2)|0}if(!j)return;l=v<<8|w|u<<16;while(1){j=j+-1|0;c[k>>2]=l;if(!j)break;else k=k+4|0}return}}if((f|0)==(b|0))switch(h|0){case 1:{l=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;k=c[a+20>>2]|0;if((g|0)<(e|0)){k=k+((_(l,g)|0)<<2)+(f<<2)|0;j=e-g+((m|0)!=0&1)|0;k=m|0?k:k+(l<<2)|0}else{j=g-e+((m|0)!=0&1)|0;k=k+((_(l,e)|0)<<2)+(f<<2)|0}if(!j)return;while(1){j=j+-1|0;e=c[k>>2]|0;c[k>>2]=(((_(e>>>8&255,t)|0)>>>0)/255|0)+v<<8|(((_(e&255,t)|0)>>>0)/255|0)+w|(((_(e>>>16&255,t)|0)>>>0)/255|0)+u<<16;if(!j)break;else k=k+(l<<2)|0}return}case 2:{l=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;k=c[a+20>>2]|0;if((g|0)<(e|0)){k=k+((_(l,g)|0)<<2)+(f<<2)|0;j=e-g+((m|0)!=0&1)|0;k=m|0?k:k+(l<<2)|0}else{j=g-e+((m|0)!=0&1)|0;k=k+((_(l,e)|0)<<2)+(f<<2)|0}if(!j)return;while(1){j=j+-1|0;m=c[k>>2]|0;e=(m>>>16&255)+u|0;b=(m>>>8&255)+v|0;m=(m&255)+w|0;c[k>>2]=(b>>>0>255?255:b)<<8|(m>>>0>255?255:m)|(e>>>0>255?255:e)<<16;if(!j)break;else k=k+(l<<2)|0}return}case 4:{l=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;k=c[a+20>>2]|0;if((g|0)<(e|0)){k=k+((_(l,g)|0)<<2)+(f<<2)|0;j=e-g+((m|0)!=0&1)|0;k=m|0?k:k+(l<<2)|0}else{j=g-e+((m|0)!=0&1)|0;k=k+((_(l,e)|0)<<2)+(f<<2)|0}if(!j)return;while(1){j=j+-1|0;e=c[k>>2]|0;c[k>>2]=(((_(e>>>8&255,v)|0)>>>0)/255|0)<<8|(((_(e&255,w)|0)>>>0)/255|0)|(((_(e>>>16&255,u)|0)>>>0)/255|0)<<16;if(!j)break;else k=k+(l<<2)|0}return}default:{i=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;k=c[a+20>>2]|0;if((g|0)<(e|0)){k=k+((_(i,g)|0)<<2)+(f<<2)|0;j=e-g+((m|0)!=0&1)|0;k=m|0?k:k+(i<<2)|0}else{j=g-e+((m|0)!=0&1)|0;k=k+((_(i,e)|0)<<2)+(f<<2)|0}if(!j)return;l=v<<8|w|u<<16;while(1){j=j+-1|0;c[k>>2]=l;if(!j)break;else k=k+(i<<2)|0}return}}if((((b-f|0)<0?0-(b-f)|0:b-f|0)|0)==(((e-g|0)<0?0-(e-g)|0:e-g|0)|0))switch(h|0){case 1:{j=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;k=c[a+20>>2]|0;if((g|0)<(e|0)){a=k+((_(j,g)|0)<<2)+(f<<2)|0;j=j+((f|0)>(b|0)?-1:1)|0;k=e-g|0;l=j;j=(m|0)==0?a+(j<<2)|0:a}else{a=k+((_(j,e)|0)<<2)+(b<<2)|0;k=g-e|0;l=j+((f|0)<(b|0)?-1:1)|0;j=a}k=k+((m|0)!=0&1)|0;if(!k)return;while(1){k=k+-1|0;e=c[j>>2]|0;c[j>>2]=(((_(e>>>8&255,t)|0)>>>0)/255|0)+v<<8|(((_(e&255,t)|0)>>>0)/255|0)+w|(((_(e>>>16&255,t)|0)>>>0)/255|0)+u<<16;if(!k)break;else j=j+(l<<2)|0}return}case 2:{j=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;k=c[a+20>>2]|0;if((g|0)<(e|0)){a=k+((_(j,g)|0)<<2)+(f<<2)|0;j=j+((f|0)>(b|0)?-1:1)|0;k=e-g|0;l=j;j=(m|0)==0?a+(j<<2)|0:a}else{a=k+((_(j,e)|0)<<2)+(b<<2)|0;k=g-e|0;l=j+((f|0)<(b|0)?-1:1)|0;j=a}k=k+((m|0)!=0&1)|0;if(!k)return;while(1){k=k+-1|0;m=c[j>>2]|0;e=(m>>>16&255)+u|0;b=(m>>>8&255)+v|0;m=(m&255)+w|0;c[j>>2]=(b>>>0>255?255:b)<<8|(m>>>0>255?255:m)|(e>>>0>255?255:e)<<16;if(!k)break;else j=j+(l<<2)|0}return}case 4:{j=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;k=c[a+20>>2]|0;if((g|0)<(e|0)){a=k+((_(j,g)|0)<<2)+(f<<2)|0;j=j+((f|0)>(b|0)?-1:1)|0;k=e-g|0;l=j;j=(m|0)==0?a+(j<<2)|0:a}else{a=k+((_(j,e)|0)<<2)+(b<<2)|0;k=g-e|0;l=j+((f|0)<(b|0)?-1:1)|0;j=a}k=k+((m|0)!=0&1)|0;if(!k)return;while(1){k=k+-1|0;e=c[j>>2]|0;c[j>>2]=(((_(e>>>8&255,v)|0)>>>0)/255|0)<<8|(((_(e&255,w)|0)>>>0)/255|0)|(((_(e>>>16&255,u)|0)>>>0)/255|0)<<16;if(!k)break;else j=j+(l<<2)|0}return}default:{l=(c[a+16>>2]|0)/(d[(c[a+4>>2]|0)+9>>0]|0|0)|0;k=c[a+20>>2]|0;if((g|0)<(e|0)){k=k+((_(l,g)|0)<<2)+(f<<2)|0;b=l+((f|0)>(b|0)?-1:1)|0;j=e-g|0;i=b;k=(m|0)==0?k+(b<<2)|0:k}else{k=k+((_(l,e)|0)<<2)+(b<<2)|0;j=g-e|0;i=l+((f|0)<(b|0)?-1:1)|0}j=j+((m|0)!=0&1)|0;if(!j)return;l=v<<8|w|u<<16;while(1){j=j+-1|0;c[k>>2]=l;if(!j)break;else k=k+(i<<2)|0}return}}switch(h|0){case 1:{k=(f-b|0)<0?0-(f-b)|0:f-b|0;j=(g-e|0)<0?0-(g-e)|0:g-e|0;if((k|0)<(j|0)){n=(k<<1)-j|0;s=k<<1;l=k-j|0;k=j;j=0;i=1}else{n=(j<<1)-k|0;s=j<<1;l=j-k|0;j=1;i=0}r=l<<1;q=(f|0)<(b|0)?0-j|0:j;p=(f|0)<(b|0)?-1:1;o=(g|0)<(e|0)?0-i|0:i;f=(g|0)<(e|0)?-1:1;g=k+((m|0)!=0&1)|0;if((g|0)<=0)return;h=c[a+20>>2]|0;i=n;n=0;l=b;j=e;while(1){k=h+(_(c[a+16>>2]|0,j)|0)+(l<<2)|0;e=c[k>>2]|0;c[k>>2]=(((_(e>>>8&255,t)|0)>>>0)/255|0)+v<<8|(((_(e&255,t)|0)>>>0)/255|0)+w|(((_(e>>>16&255,t)|0)>>>0)/255|0)+u<<16;k=(i|0)<0;n=n+1|0;if((n|0)>=(g|0))break;else{i=(k?s:r)+i|0;l=(k?q:p)+l|0;j=j+(k?o:f)|0}}return}case 2:{k=(f-b|0)<0?0-(f-b)|0:f-b|0;j=(g-e|0)<0?0-(g-e)|0:g-e|0;if((k|0)<(j|0)){n=(k<<1)-j|0;s=k<<1;l=k-j|0;k=j;j=0;i=1}else{n=(j<<1)-k|0;s=j<<1;l=j-k|0;j=1;i=0}r=l<<1;q=(f|0)<(b|0)?0-j|0:j;p=(f|0)<(b|0)?-1:1;o=(g|0)<(e|0)?0-i|0:i;f=(g|0)<(e|0)?-1:1;g=k+((m|0)!=0&1)|0;if((g|0)<=0)return;h=c[a+20>>2]|0;i=n;n=0;l=b;j=e;while(1){k=h+(_(c[a+16>>2]|0,j)|0)+(l<<2)|0;m=c[k>>2]|0;e=(m>>>16&255)+u|0;b=(m>>>8&255)+v|0;m=(m&255)+w|0;c[k>>2]=(b>>>0>255?255:b)<<8|(m>>>0>255?255:m)|(e>>>0>255?255:e)<<16;k=(i|0)<0;n=n+1|0;if((n|0)>=(g|0))break;else{i=(k?s:r)+i|0;l=(k?q:p)+l|0;j=j+(k?o:f)|0}}return}case 4:{k=(f-b|0)<0?0-(f-b)|0:f-b|0;j=(g-e|0)<0?0-(g-e)|0:g-e|0;if((k|0)<(j|0)){n=(k<<1)-j|0;s=k<<1;l=k-j|0;k=j;j=0;i=1}else{n=(j<<1)-k|0;s=j<<1;l=j-k|0;j=1;i=0}r=l<<1;q=(f|0)<(b|0)?0-j|0:j;p=(f|0)<(b|0)?-1:1;o=(g|0)<(e|0)?0-i|0:i;f=(g|0)<(e|0)?-1:1;g=k+((m|0)!=0&1)|0;if((g|0)<=0)return;h=c[a+20>>2]|0;i=n;n=0;l=b;j=e;while(1){k=h+(_(c[a+16>>2]|0,j)|0)+(l<<2)|0;e=c[k>>2]|0;c[k>>2]=(((_(e>>>8&255,v)|0)>>>0)/255|0)<<8|(((_(e&255,w)|0)>>>0)/255|0)|(((_(e>>>16&255,u)|0)>>>0)/255|0)<<16;k=(i|0)<0;n=n+1|0;if((n|0)>=(g|0))break;else{i=(k?s:r)+i|0;l=(k?q:p)+l|0;j=j+(k?o:f)|0}}return}default:{k=(f-b|0)<0?0-(f-b)|0:f-b|0;j=(g-e|0)<0?0-(g-e)|0:g-e|0;if((k|0)<(j|0)){i=(k<<1)-j|0;t=k<<1;l=k-j|0;k=j;j=0;n=1}else{i=(j<<1)-k|0;t=j<<1;l=j-k|0;j=1;n=0}s=l<<1;r=(f|0)<(b|0)?0-j|0:j;q=(f|0)<(b|0)?-1:1;p=(g|0)<(e|0)?0-n|0:n;o=(g|0)<(e|0)?-1:1;f=k+((m|0)!=0&1)|0;if((f|0)<=0)return;g=c[a+20>>2]|0;h=v<<8|w|u<<16;n=0;l=b;j=e;while(1){c[g+(_(c[a+16>>2]|0,j)|0)+(l<<2)>>2]=h;k=(i|0)<0;n=n+1|0;if((n|0)>=(f|0))break;else{i=(k?t:s)+i|0;l=(k?r:q)+l|0;j=j+(k?p:o)|0}}return}}}function Ddb(a,b,e,f,g,h,i,j,k,l,m){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;D=c[a+4>>2]|0;if((h+-1|0)>>>0<2){z=l&255;C=((_(l&255,k&255)|0)>>>0)/255|0;B=((_(l&255,j&255)|0)>>>0)/255|0;A=((_(l&255,i&255)|0)>>>0)/255|0}else{z=l&255;C=k&255;B=j&255;A=i&255}y=z^255;if((g|0)==(e|0))switch(h|0){case 1:{k=(c[a+20>>2]|0)+((_((c[a+16>>2]|0)/(d[D+9>>0]|0|0)|0,g)|0)<<2)|0;if((f|0)<(b|0)){j=b-f+((m|0)!=0&1)|0;k=m|0?k+(f<<2)|0:k+(f<<2)+4|0}else{j=f-b+((m|0)!=0&1)|0;k=k+(b<<2)|0}if(!j)return;f=c[D+32>>2]|0;m=c[D+28>>2]|0;l=c[124356+((m&255)<<2)>>2]|0;i=c[124356+((m>>>8&255)<<2)>>2]|0;h=c[124356+((m>>>16&255)<<2)>>2]|0;g=c[124356+(m>>>24<<2)>>2]|0;while(1){j=j+-1|0;e=c[k>>2]|0;c[k>>2]=((((_(d[i+((c[D+16>>2]&e)>>>(f>>>8&255))>>0]|0,y)|0)>>>0)/255|0)+B|0)>>>(m>>>8&255)<<(f>>>8&255)|((((_(d[l+((c[D+12>>2]&e)>>>(f&255))>>0]|0,y)|0)>>>0)/255|0)+A|0)>>>(m&255)<<(f&255)|((((_(d[h+((c[D+20>>2]&e)>>>(f>>>16&255))>>0]|0,y)|0)>>>0)/255|0)+C|0)>>>(m>>>16&255)<<(f>>>16&255)|((((_(d[g+((c[D+24>>2]&e)>>>(f>>>24))>>0]|0,y)|0)>>>0)/255|0)+z|0)>>>(m>>>24)<<(f>>>24);if(!j)break;else k=k+4|0}return}case 2:{k=(c[a+20>>2]|0)+((_((c[a+16>>2]|0)/(d[D+9>>0]|0|0)|0,g)|0)<<2)|0;if((f|0)<(b|0)){j=b-f+((m|0)!=0&1)|0;k=m|0?k+(f<<2)|0:k+(f<<2)+4|0}else{j=f-b+((m|0)!=0&1)|0;k=k+(b<<2)|0}if(!j)return;f=c[D+32>>2]|0;m=c[D+28>>2]|0;l=c[124356+((m&255)<<2)>>2]|0;i=c[124356+((m>>>8&255)<<2)>>2]|0;h=c[124356+((m>>>16&255)<<2)>>2]|0;g=c[124356+(m>>>24<<2)>>2]|0;while(1){j=j+-1|0;e=c[k>>2]|0;a=(d[l+((c[D+12>>2]&e)>>>(f&255))>>0]|0)+A|0;z=(d[i+((c[D+16>>2]&e)>>>(f>>>8&255))>>0]|0)+B|0;b=(d[h+((c[D+20>>2]&e)>>>(f>>>16&255))>>0]|0)+C|0;c[k>>2]=(z>>>0>255?255:z)>>>(m>>>8&255)<<(f>>>8&255)|(a>>>0>255?255:a)>>>(m&255)<<(f&255)|(b>>>0>255?255:b)>>>(m>>>16&255)<<(f>>>16&255)|(d[g+((c[D+24>>2]&e)>>>(f>>>24))>>0]|0)>>>(m>>>24)<<(f>>>24);if(!j)break;else k=k+4|0}return}case 4:{k=(c[a+20>>2]|0)+((_((c[a+16>>2]|0)/(d[D+9>>0]|0|0)|0,g)|0)<<2)|0;if((f|0)<(b|0)){j=b-f+((m|0)!=0&1)|0;k=m|0?k+(f<<2)|0:k+(f<<2)+4|0}else{j=f-b+((m|0)!=0&1)|0;k=k+(b<<2)|0}if(!j)return;f=c[D+32>>2]|0;m=c[D+28>>2]|0;l=c[124356+((m&255)<<2)>>2]|0;i=c[124356+((m>>>8&255)<<2)>>2]|0;h=c[124356+((m>>>16&255)<<2)>>2]|0;g=c[124356+(m>>>24<<2)>>2]|0;while(1){j=j+-1|0;e=c[k>>2]|0;c[k>>2]=(((_(d[i+((c[D+16>>2]&e)>>>(f>>>8&255))>>0]|0,B)|0)>>>0)/255|0)>>>(m>>>8&255)<<(f>>>8&255)|(((_(d[l+((c[D+12>>2]&e)>>>(f&255))>>0]|0,A)|0)>>>0)/255|0)>>>(m&255)<<(f&255)|(((_(d[h+((c[D+20>>2]&e)>>>(f>>>16&255))>>0]|0,C)|0)>>>0)/255|0)>>>(m>>>16&255)<<(f>>>16&255)|(d[g+((c[D+24>>2]&e)>>>(f>>>24))>>0]|0)>>>(m>>>24)<<(f>>>24);if(!j)break;else k=k+4|0}return}default:{k=(c[a+20>>2]|0)+((_((c[a+16>>2]|0)/(d[D+9>>0]|0|0)|0,g)|0)<<2)|0;if((f|0)<(b|0)){j=b-f+((m|0)!=0&1)|0;k=m|0?k+(f<<2)|0:k+(f<<2)+4|0}else{j=f-b+((m|0)!=0&1)|0;k=k+(b<<2)|0}if(!j)return;e=c[D+28>>2]|0;l=c[D+32>>2]|0;l=B>>>(e>>>8&255)<<(l>>>8&255)|A>>>(e&255)<<(l&255)|C>>>(e>>>16&255)<<(l>>>16&255)|z>>>(e>>>24)<<(l>>>24);while(1){j=j+-1|0;c[k>>2]=l;if(!j)break;else k=k+4|0}return}}if((f|0)==(b|0))switch(h|0){case 1:{n=(c[a+16>>2]|0)/(d[D+9>>0]|0|0)|0;k=c[a+20>>2]|0;if((g|0)<(e|0)){k=k+((_(n,g)|0)<<2)+(f<<2)|0;j=e-g+((m|0)!=0&1)|0;k=m|0?k:k+(n<<2)|0}else{j=g-e+((m|0)!=0&1)|0;k=k+((_(n,e)|0)<<2)+(f<<2)|0}if(!j)return;f=c[D+32>>2]|0;m=c[D+28>>2]|0;l=c[124356+((m&255)<<2)>>2]|0;i=c[124356+((m>>>8&255)<<2)>>2]|0;h=c[124356+((m>>>16&255)<<2)>>2]|0;g=c[124356+(m>>>24<<2)>>2]|0;while(1){j=j+-1|0;e=c[k>>2]|0;c[k>>2]=((((_(d[i+((c[D+16>>2]&e)>>>(f>>>8&255))>>0]|0,y)|0)>>>0)/255|0)+B|0)>>>(m>>>8&255)<<(f>>>8&255)|((((_(d[l+((c[D+12>>2]&e)>>>(f&255))>>0]|0,y)|0)>>>0)/255|0)+A|0)>>>(m&255)<<(f&255)|((((_(d[h+((c[D+20>>2]&e)>>>(f>>>16&255))>>0]|0,y)|0)>>>0)/255|0)+C|0)>>>(m>>>16&255)<<(f>>>16&255)|((((_(d[g+((c[D+24>>2]&e)>>>(f>>>24))>>0]|0,y)|0)>>>0)/255|0)+z|0)>>>(m>>>24)<<(f>>>24);if(!j)break;else k=k+(n<<2)|0}return}case 2:{n=(c[a+16>>2]|0)/(d[D+9>>0]|0|0)|0;k=c[a+20>>2]|0;if((g|0)<(e|0)){k=k+((_(n,g)|0)<<2)+(f<<2)|0;j=e-g+((m|0)!=0&1)|0;k=m|0?k:k+(n<<2)|0}else{j=g-e+((m|0)!=0&1)|0;k=k+((_(n,e)|0)<<2)+(f<<2)|0}if(!j)return;f=c[D+32>>2]|0;m=c[D+28>>2]|0;l=c[124356+((m&255)<<2)>>2]|0;i=c[124356+((m>>>8&255)<<2)>>2]|0;h=c[124356+((m>>>16&255)<<2)>>2]|0;g=c[124356+(m>>>24<<2)>>2]|0;while(1){j=j+-1|0;e=c[k>>2]|0;a=(d[l+((c[D+12>>2]&e)>>>(f&255))>>0]|0)+A|0;z=(d[i+((c[D+16>>2]&e)>>>(f>>>8&255))>>0]|0)+B|0;b=(d[h+((c[D+20>>2]&e)>>>(f>>>16&255))>>0]|0)+C|0;c[k>>2]=(z>>>0>255?255:z)>>>(m>>>8&255)<<(f>>>8&255)|(a>>>0>255?255:a)>>>(m&255)<<(f&255)|(b>>>0>255?255:b)>>>(m>>>16&255)<<(f>>>16&255)|(d[g+((c[D+24>>2]&e)>>>(f>>>24))>>0]|0)>>>(m>>>24)<<(f>>>24);if(!j)break;else k=k+(n<<2)|0}return}case 4:{n=(c[a+16>>2]|0)/(d[D+9>>0]|0|0)|0;k=c[a+20>>2]|0;if((g|0)<(e|0)){k=k+((_(n,g)|0)<<2)+(f<<2)|0;j=e-g+((m|0)!=0&1)|0;k=m|0?k:k+(n<<2)|0}else{j=g-e+((m|0)!=0&1)|0;k=k+((_(n,e)|0)<<2)+(f<<2)|0}if(!j)return;f=c[D+32>>2]|0;m=c[D+28>>2]|0;l=c[124356+((m&255)<<2)>>2]|0;i=c[124356+((m>>>8&255)<<2)>>2]|0;h=c[124356+((m>>>16&255)<<2)>>2]|0;g=c[124356+(m>>>24<<2)>>2]|0;while(1){j=j+-1|0;e=c[k>>2]|0;c[k>>2]=(((_(d[i+((c[D+16>>2]&e)>>>(f>>>8&255))>>0]|0,B)|0)>>>0)/255|0)>>>(m>>>8&255)<<(f>>>8&255)|(((_(d[l+((c[D+12>>2]&e)>>>(f&255))>>0]|0,A)|0)>>>0)/255|0)>>>(m&255)<<(f&255)|(((_(d[h+((c[D+20>>2]&e)>>>(f>>>16&255))>>0]|0,C)|0)>>>0)/255|0)>>>(m>>>16&255)<<(f>>>16&255)|(d[g+((c[D+24>>2]&e)>>>(f>>>24))>>0]|0)>>>(m>>>24)<<(f>>>24);if(!j)break;else k=k+(n<<2)|0}return}default:{i=(c[a+16>>2]|0)/(d[D+9>>0]|0|0)|0;k=c[a+20>>2]|0;if((g|0)<(e|0)){k=k+((_(i,g)|0)<<2)+(f<<2)|0;j=e-g+((m|0)!=0&1)|0;k=m|0?k:k+(i<<2)|0}else{j=g-e+((m|0)!=0&1)|0;k=k+((_(i,e)|0)<<2)+(f<<2)|0}if(!j)return;e=c[D+28>>2]|0;l=c[D+32>>2]|0;l=B>>>(e>>>8&255)<<(l>>>8&255)|A>>>(e&255)<<(l&255)|C>>>(e>>>16&255)<<(l>>>16&255)|z>>>(e>>>24)<<(l>>>24);while(1){j=j+-1|0;c[k>>2]=l;if(!j)break;else k=k+(i<<2)|0}return}}if((((b-f|0)<0?0-(b-f)|0:b-f|0)|0)==(((e-g|0)<0?0-(e-g)|0:e-g|0)|0))switch(h|0){case 1:{j=(c[a+16>>2]|0)/(d[D+9>>0]|0|0)|0;k=c[a+20>>2]|0;if((g|0)<(e|0)){a=k+((_(j,g)|0)<<2)+(f<<2)|0;j=j+((f|0)>(b|0)?-1:1)|0;k=e-g|0;n=j;j=(m|0)==0?a+(j<<2)|0:a}else{a=k+((_(j,e)|0)<<2)+(b<<2)|0;k=g-e|0;n=j+((f|0)<(b|0)?-1:1)|0;j=a}k=k+((m|0)!=0&1)|0;if(!k)return;f=c[D+32>>2]|0;m=c[D+28>>2]|0;l=c[124356+((m&255)<<2)>>2]|0;i=c[124356+((m>>>8&255)<<2)>>2]|0;h=c[124356+((m>>>16&255)<<2)>>2]|0;g=c[124356+(m>>>24<<2)>>2]|0;while(1){k=k+-1|0;e=c[j>>2]|0;c[j>>2]=((((_(d[i+((c[D+16>>2]&e)>>>(f>>>8&255))>>0]|0,y)|0)>>>0)/255|0)+B|0)>>>(m>>>8&255)<<(f>>>8&255)|((((_(d[l+((c[D+12>>2]&e)>>>(f&255))>>0]|0,y)|0)>>>0)/255|0)+A|0)>>>(m&255)<<(f&255)|((((_(d[h+((c[D+20>>2]&e)>>>(f>>>16&255))>>0]|0,y)|0)>>>0)/255|0)+C|0)>>>(m>>>16&255)<<(f>>>16&255)|((((_(d[g+((c[D+24>>2]&e)>>>(f>>>24))>>0]|0,y)|0)>>>0)/255|0)+z|0)>>>(m>>>24)<<(f>>>24);if(!k)break;else j=j+(n<<2)|0}return}case 2:{j=(c[a+16>>2]|0)/(d[D+9>>0]|0|0)|0;k=c[a+20>>2]|0;if((g|0)<(e|0)){a=k+((_(j,g)|0)<<2)+(f<<2)|0;j=j+((f|0)>(b|0)?-1:1)|0;k=e-g|0;n=j;j=(m|0)==0?a+(j<<2)|0:a}else{a=k+((_(j,e)|0)<<2)+(b<<2)|0;k=g-e|0;n=j+((f|0)<(b|0)?-1:1)|0;j=a}k=k+((m|0)!=0&1)|0;if(!k)return;f=c[D+32>>2]|0;m=c[D+28>>2]|0;l=c[124356+((m&255)<<2)>>2]|0;i=c[124356+((m>>>8&255)<<2)>>2]|0;h=c[124356+((m>>>16&255)<<2)>>2]|0;g=c[124356+(m>>>24<<2)>>2]|0;while(1){k=k+-1|0;e=c[j>>2]|0;a=(d[l+((c[D+12>>2]&e)>>>(f&255))>>0]|0)+A|0;z=(d[i+((c[D+16>>2]&e)>>>(f>>>8&255))>>0]|0)+B|0;b=(d[h+((c[D+20>>2]&e)>>>(f>>>16&255))>>0]|0)+C|0;c[j>>2]=(z>>>0>255?255:z)>>>(m>>>8&255)<<(f>>>8&255)|(a>>>0>255?255:a)>>>(m&255)<<(f&255)|(b>>>0>255?255:b)>>>(m>>>16&255)<<(f>>>16&255)|(d[g+((c[D+24>>2]&e)>>>(f>>>24))>>0]|0)>>>(m>>>24)<<(f>>>24);if(!k)break;else j=j+(n<<2)|0}return}case 4:{j=(c[a+16>>2]|0)/(d[D+9>>0]|0|0)|0;k=c[a+20>>2]|0;if((g|0)<(e|0)){a=k+((_(j,g)|0)<<2)+(f<<2)|0;j=j+((f|0)>(b|0)?-1:1)|0;k=e-g|0;n=j;j=(m|0)==0?a+(j<<2)|0:a}else{a=k+((_(j,e)|0)<<2)+(b<<2)|0;k=g-e|0;n=j+((f|0)<(b|0)?-1:1)|0;j=a}k=k+((m|0)!=0&1)|0;if(!k)return;f=c[D+32>>2]|0;m=c[D+28>>2]|0;l=c[124356+((m&255)<<2)>>2]|0;i=c[124356+((m>>>8&255)<<2)>>2]|0;h=c[124356+((m>>>16&255)<<2)>>2]|0;g=c[124356+(m>>>24<<2)>>2]|0;while(1){k=k+-1|0;e=c[j>>2]|0;c[j>>2]=(((_(d[i+((c[D+16>>2]&e)>>>(f>>>8&255))>>0]|0,B)|0)>>>0)/255|0)>>>(m>>>8&255)<<(f>>>8&255)|(((_(d[l+((c[D+12>>2]&e)>>>(f&255))>>0]|0,A)|0)>>>0)/255|0)>>>(m&255)<<(f&255)|(((_(d[h+((c[D+20>>2]&e)>>>(f>>>16&255))>>0]|0,C)|0)>>>0)/255|0)>>>(m>>>16&255)<<(f>>>16&255)|(d[g+((c[D+24>>2]&e)>>>(f>>>24))>>0]|0)>>>(m>>>24)<<(f>>>24);if(!k)break;else j=j+(n<<2)|0}return}default:{l=(c[a+16>>2]|0)/(d[D+9>>0]|0|0)|0;k=c[a+20>>2]|0;if((g|0)<(e|0)){k=k+((_(l,g)|0)<<2)+(f<<2)|0;b=l+((f|0)>(b|0)?-1:1)|0;j=e-g|0;i=b;k=(m|0)==0?k+(b<<2)|0:k}else{k=k+((_(l,e)|0)<<2)+(b<<2)|0;j=g-e|0;i=l+((f|0)<(b|0)?-1:1)|0}j=j+((m|0)!=0&1)|0;if(!j)return;e=c[D+28>>2]|0;l=c[D+32>>2]|0;l=B>>>(e>>>8&255)<<(l>>>8&255)|A>>>(e&255)<<(l&255)|C>>>(e>>>16&255)<<(l>>>16&255)|z>>>(e>>>24)<<(l>>>24);while(1){j=j+-1|0;c[k>>2]=l;if(!j)break;else k=k+(i<<2)|0}return}}else switch(h|0){case 1:{k=(f-b|0)<0?0-(f-b)|0:f-b|0;j=(g-e|0)<0?0-(g-e)|0:g-e|0;if((k|0)<(j|0)){h=(k<<1)-j|0;x=k<<1;l=k-j|0;k=j;j=0;i=1}else{h=(j<<1)-k|0;x=j<<1;l=j-k|0;j=1;i=0}w=l<<1;v=(f|0)<(b|0)?0-j|0:j;u=(f|0)<(b|0)?-1:1;t=(g|0)<(e|0)?0-i|0:i;s=(g|0)<(e|0)?-1:1;r=k+((m|0)!=0&1)|0;if((r|0)<=0)return;g=c[a+20>>2]|0;p=c[D+32>>2]|0;q=c[D+28>>2]|0;f=c[124356+((q&255)<<2)>>2]|0;m=c[124356+((q>>>8&255)<<2)>>2]|0;n=c[124356+((q>>>16&255)<<2)>>2]|0;o=c[124356+(q>>>24<<2)>>2]|0;i=h;h=0;l=b;j=e;while(1){k=g+(_(c[a+16>>2]|0,j)|0)+(l<<2)|0;e=c[k>>2]|0;c[k>>2]=((((_(d[m+((c[D+16>>2]&e)>>>(p>>>8&255))>>0]|0,y)|0)>>>0)/255|0)+B|0)>>>(q>>>8&255)<<(p>>>8&255)|((((_(d[f+((c[D+12>>2]&e)>>>(p&255))>>0]|0,y)|0)>>>0)/255|0)+A|0)>>>(q&255)<<(p&255)|((((_(d[n+((c[D+20>>2]&e)>>>(p>>>16&255))>>0]|0,y)|0)>>>0)/255|0)+C|0)>>>(q>>>16&255)<<(p>>>16&255)|((((_(d[o+((c[D+24>>2]&e)>>>(p>>>24))>>0]|0,y)|0)>>>0)/255|0)+z|0)>>>(q>>>24)<<(p>>>24);k=(i|0)<0;h=h+1|0;if((h|0)>=(r|0))break;else{i=(k?x:w)+i|0;l=(k?v:u)+l|0;j=j+(k?t:s)|0}}return}case 2:{k=(f-b|0)<0?0-(f-b)|0:f-b|0;j=(g-e|0)<0?0-(g-e)|0:g-e|0;if((k|0)<(j|0)){h=(k<<1)-j|0;x=k<<1;l=k-j|0;k=j;j=0;i=1}else{h=(j<<1)-k|0;x=j<<1;l=j-k|0;j=1;i=0}w=l<<1;v=(f|0)<(b|0)?0-j|0:j;u=(f|0)<(b|0)?-1:1;t=(g|0)<(e|0)?0-i|0:i;s=(g|0)<(e|0)?-1:1;r=k+((m|0)!=0&1)|0;if((r|0)<=0)return;g=c[a+20>>2]|0;p=c[D+32>>2]|0;q=c[D+28>>2]|0;f=c[124356+((q&255)<<2)>>2]|0;m=c[124356+((q>>>8&255)<<2)>>2]|0;n=c[124356+((q>>>16&255)<<2)>>2]|0;o=c[124356+(q>>>24<<2)>>2]|0;i=h;h=0;l=b;j=e;while(1){k=g+(_(c[a+16>>2]|0,j)|0)+(l<<2)|0;e=c[k>>2]|0;z=(d[f+((c[D+12>>2]&e)>>>(p&255))>>0]|0)+A|0;y=(d[m+((c[D+16>>2]&e)>>>(p>>>8&255))>>0]|0)+B|0;b=(d[n+((c[D+20>>2]&e)>>>(p>>>16&255))>>0]|0)+C|0;c[k>>2]=(y>>>0>255?255:y)>>>(q>>>8&255)<<(p>>>8&255)|(z>>>0>255?255:z)>>>(q&255)<<(p&255)|(b>>>0>255?255:b)>>>(q>>>16&255)<<(p>>>16&255)|(d[o+((c[D+24>>2]&e)>>>(p>>>24))>>0]|0)>>>(q>>>24)<<(p>>>24);k=(i|0)<0;h=h+1|0;if((h|0)>=(r|0))break;else{i=(k?x:w)+i|0;l=(k?v:u)+l|0;j=j+(k?t:s)|0}}return}case 4:{k=(f-b|0)<0?0-(f-b)|0:f-b|0;j=(g-e|0)<0?0-(g-e)|0:g-e|0;if((k|0)<(j|0)){h=(k<<1)-j|0;x=k<<1;l=k-j|0;k=j;j=0;i=1}else{h=(j<<1)-k|0;x=j<<1;l=j-k|0;j=1;i=0}w=l<<1;v=(f|0)<(b|0)?0-j|0:j;u=(f|0)<(b|0)?-1:1;t=(g|0)<(e|0)?0-i|0:i;s=(g|0)<(e|0)?-1:1;r=k+((m|0)!=0&1)|0;if((r|0)<=0)return;g=c[a+20>>2]|0;p=c[D+32>>2]|0;q=c[D+28>>2]|0;f=c[124356+((q&255)<<2)>>2]|0;m=c[124356+((q>>>8&255)<<2)>>2]|0;n=c[124356+((q>>>16&255)<<2)>>2]|0;o=c[124356+(q>>>24<<2)>>2]|0;i=h;h=0;l=b;j=e;while(1){k=g+(_(c[a+16>>2]|0,j)|0)+(l<<2)|0;e=c[k>>2]|0;c[k>>2]=(((_(d[m+((c[D+16>>2]&e)>>>(p>>>8&255))>>0]|0,B)|0)>>>0)/255|0)>>>(q>>>8&255)<<(p>>>8&255)|(((_(d[f+((c[D+12>>2]&e)>>>(p&255))>>0]|0,A)|0)>>>0)/255|0)>>>(q&255)<<(p&255)|(((_(d[n+((c[D+20>>2]&e)>>>(p>>>16&255))>>0]|0,C)|0)>>>0)/255|0)>>>(q>>>16&255)<<(p>>>16&255)|(d[o+((c[D+24>>2]&e)>>>(p>>>24))>>0]|0)>>>(q>>>24)<<(p>>>24);k=(i|0)<0;h=h+1|0;if((h|0)>=(r|0))break;else{i=(k?x:w)+i|0;l=(k?v:u)+l|0;j=j+(k?t:s)|0}}return}default:{k=(f-b|0)<0?0-(f-b)|0:f-b|0;j=(g-e|0)<0?0-(g-e)|0:g-e|0;if((k|0)<(j|0)){i=(k<<1)-j|0;s=k<<1;l=k-j|0;k=j;j=0;h=1}else{i=(j<<1)-k|0;s=j<<1;l=j-k|0;j=1;h=0}r=l<<1;q=(f|0)<(b|0)?0-j|0:j;p=(f|0)<(b|0)?-1:1;o=(g|0)<(e|0)?0-h|0:h;n=(g|0)<(e|0)?-1:1;m=k+((m|0)!=0&1)|0;if((m|0)<=0)return;f=c[a+20>>2]|0;h=c[D+28>>2]|0;g=c[D+32>>2]|0;g=B>>>(h>>>8&255)<<(g>>>8&255)|A>>>(h&255)<<(g&255)|C>>>(h>>>16&255)<<(g>>>16&255)|z>>>(h>>>24)<<(g>>>24);h=0;l=b;j=e;while(1){c[f+(_(c[a+16>>2]|0,j)|0)+(l<<2)>>2]=g;k=(i|0)<0;h=h+1|0;if((h|0)>=(m|0))break;else{i=(k?s:r)+i|0;l=(k?q:p)+l|0;j=j+(k?o:n)|0}}return}}} -function iO(d,e,f){d=d|0;e=e|0;f=+f;var g=0,h=0;h=i;i=i+16|0;if((e|0)>=0){g=c[d+20>>2]|0;if((((c[d+12>>2]|0)>>>0)/(((g|0)/8|0)>>>0)|0)>>>0>e>>>0)if((g|0)==16){b[(c[d+8>>2]|0)+(e<<1)>>1]=~~(f*32767.0);i=h;return}else{a[(c[d+8>>2]|0)+e>>0]=~~(f*127.0+128.0);i=h;return}}d=nf(16)|0;ds(d,357130,h);zc(d|0,96,27)}function jO(a,e){a=a|0;e=e|0;var f=0,g=0,h=0.0;g=i;i=i+16|0;if((e|0)>=0){f=c[a+20>>2]|0;if((((c[a+12>>2]|0)>>>0)/(((f|0)/8|0)>>>0)|0)>>>0>e>>>0)if((f|0)==16){h=+(b[(c[a+8>>2]|0)+(e<<1)>>1]|0)/32767.0;i=g;return +h}else{h=(+(d[(c[a+8>>2]|0)+e>>0]|0)+-128.0)/127.0;i=g;return +h}}a=nf(16)|0;ds(a,357166,g);zc(a|0,96,27);return 0.0}function kO(a,b){a=a|0;b=b|0;return lO(a,b,30)|0}function lO(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((qDa(a,b)|0)!=7){c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0}e=EDa(a,b)|0;if(c[(c[155773]|0)+(c[e>>2]<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0){d=e+4|0;d=c[d>>2]|0;i=f;return d|0}c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0;d=e+4|0;d=c[d>>2]|0;i=f;return d|0}function mO(a){a=a|0;var b=0;b=lO(a,1,30)|0;JDa(a,vi[c[(c[b>>2]|0)+48>>2]&2047](b)|0);return 1}function nO(a){a=a|0;var b=0;b=lO(a,1,30)|0;JDa(a,vi[c[(c[b>>2]|0)+52>>2]&2047](b)|0);return 1}function oO(a){a=a|0;var b=0;b=lO(a,1,30)|0;JDa(a,vi[c[(c[b>>2]|0)+56>>2]&2047](b)|0);return 1}function pO(a){a=a|0;var b=0;b=lO(a,1,30)|0;IDa(a,+Mi[c[(c[b>>2]|0)+60>>2]&63](b));return 1}function qO(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=18392;c[b+4>>2]=0;a=xs(a,30,357202,b)|0;i=b;return a|0}function rO(a){a=a|0;wj(a);oAb(a);return}function sO(a){a=a|0;return 12}function tO(a){a=a|0;return 357286}function uO(a){a=a|0;return bjb()|0}function vO(b,d){b=b|0;d=d|0;tkb((a[d>>0]&1)==0?d+1|0:c[d+8>>2]|0)|0;return}function wO(b,d){b=b|0;d=d|0;var e=0;e=i;i=i+16|0;Iqb(b,1279070,0);d=ukb()|0;if(!d){i=e;return}Iqb(e,d,rnb(d)|0);if(!(a[b>>0]&1)){a[b+1>>0]=0;a[b>>0]=0}else{a[c[b+8>>2]>>0]=0;c[b+4>>2]=0}Qqb(b,0);c[b>>2]=c[e>>2];c[b+4>>2]=c[e+4>>2];c[b+8>>2]=c[e+8>>2];c[e>>2]=0;c[e+4>>2]=0;c[e+8>>2]=0;Mqb(e);L7a(d);i=e;return}function xO(b,d,e){b=b|0;d=d|0;e=e|0;e=qkb(d,e)|0;if(e>>>0>=5){b=0;return b|0}if(!(a[1205524+(e<<3)+4>>0]|0)){b=0;return b|0}b=c[1205524+(e<<3)>>2]|0;return b|0}function yO(){a[1205528]=0;a[1205536]=0;a[1205544]=0;a[1205552]=0;a[1205560]=0;if(0<5){c[301381]=0;a[1205528]=1}if(1<5){c[301383]=1;a[1205536]=1}if(2<5){c[301385]=2;a[1205544]=1}if(3<5){c[301387]=3;a[1205552]=1}if(4>=5)return;c[301389]=4;a[1205560]=1;return}function zO(a){a=a|0;FO(a);c[a>>2]=18440;return}function AO(a){a=a|0;wj(a);oAb(a);return}function BO(a,b){a=a|0;b=b|0;return 0}function CO(a,b){a=a|0;b=+b;return}function DO(){a[628476]=0;a[628488]=0;a[628500]=0;a[628512]=0;a[628524]=0;a[628536]=0;a[628548]=0;a[628560]=0;a[628572]=0;a[628584]=0;c[157147]=0;c[157148]=0;c[157149]=0;c[157150]=0;c[157151]=0;EO(628468,439634,0)|0;EO(628468,357324,1)|0;EO(628468,357332,2)|0;EO(628468,357342,3)|0;EO(628468,357351,4)|0;return}function EO(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;f=a[d>>0]|0;if(!(f<<24>>24))g=5381;else{h=d;g=5381;do{h=h+1|0;g=(g*33|0)+(f<<24>>24)|0;f=a[h>>0]|0}while(f<<24>>24!=0)}f=(g>>>0)%10|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+1|0)>>>0)%10|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+2|0)>>>0)%10|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+3|0)>>>0)%10|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+4|0)>>>0)%10|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+5|0)>>>0)%10|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+6|0)>>>0)%10|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+7|0)>>>0)%10|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+8|0)>>>0)%10|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+9|0)>>>0)%10|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else f=0}}}}}}}}}if((j|0)==5){a[f>>0]=1;c[b+(g*12|0)>>2]=d;c[b+(g*12|0)+4>>2]=e;f=1}if(e>>>0>4){c[k>>2]=d;c[k+4>>2]=e;vpb(441068,k)|0;j=0;i=k;return j|0}else{c[b+120+(e<<2)>>2]=d;j=f;i=k;return j|0}return 0}function FO(a){a=a|0;Jj(a);c[a>>2]=18496;return}function GO(a,b){a=a|0;b=b|0;Iqb(a,357359,3);return}function HO(a,b){a=a|0;b=b|0;if(a>>>0>4)a=0;else{a=c[628588+(a<<2)>>2]|0;if(!a)a=0;else{c[b>>2]=a;a=1}}return a|0}function IO(a){a=a|0;wj(a);oAb(a);return}function JO(a){a=a|0;return 13}function KO(a){a=a|0;return 357392}function LO(a,b,c){a=a|0;b=b|0;c=c|0;a=YAb(64)|0;rpa(a,b,c);return a|0}function MO(a){a=a|0;a=YAb(64)|0;Zoa(a);return a|0}function NO(a,b){a=a|0;b=b|0;return Voa(b)|0}function OO(a){a=a|0;var b=0;c[a>>2]=18596;b=c[a+4>>2]|0;if(b|0)Hi[c[(c[b>>2]|0)+4>>2]&1023](b);Mqb(a+8|0);return}function PO(a){a=a|0;var b=0;c[a>>2]=18596;b=c[a+4>>2]|0;if(b|0)Hi[c[(c[b>>2]|0)+4>>2]&1023](b);Mqb(a+8|0);oAb(a);return}function QO(a,b){a=a|0;b=b|0;c[a>>2]=b;Hi[c[(c[b>>2]|0)+8>>2]&1023](b);return}function RO(a,b){a=a|0;b=b|0;c[a>>2]=b;Hi[c[(c[b>>2]|0)+8>>2]&1023](b);return}function SO(a){a=a|0;a=c[a>>2]|0;Hi[c[(c[a>>2]|0)+12>>2]&1023](a);return}function TO(a){a=a|0;c[a>>2]=0;return}function UO(a){a=a|0;a=c[a>>2]|0;if(!a)return;Hi[c[(c[a>>2]|0)+12>>2]&1023](a);return}function VO(a,b){a=a|0;b=b|0;var d=0;if(b|0)Hi[c[(c[b>>2]|0)+8>>2]&1023](b);d=c[a>>2]|0;if(!d){c[a>>2]=b;return}Hi[c[(c[d>>2]|0)+12>>2]&1023](d);c[a>>2]=b;return}function WO(a){a=a|0;c[a>>2]=18596;c[a+8>>2]=0;c[a+8+4>>2]=0;c[a+8+8>>2]=0;c[a+4>>2]=Noa(a)|0;return}function XO(a){a=a|0;a=c[a+4>>2]|0;return vi[c[(c[a>>2]|0)+8>>2]&2047](a)|0}function YO(a){a=a|0;a=c[a+4>>2]|0;Hi[c[(c[a>>2]|0)+12>>2]&1023](a);return}function ZO(a){a=a|0;a=c[a+4>>2]|0;return vi[c[(c[a>>2]|0)+16>>2]&2047](a)|0}function _O(b){b=b|0;var d=0,e=0;d=a[b+8>>0]|0;if(!(d&1))e=(d&255)>>>1;else e=c[b+12>>2]|0;if(!e){b=0;return b|0}if(!(d&1)){b=b+8+1|0;return b|0}else{b=c[b+16>>2]|0;return b|0}return 0}function $O(a){a=a|0;c[a>>2]=Loa()|0;return}function aP(a){a=a|0;a=c[a>>2]|0;if(!a)return;Hi[c[(c[a>>2]|0)+4>>2]&1023](a);return}function bP(a){a=a|0;return c[a>>2]|0}function cP(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((qDa(a,b)|0)!=7){c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0}e=EDa(a,b)|0;if(c[(c[155773]|0)+(c[e>>2]<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0){d=e+4|0;d=c[d>>2]|0;i=f;return d|0}c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0;d=e+4|0;d=c[d>>2]|0;i=f;return d|0}function dP(a){a=a|0;var b=0,d=0;b=cP(a,1,54)|0;if((qDa(a,2)|0)>=1){d=r_(a,2,1)|0;if(d|0){_oa(b,d)|0;ipa(b);Hi[c[(c[d>>2]|0)+12>>2]&1023](d);jpa(b);a=0;return a|0}}a=OGa(a,2,357494)|0;return a|0}function eP(a){a=a|0;var b=0,d=0;b=cP(a,1,54)|0;if((qDa(a,2)|0)>=1){d=r_(a,2,1)|0;if(d|0){cpa(b,d);ipa(b);Hi[c[(c[d>>2]|0)+12>>2]&1023](d);jpa(b);a=0;return a|0}}a=OGa(a,2,357494)|0;return a|0}function fP(a){a=a|0;var b=0,d=0;b=cP(a,1,54)|0;d=dpa(b)|0;if(!d){HDa(a);return 1}else{t_(d,a);ipa(b);Hi[c[(c[d>>2]|0)+12>>2]&1023](d);jpa(b);return 1}return 0}function gP(a){a=a|0;var b=0,d=0;b=cP(a,1,54)|0;d=epa(b)|0;t_(d,a);ipa(b);Hi[c[(c[d>>2]|0)+12>>2]&1023](d);jpa(b);return 1}function hP(a){a=a|0;var b=0,d=0;b=cP(a,1,54)|0;d=fpa(b)|0;if(!d){HDa(a);return 1}else{t_(d,a);ipa(b);Hi[c[(c[d>>2]|0)+12>>2]&1023](d);jpa(b);return 1}return 0}function iP(a){a=a|0;IDa(a,+(gpa(cP(a,1,54)|0)|0));return 1}function jP(a){a=a|0;hpa(cP(a,1,54)|0);return 0}function kP(a){a=a|0;var b=0,c=0;c=cP(a,1,54)|0;YGa(a,2,6);pDa(a,1);nDa(a,3);ipa(c);b=eEa(a,(kDa(a)|0)+-2|0,-1,0)|0;jpa(c);if(!b){c=(kDa(a)|0)+-1|0;return c|0}else{c=kEa(a)|0;return c|0}return 0}function lP(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=18608;c[b+4>>2]=0;a=xs(a,54,357435,b)|0;i=b;return a|0}function mP(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((qDa(a,b)|0)!=7){c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0}e=EDa(a,b)|0;if(c[(c[155773]|0)+(c[e>>2]<<3)+(d>>>5<<2)>>2]&1<<(d&31)|0){d=e+4|0;d=c[d>>2]|0;i=f;return d|0}c[f>>2]=439265;Vs(d,f)|0;Ns(a,b,c[f>>2]|0)|0;d=e+4|0;d=c[d>>2]|0;i=f;return d|0}function nP(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;e=mP(a,1,53)|0;f=kDa(a)|0;a:do if((f|0)>1){b=_Ab((f+-1|0)>>>0>1073741823?-1:f+-1<<2)|0;d=0;while(1){g=d+2|0;h=r_(a,g,1)|0;c[b+(d<<2)>>2]=h;if(!h)break;d=d+1|0;if((d|0)>=(f+-1|0))break a}b:do if((d|0)>-1){f=0;while(1){if(f|0)Hi[c[(c[f>>2]|0)+4>>2]&1023](f);e=d+-1|0;if((d|0)<=0)break b;f=c[b+(e<<2)>>2]|0;d=e}}while(0);aBb(b);h=OGa(a,g,357494)|0;return h|0}else b=0;while(0);gs(a,spa(e,b,f+-1|0)|0);h=1;return h|0}function oP(a){a=a|0;YO((mP(a,1,53)|0)+8|0);return 0}function pP(b){b=b|0;var d=0,e=0;d=i;i=i+16|0;Hqb(d,tpa(mP(b,1,53)|0)|0);e=a[d>>0]|0;if(!(((e&1)==0?(e&255)>>>1:c[d+4>>2]|0)|0)){HDa(b);Mqb(d);i=d;return 1}else{ks(b,d);Mqb(d);i=d;return 1}return 0}function qP(a){a=a|0;gs(a,ZO((mP(a,1,53)|0)+8|0)|0);return 1}function rP(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=18680;c[b+4>>2]=0;a=xs(a,53,357553,b)|0;i=b;return a|0}function sP(a){a=a|0;wj(a);return}function tP(a){a=a|0;wj(a);oAb(a);return}function uP(a){a=a|0;return 14}function vP(a){a=a|0;return 357603}function wP(a,b){a=a|0;b=+b;return}function xP(a){a=a|0;EP(a);c[a>>2]=18728;return}function yP(a){a=a|0;wj(a);oAb(a);return}function zP(a){a=a|0;var b=0.0,d=0.0,e=0.0;c[a+56>>2]=(c[a+56>>2]|0)+1;h[a+16>>3]=+h[a+8>>3];d=+Mi[c[(c[a>>2]|0)+44>>2]&63](a);h[a+8>>3]=d;h[a+64>>3]=d-+h[a+16>>3];b=d-+h[a+24>>3];if(!(b>+h[a+48>>3]))return;e=+(c[a+56>>2]|0);c[a+32>>2]=~~(e/b+.5);h[a+40>>3]=b/e;h[a+24>>3]=d;c[a+56>>2]=0;return}function AP(a){a=a|0;return +(+h[a+64>>3])}function BP(a){a=a|0;return c[a+32>>2]|0}function CP(a){a=a|0;return +(+h[a+40>>3])}function DP(b){b=b|0;if(!(a[621128]|0))if(se(621128)|0){h[77642]=0.0;fd(621128)}return +(+ef()/1.0e3)}function EP(b){b=b|0;var d=0.0;Jj(b);c[b>>2]=18784;h[b+8>>3]=0.0;h[b+24>>3]=0.0;c[b+32>>2]=0;h[b+40>>3]=0.0;h[b+48>>3]=1.0;c[b+56>>2]=0;h[b+64>>3]=0.0;if(!(a[621128]|0))if(se(621128)|0){h[77642]=0.0;fd(621128)}d=+ef()/1.0e3;h[b+8>>3]=d;h[b+24>>3]=d;return}function FP(){if(!(a[621128]|0))if(se(621128)|0){h[77642]=0.0;fd(621128)}return +(+ef()/1.0e3)}function GP(a){a=a|0;var b=0,d=0;c[a>>2]=18840;b=c[a+8>>2]|0;if(!b){wj(a);return}d=c[a+12>>2]|0;if((d|0)!=(b|0))c[a+12>>2]=d+(~(((d+-48-b|0)>>>0)/48|0)*48|0);oAb(b);wj(a);return}function HP(a){a=a|0;var b=0,d=0;c[a>>2]=18840;b=c[a+8>>2]|0;if(!b){wj(a);oAb(a);return}d=c[a+12>>2]|0;if((d|0)!=(b|0))c[a+12>>2]=d+(~(((d+-48-b|0)>>>0)/48|0)*48|0);oAb(b);wj(a);oAb(a);return}function IP(a){a=a|0;return 15}function JP(a){a=a|0;return 363297}function KP(a){a=a|0;return a+8|0}function LP(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;f=i;i=i+16|0;e=c[a+8>>2]|0;a=c[a+12>>2]|0;a:do if((e|0)!=(a|0)){while(1){g=e;if((c[g>>2]|0)==(b|0)?(c[g+4>>2]|0)==(d|0):0)break;e=e+48|0;if((e|0)==(a|0))break a}i=f;return e|0}while(0);g=nf(16)|0;c[f>>2]=b;c[f+4>>2]=d;ds(g,357682,f);zc(g|0,96,27);return 0}function MP(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;switch(b|0){case 1792:{b=c[a+8>>2]|0;j=c[a+12>>2]|0;a:do if((b|0)==(j|0))i=6;else{f=c[d>>2]|0;e=c[d+4>>2]|0;while(1){h=b;if((c[h>>2]|0)==(f|0)?(c[h+4>>2]|0)==(e|0):0){i=6;break a}b=b+48|0;if((b|0)==(j|0)){b=j;h=j;e=j;break}}}while(0);if((i|0)==6){f=b;if((b|0)==(j|0)){b=j;h=j;e=f}else{e=f;b=f;b:while(1){f=c[d>>2]|0;g=c[d+4>>2]|0;while(1){h=b+48|0;if((h|0)==(j|0))break b;if((c[h>>2]|0)==(f|0)?(c[h+4>>2]|0)==(g|0):0)b=h;else break}f=e;b=e;g=h;i=b+48|0;do{c[b>>2]=c[g>>2];b=b+4|0;g=g+4|0}while((b|0)<(i|0));e=f+48|0;b=h}h=c[a+12>>2]|0;b=h}}g=e;if((g|0)!=(b|0)){f=h-b|0;nBb(e|0,b|0,f|0)|0;b=c[a+12>>2]|0;if((b|0)==(g+(((f|0)/48|0)*48|0)|0))b=g+(((f|0)/48|0)*48|0)|0;else{b=b+(~(((b+-48-(g+(((f|0)/48|0)*48|0))|0)>>>0)/48|0)*48|0)|0;c[a+12>>2]=b}}if((b|0)==(c[a+16>>2]|0)){NP(a+8|0,d);return}else{g=d;i=b+48|0;do{c[b>>2]=c[g>>2];b=b+4|0;g=g+4|0}while((b|0)<(i|0));c[a+12>>2]=(c[a+12>>2]|0)+48;return}}case 1794:{b=c[a+8>>2]|0;f=c[a+12>>2]|0;if((b|0)==(f|0))return;e=b;do{a=e;if((c[a>>2]|0)==(c[d>>2]|0)?(c[a+4>>2]|0)==(c[d+4>>2]|0):0){b=e;g=d;i=b+48|0;do{c[b>>2]=c[g>>2];b=b+4|0;g=g+4|0}while((b|0)<(i|0))}e=e+48|0}while((e|0)!=(f|0));return}case 1793:{b=c[a+8>>2]|0;j=c[a+12>>2]|0;c:do if((b|0)==(j|0))i=28;else{f=c[d>>2]|0;e=c[d+4>>2]|0;while(1){h=b;if((c[h>>2]|0)==(f|0)?(c[h+4>>2]|0)==(e|0):0){i=28;break c}b=b+48|0;if((b|0)==(j|0)){h=j;g=j;b=j;break}}}while(0);if((i|0)==28){e=b;if((b|0)==(j|0)){h=j;g=j;b=e}else{b=e;d:while(1){f=c[d>>2]|0;g=c[d+4>>2]|0;do{e=e+48|0;if((e|0)==(j|0))break d}while((c[e>>2]|0)==(f|0)?(c[e+4>>2]|0)==(g|0):0);f=b;g=e;i=b+48|0;do{c[b>>2]=c[g>>2];b=b+4|0;g=g+4|0}while((b|0)<(i|0));b=f+48|0}g=c[a+12>>2]|0;h=g}}f=b;if((f|0)==(h|0))return;e=g-h|0;nBb(b|0,h|0,e|0)|0;b=c[a+12>>2]|0;if((b|0)==(f+(((e|0)/48|0)*48|0)|0))return;c[a+12>>2]=b+(~(((b+-48-(f+(((e|0)/48|0)*48|0))|0)>>>0)/48|0)*48|0);return}default:return}}function NP(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=c[a>>2]|0;e=(((c[a+4>>2]|0)-k|0)/48|0)+1|0;if(e>>>0>89478485)jzb(a);d=((c[a+8>>2]|0)-k|0)/48|0;if(d>>>0<44739242){d=d<<1>>>0>>0?e:d<<1;f=c[a+4>>2]|0;if(!d){i=0;d=0;e=(f-k|0)/48|0;j=f}else{g=f;e=(f-k|0)/48|0;h=6}}else{e=c[a+4>>2]|0;d=89478485;g=e;e=(e-k|0)/48|0;h=6}if((h|0)==6){i=d;d=YAb(d*48|0)|0;j=g}h=d+(e*48|0)|0;f=d+(i*48|0)|0;g=h;d=b;e=g+48|0;do{c[g>>2]=c[d>>2];g=g+4|0;d=d+4|0}while((g|0)<(e|0));b=j-k|0;mBb(h+(((b|0)/-48|0)*48|0)|0,k|0,b|0)|0;c[a>>2]=h+(((b|0)/-48|0)*48|0);c[a+4>>2]=h+48;c[a+8>>2]=f;if(!k)return;oAb(k);return}function OP(a){a=a|0;var b=0;c[a>>2]=18880;b=c[a+8>>2]|0;if(!b){wj(a);return}Hi[c[(c[b>>2]|0)+4>>2]&1023](b);wj(a);return}function PP(a){a=a|0;var b=0;c[a>>2]=18880;b=c[a+8>>2]|0;if(b|0)Hi[c[(c[b>>2]|0)+4>>2]&1023](b);wj(a);oAb(a);return}function QP(a){a=a|0;return 17}function RP(a){a=a|0;return 357757}function SP(a,b){a=a|0;b=b|0;var d=0;d=YAb(592)|0;jQ(d,b);TP(c[a+8>>2]|0,d);return d|0}function TP(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;QO(e+4|0,bP(a+32|0)|0);c[e>>2]=b;if(b|0)Hi[c[(c[b>>2]|0)+8>>2]&1023](b);d=c[a+24>>2]|0;if(d>>>0<(c[a+28>>2]|0)>>>0){c[d>>2]=b;if(b){Hi[c[(c[b>>2]|0)+8>>2]&1023](b);d=c[a+24>>2]|0}c[a+24>>2]=d+4}else UP(a+20|0,e);if(!b){SO(e+4|0);i=e;return}Hi[c[(c[b>>2]|0)+12>>2]&1023](b);SO(e+4|0);i=e;return}function UP(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=c[a>>2]|0;e=((c[a+4>>2]|0)-h>>2)+1|0;if(e>>>0>1073741823)jzb(a);d=(c[a+8>>2]|0)-h|0;if(d>>2>>>0<536870911){d=d>>1>>>0>>0?e:d>>1;f=c[a+4>>2]|0;if(!d){i=0;d=0;e=f-h>>2}else{g=f;e=f-h>>2;j=6}}else{e=c[a+4>>2]|0;d=1073741823;g=e;e=e-h>>2;j=6}if((j|0)==6){i=d;d=YAb(d<<2)|0;f=g}j=d+(e<<2)|0;i=d+(i<<2)|0;d=c[b>>2]|0;c[j>>2]=d;if(!d)d=f;else{Hi[c[(c[d>>2]|0)+8>>2]&1023](d);d=c[a+4>>2]|0;h=c[a>>2]|0}if((d|0)==(h|0)){e=j;g=d}else{f=d;g=j;d=j;do{f=f+-4|0;e=c[f>>2]|0;c[g+-4>>2]=e;if(e|0)Hi[c[(c[e>>2]|0)+8>>2]&1023](e);g=d+-4|0;d=g}while((f|0)!=(h|0));e=d;g=c[a>>2]|0;d=c[a+4>>2]|0}c[a>>2]=e;c[a+4>>2]=j+4;c[a+8>>2]=i;f=g;if((d|0)!=(f|0))do{d=d+-4|0;e=c[d>>2]|0;if(e|0)Hi[c[(c[e>>2]|0)+12>>2]&1023](e)}while((d|0)!=(f|0));if(!g)return;oAb(g);return}function VP(b){b=b|0;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;c[b>>2]=18916;QO(g,bP(b+32|0)|0);a[b+36>>0]=1;SO(g);d=c[b+4>>2]|0;Hi[c[(c[d>>2]|0)+12>>2]&1023](d);aP(b+32|0);d=c[b+20>>2]|0;if(!d){OO(b);i=g;return}e=c[b+24>>2]|0;if((e|0)!=(d|0)){do{e=e+-4|0;c[b+24>>2]=e;f=c[e>>2]|0;if(f){Hi[c[(c[f>>2]|0)+12>>2]&1023](f);e=c[b+24>>2]|0}}while((e|0)!=(d|0));d=c[b+20>>2]|0}oAb(d);OO(b);i=g;return}function WP(a){a=a|0;VP(a);oAb(a);return}function XP(b){b=b|0;var d=0.0,e=0.0,f=0,g=0,h=0,j=0,k=0,l=0,m=0.0,n=0;n=i;i=i+16|0;d=+FP();e=+FP();QO(n,bP(b+32|0)|0);if(a[b+36>>0]|0){SO(n);i=n;return}m=e-d;while(1){f=c[b+20>>2]|0;a:do if((f|0)!=(c[b+24>>2]|0)){while(1){g=c[f>>2]|0;if((Lj(g)|0)==1)break;oQ(g,m);f=f+4|0;if((f|0)==(c[b+24>>2]|0))break a}j=c[b+24>>2]|0;if((f+4|0)==(j|0)){g=f;f=f+4|0}else{g=f+4|0;h=f;while(1){k=c[g>>2]|0;if(k|0)Hi[c[(c[k>>2]|0)+8>>2]&1023](k);l=c[h>>2]|0;if(l|0)Hi[c[(c[l>>2]|0)+12>>2]&1023](l);c[h>>2]=k;g=g+4|0;if((g|0)==(j|0))break;else h=h+4|0}g=f+(((j+-4-(f+4)|0)>>>2)+1<<2)|0;f=c[b+24>>2]|0;if((f|0)==(g|0))break}do{f=f+-4|0;c[b+24>>2]=f;h=c[f>>2]|0;if(h){Hi[c[(c[h>>2]|0)+12>>2]&1023](h);f=c[b+24>>2]|0}}while((f|0)!=(g|0))}while(0);SO(n);a_(2);d=+FP();QO(n,bP(b+32|0)|0);if(!(a[b+36>>0]|0)){m=d-e;e=d}else break}SO(n);i=n;return}function YP(a){a=a|0;var b=0;Jj(a);c[a>>2]=18880;b=YAb(40)|0;ZP(b);c[a+8>>2]=b;XO(b)|0;return}function ZP(b){b=b|0;WO(b);c[b>>2]=18916;c[b+20>>2]=0;c[b+24>>2]=0;c[b+28>>2]=0;$O(b+32|0);a[b+36>>0]=0;Rqb(b+8|0,357803)|0;return}function _P(b){b=b|0;var d=0;c[b>>2]=18936;d=c[b+528>>2]|0;if(d|0)XPa(d);MQa(b+464|0);if(a[b+16>>0]|0)W5a(b+56|0)|0;_5a(b+24|0)|0;d=c[b+532>>2]|0;if(d|0){RQ(d);oAb(d)}d=c[b+536>>2]|0;if(d|0){RQ(d);oAb(d)}aP(b+556|0);d=c[b+12>>2]|0;if(d|0)Hi[c[(c[d>>2]|0)+12>>2]&1023](d);c[b>>2]=19120;d=c[b+8>>2]|0;if(!d)return;Hi[c[(c[d>>2]|0)+12>>2]&1023](d);return}function $P(a){a=a|0;_P(a);oAb(a);return}function aQ(a){a=a|0;return}function bQ(a){a=a|0;return c[a+532>>2]|0}function cQ(a){a=a|0;return 28}function dQ(b){b=b|0;var d=0,e=0;d=i;i=i+16|0;if(a[b+584>>0]|0){b=0;i=d;return b|0}QO(d,bP(b+556|0)|0);if(!(a[b+560>>0]|0))b=0;else{a[b+560>>0]=0;e=c[b+532>>2]|0;c[b+532>>2]=c[b+536>>2];c[b+536>>2]=e;b=1}SO(d);e=b;i=d;return e|0}function eQ(b){b=b|0;if(!(a[b+16>>0]|0)){b=0;return b|0}b=c[b+476>>2]|0;return b|0}function fQ(b){b=b|0;if(!(a[b+16>>0]|0)){b=0;return b|0}b=c[b+480>>2]|0;return b|0}function gQ(a){a=a|0;a=c[a+12>>2]|0;return vi[c[(c[a>>2]|0)+76>>2]&2047](a)|0}function hQ(b){b=b|0;var d=0;d=c[b+8>>2]|0;if(!(vi[c[(c[d>>2]|0)+40>>2]&2047](d)|0)){d=0;return d|0}d=(a[b+584>>0]|0)==0;return d|0}function iQ(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;QO(e,bP(a+556|0)|0);if(b|0){Hi[c[(c[b>>2]|0)+8>>2]&1023](b);Hi[c[(c[b>>2]|0)+8>>2]&1023](b)}d=c[a+8>>2]|0;if(d|0)Hi[c[(c[d>>2]|0)+12>>2]&1023](d);c[a+8>>2]=b;if(!b){SO(e);i=e;return}Hi[c[(c[b>>2]|0)+12>>2]&1023](b);SO(e);i=e;return}function jQ(b,d){b=b|0;d=d|0;var e=0;Jj(b);c[b+8>>2]=0;c[b>>2]=18936;c[b+12>>2]=d;if(d|0)Hi[c[(c[d>>2]|0)+8>>2]&1023](d);a[b+16>>0]=0;a[b+17>>0]=0;c[b+20>>2]=0;c[b+528>>2]=0;$O(b+556|0);a[b+560>>0]=0;c[b+588>>2]=0;c[b+568>>2]=0;c[b+568+4>>2]=0;c[b+568+8>>2]=0;c[b+568+12>>2]=0;a[b+568+16>>0]=0;Z5a(b+24|0)|0;LQa(b+464|0);d=YAb(28)|0;QQ(d);c[b+532>>2]=d;d=YAb(28)|0;QQ(d);c[b+536>>2]=d;kQ(b);d=YAb(40)|0;TQ(d);Hi[c[(c[d>>2]|0)+8>>2]&1023](d);Hi[c[(c[d>>2]|0)+8>>2]&1023](d);e=c[b+8>>2]|0;if(!e){c[b+8>>2]=d;e=c[d>>2]|0;e=e+12|0;e=c[e>>2]|0;Hi[e&1023](d);b=c[b+8>>2]|0;e=c[b>>2]|0;e=e+12|0;e=c[e>>2]|0;Hi[e&1023](b);return}Hi[c[(c[e>>2]|0)+12>>2]&1023](e);c[b+8>>2]=d;e=c[d>>2]|0;e=e+12|0;e=c[e>>2]|0;Hi[e&1023](d);b=c[b+8>>2]|0;e=c[b>>2]|0;e=e+12|0;e=c[e>>2]|0;Hi[e&1023](b);return}function kQ(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;j=i;i=i+48|0;if(a[b+16>>0]|0){i=j;return}c[j+16>>2]=0;NQa(j+24|0);while(1){lQ(b,0)|0;d=UPa(b+464|0,j+24|0,j+16|0,b+432|0)|0;if((d|0)==-21){W5a(b+56|0)|0;a[b+17>>0]=0}else if((d|0)>=0)break;if(S5a(b+416|0)|0){h=8;break}}if((h|0)==8){OQa(j+24|0);h=nf(16)|0;ds(h,357864,j);zc(h|0,96,27)}if((d|0)>0)do lQ(b,0)|0;while((UPa(b+464|0,j+24|0,j+16|0,b+432|0)|0)>0);OQa(j+24|0);c[b+528>>2]=WPa(b+464|0,c[j+16>>2]|0)|0;VPa(c[j+16>>2]|0);f=c[b+536>>2]|0;c[j+8>>2]=f;c[j+8+4>>2]=c[b+532>>2];d=c[b+484>>2]|0;c[b+544>>2]=d;c[b+540>>2]=d;e=c[b+488>>2]|0;c[b+552>>2]=e;c[b+548>>2]=e;g=c[b+512>>2]|0;switch(g|0){case 0:{c[b+552>>2]=e>>>1;h=12;break}case 2:{h=12;break}default:{}}if((h|0)==12)c[b+544>>2]=d>>>1;d=c[b+476>>2]|0;c[f>>2]=d;c[f+12>>2]=d;e=c[b+480>>2]|0;c[f+4>>2]=e;c[f+16>>2]=e;switch(g|0){case 0:{c[f+16>>2]=(e|0)/2|0;h=15;break}case 2:{h=15;break}default:{}}if((h|0)==15)c[f+12>>2]=(d|0)/2|0;e=_(e,d)|0;c[f+8>>2]=_Ab((e|0)>-1?e:-1)|0;e=_(c[f+16>>2]|0,c[f+12>>2]|0)|0;e=_Ab((e|0)>-1?e:-1)|0;d=c[j+8>>2]|0;c[d+20>>2]=e;e=_(c[d+16>>2]|0,c[d+12>>2]|0)|0;c[d+24>>2]=_Ab((e|0)>-1?e:-1)|0;hBb(c[d+8>>2]|0,16,_(c[d+4>>2]|0,c[d>>2]|0)|0)|0;hBb(c[d+20>>2]|0,-128,_(c[d+16>>2]|0,c[d+12>>2]|0)|0)|0;hBb(c[d+24>>2]|0,-128,_(c[d+16>>2]|0,c[d+12>>2]|0)|0)|0;d=c[b+476>>2]|0;e=c[j+8+4>>2]|0;c[e>>2]=d;c[e+12>>2]=d;f=c[b+480>>2]|0;c[e+4>>2]=f;c[e+16>>2]=f;switch(c[b+512>>2]|0){case 0:{c[e+16>>2]=(f|0)/2|0;h=19;break}case 2:{h=19;break}default:{}}if((h|0)==19)c[e+12>>2]=(d|0)/2|0;h=_(f,d)|0;c[e+8>>2]=_Ab((h|0)>-1?h:-1)|0;h=_(c[e+16>>2]|0,c[e+12>>2]|0)|0;c[e+20>>2]=_Ab((h|0)>-1?h:-1)|0;h=_(c[e+16>>2]|0,c[e+12>>2]|0)|0;c[e+24>>2]=_Ab((h|0)>-1?h:-1)|0;hBb(c[e+8>>2]|0,16,_(c[e+4>>2]|0,c[e>>2]|0)|0)|0;hBb(c[e+20>>2]|0,-128,_(c[e+16>>2]|0,c[e+12>>2]|0)|0)|0;hBb(c[e+24>>2]|0,-128,_(c[e+16>>2]|0,c[e+12>>2]|0)|0)|0;a[b+16>>0]=1;dQa(c[b+528>>2]|0,b+432|0,0)|0;i=j;return}function lQ(b,d){b=b|0;d=d|0;var e=0,f=0;if(!(a[b+17>>0]|0)){mQ(b);e=U5a(b+416|0)|0;c[b+20>>2]=e;V5a(b+56|0,e)|0;a[b+17>>0]=1;d6a(b+56|0,b+416|0)|0;e=b+56|0}else e=b+56|0;if((h6a(e,b+432|0)|0)==1){f=0;return f|0}if(d){do{do{mQ(b);f=U5a(b+416|0)|0}while((f|0)!=(c[b+20>>2]|0));d6a(e,b+416|0)|0}while((h6a(e,b+432|0)|0)!=1);e=0;return e|0}while(1){if(S5a(b+416|0)|0)break;do{mQ(b);d=U5a(b+416|0)|0}while((d|0)!=(c[b+20>>2]|0));d6a(e,b+416|0)|0;if((h6a(e,b+432|0)|0)==1){e=0;f=13;break}}if((f|0)==13)return e|0;a[b+584>>0]=1;f=1;return f|0}function mQ(b){b=b|0;var d=0,e=0,f=0;e=i;i=i+16|0;if((c6a(b+24|0,b+416|0)|0)==1){i=e;return}d=0;while(1){if(d|0)if(!(a[b+16>>0]|0))if(X5a(b+56|0)|0){d=6;break}d=$5a(b+24|0,8192)|0;f=c[b+12>>2]|0;f=cj[c[(c[f>>2]|0)+36>>2]&127](f,d,8192,0)|0;a6a(b+24|0,f)|0;if((c6a(b+24|0,b+416|0)|0)==1){d=8;break}}if((d|0)==6){f=nf(16)|0;ds(f,357849,e);zc(f|0,96,27)}else if((d|0)==8){i=e;return}}function nQ(b,d){b=b|0;d=+d;var e=0,f=0,g=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0,o=0;n=i;i=i+16|0;e=c[b+12>>2]|0;if(d<.01){Gi[c[(c[e>>2]|0)+60>>2]&255](e,0,0)|0;e6a(b+24|0)|0;b6a(b+24|0,b+416|0)|0;lQ(b,1)|0;c[n>>2]=1;c[n+4>>2]=0;YPa(c[b+528>>2]|0,5,n,8)|0;h[b+576>>3]=-1.0;h[b+568>>3]=-1.0;a[b+584>>0]=0;i=n;return}e=vi[c[(c[e>>2]|0)+28>>2]&2047](e)|0;f=C;a:do if((f|0)>0|(f|0)==0&e>>>0>0){k=+(e>>>0)+4294967296.0*+(f|0);j=+(e>>>0)+4294967296.0*+(f|0);g=0.0;b:while(1){l=k*.5;e=+N(l)>=1.0?(l>0.0?~~+$(+M(l/4294967296.0),4294967295.0)>>>0:~~+Z((l-+(~~l>>>0))/4294967296.0)>>>0):0;do{f=c[b+12>>2]|0;Gi[c[(c[f>>2]|0)+60>>2]&255](f,~~l>>>0,e)|0;e6a(b+24|0)|0;b6a(b+24|0,b+416|0)|0;lQ(b,0)|0;if(a[b+584>>0]|0)break b;m=+jRa(c[b+528>>2]|0,c[b+448>>2]|0,c[b+448+4>>2]|0);o=c[b+528>>2]|0;f=jBb(c[b+448>>2]|0,c[b+448+4>>2]|0,1,0)|0;k=+jRa(o,f,C)}while(m==-1.0);if(m<=d&k>d)break a;j=m>d?l:j;g=m>d?g:l;if(j-g>.0001)k=j+g;else break a}i=n;return}while(0);h[b+576>>3]=-1.0;h[b+568>>3]=-1.0;a[b+584>>0]=0;YPa(c[b+528>>2]|0,5,b+448|0,8)|0;i=n;return}function oQ(b,d){b=b|0;d=+d;var e=0,f=0,g=0,j=0,k=0,l=0;j=i;i=i+64|0;g=c[b+8>>2]|0;pi[c[(c[g>>2]|0)+20>>2]&31](g,d);g=c[b+8>>2]|0;d=+Mi[c[(c[g>>2]|0)+16>>2]&63](g);if(d<+h[b+568>>3])nQ(b,d);if(a[b+584>>0]|0){i=j;return}if(d<+h[b+576>>3]){i=j;return}mQa(c[b+528>>2]|0,j+16|0)|0;while(1){if(lQ(b,0)|0)break;if(!(dQa(c[b+528>>2]|0,b+432|0,j)|0)){e=8;break}}if((e|0)==8){h[b+568>>3]=+h[b+576>>3];h[b+576>>3]=+jRa(c[b+528>>2]|0,c[j>>2]|0,c[j+4>>2]|0);QO(j+8|0,bP(b+556|0)|0);a[b+560>>0]=0;SO(j+8|0);e=c[b+536>>2]|0;if((c[e+4>>2]|0)>0){f=0;do{g=c[e>>2]|0;k=(c[e+8>>2]|0)+(_(g,f)|0)|0;e=(c[j+16+12>>2]|0)+(_((c[b+548>>2]|0)+f|0,c[j+16+8>>2]|0)|0)|0;mBb(k|0,e+(c[b+540>>2]|0)|0,g|0)|0;f=f+1|0;e=c[b+536>>2]|0}while((f|0)<(c[e+4>>2]|0))}if((c[e+16>>2]|0)>0){g=0;do{f=c[e+12>>2]|0;k=(c[e+20>>2]|0)+(_(f,g)|0)|0;e=(c[j+16+28>>2]|0)+(_((c[b+552>>2]|0)+g|0,c[j+16+24>>2]|0)|0)|0;mBb(k|0,e+(c[b+544>>2]|0)|0,f|0)|0;g=g+1|0;e=c[b+536>>2]|0;f=c[e+16>>2]|0}while((g|0)<(f|0));if((f|0)>0){f=0;do{k=c[e+12>>2]|0;l=(c[e+24>>2]|0)+(_(k,f)|0)|0;g=(c[j+16+44>>2]|0)+(_((c[b+552>>2]|0)+f|0,c[j+16+40>>2]|0)|0)|0;mBb(l|0,g+(c[b+544>>2]|0)|0,k|0)|0;f=f+1|0;e=c[b+536>>2]|0}while((f|0)<(c[e+16>>2]|0))}}if(d>+h[b+576>>3]){l=(c[b+588>>2]|0)+1|0;c[b+588>>2]=l;if(l>>>0>5)pi[c[(c[b>>2]|0)+52>>2]&31](b,d)}else c[b+588>>2]=0;QO(j+8|0,bP(b+556|0)|0);a[b+560>>0]=1;SO(j+8|0)}i=j;return}function pQ(a){a=a|0;c[a>>2]=19016;aP(a+32|0);return}function qQ(a){a=a|0;c[a>>2]=19016;aP(a+32|0);oAb(a);return}function rQ(a){a=a|0;return +(+h[a+16>>3])}function sQ(b,c){b=b|0;c=+c;var d=0;d=i;i=i+16|0;QO(d,bP(b+32|0)|0);if(!(a[b+8>>0]|0)){SO(d);i=d;return}h[b+16>>3]=+h[b+16>>3]+ +h[b+24>>3]*c;SO(d);i=d;return}function tQ(b){b=b|0;a[b+8>>0]=1;return}function uQ(b){b=b|0;a[b+8>>0]=0;return}function vQ(a,b){a=a|0;b=+b;var c=0;c=i;i=i+16|0;QO(c,bP(a+32|0)|0);h[a+16>>3]=b;SO(c);i=c;return}function wQ(a){a=a|0;return +(+Mi[c[(c[a>>2]|0)+16>>2]&63](a))}function xQ(b){b=b|0;return (a[b+8>>0]|0)!=0|0}function yQ(a){a=a|0;c[a>>2]=19068;a=c[a+8>>2]|0;if(!a)return;Hi[c[(c[a>>2]|0)+12>>2]&1023](a);return}function zQ(a){a=a|0;var b=0;c[a>>2]=19068;b=c[a+8>>2]|0;if(!b){oAb(a);return}Hi[c[(c[b>>2]|0)+12>>2]&1023](b);oAb(a);return}function AQ(a){a=a|0;a=c[a+8>>2]|0;return +(+_i[c[(c[a>>2]|0)+76>>2]&15](a,0))}function BQ(a,b){a=a|0;b=+b;return}function CQ(a){a=a|0;a=c[a+8>>2]|0;vi[c[(c[a>>2]|0)+20>>2]&2047](a)|0;return}function DQ(a){a=a|0;a=c[a+8>>2]|0;Hi[c[(c[a>>2]|0)+28>>2]&1023](a);return}function EQ(a,b){a=a|0;b=+b;a=c[a+8>>2]|0;Di[c[(c[a>>2]|0)+72>>2]&3](a,b,0);return}function FQ(a){a=a|0;var b=0;b=c[a+8>>2]|0;if(vi[c[(c[b>>2]|0)+40>>2]&2047](b)|0){b=0;return b|0}b=c[a+8>>2]|0;b=(vi[c[(c[b>>2]|0)+44>>2]&2047](b)|0)^1;return b|0}function GQ(a){a=a|0;c[a>>2]=19120;a=c[a+8>>2]|0;if(!a)return;Hi[c[(c[a>>2]|0)+12>>2]&1023](a);return}function HQ(a){a=a|0;var b=0;c[a>>2]=19120;b=c[a+8>>2]|0;if(!b){oAb(a);return}Hi[c[(c[b>>2]|0)+12>>2]&1023](b);oAb(a);return}function IQ(a){a=a|0;return}function JQ(a){a=a|0;a=c[a+8>>2]|0;Hi[c[(c[a>>2]|0)+24>>2]&1023](a);return}function KQ(a){a=a|0;a=c[a+8>>2]|0;Hi[c[(c[a>>2]|0)+28>>2]&1023](a);return}function LQ(a,b){a=a|0;b=+b;a=c[a+8>>2]|0;pi[c[(c[a>>2]|0)+32>>2]&31](a,b);return}function MQ(a){a=a|0;a=c[a+8>>2]|0;return +(+Mi[c[(c[a>>2]|0)+36>>2]&63](a))}function NQ(a){a=a|0;a=c[a+8>>2]|0;return vi[c[(c[a>>2]|0)+40>>2]&2047](a)|0}function OQ(a,b){a=a|0;b=b|0;var d=0;if(b|0){Hi[c[(c[b>>2]|0)+8>>2]&1023](b);Hi[c[(c[b>>2]|0)+8>>2]&1023](b)}d=c[a+8>>2]|0;if(d|0)Hi[c[(c[d>>2]|0)+12>>2]&1023](d);c[a+8>>2]=b;if(!b)return;Hi[c[(c[b>>2]|0)+12>>2]&1023](b);return}function PQ(a){a=a|0;return c[a+8>>2]|0}function QQ(a){a=a|0;c[a+8>>2]=0;c[a+20>>2]=0;c[a+24>>2]=0;return}function RQ(a){a=a|0;var b=0;b=c[a+8>>2]|0;if(b|0)aBb(b);b=c[a+20>>2]|0;if(b|0)aBb(b);b=c[a+24>>2]|0;if(!b)return;aBb(b);return}function SQ(a,b){a=a|0;b=b|0;var d=0,e=0.0;d=c[(c[a>>2]|0)+32>>2]|0;e=+Mi[c[(c[b>>2]|0)+36>>2]&63](b);pi[d&31](a,e);d=vi[c[(c[b>>2]|0)+40>>2]&2047](b)|0;b=c[a>>2]|0;if(d){Hi[c[b+24>>2]&1023](a);return}else{Hi[c[b+28>>2]&1023](a);return}}function TQ(b){b=b|0;Jj(b);c[b>>2]=19016;a[b+8>>0]=0;h[b+16>>3]=0.0;h[b+24>>3]=1.0;$O(b+32|0);return}function UQ(a,b){a=a|0;b=b|0;Jj(a);c[a>>2]=19068;c[a+8>>2]=b;if(!b)return;Hi[c[(c[b>>2]|0)+8>>2]&1023](b);return}function VQ(b){b=b|0;var d=0;c[b>>2]=19200;d=c[155676]|0;if(d|0)Hi[c[(c[d>>2]|0)+32>>2]&1023](d);d=c[b+116>>2]|0;if(d|0){n8a(d);c[b+116>>2]=0}d=c[b+112>>2]|0;if(d|0){yhb(d);c[b+112>>2]=0;chb(512)}a[b+108>>0]=0;ehb(32);d=c[b+104>>2]|0;if(!d){d=b+8|0;Mqb(d);UR(b);return}Hi[c[(c[d>>2]|0)+12>>2]&1023](d);d=b+8|0;Mqb(d);UR(b);return}function WQ(a){a=a|0;VQ(a);oAb(a);return}function XQ(a){a=a|0;return 16}function YQ(a){a=a|0;return 358067}function ZQ(e,f,g,j){e=e|0;f=f|0;g=g|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=i;i=i+96|0;a[t>>0]=0;c[t+4>>2]=1;a[t+8>>0]=1;c[t+12>>2]=0;a[t+16>>0]=0;c[t+20>>2]=1;c[t+24>>2]=1;a[t+28>>0]=0;a[t+29>>0]=1;c[t+32>>2]=0;a[t+36>>0]=0;h[t+40>>3]=0.0;a[t+48>>0]=0;c[t+52>>2]=0;c[t+56>>2]=0;if(!j){j=1;k=1;l=0}else{l=t;k=l+60|0;do{c[l>>2]=c[j>>2];l=l+4|0;j=j+4|0}while((l|0)<(k|0));j=c[t+20>>2]|0;k=c[t+24>>2]|0;l=c[t+32>>2]|0}r=(j|0)<1?1:j;c[t+20>>2]=r;q=(k|0)<1?1:k;c[t+24>>2]=q;o=(vi[c[(c[e>>2]|0)+48>>2]&2047](e)|0)+-1|0;p=(l|0)<0?0:l;p=(o|0)<(p|0)?o:p;c[t+32>>2]=p;if((f|0)==0|(g|0)==0){c[t+64>>2]=0;c[t+64+4>>2]=0;c[t+64+8>>2]=0;c[t+64+12>>2]=0;c[t+64+16>>2]=0;Ekb(p,t+64|0)|0;j=c[t+64+4>>2]|0;k=c[t+64+8>>2]|0}else{j=f;k=g}o=(a[t>>0]|0)==0;if(o)l=2;else if((c[t+4>>2]|0)==1)l=4099;else{c[t+64>>2]=0;c[t+64+4>>2]=j;c[t+64+8>>2]=k;c[t+64+12>>2]=0;c[t+64+16>>2]=0;if(!(Gkb(p,t+64|0,t+64|0)|0))if((Dkb(p,0,t+64|0)|0)<0){e=0;i=t;return e|0}j=c[t+64+4>>2]|0;k=c[t+64+8>>2]|0;l=3}m=(a[t+16>>0]|0)==0?l:l|32;f=b[t+28>>1]|0;m=(f&255)<<24>>24==0?m:m|16;m=(a[t+36>>0]|0)==0?m:m|8192;g=a[t+48>>0]|0;do if(g<<24>>24!=0&o){l=c[t+56>>2]|0;n=c[t+52>>2]|0;c[t+64>>2]=0;c[t+64+4>>2]=0;c[t+64+8>>2]=0;c[t+64+12>>2]=0;z6a(p,t+64|0)|0;n=(c[t+64>>2]|0)+n|0;l=(c[t+64+4>>2]|0)+l|0}else if(!(((f&65535)>>>8&255)<<24>>24)){n=p|536805376;l=p|536805376;break}else{n=p|805240832;l=p|805240832;break}while(0);Hi[c[(c[e>>2]|0)+32>>2]&1023](e);if(!(_Q(e,n,l,j,k,m,c[t+12>>2]|0)|0)){e=0;i=t;return e|0}Xi[c[(c[e>>2]|0)+84>>2]&511](e,c[e+104>>2]|0)|0;si[c[(c[e>>2]|0)+132>>2]&511](e,(a[e+109>>0]|0)!=0);Mkb(c[e+112>>2]|0,r,q);if(!(g<<24>>24)){if(((f&65535)>>>8&255)<<24>>24!=0&o)s=20}else if(o)s=20;if((s|0)==20)vkb(c[e+112>>2]|0,n,l);Nkb(c[e+112>>2]|0);q8a(d[t+8>>0]|0)|0;cR(e,t);j=c[155676]|0;if(!j){e=1;i=t;return e|0}Gi[c[(c[j>>2]|0)+28>>2]&255](j,c[e+28>>2]|0,c[e+32>>2]|0)|0;e=1;i=t;return e|0}function _Q(d,e,f,g,h,j,k){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+272|0;c[s+244>>2]=e;c[s+240>>2]=f;c[s+236>>2]=g;c[s+232>>2]=h;c[s+228>>2]=j;h=zkb()|0;do if(!h)r=6;else{if(pmb(h,358083,3)|0)if(pmb(h,358087,7)|0)if(pmb(h,358373,5)|0)if(pmb(h,358379,5)|0)if(pmb(h,607986,10)|0){r=6;break}if(!(a[d+121>>0]|0))m=1;else{yA(0);m=1}}while(0);if((r|0)==6){h=p7a(358095)|0;if(!h)m=0;else m=(a[h>>0]|0)!=48}h=p7a(358122)|0;if(!h)h=0;else h=(a[h>>0]|0)!=48;c[s+180>>2]=2;c[s+180+4>>2]=1;a[s+180+8>>0]=0;q=h&1;a[s+180+9>>0]=q;c[s+180+12>>2]=3;c[s+180+16>>2]=0;a[s+180+20>>0]=1;a[s+180+21>>0]=q;c[s+180+24>>2]=2;c[s+180+28>>2]=0;a[s+180+32>>0]=1;a[s+180+33>>0]=q;c[s+216>>2]=0;q=s+216+4|0;c[q>>2]=0;c[s+216+8>>2]=0;l=YAb(36)|0;c[s+216>>2]=l;c[s+216+8>>2]=l+36;c[l>>2]=c[s+180>>2];c[l+4>>2]=c[s+180+4>>2];c[l+8>>2]=c[s+180+8>>2];c[l+12>>2]=c[s+180+12>>2];c[l+12+4>>2]=c[s+180+12+4>>2];c[l+12+8>>2]=c[s+180+12+8>>2];c[l+24>>2]=c[s+180+24>>2];c[l+24+4>>2]=c[s+180+24+4>>2];c[l+24+8>>2]=c[s+180+24+8>>2];c[q>>2]=l+36;if(!(a[d+121>>0]|0))p=l+36|0;else{g=l+36|0;j=l;e=l+36|0;h=l;while(1){if(!(a[j+8>>0]|0))r=16;else if((c[j>>2]|0)>2){j=l+(((h-l|0)/12|0)*12|0)|0;g=e-(j+12)|0;nBb(j|0,j+12|0,g|0)|0;h=c[q>>2]|0;if((h|0)==(j+(((g|0)/12|0)*12|0)|0)){f=j;h=j+(((g|0)/12|0)*12|0)|0}else{h=h+(~(((h+-12-(j+(((g|0)/12|0)*12|0))|0)>>>0)/12|0)*12|0)|0;c[q>>2]=h;f=j}}else r=16;if((r|0)==16){r=0;f=j+12|0;h=g}if((f|0)==(h|0)){p=h;break}else{g=h;j=f;e=h;h=f}}}o=c[s+216>>2]|0;if(m)if((o+12|0)!=(p|0)){c[s+248>>2]=c[o>>2];c[s+248+4>>2]=c[o+4>>2];c[s+248+8>>2]=c[o+8>>2];n=p-(o+12)|0;nBb(o|0,o+12|0,n|0)|0;c[o+(((n|0)/12|0)*12|0)>>2]=c[s+248>>2];c[o+(((n|0)/12|0)*12|0)+4>>2]=c[s+248+4>>2];c[o+(((n|0)/12|0)*12|0)+8>>2]=c[s+248+8>>2]};c[s+168>>2]=0;c[s+168+4>>2]=0;c[s+168+8>>2]=0;c[s+156>>2]=0;c[s+156+4>>2]=0;c[s+156+8>>2]=0;c[s+144>>2]=0;c[s+144+4>>2]=0;c[s+144+8>>2]=0;c[s+108>>2]=d;c[s+108+4>>2]=s+244;c[s+108+8>>2]=s+240;c[s+108+12>>2]=s+236;c[s+108+16>>2]=s+232;c[s+108+20>>2]=s+228;c[s+108+24>>2]=s+168;c[s+108+28>>2]=s+156;c[s+108+32>>2]=s+144;n=(o|0)==(p|0);a:do if(n)h=d+116|0;else{m=o;while(1){e=c[m>>2]|0;f=c[m+4>>2]|0;l=c[m+8>>2]|0;h=zA()|0;$Q(d,k,h);v6a(17,e)|0;v6a(18,f)|0;v6a(21,(l&255)<<24>>24==0?((l&65535)>>>8<<16>>16==0?0:2):4)|0;v6a(20,(l&65535)>>>8&65535)|0;if(!(a[s+168>>0]&1)){a[s+168+1>>0]=0;a[s+168>>0]=0}else{a[c[s+168+8>>2]>>0]=0;c[s+168+4>>2]=0}if(!(a[s+156>>0]&1)){a[s+156+1>>0]=0;a[s+156>>0]=0}else{a[c[s+156+8>>2]>>0]=0;c[s+156+4>>2]=0}c[s+84>>2]=e;c[s+84+4>>2]=f;b[s+84+8>>1]=l;b[s+84+10>>1]=l>>>16;c[s+248>>2]=c[s+84>>2];c[s+248+4>>2]=c[s+84+4>>2];c[s+248+8>>2]=c[s+84+8>>2];aR(s+108|0,s+248|0)|0;g=c[d+112>>2]|0;if((k|0)>0&(g|0)==0){$Q(d,0,h);c[s+72>>2]=e;c[s+72+4>>2]=f;b[s+72+8>>1]=l;b[s+72+10>>1]=l>>>16;c[s+248>>2]=c[s+72>>2];c[s+248+4>>2]=c[s+72+4>>2];c[s+248+8>>2]=c[s+72+8>>2];j=aR(s+108|0,s+248|0)|0;g=c[d+112>>2]|0;j=j?0:k}else j=k;if(!((g|0)!=0|h^1)){$Q(d,j,0);c[s+48>>2]=e;c[s+48+4>>2]=f;b[s+48+8>>1]=l;b[s+48+10>>1]=l>>>16;c[s+248>>2]=c[s+48>>2];c[s+248+4>>2]=c[s+48+4>>2];c[s+248+8>>2]=c[s+48+8>>2];h=h&((aR(s+108|0,s+248|0)|0)^1);g=c[d+112>>2]|0}if(!((j|0)<1|(g|0)!=0|h^1)){$Q(d,0,0);c[s+36>>2]=e;c[s+36+4>>2]=f;b[s+36+8>>1]=l;b[s+36+10>>1]=l>>>16;c[s+248>>2]=c[s+36>>2];c[s+248+4>>2]=c[s+36+4>>2];c[s+248+8>>2]=c[s+36+8>>2];h=h&((aR(s+108|0,s+248|0)|0)^1);g=c[d+112>>2]|0}if(g|0)if(c[d+116>>2]|0)break;m=m+12|0;if((m|0)==(p|0)){h=d+116|0;break a}}yA(h);h=d+116|0}while(0);if(!(c[h>>2]|0))r=42;else if(!(c[d+112>>2]|0))r=42;else{a[d+108>>0]=1;h=1}if((r|0)==42){Iqb(s+96|0,358153,30);Iqb(s+60|0,358184,96);h=a[s+144>>0]|0;h=(h&1)==0?(h&255)>>>1:c[s+144+4>>2]|0;do if(!h){h=a[s+156>>0]|0;h=(h&1)==0?(h&255)>>>1:c[s+156+4>>2]|0;if(h|0){c[s+12>>2]=0;c[s+12+4>>2]=0;c[s+12+8>>2]=0;frb(s+12|0,358309,33,h+33|0);Vqb(s+12|0,(a[s+156>>0]&1)==0?s+156+1|0:c[s+156+8>>2]|0,h)|0;r=a[s+12>>0]|0;Vqb(s+60|0,(r&1)==0?s+12+1|0:c[s+12+8>>2]|0,(r&1)==0?(r&255)>>>1:c[s+12+4>>2]|0)|0;Mqb(s+12|0);break}h=a[s+168>>0]|0;h=(h&1)==0?(h&255)>>>1:c[s+168+4>>2]|0;if(h|0){c[s>>2]=0;c[s+4>>2]=0;c[s+8>>2]=0;frb(s,358343,29,h+29|0);Vqb(s,(a[s+168>>0]&1)==0?s+168+1|0:c[s+168+8>>2]|0,h)|0;r=a[s>>0]|0;Vqb(s+60|0,(r&1)==0?s+1|0:c[s+8>>2]|0,(r&1)==0?(r&255)>>>1:c[s+4>>2]|0)|0;Mqb(s)}}else{c[s+24>>2]=0;c[s+24+4>>2]=0;c[s+24+8>>2]=0;frb(s+24|0,358281,27,h+27|0);Vqb(s+24|0,(a[s+144>>0]&1)==0?s+144+1|0:c[s+144+8>>2]|0,h)|0;r=a[s+24>>0]|0;Vqb(s+60|0,(r&1)==0?s+24+1|0:c[s+24+8>>2]|0,(r&1)==0?(r&255)>>>1:c[s+24+4>>2]|0)|0;Mqb(s+24|0)}while(0);k=a[s+96>>0]|0;k=ek(1202720,(k&1)==0?s+96+1|0:c[s+96+8>>2]|0,(k&1)==0?(k&255)>>>1:c[s+96+4>>2]|0)|0;c[s+248>>2]=ssb(k+(c[(c[k>>2]|0)+-12>>2]|0)|0)|0;r=Usb(s+248|0,1203596)|0;r=Xi[c[(c[r>>2]|0)+28>>2]&511](r,10)|0;bAb(s+248|0);Dsb(k,r)|0;xsb(k)|0;r=a[s+60>>0]|0;r=ek(k,(r&1)==0?s+60+1|0:c[s+60+8>>2]|0,(r&1)==0?(r&255)>>>1:c[s+60+4>>2]|0)|0;c[s+248>>2]=ssb(r+(c[(c[r>>2]|0)+-12>>2]|0)|0)|0;k=Usb(s+248|0,1203596)|0;k=Xi[c[(c[k>>2]|0)+28>>2]&511](k,10)|0;bAb(s+248|0);Dsb(r,k)|0;xsb(r)|0;if(!(a[d+120>>0]|0)){Ci[c[(c[d>>2]|0)+176>>2]&127](d,s+96|0,s+60|0,0,0)|0;a[d+120>>0]=1}Hi[c[(c[d>>2]|0)+32>>2]&1023](d);Mqb(s+60|0);Mqb(s+96|0);h=0}Mqb(s+144|0);Mqb(s+156|0);Mqb(s+168|0);if(!o){i=s;return h|0}if(!n)c[q>>2]=p+(~(((p+-12-o|0)>>>0)/12|0)*12|0);oAb(o);i=s;return h|0}function $Q(b,c,d){b=b|0;c=c|0;d=d|0;v6a(0,8)|0;v6a(1,8)|0;v6a(2,8)|0;v6a(3,8)|0;v6a(5,1)|0;v6a(7,8)|0;v6a(16,0)|0;v6a(13,(c|0)>0&1)|0;v6a(14,(c|0)>0?c:0)|0;v6a(23,d&1)|0;c=zkb()|0;if(!c)return;if(pmb(c,358142,3)|0)return;if(!(a[b+121>>0]|0))return;v6a(23,0)|0;return}function aR(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;h=i;i=i+32|0;g=c[b>>2]|0;e=c[g+116>>2]|0;if(e|0){n8a(e);c[g+116>>2]=0}e=c[g+112>>2]|0;if(e|0){yhb(e);chb(512);c[g+112>>2]=0}if(!(a[g+8>>0]&1))e=g+8+1|0;else e=c[g+16>>2]|0;e=skb(e,c[c[b+4>>2]>>2]|0,c[c[b+8>>2]>>2]|0,c[c[b+12>>2]>>2]|0,c[c[b+16>>2]>>2]|0,c[c[b+20>>2]>>2]|0)|0;c[g+112>>2]=e;if(!e){e=c[b+24>>2]|0;g=n6a()|0;Iqb(h+12|0,g,rnb(g)|0);if(!(a[e>>0]&1)){a[e+1>>0]=0;a[e>>0]=0}else{a[c[e+8>>2]>>0]=0;c[e+4>>2]=0}Qqb(e,0);c[e>>2]=c[h+12>>2];c[e+4>>2]=c[h+12+4>>2];c[e+8>>2]=c[h+12+8>>2];c[h+12>>2]=0;c[h+12+4>>2]=0;c[h+12+8>>2]=0;Mqb(h+12|0);g=0;i=h;return g|0}e=o8a(e)|0;c[g+116>>2]=e;if(!e){e=c[b+28>>2]|0;j=n6a()|0;Iqb(h,j,rnb(j)|0);if(!(a[e>>0]&1)){a[e+1>>0]=0;a[e>>0]=0}else{a[c[e+8>>2]>>0]=0;c[e+4>>2]=0}Qqb(e,0);c[e>>2]=c[h>>2];c[e+4>>2]=c[h+4>>2];c[e+8>>2]=c[h+8>>2];c[h>>2]=0;c[h+4>>2]=0;c[h+8>>2]=0;Mqb(h);if(c[g+116>>2]|0)f=18}else f=18;do if((f|0)==18){j=bR(0,d,c[b+32>>2]|0)|0;e=c[g+116>>2]|0;if(!j){n8a(e);c[g+116>>2]=0;break}if(e|0){j=1;i=h;return j|0}}while(0);yhb(c[g+112>>2]|0);c[g+112>>2]=0;j=0;i=h;return j|0}function bR(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;g=i;i=i+64|0;f=p8a(611171)|0;if(!f){d=0;i=g;return d|0}b=vi[f&2047](7938)|0;if(!b){d=0;i=g;return d|0}Rqb(e,b)|0;b=vi[f&2047](7937)|0;if(b|0){Iqb(g+36|0,b,rnb(b)|0);b=Zqb(g+36|0,0,358146)|0;c[g+48>>2]=c[b>>2];c[g+48+4>>2]=c[b+4>>2];c[g+48+8>>2]=c[b+8>>2];c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;b=a[g+48>>0]|0;Vqb(e,(b&1)==0?g+48+1|0:c[g+48+8>>2]|0,(b&1)==0?(b&255)>>>1:c[g+48+4>>2]|0)|0;Mqb(g+48|0);Mqb(g+36|0)}b=vi[f&2047](7936)|0;if(b|0){Iqb(g,b,rnb(b)|0);f=Zqb(g,0,358150)|0;c[g+12>>2]=c[f>>2];c[g+12+4>>2]=c[f+4>>2];c[g+12+8>>2]=c[f+8>>2];c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;f=Wqb(g+12|0,439683)|0;c[g+24>>2]=c[f>>2];c[g+24+4>>2]=c[f+4>>2];c[g+24+8>>2]=c[f+8>>2];c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;f=a[g+24>>0]|0;Vqb(e,(f&1)==0?g+24+1|0:c[g+24+8>>2]|0,(f&1)==0?(f&255)>>>1:c[g+24+4>>2]|0)|0;Mqb(g+24|0);Mqb(g+12|0);Mqb(g)}b=c[d>>2]|0;if((b|0)>2){d=0;i=g;return d|0}if((b|0)==2)if((c[d+4>>2]|0)>0){d=0;i=g;return d|0}d=1;i=g;return d|0}function cR(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,j=0;j=i;i=i+32|0;f=u6a(c[b+112>>2]|0)|0;V6a(c[b+112>>2]|0,b+20|0,b+24|0);u8a(c[b+112>>2]|0,b+28|0,b+32|0);do if((f&4097|0)==4097){a[b+40>>0]=1;c[b+44>>2]=1;e=b+40|0}else if(!(f&1)){a[b+40>>0]=0;c[b+44>>2]=c[d+4>>2];e=b+40|0;break}else{a[b+40>>0]=1;c[b+44>>2]=0;e=b+40|0;break}while(0);c[b+60>>2]=c[d+20>>2];c[b+64>>2]=c[d+24>>2];a[b+56>>0]=f>>>5&1;a[b+68>>0]=f>>>4&1;a[b+69>>0]=a[d+29>>0]|0;kj[c[(c[b>>2]|0)+68>>2]&127](b,b+92|0,b+96|0,b+72|0);a[b+76>>0]=f>>>13&1;if(!(a[e>>0]|0))g=9;else if(!(c[b+44>>2]|0))neb(601707,529749)|0;else g=9;if((g|0)==9)neb(601707,601740)|0;c[j+24>>2]=0;c[j+20>>2]=0;k6a(13,j+24|0)|0;k6a(14,j+20|0)|0;c[b+52>>2]=(c[j+24>>2]|0)>0?c[j+20>>2]|0:0;a[b+48>>0]=(r8a()|0)!=0&1;c[j>>2]=0;c[j+4>>2]=0;c[j+8>>2]=0;c[j+12>>2]=0;c[j+16>>2]=0;Fkb(c[b+72>>2]|0,j)|0;h[b+80>>3]=+(c[j+12>>2]|0);i=j;return}function dR(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;if(c[a+112>>2]|0)cR(a,a+40|0);c[b>>2]=c[a+20>>2];c[d>>2]=c[a+24>>2];b=e;d=a+40|0;e=b+60|0;do{c[b>>2]=c[d>>2];b=b+4|0;d=d+4|0}while((b|0)<(e|0));return}function eR(b){b=b|0;var d=0;d=c[155676]|0;if(d|0)Hi[c[(c[d>>2]|0)+32>>2]&1023](d);d=c[b+116>>2]|0;if(d|0){n8a(d);c[b+116>>2]=0}d=c[b+112>>2]|0;if(!d){b=b+108|0;a[b>>0]=0;return}yhb(d);c[b+112>>2]=0;chb(512);b=b+108|0;a[b>>0]=0;return}function fR(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;k=i;i=i+96|0;f=c[b+112>>2]|0;if(!f){b=0;i=k;return b|0}g=k;h=b+40|0;j=g+64|0;do{c[g>>2]=c[h>>2];g=g+4|0;h=h+4|0}while((g|0)<(j|0));a[k>>0]=d&1;c[k+4>>2]=e;if(d)if((e|0)==1)e=4097;else{c[k+64>>2]=0;c[k+64+4>>2]=0;c[k+64+8>>2]=0;c[k+64+12>>2]=0;c[k+64+16>>2]=0;c[k+64+4>>2]=c[b+20>>2];c[k+64+8>>2]=c[b+24>>2];Gkb(y6a(f)|0,k+64|0,k+64|0)|0;Hkb(c[b+112>>2]|0,k+64|0)|0;f=c[b+112>>2]|0;e=1}else e=0;if(!(Pkb(f,e)|0)){a8a(c[b+112>>2]|0,c[b+116>>2]|0)|0;cR(b,k);if(!d)Mkb(c[b+112>>2]|0,c[b+60>>2]|0,c[b+64>>2]|0);f=c[155676]|0;if(!f)f=1;else{$i[c[(c[f>>2]|0)+24>>2]&255](f,c[b+28>>2]|0,c[b+32>>2]|0);f=1}}else f=0;b=f;i=k;return b|0}function gR(a,b){a=a|0;b=b|0;return Gi[c[(c[a>>2]|0)+36>>2]&255](a,b,c[a+44>>2]|0)|0}function hR(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=c[a+112>>2]|0;if(!e){a=0;return a|0}c[a+20>>2]=b;c[a+24>>2]=d;u8a(e,a+28|0,a+32|0);e=c[155676]|0;if(!e){a=1;return a|0}$i[c[(c[e>>2]|0)+24>>2]&255](e,c[a+28>>2]|0,c[a+32>>2]|0);a=1;return a|0}function iR(a){a=a|0;return Akb()|0}function jR(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;a=Bkb(b)|0;if(!a){a=nf(16)|0;c[d>>2]=b+1;ds(a,358385,d);zc(a|0,96,27)}else{i=d;return a|0}return 0}function kR(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;j=i;i=i+32|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;h=0;while(1){if((h|0)>=(Ckb(d)|0))break;c[j+8>>2]=0;c[j+8+4>>2]=0;c[j+8+8>>2]=0;c[j+8+12>>2]=0;c[j+8+16>>2]=0;Dkb(d,h,j+8|0)|0;e=c[j+8+4>>2]|0;c[j>>2]=e;f=c[j+8+8>>2]|0;c[j+4>>2]=f;b=c[a>>2]|0;g=c[a+4>>2]|0;a:do if((b|0)==(g|0))e=7;else while(1){if((e|0)==(c[b>>2]|0))if((f|0)==(c[b+4>>2]|0)){e=7;break a}b=b+8|0;if((b|0)==(g|0)){e=8;break}}while(0);if((e|0)==7){e=0;if((b|0)==(g|0))e=8}do if((e|0)==8)if((g|0)==(c[a+8>>2]|0)){lR(a,j);break}else{f=c[j+4>>2]|0;c[g>>2]=c[j>>2];c[g+4>>2]=f;c[a+4>>2]=(c[a+4>>2]|0)+8;break}while(0);h=h+1|0}i=j;return}function lR(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=c[a>>2]|0;d=((c[a+4>>2]|0)-j>>3)+1|0;if(d>>>0>536870911)jzb(a);e=(c[a+8>>2]|0)-j|0;if(e>>3>>>0<268435455){d=e>>2>>>0>>0?d:e>>2;f=c[a+4>>2]|0;if(!d){i=0;g=0;e=f-j>>3;d=f}else{h=f;e=f-j>>3;k=6}}else{e=c[a+4>>2]|0;d=536870911;h=e;e=e-j>>3;k=6}if((k|0)==6){i=d;g=YAb(d<<3)|0;d=h}k=g+(e<<3)|0;h=c[b+4>>2]|0;c[k>>2]=c[b>>2];c[k+4>>2]=h;b=d-j|0;mBb(k+(0-(b>>3)<<3)|0,j|0,b|0)|0;c[a>>2]=k+(0-(b>>3)<<3);c[a+4>>2]=k+8;c[a+8>>2]=g+(i<<3);if(!j)return;oAb(j);return}function mR(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+32|0;if((b|0)>-1)if((vi[c[(c[a>>2]|0)+48>>2]&2047](a)|0)>(b|0)){c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;c[f+16>>2]=0;Ekb(b,f)|0;c[d>>2]=c[f+4>>2];c[e>>2]=c[f+8>>2];i=f;return}c[d>>2]=0;c[e>>2]=0;i=f;return}function nR(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=i;i=i+16|0;if(!(c[b+112>>2]|0)){i=g;return}h=(vi[c[(c[b>>2]|0)+48>>2]&2047](b)|0)+-1|0;f=(f|0)<0?0:f;c[g>>2]=0;c[g+4>>2]=0;c[g+8>>2]=0;c[g+12>>2]=0;z6a((h|0)<(f|0)?h:f,g)|0;vkb(c[b+112>>2]|0,(c[g>>2]|0)+d|0,(c[g+4>>2]|0)+e|0);a[b+88>>0]=1;i=g;return}function oR(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;g=i;i=i+16|0;f=c[a+112>>2]|0;if(!f){c[d>>2]=0;c[b>>2]=0;c[e>>2]=0;i=g;return}f=y6a(f)|0;c[e>>2]=(f|0)<0?0:f;Kkb(c[a+112>>2]|0,b,d);if(!(c[d>>2]|c[b>>2])){i=g;return};c[g>>2]=0;c[g+4>>2]=0;c[g+8>>2]=0;c[g+12>>2]=0;z6a(c[e>>2]|0,g)|0;c[b>>2]=(c[b>>2]|0)-(c[g>>2]|0);c[d>>2]=(c[d>>2]|0)-(c[g+4>>2]|0);i=g;return}function pR(b){b=b|0;return (a[b+108>>0]|0)!=0|0}function qR(b,d){b=b|0;d=d|0;Nqb(b+8|0,d)|0;b=c[b+112>>2]|0;if(!b)return;Ikb(b,(a[d>>0]&1)==0?d+1|0:c[d+8>>2]|0);return}function rR(a){a=a|0;return a+8|0}function sR(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;e=i;i=i+16|0;if(!b){a=0;i=e;return a|0}Hi[c[(c[b>>2]|0)+8>>2]&1023](b);d=c[a+104>>2]|0;if(d|0)Hi[c[(c[d>>2]|0)+12>>2]&1023](d);c[a+104>>2]=b;if(!(c[a+112>>2]|0)){a=0;i=e;return a|0}g=Xha(b)|0;f=Yha(b)|0;d=Xha(b)|0;QO(e,cia(b)|0);d=Gcb(vi[c[(c[b>>2]|0)+16>>2]&2047](b)|0,g,f,32,d<<2,255,65280,16711680,-16777216)|0;SO(e);if(!d){g=0;i=e;return g|0}Jkb(c[a+112>>2]|0,d);A7a(d);g=1;i=e;return g|0}function tR(a){a=a|0;return c[a+104>>2]|0}function uR(a,b){a=a|0;b=b|0;if(b){Skb();return}else{wkb();return}}function vR(a){a=a|0;return (Rkb()|0)!=0|0}function wR(a){a=a|0;a=c[a+112>>2]|0;if(!a)return;Xib(a);return}function xR(a){a=a|0;a=c[a+112>>2]|0;if(!a)return;Okb(a);return}function yR(a){a=a|0;Acb(c[a+112>>2]|0);return}function zR(a){a=a|0;var b=0;if(!(c[a+112>>2]|0)){a=0;return a|0}b=Peb()|0;a=(b|0)==(c[a+112>>2]|0);return a|0}function AR(a){a=a|0;var b=0;if(!(c[a+112>>2]|0)){a=0;return a|0}b=y7a()|0;a=(b|0)==(c[a+112>>2]|0);return a|0}function BR(a){a=a|0;a=c[a+112>>2]|0;if(!a){a=0;return a|0}a=((u6a(a)|0)&4|0)!=0;return a|0}function CR(a,b){a=a|0;b=b|0;_ib(b&1)|0;return}function DR(a){a=a|0;return (_ib(-1)|0)==1|0}function ER(b,d){b=b|0;d=d|0;a[b+109>>0]=d&1;b=c[b+112>>2]|0;if(!b)return;_7a(b,d&1);return}function FR(b){b=b|0;var d=0;d=c[b+112>>2]|0;if(!d){b=(a[b+109>>0]|0)!=0;return b|0}else{b=(Qkb(d)|0)!=0;return b|0}return 0}function GR(a,b,d){a=a|0;b=b|0;d=d|0;c[b>>2]=c[a+28>>2];c[d>>2]=c[a+32>>2];return}function HR(a,b,d){a=a|0;b=b|0;d=d|0;if(b|0)h[b>>3]=+h[b>>3]*(+(c[a+28>>2]|0)/+(c[a+20>>2]|0));if(!d)return;h[d>>3]=+h[d>>3]*(+(c[a+32>>2]|0)/+(c[a+24>>2]|0));return}function IR(a,b,d){a=a|0;b=b|0;d=d|0;if(b|0)h[b>>3]=+h[b>>3]*(+(c[a+20>>2]|0)/+(c[a+28>>2]|0));if(!d)return;h[d>>3]=+h[d>>3]*(+(c[a+24>>2]|0)/+(c[a+32>>2]|0));return}function JR(a){a=a|0;return +(+(c[a+32>>2]|0)/+(c[a+24>>2]|0))}function KR(a,b){a=a|0;b=+b;return +(+Mi[c[(c[a>>2]|0)+152>>2]&63](a)*b)}function LR(a,b,d,e,f){a=a|0;b=+b;d=+d;e=e|0;f=f|0;var g=0.0;g=+Mi[c[(c[a>>2]|0)+152>>2]&63](a);h[e>>3]=g*b;h[f>>3]=g*d;return}function MR(a,b){a=a|0;b=+b;return +(b/+Mi[c[(c[a>>2]|0)+152>>2]&63](a))}function NR(a,b,d,e,f){a=a|0;b=+b;d=+d;e=e|0;f=f|0;var g=0.0;g=+Mi[c[(c[a>>2]|0)+152>>2]&63](a);h[e>>3]=b/g;h[f>>3]=d/g;return}function OR(a){a=a|0;return c[a+112>>2]|0}function PR(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;if(g)g=c[b+112>>2]|0;else g=0;return (Wkb((f|0)==0?16:(f|0)==1?32:64,(a[d>>0]&1)==0?d+1|0:c[d+8>>2]|0,(a[e>>0]&1)==0?e+1|0:c[e+8>>2]|0,g)|0)>-1|0}function QR(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+64|0;c[h+24>>2]=0;c[h+24+4>>2]=0;c[h+24+8>>2]=0;c[h+24+12>>2]=0;c[h+24+16>>2]=0;c[h+24+20>>2]=0;c[h+24+24>>2]=0;g=c[d>>2]|0;c[h+24>>2]=(g|0)==0?16:(g|0)==1?32:64;if(!(a[d+4>>0]&1))e=d+4+1|0;else e=c[d+12>>2]|0;c[h+24+8>>2]=e;if(!(a[d+16>>0]&1))e=d+16+1|0;else e=c[d+24>>2]|0;c[h+24+12>>2]=e;if(!(a[d+48>>0]|0))e=0;else e=c[b+112>>2]|0;c[h+24+4>>2]=e;e=c[d+28>>2]|0;f=(c[d+32>>2]|0)-e|0;c[h+24+16>>2]=(f|0)/12|0;c[h+12>>2]=0;g=h+12+4|0;c[g>>2]=0;c[h+12+8>>2]=0;if((f|0)>0){f=0;do{c[h>>2]=0;c[h+4>>2]=0;c[h+8>>2]=0;c[h+4>>2]=f;b=e+(f*12|0)|0;if(!(a[b>>0]&1))e=b+1|0;else e=c[e+(f*12|0)+8>>2]|0;c[h+8>>2]=e;if((f|0)==(c[d+40>>2]|0)){c[h>>2]=1;e=3}else e=2;if((f|0)==(c[d+44>>2]|0))c[h>>2]=e;e=c[g>>2]|0;if((e|0)==(c[h+12+8>>2]|0))RR(h+12|0,h);else{c[e>>2]=c[h>>2];c[e+4>>2]=c[h+4>>2];c[e+8>>2]=c[h+8>>2];c[g>>2]=(c[g>>2]|0)+12}f=f+1|0;e=c[d+28>>2]|0}while((f|0)<(((c[d+32>>2]|0)-e|0)/12|0|0));e=c[h+12>>2]|0}else e=0;c[h+24+20>>2]=e;c[h>>2]=-2;Yib(h+24|0,h)|0;e=c[h>>2]|0;b=c[h+12>>2]|0;if(!b){i=h;return e|0}f=c[g>>2]|0;if((f|0)!=(b|0))c[g>>2]=f+(~(((f+-12-b|0)>>>0)/12|0)*12|0);oAb(b);i=h;return e|0}function RR(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=c[a>>2]|0;e=(((c[a+4>>2]|0)-j|0)/12|0)+1|0;if(e>>>0>357913941)jzb(a);d=((c[a+8>>2]|0)-j|0)/12|0;if(d>>>0<178956970){d=d<<1>>>0>>0?e:d<<1;f=c[a+4>>2]|0;if(!d){i=0;g=0;e=(f-j|0)/12|0;d=f}else{h=f;e=(f-j|0)/12|0;k=6}}else{e=c[a+4>>2]|0;d=357913941;h=e;e=(e-j|0)/12|0;k=6}if((k|0)==6){i=d;g=YAb(d*12|0)|0;d=h}k=g+(e*12|0)|0;c[k>>2]=c[b>>2];c[k+4>>2]=c[b+4>>2];c[k+8>>2]=c[b+8>>2];b=d-j|0;mBb(k+(((b|0)/-12|0)*12|0)|0,j|0,b|0)|0;c[a>>2]=k+(((b|0)/-12|0)*12|0);c[a+4>>2]=k+12;c[a+8>>2]=g+(i*12|0);if(!j)return;oAb(j);return}function SR(a,b){a=a|0;b=b|0;return}function TR(e){e=e|0;var f=0,g=0;f=i;i=i+16|0;Jj(e);c[e>>2]=19200;c[e+8>>2]=0;c[e+8+4>>2]=0;c[e+8+8>>2]=0;c[e+20>>2]=800;c[e+24>>2]=600;c[e+28>>2]=800;c[e+32>>2]=600;a[e+40>>0]=0;c[e+44>>2]=1;a[e+48>>0]=1;c[e+52>>2]=0;a[e+56>>0]=0;c[e+60>>2]=1;c[e+64>>2]=1;a[e+68>>0]=0;a[e+69>>0]=1;c[e+72>>2]=0;a[e+76>>0]=0;h[e+80>>3]=0.0;a[e+88>>0]=0;c[e+92>>2]=0;c[e+96>>2]=0;c[e+104>>2]=0;a[e+108>>0]=0;a[e+109>>0]=0;c[e+112>>2]=0;c[e+112+4>>2]=0;b[e+112+8>>1]=0;if((Dgb(32)|0)<0){e=nf(16)|0;c[f>>2]=n6a()|0;ds(e,358411,f);zc(e|0,96,27)}si[c[(c[e>>2]|0)+92>>2]&511](e,0);a[f+4>>0]=0;a[f+4+1>>0]=0;a[f+4+2>>0]=0;$ib(f+4|0);if((a[f+4>>0]|0)!=2){g=0;a[e+121>>0]=g;i=f;return}if(a[f+4+1>>0]|0){g=0;a[e+121>>0]=g;i=f;return}g=(d[f+4+2>>0]|0)<4&1;a[e+121>>0]=g;i=f;return}function UR(a){a=a|0;wj(a);return}function VR(){var b=0,d=0,e=0,f=0,g=0;g=i;i=i+16|0;WR(628664,19388,112);a[628616]=0;a[628628]=0;a[628640]=0;a[628652]=0;c[157164]=0;c[157165]=0;b=a[358571]|0;if(!(b<<24>>24))d=5381;else{e=358571;d=5381;do{e=e+1|0;d=(d*33|0)+(b<<24>>24)|0;b=a[e>>0]|0}while(b<<24>>24!=0)}b=d&3;if(!(a[628608+(b*12|0)+8>>0]|0)){d=b;b=628608+(b*12|0)+8|0;f=5}else{b=d+1&3;if(!(a[628608+(b*12|0)+8>>0]|0)){d=b;b=628608+(b*12|0)+8|0;f=5}else{b=d+2&3;if(!(a[628608+(b*12|0)+8>>0]|0)){d=b;b=628608+(b*12|0)+8|0;f=5}else{b=d+3&3;if(!(a[628608+(b*12|0)+8>>0]|0)){d=b;b=628608+(b*12|0)+8|0;f=5}}}}if((f|0)==5){a[b>>0]=1;c[628608+(d*12|0)>>2]=358571;c[628608+(d*12|0)+4>>2]=0}if(0>1){c[g>>2]=358571;c[g+4>>2]=0;vpb(441068,g)|0}else c[157164]=358571;b=a[358581]|0;if(!(b<<24>>24))d=5381;else{e=358581;d=5381;do{e=e+1|0;d=(d*33|0)+(b<<24>>24)|0;b=a[e>>0]|0}while(b<<24>>24!=0)}b=d&3;if(!(a[628608+(b*12|0)+8>>0]|0)){d=b;b=628608+(b*12|0)+8|0;f=17}else{b=d+1&3;if(!(a[628608+(b*12|0)+8>>0]|0)){d=b;b=628608+(b*12|0)+8|0;f=17}else{b=d+2&3;if(!(a[628608+(b*12|0)+8>>0]|0)){d=b;b=628608+(b*12|0)+8|0;f=17}else{b=d+3&3;if(!(a[628608+(b*12|0)+8>>0]|0)){d=b;b=628608+(b*12|0)+8|0;f=17}}}}if((f|0)==17){a[b>>0]=1;c[628608+(d*12|0)>>2]=358581;c[628608+(d*12|0)+4>>2]=1}if(1>1){c[g+8>>2]=358581;c[g+8+4>>2]=1;vpb(441068,g+8|0)|0;a[629064]=0;a[629076]=0;a[629088]=0;a[629100]=0;a[629112]=0;a[629124]=0;c[157282]=0;c[157283]=0;c[157284]=0;XR(629056,517434,0)|0;XR(629056,358589,1)|0;XR(629056,365042,2)|0;i=g;return}else{c[157165]=358581;a[629064]=0;a[629076]=0;a[629088]=0;a[629100]=0;a[629112]=0;a[629124]=0;c[157282]=0;c[157283]=0;c[157284]=0;XR(629056,517434,0)|0;XR(629056,358589,1)|0;XR(629056,365042,2)|0;i=g;return}}function WR(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;a[b+8>>0]=0;a[b+20>>0]=0;a[b+32>>0]=0;a[b+44>>0]=0;a[b+56>>0]=0;a[b+68>>0]=0;a[b+80>>0]=0;a[b+92>>0]=0;a[b+104>>0]=0;a[b+116>>0]=0;a[b+128>>0]=0;a[b+140>>0]=0;a[b+152>>0]=0;a[b+164>>0]=0;a[b+176>>0]=0;a[b+188>>0]=0;a[b+200>>0]=0;a[b+212>>0]=0;a[b+224>>0]=0;a[b+236>>0]=0;a[b+248>>0]=0;a[b+260>>0]=0;a[b+272>>0]=0;a[b+284>>0]=0;a[b+296>>0]=0;a[b+308>>0]=0;a[b+320>>0]=0;a[b+332>>0]=0;f=b+336|0;g=f+56|0;do{c[f>>2]=0;f=f+4|0}while((f|0)<(g|0));if(!(e>>>3)){i=n;return}else l=0;do{j=c[d+(l<<3)>>2]|0;k=c[d+(l<<3)+4>>2]|0;f=a[j>>0]|0;if(!(f<<24>>24))g=5381;else{h=j;g=5381;do{h=h+1|0;g=(g*33|0)+(f<<24>>24)|0;f=a[h>>0]|0}while(f<<24>>24!=0)}h=0;do{f=((h+g|0)>>>0)%28|0;h=h+1|0;if(!(a[b+(f*12|0)+8>>0]|0)){m=8;break}}while(h>>>0<28);if((m|0)==8){m=0;a[b+(f*12|0)+8>>0]=1;c[b+(f*12|0)>>2]=j;c[b+(f*12|0)+4>>2]=k}if(k>>>0>13){c[n>>2]=j;c[n+4>>2]=k;vpb(441068,n)|0}else c[b+336+(k<<2)>>2]=j;l=l+1|0}while((l|0)!=(e>>>3|0));i=n;return}function XR(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;f=a[d>>0]|0;if(!(f<<24>>24))g=5381;else{h=d;g=5381;do{h=h+1|0;g=(g*33|0)+(f<<24>>24)|0;f=a[h>>0]|0}while(f<<24>>24!=0)}f=(g>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+1|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+2|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+3|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+4|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+5|0)>>>0)%6|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else f=0}}}}}if((j|0)==5){a[f>>0]=1;c[b+(g*12|0)>>2]=d;c[b+(g*12|0)+4>>2]=e;f=1}if(e>>>0>2){c[k>>2]=d;c[k+4>>2]=e;vpb(441068,k)|0;j=0;i=k;return j|0}else{c[b+72+(e<<2)>>2]=d;j=f;i=k;return j|0}return 0}function YR(a,b){a=a|0;b=b|0;return ZR(628608,a,b)|0}function ZR(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=a[d>>0]|0;if(!(g<<24>>24))m=5381;else{h=d;i=g;f=5381;do{h=h+1|0;f=(f*33|0)+(i<<24>>24)|0;i=a[h>>0]|0}while(i<<24>>24!=0);m=f}f=m&3;if(!(a[b+(f*12|0)+8>>0]|0)){e=1;b=0;b=e&b;return b|0}i=c[b+(f*12|0)>>2]|0;h=a[i>>0]|0;a:do if(!(h<<24>>24)){h=g;l=8}else if(g<<24>>24?h<<24>>24==g<<24>>24:0){k=d;while(1){i=i+1|0;k=k+1|0;j=a[i>>0]|0;h=a[k>>0]|0;if(!(j<<24>>24)){l=8;break a}if(!(h<<24>>24?j<<24>>24==h<<24>>24:0)){l=10;break}}}else l=10;while(0);if((l|0)==8)if(h<<24>>24)l=10;do if((l|0)==10){f=m+1&3;if(!(a[b+(f*12|0)+8>>0]|0)){e=1;b=0;b=e&b;return b|0}i=c[b+(f*12|0)>>2]|0;h=a[i>>0]|0;b:do if(!(h<<24>>24)){h=g;l=16}else if(g<<24>>24?h<<24>>24==g<<24>>24:0){k=d;do{i=i+1|0;k=k+1|0;j=a[i>>0]|0;h=a[k>>0]|0;if(!(j<<24>>24)){l=16;break b}}while(h<<24>>24?j<<24>>24==h<<24>>24:0)}while(0);if((l|0)==16)if(!(h<<24>>24))break;f=m+2&3;if(!(a[b+(f*12|0)+8>>0]|0)){e=1;b=0;b=e&b;return b|0}i=c[b+(f*12|0)>>2]|0;h=a[i>>0]|0;c:do if(!(h<<24>>24)){h=g;l=22}else if(g<<24>>24?h<<24>>24==g<<24>>24:0){k=d;do{i=i+1|0;k=k+1|0;j=a[i>>0]|0;h=a[k>>0]|0;if(!(j<<24>>24)){l=22;break c}}while(h<<24>>24?j<<24>>24==h<<24>>24:0)}while(0);if((l|0)==22)if(!(h<<24>>24))break;f=m+3&3;if(!(a[b+(f*12|0)+8>>0]|0)){e=1;b=0;b=e&b;return b|0}h=c[b+(f*12|0)>>2]|0;i=a[h>>0]|0;d:do if(i<<24>>24){if(!(g<<24>>24?i<<24>>24==g<<24>>24:0)){e=0;b=0;b=e&b;return b|0}while(1){h=h+1|0;d=d+1|0;i=a[h>>0]|0;g=a[d>>0]|0;if(!(i<<24>>24))break d;if(!(g<<24>>24?i<<24>>24==g<<24>>24:0)){f=0;g=0;break}}b=f&g;return b|0}while(0);if(g<<24>>24){e=0;b=0;b=e&b;return b|0}}while(0);c[e>>2]=c[b+(f*12|0)+4>>2];e=1;b=1;b=e&b;return b|0}function _R(a,b){a=a|0;b=b|0;if(a>>>0>1)a=0;else{a=c[628656+(a<<2)>>2]|0;if(!a)a=0;else{c[b>>2]=a;a=1}}return a|0}function $R(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=a[b>>0]|0;if(!(e<<24>>24))f=5381;else{g=b;f=5381;do{g=g+1|0;f=(f*33|0)+(e<<24>>24)|0;e=a[g>>0]|0}while(e<<24>>24!=0)}j=0;while(1){i=((j+f|0)>>>0)%28|0;if(!(a[628664+(i*12|0)+8>>0]|0)){e=1;f=0;k=11;break}g=c[628664+(i*12|0)>>2]|0;h=a[g>>0]|0;a:do if(!(h<<24>>24)){e=b;k=8}else{e=b;while(1){l=a[e>>0]|0;if(!(l<<24>>24?h<<24>>24==l<<24>>24:0))break a;g=g+1|0;e=e+1|0;h=a[g>>0]|0;if(!(h<<24>>24)){k=8;break}}}while(0);if((k|0)==8){k=0;if(!(a[e>>0]|0)){k=9;break}}j=j+1|0;if(j>>>0>=28){e=0;f=0;k=11;break}}if((k|0)==9){c[d>>2]=c[628664+(i*12|0)+4>>2];k=1;l=1;l=k&l;return l|0}else if((k|0)==11){l=e&f;return l|0}return 0}function aS(a,b){a=a|0;b=b|0;if(a>>>0>13)a=0;else{a=c[629e3+(a<<2)>>2]|0;if(!a)a=0;else{c[b>>2]=a;a=1}}return a|0}function bS(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=a[b>>0]|0;if(!(e<<24>>24))f=5381;else{g=b;f=5381;do{g=g+1|0;f=(f*33|0)+(e<<24>>24)|0;e=a[g>>0]|0}while(e<<24>>24!=0)}j=0;while(1){i=((j+f|0)>>>0)%6|0;if(!(a[629056+(i*12|0)+8>>0]|0)){e=1;f=0;k=11;break}g=c[629056+(i*12|0)>>2]|0;h=a[g>>0]|0;a:do if(!(h<<24>>24)){e=b;k=8}else{e=b;while(1){l=a[e>>0]|0;if(!(l<<24>>24?h<<24>>24==l<<24>>24:0))break a;g=g+1|0;e=e+1|0;h=a[g>>0]|0;if(!(h<<24>>24)){k=8;break}}}while(0);if((k|0)==8){k=0;if(!(a[e>>0]|0)){k=9;break}}j=j+1|0;if(j>>>0>=6){e=0;f=0;k=11;break}}if((k|0)==9){c[d>>2]=c[629056+(i*12|0)+4>>2];k=1;l=1;l=k&l;return l|0}else if((k|0)==11){l=e&f;return l|0}return 0}function cS(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;switch(c[b+4>>2]|0){case 0:{c[a+16>>2]=b+12;c[a+20>>2]=1;c[a+24>>2]=c[b+8>>2];return}case 2:{c[a+16>>2]=b+20;c[a+20>>2]=c[b+148>>2];c[a+24>>2]=c[b+8>>2];return}case 3:{if((d|0)>-1)e=(c[b+16>>2]|0)>(d|0);else e=0;bT(e,358619);f=(c[b+12>>2]|0)+(d<<3)|0;e=c[f+4>>2]|0;c[a>>2]=c[f>>2];c[a+4>>2]=e;if((d+1|0)<(c[b+16>>2]|0)){d=(c[b+12>>2]|0)+(d+1<<3)|0;f=c[d+4>>2]|0;c[a+8>>2]=c[d>>2];c[a+8+4>>2]=f}else{d=c[b+12>>2]|0;f=c[d+4>>2]|0;c[a+8>>2]=c[d>>2];c[a+8+4>>2]=f}c[a+16>>2]=a;c[a+20>>2]=2;c[a+24>>2]=c[b+8>>2];return}case 1:{c[a+16>>2]=b+12;c[a+20>>2]=2;c[a+24>>2]=c[b+8>>2];return}default:{bT(0,619694);return}}}function dS(a){a=a|0;var b=0,d=0,e=0.0,f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0;e=+g[a+16>>2];i=+g[a+20>>2];k=+g[a+52>>2];l=+g[a+56>>2];f=+g[a+88>>2];h=+g[a+92>>2];j=(k-e)*(h-i)-(l-i)*(f-e);if(e*(k-e)+i*(l-i)>=-0.0?e*(f-e)+i*(h-i)>=-0.0:0){g[a+24>>2]=1.0;c[a+108>>2]=1;return}if((k*(k-e)+l*(l-i)>0.0?e*(k-e)+i*(l-i)<-0.0:0)&(e*l-i*k)*j<=0.0){j=1.0/(k*(k-e)+l*(l-i)-(e*(k-e)+i*(l-i)));g[a+24>>2]=(k*(k-e)+l*(l-i))*j;g[a+60>>2]=-((e*(k-e)+i*(l-i))*j);c[a+108>>2]=2;return}if((f*(f-e)+h*(h-i)>0.0?e*(f-e)+i*(h-i)<-0.0:0)&(i*f-e*h)*j<=0.0){l=1.0/(f*(f-e)+h*(h-i)-(e*(f-e)+i*(h-i)));g[a+24>>2]=(f*(f-e)+h*(h-i))*l;g[a+96>>2]=-((e*(f-e)+i*(h-i))*l);c[a+108>>2]=2;d=a+36|0;a=a+72|0;b=d+36|0;do{c[d>>2]=c[a>>2];d=d+4|0;a=a+4|0}while((d|0)<(b|0));return}if(k*(k-e)+l*(l-i)<=0.0?k*(f-k)+l*(h-l)>=-0.0:0){g[a+60>>2]=1.0;c[a+108>>2]=1;d=a;a=a+36|0;b=d+36|0;do{c[d>>2]=c[a>>2];d=d+4|0;a=a+4|0}while((d|0)<(b|0));return}if(f*(f-e)+h*(h-i)<=0.0?f*(f-k)+h*(h-l)<=0.0:0){g[a+96>>2]=1.0;c[a+108>>2]=1;d=a;a=a+72|0;b=d+36|0;do{c[d>>2]=c[a>>2];d=d+4|0;a=a+4|0}while((d|0)<(b|0));return}if((f*(f-k)+h*(h-l)>0.0?k*(f-k)+l*(h-l)<-0.0:0)&(k*h-l*f)*j<=0.0){j=1.0/(f*(f-k)+h*(h-l)-(k*(f-k)+l*(h-l)));g[a+60>>2]=(f*(f-k)+h*(h-l))*j;g[a+96>>2]=-((k*(f-k)+l*(h-l))*j);c[a+108>>2]=2;d=a;a=a+72|0;b=d+36|0;do{c[d>>2]=c[a>>2];d=d+4|0;a=a+4|0}while((d|0)<(b|0));return}else{m=1.0/((e*l-i*k)*j+((k*h-l*f)*j+(i*f-e*h)*j));g[a+24>>2]=(k*h-l*f)*j*m;g[a+60>>2]=(i*f-e*h)*j*m;g[a+96>>2]=(e*l-i*k)*j*m;c[a+108>>2]=3;return}}function eS(d,e,f){d=d|0;e=e|0;f=f|0;var h=0.0,j=0,l=0,m=0,n=0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;D=i;i=i+176|0;c[157285]=(c[157285]|0)+1;c[D+152>>2]=c[f+56>>2];c[D+152+4>>2]=c[f+56+4>>2];c[D+152+8>>2]=c[f+56+8>>2];c[D+152+12>>2]=c[f+56+12>>2];c[D+136>>2]=c[f+72>>2];c[D+136+4>>2]=c[f+72+4>>2];c[D+136+8>>2]=c[f+72+8>>2];c[D+136+12>>2]=c[f+72+12>>2];fS(D,e,f,D+152|0,f+28|0,D+136|0);C=c[D+108>>2]|0;j=0;a:do{B=(C|0)>0;if(B){l=0;do{c[D+124+(l<<2)>>2]=c[D+(l*36|0)+28>>2];c[D+112+(l<<2)>>2]=c[D+(l*36|0)+32>>2];l=l+1|0}while((l|0)!=(C|0))}b:do switch(C|0){case 1:{A=15;break}case 2:{h=+g[D+16>>2];o=+g[D+20>>2];p=+g[D+52>>2];q=+g[D+56>>2];if(h*(p-h)+o*(q-o)>=-0.0){g[D+24>>2]=1.0;c[D+108>>2]=1;A=17;break b}if(!(p*(p-h)+q*(q-o)<=0.0)){u=1.0/(p*(p-h)+q*(q-o)-(h*(p-h)+o*(q-o)));g[D+24>>2]=(p*(p-h)+q*(q-o))*u;g[D+60>>2]=-((h*(p-h)+o*(q-o))*u);c[D+108>>2]=2;A=18;break b}else{g[D+60>>2]=1.0;c[D+108>>2]=1;l=D;m=D+36|0;n=l+36|0;do{c[l>>2]=c[m>>2];l=l+4|0;m=m+4|0}while((l|0)<(n|0));A=12;break b}}case 3:{dS(D);A=12;break}default:{bT(0,619694);A=12}}while(0);c:do if((A|0)==12){l=c[D+108>>2]|0;switch(l|0){case 3:break a;case 2:case 1:{A=16;break c}case 0:{bT(0,619694);A=15;break c}default:{bT(0,619694);A=15;break c}}}while(0);if((A|0)==15){l=c[D+108>>2]|0;A=16}d:do if((A|0)==16){A=0;switch(l|0){case 1:{A=17;break d}case 2:{A=18;break d}default:{}}bT(0,619694);l=c[157288]|0;m=c[157289]|0}while(0);do if((A|0)==17){A=0;l=(g[k>>2]=-+g[D+16>>2],c[k>>2]|0);m=(g[k>>2]=-+g[D+20>>2],c[k>>2]|0)}else if((A|0)==18){A=0;t=+g[D+16>>2];o=+g[D+52>>2]-t;u=+g[D+20>>2];h=+g[D+56>>2]-u;if(t*h-o*u>0.0){l=(g[k>>2]=-h,c[k>>2]|0);m=(g[k>>2]=o,c[k>>2]|0);break}else{l=(g[k>>2]=h,c[k>>2]|0);m=(g[k>>2]=-o,c[k>>2]|0);break}}while(0);s=(c[k>>2]=l,+g[k>>2]);r=(c[k>>2]=m,+g[k>>2]);if(s*s+r*r<1.4210854715202004e-14)break;z=c[D+108>>2]|0;p=+g[D+152+12>>2];q=+g[D+152+8>>2];n=c[f+16>>2]|0;w=c[f+20>>2]|0;if((w|0)>1){l=0;o=(p*-s+q*-r)*+g[n>>2]+(p*-r-q*-s)*+g[n+4>>2];v=1;while(1){h=(p*-s+q*-r)*+g[n+(v<<3)>>2]+(p*-r-q*-s)*+g[n+(v<<3)+4>>2];m=h>o;l=m?v:l;v=v+1|0;if((v|0)==(w|0))break;else o=m?h:o}c[D+(z*36|0)+28>>2]=l;if((l|0)>-1){m=D+(z*36|0)|0;n=D+(z*36|0)+28|0;A=28}else{v=0;m=D+(z*36|0)|0;y=D+(z*36|0)+28|0}}else{c[D+(z*36|0)+28>>2]=0;m=D+(z*36|0)|0;n=D+(z*36|0)+28|0;l=0;A=28}if((A|0)==28){A=0;v=(w|0)>(l|0);y=n}bT(v,443196);n=c[f+16>>2]|0;o=+g[n+(l<<3)>>2];t=+g[n+(l<<3)+4>>2];u=o*q+p*t+ +g[D+152+4>>2];g[D+(z*36|0)>>2]=+g[D+152>>2]+(p*o-q*t);g[D+(z*36|0)+4>>2]=u;p=+g[D+136+12>>2];q=+g[D+136+8>>2];n=c[f+44>>2]|0;x=c[f+48>>2]|0;if((x|0)>1){l=0;o=(s*p+r*q)*+g[n>>2]+(r*p-s*q)*+g[n+4>>2];w=1;while(1){h=(s*p+r*q)*+g[n+(w<<3)>>2]+(r*p-s*q)*+g[n+(w<<3)+4>>2];v=h>o;l=v?w:l;w=w+1|0;if((w|0)==(x|0))break;else o=v?h:o}c[D+(z*36|0)+32>>2]=l;if((l|0)>-1){n=D+(z*36|0)+8|0;v=D+(z*36|0)+32|0;A=34}else{w=0;n=D+(z*36|0)+8|0;v=D+(z*36|0)+32|0}}else{c[D+(z*36|0)+32>>2]=0;n=D+(z*36|0)+8|0;v=D+(z*36|0)+32|0;l=0;A=34}if((A|0)==34)w=(x|0)>(l|0);bT(w,443196);A=c[f+44>>2]|0;s=+g[A+(l<<3)>>2];u=+g[A+(l<<3)+4>>2];t=+g[D+136>>2]+(p*s-q*u);u=s*q+p*u+ +g[D+136+4>>2];g[n>>2]=t;g[n+4>>2]=u;u=u-+g[m+4>>2];g[D+(z*36|0)+16>>2]=t-+g[m>>2];g[D+(z*36|0)+20>>2]=u;j=j+1|0;c[157286]=(c[157286]|0)+1;if(B){l=c[y>>2]|0;m=0;do{if((l|0)==(c[D+124+(m<<2)>>2]|0))if((c[v>>2]|0)==(c[D+112+(m<<2)>>2]|0))break a;m=m+1|0}while((m|0)<(C|0))}C=(c[D+108>>2]|0)+1|0;c[D+108>>2]=C}while((j|0)<20);C=c[157287]|0;c[157287]=(C|0)>(j|0)?C:j;switch(c[D+108>>2]|0){case 0:{bT(0,619694);break}case 1:{C=c[D+4>>2]|0;c[d>>2]=c[D>>2];c[d+4>>2]=C;C=c[D+8+4>>2]|0;c[d+8>>2]=c[D+8>>2];c[d+8+4>>2]=C;break}case 2:{s=+g[D+24>>2];t=+g[D+60>>2];u=s*+g[D+4>>2]+t*+g[D+40>>2];g[d>>2]=s*+g[D>>2]+t*+g[D+36>>2];g[d+4>>2]=u;u=s*+g[D+12>>2]+t*+g[D+48>>2];g[d+8>>2]=s*+g[D+8>>2]+t*+g[D+44>>2];g[d+12>>2]=u;break}case 3:{r=+g[D+24>>2];s=+g[D+60>>2];u=+g[D+96>>2];t=r*+g[D>>2]+s*+g[D+36>>2]+u*+g[D+72>>2];u=r*+g[D+4>>2]+s*+g[D+40>>2]+u*+g[D+76>>2];g[d>>2]=t;g[d+4>>2]=u;g[d+8>>2]=t;g[d+12>>2]=u;break}default:bT(0,619694)}t=+g[d>>2]-+g[d+8>>2];u=+g[d+4>>2]-+g[d+12>>2];g[d+16>>2]=+O(+(t*t+u*u));c[d+20>>2]=j;switch(c[D+108>>2]|0){case 0:{bT(0,619694);h=0.0;break}case 1:{h=0.0;break}case 2:{u=+g[D+16>>2]-+g[D+52>>2];h=+g[D+20>>2]-+g[D+56>>2];h=+O(+(u*u+h*h));break}case 3:{h=+g[D+16>>2];u=+g[D+20>>2];h=(+g[D+52>>2]-h)*(+g[D+92>>2]-u)-(+g[D+56>>2]-u)*(+g[D+88>>2]-h);break}default:{bT(0,619694);h=0.0}}g[e>>2]=h;j=c[D+108>>2]|0;b[e+4>>1]=j;if((j|0)>0){l=0;do{a[e+6+l>>0]=c[D+(l*36|0)+28>>2];a[e+9+l>>0]=c[D+(l*36|0)+32>>2];l=l+1|0}while((l|0)<(j|0))}if(!(a[f+88>>0]|0)){i=D;return}u=+g[f+24>>2];t=+g[f+52>>2];h=+g[d+16>>2];if(!(h>u+t&h>1.1920928955078125e-07)){t=(+g[d>>2]+ +g[d+8>>2])*.5;u=(+g[d+4>>2]+ +g[d+12>>2])*.5;g[d>>2]=t;g[d+4>>2]=u;g[d+8>>2]=t;g[d+12>>2]=u;g[d+16>>2]=0.0;i=D;return}g[d+16>>2]=h-(u+t);o=+g[d+8>>2];p=+g[d>>2];q=+g[d+12>>2];r=+g[d+4>>2];h=+O(+((o-p)*(o-p)+(q-r)*(q-r)));if(h<1.1920928955078125e-07){s=o-p;h=q-r}else{s=(o-p)*(1.0/h);h=(q-r)*(1.0/h)}g[d>>2]=u*s+p;g[d+4>>2]=u*h+r;g[d+8>>2]=o-t*s;g[d+12>>2]=q-t*h;i=D;return}function fS(a,f,h,i,j,k){a=a|0;f=f|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0.0,n=0.0,o=0,p=0,q=0,r=0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0;bT((e[f+4>>1]|0)<4,358656);l=b[f+4>>1]|0;c[a+108>>2]=l&65535;if(!(l<<16>>16))l=l&65535;else{p=0;do{o=d[f+6+p>>0]|0;c[a+(p*36|0)+28>>2]=o;l=a+(p*36|0)+32|0;c[l>>2]=d[f+9+p>>0];bT((c[h+20>>2]|0)>(o|0),443196);r=c[h+16>>2]|0;m=+g[r+(o<<3)>>2];n=+g[r+(o<<3)+4>>2];l=c[l>>2]|0;if((l|0)>-1)o=(c[j+20>>2]|0)>(l|0);else o=0;bT(o,443196);r=c[j+16>>2]|0;u=+g[r+(l<<3)>>2];w=+g[r+(l<<3)+4>>2];t=+g[i+12>>2];v=+g[i+8>>2];s=+g[i>>2]+(m*t-n*v);n=n*t+m*v+ +g[i+4>>2];g[a+(p*36|0)>>2]=s;g[a+(p*36|0)+4>>2]=n;v=+g[k+12>>2];m=+g[k+8>>2];t=+g[k>>2]+(u*v-w*m);m=w*v+u*m+ +g[k+4>>2];g[a+(p*36|0)+8>>2]=t;g[a+(p*36|0)+12>>2]=m;g[a+(p*36|0)+16>>2]=t-s;g[a+(p*36|0)+20>>2]=m-n;g[a+(p*36|0)+24>>2]=0.0;p=p+1|0;l=c[a+108>>2]|0}while((p|0)<(l|0))}do if((l|0)>1){n=+g[f>>2];switch(l|0){case 2:{w=+g[a+16>>2]-+g[a+52>>2];m=+g[a+20>>2]-+g[a+56>>2];m=+O(+(w*w+m*m));break}case 3:{m=+g[a+16>>2];w=+g[a+20>>2];m=(+g[a+52>>2]-m)*(+g[a+92>>2]-w)-(+g[a+56>>2]-w)*(+g[a+88>>2]-m);break}default:{bT(0,619694);m=0.0}}if(!(m>2]|0;q=15;break}c[a+108>>2]=0}else q=15;while(0);if((q|0)==15)if(l|0)return;c[a+28>>2]=0;c[a+32>>2]=0;bT((c[h+20>>2]|0)>0,443196);r=c[h+16>>2]|0;n=+g[r>>2];t=+g[r+4>>2];bT((c[j+20>>2]|0)>0,443196);r=c[j+16>>2]|0;s=+g[r>>2];m=+g[r+4>>2];v=+g[i+12>>2];w=+g[i+8>>2];u=+g[i>>2]+(n*v-t*w);w=t*v+n*w+ +g[i+4>>2];g[a>>2]=u;g[a+4>>2]=w;n=+g[k+12>>2];v=+g[k+8>>2];t=+g[k>>2]+(s*n-m*v);v=m*n+s*v+ +g[k+4>>2];g[a+8>>2]=t;g[a+12>>2]=v;g[a+16>>2]=t-u;g[a+20>>2]=v-w;g[a+24>>2]=1.0;c[a+108>>2]=1;return}function gS(a){a=a|0;c[a>>2]=19508;$S(c[a+12>>2]|0);c[a+12>>2]=0;c[a+16>>2]=0;return}function hS(a){a=a|0;c[a>>2]=19508;$S(c[a+12>>2]|0);oAb(a);return}function iS(d,e){d=d|0;e=e|0;var f=0;e=US(e,40)|0;c[e>>2]=19508;c[e+4>>2]=3;g[e+8>>2]=.009999999776482582;c[e+12>>2]=0;c[e+16>>2]=0;a[e+36>>0]=0;a[e+37>>0]=0;jS(e,c[d+12>>2]|0,c[d+16>>2]|0);f=c[d+20+4>>2]|0;c[e+20>>2]=c[d+20>>2];c[e+20+4>>2]=f;f=c[d+28+4>>2]|0;c[e+28>>2]=c[d+28>>2];c[e+28+4>>2]=f;d=b[d+36>>1]|0;a[e+36>>0]=d;a[e+37>>0]=(d&65535)>>>8;return e|0}function jS(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,h=0.0,i=0.0,j=0;if(!(c[a+12>>2]|0))f=(c[a+16>>2]|0)==0;else f=0;bT(f,358698);bT((e|0)>1,358733);if((e|0)>1){f=1;do{j=f+-1|0;i=+g[d+(j<<3)>>2]-+g[d+(f<<3)>>2];h=+g[d+(j<<3)+4>>2]-+g[d+(f<<3)+4>>2];bT(i*i+h*h>2.499999936844688e-05,358744);f=f+1|0}while((f|0)!=(e|0))}c[a+16>>2]=e;j=_S(e<<3)|0;c[a+12>>2]=j;mBb(j|0,d|0,c[a+16>>2]<<3|0)|0;c[a+20>>2]=0;c[a+20+4>>2]=0;c[a+20+8>>2]=0;c[a+20+12>>2]=0;b[a+20+16>>1]=0;return}function kS(a){a=a|0;return (c[a+16>>2]|0)+-1|0}function lS(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function mS(a,d,e,f,h){a=a|0;d=d|0;e=e|0;f=f|0;h=h|0;var j=0,k=0,l=0;j=i;i=i+48|0;bT((c[a+16>>2]|0)>(h|0),358822);c[j>>2]=19588;c[j+4>>2]=1;g[j+8>>2]=.009999999776482582;c[j+28>>2]=0;c[j+28+4>>2]=0;c[j+28+8>>2]=0;c[j+28+12>>2]=0;b[j+28+16>>1]=0;k=(h+1|0)==(c[a+16>>2]|0)?0:h+1|0;l=c[a+12>>2]|0;a=c[l+(h<<3)+4>>2]|0;c[j+12>>2]=c[l+(h<<3)>>2];c[j+12+4>>2]=a;a=c[l+(k<<3)+4>>2]|0;c[j+20>>2]=c[l+(k<<3)>>2];c[j+20+4>>2]=a;f=ES(j,d,e,f,0)|0;i=j;return f|0}function nS(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0;bT((c[a+16>>2]|0)>(e|0),358822);o=(e+1|0)==(c[a+16>>2]|0)?0:e+1|0;a=c[a+12>>2]|0;h=+g[d+12>>2];m=+g[a+(e<<3)>>2];j=+g[d+8>>2];l=+g[a+(e<<3)+4>>2];n=+g[d>>2];k=+g[d+4>>2];i=+g[a+(o<<3)>>2];f=+g[a+(o<<3)+4>>2];g[b>>2]=n+(h*m-j*l)>2]=m*j+h*l+k>2]=n+(h*m-j*l)>n+(h*i-j*f)?n+(h*m-j*l):n+(h*i-j*f);g[b+12>>2]=m*j+h*l+k>k+(j*i+h*f)?m*j+h*l+k:k+(j*i+h*f);return}function oS(a,b,d){a=a|0;b=b|0;d=+d;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;return}function pS(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,h=0.0,i=0.0,j=0;if(!(c[b+12>>2]|0))f=(c[b+16>>2]|0)==0;else f=0;bT(f,358698);bT((e|0)>2,359102);if((e|0)>1){f=1;do{j=f+-1|0;i=+g[d+(j<<3)>>2]-+g[d+(f<<3)>>2];h=+g[d+(j<<3)+4>>2]-+g[d+(f<<3)+4>>2];bT(i*i+h*h>2.499999936844688e-05,358843);f=f+1|0}while((f|0)!=(e|0))}c[b+16>>2]=e+1;j=_S(e+1<<3)|0;c[b+12>>2]=j;mBb(j|0,d|0,e<<3|0)|0;d=c[b+12>>2]|0;j=c[d+4>>2]|0;c[d+(e<<3)>>2]=c[d>>2];c[d+(e<<3)+4>>2]=j;d=c[b+12>>2]|0;e=d+((c[b+16>>2]|0)+-2<<3)|0;j=c[e+4>>2]|0;c[b+20>>2]=c[e>>2];c[b+20+4>>2]=j;j=c[d+8+4>>2]|0;c[b+28>>2]=c[d+8>>2];c[b+28+4>>2]=j;a[b+36>>0]=1;a[b+37>>0]=1;return}function qS(b,d){b=b|0;d=d|0;var e=0;e=c[d+4>>2]|0;c[b+28>>2]=c[d>>2];c[b+28+4>>2]=e;a[b+37>>0]=1;return}function rS(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;if((e|0)>-1)f=((c[b+16>>2]|0)+-1|0)>(e|0);else f=0;bT(f,358901);c[d+4>>2]=1;c[d+8>>2]=c[b+8>>2];f=(c[b+12>>2]|0)+(e<<3)|0;g=c[f+4>>2]|0;c[d+12>>2]=c[f>>2];c[d+12+4>>2]=g;g=(c[b+12>>2]|0)+(e+1<<3)|0;f=c[g+4>>2]|0;c[d+20>>2]=c[g>>2];c[d+20+4>>2]=f;if((e|0)>0){g=(c[b+12>>2]|0)+(e+-1<<3)|0;f=c[g+4>>2]|0;c[d+28>>2]=c[g>>2];c[d+28+4>>2]=f;f=1}else{f=c[b+20+4>>2]|0;c[d+28>>2]=c[b+20>>2];c[d+28+4>>2]=f;f=a[b+36>>0]|0}a[d+44>>0]=f;if(((c[b+16>>2]|0)+-2|0)>(e|0)){g=(c[b+12>>2]|0)+(e+2<<3)|0;b=c[g+4>>2]|0;c[d+36>>2]=c[g>>2];c[d+36+4>>2]=b;b=1;g=d+45|0;a[g>>0]=b;return}else{g=c[b+28+4>>2]|0;c[d+36>>2]=c[b+28>>2];c[d+36+4>>2]=g;b=a[b+37>>0]|0;g=d+45|0;a[g>>0]=b;return}}function sS(a){a=a|0;return}function tS(a){a=a|0;oAb(a);return}function uS(a,b){a=a|0;b=b|0;var d=0;b=US(b,20)|0;c[b>>2]=19548;c[b+4>>2]=0;c[b+4+4>>2]=0;c[b+4+8>>2]=0;c[b+4+12>>2]=0;d=c[a+4+4>>2]|0;c[b+4>>2]=c[a+4>>2];c[b+4+4>>2]=d;d=c[a+12+4>>2]|0;c[b+12>>2]=c[a+12>>2];c[b+12+4>>2]=d;return b|0}function vS(a){a=a|0;return 1}function wS(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0,f=0.0,h=0.0,i=0.0;d=+g[b+12>>2];i=+g[a+12>>2];h=+g[b+8>>2];e=+g[a+16>>2];f=+g[c>>2]-(+g[b>>2]+(d*i-h*e));e=+g[c+4>>2]-(+g[b+4>>2]+(i*h+d*e));d=+g[a+8>>2];return f*f+e*e<=d*d|0}function xS(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0;f=+g[d+12>>2];m=+g[a+12>>2];h=+g[d+8>>2];k=+g[a+16>>2];i=+g[c>>2];l=i-(+g[d>>2]+(f*m-h*k));j=+g[c+4>>2];k=j-(+g[d+4>>2]+(m*h+f*k));f=+g[a+8>>2];i=+g[c+8>>2]-i;j=+g[c+12>>2]-j;f=(l*i+k*j)*(l*i+k*j)-(l*l+k*k-f*f)*(i*i+j*j);if(f<0.0?1:i*i+j*j<1.1920928955078125e-07){b=0;return b|0}f=l*i+k*j+ +O(+f);if(!(f<=-0.0)){b=0;return b|0}if(!((i*i+j*j)*+g[c+16>>2]>=-f)){b=0;return b|0}f=-f/(i*i+j*j);g[b+8>>2]=f;g[b>>2]=l+i*f;g[b+4>>2]=k+j*f;h=+O(+((l+i*f)*(l+i*f)+(k+j*f)*(k+j*f)));if(h<1.1920928955078125e-07){b=1;return b|0}g[b>>2]=(l+i*f)*(1.0/h);g[b+4>>2]=(k+j*f)*(1.0/h);b=1;return b|0}function yS(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0.0,f=0.0,h=0.0,i=0.0,j=0.0;e=+g[c+12>>2];j=+g[a+12>>2];i=+g[c+8>>2];f=+g[a+16>>2];h=+g[c>>2]+(e*j-i*f);f=+g[c+4>>2]+(j*i+e*f);e=+g[a+8>>2];g[b>>2]=h-e;g[b+4>>2]=f-e;g[b+8>>2]=h+e;g[b+12>>2]=f+e;return}function zS(a,b,d){a=a|0;b=b|0;d=+d;var e=0.0,f=0.0,h=0.0,i=0.0,j=0;i=+g[a+8>>2];g[b>>2]=i*(d*3.1415927410125732*i);j=c[a+12+4>>2]|0;c[b+4>>2]=c[a+12>>2];c[b+4+4>>2]=j;h=+g[a+8>>2];f=+g[a+12>>2];e=+g[a+16>>2];g[b+12>>2]=i*(d*3.1415927410125732*i)*(h*(h*.5)+(f*f+e*e));return}function AS(a){a=a|0;oAb(a);return}function BS(a,d){a=a|0;d=d|0;var e=0;d=US(d,48)|0;c[d>>2]=19588;c[d+4>>2]=1;g[d+8>>2]=.009999999776482582;c[d+28>>2]=0;c[d+28+4>>2]=0;c[d+28+8>>2]=0;c[d+28+12>>2]=0;b[d+28+16>>1]=0;e=c[a+4+4>>2]|0;c[d+4>>2]=c[a+4>>2];c[d+4+4>>2]=e;c[d+12>>2]=c[a+12>>2];c[d+12+4>>2]=c[a+12+4>>2];c[d+12+8>>2]=c[a+12+8>>2];c[d+12+12>>2]=c[a+12+12>>2];c[d+12+16>>2]=c[a+12+16>>2];c[d+12+20>>2]=c[a+12+20>>2];c[d+12+24>>2]=c[a+12+24>>2];c[d+12+28>>2]=c[a+12+28>>2];b[d+12+32>>1]=b[a+12+32>>1]|0;return d|0}function CS(a){a=a|0;return 1}function DS(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function ES(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0;j=+g[d>>2];r=+g[c>>2]-j;k=+g[d+4>>2];s=+g[c+4>>2]-k;t=+g[d+12>>2];q=+g[d+8>>2];j=+g[c+8>>2]-j;k=+g[c+12>>2]-k;l=+g[a+12>>2];m=+g[a+16>>2];n=+g[a+20>>2]-l;h=+g[a+24>>2]-m;f=+O(+(n*n+h*h));if(f<1.1920928955078125e-07){p=h;i=-n}else{p=h*(1.0/f);i=1.0/f*-n}o=(l-(r*t+s*q))*p+(m-(t*s-r*q))*i;f=(t*j+q*k-(r*t+s*q))*p+(t*k-q*j-(t*s-r*q))*i;if(f==0.0){b=0;return b|0}if(o/f<0.0){b=0;return b|0}if(n*n+h*h==0.0?1:+g[c+16>>2]1.0){b=0;return b|0}g[b+8>>2]=o/f;h=p*t-i*q;f=i*t+p*q;if(o>0.0){g[b>>2]=-h;g[b+4>>2]=-f;b=1;return b|0}else{g[b>>2]=h;g[b+4>>2]=f;b=1;return b|0}return 0}function FS(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0.0,f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0;f=+g[c+12>>2];l=+g[a+12>>2];i=+g[c+8>>2];k=+g[a+16>>2];n=+g[c>>2];j=+g[c+4>>2];h=+g[a+20>>2];e=+g[a+24>>2];m=+g[a+8>>2];g[b>>2]=(n+(f*l-i*k)>2]=(l*i+f*k+j>2]=m+(n+(f*l-i*k)>n+(f*h-i*e)?n+(f*l-i*k):n+(f*h-i*e));g[b+12>>2]=m+(l*i+f*k+j>j+(i*h+f*e)?l*i+f*k+j:j+(i*h+f*e));return}function GS(a,b,c){a=a|0;b=b|0;c=+c;g[b>>2]=0.0;c=(+g[a+16>>2]+ +g[a+24>>2])*.5;g[b+4>>2]=(+g[a+12>>2]+ +g[a+20>>2])*.5;g[b+8>>2]=c;g[b+12>>2]=0.0;return}function HS(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;f=c[d+4>>2]|0;c[b+12>>2]=c[d>>2];c[b+12+4>>2]=f;d=c[e+4>>2]|0;c[b+20>>2]=c[e>>2];c[b+20+4>>2]=d;a[b+44>>0]=0;a[b+45>>0]=0;return}function IS(a){a=a|0;oAb(a);return}function JS(a,b){a=a|0;b=b|0;var d=0;b=US(b,152)|0;c[b>>2]=19628;c[b+4>>2]=2;g[b+8>>2]=.009999999776482582;c[b+148>>2]=0;g[b+12>>2]=0.0;g[b+16>>2]=0.0;d=c[a+4+4>>2]|0;c[b+4>>2]=c[a+4>>2];c[b+4+4>>2]=d;mBb(b+12|0,a+12|0,140)|0;return b|0}function KS(a){a=a|0;return 1}function LS(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0.0,h=0.0,i=0.0;i=+g[d>>2]-+g[b>>2];f=+g[d+4>>2]-+g[b+4>>2];h=+g[b+12>>2];e=+g[b+8>>2];d=c[a+148>>2]|0;if((d|0)>0)b=0;else{a=1;return a|0}while(1){if((i*h+f*e-+g[a+20+(b<<3)>>2])*+g[a+84+(b<<3)>>2]+(h*f-i*e-+g[a+20+(b<<3)+4>>2])*+g[a+84+(b<<3)+4>>2]>0.0){d=0;b=4;break}b=b+1|0;if((b|0)>=(d|0)){d=1;b=4;break}}if((b|0)==4)return d|0;return 0}function MS(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var h=0.0,i=0.0,j=0.0,k=0.0,l=0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0;o=+g[e>>2];n=+g[d>>2]-o;p=+g[e+4>>2];q=+g[d+4>>2]-p;r=+g[e+12>>2];m=+g[e+8>>2];o=+g[d+8>>2]-o;p=+g[d+12>>2]-p;s=+g[d+16>>2];d=c[a+148>>2]|0;a:do if((d|0)>0){l=0;f=-1;h=0.0;i=s;b:while(1){t=+g[a+84+(l<<3)>>2];k=+g[a+84+(l<<3)+4>>2];j=(+g[a+20+(l<<3)>>2]-(n*r+q*m))*t+(+g[a+20+(l<<3)+4>>2]-(r*q-n*m))*k;k=(r*o+m*p-(n*r+q*m))*t+(r*p-m*o-(r*q-n*m))*k;do if(k==0.0){if(j<0.0){f=0;d=12;break b}}else{if(k<0.0&j0.0&j=(d|0))break a}if((d|0)==12)return f|0}else{f=-1;h=0.0}while(0);bT(h>=0.0&h<=s,358982);if((f|0)<=-1){e=0;return e|0}g[b+8>>2]=h;s=+g[e+12>>2];q=+g[a+84+(f<<3)>>2];r=+g[e+8>>2];t=+g[a+84+(f<<3)+4>>2];g[b>>2]=s*q-r*t;g[b+4>>2]=q*r+s*t;e=1;return e|0}function NS(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0,i=0,j=0.0,l=0,m=0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0;n=+g[d+12>>2];r=+g[a+20>>2];p=+g[d+8>>2];q=+g[a+24>>2];o=+g[d>>2];j=+g[d+4>>2];e=(g[k>>2]=o+(n*r-p*q),c[k>>2]|0);i=(g[k>>2]=r*p+n*q+j,c[k>>2]|0);l=c[a+148>>2]|0;if((l|0)>1){m=1;h=e;f=i;d=e;e=i;do{q=+g[a+20+(m<<3)>>2];r=+g[a+20+(m<<3)+4>>2];s=(c[k>>2]=h,+g[k>>2]);t=(c[k>>2]=f,+g[k>>2]);h=(g[k>>2]=s>2]|0);f=(g[k>>2]=t>2]|0);t=(c[k>>2]=d,+g[k>>2]);s=(c[k>>2]=e,+g[k>>2]);d=(g[k>>2]=t>o+(n*q-p*r)?t:o+(n*q-p*r),c[k>>2]|0);e=(g[k>>2]=s>q*p+n*r+j?s:q*p+n*r+j,c[k>>2]|0);m=m+1|0}while((m|0)<(l|0))}else{h=e;f=i;d=e;e=i}t=+g[a+8>>2];r=(c[k>>2]=h,+g[k>>2])-t;s=(c[k>>2]=f,+g[k>>2])-t;g[b>>2]=r;g[b+4>>2]=s;s=(c[k>>2]=d,+g[k>>2])+t;t=(c[k>>2]=e,+g[k>>2])+t;g[b+8>>2]=s;g[b+12>>2]=t;return}function OS(a,b,d){a=a|0;b=b|0;d=+d;var e=0.0,f=0.0,h=0,i=0.0,j=0.0,k=0.0,l=0.0,m=0,n=0,o=0.0,p=0.0,q=0.0,r=0.0;bT((c[a+148>>2]|0)>2,359026);m=c[a+148>>2]|0;if((m|0)>0){h=0;e=0.0;f=0.0;do{e=e+ +g[a+20+(h<<3)>>2];f=f+ +g[a+20+(h<<3)+4>>2];h=h+1|0}while((h|0)<(m|0));l=e*(1.0/+(m|0));k=f*(1.0/+(m|0));if((m|0)>0){j=0.0;i=0.0;f=0.0;e=0.0;h=0;do{r=+g[a+20+(h<<3)>>2]-l;p=+g[a+20+(h<<3)+4>>2]-k;h=h+1|0;n=(h|0)<(m|0);q=+g[(n?a+20+(h<<3)|0:a+20|0)>>2]-l;o=+g[(n?a+20+(h<<3)+4|0:a+24|0)>>2]-k;i=i+(r*o-p*q)*.5;f=f+(r+q)*((r*o-p*q)*.5*.3333333432674408);e=e+(p+o)*((r*o-p*q)*.5*.3333333432674408);j=j+(r*o-p*q)*.0833333358168602*(q*q+(r*r+r*q)+(o*o+(p*p+p*o)))}while(n)}else{j=0.0;i=0.0;f=0.0;e=0.0}}else{l=1.0/+(m|0)*0.0;k=1.0/+(m|0)*0.0;j=0.0;i=0.0;f=0.0;e=0.0}g[b>>2]=i*d;bT(i>1.1920928955078125e-07,359039);r=1.0/i;q=f*r;r=e*r;o=l+q;p=k+r;g[b+4>>2]=o;g[b+8>>2]=p;g[b+12>>2]=j*d+ +g[b>>2]*(o*o+p*p-(q*q+r*r));return}function PS(a,b,d,e,f){a=a|0;b=+b;d=+d;e=e|0;f=+f;var h=0.0,i=0.0,j=0.0,k=0.0,l=0;c[a+148>>2]=4;g[a+20>>2]=-b;g[a+24>>2]=-d;g[a+28>>2]=b;g[a+32>>2]=-d;g[a+36>>2]=b;g[a+40>>2]=d;g[a+44>>2]=-b;g[a+48>>2]=d;g[a+84>>2]=0.0;g[a+88>>2]=-1.0;g[a+92>>2]=1.0;g[a+96>>2]=0.0;g[a+100>>2]=0.0;g[a+104>>2]=1.0;g[a+108>>2]=-1.0;g[a+112>>2]=0.0;l=c[e+4>>2]|0;c[a+12>>2]=c[e>>2];c[a+12+4>>2]=l;k=+g[e>>2];i=+g[e+4>>2];j=+R(+f);h=+Q(+f);b=-d;f=-1.0;e=0;while(1){l=a+20+(e<<3)|0;d=+g[l>>2];g[l>>2]=k+(h*d-j*b);g[a+20+(e<<3)+4>>2]=i+(j*d+h*b);l=a+84+(e<<3)|0;d=+g[l>>2];g[l>>2]=h*d-j*f;g[a+84+(e<<3)+4>>2]=j*d+h*f;e=e+1|0;if((e|0)>=(c[a+148>>2]|0))break;b=+g[a+20+(e<<3)+4>>2];f=+g[a+84+(e<<3)+4>>2]}return}function QS(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0.0,h=0.0,j=0,l=0,m=0,n=0,o=0,p=0.0,q=0,r=0,s=0,t=0.0,u=0.0,v=0.0;s=i;i=i+96|0;bT((d+-3|0)>>>0<6,359057);if((d|0)<3){c[a+148>>2]=4;g[a+20>>2]=-1.0;g[a+24>>2]=-1.0;g[a+28>>2]=1.0;g[a+32>>2]=-1.0;g[a+36>>2]=1.0;g[a+40>>2]=1.0;g[a+44>>2]=-1.0;g[a+48>>2]=1.0;g[a+84>>2]=0.0;g[a+88>>2]=-1.0;g[a+92>>2]=1.0;g[a+96>>2]=0.0;g[a+100>>2]=0.0;g[a+104>>2]=1.0;g[a+108>>2]=-1.0;g[a+112>>2]=0.0;g[a+12>>2]=0.0;g[a+16>>2]=0.0;i=s;return}n=(d|0)<8?d:8;if((n|0)>0){o=0;d=0;do{j=c[b+(o<<3)>>2]|0;l=c[b+(o<<3)+4>>2]|0;a:do if((d|0)>0){e=(c[k>>2]=j,+g[k>>2]);f=(c[k>>2]=l,+g[k>>2]);m=0;while(1){h=e-+g[s+32+(m<<3)>>2];p=f-+g[s+32+(m<<3)+4>>2];m=m+1|0;if(h*h+p*p<6.24999984211172e-06)break a;if((m|0)>=(d|0)){r=9;break}}}else r=9;while(0);if((r|0)==9){r=0;c[s+32+(d<<3)>>2]=j;c[s+32+(d<<3)+4>>2]=l;d=d+1|0}o=o+1|0}while((o|0)<(n|0));if((d|0)<3)r=11;else{j=0;l=1;f=+g[s+32>>2];while(1){e=+g[s+32+(l<<3)>>2];if(e>f)r=24;else if(e==f)if(+g[s+32+(l<<3)+4>>2]<+g[s+32+(j<<3)+4>>2])r=24;else e=f;else e=f;if((r|0)==24){r=0;j=l}l=l+1|0;if((l|0)==(d|0)){b=j;break}else f=e}o=b;q=0;while(1){c[s+(q<<2)>>2]=o;l=s+32+(o<<3)|0;m=s+32+(o<<3)+4|0;j=0;n=1;do{if((j|0)==(o|0))j=n;else{h=+g[l>>2];e=+g[s+32+(j<<3)>>2]-h;p=+g[m>>2];f=+g[s+32+(j<<3)+4>>2]-p;h=+g[s+32+(n<<3)>>2]-h;p=+g[s+32+(n<<3)+4>>2]-p;j=e*p-f*h<0.0?n:j;if(e*p-f*h==0.0)if(h*h+p*p>e*e+f*f)j=n}n=n+1|0}while((n|0)!=(d|0));m=q+1|0;if((j|0)==(b|0)){l=q;break}else{o=j;q=m}}if((m|0)<3){bT(0,619694);c[a+148>>2]=4;g[a+20>>2]=-1.0;g[a+24>>2]=-1.0;g[a+28>>2]=1.0;g[a+32>>2]=-1.0;g[a+36>>2]=1.0;g[a+40>>2]=1.0;g[a+44>>2]=-1.0;g[a+48>>2]=1.0;g[a+84>>2]=0.0;g[a+88>>2]=-1.0;g[a+92>>2]=1.0;g[a+96>>2]=0.0;g[a+100>>2]=0.0;g[a+104>>2]=1.0;g[a+108>>2]=-1.0;g[a+112>>2]=0.0;g[a+12>>2]=0.0;g[a+16>>2]=0.0}else{c[a+148>>2]=m;if((l|0)>=0){d=0;while(1){o=s+32+(c[s+(d<<2)>>2]<<3)|0;b=c[o+4>>2]|0;q=a+20+(d<<3)|0;c[q>>2]=c[o>>2];c[q+4>>2]=b;if((d|0)==(l|0))break;else d=d+1|0}if((l|0)>=0){d=0;do{j=d;d=d+1|0;q=(j|0)<(l|0)?d:0;e=+g[a+20+(q<<3)>>2]-+g[a+20+(j<<3)>>2];f=+g[a+20+(q<<3)+4>>2]-+g[a+20+(j<<3)+4>>2];bT(e*e+f*f>1.4210854715202004e-14,359113);g[a+84+(j<<3)>>2]=f;g[a+84+(j<<3)+4>>2]=-e;h=+O(+(e*e+f*f));if(!(h<1.1920928955078125e-07)){g[a+84+(j<<3)>>2]=f*(1.0/h);g[a+84+(j<<3)+4>>2]=1.0/h*-e}}while((j|0)!=(l|0))}}bT((l|0)>1,359102);if((l|0)>-1){h=0.0;f=0.0;e=0.0;d=0;do{v=+g[a+20+(d<<3)>>2];t=+g[a+20+(d<<3)+4>>2];q=d;d=d+1|0;q=(q|0)<(l|0)?a+20+(d<<3)|0:a+20|0;p=+g[q>>2];u=+g[q+4>>2];e=e+(v*u-t*p)*.5;h=h+(v+0.0+p)*((v*u-t*p)*.5*.3333333432674408);f=f+(t+0.0+u)*((v*u-t*p)*.5*.3333333432674408)}while((d|0)!=(m|0))}else{h=0.0;f=0.0;e=0.0}bT(e>1.1920928955078125e-07,359039);v=1.0/e;g[a+12>>2]=h*v;g[a+16>>2]=f*v}}}else r=11;if((r|0)==11){bT(0,619694);c[a+148>>2]=4;g[a+20>>2]=-1.0;g[a+24>>2]=-1.0;g[a+28>>2]=1.0;g[a+32>>2]=-1.0;g[a+36>>2]=1.0;g[a+40>>2]=1.0;g[a+44>>2]=-1.0;g[a+48>>2]=1.0;g[a+84>>2]=0.0;g[a+88>>2]=-1.0;g[a+92>>2]=1.0;g[a+96>>2]=0.0;g[a+100>>2]=0.0;g[a+104>>2]=1.0;g[a+108>>2]=-1.0;g[a+112>>2]=0.0;g[a+12>>2]=0.0;g[a+16>>2]=0.0}i=s;return}function RS(a){a=a|0;var b=0,d=0,e=0.0,f=0.0,h=0.0,i=0.0,j=0,k=0,l=0;b=c[a+148>>2]|0;if((b|0)<=0){a=1;return a|0}j=0;a:while(1){k=j;j=j+1|0;d=(k|0)<(b+-1|0)?j:0;i=+g[a+20+(k<<3)>>2];e=+g[a+20+(k<<3)+4>>2];f=+g[a+20+(d<<3)>>2]-i;h=+g[a+20+(d<<3)+4>>2]-e;l=0;do{if(!((l|0)==(k|0)|(l|0)==(d|0)))if(f*(+g[a+20+(l<<3)+4>>2]-e)-h*(+g[a+20+(l<<3)>>2]-i)<0.0){b=0;d=8;break a}l=l+1|0}while((l|0)<(b|0));if((j|0)>=(b|0)){b=1;d=8;break}}if((d|0)==8)return b|0;return 0}function SS(b){b=b|0;var d=0,e=0,f=0;bT(1,359160);c[b+8>>2]=128;c[b+4>>2]=0;d=_S(1024)|0;c[b>>2]=d;hBb(d|0,0,c[b+8>>2]<<3|0)|0;b=b+12|0;d=b+56|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(d|0));if(!(a[1247956]|0)){e=1;f=0}else return;while(1){bT((f|0)<14,359186);b=(e|0)>(c[19660+(f<<2)>>2]|0);d=f+1|0;a[1247315+e>>0]=b?d:f;e=e+1|0;if((e|0)==641)break;else f=b?d:f}a[1247956]=1;return}function TS(a){a=a|0;var b=0;if((c[a+4>>2]|0)<=0){a=c[a>>2]|0;$S(a);return}b=0;do{$S(c[(c[a>>2]|0)+(b<<3)+4>>2]|0);b=b+1|0}while((b|0)<(c[a+4>>2]|0));a=c[a>>2]|0;$S(a);return}function US(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;if(!d){b=0;return b|0}bT((d|0)>0,359204);if((d|0)>640){b=_S(d)|0;return b|0}h=a[1247315+d>>0]|0;bT((h&255)<14,359213);d=c[b+12+((h&255)<<2)>>2]|0;if(d|0){c[b+12+((h&255)<<2)>>2]=c[d>>2];b=d;return b|0}d=c[b+4>>2]|0;if((d|0)==(c[b+8>>2]|0)){g=c[b>>2]|0;c[b+8>>2]=d+128;d=_S(d+128<<3)|0;c[b>>2]=d;mBb(d|0,g|0,c[b+4>>2]<<3|0)|0;hBb((c[b>>2]|0)+(c[b+4>>2]<<3)|0,0,1024)|0;$S(g);d=c[b+4>>2]|0}e=c[b>>2]|0;f=e+(d<<3)+4|0;c[f>>2]=_S(16384)|0;g=c[19660+((h&255)<<2)>>2]|0;c[e+(d<<3)>>2]=g;bT((_(16384/(g|0)|0,g)|0)<16385,359249);d=c[f>>2]|0;if((16384/(g|0)|0|0)>1){e=0;do{i=e;e=e+1|0;c[d+(_(i,g)|0)>>2]=d+(_(e,g)|0)}while((e|0)!=((16384/(g|0)|0)+-1|0))}c[d+(_((16384/(g|0)|0)+-1|0,g)|0)>>2]=0;c[b+12+((h&255)<<2)>>2]=c[d>>2];c[b+4>>2]=(c[b+4>>2]|0)+1;i=c[f>>2]|0;return i|0}function VS(b,d,e){b=b|0;d=d|0;e=e|0;if(!e)return;bT((e|0)>0,359204);if((e|0)>640){$S(d);return}else{e=a[1247315+e>>0]|0;bT((e&255)<14,359213);c[d>>2]=c[b+12+((e&255)<<2)>>2];c[b+12+((e&255)<<2)>>2]=d;return}}function WS(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0,f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0;f=+g[b+16>>2];q=+g[b+32>>2];k=+g[b+20>>2];p=+g[b+28>>2];o=+g[b+24>>2];h=+g[b+12>>2];m=+g[b>>2];l=+g[b+4>>2];d=+g[b+8>>2];n=(f*q-k*p)*m+l*(k*o-q*h)+(p*h-f*o)*d;n=n!=0.0?1.0/n:n;e=+g[c>>2];i=+g[c+4>>2];j=+g[c+8>>2];g[a>>2]=n*((f*q-k*p)*e+(k*o-q*h)*i+(p*h-f*o)*j);g[a+4>>2]=n*((i*q-j*p)*m+l*(j*o-q*e)+(p*e-i*o)*d);g[a+8>>2]=n*((f*j-k*i)*m+l*(k*e-j*h)+(i*h-f*e)*d);return}function XS(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0,f=0.0,h=0.0,i=0.0,j=0.0,k=0.0;h=+g[b>>2];j=+g[b+12>>2];e=+g[b+4>>2];k=+g[b+16>>2];i=h*k-j*e!=0.0?1.0/(h*k-j*e):h*k-j*e;d=+g[c>>2];f=+g[c+4>>2];g[a>>2]=i*(k*d-j*f);g[a+4>>2]=i*(h*f-e*d);return}function YS(a,b){a=a|0;b=b|0;var d=0.0,e=0.0,f=0.0,h=0.0,i=0.0;e=+g[a>>2];h=+g[a+12>>2];f=+g[a+4>>2];i=+g[a+16>>2];d=e*i-h*f!=0.0?1.0/(e*i-h*f):e*i-h*f;g[b>>2]=i*d;g[b+12>>2]=h*-d;g[b+8>>2]=0.0;g[b+4>>2]=f*-d;g[b+16>>2]=e*d;c[b+20>>2]=0;c[b+20+4>>2]=0;c[b+20+8>>2]=0;c[b+20+12>>2]=0;return}function ZS(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,f=0.0,h=0.0,i=0.0,j=0.0;d=+g[a+16>>2];j=+g[a+32>>2];f=+g[a+20>>2];h=+g[a+28>>2];i=+g[a+24>>2];c=+g[a+12>>2];e=+g[a>>2];f=(d*j-f*h)*e+ +g[a+4>>2]*(f*i-j*c)+(h*c-d*i)*+g[a+8>>2];f=f!=0.0?1.0/f:f;g[b>>2]=f*(d*j-h*h);g[b+4>>2]=f*(i*h-j*c);g[b+8>>2]=f*(h*c-d*i);g[b+12>>2]=f*(i*h-j*c);g[b+16>>2]=f*(e*j-i*i);g[b+20>>2]=f*(i*c-e*h);g[b+24>>2]=f*(h*c-d*i);g[b+28>>2]=f*(i*c-e*h);g[b+32>>2]=f*(e*d-c*c);return}function _S(a){a=a|0;return Vpb(a)|0}function $S(a){a=a|0;Wpb(a);return}function aT(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d>>2]=b;Dpb(a,d)|0;i=d;return}function bT(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;if(a){i=d;return}else{a=nf(16)|0;c[d>>2]=b;ds(a,359288,d);zc(a|0,96,27)}}function cT(b,d){b=b|0;d=d|0;var e=0;SS(b);_pa(b+68|0);xqa(b+102872|0);c[b+102980>>2]=0;c[b+102984>>2]=0;c[b+102952>>2]=0;c[b+102952+4>>2]=0;c[b+102952+8>>2]=0;c[b+102952+12>>2]=0;a[b+102992>>0]=1;a[b+102993>>0]=1;a[b+102994>>0]=0;a[b+102995>>0]=1;a[b+102976>>0]=1;e=c[d+4>>2]|0;c[b+102968>>2]=c[d>>2];c[b+102968+4>>2]=e;c[b+102868>>2]=4;g[b+102988>>2]=0.0;c[b+102948>>2]=b;c[b+102996>>2]=0;c[b+102996+4>>2]=0;c[b+102996+8>>2]=0;c[b+102996+12>>2]=0;c[b+102996+16>>2]=0;c[b+102996+20>>2]=0;c[b+102996+24>>2]=0;c[b+102996+28>>2]=0;return}function dT(a){a=a|0;var b=0,d=0,e=0;b=c[a+102952>>2]|0;if(b|0)do{d=b;b=c[b+96>>2]|0;d=c[d+100>>2]|0;while(1){if(!d)break;e=c[d+4>>2]|0;c[d+28>>2]=0;Lqa(d,a);d=e}}while((b|0)!=0);vpa(a+102872|0);$pa(a+68|0);TS(a);return}function eT(a,b){a=a|0;b=b|0;c[a+102980>>2]=b;return}function fT(a,b){a=a|0;b=b|0;c[a+102940>>2]=b;return}function gT(a,b){a=a|0;b=b|0;c[a+102944>>2]=b;return}function hT(a,b){a=a|0;b=b|0;var d=0;bT((c[a+102868>>2]&2|0)==0,359315);if(c[a+102868>>2]&2|0){a=0;return a|0}d=US(a,152)|0;fqa(d,b,a);c[d+92>>2]=0;b=c[a+102952>>2]|0;c[d+96>>2]=b;if(b|0)c[b+92>>2]=d;c[a+102952>>2]=d;c[a+102960>>2]=(c[a+102960>>2]|0)+1;a=d;return a|0}function iT(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;bT((c[a+102960>>2]|0)>0,359335);bT((c[a+102868>>2]&2|0)==0,359315);if(c[a+102868>>2]&2|0)return;d=c[b+108>>2]|0;if(d|0)do{f=d;d=c[d+12>>2]|0;e=c[a+102980>>2]|0;if(!e)e=f+4|0;else{si[c[(c[e>>2]|0)+8>>2]&511](e,c[f+4>>2]|0);e=f+4|0}jT(a,c[e>>2]|0);c[b+108>>2]=d}while((d|0)!=0);c[b+108>>2]=0;d=c[b+112>>2]|0;if(d|0)do{f=d;d=c[d+12>>2]|0;yqa(a+102872|0,c[f+4>>2]|0)}while((d|0)!=0);c[b+112>>2]=0;d=c[b+100>>2]|0;if(!d)d=b+104|0;else{do{f=d;d=c[d+4>>2]|0;e=c[a+102980>>2]|0;if(e|0)si[c[(c[e>>2]|0)+12>>2]&511](e,f);Nqa(f,a+102872|0);Lqa(f,a);VS(a,f,44);c[b+100>>2]=d;c[b+104>>2]=(c[b+104>>2]|0)+-1}while((d|0)!=0);d=b+104|0}c[b+100>>2]=0;c[d>>2]=0;d=c[b+92>>2]|0;if(d|0)c[d+96>>2]=c[b+96>>2];e=c[b+96>>2]|0;if(e|0)c[e+92>>2]=d;if((c[a+102952>>2]|0)==(b|0))c[a+102952>>2]=e;c[a+102960>>2]=(c[a+102960>>2]|0)+-1;VS(a,b,152);return}function jT(d,f){d=d|0;f=f|0;var h=0,i=0,j=0,k=0,l=0;bT((c[d+102868>>2]&2|0)==0,359315);if(c[d+102868>>2]&2|0)return;l=a[f+61>>0]|0;h=c[f+8>>2]|0;if(h|0)c[h+12>>2]=c[f+12>>2];i=c[f+12>>2]|0;if(i|0)c[i+8>>2]=h;if((c[d+102956>>2]|0)==(f|0))c[d+102956>>2]=i;k=c[f+48>>2]|0;j=c[f+52>>2]|0;h=e[k+4>>1]|0;if(!(h&2)){b[k+4>>1]=h|2;g[k+144>>2]=0.0}h=e[j+4>>1]|0;if(!(h&2)){b[j+4>>1]=h|2;g[j+144>>2]=0.0}h=c[f+24>>2]|0;if(h|0)c[h+12>>2]=c[f+28>>2];i=c[f+28>>2]|0;if(i|0)c[i+8>>2]=h;if((f+16|0)==(c[k+108>>2]|0))c[k+108>>2]=i;c[f+24>>2]=0;c[f+28>>2]=0;h=c[f+40>>2]|0;if(h|0)c[h+12>>2]=c[f+44>>2];i=c[f+44>>2]|0;if(i|0)c[i+8>>2]=h;if((f+32|0)==(c[j+108>>2]|0))c[j+108>>2]=i;c[f+40>>2]=0;c[f+44>>2]=0;VT(f,d);bT((c[d+102964>>2]|0)>0,359351);c[d+102964>>2]=(c[d+102964>>2]|0)+-1;if(l<<24>>24)return;h=c[j+112>>2]|0;if(!h)return;do{if((c[h>>2]|0)==(k|0)){d=(c[h+4>>2]|0)+4|0;c[d>>2]=c[d>>2]|8}h=c[h+12>>2]|0}while((h|0)!=0);return}function kT(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;bT((c[b+102868>>2]&2|0)==0,359315);if(c[b+102868>>2]&2|0){d=0;return d|0}e=UT(d,b)|0;c[e+8>>2]=0;f=c[b+102956>>2]|0;c[e+12>>2]=f;if(f|0)c[f+8>>2]=e;c[b+102956>>2]=e;c[b+102964>>2]=(c[b+102964>>2]|0)+1;c[e+20>>2]=e;g=c[e+52>>2]|0;c[e+16>>2]=g;c[e+24>>2]=0;f=c[e+48>>2]|0;b=c[f+108>>2]|0;c[e+28>>2]=b;if(b|0)c[b+8>>2]=e+16;c[f+108>>2]=e+16;c[e+36>>2]=e;c[e+32>>2]=f;c[e+40>>2]=0;f=c[g+108>>2]|0;c[e+44>>2]=f;if(f|0)c[f+8>>2]=e+32;c[g+108>>2]=e+32;b=c[d+8>>2]|0;if(a[d+16>>0]|0){d=e;return d|0}f=c[(c[d+12>>2]|0)+112>>2]|0;if(!f){d=e;return d|0}do{if((c[f>>2]|0)==(b|0)){d=(c[f+4>>2]|0)+4|0;c[d>>2]=c[d>>2]|8}f=c[f+12>>2]|0}while((f|0)!=0);return e|0}function lT(f,h){f=f|0;h=h|0;var i=0;if((h&1|0)==(d[f+102976>>0]|0|0))return;a[f+102976>>0]=h&1;if(h)return;h=c[f+102952>>2]|0;if(!h)return;do{i=h+4|0;f=e[i>>1]|0;if(!(f&2)){b[i>>1]=f|2;g[h+144>>2]=0.0}h=c[h+96>>2]|0}while((h|0)!=0);return}function mT(d,f){d=d|0;f=f|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0.0;r=i;i=i+96|0;g[d+103008>>2]=0.0;g[d+103012>>2]=0.0;g[d+103016>>2]=0.0;Rqa(r+32|0,c[d+102960>>2]|0,c[d+102936>>2]|0,c[d+102964>>2]|0,d+68|0,c[d+102944>>2]|0);h=c[d+102952>>2]|0;if(h|0)do{q=h+4|0;b[q>>1]=e[q>>1]&65534;h=c[h+96>>2]|0}while((h|0)!=0);h=c[d+102932>>2]|0;if(h|0)do{q=h+4|0;c[q>>2]=c[q>>2]&-2;h=c[h+12>>2]|0}while((h|0)!=0);h=c[d+102956>>2]|0;if(h|0)do{a[h+60>>0]=0;h=c[h+12>>2]|0}while((h|0)!=0);o=c[d+102960>>2]|0;p=aqa(d+68|0,o<<2)|0;h=c[d+102952>>2]|0;if(h|0){q=r+32+28|0;do{j=h+4|0;k=b[j>>1]|0;if((k&35)==34)if(c[h>>2]|0){c[q>>2]=0;c[r+32+36>>2]=0;c[r+32+32>>2]=0;c[p>>2]=h;b[j>>1]=k&65535|1;j=1;do{j=j+-1|0;m=c[p+(j<<2)>>2]|0;bT((b[m+4>>1]&32)!=0,359368);bT((c[q>>2]|0)<(c[r+32+40>>2]|0),359390);k=c[q>>2]|0;c[m+8>>2]=k;c[(c[r+32+8>>2]|0)+(k<<2)>>2]=m;c[q>>2]=k+1;k=e[m+4>>1]|0;if(!(k&2)){b[m+4>>1]=k|2;g[m+144>>2]=0.0}if(c[m>>2]|0){k=c[m+112>>2]|0;if(k)do{l=c[k+4>>2]|0;do if((c[l+4>>2]&7|0)==6)if(!(a[(c[l+48>>2]|0)+38>>0]|0))if(!(a[(c[l+52>>2]|0)+38>>0]|0)){bT((c[r+32+36>>2]|0)<(c[r+32+44>>2]|0),359419);n=c[r+32+36>>2]|0;c[r+32+36>>2]=n+1;c[(c[r+32+12>>2]|0)+(n<<2)>>2]=l;c[l+4>>2]=c[l+4>>2]|1;l=c[k>>2]|0;if(b[l+4>>1]&1)break;bT((j|0)<(o|0),359454);c[p+(j<<2)>>2]=l;b[l+4>>1]=e[l+4>>1]|1;j=j+1|0}while(0);k=c[k+12>>2]|0}while((k|0)!=0);k=c[m+108>>2]|0;if(k)do{l=k+4|0;m=c[l>>2]|0;if(!(a[m+60>>0]|0)){n=c[k>>2]|0;if(b[n+4>>1]&32){bT((c[r+32+32>>2]|0)<(c[r+32+48>>2]|0),359477);s=c[r+32+32>>2]|0;c[r+32+32>>2]=s+1;c[(c[r+32+16>>2]|0)+(s<<2)>>2]=m;a[(c[l>>2]|0)+60>>0]=1;if(!(b[n+4>>1]&1)){bT((j|0)<(o|0),359454);c[p+(j<<2)>>2]=n;b[n+4>>1]=e[n+4>>1]|1;j=j+1|0}}}k=c[k+12>>2]|0}while((k|0)!=0)}}while((j|0)>0);Tqa(r+32|0,r,f,d+102968|0,(a[d+102976>>0]|0)!=0);g[d+103008>>2]=+g[r+12>>2]+ +g[d+103008>>2];g[d+103012>>2]=+g[r+16>>2]+ +g[d+103012>>2];g[d+103016>>2]=+g[r+20>>2]+ +g[d+103016>>2];j=c[q>>2]|0;if((j|0)>0){k=c[r+32+8>>2]|0;m=0;do{l=c[k+(m<<2)>>2]|0;if(!(c[l>>2]|0))b[l+4>>1]=e[l+4>>1]&65534;m=m+1|0}while((m|0)<(j|0))}}h=c[h+96>>2]|0}while((h|0)!=0)}bqa(d+68|0,p);h=c[d+102952>>2]|0;if(!h){Aqa(d+102872|0);t=+eqa(r);s=d+103020|0;g[s>>2]=t;Sqa(r+32|0);i=r;return}do{if(b[h+4>>1]&1)if(c[h>>2]|0)jqa(h);h=c[h+96>>2]|0}while((h|0)!=0);Aqa(d+102872|0);t=+eqa(r);s=d+103020|0;g[s>>2]=t;Sqa(r+32|0);i=r;return}function nT(d,f){d=d|0;f=f|0;var h=0,j=0.0,l=0,m=0,n=0.0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0.0,x=0,y=0,z=0,A=0,B=0,C=0.0,D=0.0,E=0.0;B=i;i=i+272|0;Rqa(B+216|0,64,32,0,d+68|0,c[d+102944>>2]|0);if(!(a[d+102995>>0]|0))y=d+102932|0;else{h=c[d+102952>>2]|0;if(h|0)do{A=h+4|0;b[A>>1]=e[A>>1]&65534;g[h+60>>2]=0.0;h=c[h+96>>2]|0}while((h|0)!=0);h=c[d+102932>>2]|0;if(!h)y=d+102932|0;else{do{A=h+4|0;c[A>>2]=c[A>>2]&-34;c[h+128>>2]=0;g[h+132>>2]=1.0;h=c[h+12>>2]|0}while((h|0)!=0);y=d+102932|0}}z=B+216+28|0;A=B+216+36|0;h=c[y>>2]|0;a:do if(h|0){w=1.0;x=0;while(1){v=h+4|0;l=c[v>>2]|0;do if(!(l&4))m=x;else if((c[h+128>>2]|0)>8)m=x;else{if(!(l&32)){q=c[h+48>>2]|0;r=c[h+52>>2]|0;if(a[q+38>>0]|0){m=x;break}if(a[r+38>>0]|0){m=x;break}s=c[q+8>>2]|0;t=c[r+8>>2]|0;l=c[s>>2]|0;m=c[t>>2]|0;bT((l|0)==2|(m|0)==2,359508);o=b[s+4>>1]|0;p=b[t+4>>1]|0;if(!((l|0)!=0&(o&2)!=0|(m|0)!=0&(p&2)!=0)){m=x;break}if(!((l|0)!=2|(o&8)!=0|((m|0)!=2|(p&8)!=0))){m=x;break}j=+g[s+60>>2];n=+g[t+60>>2];if(j>2];E=+g[s+36>>2];D=+g[s+40>>2];j=(n-C)/(1.0-C)*(+g[s+48>>2]-D);g[s+36>>2]=E+(n-C)/(1.0-C)*(+g[s+44>>2]-E);g[s+40>>2]=D+j;j=+g[s+52>>2];g[s+52>>2]=j+(n-C)/(1.0-C)*(+g[s+56>>2]-j);g[s+60>>2]=n;j=n}else if(n>2];n=+g[t+36>>2];C=+g[t+40>>2];E=(j-D)/(1.0-D)*(+g[t+48>>2]-C);g[t+36>>2]=n+(j-D)/(1.0-D)*(+g[t+44>>2]-n);g[t+40>>2]=C+E;E=+g[t+52>>2];g[t+52>>2]=E+(j-D)/(1.0-D)*(+g[t+56>>2]-E);g[t+60>>2]=j}bT(j<1.0,359559);l=c[h+56>>2]|0;u=c[h+60>>2]|0;c[B+84+16>>2]=0;c[B+84+20>>2]=0;g[B+84+24>>2]=0.0;c[B+84+44>>2]=0;c[B+84+48>>2]=0;g[B+84+52>>2]=0.0;cS(B+84|0,c[q+12>>2]|0,l);cS(B+84+28|0,c[r+12>>2]|0,u);u=B+84+56|0;l=s+28|0;r=u+36|0;do{c[u>>2]=c[l>>2];u=u+4|0;l=l+4|0}while((u|0)<(r|0));u=B+84+92|0;l=t+28|0;r=u+36|0;do{c[u>>2]=c[l>>2];u=u+4|0;l=l+4|0}while((u|0)<(r|0));g[B+84+128>>2]=1.0;Wpa(B+48|0,B+84|0);if((c[B+48>>2]|0)==3){j=j+(1.0-j)*+g[B+48+4>>2];j=j<1.0?j:1.0}else j=1.0;g[h+132>>2]=j;c[v>>2]=c[v>>2]|32}else j=+g[h+132>>2];m=j>2]|0;if(h|0){x=m;continue}if(w>.9999988079071045|(m|0)==0)break a;s=c[(c[m+48>>2]|0)+8>>2]|0;t=c[(c[m+52>>2]|0)+8>>2]|0;u=B+84|0;l=s+28|0;r=u+36|0;do{c[u>>2]=c[l>>2];u=u+4|0;l=l+4|0}while((u|0)<(r|0));u=B+48|0;l=t+28|0;r=u+36|0;do{c[u>>2]=c[l>>2];u=u+4|0;l=l+4|0}while((u|0)<(r|0));bT(+g[s+60>>2]<1.0,359559);D=+g[s+60>>2];D=(w-D)/(1.0-D);j=+g[s+36>>2];C=+g[s+40>>2];n=D*(+g[s+48>>2]-C);g[s+36>>2]=j+D*(+g[s+44>>2]-j);g[s+40>>2]=C+n;n=+g[s+52>>2];n=n+D*(+g[s+56>>2]-n);g[s+52>>2]=n;g[s+60>>2]=w;l=c[s+36>>2]|0;h=c[s+36+4>>2]|0;c[s+44>>2]=l;c[s+44+4>>2]=h;g[s+56>>2]=n;D=+R(+n);g[s+20>>2]=D;n=+Q(+n);g[s+24>>2]=n;C=+g[s+28>>2];j=+g[s+32>>2];E=(c[k>>2]=l,+g[k>>2])-(n*C-D*j);j=(c[k>>2]=h,+g[k>>2])-(D*C+n*j);g[s+12>>2]=E;g[s+16>>2]=j;bT(+g[t+60>>2]<1.0,359559);j=+g[t+60>>2];j=(w-j)/(1.0-j);E=+g[t+36>>2];n=+g[t+40>>2];C=j*(+g[t+48>>2]-n);g[t+36>>2]=E+j*(+g[t+44>>2]-E);g[t+40>>2]=n+C;C=+g[t+52>>2];C=C+j*(+g[t+56>>2]-C);g[t+52>>2]=C;g[t+60>>2]=w;h=c[t+36>>2]|0;l=c[t+36+4>>2]|0;c[t+44>>2]=h;c[t+44+4>>2]=l;g[t+56>>2]=C;j=+R(+C);g[t+20>>2]=j;C=+Q(+C);g[t+24>>2]=C;n=+g[t+28>>2];E=+g[t+32>>2];D=(c[k>>2]=h,+g[k>>2])-(C*n-j*E);E=(c[k>>2]=l,+g[k>>2])-(j*n+C*E);g[t+12>>2]=D;g[t+16>>2]=E;DT(m,c[d+102944>>2]|0);l=m+4|0;h=c[l>>2]|0;c[l>>2]=h&-33;x=m+128|0;c[x>>2]=(c[x>>2]|0)+1;if((h&6|0)==6){h=e[s+4>>1]|0;if(!(h&2)){b[s+4>>1]=h|2;g[s+144>>2]=0.0}h=e[t+4>>1]|0;if(!(h&2)){b[t+4>>1]=h|2;g[t+144>>2]=0.0}c[z>>2]=0;c[A>>2]=0;c[B+216+32>>2]=0;bT((c[B+216+40>>2]|0)>0,359390);h=c[z>>2]|0;c[s+8>>2]=h;c[(c[B+216+8>>2]|0)+(h<<2)>>2]=s;c[z>>2]=h+1;bT((h+1|0)<(c[B+216+40>>2]|0),359390);h=c[z>>2]|0;c[t+8>>2]=h;c[(c[B+216+8>>2]|0)+(h<<2)>>2]=t;c[z>>2]=h+1;bT((c[A>>2]|0)<(c[B+216+44>>2]|0),359419);h=c[A>>2]|0;c[A>>2]=h+1;c[(c[B+216+12>>2]|0)+(h<<2)>>2]=m;b[s+4>>1]=e[s+4>>1]|1;b[t+4>>1]=e[t+4>>1]|1;c[l>>2]=c[l>>2]|1;c[B+40>>2]=s;c[B+40+4>>2]=t;l=s;h=0;while(1){b:do if((c[l>>2]|0)==2){m=c[l+112>>2]|0;if(m|0){q=l+4|0;do{if((c[z>>2]|0)==(c[B+216+40>>2]|0))break b;if((c[A>>2]|0)==(c[B+216+44>>2]|0))break b;o=c[m+4>>2]|0;c:do if(!(c[o+4>>2]&1)){p=c[m>>2]|0;do if((c[p>>2]|0)==2){if(b[q>>1]&8)break;if(!(b[p+4>>1]&8))break c}while(0);if(a[(c[o+48>>2]|0)+38>>0]|0)break;if(a[(c[o+52>>2]|0)+38>>0]|0)break;u=B;l=p+28|0;r=u+36|0;do{c[u>>2]=c[l>>2];u=u+4|0;l=l+4|0}while((u|0)<(r|0));if(!(b[p+4>>1]&1)){bT(+g[p+60>>2]<1.0,359559);j=+g[p+60>>2];j=(w-j)/(1.0-j);E=+g[p+36>>2];n=+g[p+40>>2];C=j*(+g[p+48>>2]-n);g[p+36>>2]=E+j*(+g[p+44>>2]-E);g[p+40>>2]=n+C;C=+g[p+52>>2];C=C+j*(+g[p+56>>2]-C);g[p+52>>2]=C;g[p+60>>2]=w;v=c[p+36>>2]|0;x=c[p+36+4>>2]|0;c[p+44>>2]=v;c[p+44+4>>2]=x;g[p+56>>2]=C;j=+R(+C);g[p+20>>2]=j;C=+Q(+C);g[p+24>>2]=C;n=+g[p+28>>2];E=+g[p+32>>2];D=(c[k>>2]=v,+g[k>>2])-(C*n-j*E);E=(c[k>>2]=x,+g[k>>2])-(j*n+C*E);g[p+12>>2]=D;g[p+16>>2]=E}DT(o,c[d+102944>>2]|0);l=c[o+4>>2]|0;do if(!(l&4)){u=p+28|0;l=B;r=u+36|0;do{c[u>>2]=c[l>>2];u=u+4|0;l=l+4|0}while((u|0)<(r|0));j=+g[p+56>>2];C=+R(+j);g[p+20>>2]=C;j=+Q(+j);g[p+24>>2]=j;n=+g[p+28>>2];D=+g[p+32>>2];E=+g[p+48>>2]-(C*n+j*D);g[p+12>>2]=+g[p+44>>2]-(j*n-C*D);g[p+16>>2]=E}else{if(!(l&2)){u=p+28|0;l=B;r=u+36|0;do{c[u>>2]=c[l>>2];u=u+4|0;l=l+4|0}while((u|0)<(r|0));j=+g[p+56>>2];C=+R(+j);g[p+20>>2]=C;j=+Q(+j);g[p+24>>2]=j;n=+g[p+28>>2];D=+g[p+32>>2];E=+g[p+48>>2]-(C*n+j*D);g[p+12>>2]=+g[p+44>>2]-(j*n-C*D);g[p+16>>2]=E;break}c[o+4>>2]=l|1;bT((c[A>>2]|0)<(c[B+216+44>>2]|0),359419);l=c[A>>2]|0;c[A>>2]=l+1;c[(c[B+216+12>>2]|0)+(l<<2)>>2]=o;l=e[p+4>>1]|0;if(l&1|0)break;b[p+4>>1]=l|1;if((l&2|0)==0&(c[p>>2]|0)!=0){b[p+4>>1]=l|3;g[p+144>>2]=0.0}bT((c[z>>2]|0)<(c[B+216+40>>2]|0),359390);x=c[z>>2]|0;c[p+8>>2]=x;c[(c[B+216+8>>2]|0)+(x<<2)>>2]=p;c[z>>2]=x+1}while(0)}while(0);m=c[m+12>>2]|0}while((m|0)!=0)}}while(0);h=h+1|0;if((h|0)>=2)break;l=c[B+40+(h<<2)>>2]|0}E=(1.0-w)*+g[f>>2];g[B>>2]=E;g[B+4>>2]=1.0/E;g[B+8>>2]=1.0;c[B+16>>2]=20;c[B+12>>2]=c[f+12>>2];a[B+20>>0]=0;Uqa(B+216|0,B,c[s+8>>2]|0,c[t+8>>2]|0);if((c[z>>2]|0)>0){l=0;do{h=c[(c[B+216+8>>2]|0)+(l<<2)>>2]|0;b[h+4>>1]=e[h+4>>1]&65534;if((c[h>>2]|0)==2){jqa(h);h=c[h+112>>2]|0;if(h|0)do{x=(c[h+4>>2]|0)+4|0;c[x>>2]=c[x>>2]&-34;h=c[h+12>>2]|0}while((h|0)!=0)}l=l+1|0}while((l|0)<(c[z>>2]|0))}Aqa(d+102872|0);if(a[d+102994>>0]|0)break}else{c[l>>2]=h&-37;u=s+28|0;l=B+84|0;r=u+36|0;do{c[u>>2]=c[l>>2];u=u+4|0;l=l+4|0}while((u|0)<(r|0));u=t+28|0;l=B+48|0;r=u+36|0;do{c[u>>2]=c[l>>2];u=u+4|0;l=l+4|0}while((u|0)<(r|0));E=+g[s+56>>2];w=+R(+E);g[s+20>>2]=w;E=+Q(+E);g[s+24>>2]=E;D=+g[s+28>>2];C=+g[s+32>>2];n=+g[s+48>>2]-(w*D+E*C);g[s+12>>2]=+g[s+44>>2]-(E*D-w*C);g[s+16>>2]=n;n=+g[t+56>>2];C=+R(+n);g[t+20>>2]=C;n=+Q(+n);g[t+24>>2]=n;w=+g[t+28>>2];D=+g[t+32>>2];E=+g[t+48>>2]-(C*w+n*D);g[t+12>>2]=+g[t+44>>2]-(n*w-C*D);g[t+16>>2]=E}h=c[y>>2]|0;if(!h)break a;else{w=1.0;x=0}}a[d+102995>>0]=0;Sqa(B+216|0);i=B;return}while(0);a[d+102995>>0]=1;Sqa(B+216|0);i=B;return}function oT(b,d,e,f){b=b|0;d=+d;e=e|0;f=f|0;var h=0,j=0;j=i;i=i+32|0;h=c[b+102868>>2]|0;if(h&1){Aqa(b+102872|0);h=c[b+102868>>2]&-2;c[b+102868>>2]=h}c[b+102868>>2]=h|2;g[j>>2]=d;c[j+12>>2]=e;c[j+16>>2]=f;g[j+4>>2]=d>0.0?1.0/d:0.0;g[j+8>>2]=+g[b+102988>>2]*d;a[j+20>>0]=a[b+102992>>0]|0;zqa(b+102872|0);g[b+103e3>>2]=+eqa(j+24|0);if((a[b+102995>>0]|0)!=0&d>0.0){mT(b,j);g[b+103004>>2]=+eqa(j+24|0);d=+g[j>>2]}if((a[b+102993>>0]|0)!=0&d>0.0){nT(b,j);g[b+103024>>2]=+eqa(j+24|0);d=+g[j>>2]}if(d>0.0)c[b+102988>>2]=c[j+4>>2];f=c[b+102868>>2]|0;if(!(f&4)){e=f&-3;c[b+102868>>2]=e;d=+eqa(j+25|0);b=b+102996|0;g[b>>2]=d;i=j;return}h=c[b+102952>>2]|0;if(!h){e=f&-3;c[b+102868>>2]=e;d=+eqa(j+25|0);b=b+102996|0;g[b>>2]=d;i=j;return}do{g[h+76>>2]=0.0;g[h+80>>2]=0.0;g[h+84>>2]=0.0;h=c[h+96>>2]|0}while((h|0)!=0);e=f&-3;c[b+102868>>2]=e;d=+eqa(j+25|0);b=b+102996|0;g[b>>2]=d;i=j;return}function pT(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;c[e>>2]=a+102872;c[e+4>>2]=b;qT(a+102872|0,e,d);i=e;return}function qT(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0,j=0,k=0,l=0;l=i;i=i+1040|0;c[l>>2]=l+4;c[l+1032>>2]=256;c[l+4>>2]=c[a>>2];c[l+1028>>2]=1;while(1){bT(1,443702);f=(c[l+1028>>2]|0)+-1|0;c[l+1028>>2]=f;e=c[l>>2]|0;j=c[e+(f<<2)>>2]|0;if((j|0)!=-1){h=c[a+4>>2]|0;if(!((+g[d>>2]-+g[h+(j*36|0)+8>>2]>0.0?1:+g[d+4>>2]-+g[h+(j*36|0)+12>>2]>0.0)|+g[h+(j*36|0)>>2]-+g[d+8>>2]>0.0|+g[h+(j*36|0)+4>>2]-+g[d+12>>2]>0.0)){if((c[h+(j*36|0)+24>>2]|0)==-1){e=c[b>>2]|0;if((j|0)>-1)f=(c[e+12>>2]|0)>(j|0);else f=0;bT(f,443661);h=c[b+4>>2]|0;j=Xi[c[(c[h>>2]|0)+8>>2]&511](h,c[(c[(c[e+4>>2]|0)+(j*36|0)+16>>2]|0)+16>>2]|0)|0;if(j&(c[l+1028>>2]|0)>0)continue;else{k=9;break}}if((f|0)==(c[l+1032>>2]|0)){c[l+1032>>2]=f<<1;f=_S(f<<3)|0;c[l>>2]=f;mBb(f|0,e|0,c[l+1028>>2]<<2|0)|0;if((e|0)!=(l+4|0))$S(e)}e=c[l>>2]|0;c[e+(c[l+1028>>2]<<2)>>2]=c[h+(j*36|0)+24>>2];f=(c[l+1028>>2]|0)+1|0;c[l+1028>>2]=f;if((f|0)==(c[l+1032>>2]|0)){c[l+1032>>2]=f<<1;f=_S(f<<3)|0;c[l>>2]=f;mBb(f|0,e|0,c[l+1028>>2]<<2|0)|0;if((e|0)!=(l+4|0))$S(e)}e=c[l>>2]|0;c[e+(c[l+1028>>2]<<2)>>2]=c[h+(j*36|0)+28>>2];f=(c[l+1028>>2]|0)+1|0;c[l+1028>>2]=f}}if((f|0)<=0)break}if((k|0)==9)e=c[l>>2]|0;if((e|0)==(l+4|0)){i=l;return}$S(e);c[l>>2]=0;i=l;return}function rT(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+32|0;c[f+24>>2]=a+102872;c[f+24+4>>2]=b;g[f+16>>2]=1.0;b=c[d+4>>2]|0;c[f>>2]=c[d>>2];c[f+4>>2]=b;d=c[e+4>>2]|0;c[f+8>>2]=c[e>>2];c[f+8+4>>2]=d;sT(a+102872|0,f+24|0,f);i=f;return}function sT(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0.0,h=0,j=0,l=0,m=0.0,n=0.0,o=0.0,p=0,q=0,r=0.0,s=0,t=0,u=0.0,v=0.0,w=0,x=0,y=0.0,z=0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0,G=0.0,H=0.0,I=0.0;F=i;i=i+1088|0;A=+g[d>>2];B=+g[d+4>>2];C=+g[d+8>>2]-A;D=+g[d+12>>2]-B;bT(C*C+D*D>0.0,359573);f=+O(+(C*C+D*D));if(f<1.1920928955078125e-07){E=C;f=D}else{E=C*(1.0/f);f=D*(1.0/f)}y=-f;u=f<-0.0?y:f;v=E>0.0?E:-E;o=+g[d+16>>2];z=F+20+4|0;c[F+20>>2]=z;w=F+20+1028|0;x=F+20+1032|0;c[x>>2]=256;c[z>>2]=c[a>>2];c[w>>2]=1;t=(g[k>>2]=B>B+D*o?B:B+D*o,c[k>>2]|0);l=(g[k>>2]=A>A+C*o?A:A+C*o,c[k>>2]|0);j=(g[k>>2]=B>2]|0);r=o;s=(g[k>>2]=A>2]|0);a:while(1){bT(1,443702);e=(c[w>>2]|0)+-1|0;c[w>>2]=e;h=c[F+20>>2]|0;q=c[h+(e<<2)>>2]|0;do if((q|0)==-1){p=e;f=r;e=s;h=t}else{p=c[a+4>>2]|0;f=+g[p+(q*36|0)+8>>2];I=(c[k>>2]=s,+g[k>>2])-f;m=+g[p+(q*36|0)+12>>2];H=(c[k>>2]=j,+g[k>>2])-m;n=+g[p+(q*36|0)>>2];G=n-(c[k>>2]=l,+g[k>>2]);o=+g[p+(q*36|0)+4>>2];if(I>0.0|H>0.0|G>0.0|o-(c[k>>2]=t,+g[k>>2])>0.0){p=e;f=r;e=s;h=t}else{I=(A-(f+n)*.5)*y+E*(B-(m+o)*.5);if((I>0.0?I:-I)-(u*((f-n)*.5)+v*((m-o)*.5))>0.0){p=e;f=r;e=s;h=t}else{if((c[p+(q*36|0)+24>>2]|0)!=-1){if((e|0)==(c[x>>2]|0)){c[x>>2]=e<<1;e=_S(e<<3)|0;c[F+20>>2]=e;mBb(e|0,h|0,c[w>>2]<<2|0)|0;if((h|0)!=(z|0))$S(h)}e=c[F+20>>2]|0;c[e+(c[w>>2]<<2)>>2]=c[p+(q*36|0)+24>>2];h=(c[w>>2]|0)+1|0;c[w>>2]=h;if((h|0)==(c[x>>2]|0)){c[x>>2]=h<<1;h=_S(h<<3)|0;c[F+20>>2]=h;mBb(h|0,e|0,c[w>>2]<<2|0)|0;if((e|0)!=(z|0))$S(e)}c[(c[F+20>>2]|0)+(c[w>>2]<<2)>>2]=c[p+(q*36|0)+28>>2];p=(c[w>>2]|0)+1|0;c[w>>2]=p;f=r;e=s;h=t;break}e=c[d+4>>2]|0;c[F>>2]=c[d>>2];c[F+4>>2]=e;e=c[d+8+4>>2]|0;c[F+8>>2]=c[d+8>>2];c[F+8+4>>2]=e;g[F+16>>2]=r;e=c[b>>2]|0;if((q|0)>-1)h=(c[e+12>>2]|0)>(q|0);else h=0;bT(h,443661);q=c[(c[e+4>>2]|0)+(q*36|0)+16>>2]|0;e=c[q+16>>2]|0;p=c[e+12>>2]|0;if(Ci[c[(c[p>>2]|0)+20>>2]&127](p,F+1064|0,F,(c[e+8>>2]|0)+12|0,c[q+20>>2]|0)|0){f=+g[F+1064+8>>2];I=(1.0-f)*+g[F+4>>2]+f*+g[F+12>>2];g[F+1056>>2]=(1.0-f)*+g[F>>2]+f*+g[F+8>>2];g[F+1056+4>>2]=I;q=c[b+4>>2]|0;f=+Ji[c[(c[q>>2]|0)+8>>2]&1](q,e,F+1056|0,F+1064|0,f)}else f=+g[F+16>>2];if(f==0.0)break a;if(f>0.0){H=A+C*f;I=B+D*f;e=(g[k>>2]=A>2]|0);j=(g[k>>2]=B>2]|0);l=(g[k>>2]=A>H?A:H,c[k>>2]|0);h=(g[k>>2]=B>I?B:I,c[k>>2]|0)}else{f=r;e=s;h=t}p=c[w>>2]|0}}}while(0);if((p|0)>0){r=f;s=e;t=h}else break}e=c[F+20>>2]|0;if((e|0)==(z|0)){i=F;return}$S(e);c[F+20>>2]=0;i=F;return}function tT(a,b){a=a|0;b=b|0;var d=0,e=0;bT((c[a+102868>>2]&2|0)==0,359598);if(c[a+102868>>2]&2|0)return;d=c[a+102952>>2]|0;if(d|0)do{e=d+12|0;g[e>>2]=+g[e>>2]-+g[b>>2];e=d+16|0;g[e>>2]=+g[e>>2]-+g[b+4>>2];e=d+36|0;g[e>>2]=+g[e>>2]-+g[b>>2];e=d+40|0;g[e>>2]=+g[e>>2]-+g[b+4>>2];e=d+44|0;g[e>>2]=+g[e>>2]-+g[b>>2];e=d+48|0;g[e>>2]=+g[e>>2]-+g[b+4>>2];d=c[d+96>>2]|0}while((d|0)!=0);d=c[a+102956>>2]|0;if(d|0)do{si[c[(c[d>>2]|0)+20>>2]&511](d,b);d=c[d+12>>2]|0}while((d|0)!=0);Vpa(a+102872|0,b);return}function uT(a){a=a|0;return}function vT(a){a=a|0;oAb(a);return}function wT(a,c,d){a=a|0;c=c|0;d=d|0;a=b[c+36>>1]|0;if(!(a<<16>>16==0?1:a<<16>>16!=(b[d+36>>1]|0))){d=a<<16>>16>0;return d|0}if(!((b[d+32>>1]&b[c+34>>1])<<16>>16)){d=0;return d|0}d=(b[d+34>>1]&b[c+32>>1])<<16>>16!=0;return d|0}function xT(){bT(1,359642);bT(1,359685);c[157290]=67;c[157291]=205;a[629168]=1;bT(1,359642);bT(1,359685);c[157314]=68;c[157315]=206;a[629264]=1;c[157296]=68;c[157297]=206;a[629192]=0;bT(1,359642);bT(1,359685);c[157320]=69;c[157321]=207;a[629288]=1;bT(1,359642);bT(1,359685);c[157302]=70;c[157303]=208;a[629216]=1;c[157293]=70;c[157294]=208;a[629180]=0;bT(1,359642);bT(1,359685);c[157308]=71;c[157309]=209;a[629240]=1;c[157317]=71;c[157318]=209;a[629276]=0;bT(1,359642);bT(1,359685);c[157326]=72;c[157327]=210;a[629312]=1;c[157299]=72;c[157300]=210;a[629204]=0;bT(1,359642);bT(1,359685);c[157332]=73;c[157333]=211;a[629336]=1;c[157323]=73;c[157324]=211;a[629300]=0;return}function yT(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0;if(!(a[1247957]|0)){xT();a[1247957]=1}i=c[(c[b+12>>2]|0)+4>>2]|0;j=c[(c[e+12>>2]|0)+4>>2]|0;bT(i>>>0<4,359642);bT(j>>>0<4,359685);h=c[629160+(i*48|0)+(j*12|0)>>2]|0;if(!h){f=0;return f|0}if(!(a[629160+(i*48|0)+(j*12|0)+8>>0]|0)){f=Ci[h&127](e,f,b,d,g)|0;return f|0}else{f=Ci[h&127](b,d,e,f,g)|0;return f|0}return 0}function zT(d,f){d=d|0;f=f|0;var h=0,i=0,j=0,k=0;bT((a[1247957]|0)!=0,359728);j=c[d+48>>2]|0;k=c[d+52>>2]|0;if((c[d+124>>2]|0)>0)if(!(a[j+38>>0]|0))if(!(a[k+38>>0]|0)){h=c[j+8>>2]|0;i=e[h+4>>1]|0;if(!(i&2)){b[h+4>>1]=i|2;g[h+144>>2]=0.0}h=c[k+8>>2]|0;i=e[h+4>>1]|0;if(!(i&2)){b[h+4>>1]=i|2;g[h+144>>2]=0.0}}j=c[(c[j+12>>2]|0)+4>>2]|0;k=c[(c[k+12>>2]|0)+4>>2]|0;bT((j|0)>-1&(k|0)<4,359750);bT((j|0)>-1&(k|0)<4,359750);si[c[629160+(j*48|0)+(k*12|0)+4>>2]&511](d,f);return}function AT(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var h=0.0,i=0.0;c[a>>2]=19744;c[a+4>>2]=4;c[a+48>>2]=b;c[a+52>>2]=e;c[a+56>>2]=d;c[a+60>>2]=f;c[a+124>>2]=0;c[a+128>>2]=0;d=a+8|0;f=d+40|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(f|0));g[a+136>>2]=+O(+(+g[b+16>>2]*+g[e+16>>2]));i=+g[b+20>>2];h=+g[e+20>>2];g[a+140>>2]=i>h?i:h;g[a+144>>2]=0.0;return}function BT(a){a=a|0;return}function CT(a){a=a|0;oAb(a);return}function DT(d,f){d=d|0;f=f|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=i;i=i+64|0;h=u;j=d+64|0;k=h+64|0;do{c[h>>2]=c[j>>2];h=h+4|0;j=j+4|0}while((h|0)<(k|0));r=c[d+4>>2]|0;c[d+4>>2]=r|4;j=c[d+48>>2]|0;h=c[d+52>>2]|0;t=(a[h+38>>0]|a[j+38>>0])<<24>>24!=0;p=c[j+8>>2]|0;q=c[h+8>>2]|0;if(t){k=Lpa(c[j+12>>2]|0,c[d+56>>2]|0,c[h+12>>2]|0,c[d+60>>2]|0,p+12|0,q+12|0)|0;c[d+124>>2]=0;h=r>>>1&1}else{kj[c[c[d>>2]>>2]&127](d,d+64|0,p+12|0,q+12|0);k=(c[d+124>>2]|0)>0;a:do if(k){l=c[u+60>>2]|0;if((l|0)>0)o=0;else{h=0;while(1){g[d+64+(h*20|0)+8>>2]=0.0;g[d+64+(h*20|0)+12>>2]=0.0;h=h+1|0;if((h|0)>=(c[d+124>>2]|0))break a}}do{m=d+64+(o*20|0)+8|0;g[m>>2]=0.0;n=d+64+(o*20|0)+12|0;g[n>>2]=0.0;j=c[d+64+(o*20|0)+16>>2]|0;h=0;do{if((c[u+(h*20|0)+16>>2]|0)==(j|0)){s=8;break}h=h+1|0}while((h|0)<(l|0));if((s|0)==8){s=0;c[m>>2]=c[u+(h*20|0)+8>>2];c[n>>2]=c[u+(h*20|0)+12>>2]}o=o+1|0}while((o|0)<(c[d+124>>2]|0))}while(0);if((r>>>1&1|0)!=0^k){h=e[p+4>>1]|0;if(!(h&2)){b[p+4>>1]=h|2;g[p+144>>2]=0.0}h=e[q+4>>1]|0;if(!(h&2)){b[q+4>>1]=h|2;g[q+144>>2]=0.0;h=r>>>1&1}else h=r>>>1&1}else h=r>>>1&1}j=c[d+4>>2]|0;c[d+4>>2]=k?j|2:j&-3;h=(h|0)==0;j=(f|0)!=0&k;if(h&j)si[c[(c[f>>2]|0)+8>>2]&511](f,d);if((f|0)!=0&(k^1)&(h^1))si[c[(c[f>>2]|0)+12>>2]&511](f,d);if(!(j&(t^1))){i=u;return}$i[c[(c[f>>2]|0)+16>>2]&255](f,d,u);i=u;return}function ET(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;Dpa(b,c[(c[a+48>>2]|0)+12>>2]|0,d,c[(c[a+52>>2]|0)+12>>2]|0,e);return}function FT(a){a=a|0;oAb(a);return}function GT(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;f=US(f,148)|0;AT(f,a,0,d,0);c[f>>2]=19764;bT((c[(c[(c[f+48>>2]|0)+12>>2]|0)+4>>2]|0)==1,359855);bT((c[(c[(c[f+52>>2]|0)+12>>2]|0)+4>>2]|0)==0,443980);return f|0}function HT(a,b){a=a|0;b=b|0;Hi[c[(c[a>>2]|0)+4>>2]&1023](a);VS(b,a,148);return}function IT(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;Gpa(b,c[(c[a+48>>2]|0)+12>>2]|0,d,c[(c[a+52>>2]|0)+12>>2]|0,e);return}function JT(a){a=a|0;oAb(a);return}function KT(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;f=US(f,148)|0;AT(f,a,0,d,0);c[f>>2]=19784;bT((c[(c[(c[f+48>>2]|0)+12>>2]|0)+4>>2]|0)==1,359855);bT((c[(c[(c[f+52>>2]|0)+12>>2]|0)+4>>2]|0)==2,443875);return f|0}function LT(a,b){a=a|0;b=b|0;Hi[c[(c[a>>2]|0)+4>>2]&1023](a);VS(b,a,148);return}function MT(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;Cpa(b,c[(c[a+48>>2]|0)+12>>2]|0,d,c[(c[a+52>>2]|0)+12>>2]|0,e);return}function NT(a){a=a|0;oAb(a);return}function OT(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;f=US(f,148)|0;AT(f,a,0,d,0);c[f>>2]=19804;bT((c[(c[(c[f+48>>2]|0)+12>>2]|0)+4>>2]|0)==2,359943);bT((c[(c[(c[f+52>>2]|0)+12>>2]|0)+4>>2]|0)==0,443980);return f|0}function PT(a,b){a=a|0;b=b|0;Hi[c[(c[a>>2]|0)+4>>2]&1023](a);VS(b,a,148);return}function QT(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;Hpa(b,c[(c[a+48>>2]|0)+12>>2]|0,d,c[(c[a+52>>2]|0)+12>>2]|0,e);return}function RT(a){a=a|0;oAb(a);return}function ST(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;f=US(f,148)|0;AT(f,a,0,d,0);c[f>>2]=19824;bT((c[(c[(c[f+48>>2]|0)+12>>2]|0)+4>>2]|0)==2,359943);bT((c[(c[(c[f+52>>2]|0)+12>>2]|0)+4>>2]|0)==2,443875);return f|0}function TT(a,b){a=a|0;b=b|0;Hi[c[(c[a>>2]|0)+4>>2]&1023](a);VS(b,a,148);return}function UT(a,b){a=a|0;b=b|0;do switch(c[a>>2]|0){case 3:{b=US(b,176)|0;yra(b,a);a=b;return a|0}case 5:{b=US(b,168)|0;EU(b,a);a=b;return a|0}case 2:{b=US(b,256)|0;XU(b,a);a=b;return a|0}case 1:{b=US(b,228)|0;JV(b,a);a=b;return a|0}case 4:{b=US(b,196)|0;tV(b,a);a=b;return a|0}case 6:{b=US(b,276)|0;Xra(b,a);a=b;return a|0}case 7:{b=US(b,224)|0;AW(b,a);a=b;return a|0}case 8:{b=US(b,208)|0;pW(b,a);a=b;return a|0}case 9:{b=US(b,180)|0;Jra(b,a);a=b;return a|0}case 10:{b=US(b,168)|0;dW(b,a);a=b;return a|0}case 11:{b=US(b,192)|0;jU(b,a);a=b;return a|0}default:{bT(0,619694);a=0;return a|0}}while(0);return 0}function VT(a,b){a=a|0;b=b|0;Hi[c[(c[a>>2]|0)+24>>2]&1023](a);do switch(c[a+4>>2]|0){case 3:{VS(b,a,176);return}case 5:{VS(b,a,168);return}case 2:{VS(b,a,256);return}case 1:{VS(b,a,228);return}case 4:{VS(b,a,196);return}case 6:{VS(b,a,276);return}case 7:{VS(b,a,224);return}case 8:{VS(b,a,208);return}case 9:{VS(b,a,180);return}case 10:{VS(b,a,168);return}case 11:{VS(b,a,192);return}default:{bT(0,619694);return}}while(0)}function WT(b,d){b=b|0;d=d|0;c[b>>2]=19844;bT((c[d+8>>2]|0)!=(c[d+12>>2]|0),360043);c[b+4>>2]=c[d>>2];c[b+8>>2]=0;c[b+12>>2]=0;c[b+48>>2]=c[d+8>>2];c[b+52>>2]=c[d+12>>2];c[b+56>>2]=0;a[b+61>>0]=a[d+16>>0]|0;a[b+60>>0]=0;c[b+64>>2]=c[d+4>>2];c[b+16>>2]=0;c[b+16+4>>2]=0;c[b+16+8>>2]=0;c[b+16+12>>2]=0;c[b+16+16>>2]=0;c[b+16+20>>2]=0;c[b+16+24>>2]=0;c[b+16+28>>2]=0;return}function XT(a){a=a|0;a=i;i=i+16|0;aT(359996,a);i=a;return}function YT(a,b){a=a|0;b=b|0;return}function ZT(a){a=a|0;return}function _T(a){a=a|0;oAb(a);return}function $T(a,b){a=a|0;b=b|0;var d=0;d=(c[b+48>>2]|0)+12|0;b=c[d+4>>2]|0;c[a>>2]=c[d>>2];c[a+4>>2]=b;return}function aU(a,b){a=a|0;b=b|0;var d=0;d=(c[b+52>>2]|0)+12|0;b=c[d+4>>2]|0;c[a>>2]=c[d>>2];c[a+4>>2]=b;return}function bU(a,b,c){a=a|0;b=b|0;c=+c;var d=0.0;d=+g[b+84>>2]*c;g[a>>2]=+g[b+80>>2]*c;g[a+4>>2]=d;return}function cU(a,b){a=a|0;b=+b;return +(+g[a+88>>2]*b)}function dU(a){a=a|0;var b=0,e=0.0,f=0,j=0;b=i;i=i+96|0;j=c[(c[a+48>>2]|0)+8>>2]|0;f=c[(c[a+52>>2]|0)+8>>2]|0;aT(360083,b);c[b+8>>2]=j;aT(444558,b+8|0);c[b+16>>2]=f;aT(444584,b+16|0);c[b+24>>2]=d[a+61>>0];aT(444610,b+24|0);e=+g[a+72>>2];h[b+32>>3]=+g[a+68>>2];h[b+32+8>>3]=e;aT(360106,b+32|0);h[b+48>>3]=+g[a+76>>2];aT(360148,b+48|0);h[b+56>>3]=+g[a+92>>2];aT(444399,b+56|0);h[b+64>>3]=+g[a+96>>2];aT(444425,b+64|0);h[b+72>>3]=+g[a+100>>2];aT(360179,b+72|0);c[b+80>>2]=c[a+56>>2];aT(444722,b+80|0);i=b;return}function eU(a){a=a|0;oAb(a);return}function fU(b,d){b=b|0;d=d|0;var e=0.0,f=0.0,h=0.0,i=0.0,j=0,l=0,m=0.0,n=0,o=0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,S=0,T=0;J=c[b+48>>2]|0;o=c[J+8>>2]|0;c[b+104>>2]=o;I=c[b+52>>2]|0;S=c[I+8>>2]|0;c[b+108>>2]=S;P=c[J+28>>2]|0;O=c[J+28+4>>2]|0;c[b+128>>2]=P;c[b+128+4>>2]=O;N=c[I+28>>2]|0;M=c[I+28+4>>2]|0;c[b+136>>2]=N;c[b+136+4>>2]=M;L=c[J+120>>2]|0;c[b+156>>2]=L;K=c[I+120>>2]|0;c[b+160>>2]=K;J=c[J+128>>2]|0;c[b+164>>2]=J;I=c[I+128>>2]|0;c[b+168>>2]=I;n=c[d+24>>2]|0;E=+g[n+(o*12|0)>>2];C=+g[n+(o*12|0)+4>>2];y=+g[n+(o*12|0)+8>>2];T=c[d+28>>2]|0;j=c[T+(o*12|0)>>2]|0;l=c[T+(o*12|0)+4>>2]|0;m=+g[T+(o*12|0)+8>>2];F=+g[n+(S*12|0)>>2];D=+g[n+(S*12|0)+4>>2];z=+g[n+(S*12|0)+8>>2];n=c[T+(S*12|0)>>2]|0;o=c[T+(S*12|0)+4>>2]|0;p=+g[T+(S*12|0)+8>>2];q=+R(+y);r=+Q(+y);s=+R(+z);t=+Q(+z);u=-(c[k>>2]=P,+g[k>>2]);v=-(c[k>>2]=O,+g[k>>2]);g[b+112>>2]=r*u-q*v;g[b+116>>2]=q*u+r*v;w=-(c[k>>2]=N,+g[k>>2]);x=-(c[k>>2]=M,+g[k>>2]);g[b+120>>2]=t*w-s*x;g[b+124>>2]=s*w+t*x;e=(c[k>>2]=L,+g[k>>2]);f=(c[k>>2]=K,+g[k>>2]);h=(c[k>>2]=J,+g[k>>2]);i=(c[k>>2]=I,+g[k>>2]);A=e+f+(q*u+r*v)*(h*(q*u+r*v))+(s*w+t*x)*(i*(s*w+t*x));G=-((q*u+r*v)*(h*(r*u-q*v)))-(s*w+t*x)*(i*(t*w-s*x));H=e+f+(r*u-q*v)*(h*(r*u-q*v))+(t*w-s*x)*(i*(t*w-s*x));B=A*H-G*G!=0.0?1.0/(A*H-G*G):A*H-G*G;g[b+172>>2]=H*B;g[b+176>>2]=-(G*B);g[b+180>>2]=-(G*B);g[b+184>>2]=A*B;g[b+188>>2]=h+i>0.0?1.0/(h+i):h+i;B=+g[b+68>>2];A=+g[b+72>>2];g[b+144>>2]=F+(t*w-s*x)-E-(r*u-q*v)-(r*B-q*A);g[b+148>>2]=D+(s*w+t*x)-C-(q*u+r*v)-(q*B+r*A);g[b+152>>2]=z-y-+g[b+76>>2];if(!(a[d+20>>0]|0)){g[b+80>>2]=0.0;g[b+84>>2]=0.0;g[b+88>>2]=0.0;L=j;P=l;N=n;S=o;G=m;H=p;T=c[b+104>>2]|0;O=c[d+28>>2]|0;M=O+(T*12|0)|0;c[M>>2]=L;T=O+(T*12|0)+4|0;c[T>>2]=P;T=c[b+104>>2]|0;P=c[d+28>>2]|0;T=P+(T*12|0)+8|0;g[T>>2]=G;T=c[b+108>>2]|0;O=P+(T*12|0)|0;c[O>>2]=N;T=P+(T*12|0)+4|0;c[T>>2]=S;T=c[b+108>>2]|0;S=c[d+28>>2]|0;T=S+(T*12|0)+8|0;g[T>>2]=H;return}else{E=+g[d+8>>2];H=E*+g[b+80>>2];g[b+80>>2]=H;F=E*+g[b+84>>2];g[b+84>>2]=F;E=E*+g[b+88>>2];g[b+88>>2]=E;L=(g[k>>2]=(c[k>>2]=j,+g[k>>2])-e*H,c[k>>2]|0);P=(g[k>>2]=(c[k>>2]=l,+g[k>>2])-e*F,c[k>>2]|0);N=(g[k>>2]=(c[k>>2]=n,+g[k>>2])+f*H,c[k>>2]|0);S=(g[k>>2]=(c[k>>2]=o,+g[k>>2])+f*F,c[k>>2]|0);G=m-h*(E+(F*+g[b+112>>2]-H*(q*u+r*v)));H=p+i*(E+(F*(t*w-s*x)-H*(s*w+t*x)));T=c[b+104>>2]|0;O=c[d+28>>2]|0;M=O+(T*12|0)|0;c[M>>2]=L;T=O+(T*12|0)+4|0;c[T>>2]=P;T=c[b+104>>2]|0;P=c[d+28>>2]|0;T=P+(T*12|0)+8|0;g[T>>2]=G;T=c[b+108>>2]|0;O=P+(T*12|0)|0;c[O>>2]=N;T=P+(T*12|0)+4|0;c[T>>2]=S;T=c[b+108>>2]|0;S=c[d+28>>2]|0;T=S+(T*12|0)+8|0;g[T>>2]=H;return}}function gU(a,b){a=a|0;b=b|0;var d=0.0,e=0.0,f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0,B=0;A=c[a+104>>2]|0;B=c[b+28>>2]|0;q=+g[B+(A*12|0)>>2];v=+g[B+(A*12|0)+4>>2];x=+g[B+(A*12|0)+8>>2];A=c[a+108>>2]|0;i=+g[B+(A*12|0)>>2];j=+g[B+(A*12|0)+4>>2];k=+g[B+(A*12|0)+8>>2];l=+g[a+156>>2];m=+g[a+160>>2];n=+g[a+164>>2];o=+g[a+168>>2];f=+g[b>>2];e=+g[b+4>>2]*+g[a+100>>2];p=+g[a+88>>2];s=f*+g[a+96>>2];r=p-+g[a+188>>2]*(k-x+e*+g[a+152>>2]);r=r>2]=r;s=+g[a+124>>2];t=+g[a+120>>2];u=+g[a+116>>2];w=+g[a+112>>2];d=+g[a+144>>2]*e+(u*(x-n*(r-p))+(i-s*(k+o*(r-p))-q));e=e*+g[a+148>>2]+(j+t*(k+o*(r-p))-v-w*(x-n*(r-p)));h=+g[a+176>>2]*d+ +g[a+184>>2]*e;y=+g[a+80>>2];z=+g[a+84>>2];e=y-(+g[a+172>>2]*d+ +g[a+180>>2]*e);g[a+80>>2]=e;g[a+84>>2]=z-h;f=f*+g[a+92>>2];if((z-h)*(z-h)+e*e>f*f){d=+O(+((z-h)*(z-h)+e*e));if(d<1.1920928955078125e-07)d=z-h;else{g[a+80>>2]=e*(1.0/d);g[a+84>>2]=(z-h)*(1.0/d);e=e*(1.0/d);d=(z-h)*(1.0/d)}e=f*e;g[a+80>>2]=e;d=f*d;g[a+84>>2]=d}else d=z-h;y=e-y;z=d-z;A=c[a+104>>2]|0;B=c[b+28>>2]|0;g[B+(A*12|0)>>2]=q-l*y;g[B+(A*12|0)+4>>2]=v-l*z;A=c[b+28>>2]|0;g[A+((c[a+104>>2]|0)*12|0)+8>>2]=x-n*(r-p)-n*(w*z-y*u);B=c[a+108>>2]|0;g[A+(B*12|0)>>2]=i+m*y;g[A+(B*12|0)+4>>2]=j+m*z;g[(c[b+28>>2]|0)+((c[a+108>>2]|0)*12|0)+8>>2]=k+o*(r-p)+o*(z*t-y*s);return}function hU(a,b){a=a|0;b=b|0;return 1}function iU(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0.0,h=0.0,i=0.0;c[a+8>>2]=b;c[a+12>>2]=d;f=+g[d+12>>2]-+g[b+12>>2];h=+g[d+16>>2]-+g[b+16>>2];i=+g[b+24>>2];e=+g[b+20>>2];g[a+20>>2]=f*i+h*e;g[a+24>>2]=i*h-f*e;g[a+28>>2]=+g[d+56>>2]-+g[b+56>>2];return}function jU(a,b){a=a|0;b=b|0;var d=0;WT(a,b);c[a>>2]=19896;d=c[b+20+4>>2]|0;c[a+68>>2]=c[b+20>>2];c[a+68+4>>2]=d;c[a+76>>2]=c[b+28>>2];g[a+80>>2]=0.0;g[a+84>>2]=0.0;g[a+88>>2]=0.0;c[a+92>>2]=c[b+32>>2];c[a+96>>2]=c[b+36>>2];c[a+100>>2]=c[b+40>>2];return}function kU(a,b){a=a|0;b=+b;bT(b>=0.0&((g[k>>2]=b,c[k>>2]|0)&2139095040|0)!=2139095040,444452);g[a+92>>2]=b;return}function lU(a){a=a|0;return +(+g[a+92>>2])}function mU(a,b){a=a|0;b=+b;bT(b>=0.0&((g[k>>2]=b,c[k>>2]|0)&2139095040|0)!=2139095040,444486);g[a+96>>2]=b;return}function nU(a){a=a|0;return +(+g[a+96>>2])}function oU(a,b){a=a|0;b=+b;bT(b<=1.0&(b>=0.0&((g[k>>2]=b,c[k>>2]|0)&2139095040|0)!=2139095040),360213);g[a+100>>2]=b;return}function pU(a){a=a|0;return +(+g[a+100>>2])}function qU(a,d){a=a|0;d=d|0;var f=0,h=0;if(!(+g[d>>2]!=+g[a+68>>2]))if(!(+g[d+4>>2]!=+g[a+72>>2]))return;f=c[a+48>>2]|0;h=e[f+4>>1]|0;if(!(h&2)){b[f+4>>1]=h|2;g[f+144>>2]=0.0}f=c[a+52>>2]|0;h=e[f+4>>1]|0;if(!(h&2)){b[f+4>>1]=h|2;g[f+144>>2]=0.0}h=c[d+4>>2]|0;c[a+68>>2]=c[d>>2];c[a+68+4>>2]=h;return}function rU(a){a=a|0;return a+68|0}function sU(a,d){a=a|0;d=+d;var f=0,h=0;if(!(+g[a+76>>2]!=d))return;f=c[a+48>>2]|0;h=e[f+4>>1]|0;if(!(h&2)){b[f+4>>1]=h|2;g[f+144>>2]=0.0}f=c[a+52>>2]|0;h=e[f+4>>1]|0;if(!(h&2)){b[f+4>>1]=h|2;g[f+144>>2]=0.0}g[a+76>>2]=d;return}function tU(a){a=a|0;return +(+g[a+76>>2])}function uU(a,b){a=a|0;b=b|0;var d=0;d=c[b+76+4>>2]|0;c[a>>2]=c[b+76>>2];c[a+4>>2]=d;return}function vU(a,b){a=a|0;b=b|0;var d=0.0,e=0.0,f=0.0,h=0.0,i=0.0,j=0;j=c[b+52>>2]|0;i=+g[j+24>>2];h=+g[b+68>>2];f=+g[j+20>>2];e=+g[b+72>>2];d=h*f+i*e+ +g[j+16>>2];g[a>>2]=+g[j+12>>2]+(i*h-f*e);g[a+4>>2]=d;return}function wU(a,b,c){a=a|0;b=b|0;c=+c;var d=0.0;d=+g[b+100>>2]*c;g[a>>2]=+g[b+96>>2]*c;g[a+4>>2]=d;return}function xU(a,b){a=a|0;b=+b;return +(b*0.0)}function yU(a){a=a|0;a=i;i=i+16|0;aT(360282,a);i=a;return}function zU(a,b){a=a|0;b=b|0;g[a+76>>2]=+g[a+76>>2]-+g[b>>2];g[a+80>>2]=+g[a+80>>2]-+g[b+4>>2];return}function AU(a){a=a|0;oAb(a);return}function BU(b,d){b=b|0;d=d|0;var e=0,f=0,h=0.0,i=0.0,j=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0,z=0,A=0;y=c[b+52>>2]|0;z=c[y+8>>2]|0;c[b+116>>2]=z;A=c[y+28+4>>2]|0;c[b+128>>2]=c[y+28>>2];c[b+128+4>>2]=A;c[b+136>>2]=c[y+120>>2];c[b+140>>2]=c[y+128>>2];A=c[d+24>>2]|0;u=+g[A+(z*12|0)>>2];t=+g[A+(z*12|0)+4>>2];j=+g[A+(z*12|0)+8>>2];A=c[d+28>>2]|0;e=c[A+(z*12|0)>>2]|0;f=c[A+(z*12|0)+4>>2]|0;h=+g[A+(z*12|0)+8>>2];i=+R(+j);j=+Q(+j);r=+g[y+116>>2];q=+g[b+84>>2]*6.2831854820251465;s=+g[d>>2];p=q*(r*2.0*+g[b+88>>2])+s*(r*(q*q));bT(p>1.1920928955078125e-07,360321);p=s*p!=0.0?1.0/(s*p):s*p;g[b+108>>2]=p;g[b+92>>2]=s*(r*(q*q))*p;l=+g[b+68>>2]-+g[b+128>>2];m=+g[b+72>>2]-+g[b+132>>2];g[b+120>>2]=j*l-i*m;g[b+124>>2]=i*l+j*m;n=+g[b+136>>2];o=+g[b+140>>2];w=(i*l+j*m)*(o*(j*l-i*m));x=p+(n+(j*l-i*m)*(o*(j*l-i*m)));v=(p+(n+(i*l+j*m)*((i*l+j*m)*o)))*x-w*w;v=v!=0.0?1.0/v:v;g[b+144>>2]=x*v;g[b+148>>2]=w*v;g[b+152>>2]=w*v;g[b+156>>2]=(p+(n+(i*l+j*m)*((i*l+j*m)*o)))*v;t=t+(i*l+j*m)-+g[b+80>>2];g[b+160>>2]=(u+(j*l-i*m)-+g[b+76>>2])*(s*(r*(q*q))*p);g[b+164>>2]=t*(s*(r*(q*q))*p);if(!(a[d+20>>0]|0)){g[b+96>>2]=0.0;g[b+100>>2]=0.0;z=f;x=h*.9800000190734863;A=c[b+116>>2]|0;y=c[d+28>>2]|0;f=y+(A*12|0)|0;c[f>>2]=e;A=y+(A*12|0)+4|0;c[A>>2]=z;A=c[b+116>>2]|0;z=c[d+28>>2]|0;A=z+(A*12|0)+8|0;g[A>>2]=x;return}else{w=+g[d+8>>2];x=w*+g[b+96>>2];g[b+96>>2]=x;w=w*+g[b+100>>2];g[b+100>>2]=w;e=(g[k>>2]=(c[k>>2]=e,+g[k>>2])+x*n,c[k>>2]|0);z=(g[k>>2]=(c[k>>2]=f,+g[k>>2])+w*n,c[k>>2]|0);x=h*.9800000190734863+o*(w*(j*l-i*m)-x*(i*l+j*m));A=c[b+116>>2]|0;y=c[d+28>>2]|0;f=y+(A*12|0)|0;c[f>>2]=e;A=y+(A*12|0)+4|0;c[A>>2]=z;A=c[b+116>>2]|0;z=c[d+28>>2]|0;A=z+(A*12|0)+8|0;g[A>>2]=x;return}}function CU(a,b){a=a|0;b=b|0;var d=0.0,e=0.0,f=0.0,h=0,i=0.0,j=0.0,k=0.0,l=0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0;h=c[a+116>>2]|0;l=c[b+28>>2]|0;n=+g[l+(h*12|0)>>2];o=+g[l+(h*12|0)+4>>2];p=+g[l+(h*12|0)+8>>2];i=+g[a+124>>2];j=+g[a+120>>2];d=+g[a+108>>2];k=+g[a+96>>2];m=+g[a+100>>2];e=-(n-p*i+ +g[a+160>>2]+d*k);d=-(o+p*j+ +g[a+164>>2]+d*m);f=+g[a+148>>2]*e+ +g[a+156>>2]*d;d=k+(+g[a+144>>2]*e+ +g[a+152>>2]*d);g[a+96>>2]=d;g[a+100>>2]=f+m;e=+g[b>>2]*+g[a+104>>2];if((f+m)*(f+m)+d*d>e*e){q=e/+O(+((f+m)*(f+m)+d*d));g[a+96>>2]=d*q;g[a+100>>2]=q*(f+m);e=d*q;d=q*(f+m)}else{e=d;d=f+m}f=e-k;k=d-m;m=+g[a+136>>2];q=p+ +g[a+140>>2]*(k*j-f*i);g[l+(h*12|0)>>2]=n+f*m;g[l+(h*12|0)+4>>2]=o+k*m;g[(c[b+28>>2]|0)+((c[a+116>>2]|0)*12|0)+8>>2]=q;return}function DU(a,b){a=a|0;b=b|0;return 1}function EU(a,b){a=a|0;b=b|0;var d=0,e=0.0,f=0.0,h=0.0,i=0.0,j=0,l=0;WT(a,b);c[a>>2]=19948;if((c[b+20>>2]&2139095040|0)==2139095040)d=0;else d=(c[b+24>>2]&2139095040|0)!=2139095040;bT(d,360344);f=+g[b+28>>2];bT(f>=0.0&((g[k>>2]=f,c[k>>2]|0)&2139095040|0)!=2139095040,360366);f=+g[b+32>>2];bT(f>=0.0&((g[k>>2]=f,c[k>>2]|0)&2139095040|0)!=2139095040,360416);f=+g[b+36>>2];bT(f>=0.0&((g[k>>2]=f,c[k>>2]|0)&2139095040|0)!=2139095040,360472);l=c[b+20>>2]|0;j=c[b+20+4>>2]|0;c[a+76>>2]=l;c[a+76+4>>2]=j;d=c[a+52>>2]|0;f=(c[k>>2]=l,+g[k>>2])-+g[d+12>>2];h=(c[k>>2]=j,+g[k>>2])-+g[d+16>>2];i=+g[d+24>>2];e=+g[d+20>>2];g[a+68>>2]=f*i+h*e;g[a+72>>2]=i*h-f*e;c[a+104>>2]=c[b+28>>2];g[a+96>>2]=0.0;g[a+100>>2]=0.0;c[a+84>>2]=c[b+32>>2];c[a+88>>2]=c[b+36>>2];g[a+92>>2]=0.0;g[a+108>>2]=0.0;return}function FU(a,d){a=a|0;d=d|0;var e=0,f=0;e=c[a+52>>2]|0;f=b[e+4>>1]|0;if(!(f&2))if(!(f&2)){b[e+4>>1]=f&65535|2;g[e+144>>2]=0.0}f=c[d+4>>2]|0;c[a+76>>2]=c[d>>2];c[a+76+4>>2]=f;return}function GU(a){a=a|0;return a+76|0}function HU(a,b){a=a|0;b=+b;g[a+104>>2]=b;return}function IU(a){a=a|0;return +(+g[a+104>>2])}function JU(a,b){a=a|0;b=+b;g[a+84>>2]=b;return}function KU(a){a=a|0;return +(+g[a+84>>2])}function LU(a,b){a=a|0;b=+b;g[a+88>>2]=b;return}function MU(a){a=a|0;return +(+g[a+88>>2])}function NU(a,b){a=a|0;b=b|0;var d=0.0,e=0.0,f=0.0,h=0.0,i=0.0,j=0;j=c[b+48>>2]|0;i=+g[j+24>>2];h=+g[b+68>>2];f=+g[j+20>>2];e=+g[b+72>>2];d=h*f+i*e+ +g[j+16>>2];g[a>>2]=+g[j+12>>2]+(i*h-f*e);g[a+4>>2]=d;return}function OU(a,b){a=a|0;b=b|0;var d=0.0,e=0.0,f=0.0,h=0.0,i=0.0,j=0;j=c[b+52>>2]|0;i=+g[j+24>>2];h=+g[b+76>>2];f=+g[j+20>>2];e=+g[b+80>>2];d=h*f+i*e+ +g[j+16>>2];g[a>>2]=+g[j+12>>2]+(i*h-f*e);g[a+4>>2]=d;return}function PU(a,b,c){a=a|0;b=b|0;c=+c;var d=0.0,e=0.0,f=0.0;f=+g[b+104>>2];e=+g[b+116>>2]+ +g[b+112>>2];d=(f*+g[b+196>>2]+e*+g[b+188>>2])*c;g[a>>2]=(f*+g[b+192>>2]+ +g[b+184>>2]*e)*c;g[a+4>>2]=d;return}function QU(a,b){a=a|0;b=+b;return +(+g[a+108>>2]*b)}function RU(a){a=a|0;var b=0,e=0.0,f=0,j=0;b=i;i=i+144|0;j=c[(c[a+48>>2]|0)+8>>2]|0;f=c[(c[a+52>>2]|0)+8>>2]|0;aT(360549,b);c[b+8>>2]=j;aT(444558,b+8|0);c[b+16>>2]=f;aT(444584,b+16|0);c[b+24>>2]=d[a+61>>0];aT(444610,b+24|0);e=+g[a+72>>2];h[b+32>>3]=+g[a+68>>2];h[b+32+8>>3]=e;aT(444315,b+32|0);e=+g[a+80>>2];h[b+48>>3]=+g[a+76>>2];h[b+48+8>>3]=e;aT(444357,b+48|0);e=+g[a+88>>2];h[b+64>>3]=+g[a+84>>2];h[b+64+8>>3]=e;aT(361203,b+64|0);h[b+80>>3]=+g[a+100>>2];aT(361133,b+80|0);c[b+88>>2]=d[a+136>>0];aT(360933,b+88|0);h[b+96>>3]=+g[a+120>>2];aT(360576,b+96|0);h[b+104>>3]=+g[a+124>>2];aT(360610,b+104|0);c[b+112>>2]=d[a+137>>0];aT(361243,b+112|0);h[b+120>>3]=+g[a+132>>2];aT(361273,b+120|0);h[b+128>>3]=+g[a+128>>2];aT(360644,b+128|0);c[b+136>>2]=c[a+56>>2];aT(444722,b+136|0);i=b;return}function SU(a){a=a|0;oAb(a);return}function TU(d,e){d=d|0;e=e|0;var f=0.0,h=0.0,i=0.0,j=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0,w=0.0,x=0.0,y=0,z=0,A=0.0,B=0,C=0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,S=0,T=0,U=0,V=0;J=c[d+48>>2]|0;M=c[J+8>>2]|0;c[d+144>>2]=M;v=c[d+52>>2]|0;O=c[v+8>>2]|0;c[d+148>>2]=O;U=c[J+28>>2]|0;T=c[J+28+4>>2]|0;c[d+152>>2]=U;c[d+152+4>>2]=T;S=c[v+28>>2]|0;P=c[v+28+4>>2]|0;c[d+160>>2]=S;c[d+160+4>>2]=P;L=c[J+120>>2]|0;c[d+168>>2]=L;K=c[v+120>>2]|0;c[d+172>>2]=K;J=c[J+128>>2]|0;c[d+176>>2]=J;v=c[v+128>>2]|0;c[d+180>>2]=v;N=c[e+24>>2]|0;F=+g[N+(M*12|0)+8>>2];V=c[e+28>>2]|0;y=c[V+(M*12|0)>>2]|0;z=c[V+(M*12|0)+4>>2]|0;A=+g[V+(M*12|0)+8>>2];w=+g[N+(O*12|0)+8>>2];B=c[V+(O*12|0)>>2]|0;C=c[V+(O*12|0)+4>>2]|0;D=+g[V+(O*12|0)+8>>2];E=+R(+F);F=+Q(+F);H=+R(+w);w=+Q(+w);I=+g[d+68>>2]-(c[k>>2]=U,+g[k>>2]);t=+g[d+72>>2]-(c[k>>2]=T,+g[k>>2]);G=+g[d+76>>2]-(c[k>>2]=S,+g[k>>2]);u=+g[d+80>>2]-(c[k>>2]=P,+g[k>>2]);f=+g[N+(O*12|0)>>2]-+g[N+(M*12|0)>>2]+(w*G-H*u)-(F*I-E*t);h=+g[N+(O*12|0)+4>>2]-+g[N+(M*12|0)+4>>2]+(H*G+w*u)-(E*I+F*t);i=(c[k>>2]=L,+g[k>>2]);j=(c[k>>2]=K,+g[k>>2]);l=(c[k>>2]=J,+g[k>>2]);m=(c[k>>2]=v,+g[k>>2]);n=+g[d+84>>2];o=+g[d+88>>2];g[d+184>>2]=F*n-E*o;g[d+188>>2]=E*n+F*o;p=(F*I-E*t+f)*(E*n+F*o)-(E*I+F*t+h)*(F*n-E*o);g[d+208>>2]=p;q=(w*G-H*u)*(E*n+F*o)-(H*G+w*u)*(F*n-E*o);g[d+212>>2]=q;x=q*(m*q)+(i+j+p*(l*p));g[d+252>>2]=x>0.0?1.0/x:x;r=+g[d+92>>2];s=+g[d+96>>2];g[d+192>>2]=F*r-E*s;g[d+196>>2]=E*r+F*s;t=(F*I-E*t+f)*(E*r+F*s)-(E*I+F*t+h)*(F*r-E*s);g[d+200>>2]=t;u=(w*G-H*u)*(E*r+F*s)-(H*G+w*u)*(F*r-E*s);g[d+204>>2]=u;g[d+216>>2]=u*(m*u)+(i+j+t*(l*t));g[d+220>>2]=l*t+m*u;g[d+224>>2]=l*t*p+m*u*q;g[d+228>>2]=l*t+m*u;g[d+232>>2]=l+m==0.0?1.0:l+m;g[d+236>>2]=l*p+m*q;g[d+240>>2]=l*t*p+m*u*q;g[d+244>>2]=l*p+m*q;g[d+248>>2]=x;v=b[d+136>>1]|0;do if(!((v&255)<<24>>24)){c[d+140>>2]=0;g[d+112>>2]=0.0}else{w=+g[d+124>>2];x=+g[d+120>>2];if((w-x>0.0?w-x:-(w-x))<.009999999776482582){c[d+140>>2]=3;break}if(f*(F*n-E*o)+h*(E*n+F*o)<=x){if((c[d+140>>2]|0)==1)break;c[d+140>>2]=1;g[d+112>>2]=0.0;break}if(!(f*(F*n-E*o)+h*(E*n+F*o)>=w)){c[d+140>>2]=0;g[d+112>>2]=0.0;break}if((c[d+140>>2]|0)!=2){c[d+140>>2]=2;g[d+112>>2]=0.0}}while(0);if((v&65535)<256)g[d+116>>2]=0.0;if(!(a[e+20>>0]|0)){c[d+104>>2]=0;c[d+104+4>>2]=0;c[d+104+8>>2]=0;c[d+104+12>>2]=0;N=y;T=z;P=B;U=C;H=A;I=D;V=c[d+144>>2]|0;S=c[e+28>>2]|0;O=S+(V*12|0)|0;c[O>>2]=N;V=S+(V*12|0)+4|0;c[V>>2]=T;V=c[d+144>>2]|0;T=c[e+28>>2]|0;V=T+(V*12|0)+8|0;g[V>>2]=H;V=c[d+148>>2]|0;S=T+(V*12|0)|0;c[S>>2]=P;V=T+(V*12|0)+4|0;c[V>>2]=U;V=c[d+148>>2]|0;U=c[e+28>>2]|0;V=U+(V*12|0)+8|0;g[V>>2]=I;return}else{G=+g[e+8>>2];x=G*+g[d+104>>2];g[d+104>>2]=x;w=G*+g[d+108>>2];g[d+108>>2]=w;I=G*+g[d+112>>2];g[d+112>>2]=I;G=G*+g[d+116>>2];g[d+116>>2]=G;h=x*(F*r-E*s)+(F*n-E*o)*(G+I);H=x*(E*r+F*s)+(G+I)*(E*n+F*o);N=(g[k>>2]=(c[k>>2]=y,+g[k>>2])-i*h,c[k>>2]|0);T=(g[k>>2]=(c[k>>2]=z,+g[k>>2])-i*H,c[k>>2]|0);P=(g[k>>2]=(c[k>>2]=B,+g[k>>2])+j*h,c[k>>2]|0);U=(g[k>>2]=(c[k>>2]=C,+g[k>>2])+j*H,c[k>>2]|0);H=A-l*(x*t+w+(G+I)*p);I=D+m*(w+x*u+(G+I)*q);V=c[d+144>>2]|0;S=c[e+28>>2]|0;O=S+(V*12|0)|0;c[O>>2]=N;V=S+(V*12|0)+4|0;c[V>>2]=T;V=c[d+144>>2]|0;T=c[e+28>>2]|0;V=T+(V*12|0)+8|0;g[V>>2]=H;V=c[d+148>>2]|0;S=T+(V*12|0)|0;c[S>>2]=P;V=T+(V*12|0)+4|0;c[V>>2]=U;V=c[d+148>>2]|0;U=c[e+28>>2]|0;V=U+(V*12|0)+8|0;g[V>>2]=I;return}}function UU(b,d){b=b|0;d=d|0;var e=0,f=0,h=0,j=0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0,C=0,D=0,E=0.0,F=0.0;B=i;i=i+64|0;C=c[b+144>>2]|0;D=c[d+28>>2]|0;e=c[D+(C*12|0)>>2]|0;f=c[D+(C*12|0)+4>>2]|0;l=+g[D+(C*12|0)+8>>2];C=c[b+148>>2]|0;h=c[D+(C*12|0)>>2]|0;j=c[D+(C*12|0)+4>>2]|0;m=+g[D+(C*12|0)+8>>2];x=+g[b+168>>2];y=+g[b+172>>2];z=+g[b+176>>2];A=+g[b+180>>2];if(a[b+137>>0]|0)if((c[b+140>>2]|0)!=3){p=(c[k>>2]=h,+g[k>>2]);n=(c[k>>2]=e,+g[k>>2]);r=(c[k>>2]=j,+g[k>>2]);o=(c[k>>2]=f,+g[k>>2]);q=+g[b+184>>2];s=+g[b+188>>2];u=+g[b+212>>2];t=+g[b+208>>2];w=+g[b+116>>2];E=+g[d>>2]*+g[b+128>>2];v=w+ +g[b+252>>2]*(+g[b+132>>2]-((p-n)*q+(r-o)*s+m*u-l*t));v=v>2]=v;e=(g[k>>2]=n-x*(q*(v-w)),c[k>>2]|0);f=(g[k>>2]=o-x*(s*(v-w)),c[k>>2]|0);h=(g[k>>2]=p+y*(q*(v-w)),c[k>>2]|0);j=(g[k>>2]=r+y*(s*(v-w)),c[k>>2]|0);l=l-z*(t*(v-w));m=m+A*(u*(v-w))}w=(c[k>>2]=h,+g[k>>2]);v=(c[k>>2]=e,+g[k>>2]);u=(c[k>>2]=j,+g[k>>2]);t=(c[k>>2]=f,+g[k>>2]);o=(w-v)*+g[b+192>>2]+(u-t)*+g[b+196>>2]+m*+g[b+204>>2]-l*+g[b+200>>2];p=m-l;if(a[b+136>>0]|0)if(c[b+140>>2]|0){q=+g[b+104>>2];r=+g[b+108>>2];s=+g[b+112>>2];n=-((w-v)*+g[b+184>>2]+(u-t)*+g[b+188>>2]+m*+g[b+212>>2]-l*+g[b+208>>2]);g[B+16>>2]=-o;g[B+16+4>>2]=-p;g[B+16+8>>2]=n;WS(B+40|0,b+216|0,B+16|0);g[b+104>>2]=+g[B+40>>2]+ +g[b+104>>2];g[b+108>>2]=+g[B+40+4>>2]+ +g[b+108>>2];n=+g[B+40+8>>2]+ +g[b+112>>2];g[b+112>>2]=n;switch(c[b+140>>2]|0){case 1:{n=n>0.0?n:0.0;g[b+112>>2]=n;break}case 2:{n=n<0.0?n:0.0;g[b+112>>2]=n;break}default:{}}F=n-s;n=-p-F*+g[b+244>>2];g[B+32>>2]=-o-+g[b+240>>2]*F;g[B+32+4>>2]=n;XS(B+8|0,b+216|0,B+32|0);n=q+ +g[B+8>>2];F=r+ +g[B+8+4>>2];g[b+104>>2]=n;g[b+108>>2]=F;p=+g[b+112>>2]-s;E=F-r+(n-q)*+g[b+204>>2]+p*+g[b+212>>2];o=(n-q)*+g[b+192>>2]+p*+g[b+184>>2];s=(n-q)*+g[b+200>>2]+(F-r)+p*+g[b+208>>2];r=(n-q)*+g[b+196>>2]+p*+g[b+188>>2];p=x*r;q=x*o;r=y*r;x=y*o;t=t-p;v=v-q;y=u+r;x=w+x;z=z*s;E=A*E;A=l-z;E=m+E;D=c[b+144>>2]|0;C=c[d+28>>2]|0;j=C+(D*12|0)|0;g[j>>2]=v;D=C+(D*12|0)+4|0;g[D>>2]=t;D=c[b+144>>2]|0;C=c[d+28>>2]|0;D=C+(D*12|0)+8|0;g[D>>2]=A;D=c[b+148>>2]|0;j=C+(D*12|0)|0;g[j>>2]=x;D=C+(D*12|0)+4|0;g[D>>2]=y;D=c[b+148>>2]|0;C=c[d+28>>2]|0;D=C+(D*12|0)+8|0;g[D>>2]=E;i=B;return}g[B>>2]=-o;g[B+4>>2]=-p;XS(B+40|0,b+216|0,B);E=+g[B+40>>2];g[b+104>>2]=E+ +g[b+104>>2];s=+g[B+40+4>>2];g[b+108>>2]=s+ +g[b+108>>2];F=s+E*+g[b+204>>2];p=E*+g[b+192>>2];s=E*+g[b+200>>2]+s;E=E*+g[b+196>>2];q=x*E;r=x*p;E=y*E;y=y*p;x=t-q;v=v-r;E=u+E;y=w+y;z=z*s;F=A*F;A=l-z;F=m+F;D=c[b+144>>2]|0;C=c[d+28>>2]|0;j=C+(D*12|0)|0;g[j>>2]=v;D=C+(D*12|0)+4|0;g[D>>2]=x;D=c[b+144>>2]|0;C=c[d+28>>2]|0;D=C+(D*12|0)+8|0;g[D>>2]=A;D=c[b+148>>2]|0;j=C+(D*12|0)|0;g[j>>2]=y;D=C+(D*12|0)+4|0;g[D>>2]=E;D=c[b+148>>2]|0;C=c[d+28>>2]|0;D=C+(D*12|0)+8|0;g[D>>2]=F;i=B;return}function VU(b,d){b=b|0;d=d|0;var e=0,f=0.0,h=0.0,j=0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0.0,K=0.0,L=0;L=i;i=i+64|0;j=c[b+144>>2]|0;e=c[d+24>>2]|0;D=+g[e+(j*12|0)>>2];J=+g[e+(j*12|0)+4>>2];s=+g[e+(j*12|0)+8>>2];j=c[b+148>>2]|0;u=+g[e+(j*12|0)>>2];v=+g[e+(j*12|0)+4>>2];w=+g[e+(j*12|0)+8>>2];x=+R(+s);y=+Q(+s);m=+R(+w);o=+Q(+w);z=+g[b+168>>2];A=+g[b+172>>2];B=+g[b+176>>2];C=+g[b+180>>2];t=+g[b+68>>2]-+g[b+152>>2];q=+g[b+72>>2]-+g[b+156>>2];p=+g[b+76>>2]-+g[b+160>>2];r=+g[b+80>>2]-+g[b+164>>2];f=u+(o*p-m*r)-D-(y*t-x*q);h=v+(m*p+o*r)-J-(x*t+y*q);E=+g[b+84>>2];F=+g[b+88>>2];G=(x*E+y*F)*(y*t-x*q+f)-(y*E-x*F)*(x*t+y*q+h);H=(o*p-m*r)*(x*E+y*F)-(m*p+o*r)*(y*E-x*F);I=+g[b+92>>2];K=+g[b+96>>2];q=(x*I+y*K)*(y*t-x*q+f)-(y*I-x*K)*(x*t+y*q+h);r=(o*p-m*r)*(x*I+y*K)-(m*p+o*r)*(y*I-x*K);o=(y*I-x*K)*f+(x*I+y*K)*h;p=w-s-+g[b+100>>2];m=o>0.0?o:-o;t=p>0.0?p:-p;do if(!(a[b+136>>0]|0)){n=0.0;e=0;h=m}else{f=(y*E-x*F)*f+(x*E+y*F)*h;h=+g[b+124>>2];l=+g[b+120>>2];if((h-l>0.0?h-l:-(h-l))<.009999999776482582){n=f<.20000000298023224?f:.20000000298023224;h=f>0.0?f:-f;n=n<-.20000000298023224?-.20000000298023224:n;e=1;h=m>h?m:h;break}if(f<=l){n=f-l+.004999999888241291<0.0?f-l+.004999999888241291:0.0;n=n<-.20000000298023224?-.20000000298023224:n;e=1;h=m>l-f?m:l-f;break}if(!(f>=h)){n=0.0;e=0;h=m}else{n=f-h+-.004999999888241291<.20000000298023224?f-h+-.004999999888241291:.20000000298023224;n=n<0.0?0.0:n;e=1;h=m>f-h?m:f-h}}while(0);f=C*r+B*q;if(e){g[L+24>>2]=r*(C*r)+(z+A+q*(B*q));g[L+24+4>>2]=f;g[L+24+8>>2]=H*(C*r)+G*(B*q);g[L+24+12>>2]=f;g[L+24+16>>2]=B+C==0.0?1.0:B+C;g[L+24+20>>2]=C*H+B*G;g[L+24+24>>2]=H*(C*r)+G*(B*q);g[L+24+28>>2]=C*H+B*G;g[L+24+32>>2]=H*(C*H)+(z+A+G*(B*G));g[L>>2]=-o;g[L+4>>2]=-p;g[L+8>>2]=-n;WS(L+12|0,L+24|0,L);j=c[L+12>>2]|0;e=c[L+12+4>>2]|0;f=+g[L+12+8>>2]}else{m=B+C==0.0?1.0:B+C;n=m*(r*(C*r)+(z+A+q*(B*q)))-f*f;n=n!=0.0?1.0/n:n;j=(g[k>>2]=(m*-o-f*-p)*n,c[k>>2]|0);e=(g[k>>2]=((r*(C*r)+(z+A+q*(B*q)))*-p-f*-o)*n,c[k>>2]|0);f=0.0}p=(c[k>>2]=j,+g[k>>2]);o=(y*I-x*K)*p+(y*E-x*F)*f;I=(x*I+y*K)*p+(x*E+y*F)*f;K=(c[k>>2]=e,+g[k>>2]);e=c[b+144>>2]|0;j=c[d+24>>2]|0;g[j+(e*12|0)>>2]=D-z*o;g[j+(e*12|0)+4>>2]=J-z*I;e=c[d+24>>2]|0;g[e+((c[b+144>>2]|0)*12|0)+8>>2]=s-B*(q*p+K+G*f);j=c[b+148>>2]|0;g[e+(j*12|0)>>2]=u+A*o;g[e+(j*12|0)+4>>2]=v+A*I;g[(c[d+24>>2]|0)+((c[b+148>>2]|0)*12|0)+8>>2]=w+C*(r*p+K+H*f);i=L;return t<=.03490658849477768&h<=.004999999888241291|0}function WU(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var h=0.0,i=0.0,j=0.0,k=0.0;c[a+8>>2]=b;c[a+12>>2]=d;h=+g[e>>2]-+g[b+12>>2];j=+g[e+4>>2]-+g[b+16>>2];k=+g[b+24>>2];i=+g[b+20>>2];g[a+20>>2]=h*k+j*i;g[a+24>>2]=k*j-h*i;i=+g[e>>2]-+g[d+12>>2];h=+g[e+4>>2]-+g[d+16>>2];j=+g[d+24>>2];k=+g[d+20>>2];g[a+28>>2]=i*j+h*k;g[a+32>>2]=j*h-i*k;k=+g[b+24>>2];i=+g[f>>2];h=+g[b+20>>2];j=+g[f+4>>2];g[a+36>>2]=k*i+h*j;g[a+40>>2]=k*j-i*h;g[a+44>>2]=+g[d+56>>2]-+g[b+56>>2];return}function XU(b,d){b=b|0;d=d|0;var e=0,f=0.0,h=0.0,i=0.0,j=0;WT(b,d);c[b>>2]=2e4;e=c[d+20+4>>2]|0;c[b+68>>2]=c[d+20>>2];c[b+68+4>>2]=e;e=c[d+28+4>>2]|0;c[b+76>>2]=c[d+28>>2];c[b+76+4>>2]=e;e=c[d+36>>2]|0;j=c[d+36+4>>2]|0;c[b+84>>2]=e;c[b+84+4>>2]=j;i=(c[k>>2]=e,+g[k>>2]);f=(c[k>>2]=j,+g[k>>2]);h=+O(+(i*i+f*f));if(!(h<1.1920928955078125e-07)){g[b+84>>2]=i*(1.0/h);g[b+88>>2]=f*(1.0/h);f=f*(1.0/h);e=(g[k>>2]=i*(1.0/h),c[k>>2]|0)}g[b+92>>2]=-f;c[b+96>>2]=e;c[b+100>>2]=c[d+44>>2];g[b+252>>2]=0.0;c[b+104>>2]=0;c[b+104+4>>2]=0;c[b+104+8>>2]=0;c[b+104+12>>2]=0;c[b+120>>2]=c[d+52>>2];c[b+124>>2]=c[d+56>>2];c[b+128>>2]=c[d+64>>2];c[b+132>>2]=c[d+68>>2];a[b+136>>0]=a[d+48>>0]|0;a[b+137>>0]=a[d+60>>0]|0;c[b+140>>2]=0;c[b+184>>2]=0;c[b+184+4>>2]=0;c[b+184+8>>2]=0;c[b+184+12>>2]=0;return}function YU(a){a=a|0;var b=0.0,d=0.0,e=0.0,f=0.0,h=0,i=0.0,j=0.0,k=0,l=0.0,m=0.0,n=0.0,o=0.0;h=c[a+48>>2]|0;d=+g[h+24>>2];j=+g[a+68>>2];f=+g[h+20>>2];i=+g[a+72>>2];k=c[a+52>>2]|0;m=+g[k+24>>2];o=+g[a+76>>2];n=+g[k+20>>2];l=+g[a+80>>2];e=+g[a+84>>2];b=+g[a+88>>2];return +((+g[k+12>>2]+(m*o-n*l)-(+g[h+12>>2]+(d*j-f*i)))*(d*e-f*b)+(o*n+m*l+ +g[k+16>>2]-(j*f+d*i+ +g[h+16>>2]))*(f*e+d*b))}function ZU(a){a=a|0;var b=0.0,d=0.0,e=0.0,f=0.0,h=0.0,i=0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0,p=0.0,q=0.0;i=c[a+48>>2]|0;o=c[a+52>>2]|0;h=+g[a+68>>2]-+g[i+28>>2];e=+g[a+72>>2]-+g[i+32>>2];f=+g[i+24>>2];d=+g[i+20>>2];n=+g[a+76>>2]-+g[o+28>>2];l=+g[a+80>>2]-+g[o+32>>2];m=+g[o+24>>2];k=+g[o+20>>2];q=+g[a+84>>2];p=+g[a+88>>2];b=+g[i+72>>2];j=+g[o+72>>2];return +((m*l+n*k+ +g[o+48>>2]-(f*e+h*d+ +g[i+48>>2]))*((f*q-d*p)*b)-(n*m-l*k+ +g[o+44>>2]-(h*f-e*d+ +g[i+44>>2]))*((d*q+f*p)*b)+((f*q-d*p)*((f*e+h*d)*b+(+g[o+64>>2]-(m*l+n*k)*j-+g[i+64>>2]))+(d*q+f*p)*(+g[o+68>>2]+(n*m-l*k)*j-+g[i+68>>2]-(h*f-e*d)*b)))}function _U(b){b=b|0;return (a[b+136>>0]|0)!=0|0}function $U(f,h){f=f|0;h=h|0;var i=0,j=0;if((h&1|0)==(d[f+136>>0]|0|0))return;i=c[f+48>>2]|0;j=e[i+4>>1]|0;if(!(j&2)){b[i+4>>1]=j|2;g[i+144>>2]=0.0}i=c[f+52>>2]|0;j=e[i+4>>1]|0;if(!(j&2)){b[i+4>>1]=j|2;g[i+144>>2]=0.0}a[f+136>>0]=h&1;g[f+112>>2]=0.0;return}function aV(a){a=a|0;return +(+g[a+120>>2])}function bV(a){a=a|0;return +(+g[a+124>>2])}function cV(a,d,f){a=a|0;d=+d;f=+f;var h=0,i=0;bT(d<=f,361019);if(!(+g[a+120>>2]!=d))if(!(+g[a+124>>2]!=f))return;i=c[a+48>>2]|0;h=e[i+4>>1]|0;if(!(h&2)){b[i+4>>1]=h|2;g[i+144>>2]=0.0}h=c[a+52>>2]|0;i=e[h+4>>1]|0;if(!(i&2)){b[h+4>>1]=i|2;g[h+144>>2]=0.0}g[a+120>>2]=d;g[a+124>>2]=f;g[a+112>>2]=0.0;return}function dV(b){b=b|0;return (a[b+137>>0]|0)!=0|0}function eV(d,f){d=d|0;f=f|0;var h=0,i=0;h=c[d+48>>2]|0;i=e[h+4>>1]|0;if(!(i&2)){b[h+4>>1]=i|2;g[h+144>>2]=0.0}h=c[d+52>>2]|0;i=e[h+4>>1]|0;if(i&2|0){d=d+137|0;f=f&1;a[d>>0]=f;return}b[h+4>>1]=i|2;g[h+144>>2]=0.0;d=d+137|0;f=f&1;a[d>>0]=f;return}function fV(a,d){a=a|0;d=+d;var f=0,h=0;f=c[a+48>>2]|0;h=e[f+4>>1]|0;if(!(h&2)){b[f+4>>1]=h|2;g[f+144>>2]=0.0}f=c[a+52>>2]|0;h=e[f+4>>1]|0;if(h&2|0){a=a+132|0;g[a>>2]=d;return}b[f+4>>1]=h|2;g[f+144>>2]=0.0;a=a+132|0;g[a>>2]=d;return}function gV(a,d){a=a|0;d=+d;var f=0,h=0;f=c[a+48>>2]|0;h=e[f+4>>1]|0;if(!(h&2)){b[f+4>>1]=h|2;g[f+144>>2]=0.0}f=c[a+52>>2]|0;h=e[f+4>>1]|0;if(h&2|0){a=a+128|0;g[a>>2]=d;return}b[f+4>>1]=h|2;g[f+144>>2]=0.0;a=a+128|0;g[a>>2]=d;return}function hV(a,b){a=a|0;b=+b;return +(+g[a+116>>2]*b)}function iV(a,b){a=a|0;b=b|0;var d=0.0,e=0.0,f=0.0,h=0.0,i=0.0,j=0;j=c[b+48>>2]|0;i=+g[j+24>>2];h=+g[b+92>>2];f=+g[j+20>>2];e=+g[b+96>>2];d=h*f+i*e+ +g[j+16>>2];g[a>>2]=+g[j+12>>2]+(i*h-f*e);g[a+4>>2]=d;return}function jV(a,b){a=a|0;b=b|0;var d=0.0,e=0.0,f=0.0,h=0.0,i=0.0,j=0;j=c[b+52>>2]|0;i=+g[j+24>>2];h=+g[b+100>>2];f=+g[j+20>>2];e=+g[b+104>>2];d=h*f+i*e+ +g[j+16>>2];g[a>>2]=+g[j+12>>2]+(i*h-f*e);g[a+4>>2]=d;return}function kV(a,b,c){a=a|0;b=b|0;c=+c;var d=0.0,e=0.0;e=+g[b+116>>2];d=e*+g[b+140>>2]*c;g[a>>2]=e*+g[b+136>>2]*c;g[a+4>>2]=d;return}function lV(a,b){a=a|0;b=+b;return 0.0}function mV(a){a=a|0;var b=0,e=0.0,f=0,j=0;b=i;i=i+128|0;j=c[(c[a+48>>2]|0)+8>>2]|0;f=c[(c[a+52>>2]|0)+8>>2]|0;aT(360691,b);c[b+8>>2]=j;aT(444558,b+8|0);c[b+16>>2]=f;aT(444584,b+16|0);c[b+24>>2]=d[a+61>>0];aT(444610,b+24|0);e=+g[a+72>>2];h[b+32>>3]=+g[a+68>>2];h[b+32+8>>3]=e;aT(360715,b+32|0);e=+g[a+80>>2];h[b+48>>3]=+g[a+76>>2];h[b+48+8>>3]=e;aT(360758,b+48|0);e=+g[a+96>>2];h[b+64>>3]=+g[a+92>>2];h[b+64+8>>3]=e;aT(444315,b+64|0);e=+g[a+104>>2];h[b+80>>3]=+g[a+100>>2];h[b+80+8>>3]=e;aT(444357,b+80|0);h[b+96>>3]=+g[a+84>>2];aT(360801,b+96|0);h[b+104>>3]=+g[a+88>>2];aT(360826,b+104|0);h[b+112>>3]=+g[a+112>>2];aT(444699,b+112|0);c[b+120>>2]=c[a+56>>2];aT(444722,b+120|0);i=b;return}function nV(a,b){a=a|0;b=b|0;g[a+68>>2]=+g[a+68>>2]-+g[b>>2];g[a+72>>2]=+g[a+72>>2]-+g[b+4>>2];g[a+76>>2]=+g[a+76>>2]-+g[b>>2];g[a+80>>2]=+g[a+80>>2]-+g[b+4>>2];return}function oV(a){a=a|0;oAb(a);return}function pV(b,d){b=b|0;d=d|0;var e=0.0,f=0.0,h=0.0,i=0.0,j=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0,q=0,r=0.0,s=0,t=0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0,E=0,F=0,G=0,H=0,I=0,J=0.0,K=0.0,L=0.0;I=c[b+48>>2]|0;t=c[I+8>>2]|0;c[b+120>>2]=t;s=c[b+52>>2]|0;H=c[s+8>>2]|0;c[b+124>>2]=H;G=c[I+28>>2]|0;F=c[I+28+4>>2]|0;c[b+160>>2]=G;c[b+160+4>>2]=F;E=c[s+28>>2]|0;D=c[s+28+4>>2]|0;c[b+168>>2]=E;c[b+168+4>>2]=D;c[b+176>>2]=c[I+120>>2];c[b+180>>2]=c[s+120>>2];c[b+184>>2]=c[I+128>>2];c[b+188>>2]=c[s+128>>2];s=c[d+24>>2]|0;f=+g[s+(t*12|0)>>2];e=+g[s+(t*12|0)+4>>2];w=+g[s+(t*12|0)+8>>2];I=c[d+28>>2]|0;p=c[I+(t*12|0)>>2]|0;q=c[I+(t*12|0)+4>>2]|0;r=+g[I+(t*12|0)+8>>2];j=+g[s+(H*12|0)>>2];i=+g[s+(H*12|0)+4>>2];y=+g[s+(H*12|0)+8>>2];s=c[I+(H*12|0)>>2]|0;t=c[I+(H*12|0)+4>>2]|0;u=+g[I+(H*12|0)+8>>2];v=+R(+w);w=+Q(+w);x=+R(+y);y=+Q(+y);z=+g[b+92>>2]-(c[k>>2]=G,+g[k>>2]);A=+g[b+96>>2]-(c[k>>2]=F,+g[k>>2]);g[b+144>>2]=w*z-v*A;g[b+148>>2]=v*z+w*A;B=+g[b+100>>2]-(c[k>>2]=E,+g[k>>2]);C=+g[b+104>>2]-(c[k>>2]=D,+g[k>>2]);g[b+152>>2]=y*B-x*C;g[b+156>>2]=x*B+y*C;f=f+(w*z-v*A)-+g[b+68>>2];e=e+(v*z+w*A)-+g[b+72>>2];g[b+128>>2]=f;g[b+132>>2]=e;j=j+(y*B-x*C)-+g[b+76>>2];i=i+(x*B+y*C)-+g[b+80>>2];g[b+136>>2]=j;g[b+140>>2]=i;h=+O(+(f*f+e*e));l=+O(+(j*j+i*i));if(h>.04999999701976776){g[b+128>>2]=f*(1.0/h);o=1.0/h*e;n=f*(1.0/h)}else{g[b+128>>2]=0.0;o=0.0;n=0.0}g[b+132>>2]=o;if(l>.04999999701976776){g[b+136>>2]=1.0/l*j;m=1.0/l*i;e=1.0/l*j}else{g[b+136>>2]=0.0;m=0.0;e=0.0}g[b+140>>2]=m;K=(w*z-v*A)*o-(v*z+w*A)*n;J=(y*B-x*C)*m-(x*B+y*C)*e;f=+g[b+176>>2];h=+g[b+184>>2];i=+g[b+180>>2];j=+g[b+188>>2];l=+g[b+112>>2];g[b+192>>2]=f+K*(K*h)+l*l*(i+J*(J*j))>0.0?1.0/(f+K*(K*h)+l*l*(i+J*(J*j))):f+K*(K*h)+l*l*(i+J*(J*j));if(!(a[d+20>>0]|0)){g[b+116>>2]=0.0;G=q;E=s;H=t;J=r;K=u;I=c[b+120>>2]|0;F=c[d+28>>2]|0;D=F+(I*12|0)|0;c[D>>2]=p;I=F+(I*12|0)+4|0;c[I>>2]=G;I=c[b+120>>2]|0;G=c[d+28>>2]|0;I=G+(I*12|0)+8|0;g[I>>2]=J;I=c[b+124>>2]|0;F=G+(I*12|0)|0;c[F>>2]=E;I=G+(I*12|0)+4|0;c[I>>2]=H;I=c[b+124>>2]|0;H=c[d+28>>2]|0;I=H+(I*12|0)+8|0;g[I>>2]=K;return}else{L=+g[d+8>>2]*+g[b+116>>2];g[b+116>>2]=L;J=n*-L;n=o*-L;K=e*-(L*l);o=m*-(L*l);H=(g[k>>2]=(c[k>>2]=p,+g[k>>2])+J*f,c[k>>2]|0);G=(g[k>>2]=(c[k>>2]=q,+g[k>>2])+n*f,c[k>>2]|0);E=(g[k>>2]=(c[k>>2]=s,+g[k>>2])+K*i,c[k>>2]|0);s=H;H=(g[k>>2]=(c[k>>2]=t,+g[k>>2])+o*i,c[k>>2]|0);J=r+h*(n*(w*z-v*A)-J*(v*z+w*A));K=u+j*(o*(y*B-x*C)-K*(x*B+y*C));I=c[b+120>>2]|0;F=c[d+28>>2]|0;D=F+(I*12|0)|0;c[D>>2]=s;I=F+(I*12|0)+4|0;c[I>>2]=G;I=c[b+120>>2]|0;G=c[d+28>>2]|0;I=G+(I*12|0)+8|0;g[I>>2]=J;I=c[b+124>>2]|0;F=G+(I*12|0)|0;c[F>>2]=E;I=G+(I*12|0)+4|0;c[I>>2]=H;I=c[b+124>>2]|0;H=c[d+28>>2]|0;I=H+(I*12|0)+8|0;g[I>>2]=K;return}}function qV(a,b){a=a|0;b=b|0;var d=0.0,e=0,f=0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0;f=c[a+120>>2]|0;e=c[b+28>>2]|0;t=+g[e+(f*12|0)>>2];r=+g[e+(f*12|0)+4>>2];w=+g[e+(f*12|0)+8>>2];x=c[a+124>>2]|0;n=+g[e+(x*12|0)>>2];l=+g[e+(x*12|0)+4>>2];v=+g[e+(x*12|0)+8>>2];o=+g[a+148>>2];h=+g[a+144>>2];d=+g[a+156>>2];u=+g[a+152>>2];s=+g[a+128>>2];q=+g[a+132>>2];j=+g[a+112>>2];m=+g[a+136>>2];i=+g[a+140>>2];k=+g[a+192>>2]*(-((t-w*o)*s+(r+w*h)*q)-j*((n-v*d)*m+(l+v*u)*i));g[a+116>>2]=+g[a+116>>2]-k;p=+g[a+176>>2];o=w+ +g[a+184>>2]*(q*k*h-s*k*o);h=+g[a+180>>2];d=v+ +g[a+188>>2]*(k*j*i*u-m*(k*j)*d);g[e+(f*12|0)>>2]=t+s*k*p;g[e+(f*12|0)+4>>2]=r+q*k*p;f=c[b+28>>2]|0;g[f+((c[a+120>>2]|0)*12|0)+8>>2]=o;e=c[a+124>>2]|0;g[f+(e*12|0)>>2]=n+m*(k*j)*h;g[f+(e*12|0)+4>>2]=l+k*j*i*h;g[(c[b+28>>2]|0)+((c[a+124>>2]|0)*12|0)+8>>2]=d;return}function rV(a,b){a=a|0;b=b|0;var d=0.0,e=0.0,f=0.0,h=0.0,i=0.0,j=0.0,k=0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0;k=c[a+120>>2]|0;t=c[b+24>>2]|0;x=+g[t+(k*12|0)>>2];y=+g[t+(k*12|0)+4>>2];B=+g[t+(k*12|0)+8>>2];C=c[a+124>>2]|0;l=+g[t+(C*12|0)>>2];m=+g[t+(C*12|0)+4>>2];n=+g[t+(C*12|0)+8>>2];o=+R(+B);p=+Q(+B);q=+R(+n);r=+Q(+n);s=+g[a+92>>2]-+g[a+160>>2];u=+g[a+96>>2]-+g[a+164>>2];v=+g[a+100>>2]-+g[a+168>>2];w=+g[a+104>>2]-+g[a+172>>2];d=x+(p*s-o*u)-+g[a+68>>2];e=y+(o*s+p*u)-+g[a+72>>2];f=l+(r*v-q*w)-+g[a+76>>2];i=m+(q*v+r*w)-+g[a+80>>2];z=+O(+(d*d+e*e));A=+O(+(f*f+i*i));if(z>.04999999701976776){j=d*(1.0/z);h=e*(1.0/z)}else{j=0.0;h=0.0}if(A>.04999999701976776){e=f*(1.0/A);d=i*(1.0/A)}else{e=0.0;d=0.0}D=(p*s-o*u)*h-(o*s+p*u)*j;G=(r*v-q*w)*d-(q*v+r*w)*e;F=+g[a+176>>2];E=+g[a+184>>2];f=+g[a+180>>2];i=+g[a+188>>2];H=+g[a+112>>2];A=+g[a+108>>2]-z-A*H;G=A*(F+D*(D*E)+H*H*(f+G*(G*i))>0.0?1.0/(F+D*(D*E)+H*H*(f+G*(G*i))):F+D*(D*E)+H*H*(f+G*(G*i)));D=j*G;h=h*G;z=e*(H*G);j=d*(H*G);g[t+(k*12|0)>>2]=x+F*D;g[t+(k*12|0)+4>>2]=y+F*h;t=c[b+24>>2]|0;g[t+((c[a+120>>2]|0)*12|0)+8>>2]=B+E*((p*s-o*u)*h-(o*s+p*u)*D);C=c[a+124>>2]|0;g[t+(C*12|0)>>2]=l+f*z;g[t+(C*12|0)+4>>2]=m+f*j;g[(c[b+24>>2]|0)+((c[a+124>>2]|0)*12|0)+8>>2]=n+i*((r*v-q*w)*j-(q*v+r*w)*z);return (A>0.0?A:-A)<.004999999888241291|0}function sV(a,b,d,e,f,h,i,j){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;j=+j;var k=0.0,l=0.0,m=0.0,n=0.0,o=0;c[a+8>>2]=b;c[a+12>>2]=d;o=c[e+4>>2]|0;c[a+20>>2]=c[e>>2];c[a+20+4>>2]=o;o=c[f+4>>2]|0;c[a+28>>2]=c[f>>2];c[a+28+4>>2]=o;m=+g[h>>2]-+g[b+12>>2];n=+g[h+4>>2]-+g[b+16>>2];k=+g[b+24>>2];l=+g[b+20>>2];g[a+36>>2]=m*k+n*l;g[a+40>>2]=k*n-m*l;l=+g[i>>2]-+g[d+12>>2];m=+g[i+4>>2]-+g[d+16>>2];n=+g[d+24>>2];k=+g[d+20>>2];g[a+44>>2]=l*n+m*k;g[a+48>>2]=n*m-l*k;k=+g[h>>2]-+g[e>>2];l=+g[h+4>>2]-+g[e+4>>2];g[a+52>>2]=+O(+(k*k+l*l));l=+g[i>>2]-+g[f>>2];k=+g[i+4>>2]-+g[f+4>>2];g[a+56>>2]=+O(+(l*l+k*k));g[a+60>>2]=j;bT(j>1.1920928955078125e-07,360851);return}function tV(a,b){a=a|0;b=b|0;var d=0.0,e=0;WT(a,b);c[a>>2]=20052;e=c[b+20+4>>2]|0;c[a+68>>2]=c[b+20>>2];c[a+68+4>>2]=e;e=c[b+28+4>>2]|0;c[a+76>>2]=c[b+28>>2];c[a+76+4>>2]=e;e=c[b+36+4>>2]|0;c[a+92>>2]=c[b+36>>2];c[a+92+4>>2]=e;e=c[b+44+4>>2]|0;c[a+100>>2]=c[b+44>>2];c[a+100+4>>2]=e;c[a+84>>2]=c[b+52>>2];c[a+88>>2]=c[b+56>>2];bT(+g[b+60>>2]!=0.0,360870);d=+g[b+60>>2];g[a+112>>2]=d;g[a+108>>2]=+g[b+52>>2]+d*+g[b+56>>2];g[a+116>>2]=0.0;return}function uV(a,b){a=a|0;b=b|0;var d=0;d=c[b+68+4>>2]|0;c[a>>2]=c[b+68>>2];c[a+4>>2]=d;return}function vV(a,b){a=a|0;b=b|0;var d=0;d=c[b+76+4>>2]|0;c[a>>2]=c[b+76>>2];c[a+4>>2]=d;return}function wV(a){a=a|0;return +(+g[a+84>>2])}function xV(a){a=a|0;return +(+g[a+88>>2])}function yV(a){a=a|0;return +(+g[a+112>>2])}function zV(a,b){a=a|0;b=b|0;var d=0.0,e=0.0,f=0.0,h=0.0,i=0.0,j=0;j=c[b+48>>2]|0;i=+g[j+24>>2];h=+g[b+68>>2];f=+g[j+20>>2];e=+g[b+72>>2];d=h*f+i*e+ +g[j+16>>2];g[a>>2]=+g[j+12>>2]+(i*h-f*e);g[a+4>>2]=d;return}function AV(a,b){a=a|0;b=b|0;var d=0.0,e=0.0,f=0.0,h=0.0,i=0.0,j=0;j=c[b+52>>2]|0;i=+g[j+24>>2];h=+g[b+76>>2];f=+g[j+20>>2];e=+g[b+80>>2];d=h*f+i*e+ +g[j+16>>2];g[a>>2]=+g[j+12>>2]+(i*h-f*e);g[a+4>>2]=d;return}function BV(a,b,c){a=a|0;b=b|0;c=+c;var d=0.0;d=+g[b+88>>2]*c;g[a>>2]=+g[b+84>>2]*c;g[a+4>>2]=d;return}function CV(a,b){a=a|0;b=+b;return +(+g[a+92>>2]*b)}function DV(a){a=a|0;var b=0,e=0.0,f=0,j=0;b=i;i=i+128|0;j=c[(c[a+48>>2]|0)+8>>2]|0;f=c[(c[a+52>>2]|0)+8>>2]|0;aT(360907,b);c[b+8>>2]=j;aT(444558,b+8|0);c[b+16>>2]=f;aT(444584,b+16|0);c[b+24>>2]=d[a+61>>0];aT(444610,b+24|0);e=+g[a+72>>2];h[b+32>>3]=+g[a+68>>2];h[b+32+8>>3]=e;aT(444315,b+32|0);e=+g[a+80>>2];h[b+48>>3]=+g[a+76>>2];h[b+48+8>>3]=e;aT(444357,b+48|0);h[b+64>>3]=+g[a+116>>2];aT(361133,b+64|0);c[b+72>>2]=d[a+112>>0];aT(360933,b+72|0);h[b+80>>3]=+g[a+120>>2];aT(360963,b+80|0);h[b+88>>3]=+g[a+124>>2];aT(360991,b+88|0);c[b+96>>2]=d[a+100>>0];aT(361243,b+96|0);h[b+104>>3]=+g[a+108>>2];aT(361273,b+104|0);h[b+112>>3]=+g[a+104>>2];aT(361301,b+112|0);c[b+120>>2]=c[a+56>>2];aT(444722,b+120|0);i=b;return}function EV(a){a=a|0;oAb(a);return}function FV(b,d){b=b|0;d=d|0;var e=0.0,f=0.0,h=0.0,i=0.0,j=0.0,l=0.0,m=0.0,n=0,o=0,p=0.0,q=0,r=0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0.0;C=c[b+48>>2]|0;r=c[C+8>>2]|0;c[b+128>>2]=r;B=c[b+52>>2]|0;J=c[B+8>>2]|0;c[b+132>>2]=J;I=c[C+28>>2]|0;H=c[C+28+4>>2]|0;c[b+152>>2]=I;c[b+152+4>>2]=H;G=c[B+28>>2]|0;F=c[B+28+4>>2]|0;c[b+160>>2]=G;c[b+160+4>>2]=F;E=c[C+120>>2]|0;c[b+168>>2]=E;D=c[B+120>>2]|0;c[b+172>>2]=D;C=c[C+128>>2]|0;c[b+176>>2]=C;B=c[B+128>>2]|0;c[b+180>>2]=B;q=c[d+24>>2]|0;e=+g[q+(r*12|0)+8>>2];K=c[d+28>>2]|0;n=c[K+(r*12|0)>>2]|0;o=c[K+(r*12|0)+4>>2]|0;p=+g[K+(r*12|0)+8>>2];f=+g[q+(J*12|0)+8>>2];q=c[K+(J*12|0)>>2]|0;r=c[K+(J*12|0)+4>>2]|0;s=+g[K+(J*12|0)+8>>2];t=+R(+e);u=+Q(+e);v=+R(+f);w=+Q(+f);x=+g[b+68>>2]-(c[k>>2]=I,+g[k>>2]);y=+g[b+72>>2]-(c[k>>2]=H,+g[k>>2]);g[b+136>>2]=u*x-t*y;g[b+140>>2]=t*x+u*y;z=+g[b+76>>2]-(c[k>>2]=G,+g[k>>2]);A=+g[b+80>>2]-(c[k>>2]=F,+g[k>>2]);g[b+144>>2]=w*z-v*A;g[b+148>>2]=v*z+w*A;i=(c[k>>2]=E,+g[k>>2]);j=(c[k>>2]=D,+g[k>>2]);l=(c[k>>2]=C,+g[k>>2]);m=(c[k>>2]=B,+g[k>>2]);g[b+184>>2]=i+j+l*((t*x+u*y)*(t*x+u*y))+m*((v*z+w*A)*(v*z+w*A));h=-(l*((t*x+u*y)*(u*x-t*y)))-m*((v*z+w*A)*(w*z-v*A));g[b+196>>2]=h;g[b+208>>2]=-(l*(t*x+u*y))-m*(v*z+w*A);g[b+188>>2]=h;g[b+200>>2]=i+j+l*((u*x-t*y)*(u*x-t*y))+m*((w*z-v*A)*(w*z-v*A));g[b+212>>2]=l*(u*x-t*y)+m*(w*z-v*A);g[b+192>>2]=-(l*(t*x+u*y))-m*(v*z+w*A);g[b+204>>2]=l*(u*x-t*y)+m*(w*z-v*A);g[b+216>>2]=l+m;g[b+220>>2]=l+m>0.0?1.0/(l+m):l+m;if(l+m==0.0|(a[b+100>>0]|0)==0)g[b+96>>2]=0.0;do if(l+m==0.0|(a[b+112>>0]|0)==0)c[b+224>>2]=0;else{e=f-e-+g[b+116>>2];f=+g[b+124>>2];h=+g[b+120>>2];if((f-h>0.0?f-h:-(f-h))<.06981317698955536){c[b+224>>2]=3;break}if(e<=h){if((c[b+224>>2]|0)!=1)g[b+92>>2]=0.0;c[b+224>>2]=1;break}if(!(e>=f)){c[b+224>>2]=0;g[b+92>>2]=0.0;break}if((c[b+224>>2]|0)!=2)g[b+92>>2]=0.0;c[b+224>>2]=2}while(0);if(!(a[d+20>>0]|0)){c[b+84>>2]=0;c[b+84+4>>2]=0;c[b+84+8>>2]=0;c[b+84+12>>2]=0;E=n;I=o;G=q;J=r;z=p;A=s;K=c[b+128>>2]|0;H=c[d+28>>2]|0;F=H+(K*12|0)|0;c[F>>2]=E;K=H+(K*12|0)+4|0;c[K>>2]=I;K=c[b+128>>2]|0;I=c[d+28>>2]|0;K=I+(K*12|0)+8|0;g[K>>2]=z;K=c[b+132>>2]|0;H=I+(K*12|0)|0;c[H>>2]=G;K=I+(K*12|0)+4|0;c[K>>2]=J;K=c[b+132>>2]|0;J=c[d+28>>2]|0;K=J+(K*12|0)+8|0;g[K>>2]=A;return}else{e=+g[d+8>>2];h=e*+g[b+84>>2];g[b+84>>2]=h;f=e*+g[b+88>>2];g[b+88>>2]=f;L=e*+g[b+92>>2];g[b+92>>2]=L;e=e*+g[b+96>>2];g[b+96>>2]=e;E=(g[k>>2]=(c[k>>2]=n,+g[k>>2])-i*h,c[k>>2]|0);I=(g[k>>2]=(c[k>>2]=o,+g[k>>2])-i*f,c[k>>2]|0);G=(g[k>>2]=(c[k>>2]=q,+g[k>>2])+j*h,c[k>>2]|0);J=(g[k>>2]=(c[k>>2]=r,+g[k>>2])+j*f,c[k>>2]|0);y=p-l*(L+(e+(f*(u*x-t*y)-h*(t*x+u*y))));A=s+m*(L+(e+(f*(w*z-v*A)-h*(v*z+w*A))));K=c[b+128>>2]|0;H=c[d+28>>2]|0;F=H+(K*12|0)|0;c[F>>2]=E;K=H+(K*12|0)+4|0;c[K>>2]=I;K=c[b+128>>2]|0;I=c[d+28>>2]|0;K=I+(K*12|0)+8|0;g[K>>2]=y;K=c[b+132>>2]|0;H=I+(K*12|0)|0;c[H>>2]=G;K=I+(K*12|0)+4|0;c[K>>2]=J;K=c[b+132>>2]|0;J=c[d+28>>2]|0;K=J+(K*12|0)+8|0;g[K>>2]=A;return}}function GV(b,d){b=b|0;d=d|0;var e=0.0,f=0.0,h=0,j=0,l=0,m=0.0,n=0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0,C=0,D=0;B=i;i=i+64|0;C=c[b+128>>2]|0;D=c[d+28>>2]|0;l=c[D+(C*12|0)>>2]|0;n=c[D+(C*12|0)+4>>2]|0;e=+g[D+(C*12|0)+8>>2];C=c[b+132>>2]|0;h=c[D+(C*12|0)>>2]|0;j=c[D+(C*12|0)+4>>2]|0;f=+g[D+(C*12|0)+8>>2];x=+g[b+168>>2];y=+g[b+172>>2];z=+g[b+176>>2];A=+g[b+180>>2];if(a[b+100>>0]|0)if(!(z+A==0.0?1:(c[b+224>>2]|0)==3)){w=+g[b+96>>2];u=+g[d>>2]*+g[b+104>>2];v=w-+g[b+220>>2]*(f-e-+g[b+108>>2]);v=v>2]=v;e=e-z*(v-w);f=f+A*(v-w)}if(a[b+112>>0]|0)if(!(z+A==0.0|(c[b+224>>2]|0)==0)){w=(c[k>>2]=h,+g[k>>2]);v=(c[k>>2]=j,+g[k>>2]);u=(c[k>>2]=l,+g[k>>2]);t=(c[k>>2]=n,+g[k>>2]);o=w-f*+g[b+148>>2]-u+e*+g[b+140>>2];p=v+f*+g[b+144>>2]-t-e*+g[b+136>>2];g[B+40>>2]=o;g[B+40+4>>2]=p;g[B+40+8>>2]=f-e;WS(B+16|0,b+184|0,B+40|0);q=+g[B+16>>2];r=+g[B+16+4>>2];s=+g[B+16+8>>2];j=(g[k>>2]=-q,c[k>>2]|0);h=(g[k>>2]=-r,c[k>>2]|0);a:do switch(c[b+224>>2]|0){case 3:{g[b+84>>2]=+g[b+84>>2]-q;g[b+88>>2]=+g[b+88>>2]-r;g[b+92>>2]=+g[b+92>>2]-s;m=-s;break}case 1:{m=+g[b+92>>2];if(m-s<0.0){s=m*+g[b+212>>2]-p;g[B+32>>2]=m*+g[b+208>>2]-o;g[B+32+4>>2]=s;XS(B+8|0,b+184|0,B+32|0);j=c[B+8>>2]|0;h=c[B+8+4>>2]|0;m=-+g[b+92>>2];g[b+84>>2]=(c[k>>2]=j,+g[k>>2])+ +g[b+84>>2];g[b+88>>2]=(c[k>>2]=h,+g[k>>2])+ +g[b+88>>2];g[b+92>>2]=0.0;break a}else{g[b+84>>2]=+g[b+84>>2]-q;g[b+88>>2]=+g[b+88>>2]-r;g[b+92>>2]=m-s;m=-s;break a}}case 2:{m=+g[b+92>>2];if(m-s>0.0){s=m*+g[b+212>>2]-p;g[B+32>>2]=m*+g[b+208>>2]-o;g[B+32+4>>2]=s;XS(B+8|0,b+184|0,B+32|0);j=c[B+8>>2]|0;h=c[B+8+4>>2]|0;m=-+g[b+92>>2];g[b+84>>2]=(c[k>>2]=j,+g[k>>2])+ +g[b+84>>2];g[b+88>>2]=(c[k>>2]=h,+g[k>>2])+ +g[b+88>>2];g[b+92>>2]=0.0;break a}else{g[b+84>>2]=+g[b+84>>2]-q;g[b+88>>2]=+g[b+88>>2]-r;g[b+92>>2]=m-s;m=-s;break a}}default:m=-s}while(0);o=(c[k>>2]=j,+g[k>>2]);p=(c[k>>2]=h,+g[k>>2]);r=m+(p*+g[b+144>>2]-o*+g[b+148>>2]);q=m+(p*+g[b+136>>2]-o*+g[b+140>>2]);s=u-x*o;u=t-x*p;x=w+y*o;y=v+y*p;z=z*q;A=A*r;z=e-z;A=f+A;D=c[b+128>>2]|0;C=c[d+28>>2]|0;n=C+(D*12|0)|0;g[n>>2]=s;D=C+(D*12|0)+4|0;g[D>>2]=u;D=c[b+128>>2]|0;C=c[d+28>>2]|0;D=C+(D*12|0)+8|0;g[D>>2]=z;D=c[b+132>>2]|0;n=C+(D*12|0)|0;g[n>>2]=x;D=C+(D*12|0)+4|0;g[D>>2]=y;D=c[b+132>>2]|0;C=c[d+28>>2]|0;D=C+(D*12|0)+8|0;g[D>>2]=A;i=B;return}p=(c[k>>2]=h,+g[k>>2]);r=(c[k>>2]=j,+g[k>>2]);v=(c[k>>2]=l,+g[k>>2]);w=(c[k>>2]=n,+g[k>>2]);q=-(r+f*+g[b+144>>2]-w-e*+g[b+136>>2]);g[B>>2]=-(p-f*+g[b+148>>2]-v+e*+g[b+140>>2]);g[B+4>>2]=q;XS(B+40|0,b+184|0,B);q=+g[B+40>>2];g[b+84>>2]=q+ +g[b+84>>2];s=+g[B+40+4>>2];g[b+88>>2]=s+ +g[b+88>>2];u=s*+g[b+144>>2]-q*+g[b+148>>2];t=s*+g[b+136>>2]-q*+g[b+140>>2];v=v-x*q;w=w-x*s;x=p+y*q;y=r+y*s;z=z*t;A=A*u;z=e-z;A=f+A;D=c[b+128>>2]|0;C=c[d+28>>2]|0;n=C+(D*12|0)|0;g[n>>2]=v;D=C+(D*12|0)+4|0;g[D>>2]=w;D=c[b+128>>2]|0;C=c[d+28>>2]|0;D=C+(D*12|0)+8|0;g[D>>2]=z;D=c[b+132>>2]|0;n=C+(D*12|0)|0;g[n>>2]=x;D=C+(D*12|0)+4|0;g[D>>2]=y;D=c[b+132>>2]|0;C=c[d+28>>2]|0;D=C+(D*12|0)+8|0;g[D>>2]=A;i=B;return}function HV(b,d){b=b|0;d=d|0;var e=0.0,f=0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0;f=c[b+128>>2]|0;q=c[d+24>>2]|0;o=+g[q+(f*12|0)>>2];p=+g[q+(f*12|0)+4>>2];j=+g[q+(f*12|0)+8>>2];f=c[b+132>>2]|0;m=+g[q+(f*12|0)>>2];n=+g[q+(f*12|0)+4>>2];h=+g[q+(f*12|0)+8>>2];k=+g[b+176>>2];l=+g[b+180>>2];if(!(a[b+112>>0]|0))e=0.0;else{f=c[b+224>>2]|0;if((f|0)==0|k+l==0.0)e=0.0;else{e=h-j-+g[b+116>>2];switch(f|0){case 3:{i=e-+g[b+120>>2];i=i<.13962635397911072?i:.13962635397911072;i=i<-.13962635397911072?-.13962635397911072:i;e=i>0.0?i:-i;i=-(+g[b+220>>2]*i);break}case 1:{e=e-+g[b+120>>2];i=e+.03490658849477768<0.0?e+.03490658849477768:0.0;e=-e;i=-(+g[b+220>>2]*(i<-.13962635397911072?-.13962635397911072:i));break}case 2:{e=e-+g[b+124>>2];i=e+-.03490658849477768<.13962635397911072?e+-.03490658849477768:.13962635397911072;i=-(+g[b+220>>2]*(i<0.0?0.0:i));break}default:{e=0.0;i=0.0}}j=j-i*k;h=h+i*l}}F=+R(+j);D=+Q(+j);z=+R(+h);x=+Q(+h);E=+g[b+68>>2]-+g[b+152>>2];C=+g[b+72>>2]-+g[b+156>>2];y=+g[b+76>>2]-+g[b+160>>2];w=+g[b+80>>2]-+g[b+164>>2];v=m+(x*y-z*w)-o-(D*E-F*C);t=n+(z*y+x*w)-p-(F*E+D*C);i=+O(+(v*v+t*t));G=+g[b+168>>2];B=+g[b+172>>2];A=G+B+(F*E+D*C)*((F*E+D*C)*k)+(z*y+x*w)*((z*y+x*w)*l);s=-((F*E+D*C)*((D*E-F*C)*k))-(z*y+x*w)*((x*y-z*w)*l);u=G+B+(D*E-F*C)*((D*E-F*C)*k)+(x*y-z*w)*((x*y-z*w)*l);r=A*u-s*s!=0.0?1.0/(A*u-s*s):A*u-s*s;f=c[b+128>>2]|0;q=c[d+24>>2]|0;g[q+(f*12|0)>>2]=o-G*-((v*u-t*s)*r);g[q+(f*12|0)+4>>2]=p-G*-((t*A-v*s)*r);f=c[d+24>>2]|0;g[f+((c[b+128>>2]|0)*12|0)+8>>2]=j-k*((D*E-F*C)*-((t*A-v*s)*r)-(F*E+D*C)*-((v*u-t*s)*r));q=c[b+132>>2]|0;g[f+(q*12|0)>>2]=m+B*-((v*u-t*s)*r);g[f+(q*12|0)+4>>2]=n+B*-((t*A-v*s)*r);g[(c[d+24>>2]|0)+((c[b+132>>2]|0)*12|0)+8>>2]=h+l*((x*y-z*w)*-((t*A-v*s)*r)-(z*y+x*w)*-((v*u-t*s)*r));return e<=.03490658849477768&i<=.004999999888241291|0}function IV(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0.0,h=0.0,i=0.0,j=0.0;c[a+8>>2]=b;c[a+12>>2]=d;i=+g[e>>2]-+g[b+12>>2];j=+g[e+4>>2]-+g[b+16>>2];f=+g[b+24>>2];h=+g[b+20>>2];g[a+20>>2]=i*f+j*h;g[a+24>>2]=f*j-i*h;h=+g[e>>2]-+g[d+12>>2];i=+g[e+4>>2]-+g[d+16>>2];j=+g[d+24>>2];f=+g[d+20>>2];g[a+28>>2]=h*j+i*f;g[a+32>>2]=j*i-h*f;g[a+36>>2]=+g[d+56>>2]-+g[b+56>>2];return}function JV(b,d){b=b|0;d=d|0;var e=0;WT(b,d);c[b>>2]=20104;e=c[d+20+4>>2]|0;c[b+68>>2]=c[d+20>>2];c[b+68+4>>2]=e;e=c[d+28+4>>2]|0;c[b+76>>2]=c[d+28>>2];c[b+76+4>>2]=e;c[b+116>>2]=c[d+36>>2];c[b+84>>2]=0;c[b+84+4>>2]=0;c[b+84+8>>2]=0;c[b+84+12>>2]=0;c[b+120>>2]=c[d+44>>2];c[b+124>>2]=c[d+48>>2];c[b+104>>2]=c[d+60>>2];c[b+108>>2]=c[d+56>>2];a[b+112>>0]=a[d+40>>0]|0;a[b+100>>0]=a[d+52>>0]|0;c[b+224>>2]=0;return}function KV(a){a=a|0;return +(+g[(c[a+52>>2]|0)+56>>2]-+g[(c[a+48>>2]|0)+56>>2]-+g[a+116>>2])}function LV(a){a=a|0;return +(+g[(c[a+52>>2]|0)+72>>2]-+g[(c[a+48>>2]|0)+72>>2])}function MV(b){b=b|0;return (a[b+100>>0]|0)!=0|0}function NV(d,f){d=d|0;f=f|0;var h=0,i=0;h=c[d+48>>2]|0;i=e[h+4>>1]|0;if(!(i&2)){b[h+4>>1]=i|2;g[h+144>>2]=0.0}h=c[d+52>>2]|0;i=e[h+4>>1]|0;if(i&2|0){d=d+100|0;f=f&1;a[d>>0]=f;return}b[h+4>>1]=i|2;g[h+144>>2]=0.0;d=d+100|0;f=f&1;a[d>>0]=f;return}function OV(a,b){a=a|0;b=+b;return +(+g[a+96>>2]*b)}function PV(a,d){a=a|0;d=+d;var f=0,h=0;f=c[a+48>>2]|0;h=e[f+4>>1]|0;if(!(h&2)){b[f+4>>1]=h|2;g[f+144>>2]=0.0}f=c[a+52>>2]|0;h=e[f+4>>1]|0;if(h&2|0){a=a+108|0;g[a>>2]=d;return}b[f+4>>1]=h|2;g[f+144>>2]=0.0;a=a+108|0;g[a>>2]=d;return}function QV(a,d){a=a|0;d=+d;var f=0,h=0;f=c[a+48>>2]|0;h=e[f+4>>1]|0;if(!(h&2)){b[f+4>>1]=h|2;g[f+144>>2]=0.0}f=c[a+52>>2]|0;h=e[f+4>>1]|0;if(h&2|0){a=a+104|0;g[a>>2]=d;return}b[f+4>>1]=h|2;g[f+144>>2]=0.0;a=a+104|0;g[a>>2]=d;return}function RV(b){b=b|0;return (a[b+112>>0]|0)!=0|0}function SV(f,h){f=f|0;h=h|0;var i=0,j=0;if((h&1|0)==(d[f+112>>0]|0|0))return;i=c[f+48>>2]|0;j=e[i+4>>1]|0;if(!(j&2)){b[i+4>>1]=j|2;g[i+144>>2]=0.0}i=c[f+52>>2]|0;j=e[i+4>>1]|0;if(!(j&2)){b[i+4>>1]=j|2;g[i+144>>2]=0.0}a[f+112>>0]=h&1;g[f+92>>2]=0.0;return}function TV(a){a=a|0;return +(+g[a+120>>2])}function UV(a){a=a|0;return +(+g[a+124>>2])}function VV(a,d,f){a=a|0;d=+d;f=+f;var h=0,i=0;bT(d<=f,361019);if(!(+g[a+120>>2]!=d))if(!(+g[a+124>>2]!=f))return;i=c[a+48>>2]|0;h=e[i+4>>1]|0;if(!(h&2)){b[i+4>>1]=h|2;g[i+144>>2]=0.0}h=c[a+52>>2]|0;i=e[h+4>>1]|0;if(!(i&2)){b[h+4>>1]=i|2;g[h+144>>2]=0.0}g[a+92>>2]=0.0;g[a+120>>2]=d;g[a+124>>2]=f;return}function WV(a,b){a=a|0;b=b|0;var d=0.0,e=0.0,f=0.0,h=0.0,i=0.0,j=0;j=c[b+48>>2]|0;i=+g[j+24>>2];h=+g[b+68>>2];f=+g[j+20>>2];e=+g[b+72>>2];d=h*f+i*e+ +g[j+16>>2];g[a>>2]=+g[j+12>>2]+(i*h-f*e);g[a+4>>2]=d;return}function XV(a,b){a=a|0;b=b|0;var d=0.0,e=0.0,f=0.0,h=0.0,i=0.0,j=0;j=c[b+52>>2]|0;i=+g[j+24>>2];h=+g[b+76>>2];f=+g[j+20>>2];e=+g[b+80>>2];d=h*f+i*e+ +g[j+16>>2];g[a>>2]=+g[j+12>>2]+(i*h-f*e);g[a+4>>2]=d;return}function YV(a,b,c){a=a|0;b=b|0;c=+c;var d=0.0;d=+g[b+92>>2]*c;c=d*+g[b+108>>2];g[a>>2]=+g[b+104>>2]*d;g[a+4>>2]=c;return}function ZV(a,b){a=a|0;b=+b;return 0.0}function _V(a){a=a|0;var b=0,e=0.0,f=0,j=0;b=i;i=i+80|0;j=c[(c[a+48>>2]|0)+8>>2]|0;f=c[(c[a+52>>2]|0)+8>>2]|0;aT(361048,b);c[b+8>>2]=j;aT(444558,b+8|0);c[b+16>>2]=f;aT(444584,b+16|0);c[b+24>>2]=d[a+61>>0];aT(444610,b+24|0);e=+g[a+72>>2];h[b+32>>3]=+g[a+68>>2];h[b+32+8>>3]=e;aT(444315,b+32|0);e=+g[a+80>>2];h[b+48>>3]=+g[a+76>>2];h[b+48+8>>3]=e;aT(444357,b+48|0);h[b+64>>3]=+g[a+84>>2];aT(361070,b+64|0);c[b+72>>2]=c[a+56>>2];aT(444722,b+72|0);i=b;return}function $V(a){a=a|0;oAb(a);return}function aW(b,d){b=b|0;d=d|0;var e=0.0,f=0.0,h=0,i=0,j=0.0,l=0.0,m=0.0,n=0.0,o=0,p=0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0,C=0,D=0,E=0,F=0,G=0,H=0.0,I=0.0;G=c[b+48>>2]|0;h=c[G+8>>2]|0;c[b+96>>2]=h;i=c[b+52>>2]|0;F=c[i+8>>2]|0;c[b+100>>2]=F;E=c[G+28>>2]|0;D=c[G+28+4>>2]|0;c[b+128>>2]=E;c[b+128+4>>2]=D;C=c[i+28>>2]|0;B=c[i+28+4>>2]|0;c[b+136>>2]=C;c[b+136+4>>2]=B;c[b+144>>2]=c[G+120>>2];c[b+148>>2]=c[i+120>>2];c[b+152>>2]=c[G+128>>2];c[b+156>>2]=c[i+128>>2];i=c[d+24>>2]|0;j=+g[i+(h*12|0)>>2];l=+g[i+(h*12|0)+4>>2];t=+g[i+(h*12|0)+8>>2];G=c[d+28>>2]|0;o=c[G+(h*12|0)>>2]|0;p=c[G+(h*12|0)+4>>2]|0;f=+g[G+(h*12|0)+8>>2];w=+g[i+(F*12|0)>>2];m=+g[i+(F*12|0)+4>>2];y=+g[i+(F*12|0)+8>>2];i=c[G+(F*12|0)>>2]|0;h=c[G+(F*12|0)+4>>2]|0;e=+g[G+(F*12|0)+8>>2];s=+R(+t);t=+Q(+t);x=+R(+y);y=+Q(+y);u=+g[b+68>>2]-(c[k>>2]=E,+g[k>>2]);v=+g[b+72>>2]-(c[k>>2]=D,+g[k>>2]);g[b+112>>2]=t*u-s*v;g[b+116>>2]=s*u+t*v;z=+g[b+76>>2]-(c[k>>2]=C,+g[k>>2]);A=+g[b+80>>2]-(c[k>>2]=B,+g[k>>2]);g[b+120>>2]=y*z-x*A;g[b+124>>2]=x*z+y*A;j=w+(y*z-x*A)-j-(t*u-s*v);l=m+(x*z+y*A)-l-(s*u+t*v);g[b+104>>2]=j;g[b+108>>2]=l;m=+O(+(j*j+l*l));g[b+88>>2]=m;c[b+164>>2]=m-+g[b+84>>2]>0.0?2:0;if(!(m>.004999999888241291)){g[b+104>>2]=0.0;g[b+108>>2]=0.0;g[b+160>>2]=0.0;g[b+92>>2]=0.0;return}g[b+104>>2]=1.0/m*j;g[b+108>>2]=1.0/m*l;I=1.0/m*l*(t*u-s*v)-(s*u+t*v)*(1.0/m*j);H=1.0/m*l*(y*z-x*A)-1.0/m*j*(x*z+y*A);n=+g[b+144>>2];r=+g[b+152>>2];q=+g[b+148>>2];w=+g[b+156>>2];g[b+160>>2]=q+(n+I*(I*r))+H*(H*w)!=0.0?1.0/(q+(n+I*(I*r))+H*(H*w)):0.0;if(!(a[d+20>>0]|0))g[b+92>>2]=0.0;else{H=+g[d+8>>2]*+g[b+92>>2];g[b+92>>2]=H;I=H*(1.0/m*j);H=H*(1.0/m*l);o=(g[k>>2]=(c[k>>2]=o,+g[k>>2])-I*n,c[k>>2]|0);p=(g[k>>2]=(c[k>>2]=p,+g[k>>2])-H*n,c[k>>2]|0);i=(g[k>>2]=(c[k>>2]=i,+g[k>>2])+I*q,c[k>>2]|0);h=(g[k>>2]=(c[k>>2]=h,+g[k>>2])+H*q,c[k>>2]|0);f=f-r*(H*(t*u-s*v)-I*(s*u+t*v));e=e+w*(H*(y*z-x*A)-I*(x*z+y*A))}F=c[b+96>>2]|0;G=c[d+28>>2]|0;c[G+(F*12|0)>>2]=o;c[G+(F*12|0)+4>>2]=p;F=c[d+28>>2]|0;g[F+((c[b+96>>2]|0)*12|0)+8>>2]=f;G=c[b+100>>2]|0;c[F+(G*12|0)>>2]=i;c[F+(G*12|0)+4>>2]=h;g[(c[d+28>>2]|0)+((c[b+100>>2]|0)*12|0)+8>>2]=e;return}function bW(a,b){a=a|0;b=b|0;var d=0.0,e=0,f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0,u=0.0,v=0.0;e=c[a+96>>2]|0;m=c[b+28>>2]|0;q=+g[m+(e*12|0)>>2];r=+g[m+(e*12|0)+4>>2];s=+g[m+(e*12|0)+8>>2];t=c[a+100>>2]|0;f=+g[m+(t*12|0)>>2];h=+g[m+(t*12|0)+4>>2];i=+g[m+(t*12|0)+8>>2];j=+g[a+116>>2];k=+g[a+112>>2];l=+g[a+124>>2];n=+g[a+120>>2];d=+g[a+88>>2]-+g[a+84>>2];o=+g[a+104>>2];p=+g[a+108>>2];if(d<0.0)d=(f-i*l-(q-s*j))*o+(h+i*n-(r+s*k))*p+d*+g[b+4>>2];else d=(f-i*l-(q-s*j))*o+(h+i*n-(r+s*k))*p;u=+g[a+92>>2];d=u-d*+g[a+160>>2];d=d>0.0?0.0:d;g[a+92>>2]=d;v=+g[a+144>>2];j=s-+g[a+152>>2]*(p*(d-u)*k-o*(d-u)*j);k=+g[a+148>>2];s=i+ +g[a+156>>2]*(p*(d-u)*n-o*(d-u)*l);g[m+(e*12|0)>>2]=q-v*(o*(d-u));g[m+(e*12|0)+4>>2]=r-v*(p*(d-u));m=c[b+28>>2]|0;g[m+((c[a+96>>2]|0)*12|0)+8>>2]=j;t=c[a+100>>2]|0;g[m+(t*12|0)>>2]=f+o*(d-u)*k;g[m+(t*12|0)+4>>2]=h+p*(d-u)*k;g[(c[b+28>>2]|0)+((c[a+100>>2]|0)*12|0)+8>>2]=s;return}function cW(a,b){a=a|0;b=b|0;var d=0.0,e=0.0,f=0.0,h=0.0,i=0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0;i=c[a+96>>2]|0;r=c[b+24>>2]|0;v=+g[r+(i*12|0)>>2];w=+g[r+(i*12|0)+4>>2];x=+g[r+(i*12|0)+8>>2];y=c[a+100>>2]|0;j=+g[r+(y*12|0)>>2];k=+g[r+(y*12|0)+4>>2];l=+g[r+(y*12|0)+8>>2];m=+R(+x);n=+Q(+x);o=+R(+l);p=+Q(+l);q=+g[a+68>>2]-+g[a+128>>2];s=+g[a+72>>2]-+g[a+132>>2];t=+g[a+76>>2]-+g[a+136>>2];u=+g[a+80>>2]-+g[a+140>>2];e=j+(p*t-o*u)-v-(n*q-m*s);d=k+(o*t+p*u)-w-(m*q+n*s);f=+O(+(e*e+d*d));if(f<1.1920928955078125e-07)h=0.0;else{h=f;e=1.0/f*e;d=1.0/f*d}f=h-+g[a+84>>2];f=f<.20000000298023224?f:.20000000298023224;f=-(+g[a+160>>2]*(f<0.0?0.0:f));e=e*f;f=d*f;d=+g[a+144>>2];q=x-+g[a+152>>2]*((n*q-m*s)*f-(m*q+n*s)*e);s=+g[a+148>>2];x=l+ +g[a+156>>2]*((p*t-o*u)*f-(o*t+p*u)*e);g[r+(i*12|0)>>2]=v-d*e;g[r+(i*12|0)+4>>2]=w-d*f;r=c[b+24>>2]|0;g[r+((c[a+96>>2]|0)*12|0)+8>>2]=q;y=c[a+100>>2]|0;g[r+(y*12|0)>>2]=j+s*e;g[r+(y*12|0)+4>>2]=k+s*f;g[(c[b+24>>2]|0)+((c[a+100>>2]|0)*12|0)+8>>2]=x;return h-+g[a+84>>2]<.004999999888241291|0}function dW(a,b){a=a|0;b=b|0;var d=0;WT(a,b);c[a>>2]=20156;d=c[b+20+4>>2]|0;c[a+68>>2]=c[b+20>>2];c[a+68+4>>2]=d;d=c[b+28+4>>2]|0;c[a+76>>2]=c[b+28>>2];c[a+76+4>>2]=d;c[a+84>>2]=c[b+36>>2];g[a+160>>2]=0.0;g[a+92>>2]=0.0;c[a+164>>2]=0;g[a+88>>2]=0.0;return}function eW(a){a=a|0;return +(+g[a+84>>2])}function fW(a,b){a=a|0;b=b|0;var d=0.0,e=0.0,f=0.0,h=0.0,i=0.0,j=0;j=c[b+48>>2]|0;i=+g[j+24>>2];h=+g[b+80>>2];f=+g[j+20>>2];e=+g[b+84>>2];d=h*f+i*e+ +g[j+16>>2];g[a>>2]=+g[j+12>>2]+(i*h-f*e);g[a+4>>2]=d;return}function gW(a,b){a=a|0;b=b|0;var d=0.0,e=0.0,f=0.0,h=0.0,i=0.0,j=0;j=c[b+52>>2]|0;i=+g[j+24>>2];h=+g[b+88>>2];f=+g[j+20>>2];e=+g[b+92>>2];d=h*f+i*e+ +g[j+16>>2];g[a>>2]=+g[j+12>>2]+(i*h-f*e);g[a+4>>2]=d;return}function hW(a,b,c){a=a|0;b=b|0;c=+c;var d=0.0;d=+g[b+108>>2]*c;g[a>>2]=+g[b+104>>2]*c;g[a+4>>2]=d;return}function iW(a,b){a=a|0;b=+b;return +(+g[a+112>>2]*b)}function jW(a){a=a|0;var b=0,e=0.0,f=0,j=0;b=i;i=i+96|0;j=c[(c[a+48>>2]|0)+8>>2]|0;f=c[(c[a+52>>2]|0)+8>>2]|0;aT(361111,b);c[b+8>>2]=j;aT(444558,b+8|0);c[b+16>>2]=f;aT(444584,b+16|0);c[b+24>>2]=d[a+61>>0];aT(444610,b+24|0);e=+g[a+84>>2];h[b+32>>3]=+g[a+80>>2];h[b+32+8>>3]=e;aT(444315,b+32|0);e=+g[a+92>>2];h[b+48>>3]=+g[a+88>>2];h[b+48+8>>3]=e;aT(444357,b+48|0);h[b+64>>3]=+g[a+96>>2];aT(361133,b+64|0);h[b+72>>3]=+g[a+68>>2];aT(444212,b+72|0);h[b+80>>3]=+g[a+72>>2];aT(444241,b+80|0);c[b+88>>2]=c[a+56>>2];aT(444722,b+88|0);i=b;return}function kW(a){a=a|0;oAb(a);return}function lW(b,d){b=b|0;d=d|0;var e=0.0,f=0.0,h=0.0,j=0.0,l=0.0,m=0,n=0,o=0.0,p=0.0,q=0,r=0,s=0.0,t=0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0;t=i;i=i+48|0;E=c[b+48>>2]|0;r=c[E+8>>2]|0;c[b+116>>2]=r;D=c[b+52>>2]|0;L=c[D+8>>2]|0;c[b+120>>2]=L;K=c[E+28>>2]|0;J=c[E+28+4>>2]|0;c[b+140>>2]=K;c[b+140+4>>2]=J;I=c[D+28>>2]|0;H=c[D+28+4>>2]|0;c[b+148>>2]=I;c[b+148+4>>2]=H;G=c[E+120>>2]|0;c[b+156>>2]=G;F=c[D+120>>2]|0;c[b+160>>2]=F;E=c[E+128>>2]|0;c[b+164>>2]=E;D=c[D+128>>2]|0;c[b+168>>2]=D;q=c[d+24>>2]|0;l=+g[q+(r*12|0)+8>>2];M=c[d+28>>2]|0;m=c[M+(r*12|0)>>2]|0;n=c[M+(r*12|0)+4>>2]|0;o=+g[M+(r*12|0)+8>>2];p=+g[q+(L*12|0)+8>>2];q=c[M+(L*12|0)>>2]|0;r=c[M+(L*12|0)+4>>2]|0;s=+g[M+(L*12|0)+8>>2];z=+R(+l);B=+Q(+l);v=+R(+p);x=+Q(+p);A=+g[b+80>>2]-(c[k>>2]=K,+g[k>>2]);y=+g[b+84>>2]-(c[k>>2]=J,+g[k>>2]);g[b+124>>2]=B*A-z*y;g[b+128>>2]=z*A+B*y;w=+g[b+88>>2]-(c[k>>2]=I,+g[k>>2]);u=+g[b+92>>2]-(c[k>>2]=H,+g[k>>2]);g[b+132>>2]=x*w-v*u;g[b+136>>2]=v*w+x*u;e=(c[k>>2]=G,+g[k>>2]);f=(c[k>>2]=F,+g[k>>2]);h=(c[k>>2]=E,+g[k>>2]);j=(c[k>>2]=D,+g[k>>2]);g[t>>2]=e+f+h*((z*A+B*y)*(z*A+B*y))+j*((v*w+x*u)*(v*w+x*u));C=-(h*((z*A+B*y)*(B*A-z*y)))-j*((v*w+x*u)*(x*w-v*u));g[t+12>>2]=C;g[t+24>>2]=-(h*(z*A+B*y))-j*(v*w+x*u);g[t+4>>2]=C;g[t+16>>2]=e+f+h*((B*A-z*y)*(B*A-z*y))+j*((x*w-v*u)*(x*w-v*u));g[t+28>>2]=h*(B*A-z*y)+j*(x*w-v*u);g[t+8>>2]=-(h*(z*A+B*y))-j*(v*w+x*u);g[t+20>>2]=h*(B*A-z*y)+j*(x*w-v*u);g[t+32>>2]=h+j;do if(+g[b+68>>2]>0.0){YS(t,b+172|0);A=h+j>0.0?1.0/(h+j):0.0;y=p-l-+g[b+96>>2];B=+g[b+68>>2]*6.2831854820251465;z=+g[d>>2];C=z*(B*(A*2.0*+g[b+72>>2])+z*(B*(A*B)));C=C!=0.0?1.0/C:0.0;g[b+100>>2]=C;g[b+76>>2]=y*z*(B*(A*B))*C;g[b+204>>2]=h+j+C!=0.0?1.0/(h+j+C):0.0}else if(h+j==0.0){YS(t,b+172|0);g[b+100>>2]=0.0;g[b+76>>2]=0.0;break}else{ZS(t,b+172|0);g[b+100>>2]=0.0;g[b+76>>2]=0.0;break}while(0);if(!(a[d+20>>0]|0)){g[b+104>>2]=0.0;g[b+108>>2]=0.0;g[b+112>>2]=0.0;G=m;K=n;I=q;L=r;B=o;C=s;M=c[b+116>>2]|0;J=c[d+28>>2]|0;H=J+(M*12|0)|0;c[H>>2]=G;M=J+(M*12|0)+4|0;c[M>>2]=K;M=c[b+116>>2]|0;K=c[d+28>>2]|0;M=K+(M*12|0)+8|0;g[M>>2]=B;M=c[b+120>>2]|0;J=K+(M*12|0)|0;c[J>>2]=I;M=K+(M*12|0)+4|0;c[M>>2]=L;M=c[b+120>>2]|0;L=c[d+28>>2]|0;M=L+(M*12|0)+8|0;g[M>>2]=C;i=t;return}else{z=+g[d+8>>2];C=z*+g[b+104>>2];g[b+104>>2]=C;A=z*+g[b+108>>2];g[b+108>>2]=A;z=z*+g[b+112>>2];g[b+112>>2]=z;G=(g[k>>2]=(c[k>>2]=m,+g[k>>2])-e*C,c[k>>2]|0);K=(g[k>>2]=(c[k>>2]=n,+g[k>>2])-e*A,c[k>>2]|0);I=(g[k>>2]=(c[k>>2]=q,+g[k>>2])+f*C,c[k>>2]|0);L=(g[k>>2]=(c[k>>2]=r,+g[k>>2])+f*A,c[k>>2]|0);B=o-h*(z+(A*+g[b+124>>2]-C*+g[b+128>>2]));C=s+j*(z+(A*+g[b+132>>2]-C*+g[b+136>>2]));M=c[b+116>>2]|0;J=c[d+28>>2]|0;H=J+(M*12|0)|0;c[H>>2]=G;M=J+(M*12|0)+4|0;c[M>>2]=K;M=c[b+116>>2]|0;K=c[d+28>>2]|0;M=K+(M*12|0)+8|0;g[M>>2]=B;M=c[b+120>>2]|0;J=K+(M*12|0)|0;c[J>>2]=I;M=K+(M*12|0)+4|0;c[M>>2]=L;M=c[b+120>>2]|0;L=c[d+28>>2]|0;M=L+(M*12|0)+8|0;g[M>>2]=C;i=t;return}}function mW(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0.0,i=0.0,j=0.0,l=0.0,m=0.0,n=0,o=0.0,p=0,q=0,r=0.0,s=0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0;d=c[a+116>>2]|0;n=c[b+28>>2]|0;p=c[n+(d*12|0)>>2]|0;q=c[n+(d*12|0)+4>>2]|0;r=+g[n+(d*12|0)+8>>2];s=c[a+120>>2]|0;e=c[n+(s*12|0)>>2]|0;f=c[n+(s*12|0)+4>>2]|0;h=+g[n+(s*12|0)+8>>2];i=+g[a+156>>2];j=+g[a+160>>2];l=+g[a+164>>2];m=+g[a+168>>2];o=+g[a+204>>2];if(+g[a+68>>2]>0.0){w=+g[a+112>>2];z=o*(h-r+ +g[a+76>>2]+ +g[a+100>>2]*w);g[a+112>>2]=w-z;w=+g[a+136>>2];y=+g[a+132>>2];C=(c[k>>2]=e,+g[k>>2]);o=(c[k>>2]=f,+g[k>>2]);u=(c[k>>2]=p,+g[k>>2]);t=(c[k>>2]=q,+g[k>>2]);A=+g[a+128>>2];B=+g[a+124>>2];v=+g[a+172>>2]*(A*(r-l*-z)+(C-w*(h+m*-z)-u))+ +g[a+184>>2]*(o+y*(h+m*-z)-t-B*(r-l*-z));x=+g[a+176>>2]*(A*(r-l*-z)+(C-w*(h+m*-z)-u))+(o+y*(h+m*-z)-t-B*(r-l*-z))*+g[a+188>>2];g[a+104>>2]=+g[a+104>>2]-v;g[a+108>>2]=+g[a+108>>2]-x;u=u-i*-v;t=t-i*-x;i=C+j*-v;o=o+j*-x;l=r-l*-z-l*(B*-x-A*-v);r=h+m*-z+m*(y*-x-w*-v);s=n+(d*12|0)|0;g[s>>2]=u;g[n+(d*12|0)+4>>2]=t;s=c[a+116>>2]|0;q=c[b+28>>2]|0;s=q+(s*12|0)+8|0;g[s>>2]=l;s=c[a+120>>2]|0;p=q+(s*12|0)|0;g[p>>2]=i;s=q+(s*12|0)+4|0;g[s>>2]=o;s=c[a+120>>2]|0;a=c[b+28>>2]|0;s=a+(s*12|0)+8|0;g[s>>2]=r;return}else{v=+g[a+136>>2];t=+g[a+132>>2];A=(c[k>>2]=e,+g[k>>2]);B=(c[k>>2]=f,+g[k>>2]);x=(c[k>>2]=p,+g[k>>2]);y=(c[k>>2]=q,+g[k>>2]);z=+g[a+128>>2];D=+g[a+124>>2];w=(A-h*v-x+r*z)*+g[a+172>>2]+(B+h*t-y-r*D)*+g[a+184>>2]+(h-r)*+g[a+196>>2];u=(A-h*v-x+r*z)*+g[a+176>>2]+(B+h*t-y-r*D)*+g[a+188>>2]+(h-r)*+g[a+200>>2];C=(A-h*v-x+r*z)*+g[a+180>>2]+(B+h*t-y-r*D)*+g[a+192>>2]+(h-r)*o;g[a+104>>2]=+g[a+104>>2]-w;g[a+108>>2]=+g[a+108>>2]-u;g[a+112>>2]=+g[a+112>>2]-C;x=x-i*-w;y=y-i*-u;A=A+j*-w;B=B+j*-u;z=r-l*(D*-u-z*-w-C);C=h+m*(t*-u-v*-w-C);s=n+(d*12|0)|0;g[s>>2]=x;g[n+(d*12|0)+4>>2]=y;s=c[a+116>>2]|0;q=c[b+28>>2]|0;s=q+(s*12|0)+8|0;g[s>>2]=z;s=c[a+120>>2]|0;p=q+(s*12|0)|0;g[p>>2]=A;s=q+(s*12|0)+4|0;g[s>>2]=B;s=c[a+120>>2]|0;a=c[b+28>>2]|0;s=a+(s*12|0)+8|0;g[s>>2]=C;return}}function nW(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0,j=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0,I=0,J=0;H=i;i=i+96|0;I=c[a+116>>2]|0;J=c[b+24>>2]|0;f=c[J+(I*12|0)>>2]|0;h=c[J+(I*12|0)+4>>2]|0;t=+g[J+(I*12|0)+8>>2];I=c[a+120>>2]|0;d=c[J+(I*12|0)>>2]|0;e=c[J+(I*12|0)+4>>2]|0;u=+g[J+(I*12|0)+8>>2];v=+R(+t);w=+Q(+t);x=+R(+u);y=+Q(+u);z=+g[a+156>>2];A=+g[a+160>>2];B=+g[a+164>>2];C=+g[a+168>>2];D=+g[a+80>>2]-+g[a+140>>2];E=+g[a+84>>2]-+g[a+144>>2];F=+g[a+88>>2]-+g[a+148>>2];G=+g[a+92>>2]-+g[a+152>>2];g[H+48>>2]=z+A+B*((v*D+w*E)*(v*D+w*E))+C*((x*F+y*G)*(x*F+y*G));s=-(B*((v*D+w*E)*(w*D-v*E)))-C*((x*F+y*G)*(y*F-x*G));g[H+48+12>>2]=s;g[H+48+24>>2]=-(B*(v*D+w*E))-C*(x*F+y*G);g[H+48+4>>2]=s;g[H+48+16>>2]=z+A+B*((w*D-v*E)*(w*D-v*E))+C*((y*F-x*G)*(y*F-x*G));g[H+48+28>>2]=B*(w*D-v*E)+C*(y*F-x*G);g[H+48+8>>2]=-(B*(v*D+w*E))-C*(x*F+y*G);g[H+48+20>>2]=B*(w*D-v*E)+C*(y*F-x*G);g[H+48+32>>2]=B+C;if(+g[a+68>>2]>0.0){o=(c[k>>2]=d,+g[k>>2]);q=(c[k>>2]=e,+g[k>>2]);m=(c[k>>2]=f,+g[k>>2]);n=(c[k>>2]=h,+g[k>>2]);p=o+(y*F-x*G)-m-(w*D-v*E);s=q+(x*F+y*G)-n-(v*D+w*E);g[H+40>>2]=p;g[H+40+4>>2]=s;s=+O(+(p*p+s*s));XS(H+32|0,H+48|0,H+40|0);p=-+g[H+32>>2];r=-+g[H+32+4>>2];F=(y*F-x*G)*r-(x*F+y*G)*p;x=(w*D-v*E)*r-(v*D+w*E)*p;J=1;y=m-z*p;z=n-z*r;D=o+A*p;E=q+A*r;G=s;B=B*x;F=C*F;C=t-B;F=u+F;I=c[a+116>>2]|0;h=c[b+24>>2]|0;f=h+(I*12|0)|0;g[f>>2]=y;I=h+(I*12|0)+4|0;g[I>>2]=z;I=c[a+116>>2]|0;h=c[b+24>>2]|0;I=h+(I*12|0)+8|0;g[I>>2]=C;I=c[a+120>>2]|0;f=h+(I*12|0)|0;g[f>>2]=D;I=h+(I*12|0)+4|0;g[I>>2]=E;I=c[a+120>>2]|0;a=c[b+24>>2]|0;I=a+(I*12|0)+8|0;g[I>>2]=F;I=G<=.004999999888241291;J=I&J;i=H;return J|0}s=(c[k>>2]=d,+g[k>>2]);r=(c[k>>2]=e,+g[k>>2]);q=(c[k>>2]=f,+g[k>>2]);m=(c[k>>2]=h,+g[k>>2]);l=s+(y*F-x*G)-q-(w*D-v*E);p=r+(x*F+y*G)-m-(v*D+w*E);g[H+40>>2]=l;g[H+40+4>>2]=p;n=u-t-+g[a+96>>2];o=+O(+(p*p+l*l));g[H+20>>2]=l;g[H+20+4>>2]=p;g[H+20+8>>2]=n;if(B+C>0.0){WS(H+8|0,H+48|0,H+20|0);j=+g[H+8>>2];l=+g[H+8+4>>2];p=-+g[H+8+8>>2]}else{XS(H,H+48|0,H+40|0);j=+g[H>>2];l=+g[H+4>>2];p=0.0}l=-l;j=-j;F=p+((y*F-x*G)*l-(x*F+y*G)*j);x=p+((w*D-v*E)*l-(v*D+w*E)*j);J=(n>0.0?n:-n)<=.03490658849477768;y=q-z*j;z=m-z*l;D=s+A*j;E=r+A*l;G=o;B=B*x;F=C*F;C=t-B;F=u+F;I=c[a+116>>2]|0;h=c[b+24>>2]|0;f=h+(I*12|0)|0;g[f>>2]=y;I=h+(I*12|0)+4|0;g[I>>2]=z;I=c[a+116>>2]|0;h=c[b+24>>2]|0;I=h+(I*12|0)+8|0;g[I>>2]=C;I=c[a+120>>2]|0;f=h+(I*12|0)|0;g[f>>2]=D;I=h+(I*12|0)+4|0;g[I>>2]=E;I=c[a+120>>2]|0;a=c[b+24>>2]|0;I=a+(I*12|0)+8|0;g[I>>2]=F;I=G<=.004999999888241291;J=I&J;i=H;return J|0}function oW(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0.0,h=0.0,i=0.0,j=0.0;c[a+8>>2]=b;c[a+12>>2]=d;i=+g[e>>2]-+g[b+12>>2];j=+g[e+4>>2]-+g[b+16>>2];f=+g[b+24>>2];h=+g[b+20>>2];g[a+20>>2]=i*f+j*h;g[a+24>>2]=f*j-i*h;h=+g[e>>2]-+g[d+12>>2];i=+g[e+4>>2]-+g[d+16>>2];j=+g[d+24>>2];f=+g[d+20>>2];g[a+28>>2]=h*j+i*f;g[a+32>>2]=j*i-h*f;g[a+36>>2]=+g[d+56>>2]-+g[b+56>>2];return}function pW(a,b){a=a|0;b=b|0;var d=0;WT(a,b);c[a>>2]=20208;d=c[b+20+4>>2]|0;c[a+80>>2]=c[b+20>>2];c[a+80+4>>2]=d;d=c[b+28+4>>2]|0;c[a+88>>2]=c[b+28>>2];c[a+88+4>>2]=d;c[a+96>>2]=c[b+36>>2];c[a+68>>2]=c[b+40>>2];c[a+72>>2]=c[b+44>>2];g[a+104>>2]=0.0;g[a+108>>2]=0.0;g[a+112>>2]=0.0;return}function qW(a,b){a=a|0;b=b|0;var d=0.0,e=0.0,f=0.0,h=0.0,i=0.0,j=0;j=c[b+48>>2]|0;i=+g[j+24>>2];h=+g[b+76>>2];f=+g[j+20>>2];e=+g[b+80>>2];d=h*f+i*e+ +g[j+16>>2];g[a>>2]=+g[j+12>>2]+(i*h-f*e);g[a+4>>2]=d;return}function rW(a,b){a=a|0;b=b|0;var d=0.0,e=0.0,f=0.0,h=0.0,i=0.0,j=0;j=c[b+52>>2]|0;i=+g[j+24>>2];h=+g[b+84>>2];f=+g[j+20>>2];e=+g[b+88>>2];d=h*f+i*e+ +g[j+16>>2];g[a>>2]=+g[j+12>>2]+(i*h-f*e);g[a+4>>2]=d;return}function sW(a,b,c){a=a|0;b=b|0;c=+c;var d=0.0,e=0.0,f=0.0;f=+g[b+108>>2];e=+g[b+116>>2];d=(f*+g[b+184>>2]+e*+g[b+176>>2])*c;g[a>>2]=(f*+g[b+180>>2]+e*+g[b+172>>2])*c;g[a+4>>2]=d;return}function tW(a,b){a=a|0;b=+b;return +(+g[a+112>>2]*b)}function uW(a){a=a|0;var b=0,e=0.0,f=0,j=0;b=i;i=i+128|0;j=c[(c[a+48>>2]|0)+8>>2]|0;f=c[(c[a+52>>2]|0)+8>>2]|0;aT(361180,b);c[b+8>>2]=j;aT(444558,b+8|0);c[b+16>>2]=f;aT(444584,b+16|0);c[b+24>>2]=d[a+61>>0];aT(444610,b+24|0);e=+g[a+80>>2];h[b+32>>3]=+g[a+76>>2];h[b+32+8>>3]=e;aT(444315,b+32|0);e=+g[a+88>>2];h[b+48>>3]=+g[a+84>>2];h[b+48+8>>3]=e;aT(444357,b+48|0);e=+g[a+96>>2];h[b+64>>3]=+g[a+92>>2];h[b+64+8>>3]=e;aT(361203,b+64|0);c[b+80>>2]=d[a+128>>0];aT(361243,b+80|0);h[b+88>>3]=+g[a+124>>2];aT(361273,b+88|0);h[b+96>>3]=+g[a+120>>2];aT(361301,b+96|0);h[b+104>>3]=+g[a+68>>2];aT(444212,b+104|0);h[b+112>>3]=+g[a+72>>2];aT(444241,b+112|0);c[b+120>>2]=c[a+56>>2];aT(444722,b+120|0);i=b;return}function vW(a){a=a|0;oAb(a);return}function wW(b,d){b=b|0;d=d|0;var e=0.0,f=0.0,h=0.0,i=0.0,j=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0,A=0,B=0.0,C=0,D=0,E=0.0,F=0.0,G=0.0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;I=c[b+48>>2]|0;H=c[I+8>>2]|0;c[b+132>>2]=H;A=c[b+52>>2]|0;J=c[A+8>>2]|0;c[b+136>>2]=J;N=c[I+28>>2]|0;M=c[I+28+4>>2]|0;c[b+140>>2]=N;c[b+140+4>>2]=M;L=c[A+28>>2]|0;K=c[A+28+4>>2]|0;c[b+148>>2]=L;c[b+148+4>>2]=K;z=c[I+120>>2]|0;c[b+156>>2]=z;O=c[A+120>>2]|0;c[b+160>>2]=O;I=c[I+128>>2]|0;c[b+164>>2]=I;v=+g[A+128>>2];g[b+168>>2]=v;w=(c[k>>2]=z,+g[k>>2]);x=(c[k>>2]=O,+g[k>>2]);y=(c[k>>2]=I,+g[k>>2]);I=c[d+24>>2]|0;G=+g[I+(H*12|0)+8>>2];O=c[d+28>>2]|0;z=c[O+(H*12|0)>>2]|0;A=c[O+(H*12|0)+4>>2]|0;B=+g[O+(H*12|0)+8>>2];j=+g[I+(J*12|0)+8>>2];C=c[O+(J*12|0)>>2]|0;D=c[O+(J*12|0)+4>>2]|0;E=+g[O+(J*12|0)+8>>2];F=+R(+G);G=+Q(+G);i=+R(+j);j=+Q(+j);e=+g[b+76>>2]-(c[k>>2]=N,+g[k>>2]);f=+g[b+80>>2]-(c[k>>2]=M,+g[k>>2]);l=+g[b+84>>2]-(c[k>>2]=L,+g[k>>2]);h=+g[b+88>>2]-(c[k>>2]=K,+g[k>>2]);m=+g[I+(J*12|0)>>2]+(j*l-i*h)-+g[I+(H*12|0)>>2]-(G*e-F*f);n=+g[I+(J*12|0)+4>>2]+(i*l+j*h)-+g[I+(H*12|0)+4>>2]-(F*e+G*f);o=+g[b+100>>2];p=+g[b+104>>2];g[b+180>>2]=G*o-F*p;g[b+184>>2]=F*o+G*p;q=(F*o+G*p)*(G*e-F*f+m)-(G*o-F*p)*(F*e+G*f+n);g[b+196>>2]=q;r=(j*l-i*h)*(F*o+G*p)-(i*l+j*h)*(G*o-F*p);g[b+200>>2]=r;g[b+204>>2]=r*(v*r)+(w+x+q*(y*q))>0.0?1.0/(r*(v*r)+(w+x+q*(y*q))):r*(v*r)+(w+x+q*(y*q));g[b+212>>2]=0.0;g[b+216>>2]=0.0;g[b+220>>2]=0.0;s=+g[b+68>>2];if(s>0.0){t=+g[b+92>>2];u=+g[b+96>>2];g[b+172>>2]=G*t-F*u;g[b+176>>2]=F*t+G*u;f=(G*e-F*f+m)*(F*t+G*u)-(F*e+G*f+n)*(G*t-F*u);g[b+188>>2]=f;e=(j*l-i*h)*(F*t+G*u)-(i*l+j*h)*(G*t-F*u);g[b+192>>2]=e;if(e*(v*e)+(w+x+f*(y*f))>0.0){j=1.0/(e*(v*e)+(w+x+f*(y*f)));i=+g[d>>2];l=i*(s*6.2831854820251465*(j*2.0*+g[b+72>>2])+i*(s*6.2831854820251465*(j*(s*6.2831854820251465))));l=l>0.0?1.0/l:l;g[b+220>>2]=l;g[b+216>>2]=(m*(G*t-F*u)+n*(F*t+G*u))*i*(s*6.2831854820251465*(j*(s*6.2831854820251465)))*l;x=e*(v*e)+(w+x+f*(y*f))+l;g[b+212>>2]=x>0.0?1.0/x:x}}else g[b+116>>2]=0.0;if(!(a[b+128>>0]|0)){g[b+208>>2]=0.0;g[b+112>>2]=0.0}else{g[b+208>>2]=v+y;if(v+y>0.0)g[b+208>>2]=1.0/(v+y)}if(!(a[d+20>>0]|0)){g[b+108>>2]=0.0;g[b+116>>2]=0.0;g[b+112>>2]=0.0;I=z;M=A;K=C;N=D;F=B;G=E;O=c[b+132>>2]|0;L=c[d+28>>2]|0;J=L+(O*12|0)|0;c[J>>2]=I;O=L+(O*12|0)+4|0;c[O>>2]=M;O=c[b+132>>2]|0;M=c[d+28>>2]|0;O=M+(O*12|0)+8|0;g[O>>2]=F;O=c[b+136>>2]|0;L=M+(O*12|0)|0;c[L>>2]=K;O=M+(O*12|0)+4|0;c[O>>2]=N;O=c[b+136>>2]|0;N=c[d+28>>2]|0;O=N+(O*12|0)+8|0;g[O>>2]=G;return}else{w=+g[d+8>>2];x=w*+g[b+108>>2];g[b+108>>2]=x;y=w*+g[b+116>>2];g[b+116>>2]=y;w=w*+g[b+112>>2];g[b+112>>2]=w;v=x*(G*o-F*p)+y*+g[b+172>>2];G=x*(F*o+G*p)+y*+g[b+176>>2];F=+g[b+156>>2];I=(g[k>>2]=(c[k>>2]=z,+g[k>>2])-v*F,c[k>>2]|0);M=(g[k>>2]=(c[k>>2]=A,+g[k>>2])-G*F,c[k>>2]|0);F=+g[b+160>>2];K=(g[k>>2]=(c[k>>2]=C,+g[k>>2])+v*F,c[k>>2]|0);N=(g[k>>2]=(c[k>>2]=D,+g[k>>2])+G*F,c[k>>2]|0);F=B-(w+(x*q+y*+g[b+188>>2]))*+g[b+164>>2];G=E+(w+(x*r+y*+g[b+192>>2]))*+g[b+168>>2];O=c[b+132>>2]|0;L=c[d+28>>2]|0;J=L+(O*12|0)|0;c[J>>2]=I;O=L+(O*12|0)+4|0;c[O>>2]=M;O=c[b+132>>2]|0;M=c[d+28>>2]|0;O=M+(O*12|0)+8|0;g[O>>2]=F;O=c[b+136>>2]|0;L=M+(O*12|0)|0;c[L>>2]=K;O=M+(O*12|0)+4|0;c[O>>2]=N;O=c[b+136>>2]|0;N=c[d+28>>2]|0;O=N+(O*12|0)+8|0;g[O>>2]=G;return}}function xW(a,b){a=a|0;b=b|0;var d=0.0,e=0.0,f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0,n=0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0;z=+g[a+156>>2];p=+g[a+160>>2];w=+g[a+164>>2];f=+g[a+168>>2];n=c[a+132>>2]|0;m=c[b+28>>2]|0;B=+g[m+(n*12|0)>>2];A=+g[m+(n*12|0)+4>>2];y=+g[m+(n*12|0)+8>>2];n=c[a+136>>2]|0;u=+g[m+(n*12|0)>>2];r=+g[m+(n*12|0)+4>>2];l=+g[m+(n*12|0)+8>>2];t=+g[a+172>>2];q=+g[a+176>>2];k=+g[a+192>>2];x=+g[a+188>>2];h=+g[a+116>>2];j=+g[a+212>>2]*((u-B)*t+(r-A)*q+l*k-y*x+ +g[a+216>>2]+ +g[a+220>>2]*h);g[a+116>>2]=h-j;h=+g[a+112>>2];s=+g[b>>2]*+g[a+120>>2];i=h-+g[a+208>>2]*(l+f*(k*-j)-(y-w*(x*-j))-+g[a+124>>2]);i=i>2]=i;s=+g[a+180>>2];o=+g[a+184>>2];e=+g[a+200>>2];v=+g[a+196>>2];d=+g[a+204>>2]*((u+p*(t*-j)-(B-z*(t*-j)))*s+(r+p*(q*-j)-(A-z*(q*-j)))*o+e*(l+f*(k*-j)+f*(i-h))-v*(y-w*(x*-j)-w*(i-h)));g[a+108>>2]=+g[a+108>>2]-d;n=c[a+132>>2]|0;m=c[b+28>>2]|0;g[m+(n*12|0)>>2]=B-z*(t*-j)-z*(s*-d);g[m+(n*12|0)+4>>2]=A-z*(q*-j)-z*(o*-d);n=c[b+28>>2]|0;g[n+((c[a+132>>2]|0)*12|0)+8>>2]=y-w*(x*-j)-w*(i-h)-w*(v*-d);m=c[a+136>>2]|0;g[n+(m*12|0)>>2]=u+p*(t*-j)+p*(s*-d);g[n+(m*12|0)+4>>2]=r+p*(q*-j)+p*(o*-d);g[(c[b+28>>2]|0)+((c[a+136>>2]|0)*12|0)+8>>2]=l+f*(k*-j)+f*(i-h)+f*(e*-d);return}function yW(a,b){a=a|0;b=b|0;var d=0.0,e=0.0,f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0,r=0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0;r=c[a+132>>2]|0;q=c[b+24>>2]|0;z=+g[q+(r*12|0)>>2];y=+g[q+(r*12|0)+4>>2];A=+g[q+(r*12|0)+8>>2];r=c[a+136>>2]|0;u=+g[q+(r*12|0)>>2];t=+g[q+(r*12|0)+4>>2];p=+g[q+(r*12|0)+8>>2];i=+R(+A);k=+Q(+A);o=+R(+p);m=+Q(+p);x=+g[a+76>>2]-+g[a+140>>2];w=+g[a+80>>2]-+g[a+144>>2];n=+g[a+84>>2]-+g[a+148>>2];l=+g[a+88>>2]-+g[a+152>>2];j=+g[a+100>>2];h=+g[a+104>>2];d=(k*j-i*h)*(u-z+(m*n-o*l)-(k*x-i*w))+(i*j+k*h)*(t-y+(o*n+m*l)-(i*x+k*w));B=+g[a+156>>2];s=+g[a+160>>2];v=+g[a+164>>2];C=+g[a+196>>2];e=+g[a+168>>2];f=+g[a+200>>2];f=B+s+C*(v*C)+f*(e*f)!=0.0?-d/(B+s+C*(v*C)+f*(e*f)):0.0;r=c[a+132>>2]|0;g[q+(r*12|0)>>2]=z-(k*j-i*h)*f*B;g[q+(r*12|0)+4>>2]=y-(i*j+k*h)*f*B;r=c[b+24>>2]|0;g[r+((c[a+132>>2]|0)*12|0)+8>>2]=A-((i*j+k*h)*(k*x-i*w+(u-z+(m*n-o*l)-(k*x-i*w)))-(k*j-i*h)*(i*x+k*w+(t-y+(o*n+m*l)-(i*x+k*w))))*f*v;q=c[a+136>>2]|0;g[r+(q*12|0)>>2]=u+(k*j-i*h)*f*s;g[r+(q*12|0)+4>>2]=t+(i*j+k*h)*f*s;g[(c[b+24>>2]|0)+((c[a+136>>2]|0)*12|0)+8>>2]=p+((m*n-o*l)*(i*j+k*h)-(o*n+m*l)*(k*j-i*h))*f*e;return (d>0.0?d:-d)<=.004999999888241291|0}function zW(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var h=0.0,i=0.0,j=0.0,k=0.0;c[a+8>>2]=b;c[a+12>>2]=d;h=+g[e>>2]-+g[b+12>>2];j=+g[e+4>>2]-+g[b+16>>2];k=+g[b+24>>2];i=+g[b+20>>2];g[a+20>>2]=h*k+j*i;g[a+24>>2]=k*j-h*i;i=+g[e>>2]-+g[d+12>>2];h=+g[e+4>>2]-+g[d+16>>2];j=+g[d+24>>2];k=+g[d+20>>2];g[a+28>>2]=i*j+h*k;g[a+32>>2]=j*h-i*k;k=+g[b+24>>2];i=+g[f>>2];h=+g[b+20>>2];j=+g[f+4>>2];g[a+36>>2]=k*i+h*j;g[a+40>>2]=k*j-i*h;return}function AW(b,d){b=b|0;d=d|0;var e=0,f=0;WT(b,d);c[b>>2]=20260;e=c[d+20+4>>2]|0;c[b+76>>2]=c[d+20>>2];c[b+76+4>>2]=e;e=c[d+28+4>>2]|0;c[b+84>>2]=c[d+28>>2];c[b+84+4>>2]=e;e=c[d+36>>2]|0;f=c[d+36+4>>2]|0;c[b+92>>2]=e;c[b+92+4>>2]=f;g[b+100>>2]=-(c[k>>2]=f,+g[k>>2]);c[b+104>>2]=e;g[b+204>>2]=0.0;g[b+108>>2]=0.0;g[b+208>>2]=0.0;g[b+112>>2]=0.0;g[b+212>>2]=0.0;g[b+116>>2]=0.0;c[b+120>>2]=c[d+48>>2];c[b+124>>2]=c[d+52>>2];a[b+128>>0]=a[d+44>>0]|0;c[b+68>>2]=c[d+56>>2];c[b+72>>2]=c[d+60>>2];g[b+216>>2]=0.0;g[b+220>>2]=0.0;c[b+172>>2]=0;c[b+172+4>>2]=0;c[b+172+8>>2]=0;c[b+172+12>>2]=0;return}function BW(a){a=a|0;var b=0.0,d=0.0,e=0.0,f=0.0,h=0,i=0.0,j=0.0,k=0,l=0.0,m=0.0,n=0.0,o=0.0;h=c[a+48>>2]|0;k=c[a+52>>2]|0;d=+g[h+24>>2];j=+g[a+76>>2];f=+g[h+20>>2];i=+g[a+80>>2];m=+g[k+24>>2];o=+g[a+84>>2];n=+g[k+20>>2];l=+g[a+88>>2];e=+g[a+92>>2];b=+g[a+96>>2];return +((+g[k+12>>2]+(m*o-n*l)-(+g[h+12>>2]+(d*j-f*i)))*(d*e-f*b)+(o*n+m*l+ +g[k+16>>2]-(j*f+d*i+ +g[h+16>>2]))*(f*e+d*b))}function CW(a){a=a|0;return +(+g[(c[a+52>>2]|0)+72>>2]-+g[(c[a+48>>2]|0)+72>>2])}function DW(b){b=b|0;return (a[b+128>>0]|0)!=0|0}function EW(d,f){d=d|0;f=f|0;var h=0,i=0;h=c[d+48>>2]|0;i=e[h+4>>1]|0;if(!(i&2)){b[h+4>>1]=i|2;g[h+144>>2]=0.0}h=c[d+52>>2]|0;i=e[h+4>>1]|0;if(i&2|0){d=d+128|0;f=f&1;a[d>>0]=f;return}b[h+4>>1]=i|2;g[h+144>>2]=0.0;d=d+128|0;f=f&1;a[d>>0]=f;return}function FW(a,d){a=a|0;d=+d;var f=0,h=0;f=c[a+48>>2]|0;h=e[f+4>>1]|0;if(!(h&2)){b[f+4>>1]=h|2;g[f+144>>2]=0.0}f=c[a+52>>2]|0;h=e[f+4>>1]|0;if(h&2|0){a=a+124|0;g[a>>2]=d;return}b[f+4>>1]=h|2;g[f+144>>2]=0.0;a=a+124|0;g[a>>2]=d;return}function GW(a,d){a=a|0;d=+d;var f=0,h=0;f=c[a+48>>2]|0;h=e[f+4>>1]|0;if(!(h&2)){b[f+4>>1]=h|2;g[f+144>>2]=0.0}f=c[a+52>>2]|0;h=e[f+4>>1]|0;if(h&2|0){a=a+120|0;g[a>>2]=d;return}b[f+4>>1]=h|2;g[f+144>>2]=0.0;a=a+120|0;g[a>>2]=d;return}function HW(a,b){a=a|0;b=+b;return +(+g[a+112>>2]*b)}function IW(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+32|0;c[e+16>>2]=a;c[e+12>>2]=b;c[e+8>>2]=d;if((c[e+16>>2]|0)==0|(c[e+12>>2]|0)==0){c[e+20>>2]=-2;d=c[e+20>>2]|0;i=e;return d|0}c[e+4>>2]=cX(144)|0;if(!(c[e+4>>2]|0)){c[e+20>>2]=-3;d=c[e+20>>2]|0;i=e;return d|0}hBb(c[e+4>>2]|0,0,144)|0;c[(c[e+4>>2]|0)+80>>2]=0;c[(c[e+4>>2]|0)+132>>2]=c[e+12>>2];c[(c[e+4>>2]|0)+136>>2]=c[e+8>>2];c[e>>2]=OW(c[e+4>>2]|0)|0;b=c[e+4>>2]|0;if((c[e>>2]|0)<0){YW(b)|0;c[e+20>>2]=c[e>>2];d=c[e+20>>2]|0;i=e;return d|0}else{c[c[e+16>>2]>>2]=b;c[e+20>>2]=0;d=c[e+20>>2]|0;i=e;return d|0}return 0}function JW(a){a=a|0;var b=0;b=i;i=i+16|0;c[b+4>>2]=a;do if(!(c[b+4>>2]|0))c[b+8>>2]=-2;else{c[b>>2]=YW(c[b+4>>2]|0)|0;if((c[b>>2]|0)<0){c[b+8>>2]=c[b>>2];break}else{c[b+8>>2]=0;break}}while(0);i=b;return c[b+8>>2]|0}function KW(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+32|0;c[e+20>>2]=a;c[e+8>>2]=b;c[e+8+4>>2]=d;if(!(c[e+20>>2]|0)){c[e+24>>2]=-2;a=c[e+24>>2]|0;i=e;return a|0}b=c[e+8+4>>2]|0;a=(c[e+20>>2]|0)+8|0;d=c[a+4>>2]|0;if(b>>>0>>0|((b|0)==(d|0)?(c[e+8>>2]|0)>>>0<=(c[a>>2]|0)>>>0:0)){b=c[e+8>>2]|0;d=c[e+8+4>>2]|0}else{d=(c[e+20>>2]|0)+8|0;b=c[d>>2]|0;d=c[d+4>>2]|0}c[e+8>>2]=b;c[e+8+4>>2]=d;b=wBb(c[e+8>>2]|0,c[e+8+4>>2]|0,c[(c[e+20>>2]|0)+32+28>>2]|0,0)|0;c[e>>2]=b;c[e+4>>2]=C;b=c[(c[(c[e+20>>2]|0)+132>>2]|0)+4>>2]|0;d=c[(c[e+20>>2]|0)+136>>2]|0;a=(c[e+20>>2]|0)+64+8|0;a=jBb(c[a>>2]|0,c[a+4>>2]|0,c[e>>2]|0,c[e+4>>2]|0)|0;c[e+16>>2]=Gi[b&255](d,a,C)|0;if((c[e+16>>2]|0)<0){c[e+24>>2]=c[e+16>>2];a=c[e+24>>2]|0;i=e;return a|0}d=c[e+8+4>>2]|0;a=(c[e+20>>2]|0)+24|0;c[a>>2]=c[e+8>>2];c[a+4>>2]=d;c[(c[e+20>>2]|0)+112+12>>2]=0;c[e+16>>2]=XW(c[e+20>>2]|0)|0;if((c[e+16>>2]|0)<0){c[e+24>>2]=c[e+16>>2];a=c[e+24>>2]|0;i=e;return a|0}else{c[e+24>>2]=0;a=c[e+24>>2]|0;i=e;return a|0}return 0}function LW(a,d){a=a|0;d=d|0;var e=0,f=0;e=i;i=i+16|0;c[e+4>>2]=a;c[e>>2]=d;if((c[e+4>>2]|0)==0|(c[e>>2]|0)==0){c[e+8>>2]=-2;d=c[e+8>>2]|0;i=e;return d|0}else{b[c[e>>2]>>1]=b[(c[e+4>>2]|0)+16>>1]|0;b[(c[e>>2]|0)+2>>1]=b[(c[e+4>>2]|0)+32+18>>1]|0;c[(c[e>>2]|0)+4>>2]=c[(c[e+4>>2]|0)+32+20>>2];b[(c[e>>2]|0)+8>>1]=b[(c[e+4>>2]|0)+32+24>>1]|0;f=(c[e+4>>2]|0)+8|0;a=c[f+4>>2]|0;d=(c[e>>2]|0)+16|0;c[d>>2]=c[f>>2];c[d+4>>2]=a;c[e+8>>2]=0;d=c[e+8>>2]|0;i=e;return d|0}return 0}function MW(a,d){a=a|0;d=d|0;var f=0;f=i;i=i+16|0;c[f+4>>2]=a;b[f+12>>1]=d;do if(!(c[f+4>>2]|0))c[f+8>>2]=-2;else{if((e[f+12>>1]|0|0)>=6){c[f+8>>2]=-200;break}a=(c[f+4>>2]|0)+24|0;c[f>>2]=KW(c[f+4>>2]|0,c[a>>2]|0,c[a+4>>2]|0)|0;if((c[f>>2]|0)<0){c[f+8>>2]=c[f>>2];break}c[f>>2]=ZW(c[f+4>>2]|0,b[f+12>>1]|0)|0;if((c[f>>2]|0)<0){c[f+8>>2]=c[f>>2];break}else{c[f+8>>2]=0;break}}while(0);i=f;return c[f+8>>2]|0}function NW(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0;h=i;i=i+48|0;c[h+28>>2]=b;c[h+24>>2]=e;c[h+20>>2]=f;if((c[h+28>>2]|0)==0|(c[h+24>>2]|0)==0|(c[h+20>>2]|0)==0){c[h+32>>2]=-2;g=c[h+32>>2]|0;i=h;return g|0}if(!(c[c[h+20>>2]>>2]|0)){c[h+32>>2]=0;g=c[h+32>>2]|0;i=h;return g|0}a[h+36>>0]=c[(c[h+28>>2]|0)+112+4>>2];c[h+16>>2]=c[(c[h+28>>2]|0)+112+12>>2];a[h+39>>0]=((c[h+16>>2]|0)>>>0)%((d[h+36>>0]|0)>>>0)|0;if(!(d[h+39>>0]|0))b=0;else b=(d[h+36>>0]|0)-(d[h+39>>0]|0)|0;a[h+38>>0]=b;c[h+8>>2]=_W(c[c[h+20>>2]>>2]|0,a[h+36>>0]|0,h+38|0,h+37|0)|0;c[h+12>>2]=c[h+8>>2];c[h>>2]=bX(c[h+28>>2]|0,h+4|0,h+12|0)|0;if((c[h>>2]|0)<0){c[h+32>>2]=c[h>>2];g=c[h+32>>2]|0;i=h;return g|0}if(!(c[h+12>>2]|0))c[c[h+20>>2]>>2]=0;else{if((c[h+12>>2]|0)==1)if(d[h+38>>0]|0){c[h+8>>2]=0;a[h+37>>0]=0}else g=14;else g=14;if((g|0)==14){if((c[h+12>>2]|0)>>>0<(c[h+8>>2]|0)>>>0)a[h+37>>0]=0;c[h+8>>2]=(c[h+12>>2]|0)-(((a[h+38>>0]|0)!=0^1^1)&1)-(((a[h+37>>0]|0)!=0^1^1)&1)}Ii[c[(c[h+28>>2]|0)+112+16>>2]&63](c[h+24>>2]|0,c[h+4>>2]|0,c[h+8>>2]|0,a[h+39>>0]|0,a[h+38>>0]|0,a[h+37>>0]|0);b=_(c[h+8>>2]|0,d[h+36>>0]|0)|0;c[c[h+20>>2]>>2]=b+(d[h+38>>0]|0)+(d[h+37>>0]|0);c[h+16>>2]=(c[h+16>>2]|0)+(c[c[h+20>>2]>>2]|0);b=c[h+16>>2]|0;e=(c[h+28>>2]|0)+112|0;if((c[h+16>>2]|0)>>>0>=(c[(c[h+28>>2]|0)+112+8>>2]|0)>>>0){g=(c[h+28>>2]|0)+24|0;f=jBb(c[g>>2]|0,c[g+4>>2]|0,(b>>>0)/((c[e+8>>2]|0)>>>0)|0|0,0)|0;c[g>>2]=f;c[g+4>>2]=C;c[(c[h+28>>2]|0)+112+12>>2]=((c[h+16>>2]|0)>>>0)%((c[(c[h+28>>2]|0)+112+8>>2]|0)>>>0)|0}else c[e+12>>2]=b;g=c[h+8>>2]|0;c[h>>2]=aX(c[h+28>>2]|0,((d[h+39>>0]|0)+(d[h+38>>0]|0)|0)==(d[h+36>>0]|0)?g+1|0:g)|0;if((c[h>>2]|0)<0){c[h+32>>2]=c[h>>2];g=c[h+32>>2]|0;i=h;return g|0}}c[h+32>>2]=0;g=c[h+32>>2]|0;i=h;return g|0}function OW(a){a=a|0;var d=0;d=i;i=i+16|0;c[d+4>>2]=a;do if(!(c[d+4>>2]|0))c[d+8>>2]=-2;else{c[d>>2]=PW(c[d+4>>2]|0)|0;if((c[d>>2]|0)<0){c[d+8>>2]=c[d>>2];break}c[d>>2]=WW(c[d+4>>2]|0)|0;if((c[d>>2]|0)<0){c[d+8>>2]=c[d>>2];break}c[d>>2]=MW(c[d+4>>2]|0,b[(c[d+4>>2]|0)+16>>1]|0)|0;if((c[d>>2]|0)<0){c[d+8>>2]=c[d>>2];break}else{c[d+8>>2]=0;break}}while(0);i=d;return c[d+8>>2]|0}function PW(a){a=a|0;var d=0,f=0;d=i;i=i+128|0;c[d+28>>2]=a;c[d+24>>2]=80;c[d+8>>2]=Gi[c[c[(c[d+28>>2]|0)+132>>2]>>2]&255](c[(c[d+28>>2]|0)+136>>2]|0,d+40|0,d+24|0)|0;if((c[d+8>>2]|0)<0){c[d+32>>2]=c[d+8>>2];a=c[d+32>>2]|0;i=d;return a|0}if((c[d+24>>2]|0)>>>0<36){c[d+32>>2]=-100;a=c[d+32>>2]|0;i=d;return a|0}QW(d+16|0,d+40|0);a=c[d+16>>2]|0;if((a|0)!=(SW(361333)|0)){c[d+32>>2]=-100;a=c[d+32>>2]|0;i=d;return a|0}a=c[d+28>>2]|0;c[a>>2]=c[d+16+4>>2];c[a+4>>2]=0;QW(d+16|0,d+40+8|0);a=c[d+16>>2]|0;if((a|0)!=(SW(361338)|0)){c[d+32>>2]=-101;a=c[d+32>>2]|0;i=d;return a|0}QW(d+16|0,d+40+12|0);c[d>>2]=12;c[d+4>>2]=0;a=c[d+16>>2]|0;if((a|0)!=(SW(361343)|0)){c[d+16>>2]=0;f=c[d+28>>2]|0;a=SW(361343)|0;c[d+8>>2]=TW(f,d+16|0,d,a,SW(361348)|0)|0;if((c[d+8>>2]|0)==-108){c[d+32>>2]=-106;f=c[d+32>>2]|0;i=d;return f|0}if((c[d+8>>2]|0)<0){c[d+32>>2]=c[d+8>>2];f=c[d+32>>2]|0;i=d;return f|0}c[d+24>>2]=60;c[d+8>>2]=Gi[c[c[(c[d+28>>2]|0)+132>>2]>>2]&255](c[(c[d+28>>2]|0)+136>>2]|0,d+40+20|0,d+24|0)|0;if((c[d+8>>2]|0)<0){c[d+32>>2]=c[d+8>>2];f=c[d+32>>2]|0;i=d;return f|0}if((c[d+24>>2]|0)>>>0<16){c[d+32>>2]=-102;f=c[d+32>>2]|0;i=d;return f|0}}a=(c[d+28>>2]|0)+32|0;c[a>>2]=c[d+16+4>>2];c[a+4>>2]=0;a=jBb(c[d>>2]|0,c[d+4>>2]|0,8,0)|0;f=(c[d+28>>2]|0)+32+8|0;c[f>>2]=a;c[f+4>>2]=C;f=UW(d+40+20|0)|0;b[(c[d+28>>2]|0)+32+16>>1]=f;f=UW(d+40+22|0)|0;b[(c[d+28>>2]|0)+32+18>>1]=f;f=RW(d+40+24|0)|0;c[(c[d+28>>2]|0)+32+20>>2]=f;f=UW(d+40+34|0)|0;b[(c[d+28>>2]|0)+32+24>>1]=f;b[(c[d+28>>2]|0)+32+26>>1]=(e[(c[d+28>>2]|0)+32+24>>1]|0|0)/8|0;f=_(e[(c[d+28>>2]|0)+32+18>>1]|0,e[(c[d+28>>2]|0)+32+26>>1]|0)|0;c[(c[d+28>>2]|0)+32+28>>2]=f;if(!(e[(c[d+28>>2]|0)+32+18>>1]|0)){c[d+32>>2]=-103;f=c[d+32>>2]|0;i=d;return f|0}if(!(c[(c[d+28>>2]|0)+32+20>>2]|0)){c[d+32>>2]=-104;f=c[d+32>>2]|0;i=d;return f|0}if(!(e[(c[d+28>>2]|0)+32+24>>1]|0)){c[d+32>>2]=-105;f=c[d+32>>2]|0;i=d;return f|0}f=(c[d+28>>2]|0)+32|0;a=c[f+4>>2]|0;if(a>>>0>0|(a|0)==0&(c[f>>2]|0)>>>0>16)if(((UW(d+40+36|0)|0)&65535|0)==22)if((e[(c[d+28>>2]|0)+32+16>>1]|0|0)==65534){f=UW(d+40+44|0)|0;b[(c[d+28>>2]|0)+32+16>>1]=f}b[(c[d+28>>2]|0)+16>>1]=b[(c[d+28>>2]|0)+32+16>>1]|0;c[d+8>>2]=VW(b[(c[d+28>>2]|0)+32+24>>1]|0,(c[d+28>>2]|0)+16|0)|0;if((c[d+8>>2]|0)<0){c[d+32>>2]=c[d+8>>2];f=c[d+32>>2]|0;i=d;return f|0}QW(d+16|0,d+40+20+(c[(c[d+28>>2]|0)+32>>2]|0)|0);a=(c[d+28>>2]|0)+32+8|0;f=(c[d+28>>2]|0)+32|0;f=jBb(c[a>>2]|0,c[a+4>>2]|0,c[f>>2]|0,c[f+4>>2]|0)|0;c[d>>2]=f;c[d+4>>2]=C;f=c[d+28>>2]|0;c[d+8>>2]=TW(f,d+16|0,d,SW(361348)|0,0)|0;if((c[d+8>>2]|0)==-108){c[d+32>>2]=-107;f=c[d+32>>2]|0;i=d;return f|0}if((c[d+8>>2]|0)<0){c[d+32>>2]=c[d+8>>2];f=c[d+32>>2]|0;i=d;return f|0}else{f=(c[d+28>>2]|0)+64|0;c[f>>2]=c[d+16+4>>2];c[f+4>>2]=0;f=jBb(c[d>>2]|0,c[d+4>>2]|0,8,0)|0;a=(c[d+28>>2]|0)+64+8|0;c[a>>2]=f;c[a+4>>2]=C;a=(c[d+28>>2]|0)+64|0;a=xBb(c[a>>2]|0,c[a+4>>2]|0,e[(c[d+28>>2]|0)+32+18>>1]|0|0,0)|0;a=xBb(a|0,C|0,e[(c[d+28>>2]|0)+32+26>>1]|0|0,0)|0;f=(c[d+28>>2]|0)+8|0;c[f>>2]=a;c[f+4>>2]=C;f=(c[d+28>>2]|0)+24|0;c[f>>2]=0;c[f+4>>2]=0;c[d+32>>2]=0;f=c[d+32>>2]|0;i=d;return f|0}return 0}function QW(b,d){b=b|0;d=d|0;var e=0;e=i;i=i+16|0;c[e+8>>2]=b;c[e+4>>2]=d;c[e>>2]=c[e+8>>2];a[c[e>>2]>>0]=a[c[e+4>>2]>>0]|0;a[(c[e>>2]|0)+1>>0]=a[(c[e+4>>2]|0)+1>>0]|0;a[(c[e>>2]|0)+2>>0]=a[(c[e+4>>2]|0)+2>>0]|0;a[(c[e>>2]|0)+3>>0]=a[(c[e+4>>2]|0)+3>>0]|0;d=RW((c[e+4>>2]|0)+4|0)|0;c[(c[e+8>>2]|0)+4>>2]=d;i=e;return}function RW(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;i=b;return (d[c[b>>2]>>0]|0)+((d[(c[b>>2]|0)+1>>0]|0)<<8)+((d[(c[b>>2]|0)+2>>0]|0)<<16)+((d[(c[b>>2]|0)+3>>0]|0)<<24)|0}function SW(b){b=b|0;var d=0;d=i;i=i+16|0;c[d+12>>2]=b;c[d+8>>2]=c[d+12>>2];c[d>>2]=d+4;a[c[d>>2]>>0]=a[c[d+8>>2]>>0]|0;a[(c[d>>2]|0)+1>>0]=a[(c[d+8>>2]|0)+1>>0]|0;a[(c[d>>2]|0)+2>>0]=a[(c[d+8>>2]|0)+2>>0]|0;a[(c[d>>2]|0)+3>>0]=a[(c[d+8>>2]|0)+3>>0]|0;i=d;return c[d+4>>2]|0}function TW(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=i;i=i+48|0;c[g+32>>2]=a;c[g+28>>2]=b;c[g+24>>2]=d;c[g+20>>2]=e;c[g+16>>2]=f;c[g+8>>2]=0;if(c[c[g+28>>2]>>2]|0)if((c[c[g+28>>2]>>2]|0)==(c[g+20>>2]|0)){c[g+36>>2]=0;f=c[g+36>>2]|0;i=g;return f|0}d=c[g+24>>2]|0;f=c[d+4>>2]|0;c[g>>2]=c[d>>2];c[g+4>>2]=f;a:do if((c[g+8>>2]|0)>=0){while(1){f=jBb(c[g>>2]|0,c[g+4>>2]|0,8+(c[(c[g+28>>2]|0)+4>>2]|0)|0,0)|0;c[g>>2]=f;c[g+4>>2]=C;if((c[g>>2]&1|0)!=0|0!=0){f=jBb(c[g>>2]|0,c[g+4>>2]|0,1,0)|0;c[g>>2]=f;c[g+4>>2]=C}c[g+8>>2]=Gi[c[(c[(c[g+32>>2]|0)+132>>2]|0)+4>>2]&255](c[(c[g+32>>2]|0)+136>>2]|0,c[g>>2]|0,c[g+4>>2]|0)|0;if((c[g+8>>2]|0)<0){b=8;break}c[g+12>>2]=8;c[g+8>>2]=Gi[c[c[(c[g+32>>2]|0)+132>>2]>>2]&255](c[(c[g+32>>2]|0)+136>>2]|0,g+40|0,g+12|0)|0;if((c[g+8>>2]|0)<0){b=10;break}QW(c[g+28>>2]|0,g+40|0);if((c[g+12>>2]|0)>>>0<8){b=14;break}if(c[g+16>>2]|0)if((c[c[g+28>>2]>>2]|0)==(c[g+16>>2]|0)){b=14;break}if(!((c[g+8>>2]|0)>=0?(c[c[g+28>>2]>>2]|0)!=(c[g+20>>2]|0):0))break a}if((b|0)==8){c[g+36>>2]=c[g+8>>2];f=c[g+36>>2]|0;i=g;return f|0}else if((b|0)==10){c[g+36>>2]=c[g+8>>2];f=c[g+36>>2]|0;i=g;return f|0}else if((b|0)==14){c[g+36>>2]=-108;f=c[g+36>>2]|0;i=g;return f|0}}while(0);d=c[g+4>>2]|0;f=c[g+24>>2]|0;c[f>>2]=c[g>>2];c[f+4>>2]=d;c[g+36>>2]=0;f=c[g+36>>2]|0;i=g;return f|0}function UW(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;i=b;return (d[c[b>>2]>>0]|0)+((d[(c[b>>2]|0)+1>>0]|0)<<8)&65535|0}function VW(a,d){a=a|0;d=d|0;var f=0,g=0;g=i;i=i+16|0;b[g+8>>1]=a;c[g>>2]=d;a:do if((e[c[g>>2]>>1]|0|0)==1)switch(e[g+8>>1]|0|0){case 8:{b[c[g>>2]>>1]=0;f=14;break a}case 16:{b[c[g>>2]>>1]=1;f=14;break a}case 24:{b[c[g>>2]>>1]=2;f=14;break a}case 32:{b[c[g>>2]>>1]=3;f=14;break a}default:{c[g+4>>2]=-200;break a}}else{if((e[c[g>>2]>>1]|0|0)!=3){c[g+4>>2]=-200;break}switch(e[g+8>>1]|0|0){case 32:{b[c[g>>2]>>1]=4;f=14;break a}case 64:{b[c[g>>2]>>1]=5;f=14;break a}default:{c[g+4>>2]=-200;break a}}}while(0);if((f|0)==14)c[g+4>>2]=0;i=g;return c[g+4>>2]|0}function WW(a){a=a|0;var b=0;b=i;i=i+16|0;c[b+4>>2]=a;if(!(c[b+4>>2]|0)){c[b+8>>2]=-2;a=c[b+8>>2]|0;i=b;return a|0}a=((_(c[(c[b+4>>2]|0)+32+20>>2]|0,c[(c[b+4>>2]|0)+32+28>>2]|0)|0)>>>0)/4|0;c[(c[b+4>>2]|0)+80+16>>2]=a;a=(c[b+4>>2]|0)+80+16|0;if((c[(c[b+4>>2]|0)+80+16>>2]|0)>>>0<4096)c[a>>2]=4096;else if((c[a>>2]|0)>>>0>2097152)c[(c[b+4>>2]|0)+80+16>>2]=2097152;a=cX(c[(c[b+4>>2]|0)+80+16>>2]|0)|0;c[(c[b+4>>2]|0)+80>>2]=a;if(!(c[(c[b+4>>2]|0)+80>>2]|0)){c[b+8>>2]=-3;a=c[b+8>>2]|0;i=b;return a|0}c[b>>2]=XW(c[b+4>>2]|0)|0;if((c[b>>2]|0)<0){c[b+8>>2]=c[b>>2];a=c[b+8>>2]|0;i=b;return a|0}else{c[b+8>>2]=0;a=c[b+8>>2]|0;i=b;return a|0}return 0}function XW(a){a=a|0;var b=0,d=0,e=0,f=0;b=i;i=i+32|0;c[b+12>>2]=a;if(!(c[b+12>>2]|0)){c[b+16>>2]=-2;a=c[b+16>>2]|0;i=b;return a|0}c[b+8>>2]=Xi[c[(c[(c[b+12>>2]|0)+132>>2]|0)+8>>2]&511](c[(c[b+12>>2]|0)+136>>2]|0,b)|0;if((c[b+8>>2]|0)<0){c[b+16>>2]=c[b+8>>2];a=c[b+16>>2]|0;i=b;return a|0}e=c[b+4>>2]|0;a=(c[b+12>>2]|0)+64+8|0;d=c[a+4>>2]|0;if(!(e>>>0>>0|((e|0)==(d|0)?(c[b>>2]|0)>>>0<(c[a>>2]|0)>>>0:0))){d=c[b>>2]|0;f=c[b+4>>2]|0;a=(c[b+12>>2]|0)+64+8|0;e=(c[b+12>>2]|0)+64|0;e=jBb(c[a>>2]|0,c[a+4>>2]|0,c[e>>2]|0,c[e+4>>2]|0)|0;a=C;if(!(f>>>0>a>>>0|(f|0)==(a|0)&d>>>0>e>>>0)){f=(c[b+12>>2]|0)+64|0;d=c[f>>2]|0;f=c[f+4>>2]|0;e=(c[b+12>>2]|0)+64+8|0;e=qBb(c[b>>2]|0,c[b+4>>2]|0,c[e>>2]|0,c[e+4>>2]|0)|0;e=qBb(d|0,f|0,e|0,C|0)|0;f=(c[b+12>>2]|0)+80+8|0;c[f>>2]=e;c[f+4>>2]=C;c[(c[b+12>>2]|0)+80+20>>2]=0;c[(c[b+12>>2]|0)+80+24>>2]=0;c[b+16>>2]=0;f=c[b+16>>2]|0;i=b;return f|0}}c[b+16>>2]=-301;f=c[b+16>>2]|0;i=b;return f|0}function YW(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;if(!(c[b>>2]|0)){c[b+4>>2]=-2;a=c[b+4>>2]|0;i=b;return a|0}if(c[(c[b>>2]|0)+80>>2]|0)dX(c[(c[b>>2]|0)+80>>2]|0);dX(c[b>>2]|0);c[b+4>>2]=0;a=c[b+4>>2]|0;i=b;return a|0}function ZW(a,d){a=a|0;d=d|0;var f=0;f=i;i=i+16|0;c[f>>2]=a;b[f+12>>1]=d;if(!(c[f>>2]|0)){c[f+4>>2]=-2;a=c[f+4>>2]|0;i=f;return a|0}if((e[f+12>>1]|0|0)>=6){c[f+4>>2]=-200;a=c[f+4>>2]|0;i=f;return a|0}b[f+8>>1]=b[(c[f>>2]|0)+16>>1]|0;a:do switch(e[f+12>>1]|0|0){case 0:{b[f+10>>1]=8;switch(e[f+8>>1]|0|0){case 0:{c[(c[f>>2]|0)+112+16>>2]=11;break a}case 1:{c[(c[f>>2]|0)+112+16>>2]=12;break a}case 2:{c[(c[f>>2]|0)+112+16>>2]=13;break a}case 3:{c[(c[f>>2]|0)+112+16>>2]=14;break a}case 4:{c[(c[f>>2]|0)+112+16>>2]=15;break a}case 5:{c[(c[f>>2]|0)+112+16>>2]=16;break a}default:break a}}case 1:{b[f+10>>1]=16;switch(e[f+8>>1]|0|0){case 0:{c[(c[f>>2]|0)+112+16>>2]=17;break a}case 1:{c[(c[f>>2]|0)+112+16>>2]=18;break a}case 2:{c[(c[f>>2]|0)+112+16>>2]=19;break a}case 3:{c[(c[f>>2]|0)+112+16>>2]=20;break a}case 4:{c[(c[f>>2]|0)+112+16>>2]=21;break a}case 5:{c[(c[f>>2]|0)+112+16>>2]=22;break a}default:break a}}case 2:{b[f+10>>1]=24;switch(e[f+8>>1]|0|0){case 0:{c[(c[f>>2]|0)+112+16>>2]=23;break a}case 1:{c[(c[f>>2]|0)+112+16>>2]=24;break a}case 2:{c[(c[f>>2]|0)+112+16>>2]=25;break a}case 3:{c[(c[f>>2]|0)+112+16>>2]=26;break a}case 4:{c[(c[f>>2]|0)+112+16>>2]=27;break a}case 5:{c[(c[f>>2]|0)+112+16>>2]=28;break a}default:break a}}case 3:{b[f+10>>1]=32;switch(e[f+8>>1]|0|0){case 0:{c[(c[f>>2]|0)+112+16>>2]=29;break a}case 1:{c[(c[f>>2]|0)+112+16>>2]=30;break a}case 2:{c[(c[f>>2]|0)+112+16>>2]=31;break a}case 3:{c[(c[f>>2]|0)+112+16>>2]=32;break a}case 4:{c[(c[f>>2]|0)+112+16>>2]=33;break a}case 5:{c[(c[f>>2]|0)+112+16>>2]=34;break a}default:break a}}case 4:{b[f+10>>1]=32;switch(e[f+8>>1]|0|0){case 0:{c[(c[f>>2]|0)+112+16>>2]=35;break a}case 1:{c[(c[f>>2]|0)+112+16>>2]=36;break a}case 2:{c[(c[f>>2]|0)+112+16>>2]=37;break a}case 3:{c[(c[f>>2]|0)+112+16>>2]=38;break a}case 4:{c[(c[f>>2]|0)+112+16>>2]=39;break a}case 5:{c[(c[f>>2]|0)+112+16>>2]=40;break a}default:break a}}case 5:{b[f+10>>1]=64;switch(e[f+8>>1]|0|0){case 0:{c[(c[f>>2]|0)+112+16>>2]=41;break a}case 1:{c[(c[f>>2]|0)+112+16>>2]=42;break a}case 2:{c[(c[f>>2]|0)+112+16>>2]=43;break a}case 3:{c[(c[f>>2]|0)+112+16>>2]=44;break a}case 4:{c[(c[f>>2]|0)+112+16>>2]=45;break a}case 5:{c[(c[f>>2]|0)+112+16>>2]=46;break a}default:break a}}default:{c[f+4>>2]=-200;a=c[f+4>>2]|0;i=f;return a|0}}while(0);b[(c[f>>2]|0)+112>>1]=b[f+12>>1]|0;c[(c[f>>2]|0)+112+4>>2]=(e[f+10>>1]|0|0)/8|0;a=_(e[(c[f>>2]|0)+32+18>>1]|0,(e[f+10>>1]|0|0)/8|0)|0;c[(c[f>>2]|0)+112+8>>2]=a;c[f+4>>2]=0;a=c[f+4>>2]|0;i=f;return a|0}function _W(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+32|0;c[h+12>>2]=b;a[h+20>>0]=e;c[h+8>>2]=f;c[h+4>>2]=g;c[h>>2]=0;do if(d[c[h+8>>2]>>0]|0|0){if((c[h+12>>2]|0)>>>0>(d[c[h+8>>2]>>0]|0)>>>0){c[h+12>>2]=(c[h+12>>2]|0)-(d[c[h+8>>2]>>0]|0);c[h>>2]=(c[h>>2]|0)+1;break}a[c[h+8>>2]>>0]=c[h+12>>2];a[c[h+4>>2]>>0]=0;c[h+16>>2]=1;b=c[h+16>>2]|0;i=h;return b|0}while(0);c[h>>2]=((c[h+12>>2]|0)>>>0)/((d[h+20>>0]|0)>>>0)|0;a[c[h+4>>2]>>0]=((c[h+12>>2]|0)>>>0)%((d[h+20>>0]|0)>>>0)|0;if(d[c[h+4>>2]>>0]|0|0)c[h>>2]=(c[h>>2]|0)+1;c[h+16>>2]=c[h>>2];b=c[h+16>>2]|0;i=h;return b|0}function $W(a){a=a|0;var b=0,d=0;b=i;i=i+32|0;c[b+12>>2]=a;if(!(c[b+12>>2]|0)){c[b+16>>2]=-2;a=c[b+16>>2]|0;i=b;return a|0}c[b+8>>2]=(c[(c[b+12>>2]|0)+80+24>>2]|0)-(c[(c[b+12>>2]|0)+80+20>>2]|0);if((c[b+8>>2]|0)==(c[(c[b+12>>2]|0)+80+16>>2]|0)){c[b+16>>2]=0;a=c[b+16>>2]|0;i=b;return a|0}if((c[b+8>>2]|0)>>>0>0)nBb(c[(c[b+12>>2]|0)+80>>2]|0,(c[(c[b+12>>2]|0)+80>>2]|0)+(c[(c[b+12>>2]|0)+80+20>>2]|0)|0,c[b+8>>2]|0)|0;c[b+4>>2]=(c[(c[b+12>>2]|0)+80+16>>2]|0)-(c[b+8>>2]|0);a=(c[b+12>>2]|0)+80+8|0;d=c[a+4>>2]|0;if(0>d>>>0|(0==(d|0)?(c[b+4>>2]|0)>>>0>(c[a>>2]|0)>>>0:0))c[b+4>>2]=c[(c[b+12>>2]|0)+80+8>>2];c[b>>2]=Gi[c[c[(c[b+12>>2]|0)+132>>2]>>2]&255](c[(c[b+12>>2]|0)+136>>2]|0,(c[(c[b+12>>2]|0)+80>>2]|0)+(c[b+8>>2]|0)|0,b+4|0)|0;if((c[b>>2]|0)<0){c[b+16>>2]=c[b>>2];d=c[b+16>>2]|0;i=b;return d|0}else{c[(c[b+12>>2]|0)+80+20>>2]=0;c[(c[b+12>>2]|0)+80+24>>2]=(c[b+8>>2]|0)+(c[b+4>>2]|0);d=(c[b+12>>2]|0)+80+8|0;a=qBb(c[d>>2]|0,c[d+4>>2]|0,c[b+4>>2]|0,0)|0;c[d>>2]=a;c[d+4>>2]=C;c[b+16>>2]=0;d=c[b+16>>2]|0;i=b;return d|0}return 0}function aX(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d+8>>2]=a;c[d+4>>2]=b;if(!(c[d+8>>2]|0)){c[d+12>>2]=-2;b=c[d+12>>2]|0;i=d;return b|0}c[d>>2]=_(c[d+4>>2]|0,e[(c[d+8>>2]|0)+32+26>>1]|0)|0;if((c[d>>2]|0)>>>0>((c[(c[d+8>>2]|0)+80+24>>2]|0)-(c[(c[d+8>>2]|0)+80+20>>2]|0)|0)>>>0){c[d+12>>2]=-300;b=c[d+12>>2]|0;i=d;return b|0}else{b=(c[d+8>>2]|0)+80+20|0;c[b>>2]=(c[b>>2]|0)+(c[d>>2]|0);c[d+12>>2]=0;b=c[d+12>>2]|0;i=d;return b|0}return 0}function bX(a,b,d){a=a|0;b=b|0;d=d|0;var f=0;f=i;i=i+48|0;c[f+28>>2]=a;c[f+24>>2]=b;c[f+20>>2]=d;c[f+16>>2]=c[c[f+20>>2]>>2];c[f+4>>2]=e[(c[f+28>>2]|0)+32+26>>1];if((c[f+28>>2]|0)==0|(c[f+24>>2]|0)==0|(c[f+20>>2]|0)==0){c[f+32>>2]=-2;d=c[f+32>>2]|0;i=f;return d|0}c[f+8>>2]=_(c[f+16>>2]|0,c[f+4>>2]|0)|0;if((c[f+8>>2]|0)>>>0>((c[(c[f+28>>2]|0)+80+24>>2]|0)-(c[(c[f+28>>2]|0)+80+20>>2]|0)|0)>>>0){c[f>>2]=$W(c[f+28>>2]|0)|0;if((c[f>>2]|0)<0){c[f+32>>2]=c[f>>2];d=c[f+32>>2]|0;i=f;return d|0}}c[f+12>>2]=(((c[(c[f+28>>2]|0)+80+24>>2]|0)-(c[(c[f+28>>2]|0)+80+20>>2]|0)|0)>>>0)/((c[f+4>>2]|0)>>>0)|0;if((c[f+12>>2]|0)>>>0<(c[f+16>>2]|0)>>>0)c[c[f+20>>2]>>2]=c[f+12>>2];c[c[f+24>>2]>>2]=(c[(c[f+28>>2]|0)+80>>2]|0)+(c[(c[f+28>>2]|0)+80+20>>2]|0);c[f+32>>2]=0;d=c[f+32>>2]|0;i=f;return d|0}function cX(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;a=Vpb(c[b>>2]|0)|0;i=b;return a|0}function dX(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;Wpb(c[b>>2]|0);i=b;return}function eX(a){a=a|0;var b=0;b=i;i=i+16|0;c[b+4>>2]=a;fX(c[b+4>>2]|0)|0;c[b>>2]=0;while(1){if(!(c[20328+(c[b>>2]<<3)>>2]|0))break;vi[c[20328+(c[b>>2]<<3)+4>>2]&2047](c[b+4>>2]|0)|0;c[b>>2]=(c[b>>2]|0)+1}i=b;return 1}function fX(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;c[b>>2]=a;d=(BY()|0)!=0;a=c[b>>2]|0;if(d){Os(a,361353,20304);LDa(c[b>>2]|0,517887);LDa(c[b>>2]|0,361374);$Da(c[b>>2]|0,-3);c[b+4>>2]=1;d=c[b+4>>2]|0;i=b;return d|0}else{LDa(a,361390);kEa(c[b>>2]|0)|0;c[b+4>>2]=0;d=c[b+4>>2]|0;i=b;return d|0}return 0}function gX(a){a=a|0;var b=0;b=i;i=i+16|0;c[b+8>>2]=a;c[b+4>>2]=~~+_Ga(c[b+8>>2]|0,1);a=kDa(c[b+8>>2]|0)|0;c[b>>2]=a-(c[b+4>>2]|0)-1;i=b;return ((c[b>>2]|0)>=0?c[b>>2]|0:0)|0}function hX(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;CY()|0;i=b;return 0}function iX(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;Os(c[b>>2]|0,361447,20400);LDa(c[b>>2]|0,517887);LDa(c[b>>2]|0,361581);$Da(c[b>>2]|0,-3);AX(1247958,1248470);BX(1248214);i=b;return 1}function jX(b){b=b|0;var d=0;d=i;i=i+1072|0;c[d+1052>>2]=b;c[d+1048>>2]=0;c[d+1044>>2]=~~+_Ga(c[d+1052>>2]|0,1)>>>0;c[d+1040>>2]=TGa(c[d+1052>>2]|0,2,0,d+1048|0)|0;c[d+1036>>2]=(c[d+1040>>2]|0)+(c[d+1048>>2]|0);b=c[d+1052>>2]|0;if(!(c[d+1040>>2]|0)){HDa(b);IDa(c[d+1052>>2]|0,2.0);c[d+1056>>2]=2;b=c[d+1056>>2]|0;i=d;return b|0}jHa(b,d);while(1){if((c[d+1040>>2]|0)>>>0>=(c[d+1036>>2]|0)>>>0)break;b=c[d+1040>>2]|0;c[d+1040>>2]=b+1;c[d+1044>>2]=kX(a[b>>0]|0,c[d+1044>>2]|0,d)|0}mHa(d);IDa(c[d+1052>>2]|0,+((c[d+1044>>2]|0)>>>0));c[d+1056>>2]=2;b=c[d+1056>>2]|0;i=d;return b|0}function kX(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+16|0;c[f+8>>2]=b;c[f+4>>2]=d;c[f>>2]=e;if((c[c[f>>2]>>2]|0)>>>0>=((c[f>>2]|0)+12+1024|0)>>>0)iHa(c[f>>2]|0)|0;b=c[f+8>>2]&255;e=c[f>>2]|0;d=c[e>>2]|0;c[e>>2]=d+1;a[d>>0]=b;switch(c[f+8>>2]|0){case 13:{c[f+12>>2]=1;d=c[f+12>>2]|0;i=f;return d|0}case 10:{c[f+12>>2]=(c[f+4>>2]|0)==1?2:0;d=c[f+12>>2]|0;i=f;return d|0}case 46:{if((c[f+4>>2]|0)==2){if((c[c[f>>2]>>2]|0)>>>0>=((c[f>>2]|0)+12+1024|0)>>>0)iHa(c[f>>2]|0)|0;b=c[f>>2]|0;d=c[b>>2]|0;c[b>>2]=d+1;a[d>>0]=46}break}default:{}}c[f+12>>2]=0;d=c[f+12>>2]|0;i=f;return d|0}function lX(b){b=b|0;var d=0;d=i;i=i+1072|0;c[d+1052>>2]=b;c[d+1048>>2]=0;c[d+1044>>2]=0;c[d+1040>>2]=TGa(c[d+1052>>2]|0,1,0,d+1048|0)|0;c[d+1036>>2]=(c[d+1040>>2]|0)+(c[d+1048>>2]|0);b=c[d+1052>>2]|0;if(!(c[d+1040>>2]|0)){HDa(b);HDa(c[d+1052>>2]|0);c[d+1056>>2]=2;b=c[d+1056>>2]|0;i=d;return b|0}jHa(b,d);while(1){if((c[d+1040>>2]|0)>>>0>=(c[d+1036>>2]|0)>>>0)break;b=c[d+1040>>2]|0;c[d+1040>>2]=b+1;c[d+1044>>2]=mX(a[b>>0]|0,d+1060|0,c[d+1044>>2]|0,d)|0}c[d+1040>>2]=TGa(c[d+1052>>2]|0,2,0,d+1048|0)|0;if(!(c[d+1040>>2]|0)){c[d+1044>>2]=nX(d+1060|0,c[d+1044>>2]|0,d)|0;mHa(d);if(!(a[(BDa(c[d+1052>>2]|0,-1,0)|0)>>0]|0))HDa(c[d+1052>>2]|0);HDa(c[d+1052>>2]|0);c[d+1056>>2]=2;b=c[d+1056>>2]|0;i=d;return b|0}c[d+1036>>2]=(c[d+1040>>2]|0)+(c[d+1048>>2]|0);while(1){if((c[d+1040>>2]|0)>>>0>=(c[d+1036>>2]|0)>>>0)break;b=c[d+1040>>2]|0;c[d+1040>>2]=b+1;c[d+1044>>2]=mX(a[b>>0]|0,d+1060|0,c[d+1044>>2]|0,d)|0}mHa(d);KDa(c[d+1052>>2]|0,d+1060|0,c[d+1044>>2]|0);c[d+1056>>2]=2;b=c[d+1056>>2]|0;i=d;return b|0}function mX(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+32|0;a[h+20>>0]=b;c[h+12>>2]=e;c[h+8>>2]=f;c[h+4>>2]=g;e=a[h+20>>0]|0;f=c[h+8>>2]|0;c[h+8>>2]=f+1;a[(c[h+12>>2]|0)+f>>0]=e;if((c[h+8>>2]|0)!=3){f=c[h+8>>2]|0;i=h;return f|0}c[h>>2]=0;c[h>>2]=(c[h>>2]|0)+(d[c[h+12>>2]>>0]|0);c[h>>2]=c[h>>2]<<8;c[h>>2]=(c[h>>2]|0)+(d[(c[h+12>>2]|0)+1>>0]|0);c[h>>2]=c[h>>2]<<8;c[h>>2]=(c[h>>2]|0)+(d[(c[h+12>>2]|0)+2>>0]|0);a[h+16+3>>0]=a[361460+(c[h>>2]&63)>>0]|0;c[h>>2]=(c[h>>2]|0)>>>6;a[h+16+2>>0]=a[361460+(c[h>>2]&63)>>0]|0;c[h>>2]=(c[h>>2]|0)>>>6;a[h+16+1>>0]=a[361460+(c[h>>2]&63)>>0]|0;c[h>>2]=(c[h>>2]|0)>>>6;a[h+16>>0]=a[361460+(c[h>>2]|0)>>0]|0;kHa(c[h+4>>2]|0,h+16|0,4);c[h+8>>2]=0;f=c[h+8>>2]|0;i=h;return f|0}function nX(b,e,f){b=b|0;e=e|0;f=f|0;var g=0;g=i;i=i+32|0;c[g+12>>2]=b;c[g+8>>2]=e;c[g+4>>2]=f;c[g>>2]=0;a[g+16>>0]=a[361525]|0;a[g+16+1>>0]=a[361526]|0;a[g+16+2>>0]=a[361527]|0;a[g+16+3>>0]=a[361528]|0;switch(c[g+8>>2]|0){case 1:{c[g>>2]=(d[c[g+12>>2]>>0]|0)<<4;a[g+16+1>>0]=a[361460+(c[g>>2]&63)>>0]|0;c[g>>2]=(c[g>>2]|0)>>>6;a[g+16>>0]=a[361460+(c[g>>2]|0)>>0]|0;kHa(c[g+4>>2]|0,g+16|0,4);i=g;return 0}case 2:{c[g>>2]=d[c[g+12>>2]>>0];c[g>>2]=c[g>>2]<<8;c[g>>2]=c[g>>2]|(d[(c[g+12>>2]|0)+1>>0]|0);c[g>>2]=c[g>>2]<<2;a[g+16+2>>0]=a[361460+(c[g>>2]&63)>>0]|0;c[g>>2]=(c[g>>2]|0)>>>6;a[g+16+1>>0]=a[361460+(c[g>>2]&63)>>0]|0;c[g>>2]=(c[g>>2]|0)>>>6;a[g+16>>0]=a[361460+(c[g>>2]|0)>>0]|0;kHa(c[g+4>>2]|0,g+16|0,4);i=g;return 0}default:{i=g;return 0}}return 0}function oX(b){b=b|0;var d=0;d=i;i=i+1072|0;c[d+1056>>2]=b;c[d+1052>>2]=~~+_Ga(c[d+1056>>2]|0,1);c[d+1048>>2]=0;c[d+1044>>2]=TGa(c[d+1056>>2]|0,2,0,d+1048|0)|0;c[d+1040>>2]=(c[d+1044>>2]|0)+(c[d+1048>>2]|0);c[d+1036>>2]=TGa(c[d+1056>>2]|0,3,361533,0)|0;jHa(c[d+1056>>2]|0,d);if(!(c[d+1044>>2]|0)){HDa(c[d+1056>>2]|0);IDa(c[d+1056>>2]|0,0.0);c[d+1060>>2]=2;b=c[d+1060>>2]|0;i=d;return b|0}while(1){if((c[d+1044>>2]|0)>>>0>=(c[d+1040>>2]|0)>>>0)break;b=c[d+1044>>2]|0;c[d+1044>>2]=b+1;c[d+1052>>2]=pX(a[b>>0]|0,c[d+1052>>2]|0,c[d+1036>>2]|0,d)|0}mHa(d);IDa(c[d+1056>>2]|0,+(c[d+1052>>2]|0));c[d+1060>>2]=2;b=c[d+1060>>2]|0;i=d;return b|0}function pX(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=i;i=i+32|0;c[g+12>>2]=b;c[g+8>>2]=d;c[g+4>>2]=e;c[g>>2]=f;if(!((c[g+12>>2]|0)==13?1:(c[g+12>>2]|0)==10)){if((c[c[g>>2]>>2]|0)>>>0>=((c[g>>2]|0)+12+1024|0)>>>0)iHa(c[g>>2]|0)|0;d=c[g+12>>2]&255;b=c[g>>2]|0;e=c[b>>2]|0;c[b>>2]=e+1;a[e>>0]=d;c[g+16>>2]=0;e=c[g+16>>2]|0;i=g;return e|0}if(!((c[g+8>>2]|0)==13?1:(c[g+8>>2]|0)==10)){lHa(c[g>>2]|0,c[g+4>>2]|0);c[g+16>>2]=c[g+12>>2];e=c[g+16>>2]|0;i=g;return e|0}if((c[g+12>>2]|0)==(c[g+8>>2]|0))lHa(c[g>>2]|0,c[g+4>>2]|0);c[g+16>>2]=0;e=c[g+16>>2]|0;i=g;return e|0}function qX(b){b=b|0;var d=0;d=i;i=i+1072|0;c[d+1056>>2]=b;c[d+1052>>2]=0;c[d+1048>>2]=0;c[d+1044>>2]=TGa(c[d+1056>>2]|0,1,0,d+1048|0)|0;c[d+1040>>2]=(c[d+1044>>2]|0)+(c[d+1048>>2]|0);c[d+1036>>2]=TGa(c[d+1056>>2]|0,3,361533,0)|0;b=c[d+1056>>2]|0;if(!(c[d+1044>>2]|0)){HDa(b);HDa(c[d+1056>>2]|0);c[d+1060>>2]=2;b=c[d+1060>>2]|0;i=d;return b|0}jHa(b,d);while(1){if((c[d+1044>>2]|0)>>>0>=(c[d+1040>>2]|0)>>>0)break;b=c[d+1044>>2]|0;c[d+1044>>2]=b+1;c[d+1052>>2]=rX(a[b>>0]|0,d+1064|0,c[d+1052>>2]|0,c[d+1036>>2]|0,d)|0}c[d+1044>>2]=TGa(c[d+1056>>2]|0,2,0,d+1048|0)|0;if(!(c[d+1044>>2]|0)){c[d+1052>>2]=tX(d+1064|0,c[d+1052>>2]|0,d)|0;mHa(d);if(!(a[(BDa(c[d+1056>>2]|0,-1,0)|0)>>0]|0))HDa(c[d+1056>>2]|0);HDa(c[d+1056>>2]|0);c[d+1060>>2]=2;b=c[d+1060>>2]|0;i=d;return b|0}c[d+1040>>2]=(c[d+1044>>2]|0)+(c[d+1048>>2]|0);while(1){if((c[d+1044>>2]|0)>>>0>=(c[d+1040>>2]|0)>>>0)break;b=c[d+1044>>2]|0;c[d+1044>>2]=b+1;c[d+1052>>2]=rX(a[b>>0]|0,d+1064|0,c[d+1052>>2]|0,c[d+1036>>2]|0,d)|0}mHa(d);KDa(c[d+1056>>2]|0,d+1064|0,c[d+1052>>2]|0);c[d+1060>>2]=2;b=c[d+1060>>2]|0;i=d;return b|0}function rX(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0;j=i;i=i+32|0;a[j+20>>0]=b;c[j+12>>2]=e;c[j+8>>2]=f;c[j+4>>2]=g;c[j>>2]=h;g=a[j+20>>0]|0;f=c[j+8>>2]|0;c[j+8>>2]=f+1;a[(c[j+12>>2]|0)+f>>0]=g;a:while(1){if((c[j+8>>2]|0)>>>0<=0){h=22;break}switch(d[1247958+(d[c[j+12>>2]>>0]|0)>>0]|0|0){case 2:{if((c[j+8>>2]|0)>>>0<2){h=5;break a}if((d[(c[j+12>>2]|0)+1>>0]|0|0)==10){h=7;break a}sX(a[c[j+12>>2]>>0]|0,c[j>>2]|0);break}case 3:{if((c[j+8>>2]|0)>>>0<3){h=10;break a}if((d[(c[j+12>>2]|0)+1>>0]|0|0)==13)if((d[(c[j+12>>2]|0)+2>>0]|0|0)==10){h=13;break a}if((c[c[j>>2]>>2]|0)>>>0>=((c[j>>2]|0)+12+1024|0)>>>0)iHa(c[j>>2]|0)|0;g=a[c[j+12>>2]>>0]|0;e=c[j>>2]|0;f=c[e>>2]|0;c[e>>2]=f+1;a[f>>0]=g;break}case 1:{sX(a[c[j+12>>2]>>0]|0,c[j>>2]|0);break}default:{if((c[c[j>>2]>>2]|0)>>>0>=((c[j>>2]|0)+12+1024|0)>>>0)iHa(c[j>>2]|0)|0;g=a[c[j+12>>2]>>0]|0;e=c[j>>2]|0;f=c[e>>2]|0;c[e>>2]=f+1;a[f>>0]=g}}a[c[j+12>>2]>>0]=a[(c[j+12>>2]|0)+1>>0]|0;a[(c[j+12>>2]|0)+1>>0]=a[(c[j+12>>2]|0)+2>>0]|0;c[j+8>>2]=(c[j+8>>2]|0)+-1}if((h|0)==5){c[j+16>>2]=c[j+8>>2];f=c[j+16>>2]|0;i=j;return f|0}else if((h|0)==7){lHa(c[j>>2]|0,c[j+4>>2]|0);c[j+16>>2]=0;f=c[j+16>>2]|0;i=j;return f|0}else if((h|0)==10){c[j+16>>2]=c[j+8>>2];f=c[j+16>>2]|0;i=j;return f|0}else if((h|0)==13){sX(a[c[j+12>>2]>>0]|0,c[j>>2]|0);lHa(c[j>>2]|0,c[j+4>>2]|0);c[j+16>>2]=0;f=c[j+16>>2]|0;i=j;return f|0}else if((h|0)==22){c[j+16>>2]=0;f=c[j+16>>2]|0;i=j;return f|0}return 0}function sX(b,e){b=b|0;e=e|0;var f=0,g=0,h=0;f=i;i=i+16|0;a[f+4>>0]=b;c[f>>2]=e;if((c[c[f>>2]>>2]|0)>>>0>=((c[f>>2]|0)+12+1024|0)>>>0)iHa(c[f>>2]|0)|0;e=c[f>>2]|0;b=c[e>>2]|0;c[e>>2]=b+1;a[b>>0]=61;if((c[c[f>>2]>>2]|0)>>>0>=((c[f>>2]|0)+12+1024|0)>>>0)iHa(c[f>>2]|0)|0;e=a[361539+((d[f+4>>0]|0)>>4)>>0]|0;g=c[f>>2]|0;b=c[g>>2]|0;c[g>>2]=b+1;a[b>>0]=e;if((c[c[f>>2]>>2]|0)>>>0<((c[f>>2]|0)+12+1024|0)>>>0){b=a[f+4>>0]|0;b=b&255;b=b&15;b=361539+b|0;b=a[b>>0]|0;e=c[f>>2]|0;g=c[e>>2]|0;h=g+1|0;c[e>>2]=h;a[g>>0]=b;i=f;return}iHa(c[f>>2]|0)|0;g=a[f+4>>0]|0;g=g&255;g=g&15;g=361539+g|0;g=a[g>>0]|0;b=c[f>>2]|0;h=c[b>>2]|0;e=h+1|0;c[b>>2]=e;a[h>>0]=g;i=f;return}function tX(b,e,f){b=b|0;e=e|0;f=f|0;var g=0;g=i;i=i+16|0;c[g+12>>2]=b;c[g+8>>2]=e;c[g+4>>2]=f;c[g>>2]=0;while(1){if((c[g>>2]|0)>>>0>=(c[g+8>>2]|0)>>>0)break;if(!(d[1247958+(d[(c[g+12>>2]|0)+(c[g>>2]|0)>>0]|0)>>0]|0)){if((c[c[g+4>>2]>>2]|0)>>>0>=((c[g+4>>2]|0)+12+1024|0)>>>0)iHa(c[g+4>>2]|0)|0;b=a[(c[g+12>>2]|0)+(c[g>>2]|0)>>0]|0;f=c[g+4>>2]|0;e=c[f>>2]|0;c[f>>2]=e+1;a[e>>0]=b}else sX(a[(c[g+12>>2]|0)+(c[g>>2]|0)>>0]|0,c[g+4>>2]|0);c[g>>2]=(c[g>>2]|0)+1}if((c[g+8>>2]|0)>>>0<=0){i=g;return 0}lHa(c[g+4>>2]|0,361556);i=g;return 0}function uX(b){b=b|0;var e=0,f=0;e=i;i=i+1072|0;c[e+1056>>2]=b;c[e+1052>>2]=0;c[e+1048>>2]=~~+_Ga(c[e+1056>>2]|0,1);c[e+1044>>2]=TGa(c[e+1056>>2]|0,2,0,e+1052|0)|0;c[e+1040>>2]=(c[e+1044>>2]|0)+(c[e+1052>>2]|0);c[e+1036>>2]=~~+$Ga(c[e+1056>>2]|0,3,76.0);if(!(c[e+1044>>2]|0)){b=c[e+1056>>2]|0;if((c[e+1048>>2]|0)<(c[e+1036>>2]|0))LDa(b,361556);else HDa(b);IDa(c[e+1056>>2]|0,+(c[e+1036>>2]|0));c[e+1060>>2]=2;b=c[e+1060>>2]|0;i=e;return b|0}jHa(c[e+1056>>2]|0,e);while(1){if((c[e+1044>>2]|0)>>>0>=(c[e+1040>>2]|0)>>>0)break;switch(d[c[e+1044>>2]>>0]|0|0){case 13:break;case 10:{c[e+1048>>2]=c[e+1036>>2];lHa(e,361533);break}case 61:{if((c[e+1048>>2]|0)<=3){c[e+1048>>2]=c[e+1036>>2];lHa(e,361556)}if((c[e>>2]|0)>>>0>=(e+12+1024|0)>>>0)iHa(e)|0;f=a[c[e+1044>>2]>>0]|0;b=c[e>>2]|0;c[e>>2]=b+1;a[b>>0]=f;c[e+1048>>2]=(c[e+1048>>2]|0)+-1;break}default:{if((c[e+1048>>2]|0)<=1){c[e+1048>>2]=c[e+1036>>2];lHa(e,361556)}if((c[e>>2]|0)>>>0>=(e+12+1024|0)>>>0)iHa(e)|0;b=a[c[e+1044>>2]>>0]|0;f=c[e>>2]|0;c[e>>2]=f+1;a[f>>0]=b;c[e+1048>>2]=(c[e+1048>>2]|0)+-1}}c[e+1044>>2]=(c[e+1044>>2]|0)+1}mHa(e);IDa(c[e+1056>>2]|0,+(c[e+1048>>2]|0));c[e+1060>>2]=2;f=c[e+1060>>2]|0;i=e;return f|0}function vX(b){b=b|0;var d=0;d=i;i=i+1072|0;c[d+1052>>2]=b;c[d+1048>>2]=0;c[d+1044>>2]=0;c[d+1040>>2]=TGa(c[d+1052>>2]|0,1,0,d+1048|0)|0;c[d+1036>>2]=(c[d+1040>>2]|0)+(c[d+1048>>2]|0);b=c[d+1052>>2]|0;if(!(c[d+1040>>2]|0)){HDa(b);HDa(c[d+1052>>2]|0);c[d+1056>>2]=2;b=c[d+1056>>2]|0;i=d;return b|0}jHa(b,d);while(1){if((c[d+1040>>2]|0)>>>0>=(c[d+1036>>2]|0)>>>0)break;b=c[d+1040>>2]|0;c[d+1040>>2]=b+1;c[d+1044>>2]=wX(a[b>>0]|0,d+1060|0,c[d+1044>>2]|0,d)|0}c[d+1040>>2]=TGa(c[d+1052>>2]|0,2,0,d+1048|0)|0;if(!(c[d+1040>>2]|0)){mHa(d);if(!(a[(BDa(c[d+1052>>2]|0,-1,0)|0)>>0]|0))HDa(c[d+1052>>2]|0);HDa(c[d+1052>>2]|0);c[d+1056>>2]=2;b=c[d+1056>>2]|0;i=d;return b|0}c[d+1036>>2]=(c[d+1040>>2]|0)+(c[d+1048>>2]|0);while(1){if((c[d+1040>>2]|0)>>>0>=(c[d+1036>>2]|0)>>>0)break;b=c[d+1040>>2]|0;c[d+1040>>2]=b+1;c[d+1044>>2]=wX(a[b>>0]|0,d+1060|0,c[d+1044>>2]|0,d)|0}mHa(d);KDa(c[d+1052>>2]|0,d+1060|0,c[d+1044>>2]|0);c[d+1056>>2]=2;b=c[d+1056>>2]|0;i=d;return b|0}function wX(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+32|0;a[h+27>>0]=b;c[h+16>>2]=e;c[h+12>>2]=f;c[h+8>>2]=g;if((d[1248214+(d[h+27>>0]|0)>>0]|0|0)>64){c[h+20>>2]=c[h+12>>2];f=c[h+20>>2]|0;i=h;return f|0}e=a[h+27>>0]|0;f=c[h+12>>2]|0;c[h+12>>2]=f+1;a[(c[h+16>>2]|0)+f>>0]=e;if((c[h+12>>2]|0)!=4){c[h+20>>2]=c[h+12>>2];f=c[h+20>>2]|0;i=h;return f|0}c[h>>2]=0;c[h>>2]=d[1248214+(d[c[h+16>>2]>>0]|0)>>0];c[h>>2]=c[h>>2]<<6;c[h>>2]=c[h>>2]|(d[1248214+(d[(c[h+16>>2]|0)+1>>0]|0)>>0]|0);c[h>>2]=c[h>>2]<<6;c[h>>2]=c[h>>2]|(d[1248214+(d[(c[h+16>>2]|0)+2>>0]|0)>>0]|0);c[h>>2]=c[h>>2]<<6;c[h>>2]=c[h>>2]|(d[1248214+(d[(c[h+16>>2]|0)+3>>0]|0)>>0]|0);a[h+24+2>>0]=c[h>>2];c[h>>2]=c[h>>2]>>8;a[h+24+1>>0]=c[h>>2];c[h>>2]=c[h>>2]>>8;a[h+24>>0]=c[h>>2];if((d[(c[h+16>>2]|0)+2>>0]|0|0)==61)g=1;else g=(d[(c[h+16>>2]|0)+3>>0]|0|0)==61?2:3;c[h+4>>2]=g;kHa(c[h+8>>2]|0,h+24|0,c[h+4>>2]|0);c[h+20>>2]=0;f=c[h+20>>2]|0;i=h;return f|0}function xX(b){b=b|0;var d=0;d=i;i=i+1072|0;c[d+1052>>2]=b;c[d+1048>>2]=0;c[d+1044>>2]=0;c[d+1040>>2]=TGa(c[d+1052>>2]|0,1,0,d+1044|0)|0;c[d+1036>>2]=(c[d+1040>>2]|0)+(c[d+1044>>2]|0);b=c[d+1052>>2]|0;if(!(c[d+1040>>2]|0)){HDa(b);HDa(c[d+1052>>2]|0);c[d+1056>>2]=2;b=c[d+1056>>2]|0;i=d;return b|0}jHa(b,d);while(1){if((c[d+1040>>2]|0)>>>0>=(c[d+1036>>2]|0)>>>0)break;b=c[d+1040>>2]|0;c[d+1040>>2]=b+1;c[d+1048>>2]=yX(a[b>>0]|0,d+1060|0,c[d+1048>>2]|0,d)|0}c[d+1040>>2]=TGa(c[d+1052>>2]|0,2,0,d+1044|0)|0;if(!(c[d+1040>>2]|0)){mHa(d);if(!(a[(BDa(c[d+1052>>2]|0,-1,0)|0)>>0]|0))HDa(c[d+1052>>2]|0);HDa(c[d+1052>>2]|0);c[d+1056>>2]=2;b=c[d+1056>>2]|0;i=d;return b|0}c[d+1036>>2]=(c[d+1040>>2]|0)+(c[d+1044>>2]|0);while(1){if((c[d+1040>>2]|0)>>>0>=(c[d+1036>>2]|0)>>>0)break;b=c[d+1040>>2]|0;c[d+1040>>2]=b+1;c[d+1048>>2]=yX(a[b>>0]|0,d+1060|0,c[d+1048>>2]|0,d)|0}mHa(d);KDa(c[d+1052>>2]|0,d+1060|0,c[d+1048>>2]|0);c[d+1056>>2]=2;b=c[d+1056>>2]|0;i=d;return b|0}function yX(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;j=i;i=i+32|0;a[j+20>>0]=b;c[j+12>>2]=e;c[j+8>>2]=f;c[j+4>>2]=g;e=a[j+20>>0]|0;f=c[j+8>>2]|0;c[j+8>>2]=f+1;a[(c[j+12>>2]|0)+f>>0]=e;switch(d[c[j+12>>2]>>0]|0|0){case 61:{if((c[j+8>>2]|0)>>>0<3){c[j+16>>2]=c[j+8>>2];h=c[j+16>>2]|0;i=j;return h|0}if((d[(c[j+12>>2]|0)+1>>0]|0|0)==13)if((d[(c[j+12>>2]|0)+2>>0]|0|0)==10){c[j+16>>2]=0;h=c[j+16>>2]|0;i=j;return h|0}a[j+20>>0]=a[1248470+(d[(c[j+12>>2]|0)+1>>0]|0)>>0]|0;c[j>>2]=d[1248470+(d[(c[j+12>>2]|0)+2>>0]|0)>>0];g=c[j+4>>2]|0;if((d[j+20>>0]|0|0)>15|(c[j>>2]|0)>15)kHa(g,c[j+12>>2]|0,3);else{if((c[g>>2]|0)>>>0>=((c[j+4>>2]|0)+12+1024|0)>>>0)iHa(c[j+4>>2]|0)|0;f=((d[j+20>>0]|0)<<4)+(c[j>>2]|0)&255;e=c[j+4>>2]|0;h=c[e>>2]|0;c[e>>2]=h+1;a[h>>0]=f}c[j+16>>2]=0;h=c[j+16>>2]|0;i=j;return h|0}case 13:{if((c[j+8>>2]|0)>>>0<2){c[j+16>>2]=c[j+8>>2];h=c[j+16>>2]|0;i=j;return h|0}if((d[(c[j+12>>2]|0)+1>>0]|0|0)==10)kHa(c[j+4>>2]|0,c[j+12>>2]|0,2);c[j+16>>2]=0;h=c[j+16>>2]|0;i=j;return h|0}default:{if((d[c[j+12>>2]>>0]|0|0)==9)h=21;else if((d[c[j+12>>2]>>0]|0|0)>31)if((d[c[j+12>>2]>>0]|0|0)<127)h=21;if((h|0)==21){if((c[c[j+4>>2]>>2]|0)>>>0>=((c[j+4>>2]|0)+12+1024|0)>>>0)iHa(c[j+4>>2]|0)|0;f=a[c[j+12>>2]>>0]|0;e=c[j+4>>2]|0;h=c[e>>2]|0;c[e>>2]=h+1;a[h>>0]=f}c[j+16>>2]=0;h=c[j+16>>2]|0;i=j;return h|0}}return 0}function zX(b){b=b|0;var e=0,f=0;e=i;i=i+1072|0;c[e+1056>>2]=b;c[e+1052>>2]=0;c[e+1048>>2]=~~+_Ga(c[e+1056>>2]|0,1);c[e+1044>>2]=TGa(c[e+1056>>2]|0,2,0,e+1052|0)|0;c[e+1040>>2]=(c[e+1044>>2]|0)+(c[e+1052>>2]|0);c[e+1036>>2]=~~+$Ga(c[e+1056>>2]|0,3,76.0);if(!(c[e+1044>>2]|0)){b=c[e+1056>>2]|0;if((c[e+1048>>2]|0)<(c[e+1036>>2]|0))LDa(b,361533);else HDa(b);IDa(c[e+1056>>2]|0,+(c[e+1036>>2]|0));c[e+1060>>2]=2;b=c[e+1060>>2]|0;i=e;return b|0}jHa(c[e+1056>>2]|0,e);while(1){if((c[e+1044>>2]|0)>>>0>=(c[e+1040>>2]|0)>>>0)break;switch(d[c[e+1044>>2]>>0]|0|0){case 13:break;case 10:{lHa(e,361533);c[e+1048>>2]=c[e+1036>>2];break}default:{if((c[e+1048>>2]|0)<=0){c[e+1048>>2]=c[e+1036>>2];lHa(e,361533)}if((c[e>>2]|0)>>>0>=(e+12+1024|0)>>>0)iHa(e)|0;f=a[c[e+1044>>2]>>0]|0;b=c[e>>2]|0;c[e>>2]=b+1;a[b>>0]=f;c[e+1048>>2]=(c[e+1048>>2]|0)+-1}}c[e+1044>>2]=(c[e+1044>>2]|0)+1}mHa(e);IDa(c[e+1056>>2]|0,+(c[e+1048>>2]|0));c[e+1060>>2]=2;f=c[e+1060>>2]|0;i=e;return f|0}function AX(b,d){b=b|0;d=d|0;var e=0;e=i;i=i+16|0;c[e+8>>2]=b;c[e+4>>2]=d;c[e>>2]=0;while(1){if((c[e>>2]|0)>=256)break;a[(c[e+8>>2]|0)+(c[e>>2]|0)>>0]=1;c[e>>2]=(c[e>>2]|0)+1}c[e>>2]=33;while(1){if((c[e>>2]|0)>60)break;a[(c[e+8>>2]|0)+(c[e>>2]|0)>>0]=0;c[e>>2]=(c[e>>2]|0)+1}c[e>>2]=62;while(1){if((c[e>>2]|0)>126)break;a[(c[e+8>>2]|0)+(c[e>>2]|0)>>0]=0;c[e>>2]=(c[e>>2]|0)+1}a[(c[e+8>>2]|0)+9>>0]=3;a[(c[e+8>>2]|0)+32>>0]=3;a[(c[e+8>>2]|0)+13>>0]=2;c[e>>2]=0;while(1){if((c[e>>2]|0)>=256)break;a[(c[e+4>>2]|0)+(c[e>>2]|0)>>0]=-1;c[e>>2]=(c[e>>2]|0)+1}a[(c[e+4>>2]|0)+48>>0]=0;a[(c[e+4>>2]|0)+49>>0]=1;a[(c[e+4>>2]|0)+50>>0]=2;a[(c[e+4>>2]|0)+51>>0]=3;a[(c[e+4>>2]|0)+52>>0]=4;a[(c[e+4>>2]|0)+53>>0]=5;a[(c[e+4>>2]|0)+54>>0]=6;a[(c[e+4>>2]|0)+55>>0]=7;a[(c[e+4>>2]|0)+56>>0]=8;a[(c[e+4>>2]|0)+57>>0]=9;a[(c[e+4>>2]|0)+65>>0]=10;a[(c[e+4>>2]|0)+97>>0]=10;a[(c[e+4>>2]|0)+66>>0]=11;a[(c[e+4>>2]|0)+98>>0]=11;a[(c[e+4>>2]|0)+67>>0]=12;a[(c[e+4>>2]|0)+99>>0]=12;a[(c[e+4>>2]|0)+68>>0]=13;a[(c[e+4>>2]|0)+100>>0]=13;a[(c[e+4>>2]|0)+69>>0]=14;a[(c[e+4>>2]|0)+101>>0]=14;a[(c[e+4>>2]|0)+70>>0]=15;a[(c[e+4>>2]|0)+102>>0]=15;i=e;return}function BX(b){b=b|0;var e=0;e=i;i=i+16|0;c[e+4>>2]=b;c[e>>2]=0;while(1){if((c[e>>2]|0)>255)break;a[(c[e+4>>2]|0)+(c[e>>2]|0)>>0]=-1;c[e>>2]=(c[e>>2]|0)+1}c[e>>2]=0;while(1){if((c[e>>2]|0)>=64)break;a[(c[e+4>>2]|0)+(d[361460+(c[e>>2]|0)>>0]|0)>>0]=c[e>>2];c[e>>2]=(c[e>>2]|0)+1}a[(c[e+4>>2]|0)+61>>0]=0;i=e;return}function CX(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;Os(c[b>>2]|0,0,20472);i=b;return 0}function DX(a){a=a|0;var b=0;b=i;i=i+336|0;c[b+328>>2]=a;h[b>>3]=+$Ga(c[b+328>>2]|0,3,-1.0);c[b+40>>2]=b+176;c[b+44>>2]=32;while(1){if(!(c[b+44>>2]|0))break;a=c[b+40>>2]|0;c[b+40>>2]=a+4;c[a>>2]=0;c[b+44>>2]=(c[b+44>>2]|0)+-1}c[b+32>>2]=b+48;c[b+36>>2]=32;while(1){if(!(c[b+36>>2]|0))break;a=c[b+32>>2]|0;c[b+32>>2]=a+4;c[a>>2]=0;c[b+36>>2]=(c[b+36>>2]|0)+-1}lDa(c[b+328>>2]|0,3);WDa(c[b+328>>2]|0,0,0);c[b+316>>2]=kDa(c[b+328>>2]|0)|0;WDa(c[b+328>>2]|0,0,0);c[b+324>>2]=kDa(c[b+328>>2]|0)|0;WDa(c[b+328>>2]|0,0,0);c[b+320>>2]=kDa(c[b+328>>2]|0)|0;c[b+304>>2]=EX(c[b+328>>2]|0,1,-1,c[b+316>>2]|0,b+176|0)|0;c[b+308>>2]=GX(c[b+328>>2]|0,1,c[b+324>>2]|0,b+176|0)|0;h[b>>3]=(c[b+308>>2]|0)>0?0.0:+h[b>>3];bY(b+8|0,+h[b>>3],-1.0);eY(b+8|0)|0;c[b+304>>2]=EX(c[b+328>>2]|0,2,c[b+304>>2]|0,c[b+316>>2]|0,b+48|0)|0;c[b+312>>2]=FY((c[b+304>>2]|0)+1|0,b+176|0,b+48|0,0,b+8|0)|0;if((c[b+312>>2]|0)>0|(c[b+308>>2]|0)>0){IX(c[b+328>>2]|0,b+176|0,(c[b+304>>2]|0)+1|0,c[b+316>>2]|0,c[b+324>>2]|0,c[b+308>>2]|0);IX(c[b+328>>2]|0,b+48|0,(c[b+304>>2]|0)+1|0,c[b+316>>2]|0,c[b+320>>2]|0,0);JX(c[b+328>>2]|0,c[b+324>>2]|0);JX(c[b+328>>2]|0,c[b+320>>2]|0);c[b+332>>2]=2;a=c[b+332>>2]|0;i=b;return a|0}a=c[b+328>>2]|0;if(!(c[b+312>>2]|0)){LDa(a,504019);c[b+332>>2]=3;a=c[b+332>>2]|0;i=b;return a|0}else{LDa(a,517434);c[b+332>>2]=3;a=c[b+332>>2]|0;i=b;return a|0}return 0}function EX(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;h=i;i=i+32|0;c[h+24>>2]=a;c[h+20>>2]=b;c[h+16>>2]=d;c[h+12>>2]=e;c[h+8>>2]=f;c[h+4>>2]=1;if(!(qDa(c[h+24>>2]|0,c[h+20>>2]|0)|0)){c[h+28>>2]=c[h+16>>2];g=c[h+28>>2]|0;i=h;return g|0}while(1){IDa(c[h+24>>2]|0,+(c[h+4>>2]|0));SDa(c[h+24>>2]|0,c[h+20>>2]|0);b=(qDa(c[h+24>>2]|0,-1)|0)==0;a=c[h+24>>2]|0;if(b)break;c[h>>2]=FX(a)|0;if((c[h>>2]|0)!=-1){b=(c[h+8>>2]|0)+((((c[h>>2]|0)>>>0)/32|0)<<2)|0;c[b>>2]=c[b>>2]|1<<(((c[h>>2]|0)>>>0)%32|0);if((c[h+16>>2]|0)==-1)g=8;else if((c[h+16>>2]|0)<(c[h>>2]|0))g=8;if((g|0)==8){g=0;c[h+16>>2]=c[h>>2]}IDa(c[h+24>>2]|0,+(c[h>>2]|0));pDa(c[h+24>>2]|0,-2);ZDa(c[h+24>>2]|0,c[h+12>>2]|0)}lDa(c[h+24>>2]|0,-2);c[h+4>>2]=(c[h+4>>2]|0)+1}lDa(a,-2);c[h+28>>2]=c[h+16>>2];g=c[h+28>>2]|0;i=h;return g|0}function FX(a){a=a|0;var b=0;b=i;i=i+16|0;c[b+4>>2]=a;c[b>>2]=-1;LDa(c[b+4>>2]|0,361812);SDa(c[b+4>>2]|0,-2);if(qDa(c[b+4>>2]|0,-1)|0){pDa(c[b+4>>2]|0,-2);dEa(c[b+4>>2]|0,1,1);if(tDa(c[b+4>>2]|0,-1)|0)c[b>>2]=~~+yDa(c[b+4>>2]|0,-1)}lDa(c[b+4>>2]|0,-2);i=b;return c[b>>2]|0}function GX(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+32|0;c[f+24>>2]=a;c[f+20>>2]=b;c[f+16>>2]=d;c[f+12>>2]=e;c[f+8>>2]=0;c[f+4>>2]=1;if(!(qDa(c[f+24>>2]|0,c[f+20>>2]|0)|0)){c[f+28>>2]=0;b=c[f+28>>2]|0;i=f;return b|0}while(1){IDa(c[f+24>>2]|0,+(c[f+4>>2]|0));SDa(c[f+24>>2]|0,c[f+20>>2]|0);b=(qDa(c[f+24>>2]|0,-1)|0)==0;a=c[f+24>>2]|0;if(b)break;c[f>>2]=FX(a)|0;if((c[f>>2]|0)!=-1)if(HX(c[f+24>>2]|0)|0){e=c[f+24>>2]|0;b=(c[f+8>>2]|0)+1|0;c[f+8>>2]=b;IDa(e,+(b|0));pDa(c[f+24>>2]|0,-2);ZDa(c[f+24>>2]|0,c[f+16>>2]|0);b=(c[f+12>>2]|0)+((((c[f>>2]|0)>>>0)/32|0)<<2)|0;c[b>>2]=c[b>>2]&~(1<<(((c[f>>2]|0)>>>0)%32|0))}lDa(c[f+24>>2]|0,-2);c[f+4>>2]=(c[f+4>>2]|0)+1}lDa(a,-2);c[f+28>>2]=c[f+8>>2];b=c[f+28>>2]|0;i=f;return b|0}function HX(a){a=a|0;var b=0;b=i;i=i+16|0;c[b+4>>2]=a;c[b>>2]=0;LDa(c[b+4>>2]|0,361806);SDa(c[b+4>>2]|0,-2);if(qDa(c[b+4>>2]|0,-1)|0){pDa(c[b+4>>2]|0,-2);dEa(c[b+4>>2]|0,1,1);c[b>>2]=ADa(c[b+4>>2]|0,-1)|0}lDa(c[b+4>>2]|0,-2);i=b;return c[b>>2]|0}function IX(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+32|0;c[h+24>>2]=a;c[h+20>>2]=b;c[h+16>>2]=d;c[h+12>>2]=e;c[h+8>>2]=f;c[h+4>>2]=g;c[h>>2]=0;while(1){if((c[h>>2]|0)>=(c[h+16>>2]|0))break;if(c[(c[h+20>>2]|0)+((((c[h>>2]|0)>>>0)/32|0)<<2)>>2]&1<<(((c[h>>2]|0)>>>0)%32|0)|0){g=c[h+24>>2]|0;f=(c[h+4>>2]|0)+1|0;c[h+4>>2]=f;IDa(g,+(f|0));IDa(c[h+24>>2]|0,+(c[h>>2]|0));SDa(c[h+24>>2]|0,c[h+12>>2]|0);ZDa(c[h+24>>2]|0,c[h+8>>2]|0)}c[h>>2]=(c[h>>2]|0)+1}i=h;return}function JX(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d+12>>2]=a;c[d+8>>2]=b;c[d+4>>2]=1;WDa(c[d+12>>2]|0,0,0);c[d>>2]=kDa(c[d+12>>2]|0)|0;while(1){IDa(c[d+12>>2]|0,+(c[d+4>>2]|0));SDa(c[d+12>>2]|0,c[d+8>>2]|0);b=(qDa(c[d+12>>2]|0,-1)|0)==0;a=c[d+12>>2]|0;if(b)break;IDa(a,+(c[d+4>>2]|0));pDa(c[d+12>>2]|0,-2);ZDa(c[d+12>>2]|0,c[d>>2]|0);IDa(c[d+12>>2]|0,+(c[d+4>>2]|0));ZDa(c[d+12>>2]|0,c[d>>2]|0);c[d+4>>2]=(c[d+4>>2]|0)+1}lDa(a,-2);i=d;return}function KX(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;Bta(c[b>>2]|0,361592,20488);Bta(c[b>>2]|0,361632,20488);Bta(c[b>>2]|0,361620,20488);Dta(c[b>>2]|0,361592,361604);Dta(c[b>>2]|0,361632,361604);Dta(c[b>>2]|0,361620,361604);Os(c[b>>2]|0,0,20704);i=b;return 0}function LX(a){a=a|0;var b=0;b=i;i=i+16|0;c[b+4>>2]=a;c[b>>2]=Hta(c[b+4>>2]|0,361604,1)|0;DY(c[b>>2]|0);IDa(c[b+4>>2]|0,1.0);i=b;return 1}function MX(a){a=a|0;var b=0;b=i;i=i+32|0;c[b+20>>2]=a;c[b+16>>2]=Fta(c[b+20>>2]|0,361620,1)|0;c[b+12>>2]=eY((c[b+16>>2]|0)+8248|0)|0;c[b+4>>2]=MY(c[b+16>>2]|0,b+8|0,0,0,c[b+12>>2]|0)|0;a=c[b+20>>2]|0;if(!(c[b+4>>2]|0)){c[b>>2]=nEa(a,8272)|0;Jta(c[b+20>>2]|0,361632,-1);IY(b+8|0);c[c[b>>2]>>2]=c[b+8>>2];oua((c[b>>2]|0)+4|0,74,75,345,c[b>>2]|0);bY((c[b>>2]|0)+8248|0,-1.0,-1.0);Lta((c[b>>2]|0)+24|0,(c[b>>2]|0)+4|0,(c[b>>2]|0)+8248|0);c[b+24>>2]=1;a=c[b+24>>2]|0;i=b;return a|0}else{HDa(a);a=c[b+20>>2]|0;LDa(a,UY(c[b+4>>2]|0)|0);c[b+24>>2]=2;a=c[b+24>>2]|0;i=b;return a|0}return 0}function NX(a){a=a|0;var d=0;d=i;i=i+32|0;c[d+12>>2]=a;c[d+8>>2]=Fta(c[d+12>>2]|0,361592,1)|0;c[d+4>>2]=UGa(c[d+12>>2]|0,2,0)|0;b[d+20>>1]=~~+_Ga(c[d+12>>2]|0,3);c[d>>2]=nua(c[d+8>>2]|0,c[d+4>>2]|0,b[d+20>>1]|0)|0;a=c[d+12>>2]|0;if(c[d>>2]|0){HDa(a);LDa(c[d+12>>2]|0,c[d>>2]|0);c[d+16>>2]=2;a=c[d+16>>2]|0;i=d;return a|0}else{IDa(a,1.0);c[d+16>>2]=1;a=c[d+16>>2]|0;i=d;return a|0}return 0}function OX(a){a=a|0;var d=0;d=i;i=i+32|0;c[d+16>>2]=a;c[d+12>>2]=Hta(c[d+16>>2]|0,361604,1)|0;c[d+8>>2]=UGa(c[d+16>>2]|0,2,0)|0;b[d+24>>1]=~~+_Ga(c[d+16>>2]|0,3);c[d+4>>2]=eY((c[d+12>>2]|0)+8248|0)|0;c[d>>2]=mua(c[d+12>>2]|0,c[d+8>>2]|0,b[d+24>>1]|0,c[d+4>>2]|0)|0;Jta(c[d+16>>2]|0,361632,1);a=c[d+16>>2]|0;if(c[d>>2]|0){HDa(a);LDa(c[d+16>>2]|0,c[d>>2]|0);c[d+20>>2]=2;a=c[d+20>>2]|0;i=d;return a|0}else{IDa(a,1.0);c[d+20>>2]=1;a=c[d+20>>2]|0;i=d;return a|0}return 0}function PX(a){a=a|0;var b=0;b=i;i=i+16|0;c[b+4>>2]=a;c[b>>2]=Hta(c[b+4>>2]|0,361604,1)|0;a=c[b+4>>2]|0;PDa(a,((Tta((c[b>>2]|0)+24|0)|0)!=0^1)&1);i=b;return 1}function QX(a){a=a|0;var b=0;b=i;i=i+16|0;c[b+4>>2]=a;c[b>>2]=Hta(c[b+4>>2]|0,361604,1)|0;IDa(c[b+4>>2]|0,+(c[c[b>>2]>>2]|0));i=b;return 1}function RX(a){a=a|0;var b=0;b=i;i=i+16|0;c[b+4>>2]=a;c[b>>2]=Hta(c[b+4>>2]|0,361604,1)|0;a=jua(c[b+4>>2]|0,c[b>>2]|0)|0;i=b;return a|0}function SX(a){a=a|0;var b=0;b=i;i=i+16|0;c[b+4>>2]=a;c[b>>2]=Hta(c[b+4>>2]|0,361604,1)|0;a=kua(c[b+4>>2]|0,c[b>>2]|0)|0;i=b;return a|0}function TX(a){a=a|0;var b=0;b=i;i=i+16|0;c[b+4>>2]=a;c[b>>2]=Fta(c[b+4>>2]|0,361632,1)|0;a=Mta(c[b+4>>2]|0,(c[b>>2]|0)+24|0)|0;i=b;return a|0}function UX(a){a=a|0;var b=0;b=i;i=i+16|0;c[b+4>>2]=a;c[b>>2]=Fta(c[b+4>>2]|0,361632,1)|0;a=Nta(c[b+4>>2]|0,(c[b>>2]|0)+24|0)|0;i=b;return a|0}function VX(a){a=a|0;var b=0;b=i;i=i+32|0;c[b+12>>2]=a;c[b+8>>2]=Fta(c[b+12>>2]|0,361592,1)|0;c[b+4>>2]=~~+$Ga(c[b+12>>2]|0,2,32.0);c[b>>2]=JY(c[b+8>>2]|0,c[b+4>>2]|0)|0;a=c[b+12>>2]|0;if(c[b>>2]|0){HDa(a);a=c[b+12>>2]|0;LDa(a,UY(c[b>>2]|0)|0);c[b+16>>2]=2;a=c[b+16>>2]|0;i=b;return a|0}else{Jta(a,361620,1);IDa(c[b+12>>2]|0,1.0);c[b+16>>2]=1;a=c[b+16>>2]|0;i=b;return a|0}return 0}function WX(a){a=a|0;var b=0;b=i;i=i+16|0;c[b+4>>2]=a;c[b>>2]=Fta(c[b+4>>2]|0,361632,1)|0;a=Qta(c[b+4>>2]|0,(c[b>>2]|0)+24|0)|0;i=b;return a|0}function XX(a){a=a|0;var b=0;b=i;i=i+16|0;c[b+4>>2]=a;c[b>>2]=Fta(c[b+4>>2]|0,361632,1)|0;a=Ota(c[b+4>>2]|0,(c[b>>2]|0)+24|0)|0;i=b;return a|0}function YX(a){a=a|0;var b=0;b=i;i=i+16|0;c[b+4>>2]=a;c[b>>2]=Hta(c[b+4>>2]|0,361604,1)|0;a=~~+_Ga(c[b+4>>2]|0,2);c[c[b>>2]>>2]=a;i=b;return 0}function ZX(a){a=a|0;var b=0;b=i;i=i+16|0;c[b+4>>2]=a;c[b>>2]=Hta(c[b+4>>2]|0,361604,1)|0;a=qua(c[b+4>>2]|0,20664,c[b>>2]|0)|0;i=b;return a|0}function _X(a){a=a|0;var b=0;b=i;i=i+16|0;c[b+4>>2]=a;c[b>>2]=Hta(c[b+4>>2]|0,361604,1)|0;a=iY(c[b+4>>2]|0,(c[b>>2]|0)+8248|0)|0;i=b;return a|0}function $X(b){b=b|0;var d=0;d=i;i=i+16|0;c[d+8>>2]=b;c[d+4>>2]=Fta(c[d+8>>2]|0,361632,1)|0;c[d>>2]=TGa(c[d+8>>2]|0,2,361720,0)|0;switch(a[c[d>>2]>>0]|0){case 98:{if(Imb(c[d>>2]|0,361720)|0)b=9;else{KY(c[d+4>>2]|0,2);b=8}break}case 115:{if(Imb(c[d>>2]|0,361887)|0)b=9;else{KY(c[d+4>>2]|0,1);b=8}break}case 114:{if(Imb(c[d>>2]|0,361842)|0)b=9;else{KY(c[d+4>>2]|0,0);b=8}break}default:b=8}if((b|0)==8){IDa(c[d+8>>2]|0,1.0);c[d+12>>2]=1;b=c[d+12>>2]|0;i=d;return b|0}else if((b|0)==9){OGa(c[d+8>>2]|0,2,361725)|0;c[d+12>>2]=0;b=c[d+12>>2]|0;i=d;return b|0}return 0}function aY(a){a=a|0;var b=0;b=i;i=i+32|0;c[b+12>>2]=a;c[b+4>>2]=lua(b+8|0,1)|0;a=c[b+12>>2]|0;if(c[b+4>>2]|0){HDa(a);LDa(c[b+12>>2]|0,c[b+4>>2]|0);c[b+16>>2]=2;a=c[b+16>>2]|0;i=b;return a|0}else{c[b>>2]=nEa(a,8272)|0;Jta(c[b+12>>2]|0,361592,-1);IY(b+8|0);c[c[b>>2]>>2]=c[b+8>>2];oua((c[b>>2]|0)+4|0,74,75,345,c[b>>2]|0);bY((c[b>>2]|0)+8248|0,-1.0,-1.0);Lta((c[b>>2]|0)+24|0,(c[b>>2]|0)+4|0,(c[b>>2]|0)+8248|0);c[b+16>>2]=1;a=c[b+16>>2]|0;i=b;return a|0}return 0}function bY(a,b,d){a=a|0;b=+b;d=+d;var e=0;e=i;i=i+32|0;c[e+16>>2]=a;h[e+8>>3]=b;h[e>>3]=d;h[c[e+16>>2]>>3]=+h[e+8>>3];h[(c[e+16>>2]|0)+8>>3]=+h[e>>3];i=e;return}function cY(){var a=0;a=i;i=i+16|0;hf(a|0,0)|0;i=a;return +(+(c[a>>2]|0)+ +(c[a+4>>2]|0)/1.0e6)}function dY(a){a=a|0;var b=0.0,d=0;d=i;i=i+48|0;c[d+32>>2]=a;if(+h[c[d+32>>2]>>3]<0.0)if(+h[(c[d+32>>2]|0)+8>>3]<0.0){h[d+24>>3]=-1.0;b=+h[d+24>>3];i=d;return +b}b=+h[(c[d+32>>2]|0)+8>>3];if(+h[c[d+32>>2]>>3]<0.0){b=b-+cY();h[d+16>>3]=b+ +h[(c[d+32>>2]|0)+16>>3];h[d+24>>3]=+h[d+16>>3]>0.0?+h[d+16>>3]:0.0;b=+h[d+24>>3];i=d;return +b}a=c[d+32>>2]|0;if(b<0.0){b=+h[a>>3];b=b-+cY();h[d+8>>3]=b+ +h[(c[d+32>>2]|0)+16>>3];h[d+24>>3]=+h[d+8>>3]>0.0?+h[d+8>>3]:0.0;b=+h[d+24>>3];i=d;return +b}b=+h[a+8>>3];b=b-+cY();h[d>>3]=b+ +h[(c[d+32>>2]|0)+16>>3];if(+h[c[d+32>>2]>>3]<(+h[d>>3]>0.0?+h[d>>3]:0.0))b=+h[c[d+32>>2]>>3];else b=+h[d>>3]>0.0?+h[d>>3]:0.0;h[d+24>>3]=b;b=+h[d+24>>3];i=d;return +b}function eY(a){a=a|0;var b=0,d=0.0;b=i;i=i+16|0;c[b>>2]=a;d=+cY();h[(c[b>>2]|0)+16>>3]=d;i=b;return c[b>>2]|0}function fY(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;Os(c[b>>2]|0,0,20720);i=b;return 0}function gY(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;a=c[b>>2]|0;IDa(a,+cY());i=b;return 1}function hY(a){a=a|0;var b=0;b=i;i=i+32|0;c[b+24>>2]=a;h[b>>3]=+_Ga(c[b+24>>2]|0,1);c[b+16>>2]=~~+h[b>>3];h[b>>3]=+h[b>>3]-+(c[b+16>>2]|0);c[b+16+4>>2]=~~(+h[b>>3]*1.0e9);if((c[b+16+4>>2]|0)>=1e9)c[b+16+4>>2]=999999999;while(1){if(!(Lb(b+16|0,b+8|0)|0))break;c[b+16>>2]=c[b+8>>2];c[b+16+4>>2]=c[b+8+4>>2]}i=b;return 0}function iY(b,d){b=b|0;d=d|0;var e=0;e=i;i=i+32|0;c[e+16>>2]=b;c[e+12>>2]=d;h[e>>3]=+$Ga(c[e+16>>2]|0,2,-1.0);c[e+8>>2]=TGa(c[e+16>>2]|0,3,608045,0)|0;switch(a[c[e+8>>2]>>0]|0){case 98:{h[c[e+12>>2]>>3]=+h[e>>3];break}case 116:case 114:{h[(c[e+12>>2]|0)+8>>3]=+h[e>>3];break}default:OGa(c[e+16>>2]|0,3,361761)|0}IDa(c[e+16>>2]|0,1.0);i=e;return 1}function jY(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;Bta(c[b>>2]|0,361782,20744);Bta(c[b>>2]|0,361870,20744);Dta(c[b>>2]|0,361782,361797);Dta(c[b>>2]|0,361870,361797);Dta(c[b>>2]|0,361782,362071);Dta(c[b>>2]|0,361870,362071);Os(c[b>>2]|0,0,20944);i=b;return 0}function kY(a){a=a|0;var b=0;b=i;i=i+16|0;c[b+4>>2]=a;c[b>>2]=Hta(c[b+4>>2]|0,361797,1)|0;DY(c[b>>2]|0);IDa(c[b+4>>2]|0,1.0);i=b;return 1}function lY(a){a=a|0;var b=0;b=i;i=i+16|0;c[b+4>>2]=a;c[b>>2]=Hta(c[b+4>>2]|0,361797,1)|0;PDa(c[b+4>>2]|0,0);i=b;return 1}function mY(a){a=a|0;var b=0;b=i;i=i+16|0;c[b+4>>2]=a;c[b>>2]=Hta(c[b+4>>2]|0,361797,1)|0;IDa(c[b+4>>2]|0,+(c[c[b>>2]>>2]|0));i=b;return 1}function nY(a){a=a|0;var b=0;b=i;i=i+16|0;c[b+4>>2]=a;c[b>>2]=Fta(c[b+4>>2]|0,361782,1)|0;a=jua(c[b+4>>2]|0,c[b>>2]|0)|0;i=b;return a|0}function oY(a){a=a|0;var b=0;b=i;i=i+16|0;c[b+4>>2]=a;c[b>>2]=Hta(c[b+4>>2]|0,361797,1)|0;a=kua(c[b+4>>2]|0,c[b>>2]|0)|0;i=b;return a|0}function pY(a){a=a|0;var b=0;b=i;i=i+8224|0;c[b+20>>2]=a;c[b+16>>2]=Hta(c[b+20>>2]|0,361797,1)|0;c[b+8>>2]=~~+$Ga(c[b+20>>2]|0,2,8192.0)>>>0;c[b>>2]=(c[b+16>>2]|0)+8;c[b+8>>2]=(c[b+8>>2]|0)>>>0<8192?c[b+8>>2]|0:8192;eY(c[b>>2]|0)|0;c[b+4>>2]=PY(c[b+16>>2]|0,b+32|0,c[b+8>>2]|0,b+12|0,c[b>>2]|0)|0;a=c[b+20>>2]|0;if(c[b+4>>2]|0){HDa(a);a=c[b+20>>2]|0;LDa(a,qY(c[b+4>>2]|0)|0);c[b+24>>2]=2;a=c[b+24>>2]|0;i=b;return a|0}else{KDa(a,b+32|0,c[b+12>>2]|0);c[b+24>>2]=1;a=c[b+24>>2]|0;i=b;return a|0}return 0}function qY(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;if((c[b>>2]|0)==-2)c[b+4>>2]=361850;else c[b+4>>2]=UY(c[b>>2]|0)|0;i=b;return c[b+4>>2]|0}function rY(a){a=a|0;var d=0;d=i;i=i+8256|0;c[d+44>>2]=a;c[d+40>>2]=Fta(c[d+44>>2]|0,361870,1)|0;c[d+16>>2]=16;c[d+8>>2]=~~+$Ga(c[d+44>>2]|0,2,8192.0)>>>0;c[d>>2]=(c[d+40>>2]|0)+8;eY(c[d>>2]|0)|0;c[d+8>>2]=(c[d+8>>2]|0)>>>0<8192?c[d+8>>2]|0:8192;c[d+4>>2]=QY(c[d+40>>2]|0,d+56|0,c[d+8>>2]|0,d+12|0,d+24|0,d+16|0,c[d>>2]|0)|0;a=c[d+44>>2]|0;if(!(c[d+4>>2]|0)){KDa(a,d+56|0,c[d+12>>2]|0);a=c[d+44>>2]|0;c[d+52>>2]=c[d+24+4>>2];LDa(a,Vob(d+52|0)|0);a=c[d+44>>2]|0;IDa(a,+((Xob(b[d+24+2>>1]|0)|0)&65535));c[d+48>>2]=3;a=c[d+48>>2]|0;i=d;return a|0}else{HDa(a);a=c[d+44>>2]|0;LDa(a,qY(c[d+4>>2]|0)|0);c[d+48>>2]=2;a=c[d+48>>2]|0;i=d;return a|0}return 0}function sY(a){a=a|0;var b=0;b=i;i=i+32|0;c[b+24>>2]=a;c[b+20>>2]=Fta(c[b+24>>2]|0,361782,1)|0;c[b+16>>2]=(c[b+20>>2]|0)+8;c[b+8>>2]=0;c[b>>2]=UGa(c[b+24>>2]|0,2,b+12|0)|0;eY(c[b+16>>2]|0)|0;c[b+4>>2]=NY(c[b+20>>2]|0,c[b>>2]|0,c[b+12>>2]|0,b+8|0,c[b+16>>2]|0)|0;a=c[b+24>>2]|0;if(c[b+4>>2]|0){HDa(a);a=c[b+24>>2]|0;LDa(a,qY(c[b+4>>2]|0)|0);c[b+28>>2]=2;a=c[b+28>>2]|0;i=b;return a|0}else{IDa(a,+((c[b+8>>2]|0)>>>0));c[b+28>>2]=1;a=c[b+28>>2]|0;i=b;return a|0}return 0}function tY(a){a=a|0;var d=0;d=i;i=i+64|0;c[d+48>>2]=a;c[d+44>>2]=Fta(c[d+48>>2]|0,361870,1)|0;c[d+36>>2]=0;c[d+32>>2]=UGa(c[d+48>>2]|0,2,d+40|0)|0;c[d+28>>2]=UGa(c[d+48>>2]|0,3,0)|0;b[d+56>>1]=~~+_Ga(c[d+48>>2]|0,4);c[d+24>>2]=(c[d+44>>2]|0)+8;c[d+8>>2]=0;c[d+8+4>>2]=0;c[d+8+8>>2]=0;c[d+8+12>>2]=0;if(!(Uob(c[d+28>>2]|0,d+8+4|0)|0))OGa(c[d+48>>2]|0,3,361899)|0;b[d+8>>1]=2;b[d+8+2>>1]=Hob(b[d+56>>1]|0)|0;eY(c[d+24>>2]|0)|0;c[d>>2]=OY(c[d+44>>2]|0,c[d+32>>2]|0,c[d+40>>2]|0,d+36|0,d+8|0,16,c[d+24>>2]|0)|0;a=c[d+48>>2]|0;if(c[d>>2]|0){HDa(a);a=c[d+48>>2]|0;LDa(a,qY(c[d>>2]|0)|0);c[d+52>>2]=2;a=c[d+52>>2]|0;i=d;return a|0}else{IDa(a,+((c[d+36>>2]|0)>>>0));c[d+52>>2]=1;a=c[d+52>>2]|0;i=d;return a|0}return 0}function uY(a){a=a|0;var b=0;b=i;i=i+16|0;c[b+4>>2]=a;c[b>>2]=Hta(c[b+4>>2]|0,361797,1)|0;a=~~+_Ga(c[b+4>>2]|0,2);c[c[b>>2]>>2]=a;i=b;return 0}function vY(a){a=a|0;var b=0;b=i;i=i+16|0;c[b+4>>2]=a;c[b>>2]=Hta(c[b+4>>2]|0,361797,1)|0;a=qua(c[b+4>>2]|0,20880,c[b>>2]|0)|0;i=b;return a|0}function wY(a){a=a|0;var d=0.0,e=0;e=i;i=i+32|0;c[e+20>>2]=a;c[e+16>>2]=Hta(c[e+20>>2]|0,361797,1)|0;c[e+12>>2]=(c[e+16>>2]|0)+8;c[e+8>>2]=UGa(c[e+20>>2]|0,2,0)|0;c[e+4>>2]=Imb(c[e+8>>2]|0,504178)|0;a=c[e+20>>2]|0;if(c[e+4>>2]|0)d=+_Ga(a,3);else d=+$Ga(a,3,0.0);b[e+28>>1]=~~d;c[e>>2]=mua(c[e+16>>2]|0,c[e+8>>2]|0,b[e+28>>1]|0,c[e+12>>2]|0)|0;if(c[e>>2]|0){HDa(c[e+20>>2]|0);LDa(c[e+20>>2]|0,c[e>>2]|0);c[e+24>>2]=2;a=c[e+24>>2]|0;i=e;return a|0}a=c[e+20>>2]|0;if(c[e+4>>2]|0)Jta(a,361782,1);else Jta(a,361870,1);IDa(c[e+20>>2]|0,1.0);c[e+24>>2]=1;a=c[e+24>>2]|0;i=e;return a|0}function xY(a){a=a|0;var d=0;d=i;i=i+32|0;c[d+12>>2]=a;c[d+8>>2]=Fta(c[d+12>>2]|0,361870,1)|0;c[d+4>>2]=UGa(c[d+12>>2]|0,2,0)|0;b[d+20>>1]=~~+_Ga(c[d+12>>2]|0,3);c[d>>2]=nua(c[d+8>>2]|0,c[d+4>>2]|0,b[d+20>>1]|0)|0;a=c[d+12>>2]|0;if(c[d>>2]|0){HDa(a);LDa(c[d+12>>2]|0,c[d>>2]|0);c[d+16>>2]=2;a=c[d+16>>2]|0;i=d;return a|0}else{IDa(a,1.0);c[d+16>>2]=1;a=c[d+16>>2]|0;i=d;return a|0}return 0}function yY(a){a=a|0;var b=0;b=i;i=i+16|0;c[b+4>>2]=a;c[b>>2]=Hta(c[b+4>>2]|0,361797,1)|0;a=iY(c[b+4>>2]|0,(c[b>>2]|0)+8|0)|0;i=b;return a|0}function zY(a){a=a|0;var b=0;b=i;i=i+32|0;c[b+12>>2]=a;c[b+4>>2]=lua(b+8|0,2)|0;a=c[b+12>>2]|0;if(c[b+4>>2]|0){HDa(a);LDa(c[b+12>>2]|0,c[b+4>>2]|0);c[b+16>>2]=2;a=c[b+16>>2]|0;i=b;return a|0}else{c[b>>2]=nEa(a,32)|0;Jta(c[b+12>>2]|0,361870,-1);IY(b+8|0);c[c[b>>2]>>2]=c[b+8>>2];bY((c[b>>2]|0)+8|0,-1.0,-1.0);c[b+16>>2]=1;a=c[b+16>>2]|0;i=b;return a|0}return 0}function AY(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+336|0;c[e+316>>2]=a;c[e+312>>2]=b;c[e+308>>2]=d;if(+h[c[e+308>>2]>>3]==0.0){c[e+320>>2]=-1;d=c[e+320>>2]|0;i=e;return d|0}do{c[e+40>>2]=0;c[e+44>>2]=0;if(c[e+312>>2]&1|0){c[e+16>>2]=e+176;c[e+20>>2]=32;while(1){if(!(c[e+20>>2]|0))break;d=c[e+16>>2]|0;c[e+16>>2]=d+4;c[d>>2]=0;c[e+20>>2]=(c[e+20>>2]|0)+-1}d=e+176+((((c[c[e+316>>2]>>2]|0)>>>0)/32|0)<<2)|0;c[d>>2]=c[d>>2]|1<<(((c[c[e+316>>2]>>2]|0)>>>0)%32|0);c[e+44>>2]=e+176}if(c[e+312>>2]&2|0){c[e+8>>2]=e+48;c[e+12>>2]=32;while(1){if(!(c[e+12>>2]|0))break;d=c[e+8>>2]|0;c[e+8>>2]=d+4;c[d>>2]=0;c[e+12>>2]=(c[e+12>>2]|0)+-1}d=e+48+((((c[c[e+316>>2]>>2]|0)>>>0)/32|0)<<2)|0;c[d>>2]=c[d>>2]|1<<(((c[c[e+316>>2]>>2]|0)>>>0)%32|0);c[e+40>>2]=e+48}h[e>>3]=+dY(c[e+308>>2]|0);c[e+24>>2]=0;if(+h[e>>3]>=0.0){c[e+32>>2]=~~+h[e>>3];c[e+32+4>>2]=~~((+h[e>>3]-+(c[e+32>>2]|0))*1.0e6);c[e+24>>2]=e+32}c[e+304>>2]=fpb((c[c[e+316>>2]>>2]|0)+1|0,c[e+44>>2]|0,c[e+40>>2]|0,0,c[e+24>>2]|0)|0;if((c[e+304>>2]|0)!=-1)break}while((c[(Mlb()|0)>>2]|0)==4);if((c[e+304>>2]|0)==-1){c[e+320>>2]=c[(Mlb()|0)>>2];d=c[e+320>>2]|0;i=e;return d|0}if(!(c[e+304>>2]|0)){c[e+320>>2]=-1;d=c[e+320>>2]|0;i=e;return d|0}if((c[e+312>>2]|0)==3)if(c[e+176+((((c[c[e+316>>2]>>2]|0)>>>0)/32|0)<<2)>>2]&1<<(((c[c[e+316>>2]>>2]|0)>>>0)%32|0)|0){c[e+320>>2]=-2;d=c[e+320>>2]|0;i=e;return d|0}c[e+320>>2]=0;d=c[e+320>>2]|0;i=e;return d|0}function BY(){tg(13,1)|0;return 1}function CY(){return 1}function DY(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;if((c[c[b>>2]>>2]|0)==-1){i=b;return}EY(c[b>>2]|0);Wmb(c[c[b>>2]>>2]|0)|0;c[c[b>>2]>>2]=-1;i=b;return}function EY(a){a=a|0;var b=0;b=i;i=i+32|0;c[b+16>>2]=a;a=c[c[b+16>>2]>>2]|0;c[b>>2]=0;c[b+12>>2]=Zmb(a,3,b)|0;c[b+12>>2]=c[b+12>>2]&-2049;a=c[c[b+16>>2]>>2]|0;c[b+8>>2]=c[b+12>>2];Zmb(a,4,b+8|0)|0;i=b;return}function FY(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=i;i=i+48|0;c[g+36>>2]=a;c[g+32>>2]=b;c[g+28>>2]=d;c[g+24>>2]=e;c[g+20>>2]=f;while(1){h[g>>3]=+dY(c[g+20>>2]|0);c[g+8>>2]=~~+h[g>>3];c[g+8+4>>2]=~~((+h[g>>3]-+(c[g+8>>2]|0))*1.0e6);c[g+16>>2]=fpb(c[g+36>>2]|0,c[g+32>>2]|0,c[g+28>>2]|0,c[g+24>>2]|0,+h[g>>3]>=0.0?g+8|0:0)|0;if((c[g+16>>2]|0)>=0){e=4;break}if((c[(Mlb()|0)>>2]|0)!=4){e=4;break}}if((e|0)==4){i=g;return c[g+16>>2]|0}return 0}function GY(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+32|0;c[f+12>>2]=a;c[f+8>>2]=b;c[f+4>>2]=d;c[f>>2]=e;d=wob(c[f+8>>2]|0,c[f+4>>2]|0,c[f>>2]|0)|0;c[c[f+12>>2]>>2]=d;if((c[c[f+12>>2]>>2]|0)!=-1){c[f+16>>2]=0;d=c[f+16>>2]|0;i=f;return d|0}else{c[f+16>>2]=c[(Mlb()|0)>>2];d=c[f+16>>2]|0;i=f;return d|0}return 0}function HY(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;c[e+12>>2]=a;c[e+8>>2]=b;c[e+4>>2]=d;c[e>>2]=0;EY(c[e+12>>2]|0);if((Kob(c[c[e+12>>2]>>2]|0,c[e+8>>2]|0,c[e+4>>2]|0)|0)<0)c[e>>2]=c[(Mlb()|0)>>2];IY(c[e+12>>2]|0);i=e;return c[e>>2]|0}function IY(a){a=a|0;var b=0;b=i;i=i+32|0;c[b+16>>2]=a;a=c[c[b+16>>2]>>2]|0;c[b>>2]=0;c[b+12>>2]=Zmb(a,3,b)|0;c[b+12>>2]=c[b+12>>2]|2048;a=c[c[b+16>>2]>>2]|0;c[b+8>>2]=c[b+12>>2];Zmb(a,4,b+8|0)|0;i=b;return}function JY(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d+8>>2]=a;c[d+4>>2]=b;c[d>>2]=0;EY(c[d+8>>2]|0);if(Wob(c[c[d+8>>2]>>2]|0,c[d+4>>2]|0)|0)c[d>>2]=c[(Mlb()|0)>>2];IY(c[d+8>>2]|0);i=d;return c[d>>2]|0}function KY(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d+4>>2]=a;c[d>>2]=b;EY(c[d+4>>2]|0);$ob(c[c[d+4>>2]>>2]|0,c[d>>2]|0)|0;IY(c[d+4>>2]|0);i=d;return}function LY(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;g=i;i=i+32|0;c[g+16>>2]=a;c[g+12>>2]=b;c[g+8>>2]=d;c[g+4>>2]=e;do if((c[c[g+16>>2]>>2]|0)==-1)c[g+20>>2]=-2;else{do{if(!(xob(c[c[g+16>>2]>>2]|0,c[g+12>>2]|0,c[g+8>>2]|0)|0)){f=4;break}e=c[(Mlb()|0)>>2]|0;c[g>>2]=e}while((e|0)==4);if((f|0)==4){c[g+20>>2]=0;break}if((c[g>>2]|0)!=115&(c[g>>2]|0)!=11){c[g+20>>2]=c[g>>2];break}if(+h[c[g+4>>2]>>3]==0.0){c[g+20>>2]=-1;break}c[g>>2]=AY(c[g+16>>2]|0,3,c[g+4>>2]|0)|0;if((c[g>>2]|0)!=-2){c[g+20>>2]=c[g>>2];break}if(!(Yob(c[c[g+16>>2]>>2]|0,g,0,0)|0)){c[g+20>>2]=0;break}else{c[g+20>>2]=c[(Mlb()|0)>>2];break}}while(0);i=g;return c[g+20>>2]|0}function MY(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=i;i=i+48|0;c[g+24>>2]=a;c[g+20>>2]=b;c[g+16>>2]=d;c[g+12>>2]=e;c[g+8>>2]=f;c[g+4>>2]=16;if((c[c[g+24>>2]>>2]|0)==-1){c[g+28>>2]=-2;f=c[g+28>>2]|0;i=g;return f|0}if(!(c[g+16>>2]|0))c[g+16>>2]=g+32;if(!(c[g+12>>2]|0))c[g+12>>2]=g+4;while(1){f=Mob(c[c[g+24>>2]>>2]|0,c[g+16>>2]|0,c[g+12>>2]|0)|0;c[c[g+20>>2]>>2]=f;if((f|0)!=-1){d=8;break}c[g>>2]=c[(Mlb()|0)>>2];if((c[g>>2]|0)==4)continue;if((c[g>>2]|0)!=11&(c[g>>2]|0)!=103){d=11;break}f=AY(c[g+24>>2]|0,1,c[g+8>>2]|0)|0;c[g>>2]=f;if(f|0){d=13;break}}if((d|0)==8){c[g+28>>2]=0;f=c[g+28>>2]|0;i=g;return f|0}else if((d|0)==11){c[g+28>>2]=c[g>>2];f=c[g+28>>2]|0;i=g;return f|0}else if((d|0)==13){c[g+28>>2]=c[g>>2];f=c[g+28>>2]|0;i=g;return f|0}return 0}function NY(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=i;i=i+32|0;c[g+24>>2]=a;c[g+20>>2]=b;c[g+16>>2]=d;c[g+12>>2]=e;c[g+8>>2]=f;c[c[g+12>>2]>>2]=0;if((c[c[g+24>>2]>>2]|0)==-1){c[g+28>>2]=-2;f=c[g+28>>2]|0;i=g;return f|0}while(1){c[g>>2]=yob(c[c[g+24>>2]>>2]|0,c[g+20>>2]|0,c[g+16>>2]|0,0)|0;if((c[g>>2]|0)>0){d=4;break}c[g+4>>2]=c[(Mlb()|0)>>2];if((c[g>>2]|0)==0?1:(c[g+4>>2]|0)==32){d=6;break}if((c[g+4>>2]|0)==4)continue;if((c[g+4>>2]|0)!=11){d=9;break}f=AY(c[g+24>>2]|0,2,c[g+8>>2]|0)|0;c[g+4>>2]=f;if(f|0){d=11;break}}if((d|0)==4){c[c[g+12>>2]>>2]=c[g>>2];c[g+28>>2]=0;f=c[g+28>>2]|0;i=g;return f|0}else if((d|0)==6){c[g+28>>2]=-2;f=c[g+28>>2]|0;i=g;return f|0}else if((d|0)==9){c[g+28>>2]=c[g+4>>2];f=c[g+28>>2]|0;i=g;return f|0}else if((d|0)==11){c[g+28>>2]=c[g+4>>2];f=c[g+28>>2]|0;i=g;return f|0}return 0}function OY(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0;j=i;i=i+48|0;c[j+32>>2]=a;c[j+28>>2]=b;c[j+24>>2]=d;c[j+20>>2]=e;c[j+16>>2]=f;c[j+12>>2]=g;c[j+8>>2]=h;c[c[j+20>>2]>>2]=0;if((c[c[j+32>>2]>>2]|0)==-1){c[j+36>>2]=-2;h=c[j+36>>2]|0;i=j;return h|0}while(1){c[j>>2]=zob(c[c[j+32>>2]>>2]|0,c[j+28>>2]|0,c[j+24>>2]|0,0,c[j+16>>2]|0,c[j+12>>2]|0)|0;if((c[j>>2]|0)>0){f=4;break}c[j+4>>2]=c[(Mlb()|0)>>2];if((c[j>>2]|0)==0?1:(c[j+4>>2]|0)==32){f=6;break}if((c[j+4>>2]|0)==4)continue;if((c[j+4>>2]|0)!=11){f=9;break}h=AY(c[j+32>>2]|0,2,c[j+8>>2]|0)|0;c[j+4>>2]=h;if(h|0){f=11;break}}if((f|0)==4){c[c[j+20>>2]>>2]=c[j>>2];c[j+36>>2]=0;h=c[j+36>>2]|0;i=j;return h|0}else if((f|0)==6){c[j+36>>2]=-2;h=c[j+36>>2]|0;i=j;return h|0}else if((f|0)==9){c[j+36>>2]=c[j+4>>2];h=c[j+36>>2]|0;i=j;return h|0}else if((f|0)==11){c[j+36>>2]=c[j+4>>2];h=c[j+36>>2]|0;i=j;return h|0}return 0}function PY(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=i;i=i+32|0;c[g+24>>2]=a;c[g+20>>2]=b;c[g+16>>2]=d;c[g+12>>2]=e;c[g+8>>2]=f;c[c[g+12>>2]>>2]=0;if((c[c[g+24>>2]>>2]|0)==-1){c[g+28>>2]=-2;f=c[g+28>>2]|0;i=g;return f|0}while(1){c[g>>2]=Yob(c[c[g+24>>2]>>2]|0,c[g+20>>2]|0,c[g+16>>2]|0,0)|0;if((c[g>>2]|0)>0){d=4;break}c[g+4>>2]=c[(Mlb()|0)>>2];if(!(c[g>>2]|0)){d=6;break}if((c[g+4>>2]|0)==4)continue;if((c[g+4>>2]|0)!=11){d=9;break}f=AY(c[g+24>>2]|0,1,c[g+8>>2]|0)|0;c[g+4>>2]=f;if(f|0){d=11;break}}if((d|0)==4){c[c[g+12>>2]>>2]=c[g>>2];c[g+28>>2]=0;f=c[g+28>>2]|0;i=g;return f|0}else if((d|0)==6){c[g+28>>2]=-2;f=c[g+28>>2]|0;i=g;return f|0}else if((d|0)==9){c[g+28>>2]=c[g+4>>2];f=c[g+28>>2]|0;i=g;return f|0}else if((d|0)==11){c[g+28>>2]=c[g+4>>2];f=c[g+28>>2]|0;i=g;return f|0}return 0}function QY(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0;j=i;i=i+48|0;c[j+32>>2]=a;c[j+28>>2]=b;c[j+24>>2]=d;c[j+20>>2]=e;c[j+16>>2]=f;c[j+12>>2]=g;c[j+8>>2]=h;c[c[j+20>>2]>>2]=0;if((c[c[j+32>>2]>>2]|0)==-1){c[j+36>>2]=-2;h=c[j+36>>2]|0;i=j;return h|0}while(1){c[j>>2]=Lob(c[c[j+32>>2]>>2]|0,c[j+28>>2]|0,c[j+24>>2]|0,0,c[j+16>>2]|0,c[j+12>>2]|0)|0;if((c[j>>2]|0)>0){f=4;break}c[j+4>>2]=c[(Mlb()|0)>>2];if(!(c[j>>2]|0)){f=6;break}if((c[j+4>>2]|0)==4)continue;if((c[j+4>>2]|0)!=11){f=9;break}h=AY(c[j+32>>2]|0,1,c[j+8>>2]|0)|0;c[j+4>>2]=h;if(h|0){f=11;break}}if((f|0)==4){c[c[j+20>>2]>>2]=c[j>>2];c[j+36>>2]=0;h=c[j+36>>2]|0;i=j;return h|0}else if((f|0)==6){c[j+36>>2]=-2;h=c[j+36>>2]|0;i=j;return h|0}else if((f|0)==9){c[j+36>>2]=c[j+4>>2];h=c[j+36>>2]|0;i=j;return h|0}else if((f|0)==11){c[j+36>>2]=c[j+4>>2];h=c[j+36>>2]|0;i=j;return h|0}return 0}function RY(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;c[e+8>>2]=a;c[e+4>>2]=b;c[e>>2]=d;b=od(c[e+8>>2]|0,c[e+4>>2]|0,2)|0;c[c[e>>2]>>2]=b;do if(c[c[e>>2]>>2]|0)c[e+12>>2]=0;else{if(c[(Pob()|0)>>2]|0){c[e+12>>2]=c[(Pob()|0)>>2];break}if(c[(Mlb()|0)>>2]|0){c[e+12>>2]=c[(Mlb()|0)>>2];break}else{c[e+12>>2]=-3;break}}while(0);i=e;return c[e+12>>2]|0}function SY(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d+4>>2]=a;c[d>>2]=b;b=Bf(c[d+4>>2]|0)|0;c[c[d>>2]>>2]=b;do if(c[c[d>>2]>>2]|0)c[d+8>>2]=0;else{if(c[(Pob()|0)>>2]|0){c[d+8>>2]=c[(Pob()|0)>>2];break}if(c[(Mlb()|0)>>2]|0){c[d+8>>2]=c[(Mlb()|0)>>2];break}else{c[d+8>>2]=-3;break}}while(0);i=d;return c[d+8>>2]|0}function TY(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;a=c[b>>2]|0;do if((c[b>>2]|0)<=0)c[b+4>>2]=pua(a)|0;else if((a|0)==1){c[b+4>>2]=362088;break}else{c[b+4>>2]=Qob(c[b>>2]|0)|0;break}while(0);i=b;return c[b+4>>2]|0}function UY(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;a=c[b>>2]|0;a:do if((c[b>>2]|0)<=0)c[b+4>>2]=pua(a)|0;else switch(a|0){case 98:{c[b+4>>2]=362103;break a}case 106:{c[b+4>>2]=362126;break a}case 13:{c[b+4>>2]=362144;break a}case 111:{c[b+4>>2]=362162;break a}case 103:{c[b+4>>2]=503939;break a}case 104:{c[b+4>>2]=503939;break a}case 110:{c[b+4>>2]=504019;break a}default:{c[b+4>>2]=Bmb(c[(Mlb()|0)>>2]|0)|0;break a}}while(0);i=b;return c[b+4>>2]|0}function VY(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d+4>>2]=a;c[d>>2]=b;a=UY(c[d>>2]|0)|0;i=d;return a|0}function WY(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;if((c[b>>2]|0)>>>0>2113929216){a=0;i=b;return a|0}a=(c[b>>2]|0)+((c[b>>2]|0)/255|0)+16|0;i=b;return a|0}function XY(b,e,f,h,j,k){b=b|0;e=e|0;f=f|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0;u=0;s=i;i=i+1744|0;c[s+20>>2]=b;c[s+696>>2]=e;c[s+704>>2]=f;c[s+712>>2]=h;c[s+720>>2]=j;c[s+728>>2]=k;c[s+1128>>2]=l;c[s+1400>>2]=n;c[s+1408>>2]=o;c[s+1416>>2]=p;c[s+1432>>2]=q;c[s+1448>>2]=r;c[s+1664>>2]=u;c[s+1672>>2]=m;c[s+1696>>2]=0;c[s+1700>>2]=0;D2(s);n=c[s+1400>>2]|0;o=c[s+1408>>2]|0;p=c[s+1416>>2]|0;q=c[s+1432>>2]|0;r=c[s+1448>>2]|0;f=c[s+1664>>2]|0;m=c[s+1672>>2]|0;A=c[s+1696>>2]|0;t=c[s+1700>>2]|0;B=+g[s+1700>>2];c[s+1696>>2]=0;c[s+1700>>2]=0;if((A|0)==6)return t|0;if(m)if(1){l=c[s+4>>2]|0;k=1;if(k)if(n){u=c[s>>2]|0;c[s+500>>2]=o;c[s+496>>2]=p;c[s+492>>2]=q;c[s+488>>2]=r;c[s+484>>2]=l;c[s+480>>2]=1;c[s+476>>2]=2;c[s+472>>2]=0;c[s+468>>2]=0;c[s+464>>2]=u;c[s+460>>2]=c[s+500>>2];c[s+456>>2]=c[s+496>>2];c[s+444>>2]=(c[s+456>>2]|0)+(0-(c[(c[s+460>>2]|0)+16400>>2]|0));c[s+440>>2]=c[(c[s+460>>2]|0)+16392>>2];c[s+436>>2]=(c[s+440>>2]|0)+(c[(c[s+460>>2]|0)+16400>>2]|0);c[s+432>>2]=(c[s+436>>2]|0)-(c[s+496>>2]|0);c[s+428>>2]=c[s+496>>2];c[s+424>>2]=(c[s+456>>2]|0)+(c[s+488>>2]|0);c[s+420>>2]=(c[s+424>>2]|0)+-12;c[s+416>>2]=(c[s+424>>2]|0)+-5;c[s+412>>2]=c[s+492>>2];c[s+408>>2]=(c[s+412>>2]|0)+(c[s+484>>2]|0);c[s+400>>2]=0;a:do if((c[s+488>>2]|0)>>>0>2113929216)c[s+504>>2]=0;else{switch(c[s+472>>2]|0){case 2:{c[s+452>>2]=(c[s+496>>2]|0)+(0-(c[(c[s+460>>2]|0)+16384>>2]|0));c[s+448>>2]=c[s+496>>2];break}case 1:{c[s+452>>2]=(c[s+496>>2]|0)+(0-(c[(c[s+460>>2]|0)+16384>>2]|0));c[s+448>>2]=(c[s+496>>2]|0)+(0-(c[(c[s+460>>2]|0)+16400>>2]|0));break}default:{c[s+452>>2]=c[s+496>>2];c[s+448>>2]=c[s+496>>2]}}if((c[s+476>>2]|0)==2?(c[s+488>>2]|0)>=65547:0){c[s+504>>2]=0;break}b:do if((c[s+488>>2]|0)>=13){ZY(c[s+456>>2]|0,c[s+500>>2]|0,c[s+476>>2]|0,c[s+452>>2]|0);c[s+456>>2]=(c[s+456>>2]|0)+1;c[s+404>>2]=_Y(c[s+456>>2]|0,c[s+476>>2]|0)|0;c:while(1){c[s+388>>2]=c[s+456>>2];c[s+384>>2]=1;c[s+380>>2]=c[s+464>>2]<<6;while(1){c[s+376>>2]=c[s+404>>2];c[s+456>>2]=c[s+388>>2];c[s+388>>2]=(c[s+388>>2]|0)+(c[s+384>>2]|0);u=c[s+380>>2]|0;c[s+380>>2]=u+1;c[s+384>>2]=u>>>6;if((c[s+388>>2]|0)>>>0>(c[s+420>>2]|0)>>>0)break b;c[s+396>>2]=hZ(c[s+376>>2]|0,c[s+500>>2]|0,c[s+476>>2]|0,c[s+452>>2]|0)|0;do if((c[s+472>>2]|0)==2)if((c[s+396>>2]|0)>>>0<(c[s+496>>2]|0)>>>0){c[s+400>>2]=c[s+432>>2];c[s+448>>2]=c[s+440>>2];break}else{c[s+400>>2]=0;c[s+448>>2]=c[s+496>>2];break}while(0);c[s+404>>2]=_Y(c[s+388>>2]|0,c[s+476>>2]|0)|0;gZ(c[s+456>>2]|0,c[s+376>>2]|0,c[s+500>>2]|0,c[s+476>>2]|0,c[s+452>>2]|0);if((c[s+468>>2]|0)==1)if((c[s+396>>2]|0)>>>0<(c[s+444>>2]|0)>>>0)continue;if((c[s+476>>2]|0)!=2)if(((c[s+396>>2]|0)+65535|0)>>>0<(c[s+456>>2]|0)>>>0)continue;u=cZ((c[s+396>>2]|0)+(c[s+400>>2]|0)|0)|0;if((u|0)==(cZ(c[s+456>>2]|0)|0))break}while(1){if((c[s+456>>2]|0)>>>0>(c[s+428>>2]|0)>>>0)if(((c[s+396>>2]|0)+(c[s+400>>2]|0)|0)>>>0>(c[s+448>>2]|0)>>>0)k=(d[(c[s+456>>2]|0)+-1>>0]|0|0)==(d[(c[s+396>>2]|0)+((c[s+400>>2]|0)-1)>>0]|0|0);else k=0;else k=0;l=c[s+456>>2]|0;if(!k)break;c[s+456>>2]=l+-1;c[s+396>>2]=(c[s+396>>2]|0)+-1}c[s+372>>2]=l-(c[s+428>>2]|0);u=c[s+412>>2]|0;c[s+412>>2]=u+1;c[s+392>>2]=u;if(c[s+480>>2]|0)if(((c[s+412>>2]|0)+(c[s+372>>2]|0)+8+(((c[s+372>>2]|0)>>>0)/255|0)|0)>>>0>(c[s+408>>2]|0)>>>0){f=186;break}l=c[s+372>>2]|0;if((c[s+372>>2]|0)>>>0>=15){c[s+368>>2]=l-15;a[c[s+392>>2]>>0]=-16;while(1){if((c[s+368>>2]|0)<255)break;u=c[s+412>>2]|0;c[s+412>>2]=u+1;a[u>>0]=-1;c[s+368>>2]=(c[s+368>>2]|0)-255}r=c[s+368>>2]&255;u=c[s+412>>2]|0;c[s+412>>2]=u+1;a[u>>0]=r}else a[c[s+392>>2]>>0]=l<<4;iZ(c[s+412>>2]|0,c[s+428>>2]|0,(c[s+412>>2]|0)+(c[s+372>>2]|0)|0);c[s+412>>2]=(c[s+412>>2]|0)+(c[s+372>>2]|0);while(1){kZ(c[s+412>>2]|0,(c[s+456>>2]|0)-(c[s+396>>2]|0)&65535);c[s+412>>2]=(c[s+412>>2]|0)+2;if((c[s+472>>2]|0)==2)if((c[s+448>>2]|0)==(c[s+440>>2]|0)){c[s+396>>2]=(c[s+396>>2]|0)+(c[s+400>>2]|0);c[s+360>>2]=(c[s+456>>2]|0)+((c[s+436>>2]|0)-(c[s+396>>2]|0));if((c[s+360>>2]|0)>>>0>(c[s+416>>2]|0)>>>0)c[s+360>>2]=c[s+416>>2];c[s+364>>2]=mZ((c[s+456>>2]|0)+4|0,(c[s+396>>2]|0)+4|0,c[s+360>>2]|0)|0;c[s+456>>2]=(c[s+456>>2]|0)+(4+(c[s+364>>2]|0));if((c[s+456>>2]|0)==(c[s+360>>2]|0)){c[s+356>>2]=mZ(c[s+456>>2]|0,c[s+496>>2]|0,c[s+416>>2]|0)|0;c[s+364>>2]=(c[s+364>>2]|0)+(c[s+356>>2]|0);c[s+456>>2]=(c[s+456>>2]|0)+(c[s+356>>2]|0)}}else f=200;else f=200;if((f|0)==200){f=0;c[s+364>>2]=mZ((c[s+456>>2]|0)+4|0,(c[s+396>>2]|0)+4|0,c[s+416>>2]|0)|0;c[s+456>>2]=(c[s+456>>2]|0)+(4+(c[s+364>>2]|0))}if(c[s+480>>2]|0)if(((c[s+412>>2]|0)+6+((c[s+364>>2]|0)>>>8)|0)>>>0>(c[s+408>>2]|0)>>>0){f=203;break c}if((c[s+364>>2]|0)>>>0>=15){u=c[s+392>>2]|0;a[u>>0]=(d[u>>0]|0)+15;c[s+364>>2]=(c[s+364>>2]|0)-15;while(1){if((c[s+364>>2]|0)>>>0<510)break;u=c[s+412>>2]|0;c[s+412>>2]=u+1;a[u>>0]=-1;u=c[s+412>>2]|0;c[s+412>>2]=u+1;a[u>>0]=-1;c[s+364>>2]=(c[s+364>>2]|0)-510}if((c[s+364>>2]|0)>>>0>=255){c[s+364>>2]=(c[s+364>>2]|0)-255;u=c[s+412>>2]|0;c[s+412>>2]=u+1;a[u>>0]=-1}r=c[s+364>>2]&255;u=c[s+412>>2]|0;c[s+412>>2]=u+1;a[u>>0]=r}else{u=c[s+392>>2]|0;a[u>>0]=(d[u>>0]|0)+(c[s+364>>2]&255)}c[s+428>>2]=c[s+456>>2];if((c[s+456>>2]|0)>>>0>(c[s+420>>2]|0)>>>0)break b;ZY((c[s+456>>2]|0)+-2|0,c[s+500>>2]|0,c[s+476>>2]|0,c[s+452>>2]|0);c[s+396>>2]=pZ(c[s+456>>2]|0,c[s+500>>2]|0,c[s+476>>2]|0,c[s+452>>2]|0)|0;do if((c[s+472>>2]|0)==2)if((c[s+396>>2]|0)>>>0<(c[s+496>>2]|0)>>>0){c[s+400>>2]=c[s+432>>2];c[s+448>>2]=c[s+440>>2];break}else{c[s+400>>2]=0;c[s+448>>2]=c[s+496>>2];break}while(0);ZY(c[s+456>>2]|0,c[s+500>>2]|0,c[s+476>>2]|0,c[s+452>>2]|0);if((c[s+468>>2]|0)==1)if((c[s+396>>2]|0)>>>0<(c[s+444>>2]|0)>>>0)break;if(((c[s+396>>2]|0)+65535|0)>>>0<(c[s+456>>2]|0)>>>0)break;u=cZ((c[s+396>>2]|0)+(c[s+400>>2]|0)|0)|0;if((u|0)!=(cZ(c[s+456>>2]|0)|0))break;u=c[s+412>>2]|0;c[s+412>>2]=u+1;c[s+392>>2]=u;a[c[s+392>>2]>>0]=0}u=(c[s+456>>2]|0)+1|0;c[s+456>>2]=u;c[s+404>>2]=_Y(u,c[s+476>>2]|0)|0}if((f|0)==186){c[s+504>>2]=0;break a}else if((f|0)==203){c[s+504>>2]=0;break a}}while(0);c[s+352>>2]=(c[s+424>>2]|0)-(c[s+428>>2]|0);if(c[s+480>>2]|0)if(((c[s+412>>2]|0)-(c[s+492>>2]|0)+(c[s+352>>2]|0)+1+((((c[s+352>>2]|0)+255-15|0)>>>0)/255|0)|0)>>>0>(c[s+484>>2]|0)>>>0){c[s+504>>2]=0;break}l=c[s+352>>2]|0;if((c[s+352>>2]|0)>>>0>=15){c[s+348>>2]=l-15;u=c[s+412>>2]|0;c[s+412>>2]=u+1;a[u>>0]=-16;while(1){if((c[s+348>>2]|0)>>>0<255)break;u=c[s+412>>2]|0;c[s+412>>2]=u+1;a[u>>0]=-1;c[s+348>>2]=(c[s+348>>2]|0)-255}r=c[s+348>>2]&255;u=c[s+412>>2]|0;c[s+412>>2]=u+1;a[u>>0]=r}else{u=c[s+412>>2]|0;c[s+412>>2]=u+1;a[u>>0]=l<<4}mBb(c[s+412>>2]|0,c[s+428>>2]|0,c[s+352>>2]|0)|0;c[s+412>>2]=(c[s+412>>2]|0)+(c[s+352>>2]|0);c[s+504>>2]=(c[s+412>>2]|0)-(c[s+492>>2]|0)}while(0);c[s+24>>2]=c[s+504>>2];u=c[s+24>>2]|0;i=s;return u|0}else k=1;if(k)if(1){n=(aZ()|0)!=0;u=c[s>>2]|0;c[s+660>>2]=o;c[s+656>>2]=p;c[s+652>>2]=q;c[s+648>>2]=r;c[s+644>>2]=l;c[s+640>>2]=1;c[s+636>>2]=n?1:0;c[s+632>>2]=0;c[s+628>>2]=0;c[s+624>>2]=u;c[s+620>>2]=c[s+660>>2];c[s+616>>2]=c[s+656>>2];c[s+604>>2]=(c[s+616>>2]|0)+(0-(c[(c[s+620>>2]|0)+16400>>2]|0));c[s+600>>2]=c[(c[s+620>>2]|0)+16392>>2];c[s+596>>2]=(c[s+600>>2]|0)+(c[(c[s+620>>2]|0)+16400>>2]|0);c[s+592>>2]=(c[s+596>>2]|0)-(c[s+656>>2]|0);c[s+588>>2]=c[s+656>>2];c[s+584>>2]=(c[s+616>>2]|0)+(c[s+648>>2]|0);c[s+580>>2]=(c[s+584>>2]|0)+-12;c[s+576>>2]=(c[s+584>>2]|0)+-5;c[s+572>>2]=c[s+652>>2];c[s+568>>2]=(c[s+572>>2]|0)+(c[s+644>>2]|0);c[s+560>>2]=0;d:do if((c[s+648>>2]|0)>>>0>2113929216)c[s+664>>2]=0;else{switch(c[s+632>>2]|0){case 2:{c[s+612>>2]=(c[s+656>>2]|0)+(0-(c[(c[s+620>>2]|0)+16384>>2]|0));c[s+608>>2]=c[s+656>>2];break}case 1:{c[s+612>>2]=(c[s+656>>2]|0)+(0-(c[(c[s+620>>2]|0)+16384>>2]|0));c[s+608>>2]=(c[s+656>>2]|0)+(0-(c[(c[s+620>>2]|0)+16400>>2]|0));break}default:{c[s+612>>2]=c[s+656>>2];c[s+608>>2]=c[s+656>>2]}}if((c[s+636>>2]|0)==2?(c[s+648>>2]|0)>=65547:0){c[s+664>>2]=0;break}e:do if((c[s+648>>2]|0)>=13){ZY(c[s+616>>2]|0,c[s+660>>2]|0,c[s+636>>2]|0,c[s+612>>2]|0);c[s+616>>2]=(c[s+616>>2]|0)+1;c[s+564>>2]=_Y(c[s+616>>2]|0,c[s+636>>2]|0)|0;f:while(1){c[s+548>>2]=c[s+616>>2];c[s+544>>2]=1;c[s+540>>2]=c[s+624>>2]<<6;while(1){c[s+536>>2]=c[s+564>>2];c[s+616>>2]=c[s+548>>2];c[s+548>>2]=(c[s+548>>2]|0)+(c[s+544>>2]|0);u=c[s+540>>2]|0;c[s+540>>2]=u+1;c[s+544>>2]=u>>>6;if((c[s+548>>2]|0)>>>0>(c[s+580>>2]|0)>>>0)break e;c[s+556>>2]=hZ(c[s+536>>2]|0,c[s+660>>2]|0,c[s+636>>2]|0,c[s+612>>2]|0)|0;do if((c[s+632>>2]|0)==2)if((c[s+556>>2]|0)>>>0<(c[s+656>>2]|0)>>>0){c[s+560>>2]=c[s+592>>2];c[s+608>>2]=c[s+600>>2];break}else{c[s+560>>2]=0;c[s+608>>2]=c[s+656>>2];break}while(0);c[s+564>>2]=_Y(c[s+548>>2]|0,c[s+636>>2]|0)|0;gZ(c[s+616>>2]|0,c[s+536>>2]|0,c[s+660>>2]|0,c[s+636>>2]|0,c[s+612>>2]|0);if((c[s+628>>2]|0)==1)if((c[s+556>>2]|0)>>>0<(c[s+604>>2]|0)>>>0)continue;if((c[s+636>>2]|0)!=2)if(((c[s+556>>2]|0)+65535|0)>>>0<(c[s+616>>2]|0)>>>0)continue;u=cZ((c[s+556>>2]|0)+(c[s+560>>2]|0)|0)|0;if((u|0)==(cZ(c[s+616>>2]|0)|0))break}while(1){if((c[s+616>>2]|0)>>>0>(c[s+588>>2]|0)>>>0)if(((c[s+556>>2]|0)+(c[s+560>>2]|0)|0)>>>0>(c[s+608>>2]|0)>>>0)k=(d[(c[s+616>>2]|0)+-1>>0]|0|0)==(d[(c[s+556>>2]|0)+((c[s+560>>2]|0)-1)>>0]|0|0);else k=0;else k=0;l=c[s+616>>2]|0;if(!k)break;c[s+616>>2]=l+-1;c[s+556>>2]=(c[s+556>>2]|0)+-1}c[s+532>>2]=l-(c[s+588>>2]|0);u=c[s+572>>2]|0;c[s+572>>2]=u+1;c[s+552>>2]=u;if(c[s+640>>2]|0)if(((c[s+572>>2]|0)+(c[s+532>>2]|0)+8+(((c[s+532>>2]|0)>>>0)/255|0)|0)>>>0>(c[s+568>>2]|0)>>>0){f=262;break}l=c[s+532>>2]|0;if((c[s+532>>2]|0)>>>0>=15){c[s+528>>2]=l-15;a[c[s+552>>2]>>0]=-16;while(1){if((c[s+528>>2]|0)<255)break;u=c[s+572>>2]|0;c[s+572>>2]=u+1;a[u>>0]=-1;c[s+528>>2]=(c[s+528>>2]|0)-255}r=c[s+528>>2]&255;u=c[s+572>>2]|0;c[s+572>>2]=u+1;a[u>>0]=r}else a[c[s+552>>2]>>0]=l<<4;iZ(c[s+572>>2]|0,c[s+588>>2]|0,(c[s+572>>2]|0)+(c[s+532>>2]|0)|0);c[s+572>>2]=(c[s+572>>2]|0)+(c[s+532>>2]|0);while(1){kZ(c[s+572>>2]|0,(c[s+616>>2]|0)-(c[s+556>>2]|0)&65535);c[s+572>>2]=(c[s+572>>2]|0)+2;if((c[s+632>>2]|0)==2)if((c[s+608>>2]|0)==(c[s+600>>2]|0)){c[s+556>>2]=(c[s+556>>2]|0)+(c[s+560>>2]|0);c[s+520>>2]=(c[s+616>>2]|0)+((c[s+596>>2]|0)-(c[s+556>>2]|0));if((c[s+520>>2]|0)>>>0>(c[s+576>>2]|0)>>>0)c[s+520>>2]=c[s+576>>2];c[s+524>>2]=mZ((c[s+616>>2]|0)+4|0,(c[s+556>>2]|0)+4|0,c[s+520>>2]|0)|0;c[s+616>>2]=(c[s+616>>2]|0)+(4+(c[s+524>>2]|0));if((c[s+616>>2]|0)==(c[s+520>>2]|0)){c[s+516>>2]=mZ(c[s+616>>2]|0,c[s+656>>2]|0,c[s+576>>2]|0)|0;c[s+524>>2]=(c[s+524>>2]|0)+(c[s+516>>2]|0);c[s+616>>2]=(c[s+616>>2]|0)+(c[s+516>>2]|0)}}else f=276;else f=276;if((f|0)==276){f=0;c[s+524>>2]=mZ((c[s+616>>2]|0)+4|0,(c[s+556>>2]|0)+4|0,c[s+576>>2]|0)|0;c[s+616>>2]=(c[s+616>>2]|0)+(4+(c[s+524>>2]|0))}if(c[s+640>>2]|0)if(((c[s+572>>2]|0)+6+((c[s+524>>2]|0)>>>8)|0)>>>0>(c[s+568>>2]|0)>>>0){f=279;break f}if((c[s+524>>2]|0)>>>0>=15){u=c[s+552>>2]|0;a[u>>0]=(d[u>>0]|0)+15;c[s+524>>2]=(c[s+524>>2]|0)-15;while(1){if((c[s+524>>2]|0)>>>0<510)break;u=c[s+572>>2]|0;c[s+572>>2]=u+1;a[u>>0]=-1;u=c[s+572>>2]|0;c[s+572>>2]=u+1;a[u>>0]=-1;c[s+524>>2]=(c[s+524>>2]|0)-510}if((c[s+524>>2]|0)>>>0>=255){c[s+524>>2]=(c[s+524>>2]|0)-255;u=c[s+572>>2]|0;c[s+572>>2]=u+1;a[u>>0]=-1}r=c[s+524>>2]&255;u=c[s+572>>2]|0;c[s+572>>2]=u+1;a[u>>0]=r}else{u=c[s+552>>2]|0;a[u>>0]=(d[u>>0]|0)+(c[s+524>>2]&255)}c[s+588>>2]=c[s+616>>2];if((c[s+616>>2]|0)>>>0>(c[s+580>>2]|0)>>>0)break e;ZY((c[s+616>>2]|0)+-2|0,c[s+660>>2]|0,c[s+636>>2]|0,c[s+612>>2]|0);c[s+556>>2]=pZ(c[s+616>>2]|0,c[s+660>>2]|0,c[s+636>>2]|0,c[s+612>>2]|0)|0;do if((c[s+632>>2]|0)==2)if((c[s+556>>2]|0)>>>0<(c[s+656>>2]|0)>>>0){c[s+560>>2]=c[s+592>>2];c[s+608>>2]=c[s+600>>2];break}else{c[s+560>>2]=0;c[s+608>>2]=c[s+656>>2];break}while(0);ZY(c[s+616>>2]|0,c[s+660>>2]|0,c[s+636>>2]|0,c[s+612>>2]|0);if((c[s+628>>2]|0)==1)if((c[s+556>>2]|0)>>>0<(c[s+604>>2]|0)>>>0)break;if(((c[s+556>>2]|0)+65535|0)>>>0<(c[s+616>>2]|0)>>>0)break;u=cZ((c[s+556>>2]|0)+(c[s+560>>2]|0)|0)|0;if((u|0)!=(cZ(c[s+616>>2]|0)|0))break;u=c[s+572>>2]|0;c[s+572>>2]=u+1;c[s+552>>2]=u;a[c[s+552>>2]>>0]=0}u=(c[s+616>>2]|0)+1|0;c[s+616>>2]=u;c[s+564>>2]=_Y(u,c[s+636>>2]|0)|0}if((f|0)==262){c[s+664>>2]=0;break d}else if((f|0)==279){c[s+664>>2]=0;break d}}while(0);c[s+512>>2]=(c[s+584>>2]|0)-(c[s+588>>2]|0);if(c[s+640>>2]|0)if(((c[s+572>>2]|0)-(c[s+652>>2]|0)+(c[s+512>>2]|0)+1+((((c[s+512>>2]|0)+255-15|0)>>>0)/255|0)|0)>>>0>(c[s+644>>2]|0)>>>0){c[s+664>>2]=0;break}l=c[s+512>>2]|0;if((c[s+512>>2]|0)>>>0>=15){c[s+508>>2]=l-15;u=c[s+572>>2]|0;c[s+572>>2]=u+1;a[u>>0]=-16;while(1){if((c[s+508>>2]|0)>>>0<255)break;u=c[s+572>>2]|0;c[s+572>>2]=u+1;a[u>>0]=-1;c[s+508>>2]=(c[s+508>>2]|0)-255}r=c[s+508>>2]&255;u=c[s+572>>2]|0;c[s+572>>2]=u+1;a[u>>0]=r}else{u=c[s+572>>2]|0;c[s+572>>2]=u+1;a[u>>0]=l<<4}mBb(c[s+572>>2]|0,c[s+588>>2]|0,c[s+512>>2]|0)|0;c[s+572>>2]=(c[s+572>>2]|0)+(c[s+512>>2]|0);c[s+664>>2]=(c[s+572>>2]|0)-(c[s+652>>2]|0)}while(0);c[s+24>>2]=c[s+664>>2];u=c[s+24>>2]|0;i=s;return u|0}}return 0}function YY(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;hBb(c[b>>2]|0,0,16416)|0;i=b;return}function ZY(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+32|0;c[f+16>>2]=a;c[f+12>>2]=b;c[f+8>>2]=d;c[f+4>>2]=e;c[f>>2]=_Y(c[f+16>>2]|0,c[f+8>>2]|0)|0;gZ(c[f+16>>2]|0,c[f>>2]|0,c[f+12>>2]|0,c[f+8>>2]|0,c[f+4>>2]|0);i=f;return}function _Y(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d+4>>2]=a;c[d>>2]=b;b=$Y(c[d+4>>2]|0)|0;b=dZ(b,c[d>>2]|0)|0;i=d;return b|0}function $Y(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;c[b>>2]=a;d=(aZ()|0)!=0;a=c[b>>2]|0;if(d){d=bZ(a)|0;c[b+4>>2]=d;d=c[b+4>>2]|0;i=b;return d|0}else{c[b+4>>2]=cZ(a)|0;d=c[b+4>>2]|0;i=b;return d|0}return 0}function aZ(){return 0}function bZ(b){b=b|0;var d=0;d=i;i=i+16|0;c[d+8>>2]=b;b=c[d+8>>2]|0;a[d>>0]=a[b>>0]|0;a[d+1>>0]=a[b+1>>0]|0;a[d+2>>0]=a[b+2>>0]|0;a[d+3>>0]=a[b+3>>0]|0;a[d+4>>0]=a[b+4>>0]|0;a[d+5>>0]=a[b+5>>0]|0;a[d+6>>0]=a[b+6>>0]|0;a[d+7>>0]=a[b+7>>0]|0;C=c[d+4>>2]|0;i=d;return c[d>>2]|0}function cZ(b){b=b|0;var d=0;d=i;i=i+16|0;c[d+4>>2]=b;b=c[d+4>>2]|0;a[d>>0]=a[b>>0]|0;a[d+1>>0]=a[b+1>>0]|0;a[d+2>>0]=a[b+2>>0]|0;a[d+3>>0]=a[b+3>>0]|0;i=d;return c[d>>2]|0}function dZ(a,b){a=a|0;b=b|0;var d=0,e=0;d=i;i=i+16|0;c[d+4>>2]=a;c[d>>2]=b;e=(aZ()|0)!=0;a=c[d+4>>2]|0;b=c[d>>2]|0;if(e){c[d+8>>2]=eZ(a,b)|0;e=c[d+8>>2]|0;i=d;return e|0}else{c[d+8>>2]=fZ(a,b)|0;e=c[d+8>>2]|0;i=d;return e|0}return 0}function eZ(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d+12>>2]=a;c[d+8>>2]=b;c[d+4>>2]=(c[d+8>>2]|0)==2?13:12;c[d>>2]=(1<>2])-1;b=wBb(c[d+12>>2]|0,0,465362107,207)|0;b=rBb(b|0,C|0,40-(c[d+4>>2]|0)|0)|0;i=d;return b&c[d>>2]|0}function fZ(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d+4>>2]=a;c[d>>2]=b;a=_(c[d+4>>2]|0,-1640531535)|0;if((c[d>>2]|0)==2){c[d+8>>2]=a>>>19;b=c[d+8>>2]|0;i=d;return b|0}else{c[d+8>>2]=a>>>20;b=c[d+8>>2]|0;i=d;return b|0}return 0}function gZ(a,d,e,f,g){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+32|0;c[h+28>>2]=a;c[h+24>>2]=d;c[h+20>>2]=e;c[h+16>>2]=f;c[h+12>>2]=g;switch(c[h+16>>2]|0){case 0:{c[h+8>>2]=c[h+20>>2];c[(c[h+8>>2]|0)+(c[h+24>>2]<<2)>>2]=c[h+28>>2];i=h;return}case 1:{c[h+4>>2]=c[h+20>>2];c[(c[h+4>>2]|0)+(c[h+24>>2]<<2)>>2]=(c[h+28>>2]|0)-(c[h+12>>2]|0);i=h;return}case 2:{c[h>>2]=c[h+20>>2];b[(c[h>>2]|0)+(c[h+24>>2]<<1)>>1]=(c[h+28>>2]|0)-(c[h+12>>2]|0);i=h;return}default:{i=h;return}}}function hZ(a,b,d,f){a=a|0;b=b|0;d=d|0;f=f|0;var g=0;g=i;i=i+32|0;c[g+24>>2]=a;c[g+20>>2]=b;c[g+16>>2]=d;c[g+12>>2]=f;if(!(c[g+16>>2]|0)){c[g+8>>2]=c[g+20>>2];c[g+28>>2]=c[(c[g+8>>2]|0)+(c[g+24>>2]<<2)>>2];d=c[g+28>>2]|0;i=g;return d|0}a=c[g+20>>2]|0;if((c[g+16>>2]|0)==1){c[g+4>>2]=a;c[g+28>>2]=(c[g+12>>2]|0)+(c[(c[g+4>>2]|0)+(c[g+24>>2]<<2)>>2]|0);d=c[g+28>>2]|0;i=g;return d|0}else{c[g>>2]=a;c[g+28>>2]=(c[g+12>>2]|0)+(e[(c[g>>2]|0)+(c[g+24>>2]<<1)>>1]|0);d=c[g+28>>2]|0;i=g;return d|0}return 0}function iZ(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+32|0;c[e+20>>2]=a;c[e+16>>2]=b;c[e+12>>2]=d;c[e+8>>2]=c[e+20>>2];c[e+4>>2]=c[e+16>>2];c[e>>2]=c[e+12>>2];do{jZ(c[e+8>>2]|0,c[e+4>>2]|0);c[e+8>>2]=(c[e+8>>2]|0)+8;c[e+4>>2]=(c[e+4>>2]|0)+8}while((c[e+8>>2]|0)>>>0<(c[e>>2]|0)>>>0);i=e;return}function jZ(b,d){b=b|0;d=d|0;var e=0;e=i;i=i+16|0;c[e+4>>2]=b;c[e>>2]=d;d=c[e+4>>2]|0;b=c[e>>2]|0;a[d>>0]=a[b>>0]|0;a[d+1>>0]=a[b+1>>0]|0;a[d+2>>0]=a[b+2>>0]|0;a[d+3>>0]=a[b+3>>0]|0;a[d+4>>0]=a[b+4>>0]|0;a[d+5>>0]=a[b+5>>0]|0;a[d+6>>0]=a[b+6>>0]|0;a[d+7>>0]=a[b+7>>0]|0;i=e;return}function kZ(d,f){d=d|0;f=f|0;var g=0;g=i;i=i+16|0;c[g+4>>2]=d;b[g+8>>1]=f;f=(lZ()|0)!=0;d=c[g+4>>2]|0;if(f){a[d>>0]=a[g+8>>0]|0;a[d+1>>0]=a[g+8+1>>0]|0;i=g;return}else{c[g>>2]=d;a[c[g>>2]>>0]=b[g+8>>1];a[(c[g>>2]|0)+1>>0]=(e[g+8>>1]|0)>>8;i=g;return}}function lZ(){return d[21024]|0|0}function mZ(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0;g=i;i=i+32|0;c[g+16>>2]=a;c[g+12>>2]=b;c[g+8>>2]=e;c[g+4>>2]=c[g+16>>2];while(1){if(!((c[g+16>>2]|0)>>>0<((c[g+8>>2]|0)+-3|0)>>>0|0))break;b=$Y(c[g+12>>2]|0)|0;c[g>>2]=b^($Y(c[g+16>>2]|0)|0);if(c[g>>2]|0){f=5;break}c[g+16>>2]=(c[g+16>>2]|0)+4;c[g+12>>2]=(c[g+12>>2]|0)+4}if((f|0)==5){f=nZ(c[g>>2]|0)|0;c[g+16>>2]=(c[g+16>>2]|0)+f;c[g+20>>2]=(c[g+16>>2]|0)-(c[g+4>>2]|0);f=c[g+20>>2]|0;i=g;return f|0}if(aZ()|0)if((c[g+16>>2]|0)>>>0<((c[g+8>>2]|0)+-3|0)>>>0){f=cZ(c[g+12>>2]|0)|0;if((f|0)==(cZ(c[g+16>>2]|0)|0)){c[g+16>>2]=(c[g+16>>2]|0)+4;c[g+12>>2]=(c[g+12>>2]|0)+4}}if((c[g+16>>2]|0)>>>0<((c[g+8>>2]|0)+-1|0)>>>0){f=(oZ(c[g+12>>2]|0)|0)&65535;if((f|0)==((oZ(c[g+16>>2]|0)|0)&65535|0)){c[g+16>>2]=(c[g+16>>2]|0)+2;c[g+12>>2]=(c[g+12>>2]|0)+2}}if((c[g+16>>2]|0)>>>0<(c[g+8>>2]|0)>>>0)if((d[c[g+12>>2]>>0]|0|0)==(d[c[g+16>>2]>>0]|0|0))c[g+16>>2]=(c[g+16>>2]|0)+1;c[g+20>>2]=(c[g+16>>2]|0)-(c[g+4>>2]|0);f=c[g+20>>2]|0;i=g;return f|0}function nZ(a){a=a|0;var b=0,d=0,e=0;d=i;i=i+16|0;c[d>>2]=a;e=(lZ()|0)!=0;a=(aZ()|0)!=0;b=c[d>>2]|0;do if(e)if(a){e=Af(b|0,0,0)|0;c[d+4>>2]=e>>3;break}else{c[d+4>>2]=(iBb(b|0)|0)>>3;break}else if(a){e=oBb(b|0,0,0)|0;c[d+4>>2]=e>>3;break}else{c[d+4>>2]=(aa(b|0)|0)>>3;break}while(0);i=d;return c[d+4>>2]|0}function oZ(d){d=d|0;var e=0;e=i;i=i+16|0;c[e>>2]=d;d=c[e>>2]|0;a[e+4>>0]=a[d>>0]|0;a[e+4+1>>0]=a[d+1>>0]|0;i=e;return b[e+4>>1]|0}function pZ(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+32|0;c[f+16>>2]=a;c[f+12>>2]=b;c[f+8>>2]=d;c[f+4>>2]=e;c[f>>2]=_Y(c[f+16>>2]|0,c[f+8>>2]|0)|0;d=hZ(c[f>>2]|0,c[f+12>>2]|0,c[f+8>>2]|0,c[f+4>>2]|0)|0;i=f;return d|0}function qZ(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=i;i=i+16448|0;c[g+16440>>2]=a;c[g+16436>>2]=b;c[g+16432>>2]=d;c[g+16428>>2]=e;c[g+16424>>2]=f;c[g+16420>>2]=g;c[g+16416>>2]=XY(c[g+16420>>2]|0,c[g+16440>>2]|0,c[g+16436>>2]|0,c[g+16432>>2]|0,c[g+16428>>2]|0,c[g+16424>>2]|0)|0;i=g;return c[g+16416>>2]|0}function rZ(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+16|0;c[f+12>>2]=a;c[f+8>>2]=b;c[f+4>>2]=d;c[f>>2]=e;a=qZ(c[f+12>>2]|0,c[f+8>>2]|0,c[f+4>>2]|0,c[f>>2]|0,1)|0;i=f;return a|0}function sZ(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;j=i;i=i+144|0;c[j+12>>2]=b;c[j+8>>2]=e;c[j+4>>2]=f;c[j>>2]=g;f=c[j+8>>2]|0;e=c[j+4>>2]|0;g=c[j>>2]|0;b=c[j+8>>2]|0;c[j+132>>2]=c[j+12>>2];c[j+128>>2]=f;c[j+124>>2]=e;c[j+120>>2]=g;c[j+116>>2]=1;c[j+112>>2]=0;c[j+108>>2]=0;c[j+104>>2]=0;c[j+100>>2]=b;c[j+96>>2]=0;c[j+92>>2]=0;c[j+88>>2]=c[j+132>>2];c[j+84>>2]=(c[j+88>>2]|0)+(c[j+124>>2]|0);c[j+80>>2]=c[j+128>>2];c[j+76>>2]=(c[j+80>>2]|0)+(c[j+120>>2]|0);c[j+68>>2]=(c[j+80>>2]|0)+(c[j+108>>2]|0);c[j+64>>2]=(c[j+100>>2]|0)+(0-(c[j+92>>2]|0));c[j+60>>2]=(c[j+96>>2]|0)+(c[j+92>>2]|0);c[j+56>>2]=(c[j+116>>2]|0)==1&1;c[j+52>>2]=(c[j+56>>2]|0?(c[j+92>>2]|0)>>>0<65536:0)&1;if(c[j+112>>2]|0)if((c[j+68>>2]|0)>>>0>((c[j+76>>2]|0)+-12|0)>>>0)c[j+68>>2]=(c[j+76>>2]|0)+-12;if(c[j+116>>2]|0)if(!(c[j+120>>2]|0)){if((c[j+124>>2]|0)==1)f=(d[c[j+88>>2]>>0]|0|0)==0;else f=0;c[j+136>>2]=f?0:-1;h=c[j+136>>2]|0;i=j;return h|0}if(!(c[j+116>>2]|0))if(!(c[j+120>>2]|0)){c[j+136>>2]=(d[c[j+88>>2]>>0]|0|0)==0?1:-1;h=c[j+136>>2]|0;i=j;return h|0}a:while(1){b=c[j+88>>2]|0;c[j+88>>2]=b+1;c[j+48>>2]=d[b>>0];b=(c[j+48>>2]|0)>>>4;c[j+44>>2]=b;if((b|0)==15){do{b=c[j+88>>2]|0;c[j+88>>2]=b+1;c[j+36>>2]=d[b>>0];c[j+44>>2]=(c[j+44>>2]|0)+(c[j+36>>2]|0);if(c[j+116>>2]|0)f=(c[j+88>>2]|0)>>>0<((c[j+84>>2]|0)+-15|0)>>>0&1;else f=1}while(f|0?(c[j+36>>2]|0)==255:0);if(c[j+56>>2]|0)if(((c[j+80>>2]|0)+(c[j+44>>2]|0)|0)>>>0<(c[j+80>>2]|0)>>>0)break;if(c[j+56>>2]|0)if(((c[j+88>>2]|0)+(c[j+44>>2]|0)|0)>>>0<(c[j+88>>2]|0)>>>0)break}c[j+72>>2]=(c[j+80>>2]|0)+(c[j+44>>2]|0);if(c[j+116>>2]|0){if((c[j+72>>2]|0)>>>0>(c[j+112>>2]|0?c[j+68>>2]|0:(c[j+76>>2]|0)+-12|0)>>>0){h=25;break}if(((c[j+88>>2]|0)+(c[j+44>>2]|0)|0)>>>0>((c[j+84>>2]|0)+-8|0)>>>0){h=25;break}}if(!(c[j+116>>2]|0))if((c[j+72>>2]|0)>>>0>((c[j+76>>2]|0)+-8|0)>>>0){h=25;break}iZ(c[j+80>>2]|0,c[j+88>>2]|0,c[j+72>>2]|0);c[j+88>>2]=(c[j+88>>2]|0)+(c[j+44>>2]|0);c[j+80>>2]=c[j+72>>2];b=c[j+72>>2]|0;c[j+40>>2]=b+(0-((tZ(c[j+88>>2]|0)|0)&65535));c[j+88>>2]=(c[j+88>>2]|0)+2;if(c[j+52>>2]|0)if((c[j+40>>2]|0)>>>0<(c[j+64>>2]|0)>>>0)break;c[j+44>>2]=c[j+48>>2]&15;if((c[j+44>>2]|0)==15){do{if(c[j+116>>2]|0)if((c[j+88>>2]|0)>>>0>((c[j+84>>2]|0)+-5|0)>>>0)break a;b=c[j+88>>2]|0;c[j+88>>2]=b+1;c[j+32>>2]=d[b>>0];c[j+44>>2]=(c[j+44>>2]|0)+(c[j+32>>2]|0)}while((c[j+32>>2]|0)==255);if(c[j+56>>2]|0)if(((c[j+80>>2]|0)+(c[j+44>>2]|0)|0)>>>0<(c[j+80>>2]|0)>>>0)break}c[j+44>>2]=(c[j+44>>2]|0)+4;if((c[j+104>>2]|0)==2)if((c[j+40>>2]|0)>>>0<(c[j+100>>2]|0)>>>0){if(((c[j+80>>2]|0)+(c[j+44>>2]|0)|0)>>>0>((c[j+76>>2]|0)+-5|0)>>>0)break;if((c[j+44>>2]|0)>>>0<=((c[j+100>>2]|0)-(c[j+40>>2]|0)|0)>>>0){c[j+40>>2]=(c[j+60>>2]|0)+(0-((c[j+100>>2]|0)-(c[j+40>>2]|0)));nBb(c[j+80>>2]|0,c[j+40>>2]|0,c[j+44>>2]|0)|0;c[j+80>>2]=(c[j+80>>2]|0)+(c[j+44>>2]|0);continue}c[j+28>>2]=(c[j+100>>2]|0)-(c[j+40>>2]|0);mBb(c[j+80>>2]|0,(c[j+60>>2]|0)+(0-(c[j+28>>2]|0))|0,c[j+28>>2]|0)|0;c[j+80>>2]=(c[j+80>>2]|0)+(c[j+28>>2]|0);c[j+28>>2]=(c[j+44>>2]|0)-(c[j+28>>2]|0);f=c[j+80>>2]|0;if((c[j+28>>2]|0)>>>0<=((c[j+80>>2]|0)-(c[j+100>>2]|0)|0)>>>0){mBb(f|0,c[j+100>>2]|0,c[j+28>>2]|0)|0;c[j+80>>2]=(c[j+80>>2]|0)+(c[j+28>>2]|0);continue}c[j+24>>2]=f+(c[j+28>>2]|0);c[j+20>>2]=c[j+100>>2];while(1){if((c[j+80>>2]|0)>>>0>=(c[j+24>>2]|0)>>>0)continue a;g=c[j+20>>2]|0;c[j+20>>2]=g+1;g=a[g>>0]|0;b=c[j+80>>2]|0;c[j+80>>2]=b+1;a[b>>0]=g}}c[j+72>>2]=(c[j+80>>2]|0)+(c[j+44>>2]|0);f=c[j+80>>2]|0;e=c[j+40>>2]|0;if(((c[j+80>>2]|0)-(c[j+40>>2]|0)|0)<8){c[j+16>>2]=c[20960+(f-e<<2)>>2];a[c[j+80>>2]>>0]=a[c[j+40>>2]>>0]|0;a[(c[j+80>>2]|0)+1>>0]=a[(c[j+40>>2]|0)+1>>0]|0;a[(c[j+80>>2]|0)+2>>0]=a[(c[j+40>>2]|0)+2>>0]|0;a[(c[j+80>>2]|0)+3>>0]=a[(c[j+40>>2]|0)+3>>0]|0;c[j+40>>2]=(c[j+40>>2]|0)+(c[20992+((c[j+80>>2]|0)-(c[j+40>>2]|0)<<2)>>2]|0);uZ((c[j+80>>2]|0)+4|0,c[j+40>>2]|0);c[j+80>>2]=(c[j+80>>2]|0)+8;c[j+40>>2]=(c[j+40>>2]|0)+(0-(c[j+16>>2]|0))}else{jZ(f,e);c[j+80>>2]=(c[j+80>>2]|0)+8;c[j+40>>2]=(c[j+40>>2]|0)+8}b:do if((c[j+72>>2]|0)>>>0>((c[j+76>>2]|0)+-12|0)>>>0){if((c[j+72>>2]|0)>>>0>((c[j+76>>2]|0)+-5|0)>>>0)break a;if((c[j+80>>2]|0)>>>0<((c[j+76>>2]|0)+-8|0)>>>0){iZ(c[j+80>>2]|0,c[j+40>>2]|0,(c[j+76>>2]|0)+-8|0);c[j+40>>2]=(c[j+40>>2]|0)+((c[j+76>>2]|0)+-8-(c[j+80>>2]|0));c[j+80>>2]=(c[j+76>>2]|0)+-8}while(1){if((c[j+80>>2]|0)>>>0>=(c[j+72>>2]|0)>>>0)break b;g=c[j+40>>2]|0;c[j+40>>2]=g+1;g=a[g>>0]|0;b=c[j+80>>2]|0;c[j+80>>2]=b+1;a[b>>0]=g}}else iZ(c[j+80>>2]|0,c[j+40>>2]|0,c[j+72>>2]|0);while(0);c[j+80>>2]=c[j+72>>2]}do if((h|0)==25){if(c[j+112>>2]|0){if((c[j+72>>2]|0)>>>0>(c[j+76>>2]|0)>>>0)break;if(c[j+116>>2]|0)if(((c[j+88>>2]|0)+(c[j+44>>2]|0)|0)>>>0>(c[j+84>>2]|0)>>>0)break}else{if(!(c[j+116>>2]|0))if((c[j+72>>2]|0)!=(c[j+76>>2]|0))break;if(c[j+116>>2]|0){if(((c[j+88>>2]|0)+(c[j+44>>2]|0)|0)!=(c[j+84>>2]|0))break;if((c[j+72>>2]|0)>>>0>(c[j+76>>2]|0)>>>0)break}}mBb(c[j+80>>2]|0,c[j+88>>2]|0,c[j+44>>2]|0)|0;c[j+88>>2]=(c[j+88>>2]|0)+(c[j+44>>2]|0);c[j+80>>2]=(c[j+80>>2]|0)+(c[j+44>>2]|0);if(c[j+116>>2]|0){c[j+136>>2]=(c[j+80>>2]|0)-(c[j+128>>2]|0);h=c[j+136>>2]|0;i=j;return h|0}else{c[j+136>>2]=(c[j+88>>2]|0)-(c[j+132>>2]|0);h=c[j+136>>2]|0;i=j;return h|0}}while(0);c[j+136>>2]=0-((c[j+88>>2]|0)-(c[j+132>>2]|0))-1;h=c[j+136>>2]|0;i=j;return h|0}function tZ(a){a=a|0;var e=0,f=0;e=i;i=i+16|0;c[e+4>>2]=a;f=(lZ()|0)!=0;a=c[e+4>>2]|0;if(f){b[e+8>>1]=oZ(a)|0;f=b[e+8>>1]|0;i=e;return f|0}else{c[e>>2]=a;b[e+8>>1]=((d[c[e>>2]>>0]|0)&65535)+((d[(c[e>>2]|0)+1>>0]|0)<<8);f=b[e+8>>1]|0;i=e;return f|0}return 0}function uZ(b,d){b=b|0;d=d|0;var e=0;e=i;i=i+16|0;c[e+4>>2]=b;c[e>>2]=d;d=c[e+4>>2]|0;b=c[e>>2]|0;a[d>>0]=a[b>>0]|0;a[d+1>>0]=a[b+1>>0]|0;a[d+2>>0]=a[b+2>>0]|0;a[d+3>>0]=a[b+3>>0]|0;i=e;return}function vZ(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0;h=i;i=i+144|0;c[h+8>>2]=b;c[h+4>>2]=e;c[h>>2]=f;e=c[h+4>>2]|0;f=c[h>>2]|0;b=(c[h+4>>2]|0)+-65536|0;c[h+128>>2]=c[h+8>>2];c[h+124>>2]=e;c[h+120>>2]=0;c[h+116>>2]=f;c[h+112>>2]=0;c[h+108>>2]=0;c[h+104>>2]=0;c[h+100>>2]=1;c[h+96>>2]=b;c[h+92>>2]=0;c[h+88>>2]=65536;c[h+84>>2]=c[h+128>>2];c[h+80>>2]=(c[h+84>>2]|0)+(c[h+120>>2]|0);c[h+76>>2]=c[h+124>>2];c[h+72>>2]=(c[h+76>>2]|0)+(c[h+116>>2]|0);c[h+64>>2]=(c[h+76>>2]|0)+(c[h+104>>2]|0);c[h+60>>2]=(c[h+96>>2]|0)+(0-(c[h+88>>2]|0));c[h+56>>2]=(c[h+92>>2]|0)+(c[h+88>>2]|0);c[h+52>>2]=(c[h+112>>2]|0)==1&1;c[h+48>>2]=(c[h+52>>2]|0?(c[h+88>>2]|0)>>>0<65536:0)&1;if(c[h+108>>2]|0)if((c[h+64>>2]|0)>>>0>((c[h+72>>2]|0)+-12|0)>>>0)c[h+64>>2]=(c[h+72>>2]|0)+-12;if(c[h+112>>2]|0)if(!(c[h+116>>2]|0)){if((c[h+120>>2]|0)==1)e=(d[c[h+84>>2]>>0]|0|0)==0;else e=0;c[h+132>>2]=e?0:-1;g=c[h+132>>2]|0;i=h;return g|0}if(!(c[h+112>>2]|0))if(!(c[h+116>>2]|0)){c[h+132>>2]=(d[c[h+84>>2]>>0]|0|0)==0?1:-1;g=c[h+132>>2]|0;i=h;return g|0}a:while(1){b=c[h+84>>2]|0;c[h+84>>2]=b+1;c[h+44>>2]=d[b>>0];b=(c[h+44>>2]|0)>>>4;c[h+40>>2]=b;if((b|0)==15){do{b=c[h+84>>2]|0;c[h+84>>2]=b+1;c[h+32>>2]=d[b>>0];c[h+40>>2]=(c[h+40>>2]|0)+(c[h+32>>2]|0);if(c[h+112>>2]|0)e=(c[h+84>>2]|0)>>>0<((c[h+80>>2]|0)+-15|0)>>>0&1;else e=1}while(e|0?(c[h+32>>2]|0)==255:0);if(c[h+52>>2]|0)if(((c[h+76>>2]|0)+(c[h+40>>2]|0)|0)>>>0<(c[h+76>>2]|0)>>>0)break;if(c[h+52>>2]|0)if(((c[h+84>>2]|0)+(c[h+40>>2]|0)|0)>>>0<(c[h+84>>2]|0)>>>0)break}c[h+68>>2]=(c[h+76>>2]|0)+(c[h+40>>2]|0);if(c[h+112>>2]|0){if((c[h+68>>2]|0)>>>0>(c[h+108>>2]|0?c[h+64>>2]|0:(c[h+72>>2]|0)+-12|0)>>>0){g=25;break}if(((c[h+84>>2]|0)+(c[h+40>>2]|0)|0)>>>0>((c[h+80>>2]|0)+-8|0)>>>0){g=25;break}}if(!(c[h+112>>2]|0))if((c[h+68>>2]|0)>>>0>((c[h+72>>2]|0)+-8|0)>>>0){g=25;break}iZ(c[h+76>>2]|0,c[h+84>>2]|0,c[h+68>>2]|0);c[h+84>>2]=(c[h+84>>2]|0)+(c[h+40>>2]|0);c[h+76>>2]=c[h+68>>2];b=c[h+68>>2]|0;c[h+36>>2]=b+(0-((tZ(c[h+84>>2]|0)|0)&65535));c[h+84>>2]=(c[h+84>>2]|0)+2;if(c[h+48>>2]|0)if((c[h+36>>2]|0)>>>0<(c[h+60>>2]|0)>>>0)break;c[h+40>>2]=c[h+44>>2]&15;if((c[h+40>>2]|0)==15){do{if(c[h+112>>2]|0)if((c[h+84>>2]|0)>>>0>((c[h+80>>2]|0)+-5|0)>>>0)break a;b=c[h+84>>2]|0;c[h+84>>2]=b+1;c[h+28>>2]=d[b>>0];c[h+40>>2]=(c[h+40>>2]|0)+(c[h+28>>2]|0)}while((c[h+28>>2]|0)==255);if(c[h+52>>2]|0)if(((c[h+76>>2]|0)+(c[h+40>>2]|0)|0)>>>0<(c[h+76>>2]|0)>>>0)break}c[h+40>>2]=(c[h+40>>2]|0)+4;if((c[h+100>>2]|0)==2)if((c[h+36>>2]|0)>>>0<(c[h+96>>2]|0)>>>0){if(((c[h+76>>2]|0)+(c[h+40>>2]|0)|0)>>>0>((c[h+72>>2]|0)+-5|0)>>>0)break;if((c[h+40>>2]|0)>>>0<=((c[h+96>>2]|0)-(c[h+36>>2]|0)|0)>>>0){c[h+36>>2]=(c[h+56>>2]|0)+(0-((c[h+96>>2]|0)-(c[h+36>>2]|0)));nBb(c[h+76>>2]|0,c[h+36>>2]|0,c[h+40>>2]|0)|0;c[h+76>>2]=(c[h+76>>2]|0)+(c[h+40>>2]|0);continue}c[h+24>>2]=(c[h+96>>2]|0)-(c[h+36>>2]|0);mBb(c[h+76>>2]|0,(c[h+56>>2]|0)+(0-(c[h+24>>2]|0))|0,c[h+24>>2]|0)|0;c[h+76>>2]=(c[h+76>>2]|0)+(c[h+24>>2]|0);c[h+24>>2]=(c[h+40>>2]|0)-(c[h+24>>2]|0);e=c[h+76>>2]|0;if((c[h+24>>2]|0)>>>0<=((c[h+76>>2]|0)-(c[h+96>>2]|0)|0)>>>0){mBb(e|0,c[h+96>>2]|0,c[h+24>>2]|0)|0;c[h+76>>2]=(c[h+76>>2]|0)+(c[h+24>>2]|0);continue}c[h+20>>2]=e+(c[h+24>>2]|0);c[h+16>>2]=c[h+96>>2];while(1){if((c[h+76>>2]|0)>>>0>=(c[h+20>>2]|0)>>>0)continue a;f=c[h+16>>2]|0;c[h+16>>2]=f+1;f=a[f>>0]|0;b=c[h+76>>2]|0;c[h+76>>2]=b+1;a[b>>0]=f}}c[h+68>>2]=(c[h+76>>2]|0)+(c[h+40>>2]|0);e=c[h+76>>2]|0;f=c[h+36>>2]|0;if(((c[h+76>>2]|0)-(c[h+36>>2]|0)|0)<8){c[h+12>>2]=c[20960+(e-f<<2)>>2];a[c[h+76>>2]>>0]=a[c[h+36>>2]>>0]|0;a[(c[h+76>>2]|0)+1>>0]=a[(c[h+36>>2]|0)+1>>0]|0;a[(c[h+76>>2]|0)+2>>0]=a[(c[h+36>>2]|0)+2>>0]|0;a[(c[h+76>>2]|0)+3>>0]=a[(c[h+36>>2]|0)+3>>0]|0;c[h+36>>2]=(c[h+36>>2]|0)+(c[20992+((c[h+76>>2]|0)-(c[h+36>>2]|0)<<2)>>2]|0);uZ((c[h+76>>2]|0)+4|0,c[h+36>>2]|0);c[h+76>>2]=(c[h+76>>2]|0)+8;c[h+36>>2]=(c[h+36>>2]|0)+(0-(c[h+12>>2]|0))}else{jZ(e,f);c[h+76>>2]=(c[h+76>>2]|0)+8;c[h+36>>2]=(c[h+36>>2]|0)+8}b:do if((c[h+68>>2]|0)>>>0>((c[h+72>>2]|0)+-12|0)>>>0){if((c[h+68>>2]|0)>>>0>((c[h+72>>2]|0)+-5|0)>>>0)break a;if((c[h+76>>2]|0)>>>0<((c[h+72>>2]|0)+-8|0)>>>0){iZ(c[h+76>>2]|0,c[h+36>>2]|0,(c[h+72>>2]|0)+-8|0);c[h+36>>2]=(c[h+36>>2]|0)+((c[h+72>>2]|0)+-8-(c[h+76>>2]|0));c[h+76>>2]=(c[h+72>>2]|0)+-8}while(1){if((c[h+76>>2]|0)>>>0>=(c[h+68>>2]|0)>>>0)break b;f=c[h+36>>2]|0;c[h+36>>2]=f+1;f=a[f>>0]|0;b=c[h+76>>2]|0;c[h+76>>2]=b+1;a[b>>0]=f}}else iZ(c[h+76>>2]|0,c[h+36>>2]|0,c[h+68>>2]|0);while(0);c[h+76>>2]=c[h+68>>2]}do if((g|0)==25){if(c[h+108>>2]|0){if((c[h+68>>2]|0)>>>0>(c[h+72>>2]|0)>>>0)break;if(c[h+112>>2]|0)if(((c[h+84>>2]|0)+(c[h+40>>2]|0)|0)>>>0>(c[h+80>>2]|0)>>>0)break}else{if(!(c[h+112>>2]|0))if((c[h+68>>2]|0)!=(c[h+72>>2]|0))break;if(c[h+112>>2]|0){if(((c[h+84>>2]|0)+(c[h+40>>2]|0)|0)!=(c[h+80>>2]|0))break;if((c[h+68>>2]|0)>>>0>(c[h+72>>2]|0)>>>0)break}}mBb(c[h+76>>2]|0,c[h+84>>2]|0,c[h+40>>2]|0)|0;c[h+84>>2]=(c[h+84>>2]|0)+(c[h+40>>2]|0);c[h+76>>2]=(c[h+76>>2]|0)+(c[h+40>>2]|0);if(c[h+112>>2]|0){c[h+132>>2]=(c[h+76>>2]|0)-(c[h+124>>2]|0);g=c[h+132>>2]|0;i=h;return g|0}else{c[h+132>>2]=(c[h+84>>2]|0)-(c[h+128>>2]|0);g=c[h+132>>2]|0;i=h;return g|0}}while(0);c[h+132>>2]=0-((c[h+84>>2]|0)-(c[h+128>>2]|0))-1;g=c[h+132>>2]|0;i=h;return g|0}function wZ(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;h=i;i=i+32|0;c[h+20>>2]=a;c[h+16>>2]=b;c[h+12>>2]=d;c[h+8>>2]=e;c[h+4>>2]=f;c[h>>2]=g;if(c[h+20>>2]&3|0){c[h+24>>2]=0;a=c[h+24>>2]|0;i=h;return a|0}xZ(c[h+20>>2]|0,c[h+16>>2]|0);j=c[h+4>>2]|0;j=(j|0)<(WY(c[h+8>>2]|0)|0);g=c[h+20>>2]|0;d=c[h+16>>2]|0;f=c[h+12>>2]|0;b=c[h+8>>2]|0;e=c[h+4>>2]|0;a=c[h>>2]|0;if(j){c[h+24>>2]=yZ(g,d,f,b,e,a,1)|0;j=c[h+24>>2]|0;i=h;return j|0}else{c[h+24>>2]=yZ(g,d,f,b,e,a,0)|0;j=c[h+24>>2]|0;i=h;return j|0}return 0}function xZ(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d+4>>2]=a;c[d>>2]=b;hBb(c[d+4>>2]|0,0,131072)|0;hBb((c[d+4>>2]|0)+131072|0,-1,131072)|0;c[(c[d+4>>2]|0)+262168>>2]=65536;c[(c[d+4>>2]|0)+262148>>2]=(c[d>>2]|0)+-65536;c[(c[d+4>>2]|0)+262144>>2]=c[d>>2];c[(c[d+4>>2]|0)+262152>>2]=(c[d>>2]|0)+-65536;c[(c[d+4>>2]|0)+262160>>2]=65536;c[(c[d+4>>2]|0)+262164>>2]=65536;i=d;return}function yZ(f,g,h,j,k,l,m){f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0,o=0;o=i;i=i+736|0;c[o+124>>2]=f;c[o+120>>2]=g;c[o+116>>2]=h;c[o+112>>2]=j;c[o+108>>2]=k;c[o+104>>2]=l;c[o+100>>2]=m;c[o+96>>2]=c[o+124>>2];c[o+92>>2]=c[o+120>>2];c[o+88>>2]=c[o+92>>2];c[o+84>>2]=(c[o+92>>2]|0)+(c[o+112>>2]|0);c[o+80>>2]=(c[o+84>>2]|0)+-12;c[o+76>>2]=(c[o+84>>2]|0)+-5;c[o+72>>2]=c[o+116>>2];c[o+68>>2]=(c[o+72>>2]|0)+(c[o+108>>2]|0);c[o+44>>2]=0;c[o+40>>2]=0;c[o+36>>2]=0;c[o+32>>2]=0;c[o+28>>2]=0;if((c[o+104>>2]|0)>16)c[o+104>>2]=16;if((c[o+104>>2]|0)<1)c[o+104>>2]=9;c[o+64>>2]=1<<(c[o+104>>2]|0)-1;g=(c[o+96>>2]|0)+262144|0;c[g>>2]=(c[g>>2]|0)+(c[o+112>>2]|0);c[o+92>>2]=(c[o+92>>2]|0)+1;a:while(1){if((c[o+92>>2]|0)>>>0>=(c[o+80>>2]|0)>>>0){n=250;break}m=c[o+92>>2]|0;k=c[o+76>>2]|0;g=c[o+64>>2]|0;c[o+200>>2]=c[o+96>>2];c[o+196>>2]=m;c[o+192>>2]=k;c[o+188>>2]=o+44;c[o+184>>2]=g;c[o+180>>2]=(c[o+200>>2]|0)+131072;c[o+176>>2]=c[o+200>>2];c[o+172>>2]=c[(c[o+200>>2]|0)+262148>>2];c[o+168>>2]=c[(c[o+200>>2]|0)+262152>>2];c[o+164>>2]=c[(c[o+200>>2]|0)+262160>>2];if(((c[(c[o+200>>2]|0)+262164>>2]|0)+65536|0)>>>0>((c[o+196>>2]|0)-(c[o+172>>2]|0)|0)>>>0)l=c[(c[o+200>>2]|0)+262164>>2]|0;else l=(c[o+196>>2]|0)-(c[o+172>>2]|0)-65535|0;c[o+160>>2]=l;c[o+148>>2]=c[o+184>>2];c[o+144>>2]=0;g=c[o+196>>2]|0;c[o+236>>2]=c[o+200>>2];c[o+232>>2]=g;c[o+228>>2]=(c[o+236>>2]|0)+131072;c[o+224>>2]=c[o+236>>2];c[o+220>>2]=c[(c[o+236>>2]|0)+262148>>2];c[o+216>>2]=(c[o+232>>2]|0)-(c[o+220>>2]|0);c[o+212>>2]=c[(c[o+236>>2]|0)+262168>>2];while(1){if((c[o+212>>2]|0)>>>0>=(c[o+216>>2]|0)>>>0)break;c[o+208>>2]=zZ((c[o+220>>2]|0)+(c[o+212>>2]|0)|0)|0;g=(c[o+212>>2]|0)-(c[(c[o+224>>2]|0)+(c[o+208>>2]<<2)>>2]|0)|0;c[o+204>>2]=g;c[o+204>>2]=(c[o+204>>2]|0)>>>0>65535?65535:g;b[(c[o+228>>2]|0)+((c[o+212>>2]&65535)<<1)>>1]=c[o+204>>2];c[(c[o+224>>2]|0)+(c[o+208>>2]<<2)>>2]=c[o+212>>2];c[o+212>>2]=(c[o+212>>2]|0)+1}c[(c[o+236>>2]|0)+262168>>2]=c[o+216>>2];g=zZ(c[o+196>>2]|0)|0;c[o+156>>2]=c[(c[o+176>>2]|0)+(g<<2)>>2];while(1){if(!((c[o+156>>2]|0)>>>0>=(c[o+160>>2]|0)>>>0?(c[o+148>>2]|0)!=0:0))break;c[o+148>>2]=(c[o+148>>2]|0)+-1;if((c[o+156>>2]|0)>>>0>=(c[o+164>>2]|0)>>>0){c[o+152>>2]=(c[o+172>>2]|0)+(c[o+156>>2]|0);if((d[(c[o+152>>2]|0)+(c[o+144>>2]|0)>>0]|0|0)==(d[(c[o+196>>2]|0)+(c[o+144>>2]|0)>>0]|0|0)){g=AZ(c[o+152>>2]|0)|0;if((g|0)==(AZ(c[o+196>>2]|0)|0)){c[o+140>>2]=(BZ((c[o+196>>2]|0)+4|0,(c[o+152>>2]|0)+4|0,c[o+192>>2]|0)|0)+4;if((c[o+140>>2]|0)>>>0>(c[o+144>>2]|0)>>>0){c[o+144>>2]=c[o+140>>2];c[c[o+188>>2]>>2]=c[o+152>>2]}}}}else{c[o+152>>2]=(c[o+168>>2]|0)+(c[o+156>>2]|0);g=AZ(c[o+152>>2]|0)|0;if((g|0)==(AZ(c[o+196>>2]|0)|0)){c[o+132>>2]=(c[o+196>>2]|0)+((c[o+164>>2]|0)-(c[o+156>>2]|0));if((c[o+132>>2]|0)>>>0>(c[o+192>>2]|0)>>>0)c[o+132>>2]=c[o+192>>2];c[o+136>>2]=(BZ((c[o+196>>2]|0)+4|0,(c[o+152>>2]|0)+4|0,c[o+132>>2]|0)|0)+4;if(((c[o+196>>2]|0)+(c[o+136>>2]|0)|0)==(c[o+132>>2]|0))if((c[o+132>>2]|0)>>>0<(c[o+192>>2]|0)>>>0){g=BZ((c[o+196>>2]|0)+(c[o+136>>2]|0)|0,(c[o+172>>2]|0)+(c[o+164>>2]|0)|0,c[o+192>>2]|0)|0;c[o+136>>2]=(c[o+136>>2]|0)+g}if((c[o+136>>2]|0)>>>0>(c[o+144>>2]|0)>>>0){c[o+144>>2]=c[o+136>>2];c[c[o+188>>2]>>2]=(c[o+172>>2]|0)+(c[o+156>>2]|0)}}}c[o+156>>2]=(c[o+156>>2]|0)-(e[(c[o+180>>2]|0)+((c[o+156>>2]&65535)<<1)>>1]|0)}c[o+60>>2]=c[o+144>>2];l=c[o+92>>2]|0;if(!(c[o+60>>2]|0)){c[o+92>>2]=l+1;continue}c[o+24>>2]=l;c[o+20>>2]=c[o+44>>2];c[o+48>>2]=c[o+60>>2];b:while(1){if(((c[o+92>>2]|0)+(c[o+60>>2]|0)|0)>>>0<(c[o+80>>2]|0)>>>0){h=(c[o+92>>2]|0)+(c[o+60>>2]|0)+-2|0;j=(c[o+92>>2]|0)+1|0;m=c[o+76>>2]|0;k=c[o+60>>2]|0;g=c[o+64>>2]|0;c[o+336>>2]=c[o+96>>2];c[o+332>>2]=h;c[o+328>>2]=j;c[o+324>>2]=m;c[o+320>>2]=k;c[o+316>>2]=o+36;c[o+312>>2]=o+40;c[o+308>>2]=g;c[o+304>>2]=(c[o+336>>2]|0)+131072;c[o+300>>2]=c[o+336>>2];c[o+296>>2]=c[(c[o+336>>2]|0)+262148>>2];c[o+292>>2]=c[(c[o+336>>2]|0)+262160>>2];c[o+288>>2]=(c[o+296>>2]|0)+(c[o+292>>2]|0);if(((c[(c[o+336>>2]|0)+262164>>2]|0)+65536|0)>>>0>((c[o+332>>2]|0)-(c[o+296>>2]|0)|0)>>>0)l=c[(c[o+336>>2]|0)+262164>>2]|0;else l=(c[o+332>>2]|0)-(c[o+296>>2]|0)-65535|0;c[o+284>>2]=l;c[o+280>>2]=c[(c[o+336>>2]|0)+262152>>2];c[o+272>>2]=c[o+308>>2];c[o+268>>2]=(c[o+332>>2]|0)-(c[o+328>>2]|0);g=c[o+332>>2]|0;c[o+372>>2]=c[o+336>>2];c[o+368>>2]=g;c[o+364>>2]=(c[o+372>>2]|0)+131072;c[o+360>>2]=c[o+372>>2];c[o+356>>2]=c[(c[o+372>>2]|0)+262148>>2];c[o+352>>2]=(c[o+368>>2]|0)-(c[o+356>>2]|0);c[o+348>>2]=c[(c[o+372>>2]|0)+262168>>2];while(1){if((c[o+348>>2]|0)>>>0>=(c[o+352>>2]|0)>>>0)break;c[o+344>>2]=zZ((c[o+356>>2]|0)+(c[o+348>>2]|0)|0)|0;g=(c[o+348>>2]|0)-(c[(c[o+360>>2]|0)+(c[o+344>>2]<<2)>>2]|0)|0;c[o+340>>2]=g;c[o+340>>2]=(c[o+340>>2]|0)>>>0>65535?65535:g;b[(c[o+364>>2]|0)+((c[o+348>>2]&65535)<<1)>>1]=c[o+340>>2];c[(c[o+360>>2]|0)+(c[o+344>>2]<<2)>>2]=c[o+348>>2];c[o+348>>2]=(c[o+348>>2]|0)+1}c[(c[o+372>>2]|0)+262168>>2]=c[o+352>>2];g=zZ(c[o+332>>2]|0)|0;c[o+276>>2]=c[(c[o+300>>2]|0)+(g<<2)>>2];while(1){if(!((c[o+276>>2]|0)>>>0>=(c[o+284>>2]|0)>>>0?(c[o+272>>2]|0)!=0:0))break;c[o+272>>2]=(c[o+272>>2]|0)+-1;if((c[o+276>>2]|0)>>>0>=(c[o+292>>2]|0)>>>0){c[o+264>>2]=(c[o+296>>2]|0)+(c[o+276>>2]|0);if((d[(c[o+328>>2]|0)+(c[o+320>>2]|0)>>0]|0|0)==(d[(c[o+264>>2]|0)+(0-(c[o+268>>2]|0))+(c[o+320>>2]|0)>>0]|0|0)){g=AZ(c[o+264>>2]|0)|0;if((g|0)==(AZ(c[o+332>>2]|0)|0)){c[o+260>>2]=4+(BZ((c[o+332>>2]|0)+4|0,(c[o+264>>2]|0)+4|0,c[o+324>>2]|0)|0);c[o+256>>2]=0;while(1){if(((c[o+332>>2]|0)+(c[o+256>>2]|0)|0)>>>0>(c[o+328>>2]|0)>>>0)if(((c[o+264>>2]|0)+(c[o+256>>2]|0)|0)>>>0>(c[o+288>>2]|0)>>>0)l=(d[(c[o+332>>2]|0)+((c[o+256>>2]|0)-1)>>0]|0|0)==(d[(c[o+264>>2]|0)+((c[o+256>>2]|0)-1)>>0]|0|0);else l=0;else l=0;f=c[o+256>>2]|0;if(!l)break;c[o+256>>2]=f+-1}c[o+260>>2]=(c[o+260>>2]|0)-f;if((c[o+260>>2]|0)>(c[o+320>>2]|0)){c[o+320>>2]=c[o+260>>2];c[c[o+316>>2]>>2]=(c[o+264>>2]|0)+(c[o+256>>2]|0);c[c[o+312>>2]>>2]=(c[o+332>>2]|0)+(c[o+256>>2]|0)}}}}else{c[o+252>>2]=(c[o+280>>2]|0)+(c[o+276>>2]|0);g=AZ(c[o+252>>2]|0)|0;if((g|0)==(AZ(c[o+332>>2]|0)|0)){c[o+244>>2]=0;c[o+240>>2]=(c[o+332>>2]|0)+((c[o+292>>2]|0)-(c[o+276>>2]|0));if((c[o+240>>2]|0)>>>0>(c[o+324>>2]|0)>>>0)c[o+240>>2]=c[o+324>>2];c[o+248>>2]=(BZ((c[o+332>>2]|0)+4|0,(c[o+252>>2]|0)+4|0,c[o+240>>2]|0)|0)+4;if(((c[o+332>>2]|0)+(c[o+248>>2]|0)|0)==(c[o+240>>2]|0))if((c[o+240>>2]|0)>>>0<(c[o+324>>2]|0)>>>0){g=BZ((c[o+332>>2]|0)+(c[o+248>>2]|0)|0,(c[o+296>>2]|0)+(c[o+292>>2]|0)|0,c[o+324>>2]|0)|0;c[o+248>>2]=(c[o+248>>2]|0)+g}while(1){do if(((c[o+332>>2]|0)+(c[o+244>>2]|0)|0)>>>0>(c[o+328>>2]|0)>>>0){if(((c[o+276>>2]|0)+(c[o+244>>2]|0)|0)>>>0<=(c[o+284>>2]|0)>>>0){l=0;break}l=(d[(c[o+332>>2]|0)+((c[o+244>>2]|0)-1)>>0]|0|0)==(d[(c[o+252>>2]|0)+((c[o+244>>2]|0)-1)>>0]|0|0)}else l=0;while(0);f=c[o+244>>2]|0;if(!l)break;c[o+244>>2]=f+-1}c[o+248>>2]=(c[o+248>>2]|0)-f;if((c[o+248>>2]|0)>(c[o+320>>2]|0)){c[o+320>>2]=c[o+248>>2];c[c[o+316>>2]>>2]=(c[o+296>>2]|0)+(c[o+276>>2]|0)+(c[o+244>>2]|0);c[c[o+312>>2]>>2]=(c[o+332>>2]|0)+(c[o+244>>2]|0)}}}c[o+276>>2]=(c[o+276>>2]|0)-(e[(c[o+304>>2]|0)+((c[o+276>>2]&65535)<<1)>>1]|0)}c[o+56>>2]=c[o+320>>2]}else c[o+56>>2]=c[o+60>>2];if((c[o+56>>2]|0)==(c[o+60>>2]|0)){n=69;break}if((c[o+24>>2]|0)>>>0<(c[o+92>>2]|0)>>>0)if((c[o+40>>2]|0)>>>0<((c[o+92>>2]|0)+(c[o+48>>2]|0)|0)>>>0){c[o+92>>2]=c[o+24>>2];c[o+44>>2]=c[o+20>>2];c[o+60>>2]=c[o+48>>2]}if(((c[o+40>>2]|0)-(c[o+92>>2]|0)|0)<3){c[o+60>>2]=c[o+56>>2];c[o+92>>2]=c[o+40>>2];c[o+44>>2]=c[o+36>>2];continue}while(1){if(((c[o+40>>2]|0)-(c[o+92>>2]|0)|0)<18){g=c[o+60>>2]|0;c[o+12>>2]=g;c[o+12>>2]=(c[o+12>>2]|0)>18?18:g;if(((c[o+92>>2]|0)+(c[o+12>>2]|0)|0)>>>0>((c[o+40>>2]|0)+(c[o+56>>2]|0)+-4|0)>>>0)c[o+12>>2]=(c[o+40>>2]|0)-(c[o+92>>2]|0)+(c[o+56>>2]|0)-4;c[o+16>>2]=(c[o+12>>2]|0)-((c[o+40>>2]|0)-(c[o+92>>2]|0));if((c[o+16>>2]|0)>0){c[o+40>>2]=(c[o+40>>2]|0)+(c[o+16>>2]|0);c[o+36>>2]=(c[o+36>>2]|0)+(c[o+16>>2]|0);c[o+56>>2]=(c[o+56>>2]|0)-(c[o+16>>2]|0)}}if(((c[o+40>>2]|0)+(c[o+56>>2]|0)|0)>>>0<(c[o+80>>2]|0)>>>0){h=(c[o+40>>2]|0)+(c[o+56>>2]|0)+-3|0;j=c[o+40>>2]|0;m=c[o+76>>2]|0;k=c[o+56>>2]|0;g=c[o+64>>2]|0;c[o+516>>2]=c[o+96>>2];c[o+512>>2]=h;c[o+508>>2]=j;c[o+504>>2]=m;c[o+500>>2]=k;c[o+496>>2]=o+28;c[o+492>>2]=o+32;c[o+488>>2]=g;c[o+484>>2]=(c[o+516>>2]|0)+131072;c[o+480>>2]=c[o+516>>2];c[o+476>>2]=c[(c[o+516>>2]|0)+262148>>2];c[o+472>>2]=c[(c[o+516>>2]|0)+262160>>2];c[o+468>>2]=(c[o+476>>2]|0)+(c[o+472>>2]|0);if(((c[(c[o+516>>2]|0)+262164>>2]|0)+65536|0)>>>0>((c[o+512>>2]|0)-(c[o+476>>2]|0)|0)>>>0)l=c[(c[o+516>>2]|0)+262164>>2]|0;else l=(c[o+512>>2]|0)-(c[o+476>>2]|0)-65535|0;c[o+464>>2]=l;c[o+460>>2]=c[(c[o+516>>2]|0)+262152>>2];c[o+452>>2]=c[o+488>>2];c[o+448>>2]=(c[o+512>>2]|0)-(c[o+508>>2]|0);g=c[o+512>>2]|0;c[o+552>>2]=c[o+516>>2];c[o+548>>2]=g;c[o+544>>2]=(c[o+552>>2]|0)+131072;c[o+540>>2]=c[o+552>>2];c[o+536>>2]=c[(c[o+552>>2]|0)+262148>>2];c[o+532>>2]=(c[o+548>>2]|0)-(c[o+536>>2]|0);c[o+528>>2]=c[(c[o+552>>2]|0)+262168>>2];while(1){if((c[o+528>>2]|0)>>>0>=(c[o+532>>2]|0)>>>0)break;c[o+524>>2]=zZ((c[o+536>>2]|0)+(c[o+528>>2]|0)|0)|0;g=(c[o+528>>2]|0)-(c[(c[o+540>>2]|0)+(c[o+524>>2]<<2)>>2]|0)|0;c[o+520>>2]=g;c[o+520>>2]=(c[o+520>>2]|0)>>>0>65535?65535:g;b[(c[o+544>>2]|0)+((c[o+528>>2]&65535)<<1)>>1]=c[o+520>>2];c[(c[o+540>>2]|0)+(c[o+524>>2]<<2)>>2]=c[o+528>>2];c[o+528>>2]=(c[o+528>>2]|0)+1}c[(c[o+552>>2]|0)+262168>>2]=c[o+532>>2];g=zZ(c[o+512>>2]|0)|0;c[o+456>>2]=c[(c[o+480>>2]|0)+(g<<2)>>2];while(1){if(!((c[o+456>>2]|0)>>>0>=(c[o+464>>2]|0)>>>0?(c[o+452>>2]|0)!=0:0))break;c[o+452>>2]=(c[o+452>>2]|0)+-1;do if((c[o+456>>2]|0)>>>0>=(c[o+472>>2]|0)>>>0){c[o+444>>2]=(c[o+476>>2]|0)+(c[o+456>>2]|0);if((d[(c[o+508>>2]|0)+(c[o+500>>2]|0)>>0]|0|0)!=(d[(c[o+444>>2]|0)+(0-(c[o+448>>2]|0))+(c[o+500>>2]|0)>>0]|0|0))break;g=AZ(c[o+444>>2]|0)|0;if((g|0)!=(AZ(c[o+512>>2]|0)|0))break;c[o+440>>2]=4+(BZ((c[o+512>>2]|0)+4|0,(c[o+444>>2]|0)+4|0,c[o+504>>2]|0)|0);c[o+436>>2]=0;while(1){do if(((c[o+512>>2]|0)+(c[o+436>>2]|0)|0)>>>0>(c[o+508>>2]|0)>>>0){if(((c[o+444>>2]|0)+(c[o+436>>2]|0)|0)>>>0<=(c[o+468>>2]|0)>>>0){l=0;break}l=(d[(c[o+512>>2]|0)+((c[o+436>>2]|0)-1)>>0]|0|0)==(d[(c[o+444>>2]|0)+((c[o+436>>2]|0)-1)>>0]|0|0)}else l=0;while(0);f=c[o+436>>2]|0;if(!l)break;c[o+436>>2]=f+-1}c[o+440>>2]=(c[o+440>>2]|0)-f;if((c[o+440>>2]|0)<=(c[o+500>>2]|0))break;c[o+500>>2]=c[o+440>>2];c[c[o+496>>2]>>2]=(c[o+444>>2]|0)+(c[o+436>>2]|0);c[c[o+492>>2]>>2]=(c[o+512>>2]|0)+(c[o+436>>2]|0)}else{c[o+432>>2]=(c[o+460>>2]|0)+(c[o+456>>2]|0);g=AZ(c[o+432>>2]|0)|0;if((g|0)!=(AZ(c[o+512>>2]|0)|0))break;c[o+424>>2]=0;c[o+420>>2]=(c[o+512>>2]|0)+((c[o+472>>2]|0)-(c[o+456>>2]|0));if((c[o+420>>2]|0)>>>0>(c[o+504>>2]|0)>>>0)c[o+420>>2]=c[o+504>>2];c[o+428>>2]=(BZ((c[o+512>>2]|0)+4|0,(c[o+432>>2]|0)+4|0,c[o+420>>2]|0)|0)+4;do if(((c[o+512>>2]|0)+(c[o+428>>2]|0)|0)==(c[o+420>>2]|0)){if((c[o+420>>2]|0)>>>0>=(c[o+504>>2]|0)>>>0)break;g=BZ((c[o+512>>2]|0)+(c[o+428>>2]|0)|0,(c[o+476>>2]|0)+(c[o+472>>2]|0)|0,c[o+504>>2]|0)|0;c[o+428>>2]=(c[o+428>>2]|0)+g}while(0);while(1){do if(((c[o+512>>2]|0)+(c[o+424>>2]|0)|0)>>>0>(c[o+508>>2]|0)>>>0){if(((c[o+456>>2]|0)+(c[o+424>>2]|0)|0)>>>0<=(c[o+464>>2]|0)>>>0){f=0;break}f=(d[(c[o+512>>2]|0)+((c[o+424>>2]|0)-1)>>0]|0|0)==(d[(c[o+432>>2]|0)+((c[o+424>>2]|0)-1)>>0]|0|0)}else f=0;while(0);l=c[o+424>>2]|0;if(!f)break;c[o+424>>2]=l+-1}c[o+428>>2]=(c[o+428>>2]|0)-l;if((c[o+428>>2]|0)<=(c[o+500>>2]|0))break;c[o+500>>2]=c[o+428>>2];c[c[o+496>>2]>>2]=(c[o+476>>2]|0)+(c[o+456>>2]|0)+(c[o+424>>2]|0);c[c[o+492>>2]>>2]=(c[o+512>>2]|0)+(c[o+424>>2]|0)}while(0);c[o+456>>2]=(c[o+456>>2]|0)-(e[(c[o+484>>2]|0)+((c[o+456>>2]&65535)<<1)>>1]|0)}c[o+52>>2]=c[o+500>>2]}else c[o+52>>2]=c[o+56>>2];if((c[o+52>>2]|0)==(c[o+56>>2]|0))break b;if((c[o+32>>2]|0)>>>0<((c[o+92>>2]|0)+(c[o+60>>2]|0)+3|0)>>>0){if((c[o+32>>2]|0)>>>0>=((c[o+92>>2]|0)+(c[o+60>>2]|0)|0)>>>0)break;c[o+40>>2]=c[o+32>>2];c[o+36>>2]=c[o+28>>2];c[o+56>>2]=c[o+52>>2];continue}do if((c[o+40>>2]|0)>>>0<((c[o+92>>2]|0)+(c[o+60>>2]|0)|0)>>>0){if(((c[o+40>>2]|0)-(c[o+92>>2]|0)|0)>=15){c[o+60>>2]=(c[o+40>>2]|0)-(c[o+92>>2]|0);break}if((c[o+60>>2]|0)>18)c[o+60>>2]=18;if(((c[o+92>>2]|0)+(c[o+60>>2]|0)|0)>>>0>((c[o+40>>2]|0)+(c[o+56>>2]|0)+-4|0)>>>0)c[o+60>>2]=(c[o+40>>2]|0)-(c[o+92>>2]|0)+(c[o+56>>2]|0)-4;c[o+4>>2]=(c[o+60>>2]|0)-((c[o+40>>2]|0)-(c[o+92>>2]|0));if((c[o+4>>2]|0)<=0)break;c[o+40>>2]=(c[o+40>>2]|0)+(c[o+4>>2]|0);c[o+36>>2]=(c[o+36>>2]|0)+(c[o+4>>2]|0);c[o+56>>2]=(c[o+56>>2]|0)-(c[o+4>>2]|0)}while(0);j=c[o+60>>2]|0;m=c[o+44>>2]|0;g=c[o+100>>2]|0;k=c[o+68>>2]|0;c[o+724>>2]=o+92;c[o+720>>2]=o+72;c[o+716>>2]=o+88;c[o+712>>2]=j;c[o+708>>2]=m;c[o+704>>2]=g;c[o+700>>2]=k;c[o+696>>2]=(c[c[o+724>>2]>>2]|0)-(c[c[o+716>>2]>>2]|0);k=c[o+720>>2]|0;g=c[k>>2]|0;c[k>>2]=g+1;c[o+692>>2]=g;if(c[o+704>>2]|0)if(((c[c[o+720>>2]>>2]|0)+(c[o+696>>2]>>8)+(c[o+696>>2]|0)+8|0)>>>0>(c[o+700>>2]|0)>>>0)c[o+728>>2]=1;else n=229;else n=229;c:do if((n|0)==229){n=0;if((c[o+696>>2]|0)>=15){a[c[o+692>>2]>>0]=-16;c[o+688>>2]=(c[o+696>>2]|0)-15;while(1){if((c[o+688>>2]|0)<=254)break;k=c[o+720>>2]|0;g=c[k>>2]|0;c[k>>2]=g+1;a[g>>0]=-1;c[o+688>>2]=(c[o+688>>2]|0)-255}k=c[o+688>>2]&255;m=c[o+720>>2]|0;g=c[m>>2]|0;c[m>>2]=g+1;a[g>>0]=k}else a[c[o+692>>2]>>0]=c[o+696>>2]<<4;IZ(c[c[o+720>>2]>>2]|0,c[c[o+716>>2]>>2]|0,(c[c[o+720>>2]>>2]|0)+(c[o+696>>2]|0)|0);g=c[o+720>>2]|0;c[g>>2]=(c[g>>2]|0)+(c[o+696>>2]|0);KZ(c[c[o+720>>2]>>2]|0,(c[c[o+724>>2]>>2]|0)-(c[o+708>>2]|0)&65535);g=c[o+720>>2]|0;c[g>>2]=(c[g>>2]|0)+2;c[o+696>>2]=(c[o+712>>2]|0)-4;do if(c[o+704>>2]|0){if(((c[c[o+720>>2]>>2]|0)+(c[o+696>>2]>>8)+6|0)>>>0<=(c[o+700>>2]|0)>>>0)break;c[o+728>>2]=1;break c}while(0);if((c[o+696>>2]|0)>=15){g=c[o+692>>2]|0;a[g>>0]=(d[g>>0]|0)+15;c[o+696>>2]=(c[o+696>>2]|0)-15;while(1){if((c[o+696>>2]|0)<=509)break;g=c[o+720>>2]|0;k=c[g>>2]|0;c[g>>2]=k+1;a[k>>0]=-1;k=c[o+720>>2]|0;g=c[k>>2]|0;c[k>>2]=g+1;a[g>>0]=-1;c[o+696>>2]=(c[o+696>>2]|0)-510}if((c[o+696>>2]|0)>254){c[o+696>>2]=(c[o+696>>2]|0)-255;k=c[o+720>>2]|0;g=c[k>>2]|0;c[k>>2]=g+1;a[g>>0]=-1}k=c[o+696>>2]&255;m=c[o+720>>2]|0;g=c[m>>2]|0;c[m>>2]=g+1;a[g>>0]=k}else{g=c[o+692>>2]|0;a[g>>0]=(d[g>>0]|0)+(c[o+696>>2]&255)}g=c[o+724>>2]|0;c[g>>2]=(c[g>>2]|0)+(c[o+712>>2]|0);c[c[o+716>>2]>>2]=c[c[o+724>>2]>>2];c[o+728>>2]=0}while(0);if(c[o+728>>2]|0){n=248;break a}c[o+92>>2]=c[o+40>>2];c[o+44>>2]=c[o+36>>2];c[o+60>>2]=c[o+56>>2];c[o+40>>2]=c[o+32>>2];c[o+36>>2]=c[o+28>>2];c[o+56>>2]=c[o+52>>2]}if((c[o+40>>2]|0)>>>0<((c[o+92>>2]|0)+(c[o+60>>2]|0)|0)>>>0){c[o+8>>2]=(c[o+92>>2]|0)+(c[o+60>>2]|0)-(c[o+40>>2]|0);c[o+40>>2]=(c[o+40>>2]|0)+(c[o+8>>2]|0);c[o+36>>2]=(c[o+36>>2]|0)+(c[o+8>>2]|0);c[o+56>>2]=(c[o+56>>2]|0)-(c[o+8>>2]|0);if((c[o+56>>2]|0)<4){c[o+40>>2]=c[o+32>>2];c[o+36>>2]=c[o+28>>2];c[o+56>>2]=c[o+52>>2]}}j=c[o+60>>2]|0;m=c[o+44>>2]|0;g=c[o+100>>2]|0;k=c[o+68>>2]|0;c[o+680>>2]=o+92;c[o+676>>2]=o+72;c[o+672>>2]=o+88;c[o+668>>2]=j;c[o+664>>2]=m;c[o+660>>2]=g;c[o+656>>2]=k;c[o+652>>2]=(c[c[o+680>>2]>>2]|0)-(c[c[o+672>>2]>>2]|0);k=c[o+676>>2]|0;g=c[k>>2]|0;c[k>>2]=g+1;c[o+648>>2]=g;if(c[o+660>>2]|0)if(((c[c[o+676>>2]>>2]|0)+(c[o+652>>2]>>8)+(c[o+652>>2]|0)+8|0)>>>0>(c[o+656>>2]|0)>>>0)c[o+684>>2]=1;else n=195;else n=195;do if((n|0)==195){n=0;if((c[o+652>>2]|0)>=15){a[c[o+648>>2]>>0]=-16;c[o+644>>2]=(c[o+652>>2]|0)-15;while(1){if((c[o+644>>2]|0)<=254)break;k=c[o+676>>2]|0;g=c[k>>2]|0;c[k>>2]=g+1;a[g>>0]=-1;c[o+644>>2]=(c[o+644>>2]|0)-255}k=c[o+644>>2]&255;m=c[o+676>>2]|0;g=c[m>>2]|0;c[m>>2]=g+1;a[g>>0]=k}else a[c[o+648>>2]>>0]=c[o+652>>2]<<4;IZ(c[c[o+676>>2]>>2]|0,c[c[o+672>>2]>>2]|0,(c[c[o+676>>2]>>2]|0)+(c[o+652>>2]|0)|0);g=c[o+676>>2]|0;c[g>>2]=(c[g>>2]|0)+(c[o+652>>2]|0);KZ(c[c[o+676>>2]>>2]|0,(c[c[o+680>>2]>>2]|0)-(c[o+664>>2]|0)&65535);g=c[o+676>>2]|0;c[g>>2]=(c[g>>2]|0)+2;c[o+652>>2]=(c[o+668>>2]|0)-4;if(c[o+660>>2]|0)if(((c[c[o+676>>2]>>2]|0)+(c[o+652>>2]>>8)+6|0)>>>0>(c[o+656>>2]|0)>>>0){c[o+684>>2]=1;break}if((c[o+652>>2]|0)>=15){g=c[o+648>>2]|0;a[g>>0]=(d[g>>0]|0)+15;c[o+652>>2]=(c[o+652>>2]|0)-15;while(1){if((c[o+652>>2]|0)<=509)break;g=c[o+676>>2]|0;k=c[g>>2]|0;c[g>>2]=k+1;a[k>>0]=-1;k=c[o+676>>2]|0;g=c[k>>2]|0;c[k>>2]=g+1;a[g>>0]=-1;c[o+652>>2]=(c[o+652>>2]|0)-510}if((c[o+652>>2]|0)>254){c[o+652>>2]=(c[o+652>>2]|0)-255;k=c[o+676>>2]|0;g=c[k>>2]|0;c[k>>2]=g+1;a[g>>0]=-1}k=c[o+652>>2]&255;m=c[o+676>>2]|0;g=c[m>>2]|0;c[m>>2]=g+1;a[g>>0]=k}else{g=c[o+648>>2]|0;a[g>>0]=(d[g>>0]|0)+(c[o+652>>2]&255)}g=c[o+680>>2]|0;c[g>>2]=(c[g>>2]|0)+(c[o+668>>2]|0);c[c[o+672>>2]>>2]=c[c[o+680>>2]>>2];c[o+684>>2]=0}while(0);if(c[o+684>>2]|0){n=214;break a}c[o+92>>2]=c[o+32>>2];c[o+44>>2]=c[o+28>>2];c[o+60>>2]=c[o+52>>2];c[o+24>>2]=c[o+40>>2];c[o+20>>2]=c[o+36>>2];c[o+48>>2]=c[o+56>>2]}if((n|0)==69){n=0;j=c[o+60>>2]|0;m=c[o+44>>2]|0;g=c[o+100>>2]|0;k=c[o+68>>2]|0;c[o+412>>2]=o+92;c[o+408>>2]=o+72;c[o+404>>2]=o+88;c[o+400>>2]=j;c[o+396>>2]=m;c[o+392>>2]=g;c[o+388>>2]=k;c[o+384>>2]=(c[c[o+412>>2]>>2]|0)-(c[c[o+404>>2]>>2]|0);k=c[o+408>>2]|0;g=c[k>>2]|0;c[k>>2]=g+1;c[o+380>>2]=g;if(c[o+392>>2]|0)if(((c[c[o+408>>2]>>2]|0)+(c[o+384>>2]>>8)+(c[o+384>>2]|0)+8|0)>>>0>(c[o+388>>2]|0)>>>0)c[o+416>>2]=1;else n=72;else n=72;do if((n|0)==72){n=0;if((c[o+384>>2]|0)>=15){a[c[o+380>>2]>>0]=-16;c[o+376>>2]=(c[o+384>>2]|0)-15;while(1){if((c[o+376>>2]|0)<=254)break;k=c[o+408>>2]|0;g=c[k>>2]|0;c[k>>2]=g+1;a[g>>0]=-1;c[o+376>>2]=(c[o+376>>2]|0)-255}k=c[o+376>>2]&255;m=c[o+408>>2]|0;g=c[m>>2]|0;c[m>>2]=g+1;a[g>>0]=k}else a[c[o+380>>2]>>0]=c[o+384>>2]<<4;IZ(c[c[o+408>>2]>>2]|0,c[c[o+404>>2]>>2]|0,(c[c[o+408>>2]>>2]|0)+(c[o+384>>2]|0)|0);g=c[o+408>>2]|0;c[g>>2]=(c[g>>2]|0)+(c[o+384>>2]|0);KZ(c[c[o+408>>2]>>2]|0,(c[c[o+412>>2]>>2]|0)-(c[o+396>>2]|0)&65535);g=c[o+408>>2]|0;c[g>>2]=(c[g>>2]|0)+2;c[o+384>>2]=(c[o+400>>2]|0)-4;if(c[o+392>>2]|0)if(((c[c[o+408>>2]>>2]|0)+(c[o+384>>2]>>8)+6|0)>>>0>(c[o+388>>2]|0)>>>0){c[o+416>>2]=1;break}if((c[o+384>>2]|0)>=15){g=c[o+380>>2]|0;a[g>>0]=(d[g>>0]|0)+15;c[o+384>>2]=(c[o+384>>2]|0)-15;while(1){if((c[o+384>>2]|0)<=509)break;g=c[o+408>>2]|0;k=c[g>>2]|0;c[g>>2]=k+1;a[k>>0]=-1;k=c[o+408>>2]|0;g=c[k>>2]|0;c[k>>2]=g+1;a[g>>0]=-1;c[o+384>>2]=(c[o+384>>2]|0)-510}if((c[o+384>>2]|0)>254){c[o+384>>2]=(c[o+384>>2]|0)-255;k=c[o+408>>2]|0;g=c[k>>2]|0;c[k>>2]=g+1;a[g>>0]=-1}k=c[o+384>>2]&255;m=c[o+408>>2]|0;g=c[m>>2]|0;c[m>>2]=g+1;a[g>>0]=k}else{g=c[o+380>>2]|0;a[g>>0]=(d[g>>0]|0)+(c[o+384>>2]&255)}g=c[o+412>>2]|0;c[g>>2]=(c[g>>2]|0)+(c[o+400>>2]|0);c[c[o+404>>2]>>2]=c[c[o+412>>2]>>2];c[o+416>>2]=0}while(0);if(c[o+416>>2]|0){n=91;break}else continue}if((c[o+40>>2]|0)>>>0<((c[o+92>>2]|0)+(c[o+60>>2]|0)|0)>>>0)c[o+60>>2]=(c[o+40>>2]|0)-(c[o+92>>2]|0);j=c[o+60>>2]|0;m=c[o+44>>2]|0;g=c[o+100>>2]|0;k=c[o+68>>2]|0;c[o+592>>2]=o+92;c[o+588>>2]=o+72;c[o+584>>2]=o+88;c[o+580>>2]=j;c[o+576>>2]=m;c[o+572>>2]=g;c[o+568>>2]=k;c[o+564>>2]=(c[c[o+592>>2]>>2]|0)-(c[c[o+584>>2]>>2]|0);k=c[o+588>>2]|0;g=c[k>>2]|0;c[k>>2]=g+1;c[o+560>>2]=g;if(c[o+572>>2]|0)if(((c[c[o+588>>2]>>2]|0)+(c[o+564>>2]>>8)+(c[o+564>>2]|0)+8|0)>>>0>(c[o+568>>2]|0)>>>0)c[o+596>>2]=1;else n=144;else n=144;do if((n|0)==144){n=0;if((c[o+564>>2]|0)>=15){a[c[o+560>>2]>>0]=-16;c[o+556>>2]=(c[o+564>>2]|0)-15;while(1){if((c[o+556>>2]|0)<=254)break;k=c[o+588>>2]|0;g=c[k>>2]|0;c[k>>2]=g+1;a[g>>0]=-1;c[o+556>>2]=(c[o+556>>2]|0)-255}k=c[o+556>>2]&255;m=c[o+588>>2]|0;g=c[m>>2]|0;c[m>>2]=g+1;a[g>>0]=k}else a[c[o+560>>2]>>0]=c[o+564>>2]<<4;IZ(c[c[o+588>>2]>>2]|0,c[c[o+584>>2]>>2]|0,(c[c[o+588>>2]>>2]|0)+(c[o+564>>2]|0)|0);g=c[o+588>>2]|0;c[g>>2]=(c[g>>2]|0)+(c[o+564>>2]|0);KZ(c[c[o+588>>2]>>2]|0,(c[c[o+592>>2]>>2]|0)-(c[o+576>>2]|0)&65535);g=c[o+588>>2]|0;c[g>>2]=(c[g>>2]|0)+2;c[o+564>>2]=(c[o+580>>2]|0)-4;if(c[o+572>>2]|0)if(((c[c[o+588>>2]>>2]|0)+(c[o+564>>2]>>8)+6|0)>>>0>(c[o+568>>2]|0)>>>0){c[o+596>>2]=1;break}if((c[o+564>>2]|0)>=15){g=c[o+560>>2]|0;a[g>>0]=(d[g>>0]|0)+15;c[o+564>>2]=(c[o+564>>2]|0)-15;while(1){if((c[o+564>>2]|0)<=509)break;g=c[o+588>>2]|0;k=c[g>>2]|0;c[g>>2]=k+1;a[k>>0]=-1;k=c[o+588>>2]|0;g=c[k>>2]|0;c[k>>2]=g+1;a[g>>0]=-1;c[o+564>>2]=(c[o+564>>2]|0)-510}if((c[o+564>>2]|0)>254){c[o+564>>2]=(c[o+564>>2]|0)-255;k=c[o+588>>2]|0;g=c[k>>2]|0;c[k>>2]=g+1;a[g>>0]=-1}k=c[o+564>>2]&255;m=c[o+588>>2]|0;g=c[m>>2]|0;c[m>>2]=g+1;a[g>>0]=k}else{g=c[o+560>>2]|0;a[g>>0]=(d[g>>0]|0)+(c[o+564>>2]&255)}g=c[o+592>>2]|0;c[g>>2]=(c[g>>2]|0)+(c[o+580>>2]|0);c[c[o+584>>2]>>2]=c[c[o+592>>2]>>2];c[o+596>>2]=0}while(0);if(c[o+596>>2]|0){n=163;break}c[o+92>>2]=c[o+40>>2];j=c[o+56>>2]|0;m=c[o+36>>2]|0;g=c[o+100>>2]|0;k=c[o+68>>2]|0;c[o+636>>2]=o+92;c[o+632>>2]=o+72;c[o+628>>2]=o+88;c[o+624>>2]=j;c[o+620>>2]=m;c[o+616>>2]=g;c[o+612>>2]=k;c[o+608>>2]=(c[c[o+636>>2]>>2]|0)-(c[c[o+628>>2]>>2]|0);k=c[o+632>>2]|0;g=c[k>>2]|0;c[k>>2]=g+1;c[o+604>>2]=g;if(c[o+616>>2]|0)if(((c[c[o+632>>2]>>2]|0)+(c[o+608>>2]>>8)+(c[o+608>>2]|0)+8|0)>>>0>(c[o+612>>2]|0)>>>0)c[o+640>>2]=1;else n=167;else n=167;do if((n|0)==167){n=0;if((c[o+608>>2]|0)>=15){a[c[o+604>>2]>>0]=-16;c[o+600>>2]=(c[o+608>>2]|0)-15;while(1){if((c[o+600>>2]|0)<=254)break;k=c[o+632>>2]|0;g=c[k>>2]|0;c[k>>2]=g+1;a[g>>0]=-1;c[o+600>>2]=(c[o+600>>2]|0)-255}k=c[o+600>>2]&255;m=c[o+632>>2]|0;g=c[m>>2]|0;c[m>>2]=g+1;a[g>>0]=k}else a[c[o+604>>2]>>0]=c[o+608>>2]<<4;IZ(c[c[o+632>>2]>>2]|0,c[c[o+628>>2]>>2]|0,(c[c[o+632>>2]>>2]|0)+(c[o+608>>2]|0)|0);g=c[o+632>>2]|0;c[g>>2]=(c[g>>2]|0)+(c[o+608>>2]|0);KZ(c[c[o+632>>2]>>2]|0,(c[c[o+636>>2]>>2]|0)-(c[o+620>>2]|0)&65535);g=c[o+632>>2]|0;c[g>>2]=(c[g>>2]|0)+2;c[o+608>>2]=(c[o+624>>2]|0)-4;if(c[o+616>>2]|0)if(((c[c[o+632>>2]>>2]|0)+(c[o+608>>2]>>8)+6|0)>>>0>(c[o+612>>2]|0)>>>0){c[o+640>>2]=1;break}if((c[o+608>>2]|0)>=15){g=c[o+604>>2]|0;a[g>>0]=(d[g>>0]|0)+15;c[o+608>>2]=(c[o+608>>2]|0)-15;while(1){if((c[o+608>>2]|0)<=509)break;g=c[o+632>>2]|0;k=c[g>>2]|0;c[g>>2]=k+1;a[k>>0]=-1;k=c[o+632>>2]|0;g=c[k>>2]|0;c[k>>2]=g+1;a[g>>0]=-1;c[o+608>>2]=(c[o+608>>2]|0)-510}if((c[o+608>>2]|0)>254){c[o+608>>2]=(c[o+608>>2]|0)-255;k=c[o+632>>2]|0;g=c[k>>2]|0;c[k>>2]=g+1;a[g>>0]=-1}k=c[o+608>>2]&255;m=c[o+632>>2]|0;g=c[m>>2]|0;c[m>>2]=g+1;a[g>>0]=k}else{g=c[o+604>>2]|0;a[g>>0]=(d[g>>0]|0)+(c[o+608>>2]&255)}g=c[o+636>>2]|0;c[g>>2]=(c[g>>2]|0)+(c[o+624>>2]|0);c[c[o+628>>2]>>2]=c[c[o+636>>2]>>2];c[o+640>>2]=0}while(0);if(c[o+640>>2]|0){n=186;break}}if((n|0)==91){c[o+128>>2]=0;n=c[o+128>>2]|0;i=o;return n|0}else if((n|0)==163){c[o+128>>2]=0;n=c[o+128>>2]|0;i=o;return n|0}else if((n|0)==186){c[o+128>>2]=0;n=c[o+128>>2]|0;i=o;return n|0}else if((n|0)==214){c[o+128>>2]=0;n=c[o+128>>2]|0;i=o;return n|0}else if((n|0)==248){c[o+128>>2]=0;n=c[o+128>>2]|0;i=o;return n|0}else if((n|0)==250){c[o>>2]=(c[o+84>>2]|0)-(c[o+88>>2]|0);if(c[o+100>>2]|0)if(((c[o+72>>2]|0)-(c[o+116>>2]|0)+(c[o>>2]|0)+1+((((c[o>>2]|0)+255-15|0)>>>0)/255|0)|0)>>>0>(c[o+108>>2]|0)>>>0){c[o+128>>2]=0;n=c[o+128>>2]|0;i=o;return n|0}if((c[o>>2]|0)>=15){n=c[o+72>>2]|0;c[o+72>>2]=n+1;a[n>>0]=-16;c[o>>2]=(c[o>>2]|0)-15;while(1){if((c[o>>2]|0)<=254)break;n=c[o+72>>2]|0;c[o+72>>2]=n+1;a[n>>0]=-1;c[o>>2]=(c[o>>2]|0)-255}g=c[o>>2]&255;n=c[o+72>>2]|0;c[o+72>>2]=n+1;a[n>>0]=g}else{g=c[o>>2]<<4&255;n=c[o+72>>2]|0;c[o+72>>2]=n+1;a[n>>0]=g}mBb(c[o+72>>2]|0,c[o+88>>2]|0,(c[o+84>>2]|0)-(c[o+88>>2]|0)|0)|0;c[o+72>>2]=(c[o+72>>2]|0)+((c[o+84>>2]|0)-(c[o+88>>2]|0));c[o+128>>2]=(c[o+72>>2]|0)-(c[o+116>>2]|0);n=c[o+128>>2]|0;i=o;return n|0}return 0}function zZ(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=a;a=(_(AZ(c[b>>2]|0)|0,-1640531535)|0)>>>17;i=b;return a|0}function AZ(b){b=b|0;var d=0;d=i;i=i+16|0;c[d+4>>2]=b;b=c[d+4>>2]|0;a[d>>0]=a[b>>0]|0;a[d+1>>0]=a[b+1>>0]|0;a[d+2>>0]=a[b+2>>0]|0;a[d+3>>0]=a[b+3>>0]|0;i=d;return c[d>>2]|0}function BZ(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0;g=i;i=i+32|0;c[g+16>>2]=a;c[g+12>>2]=b;c[g+8>>2]=e;c[g+4>>2]=c[g+16>>2];while(1){if(!((c[g+16>>2]|0)>>>0<((c[g+8>>2]|0)+-3|0)>>>0|0))break;b=CZ(c[g+12>>2]|0)|0;c[g>>2]=b^(CZ(c[g+16>>2]|0)|0);if(c[g>>2]|0){f=5;break}c[g+16>>2]=(c[g+16>>2]|0)+4;c[g+12>>2]=(c[g+12>>2]|0)+4}if((f|0)==5){f=FZ(c[g>>2]|0)|0;c[g+16>>2]=(c[g+16>>2]|0)+f;c[g+20>>2]=(c[g+16>>2]|0)-(c[g+4>>2]|0);f=c[g+20>>2]|0;i=g;return f|0}if(DZ()|0)if((c[g+16>>2]|0)>>>0<((c[g+8>>2]|0)+-3|0)>>>0){f=AZ(c[g+12>>2]|0)|0;if((f|0)==(AZ(c[g+16>>2]|0)|0)){c[g+16>>2]=(c[g+16>>2]|0)+4;c[g+12>>2]=(c[g+12>>2]|0)+4}}if((c[g+16>>2]|0)>>>0<((c[g+8>>2]|0)+-1|0)>>>0){f=(HZ(c[g+12>>2]|0)|0)&65535;if((f|0)==((HZ(c[g+16>>2]|0)|0)&65535|0)){c[g+16>>2]=(c[g+16>>2]|0)+2;c[g+12>>2]=(c[g+12>>2]|0)+2}}if((c[g+16>>2]|0)>>>0<(c[g+8>>2]|0)>>>0)if((d[c[g+12>>2]>>0]|0|0)==(d[c[g+16>>2]>>0]|0|0))c[g+16>>2]=(c[g+16>>2]|0)+1;c[g+20>>2]=(c[g+16>>2]|0)-(c[g+4>>2]|0);f=c[g+20>>2]|0;i=g;return f|0}function CZ(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;c[b>>2]=a;d=(DZ()|0)!=0;a=c[b>>2]|0;if(d){d=EZ(a)|0;c[b+4>>2]=d;d=c[b+4>>2]|0;i=b;return d|0}else{c[b+4>>2]=AZ(a)|0;d=c[b+4>>2]|0;i=b;return d|0}return 0}function DZ(){return 0}function EZ(b){b=b|0;var d=0;d=i;i=i+16|0;c[d+8>>2]=b;b=c[d+8>>2]|0;a[d>>0]=a[b>>0]|0;a[d+1>>0]=a[b+1>>0]|0;a[d+2>>0]=a[b+2>>0]|0;a[d+3>>0]=a[b+3>>0]|0;a[d+4>>0]=a[b+4>>0]|0;a[d+5>>0]=a[b+5>>0]|0;a[d+6>>0]=a[b+6>>0]|0;a[d+7>>0]=a[b+7>>0]|0;C=c[d+4>>2]|0;i=d;return c[d>>2]|0}function FZ(a){a=a|0;var b=0,d=0,e=0;d=i;i=i+16|0;c[d>>2]=a;e=(GZ()|0)!=0;a=(DZ()|0)!=0;b=c[d>>2]|0;do if(e)if(a){e=Af(b|0,0,0)|0;c[d+4>>2]=e>>3;break}else{c[d+4>>2]=(iBb(b|0)|0)>>3;break}else if(a){e=oBb(b|0,0,0)|0;c[d+4>>2]=e>>3;break}else{c[d+4>>2]=(aa(b|0)|0)>>3;break}while(0);i=d;return c[d+4>>2]|0}function GZ(){return d[21024]|0|0}function HZ(d){d=d|0;var e=0;e=i;i=i+16|0;c[e>>2]=d;d=c[e>>2]|0;a[e+4>>0]=a[d>>0]|0;a[e+4+1>>0]=a[d+1>>0]|0;i=e;return b[e+4>>1]|0}function IZ(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+32|0;c[e+20>>2]=a;c[e+16>>2]=b;c[e+12>>2]=d;c[e+8>>2]=c[e+20>>2];c[e+4>>2]=c[e+16>>2];c[e>>2]=c[e+12>>2];do{JZ(c[e+8>>2]|0,c[e+4>>2]|0);c[e+8>>2]=(c[e+8>>2]|0)+8;c[e+4>>2]=(c[e+4>>2]|0)+8}while((c[e+8>>2]|0)>>>0<(c[e>>2]|0)>>>0);i=e;return}function JZ(b,d){b=b|0;d=d|0;var e=0;e=i;i=i+16|0;c[e+4>>2]=b;c[e>>2]=d;d=c[e+4>>2]|0;b=c[e>>2]|0;a[d>>0]=a[b>>0]|0;a[d+1>>0]=a[b+1>>0]|0;a[d+2>>0]=a[b+2>>0]|0;a[d+3>>0]=a[b+3>>0]|0;a[d+4>>0]=a[b+4>>0]|0;a[d+5>>0]=a[b+5>>0]|0;a[d+6>>0]=a[b+6>>0]|0;a[d+7>>0]=a[b+7>>0]|0;i=e;return}function KZ(d,f){d=d|0;f=f|0;var g=0;g=i;i=i+16|0;c[g+4>>2]=d;b[g+8>>1]=f;f=(GZ()|0)!=0;d=c[g+4>>2]|0;if(f){a[d>>0]=a[g+8>>0]|0;a[d+1>>0]=a[g+8+1>>0]|0;i=g;return}else{c[g>>2]=d;a[c[g>>2]>>0]=b[g+8>>1];a[(c[g>>2]|0)+1>>0]=(e[g+8>>1]|0)>>8;i=g;return}}function LZ(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=i;i=i+262208|0;c[g+262192>>2]=a;c[g+262188>>2]=b;c[g+262184>>2]=d;c[g+262180>>2]=e;c[g+262176>>2]=f;d=wZ(g,c[g+262192>>2]|0,c[g+262188>>2]|0,c[g+262184>>2]|0,c[g+262180>>2]|0,c[g+262176>>2]|0)|0;i=g;return d|0}function MZ(a){a=a|0;c[a>>2]=21036;Mza(c[a+52>>2]|0);ioa(a);return}function NZ(a){a=a|0;c[a>>2]=21036;Mza(c[a+52>>2]|0);ioa(a);oAb(a);return}function OZ(a){a=a|0;var b=0;b=YAb(72)|0;PZ(b,c[a+8>>2]|0,a+12|0,c[a+24>>2]|0);return b|0}function PZ(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=i;i=i+48|0;ooa(b,d,e,f);c[b>>2]=21036;c[b+40>>2]=vi[c[(c[d>>2]|0)+16>>2]&2047](d)|0;c[b+44>>2]=vi[c[(c[d>>2]|0)+20>>2]&2047](d)|0;c[b+48>>2]=0;c[b+52>>2]=0;c[b+56>>2]=2;h[b+64>>3]=-2.0;do if(!(a[1248726]|0))if(!(oza()|0)){a[1248726]=1;break}else{b=nf(16)|0;ds(b,362218,g);zc(b|0,96,27)}while(0);f=uza(0,0)|0;c[b+52>>2]=f;if(!f){b=nf(16)|0;ds(b,362247,g+8|0);zc(b|0,96,27)}vza(f,2,32,0.0)|0;if(yza(c[b+52>>2]|0,116,117,688)|0){b=nf(16)|0;ds(b,362273,g+16|0);zc(b|0,96,27)}if(xza(c[b+52>>2]|0,b+40|0)|0){b=nf(16)|0;ds(b,362306,g+24|0);zc(b|0,96,27)}c[g+36>>2]=0;if((Gza(c[b+52>>2]|0,g+36|0,b+56|0,0)|0)==-1){b=nf(16)|0;ds(b,362330,g+32|0);zc(b|0,96,27)}f=c[b+56>>2]|0;if(f|0){d=c[b+52>>2]|0;f=(f|0)==2;f=f?8:4;vza(d,1,f,0.0)|0;f=c[b+52>>2]|0;vxa(f)|0;f=c[b+52>>2]|0;d=c[g+36>>2]|0;e=c[b+56>>2]|0;wxa(f,d,e,208)|0;e=c[g+36>>2]|0;b=b+28|0;c[b>>2]=e;i=g;return}c[b+56>>2]=2;f=2;d=c[b+52>>2]|0;f=(f|0)==2;f=f?8:4;vza(d,1,f,0.0)|0;f=c[b+52>>2]|0;vxa(f)|0;f=c[b+52>>2]|0;d=c[g+36>>2]|0;e=c[b+56>>2]|0;wxa(f,d,e,208)|0;e=c[g+36>>2]|0;b=b+28|0;c[b>>2]=e;i=g;return}function QZ(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=c[a+8>>2]|0;f=(c[a+4>>2]|0)-e|0;d=f>>>0>>0?f:d;if(!d)return d|0;mBb(b|0,(c[a>>2]|0)+e|0,d|0)|0;c[a+8>>2]=(c[a+8>>2]|0)+d;return d|0}function RZ(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;switch(d|0){case 0:{if((b|0)<0){a=-1;return a|0}d=c[a+4>>2]|0;if(d>>>0>b>>>0){c[a+8>>2]=b;a=b;return a|0}else{c[a+8>>2]=d;a=d;return a|0}}case 2:{c[a+8>>2]=c[a+4>>2];break}case 1:break;default:{a=-1;return a|0}}if((b|0)>0){e=c[a+4>>2]|0;d=(c[a+8>>2]|0)+b|0;if(e>>>0>d>>>0){c[a+8>>2]=d;a=d;return a|0}else{c[a+8>>2]=e;a=e;return a|0}}d=c[a+8>>2]|0;if((b|0)>=0){a=d;return a|0}if(d>>>0<(0-b|0)>>>0){c[a+8>>2]=0;a=0;return a|0}else{c[a+8>>2]=d+b;a=d+b|0;return a|0}return 0}function SZ(a){a=a|0;return}function TZ(b){b=b|0;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;d=c[b+24>>2]|0;if((d|0)<=0){f=0;i=g;return f|0}e=d;d=0;a:while(1){if(a[b+36>>0]|0){f=8;break}c[g>>2]=0;switch(Eza(c[b+52>>2]|0,(c[b+32>>2]|0)+d|0,e-d|0,g)|0){case -12:{f=5;break a}case 0:case -11:case -10:break;default:break a}d=(c[g>>2]|0)+d|0;e=c[b+24>>2]|0;if((d|0)>=(e|0)){f=8;break}}if((f|0)==5){d=(c[g>>2]|0)+d|0;a[b+36>>0]=1}else if((f|0)==8){i=g;return d|0}f=d;i=g;return f|0}function UZ(b,d){b=b|0;d=+d;var e=0;e=~~(d*+(c[b+28>>2]|0));if((e|0)<0){b=0;return b|0}if((Iza(c[b+52>>2]|0,e,0)|0)<=-1){b=0;return b|0}a[b+36>>0]=0;b=1;return b|0}function VZ(b){b=b|0;a[b+36>>0]=0;return (Iza(c[b+52>>2]|0,0,0)|0)>-1|0}function WZ(a){a=a|0;return 1}function XZ(a){a=a|0;return c[a+56>>2]|0}function YZ(a){a=a|0;return 16}function ZZ(a){a=a|0;var b=0.0,d=0;b=+h[a+64>>3];if(!(b==-2.0))return +b;Jza(c[a+52>>2]|0)|0;d=Lza(c[a+52>>2]|0)|0;if((d|0)<0)b=-1.0;else b=+(d|0)/+(c[a+28>>2]|0);h[a+64>>3]=b;return +b}function _Z(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;if(!(a[621144]|0))if(se(621144)|0){Iqb(629352,362364,3);Iqb(629364,1279070,0);fd(621144)}g=a[b>>0]|0;i=(g&1)==0?(g&255)>>>1:c[b+4>>2]|0;g=(g&1)==0?b+1|0:c[b+8>>2]|0;h=0;while(1){e=629352+(h*12|0)|0;b=a[e>>0]|0;if(!(b&1))d=(b&255)>>>1;else d=c[629352+(h*12|0)+4>>2]|0;if(!d){b=0;d=15;break}if(!(b&1)){f=(b&255)>>>1;d=e+1|0}else{f=c[629352+(h*12|0)+4>>2]|0;d=c[629352+(h*12|0)+8>>2]|0}b=i>>>0>>0;if(!(qmb(d,g,b?i:f)|0))if(f>>>0>=i>>>0&(b^1)){b=1;d=15;break}h=h+1|0}if((d|0)==15)return b|0;return 0}function $Z(){if(!(a[1248726]|0))return;return}function a_(a){a=a|0;g8a(a);return}function b_(){c[157345]=0;c[157346]=0;c[157344]=629380;return}function c_(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+16|0;d=c[157345]|0;do if(!d){c[h>>2]=629380;e=629380;d=629380}else{while(1){e=c[d+16>>2]|0;if(e>>>0>a>>>0){e=c[d>>2]|0;if(!e){e=d;g=4;break}else d=e}else{if(e>>>0>=a>>>0){g=10;break}f=d+4|0;e=c[f>>2]|0;if(!e){g=8;break}else d=e}}if((g|0)==4){c[h>>2]=d;break}else if((g|0)==8){c[h>>2]=d;e=f;break}else if((g|0)==10){c[h>>2]=d;if(!d){e=h;break}a=d+20|0;c[a>>2]=b;i=h;return}}while(0);f=YAb(24)|0;c[f+16>>2]=a;c[f+20>>2]=0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=d;c[e>>2]=f;d=c[c[157344]>>2]|0;if(!d)d=f;else{c[157344]=d;d=c[e>>2]|0}Fj(c[157345]|0,d);c[157346]=(c[157346]|0)+1;a=f;a=a+20|0;c[a>>2]=b;i=h;return}function d_(a){a=a|0;var b=0,d=0,e=0,f=0;f=c[157345]|0;if(!f)return;else{d=629380;b=f}a:while(1){while(1){if((c[b+16>>2]|0)>>>0>=a>>>0){d=b;break}b=c[b+4>>2]|0;if(!b){e=d;break a}}b=c[d>>2]|0;if(!b){e=d;break}}if((e|0)==629380)return;if((c[e+16>>2]|0)>>>0>a>>>0)return;b=c[e+4>>2]|0;if(!b){d=e;while(1){b=c[d+8>>2]|0;if((c[b>>2]|0)==(d|0))break;else d=b}}else while(1){d=c[b>>2]|0;if(!d)break;else b=d}if((c[157344]|0)==(e|0))c[157344]=b;c[157346]=(c[157346]|0)+-1;yj(f,e);oAb(e);return}function e_(a){a=a|0;var b=0,d=0;d=c[157345]|0;if(!d){a=0;return a|0}else b=629380;a:do{while(1){if((c[d+16>>2]|0)>>>0>=a>>>0){b=d;break}d=c[d+4>>2]|0;if(!d)break a}d=c[b>>2]|0}while((d|0)!=0);if((b|0)==629380){a=0;return a|0}if((c[b+16>>2]|0)>>>0>a>>>0){a=0;return a|0}a=c[b+20>>2]|0;return a|0}function f_(a){a=a|0;c[a>>2]=21108;if((c[a+8>>2]|0)==-1)return;ss(c[a+4>>2]|0,-1e4,362386)|0;pHa(c[a+4>>2]|0,-1,c[a+8>>2]|0);lDa(c[a+4>>2]|0,-2);c[a+8>>2]=-1;return}function g_(a){a=a|0;c[a>>2]=21108;if((c[a+8>>2]|0)==-1){oAb(a);return}ss(c[a+4>>2]|0,-1e4,362386)|0;pHa(c[a+4>>2]|0,-1,c[a+8>>2]|0);lDa(c[a+4>>2]|0,-2);oAb(a);return}function h_(a,b){a=a|0;b=b|0;c[a>>2]=21108;c[a+4>>2]=0;c[a+8>>2]=-1;i_(a,b);return}function i_(a,b){a=a|0;b=b|0;if((c[a+8>>2]|0)!=-1){ss(c[a+4>>2]|0,-1e4,362386)|0;pHa(c[a+4>>2]|0,-1,c[a+8>>2]|0);lDa(c[a+4>>2]|0,-2);c[a+8>>2]=-1}c[a+4>>2]=Ms(b)|0;ss(b,-1e4,362386)|0;nDa(b,-2);c[a+8>>2]=oHa(b,-2)|0;lDa(b,-2);return}function j_(a,b){a=a|0;b=b|0;if((c[a+8>>2]|0)==-1){HDa(b);return}else{ss(b,-1e4,362386)|0;VDa(b,-1,c[a+8>>2]|0);mDa(b,-2);return}}function k_(a){a=a|0;var b=0,d=0;c[a>>2]=21124;switch(c[a+8>>2]|0){case 4:{a=c[a+16>>2]|0;if(!a)return;aBb(a);return}case 6:{d=c[a+16>>2]|0;Hi[c[(c[d>>2]|0)+12>>2]&1023](d);return}case 8:{d=c[a+16>>2]|0;b=c[d>>2]|0;a=c[d+4>>2]|0;if((b|0)==(a|0))a=b;else do{b=c[a+-8>>2]|0;Hi[c[(c[b>>2]|0)+12>>2]&1023](b);a=c[a+-4>>2]|0;Hi[c[(c[a>>2]|0)+12>>2]&1023](a);a=(c[d+4>>2]|0)+-8|0;c[d+4>>2]=a}while((c[d>>2]|0)!=(a|0));if(a|0)oAb(a);oAb(d);return}default:return}}function l_(a){a=a|0;k_(a);oAb(a);return}function m_(b,d){b=b|0;d=d|0;Jj(b);c[b>>2]=21124;c[b+8>>2]=1;a[b+16>>0]=d&1;return}function n_(a,b){a=a|0;b=+b;Jj(a);c[a>>2]=21124;c[a+8>>2]=2;h[a+16>>3]=b;return}function o_(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;Jj(a);c[a>>2]=21124;c[a+8>>2]=4;e=_Ab(d+1|0)|0;hBb(e+d|0,0,(d|0)!=-1|0)|0;mBb(e|0,b|0,d|0)|0;c[a+16>>2]=e;c[a+16+4>>2]=d;return}function p_(a,b){a=a|0;b=b|0;Jj(a);c[a>>2]=21124;c[a+8>>2]=5;c[a+16>>2]=b;return}function q_(a,b,d){a=a|0;b=b|0;d=d|0;Jj(a);c[a>>2]=21124;c[a+8>>2]=6;c[a+24>>2]=b;if(!b){c[a+16>>2]=d;return}else{c[a+16>>2]=c[d+4>>2];d=c[d+4>>2]|0;Hi[c[(c[d>>2]|0)+8>>2]&1023](d);return}}function r_(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,j=0,k=0.0;j=i;i=i+16|0;if((d|0)<0)d=d+1+(kDa(b)|0)|0;switch(qDa(b,d)|0){case 1:{g=YAb(32)|0;b=fs(b,d)|0;Jj(g);c[g>>2]=21124;c[g+8>>2]=1;a[g+16>>0]=b&1;b=g;i=j;return b|0}case 3:{g=YAb(32)|0;k=+yDa(b,d);Jj(g);c[g>>2]=21124;c[g+8>>2]=2;h[g+16>>3]=k;b=g;i=j;return b|0}case 4:{e=BDa(b,d,j+8|0)|0;b=YAb(32)|0;g=c[j+8>>2]|0;Jj(b);c[b>>2]=21124;c[b+8>>2]=4;f=_Ab(g+1|0)|0;hBb(f+g|0,0,(g|0)!=-1|0)|0;mBb(f|0,e|0,g|0)|0;c[b+16>>2]=f;c[b+20>>2]=g;i=j;return b|0}case 2:{g=YAb(32)|0;b=EDa(b,d)|0;Jj(g);c[g>>2]=21124;c[g+8>>2]=5;c[g+16>>2]=b;b=g;i=j;return b|0}case 7:{f=YAb(32)|0;c[j+12>>2]=0;do if(!(vDa(b,d)|0))e=0;else if(!(cHa(b,d,518979)|0))e=0;else{pDa(b,d);e=eEa(b,1,1,0)|0;if(!e)Us(BDa(b,-1,0)|0,j+12|0)|0;else if((e|2|0)!=2){e=0;break}lDa(b,-2);e=c[j+12>>2]|0}while(0);d=EDa(b,d)|0;Jj(f);c[f>>2]=21124;c[f+8>>2]=6;c[f+24>>2]=e;if(!e){c[f+16>>2]=d;b=f;i=j;return b|0}else{c[f+16>>2]=c[d+4>>2];b=c[d+4>>2]|0;Hi[c[(c[b>>2]|0)+8>>2]&1023](b);b=f;i=j;return b|0}}case 0:{b=YAb(32)|0;Jj(b);c[b>>2]=21124;c[b+8>>2]=7;c[b+16>>2]=0;c[b+16+4>>2]=0;i=j;return b|0}case 5:{if(!e){b=0;i=j;return b|0}g=YAb(12)|0;c[g>>2]=0;c[g+4>>2]=0;c[g+8>>2]=0;HDa(b);a:do if(lEa(b,d)|0){while(1){f=r_(b,-2,0)|0;if(!f){d=22;break}e=r_(b,-1,0)|0;if(!e){d=24;break}c[j>>2]=f;c[j+4>>2]=e;e=c[g+4>>2]|0;if(e>>>0<(c[g+8>>2]|0)>>>0){f=c[j+4>>2]|0;c[e>>2]=c[j>>2];c[e+4>>2]=f;c[g+4>>2]=(c[g+4>>2]|0)+8}else s_(g,j);lDa(b,-2);if(!(lEa(b,d)|0))break a}if((d|0)==22)lDa(b,-3);else if((d|0)==24){Hi[c[(c[f>>2]|0)+4>>2]&1023](f);lDa(b,-3)}d=c[g>>2]|0;e=c[g+4>>2]|0;if((d|0)!=(e|0)){d=e;do{b=c[d+-8>>2]|0;Hi[c[(c[b>>2]|0)+12>>2]&1023](b);d=c[d+-4>>2]|0;Hi[c[(c[d>>2]|0)+12>>2]&1023](d);d=(c[g+4>>2]|0)+-8|0;c[g+4>>2]=d}while((c[g>>2]|0)!=(d|0))}if(d|0)oAb(d);oAb(g);b=0;i=j;return b|0}while(0);b=YAb(32)|0;Jj(b);c[b>>2]=21124;c[b+8>>2]=8;c[b+16>>2]=g;i=j;return b|0}default:{b=0;i=j;return b|0}}return 0}function s_(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=c[a>>2]|0;d=((c[a+4>>2]|0)-j>>3)+1|0;if(d>>>0>536870911)jzb(a);e=(c[a+8>>2]|0)-j|0;if(e>>3>>>0<268435455){d=e>>2>>>0>>0?d:e>>2;f=c[a+4>>2]|0;if(!d){i=0;g=0;e=f-j>>3;d=f}else{h=f;e=f-j>>3;k=6}}else{e=c[a+4>>2]|0;d=536870911;h=e;e=e-j>>3;k=6}if((k|0)==6){i=d;g=YAb(d<<3)|0;d=h}k=g+(e<<3)|0;h=c[b+4>>2]|0;c[k>>2]=c[b>>2];c[k+4>>2]=h;b=d-j|0;mBb(k+(0-(b>>3)<<3)|0,j|0,b|0)|0;c[a>>2]=k+(0-(b>>3)<<3);c[a+4>>2]=k+8;c[a+8>>2]=g+(i<<3);if(!j)return;oAb(j);return}function t_(a,b){a=a|0;b=b|0;var e=0,f=0,g=0;switch(c[a+8>>2]|0){case 1:{PDa(b,d[a+16>>0]|0);return}case 3:{KDa(b,a+16|0,1);return}case 2:{IDa(b,+h[a+16>>3]);return}case 4:{KDa(b,c[a+16>>2]|0,c[a+16+4>>2]|0);return}case 5:{QDa(b,c[a+16>>2]|0);return}case 6:{e=c[a+24>>2]|0;if(!e){QDa(b,c[a+16>>2]|0);return}else{Gs(b,e,c[a+16>>2]|0);return}}case 8:{f=c[a+16>>2]|0;WDa(b,0,(c[f+4>>2]|0)-(c[f>>2]|0)>>3);f=c[a+16>>2]|0;e=c[f>>2]|0;if((c[f+4>>2]|0)==(e|0))return;else f=0;do{g=e;t_(c[g+(f<<3)>>2]|0,b);t_(c[g+(f<<3)+4>>2]|0,b);ZDa(b,-3);f=f+1|0;g=c[a+16>>2]|0;e=c[g>>2]|0}while(f>>>0<(c[g+4>>2]|0)-e>>3>>>0);return}default:{HDa(b);return}}}function u_(a){a=a|0;wj(a);return}function v_(a){a=a|0;wj(a);oAb(a);return}function w_(a){a=a|0;return 0}function x_(a){a=a|0;return 362463}function y_(a,b){a=a|0;b=b|0;a=YAb(56)|0;R$(a);return a|0}function z_(a,b){a=a|0;b=b|0;a=YAb(56)|0;R$(a);return a|0}function A_(a){a=a|0;return 0}function B_(a){a=a|0;return 0}function C_(a){a=a|0;return}function D_(a,b){a=a|0;b=b|0;return 0}function E_(a,b){a=a|0;b=b|0;return}function F_(a){a=a|0;return}function G_(a,b){a=a|0;b=b|0;return}function H_(a){a=a|0;return}function I_(a,b){a=a|0;b=b|0;return}function J_(a){a=a|0;return}function K_(a,b){a=a|0;b=b|0;return}function L_(a){a=a|0;return}function M_(a,b){a=a|0;b=+b;g[a+8>>2]=b;return}function N_(a){a=a|0;return +(+g[a+8>>2])}function O_(a,b){a=a|0;b=b|0;return}function P_(a,b){a=a|0;b=b|0;return}function Q_(a,b){a=a|0;b=b|0;return}function R_(a,b){a=a|0;b=b|0;return}function S_(a,b){a=a|0;b=b|0;return}function T_(a,b){a=a|0;b=b|0;return}function U_(a,b){a=a|0;b=+b;return}function V_(a){a=a|0;return 1.0}function W_(a){a=a|0;return}function X_(a){a=a|0;return 0}function Y_(a,b){a=a|0;b=b|0;return 0}function Z_(a){a=a|0;return 0}function __(a){a=a|0;return c[a+12>>2]|0}function $_(a,b){a=a|0;b=b|0;c[a+12>>2]=b;return}function a$(a){a=a|0;Jj(a);c[a>>2]=21148;c[a+12>>2]=0;return}function b$(a){a=a|0;g2(a);return}function c$(a){a=a|0;g2(a);oAb(a);return}function d$(a){a=a|0;Hi[c[(c[a>>2]|0)+8>>2]&1023](a);return a|0}function e$(a){a=a|0;return 0}function f$(a){a=a|0;return}function g$(a){a=a|0;return}function h$(a){a=a|0;return}function i$(a){a=a|0;return}function j$(a){a=a|0;return 1}function k$(a){a=a|0;return 0}function l$(a){a=a|0;return 1}function m$(a){a=a|0;return 0}function n$(a,b){a=a|0;b=+b;g[a+12>>2]=b;return}function o$(a){a=a|0;return +(+g[a+12>>2])}function p$(a,b){a=a|0;b=+b;g[a+16>>2]=b;return}function q$(a){a=a|0;return +(+g[a+16>>2])}function r$(a,b,c){a=a|0;b=+b;c=c|0;return}function s$(a,b){a=a|0;b=b|0;return 0.0}function t$(a,b){a=a|0;b=b|0;return -1.0}function u$(a,b){a=a|0;b=b|0;return}function v$(a,b){a=a|0;b=b|0;return}function w$(a,b){a=a|0;b=b|0;return}function x$(a,b){a=a|0;b=b|0;return}function y$(a,b){a=a|0;b=b|0;return}function z$(a,b){a=a|0;b=b|0;return}function A$(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;g[a+20>>2]=b;g[a+24>>2]=c;g[a+28>>2]=d;return}function B$(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;c[b>>2]=c[a+20>>2];c[d>>2]=c[a+24>>2];c[e>>2]=c[a+28>>2];return}function C$(b,c){b=b|0;c=c|0;a[b+32>>0]=c&1;return}function D$(b){b=b|0;return (a[b+32>>0]|0)!=0|0}function E$(b,c){b=b|0;c=c|0;a[b+33>>0]=c&1;return}function F$(b){b=b|0;return (a[b+33>>0]|0)!=0|0}function G$(a,b){a=a|0;b=+b;g[a+36>>2]=b;return}function H$(a){a=a|0;return +(+g[a+36>>2])}function I$(a,b){a=a|0;b=+b;g[a+40>>2]=b;return}function J$(a){a=a|0;return +(+g[a+40>>2])}function K$(a,b){a=a|0;b=+b;g[a+44>>2]=b;return}function L$(a){a=a|0;return +(+g[a+44>>2])}function M$(a,b){a=a|0;b=+b;g[a+48>>2]=b;return}function N$(a){a=a|0;return +(+g[a+48>>2])}function O$(a,b){a=a|0;b=+b;g[a+52>>2]=b;return}function P$(a){a=a|0;return +(+g[a+52>>2])}function Q$(a){a=a|0;return 2}function R$(a){a=a|0;k2(a,0);c[a>>2]=21300;return}function S$(a){a=a|0;c[a>>2]=21488;aP(a+28|0);OO(a);return}function T$(a){a=a|0;c[a>>2]=21488;aP(a+28|0);OO(a);oAb(a);return}function U$(b){b=b|0;var d=0,e=0;d=i;i=i+16|0;QO(d,bP(b+28|0)|0);e=(a[b+24>>0]|0)==0;SO(d);if(!e){i=d;return}do{J0(c[b+20>>2]|0);a_(5);QO(d,bP(b+28|0)|0);e=(a[b+24>>0]|0)==0;SO(d)}while(e);i=d;return}function V$(b){b=b|0;var d=0,e=0;e=i;i=i+16|0;c[b>>2]=21508;d=c[b+24>>2]|0;QO(e,bP(d+28|0)|0);a[d+24>>0]=1;SO(e);YO(c[b+24>>2]|0);d=c[b+24>>2]|0;if(d|0)Hi[c[(c[d>>2]|0)+4>>2]&1023](d);d=c[b+20>>2]|0;if(d|0){H0(d);oAb(d)}Eb(0)|0;Jd(c[b+16>>2]|0);Cf(c[b+8>>2]|0)|0;wj(b);i=e;return}function W$(a){a=a|0;V$(a);oAb(a);return}function X$(a){a=a|0;return 362571}function Y$(a,b){a=a|0;b=b|0;var d=0;d=YAb(168)|0;_1(d,c[a+20>>2]|0,b);return d|0}function Z$(a,b){a=a|0;b=b|0;var d=0;d=YAb(168)|0;Y1(d,c[a+20>>2]|0,b);return d|0}function _$(a){a=a|0;return K0(c[a+20>>2]|0)|0}function $$(a){a=a|0;return L0(c[a+20>>2]|0)|0}function a0(a){a=a|0;J0(c[a+20>>2]|0);return}function b0(a,b){a=a|0;b=b|0;return vi[c[(c[b>>2]|0)+20>>2]&2047](b)|0}function c0(a,b){a=a|0;b=b|0;Hi[c[(c[b>>2]|0)+24>>2]&1023](b);return}function d0(a){a=a|0;I0(c[a+20>>2]|0);return}function e0(a,b){a=a|0;b=b|0;Hi[c[(c[b>>2]|0)+28>>2]&1023](b);return}function f0(a){a=a|0;P0(c[a+20>>2]|0);return}function g0(a,b){a=a|0;b=b|0;Hi[c[(c[b>>2]|0)+32>>2]&1023](b);return}function h0(a){a=a|0;R0(c[a+20>>2]|0);return}function i0(a,b){a=a|0;b=b|0;Hi[c[(c[b>>2]|0)+36>>2]&1023](b);return}function j0(a){a=a|0;T0(c[a+20>>2]|0);return}function k0(a,b){a=a|0;b=+b;bc(4106,+b);return}function l0(a){a=a|0;a=i;i=i+16|0;_c(4106,a|0);i=a;return +(+g[a>>2])}function m0(a,b){a=a|0;b=b|0;ce(4100,b|0);return}function n0(a,b){a=a|0;b=b|0;Yb(4100,b|0);return}function o0(a,b){a=a|0;b=b|0;ce(4111,b|0);return}function p0(a,b){a=a|0;b=b|0;Yb(4111,b|0);return}function q0(a,b){a=a|0;b=b|0;ce(4102,b|0);return}function r0(a,b){a=a|0;b=b|0;Yb(4102,b|0);return}function s0(a,b){a=a|0;b=+b;if(!(b>=0.0))return;Ad(+b);return}function t0(a){a=a|0;return +(+nb(49152))}function u0(a){a=a|0;if(!(vi[c[(c[a>>2]|0)+132>>2]&2047](a)|0))return;Ef(c[a+12>>2]|0);return}function v0(a){a=a|0;var b=0,d=0,e=0;b=i;i=i+16|0;if(!(vi[c[(c[a>>2]|0)+132>>2]&2047](a)|0)){a=0;i=b;return a|0}Fd(c[a+12>>2]|0,786,4,b|0);e=c[b>>2]|0;d=Vpb(e<<1)|0;Me(c[a+12>>2]|0,d|0,e|0);a=YAb(28)|0;hO(a,d,c[b>>2]|0,8e3,16,1);Wpb(d);i=b;return a|0}function w0(a,b){a=a|0;b=b|0;if(!(vi[c[(c[a>>2]|0)+132>>2]&2047](a)|0)){a=0;return a|0}if(b)b=vi[c[(c[a>>2]|0)+124>>2]&2047](a)|0;else b=0;Kh(c[a+12>>2]|0);a=b;return a|0}function x0(a){a=a|0;return (c[a+12>>2]|0)!=0|0}function y0(a){a=a|0;return c[a+28>>2]|0}function z0(a,b){a=a|0;b=b|0;c[a+28>>2]=b;switch(b|0){case 0:{jc(0);break}case 1:{jc(53249);break}case 2:{jc(53250);break}case 3:{jc(53251);break}case 4:{jc(53252);break}case 5:{jc(53253);break}case 6:{jc(53254);break}default:{}}return}function A0(b){b=b|0;var d=0,e=0,f=0;e=i;i=i+32|0;Jj(b);c[b>>2]=21508;c[b+8>>2]=0;c[b+8+4>>2]=0;c[b+8+8>>2]=0;c[b+8+12>>2]=0;c[b+8+16>>2]=0;c[b+28>>2]=2;d=ke(0)|0;c[b+8>>2]=d;if(!d){b=nf(16)|0;ds(b,362599,e);zc(b|0,96,27)}d=zb(d|0,0)|0;c[b+16>>2]=d;if(!d){b=nf(16)|0;ds(b,362622,e+8|0);zc(b|0,96,27)}if(!((Eb(d|0)|0)<<24>>24)){b=nf(16)|0;ds(b,362648,e+16|0);zc(b|0,96,27)}if(!(Hg(c[b+8>>2]|0)|0)){f=YAb(300)|0;B0(f);c[b+20>>2]=f;d=YAb(32)|0;WO(d);c[d>>2]=21488;c[d+20>>2]=f;a[d+24>>0]=0;$O(d+28|0);Rqb(d+8|0,362589)|0;c[b+24>>2]=d;XO(d)|0;i=e;return}else{f=nf(16)|0;ds(f,362648,e+16|0);zc(f|0,96,27)}}function B0(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;h=i;i=i+16|0;c[a+288>>2]=0;c[a+292>>2]=0;hBb(a|0,0,284)|0;c[a+284>>2]=a+288;$O(a+296|0);df()|0;d=0;while(1){he(1,a+(d<<2)|0);g=(df()|0)==0;b=c[a+256>>2]|0;if(!g)break;c[a+256>>2]=b+1;d=d+1|0;if((d|0)>=64){b=b+1|0;break}}if((b|0)<4){a=nf(16)|0;ds(a,362680,h);zc(a|0,96,27)}f=c[a+264>>2]|0;d=c[a+280>>2]|0;g=0;do{e=c[a+268>>2]|0;b=c[a+276>>2]|0;if((((e|0)==(f|0)?0:(e-f<<8)+-1|0)|0)==(d+b|0)){C0(a+260|0);f=c[a+264>>2]|0;d=c[a+280>>2]|0;b=c[a+276>>2]|0;e=f}else e=f;d=d+b|0;c[(c[e+(d>>>10<<2)>>2]|0)+((d&1023)<<2)>>2]=c[a+(g<<2)>>2];d=(c[a+280>>2]|0)+1|0;c[a+280>>2]=d;g=g+1|0}while((g|0)<(c[a+256>>2]|0));i=h;return}function C0(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;b=c[a+16>>2]|0;if(b>>>0>1023){c[a+16>>2]=b+-1024;f=c[a+4>>2]|0;l=c[f>>2]|0;c[a+4>>2]=f+4;b=c[a+8>>2]|0;d=c[a+12>>2]|0;do if((b|0)==(d|0)){e=c[a>>2]|0;if((f+4|0)>>>0>e>>>0){n=f+4+((((f+4-e>>2)+1|0)/-2|0)<<2)|0;nBb(n|0,f+4|0,b-(f+4)|0)|0;c[a+8>>2]=n+(b-(f+4)>>2<<2);c[a+4>>2]=(c[a+4>>2]|0)+((((f+4-e>>2)+1|0)/-2|0)<<2);b=n+(b-(f+4)>>2<<2)|0;break}h=(d-e>>1|0)==0?1:d-e>>1;j=YAb(h<<2)|0;k=j+(h>>>2<<2)|0;if((f+4|0)==(b|0)){d=e;b=k}else{g=j+(h>>>2<<2)|0;e=f+4|0;d=k;while(1){c[g>>2]=c[e>>2];g=d+4|0;f=g;e=e+4|0;if((e|0)==(b|0))break;else d=f}d=c[a>>2]|0;b=f}c[a>>2]=j;c[a+4>>2]=k;c[a+8>>2]=b;c[a+12>>2]=j+(h<<2);if(d){oAb(d);b=c[a+8>>2]|0}}while(0);c[b>>2]=l;c[a+8>>2]=(c[a+8>>2]|0)+4;i=o;return}g=c[a+8>>2]|0;e=c[a+4>>2]|0;d=c[a+12>>2]|0;b=d-(c[a>>2]|0)|0;if(g-e>>2>>>0>2>>>0){b=YAb(4096)|0;if((d|0)!=(g|0)){c[o+4>>2]=b;D0(a,o+4|0);i=o;return}c[o>>2]=b;E0(a,o);f=c[a+4>>2]|0;l=c[f>>2]|0;c[a+4>>2]=f+4;b=c[a+8>>2]|0;d=c[a+12>>2]|0;do if((b|0)==(d|0)){e=c[a>>2]|0;if((f+4|0)>>>0>e>>>0){n=f+4+((((f+4-e>>2)+1|0)/-2|0)<<2)|0;nBb(n|0,f+4|0,b-(f+4)|0)|0;c[a+8>>2]=n+(b-(f+4)>>2<<2);c[a+4>>2]=(c[a+4>>2]|0)+((((f+4-e>>2)+1|0)/-2|0)<<2);b=n+(b-(f+4)>>2<<2)|0;break}k=(d-e>>1|0)==0?1:d-e>>1;h=YAb(k<<2)|0;j=h+(k>>>2<<2)|0;if((f+4|0)==(b|0)){d=e;b=j}else{g=h+(k>>>2<<2)|0;e=f+4|0;d=j;while(1){c[g>>2]=c[e>>2];g=d+4|0;f=g;e=e+4|0;if((e|0)==(b|0))break;else d=f}d=c[a>>2]|0;b=f}c[a>>2]=h;c[a+4>>2]=j;c[a+8>>2]=b;c[a+12>>2]=h+(k<<2);if(d){oAb(d);b=c[a+8>>2]|0}}while(0);c[b>>2]=l;c[a+8>>2]=(c[a+8>>2]|0)+4;i=o;return}b=(b>>1|0)==0?1:b>>1;d=YAb(b<<2)|0;f=YAb(4096)|0;do if((g-e>>2|0)==(b|0))if((g-e|0)>0){k=g;h=e;j=d;e=d+(g-e>>2<<2)+((((g-e>>2)+1|0)/-2|0)<<2)|0;d=d+(b<<2)|0;break}else{n=(g-e>>1|0)==0?1:g-e>>1;m=YAb(n<<2)|0;oAb(d);k=c[a+8>>2]|0;h=c[a+4>>2]|0;j=m;e=m+(n>>>2<<2)|0;d=m+(n<<2)|0;break}else{k=g;h=e;j=d;e=d+(g-e>>2<<2)|0;d=d+(b<<2)|0}while(0);b=e;c[e>>2]=f;e=e+4|0;if((k|0)==(h|0)){g=j;f=b}else{n=k;do{n=n+-4|0;g=b;do if((g|0)==(j|0)){h=e;if(h>>>0>>0){m=h+((((d-e>>2)+1|0)/2|0)<<2)|0;e=e-b|0;nBb(m+(0-(e>>2)<<2)|0,b|0,e|0)|0;g=m+(0-(e>>2)<<2)|0;b=m+(0-(e>>2)<<2)|0;e=m;break}l=d-j>>1;l=(l|0)==0?1:l;m=YAb(l<<2)|0;k=m+((l+3|0)>>>2<<2)|0;if((g|0)==(h|0))e=k;else{f=m+((l+3|0)>>>2<<2)|0;d=g;e=k;do{c[f>>2]=c[d>>2];f=e+4|0;e=f;d=d+4|0}while((d|0)!=(h|0))}if(!b){g=m+((l+3|0)>>>2<<2)|0;j=m;b=k;d=m+(l<<2)|0}else{oAb(b);g=m+((l+3|0)>>>2<<2)|0;j=m;b=k;d=m+(l<<2)|0}}while(0);c[g+-4>>2]=c[n>>2];b=b+-4|0}while((n|0)!=(c[a+4>>2]|0));g=j;f=b}b=c[a>>2]|0;c[a>>2]=g;c[a+4>>2]=f;c[a+8>>2]=e;c[a+12>>2]=d;if(!b){i=o;return}oAb(b);i=o;return}function D0(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=c[a+8>>2]|0;e=c[a+12>>2]|0;do if((d|0)==(e|0)){g=c[a+4>>2]|0;f=c[a>>2]|0;if(g>>>0>f>>>0){k=g+((((g-f>>2)+1|0)/-2|0)<<2)|0;nBb(k|0,g|0,d-g|0)|0;c[a+8>>2]=k+(d-g>>2<<2);c[a+4>>2]=(c[a+4>>2]|0)+((((g-f>>2)+1|0)/-2|0)<<2);d=k+(d-g>>2<<2)|0;break}i=(e-f>>1|0)==0?1:e-f>>1;j=YAb(i<<2)|0;k=j+(i>>>2<<2)|0;if((g|0)==(d|0)){e=f;d=k}else{h=j+(i>>>2<<2)|0;f=g;e=k;while(1){c[h>>2]=c[f>>2];h=e+4|0;g=h;f=f+4|0;if((f|0)==(d|0))break;else e=g}e=c[a>>2]|0;d=g}c[a>>2]=j;c[a+4>>2]=k;c[a+8>>2]=d;c[a+12>>2]=j+(i<<2);if(e){oAb(e);d=c[a+8>>2]|0}}while(0);c[d>>2]=c[b>>2];c[a+8>>2]=(c[a+8>>2]|0)+4;return}function E0(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=c[a+4>>2]|0;e=c[a>>2]|0;do if((d|0)==(e|0)){j=c[a+8>>2]|0;f=c[a+12>>2]|0;if(j>>>0>>0){i=j+((((f-j>>2)+1|0)/2|0)<<2)+(0-(j-d>>2)<<2)|0;nBb(i|0,d|0,j-d|0)|0;c[a+4>>2]=i;c[a+8>>2]=(c[a+8>>2]|0)+((((f-j>>2)+1|0)/2|0)<<2);d=i;break}g=(f-e>>1|0)==0?1:f-e>>1;h=YAb(g<<2)|0;i=h+((g+3|0)>>>2<<2)|0;if((d|0)==(j|0))e=i;else{f=h+((g+3|0)>>>2<<2)|0;e=i;do{c[f>>2]=c[d>>2];f=e+4|0;e=f;d=d+4|0}while((d|0)!=(j|0));d=c[a>>2]|0}c[a>>2]=h;c[a+4>>2]=i;c[a+8>>2]=e;c[a+12>>2]=h+(g<<2);if(!d)d=h+((g+3|0)>>>2<<2)|0;else{oAb(d);d=c[a+4>>2]|0}}while(0);c[d+-4>>2]=c[b>>2];c[a+4>>2]=(c[a+4>>2]|0)+-4;return}function F0(a,b){a=a|0;b=b|0;if(!b)return;else{F0(a,c[b>>2]|0);F0(a,c[b+4>>2]|0);oAb(b);return}}function G0(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;d=c[a+4>>2]|0;e=c[a+16>>2]|0;h=c[a+8>>2]|0;if((h|0)==(d|0)){f=0;g=a+20|0;b=0}else{f=(c[a+20>>2]|0)+e|0;f=(c[d+(f>>>10<<2)>>2]|0)+((f&1023)<<2)|0;g=a+20|0;b=(c[d+(e>>>10<<2)>>2]|0)+((e&1023)<<2)|0}e=d+(e>>>10<<2)|0;a:while(1){do{if((b|0)==(f|0))break a;b=b+4|0}while((b-(c[e>>2]|0)|0)!=4096);b=e+4|0;e=b;b=c[b>>2]|0}c[g>>2]=0;if(h-d>>2>>>0>2)do{oAb(c[d>>2]|0);d=(c[a+4>>2]|0)+4|0;c[a+4>>2]=d;b=(c[a+8>>2]|0)-d>>2}while(b>>>0>2);else b=h-d>>2;switch(b|0){case 1:{c[a+16>>2]=512;break}case 2:{c[a+16>>2]=1024;break}default:{}}b=c[a+4>>2]|0;d=c[a+8>>2]|0;if((b|0)!=(d|0)){do{oAb(c[b>>2]|0);b=b+4|0}while((b|0)!=(d|0));b=c[a+4>>2]|0;d=c[a+8>>2]|0;if((d|0)!=(b|0))c[a+8>>2]=d+(~((d+-4-b|0)>>>2)<<2)}b=c[a>>2]|0;if(!b)return;oAb(b);return}function H0(a){a=a|0;I0(a);af(c[a+256>>2]|0,a|0);aP(a+296|0);F0(a+284|0,c[a+288>>2]|0);G0(a+260|0);return}function I0(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;g=i;i=i+16|0;QO(g,bP(a+296|0)|0);b=c[a+284>>2]|0;if((b|0)==(a+288|0)){f=c[a+288>>2]|0;F0(a+284|0,f);f=a+292|0;c[f>>2]=0;c[a+284>>2]=a+288;c[a+288>>2]=0;SO(g);i=g;return}d=b;while(1){h=d+16|0;T1(c[h>>2]|0);b2(c[h>>2]|0);h=c[h>>2]|0;Hi[c[(c[h>>2]|0)+12>>2]&1023](h);h=c[a+268>>2]|0;e=c[a+264>>2]|0;f=c[a+276>>2]|0;b=c[a+280>>2]|0;if((((h|0)==(e|0)?0:(h-e<<8)+-1|0)|0)==(b+f|0)){C0(a+260|0);b=c[a+280>>2]|0;f=c[a+276>>2]|0;e=c[a+264>>2]|0}b=b+f|0;c[(c[e+(b>>>10<<2)>>2]|0)+((b&1023)<<2)>>2]=c[d+20>>2];c[a+280>>2]=(c[a+280>>2]|0)+1;b=c[d+4>>2]|0;if(!b)while(1){b=c[d+8>>2]|0;if((c[b>>2]|0)==(d|0))break;else d=b}else while(1){d=c[b>>2]|0;if(!d)break;else b=d}if((b|0)==(a+288|0))break;else d=b}h=c[a+288>>2]|0;F0(a+284|0,h);h=a+292|0;c[h>>2]=0;c[a+284>>2]=a+288;c[a+288>>2]=0;SO(g);i=g;return}function J0(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;h=i;i=i+16|0;QO(h,bP(a+296|0)|0);b=c[a+284>>2]|0;if((b|0)==(a+288|0)){SO(h);i=h;return}do{d=b+16|0;g=c[d>>2]|0;a:do if(vi[c[(c[g>>2]|0)+52>>2]&2047](g)|0){d=c[b+4>>2]|0;if(d|0){b=d;while(1){d=c[b>>2]|0;if(!d)break a;else b=d}}while(1){d=c[b+8>>2]|0;if((c[d>>2]|0)==(b|0)){b=d;break}else b=d}}else{T1(c[d>>2]|0);b2(c[d>>2]|0);g=c[d>>2]|0;Hi[c[(c[g>>2]|0)+12>>2]&1023](g);g=c[a+268>>2]|0;e=c[a+264>>2]|0;f=c[a+276>>2]|0;d=c[a+280>>2]|0;if((((g|0)==(e|0)?0:(g-e<<8)+-1|0)|0)==(d+f|0)){C0(a+260|0);d=c[a+280>>2]|0;f=c[a+276>>2]|0;e=c[a+264>>2]|0}f=d+f|0;c[(c[e+(f>>>10<<2)>>2]|0)+((f&1023)<<2)>>2]=c[b+20>>2];c[a+280>>2]=(c[a+280>>2]|0)+1;f=c[b+4>>2]|0;if(!f){e=b;while(1){d=c[e+8>>2]|0;if((c[d>>2]|0)==(e|0)){g=b;break}else e=d}}else{d=f;while(1){e=c[d>>2]|0;if(!e)break;else d=e}g=b}if(!f){f=g;while(1){e=c[f+8>>2]|0;if((c[e>>2]|0)==(f|0))break;else f=e}}else{e=f;while(1){f=c[e>>2]|0;if(!f)break;else e=f}}if((c[a+284>>2]|0)==(b|0))c[a+284>>2]=e;c[a+292>>2]=(c[a+292>>2]|0)+-1;yj(c[a+288>>2]|0,g);oAb(b);b=d}while(0)}while((b|0)!=(a+288|0));SO(h);i=h;return}function K0(a){a=a|0;return c[a+292>>2]|0}function L0(a){a=a|0;return c[a+256>>2]|0}function M0(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+16|0;QO(h,bP(a+296|0)|0);c[d>>2]=0;f=c[a+288>>2]|0;if(f|0){e=a+288|0;a:do{while(1){if((c[f+16>>2]|0)>>>0>=b>>>0){e=f;break}f=c[f+4>>2]|0;if(!f)break a}f=c[e>>2]|0}while((f|0)!=0);if((e|0)!=(a+288|0))if((c[e+16>>2]|0)>>>0<=b>>>0){c[d>>2]=c[e+20>>2];a=1;SO(h);i=h;return a|0}}if(!(c[a+280>>2]|0)){a=0;SO(h);i=h;return a|0}e=c[a+264>>2]|0;g=c[a+276>>2]|0;c[d>>2]=c[(c[e+(g>>>10<<2)>>2]|0)+((g&1023)<<2)>>2];c[a+280>>2]=(c[a+280>>2]|0)+-1;g=(c[a+276>>2]|0)+1|0;c[a+276>>2]=g;if(g>>>0>2047){oAb(c[e>>2]|0);c[a+264>>2]=(c[a+264>>2]|0)+4;c[a+276>>2]=(c[a+276>>2]|0)+-1024}f=c[d>>2]|0;e=YAb(24)|0;c[e+16>>2]=b;c[e+20>>2]=f;f=c[a+288>>2]|0;do if(!f){c[h+4>>2]=a+288;d=a+288|0;f=a+288|0}else{g=f;while(1){f=c[g+16>>2]|0;if(f>>>0>b>>>0){f=c[g>>2]|0;if(!f){d=g;f=g;g=15;break}}else{if(f>>>0>=b>>>0){f=g;g=20;break}d=g+4|0;f=c[d>>2]|0;if(!f){f=g;g=19;break}}g=f}if((g|0)==15){c[h+4>>2]=f;break}else if((g|0)==19){c[h+4>>2]=f;break}else if((g|0)==20){c[h+4>>2]=f;d=h+4|0;break}}while(0);if(!(c[d>>2]|0)){c[e>>2]=0;c[e+4>>2]=0;c[e+8>>2]=f;c[d>>2]=e;f=c[c[a+284>>2]>>2]|0;if(f){c[a+284>>2]=f;e=c[d>>2]|0}Fj(c[a+288>>2]|0,e);c[a+292>>2]=(c[a+292>>2]|0)+1}else oAb(e);Hi[c[(c[b>>2]|0)+8>>2]&1023](b);a=U1(b)|0;SO(h);i=h;return a|0}function N0(a,b){a=a|0;b=b|0;var c=0;c=i;i=i+16|0;QO(c,bP(a+296|0)|0);O0(a,b)|0;SO(c);i=c;return}function O0(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;d=c[a+288>>2]|0;if(!d){a=0;return a|0}else e=a+288|0;a:do{while(1){if((c[d+16>>2]|0)>>>0>=b>>>0){e=d;break}d=c[d+4>>2]|0;if(!d)break a}d=c[e>>2]|0}while((d|0)!=0);if((e|0)==(a+288|0)){a=0;return a|0}if((c[e+16>>2]|0)>>>0>b>>>0){a=0;return a|0}T1(b);h=c[a+268>>2]|0;f=c[a+264>>2]|0;g=c[a+276>>2]|0;d=c[a+280>>2]|0;if((((h|0)==(f|0)?0:(h-f<<8)+-1|0)|0)==(d+g|0)){C0(a+260|0);d=c[a+280>>2]|0;g=c[a+276>>2]|0;f=c[a+264>>2]|0}h=d+g|0;c[(c[f+(h>>>10<<2)>>2]|0)+((h&1023)<<2)>>2]=c[e+20>>2];c[a+280>>2]=(c[a+280>>2]|0)+1;f=c[e+4>>2]|0;if(!f){d=e;do{h=d;d=c[d+8>>2]|0}while((c[d>>2]|0)!=(h|0));g=e}else{d=f;do d=c[d>>2]|0;while((d|0)!=0);g=e}if(!f){f=g;while(1){d=c[f+8>>2]|0;if((c[d>>2]|0)==(f|0))break;else f=d}}else{d=f;while(1){f=c[d>>2]|0;if(!f)break;else d=f}}if((c[a+284>>2]|0)==(e|0))c[a+284>>2]=d;c[a+292>>2]=(c[a+292>>2]|0)+-1;yj(c[a+288>>2]|0,g);oAb(e);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);h=1;return h|0}function P0(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;QO(e,bP(a+296|0)|0);b=c[a+284>>2]|0;if((b|0)==(a+288|0)){SO(e);i=e;return}d=b;while(1){$1(c[d+16>>2]|0);b=c[d+4>>2]|0;if(!b)while(1){b=c[d+8>>2]|0;if((c[b>>2]|0)==(d|0))break;else d=b}else while(1){d=c[b>>2]|0;if(!d)break;else b=d}if((b|0)==(a+288|0))break;else d=b}SO(e);i=e;return}function Q0(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+16|0;QO(f,bP(a+296|0)|0);e=c[a+288>>2]|0;if(e|0){d=a+288|0;a:do{while(1){if((c[e+16>>2]|0)>>>0>=b>>>0){d=e;break}e=c[e+4>>2]|0;if(!e)break a}e=c[d>>2]|0}while((e|0)!=0);if((d|0)!=(a+288|0))if((c[d+16>>2]|0)>>>0<=b>>>0)$1(b)}SO(f);i=f;return}function R0(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;QO(e,bP(a+296|0)|0);b=c[a+284>>2]|0;if((b|0)==(a+288|0)){SO(e);i=e;return}d=b;while(1){a2(c[d+16>>2]|0);b=c[d+4>>2]|0;if(!b)while(1){b=c[d+8>>2]|0;if((c[b>>2]|0)==(d|0))break;else d=b}else while(1){d=c[b>>2]|0;if(!d)break;else b=d}if((b|0)==(a+288|0))break;else d=b}SO(e);i=e;return}function S0(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+16|0;QO(f,bP(a+296|0)|0);e=c[a+288>>2]|0;if(e|0){d=a+288|0;a:do{while(1){if((c[e+16>>2]|0)>>>0>=b>>>0){d=e;break}e=c[e+4>>2]|0;if(!e)break a}e=c[d>>2]|0}while((e|0)!=0);if((d|0)!=(a+288|0))if((c[d+16>>2]|0)>>>0<=b>>>0)a2(b)}SO(f);i=f;return}function T0(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;QO(e,bP(a+296|0)|0);b=c[a+284>>2]|0;if((b|0)==(a+288|0)){SO(e);i=e;return}d=b;while(1){b2(c[d+16>>2]|0);b=c[d+4>>2]|0;if(!b)while(1){b=c[d+8>>2]|0;if((c[b>>2]|0)==(d|0))break;else d=b}else while(1){d=c[b>>2]|0;if(!d)break;else b=d}if((b|0)==(a+288|0))break;else d=b}SO(e);i=e;return}function U0(a,b){a=a|0;b=b|0;var c=0;c=i;i=i+16|0;QO(c,bP(a+296|0)|0);b2(b);SO(c);i=c;return}function V0(a,b){a=a|0;b=b|0;var c=0;c=i;i=i+16|0;QO(c,bP(a+296|0)|0);b2(b);SO(c);i=c;return}function W0(a,b,d,e){a=a|0;b=b|0;d=+d;e=e|0;var f=0;f=i;i=i+16|0;QO(f,bP(a+296|0)|0);Di[c[(c[b>>2]|0)+180>>2]&3](b,d,e);SO(f);i=f;return}function X0(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0;f=i;i=i+16|0;QO(f,bP(a+296|0)|0);e=+_i[c[(c[b>>2]|0)+184>>2]&15](b,d);SO(f);i=f;return +e}function Y0(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0;f=i;i=i+16|0;QO(f,bP(a+296|0)|0);e=+_i[c[(c[b>>2]|0)+188>>2]&15](b,d);SO(f);i=f;return +e}function Z0(a){a=a|0;c[a>>2]=21660;$f(1,a+8|0);return}function _0(a){a=a|0;c[a>>2]=21660;$f(1,a+8|0);oAb(a);return}function $0(b){b=b|0;var d=0;c[b>>2]=21684;if(a[b+20>>0]|0)N0(c[b+12>>2]|0,b);if((c[b+8>>2]|0)==1)$f(8,b+24|0);d=c[b+160>>2]|0;if(d|0)Hi[c[(c[d>>2]|0)+12>>2]&1023](d);d=c[b+56>>2]|0;if(!d){g2(b);return}Hi[c[(c[d>>2]|0)+12>>2]&1023](d);g2(b);return}function a1(a){a=a|0;$0(a);oAb(a);return}function b1(a){a=a|0;var b=0;b=YAb(168)|0;c1(b,a);return b|0}function c1(d,e){d=d|0;e=e|0;var f=0,h=0;k2(d,c[e+8>>2]|0);c[d>>2]=21684;c[d+12>>2]=c[e+12>>2];a[d+20>>0]=0;f=c[e+56>>2]|0;c[d+56>>2]=f;if(f|0)Hi[c[(c[f>>2]|0)+8>>2]&1023](f);c[d+60>>2]=c[e+60>>2];c[d+64>>2]=c[e+64>>2];h=b[e+104>>1]|0;a[d+104>>0]=h;a[d+105>>0]=(h&65535)>>>8;a[d+106>>0]=0;c[d+108>>2]=c[e+108>>2];c[d+112>>2]=c[e+112>>2];c[d+116>>2]=c[e+116>>2];c[d+120>>2]=c[e+120>>2];c[d+124>>2]=c[e+124>>2];c[d+128>>2]=c[e+128>>2];c[d+128+4>>2]=c[e+128+4>>2];c[d+128+8>>2]=c[e+128+8>>2];g[d+140>>2]=0.0;g[d+144>>2]=0.0;c[d+148>>2]=c[e+148>>2];c[d+152>>2]=c[e+152>>2];c[d+156>>2]=c[e+156>>2];c[d+160>>2]=0;c[d+164>>2]=0;if((c[d+8>>2]|0)==1){f=c[e+160>>2]|0;if(f|0){f=vi[c[(c[f>>2]|0)+16>>2]&2047](f)|0;if(f|0)Hi[c[(c[f>>2]|0)+8>>2]&1023](f);h=c[d+160>>2]|0;if(h|0)Hi[c[(c[h>>2]|0)+12>>2]&1023](h);c[d+160>>2]=f;Hi[c[(c[f>>2]|0)+12>>2]&1023](f)}Kb(8,d+24|0)}c[d+68>>2]=c[e+68>>2];c[d+72>>2]=c[e+72>>2];c[d+76>>2]=c[e+76>>2];c[d+80>>2]=c[e+80>>2];c[d+84>>2]=c[e+84>>2];c[d+88>>2]=c[e+88>>2];c[d+92>>2]=c[e+92>>2];c[d+96>>2]=c[e+96>>2];c[d+100>>2]=c[e+100>>2];return}function d1(b){b=b|0;var d=0;if(a[b+20>>0]|0)if(a[b+106>>0]|0){S0(c[b+12>>2]|0,b);b=1;return b|0}d=M0(c[b+12>>2]|0,b,b+16|0)|0;a[b+20>>0]=d&1;b=d;return b|0}function e1(a){a=a|0;if(vi[c[(c[a>>2]|0)+40>>2]&2047](a)|0)return;N0(c[a+12>>2]|0,a);U0(c[a+12>>2]|0,a);return}function f1(a){a=a|0;Q0(c[a+12>>2]|0,a);return}function g1(a){a=a|0;S0(c[a+12>>2]|0,a);return}function h1(a){a=a|0;V0(c[a+12>>2]|0,a);return}function i1(b){b=b|0;var d=0;d=i;i=i+16|0;if(!(a[b+20>>0]|0)){b=1;i=d;return b|0}Oe(c[b+16>>2]|0,4112,d|0);b=(c[d>>2]|0)==4116;i=d;return b|0}function j1(b){b=b|0;var d=0;d=i;i=i+16|0;if(!(a[b+20>>0]|0)){b=0;i=d;return b|0}Oe(c[b+16>>2]|0,4112,d|0);b=(c[d>>2]|0)==4115;i=d;return b|0}function k1(a){a=a|0;var b=0,d=0;b=(c[a+8>>2]|0)==0;d=vi[c[(c[a>>2]|0)+40>>2]&2047](a)|0;if(b|d^1){a=b&d;return a|0}if(vi[c[(c[a>>2]|0)+128>>2]&2047](a)|0){a=0;return a|0}a=c[a+160>>2]|0;a=vi[c[(c[a>>2]|0)+44>>2]&2047](a)|0;return a|0}function l1(b){b=b|0;var d=0,e=0,f=0.0,h=0.0;d=i;i=i+16|0;if(!(a[b+20>>0]|0)){b=0;i=d;return b|0}switch(c[b+8>>2]|0){case 0:{Jb(c[b+16>>2]|0,4103,(vi[c[(c[b>>2]|0)+128>>2]&2047](b)|0)&1|0);b=(vi[c[(c[b>>2]|0)+40>>2]&2047](b)|0)^1;i=d;return b|0}case 1:{if(!(vi[c[(c[b>>2]|0)+128>>2]&2047](b)|0))if(vi[c[(c[b>>2]|0)+48>>2]&2047](b)|0){b=0;i=d;return b|0}c[d+12>>2]=0;Oe(c[b+16>>2]|0,4118,d+12|0);e=c[d+12>>2]|0;c[d+12>>2]=e+-1;if(e|0)do{Pe(c[b+16>>2]|0,4133,d+4|0);e=c[b+160>>2]|0;e=vi[c[(c[e>>2]|0)+56>>2]&2047](e)|0;h=+g[d+4>>2]/+(e|0);ki(c[b+16>>2]|0,1,d+8|0);Pe(c[b+16>>2]|0,4133,d|0);f=+g[d>>2];g[b+140>>2]=+g[b+140>>2]+(+g[d+4>>2]-f);g[b+144>>2]=h-f/+(e|0)+ +g[b+144>>2];if((m1(b,c[d+8>>2]|0,c[b+160>>2]|0)|0)>0)Re(c[b+16>>2]|0,1,d+8|0);e=c[d+12>>2]|0;c[d+12>>2]=e+-1}while((e|0)!=0);e=1;i=d;return e|0}default:{e=0;i=d;return e|0}}return 0}function m1(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0,j=0;j=i;i=i+16|0;f=vi[c[(c[d>>2]|0)+20>>2]&2047](d)|0;f=(f|0)<0?0:f;do if((f|0)>0){e=vi[c[(c[d>>2]|0)+48>>2]&2047](d)|0;h=vi[c[(c[d>>2]|0)+52>>2]&2047](d)|0;if((e|0)==1&(h|0)==8)e=4352;else if((e|0)==1&(h|0)==16)e=4353;else if((e|0)==2&(h|0)==8)e=4354;else if((e|0)==2&(h|0)==16)e=4355;else{f=0;break}h=vi[c[(c[d>>2]|0)+28>>2]&2047](d)|0;og(b|0,e|0,h|0,f|0,vi[c[(c[d>>2]|0)+56>>2]&2047](d)|0)}while(0);b=c[a+160>>2]|0;if(vi[c[(c[b>>2]|0)+44>>2]&2047](b)|0)if(vi[c[(c[a>>2]|0)+128>>2]&2047](a)|0){Oe(c[a+16>>2]|0,4117,j+4|0);Oe(c[a+16>>2]|0,4118,j|0);h=c[j+4>>2]|0;b=c[j>>2]|0;c[a+164>>2]=((h|0)>(b|0)?h:8)-b;vi[c[(c[d>>2]|0)+36>>2]&2047](d)|0}e=c[a+164>>2]|0;if(!e){i=j;return f|0}c[a+164>>2]=e+-1;if(e+-1|0){i=j;return f|0}g[a+140>>2]=0.0;g[a+144>>2]=0.0;i=j;return f|0}function n1(b,d){b=b|0;d=+d;if(a[b+20>>0]|0)Hb(c[b+16>>2]|0,4099,+d);g[b+60>>2]=d;return}function o1(b){b=b|0;var d=0,e=0.0;d=i;i=i+16|0;if(!(a[b+20>>0]|0)){e=+g[b+60>>2];i=d;return +e}else{Pe(c[b+16>>2]|0,4099,d|0);e=+g[d>>2];i=d;return +e}return 0.0}function p1(b,d){b=b|0;d=+d;if(a[b+20>>0]|0)Hb(c[b+16>>2]|0,4106,+d);g[b+64>>2]=d;return}function q1(b){b=b|0;var d=0,e=0.0;d=i;i=i+16|0;if(!(a[b+20>>0]|0)){e=+g[b+64>>2];i=d;return +e}else{Pe(c[b+16>>2]|0,4106,d|0);e=+g[d>>2];i=d;return +e}return 0.0}function r1(a,b,d){a=a|0;b=+b;d=d|0;var e=0;e=i;i=i+16|0;c[e>>2]=d;W0(c[a+12>>2]|0,a,b,e);i=e;return}function s1(a,b){a=a|0;b=b|0;var d=0.0,e=0;e=i;i=i+16|0;c[e>>2]=b;d=+X0(c[a+12>>2]|0,a,e);i=e;return +d}function t1(a,b){a=a|0;b=b|0;var d=0.0,e=0;e=i;i=i+16|0;c[e>>2]=b;d=+Y0(c[a+12>>2]|0,a,e);i=e;return +d}function u1(b,d){b=b|0;d=d|0;var e=0;e=i;i=i+16|0;if((c[b+152>>2]|0)>1){d=nf(16)|0;ds(d,362775,e);c[d>>2]=21884;zc(d|0,1488,27)}if(a[b+20>>0]|0)Kg(c[b+16>>2]|0,4100,d|0);c[b+68>>2]=c[d>>2];c[b+72>>2]=c[d+4>>2];c[b+76>>2]=c[d+8>>2];i=e;return}function v1(a){a=a|0;as(a);oAb(a);return}function w1(b,d){b=b|0;d=d|0;var e=0;e=i;i=i+16|0;if((c[b+152>>2]|0)>1){d=nf(16)|0;ds(d,362775,e);c[d>>2]=21884;zc(d|0,1488,27)}if(!(a[b+20>>0]|0)){c[d>>2]=c[b+68>>2];c[d+4>>2]=c[b+72>>2];c[d+8>>2]=c[b+76>>2];i=e;return}else{ag(c[b+16>>2]|0,4100,d|0);i=e;return}}function x1(b,d){b=b|0;d=d|0;var e=0;e=i;i=i+16|0;if((c[b+152>>2]|0)>1){d=nf(16)|0;ds(d,362775,e);c[d>>2]=21884;zc(d|0,1488,27)}if(a[b+20>>0]|0)Kg(c[b+16>>2]|0,4102,d|0);c[b+80>>2]=c[d>>2];c[b+84>>2]=c[d+4>>2];c[b+88>>2]=c[d+8>>2];i=e;return}function y1(b,d){b=b|0;d=d|0;var e=0;e=i;i=i+16|0;if((c[b+152>>2]|0)>1){d=nf(16)|0;ds(d,362775,e);c[d>>2]=21884;zc(d|0,1488,27)}if(!(a[b+20>>0]|0)){c[d>>2]=c[b+80>>2];c[d+4>>2]=c[b+84>>2];c[d+8>>2]=c[b+88>>2];i=e;return}else{ag(c[b+16>>2]|0,4102,d|0);i=e;return}}function z1(b,d){b=b|0;d=d|0;var e=0;e=i;i=i+16|0;if((c[b+152>>2]|0)>1){d=nf(16)|0;ds(d,362775,e);c[d>>2]=21884;zc(d|0,1488,27)}if(!(a[b+20>>0]|0)){c[b+92>>2]=c[d>>2];c[b+96>>2]=c[d+4>>2];c[b+100>>2]=c[d+8>>2];i=e;return}else{Kg(c[b+16>>2]|0,4101,d|0);i=e;return}}function A1(b,d){b=b|0;d=d|0;var e=0;e=i;i=i+16|0;if((c[b+152>>2]|0)>1){d=nf(16)|0;ds(d,362775,e);c[d>>2]=21884;zc(d|0,1488,27)}if(!(a[b+20>>0]|0)){c[d>>2]=c[b+92>>2];c[d+4>>2]=c[b+96>>2];c[d+8>>2]=c[b+100>>2];i=e;return}else{ag(c[b+16>>2]|0,4101,d|0);i=e;return}}function B1(b,d,e,f){b=b|0;d=+d;e=+e;f=+f;var h=0;h=i;i=i+16|0;if((c[b+152>>2]|0)>1){b=nf(16)|0;ds(b,362775,h);c[b>>2]=21884;zc(b|0,1488,27)}c[b+128>>2]=~~(d*57.295780181884766);c[b+132>>2]=~~(e*57.295780181884766);g[b+136>>2]=f;if(!(a[b+20>>0]|0)){i=h;return}Jb(c[b+16>>2]|0,4097,~~(d*57.295780181884766)|0);Jb(c[b+16>>2]|0,4098,c[b+132>>2]|0);Hb(c[b+16>>2]|0,4130,+(+g[b+136>>2]));i=h;return}function C1(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+16|0;if((c[a+152>>2]|0)>1){a=nf(16)|0;ds(a,362775,f);c[a>>2]=21884;zc(a|0,1488,27)}else{g[b>>2]=+(c[a+128>>2]|0)*.01745329238474369;g[d>>2]=+(c[a+132>>2]|0)*.01745329238474369;c[e>>2]=c[a+136>>2];i=f;return}}function D1(b,d){b=b|0;d=d|0;var e=0;e=i;i=i+16|0;if((c[b+152>>2]|0)>1){b=nf(16)|0;ds(b,362775,e);c[b>>2]=21884;zc(b|0,1488,27)}if(!(a[b+20>>0]|0)){b=b+104|0;d=d&1;a[b>>0]=d;i=e;return}Jb(c[b+16>>2]|0,514,d&1|0);b=b+104|0;d=d&1;a[b>>0]=d;i=e;return}function E1(b){b=b|0;var d=0;d=i;i=i+16|0;if((c[b+152>>2]|0)>1){b=nf(16)|0;ds(b,362775,d);c[b>>2]=21884;zc(b|0,1488,27)}else{i=d;return (a[b+104>>0]|0)!=0|0}return 0}function F1(b,d){b=b|0;d=d|0;if(a[b+20>>0]|0)if(!(c[b+8>>2]|0))Jb(c[b+16>>2]|0,4103,d&1|0);a[b+105>>0]=d&1;return}function G1(b){b=b|0;return (a[b+105>>0]|0)!=0|0}function H1(b,d){b=b|0;d=+d;if(a[b+20>>0]|0)Hb(c[b+16>>2]|0,4109,+d);g[b+108>>2]=d;return}function I1(b){b=b|0;var d=0,e=0.0;d=i;i=i+16|0;if(!(a[b+20>>0]|0)){e=+g[b+108>>2];i=d;return +e}else{Pe(c[b+16>>2]|0,4109,d|0);e=+g[d>>2];i=d;return +e}return 0.0}function J1(b,d){b=b|0;d=+d;if(a[b+20>>0]|0)Hb(c[b+16>>2]|0,4110,+d);g[b+112>>2]=d;return}function K1(b){b=b|0;var d=0,e=0.0;d=i;i=i+16|0;if(!(a[b+20>>0]|0)){e=+g[b+112>>2];i=d;return +e}else{Pe(c[b+16>>2]|0,4110,d|0);e=+g[d>>2];i=d;return +e}return 0.0}function L1(b,d){b=b|0;d=+d;var e=0;e=i;i=i+16|0;if((c[b+152>>2]|0)>1){b=nf(16)|0;ds(b,362775,e);c[b>>2]=21884;zc(b|0,1488,27)}if(!(a[b+20>>0]|0)){b=b+116|0;g[b>>2]=d;i=e;return}Hb(c[b+16>>2]|0,4128,+d);b=b+116|0;g[b>>2]=d;i=e;return}function M1(b){b=b|0;var d=0,e=0.0;d=i;i=i+16|0;if((c[b+152>>2]|0)>1){b=nf(16)|0;ds(b,362775,d);c[b>>2]=21884;zc(b|0,1488,27)}if(!(a[b+20>>0]|0)){e=+g[b+116>>2];i=d;return +e}else{Pe(c[b+16>>2]|0,4128,d+4|0);e=+g[d+4>>2];i=d;return +e}return 0.0}function N1(b,d){b=b|0;d=+d;var e=0;e=i;i=i+16|0;if((c[b+152>>2]|0)>1){b=nf(16)|0;ds(b,362775,e);c[b>>2]=21884;zc(b|0,1488,27)}if(!(a[b+20>>0]|0)){b=b+120|0;g[b>>2]=d;i=e;return}Hb(c[b+16>>2]|0,4129,+d);b=b+120|0;g[b>>2]=d;i=e;return}function O1(b){b=b|0;var d=0,e=0.0;d=i;i=i+16|0;if((c[b+152>>2]|0)>1){b=nf(16)|0;ds(b,362775,d);c[b>>2]=21884;zc(b|0,1488,27)}if(!(a[b+20>>0]|0)){e=+g[b+120>>2];i=d;return +e}else{Pe(c[b+16>>2]|0,4129,d+4|0);e=+g[d+4>>2];i=d;return +e}return 0.0}function P1(b,d){b=b|0;d=+d;var e=0;e=i;i=i+16|0;if((c[b+152>>2]|0)>1){b=nf(16)|0;ds(b,362775,e);c[b>>2]=21884;zc(b|0,1488,27)}d=d>3402823466385288598117041.0e14?3402823466385288598117041.0e14:d;if(!(a[b+20>>0]|0)){b=b+124|0;g[b>>2]=d;i=e;return}Hb(c[b+16>>2]|0,4131,+d);b=b+124|0;g[b>>2]=d;i=e;return}function Q1(b){b=b|0;var d=0,e=0.0;d=i;i=i+16|0;if((c[b+152>>2]|0)>1){b=nf(16)|0;ds(b,362775,d);c[b>>2]=21884;zc(b|0,1488,27)}if(!(a[b+20>>0]|0)){e=+g[b+124>>2];i=d;return +e}else{Pe(c[b+16>>2]|0,4131,d+4|0);e=+g[d+4>>2];i=d;return +e}return 0.0}function R1(a){a=a|0;return c[a+152>>2]|0}function S1(b,d,e){b=b|0;d=+d;e=e|0;var f=0;if(!(a[b+20>>0]|0))return;f=(c[b+8>>2]|0)==1;do if((c[e>>2]|0)==1)if(f){g[b+140>>2]=d;e=c[b+160>>2]|0;d=d/+(vi[c[(c[e>>2]|0)+56>>2]&2047](e)|0);g[b+144>>2]=d;e=c[b+160>>2]|0;Ri[c[(c[e>>2]|0)+32>>2]&7](e,d)|0;break}else{Hb(c[b+16>>2]|0,4133,+d);break}else if(f){g[b+144>>2]=d;e=c[b+160>>2]|0;Ri[c[(c[e>>2]|0)+32>>2]&7](e,d)|0;e=c[b+160>>2]|0;g[b+140>>2]=+(vi[c[(c[e>>2]|0)+56>>2]&2047](e)|0)*d;break}else{Hb(c[b+16>>2]|0,4132,+d);break}while(0);if((c[b+8>>2]|0)!=1)return;e=(a[b+106>>0]|0)==0;T1(b);U1(b)|0;if(e)return;if(!(a[b+20>>0]|0))return;tb(c[b+16>>2]|0);a[b+106>>0]=1;return}function T1(b){b=b|0;var d=0,e=0;e=i;i=i+16|0;if(!(a[b+20>>0]|0)){d=b+164|0;c[d>>2]=0;a[b+20>>0]=0;i=e;return}switch(c[b+8>>2]|0){case 0:{Mh(c[b+16>>2]|0);d=b+16|0;break}case 1:{Mh(c[b+16>>2]|0);c[e+4>>2]=0;Oe(c[b+16>>2]|0,4117,e+4|0);d=c[e+4>>2]|0;c[e+4>>2]=d+-1;if(d|0)do{ki(c[b+16>>2]|0,1,e|0);d=c[e+4>>2]|0;c[e+4>>2]=d+-1}while((d|0)!=0);d=b+16|0;break}default:d=b+16|0}Jb(c[d>>2]|0,4105,0);d=b+164|0;c[d>>2]=0;a[b+20>>0]=0;i=e;return}function U1(b){b=b|0;var d=0,e=0;switch(c[b+8>>2]|0){case 0:{Jb(c[b+16>>2]|0,4105,c[(c[b+56>>2]|0)+8>>2]|0);break}case 1:{d=0;do{if(!(m1(b,c[b+24+(d<<2)>>2]|0,c[b+160>>2]|0)|0))break;d=d+1|0;e=c[b+160>>2]|0}while(d>>>0<8&((vi[c[(c[e>>2]|0)+44>>2]&2047](e)|0)^1));if((d|0)>0)Re(c[b+16>>2]|0,d|0,b+24|0);break}default:{}}V1(b);df()|0;Fe(c[b+16>>2]|0);e=(df()|0)==0;a[b+20>>0]=1;return e|0}function V1(a){a=a|0;var b=0,e=0;Kg(c[a+16>>2]|0,4100,a+68|0);Kg(c[a+16>>2]|0,4102,a+80|0);Kg(c[a+16>>2]|0,4101,a+92|0);Hb(c[a+16>>2]|0,4099,+(+g[a+60>>2]));Hb(c[a+16>>2]|0,4106,+(+g[a+64>>2]));Hb(c[a+16>>2]|0,4109,+(+g[a+108>>2]));Hb(c[a+16>>2]|0,4110,+(+g[a+112>>2]));Hb(c[a+16>>2]|0,4128,+(+g[a+116>>2]));Hb(c[a+16>>2]|0,4129,+(+g[a+120>>2]));Hb(c[a+16>>2]|0,4131,+(+g[a+124>>2]));b=c[a+16>>2]|0;if(!(c[a+8>>2]|0))e=vi[c[(c[a>>2]|0)+128>>2]&2047](a)|0;else e=0;Jb(b|0,4103,e&1|0);Jb(c[a+16>>2]|0,514,d[a+104>>0]|0|0);Jb(c[a+16>>2]|0,4097,c[a+128>>2]|0);Jb(c[a+16>>2]|0,4098,c[a+132>>2]|0);Hb(c[a+16>>2]|0,4130,+(+g[a+136>>2]));return}function W1(b,d){b=b|0;d=d|0;var e=0.0,f=0;f=i;i=i+16|0;if(!(a[b+20>>0]|0)){e=0.0;i=f;return +e}d=(c[d>>2]|0)==1;Pe(c[b+16>>2]|0,4133,f|0);do if(d)if((c[b+8>>2]|0)==1){e=+g[b+140>>2]+ +g[f>>2];g[f>>2]=e;break}else{e=+g[f>>2];break}else{e=+g[f>>2]/+(c[b+148>>2]|0);g[f>>2]=e;if((c[b+8>>2]|0)==1){e=e+ +g[b+144>>2];g[f>>2]=e}}while(0);i=f;return +e}function X1(a,b){a=a|0;b=b|0;var d=0.0,e=0;b=c[b>>2]|0;if((c[a+8>>2]|0)==1){e=c[a+160>>2]|0;d=+Mi[c[(c[e>>2]|0)+60>>2]&63](e);if(!b)return +d;e=c[a+160>>2]|0;d=d*+(vi[c[(c[e>>2]|0)+56>>2]&2047](e)|0);return +d}else{d=+(((c[(c[a+56>>2]|0)+12>>2]|0)/(c[a+152>>2]|0)|0|0)/((c[a+156>>2]|0)/8|0|0)|0|0);if((b|0)==1)return +d;d=d/+(c[a+148>>2]|0);return +d}return 0.0}function Y1(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,h=0,j=0,k=0;h=i;i=i+16|0;k2(b,0);c[b>>2]=21684;c[b+12>>2]=d;a[b+20>>0]=0;c[b+56>>2]=0;g[b+60>>2]=1.0;g[b+64>>2]=1.0;a[b+104>>0]=0;a[b+105>>0]=0;a[b+106>>0]=0;g[b+108>>2]=0.0;g[b+112>>2]=1.0;g[b+116>>2]=1.0;g[b+120>>2]=1.0;g[b+124>>2]=3402823466385288598117041.0e14;c[b+128>>2]=0;c[b+128+4>>2]=0;c[b+128>>2]=360;c[b+132>>2]=360;g[b+136>>2]=0.0;g[b+140>>2]=0.0;g[b+144>>2]=0.0;c[b+148>>2]=vi[c[(c[e>>2]|0)+32>>2]&2047](e)|0;c[b+152>>2]=vi[c[(c[e>>2]|0)+24>>2]&2047](e)|0;c[b+156>>2]=vi[c[(c[e>>2]|0)+28>>2]&2047](e)|0;c[b+160>>2]=0;c[b+164>>2]=0;d=vi[c[(c[e>>2]|0)+24>>2]&2047](e)|0;f=vi[c[(c[e>>2]|0)+28>>2]&2047](e)|0;if((d|0)==1&(f|0)==8)d=4352;else if((d|0)==1&(f|0)==16)d=4353;else if((d|0)==2&(f|0)==8)d=4354;else if((d|0)==2&(f|0)==16)d=4355;else{b=nf(16)|0;f=vi[c[(c[e>>2]|0)+24>>2]&2047](e)|0;e=vi[c[(c[e>>2]|0)+28>>2]&2047](e)|0;c[h>>2]=f;c[h+4>>2]=e;ds(b,362959,h);c[b>>2]=21904;zc(b|0,1504,27)}f=YAb(16)|0;k=vi[c[(c[e>>2]|0)+16>>2]&2047](e)|0;j=vi[c[(c[e>>2]|0)+20>>2]&2047](e)|0;e=vi[c[(c[e>>2]|0)+32>>2]&2047](e)|0;Jj(f);c[f>>2]=21660;c[f+12>>2]=j;Kb(1,f+8|0);og(c[f+8>>2]|0,d|0,k|0,j|0,e|0);Hi[c[(c[f>>2]|0)+8>>2]&1023](f);d=c[b+56>>2]|0;if(!d){c[b+56>>2]=f;d=c[f>>2]|0;d=d+12|0;d=c[d>>2]|0;Hi[d&1023](f);d=b+68|0;f=d+36|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(f|0));i=h;return}Hi[c[(c[d>>2]|0)+12>>2]&1023](d);c[b+56>>2]=f;d=c[f>>2]|0;d=d+12|0;d=c[d>>2]|0;Hi[d&1023](f);d=b+68|0;f=d+36|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(f|0));i=h;return}function Z1(a){a=a|0;as(a);oAb(a);return}function _1(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,h=0;h=i;i=i+16|0;k2(b,1);c[b>>2]=21684;c[b+12>>2]=d;a[b+20>>0]=0;c[b+56>>2]=0;g[b+60>>2]=1.0;g[b+64>>2]=1.0;a[b+104>>0]=0;a[b+105>>0]=0;a[b+106>>0]=0;g[b+108>>2]=0.0;g[b+112>>2]=1.0;g[b+116>>2]=1.0;g[b+120>>2]=1.0;g[b+124>>2]=3402823466385288598117041.0e14;c[b+128>>2]=0;c[b+128+4>>2]=0;c[b+128>>2]=360;c[b+132>>2]=360;g[b+136>>2]=0.0;g[b+140>>2]=0.0;g[b+144>>2]=0.0;c[b+148>>2]=vi[c[(c[e>>2]|0)+56>>2]&2047](e)|0;c[b+152>>2]=vi[c[(c[e>>2]|0)+48>>2]&2047](e)|0;c[b+156>>2]=vi[c[(c[e>>2]|0)+52>>2]&2047](e)|0;c[b+160>>2]=e;Hi[c[(c[e>>2]|0)+8>>2]&1023](e);c[b+164>>2]=0;d=vi[c[(c[e>>2]|0)+48>>2]&2047](e)|0;f=vi[c[(c[e>>2]|0)+52>>2]&2047](e)|0;if((d|0)==1&(f|0)==8){d=b+24|0;Kb(8,d|0);d=b+68|0;f=d+36|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(f|0));i=h;return}if((d|0)==1&(f|0)==16){d=b+24|0;Kb(8,d|0);d=b+68|0;f=d+36|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(f|0));i=h;return}if((d|0)==2&((f|0)==8|(f|0)==16)){d=b+24|0;Kb(8,d|0);d=b+68|0;f=d+36|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(f|0));i=h;return}else{b=nf(16)|0;f=vi[c[(c[e>>2]|0)+48>>2]&2047](e)|0;e=vi[c[(c[e>>2]|0)+52>>2]&2047](e)|0;c[h>>2]=f;c[h+4>>2]=e;ds(b,362959,h);c[b>>2]=21904;zc(b|0,1504,27)}}function $1(b){b=b|0;if(!(a[b+20>>0]|0))return;tb(c[b+16>>2]|0);a[b+106>>0]=1;return}function a2(b){b=b|0;if(!(a[b+20>>0]|0))return;if(!(a[b+106>>0]|0))return;Fe(c[b+16>>2]|0);a[b+106>>0]=0;return}function b2(b){b=b|0;var d=0,e=0;d=c[b+8>>2]|0;if(!(a[b+20>>0]|0)){if((d|0)!=1)return;d=c[b+160>>2]|0;vi[c[(c[d>>2]|0)+36>>2]&2047](d)|0;g[b+140>>2]=0.0;g[b+144>>2]=0.0;return}switch(d|0){case 0:{uh(c[b+16>>2]|0);if(a[b+106>>0]|0)return;Fe(c[b+16>>2]|0);return}case 1:{d=(a[b+106>>0]|0)==0;e=c[b+160>>2]|0;vi[c[(c[e>>2]|0)+36>>2]&2047](e)|0;T1(b);U1(b)|0;if(!d)if(a[b+20>>0]|0){tb(c[b+16>>2]|0);a[b+106>>0]=1}g[b+140>>2]=0.0;g[b+144>>2]=0.0;return}default:return}}function c2(){a[629396]=0;a[629408]=0;a[629420]=0;a[629432]=0;a[629444]=0;a[629456]=0;a[629468]=0;a[629480]=0;a[629492]=0;a[629504]=0;a[629516]=0;a[629528]=0;a[629540]=0;a[629552]=0;c[157389]=0;c[157390]=0;c[157391]=0;c[157392]=0;c[157393]=0;c[157394]=0;c[157395]=0;d2(629388,522333,0)|0;d2(629388,363066,1)|0;d2(629388,363074,2)|0;d2(629388,433996,3)|0;d2(629388,363089,4)|0;d2(629388,363103,5)|0;d2(629388,363112,6)|0;return}function d2(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;f=a[d>>0]|0;if(!(f<<24>>24))g=5381;else{h=d;g=5381;do{h=h+1|0;g=(g*33|0)+(f<<24>>24)|0;f=a[h>>0]|0}while(f<<24>>24!=0)}f=(g>>>0)%14|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+1|0)>>>0)%14|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+2|0)>>>0)%14|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+3|0)>>>0)%14|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+4|0)>>>0)%14|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+5|0)>>>0)%14|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+6|0)>>>0)%14|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+7|0)>>>0)%14|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+8|0)>>>0)%14|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+9|0)>>>0)%14|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+10|0)>>>0)%14|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+11|0)>>>0)%14|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+12|0)>>>0)%14|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else{f=((g+13|0)>>>0)%14|0;if(!(a[b+(f*12|0)+8>>0]|0)){g=f;f=b+(f*12|0)+8|0;j=5}else f=0}}}}}}}}}}}}}if((j|0)==5){a[f>>0]=1;c[b+(g*12|0)>>2]=d;c[b+(g*12|0)+4>>2]=e;f=1}if(e>>>0>6){c[k>>2]=d;c[k+4>>2]=e;vpb(441068,k)|0;j=0;i=k;return j|0}else{c[b+168+(e<<2)>>2]=d;j=f;i=k;return j|0}return 0}function e2(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=a[b>>0]|0;if(!(e<<24>>24))f=5381;else{g=b;f=5381;do{g=g+1|0;f=(f*33|0)+(e<<24>>24)|0;e=a[g>>0]|0}while(e<<24>>24!=0)}j=0;while(1){i=((j+f|0)>>>0)%14|0;if(!(a[629388+(i*12|0)+8>>0]|0)){e=1;f=0;k=11;break}g=c[629388+(i*12|0)>>2]|0;h=a[g>>0]|0;a:do if(!(h<<24>>24)){e=b;k=8}else{e=b;while(1){l=a[e>>0]|0;if(!(l<<24>>24?h<<24>>24==l<<24>>24:0))break a;g=g+1|0;e=e+1|0;h=a[g>>0]|0;if(!(h<<24>>24)){k=8;break}}}while(0);if((k|0)==8){k=0;if(!(a[e>>0]|0)){k=9;break}}j=j+1|0;if(j>>>0>=14){e=0;f=0;k=11;break}}if((k|0)==9){c[d>>2]=c[629388+(i*12|0)+4>>2];k=1;l=1;l=k&l;return l|0}else if((k|0)==11){l=e&f;return l|0}return 0}function f2(a,b){a=a|0;b=b|0;if(a>>>0>6)a=0;else{a=c[629556+(a<<2)>>2]|0;if(!a)a=0;else{c[b>>2]=a;a=1}}return a|0}function g2(a){a=a|0;return}function h2(a){a=a|0;oAb(a);return}function i2(a){a=a|0;return c[a+8>>2]|0}function j2(){var b=0,d=0,e=0,f=0,g=0;g=i;i=i+32|0;a[629592]=0;a[629604]=0;a[629616]=0;a[629628]=0;c[157408]=0;c[157409]=0;b=a[434485]|0;if(!(b<<24>>24))d=5381;else{e=434485;d=5381;do{e=e+1|0;d=(d*33|0)+(b<<24>>24)|0;b=a[e>>0]|0}while(b<<24>>24!=0)}b=d&3;if(!(a[629584+(b*12|0)+8>>0]|0)){d=b;b=629584+(b*12|0)+8|0;f=5}else{b=d+1&3;if(!(a[629584+(b*12|0)+8>>0]|0)){d=b;b=629584+(b*12|0)+8|0;f=5}else{b=d+2&3;if(!(a[629584+(b*12|0)+8>>0]|0)){d=b;b=629584+(b*12|0)+8|0;f=5}else{b=d+3&3;if(!(a[629584+(b*12|0)+8>>0]|0)){d=b;b=629584+(b*12|0)+8|0;f=5}}}}if((f|0)==5){a[b>>0]=1;c[629584+(d*12|0)>>2]=434485;c[629584+(d*12|0)+4>>2]=0}if(0>1){c[g>>2]=434485;c[g+4>>2]=0;vpb(441068,g)|0}else c[157408]=434485;b=a[434470]|0;if(!(b<<24>>24))d=5381;else{e=434470;d=5381;do{e=e+1|0;d=(d*33|0)+(b<<24>>24)|0;b=a[e>>0]|0}while(b<<24>>24!=0)}b=d&3;if(!(a[629584+(b*12|0)+8>>0]|0)){d=b;b=629584+(b*12|0)+8|0;f=17}else{b=d+1&3;if(!(a[629584+(b*12|0)+8>>0]|0)){d=b;b=629584+(b*12|0)+8|0;f=17}else{b=d+2&3;if(!(a[629584+(b*12|0)+8>>0]|0)){d=b;b=629584+(b*12|0)+8|0;f=17}else{b=d+3&3;if(!(a[629584+(b*12|0)+8>>0]|0)){d=b;b=629584+(b*12|0)+8|0;f=17}}}}if((f|0)==17){a[b>>0]=1;c[629584+(d*12|0)>>2]=434470;c[629584+(d*12|0)+4>>2]=1}if(1>1){c[g+8>>2]=434470;c[g+8+4>>2]=1;vpb(441068,g+8|0)|0}else c[157409]=434470;a[629648]=0;a[629660]=0;a[629672]=0;a[629684]=0;c[157422]=0;c[157423]=0;b=a[363149]|0;if(!(b<<24>>24))d=5381;else{e=363149;d=5381;do{e=e+1|0;d=(d*33|0)+(b<<24>>24)|0;b=a[e>>0]|0}while(b<<24>>24!=0)}b=d&3;if(!(a[629640+(b*12|0)+8>>0]|0)){d=b;b=629640+(b*12|0)+8|0;f=25}else{b=d+1&3;if(!(a[629640+(b*12|0)+8>>0]|0)){d=b;b=629640+(b*12|0)+8|0;f=25}else{b=d+2&3;if(!(a[629640+(b*12|0)+8>>0]|0)){d=b;b=629640+(b*12|0)+8|0;f=25}else{b=d+3&3;if(!(a[629640+(b*12|0)+8>>0]|0)){d=b;b=629640+(b*12|0)+8|0;f=25}}}}if((f|0)==25){a[b>>0]=1;c[629640+(d*12|0)>>2]=363149;c[629640+(d*12|0)+4>>2]=0}if(0>1){c[g+16>>2]=363149;c[g+16+4>>2]=0;vpb(441068,g+16|0)|0}else c[157422]=363149;b=a[363157]|0;if(!(b<<24>>24))d=5381;else{e=363157;d=5381;do{e=e+1|0;d=(d*33|0)+(b<<24>>24)|0;b=a[e>>0]|0}while(b<<24>>24!=0)}b=d&3;if(!(a[629640+(b*12|0)+8>>0]|0)){d=b;b=629640+(b*12|0)+8|0;f=37}else{b=d+1&3;if(!(a[629640+(b*12|0)+8>>0]|0)){d=b;b=629640+(b*12|0)+8|0;f=37}else{b=d+2&3;if(!(a[629640+(b*12|0)+8>>0]|0)){d=b;b=629640+(b*12|0)+8|0;f=37}else{b=d+3&3;if(!(a[629640+(b*12|0)+8>>0]|0)){d=b;b=629640+(b*12|0)+8|0;f=37}}}}if((f|0)==37){a[b>>0]=1;c[629640+(d*12|0)>>2]=363157;c[629640+(d*12|0)+4>>2]=1}if(1>1){c[g+24>>2]=363157;c[g+24+4>>2]=1;vpb(441068,g+24|0)|0;i=g;return}else{c[157423]=363157;i=g;return}}function k2(a,b){a=a|0;b=b|0;Jj(a);c[a>>2]=21924;c[a+8>>2]=b;return}function l2(a,b){a=a|0;b=b|0;return m2(629584,a,b)|0}function m2(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=a[d>>0]|0;if(!(g<<24>>24))m=5381;else{h=d;i=g;f=5381;do{h=h+1|0;f=(f*33|0)+(i<<24>>24)|0;i=a[h>>0]|0}while(i<<24>>24!=0);m=f}f=m&3;if(!(a[b+(f*12|0)+8>>0]|0)){e=1;b=0;b=e&b;return b|0}i=c[b+(f*12|0)>>2]|0;h=a[i>>0]|0;a:do if(!(h<<24>>24)){h=g;l=8}else if(g<<24>>24?h<<24>>24==g<<24>>24:0){k=d;while(1){i=i+1|0;k=k+1|0;j=a[i>>0]|0;h=a[k>>0]|0;if(!(j<<24>>24)){l=8;break a}if(!(h<<24>>24?j<<24>>24==h<<24>>24:0)){l=10;break}}}else l=10;while(0);if((l|0)==8)if(h<<24>>24)l=10;do if((l|0)==10){f=m+1&3;if(!(a[b+(f*12|0)+8>>0]|0)){e=1;b=0;b=e&b;return b|0}i=c[b+(f*12|0)>>2]|0;h=a[i>>0]|0;b:do if(!(h<<24>>24)){h=g;l=16}else if(g<<24>>24?h<<24>>24==g<<24>>24:0){k=d;do{i=i+1|0;k=k+1|0;j=a[i>>0]|0;h=a[k>>0]|0;if(!(j<<24>>24)){l=16;break b}}while(h<<24>>24?j<<24>>24==h<<24>>24:0)}while(0);if((l|0)==16)if(!(h<<24>>24))break;f=m+2&3;if(!(a[b+(f*12|0)+8>>0]|0)){e=1;b=0;b=e&b;return b|0}i=c[b+(f*12|0)>>2]|0;h=a[i>>0]|0;c:do if(!(h<<24>>24)){h=g;l=22}else if(g<<24>>24?h<<24>>24==g<<24>>24:0){k=d;do{i=i+1|0;k=k+1|0;j=a[i>>0]|0;h=a[k>>0]|0;if(!(j<<24>>24)){l=22;break c}}while(h<<24>>24?j<<24>>24==h<<24>>24:0)}while(0);if((l|0)==22)if(!(h<<24>>24))break;f=m+3&3;if(!(a[b+(f*12|0)+8>>0]|0)){e=1;b=0;b=e&b;return b|0}h=c[b+(f*12|0)>>2]|0;i=a[h>>0]|0;d:do if(i<<24>>24){if(!(g<<24>>24?i<<24>>24==g<<24>>24:0)){e=0;b=0;b=e&b;return b|0}while(1){h=h+1|0;d=d+1|0;i=a[h>>0]|0;g=a[d>>0]|0;if(!(i<<24>>24))break d;if(!(g<<24>>24?i<<24>>24==g<<24>>24:0)){f=0;g=0;break}}b=f&g;return b|0}while(0);if(g<<24>>24){e=0;b=0;b=e&b;return b|0}}while(0);c[e>>2]=c[b+(f*12|0)+4>>2];e=1;b=1;b=e&b;return b|0}function n2(a,b){a=a|0;b=b|0;if(a>>>0>1)a=0;else{a=c[629632+(a<<2)>>2]|0;if(!a)a=0;else{c[b>>2]=a;a=1}}return a|0}function o2(a,b){a=a|0;b=b|0;return p2(629640,a,b)|0}function p2(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=a[d>>0]|0;if(!(g<<24>>24))m=5381;else{h=d;i=g;f=5381;do{h=h+1|0;f=(f*33|0)+(i<<24>>24)|0;i=a[h>>0]|0}while(i<<24>>24!=0);m=f}f=m&3;if(!(a[b+(f*12|0)+8>>0]|0)){e=1;b=0;b=e&b;return b|0}i=c[b+(f*12|0)>>2]|0;h=a[i>>0]|0;a:do if(!(h<<24>>24)){h=g;l=8}else if(g<<24>>24?h<<24>>24==g<<24>>24:0){k=d;while(1){i=i+1|0;k=k+1|0;j=a[i>>0]|0;h=a[k>>0]|0;if(!(j<<24>>24)){l=8;break a}if(!(h<<24>>24?j<<24>>24==h<<24>>24:0)){l=10;break}}}else l=10;while(0);if((l|0)==8)if(h<<24>>24)l=10;do if((l|0)==10){f=m+1&3;if(!(a[b+(f*12|0)+8>>0]|0)){e=1;b=0;b=e&b;return b|0}i=c[b+(f*12|0)>>2]|0;h=a[i>>0]|0;b:do if(!(h<<24>>24)){h=g;l=16}else if(g<<24>>24?h<<24>>24==g<<24>>24:0){k=d;do{i=i+1|0;k=k+1|0;j=a[i>>0]|0;h=a[k>>0]|0;if(!(j<<24>>24)){l=16;break b}}while(h<<24>>24?j<<24>>24==h<<24>>24:0)}while(0);if((l|0)==16)if(!(h<<24>>24))break;f=m+2&3;if(!(a[b+(f*12|0)+8>>0]|0)){e=1;b=0;b=e&b;return b|0}i=c[b+(f*12|0)>>2]|0;h=a[i>>0]|0;c:do if(!(h<<24>>24)){h=g;l=22}else if(g<<24>>24?h<<24>>24==g<<24>>24:0){k=d;do{i=i+1|0;k=k+1|0;j=a[i>>0]|0;h=a[k>>0]|0;if(!(j<<24>>24)){l=22;break c}}while(h<<24>>24?j<<24>>24==h<<24>>24:0)}while(0);if((l|0)==22)if(!(h<<24>>24))break;f=m+3&3;if(!(a[b+(f*12|0)+8>>0]|0)){e=1;b=0;b=e&b;return b|0}h=c[b+(f*12|0)>>2]|0;i=a[h>>0]|0;d:do if(i<<24>>24){if(!(g<<24>>24?i<<24>>24==g<<24>>24:0)){e=0;b=0;b=e&b;return b|0}while(1){h=h+1|0;d=d+1|0;i=a[h>>0]|0;g=a[d>>0]|0;if(!(i<<24>>24))break d;if(!(g<<24>>24?i<<24>>24==g<<24>>24:0)){f=0;g=0;break}}b=f&g;return b|0}while(0);if(g<<24>>24){e=0;b=0;b=e&b;return b|0}}while(0);c[e>>2]=c[b+(f*12|0)+4>>2];e=1;b=1;b=e&b;return b|0}function q2(a){a=a|0;c[a>>2]=22112;qhb(346,a);ehb(16384);J2(a);return}function r2(a,b){a=a|0;b=b|0;var d=0;d=c[155676]|0;a=c[b>>2]|0;if(!((d|0)!=0&(a&-2|0)==260))return 1;si[c[(c[d>>2]|0)+36>>2]&511](d,(a|0)==261);return 1}function s2(a){a=a|0;c[a>>2]=22112;qhb(346,a);ehb(16384);J2(a);oAb(a);return}function t2(a){a=a|0;return 1}function u2(a){a=a|0;return 363189}function v2(a){a=a|0;var b=0;b=i;i=i+64|0;do{}while((kjb(b)|0)!=0);L2(a);i=b;return}function w2(a){a=a|0;var b=0,d=0;d=i;i=i+64|0;if(!(kjb(d)|0)){i=d;return}do{b=x2(a,d)|0;if(b|0){Q2(a,b);Hi[c[(c[b>>2]|0)+12>>2]&1023](b)}}while((kjb(d)|0)!=0);i=d;return}function x2(b,e){b=b|0;e=e|0;var f=0,j=0,k=0.0,l=0.0,m=0,n=0;n=i;i=i+432|0;c[n+420>>2]=0;m=n+420+4|0;c[m>>2]=0;c[n+420+8>>2]=0;y2(n+420|0,4);c[n+416>>2]=0;a:do switch(c[e>>2]|0){case 768:{if(a[e+13>>0]|0){b=c[155679]|0;if(b|0)if(!(vi[c[(c[b>>2]|0)+28>>2]&2047](b)|0)){f=0;break a}}f=c[157425]|0;if(!f)b=0;else{j=c[e+16+4>>2]|0;b=629700;b:do{while(1){if((c[f+16>>2]|0)>=(j|0)){b=f;break}f=c[f+4>>2]|0;if(!f)break b}f=c[b>>2]|0}while((f|0)!=0);if((b|0)==629700)b=0;else if((j|0)<(c[b+16>>2]|0))b=0;else b=c[b+20>>2]|0}if(!(lka(b,n+412|0)|0))c[n+412>>2]=439634;ika(c[e+16>>2]|0,n+416|0)|0;if(!(nka(c[n+416>>2]|0,n+408|0)|0))c[n+408>>2]=439634;b=YAb(32)|0;f=c[n+412>>2]|0;o_(b,f,rnb(f)|0);c[n+404>>2]=b;Hi[c[(c[b>>2]|0)+8>>2]&1023](b);f=c[m>>2]|0;if(f>>>0<(c[n+420+8>>2]|0)>>>0){c[f>>2]=b;Hi[c[(c[b>>2]|0)+8>>2]&1023](b);c[m>>2]=(c[m>>2]|0)+4}else lu(n+420|0,n+404|0);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);f=YAb(32)|0;b=c[n+408>>2]|0;o_(f,b,rnb(b)|0);c[n+400>>2]=f;Hi[c[(c[f>>2]|0)+8>>2]&1023](f);b=c[m>>2]|0;if(b>>>0<(c[n+420+8>>2]|0)>>>0){c[b>>2]=f;Hi[c[(c[f>>2]|0)+8>>2]&1023](f);c[m>>2]=(c[m>>2]|0)+4}else lu(n+420|0,n+400|0);Hi[c[(c[f>>2]|0)+12>>2]&1023](f);f=YAb(32)|0;m_(f,(a[e+13>>0]|0)!=0);c[n+396>>2]=f;Hi[c[(c[f>>2]|0)+8>>2]&1023](f);b=c[m>>2]|0;if(b>>>0<(c[n+420+8>>2]|0)>>>0){c[b>>2]=f;Hi[c[(c[f>>2]|0)+8>>2]&1023](f);c[m>>2]=(c[m>>2]|0)+4}else lu(n+420|0,n+396|0);Hi[c[(c[f>>2]|0)+12>>2]&1023](f);f=YAb(32)|0;Iqb(n+384|0,363204,10);M2(f,n+384|0,n+420|0);Mqb(n+384|0);break}case 769:{f=c[157425]|0;if(!f)b=0;else{j=c[e+16+4>>2]|0;b=629700;c:do{while(1){if((c[f+16>>2]|0)>=(j|0)){b=f;break}f=c[f+4>>2]|0;if(!f)break c}f=c[b>>2]|0}while((f|0)!=0);if((b|0)==629700)b=0;else if((j|0)<(c[b+16>>2]|0))b=0;else b=c[b+20>>2]|0}if(!(lka(b,n+412|0)|0))c[n+412>>2]=439634;ika(c[e+16>>2]|0,n+416|0)|0;if(!(nka(c[n+416>>2]|0,n+408|0)|0))c[n+408>>2]=439634;b=YAb(32)|0;f=c[n+412>>2]|0;o_(b,f,rnb(f)|0);c[n+380>>2]=b;Hi[c[(c[b>>2]|0)+8>>2]&1023](b);f=c[m>>2]|0;if(f>>>0<(c[n+420+8>>2]|0)>>>0){c[f>>2]=b;Hi[c[(c[b>>2]|0)+8>>2]&1023](b);c[m>>2]=(c[m>>2]|0)+4}else lu(n+420|0,n+380|0);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);b=YAb(32)|0;f=c[n+408>>2]|0;o_(b,f,rnb(f)|0);c[n+376>>2]=b;Hi[c[(c[b>>2]|0)+8>>2]&1023](b);f=c[m>>2]|0;if(f>>>0<(c[n+420+8>>2]|0)>>>0){c[f>>2]=b;Hi[c[(c[b>>2]|0)+8>>2]&1023](b);c[m>>2]=(c[m>>2]|0)+4}else lu(n+420|0,n+376|0);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);f=YAb(32)|0;Iqb(n+364|0,363215,11);M2(f,n+364|0,n+420|0);Mqb(n+364|0);break}case 771:{c[n+412>>2]=e+12;f=YAb(32)|0;o_(f,e+12|0,rnb(e+12|0)|0);c[n+360>>2]=f;Hi[c[(c[f>>2]|0)+8>>2]&1023](f);b=c[m>>2]|0;if(b>>>0<(c[n+420+8>>2]|0)>>>0){c[b>>2]=f;Hi[c[(c[f>>2]|0)+8>>2]&1023](f);c[m>>2]=(c[m>>2]|0)+4}else lu(n+420|0,n+360|0);Hi[c[(c[f>>2]|0)+12>>2]&1023](f);f=YAb(32)|0;Iqb(n+348|0,363227,9);M2(f,n+348|0,n+420|0);Mqb(n+348|0);break}case 770:{c[n+412>>2]=e+12;b=YAb(32)|0;o_(b,e+12|0,rnb(e+12|0)|0);c[n+344>>2]=b;Hi[c[(c[b>>2]|0)+8>>2]&1023](b);f=c[m>>2]|0;if(f>>>0<(c[n+420+8>>2]|0)>>>0){c[f>>2]=b;Hi[c[(c[b>>2]|0)+8>>2]&1023](b);c[m>>2]=(c[m>>2]|0)+4}else lu(n+420|0,n+344|0);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);b=YAb(32)|0;n_(b,+(c[e+44>>2]|0));c[n+340>>2]=b;Hi[c[(c[b>>2]|0)+8>>2]&1023](b);f=c[m>>2]|0;if(f>>>0<(c[n+420+8>>2]|0)>>>0){c[f>>2]=b;Hi[c[(c[b>>2]|0)+8>>2]&1023](b);c[m>>2]=(c[m>>2]|0)+4}else lu(n+420|0,n+340|0);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);f=YAb(32)|0;n_(f,+(c[e+48>>2]|0));c[n+336>>2]=f;Hi[c[(c[f>>2]|0)+8>>2]&1023](f);b=c[m>>2]|0;if(b>>>0<(c[n+420+8>>2]|0)>>>0){c[b>>2]=f;Hi[c[(c[f>>2]|0)+8>>2]&1023](f);c[m>>2]=(c[m>>2]|0)+4}else lu(n+420|0,n+336|0);Hi[c[(c[f>>2]|0)+12>>2]&1023](f);f=YAb(32)|0;Iqb(n+324|0,363237,10);M2(f,n+324|0,n+420|0);Mqb(n+324|0);break}case 1024:{h[n+72>>3]=+(c[e+20>>2]|0);h[n+64>>3]=+(c[e+24>>2]|0);h[n+8>>3]=+(c[e+28>>2]|0);h[n>>3]=+(c[e+32>>2]|0);b=c[155688]|0;if(b|0){$i[c[(c[b>>2]|0)+144>>2]&255](b,n+72|0,n+64|0);b=c[155688]|0;if(b|0)$i[c[(c[b>>2]|0)+144>>2]&255](b,n+8|0,n)}b=YAb(32)|0;n_(b,+h[n+72>>3]);c[n+320>>2]=b;Hi[c[(c[b>>2]|0)+8>>2]&1023](b);f=c[m>>2]|0;j=n+420+8|0;if(f>>>0<(c[j>>2]|0)>>>0){c[f>>2]=b;Hi[c[(c[b>>2]|0)+8>>2]&1023](b);c[m>>2]=(c[m>>2]|0)+4}else lu(n+420|0,n+320|0);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);b=YAb(32)|0;n_(b,+h[n+64>>3]);c[n+316>>2]=b;Hi[c[(c[b>>2]|0)+8>>2]&1023](b);f=c[m>>2]|0;if(f>>>0<(c[j>>2]|0)>>>0){c[f>>2]=b;Hi[c[(c[b>>2]|0)+8>>2]&1023](b);c[m>>2]=(c[m>>2]|0)+4}else lu(n+420|0,n+316|0);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);b=YAb(32)|0;n_(b,+h[n+8>>3]);c[n+312>>2]=b;Hi[c[(c[b>>2]|0)+8>>2]&1023](b);f=c[m>>2]|0;if(f>>>0<(c[j>>2]|0)>>>0){c[f>>2]=b;Hi[c[(c[b>>2]|0)+8>>2]&1023](b);c[m>>2]=(c[m>>2]|0)+4}else lu(n+420|0,n+312|0);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);b=YAb(32)|0;n_(b,+h[n>>3]);c[n+308>>2]=b;Hi[c[(c[b>>2]|0)+8>>2]&1023](b);f=c[m>>2]|0;if(f>>>0<(c[j>>2]|0)>>>0){c[f>>2]=b;Hi[c[(c[b>>2]|0)+8>>2]&1023](b);c[m>>2]=(c[m>>2]|0)+4}else lu(n+420|0,n+308|0);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);f=YAb(32)|0;m_(f,(c[e+12>>2]|0)==-1);c[n+304>>2]=f;Hi[c[(c[f>>2]|0)+8>>2]&1023](f);b=c[m>>2]|0;if(b>>>0<(c[j>>2]|0)>>>0){c[b>>2]=f;Hi[c[(c[f>>2]|0)+8>>2]&1023](f);c[m>>2]=(c[m>>2]|0)+4}else lu(n+420|0,n+304|0);Hi[c[(c[f>>2]|0)+12>>2]&1023](f);f=YAb(32)|0;Iqb(n+292|0,363248,10);M2(f,n+292|0,n+420|0);Mqb(n+292|0);break}case 1026:case 1025:{b=d[e+16>>0]|0;switch(b|0){case 3:{b=2;break}case 2:{b=3;break}default:{}}h[n+72>>3]=+(c[e+20>>2]|0);h[n+64>>3]=+(c[e+24>>2]|0);f=c[155688]|0;if(f|0)$i[c[(c[f>>2]|0)+144>>2]&255](f,n+72|0,n+64|0);f=YAb(32)|0;n_(f,+h[n+72>>3]);c[n+288>>2]=f;Hi[c[(c[f>>2]|0)+8>>2]&1023](f);j=c[m>>2]|0;if(j>>>0<(c[n+420+8>>2]|0)>>>0){c[j>>2]=f;Hi[c[(c[f>>2]|0)+8>>2]&1023](f);c[m>>2]=(c[m>>2]|0)+4}else lu(n+420|0,n+288|0);Hi[c[(c[f>>2]|0)+12>>2]&1023](f);f=YAb(32)|0;n_(f,+h[n+64>>3]);c[n+284>>2]=f;Hi[c[(c[f>>2]|0)+8>>2]&1023](f);j=c[m>>2]|0;if(j>>>0<(c[n+420+8>>2]|0)>>>0){c[j>>2]=f;Hi[c[(c[f>>2]|0)+8>>2]&1023](f);c[m>>2]=(c[m>>2]|0)+4}else lu(n+420|0,n+284|0);Hi[c[(c[f>>2]|0)+12>>2]&1023](f);f=YAb(32)|0;n_(f,+(b|0));c[n+280>>2]=f;Hi[c[(c[f>>2]|0)+8>>2]&1023](f);b=c[m>>2]|0;if(b>>>0<(c[n+420+8>>2]|0)>>>0){c[b>>2]=f;Hi[c[(c[f>>2]|0)+8>>2]&1023](f);c[m>>2]=(c[m>>2]|0)+4}else lu(n+420|0,n+280|0);Hi[c[(c[f>>2]|0)+12>>2]&1023](f);b=YAb(32)|0;m_(b,(c[e+12>>2]|0)==-1);c[n+276>>2]=b;Hi[c[(c[b>>2]|0)+8>>2]&1023](b);f=c[m>>2]|0;if(f>>>0<(c[n+420+8>>2]|0)>>>0){c[f>>2]=b;Hi[c[(c[b>>2]|0)+8>>2]&1023](b);c[m>>2]=(c[m>>2]|0)+4}else lu(n+420|0,n+276|0);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);f=YAb(32)|0;e=(c[e>>2]|0)==1025;Iqb(n+264|0,e?363259:363272,e?12:13);M2(f,n+264|0,n+420|0);Mqb(n+264|0);break}case 1027:{b=YAb(32)|0;n_(b,+(c[e+16>>2]|0));c[n+260>>2]=b;Hi[c[(c[b>>2]|0)+8>>2]&1023](b);f=c[m>>2]|0;if(f>>>0<(c[n+420+8>>2]|0)>>>0){c[f>>2]=b;Hi[c[(c[b>>2]|0)+8>>2]&1023](b);c[m>>2]=(c[m>>2]|0)+4}else lu(n+420|0,n+260|0);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);f=YAb(32)|0;n_(f,+(c[e+20>>2]|0));c[n+256>>2]=f;Hi[c[(c[f>>2]|0)+8>>2]&1023](f);b=c[m>>2]|0;if(b>>>0<(c[n+420+8>>2]|0)>>>0){c[b>>2]=f;Hi[c[(c[f>>2]|0)+8>>2]&1023](f);c[m>>2]=(c[m>>2]|0)+4}else lu(n+420|0,n+256|0);Hi[c[(c[f>>2]|0)+12>>2]&1023](f);f=YAb(32)|0;Iqb(n+244|0,363286,10);M2(f,n+244|0,n+420|0);Mqb(n+244|0);break}case 1794:case 1793:case 1792:{b=c[e+16+4>>2]|0;c[n+16>>2]=c[e+16>>2];c[n+16+4>>2]=b;k=+g[e+24>>2];h[n+16+8>>3]=k;l=+g[e+28>>2];h[n+16+16>>3]=l;h[n+16+24>>3]=+g[e+32>>2];h[n+16+32>>3]=+g[e+36>>2];h[n+16+40>>3]=+g[e+40>>2];b=c[155688]|0;c[n+72>>2]=1;c[n+64>>2]=1;if(!b){j=1;f=1;b=0}else{$i[c[(c[b>>2]|0)+140>>2]&255](b,n+72|0,n+64|0);j=c[n+72>>2]|0;k=+h[n+16+8>>3];f=c[n+64>>2]|0;l=+h[n+16+16>>3];b=c[155688]|0}h[n+16+8>>3]=k*+(j|0);h[n+16+16>>3]=l*+(f|0);c[n+72>>2]=1;c[n+64>>2]=1;if(!b){b=1;f=1}else{$i[c[(c[b>>2]|0)+140>>2]&255](b,n+72|0,n+64|0);b=c[n+72>>2]|0;f=c[n+64>>2]|0}h[n+16+24>>3]=+h[n+16+24>>3]*+(b|0);h[n+16+32>>3]=+h[n+16+32>>3]*+(f|0);Iqb(n+232|0,363297,14);b=Gj(n+232|0)|0;Mqb(n+232|0);if(b|0)MP(b,c[e>>2]|0,n+16|0);b=YAb(32)|0;p_(b,c[n+16>>2]|0);c[n+228>>2]=b;Hi[c[(c[b>>2]|0)+8>>2]&1023](b);f=c[m>>2]|0;j=n+420+8|0;if(f>>>0<(c[j>>2]|0)>>>0){c[f>>2]=b;Hi[c[(c[b>>2]|0)+8>>2]&1023](b);c[m>>2]=(c[m>>2]|0)+4}else lu(n+420|0,n+228|0);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);b=YAb(32)|0;n_(b,+h[n+16+8>>3]);c[n+224>>2]=b;Hi[c[(c[b>>2]|0)+8>>2]&1023](b);f=c[m>>2]|0;if(f>>>0<(c[j>>2]|0)>>>0){c[f>>2]=b;Hi[c[(c[b>>2]|0)+8>>2]&1023](b);c[m>>2]=(c[m>>2]|0)+4}else lu(n+420|0,n+224|0);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);b=YAb(32)|0;n_(b,+h[n+16+16>>3]);c[n+220>>2]=b;Hi[c[(c[b>>2]|0)+8>>2]&1023](b);f=c[m>>2]|0;if(f>>>0<(c[j>>2]|0)>>>0){c[f>>2]=b;Hi[c[(c[b>>2]|0)+8>>2]&1023](b);c[m>>2]=(c[m>>2]|0)+4}else lu(n+420|0,n+220|0);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);b=YAb(32)|0;n_(b,+h[n+16+24>>3]);c[n+216>>2]=b;Hi[c[(c[b>>2]|0)+8>>2]&1023](b);f=c[m>>2]|0;if(f>>>0<(c[j>>2]|0)>>>0){c[f>>2]=b;Hi[c[(c[b>>2]|0)+8>>2]&1023](b);c[m>>2]=(c[m>>2]|0)+4}else lu(n+420|0,n+216|0);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);b=YAb(32)|0;n_(b,+h[n+16+32>>3]);c[n+212>>2]=b;Hi[c[(c[b>>2]|0)+8>>2]&1023](b);f=c[m>>2]|0;if(f>>>0<(c[j>>2]|0)>>>0){c[f>>2]=b;Hi[c[(c[b>>2]|0)+8>>2]&1023](b);c[m>>2]=(c[m>>2]|0)+4}else lu(n+420|0,n+212|0);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);b=YAb(32)|0;n_(b,+h[n+16+40>>3]);c[n+208>>2]=b;Hi[c[(c[b>>2]|0)+8>>2]&1023](b);f=c[m>>2]|0;if(f>>>0<(c[j>>2]|0)>>>0){c[f>>2]=b;Hi[c[(c[b>>2]|0)+8>>2]&1023](b);c[m>>2]=(c[m>>2]|0)+4}else lu(n+420|0,n+208|0);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);switch(c[e>>2]|0){case 1792:{c[n+412>>2]=363312;b=363312;break}case 1793:{c[n+412>>2]=363325;b=363325;break}default:{c[n+412>>2]=363339;b=363339}}f=YAb(32)|0;Iqb(n+196|0,b,rnb(b)|0);M2(f,n+196|0,n+420|0);Mqb(n+196|0);break}case 1616:case 1618:case 1617:case 1542:case 1541:case 1538:case 1537:case 1536:case 1540:case 1539:{f=z2(0,e)|0;break}case 512:{f=A2(0,e)|0;break}case 4096:{b=c[155674]|0;do if(!b){b=e+8|0;f=0}else{j=c[(c[b>>2]|0)+168>>2]|0;f=c[e+8>>2]|0;Iqb(n+184|0,f,rnb(f)|0);si[j&511](b,n+184|0);Mqb(n+184|0);j=c[(c[b>>2]|0)+172>>2]|0;f=c[e+8>>2]|0;Iqb(n+172|0,f,rnb(f)|0);j=Xi[j&511](b,n+172|0)|0;Mqb(n+172|0);if(j){b=YAb(32)|0;f=c[e+8>>2]|0;o_(b,f,rnb(f)|0);c[n+168>>2]=b;Hi[c[(c[b>>2]|0)+8>>2]&1023](b);f=c[m>>2]|0;if(f>>>0<(c[n+420+8>>2]|0)>>>0){c[f>>2]=b;Hi[c[(c[b>>2]|0)+8>>2]&1023](b);c[m>>2]=(c[m>>2]|0)+4}else lu(n+420|0,n+168|0);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);f=YAb(32)|0;Iqb(n+156|0,363513,16);M2(f,n+156|0,n+420|0);Mqb(n+156|0);b=e+8|0;break}else{b=YAb(40)|0;f=c[e+8>>2]|0;Iqb(n+144|0,f,rnb(f)|0);Z3(b,n+144|0);c[n+72+4>>2]=b;Mqb(n+144|0);c[n+72>>2]=6;b=YAb(32)|0;q_(b,6,n+72|0);c[n+140>>2]=b;Hi[c[(c[b>>2]|0)+8>>2]&1023](b);f=c[m>>2]|0;if(f>>>0<(c[n+420+8>>2]|0)>>>0){c[f>>2]=b;Hi[c[(c[b>>2]|0)+8>>2]&1023](b);c[m>>2]=(c[m>>2]|0)+4}else lu(n+420|0,n+140|0);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);f=YAb(32)|0;Iqb(n+128|0,363530,11);M2(f,n+128|0,n+420|0);Mqb(n+128|0);b=c[n+72+4>>2]|0;Hi[c[(c[b>>2]|0)+12>>2]&1023](b);b=e+8|0;break}}while(0);L7a(c[b>>2]|0);break}case 257:case 256:{f=YAb(32)|0;Iqb(n+116|0,363542,4);c[n+104>>2]=0;c[n+104+4>>2]=0;c[n+104+8>>2]=0;M2(f,n+116|0,n+104|0);b=c[n+104>>2]|0;if(b|0){j=c[n+104+4>>2]|0;if((j|0)!=(b|0)){do{j=j+-4|0;c[n+104+4>>2]=j;e=c[j>>2]|0;if(e){Hi[c[(c[e>>2]|0)+12>>2]&1023](e);j=c[n+104+4>>2]|0}}while((j|0)!=(b|0));b=c[n+104>>2]|0}oAb(b)}Mqb(n+116|0);break}case 258:{f=YAb(32)|0;Iqb(n+92|0,363547,9);c[n+80>>2]=0;c[n+80+4>>2]=0;c[n+80+8>>2]=0;M2(f,n+92|0,n+80|0);b=c[n+80>>2]|0;if(b|0){j=c[n+80+4>>2]|0;if((j|0)!=(b|0)){do{j=j+-4|0;c[n+80+4>>2]=j;e=c[j>>2]|0;if(e){Hi[c[(c[e>>2]|0)+12>>2]&1023](e);j=c[n+80+4>>2]|0}}while((j|0)!=(b|0));b=c[n+80>>2]|0}oAb(b)}Mqb(n+92|0);break}default:f=0}while(0);b=c[n+420>>2]|0;e=c[m>>2]|0;if((b|0)!=(e|0)){do{j=c[b>>2]|0;if(j|0)Hi[c[(c[j>>2]|0)+12>>2]&1023](j);b=b+4|0}while((b|0)!=(e|0));b=c[n+420>>2]|0}if(!b){i=n;return f|0}j=c[m>>2]|0;if((j|0)!=(b|0)){do{j=j+-4|0;c[m>>2]=j;e=c[j>>2]|0;if(e){Hi[c[(c[e>>2]|0)+12>>2]&1023](e);j=c[m>>2]|0}}while((j|0)!=(b|0));b=c[n+420>>2]|0}oAb(b);i=n;return f|0}function y2(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;h=c[a>>2]|0;if((c[a+8>>2]|0)-h>>2>>>0>=b>>>0)return;e=c[a+4>>2]|0;if(!b)d=0;else d=YAb(b<<2)|0;i=d+(e-h>>2<<2)|0;g=d+(b<<2)|0;if((e|0)==(h|0)){b=i;f=h;d=h}else{f=i;d=i;do{e=e+-4|0;b=c[e>>2]|0;c[f+-4>>2]=b;if(b|0)Hi[c[(c[b>>2]|0)+8>>2]&1023](b);f=d+-4|0;d=f}while((e|0)!=(h|0));b=d;f=c[a>>2]|0;d=c[a+4>>2]|0}c[a>>2]=b;c[a+4>>2]=i;c[a+8>>2]=g;e=f;if((d|0)!=(e|0))do{d=d+-4|0;b=c[d>>2]|0;if(b|0)Hi[c[(c[b>>2]|0)+12>>2]&1023](b)}while((d|0)!=(e|0));if(!f)return;oAb(f);return}function z2(e,f){e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0.0;k=i;i=i+192|0;g=c[155678]|0;if(!g){j=0;i=k;return j|0}c[k+168>>2]=0;j=k+168+4|0;c[j>>2]=0;c[k+168+8>>2]=0;y2(k+168|0,4);switch(c[f>>2]|0){case 1540:case 1539:{c[k+160>>2]=24;h=Xi[c[(c[g>>2]|0)+32>>2]&511](g,c[f+8>>2]|0)|0;c[k+160+4>>2]=h;if(!h)h=0;else{e=YAb(32)|0;q_(e,c[k+160>>2]|0,k+160|0);c[k+140>>2]=e;Hi[c[(c[e>>2]|0)+8>>2]&1023](e);g=c[j>>2]|0;if(g>>>0<(c[k+168+8>>2]|0)>>>0){c[g>>2]=e;Hi[c[(c[e>>2]|0)+8>>2]&1023](e);c[j>>2]=(c[j>>2]|0)+4}else lu(k+168|0,k+140|0);Hi[c[(c[e>>2]|0)+12>>2]&1023](e);e=YAb(32)|0;n_(e,+((d[f+12>>0]|0)+1|0));c[k+136>>2]=e;Hi[c[(c[e>>2]|0)+8>>2]&1023](e);g=c[j>>2]|0;if(g>>>0<(c[k+168+8>>2]|0)>>>0){c[g>>2]=e;Hi[c[(c[e>>2]|0)+8>>2]&1023](e);c[j>>2]=(c[j>>2]|0)+4}else lu(k+168|0,k+136|0);Hi[c[(c[e>>2]|0)+12>>2]&1023](e);h=YAb(32)|0;f=(c[f>>2]|0)==1539;Iqb(k+124|0,f?363350:363366,f?15:16);M2(h,k+124|0,k+168|0);Mqb(k+124|0)}break}case 1536:{c[k+160>>2]=24;h=Xi[c[(c[g>>2]|0)+32>>2]&511](g,c[f+8>>2]|0)|0;c[k+160+4>>2]=h;if(!h)h=0;else{e=YAb(32)|0;q_(e,c[k+160>>2]|0,k+160|0);c[k+120>>2]=e;Hi[c[(c[e>>2]|0)+8>>2]&1023](e);g=c[j>>2]|0;if(g>>>0<(c[k+168+8>>2]|0)>>>0){c[g>>2]=e;Hi[c[(c[e>>2]|0)+8>>2]&1023](e);c[j>>2]=(c[j>>2]|0)+4}else lu(k+168|0,k+120|0);Hi[c[(c[e>>2]|0)+12>>2]&1023](e);g=YAb(32)|0;n_(g,+((d[f+12>>0]|0)+1|0));c[k+116>>2]=g;Hi[c[(c[g>>2]|0)+8>>2]&1023](g);e=c[j>>2]|0;if(e>>>0<(c[k+168+8>>2]|0)>>>0){c[e>>2]=g;Hi[c[(c[g>>2]|0)+8>>2]&1023](g);c[j>>2]=(c[j>>2]|0)+4}else lu(k+168|0,k+116|0);Hi[c[(c[g>>2]|0)+12>>2]&1023](g);l=+qja(+(b[f+16>>1]|0)*.000030517578125);e=YAb(32)|0;n_(e,l);c[k+112>>2]=e;Hi[c[(c[e>>2]|0)+8>>2]&1023](e);g=c[j>>2]|0;if(g>>>0<(c[k+168+8>>2]|0)>>>0){c[g>>2]=e;Hi[c[(c[e>>2]|0)+8>>2]&1023](e);c[j>>2]=(c[j>>2]|0)+4}else lu(k+168|0,k+112|0);Hi[c[(c[e>>2]|0)+12>>2]&1023](e);h=YAb(32)|0;Iqb(k+100|0,363383,12);M2(h,k+100|0,k+168|0);Mqb(k+100|0)}break}case 1538:{if(Jia(a[f+13>>0]|0,k+156|0)|0)if(sja(c[k+156>>2]|0,k+144|0)|0){c[k+160>>2]=24;h=Xi[c[(c[g>>2]|0)+32>>2]&511](g,c[f+8>>2]|0)|0;c[k+160+4>>2]=h;if(!h)h=0;else{e=YAb(32)|0;q_(e,c[k+160>>2]|0,k+160|0);c[k+96>>2]=e;Hi[c[(c[e>>2]|0)+8>>2]&1023](e);g=c[j>>2]|0;if(g>>>0<(c[k+168+8>>2]|0)>>>0){c[g>>2]=e;Hi[c[(c[e>>2]|0)+8>>2]&1023](e);c[j>>2]=(c[j>>2]|0)+4}else lu(k+168|0,k+96|0);Hi[c[(c[e>>2]|0)+12>>2]&1023](e);g=YAb(32)|0;n_(g,+((d[f+12>>0]|0)+1|0));c[k+92>>2]=g;Hi[c[(c[g>>2]|0)+8>>2]&1023](g);e=c[j>>2]|0;if(e>>>0<(c[k+168+8>>2]|0)>>>0){c[e>>2]=g;Hi[c[(c[g>>2]|0)+8>>2]&1023](g);c[j>>2]=(c[j>>2]|0)+4}else lu(k+168|0,k+92|0);Hi[c[(c[g>>2]|0)+12>>2]&1023](g);e=YAb(32)|0;g=c[k+144>>2]|0;o_(e,g,rnb(g)|0);c[k+88>>2]=e;Hi[c[(c[e>>2]|0)+8>>2]&1023](e);g=c[j>>2]|0;if(g>>>0<(c[k+168+8>>2]|0)>>>0){c[g>>2]=e;Hi[c[(c[e>>2]|0)+8>>2]&1023](e);c[j>>2]=(c[j>>2]|0)+4}else lu(k+168|0,k+88|0);Hi[c[(c[e>>2]|0)+12>>2]&1023](e);h=YAb(32)|0;Iqb(k+76|0,363396,11);M2(h,k+76|0,k+168|0);Mqb(k+76|0)}}else h=0;else h=0;break}case 1618:case 1617:{if(Oia(d[f+12>>0]|0,k+152|0)|0)if(wja(c[k+152>>2]|0,k+144|0)|0){c[k+160>>2]=24;h=Xi[c[(c[g>>2]|0)+32>>2]&511](g,c[f+8>>2]|0)|0;c[k+160+4>>2]=h;if(!h)h=0;else{e=YAb(32)|0;q_(e,c[k+160>>2]|0,k+160|0);c[k+72>>2]=e;Hi[c[(c[e>>2]|0)+8>>2]&1023](e);g=c[j>>2]|0;if(g>>>0<(c[k+168+8>>2]|0)>>>0){c[g>>2]=e;Hi[c[(c[e>>2]|0)+8>>2]&1023](e);c[j>>2]=(c[j>>2]|0)+4}else lu(k+168|0,k+72|0);Hi[c[(c[e>>2]|0)+12>>2]&1023](e);e=YAb(32)|0;g=c[k+144>>2]|0;o_(e,g,rnb(g)|0);c[k+68>>2]=e;Hi[c[(c[e>>2]|0)+8>>2]&1023](e);g=c[j>>2]|0;if(g>>>0<(c[k+168+8>>2]|0)>>>0){c[g>>2]=e;Hi[c[(c[e>>2]|0)+8>>2]&1023](e);c[j>>2]=(c[j>>2]|0)+4}else lu(k+168|0,k+68|0);Hi[c[(c[e>>2]|0)+12>>2]&1023](e);h=YAb(32)|0;f=(c[f>>2]|0)==1617;Iqb(k+56|0,f?363408:363423,f?14:15);M2(h,k+56|0,k+168|0);Mqb(k+56|0)}}else h=0;else h=0;break}case 1616:{if(Nia(d[f+12>>0]|0,k+148|0)|0)if(uja(c[k+148>>2]|0,k+144|0)|0){c[k+160>>2]=24;h=Xi[c[(c[g>>2]|0)+32>>2]&511](g,c[f+8>>2]|0)|0;c[k+160+4>>2]=h;if(!h)h=0;else{e=YAb(32)|0;q_(e,c[k+160>>2]|0,k+160|0);c[k+52>>2]=e;Hi[c[(c[e>>2]|0)+8>>2]&1023](e);g=c[j>>2]|0;if(g>>>0<(c[k+168+8>>2]|0)>>>0){c[g>>2]=e;Hi[c[(c[e>>2]|0)+8>>2]&1023](e);c[j>>2]=(c[j>>2]|0)+4}else lu(k+168|0,k+52|0);Hi[c[(c[e>>2]|0)+12>>2]&1023](e);e=YAb(32)|0;g=c[k+144>>2]|0;o_(e,g,rnb(g)|0);c[k+48>>2]=e;Hi[c[(c[e>>2]|0)+8>>2]&1023](e);g=c[j>>2]|0;if(g>>>0<(c[k+168+8>>2]|0)>>>0){c[g>>2]=e;Hi[c[(c[e>>2]|0)+8>>2]&1023](e);c[j>>2]=(c[j>>2]|0)+4}else lu(k+168|0,k+48|0);Hi[c[(c[e>>2]|0)+12>>2]&1023](e);l=+qja(+(b[f+16>>1]|0)*.000030517578125);e=YAb(32)|0;n_(e,l);c[k+44>>2]=e;Hi[c[(c[e>>2]|0)+8>>2]&1023](e);g=c[j>>2]|0;if(g>>>0<(c[k+168+8>>2]|0)>>>0){c[g>>2]=e;Hi[c[(c[e>>2]|0)+8>>2]&1023](e);c[j>>2]=(c[j>>2]|0)+4}else lu(k+168|0,k+44|0);Hi[c[(c[e>>2]|0)+12>>2]&1023](e);h=YAb(32)|0;Iqb(k+32|0,363439,11);M2(h,k+32|0,k+168|0);Mqb(k+32|0)}}else h=0;else h=0;break}case 1541:{h=Xi[c[(c[g>>2]|0)+24>>2]&511](g,c[f+8>>2]|0)|0;c[k+160+4>>2]=h;c[k+160>>2]=24;if(!h)h=0;else{e=YAb(32)|0;q_(e,24,k+160|0);c[k+28>>2]=e;Hi[c[(c[e>>2]|0)+8>>2]&1023](e);g=c[j>>2]|0;if(g>>>0<(c[k+168+8>>2]|0)>>>0){c[g>>2]=e;Hi[c[(c[e>>2]|0)+8>>2]&1023](e);c[j>>2]=(c[j>>2]|0)+4}else lu(k+168|0,k+28|0);Hi[c[(c[e>>2]|0)+12>>2]&1023](e);h=YAb(32)|0;Iqb(k+16|0,363451,13);M2(h,k+16|0,k+168|0);Mqb(k+16|0)}break}case 1542:{e=Xi[c[(c[g>>2]|0)+32>>2]&511](g,c[f+8>>2]|0)|0;c[k+160+4>>2]=e;c[k+160>>2]=24;if(!e)h=0;else{si[c[(c[g>>2]|0)+28>>2]&511](g,e);e=YAb(32)|0;q_(e,c[k+160>>2]|0,k+160|0);c[k+12>>2]=e;Hi[c[(c[e>>2]|0)+8>>2]&1023](e);g=c[j>>2]|0;if(g>>>0<(c[k+168+8>>2]|0)>>>0){c[g>>2]=e;Hi[c[(c[e>>2]|0)+8>>2]&1023](e);c[j>>2]=(c[j>>2]|0)+4}else lu(k+168|0,k+12|0);Hi[c[(c[e>>2]|0)+12>>2]&1023](e);h=YAb(32)|0;Iqb(k,363465,15);M2(h,k,k+168|0);Mqb(k)}break}default:h=0}e=c[k+168>>2]|0;f=c[j>>2]|0;if((e|0)!=(f|0)){do{g=c[e>>2]|0;if(g|0)Hi[c[(c[g>>2]|0)+12>>2]&1023](g);e=e+4|0}while((e|0)!=(f|0));e=c[k+168>>2]|0}if(e|0){g=c[j>>2]|0;if((g|0)!=(e|0)){do{g=g+-4|0;c[j>>2]=g;f=c[g>>2]|0;if(f){Hi[c[(c[f>>2]|0)+12>>2]&1023](f);g=c[j>>2]|0}}while((g|0)!=(e|0));e=c[k+168>>2]|0}oAb(e)}j=h;i=k;return j|0}function A2(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;j=i;i=i+96|0;c[j+84>>2]=0;h=j+84+4|0;c[h>>2]=0;c[j+84+8>>2]=0;y2(j+84|0,4);if((c[d>>2]|0)==512){b=a[d+12>>0]|0;switch(b&255|0){case 13:case 12:{e=YAb(32)|0;m_(e,b<<24>>24==12);c[j+80>>2]=e;Hi[c[(c[e>>2]|0)+8>>2]&1023](e);b=c[h>>2]|0;if(b>>>0<(c[j+84+8>>2]|0)>>>0){c[b>>2]=e;Hi[c[(c[e>>2]|0)+8>>2]&1023](e);c[h>>2]=(c[h>>2]|0)+4}else lu(j+84|0,j+80|0);Hi[c[(c[e>>2]|0)+12>>2]&1023](e);f=YAb(32)|0;Iqb(j+64|0,363481,5);M2(f,j+64|0,j+84|0);Mqb(j+64|0);break}case 11:case 10:{e=YAb(32)|0;m_(e,b<<24>>24==10);c[j+56>>2]=e;Hi[c[(c[e>>2]|0)+8>>2]&1023](e);b=c[h>>2]|0;if(b>>>0<(c[j+84+8>>2]|0)>>>0){c[b>>2]=e;Hi[c[(c[e>>2]|0)+8>>2]&1023](e);c[h>>2]=(c[h>>2]|0)+4}else lu(j+84|0,j+56|0);Hi[c[(c[e>>2]|0)+12>>2]&1023](e);f=YAb(32)|0;Iqb(j+44|0,363487,10);M2(f,j+44|0,j+84|0);Mqb(j+44|0);break}case 2:case 1:{e=YAb(32)|0;m_(e,b<<24>>24==1);c[j+40>>2]=e;Hi[c[(c[e>>2]|0)+8>>2]&1023](e);b=c[h>>2]|0;if(b>>>0<(c[j+84+8>>2]|0)>>>0){c[b>>2]=e;Hi[c[(c[e>>2]|0)+8>>2]&1023](e);c[h>>2]=(c[h>>2]|0)+4}else lu(j+84|0,j+40|0);Hi[c[(c[e>>2]|0)+12>>2]&1023](e);f=YAb(32)|0;Iqb(j+28|0,363498,7);M2(f,j+28|0,j+84|0);Mqb(j+28|0);break}case 5:{c[j+76>>2]=c[d+16>>2];c[j+60>>2]=c[d+20>>2];b=Lhb(c[d+8>>2]|0)|0;if(b|0)u8a(b,j+76|0,j+60|0);b=YAb(32)|0;n_(b,+(c[j+76>>2]|0));c[j+24>>2]=b;Hi[c[(c[b>>2]|0)+8>>2]&1023](b);e=c[h>>2]|0;if(e>>>0<(c[j+84+8>>2]|0)>>>0){c[e>>2]=b;Hi[c[(c[b>>2]|0)+8>>2]&1023](b);c[h>>2]=(c[h>>2]|0)+4}else lu(j+84|0,j+24|0);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);e=YAb(32)|0;n_(e,+(c[j+60>>2]|0));c[j+20>>2]=e;Hi[c[(c[e>>2]|0)+8>>2]&1023](e);b=c[h>>2]|0;if(b>>>0<(c[j+84+8>>2]|0)>>>0){c[b>>2]=e;Hi[c[(c[e>>2]|0)+8>>2]&1023](e);c[h>>2]=(c[h>>2]|0)+4}else lu(j+84|0,j+20|0);Hi[c[(c[e>>2]|0)+12>>2]&1023](e);b=YAb(32)|0;n_(b,+(c[d+16>>2]|0));c[j+16>>2]=b;Hi[c[(c[b>>2]|0)+8>>2]&1023](b);e=c[h>>2]|0;if(e>>>0<(c[j+84+8>>2]|0)>>>0){c[e>>2]=b;Hi[c[(c[b>>2]|0)+8>>2]&1023](b);c[h>>2]=(c[h>>2]|0)+4}else lu(j+84|0,j+16|0);Hi[c[(c[b>>2]|0)+12>>2]&1023](b);e=YAb(32)|0;n_(e,+(c[d+20>>2]|0));c[j+12>>2]=e;Hi[c[(c[e>>2]|0)+8>>2]&1023](e);b=c[h>>2]|0;if(b>>>0<(c[j+84+8>>2]|0)>>>0){c[b>>2]=e;Hi[c[(c[e>>2]|0)+8>>2]&1023](e);c[h>>2]=(c[h>>2]|0)+4}else lu(j+84|0,j+12|0);Hi[c[(c[e>>2]|0)+12>>2]&1023](e);f=YAb(32)|0;Iqb(j,363506,6);M2(f,j,j+84|0);Mqb(j);break}case 6:{b=c[155688]|0;if(!b)f=0;else{Gi[c[(c[b>>2]|0)+44>>2]&255](b,c[d+16>>2]|0,c[d+20>>2]|0)|0;f=0}break}default:f=0}b=c[j+84>>2]|0;d=c[h>>2]|0;if((b|0)!=(d|0)){do{e=c[b>>2]|0;if(e|0)Hi[c[(c[e>>2]|0)+12>>2]&1023](e);b=b+4|0}while((b|0)!=(d|0));b=f;g=36}}else{b=0;g=36}if((g|0)==36){f=b;b=c[j+84>>2]|0}if(!b){i=j;return f|0}e=c[h>>2]|0;if((e|0)!=(b|0)){do{e=e+-4|0;c[h>>2]=e;d=c[e>>2]|0;if(d){Hi[c[(c[d>>2]|0)+12>>2]&1023](d);e=c[h>>2]|0}}while((e|0)!=(b|0));b=c[j+84>>2]|0}oAb(b);i=j;return f|0}function B2(a){a=a|0;var b=0;b=i;i=i+64|0;if((ljb(b)|0)!=1){a=0;i=b;return a|0}a=x2(a,b)|0;i=b;return a|0}function C2(){E2(629696);return}function D2(b){b=b|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;h=c[b+696>>2]|0;j=c[b+704>>2]|0;k=c[b+712>>2]|0;l=c[b+720>>2]|0;n=c[b+728>>2]|0;f=c[b+1128>>2]|0;m=c[b+1664>>2]|0;a:{c[b+16>>2]=h;c[b+12>>2]=j;c[b+8>>2]=k;c[b+4>>2]=l;c[b>>2]=n;YY(c[b+20>>2]|0);if((c[b>>2]|0)<1)c[b>>2]=1;e=c[b+4>>2]|0;e=(e|0)>=(WY(c[b+8>>2]|0)|0);g=(c[b+8>>2]|0)<65547;h=c[b+20>>2]|0;j=c[b+16>>2]|0;k=c[b+12>>2]|0;l=c[b+8>>2]|0;n=1;if(n){n=0;if(e){e=1;if(e)if(g){f=c[b>>2]|0;c[b+180>>2]=h;c[b+176>>2]=j;c[b+172>>2]=k;c[b+168>>2]=l;c[b+164>>2]=0;c[b+160>>2]=0;c[b+156>>2]=2;c[b+152>>2]=0;c[b+148>>2]=0;c[b+144>>2]=f;c[b+140>>2]=c[b+180>>2];c[b+136>>2]=c[b+176>>2];c[b+124>>2]=(c[b+136>>2]|0)+(0-(c[(c[b+140>>2]|0)+16400>>2]|0));c[b+120>>2]=c[(c[b+140>>2]|0)+16392>>2];c[b+116>>2]=(c[b+120>>2]|0)+(c[(c[b+140>>2]|0)+16400>>2]|0);c[b+112>>2]=(c[b+116>>2]|0)-(c[b+176>>2]|0);c[b+108>>2]=c[b+176>>2];c[b+104>>2]=(c[b+136>>2]|0)+(c[b+168>>2]|0);c[b+100>>2]=(c[b+104>>2]|0)+-12;c[b+96>>2]=(c[b+104>>2]|0)+-5;c[b+92>>2]=c[b+172>>2];c[b+88>>2]=(c[b+92>>2]|0)+(c[b+164>>2]|0);c[b+80>>2]=0;b:do if((c[b+168>>2]|0)>>>0>2113929216)c[b+184>>2]=0;else{switch(c[b+152>>2]|0){case 2:{c[b+132>>2]=(c[b+176>>2]|0)+(0-(c[(c[b+140>>2]|0)+16384>>2]|0));c[b+128>>2]=c[b+176>>2];break}case 1:{c[b+132>>2]=(c[b+176>>2]|0)+(0-(c[(c[b+140>>2]|0)+16384>>2]|0));c[b+128>>2]=(c[b+176>>2]|0)+(0-(c[(c[b+140>>2]|0)+16400>>2]|0));break}default:{c[b+132>>2]=c[b+176>>2];c[b+128>>2]=c[b+176>>2]}}if((c[b+156>>2]|0)==2?(c[b+168>>2]|0)>=65547:0){c[b+184>>2]=0;break}c:do if((c[b+168>>2]|0)>=13){ZY(c[b+136>>2]|0,c[b+180>>2]|0,c[b+156>>2]|0,c[b+132>>2]|0);c[b+136>>2]=(c[b+136>>2]|0)+1;c[b+84>>2]=_Y(c[b+136>>2]|0,c[b+156>>2]|0)|0;d:while(1){c[b+68>>2]=c[b+136>>2];c[b+64>>2]=1;c[b+60>>2]=c[b+144>>2]<<6;while(1){c[b+56>>2]=c[b+84>>2];c[b+136>>2]=c[b+68>>2];c[b+68>>2]=(c[b+68>>2]|0)+(c[b+64>>2]|0);f=c[b+60>>2]|0;c[b+60>>2]=f+1;c[b+64>>2]=f>>>6;if((c[b+68>>2]|0)>>>0>(c[b+100>>2]|0)>>>0)break c;c[b+76>>2]=hZ(c[b+56>>2]|0,c[b+180>>2]|0,c[b+156>>2]|0,c[b+132>>2]|0)|0;do if((c[b+152>>2]|0)==2)if((c[b+76>>2]|0)>>>0<(c[b+176>>2]|0)>>>0){c[b+80>>2]=c[b+112>>2];c[b+128>>2]=c[b+120>>2];break}else{c[b+80>>2]=0;c[b+128>>2]=c[b+176>>2];break}while(0);c[b+84>>2]=_Y(c[b+68>>2]|0,c[b+156>>2]|0)|0;gZ(c[b+136>>2]|0,c[b+56>>2]|0,c[b+180>>2]|0,c[b+156>>2]|0,c[b+132>>2]|0);if((c[b+148>>2]|0)==1)if((c[b+76>>2]|0)>>>0<(c[b+124>>2]|0)>>>0)continue;if((c[b+156>>2]|0)!=2)if(((c[b+76>>2]|0)+65535|0)>>>0<(c[b+136>>2]|0)>>>0)continue;f=cZ((c[b+76>>2]|0)+(c[b+80>>2]|0)|0)|0;if((f|0)==(cZ(c[b+136>>2]|0)|0))break}while(1){if((c[b+136>>2]|0)>>>0>(c[b+108>>2]|0)>>>0)if(((c[b+76>>2]|0)+(c[b+80>>2]|0)|0)>>>0>(c[b+128>>2]|0)>>>0)e=(d[(c[b+136>>2]|0)+-1>>0]|0|0)==(d[(c[b+76>>2]|0)+((c[b+80>>2]|0)-1)>>0]|0|0);else e=0;else e=0;f=c[b+136>>2]|0;if(!e)break;c[b+136>>2]=f+-1;c[b+76>>2]=(c[b+76>>2]|0)+-1}c[b+52>>2]=f-(c[b+108>>2]|0);f=c[b+92>>2]|0;c[b+92>>2]=f+1;c[b+72>>2]=f;if(c[b+160>>2]|0)if(((c[b+92>>2]|0)+(c[b+52>>2]|0)+8+(((c[b+52>>2]|0)>>>0)/255|0)|0)>>>0>(c[b+88>>2]|0)>>>0){m=33;break}e=c[b+52>>2]|0;if((c[b+52>>2]|0)>>>0>=15){c[b+48>>2]=e-15;a[c[b+72>>2]>>0]=-16;while(1){if((c[b+48>>2]|0)<255)break;f=c[b+92>>2]|0;c[b+92>>2]=f+1;a[f>>0]=-1;c[b+48>>2]=(c[b+48>>2]|0)-255}e=c[b+48>>2]&255;f=c[b+92>>2]|0;c[b+92>>2]=f+1;a[f>>0]=e}else a[c[b+72>>2]>>0]=e<<4;iZ(c[b+92>>2]|0,c[b+108>>2]|0,(c[b+92>>2]|0)+(c[b+52>>2]|0)|0);c[b+92>>2]=(c[b+92>>2]|0)+(c[b+52>>2]|0);while(1){kZ(c[b+92>>2]|0,(c[b+136>>2]|0)-(c[b+76>>2]|0)&65535);c[b+92>>2]=(c[b+92>>2]|0)+2;if((c[b+152>>2]|0)==2)if((c[b+128>>2]|0)==(c[b+120>>2]|0)){c[b+76>>2]=(c[b+76>>2]|0)+(c[b+80>>2]|0);c[b+40>>2]=(c[b+136>>2]|0)+((c[b+116>>2]|0)-(c[b+76>>2]|0));if((c[b+40>>2]|0)>>>0>(c[b+96>>2]|0)>>>0)c[b+40>>2]=c[b+96>>2];c[b+44>>2]=mZ((c[b+136>>2]|0)+4|0,(c[b+76>>2]|0)+4|0,c[b+40>>2]|0)|0;c[b+136>>2]=(c[b+136>>2]|0)+(4+(c[b+44>>2]|0));if((c[b+136>>2]|0)==(c[b+40>>2]|0)){c[b+36>>2]=mZ(c[b+136>>2]|0,c[b+176>>2]|0,c[b+96>>2]|0)|0;c[b+44>>2]=(c[b+44>>2]|0)+(c[b+36>>2]|0);c[b+136>>2]=(c[b+136>>2]|0)+(c[b+36>>2]|0)}}else m=47;else m=47;if((m|0)==47){m=0;c[b+44>>2]=mZ((c[b+136>>2]|0)+4|0,(c[b+76>>2]|0)+4|0,c[b+96>>2]|0)|0;c[b+136>>2]=(c[b+136>>2]|0)+(4+(c[b+44>>2]|0))}if(c[b+160>>2]|0)if(((c[b+92>>2]|0)+6+((c[b+44>>2]|0)>>>8)|0)>>>0>(c[b+88>>2]|0)>>>0){m=50;break d}if((c[b+44>>2]|0)>>>0>=15){f=c[b+72>>2]|0;a[f>>0]=(d[f>>0]|0)+15;c[b+44>>2]=(c[b+44>>2]|0)-15;while(1){if((c[b+44>>2]|0)>>>0<510)break;f=c[b+92>>2]|0;c[b+92>>2]=f+1;a[f>>0]=-1;f=c[b+92>>2]|0;c[b+92>>2]=f+1;a[f>>0]=-1;c[b+44>>2]=(c[b+44>>2]|0)-510}if((c[b+44>>2]|0)>>>0>=255){c[b+44>>2]=(c[b+44>>2]|0)-255;f=c[b+92>>2]|0;c[b+92>>2]=f+1;a[f>>0]=-1}e=c[b+44>>2]&255;f=c[b+92>>2]|0;c[b+92>>2]=f+1;a[f>>0]=e}else{f=c[b+72>>2]|0;a[f>>0]=(d[f>>0]|0)+(c[b+44>>2]&255)}c[b+108>>2]=c[b+136>>2];if((c[b+136>>2]|0)>>>0>(c[b+100>>2]|0)>>>0)break c;ZY((c[b+136>>2]|0)+-2|0,c[b+180>>2]|0,c[b+156>>2]|0,c[b+132>>2]|0);c[b+76>>2]=pZ(c[b+136>>2]|0,c[b+180>>2]|0,c[b+156>>2]|0,c[b+132>>2]|0)|0;do if((c[b+152>>2]|0)==2)if((c[b+76>>2]|0)>>>0<(c[b+176>>2]|0)>>>0){c[b+80>>2]=c[b+112>>2];c[b+128>>2]=c[b+120>>2];break}else{c[b+80>>2]=0;c[b+128>>2]=c[b+176>>2];break}while(0);ZY(c[b+136>>2]|0,c[b+180>>2]|0,c[b+156>>2]|0,c[b+132>>2]|0);if((c[b+148>>2]|0)==1)if((c[b+76>>2]|0)>>>0<(c[b+124>>2]|0)>>>0)break;if(((c[b+76>>2]|0)+65535|0)>>>0<(c[b+136>>2]|0)>>>0)break;f=cZ((c[b+76>>2]|0)+(c[b+80>>2]|0)|0)|0;if((f|0)!=(cZ(c[b+136>>2]|0)|0))break;f=c[b+92>>2]|0;c[b+92>>2]=f+1;c[b+72>>2]=f;a[c[b+72>>2]>>0]=0}f=(c[b+136>>2]|0)+1|0;c[b+136>>2]=f;c[b+84>>2]=_Y(f,c[b+156>>2]|0)|0}if((m|0)==33){c[b+184>>2]=0;break b}else if((m|0)==50){c[b+184>>2]=0;break b}}while(0);c[b+32>>2]=(c[b+104>>2]|0)-(c[b+108>>2]|0);if(c[b+160>>2]|0)if(((c[b+92>>2]|0)-(c[b+172>>2]|0)+(c[b+32>>2]|0)+1+((((c[b+32>>2]|0)+255-15|0)>>>0)/255|0)|0)>>>0>(c[b+164>>2]|0)>>>0){c[b+184>>2]=0;break}e=c[b+32>>2]|0;if((c[b+32>>2]|0)>>>0>=15){c[b+28>>2]=e-15;f=c[b+92>>2]|0;c[b+92>>2]=f+1;a[f>>0]=-16;while(1){if((c[b+28>>2]|0)>>>0<255)break;f=c[b+92>>2]|0;c[b+92>>2]=f+1;a[f>>0]=-1;c[b+28>>2]=(c[b+28>>2]|0)-255}e=c[b+28>>2]&255;f=c[b+92>>2]|0;c[b+92>>2]=f+1;a[f>>0]=e}else{f=c[b+92>>2]|0;c[b+92>>2]=f+1;a[f>>0]=e<<4}mBb(c[b+92>>2]|0,c[b+108>>2]|0,c[b+32>>2]|0)|0;c[b+92>>2]=(c[b+92>>2]|0)+(c[b+32>>2]|0);c[b+184>>2]=(c[b+92>>2]|0)-(c[b+172>>2]|0)}while(0);c[b+24>>2]=c[b+184>>2];f=c[b+24>>2]|0;i=b;c[b+1696>>2]=6;c[b+1700>>2]=f|0;break a}else e=1;if(e)if(1){e=(aZ()|0)!=0;f=c[b>>2]|0;c[b+340>>2]=h;c[b+336>>2]=j;c[b+332>>2]=k;c[b+328>>2]=l;c[b+324>>2]=0;c[b+320>>2]=0;c[b+316>>2]=e?1:0;c[b+312>>2]=0;c[b+308>>2]=0;c[b+304>>2]=f;c[b+300>>2]=c[b+340>>2];c[b+296>>2]=c[b+336>>2];c[b+284>>2]=(c[b+296>>2]|0)+(0-(c[(c[b+300>>2]|0)+16400>>2]|0));c[b+280>>2]=c[(c[b+300>>2]|0)+16392>>2];c[b+276>>2]=(c[b+280>>2]|0)+(c[(c[b+300>>2]|0)+16400>>2]|0);c[b+272>>2]=(c[b+276>>2]|0)-(c[b+336>>2]|0);c[b+268>>2]=c[b+336>>2];c[b+264>>2]=(c[b+296>>2]|0)+(c[b+328>>2]|0);c[b+260>>2]=(c[b+264>>2]|0)+-12;c[b+256>>2]=(c[b+264>>2]|0)+-5;c[b+252>>2]=c[b+332>>2];c[b+248>>2]=(c[b+252>>2]|0)+(c[b+324>>2]|0);c[b+240>>2]=0;e:do if((c[b+328>>2]|0)>>>0>2113929216)c[b+344>>2]=0;else{switch(c[b+312>>2]|0){case 2:{c[b+292>>2]=(c[b+336>>2]|0)+(0-(c[(c[b+300>>2]|0)+16384>>2]|0));c[b+288>>2]=c[b+336>>2];break}case 1:{c[b+292>>2]=(c[b+336>>2]|0)+(0-(c[(c[b+300>>2]|0)+16384>>2]|0));c[b+288>>2]=(c[b+336>>2]|0)+(0-(c[(c[b+300>>2]|0)+16400>>2]|0));break}default:{c[b+292>>2]=c[b+336>>2];c[b+288>>2]=c[b+336>>2]}}if((c[b+316>>2]|0)==2?(c[b+328>>2]|0)>=65547:0){c[b+344>>2]=0;break}f:do if((c[b+328>>2]|0)>=13){ZY(c[b+296>>2]|0,c[b+340>>2]|0,c[b+316>>2]|0,c[b+292>>2]|0);c[b+296>>2]=(c[b+296>>2]|0)+1;c[b+244>>2]=_Y(c[b+296>>2]|0,c[b+316>>2]|0)|0;g:while(1){c[b+228>>2]=c[b+296>>2];c[b+224>>2]=1;c[b+220>>2]=c[b+304>>2]<<6;while(1){c[b+216>>2]=c[b+244>>2];c[b+296>>2]=c[b+228>>2];c[b+228>>2]=(c[b+228>>2]|0)+(c[b+224>>2]|0);f=c[b+220>>2]|0;c[b+220>>2]=f+1;c[b+224>>2]=f>>>6;if((c[b+228>>2]|0)>>>0>(c[b+260>>2]|0)>>>0)break f;c[b+236>>2]=hZ(c[b+216>>2]|0,c[b+340>>2]|0,c[b+316>>2]|0,c[b+292>>2]|0)|0;do if((c[b+312>>2]|0)==2)if((c[b+236>>2]|0)>>>0<(c[b+336>>2]|0)>>>0){c[b+240>>2]=c[b+272>>2];c[b+288>>2]=c[b+280>>2];break}else{c[b+240>>2]=0;c[b+288>>2]=c[b+336>>2];break}while(0);c[b+244>>2]=_Y(c[b+228>>2]|0,c[b+316>>2]|0)|0;gZ(c[b+296>>2]|0,c[b+216>>2]|0,c[b+340>>2]|0,c[b+316>>2]|0,c[b+292>>2]|0);if((c[b+308>>2]|0)==1)if((c[b+236>>2]|0)>>>0<(c[b+284>>2]|0)>>>0)continue;if((c[b+316>>2]|0)!=2)if(((c[b+236>>2]|0)+65535|0)>>>0<(c[b+296>>2]|0)>>>0)continue;f=cZ((c[b+236>>2]|0)+(c[b+240>>2]|0)|0)|0;if((f|0)==(cZ(c[b+296>>2]|0)|0))break}while(1){if((c[b+296>>2]|0)>>>0>(c[b+268>>2]|0)>>>0)if(((c[b+236>>2]|0)+(c[b+240>>2]|0)|0)>>>0>(c[b+288>>2]|0)>>>0)e=(d[(c[b+296>>2]|0)+-1>>0]|0|0)==(d[(c[b+236>>2]|0)+((c[b+240>>2]|0)-1)>>0]|0|0);else e=0;else e=0;f=c[b+296>>2]|0;if(!e)break;c[b+296>>2]=f+-1;c[b+236>>2]=(c[b+236>>2]|0)+-1}c[b+212>>2]=f-(c[b+268>>2]|0);f=c[b+252>>2]|0;c[b+252>>2]=f+1;c[b+232>>2]=f;if(c[b+320>>2]|0)if(((c[b+252>>2]|0)+(c[b+212>>2]|0)+8+(((c[b+212>>2]|0)>>>0)/255|0)|0)>>>0>(c[b+248>>2]|0)>>>0){m=109;break}e=c[b+212>>2]|0;if((c[b+212>>2]|0)>>>0>=15){c[b+208>>2]=e-15;a[c[b+232>>2]>>0]=-16;while(1){if((c[b+208>>2]|0)<255)break;f=c[b+252>>2]|0;c[b+252>>2]=f+1;a[f>>0]=-1;c[b+208>>2]=(c[b+208>>2]|0)-255}e=c[b+208>>2]&255;f=c[b+252>>2]|0;c[b+252>>2]=f+1;a[f>>0]=e}else a[c[b+232>>2]>>0]=e<<4;iZ(c[b+252>>2]|0,c[b+268>>2]|0,(c[b+252>>2]|0)+(c[b+212>>2]|0)|0);c[b+252>>2]=(c[b+252>>2]|0)+(c[b+212>>2]|0);while(1){kZ(c[b+252>>2]|0,(c[b+296>>2]|0)-(c[b+236>>2]|0)&65535);c[b+252>>2]=(c[b+252>>2]|0)+2;if((c[b+312>>2]|0)==2)if((c[b+288>>2]|0)==(c[b+280>>2]|0)){c[b+236>>2]=(c[b+236>>2]|0)+(c[b+240>>2]|0);c[b+200>>2]=(c[b+296>>2]|0)+((c[b+276>>2]|0)-(c[b+236>>2]|0));if((c[b+200>>2]|0)>>>0>(c[b+256>>2]|0)>>>0)c[b+200>>2]=c[b+256>>2];c[b+204>>2]=mZ((c[b+296>>2]|0)+4|0,(c[b+236>>2]|0)+4|0,c[b+200>>2]|0)|0;c[b+296>>2]=(c[b+296>>2]|0)+(4+(c[b+204>>2]|0));if((c[b+296>>2]|0)==(c[b+200>>2]|0)){c[b+196>>2]=mZ(c[b+296>>2]|0,c[b+336>>2]|0,c[b+256>>2]|0)|0;c[b+204>>2]=(c[b+204>>2]|0)+(c[b+196>>2]|0);c[b+296>>2]=(c[b+296>>2]|0)+(c[b+196>>2]|0)}}else m=123;else m=123;if((m|0)==123){m=0;c[b+204>>2]=mZ((c[b+296>>2]|0)+4|0,(c[b+236>>2]|0)+4|0,c[b+256>>2]|0)|0;c[b+296>>2]=(c[b+296>>2]|0)+(4+(c[b+204>>2]|0))}if(c[b+320>>2]|0)if(((c[b+252>>2]|0)+6+((c[b+204>>2]|0)>>>8)|0)>>>0>(c[b+248>>2]|0)>>>0){m=126;break g}if((c[b+204>>2]|0)>>>0>=15){f=c[b+232>>2]|0;a[f>>0]=(d[f>>0]|0)+15;c[b+204>>2]=(c[b+204>>2]|0)-15;while(1){if((c[b+204>>2]|0)>>>0<510)break;f=c[b+252>>2]|0;c[b+252>>2]=f+1;a[f>>0]=-1;f=c[b+252>>2]|0;c[b+252>>2]=f+1;a[f>>0]=-1;c[b+204>>2]=(c[b+204>>2]|0)-510}if((c[b+204>>2]|0)>>>0>=255){c[b+204>>2]=(c[b+204>>2]|0)-255;f=c[b+252>>2]|0;c[b+252>>2]=f+1;a[f>>0]=-1}e=c[b+204>>2]&255;f=c[b+252>>2]|0;c[b+252>>2]=f+1;a[f>>0]=e}else{f=c[b+232>>2]|0;a[f>>0]=(d[f>>0]|0)+(c[b+204>>2]&255)}c[b+268>>2]=c[b+296>>2];if((c[b+296>>2]|0)>>>0>(c[b+260>>2]|0)>>>0)break f;ZY((c[b+296>>2]|0)+-2|0,c[b+340>>2]|0,c[b+316>>2]|0,c[b+292>>2]|0);c[b+236>>2]=pZ(c[b+296>>2]|0,c[b+340>>2]|0,c[b+316>>2]|0,c[b+292>>2]|0)|0;do if((c[b+312>>2]|0)==2)if((c[b+236>>2]|0)>>>0<(c[b+336>>2]|0)>>>0){c[b+240>>2]=c[b+272>>2];c[b+288>>2]=c[b+280>>2];break}else{c[b+240>>2]=0;c[b+288>>2]=c[b+336>>2];break}while(0);ZY(c[b+296>>2]|0,c[b+340>>2]|0,c[b+316>>2]|0,c[b+292>>2]|0);if((c[b+308>>2]|0)==1)if((c[b+236>>2]|0)>>>0<(c[b+284>>2]|0)>>>0)break;if(((c[b+236>>2]|0)+65535|0)>>>0<(c[b+296>>2]|0)>>>0)break;f=cZ((c[b+236>>2]|0)+(c[b+240>>2]|0)|0)|0;if((f|0)!=(cZ(c[b+296>>2]|0)|0))break;f=c[b+252>>2]|0;c[b+252>>2]=f+1;c[b+232>>2]=f;a[c[b+232>>2]>>0]=0}f=(c[b+296>>2]|0)+1|0;c[b+296>>2]=f;c[b+244>>2]=_Y(f,c[b+316>>2]|0)|0}if((m|0)==109){c[b+344>>2]=0;break e}else if((m|0)==126){c[b+344>>2]=0;break e}}while(0);c[b+192>>2]=(c[b+264>>2]|0)-(c[b+268>>2]|0);if(c[b+320>>2]|0)if(((c[b+252>>2]|0)-(c[b+332>>2]|0)+(c[b+192>>2]|0)+1+((((c[b+192>>2]|0)+255-15|0)>>>0)/255|0)|0)>>>0>(c[b+324>>2]|0)>>>0){c[b+344>>2]=0;break}e=c[b+192>>2]|0;if((c[b+192>>2]|0)>>>0>=15){c[b+188>>2]=e-15;f=c[b+252>>2]|0;c[b+252>>2]=f+1;a[f>>0]=-16;while(1){if((c[b+188>>2]|0)>>>0<255)break;f=c[b+252>>2]|0;c[b+252>>2]=f+1;a[f>>0]=-1;c[b+188>>2]=(c[b+188>>2]|0)-255}e=c[b+188>>2]&255;f=c[b+252>>2]|0;c[b+252>>2]=f+1;a[f>>0]=e}else{f=c[b+252>>2]|0;c[b+252>>2]=f+1;a[f>>0]=e<<4}mBb(c[b+252>>2]|0,c[b+268>>2]|0,c[b+192>>2]|0)|0;c[b+252>>2]=(c[b+252>>2]|0)+(c[b+192>>2]|0);c[b+344>>2]=(c[b+252>>2]|0)-(c[b+332>>2]|0)}while(0);c[b+24>>2]=c[b+344>>2];f=c[b+24>>2]|0;i=b;c[b+1696>>2]=6;c[b+1700>>2]=f|0;break a}}else n=1}}c[b+1128>>2]=f;c[b+1400>>2]=g;c[b+1408>>2]=h;c[b+1416>>2]=j;c[b+1432>>2]=k;c[b+1448>>2]=l;c[b+1664>>2]=m;c[b+1672>>2]=n} -function Aqb(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+32|0;do if((d|0)==-1)g=14;else{c[h+8>>2]=d;if(a[b+44>>0]|0)if((ppb(h+8|0,4,1,c[b+32>>2]|0)|0)==1){g=14;break}else{e=-1;break}c[h+4>>2]=h+16;f=h+8|0;while(1){e=c[b+36>>2]|0;e=hj[c[(c[e>>2]|0)+12>>2]&31](e,c[b+40>>2]|0,f,h+8+4|0,h,h+16|0,h+16+8|0,h+4|0)|0;if((c[h>>2]|0)==(f|0)){g=13;break}if((e|0)==3){g=7;break}if((e|1|0)!=1){g=13;break}g=(c[h+4>>2]|0)-(h+16)|0;if((ppb(h+16|0,1,g,c[b+32>>2]|0)|0)!=(g|0)){g=13;break}if((e|0)==1)f=c[h>>2]|0;else{g=12;break}}if((g|0)==7)if((ppb(f,1,1,c[b+32>>2]|0)|0)==1)g=12;else g=13;if((g|0)==12){g=14;break}else if((g|0)==13){e=-1;break}}while(0);if((g|0)==14)e=(d|0)==-1?0:d;i=h;return e|0}function Bqb(){return}function Cqb(a,b){a=a|0;b=b|0;var d=0,e=0;e=rnb(b)|0;d=YAb(e+13|0)|0;c[d>>2]=e;c[d+4>>2]=e;c[d+8>>2]=0;mBb(d+12|0,b|0,e+1|0)|0;c[a>>2]=d+12;return}function Dqb(a,b){a=a|0;b=b|0;c[a>>2]=156192;Cqb(a+4|0,b);return}function Eqb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0;a:do if(a>>>0<212){b=152628;d=48;b:while(1){while(1){if(!d)break b;e=(d|0)/2|0;f=b+(e<<2)|0;if((c[f>>2]|0)>>>0>>0)break;else d=e}b=f+4|0;d=d+-1-e|0}b=c[b>>2]|0}else{f=152820;b=48;c:while(1){while(1){if(!b){b=f;break c}d=(b|0)/2|0;e=f+(d<<2)|0;if((c[e>>2]|0)>>>0<(a-(((a>>>0)/210|0)*210|0)|0)>>>0)break;else b=d}f=e+4|0;b=b+-1-d|0}g=b-152820>>2;h=(a>>>0)/210|0;b=(c[152820+(b-152820>>2<<2)>>2]|0)+(((a>>>0)/210|0)*210|0)|0;while(1){f=5;while(1){if(f>>>0>=47){f=211;i=17;break}d=c[152628+(f<<2)>>2]|0;e=(b>>>0)/(d>>>0)|0;if(e>>>0>>0)break a;if((b|0)==(_(e,d)|0))break;else f=f+1|0}d:do if((i|0)==17)while(1){i=0;d=(b>>>0)/(f>>>0)|0;if(d>>>0>>0)break a;if((b|0)==(_(d,f)|0))break d;d=f+10|0;e=(b>>>0)/(d>>>0)|0;if(e>>>0>>0)break a;if((b|0)==(_(e,d)|0))break d;d=f+12|0;e=(b>>>0)/(d>>>0)|0;if(e>>>0>>0)break a;if((b|0)==(_(e,d)|0))break d;d=f+16|0;e=(b>>>0)/(d>>>0)|0;if(e>>>0>>0)break a;if((b|0)==(_(e,d)|0))break d;d=f+18|0;e=(b>>>0)/(d>>>0)|0;if(e>>>0>>0)break a;if((b|0)==(_(e,d)|0))break d;d=f+22|0;e=(b>>>0)/(d>>>0)|0;if(e>>>0>>0)break a;if((b|0)==(_(e,d)|0))break d;d=f+28|0;e=(b>>>0)/(d>>>0)|0;if(e>>>0>>0)break a;if((b|0)==(_(e,d)|0))break d;d=f+30|0;e=(b>>>0)/(d>>>0)|0;if(e>>>0>>0)break a;if((b|0)==(_(e,d)|0))break d;d=f+36|0;e=(b>>>0)/(d>>>0)|0;if(e>>>0>>0)break a;if((b|0)==(_(e,d)|0))break d;d=f+40|0;e=(b>>>0)/(d>>>0)|0;if(e>>>0>>0)break a;if((b|0)==(_(e,d)|0))break d;d=f+42|0;e=(b>>>0)/(d>>>0)|0;if(e>>>0>>0)break a;if((b|0)==(_(e,d)|0))break d;d=f+46|0;e=(b>>>0)/(d>>>0)|0;if(e>>>0>>0)break a;if((b|0)==(_(e,d)|0))break d;d=f+52|0;e=(b>>>0)/(d>>>0)|0;if(e>>>0>>0)break a;if((b|0)==(_(e,d)|0))break d;d=f+58|0;e=(b>>>0)/(d>>>0)|0;if(e>>>0>>0)break a;if((b|0)==(_(e,d)|0))break d;d=f+60|0;e=(b>>>0)/(d>>>0)|0;if(e>>>0>>0)break a;if((b|0)==(_(e,d)|0))break d;d=f+66|0;e=(b>>>0)/(d>>>0)|0;if(e>>>0>>0)break a;if((b|0)==(_(e,d)|0))break d;d=f+70|0;e=(b>>>0)/(d>>>0)|0;if(e>>>0>>0)break a;if((b|0)==(_(e,d)|0))break d;d=f+72|0;e=(b>>>0)/(d>>>0)|0;if(e>>>0>>0)break a;if((b|0)==(_(e,d)|0))break d;d=f+78|0;e=(b>>>0)/(d>>>0)|0;if(e>>>0>>0)break a;if((b|0)==(_(e,d)|0))break d;d=f+82|0;e=(b>>>0)/(d>>>0)|0;if(e>>>0>>0)break a;if((b|0)==(_(e,d)|0))break d;d=f+88|0;e=(b>>>0)/(d>>>0)|0;if(e>>>0>>0)break a;if((b|0)==(_(e,d)|0))break d;d=f+96|0;e=(b>>>0)/(d>>>0)|0;if(e>>>0>>0)break a;if((b|0)==(_(e,d)|0))break d;d=f+100|0;e=(b>>>0)/(d>>>0)|0;if(e>>>0>>0)break a;if((b|0)==(_(e,d)|0))break d;d=f+102|0;e=(b>>>0)/(d>>>0)|0;if(e>>>0>>0)break a;if((b|0)==(_(e,d)|0))break d;d=f+106|0;e=(b>>>0)/(d>>>0)|0;if(e>>>0>>0)break a;if((b|0)==(_(e,d)|0))break d;d=f+108|0;e=(b>>>0)/(d>>>0)|0;if(e>>>0>>0)break a;if((b|0)==(_(e,d)|0))break d;d=f+112|0;e=(b>>>0)/(d>>>0)|0;if(e>>>0>>0)break a;if((b|0)==(_(e,d)|0))break d;d=f+120|0;e=(b>>>0)/(d>>>0)|0;if(e>>>0>>0)break a;if((b|0)==(_(e,d)|0))break d;d=f+126|0;e=(b>>>0)/(d>>>0)|0;if(e>>>0>>0)break a;if((b|0)==(_(e,d)|0))break d;d=f+130|0;e=(b>>>0)/(d>>>0)|0;if(e>>>0>>0)break a;if((b|0)==(_(e,d)|0))break d;d=f+136|0;e=(b>>>0)/(d>>>0)|0;if(e>>>0>>0)break a;if((b|0)==(_(e,d)|0))break d;d=f+138|0;e=(b>>>0)/(d>>>0)|0;if(e>>>0>>0)break a;if((b|0)==(_(e,d)|0))break d;d=f+142|0;e=(b>>>0)/(d>>>0)|0;if(e>>>0>>0)break a;if((b|0)==(_(e,d)|0))break d;d=f+148|0;e=(b>>>0)/(d>>>0)|0;if(e>>>0>>0)break a;if((b|0)==(_(e,d)|0))break d;d=f+150|0;e=(b>>>0)/(d>>>0)|0;if(e>>>0>>0)break a;if((b|0)==(_(e,d)|0))break d;d=f+156|0;e=(b>>>0)/(d>>>0)|0;if(e>>>0>>0)break a;if((b|0)==(_(e,d)|0))break d;d=f+162|0;e=(b>>>0)/(d>>>0)|0;if(e>>>0>>0)break a;if((b|0)==(_(e,d)|0))break d;d=f+166|0;e=(b>>>0)/(d>>>0)|0;if(e>>>0>>0)break a;if((b|0)==(_(e,d)|0))break d;d=f+168|0;e=(b>>>0)/(d>>>0)|0;if(e>>>0>>0)break a;if((b|0)==(_(e,d)|0))break d;d=f+172|0;e=(b>>>0)/(d>>>0)|0;if(e>>>0>>0)break a;if((b|0)==(_(e,d)|0))break d;d=f+178|0;e=(b>>>0)/(d>>>0)|0;if(e>>>0>>0)break a;if((b|0)==(_(e,d)|0))break d;d=f+180|0;e=(b>>>0)/(d>>>0)|0;if(e>>>0>>0)break a;if((b|0)==(_(e,d)|0))break d;d=f+186|0;e=(b>>>0)/(d>>>0)|0;if(e>>>0>>0)break a;if((b|0)==(_(e,d)|0))break d;d=f+190|0;e=(b>>>0)/(d>>>0)|0;if(e>>>0>>0)break a;if((b|0)==(_(e,d)|0))break d;d=f+192|0;e=(b>>>0)/(d>>>0)|0;if(e>>>0>>0)break a;if((b|0)==(_(e,d)|0))break d;d=f+196|0;e=(b>>>0)/(d>>>0)|0;if(e>>>0>>0)break a;if((b|0)==(_(e,d)|0))break d;d=f+198|0;e=(b>>>0)/(d>>>0)|0;if(e>>>0>>0)break a;if((b|0)==(_(e,d)|0))break d;d=f+208|0;e=(b>>>0)/(d>>>0)|0;if(e>>>0>>0)break a;if((b|0)==(_(e,d)|0))break;else{f=f+210|0;i=17}}while(0);a=g+1|0;b=((a|0)==48&1)+h|0;a=(a|0)==48?0:a;g=a;h=b;b=(c[152820+(a<<2)>>2]|0)+(b*210|0)|0}}while(0);return b|0}function Fqb(a){a=a|0;ib(616915,616944,1164,619829)}function Gqb(a){a=a|0;ib(617029,616944,1175,617058)}function Hqb(b,d){b=b|0;d=d|0;if(!(a[d>>0]&1)){c[b>>2]=c[d>>2];c[b+4>>2]=c[d+4>>2];c[b+8>>2]=c[d+8>>2]}else Iqb(b,c[d+8>>2]|0,c[d+4>>2]|0);return}function Iqb(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;if(e>>>0>4294967279)Fqb(b);if(e>>>0<11){a[b>>0]=e<<1;b=b+1|0}else{f=YAb(e+16&-16)|0;c[b+8>>2]=f;c[b>>2]=e+16&-16|1;c[b+4>>2]=e;b=f}mBb(b|0,d|0,e|0)|0;a[b+e>>0]=0;return}function Jqb(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;if(d>>>0>4294967279)Fqb(b);if(d>>>0<11){a[b>>0]=d<<1;b=b+1|0}else{f=YAb(d+16&-16)|0;c[b+8>>2]=f;c[b>>2]=d+16&-16|1;c[b+4>>2]=d;b=f}hBb(b|0,e|0,d|0)|0;a[b+d>>0]=0;return}function Kqb(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;g=a[d>>0]|0;h=(g&1)==0?(g&255)>>>1:c[d+4>>2]|0;if(h>>>0>>0)Gqb(b);else{Iqb(b,((g&1)==0?d+1|0:c[d+8>>2]|0)+e|0,(h-e|0)>>>0>>0?h-e|0:f);return}}function Lqb(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;if((e-d|0)>>>0>4294967279)Fqb(b);if((e-d|0)>>>0<11){a[b>>0]=e-d<<1;g=b+1|0}else{g=YAb(e-d+16&-16)|0;c[b+8>>2]=g;c[b>>2]=e-d+16&-16|1;c[b+4>>2]=e-d}b=d;f=g;while(1){if((b|0)==(e|0))break;a[f>>0]=a[b>>0]|0;b=b+1|0;f=f+1|0}a[g+(e-d)>>0]=0;return}function Mqb(b){b=b|0;if(a[b>>0]&1)oAb(c[b+8>>2]|0);return}function Nqb(b,d){b=b|0;d=d|0;var e=0;if((b|0)!=(d|0)){e=a[d>>0]|0;Oqb(b,(e&1)==0?d+1|0:c[d+8>>2]|0,(e&1)==0?(e&255)>>>1:c[d+4>>2]|0)|0}return b|0}function Oqb(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=a[b>>0]|0;if(!(f&1))h=10;else{f=c[b>>2]|0;h=(f&-2)+-1|0;f=f&255}g=(f&1)==0;do if(h>>>0>>0){if(g)f=(f&255)>>>1;else f=c[b+4>>2]|0;Pqb(b,h,e-h|0,f,0,f,e,d)}else{if(g)f=b+1|0;else f=c[b+8>>2]|0;nBb(f|0,d|0,e|0)|0;a[f+e>>0]=0;if(!(a[b>>0]&1)){a[b>>0]=e<<1;break}else{c[b+4>>2]=e;break}}while(0);return b|0}function Pqb(b,d,e,f,g,h,i,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0;if((-18-d|0)>>>0>>0)Fqb(b);if(!(a[b>>0]&1))l=b+1|0;else l=c[b+8>>2]|0;if(d>>>0<2147483623){e=(e+d|0)>>>0>>0?d<<1:e+d|0;e=e>>>0<11?11:e+16&-16}else e=-17;k=YAb(e)|0;if(g|0)mBb(k|0,l|0,g|0)|0;if(i|0)mBb(k+g|0,j|0,i|0)|0;if((f-h|0)!=(g|0))mBb(k+g+i|0,l+g+h|0,f-h-g|0)|0;if((d|0)!=10)oAb(l);c[b+8>>2]=k;c[b>>2]=e|1;c[b+4>>2]=f-h+i;a[k+(f-h+i)>>0]=0;return}function Qqb(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;if(d>>>0>4294967279)Fqb(b);e=a[b>>0]|0;if(!(e&1))f=10;else{e=c[b>>2]|0;f=(e&-2)+-1|0;e=e&255}if(!(e&1))j=(e&255)>>>1;else j=c[b+4>>2]|0;d=j>>>0>d>>>0?j:d;if(d>>>0<11)i=10;else i=(d+16&-16)+-1|0;do if((i|0)!=(f|0)){do if((i|0)==10){d=b+1|0;f=0;g=c[b+8>>2]|0;h=1}else{d=YAb(i+1|0)|0;if(!(e&1)){f=1;g=b+1|0;h=0;break}else{f=1;g=c[b+8>>2]|0;h=1;break}}while(0);if(!(e&1))e=(e&255)>>>1;else e=c[b+4>>2]|0;mBb(d|0,g|0,e+1|0)|0;if(h)oAb(g);if(f){c[b>>2]=i+1|1;c[b+4>>2]=j;c[b+8>>2]=d;break}else{a[b>>0]=j<<1;break}}while(0);return}function Rqb(a,b){a=a|0;b=b|0;return Oqb(a,b,rnb(b)|0)|0}function Sqb(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=a[b>>0]|0;if(!(f&1))g=(f&255)>>>1;else g=c[b+4>>2]|0;do if(g>>>0>>0)Tqb(b,d-g|0,e)|0;else if(!(f&1)){a[b+1+d>>0]=0;a[b>>0]=d<<1;break}else{a[(c[b+8>>2]|0)+d>>0]=0;c[b+4>>2]=d;break}while(0);return}function Tqb(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;if(d|0){f=a[b>>0]|0;if(!(f&1))g=10;else{f=c[b>>2]|0;g=(f&-2)+-1|0;f=f&255}if(!(f&1))h=(f&255)>>>1;else h=c[b+4>>2]|0;if((g-h|0)>>>0>>0){Uqb(b,g,d-g+h|0,h,h,0,0);f=a[b>>0]|0}if(!(f&1))g=b+1|0;else g=c[b+8>>2]|0;hBb(g+h|0,e|0,d|0)|0;f=h+d|0;if(!(a[b>>0]&1))a[b>>0]=f<<1;else c[b+4>>2]=f;a[g+f>>0]=0}return b|0}function Uqb(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0;if((-17-d|0)>>>0>>0)Fqb(b);if(!(a[b>>0]&1))k=b+1|0;else k=c[b+8>>2]|0;if(d>>>0<2147483623){e=(e+d|0)>>>0>>0?d<<1:e+d|0;e=e>>>0<11?11:e+16&-16}else e=-17;j=YAb(e)|0;if(g|0)mBb(j|0,k|0,g|0)|0;if((f-h|0)!=(g|0))mBb(j+g+i|0,k+g+h|0,f-h-g|0)|0;if((d|0)!=10)oAb(k);c[b+8>>2]=j;c[b>>2]=e|1;return}function Vqb(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=a[b>>0]|0;if(!(f&1))g=10;else{f=c[b>>2]|0;g=(f&-2)+-1|0;f=f&255}if(!(f&1))h=(f&255)>>>1;else h=c[b+4>>2]|0;if((g-h|0)>>>0>>0)Pqb(b,g,e-g+h|0,h,h,0,e,d);else if(e|0){if(!(f&1))g=b+1|0;else g=c[b+8>>2]|0;mBb(g+h|0,d|0,e|0)|0;f=h+e|0;if(!(a[b>>0]&1))a[b>>0]=f<<1;else c[b+4>>2]=f;a[g+f>>0]=0}return b|0}function Wqb(a,b){a=a|0;b=b|0;return Vqb(a,b,rnb(b)|0)|0}function Xqb(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;e=a[b>>0]|0;if(e&1){f=(c[b>>2]&-2)+-1|0;g=c[b+4>>2]|0}else{f=10;g=(e&255)>>>1}if((g|0)==(f|0)){Uqb(b,f,1,f,f,0,0);if(!(a[b>>0]&1))f=7;else f=8}else if(e&1)f=8;else f=7;if((f|0)==7){a[b>>0]=(g<<1)+2;e=b+1|0}else if((f|0)==8){e=c[b+8>>2]|0;c[b+4>>2]=g+1}g=e+g|0;a[g>>0]=d;a[g+1>>0]=0;return}function Yqb(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;g=a[b>>0]|0;if(!(g&1))i=(g&255)>>>1;else i=c[b+4>>2]|0;if(i>>>0>>0)Gqb(b);if(!(g&1))h=10;else{g=c[b>>2]|0;h=(g&-2)+-1|0;g=g&255}if((h-i|0)>>>0>>0)Pqb(b,h,i+f-h|0,i,d,0,f,e);else if(f|0){if(!(g&1))h=b+1|0;else h=c[b+8>>2]|0;if((i|0)==(d|0))g=h+d|0;else{g=h+d|0;nBb(g+f|0,g|0,i-d|0)|0;e=g>>>0<=e>>>0&(h+i|0)>>>0>e>>>0?e+f|0:e}nBb(g|0,e|0,f|0)|0;g=i+f|0;if(!(a[b>>0]&1))a[b>>0]=g<<1;else c[b+4>>2]=g;a[h+g>>0]=0}return b|0}function Zqb(a,b,c){a=a|0;b=b|0;c=c|0;return Yqb(a,b,c,rnb(c)|0)|0}function _qb(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;f=a[b>>0]|0;if(!(f&1))h=(f&255)>>>1;else h=c[b+4>>2]|0;if(h>>>0>>0)Gqb(b);if(e|0){if(!(f&1))i=b+1|0;else i=c[b+8>>2]|0;g=h-d|0;e=g>>>0>>0?g:e;if((g|0)!=(e|0)){f=i+d|0;nBb(f|0,f+e|0,g-e|0)|0;f=a[b>>0]|0}e=h-e|0;if(!(f&1))a[b>>0]=e<<1;else c[b+4>>2]=e;a[i+e>>0]=0}return b|0}function $qb(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0;h=a[b>>0]|0;if(!(h&1))m=(h&255)>>>1;else m=c[b+4>>2]|0;if(m>>>0>>0)Gqb(b);k=m-d|0;j=k>>>0>>0?k:e;if(!(h&1)){i=10;e=h}else{e=c[b>>2]|0;i=(e&-2)+-1|0;e=e&255}if((j-m+i|0)>>>0>>0)Pqb(b,i,m+g-j-i|0,m,d,j,g,f);else{if(!(e&1))i=b+1|0;else i=c[b+8>>2]|0;do if((j|0)==(g|0)){e=g;h=d;l=21}else if((k|0)==(j|0)){e=k;h=d;l=21}else{e=i+d|0;if(j>>>0>g>>>0){nBb(e|0,f|0,g|0)|0;nBb(e+g|0,e+j|0,k-j|0)|0;e=j;break}do if(e>>>0>>0&(i+m|0)>>>0>f>>>0)if((e+j|0)>>>0>f>>>0){nBb(e|0,f|0,j|0)|0;h=j+d|0;e=0;f=f+g|0;g=g-j|0;break}else{h=d;e=j;f=f+(g-j)|0;break}else{h=d;e=j}while(0);l=i+h|0;nBb(l+g|0,l+e|0,k-j|0)|0;l=21}while(0);if((l|0)==21)nBb(i+h|0,f|0,g|0)|0;g=g-e+m|0;if(!(a[b>>0]&1))a[b>>0]=g<<1;else c[b+4>>2]=g;a[i+g>>0]=0}return b|0}function arb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return $qb(a,b,c,d,rnb(d)|0)|0}function brb(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=a[b>>0]|0;if(!(f&1)){g=(f&255)>>>1;f=b+1|0}else{g=c[b+4>>2]|0;f=c[b+8>>2]|0}if(g>>>0>e>>>0){e=omb(f+e|0,d&255,g-e|0)|0;f=(e|0)==0?-1:e-f|0}else f=-1;return f|0}function crb(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;f=a[b>>0]|0;if(!(f&1)){f=(f&255)>>>1;b=b+1|0}else{f=c[b+4>>2]|0;b=c[b+8>>2]|0}a:do if(!f)f=-1;else{f=b+(f>>>0>e>>>0?e+1|0:f)|0;do{if((f|0)==(b|0)){f=-1;break a}f=f+-1|0}while((a[f>>0]|0)!=d<<24>>24);f=f-b|0}while(0);return f|0}function drb(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;i=a[b>>0]|0;if(!(i&1))h=(i&255)>>>1;else h=c[b+4>>2]|0;if((g|0)==-1|h>>>0>>0)Gqb(b);h=h-d|0;e=h>>>0>>0?h:e;if(!(i&1))h=b+1|0;else h=c[b+8>>2]|0;h=qmb(h+d|0,f,e>>>0>g>>>0?g:e)|0;if(!h)return (e>>>0>>0?-1:e>>>0>g>>>0&1)|0;else return h|0;return 0}function erb(a,b){a=a|0;b=b|0;return drb(a,0,-1,b,rnb(b)|0)|0}function frb(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0;if(f>>>0>4294967279)Fqb(b);if(f>>>0<11){a[b>>0]=e<<1;f=b+1|0}else{g=YAb(f+16&-16)|0;c[b+8>>2]=g;c[b>>2]=f+16&-16|1;c[b+4>>2]=e;f=g}mBb(f|0,d|0,e|0)|0;a[f+e>>0]=0;return}function grb(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;if(e>>>0>1073741807)Fqb(b);if(e>>>0<2){a[b>>0]=e<<1;b=b+4|0}else{f=YAb((e+4&-4)<<2)|0;c[b+8>>2]=f;c[b>>2]=e+4&-4|1;c[b+4>>2]=e;b=f}Enb(b,d,e)|0;c[b+(e<<2)>>2]=0;return}function hrb(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;if(d>>>0>1073741807)Fqb(b);if(d>>>0<2){a[b>>0]=d<<1;b=b+4|0}else{f=YAb((d+4&-4)<<2)|0;c[b+8>>2]=f;c[b>>2]=d+4&-4|1;c[b+4>>2]=d;b=f}Opb(b,e,d)|0;c[b+(d<<2)>>2]=0;return}function irb(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;if(e-d>>2>>>0>1073741807)Fqb(b);if(e-d>>2>>>0<2){a[b>>0]=(e-d|0)>>>1;g=b+4|0}else{g=YAb(((e-d>>2)+4&-4)<<2)|0;c[b+8>>2]=g;c[b>>2]=(e-d>>2)+4&-4|1;c[b+4>>2]=e-d>>2}b=d;f=g;while(1){if((b|0)==(e|0))break;c[f>>2]=c[b>>2];b=b+4|0;f=f+4|0}c[g+((e-d|0)>>>2<<2)>>2]=0;return}function jrb(b){b=b|0;if(a[b>>0]&1)oAb(c[b+8>>2]|0);return}function krb(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=a[b>>0]|0;if(!(f&1))h=1;else{f=c[b>>2]|0;h=(f&-2)+-1|0;f=f&255}g=(f&1)==0;do if(h>>>0>>0){if(g)f=(f&255)>>>1;else f=c[b+4>>2]|0;lrb(b,h,e-h|0,f,0,f,e,d)}else{if(g)f=b+4|0;else f=c[b+8>>2]|0;Ppb(f,d,e)|0;c[f+(e<<2)>>2]=0;if(!(a[b>>0]&1)){a[b>>0]=e<<1;break}else{c[b+4>>2]=e;break}}while(0);return b|0}function lrb(b,d,e,f,g,h,i,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0;if((1073741806-d|0)>>>0>>0)Fqb(b);if(!(a[b>>0]&1))l=b+4|0;else l=c[b+8>>2]|0;if(d>>>0<536870887){e=(e+d|0)>>>0>>0?d<<1:e+d|0;e=e>>>0<2?2:e+4&-4}else e=1073741807;k=YAb(e<<2)|0;if(g|0)Enb(k,l,g)|0;if(i|0)Enb(k+(g<<2)|0,j,i)|0;if((f-h|0)!=(g|0))Enb(k+(g<<2)+(i<<2)|0,l+(g<<2)+(h<<2)|0,f-h-g|0)|0;if((d|0)!=1)oAb(l);c[b+8>>2]=k;c[b>>2]=e|1;c[b+4>>2]=f-h+i;c[k+(f-h+i<<2)>>2]=0;return}function mrb(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;if(d>>>0>1073741807)Fqb(b);e=a[b>>0]|0;if(!(e&1))f=1;else{e=c[b>>2]|0;f=(e&-2)+-1|0;e=e&255}if(!(e&1))j=(e&255)>>>1;else j=c[b+4>>2]|0;d=j>>>0>d>>>0?j:d;if(d>>>0<2)i=1;else i=(d+4&-4)+-1|0;do if((i|0)!=(f|0)){do if((i|0)==1){d=b+4|0;f=0;g=c[b+8>>2]|0;h=1}else{d=YAb((i<<2)+4|0)|0;if(!(e&1)){f=1;g=b+4|0;h=0;break}else{f=1;g=c[b+8>>2]|0;h=1;break}}while(0);if(!(e&1))e=(e&255)>>>1;else e=c[b+4>>2]|0;Enb(d,g,e+1|0)|0;if(h)oAb(g);if(f){c[b>>2]=i+1|1;c[b+4>>2]=j;c[b+8>>2]=d;break}else{a[b>>0]=j<<1;break}}while(0);return}function nrb(a,b){a=a|0;b=b|0;return krb(a,b,Smb(b)|0)|0}function orb(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0;if((1073741807-d|0)>>>0>>0)Fqb(b);if(!(a[b>>0]&1))k=b+4|0;else k=c[b+8>>2]|0;if(d>>>0<536870887){e=(e+d|0)>>>0>>0?d<<1:e+d|0;e=e>>>0<2?2:e+4&-4}else e=1073741807;j=YAb(e<<2)|0;if(g|0)Enb(j,k,g)|0;if((f-h|0)!=(g|0))Enb(j+(g<<2)+(i<<2)|0,k+(g<<2)+(h<<2)|0,f-h-g|0)|0;if((d|0)!=1)oAb(k);c[b+8>>2]=j;c[b>>2]=e|1;return}function prb(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;e=a[b>>0]|0;if(e&1){f=(c[b>>2]&-2)+-1|0;g=c[b+4>>2]|0}else{f=1;g=(e&255)>>>1}if((g|0)==(f|0)){orb(b,f,1,f,f,0,0);if(!(a[b>>0]&1))f=7;else f=8}else if(e&1)f=8;else f=7;if((f|0)==7){a[b>>0]=(g<<1)+2;e=b+4|0}else if((f|0)==8){e=c[b+8>>2]|0;c[b+4>>2]=g+1}g=e+(g<<2)|0;c[g>>2]=d;c[g+4>>2]=0;return}function qrb(a){a=a|0;rrb(a);return}function rrb(a){a=a|0;c[a>>2]=153020;trb(a,0);bAb(a+28|0);Wpb(c[a+32>>2]|0);Wpb(c[a+36>>2]|0);Wpb(c[a+48>>2]|0);Wpb(c[a+60>>2]|0);return}function srb(a){a=a|0;rrb(a);oAb(a);return}function trb(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[a+40>>2]|0;while(1){if(!d)break;e=d+-1|0;$i[c[(c[a+32>>2]|0)+(e<<2)>>2]&255](b,a,c[(c[a+36>>2]|0)+(e<<2)>>2]|0);d=e}return}function urb(a){a=a|0;c[a>>2]=153036;bAb(a+4|0);return}function vrb(a){a=a|0;c[a>>2]=153036;bAb(a+4|0);oAb(a);return}function wrb(a,b){a=a|0;b=b|0;return}function xrb(a,b,c){a=a|0;b=b|0;c=c|0;return a|0}function yrb(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=-1;c[a+8+4>>2]=-1;return}function zrb(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=-1;c[a+8+4>>2]=-1;return}function Arb(a){a=a|0;return 0}function Brb(a){a=a|0;return 0}function Crb(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;g=d;d=0;while(1){if((d|0)>=(e|0))break;f=c[b+12>>2]|0;if(f>>>0<(c[b+16>>2]|0)>>>0){c[b+12>>2]=f+1;f=a[f>>0]|0}else{f=vi[c[(c[b>>2]|0)+40>>2]&2047](b)|0;if((f|0)==-1)break;f=f&255}a[g>>0]=f;g=g+1|0;d=d+1|0}return d|0}function Drb(a){a=a|0;return -1}function Erb(a){a=a|0;var b=0;if((vi[c[(c[a>>2]|0)+36>>2]&2047](a)|0)==-1)a=-1;else{b=c[a+12>>2]|0;c[a+12>>2]=b+1;a=d[b>>0]|0}return a|0}function Frb(a,b){a=a|0;b=b|0;return -1}function Grb(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0;g=e;e=0;while(1){if((e|0)>=(f|0))break;h=c[b+24>>2]|0;if(h>>>0<(c[b+28>>2]|0)>>>0){i=a[g>>0]|0;c[b+24>>2]=h+1;a[h>>0]=i}else if((Xi[c[(c[b>>2]|0)+52>>2]&511](b,d[g>>0]|0)|0)==-1)break;g=g+1|0;e=e+1|0}return e|0}function Hrb(a,b){a=a|0;b=b|0;return -1}function Irb(a){a=a|0;c[a>>2]=153100;bAb(a+4|0);return}function Jrb(a){a=a|0;c[a>>2]=153100;bAb(a+4|0);oAb(a);return}function Krb(a,b){a=a|0;b=b|0;return}function Lrb(a,b,c){a=a|0;b=b|0;c=c|0;return a|0}function Mrb(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=-1;c[a+8+4>>2]=-1;return}function Nrb(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=-1;c[a+8+4>>2]=-1;return}function Orb(a){a=a|0;return 0}function Prb(a){a=a|0;return 0}function Qrb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=b;b=0;while(1){if((b|0)>=(d|0))break;e=c[a+12>>2]|0;if(e>>>0<(c[a+16>>2]|0)>>>0){c[a+12>>2]=e+4;e=c[e>>2]|0}else{e=vi[c[(c[a>>2]|0)+40>>2]&2047](a)|0;if((e|0)==-1)break}c[f>>2]=e;f=f+4|0;b=b+1|0}return b|0}function Rrb(a){a=a|0;return -1}function Srb(a){a=a|0;var b=0;if((vi[c[(c[a>>2]|0)+36>>2]&2047](a)|0)==-1)a=-1;else{b=c[a+12>>2]|0;c[a+12>>2]=b+4;a=c[b>>2]|0}return a|0}function Trb(a,b){a=a|0;b=b|0;return -1}function Urb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;e=b;b=0;while(1){if((b|0)>=(d|0))break;f=c[a+24>>2]|0;if(f>>>0<(c[a+28>>2]|0)>>>0){g=c[e>>2]|0;c[a+24>>2]=f+4;c[f>>2]=g}else if((Xi[c[(c[a>>2]|0)+52>>2]&511](a,c[e>>2]|0)|0)==-1)break;e=e+4|0;b=b+1|0}return b|0}function Vrb(a,b){a=a|0;b=b|0;return -1}function Wrb(a){a=a|0;rrb(a+8|0);return}function Xrb(a){a=a|0;rrb(a+8|0);oAb(a);return}function Yrb(a){a=a|0;rrb(a+(c[(c[a>>2]|0)+-12>>2]|0)+8|0);return}function Zrb(a){a=a|0;Xrb(a+(c[(c[a>>2]|0)+-12>>2]|0)|0);return}function _rb(a){a=a|0;rrb(a+8|0);return}function $rb(a){a=a|0;rrb(a+8|0);oAb(a);return}function asb(a){a=a|0;rrb(a+(c[(c[a>>2]|0)+-12>>2]|0)+8|0);return}function bsb(a){a=a|0;$rb(a+(c[(c[a>>2]|0)+-12>>2]|0)|0);return}function csb(a){a=a|0;rrb(a+4|0);return}function dsb(a){a=a|0;rrb(a+4|0);oAb(a);return}function esb(a){a=a|0;rrb(a+(c[(c[a>>2]|0)+-12>>2]|0)+4|0);return}function fsb(a){a=a|0;dsb(a+(c[(c[a>>2]|0)+-12>>2]|0)|0);return}function gsb(a){a=a|0;rrb(a+4|0);return}function hsb(a){a=a|0;rrb(a+4|0);oAb(a);return}function isb(a){a=a|0;rrb(a+(c[(c[a>>2]|0)+-12>>2]|0)+4|0);return}function jsb(a){a=a|0;hsb(a+(c[(c[a>>2]|0)+-12>>2]|0)|0);return}function ksb(a){a=a|0;rrb(a+12|0);return}function lsb(a){a=a|0;rrb(a+12|0);oAb(a);return}function msb(a){a=a|0;rrb(a+-8+12|0);return}function nsb(a){a=a|0;lsb(a+-8|0);return}function osb(a){a=a|0;rrb(a+(c[(c[a>>2]|0)+-12>>2]|0)+12|0);return}function psb(a){a=a|0;lsb(a+(c[(c[a>>2]|0)+-12>>2]|0)|0);return}function qsb(a,b){a=a|0;b=b|0;c[a+16>>2]=(c[a+24>>2]|0)==0|b;return}function rsb(a,b){a=a|0;b=b|0;var d=0;c[a+24>>2]=b;c[a+16>>2]=(b|0)==0&1;c[a+20>>2]=0;c[a+4>>2]=4098;c[a+12>>2]=0;c[a+8>>2]=6;b=a+32|0;d=b+40|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(d|0));$zb(a+28|0);return}function ssb(a){a=a|0;var b=0;b=i;i=i+16|0;aAb(b,a+28|0);i=b;return c[b>>2]|0}function tsb(a){a=a|0;c[a>>2]=153036;$zb(a+4|0);c[a+8>>2]=0;c[a+8+4>>2]=0;c[a+8+8>>2]=0;c[a+8+12>>2]=0;c[a+8+16>>2]=0;c[a+8+20>>2]=0;return}function usb(a){a=a|0;c[a>>2]=153100;$zb(a+4|0);c[a+8>>2]=0;c[a+8+4>>2]=0;c[a+8+8>>2]=0;c[a+8+12>>2]=0;c[a+8+16>>2]=0;c[a+8+20>>2]=0;return}function vsb(a,b){a=a|0;b=b|0;return}function wsb(e,f,g){e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0;k=i;i=i+16|0;a[e>>0]=0;h=f+(c[(c[f>>2]|0)+-12>>2]|0)|0;j=c[h+16>>2]|0;if(!j){h=c[h+72>>2]|0;if(h|0)xsb(h)|0;do if(!g){h=f+(c[(c[f>>2]|0)+-12>>2]|0)|0;if(c[h+4>>2]&4096|0){c[k>>2]=ssb(h)|0;j=Usb(k,1203596)|0;bAb(k);g=c[f+(c[(c[f>>2]|0)+-12>>2]|0)+24>>2]|0;while(1){if(!g){j=0;h=0;break}if((c[g+12>>2]|0)==(c[g+16>>2]|0))if((vi[c[(c[g>>2]|0)+36>>2]&2047](g)|0)==-1){j=0;h=0;break}h=c[g+12>>2]|0;if((h|0)==(c[g+16>>2]|0))h=vi[c[(c[g>>2]|0)+36>>2]&2047](g)|0;else h=d[h>>0]|0;if((h&255)<<24>>24<=-1){j=g;h=g;break}if(!(b[(c[j+8>>2]|0)+(h<<24>>24<<1)>>1]&8192)){j=g;h=g;break}h=c[g+12>>2]|0;if((h|0)==(c[g+16>>2]|0)){vi[c[(c[g>>2]|0)+40>>2]&2047](g)|0;continue}else{c[g+12>>2]=h+1;continue}}if(h|0){if((c[j+12>>2]|0)!=(c[j+16>>2]|0))break;if((vi[c[(c[h>>2]|0)+36>>2]&2047](j)|0)!=-1)break}g=f+(c[(c[f>>2]|0)+-12>>2]|0)|0;c[g+16>>2]=c[g+16>>2]|(c[g+24>>2]|0)==0|6}}while(0);a[e>>0]=(c[f+(c[(c[f>>2]|0)+-12>>2]|0)+16>>2]|0)==0&1}else c[h+16>>2]=j|(c[h+24>>2]|0)==0|4;i=k;return}function xsb(b){b=b|0;var d=0,e=0;d=i;i=i+16|0;if(c[b+(c[(c[b>>2]|0)+-12>>2]|0)+24>>2]|0){ysb(d,b);if(a[d>>0]|0){e=c[b+(c[(c[b>>2]|0)+-12>>2]|0)+24>>2]|0;if((vi[c[(c[e>>2]|0)+24>>2]&2047](e)|0)==-1){e=b+(c[(c[b>>2]|0)+-12>>2]|0)+16|0;c[e>>2]=c[e>>2]|1}}zsb(d)}i=d;return b|0}function ysb(b,d){b=b|0;d=d|0;a[b>>0]=0;c[b+4>>2]=d;d=d+(c[(c[d>>2]|0)+-12>>2]|0)|0;if(!(c[d+16>>2]|0)){d=c[d+72>>2]|0;if(d|0)xsb(d)|0;a[b>>0]=1}return}function zsb(a){a=a|0;var b=0;b=c[a+4>>2]|0;b=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;if(c[b+24>>2]|0)if(!(c[b+16>>2]|0))if(c[b+4>>2]&8192|0)if(!(ue()|0)){b=c[a+4>>2]|0;b=c[b+(c[(c[b>>2]|0)+-12>>2]|0)+24>>2]|0;if((vi[c[(c[b>>2]|0)+24>>2]&2047](b)|0)==-1){a=c[a+4>>2]|0;a=a+(c[(c[a>>2]|0)+-12>>2]|0)+16|0;c[a>>2]=c[a>>2]|1}}return}function Asb(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0;j=i;i=i+32|0;ysb(j,b);if(a[j>>0]|0){c[j+8>>2]=ssb(b+(c[(c[b>>2]|0)+-12>>2]|0)|0)|0;h=Usb(j+8|0,1203652)|0;bAb(j+8|0);f=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;g=c[f+24>>2]|0;e=c[f+76>>2]|0;if((e|0)==-1){c[j+16>>2]=ssb(f)|0;e=Usb(j+16|0,1203596)|0;e=Xi[c[(c[e>>2]|0)+28>>2]&511](e,32)|0;bAb(j+16|0);c[f+76>>2]=e<<24>>24;e=e<<24>>24}k=c[(c[h>>2]|0)+16>>2]|0;c[j+12>>2]=g;c[j+16>>2]=c[j+12>>2];if(!(Ci[k&127](h,j+16|0,f,e&255,d)|0)){k=b+(c[(c[b>>2]|0)+-12>>2]|0)+16|0;c[k>>2]=c[k>>2]|5}}zsb(j);i=j;return b|0}function Bsb(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0;j=i;i=i+32|0;ysb(j,b);if(a[j>>0]|0){c[j+8>>2]=ssb(b+(c[(c[b>>2]|0)+-12>>2]|0)|0)|0;h=Usb(j+8|0,1203652)|0;bAb(j+8|0);f=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;g=c[f+24>>2]|0;e=c[f+76>>2]|0;if((e|0)==-1){c[j+16>>2]=ssb(f)|0;e=Usb(j+16|0,1203596)|0;e=Xi[c[(c[e>>2]|0)+28>>2]&511](e,32)|0;bAb(j+16|0);c[f+76>>2]=e<<24>>24;e=e<<24>>24}k=c[(c[h>>2]|0)+24>>2]|0;c[j+12>>2]=g;c[j+16>>2]=c[j+12>>2];if(!(Ci[k&127](h,j+16|0,f,e&255,d)|0)){k=b+(c[(c[b>>2]|0)+-12>>2]|0)+16|0;c[k>>2]=c[k>>2]|5}}zsb(j);i=j;return b|0}function Csb(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0;k=i;i=i+32|0;ysb(k,b);if(a[k>>0]|0){c[k+8>>2]=ssb(b+(c[(c[b>>2]|0)+-12>>2]|0)|0)|0;g=Usb(k+8|0,1203652)|0;bAb(k+8|0);h=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;j=c[h+24>>2]|0;f=c[h+76>>2]|0;if((f|0)==-1){c[k+16>>2]=ssb(h)|0;f=Usb(k+16|0,1203596)|0;f=Xi[c[(c[f>>2]|0)+28>>2]&511](f,32)|0;bAb(k+16|0);c[h+76>>2]=f<<24>>24;f=f<<24>>24}l=c[(c[g>>2]|0)+28>>2]|0;c[k+12>>2]=j;c[k+16>>2]=c[k+12>>2];if(!(ti[l&63](g,k+16|0,h,f&255,d,e)|0)){l=b+(c[(c[b>>2]|0)+-12>>2]|0)+16|0;c[l>>2]=c[l>>2]|5}}zsb(k);i=k;return b|0}function Dsb(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+16|0;ysb(g,b);a:do if(a[g>>0]|0){f=c[b+(c[(c[b>>2]|0)+-12>>2]|0)+24>>2]|0;do if(f|0){e=c[f+24>>2]|0;if((e|0)==(c[f+28>>2]|0))if((Xi[c[(c[f>>2]|0)+52>>2]&511](f,d&255)|0)==-1)break;else break a;else{c[f+24>>2]=e+1;a[e>>0]=d;break a}}while(0);d=b+(c[(c[b>>2]|0)+-12>>2]|0)+16|0;c[d>>2]=c[d>>2]|1}while(0);zsb(g);i=g;return b|0}function Esb(a,b){a=a|0;b=b|0;return}function Fsb(a){a=a|0;c[a+16>>2]=c[a+16>>2]|1;return}function Gsb(a){a=a|0;return}function Hsb(a){a=a|0;oAb(a);return}function Isb(a){a=a|0;if(a|0)Hi[c[(c[a>>2]|0)+4>>2]&1023](a);return}function Jsb(b,c,d,e,f){b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;while(1){if((e|0)==(f|0)){h=7;break}if((c|0)==(d|0)){c=-1;break}b=a[c>>0]|0;g=a[e>>0]|0;if(b<<24>>24>24){c=-1;break}if(g<<24>>24>24){c=1;break}e=e+1|0;c=c+1|0}if((h|0)==7)c=(c|0)!=(d|0)&1;return c|0}function Ksb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Lqb(a,c,d);return}function Lsb(b,c,d){b=b|0;c=c|0;d=d|0;var e=0;b=0;while(1){if((c|0)==(d|0))break;e=(a[c>>0]|0)+(b<<4)|0;b=((e&-268435456)>>>24|e&-268435456)^e;c=c+1|0}return b|0}function Msb(a){a=a|0;return}function Nsb(a){a=a|0;oAb(a);return}function Osb(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;while(1){if((e|0)==(f|0)){h=7;break}if((b|0)==(d|0)){b=-1;break}a=c[b>>2]|0;g=c[e>>2]|0;if((a|0)<(g|0)){b=-1;break}if((g|0)<(a|0)){b=1;break}e=e+4|0;b=b+4|0}if((h|0)==7)b=(b|0)!=(d|0)&1;return b|0}function Psb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;irb(a,c,d);return}function Qsb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;a=0;while(1){if((b|0)==(d|0))break;e=(c[b>>2]|0)+(a<<4)|0;a=((e&-268435456)>>>24|e&-268435456)^e;b=b+4|0}return a|0}function Rsb(a){a=a|0;return}function Ssb(a){a=a|0;oAb(a);return}function Tsb(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0;j=i;i=i+64|0;if(!(c[f+4>>2]&1)){c[j+20>>2]=-1;k=c[(c[b>>2]|0)+16>>2]|0;c[j+16>>2]=c[d>>2];c[j+12>>2]=c[e>>2];c[j+24>>2]=c[j+16>>2];c[j+48>>2]=c[j+12>>2];e=ti[k&63](b,j+24|0,j+48|0,f,g,j+20|0)|0;c[d>>2]=e;switch(c[j+20>>2]|0){case 0:{a[h>>0]=0;break}case 1:{a[h>>0]=1;break}default:{a[h>>0]=1;c[g>>2]=4}}}else{b=ssb(f)|0;c[j+8>>2]=b;k=Usb(j+8|0,1203596)|0;eAb(b)|0;f=ssb(f)|0;c[j+4>>2]=f;b=Usb(j+4|0,1203608)|0;eAb(f)|0;si[c[(c[b>>2]|0)+24>>2]&511](j+24|0,b);si[c[(c[b>>2]|0)+28>>2]&511](j+24+12|0,b);c[j>>2]=c[e>>2];c[j+48>>2]=c[j>>2];a[h>>0]=(Ysb(d,j+48|0,j+24|0,j+24+24|0,k,g,1)|0)==(j+24|0)&1;e=c[d>>2]|0;Mqb(j+24+12|0);Mqb(j+24|0)}i=j;return e|0}function Usb(a,b){a=a|0;b=b|0;a=c[a>>2]|0;b=Vsb(b)|0;return c[(c[a+8>>2]|0)+(b<<2)>>2]|0}function Vsb(a){a=a|0;var b=0;b=i;i=i+16|0;if((c[a>>2]|0)!=-1){c[b>>2]=a;c[b+4>>2]=790;c[b+8>>2]=0;fAb(a,b,791)}i=b;return (c[a+4>>2]|0)+-1|0}function Wsb(a){a=a|0;var b=0;b=c[300901]|0;c[300901]=b+1;c[a+4>>2]=b+1;return}function Xsb(a){a=a|0;var b=0,d=0;b=c[a+4>>2]|0;d=c[a+8>>2]|0;a=(c[a>>2]|0)+(d>>1)|0;if(d&1)b=c[(c[a>>2]|0)+b>>2]|0;Hi[b&1023](a);return}function Ysb(b,e,f,g,h,j,k){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;z=i;i=i+112|0;if(((g-f|0)/12|0)>>>0>100){m=Vpb((g-f|0)/12|0)|0;if(!m)eBb();else{x=m;l=m}}else{x=0;l=z}p=f;m=0;n=(g-f|0)/12|0;q=l;while(1){if((p|0)==(g|0))break;o=a[p>>0]|0;if(!(o&1))o=(o&255)>>>1;else o=c[p+4>>2]|0;if(!o){a[q>>0]=2;m=m+1|0;n=n+-1|0}else a[q>>0]=1;p=p+12|0;q=q+1|0}w=0;t=m;r=n;a:while(1){m=c[b>>2]|0;do if(!m)m=0;else if((c[m+12>>2]|0)==(c[m+16>>2]|0))if((vi[c[(c[m>>2]|0)+36>>2]&2047](m)|0)==-1){c[b>>2]=0;m=0;break}else{m=c[b>>2]|0;break}while(0);o=(m|0)==0;n=c[e>>2]|0;if(!n)n=0;else if((c[n+12>>2]|0)==(c[n+16>>2]|0))if((vi[c[(c[n>>2]|0)+36>>2]&2047](n)|0)==-1){c[e>>2]=0;n=0}p=(n|0)==0;m=c[b>>2]|0;if(!((r|0)!=0&(o^p)))break;n=c[m+12>>2]|0;if((n|0)==(c[m+16>>2]|0))m=vi[c[(c[m>>2]|0)+36>>2]&2047](m)|0;else m=d[n>>0]|0;m=m&255;if(!k)m=Xi[c[(c[h>>2]|0)+12>>2]&511](h,m)|0;v=w+1|0;q=0;s=f;o=t;u=r;r=l;while(1){if((s|0)==(g|0))break;do if((a[r>>0]|0)==1){if(!(a[s>>0]&1))n=s+1|0;else n=c[s+8>>2]|0;n=a[n+w>>0]|0;if(!k)n=Xi[c[(c[h>>2]|0)+12>>2]&511](h,n)|0;if(m<<24>>24!=n<<24>>24){a[r>>0]=0;n=q;p=u+-1|0;break}n=a[s>>0]|0;if(!(n&1))n=(n&255)>>>1;else n=c[s+4>>2]|0;if((n|0)==(v|0)){a[r>>0]=2;n=1;o=o+1|0;p=u+-1|0}else{n=1;p=u}}else{n=q;p=u}while(0);q=n;s=s+12|0;u=p;r=r+1|0}if(!q){w=v;t=o;r=u;continue}m=c[b>>2]|0;n=c[m+12>>2]|0;if((n|0)==(c[m+16>>2]|0))vi[c[(c[m>>2]|0)+40>>2]&2047](m)|0;else c[m+12>>2]=n+1;if((o+u|0)>>>0>1){p=f;m=o;o=l}else{w=v;t=o;r=u;continue}while(1){if((p|0)==(g|0)){w=v;t=m;r=u;continue a}if((a[o>>0]|0)==2){n=a[p>>0]|0;if(!(n&1))n=(n&255)>>>1;else n=c[p+4>>2]|0;if((n|0)!=(v|0)){a[o>>0]=0;m=m+-1|0}}p=p+12|0;o=o+1|0}}do if(!m)m=0;else if((c[m+12>>2]|0)==(c[m+16>>2]|0))if((vi[c[(c[m>>2]|0)+36>>2]&2047](m)|0)==-1){c[b>>2]=0;m=0;break}else{m=c[b>>2]|0;break}while(0);m=(m|0)==0;do if(p)y=34;else{if((c[n+12>>2]|0)==(c[n+16>>2]|0))if((vi[c[(c[n>>2]|0)+36>>2]&2047](n)|0)==-1){c[e>>2]=0;y=34;break}if(!m)y=69}while(0);if((y|0)==34)if(m)y=69;if((y|0)==69)c[j>>2]=c[j>>2]|2;while(1){if((f|0)==(g|0)){y=73;break}if((a[l>>0]|0)==2)break;f=f+12|0;l=l+1|0}if((y|0)==73){c[j>>2]=c[j>>2]|4;f=g}Wpb(x);i=z;return f|0}function Zsb(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;c[h+4>>2]=c[b>>2];c[h>>2]=c[d>>2];c[h+8>>2]=c[h+4>>2];c[h+12>>2]=c[h>>2];a=_sb(a,h+8|0,h+12|0,e,f,g)|0;i=h;return a|0}function _sb(b,e,f,g,h,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;q=i;i=i+224|0;switch(c[g+4>>2]&74|0){case 64:{p=8;break}case 8:{p=16;break}case 0:{p=0;break}default:p=10}$sb(q+184|0,g,q+198|0,q+196|0);b=0;while(1){if((b|0)==3)break;c[q+172+(b<<2)>>2]=0;b=b+1|0}if(!(a[q+172>>0]&1))b=10;else b=(c[q+172>>2]&-2)+-1|0;Sqb(q+172|0,b,0);k=(a[q+172>>0]&1)==0?q+172+1|0:c[q+172+8>>2]|0;c[q+168>>2]=k;c[q+4>>2]=q+8;c[q>>2]=0;o=a[q+196>>0]|0;b=c[e>>2]|0;a:while(1){if(!b)b=0;else if((c[b+12>>2]|0)==(c[b+16>>2]|0))if((vi[c[(c[b>>2]|0)+36>>2]&2047](b)|0)==-1){c[e>>2]=0;b=0}g=(b|0)==0;l=c[f>>2]|0;do if(!l)r=20;else{if((c[l+12>>2]|0)!=(c[l+16>>2]|0))if(g)break;else break a;if((vi[c[(c[l>>2]|0)+36>>2]&2047](l)|0)==-1){c[f>>2]=0;r=20;break}else if(g)break;else break a}while(0);if((r|0)==20){r=0;if(g){l=0;break}else l=0}m=a[q+172>>0]|0;m=(m&1)==0?(m&255)>>>1:c[q+172+4>>2]|0;if((c[q+168>>2]|0)==(k+m|0)){Sqb(q+172|0,m<<1,0);if(!(a[q+172>>0]&1))g=10;else g=(c[q+172>>2]&-2)+-1|0;Sqb(q+172|0,g,0);k=(a[q+172>>0]&1)==0?q+172+1|0:c[q+172+8>>2]|0;c[q+168>>2]=k+m}m=b+12|0;g=c[m>>2]|0;n=b+16|0;if((g|0)==(c[n>>2]|0))g=vi[c[(c[b>>2]|0)+36>>2]&2047](b)|0;else g=d[g>>0]|0;if(atb(g&255,p,k,q+168|0,q,o,q+184|0,q+8|0,q+4|0,q+198|0)|0)break;g=c[m>>2]|0;if((g|0)==(c[n>>2]|0)){vi[c[(c[b>>2]|0)+40>>2]&2047](b)|0;continue}else{c[m>>2]=g+1;continue}}o=a[q+184>>0]|0;g=c[q+4>>2]|0;if(((o&1)==0?(o&255)>>>1:c[q+184+4>>2]|0)|0)if((g-(q+8)|0)<160){o=c[q>>2]|0;c[q+4>>2]=g+4;c[g>>2]=o;g=g+4|0}c[j>>2]=btb(k,c[q+168>>2]|0,h,p)|0;dtb(q+184|0,q+8|0,g,h);if(!b)b=0;else if((c[b+12>>2]|0)==(c[b+16>>2]|0))if((vi[c[(c[b>>2]|0)+36>>2]&2047](b)|0)==-1){c[e>>2]=0;b=0}b=(b|0)==0;do if(!l)r=45;else{if((c[l+12>>2]|0)==(c[l+16>>2]|0))if((vi[c[(c[l>>2]|0)+36>>2]&2047](l)|0)==-1){c[f>>2]=0;r=45;break}if(!b)r=46}while(0);if((r|0)==45)if(b)r=46;if((r|0)==46)c[h>>2]=c[h>>2]|2;r=c[e>>2]|0;Mqb(q+172|0);Mqb(q+184|0);i=q;return r|0}function $sb(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=i;i=i+16|0;d=ssb(d)|0;c[g>>2]=d;h=Usb(g,1203596)|0;cj[c[(c[h>>2]|0)+32>>2]&127](h,617692,617718,e)|0;e=Usb(g,1203608)|0;a[f>>0]=vi[c[(c[e>>2]|0)+16>>2]&2047](e)|0;si[c[(c[e>>2]|0)+20>>2]&511](b,e);eAb(d)|0;i=g;return}function atb(b,d,e,f,g,h,i,j,k,l){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0;o=c[f>>2]|0;do if((o|0)==(e|0)){m=(a[l+24>>0]|0)==b<<24>>24;if(!m)if((a[l+25>>0]|0)!=b<<24>>24){n=5;break}c[f>>2]=e+1;a[e>>0]=m?43:45;c[g>>2]=0;m=0}else n=5;while(0);a:do if((n|0)==5){n=a[i>>0]|0;if(b<<24>>24==h<<24>>24?(((n&1)==0?(n&255)>>>1:c[i+4>>2]|0)|0)!=0:0){m=c[k>>2]|0;if((m-j|0)>=160){m=0;break}d=c[g>>2]|0;c[k>>2]=m+4;c[m>>2]=d;c[g>>2]=0;m=0;break}m=l;while(1){if((m|0)==(l+26|0)){m=l+26|0;break}if((a[m>>0]|0)==b<<24>>24)break;m=m+1|0}m=m-l|0;if((m|0)>23)m=-1;else{switch(d|0){case 10:case 8:{if((m|0)>=(d|0)){m=-1;break a}break}case 16:{if((m|0)>=22){if((o|0)==(e|0)){m=-1;break a}if((o-e|0)>=3){m=-1;break a}if((a[o+-1>>0]|0)!=48){m=-1;break a}c[g>>2]=0;m=a[617692+m>>0]|0;c[f>>2]=o+1;a[o>>0]=m;m=0;break a}break}default:{}}m=a[617692+m>>0]|0;c[f>>2]=o+1;a[o>>0]=m;c[g>>2]=(c[g>>2]|0)+1;m=0}}while(0);return m|0}function btb(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0;j=i;i=i+16|0;if((a|0)==(b|0)){c[d>>2]=4;a=0}else{g=Mlb()|0;h=c[g>>2]|0;c[g>>2]=0;a=dmb(a,j,e,ctb()|0)|0;e=C;f=c[g>>2]|0;if(!f)c[g>>2]=h;a:do if((c[j>>2]|0)==(b|0)){do if((f|0)==34){c[d>>2]=4;if((e|0)>0|(e|0)==0&a>>>0>0){a=2147483647;break a}}else{if((e|0)<-1|(e|0)==-1&a>>>0<2147483648){c[d>>2]=4;break}if((e|0)>0|(e|0)==0&a>>>0>2147483647){c[d>>2]=4;a=2147483647;break a}else break a}while(0);a=-2147483648}else{c[d>>2]=4;a=0}while(0)}i=j;return a|0}function ctb(){if(!(a[622032]|0))if(se(622032)|0){c[300904]=xnb(2147483647,617725,0)|0;fd(622032)}return c[300904]|0}function dtb(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;g=a[b>>0]|0;h=c[b+4>>2]|0;do if(((g&1)==0?(g&255)>>>1:h)|0){if((d|0)!=(e|0)){g=e;h=d;while(1){g=g+-4|0;if(h>>>0>=g>>>0)break;i=c[h>>2]|0;c[h>>2]=c[g>>2];c[g>>2]=i;h=h+4|0}g=a[b>>0]|0;h=c[b+4>>2]|0}k=(g&1)==0;i=k?b+1|0:c[b+8>>2]|0;b=i+(k?(g&255)>>>1:h)|0;h=d;while(1){g=a[i>>0]|0;if(h>>>0>=(e+-4|0)>>>0)break;if(!(g<<24>>24<1|g<<24>>24==127))if((g<<24>>24|0)!=(c[h>>2]|0)){j=10;break}i=(b-i|0)>1?i+1|0:i;h=h+4|0}if((j|0)==10){c[f>>2]=4;break}if(!(g<<24>>24<1|g<<24>>24==127))if(((c[e+-4>>2]|0)+-1|0)>>>0>=g<<24>>24>>>0)c[f>>2]=4}while(0);return}function etb(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;c[h+4>>2]=c[b>>2];c[h>>2]=c[d>>2];c[h+8>>2]=c[h+4>>2];c[h+12>>2]=c[h>>2];a=ftb(a,h+8|0,h+12|0,e,f,g)|0;i=h;return a|0}function ftb(b,e,f,g,h,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;q=i;i=i+224|0;switch(c[g+4>>2]&74|0){case 64:{p=8;break}case 8:{p=16;break}case 0:{p=0;break}default:p=10}$sb(q+184|0,g,q+198|0,q+196|0);b=0;while(1){if((b|0)==3)break;c[q+172+(b<<2)>>2]=0;b=b+1|0}if(!(a[q+172>>0]&1))b=10;else b=(c[q+172>>2]&-2)+-1|0;Sqb(q+172|0,b,0);k=(a[q+172>>0]&1)==0?q+172+1|0:c[q+172+8>>2]|0;c[q+168>>2]=k;c[q+4>>2]=q+8;c[q>>2]=0;o=a[q+196>>0]|0;b=c[e>>2]|0;a:while(1){if(!b)b=0;else if((c[b+12>>2]|0)==(c[b+16>>2]|0))if((vi[c[(c[b>>2]|0)+36>>2]&2047](b)|0)==-1){c[e>>2]=0;b=0}g=(b|0)==0;l=c[f>>2]|0;do if(!l)r=20;else{if((c[l+12>>2]|0)!=(c[l+16>>2]|0))if(g)break;else break a;if((vi[c[(c[l>>2]|0)+36>>2]&2047](l)|0)==-1){c[f>>2]=0;r=20;break}else if(g)break;else break a}while(0);if((r|0)==20){r=0;if(g){l=0;break}else l=0}m=a[q+172>>0]|0;m=(m&1)==0?(m&255)>>>1:c[q+172+4>>2]|0;if((c[q+168>>2]|0)==(k+m|0)){Sqb(q+172|0,m<<1,0);if(!(a[q+172>>0]&1))g=10;else g=(c[q+172>>2]&-2)+-1|0;Sqb(q+172|0,g,0);k=(a[q+172>>0]&1)==0?q+172+1|0:c[q+172+8>>2]|0;c[q+168>>2]=k+m}m=b+12|0;g=c[m>>2]|0;n=b+16|0;if((g|0)==(c[n>>2]|0))g=vi[c[(c[b>>2]|0)+36>>2]&2047](b)|0;else g=d[g>>0]|0;if(atb(g&255,p,k,q+168|0,q,o,q+184|0,q+8|0,q+4|0,q+198|0)|0)break;g=c[m>>2]|0;if((g|0)==(c[n>>2]|0)){vi[c[(c[b>>2]|0)+40>>2]&2047](b)|0;continue}else{c[m>>2]=g+1;continue}}o=a[q+184>>0]|0;g=c[q+4>>2]|0;if(((o&1)==0?(o&255)>>>1:c[q+184+4>>2]|0)|0)if((g-(q+8)|0)<160){o=c[q>>2]|0;c[q+4>>2]=g+4;c[g>>2]=o;g=g+4|0}p=gtb(k,c[q+168>>2]|0,h,p)|0;c[j>>2]=p;c[j+4>>2]=C;dtb(q+184|0,q+8|0,g,h);if(!b)b=0;else if((c[b+12>>2]|0)==(c[b+16>>2]|0))if((vi[c[(c[b>>2]|0)+36>>2]&2047](b)|0)==-1){c[e>>2]=0;b=0}b=(b|0)==0;do if(!l)r=45;else{if((c[l+12>>2]|0)==(c[l+16>>2]|0))if((vi[c[(c[l>>2]|0)+36>>2]&2047](l)|0)==-1){c[f>>2]=0;r=45;break}if(!b)r=46}while(0);if((r|0)==45)if(b)r=46;if((r|0)==46)c[h>>2]=c[h>>2]|2;r=c[e>>2]|0;Mqb(q+172|0);Mqb(q+184|0);i=q;return r|0}function gtb(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0;j=i;i=i+16|0;if((a|0)==(b|0)){c[d>>2]=4;e=0;a=0}else{g=Mlb()|0;h=c[g>>2]|0;c[g>>2]=0;f=dmb(a,j,e,ctb()|0)|0;e=C;a=c[g>>2]|0;if(!a)c[g>>2]=h;if((c[j>>2]|0)==(b|0))if((a|0)==34){c[d>>2]=4;a=(e|0)>0|(e|0)==0&f>>>0>0?-1:0;e=(e|0)>0|(e|0)==0&f>>>0>0?2147483647:-2147483648}else a=f;else{c[d>>2]=4;a=0;e=0}}C=e;i=j;return a|0}function htb(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;c[h+4>>2]=c[b>>2];c[h>>2]=c[d>>2];c[h+8>>2]=c[h+4>>2];c[h+12>>2]=c[h>>2];a=itb(a,h+8|0,h+12|0,e,f,g)|0;i=h;return a|0}function itb(e,f,g,h,j,k){e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;r=i;i=i+224|0;switch(c[h+4>>2]&74|0){case 64:{q=8;break}case 8:{q=16;break}case 0:{q=0;break}default:q=10}$sb(r+184|0,h,r+198|0,r+196|0);e=0;while(1){if((e|0)==3)break;c[r+172+(e<<2)>>2]=0;e=e+1|0}if(!(a[r+172>>0]&1))e=10;else e=(c[r+172>>2]&-2)+-1|0;Sqb(r+172|0,e,0);l=(a[r+172>>0]&1)==0?r+172+1|0:c[r+172+8>>2]|0;c[r+168>>2]=l;c[r+4>>2]=r+8;c[r>>2]=0;p=a[r+196>>0]|0;e=c[f>>2]|0;a:while(1){if(!e)e=0;else if((c[e+12>>2]|0)==(c[e+16>>2]|0))if((vi[c[(c[e>>2]|0)+36>>2]&2047](e)|0)==-1){c[f>>2]=0;e=0}h=(e|0)==0;m=c[g>>2]|0;do if(!m)s=20;else{if((c[m+12>>2]|0)!=(c[m+16>>2]|0))if(h)break;else break a;if((vi[c[(c[m>>2]|0)+36>>2]&2047](m)|0)==-1){c[g>>2]=0;s=20;break}else if(h)break;else break a}while(0);if((s|0)==20){s=0;if(h){m=0;break}else m=0}n=a[r+172>>0]|0;n=(n&1)==0?(n&255)>>>1:c[r+172+4>>2]|0;if((c[r+168>>2]|0)==(l+n|0)){Sqb(r+172|0,n<<1,0);if(!(a[r+172>>0]&1))h=10;else h=(c[r+172>>2]&-2)+-1|0;Sqb(r+172|0,h,0);l=(a[r+172>>0]&1)==0?r+172+1|0:c[r+172+8>>2]|0;c[r+168>>2]=l+n}n=e+12|0;h=c[n>>2]|0;o=e+16|0;if((h|0)==(c[o>>2]|0))h=vi[c[(c[e>>2]|0)+36>>2]&2047](e)|0;else h=d[h>>0]|0;if(atb(h&255,q,l,r+168|0,r,p,r+184|0,r+8|0,r+4|0,r+198|0)|0)break;h=c[n>>2]|0;if((h|0)==(c[o>>2]|0)){vi[c[(c[e>>2]|0)+40>>2]&2047](e)|0;continue}else{c[n>>2]=h+1;continue}}p=a[r+184>>0]|0;h=c[r+4>>2]|0;if(((p&1)==0?(p&255)>>>1:c[r+184+4>>2]|0)|0)if((h-(r+8)|0)<160){p=c[r>>2]|0;c[r+4>>2]=h+4;c[h>>2]=p;h=h+4|0}b[k>>1]=jtb(l,c[r+168>>2]|0,j,q)|0;dtb(r+184|0,r+8|0,h,j);if(!e)e=0;else if((c[e+12>>2]|0)==(c[e+16>>2]|0))if((vi[c[(c[e>>2]|0)+36>>2]&2047](e)|0)==-1){c[f>>2]=0;e=0}e=(e|0)==0;do if(!m)s=45;else{if((c[m+12>>2]|0)==(c[m+16>>2]|0))if((vi[c[(c[m>>2]|0)+36>>2]&2047](m)|0)==-1){c[g>>2]=0;s=45;break}if(!e)s=46}while(0);if((s|0)==45)if(e)s=46;if((s|0)==46)c[j>>2]=c[j>>2]|2;s=c[f>>2]|0;Mqb(r+172|0);Mqb(r+184|0);i=r;return s|0}function jtb(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0;k=i;i=i+16|0;do if((b|0)==(d|0)){c[e>>2]=4;b=0}else{if((a[b>>0]|0)==45){c[e>>2]=4;b=0;break}h=Mlb()|0;j=c[h>>2]|0;c[h>>2]=0;b=Wlb(b,k,f,ctb()|0)|0;f=C;g=c[h>>2]|0;if(!g)c[h>>2]=j;do if((c[k>>2]|0)==(d|0))if(f>>>0>0|(f|0)==0&b>>>0>65535|(g|0)==34){c[e>>2]=4;b=-1;break}else{b=b&65535;break}else{c[e>>2]=4;b=0}while(0)}while(0);i=k;return b|0}function ktb(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;c[h+4>>2]=c[b>>2];c[h>>2]=c[d>>2];c[h+8>>2]=c[h+4>>2];c[h+12>>2]=c[h>>2];a=ltb(a,h+8|0,h+12|0,e,f,g)|0;i=h;return a|0}function ltb(b,e,f,g,h,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;q=i;i=i+224|0;switch(c[g+4>>2]&74|0){case 64:{p=8;break}case 8:{p=16;break}case 0:{p=0;break}default:p=10}$sb(q+184|0,g,q+198|0,q+196|0);b=0;while(1){if((b|0)==3)break;c[q+172+(b<<2)>>2]=0;b=b+1|0}if(!(a[q+172>>0]&1))b=10;else b=(c[q+172>>2]&-2)+-1|0;Sqb(q+172|0,b,0);k=(a[q+172>>0]&1)==0?q+172+1|0:c[q+172+8>>2]|0;c[q+168>>2]=k;c[q+4>>2]=q+8;c[q>>2]=0;o=a[q+196>>0]|0;b=c[e>>2]|0;a:while(1){if(!b)b=0;else if((c[b+12>>2]|0)==(c[b+16>>2]|0))if((vi[c[(c[b>>2]|0)+36>>2]&2047](b)|0)==-1){c[e>>2]=0;b=0}g=(b|0)==0;l=c[f>>2]|0;do if(!l)r=20;else{if((c[l+12>>2]|0)!=(c[l+16>>2]|0))if(g)break;else break a;if((vi[c[(c[l>>2]|0)+36>>2]&2047](l)|0)==-1){c[f>>2]=0;r=20;break}else if(g)break;else break a}while(0);if((r|0)==20){r=0;if(g){l=0;break}else l=0}m=a[q+172>>0]|0;m=(m&1)==0?(m&255)>>>1:c[q+172+4>>2]|0;if((c[q+168>>2]|0)==(k+m|0)){Sqb(q+172|0,m<<1,0);if(!(a[q+172>>0]&1))g=10;else g=(c[q+172>>2]&-2)+-1|0;Sqb(q+172|0,g,0);k=(a[q+172>>0]&1)==0?q+172+1|0:c[q+172+8>>2]|0;c[q+168>>2]=k+m}m=b+12|0;g=c[m>>2]|0;n=b+16|0;if((g|0)==(c[n>>2]|0))g=vi[c[(c[b>>2]|0)+36>>2]&2047](b)|0;else g=d[g>>0]|0;if(atb(g&255,p,k,q+168|0,q,o,q+184|0,q+8|0,q+4|0,q+198|0)|0)break;g=c[m>>2]|0;if((g|0)==(c[n>>2]|0)){vi[c[(c[b>>2]|0)+40>>2]&2047](b)|0;continue}else{c[m>>2]=g+1;continue}}o=a[q+184>>0]|0;g=c[q+4>>2]|0;if(((o&1)==0?(o&255)>>>1:c[q+184+4>>2]|0)|0)if((g-(q+8)|0)<160){o=c[q>>2]|0;c[q+4>>2]=g+4;c[g>>2]=o;g=g+4|0}c[j>>2]=mtb(k,c[q+168>>2]|0,h,p)|0;dtb(q+184|0,q+8|0,g,h);if(!b)b=0;else if((c[b+12>>2]|0)==(c[b+16>>2]|0))if((vi[c[(c[b>>2]|0)+36>>2]&2047](b)|0)==-1){c[e>>2]=0;b=0}b=(b|0)==0;do if(!l)r=45;else{if((c[l+12>>2]|0)==(c[l+16>>2]|0))if((vi[c[(c[l>>2]|0)+36>>2]&2047](l)|0)==-1){c[f>>2]=0;r=45;break}if(!b)r=46}while(0);if((r|0)==45)if(b)r=46;if((r|0)==46)c[h>>2]=c[h>>2]|2;r=c[e>>2]|0;Mqb(q+172|0);Mqb(q+184|0);i=q;return r|0}function mtb(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0;k=i;i=i+16|0;do if((b|0)==(d|0)){c[e>>2]=4;b=0}else{if((a[b>>0]|0)==45){c[e>>2]=4;b=0;break}h=Mlb()|0;j=c[h>>2]|0;c[h>>2]=0;b=Wlb(b,k,f,ctb()|0)|0;f=C;g=c[h>>2]|0;if(!g)c[h>>2]=j;do if((c[k>>2]|0)==(d|0))if(f>>>0>0|(f|0)==0&b>>>0>4294967295|(g|0)==34){c[e>>2]=4;b=-1;break}else break;else{c[e>>2]=4;b=0}while(0)}while(0);i=k;return b|0}function ntb(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;c[h+4>>2]=c[b>>2];c[h>>2]=c[d>>2];c[h+8>>2]=c[h+4>>2];c[h+12>>2]=c[h>>2];a=otb(a,h+8|0,h+12|0,e,f,g)|0;i=h;return a|0}function otb(b,e,f,g,h,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;q=i;i=i+224|0;switch(c[g+4>>2]&74|0){case 64:{p=8;break}case 8:{p=16;break}case 0:{p=0;break}default:p=10}$sb(q+184|0,g,q+198|0,q+196|0);b=0;while(1){if((b|0)==3)break;c[q+172+(b<<2)>>2]=0;b=b+1|0}if(!(a[q+172>>0]&1))b=10;else b=(c[q+172>>2]&-2)+-1|0;Sqb(q+172|0,b,0);k=(a[q+172>>0]&1)==0?q+172+1|0:c[q+172+8>>2]|0;c[q+168>>2]=k;c[q+4>>2]=q+8;c[q>>2]=0;o=a[q+196>>0]|0;b=c[e>>2]|0;a:while(1){if(!b)b=0;else if((c[b+12>>2]|0)==(c[b+16>>2]|0))if((vi[c[(c[b>>2]|0)+36>>2]&2047](b)|0)==-1){c[e>>2]=0;b=0}g=(b|0)==0;l=c[f>>2]|0;do if(!l)r=20;else{if((c[l+12>>2]|0)!=(c[l+16>>2]|0))if(g)break;else break a;if((vi[c[(c[l>>2]|0)+36>>2]&2047](l)|0)==-1){c[f>>2]=0;r=20;break}else if(g)break;else break a}while(0);if((r|0)==20){r=0;if(g){l=0;break}else l=0}m=a[q+172>>0]|0;m=(m&1)==0?(m&255)>>>1:c[q+172+4>>2]|0;if((c[q+168>>2]|0)==(k+m|0)){Sqb(q+172|0,m<<1,0);if(!(a[q+172>>0]&1))g=10;else g=(c[q+172>>2]&-2)+-1|0;Sqb(q+172|0,g,0);k=(a[q+172>>0]&1)==0?q+172+1|0:c[q+172+8>>2]|0;c[q+168>>2]=k+m}m=b+12|0;g=c[m>>2]|0;n=b+16|0;if((g|0)==(c[n>>2]|0))g=vi[c[(c[b>>2]|0)+36>>2]&2047](b)|0;else g=d[g>>0]|0;if(atb(g&255,p,k,q+168|0,q,o,q+184|0,q+8|0,q+4|0,q+198|0)|0)break;g=c[m>>2]|0;if((g|0)==(c[n>>2]|0)){vi[c[(c[b>>2]|0)+40>>2]&2047](b)|0;continue}else{c[m>>2]=g+1;continue}}o=a[q+184>>0]|0;g=c[q+4>>2]|0;if(((o&1)==0?(o&255)>>>1:c[q+184+4>>2]|0)|0)if((g-(q+8)|0)<160){o=c[q>>2]|0;c[q+4>>2]=g+4;c[g>>2]=o;g=g+4|0}c[j>>2]=ptb(k,c[q+168>>2]|0,h,p)|0;dtb(q+184|0,q+8|0,g,h);if(!b)b=0;else if((c[b+12>>2]|0)==(c[b+16>>2]|0))if((vi[c[(c[b>>2]|0)+36>>2]&2047](b)|0)==-1){c[e>>2]=0;b=0}b=(b|0)==0;do if(!l)r=45;else{if((c[l+12>>2]|0)==(c[l+16>>2]|0))if((vi[c[(c[l>>2]|0)+36>>2]&2047](l)|0)==-1){c[f>>2]=0;r=45;break}if(!b)r=46}while(0);if((r|0)==45)if(b)r=46;if((r|0)==46)c[h>>2]=c[h>>2]|2;r=c[e>>2]|0;Mqb(q+172|0);Mqb(q+184|0);i=q;return r|0}function ptb(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0;k=i;i=i+16|0;do if((b|0)==(d|0)){c[e>>2]=4;b=0}else{if((a[b>>0]|0)==45){c[e>>2]=4;b=0;break}h=Mlb()|0;j=c[h>>2]|0;c[h>>2]=0;b=Wlb(b,k,f,ctb()|0)|0;f=C;g=c[h>>2]|0;if(!g)c[h>>2]=j;do if((c[k>>2]|0)==(d|0))if(f>>>0>0|(f|0)==0&b>>>0>4294967295|(g|0)==34){c[e>>2]=4;b=-1;break}else break;else{c[e>>2]=4;b=0}while(0)}while(0);i=k;return b|0}function qtb(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;c[h+4>>2]=c[b>>2];c[h>>2]=c[d>>2];c[h+8>>2]=c[h+4>>2];c[h+12>>2]=c[h>>2];a=rtb(a,h+8|0,h+12|0,e,f,g)|0;i=h;return a|0}function rtb(b,e,f,g,h,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;q=i;i=i+224|0;switch(c[g+4>>2]&74|0){case 64:{p=8;break}case 8:{p=16;break}case 0:{p=0;break}default:p=10}$sb(q+184|0,g,q+198|0,q+196|0);b=0;while(1){if((b|0)==3)break;c[q+172+(b<<2)>>2]=0;b=b+1|0}if(!(a[q+172>>0]&1))b=10;else b=(c[q+172>>2]&-2)+-1|0;Sqb(q+172|0,b,0);k=(a[q+172>>0]&1)==0?q+172+1|0:c[q+172+8>>2]|0;c[q+168>>2]=k;c[q+4>>2]=q+8;c[q>>2]=0;o=a[q+196>>0]|0;b=c[e>>2]|0;a:while(1){if(!b)b=0;else if((c[b+12>>2]|0)==(c[b+16>>2]|0))if((vi[c[(c[b>>2]|0)+36>>2]&2047](b)|0)==-1){c[e>>2]=0;b=0}g=(b|0)==0;l=c[f>>2]|0;do if(!l)r=20;else{if((c[l+12>>2]|0)!=(c[l+16>>2]|0))if(g)break;else break a;if((vi[c[(c[l>>2]|0)+36>>2]&2047](l)|0)==-1){c[f>>2]=0;r=20;break}else if(g)break;else break a}while(0);if((r|0)==20){r=0;if(g){l=0;break}else l=0}m=a[q+172>>0]|0;m=(m&1)==0?(m&255)>>>1:c[q+172+4>>2]|0;if((c[q+168>>2]|0)==(k+m|0)){Sqb(q+172|0,m<<1,0);if(!(a[q+172>>0]&1))g=10;else g=(c[q+172>>2]&-2)+-1|0;Sqb(q+172|0,g,0);k=(a[q+172>>0]&1)==0?q+172+1|0:c[q+172+8>>2]|0;c[q+168>>2]=k+m}m=b+12|0;g=c[m>>2]|0;n=b+16|0;if((g|0)==(c[n>>2]|0))g=vi[c[(c[b>>2]|0)+36>>2]&2047](b)|0;else g=d[g>>0]|0;if(atb(g&255,p,k,q+168|0,q,o,q+184|0,q+8|0,q+4|0,q+198|0)|0)break;g=c[m>>2]|0;if((g|0)==(c[n>>2]|0)){vi[c[(c[b>>2]|0)+40>>2]&2047](b)|0;continue}else{c[m>>2]=g+1;continue}}o=a[q+184>>0]|0;g=c[q+4>>2]|0;if(((o&1)==0?(o&255)>>>1:c[q+184+4>>2]|0)|0)if((g-(q+8)|0)<160){o=c[q>>2]|0;c[q+4>>2]=g+4;c[g>>2]=o;g=g+4|0}p=stb(k,c[q+168>>2]|0,h,p)|0;c[j>>2]=p;c[j+4>>2]=C;dtb(q+184|0,q+8|0,g,h);if(!b)b=0;else if((c[b+12>>2]|0)==(c[b+16>>2]|0))if((vi[c[(c[b>>2]|0)+36>>2]&2047](b)|0)==-1){c[e>>2]=0;b=0}b=(b|0)==0;do if(!l)r=45;else{if((c[l+12>>2]|0)==(c[l+16>>2]|0))if((vi[c[(c[l>>2]|0)+36>>2]&2047](l)|0)==-1){c[f>>2]=0;r=45;break}if(!b)r=46}while(0);if((r|0)==45)if(b)r=46;if((r|0)==46)c[h>>2]=c[h>>2]|2;r=c[e>>2]|0;Mqb(q+172|0);Mqb(q+184|0);i=q;return r|0}function stb(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0;k=i;i=i+16|0;do if((b|0)==(d|0)){c[e>>2]=4;f=0;b=0}else{if((a[b>>0]|0)==45){c[e>>2]=4;f=0;b=0;break}h=Mlb()|0;j=c[h>>2]|0;c[h>>2]=0;b=Wlb(b,k,f,ctb()|0)|0;f=C;g=c[h>>2]|0;if(!g)c[h>>2]=j;if((c[k>>2]|0)==(d|0)){if((g|0)==34){c[e>>2]=4;b=-1;f=-1}}else{c[e>>2]=4;b=0;f=0}}while(0);C=f;i=k;return b|0}function ttb(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;c[h+4>>2]=c[b>>2];c[h>>2]=c[d>>2];c[h+8>>2]=c[h+4>>2];c[h+12>>2]=c[h>>2];a=utb(a,h+8|0,h+12|0,e,f,g)|0;i=h;return a|0}function utb(b,e,f,h,j,k){b=b|0;e=e|0;f=f|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;r=i;i=i+240|0;vtb(r+184|0,h,r+200|0,r+199|0,r+198|0);b=0;while(1){if((b|0)==3)break;c[r+172+(b<<2)>>2]=0;b=b+1|0}if(!(a[r+172>>0]&1))b=10;else b=(c[r+172>>2]&-2)+-1|0;Sqb(r+172|0,b,0);l=(a[r+172>>0]&1)==0?r+172+1|0:c[r+172+8>>2]|0;c[r+168>>2]=l;c[r+4>>2]=r+8;c[r>>2]=0;a[r+197>>0]=1;a[r+196>>0]=69;p=a[r+199>>0]|0;q=a[r+198>>0]|0;b=c[e>>2]|0;a:while(1){if(!b)b=0;else if((c[b+12>>2]|0)==(c[b+16>>2]|0))if((vi[c[(c[b>>2]|0)+36>>2]&2047](b)|0)==-1){c[e>>2]=0;b=0}h=(b|0)==0;m=c[f>>2]|0;do if(!m)s=16;else{if((c[m+12>>2]|0)!=(c[m+16>>2]|0))if(h)break;else break a;if((vi[c[(c[m>>2]|0)+36>>2]&2047](m)|0)==-1){c[f>>2]=0;s=16;break}else if(h)break;else break a}while(0);if((s|0)==16){s=0;if(h){m=0;break}else m=0}n=a[r+172>>0]|0;n=(n&1)==0?(n&255)>>>1:c[r+172+4>>2]|0;if((c[r+168>>2]|0)==(l+n|0)){Sqb(r+172|0,n<<1,0);if(!(a[r+172>>0]&1))h=10;else h=(c[r+172>>2]&-2)+-1|0;Sqb(r+172|0,h,0);l=(a[r+172>>0]&1)==0?r+172+1|0:c[r+172+8>>2]|0;c[r+168>>2]=l+n}n=b+12|0;h=c[n>>2]|0;o=b+16|0;if((h|0)==(c[o>>2]|0))h=vi[c[(c[b>>2]|0)+36>>2]&2047](b)|0;else h=d[h>>0]|0;if(wtb(h&255,r+197|0,r+196|0,l,r+168|0,p,q,r+184|0,r+8|0,r+4|0,r,r+200|0)|0)break;h=c[n>>2]|0;if((h|0)==(c[o>>2]|0)){vi[c[(c[b>>2]|0)+40>>2]&2047](b)|0;continue}else{c[n>>2]=h+1;continue}}q=a[r+184>>0]|0;h=c[r+4>>2]|0;if(!((a[r+197>>0]|0)==0?1:(((q&1)==0?(q&255)>>>1:c[r+184+4>>2]|0)|0)==0))if((h-(r+8)|0)<160){q=c[r>>2]|0;c[r+4>>2]=h+4;c[h>>2]=q;h=h+4|0}g[k>>2]=+xtb(l,c[r+168>>2]|0,j);dtb(r+184|0,r+8|0,h,j);if(!b)b=0;else if((c[b+12>>2]|0)==(c[b+16>>2]|0))if((vi[c[(c[b>>2]|0)+36>>2]&2047](b)|0)==-1){c[e>>2]=0;b=0}b=(b|0)==0;do if(!m)s=41;else{if((c[m+12>>2]|0)==(c[m+16>>2]|0))if((vi[c[(c[m>>2]|0)+36>>2]&2047](m)|0)==-1){c[f>>2]=0;s=41;break}if(!b)s=42}while(0);if((s|0)==41)if(b)s=42;if((s|0)==42)c[j>>2]=c[j>>2]|2;s=c[e>>2]|0;Mqb(r+172|0);Mqb(r+184|0);i=r;return s|0}function vtb(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;h=i;i=i+16|0;d=ssb(d)|0;c[h>>2]=d;j=Usb(h,1203596)|0;cj[c[(c[j>>2]|0)+32>>2]&127](j,617692,617724,e)|0;e=Usb(h,1203608)|0;a[f>>0]=vi[c[(c[e>>2]|0)+12>>2]&2047](e)|0;a[g>>0]=vi[c[(c[e>>2]|0)+16>>2]&2047](e)|0;si[c[(c[e>>2]|0)+20>>2]&511](b,e);eAb(d)|0;i=h;return}function wtb(b,e,f,g,h,i,j,k,l,m,n,o){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;a:do if(b<<24>>24==i<<24>>24)if(!(a[e>>0]|0))i=-1;else{a[e>>0]=0;f=c[h>>2]|0;c[h>>2]=f+1;a[f>>0]=46;h=a[k>>0]|0;if(!(((h&1)==0?(h&255)>>>1:c[k+4>>2]|0)|0))i=0;else{i=c[m>>2]|0;if((i-l|0)<160){l=c[n>>2]|0;c[m>>2]=i+4;c[i>>2]=l;i=0}else i=0}}else{if(b<<24>>24==j<<24>>24){j=a[k>>0]|0;if(((j&1)==0?(j&255)>>>1:c[k+4>>2]|0)|0){if(!(a[e>>0]|0)){i=-1;break}i=c[m>>2]|0;if((i-l|0)>=160){i=0;break}l=c[n>>2]|0;c[m>>2]=i+4;c[i>>2]=l;c[n>>2]=0;i=0;break}}i=o;while(1){if((i|0)==(o+32|0)){i=o+32|0;break}if((a[i>>0]|0)==b<<24>>24)break;i=i+1|0}j=i-o|0;if((j|0)>31)i=-1;else{b=a[617692+j>>0]|0;switch(j|0){case 24:case 25:{i=c[h>>2]|0;if((i|0)!=(g|0))if((d[i+-1>>0]&95|0)!=(d[f>>0]&127|0)){i=-1;break a}c[h>>2]=i+1;a[i>>0]=b;i=0;break a}case 23:case 22:{a[f>>0]=80;i=c[h>>2]|0;c[h>>2]=i+1;a[i>>0]=b;i=0;break a}default:{if((b&95|0)==(a[f>>0]|0)){a[f>>0]=b&95|128;if(a[e>>0]|0){a[e>>0]=0;f=a[k>>0]|0;if(((f&1)==0?(f&255)>>>1:c[k+4>>2]|0)|0){i=c[m>>2]|0;if((i-l|0)<160){l=c[n>>2]|0;c[m>>2]=i+4;c[i>>2]=l}}}}m=c[h>>2]|0;c[h>>2]=m+1;a[m>>0]=b;if((j|0)>21){i=0;break a}c[n>>2]=(c[n>>2]|0)+1;i=0;break a}}}}while(0);return i|0}function xtb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0,g=0,h=0;h=i;i=i+16|0;if((a|0)==(b|0)){c[d>>2]=4;e=0.0}else{f=Mlb()|0;g=c[f>>2]|0;c[f>>2]=0;e=+Kpb(a,h,ctb()|0);a=c[f>>2]|0;if(!a)c[f>>2]=g;if((c[h>>2]|0)==(b|0)){if((a|0)==34)c[d>>2]=4}else{c[d>>2]=4;e=0.0}}i=h;return +e}function ytb(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;c[h+4>>2]=c[b>>2];c[h>>2]=c[d>>2];c[h+8>>2]=c[h+4>>2];c[h+12>>2]=c[h>>2];a=ztb(a,h+8|0,h+12|0,e,f,g)|0;i=h;return a|0}function ztb(b,e,f,g,j,k){b=b|0;e=e|0;f=f|0;g=g|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;r=i;i=i+240|0;vtb(r+184|0,g,r+200|0,r+199|0,r+198|0);b=0;while(1){if((b|0)==3)break;c[r+172+(b<<2)>>2]=0;b=b+1|0}if(!(a[r+172>>0]&1))b=10;else b=(c[r+172>>2]&-2)+-1|0;Sqb(r+172|0,b,0);l=(a[r+172>>0]&1)==0?r+172+1|0:c[r+172+8>>2]|0;c[r+168>>2]=l;c[r+4>>2]=r+8;c[r>>2]=0;a[r+197>>0]=1;a[r+196>>0]=69;p=a[r+199>>0]|0;q=a[r+198>>0]|0;b=c[e>>2]|0;a:while(1){if(!b)b=0;else if((c[b+12>>2]|0)==(c[b+16>>2]|0))if((vi[c[(c[b>>2]|0)+36>>2]&2047](b)|0)==-1){c[e>>2]=0;b=0}g=(b|0)==0;m=c[f>>2]|0;do if(!m)s=16;else{if((c[m+12>>2]|0)!=(c[m+16>>2]|0))if(g)break;else break a;if((vi[c[(c[m>>2]|0)+36>>2]&2047](m)|0)==-1){c[f>>2]=0;s=16;break}else if(g)break;else break a}while(0);if((s|0)==16){s=0;if(g){m=0;break}else m=0}n=a[r+172>>0]|0;n=(n&1)==0?(n&255)>>>1:c[r+172+4>>2]|0;if((c[r+168>>2]|0)==(l+n|0)){Sqb(r+172|0,n<<1,0);if(!(a[r+172>>0]&1))g=10;else g=(c[r+172>>2]&-2)+-1|0;Sqb(r+172|0,g,0);l=(a[r+172>>0]&1)==0?r+172+1|0:c[r+172+8>>2]|0;c[r+168>>2]=l+n}n=b+12|0;g=c[n>>2]|0;o=b+16|0;if((g|0)==(c[o>>2]|0))g=vi[c[(c[b>>2]|0)+36>>2]&2047](b)|0;else g=d[g>>0]|0;if(wtb(g&255,r+197|0,r+196|0,l,r+168|0,p,q,r+184|0,r+8|0,r+4|0,r,r+200|0)|0)break;g=c[n>>2]|0;if((g|0)==(c[o>>2]|0)){vi[c[(c[b>>2]|0)+40>>2]&2047](b)|0;continue}else{c[n>>2]=g+1;continue}}q=a[r+184>>0]|0;g=c[r+4>>2]|0;if(!((a[r+197>>0]|0)==0?1:(((q&1)==0?(q&255)>>>1:c[r+184+4>>2]|0)|0)==0))if((g-(r+8)|0)<160){q=c[r>>2]|0;c[r+4>>2]=g+4;c[g>>2]=q;g=g+4|0}h[k>>3]=+Atb(l,c[r+168>>2]|0,j);dtb(r+184|0,r+8|0,g,j);if(!b)b=0;else if((c[b+12>>2]|0)==(c[b+16>>2]|0))if((vi[c[(c[b>>2]|0)+36>>2]&2047](b)|0)==-1){c[e>>2]=0;b=0}b=(b|0)==0;do if(!m)s=41;else{if((c[m+12>>2]|0)==(c[m+16>>2]|0))if((vi[c[(c[m>>2]|0)+36>>2]&2047](m)|0)==-1){c[f>>2]=0;s=41;break}if(!b)s=42}while(0);if((s|0)==41)if(b)s=42;if((s|0)==42)c[j>>2]=c[j>>2]|2;s=c[e>>2]|0;Mqb(r+172|0);Mqb(r+184|0);i=r;return s|0}function Atb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0,g=0,h=0;h=i;i=i+16|0;if((a|0)==(b|0)){c[d>>2]=4;e=0.0}else{f=Mlb()|0;g=c[f>>2]|0;c[f>>2]=0;e=+Kpb(a,h,ctb()|0);a=c[f>>2]|0;if(!a)c[f>>2]=g;if((c[h>>2]|0)==(b|0)){if((a|0)==34)c[d>>2]=4}else{c[d>>2]=4;e=0.0}}i=h;return +e}function Btb(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;c[h+4>>2]=c[b>>2];c[h>>2]=c[d>>2];c[h+8>>2]=c[h+4>>2];c[h+12>>2]=c[h>>2];a=Ctb(a,h+8|0,h+12|0,e,f,g)|0;i=h;return a|0}function Ctb(b,e,f,g,j,k){b=b|0;e=e|0;f=f|0;g=g|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;r=i;i=i+240|0;vtb(r+184|0,g,r+200|0,r+199|0,r+198|0);b=0;while(1){if((b|0)==3)break;c[r+172+(b<<2)>>2]=0;b=b+1|0}if(!(a[r+172>>0]&1))b=10;else b=(c[r+172>>2]&-2)+-1|0;Sqb(r+172|0,b,0);l=(a[r+172>>0]&1)==0?r+172+1|0:c[r+172+8>>2]|0;c[r+168>>2]=l;c[r+4>>2]=r+8;c[r>>2]=0;a[r+197>>0]=1;a[r+196>>0]=69;p=a[r+199>>0]|0;q=a[r+198>>0]|0;b=c[e>>2]|0;a:while(1){if(!b)b=0;else if((c[b+12>>2]|0)==(c[b+16>>2]|0))if((vi[c[(c[b>>2]|0)+36>>2]&2047](b)|0)==-1){c[e>>2]=0;b=0}g=(b|0)==0;m=c[f>>2]|0;do if(!m)s=16;else{if((c[m+12>>2]|0)!=(c[m+16>>2]|0))if(g)break;else break a;if((vi[c[(c[m>>2]|0)+36>>2]&2047](m)|0)==-1){c[f>>2]=0;s=16;break}else if(g)break;else break a}while(0);if((s|0)==16){s=0;if(g){m=0;break}else m=0}n=a[r+172>>0]|0;n=(n&1)==0?(n&255)>>>1:c[r+172+4>>2]|0;if((c[r+168>>2]|0)==(l+n|0)){Sqb(r+172|0,n<<1,0);if(!(a[r+172>>0]&1))g=10;else g=(c[r+172>>2]&-2)+-1|0;Sqb(r+172|0,g,0);l=(a[r+172>>0]&1)==0?r+172+1|0:c[r+172+8>>2]|0;c[r+168>>2]=l+n}n=b+12|0;g=c[n>>2]|0;o=b+16|0;if((g|0)==(c[o>>2]|0))g=vi[c[(c[b>>2]|0)+36>>2]&2047](b)|0;else g=d[g>>0]|0;if(wtb(g&255,r+197|0,r+196|0,l,r+168|0,p,q,r+184|0,r+8|0,r+4|0,r,r+200|0)|0)break;g=c[n>>2]|0;if((g|0)==(c[o>>2]|0)){vi[c[(c[b>>2]|0)+40>>2]&2047](b)|0;continue}else{c[n>>2]=g+1;continue}}q=a[r+184>>0]|0;g=c[r+4>>2]|0;if(!((a[r+197>>0]|0)==0?1:(((q&1)==0?(q&255)>>>1:c[r+184+4>>2]|0)|0)==0))if((g-(r+8)|0)<160){q=c[r>>2]|0;c[r+4>>2]=g+4;c[g>>2]=q;g=g+4|0}h[k>>3]=+Dtb(l,c[r+168>>2]|0,j);dtb(r+184|0,r+8|0,g,j);if(!b)b=0;else if((c[b+12>>2]|0)==(c[b+16>>2]|0))if((vi[c[(c[b>>2]|0)+36>>2]&2047](b)|0)==-1){c[e>>2]=0;b=0}b=(b|0)==0;do if(!m)s=41;else{if((c[m+12>>2]|0)==(c[m+16>>2]|0))if((vi[c[(c[m>>2]|0)+36>>2]&2047](m)|0)==-1){c[f>>2]=0;s=41;break}if(!b)s=42}while(0);if((s|0)==41)if(b)s=42;if((s|0)==42)c[j>>2]=c[j>>2]|2;s=c[e>>2]|0;Mqb(r+172|0);Mqb(r+184|0);i=r;return s|0}function Dtb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0,g=0,h=0;h=i;i=i+16|0;if((a|0)==(b|0)){c[d>>2]=4;e=0.0}else{f=Mlb()|0;g=c[f>>2]|0;c[f>>2]=0;e=+Kpb(a,h,ctb()|0);a=c[f>>2]|0;if(!a)c[f>>2]=g;if((c[h>>2]|0)==(b|0)){if((a|0)==34)c[d>>2]=4}else{c[d>>2]=4;e=0.0}}i=h;return +e}function Etb(b,e,f,g,h,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0;o=i;i=i+240|0;b=0;while(1){if((b|0)==3)break;c[o+196+(b<<2)>>2]=0;b=b+1|0}b=ssb(g)|0;c[o+192>>2]=b;n=Usb(o+192|0,1203596)|0;cj[c[(c[n>>2]|0)+32>>2]&127](n,617692,617718,o+208|0)|0;eAb(b)|0;b=0;while(1){if((b|0)==3)break;c[o+180+(b<<2)>>2]=0;b=b+1|0}if(!(a[o+180>>0]&1))b=10;else b=(c[o+180>>2]&-2)+-1|0;Sqb(o+180|0,b,0);g=(a[o+180>>0]&1)==0?o+180+1|0:c[o+180+8>>2]|0;c[o+176>>2]=g;c[o+8>>2]=o+16;c[o+4>>2]=0;b=c[e>>2]|0;a:while(1){if(!b)b=0;else if((c[b+12>>2]|0)==(c[b+16>>2]|0))if((vi[c[(c[b>>2]|0)+36>>2]&2047](b)|0)==-1){c[e>>2]=0;b=0}k=(b|0)==0;l=c[f>>2]|0;do if(!l)p=19;else{if((c[l+12>>2]|0)!=(c[l+16>>2]|0))if(k)break;else break a;if((vi[c[(c[l>>2]|0)+36>>2]&2047](l)|0)==-1){c[f>>2]=0;p=19;break}else if(k)break;else break a}while(0);if((p|0)==19){p=0;if(k){l=0;break}else l=0}k=a[o+180>>0]|0;k=(k&1)==0?(k&255)>>>1:c[o+180+4>>2]|0;if((c[o+176>>2]|0)==(g+k|0)){Sqb(o+180|0,k<<1,0);if(!(a[o+180>>0]&1))g=10;else g=(c[o+180>>2]&-2)+-1|0;Sqb(o+180|0,g,0);g=(a[o+180>>0]&1)==0?o+180+1|0:c[o+180+8>>2]|0;c[o+176>>2]=g+k}m=b+12|0;k=c[m>>2]|0;n=b+16|0;if((k|0)==(c[n>>2]|0))k=vi[c[(c[b>>2]|0)+36>>2]&2047](b)|0;else k=d[k>>0]|0;if(atb(k&255,16,g,o+176|0,o+4|0,0,o+196|0,o+16|0,o+8|0,o+208|0)|0)break;k=c[m>>2]|0;if((k|0)==(c[n>>2]|0)){vi[c[(c[b>>2]|0)+40>>2]&2047](b)|0;continue}else{c[m>>2]=k+1;continue}}Sqb(o+180|0,(c[o+176>>2]|0)-g|0,0);m=(a[o+180>>0]&1)==0?o+180+1|0:c[o+180+8>>2]|0;n=ctb()|0;c[o>>2]=j;if((Ftb(m,n,617727,o)|0)!=1)c[h>>2]=4;if(!b)b=0;else if((c[b+12>>2]|0)==(c[b+16>>2]|0))if((vi[c[(c[b>>2]|0)+36>>2]&2047](b)|0)==-1){c[e>>2]=0;b=0}b=(b|0)==0;do if(!l)p=43;else{if((c[l+12>>2]|0)==(c[l+16>>2]|0))if((vi[c[(c[l>>2]|0)+36>>2]&2047](l)|0)==-1){c[f>>2]=0;p=43;break}if(!b)p=44}while(0);if((p|0)==43)if(b)p=44;if((p|0)==44)c[h>>2]=c[h>>2]|2;p=c[e>>2]|0;Mqb(o+180|0);Mqb(o+196|0);i=o;return p|0}function Ftb(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+16|0;c[f>>2]=e;e=Dnb(b)|0;b=iob(a,d,f)|0;if(e|0)Dnb(e)|0;i=f;return b|0}function Gtb(a){a=a|0;return}function Htb(a){a=a|0;oAb(a);return}function Itb(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0;j=i;i=i+64|0;if(!(c[f+4>>2]&1)){c[j+20>>2]=-1;k=c[(c[b>>2]|0)+16>>2]|0;c[j+16>>2]=c[d>>2];c[j+12>>2]=c[e>>2];c[j+24>>2]=c[j+16>>2];c[j+48>>2]=c[j+12>>2];e=ti[k&63](b,j+24|0,j+48|0,f,g,j+20|0)|0;c[d>>2]=e;switch(c[j+20>>2]|0){case 0:{a[h>>0]=0;break}case 1:{a[h>>0]=1;break}default:{a[h>>0]=1;c[g>>2]=4}}}else{b=ssb(f)|0;c[j+8>>2]=b;k=Usb(j+8|0,1203628)|0;eAb(b)|0;f=ssb(f)|0;c[j+4>>2]=f;b=Usb(j+4|0,1203636)|0;eAb(f)|0;si[c[(c[b>>2]|0)+24>>2]&511](j+24|0,b);si[c[(c[b>>2]|0)+28>>2]&511](j+24+12|0,b);c[j>>2]=c[e>>2];c[j+48>>2]=c[j>>2];a[h>>0]=(Jtb(d,j+48|0,j+24|0,j+24+24|0,k,g,1)|0)==(j+24|0)&1;e=c[d>>2]|0;jrb(j+24+12|0);jrb(j+24|0)}i=j;return e|0}function Jtb(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=i;i=i+112|0;if(((f-e|0)/12|0)>>>0>100){l=Vpb((f-e|0)/12|0)|0;if(!l)eBb();else{u=l;k=l}}else{u=0;k=w}o=e;l=0;m=(f-e|0)/12|0;p=k;while(1){if((o|0)==(f|0))break;n=a[o>>0]|0;if(!(n&1))n=(n&255)>>>1;else n=c[o+4>>2]|0;if(!n){a[p>>0]=2;l=l+1|0;m=m+-1|0}else a[p>>0]=1;o=o+12|0;p=p+1|0}t=0;q=l;a:while(1){l=c[b>>2]|0;do if(!l)o=1;else{n=c[l+12>>2]|0;if((n|0)==(c[l+16>>2]|0))l=vi[c[(c[l>>2]|0)+36>>2]&2047](l)|0;else l=c[n>>2]|0;if((l|0)==-1){c[b>>2]=0;o=1;break}else{o=(c[b>>2]|0)==0;break}}while(0);n=c[d>>2]|0;if(!n){n=0;l=1}else{l=c[n+12>>2]|0;if((l|0)==(c[n+16>>2]|0))l=vi[c[(c[n>>2]|0)+36>>2]&2047](n)|0;else l=c[l>>2]|0;if((l|0)==-1){c[d>>2]=0;n=0;l=1}else l=0}p=c[b>>2]|0;if(!((m|0)!=0&(o^l)))break;l=c[p+12>>2]|0;if((l|0)==(c[p+16>>2]|0))l=vi[c[(c[p>>2]|0)+36>>2]&2047](p)|0;else l=c[l>>2]|0;if(!j)l=Xi[c[(c[g>>2]|0)+28>>2]&511](g,l)|0;s=t+1|0;p=0;r=e;o=q;q=k;while(1){if((r|0)==(f|0))break;do if((a[q>>0]|0)==1){if(!(a[r>>0]&1))n=r+4|0;else n=c[r+8>>2]|0;n=c[n+(t<<2)>>2]|0;if(!j)n=Xi[c[(c[g>>2]|0)+28>>2]&511](g,n)|0;if((l|0)!=(n|0)){a[q>>0]=0;n=p;m=m+-1|0;break}n=a[r>>0]|0;if(!(n&1))n=(n&255)>>>1;else n=c[r+4>>2]|0;if((n|0)==(s|0)){a[q>>0]=2;n=1;o=o+1|0;m=m+-1|0}else n=1}else n=p;while(0);p=n;r=r+12|0;q=q+1|0}if(!p){t=s;q=o;continue}l=c[b>>2]|0;n=c[l+12>>2]|0;if((n|0)==(c[l+16>>2]|0))vi[c[(c[l>>2]|0)+40>>2]&2047](l)|0;else c[l+12>>2]=n+4;if((o+m|0)>>>0>1){p=e;l=o;o=k}else{t=s;q=o;continue}while(1){if((p|0)==(f|0)){t=s;q=l;continue a}if((a[o>>0]|0)==2){n=a[p>>0]|0;if(!(n&1))n=(n&255)>>>1;else n=c[p+4>>2]|0;if((n|0)!=(s|0)){a[o>>0]=0;l=l+-1|0}}p=p+12|0;o=o+1|0}}do if(!p)m=1;else{l=c[p+12>>2]|0;if((l|0)==(c[p+16>>2]|0))l=vi[c[(c[p>>2]|0)+36>>2]&2047](p)|0;else l=c[l>>2]|0;if((l|0)==-1){c[b>>2]=0;m=1;break}else{m=(c[b>>2]|0)==0;break}}while(0);do if(!n)v=41;else{l=c[n+12>>2]|0;if((l|0)==(c[n+16>>2]|0))l=vi[c[(c[n>>2]|0)+36>>2]&2047](n)|0;else l=c[l>>2]|0;if((l|0)==-1){c[d>>2]=0;v=41;break}else if(m)break;else{v=77;break}}while(0);if((v|0)==41)if(m)v=77;if((v|0)==77)c[h>>2]=c[h>>2]|2;while(1){if((e|0)==(f|0)){v=81;break}if((a[k>>0]|0)==2)break;e=e+12|0;k=k+1|0}if((v|0)==81){c[h>>2]=c[h>>2]|4;e=f}Wpb(u);i=w;return e|0}function Ktb(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;c[h+4>>2]=c[b>>2];c[h>>2]=c[d>>2];c[h+8>>2]=c[h+4>>2];c[h+12>>2]=c[h>>2];a=Ltb(a,h+8|0,h+12|0,e,f,g)|0;i=h;return a|0}function Ltb(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;p=i;i=i+304|0;switch(c[f+4>>2]&74|0){case 64:{o=8;break}case 8:{o=16;break}case 0:{o=0;break}default:o=10}Mtb(p+184|0,f,p+200|0,p+196|0);b=0;while(1){if((b|0)==3)break;c[p+172+(b<<2)>>2]=0;b=b+1|0}if(!(a[p+172>>0]&1))b=10;else b=(c[p+172>>2]&-2)+-1|0;Sqb(p+172|0,b,0);f=(a[p+172>>0]&1)==0?p+172+1|0:c[p+172+8>>2]|0;c[p+168>>2]=f;c[p+4>>2]=p+8;c[p>>2]=0;n=c[p+196>>2]|0;j=c[d>>2]|0;a:while(1){if(!j){j=0;k=1}else{b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=vi[c[(c[j>>2]|0)+36>>2]&2047](j)|0;else b=c[b>>2]|0;if((b|0)==-1){c[d>>2]=0;j=0;k=1}else k=0}l=c[e>>2]|0;do if(!l)q=23;else{b=c[l+12>>2]|0;if((b|0)==(c[l+16>>2]|0))b=vi[c[(c[l>>2]|0)+36>>2]&2047](l)|0;else b=c[b>>2]|0;if((b|0)==-1){c[e>>2]=0;q=23;break}else if(k)break;else break a}while(0);if((q|0)==23){q=0;if(k){l=0;break}else l=0}k=a[p+172>>0]|0;k=(k&1)==0?(k&255)>>>1:c[p+172+4>>2]|0;if((c[p+168>>2]|0)==(f+k|0)){Sqb(p+172|0,k<<1,0);if(!(a[p+172>>0]&1))b=10;else b=(c[p+172>>2]&-2)+-1|0;Sqb(p+172|0,b,0);f=(a[p+172>>0]&1)==0?p+172+1|0:c[p+172+8>>2]|0;c[p+168>>2]=f+k}k=j+12|0;b=c[k>>2]|0;m=j+16|0;if((b|0)==(c[m>>2]|0))b=vi[c[(c[j>>2]|0)+36>>2]&2047](j)|0;else b=c[b>>2]|0;if(Ntb(b,o,f,p+168|0,p,n,p+184|0,p+8|0,p+4|0,p+200|0)|0)break;b=c[k>>2]|0;if((b|0)==(c[m>>2]|0)){vi[c[(c[j>>2]|0)+40>>2]&2047](j)|0;continue}else{c[k>>2]=b+4;continue}}n=a[p+184>>0]|0;b=c[p+4>>2]|0;if(((n&1)==0?(n&255)>>>1:c[p+184+4>>2]|0)|0)if((b-(p+8)|0)<160){n=c[p>>2]|0;c[p+4>>2]=b+4;c[b>>2]=n;b=b+4|0}c[h>>2]=btb(f,c[p+168>>2]|0,g,o)|0;dtb(p+184|0,p+8|0,b,g);if(!j)f=1;else{b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=vi[c[(c[j>>2]|0)+36>>2]&2047](j)|0;else b=c[b>>2]|0;if((b|0)==-1){c[d>>2]=0;f=1}else f=0}do if(!l)q=51;else{b=c[l+12>>2]|0;if((b|0)==(c[l+16>>2]|0))b=vi[c[(c[l>>2]|0)+36>>2]&2047](l)|0;else b=c[b>>2]|0;if((b|0)==-1){c[e>>2]=0;q=51;break}else if(f)break;else{q=53;break}}while(0);if((q|0)==51)if(f)q=53;if((q|0)==53)c[g>>2]=c[g>>2]|2;q=c[d>>2]|0;Mqb(p+172|0);Mqb(p+184|0);i=p;return q|0}function Mtb(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=i;i=i+16|0;b=ssb(b)|0;c[f>>2]=b;g=Usb(f,1203628)|0;cj[c[(c[g>>2]|0)+48>>2]&127](g,617692,617718,d)|0;d=Usb(f,1203636)|0;c[e>>2]=vi[c[(c[d>>2]|0)+16>>2]&2047](d)|0;si[c[(c[d>>2]|0)+20>>2]&511](a,d);eAb(b)|0;i=f;return}function Ntb(b,d,e,f,g,h,i,j,k,l){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0;o=c[f>>2]|0;do if((o|0)==(e|0)){m=(c[l+96>>2]|0)==(b|0);if(!m)if((c[l+100>>2]|0)!=(b|0)){n=5;break}c[f>>2]=e+1;a[e>>0]=m?43:45;c[g>>2]=0;m=0}else n=5;while(0);a:do if((n|0)==5){n=a[i>>0]|0;if((b|0)==(h|0)?(((n&1)==0?(n&255)>>>1:c[i+4>>2]|0)|0)!=0:0){m=c[k>>2]|0;if((m-j|0)>=160){m=0;break}d=c[g>>2]|0;c[k>>2]=m+4;c[m>>2]=d;c[g>>2]=0;m=0;break}m=l;while(1){if((m|0)==(l+104|0)){m=l+104|0;break}if((c[m>>2]|0)==(b|0))break;m=m+4|0}m=m-l|0;if((m|0)>92)m=-1;else{switch(d|0){case 10:case 8:{if((m>>2|0)>=(d|0)){m=-1;break a}break}case 16:{if((m|0)>=88){if((o|0)==(e|0)){m=-1;break a}if((o-e|0)>=3){m=-1;break a}if((a[o+-1>>0]|0)!=48){m=-1;break a}c[g>>2]=0;m=a[617692+(m>>2)>>0]|0;c[f>>2]=o+1;a[o>>0]=m;m=0;break a}break}default:{}}m=a[617692+(m>>2)>>0]|0;c[f>>2]=o+1;a[o>>0]=m;c[g>>2]=(c[g>>2]|0)+1;m=0}}while(0);return m|0}function Otb(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;c[h+4>>2]=c[b>>2];c[h>>2]=c[d>>2];c[h+8>>2]=c[h+4>>2];c[h+12>>2]=c[h>>2];a=Ptb(a,h+8|0,h+12|0,e,f,g)|0;i=h;return a|0}function Ptb(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;p=i;i=i+304|0;switch(c[f+4>>2]&74|0){case 64:{o=8;break}case 8:{o=16;break}case 0:{o=0;break}default:o=10}Mtb(p+184|0,f,p+200|0,p+196|0);b=0;while(1){if((b|0)==3)break;c[p+172+(b<<2)>>2]=0;b=b+1|0}if(!(a[p+172>>0]&1))b=10;else b=(c[p+172>>2]&-2)+-1|0;Sqb(p+172|0,b,0);f=(a[p+172>>0]&1)==0?p+172+1|0:c[p+172+8>>2]|0;c[p+168>>2]=f;c[p+4>>2]=p+8;c[p>>2]=0;n=c[p+196>>2]|0;j=c[d>>2]|0;a:while(1){if(!j){j=0;k=1}else{b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=vi[c[(c[j>>2]|0)+36>>2]&2047](j)|0;else b=c[b>>2]|0;if((b|0)==-1){c[d>>2]=0;j=0;k=1}else k=0}l=c[e>>2]|0;do if(!l)q=23;else{b=c[l+12>>2]|0;if((b|0)==(c[l+16>>2]|0))b=vi[c[(c[l>>2]|0)+36>>2]&2047](l)|0;else b=c[b>>2]|0;if((b|0)==-1){c[e>>2]=0;q=23;break}else if(k)break;else break a}while(0);if((q|0)==23){q=0;if(k){l=0;break}else l=0}k=a[p+172>>0]|0;k=(k&1)==0?(k&255)>>>1:c[p+172+4>>2]|0;if((c[p+168>>2]|0)==(f+k|0)){Sqb(p+172|0,k<<1,0);if(!(a[p+172>>0]&1))b=10;else b=(c[p+172>>2]&-2)+-1|0;Sqb(p+172|0,b,0);f=(a[p+172>>0]&1)==0?p+172+1|0:c[p+172+8>>2]|0;c[p+168>>2]=f+k}k=j+12|0;b=c[k>>2]|0;m=j+16|0;if((b|0)==(c[m>>2]|0))b=vi[c[(c[j>>2]|0)+36>>2]&2047](j)|0;else b=c[b>>2]|0;if(Ntb(b,o,f,p+168|0,p,n,p+184|0,p+8|0,p+4|0,p+200|0)|0)break;b=c[k>>2]|0;if((b|0)==(c[m>>2]|0)){vi[c[(c[j>>2]|0)+40>>2]&2047](j)|0;continue}else{c[k>>2]=b+4;continue}}n=a[p+184>>0]|0;b=c[p+4>>2]|0;if(((n&1)==0?(n&255)>>>1:c[p+184+4>>2]|0)|0)if((b-(p+8)|0)<160){n=c[p>>2]|0;c[p+4>>2]=b+4;c[b>>2]=n;b=b+4|0}o=gtb(f,c[p+168>>2]|0,g,o)|0;c[h>>2]=o;c[h+4>>2]=C;dtb(p+184|0,p+8|0,b,g);if(!j)f=1;else{b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=vi[c[(c[j>>2]|0)+36>>2]&2047](j)|0;else b=c[b>>2]|0;if((b|0)==-1){c[d>>2]=0;f=1}else f=0}do if(!l)q=51;else{b=c[l+12>>2]|0;if((b|0)==(c[l+16>>2]|0))b=vi[c[(c[l>>2]|0)+36>>2]&2047](l)|0;else b=c[b>>2]|0;if((b|0)==-1){c[e>>2]=0;q=51;break}else if(f)break;else{q=53;break}}while(0);if((q|0)==51)if(f)q=53;if((q|0)==53)c[g>>2]=c[g>>2]|2;q=c[d>>2]|0;Mqb(p+172|0);Mqb(p+184|0);i=p;return q|0}function Qtb(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;c[h+4>>2]=c[b>>2];c[h>>2]=c[d>>2];c[h+8>>2]=c[h+4>>2];c[h+12>>2]=c[h>>2];a=Rtb(a,h+8|0,h+12|0,e,f,g)|0;i=h;return a|0}function Rtb(d,e,f,g,h,j){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;q=i;i=i+304|0;switch(c[g+4>>2]&74|0){case 64:{p=8;break}case 8:{p=16;break}case 0:{p=0;break}default:p=10}Mtb(q+184|0,g,q+200|0,q+196|0);d=0;while(1){if((d|0)==3)break;c[q+172+(d<<2)>>2]=0;d=d+1|0}if(!(a[q+172>>0]&1))d=10;else d=(c[q+172>>2]&-2)+-1|0;Sqb(q+172|0,d,0);g=(a[q+172>>0]&1)==0?q+172+1|0:c[q+172+8>>2]|0;c[q+168>>2]=g;c[q+4>>2]=q+8;c[q>>2]=0;o=c[q+196>>2]|0;k=c[e>>2]|0;a:while(1){if(!k){k=0;l=1}else{d=c[k+12>>2]|0;if((d|0)==(c[k+16>>2]|0))d=vi[c[(c[k>>2]|0)+36>>2]&2047](k)|0;else d=c[d>>2]|0;if((d|0)==-1){c[e>>2]=0;k=0;l=1}else l=0}m=c[f>>2]|0;do if(!m)r=23;else{d=c[m+12>>2]|0;if((d|0)==(c[m+16>>2]|0))d=vi[c[(c[m>>2]|0)+36>>2]&2047](m)|0;else d=c[d>>2]|0;if((d|0)==-1){c[f>>2]=0;r=23;break}else if(l)break;else break a}while(0);if((r|0)==23){r=0;if(l){m=0;break}else m=0}l=a[q+172>>0]|0;l=(l&1)==0?(l&255)>>>1:c[q+172+4>>2]|0;if((c[q+168>>2]|0)==(g+l|0)){Sqb(q+172|0,l<<1,0);if(!(a[q+172>>0]&1))d=10;else d=(c[q+172>>2]&-2)+-1|0;Sqb(q+172|0,d,0);g=(a[q+172>>0]&1)==0?q+172+1|0:c[q+172+8>>2]|0;c[q+168>>2]=g+l}l=k+12|0;d=c[l>>2]|0;n=k+16|0;if((d|0)==(c[n>>2]|0))d=vi[c[(c[k>>2]|0)+36>>2]&2047](k)|0;else d=c[d>>2]|0;if(Ntb(d,p,g,q+168|0,q,o,q+184|0,q+8|0,q+4|0,q+200|0)|0)break;d=c[l>>2]|0;if((d|0)==(c[n>>2]|0)){vi[c[(c[k>>2]|0)+40>>2]&2047](k)|0;continue}else{c[l>>2]=d+4;continue}}o=a[q+184>>0]|0;d=c[q+4>>2]|0;if(((o&1)==0?(o&255)>>>1:c[q+184+4>>2]|0)|0)if((d-(q+8)|0)<160){o=c[q>>2]|0;c[q+4>>2]=d+4;c[d>>2]=o;d=d+4|0}b[j>>1]=jtb(g,c[q+168>>2]|0,h,p)|0;dtb(q+184|0,q+8|0,d,h);if(!k)g=1;else{d=c[k+12>>2]|0;if((d|0)==(c[k+16>>2]|0))d=vi[c[(c[k>>2]|0)+36>>2]&2047](k)|0;else d=c[d>>2]|0;if((d|0)==-1){c[e>>2]=0;g=1}else g=0}do if(!m)r=51;else{d=c[m+12>>2]|0;if((d|0)==(c[m+16>>2]|0))d=vi[c[(c[m>>2]|0)+36>>2]&2047](m)|0;else d=c[d>>2]|0;if((d|0)==-1){c[f>>2]=0;r=51;break}else if(g)break;else{r=53;break}}while(0);if((r|0)==51)if(g)r=53;if((r|0)==53)c[h>>2]=c[h>>2]|2;r=c[e>>2]|0;Mqb(q+172|0);Mqb(q+184|0);i=q;return r|0}function Stb(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;c[h+4>>2]=c[b>>2];c[h>>2]=c[d>>2];c[h+8>>2]=c[h+4>>2];c[h+12>>2]=c[h>>2];a=Ttb(a,h+8|0,h+12|0,e,f,g)|0;i=h;return a|0}function Ttb(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;p=i;i=i+304|0;switch(c[f+4>>2]&74|0){case 64:{o=8;break}case 8:{o=16;break}case 0:{o=0;break}default:o=10}Mtb(p+184|0,f,p+200|0,p+196|0);b=0;while(1){if((b|0)==3)break;c[p+172+(b<<2)>>2]=0;b=b+1|0}if(!(a[p+172>>0]&1))b=10;else b=(c[p+172>>2]&-2)+-1|0;Sqb(p+172|0,b,0);f=(a[p+172>>0]&1)==0?p+172+1|0:c[p+172+8>>2]|0;c[p+168>>2]=f;c[p+4>>2]=p+8;c[p>>2]=0;n=c[p+196>>2]|0;j=c[d>>2]|0;a:while(1){if(!j){j=0;k=1}else{b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=vi[c[(c[j>>2]|0)+36>>2]&2047](j)|0;else b=c[b>>2]|0;if((b|0)==-1){c[d>>2]=0;j=0;k=1}else k=0}l=c[e>>2]|0;do if(!l)q=23;else{b=c[l+12>>2]|0;if((b|0)==(c[l+16>>2]|0))b=vi[c[(c[l>>2]|0)+36>>2]&2047](l)|0;else b=c[b>>2]|0;if((b|0)==-1){c[e>>2]=0;q=23;break}else if(k)break;else break a}while(0);if((q|0)==23){q=0;if(k){l=0;break}else l=0}k=a[p+172>>0]|0;k=(k&1)==0?(k&255)>>>1:c[p+172+4>>2]|0;if((c[p+168>>2]|0)==(f+k|0)){Sqb(p+172|0,k<<1,0);if(!(a[p+172>>0]&1))b=10;else b=(c[p+172>>2]&-2)+-1|0;Sqb(p+172|0,b,0);f=(a[p+172>>0]&1)==0?p+172+1|0:c[p+172+8>>2]|0;c[p+168>>2]=f+k}k=j+12|0;b=c[k>>2]|0;m=j+16|0;if((b|0)==(c[m>>2]|0))b=vi[c[(c[j>>2]|0)+36>>2]&2047](j)|0;else b=c[b>>2]|0;if(Ntb(b,o,f,p+168|0,p,n,p+184|0,p+8|0,p+4|0,p+200|0)|0)break;b=c[k>>2]|0;if((b|0)==(c[m>>2]|0)){vi[c[(c[j>>2]|0)+40>>2]&2047](j)|0;continue}else{c[k>>2]=b+4;continue}}n=a[p+184>>0]|0;b=c[p+4>>2]|0;if(((n&1)==0?(n&255)>>>1:c[p+184+4>>2]|0)|0)if((b-(p+8)|0)<160){n=c[p>>2]|0;c[p+4>>2]=b+4;c[b>>2]=n;b=b+4|0}c[h>>2]=mtb(f,c[p+168>>2]|0,g,o)|0;dtb(p+184|0,p+8|0,b,g);if(!j)f=1;else{b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=vi[c[(c[j>>2]|0)+36>>2]&2047](j)|0;else b=c[b>>2]|0;if((b|0)==-1){c[d>>2]=0;f=1}else f=0}do if(!l)q=51;else{b=c[l+12>>2]|0;if((b|0)==(c[l+16>>2]|0))b=vi[c[(c[l>>2]|0)+36>>2]&2047](l)|0;else b=c[b>>2]|0;if((b|0)==-1){c[e>>2]=0;q=51;break}else if(f)break;else{q=53;break}}while(0);if((q|0)==51)if(f)q=53;if((q|0)==53)c[g>>2]=c[g>>2]|2;q=c[d>>2]|0;Mqb(p+172|0);Mqb(p+184|0);i=p;return q|0}function Utb(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;c[h+4>>2]=c[b>>2];c[h>>2]=c[d>>2];c[h+8>>2]=c[h+4>>2];c[h+12>>2]=c[h>>2];a=Vtb(a,h+8|0,h+12|0,e,f,g)|0;i=h;return a|0}function Vtb(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;p=i;i=i+304|0;switch(c[f+4>>2]&74|0){case 64:{o=8;break}case 8:{o=16;break}case 0:{o=0;break}default:o=10}Mtb(p+184|0,f,p+200|0,p+196|0);b=0;while(1){if((b|0)==3)break;c[p+172+(b<<2)>>2]=0;b=b+1|0}if(!(a[p+172>>0]&1))b=10;else b=(c[p+172>>2]&-2)+-1|0;Sqb(p+172|0,b,0);f=(a[p+172>>0]&1)==0?p+172+1|0:c[p+172+8>>2]|0;c[p+168>>2]=f;c[p+4>>2]=p+8;c[p>>2]=0;n=c[p+196>>2]|0;j=c[d>>2]|0;a:while(1){if(!j){j=0;k=1}else{b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=vi[c[(c[j>>2]|0)+36>>2]&2047](j)|0;else b=c[b>>2]|0;if((b|0)==-1){c[d>>2]=0;j=0;k=1}else k=0}l=c[e>>2]|0;do if(!l)q=23;else{b=c[l+12>>2]|0;if((b|0)==(c[l+16>>2]|0))b=vi[c[(c[l>>2]|0)+36>>2]&2047](l)|0;else b=c[b>>2]|0;if((b|0)==-1){c[e>>2]=0;q=23;break}else if(k)break;else break a}while(0);if((q|0)==23){q=0;if(k){l=0;break}else l=0}k=a[p+172>>0]|0;k=(k&1)==0?(k&255)>>>1:c[p+172+4>>2]|0;if((c[p+168>>2]|0)==(f+k|0)){Sqb(p+172|0,k<<1,0);if(!(a[p+172>>0]&1))b=10;else b=(c[p+172>>2]&-2)+-1|0;Sqb(p+172|0,b,0);f=(a[p+172>>0]&1)==0?p+172+1|0:c[p+172+8>>2]|0;c[p+168>>2]=f+k}k=j+12|0;b=c[k>>2]|0;m=j+16|0;if((b|0)==(c[m>>2]|0))b=vi[c[(c[j>>2]|0)+36>>2]&2047](j)|0;else b=c[b>>2]|0;if(Ntb(b,o,f,p+168|0,p,n,p+184|0,p+8|0,p+4|0,p+200|0)|0)break;b=c[k>>2]|0;if((b|0)==(c[m>>2]|0)){vi[c[(c[j>>2]|0)+40>>2]&2047](j)|0;continue}else{c[k>>2]=b+4;continue}}n=a[p+184>>0]|0;b=c[p+4>>2]|0;if(((n&1)==0?(n&255)>>>1:c[p+184+4>>2]|0)|0)if((b-(p+8)|0)<160){n=c[p>>2]|0;c[p+4>>2]=b+4;c[b>>2]=n;b=b+4|0}c[h>>2]=ptb(f,c[p+168>>2]|0,g,o)|0;dtb(p+184|0,p+8|0,b,g);if(!j)f=1;else{b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=vi[c[(c[j>>2]|0)+36>>2]&2047](j)|0;else b=c[b>>2]|0;if((b|0)==-1){c[d>>2]=0;f=1}else f=0}do if(!l)q=51;else{b=c[l+12>>2]|0;if((b|0)==(c[l+16>>2]|0))b=vi[c[(c[l>>2]|0)+36>>2]&2047](l)|0;else b=c[b>>2]|0;if((b|0)==-1){c[e>>2]=0;q=51;break}else if(f)break;else{q=53;break}}while(0);if((q|0)==51)if(f)q=53;if((q|0)==53)c[g>>2]=c[g>>2]|2;q=c[d>>2]|0;Mqb(p+172|0);Mqb(p+184|0);i=p;return q|0}function Wtb(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;c[h+4>>2]=c[b>>2];c[h>>2]=c[d>>2];c[h+8>>2]=c[h+4>>2];c[h+12>>2]=c[h>>2];a=Xtb(a,h+8|0,h+12|0,e,f,g)|0;i=h;return a|0}function Xtb(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;p=i;i=i+304|0;switch(c[f+4>>2]&74|0){case 64:{o=8;break}case 8:{o=16;break}case 0:{o=0;break}default:o=10}Mtb(p+184|0,f,p+200|0,p+196|0);b=0;while(1){if((b|0)==3)break;c[p+172+(b<<2)>>2]=0;b=b+1|0}if(!(a[p+172>>0]&1))b=10;else b=(c[p+172>>2]&-2)+-1|0;Sqb(p+172|0,b,0);f=(a[p+172>>0]&1)==0?p+172+1|0:c[p+172+8>>2]|0;c[p+168>>2]=f;c[p+4>>2]=p+8;c[p>>2]=0;n=c[p+196>>2]|0;j=c[d>>2]|0;a:while(1){if(!j){j=0;k=1}else{b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=vi[c[(c[j>>2]|0)+36>>2]&2047](j)|0;else b=c[b>>2]|0;if((b|0)==-1){c[d>>2]=0;j=0;k=1}else k=0}l=c[e>>2]|0;do if(!l)q=23;else{b=c[l+12>>2]|0;if((b|0)==(c[l+16>>2]|0))b=vi[c[(c[l>>2]|0)+36>>2]&2047](l)|0;else b=c[b>>2]|0;if((b|0)==-1){c[e>>2]=0;q=23;break}else if(k)break;else break a}while(0);if((q|0)==23){q=0;if(k){l=0;break}else l=0}k=a[p+172>>0]|0;k=(k&1)==0?(k&255)>>>1:c[p+172+4>>2]|0;if((c[p+168>>2]|0)==(f+k|0)){Sqb(p+172|0,k<<1,0);if(!(a[p+172>>0]&1))b=10;else b=(c[p+172>>2]&-2)+-1|0;Sqb(p+172|0,b,0);f=(a[p+172>>0]&1)==0?p+172+1|0:c[p+172+8>>2]|0;c[p+168>>2]=f+k}k=j+12|0;b=c[k>>2]|0;m=j+16|0;if((b|0)==(c[m>>2]|0))b=vi[c[(c[j>>2]|0)+36>>2]&2047](j)|0;else b=c[b>>2]|0;if(Ntb(b,o,f,p+168|0,p,n,p+184|0,p+8|0,p+4|0,p+200|0)|0)break;b=c[k>>2]|0;if((b|0)==(c[m>>2]|0)){vi[c[(c[j>>2]|0)+40>>2]&2047](j)|0;continue}else{c[k>>2]=b+4;continue}}n=a[p+184>>0]|0;b=c[p+4>>2]|0;if(((n&1)==0?(n&255)>>>1:c[p+184+4>>2]|0)|0)if((b-(p+8)|0)<160){n=c[p>>2]|0;c[p+4>>2]=b+4;c[b>>2]=n;b=b+4|0}o=stb(f,c[p+168>>2]|0,g,o)|0;c[h>>2]=o;c[h+4>>2]=C;dtb(p+184|0,p+8|0,b,g);if(!j)f=1;else{b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=vi[c[(c[j>>2]|0)+36>>2]&2047](j)|0;else b=c[b>>2]|0;if((b|0)==-1){c[d>>2]=0;f=1}else f=0}do if(!l)q=51;else{b=c[l+12>>2]|0;if((b|0)==(c[l+16>>2]|0))b=vi[c[(c[l>>2]|0)+36>>2]&2047](l)|0;else b=c[b>>2]|0;if((b|0)==-1){c[e>>2]=0;q=51;break}else if(f)break;else{q=53;break}}while(0);if((q|0)==51)if(f)q=53;if((q|0)==53)c[g>>2]=c[g>>2]|2;q=c[d>>2]|0;Mqb(p+172|0);Mqb(p+184|0);i=p;return q|0}function Ytb(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;c[h+4>>2]=c[b>>2];c[h>>2]=c[d>>2];c[h+8>>2]=c[h+4>>2];c[h+12>>2]=c[h>>2];a=Ztb(a,h+8|0,h+12|0,e,f,g)|0;i=h;return a|0}function Ztb(b,d,e,f,h,j){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;q=i;i=i+352|0;_tb(q+184|0,f,q+208|0,q+200|0,q+196|0);b=0;while(1){if((b|0)==3)break;c[q+172+(b<<2)>>2]=0;b=b+1|0}if(!(a[q+172>>0]&1))b=10;else b=(c[q+172>>2]&-2)+-1|0;Sqb(q+172|0,b,0);f=(a[q+172>>0]&1)==0?q+172+1|0:c[q+172+8>>2]|0;c[q+168>>2]=f;c[q+4>>2]=q+8;c[q>>2]=0;a[q+337>>0]=1;a[q+336>>0]=69;o=c[q+200>>2]|0;p=c[q+196>>2]|0;k=c[d>>2]|0;a:while(1){if(!k){k=0;l=1}else{b=c[k+12>>2]|0;if((b|0)==(c[k+16>>2]|0))b=vi[c[(c[k>>2]|0)+36>>2]&2047](k)|0;else b=c[b>>2]|0;if((b|0)==-1){c[d>>2]=0;k=0;l=1}else l=0}m=c[e>>2]|0;do if(!m)r=19;else{b=c[m+12>>2]|0;if((b|0)==(c[m+16>>2]|0))b=vi[c[(c[m>>2]|0)+36>>2]&2047](m)|0;else b=c[b>>2]|0;if((b|0)==-1){c[e>>2]=0;r=19;break}else if(l)break;else break a}while(0);if((r|0)==19){r=0;if(l){m=0;break}else m=0}l=a[q+172>>0]|0;l=(l&1)==0?(l&255)>>>1:c[q+172+4>>2]|0;if((c[q+168>>2]|0)==(f+l|0)){Sqb(q+172|0,l<<1,0);if(!(a[q+172>>0]&1))b=10;else b=(c[q+172>>2]&-2)+-1|0;Sqb(q+172|0,b,0);f=(a[q+172>>0]&1)==0?q+172+1|0:c[q+172+8>>2]|0;c[q+168>>2]=f+l}l=k+12|0;b=c[l>>2]|0;n=k+16|0;if((b|0)==(c[n>>2]|0))b=vi[c[(c[k>>2]|0)+36>>2]&2047](k)|0;else b=c[b>>2]|0;if($tb(b,q+337|0,q+336|0,f,q+168|0,o,p,q+184|0,q+8|0,q+4|0,q,q+208|0)|0)break;b=c[l>>2]|0;if((b|0)==(c[n>>2]|0)){vi[c[(c[k>>2]|0)+40>>2]&2047](k)|0;continue}else{c[l>>2]=b+4;continue}}p=a[q+184>>0]|0;b=c[q+4>>2]|0;if(!((a[q+337>>0]|0)==0?1:(((p&1)==0?(p&255)>>>1:c[q+184+4>>2]|0)|0)==0))if((b-(q+8)|0)<160){p=c[q>>2]|0;c[q+4>>2]=b+4;c[b>>2]=p;b=b+4|0}g[j>>2]=+xtb(f,c[q+168>>2]|0,h);dtb(q+184|0,q+8|0,b,h);if(!k)f=1;else{b=c[k+12>>2]|0;if((b|0)==(c[k+16>>2]|0))b=vi[c[(c[k>>2]|0)+36>>2]&2047](k)|0;else b=c[b>>2]|0;if((b|0)==-1){c[d>>2]=0;f=1}else f=0}do if(!m)r=47;else{b=c[m+12>>2]|0;if((b|0)==(c[m+16>>2]|0))b=vi[c[(c[m>>2]|0)+36>>2]&2047](m)|0;else b=c[b>>2]|0;if((b|0)==-1){c[e>>2]=0;r=47;break}else if(f)break;else{r=49;break}}while(0);if((r|0)==47)if(f)r=49;if((r|0)==49)c[h>>2]=c[h>>2]|2;r=c[d>>2]|0;Mqb(q+172|0);Mqb(q+184|0);i=q;return r|0}function _tb(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=i;i=i+16|0;b=ssb(b)|0;c[g>>2]=b;h=Usb(g,1203628)|0;cj[c[(c[h>>2]|0)+48>>2]&127](h,617692,617724,d)|0;d=Usb(g,1203636)|0;c[e>>2]=vi[c[(c[d>>2]|0)+12>>2]&2047](d)|0;c[f>>2]=vi[c[(c[d>>2]|0)+16>>2]&2047](d)|0;si[c[(c[d>>2]|0)+20>>2]&511](a,d);eAb(b)|0;i=g;return}function $tb(b,e,f,g,h,i,j,k,l,m,n,o){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;a:do if((b|0)==(i|0))if(!(a[e>>0]|0))i=-1;else{a[e>>0]=0;f=c[h>>2]|0;c[h>>2]=f+1;a[f>>0]=46;h=a[k>>0]|0;if(!(((h&1)==0?(h&255)>>>1:c[k+4>>2]|0)|0))i=0;else{i=c[m>>2]|0;if((i-l|0)<160){l=c[n>>2]|0;c[m>>2]=i+4;c[i>>2]=l;i=0}else i=0}}else{if((b|0)==(j|0)){j=a[k>>0]|0;if(((j&1)==0?(j&255)>>>1:c[k+4>>2]|0)|0){if(!(a[e>>0]|0)){i=-1;break}i=c[m>>2]|0;if((i-l|0)>=160){i=0;break}l=c[n>>2]|0;c[m>>2]=i+4;c[i>>2]=l;c[n>>2]=0;i=0;break}}i=o;while(1){if((i|0)==(o+128|0)){i=o+128|0;break}if((c[i>>2]|0)==(b|0))break;i=i+4|0}j=i-o|0;if((j|0)>124)i=-1;else{b=a[617692+(j>>2)>>0]|0;switch(j>>2|0){case 24:case 25:{i=c[h>>2]|0;if((i|0)!=(g|0))if((d[i+-1>>0]&95|0)!=(d[f>>0]&127|0)){i=-1;break a}c[h>>2]=i+1;a[i>>0]=b;i=0;break a}case 23:case 22:{a[f>>0]=80;break}default:if((b&95|0)==(a[f>>0]|0)){a[f>>0]=b&95|128;if(a[e>>0]|0){a[e>>0]=0;f=a[k>>0]|0;if(((f&1)==0?(f&255)>>>1:c[k+4>>2]|0)|0){i=c[m>>2]|0;if((i-l|0)<160){l=c[n>>2]|0;c[m>>2]=i+4;c[i>>2]=l}}}}}m=c[h>>2]|0;c[h>>2]=m+1;a[m>>0]=b;if((j|0)>84)i=0;else{c[n>>2]=(c[n>>2]|0)+1;i=0}}}while(0);return i|0}function aub(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;c[h+4>>2]=c[b>>2];c[h>>2]=c[d>>2];c[h+8>>2]=c[h+4>>2];c[h+12>>2]=c[h>>2];a=bub(a,h+8|0,h+12|0,e,f,g)|0;i=h;return a|0}function bub(b,d,e,f,g,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;q=i;i=i+352|0;_tb(q+184|0,f,q+208|0,q+200|0,q+196|0);b=0;while(1){if((b|0)==3)break;c[q+172+(b<<2)>>2]=0;b=b+1|0}if(!(a[q+172>>0]&1))b=10;else b=(c[q+172>>2]&-2)+-1|0;Sqb(q+172|0,b,0);f=(a[q+172>>0]&1)==0?q+172+1|0:c[q+172+8>>2]|0;c[q+168>>2]=f;c[q+4>>2]=q+8;c[q>>2]=0;a[q+337>>0]=1;a[q+336>>0]=69;o=c[q+200>>2]|0;p=c[q+196>>2]|0;k=c[d>>2]|0;a:while(1){if(!k){k=0;l=1}else{b=c[k+12>>2]|0;if((b|0)==(c[k+16>>2]|0))b=vi[c[(c[k>>2]|0)+36>>2]&2047](k)|0;else b=c[b>>2]|0;if((b|0)==-1){c[d>>2]=0;k=0;l=1}else l=0}m=c[e>>2]|0;do if(!m)r=19;else{b=c[m+12>>2]|0;if((b|0)==(c[m+16>>2]|0))b=vi[c[(c[m>>2]|0)+36>>2]&2047](m)|0;else b=c[b>>2]|0;if((b|0)==-1){c[e>>2]=0;r=19;break}else if(l)break;else break a}while(0);if((r|0)==19){r=0;if(l){m=0;break}else m=0}l=a[q+172>>0]|0;l=(l&1)==0?(l&255)>>>1:c[q+172+4>>2]|0;if((c[q+168>>2]|0)==(f+l|0)){Sqb(q+172|0,l<<1,0);if(!(a[q+172>>0]&1))b=10;else b=(c[q+172>>2]&-2)+-1|0;Sqb(q+172|0,b,0);f=(a[q+172>>0]&1)==0?q+172+1|0:c[q+172+8>>2]|0;c[q+168>>2]=f+l}l=k+12|0;b=c[l>>2]|0;n=k+16|0;if((b|0)==(c[n>>2]|0))b=vi[c[(c[k>>2]|0)+36>>2]&2047](k)|0;else b=c[b>>2]|0;if($tb(b,q+337|0,q+336|0,f,q+168|0,o,p,q+184|0,q+8|0,q+4|0,q,q+208|0)|0)break;b=c[l>>2]|0;if((b|0)==(c[n>>2]|0)){vi[c[(c[k>>2]|0)+40>>2]&2047](k)|0;continue}else{c[l>>2]=b+4;continue}}p=a[q+184>>0]|0;b=c[q+4>>2]|0;if(!((a[q+337>>0]|0)==0?1:(((p&1)==0?(p&255)>>>1:c[q+184+4>>2]|0)|0)==0))if((b-(q+8)|0)<160){p=c[q>>2]|0;c[q+4>>2]=b+4;c[b>>2]=p;b=b+4|0}h[j>>3]=+Atb(f,c[q+168>>2]|0,g);dtb(q+184|0,q+8|0,b,g);if(!k)f=1;else{b=c[k+12>>2]|0;if((b|0)==(c[k+16>>2]|0))b=vi[c[(c[k>>2]|0)+36>>2]&2047](k)|0;else b=c[b>>2]|0;if((b|0)==-1){c[d>>2]=0;f=1}else f=0}do if(!m)r=47;else{b=c[m+12>>2]|0;if((b|0)==(c[m+16>>2]|0))b=vi[c[(c[m>>2]|0)+36>>2]&2047](m)|0;else b=c[b>>2]|0;if((b|0)==-1){c[e>>2]=0;r=47;break}else if(f)break;else{r=49;break}}while(0);if((r|0)==47)if(f)r=49;if((r|0)==49)c[g>>2]=c[g>>2]|2;r=c[d>>2]|0;Mqb(q+172|0);Mqb(q+184|0);i=q;return r|0}function cub(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;c[h+4>>2]=c[b>>2];c[h>>2]=c[d>>2];c[h+8>>2]=c[h+4>>2];c[h+12>>2]=c[h>>2];a=dub(a,h+8|0,h+12|0,e,f,g)|0;i=h;return a|0}function dub(b,d,e,f,g,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;q=i;i=i+352|0;_tb(q+184|0,f,q+208|0,q+200|0,q+196|0);b=0;while(1){if((b|0)==3)break;c[q+172+(b<<2)>>2]=0;b=b+1|0}if(!(a[q+172>>0]&1))b=10;else b=(c[q+172>>2]&-2)+-1|0;Sqb(q+172|0,b,0);f=(a[q+172>>0]&1)==0?q+172+1|0:c[q+172+8>>2]|0;c[q+168>>2]=f;c[q+4>>2]=q+8;c[q>>2]=0;a[q+337>>0]=1;a[q+336>>0]=69;o=c[q+200>>2]|0;p=c[q+196>>2]|0;k=c[d>>2]|0;a:while(1){if(!k){k=0;l=1}else{b=c[k+12>>2]|0;if((b|0)==(c[k+16>>2]|0))b=vi[c[(c[k>>2]|0)+36>>2]&2047](k)|0;else b=c[b>>2]|0;if((b|0)==-1){c[d>>2]=0;k=0;l=1}else l=0}m=c[e>>2]|0;do if(!m)r=19;else{b=c[m+12>>2]|0;if((b|0)==(c[m+16>>2]|0))b=vi[c[(c[m>>2]|0)+36>>2]&2047](m)|0;else b=c[b>>2]|0;if((b|0)==-1){c[e>>2]=0;r=19;break}else if(l)break;else break a}while(0);if((r|0)==19){r=0;if(l){m=0;break}else m=0}l=a[q+172>>0]|0;l=(l&1)==0?(l&255)>>>1:c[q+172+4>>2]|0;if((c[q+168>>2]|0)==(f+l|0)){Sqb(q+172|0,l<<1,0);if(!(a[q+172>>0]&1))b=10;else b=(c[q+172>>2]&-2)+-1|0;Sqb(q+172|0,b,0);f=(a[q+172>>0]&1)==0?q+172+1|0:c[q+172+8>>2]|0;c[q+168>>2]=f+l}l=k+12|0;b=c[l>>2]|0;n=k+16|0;if((b|0)==(c[n>>2]|0))b=vi[c[(c[k>>2]|0)+36>>2]&2047](k)|0;else b=c[b>>2]|0;if($tb(b,q+337|0,q+336|0,f,q+168|0,o,p,q+184|0,q+8|0,q+4|0,q,q+208|0)|0)break;b=c[l>>2]|0;if((b|0)==(c[n>>2]|0)){vi[c[(c[k>>2]|0)+40>>2]&2047](k)|0;continue}else{c[l>>2]=b+4;continue}}p=a[q+184>>0]|0;b=c[q+4>>2]|0;if(!((a[q+337>>0]|0)==0?1:(((p&1)==0?(p&255)>>>1:c[q+184+4>>2]|0)|0)==0))if((b-(q+8)|0)<160){p=c[q>>2]|0;c[q+4>>2]=b+4;c[b>>2]=p;b=b+4|0}h[j>>3]=+Dtb(f,c[q+168>>2]|0,g);dtb(q+184|0,q+8|0,b,g);if(!k)f=1;else{b=c[k+12>>2]|0;if((b|0)==(c[k+16>>2]|0))b=vi[c[(c[k>>2]|0)+36>>2]&2047](k)|0;else b=c[b>>2]|0;if((b|0)==-1){c[d>>2]=0;f=1}else f=0}do if(!m)r=47;else{b=c[m+12>>2]|0;if((b|0)==(c[m+16>>2]|0))b=vi[c[(c[m>>2]|0)+36>>2]&2047](m)|0;else b=c[b>>2]|0;if((b|0)==-1){c[e>>2]=0;r=47;break}else if(f)break;else{r=49;break}}while(0);if((r|0)==47)if(f)r=49;if((r|0)==49)c[g>>2]=c[g>>2]|2;r=c[d>>2]|0;Mqb(q+172|0);Mqb(q+184|0);i=q;return r|0}function eub(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0;n=i;i=i+320|0;b=0;while(1){if((b|0)==3)break;c[n+196+(b<<2)>>2]=0;b=b+1|0}b=ssb(f)|0;c[n+192>>2]=b;m=Usb(n+192|0,1203628)|0;cj[c[(c[m>>2]|0)+48>>2]&127](m,617692,617718,n+208|0)|0;eAb(b)|0;b=0;while(1){if((b|0)==3)break;c[n+180+(b<<2)>>2]=0;b=b+1|0}if(!(a[n+180>>0]&1))b=10;else b=(c[n+180>>2]&-2)+-1|0;Sqb(n+180|0,b,0);l=(a[n+180>>0]&1)==0?n+180+1|0:c[n+180+8>>2]|0;c[n+176>>2]=l;c[n+8>>2]=n+16;c[n+4>>2]=0;f=c[d>>2]|0;a:while(1){if(!f){f=0;j=1}else{b=c[f+12>>2]|0;if((b|0)==(c[f+16>>2]|0))b=vi[c[(c[f>>2]|0)+36>>2]&2047](f)|0;else b=c[b>>2]|0;if((b|0)==-1){c[d>>2]=0;f=0;j=1}else j=0}k=c[e>>2]|0;do if(!k)o=22;else{b=c[k+12>>2]|0;if((b|0)==(c[k+16>>2]|0))b=vi[c[(c[k>>2]|0)+36>>2]&2047](k)|0;else b=c[b>>2]|0;if((b|0)==-1){c[e>>2]=0;o=22;break}else if(j)break;else{b=l;break a}}while(0);if((o|0)==22){o=0;if(j){k=0;b=l;break}else k=0}j=a[n+180>>0]|0;j=(j&1)==0?(j&255)>>>1:c[n+180+4>>2]|0;if((c[n+176>>2]|0)==(l+j|0)){Sqb(n+180|0,j<<1,0);if(!(a[n+180>>0]&1))b=10;else b=(c[n+180>>2]&-2)+-1|0;Sqb(n+180|0,b,0);b=(a[n+180>>0]&1)==0?n+180+1|0:c[n+180+8>>2]|0;c[n+176>>2]=b+j}else b=l;l=f+12|0;j=c[l>>2]|0;m=f+16|0;if((j|0)==(c[m>>2]|0))j=vi[c[(c[f>>2]|0)+36>>2]&2047](f)|0;else j=c[j>>2]|0;if(Ntb(j,16,b,n+176|0,n+4|0,0,n+196|0,n+16|0,n+8|0,n+208|0)|0)break;j=c[l>>2]|0;if((j|0)==(c[m>>2]|0)){vi[c[(c[f>>2]|0)+40>>2]&2047](f)|0;l=b;continue}else{c[l>>2]=j+4;l=b;continue}}Sqb(n+180|0,(c[n+176>>2]|0)-b|0,0);l=(a[n+180>>0]&1)==0?n+180+1|0:c[n+180+8>>2]|0;m=ctb()|0;c[n>>2]=h;if((Ftb(l,m,617727,n)|0)!=1)c[g>>2]=4;if(!f)f=1;else{b=c[f+12>>2]|0;if((b|0)==(c[f+16>>2]|0))b=vi[c[(c[f>>2]|0)+36>>2]&2047](f)|0;else b=c[b>>2]|0;if((b|0)==-1){c[d>>2]=0;f=1}else f=0}do if(!k)o=49;else{b=c[k+12>>2]|0;if((b|0)==(c[k+16>>2]|0))b=vi[c[(c[k>>2]|0)+36>>2]&2047](k)|0;else b=c[b>>2]|0;if((b|0)==-1){c[e>>2]=0;o=49;break}else if(f)break;else{o=51;break}}while(0);if((o|0)==49)if(f)o=51;if((o|0)==51)c[g>>2]=c[g>>2]|2;o=c[d>>2]|0;Mqb(n+180|0);Mqb(n+196|0);i=n;return o|0}function fub(a){a=a|0;return}function gub(a){a=a|0;oAb(a);return}function hub(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;h=i;i=i+32|0;if(!(c[e+4>>2]&1)){j=c[(c[b>>2]|0)+24>>2]|0;c[h+4>>2]=c[d>>2];c[h+8>>2]=c[h+4>>2];f=Ci[j&127](b,h+8|0,e,f,g&1)|0}else{e=ssb(e)|0;c[h>>2]=e;f=Usb(h,1203608)|0;eAb(e)|0;e=c[f>>2]|0;if(g)si[c[e+24>>2]&511](h+8|0,f);else si[c[e+28>>2]&511](h+8|0,f);j=a[h+8>>0]|0;g=c[h+8+8>>2]|0;f=j;e=g;g=(j&1)==0?h+8+1|0:g;while(1){j=(f&1)==0;if((g|0)==((j?h+8+1|0:e)+(j?(f&255)>>>1:c[h+8+4>>2]|0)|0))break;f=a[g>>0]|0;e=c[d>>2]|0;do if(e|0){b=c[e+24>>2]|0;if((b|0)!=(c[e+28>>2]|0)){c[e+24>>2]=b+1;a[b>>0]=f;break}if((Xi[c[(c[e>>2]|0)+52>>2]&511](e,f&255)|0)==-1)c[d>>2]=0}while(0);f=a[h+8>>0]|0;e=c[h+8+8>>2]|0;g=g+1|0}f=c[d>>2]|0;Mqb(h+8|0)}i=h;return f|0}function iub(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;h=i;i=i+64|0;a[h+56>>0]=a[617935]|0;a[h+56+1>>0]=a[617936]|0;a[h+56+2>>0]=a[617937]|0;a[h+56+3>>0]=a[617938]|0;a[h+56+4>>0]=a[617939]|0;a[h+56+5>>0]=a[617940]|0;jub(h+56+1|0,617941,1,c[e+4>>2]|0);b=ctb()|0;c[h>>2]=g;b=h+44+(kub(h+44|0,12,b,h+56|0,h)|0)|0;j=lub(h+44|0,b,e)|0;g=ssb(e)|0;c[h+12>>2]=g;mub(h+44|0,j,b,h+20|0,h+16|0,h+8|0,h+12|0);eAb(g)|0;c[h+4>>2]=c[d>>2];g=c[h+16>>2]|0;b=c[h+8>>2]|0;c[h>>2]=c[h+4>>2];b=fk(h,h+20|0,g,b,e,f)|0;i=h;return b|0}function jub(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;var f=0;if(e&2048){a[b>>0]=43;b=b+1|0}if(!(e&512))f=c;else{a[b>>0]=35;f=c;b=b+1|0}while(1){c=a[f>>0]|0;if(!(c<<24>>24))break;a[b>>0]=c;f=f+1|0;b=b+1|0}a:do switch(e&74|0){case 64:{a[b>>0]=111;break}case 8:if(!(e&16384)){a[b>>0]=120;break a}else{a[b>>0]=88;break a}default:if(d){a[b>>0]=100;break a}else{a[b>>0]=117;break a}}while(0);return}function kub(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=i;i=i+16|0;c[g>>2]=f;f=Dnb(d)|0;d=tmb(a,b,e,g)|0;if(f|0)Dnb(f)|0;i=g;return d|0}function lub(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;a:do switch(c[e+4>>2]&176|0){case 16:{e=a[b>>0]|0;switch(e<<24>>24){case 43:case 45:{b=b+1|0;break a}default:{}}if((d-b|0)>1&e<<24>>24==48){switch(a[b+1>>0]|0){case 88:case 120:break;default:{f=7;break a}}b=b+2|0}else f=7;break}case 32:{b=d;break}default:f=7}while(0);return b|0}function mub(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;p=i;i=i+16|0;o=Usb(j,1203596)|0;m=Usb(j,1203608)|0;si[c[(c[m>>2]|0)+20>>2]&511](p,m);n=a[p>>0]|0;if(!(((n&1)==0?(n&255)>>>1:c[p+4>>2]|0)|0)){cj[c[(c[o>>2]|0)+32>>2]&127](o,b,e,f)|0;c[h>>2]=f+(e-b);k=b;j=f+(e-b)|0}else{c[h>>2]=f;j=a[b>>0]|0;switch(j<<24>>24){case 43:case 45:{n=Xi[c[(c[o>>2]|0)+28>>2]&511](o,j)|0;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=n;k=b+1|0;break}default:k=b}a:do if((e-k|0)>1)if((a[k>>0]|0)==48){j=k+1|0;switch(a[j>>0]|0){case 88:case 120:break;default:break a}n=Xi[c[(c[o>>2]|0)+28>>2]&511](o,48)|0;l=c[h>>2]|0;c[h>>2]=l+1;a[l>>0]=n;l=Xi[c[(c[o>>2]|0)+28>>2]&511](o,a[j>>0]|0)|0;n=c[h>>2]|0;c[h>>2]=n+1;a[n>>0]=l;k=k+2|0}while(0);b:do if((k|0)!=(e|0)){j=e;l=k;while(1){j=j+-1|0;if(l>>>0>=j>>>0)break b;n=a[l>>0]|0;a[l>>0]=a[j>>0]|0;a[j>>0]=n;l=l+1|0}}while(0);m=vi[c[(c[m>>2]|0)+16>>2]&2047](m)|0;j=0;l=0;n=k;while(1){if(n>>>0>=e>>>0)break;q=a[((a[p>>0]&1)==0?p+1|0:c[p+8>>2]|0)+l>>0]|0;if(q<<24>>24!=0&(j|0)==(q<<24>>24|0)){q=c[h>>2]|0;c[h>>2]=q+1;a[q>>0]=m;q=a[p>>0]|0;j=0;l=(l>>>0<(((q&1)==0?(q&255)>>>1:c[p+4>>2]|0)+-1|0)>>>0&1)+l|0}r=Xi[c[(c[o>>2]|0)+28>>2]&511](o,a[n>>0]|0)|0;q=c[h>>2]|0;c[h>>2]=q+1;a[q>>0]=r;j=j+1|0;n=n+1|0}j=f+(k-b)|0;k=c[h>>2]|0;if((j|0)==(k|0))k=b;else{while(1){k=k+-1|0;if(j>>>0>=k>>>0)break;r=a[j>>0]|0;a[j>>0]=a[k>>0]|0;a[k>>0]=r;j=j+1|0}k=b;j=c[h>>2]|0}}c[g>>2]=(d|0)==(e|0)?j:f+(d-k)|0;Mqb(p);i=p;return}function nub(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+96|0;c[h>>2]=37;c[h+4>>2]=0;jub(h+1|0,617943,1,c[d+4>>2]|0);a=ctb()|0;c[h+8>>2]=f;c[h+8+4>>2]=g;g=h+74+(kub(h+74|0,22,a,h,h+8|0)|0)|0;f=lub(h+74|0,g,d)|0;a=ssb(d)|0;c[h+24>>2]=a;mub(h+74|0,f,g,h+32|0,h+28|0,h+20|0,h+24|0);eAb(a)|0;c[h+16>>2]=c[b>>2];b=c[h+28>>2]|0;a=c[h+20>>2]|0;c[h+8>>2]=c[h+16>>2];a=fk(h+8|0,h+32|0,b,a,d,e)|0;i=h;return a|0}function oub(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;h=i;i=i+64|0;a[h+56>>0]=a[617935]|0;a[h+56+1>>0]=a[617936]|0;a[h+56+2>>0]=a[617937]|0;a[h+56+3>>0]=a[617938]|0;a[h+56+4>>0]=a[617939]|0;a[h+56+5>>0]=a[617940]|0;jub(h+56+1|0,617941,0,c[e+4>>2]|0);b=ctb()|0;c[h>>2]=g;b=h+44+(kub(h+44|0,12,b,h+56|0,h)|0)|0;j=lub(h+44|0,b,e)|0;g=ssb(e)|0;c[h+12>>2]=g;mub(h+44|0,j,b,h+20|0,h+16|0,h+8|0,h+12|0);eAb(g)|0;c[h+4>>2]=c[d>>2];g=c[h+16>>2]|0;b=c[h+8>>2]|0;c[h>>2]=c[h+4>>2];b=fk(h,h+20|0,g,b,e,f)|0;i=h;return b|0}function pub(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+112|0;c[h>>2]=37;c[h+4>>2]=0;jub(h+1|0,617943,0,c[d+4>>2]|0);a=ctb()|0;c[h+8>>2]=f;c[h+8+4>>2]=g;g=h+75+(kub(h+75|0,23,a,h,h+8|0)|0)|0;f=lub(h+75|0,g,d)|0;a=ssb(d)|0;c[h+24>>2]=a;mub(h+75|0,f,g,h+32|0,h+28|0,h+20|0,h+24|0);eAb(a)|0;c[h+16>>2]=c[b>>2];b=c[h+28>>2]|0;a=c[h+20>>2]|0;c[h+8>>2]=c[h+16>>2];a=fk(h+8|0,h+32|0,b,a,d,e)|0;i=h;return a|0}function qub(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=+f;var g=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;l=i;i=i+160|0;c[l>>2]=37;c[l+4>>2]=0;j=rub(l+1|0,1279070,c[d+4>>2]|0)|0;c[l+64>>2]=l+130;a=ctb()|0;if(j){c[l+8>>2]=c[d+8>>2];h[l+8+8>>3]=f;a=kub(l+130|0,30,a,l,l+8|0)|0}else{h[l+24>>3]=f;a=kub(l+130|0,30,a,l,l+24|0)|0}if((a|0)>29){a=ctb()|0;c[l+32>>2]=c[d+8>>2];h[l+32+8>>3]=f;a=sub(l+64|0,a,l,l+32|0)|0;g=c[l+64>>2]|0;if(!g)eBb();else{m=g;o=g;k=a}}else{m=c[l+64>>2]|0;o=0;k=a}g=m+k|0;j=lub(m,g,d)|0;if((m|0)==(l+130|0)){n=l+130|0;p=l+72|0;q=0}else{a=Vpb(k<<1)|0;if(!a)eBb();else{n=m;p=a;q=a}}m=ssb(d)|0;c[l+52>>2]=m;tub(n,j,g,p,l+60|0,l+56|0,l+52|0);eAb(m)|0;c[l+48>>2]=c[b>>2];n=c[l+60>>2]|0;b=c[l+56>>2]|0;c[l+68>>2]=c[l+48>>2];b=fk(l+68|0,p,n,b,d,e)|0;Wpb(q);Wpb(o);i=l;return b|0}function rub(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0;if(d&2048){a[b>>0]=43;b=b+1|0}if(d&1024){a[b>>0]=35;b=b+1|0}if((d&260|0)==260)f=0;else{a[b>>0]=46;a[b+1>>0]=42;b=b+2|0;f=1}while(1){e=a[c>>0]|0;if(!(e<<24>>24))break;a[b>>0]=e;c=c+1|0;b=b+1|0}a:do switch(d&260|0){case 4:if(!(d>>>14&1)){a[b>>0]=102;break a}else{a[b>>0]=70;break a}case 256:if(!(d>>>14&1)){a[b>>0]=101;break a}else{a[b>>0]=69;break a}default:if((d&260|0)==260)if(d>>>14&1|0){a[b>>0]=65;break a}else{a[b>>0]=97;break a}else if(d>>>14&1|0){a[b>>0]=71;break a}else{a[b>>0]=103;break a}}while(0);return f|0}function sub(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+16|0;c[f>>2]=e;e=Dnb(b)|0;b=ipb(a,d,f)|0;if(e|0)Dnb(e)|0;i=f;return b|0}function tub(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;s=i;i=i+16|0;q=Usb(j,1203596)|0;p=Usb(j,1203608)|0;si[c[(c[p>>2]|0)+20>>2]&511](s,p);c[h>>2]=f;j=a[b>>0]|0;switch(j<<24>>24){case 43:case 45:{o=Xi[c[(c[q>>2]|0)+28>>2]&511](q,j)|0;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=o;k=b+1|0;break}default:k=b}a:do if((e-k|0)>1)if((a[k>>0]|0)==48){j=k+1|0;switch(a[j>>0]|0){case 88:case 120:break;default:{j=k;r=10;break a}}n=Xi[c[(c[q>>2]|0)+28>>2]&511](q,48)|0;o=c[h>>2]|0;c[h>>2]=o+1;a[o>>0]=n;k=k+2|0;o=Xi[c[(c[q>>2]|0)+28>>2]&511](q,a[j>>0]|0)|0;j=c[h>>2]|0;c[h>>2]=j+1;a[j>>0]=o;j=k;while(1){if(j>>>0>=e>>>0)break a;o=a[j>>0]|0;if(!(vnb(o,ctb()|0)|0))break a;j=j+1|0}}else{j=k;r=10}else{j=k;r=10}while(0);b:do if((r|0)==10)while(1){r=0;if(j>>>0>=e>>>0)break b;o=a[j>>0]|0;if(!(unb(o,ctb()|0)|0))break b;j=j+1|0;r=10}while(0);o=a[s>>0]|0;c:do if(!(((o&1)==0?(o&255)>>>1:c[s+4>>2]|0)|0)){cj[c[(c[q>>2]|0)+32>>2]&127](q,k,j,c[h>>2]|0)|0;c[h>>2]=(c[h>>2]|0)+(j-k);l=q}else{d:do if((k|0)!=(j|0)){l=j;m=k;while(1){l=l+-1|0;if(m>>>0>=l>>>0)break d;o=a[m>>0]|0;a[m>>0]=a[l>>0]|0;a[l>>0]=o;m=m+1|0}}while(0);n=vi[c[(c[p>>2]|0)+16>>2]&2047](p)|0;l=0;m=0;o=k;while(1){if(o>>>0>=j>>>0)break;t=a[((a[s>>0]&1)==0?s+1|0:c[s+8>>2]|0)+m>>0]|0;if(t<<24>>24>0&(l|0)==(t<<24>>24|0)){t=c[h>>2]|0;c[h>>2]=t+1;a[t>>0]=n;t=a[s>>0]|0;l=0;m=(m>>>0<(((t&1)==0?(t&255)>>>1:c[s+4>>2]|0)+-1|0)>>>0&1)+m|0}u=Xi[c[(c[q>>2]|0)+28>>2]&511](q,a[o>>0]|0)|0;t=c[h>>2]|0;c[h>>2]=t+1;a[t>>0]=u;l=l+1|0;o=o+1|0}l=f+(k-b)|0;k=c[h>>2]|0;if((l|0)==(k|0))l=q;else while(1){k=k+-1|0;if(l>>>0>=k>>>0){l=q;break c}u=a[l>>0]|0;a[l>>0]=a[k>>0]|0;a[k>>0]=u;l=l+1|0}}while(0);while(1){if(j>>>0>=e>>>0)break;k=a[j>>0]|0;if(k<<24>>24==46){r=29;break}t=Xi[c[(c[l>>2]|0)+28>>2]&511](q,k)|0;u=c[h>>2]|0;c[h>>2]=u+1;a[u>>0]=t;j=j+1|0}if((r|0)==29){t=vi[c[(c[p>>2]|0)+12>>2]&2047](p)|0;u=c[h>>2]|0;c[h>>2]=u+1;a[u>>0]=t;j=j+1|0}cj[c[(c[q>>2]|0)+32>>2]&127](q,j,e,c[h>>2]|0)|0;u=(c[h>>2]|0)+(e-j)|0;c[h>>2]=u;c[g>>2]=(d|0)==(e|0)?u:f+(d-b)|0;Mqb(s);i=s;return}function uub(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=+f;var g=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;l=i;i=i+176|0;c[l>>2]=37;c[l+4>>2]=0;g=rub(l+1|0,617946,c[d+4>>2]|0)|0;c[l+72>>2]=l+138;a=ctb()|0;if(g){c[l+8>>2]=c[d+8>>2];h[l+8+8>>3]=f;a=kub(l+138|0,30,a,l,l+8|0)|0}else{h[l+24>>3]=f;a=kub(l+138|0,30,a,l,l+24|0)|0}if((a|0)>29){a=ctb()|0;if(g){c[l+32>>2]=c[d+8>>2];h[l+32+8>>3]=f;g=sub(l+72|0,a,l,l+32|0)|0}else{h[l+48>>3]=f;g=sub(l+72|0,a,l,l+48|0)|0}a=c[l+72>>2]|0;if(!a)eBb();else{m=a;o=a;k=g}}else{m=c[l+72>>2]|0;o=0;k=a}g=m+k|0;j=lub(m,g,d)|0;if((m|0)==(l+138|0)){n=l+138|0;p=l+80|0;q=0}else{a=Vpb(k<<1)|0;if(!a)eBb();else{n=m;p=a;q=a}}m=ssb(d)|0;c[l+60>>2]=m;tub(n,j,g,p,l+68|0,l+64|0,l+60|0);eAb(m)|0;c[l+56>>2]=c[b>>2];n=c[l+68>>2]|0;b=c[l+64>>2]|0;c[l+76>>2]=c[l+56>>2];b=fk(l+76|0,p,n,b,d,e)|0;Wpb(q);Wpb(o);i=l;return b|0}function vub(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0;h=i;i=i+80|0;a[h+72>>0]=a[617948]|0;a[h+72+1>>0]=a[617949]|0;a[h+72+2>>0]=a[617950]|0;a[h+72+3>>0]=a[617951]|0;a[h+72+4>>0]=a[617952]|0;a[h+72+5>>0]=a[617953]|0;b=ctb()|0;c[h>>2]=g;b=kub(h+52|0,20,b,h+72|0,h)|0;g=lub(h+52|0,h+52+b|0,e)|0;k=ssb(e)|0;c[h+8>>2]=k;j=Usb(h+8|0,1203596)|0;eAb(k)|0;cj[c[(c[j>>2]|0)+32>>2]&127](j,h+52|0,h+52+b|0,h+12|0)|0;c[h+4>>2]=c[d>>2];c[h>>2]=c[h+4>>2];b=fk(h,h+12|0,(g|0)==(h+52+b|0)?h+12+b|0:h+12+(g-(h+52))|0,h+12+b|0,e,f)|0;i=h;return b|0}function wub(a){a=a|0;return}function xub(a){a=a|0;oAb(a);return}function yub(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;h=i;i=i+32|0;if(!(c[e+4>>2]&1)){j=c[(c[b>>2]|0)+24>>2]|0;c[h+4>>2]=c[d>>2];c[h+8>>2]=c[h+4>>2];f=Ci[j&127](b,h+8|0,e,f,g&1)|0}else{e=ssb(e)|0;c[h>>2]=e;f=Usb(h,1203636)|0;eAb(e)|0;e=c[f>>2]|0;if(g)si[c[e+24>>2]&511](h+8|0,f);else si[c[e+28>>2]&511](h+8|0,f);j=a[h+8>>0]|0;g=c[h+8+8>>2]|0;f=j;e=g;g=(j&1)==0?h+8+4|0:g;while(1){j=(f&1)==0;if((g|0)==((j?h+8+4|0:e)+((j?(f&255)>>>1:c[h+8+4>>2]|0)<<2)|0))break;f=c[g>>2]|0;e=c[d>>2]|0;if(e|0){b=c[e+24>>2]|0;if((b|0)==(c[e+28>>2]|0))f=Xi[c[(c[e>>2]|0)+52>>2]&511](e,f)|0;else{c[e+24>>2]=b+4;c[b>>2]=f}if((f|0)==-1)c[d>>2]=0}f=a[h+8>>0]|0;e=c[h+8+8>>2]|0;g=g+4|0}f=c[d>>2]|0;jrb(h+8|0)}i=h;return f|0}function zub(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;h=i;i=i+128|0;a[h+116>>0]=a[617935]|0;a[h+116+1>>0]=a[617936]|0;a[h+116+2>>0]=a[617937]|0;a[h+116+3>>0]=a[617938]|0;a[h+116+4>>0]=a[617939]|0;a[h+116+5>>0]=a[617940]|0;jub(h+116+1|0,617941,1,c[e+4>>2]|0);b=ctb()|0;c[h>>2]=g;b=h+104+(kub(h+104|0,12,b,h+116|0,h)|0)|0;j=lub(h+104|0,b,e)|0;g=ssb(e)|0;c[h+12>>2]=g;Aub(h+104|0,j,b,h+20|0,h+16|0,h+8|0,h+12|0);eAb(g)|0;c[h+4>>2]=c[d>>2];g=c[h+16>>2]|0;b=c[h+8>>2]|0;c[h>>2]=c[h+4>>2];b=Bub(h,h+20|0,g,b,e,f)|0;i=h;return b|0}function Aub(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;p=i;i=i+16|0;o=Usb(j,1203628)|0;m=Usb(j,1203636)|0;si[c[(c[m>>2]|0)+20>>2]&511](p,m);n=a[p>>0]|0;a:do if(!(((n&1)==0?(n&255)>>>1:c[p+4>>2]|0)|0)){cj[c[(c[o>>2]|0)+48>>2]&127](o,b,e,f)|0;c[h>>2]=f+(e-b<<2);k=b;j=f+(e-b<<2)|0}else{c[h>>2]=f;j=a[b>>0]|0;switch(j<<24>>24){case 43:case 45:{n=Xi[c[(c[o>>2]|0)+44>>2]&511](o,j)|0;k=c[h>>2]|0;c[h>>2]=k+4;c[k>>2]=n;k=b+1|0;break}default:k=b}b:do if((e-k|0)>1)if((a[k>>0]|0)==48){j=k+1|0;switch(a[j>>0]|0){case 88:case 120:break;default:break b}n=Xi[c[(c[o>>2]|0)+44>>2]&511](o,48)|0;l=c[h>>2]|0;c[h>>2]=l+4;c[l>>2]=n;l=Xi[c[(c[o>>2]|0)+44>>2]&511](o,a[j>>0]|0)|0;n=c[h>>2]|0;c[h>>2]=n+4;c[n>>2]=l;k=k+2|0}while(0);c:do if((k|0)!=(e|0)){j=e;l=k;while(1){j=j+-1|0;if(l>>>0>=j>>>0)break c;n=a[l>>0]|0;a[l>>0]=a[j>>0]|0;a[j>>0]=n;l=l+1|0}}while(0);m=vi[c[(c[m>>2]|0)+16>>2]&2047](m)|0;j=0;l=0;n=k;while(1){if(n>>>0>=e>>>0)break;q=a[((a[p>>0]&1)==0?p+1|0:c[p+8>>2]|0)+l>>0]|0;if(q<<24>>24!=0&(j|0)==(q<<24>>24|0)){q=c[h>>2]|0;c[h>>2]=q+4;c[q>>2]=m;q=a[p>>0]|0;j=0;l=(l>>>0<(((q&1)==0?(q&255)>>>1:c[p+4>>2]|0)+-1|0)>>>0&1)+l|0}r=Xi[c[(c[o>>2]|0)+44>>2]&511](o,a[n>>0]|0)|0;q=c[h>>2]|0;c[h>>2]=q+4;c[q>>2]=r;j=j+1|0;n=n+1|0}j=f+(k-b<<2)|0;l=c[h>>2]|0;if((j|0)==(l|0))k=b;else{k=l;while(1){k=k+-4|0;if(j>>>0>=k>>>0){k=b;j=l;break a}r=c[j>>2]|0;c[j>>2]=c[k>>2];c[k>>2]=r;j=j+4|0}}}while(0);c[g>>2]=(d|0)==(e|0)?j:f+(d-k<<2)|0;Mqb(p);i=p;return}function Bub(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0;l=i;i=i+16|0;j=c[b>>2]|0;a:do if(!j)j=0;else{k=c[g+12>>2]|0;k=(k|0)>(f-d>>2|0)?k-(f-d>>2)|0:0;if((e-d|0)>0)if((Gi[c[(c[j>>2]|0)+48>>2]&255](j,d,e-d>>2)|0)!=(e-d>>2|0)){c[b>>2]=0;j=0;break}do if((k|0)>0){hrb(l,k,h);if((Gi[c[(c[j>>2]|0)+48>>2]&255](j,(a[l>>0]&1)==0?l+4|0:c[l+8>>2]|0,k)|0)==(k|0)){jrb(l);break}else{c[b>>2]=0;jrb(l);j=0;break a}}while(0);if((f-e|0)>0)if((Gi[c[(c[j>>2]|0)+48>>2]&255](j,e,f-e>>2)|0)!=(f-e>>2|0)){c[b>>2]=0;j=0;break}c[g+12>>2]=0}while(0);i=l;return j|0}function Cub(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+224|0;c[h>>2]=37;c[h+4>>2]=0;jub(h+1|0,617943,1,c[d+4>>2]|0);a=ctb()|0;c[h+8>>2]=f;c[h+8+4>>2]=g;g=h+196+(kub(h+196|0,22,a,h,h+8|0)|0)|0;f=lub(h+196|0,g,d)|0;a=ssb(d)|0;c[h+24>>2]=a;Aub(h+196|0,f,g,h+32|0,h+28|0,h+20|0,h+24|0);eAb(a)|0;c[h+16>>2]=c[b>>2];b=c[h+28>>2]|0;a=c[h+20>>2]|0;c[h+8>>2]=c[h+16>>2];a=Bub(h+8|0,h+32|0,b,a,d,e)|0;i=h;return a|0}function Dub(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;h=i;i=i+128|0;a[h+116>>0]=a[617935]|0;a[h+116+1>>0]=a[617936]|0;a[h+116+2>>0]=a[617937]|0;a[h+116+3>>0]=a[617938]|0;a[h+116+4>>0]=a[617939]|0;a[h+116+5>>0]=a[617940]|0;jub(h+116+1|0,617941,0,c[e+4>>2]|0);b=ctb()|0;c[h>>2]=g;b=h+104+(kub(h+104|0,12,b,h+116|0,h)|0)|0;j=lub(h+104|0,b,e)|0;g=ssb(e)|0;c[h+12>>2]=g;Aub(h+104|0,j,b,h+20|0,h+16|0,h+8|0,h+12|0);eAb(g)|0;c[h+4>>2]=c[d>>2];g=c[h+16>>2]|0;b=c[h+8>>2]|0;c[h>>2]=c[h+4>>2];b=Bub(h,h+20|0,g,b,e,f)|0;i=h;return b|0}function Eub(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+240|0;c[h>>2]=37;c[h+4>>2]=0;jub(h+1|0,617943,0,c[d+4>>2]|0);a=ctb()|0;c[h+8>>2]=f;c[h+8+4>>2]=g;g=h+204+(kub(h+204|0,23,a,h,h+8|0)|0)|0;f=lub(h+204|0,g,d)|0;a=ssb(d)|0;c[h+24>>2]=a;Aub(h+204|0,f,g,h+32|0,h+28|0,h+20|0,h+24|0);eAb(a)|0;c[h+16>>2]=c[b>>2];b=c[h+28>>2]|0;a=c[h+20>>2]|0;c[h+8>>2]=c[h+16>>2];a=Bub(h+8|0,h+32|0,b,a,d,e)|0;i=h;return a|0}function Fub(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=+f;var g=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;o=i;i=i+336|0;c[o>>2]=37;c[o+4>>2]=0;j=rub(o+1|0,1279070,c[d+4>>2]|0)|0;c[o+292>>2]=o+300;a=ctb()|0;if(j){c[o+8>>2]=c[d+8>>2];h[o+8+8>>3]=f;a=kub(o+300|0,30,a,o,o+8|0)|0}else{h[o+24>>3]=f;a=kub(o+300|0,30,a,o,o+24|0)|0}if((a|0)>29){a=ctb()|0;c[o+32>>2]=c[d+8>>2];h[o+32+8>>3]=f;a=sub(o+292|0,a,o,o+32|0)|0;g=c[o+292>>2]|0;if(!g)eBb();else{l=g;p=g;k=a}}else{l=c[o+292>>2]|0;p=0;k=a}g=l+k|0;j=lub(l,g,d)|0;if((l|0)==(o+300|0)){m=o+300|0;n=o+64|0;q=0}else{a=Vpb(k<<3)|0;if(!a)eBb();else{m=l;n=a;q=a}}a=ssb(d)|0;c[o+52>>2]=a;Gub(m,j,g,n,o+60|0,o+56|0,o+52|0);eAb(a)|0;c[o+48>>2]=c[b>>2];m=c[o+60>>2]|0;a=c[o+56>>2]|0;c[o+296>>2]=c[o+48>>2];a=Bub(o+296|0,n,m,a,d,e)|0;c[b>>2]=a;if(q|0)Wpb(q);Wpb(p);i=o;return a|0}function Gub(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;s=i;i=i+16|0;q=Usb(j,1203628)|0;p=Usb(j,1203636)|0;si[c[(c[p>>2]|0)+20>>2]&511](s,p);c[h>>2]=f;j=a[b>>0]|0;switch(j<<24>>24){case 43:case 45:{o=Xi[c[(c[q>>2]|0)+44>>2]&511](q,j)|0;k=c[h>>2]|0;c[h>>2]=k+4;c[k>>2]=o;k=b+1|0;break}default:k=b}a:do if((e-k|0)>1)if((a[k>>0]|0)==48){j=k+1|0;switch(a[j>>0]|0){case 88:case 120:break;default:{j=k;r=10;break a}}n=Xi[c[(c[q>>2]|0)+44>>2]&511](q,48)|0;o=c[h>>2]|0;c[h>>2]=o+4;c[o>>2]=n;k=k+2|0;o=Xi[c[(c[q>>2]|0)+44>>2]&511](q,a[j>>0]|0)|0;j=c[h>>2]|0;c[h>>2]=j+4;c[j>>2]=o;j=k;while(1){if(j>>>0>=e>>>0)break a;o=a[j>>0]|0;if(!(vnb(o,ctb()|0)|0))break a;j=j+1|0}}else{j=k;r=10}else{j=k;r=10}while(0);b:do if((r|0)==10)while(1){r=0;if(j>>>0>=e>>>0)break b;o=a[j>>0]|0;if(!(unb(o,ctb()|0)|0))break b;j=j+1|0;r=10}while(0);o=a[s>>0]|0;c:do if(!(((o&1)==0?(o&255)>>>1:c[s+4>>2]|0)|0)){cj[c[(c[q>>2]|0)+48>>2]&127](q,k,j,c[h>>2]|0)|0;k=(c[h>>2]|0)+(j-k<<2)|0;c[h>>2]=k;l=q}else{d:do if((k|0)!=(j|0)){l=j;m=k;while(1){l=l+-1|0;if(m>>>0>=l>>>0)break d;o=a[m>>0]|0;a[m>>0]=a[l>>0]|0;a[l>>0]=o;m=m+1|0}}while(0);n=vi[c[(c[p>>2]|0)+16>>2]&2047](p)|0;l=0;m=0;o=k;while(1){if(o>>>0>=j>>>0)break;t=a[((a[s>>0]&1)==0?s+1|0:c[s+8>>2]|0)+m>>0]|0;if(t<<24>>24>0&(l|0)==(t<<24>>24|0)){t=c[h>>2]|0;c[h>>2]=t+4;c[t>>2]=n;t=a[s>>0]|0;l=0;m=(m>>>0<(((t&1)==0?(t&255)>>>1:c[s+4>>2]|0)+-1|0)>>>0&1)+m|0}u=Xi[c[(c[q>>2]|0)+44>>2]&511](q,a[o>>0]|0)|0;t=c[h>>2]|0;c[h>>2]=t+4;c[t>>2]=u;l=l+1|0;o=o+1|0}k=f+(k-b<<2)|0;m=c[h>>2]|0;if((k|0)==(m|0))l=q;else{l=m;while(1){l=l+-4|0;if(k>>>0>=l>>>0){l=q;k=m;break c}u=c[k>>2]|0;c[k>>2]=c[l>>2];c[l>>2]=u;k=k+4|0}}}while(0);while(1){if(j>>>0>=e>>>0)break;k=a[j>>0]|0;if(k<<24>>24==46){r=29;break}u=Xi[c[(c[l>>2]|0)+44>>2]&511](q,k)|0;k=c[h>>2]|0;c[h>>2]=k+4;c[k>>2]=u;k=k+4|0;j=j+1|0}if((r|0)==29){u=vi[c[(c[p>>2]|0)+12>>2]&2047](p)|0;k=c[h>>2]|0;c[h>>2]=k+4;c[k>>2]=u;k=k+4|0;j=j+1|0}cj[c[(c[q>>2]|0)+48>>2]&127](q,j,e,k)|0;u=(c[h>>2]|0)+(e-j<<2)|0;c[h>>2]=u;c[g>>2]=(d|0)==(e|0)?u:f+(d-b<<2)|0;Mqb(s);i=s;return}function Hub(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=+f;var g=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;o=i;i=i+352|0;c[o>>2]=37;c[o+4>>2]=0;g=rub(o+1|0,617946,c[d+4>>2]|0)|0;c[o+300>>2]=o+308;a=ctb()|0;if(g){c[o+8>>2]=c[d+8>>2];h[o+8+8>>3]=f;a=kub(o+308|0,30,a,o,o+8|0)|0}else{h[o+24>>3]=f;a=kub(o+308|0,30,a,o,o+24|0)|0}if((a|0)>29){a=ctb()|0;if(g){c[o+32>>2]=c[d+8>>2];h[o+32+8>>3]=f;g=sub(o+300|0,a,o,o+32|0)|0}else{h[o+48>>3]=f;g=sub(o+300|0,a,o,o+48|0)|0}a=c[o+300>>2]|0;if(!a)eBb();else{l=a;p=a;k=g}}else{l=c[o+300>>2]|0;p=0;k=a}g=l+k|0;j=lub(l,g,d)|0;if((l|0)==(o+308|0)){m=o+308|0;n=o+72|0;q=0}else{a=Vpb(k<<3)|0;if(!a)eBb();else{m=l;n=a;q=a}}a=ssb(d)|0;c[o+60>>2]=a;Gub(m,j,g,n,o+68|0,o+64|0,o+60|0);eAb(a)|0;c[o+56>>2]=c[b>>2];m=c[o+68>>2]|0;a=c[o+64>>2]|0;c[o+304>>2]=c[o+56>>2];a=Bub(o+304|0,n,m,a,d,e)|0;c[b>>2]=a;if(q|0)Wpb(q);Wpb(p);i=o;return a|0}function Iub(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0;h=i;i=i+192|0;a[h+180>>0]=a[617948]|0;a[h+180+1>>0]=a[617949]|0;a[h+180+2>>0]=a[617950]|0;a[h+180+3>>0]=a[617951]|0;a[h+180+4>>0]=a[617952]|0;a[h+180+5>>0]=a[617953]|0;b=ctb()|0;c[h>>2]=g;b=kub(h+160|0,20,b,h+180|0,h)|0;g=lub(h+160|0,h+160+b|0,e)|0;k=ssb(e)|0;c[h+156>>2]=k;j=Usb(h+156|0,1203628)|0;eAb(k)|0;cj[c[(c[j>>2]|0)+48>>2]&127](j,h+160|0,h+160+b|0,h+8|0)|0;c[h+4>>2]=c[d>>2];c[h>>2]=c[h+4>>2];b=Bub(h,h+8|0,(g|0)==(h+160+b|0)?h+8+(b<<2)|0:h+8+(g-(h+160)<<2)|0,h+8+(b<<2)|0,e,f)|0;i=h;return b|0}function Jub(a){a=a|0;return}function Kub(a){a=a|0;oAb(a);return}function Lub(a){a=a|0;return 2}function Mub(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;c[h+4>>2]=c[b>>2];c[h>>2]=c[d>>2];c[h+8>>2]=c[h+4>>2];c[h+12>>2]=c[h>>2];a=Nub(a,h+8|0,h+12|0,e,f,g,618166,618174)|0;i=h;return a|0}function Nub(e,f,g,h,j,k,l,m){e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+32|0;n=ssb(h)|0;c[v+8>>2]=n;t=Usb(v+8|0,1203596)|0;eAb(n)|0;c[j>>2]=0;n=l;l=0;a:while(1){r=(n|0)!=(m|0);o=l;while(1){l=c[f>>2]|0;if(!(r&(o|0)==0))break a;if(!l){q=l;l=0}else if((c[l+12>>2]|0)==(c[l+16>>2]|0))if((vi[c[(c[l>>2]|0)+36>>2]&2047](l)|0)==-1){c[f>>2]=0;q=0;l=0}else q=l;else q=l;p=(l|0)==0;o=c[g>>2]|0;do if(!o)u=13;else{if((c[o+12>>2]|0)==(c[o+16>>2]|0))if((vi[c[(c[o>>2]|0)+36>>2]&2047](o)|0)==-1){c[g>>2]=0;o=0;u=13;break}if(p)p=o;else{u=14;break a}}while(0);if((u|0)==13){u=0;if(p){u=14;break a}else p=0}if((Gi[c[(c[t>>2]|0)+36>>2]&255](t,a[n>>0]|0,0)|0)<<24>>24==37){s=q;r=o;u=16;break}o=a[n>>0]|0;if(o<<24>>24>-1){q=c[t+8>>2]|0;if(b[q+(o<<24>>24<<1)>>1]&8192){u=25;break}}p=l+12|0;o=c[p>>2]|0;q=l+16|0;if((o|0)==(c[q>>2]|0))o=vi[c[(c[l>>2]|0)+36>>2]&2047](l)|0;else o=d[o>>0]|0;s=Xi[c[(c[t>>2]|0)+12>>2]&511](t,o&255)|0;if(s<<24>>24==(Xi[c[(c[t>>2]|0)+12>>2]&511](t,a[n>>0]|0)|0)<<24>>24){u=53;break}c[j>>2]=4;o=4}b:do if((u|0)==16){u=0;o=n+1|0;if((o|0)==(m|0)){u=17;break a}q=Gi[c[(c[t>>2]|0)+36>>2]&255](t,a[o>>0]|0,0)|0;switch(q<<24>>24){case 48:case 69:{p=n+2|0;if((p|0)==(m|0)){u=22;break a}n=o;o=Gi[c[(c[t>>2]|0)+36>>2]&255](t,a[p>>0]|0,0)|0;l=q;break}default:{o=q;l=0}}q=c[(c[e>>2]|0)+36>>2]|0;c[v+4>>2]=s;c[v>>2]=r;c[v+12>>2]=c[v+4>>2];c[v+16>>2]=c[v>>2];c[f>>2]=hj[q&31](e,v+12|0,v+16|0,h,j,k,o,l)|0;l=n+2|0}else if((u|0)==25){u=0;do{n=n+1|0;if((n|0)==(m|0)){n=m;break}o=a[n>>0]|0;if(o<<24>>24<=-1)break}while((b[q+(o<<24>>24<<1)>>1]&8192)!=0);o=p;q=p;while(1){if(!l)l=0;else if((c[l+12>>2]|0)==(c[l+16>>2]|0))if((vi[c[(c[l>>2]|0)+36>>2]&2047](l)|0)==-1){c[f>>2]=0;l=0}p=(l|0)==0;do if(!q)u=39;else{if((c[q+12>>2]|0)!=(c[q+16>>2]|0))if(p){s=o;break}else{l=n;break b}if((vi[c[(c[q>>2]|0)+36>>2]&2047](q)|0)==-1){c[g>>2]=0;o=0;u=39;break}else if(p^(o|0)==0){s=o;q=o;break}else{l=n;break b}}while(0);if((u|0)==39){u=0;if(p){l=n;break b}else{s=o;q=0}}p=l+12|0;o=c[p>>2]|0;r=l+16|0;if((o|0)==(c[r>>2]|0))o=vi[c[(c[l>>2]|0)+36>>2]&2047](l)|0;else o=d[o>>0]|0;if((o&255)<<24>>24<=-1){l=n;break b}if(!(b[(c[t+8>>2]|0)+(o<<24>>24<<1)>>1]&8192)){l=n;break b}o=c[p>>2]|0;if((o|0)==(c[r>>2]|0)){vi[c[(c[l>>2]|0)+40>>2]&2047](l)|0;o=s;continue}else{c[p>>2]=o+1;o=s;continue}}}else if((u|0)==53){u=0;o=c[p>>2]|0;if((o|0)==(c[q>>2]|0))vi[c[(c[l>>2]|0)+40>>2]&2047](l)|0;else c[p>>2]=o+1;l=n+1|0}while(0);n=l;l=c[j>>2]|0}if((u|0)==14)c[j>>2]=4;else if((u|0)==17)c[j>>2]=4;else if((u|0)==22)c[j>>2]=4;if(!l)l=0;else if((c[l+12>>2]|0)==(c[l+16>>2]|0))if((vi[c[(c[l>>2]|0)+36>>2]&2047](l)|0)==-1){c[f>>2]=0;l=0}n=(l|0)==0;o=c[g>>2]|0;do if(!o)u=68;else{if((c[o+12>>2]|0)==(c[o+16>>2]|0))if((vi[c[(c[o>>2]|0)+36>>2]&2047](o)|0)==-1){c[g>>2]=0;u=68;break}if(!n)u=69}while(0);if((u|0)==68)if(n)u=69;if((u|0)==69)c[j>>2]=c[j>>2]|2;i=v;return l|0}function Oub(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0;j=i;i=i+16|0;k=vi[c[(c[b+8>>2]|0)+20>>2]&2047](b+8|0)|0;c[j+4>>2]=c[d>>2];c[j>>2]=c[e>>2];e=a[k>>0]|0;d=(e&1)==0?k+1|0:c[k+8>>2]|0;e=d+((e&1)==0?(e&255)>>>1:c[k+4>>2]|0)|0;c[j+8>>2]=c[j+4>>2];c[j+12>>2]=c[j>>2];b=Nub(b,j+8|0,j+12|0,f,g,h,d,e)|0;i=j;return b|0}function Pub(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;h=i;i=i+16|0;j=ssb(e)|0;c[h+4>>2]=j;e=Usb(h+4|0,1203596)|0;eAb(j)|0;c[h>>2]=c[d>>2];c[h+8>>2]=c[h>>2];Qub(a,g+24|0,b,h+8|0,f,e);i=h;return c[b>>2]|0}function Qub(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;a=vi[c[c[a+8>>2]>>2]&2047](a+8|0)|0;c[h>>2]=c[e>>2];c[h+4>>2]=c[h>>2];d=(Ysb(d,h+4|0,a,a+168|0,g,f,0)|0)-a|0;if((d|0)<168)c[b>>2]=((d|0)/12|0|0)%7|0;i=h;return}function Rub(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;h=i;i=i+16|0;j=ssb(e)|0;c[h+4>>2]=j;e=Usb(h+4|0,1203596)|0;eAb(j)|0;c[h>>2]=c[d>>2];c[h+8>>2]=c[h>>2];Sub(a,g+16|0,b,h+8|0,f,e);i=h;return c[b>>2]|0}function Sub(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;a=vi[c[(c[a+8>>2]|0)+4>>2]&2047](a+8|0)|0;c[h>>2]=c[e>>2];c[h+4>>2]=c[h>>2];d=(Ysb(d,h+4|0,a,a+288|0,g,f,0)|0)-a|0;if((d|0)<288)c[b>>2]=((d|0)/12|0|0)%12|0;i=h;return}function Tub(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;h=i;i=i+16|0;j=ssb(e)|0;c[h+4>>2]=j;e=Usb(h+4|0,1203596)|0;eAb(j)|0;c[h>>2]=c[d>>2];c[h+8>>2]=c[h>>2];Uub(a,g+20|0,b,h+8|0,f,e);i=h;return c[b>>2]|0}function Uub(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;c[h>>2]=c[e>>2];c[h+4>>2]=c[h>>2];a=Vub(d,h+4|0,f,g,4)|0;if(!(c[f>>2]&4)){if((a|0)<69)a=a+2e3|0;else a=(a+-69|0)>>>0<31?a+1900|0:a;c[b>>2]=a+-1900}i=h;return}function Vub(a,e,f,g,h){a=a|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;i=c[a>>2]|0;do if(!i)i=0;else if((c[i+12>>2]|0)==(c[i+16>>2]|0))if((vi[c[(c[i>>2]|0)+36>>2]&2047](i)|0)==-1){c[a>>2]=0;i=0;break}else{i=c[a>>2]|0;break}while(0);j=(i|0)==0;i=c[e>>2]|0;do if(!i)p=11;else{if((c[i+12>>2]|0)==(c[i+16>>2]|0))if((vi[c[(c[i>>2]|0)+36>>2]&2047](i)|0)==-1){c[e>>2]=0;p=11;break}if(j)p=13;else p=12}while(0);if((p|0)==11)if(j)p=12;else{i=0;p=13}a:do if((p|0)==12){c[f>>2]=c[f>>2]|6;i=0}else if((p|0)==13){j=c[a>>2]|0;k=c[j+12>>2]|0;if((k|0)==(c[j+16>>2]|0))j=vi[c[(c[j>>2]|0)+36>>2]&2047](j)|0;else j=d[k>>0]|0;k=j&255;if(k<<24>>24>-1)if(b[(c[g+8>>2]|0)+(j<<24>>24<<1)>>1]&2048){l=(Gi[c[(c[g>>2]|0)+36>>2]&255](g,k,0)|0)<<24>>24;j=c[a>>2]|0;k=c[j+12>>2]|0;if((k|0)==(c[j+16>>2]|0)){vi[c[(c[j>>2]|0)+40>>2]&2047](j)|0;n=h;m=i;h=i;i=l}else{c[j+12>>2]=k+1;n=h;m=i;h=i;i=l}while(1){i=i+-48|0;o=n+-1|0;j=c[a>>2]|0;do if(!j)j=0;else if((c[j+12>>2]|0)==(c[j+16>>2]|0))if((vi[c[(c[j>>2]|0)+36>>2]&2047](j)|0)==-1){c[a>>2]=0;j=0;break}else{j=c[a>>2]|0;break}while(0);l=(j|0)==0;if(!h){k=m;h=0}else if((c[h+12>>2]|0)==(c[h+16>>2]|0))if((vi[c[(c[h>>2]|0)+36>>2]&2047](h)|0)==-1){c[e>>2]=0;k=0;h=0}else{k=m;h=m}else k=m;j=c[a>>2]|0;if(!((n|0)>1&(l^(h|0)==0)))break;l=c[j+12>>2]|0;if((l|0)==(c[j+16>>2]|0))j=vi[c[(c[j>>2]|0)+36>>2]&2047](j)|0;else j=d[l>>0]|0;l=j&255;if(l<<24>>24<=-1)break a;if(!(b[(c[g+8>>2]|0)+(j<<24>>24<<1)>>1]&2048))break a;i=((Gi[c[(c[g>>2]|0)+36>>2]&255](g,l,0)|0)<<24>>24)+(i*10|0)|0;j=c[a>>2]|0;l=c[j+12>>2]|0;if((l|0)==(c[j+16>>2]|0)){vi[c[(c[j>>2]|0)+40>>2]&2047](j)|0;n=o;m=k;continue}else{c[j+12>>2]=l+1;n=o;m=k;continue}}do if(!j)j=0;else if((c[j+12>>2]|0)==(c[j+16>>2]|0))if((vi[c[(c[j>>2]|0)+36>>2]&2047](j)|0)==-1){c[a>>2]=0;j=0;break}else{j=c[a>>2]|0;break}while(0);j=(j|0)==0;do if(!k)p=50;else{if((c[k+12>>2]|0)==(c[k+16>>2]|0))if((vi[c[(c[k>>2]|0)+36>>2]&2047](k)|0)==-1){c[e>>2]=0;p=50;break}if(j)break a}while(0);if((p|0)==50)if(!j)break;c[f>>2]=c[f>>2]|2;break}c[f>>2]=c[f>>2]|4;i=0}while(0);return i|0}function Wub(b,d,e,f,g,h,j,k){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0;l=i;i=i+144|0;c[g>>2]=0;n=ssb(f)|0;c[l+128>>2]=n;k=Usb(l+128|0,1203596)|0;eAb(n)|0;do switch(j<<24>>24|0){case 65:case 97:{c[l+124>>2]=c[e>>2];c[l+132>>2]=c[l+124>>2];Qub(b,h+24|0,d,l+132|0,g,k);m=26;break}case 104:case 66:case 98:{c[l+120>>2]=c[e>>2];c[l+132>>2]=c[l+120>>2];Sub(b,h+16|0,d,l+132|0,g,k);m=26;break}case 99:{m=vi[c[(c[b+8>>2]|0)+12>>2]&2047](b+8|0)|0;c[l+112>>2]=c[d>>2];c[l+108>>2]=c[e>>2];j=a[m>>0]|0;n=(j&1)==0?m+1|0:c[m+8>>2]|0;m=n+((j&1)==0?(j&255)>>>1:c[m+4>>2]|0)|0;c[l+116>>2]=c[l+112>>2];c[l+132>>2]=c[l+108>>2];c[d>>2]=Nub(b,l+116|0,l+132|0,f,g,h,n,m)|0;m=26;break}case 101:case 100:{c[l+104>>2]=c[e>>2];c[l+132>>2]=c[l+104>>2];Xub(b,h+12|0,d,l+132|0,g,k);m=26;break}case 68:{c[l+100>>2]=c[d>>2];c[l+96>>2]=c[e>>2];c[l+116>>2]=c[l+100>>2];c[l+132>>2]=c[l+96>>2];c[d>>2]=Nub(b,l+116|0,l+132|0,f,g,h,618174,618182)|0;m=26;break}case 70:{c[l+92>>2]=c[d>>2];c[l+88>>2]=c[e>>2];c[l+116>>2]=c[l+92>>2];c[l+132>>2]=c[l+88>>2];c[d>>2]=Nub(b,l+116|0,l+132|0,f,g,h,618182,618190)|0;m=26;break}case 72:{c[l+84>>2]=c[e>>2];c[l+132>>2]=c[l+84>>2];Yub(b,h+8|0,d,l+132|0,g,k);m=26;break}case 73:{c[l+80>>2]=c[e>>2];c[l+132>>2]=c[l+80>>2];Zub(b,h+8|0,d,l+132|0,g,k);m=26;break}case 106:{c[l+76>>2]=c[e>>2];c[l+132>>2]=c[l+76>>2];_ub(b,h+28|0,d,l+132|0,g,k);m=26;break}case 109:{c[l+72>>2]=c[e>>2];c[l+132>>2]=c[l+72>>2];$ub(b,h+16|0,d,l+132|0,g,k);m=26;break}case 77:{c[l+68>>2]=c[e>>2];c[l+132>>2]=c[l+68>>2];avb(b,h+4|0,d,l+132|0,g,k);m=26;break}case 116:case 110:{c[l+64>>2]=c[e>>2];c[l+132>>2]=c[l+64>>2];bvb(b,d,l+132|0,g,k);m=26;break}case 112:{c[l+60>>2]=c[e>>2];c[l+132>>2]=c[l+60>>2];cvb(b,h+8|0,d,l+132|0,g,k);m=26;break}case 114:{c[l+56>>2]=c[d>>2];c[l+52>>2]=c[e>>2];c[l+116>>2]=c[l+56>>2];c[l+132>>2]=c[l+52>>2];c[d>>2]=Nub(b,l+116|0,l+132|0,f,g,h,618190,618201)|0;m=26;break}case 82:{c[l+48>>2]=c[d>>2];c[l+44>>2]=c[e>>2];c[l+116>>2]=c[l+48>>2];c[l+132>>2]=c[l+44>>2];c[d>>2]=Nub(b,l+116|0,l+132|0,f,g,h,618201,618206)|0;m=26;break}case 83:{c[l+40>>2]=c[e>>2];c[l+132>>2]=c[l+40>>2];dvb(b,h,d,l+132|0,g,k);m=26;break}case 84:{c[l+36>>2]=c[d>>2];c[l+32>>2]=c[e>>2];c[l+116>>2]=c[l+36>>2];c[l+132>>2]=c[l+32>>2];c[d>>2]=Nub(b,l+116|0,l+132|0,f,g,h,618206,618214)|0;m=26;break}case 119:{c[l+28>>2]=c[e>>2];c[l+132>>2]=c[l+28>>2];evb(b,h+24|0,d,l+132|0,g,k);m=26;break}case 120:{k=c[(c[b>>2]|0)+20>>2]|0;c[l+24>>2]=c[d>>2];c[l+20>>2]=c[e>>2];c[l+116>>2]=c[l+24>>2];c[l+132>>2]=c[l+20>>2];k=ti[k&63](b,l+116|0,l+132|0,f,g,h)|0;break}case 88:{m=vi[c[(c[b+8>>2]|0)+24>>2]&2047](b+8|0)|0;c[l+16>>2]=c[d>>2];c[l+12>>2]=c[e>>2];j=a[m>>0]|0;n=(j&1)==0?m+1|0:c[m+8>>2]|0;m=n+((j&1)==0?(j&255)>>>1:c[m+4>>2]|0)|0;c[l+116>>2]=c[l+16>>2];c[l+132>>2]=c[l+12>>2];c[d>>2]=Nub(b,l+116|0,l+132|0,f,g,h,n,m)|0;m=26;break}case 121:{c[l+8>>2]=c[e>>2];c[l+132>>2]=c[l+8>>2];Uub(b,h+20|0,d,l+132|0,g,k);m=26;break}case 89:{c[l+4>>2]=c[e>>2];c[l+132>>2]=c[l+4>>2];fvb(b,h+20|0,d,l+132|0,g,k);m=26;break}case 37:{c[l>>2]=c[e>>2];c[l+132>>2]=c[l>>2];gvb(b,d,l+132|0,g,k);m=26;break}default:{c[g>>2]=c[g>>2]|4;m=26}}while(0);if((m|0)==26)k=c[d>>2]|0;i=l;return k|0}function Xub(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;c[h>>2]=c[e>>2];c[h+4>>2]=c[h>>2];a=Vub(d,h+4|0,f,g,2)|0;d=c[f>>2]|0;if((a+-1|0)>>>0<31&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;i=h;return}function Yub(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;c[h>>2]=c[e>>2];c[h+4>>2]=c[h>>2];a=Vub(d,h+4|0,f,g,2)|0;d=c[f>>2]|0;if((a|0)<24&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;i=h;return}function Zub(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;c[h>>2]=c[e>>2];c[h+4>>2]=c[h>>2];a=Vub(d,h+4|0,f,g,2)|0;d=c[f>>2]|0;if((a+-1|0)>>>0<12&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;i=h;return}function _ub(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;c[h>>2]=c[e>>2];c[h+4>>2]=c[h>>2];a=Vub(d,h+4|0,f,g,3)|0;d=c[f>>2]|0;if((a|0)<366&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;i=h;return}function $ub(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;c[h>>2]=c[e>>2];c[h+4>>2]=c[h>>2];a=Vub(d,h+4|0,f,g,2)|0;d=c[f>>2]|0;if((a|0)<13&(d&4|0)==0)c[b>>2]=a+-1;else c[f>>2]=d|4;i=h;return}function avb(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;c[h>>2]=c[e>>2];c[h+4>>2]=c[h>>2];a=Vub(d,h+4|0,f,g,2)|0;d=c[f>>2]|0;if((a|0)<60&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;i=h;return}function bvb(a,e,f,g,h){a=a|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0;a:while(1){a=c[e>>2]|0;do if(!a)a=0;else if((c[a+12>>2]|0)==(c[a+16>>2]|0))if((vi[c[(c[a>>2]|0)+36>>2]&2047](a)|0)==-1){c[e>>2]=0;a=0;break}else{a=c[e>>2]|0;break}while(0);a=(a|0)==0;i=c[f>>2]|0;do if(!i)k=12;else{if((c[i+12>>2]|0)!=(c[i+16>>2]|0))if(a)break;else break a;if((vi[c[(c[i>>2]|0)+36>>2]&2047](i)|0)==-1){c[f>>2]=0;k=12;break}else if(a)break;else break a}while(0);if((k|0)==12){k=0;if(a){i=0;break}else i=0}a=c[e>>2]|0;j=c[a+12>>2]|0;if((j|0)==(c[a+16>>2]|0))a=vi[c[(c[a>>2]|0)+36>>2]&2047](a)|0;else a=d[j>>0]|0;if((a&255)<<24>>24<=-1)break;if(!(b[(c[h+8>>2]|0)+(a<<24>>24<<1)>>1]&8192))break;a=c[e>>2]|0;i=c[a+12>>2]|0;if((i|0)==(c[a+16>>2]|0)){vi[c[(c[a>>2]|0)+40>>2]&2047](a)|0;continue}else{c[a+12>>2]=i+1;continue}}a=c[e>>2]|0;do if(!a)a=0;else if((c[a+12>>2]|0)==(c[a+16>>2]|0))if((vi[c[(c[a>>2]|0)+36>>2]&2047](a)|0)==-1){c[e>>2]=0;a=0;break}else{a=c[e>>2]|0;break}while(0);a=(a|0)==0;do if(!i)k=32;else{if((c[i+12>>2]|0)==(c[i+16>>2]|0))if((vi[c[(c[i>>2]|0)+36>>2]&2047](i)|0)==-1){c[f>>2]=0;k=32;break}if(!a)k=33}while(0);if((k|0)==32)if(a)k=33;if((k|0)==33)c[g>>2]=c[g>>2]|2;return}function cvb(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0;l=i;i=i+16|0;k=vi[c[(c[b+8>>2]|0)+8>>2]&2047](b+8|0)|0;b=a[k>>0]|0;if(!(b&1))j=(b&255)>>>1;else j=c[k+4>>2]|0;b=a[k+12>>0]|0;if(!(b&1))b=(b&255)>>>1;else b=c[k+16>>2]|0;do if((j|0)==(0-b|0))c[g>>2]=c[g>>2]|4;else{c[l>>2]=c[f>>2];c[l+4>>2]=c[l>>2];b=Ysb(e,l+4|0,k,k+24|0,h,g,0)|0;j=c[d>>2]|0;if((b|0)==(k|0)&(j|0)==12){c[d>>2]=0;break}if((j|0)<12&(b-k|0)==12)c[d>>2]=j+12}while(0);i=l;return}function dvb(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;c[h>>2]=c[e>>2];c[h+4>>2]=c[h>>2];a=Vub(d,h+4|0,f,g,2)|0;d=c[f>>2]|0;if((a|0)<61&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;i=h;return}function evb(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;c[h>>2]=c[e>>2];c[h+4>>2]=c[h>>2];a=Vub(d,h+4|0,f,g,1)|0;d=c[f>>2]|0;if((a|0)<7&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;i=h;return}function fvb(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;c[h>>2]=c[e>>2];c[h+4>>2]=c[h>>2];a=Vub(d,h+4|0,f,g,4)|0;if(!(c[f>>2]&4))c[b>>2]=a+-1900;i=h;return}function gvb(a,b,e,f,g){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0;a=c[b>>2]|0;do if(!a)a=0;else if((c[a+12>>2]|0)==(c[a+16>>2]|0))if((vi[c[(c[a>>2]|0)+36>>2]&2047](a)|0)==-1){c[b>>2]=0;a=0;break}else{a=c[b>>2]|0;break}while(0);h=(a|0)==0;a=c[e>>2]|0;do if(!a)j=11;else{if((c[a+12>>2]|0)==(c[a+16>>2]|0))if((vi[c[(c[a>>2]|0)+36>>2]&2047](a)|0)==-1){c[e>>2]=0;j=11;break}if(h){i=a;j=13}else j=12}while(0);if((j|0)==11)if(h)j=12;else{i=0;j=13}a:do if((j|0)==12)c[f>>2]=c[f>>2]|6;else if((j|0)==13){a=c[b>>2]|0;h=c[a+12>>2]|0;if((h|0)==(c[a+16>>2]|0))a=vi[c[(c[a>>2]|0)+36>>2]&2047](a)|0;else a=d[h>>0]|0;if((Gi[c[(c[g>>2]|0)+36>>2]&255](g,a&255,0)|0)<<24>>24!=37){c[f>>2]=c[f>>2]|4;break}a=c[b>>2]|0;h=c[a+12>>2]|0;if((h|0)==(c[a+16>>2]|0)){vi[c[(c[a>>2]|0)+40>>2]&2047](a)|0;a=c[b>>2]|0;if(!a)a=0;else j=21}else{c[a+12>>2]=h+1;j=21}do if((j|0)==21)if((c[a+12>>2]|0)==(c[a+16>>2]|0))if((vi[c[(c[a>>2]|0)+36>>2]&2047](a)|0)==-1){c[b>>2]=0;a=0;break}else{a=c[b>>2]|0;break}while(0);a=(a|0)==0;do if(!i)j=30;else{if((c[i+12>>2]|0)==(c[i+16>>2]|0))if((vi[c[(c[i>>2]|0)+36>>2]&2047](i)|0)==-1){c[e>>2]=0;j=30;break}if(a)break a}while(0);if((j|0)==30)if(!a)break;c[f>>2]=c[f>>2]|2}while(0);return}function hvb(b){b=b|0;var d=0;if(!(a[622040]|0))if(se(622040)|0){if(!(a[622048]|0))if(se(622048)|0){b=1203668;do{d=0;while(1){if((d|0)==3)break;c[b+(d<<2)>>2]=0;d=d+1|0}b=b+12|0}while((b|0)!=1203836);fd(622048)}Rqb(1203668,618214)|0;Rqb(1203680,618221)|0;Rqb(1203692,618228)|0;Rqb(1203704,618236)|0;Rqb(1203716,618246)|0;Rqb(1203728,618255)|0;Rqb(1203740,618262)|0;Rqb(1203752,618271)|0;Rqb(1203764,618275)|0;Rqb(1203776,618279)|0;Rqb(1203788,618283)|0;Rqb(1203800,618287)|0;Rqb(1203812,618291)|0;Rqb(1203824,618295)|0;c[300959]=1203668;fd(622040)}return c[300959]|0}function ivb(b){b=b|0;var d=0;if(!(a[622056]|0))if(se(622056)|0){if(!(a[622064]|0))if(se(622064)|0){b=1203840;do{d=0;while(1){if((d|0)==3)break;c[b+(d<<2)>>2]=0;d=d+1|0}b=b+12|0}while((b|0)!=1204128);fd(622064)}Rqb(1203840,618299)|0;Rqb(1203852,618307)|0;Rqb(1203864,618316)|0;Rqb(1203876,618322)|0;Rqb(1203888,618328)|0;Rqb(1203900,618332)|0;Rqb(1203912,618337)|0;Rqb(1203924,618342)|0;Rqb(1203936,618349)|0;Rqb(1203948,618359)|0;Rqb(1203960,618367)|0;Rqb(1203972,618376)|0;Rqb(1203984,618385)|0;Rqb(1203996,618389)|0;Rqb(1204008,618393)|0;Rqb(1204020,618397)|0;Rqb(1204032,618328)|0;Rqb(1204044,618401)|0;Rqb(1204056,618405)|0;Rqb(1204068,618409)|0;Rqb(1204080,618413)|0;Rqb(1204092,618417)|0;Rqb(1204104,618421)|0;Rqb(1204116,618425)|0;c[301032]=1203840;fd(622056)}return c[301032]|0}function jvb(b){b=b|0;var d=0;if(!(a[622072]|0))if(se(622072)|0){if(!(a[622080]|0))if(se(622080)|0){b=1204132;do{d=0;while(1){if((d|0)==3)break;c[b+(d<<2)>>2]=0;d=d+1|0}b=b+12|0}while((b|0)!=1204420);fd(622080)}Rqb(1204132,618429)|0;Rqb(1204144,618432)|0;c[301105]=1204132;fd(622072)}return c[301105]|0}function kvb(b){b=b|0;if(!(a[622088]|0))if(se(622088)|0){Iqb(1204424,618435,20);fd(622088)}return 1204424}function lvb(b){b=b|0;if(!(a[622096]|0))if(se(622096)|0){Iqb(1204436,618456,11);fd(622096)}return 1204436}function mvb(b){b=b|0;if(!(a[622104]|0))if(se(622104)|0){Iqb(1204448,618468,8);fd(622104)}return 1204448}function nvb(b){b=b|0;if(!(a[622112]|0))if(se(622112)|0){Iqb(1204460,618477,8);fd(622112)}return 1204460}function ovb(a){a=a|0;return}function pvb(a){a=a|0;oAb(a);return}function qvb(a){a=a|0;return 2}function rvb(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;c[h+4>>2]=c[b>>2];c[h>>2]=c[d>>2];c[h+8>>2]=c[h+4>>2];c[h+12>>2]=c[h>>2];a=svb(a,h+8|0,h+12|0,e,f,g,153780,153812)|0;i=h;return a|0}function svb(a,b,d,e,f,g,h,j){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+32|0;k=ssb(e)|0;c[s+8>>2]=k;q=Usb(s+8|0,1203628)|0;eAb(k)|0;c[f>>2]=0;k=h;h=0;a:while(1){p=(k|0)!=(j|0);while(1){l=c[b>>2]|0;if(!(p&(h|0)==0)){h=l;break a}if(!l){h=0;o=l;m=1}else{h=c[l+12>>2]|0;if((h|0)==(c[l+16>>2]|0))h=vi[c[(c[l>>2]|0)+36>>2]&2047](l)|0;else h=c[h>>2]|0;if((h|0)==-1){c[b>>2]=0;h=0;o=0;m=1}else{h=l;o=l;m=0}}n=c[d>>2]|0;do if(!n){l=n;r=16}else{l=c[n+12>>2]|0;if((l|0)==(c[n+16>>2]|0))l=vi[c[(c[n>>2]|0)+36>>2]&2047](n)|0;else l=c[l>>2]|0;if((l|0)==-1){c[d>>2]=0;l=0;r=16;break}else if(m){m=n;l=n;break}else{r=18;break a}}while(0);if((r|0)==16){r=0;if(m){r=18;break a}else m=0}if((Gi[c[(c[q>>2]|0)+52>>2]&255](q,c[k>>2]|0,0)|0)<<24>>24==37){p=o;o=l;r=20;break}if(Gi[c[(c[q>>2]|0)+12>>2]&255](q,8192,c[k>>2]|0)|0){r=28;break}m=h+12|0;l=c[m>>2]|0;n=h+16|0;if((l|0)==(c[n>>2]|0))l=vi[c[(c[h>>2]|0)+36>>2]&2047](h)|0;else l=c[l>>2]|0;o=Xi[c[(c[q>>2]|0)+28>>2]&511](q,l)|0;if((o|0)==(Xi[c[(c[q>>2]|0)+28>>2]&511](q,c[k>>2]|0)|0)){r=57;break}c[f>>2]=4;h=4}b:do if((r|0)==20){r=0;l=k+4|0;if((l|0)==(j|0)){r=21;break a}n=Gi[c[(c[q>>2]|0)+52>>2]&255](q,c[l>>2]|0,0)|0;switch(n<<24>>24){case 48:case 69:{m=k+8|0;if((m|0)==(j|0)){r=26;break a}k=l;l=Gi[c[(c[q>>2]|0)+52>>2]&255](q,c[m>>2]|0,0)|0;h=n;break}default:{l=n;h=0}}n=c[(c[a>>2]|0)+36>>2]|0;c[s+4>>2]=p;c[s>>2]=o;c[s+12>>2]=c[s+4>>2];c[s+16>>2]=c[s>>2];c[b>>2]=hj[n&31](a,s+12|0,s+16|0,e,f,g,l,h)|0;h=k+8|0}else if((r|0)==28){r=0;do{k=k+4|0;if((k|0)==(j|0)){k=j;break}}while(Gi[c[(c[q>>2]|0)+12>>2]&255](q,8192,c[k>>2]|0)|0);l=m;o=m;while(1){if(!h){h=0;n=1}else{m=c[h+12>>2]|0;if((m|0)==(c[h+16>>2]|0))m=vi[c[(c[h>>2]|0)+36>>2]&2047](h)|0;else m=c[m>>2]|0;if((m|0)==-1){c[b>>2]=0;h=0;n=1}else n=0}do if(!o)r=44;else{m=c[o+12>>2]|0;if((m|0)==(c[o+16>>2]|0))m=vi[c[(c[o>>2]|0)+36>>2]&2047](o)|0;else m=c[m>>2]|0;if((m|0)==-1){c[d>>2]=0;l=0;r=44;break}else if(n^(l|0)==0){p=l;o=l;break}else{h=k;break b}}while(0);if((r|0)==44){r=0;if(n){h=k;break b}else{p=l;o=0}}n=h+12|0;l=c[n>>2]|0;m=h+16|0;if((l|0)==(c[m>>2]|0))l=vi[c[(c[h>>2]|0)+36>>2]&2047](h)|0;else l=c[l>>2]|0;if(!(Gi[c[(c[q>>2]|0)+12>>2]&255](q,8192,l)|0)){h=k;break b}l=c[n>>2]|0;if((l|0)==(c[m>>2]|0)){vi[c[(c[h>>2]|0)+40>>2]&2047](h)|0;l=p;continue}else{c[n>>2]=l+4;l=p;continue}}}else if((r|0)==57){r=0;l=c[m>>2]|0;if((l|0)==(c[n>>2]|0))vi[c[(c[h>>2]|0)+40>>2]&2047](h)|0;else c[m>>2]=l+4;h=k+4|0}while(0);k=h;h=c[f>>2]|0}if((r|0)==18)c[f>>2]=4;else if((r|0)==21)c[f>>2]=4;else if((r|0)==26)c[f>>2]=4;if(!h){h=0;m=1}else{k=c[h+12>>2]|0;if((k|0)==(c[h+16>>2]|0))k=vi[c[(c[h>>2]|0)+36>>2]&2047](h)|0;else k=c[k>>2]|0;if((k|0)==-1){c[b>>2]=0;h=0;m=1}else m=0}k=c[d>>2]|0;do if(!k)r=75;else{l=c[k+12>>2]|0;if((l|0)==(c[k+16>>2]|0))k=vi[c[(c[k>>2]|0)+36>>2]&2047](k)|0;else k=c[l>>2]|0;if((k|0)==-1){c[d>>2]=0;r=75;break}else if(m)break;else{r=77;break}}while(0);if((r|0)==75)if(m)r=77;if((r|0)==77)c[f>>2]=c[f>>2]|2;i=s;return h|0}function tvb(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0;j=i;i=i+16|0;k=vi[c[(c[b+8>>2]|0)+20>>2]&2047](b+8|0)|0;c[j+4>>2]=c[d>>2];c[j>>2]=c[e>>2];e=a[k>>0]|0;d=(e&1)==0?k+4|0:c[k+8>>2]|0;e=d+(((e&1)==0?(e&255)>>>1:c[k+4>>2]|0)<<2)|0;c[j+8>>2]=c[j+4>>2];c[j+12>>2]=c[j>>2];b=svb(b,j+8|0,j+12|0,f,g,h,d,e)|0;i=j;return b|0}function uvb(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;h=i;i=i+16|0;j=ssb(e)|0;c[h+4>>2]=j;e=Usb(h+4|0,1203628)|0;eAb(j)|0;c[h>>2]=c[d>>2];c[h+8>>2]=c[h>>2];vvb(a,g+24|0,b,h+8|0,f,e);i=h;return c[b>>2]|0}function vvb(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;a=vi[c[c[a+8>>2]>>2]&2047](a+8|0)|0;c[h>>2]=c[e>>2];c[h+4>>2]=c[h>>2];d=(Jtb(d,h+4|0,a,a+168|0,g,f,0)|0)-a|0;if((d|0)<168)c[b>>2]=((d|0)/12|0|0)%7|0;i=h;return}function wvb(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;h=i;i=i+16|0;j=ssb(e)|0;c[h+4>>2]=j;e=Usb(h+4|0,1203628)|0;eAb(j)|0;c[h>>2]=c[d>>2];c[h+8>>2]=c[h>>2];xvb(a,g+16|0,b,h+8|0,f,e);i=h;return c[b>>2]|0}function xvb(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;a=vi[c[(c[a+8>>2]|0)+4>>2]&2047](a+8|0)|0;c[h>>2]=c[e>>2];c[h+4>>2]=c[h>>2];d=(Jtb(d,h+4|0,a,a+288|0,g,f,0)|0)-a|0;if((d|0)<288)c[b>>2]=((d|0)/12|0|0)%12|0;i=h;return}function yvb(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;h=i;i=i+16|0;j=ssb(e)|0;c[h+4>>2]=j;e=Usb(h+4|0,1203628)|0;eAb(j)|0;c[h>>2]=c[d>>2];c[h+8>>2]=c[h>>2];zvb(a,g+20|0,b,h+8|0,f,e);i=h;return c[b>>2]|0}function zvb(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;c[h>>2]=c[e>>2];c[h+4>>2]=c[h>>2];a=Avb(d,h+4|0,f,g,4)|0;if(!(c[f>>2]&4)){if((a|0)<69)a=a+2e3|0;else a=(a+-69|0)>>>0<31?a+1900|0:a;c[b>>2]=a+-1900}i=h;return}function Avb(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;g=c[a>>2]|0;do if(!g)i=1;else{h=c[g+12>>2]|0;if((h|0)==(c[g+16>>2]|0))g=vi[c[(c[g>>2]|0)+36>>2]&2047](g)|0;else g=c[h>>2]|0;if((g|0)==-1){c[a>>2]=0;i=1;break}else{i=(c[a>>2]|0)==0;break}}while(0);h=c[b>>2]|0;do if(!h)o=14;else{g=c[h+12>>2]|0;if((g|0)==(c[h+16>>2]|0))g=vi[c[(c[h>>2]|0)+36>>2]&2047](h)|0;else g=c[g>>2]|0;if((g|0)==-1){c[b>>2]=0;o=14;break}else if(i){o=17;break}else{o=16;break}}while(0);if((o|0)==14)if(i)o=16;else{h=0;o=17}a:do if((o|0)==16){c[d>>2]=c[d>>2]|6;g=0}else if((o|0)==17){g=c[a>>2]|0;i=c[g+12>>2]|0;if((i|0)==(c[g+16>>2]|0))g=vi[c[(c[g>>2]|0)+36>>2]&2047](g)|0;else g=c[i>>2]|0;if(!(Gi[c[(c[e>>2]|0)+12>>2]&255](e,2048,g)|0)){c[d>>2]=c[d>>2]|4;g=0;break}g=(Gi[c[(c[e>>2]|0)+52>>2]&255](e,g,0)|0)<<24>>24;i=c[a>>2]|0;j=c[i+12>>2]|0;if((j|0)==(c[i+16>>2]|0)){vi[c[(c[i>>2]|0)+40>>2]&2047](i)|0;m=f;l=h;j=h}else{c[i+12>>2]=j+4;m=f;l=h;j=h}while(1){g=g+-48|0;n=m+-1|0;h=c[a>>2]|0;do if(!h)f=1;else{i=c[h+12>>2]|0;if((i|0)==(c[h+16>>2]|0))h=vi[c[(c[h>>2]|0)+36>>2]&2047](h)|0;else h=c[i>>2]|0;if((h|0)==-1){c[a>>2]=0;f=1;break}else{f=(c[a>>2]|0)==0;break}}while(0);do if(!j){j=l;k=0;h=1}else{h=c[j+12>>2]|0;if((h|0)==(c[j+16>>2]|0))h=vi[c[(c[j>>2]|0)+36>>2]&2047](j)|0;else h=c[h>>2]|0;if((h|0)==-1){c[b>>2]=0;j=0;k=0;h=1;break}else{j=l;k=l;h=(l|0)==0;break}}while(0);i=c[a>>2]|0;if(!((m|0)>1&(f^h)))break;h=c[i+12>>2]|0;if((h|0)==(c[i+16>>2]|0))h=vi[c[(c[i>>2]|0)+36>>2]&2047](i)|0;else h=c[h>>2]|0;if(!(Gi[c[(c[e>>2]|0)+12>>2]&255](e,2048,h)|0))break a;g=((Gi[c[(c[e>>2]|0)+52>>2]&255](e,h,0)|0)<<24>>24)+(g*10|0)|0;h=c[a>>2]|0;i=c[h+12>>2]|0;if((i|0)==(c[h+16>>2]|0)){vi[c[(c[h>>2]|0)+40>>2]&2047](h)|0;m=n;l=j;j=k;continue}else{c[h+12>>2]=i+4;m=n;l=j;j=k;continue}}do if(!i)i=1;else{h=c[i+12>>2]|0;if((h|0)==(c[i+16>>2]|0))h=vi[c[(c[i>>2]|0)+36>>2]&2047](i)|0;else h=c[h>>2]|0;if((h|0)==-1){c[a>>2]=0;i=1;break}else{i=(c[a>>2]|0)==0;break}}while(0);do if(!j)o=60;else{h=c[j+12>>2]|0;if((h|0)==(c[j+16>>2]|0))h=vi[c[(c[j>>2]|0)+36>>2]&2047](j)|0;else h=c[h>>2]|0;if((h|0)==-1){c[b>>2]=0;o=60;break}else if(i)break a;else break}while(0);if((o|0)==60)if(!i)break;c[d>>2]=c[d>>2]|2}while(0);return g|0}function Bvb(b,d,e,f,g,h,j,k){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0;l=i;i=i+144|0;c[g>>2]=0;n=ssb(f)|0;c[l+128>>2]=n;k=Usb(l+128|0,1203628)|0;eAb(n)|0;do switch(j<<24>>24|0){case 65:case 97:{c[l+124>>2]=c[e>>2];c[l+132>>2]=c[l+124>>2];vvb(b,h+24|0,d,l+132|0,g,k);m=26;break}case 104:case 66:case 98:{c[l+120>>2]=c[e>>2];c[l+132>>2]=c[l+120>>2];xvb(b,h+16|0,d,l+132|0,g,k);m=26;break}case 99:{m=vi[c[(c[b+8>>2]|0)+12>>2]&2047](b+8|0)|0;c[l+112>>2]=c[d>>2];c[l+108>>2]=c[e>>2];j=a[m>>0]|0;n=(j&1)==0?m+4|0:c[m+8>>2]|0;m=n+(((j&1)==0?(j&255)>>>1:c[m+4>>2]|0)<<2)|0;c[l+116>>2]=c[l+112>>2];c[l+132>>2]=c[l+108>>2];c[d>>2]=svb(b,l+116|0,l+132|0,f,g,h,n,m)|0;m=26;break}case 101:case 100:{c[l+104>>2]=c[e>>2];c[l+132>>2]=c[l+104>>2];Cvb(b,h+12|0,d,l+132|0,g,k);m=26;break}case 68:{c[l+100>>2]=c[d>>2];c[l+96>>2]=c[e>>2];c[l+116>>2]=c[l+100>>2];c[l+132>>2]=c[l+96>>2];c[d>>2]=svb(b,l+116|0,l+132|0,f,g,h,153812,153844)|0;m=26;break}case 70:{c[l+92>>2]=c[d>>2];c[l+88>>2]=c[e>>2];c[l+116>>2]=c[l+92>>2];c[l+132>>2]=c[l+88>>2];c[d>>2]=svb(b,l+116|0,l+132|0,f,g,h,153844,153876)|0;m=26;break}case 72:{c[l+84>>2]=c[e>>2];c[l+132>>2]=c[l+84>>2];Dvb(b,h+8|0,d,l+132|0,g,k);m=26;break}case 73:{c[l+80>>2]=c[e>>2];c[l+132>>2]=c[l+80>>2];Evb(b,h+8|0,d,l+132|0,g,k);m=26;break}case 106:{c[l+76>>2]=c[e>>2];c[l+132>>2]=c[l+76>>2];Fvb(b,h+28|0,d,l+132|0,g,k);m=26;break}case 109:{c[l+72>>2]=c[e>>2];c[l+132>>2]=c[l+72>>2];Gvb(b,h+16|0,d,l+132|0,g,k);m=26;break}case 77:{c[l+68>>2]=c[e>>2];c[l+132>>2]=c[l+68>>2];Hvb(b,h+4|0,d,l+132|0,g,k);m=26;break}case 116:case 110:{c[l+64>>2]=c[e>>2];c[l+132>>2]=c[l+64>>2];Ivb(b,d,l+132|0,g,k);m=26;break}case 112:{c[l+60>>2]=c[e>>2];c[l+132>>2]=c[l+60>>2];Jvb(b,h+8|0,d,l+132|0,g,k);m=26;break}case 114:{c[l+56>>2]=c[d>>2];c[l+52>>2]=c[e>>2];c[l+116>>2]=c[l+56>>2];c[l+132>>2]=c[l+52>>2];c[d>>2]=svb(b,l+116|0,l+132|0,f,g,h,153876,153920)|0;m=26;break}case 82:{c[l+48>>2]=c[d>>2];c[l+44>>2]=c[e>>2];c[l+116>>2]=c[l+48>>2];c[l+132>>2]=c[l+44>>2];c[d>>2]=svb(b,l+116|0,l+132|0,f,g,h,153920,153940)|0;m=26;break}case 83:{c[l+40>>2]=c[e>>2];c[l+132>>2]=c[l+40>>2];Kvb(b,h,d,l+132|0,g,k);m=26;break}case 84:{c[l+36>>2]=c[d>>2];c[l+32>>2]=c[e>>2];c[l+116>>2]=c[l+36>>2];c[l+132>>2]=c[l+32>>2];c[d>>2]=svb(b,l+116|0,l+132|0,f,g,h,153940,153972)|0;m=26;break}case 119:{c[l+28>>2]=c[e>>2];c[l+132>>2]=c[l+28>>2];Lvb(b,h+24|0,d,l+132|0,g,k);m=26;break}case 120:{k=c[(c[b>>2]|0)+20>>2]|0;c[l+24>>2]=c[d>>2];c[l+20>>2]=c[e>>2];c[l+116>>2]=c[l+24>>2];c[l+132>>2]=c[l+20>>2];k=ti[k&63](b,l+116|0,l+132|0,f,g,h)|0;break}case 88:{m=vi[c[(c[b+8>>2]|0)+24>>2]&2047](b+8|0)|0;c[l+16>>2]=c[d>>2];c[l+12>>2]=c[e>>2];j=a[m>>0]|0;n=(j&1)==0?m+4|0:c[m+8>>2]|0;m=n+(((j&1)==0?(j&255)>>>1:c[m+4>>2]|0)<<2)|0;c[l+116>>2]=c[l+16>>2];c[l+132>>2]=c[l+12>>2];c[d>>2]=svb(b,l+116|0,l+132|0,f,g,h,n,m)|0;m=26;break}case 121:{c[l+8>>2]=c[e>>2];c[l+132>>2]=c[l+8>>2];zvb(b,h+20|0,d,l+132|0,g,k);m=26;break}case 89:{c[l+4>>2]=c[e>>2];c[l+132>>2]=c[l+4>>2];Mvb(b,h+20|0,d,l+132|0,g,k);m=26;break}case 37:{c[l>>2]=c[e>>2];c[l+132>>2]=c[l>>2];Nvb(b,d,l+132|0,g,k);m=26;break}default:{c[g>>2]=c[g>>2]|4;m=26}}while(0);if((m|0)==26)k=c[d>>2]|0;i=l;return k|0}function Cvb(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;c[h>>2]=c[e>>2];c[h+4>>2]=c[h>>2];a=Avb(d,h+4|0,f,g,2)|0;d=c[f>>2]|0;if((a+-1|0)>>>0<31&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;i=h;return}function Dvb(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;c[h>>2]=c[e>>2];c[h+4>>2]=c[h>>2];a=Avb(d,h+4|0,f,g,2)|0;d=c[f>>2]|0;if((a|0)<24&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;i=h;return}function Evb(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;c[h>>2]=c[e>>2];c[h+4>>2]=c[h>>2];a=Avb(d,h+4|0,f,g,2)|0;d=c[f>>2]|0;if((a+-1|0)>>>0<12&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;i=h;return}function Fvb(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;c[h>>2]=c[e>>2];c[h+4>>2]=c[h>>2];a=Avb(d,h+4|0,f,g,3)|0;d=c[f>>2]|0;if((a|0)<366&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;i=h;return}function Gvb(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;c[h>>2]=c[e>>2];c[h+4>>2]=c[h>>2];a=Avb(d,h+4|0,f,g,2)|0;d=c[f>>2]|0;if((a|0)<13&(d&4|0)==0)c[b>>2]=a+-1;else c[f>>2]=d|4;i=h;return}function Hvb(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;c[h>>2]=c[e>>2];c[h+4>>2]=c[h>>2];a=Avb(d,h+4|0,f,g,2)|0;d=c[f>>2]|0;if((a|0)<60&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;i=h;return}function Ivb(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;a:while(1){a=c[b>>2]|0;do if(!a)h=1;else{g=c[a+12>>2]|0;if((g|0)==(c[a+16>>2]|0))a=vi[c[(c[a>>2]|0)+36>>2]&2047](a)|0;else a=c[g>>2]|0;if((a|0)==-1){c[b>>2]=0;h=1;break}else{h=(c[b>>2]|0)==0;break}}while(0);g=c[d>>2]|0;do if(!g)i=15;else{a=c[g+12>>2]|0;if((a|0)==(c[g+16>>2]|0))a=vi[c[(c[g>>2]|0)+36>>2]&2047](g)|0;else a=c[a>>2]|0;if((a|0)==-1){c[d>>2]=0;i=15;break}else if(h){h=g;break}else{h=g;break a}}while(0);if((i|0)==15){i=0;if(h){h=0;break}else h=0}a=c[b>>2]|0;g=c[a+12>>2]|0;if((g|0)==(c[a+16>>2]|0))a=vi[c[(c[a>>2]|0)+36>>2]&2047](a)|0;else a=c[g>>2]|0;if(!(Gi[c[(c[f>>2]|0)+12>>2]&255](f,8192,a)|0))break;a=c[b>>2]|0;g=c[a+12>>2]|0;if((g|0)==(c[a+16>>2]|0)){vi[c[(c[a>>2]|0)+40>>2]&2047](a)|0;continue}else{c[a+12>>2]=g+4;continue}}a=c[b>>2]|0;do if(!a)g=1;else{g=c[a+12>>2]|0;if((g|0)==(c[a+16>>2]|0))a=vi[c[(c[a>>2]|0)+36>>2]&2047](a)|0;else a=c[g>>2]|0;if((a|0)==-1){c[b>>2]=0;g=1;break}else{g=(c[b>>2]|0)==0;break}}while(0);do if(!h)i=37;else{a=c[h+12>>2]|0;if((a|0)==(c[h+16>>2]|0))a=vi[c[(c[h>>2]|0)+36>>2]&2047](h)|0;else a=c[a>>2]|0;if((a|0)==-1){c[d>>2]=0;i=37;break}else if(g)break;else{i=39;break}}while(0);if((i|0)==37)if(g)i=39;if((i|0)==39)c[e>>2]=c[e>>2]|2;return}function Jvb(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0;l=i;i=i+16|0;k=vi[c[(c[b+8>>2]|0)+8>>2]&2047](b+8|0)|0;b=a[k>>0]|0;if(!(b&1))j=(b&255)>>>1;else j=c[k+4>>2]|0;b=a[k+12>>0]|0;if(!(b&1))b=(b&255)>>>1;else b=c[k+16>>2]|0;do if((j|0)==(0-b|0))c[g>>2]=c[g>>2]|4;else{c[l>>2]=c[f>>2];c[l+4>>2]=c[l>>2];b=Jtb(e,l+4|0,k,k+24|0,h,g,0)|0;j=c[d>>2]|0;if((b|0)==(k|0)&(j|0)==12){c[d>>2]=0;break}if((j|0)<12&(b-k|0)==12)c[d>>2]=j+12}while(0);i=l;return}function Kvb(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;c[h>>2]=c[e>>2];c[h+4>>2]=c[h>>2];a=Avb(d,h+4|0,f,g,2)|0;d=c[f>>2]|0;if((a|0)<61&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;i=h;return}function Lvb(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;c[h>>2]=c[e>>2];c[h+4>>2]=c[h>>2];a=Avb(d,h+4|0,f,g,1)|0;d=c[f>>2]|0;if((a|0)<7&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;i=h;return}function Mvb(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;c[h>>2]=c[e>>2];c[h+4>>2]=c[h>>2];a=Avb(d,h+4|0,f,g,4)|0;if(!(c[f>>2]&4))c[b>>2]=a+-1900;i=h;return}function Nvb(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;a=c[b>>2]|0;do if(!a)h=1;else{g=c[a+12>>2]|0;if((g|0)==(c[a+16>>2]|0))a=vi[c[(c[a>>2]|0)+36>>2]&2047](a)|0;else a=c[g>>2]|0;if((a|0)==-1){c[b>>2]=0;h=1;break}else{h=(c[b>>2]|0)==0;break}}while(0);g=c[d>>2]|0;do if(!g)i=14;else{a=c[g+12>>2]|0;if((a|0)==(c[g+16>>2]|0))a=vi[c[(c[g>>2]|0)+36>>2]&2047](g)|0;else a=c[a>>2]|0;if((a|0)==-1){c[d>>2]=0;i=14;break}else if(h){h=g;i=17;break}else{i=16;break}}while(0);if((i|0)==14)if(h)i=16;else{h=0;i=17}a:do if((i|0)==16)c[e>>2]=c[e>>2]|6;else if((i|0)==17){a=c[b>>2]|0;g=c[a+12>>2]|0;if((g|0)==(c[a+16>>2]|0))a=vi[c[(c[a>>2]|0)+36>>2]&2047](a)|0;else a=c[g>>2]|0;if((Gi[c[(c[f>>2]|0)+52>>2]&255](f,a,0)|0)<<24>>24!=37){c[e>>2]=c[e>>2]|4;break}a=c[b>>2]|0;g=c[a+12>>2]|0;if((g|0)==(c[a+16>>2]|0)){vi[c[(c[a>>2]|0)+40>>2]&2047](a)|0;a=c[b>>2]|0;if(!a)g=1;else i=25}else{c[a+12>>2]=g+4;i=25}do if((i|0)==25){g=c[a+12>>2]|0;if((g|0)==(c[a+16>>2]|0))a=vi[c[(c[a>>2]|0)+36>>2]&2047](a)|0;else a=c[g>>2]|0;if((a|0)==-1){c[b>>2]=0;g=1;break}else{g=(c[b>>2]|0)==0;break}}while(0);do if(!h)i=37;else{a=c[h+12>>2]|0;if((a|0)==(c[h+16>>2]|0))a=vi[c[(c[h>>2]|0)+36>>2]&2047](h)|0;else a=c[a>>2]|0;if((a|0)==-1){c[d>>2]=0;i=37;break}else if(g)break a;else break}while(0);if((i|0)==37)if(!g)break;c[e>>2]=c[e>>2]|2}while(0);return}function Ovb(b){b=b|0;var d=0;if(!(a[622120]|0))if(se(622120)|0){if(!(a[622128]|0))if(se(622128)|0){b=1204480;do{d=0;while(1){if((d|0)==3)break;c[b+(d<<2)>>2]=0;d=d+1|0}b=b+12|0}while((b|0)!=1204648);fd(622128)}nrb(1204480,153972)|0;nrb(1204492,154e3)|0;nrb(1204504,154028)|0;nrb(1204516,154060)|0;nrb(1204528,154100)|0;nrb(1204540,154136)|0;nrb(1204552,154164)|0;nrb(1204564,154200)|0;nrb(1204576,154216)|0;nrb(1204588,154232)|0;nrb(1204600,154248)|0;nrb(1204612,154264)|0;nrb(1204624,154280)|0;nrb(1204636,154296)|0;c[301162]=1204480;fd(622120)}return c[301162]|0}function Pvb(b){b=b|0;var d=0;if(!(a[622136]|0))if(se(622136)|0){if(!(a[622144]|0))if(se(622144)|0){b=1204652;do{d=0;while(1){if((d|0)==3)break;c[b+(d<<2)>>2]=0;d=d+1|0}b=b+12|0}while((b|0)!=1204940);fd(622144)}nrb(1204652,154312)|0;nrb(1204664,154344)|0;nrb(1204676,154380)|0;nrb(1204688,154404)|0;nrb(1204700,154428)|0;nrb(1204712,154444)|0;nrb(1204724,154464)|0;nrb(1204736,154484)|0;nrb(1204748,154512)|0;nrb(1204760,154552)|0;nrb(1204772,154584)|0;nrb(1204784,154620)|0;nrb(1204796,154656)|0;nrb(1204808,154672)|0;nrb(1204820,154688)|0;nrb(1204832,154704)|0;nrb(1204844,154428)|0;nrb(1204856,154720)|0;nrb(1204868,154736)|0;nrb(1204880,154752)|0;nrb(1204892,154768)|0;nrb(1204904,154784)|0;nrb(1204916,154800)|0;nrb(1204928,154816)|0;c[301235]=1204652;fd(622136)}return c[301235]|0}function Qvb(b){b=b|0;var d=0;if(!(a[622152]|0))if(se(622152)|0){if(!(a[622160]|0))if(se(622160)|0){b=1204944;do{d=0;while(1){if((d|0)==3)break;c[b+(d<<2)>>2]=0;d=d+1|0}b=b+12|0}while((b|0)!=1205232);fd(622160)}nrb(1204944,154832)|0;nrb(1204956,154844)|0;c[301308]=1204944;fd(622152)}return c[301308]|0}function Rvb(b){b=b|0;if(!(a[622168]|0))if(se(622168)|0){grb(1205236,154856,Smb(154856)|0);fd(622168)}return 1205236}function Svb(b){b=b|0;if(!(a[622176]|0))if(se(622176)|0){grb(1205248,154940,Smb(154940)|0);fd(622176)}return 1205248}function Tvb(b){b=b|0;if(!(a[622184]|0))if(se(622184)|0){grb(1205260,154988,Smb(154988)|0);fd(622184)}return 1205260}function Uvb(b){b=b|0;if(!(a[622192]|0))if(se(622192)|0){grb(1205272,155024,Smb(155024)|0);fd(622192)}return 1205272}function Vvb(a){a=a|0;Wvb(a+8|0);return}function Wvb(a){a=a|0;var b=0;b=c[a>>2]|0;if((b|0)!=(ctb()|0))qnb(c[a>>2]|0);return}function Xvb(a){a=a|0;Wvb(a+8|0);oAb(a);return}function Yvb(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0;k=i;i=i+112|0;c[k>>2]=k+4+100;Zvb(b+8|0,k+4|0,k,g,h,j);b=c[k>>2]|0;g=k+4|0;e=c[d>>2]|0;while(1){if((g|0)==(b|0))break;h=a[g>>0]|0;do if(!e)e=0;else{j=e+24|0;f=c[j>>2]|0;if((f|0)==(c[e+28>>2]|0)){d=(Xi[c[(c[e>>2]|0)+52>>2]&511](e,h&255)|0)==-1;e=d?0:e;break}else{c[j>>2]=f+1;a[f>>0]=h;break}}while(0);g=g+1|0}i=k;return e|0}function Zvb(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0;j=i;i=i+16|0;a[j>>0]=37;a[j+1>>0]=g;a[j+2>>0]=h;a[j+3>>0]=0;if(h<<24>>24){a[j+1>>0]=h;a[j+2>>0]=g}c[e>>2]=d+(ae(d|0,(c[e>>2]|0)-d|0,j|0,f|0,c[b>>2]|0)|0);i=j;return}function _vb(a){a=a|0;Wvb(a+8|0);return}function $vb(a){a=a|0;Wvb(a+8|0);oAb(a);return}function awb(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0;j=i;i=i+416|0;c[j>>2]=j+8+400;bwb(a+8|0,j+8|0,j,f,g,h);a=c[j>>2]|0;f=j+8|0;d=c[b>>2]|0;while(1){if((f|0)==(a|0))break;e=c[f>>2]|0;if(!d)d=0;else{h=d+24|0;g=c[h>>2]|0;if((g|0)==(c[d+28>>2]|0))e=Xi[c[(c[d>>2]|0)+52>>2]&511](d,e)|0;else{c[h>>2]=g+4;c[g>>2]=e}d=(e|0)==-1?0:d}f=f+4|0}i=j;return d|0}function bwb(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+128|0;c[h+12>>2]=h+16+100;Zvb(a,h+16|0,h+12|0,e,f,g);c[h>>2]=0;c[h+4>>2]=0;c[h+8>>2]=h+16;g=(c[d>>2]|0)-b>>2;f=Dnb(c[a>>2]|0)|0;g=Cob(b,h+8|0,g,h)|0;if(f|0)Dnb(f)|0;c[d>>2]=b+(g<<2);i=h;return}function cwb(a){a=a|0;return}function dwb(a){a=a|0;oAb(a);return}function ewb(a){a=a|0;return 127}function fwb(a){a=a|0;return 127}function gwb(a,b){a=a|0;b=b|0;b=0;while(1){if((b|0)==3)break;c[a+(b<<2)>>2]=0;b=b+1|0}return}function hwb(a,b){a=a|0;b=b|0;b=0;while(1){if((b|0)==3)break;c[a+(b<<2)>>2]=0;b=b+1|0}return}function iwb(a,b){a=a|0;b=b|0;b=0;while(1){if((b|0)==3)break;c[a+(b<<2)>>2]=0;b=b+1|0}return}function jwb(a,b){a=a|0;b=b|0;Jqb(a,1,45);return}function kwb(a){a=a|0;return 0}function lwb(b,c){b=b|0;c=c|0;a[b>>0]=2;a[b+1>>0]=3;a[b+2>>0]=0;a[b+3>>0]=4;return}function mwb(b,c){b=b|0;c=c|0;a[b>>0]=2;a[b+1>>0]=3;a[b+2>>0]=0;a[b+3>>0]=4;return}function nwb(a){a=a|0;return}function owb(a){a=a|0;oAb(a);return}function pwb(a){a=a|0;return 127}function qwb(a){a=a|0;return 127}function rwb(a,b){a=a|0;b=b|0;b=0;while(1){if((b|0)==3)break;c[a+(b<<2)>>2]=0;b=b+1|0}return}function swb(a,b){a=a|0;b=b|0;b=0;while(1){if((b|0)==3)break;c[a+(b<<2)>>2]=0;b=b+1|0}return}function twb(a,b){a=a|0;b=b|0;b=0;while(1){if((b|0)==3)break;c[a+(b<<2)>>2]=0;b=b+1|0}return}function uwb(a,b){a=a|0;b=b|0;Jqb(a,1,45);return}function vwb(a){a=a|0;return 0}function wwb(b,c){b=b|0;c=c|0;a[b>>0]=2;a[b+1>>0]=3;a[b+2>>0]=0;a[b+3>>0]=4;return}function xwb(b,c){b=b|0;c=c|0;a[b>>0]=2;a[b+1>>0]=3;a[b+2>>0]=0;a[b+3>>0]=4;return}function ywb(a){a=a|0;return}function zwb(a){a=a|0;oAb(a);return}function Awb(a){a=a|0;return 2147483647}function Bwb(a){a=a|0;return 2147483647}function Cwb(a,b){a=a|0;b=b|0;b=0;while(1){if((b|0)==3)break;c[a+(b<<2)>>2]=0;b=b+1|0}return}function Dwb(a,b){a=a|0;b=b|0;b=0;while(1){if((b|0)==3)break;c[a+(b<<2)>>2]=0;b=b+1|0}return}function Ewb(a,b){a=a|0;b=b|0;b=0;while(1){if((b|0)==3)break;c[a+(b<<2)>>2]=0;b=b+1|0}return}function Fwb(a,b){a=a|0;b=b|0;hrb(a,1,45);return}function Gwb(a){a=a|0;return 0}function Hwb(b,c){b=b|0;c=c|0;a[b>>0]=2;a[b+1>>0]=3;a[b+2>>0]=0;a[b+3>>0]=4;return}function Iwb(b,c){b=b|0;c=c|0;a[b>>0]=2;a[b+1>>0]=3;a[b+2>>0]=0;a[b+3>>0]=4;return}function Jwb(a){a=a|0;return}function Kwb(a){a=a|0;oAb(a);return}function Lwb(a){a=a|0;return 2147483647}function Mwb(a){a=a|0;return 2147483647}function Nwb(a,b){a=a|0;b=b|0;b=0;while(1){if((b|0)==3)break;c[a+(b<<2)>>2]=0;b=b+1|0}return}function Owb(a,b){a=a|0;b=b|0;b=0;while(1){if((b|0)==3)break;c[a+(b<<2)>>2]=0;b=b+1|0}return}function Pwb(a,b){a=a|0;b=b|0;b=0;while(1){if((b|0)==3)break;c[a+(b<<2)>>2]=0;b=b+1|0}return}function Qwb(a,b){a=a|0;b=b|0;hrb(a,1,45);return}function Rwb(a){a=a|0;return 0}function Swb(b,c){b=b|0;c=c|0;a[b>>0]=2;a[b+1>>0]=3;a[b+2>>0]=0;a[b+3>>0]=4;return}function Twb(b,c){b=b|0;c=c|0;a[b>>0]=2;a[b+1>>0]=3;a[b+2>>0]=0;a[b+3>>0]=4;return}function Uwb(a){a=a|0;return}function Vwb(a){a=a|0;oAb(a);return}function Wwb(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0;n=i;i=i+240|0;c[n+16>>2]=n+140;c[n+16+4>>2]=792;c[n+8>>2]=ssb(g)|0;b=Usb(n+8|0,1203596)|0;a[n+136>>0]=0;c[n+4>>2]=c[e>>2];g=c[g+4>>2]|0;c[n+24>>2]=c[n+4>>2];if(Ywb(d,n+24|0,f,n+8|0,g,h,n+136|0,b,n+16|0,n+12|0,n+140+100|0)|0){cj[c[(c[b>>2]|0)+32>>2]&127](b,618976,618986,n+24|0)|0;f=c[n+12>>2]|0;g=c[n+16>>2]|0;if((f-g|0)>98){b=Vpb(f-g+2|0)|0;if(!b)eBb();else{l=b;k=b}}else{l=0;k=n+36|0}if(a[n+136>>0]|0){a[k>>0]=45;k=k+1|0}while(1){if(g>>>0>=f>>>0)break;f=a[g>>0]|0;b=n+24|0;while(1){if((b|0)==(n+24+10|0)){b=n+24+10|0;break}if((a[b>>0]|0)==f<<24>>24)break;b=b+1|0}a[k>>0]=a[618976+(b-(n+24))>>0]|0;f=c[n+12>>2]|0;k=k+1|0;g=g+1|0}a[k>>0]=0;c[n>>2]=j;hob(n+36|0,618987,n)|0;if(l|0)Wpb(l)}k=c[d>>2]|0;do if(!k)k=0;else if((c[k+12>>2]|0)==(c[k+16>>2]|0))if((vi[c[(c[k>>2]|0)+36>>2]&2047](k)|0)==-1){c[d>>2]=0;k=0;break}else{k=c[d>>2]|0;break}while(0);k=(k|0)==0;b=c[e>>2]|0;do if(!b)m=27;else{if((c[b+12>>2]|0)==(c[b+16>>2]|0))if((vi[c[(c[b>>2]|0)+36>>2]&2047](b)|0)==-1){c[e>>2]=0;m=27;break}if(!k)m=28}while(0);if((m|0)==27)if(k)m=28;if((m|0)==28)c[h>>2]=c[h>>2]|2;k=c[d>>2]|0;eAb(c[n+8>>2]|0)|0;b=c[n+16>>2]|0;c[n+16>>2]=0;if(b|0)Hi[c[n+16+4>>2]&1023](b);i=n;return k|0}function Xwb(a){a=a|0;return}function Ywb(e,f,g,h,j,k,l,m,n,o,p){e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;p=p|0;var q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=i;i=i+512|0;c[A+88>>2]=p;c[A+80>>2]=A+96;c[A+80+4>>2]=792;c[A+72>>2]=A+96;c[A+68>>2]=A+96+400;p=0;while(1){if((p|0)==3)break;c[A+56+(p<<2)>>2]=0;p=p+1|0}p=0;while(1){if((p|0)==3)break;c[A+44+(p<<2)>>2]=0;p=p+1|0}p=0;while(1){if((p|0)==3)break;c[A+32+(p<<2)>>2]=0;p=p+1|0}p=0;while(1){if((p|0)==3)break;c[A+20+(p<<2)>>2]=0;p=p+1|0}p=0;while(1){if((p|0)==3)break;c[A+8+(p<<2)>>2]=0;p=p+1|0}Zwb(g,h,A+500|0,A+497|0,A+496|0,A+56|0,A+44|0,A+32|0,A+20|0,A+4|0);c[o>>2]=c[n>>2];x=A+96|0;y=0;g=0;a:while(1){if(y>>>0>=4){u=x;t=g;z=218;break}p=c[e>>2]|0;do if(!p)p=0;else if((c[p+12>>2]|0)==(c[p+16>>2]|0))if((vi[c[(c[p>>2]|0)+36>>2]&2047](p)|0)==-1){c[e>>2]=0;p=0;break}else{p=c[e>>2]|0;break}while(0);p=(p|0)==0;h=c[f>>2]|0;do if(!h)z=28;else{if((c[h+12>>2]|0)!=(c[h+16>>2]|0))if(p)break;else{u=x;t=g;z=218;break a}if((vi[c[(c[h>>2]|0)+36>>2]&2047](h)|0)==-1){c[f>>2]=0;z=28;break}else if(p)break;else{u=x;t=g;z=218;break a}}while(0);if((z|0)==28){z=0;if(p){u=x;t=g;z=218;break}else h=0}b:do switch(a[A+500+y>>0]|0){case 1:{if((y|0)==3)p=x;else{p=c[e>>2]|0;q=c[p+12>>2]|0;if((q|0)==(c[p+16>>2]|0))p=vi[c[(c[p>>2]|0)+36>>2]&2047](p)|0;else p=d[q>>0]|0;if((p&255)<<24>>24<=-1){z=42;break a}if(!(b[(c[m+8>>2]|0)+(p<<24>>24<<1)>>1]&8192)){z=42;break a}p=c[e>>2]|0;q=c[p+12>>2]|0;if((q|0)==(c[p+16>>2]|0))p=vi[c[(c[p>>2]|0)+40>>2]&2047](p)|0;else{c[p+12>>2]=q+1;p=d[q>>0]|0}Xqb(A+8|0,p&255);p=h;q=h;z=44}break}case 0:{if((y|0)==3)p=x;else{p=h;q=h;z=44}break}case 3:{h=a[A+32>>0]|0;q=(h&1)==0?(h&255)>>>1:c[A+32+4>>2]|0;p=a[A+20>>0]|0;p=(p&1)==0?(p&255)>>>1:c[A+20+4>>2]|0;if((q|0)==(0-p|0))p=x;else{r=c[e>>2]|0;s=c[r+12>>2]|0;t=c[r+16>>2]|0;if((q|0)==0|(p|0)==0){if((s|0)==(t|0))p=vi[c[(c[r>>2]|0)+36>>2]&2047](r)|0;else p=d[s>>0]|0;p=p&255;if(!q){if(p<<24>>24!=(a[((a[A+20>>0]&1)==0?A+20+1|0:c[A+20+8>>2]|0)>>0]|0)){p=x;break b}p=c[e>>2]|0;h=c[p+12>>2]|0;if((h|0)==(c[p+16>>2]|0))vi[c[(c[p>>2]|0)+40>>2]&2047](p)|0;else c[p+12>>2]=h+1;a[l>>0]=1;w=a[A+20>>0]|0;p=x;g=((w&1)==0?(w&255)>>>1:c[A+20+4>>2]|0)>>>0>1?A+20|0:g;break b}if(p<<24>>24!=(a[((a[A+32>>0]&1)==0?A+32+1|0:c[A+32+8>>2]|0)>>0]|0)){a[l>>0]=1;p=x;break b}p=c[e>>2]|0;h=c[p+12>>2]|0;if((h|0)==(c[p+16>>2]|0))vi[c[(c[p>>2]|0)+40>>2]&2047](p)|0;else c[p+12>>2]=h+1;w=a[A+32>>0]|0;p=x;g=((w&1)==0?(w&255)>>>1:c[A+32+4>>2]|0)>>>0>1?A+32|0:g;break b}if((s|0)==(t|0)){u=vi[c[(c[r>>2]|0)+36>>2]&2047](r)|0;p=c[e>>2]|0;h=a[A+32>>0]|0;r=p;s=c[p+12>>2]|0;p=c[p+16>>2]|0}else{u=d[s>>0]|0;p=t}q=r+12|0;p=(s|0)==(p|0);if((u&255)<<24>>24==(a[((h&1)==0?A+32+1|0:c[A+32+8>>2]|0)>>0]|0)){if(p)vi[c[(c[r>>2]|0)+40>>2]&2047](r)|0;else c[q>>2]=s+1;w=a[A+32>>0]|0;p=x;g=((w&1)==0?(w&255)>>>1:c[A+32+4>>2]|0)>>>0>1?A+32|0:g;break b}if(p)p=vi[c[(c[r>>2]|0)+36>>2]&2047](r)|0;else p=d[s>>0]|0;if((p&255)<<24>>24!=(a[((a[A+20>>0]&1)==0?A+20+1|0:c[A+20+8>>2]|0)>>0]|0)){z=98;break a}p=c[e>>2]|0;h=c[p+12>>2]|0;if((h|0)==(c[p+16>>2]|0))vi[c[(c[p>>2]|0)+40>>2]&2047](p)|0;else c[p+12>>2]=h+1;a[l>>0]=1;w=a[A+20>>0]|0;p=x;g=((w&1)==0?(w&255)>>>1:c[A+20+4>>2]|0)>>>0>1?A+20|0:g}break}case 2:{if(!(y>>>0<2|(g|0)!=0))if(!((j&512|0)!=0|(y|0)==2&(a[A+500+3>>0]|0)!=0)){p=x;g=0;break b}u=a[A+44>>0]|0;v=c[A+44+8>>2]|0;w=(u&1)==0?A+44+1|0:v;c:do if(!y){t=h;q=u;p=v;r=h;h=w}else if((d[A+500+(y+-1)>>0]|0)<2){p=w+((u&1)==0?(u&255)>>>1:c[A+44+4>>2]|0)|0;s=w;while(1){q=s;if((q|0)==(p|0))break;r=a[q>>0]|0;if(r<<24>>24<=-1)break;if(!(b[(c[m+8>>2]|0)+(r<<24>>24<<1)>>1]&8192))break;s=q+1|0}t=s-w|0;p=a[A+8>>0]|0;q=(p&1)==0?(p&255)>>>1:c[A+8+4>>2]|0;if(t>>>0>q>>>0){t=h;q=u;p=v;r=h;h=w}else{r=((p&1)==0?A+8+1|0:c[A+8+8>>2]|0)+q|0;q=w;p=r+(0-t)|0;while(1){if((p|0)==(r|0)){t=h;q=u;p=v;r=h;h=s;break c}if((a[p>>0]|0)!=(a[q>>0]|0)){t=h;q=u;p=v;r=h;h=w;break c}q=q+1|0;p=p+1|0}}}else{t=h;q=u;p=v;r=h;h=w}while(0);d:while(1){s=(q&1)==0;p=(s?A+44+1|0:p)+(s?(q&255)>>>1:c[A+44+4>>2]|0)|0;s=h;if((s|0)==(p|0))break;p=c[e>>2]|0;do if(!p)p=0;else if((c[p+12>>2]|0)==(c[p+16>>2]|0))if((vi[c[(c[p>>2]|0)+36>>2]&2047](p)|0)==-1){c[e>>2]=0;p=0;break}else{p=c[e>>2]|0;break}while(0);h=(p|0)==0;do if(!r){p=t;z=124}else{if((c[r+12>>2]|0)!=(c[r+16>>2]|0))if(h){p=t;break}else{p=s;break d}if((vi[c[(c[r>>2]|0)+36>>2]&2047](r)|0)==-1){c[f>>2]=0;p=0;z=124;break}else if(h^(t|0)==0){p=t;r=t;break}else{p=s;break d}}while(0);if((z|0)==124){z=0;if(h){p=s;break}else r=0}h=c[e>>2]|0;q=c[h+12>>2]|0;if((q|0)==(c[h+16>>2]|0))h=vi[c[(c[h>>2]|0)+36>>2]&2047](h)|0;else h=d[q>>0]|0;if((h&255)<<24>>24!=(a[s>>0]|0)){p=s;break}h=c[e>>2]|0;q=c[h+12>>2]|0;if((q|0)==(c[h+16>>2]|0))vi[c[(c[h>>2]|0)+40>>2]&2047](h)|0;else c[h+12>>2]=q+1;t=p;q=a[A+44>>0]|0;p=c[A+44+8>>2]|0;h=s+1|0}if(j&512|0){w=a[A+44>>0]|0;if((p|0)==(((w&1)==0?A+44+1|0:c[A+44+8>>2]|0)+((w&1)==0?(w&255)>>>1:c[A+44+4>>2]|0)|0))p=x;else{z=136;break a}}else p=x;break}case 4:{u=a[A+496>>0]|0;q=h;s=h;p=x;h=0;e:while(1){r=c[e>>2]|0;do if(!r)r=0;else if((c[r+12>>2]|0)==(c[r+16>>2]|0))if((vi[c[(c[r>>2]|0)+36>>2]&2047](r)|0)==-1){c[e>>2]=0;r=0;break}else{r=c[e>>2]|0;break}while(0);r=(r|0)==0;do if(!s)z=147;else{if((c[s+12>>2]|0)!=(c[s+16>>2]|0))if(r){t=q;break}else break e;if((vi[c[(c[s>>2]|0)+36>>2]&2047](s)|0)==-1){c[f>>2]=0;q=0;z=147;break}else if(r^(q|0)==0){t=q;s=q;break}else break e}while(0);if((z|0)==147){z=0;if(r)break;else{t=q;s=0}}q=c[e>>2]|0;r=c[q+12>>2]|0;if((r|0)==(c[q+16>>2]|0))q=vi[c[(c[q>>2]|0)+36>>2]&2047](q)|0;else q=d[r>>0]|0;r=q&255;if(r<<24>>24>-1)if(!(b[(c[m+8>>2]|0)+(q<<24>>24<<1)>>1]&2048))z=157;else{q=c[o>>2]|0;if((q|0)==(c[A+88>>2]|0)){_wb(n,o,A+88|0);q=c[o>>2]|0}c[o>>2]=q+1;a[q>>0]=r;h=h+1|0}else z=157;if((z|0)==157){z=0;x=a[A+56>>0]|0;if(!(r<<24>>24==u<<24>>24&(h|0?(((x&1)==0?(x&255)>>>1:c[A+56+4>>2]|0)|0)!=0:0))){q=t;break}if((p|0)==(c[A+68>>2]|0)){$wb(A+80|0,A+72|0,A+68|0);p=c[A+72>>2]|0}x=p+4|0;c[A+72>>2]=x;c[p>>2]=h;p=x;h=0}q=c[e>>2]|0;r=c[q+12>>2]|0;if((r|0)==(c[q+16>>2]|0)){vi[c[(c[q>>2]|0)+40>>2]&2047](q)|0;q=t;continue}else{c[q+12>>2]=r+1;q=t;continue}}if(h|0?(c[A+80>>2]|0)!=(p|0):0){if((p|0)==(c[A+68>>2]|0)){$wb(A+80|0,A+72|0,A+68|0);p=c[A+72>>2]|0}x=p+4|0;c[A+72>>2]=x;c[p>>2]=h;p=x}r=c[A+4>>2]|0;f:do if((r|0)>0){h=c[e>>2]|0;do if(!h)h=0;else if((c[h+12>>2]|0)==(c[h+16>>2]|0))if((vi[c[(c[h>>2]|0)+36>>2]&2047](h)|0)==-1){c[e>>2]=0;h=0;break}else{h=c[e>>2]|0;break}while(0);h=(h|0)==0;do if(!q)z=179;else{if((c[q+12>>2]|0)==(c[q+16>>2]|0))if((vi[c[(c[q>>2]|0)+36>>2]&2047](q)|0)==-1){c[f>>2]=0;z=179;break}if(h)s=q;else{z=184;break a}}while(0);if((z|0)==179){z=0;if(h){z=184;break a}else s=0}h=c[e>>2]|0;q=c[h+12>>2]|0;if((q|0)==(c[h+16>>2]|0))h=vi[c[(c[h>>2]|0)+36>>2]&2047](h)|0;else h=d[q>>0]|0;if((h&255)<<24>>24!=(a[A+497>>0]|0)){z=184;break a}h=c[e>>2]|0;q=c[h+12>>2]|0;if((q|0)==(c[h+16>>2]|0)){vi[c[(c[h>>2]|0)+40>>2]&2047](h)|0;h=s}else{c[h+12>>2]=q+1;h=s}while(1){if((r|0)<=0)break f;q=c[e>>2]|0;do if(!q)q=0;else if((c[q+12>>2]|0)==(c[q+16>>2]|0))if((vi[c[(c[q>>2]|0)+36>>2]&2047](q)|0)==-1){c[e>>2]=0;q=0;break}else{q=c[e>>2]|0;break}while(0);q=(q|0)==0;do if(!s)z=199;else{if((c[s+12>>2]|0)!=(c[s+16>>2]|0))if(q){t=h;break}else{z=206;break a}if((vi[c[(c[s>>2]|0)+36>>2]&2047](s)|0)==-1){c[f>>2]=0;h=0;z=199;break}else if(q^(h|0)==0){t=h;s=h;break}else{z=206;break a}}while(0);if((z|0)==199){z=0;if(q){z=206;break a}else{t=h;s=0}}h=c[e>>2]|0;q=c[h+12>>2]|0;if((q|0)==(c[h+16>>2]|0))h=vi[c[(c[h>>2]|0)+36>>2]&2047](h)|0;else h=d[q>>0]|0;if((h&255)<<24>>24<=-1){z=206;break a}if(!(b[(c[m+8>>2]|0)+(h<<24>>24<<1)>>1]&2048)){z=206;break a}if((c[o>>2]|0)==(c[A+88>>2]|0))_wb(n,o,A+88|0);h=c[e>>2]|0;q=c[h+12>>2]|0;if((q|0)==(c[h+16>>2]|0))h=vi[c[(c[h>>2]|0)+36>>2]&2047](h)|0;else h=d[q>>0]|0;q=c[o>>2]|0;c[o>>2]=q+1;a[q>>0]=h;r=r+-1|0;c[A+4>>2]=r;h=c[e>>2]|0;q=c[h+12>>2]|0;if((q|0)==(c[h+16>>2]|0)){vi[c[(c[h>>2]|0)+40>>2]&2047](h)|0;h=t;continue}else{c[h+12>>2]=q+1;h=t;continue}}}while(0);if((c[o>>2]|0)==(c[n>>2]|0)){z=216;break a}break}default:p=x}while(0);g:do if((z|0)==44)while(1){z=0;h=c[e>>2]|0;do if(!h)h=0;else if((c[h+12>>2]|0)==(c[h+16>>2]|0))if((vi[c[(c[h>>2]|0)+36>>2]&2047](h)|0)==-1){c[e>>2]=0;h=0;break}else{h=c[e>>2]|0;break}while(0);h=(h|0)==0;do if(!q)z=54;else{if((c[q+12>>2]|0)!=(c[q+16>>2]|0))if(h){r=p;break}else{p=x;break g}if((vi[c[(c[q>>2]|0)+36>>2]&2047](q)|0)==-1){c[f>>2]=0;p=0;z=54;break}else if(h^(p|0)==0){r=p;q=p;break}else{p=x;break g}}while(0);if((z|0)==54){z=0;if(h){p=x;break g}else{r=p;q=0}}p=c[e>>2]|0;h=c[p+12>>2]|0;if((h|0)==(c[p+16>>2]|0))p=vi[c[(c[p>>2]|0)+36>>2]&2047](p)|0;else p=d[h>>0]|0;if((p&255)<<24>>24<=-1){p=x;break g}if(!(b[(c[m+8>>2]|0)+(p<<24>>24<<1)>>1]&8192)){p=x;break g}p=c[e>>2]|0;h=c[p+12>>2]|0;if((h|0)==(c[p+16>>2]|0))p=vi[c[(c[p>>2]|0)+40>>2]&2047](p)|0;else{c[p+12>>2]=h+1;p=d[h>>0]|0}Xqb(A+8|0,p&255);p=r;z=44}while(0);x=p;y=y+1|0}h:do if((z|0)==42){c[k>>2]=c[k>>2]|4;g=0}else if((z|0)==98){c[k>>2]=c[k>>2]|4;g=0}else if((z|0)==136){c[k>>2]=c[k>>2]|4;g=0}else if((z|0)==184){c[k>>2]=c[k>>2]|4;g=0}else if((z|0)==206){c[k>>2]=c[k>>2]|4;g=0}else if((z|0)==216){c[k>>2]=c[k>>2]|4;g=0}else if((z|0)==218){i:do if(t|0){q=t+1|0;r=t+8|0;s=t+4|0;h=1;j:while(1){p=a[t>>0]|0;if(!(p&1))p=(p&255)>>>1;else p=c[s>>2]|0;if(h>>>0>=p>>>0)break i;p=c[e>>2]|0;do if(!p)p=0;else if((c[p+12>>2]|0)==(c[p+16>>2]|0))if((vi[c[(c[p>>2]|0)+36>>2]&2047](p)|0)==-1){c[e>>2]=0;p=0;break}else{p=c[e>>2]|0;break}while(0);p=(p|0)==0;g=c[f>>2]|0;do if(!g)z=234;else{if((c[g+12>>2]|0)==(c[g+16>>2]|0))if((vi[c[(c[g>>2]|0)+36>>2]&2047](g)|0)==-1){c[f>>2]=0;z=234;break}if(!p)break j}while(0);if((z|0)==234){z=0;if(p)break}p=c[e>>2]|0;g=c[p+12>>2]|0;if((g|0)==(c[p+16>>2]|0))p=vi[c[(c[p>>2]|0)+36>>2]&2047](p)|0;else p=d[g>>0]|0;if(!(a[t>>0]&1))g=q;else g=c[r>>2]|0;if((p&255)<<24>>24!=(a[g+h>>0]|0))break;p=h+1|0;g=c[e>>2]|0;h=c[g+12>>2]|0;if((h|0)==(c[g+16>>2]|0)){vi[c[(c[g>>2]|0)+40>>2]&2047](g)|0;h=p;continue}else{c[g+12>>2]=h+1;h=p;continue}}c[k>>2]=c[k>>2]|4;g=0;break h}while(0);p=c[A+80>>2]|0;if((p|0)==(u|0))g=1;else{c[A>>2]=0;dtb(A+56|0,p,u,A);if(!(c[A>>2]|0)){g=1;break}else{c[k>>2]=c[k>>2]|4;g=0;break}}}while(0);Mqb(A+8|0);Mqb(A+20|0);Mqb(A+32|0);Mqb(A+44|0);Mqb(A+56|0);p=c[A+80>>2]|0;c[A+80>>2]=0;if(p|0)Hi[c[A+80+4>>2]&1023](p);i=A;return g|0}function Zwb(b,d,e,f,g,h,j,k,l,m){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0;n=i;i=i+112|0;if(b){d=Usb(d,1205316)|0;si[c[(c[d>>2]|0)+44>>2]&511](n+100|0,d);b=c[n+100>>2]|0;a[e>>0]=b;a[e+1>>0]=b>>8;a[e+2>>0]=b>>16;a[e+3>>0]=b>>24;si[c[(c[d>>2]|0)+32>>2]&511](n+88|0,d);if(!(a[l>>0]&1)){a[l+1>>0]=0;a[l>>0]=0}else{a[c[l+8>>2]>>0]=0;c[l+4>>2]=0}Qqb(l,0);c[l>>2]=c[n+88>>2];c[l+4>>2]=c[n+88+4>>2];c[l+8>>2]=c[n+88+8>>2];b=0;while(1){if((b|0)==3)break;c[n+88+(b<<2)>>2]=0;b=b+1|0}Mqb(n+88|0);si[c[(c[d>>2]|0)+28>>2]&511](n+76|0,d);if(!(a[k>>0]&1)){a[k+1>>0]=0;a[k>>0]=0}else{a[c[k+8>>2]>>0]=0;c[k+4>>2]=0}Qqb(k,0);c[k>>2]=c[n+76>>2];c[k+4>>2]=c[n+76+4>>2];c[k+8>>2]=c[n+76+8>>2];b=0;while(1){if((b|0)==3)break;c[n+76+(b<<2)>>2]=0;b=b+1|0}Mqb(n+76|0);a[f>>0]=vi[c[(c[d>>2]|0)+12>>2]&2047](d)|0;a[g>>0]=vi[c[(c[d>>2]|0)+16>>2]&2047](d)|0;si[c[(c[d>>2]|0)+20>>2]&511](n+64|0,d);if(!(a[h>>0]&1)){a[h+1>>0]=0;a[h>>0]=0}else{a[c[h+8>>2]>>0]=0;c[h+4>>2]=0}Qqb(h,0);c[h>>2]=c[n+64>>2];c[h+4>>2]=c[n+64+4>>2];c[h+8>>2]=c[n+64+8>>2];b=0;while(1){if((b|0)==3)break;c[n+64+(b<<2)>>2]=0;b=b+1|0}Mqb(n+64|0);si[c[(c[d>>2]|0)+24>>2]&511](n+52|0,d);if(!(a[j>>0]&1)){a[j+1>>0]=0;a[j>>0]=0}else{a[c[j+8>>2]>>0]=0;c[j+4>>2]=0}Qqb(j,0);c[j>>2]=c[n+52>>2];c[j+4>>2]=c[n+52+4>>2];c[j+8>>2]=c[n+52+8>>2];b=0;while(1){if((b|0)==3)break;c[n+52+(b<<2)>>2]=0;b=b+1|0}Mqb(n+52|0);b=vi[c[(c[d>>2]|0)+36>>2]&2047](d)|0}else{d=Usb(d,1205308)|0;si[c[(c[d>>2]|0)+44>>2]&511](n+48|0,d);b=c[n+48>>2]|0;a[e>>0]=b;a[e+1>>0]=b>>8;a[e+2>>0]=b>>16;a[e+3>>0]=b>>24;si[c[(c[d>>2]|0)+32>>2]&511](n+36|0,d);if(!(a[l>>0]&1)){a[l+1>>0]=0;a[l>>0]=0}else{a[c[l+8>>2]>>0]=0;c[l+4>>2]=0}Qqb(l,0);c[l>>2]=c[n+36>>2];c[l+4>>2]=c[n+36+4>>2];c[l+8>>2]=c[n+36+8>>2];b=0;while(1){if((b|0)==3)break;c[n+36+(b<<2)>>2]=0;b=b+1|0}Mqb(n+36|0);si[c[(c[d>>2]|0)+28>>2]&511](n+24|0,d);if(!(a[k>>0]&1)){a[k+1>>0]=0;a[k>>0]=0}else{a[c[k+8>>2]>>0]=0;c[k+4>>2]=0}Qqb(k,0);c[k>>2]=c[n+24>>2];c[k+4>>2]=c[n+24+4>>2];c[k+8>>2]=c[n+24+8>>2];b=0;while(1){if((b|0)==3)break;c[n+24+(b<<2)>>2]=0;b=b+1|0}Mqb(n+24|0);a[f>>0]=vi[c[(c[d>>2]|0)+12>>2]&2047](d)|0;a[g>>0]=vi[c[(c[d>>2]|0)+16>>2]&2047](d)|0;si[c[(c[d>>2]|0)+20>>2]&511](n+12|0,d);if(!(a[h>>0]&1)){a[h+1>>0]=0;a[h>>0]=0}else{a[c[h+8>>2]>>0]=0;c[h+4>>2]=0}Qqb(h,0);c[h>>2]=c[n+12>>2];c[h+4>>2]=c[n+12+4>>2];c[h+8>>2]=c[n+12+8>>2];b=0;while(1){if((b|0)==3)break;c[n+12+(b<<2)>>2]=0;b=b+1|0}Mqb(n+12|0);si[c[(c[d>>2]|0)+24>>2]&511](n,d);if(!(a[j>>0]&1)){a[j+1>>0]=0;a[j>>0]=0}else{a[c[j+8>>2]>>0]=0;c[j+4>>2]=0}Qqb(j,0);c[j>>2]=c[n>>2];c[j+4>>2]=c[n+4>>2];c[j+8>>2]=c[n+8>>2];b=0;while(1){if((b|0)==3)break;c[n+(b<<2)>>2]=0;b=b+1|0}Mqb(n);b=vi[c[(c[d>>2]|0)+36>>2]&2047](d)|0}c[m>>2]=b;i=n;return}function _wb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;f=(c[a+4>>2]|0)!=792;e=c[a>>2]|0;g=(c[d>>2]|0)-e|0;g=g>>>0<2147483647?g<<1:-1;h=(c[b>>2]|0)-e|0;e=Ypb(f?e:0,g)|0;if(!e)eBb();if(f)c[a>>2]=e;else{f=c[a>>2]|0;c[a>>2]=e;if(f){Hi[c[a+4>>2]&1023](f);e=c[a>>2]|0}}c[a+4>>2]=793;c[b>>2]=e+h;c[d>>2]=(c[a>>2]|0)+g;return}function $wb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;f=(c[a+4>>2]|0)!=792;e=c[a>>2]|0;g=(c[d>>2]|0)-e|0;g=g>>>0<2147483647?g<<1:-1;h=(c[b>>2]|0)-e>>2;e=Ypb(f?e:0,g)|0;if(!e)eBb();if(f)c[a>>2]=e;else{f=c[a>>2]|0;c[a>>2]=e;if(f){Hi[c[a+4>>2]&1023](f);e=c[a>>2]|0}}c[a+4>>2]=793;c[b>>2]=e+(h<<2);c[d>>2]=(c[a>>2]|0)+(g>>>2<<2);return}function axb(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0;n=i;i=i+144|0;c[n+16>>2]=n+32;c[n+16+4>>2]=792;l=ssb(g)|0;c[n+4>>2]=l;b=Usb(n+4|0,1203596)|0;a[n+28>>0]=0;k=c[e>>2]|0;c[n>>2]=k;g=c[g+4>>2]|0;c[n+24>>2]=c[n>>2];if(Ywb(d,n+24|0,f,n+4|0,g,h,n+28|0,b,n+16|0,n+8|0,n+32+100|0)|0){if(!(a[j>>0]&1)){a[j+1>>0]=0;a[j>>0]=0}else{a[c[j+8>>2]>>0]=0;c[j+4>>2]=0}if(a[n+28>>0]|0)Xqb(j,Xi[c[(c[b>>2]|0)+28>>2]&511](b,45)|0);f=Xi[c[(c[b>>2]|0)+28>>2]&511](b,48)|0;g=c[n+8>>2]|0;b=c[n+16>>2]|0;while(1){if(b>>>0>=(g+-1|0)>>>0)break;if((a[b>>0]|0)!=f<<24>>24)break;b=b+1|0}bxb(j,b,g)|0}b=c[d>>2]|0;do if(!b)b=0;else if((c[b+12>>2]|0)==(c[b+16>>2]|0))if((vi[c[(c[b>>2]|0)+36>>2]&2047](b)|0)==-1){c[d>>2]=0;b=0;break}else{b=c[d>>2]|0;break}while(0);b=(b|0)==0;do if(!k)m=22;else{if((c[k+12>>2]|0)==(c[k+16>>2]|0))if((vi[c[(c[k>>2]|0)+36>>2]&2047](k)|0)==-1){c[e>>2]=0;m=22;break}if(!b)m=23}while(0);if((m|0)==22)if(b)m=23;if((m|0)==23)c[h>>2]=c[h>>2]|2;f=c[d>>2]|0;eAb(l)|0;b=c[n+16>>2]|0;c[n+16>>2]=0;if(b|0)Hi[c[n+16+4>>2]&1023](b);i=n;return f|0}function bxb(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;f=a[b>>0]|0;if(!(f&1)){g=10;j=(f&255)>>>1}else{f=c[b>>2]|0;g=(f&-2)+-1|0;j=c[b+4>>2]|0;f=f&255}do if((e|0)!=(d|0)){if((g-j|0)>>>0<(e-d|0)>>>0){Uqb(b,g,j+(e-d)-g|0,j,j,0,0);f=a[b>>0]|0}if(!(f&1))g=b+1|0;else g=c[b+8>>2]|0;i=e+(j-d)|0;f=d;h=g+j|0;while(1){if((f|0)==(e|0))break;a[h>>0]=a[f>>0]|0;f=f+1|0;h=h+1|0}a[g+i>>0]=0;f=j+(e-d)|0;if(!(a[b>>0]&1)){a[b>>0]=f<<1;break}else{c[b+4>>2]=f;break}}while(0);return b|0}function cxb(a){a=a|0;return}function dxb(a){a=a|0;oAb(a);return}function exb(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0;n=i;i=i+576|0;c[n+16>>2]=n+24;c[n+16+4>>2]=792;c[n+8>>2]=ssb(g)|0;b=Usb(n+8|0,1203628)|0;a[n+564>>0]=0;c[n+4>>2]=c[e>>2];g=c[g+4>>2]|0;c[n+424>>2]=c[n+4>>2];if(fxb(d,n+424|0,f,n+8|0,g,h,n+564|0,b,n+16|0,n+12|0,n+24+400|0)|0){cj[c[(c[b>>2]|0)+48>>2]&127](b,619086,619096,n+424|0)|0;f=c[n+12>>2]|0;g=c[n+16>>2]|0;if((f-g|0)>392){b=Vpb((f-g>>2)+2|0)|0;if(!b)eBb();else{l=b;k=b}}else{l=0;k=n+464|0}if(a[n+564>>0]|0){a[k>>0]=45;k=k+1|0}while(1){if(g>>>0>=f>>>0)break;f=c[g>>2]|0;b=n+424|0;while(1){if((b|0)==(n+424+40|0)){b=n+424+40|0;break}if((c[b>>2]|0)==(f|0))break;b=b+4|0}a[k>>0]=a[619086+(b-(n+424)>>2)>>0]|0;f=c[n+12>>2]|0;k=k+1|0;g=g+4|0}a[k>>0]=0;c[n>>2]=j;hob(n+464|0,618987,n)|0;if(l|0)Wpb(l)}k=c[d>>2]|0;do if(!k)f=1;else{b=c[k+12>>2]|0;if((b|0)==(c[k+16>>2]|0))k=vi[c[(c[k>>2]|0)+36>>2]&2047](k)|0;else k=c[b>>2]|0;if((k|0)==-1){c[d>>2]=0;f=1;break}else{f=(c[d>>2]|0)==0;break}}while(0);k=c[e>>2]|0;do if(!k)m=30;else{b=c[k+12>>2]|0;if((b|0)==(c[k+16>>2]|0))k=vi[c[(c[k>>2]|0)+36>>2]&2047](k)|0;else k=c[b>>2]|0;if((k|0)==-1){c[e>>2]=0;m=30;break}else if(f)break;else{m=32;break}}while(0);if((m|0)==30)if(f)m=32;if((m|0)==32)c[h>>2]=c[h>>2]|2;k=c[d>>2]|0;eAb(c[n+8>>2]|0)|0;b=c[n+16>>2]|0;c[n+16>>2]=0;if(b|0)Hi[c[n+16+4>>2]&1023](b);i=n;return k|0}function fxb(b,e,f,g,h,j,k,l,m,n,o){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;var p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;D=i;i=i+512|0;c[D+96>>2]=o;c[D+88>>2]=D+104;c[D+88+4>>2]=792;c[D+80>>2]=D+104;c[D+76>>2]=D+104+400;o=0;while(1){if((o|0)==3)break;c[D+56+(o<<2)>>2]=0;o=o+1|0}o=0;while(1){if((o|0)==3)break;c[D+44+(o<<2)>>2]=0;o=o+1|0}o=0;while(1){if((o|0)==3)break;c[D+32+(o<<2)>>2]=0;o=o+1|0}o=0;while(1){if((o|0)==3)break;c[D+20+(o<<2)>>2]=0;o=o+1|0}o=0;while(1){if((o|0)==3)break;c[D+8+(o<<2)>>2]=0;o=o+1|0}gxb(f,g,D+504|0,D+72|0,D+68|0,D+56|0,D+44|0,D+32|0,D+20|0,D+4|0);c[n>>2]=c[m>>2];x=D+32+4|0;y=D+20+4|0;z=D+44+8|0;A=D+44+4|0;w=D+104|0;B=0;f=0;a:while(1){if(B>>>0>=4){t=w;s=f;C=232;break}o=c[b>>2]|0;do if(!o)p=1;else{g=c[o+12>>2]|0;if((g|0)==(c[o+16>>2]|0))o=vi[c[(c[o>>2]|0)+36>>2]&2047](o)|0;else o=c[g>>2]|0;if((o|0)==-1){c[b>>2]=0;p=1;break}else{p=(c[b>>2]|0)==0;break}}while(0);g=c[e>>2]|0;do if(!g)C=31;else{o=c[g+12>>2]|0;if((o|0)==(c[g+16>>2]|0))o=vi[c[(c[g>>2]|0)+36>>2]&2047](g)|0;else o=c[o>>2]|0;if((o|0)==-1){c[e>>2]=0;C=31;break}else if(p){v=g;break}else{t=w;s=f;C=232;break a}}while(0);if((C|0)==31){C=0;if(p){t=w;s=f;C=232;break}else v=0}b:do switch(a[D+504+B>>0]|0){case 1:{if((B|0)==3)o=w;else{o=c[b>>2]|0;g=c[o+12>>2]|0;if((g|0)==(c[o+16>>2]|0))o=vi[c[(c[o>>2]|0)+36>>2]&2047](o)|0;else o=c[g>>2]|0;if(!(Gi[c[(c[l>>2]|0)+12>>2]&255](l,8192,o)|0)){C=44;break a}o=c[b>>2]|0;g=c[o+12>>2]|0;if((g|0)==(c[o+16>>2]|0))o=vi[c[(c[o>>2]|0)+40>>2]&2047](o)|0;else{c[o+12>>2]=g+4;o=c[g>>2]|0}prb(D+8|0,o);o=v;q=v;C=46}break}case 0:{if((B|0)==3)o=w;else{o=v;q=v;C=46}break}case 3:{g=a[D+32>>0]|0;p=(g&1)==0?(g&255)>>>1:c[x>>2]|0;o=a[D+20>>0]|0;o=(o&1)==0?(o&255)>>>1:c[y>>2]|0;if((p|0)==(0-o|0))o=w;else{q=c[b>>2]|0;r=c[q+12>>2]|0;s=c[q+16>>2]|0;if((p|0)==0|(o|0)==0){if((r|0)==(s|0))o=vi[c[(c[q>>2]|0)+36>>2]&2047](q)|0;else o=c[r>>2]|0;if(!p){if((o|0)!=(c[((a[D+20>>0]&1)==0?y:c[D+20+8>>2]|0)>>2]|0)){o=w;break b}o=c[b>>2]|0;g=c[o+12>>2]|0;if((g|0)==(c[o+16>>2]|0))vi[c[(c[o>>2]|0)+40>>2]&2047](o)|0;else c[o+12>>2]=g+4;a[k>>0]=1;v=a[D+20>>0]|0;o=w;f=((v&1)==0?(v&255)>>>1:c[y>>2]|0)>>>0>1?D+20|0:f;break b}if((o|0)!=(c[((a[D+32>>0]&1)==0?x:c[D+32+8>>2]|0)>>2]|0)){a[k>>0]=1;o=w;break b}o=c[b>>2]|0;g=c[o+12>>2]|0;if((g|0)==(c[o+16>>2]|0))vi[c[(c[o>>2]|0)+40>>2]&2047](o)|0;else c[o+12>>2]=g+4;v=a[D+32>>0]|0;o=w;f=((v&1)==0?(v&255)>>>1:c[x>>2]|0)>>>0>1?D+32|0:f;break b}if((r|0)==(s|0)){t=vi[c[(c[q>>2]|0)+36>>2]&2047](q)|0;o=c[b>>2]|0;g=a[D+32>>0]|0;q=o;r=c[o+12>>2]|0;o=c[o+16>>2]|0}else{t=c[r>>2]|0;o=s}p=q+12|0;o=(r|0)==(o|0);if((t|0)==(c[((g&1)==0?x:c[D+32+8>>2]|0)>>2]|0)){if(o)vi[c[(c[q>>2]|0)+40>>2]&2047](q)|0;else c[p>>2]=r+4;v=a[D+32>>0]|0;o=w;f=((v&1)==0?(v&255)>>>1:c[x>>2]|0)>>>0>1?D+32|0:f;break b}if(o)o=vi[c[(c[q>>2]|0)+36>>2]&2047](q)|0;else o=c[r>>2]|0;if((o|0)!=(c[((a[D+20>>0]&1)==0?y:c[D+20+8>>2]|0)>>2]|0)){C=102;break a}o=c[b>>2]|0;g=c[o+12>>2]|0;if((g|0)==(c[o+16>>2]|0))vi[c[(c[o>>2]|0)+40>>2]&2047](o)|0;else c[o+12>>2]=g+4;a[k>>0]=1;v=a[D+20>>0]|0;o=w;f=((v&1)==0?(v&255)>>>1:c[y>>2]|0)>>>0>1?D+20|0:f}break}case 2:{if(!(B>>>0<2|(f|0)!=0))if(!((h&512|0)!=0|(B|0)==2&(a[D+504+3>>0]|0)!=0)){o=w;f=0;break b}g=a[D+44>>0]|0;p=c[z>>2]|0;o=(g&1)==0?A:p;c:do if(!B){t=v;q=p;r=v;p=o}else if((d[D+504+(B+-1)>>0]|0)<2){q=p;while(1){u=(g&1)==0;p=o;if((p|0)==((u?A:q)+((u?(g&255)>>>1:c[A>>2]|0)<<2)|0))break;if(!(Gi[c[(c[l>>2]|0)+12>>2]&255](l,8192,c[p>>2]|0)|0)){C=109;break}g=a[D+44>>0]|0;q=c[z>>2]|0;o=p+4|0}if((C|0)==109){C=0;g=a[D+44>>0]|0;q=c[z>>2]|0}p=(g&1)==0?A:q;u=o-p>>2;r=a[D+8>>0]|0;s=(r&1)==0?(r&255)>>>1:c[D+8+4>>2]|0;if(u>>>0>s>>>0){t=v;r=v}else{t=((r&1)==0?D+8+4|0:c[D+8+8>>2]|0)+(s<<2)|0;s=p;r=t+(0-u<<2)|0;while(1){if((r|0)==(t|0)){t=v;r=v;p=o;break c}if((c[r>>2]|0)!=(c[s>>2]|0)){t=v;r=v;break c}s=s+4|0;r=r+4|0}}}else{t=v;q=p;r=v;p=o}while(0);d:while(1){o=(g&1)==0;o=(o?A:q)+((o?(g&255)>>>1:c[A>>2]|0)<<2)|0;s=p;if((s|0)==(o|0))break;o=c[b>>2]|0;do if(!o)g=1;else{g=c[o+12>>2]|0;if((g|0)==(c[o+16>>2]|0))o=vi[c[(c[o>>2]|0)+36>>2]&2047](o)|0;else o=c[g>>2]|0;if((o|0)==-1){c[b>>2]=0;g=1;break}else{g=(c[b>>2]|0)==0;break}}while(0);do if(!r){o=t;C=130}else{o=c[r+12>>2]|0;if((o|0)==(c[r+16>>2]|0))o=vi[c[(c[r>>2]|0)+36>>2]&2047](r)|0;else o=c[o>>2]|0;if((o|0)==-1){c[e>>2]=0;o=0;C=130;break}else if(g^(t|0)==0){o=t;r=t;break}else{o=s;break d}}while(0);if((C|0)==130){C=0;if(g){o=s;break}else r=0}g=c[b>>2]|0;p=c[g+12>>2]|0;if((p|0)==(c[g+16>>2]|0))g=vi[c[(c[g>>2]|0)+36>>2]&2047](g)|0;else g=c[p>>2]|0;if((g|0)!=(c[s>>2]|0)){o=s;break}g=c[b>>2]|0;p=c[g+12>>2]|0;if((p|0)==(c[g+16>>2]|0))vi[c[(c[g>>2]|0)+40>>2]&2047](g)|0;else c[g+12>>2]=p+4;t=o;g=a[D+44>>0]|0;q=c[z>>2]|0;p=s+4|0}if(h&512|0){v=a[D+44>>0]|0;if((o|0)==(((v&1)==0?A:c[z>>2]|0)+(((v&1)==0?(v&255)>>>1:c[A>>2]|0)<<2)|0))o=w;else{C=142;break a}}else o=w;break}case 4:{u=c[D+68>>2]|0;t=v;r=v;o=w;g=0;e:while(1){p=c[b>>2]|0;do if(!p)q=1;else{q=c[p+12>>2]|0;if((q|0)==(c[p+16>>2]|0))p=vi[c[(c[p>>2]|0)+36>>2]&2047](p)|0;else p=c[q>>2]|0;if((p|0)==-1){c[b>>2]=0;q=1;break}else{q=(c[b>>2]|0)==0;break}}while(0);do if(!r){p=t;C=156}else{p=c[r+12>>2]|0;if((p|0)==(c[r+16>>2]|0))p=vi[c[(c[r>>2]|0)+36>>2]&2047](r)|0;else p=c[p>>2]|0;if((p|0)==-1){c[e>>2]=0;p=0;C=156;break}else if(q^(t|0)==0){p=t;s=t;break}else{q=t;break e}}while(0);if((C|0)==156){C=0;if(q){q=p;break}else s=0}q=c[b>>2]|0;r=c[q+12>>2]|0;if((r|0)==(c[q+16>>2]|0))r=vi[c[(c[q>>2]|0)+36>>2]&2047](q)|0;else r=c[r>>2]|0;if(Gi[c[(c[l>>2]|0)+12>>2]&255](l,2048,r)|0){q=c[n>>2]|0;if((q|0)==(c[D+96>>2]|0)){hxb(m,n,D+96|0);q=c[n>>2]|0}c[n>>2]=q+4;c[q>>2]=r;g=g+1|0}else{w=a[D+56>>0]|0;if(!((r|0)==(u|0)&(g|0?(((w&1)==0?(w&255)>>>1:c[D+56+4>>2]|0)|0)!=0:0))){q=p;break}if((o|0)==(c[D+76>>2]|0)){$wb(D+88|0,D+80|0,D+76|0);o=c[D+80>>2]|0}w=o+4|0;c[D+80>>2]=w;c[o>>2]=g;o=w;g=0}q=c[b>>2]|0;r=c[q+12>>2]|0;if((r|0)==(c[q+16>>2]|0)){vi[c[(c[q>>2]|0)+40>>2]&2047](q)|0;t=p;r=s;continue}else{c[q+12>>2]=r+4;t=p;r=s;continue}}if(g|0?(c[D+88>>2]|0)!=(o|0):0){if((o|0)==(c[D+76>>2]|0)){$wb(D+88|0,D+80|0,D+76|0);o=c[D+80>>2]|0}w=o+4|0;c[D+80>>2]=w;c[o>>2]=g;o=w}r=c[D+4>>2]|0;f:do if((r|0)>0){g=c[b>>2]|0;do if(!g)p=1;else{p=c[g+12>>2]|0;if((p|0)==(c[g+16>>2]|0))g=vi[c[(c[g>>2]|0)+36>>2]&2047](g)|0;else g=c[p>>2]|0;if((g|0)==-1){c[b>>2]=0;p=1;break}else{p=(c[b>>2]|0)==0;break}}while(0);do if(!q)C=190;else{g=c[q+12>>2]|0;if((g|0)==(c[q+16>>2]|0))g=vi[c[(c[q>>2]|0)+36>>2]&2047](q)|0;else g=c[g>>2]|0;if((g|0)==-1){c[e>>2]=0;C=190;break}else if(p)break;else{C=196;break a}}while(0);if((C|0)==190){C=0;if(p){C=196;break a}else q=0}g=c[b>>2]|0;p=c[g+12>>2]|0;if((p|0)==(c[g+16>>2]|0))g=vi[c[(c[g>>2]|0)+36>>2]&2047](g)|0;else g=c[p>>2]|0;if((g|0)!=(c[D+72>>2]|0)){C=196;break a}g=c[b>>2]|0;p=c[g+12>>2]|0;if((p|0)==(c[g+16>>2]|0)){vi[c[(c[g>>2]|0)+40>>2]&2047](g)|0;g=q;t=r;r=q}else{c[g+12>>2]=p+4;g=q;t=r;r=q}while(1){if((t|0)<=0)break f;p=c[b>>2]|0;do if(!p)q=1;else{q=c[p+12>>2]|0;if((q|0)==(c[p+16>>2]|0))p=vi[c[(c[p>>2]|0)+36>>2]&2047](p)|0;else p=c[q>>2]|0;if((p|0)==-1){c[b>>2]=0;q=1;break}else{q=(c[b>>2]|0)==0;break}}while(0);do if(!r)C=214;else{p=c[r+12>>2]|0;if((p|0)==(c[r+16>>2]|0))p=vi[c[(c[r>>2]|0)+36>>2]&2047](r)|0;else p=c[p>>2]|0;if((p|0)==-1){c[e>>2]=0;g=0;C=214;break}else if(q^(g|0)==0){s=g;r=g;break}else{C=220;break a}}while(0);if((C|0)==214){C=0;if(q){C=220;break a}else{s=g;r=0}}g=c[b>>2]|0;p=c[g+12>>2]|0;if((p|0)==(c[g+16>>2]|0))g=vi[c[(c[g>>2]|0)+36>>2]&2047](g)|0;else g=c[p>>2]|0;if(!(Gi[c[(c[l>>2]|0)+12>>2]&255](l,2048,g)|0)){C=220;break a}if((c[n>>2]|0)==(c[D+96>>2]|0))hxb(m,n,D+96|0);g=c[b>>2]|0;p=c[g+12>>2]|0;if((p|0)==(c[g+16>>2]|0))g=vi[c[(c[g>>2]|0)+36>>2]&2047](g)|0;else g=c[p>>2]|0;q=c[n>>2]|0;c[n>>2]=q+4;c[q>>2]=g;q=t+-1|0;c[D+4>>2]=q;g=c[b>>2]|0;p=c[g+12>>2]|0;if((p|0)==(c[g+16>>2]|0)){vi[c[(c[g>>2]|0)+40>>2]&2047](g)|0;g=s;t=q;continue}else{c[g+12>>2]=p+4;g=s;t=q;continue}}}while(0);if((c[n>>2]|0)==(c[m>>2]|0)){C=230;break a}break}default:o=w}while(0);g:do if((C|0)==46)while(1){C=0;g=c[b>>2]|0;do if(!g)p=1;else{p=c[g+12>>2]|0;if((p|0)==(c[g+16>>2]|0))g=vi[c[(c[g>>2]|0)+36>>2]&2047](g)|0;else g=c[p>>2]|0;if((g|0)==-1){c[b>>2]=0;p=1;break}else{p=(c[b>>2]|0)==0;break}}while(0);do if(!q)C=59;else{g=c[q+12>>2]|0;if((g|0)==(c[q+16>>2]|0))g=vi[c[(c[q>>2]|0)+36>>2]&2047](q)|0;else g=c[g>>2]|0;if((g|0)==-1){c[e>>2]=0;o=0;C=59;break}else if(p^(o|0)==0){p=o;q=o;break}else{o=w;break g}}while(0);if((C|0)==59){C=0;if(p){o=w;break g}else{p=o;q=0}}o=c[b>>2]|0;g=c[o+12>>2]|0;if((g|0)==(c[o+16>>2]|0))o=vi[c[(c[o>>2]|0)+36>>2]&2047](o)|0;else o=c[g>>2]|0;if(!(Gi[c[(c[l>>2]|0)+12>>2]&255](l,8192,o)|0)){o=w;break g}o=c[b>>2]|0;g=c[o+12>>2]|0;if((g|0)==(c[o+16>>2]|0))o=vi[c[(c[o>>2]|0)+40>>2]&2047](o)|0;else{c[o+12>>2]=g+4;o=c[g>>2]|0}prb(D+8|0,o);o=p;C=46}while(0);w=o;B=B+1|0}h:do if((C|0)==44){c[j>>2]=c[j>>2]|4;f=0}else if((C|0)==102){c[j>>2]=c[j>>2]|4;f=0}else if((C|0)==142){c[j>>2]=c[j>>2]|4;f=0}else if((C|0)==196){c[j>>2]=c[j>>2]|4;f=0}else if((C|0)==220){c[j>>2]=c[j>>2]|4;f=0}else if((C|0)==230){c[j>>2]=c[j>>2]|4;f=0}else if((C|0)==232){i:do if(s|0){q=s+4|0;r=s+8|0;p=1;j:while(1){o=a[s>>0]|0;if(!(o&1))o=(o&255)>>>1;else o=c[q>>2]|0;if(p>>>0>=o>>>0)break i;o=c[b>>2]|0;do if(!o)g=1;else{f=c[o+12>>2]|0;if((f|0)==(c[o+16>>2]|0))o=vi[c[(c[o>>2]|0)+36>>2]&2047](o)|0;else o=c[f>>2]|0;if((o|0)==-1){c[b>>2]=0;g=1;break}else{g=(c[b>>2]|0)==0;break}}while(0);o=c[e>>2]|0;do if(!o)C=251;else{f=c[o+12>>2]|0;if((f|0)==(c[o+16>>2]|0))o=vi[c[(c[o>>2]|0)+36>>2]&2047](o)|0;else o=c[f>>2]|0;if((o|0)==-1){c[e>>2]=0;C=251;break}else if(g)break;else break j}while(0);if((C|0)==251){C=0;if(g)break}o=c[b>>2]|0;f=c[o+12>>2]|0;if((f|0)==(c[o+16>>2]|0))o=vi[c[(c[o>>2]|0)+36>>2]&2047](o)|0;else o=c[f>>2]|0;if(!(a[s>>0]&1))f=q;else f=c[r>>2]|0;if((o|0)!=(c[f+(p<<2)>>2]|0))break;o=p+1|0;f=c[b>>2]|0;g=c[f+12>>2]|0;if((g|0)==(c[f+16>>2]|0)){vi[c[(c[f>>2]|0)+40>>2]&2047](f)|0;p=o;continue}else{c[f+12>>2]=g+4;p=o;continue}}c[j>>2]=c[j>>2]|4;f=0;break h}while(0);o=c[D+88>>2]|0;if((o|0)==(t|0))f=1;else{c[D>>2]=0;dtb(D+56|0,o,t,D);if(!(c[D>>2]|0)){f=1;break}else{c[j>>2]=c[j>>2]|4;f=0;break}}}while(0);jrb(D+8|0);jrb(D+20|0);jrb(D+32|0);jrb(D+44|0);Mqb(D+56|0);o=c[D+88>>2]|0;c[D+88>>2]=0;if(o|0)Hi[c[D+88+4>>2]&1023](o);i=D;return f|0}function gxb(b,d,e,f,g,h,j,k,l,m){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0;n=i;i=i+112|0;if(b){d=Usb(d,1205332)|0;si[c[(c[d>>2]|0)+44>>2]&511](n+100|0,d);b=c[n+100>>2]|0;a[e>>0]=b;a[e+1>>0]=b>>8;a[e+2>>0]=b>>16;a[e+3>>0]=b>>24;si[c[(c[d>>2]|0)+32>>2]&511](n+88|0,d);if(!(a[l>>0]&1))a[l>>0]=0;else c[c[l+8>>2]>>2]=0;c[l+4>>2]=0;mrb(l,0);c[l>>2]=c[n+88>>2];c[l+4>>2]=c[n+88+4>>2];c[l+8>>2]=c[n+88+8>>2];b=0;while(1){if((b|0)==3)break;c[n+88+(b<<2)>>2]=0;b=b+1|0}jrb(n+88|0);si[c[(c[d>>2]|0)+28>>2]&511](n+76|0,d);if(!(a[k>>0]&1))a[k>>0]=0;else c[c[k+8>>2]>>2]=0;c[k+4>>2]=0;mrb(k,0);c[k>>2]=c[n+76>>2];c[k+4>>2]=c[n+76+4>>2];c[k+8>>2]=c[n+76+8>>2];b=0;while(1){if((b|0)==3)break;c[n+76+(b<<2)>>2]=0;b=b+1|0}jrb(n+76|0);c[f>>2]=vi[c[(c[d>>2]|0)+12>>2]&2047](d)|0;c[g>>2]=vi[c[(c[d>>2]|0)+16>>2]&2047](d)|0;si[c[(c[d>>2]|0)+20>>2]&511](n+64|0,d);if(!(a[h>>0]&1)){a[h+1>>0]=0;a[h>>0]=0}else{a[c[h+8>>2]>>0]=0;c[h+4>>2]=0}Qqb(h,0);c[h>>2]=c[n+64>>2];c[h+4>>2]=c[n+64+4>>2];c[h+8>>2]=c[n+64+8>>2];b=0;while(1){if((b|0)==3)break;c[n+64+(b<<2)>>2]=0;b=b+1|0}Mqb(n+64|0);si[c[(c[d>>2]|0)+24>>2]&511](n+52|0,d);if(!(a[j>>0]&1))a[j>>0]=0;else c[c[j+8>>2]>>2]=0;c[j+4>>2]=0;mrb(j,0);c[j>>2]=c[n+52>>2];c[j+4>>2]=c[n+52+4>>2];c[j+8>>2]=c[n+52+8>>2];b=0;while(1){if((b|0)==3)break;c[n+52+(b<<2)>>2]=0;b=b+1|0}jrb(n+52|0);b=vi[c[(c[d>>2]|0)+36>>2]&2047](d)|0}else{d=Usb(d,1205324)|0;si[c[(c[d>>2]|0)+44>>2]&511](n+48|0,d);b=c[n+48>>2]|0;a[e>>0]=b;a[e+1>>0]=b>>8;a[e+2>>0]=b>>16;a[e+3>>0]=b>>24;si[c[(c[d>>2]|0)+32>>2]&511](n+36|0,d);if(!(a[l>>0]&1))a[l>>0]=0;else c[c[l+8>>2]>>2]=0;c[l+4>>2]=0;mrb(l,0);c[l>>2]=c[n+36>>2];c[l+4>>2]=c[n+36+4>>2];c[l+8>>2]=c[n+36+8>>2];b=0;while(1){if((b|0)==3)break;c[n+36+(b<<2)>>2]=0;b=b+1|0}jrb(n+36|0);si[c[(c[d>>2]|0)+28>>2]&511](n+24|0,d);if(!(a[k>>0]&1))a[k>>0]=0;else c[c[k+8>>2]>>2]=0;c[k+4>>2]=0;mrb(k,0);c[k>>2]=c[n+24>>2];c[k+4>>2]=c[n+24+4>>2];c[k+8>>2]=c[n+24+8>>2];b=0;while(1){if((b|0)==3)break;c[n+24+(b<<2)>>2]=0;b=b+1|0}jrb(n+24|0);c[f>>2]=vi[c[(c[d>>2]|0)+12>>2]&2047](d)|0;c[g>>2]=vi[c[(c[d>>2]|0)+16>>2]&2047](d)|0;si[c[(c[d>>2]|0)+20>>2]&511](n+12|0,d);if(!(a[h>>0]&1)){a[h+1>>0]=0;a[h>>0]=0}else{a[c[h+8>>2]>>0]=0;c[h+4>>2]=0}Qqb(h,0);c[h>>2]=c[n+12>>2];c[h+4>>2]=c[n+12+4>>2];c[h+8>>2]=c[n+12+8>>2];b=0;while(1){if((b|0)==3)break;c[n+12+(b<<2)>>2]=0;b=b+1|0}Mqb(n+12|0);si[c[(c[d>>2]|0)+24>>2]&511](n,d);if(!(a[j>>0]&1))a[j>>0]=0;else c[c[j+8>>2]>>2]=0;c[j+4>>2]=0;mrb(j,0);c[j>>2]=c[n>>2];c[j+4>>2]=c[n+4>>2];c[j+8>>2]=c[n+8>>2];b=0;while(1){if((b|0)==3)break;c[n+(b<<2)>>2]=0;b=b+1|0}jrb(n);b=vi[c[(c[d>>2]|0)+36>>2]&2047](d)|0}c[m>>2]=b;i=n;return}function hxb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;f=(c[a+4>>2]|0)!=792;e=c[a>>2]|0;g=(c[d>>2]|0)-e|0;g=g>>>0<2147483647?g<<1:-1;h=(c[b>>2]|0)-e>>2;e=Ypb(f?e:0,g)|0;if(!e)eBb();if(f)c[a>>2]=e;else{f=c[a>>2]|0;c[a>>2]=e;if(f){Hi[c[a+4>>2]&1023](f);e=c[a>>2]|0}}c[a+4>>2]=793;c[b>>2]=e+(h<<2);c[d>>2]=(c[a>>2]|0)+(g>>>2<<2);return}function ixb(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0;n=i;i=i+432|0;c[n+16>>2]=n+24;c[n+16+4>>2]=792;l=ssb(g)|0;c[n+4>>2]=l;b=Usb(n+4|0,1203628)|0;a[n+428>>0]=0;k=c[e>>2]|0;c[n>>2]=k;g=c[g+4>>2]|0;c[n+424>>2]=c[n>>2];if(fxb(d,n+424|0,f,n+4|0,g,h,n+428|0,b,n+16|0,n+8|0,n+24+400|0)|0){if(!(a[j>>0]&1))a[j>>0]=0;else c[c[j+8>>2]>>2]=0;c[j+4>>2]=0;if(a[n+428>>0]|0)prb(j,Xi[c[(c[b>>2]|0)+44>>2]&511](b,45)|0);f=Xi[c[(c[b>>2]|0)+44>>2]&511](b,48)|0;g=c[n+8>>2]|0;b=c[n+16>>2]|0;while(1){if(b>>>0>=(g+-4|0)>>>0)break;if((c[b>>2]|0)!=(f|0))break;b=b+4|0}jxb(j,b,g)|0}b=c[d>>2]|0;do if(!b)f=1;else{f=c[b+12>>2]|0;if((f|0)==(c[b+16>>2]|0))b=vi[c[(c[b>>2]|0)+36>>2]&2047](b)|0;else b=c[f>>2]|0;if((b|0)==-1){c[d>>2]=0;f=1;break}else{f=(c[d>>2]|0)==0;break}}while(0);do if(!k)m=25;else{b=c[k+12>>2]|0;if((b|0)==(c[k+16>>2]|0))b=vi[c[(c[k>>2]|0)+36>>2]&2047](k)|0;else b=c[b>>2]|0;if((b|0)==-1){c[e>>2]=0;m=25;break}else if(f)break;else{m=27;break}}while(0);if((m|0)==25)if(f)m=27;if((m|0)==27)c[h>>2]=c[h>>2]|2;f=c[d>>2]|0;eAb(l)|0;b=c[n+16>>2]|0;c[n+16>>2]=0;if(b|0)Hi[c[n+16+4>>2]&1023](b);i=n;return f|0}function jxb(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;f=a[b>>0]|0;if(!(f&1)){g=1;j=(f&255)>>>1}else{f=c[b>>2]|0;g=(f&-2)+-1|0;j=c[b+4>>2]|0;f=f&255}do if(e-d>>2|0){if((g-j|0)>>>0>2>>>0){orb(b,g,j+(e-d>>2)-g|0,j,j,0,0);f=a[b>>0]|0}if(!(f&1))g=b+4|0;else g=c[b+8>>2]|0;h=j+((e-d|0)>>>2)|0;f=d;i=g+(j<<2)|0;while(1){if((f|0)==(e|0))break;c[i>>2]=c[f>>2];f=f+4|0;i=i+4|0}c[g+(h<<2)>>2]=0;f=j+(e-d>>2)|0;if(!(a[b>>0]&1)){a[b>>0]=f<<1;break}else{c[b+4>>2]=f;break}}while(0);return b|0}function kxb(a){a=a|0;return}function lxb(a){a=a|0;oAb(a);return}function mxb(b,d,e,f,g,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;j=+j;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;s=i;i=i+384|0;c[s+72>>2]=s+284;h[s+8>>3]=j;b=znb(s+284|0,100,619192,s+8|0)|0;if(b>>>0>99){b=ctb()|0;h[s>>3]=j;b=sub(s+72|0,b,619192,s)|0;k=c[s+72>>2]|0;if(!k)eBb();l=Vpb(b)|0;if(!l)eBb();else{o=l;t=l;u=k;q=b}}else{o=s+184|0;t=0;u=0;q=b}b=ssb(f)|0;c[s+68>>2]=b;m=Usb(s+68|0,1203596)|0;n=c[s+72>>2]|0;cj[c[(c[m>>2]|0)+32>>2]&127](m,n,n+q|0,o)|0;if(!q)n=0;else n=(a[c[s+72>>2]>>0]|0)==45;k=0;while(1){if((k|0)==3)break;c[s+56+(k<<2)>>2]=0;k=k+1|0}k=0;while(1){if((k|0)==3)break;c[s+44+(k<<2)>>2]=0;k=k+1|0}k=0;while(1){if((k|0)==3)break;c[s+32+(k<<2)>>2]=0;k=k+1|0}nxb(e,n,s+68|0,s+180|0,s+177|0,s+176|0,s+56|0,s+44|0,s+32|0,s+28|0);l=c[s+28>>2]|0;if((q|0)>(l|0)){e=a[s+32>>0]|0;k=a[s+44>>0]|0;k=(q-l<<1|1)+l+((e&1)==0?(e&255)>>>1:c[s+32+4>>2]|0)+((k&1)==0?(k&255)>>>1:c[s+44+4>>2]|0)|0}else{e=a[s+32>>0]|0;k=a[s+44>>0]|0;k=l+2+((e&1)==0?(e&255)>>>1:c[s+32+4>>2]|0)+((k&1)==0?(k&255)>>>1:c[s+44+4>>2]|0)|0}if(k>>>0>100){k=Vpb(k)|0;if(!k)eBb();else{r=k;p=k}}else{r=0;p=s+76|0}oxb(p,s+24|0,s+20|0,c[f+4>>2]|0,o,o+q|0,m,n,s+180|0,a[s+177>>0]|0,a[s+176>>0]|0,s+56|0,s+44|0,s+32|0,l);c[s+16>>2]=c[d>>2];d=c[s+24>>2]|0;k=c[s+20>>2]|0;c[s+8>>2]=c[s+16>>2];k=fk(s+8|0,p,d,k,f,g)|0;if(r){Wpb(r);b=c[s+68>>2]|0}Mqb(s+32|0);Mqb(s+44|0);Mqb(s+56|0);eAb(b)|0;if(t|0)Wpb(t);if(u|0)Wpb(u);i=s;return k|0}function nxb(b,d,e,f,g,h,j,k,l,m){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0,o=0;o=i;i=i+112|0;if(b){n=Usb(e,1205316)|0;b=c[n>>2]|0;if(d){si[c[b+44>>2]&511](o+108|0,n);d=c[o+108>>2]|0;a[f>>0]=d;a[f+1>>0]=d>>8;a[f+2>>0]=d>>16;a[f+3>>0]=d>>24;si[c[(c[n>>2]|0)+32>>2]&511](o+96|0,n);if(!(a[l>>0]&1)){a[l+1>>0]=0;a[l>>0]=0}else{a[c[l+8>>2]>>0]=0;c[l+4>>2]=0}Qqb(l,0);c[l>>2]=c[o+96>>2];c[l+4>>2]=c[o+96+4>>2];c[l+8>>2]=c[o+96+8>>2];b=0;while(1){if((b|0)==3)break;c[o+96+(b<<2)>>2]=0;b=b+1|0}Mqb(o+96|0);e=n}else{si[c[b+40>>2]&511](o+92|0,n);d=c[o+92>>2]|0;a[f>>0]=d;a[f+1>>0]=d>>8;a[f+2>>0]=d>>16;a[f+3>>0]=d>>24;si[c[(c[n>>2]|0)+28>>2]&511](o+80|0,n);if(!(a[l>>0]&1)){a[l+1>>0]=0;a[l>>0]=0}else{a[c[l+8>>2]>>0]=0;c[l+4>>2]=0}Qqb(l,0);c[l>>2]=c[o+80>>2];c[l+4>>2]=c[o+80+4>>2];c[l+8>>2]=c[o+80+8>>2];b=0;while(1){if((b|0)==3)break;c[o+80+(b<<2)>>2]=0;b=b+1|0}Mqb(o+80|0);e=n}a[g>>0]=vi[c[(c[n>>2]|0)+12>>2]&2047](n)|0;a[h>>0]=vi[c[(c[n>>2]|0)+16>>2]&2047](n)|0;si[c[(c[e>>2]|0)+20>>2]&511](o+68|0,n);if(!(a[j>>0]&1)){a[j+1>>0]=0;a[j>>0]=0}else{a[c[j+8>>2]>>0]=0;c[j+4>>2]=0}Qqb(j,0);c[j>>2]=c[o+68>>2];c[j+4>>2]=c[o+68+4>>2];c[j+8>>2]=c[o+68+8>>2];b=0;while(1){if((b|0)==3)break;c[o+68+(b<<2)>>2]=0;b=b+1|0}Mqb(o+68|0);si[c[(c[e>>2]|0)+24>>2]&511](o+56|0,n);if(!(a[k>>0]&1)){a[k+1>>0]=0;a[k>>0]=0}else{a[c[k+8>>2]>>0]=0;c[k+4>>2]=0}Qqb(k,0);c[k>>2]=c[o+56>>2];c[k+4>>2]=c[o+56+4>>2];c[k+8>>2]=c[o+56+8>>2];b=0;while(1){if((b|0)==3)break;c[o+56+(b<<2)>>2]=0;b=b+1|0}Mqb(o+56|0);b=vi[c[(c[n>>2]|0)+36>>2]&2047](n)|0}else{n=Usb(e,1205308)|0;b=c[n>>2]|0;if(d){si[c[b+44>>2]&511](o+52|0,n);d=c[o+52>>2]|0;a[f>>0]=d;a[f+1>>0]=d>>8;a[f+2>>0]=d>>16;a[f+3>>0]=d>>24;si[c[(c[n>>2]|0)+32>>2]&511](o+40|0,n);if(!(a[l>>0]&1)){a[l+1>>0]=0;a[l>>0]=0}else{a[c[l+8>>2]>>0]=0;c[l+4>>2]=0}Qqb(l,0);c[l>>2]=c[o+40>>2];c[l+4>>2]=c[o+40+4>>2];c[l+8>>2]=c[o+40+8>>2];b=0;while(1){if((b|0)==3)break;c[o+40+(b<<2)>>2]=0;b=b+1|0}Mqb(o+40|0);e=n}else{si[c[b+40>>2]&511](o+36|0,n);d=c[o+36>>2]|0;a[f>>0]=d;a[f+1>>0]=d>>8;a[f+2>>0]=d>>16;a[f+3>>0]=d>>24;si[c[(c[n>>2]|0)+28>>2]&511](o+24|0,n);if(!(a[l>>0]&1)){a[l+1>>0]=0;a[l>>0]=0}else{a[c[l+8>>2]>>0]=0;c[l+4>>2]=0}Qqb(l,0);c[l>>2]=c[o+24>>2];c[l+4>>2]=c[o+24+4>>2];c[l+8>>2]=c[o+24+8>>2];b=0;while(1){if((b|0)==3)break;c[o+24+(b<<2)>>2]=0;b=b+1|0}Mqb(o+24|0);e=n}a[g>>0]=vi[c[(c[n>>2]|0)+12>>2]&2047](n)|0;a[h>>0]=vi[c[(c[n>>2]|0)+16>>2]&2047](n)|0;si[c[(c[e>>2]|0)+20>>2]&511](o+12|0,n);if(!(a[j>>0]&1)){a[j+1>>0]=0;a[j>>0]=0}else{a[c[j+8>>2]>>0]=0;c[j+4>>2]=0}Qqb(j,0);c[j>>2]=c[o+12>>2];c[j+4>>2]=c[o+12+4>>2];c[j+8>>2]=c[o+12+8>>2];b=0;while(1){if((b|0)==3)break;c[o+12+(b<<2)>>2]=0;b=b+1|0}Mqb(o+12|0);si[c[(c[e>>2]|0)+24>>2]&511](o,n);if(!(a[k>>0]&1)){a[k+1>>0]=0;a[k>>0]=0}else{a[c[k+8>>2]>>0]=0;c[k+4>>2]=0}Qqb(k,0);c[k>>2]=c[o>>2];c[k+4>>2]=c[o+4>>2];c[k+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}Mqb(o);b=vi[c[(c[n>>2]|0)+36>>2]&2047](n)|0}c[m>>2]=b;i=o;return}function oxb(d,e,f,g,h,i,j,k,l,m,n,o,p,q,r){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;p=p|0;q=q|0;r=r|0;var s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;c[f>>2]=d;x=0;while(1){if((x|0)==4)break;a:do switch(a[l+x>>0]|0){case 0:{c[e>>2]=c[f>>2];break}case 1:{c[e>>2]=c[f>>2];v=Xi[c[(c[j>>2]|0)+28>>2]&511](j,32)|0;w=c[f>>2]|0;c[f>>2]=w+1;a[w>>0]=v;break}case 3:{s=a[q>>0]|0;if(((s&1)==0?(s&255)>>>1:c[q+4>>2]|0)|0){v=a[((s&1)==0?q+1|0:c[q+8>>2]|0)>>0]|0;w=c[f>>2]|0;c[f>>2]=w+1;a[w>>0]=v}break}case 2:{s=a[p>>0]|0;v=(s&1)==0?(s&255)>>>1:c[p+4>>2]|0;if(!((g&512|0)==0|(v|0)==0)){u=(s&1)==0?p+1|0:c[p+8>>2]|0;s=c[f>>2]|0;t=u;while(1){if((t|0)==(u+v|0))break;a[s>>0]=a[t>>0]|0;s=s+1|0;t=t+1|0}c[f>>2]=s}break}case 4:{t=c[f>>2]|0;h=k?h+1|0:h;s=h;while(1){if(s>>>0>=i>>>0)break;u=a[s>>0]|0;if(u<<24>>24<=-1)break;if(!(b[(c[j+8>>2]|0)+(u<<24>>24<<1)>>1]&2048))break;s=s+1|0}if((r|0)>0){v=r;while(1){u=(v|0)>0;if(!(s>>>0>h>>>0&u))break;w=s+-1|0;y=a[w>>0]|0;u=c[f>>2]|0;c[f>>2]=u+1;a[u>>0]=y;s=w;v=v+-1|0}if(u)w=Xi[c[(c[j>>2]|0)+28>>2]&511](j,48)|0;else w=0;while(1){u=c[f>>2]|0;c[f>>2]=u+1;if((v|0)<=0)break;a[u>>0]=w;v=v+-1|0}a[u>>0]=m}b:do if((s|0)==(h|0)){w=Xi[c[(c[j>>2]|0)+28>>2]&511](j,48)|0;y=c[f>>2]|0;c[f>>2]=y+1;a[y>>0]=w}else{u=a[o>>0]|0;if(!(((u&1)==0?(u&255)>>>1:c[o+4>>2]|0)|0)){u=-1;v=0;w=0}else{u=a[((u&1)==0?o+1|0:c[o+8>>2]|0)>>0]|0;v=0;w=0}while(1){if((s|0)==(h|0))break b;if((w|0)==(u|0)){u=c[f>>2]|0;c[f>>2]=u+1;a[u>>0]=n;v=v+1|0;u=a[o>>0]|0;if(v>>>0<((u&1)==0?(u&255)>>>1:c[o+4>>2]|0)>>>0){u=a[((u&1)==0?o+1|0:c[o+8>>2]|0)+v>>0]|0;u=u<<24>>24==127?-1:u<<24>>24;w=0}else{u=w;w=0}}y=s+-1|0;A=a[y>>0]|0;z=c[f>>2]|0;c[f>>2]=z+1;a[z>>0]=A;s=y;w=w+1|0}}while(0);s=c[f>>2]|0;if((t|0)!=(s|0))while(1){s=s+-1|0;if(t>>>0>=s>>>0)break a;A=a[t>>0]|0;a[t>>0]=a[s>>0]|0;a[s>>0]=A;t=t+1|0}break}default:{}}while(0);x=x+1|0}h=a[q>>0]|0;u=(h&1)==0?(h&255)>>>1:c[q+4>>2]|0;if(u>>>0>1){t=(h&1)==0?q+1|0:c[q+8>>2]|0;h=c[f>>2]|0;s=t;while(1){s=s+1|0;if((s|0)==(t+u|0))break;a[h>>0]=a[s>>0]|0;h=h+1|0}c[f>>2]=h}switch(g&176|0){case 32:{c[e>>2]=c[f>>2];break}case 16:break;default:c[e>>2]=d}return}function pxb(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;q=i;i=i+176|0;b=ssb(f)|0;c[q+52>>2]=b;n=Usb(q+52|0,1203596)|0;j=a[h>>0]|0;if(!(((j&1)==0?(j&255)>>>1:c[h+4>>2]|0)|0))m=0;else{m=a[((j&1)==0?h+1|0:c[h+8>>2]|0)>>0]|0;m=m<<24>>24==(Xi[c[(c[n>>2]|0)+28>>2]&511](n,45)|0)<<24>>24}j=0;while(1){if((j|0)==3)break;c[q+40+(j<<2)>>2]=0;j=j+1|0}j=0;while(1){if((j|0)==3)break;c[q+28+(j<<2)>>2]=0;j=j+1|0}j=0;while(1){if((j|0)==3)break;c[q+16+(j<<2)>>2]=0;j=j+1|0}nxb(e,m,q+52|0,q+164|0,q+161|0,q+160|0,q+40|0,q+28|0,q+16|0,q+12|0);e=a[h>>0]|0;k=c[h+4>>2]|0;j=(e&1)==0?(e&255)>>>1:k;l=c[q+12>>2]|0;if((j|0)>(l|0)){s=a[q+16>>0]|0;r=a[q+28>>0]|0;j=(j-l<<1|1)+l+((s&1)==0?(s&255)>>>1:c[q+16+4>>2]|0)+((r&1)==0?(r&255)>>>1:c[q+28+4>>2]|0)|0}else{s=a[q+16>>0]|0;j=a[q+28>>0]|0;j=l+2+((s&1)==0?(s&255)>>>1:c[q+16+4>>2]|0)+((j&1)==0?(j&255)>>>1:c[q+28+4>>2]|0)|0}if(j>>>0>100){j=Vpb(j)|0;if(!j)eBb();else{p=j;o=j}}else{p=0;o=q+60|0}s=(e&1)==0?h+1|0:c[h+8>>2]|0;oxb(o,q+8|0,q+4|0,c[f+4>>2]|0,s,s+((e&1)==0?(e&255)>>>1:k)|0,n,m,q+164|0,a[q+161>>0]|0,a[q+160>>0]|0,q+40|0,q+28|0,q+16|0,l);c[q>>2]=c[d>>2];s=c[q+8>>2]|0;j=c[q+4>>2]|0;c[q+56>>2]=c[q>>2];j=fk(q+56|0,o,s,j,f,g)|0;if(p){Wpb(p);b=c[q+52>>2]|0}Mqb(q+16|0);Mqb(q+28|0);Mqb(q+40|0);eAb(b)|0;i=q;return j|0}function qxb(a){a=a|0;return}function rxb(a){a=a|0;oAb(a);return}function sxb(b,d,e,f,g,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;j=+j;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;s=i;i=i+1008|0;c[s+888>>2]=s+896;h[s+8>>3]=j;b=znb(s+896|0,100,619192,s+8|0)|0;if(b>>>0>99){b=ctb()|0;h[s>>3]=j;b=sub(s+888|0,b,619192,s)|0;k=c[s+888>>2]|0;if(!k)eBb();l=Vpb(b<<2)|0;if(!l)eBb();else{o=l;t=l;u=k;q=b}}else{o=s+488|0;t=0;u=0;q=b}b=ssb(f)|0;c[s+480>>2]=b;m=Usb(s+480|0,1203628)|0;n=c[s+888>>2]|0;cj[c[(c[m>>2]|0)+48>>2]&127](m,n,n+q|0,o)|0;if(!q)n=0;else n=(a[c[s+888>>2]>>0]|0)==45;k=0;while(1){if((k|0)==3)break;c[s+460+(k<<2)>>2]=0;k=k+1|0}k=0;while(1){if((k|0)==3)break;c[s+448+(k<<2)>>2]=0;k=k+1|0}k=0;while(1){if((k|0)==3)break;c[s+436+(k<<2)>>2]=0;k=k+1|0}txb(e,n,s+480|0,s+892|0,s+476|0,s+472|0,s+460|0,s+448|0,s+436|0,s+432|0);l=c[s+432>>2]|0;if((q|0)>(l|0)){e=a[s+436>>0]|0;k=a[s+448>>0]|0;k=(q-l<<1|1)+l+((e&1)==0?(e&255)>>>1:c[s+436+4>>2]|0)+((k&1)==0?(k&255)>>>1:c[s+448+4>>2]|0)|0}else{e=a[s+436>>0]|0;k=a[s+448>>0]|0;k=l+2+((e&1)==0?(e&255)>>>1:c[s+436+4>>2]|0)+((k&1)==0?(k&255)>>>1:c[s+448+4>>2]|0)|0}if(k>>>0>100){k=Vpb(k<<2)|0;if(!k)eBb();else{r=k;p=k}}else{r=0;p=s+32|0}uxb(p,s+24|0,s+20|0,c[f+4>>2]|0,o,o+(q<<2)|0,m,n,s+892|0,c[s+476>>2]|0,c[s+472>>2]|0,s+460|0,s+448|0,s+436|0,l);c[s+16>>2]=c[d>>2];d=c[s+24>>2]|0;k=c[s+20>>2]|0;c[s+8>>2]=c[s+16>>2];k=Bub(s+8|0,p,d,k,f,g)|0;if(r){Wpb(r);b=c[s+480>>2]|0}jrb(s+436|0);jrb(s+448|0);Mqb(s+460|0);eAb(b)|0;if(t|0)Wpb(t);if(u|0)Wpb(u);i=s;return k|0}function txb(b,d,e,f,g,h,j,k,l,m){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0;n=i;i=i+112|0;if(b){e=Usb(e,1205332)|0;b=c[e>>2]|0;if(d){si[c[b+44>>2]&511](n+108|0,e);d=c[n+108>>2]|0;a[f>>0]=d;a[f+1>>0]=d>>8;a[f+2>>0]=d>>16;a[f+3>>0]=d>>24;si[c[(c[e>>2]|0)+32>>2]&511](n+96|0,e);if(!(a[l>>0]&1))a[l>>0]=0;else c[c[l+8>>2]>>2]=0;c[l+4>>2]=0;mrb(l,0);c[l>>2]=c[n+96>>2];c[l+4>>2]=c[n+96+4>>2];c[l+8>>2]=c[n+96+8>>2];b=0;while(1){if((b|0)==3)break;c[n+96+(b<<2)>>2]=0;b=b+1|0}jrb(n+96|0)}else{si[c[b+40>>2]&511](n+92|0,e);d=c[n+92>>2]|0;a[f>>0]=d;a[f+1>>0]=d>>8;a[f+2>>0]=d>>16;a[f+3>>0]=d>>24;si[c[(c[e>>2]|0)+28>>2]&511](n+80|0,e);if(!(a[l>>0]&1))a[l>>0]=0;else c[c[l+8>>2]>>2]=0;c[l+4>>2]=0;mrb(l,0);c[l>>2]=c[n+80>>2];c[l+4>>2]=c[n+80+4>>2];c[l+8>>2]=c[n+80+8>>2];b=0;while(1){if((b|0)==3)break;c[n+80+(b<<2)>>2]=0;b=b+1|0}jrb(n+80|0)}c[g>>2]=vi[c[(c[e>>2]|0)+12>>2]&2047](e)|0;c[h>>2]=vi[c[(c[e>>2]|0)+16>>2]&2047](e)|0;si[c[(c[e>>2]|0)+20>>2]&511](n+68|0,e);if(!(a[j>>0]&1)){a[j+1>>0]=0;a[j>>0]=0}else{a[c[j+8>>2]>>0]=0;c[j+4>>2]=0}Qqb(j,0);c[j>>2]=c[n+68>>2];c[j+4>>2]=c[n+68+4>>2];c[j+8>>2]=c[n+68+8>>2];b=0;while(1){if((b|0)==3)break;c[n+68+(b<<2)>>2]=0;b=b+1|0}Mqb(n+68|0);si[c[(c[e>>2]|0)+24>>2]&511](n+56|0,e);if(!(a[k>>0]&1))a[k>>0]=0;else c[c[k+8>>2]>>2]=0;c[k+4>>2]=0;mrb(k,0);c[k>>2]=c[n+56>>2];c[k+4>>2]=c[n+56+4>>2];c[k+8>>2]=c[n+56+8>>2];b=0;while(1){if((b|0)==3)break;c[n+56+(b<<2)>>2]=0;b=b+1|0}jrb(n+56|0);b=vi[c[(c[e>>2]|0)+36>>2]&2047](e)|0}else{e=Usb(e,1205324)|0;b=c[e>>2]|0;if(d){si[c[b+44>>2]&511](n+52|0,e);d=c[n+52>>2]|0;a[f>>0]=d;a[f+1>>0]=d>>8;a[f+2>>0]=d>>16;a[f+3>>0]=d>>24;si[c[(c[e>>2]|0)+32>>2]&511](n+40|0,e);if(!(a[l>>0]&1))a[l>>0]=0;else c[c[l+8>>2]>>2]=0;c[l+4>>2]=0;mrb(l,0);c[l>>2]=c[n+40>>2];c[l+4>>2]=c[n+40+4>>2];c[l+8>>2]=c[n+40+8>>2];b=0;while(1){if((b|0)==3)break;c[n+40+(b<<2)>>2]=0;b=b+1|0}jrb(n+40|0)}else{si[c[b+40>>2]&511](n+36|0,e);d=c[n+36>>2]|0;a[f>>0]=d;a[f+1>>0]=d>>8;a[f+2>>0]=d>>16;a[f+3>>0]=d>>24;si[c[(c[e>>2]|0)+28>>2]&511](n+24|0,e);if(!(a[l>>0]&1))a[l>>0]=0;else c[c[l+8>>2]>>2]=0;c[l+4>>2]=0;mrb(l,0);c[l>>2]=c[n+24>>2];c[l+4>>2]=c[n+24+4>>2];c[l+8>>2]=c[n+24+8>>2];b=0;while(1){if((b|0)==3)break;c[n+24+(b<<2)>>2]=0;b=b+1|0}jrb(n+24|0)}c[g>>2]=vi[c[(c[e>>2]|0)+12>>2]&2047](e)|0;c[h>>2]=vi[c[(c[e>>2]|0)+16>>2]&2047](e)|0;si[c[(c[e>>2]|0)+20>>2]&511](n+12|0,e);if(!(a[j>>0]&1)){a[j+1>>0]=0;a[j>>0]=0}else{a[c[j+8>>2]>>0]=0;c[j+4>>2]=0}Qqb(j,0);c[j>>2]=c[n+12>>2];c[j+4>>2]=c[n+12+4>>2];c[j+8>>2]=c[n+12+8>>2];b=0;while(1){if((b|0)==3)break;c[n+12+(b<<2)>>2]=0;b=b+1|0}Mqb(n+12|0);si[c[(c[e>>2]|0)+24>>2]&511](n,e);if(!(a[k>>0]&1))a[k>>0]=0;else c[c[k+8>>2]>>2]=0;c[k+4>>2]=0;mrb(k,0);c[k>>2]=c[n>>2];c[k+4>>2]=c[n+4>>2];c[k+8>>2]=c[n+8>>2];b=0;while(1){if((b|0)==3)break;c[n+(b<<2)>>2]=0;b=b+1|0}jrb(n);b=vi[c[(c[e>>2]|0)+36>>2]&2047](e)|0}c[m>>2]=b;i=n;return}function uxb(b,d,e,f,g,h,i,j,k,l,m,n,o,p,q){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;p=p|0;q=q|0;var r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;c[e>>2]=b;z=0;while(1){if((z|0)==4)break;a:do switch(a[k+z>>0]|0){case 0:{c[d>>2]=c[e>>2];break}case 1:{c[d>>2]=c[e>>2];x=Xi[c[(c[i>>2]|0)+44>>2]&511](i,32)|0;y=c[e>>2]|0;c[e>>2]=y+4;c[y>>2]=x;break}case 3:{r=a[p>>0]|0;if(((r&1)==0?(r&255)>>>1:c[p+4>>2]|0)|0){x=c[((r&1)==0?p+4|0:c[p+8>>2]|0)>>2]|0;y=c[e>>2]|0;c[e>>2]=y+4;c[y>>2]=x}break}case 2:{r=a[o>>0]|0;v=(r&1)==0?(r&255)>>>1:c[o+4>>2]|0;if(!((f&512|0)==0|(v|0)==0)){s=(r&1)==0?o+4|0:c[o+8>>2]|0;t=c[e>>2]|0;r=t;u=s;while(1){if((u|0)==(s+(v<<2)|0))break;c[r>>2]=c[u>>2];r=r+4|0;u=u+4|0}c[e>>2]=t+(v<<2)}break}case 4:{s=c[e>>2]|0;g=j?g+4|0:g;r=g;while(1){if(r>>>0>=h>>>0)break;if(!(Gi[c[(c[i>>2]|0)+12>>2]&255](i,2048,c[r>>2]|0)|0))break;r=r+4|0}if((q|0)>0){u=q;while(1){t=(u|0)>0;if(!(r>>>0>g>>>0&t))break;y=r+-4|0;w=c[y>>2]|0;x=c[e>>2]|0;c[e>>2]=x+4;c[x>>2]=w;r=y;u=u+-1|0}if(t)w=Xi[c[(c[i>>2]|0)+44>>2]&511](i,48)|0;else w=0;t=c[e>>2]|0;while(1){v=t+4|0;if((u|0)<=0)break;c[t>>2]=w;t=v;u=u+-1|0}c[e>>2]=v;c[t>>2]=l}if((r|0)==(g|0)){y=Xi[c[(c[i>>2]|0)+44>>2]&511](i,48)|0;r=c[e>>2]|0;c[e>>2]=r+4;c[r>>2]=y;r=r+4|0}else{t=a[n>>0]|0;y=c[n+4>>2]|0;if(!(((t&1)==0?(t&255)>>>1:y)|0)){w=-1;v=0;x=0}else{w=a[((t&1)==0?n+1|0:c[n+8>>2]|0)>>0]|0;v=0;x=0}while(1){if((r|0)==(g|0))break;u=c[e>>2]|0;if((x|0)==(w|0)){c[e>>2]=u+4;c[u>>2]=m;v=v+1|0;t=a[n>>0]|0;if(v>>>0<((t&1)==0?(t&255)>>>1:y)>>>0){w=a[((t&1)==0?n+1|0:c[n+8>>2]|0)+v>>0]|0;u=u+4|0;w=w<<24>>24==127?-1:w<<24>>24;t=0}else{u=u+4|0;w=x;t=0}}else t=x;x=r+-4|0;A=c[x>>2]|0;c[e>>2]=u+4;c[u>>2]=A;r=x;x=t+1|0}r=c[e>>2]|0}if((s|0)!=(r|0))while(1){r=r+-4|0;if(s>>>0>=r>>>0)break a;A=c[s>>2]|0;c[s>>2]=c[r>>2];c[r>>2]=A;s=s+4|0}break}default:{}}while(0);z=z+1|0}g=a[p>>0]|0;u=(g&1)==0?(g&255)>>>1:c[p+4>>2]|0;if(u>>>0>1){r=(g&1)==0?p+4|0:c[p+8>>2]|0;s=c[e>>2]|0;g=s;t=r+4|0;while(1){if((t|0)==(r+(u<<2)|0))break;c[g>>2]=c[t>>2];g=g+4|0;t=t+4|0}c[e>>2]=s+((r+(u<<2)-(r+4)|0)>>>2<<2)}switch(f&176|0){case 32:{c[d>>2]=c[e>>2];break}case 16:break;default:c[d>>2]=b}return}function vxb(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;q=i;i=i+480|0;b=ssb(f)|0;c[q+464>>2]=b;n=Usb(q+464|0,1203628)|0;j=a[h>>0]|0;if(!(((j&1)==0?(j&255)>>>1:c[h+4>>2]|0)|0))m=0;else{m=c[((j&1)==0?h+4|0:c[h+8>>2]|0)>>2]|0;m=(m|0)==(Xi[c[(c[n>>2]|0)+44>>2]&511](n,45)|0)}j=0;while(1){if((j|0)==3)break;c[q+444+(j<<2)>>2]=0;j=j+1|0}j=0;while(1){if((j|0)==3)break;c[q+432+(j<<2)>>2]=0;j=j+1|0}j=0;while(1){if((j|0)==3)break;c[q+420+(j<<2)>>2]=0;j=j+1|0}txb(e,m,q+464|0,q+472|0,q+460|0,q+456|0,q+444|0,q+432|0,q+420|0,q+416|0);e=a[h>>0]|0;k=c[h+4>>2]|0;j=(e&1)==0?(e&255)>>>1:k;l=c[q+416>>2]|0;if((j|0)>(l|0)){s=a[q+420>>0]|0;r=a[q+432>>0]|0;j=(j-l<<1|1)+l+((s&1)==0?(s&255)>>>1:c[q+420+4>>2]|0)+((r&1)==0?(r&255)>>>1:c[q+432+4>>2]|0)|0}else{s=a[q+420>>0]|0;j=a[q+432>>0]|0;j=l+2+((s&1)==0?(s&255)>>>1:c[q+420+4>>2]|0)+((j&1)==0?(j&255)>>>1:c[q+432+4>>2]|0)|0}if(j>>>0>100){j=Vpb(j<<2)|0;if(!j)eBb();else{p=j;o=j}}else{p=0;o=q+16|0}s=(e&1)==0?h+4|0:c[h+8>>2]|0;uxb(o,q+8|0,q+4|0,c[f+4>>2]|0,s,s+(((e&1)==0?(e&255)>>>1:k)<<2)|0,n,m,q+472|0,c[q+460>>2]|0,c[q+456>>2]|0,q+444|0,q+432|0,q+420|0,l);c[q>>2]=c[d>>2];s=c[q+8>>2]|0;j=c[q+4>>2]|0;c[q+468>>2]=c[q>>2];j=Bub(q+468|0,o,s,j,f,g)|0;if(p){Wpb(p);b=c[q+464>>2]|0}jrb(q+420|0);jrb(q+432|0);Mqb(q+444|0);eAb(b)|0;i=q;return j|0}function wxb(a){a=a|0;return}function xxb(a){a=a|0;oAb(a);return}function yxb(b,d,e){b=b|0;d=d|0;e=e|0;b=pnb((a[d>>0]&1)==0?d+1|0:c[d+8>>2]|0,1)|0;return b>>>((b|0)!=(-1|0)&1)|0}function zxb(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0;j=i;i=i+16|0;d=0;while(1){if((d|0)==3)break;c[j+(d<<2)>>2]=0;d=d+1|0}k=a[h>>0]|0;d=(k&1)==0?h+1|0:c[h+8>>2]|0;h=d+((k&1)==0?(k&255)>>>1:c[h+4>>2]|0)|0;while(1){if(d>>>0>=h>>>0)break;Xqb(j,a[d>>0]|0);d=d+1|0}d=onb((e|0)==-1?-1:e<<1,f,g,(a[j>>0]&1)==0?j+1|0:c[j+8>>2]|0)|0;h=0;while(1){if((h|0)==3)break;c[b+(h<<2)>>2]=0;h=h+1|0}h=d+(rnb(d)|0)|0;while(1){if(d>>>0>=h>>>0)break;Xqb(b,a[d>>0]|0);d=d+1|0}Mqb(j);i=j;return}function Axb(a,b){a=a|0;b=b|0;return}function Bxb(a){a=a|0;return}function Cxb(a){a=a|0;oAb(a);return}function Dxb(b,d,e){b=b|0;d=d|0;e=e|0;b=pnb((a[d>>0]&1)==0?d+1|0:c[d+8>>2]|0,1)|0;return b>>>((b|0)!=(-1|0)&1)|0}function Exb(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0;l=i;i=i+176|0;d=0;while(1){if((d|0)==3)break;c[l+(d<<2)>>2]=0;d=d+1|0}c[l+24+4>>2]=0;c[l+24>>2]=155516;k=a[h>>0]|0;d=(k&1)==0?h+4|0:c[h+8>>2]|0;k=d+(((k&1)==0?(k&255)>>>1:c[h+4>>2]|0)<<2)|0;h=d;d=0;while(1){if(!((d|0)!=2&h>>>0>>0))break;c[l+32>>2]=h;j=hj[c[(c[l+24>>2]|0)+12>>2]&31](l+24|0,l+168|0,h,k,l+32|0,l+40|0,l+40+32|0,l+36|0)|0;d=l+40|0;while(1){if(d>>>0>=(c[l+36>>2]|0)>>>0)break;Xqb(l,a[d>>0]|0);d=d+1|0}h=c[l+32>>2]|0;d=j}h=onb((e|0)==-1?-1:e<<1,f,g,(a[l>>0]&1)==0?l+1|0:c[l+8>>2]|0)|0;d=0;while(1){if((d|0)==3)break;c[b+(d<<2)>>2]=0;d=d+1|0}c[l+16+4>>2]=0;c[l+16>>2]=155564;k=h+(rnb(h)|0)|0;d=0;while(1){if(!((d|0)!=2&h>>>0>>0))break;c[l+32>>2]=h;j=hj[c[(c[l+16>>2]|0)+16>>2]&31](l+16|0,l+168|0,h,(k-h|0)>32?h+32|0:k,l+32|0,l+40|0,l+40+128|0,l+36|0)|0;d=l+40|0;while(1){if(d>>>0>=(c[l+36>>2]|0)>>>0)break;prb(b,c[d>>2]|0);d=d+4|0}h=c[l+32>>2]|0;d=j}Mqb(l);i=l;return}function Fxb(a){a=a|0;return}function Gxb(a){a=a|0;oAb(a);return}function Hxb(a,b,d,e,f,g,h,j){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;a=i;i=i+16|0;c[a+4>>2]=d;c[a>>2]=g;h=Ixb(d,e,a+4|0,g,h,a,1114111,0)|0;c[f>>2]=c[a+4>>2];c[j>>2]=c[a>>2];i=a;return h|0}function Ixb(b,d,e,f,g,h,i,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0;c[e>>2]=b;c[h>>2]=f;if(!(j&2))k=4;else if((g-f|0)<3)b=1;else{c[h>>2]=f+1;a[f>>0]=-17;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=-69;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=-65;k=4}a:do if((k|0)==4){b=c[e>>2]|0;while(1){if(b>>>0>=d>>>0){b=0;break a}j=c[b>>2]|0;if(j>>>0>i>>>0|(j&-2048|0)==55296){b=2;break a}do if(j>>>0<128){b=c[h>>2]|0;if((g-b|0)<1){b=1;break a}c[h>>2]=b+1;a[b>>0]=j}else{if(j>>>0<2048){b=c[h>>2]|0;if((g-b|0)<2){b=1;break a}c[h>>2]=b+1;a[b>>0]=j>>>6|192;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=j&63|128;break}b=c[h>>2]|0;if(j>>>0<65536){if((g-b|0)<3){b=1;break a}c[h>>2]=b+1;a[b>>0]=j>>>12|224;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=j>>>6&63|128;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=j&63|128;break}else{if((g-b|0)<4){b=1;break a}c[h>>2]=b+1;a[b>>0]=j>>>18|240;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=j>>>12&63|128;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=j>>>6&63|128;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=j&63|128;break}}while(0);b=(c[e>>2]|0)+4|0;c[e>>2]=b}}while(0);return b|0}function Jxb(a,b,d,e,f,g,h,j){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;a=i;i=i+16|0;c[a+4>>2]=d;c[a>>2]=g;h=Kxb(d,e,a+4|0,g,h,a,1114111,0)|0;c[f>>2]=c[a+4>>2];c[j>>2]=c[a>>2];i=a;return h|0}function Kxb(b,e,f,g,h,i,j,k){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0;c[f>>2]=b;c[i>>2]=g;if(!(k&4))l=e;else{b=c[f>>2]|0;if((e-b|0)>2)if((a[b>>0]|0)==-17)if((a[b+1>>0]|0)==-69)if((a[b+2>>0]|0)==-65){c[f>>2]=b+3;l=e}else l=e;else l=e;else l=e;else l=e}a:while(1){m=c[f>>2]|0;if(m>>>0>=e>>>0){b=m>>>0>>0;p=40;break}n=c[i>>2]|0;if(n>>>0>=h>>>0){b=m>>>0>>0;p=40;break}o=a[m>>0]|0;do if(o<<24>>24>-1){if((o&255)>>>0>j>>>0){b=2;break a}c[n>>2]=o&255;c[f>>2]=m+1}else{if((o&255)<194){b=2;break a}if((o&255)<224){if((l-m|0)<2){b=1;break a}b=d[m+1>>0]|0;if((b&192|0)!=128){b=2;break a}if((b&63|(o&255)<<6&1984)>>>0>j>>>0){b=2;break a}c[n>>2]=b&63|(o&255)<<6&1984;c[f>>2]=m+2;break}if((o&255)<240){if((l-m|0)<3){b=1;break a}b=a[m+1>>0]|0;k=a[m+2>>0]|0;switch(o&255|0){case 224:{if((b&-32)<<24>>24!=-96){b=2;break a}break}case 237:{if((b&-32)<<24>>24!=-128){b=2;break a}break}default:if((b&-64)<<24>>24!=-128){b=2;break a}}if((k&192|0)!=128){b=2;break a}if(((b&255)<<6&4032|(o&255)<<12&61440|k&63)>>>0>j>>>0){b=2;break a}c[n>>2]=(b&255)<<6&4032|(o&255)<<12&61440|k&63;c[f>>2]=m+3;break}if((o&255)>=245){b=2;break a}if((l-m|0)<4){b=1;break a}b=a[m+1>>0]|0;k=a[m+2>>0]|0;g=a[m+3>>0]|0;switch(o&255|0){case 240:{if((b+112&255)>=48){b=2;break a}break}case 244:{if((b&-16)<<24>>24!=-128){b=2;break a}break}default:if((b&-64)<<24>>24!=-128){b=2;break a}}if((k&192|0)!=128){b=2;break a}if((g&192|0)!=128){b=2;break a}if(((b&255)<<12&258048|(o&255)<<18&1835008|(k&255)<<6&4032|g&63)>>>0>j>>>0){b=2;break a}c[n>>2]=(b&255)<<12&258048|(o&255)<<18&1835008|(k&255)<<6&4032|g&63;c[f>>2]=m+4}while(0);c[i>>2]=(c[i>>2]|0)+4}if((p|0)==40)b=b&1;return b|0}function Lxb(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;c[f>>2]=d;return 3}function Mxb(a){a=a|0;return 0}function Nxb(a){a=a|0;return 0}function Oxb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Pxb(c,d,e,1114111,0)|0}function Pxb(b,c,e,f,g){b=b|0;c=c|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0;if(!(g&4)){g=b;m=0}else if((c-b|0)>2)if((a[b>>0]|0)==-17)if((a[b+1>>0]|0)==-69){g=(a[b+2>>0]|0)==-65?b+3|0:b;m=0}else{g=b;m=0}else{g=b;m=0}else{g=b;m=0}a:while(1){if(!(m>>>0>>0&g>>>0>>0)){h=40;break}l=a[g>>0]|0;do if(l<<24>>24>-1){if((l&255)>>>0>f>>>0){h=40;break a}g=g+1|0}else{if((l&255)<194){h=40;break a}if((l&255)<224){if((c-g|0)<2){h=40;break a}h=d[g+1>>0]|0;if((h&192|0)!=128){h=40;break a}if((h&63|(l&255)<<6&1984)>>>0>f>>>0){h=40;break a}g=g+2|0;break}if((l&255)<240){j=g;if((c-j|0)<3){h=40;break a}h=a[g+1>>0]|0;i=a[g+2>>0]|0;switch(l&255|0){case 224:{if((h&-32)<<24>>24!=-96){h=20;break a}break}case 237:{if((h&-32)<<24>>24!=-128){h=22;break a}break}default:if((h&-64)<<24>>24!=-128){h=24;break a}}if((i&192|0)!=128){h=40;break a}if(((h&255)<<6&4032|(l&255)<<12&61440|i&63)>>>0>f>>>0){h=40;break a}else{g=g+3|0;break}}if((l&255)>=245){h=40;break a}k=g;if((c-k|0)<4){h=40;break a}h=a[g+1>>0]|0;i=a[g+2>>0]|0;j=a[g+3>>0]|0;switch(l&255|0){case 240:{if((h+112&255)>=48){h=31;break a}break}case 244:{if((h&-16)<<24>>24!=-128){h=33;break a}break}default:if((h&-64)<<24>>24!=-128){h=35;break a}}if((i&192|0)!=128){h=40;break a}if((j&192|0)!=128){h=40;break a}if(((h&255)<<12&258048|(l&255)<<18&1835008|(i&255)<<6&4032|j&63)>>>0>f>>>0){h=40;break a}else g=g+4|0}while(0);m=m+1|0}if((h|0)==20)g=j-b|0;else if((h|0)==22)g=j-b|0;else if((h|0)==24)g=j-b|0;else if((h|0)==31)g=k-b|0;else if((h|0)==33)g=k-b|0;else if((h|0)==35)g=k-b|0;else if((h|0)==40)g=g-b|0;return g|0}function Qxb(a){a=a|0;return 4}function Rxb(a){a=a|0;oAb(a);return}function Sxb(a,b){a=a|0;b=b|0;return}function Txb(a,b,d,e,f,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;c[f>>2]=d;c[i>>2]=g;return 3}function Uxb(a,b,d,e,f,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;c[f>>2]=d;c[i>>2]=g;return 3}function Vxb(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;c[f>>2]=d;return 3}function Wxb(a){a=a|0;return 1}function Xxb(a){a=a|0;return 1}function Yxb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ((d-c|0)>>>0>>0?d-c|0:e)|0}function Zxb(a){a=a|0;return 1}function _xb(a){a=a|0;var b=0;c[a>>2]=155612;b=c[a+8>>2]|0;if((b|0)!=(ctb()|0))qnb(c[a+8>>2]|0);return}function $xb(a){a=a|0;_xb(a);oAb(a);return}function ayb(b,d,e,f,g,h,j,k){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0;o=i;i=i+16|0;l=e;while(1){if((l|0)==(f|0)){l=f;break}if(!(c[l>>2]|0))break;l=l+4|0}c[k>>2]=h;c[g>>2]=e;a:while(1){if((h|0)==(j|0)|(e|0)==(f|0)){l=35;break}m=c[d+4>>2]|0;c[o>>2]=c[d>>2];c[o+4>>2]=m;m=Dnb(c[b+8>>2]|0)|0;n=Dob(h,g,l-e>>2,j-h|0,d)|0;if(m|0)Dnb(m)|0;switch(n|0){case -1:{l=10;break a}case 0:{e=1;l=32;break a}default:{}}h=(c[k>>2]|0)+n|0;c[k>>2]=h;if((h|0)==(j|0)){l=33;break}if((l|0)==(f|0)){e=c[g>>2]|0;l=f}else{e=Dnb(c[b+8>>2]|0)|0;h=Emb(o+8|0,0,d)|0;if(e|0)Dnb(e)|0;if((h|0)==-1){e=2;l=31;break}if(h>>>0>(j-(c[k>>2]|0)|0)>>>0){e=1;l=31;break}else e=o+8|0;while(1){if(!h)break;m=a[e>>0]|0;n=c[k>>2]|0;c[k>>2]=n+1;a[n>>0]=m;h=h+-1|0;e=e+1|0}e=(c[g>>2]|0)+4|0;c[g>>2]=e;h=e;while(1){if((h|0)==(f|0)){l=f;break}if(!(c[h>>2]|0)){l=h;break}h=h+4|0}h=c[k>>2]|0}}if((l|0)==10){c[k>>2]=h;while(1){if((e|0)==(c[g>>2]|0))break;f=c[e>>2]|0;l=Dnb(c[b+8>>2]|0)|0;h=Emb(h,f,o)|0;if(l|0)Dnb(l)|0;if((h|0)==-1)break;h=(c[k>>2]|0)+h|0;c[k>>2]=h;e=e+4|0}c[g>>2]=e;e=2;l=32}else if((l|0)==31)l=32;else if((l|0)==33){e=c[g>>2]|0;l=35}if((l|0)!=32)if((l|0)==35)e=(e|0)!=(f|0)&1;i=o;return e|0}function byb(b,d,e,f,g,h,j,k){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0;p=i;i=i+16|0;l=e;while(1){if((l|0)==(f|0)){l=f;break}if(!(a[l>>0]|0))break;l=l+1|0}c[k>>2]=h;c[g>>2]=e;a:while(1){if((h|0)==(j|0)|(e|0)==(f|0)){h=34;break}o=c[d+4>>2]|0;c[p>>2]=c[d>>2];c[p+4>>2]=o;o=l;m=Dnb(c[b+8>>2]|0)|0;n=Bob(h,g,o-e|0,j-h>>2,d)|0;if(m|0)Dnb(m)|0;switch(n|0){case -1:{l=h;h=10;break a}case 0:{e=2;h=30;break a}default:{}}h=(c[k>>2]|0)+(n<<2)|0;c[k>>2]=h;if((h|0)==(j|0)){h=31;break}e=c[g>>2]|0;if((l|0)==(f|0))l=f;else{l=Dnb(c[b+8>>2]|0)|0;e=snb(h,e,1,d)|0;if(l|0)Dnb(l)|0;if(e|0){e=2;h=30;break}c[k>>2]=(c[k>>2]|0)+4;e=(c[g>>2]|0)+1|0;c[g>>2]=e;l=e;while(1){if((l|0)==(f|0)){l=f;break}if(!(a[l>>0]|0))break;l=l+1|0}h=c[k>>2]|0}}do if((h|0)==10){b:while(1){c[k>>2]=l;if((e|0)==(c[g>>2]|0)){h=20;break}h=Dnb(c[b+8>>2]|0)|0;l=snb(l,e,o-e|0,p)|0;if(h|0)Dnb(h)|0;switch(l|0){case -1:{h=16;break b}case -2:{h=17;break b}case 0:{e=e+1|0;break}default:e=e+l|0}l=(c[k>>2]|0)+4|0}if((h|0)==16){c[g>>2]=e;e=2;h=30;break}else if((h|0)==17){c[g>>2]=e;e=1;h=30;break}else if((h|0)==20){c[g>>2]=e;e=(e|0)!=(f|0)&1;h=30;break}}else if((h|0)==31){e=c[g>>2]|0;h=34}while(0);if((h|0)!=30)if((h|0)==34)e=(e|0)!=(f|0)&1;i=p;return e|0}function cyb(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;c[g>>2]=e;e=Dnb(c[b+8>>2]|0)|0;b=Emb(h,0,d)|0;if(e|0)Dnb(e)|0;a:do switch(b|0){case 0:case -1:{b=2;break}default:if((b+-1|0)>>>0>(f-(c[g>>2]|0)|0)>>>0)b=1;else{b=b+-1|0;e=h;while(1){if(!b){b=0;break a}d=a[e>>0]|0;f=c[g>>2]|0;c[g>>2]=f+1;a[f>>0]=d;b=b+-1|0;e=e+1|0}}}while(0);i=h;return b|0}function dyb(a){a=a|0;var b=0,d=0;b=Dnb(c[a+8>>2]|0)|0;d=Snb(0,0,4)|0;if(b|0)Dnb(b)|0;if(!d){b=c[a+8>>2]|0;if(!b)b=1;else{b=Dnb(b)|0;if(!b)b=0;else{Dnb(b)|0;b=0}}}else b=-1;return b|0}function eyb(a){a=a|0;return 0}function fyb(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;g=d;d=0;j=0;a:while(1){if((g|0)==(e|0)|j>>>0>=f>>>0)break;i=Dnb(c[a+8>>2]|0)|0;h=Aob(g,e-g|0,b)|0;if(i|0)Dnb(i)|0;switch(h|0){case -2:case -1:break a;case 0:{g=g+1|0;h=1;break}default:g=g+h|0}d=h+d|0;j=j+1|0}return d|0}function gyb(a){a=a|0;a=c[a+8>>2]|0;if(!a)a=1;else{a=Dnb(a)|0;if(!a)a=4;else{Dnb(a)|0;a=4}}return a|0}function hyb(a,b,d,e,f,g,h,j){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;a=i;i=i+16|0;c[a+4>>2]=d;c[a>>2]=g;h=iyb(d,e,a+4|0,g,h,a,1114111,0)|0;c[f>>2]=c[a+4>>2];c[j>>2]=c[a>>2];i=a;return h|0}function iyb(d,f,g,h,i,j,k,l){d=d|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0;c[g>>2]=d;c[j>>2]=h;if(!(l&2))m=4;else if((i-h|0)<3)d=1;else{c[j>>2]=h+1;a[h>>0]=-17;m=c[j>>2]|0;c[j>>2]=m+1;a[m>>0]=-69;m=c[j>>2]|0;c[j>>2]=m+1;a[m>>0]=-65;m=4}a:do if((m|0)==4){d=c[g>>2]|0;while(1){if(d>>>0>=f>>>0){d=0;break a}h=b[d>>1]|0;if((h&65535)>>>0>k>>>0){d=2;break a}do if((h&65535)<128){d=c[j>>2]|0;if((i-d|0)<1){d=1;break a}c[j>>2]=d+1;a[d>>0]=h}else{if((h&65535)<2048){d=c[j>>2]|0;if((i-d|0)<2){d=1;break a}c[j>>2]=d+1;a[d>>0]=(h&65535)>>>6|192;m=c[j>>2]|0;c[j>>2]=m+1;a[m>>0]=h&63|128;break}if((h&65535)<55296){d=c[j>>2]|0;if((i-d|0)<3){d=1;break a}c[j>>2]=d+1;a[d>>0]=(h&65535)>>>12|224;m=c[j>>2]|0;c[j>>2]=m+1;a[m>>0]=(h&65535)>>>6&63|128;m=c[j>>2]|0;c[j>>2]=m+1;a[m>>0]=h&63|128;break}if((h&65535)>=56320){if((h&65535)<57344){d=2;break a}d=c[j>>2]|0;if((i-d|0)<3){d=1;break a}c[j>>2]=d+1;a[d>>0]=(h&65535)>>>12|224;m=c[j>>2]|0;c[j>>2]=m+1;a[m>>0]=(h&65535)>>>6&63|128;m=c[j>>2]|0;c[j>>2]=m+1;a[m>>0]=h&63|128;break}if((f-d|0)<4){d=1;break a}d=d+2|0;l=e[d>>1]|0;if((l&64512|0)!=56320){d=2;break a}if((i-(c[j>>2]|0)|0)<4){d=1;break a}if((((h&960)<<10)+65536|(h&65535)<<10&64512|l&1023)>>>0>k>>>0){d=2;break a}c[g>>2]=d;m=c[j>>2]|0;c[j>>2]=m+1;a[m>>0]=(((h&960)>>>6)+1|0)>>>2|240;m=c[j>>2]|0;c[j>>2]=m+1;a[m>>0]=(h&65535)>>>2&15|((h&960)>>>6)+1<<4&48|128;m=c[j>>2]|0;c[j>>2]=m+1;a[m>>0]=(h&65535)<<4&48|l>>>6&15|128;m=c[j>>2]|0;c[j>>2]=m+1;a[m>>0]=l&63|128}while(0);d=(c[g>>2]|0)+2|0;c[g>>2]=d}}while(0);return d|0}function jyb(a,b,d,e,f,g,h,j){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;a=i;i=i+16|0;c[a+4>>2]=d;c[a>>2]=g;h=kyb(d,e,a+4|0,g,h,a,1114111,0)|0;c[f>>2]=c[a+4>>2];c[j>>2]=c[a>>2];i=a;return h|0}function kyb(e,f,g,h,i,j,k,l){e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0;c[g>>2]=e;c[j>>2]=h;if(!(l&4))n=f;else{e=c[g>>2]|0;if((f-e|0)>2)if((a[e>>0]|0)==-17)if((a[e+1>>0]|0)==-69)if((a[e+2>>0]|0)==-65){c[g>>2]=e+3;n=f}else n=f;else n=f;else n=f;else n=f}a:while(1){m=c[g>>2]|0;if(m>>>0>=f>>>0){e=m>>>0>>0;q=41;break}o=c[j>>2]|0;if(o>>>0>=i>>>0){e=m>>>0>>0;q=41;break}p=a[m>>0]|0;if((p&255)>>>0>k>>>0){e=2;break}do if(p<<24>>24>-1){b[o>>1]=p&255;c[g>>2]=m+1}else{if((p&255)<194){e=2;break a}if((p&255)<224){if((n-m|0)<2){e=1;break a}e=d[m+1>>0]|0;if((e&192|0)!=128){e=2;break a}if((e&63|(p&255)<<6&1984)>>>0>k>>>0){e=2;break a}b[o>>1]=e&63|(p&255)<<6&1984;c[g>>2]=m+2;break}if((p&255)<240){if((n-m|0)<3){e=1;break a}e=a[m+1>>0]|0;l=a[m+2>>0]|0;switch(p&255|0){case 224:{if((e&-32)<<24>>24!=-96){e=2;break a}break}case 237:{if((e&-32)<<24>>24!=-128){e=2;break a}break}default:if((e&-64)<<24>>24!=-128){e=2;break a}}if((l&192|0)!=128){e=2;break a}if((((e&255)<<6&4032|(p&255)<<12|l&63)&65535)>>>0>k>>>0){e=2;break a}b[o>>1]=(e&255)<<6&4032|(p&255)<<12|l&63;c[g>>2]=m+3;break}if((p&255)>=245){e=2;break a}if((n-m|0)<4){e=1;break a}l=a[m+1>>0]|0;h=a[m+2>>0]|0;e=a[m+3>>0]|0;switch(p&255|0){case 240:{if((l+112&255)>=48){e=2;break a}break}case 244:{if((l&-16)<<24>>24!=-128){e=2;break a}break}default:if((l&-64)<<24>>24!=-128){e=2;break a}}if((h&192|0)!=128){e=2;break a}if((e&192|0)!=128){e=2;break a}if((i-o|0)<4){e=1;break a}if(((l&255)<<12&258048|(p&7)<<18|(h&255)<<6&4032|e&63)>>>0>k>>>0){e=2;break a}b[o>>1]=(l&255)<<2&60|(h&255)>>>4&3|(((l&255)>>>4&3|(p&7)<<2)<<6)+16320|55296;c[j>>2]=o+2;b[o+2>>1]=e&63|(h&255)<<6&960|56320;c[g>>2]=(c[g>>2]|0)+4}while(0);c[j>>2]=(c[j>>2]|0)+2}if((q|0)==41)e=e&1;return e|0}function lyb(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;c[f>>2]=d;return 3}function myb(a){a=a|0;return 0}function nyb(a){a=a|0;return 0}function oyb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return pyb(c,d,e,1114111,0)|0}function pyb(b,c,e,f,g){b=b|0;c=c|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0;if(!(g&4)){g=b;h=0}else if((c-b|0)>2)if((a[b>>0]|0)==-17)if((a[b+1>>0]|0)==-69){g=(a[b+2>>0]|0)==-65?b+3|0:b;h=0}else{g=b;h=0}else{g=b;h=0}else{g=b;h=0}a:while(1){if(!(h>>>0>>0&g>>>0>>0)){h=40;break}m=a[g>>0]|0;if((m&255)>>>0>f>>>0){h=40;break}do if(m<<24>>24>-1)g=g+1|0;else{if((m&255)<194){h=40;break a}if((m&255)<224){if((c-g|0)<2){h=40;break a}i=d[g+1>>0]|0;if((i&192|0)!=128){h=40;break a}if((i&63|(m&255)<<6&1984)>>>0>f>>>0){h=40;break a}else{g=g+2|0;break}}if((m&255)<240){k=g;if((c-k|0)<3){h=40;break a}i=a[g+1>>0]|0;j=a[g+2>>0]|0;switch(m&255|0){case 224:{if((i&-32)<<24>>24!=-96){h=19;break a}break}case 237:{if((i&-32)<<24>>24!=-128){h=21;break a}break}default:if((i&-64)<<24>>24!=-128){h=23;break a}}if((j&192|0)!=128){h=40;break a}if(((i&255)<<6&4032|(m&255)<<12&61440|j&63)>>>0>f>>>0){h=40;break a}else{g=g+3|0;break}}if((m&255)>=245){h=40;break a}l=g;if((e-h|0)>>>0<2|(c-l|0)<4){h=40;break a}i=a[g+1>>0]|0;j=a[g+2>>0]|0;k=a[g+3>>0]|0;switch(m&255|0){case 240:{if((i+112&255)>=48){h=30;break a}break}case 244:{if((i&-16)<<24>>24!=-128){h=32;break a}break}default:if((i&-64)<<24>>24!=-128){h=34;break a}}if((j&192|0)!=128){h=40;break a}if((k&192|0)!=128){h=40;break a}if(((i&255)<<12&258048|(m&255)<<18&1835008|(j&255)<<6&4032|k&63)>>>0>f>>>0){h=40;break a}g=g+4|0;h=h+1|0}while(0);h=h+1|0}if((h|0)==19)g=k-b|0;else if((h|0)==21)g=k-b|0;else if((h|0)==23)g=k-b|0;else if((h|0)==30)g=l-b|0;else if((h|0)==32)g=l-b|0;else if((h|0)==34)g=l-b|0;else if((h|0)==40)g=g-b|0;return g|0}function qyb(a){a=a|0;return 4}function ryb(a){a=a|0;var b=0,d=0;c[a>>2]=155660;d=0;while(1){b=c[a+8>>2]|0;if(d>>>0>=(c[a+12>>2]|0)-b>>2>>>0)break;b=c[b+(d<<2)>>2]|0;if(b|0)eAb(b)|0;d=d+1|0}Mqb(a+144|0);syb(a+8|0);return}function syb(b){b=b|0;var d=0,e=0,f=0;d=c[b>>2]|0;do if(d|0){e=c[b+4>>2]|0;while(1){if((e|0)==(d|0))break;f=e+-4|0;c[b+4>>2]=f;e=f}if((b+16|0)==(d|0)){a[b+128>>0]=0;break}else{oAb(d);break}}while(0);return}function tyb(a){a=a|0;ryb(a);oAb(a);return}function uyb(b){b=b|0;var d=0;c[b>>2]=155680;d=c[b+8>>2]|0;if(d|0)if(a[b+12>>0]|0)aBb(d);return}function vyb(a){a=a|0;uyb(a);oAb(a);return}function wyb(a,b){a=a|0;b=b|0;if(b<<24>>24>-1)b=c[(c[(Lmb()|0)>>2]|0)+((b&255)<<2)>>2]&255;return b|0}function xyb(b,d,e){b=b|0;d=d|0;e=e|0;b=d;while(1){if((b|0)==(e|0))break;d=a[b>>0]|0;if(d<<24>>24>-1)d=c[(c[(Lmb()|0)>>2]|0)+(d<<24>>24<<2)>>2]&255;a[b>>0]=d;b=b+1|0}return e|0}function yyb(a,b){a=a|0;b=b|0;if(b<<24>>24>-1)b=c[(c[(Kmb()|0)>>2]|0)+(b<<24>>24<<2)>>2]&255;return b|0}function zyb(b,d,e){b=b|0;d=d|0;e=e|0;b=d;while(1){if((b|0)==(e|0))break;d=a[b>>0]|0;if(d<<24>>24>-1)d=c[(c[(Kmb()|0)>>2]|0)+(d<<24>>24<<2)>>2]&255;a[b>>0]=d;b=b+1|0}return e|0}function Ayb(a,b){a=a|0;b=b|0;return b|0}function Byb(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;while(1){if((c|0)==(d|0))break;a[e>>0]=a[c>>0]|0;e=e+1|0;c=c+1|0}return d|0}function Cyb(a,b,c){a=a|0;b=b|0;c=c|0;return (b<<24>>24>-1?b:c)|0}function Dyb(b,c,d,e,f){b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;while(1){if((c|0)==(d|0))break;b=a[c>>0]|0;a[f>>0]=b<<24>>24>-1?b:e;f=f+1|0;c=c+1|0}return d|0}function Eyb(a){a=a|0;c[a>>2]=155732;Mqb(a+12|0);return}function Fyb(a){a=a|0;Eyb(a);oAb(a);return}function Gyb(b){b=b|0;return a[b+8>>0]|0}function Hyb(b){b=b|0;return a[b+9>>0]|0}function Iyb(a,b){a=a|0;b=b|0;Hqb(a,b+12|0);return}function Jyb(a,b){a=a|0;b=b|0;Iqb(a,619689,4);return}function Kyb(a,b){a=a|0;b=b|0;Iqb(a,619694,5);return}function Lyb(a){a=a|0;c[a>>2]=155772;Mqb(a+16|0);return}function Myb(a){a=a|0;Lyb(a);oAb(a);return}function Nyb(a){a=a|0;return c[a+8>>2]|0}function Oyb(a){a=a|0;return c[a+12>>2]|0}function Pyb(a,b){a=a|0;b=b|0;Hqb(a,b+16|0);return}function Qyb(a,b){a=a|0;b=b|0;grb(a,155804,Smb(155804)|0);return}function Ryb(a,b){a=a|0;b=b|0;grb(a,155824,Smb(155824)|0);return}function Syb(a){a=a|0;oAb(a);return}function Tyb(a){a=a|0;oAb(a);return}function Uyb(a,d,e){a=a|0;d=d|0;e=e|0;if(e>>>0<128)e=(b[(c[(Jmb()|0)>>2]|0)+(e<<1)>>1]&d)<<16>>16!=0;else e=0;return e|0}function Vyb(a,d,f,g){a=a|0;d=d|0;f=f|0;g=g|0;var h=0;h=d;while(1){if((h|0)==(f|0))break;a=c[h>>2]|0;if(a>>>0<128)a=e[(c[(Jmb()|0)>>2]|0)+(a<<1)>>1]|0;else a=0;b[g>>1]=a;g=g+2|0;h=h+4|0}return d+((f-d|0)>>>2<<2)|0}function Wyb(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;while(1){if((e|0)==(f|0)){e=f;break}a=c[e>>2]|0;if(a>>>0<128)if((b[(c[(Jmb()|0)>>2]|0)+(a<<1)>>1]&d)<<16>>16)break;e=e+4|0}return e|0}function Xyb(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;while(1){if((e|0)==(f|0)){e=f;break}a=c[e>>2]|0;if(a>>>0>=128)break;if(!((b[(c[(Jmb()|0)>>2]|0)+(a<<1)>>1]&d)<<16>>16))break;e=e+4|0}return e|0}function Yyb(a,b){a=a|0;b=b|0;if(b>>>0<128)b=c[(c[(Lmb()|0)>>2]|0)+(b<<2)>>2]|0;return b|0}function Zyb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=b;while(1){if((e|0)==(d|0))break;a=c[e>>2]|0;if(a>>>0<128)a=c[(c[(Lmb()|0)>>2]|0)+(a<<2)>>2]|0;c[e>>2]=a;e=e+4|0}return b+((d-b|0)>>>2<<2)|0}function _yb(a,b){a=a|0;b=b|0;if(b>>>0<128)b=c[(c[(Kmb()|0)>>2]|0)+(b<<2)>>2]|0;return b|0}function $yb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=b;while(1){if((e|0)==(d|0))break;a=c[e>>2]|0;if(a>>>0<128)a=c[(c[(Kmb()|0)>>2]|0)+(a<<2)>>2]|0;c[e>>2]=a;e=e+4|0}return b+((d-b|0)>>>2<<2)|0}function azb(a,b){a=a|0;b=b|0;return b<<24>>24|0}function bzb(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;while(1){if((d|0)==(e|0))break;c[f>>2]=a[d>>0];f=f+4|0;d=d+1|0}return e|0}function czb(a,b,c){a=a|0;b=b|0;c=c|0;return (b>>>0<128?b&255:c)|0}function dzb(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;b=d;while(1){if((b|0)==(e|0))break;h=c[b>>2]|0;a[g>>0]=h>>>0<128?h&255:f;g=g+1|0;b=b+4|0}return d+((e-d|0)>>>2<<2)|0}function ezb(a){a=a|0;oAb(a);return}function fzb(a){a=a|0;oAb(a);return}function gzb(a){a=a|0;oAb(a);return}function hzb(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;c[b+4>>2]=f+-1;c[b>>2]=155680;c[b+8>>2]=d;a[b+12>>0]=e&1;if(!d)c[b+8>>2]=c[(Jmb()|0)>>2];return}function izb(a){a=a|0;return}function jzb(a){a=a|0;ib(619721,619744,303,619829)}function kzb(a,b){a=a|0;b=b|0;var d=0,e=0;c[a+4>>2]=b+-1;c[a>>2]=155660;lzb(a+8|0,28);Iqb(a+144|0,617725,1);b=c[a+8>>2]|0;d=c[a+12>>2]|0;while(1){if((d|0)==(b|0))break;e=d+-4|0;c[a+12>>2]=e;d=e}c[155551]=0;c[155550]=153324;nzb(a,622200);c[155553]=0;c[155552]=153356;uzb(a,622208);hzb(622216,0,0,1);vzb(a,622216);c[155559]=0;c[155558]=155876;wzb(a,622232);c[155561]=0;c[155560]=155944;xzb(a,622240);c[155563]=0;c[155562]=155612;c[155564]=ctb()|0;yzb(a,622248);c[155567]=0;c[155566]=155992;zzb(a,622264);c[155569]=0;c[155568]=156040;Azb(a,622272);Bzb(622280,1);Czb(a,622280);Dzb(622304,1);Ezb(a,622304);c[155585]=0;c[155584]=153388;Fzb(a,622336);c[155587]=0;c[155586]=153452;Gzb(a,622344);c[155589]=0;c[155588]=153516;Hzb(a,622352);c[155591]=0;c[155590]=153568;Izb(a,622360);c[155593]=0;c[155592]=155116;Jzb(a,622368);c[155595]=0;c[155594]=155172;Kzb(a,622376);c[155597]=0;c[155596]=155228;Lzb(a,622384);c[155599]=0;c[155598]=155284;Mzb(a,622392);c[155601]=0;c[155600]=155340;Nzb(a,622400);c[155603]=0;c[155602]=155368;Ozb(a,622408);c[155605]=0;c[155604]=155396;Pzb(a,622416);c[155607]=0;c[155606]=155424;Qzb(a,622424);c[155609]=0;c[155608]=153620;c[155610]=153668;Rzb(a,622432);c[155613]=0;c[155612]=153704;c[155614]=153752;Szb(a,622448);c[155617]=0;c[155616]=155856;c[155618]=ctb()|0;c[155616]=155068;Tzb(a,622464);c[155621]=0;c[155620]=155856;c[155622]=ctb()|0;c[155620]=155092;Uzb(a,622480);c[155625]=0;c[155624]=155452;Vzb(a,622496);c[155627]=0;c[155626]=155484;Wzb(a,622504);return}function lzb(b,d){b=b|0;d=d|0;var e=0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;a[b+128>>0]=0;if(d|0){mzb(b,d);e=c[b+4>>2]|0;do{c[e>>2]=0;e=(c[b+4>>2]|0)+4|0;c[b+4>>2]=e;d=d+-1|0}while((d|0)!=0)}return}function mzb(b,d){b=b|0;d=d|0;var e=0;if(d>>>0>1073741823)jzb(b);if(d>>>0<29&(a[b+128>>0]|0)==0){a[b+128>>0]=1;e=b+16|0}else e=YAb(d<<2)|0;c[b+4>>2]=e;c[b>>2]=e;c[b+8>>2]=e+(d<<2);return}function nzb(a,b){a=a|0;b=b|0;ozb(a,b,Vsb(1203580)|0);return}function ozb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;dAb(b);e=c[a+8>>2]|0;if((c[a+12>>2]|0)-e>>2>>>0>d>>>0)f=a+8|0;else{pzb(a+8|0,d+1|0);f=a+8|0;e=c[a+8>>2]|0}e=c[e+(d<<2)>>2]|0;if(e|0)eAb(e)|0;c[(c[f>>2]|0)+(d<<2)>>2]=b;return}function pzb(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=c[a+4>>2]|0;e=c[a>>2]|0;a:do if(d-e>>2>>>0>>0)qzb(a,b-(d-e>>2)|0);else if(d-e>>2>>>0>b>>>0)while(1){if((d|0)==(e+(b<<2)|0))break a;f=d+-4|0;c[a+4>>2]=f;d=f}while(0);return}function qzb(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=i;i=i+32|0;e=c[a+8>>2]|0;d=c[a+4>>2]|0;if(e-d>>2>>>0>>0){f=c[a>>2]|0;if(((d-f>>2)+b|0)>>>0>1073741823)jzb(a);if(e-f>>2>>>0<536870911)e=e-f>>1>>>0<((d-f>>2)+b|0)>>>0?(d-f>>2)+b|0:e-f>>1;else e=1073741823;rzb(g,e,d-f>>2,a+16|0);f=c[g+8>>2]|0;hBb(f|0,0,b<<2|0)|0;c[g+8>>2]=f+(b<<2);szb(a,g);tzb(g)}else do{c[d>>2]=0;d=(c[a+4>>2]|0)+4|0;c[a+4>>2]=d;b=b+-1|0}while((b|0)!=0);i=g;return}function rzb(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;c[b+12>>2]=0;c[b+16>>2]=f;do if(!d)f=0;else if(d>>>0<29&(a[f+112>>0]|0)==0){a[f+112>>0]=1;break}else{f=YAb(d<<2)|0;break}while(0);c[b>>2]=f;e=f+(e<<2)|0;c[b+8>>2]=e;c[b+4>>2]=e;c[b+12>>2]=f+(d<<2);return}function szb(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;e=c[a>>2]|0;d=(c[a+4>>2]|0)-e|0;f=(c[b+4>>2]|0)+(0-(d>>2)<<2)|0;c[b+4>>2]=f;mBb(f|0,e|0,d|0)|0;d=c[a>>2]|0;c[a>>2]=c[b+4>>2];c[b+4>>2]=d;d=c[a+4>>2]|0;c[a+4>>2]=c[b+8>>2];c[b+8>>2]=d;d=c[a+8>>2]|0;c[a+8>>2]=c[b+12>>2];c[b+12>>2]=d;c[b>>2]=c[b+4>>2];return}function tzb(b){b=b|0;var d=0,e=0,f=0;d=c[b+4>>2]|0;e=c[b+8>>2]|0;while(1){if((e|0)==(d|0))break;f=e+-4|0;c[b+8>>2]=f;e=f}e=c[b>>2]|0;do if(e|0){d=c[b+16>>2]|0;if((d|0)==(e|0)){a[d+112>>0]=0;break}else{oAb(e);break}}while(0);return}function uzb(a,b){a=a|0;b=b|0;ozb(a,b,Vsb(1203588)|0);return}function vzb(a,b){a=a|0;b=b|0;ozb(a,b,Vsb(1203596)|0);return}function wzb(a,b){a=a|0;b=b|0;ozb(a,b,Vsb(1203628)|0);return}function xzb(a,b){a=a|0;b=b|0;ozb(a,b,Vsb(1205388)|0);return}function yzb(a,b){a=a|0;b=b|0;ozb(a,b,Vsb(1205396)|0);return}function zzb(a,b){a=a|0;b=b|0;ozb(a,b,Vsb(1205404)|0);return}function Azb(a,b){a=a|0;b=b|0;ozb(a,b,Vsb(1205412)|0);return}function Bzb(b,d){b=b|0;d=d|0;c[b+4>>2]=d+-1;c[b>>2]=155732;a[b+8>>0]=46;a[b+9>>0]=44;d=0;while(1){if((d|0)==3)break;c[b+12+(d<<2)>>2]=0;d=d+1|0}return}function Czb(a,b){a=a|0;b=b|0;ozb(a,b,Vsb(1203608)|0);return}function Dzb(a,b){a=a|0;b=b|0;c[a+4>>2]=b+-1;c[a>>2]=155772;c[a+8>>2]=46;c[a+12>>2]=44;b=0;while(1){if((b|0)==3)break;c[a+16+(b<<2)>>2]=0;b=b+1|0}return}function Ezb(a,b){a=a|0;b=b|0;ozb(a,b,Vsb(1203636)|0);return}function Fzb(a,b){a=a|0;b=b|0;ozb(a,b,Vsb(1203620)|0);return}function Gzb(a,b){a=a|0;b=b|0;ozb(a,b,Vsb(1203644)|0);return}function Hzb(a,b){a=a|0;b=b|0;ozb(a,b,Vsb(1203652)|0);return}function Izb(a,b){a=a|0;b=b|0;ozb(a,b,Vsb(1203660)|0);return}function Jzb(a,b){a=a|0;b=b|0;ozb(a,b,Vsb(1205308)|0);return}function Kzb(a,b){a=a|0;b=b|0;ozb(a,b,Vsb(1205316)|0);return}function Lzb(a,b){a=a|0;b=b|0;ozb(a,b,Vsb(1205324)|0);return}function Mzb(a,b){a=a|0;b=b|0;ozb(a,b,Vsb(1205332)|0);return}function Nzb(a,b){a=a|0;b=b|0;ozb(a,b,Vsb(1205340)|0);return}function Ozb(a,b){a=a|0;b=b|0;ozb(a,b,Vsb(1205348)|0);return}function Pzb(a,b){a=a|0;b=b|0;ozb(a,b,Vsb(1205356)|0);return}function Qzb(a,b){a=a|0;b=b|0;ozb(a,b,Vsb(1205364)|0);return}function Rzb(a,b){a=a|0;b=b|0;ozb(a,b,Vsb(1204472)|0);return}function Szb(a,b){a=a|0;b=b|0;ozb(a,b,Vsb(1205284)|0);return}function Tzb(a,b){a=a|0;b=b|0;ozb(a,b,Vsb(1205292)|0);return}function Uzb(a,b){a=a|0;b=b|0;ozb(a,b,Vsb(1205300)|0);return}function Vzb(a,b){a=a|0;b=b|0;ozb(a,b,Vsb(1205372)|0);return}function Wzb(a,b){a=a|0;b=b|0;ozb(a,b,Vsb(1205380)|0);return}function Xzb(){if(!(a[622512]|0))if(se(622512)|0){Yzb()|0;c[301356]=1205420;fd(622512)}return c[301356]|0}function Yzb(){kzb(622520,1);c[301355]=622520;return 1205420}function Zzb(){var a=0;a=c[(Xzb()|0)>>2]|0;c[301357]=a;dAb(a);return 1205428}function _zb(){if(!(a[622680]|0))if(se(622680)|0){Zzb()|0;c[301358]=1205428;fd(622680)}return c[301358]|0}function $zb(a){a=a|0;var b=0;b=c[(_zb()|0)>>2]|0;c[a>>2]=b;dAb(b);return}function aAb(a,b){a=a|0;b=b|0;b=c[b>>2]|0;c[a>>2]=b;dAb(b);return}function bAb(a){a=a|0;eAb(c[a>>2]|0)|0;return}function cAb(a){a=a|0;return}function dAb(a){a=a|0;c[a+4>>2]=(c[a+4>>2]|0)+1;return}function eAb(a){a=a|0;var b=0;b=c[a+4>>2]|0;c[a+4>>2]=b+-1;if(!b){Hi[c[(c[a>>2]|0)+8>>2]&1023](a);a=1}else a=0;return a|0}function fAb(a,b,d){a=a|0;b=b|0;d=d|0;Tb(1205436)|0;while(1){if((c[a>>2]|0)!=1)break;Mf(1205464,1205436)|0}if(!(c[a>>2]|0)){c[a>>2]=1;ee(1205436)|0;Hi[d&1023](b);Tb(1205436)|0;c[a>>2]=-1;ee(1205436)|0;Ih(1205464)|0}else ee(1205436)|0;return}function gAb(){var a=0,b=0,d=0,e=0;e=i;i=i+48|0;a=hAb()|0;if(a|0){d=c[a>>2]|0;if(d|0){b=c[d+48>>2]|0;a=c[d+48+4>>2]|0;if(!((b&-256|0)==1126902528&(a|0)==1129074247)){c[e+24>>2]=620157;kAb(620252,e+24|0)}if((b|0)==1126902529&(a|0)==1129074247)a=c[d+44>>2]|0;else a=d+80|0;c[e+36>>2]=a;d=c[d>>2]|0;a=c[d+4>>2]|0;if(Gi[c[(c[2230]|0)+16>>2]&255](8920,d,e+36|0)|0){d=c[e+36>>2]|0;d=vi[c[(c[d>>2]|0)+8>>2]&2047](d)|0;c[e>>2]=620157;c[e+4>>2]=a;c[e+8>>2]=d;kAb(620166,e)}else{c[e+16>>2]=620157;c[e+16+4>>2]=a;kAb(620211,e+16|0)}}}kAb(620290,e+32|0)}function hAb(){var a=0,b=0;a=i;i=i+16|0;if(!(Mb(1205512,12)|0)){b=ac(c[301379]|0)|0;i=a;return b|0}else kAb(619978,a);return 0}function iAb(){var a=0;a=i;i=i+16|0;if(!(Nd(1205516,794)|0)){i=a;return}else kAb(619928,a)}function jAb(a){a=a|0;var b=0;b=i;i=i+16|0;Wpb(a);if(!(eg(c[301379]|0,0)|0)){i=b;return}else kAb(619875,b)}function kAb(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d>>2]=b;b=c[37151]|0;vmb(b,a,d)|0;npb(10,b)|0;Ph()}function lAb(a){a=a|0;return}function mAb(a){a=a|0;return}function nAb(a){a=a|0;oAb(a);return}function oAb(a){a=a|0;Wpb(a);return}function pAb(a){a=a|0;return}function qAb(a){a=a|0;return}function rAb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+64|0;if((a|0)==(b|0))b=1;else if(!b)b=0;else{b=sAb(b,8960,8928,0)|0;if(!b)b=0;else{e=g;f=e+56|0;do{c[e>>2]=0;e=e+4|0}while((e|0)<(f|0));c[g>>2]=b;c[g+8>>2]=a;c[g+12>>2]=-1;c[g+48>>2]=1;kj[c[(c[b>>2]|0)+28>>2]&127](b,g,c[d>>2]|0,1);if((c[g+24>>2]|0)==1){c[d>>2]=c[g+16>>2];b=1}else b=0}}i=g;return b|0}function sAb(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0;k=i;i=i+64|0;j=c[d>>2]|0;h=d+(c[j+-8>>2]|0)|0;j=c[j+-4>>2]|0;c[k>>2]=f;c[k+4>>2]=d;c[k+8>>2]=e;c[k+12>>2]=g;g=k+16|0;d=g+36|0;do{c[g>>2]=0;g=g+4|0}while((g|0)<(d|0));b[k+16+36>>1]=0;a[k+16+38>>0]=0;a:do if((j|0)==(f|0)){c[k+48>>2]=1;Ii[c[(c[f>>2]|0)+20>>2]&63](f,k,h,h,1,0);g=(c[k+24>>2]|0)==1?h:0}else{qi[c[(c[j>>2]|0)+24>>2]&15](j,k,h,1,0);switch(c[k+36>>2]|0){case 0:{g=((c[k+40>>2]|0)==1?(c[k+28>>2]|0)==1:0)&(c[k+32>>2]|0)==1?c[k+20>>2]|0:0;break a}case 1:break;default:{g=0;break a}}if((c[k+24>>2]|0)!=1)if(!(((c[k+40>>2]|0)==0?(c[k+28>>2]|0)==1:0)&(c[k+32>>2]|0)==1)){g=0;break}g=c[k+16>>2]|0}while(0);i=k;return g|0}function tAb(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;if((a|0)==(c[b+8>>2]|0))uAb(0,b,d,e,f);else{a=c[a+8>>2]|0;Ii[c[(c[a>>2]|0)+20>>2]&63](a,b,d,e,f,g)}return}function uAb(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;a[d+53>>0]=1;do if((c[d+4>>2]|0)==(f|0)){a[d+52>>0]=1;f=c[d+16>>2]|0;if(!f){c[d+16>>2]=e;c[d+24>>2]=g;c[d+36>>2]=1;if(!((g|0)==1?(c[d+48>>2]|0)==1:0))break;a[d+54>>0]=1;break}if((f|0)!=(e|0)){c[d+36>>2]=(c[d+36>>2]|0)+1;a[d+54>>0]=1;break}f=c[d+24>>2]|0;if((f|0)==2){c[d+24>>2]=g;f=g}if((f|0)==1?(c[d+48>>2]|0)==1:0)a[d+54>>0]=1}while(0);return}function vAb(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;do if((b|0)==(c[d+8>>2]|0)){if((c[d+4>>2]|0)==(e|0))if((c[d+28>>2]|0)!=1)c[d+28>>2]=f}else{if((b|0)!=(c[d>>2]|0)){b=c[b+8>>2]|0;qi[c[(c[b>>2]|0)+24>>2]&15](b,d,e,f,g);break}if((c[d+16>>2]|0)!=(e|0))if((c[d+20>>2]|0)!=(e|0)){c[d+32>>2]=f;if((c[d+44>>2]|0)==4)break;a[d+52>>0]=0;a[d+53>>0]=0;b=c[b+8>>2]|0;Ii[c[(c[b>>2]|0)+20>>2]&63](b,d,e,e,1,g);if(!(a[d+53>>0]|0)){f=0;b=13}else if(!(a[d+52>>0]|0)){f=1;b=13}else b=17;do if((b|0)==13){c[d+20>>2]=e;c[d+40>>2]=(c[d+40>>2]|0)+1;if((c[d+36>>2]|0)==1)if((c[d+24>>2]|0)==2){a[d+54>>0]=1;if(f){b=17;break}else{f=4;break}}if(f)b=17;else f=4}while(0);if((b|0)==17)f=3;c[d+44>>2]=f;break}if((f|0)==1)c[d+32>>2]=1}while(0);return}function wAb(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;if((a|0)==(c[b+8>>2]|0))xAb(0,b,d,e);else{a=c[a+8>>2]|0;kj[c[(c[a>>2]|0)+28>>2]&127](a,b,d,e)}return}function xAb(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;b=c[d+16>>2]|0;do if(!b){c[d+16>>2]=e;c[d+24>>2]=f;c[d+36>>2]=1}else{if((b|0)!=(e|0)){c[d+36>>2]=(c[d+36>>2]|0)+1;c[d+24>>2]=2;a[d+54>>0]=1;break}if((c[d+24>>2]|0)==2)c[d+24>>2]=f}while(0);return}function yAb(a){a=a|0;oAb(a);return}function zAb(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;if((a|0)==(c[b+8>>2]|0))uAb(0,b,d,e,f);return}function AAb(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;do if((b|0)==(c[d+8>>2]|0)){if((c[d+4>>2]|0)==(e|0))if((c[d+28>>2]|0)!=1)c[d+28>>2]=f}else if((b|0)==(c[d>>2]|0)){if((c[d+16>>2]|0)!=(e|0))if((c[d+20>>2]|0)!=(e|0)){c[d+32>>2]=f;c[d+20>>2]=e;c[d+40>>2]=(c[d+40>>2]|0)+1;if((c[d+36>>2]|0)==1)if((c[d+24>>2]|0)==2)a[d+54>>0]=1;c[d+44>>2]=4;break}if((f|0)==1)c[d+32>>2]=1}while(0);return}function BAb(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;if((a|0)==(c[b+8>>2]|0))xAb(0,b,d,e);return}function CAb(){var a=0,b=0;b=i;i=i+16|0;a=hAb()|0;if(a|0){a=c[a>>2]|0;if(a|0)if((c[a+48>>2]&-256|0)==1126902528?(c[a+48+4>>2]|0)==1129074247:0){gj[c[a+12>>2]&15]();kAb(620302,b)}}a=c[39020]|0;c[39020]=a+0;gj[a&15]();kAb(620302,b+8|0)}function DAb(a){a=a|0;return}function EAb(a){a=a|0;return}function FAb(a){a=a|0;oAb(a);return}function GAb(a){a=a|0;return 620355}function HAb(a){a=a|0;c[a>>2]=156192;IAb(a+4|0);return}function IAb(a){a=a|0;var b=0,d=0;d=(c[a>>2]|0)+-4|0;b=c[d>>2]|0;c[d>>2]=b+-1;if((b+-1|0)<0)oAb((c[a>>2]|0)+-12|0);return}function JAb(a){a=a|0;HAb(a);oAb(a);return}function KAb(a){a=a|0;return c[a+4>>2]|0}function LAb(a){a=a|0;HAb(a);oAb(a);return}function MAb(a){a=a|0;return}function NAb(a){a=a|0;oAb(a);return}function OAb(a){a=a|0;return 620418}function PAb(a){a=a|0;oAb(a);return}function QAb(d,e,f,g,h,i){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0;if((d|0)==(c[e+8>>2]|0))uAb(0,e,f,g,h);else{l=b[e+52>>1]|0;j=c[d+12>>2]|0;a[e+52>>0]=0;a[e+53>>0]=0;RAb(d+16|0,e,f,g,h,i);a:do if((j|0)>1){m=d+24|0;do{if(a[e+54>>0]|0)break a;k=b[e+52>>1]|0;if(!((k&255)<<24>>24)){if((k&65535)>=256)if(!(c[d+8>>2]&1))break a}else{if((c[e+24>>2]|0)==1)break a;if(!(c[d+8>>2]&2))break a}a[e+52>>0]=0;a[e+53>>0]=0;RAb(m,e,f,g,h,i);m=m+8|0}while(m>>>0<(d+16+(j<<3)|0)>>>0)}while(0);a[e+52>>0]=l;a[e+53>>0]=(l&65535)>>>8}return}function RAb(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;h=c[a+4>>2]|0;if(!(h&1))i=h>>8;else i=c[(c[e>>2]|0)+(h>>8)>>2]|0;a=c[a>>2]|0;Ii[c[(c[a>>2]|0)+20>>2]&63](a,b,d,e+i|0,h&2|0?f:2,g);return}function SAb(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0;a:do if((b|0)==(c[d+8>>2]|0)){if((c[d+4>>2]|0)==(e|0))if((c[d+28>>2]|0)!=1)c[d+28>>2]=f}else{if((b|0)!=(c[d>>2]|0)){i=c[b+12>>2]|0;TAb(b+16|0,d,e,f,g);if((i|0)<=1)break;h=c[b+8>>2]|0;if(!(h&2))if((c[d+36>>2]|0)!=1){if(!(h&1)){h=b+24|0;while(1){if(a[d+54>>0]|0)break a;if((c[d+36>>2]|0)==1)break a;TAb(h,d,e,f,g);h=h+8|0;if(h>>>0>=(b+16+(i<<3)|0)>>>0)break a}}h=b+24|0;while(1){if(a[d+54>>0]|0)break a;if((c[d+36>>2]|0)==1)if((c[d+24>>2]|0)==1)break a;TAb(h,d,e,f,g);h=h+8|0;if(h>>>0>=(b+16+(i<<3)|0)>>>0)break a}}h=b+24|0;while(1){if(a[d+54>>0]|0)break a;TAb(h,d,e,f,g);h=h+8|0;if(h>>>0>=(b+16+(i<<3)|0)>>>0)break a}}if((c[d+16>>2]|0)!=(e|0))if((c[d+20>>2]|0)!=(e|0)){c[d+32>>2]=f;if((c[d+44>>2]|0)==4)break;f=b+16+(c[b+12>>2]<<3)|0;i=0;h=0;j=b+16|0;b:while(1){if(j>>>0>=f>>>0){f=20;break}a[d+52>>0]=0;a[d+53>>0]=0;RAb(j,d,e,e,1,g);if(a[d+54>>0]|0){f=20;break}do if(a[d+53>>0]|0){if(!(a[d+52>>0]|0))if(!(c[b+8>>2]&1)){h=1;f=20;break b}else{h=1;break}if((c[d+24>>2]|0)==1){f=25;break b}if(!(c[b+8>>2]&2)){f=25;break b}else{i=1;h=1}}while(0);j=j+8|0}do if((f|0)==20){if(!i){c[d+20>>2]=e;c[d+40>>2]=(c[d+40>>2]|0)+1;if((c[d+36>>2]|0)==1)if((c[d+24>>2]|0)==2){a[d+54>>0]=1;if(h){f=25;break}else{h=4;break}}}if(h)f=25;else h=4}while(0);if((f|0)==25)h=3;c[d+44>>2]=h;break}if((f|0)==1)c[d+32>>2]=1}while(0);return}function TAb(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=c[a+4>>2]|0;if(!(g&1))h=g>>8;else h=c[(c[d>>2]|0)+(g>>8)>>2]|0;a=c[a>>2]|0;qi[c[(c[a>>2]|0)+24>>2]&15](a,b,d+h|0,g&2|0?e:2,f);return}function UAb(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;a:do if((b|0)==(c[d+8>>2]|0))xAb(0,d,e,f);else{g=c[b+12>>2]|0;VAb(b+16|0,d,e,f);if((g|0)>1){h=b+24|0;do{VAb(h,d,e,f);if(a[d+54>>0]|0)break a;h=h+8|0}while(h>>>0<(b+16+(g<<3)|0)>>>0)}}while(0);return}function VAb(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=c[a+4>>2]|0;if(!(f&1))g=f>>8;else g=c[(c[d>>2]|0)+(f>>8)>>2]|0;a=c[a>>2]|0;kj[c[(c[a>>2]|0)+28>>2]&127](a,b,d+g|0,f&2|0?e:2);return}function WAb(){var a=0;a=nf(4)|0;XAb(a);zc(a|0,9032,683)}function XAb(a){a=a|0;c[a>>2]=156232;return}function YAb(a){a=a|0;var b=0,d=0;b=(a|0)==0?1:a;while(1){d=Vpb(b)|0;if(d|0){a=6;break}a=ZAb()|0;if(!a){a=5;break}gj[a&15]()}if((a|0)==5){d=nf(4)|0;c[d>>2]=156172;zc(d|0,8984,678)}else if((a|0)==6)return d|0;return 0}function ZAb(){var a=0;a=c[301380]|0;c[301380]=a+0;return a|0}function _Ab(a){a=a|0;return YAb(a)|0}function $Ab(a,b){a=a|0;b=b|0;return _Ab(a)|0}function aBb(a){a=a|0;oAb(a);return}function bBb(a){a=a|0;c[a>>2]=156172;return}function cBb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;c[e>>2]=c[d>>2];a=Gi[c[(c[a>>2]|0)+16>>2]&255](a,b,e)|0;if(a)c[d>>2]=c[e>>2];i=e;return a&1|0}function dBb(a){a=a|0;if(!a)a=0;else a=(sAb(a,8960,9064,0)|0)!=0;return a&1|0}function eBb(){var a=0;a=nf(4)|0;bBb(a);zc(a|0,8984,678)}function fBb(){}function gBb(a){a=a|0;return (a&255)<<24|(a>>8&255)<<16|(a>>16&255)<<8|a>>>24|0}function hBb(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=b+e|0;if((e|0)>=20){d=d&255;g=b&3;h=d|d<<8|d<<16|d<<24;if(g){g=b+4-g|0;while((b|0)<(g|0)){a[b>>0]=d;b=b+1|0}}while((b|0)<(f&~3|0)){c[b>>2]=h;b=b+4|0}}while((b|0)<(f|0)){a[b>>0]=d;b=b+1|0}return b-e|0}function iBb(b){b=b|0;var c=0;c=a[m+(b&255)>>0]|0;if((c|0)<8)return c|0;c=a[m+(b>>8&255)>>0]|0;if((c|0)<8)return c+8|0;c=a[m+(b>>16&255)>>0]|0;if((c|0)<8)return c+16|0;return (a[m+(b>>>24)>>0]|0)+24|0}function jBb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return (C=b+d+(a+c>>>0>>>0>>0|0)>>>0,a+c>>>0|0)|0}function kBb(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;p=p+1|0;c[a>>2]=p;while((f|0)<(e|0)){if(!(c[d+(f<<3)>>2]|0)){c[d+(f<<3)>>2]=p;c[d+((f<<3)+4)>>2]=b;c[d+((f<<3)+8)>>2]=0;C=e;return d|0}f=f+1|0}e=e*2|0;d=Ypb(d|0,8*(e+1|0)|0)|0;d=kBb(a|0,b|0,d|0,e|0)|0;C=e;return d|0}function lBb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;while((f|0)<(d|0)){e=c[b+(f<<3)>>2]|0;if(!e)break;if((e|0)==(a|0))return c[b+((f<<3)+4)>>2]|0;f=f+1|0}return 0}function mBb(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;if((e|0)>=4096)return kb(b|0,d|0,e|0)|0;f=b|0;if((b&3)==(d&3)){while(b&3){if(!e)return f|0;a[b>>0]=a[d>>0]|0;b=b+1|0;d=d+1|0;e=e-1|0}while((e|0)>=4){c[b>>2]=c[d>>2];b=b+4|0;d=d+4|0;e=e-4|0}}while((e|0)>0){a[b>>0]=a[d>>0]|0;b=b+1|0;d=d+1|0;e=e-1|0}return f|0}function nBb(b,c,d){b=b|0;c=c|0;d=d|0;var e=0;if((c|0)<(b|0)&(b|0)<(c+d|0)){e=b;c=c+d|0;b=b+d|0;while((d|0)>0){b=b-1|0;c=c-1|0;d=d-1|0;a[b>>0]=a[c>>0]|0}b=e}else mBb(b,c,d)|0;return b|0}function oBb(a,b,c){a=a|0;b=b|0;c=c|0;b=aa(b)|0;if((b|0)==32)b=b+(aa(a)|0)|0;C=0;return b|0}function pBb(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){C=b<>>32-c;return a<>>0>a>>>0|0)>>>0;return (C=d,a-c>>>0|0)|0}function rBb(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){C=b>>>c;return a>>>c|(b&(1<>>c-32|0}function sBb(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){C=b>>c;return a>>>c|(b&(1<>c-32|0}function tBb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=_(b&65535,a&65535)|0;e=(c>>>16)+(_(b&65535,a>>>16)|0)|0;d=_(b>>>16,a&65535)|0;return (C=(e>>>16)+(_(b>>>16,a>>>16)|0)+(((e&65535)+d|0)>>>16)|0,e+d<<16|c&65535|0)|0}function uBb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;g=b>>31|((b|0)<0?-1:0)<<1;e=((b|0)<0?-1:0)>>31|((b|0)<0?-1:0)<<1;h=d>>31|((d|0)<0?-1:0)<<1;f=((d|0)<0?-1:0)>>31|((d|0)<0?-1:0)<<1;a=qBb(g^a|0,e^b|0,g|0,e|0)|0;b=C;return qBb((zBb(a,b,qBb(h^c|0,f^d|0,h|0,f|0)|0,C,0)|0)^(h^g)|0,C^(f^e)|0,h^g|0,f^e|0)|0}function vBb(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;f=i;i=i+16|0;h=b>>31|((b|0)<0?-1:0)<<1;g=((b|0)<0?-1:0)>>31|((b|0)<0?-1:0)<<1;k=e>>31|((e|0)<0?-1:0)<<1;j=((e|0)<0?-1:0)>>31|((e|0)<0?-1:0)<<1;a=qBb(h^a|0,g^b|0,h|0,g|0)|0;b=C;zBb(a,b,qBb(k^d|0,j^e|0,k|0,j|0)|0,C,f|0)|0;e=qBb(c[f>>2]^h|0,c[f+4>>2]^g|0,h|0,g|0)|0;d=C;i=f;return (C=d,e)|0}function wBb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=tBb(a,c)|0;f=C;return (C=(_(b,c)|0)+(_(d,a)|0)+f|f&0,e|0|0)|0}function xBb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return zBb(a,b,c,d,0)|0}function yBb(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+16|0;zBb(a,b,d,e,f|0)|0;i=f;return (C=c[f+4>>2]|0,c[f>>2]|0)|0}function zBb(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;if(!b)if(!e){if(f|0){c[f>>2]=(a>>>0)%(d>>>0);c[f+4>>2]=0}e=0;f=(a>>>0)/(d>>>0)>>>0;return (C=e,f)|0}else{if(!f){e=0;f=0;return (C=e,f)|0}c[f>>2]=a|0;c[f+4>>2]=b&0;e=0;f=0;return (C=e,f)|0}do if(!d){if(!e){if(f|0){c[f>>2]=(b>>>0)%(d>>>0);c[f+4>>2]=0}e=0;f=(b>>>0)/(d>>>0)>>>0;return (C=e,f)|0}if(!a){if(f|0){c[f>>2]=0;c[f+4>>2]=(b>>>0)%(e>>>0)}d=0;f=(b>>>0)/(e>>>0)>>>0;return (C=d,f)|0}if(!(e-1&e)){if(f|0){c[f>>2]=a|0;c[f+4>>2]=e-1&b|b&0}d=0;f=b>>>((iBb(e|0)|0)>>>0);return (C=d,f)|0}h=(aa(e|0)|0)-(aa(b|0)|0)|0;if(h>>>0<=30){n=h+1|0;i=b<<31-h|a>>>((h+1|0)>>>0);m=b>>>((h+1|0)>>>0);g=0;h=a<<31-h;break}if(!f){e=0;f=0;return (C=e,f)|0}c[f>>2]=a|0;c[f+4>>2]=b|b&0;e=0;f=0;return (C=e,f)|0}else{if(e|0){h=(aa(e|0)|0)-(aa(b|0)|0)|0;if(h>>>0<=31){n=h+1|0;i=a>>>((h+1|0)>>>0)&h-31>>31|b<<31-h;m=b>>>((h+1|0)>>>0)&h-31>>31;g=0;h=a<<31-h;break}if(!f){e=0;f=0;return (C=e,f)|0}c[f>>2]=a|0;c[f+4>>2]=b|b&0;e=0;f=0;return (C=e,f)|0}if(d-1&d|0){h=(aa(d|0)|0)+33-(aa(b|0)|0)|0;n=h;i=32-h-1>>31&b>>>((h-32|0)>>>0)|(b<<32-h|a>>>(h>>>0))&h-32>>31;m=h-32>>31&b>>>(h>>>0);g=a<<64-h&32-h>>31;h=(b<<64-h|a>>>((h-32|0)>>>0))&32-h>>31|a<<32-h&h-33>>31;break}if(f|0){c[f>>2]=d-1&a;c[f+4>>2]=0}if((d|0)==1){e=b|b&0;f=a|0|0;return (C=e,f)|0}else{f=iBb(d|0)|0;e=b>>>(f>>>0)|0;f=b<<32-f|a>>>(f>>>0)|0;return (C=e,f)|0}}while(0);if(!n){j=h;b=m;a=0;h=0}else{k=jBb(d|0|0,e|e&0|0,-1,-1)|0;l=C;j=h;b=m;a=n;h=0;do{p=j;j=g>>>31|j<<1;g=h|g<<1;p=i<<1|p>>>31|0;o=i>>>31|b<<1|0;qBb(k|0,l|0,p|0,o|0)|0;n=C;m=n>>31|((n|0)<0?-1:0)<<1;h=m&1;i=qBb(p|0,o|0,m&(d|0)|0,(((n|0)<0?-1:0)>>31|((n|0)<0?-1:0)<<1)&(e|e&0)|0)|0;b=C;a=a-1|0}while((a|0)!=0);a=0}if(f|0){c[f>>2]=i;c[f+4>>2]=b}o=(g|0)>>>31|j<<1|(0<<1|g>>>31)&0|a;p=(g<<1|0>>>31)&-2|h;return (C=o,p)|0}function ABb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;return mi[a&15](b|0,c|0,d|0,e|0,f|0,g|0,h|0)|0}function BBb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=+g;return ni[a&3](b|0,c|0,d|0,e|0,f|0,+g)|0}function CBb(a,b){a=a|0;b=+b;oi[a&3](+b)}function DBb(a,b,c){a=a|0;b=b|0;c=+c;pi[a&31](b|0,+c)}function EBb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;qi[a&15](b|0,c|0,d|0,e|0,f|0)}function FBb(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;return ri[a&3](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0,j|0)|0}function GBb(a,b,c){a=a|0;b=b|0;c=c|0;si[a&511](b|0,c|0)}function HBb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;return ti[a&63](b|0,c|0,d|0,e|0,f|0,g|0)|0}function IBb(a,b,c,d,e,f,g,h,i,j,k){a=a|0;b=b|0;c=+c;d=+d;e=+e;f=+f;g=+g;h=+h;i=+i;j=+j;k=+k;ui[a&7](b|0,+c,+d,+e,+f,+g,+h,+i,+j,+k)}function JBb(a,b){a=a|0;b=b|0;return vi[a&2047](b|0)|0}function KBb(a,b,c,d,e){a=a|0;b=+b;c=+c;d=+d;e=+e;return +wi[a&1](+b,+c,+d,+e)}function LBb(a,b,c,d,e,f,g,h,i,j,k,l){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;xi[a&7](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0,j|0,k|0,l|0)}function MBb(a,b,c,d,e,f){a=a|0;b=b|0;c=+c;d=+d;e=e|0;f=f|0;yi[a&3](b|0,+c,+d,e|0,f|0)}function NBb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=+d;e=e|0;zi[a&3](b|0,c|0,+d,e|0)}function OBb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=+d;e=+e;f=+f;g=+g;Ai[a&1](b|0,c|0,+d,+e,+f,+g)}function PBb(a,b,c,d,e){a=a|0;b=b|0;c=+c;d=+d;e=+e;Bi[a&7](b|0,+c,+d,+e)}function QBb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return Ci[a&127](b|0,c|0,d|0,e|0,f|0)|0}function RBb(a,b,c,d){a=a|0;b=b|0;c=+c;d=d|0;Di[a&3](b|0,+c,d|0)}function SBb(a,b,c,d,e,f,g){a=a|0;b=+b;c=+c;d=+d;e=+e;f=+f;g=+g;Ei[a&1](+b,+c,+d,+e,+f,+g)}function TBb(a,b,c,d){a=a|0;b=b|0;c=+c;d=+d;Fi[a&3](b|0,+c,+d)}function UBb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Gi[a&255](b|0,c|0,d|0)|0}function VBb(a,b){a=a|0;b=b|0;Hi[a&1023](b|0)}function WBb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;Ii[a&63](b|0,c|0,d|0,e|0,f|0,g|0)}function XBb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=+f;return +Ji[a&1](b|0,c|0,d|0,e|0,+f)}function YBb(a,b,c){a=a|0;b=+b;c=+c;return +Ki[a&1](+b,+c)}function ZBb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=+d;Li[a&31](b|0,c|0,+d)}function _Bb(a,b){a=a|0;b=b|0;return +Mi[a&63](b|0)}function $Bb(a,b,c){a=a|0;b=+b;c=c|0;Ni[a&1](+b,c|0)}function aCb(a,b){a=a|0;b=+b;return +Oi[a&3](+b)}function bCb(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;Pi[a&3](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0)}function cCb(a,b,c,d,e,f){a=a|0;b=b|0;c=+c;d=+d;e=+e;f=+f;Qi[a&3](b|0,+c,+d,+e,+f)}function dCb(a,b,c){a=a|0;b=b|0;c=+c;return Ri[a&7](b|0,+c)|0}function eCb(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;return +Si[a&1](+b,+c,+d)}function fCb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;Ti[a&7](b|0,c|0,d|0,e|0,f|0,g|0,h|0)}function gCb(a,b,c,d,e){a=a|0;b=b|0;c=+c;d=+d;e=+e;return Ui[a&1](b|0,+c,+d,+e)|0}function hCb(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;Vi[a&15](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0,j|0)}function iCb(a,b,c,d,e,f,g,h,i,j,k){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;Wi[a&0](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0,j|0,k|0)}function jCb(a,b,c){a=a|0;b=b|0;c=c|0;return Xi[a&511](b|0,c|0)|0}function kCb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return +Yi[a&3](b|0,c|0,d|0)}function lCb(a,b,c,d,e,f,g,h,i,j,k,l){a=a|0;b=b|0;c=c|0;d=+d;e=+e;f=+f;g=+g;h=+h;i=+i;j=+j;k=+k;l=+l;Zi[a&3](b|0,c|0,+d,+e,+f,+g,+h,+i,+j,+k,+l)}function mCb(a,b,c){a=a|0;b=b|0;c=c|0;return +_i[a&15](b|0,c|0)}function nCb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;$i[a&255](b|0,c|0,d|0)}function oCb(a,b,c){a=a|0;b=b|0;c=+c;return +aj[a&15](b|0,+c)}function pCb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=+f;g=g|0;h=h|0;return bj[a&3](b|0,c|0,d|0,e|0,+f,g|0,h|0)|0}function qCb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return cj[a&127](b|0,c|0,d|0,e|0)|0}function rCb(a){a=a|0;return dj[a&7]()|0}function sCb(a,b,c,d,e){a=a|0;b=+b;c=+c;d=+d;e=+e;ej[a&3](+b,+c,+d,+e)}function tCb(a,b,c){a=a|0;b=+b;c=+c;fj[a&3](+b,+c)}function uCb(a){a=a|0;gj[a&15]()}function vCb(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;return hj[a&31](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0)|0}function wCb(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=+j;ij[a&3](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0,+j)}function xCb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=+f;return jj[a&7](b|0,c|0,d|0,e|0,+f)|0}function yCb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;kj[a&127](b|0,c|0,d|0,e|0)}function zCb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;ba(0);return 0}function ACb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=+f;ba(1);return 0}function BCb(a){a=+a;ba(2)}function CCb(a){a=+a;wd(+a)}function DCb(a){a=+a;Xg(+a)}function ECb(a){a=+a;Be(+a)}function FCb(a,b){a=a|0;b=+b;ba(3)}function GCb(a,b){a=a|0;b=+b;lb(a|0,+b)}function HCb(a,b){a=a|0;b=+b;He(a|0,+b)}function ICb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ba(4)}function JCb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;zd(a|0,b|0,c|0,d|0,e|0)}function KCb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;gc(a|0,b|0,c|0,d|0,e|0)}function LCb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;qh(a|0,b|0,c|0,d|0,e|0)}function MCb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;uf(a|0,b|0,c|0,d|0,e|0)}function NCb(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;ba(5);return 0}function OCb(a,b){a=a|0;b=b|0;ba(6)}function PCb(a,b){a=a|0;b=b|0;ne(a|0,b|0)}function QCb(a,b){a=a|0;b=b|0;wf(a|0,b|0)}function RCb(a,b){a=a|0;b=b|0;hb(a|0,b|0)}function SCb(a,b){a=a|0;b=b|0;Cc(a|0,b|0)}function TCb(a,b){a=a|0;b=b|0;Sc(a|0,b|0)}function UCb(a,b){a=a|0;b=b|0;Le(a|0,b|0)}function VCb(a,b){a=a|0;b=b|0;Zd(a|0,b|0)}function WCb(a,b){a=a|0;b=b|0;fe(a|0,b|0)}function XCb(a,b){a=a|0;b=b|0;Uc(a|0,b|0)}function YCb(a,b){a=a|0;b=b|0;fi(a|0,b|0)}function ZCb(a,b){a=a|0;b=b|0;Ec(a|0,b|0)}function _Cb(a,b){a=a|0;b=b|0;tf(a|0,b|0)}function $Cb(a,b){a=a|0;b=b|0;ih(a|0,b|0)}function aDb(a,b){a=a|0;b=b|0;ob(a|0,b|0)}function bDb(a,b){a=a|0;b=b|0;Bc(a|0,b|0)}function cDb(a,b){a=a|0;b=b|0;vc(a|0,b|0)}function dDb(a,b){a=a|0;b=b|0;Fb(a|0,b|0)}function eDb(a,b){a=a|0;b=b|0;Wf(a|0,b|0)}function fDb(a,b){a=a|0;b=b|0;$b(a|0,b|0)}function gDb(a,b){a=a|0;b=b|0;xb(a|0,b|0)}function hDb(a,b){a=a|0;b=b|0;hg(a|0,b|0)}function iDb(a,b){a=a|0;b=b|0;eh(a|0,b|0)}function jDb(a,b){a=a|0;b=b|0;Qh(a|0,b|0)}function kDb(a,b){a=a|0;b=b|0;Od(a|0,b|0)}function lDb(a,b){a=a|0;b=b|0;Eg(a|0,b|0)}function mDb(a,b){a=a|0;b=b|0;Lf(a|0,b|0)}function nDb(a,b){a=a|0;b=b|0;Og(a|0,b|0)}function oDb(a,b){a=a|0;b=b|0;pe(a|0,b|0)}function pDb(a,b){a=a|0;b=b|0;Tc(a|0,b|0)}function qDb(a,b){a=a|0;b=b|0;Dd(a|0,b|0)}function rDb(a,b){a=a|0;b=b|0;Bg(a|0,b|0)}function sDb(a,b){a=a|0;b=b|0;Jc(a|0,b|0)}function tDb(a,b){a=a|0;b=b|0;ah(a|0,b|0)}function uDb(a,b){a=a|0;b=b|0;Lh(a|0,b|0)}function vDb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;ba(7);return 0}function wDb(a,b,c,d,e,f,g,h,i,j){a=a|0;b=+b;c=+c;d=+d;e=+e;f=+f;g=+g;h=+h;i=+i;j=+j;ba(8)}function xDb(a){a=a|0;ba(9);return 0}function yDb(a){a=a|0;return Fc(a|0)|0}function zDb(a){a=a|0;return Yh(a|0)|0}function ADb(a){a=a|0;return Qg(a|0)|0}function BDb(a){a=a|0;return jf(a|0)|0}function CDb(a){a=a|0;return Pc(a|0)|0}function DDb(a){a=a|0;return Cg(a|0)|0}function EDb(a){a=a|0;return bi(a|0)|0}function FDb(a){a=a|0;return Ge(a|0)|0}function GDb(a){a=a|0;return Of(a|0)|0}function HDb(a){a=a|0;return Eh(a|0)|0}function IDb(a){a=a|0;return ie(a|0)|0}function JDb(a){a=a|0;return pb(a|0)|0}function KDb(a){a=a|0;return Dg(a|0)|0}function LDb(a){a=a|0;return We(a|0)|0}function MDb(a){a=a|0;return Zc(a|0)|0}function NDb(a,b,c,d){a=+a;b=+b;c=+c;d=+d;ba(10);return 0.0}function ODb(a,b,c,d,e,f,g,h,i,j,k){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;ba(11)}function PDb(a,b,c,d,e){a=a|0;b=+b;c=+c;d=d|0;e=e|0;ba(12)}function QDb(a,b,c,d){a=a|0;b=b|0;c=+c;d=d|0;ba(13)}function RDb(a,b,c,d,e,f){a=a|0;b=b|0;c=+c;d=+d;e=+e;f=+f;ba(14)}function SDb(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;ba(15)}function TDb(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;Ze(a|0,+b,+c,+d)}function UDb(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;Sb(a|0,+b,+c,+d)}function VDb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ba(16);return 0}function WDb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return mf(a|0,b|0,c|0,d|0,e|0)|0}function XDb(a,b,c){a=a|0;b=+b;c=c|0;ba(17)}function YDb(a,b,c,d,e,f){a=+a;b=+b;c=+c;d=+d;e=+e;f=+f;ba(18)}function ZDb(a,b,c,d,e,f){a=+a;b=+b;c=+c;d=+d;e=+e;f=+f;_h(+a,+b,+c,+d,+e,+f)}function _Db(a,b,c){a=a|0;b=+b;c=+c;ba(19)}function $Db(a,b,c){a=a|0;b=+b;c=+c;Jg(a|0,+b,+c)}function aEb(a,b,c){a=a|0;b=+b;c=+c;kd(a|0,+b,+c)}function bEb(a,b,c){a=a|0;b=b|0;c=c|0;ba(20);return 0}function cEb(a,b,c){a=a|0;b=b|0;c=c|0;return pc(a|0,b|0,c|0)|0}function dEb(a){a=a|0;ba(21)}function eEb(a){a=a|0;$e(a|0)}function fEb(a){a=a|0;Xf(a|0)}function gEb(a){a=a|0;Ch(a|0)}function hEb(a){a=a|0;_f(a|0)}function iEb(a){a=a|0;ve(a|0)}function jEb(a){a=a|0;gd(a|0)}function kEb(a){a=a|0;Vc(a|0)}function lEb(a){a=a|0;lf(a|0)}function mEb(a){a=a|0;Ve(a|0)}function nEb(a){a=a|0;ci(a|0)}function oEb(a){a=a|0;Zg(a|0)}function pEb(a){a=a|0;Qb(a|0)}function qEb(a){a=a|0;cf(a|0)}function rEb(a){a=a|0;Oc(a|0)}function sEb(a){a=a|0;jb(a|0)}function tEb(a){a=a|0;bh(a|0)}function uEb(a){a=a|0;sf(a|0)}function vEb(a){a=a|0;te(a|0)}function wEb(a){a=a|0;Hc(a|0)}function xEb(a){a=a|0;ed(a|0)}function yEb(a){a=a|0;rd(a|0)}function zEb(a){a=a|0;Jh(a|0)}function AEb(a){a=a|0;Ed(a|0)}function BEb(a){a=a|0;ai(a|0)}function CEb(a){a=a|0;di(a|0)}function DEb(a){a=a|0;tc(a|0)}function EEb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;ba(22)}function FEb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;cg(a|0,b|0,c|0,d|0,e|0,f|0)}function GEb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;ng(a|0,b|0,c|0,d|0,e|0,f|0)}function HEb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;ba(23);return 0.0}function IEb(a,b){a=+a;b=+b;ba(24);return 0.0}function JEb(a,b,c){a=a|0;b=b|0;c=+c;ba(25)}function KEb(a,b,c){a=a|0;b=b|0;c=+c;Lg(a|0,b|0,+c)}function LEb(a){a=a|0;ba(26);return 0.0}function MEb(a,b){a=+a;b=b|0;ba(27)}function NEb(a,b){a=+a;b=b|0;Zh(+a,b|0)}function OEb(a){a=+a;ba(28);return 0.0}function PEb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;ba(29)}function QEb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;le(a|0,b|0,c|0,d|0,e|0,f|0,g|0,h|0)}function REb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;fc(a|0,b|0,c|0,d|0,e|0,f|0,g|0,h|0)}function SEb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;ji(a|0,b|0,c|0,d|0,e|0,f|0,g|0,h|0)}function TEb(a,b,c,d,e){a=a|0;b=+b;c=+c;d=+d;e=+e;ba(30)}function UEb(a,b,c,d,e){a=a|0;b=+b;c=+c;d=+d;e=+e;Cd(a|0,+b,+c,+d,+e)}function VEb(a,b,c,d,e){a=a|0;b=+b;c=+c;d=+d;e=+e;vf(a|0,+b,+c,+d,+e)}function WEb(a,b){a=a|0;b=+b;ba(31);return 0}function XEb(a,b,c){a=+a;b=+b;c=+c;ba(32);return 0.0}function YEb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;ba(33)}function ZEb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;pd(a|0,b|0,c|0,d|0,e|0,f|0,g|0)}function _Eb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;vh(a|0,b|0,c|0,d|0,e|0,f|0,g|0)}function $Eb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;mh(a|0,b|0,c|0,d|0,e|0,f|0,g|0)}function aFb(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;ba(34);return 0}function bFb(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;ba(35)}function cFb(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;Je(a|0,b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0)}function dFb(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;zg(a|0,b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0)}function eFb(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;Vg(a|0,b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0)}function fFb(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;ba(36)}function gFb(a,b){a=a|0;b=b|0;ba(37);return 0}function hFb(a,b){a=a|0;b=b|0;return _d(a|0,b|0)|0}function iFb(a,b){a=a|0;b=b|0;return Vd(a|0,b|0)|0}function jFb(a,b){a=a|0;b=b|0;return jd(a|0,b|0)|0}function kFb(a,b){a=a|0;b=b|0;return Ah(a|0,b|0)|0}function lFb(a,b){a=a|0;b=b|0;return bf(a|0,b|0)|0}function mFb(a,b){a=a|0;b=b|0;return rf(a|0,b|0)|0}function nFb(a,b,c){a=a|0;b=b|0;c=c|0;ba(38);return 0.0}function oFb(a,b,c,d,e,f,g,h,i,j,k){a=a|0;b=b|0;c=+c;d=+d;e=+e;f=+f;g=+g;h=+h;i=+i;j=+j;k=+k;ba(39)}function pFb(a,b){a=a|0;b=b|0;ba(40);return 0.0}function qFb(a,b,c){a=a|0;b=b|0;c=c|0;ba(41)}function rFb(a,b,c){a=a|0;b=b|0;c=c|0;cb(a|0,b|0,c|0)}function sFb(a,b,c){a=a|0;b=b|0;c=c|0;Se(a|0,b|0,c|0)}function tFb(a,b,c){a=a|0;b=b|0;c=c|0;Ab(a|0,b|0,c|0)}function uFb(a,b,c){a=a|0;b=b|0;c=c|0;rb(a|0,b|0,c|0)}function vFb(a,b,c){a=a|0;b=b|0;c=c|0;_b(a|0,b|0,c|0)}function wFb(a,b,c){a=a|0;b=b|0;c=c|0;Xh(a|0,b|0,c|0)}function xFb(a,b,c){a=a|0;b=b|0;c=c|0;rc(a|0,b|0,c|0)}function yFb(a,b,c){a=a|0;b=b|0;c=c|0;Ud(a|0,b|0,c|0)}function zFb(a,b,c){a=a|0;b=b|0;c=c|0;Vf(a|0,b|0,c|0)}function AFb(a,b,c){a=a|0;b=b|0;c=c|0;Kd(a|0,b|0,c|0)}function BFb(a,b,c){a=a|0;b=b|0;c=c|0;sh(a|0,b|0,c|0)}function CFb(a,b,c){a=a|0;b=b|0;c=c|0;Ig(a|0,b|0,c|0)}function DFb(a,b,c){a=a|0;b=b|0;c=c|0;Xb(a|0,b|0,c|0)}function EFb(a,b,c){a=a|0;b=b|0;c=c|0;hi(a|0,b|0,c|0)}function FFb(a,b,c){a=a|0;b=b|0;c=c|0;ye(a|0,b|0,c|0)}function GFb(a,b,c){a=a|0;b=b|0;c=c|0;hd(a|0,b|0,c|0)}function HFb(a,b,c){a=a|0;b=b|0;c=c|0;xd(a|0,b|0,c|0)}function IFb(a,b,c){a=a|0;b=b|0;c=c|0;Ac(a|0,b|0,c|0)}function JFb(a,b,c){a=a|0;b=b|0;c=c|0;Kc(a|0,b|0,c|0)}function KFb(a,b,c){a=a|0;b=b|0;c=c|0;Sd(a|0,b|0,c|0)}function LFb(a,b,c){a=a|0;b=b|0;c=c|0;Hf(a|0,b|0,c|0)}function MFb(a,b,c){a=a|0;b=b|0;c=c|0;xg(a|0,b|0,c|0)}function NFb(a,b,c){a=a|0;b=b|0;c=c|0;Rg(a|0,b|0,c|0)}function OFb(a,b,c){a=a|0;b=b|0;c=c|0;Td(a|0,b|0,c|0)}function PFb(a,b,c){a=a|0;b=b|0;c=c|0;$g(a|0,b|0,c|0)}function QFb(a,b,c){a=a|0;b=b|0;c=c|0;pg(a|0,b|0,c|0)}function RFb(a,b,c){a=a|0;b=b|0;c=c|0;Mg(a|0,b|0,c|0)}function SFb(a,b,c){a=a|0;b=b|0;c=c|0;hc(a|0,b|0,c|0)}function TFb(a,b,c){a=a|0;b=b|0;c=c|0;sc(a|0,b|0,c|0)}function UFb(a,b){a=a|0;b=+b;ba(42);return 0.0}function VFb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;f=f|0;g=g|0;ba(43);return 0}function WFb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;ba(44);return 0}function XFb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Ne(a|0,b|0,c|0,d|0)|0}function YFb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Qc(a|0,b|0,c|0,d|0)|0}function ZFb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return qd(a|0,b|0,c|0,d|0)|0}function _Fb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ec(a|0,b|0,c|0,d|0)|0}function $Fb(){ba(45);return 0}function aGb(){return Xe()|0}function bGb(){return gg()|0}function cGb(){return nd()|0}function dGb(a,b,c,d){a=+a;b=+b;c=+c;d=+d;ba(46)}function eGb(a,b,c,d){a=+a;b=+b;c=+c;d=+d;Gf(+a,+b,+c,+d)}function fGb(a,b,c,d){a=+a;b=+b;c=+c;d=+d;fg(+a,+b,+c,+d)}function gGb(a,b,c,d){a=+a;b=+b;c=+c;d=+d;sg(+a,+b,+c,+d)}function hGb(a,b){a=+a;b=+b;ba(47)}function iGb(a,b){a=+a;b=+b;cc(+a,+b)}function jGb(a,b){a=+a;b=+b;$h(+a,+b)}function kGb(a,b){a=+a;b=+b;qg(+a,+b)}function lGb(){ba(48)}function mGb(){Jf()}function nGb(){Rh()}function oGb(){qe()}function pGb(){vd()}function qGb(){Ib()}function rGb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;ba(49);return 0}function sGb(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=+i;ba(50)}function tGb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;ba(51);return 0}function uGb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;ba(52)}function vGb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Gb(a|0,b|0,c|0,d|0)}function wGb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qc(a|0,b|0,c|0,d|0)}function xGb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;_e(a|0,b|0,c|0,d|0)}function yGb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Cb(a|0,b|0,c|0,d|0)}function zGb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Ld(a|0,b|0,c|0,d|0)}function AGb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Kf(a|0,b|0,c|0,d|0)}function BGb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Ke(a|0,b|0,c|0,d|0)}function CGb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Sh(a|0,b|0,c|0,d|0)}function DGb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;yg(a|0,b|0,c|0,d|0)}function EGb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;rh(a|0,b|0,c|0,d|0)}function FGb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Wc(a|0,b|0,c|0,d|0)}function GGb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;xc(a|0,b|0,c|0,d|0)}function HGb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Df(a|0,b|0,c|0,d|0)}function IGb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;kh(a|0,b|0,c|0,d|0)}function JGb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;me(a|0,b|0,c|0,d|0)}function KGb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;nc(a|0,b|0,c|0,d|0)}function LGb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Ob(a|0,b|0,c|0,d|0)}function MGb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Gh(a|0,b|0,c|0,d|0)}function NGb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Tg(a|0,b|0,c|0,d|0)}function OGb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Db(a|0,b|0,c|0,d|0)}function PGb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Hh(a|0,b|0,c|0,d|0)}function QGb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Ce(a|0,b|0,c|0,d|0)}function RGb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;de(a|0,b|0,c|0,d|0)}function SGb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;lc(a|0,b|0,c|0,d|0)}function TGb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;gb(a|0,b|0,c|0,d|0)}function UGb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Rb(a|0,b|0,c|0,d|0)}function VGb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;$c(a|0,b|0,c|0,d|0)} +function wj(a){a=a|0;var b=0;b=r;r=r+a|0;r=r+15&-16;return b|0}function xj(){return r|0}function yj(a){a=a|0;r=a}function zj(a,b){a=a|0;b=b|0;r=a;s=b}function Aj(a,b){a=a|0;b=b|0;if(!w){w=a;x=b}}function Bj(a){a=a|0;i[t>>0]=i[a>>0];i[t+1>>0]=i[a+1>>0];i[t+2>>0]=i[a+2>>0];i[t+3>>0]=i[a+3>>0]}function Cj(a){a=a|0;i[t>>0]=i[a>>0];i[t+1>>0]=i[a+1>>0];i[t+2>>0]=i[a+2>>0];i[t+3>>0]=i[a+3>>0];i[t+4>>0]=i[a+4>>0];i[t+5>>0]=i[a+5>>0];i[t+6>>0]=i[a+6>>0];i[t+7>>0]=i[a+7>>0]}function Dj(a){a=a|0;L=a}function Ej(){return L|0}function Fj(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=r;r=r+32|0;if(Wmb(178513,Xj()|0)|0){d=Xj()|0;k[e>>2]=178513;k[e+4>>2]=d;Jpb(178228,e)|0;d=1;r=e;return d|0}if((a|0)>1)if(!(Wmb(k[b+4>>2]|0,178309)|0)){c=Xj()|0;d=Yj()|0;k[e+8>>2]=c;k[e+8+4>>2]=d;Jpb(178319,e+8|0)|0;d=0;r=e;return d|0}d=HHa()|0;KHa(d);eEa(d,-10002,520407);eEa(d,-1,520519);$Da(d,1469,0);lEa(d,-2,442740);yDa(d,-3);hEa(d,0,0);if((a|0)>0){YDa(d,k[b>>2]|0);nEa(d,-2,-2)}YDa(d,178333);nEa(d,-2,-1);if((a|0)>1){c=1;do{YDa(d,k[b+(c<<2)>>2]|0);nEa(d,-2,c);c=c+1|0}while((c|0)!=(a|0))}lEa(d,-10002,515855);eEa(d,-10002,521113);YDa(d,442740);qEa(d,1,1);aEa(d,1);lEa(d,-2,178351);yDa(d,-2);eEa(d,-10002,521113);YDa(d,234930);qEa(d,1,1);aEa(d,0);qEa(d,1,1);c=BHa(d,-1e4)|0;k[e+16>>2]=d;k[e+16+4>>2]=c;Je(686,e+16|0,0,1);if(!(GDa(d,-1)|0))a=0;else a=~~+LDa(d,-1);pGa(d);d=a;r=e;return d|0}function Gj(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=k[155698]|0;if(b|0)Si[k[(k[b>>2]|0)+40>>2]&1023](b);b=k[a>>2]|0;gEa(b,-1e4,k[a+4>>2]|0);if(!(rEa(b,0,0,0)|0)){r=c;return}a=ODa(b,-1,0)|0;k[c>>2]=a;Jpb(178356,c)|0;r=c;return}function Hj(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;k[a>>2]=9104;b=k[155716]|0;if(!b){b=kBb(12)|0;k[b+4>>2]=0;k[b+8>>2]=0;k[b>>2]=b+4;k[155716]=b}h=k[b>>2]|0;f=b+4|0;a:do if((h|0)!=(f|0)){d=h;e=h;while(1){c=e;if((k[d+28>>2]|0)==(a|0)){g=d;f=e;break}d=k[c+4>>2]|0;if(!d)while(1){d=k[c+8>>2]|0;if((k[d>>2]|0)==(c|0)){c=d;break}else c=d}else{c=d;while(1){d=k[c>>2]|0;if(!d)break;else c=d}}if((c|0)==(f|0))break a;else{d=c;e=c}}d=k[g+4>>2]|0;if(!d){e=c;while(1){d=k[e+8>>2]|0;if((k[d>>2]|0)==(e|0))break;else e=d}}else while(1){e=k[d>>2]|0;if(!e)break;else d=e}if((h|0)==(g|0))k[b>>2]=d;h=b+8|0;k[h>>2]=(k[h>>2]|0)+-1;Jj(k[b+4>>2]|0,c);_qb(g+16|0);CAb(f)}while(0);if((k[155698]|0)==(a|0))k[155698]=0;if((k[155699]|0)==(a|0))k[155699]=0;if((k[155700]|0)==(a|0))k[155700]=0;if((k[155701]|0)==(a|0))k[155701]=0;if((k[155702]|0)==(a|0))k[155702]=0;if((k[155703]|0)==(a|0))k[155703]=0;if((k[155704]|0)==(a|0))k[155704]=0;if((k[155705]|0)==(a|0))k[155705]=0;if((k[155706]|0)==(a|0))k[155706]=0;if((k[155707]|0)==(a|0))k[155707]=0;if((k[155708]|0)==(a|0))k[155708]=0;if((k[155709]|0)==(a|0))k[155709]=0;if((k[155710]|0)==(a|0))k[155710]=0;if((k[155711]|0)==(a|0))k[155711]=0;if((k[155712]|0)==(a|0))k[155712]=0;if((k[155713]|0)==(a|0))k[155713]=0;if((k[155714]|0)==(a|0))k[155714]=0;if((k[155715]|0)==(a|0))k[155715]=0;b=k[155716]|0;if(!b)return;if(k[b+8>>2]|0)return;Kj(b,k[b+4>>2]|0);CAb(b);k[155716]=0;return}function Ij(a){a=a|0;Gg(a|0)|0;QAb()}function Jj(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0;d=k[b>>2]|0;do if(!d){c=b;g=5}else{c=k[b+4>>2]|0;if(!c){e=b;c=b;g=7;break}else while(1){d=k[c>>2]|0;if(!d){g=5;break}else c=d}}while(0);if((g|0)==5){d=k[c+4>>2]|0;if(!d){j=c+8|0;l=c;d=0;m=0;h=c}else{e=c;g=7}}if((g|0)==7){j=e+8|0;k[d+8>>2]=k[j>>2];l=e;m=1;h=c}c=k[j>>2]|0;e=k[c>>2]|0;if((e|0)==(l|0)){k[c>>2]=d;if((l|0)==(a|0)){a=d;e=0}else e=k[c+4>>2]|0}else k[c+4>>2]=d;f=l+12|0;g=(i[f>>0]|0)!=0;if((l|0)!=(b|0)){c=k[b+8>>2]|0;k[j>>2]=c;if((k[k[b+8>>2]>>2]|0)==(b|0))k[c>>2]=l;else k[c+4>>2]=l;c=k[b>>2]|0;k[h>>2]=c;k[c+8>>2]=l;c=k[b+4>>2]|0;k[l+4>>2]=c;if(c|0)k[c+8>>2]=l;i[f>>0]=i[b+12>>0]|0;a=(a|0)==(b|0)?l:a}if(!(g&(a|0)!=0))return;if(m){i[d+12>>0]=1;return}while(1){f=k[e+8>>2]|0;c=e+12|0;d=(i[c>>0]|0)!=0;if((k[f>>2]|0)==(e|0)){if(!d){i[c>>0]=1;i[f+12>>0]=0;d=k[f>>2]|0;c=k[d+4>>2]|0;k[f>>2]=c;if(c|0)k[c+8>>2]=f;k[d+8>>2]=k[f+8>>2];c=k[f+8>>2]|0;if((k[c>>2]|0)==(f|0))k[c>>2]=d;else k[c+4>>2]=d;k[d+4>>2]=f;k[f+8>>2]=d;b=k[e+4>>2]|0;a=(a|0)==(b|0)?e:a;e=k[b>>2]|0}d=k[e>>2]|0;if(d|0)if(!(i[d+12>>0]|0)){a=d;c=e;g=68;break}c=k[e+4>>2]|0;if(c|0)if(!(i[c+12>>0]|0)){g=67;break}i[e+12>>0]=0;c=k[e+8>>2]|0;if((c|0)==(a|0)|(i[c+12>>0]|0)==0){g=64;break}b=k[c+8>>2]|0;c=(k[b>>2]|0)==(c|0)?b+4|0:b}else{if(!d){i[c>>0]=1;i[f+12>>0]=0;d=k[f+4>>2]|0;c=k[d>>2]|0;k[f+4>>2]=c;if(c|0)k[c+8>>2]=f;k[d+8>>2]=k[f+8>>2];c=k[f+8>>2]|0;if((k[c>>2]|0)==(f|0))k[c>>2]=d;else k[c+4>>2]=d;k[d>>2]=f;k[f+8>>2]=d;b=k[e>>2]|0;a=(a|0)==(b|0)?e:a;e=k[b+4>>2]|0}f=k[e>>2]|0;if(f|0)if(!(i[f+12>>0]|0)){d=e;g=38;break}c=k[e+4>>2]|0;if(c|0)if(!(i[c+12>>0]|0)){a=f;d=e;g=39;break}i[e+12>>0]=0;c=k[e+8>>2]|0;if((c|0)==(a|0)){g=36;break}if(!(i[c+12>>0]|0)){a=c;g=36;break}b=k[c+8>>2]|0;c=(k[b>>2]|0)==(c|0)?b+4|0:b}e=k[c>>2]|0}if((g|0)==36){i[a+12>>0]=1;return}else if((g|0)==38){c=k[e+4>>2]|0;if(!c){a=f;f=e;g=40}else{a=f;g=39}}else if((g|0)==64){i[c+12>>0]=1;return}else if((g|0)==67)if(!d)g=69;else{a=d;c=e;g=68}if((g|0)==39)if(!(i[c+12>>0]|0)){a=e;g=46}else{f=e;g=40}else if((g|0)==68)if(!(i[a+12>>0]|0))g=75;else{e=c;g=69}if((g|0)==40){i[a+12>>0]=1;i[f+12>>0]=0;e=a+4|0;c=k[e>>2]|0;k[d>>2]=c;if(c|0)k[c+8>>2]=f;c=f+8|0;k[a+8>>2]=k[c>>2];d=k[c>>2]|0;if((k[d>>2]|0)==(f|0))k[d>>2]=a;else k[d+4>>2]=a;k[e>>2]=f;k[c>>2]=a;c=f;g=46}else if((g|0)==69){b=e+4|0;d=k[b>>2]|0;i[d+12>>0]=1;i[e+12>>0]=0;a=k[d>>2]|0;k[b>>2]=a;if(a|0)k[a+8>>2]=e;a=e+8|0;k[d+8>>2]=k[a>>2];c=k[a>>2]|0;if((k[c>>2]|0)==(e|0))k[c>>2]=d;else k[c+4>>2]=d;k[d>>2]=e;k[a>>2]=d;a=e;c=d;g=75}if((g|0)==46){d=k[a+8>>2]|0;i[a+12>>0]=i[d+12>>0]|0;i[d+12>>0]=1;i[c+12>>0]=1;c=k[d+4>>2]|0;a=k[c>>2]|0;k[d+4>>2]=a;if(a|0)k[a+8>>2]=d;k[c+8>>2]=k[d+8>>2];a=k[d+8>>2]|0;if((k[a>>2]|0)==(d|0))k[a>>2]=c;else k[a+4>>2]=c;k[c>>2]=d;k[d+8>>2]=c;return}else if((g|0)==75){d=k[c+8>>2]|0;i[c+12>>0]=i[d+12>>0]|0;i[d+12>>0]=1;i[a+12>>0]=1;c=k[d>>2]|0;a=k[c+4>>2]|0;k[d>>2]=a;if(a|0)k[a+8>>2]=d;k[c+8>>2]=k[d+8>>2];a=k[d+8>>2]|0;if((k[a>>2]|0)==(d|0))k[a>>2]=c;else k[a+4>>2]=c;k[c+4>>2]=d;k[d+8>>2]=c;return}}function Kj(a,b){a=a|0;b=b|0;if(!b)return;else{Kj(a,k[b>>2]|0);Kj(a,k[b+4>>2]|0);_qb(b+16|0);CAb(b);return}}function Lj(a){a=a|0;Hj(a);CAb(a);return}function Mj(a){a=a|0;var b=0,c=0,d=0,e=0;d=r;r=r+64|0;if(!a){a=xf(16)|0;os(a,178382,d);Jc(a|0,96,27)}b=Gi[k[(k[a>>2]|0)+20>>2]&2047](a)|0;Wqb(d+40|0,b,Fnb(b)|0);b=k[155716]|0;if(!b){b=kBb(12)|0;k[b+4>>2]=0;k[b+8>>2]=0;k[b>>2]=b+4;k[155716]=b}c=Nj(b,d+40|0)|0;if((c|0)!=(b+4|0))if((k[c+28>>2]|0)==(a|0)){_qb(d+40|0);r=d;return}else{c=xf(16)|0;a=Gi[k[(k[a>>2]|0)+20>>2]&2047](a)|0;k[d+8>>2]=a;os(c,178406,d+8|0);Jc(c|0,96,27)}Vqb(d+24|0,d+40|0);k[d+24+12>>2]=a;Oj(d+56|0,b,d+24|0);_qb(d+24|0);b=622792+((Gi[k[(k[a>>2]|0)+16>>2]&2047](a)|0)<<2)|0;c=k[b>>2]|0;if(c|0){e=Gi[k[(k[c>>2]|0)+20>>2]&2047](c)|0;c=Gi[k[(k[a>>2]|0)+20>>2]&2047](a)|0;k[d+16>>2]=e;k[d+16+4>>2]=c;Jpb(178436,d+16|0)|0}k[b>>2]=a;_qb(d+40|0);r=d;return}function Nj(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=k[a+4>>2]|0;if(c|0){d=i[b>>0]|0;e=(d&1)==0?(d&255)>>>1:k[b+4>>2]|0;d=(d&1)==0?b+1|0:k[b+8>>2]|0;b=a+4|0;a:do{while(1){f=c+16|0;h=i[f>>0]|0;g=(h&1)==0?(h&255)>>>1:k[c+20>>2]|0;f=Emb((h&1)==0?f+1|0:k[c+24>>2]|0,d,e>>>0>>0?e:g)|0;if((((f|0)==0?(g>>>0>>0?-2147483648:0):f)|0)>=0){b=c;break}c=k[c+4>>2]|0;if(!c)break a}c=k[b>>2]|0}while((c|0)!=0);if((b|0)!=(a+4|0)){h=b+16|0;f=i[h>>0]|0;g=(f&1)==0?(f&255)>>>1:k[b+20>>2]|0;h=Emb(d,(f&1)==0?h+1|0:k[b+24>>2]|0,g>>>0>>0?g:e)|0;if((((h|0)==0?(e>>>0>>0?-2147483648:0):h)|0)>=0){h=b;return h|0}}}h=a+4|0;return h|0}function Oj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=r;r=r+16|0;e=kBb(32)|0;k[e+16>>2]=k[c>>2];k[e+16+4>>2]=k[c+4>>2];k[e+16+8>>2]=k[c+8>>2];k[c>>2]=0;k[c+4>>2]=0;k[c+8>>2]=0;k[e+28>>2]=k[c+12>>2];d=Pj(b,f,e+16|0)|0;c=k[d>>2]|0;if(!c){c=k[f>>2]|0;k[e>>2]=0;k[e+4>>2]=0;k[e+8>>2]=c;k[d>>2]=e;c=k[k[b>>2]>>2]|0;if(!c)c=e;else{k[b>>2]=c;c=k[d>>2]|0}Qj(k[b+4>>2]|0,c);k[b+8>>2]=(k[b+8>>2]|0)+1;d=1;c=e}else d=0;k[a>>2]=c;i[a+4>>0]=d;if(d<<24>>24){r=f;return}_qb(e+16|0);CAb(e);r=f;return}function Pj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=k[a+4>>2]|0;if(!d){k[b>>2]=a+4;b=a+4|0;return b|0}f=i[c>>0]|0;g=(f&1)==0?(f&255)>>>1:k[c+4>>2]|0;f=(f&1)==0?c+1|0:k[c+8>>2]|0;while(1){c=d+16|0;e=i[c>>0]|0;a=(e&1)==0?(e&255)>>>1:k[d+20>>2]|0;c=(e&1)==0?c+1|0:k[d+24>>2]|0;e=Emb(f,c,a>>>0>>0?a:g)|0;if((((e|0)==0?(g>>>0>>0?-2147483648:0):e)|0)<0){a=k[d>>2]|0;if(!a){a=d;c=5;break}else d=a}else{e=Emb(c,f,g>>>0>>0?g:a)|0;if((((e|0)==0?(a>>>0>>0?-2147483648:0):e)|0)>=0){c=10;break}e=d+4|0;a=k[e>>2]|0;if(!a){c=9;break}else d=a}}if((c|0)==5){k[b>>2]=d;b=a;return b|0}else if((c|0)==9){k[b>>2]=d;b=e;return b|0}else if((c|0)==10){k[b>>2]=d;return b|0}return 0}function Qj(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;i[b+12>>0]=(b|0)==(a|0)&1;if((b|0)==(a|0))return;while(1){e=k[b+8>>2]|0;if(i[e+12>>0]|0){b=37;break}d=b;b=k[e+8>>2]|0;c=k[b>>2]|0;if((c|0)==(e|0)){c=k[b+4>>2]|0;if(!c){g=e;h=e+8|0;f=e+8|0;e=b;a=b;b=8;break}if(i[c+12>>0]|0){g=e;h=e+8|0;f=e+8|0;e=b;a=b;b=8;break}i[e+12>>0]=1;i[b+12>>0]=(b|0)==(a|0)&1;i[c+12>>0]=1}else{if(!c){g=e+8|0;h=e;f=e+8|0;e=b;a=b;b=24;break}if(i[c+12>>0]|0){g=e+8|0;h=e;f=e+8|0;e=b;a=b;b=24;break}i[e+12>>0]=1;i[b+12>>0]=(b|0)==(a|0)&1;i[c+12>>0]=1}if((b|0)==(a|0)){b=37;break}}if((b|0)==8){if((k[g>>2]|0)==(d|0))b=g;else{a=g+4|0;c=k[a>>2]|0;b=k[c>>2]|0;k[a>>2]=b;if(!b)b=e;else{k[b+8>>2]=g;b=k[h>>2]|0}k[c+8>>2]=b;b=k[f>>2]|0;if((k[b>>2]|0)==(g|0))k[b>>2]=c;else k[b+4>>2]=c;k[c>>2]=g;k[h>>2]=c;b=c;a=k[c+8>>2]|0}i[b+12>>0]=1;i[a+12>>0]=0;d=k[a>>2]|0;b=k[d+4>>2]|0;k[a>>2]=b;if(b|0)k[b+8>>2]=a;b=a+8|0;k[d+8>>2]=k[b>>2];c=k[b>>2]|0;if((k[c>>2]|0)==(a|0))k[c>>2]=d;else k[c+4>>2]=d;k[d+4>>2]=a;k[b>>2]=d;return}else if((b|0)==24){if((k[h>>2]|0)==(d|0)){c=k[h>>2]|0;b=k[c+4>>2]|0;k[h>>2]=b;if(!b)b=e;else{k[b+8>>2]=h;b=k[g>>2]|0}k[c+8>>2]=b;b=k[f>>2]|0;if((k[b>>2]|0)==(h|0))k[b>>2]=c;else k[b+4>>2]=c;k[c+4>>2]=h;k[g>>2]=c;b=c;a=k[c+8>>2]|0}else b=h;i[b+12>>0]=1;i[a+12>>0]=0;h=a+4|0;d=k[h>>2]|0;b=k[d>>2]|0;k[h>>2]=b;if(b|0)k[b+8>>2]=a;b=a+8|0;k[d+8>>2]=k[b>>2];c=k[b>>2]|0;if((k[c>>2]|0)==(a|0))k[c>>2]=d;else k[c+4>>2]=d;k[d>>2]=a;k[b>>2]=d;return}else if((b|0)==37)return}function Rj(a){a=a|0;var b=0;b=k[155716]|0;if(!b){b=kBb(12)|0;k[b+4>>2]=0;k[b+8>>2]=0;k[b>>2]=b+4;k[155716]=b}a=Nj(b,a)|0;if((b+4|0)==(a|0)){a=0;return a|0}a=k[a+28>>2]|0;return a|0}function Sj(a){a=a|0;k[a+4>>2]=(k[a+4>>2]|0)+1;return}function Tj(a){a=a|0;var b=0;b=k[a+4>>2]|0;k[a+4>>2]=b-1;if((b|0)!=1)return;if(!a)return;Si[k[(k[a>>2]|0)+4>>2]&1023](a);return}function Uj(a){a=a|0;k[a>>2]=9136;k[a+4>>2]=1;return}function Vj(a){a=a|0;return}function Wj(a){a=a|0;return k[a+4>>2]|0}function Xj(){return 178513}function Yj(){return 178520}function Zj(a){a=a|0;var b=0;Ws(a)|0;Gs(a,442740)|0;YDa(a,178513);lEa(a,-2,178532);VDa(a,0.0);lEa(a,-2,178541);VDa(a,10.0);lEa(a,-2,178556);VDa(a,1.0);lEa(a,-2,178571);YDa(a,178520);lEa(a,-2,178589);$Da(a,1470,0);lEa(a,-2,178607);hEa(a,0,0);YDa(a,178513);nEa(a,-2,1);YDa(a,178624);nEa(a,-2,2);lEa(a,-2,178631);$Da(a,1471,0);lEa(a,-2,178647);$Da(a,1472,0);lEa(a,-2,178793);YDa(a,178813);lEa(a,-2,178821);b=0;do{Hs(a,k[9456+(b<<3)+4>>2]|0,k[9456+(b<<3)>>2]|0)|0;b=b+1|0}while((b|0)!=20);jt(a)|0;Pr(a)|0;Hs(a,1473,265743)|0;Hs(a,1474,178825)|0;return 1}function _j(a){a=a|0;KA((NDa(a,1)|0)!=0);return 0}function $j(a){a=a|0;WDa(a,0);WDa(a,10);WDa(a,1);YDa(a,178520);return 4}function ak(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=r;r=r+192|0;k[d+160>>2]=0;k[d+160+4>>2]=0;k[d+160+8>>2]=0;if((DDa(a,1)|0)==4)drb(d+160|0,fHa(a,1,0)|0)|0;else{g=~~+lHa(a,1);f=~~+lHa(a,2);e=~~+lHa(a,3);k[d+16+8>>2]=9184;b=d+16+12|0;k[d+16>>2]=9388;k[d+16+64>>2]=9408;k[d+16+4>>2]=0;Fsb(d+16+64|0,b);k[d+16+136>>2]=0;k[d+16+140>>2]=-1;k[d+16>>2]=9164;k[d+16+64>>2]=9204;k[d+16+8>>2]=9184;Hsb(b);k[b>>2]=9220;c=d+16+44|0;k[c>>2]=0;k[c+4>>2]=0;k[c+8>>2]=0;k[c+12>>2]=0;k[d+16+60>>2]=24;k[d+172>>2]=0;k[d+172+4>>2]=0;k[d+172+8>>2]=0;ok(b,d+172|0);_qb(d+172|0);Osb(pk(Osb(pk(Osb(d+16+8|0,g)|0,616745,1)|0,f)|0,616745,1)|0,e)|0;rk(d,b);if(!(i[d+160>>0]&1)){i[d+160+1>>0]=0;i[d+160>>0]=0}else{i[k[d+160+8>>2]>>0]=0;k[d+160+4>>2]=0}crb(d+160|0,0);k[d+160>>2]=k[d>>2];k[d+160+4>>2]=k[d+4>>2];k[d+160+8>>2]=k[d+8>>2];k[d>>2]=0;k[d+4>>2]=0;k[d+8>>2]=0;_qb(d);k[d+16>>2]=9164;k[d+16+64>>2]=9204;k[d+16+8>>2]=9184;k[b>>2]=9220;_qb(c);Irb(b);Erb(d+16+64|0)}if(srb(d+160|0,178513)|0)if(srb(d+160|0,178624)|0){aEa(a,0);_qb(d+160|0);r=d;return 1}aEa(a,1);_qb(d+160|0);r=d;return 1}function bk(a){a=a|0;k[a>>2]=9164;k[a+64>>2]=9204;k[a+8>>2]=9184;k[a+12>>2]=9220;_qb(a+44|0);Irb(a+12|0);Erb(a+64|0);return}function ck(a){a=a|0;k[a>>2]=9220;_qb(a+32|0);Irb(a);return}function dk(a){a=a|0;k[a>>2]=9220;_qb(a+32|0);Irb(a);CAb(a);return}function ek(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0;g=k[b+44>>2]|0;j=k[b+24>>2]|0;if(g>>>0>>0){k[b+44>>2]=j;g=j}if(!(f&24)){k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=-1;k[a+8+4>>2]=-1;return}if((e|0)==1&(f&24|0)==24){k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=-1;k[a+8+4>>2]=-1;return}a:do switch(e|0){case 0:{e=0;h=0;break}case 1:if(!(f&8)){h=j-(k[b+20>>2]|0)|0;e=h;h=((h|0)<0)<<31>>31;break a}else{h=(k[b+12>>2]|0)-(k[b+8>>2]|0)|0;e=h;h=((h|0)<0)<<31>>31;break a}case 2:{if(!(i[b+32>>0]&1))e=b+32+1|0;else e=k[b+40>>2]|0;h=g-e|0;e=h;h=((h|0)<0)<<31>>31;break}default:{k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=-1;k[a+8+4>>2]=-1;return}}while(0);e=xBb(e|0,h|0,c|0,d|0)|0;h=L;if((h|0)>=0){if(!(i[b+32>>0]&1))c=b+32+1|0;else c=k[b+40>>2]|0;d=g-c|0;if(!((((d|0)<0)<<31>>31|0)<(h|0)|(((d|0)<0)<<31>>31|0)==(h|0)&d>>>0>>0)){if(!((e|0)==0&(h|0)==0)){if(f&8|0)if(!(k[b+12>>2]|0)){k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=-1;k[a+8+4>>2]=-1;return}if((f&16|0)!=0&(j|0)==0){k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=-1;k[a+8+4>>2]=-1;return}}if(f&8|0){k[b+12>>2]=(k[b+8>>2]|0)+e;k[b+16>>2]=g}if(f&16|0)k[b+24>>2]=(k[b+20>>2]|0)+e;k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=e;k[a+8+4>>2]=h;return}}k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=-1;k[a+8+4>>2]=-1;return}function fk(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Ti[k[(k[b>>2]|0)+16>>2]&63](a,b,k[c+8>>2]|0,k[c+8+4>>2]|0,0,d);return}function gk(a){a=a|0;var b=0,c=0;b=k[a+44>>2]|0;c=k[a+24>>2]|0;if(b>>>0>>0){k[a+44>>2]=c;b=c}if(!(k[a+48>>2]&8)){a=-1;return a|0}c=k[a+16>>2]|0;if(c>>>0>>0){k[a+16>>2]=b;c=b}b=k[a+12>>2]|0;if(b>>>0>=c>>>0){a=-1;return a|0}a=l[b>>0]|0;return a|0}function hk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=k[a+44>>2]|0;d=k[a+24>>2]|0;if(c>>>0>>0){k[a+44>>2]=d;c=d}d=k[a+12>>2]|0;if((k[a+8>>2]|0)>>>0>=d>>>0){a=-1;return a|0}if((b|0)==-1){k[a+12>>2]=d+-1;k[a+16>>2]=c;a=0;return a|0}if(!(k[a+48>>2]&16))if((b&255)<<24>>24==(i[d+-1>>0]|0)){e=b&255;d=d+-1|0}else{a=-1;return a|0}else{e=b&255;d=d+-1|0}k[a+12>>2]=d;k[a+16>>2]=c;i[d>>0]=e;a=b;return a|0}function ik(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0;n=r;r=r+16|0;if((b|0)==-1){a=0;r=n;return a|0}m=(k[a+12>>2]|0)-(k[a+8>>2]|0)|0;l=k[a+24>>2]|0;c=k[a+28>>2]|0;if((l|0)==(c|0)){if(!(k[a+48>>2]&16)){a=-1;r=n;return a|0}e=k[a+20>>2]|0;f=(k[a+44>>2]|0)-e|0;jrb(a+32|0,0);if(!(i[a+32>>0]&1))c=10;else c=(k[a+32>>2]&-2)+-1|0;erb(a+32|0,c,0);c=i[a+32>>0]|0;if(!(c&1)){d=a+32+1|0;c=(c&255)>>>1}else{d=k[a+40>>2]|0;c=k[a+36>>2]|0}g=d+c|0;k[a+20>>2]=d;k[a+28>>2]=g;l=d+(l-e)|0;k[a+24>>2]=l;d=d+f|0;k[a+44>>2]=d;h=a+44|0;j=a+48|0;e=a+44|0}else{h=a+44|0;j=a+48|0;e=a+44|0;d=k[a+44>>2]|0;g=c}f=l+1|0;k[n>>2]=f;d=k[(f>>>0>>0?e:n)>>2]|0;k[h>>2]=d;if(k[j>>2]&8|0){if(!(i[a+32>>0]&1))c=a+32+1|0;else c=k[a+40>>2]|0;k[a+8>>2]=c;k[a+12>>2]=c+m;k[a+16>>2]=d}if((l|0)==(g|0)){a=gj[k[(k[a>>2]|0)+52>>2]&511](a,b&255)|0;r=n;return a|0}else{k[a+24>>2]=f;i[l>>0]=b;a=b&255;r=n;return a|0}return 0}function jk(a){a=a|0;k[a>>2]=9164;k[a+64>>2]=9204;k[a+8>>2]=9184;k[a+12>>2]=9220;_qb(a+44|0);Irb(a+12|0);Erb(a+64|0);CAb(a);return}function kk(a){a=a|0;k[a+-8>>2]=9164;k[a+-8+64>>2]=9204;k[a+-8+8>>2]=9184;k[a+-8+12>>2]=9220;_qb(a+-8+44|0);Irb(a+-8+12|0);Erb(a+-8+64|0);return}function lk(a){a=a|0;k[a+-8>>2]=9164;k[a+-8+64>>2]=9204;k[a+-8+8>>2]=9184;k[a+-8+12>>2]=9220;_qb(a+-8+44|0);Irb(a+-8+12|0);Erb(a+-8+64|0);CAb(a+-8|0);return}function mk(a){a=a|0;a=a+(k[(k[a>>2]|0)+-12>>2]|0)|0;k[a>>2]=9164;k[a+64>>2]=9204;k[a+8>>2]=9184;k[a+12>>2]=9220;_qb(a+44|0);Irb(a+12|0);Erb(a+64|0);return}function nk(a){a=a|0;a=a+(k[(k[a>>2]|0)+-12>>2]|0)|0;k[a>>2]=9164;k[a+64>>2]=9204;k[a+8>>2]=9184;k[a+12>>2]=9220;_qb(a+44|0);Irb(a+12|0);Erb(a+64|0);CAb(a);return}function ok(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;$qb(a+32|0,b)|0;k[a+44>>2]=0;e=k[a+48>>2]|0;if(e&8|0){b=i[a+32>>0]|0;if(!(b&1)){k[a+44>>2]=((b&255)>>>1)+(a+32+1);b=((b&255)>>>1)+(a+32+1)|0;c=a+32+1|0;d=a+32+1|0}else{d=k[a+40>>2]|0;b=d+(k[a+36>>2]|0)|0;k[a+44>>2]=b;c=d}k[a+8>>2]=c;k[a+12>>2]=d;k[a+16>>2]=b}if(!(e&16))return;b=i[a+32>>0]|0;if(!(b&1)){k[a+44>>2]=a+32+1+((b&255)>>>1);c=10;e=(b&255)>>>1}else{e=k[a+36>>2]|0;k[a+44>>2]=(k[a+40>>2]|0)+e;c=(k[a+32>>2]&-2)+-1|0}erb(a+32|0,c,0);b=i[a+32>>0]|0;if(!(b&1)){d=a+32+1|0;b=(b&255)>>>1;c=a+32+1|0}else{c=k[a+40>>2]|0;d=c;b=k[a+36>>2]|0}k[a+24>>2]=c;k[a+20>>2]=c;k[a+28>>2]=d+b;if(!(k[a+48>>2]&3))return;k[a+24>>2]=c+e;return}function pk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=r;r=r+16|0;Msb(g,a);if(!(i[g>>0]|0)){Nsb(g);r=g;return a|0}f=a+(k[(k[a>>2]|0)+-12>>2]|0)|0;k[g+8>>2]=k[f+24>>2];e=k[f+4>>2]|0;d=k[f+76>>2]|0;if((d|0)==-1){d=Gsb(f)|0;k[g+12>>2]=d;d=gtb(g+12|0,1203700)|0;d=gj[k[(k[d>>2]|0)+28>>2]&511](d,32)|0;pAb(g+12|0);k[f+76>>2]=d<<24>>24;d=d<<24>>24}k[g+12>>2]=k[g+8>>2];if(qk(g+12|0,b,(e&176|0)==32?b+c|0:b,b+c|0,f,d&255)|0){Nsb(g);r=g;return a|0}b=a+(k[(k[a>>2]|0)+-12>>2]|0)|0;Esb(b,k[b+16>>2]|5);Nsb(g);r=g;return a|0}function qk(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0;j=r;r=r+16|0;g=k[a>>2]|0;if(!g){a=0;r=j;return a|0}h=k[e+12>>2]|0;h=(h|0)>(d-b|0)?h-(d-b)|0:0;if((c-b|0)>0)if((Ri[k[(k[g>>2]|0)+48>>2]&255](g,b,c-b|0)|0)!=(c-b|0)){k[a>>2]=0;a=0;r=j;return a|0}do if((h|0)>0){Xqb(j,h,f);if((Ri[k[(k[g>>2]|0)+48>>2]&255](g,(i[j>>0]&1)==0?j+1|0:k[j+8>>2]|0,h)|0)==(h|0)){_qb(j);break}k[a>>2]=0;_qb(j);a=0;r=j;return a|0}while(0);if((d-c|0)>0)if((Ri[k[(k[g>>2]|0)+48>>2]&255](g,c,d-c|0)|0)!=(d-c|0)){k[a>>2]=0;a=0;r=j;return a|0}k[e+12>>2]=0;a=g;r=j;return a|0}function rk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=k[b+48>>2]|0;if(c&16|0){c=k[b+44>>2]|0;d=k[b+24>>2]|0;if(c>>>0>>0)k[b+44>>2]=d;else d=c;b=k[b+20>>2]|0;f=d-b|0;if(f>>>0>4294967279)Tqb(a);if(f>>>0<11){i[a>>0]=f<<1;c=a+1|0}else{c=kBb(f+16&-16)|0;k[a+8>>2]=c;k[a>>2]=f+16&-16|1;k[a+4>>2]=f}if((b|0)!=(d|0)){e=c;while(1){i[e>>0]=i[b>>0]|0;b=b+1|0;if((b|0)==(d|0))break;else e=e+1|0}c=c+f|0}i[c>>0]=0;return}if(!(c&8)){k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;return}f=k[b+8>>2]|0;e=k[b+16>>2]|0;if((e-f|0)>>>0>4294967279)Tqb(a);if((e-f|0)>>>0<11){i[a>>0]=e-f<<1;c=a+1|0}else{c=kBb(e-f+16&-16)|0;k[a+8>>2]=c;k[a>>2]=e-f+16&-16|1;k[a+4>>2]=e-f}if((f|0)!=(e|0)){d=f;b=c;while(1){i[b>>0]=i[d>>0]|0;d=d+1|0;if((d|0)==(e|0))break;else b=b+1|0}c=c+(e-f)|0}i[c>>0]=0;return}function sk(a){a=a|0;if(FHa(a,179019,55900,234919)|0)return 1;qEa(a,0,1);return 1}function tk(a){a=a|0;if(FHa(a,234940,17263,252203)|0)return 1;qEa(a,0,1);return 1}function uk(a){a=a|0;Rs(a,25,621184);return 1}function vk(a){a=a|0;var b=0,c=0,d=0,e=0;e=r;r=r+32|0;if((xDa(a)|0)>0){Qk(e+8|0,a,1);c=k[e+8>>2]|0;d=k[e+8+4>>2]|0}else{c=0;d=0}b=aF(621176)|0;if((xDa(a)|0)>0){k[e>>2]=c;k[e+4>>2]=d;k[e+16>>2]=k[e>>2];k[e+16+4>>2]=k[e+4>>2];nF(b,e+16|0)}Rs(a,25,b);Si[k[(k[b>>2]|0)+12>>2]&1023](b);r=e;return 1}function wk(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0.0;g=r;r=r+32|0;k[g+8>>2]=0;f=g+8+4|0;k[f>>2]=0;k[g+8+8>>2]=0;if((DDa(a,1)|0)==5){e=Ps(a,1)|0;d=k[g+8>>2]|0;if((k[g+8+8>>2]|0)-d>>3>>>0<((e|0)/2|0)>>>0){b=(k[f>>2]|0)-d|0;if((e+1|0)>>>0<3)c=0;else c=kBb(((e|0)/2|0)<<3)|0;h=c+(b>>3<<3)|0;ABb(h+(0-(b>>3)<<3)|0,d|0,b|0)|0;k[g+8>>2]=h+(0-(b>>3)<<3);k[f>>2]=h;k[g+8+8>>2]=c+(((e|0)/2|0)<<3);if(d|0)CAb(d)}if((e|0)>=1){c=1;do{gEa(a,1,c);gEa(a,1,c+1|0);o[g>>2]=0.0;o[g+4>>2]=0.0;i=+lHa(a,-2);o[g>>2]=i;i=+lHa(a,-1);o[g+4>>2]=i;b=k[f>>2]|0;if((b|0)==(k[g+8+8>>2]|0))xk(g+8|0,g);else{h=k[g+4>>2]|0;k[b>>2]=k[g>>2];k[b+4>>2]=h;k[f>>2]=(k[f>>2]|0)+8}yDa(a,-3);c=c+2|0}while((c|0)<=(e|0))}}else{e=xDa(a)|0;b=k[g+8>>2]|0;if((k[g+8+8>>2]|0)-b>>3>>>0<((e|0)/2|0)>>>0){c=(k[f>>2]|0)-b|0;if((e+1|0)>>>0<3)d=0;else d=kBb(((e|0)/2|0)<<3)|0;h=d+(c>>3<<3)|0;ABb(h+(0-(c>>3)<<3)|0,b|0,c|0)|0;k[g+8>>2]=h+(0-(c>>3)<<3);k[f>>2]=h;k[g+8+8>>2]=d+(((e|0)/2|0)<<3);if(b|0)CAb(b)}if((e|0)>=1){c=1;do{o[g>>2]=0.0;o[g+4>>2]=0.0;i=+lHa(a,c);o[g>>2]=i;i=+lHa(a,c+1|0);o[g+4>>2]=i;b=k[f>>2]|0;if((b|0)==(k[g+8+8>>2]|0))xk(g+8|0,g);else{h=k[g+4>>2]|0;k[b>>2]=k[g>>2];k[b+4>>2]=h;k[f>>2]=(k[f>>2]|0)+8}c=c+2|0}while((c|0)<=(e|0))}}b=bF(621176,g+8|0)|0;Rs(a,26,b);Si[k[(k[b>>2]|0)+12>>2]&1023](b);b=k[g+8>>2]|0;if(!b){r=g;return 1}c=k[f>>2]|0;if((c|0)!=(b|0))k[f>>2]=c+(~((c+-8-b|0)>>>3)<<3);CAb(b);r=g;return 1}function xk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=k[a>>2]|0;c=((k[a+4>>2]|0)-i>>3)+1|0;if(c>>>0>536870911)xzb(a);d=(k[a+8>>2]|0)-i|0;if(d>>3>>>0<268435455){c=d>>2>>>0>>0?c:d>>2;e=k[a+4>>2]|0;if(!c){h=0;f=0;d=e-i>>3;c=e}else{g=e;d=e-i>>3;j=6}}else{d=k[a+4>>2]|0;c=536870911;g=d;d=d-i>>3;j=6}if((j|0)==6){h=c;f=kBb(c<<3)|0;c=g}j=f+(d<<3)|0;g=k[b+4>>2]|0;k[j>>2]=k[b>>2];k[j+4>>2]=g;b=c-i|0;ABb(j+(0-(b>>3)<<3)|0,i|0,b|0)|0;k[a>>2]=j+(0-(b>>3)<<3);k[a+4>>2]=j+8;k[a+8>>2]=f+(h<<3);if(!i)return;CAb(i);return}function yk(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0.0;g=r;r=r+112|0;k[g+16>>2]=0;f=g+16+4|0;k[f>>2]=0;k[g+16+8>>2]=0;if((DDa(a,1)|0)==5){e=Ps(a,1)|0;b=k[g+16>>2]|0;if((((k[g+16+8>>2]|0)-b|0)/20|0)>>>0<((e|0)/2|0)>>>0){c=(k[f>>2]|0)-b|0;if((e+1|0)>>>0<3)d=0;else d=kBb(((e|0)/2|0)*20|0)|0;h=d+(((c|0)/20|0)*20|0)|0;ABb(h+(((c|0)/-20|0)*20|0)|0,b|0,c|0)|0;k[g+16>>2]=h+(((c|0)/-20|0)*20|0);k[f>>2]=h;k[g+16+8>>2]=d+(((e|0)/2|0)*20|0);if(b|0)CAb(b)}if((e|0)<1)b=g+16|0;else{c=1;do{gEa(a,1,c);gEa(a,1,c+1|0);i=+lHa(a,-2);o[g+40>>2]=i;i=+lHa(a,-1);o[g+40+4>>2]=i;b=k[f>>2]|0;if((b|0)==(k[g+16+8>>2]|0))zk(g+16|0,g+40|0);else{k[b>>2]=k[g+40>>2];k[b+4>>2]=k[g+40+4>>2];k[b+8>>2]=k[g+40+8>>2];k[b+12>>2]=k[g+40+12>>2];k[b+16>>2]=k[g+40+16>>2];k[f>>2]=b+20}yDa(a,-3);c=c+2|0}while((c|0)<=(e|0));b=g+16|0}}else{e=xDa(a)|0;b=k[g+16>>2]|0;if((((k[g+16+8>>2]|0)-b|0)/20|0)>>>0<((e|0)/2|0)>>>0){c=(k[f>>2]|0)-b|0;if((e+1|0)>>>0<3)d=0;else d=kBb(((e|0)/2|0)*20|0)|0;h=d+(((c|0)/20|0)*20|0)|0;ABb(h+(((c|0)/-20|0)*20|0)|0,b|0,c|0)|0;k[g+16>>2]=h+(((c|0)/-20|0)*20|0);k[f>>2]=h;k[g+16+8>>2]=d+(((e|0)/2|0)*20|0);if(b|0)CAb(b)}if((e|0)<1)b=g+16|0;else{c=1;do{i=+lHa(a,c);o[g+40>>2]=i;i=+lHa(a,c+1|0);o[g+40+4>>2]=i;b=k[f>>2]|0;if((b|0)==(k[g+16+8>>2]|0))zk(g+16|0,g+40|0);else{k[b>>2]=k[g+40>>2];k[b+4>>2]=k[g+40+4>>2];k[b+8>>2]=k[g+40+8>>2];k[b+12>>2]=k[g+40+12>>2];k[b+16>>2]=k[g+40+16>>2];k[f>>2]=b+20}c=c+2|0}while((c|0)<=(e|0));b=g+16|0}}b=k[b>>2]|0;c=(k[f>>2]|0)-b|0;if(((c|0)/20|0)>>>0<3)b=aHa(a,252212,g)|0;else{k[g+4>>2]=0;e=g+4+4|0;k[e>>2]=0;k[g+4+8>>2]=0;if((c|0)==60){k[g+40>>2]=k[b>>2];k[g+40+4>>2]=k[b+4>>2];k[g+40+8>>2]=k[b+8>>2];k[g+40+12>>2]=k[b+12>>2];k[g+40+16>>2]=k[b+16>>2];h=g+40+20|0;k[h>>2]=k[b+20>>2];k[h+4>>2]=k[b+20+4>>2];k[h+8>>2]=k[b+20+8>>2];k[h+12>>2]=k[b+20+12>>2];k[h+16>>2]=k[b+20+16>>2];h=g+40+40|0;k[h>>2]=k[b+40>>2];k[h+4>>2]=k[b+40+4>>2];k[h+8>>2]=k[b+40+8>>2];k[h+12>>2]=k[b+40+12>>2];k[h+16>>2]=k[b+40+16>>2];Ak(g+4|0,g+40|0)}else{cF(g+28|0,621176,g+16|0);b=k[g+4>>2]|0;if(!b)b=g+4+8|0;else{c=k[e>>2]|0;if((c|0)!=(b|0))k[e>>2]=c+(~(((c+-60-b|0)>>>0)/60|0)*60|0);CAb(b);k[g+4+8>>2]=0;k[e>>2]=0;k[g+4>>2]=0;b=g+4+8|0}k[g+4>>2]=k[g+28>>2];k[e>>2]=k[g+28+4>>2];k[b>>2]=k[g+28+8>>2];k[g+28+8>>2]=0;k[g+28+4>>2]=0;k[g+28>>2]=0}hEa(a,((k[e>>2]|0)-(k[g+4>>2]|0)|0)/60|0,0);d=0;while(1){b=k[e>>2]|0;c=k[g+4>>2]|0;if((d|0)>=((b-c|0)/60|0|0))break;hEa(a,6,0);VDa(a,+o[c+(d*60|0)>>2]);nEa(a,-2,1);VDa(a,+o[c+(d*60|0)+4>>2]);nEa(a,-2,2);VDa(a,+o[c+(d*60|0)+20>>2]);nEa(a,-2,3);VDa(a,+o[c+(d*60|0)+24>>2]);nEa(a,-2,4);VDa(a,+o[c+(d*60|0)+40>>2]);nEa(a,-2,5);VDa(a,+o[c+(d*60|0)+44>>2]);nEa(a,-2,6);h=d+1|0;nEa(a,-2,h);d=h}if(c|0){if((b|0)!=(c|0))k[e>>2]=b+(~(((b+-60-c|0)>>>0)/60|0)*60|0);CAb(c)}b=1}c=k[g+16>>2]|0;if(!c){r=g;return b|0}d=k[f>>2]|0;if((d|0)!=(c|0))k[f>>2]=d+(~(((d+-20-c|0)>>>0)/20|0)*20|0);CAb(c);r=g;return b|0}function zk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=k[a>>2]|0;d=(((k[a+4>>2]|0)-i|0)/20|0)+1|0;if(d>>>0>214748364)xzb(a);c=((k[a+8>>2]|0)-i|0)/20|0;if(c>>>0<107374182){c=c<<1>>>0>>0?d:c<<1;e=k[a+4>>2]|0;if(!c){h=0;f=0;d=(e-i|0)/20|0;c=e}else{g=e;d=(e-i|0)/20|0;j=6}}else{d=k[a+4>>2]|0;c=214748364;g=d;d=(d-i|0)/20|0;j=6}if((j|0)==6){h=c;f=kBb(c*20|0)|0;c=g}j=f+(d*20|0)|0;k[j>>2]=k[b>>2];k[j+4>>2]=k[b+4>>2];k[j+8>>2]=k[b+8>>2];k[j+12>>2]=k[b+12>>2];k[j+16>>2]=k[b+16>>2];b=c-i|0;ABb(j+(((b|0)/-20|0)*20|0)|0,i|0,b|0)|0;k[a>>2]=j+(((b|0)/-20|0)*20|0);k[a+4>>2]=j+20;k[a+8>>2]=f+(h*20|0);if(!i)return;CAb(i);return}function Ak(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=k[a>>2]|0;d=(((k[a+4>>2]|0)-j|0)/60|0)+1|0;if(d>>>0>71582788)xzb(a);c=((k[a+8>>2]|0)-j|0)/60|0;if(c>>>0<35791394){c=c<<1>>>0>>0?d:c<<1;e=k[a+4>>2]|0;if(!c){h=0;c=0;d=(e-j|0)/60|0;i=e}else{f=e;d=(e-j|0)/60|0;g=6}}else{d=k[a+4>>2]|0;c=71582788;f=d;d=(d-j|0)/60|0;g=6}if((g|0)==6){h=c;c=kBb(c*60|0)|0;i=f}g=c+(d*60|0)|0;e=c+(h*60|0)|0;f=g;c=b;d=f+60|0;do{k[f>>2]=k[c>>2];f=f+4|0;c=c+4|0}while((f|0)<(d|0));b=i-j|0;ABb(g+(((b|0)/-60|0)*60|0)|0,j|0,b|0)|0;k[a>>2]=g+(((b|0)/-60|0)*60|0);k[a+4>>2]=g+60;k[a+8>>2]=e;if(!j)return;CAb(j);return}function Bk(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0.0;g=r;r=r+32|0;k[g+20>>2]=0;f=g+20+4|0;k[f>>2]=0;k[g+20+8>>2]=0;if((DDa(a,1)|0)==5){e=Ps(a,1)|0;d=k[g+20>>2]|0;if((((k[g+20+8>>2]|0)-d|0)/20|0)>>>0<((e|0)/2|0)>>>0){b=(k[f>>2]|0)-d|0;if((e+1|0)>>>0<3)c=0;else c=kBb(((e|0)/2|0)*20|0)|0;h=c+(((b|0)/20|0)*20|0)|0;ABb(h+(((b|0)/-20|0)*20|0)|0,d|0,b|0)|0;k[g+20>>2]=h+(((b|0)/-20|0)*20|0);k[f>>2]=h;k[g+20+8>>2]=c+(((e|0)/2|0)*20|0);if(d|0)CAb(d)}if((e|0)>=1){c=1;do{gEa(a,1,c);gEa(a,1,c+1|0);i=+lHa(a,-2);o[g>>2]=i;i=+lHa(a,-1);o[g+4>>2]=i;b=k[f>>2]|0;if((b|0)==(k[g+20+8>>2]|0))zk(g+20|0,g);else{k[b>>2]=k[g>>2];k[b+4>>2]=k[g+4>>2];k[b+8>>2]=k[g+8>>2];k[b+12>>2]=k[g+12>>2];k[b+16>>2]=k[g+16>>2];k[f>>2]=b+20}yDa(a,-3);c=c+2|0}while((c|0)<=(e|0))}}else{e=xDa(a)|0;b=k[g+20>>2]|0;if((((k[g+20+8>>2]|0)-b|0)/20|0)>>>0<((e|0)/2|0)>>>0){c=(k[f>>2]|0)-b|0;if((e+1|0)>>>0<3)d=0;else d=kBb(((e|0)/2|0)*20|0)|0;h=d+(((c|0)/20|0)*20|0)|0;ABb(h+(((c|0)/-20|0)*20|0)|0,b|0,c|0)|0;k[g+20>>2]=h+(((c|0)/-20|0)*20|0);k[f>>2]=h;k[g+20+8>>2]=d+(((e|0)/2|0)*20|0);if(b|0)CAb(b)}if((e|0)>=1){c=1;do{i=+lHa(a,c);o[g>>2]=i;i=+lHa(a,c+1|0);o[g+4>>2]=i;b=k[f>>2]|0;if((b|0)==(k[g+20+8>>2]|0))zk(g+20|0,g);else{k[b>>2]=k[g>>2];k[b+4>>2]=k[g+4>>2];k[b+8>>2]=k[g+8>>2];k[b+12>>2]=k[g+12>>2];k[b+16>>2]=k[g+16>>2];k[f>>2]=b+20}c=c+2|0}while((c|0)<=(e|0))}}rs(a,eF(621176,g+20|0)|0);b=k[g+20>>2]|0;if(!b){r=g;return 1}c=k[f>>2]|0;if((c|0)!=(b|0))k[f>>2]=c+(~(((c+-20-b|0)>>>0)/20|0)*20|0);CAb(b);r=g;return 1}function Ck(a){a=a|0;var b=0.0,c=0,d=0,e=0,f=0;f=r;r=r+16|0;d=Dk(a,f)|0;if((d|0)>0)e=0;else{r=f;return d|0}do{c=f+(e<<2)|0;b=+o[c>>2];if((e|0)<3){b=+fF(621176,b);o[c>>2]=b}VDa(a,b*255.0);e=e+1|0}while((e|0)!=(d|0));r=f;return d|0}function Dk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0.0;do if((DDa(a,1)|0)==5){d=Ps(a,1)|0;if((d|0)>0){e=1;c=0}else{yDa(a,-1);break}while(1){gEa(a,1,e);h=+lHa(a,-1)/255.0;o[b+(e+-1<<2)>>2]=h;f=c+1|0;g=e;e=e+1|0;if(!((g|0)<(d|0)&(e|0)<5))break;else c=f}yDa(a,-2-c|0);g=f;return g|0}else{d=xDa(a)|0;if((d|0)>0){e=1;c=0;do{h=+lHa(a,e)/255.0;o[b+(e+-1<<2)>>2]=h;c=c+1|0;g=e;e=e+1|0}while((g|0)<(d|0)&(e|0)<5);return c|0}}while(0);+lHa(a,1);g=0;return g|0}function Ek(a){a=a|0;var b=0.0,c=0,d=0,e=0,f=0;f=r;r=r+16|0;d=Dk(a,f)|0;if((d|0)>0)e=0;else{r=f;return d|0}do{c=f+(e<<2)|0;b=+o[c>>2];if((e|0)<3){b=+gF(621176,b);o[c>>2]=b}VDa(a,b*255.0);e=e+1|0}while((e|0)!=(d|0));r=f;return d|0}function Fk(a){a=a|0;var b=0.0,c=0,d=0,e=0,f=0;e=r;r=r+16|0;c=xDa(a)|0;c=(c|0)<1?1:c;c=(c|0)>4?4:c;if((c|0)>0){d=0;do{f=d;d=d+1|0;b=+lHa(a,d);o[e+(f<<2)>>2]=b}while((d|0)<(c|0))}switch(c|0){case 1:{b=+js(+o[e>>2])*.5+.5;break}case 2:{b=+ks(+o[e>>2],+o[e+4>>2])*.5+.5;break}case 3:{b=+hs(+o[e>>2],+o[e+4>>2],+o[e+8>>2])*.5+.5;break}case 4:{b=+is(+o[e>>2],+o[e+4>>2],+o[e+8>>2],+o[e+12>>2])*.5+.5;break}default:b=0.0}VDa(a,b);r=e;return 1}function Gk(a){a=a|0;var b=0,c=0,d=0;c=r;r=r+16|0;if((DDa(a,2)|0)<1)k[c+8>>2]=0;else{b=fHa(a,2,0)|0;k[c+8>>2]=0;if(b)if(!(VE(b,c+8|0)|0)){k[c>>2]=b;a=aHa(a,252252,c)|0;r=c;return a|0}}b=~~+mHa(a,3,-1.0);if(!(HDa(a,1)|0)){d=Hk(a,1,2)|0;b=hF(621176,k[c+8>>2]|0,d,b)|0}else{k[c+4>>2]=0;d=fHa(a,1,c+4|0)|0;b=iF(621176,k[c+8>>2]|0,d,k[c+4>>2]|0,b)|0}Rs(a,27,b);d=1;r=c;return d|0}function Hk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((DDa(a,b)|0)!=7){k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0}d=RDa(a,b)|0;if(k[(k[155799]|0)+(k[d>>2]<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0){c=d+4|0;c=k[c>>2]|0;r=e;return c|0}k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0;c=d+4|0;c=k[c>>2]|0;r=e;return c|0}function Ik(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+16|0;k[d+12>>2]=0;if(Ss(a,1,27)|0){b=JF(a,1)|0;c=IE(b)|0;k[d+12>>2]=c;b=jF(621176,b,d+12|0)|0}else{k[d+8>>2]=0;b=fHa(a,2,0)|0;if(!(VE(b,d+8|0)|0)){k[d>>2]=b;a=aHa(a,252252,d)|0;r=d;return a|0}k[d+4>>2]=0;if(Ss(a,1,2)|0){b=Hk(a,1,2)|0;c=Gi[k[(k[b>>2]|0)+16>>2]&2047](b)|0;b=Gi[k[(k[b>>2]|0)+20>>2]&2047](b)|0;k[d+4>>2]=b}else{c=fHa(a,1,d+4|0)|0;b=k[d+4>>2]|0}b=kF(621176,k[d+8>>2]|0,c,b,d+12|0)|0}XDa(a,b,k[d+12>>2]|0);if(!b){a=1;r=d;return a|0}oBb(b);a=1;r=d;return a|0}function Jk(a){a=a|0;var b=0,c=0;c=r;r=r+32|0;Si[k[(k[155294]|0)+8>>2]&1023](621176);k[c>>2]=621176;k[c+4>>2]=519150;k[c+8>>2]=3;k[c+12>>2]=9624;k[c+16>>2]=9712;b=Bs(a,c)|0;FHa(a,252416,3426,255842)|0;CDa(a,-2);bEa(a,9728);qEa(a,2,0);r=c;return b|0}function Kk(a){a=+a;return +(+js(a)*.5+.5)}function Lk(a,b){a=+a;b=+b;return +(+ks(a,b)*.5+.5)}function Mk(a,b,c){a=+a;b=+b;c=+c;return +(+hs(a,b,c)*.5+.5)}function Nk(a,b,c,d){a=+a;b=+b;c=+c;d=+d;return +(+is(a,b,c,d)*.5+.5)}function Ok(a){a=+a;return +(+fF(621176,a))}function Pk(a){a=+a;return +(+gF(621176,a))}function Qk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0,f=0;f=(DDa(b,c+1|0)|0)<1;d=+lHa(b,c);e=d!=d|0.0!=0.0|(d==B|d==-B);if(f){if(e)$Ga(b,c,255856)|0;f=+W(d)>=1.0?(d>0.0?~~+ia(+V(d/4294967296.0),4294967295.0)>>>0:~~+ga((d-+(~~d>>>0))/4294967296.0)>>>0):0;k[a>>2]=~~d>>>0;k[a+4>>2]=f;return}if(e)$Ga(b,c,255856)|0;k[a>>2]=~~d>>>0;d=+lHa(b,c+1|0);if(d!=d|0.0!=0.0|(d==B|d==-B))$Ga(b,c+1|0,255856)|0;k[a+4>>2]=~~d>>>0;return}function Rk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((DDa(a,b)|0)!=7){k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0}d=RDa(a,b)|0;if(k[(k[155799]|0)+(k[d>>2]<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0){c=d+4|0;c=k[c>>2]|0;r=e;return c|0}k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0;c=d+4|0;c=k[c>>2]|0;r=e;return c|0}function Sk(a){a=a|0;var b=0;b=oF(Rk(a,1,25)|0)|0;VDa(a,(+(b>>>0)+4294967296.0*+(L>>>0))*5.421010862427522e-20);return 1}function Tk(a){a=a|0;var b=0.0,c=0,d=0.0;c=Rk(a,1,25)|0;b=+mHa(a,2,1.0);d=+mHa(a,3,0.0);VDa(a,d+ +pF(c,b));return 1}function Uk(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;c=Rk(a,1,25)|0;Qk(b,a,2);k[b+8>>2]=k[b>>2];k[b+8+4>>2]=k[b+4>>2];nF(c,b+8|0);r=b;return 0}function Vk(a){a=a|0;var b=0;b=r;r=r+16|0;qF(b,Rk(a,1,25)|0);VDa(a,+((k[b>>2]|0)>>>0));VDa(a,+((k[b+4>>2]|0)>>>0));r=b;return 2}function Wk(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;c=Rk(a,1,25)|0;us(b,a,2);rF(c,b);_qb(b);r=b;return 0}function Xk(a){a=a|0;var b=0;b=r;r=r+16|0;sF(b,Rk(a,1,25)|0);vs(a,b);_qb(b);r=b;return 1}function Yk(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;k[c>>2]=9752;k[c+4>>2]=0;b=Is(a,25,255876,c)|0;Ns(a,25);if((DDa(a,-1)|0)!=5){yDa(a,-2);r=c;return b|0}FHa(a,255947,2474,258421)|0;CDa(a,-2);bEa(a,9808);qEa(a,2,0);yDa(a,-2);r=c;return b|0}function Zk(a){a=a|0;var b=0.0;if(!a){b=0.0;return +b}if(!(k[(k[155799]|0)+(k[a>>2]<<3)>>2]&33554432)){b=0.0;return +b}a=oF(k[a+4>>2]|0)|0;b=(+(a>>>0)+4294967296.0*+(L>>>0))*5.421010862427522e-20;return +b}function _k(a){a=a|0;var b=0,c=0,d=0,e=0;if(!(HDa(a,1)|0)){if(Ss(a,1,5)|0)b=4;else if(Ss(a,1,7)|0)b=4}else b=4;if((b|0)==4)Us(a,1,435995,437103)|0;d=$k(a,1,22)|0;c=~~+mHa(a,2,0.0);b=~~+mHa(a,3,0.0);e=k[155707]|0;b=nj[k[(k[e>>2]|0)+24>>2]&127](e,d,c,b)|0;Rs(a,31,b);Si[k[(k[b>>2]|0)+12>>2]&1023](b);return 1}function $k(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((DDa(a,b)|0)!=7){k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0}d=RDa(a,b)|0;if(k[(k[155799]|0)+(k[d>>2]<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0){c=d+4|0;c=k[c>>2]|0;r=e;return c|0}k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0;c=d+4|0;c=k[c>>2]|0;r=e;return c|0}function al(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=fHa(a,1,0)|0;if(nG(b,c+4|0)|0){b=k[155707]|0;Rs(a,31,gj[k[(k[b>>2]|0)+28>>2]&511](b,k[c+4>>2]|0)|0);a=1;r=c;return a|0}else{k[c>>2]=b;a=aHa(a,258446,c)|0;r=c;return a|0}return 0}function bl(a){a=a|0;var b=0;if((DDa(a,1)|0)<1){a=k[155707]|0;Si[k[(k[a>>2]|0)+36>>2]&1023](a);return 0}else{a=qG(a,1)|0;b=k[155707]|0;Di[k[(k[b>>2]|0)+32>>2]&511](b,a);return 0}return 0}function cl(a){a=a|0;var b=0;b=k[155707]|0;b=Gi[k[(k[b>>2]|0)+40>>2]&2047](b)|0;if(!b){UDa(a);return 1}else{Rs(a,31,b);return 1}return 0}function dl(a){a=a|0;var b=0;b=k[155707]|0;rs(a,Gi[k[(k[b>>2]|0)+44>>2]&2047](b)|0);return 1}function el(a){a=a|0;var b=0;b=k[155707]|0;VDa(a,+Xi[k[(k[b>>2]|0)+48>>2]&63](b));return 1}function fl(a){a=a|0;var b=0;b=k[155707]|0;VDa(a,+Xi[k[(k[b>>2]|0)+52>>2]&63](b));return 1}function gl(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;c=k[155707]|0;kj[k[(k[c>>2]|0)+56>>2]&255](c,b+8|0,b);VDa(a,+p[b+8>>3]);VDa(a,+p[b>>3]);r=b;return 2}function hl(a){a=a|0;var b=0.0;b=+lHa(a,1);a=k[155707]|0;Ai[k[(k[a>>2]|0)+60>>2]&31](a,b);return 0}function il(a){a=a|0;var b=0.0;b=+lHa(a,1);a=k[155707]|0;Ai[k[(k[a>>2]|0)+64>>2]&31](a,b);return 0}function jl(a){a=a|0;var b=0.0,c=0.0;c=+lHa(a,1);b=+lHa(a,2);a=k[155707]|0;Qi[k[(k[a>>2]|0)+68>>2]&3](a,c,b);return 0}function kl(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;g=r;r=r+16|0;b=xDa(a)|0;k[g+4>>2]=0;f=g+4+4|0;k[f>>2]=0;k[g+4+8>>2]=0;if(b|0){e=kBb(b<<2)|0;k[g+4>>2]=e;k[f>>2]=e;k[g+4+8>>2]=e+(b<<2);if((b|0)>0){e=0;do{e=e+1|0;c=~~+lHa(a,e);k[g>>2]=c;d=k[f>>2]|0;if(d>>>0<(k[g+4+8>>2]|0)>>>0){k[d>>2]=c;k[f>>2]=d+4}else ll(g+4|0,g)}while((e|0)<(b|0))}}b=k[155707]|0;rs(a,gj[k[(k[b>>2]|0)+76>>2]&511](b,g+4|0)|0);b=k[g+4>>2]|0;if(!b){r=g;return 1}c=k[f>>2]|0;if((c|0)!=(b|0))k[f>>2]=c+(~((c+-4-b|0)>>>2)<<2);CAb(b);r=g;return 1}function ll(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=k[a>>2]|0;c=((k[a+4>>2]|0)-i>>2)+1|0;if(c>>>0>1073741823)xzb(a);d=(k[a+8>>2]|0)-i|0;if(d>>2>>>0<536870911){c=d>>1>>>0>>0?c:d>>1;e=k[a+4>>2]|0;if(!c){h=0;f=0;d=e-i>>2;c=e}else{g=e;d=e-i>>2;j=6}}else{d=k[a+4>>2]|0;c=1073741823;g=d;d=d-i>>2;j=6}if((j|0)==6){h=c;f=kBb(c<<2)|0;c=g}j=f+(d<<2)|0;k[j>>2]=k[b>>2];b=c-i|0;ABb(j+(0-(b>>2)<<2)|0,i|0,b|0)|0;k[a>>2]=j+(0-(b>>2)<<2);k[a+4>>2]=j+4;k[a+8>>2]=f+(h<<2);if(!i)return;CAb(i);return}function ml(a){a=a|0;var b=0;a=qs(a,1)|0;b=k[155707]|0;Di[k[(k[b>>2]|0)+72>>2]&511](b,a);return 0}function nl(a){a=a|0;var b=0;b=k[155707]|0;rs(a,Gi[k[(k[b>>2]|0)+80>>2]&2047](b)|0);return 1}function ol(a){a=a|0;var b=0;a=qs(a,1)|0;b=k[155707]|0;Di[k[(k[b>>2]|0)+84>>2]&511](b,a);return 0}function pl(a){a=a|0;var b=0;b=k[155707]|0;rs(a,Gi[k[(k[b>>2]|0)+88>>2]&2047](b)|0);return 1}function ql(a){a=a|0;var b=0,c=0;b=qs(a,1)|0;c=k[155707]|0;rs(a,gj[k[(k[c>>2]|0)+92>>2]&511](c,b)|0);return 1}function rl(a){a=a|0;var b=0;b=k[155707]|0;rs(a,Gi[k[(k[b>>2]|0)+96>>2]&2047](b)|0);return 1}function sl(a){a=a|0;var b=0,c=0;c=r;r=r+32|0;b=k[155707]|0;if(!b){b=kBb(24)|0;jG(b)}else Si[k[(k[b>>2]|0)+8>>2]&1023](b);k[c>>2]=b;k[c+4>>2]=356703;k[c+8>>2]=3;k[c+12>>2]=9812;k[c+16>>2]=9964;a=Bs(a,c)|0;r=c;return a|0}function tl(a){a=a|0;var b=0,c=0.0,d=0.0;d=+mHa(a,1,0.0);c=+mHa(a,2,0.0);b=ss(a,3,1)|0;b=OG(k[155708]|0,d,c,b)|0;Rs(a,32,b);Si[k[(k[b>>2]|0)+12>>2]&1023](b);return 1}function ul(a){a=a|0;var b=0,c=0,d=0.0,e=0.0,f=0;f=r;r=r+16|0;c=rn(a,1)|0;d=+mHa(a,2,0.0);e=+mHa(a,3,0.0);k[f+4>>2]=1;do if((DDa(a,4)|0)<1)b=1;else{b=ODa(a,4,0)|0;if(!b)b=1;else{if(Sn(b,f+4|0)|0){b=k[f+4>>2]|0;break}k[f>>2]=b;a=aHa(a,258597,f)|0;r=f;return a|0}}while(0);c=PG(k[155708]|0,c,d,e,b)|0;Rs(a,34,c);Si[k[(k[c>>2]|0)+12>>2]&1023](c);a=1;r=f;return a|0}function vl(a){a=a|0;var b=0,c=0.0,d=0;d=_J(a,1)|0;b=Vm(a,2)|0;c=+mHa(a,3,1.0);b=jH(k[155708]|0,d,b,c)|0;Rs(a,35,b);Si[k[(k[b>>2]|0)+12>>2]&1023](b);return 1}function wl(a){a=a|0;var b=0,c=0,d=0.0,e=0.0,f=0.0;b=r;r=r+16|0;switch(xDa(a)|0){case 1:{d=+lHa(a,1);c=QG(k[155708]|0,d)|0;Rs(a,37,c);Si[k[(k[c>>2]|0)+12>>2]&1023](c);a=1;r=b;return a|0}case 3:{f=+lHa(a,1);e=+lHa(a,2);d=+lHa(a,3);c=RG(k[155708]|0,f,e,d)|0;Rs(a,37,c);Si[k[(k[c>>2]|0)+12>>2]&1023](c);c=1;r=b;return c|0}default:{c=aHa(a,258619,b)|0;r=b;return c|0}}return 0}function xl(a){a=a|0;var b=0,c=0,d=0.0,e=0.0,f=0.0,g=0.0,h=0.0;c=r;r=r+16|0;b=xDa(a)|0;if((b|0)==2){e=+lHa(a,1);d=+lHa(a,2);b=UG(k[155708]|0,e,d)|0;Rs(a,38,b);Si[k[(k[b>>2]|0)+12>>2]&1023](b);a=1;r=c;return a|0}if((b|1|0)==5){h=+lHa(a,1);g=+lHa(a,2);f=+lHa(a,3);d=+lHa(a,4);e=+mHa(a,5,0.0);b=VG(k[155708]|0,h,g,f,d,e)|0;Rs(a,38,b);Si[k[(k[b>>2]|0)+12>>2]&1023](b);a=1;r=c;return a|0}else{a=aHa(a,258619,c)|0;r=c;return a|0}return 0}function yl(a){a=a|0;var b=0,c=0.0,d=0.0,e=0.0,f=0.0;f=+lHa(a,1);e=+lHa(a,2);d=+lHa(a,3);c=+lHa(a,4);b=WG(k[155708]|0,f,e,d,c)|0;Rs(a,39,b);Si[k[(k[b>>2]|0)+12>>2]&1023](b);return 1}function zl(a){a=a|0;return XG(k[155708]|0,a)|0}function Al(a){a=a|0;return YG(k[155708]|0,a)|0}function Bl(a){a=a|0;var b=0,c=0.0,d=0.0,e=0.0,f=0.0,g=0,h=0;h=_J(a,1)|0;g=_J(a,2)|0;f=+lHa(a,3);e=+lHa(a,4);d=+lHa(a,5);c=+lHa(a,6);b=ss(a,7,0)|0;b=ZG(k[155708]|0,h,g,f,e,d,c,b)|0;Rs(a,43,b);Si[k[(k[b>>2]|0)+12>>2]&1023](b);return 1}function Cl(a){a=a|0;var b=0,c=0.0,d=0.0;b=_J(a,1)|0;d=+lHa(a,2);c=+lHa(a,3);b=_G(k[155708]|0,b,d,c)|0;Rs(a,42,b);Si[k[(k[b>>2]|0)+12>>2]&1023](b);return 1}function Dl(a){a=a|0;var b=0,c=0.0,d=0.0,e=0,f=0;f=_J(a,1)|0;e=_J(a,2)|0;d=+lHa(a,3);c=+lHa(a,4);b=ss(a,5,0)|0;b=$G(k[155708]|0,f,e,d,c,b)|0;Rs(a,45,b);Si[k[(k[b>>2]|0)+12>>2]&1023](b);return 1}function El(a){a=a|0;var b=0.0,c=0.0,d=0,e=0,f=0.0,g=0.0,h=0.0,i=0.0,j=0;d=_J(a,1)|0;e=_J(a,2)|0;f=+lHa(a,3);g=+lHa(a,4);j=(xDa(a)|0)>7;b=+lHa(a,5);c=+lHa(a,6);if(j){h=+lHa(a,7);i=+lHa(a,8);j=ss(a,9,0)|0}else{h=b;i=c;j=ss(a,7,0)|0;b=f;c=g}j=aH(k[155708]|0,d,e,f,g,b,c,h,i,j)|0;Rs(a,44,j);Si[k[(k[j>>2]|0)+12>>2]&1023](j);return 1}function Fl(a){a=a|0;var b=0,c=0,d=0.0,e=0,f=0,g=0,h=0.0,i=0.0,j=0.0,l=0.0,m=0.0,n=0.0,p=0.0,q=0.0;b=r;r=r+64|0;f=_J(a,1)|0;e=_J(a,2)|0;q=+lHa(a,3);p=+lHa(a,4);n=+lHa(a,5);m=+lHa(a,6);l=+lHa(a,7);j=+lHa(a,8);i=+lHa(a,9);h=+lHa(a,10);d=+mHa(a,11,1.0);c=ss(a,12,1)|0;g=k[155708]|0;o[b+24>>2]=q;o[b+24+4>>2]=p;o[b+16>>2]=n;o[b+16+4>>2]=m;o[b+8>>2]=l;o[b+8+4>>2]=j;o[b>>2]=i;o[b+4>>2]=h;k[b+32>>2]=k[b+24>>2];k[b+32+4>>2]=k[b+24+4>>2];k[b+40>>2]=k[b+16>>2];k[b+40+4>>2]=k[b+16+4>>2];k[b+48>>2]=k[b+8>>2];k[b+48+4>>2]=k[b+8+4>>2];k[b+56>>2]=k[b>>2];k[b+56+4>>2]=k[b+4>>2];c=bH(g,f,e,b+32|0,b+40|0,b+48|0,b+56|0,d,c)|0;Rs(a,46,c);Si[k[(k[c>>2]|0)+12>>2]&1023](c);r=b;return 1}function Gl(a){a=a|0;var b=0,c=0.0,d=0,e=0;e=TM(a,1)|0;d=TM(a,2)|0;c=+mHa(a,3,1.0);b=ss(a,4,0)|0;b=cH(k[155708]|0,e,d,c,b)|0;Rs(a,47,b);Si[k[(k[b>>2]|0)+12>>2]&1023](b);return 1}function Hl(a){a=a|0;var b=0,c=0,d=0.0,e=0.0,f=0,g=0.0,h=0.0;b=_J(a,1)|0;c=_J(a,2)|0;d=+lHa(a,3);e=+lHa(a,4);if((xDa(a)|0)>5){g=+lHa(a,5);h=+lHa(a,6);f=ss(a,7,0)|0}else{f=ss(a,5,0)|0;g=d;h=e}f=dH(k[155708]|0,b,c,d,e,g,h,f)|0;Rs(a,48,f);Si[k[(k[f>>2]|0)+12>>2]&1023](f);return 1}function Il(a){a=a|0;var b=0,c=0,d=0.0,e=0.0,f=0,g=0.0,h=0.0;b=_J(a,1)|0;c=_J(a,2)|0;d=+lHa(a,3);e=+lHa(a,4);if((xDa(a)|0)>5){g=+lHa(a,5);h=+lHa(a,6);f=ss(a,7,0)|0}else{f=ss(a,5,0)|0;g=d;h=e}f=eH(k[155708]|0,b,c,d,e,g,h,f)|0;Rs(a,49,f);Si[k[(k[f>>2]|0)+12>>2]&1023](f);return 1}function Jl(a){a=a|0;var b=0.0,c=0.0,d=0,e=0,f=0.0,g=0.0,h=0.0,i=0.0,j=0;d=_J(a,1)|0;e=_J(a,2)|0;f=+lHa(a,3);g=+lHa(a,4);j=(xDa(a)|0)>7;b=+lHa(a,5);c=+lHa(a,6);if(j){h=+lHa(a,7);i=+lHa(a,8);j=ss(a,9,0)|0}else{h=b;i=c;j=ss(a,7,0)|0;b=f;c=g}j=fH(k[155708]|0,d,e,f,g,b,c,h,i,j)|0;Rs(a,51,j);Si[k[(k[j>>2]|0)+12>>2]&1023](j);return 1}function Kl(a){a=a|0;var b=0,c=0.0,d=0.0,e=0.0,f=0.0,g=0.0,h=0,i=0;i=_J(a,1)|0;h=_J(a,2)|0;g=+lHa(a,3);f=+lHa(a,4);e=+lHa(a,5);d=+lHa(a,6);c=+lHa(a,7);b=ss(a,8,0)|0;b=gH(k[155708]|0,i,h,g,f,e,d,c,b)|0;Rs(a,50,b);Si[k[(k[b>>2]|0)+12>>2]&1023](b);return 1}function Ll(a){a=a|0;var b=0,c=0,d=0,e=0.0;b=_J(a,1)|0;c=_J(a,2)|0;if((DDa(a,3)|0)<1)b=hH(k[155708]|0,b,c)|0;else{e=+lHa(a,3);d=ss(a,4,0)|0;b=iH(k[155708]|0,b,c,e,d)|0}Rs(a,52,b);Si[k[(k[b>>2]|0)+12>>2]&1023](b);return 1}function Ml(a){a=a|0;return kH(k[155708]|0,a)|0}function Nl(a){a=a|0;nH(~~+lHa(a,1));return 0}function Ol(a){a=a|0;WDa(a,oH()|0);return 1}function Pl(a){a=a|0;var b=0,c=0;c=r;r=r+32|0;b=k[155708]|0;if(!b){b=kBb(8)|0;k[b>>2]=0;k[b+4>>2]=0;Uj(b);k[b>>2]=16356}else Si[k[(k[b>>2]|0)+8>>2]&1023](b);k[c>>2]=b;k[c+4>>2]=258650;k[c+8>>2]=3;k[c+12>>2]=9972;k[c+16>>2]=10156;a=Bs(a,c)|0;r=c;return a|0}function Ql(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((DDa(a,b)|0)!=7){k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0}d=RDa(a,b)|0;if(k[(k[155799]|0)+(k[d>>2]<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0){c=d+4|0;c=k[c>>2]|0;r=e;return c|0}k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0;c=d+4|0;c=k[c>>2]|0;r=e;return c|0}function Rl(a){a=a|0;var b=0;b=Ql(a,1,38)|0;zDa(a,1);return uH(b,a)|0}function Sl(a){a=a|0;rs(a,vH(Ql(a,1,38)|0)|0);return 1}function Tl(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=10612;k[b+4>>2]=10244;k[b+8>>2]=0;a=Is(a,38,258957,b)|0;r=b;return a|0}function Ul(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((DDa(a,b)|0)!=7){k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0}d=RDa(a,b)|0;if(k[(k[155799]|0)+(k[d>>2]<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0){c=d+4|0;c=k[c>>2]|0;r=e;return c|0}k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0;c=d+4|0;c=k[c>>2]|0;r=e;return c|0}function Vl(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=Ul(a,1,44)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;VDa(a,+zH(b));r=c;return 1}function Wl(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=Ul(a,1,44)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;VDa(a,+AH(b));r=c;return 1}function Xl(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=Ul(a,1,44)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;BH(b,qs(a,2)|0);r=c;return 0}function Yl(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=Ul(a,1,44)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;rs(a,CH(b)|0);r=c;return 1}function Zl(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=Ul(a,1,44)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;DH(b,+lHa(a,2));r=c;return 0}function _l(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=Ul(a,1,44)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;EH(b,+lHa(a,2));r=c;return 0}function $l(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=Ul(a,1,44)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;VDa(a,+FH(b));r=c;return 1}function am(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=Ul(a,1,44)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;VDa(a,+GH(b,+lHa(a,2)));r=c;return 1}function bm(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=Ul(a,1,44)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;VDa(a,+HH(b));r=c;return 1}function cm(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=Ul(a,1,44)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;IH(b,qs(a,2)|0);r=c;return 0}function dm(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=Ul(a,1,44)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;rs(a,JH(b)|0);r=c;return 1}function em(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=Ul(a,1,44)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;KH(b,+lHa(a,2));r=c;return 0}function fm(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=Ul(a,1,44)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;LH(b,+lHa(a,2));r=c;return 0}function gm(a){a=a|0;var b=0,c=0,d=0.0;c=r;r=r+16|0;b=Ul(a,1,44)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;d=+lHa(a,2);MH(b,d,+lHa(a,3));r=c;return 0}function hm(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=Ul(a,1,44)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;VDa(a,+NH(b));r=c;return 1}function im(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=Ul(a,1,44)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;VDa(a,+OH(b));r=c;return 1}function jm(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=Ul(a,1,44)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;zDa(a,1);a=PH(b,a)|0;r=c;return a|0}function km(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=17812;k[b+4>>2]=10268;k[b+8>>2]=0;a=Is(a,44,258979,b)|0;r=b;return a|0}function lm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((DDa(a,b)|0)!=7){k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0}d=RDa(a,b)|0;if(k[(k[155799]|0)+(k[d>>2]<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0){c=d+4|0;c=k[c>>2]|0;r=e;return c|0}k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0;c=d+4|0;c=k[c>>2]|0;r=e;return c|0}function mm(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=lm(a,1,46)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;zDa(a,1);a=TH(b,a)|0;r=c;return a|0}function nm(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=lm(a,1,46)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;VDa(a,+UH(b));r=c;return 1}function om(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=lm(a,1,46)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;VDa(a,+VH(b));r=c;return 1}function pm(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=lm(a,1,46)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;VDa(a,+WH(b));r=c;return 1}function qm(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=17812;k[b+4>>2]=10412;k[b+8>>2]=0;a=Is(a,46,259042,b)|0;r=b;return a|0}function rm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((DDa(a,b)|0)!=7){k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0}d=RDa(a,b)|0;if(k[(k[155799]|0)+(k[d>>2]<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0){c=d+4|0;c=k[c>>2]|0;r=e;return c|0}k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0;c=d+4|0;c=k[c>>2]|0;r=e;return c|0}function sm(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=rm(a,1,45)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;VDa(a,+_H(b));r=c;return 1}function tm(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=rm(a,1,45)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;VDa(a,+$H(b));r=c;return 1}function um(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=rm(a,1,45)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;aI(b,qs(a,2)|0);r=c;return 0}function vm(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=rm(a,1,45)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;rs(a,bI(b)|0);r=c;return 1}function wm(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=rm(a,1,45)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;cI(b,+lHa(a,2));r=c;return 0}function xm(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=rm(a,1,45)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;dI(b,+lHa(a,2));r=c;return 0}function ym(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=rm(a,1,45)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;VDa(a,+eI(b));r=c;return 1}function zm(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=rm(a,1,45)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;VDa(a,+fI(b,+lHa(a,2)));r=c;return 1}function Am(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=rm(a,1,45)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;VDa(a,+gI(b));r=c;return 1}function Bm(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=rm(a,1,45)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;hI(b,qs(a,2)|0);r=c;return 0}function Cm(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=rm(a,1,45)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;rs(a,iI(b)|0);r=c;return 1}function Dm(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=rm(a,1,45)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;jI(b,+lHa(a,2));r=c;return 0}function Em(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=rm(a,1,45)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;kI(b,+lHa(a,2));r=c;return 0}function Fm(a){a=a|0;var b=0,c=0,d=0.0;c=r;r=r+16|0;b=rm(a,1,45)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;d=+lHa(a,2);lI(b,d,+lHa(a,3));r=c;return 0}function Gm(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=rm(a,1,45)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;VDa(a,+mI(b));r=c;return 1}function Hm(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=rm(a,1,45)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;VDa(a,+nI(b));r=c;return 1}function Im(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=rm(a,1,45)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;zDa(a,1);a=oI(b,a)|0;r=c;return a|0}function Jm(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=17812;k[b+4>>2]=10452;k[b+8>>2]=0;a=Is(a,45,259093,b)|0;r=b;return a|0}function Km(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((DDa(a,b)|0)!=7){k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0}d=RDa(a,b)|0;if(k[(k[155799]|0)+(k[d>>2]<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0){c=d+4|0;c=k[c>>2]|0;r=e;return c|0}k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0;c=d+4|0;c=k[c>>2]|0;r=e;return c|0}function Lm(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=Km(a,1,50)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;VDa(a,+sI(b));r=c;return 1}function Mm(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=17812;k[b+4>>2]=10596;k[b+8>>2]=0;a=Is(a,50,259231,b)|0;r=b;return a|0}function Nm(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;c=Om(a,1,36)|0;k[b>>2]=1279174;Xn(wI(c)|0,b)|0;YDa(a,k[b>>2]|0);r=b;return 1}function Om(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((DDa(a,b)|0)!=7){k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0}d=RDa(a,b)|0;if(k[(k[155799]|0)+(k[d>>2]<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0){c=d+4|0;c=k[c>>2]|0;r=e;return c|0}k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0;c=d+4|0;c=k[c>>2]|0;r=e;return c|0}function Pm(a){a=a|0;VDa(a,+xI(Om(a,1,36)|0));return 1}function Qm(a){a=a|0;WDa(a,yI(Om(a,1,36)|0)|0);return 1}function Rm(a){a=a|0;var b=0.0,c=0.0,d=0.0,e=0.0,f=0;f=Om(a,1,36)|0;e=+lHa(a,2);d=+lHa(a,3);c=+lHa(a,4);b=+lHa(a,5);aEa(a,(zI(f,e,d,c,b,+lHa(a,6))|0)&1);return 1}function Sm(a){a=a|0;var b=0;b=Om(a,1,36)|0;zDa(a,1);return AI(b,a)|0}function Tm(a){a=a|0;var b=0;b=Om(a,1,36)|0;zDa(a,1);return BI(b,a)|0}function Um(a){a=a|0;var b=0;b=Om(a,1,36)|0;zDa(a,1);return CI(b,a)|0}function Vm(a,b){a=a|0;b=b|0;return Om(a,b,36)|0}function Wm(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=10612;k[b+4>>2]=0;a=Is(a,36,259292,b)|0;r=b;return a|0}function Xm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((DDa(a,b)|0)!=7){k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0}d=RDa(a,b)|0;if(k[(k[155799]|0)+(k[d>>2]<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0){c=d+4|0;c=k[c>>2]|0;r=e;return c|0}k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0;c=d+4|0;c=k[c>>2]|0;r=e;return c|0}function Ym(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=Xm(a,1,49)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;GI(b,+lHa(a,2));r=c;return 0}function Zm(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=Xm(a,1,49)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;VDa(a,+HI(b));r=c;return 1}function _m(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=Xm(a,1,49)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;II(b,+lHa(a,2));r=c;return 0}function $m(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=Xm(a,1,49)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;VDa(a,+JI(b));r=c;return 1}function an(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=17812;k[b+4>>2]=10676;k[b+8>>2]=0;a=Is(a,49,259298,b)|0;r=b;return a|0}function bn(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((DDa(a,b)|0)!=7){k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0}d=RDa(a,b)|0;if(k[(k[155799]|0)+(k[d>>2]<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0){c=d+4|0;c=k[c>>2]|0;r=e;return c|0}k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0;c=d+4|0;c=k[c>>2]|0;r=e;return c|0}function cn(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=bn(a,1,51)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;VDa(a,+NI(b));r=c;return 1}function dn(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=bn(a,1,51)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;VDa(a,+OI(b));r=c;return 1}function en(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=bn(a,1,51)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;PI(b,qs(a,2)|0);r=c;return 0}function fn(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=bn(a,1,51)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;rs(a,QI(b)|0);r=c;return 1}function gn(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=bn(a,1,51)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;RI(b,+lHa(a,2));r=c;return 0}function hn(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=bn(a,1,51)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;VDa(a,+SI(b));r=c;return 1}function jn(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=bn(a,1,51)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;TI(b,+lHa(a,2));r=c;return 0}function kn(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=bn(a,1,51)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;VDa(a,+UI(b));r=c;return 1}function ln(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=bn(a,1,51)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;VDa(a,+VI(b,+lHa(a,2)));r=c;return 1}function mn(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=bn(a,1,51)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;WI(b,+lHa(a,2));r=c;return 0}function nn(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=bn(a,1,51)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;VDa(a,+XI(b));r=c;return 1}function on(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=bn(a,1,51)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;YI(b,+lHa(a,2));r=c;return 0}function pn(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=bn(a,1,51)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;VDa(a,+ZI(b));r=c;return 1}function qn(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=17812;k[b+4>>2]=10716;k[b+8>>2]=0;a=Is(a,51,259308,b)|0;r=b;return a|0}function rn(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;b=sn(a,b,32)|0;if(FJ(b)|0){r=c;return b|0}aHa(a,259545,c)|0;r=c;return b|0}function sn(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((DDa(a,b)|0)!=7){k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0}d=RDa(a,b)|0;if(k[(k[155799]|0)+(k[d>>2]<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0){c=d+4|0;c=k[c>>2]|0;r=e;return c|0}k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0;c=d+4|0;c=k[c>>2]|0;r=e;return c|0}function tn(a){a=a|0;var b=0,c=0,d=0.0;c=r;r=r+16|0;b=sn(a,1,32)|0;if(!(FJ(b)|0))aHa(a,259545,c)|0;d=+lHa(a,2);IJ(b,a);EJ(b,d);r=c;return 0}function un(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=sn(a,1,32)|0;if(!(FJ(b)|0))aHa(a,259545,c)|0;zDa(a,1);a=GJ(b,a)|0;r=c;return a|0}function vn(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=sn(a,1,32)|0;if(!(FJ(b)|0))aHa(a,259545,c)|0;zDa(a,1);a=HJ(b,a)|0;r=c;return a|0}function wn(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=sn(a,1,32)|0;if(!(FJ(b)|0))aHa(a,259545,c)|0;zDa(a,1);a=JJ(b,a)|0;r=c;return a|0}function xn(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=sn(a,1,32)|0;if(!(FJ(b)|0))aHa(a,259545,c)|0;zDa(a,1);a=KJ(b,a)|0;r=c;return a|0}function yn(a){a=a|0;var b=0,c=0,d=0.0;c=r;r=r+16|0;b=sn(a,1,32)|0;if(!(FJ(b)|0))aHa(a,259545,c)|0;d=+lHa(a,2);LJ(b,d,+lHa(a,3));r=c;return 0}function zn(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=sn(a,1,32)|0;if(!(FJ(b)|0))aHa(a,259545,c)|0;zDa(a,1);a=MJ(b,a)|0;r=c;return a|0}function An(a){a=a|0;var b=0,c=0,d=0.0;c=r;r=r+16|0;b=sn(a,1,32)|0;if(!(FJ(b)|0))aHa(a,259545,c)|0;d=+lHa(a,2);NJ(b,d,+lHa(a,3));r=c;return 0}function Bn(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=sn(a,1,32)|0;if(!(FJ(b)|0))aHa(a,259545,c)|0;OJ(b,qs(a,2)|0);r=c;return 0}function Cn(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=sn(a,1,32)|0;if(!(FJ(b)|0))aHa(a,259545,c)|0;rs(a,PJ(b)|0);r=c;return 1}function Dn(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=sn(a,1,32)|0;if(!(FJ(b)|0))aHa(a,259545,c)|0;rs(a,QJ(b)|0);r=c;return 1}function En(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=sn(a,1,32)|0;if(!(FJ(b)|0))aHa(a,259545,c)|0;WDa(a,RJ(b)|0);r=c;return 1}function Fn(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=sn(a,1,32)|0;if(!(FJ(b)|0))aHa(a,259545,c)|0;WDa(a,SJ(b)|0);r=c;return 1}function Gn(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=sn(a,1,32)|0;if(!(FJ(b)|0))aHa(a,259545,c)|0;WDa(a,TJ(b)|0);r=c;return 1}function Hn(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=sn(a,1,32)|0;if(!(FJ(b)|0))aHa(a,259545,c)|0;zDa(a,1);a=UJ(b,a)|0;r=c;return a|0}function In(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=sn(a,1,32)|0;if(!(FJ(b)|0))aHa(a,259545,c)|0;zDa(a,1);a=VJ(b,a)|0;r=c;return a|0}function Jn(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=sn(a,1,32)|0;if(!(FJ(b)|0))aHa(a,259545,c)|0;zDa(a,1);a=WJ(b,a)|0;r=c;return a|0}function Kn(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=sn(a,1,32)|0;if(!(FJ(b)|0))aHa(a,259545,c)|0;zDa(a,1);a=YJ(b,a)|0;r=c;return a|0}function Ln(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=sn(a,1,32)|0;if(!(FJ(b)|0))aHa(a,259545,c)|0;zDa(a,1);a=ZJ(b,a)|0;r=c;return a|0}function Mn(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=sn(a,1,32)|0;if(!(FJ(b)|0))aHa(a,259545,c)|0;fJ(b);r=c;return 0}function Nn(a){a=a|0;rs(a,(FJ(sn(a,1,32)|0)|0)^1);return 1}function On(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=10828;k[b+4>>2]=0;a=Is(a,32,259577,b)|0;r=b;return a|0}function Pn(a){a=a|0;return}function Qn(){i[622876]=0;i[622888]=0;i[622900]=0;i[622912]=0;i[622924]=0;i[622936]=0;i[622948]=0;i[622960]=0;k[155741]=0;k[155742]=0;k[155743]=0;k[155744]=0;Rn(622868,434587,1)|0;Rn(622868,434579,2)|0;Rn(622868,259762,3)|0;return}function Rn(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=r;r=r+16|0;d=i[b>>0]|0;if(!(d<<24>>24))e=5381;else{f=b;e=5381;do{f=f+1|0;e=(e*33|0)+(d<<24>>24)|0;d=i[f>>0]|0}while(d<<24>>24!=0)}d=e&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+1&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+2&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+3&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+4&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+5&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+6&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+7&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else d=0}}}}}}}if((g|0)==5){i[d>>0]=1;k[a+(e*12|0)>>2]=b;k[a+(e*12|0)+4>>2]=c;d=1}if(c>>>0>3){k[h>>2]=b;k[h+4>>2]=c;Jpb(441170,h)|0;g=0;r=h;return g|0}else{k[a+96+(c<<2)>>2]=b;g=d;r=h;return g|0}return 0}function Sn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0;c=i[a>>0]|0;if(!(c<<24>>24))d=5381;else{e=a;d=5381;do{e=e+1|0;d=(d*33|0)+(c<<24>>24)|0;c=i[e>>0]|0}while(c<<24>>24!=0)}h=0;while(1){g=h+d&7;if(!(i[622868+(g*12|0)+8>>0]|0)){c=1;d=0;j=11;break}e=k[622868+(g*12|0)>>2]|0;f=i[e>>0]|0;a:do if(!(f<<24>>24)){c=a;j=8}else{c=a;while(1){l=i[c>>0]|0;if(!(l<<24>>24?f<<24>>24==l<<24>>24:0))break a;e=e+1|0;c=c+1|0;f=i[e>>0]|0;if(!(f<<24>>24)){j=8;break}}}while(0);if((j|0)==8){j=0;if(!(i[c>>0]|0)){j=9;break}}h=h+1|0;if(h>>>0>=8){c=0;d=0;j=11;break}}if((j|0)==9){k[b>>2]=k[622868+(g*12|0)+4>>2];j=1;l=1;l=j&l;return l|0}else if((j|0)==11){l=c&d;return l|0}return 0}function Tn(a,b){a=a|0;b=b|0;if(a>>>0>3)a=0;else{a=k[622964+(a<<2)>>2]|0;if(!a)a=0;else{k[b>>2]=a;a=1}}return a|0}function Un(a){a=a|0;return}function Vn(){i[622988]=0;i[623e3]=0;i[623012]=0;i[623024]=0;i[623036]=0;i[623048]=0;i[623060]=0;i[623072]=0;i[623084]=0;i[623096]=0;k[155775]=0;k[155776]=0;k[155777]=0;k[155778]=0;k[155779]=0;Wn(622980,329273,1)|0;Wn(622980,329292,2)|0;Wn(622980,259793,3)|0;Wn(622980,259798,4)|0;return}function Wn(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=r;r=r+16|0;d=i[b>>0]|0;if(!(d<<24>>24))e=5381;else{f=b;e=5381;do{f=f+1|0;e=(e*33|0)+(d<<24>>24)|0;d=i[f>>0]|0}while(d<<24>>24!=0)}d=(e>>>0)%10|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+1|0)>>>0)%10|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+2|0)>>>0)%10|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+3|0)>>>0)%10|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+4|0)>>>0)%10|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+5|0)>>>0)%10|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+6|0)>>>0)%10|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+7|0)>>>0)%10|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+8|0)>>>0)%10|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+9|0)>>>0)%10|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else d=0}}}}}}}}}if((g|0)==5){i[d>>0]=1;k[a+(e*12|0)>>2]=b;k[a+(e*12|0)+4>>2]=c;d=1}if(c>>>0>4){k[h>>2]=b;k[h+4>>2]=c;Jpb(441170,h)|0;g=0;r=h;return g|0}else{k[a+120+(c<<2)>>2]=b;g=d;r=h;return g|0}return 0}function Xn(a,b){a=a|0;b=b|0;if(a>>>0>4)a=0;else{a=k[623100+(a<<2)>>2]|0;if(!a)a=0;else{k[b>>2]=a;a=1}}return a|0}function Yn(a){a=a|0;var b=0,c=0,d=0,e=0;d=r;r=r+16|0;b=Vu(a,1)|0;c=~~+mHa(a,2,16384.0);e=k[155709]|0;c=Ri[k[(k[e>>2]|0)+24>>2]&255](e,b,c)|0;Si[k[(k[b>>2]|0)+12>>2]&1023](b);if(!c){e=Fu(b)|0;k[d>>2]=(i[e>>0]&1)==0?e+1|0:k[e+8>>2]|0;e=aHa(a,259826,d)|0;r=d;return e|0}else{Rs(a,30,c);Si[k[(k[c>>2]|0)+12>>2]&1023](c);e=1;r=d;return e|0}return 0}function Zn(a){a=a|0;var b=0,c=0,d=0,e=0;if(!(GDa(a,1)|0)){if(!(Ss(a,1,30)|0)){Yn(a)|0;BDa(a,1)}b=k[155709]|0;b=fO(b,wO(a,1)|0)|0}else{e=~~+lHa(a,1);d=~~+mHa(a,2,44100.0);c=~~+mHa(a,3,16.0);b=~~+mHa(a,4,2.0);b=gO(k[155709]|0,e,d,c,b)|0}Rs(a,29,b);Si[k[(k[b>>2]|0)+12>>2]&1023](b);return 1}function _n(a){a=a|0;var b=0,c=0;c=r;r=r+32|0;b=k[155709]|0;if(!b){b=kBb(8)|0;yN(b)}else Si[k[(k[b>>2]|0)+8>>2]&1023](b);k[c>>2]=b;k[c+4>>2]=325261;k[c+8>>2]=59;k[c+12>>2]=11004;k[c+16>>2]=11028;a=Bs(a,c)|0;r=c;return a|0}function $n(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((DDa(a,b)|0)!=7){k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0}d=RDa(a,b)|0;if(k[(k[155799]|0)+(k[d>>2]<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0){c=d+4|0;c=k[c>>2]|0;r=e;return c|0}k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0;c=d+4|0;c=k[c>>2]|0;r=e;return c|0}function ao(a){a=a|0;var b=0;b=$n(a,1,29)|0;WDa(a,Gi[k[(k[b>>2]|0)+24>>2]&2047](b)|0);return 1}function bo(a){a=a|0;var b=0;b=$n(a,1,29)|0;WDa(a,Gi[k[(k[b>>2]|0)+28>>2]&2047](b)|0);return 1}function co(a){a=a|0;var b=0;b=$n(a,1,29)|0;WDa(a,Gi[k[(k[b>>2]|0)+32>>2]&2047](b)|0);return 1}function eo(a){a=a|0;var b=0;b=$n(a,1,29)|0;WDa(a,Gi[k[(k[b>>2]|0)+36>>2]&2047](b)|0);return 1}function fo(a){a=a|0;var b=0;b=$n(a,1,29)|0;VDa(a,+Xi[k[(k[b>>2]|0)+40>>2]&63](b));return 1}function go(a){a=a|0;var b=0,c=0;c=$n(a,1,29)|0;b=nHa(a,2)|0;uO(c,b,+lHa(a,3));return 0}function ho(a){a=a|0;var b=0;b=$n(a,1,29)|0;VDa(a,+vO(b,nHa(a,2)|0));return 1}function io(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;k[c>>2]=12068;k[c+4>>2]=11040;k[c+8>>2]=0;b=Is(a,29,259856,c)|0;Ns(a,29);if((DDa(a,-1)|0)!=5){yDa(a,-2);r=c;return b|0}FHa(a,259901,4222,264123)|0;CDa(a,-2);qEa(a,1,0);yDa(a,-2);r=c;return b|0}function jo(a){a=a|0;var b=0;b=r;r=r+16|0;SO(b,k[155710]|0);vs(a,b);_qb(b);r=b;return 1}function ko(a){a=a|0;var b=0;b=k[155710]|0;WDa(a,Gi[k[(k[b>>2]|0)+24>>2]&2047](b)|0);return 1}function lo(a){a=a|0;var b=0,c=0,d=0;b=r;r=r+16|0;d=fHa(a,1,0)|0;a=k[155710]|0;c=k[(k[a>>2]|0)+28>>2]|0;Wqb(b,d,Fnb(d)|0);Di[c&511](a,b);_qb(b);r=b;return 0}function mo(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;c=k[155710]|0;Di[k[(k[c>>2]|0)+32>>2]&511](b,c);vs(a,b);_qb(b);r=b;return 1}function no(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;k[c+8>>2]=-1;k[c+4>>2]=-1;b=k[155710]|0;if(TO(Ri[k[(k[b>>2]|0)+36>>2]&255](b,c+8|0,c+4|0)|0,c)|0)b=k[c>>2]|0;else{k[c>>2]=439736;b=439736}YDa(a,b);b=k[c+4>>2]|0;if((b|0)>-1)WDa(a,b);else UDa(a);b=k[c+8>>2]|0;if((b|0)>-1){WDa(a,b);r=c;return 3}else{UDa(a);r=c;return 3}return 0}function oo(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;us(b,a,1);c=k[155710]|0;rs(a,gj[k[(k[c>>2]|0)+40>>2]&511](c,b)|0);_qb(b);r=b;return 1}function po(a){a=a|0;var b=0.0;b=+mHa(a,1,.5);a=k[155710]|0;Ai[k[(k[a>>2]|0)+44>>2]&31](a,b);return 0}function qo(a){a=a|0;var b=0,c=0;c=r;r=r+32|0;b=k[155710]|0;if(!b){b=kBb(8)|0;LO(b)}else Si[k[(k[b>>2]|0)+8>>2]&1023](b);k[c>>2]=b;k[c+4>>2]=353902;k[c+8>>2]=3;k[c+12>>2]=11104;k[c+16>>2]=0;a=Bs(a,c)|0;r=c;return a|0}function ro(a){a=a|0;var b=0,c=0,d=0,e=0;e=r;r=r+48|0;Wqb(e+36|0,264224,11);if(!(HDa(a,1)|0)){if(Ss(a,1,5)|0)Us(a,1,352628,326802)|0}else{k[e+32>>2]=0;b=ODa(a,1,e+32|0)|0;c=k[e+32>>2]|0;if(c>>>0>1023)d=4;else if(!(Cmb(b,10,c)|0))Us(a,1,352628,326802)|0;else d=4;if((d|0)==4){CDa(a,1);YDa(a,519785);d=(xDa(a)|0)+-1|0;k[e+24>>2]=d;d=xDa(a)|0;k[e+24+4>>2]=d;Vs(a,e+24|0,2,352628,326802)|0;yDa(a,-2);BDa(a,1)}}if(!(Ss(a,1,7)|0)){d=Hk(a,1,2)|0;c=k[155711]|0;b=k[c>>2]|0;b=b+24|0;b=k[b>>2]|0;d=Ri[b&255](c,e+36|0,d)|0;Rs(a,53,d);a=k[d>>2]|0;a=a+12|0;a=k[a>>2]|0;Si[a&1023](d);_qb(e+36|0);r=e;return 1}b=so(a,1,7)|0;Wqb(e,439807,1);d=Eu(b)|0;c=i[d>>0]|0;d=hrb(e,(c&1)==0?d+1|0:k[d+8>>2]|0,(c&1)==0?(c&255)>>>1:k[d+4>>2]|0)|0;k[e+12>>2]=k[d>>2];k[e+12+4>>2]=k[d+4>>2];k[e+12+8>>2]=k[d+8>>2];k[d>>2]=0;k[d+4>>2]=0;k[d+8>>2]=0;if(!(i[e+36>>0]&1)){i[e+36+1>>0]=0;i[e+36>>0]=0}else{i[k[e+36+8>>2]>>0]=0;k[e+36+4>>2]=0}crb(e+36|0,0);k[e+36>>2]=k[e+12>>2];k[e+36+4>>2]=k[e+12+4>>2];k[e+36+8>>2]=k[e+12+8>>2];k[e+12>>2]=0;k[e+12+4>>2]=0;k[e+12+8>>2]=0;_qb(e+12|0);_qb(e);d=b;c=k[155711]|0;b=k[c>>2]|0;b=b+24|0;b=k[b>>2]|0;d=Ri[b&255](c,e+36|0,d)|0;Rs(a,53,d);a=k[d>>2]|0;a=a+12|0;a=k[a>>2]|0;Si[a&1023](d);_qb(e+36|0);r=e;return 1}function so(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((DDa(a,b)|0)!=7){k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0}d=RDa(a,b)|0;if(k[(k[155799]|0)+(k[d>>2]<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0){c=d+4|0;c=k[c>>2]|0;r=e;return c|0}k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0;c=d+4|0;c=k[c>>2]|0;r=e;return c|0}function to(a){a=a|0;var b=0;b=k[155711]|0;b=Gi[k[(k[b>>2]|0)+28>>2]&2047](b)|0;Rs(a,54,b);Si[k[(k[b>>2]|0)+12>>2]&1023](b);return 1}function uo(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;us(b,a,1);c=k[155711]|0;c=gj[k[(k[c>>2]|0)+32>>2]&511](c,b)|0;Rs(a,54,c);Si[k[(k[c>>2]|0)+12>>2]&1023](c);_qb(b);r=b;return 1}function vo(a){a=a|0;var b=0,c=0;c=r;r=r+32|0;b=k[155711]|0;if(!b){b=kBb(8)|0;k[b>>2]=0;k[b+4>>2]=0;Uj(b);k[b>>2]=18552}else Si[k[(k[b>>2]|0)+8>>2]&1023](b);k[c>>2]=b;k[c+4>>2]=516287;k[c+8>>2]=3;k[c+12>>2]=11168;k[c+16>>2]=11200;a=Bs(a,c)|0;r=c;return a|0}function wo(a){a=a|0;a=k[155712]|0;Si[k[(k[a>>2]|0)+24>>2]&1023](a);return 0}function xo(a){a=a|0;var b=0;b=k[155712]|0;VDa(a,+Xi[k[(k[b>>2]|0)+32>>2]&63](b));return 1}function yo(a){a=a|0;var b=0;b=k[155712]|0;WDa(a,Gi[k[(k[b>>2]|0)+36>>2]&2047](b)|0);return 1}function zo(a){a=a|0;var b=0;b=k[155712]|0;VDa(a,+Xi[k[(k[b>>2]|0)+40>>2]&63](b));return 1}function Ao(a){a=a|0;var b=0.0,c=0,d=0;c=k[155712]|0;d=k[(k[c>>2]|0)+28>>2]|0;b=+lHa(a,1);Ai[d&31](c,b);return 0}function Bo(a){a=a|0;var b=0;b=k[155712]|0;VDa(a,+Xi[k[(k[b>>2]|0)+44>>2]&63](b));return 1}function Co(a){a=a|0;var b=0,c=0;c=r;r=r+32|0;b=k[155712]|0;if(!b){b=kBb(72)|0;JP(b)}else Si[k[(k[b>>2]|0)+8>>2]&1023](b);k[c>>2]=b;k[c+4>>2]=264268;k[c+8>>2]=3;k[c+12>>2]=11212;k[c+16>>2]=0;a=Bs(a,c)|0;r=c;return a|0}function Do(a){a=a|0;var b=0,c=0,d=0;d=k[155713]|0;d=Gi[k[(k[d>>2]|0)+24>>2]&2047](d)|0;hEa(a,((k[d+4>>2]|0)-(k[d>>2]|0)|0)/48|0,0);b=k[d>>2]|0;if((k[d+4>>2]|0)==(b|0))return 1;else c=0;do{bEa(a,k[b+(c*48|0)>>2]|0);c=c+1|0;nEa(a,-2,c);b=k[d>>2]|0}while(c>>>0<(((k[d+4>>2]|0)-b|0)/48|0)>>>0);return 1}function Eo(a){a=a|0;var b=0,c=0.0,d=0;if((DDa(a,1)|0)==2)b=RDa(a,1)|0;else b=Ys(a,1,264314)|0;d=k[155713]|0;b=Ri[k[(k[d>>2]|0)+28>>2]&255](d,b,((b|0)<0)<<31>>31)|0;c=+p[b+16>>3];VDa(a,+p[b+8>>3]);VDa(a,c);return 2}function Fo(a){a=a|0;var b=0,c=0;if((DDa(a,1)|0)==2)b=RDa(a,1)|0;else b=Ys(a,1,264314)|0;c=k[155713]|0;b=(Ri[k[(k[c>>2]|0)+28>>2]&255](c,b,((b|0)<0)<<31>>31)|0)+40|0;VDa(a,+p[b>>3]);return 1}function Go(a){a=a|0;var b=0,c=0;c=r;r=r+32|0;b=k[155713]|0;if(!b){b=kBb(20)|0;k[b>>2]=0;k[b+4>>2]=0;k[b+8>>2]=0;k[b+12>>2]=0;k[b+16>>2]=0;Uj(b);k[b>>2]=18840;k[b+8>>2]=0;k[b+12>>2]=0;k[b+16>>2]=0}else Si[k[(k[b>>2]|0)+8>>2]&1023](b);k[c>>2]=b;k[c+4>>2]=264323;k[c+8>>2]=3;k[c+12>>2]=11268;k[c+16>>2]=0;a=Bs(a,c)|0;r=c;return a|0}function Ho(a){a=a|0;var b=0,c=0,d=0;c=r;r=r+16|0;b=Uu(a,1)|0;if(!(Gi[k[(k[b>>2]|0)+24>>2]&2047](b)|0))if(!(gj[k[(k[b>>2]|0)+16>>2]&511](b,1)|0))aHa(a,264352,c)|0;d=k[155715]|0;b=gj[k[(k[d>>2]|0)+24>>2]&511](d,b)|0;Rs(a,55,b);Si[k[(k[b>>2]|0)+12>>2]&1023](b);r=c;return 1}function Io(a){a=a|0;var b=0,c=0;c=r;r=r+32|0;b=k[155715]|0;if(!b){b=kBb(12)|0;iQ(b)}else Si[k[(k[b>>2]|0)+8>>2]&1023](b);k[c>>2]=b;k[c+4>>2]=327950;k[c+8>>2]=3;k[c+12>>2]=11300;k[c+16>>2]=11316;a=Bs(a,c)|0;r=c;return a|0}function Jo(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((DDa(a,b)|0)!=7){k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0}d=RDa(a,b)|0;if(k[(k[155799]|0)+(k[d>>2]<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0){c=d+4|0;c=k[c>>2]|0;r=e;return c|0}k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0;c=d+4|0;c=k[c>>2]|0;r=e;return c|0}function Ko(a){a=a|0;var b=0,c=0;b=Jo(a,1,55)|0;if(Ss(a,2,28)|0){c=(RDa(a,2)|0)+4|0;c=k[c>>2]|0;a=kBb(12)|0;eR(a,c);Di[k[(k[b>>2]|0)+64>>2]&511](b,a);Si[k[(k[a>>2]|0)+12>>2]&1023](a);a=0;return a|0}if(Ss(a,2,55)|0){c=(RDa(a,2)|0)+4|0;c=k[c>>2]|0;a=k[(k[b>>2]|0)+64>>2]|0;c=Gi[k[(k[c>>2]|0)+68>>2]&2047](c)|0;Di[a&511](b,c);c=0;return c|0}if((DDa(a,2)|0)<1){c=kBb(40)|0;dR(c);cR(c,Gi[k[(k[b>>2]|0)+68>>2]&2047](b)|0);Di[k[(k[b>>2]|0)+64>>2]&511](b,c);Si[k[(k[c>>2]|0)+12>>2]&1023](c);c=0;return c|0}else{c=Ys(a,2,264390)|0;return c|0}return 0}function Lo(a){a=a|0;var b=0;b=Jo(a,1,55)|0;vs(a,Gi[k[(k[b>>2]|0)+40>>2]&2047](b)|0);return 1}function Mo(a){a=a|0;a=Jo(a,1,55)|0;Si[k[(k[a>>2]|0)+44>>2]&1023](a);return 0}function No(a){a=a|0;a=Jo(a,1,55)|0;Si[k[(k[a>>2]|0)+48>>2]&1023](a);return 0}function Oo(a){a=a|0;var b=0.0,c=0;c=Jo(a,1,55)|0;b=+lHa(a,2);Ai[k[(k[c>>2]|0)+52>>2]&31](c,b);return 0}function Po(a){a=a|0;a=Jo(a,1,55)|0;Ai[k[(k[a>>2]|0)+52>>2]&31](a,0.0);return 0}function Qo(a){a=a|0;var b=0;b=Jo(a,1,55)|0;VDa(a,+Xi[k[(k[b>>2]|0)+56>>2]&63](b));return 1}function Ro(a){a=a|0;var b=0;b=Jo(a,1,55)|0;rs(a,Gi[k[(k[b>>2]|0)+60>>2]&2047](b)|0);return 1}function So(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=11324;k[b+4>>2]=0;a=Is(a,55,264419,b)|0;r=b;return a|0}function To(a){a=a|0;var b=0;b=k[155714]|0;WDa(a,Gi[k[(k[b>>2]|0)+48>>2]&2047](b)|0);return 1}function Uo(a){a=a|0;var b=0,c=0;b=~~+lHa(a,1)+-1|0;c=k[155714]|0;YDa(a,gj[k[(k[c>>2]|0)+52>>2]&511](c,b)|0);return 1}function Vo(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=r;r=r+80|0;c=~~+lHa(a,1);d=~~+lHa(a,2);if((DDa(a,3)|0)<1){e=k[155714]|0;rs(a,nj[k[(k[e>>2]|0)+24>>2]&127](e,c,d,0)|0);e=1;r=f;return e|0}jHa(a,3,5);UDa(a);a:do if(yEa(a,3)|0){while(1){if((DDa(a,-2)|0)!=4){e=6;break}b=fHa(a,-2,0)|0;if(!(lS(b,f+76|0)|0)){e=9;break}yDa(a,-2);if(!(yEa(a,3)|0))break a}if((e|0)==6){e=Ys(a,-2,519785)|0;r=f;return e|0}else if((e|0)==9){k[f+64>>2]=b;e=aHa(a,264439,f+64|0)|0;r=f;return e|0}}while(0);i[f>>0]=0;k[f+4>>2]=1;i[f+8>>0]=1;k[f+12>>2]=0;i[f+16>>0]=0;k[f+20>>2]=1;k[f+24>>2]=1;i[f+28>>0]=0;i[f+29>>0]=1;k[f+32>>2]=0;i[f+36>>0]=0;p[f+40>>3]=0.0;i[f+48>>0]=0;k[f+52>>2]=0;k[f+56>>2]=0;k[f+76>>2]=0;mS(1,f+76|0)|0;eEa(a,3,k[f+76>>2]|0);if((DDa(a,-1)|0)<1){k[f+4>>2]=1;e=14}else{b=fHa(a,-1,0)|0;if(iS(b,f+4|0)|0)e=14;else{k[f+72>>2]=b;b=aHa(a,264466,f+72|0)|0}}if((e|0)==14){yDa(a,-2);k[f+76>>2]=0;mS(0,f+76|0)|0;b=(ws(a,3,k[f+76>>2]|0,0)|0)&1;i[f>>0]=b;k[f+76>>2]=0;mS(2,f+76|0)|0;b=(ws(a,3,k[f+76>>2]|0,1)|0)&1;i[f+8>>0]=b;k[f+76>>2]=0;mS(3,f+76|0)|0;b=xs(a,3,k[f+76>>2]|0,0)|0;k[f+12>>2]=b;k[f+76>>2]=0;mS(4,f+76|0)|0;b=(ws(a,3,k[f+76>>2]|0,0)|0)&1;i[f+16>>0]=b;k[f+76>>2]=0;mS(5,f+76|0)|0;b=xs(a,3,k[f+76>>2]|0,1)|0;k[f+20>>2]=b;k[f+76>>2]=0;mS(6,f+76|0)|0;b=xs(a,3,k[f+76>>2]|0,1)|0;k[f+24>>2]=b;k[f+76>>2]=0;mS(7,f+76|0)|0;b=(ws(a,3,k[f+76>>2]|0,0)|0)&1;i[f+28>>0]=b;k[f+76>>2]=0;mS(8,f+76|0)|0;b=(ws(a,3,k[f+76>>2]|0,1)|0)&1;i[f+29>>0]=b;k[f+76>>2]=0;mS(9,f+76|0)|0;b=(xs(a,3,k[f+76>>2]|0,1)|0)+-1|0;k[f+32>>2]=b;k[f+76>>2]=0;mS(10,f+76|0)|0;b=(ws(a,3,k[f+76>>2]|0,0)|0)&1;i[f+36>>0]=b;k[f+76>>2]=0;mS(12,f+76|0)|0;eEa(a,3,k[f+76>>2]|0);k[f+76>>2]=0;mS(13,f+76|0)|0;eEa(a,3,k[f+76>>2]|0);if((DDa(a,-2)|0)<1){b=(DDa(a,-1)|0)>0;i[f+48>>0]=b&1;if(b)e=17}else{i[f+48>>0]=1;e=17}if((e|0)==17){e=~~+mHa(a,-2,0.0);k[f+52>>2]=e;e=~~+mHa(a,-1,0.0);k[f+56>>2]=e}yDa(a,-3);b=k[155714]|0;rs(a,nj[k[(k[b>>2]|0)+24>>2]&127](b,c,d,f)|0);b=1}e=b;r=f;return e|0}function Wo(a){a=a|0;var b=0,c=0;b=r;r=r+80|0;i[b>>0]=0;k[b+4>>2]=1;i[b+8>>0]=1;k[b+12>>2]=0;i[b+16>>0]=0;k[b+20>>2]=1;k[b+24>>2]=1;i[b+28>>0]=0;i[b+29>>0]=1;k[b+32>>2]=0;i[b+36>>0]=0;p[b+40>>3]=0.0;i[b+48>>0]=0;k[b+52>>2]=0;k[b+56>>2]=0;c=k[155714]|0;vj[k[(k[c>>2]|0)+28>>2]&127](c,b+72|0,b+68|0,b);VDa(a,+(k[b+72>>2]|0));VDa(a,+(k[b+68>>2]|0));hEa(a,0,0);k[b+64>>2]=358683;kS(k[b+4>>2]|0,b+64|0)|0;YDa(a,k[b+64>>2]|0);k[b+76>>2]=0;mS(1,b+76|0)|0;lEa(a,-2,k[b+76>>2]|0);rs(a,(i[b>>0]|0)!=0);k[b+76>>2]=0;mS(0,b+76|0)|0;lEa(a,-2,k[b+76>>2]|0);rs(a,(i[b+8>>0]|0)!=0);k[b+76>>2]=0;mS(2,b+76|0)|0;lEa(a,-2,k[b+76>>2]|0);WDa(a,k[b+12>>2]|0);k[b+76>>2]=0;mS(3,b+76|0)|0;lEa(a,-2,k[b+76>>2]|0);rs(a,(i[b+16>>0]|0)!=0);k[b+76>>2]=0;mS(4,b+76|0)|0;lEa(a,-2,k[b+76>>2]|0);WDa(a,k[b+20>>2]|0);k[b+76>>2]=0;mS(5,b+76|0)|0;lEa(a,-2,k[b+76>>2]|0);WDa(a,k[b+24>>2]|0);k[b+76>>2]=0;mS(6,b+76|0)|0;lEa(a,-2,k[b+76>>2]|0);rs(a,(i[b+28>>0]|0)!=0);k[b+76>>2]=0;mS(7,b+76|0)|0;lEa(a,-2,k[b+76>>2]|0);rs(a,(i[b+29>>0]|0)!=0);k[b+76>>2]=0;mS(8,b+76|0)|0;lEa(a,-2,k[b+76>>2]|0);WDa(a,(k[b+32>>2]|0)+1|0);k[b+76>>2]=0;mS(9,b+76|0)|0;lEa(a,-2,k[b+76>>2]|0);rs(a,(i[b+36>>0]|0)!=0);k[b+76>>2]=0;mS(10,b+76|0)|0;lEa(a,-2,k[b+76>>2]|0);VDa(a,+p[b+40>>3]);k[b+76>>2]=0;mS(11,b+76|0)|0;lEa(a,-2,k[b+76>>2]|0);WDa(a,k[b+52>>2]|0);k[b+76>>2]=0;mS(12,b+76|0)|0;lEa(a,-2,k[b+76>>2]|0);WDa(a,k[b+56>>2]|0);k[b+76>>2]=0;mS(13,b+76|0)|0;lEa(a,-2,k[b+76>>2]|0);r=b;return 3}function Xo(a){a=a|0;var b=0,c=0,d=0,e=0;e=r;r=r+32|0;k[e+16>>2]=0;if((DDa(a,1)|0)<1){b=k[155714]|0;vj[k[(k[b>>2]|0)+68>>2]&127](b,e+4|0,e,e+16|0);b=k[e+16>>2]|0}else{b=~~+lHa(a,1)+-1|0;k[e+16>>2]=b}d=k[155714]|0;kj[k[(k[d>>2]|0)+56>>2]&255](e+4|0,d,b);hEa(a,(k[e+4+4>>2]|0)-(k[e+4>>2]|0)>>3,0);d=0;while(1){b=k[e+4+4>>2]|0;c=k[e+4>>2]|0;if(d>>>0>=b-c>>3>>>0)break;c=d+1|0;WDa(a,c);hEa(a,0,2);WDa(a,k[(k[e+4>>2]|0)+(d<<3)>>2]|0);lEa(a,-2,607237);WDa(a,k[(k[e+4>>2]|0)+(d<<3)+4>>2]|0);lEa(a,-2,607243);kEa(a,-3);d=c}if(!c){r=e;return 1}if((b|0)!=(c|0))k[e+4+4>>2]=b+(~((b+-8-c|0)>>>3)<<3);CAb(c);r=e;return 1}function Yo(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=r;r=r+16|0;d=qs(a,1)|0;k[f+4>>2]=2;do if((DDa(a,2)|0)<1)e=5;else{b=fHa(a,2,0)|0;if(!b)e=5;else if(iS(b,f+4|0)|0){c=k[f+4>>2]|0;b=k[155714]|0;if((c|0)==2){e=7;break}b=Ri[k[(k[b>>2]|0)+36>>2]&255](b,d,c)|0;break}else{k[f>>2]=b;e=aHa(a,264466,f)|0;r=f;return e|0}}while(0);if((e|0)==5){b=k[155714]|0;e=7}if((e|0)==7)b=gj[k[(k[b>>2]|0)+40>>2]&511](b,d)|0;rs(a,b);e=1;r=f;return e|0}function Zo(a){a=a|0;var b=0,c=0;b=r;r=r+80|0;i[b>>0]=0;k[b+4>>2]=1;i[b+8>>0]=1;k[b+12>>2]=0;i[b+16>>0]=0;k[b+20>>2]=1;k[b+24>>2]=1;i[b+28>>0]=0;i[b+29>>0]=1;k[b+32>>2]=0;i[b+36>>0]=0;p[b+40>>3]=0.0;i[b+48>>0]=0;k[b+52>>2]=0;k[b+56>>2]=0;c=k[155714]|0;vj[k[(k[c>>2]|0)+28>>2]&127](c,b+76|0,b+72|0,b);if(kS(k[b+4>>2]|0,b+68|0)|0){c=i[b>>0]|0;c=c<<24>>24!=0;rs(a,c);c=k[b+68>>2]|0;YDa(a,c);r=b;return 2}aHa(a,264494,b+64|0)|0;c=i[b>>0]|0;c=c<<24>>24!=0;rs(a,c);c=k[b+68>>2]|0;YDa(a,c);r=b;return 2}function _o(a){a=a|0;var b=0;b=k[155714]|0;rs(a,Gi[k[(k[b>>2]|0)+72>>2]&2047](b)|0);return 1}function $o(a){a=a|0;a=k[155714]|0;Si[k[(k[a>>2]|0)+32>>2]&1023](a);return 0}function ap(a){a=a|0;var b=0,c=0,d=0;c=r;r=r+32|0;k[c+16>>2]=0;k[c+12>>2]=0;k[c+8>>2]=0;if((DDa(a,1)|0)<1){b=k[155714]|0;vj[k[(k[b>>2]|0)+68>>2]&127](b,c+4|0,c,c+8|0);b=k[c+8>>2]|0}else{b=~~+lHa(a,1)+-1|0;k[c+8>>2]=b}d=k[155714]|0;vj[k[(k[d>>2]|0)+60>>2]&127](d,b,c+16|0,c+12|0);WDa(a,k[c+16>>2]|0);WDa(a,k[c+12>>2]|0);r=c;return 2}function bp(a){a=a|0;var b=0,c=0,d=0,e=0;d=r;r=r+16|0;b=~~+lHa(a,1);c=~~+lHa(a,2);k[d+8>>2]=0;if((DDa(a,3)|0)<1){a=k[155714]|0;vj[k[(k[a>>2]|0)+68>>2]&127](a,d+4|0,d,d+8|0);a=k[d+8>>2]|0}else{a=~~+lHa(a,3)+-1|0;k[d+8>>2]=a}e=k[155714]|0;vj[k[(k[e>>2]|0)+64>>2]&127](e,b,c,a);r=d;return 0}function cp(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;k[b+8>>2]=0;k[b+4>>2]=0;k[b>>2]=0;c=k[155714]|0;vj[k[(k[c>>2]|0)+68>>2]&127](c,b+8|0,b+4|0,b);WDa(a,k[b+8>>2]|0);WDa(a,k[b+4>>2]|0);WDa(a,(k[b>>2]|0)+1|0);r=b;return 3}function dp(a){a=a|0;var b=0,c=0;b=$k(a,1,22)|0;c=k[155714]|0;rs(a,gj[k[(k[c>>2]|0)+84>>2]&511](c,b)|0);return 1}function ep(a){a=a|0;var b=0;b=k[155714]|0;Rs(a,22,Gi[k[(k[b>>2]|0)+88>>2]&2047](b)|0);return 1}function fp(a){a=a|0;var b=0,c=0;b=k[155714]|0;c=k[(k[b>>2]|0)+92>>2]|0;a=qs(a,1)|0;Di[c&511](b,a);return 0}function gp(a){a=a|0;var b=0;b=k[155714]|0;rs(a,Gi[k[(k[b>>2]|0)+96>>2]&2047](b)|0);return 1}function hp(a){a=a|0;var b=0;b=r;r=r+16|0;us(b,a,1);a=k[155714]|0;Di[k[(k[a>>2]|0)+76>>2]&511](a,b);_qb(b);r=b;return 0}function ip(a){a=a|0;var b=0;b=k[155714]|0;vs(a,Gi[k[(k[b>>2]|0)+80>>2]&2047](b)|0);return 1}function jp(a){a=a|0;var b=0;b=k[155714]|0;rs(a,Gi[k[(k[b>>2]|0)+112>>2]&2047](b)|0);return 1}function kp(a){a=a|0;var b=0;b=k[155714]|0;rs(a,Gi[k[(k[b>>2]|0)+116>>2]&2047](b)|0);return 1}function lp(a){a=a|0;var b=0;b=k[155714]|0;rs(a,Gi[k[(k[b>>2]|0)+120>>2]&2047](b)|0);return 1}function mp(a){a=a|0;var b=0;b=k[155714]|0;VDa(a,+Xi[k[(k[b>>2]|0)+152>>2]&63](b));return 1}function np(a){a=a|0;var b=0.0,c=0,d=0,e=0.0;c=r;r=r+16|0;b=+lHa(a,1);if((DDa(a,2)|0)<1){d=k[155714]|0;VDa(a,+lj[k[(k[d>>2]|0)+156>>2]&15](d,b));a=1;r=c;return a|0}else{e=+lHa(a,2);p[c+8>>3]=0.0;p[c>>3]=0.0;d=k[155714]|0;Ji[k[(k[d>>2]|0)+160>>2]&3](d,b,e,c+8|0,c);VDa(a,+p[c+8>>3]);VDa(a,+p[c>>3]);d=2;r=c;return d|0}return 0}function op(a){a=a|0;var b=0.0,c=0,d=0,e=0.0;c=r;r=r+16|0;b=+lHa(a,1);if((DDa(a,2)|0)<1){d=k[155714]|0;VDa(a,+lj[k[(k[d>>2]|0)+164>>2]&15](d,b));a=1;r=c;return a|0}else{e=+lHa(a,2);p[c+8>>3]=0.0;p[c>>3]=0.0;d=k[155714]|0;Ji[k[(k[d>>2]|0)+168>>2]&3](d,b,e,c+8|0,c);VDa(a,+p[c+8>>3]);VDa(a,+p[c>>3]);d=2;r=c;return d|0}return 0}function pp(a){a=a|0;a=k[155714]|0;Si[k[(k[a>>2]|0)+100>>2]&1023](a);return 0}function qp(a){a=a|0;a=k[155714]|0;Si[k[(k[a>>2]|0)+104>>2]&1023](a);return 0}function rp(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=r;r=r+96|0;e=f+32+32|0;b=f+32|0;c=b+48|0;do{k[b>>2]=0;b=b+4|0}while((b|0)<(c|0));i[f+32+48>>0]=0;k[f+32>>2]=2;drb(f+32+4|0,fHa(a,1,0)|0)|0;drb(f+32+16|0,fHa(a,2,0)|0)|0;do if((DDa(a,3)|0)==5){b=Ps(a,3)|0;if(!b){d=aHa(a,264519,f)|0;break}d=0;do{d=d+1|0;gEa(a,3,d);us(f+20|0,a,-1);c=k[e>>2]|0;if(c>>>0<(k[f+32+36>>2]|0)>>>0){k[c>>2]=k[f+20>>2];k[c+4>>2]=k[f+20+4>>2];k[c+8>>2]=k[f+20+8>>2];k[f+20>>2]=0;k[f+20+4>>2]=0;k[f+20+8>>2]=0;k[e>>2]=(k[e>>2]|0)+12}else sp(f+32+28|0,f+20|0);_qb(f+20|0);yDa(a,-2)}while(d>>>0>>0);eEa(a,3,264561);if((DDa(a,-1)|0)<1)b=0;else b=~~+lHa(a,-1)+-1|0;k[f+32+40>>2]=b;yDa(a,-2);eEa(a,3,264573);if((DDa(a,-1)|0)<1)b=((k[e>>2]|0)-(k[f+32+28>>2]|0)|0)/12|0;else b=~~+lHa(a,-1);k[f+32+44>>2]=b+-1;yDa(a,-2);if((DDa(a,4)|0)>=1){b=fHa(a,4,0)|0;if(b|0)if(!(nS(b,f+32|0)|0)){k[f+8>>2]=b;d=aHa(a,264586,f+8|0)|0;break}}d=(ss(a,5,1)|0)&1;i[f+32+48>>0]=d;d=k[155714]|0;WDa(a,(gj[k[(k[d>>2]|0)+180>>2]&511](d,f+32|0)|0)+1|0);d=1}else{if((DDa(a,3)|0)>=1){b=fHa(a,3,0)|0;if(b|0)if(!(nS(b,f+32|0)|0)){k[f+16>>2]=b;d=aHa(a,264586,f+16|0)|0;break}}d=ss(a,4,1)|0;i[f+32+48>>0]=d&1;c=k[155714]|0;rs(a,Ni[k[(k[c>>2]|0)+176>>2]&127](c,f+32+4|0,f+32+16|0,k[f+32>>2]|0,d)|0);d=1}while(0);b=k[f+32+28>>2]|0;if(!b){_qb(f+32+16|0);_qb(f+32+4|0);r=f;return d|0}c=k[e>>2]|0;if((c|0)!=(b|0)){do{a=c+-12|0;k[e>>2]=a;_qb(a);c=k[e>>2]|0}while((c|0)!=(b|0));b=k[f+32+28>>2]|0}CAb(b);_qb(f+32+16|0);_qb(f+32+4|0);r=f;return d|0}function sp(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;e=k[a>>2]|0;d=(((k[a+4>>2]|0)-e|0)/12|0)+1|0;if(d>>>0>357913941)xzb(a);c=((k[a+8>>2]|0)-e|0)/12|0;if(c>>>0<178956970){c=c<<1>>>0>>0?d:c<<1;d=((k[a+4>>2]|0)-e|0)/12|0;if(!c){f=0;e=0;c=d}else g=6}else{c=357913941;d=((k[a+4>>2]|0)-e|0)/12|0;g=6}if((g|0)==6){f=c;e=kBb(c*12|0)|0;c=d}h=e+(c*12|0)|0;g=e+(f*12|0)|0;k[h>>2]=k[b>>2];k[h+4>>2]=k[b+4>>2];k[h+8>>2]=k[b+8>>2];k[b>>2]=0;k[b+4>>2]=0;k[b+8>>2]=0;f=k[a>>2]|0;c=k[a+4>>2]|0;if((c|0)==(f|0)){d=h;e=f;c=f}else{e=h;d=h;do{b=e+-12|0;c=c+-12|0;k[b>>2]=k[c>>2];k[b+4>>2]=k[c+4>>2];k[b+8>>2]=k[c+8>>2];k[c>>2]=0;k[c+4>>2]=0;k[c+8>>2]=0;e=d+-12|0;d=e}while((c|0)!=(f|0));e=k[a>>2]|0;c=k[a+4>>2]|0}k[a>>2]=d;k[a+4>>2]=h+12;k[a+8>>2]=g;d=e;if((c|0)!=(d|0))do{c=c+-12|0;_qb(c)}while((c|0)!=(d|0));if(!e)return;CAb(e);return}function tp(a){a=a|0;var b=0;a=ss(a,1,0)|0;b=k[155714]|0;Di[k[(k[b>>2]|0)+184>>2]&511](b,a);return 0}function up(a){a=a|0;var b=0,c=0;c=r;r=r+32|0;b=k[155714]|0;if(!b){b=kBb(128)|0;dS(b)}else Si[k[(k[b>>2]|0)+8>>2]&1023](b);k[c>>2]=b;k[c+4>>2]=435408;k[c+8>>2]=3;k[c+12>>2]=11396;k[c+16>>2]=0;a=Bs(a,c)|0;r=c;return a|0}function vp(a){a=a|0;Br()|0;ye(3)|0;gHa(a,264917)|0;hEa(a,0,0);Zs(a,0,11636);lEa(a,-2,520511);$Da(a,271,0);lEa(a,-2,520402);gHa(a,264994)|0;hEa(a,0,0);Zs(a,0,11772);lEa(a,-2,520511);$Da(a,1475,0);lEa(a,-2,518962);hEa(a,0,0);hEa(a,0,0);YDa(a,439843);lEa(a,-2,518014);oEa(a,-2)|0;lEa(a,-1e4,264983);Zs(a,265743,11900);return 1}function wp(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+32|0;b=hHa(a,1,264917)|0;b=k[b>>2]|0;if(!b){a=aHa(a,264935,d)|0;r=d;return a|0}if((xDa(a)|0)>1)c=~~+lHa(a,2);else c=0;b=kr(b,d+12|0,c)|0;do if(!b)b=0;else if((b|0)<0){b=aHa(a,264962,d+8|0)|0;break}else{xp(a,d+12|0);b=1;break}while(0);a=b;r=d;return a|0}function xp(a,b){a=a|0;b=b|0;var c=0;hEa(a,0,0);c=k[b+4>>2]|0;if(c|0){yp(a,c);lEa(a,-2,265004)}switch(k[b>>2]|0){case 1:{WDa(a,k[b+12>>2]|0);lEa(a,-2,361450);YDa(a,361751);lEa(a,-2,519081);return}case 2:{WDa(a,k[b+12>>2]|0);lEa(a,-2,361450);YDa(a,265009);lEa(a,-2,519081);return}case 3:{c=k[b+16>>2]|0;XDa(a,k[c+8>>2]|0,k[c+12>>2]|0);lEa(a,-2,361450);WDa(a,l[b+8>>0]|0);lEa(a,-2,524206);YDa(a,361944);Bq(k[b+16>>2]|0);lEa(a,-2,519081);return}case 0:{YDa(a,522435);lEa(a,-2,519081);return}default:{lEa(a,-2,519081);return}}}function yp(a,b){a=a|0;b=b|0;var c=0;eEa(a,-1e4,264983);bEa(a,b);dEa(a,-2);if(DDa(a,-1)|0){zDa(a,-2);return}yDa(a,-2);c=AEa(a,4)|0;k[c>>2]=b;eEa(a,-1e4,264994);oEa(a,-2)|0;bEa(a,b);CDa(a,-2);kEa(a,-4);zDa(a,-2);return}function zp(a){a=a|0;var b=0,c=0;c=r;r=r+32|0;b=hHa(a,1,264917)|0;b=k[b>>2]|0;if(!b){a=aHa(a,264935,c)|0;r=c;return a|0}b=ir(b,c+12|0)|0;do if(!b)b=0;else if((b|0)<0){b=aHa(a,265033,c+8|0)|0;break}else{xp(a,c+12|0);b=1;break}while(0);a=b;r=c;return a|0}function Ap(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=hHa(a,1,264917)|0;b=k[b>>2]|0;do if(!b)b=aHa(a,264935,c)|0;else if(!(nq(b)|0)){aEa(a,1);b=1;break}else{aEa(a,0);b=1;break}while(0);r=c;return b|0}function Bp(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=r;r=r+32|0;c=hHa(a,1,264917)|0;c=k[c>>2]|0;if(!c){a=aHa(a,264935,f)|0;r=f;return a|0}Cp(a,fHa(a,2,0)|0,f+16|0);switch(xDa(a)|0){case 4:{if(!(DDa(a,4)|0)){b=0;e=6}else{b=~~+lHa(a,4);e=6}break}case 3:{b=0;e=6;break}default:{d=1;b=0}}if((e|0)==6)if(!(DDa(a,3)|0))d=1;else d=~~+lHa(a,3);b=qq(c,f+16|0,d,b)|0;if(!b)b=aHa(a,265174,f+8|0)|0;else{yp(a,b);b=1}a=b;r=f;return a|0}function Cp(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0;l=r;r=r+192|0;d=l+64|0;e=d+128|0;do{i[d>>0]=0;d=d+1|0}while((d|0)<(e|0));d=l+32|0;e=d+32|0;do{i[d>>0]=0;d=d+1|0}while((d|0)<(e|0));d=i[b>>0]|0;if(!(d<<24>>24)){i[l+64>>0]=0;i[l+32>>0]=0;d=0;h=11}else{f=d;e=0;d=0;g=0;do{if((e|0)>127|(d|0)>31){aHa(a,265080,l)|0;f=i[b>>0]|0}if(!g)if(f<<24>>24==58)g=1;else{i[l+64+e>>0]=f;e=e+1|0;g=0}else{i[l+32+d>>0]=f;d=d+1|0}b=b+1|0;f=i[b>>0]|0}while(f<<24>>24!=0);i[l+64+e>>0]=0;i[l+32+d>>0]=0;if(!e)h=11}if((h|0)==11)aHa(a,265098,l+8|0)|0;if(!d)aHa(a,265122,l+16|0)|0;if(!(Wmb(504280,l+64|0)|0))k[c>>2]=0;else if(Fr(c,l+64|0)|0)aHa(a,265146,l+24|0)|0;if(!(Wmb(504280,l+32|0)|0)){a=0;h=c+4|0;j[h>>1]=a;r=l;return}a=(Vpb(l+32|0)|0)&65535;h=c+4|0;j[h>>1]=a;r=l;return}function Dp(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=hHa(a,1,264917)|0;b=k[b>>2]|0;if(!b){a=aHa(a,264935,c)|0;r=c;return a|0}else{_q(b);a=0;r=c;return a|0}return 0}function Ep(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=hHa(a,1,264917)|0;b=k[b>>2]|0;if(!b){a=aHa(a,264935,c)|0;r=c;return a|0}else{a=Fp(a,c+4|0)|0;rq(b,i[c+4>>0]|0,a);a=0;r=c;return a|0}return 0}function Fp(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=r;r=r+16|0;c=xDa(a)|0;e=fHa(a,2,f+12|0)|0;i[b>>0]=0;if((c|0)>3)if(!(DDa(a,4)|0)){c=1;d=8}else{c=fHa(a,4,0)|0;if(!(Wmb(265196,c)|0)){c=2;d=8}else if(!(Wmb(265208,c)|0)){c=1;d=8}else if(!(Wmb(265217,c)|0)){c=0;d=8}else{k[f>>2]=c;aHa(a,265228,f)|0;c=1;d=8}}else if((c|0)>2){c=1;d=8}else c=1;if((d|0)==8)if(DDa(a,3)|0){d=~~+lHa(a,3)&255;i[b>>0]=d}c=Aq(e,k[f+12>>2]|0,c)|0;if(c|0){r=f;return c|0}aHa(a,265252,f+8|0)|0;r=f;return c|0}function Gp(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=hHa(a,1,264917)|0;b=k[b>>2]|0;if(!b){a=aHa(a,264935,c)|0;r=c;return a|0}else{tq(b,~~+lHa(a,2));a=0;r=c;return a|0}return 0}function Hp(a){a=a|0;var b=0,c=0,d=0;c=r;r=r+16|0;b=hHa(a,1,264917)|0;b=k[b>>2]|0;if(!b){a=aHa(a,264935,c)|0;r=c;return a|0}else{d=~~+lHa(a,2);uq(b,d,~~+lHa(a,2));a=0;r=c;return a|0}return 0}function Ip(a){a=a|0;var b=0,c=0,d=0;c=r;r=r+48|0;b=hHa(a,1,264917)|0;b=k[b>>2]|0;if(!b){a=aHa(a,264935,c)|0;r=c;return a|0}else{Ir(k[b>>2]|0,c+32|0)|0;d=k[c+32>>2]|0;b=m[c+32+4>>1]|0;k[c+8>>2]=d&255;k[c+8+4>>2]=d>>>8&255;k[c+8+8>>2]=d>>>16&255;k[c+8+12>>2]=d>>>24;k[c+8+16>>2]=b;_Da(a,265325,c+8|0)|0;a=1;r=c;return a|0}return 0}function Jp(a){a=a|0;var b=0;a=hHa(a,1,264917)|0;b=k[a>>2]|0;if(b|0)pq(b);k[a>>2]=0;return 0}function Kp(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=hHa(a,1,264917)|0;b=k[b>>2]|0;if(!b){a=aHa(a,264935,c)|0;r=c;return a|0}else{WDa(a,k[b+10364>>2]|0);a=1;r=c;return a|0}return 0}function Lp(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=hHa(a,1,264917)|0;b=k[b>>2]|0;if(!b){a=aHa(a,264935,c)|0;r=c;return a|0}else{WDa(a,k[b+10372>>2]|0);a=1;r=c;return a|0}return 0}function Mp(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=hHa(a,1,264917)|0;b=k[b>>2]|0;if(!b){a=aHa(a,264935,c)|0;r=c;return a|0}else{WDa(a,k[b+48>>2]|0);a=1;r=c;return a|0}return 0}function Np(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=hHa(a,1,264917)|0;b=k[b>>2]|0;if(!b){a=aHa(a,264935,c)|0;r=c;return a|0}else{WDa(a,k[b+40>>2]|0);a=1;r=c;return a|0}return 0}function Op(a){a=a|0;var b=0,c=0,d=0,e=0;e=r;r=r+16|0;b=hHa(a,1,264917)|0;b=k[b>>2]|0;if(!b){d=aHa(a,264935,e)|0;r=e;return d|0}c=~~+lHa(a,2);if((c|0)<1)d=5;else if((c+-1|0)>>>0>=(k[b+40>>2]|0)>>>0)d=5;if((d|0)==5)$Ga(a,2,265428)|0;yp(a,(k[b+36>>2]|0)+((c+-1|0)*380|0)|0);d=1;r=e;return d|0}function Pp(a){a=a|0;var b=0;b=hHa(a,1,264994)|0;b=k[b>>2]|0;if((xDa(a)|0)>1)a=~~+lHa(a,2);else a=0;Tq(b,a);return 0}function Qp(a){a=a|0;var b=0;b=hHa(a,1,264994)|0;b=k[b>>2]|0;if((xDa(a)|0)>1)a=~~+lHa(a,2);else a=0;Sq(b,a);return 0}function Rp(a){a=a|0;var b=0;b=hHa(a,1,264994)|0;b=k[b>>2]|0;if((xDa(a)|0)>1)a=~~+lHa(a,2);else a=0;Uq(b,a);return 0}function Sp(a){a=a|0;a=hHa(a,1,264994)|0;Oq(k[a>>2]|0);return 0}function Tp(a){a=a|0;a=hHa(a,1,264994)|0;Pq(k[a>>2]|0);return 0}function Up(a){a=a|0;var b=0,c=0,d=0;c=r;r=r+16|0;b=hHa(a,1,264994)|0;b=k[b>>2]|0;i[c>>0]=0;if((xDa(a)|0)>1){d=~~+lHa(a,2)&255;i[c>>0]=d}b=Hq(b,c)|0;if(!b){d=0;r=c;return d|0}XDa(a,k[b+8>>2]|0,k[b+12>>2]|0);WDa(a,l[c>>0]|0);Bq(b);d=2;r=c;return d|0}function Vp(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;c=hHa(a,1,264994)|0;c=k[c>>2]|0;a=Fp(a,b)|0;Gq(c,i[b>>0]|0,a)|0;r=b;return 0}function Wp(a){a=a|0;var b=0,c=0,d=0;d=hHa(a,1,264994)|0;d=k[d>>2]|0;c=~~+lHa(a,2);b=~~+lHa(a,3);Cq(d,c,b,~~+lHa(a,4));return 0}function Xp(a){a=a|0;var b=0;b=hHa(a,1,264994)|0;b=k[b>>2]|0;if((xDa(a)|0)>1)Qq(b,~~+lHa(a,2));WDa(a,k[b+136>>2]|0);return 1}function Yp(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;e=hHa(a,1,264994)|0;e=k[e>>2]|0;switch(xDa(a)|0){case 4:{if(!(DDa(a,4)|0)){b=0;f=4}else{b=~~+lHa(a,4);f=4}break}case 3:{b=0;f=4;break}case 2:{b=0;c=0;f=6;break}default:{d=0;b=0;c=0}}if((f|0)==4)if(!(DDa(a,3)|0)){c=0;f=6}else{c=~~+lHa(a,3);f=6}if((f|0)==6)if(!(DDa(a,2)|0))d=0;else d=~~+lHa(a,2);Rq(e,d,c,b);WDa(a,k[e+140>>2]|0);WDa(a,k[e+144>>2]|0);WDa(a,k[e+148>>2]|0);return 3}function Zp(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=r;r=r+16|0;d=hHa(a,1,264994)|0;d=k[d>>2]|0;b=k[d+8>>2]|0;e=k[b+40>>2]|0;a:do if(!e)b=0;else{c=k[b+36>>2]|0;b=0;while(1){if((c+(b*380|0)|0)==(d|0))break;b=b+1|0;if(b>>>0>=e>>>0)break a}e=b+1|0;WDa(a,e);r=f;return 1}while(0);aHa(a,265517,f)|0;e=b;e=e+1|0;WDa(a,e);r=f;return 1}function _p(a){a=a|0;var b=0;b=hHa(a,1,264994)|0;do switch(k[(k[b>>2]|0)+36>>2]|0){case 0:{YDa(a,265553);break}case 1:{YDa(a,265566);break}case 2:{YDa(a,265577);break}case 3:{YDa(a,265599);break}case 4:{YDa(a,265618);break}case 5:{YDa(a,265639);break}case 6:{YDa(a,265462);break}case 7:{YDa(a,265649);break}case 8:{YDa(a,265663);break}case 9:{YDa(a,265688);break}default:YDa(a,439736)}while(0);return 1}function $p(a){a=a|0;var b=0;b=hHa(a,1,264994)|0;WDa(a,k[(k[b>>2]|0)+16>>2]|0);return 1}function aq(a){a=a|0;var b=0,c=0;b=hHa(a,1,264994)|0;b=k[b>>2]|0;if((xDa(a)|0)>1){c=~~+lHa(a,2);k[b+168>>2]=c;b=c;WDa(a,b);return 1}else{c=k[b+168>>2]|0;WDa(a,c);return 1}return 0}function bq(a){a=a|0;var b=0,c=0;b=hHa(a,1,264994)|0;b=k[b>>2]|0;if((xDa(a)|0)>1){c=~~+lHa(a,2);k[b+152>>2]=c;b=c;WDa(a,b);return 1}else{c=k[b+152>>2]|0;WDa(a,c);return 1}return 0}function cq(a){a=a|0;var b=0,c=0;b=r;r=r+128|0;c=hHa(a,1,264994)|0;c=k[c>>2]|0;Gr(c+24|0,b,128)|0;YDa(a,b);YDa(a,439797);WDa(a,m[c+28>>1]|0);zEa(a,3);r=b;return 1}function dq(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;h=r;r=r+16|0;if(!(xDa(a)|0))f=0;else if(!(DDa(a,1)|0))f=0;else{Cp(a,fHa(a,1,0)|0,h);f=1}switch(xDa(a)|0){case 5:{if(!(DDa(a,5)|0)){b=0;g=7}else{b=~~+lHa(a,5);g=7}break}case 4:{b=0;g=7;break}case 3:{c=0;b=0;g=9;break}case 2:{d=1;c=0;b=0;g=11;break}default:{e=1;c=0;b=0;d=64}}if((g|0)==7)if(!(DDa(a,4)|0)){c=0;g=9}else{c=~~+lHa(a,4);g=9}if((g|0)==9)if(!(DDa(a,3)|0)){d=1;g=11}else{d=~~+lHa(a,3);g=11}if((g|0)==11)if(!(DDa(a,2)|0)){e=d;d=64}else{e=d;d=~~+lHa(a,2)}b=oq(f|0?h:0,d,e,c,b)|0;if(!b){UDa(a);YDa(a,265760);a=2;r=h;return a|0}else{g=AEa(a,4)|0;k[g>>2]=b;eEa(a,-1e4,264917);oEa(a,-2)|0;a=1;r=h;return a|0}return 0}function eq(a){a=a|0;var b=0,c=0,d=0,e=0;b=r;r=r+16|0;e=(fq()|0)>>>16&255;d=(fq()|0)>>>8&255;c=(fq()|0)&255;k[b>>2]=e;k[b+4>>2]=d;k[b+8>>2]=c;_Da(a,265824,b)|0;r=b;return 1}function fq(){return 66315}function gq(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+4>>2]=a;a=hqb(k[b+4>>2]|0)|0;k[b>>2]=a;if(!(k[b>>2]|0))Zh();else{r=b;return k[b>>2]|0}return 0}function hq(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;iqb(k[b>>2]|0);r=b;return}function iq(){var a=0,b=0;a=r;r=r+16|0;b=gq(65536)|0;k[a>>2]=b;if(!(k[a>>2]|0)){k[a+4>>2]=0;b=k[a+4>>2]|0;r=a;return b|0}else{k[a+4>>2]=k[a>>2];b=k[a+4>>2]|0;r=a;return b|0}return 0}function jq(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+4>>2]=a;k[b>>2]=k[b+4>>2];if(!(k[b>>2]|0)){r=b;return}hq(k[b>>2]|0);r=b;return}function kq(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;h=r;r=r+112|0;k[h+80>>2]=a;k[h+76>>2]=b;k[h+72>>2]=c;k[h+68>>2]=d;k[h+64>>2]=e;k[h+60>>2]=f;k[h+56>>2]=k[h+80>>2];k[h+52>>2]=k[h+64>>2];k[h+48>>2]=(k[h+64>>2]|0)+(k[h+60>>2]|0);k[h+36>>2]=0;k[h+32>>2]=-1;j[h+94>>1]=0;k[h+24>>2]=0;k[h+20>>2]=0;if((k[h+56>>2]|0)==0|(k[h+72>>2]|0)>>>0<=0|(k[h+68>>2]|0)>>>0<=0){k[h+84>>2]=0;g=k[h+84>>2]|0;r=h;return g|0}k[h+44>>2]=k[k[h+76>>2]>>2];k[h+40>>2]=(k[h+44>>2]|0)+(k[(k[h+76>>2]|0)+4>>2]|0);k[h+76>>2]=(k[h+76>>2]|0)+8;k[h+72>>2]=(k[h+72>>2]|0)+-1;f=k[h+20>>2]|0;k[h+20>>2]=f+1;k[h+28>>2]=(k[h+56>>2]|0)+(f<<4);i[k[h+28>>2]>>0]=0;i[(k[h+28>>2]|0)+1>>0]=0;j[(k[h+28>>2]|0)+2>>1]=0;j[(k[h+28>>2]|0)+4>>1]=0;j[(k[h+28>>2]|0)+6>>1]=0;j[(k[h+28>>2]|0)+8>>1]=0;j[(k[h+28>>2]|0)+10>>1]=0;j[(k[h+28>>2]|0)+12>>1]=0;j[(k[h+28>>2]|0)+14>>1]=0;j[(k[h+28>>2]|0)+10>>1]=1;j[(k[h+28>>2]|0)+12>>1]=257;j[(k[h+28>>2]|0)+8>>1]=0;a:while(1){k[h+8>>2]=h+94;if((k[h+44>>2]|0)>>>0>=(k[h+40>>2]|0)>>>0){if((k[h+72>>2]|0)>>>0<=0){g=75;break}k[h+44>>2]=k[k[h+76>>2]>>2];k[h+40>>2]=(k[h+44>>2]|0)+(k[(k[h+76>>2]|0)+4>>2]|0);k[h+76>>2]=(k[h+76>>2]|0)+8;k[h+72>>2]=(k[h+72>>2]|0)+-1}f=k[h+44>>2]|0;k[h+44>>2]=f+1;i[h+96>>0]=i[f>>0]|0;k[h+16>>2]=(k[h+56>>2]|0)+(m[h+94>>1]<<4);while(1){a=l[h+96>>0]|0;if((k[h+16>>2]|0)==(k[h+28>>2]|0)){g=46;break}j[h+90>>1]=0;j[h+92>>1]=0;do if(j[(k[h+16>>2]|0)+8>>1]|0){k[h+4>>2]=(k[h+16>>2]|0)+(m[(k[h+16>>2]|0)+8>>1]<<4);while(1){if((l[h+96>>0]|0)<(l[k[h+4>>2]>>0]|0)){g=(k[h+4>>2]|0)+2|0;j[g>>1]=(m[g>>1]|0)+2;if(!(j[(k[h+4>>2]|0)+4>>1]|0)){g=15;break}k[h+4>>2]=(k[h+4>>2]|0)+(m[(k[h+4>>2]|0)+4>>1]<<4);continue}a=k[h+4>>2]|0;if((l[h+96>>0]|0)<=(l[k[h+4>>2]>>0]|0)){g=20;break}j[h+90>>1]=(m[h+90>>1]|0)+(m[a+2>>1]|0);if(!(j[(k[h+4>>2]|0)+6>>1]|0)){g=19;break}k[h+4>>2]=(k[h+4>>2]|0)+(m[(k[h+4>>2]|0)+6>>1]<<4)}if((g|0)==15){g=0;f=k[h+20>>2]|0;k[h+20>>2]=f+1;k[h+12>>2]=(k[h+56>>2]|0)+(f<<4);i[k[h+12>>2]>>0]=i[h+96>>0]|0;i[(k[h+12>>2]|0)+1>>0]=2;j[(k[h+12>>2]|0)+2>>1]=2;j[(k[h+12>>2]|0)+4>>1]=0;j[(k[h+12>>2]|0)+6>>1]=0;j[(k[h+12>>2]|0)+8>>1]=0;j[(k[h+12>>2]|0)+10>>1]=0;j[(k[h+12>>2]|0)+12>>1]=0;j[(k[h+12>>2]|0)+14>>1]=0;j[(k[h+4>>2]|0)+4>>1]=((k[h+12>>2]|0)-(k[h+4>>2]|0)|0)/16|0;break}else if((g|0)==19){g=0;f=k[h+20>>2]|0;k[h+20>>2]=f+1;k[h+12>>2]=(k[h+56>>2]|0)+(f<<4);i[k[h+12>>2]>>0]=i[h+96>>0]|0;i[(k[h+12>>2]|0)+1>>0]=2;j[(k[h+12>>2]|0)+2>>1]=2;j[(k[h+12>>2]|0)+4>>1]=0;j[(k[h+12>>2]|0)+6>>1]=0;j[(k[h+12>>2]|0)+8>>1]=0;j[(k[h+12>>2]|0)+10>>1]=0;j[(k[h+12>>2]|0)+12>>1]=0;j[(k[h+12>>2]|0)+14>>1]=0;j[(k[h+4>>2]|0)+6>>1]=((k[h+12>>2]|0)-(k[h+4>>2]|0)|0)/16|0;break}else if((g|0)==20){g=0;j[h+92>>1]=(m[h+92>>1]|0)+(l[a+1>>0]|0);j[h+90>>1]=(m[h+90>>1]|0)+((m[(k[h+4>>2]|0)+2>>1]|0)-(l[(k[h+4>>2]|0)+1>>0]|0));f=(k[h+4>>2]|0)+2|0;j[f>>1]=(m[f>>1]|0)+2;f=(k[h+4>>2]|0)+1|0;i[f>>0]=(l[f>>0]|0)+2;k[h+12>>2]=k[h+4>>2];break}}else{f=k[h+20>>2]|0;k[h+20>>2]=f+1;k[h+12>>2]=(k[h+56>>2]|0)+(f<<4);i[k[h+12>>2]>>0]=i[h+96>>0]|0;i[(k[h+12>>2]|0)+1>>0]=2;j[(k[h+12>>2]|0)+2>>1]=2;j[(k[h+12>>2]|0)+4>>1]=0;j[(k[h+12>>2]|0)+6>>1]=0;j[(k[h+12>>2]|0)+8>>1]=0;j[(k[h+12>>2]|0)+10>>1]=0;j[(k[h+12>>2]|0)+12>>1]=0;j[(k[h+12>>2]|0)+14>>1]=0;j[(k[h+16>>2]|0)+8>>1]=((k[h+12>>2]|0)-(k[h+16>>2]|0)|0)/16|0}while(0);j[k[h+8>>2]>>1]=((k[h+12>>2]|0)-(k[h+56>>2]|0)|0)/16|0;k[h+8>>2]=(k[h+12>>2]|0)+14;j[h+88>>1]=j[(k[h+16>>2]|0)+12>>1]|0;b:do if((m[h+92>>1]|0)>0){k[h+32>>2]=((k[h+32>>2]|0)>>>0)/((m[h+88>>1]|0)>>>0)|0;f=ha((m[(k[h+16>>2]|0)+10>>1]|0)+(m[h+90>>1]|0)|0,k[h+32>>2]|0)|0;k[h+36>>2]=(k[h+36>>2]|0)+f;f=ha(k[h+32>>2]|0,m[h+92>>1]|0)|0;k[h+32>>2]=f;while(1){if((k[h+36>>2]^(k[h+36>>2]|0)+(k[h+32>>2]|0))>>>0>=16777216){if((k[h+32>>2]|0)>>>0>=65536)break b;k[h+32>>2]=0-(k[h+36>>2]|0)&65535}if((k[h+64>>2]|0)>>>0>=(k[h+48>>2]|0)>>>0){g=27;break a}e=(k[h+36>>2]|0)>>>24&255;f=k[h+64>>2]|0;k[h+64>>2]=f+1;i[f>>0]=e;k[h+32>>2]=k[h+32>>2]<<8;k[h+36>>2]=k[h+36>>2]<<8}}else{c:do if((m[(k[h+16>>2]|0)+10>>1]|0)>0)if((m[(k[h+16>>2]|0)+10>>1]|0)<(m[h+88>>1]|0)){k[h+32>>2]=((k[h+32>>2]|0)>>>0)/((m[h+88>>1]|0)>>>0)|0;k[h+36>>2]=(k[h+36>>2]|0)+0;f=ha(k[h+32>>2]|0,m[(k[h+16>>2]|0)+10>>1]|0)|0;k[h+32>>2]=f;while(1){if((k[h+36>>2]^(k[h+36>>2]|0)+(k[h+32>>2]|0))>>>0>=16777216){if((k[h+32>>2]|0)>>>0>=65536)break c;k[h+32>>2]=0-(k[h+36>>2]|0)&65535}if((k[h+64>>2]|0)>>>0>=(k[h+48>>2]|0)>>>0){g=36;break a}e=(k[h+36>>2]|0)>>>24&255;f=k[h+64>>2]|0;k[h+64>>2]=f+1;i[f>>0]=e;k[h+32>>2]=k[h+32>>2]<<8;k[h+36>>2]=k[h+36>>2]<<8}}while(0);f=(k[h+16>>2]|0)+10|0;j[f>>1]=(m[f>>1]|0)+5;f=(k[h+16>>2]|0)+12|0;j[f>>1]=(m[f>>1]|0)+5}while(0);f=(k[h+16>>2]|0)+12|0;j[f>>1]=(m[f>>1]|0)+2;if((m[h+92>>1]|0)>251)g=41;else if((m[(k[h+16>>2]|0)+12>>1]|0)>65280)g=41;if((g|0)==41){g=0;if(m[(k[h+16>>2]|0)+8>>1]|0)a=(lq((k[h+16>>2]|0)+(m[(k[h+16>>2]|0)+8>>1]<<4)|0)|0)&65535;else a=0;j[(k[h+16>>2]|0)+12>>1]=a;f=(k[h+16>>2]|0)+10|0;j[f>>1]=(m[f>>1]|0)-(m[(k[h+16>>2]|0)+10>>1]>>1);f=(k[h+16>>2]|0)+12|0;j[f>>1]=(m[f>>1]|0)+((m[(k[h+16>>2]|0)+10>>1]|0)+0)}if((m[h+92>>1]|0)>0)break;k[h+16>>2]=(k[h+56>>2]|0)+(m[(k[h+16>>2]|0)+14>>1]<<4)}do if((g|0)==46){g=0;j[h+90>>1]=a;j[h+92>>1]=1;do if(j[(k[h+28>>2]|0)+8>>1]|0){k[h>>2]=(k[h+28>>2]|0)+(m[(k[h+28>>2]|0)+8>>1]<<4);while(1){if((l[h+96>>0]|0)<(l[k[h>>2]>>0]|0)){g=(k[h>>2]|0)+2|0;j[g>>1]=(m[g>>1]|0)+3;if(!(j[(k[h>>2]|0)+4>>1]|0)){g=52;break}k[h>>2]=(k[h>>2]|0)+(m[(k[h>>2]|0)+4>>1]<<4);continue}a=k[h>>2]|0;if((l[h+96>>0]|0)<=(l[k[h>>2]>>0]|0)){g=57;break}j[h+90>>1]=(m[h+90>>1]|0)+(m[a+2>>1]|0);if(!(j[(k[h>>2]|0)+6>>1]|0)){g=56;break}k[h>>2]=(k[h>>2]|0)+(m[(k[h>>2]|0)+6>>1]<<4)}if((g|0)==52){g=0;f=k[h+20>>2]|0;k[h+20>>2]=f+1;k[h+12>>2]=(k[h+56>>2]|0)+(f<<4);i[k[h+12>>2]>>0]=i[h+96>>0]|0;i[(k[h+12>>2]|0)+1>>0]=3;j[(k[h+12>>2]|0)+2>>1]=3;j[(k[h+12>>2]|0)+4>>1]=0;j[(k[h+12>>2]|0)+6>>1]=0;j[(k[h+12>>2]|0)+8>>1]=0;j[(k[h+12>>2]|0)+10>>1]=0;j[(k[h+12>>2]|0)+12>>1]=0;j[(k[h+12>>2]|0)+14>>1]=0;j[(k[h>>2]|0)+4>>1]=((k[h+12>>2]|0)-(k[h>>2]|0)|0)/16|0;break}else if((g|0)==56){g=0;f=k[h+20>>2]|0;k[h+20>>2]=f+1;k[h+12>>2]=(k[h+56>>2]|0)+(f<<4);i[k[h+12>>2]>>0]=i[h+96>>0]|0;i[(k[h+12>>2]|0)+1>>0]=3;j[(k[h+12>>2]|0)+2>>1]=3;j[(k[h+12>>2]|0)+4>>1]=0;j[(k[h+12>>2]|0)+6>>1]=0;j[(k[h+12>>2]|0)+8>>1]=0;j[(k[h+12>>2]|0)+10>>1]=0;j[(k[h+12>>2]|0)+12>>1]=0;j[(k[h+12>>2]|0)+14>>1]=0;j[(k[h>>2]|0)+6>>1]=((k[h+12>>2]|0)-(k[h>>2]|0)|0)/16|0;break}else if((g|0)==57){g=0;j[h+92>>1]=(m[h+92>>1]|0)+(l[a+1>>0]|0);j[h+90>>1]=(m[h+90>>1]|0)+((m[(k[h>>2]|0)+2>>1]|0)-(l[(k[h>>2]|0)+1>>0]|0));f=(k[h>>2]|0)+2|0;j[f>>1]=(m[f>>1]|0)+3;f=(k[h>>2]|0)+1|0;i[f>>0]=(l[f>>0]|0)+3;k[h+12>>2]=k[h>>2];break}}else{f=k[h+20>>2]|0;k[h+20>>2]=f+1;k[h+12>>2]=(k[h+56>>2]|0)+(f<<4);i[k[h+12>>2]>>0]=i[h+96>>0]|0;i[(k[h+12>>2]|0)+1>>0]=3;j[(k[h+12>>2]|0)+2>>1]=3;j[(k[h+12>>2]|0)+4>>1]=0;j[(k[h+12>>2]|0)+6>>1]=0;j[(k[h+12>>2]|0)+8>>1]=0;j[(k[h+12>>2]|0)+10>>1]=0;j[(k[h+12>>2]|0)+12>>1]=0;j[(k[h+12>>2]|0)+14>>1]=0;j[(k[h+28>>2]|0)+8>>1]=((k[h+12>>2]|0)-(k[h+28>>2]|0)|0)/16|0}while(0);j[k[h+8>>2]>>1]=((k[h+12>>2]|0)-(k[h+56>>2]|0)|0)/16|0;k[h+8>>2]=(k[h+12>>2]|0)+14;j[h+88>>1]=j[(k[h+28>>2]|0)+12>>1]|0;k[h+32>>2]=((k[h+32>>2]|0)>>>0)/((m[h+88>>1]|0)>>>0)|0;f=ha((m[(k[h+28>>2]|0)+10>>1]|0)+(m[h+90>>1]|0)|0,k[h+32>>2]|0)|0;k[h+36>>2]=(k[h+36>>2]|0)+f;f=ha(k[h+32>>2]|0,m[h+92>>1]|0)|0;k[h+32>>2]=f;while(1){if((k[h+36>>2]^(k[h+36>>2]|0)+(k[h+32>>2]|0))>>>0>=16777216){if((k[h+32>>2]|0)>>>0>=65536)break;k[h+32>>2]=0-(k[h+36>>2]|0)&65535}if((k[h+64>>2]|0)>>>0>=(k[h+48>>2]|0)>>>0){g=63;break a}e=(k[h+36>>2]|0)>>>24&255;f=k[h+64>>2]|0;k[h+64>>2]=f+1;i[f>>0]=e;k[h+32>>2]=k[h+32>>2]<<8;k[h+36>>2]=k[h+36>>2]<<8}f=(k[h+28>>2]|0)+12|0;j[f>>1]=(m[f>>1]|0)+3;if((m[h+92>>1]|0)<=250)if((m[(k[h+28>>2]|0)+12>>1]|0)<=65280)break;if(m[(k[h+28>>2]|0)+8>>1]|0)a=(lq((k[h+28>>2]|0)+(m[(k[h+28>>2]|0)+8>>1]<<4)|0)|0)&65535;else a=0;j[(k[h+28>>2]|0)+12>>1]=a;f=(k[h+28>>2]|0)+10|0;j[f>>1]=(m[f>>1]|0)-(m[(k[h+28>>2]|0)+10>>1]>>1);f=(k[h+28>>2]|0)+12|0;j[f>>1]=(m[f>>1]|0)+((m[(k[h+28>>2]|0)+10>>1]|0)+256)}while(0);if((k[h+24>>2]|0)>>>0>=2)j[h+94>>1]=j[(k[h+56>>2]|0)+(m[h+94>>1]<<4)+14>>1]|0;else k[h+24>>2]=(k[h+24>>2]|0)+1;if((k[h+20>>2]|0)>>>0<4094)continue;k[h+20>>2]=0;f=k[h+20>>2]|0;k[h+20>>2]=f+1;k[h+28>>2]=(k[h+56>>2]|0)+(f<<4);i[k[h+28>>2]>>0]=0;i[(k[h+28>>2]|0)+1>>0]=0;j[(k[h+28>>2]|0)+2>>1]=0;j[(k[h+28>>2]|0)+4>>1]=0;j[(k[h+28>>2]|0)+6>>1]=0;j[(k[h+28>>2]|0)+8>>1]=0;j[(k[h+28>>2]|0)+10>>1]=0;j[(k[h+28>>2]|0)+12>>1]=0;j[(k[h+28>>2]|0)+14>>1]=0;j[(k[h+28>>2]|0)+10>>1]=1;j[(k[h+28>>2]|0)+12>>1]=257;j[(k[h+28>>2]|0)+8>>1]=0;j[h+94>>1]=0;k[h+24>>2]=0}if((g|0)==27){k[h+84>>2]=0;g=k[h+84>>2]|0;r=h;return g|0}else if((g|0)==36){k[h+84>>2]=0;g=k[h+84>>2]|0;r=h;return g|0}else if((g|0)==63){k[h+84>>2]=0;g=k[h+84>>2]|0;r=h;return g|0}else if((g|0)==75){while(1){a=k[h+64>>2]|0;if(!(k[h+36>>2]|0)){g=79;break}if(a>>>0>=(k[h+48>>2]|0)>>>0){g=77;break}f=(k[h+36>>2]|0)>>>24&255;g=k[h+64>>2]|0;k[h+64>>2]=g+1;i[g>>0]=f;k[h+36>>2]=k[h+36>>2]<<8;g=75}if((g|0)==77){k[h+84>>2]=0;g=k[h+84>>2]|0;r=h;return g|0}else if((g|0)==79){k[h+84>>2]=a-(k[h+52>>2]|0);g=k[h+84>>2]|0;r=h;return g|0}}return 0}function lq(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;k[b>>2]=a;j[b+4>>1]=0;while(1){a=(k[b>>2]|0)+1|0;i[a>>0]=(l[a>>0]|0)-(l[(k[b>>2]|0)+1>>0]>>1);j[(k[b>>2]|0)+2>>1]=l[(k[b>>2]|0)+1>>0]|0;if(j[(k[b>>2]|0)+4>>1]|0){c=(lq((k[b>>2]|0)+(m[(k[b>>2]|0)+4>>1]<<4)|0)|0)&65535;a=(k[b>>2]|0)+2|0;j[a>>1]=(m[a>>1]|0)+c}j[b+4>>1]=(m[b+4>>1]|0)+(m[(k[b>>2]|0)+2>>1]|0);if(!(j[(k[b>>2]|0)+6>>1]|0))break;k[b>>2]=(k[b>>2]|0)+(m[(k[b>>2]|0)+6>>1]<<4)}r=b;return j[b+4>>1]|0}function mq(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=r;r=r+128|0;k[f+84>>2]=a;k[f+80>>2]=b;k[f+76>>2]=c;k[f+72>>2]=d;k[f+68>>2]=e;k[f+64>>2]=k[f+84>>2];k[f+60>>2]=k[f+72>>2];k[f+56>>2]=(k[f+72>>2]|0)+(k[f+68>>2]|0);k[f+52>>2]=(k[f+80>>2]|0)+(k[f+76>>2]|0);k[f+48>>2]=0;k[f+44>>2]=0;k[f+40>>2]=-1;j[f+110>>1]=0;k[f+32>>2]=0;k[f+28>>2]=0;if((k[f+64>>2]|0)==0|(k[f+76>>2]|0)>>>0<=0){k[f+88>>2]=0;e=k[f+88>>2]|0;r=f;return e|0}e=k[f+28>>2]|0;k[f+28>>2]=e+1;k[f+36>>2]=(k[f+64>>2]|0)+(e<<4);i[k[f+36>>2]>>0]=0;i[(k[f+36>>2]|0)+1>>0]=0;j[(k[f+36>>2]|0)+2>>1]=0;j[(k[f+36>>2]|0)+4>>1]=0;j[(k[f+36>>2]|0)+6>>1]=0;j[(k[f+36>>2]|0)+8>>1]=0;j[(k[f+36>>2]|0)+10>>1]=0;j[(k[f+36>>2]|0)+12>>1]=0;j[(k[f+36>>2]|0)+14>>1]=0;j[(k[f+36>>2]|0)+10>>1]=1;j[(k[f+36>>2]|0)+12>>1]=257;j[(k[f+36>>2]|0)+8>>1]=0;if((k[f+80>>2]|0)>>>0<(k[f+52>>2]|0)>>>0){e=k[f+80>>2]|0;k[f+80>>2]=e+1;k[f+44>>2]=k[f+44>>2]|l[e>>0]<<24}if((k[f+80>>2]|0)>>>0<(k[f+52>>2]|0)>>>0){e=k[f+80>>2]|0;k[f+80>>2]=e+1;k[f+44>>2]=k[f+44>>2]|l[e>>0]<<16}if((k[f+80>>2]|0)>>>0<(k[f+52>>2]|0)>>>0){e=k[f+80>>2]|0;k[f+80>>2]=e+1;k[f+44>>2]=k[f+44>>2]|l[e>>0]<<8}if((k[f+80>>2]|0)>>>0<(k[f+52>>2]|0)>>>0){e=k[f+80>>2]|0;k[f+80>>2]=e+1;k[f+44>>2]=k[f+44>>2]|l[e>>0]}a:while(1){i[f+112>>0]=0;k[f+12>>2]=f+110;k[f+24>>2]=(k[f+64>>2]|0)+(m[f+110>>1]<<4);b:while(1){if((k[f+24>>2]|0)==(k[f+36>>2]|0)){b=47;break}c:do if((m[(k[f+24>>2]|0)+10>>1]|0)>0){j[f+100>>1]=j[(k[f+24>>2]|0)+12>>1]|0;if((m[(k[f+24>>2]|0)+10>>1]|0)<(m[f+100>>1]|0)){d=(k[f+44>>2]|0)-(k[f+48>>2]|0)|0;e=((k[f+40>>2]|0)>>>0)/((m[f+100>>1]|0)>>>0)|0;k[f+40>>2]=e;j[f+108>>1]=(d>>>0)/(e>>>0)|0;if((m[f+108>>1]|0)>=(m[(k[f+24>>2]|0)+10>>1]|0)){b=23;break b}k[f+48>>2]=(k[f+48>>2]|0)+0;e=ha(k[f+40>>2]|0,m[(k[f+24>>2]|0)+10>>1]|0)|0;k[f+40>>2]=e;while(1){if((k[f+48>>2]^(k[f+48>>2]|0)+(k[f+40>>2]|0))>>>0>=16777216){if((k[f+40>>2]|0)>>>0>=65536)break c;k[f+40>>2]=0-(k[f+48>>2]|0)&65535}k[f+44>>2]=k[f+44>>2]<<8;if((k[f+80>>2]|0)>>>0<(k[f+52>>2]|0)>>>0){e=k[f+80>>2]|0;k[f+80>>2]=e+1;k[f+44>>2]=k[f+44>>2]|l[e>>0]}k[f+40>>2]=k[f+40>>2]<<8;k[f+48>>2]=k[f+48>>2]<<8}}}while(0);k[f+24>>2]=(k[f+64>>2]|0)+(m[(k[f+24>>2]|0)+14>>1]<<4)}do if((b|0)==23){b=0;j[f+108>>1]=(m[f+108>>1]|0)-(m[(k[f+24>>2]|0)+10>>1]|0);j[f+106>>1]=0;j[f+104>>1]=0;if(!(j[(k[f+24>>2]|0)+8>>1]|0)){b=24;break a}k[f+8>>2]=(k[f+24>>2]|0)+(m[(k[f+24>>2]|0)+8>>1]<<4);while(1){j[f+98>>1]=(m[f+106>>1]|0)+(m[(k[f+8>>2]|0)+2>>1]|0)+0;j[f+96>>1]=(l[(k[f+8>>2]|0)+1>>0]|0)+0;if((m[f+108>>1]|0)>=(m[f+98>>1]|0)){j[f+106>>1]=(m[f+106>>1]|0)+(m[(k[f+8>>2]|0)+2>>1]|0);if(!(j[(k[f+8>>2]|0)+6>>1]|0)){b=29;break a}k[f+8>>2]=(k[f+8>>2]|0)+(m[(k[f+8>>2]|0)+6>>1]<<4);continue}a=k[f+8>>2]|0;if((m[f+108>>1]|0)>=((m[f+98>>1]|0)-(m[f+96>>1]|0)|0))break;j[a+2>>1]=(m[a+2>>1]|0)+2;if(!(j[(k[f+8>>2]|0)+4>>1]|0)){b=33;break a}k[f+8>>2]=(k[f+8>>2]|0)+(m[(k[f+8>>2]|0)+4>>1]<<4)}i[f+112>>0]=i[a>>0]|0;j[f+104>>1]=(m[f+104>>1]|0)+(l[(k[f+8>>2]|0)+1>>0]|0);j[f+106>>1]=(m[f+98>>1]|0)-(m[f+96>>1]|0);e=(k[f+8>>2]|0)+2|0;j[e>>1]=(m[e>>1]|0)+2;e=(k[f+8>>2]|0)+1|0;i[e>>0]=(l[e>>0]|0)+2;k[f+20>>2]=k[f+8>>2];j[f+102>>1]=((k[f+20>>2]|0)-(k[f+64>>2]|0)|0)/16|0;e=ha((m[(k[f+24>>2]|0)+10>>1]|0)+(m[f+106>>1]|0)|0,k[f+40>>2]|0)|0;k[f+48>>2]=(k[f+48>>2]|0)+e;e=ha(k[f+40>>2]|0,m[f+104>>1]|0)|0;k[f+40>>2]=e;while(1){if((k[f+48>>2]^(k[f+48>>2]|0)+(k[f+40>>2]|0))>>>0>=16777216){if((k[f+40>>2]|0)>>>0>=65536)break;k[f+40>>2]=0-(k[f+48>>2]|0)&65535}k[f+44>>2]=k[f+44>>2]<<8;if((k[f+80>>2]|0)>>>0<(k[f+52>>2]|0)>>>0){e=k[f+80>>2]|0;k[f+80>>2]=e+1;k[f+44>>2]=k[f+44>>2]|l[e>>0]}k[f+40>>2]=k[f+40>>2]<<8;k[f+48>>2]=k[f+48>>2]<<8}e=(k[f+24>>2]|0)+12|0;j[e>>1]=(m[e>>1]|0)+2;if((m[f+104>>1]|0)<=251)if((m[(k[f+24>>2]|0)+12>>1]|0)<=65280)break;if(m[(k[f+24>>2]|0)+8>>1]|0)a=(lq((k[f+24>>2]|0)+(m[(k[f+24>>2]|0)+8>>1]<<4)|0)|0)&65535;else a=0;j[(k[f+24>>2]|0)+12>>1]=a;e=(k[f+24>>2]|0)+10|0;j[e>>1]=(m[e>>1]|0)-(m[(k[f+24>>2]|0)+10>>1]>>1);e=(k[f+24>>2]|0)+12|0;j[e>>1]=(m[e>>1]|0)+((m[(k[f+24>>2]|0)+10>>1]|0)+0)}else if((b|0)==47){b=0;j[f+100>>1]=j[(k[f+36>>2]|0)+12>>1]|0;d=(k[f+44>>2]|0)-(k[f+48>>2]|0)|0;e=((k[f+40>>2]|0)>>>0)/((m[f+100>>1]|0)>>>0)|0;k[f+40>>2]=e;j[f+108>>1]=(d>>>0)/(e>>>0)|0;if((m[f+108>>1]|0)<(m[(k[f+36>>2]|0)+10>>1]|0)){b=48;break a}j[f+108>>1]=(m[f+108>>1]|0)-(m[(k[f+36>>2]|0)+10>>1]|0);j[f+106>>1]=0;j[f+104>>1]=1;do if(j[(k[f+36>>2]|0)+8>>1]|0){k[f+4>>2]=(k[f+36>>2]|0)+(m[(k[f+36>>2]|0)+8>>1]<<4);while(1){j[f+94>>1]=(m[f+106>>1]|0)+(m[(k[f+4>>2]|0)+2>>1]|0)+((l[k[f+4>>2]>>0]|0)+1);j[f+92>>1]=(l[(k[f+4>>2]|0)+1>>0]|0)+1;if((m[f+108>>1]|0)>=(m[f+94>>1]|0)){j[f+106>>1]=(m[f+106>>1]|0)+(m[(k[f+4>>2]|0)+2>>1]|0);a=k[f+4>>2]|0;if(!(j[(k[f+4>>2]|0)+6>>1]|0)){b=61;break}k[f+4>>2]=(k[f+4>>2]|0)+(m[a+6>>1]<<4);continue}a=k[f+4>>2]|0;if((m[f+108>>1]|0)>=((m[f+94>>1]|0)-(m[f+92>>1]|0)|0)){b=66;break}j[a+2>>1]=(m[a+2>>1]|0)+3;a=k[f+4>>2]|0;if(!(j[(k[f+4>>2]|0)+4>>1]|0)){b=65;break}k[f+4>>2]=(k[f+4>>2]|0)+(m[a+4>>1]<<4)}if((b|0)==61){b=0;i[f+112>>0]=(l[a>>0]|0)+1+(((m[f+108>>1]|0)-(m[f+94>>1]|0)|0)/1|0);j[f+106>>1]=(m[f+108>>1]|0)-(((m[f+108>>1]|0)-(m[f+94>>1]|0)|0)%1|0);e=k[f+28>>2]|0;k[f+28>>2]=e+1;k[f+20>>2]=(k[f+64>>2]|0)+(e<<4);i[k[f+20>>2]>>0]=i[f+112>>0]|0;i[(k[f+20>>2]|0)+1>>0]=3;j[(k[f+20>>2]|0)+2>>1]=3;j[(k[f+20>>2]|0)+4>>1]=0;j[(k[f+20>>2]|0)+6>>1]=0;j[(k[f+20>>2]|0)+8>>1]=0;j[(k[f+20>>2]|0)+10>>1]=0;j[(k[f+20>>2]|0)+12>>1]=0;j[(k[f+20>>2]|0)+14>>1]=0;j[(k[f+4>>2]|0)+6>>1]=((k[f+20>>2]|0)-(k[f+4>>2]|0)|0)/16|0;break}else if((b|0)==65){b=0;i[f+112>>0]=(l[a>>0]|0)-1-(((m[f+94>>1]|0)-(m[f+92>>1]|0)-(m[f+108>>1]|0)-1|0)/1|0);j[f+106>>1]=(m[f+108>>1]|0)-(((m[f+94>>1]|0)-(m[f+92>>1]|0)-(m[f+108>>1]|0)-1|0)%1|0);e=k[f+28>>2]|0;k[f+28>>2]=e+1;k[f+20>>2]=(k[f+64>>2]|0)+(e<<4);i[k[f+20>>2]>>0]=i[f+112>>0]|0;i[(k[f+20>>2]|0)+1>>0]=3;j[(k[f+20>>2]|0)+2>>1]=3;j[(k[f+20>>2]|0)+4>>1]=0;j[(k[f+20>>2]|0)+6>>1]=0;j[(k[f+20>>2]|0)+8>>1]=0;j[(k[f+20>>2]|0)+10>>1]=0;j[(k[f+20>>2]|0)+12>>1]=0;j[(k[f+20>>2]|0)+14>>1]=0;j[(k[f+4>>2]|0)+4>>1]=((k[f+20>>2]|0)-(k[f+4>>2]|0)|0)/16|0;break}else if((b|0)==66){b=0;i[f+112>>0]=i[a>>0]|0;j[f+104>>1]=(m[f+104>>1]|0)+(l[(k[f+4>>2]|0)+1>>0]|0);j[f+106>>1]=(m[f+94>>1]|0)-(m[f+92>>1]|0);e=(k[f+4>>2]|0)+2|0;j[e>>1]=(m[e>>1]|0)+3;e=(k[f+4>>2]|0)+1|0;i[e>>0]=(l[e>>0]|0)+3;k[f+20>>2]=k[f+4>>2];break}}else{i[f+112>>0]=(m[f+108>>1]|0)/1|0;j[f+106>>1]=(m[f+108>>1]|0)-((m[f+108>>1]|0)%1|0);e=k[f+28>>2]|0;k[f+28>>2]=e+1;k[f+20>>2]=(k[f+64>>2]|0)+(e<<4);i[k[f+20>>2]>>0]=i[f+112>>0]|0;i[(k[f+20>>2]|0)+1>>0]=3;j[(k[f+20>>2]|0)+2>>1]=3;j[(k[f+20>>2]|0)+4>>1]=0;j[(k[f+20>>2]|0)+6>>1]=0;j[(k[f+20>>2]|0)+8>>1]=0;j[(k[f+20>>2]|0)+10>>1]=0;j[(k[f+20>>2]|0)+12>>1]=0;j[(k[f+20>>2]|0)+14>>1]=0;j[(k[f+36>>2]|0)+8>>1]=((k[f+20>>2]|0)-(k[f+36>>2]|0)|0)/16|0}while(0);j[f+102>>1]=((k[f+20>>2]|0)-(k[f+64>>2]|0)|0)/16|0;e=ha((m[(k[f+36>>2]|0)+10>>1]|0)+(m[f+106>>1]|0)|0,k[f+40>>2]|0)|0;k[f+48>>2]=(k[f+48>>2]|0)+e;e=ha(k[f+40>>2]|0,m[f+104>>1]|0)|0;k[f+40>>2]=e;while(1){if((k[f+48>>2]^(k[f+48>>2]|0)+(k[f+40>>2]|0))>>>0>=16777216){if((k[f+40>>2]|0)>>>0>=65536)break;k[f+40>>2]=0-(k[f+48>>2]|0)&65535}k[f+44>>2]=k[f+44>>2]<<8;if((k[f+80>>2]|0)>>>0<(k[f+52>>2]|0)>>>0){e=k[f+80>>2]|0;k[f+80>>2]=e+1;k[f+44>>2]=k[f+44>>2]|l[e>>0]}k[f+40>>2]=k[f+40>>2]<<8;k[f+48>>2]=k[f+48>>2]<<8}e=(k[f+36>>2]|0)+12|0;j[e>>1]=(m[e>>1]|0)+3;if((m[f+104>>1]|0)<=250)if((m[(k[f+36>>2]|0)+12>>1]|0)<=65280)break;if(m[(k[f+36>>2]|0)+8>>1]|0)a=(lq((k[f+36>>2]|0)+(m[(k[f+36>>2]|0)+8>>1]<<4)|0)|0)&65535;else a=0;j[(k[f+36>>2]|0)+12>>1]=a;e=(k[f+36>>2]|0)+10|0;j[e>>1]=(m[e>>1]|0)-(m[(k[f+36>>2]|0)+10>>1]>>1);e=(k[f+36>>2]|0)+12|0;j[e>>1]=(m[e>>1]|0)+((m[(k[f+36>>2]|0)+10>>1]|0)+256)}while(0);k[f+16>>2]=(k[f+64>>2]|0)+(m[f+110>>1]<<4);while(1){if((k[f+16>>2]|0)==(k[f+24>>2]|0))break;j[f+106>>1]=0;j[f+104>>1]=0;do if(j[(k[f+16>>2]|0)+8>>1]|0){k[f>>2]=(k[f+16>>2]|0)+(m[(k[f+16>>2]|0)+8>>1]<<4);while(1){if((l[f+112>>0]|0)<(l[k[f>>2]>>0]|0)){e=(k[f>>2]|0)+2|0;j[e>>1]=(m[e>>1]|0)+2;if(!(j[(k[f>>2]|0)+4>>1]|0)){b=87;break}k[f>>2]=(k[f>>2]|0)+(m[(k[f>>2]|0)+4>>1]<<4);continue}a=k[f>>2]|0;if((l[f+112>>0]|0)<=(l[k[f>>2]>>0]|0)){b=92;break}j[f+106>>1]=(m[f+106>>1]|0)+(m[a+2>>1]|0);if(!(j[(k[f>>2]|0)+6>>1]|0)){b=91;break}k[f>>2]=(k[f>>2]|0)+(m[(k[f>>2]|0)+6>>1]<<4)}if((b|0)==87){b=0;e=k[f+28>>2]|0;k[f+28>>2]=e+1;k[f+20>>2]=(k[f+64>>2]|0)+(e<<4);i[k[f+20>>2]>>0]=i[f+112>>0]|0;i[(k[f+20>>2]|0)+1>>0]=2;j[(k[f+20>>2]|0)+2>>1]=2;j[(k[f+20>>2]|0)+4>>1]=0;j[(k[f+20>>2]|0)+6>>1]=0;j[(k[f+20>>2]|0)+8>>1]=0;j[(k[f+20>>2]|0)+10>>1]=0;j[(k[f+20>>2]|0)+12>>1]=0;j[(k[f+20>>2]|0)+14>>1]=0;j[(k[f>>2]|0)+4>>1]=((k[f+20>>2]|0)-(k[f>>2]|0)|0)/16|0;break}else if((b|0)==91){b=0;e=k[f+28>>2]|0;k[f+28>>2]=e+1;k[f+20>>2]=(k[f+64>>2]|0)+(e<<4);i[k[f+20>>2]>>0]=i[f+112>>0]|0;i[(k[f+20>>2]|0)+1>>0]=2;j[(k[f+20>>2]|0)+2>>1]=2;j[(k[f+20>>2]|0)+4>>1]=0;j[(k[f+20>>2]|0)+6>>1]=0;j[(k[f+20>>2]|0)+8>>1]=0;j[(k[f+20>>2]|0)+10>>1]=0;j[(k[f+20>>2]|0)+12>>1]=0;j[(k[f+20>>2]|0)+14>>1]=0;j[(k[f>>2]|0)+6>>1]=((k[f+20>>2]|0)-(k[f>>2]|0)|0)/16|0;break}else if((b|0)==92){b=0;j[f+104>>1]=(m[f+104>>1]|0)+(l[a+1>>0]|0);j[f+106>>1]=(m[f+106>>1]|0)+((m[(k[f>>2]|0)+2>>1]|0)-(l[(k[f>>2]|0)+1>>0]|0));e=(k[f>>2]|0)+2|0;j[e>>1]=(m[e>>1]|0)+2;e=(k[f>>2]|0)+1|0;i[e>>0]=(l[e>>0]|0)+2;k[f+20>>2]=k[f>>2];break}}else{e=k[f+28>>2]|0;k[f+28>>2]=e+1;k[f+20>>2]=(k[f+64>>2]|0)+(e<<4);i[k[f+20>>2]>>0]=i[f+112>>0]|0;i[(k[f+20>>2]|0)+1>>0]=2;j[(k[f+20>>2]|0)+2>>1]=2;j[(k[f+20>>2]|0)+4>>1]=0;j[(k[f+20>>2]|0)+6>>1]=0;j[(k[f+20>>2]|0)+8>>1]=0;j[(k[f+20>>2]|0)+10>>1]=0;j[(k[f+20>>2]|0)+12>>1]=0;j[(k[f+20>>2]|0)+14>>1]=0;j[(k[f+16>>2]|0)+8>>1]=((k[f+20>>2]|0)-(k[f+16>>2]|0)|0)/16|0}while(0);j[k[f+12>>2]>>1]=((k[f+20>>2]|0)-(k[f+64>>2]|0)|0)/16|0;k[f+12>>2]=(k[f+20>>2]|0)+14;if((m[f+104>>1]|0)<=0){e=(k[f+16>>2]|0)+10|0;j[e>>1]=(m[e>>1]|0)+5;e=(k[f+16>>2]|0)+12|0;j[e>>1]=(m[e>>1]|0)+5}e=(k[f+16>>2]|0)+12|0;j[e>>1]=(m[e>>1]|0)+2;if((m[f+104>>1]|0)>251)b=97;else if((m[(k[f+16>>2]|0)+12>>1]|0)>65280)b=97;if((b|0)==97){b=0;if(m[(k[f+16>>2]|0)+8>>1]|0)a=(lq((k[f+16>>2]|0)+(m[(k[f+16>>2]|0)+8>>1]<<4)|0)|0)&65535;else a=0;j[(k[f+16>>2]|0)+12>>1]=a;e=(k[f+16>>2]|0)+10|0;j[e>>1]=(m[e>>1]|0)-(m[(k[f+16>>2]|0)+10>>1]>>1);e=(k[f+16>>2]|0)+12|0;j[e>>1]=(m[e>>1]|0)+((m[(k[f+16>>2]|0)+10>>1]|0)+0)}k[f+16>>2]=(k[f+64>>2]|0)+(m[(k[f+16>>2]|0)+14>>1]<<4)}j[k[f+12>>2]>>1]=j[f+102>>1]|0;if((k[f+72>>2]|0)>>>0>=(k[f+56>>2]|0)>>>0){b=102;break}d=i[f+112>>0]|0;e=k[f+72>>2]|0;k[f+72>>2]=e+1;i[e>>0]=d;if((k[f+32>>2]|0)>>>0>=2)j[f+110>>1]=j[(k[f+64>>2]|0)+(m[f+110>>1]<<4)+14>>1]|0;else k[f+32>>2]=(k[f+32>>2]|0)+1;if((k[f+28>>2]|0)>>>0<4094)continue;k[f+28>>2]=0;e=k[f+28>>2]|0;k[f+28>>2]=e+1;k[f+36>>2]=(k[f+64>>2]|0)+(e<<4);i[k[f+36>>2]>>0]=0;i[(k[f+36>>2]|0)+1>>0]=0;j[(k[f+36>>2]|0)+2>>1]=0;j[(k[f+36>>2]|0)+4>>1]=0;j[(k[f+36>>2]|0)+6>>1]=0;j[(k[f+36>>2]|0)+8>>1]=0;j[(k[f+36>>2]|0)+10>>1]=0;j[(k[f+36>>2]|0)+12>>1]=0;j[(k[f+36>>2]|0)+14>>1]=0;j[(k[f+36>>2]|0)+10>>1]=1;j[(k[f+36>>2]|0)+12>>1]=257;j[(k[f+36>>2]|0)+8>>1]=0;j[f+110>>1]=0;k[f+32>>2]=0}if((b|0)==24){k[f+88>>2]=0;e=k[f+88>>2]|0;r=f;return e|0}else if((b|0)==29){k[f+88>>2]=0;e=k[f+88>>2]|0;r=f;return e|0}else if((b|0)==33){k[f+88>>2]=0;e=k[f+88>>2]|0;r=f;return e|0}else if((b|0)==48){k[f+48>>2]=(k[f+48>>2]|0)+0;e=ha(k[f+40>>2]|0,m[(k[f+36>>2]|0)+10>>1]|0)|0;k[f+40>>2]=e;while(1){if((k[f+48>>2]^(k[f+48>>2]|0)+(k[f+40>>2]|0))>>>0>=16777216){if((k[f+40>>2]|0)>>>0>=65536)break;k[f+40>>2]=0-(k[f+48>>2]|0)&65535}k[f+44>>2]=k[f+44>>2]<<8;if((k[f+80>>2]|0)>>>0<(k[f+52>>2]|0)>>>0){e=k[f+80>>2]|0;k[f+80>>2]=e+1;k[f+44>>2]=k[f+44>>2]|l[e>>0]}k[f+40>>2]=k[f+40>>2]<<8;k[f+48>>2]=k[f+48>>2]<<8}k[f+88>>2]=(k[f+72>>2]|0)-(k[f+60>>2]|0);e=k[f+88>>2]|0;r=f;return e|0}else if((b|0)==102){k[f+88>>2]=0;e=k[f+88>>2]|0;r=f;return e|0}return 0}function nq(a){a=a|0;var b=0;b=r;r=r+32|0;k[b+16>>2]=a;k[b>>2]=0;k[b+4>>2]=0;k[b+8>>2]=0;k[b+12>>2]=0;a=iq()|0;k[b>>2]=a;if(!(k[b>>2]|0)){k[b+20>>2]=-1;a=k[b+20>>2]|0;r=b;return a|0}else{k[b+4>>2]=47;k[b+8>>2]=66;k[b+12>>2]=687;sq(k[b+16>>2]|0,b);k[b+20>>2]=0;a=k[b+20>>2]|0;r=b;return a|0}return 0}function oq(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=r;r=r+32|0;k[f+24>>2]=a;k[f+20>>2]=b;k[f+16>>2]=c;k[f+12>>2]=d;k[f+8>>2]=e;if((k[f+20>>2]|0)>>>0>4095){k[f+28>>2]=0;b=k[f+28>>2]|0;r=f;return b|0}b=gq(10396)|0;k[f+4>>2]=b;if(!(k[f+4>>2]|0)){k[f+28>>2]=0;b=k[f+28>>2]|0;r=f;return b|0}vBb(k[f+4>>2]|0,0,10396)|0;a=gq((k[f+20>>2]|0)*380|0)|0;k[(k[f+4>>2]|0)+36>>2]=a;a=k[f+4>>2]|0;if(!(k[(k[f+4>>2]|0)+36>>2]|0)){hq(a);k[f+28>>2]=0;b=k[f+28>>2]|0;r=f;return b|0}vBb(k[a+36>>2]|0,0,(k[f+20>>2]|0)*380|0)|0;b=Jr(2)|0;k[k[f+4>>2]>>2]=b;do if((k[k[f+4>>2]>>2]|0)!=-1){if(k[f+24>>2]|0)if((Hr(k[k[f+4>>2]>>2]|0,k[f+24>>2]|0)|0)<0)break;Kr(k[k[f+4>>2]>>2]|0,1,1)|0;Kr(k[k[f+4>>2]>>2]|0,2,1)|0;Kr(k[k[f+4>>2]>>2]|0,3,262144)|0;Kr(k[k[f+4>>2]>>2]|0,4,262144)|0;if(k[f+24>>2]|0)if((Ir(k[k[f+4>>2]>>2]|0,(k[f+4>>2]|0)+4|0)|0)<0){b=(k[f+4>>2]|0)+4|0;e=k[f+24>>2]|0;k[b>>2]=k[e>>2];k[b+4>>2]=k[e+4>>2]}if((k[f+16>>2]|0)==0?1:(k[f+16>>2]|0)>>>0>255)k[f+16>>2]=255;else if((k[f+16>>2]|0)>>>0<1)k[f+16>>2]=1;k[(k[f+4>>2]|0)+28>>2]=k[f+4>>2];e=Dr()|0;b=(k[f+4>>2]|0)+28|0;k[b>>2]=(k[b>>2]|0)+e;k[(k[f+4>>2]|0)+28>>2]=k[(k[f+4>>2]|0)+28>>2]<<16|(k[(k[f+4>>2]|0)+28>>2]|0)>>>16;k[(k[f+4>>2]|0)+44>>2]=k[f+16>>2];k[(k[f+4>>2]|0)+12>>2]=k[f+12>>2];k[(k[f+4>>2]|0)+16>>2]=k[f+8>>2];k[(k[f+4>>2]|0)+20>>2]=0;k[(k[f+4>>2]|0)+32>>2]=0;k[(k[f+4>>2]|0)+24>>2]=1400;k[(k[f+4>>2]|0)+40>>2]=k[f+20>>2];k[(k[f+4>>2]|0)+1608>>2]=0;k[(k[f+4>>2]|0)+2132>>2]=0;k[(k[f+4>>2]|0)+2136>>2]=0;k[(k[f+4>>2]|0)+10348>>2]=0;j[(k[f+4>>2]|0)+10348+4>>1]=0;k[(k[f+4>>2]|0)+10356>>2]=0;k[(k[f+4>>2]|0)+10360>>2]=0;k[(k[f+4>>2]|0)+10364>>2]=0;k[(k[f+4>>2]|0)+10368>>2]=0;k[(k[f+4>>2]|0)+10372>>2]=0;k[(k[f+4>>2]|0)+10376>>2]=0;k[(k[f+4>>2]|0)+10384>>2]=0;k[(k[f+4>>2]|0)+10388>>2]=0;k[(k[f+4>>2]|0)+10392>>2]=4095;k[(k[f+4>>2]|0)+2140>>2]=0;k[(k[f+4>>2]|0)+2140+4>>2]=0;k[(k[f+4>>2]|0)+2140+8>>2]=0;k[(k[f+4>>2]|0)+2140+12>>2]=0;k[(k[f+4>>2]|0)+10380>>2]=0;wq((k[f+4>>2]|0)+52|0);k[f>>2]=k[(k[f+4>>2]|0)+36>>2];while(1){a=k[f+4>>2]|0;if((k[f>>2]|0)>>>0>=((k[(k[f+4>>2]|0)+36>>2]|0)+((k[(k[f+4>>2]|0)+40>>2]|0)*380|0)|0)>>>0)break;k[(k[f>>2]|0)+8>>2]=a;j[(k[f>>2]|0)+14>>1]=((k[f>>2]|0)-(k[(k[f+4>>2]|0)+36>>2]|0)|0)/380|0;i[(k[f>>2]|0)+21>>0]=-1;i[(k[f>>2]|0)+20>>0]=-1;k[(k[f>>2]|0)+32>>2]=0;wq((k[f>>2]|0)+192|0);wq((k[f>>2]|0)+200|0);wq((k[f>>2]|0)+208|0);wq((k[f>>2]|0)+216|0);wq((k[f>>2]|0)+224|0);wq((k[f>>2]|0)+232|0);Oq(k[f>>2]|0);k[f>>2]=(k[f>>2]|0)+380}k[f+28>>2]=a;b=k[f+28>>2]|0;r=f;return b|0}while(0);if((k[k[f+4>>2]>>2]|0)!=-1)Lr(k[k[f+4>>2]>>2]|0);hq(k[(k[f+4>>2]|0)+36>>2]|0);hq(k[f+4>>2]|0);k[f+28>>2]=0;b=k[f+28>>2]|0;r=f;return b|0}function pq(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+4>>2]=a;if(!(k[b+4>>2]|0)){r=b;return}Lr(k[k[b+4>>2]>>2]|0);k[b>>2]=k[(k[b+4>>2]|0)+36>>2];while(1){if((k[b>>2]|0)>>>0>=((k[(k[b+4>>2]|0)+36>>2]|0)+((k[(k[b+4>>2]|0)+40>>2]|0)*380|0)|0)>>>0)break;Oq(k[b>>2]|0);k[b>>2]=(k[b>>2]|0)+380}if(k[(k[b+4>>2]|0)+2140>>2]|0)if(k[(k[b+4>>2]|0)+2140+12>>2]|0)Si[k[(k[b+4>>2]|0)+2140+12>>2]&1023](k[(k[b+4>>2]|0)+2140>>2]|0);hq(k[(k[b+4>>2]|0)+36>>2]|0);hq(k[b+4>>2]|0);r=b;return}function qq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+80|0;k[e+20>>2]=a;k[e+16>>2]=b;k[e+12>>2]=c;k[e+8>>2]=d;if((k[e+12>>2]|0)>>>0<1)k[e+12>>2]=1;else if((k[e+12>>2]|0)>>>0>255)k[e+12>>2]=255;k[e+4>>2]=k[(k[e+20>>2]|0)+36>>2];while(1){if((k[e+4>>2]|0)>>>0>=((k[(k[e+20>>2]|0)+36>>2]|0)+((k[(k[e+20>>2]|0)+40>>2]|0)*380|0)|0)>>>0)break;if(!(k[(k[e+4>>2]|0)+36>>2]|0))break;k[e+4>>2]=(k[e+4>>2]|0)+380}if((k[e+4>>2]|0)>>>0>=((k[(k[e+20>>2]|0)+36>>2]|0)+((k[(k[e+20>>2]|0)+40>>2]|0)*380|0)|0)>>>0){k[e+24>>2]=0;a=k[e+24>>2]|0;r=e;return a|0}a=gq((k[e+12>>2]|0)*60|0)|0;k[(k[e+4>>2]|0)+40>>2]=a;if(!(k[(k[e+4>>2]|0)+40>>2]|0)){k[e+24>>2]=0;a=k[e+24>>2]|0;r=e;return a|0}k[(k[e+4>>2]|0)+44>>2]=k[e+12>>2];k[(k[e+4>>2]|0)+36>>2]=1;d=(k[e+4>>2]|0)+24|0;a=k[e+16>>2]|0;k[d>>2]=k[a>>2];k[d+4>>2]=k[a+4>>2];d=(k[e+20>>2]|0)+28|0;a=(k[d>>2]|0)+1|0;k[d>>2]=a;k[(k[e+4>>2]|0)+16>>2]=a;if(!(k[(k[e+20>>2]|0)+16>>2]|0))k[(k[e+4>>2]|0)+180>>2]=65536;else k[(k[e+4>>2]|0)+180>>2]=(((k[(k[e+20>>2]|0)+16>>2]|0)>>>0)/65536|0)<<12;b=(k[e+4>>2]|0)+180|0;if((k[(k[e+4>>2]|0)+180>>2]|0)>>>0<4096)k[b>>2]=4096;else if((k[b>>2]|0)>>>0>65536)k[(k[e+4>>2]|0)+180>>2]=65536;k[e>>2]=k[(k[e+4>>2]|0)+40>>2];while(1){if((k[e>>2]|0)>>>0>=((k[(k[e+4>>2]|0)+40>>2]|0)+((k[e+12>>2]|0)*60|0)|0)>>>0)break;j[k[e>>2]>>1]=0;j[(k[e>>2]|0)+2>>1]=0;j[(k[e>>2]|0)+38>>1]=0;j[(k[e>>2]|0)+40>>1]=0;wq((k[e>>2]|0)+44|0);wq((k[e>>2]|0)+52|0);j[(k[e>>2]|0)+4>>1]=0;b=(k[e>>2]|0)+6|0;c=b+32|0;do{j[b>>1]=0;b=b+2|0}while((b|0)<(c|0));k[e>>2]=(k[e>>2]|0)+60}i[e+32>>0]=-126;i[e+32+1>>0]=-1;a=Vob(j[(k[e+4>>2]|0)+14>>1]|0)|0;i[e+32+4>>0]=a;i[e+32+4+1>>0]=a>>8;i[e+32+6>>0]=i[(k[e+4>>2]|0)+21>>0]|0;i[e+32+7>>0]=i[(k[e+4>>2]|0)+20>>0]|0;a=Wob(k[(k[e+4>>2]|0)+176>>2]|0)|0;i[e+32+8>>0]=a;i[e+32+8+1>>0]=a>>8;i[e+32+8+2>>0]=a>>16;i[e+32+8+3>>0]=a>>24;a=Wob(k[(k[e+4>>2]|0)+180>>2]|0)|0;i[e+32+12>>0]=a;i[e+32+12+1>>0]=a>>8;i[e+32+12+2>>0]=a>>16;i[e+32+12+3>>0]=a>>24;a=Wob(k[e+12>>2]|0)|0;i[e+32+16>>0]=a;i[e+32+16+1>>0]=a>>8;i[e+32+16+2>>0]=a>>16;i[e+32+16+3>>0]=a>>24;a=Wob(k[(k[e+20>>2]|0)+12>>2]|0)|0;i[e+32+20>>0]=a;i[e+32+20+1>>0]=a>>8;i[e+32+20+2>>0]=a>>16;i[e+32+20+3>>0]=a>>24;a=Wob(k[(k[e+20>>2]|0)+16>>2]|0)|0;i[e+32+24>>0]=a;i[e+32+24+1>>0]=a>>8;i[e+32+24+2>>0]=a>>16;i[e+32+24+3>>0]=a>>24;a=Wob(k[(k[e+4>>2]|0)+132>>2]|0)|0;i[e+32+28>>0]=a;i[e+32+28+1>>0]=a>>8;i[e+32+28+2>>0]=a>>16;i[e+32+28+3>>0]=a>>24;a=Wob(k[(k[e+4>>2]|0)+124>>2]|0)|0;i[e+32+32>>0]=a;i[e+32+32+1>>0]=a>>8;i[e+32+32+2>>0]=a>>16;i[e+32+32+3>>0]=a>>24;a=Wob(k[(k[e+4>>2]|0)+128>>2]|0)|0;i[e+32+36>>0]=a;i[e+32+36+1>>0]=a>>8;i[e+32+36+2>>0]=a>>16;i[e+32+36+3>>0]=a>>24;a=k[(k[e+4>>2]|0)+16>>2]|0;i[e+32+40>>0]=a;i[e+32+40+1>>0]=a>>8;i[e+32+40+2>>0]=a>>16;i[e+32+40+3>>0]=a>>24;a=Wob(k[e+8>>2]|0)|0;i[e+32+44>>0]=a;i[e+32+44+1>>0]=a>>8;i[e+32+44+2>>0]=a>>16;i[e+32+44+3>>0]=a>>24;Dq(k[e+4>>2]|0,e+32|0,0,0,0)|0;k[e+24>>2]=k[e+4>>2];a=k[e+24>>2]|0;r=e;return a|0}function rq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;k[d+8>>2]=a;i[d+12>>0]=b;k[d+4>>2]=c;k[d>>2]=k[(k[d+8>>2]|0)+36>>2];while(1){if((k[d>>2]|0)>>>0>=((k[(k[d+8>>2]|0)+36>>2]|0)+((k[(k[d+8>>2]|0)+40>>2]|0)*380|0)|0)>>>0)break;if((k[(k[d>>2]|0)+36>>2]|0)==5)Gq(k[d>>2]|0,i[d+12>>0]|0,k[d+4>>2]|0)|0;k[d>>2]=(k[d>>2]|0)+380}if(k[k[d+4>>2]>>2]|0){r=d;return}Bq(k[d+4>>2]|0);r=d;return}function sq(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+4>>2]=a;k[c>>2]=b;if(k[(k[c+4>>2]|0)+2140>>2]|0)if(k[(k[c+4>>2]|0)+2140+12>>2]|0)Si[k[(k[c+4>>2]|0)+2140+12>>2]&1023](k[(k[c+4>>2]|0)+2140>>2]|0);b=(k[c+4>>2]|0)+2140|0;if(k[c>>2]|0){a=k[c>>2]|0;k[b>>2]=k[a>>2];k[b+4>>2]=k[a+4>>2];k[b+8>>2]=k[a+8>>2];k[b+12>>2]=k[a+12>>2];r=c;return}else{k[b>>2]=0;r=c;return}}function tq(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+4>>2]=a;k[c>>2]=b;if((k[c>>2]|0)==0|(k[c>>2]|0)>>>0>255)k[c>>2]=255;else if((k[c>>2]|0)>>>0<1)k[c>>2]=1;k[(k[c+4>>2]|0)+44>>2]=k[c>>2];r=c;return}function uq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;k[d+8>>2]=a;k[d+4>>2]=b;k[d>>2]=c;k[(k[d+8>>2]|0)+12>>2]=k[d+4>>2];k[(k[d+8>>2]|0)+16>>2]=k[d>>2];k[(k[d+8>>2]|0)+32>>2]=1;r=d;return}function vq(a){a=a|0;var b=0,c=0;c=r;r=r+96|0;k[c+40>>2]=a;a=Er()|0;k[c+36>>2]=a;k[c+32>>2]=(k[c+36>>2]|0)-(k[(k[c+40>>2]|0)+20>>2]|0);k[c+28>>2]=k[(k[c+40>>2]|0)+10384>>2];k[c+24>>2]=-1;k[c+20>>2]=-1;k[c+16>>2]=0;k[c+12>>2]=0;k[c+8>>2]=(k[(k[c+40>>2]|0)+10388>>2]|0)>>>0>0?1:0;if((k[c+32>>2]|0)>>>0<1e3){r=c;return}k[(k[c+40>>2]|0)+20>>2]=k[c+36>>2];if(!(k[c+28>>2]|0)){r=c;return}a:do if(k[(k[c+40>>2]|0)+16>>2]|0){k[c+24>>2]=0;a=((ha(k[(k[c+40>>2]|0)+16>>2]|0,k[c+32>>2]|0)|0)>>>0)/1e3|0;k[c+20>>2]=a;k[c+4>>2]=k[(k[c+40>>2]|0)+36>>2];while(1){if((k[c+4>>2]|0)>>>0>=((k[(k[c+40>>2]|0)+36>>2]|0)+((k[(k[c+40>>2]|0)+40>>2]|0)*380|0)|0)>>>0)break a;if((k[(k[c+4>>2]|0)+36>>2]|0)!=5){if((k[(k[c+4>>2]|0)+36>>2]|0)==6)b=8}else b=8;if((b|0)==8){b=0;k[c+24>>2]=(k[c+24>>2]|0)+(k[(k[c+4>>2]|0)+68>>2]|0)}k[c+4>>2]=(k[c+4>>2]|0)+380}}while(0);b:while(1){if(!((k[c+28>>2]|0)>>>0>0?(k[c+8>>2]|0)!=0:0))break;k[c+8>>2]=0;if((k[c+24>>2]|0)>>>0<=(k[c+20>>2]|0)>>>0)k[c+16>>2]=32;else k[c+16>>2]=(k[c+20>>2]<<5>>>0)/((k[c+24>>2]|0)>>>0)|0;k[c+4>>2]=k[(k[c+40>>2]|0)+36>>2];while(1){if((k[c+4>>2]|0)>>>0>=((k[(k[c+40>>2]|0)+36>>2]|0)+((k[(k[c+40>>2]|0)+40>>2]|0)*380|0)|0)>>>0)continue b;if((k[(k[c+4>>2]|0)+36>>2]|0)!=5){if((k[(k[c+4>>2]|0)+36>>2]|0)==6)b=18}else b=18;if((b|0)==18){b=0;if(k[(k[c+4>>2]|0)+48>>2]|0)if((k[(k[c+4>>2]|0)+60>>2]|0)!=(k[c+36>>2]|0)){a=((ha(k[(k[c+4>>2]|0)+48>>2]|0,k[c+32>>2]|0)|0)>>>0)/1e3|0;k[c>>2]=a;a=((ha(k[c+16>>2]|0,k[(k[c+4>>2]|0)+68>>2]|0)|0)>>>0)/32|0;if(a>>>0>(k[c>>2]|0)>>>0){k[(k[c+4>>2]|0)+112>>2]=(k[c>>2]<<5>>>0)/((k[(k[c+4>>2]|0)+68>>2]|0)>>>0)|0;if(!(k[(k[c+4>>2]|0)+112>>2]|0))k[(k[c+4>>2]|0)+112>>2]=1;if((k[(k[c+4>>2]|0)+108>>2]|0)>>>0>(k[(k[c+4>>2]|0)+112>>2]|0)>>>0)k[(k[c+4>>2]|0)+108>>2]=k[(k[c+4>>2]|0)+112>>2];k[(k[c+4>>2]|0)+60>>2]=k[c+36>>2];k[(k[c+4>>2]|0)+64>>2]=0;k[(k[c+4>>2]|0)+68>>2]=0;k[c+8>>2]=1;k[c+28>>2]=(k[c+28>>2]|0)+-1;k[c+20>>2]=(k[c+20>>2]|0)-(k[c>>2]|0);k[c+24>>2]=(k[c+24>>2]|0)-(k[c>>2]|0)}}}k[c+4>>2]=(k[c+4>>2]|0)+380}}c:do if((k[c+28>>2]|0)>>>0>0){if((k[c+24>>2]|0)>>>0<=(k[c+20>>2]|0)>>>0)k[c+16>>2]=32;else k[c+16>>2]=(k[c+20>>2]<<5>>>0)/((k[c+24>>2]|0)>>>0)|0;k[c+4>>2]=k[(k[c+40>>2]|0)+36>>2];while(1){if((k[c+4>>2]|0)>>>0>=((k[(k[c+40>>2]|0)+36>>2]|0)+((k[(k[c+40>>2]|0)+40>>2]|0)*380|0)|0)>>>0)break c;if((k[(k[c+4>>2]|0)+36>>2]|0)!=5){if((k[(k[c+4>>2]|0)+36>>2]|0)==6)b=35}else b=35;if((b|0)==35){b=0;if((k[(k[c+4>>2]|0)+60>>2]|0)!=(k[c+36>>2]|0)){k[(k[c+4>>2]|0)+112>>2]=k[c+16>>2];if((k[(k[c+4>>2]|0)+108>>2]|0)>>>0>(k[(k[c+4>>2]|0)+112>>2]|0)>>>0)k[(k[c+4>>2]|0)+108>>2]=k[(k[c+4>>2]|0)+112>>2];k[(k[c+4>>2]|0)+64>>2]=0;k[(k[c+4>>2]|0)+68>>2]=0}}k[c+4>>2]=(k[c+4>>2]|0)+380}}while(0);if(!(k[(k[c+40>>2]|0)+32>>2]|0)){r=c;return}k[(k[c+40>>2]|0)+32>>2]=0;k[c+28>>2]=k[(k[c+40>>2]|0)+10384>>2];k[c+20>>2]=k[(k[c+40>>2]|0)+12>>2];k[c+8>>2]=1;d:do if(!(k[c+20>>2]|0))k[c+12>>2]=0;else e:while(1){if(!((k[c+28>>2]|0)>>>0>0?(k[c+8>>2]|0)!=0:0))break d;k[c+8>>2]=0;k[c+12>>2]=((k[c+20>>2]|0)>>>0)/((k[c+28>>2]|0)>>>0)|0;k[c+4>>2]=k[(k[c+40>>2]|0)+36>>2];while(1){if((k[c+4>>2]|0)>>>0>=((k[(k[c+40>>2]|0)+36>>2]|0)+((k[(k[c+40>>2]|0)+40>>2]|0)*380|0)|0)>>>0)continue e;if((k[(k[c+4>>2]|0)+36>>2]|0)!=5){if((k[(k[c+4>>2]|0)+36>>2]|0)==6)b=48}else b=48;do if((b|0)==48){b=0;if((k[(k[c+4>>2]|0)+56>>2]|0)!=(k[c+36>>2]|0)){if((k[(k[c+4>>2]|0)+52>>2]|0)>>>0>0)if((k[(k[c+4>>2]|0)+52>>2]|0)>>>0>=(k[c+12>>2]|0)>>>0)break;k[(k[c+4>>2]|0)+56>>2]=k[c+36>>2];k[c+8>>2]=1;k[c+28>>2]=(k[c+28>>2]|0)+-1;k[c+20>>2]=(k[c+20>>2]|0)-(k[(k[c+4>>2]|0)+52>>2]|0)}}while(0);k[c+4>>2]=(k[c+4>>2]|0)+380}}while(0);k[c+4>>2]=k[(k[c+40>>2]|0)+36>>2];while(1){if((k[c+4>>2]|0)>>>0>=((k[(k[c+40>>2]|0)+36>>2]|0)+((k[(k[c+40>>2]|0)+40>>2]|0)*380|0)|0)>>>0)break;if((k[(k[c+4>>2]|0)+36>>2]|0)!=5){if((k[(k[c+4>>2]|0)+36>>2]|0)==6)b=57}else b=57;if((b|0)==57){b=0;i[c+48>>0]=-118;i[c+48+1>>0]=-1;a=Wob(k[(k[c+40>>2]|0)+16>>2]|0)|0;i[c+48+8>>0]=a;i[c+48+8+1>>0]=a>>8;i[c+48+8+2>>0]=a>>16;i[c+48+8+3>>0]=a>>24;if((k[(k[c+4>>2]|0)+56>>2]|0)==(k[c+36>>2]|0)){a=Wob(k[(k[c+4>>2]|0)+52>>2]|0)|0;i[c+48+4>>0]=a;i[c+48+4+1>>0]=a>>8;i[c+48+4+2>>0]=a>>16;i[c+48+4+3>>0]=a>>24}else{a=Wob(k[c+12>>2]|0)|0;i[c+48+4>>0]=a;i[c+48+4+1>>0]=a>>8;i[c+48+4+2>>0]=a>>16;i[c+48+4+3>>0]=a>>24}Dq(k[c+4>>2]|0,c+48|0,0,0,0)|0}k[c+4>>2]=(k[c+4>>2]|0)+380}r=c;return}function wq(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;k[k[b>>2]>>2]=k[b>>2];k[(k[b>>2]|0)+4>>2]=k[b>>2];r=b;return}function xq(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+8>>2]=a;k[c+4>>2]=b;k[c>>2]=k[c+4>>2];k[(k[c>>2]|0)+4>>2]=k[(k[c+8>>2]|0)+4>>2];k[k[c>>2]>>2]=k[c+8>>2];k[k[(k[c>>2]|0)+4>>2]>>2]=k[c>>2];k[(k[c+8>>2]|0)+4>>2]=k[c>>2];r=c;return k[c>>2]|0}function yq(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;k[k[(k[b>>2]|0)+4>>2]>>2]=k[k[b>>2]>>2];k[(k[k[b>>2]>>2]|0)+4>>2]=k[(k[b>>2]|0)+4>>2];r=b;return k[b>>2]|0}function zq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+32|0;k[d+16>>2]=a;k[d+12>>2]=b;k[d+8>>2]=c;k[d+4>>2]=k[d+12>>2];k[d>>2]=k[d+8>>2];k[k[(k[d+4>>2]|0)+4>>2]>>2]=k[k[d>>2]>>2];k[(k[k[d>>2]>>2]|0)+4>>2]=k[(k[d+4>>2]|0)+4>>2];k[(k[d+4>>2]|0)+4>>2]=k[(k[d+16>>2]|0)+4>>2];k[k[d>>2]>>2]=k[d+16>>2];k[k[(k[d+4>>2]|0)+4>>2]>>2]=k[d+4>>2];k[(k[d+16>>2]|0)+4>>2]=k[d>>2];r=d;return k[d+4>>2]|0}function Aq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+32|0;k[d+12>>2]=a;k[d+8>>2]=b;k[d+4>>2]=c;c=gq(24)|0;k[d>>2]=c;if(!(k[d>>2]|0)){k[d+16>>2]=0;c=k[d+16>>2]|0;r=d;return c|0}do if(k[d+4>>2]&4|0)k[(k[d>>2]|0)+8>>2]=k[d+12>>2];else{if((k[d+8>>2]|0)>>>0<=0){k[(k[d>>2]|0)+8>>2]=0;break}c=gq(k[d+8>>2]|0)|0;k[(k[d>>2]|0)+8>>2]=c;if(!(k[(k[d>>2]|0)+8>>2]|0)){hq(k[d>>2]|0);k[d+16>>2]=0;c=k[d+16>>2]|0;r=d;return c|0}else{if(!(k[d+12>>2]|0))break;ABb(k[(k[d>>2]|0)+8>>2]|0,k[d+12>>2]|0,k[d+8>>2]|0)|0;break}}while(0);k[k[d>>2]>>2]=0;k[(k[d>>2]|0)+4>>2]=k[d+4>>2];k[(k[d>>2]|0)+12>>2]=k[d+8>>2];k[(k[d>>2]|0)+16>>2]=0;k[(k[d>>2]|0)+20>>2]=0;k[d+16>>2]=k[d>>2];c=k[d+16>>2]|0;r=d;return c|0}function Bq(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;if(!(k[b>>2]|0)){r=b;return}if(k[(k[b>>2]|0)+16>>2]|0)Si[k[(k[b>>2]|0)+16>>2]&1023](k[b>>2]|0);if(!(k[(k[b>>2]|0)+4>>2]&4))if(k[(k[b>>2]|0)+8>>2]|0)hq(k[(k[b>>2]|0)+8>>2]|0);hq(k[b>>2]|0);r=b;return}function Cq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+64|0;k[e+12>>2]=a;k[e+8>>2]=b;k[e+4>>2]=c;k[e>>2]=d;k[(k[e+12>>2]|0)+132>>2]=k[e+8>>2];k[(k[e+12>>2]|0)+124>>2]=k[e+4>>2];k[(k[e+12>>2]|0)+128>>2]=k[e>>2];i[e+16>>0]=-117;i[e+16+1>>0]=-1;a=Wob(k[e+8>>2]|0)|0;i[e+16+4>>0]=a;i[e+16+4+1>>0]=a>>8;i[e+16+4+2>>0]=a>>16;i[e+16+4+3>>0]=a>>24;a=Wob(k[e+4>>2]|0)|0;i[e+16+8>>0]=a;i[e+16+8+1>>0]=a>>8;i[e+16+8+2>>0]=a>>16;i[e+16+8+3>>0]=a>>24;a=Wob(k[e>>2]|0)|0;i[e+16+12>>0]=a;i[e+16+12+1>>0]=a>>8;i[e+16+12+2>>0]=a>>16;i[e+16+12+3>>0]=a>>24;Dq(k[e+12>>2]|0,e+16|0,0,0,0)|0;r=e;return}function Dq(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=r;r=r+32|0;k[f+16>>2]=a;k[f+12>>2]=b;k[f+8>>2]=c;k[f+4>>2]=d;j[f+24>>1]=e;a=gq(84)|0;k[f>>2]=a;if(!(k[f>>2]|0)){k[f+20>>2]=0;a=k[f+20>>2]|0;r=f;return a|0}b=(k[f>>2]|0)+32|0;e=k[f+12>>2]|0;d=b+48|0;do{i[b>>0]=i[e>>0]|0;b=b+1|0;e=e+1|0}while((b|0)<(d|0));k[(k[f>>2]|0)+24>>2]=k[f+4>>2];j[(k[f>>2]|0)+28>>1]=j[f+24>>1]|0;k[(k[f>>2]|0)+80>>2]=k[f+8>>2];if(k[f+8>>2]|0){a=k[f+8>>2]|0;k[a>>2]=(k[a>>2]|0)+1}Eq(k[f+16>>2]|0,k[f>>2]|0);k[f+20>>2]=k[f>>2];a=k[f+20>>2]|0;r=f;return a|0}function Eq(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+8>>2]=a;k[c+4>>2]=b;k[c>>2]=(k[(k[c+8>>2]|0)+40>>2]|0)+((l[(k[c+4>>2]|0)+32+1>>0]|0)*60|0);b=Zq(i[(k[c+4>>2]|0)+32>>0]|0)|0;a=(k[c+8>>2]|0)+68|0;k[a>>2]=(k[a>>2]|0)+(b+(m[(k[c+4>>2]|0)+28>>1]|0));do if((l[(k[c+4>>2]|0)+32+1>>0]|0|0)==255){a=(k[c+8>>2]|0)+188|0;j[a>>1]=(j[a>>1]|0)+1<<16>>16;j[(k[c+4>>2]|0)+8>>1]=j[(k[c+8>>2]|0)+188>>1]|0;j[(k[c+4>>2]|0)+10>>1]=0}else{if((l[(k[c+4>>2]|0)+32>>0]|0)&128|0){a=k[c>>2]|0;j[a>>1]=(j[a>>1]|0)+1<<16>>16;j[(k[c>>2]|0)+2>>1]=0;j[(k[c+4>>2]|0)+8>>1]=j[k[c>>2]>>1]|0;j[(k[c+4>>2]|0)+10>>1]=0;break}if((l[(k[c+4>>2]|0)+32>>0]|0)&64|0){a=(k[c+8>>2]|0)+246|0;j[a>>1]=(j[a>>1]|0)+1<<16>>16;j[(k[c+4>>2]|0)+8>>1]=0;j[(k[c+4>>2]|0)+10>>1]=0;break}if(!(k[(k[c+4>>2]|0)+24>>2]|0)){a=(k[c>>2]|0)+2|0;j[a>>1]=(j[a>>1]|0)+1<<16>>16}j[(k[c+4>>2]|0)+8>>1]=j[k[c>>2]>>1]|0;j[(k[c+4>>2]|0)+10>>1]=j[(k[c>>2]|0)+2>>1]|0}while(0);j[(k[c+4>>2]|0)+30>>1]=0;k[(k[c+4>>2]|0)+12>>2]=0;k[(k[c+4>>2]|0)+16>>2]=0;k[(k[c+4>>2]|0)+20>>2]=0;a=Vob(j[(k[c+4>>2]|0)+8>>1]|0)|0;j[(k[c+4>>2]|0)+32+2>>1]=a;switch((l[(k[c+4>>2]|0)+32>>0]|0)&15|0){case 7:{a=Vob(j[(k[c+4>>2]|0)+10>>1]|0)|0;j[(k[c+4>>2]|0)+32+4>>1]=a;break}case 9:{a=Vob(j[(k[c+8>>2]|0)+246>>1]|0)|0;j[(k[c+4>>2]|0)+32+4>>1]=a;break}default:{}}b=k[c+8>>2]|0;if((l[(k[c+4>>2]|0)+32>>0]|0)&128|0){xq(b+216|0,k[c+4>>2]|0)|0;r=c;return}else{xq(b+224|0,k[c+4>>2]|0)|0;r=c;return}}function Fq(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+4>>2]=a;k[c>>2]=b;if((k[(k[c+4>>2]|0)+152>>2]|0)>>>0<=(k[(k[c+4>>2]|0)+160>>2]|0)>>>0)k[(k[c+4>>2]|0)+108>>2]=k[(k[c+4>>2]|0)+112>>2];else{if((k[c>>2]|0)>>>0<(k[(k[c+4>>2]|0)+152>>2]|0)>>>0){b=(k[c+4>>2]|0)+108|0;k[b>>2]=(k[b>>2]|0)+(k[(k[c+4>>2]|0)+124>>2]|0);if((k[(k[c+4>>2]|0)+108>>2]|0)>>>0>(k[(k[c+4>>2]|0)+112>>2]|0)>>>0)k[(k[c+4>>2]|0)+108>>2]=k[(k[c+4>>2]|0)+112>>2];k[c+8>>2]=1;b=k[c+8>>2]|0;r=c;return b|0}if((k[c>>2]|0)>>>0>((k[(k[c+4>>2]|0)+152>>2]|0)+(k[(k[c+4>>2]|0)+160>>2]<<1)|0)>>>0){a=k[c+4>>2]|0;if((k[(k[c+4>>2]|0)+108>>2]|0)>>>0>(k[(k[c+4>>2]|0)+128>>2]|0)>>>0){b=(k[c+4>>2]|0)+108|0;k[b>>2]=(k[b>>2]|0)-(k[a+128>>2]|0)}else k[a+108>>2]=0;k[c+8>>2]=-1;b=k[c+8>>2]|0;r=c;return b|0}}k[c+8>>2]=0;b=k[c+8>>2]|0;r=c;return b|0}function Gq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+112|0;k[e+40>>2]=a;i[e+104>>0]=b;k[e+36>>2]=c;k[e+32>>2]=(k[(k[e+40>>2]|0)+40>>2]|0)+((l[e+104>>0]|0)*60|0);if((k[(k[e+40>>2]|0)+36>>2]|0)==5)if((l[e+104>>0]|0)>>>0<(k[(k[e+40>>2]|0)+44>>2]|0)>>>0)if((k[(k[e+36>>2]|0)+12>>2]|0)>>>0<=1073741824){k[e+28>>2]=(k[(k[e+40>>2]|0)+176>>2]|0)-4-24;if(k[(k[(k[e+40>>2]|0)+8>>2]|0)+2136>>2]|0)k[e+28>>2]=(k[e+28>>2]|0)-4;if((k[(k[e+36>>2]|0)+12>>2]|0)>>>0<=(k[e+28>>2]|0)>>>0){i[e+56+1>>0]=i[e+104>>0]|0;do if((k[(k[e+36>>2]|0)+4>>2]&3|0)==2){i[e+56>>0]=73;d=Vob(k[(k[e+36>>2]|0)+12>>2]&65535)|0;i[e+56+6>>0]=d;i[e+56+6+1>>0]=d>>8}else{if(!(k[(k[e+36>>2]|0)+4>>2]&1))if((m[(k[e+32>>2]|0)+2>>1]|0|0)<65535){i[e+56>>0]=7;d=Vob(k[(k[e+36>>2]|0)+12>>2]&65535)|0;i[e+56+6>>0]=d;i[e+56+6+1>>0]=d>>8;break}i[e+56>>0]=-122;d=Vob(k[(k[e+36>>2]|0)+12>>2]&65535)|0;i[e+56+4>>0]=d;i[e+56+4+1>>0]=d>>8}while(0);if(!(Dq(k[e+40>>2]|0,e+56|0,k[e+36>>2]|0,0,k[(k[e+36>>2]|0)+12>>2]&65535)|0)){k[e+44>>2]=-1;d=k[e+44>>2]|0;r=e;return d|0}else{k[e+44>>2]=0;d=k[e+44>>2]|0;r=e;return d|0}}k[e+24>>2]=(((k[(k[e+36>>2]|0)+12>>2]|0)+(k[e+28>>2]|0)-1|0)>>>0)/((k[e+28>>2]|0)>>>0)|0;if((k[e+24>>2]|0)>>>0>1048576){k[e+44>>2]=-1;d=k[e+44>>2]|0;r=e;return d|0}if((k[(k[e+36>>2]|0)+4>>2]&9|0)==8)if((m[(k[e+32>>2]|0)+2>>1]|0|0)<65535){i[e+50>>0]=12;a=Vob((m[(k[e+32>>2]|0)+2>>1]|0)+1&65535)|0;j[e+48>>1]=a}else d=13;else d=13;if((d|0)==13){i[e+50>>0]=-120;a=Vob((m[k[e+32>>2]>>1]|0)+1&65535)|0;j[e+48>>1]=a}wq(e+8|0);k[e+20>>2]=0;k[e+16>>2]=0;while(1){if((k[e+16>>2]|0)>>>0>=(k[(k[e+36>>2]|0)+12>>2]|0)>>>0)break;if(((k[(k[e+36>>2]|0)+12>>2]|0)-(k[e+16>>2]|0)|0)>>>0<(k[e+28>>2]|0)>>>0)k[e+28>>2]=(k[(k[e+36>>2]|0)+12>>2]|0)-(k[e+16>>2]|0);a=gq(84)|0;k[e>>2]=a;if(!(k[e>>2]|0)){d=19;break}k[(k[e>>2]|0)+24>>2]=k[e+16>>2];j[(k[e>>2]|0)+28>>1]=k[e+28>>2];k[(k[e>>2]|0)+80>>2]=k[e+36>>2];i[(k[e>>2]|0)+32>>0]=i[e+50>>0]|0;i[(k[e>>2]|0)+32+1>>0]=i[e+104>>0]|0;j[(k[e>>2]|0)+32+4>>1]=j[e+48>>1]|0;a=Vob(k[e+28>>2]&65535)|0;j[(k[e>>2]|0)+32+6>>1]=a;a=Wob(k[e+24>>2]|0)|0;k[(k[e>>2]|0)+32+8>>2]=a;a=Wob(k[e+20>>2]|0)|0;k[(k[e>>2]|0)+32+12>>2]=a;a=Wob(k[(k[e+36>>2]|0)+12>>2]|0)|0;k[(k[e>>2]|0)+32+16>>2]=a;a=fpb(k[e+16>>2]|0)|0;k[(k[e>>2]|0)+32+20>>2]=a;xq(e+8|0,k[e>>2]|0)|0;k[e+20>>2]=(k[e+20>>2]|0)+1;k[e+16>>2]=(k[e+16>>2]|0)+(k[e+28>>2]|0)}if((d|0)==19){while(1){if(!((k[e+8>>2]|0)==(e+8|0)^1))break;d=yq(k[e+8>>2]|0)|0;k[e>>2]=d;hq(k[e>>2]|0);d=19}k[e+44>>2]=-1;d=k[e+44>>2]|0;r=e;return d|0}d=k[e+36>>2]|0;k[d>>2]=(k[d>>2]|0)+(k[e+20>>2]|0);while(1){if(!((k[e+8>>2]|0)==(e+8|0)^1))break;d=yq(k[e+8>>2]|0)|0;k[e>>2]=d;Eq(k[e+40>>2]|0,k[e>>2]|0)}k[e+44>>2]=0;d=k[e+44>>2]|0;r=e;return d|0}k[e+44>>2]=-1;d=k[e+44>>2]|0;r=e;return d|0}function Hq(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+32|0;k[c+12>>2]=a;k[c+8>>2]=b;if((k[(k[c+12>>2]|0)+232>>2]|0)==((k[c+12>>2]|0)+232|0)){k[c+16>>2]=0;a=k[c+16>>2]|0;r=c;return a|0}a=yq(k[(k[c+12>>2]|0)+232>>2]|0)|0;k[c+4>>2]=a;if(k[c+8>>2]|0)i[k[c+8>>2]>>0]=i[(k[c+4>>2]|0)+12+1>>0]|0;k[c>>2]=k[(k[c+4>>2]|0)+72>>2];a=k[c>>2]|0;k[a>>2]=(k[a>>2]|0)+-1;if(k[(k[c+4>>2]|0)+68>>2]|0)hq(k[(k[c+4>>2]|0)+68>>2]|0);hq(k[c+4>>2]|0);k[c+16>>2]=k[c>>2];a=k[c+16>>2]|0;r=c;return a|0}function Iq(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+4>>2]=a;if(k[(k[b+4>>2]|0)+240>>2]|0){yq(k[b+4>>2]|0)|0;k[(k[b+4>>2]|0)+240>>2]=0}while(1){a=k[b+4>>2]|0;if(!((k[(k[b+4>>2]|0)+192>>2]|0)==((k[b+4>>2]|0)+192|0)^1))break;hq(yq(k[a+192>>2]|0)|0)}Jq(a+200|0);Jq((k[b+4>>2]|0)+208|0);Jq((k[b+4>>2]|0)+216|0);Jq((k[b+4>>2]|0)+224|0);Kq((k[b+4>>2]|0)+232|0);if(!(k[(k[b+4>>2]|0)+40>>2]|0)){a=k[b+4>>2]|0;a=a+40|0;k[a>>2]=0;a=k[b+4>>2]|0;a=a+44|0;k[a>>2]=0;r=b;return}if((k[(k[b+4>>2]|0)+44>>2]|0)>>>0<=0){a=k[b+4>>2]|0;a=a+40|0;k[a>>2]=0;a=k[b+4>>2]|0;a=a+44|0;k[a>>2]=0;r=b;return}k[b>>2]=k[(k[b+4>>2]|0)+40>>2];while(1){if((k[b>>2]|0)>>>0>=((k[(k[b+4>>2]|0)+40>>2]|0)+((k[(k[b+4>>2]|0)+44>>2]|0)*60|0)|0)>>>0)break;Kq((k[b>>2]|0)+44|0);Kq((k[b>>2]|0)+52|0);k[b>>2]=(k[b>>2]|0)+60}hq(k[(k[b+4>>2]|0)+40>>2]|0);a=k[b+4>>2]|0;a=a+40|0;k[a>>2]=0;a=k[b+4>>2]|0;a=a+44|0;k[a>>2]=0;r=b;return}function Jq(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+4>>2]=a;while(1){if(!((k[k[b+4>>2]>>2]|0)==(k[b+4>>2]|0)^1))break;a=yq(k[k[b+4>>2]>>2]|0)|0;k[b>>2]=a;if(k[(k[b>>2]|0)+80>>2]|0){a=k[(k[b>>2]|0)+80>>2]|0;k[a>>2]=(k[a>>2]|0)+-1;if(!(k[k[(k[b>>2]|0)+80>>2]>>2]|0))Bq(k[(k[b>>2]|0)+80>>2]|0)}hq(k[b>>2]|0)}r=b;return}function Kq(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;Lq(k[b>>2]|0,k[k[b>>2]>>2]|0,k[b>>2]|0);r=b;return}function Lq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+32|0;k[d+16>>2]=a;k[d+12>>2]=b;k[d+8>>2]=c;k[d+4>>2]=k[d+12>>2];while(1){if((k[d+4>>2]|0)==(k[d+8>>2]|0))break;k[d>>2]=k[d+4>>2];k[d+4>>2]=k[k[d+4>>2]>>2];yq(k[d>>2]|0)|0;if(k[(k[d>>2]|0)+72>>2]|0){b=k[(k[d>>2]|0)+72>>2]|0;k[b>>2]=(k[b>>2]|0)+-1;if(!(k[k[(k[d>>2]|0)+72>>2]>>2]|0))Bq(k[(k[d>>2]|0)+72>>2]|0)}if(k[(k[d>>2]|0)+68>>2]|0)hq(k[(k[d>>2]|0)+68>>2]|0);hq(k[d>>2]|0)}r=d;return}function Mq(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;if((k[(k[b>>2]|0)+36>>2]|0)==5){r=b;return}if((k[(k[b>>2]|0)+36>>2]|0)==6){r=b;return}if(k[(k[b>>2]|0)+48>>2]|0){a=(k[(k[b>>2]|0)+8>>2]|0)+10388|0;k[a>>2]=(k[a>>2]|0)+1}a=(k[(k[b>>2]|0)+8>>2]|0)+10384|0;k[a>>2]=(k[a>>2]|0)+1;r=b;return}function Nq(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;if((k[(k[b>>2]|0)+36>>2]|0)!=5)if((k[(k[b>>2]|0)+36>>2]|0)!=6){r=b;return}if(k[(k[b>>2]|0)+48>>2]|0){a=(k[(k[b>>2]|0)+8>>2]|0)+10388|0;k[a>>2]=(k[a>>2]|0)+-1}a=(k[(k[b>>2]|0)+8>>2]|0)+10384|0;k[a>>2]=(k[a>>2]|0)+-1;r=b;return}function Oq(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;k[c>>2]=a;Nq(k[c>>2]|0);j[(k[c>>2]|0)+12>>1]=4095;k[(k[c>>2]|0)+16>>2]=0;k[(k[c>>2]|0)+36>>2]=0;k[(k[c>>2]|0)+48>>2]=0;k[(k[c>>2]|0)+52>>2]=0;k[(k[c>>2]|0)+56>>2]=0;k[(k[c>>2]|0)+60>>2]=0;k[(k[c>>2]|0)+64>>2]=0;k[(k[c>>2]|0)+68>>2]=0;k[(k[c>>2]|0)+72>>2]=0;k[(k[c>>2]|0)+76>>2]=0;k[(k[c>>2]|0)+80>>2]=0;k[(k[c>>2]|0)+84>>2]=0;k[(k[c>>2]|0)+88>>2]=0;k[(k[c>>2]|0)+92>>2]=0;k[(k[c>>2]|0)+96>>2]=0;k[(k[c>>2]|0)+100>>2]=0;k[(k[c>>2]|0)+104>>2]=0;k[(k[c>>2]|0)+108>>2]=32;k[(k[c>>2]|0)+112>>2]=32;k[(k[c>>2]|0)+116>>2]=0;k[(k[c>>2]|0)+120>>2]=0;k[(k[c>>2]|0)+124>>2]=2;k[(k[c>>2]|0)+128>>2]=2;k[(k[c>>2]|0)+132>>2]=5e3;k[(k[c>>2]|0)+136>>2]=500;k[(k[c>>2]|0)+140>>2]=32;k[(k[c>>2]|0)+144>>2]=5e3;k[(k[c>>2]|0)+148>>2]=3e4;k[(k[c>>2]|0)+152>>2]=500;k[(k[c>>2]|0)+156>>2]=500;k[(k[c>>2]|0)+160>>2]=0;k[(k[c>>2]|0)+164>>2]=0;k[(k[c>>2]|0)+168>>2]=500;k[(k[c>>2]|0)+172>>2]=0;k[(k[c>>2]|0)+176>>2]=k[(k[(k[c>>2]|0)+8>>2]|0)+24>>2];k[(k[c>>2]|0)+184>>2]=0;j[(k[c>>2]|0)+188>>1]=0;k[(k[c>>2]|0)+180>>2]=65536;j[(k[c>>2]|0)+244>>1]=0;j[(k[c>>2]|0)+246>>1]=0;k[(k[c>>2]|0)+376>>2]=0;a=(k[c>>2]|0)+248|0;b=a+128|0;do{k[a>>2]=0;a=a+4|0}while((a|0)<(b|0));Iq(k[c>>2]|0);r=c;return}function Pq(a){a=a|0;var b=0;b=r;r=r+64|0;k[b>>2]=a;if((k[(k[b>>2]|0)+36>>2]|0)!=5){r=b;return}i[b+8>>0]=-123;i[b+8+1>>0]=-1;Dq(k[b>>2]|0,b+8|0,0,0,0)|0;r=b;return}function Qq(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+4>>2]=a;k[c>>2]=b;k[(k[c+4>>2]|0)+136>>2]=k[c>>2]|0?k[c>>2]|0:500;r=c;return}function Rq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+16|0;k[e+12>>2]=a;k[e+8>>2]=b;k[e+4>>2]=c;k[e>>2]=d;k[(k[e+12>>2]|0)+140>>2]=k[e+8>>2]|0?k[e+8>>2]|0:32;k[(k[e+12>>2]|0)+144>>2]=k[e+4>>2]|0?k[e+4>>2]|0:5e3;k[(k[e+12>>2]|0)+148>>2]=k[e>>2]|0?k[e>>2]|0:3e4;r=e;return}function Sq(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+64|0;k[c+4>>2]=a;k[c>>2]=b;if(!(k[(k[c+4>>2]|0)+36>>2]|0)){r=c;return}if((k[(k[c+4>>2]|0)+36>>2]|0)!=9)if((k[(k[c+4>>2]|0)+36>>2]|0)!=7){Iq(k[c+4>>2]|0);i[c+8>>0]=68;i[c+8+1>>0]=-1;a=Wob(k[c>>2]|0)|0;i[c+8+4>>0]=a;i[c+8+4+1>>0]=a>>8;i[c+8+4+2>>0]=a>>16;i[c+8+4+3>>0]=a>>24;Dq(k[c+4>>2]|0,c+8|0,0,0,0)|0;_q(k[(k[c+4>>2]|0)+8>>2]|0)}Oq(k[c+4>>2]|0);r=c;return}function Tq(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+64|0;k[d+4>>2]=a;k[d>>2]=b;if((k[(k[d+4>>2]|0)+36>>2]|0)==7){r=d;return}if(!(k[(k[d+4>>2]|0)+36>>2]|0)){r=d;return}if((k[(k[d+4>>2]|0)+36>>2]|0)==8){r=d;return}if((k[(k[d+4>>2]|0)+36>>2]|0)==9){r=d;return}Iq(k[d+4>>2]|0);i[d+8>>0]=4;i[d+8+1>>0]=-1;a=Wob(k[d>>2]|0)|0;i[d+8+4>>0]=a;i[d+8+4+1>>0]=a>>8;i[d+8+4+2>>0]=a>>16;i[d+8+4+3>>0]=a>>24;if((k[(k[d+4>>2]|0)+36>>2]|0)==5)c=7;else if((k[(k[d+4>>2]|0)+36>>2]|0)==6)c=7;else i[d+8>>0]=l[d+8>>0]|0|64;if((c|0)==7)i[d+8>>0]=l[d+8>>0]|0|128;Dq(k[d+4>>2]|0,d+8|0,0,0,0)|0;if((k[(k[d+4>>2]|0)+36>>2]|0)!=5)if((k[(k[d+4>>2]|0)+36>>2]|0)!=6){_q(k[(k[d+4>>2]|0)+8>>2]|0);Oq(k[d+4>>2]|0);r=d;return}Nq(k[d+4>>2]|0);k[(k[d+4>>2]|0)+36>>2]=7;r=d;return}function Uq(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+16|0;k[d+4>>2]=a;k[d>>2]=b;if((k[(k[d+4>>2]|0)+36>>2]|0)==5)c=3;else if((k[(k[d+4>>2]|0)+36>>2]|0)==6)c=3;do if((c|0)==3){if((k[(k[d+4>>2]|0)+216>>2]|0)==((k[d+4>>2]|0)+216|0))if((k[(k[d+4>>2]|0)+224>>2]|0)==((k[d+4>>2]|0)+224|0))if((k[(k[d+4>>2]|0)+200>>2]|0)==((k[d+4>>2]|0)+200|0))break;k[(k[d+4>>2]|0)+36>>2]=6;k[(k[d+4>>2]|0)+376>>2]=k[d>>2];r=d;return}while(0);Tq(k[d+4>>2]|0,k[d>>2]|0);r=d;return}function Vq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+32|0;k[d+12>>2]=a;k[d+8>>2]=b;j[d+24>>1]=c;if((l[(k[d+8>>2]|0)+1>>0]|0)>>>0<(k[(k[d+12>>2]|0)+44>>2]|0)>>>0){k[d>>2]=(k[(k[d+12>>2]|0)+40>>2]|0)+((l[(k[d+8>>2]|0)+1>>0]|0)*60|0);c=(k[d+8>>2]|0)+2|0;j[d+22>>1]=((l[c>>0]|l[c+1>>0]<<8)&65535|0)/4096|0;j[d+20>>1]=(m[(k[d>>2]|0)+38>>1]|0|0)/4096|0;c=(k[d+8>>2]|0)+2|0;if(((l[c>>0]|l[c+1>>0]<<8)&65535|0)<(m[(k[d>>2]|0)+38>>1]|0|0))j[d+22>>1]=(m[d+22>>1]|0)+16;if((m[d+22>>1]|0|0)>=((m[d+20>>1]|0)+8-1|0))if((m[d+22>>1]|0|0)<=((m[d+20>>1]|0)+8|0)){k[d+16>>2]=0;c=k[d+16>>2]|0;r=d;return c|0}}c=gq(60)|0;k[d+4>>2]=c;if(!(k[d+4>>2]|0)){k[d+16>>2]=0;c=k[d+16>>2]|0;r=d;return c|0}else{b=(k[d+12>>2]|0)+68|0;k[b>>2]=(k[b>>2]|0)+8;k[(k[d+4>>2]|0)+8>>2]=m[d+24>>1];b=(k[d+4>>2]|0)+12|0;a=k[d+8>>2]|0;c=b+48|0;do{i[b>>0]=i[a>>0]|0;b=b+1|0;a=a+1|0}while((b|0)<(c|0));xq((k[d+12>>2]|0)+192|0,k[d+4>>2]|0)|0;k[d+16>>2]=k[d+4>>2];c=k[d+16>>2]|0;r=d;return c|0}return 0}function Wq(a,b){a=a|0;b=b|0;var c=0,d=0;c=r;r=r+32|0;k[c+20>>2]=a;k[c+16>>2]=b;a=k[(k[c+16>>2]|0)+52>>2]|0;k[c+4>>2]=a;k[c+8>>2]=a;k[c+12>>2]=a;a:while(1){if((k[c+4>>2]|0)==((k[c+16>>2]|0)+52|0))break;k[c>>2]=k[c+4>>2];b:do if(((l[(k[c>>2]|0)+12>>0]|0)&15|0)!=9){b=k[c>>2]|0;do if((m[(k[c>>2]|0)+8>>1]|0|0)==(m[(k[c+16>>2]|0)+38>>1]|0|0)){if((k[b+64>>2]|0)>>>0<=0){j[(k[c+16>>2]|0)+40>>1]=j[(k[c>>2]|0)+10>>1]|0;break b}if((k[c+8>>2]|0)==(k[c+4>>2]|0)){if((k[c+12>>2]|0)==(k[c+4>>2]|0))break;k[c+12>>2]=k[(k[c+4>>2]|0)+4>>2];break}zq((k[c+20>>2]|0)+232|0,k[c+8>>2]|0,k[(k[c+4>>2]|0)+4>>2]|0)|0;if(!(k[(k[c+20>>2]|0)+240>>2]|0)){xq((k[(k[c+20>>2]|0)+8>>2]|0)+52|0,k[c+20>>2]|0)|0;k[(k[c+20>>2]|0)+240>>2]=1}k[c+12>>2]=k[c+4>>2]}else{j[c+26>>1]=(m[b+8>>1]|0|0)/4096|0;j[c+24>>1]=(m[(k[c+16>>2]|0)+38>>1]|0|0)/4096|0;if((m[(k[c>>2]|0)+8>>1]|0|0)<(m[(k[c+16>>2]|0)+38>>1]|0|0))j[c+26>>1]=(m[c+26>>1]|0)+16;if((m[c+26>>1]|0|0)>=(m[c+24>>1]|0|0))if((m[c+26>>1]|0|0)<((m[c+24>>1]|0)+8-1|0))break a;k[c+12>>2]=k[k[c+4>>2]>>2];if((k[c+8>>2]|0)!=(k[c+4>>2]|0)){zq((k[c+20>>2]|0)+232|0,k[c+8>>2]|0,k[(k[c+4>>2]|0)+4>>2]|0)|0;if(!(k[(k[c+20>>2]|0)+240>>2]|0)){xq((k[(k[c+20>>2]|0)+8>>2]|0)+52|0,k[c+20>>2]|0)|0;k[(k[c+20>>2]|0)+240>>2]=1}}}while(0);k[c+8>>2]=k[k[c+4>>2]>>2]}while(0);k[c+4>>2]=k[k[c+4>>2]>>2]}if((k[c+8>>2]|0)==(k[c+4>>2]|0)){d=k[c+16>>2]|0;d=d+52|0;b=k[c+16>>2]|0;b=b+52|0;b=k[b>>2]|0;a=k[c+12>>2]|0;Lq(d,b,a);r=c;return}zq((k[c+20>>2]|0)+232|0,k[c+8>>2]|0,k[(k[c+4>>2]|0)+4>>2]|0)|0;if(!(k[(k[c+20>>2]|0)+240>>2]|0)){xq((k[(k[c+20>>2]|0)+8>>2]|0)+52|0,k[c+20>>2]|0)|0;k[(k[c+20>>2]|0)+240>>2]=1}k[c+12>>2]=k[c+4>>2];b=k[c+16>>2]|0;b=b+52|0;a=k[c+16>>2]|0;a=a+52|0;a=k[a>>2]|0;d=k[c+12>>2]|0;Lq(b,a,d);r=c;return}function Xq(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+12>>2]=a;k[c+8>>2]=b;k[c+4>>2]=k[(k[c+8>>2]|0)+44>>2];while(1){if((k[c+4>>2]|0)==((k[c+8>>2]|0)+44|0))break;k[c>>2]=k[c+4>>2];if((k[(k[c>>2]|0)+64>>2]|0)>>>0>0)break;if((m[(k[c>>2]|0)+8>>1]|0|0)!=((m[(k[c+8>>2]|0)+38>>1]|0)+1&65535|0))break;j[(k[c+8>>2]|0)+38>>1]=j[(k[c>>2]|0)+8>>1]|0;if((k[(k[c>>2]|0)+60>>2]|0)>>>0>0){a=(k[c+8>>2]|0)+38|0;j[a>>1]=(m[a>>1]|0)+((k[(k[c>>2]|0)+60>>2]|0)-1)}k[c+4>>2]=k[k[c+4>>2]>>2]}if((k[c+4>>2]|0)==(k[(k[c+8>>2]|0)+44>>2]|0)){r=c;return}j[(k[c+8>>2]|0)+40>>1]=0;zq((k[c+12>>2]|0)+232|0,k[(k[c+8>>2]|0)+44>>2]|0,k[(k[c+4>>2]|0)+4>>2]|0)|0;if(!(k[(k[c+12>>2]|0)+240>>2]|0)){xq((k[(k[c+12>>2]|0)+8>>2]|0)+52|0,k[c+12>>2]|0)|0;k[(k[c+12>>2]|0)+240>>2]=1}if((k[(k[c+8>>2]|0)+52>>2]|0)==((k[c+8>>2]|0)+52|0)){r=c;return}Wq(k[c+12>>2]|0,k[c+8>>2]|0);r=c;return}function Yq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=r;r=r+48|0;k[f+32>>2]=a;k[f+28>>2]=b;k[f+24>>2]=c;k[f+20>>2]=d;k[f+16>>2]=(k[(k[f+32>>2]|0)+40>>2]|0)+((l[(k[f+28>>2]|0)+1>>0]|0)*60|0);k[f+12>>2]=0;k[f+8>>2]=0;a:do if((k[(k[f+32>>2]|0)+36>>2]|0)==6)e=44;else{if(((l[k[f+28>>2]>>0]|0)&15|0)!=9){a=(k[f+28>>2]|0)+2|0;k[f+8>>2]=(l[a>>0]|l[a+1>>0]<<8)&65535;j[f+42>>1]=((k[f+8>>2]|0)>>>0)/4096|0;j[f+40>>1]=(m[(k[f+16>>2]|0)+38>>1]|0|0)/4096|0;if((k[f+8>>2]|0)>>>0<(m[(k[f+16>>2]|0)+38>>1]|0)>>>0)j[f+42>>1]=(m[f+42>>1]|0)+16;if((m[f+42>>1]|0|0)<(m[f+40>>1]|0|0)){e=44;break}if((m[f+42>>1]|0|0)>=((m[f+40>>1]|0)+8-1|0)){e=44;break}}b:do switch((l[k[f+28>>2]>>0]|0)&15|0){case 6:case 8:{if((k[f+8>>2]|0)==(m[(k[f+16>>2]|0)+38>>1]|0|0)){e=44;break a}k[f>>2]=k[(k[f+16>>2]|0)+44+4>>2];while(1){if((k[f>>2]|0)==((k[f+16>>2]|0)+44|0))break b;k[f+4>>2]=k[f>>2];b=m[(k[f+4>>2]|0)+8>>1]|0;d=m[(k[f+16>>2]|0)+38>>1]|0;if((k[f+8>>2]|0)>>>0>=(m[(k[f+16>>2]|0)+38>>1]|0)>>>0){if((b|0)>=(d|0))e=14}else if((b|0)>=(d|0))break b;else e=14;if((e|0)==14){e=0;if((m[(k[f+4>>2]|0)+8>>1]|0)>>>0<=(k[f+8>>2]|0)>>>0)break}k[f>>2]=k[(k[f>>2]|0)+4>>2]}if((m[(k[f+4>>2]|0)+8>>1]|0)>>>0>=(k[f+8>>2]|0)>>>0){e=44;break a}break}case 12:case 7:{a=(k[f+28>>2]|0)+4|0;a=(jpb(l[a>>0]|l[a+1>>0]<<8)|0)&65535;k[f+12>>2]=a;if((k[f+8>>2]|0)==(m[(k[f+16>>2]|0)+38>>1]|0|0))if((k[f+12>>2]|0)>>>0<=(m[(k[f+16>>2]|0)+40>>1]|0)>>>0){e=44;break a}k[f>>2]=k[(k[f+16>>2]|0)+52+4>>2];c:while(1){if((k[f>>2]|0)==((k[f+16>>2]|0)+52|0))break b;k[f+4>>2]=k[f>>2];do if(((l[k[f+28>>2]>>0]|0)&15|0)!=9){b=m[(k[f+4>>2]|0)+8>>1]|0;d=m[(k[f+16>>2]|0)+38>>1]|0;if((k[f+8>>2]|0)>>>0>=(m[(k[f+16>>2]|0)+38>>1]|0)>>>0){if((b|0)<(d|0))break}else if((b|0)>=(d|0))break b;if((m[(k[f+4>>2]|0)+8>>1]|0)>>>0<(k[f+8>>2]|0)>>>0)break b;if((m[(k[f+4>>2]|0)+8>>1]|0)>>>0<=(k[f+8>>2]|0)>>>0)if((m[(k[f+4>>2]|0)+10>>1]|0)>>>0<=(k[f+12>>2]|0)>>>0)break c}while(0);k[f>>2]=k[(k[f>>2]|0)+4>>2]}if((m[(k[f+4>>2]|0)+10>>1]|0)>>>0>=(k[f+12>>2]|0)>>>0){e=44;break a}break}case 9:{k[f>>2]=(k[f+16>>2]|0)+52;break}default:{e=44;break a}}while(0);a=gq(76)|0;k[f+4>>2]=a;if(k[f+4>>2]|0){b=(k[f+28>>2]|0)+2|0;j[(k[f+4>>2]|0)+8>>1]=l[b>>0]|l[b+1>>0]<<8;j[(k[f+4>>2]|0)+10>>1]=k[f+12>>2];b=(k[f+4>>2]|0)+12|0;d=k[f+28>>2]|0;c=b+48|0;do{i[b>>0]=i[d>>0]|0;b=b+1|0;d=d+1|0}while((b|0)<(c|0));k[(k[f+4>>2]|0)+60>>2]=k[f+20>>2];k[(k[f+4>>2]|0)+64>>2]=k[f+20>>2];k[(k[f+4>>2]|0)+72>>2]=k[f+24>>2];k[(k[f+4>>2]|0)+68>>2]=0;do if((k[f+20>>2]|0)>>>0>0){if((k[f+20>>2]|0)>>>0<=1048576){a=gq(((((k[f+20>>2]|0)+31|0)>>>0)/32|0)<<2)|0;k[(k[f+4>>2]|0)+68>>2]=a}b=k[f+4>>2]|0;if(!(k[(k[f+4>>2]|0)+68>>2]|0)){hq(b);break a}else{vBb(k[b+68>>2]|0,0,((((k[f+20>>2]|0)+31|0)>>>0)/32|0)<<2|0)|0;break}}while(0);if(k[f+24>>2]|0){e=k[f+24>>2]|0;k[e>>2]=(k[e>>2]|0)+1}xq(k[k[f>>2]>>2]|0,k[f+4>>2]|0)|0;switch((l[k[f+28>>2]>>0]|0)&15|0){case 6:case 8:{Xq(k[f+32>>2]|0,k[f+16>>2]|0);break}default:Wq(k[f+32>>2]|0,k[f+16>>2]|0)}k[f+36>>2]=k[f+4>>2];e=k[f+36>>2]|0;r=f;return e|0}}while(0);if((e|0)==44)if((k[f+20>>2]|0)>>>0<=0){if(k[f+24>>2]|0)if(!(k[k[f+24>>2]>>2]|0))Bq(k[f+24>>2]|0);k[f+36>>2]=623120;e=k[f+36>>2]|0;r=f;return e|0}if(k[f+24>>2]|0)if(!(k[k[f+24>>2]>>2]|0))Bq(k[f+24>>2]|0);k[f+36>>2]=0;e=k[f+36>>2]|0;r=f;return e|0}function Zq(a){a=a|0;var b=0;b=r;r=r+16|0;i[b>>0]=a;r=b;return k[11924+(((l[b>>0]|0)&15)<<2)>>2]|0}function _q(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;a=Er()|0;k[(k[b>>2]|0)+48>>2]=a;$q(k[b>>2]|0,0,0)|0;r=b;return}function $q(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+64|0;k[e+40>>2]=a;k[e+36>>2]=b;k[e+32>>2]=c;k[e+28>>2]=e+48;k[e+16>>2]=0;k[(k[e+40>>2]|0)+60>>2]=1;a:while(1){if(!(k[(k[e+40>>2]|0)+60>>2]|0)){d=59;break}k[(k[e+40>>2]|0)+60>>2]=0;k[e+24>>2]=k[(k[e+40>>2]|0)+36>>2];while(1){if((k[e+24>>2]|0)>>>0>=((k[(k[e+40>>2]|0)+36>>2]|0)+((k[(k[e+40>>2]|0)+40>>2]|0)*380|0)|0)>>>0)continue a;do if(k[(k[e+24>>2]|0)+36>>2]|0)if((k[(k[e+24>>2]|0)+36>>2]|0)!=9){j[(k[e+40>>2]|0)+68>>1]=0;k[(k[e+40>>2]|0)+1608>>2]=0;k[(k[e+40>>2]|0)+2132>>2]=1;k[(k[e+40>>2]|0)+64>>2]=4;if((k[(k[e+24>>2]|0)+192>>2]|0)!=((k[e+24>>2]|0)+192|0))ar(k[e+40>>2]|0,k[e+24>>2]|0);if(k[e+32>>2]|0)if((k[(k[e+24>>2]|0)+200>>2]|0)!=((k[e+24>>2]|0)+200|0))if(((k[(k[e+40>>2]|0)+48>>2]|0)-(k[(k[e+24>>2]|0)+80>>2]|0)|0)>>>0<864e5)if((dr(k[e+40>>2]|0,k[e+24>>2]|0,k[e+36>>2]|0)|0)==1){if(!(k[e+36>>2]|0))break;if(k[k[e+36>>2]>>2]|0){d=15;break a}else break}if((k[(k[e+24>>2]|0)+216>>2]|0)==((k[e+24>>2]|0)+216|0))d=18;else if(fr(k[e+40>>2]|0,k[e+24>>2]|0)|0)d=18;if((d|0)==18){d=0;if((k[(k[e+24>>2]|0)+200>>2]|0)==((k[e+24>>2]|0)+200|0)){if(((k[(k[e+40>>2]|0)+48>>2]|0)-(k[(k[e+24>>2]|0)+76>>2]|0)|0)>>>0>=864e5)c=(k[(k[e+24>>2]|0)+76>>2]|0)-(k[(k[e+40>>2]|0)+48>>2]|0)|0;else c=(k[(k[e+40>>2]|0)+48>>2]|0)-(k[(k[e+24>>2]|0)+76>>2]|0)|0;if(c>>>0>=(k[(k[e+24>>2]|0)+136>>2]|0)>>>0)if(((k[(k[e+24>>2]|0)+176>>2]|0)-(k[(k[e+40>>2]|0)+64>>2]|0)|0)>>>0>=4){Pq(k[e+24>>2]|0);fr(k[e+40>>2]|0,k[e+24>>2]|0)|0}}}if((k[(k[e+24>>2]|0)+224>>2]|0)!=((k[e+24>>2]|0)+224|0))gr(k[e+40>>2]|0,k[e+24>>2]|0);if(k[(k[e+40>>2]|0)+1608>>2]|0){c=k[(k[e+40>>2]|0)+48>>2]|0;b=(k[e+24>>2]|0)+88|0;if(!(k[(k[e+24>>2]|0)+88>>2]|0))k[b>>2]=c;else{if((c-(k[b>>2]|0)|0)>>>0>=864e5)c=(k[(k[e+24>>2]|0)+88>>2]|0)-(k[(k[e+40>>2]|0)+48>>2]|0)|0;else c=(k[(k[e+40>>2]|0)+48>>2]|0)-(k[(k[e+24>>2]|0)+88>>2]|0)|0;if(c>>>0>=1e4)if((k[(k[e+24>>2]|0)+92>>2]|0)>>>0>0){k[e+12>>2]=(k[(k[e+24>>2]|0)+96>>2]<<16>>>0)/((k[(k[e+24>>2]|0)+92>>2]|0)>>>0)|0;a=(k[e+24>>2]|0)+104|0;k[a>>2]=(k[a>>2]|0)-(((k[(k[e+24>>2]|0)+104>>2]|0)>>>0)/4|0);if((k[e+12>>2]|0)>>>0>=(k[(k[e+24>>2]|0)+100>>2]|0)>>>0){a=(k[e+24>>2]|0)+100|0;k[a>>2]=(k[a>>2]|0)+((((k[e+12>>2]|0)-(k[(k[e+24>>2]|0)+100>>2]|0)|0)>>>0)/8|0);a=(k[e+24>>2]|0)+104|0;k[a>>2]=(k[a>>2]|0)+((((k[e+12>>2]|0)-(k[(k[e+24>>2]|0)+100>>2]|0)|0)>>>0)/4|0)}else{a=(k[e+24>>2]|0)+100|0;k[a>>2]=(k[a>>2]|0)-((((k[(k[e+24>>2]|0)+100>>2]|0)-(k[e+12>>2]|0)|0)>>>0)/8|0);a=(k[e+24>>2]|0)+104|0;k[a>>2]=(k[a>>2]|0)+((((k[(k[e+24>>2]|0)+100>>2]|0)-(k[e+12>>2]|0)|0)>>>0)/4|0)}k[(k[e+24>>2]|0)+88>>2]=k[(k[e+40>>2]|0)+48>>2];k[(k[e+24>>2]|0)+92>>2]=0;k[(k[e+24>>2]|0)+96>>2]=0}}k[(k[e+40>>2]|0)+1612>>2]=e+48;c=k[e+40>>2]|0;if((m[(k[e+40>>2]|0)+68>>1]|0)&32768|0){b=Vob(k[c+48>>2]&65535)|0;a=(k[e+28>>2]|0)+2|0;i[a>>0]=b;i[a+1>>0]=b>>8;k[(k[e+40>>2]|0)+1612+4>>2]=4}else k[c+1612+4>>2]=2;k[e+16>>2]=0;if(k[(k[e+40>>2]|0)+2140>>2]|0)if(k[(k[e+40>>2]|0)+2140+4>>2]|0){k[e+8>>2]=(k[(k[e+40>>2]|0)+64>>2]|0)-4;a=Ei[k[(k[e+40>>2]|0)+2140+4>>2]&63](k[(k[e+40>>2]|0)+2140>>2]|0,(k[e+40>>2]|0)+1612+8|0,(k[(k[e+40>>2]|0)+2132>>2]|0)-1|0,k[e+8>>2]|0,(k[e+40>>2]|0)+2156+4096|0,k[e+8>>2]|0)|0;k[e+4>>2]=a;if((k[e+4>>2]|0)>>>0>0)if((k[e+4>>2]|0)>>>0<(k[e+8>>2]|0)>>>0){a=(k[e+40>>2]|0)+68|0;j[a>>1]=m[a>>1]|0|16384;k[e+16>>2]=k[e+4>>2]}}if((m[(k[e+24>>2]|0)+12>>1]|0|0)<4095){a=(k[e+40>>2]|0)+68|0;j[a>>1]=m[a>>1]|0|(l[(k[e+24>>2]|0)+20>>0]|0)<<12}b=Vob((m[(k[e+24>>2]|0)+12>>1]|0|(m[(k[e+40>>2]|0)+68>>1]|0))&65535)|0;a=k[e+28>>2]|0;i[a>>0]=b;i[a+1>>0]=b>>8;if(k[(k[e+40>>2]|0)+2136>>2]|0){k[e>>2]=e+48+(k[(k[e+40>>2]|0)+1612+4>>2]|0);if((m[(k[e+24>>2]|0)+12>>1]|0|0)<4095)c=k[(k[e+24>>2]|0)+16>>2]|0;else c=0;k[k[e>>2]>>2]=c;a=(k[e+40>>2]|0)+1612+4|0;k[a>>2]=(k[a>>2]|0)+4;a=gj[k[(k[e+40>>2]|0)+2136>>2]&511]((k[e+40>>2]|0)+1612|0,k[(k[e+40>>2]|0)+2132>>2]|0)|0;k[k[e>>2]>>2]=a}if((k[e+16>>2]|0)>>>0>0){k[(k[e+40>>2]|0)+1612+8>>2]=(k[e+40>>2]|0)+2156+4096;k[(k[e+40>>2]|0)+1612+8+4>>2]=k[e+16>>2];k[(k[e+40>>2]|0)+2132>>2]=2}k[(k[e+24>>2]|0)+72>>2]=k[(k[e+40>>2]|0)+48>>2];a=Mr(k[k[e+40>>2]>>2]|0,(k[e+24>>2]|0)+24|0,(k[e+40>>2]|0)+1612|0,k[(k[e+40>>2]|0)+2132>>2]|0)|0;k[e+20>>2]=a;hr(k[e+24>>2]|0);if((k[e+20>>2]|0)<0){d=56;break a}a=(k[e+40>>2]|0)+10364|0;k[a>>2]=(k[a>>2]|0)+(k[e+20>>2]|0);a=(k[e+40>>2]|0)+10368|0;k[a>>2]=(k[a>>2]|0)+1}}while(0);k[e+24>>2]=(k[e+24>>2]|0)+380}}if((d|0)==15){k[e+44>>2]=1;d=k[e+44>>2]|0;r=e;return d|0}else if((d|0)==56){k[e+44>>2]=-1;d=k[e+44>>2]|0;r=e;return d|0}else if((d|0)==59){k[e+44>>2]=0;d=k[e+44>>2]|0;r=e;return d|0}return 0}function ar(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+32|0;k[d+20>>2]=a;k[d+16>>2]=b;k[d+12>>2]=(k[d+20>>2]|0)+70+((k[(k[d+20>>2]|0)+1608>>2]|0)*48|0);k[d+8>>2]=(k[d+20>>2]|0)+1612+(k[(k[d+20>>2]|0)+2132>>2]<<3);k[d>>2]=k[(k[d+16>>2]|0)+192>>2];while(1){if((k[d>>2]|0)==((k[d+16>>2]|0)+192|0)){c=10;break}if((k[d+12>>2]|0)>>>0>=((k[d+20>>2]|0)+70+1536|0)>>>0)break;if((k[d+8>>2]|0)>>>0>=((k[d+20>>2]|0)+1612+520|0)>>>0)break;if(((k[(k[d+16>>2]|0)+176>>2]|0)-(k[(k[d+20>>2]|0)+64>>2]|0)|0)>>>0<8)break;k[d+4>>2]=k[d>>2];k[d>>2]=k[k[d>>2]>>2];k[k[d+8>>2]>>2]=k[d+12>>2];k[(k[d+8>>2]|0)+4>>2]=8;a=(k[d+20>>2]|0)+64|0;k[a>>2]=(k[a>>2]|0)+(k[(k[d+8>>2]|0)+4>>2]|0);a=Vob(j[(k[d+4>>2]|0)+12+2>>1]|0)|0;j[d+24>>1]=a;i[k[d+12>>2]>>0]=1;i[(k[d+12>>2]|0)+1>>0]=i[(k[d+4>>2]|0)+12+1>>0]|0;a=j[d+24>>1]|0;b=(k[d+12>>2]|0)+2|0;i[b>>0]=a;i[b+1>>0]=a>>8;b=j[d+24>>1]|0;a=(k[d+12>>2]|0)+4|0;i[a>>0]=b;i[a+1>>0]=b>>8;a=Vob(k[(k[d+4>>2]|0)+8>>2]&65535)|0;b=(k[d+12>>2]|0)+6|0;i[b>>0]=a;i[b+1>>0]=a>>8;if(((l[(k[d+4>>2]|0)+12>>0]|0)&15|0)==4)br(k[d+20>>2]|0,k[d+16>>2]|0,9);yq(k[d+4>>2]|0)|0;hq(k[d+4>>2]|0);k[d+12>>2]=(k[d+12>>2]|0)+48;k[d+8>>2]=(k[d+8>>2]|0)+8}if((c|0)==10){c=k[d+12>>2]|0;b=k[d+20>>2]|0;b=b+70|0;b=c-b|0;b=(b|0)/48|0;c=k[d+20>>2]|0;c=c+1608|0;k[c>>2]=b;c=k[d+8>>2]|0;b=k[d+20>>2]|0;b=b+1612|0;b=c-b|0;b=(b|0)/8|0;c=k[d+20>>2]|0;c=c+2132|0;k[c>>2]=b;r=d;return}k[(k[d+20>>2]|0)+60>>2]=1;c=k[d+12>>2]|0;b=k[d+20>>2]|0;b=b+70|0;b=c-b|0;b=(b|0)/48|0;c=k[d+20>>2]|0;c=c+1608|0;k[c>>2]=b;c=k[d+8>>2]|0;b=k[d+20>>2]|0;b=b+1612|0;b=c-b|0;b=(b|0)/8|0;c=k[d+20>>2]|0;c=c+2132|0;k[c>>2]=b;r=d;return}function br(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;k[d+8>>2]=a;k[d+4>>2]=b;k[d>>2]=c;cr(k[d+8>>2]|0,k[d+4>>2]|0,k[d>>2]|0);if(k[(k[d+4>>2]|0)+240>>2]|0){r=d;return}xq((k[d+8>>2]|0)+52|0,k[d+4>>2]|0)|0;k[(k[d+4>>2]|0)+240>>2]=1;r=d;return}function cr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;k[d+8>>2]=a;k[d+4>>2]=b;k[d>>2]=c;a=k[d+4>>2]|0;if((k[d>>2]|0)==5|(k[d>>2]|0)==6)Mq(a);else Nq(a);k[(k[d+4>>2]|0)+36>>2]=k[d>>2];r=d;return}function dr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+32|0;k[e+20>>2]=a;k[e+16>>2]=b;k[e+12>>2]=c;k[e+4>>2]=k[(k[e+16>>2]|0)+200>>2];k[e>>2]=k[(k[e+16>>2]|0)+216>>2];while(1){if((k[e+4>>2]|0)==((k[e+16>>2]|0)+200|0)){d=26;break}k[e+8>>2]=k[e+4>>2];k[e+4>>2]=k[k[e+4>>2]>>2];if(((k[(k[e+20>>2]|0)+48>>2]|0)-(k[(k[e+8>>2]|0)+12>>2]|0)|0)>>>0>=864e5)c=(k[(k[e+8>>2]|0)+12>>2]|0)-(k[(k[e+20>>2]|0)+48>>2]|0)|0;else c=(k[(k[e+20>>2]|0)+48>>2]|0)-(k[(k[e+8>>2]|0)+12>>2]|0)|0;if(c>>>0<(k[(k[e+8>>2]|0)+16>>2]|0)>>>0)continue;if(!(k[(k[e+16>>2]|0)+84>>2]|0))d=9;else if(((k[(k[e+8>>2]|0)+12>>2]|0)-(k[(k[e+16>>2]|0)+84>>2]|0)|0)>>>0>=864e5)d=9;if((d|0)==9){d=0;k[(k[e+16>>2]|0)+84>>2]=k[(k[e+8>>2]|0)+12>>2]}if(k[(k[e+16>>2]|0)+84>>2]|0){if(((k[(k[e+20>>2]|0)+48>>2]|0)-(k[(k[e+16>>2]|0)+84>>2]|0)|0)>>>0>=864e5)c=(k[(k[e+16>>2]|0)+84>>2]|0)-(k[(k[e+20>>2]|0)+48>>2]|0)|0;else c=(k[(k[e+20>>2]|0)+48>>2]|0)-(k[(k[e+16>>2]|0)+84>>2]|0)|0;if(c>>>0>=(k[(k[e+16>>2]|0)+148>>2]|0)>>>0){d=20;break}if((k[(k[e+8>>2]|0)+16>>2]|0)>>>0>=(k[(k[e+8>>2]|0)+20>>2]|0)>>>0){if(((k[(k[e+20>>2]|0)+48>>2]|0)-(k[(k[e+16>>2]|0)+84>>2]|0)|0)>>>0>=864e5)c=(k[(k[e+16>>2]|0)+84>>2]|0)-(k[(k[e+20>>2]|0)+48>>2]|0)|0;else c=(k[(k[e+20>>2]|0)+48>>2]|0)-(k[(k[e+16>>2]|0)+84>>2]|0)|0;if(c>>>0>=(k[(k[e+16>>2]|0)+144>>2]|0)>>>0){d=20;break}}}if(k[(k[e+8>>2]|0)+80>>2]|0){b=(k[e+16>>2]|0)+184|0;k[b>>2]=(k[b>>2]|0)-(m[(k[e+8>>2]|0)+28>>1]|0)}b=(k[e+16>>2]|0)+96|0;k[b>>2]=(k[b>>2]|0)+1;b=(k[e+8>>2]|0)+16|0;k[b>>2]=k[b>>2]<<1;b=k[e>>2]|0;xq(b,yq(k[e+8>>2]|0)|0)|0;if((k[e+4>>2]|0)!=(k[(k[e+16>>2]|0)+200>>2]|0))continue;if((k[(k[e+16>>2]|0)+200>>2]|0)==((k[e+16>>2]|0)+200|0))continue;k[e+8>>2]=k[e+4>>2];k[(k[e+16>>2]|0)+80>>2]=(k[(k[e+8>>2]|0)+12>>2]|0)+(k[(k[e+8>>2]|0)+16>>2]|0)}if((d|0)==20){er(k[e+20>>2]|0,k[e+16>>2]|0,k[e+12>>2]|0);k[e+24>>2]=1;d=k[e+24>>2]|0;r=e;return d|0}else if((d|0)==26){k[e+24>>2]=0;d=k[e+24>>2]|0;r=e;return d|0}return 0}function er(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;k[d+8>>2]=a;k[d+4>>2]=b;k[d>>2]=c;if((k[(k[d+4>>2]|0)+36>>2]|0)>>>0>=3)k[(k[d+8>>2]|0)+32>>2]=1;if((k[(k[d+4>>2]|0)+36>>2]|0)!=1)if((k[(k[d+4>>2]|0)+36>>2]|0)>>>0<4){Oq(k[d+4>>2]|0);r=d;return}if(k[d>>2]|0){k[k[d>>2]>>2]=2;k[(k[d>>2]|0)+4>>2]=k[d+4>>2];k[(k[d>>2]|0)+12>>2]=0;Oq(k[d+4>>2]|0);r=d;return}else{k[(k[d+4>>2]|0)+376>>2]=0;br(k[d+8>>2]|0,k[d+4>>2]|0,9);r=d;return}}function fr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=r;r=r+64|0;k[e+44>>2]=a;k[e+40>>2]=b;k[e+36>>2]=(k[e+44>>2]|0)+70+((k[(k[e+44>>2]|0)+1608>>2]|0)*48|0);k[e+32>>2]=(k[e+44>>2]|0)+1612+(k[(k[e+44>>2]|0)+2132>>2]<<3);k[e+12>>2]=0;k[e+8>>2]=0;k[e+4>>2]=1;k[e+24>>2]=k[(k[e+40>>2]|0)+216>>2];while(1){if((k[e+24>>2]|0)==((k[e+40>>2]|0)+216|0)){d=39;break}k[e+28>>2]=k[e+24>>2];if((l[(k[e+28>>2]|0)+32+1>>0]|0)>>>0<(k[(k[e+40>>2]|0)+44>>2]|0)>>>0)a=(k[(k[e+40>>2]|0)+40>>2]|0)+((l[(k[e+28>>2]|0)+32+1>>0]|0)*60|0)|0;else a=0;k[e+20>>2]=a;j[e+48>>1]=(m[(k[e+28>>2]|0)+8>>1]|0|0)/4096|0;if(k[e+20>>2]|0){do if(!(k[e+8>>2]|0))if((m[(k[e+28>>2]|0)+30>>1]|0|0)<1)if(!((m[(k[e+28>>2]|0)+8>>1]|0|0)%4096|0)){if((m[(k[e+20>>2]|0)+6+((((m[e+48>>1]|0)+16-1|0)%16|0)<<1)>>1]|0|0)<4096)if(!((m[(k[e+20>>2]|0)+4>>1]|0)&(255<<(m[e+48>>1]|0)|255>>4096-(m[e+48>>1]|0))))break;k[e+8>>2]=1}while(0);if(k[e+8>>2]|0){k[e+24>>2]=k[k[e+24>>2]>>2];continue}}if(k[(k[e+28>>2]|0)+80>>2]|0){if(!(k[e+12>>2]|0)){c=((ha(k[(k[e+40>>2]|0)+108>>2]|0,k[(k[e+40>>2]|0)+180>>2]|0)|0)>>>0)/32|0;k[e>>2]=c;if((k[e>>2]|0)>>>0>(k[(k[e+40>>2]|0)+176>>2]|0)>>>0)a=k[e>>2]|0;else a=k[(k[e+40>>2]|0)+176>>2]|0;if(((k[(k[e+40>>2]|0)+184>>2]|0)+(m[(k[e+28>>2]|0)+28>>1]|0)|0)>>>0>a>>>0)k[e+12>>2]=1}if(k[e+12>>2]|0){k[e+24>>2]=k[k[e+24>>2]>>2];continue}}k[e+4>>2]=0;k[e+16>>2]=k[11924+(((l[(k[e+28>>2]|0)+32>>0]|0)&15)<<2)>>2];if((k[e+36>>2]|0)>>>0>=((k[e+44>>2]|0)+70+1536|0)>>>0)break;if(((k[e+32>>2]|0)+8|0)>>>0>=((k[e+44>>2]|0)+1612+520|0)>>>0)break;if(((k[(k[e+40>>2]|0)+176>>2]|0)-(k[(k[e+44>>2]|0)+64>>2]|0)|0)>>>0<(k[e+16>>2]|0)>>>0)break;if(k[(k[e+28>>2]|0)+80>>2]|0)if(((k[(k[e+40>>2]|0)+176>>2]|0)-(k[(k[e+44>>2]|0)+64>>2]|0)&65535|0)<((k[e+16>>2]|0)+(m[(k[e+28>>2]|0)+28>>1]|0)&65535|0))break;k[e+24>>2]=k[k[e+24>>2]>>2];if(k[e+20>>2]|0)if((m[(k[e+28>>2]|0)+30>>1]|0|0)<1){c=(k[e+20>>2]|0)+4|0;j[c>>1]=m[c>>1]|0|1<<(m[e+48>>1]|0);c=(k[e+20>>2]|0)+6+((m[e+48>>1]|0)<<1)|0;j[c>>1]=(j[c>>1]|0)+1<<16>>16}c=(k[e+28>>2]|0)+30|0;j[c>>1]=(j[c>>1]|0)+1<<16>>16;if(!(k[(k[e+28>>2]|0)+16>>2]|0)){k[(k[e+28>>2]|0)+16>>2]=(k[(k[e+40>>2]|0)+168>>2]|0)+(k[(k[e+40>>2]|0)+172>>2]<<2);c=ha(k[(k[e+40>>2]|0)+140>>2]|0,k[(k[e+28>>2]|0)+16>>2]|0)|0;k[(k[e+28>>2]|0)+20>>2]=c}if((k[(k[e+40>>2]|0)+200>>2]|0)==((k[e+40>>2]|0)+200|0))k[(k[e+40>>2]|0)+80>>2]=(k[(k[e+44>>2]|0)+48>>2]|0)+(k[(k[e+28>>2]|0)+16>>2]|0);a=(k[e+40>>2]|0)+200|0;xq(a,yq(k[e+28>>2]|0)|0)|0;k[(k[e+28>>2]|0)+12>>2]=k[(k[e+44>>2]|0)+48>>2];k[k[e+32>>2]>>2]=k[e+36>>2];k[(k[e+32>>2]|0)+4>>2]=k[e+16>>2];a=(k[e+44>>2]|0)+64|0;k[a>>2]=(k[a>>2]|0)+(k[(k[e+32>>2]|0)+4>>2]|0);a=(k[e+44>>2]|0)+68|0;j[a>>1]=m[a>>1]|0|32768;a=k[e+36>>2]|0;b=(k[e+28>>2]|0)+32|0;c=a+48|0;do{i[a>>0]=i[b>>0]|0;a=a+1|0;b=b+1|0}while((a|0)<(c|0));if(k[(k[e+28>>2]|0)+80>>2]|0){k[e+32>>2]=(k[e+32>>2]|0)+8;k[k[e+32>>2]>>2]=(k[(k[(k[e+28>>2]|0)+80>>2]|0)+8>>2]|0)+(k[(k[e+28>>2]|0)+24>>2]|0);k[(k[e+32>>2]|0)+4>>2]=m[(k[e+28>>2]|0)+28>>1];c=(k[e+44>>2]|0)+64|0;k[c>>2]=(k[c>>2]|0)+(m[(k[e+28>>2]|0)+28>>1]|0);c=(k[e+40>>2]|0)+184|0;k[c>>2]=(k[c>>2]|0)+(m[(k[e+28>>2]|0)+28>>1]|0)}c=(k[e+40>>2]|0)+92|0;k[c>>2]=(k[c>>2]|0)+1;k[e+36>>2]=(k[e+36>>2]|0)+48;k[e+32>>2]=(k[e+32>>2]|0)+8}if((d|0)==39){d=k[e+36>>2]|0;c=k[e+44>>2]|0;c=c+70|0;c=d-c|0;c=(c|0)/48|0;d=k[e+44>>2]|0;d=d+1608|0;k[d>>2]=c;d=k[e+32>>2]|0;c=k[e+44>>2]|0;c=c+1612|0;c=d-c|0;c=(c|0)/8|0;d=k[e+44>>2]|0;d=d+2132|0;k[d>>2]=c;d=k[e+4>>2]|0;r=e;return d|0}k[(k[e+44>>2]|0)+60>>2]=1;d=k[e+36>>2]|0;c=k[e+44>>2]|0;c=c+70|0;c=d-c|0;c=(c|0)/48|0;d=k[e+44>>2]|0;d=d+1608|0;k[d>>2]=c;d=k[e+32>>2]|0;c=k[e+44>>2]|0;c=c+1612|0;c=d-c|0;c=(c|0)/8|0;d=k[e+44>>2]|0;d=d+2132|0;k[d>>2]=c;d=k[e+4>>2]|0;r=e;return d|0}function gr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=r;r=r+32|0;k[e+24>>2]=a;k[e+20>>2]=b;k[e+16>>2]=(k[e+24>>2]|0)+70+((k[(k[e+24>>2]|0)+1608>>2]|0)*48|0);k[e+12>>2]=(k[e+24>>2]|0)+1612+(k[(k[e+24>>2]|0)+2132>>2]<<3);k[e+4>>2]=k[(k[e+20>>2]|0)+224>>2];a:while(1){if((k[e+4>>2]|0)==((k[e+20>>2]|0)+224|0))break;k[e+8>>2]=k[e+4>>2];k[e>>2]=k[11924+(((l[(k[e+8>>2]|0)+32>>0]|0)&15)<<2)>>2];if((k[e+16>>2]|0)>>>0>=((k[e+24>>2]|0)+70+1536|0)>>>0){d=8;break}if(((k[e+12>>2]|0)+8|0)>>>0>=((k[e+24>>2]|0)+1612+520|0)>>>0){d=8;break}if(((k[(k[e+20>>2]|0)+176>>2]|0)-(k[(k[e+24>>2]|0)+64>>2]|0)|0)>>>0<(k[e>>2]|0)>>>0){d=8;break}if(k[(k[e+8>>2]|0)+80>>2]|0)if(((k[(k[e+20>>2]|0)+176>>2]|0)-(k[(k[e+24>>2]|0)+64>>2]|0)|0)>>>0<((k[e>>2]|0)+(m[(k[e+8>>2]|0)+28>>1]|0)|0)>>>0){d=8;break}k[e+4>>2]=k[k[e+4>>2]>>2];if(k[(k[e+8>>2]|0)+80>>2]|0)if(!(k[(k[e+8>>2]|0)+24>>2]|0)){c=(k[e+20>>2]|0)+116|0;k[c>>2]=(k[c>>2]|0)+7;c=(k[e+20>>2]|0)+116|0;k[c>>2]=((k[c>>2]|0)>>>0)%32|0;if((k[(k[e+20>>2]|0)+116>>2]|0)>>>0>(k[(k[e+20>>2]|0)+108>>2]|0)>>>0){j[e+30>>1]=j[(k[e+8>>2]|0)+8>>1]|0;j[e+28>>1]=j[(k[e+8>>2]|0)+10>>1]|0;while(1){c=k[(k[e+8>>2]|0)+80>>2]|0;k[c>>2]=(k[c>>2]|0)+-1;if(!(k[k[(k[e+8>>2]|0)+80>>2]>>2]|0))Bq(k[(k[e+8>>2]|0)+80>>2]|0);yq(k[e+8>>2]|0)|0;hq(k[e+8>>2]|0);if((k[e+4>>2]|0)==((k[e+20>>2]|0)+224|0))continue a;k[e+8>>2]=k[e+4>>2];if((m[(k[e+8>>2]|0)+8>>1]|0|0)!=(m[e+30>>1]|0|0))continue a;if((m[(k[e+8>>2]|0)+10>>1]|0|0)!=(m[e+28>>1]|0|0))continue a;k[e+4>>2]=k[k[e+4>>2]>>2]}}}k[k[e+12>>2]>>2]=k[e+16>>2];k[(k[e+12>>2]|0)+4>>2]=k[e>>2];a=(k[e+24>>2]|0)+64|0;k[a>>2]=(k[a>>2]|0)+(k[(k[e+12>>2]|0)+4>>2]|0);a=k[e+16>>2]|0;b=(k[e+8>>2]|0)+32|0;c=a+48|0;do{i[a>>0]=i[b>>0]|0;a=a+1|0;b=b+1|0}while((a|0)<(c|0));yq(k[e+8>>2]|0)|0;if(k[(k[e+8>>2]|0)+80>>2]|0){k[e+12>>2]=(k[e+12>>2]|0)+8;k[k[e+12>>2]>>2]=(k[(k[(k[e+8>>2]|0)+80>>2]|0)+8>>2]|0)+(k[(k[e+8>>2]|0)+24>>2]|0);k[(k[e+12>>2]|0)+4>>2]=m[(k[e+8>>2]|0)+28>>1];c=(k[e+24>>2]|0)+64|0;k[c>>2]=(k[c>>2]|0)+(k[(k[e+12>>2]|0)+4>>2]|0);xq((k[e+20>>2]|0)+208|0,k[e+8>>2]|0)|0}else hq(k[e+8>>2]|0);k[e+16>>2]=(k[e+16>>2]|0)+48;k[e+12>>2]=(k[e+12>>2]|0)+8}if((d|0)==8)k[(k[e+24>>2]|0)+60>>2]=1;k[(k[e+24>>2]|0)+1608>>2]=((k[e+16>>2]|0)-((k[e+24>>2]|0)+70)|0)/48|0;k[(k[e+24>>2]|0)+2132>>2]=((k[e+12>>2]|0)-((k[e+24>>2]|0)+1612)|0)/8|0;if((k[(k[e+20>>2]|0)+36>>2]|0)!=6){r=e;return}if((k[(k[e+20>>2]|0)+216>>2]|0)!=((k[e+20>>2]|0)+216|0)){r=e;return}if((k[(k[e+20>>2]|0)+224>>2]|0)!=((k[e+20>>2]|0)+224|0)){r=e;return}if((k[(k[e+20>>2]|0)+200>>2]|0)!=((k[e+20>>2]|0)+200|0)){r=e;return}Tq(k[e+20>>2]|0,k[(k[e+20>>2]|0)+376>>2]|0);r=e;return}function hr(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+4>>2]=a;while(1){if(!((k[(k[b+4>>2]|0)+208>>2]|0)==((k[b+4>>2]|0)+208|0)^1))break;k[b>>2]=k[(k[b+4>>2]|0)+208>>2];yq(k[b>>2]|0)|0;if(k[(k[b>>2]|0)+80>>2]|0){a=k[(k[b>>2]|0)+80>>2]|0;k[a>>2]=(k[a>>2]|0)+-1;if(!(k[k[(k[b>>2]|0)+80>>2]>>2]|0)){a=(k[(k[b>>2]|0)+80>>2]|0)+4|0;k[a>>2]=k[a>>2]|256;Bq(k[(k[b>>2]|0)+80>>2]|0)}}hq(k[b>>2]|0)}r=b;return}function ir(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+4>>2]=a;k[c>>2]=b;if(!(k[c>>2]|0)){k[c+8>>2]=-1;a=k[c+8>>2]|0;r=c;return a|0}else{k[k[c>>2]>>2]=0;k[(k[c>>2]|0)+4>>2]=0;k[(k[c>>2]|0)+16>>2]=0;a=jr(k[c+4>>2]|0,k[c>>2]|0)|0;k[c+8>>2]=a;a=k[c+8>>2]|0;r=c;return a|0}return 0}function jr(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+8>>2]=a;k[c+4>>2]=b;a:while(1){if(!((k[(k[c+8>>2]|0)+52>>2]|0)==((k[c+8>>2]|0)+52|0)^1)){b=11;break}a=yq(k[(k[c+8>>2]|0)+52>>2]|0)|0;k[c>>2]=a;k[(k[c>>2]|0)+240>>2]=0;switch(k[(k[c>>2]|0)+36>>2]|0){case 4:case 3:{b=4;break a}case 9:{b=5;break a}case 5:break;default:continue a}if((k[(k[c>>2]|0)+232>>2]|0)==((k[c>>2]|0)+232|0))continue;a=Hq(k[c>>2]|0,(k[c+4>>2]|0)+8|0)|0;k[(k[c+4>>2]|0)+16>>2]=a;if(k[(k[c+4>>2]|0)+16>>2]|0){b=8;break}}if((b|0)==4){cr(k[c+8>>2]|0,k[c>>2]|0,5);k[k[c+4>>2]>>2]=1;k[(k[c+4>>2]|0)+4>>2]=k[c>>2];k[(k[c+4>>2]|0)+12>>2]=k[(k[c>>2]|0)+376>>2];k[c+12>>2]=1;a=k[c+12>>2]|0;r=c;return a|0}else if((b|0)==5){k[(k[c+8>>2]|0)+32>>2]=1;k[k[c+4>>2]>>2]=2;k[(k[c+4>>2]|0)+4>>2]=k[c>>2];k[(k[c+4>>2]|0)+12>>2]=k[(k[c>>2]|0)+376>>2];Oq(k[c>>2]|0);k[c+12>>2]=1;a=k[c+12>>2]|0;r=c;return a|0}else if((b|0)==8){k[k[c+4>>2]>>2]=3;k[(k[c+4>>2]|0)+4>>2]=k[c>>2];if((k[(k[c>>2]|0)+232>>2]|0)!=((k[c>>2]|0)+232|0)){k[(k[c>>2]|0)+240>>2]=1;xq((k[c+8>>2]|0)+52|0,k[c>>2]|0)|0}k[c+12>>2]=1;a=k[c+12>>2]|0;r=c;return a|0}else if((b|0)==11){k[c+12>>2]=0;a=k[c+12>>2]|0;r=c;return a|0}return 0}function kr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+32|0;k[e+12>>2]=a;k[e+8>>2]=b;k[e+4>>2]=c;a:do if(k[e+8>>2]|0){k[k[e+8>>2]>>2]=0;k[(k[e+8>>2]|0)+4>>2]=0;k[(k[e+8>>2]|0)+16>>2]=0;switch(jr(k[e+12>>2]|0,k[e+8>>2]|0)|0){case 1:{k[e+16>>2]=1;break a}case -1:{k[e+16>>2]=-1;break a}default:{d=5;break a}}}else d=5;while(0);b:do if((d|0)==5){d=Er()|0;k[(k[e+12>>2]|0)+48>>2]=d;k[e+4>>2]=(k[e+4>>2]|0)+(k[(k[e+12>>2]|0)+48>>2]|0);c:while(1){b=k[e+12>>2]|0;if(((k[(k[e+12>>2]|0)+48>>2]|0)-(k[(k[e+12>>2]|0)+20>>2]|0)|0)>>>0>=864e5)b=(k[b+20>>2]|0)-(k[(k[e+12>>2]|0)+48>>2]|0)|0;else b=(k[b+48>>2]|0)-(k[(k[e+12>>2]|0)+20>>2]|0)|0;if(b>>>0>=1e3)vq(k[e+12>>2]|0);switch($q(k[e+12>>2]|0,k[e+8>>2]|0,1)|0){case 1:{d=12;break c}case -1:{d=13;break c}default:{}}switch(lr(k[e+12>>2]|0,k[e+8>>2]|0)|0){case 1:{d=15;break c}case -1:{d=16;break c}default:{}}switch($q(k[e+12>>2]|0,k[e+8>>2]|0,1)|0){case 1:{d=18;break c}case -1:{d=19;break c}default:{}}if(k[e+8>>2]|0)switch(jr(k[e+12>>2]|0,k[e+8>>2]|0)|0){case 1:{d=22;break c}case -1:{d=23;break c}default:{}}do{d=Er()|0;k[(k[e+12>>2]|0)+48>>2]=d;if(((k[(k[e+12>>2]|0)+48>>2]|0)-(k[e+4>>2]|0)|0)>>>0<864e5){d=25;break c}k[e>>2]=6;if(((k[e+4>>2]|0)-(k[(k[e+12>>2]|0)+48>>2]|0)|0)>>>0>=864e5)b=(k[(k[e+12>>2]|0)+48>>2]|0)-(k[e+4>>2]|0)|0;else b=(k[e+4>>2]|0)-(k[(k[e+12>>2]|0)+48>>2]|0)|0;if(Or(k[k[e+12>>2]>>2]|0,e,b)|0){d=30;break c}}while((k[e>>2]&4|0)!=0);d=Er()|0;k[(k[e+12>>2]|0)+48>>2]=d;if(!(k[e>>2]&2)){d=33;break}}switch(d|0){case 12:{k[e+16>>2]=1;break b}case 13:{k[e+16>>2]=-1;break b}case 15:{k[e+16>>2]=1;break b}case 16:{k[e+16>>2]=-1;break b}case 18:{k[e+16>>2]=1;break b}case 19:{k[e+16>>2]=-1;break b}case 22:{k[e+16>>2]=1;break b}case 23:{k[e+16>>2]=-1;break b}case 25:{k[e+16>>2]=0;break b}case 30:{k[e+16>>2]=-1;break b}case 33:{k[e+16>>2]=0;break b}}}while(0);r=e;return k[e+16>>2]|0}function lr(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+32|0;k[c+16>>2]=a;k[c+12>>2]=b;a:while(1){k[c>>2]=(k[c+16>>2]|0)+2156;k[c+4>>2]=4096;a=Nr(k[k[c+16>>2]>>2]|0,(k[c+16>>2]|0)+10348|0,c,1)|0;k[c+8>>2]=a;if((k[c+8>>2]|0)<0){b=3;break}if(!(k[c+8>>2]|0)){b=5;break}k[(k[c+16>>2]|0)+10356>>2]=(k[c+16>>2]|0)+2156;k[(k[c+16>>2]|0)+10360>>2]=k[c+8>>2];a=(k[c+16>>2]|0)+10372|0;k[a>>2]=(k[a>>2]|0)+(k[c+8>>2]|0);a=(k[c+16>>2]|0)+10376|0;k[a>>2]=(k[a>>2]|0)+1;b:do if(k[(k[c+16>>2]|0)+10380>>2]|0){switch(gj[k[(k[c+16>>2]|0)+10380>>2]&511](k[c+16>>2]|0,k[c+12>>2]|0)|0){case -1:{b=11;break a}case 1:break;default:break b}if(!(k[c+12>>2]|0))continue a;if(k[k[c+12>>2]>>2]|0){b=10;break a}else continue a}while(0);switch(mr(k[c+16>>2]|0,k[c+12>>2]|0)|0){case 1:{b=13;break a}case -1:{b=14;break a}default:{}}}if((b|0)==3){k[c+20>>2]=-1;a=k[c+20>>2]|0;r=c;return a|0}else if((b|0)==5){k[c+20>>2]=0;a=k[c+20>>2]|0;r=c;return a|0}else if((b|0)==10){k[c+20>>2]=1;a=k[c+20>>2]|0;r=c;return a|0}else if((b|0)==11){k[c+20>>2]=-1;a=k[c+20>>2]|0;r=c;return a|0}else if((b|0)==13){k[c+20>>2]=1;a=k[c+20>>2]|0;r=c;return a|0}else if((b|0)==14){k[c+20>>2]=-1;a=k[c+20>>2]|0;r=c;return a|0}return 0}function mr(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+80|0;k[d+52>>2]=a;k[d+48>>2]=b;if((k[(k[d+52>>2]|0)+10360>>2]|0)>>>0<(2|0)>>>0){k[d+56>>2]=0;c=k[d+56>>2]|0;r=d;return c|0}k[d+44>>2]=k[(k[d+52>>2]|0)+10356>>2];a=k[d+44>>2]|0;a=jpb(l[a>>0]|l[a+1>>0]<<8)|0;j[d+64>>1]=a;i[d+67>>0]=((m[d+64>>1]|0)&12288)>>12;j[d+62>>1]=(m[d+64>>1]|0)&49152;j[d+64>>1]=(m[d+64>>1]|0)&-61441;k[d+28>>2]=(m[d+62>>1]|0)&32768|0?4:2|0;if(k[(k[d+52>>2]|0)+2136>>2]|0)k[d+28>>2]=(k[d+28>>2]|0)+4;a:do if((m[d+64>>1]|0|0)==4095)k[d+36>>2]=0;else{if((m[d+64>>1]|0)>>>0>=(k[(k[d+52>>2]|0)+40>>2]|0)>>>0){k[d+56>>2]=0;c=k[d+56>>2]|0;r=d;return c|0}k[d+36>>2]=(k[(k[d+52>>2]|0)+36>>2]|0)+((m[d+64>>1]|0)*380|0);do if(k[(k[d+36>>2]|0)+36>>2]|0)if((k[(k[d+36>>2]|0)+36>>2]|0)!=9){if((k[(k[d+52>>2]|0)+10348>>2]|0)!=(k[(k[d+36>>2]|0)+24>>2]|0))c=13;else if((m[(k[d+52>>2]|0)+10348+4>>1]|0|0)!=(m[(k[d+36>>2]|0)+24+4>>1]|0|0))c=13;if((c|0)==13)if((k[(k[d+36>>2]|0)+24>>2]|0)!=-1)break;if((m[(k[d+36>>2]|0)+12>>1]|0|0)>=4095)break a;if((l[d+67>>0]|0|0)==(l[(k[d+36>>2]|0)+21>>0]|0|0))break a}while(0);k[d+56>>2]=0;c=k[d+56>>2]|0;r=d;return c|0}while(0);do if((m[d+62>>1]|0)&16384|0){if(k[(k[d+52>>2]|0)+2140>>2]|0)if(k[(k[d+52>>2]|0)+2140+8>>2]|0){c=Ni[k[(k[d+52>>2]|0)+2140+8>>2]&127](k[(k[d+52>>2]|0)+2140>>2]|0,(k[(k[d+52>>2]|0)+10356>>2]|0)+(k[d+28>>2]|0)|0,(k[(k[d+52>>2]|0)+10360>>2]|0)-(k[d+28>>2]|0)|0,(k[d+52>>2]|0)+2156+4096+(k[d+28>>2]|0)|0,4096-(k[d+28>>2]|0)|0)|0;k[d+24>>2]=c;if((k[d+24>>2]|0)>>>0>0)if((k[d+24>>2]|0)>>>0<=(4096-(k[d+28>>2]|0)|0)>>>0){ABb((k[d+52>>2]|0)+2156+4096|0,k[d+44>>2]|0,k[d+28>>2]|0)|0;k[(k[d+52>>2]|0)+10356>>2]=(k[d+52>>2]|0)+2156+4096;k[(k[d+52>>2]|0)+10360>>2]=(k[d+28>>2]|0)+(k[d+24>>2]|0);break}k[d+56>>2]=0;c=k[d+56>>2]|0;r=d;return c|0}k[d+56>>2]=0;c=k[d+56>>2]|0;r=d;return c|0}while(0);if(k[(k[d+52>>2]|0)+2136>>2]|0){k[d+20>>2]=(k[(k[d+52>>2]|0)+10356>>2]|0)+((k[d+28>>2]|0)-4);k[d+16>>2]=k[k[d+20>>2]>>2];if(k[d+36>>2]|0)b=k[(k[d+36>>2]|0)+16>>2]|0;else b=0;k[k[d+20>>2]>>2]=b;k[d+8>>2]=k[(k[d+52>>2]|0)+10356>>2];k[d+8+4>>2]=k[(k[d+52>>2]|0)+10360>>2];c=gj[k[(k[d+52>>2]|0)+2136>>2]&511](d+8|0,1)|0;if((c|0)!=(k[d+16>>2]|0)){k[d+56>>2]=0;c=k[d+56>>2]|0;r=d;return c|0}}if(k[d+36>>2]|0){k[(k[d+36>>2]|0)+24>>2]=k[(k[d+52>>2]|0)+10348>>2];j[(k[d+36>>2]|0)+24+4>>1]=j[(k[d+52>>2]|0)+10348+4>>1]|0;c=(k[d+36>>2]|0)+64|0;k[c>>2]=(k[c>>2]|0)+(k[(k[d+52>>2]|0)+10360>>2]|0)}k[d+32>>2]=(k[(k[d+52>>2]|0)+10356>>2]|0)+(k[d+28>>2]|0);b:while(1){if((k[d+32>>2]|0)>>>0>=((k[(k[d+52>>2]|0)+10356>>2]|0)+(k[(k[d+52>>2]|0)+10360>>2]|0)|0)>>>0)break;k[d+40>>2]=k[d+32>>2];if(((k[d+32>>2]|0)+4|0)>>>0>((k[(k[d+52>>2]|0)+10356>>2]|0)+(k[(k[d+52>>2]|0)+10360>>2]|0)|0)>>>0)break;i[d+66>>0]=(l[k[d+40>>2]>>0]|0)&15;if((l[d+66>>0]|0|0)>=13)break;k[d>>2]=k[11924+((l[d+66>>0]|0)<<2)>>2];if(!(k[d>>2]|0))break;if(((k[d+32>>2]|0)+(k[d>>2]|0)|0)>>>0>((k[(k[d+52>>2]|0)+10356>>2]|0)+(k[(k[d+52>>2]|0)+10360>>2]|0)|0)>>>0)break;k[d+32>>2]=(k[d+32>>2]|0)+(k[d>>2]|0);if(!(k[d+36>>2]|0))if((l[d+66>>0]|0|0)!=2)break;a=(k[d+40>>2]|0)+2|0;a=jpb(l[a>>0]|l[a+1>>0]<<8)|0;c=(k[d+40>>2]|0)+2|0;i[c>>0]=a;i[c+1>>0]=a>>8;do switch(l[d+66>>0]|0|0){case 1:{if(nr(k[d+52>>2]|0,k[d+48>>2]|0,k[d+36>>2]|0,k[d+40>>2]|0)|0)break b;break}case 2:{if(k[d+36>>2]|0)break b;c=qr(k[d+52>>2]|0,k[d+44>>2]|0,k[d+40>>2]|0)|0;k[d+36>>2]=c;if(!(k[d+36>>2]|0))break b;break}case 3:{if(rr(k[d+52>>2]|0,k[d+48>>2]|0,k[d+36>>2]|0,k[d+40>>2]|0)|0)break b;break}case 4:{if(sr(k[d+52>>2]|0,k[d+36>>2]|0,k[d+40>>2]|0)|0)break b;break}case 5:{if(tr(k[d+52>>2]|0,k[d+36>>2]|0,k[d+40>>2]|0)|0)break b;break}case 6:{if(ur(k[d+52>>2]|0,k[d+36>>2]|0,k[d+40>>2]|0,d+32|0)|0)break b;break}case 7:{if(vr(k[d+52>>2]|0,k[d+36>>2]|0,k[d+40>>2]|0,d+32|0)|0)break b;break}case 9:{if(wr(k[d+52>>2]|0,k[d+36>>2]|0,k[d+40>>2]|0,d+32|0)|0)break b;break}case 8:{if(xr(k[d+52>>2]|0,k[d+36>>2]|0,k[d+40>>2]|0,d+32|0)|0)break b;break}case 10:{if(yr(k[d+52>>2]|0,k[d+36>>2]|0,k[d+40>>2]|0)|0)break b;break}case 11:{if(zr(k[d+52>>2]|0,k[d+36>>2]|0,k[d+40>>2]|0)|0)break b;break}case 12:{if(Ar(k[d+52>>2]|0,k[d+36>>2]|0,k[d+40>>2]|0,d+32|0)|0)break b;break}default:break b}while(0);if(!(k[d+36>>2]|0))continue;if(!((l[k[d+40>>2]>>0]|0)&128))continue;if(!((m[d+62>>1]|0)&32768))break;c=(k[d+44>>2]|0)+2|0;c=jpb(l[c>>0]|l[c+1>>0]<<8)|0;j[d+60>>1]=c;switch(k[(k[d+36>>2]|0)+36>>2]|0){case 9:case 0:case 2:case 7:continue b;case 8:break;default:{Vq(k[d+36>>2]|0,k[d+40>>2]|0,j[d+60>>1]|0)|0;continue b}}if(((l[k[d+40>>2]>>0]|0)&15|0)!=4)continue;Vq(k[d+36>>2]|0,k[d+40>>2]|0,j[d+60>>1]|0)|0}if(k[d+48>>2]|0)if(k[k[d+48>>2]>>2]|0){k[d+56>>2]=1;c=k[d+56>>2]|0;r=d;return c|0}k[d+56>>2]=0;c=k[d+56>>2]|0;r=d;return c|0}function nr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=r;r=r+48|0;k[f+28>>2]=a;k[f+24>>2]=b;k[f+20>>2]=c;k[f+16>>2]=d;if(k[(k[f+20>>2]|0)+36>>2]|0)if((k[(k[f+20>>2]|0)+36>>2]|0)!=9){c=(k[f+16>>2]|0)+6|0;c=(jpb(l[c>>0]|l[c+1>>0]<<8)|0)&65535;k[f+8>>2]=c;k[f+8>>2]=k[f+8>>2]|k[(k[f+28>>2]|0)+48>>2]&-65536;if((k[f+8>>2]&32768)>>>0>(k[(k[f+28>>2]|0)+48>>2]&32768)>>>0)k[f+8>>2]=(k[f+8>>2]|0)-65536;if(((k[(k[f+28>>2]|0)+48>>2]|0)-(k[f+8>>2]|0)|0)>>>0>=864e5){k[f+32>>2]=0;e=k[f+32>>2]|0;r=f;return e|0}k[(k[f+20>>2]|0)+76>>2]=k[(k[f+28>>2]|0)+48>>2];k[(k[f+20>>2]|0)+84>>2]=0;if(((k[(k[f+28>>2]|0)+48>>2]|0)-(k[f+8>>2]|0)|0)>>>0>=864e5)d=(k[f+8>>2]|0)-(k[(k[f+28>>2]|0)+48>>2]|0)|0;else d=(k[(k[f+28>>2]|0)+48>>2]|0)-(k[f+8>>2]|0)|0;k[f+12>>2]=d;Fq(k[f+20>>2]|0,k[f+12>>2]|0)|0;c=(k[f+20>>2]|0)+172|0;k[c>>2]=(k[c>>2]|0)-(((k[(k[f+20>>2]|0)+172>>2]|0)>>>0)/4|0);if((k[f+12>>2]|0)>>>0>=(k[(k[f+20>>2]|0)+168>>2]|0)>>>0){c=(k[f+20>>2]|0)+168|0;k[c>>2]=(k[c>>2]|0)+((((k[f+12>>2]|0)-(k[(k[f+20>>2]|0)+168>>2]|0)|0)>>>0)/8|0);c=(k[f+20>>2]|0)+172|0;k[c>>2]=(k[c>>2]|0)+((((k[f+12>>2]|0)-(k[(k[f+20>>2]|0)+168>>2]|0)|0)>>>0)/4|0)}else{c=(k[f+20>>2]|0)+168|0;k[c>>2]=(k[c>>2]|0)-((((k[(k[f+20>>2]|0)+168>>2]|0)-(k[f+12>>2]|0)|0)>>>0)/8|0);c=(k[f+20>>2]|0)+172|0;k[c>>2]=(k[c>>2]|0)+((((k[(k[f+20>>2]|0)+168>>2]|0)-(k[f+12>>2]|0)|0)>>>0)/4|0)}if((k[(k[f+20>>2]|0)+168>>2]|0)>>>0<(k[(k[f+20>>2]|0)+156>>2]|0)>>>0)k[(k[f+20>>2]|0)+156>>2]=k[(k[f+20>>2]|0)+168>>2];if((k[(k[f+20>>2]|0)+172>>2]|0)>>>0>(k[(k[f+20>>2]|0)+164>>2]|0)>>>0)k[(k[f+20>>2]|0)+164>>2]=k[(k[f+20>>2]|0)+172>>2];if(!(k[(k[f+20>>2]|0)+120>>2]|0))e=23;else{if(((k[(k[f+28>>2]|0)+48>>2]|0)-(k[(k[f+20>>2]|0)+120>>2]|0)|0)>>>0>=864e5)d=(k[(k[f+20>>2]|0)+120>>2]|0)-(k[(k[f+28>>2]|0)+48>>2]|0)|0;else d=(k[(k[f+28>>2]|0)+48>>2]|0)-(k[(k[f+20>>2]|0)+120>>2]|0)|0;if(d>>>0>=(k[(k[f+20>>2]|0)+132>>2]|0)>>>0)e=23}if((e|0)==23){k[(k[f+20>>2]|0)+152>>2]=k[(k[f+20>>2]|0)+156>>2];k[(k[f+20>>2]|0)+160>>2]=k[(k[f+20>>2]|0)+164>>2];k[(k[f+20>>2]|0)+156>>2]=k[(k[f+20>>2]|0)+168>>2];k[(k[f+20>>2]|0)+164>>2]=k[(k[f+20>>2]|0)+172>>2];k[(k[f+20>>2]|0)+120>>2]=k[(k[f+28>>2]|0)+48>>2]}e=(k[f+16>>2]|0)+4|0;e=(jpb(l[e>>0]|l[e+1>>0]<<8)|0)&65535;k[f+4>>2]=e;e=or(k[f+20>>2]|0,k[f+4>>2]&65535,i[(k[f+16>>2]|0)+1>>0]|0)|0;k[f>>2]=e;a:do switch(k[(k[f+20>>2]|0)+36>>2]|0){case 2:{if((k[f>>2]|0)==3){pr(k[f+28>>2]|0,k[f+20>>2]|0,k[f+24>>2]|0);break a}k[f+32>>2]=-1;e=k[f+32>>2]|0;r=f;return e|0}case 7:{if((k[f>>2]|0)==4){er(k[f+28>>2]|0,k[f+20>>2]|0,k[f+24>>2]|0);break a}k[f+32>>2]=-1;e=k[f+32>>2]|0;r=f;return e|0}case 6:{if((k[(k[f+20>>2]|0)+216>>2]|0)==((k[f+20>>2]|0)+216|0))if((k[(k[f+20>>2]|0)+224>>2]|0)==((k[f+20>>2]|0)+224|0))if((k[(k[f+20>>2]|0)+200>>2]|0)==((k[f+20>>2]|0)+200|0))Tq(k[f+20>>2]|0,k[(k[f+20>>2]|0)+376>>2]|0);break}default:{}}while(0);k[f+32>>2]=0;e=k[f+32>>2]|0;r=f;return e|0}k[f+32>>2]=0;e=k[f+32>>2]|0;r=f;return e|0}function or(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+48|0;k[e+20>>2]=a;j[e+30>>1]=b;i[e+32>>0]=c;k[e+16>>2]=0;k[e+4>>2]=1;k[e+12>>2]=k[(k[e+20>>2]|0)+200>>2];while(1){if((k[e+12>>2]|0)==((k[e+20>>2]|0)+200|0))break;k[e+16>>2]=k[e+12>>2];if((m[(k[e+16>>2]|0)+8>>1]|0)==(m[e+30>>1]|0))if((l[(k[e+16>>2]|0)+32+1>>0]|0)==(l[e+32>>0]|0))break;k[e+12>>2]=k[k[e+12>>2]>>2]}do if((k[e+12>>2]|0)==((k[e+20>>2]|0)+200|0)){k[e+12>>2]=k[(k[e+20>>2]|0)+216>>2];while(1){if((k[e+12>>2]|0)==((k[e+20>>2]|0)+216|0))break;k[e+16>>2]=k[e+12>>2];if((m[(k[e+16>>2]|0)+30>>1]|0)<1){d=10;break}if((m[(k[e+16>>2]|0)+8>>1]|0)==(m[e+30>>1]|0))if((l[(k[e+16>>2]|0)+32+1>>0]|0)==(l[e+32>>0]|0))break;k[e+12>>2]=k[k[e+12>>2]>>2]}if((d|0)==10){k[e+24>>2]=0;d=k[e+24>>2]|0;r=e;return d|0}if((k[e+12>>2]|0)!=((k[e+20>>2]|0)+216|0)){k[e+4>>2]=0;break}k[e+24>>2]=0;d=k[e+24>>2]|0;r=e;return d|0}while(0);if(!(k[e+16>>2]|0)){k[e+24>>2]=0;d=k[e+24>>2]|0;r=e;return d|0}if((l[e+32>>0]|0)>>>0<(k[(k[e+20>>2]|0)+44>>2]|0)>>>0){k[e>>2]=(k[(k[e+20>>2]|0)+40>>2]|0)+((l[e+32>>0]|0)*60|0);j[e+28>>1]=(m[e+30>>1]|0)/4096|0;if((m[(k[e>>2]|0)+6+(m[e+28>>1]<<1)>>1]|0)>0){d=(k[e>>2]|0)+6+(m[e+28>>1]<<1)|0;j[d>>1]=(j[d>>1]|0)+-1<<16>>16;if(!(j[(k[e>>2]|0)+6+(m[e+28>>1]<<1)>>1]|0)){d=(k[e>>2]|0)+4|0;j[d>>1]=m[d>>1]&~(1<>1])}}}k[e+8>>2]=l[(k[e+16>>2]|0)+32>>0]&15;yq(k[e+16>>2]|0)|0;if(k[(k[e+16>>2]|0)+80>>2]|0){if(k[e+4>>2]|0){d=(k[e+20>>2]|0)+184|0;k[d>>2]=(k[d>>2]|0)-(m[(k[e+16>>2]|0)+28>>1]|0)}d=k[(k[e+16>>2]|0)+80>>2]|0;k[d>>2]=(k[d>>2]|0)+-1;if(!(k[k[(k[e+16>>2]|0)+80>>2]>>2]|0)){d=(k[(k[e+16>>2]|0)+80>>2]|0)+4|0;k[d>>2]=k[d>>2]|256;Bq(k[(k[e+16>>2]|0)+80>>2]|0)}}hq(k[e+16>>2]|0);if((k[(k[e+20>>2]|0)+200>>2]|0)==((k[e+20>>2]|0)+200|0)){k[e+24>>2]=k[e+8>>2];d=k[e+24>>2]|0;r=e;return d|0}else{k[e+16>>2]=k[(k[e+20>>2]|0)+200>>2];k[(k[e+20>>2]|0)+80>>2]=(k[(k[e+16>>2]|0)+12>>2]|0)+(k[(k[e+16>>2]|0)+16>>2]|0);k[e+24>>2]=k[e+8>>2];d=k[e+24>>2]|0;r=e;return d|0}return 0}function pr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;k[d+8>>2]=a;k[d+4>>2]=b;k[d>>2]=c;k[(k[d+8>>2]|0)+32>>2]=1;c=k[d+8>>2]|0;a=k[d+4>>2]|0;if(k[d>>2]|0){cr(c,a,5);k[k[d>>2]>>2]=1;k[(k[d>>2]|0)+4>>2]=k[d+4>>2];k[(k[d>>2]|0)+12>>2]=k[(k[d+4>>2]|0)+376>>2];r=d;return}else{br(c,a,(k[(k[d+4>>2]|0)+36>>2]|0)==1?4:3);r=d;return}}function qr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+112|0;k[e+36>>2]=a;k[e+32>>2]=b;k[e+28>>2]=c;k[e+8>>2]=0;k[e>>2]=0;a=(k[e+28>>2]|0)+16|0;a=fpb(l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24)|0;k[e+12>>2]=a;if((k[e+12>>2]|0)>>>0<1?1:(k[e+12>>2]|0)>>>0>255){k[e+40>>2]=0;d=k[e+40>>2]|0;r=e;return d|0}k[e+4>>2]=k[(k[e+36>>2]|0)+36>>2];while(1){if((k[e+4>>2]|0)>>>0>=((k[(k[e+36>>2]|0)+36>>2]|0)+((k[(k[e+36>>2]|0)+40>>2]|0)*380|0)|0)>>>0)break;if(!(k[(k[e+4>>2]|0)+36>>2]|0)){if(!(k[e>>2]|0))k[e>>2]=k[e+4>>2]}else if((k[(k[e+4>>2]|0)+36>>2]|0)!=1)if((k[(k[e+4>>2]|0)+24>>2]|0)==(k[(k[e+36>>2]|0)+10348>>2]|0)){if((m[(k[e+4>>2]|0)+24+4>>1]|0|0)==(m[(k[e+36>>2]|0)+10348+4>>1]|0|0)){a=(k[e+28>>2]|0)+40|0;if((k[(k[e+4>>2]|0)+16>>2]|0)==(l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24|0)){d=12;break}}k[e+8>>2]=(k[e+8>>2]|0)+1}k[e+4>>2]=(k[e+4>>2]|0)+380}if((d|0)==12){k[e+40>>2]=0;d=k[e+40>>2]|0;r=e;return d|0}if(k[e>>2]|0)if((k[e+8>>2]|0)>>>0<(k[(k[e+36>>2]|0)+10392>>2]|0)>>>0){if((k[e+12>>2]|0)>>>0>(k[(k[e+36>>2]|0)+44>>2]|0)>>>0)k[e+12>>2]=k[(k[e+36>>2]|0)+44>>2];a=gq((k[e+12>>2]|0)*60|0)|0;k[(k[e>>2]|0)+40>>2]=a;if(!(k[(k[e>>2]|0)+40>>2]|0)){k[e+40>>2]=0;d=k[e+40>>2]|0;r=e;return d|0}k[(k[e>>2]|0)+44>>2]=k[e+12>>2];k[(k[e>>2]|0)+36>>2]=2;a=(k[e+28>>2]|0)+40|0;k[(k[e>>2]|0)+16>>2]=l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24;a=(k[e>>2]|0)+24|0;b=(k[e+36>>2]|0)+10348|0;k[a>>2]=k[b>>2];k[a+4>>2]=k[b+4>>2];a=(k[e+28>>2]|0)+4|0;a=jpb(l[a>>0]|l[a+1>>0]<<8)|0;j[(k[e>>2]|0)+12>>1]=a;a=(k[e+28>>2]|0)+20|0;a=fpb(l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24)|0;k[(k[e>>2]|0)+48>>2]=a;a=(k[e+28>>2]|0)+24|0;a=fpb(l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24)|0;k[(k[e>>2]|0)+52>>2]=a;a=(k[e+28>>2]|0)+28|0;a=fpb(l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24)|0;k[(k[e>>2]|0)+132>>2]=a;a=(k[e+28>>2]|0)+32|0;a=fpb(l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24)|0;k[(k[e>>2]|0)+124>>2]=a;a=(k[e+28>>2]|0)+36|0;a=fpb(l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24)|0;k[(k[e>>2]|0)+128>>2]=a;a=(k[e+28>>2]|0)+44|0;a=fpb(l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24)|0;k[(k[e>>2]|0)+376>>2]=a;if((l[(k[e+28>>2]|0)+6>>0]|0|0)==255)c=i[(k[e>>2]|0)+20>>0]|0;else c=i[(k[e+28>>2]|0)+6>>0]|0;i[e+97>>0]=c;i[e+97>>0]=(l[e+97>>0]|0)+1&3;if((l[e+97>>0]|0|0)==(l[(k[e>>2]|0)+20>>0]|0|0))i[e+97>>0]=(l[e+97>>0]|0)+1&3;i[(k[e>>2]|0)+20>>0]=i[e+97>>0]|0;if((l[(k[e+28>>2]|0)+7>>0]|0|0)==255)c=i[(k[e>>2]|0)+21>>0]|0;else c=i[(k[e+28>>2]|0)+7>>0]|0;i[e+96>>0]=c;i[e+96>>0]=(l[e+96>>0]|0)+1&3;if((l[e+96>>0]|0|0)==(l[(k[e>>2]|0)+21>>0]|0|0))i[e+96>>0]=(l[e+96>>0]|0)+1&3;i[(k[e>>2]|0)+21>>0]=i[e+96>>0]|0;k[e+16>>2]=k[(k[e>>2]|0)+40>>2];while(1){if((k[e+16>>2]|0)>>>0>=((k[(k[e>>2]|0)+40>>2]|0)+((k[e+12>>2]|0)*60|0)|0)>>>0)break;j[k[e+16>>2]>>1]=0;j[(k[e+16>>2]|0)+2>>1]=0;j[(k[e+16>>2]|0)+38>>1]=0;j[(k[e+16>>2]|0)+40>>1]=0;wq((k[e+16>>2]|0)+44|0);wq((k[e+16>>2]|0)+52|0);j[(k[e+16>>2]|0)+4>>1]=0;c=(k[e+16>>2]|0)+6|0;b=c+32|0;do{j[c>>1]=0;c=c+2|0}while((c|0)<(b|0));k[e+16>>2]=(k[e+16>>2]|0)+60}a=(k[e+28>>2]|0)+8|0;a=fpb(l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24)|0;k[e+24>>2]=a;if((k[e+24>>2]|0)>>>0<576)k[e+24>>2]=576;else if((k[e+24>>2]|0)>>>0>4096)k[e+24>>2]=4096;k[(k[e>>2]|0)+176>>2]=k[e+24>>2];if(!(k[(k[e+36>>2]|0)+16>>2]|0))if(!(k[(k[e>>2]|0)+48>>2]|0))k[(k[e>>2]|0)+180>>2]=65536;else d=42;else d=42;do if((d|0)==42){if(k[(k[e+36>>2]|0)+16>>2]|0)if(k[(k[e>>2]|0)+48>>2]|0){if((k[(k[e+36>>2]|0)+16>>2]|0)>>>0<(k[(k[e>>2]|0)+48>>2]|0)>>>0)c=k[(k[e+36>>2]|0)+16>>2]|0;else c=k[(k[e>>2]|0)+48>>2]|0;k[(k[e>>2]|0)+180>>2]=((c>>>0)/65536|0)<<12;break}if((k[(k[e+36>>2]|0)+16>>2]|0)>>>0>(k[(k[e>>2]|0)+48>>2]|0)>>>0)c=k[(k[e+36>>2]|0)+16>>2]|0;else c=k[(k[e>>2]|0)+48>>2]|0;k[(k[e>>2]|0)+180>>2]=((c>>>0)/65536|0)<<12}while(0);c=(k[e>>2]|0)+180|0;if((k[(k[e>>2]|0)+180>>2]|0)>>>0<4096)k[c>>2]=4096;else if((k[c>>2]|0)>>>0>65536)k[(k[e>>2]|0)+180>>2]=65536;if(!(k[(k[e+36>>2]|0)+12>>2]|0))k[e+20>>2]=65536;else k[e+20>>2]=(((k[(k[e+36>>2]|0)+12>>2]|0)>>>0)/65536|0)<<12;a=k[e+20>>2]|0;d=(k[e+28>>2]|0)+12|0;if(a>>>0>(fpb(l[d>>0]|l[d+1>>0]<<8|l[d+2>>0]<<16|l[d+3>>0]<<24)|0)>>>0){d=(k[e+28>>2]|0)+12|0;d=fpb(l[d>>0]|l[d+1>>0]<<8|l[d+2>>0]<<16|l[d+3>>0]<<24)|0;k[e+20>>2]=d}if((k[e+20>>2]|0)>>>0<4096)k[e+20>>2]=4096;else if((k[e+20>>2]|0)>>>0>65536)k[e+20>>2]=65536;i[e+48>>0]=-125;i[e+48+1>>0]=-1;d=Vob(j[(k[e>>2]|0)+14>>1]|0)|0;i[e+48+4>>0]=d;i[e+48+4+1>>0]=d>>8;i[e+48+6>>0]=i[e+97>>0]|0;i[e+48+7>>0]=i[e+96>>0]|0;d=Wob(k[(k[e>>2]|0)+176>>2]|0)|0;i[e+48+8>>0]=d;i[e+48+8+1>>0]=d>>8;i[e+48+8+2>>0]=d>>16;i[e+48+8+3>>0]=d>>24;d=Wob(k[e+20>>2]|0)|0;i[e+48+12>>0]=d;i[e+48+12+1>>0]=d>>8;i[e+48+12+2>>0]=d>>16;i[e+48+12+3>>0]=d>>24;d=Wob(k[e+12>>2]|0)|0;i[e+48+16>>0]=d;i[e+48+16+1>>0]=d>>8;i[e+48+16+2>>0]=d>>16;i[e+48+16+3>>0]=d>>24;d=Wob(k[(k[e+36>>2]|0)+12>>2]|0)|0;i[e+48+20>>0]=d;i[e+48+20+1>>0]=d>>8;i[e+48+20+2>>0]=d>>16;i[e+48+20+3>>0]=d>>24;d=Wob(k[(k[e+36>>2]|0)+16>>2]|0)|0;i[e+48+24>>0]=d;i[e+48+24+1>>0]=d>>8;i[e+48+24+2>>0]=d>>16;i[e+48+24+3>>0]=d>>24;d=Wob(k[(k[e>>2]|0)+132>>2]|0)|0;i[e+48+28>>0]=d;i[e+48+28+1>>0]=d>>8;i[e+48+28+2>>0]=d>>16;i[e+48+28+3>>0]=d>>24;d=Wob(k[(k[e>>2]|0)+124>>2]|0)|0;i[e+48+32>>0]=d;i[e+48+32+1>>0]=d>>8;i[e+48+32+2>>0]=d>>16;i[e+48+32+3>>0]=d>>24;d=Wob(k[(k[e>>2]|0)+128>>2]|0)|0;i[e+48+36>>0]=d;i[e+48+36+1>>0]=d>>8;i[e+48+36+2>>0]=d>>16;i[e+48+36+3>>0]=d>>24;d=k[(k[e>>2]|0)+16>>2]|0;i[e+48+40>>0]=d;i[e+48+40+1>>0]=d>>8;i[e+48+40+2>>0]=d>>16;i[e+48+40+3>>0]=d>>24;Dq(k[e>>2]|0,e+48|0,0,0,0)|0;k[e+40>>2]=k[e>>2];d=k[e+40>>2]|0;r=e;return d|0}k[e+40>>2]=0;d=k[e+40>>2]|0;r=e;return d|0}function rr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+32|0;k[e+24>>2]=a;k[e+20>>2]=b;k[e+16>>2]=c;k[e+12>>2]=d;if((k[(k[e+16>>2]|0)+36>>2]|0)!=1){k[e+28>>2]=0;c=k[e+28>>2]|0;r=e;return c|0}c=(k[e+12>>2]|0)+16|0;c=fpb(l[c>>0]|l[c+1>>0]<<8|l[c+2>>0]<<16|l[c+3>>0]<<24)|0;k[e>>2]=c;if(!((k[e>>2]|0)>>>0<1|(k[e>>2]|0)>>>0>255)){c=(k[e+12>>2]|0)+28|0;c=fpb(l[c>>0]|l[c+1>>0]<<8|l[c+2>>0]<<16|l[c+3>>0]<<24)|0;if((c|0)==(k[(k[e+16>>2]|0)+132>>2]|0)){c=(k[e+12>>2]|0)+32|0;c=fpb(l[c>>0]|l[c+1>>0]<<8|l[c+2>>0]<<16|l[c+3>>0]<<24)|0;if((c|0)==(k[(k[e+16>>2]|0)+124>>2]|0)){c=(k[e+12>>2]|0)+36|0;c=fpb(l[c>>0]|l[c+1>>0]<<8|l[c+2>>0]<<16|l[c+3>>0]<<24)|0;if((c|0)==(k[(k[e+16>>2]|0)+128>>2]|0)){c=(k[e+12>>2]|0)+40|0;if((l[c>>0]|l[c+1>>0]<<8|l[c+2>>0]<<16|l[c+3>>0]<<24|0)==(k[(k[e+16>>2]|0)+16>>2]|0)){or(k[e+16>>2]|0,1,-1)|0;if((k[e>>2]|0)>>>0<(k[(k[e+16>>2]|0)+44>>2]|0)>>>0)k[(k[e+16>>2]|0)+44>>2]=k[e>>2];c=(k[e+12>>2]|0)+4|0;c=jpb(l[c>>0]|l[c+1>>0]<<8)|0;j[(k[e+16>>2]|0)+12>>1]=c;i[(k[e+16>>2]|0)+21>>0]=i[(k[e+12>>2]|0)+6>>0]|0;i[(k[e+16>>2]|0)+20>>0]=i[(k[e+12>>2]|0)+7>>0]|0;c=(k[e+12>>2]|0)+8|0;c=fpb(l[c>>0]|l[c+1>>0]<<8|l[c+2>>0]<<16|l[c+3>>0]<<24)|0;k[e+8>>2]=c;if((k[e+8>>2]|0)>>>0<576)k[e+8>>2]=576;else if((k[e+8>>2]|0)>>>0>4096)k[e+8>>2]=4096;if((k[e+8>>2]|0)>>>0<(k[(k[e+16>>2]|0)+176>>2]|0)>>>0)k[(k[e+16>>2]|0)+176>>2]=k[e+8>>2];c=(k[e+12>>2]|0)+12|0;c=fpb(l[c>>0]|l[c+1>>0]<<8|l[c+2>>0]<<16|l[c+3>>0]<<24)|0;k[e+4>>2]=c;c=(k[e+4>>2]|0)>>>0<4096?4096:c;k[e+4>>2]=c;k[e+4>>2]=(k[e+4>>2]|0)>>>0>65536?65536:c;if((k[e+4>>2]|0)>>>0<(k[(k[e+16>>2]|0)+180>>2]|0)>>>0)k[(k[e+16>>2]|0)+180>>2]=k[e+4>>2];c=(k[e+12>>2]|0)+20|0;c=fpb(l[c>>0]|l[c+1>>0]<<8|l[c+2>>0]<<16|l[c+3>>0]<<24)|0;k[(k[e+16>>2]|0)+48>>2]=c;c=(k[e+12>>2]|0)+24|0;c=fpb(l[c>>0]|l[c+1>>0]<<8|l[c+2>>0]<<16|l[c+3>>0]<<24)|0;k[(k[e+16>>2]|0)+52>>2]=c;pr(k[e+24>>2]|0,k[e+16>>2]|0,k[e+20>>2]|0);k[e+28>>2]=0;c=k[e+28>>2]|0;r=e;return c|0}}}}}k[(k[e+16>>2]|0)+376>>2]=0;br(k[e+24>>2]|0,k[e+16>>2]|0,9);k[e+28>>2]=-1;c=k[e+28>>2]|0;r=e;return c|0}function sr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;k[e+8>>2]=a;k[e+4>>2]=b;k[e>>2]=c;if(k[(k[e+4>>2]|0)+36>>2]|0)if((k[(k[e+4>>2]|0)+36>>2]|0)!=9)if((k[(k[e+4>>2]|0)+36>>2]|0)!=8){Iq(k[e+4>>2]|0);do if((k[(k[e+4>>2]|0)+36>>2]|0)==4)d=8;else if((k[(k[e+4>>2]|0)+36>>2]|0)==7)d=8;else if((k[(k[e+4>>2]|0)+36>>2]|0)==1)d=8;else{if((k[(k[e+4>>2]|0)+36>>2]|0)!=5)if((k[(k[e+4>>2]|0)+36>>2]|0)!=6){if((k[(k[e+4>>2]|0)+36>>2]|0)==3)k[(k[e+8>>2]|0)+32>>2]=1;Oq(k[e+4>>2]|0);break}c=k[e+8>>2]|0;a=k[e+4>>2]|0;if((l[k[e>>2]>>0]|0)&128|0){cr(c,a,8);break}else{br(c,a,9);break}}while(0);if((d|0)==8)br(k[e+8>>2]|0,k[e+4>>2]|0,9);if(k[(k[e+4>>2]|0)+36>>2]|0){d=(k[e>>2]|0)+4|0;d=fpb(l[d>>0]|l[d+1>>0]<<8|l[d+2>>0]<<16|l[d+3>>0]<<24)|0;k[(k[e+4>>2]|0)+376>>2]=d}k[e+12>>2]=0;d=k[e+12>>2]|0;r=e;return d|0}k[e+12>>2]=0;d=k[e+12>>2]|0;r=e;return d|0}function tr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;k[d+8>>2]=a;k[d+4>>2]=b;k[d>>2]=c;if((k[(k[d+4>>2]|0)+36>>2]|0)!=5)if((k[(k[d+4>>2]|0)+36>>2]|0)!=6){k[d+12>>2]=-1;b=k[d+12>>2]|0;r=d;return b|0}k[d+12>>2]=0;b=k[d+12>>2]|0;r=d;return b|0}function ur(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+32|0;k[e+20>>2]=a;k[e+16>>2]=b;k[e+12>>2]=c;k[e+8>>2]=d;do if((l[(k[e+12>>2]|0)+1>>0]|0)>>>0<(k[(k[e+16>>2]|0)+44>>2]|0)>>>0){if((k[(k[e+16>>2]|0)+36>>2]|0)!=5)if((k[(k[e+16>>2]|0)+36>>2]|0)!=6)break;b=(k[e+12>>2]|0)+4|0;b=(jpb(l[b>>0]|l[b+1>>0]<<8)|0)&65535;k[e>>2]=b;b=k[e+8>>2]|0;k[b>>2]=(k[b>>2]|0)+(k[e>>2]|0);if((k[e>>2]|0)>>>0<=1073741824)if((k[k[e+8>>2]>>2]|0)>>>0>=(k[(k[e+20>>2]|0)+10356>>2]|0)>>>0)if((k[k[e+8>>2]>>2]|0)>>>0<=((k[(k[e+20>>2]|0)+10356>>2]|0)+(k[(k[e+20>>2]|0)+10360>>2]|0)|0)>>>0){b=Aq((k[e+12>>2]|0)+6|0,k[e>>2]|0,1)|0;k[e+4>>2]=b;if(k[e+4>>2]|0)if(Yq(k[e+16>>2]|0,k[e+12>>2]|0,k[e+4>>2]|0,0)|0){k[e+24>>2]=0;b=k[e+24>>2]|0;r=e;return b|0}k[e+24>>2]=-1;b=k[e+24>>2]|0;r=e;return b|0}k[e+24>>2]=-1;b=k[e+24>>2]|0;r=e;return b|0}while(0);k[e+24>>2]=-1;b=k[e+24>>2]|0;r=e;return b|0}function vr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+32|0;k[e+20>>2]=a;k[e+16>>2]=b;k[e+12>>2]=c;k[e+8>>2]=d;do if((l[(k[e+12>>2]|0)+1>>0]|0)>>>0<(k[(k[e+16>>2]|0)+44>>2]|0)>>>0){if((k[(k[e+16>>2]|0)+36>>2]|0)!=5)if((k[(k[e+16>>2]|0)+36>>2]|0)!=6)break;b=(k[e+12>>2]|0)+6|0;b=(jpb(l[b>>0]|l[b+1>>0]<<8)|0)&65535;k[e>>2]=b;b=k[e+8>>2]|0;k[b>>2]=(k[b>>2]|0)+(k[e>>2]|0);if((k[e>>2]|0)>>>0<=1073741824)if((k[k[e+8>>2]>>2]|0)>>>0>=(k[(k[e+20>>2]|0)+10356>>2]|0)>>>0)if((k[k[e+8>>2]>>2]|0)>>>0<=((k[(k[e+20>>2]|0)+10356>>2]|0)+(k[(k[e+20>>2]|0)+10360>>2]|0)|0)>>>0){b=Aq((k[e+12>>2]|0)+8|0,k[e>>2]|0,0)|0;k[e+4>>2]=b;if(k[e+4>>2]|0)if(Yq(k[e+16>>2]|0,k[e+12>>2]|0,k[e+4>>2]|0,0)|0){k[e+24>>2]=0;b=k[e+24>>2]|0;r=e;return b|0}k[e+24>>2]=-1;b=k[e+24>>2]|0;r=e;return b|0}k[e+24>>2]=-1;b=k[e+24>>2]|0;r=e;return b|0}while(0);k[e+24>>2]=-1;b=k[e+24>>2]|0;r=e;return b|0}function wr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+48|0;k[e+28>>2]=a;k[e+24>>2]=b;k[e+20>>2]=c;k[e+16>>2]=d;do if((l[(k[e+20>>2]|0)+1>>0]|0)>>>0<(k[(k[e+24>>2]|0)+44>>2]|0)>>>0){if((k[(k[e+24>>2]|0)+36>>2]|0)!=5)if((k[(k[e+24>>2]|0)+36>>2]|0)!=6)break;b=(k[e+20>>2]|0)+6|0;b=(jpb(l[b>>0]|l[b+1>>0]<<8)|0)&65535;k[e>>2]=b;b=k[e+16>>2]|0;k[b>>2]=(k[b>>2]|0)+(k[e>>2]|0);if((k[e>>2]|0)>>>0<=1073741824)if((k[k[e+16>>2]>>2]|0)>>>0>=(k[(k[e+28>>2]|0)+10356>>2]|0)>>>0)if((k[k[e+16>>2]>>2]|0)>>>0<=((k[(k[e+28>>2]|0)+10356>>2]|0)+(k[(k[e+28>>2]|0)+10360>>2]|0)|0)>>>0){b=(k[e+20>>2]|0)+4|0;b=(jpb(l[b>>0]|l[b+1>>0]<<8)|0)&65535;k[e+8>>2]=b;k[e+4>>2]=((k[e+8>>2]|0)>>>0)%1024|0;if((k[e+8>>2]|0)>>>0<(m[(k[e+24>>2]|0)+244>>1]|0)>>>0)k[e+8>>2]=(k[e+8>>2]|0)+65536;if((k[e+8>>2]|0)>>>0>=((m[(k[e+24>>2]|0)+244>>1]|0)+32768|0)>>>0){k[e+32>>2]=0;b=k[e+32>>2]|0;r=e;return b|0}k[e+8>>2]=k[e+8>>2]&65535;if(((k[e+8>>2]|0)-(k[e+4>>2]|0)|0)!=(m[(k[e+24>>2]|0)+244>>1]|0|0)){j[(k[e+24>>2]|0)+244>>1]=(k[e+8>>2]|0)-(k[e+4>>2]|0);c=(k[e+24>>2]|0)+248|0;d=c+128|0;do{k[c>>2]=0;c=c+4|0}while((c|0)<(d|0))}else if(k[(k[e+24>>2]|0)+248+((((k[e+4>>2]|0)>>>0)/32|0)<<2)>>2]&1<<(((k[e+4>>2]|0)>>>0)%32|0)|0){k[e+32>>2]=0;b=k[e+32>>2]|0;r=e;return b|0}b=Aq((k[e+20>>2]|0)+8|0,k[e>>2]|0,2)|0;k[e+12>>2]=b;if(k[e+12>>2]|0)if(Yq(k[e+24>>2]|0,k[e+20>>2]|0,k[e+12>>2]|0,0)|0){b=(k[e+24>>2]|0)+248+((((k[e+4>>2]|0)>>>0)/32|0)<<2)|0;k[b>>2]=k[b>>2]|1<<(((k[e+4>>2]|0)>>>0)%32|0);k[e+32>>2]=0;b=k[e+32>>2]|0;r=e;return b|0}k[e+32>>2]=-1;b=k[e+32>>2]|0;r=e;return b|0}k[e+32>>2]=-1;b=k[e+32>>2]|0;r=e;return b|0}while(0);k[e+32>>2]=-1;b=k[e+32>>2]|0;r=e;return b|0}function xr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=r;r=r+128|0;k[f+56>>2]=a;k[f+52>>2]=b;k[f+48>>2]=c;k[f+44>>2]=d;k[f+8>>2]=0;do if((l[(k[f+48>>2]|0)+1>>0]|0)>>>0<(k[(k[f+52>>2]|0)+44>>2]|0)>>>0){if((k[(k[f+52>>2]|0)+36>>2]|0)!=5)if((k[(k[f+52>>2]|0)+36>>2]|0)!=6)break;b=(k[f+48>>2]|0)+6|0;b=(jpb(l[b>>0]|l[b+1>>0]<<8)|0)&65535;k[f+28>>2]=b;b=k[f+44>>2]|0;k[b>>2]=(k[b>>2]|0)+(k[f+28>>2]|0);if((k[f+28>>2]|0)>>>0<=1073741824)if((k[k[f+44>>2]>>2]|0)>>>0>=(k[(k[f+56>>2]|0)+10356>>2]|0)>>>0)if((k[k[f+44>>2]>>2]|0)>>>0<=((k[(k[f+56>>2]|0)+10356>>2]|0)+(k[(k[f+56>>2]|0)+10360>>2]|0)|0)>>>0){k[f+16>>2]=(k[(k[f+52>>2]|0)+40>>2]|0)+((l[(k[f+48>>2]|0)+1>>0]|0)*60|0);b=(k[f+48>>2]|0)+4|0;b=(jpb(l[b>>0]|l[b+1>>0]<<8)|0)&65535;k[f+24>>2]=b;j[f+66>>1]=((k[f+24>>2]|0)>>>0)/4096|0;j[f+64>>1]=(m[(k[f+16>>2]|0)+38>>1]|0|0)/4096|0;if((k[f+24>>2]|0)>>>0<(m[(k[f+16>>2]|0)+38>>1]|0)>>>0)j[f+66>>1]=(m[f+66>>1]|0)+16;if((m[f+66>>1]|0|0)>=(m[f+64>>1]|0|0))if((m[f+66>>1]|0|0)<((m[f+64>>1]|0)+8-1|0)){b=(k[f+48>>2]|0)+12|0;b=fpb(l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24)|0;k[f+40>>2]=b;b=(k[f+48>>2]|0)+8|0;b=fpb(l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24)|0;k[f+36>>2]=b;b=(k[f+48>>2]|0)+20|0;b=fpb(l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24)|0;k[f+32>>2]=b;b=(k[f+48>>2]|0)+16|0;b=fpb(l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24)|0;k[f+20>>2]=b;if((k[f+36>>2]|0)>>>0<=1048576)if(!((k[f+20>>2]|0)>>>0>1073741824?1:(k[f+40>>2]|0)>>>0>=(k[f+36>>2]|0)>>>0))if((k[f+32>>2]|0)>>>0<(k[f+20>>2]|0)>>>0)if((k[f+28>>2]|0)>>>0<=((k[f+20>>2]|0)-(k[f+32>>2]|0)|0)>>>0){k[f+12>>2]=k[(k[f+16>>2]|0)+44+4>>2];while(1){if((k[f+12>>2]|0)==((k[f+16>>2]|0)+44|0))break;k[f+4>>2]=k[f+12>>2];c=m[(k[f+4>>2]|0)+8>>1]|0;d=m[(k[f+16>>2]|0)+38>>1]|0;if((k[f+24>>2]|0)>>>0>=(m[(k[f+16>>2]|0)+38>>1]|0)>>>0){if((c|0)>=(d|0))e=24}else if((c|0)>=(d|0))break;else e=24;if((e|0)==24){e=0;if((m[(k[f+4>>2]|0)+8>>1]|0)>>>0<=(k[f+24>>2]|0)>>>0){e=25;break}}k[f+12>>2]=k[(k[f+12>>2]|0)+4>>2]}a:do if((e|0)==25)if((m[(k[f+4>>2]|0)+8>>1]|0)>>>0>=(k[f+24>>2]|0)>>>0){do if(((l[(k[f+4>>2]|0)+12>>0]|0)&15|0)==8){if((k[f+20>>2]|0)!=(k[(k[(k[f+4>>2]|0)+72>>2]|0)+12>>2]|0))break;if((k[f+36>>2]|0)!=(k[(k[f+4>>2]|0)+60>>2]|0))break;k[f+8>>2]=k[f+4>>2];break a}while(0);k[f+60>>2]=-1;e=k[f+60>>2]|0;r=f;return e|0}while(0);if(!(k[f+8>>2]|0)){c=f+72|0;d=k[f+48>>2]|0;a=c+48|0;do{i[c>>0]=i[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(a|0));e=Aq(0,k[f+20>>2]|0,1)|0;k[f>>2]=e;if(!(k[f>>2]|0)){k[f+60>>2]=-1;e=k[f+60>>2]|0;r=f;return e|0}e=k[f+24>>2]&65535;i[f+72+2>>0]=e;i[f+72+2+1>>0]=e>>8;e=Yq(k[f+52>>2]|0,f+72|0,k[f>>2]|0,k[f+36>>2]|0)|0;k[f+8>>2]=e;if(!(k[f+8>>2]|0)){k[f+60>>2]=-1;e=k[f+60>>2]|0;r=f;return e|0}}do if(!(k[(k[(k[f+8>>2]|0)+68>>2]|0)+((((k[f+40>>2]|0)>>>0)/32|0)<<2)>>2]&1<<(((k[f+40>>2]|0)>>>0)%32|0))){e=(k[f+8>>2]|0)+64|0;k[e>>2]=(k[e>>2]|0)+-1;e=(k[(k[f+8>>2]|0)+68>>2]|0)+((((k[f+40>>2]|0)>>>0)/32|0)<<2)|0;k[e>>2]=k[e>>2]|1<<(((k[f+40>>2]|0)>>>0)%32|0);if(((k[f+32>>2]|0)+(k[f+28>>2]|0)|0)>>>0>(k[(k[(k[f+8>>2]|0)+72>>2]|0)+12>>2]|0)>>>0)k[f+28>>2]=(k[(k[(k[f+8>>2]|0)+72>>2]|0)+12>>2]|0)-(k[f+32>>2]|0);ABb((k[(k[(k[f+8>>2]|0)+72>>2]|0)+8>>2]|0)+(k[f+32>>2]|0)|0,(k[f+48>>2]|0)+24|0,k[f+28>>2]|0)|0;if((k[(k[f+8>>2]|0)+64>>2]|0)>>>0>0)break;Xq(k[f+52>>2]|0,k[f+16>>2]|0)}while(0);k[f+60>>2]=0;e=k[f+60>>2]|0;r=f;return e|0}k[f+60>>2]=-1;e=k[f+60>>2]|0;r=f;return e|0}k[f+60>>2]=0;e=k[f+60>>2]|0;r=f;return e|0}k[f+60>>2]=-1;e=k[f+60>>2]|0;r=f;return e|0}while(0);k[f+60>>2]=-1;e=k[f+60>>2]|0;r=f;return e|0}function yr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;k[e+8>>2]=a;k[e+4>>2]=b;k[e>>2]=c;if((k[(k[e+4>>2]|0)+36>>2]|0)!=5)if((k[(k[e+4>>2]|0)+36>>2]|0)!=6){k[e+12>>2]=-1;d=k[e+12>>2]|0;r=e;return d|0}if(k[(k[e+4>>2]|0)+48>>2]|0){b=(k[e+8>>2]|0)+10388|0;k[b>>2]=(k[b>>2]|0)+-1}b=(k[e>>2]|0)+4|0;b=fpb(l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24)|0;k[(k[e+4>>2]|0)+48>>2]=b;b=(k[e>>2]|0)+8|0;b=fpb(l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24)|0;k[(k[e+4>>2]|0)+52>>2]=b;if(k[(k[e+4>>2]|0)+48>>2]|0){b=(k[e+8>>2]|0)+10388|0;k[b>>2]=(k[b>>2]|0)+1}if(!(k[(k[e+4>>2]|0)+48>>2]|0))if(!(k[(k[e+8>>2]|0)+16>>2]|0))k[(k[e+4>>2]|0)+180>>2]=65536;else d=11;else d=11;if((d|0)==11){if((k[(k[e+4>>2]|0)+48>>2]|0)>>>0<(k[(k[e+8>>2]|0)+16>>2]|0)>>>0)c=k[(k[e+4>>2]|0)+48>>2]|0;else c=k[(k[e+8>>2]|0)+16>>2]|0;k[(k[e+4>>2]|0)+180>>2]=((c>>>0)/65536|0)<<12}c=(k[e+4>>2]|0)+180|0;if((k[(k[e+4>>2]|0)+180>>2]|0)>>>0<4096)k[c>>2]=4096;else if((k[c>>2]|0)>>>0>65536)k[(k[e+4>>2]|0)+180>>2]=65536;k[e+12>>2]=0;d=k[e+12>>2]|0;r=e;return d|0}function zr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;k[d+8>>2]=a;k[d+4>>2]=b;k[d>>2]=c;if((k[(k[d+4>>2]|0)+36>>2]|0)!=5)if((k[(k[d+4>>2]|0)+36>>2]|0)!=6){k[d+12>>2]=-1;b=k[d+12>>2]|0;r=d;return b|0}b=(k[d>>2]|0)+4|0;b=fpb(l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24)|0;k[(k[d+4>>2]|0)+132>>2]=b;b=(k[d>>2]|0)+8|0;b=fpb(l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24)|0;k[(k[d+4>>2]|0)+124>>2]=b;b=(k[d>>2]|0)+12|0;b=fpb(l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24)|0;k[(k[d+4>>2]|0)+128>>2]=b;k[d+12>>2]=0;b=k[d+12>>2]|0;r=d;return b|0}function Ar(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=r;r=r+80|0;k[f+60>>2]=a;k[f+56>>2]=b;k[f+52>>2]=c;k[f+48>>2]=d;k[f+8>>2]=0;do if((l[(k[f+52>>2]|0)+1>>0]|0)>>>0<(k[(k[f+56>>2]|0)+44>>2]|0)>>>0){if((k[(k[f+56>>2]|0)+36>>2]|0)!=5)if((k[(k[f+56>>2]|0)+36>>2]|0)!=6)break;b=(k[f+52>>2]|0)+6|0;b=(jpb(l[b>>0]|l[b+1>>0]<<8)|0)&65535;k[f+32>>2]=b;b=k[f+48>>2]|0;k[b>>2]=(k[b>>2]|0)+(k[f+32>>2]|0);if((k[f+32>>2]|0)>>>0<=1073741824)if((k[k[f+48>>2]>>2]|0)>>>0>=(k[(k[f+60>>2]|0)+10356>>2]|0)>>>0)if((k[k[f+48>>2]>>2]|0)>>>0<=((k[(k[f+60>>2]|0)+10356>>2]|0)+(k[(k[f+60>>2]|0)+10360>>2]|0)|0)>>>0){k[f+16>>2]=(k[(k[f+56>>2]|0)+40>>2]|0)+((l[(k[f+52>>2]|0)+1>>0]|0)*60|0);b=(k[f+52>>2]|0)+2|0;k[f+28>>2]=(l[b>>0]|l[b+1>>0]<<8)&65535;b=(k[f+52>>2]|0)+4|0;b=(jpb(l[b>>0]|l[b+1>>0]<<8)|0)&65535;k[f+24>>2]=b;j[f+70>>1]=((k[f+28>>2]|0)>>>0)/4096|0;j[f+68>>1]=(m[(k[f+16>>2]|0)+38>>1]|0|0)/4096|0;if((k[f+28>>2]|0)>>>0<(m[(k[f+16>>2]|0)+38>>1]|0)>>>0)j[f+70>>1]=(m[f+70>>1]|0)+16;if((m[f+70>>1]|0|0)>=(m[f+68>>1]|0|0))if((m[f+70>>1]|0|0)<((m[f+68>>1]|0)+8-1|0)){if((k[f+28>>2]|0)==(m[(k[f+16>>2]|0)+38>>1]|0|0))if((k[f+24>>2]|0)>>>0<=(m[(k[f+16>>2]|0)+40>>1]|0)>>>0){k[f+64>>2]=0;e=k[f+64>>2]|0;r=f;return e|0}b=(k[f+52>>2]|0)+12|0;b=fpb(l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24)|0;k[f+44>>2]=b;b=(k[f+52>>2]|0)+8|0;b=fpb(l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24)|0;k[f+40>>2]=b;b=(k[f+52>>2]|0)+20|0;b=fpb(l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24)|0;k[f+36>>2]=b;b=(k[f+52>>2]|0)+16|0;b=fpb(l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24)|0;k[f+20>>2]=b;if((k[f+40>>2]|0)>>>0<=1048576)if(!((k[f+20>>2]|0)>>>0>1073741824?1:(k[f+44>>2]|0)>>>0>=(k[f+40>>2]|0)>>>0))if((k[f+36>>2]|0)>>>0<(k[f+20>>2]|0)>>>0)if((k[f+32>>2]|0)>>>0<=((k[f+20>>2]|0)-(k[f+36>>2]|0)|0)>>>0){k[f+12>>2]=k[(k[f+16>>2]|0)+52+4>>2];a:while(1){if((k[f+12>>2]|0)==((k[f+16>>2]|0)+52|0))break;k[f+4>>2]=k[f+12>>2];c=m[(k[f+4>>2]|0)+8>>1]|0;d=m[(k[f+16>>2]|0)+38>>1]|0;if((k[f+28>>2]|0)>>>0>=(m[(k[f+16>>2]|0)+38>>1]|0)>>>0){if((c|0)>=(d|0))e=27}else if((c|0)>=(d|0))break;else e=27;do if((e|0)==27){e=0;if((m[(k[f+4>>2]|0)+8>>1]|0)>>>0<(k[f+28>>2]|0)>>>0)break a;if((m[(k[f+4>>2]|0)+8>>1]|0)>>>0>(k[f+28>>2]|0)>>>0)break;if((m[(k[f+4>>2]|0)+10>>1]|0)>>>0<=(k[f+24>>2]|0)>>>0){e=30;break a}}while(0);k[f+12>>2]=k[(k[f+12>>2]|0)+4>>2]}b:do if((e|0)==30)if((m[(k[f+4>>2]|0)+10>>1]|0)>>>0>=(k[f+24>>2]|0)>>>0){do if(((l[(k[f+4>>2]|0)+12>>0]|0)&15|0)==12){if((k[f+20>>2]|0)!=(k[(k[(k[f+4>>2]|0)+72>>2]|0)+12>>2]|0))break;if((k[f+40>>2]|0)!=(k[(k[f+4>>2]|0)+60>>2]|0))break;k[f+8>>2]=k[f+4>>2];break b}while(0);k[f+64>>2]=-1;e=k[f+64>>2]|0;r=f;return e|0}while(0);do if(!(k[f+8>>2]|0)){e=Aq(0,k[f+20>>2]|0,8)|0;k[f>>2]=e;if(!(k[f>>2]|0)){k[f+64>>2]=-1;e=k[f+64>>2]|0;r=f;return e|0}e=Yq(k[f+56>>2]|0,k[f+52>>2]|0,k[f>>2]|0,k[f+40>>2]|0)|0;k[f+8>>2]=e;if(k[f+8>>2]|0)break;k[f+64>>2]=-1;e=k[f+64>>2]|0;r=f;return e|0}while(0);do if(!(k[(k[(k[f+8>>2]|0)+68>>2]|0)+((((k[f+44>>2]|0)>>>0)/32|0)<<2)>>2]&1<<(((k[f+44>>2]|0)>>>0)%32|0))){e=(k[f+8>>2]|0)+64|0;k[e>>2]=(k[e>>2]|0)+-1;e=(k[(k[f+8>>2]|0)+68>>2]|0)+((((k[f+44>>2]|0)>>>0)/32|0)<<2)|0;k[e>>2]=k[e>>2]|1<<(((k[f+44>>2]|0)>>>0)%32|0);if(((k[f+36>>2]|0)+(k[f+32>>2]|0)|0)>>>0>(k[(k[(k[f+8>>2]|0)+72>>2]|0)+12>>2]|0)>>>0)k[f+32>>2]=(k[(k[(k[f+8>>2]|0)+72>>2]|0)+12>>2]|0)-(k[f+36>>2]|0);ABb((k[(k[(k[f+8>>2]|0)+72>>2]|0)+8>>2]|0)+(k[f+36>>2]|0)|0,(k[f+52>>2]|0)+24|0,k[f+32>>2]|0)|0;if((k[(k[f+8>>2]|0)+64>>2]|0)>>>0>0)break;Wq(k[f+56>>2]|0,k[f+16>>2]|0)}while(0);k[f+64>>2]=0;e=k[f+64>>2]|0;r=f;return e|0}k[f+64>>2]=-1;e=k[f+64>>2]|0;r=f;return e|0}k[f+64>>2]=0;e=k[f+64>>2]|0;r=f;return e|0}k[f+64>>2]=-1;e=k[f+64>>2]|0;r=f;return e|0}while(0);k[f+64>>2]=-1;e=k[f+64>>2]|0;r=f;return e|0}function Br(){return 0}function Cr(){return}function Dr(){return th(0)|0}function Er(){var a=0;a=r;r=r+16|0;sf(a|0,0)|0;r=a;return ((k[a>>2]|0)*1e3|0)+((k[a+4>>2]|0)/1e3|0)-0|0}function Fr(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+8>>2]=a;k[c+4>>2]=b;k[c>>2]=0;b=Lf(k[c+4>>2]|0)|0;k[c>>2]=b;if(k[c>>2]|0)if((k[(k[c>>2]|0)+8>>2]|0)==2){k[k[c+8>>2]>>2]=k[k[k[(k[c>>2]|0)+16>>2]>>2]>>2];k[c+12>>2]=0;b=k[c+12>>2]|0;r=c;return b|0}if(gpb(k[c+4>>2]|0,k[c+8>>2]|0)|0){k[c+12>>2]=0;b=k[c+12>>2]|0;r=c;return b|0}else{k[c+12>>2]=-1;b=k[c+12>>2]|0;r=c;return b|0}return 0}function Gr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+32|0;k[d+12>>2]=a;k[d+8>>2]=b;k[d+4>>2]=c;k[d+20>>2]=k[k[d+12>>2]>>2];c=hpb(d+20|0)|0;k[d>>2]=c;if(k[d>>2]|0){dpb(k[d+8>>2]|0,k[d>>2]|0,k[d+4>>2]|0)|0;k[d+16>>2]=0;c=k[d+16>>2]|0;r=d;return c|0}else{k[d+16>>2]=-1;c=k[d+16>>2]|0;r=d;return c|0}return 0}function Hr(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+32|0;k[c+20>>2]=a;k[c+16>>2]=b;k[c>>2]=0;k[c+4>>2]=0;k[c+8>>2]=0;k[c+12>>2]=0;j[c>>1]=2;if(k[c+16>>2]|0){a=Vob(j[(k[c+16>>2]|0)+4>>1]|0)|0;j[c+2>>1]=a;k[c+4>>2]=k[k[c+16>>2]>>2];a=k[c+20>>2]|0;a=Yob(a,c,16)|0;r=c;return a|0}else{j[c+2>>1]=0;k[c+4>>2]=0;a=k[c+20>>2]|0;a=Yob(a,c,16)|0;r=c;return a|0}return 0}function Ir(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+48|0;k[c+28>>2]=a;k[c+24>>2]=b;k[c>>2]=16;if((apb(k[c+28>>2]|0,c+8|0,c)|0)==-1){k[c+32>>2]=-1;a=k[c+32>>2]|0;r=c;return a|0}else{k[k[c+24>>2]>>2]=k[c+8+4>>2];a=jpb(j[c+8+2>>1]|0)|0;j[(k[c+24>>2]|0)+4>>1]=a;k[c+32>>2]=0;a=k[c+32>>2]|0;r=c;return a|0}return 0}function Jr(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;a=Kob(2,(k[b>>2]|0)==2?2:1,0)|0;r=b;return a|0}function Kr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+48|0;k[d+36>>2]=a;k[d+32>>2]=b;k[d+28>>2]=c;k[d+24>>2]=-1;switch(k[d+32>>2]|0){case 1:{c=k[d+36>>2]|0;k[d>>2]=d+28;c=$nb(c,21537,d)|0;k[d+24>>2]=c;break}case 2:{c=Xob(k[d+36>>2]|0,1,6,d+28|0,4)|0;k[d+24>>2]=c;break}case 5:{c=Xob(k[d+36>>2]|0,1,2,d+28|0,4)|0;k[d+24>>2]=c;break}case 3:{c=Xob(k[d+36>>2]|0,1,8,d+28|0,4)|0;k[d+24>>2]=c;break}case 4:{c=Xob(k[d+36>>2]|0,1,7,d+28|0,4)|0;k[d+24>>2]=c;break}case 6:{k[d+16>>2]=(k[d+28>>2]|0)/1e3|0;k[d+16+4>>2]=((k[d+28>>2]|0)%1e3|0)*1e3;c=Xob(k[d+36>>2]|0,1,20,d+16|0,8)|0;k[d+24>>2]=c;break}case 7:{k[d+8>>2]=(k[d+28>>2]|0)/1e3|0;k[d+8+4>>2]=((k[d+28>>2]|0)%1e3|0)*1e3;c=Xob(k[d+36>>2]|0,1,21,d+8|0,8)|0;k[d+24>>2]=c;break}case 9:{c=Xob(k[d+36>>2]|0,6,1,d+28|0,4)|0;k[d+24>>2]=c;break}default:{}}r=d;return ((k[d+24>>2]|0)==-1?-1:0)|0}function Lr(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;if((k[b>>2]|0)==-1){r=b;return}inb(k[b>>2]|0)|0;r=b;return}function Mr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+80|0;k[e+64>>2]=a;k[e+60>>2]=b;k[e+56>>2]=c;k[e+52>>2]=d;k[e+24>>2]=0;k[e+24+4>>2]=0;k[e+24+8>>2]=0;k[e+24+12>>2]=0;k[e+24+16>>2]=0;k[e+24+20>>2]=0;k[e+24+24>>2]=0;if(k[e+60>>2]|0){k[e+8>>2]=0;k[e+8+4>>2]=0;k[e+8+8>>2]=0;k[e+8+12>>2]=0;j[e+8>>1]=2;a=Vob(j[(k[e+60>>2]|0)+4>>1]|0)|0;j[e+8+2>>1]=a;k[e+8+4>>2]=k[k[e+60>>2]>>2];k[e+24>>2]=e+8;k[e+24+4>>2]=16}k[e+24+8>>2]=k[e+56>>2];k[e+24+12>>2]=k[e+52>>2];a=mpb(k[e+64>>2]|0,e+24|0,16384)|0;k[e>>2]=a;if((k[e>>2]|0)!=-1){k[e+68>>2]=k[e>>2];a=k[e+68>>2]|0;r=e;return a|0}a=_lb()|0;if((k[a>>2]|0)==11){k[e+68>>2]=0;a=k[e+68>>2]|0;r=e;return a|0}else{k[e+68>>2]=-1;a=k[e+68>>2]|0;r=e;return a|0}return 0}function Nr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+80|0;k[e+64>>2]=a;k[e+60>>2]=b;k[e+56>>2]=c;k[e+52>>2]=d;k[e+24>>2]=0;k[e+24+4>>2]=0;k[e+24+8>>2]=0;k[e+24+12>>2]=0;k[e+24+16>>2]=0;k[e+24+20>>2]=0;k[e+24+24>>2]=0;if(k[e+60>>2]|0){k[e+24>>2]=e+8;k[e+24+4>>2]=16}k[e+24+8>>2]=k[e+56>>2];k[e+24+12>>2]=k[e+52>>2];a=lpb(k[e+64>>2]|0,e+24|0,16384)|0;k[e>>2]=a;if((k[e>>2]|0)!=-1){if(k[e+60>>2]|0){k[k[e+60>>2]>>2]=k[e+8+4>>2];a=jpb(j[e+8+2>>1]|0)|0;j[(k[e+60>>2]|0)+4>>1]=a}k[e+68>>2]=k[e>>2];a=k[e+68>>2]|0;r=e;return a|0}a=_lb()|0;if((k[a>>2]|0)==11){k[e+68>>2]=0;a=k[e+68>>2]|0;r=e;return a|0}else{k[e+68>>2]=-1;a=k[e+68>>2]|0;r=e;return a|0}return 0}function Or(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+304|0;k[d+296>>2]=a;k[d+292>>2]=b;k[d+288>>2]=c;k[d+24>>2]=((k[d+288>>2]|0)>>>0)/1e3|0;k[d+24+4>>2]=(((k[d+288>>2]|0)>>>0)%1e3|0)*1e3;k[d+8>>2]=d+160;k[d+12>>2]=32;while(1){if(!(k[d+12>>2]|0))break;c=k[d+8>>2]|0;k[d+8>>2]=c+4;k[c>>2]=0;k[d+12>>2]=(k[d+12>>2]|0)+-1}k[d>>2]=d+32;k[d+4>>2]=32;while(1){if(!(k[d+4>>2]|0))break;c=k[d>>2]|0;k[d>>2]=c+4;k[c>>2]=0;k[d+4>>2]=(k[d+4>>2]|0)+-1}if(k[k[d+292>>2]>>2]&1|0){c=d+32+((((k[d+296>>2]|0)>>>0)/32|0)<<2)|0;k[c>>2]=k[c>>2]|1<<(((k[d+296>>2]|0)>>>0)%32|0)}if(k[k[d+292>>2]>>2]&2|0){c=d+160+((((k[d+296>>2]|0)>>>0)/32|0)<<2)|0;k[c>>2]=k[c>>2]|1<<(((k[d+296>>2]|0)>>>0)%32|0)}c=tpb((k[d+296>>2]|0)+1|0,d+160|0,d+32|0,0,d+24|0)|0;k[d+16>>2]=c;if((k[d+16>>2]|0)<0){c=_lb()|0;if((k[c>>2]|0)==4)if(k[k[d+292>>2]>>2]&4|0){k[k[d+292>>2]>>2]=4;k[d+300>>2]=0;c=k[d+300>>2]|0;r=d;return c|0}k[d+300>>2]=-1;c=k[d+300>>2]|0;r=d;return c|0}k[k[d+292>>2]>>2]=0;if(!(k[d+16>>2]|0)){k[d+300>>2]=0;c=k[d+300>>2]|0;r=d;return c|0}if(k[d+32+((((k[d+296>>2]|0)>>>0)/32|0)<<2)>>2]&1<<(((k[d+296>>2]|0)>>>0)%32|0)|0){c=k[d+292>>2]|0;k[c>>2]=k[c>>2]|1}if(k[d+160+((((k[d+296>>2]|0)>>>0)/32|0)<<2)>>2]&1<<(((k[d+296>>2]|0)>>>0)%32|0)|0){c=k[d+292>>2]|0;k[c>>2]=k[c>>2]|2}k[d+300>>2]=0;c=k[d+300>>2]|0;r=d;return c|0}function Pr(a){a=a|0;eEa(a,-10002,520407);eEa(a,-1,520519);$Da(a,1476,0);lEa(a,-2,265833);yDa(a,-3);eEa(a,-10002,520407);eEa(a,-1,520519);$Da(a,1477,0);lEa(a,-2,265845);yDa(a,-3);eEa(a,-10002,520407);eEa(a,-1,520519);$Da(a,1478,0);lEa(a,-2,361455);yDa(a,-3);eEa(a,-10002,520407);eEa(a,-1,520519);$Da(a,1479,0);lEa(a,-2,279055);yDa(a,-3);eEa(a,-10002,520407);eEa(a,-1,520519);$Da(a,1480,0);lEa(a,-2,291268);yDa(a,-3);eEa(a,-10002,520407);eEa(a,-1,520519);$Da(a,1481,0);lEa(a,-2,299467);yDa(a,-3);eEa(a,-10002,520407);eEa(a,-1,520519);$Da(a,1482,0);lEa(a,-2,361549);yDa(a,-3);eEa(a,-10002,520407);eEa(a,-1,520519);$Da(a,1483,0);lEa(a,-2,309885);yDa(a,-3);eEa(a,-10002,520407);eEa(a,-1,520519);$Da(a,1484,0);lEa(a,-2,313512);yDa(a,-3);eEa(a,-10002,520407);eEa(a,-1,520519);$Da(a,1485,0);lEa(a,-2,324059);yDa(a,-3);return 0}function Qr(a){a=a|0;if(!(FHa(a,265855,4061,269916)|0))qEa(a,0,0);eEa(a,-10002,361455);return 1}function Rr(a){a=a|0;if(!(FHa(a,269927,9120,279047)|0))qEa(a,0,0);eEa(a,-10002,279055);return 1}function Sr(a){a=a|0;if(!(FHa(a,279066,12193,291259)|0))qEa(a,0,0);eEa(a,-10002,291268);return 1}function Tr(a){a=a|0;if(!(FHa(a,291280,8177,299457)|0))qEa(a,0,0);eEa(a,-10002,299467);return 1}function Ur(a){a=a|0;if(!(FHa(a,299473,2433,301906)|0))qEa(a,0,0);eEa(a,-10002,361549);return 1}function Vr(a){a=a|0;if(!(FHa(a,301915,7961,309876)|0))qEa(a,0,0);eEa(a,-10002,309885);return 1}function Wr(a){a=a|0;if(!(FHa(a,309897,3608,313505)|0))qEa(a,0,0);eEa(a,-10002,313512);return 1}function Xr(a){a=a|0;if(!(FHa(a,313522,10529,324051)|0))qEa(a,0,0);eEa(a,-10002,324059);return 1}function Yr(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+4>>2]=a;hEa(k[b+4>>2]|0,0,6);k[b>>2]=11976;while(1){if(!(k[k[b>>2]>>2]|0))break;if(k[(k[b>>2]|0)+4>>2]|0){$Da(k[b+4>>2]|0,k[(k[b>>2]|0)+4>>2]|0,0);lEa(k[b+4>>2]|0,-2,k[k[b>>2]>>2]|0)}k[b>>2]=(k[b>>2]|0)+8}XDa(k[b+4>>2]|0,324278,16);lEa(k[b+4>>2]|0,-2,324266);r=b;return 1}function Zr(a){a=a|0;var b=0,c=0;c=r;r=r+32|0;k[c+20>>2]=a;a=fHa(k[c+20>>2]|0,1,c+16|0)|0;k[c+12>>2]=a;a=nHa(k[c+20>>2]|0,2)|0;k[c+8>>2]=a;k[c+4>>2]=(k[c+8>>2]|0)>=0?1:(k[c+16>>2]|0)+1|0;a=oHa(k[c+20>>2]|0,3,k[c+4>>2]|0)|0;a=_r(a,k[c+16>>2]|0)|0;k[c+4>>2]=a;if(1<=(k[c+4>>2]|0)){a=(k[c+4>>2]|0)+-1|0;k[c+4>>2]=a;if((a|0)>(k[c+16>>2]|0))b=3}else b=3;if((b|0)==3)$Ga(k[c+20>>2]|0,3,324077)|0;a:do if(!(k[c+8>>2]|0))while(1){if((k[c+4>>2]|0)<=0)break a;if((i[(k[c+12>>2]|0)+(k[c+4>>2]|0)>>0]&192|0)!=128)break a;k[c+4>>2]=(k[c+4>>2]|0)+-1}else{if((i[(k[c+12>>2]|0)+(k[c+4>>2]|0)>>0]&192|0)==128)aHa(k[c+20>>2]|0,324099,c)|0;if((k[c+8>>2]|0)<0)while(1){if(!((k[c+8>>2]|0)<0?(k[c+4>>2]|0)>0:0))break a;do{k[c+4>>2]=(k[c+4>>2]|0)+-1;if((k[c+4>>2]|0)<=0)break}while((i[(k[c+12>>2]|0)+(k[c+4>>2]|0)>>0]&192|0)==128);k[c+8>>2]=(k[c+8>>2]|0)+1}k[c+8>>2]=(k[c+8>>2]|0)+-1;while(1){if((k[c+8>>2]|0)<=0)break a;if((k[c+4>>2]|0)>=(k[c+16>>2]|0))break a;do k[c+4>>2]=(k[c+4>>2]|0)+1;while((i[(k[c+12>>2]|0)+(k[c+4>>2]|0)>>0]&192|0)==128);k[c+8>>2]=(k[c+8>>2]|0)+-1}}while(0);a=k[c+20>>2]|0;if(!(k[c+8>>2]|0)){WDa(a,(k[c+4>>2]|0)+1|0);r=c;return 1}else{UDa(a);r=c;return 1}return 0}function _r(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+4>>2]=a;k[c>>2]=b;b=k[c+4>>2]|0;do if((k[c+4>>2]|0)>=0)k[c+8>>2]=b;else if((0-b|0)>>>0>(k[c>>2]|0)>>>0){k[c+8>>2]=0;break}else{k[c+8>>2]=(k[c>>2]|0)+(k[c+4>>2]|0)+1;break}while(0);r=c;return k[c+8>>2]|0}function $r(a){a=a|0;var b=0,c=0;c=r;r=r+48|0;k[c+40>>2]=a;b=fHa(k[c+40>>2]|0,1,c+36|0)|0;k[c+32>>2]=b;b=oHa(k[c+40>>2]|0,2,1)|0;b=_r(b,k[c+36>>2]|0)|0;k[c+28>>2]=b;b=oHa(k[c+40>>2]|0,3,k[c+28>>2]|0)|0;b=_r(b,k[c+36>>2]|0)|0;k[c+24>>2]=b;if((k[c+28>>2]|0)<1)$Ga(k[c+40>>2]|0,2,324149)|0;if((k[c+24>>2]|0)>(k[c+36>>2]|0))$Ga(k[c+40>>2]|0,3,324149)|0;if((k[c+28>>2]|0)>(k[c+24>>2]|0)){k[c+44>>2]=0;b=k[c+44>>2]|0;r=c;return b|0}k[c+20>>2]=(k[c+24>>2]|0)-(k[c+28>>2]|0)+1;a=k[c+40>>2]|0;if(((k[c+28>>2]|0)+(k[c+20>>2]|0)|0)<=(k[c+24>>2]|0)){b=aHa(a,519797,c)|0;k[c+44>>2]=b;b=k[c+44>>2]|0;r=c;return b|0}iHa(a,k[c+20>>2]|0,519797);k[c+20>>2]=0;k[c+16>>2]=(k[c+32>>2]|0)+(k[c+24>>2]|0);k[c+32>>2]=(k[c+32>>2]|0)+((k[c+28>>2]|0)-1);while(1){if((k[c+32>>2]|0)>>>0>=(k[c+16>>2]|0)>>>0){b=14;break}a=as(k[c+32>>2]|0,c+12|0)|0;k[c+32>>2]=a;a=k[c+40>>2]|0;if(!(k[c+32>>2]|0)){b=12;break}WDa(a,k[c+12>>2]|0);k[c+20>>2]=(k[c+20>>2]|0)+1}if((b|0)==12){b=aHa(a,324162,c+8|0)|0;k[c+44>>2]=b;b=k[c+44>>2]|0;r=c;return b|0}else if((b|0)==14){k[c+44>>2]=k[c+20>>2];b=k[c+44>>2]|0;r=c;return b|0}return 0}function as(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+32|0;k[d+24>>2]=a;k[d+20>>2]=b;k[d+16>>2]=k[d+24>>2];k[d+12>>2]=l[k[d+16>>2]>>0];k[d+8>>2]=0;do if((k[d+12>>2]|0)>>>0<128)k[d+8>>2]=k[d+12>>2];else{k[d+4>>2]=0;while(1){if(!(k[d+12>>2]&64))break;b=(k[d+4>>2]|0)+1|0;k[d+4>>2]=b;k[d>>2]=l[(k[d+16>>2]|0)+b>>0];if((k[d>>2]&192|0)!=128){c=6;break}k[d+8>>2]=k[d+8>>2]<<6|k[d>>2]&63;k[d+12>>2]=k[d+12>>2]<<1}if((c|0)==6){k[d+28>>2]=0;c=k[d+28>>2]|0;r=d;return c|0}k[d+8>>2]=k[d+8>>2]|(k[d+12>>2]&127)<<(k[d+4>>2]|0)*5;if(!((k[d+4>>2]|0)>3?1:(k[d+8>>2]|0)>>>0>1114111))if((k[d+8>>2]|0)>>>0>(k[12032+(k[d+4>>2]<<2)>>2]|0)>>>0){k[d+16>>2]=(k[d+16>>2]|0)+(k[d+4>>2]|0);break}k[d+28>>2]=0;c=k[d+28>>2]|0;r=d;return c|0}while(0);if(k[d+20>>2]|0)k[k[d+20>>2]>>2]=k[d+8>>2];k[d+28>>2]=(k[d+16>>2]|0)+1;c=k[d+28>>2]|0;r=d;return c|0}function bs(a){a=a|0;var b=0;b=r;r=r+1056|0;k[b+1044>>2]=a;a=xDa(k[b+1044>>2]|0)|0;k[b+1040>>2]=a;a=k[b+1044>>2]|0;if((k[b+1040>>2]|0)==1){cs(a,1);r=b;return 1}wHa(a,b);k[b+1036>>2]=1;while(1){if((k[b+1036>>2]|0)>(k[b+1040>>2]|0))break;cs(k[b+1044>>2]|0,k[b+1036>>2]|0);AHa(b);k[b+1036>>2]=(k[b+1036>>2]|0)+1}zHa(b);r=b;return 1}function cs(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+32|0;k[c+12>>2]=a;k[c+8>>2]=b;b=nHa(k[c+12>>2]|0,k[c+8>>2]|0)|0;k[c+4>>2]=b;if(!(0<=(k[c+4>>2]|0)?(k[c+4>>2]|0)<=1114111:0))$Ga(k[c+12>>2]|0,k[c+8>>2]|0,324181)|0;b=ds(c+16|0,k[c+4>>2]|0)|0;k[c>>2]=b;XDa(k[c+12>>2]|0,c+16+8+(0-(k[c>>2]|0))|0,k[c>>2]|0);r=c;return}function ds(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+12>>2]=a;k[c+8>>2]=b;k[c+4>>2]=1;if((k[c+8>>2]|0)>>>0<128){i[(k[c+12>>2]|0)+7>>0]=k[c+8>>2];b=k[c+4>>2]|0;r=c;return b|0}k[c>>2]=63;do{a=(128|k[c+8>>2]&63)&255;b=k[c+4>>2]|0;k[c+4>>2]=b+1;i[(k[c+12>>2]|0)+(8-b)>>0]=a;k[c+8>>2]=(k[c+8>>2]|0)>>>6;k[c>>2]=(k[c>>2]|0)>>>1}while((k[c+8>>2]|0)>>>0>(k[c>>2]|0)>>>0);i[(k[c+12>>2]|0)+(8-(k[c+4>>2]|0))>>0]=~k[c>>2]<<1|k[c+8>>2];b=k[c+4>>2]|0;r=c;return b|0}function es(a){a=a|0;var b=0,c=0;c=r;r=r+32|0;k[c+24>>2]=a;k[c+20>>2]=0;a=fHa(k[c+24>>2]|0,1,c+16|0)|0;k[c+12>>2]=a;a=oHa(k[c+24>>2]|0,2,1)|0;a=_r(a,k[c+16>>2]|0)|0;k[c+8>>2]=a;a=oHa(k[c+24>>2]|0,3,-1)|0;a=_r(a,k[c+16>>2]|0)|0;k[c+4>>2]=a;if(1<=(k[c+8>>2]|0)){a=(k[c+8>>2]|0)+-1|0;k[c+8>>2]=a;if((a|0)>(k[c+16>>2]|0))b=3}else b=3;if((b|0)==3)$Ga(k[c+24>>2]|0,2,324200)|0;b=(k[c+4>>2]|0)+-1|0;k[c+4>>2]=b;if((b|0)>=(k[c+16>>2]|0))$Ga(k[c+24>>2]|0,3,324231)|0;while(1){if((k[c+8>>2]|0)>(k[c+4>>2]|0)){b=11;break}b=as((k[c+12>>2]|0)+(k[c+8>>2]|0)|0,0)|0;k[c>>2]=b;if(!(k[c>>2]|0)){b=9;break}k[c+8>>2]=(k[c>>2]|0)-(k[c+12>>2]|0);k[c+20>>2]=(k[c+20>>2]|0)+1}if((b|0)==9){UDa(k[c+24>>2]|0);WDa(k[c+24>>2]|0,(k[c+8>>2]|0)+1|0);k[c+28>>2]=2;b=k[c+28>>2]|0;r=c;return b|0}else if((b|0)==11){WDa(k[c+24>>2]|0,k[c+20>>2]|0);k[c+28>>2]=1;b=k[c+28>>2]|0;r=c;return b|0}return 0}function fs(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;fHa(k[b>>2]|0,1,0)|0;$Da(k[b>>2]|0,1486,0);CDa(k[b>>2]|0,1);WDa(k[b>>2]|0,0);r=b;return 3}function gs(a){a=a|0;var b=0;b=r;r=r+32|0;k[b+24>>2]=a;a=fHa(k[b+24>>2]|0,1,b+20|0)|0;k[b+16>>2]=a;a=(MDa(k[b+24>>2]|0,2)|0)-1|0;k[b+12>>2]=a;a:do if((k[b+12>>2]|0)<0)k[b+12>>2]=0;else if((k[b+12>>2]|0)<(k[b+20>>2]|0)){k[b+12>>2]=(k[b+12>>2]|0)+1;while(1){if((i[(k[b+16>>2]|0)+(k[b+12>>2]|0)>>0]&192|0)!=128)break a;k[b+12>>2]=(k[b+12>>2]|0)+1}}while(0);if((k[b+12>>2]|0)>=(k[b+20>>2]|0)){k[b+28>>2]=0;a=k[b+28>>2]|0;r=b;return a|0}a=as((k[b+16>>2]|0)+(k[b+12>>2]|0)|0,b+8|0)|0;k[b+4>>2]=a;if(k[b+4>>2]|0)if((i[k[b+4>>2]>>0]&192|0)!=128){WDa(k[b+24>>2]|0,(k[b+12>>2]|0)+1|0);WDa(k[b+24>>2]|0,k[b+8>>2]|0);k[b+28>>2]=2;a=k[b+28>>2]|0;r=b;return a|0}a=aHa(k[b+24>>2]|0,324162,b)|0;k[b+28>>2]=a;a=k[b+28>>2]|0;r=b;return a|0}function hs(a,b,c){a=+a;b=+b;c=+c;var d=0,e=0.0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0;o=a-+((!(a>0.0)<<31>>31)+~~a|0);p=b-+((!(b>0.0)<<31>>31)+~~b|0);q=c-+((!(c>0.0)<<31>>31)+~~c|0);n=(!(a>0.0)<<31>>31)+~~a+1&255;i=(!(b>0.0)<<31>>31)+~~b+1&255;j=(!(a>0.0)<<31>>31)+~~a&255;f=(!(b>0.0)<<31>>31)+~~b&255;g=l[324295+((!(c>0.0)<<31>>31)+~~c&255)>>0]|0;m=l[324295+(g+f)>>0]|0;d=l[324295+(m+j)>>0]|0;a=(d&15)>>>0<8?o:p;if((d&15)>>>0<4)b=p;else b=(d&15|2|0)==14?o:q;e=(d&1|0?-a:a)+(d&2|0?-b:b);h=l[324295+((!(c>0.0)<<31>>31)+~~c+1&255)>>0]|0;k=l[324295+(h+f)>>0]|0;d=l[324295+(k+j)>>0]|0;b=(d&15)>>>0<8?o:p;if((d&15)>>>0<4)a=p;else a=(d&15|2|0)==14?o:q+-1.0;c=e+q*(q*q)*(q*(q*6.0+-15.0)+10.0)*((d&1|0?-b:b)+(d&2|0?-a:a)-e);g=l[324295+(g+i)>>0]|0;d=l[324295+(g+j)>>0]|0;a=(d&15)>>>0<8?o:p+-1.0;if((d&15)>>>0<4)b=p+-1.0;else b=(d&15|2|0)==14?o:q;e=(d&1|0?-a:a)+(d&2|0?-b:b);f=l[324295+(h+i)>>0]|0;d=l[324295+(f+j)>>0]|0;a=(d&15)>>>0<8?o:p+-1.0;if((d&15)>>>0<4)b=p+-1.0;else b=(d&15|2|0)==14?o:q+-1.0;c=c+p*(p*p)*(p*(p*6.0+-15.0)+10.0)*(e+q*(q*q)*(q*(q*6.0+-15.0)+10.0)*((d&1|0?-a:a)+(d&2|0?-b:b)-e)-c);d=l[324295+(m+n)>>0]|0;a=(d&15)>>>0<8?o+-1.0:p;if((d&15)>>>0<4)b=p;else b=(d&15|2|0)==14?o+-1.0:q;e=(d&1|0?-a:a)+(d&2|0?-b:b);d=l[324295+(k+n)>>0]|0;a=(d&15)>>>0<8?o+-1.0:p;if((d&15)>>>0<4)b=p;else b=(d&15|2|0)==14?o+-1.0:q+-1.0;e=e+q*(q*q)*(q*(q*6.0+-15.0)+10.0)*((d&1|0?-a:a)+(d&2|0?-b:b)-e);d=l[324295+(g+n)>>0]|0;a=(d&15)>>>0<8?o+-1.0:p+-1.0;if((d&15)>>>0<4)b=p+-1.0;else b=(d&15|2|0)==14?o+-1.0:q;b=(d&1|0?-a:a)+(d&2|0?-b:b);d=l[324295+(f+n)>>0]|0;a=(d&15)>>>0<8?o+-1.0:p+-1.0;if((d&15)>>>0<4){s=p+-1.0;n=d&1;n=(n|0)!=0;r=-a;r=n?r:a;n=d&2;n=(n|0)!=0;a=-s;a=n?a:s;a=r+a;a=a-b;q=q*(q*q)*(q*(q*6.0+-15.0)+10.0)*a;q=b+q;q=q-e;q=p*(p*p)*(p*(p*6.0+-15.0)+10.0)*q;q=e+q;q=q-c;q=o*(o*o)*(o*(o*6.0+-15.0)+10.0)*q;q=c+q;q=q*.9359999895095825;return +q}s=(d&15|2|0)==14?o+-1.0:q+-1.0;n=d&1;n=(n|0)!=0;r=-a;r=n?r:a;n=d&2;n=(n|0)!=0;a=-s;s=n?a:s;s=r+s;s=s-b;s=q*(q*q)*(q*(q*6.0+-15.0)+10.0)*s;s=b+s;s=s-e;s=p*(p*p)*(p*(p*6.0+-15.0)+10.0)*s;s=e+s;s=s-c;s=o*(o*o)*(o*(o*6.0+-15.0)+10.0)*s;s=c+s;s=s*.9359999895095825;return +s}function is(a,b,c,d){a=+a;b=+b;c=+c;d=+d;var e=0.0,f=0,g=0.0,h=0.0,i=0.0,j=0.0,k=0.0,m=0.0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;m=a-+((!(a>0.0)<<31>>31)+~~a|0);k=b-+((!(b>0.0)<<31>>31)+~~b|0);j=c-+((!(c>0.0)<<31>>31)+~~c|0);i=d-+((!(d>0.0)<<31>>31)+~~d|0);f=(!(a>0.0)<<31>>31)+~~a+1&255;n=(!(b>0.0)<<31>>31)+~~b+1&255;w=(!(c>0.0)<<31>>31)+~~c+1&255;v=(!(a>0.0)<<31>>31)+~~a&255;r=(!(b>0.0)<<31>>31)+~~b&255;p=(!(c>0.0)<<31>>31)+~~c&255;o=l[324295+((!(d>0.0)<<31>>31)+~~d&255)>>0]|0;q=l[324295+(o+p)>>0]|0;u=l[324295+(q+r)>>0]|0;x=l[324295+(u+v)>>0]|0;b=(x&31)>>>0<24?m:k;c=(x&31)>>>0<16?k:j;a=(x&31)>>>0<8?j:i;c=(x&4|0?-a:a)+((x&1|0?-b:b)+(x&2|0?-c:c));x=l[324295+((!(d>0.0)<<31>>31)+~~d+1&255)>>0]|0;p=l[324295+(x+p)>>0]|0;t=l[324295+(p+r)>>0]|0;s=l[324295+(t+v)>>0]|0;b=(s&31)>>>0<24?m:k;a=(s&31)>>>0<16?k:j;d=(s&31)>>>0<8?j:i+-1.0;c=c+i*(i*i)*(i*(i*6.0+-15.0)+10.0)*((s&4|0?-d:d)+((s&1|0?-b:b)+(s&2|0?-a:a))-c);o=l[324295+(o+w)>>0]|0;s=l[324295+(o+r)>>0]|0;y=l[324295+(s+v)>>0]|0;a=(y&31)>>>0<24?m:k;b=(y&31)>>>0<16?k:j+-1.0;d=(y&31)>>>0<8?j+-1.0:i;b=(y&4|0?-d:d)+((y&1|0?-a:a)+(y&2|0?-b:b));w=l[324295+(x+w)>>0]|0;r=l[324295+(w+r)>>0]|0;x=l[324295+(r+v)>>0]|0;a=(x&31)>>>0<24?m:k;d=(x&31)>>>0<16?k:j+-1.0;g=(x&31)>>>0<8?j+-1.0:i+-1.0;c=c+j*(j*j)*(j*(j*6.0+-15.0)+10.0)*(b+i*(i*i)*(i*(i*6.0+-15.0)+10.0)*((x&4|0?-g:g)+((x&1|0?-a:a)+(x&2|0?-d:d))-b)-c);q=l[324295+(q+n)>>0]|0;x=l[324295+(q+v)>>0]|0;b=(x&31)>>>0<24?m:k+-1.0;d=(x&31)>>>0<16?k+-1.0:j;a=(x&31)>>>0<8?j:i;d=(x&4|0?-a:a)+((x&1|0?-b:b)+(x&2|0?-d:d));p=l[324295+(p+n)>>0]|0;x=l[324295+(p+v)>>0]|0;b=(x&31)>>>0<24?m:k+-1.0;a=(x&31)>>>0<16?k+-1.0:j;g=(x&31)>>>0<8?j:i+-1.0;d=d+i*(i*i)*(i*(i*6.0+-15.0)+10.0)*((x&4|0?-g:g)+((x&1|0?-b:b)+(x&2|0?-a:a))-d);o=l[324295+(o+n)>>0]|0;x=l[324295+(o+v)>>0]|0;a=(x&31)>>>0<24?m:k+-1.0;b=(x&31)>>>0<16?k+-1.0:j+-1.0;g=(x&31)>>>0<8?j+-1.0:i;b=(x&4|0?-g:g)+((x&1|0?-a:a)+(x&2|0?-b:b));n=l[324295+(w+n)>>0]|0;v=l[324295+(n+v)>>0]|0;a=(v&31)>>>0<24?m:k+-1.0;g=(v&31)>>>0<16?k+-1.0:j+-1.0;e=(v&31)>>>0<8?j+-1.0:i+-1.0;c=c+k*(k*k)*(k*(k*6.0+-15.0)+10.0)*(d+j*(j*j)*(j*(j*6.0+-15.0)+10.0)*(b+i*(i*i)*(i*(i*6.0+-15.0)+10.0)*((v&4|0?-e:e)+((v&1|0?-a:a)+(v&2|0?-g:g))-b)-d)-c);u=l[324295+(u+f)>>0]|0;d=(u&31)>>>0<24?m+-1.0:k;b=(u&31)>>>0<16?k:j;g=(u&31)>>>0<8?j:i;b=(u&4|0?-g:g)+((u&1|0?-d:d)+(u&2|0?-b:b));t=l[324295+(t+f)>>0]|0;d=(t&31)>>>0<24?m+-1.0:k;g=(t&31)>>>0<16?k:j;a=(t&31)>>>0<8?j:i+-1.0;b=b+i*(i*i)*(i*(i*6.0+-15.0)+10.0)*((t&4|0?-a:a)+((t&1|0?-d:d)+(t&2|0?-g:g))-b);s=l[324295+(s+f)>>0]|0;g=(s&31)>>>0<24?m+-1.0:k;d=(s&31)>>>0<16?k:j+-1.0;a=(s&31)>>>0<8?j+-1.0:i;d=(s&4|0?-a:a)+((s&1|0?-g:g)+(s&2|0?-d:d));r=l[324295+(r+f)>>0]|0;g=(r&31)>>>0<24?m+-1.0:k;a=(r&31)>>>0<16?k:j+-1.0;e=(r&31)>>>0<8?j+-1.0:i+-1.0;b=b+j*(j*j)*(j*(j*6.0+-15.0)+10.0)*(d+i*(i*i)*(i*(i*6.0+-15.0)+10.0)*((r&4|0?-e:e)+((r&1|0?-g:g)+(r&2|0?-a:a))-d)-b);q=l[324295+(q+f)>>0]|0;d=(q&31)>>>0<24?m+-1.0:k+-1.0;a=(q&31)>>>0<16?k+-1.0:j;g=(q&31)>>>0<8?j:i;a=(q&4|0?-g:g)+((q&1|0?-d:d)+(q&2|0?-a:a));p=l[324295+(p+f)>>0]|0;d=(p&31)>>>0<24?m+-1.0:k+-1.0;g=(p&31)>>>0<16?k+-1.0:j;e=(p&31)>>>0<8?j:i+-1.0;a=a+i*(i*i)*(i*(i*6.0+-15.0)+10.0)*((p&4|0?-e:e)+((p&1|0?-d:d)+(p&2|0?-g:g))-a);o=l[324295+(o+f)>>0]|0;g=(o&31)>>>0<24?m+-1.0:k+-1.0;d=(o&31)>>>0<16?k+-1.0:j+-1.0;e=(o&31)>>>0<8?j+-1.0:i;d=(o&4|0?-e:e)+((o&1|0?-g:g)+(o&2|0?-d:d));f=l[324295+(n+f)>>0]|0;g=(f&31)>>>0<24?m+-1.0:k+-1.0;e=(f&31)>>>0<16?k+-1.0:j+-1.0;h=(f&31)>>>0<8?j+-1.0:i+-1.0;return +((c+m*(m*m)*(m*(m*6.0+-15.0)+10.0)*(b+k*(k*k)*(k*(k*6.0+-15.0)+10.0)*(a+j*(j*j)*(j*(j*6.0+-15.0)+10.0)*(d+i*(i*i)*(i*(i*6.0+-15.0)+10.0)*((f&4|0?-h:h)+((f&1|0?-g:g)+(f&2|0?-e:e))-d)-a)-b)-c))*.8700000047683716)}function js(a){a=+a;var b=0,c=0.0,d=0.0,e=0;c=a-+((!(a>0.0)<<31>>31)+~~a|0);e=l[324295+((!(a>0.0)<<31>>31)+~~a&255)>>0]|0;d=(1.0-(c+-1.0)*(c+-1.0))*(1.0-(c+-1.0)*(c+-1.0));b=l[324295+((!(a>0.0)<<31>>31)+~~a+1&255)>>0]|0;return +(((1.0-c*c)*(1.0-c*c)*((1.0-c*c)*(1.0-c*c))*(c*((e&8|0)==0?+((e&7)+1|0):-+((e&7)+1|0)))+d*d*((c+-1.0)*((b&8|0)==0?+((b&7)+1|0):-+((b&7)+1|0))))*.39500001072883606)}function ks(a,b){a=+a;b=+b;var c=0.0,d=0.0,e=0.0,f=0,g=0,h=0,i=0.0;g=(!((a+b)*.366025403+a>0.0)<<31>>31)+~~((a+b)*.366025403+a)|0;f=(!((a+b)*.366025403+b>0.0)<<31>>31)+~~((a+b)*.366025403+b)|0;e=a-(+(g|0)-+(g+f|0)*.211324865);c=b-(+(f|0)-+(g+f|0)*.211324865);a=c-+(e>c^1|0)+.211324865;if(.5-e*e-c*c<0.0)d=0.0;else{b=(.5-e*e-c*c)*(.5-e*e-c*c);h=l[324295+((l[324295+(f&255)>>0]|0)+(g&255))>>0]|0;d=(h&4)>>>0<4?e:c;d=b*b*((h&1|0?-d:d)+((h&4)>>>0<4?c:e)*(h&2|0?-2.0:2.0))}b=.5-(e-+(e>c&1)+.211324865)*(e-+(e>c&1)+.211324865)-a*a;if(b<0.0)b=0.0;else{h=l[324295+((e>c&1)+(g&255)+(l[324295+((e>c^1)+(f&255))>>0]|0))>>0]|0;i=(h&4)>>>0<4?e-+(e>c&1)+.211324865:a;b=b*b*(b*b)*((h&1|0?-i:i)+((h&4)>>>0<4?a:e-+(e>c&1)+.211324865)*(h&2|0?-2.0:2.0))}a=.5-(e+-1.0+.42264973)*(e+-1.0+.42264973)-(c+-1.0+.42264973)*(c+-1.0+.42264973);if(a<0.0){i=0.0;e=d+b;i=e+i;i=i*45.22999954223633;return +i}h=l[324295+((g&255)+1+(l[324295+((f&255)+1)>>0]|0))>>0]|0;i=(h&4)>>>0<4?e+-1.0+.42264973:c+-1.0+.42264973;i=a*a*(a*a)*((h&1|0?-i:i)+((h&4)>>>0<4?c+-1.0+.42264973:e+-1.0+.42264973)*(h&2|0?-2.0:2.0));e=d+b;i=e+i;i=i*45.22999954223633;return +i}function ls(a){a=a|0;k[a>>2]=12056;_qb(a+4|0);return}function ms(a){a=a|0;k[a>>2]=12056;_qb(a+4|0);CAb(a);return}function ns(a){a=a|0;if(!(i[a+4>>0]&1)){a=a+4+1|0;return a|0}else{a=k[a+12>>2]|0;return a|0}return 0}function os(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=r;r=r+32|0;k[a>>2]=12056;k[a+4>>2]=0;k[a+4+4>>2]=0;k[a+4+8>>2]=0;d=256;while(1){f=mBb((d|0)>-1?d:-1)|0;vBb(f|0,0,d|0)|0;k[g+16>>2]=c;e=Hmb(f,d,b,g+16|0)|0;if((e|0)==(d+-1|0)|((e|0)==(d|0)|(e|0)==-1))d=d<<1;else{if((e|0)<=(d|0))break;d=e+2|0}oBb(f)}Wqb(g,f,Fnb(f)|0);if(!(i[a+4>>0]&1)){i[a+4+1>>0]=0;i[a+4>>0]=0}else{i[k[a+12>>2]>>0]=0;k[a+8>>2]=0}crb(a+4|0,0);k[a+4>>2]=k[g>>2];k[a+4+4>>2]=k[g+4>>2];k[a+4+8>>2]=k[g+8>>2];k[g>>2]=0;k[g+4>>2]=0;k[g+8>>2]=0;_qb(g);oBb(f);r=g;return}function ps(a,b){a=a|0;b=b|0;if((DDa(a,-1)|0)==(b|0)){b=kBb(12)|0;t_(b,a);return b|0}else{yDa(a,-2);b=0;return b|0}return 0}function qs(a,b){a=a|0;b=b|0;return (NDa(a,b)|0)!=0|0}function rs(a,b){a=a|0;b=b|0;aEa(a,b&1);return}function ss(a,b,c){a=a|0;b=b|0;c=c|0;if((DDa(a,b)|0)!=1){b=c;return b|0}b=(NDa(a,b)|0)==1;return b|0}function ts(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;c=ODa(b,c,d)|0;Wqb(a,c,k[d>>2]|0);r=d;return}function us(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;c=fHa(b,c,d)|0;Wqb(a,c,k[d>>2]|0);r=d;return}function vs(a,b){a=a|0;b=b|0;var c=0;c=i[b>>0]|0;XDa(a,(c&1)==0?b+1|0:k[b+8>>2]|0,(c&1)==0?(c&255)>>>1:k[b+4>>2]|0);return}function ws(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;eEa(a,b,c);if((DDa(a,-1)|0)>=1)d=(NDa(a,-1)|0)!=0;yDa(a,-2);return d|0}function xs(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;eEa(a,b,c);if(GDa(a,-1)|0)d=MDa(a,-1)|0;yDa(a,-2);return d|0}function ys(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+16|0;c=xDa(a)|0;if((c|0)>=(b|0)){b=0;r=d;return b|0}k[d>>2]=c;k[d+4>>2]=b;b=aHa(a,324825,d)|0;r=d;return b|0}function zs(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;d=xDa(a)|0;if(!((d|0)<(b|0)|(d|0)>(c|0))){b=0;r=e;return b|0}k[e>>2]=d;k[e+4>>2]=b;k[e+8>>2]=c;b=aHa(a,324889,e)|0;r=e;return b|0}function As(a,b){a=a|0;b=b|0;eEa(a,-10002,521113);YDa(a,b);qEa(a,1,1);return 1}function Bs(a,b){a=a|0;b=b|0;var c=0,d=0;ct(k[b+8>>2]|0,k[b+4>>2]|0);Cs(a,324947)|0;c=AEa(a,8)|0;d=k[b>>2]|0;k[c+4>>2]=d;k[c>>2]=k[b+8>>2];gHa(a,Gi[k[(k[d>>2]|0)+20>>2]&2047](d)|0)|0;CDa(a,-1);lEa(a,-2,520511);$Da(a,1487,0);lEa(a,-2,520402);oEa(a,-2)|0;lEa(a,-2,k[b+4>>2]|0);yDa(a,-2);eEa(a,-10002,442740);if((DDa(a,-1)|0)!=5){yDa(a,-2);hEa(a,0,0);CDa(a,-1);lEa(a,-10002,442740)}hEa(a,0,0);c=k[b+12>>2]|0;if(c|0)if(k[c>>2]|0)do{$Da(a,k[c+4>>2]|0,0);lEa(a,-2,k[c>>2]|0);c=c+8|0}while((k[c>>2]|0)!=0);d=k[b+16>>2]|0;if(d|0){c=k[d>>2]|0;if(c|0)do{Gi[c&2047](a)|0;d=d+4|0;c=k[d>>2]|0}while((c|0)!=0)}CDa(a,-1);lEa(a,-3,k[b+4>>2]|0);zDa(a,-2);Mj(k[b>>2]|0);return 1}function Cs(a,b){a=a|0;b=b|0;eEa(a,-10002,442740);if((DDa(a,-1)|0)!=5){yDa(a,-2);hEa(a,0,0);CDa(a,-1);lEa(a,-10002,442740)}Ds(a,-1,b)|0;BDa(a,-2);return 1}function Ds(a,b,c){a=a|0;b=b|0;c=c|0;if(b>>>0>4294957296)b=b+1+(xDa(a)|0)|0;eEa(a,b,c);if((DDa(a,-1)|0)==5)return 1;yDa(a,-2);hEa(a,0,0);CDa(a,-1);lEa(a,b,c);return 1}function Es(a){a=a|0;a=(RDa(a,1)|0)+4|0;a=k[a>>2]|0;Si[k[(k[a>>2]|0)+12>>2]&1023](a);return 0}function Fs(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;switch(b|0){case 0:{Cs(a,324947)|0;a=1;break}case 1:{eEa(a,-1e4,324956);if((DDa(a,-1)|0)==5)a=1;else{yDa(a,-2);hEa(a,0,0);CDa(a,-1);lEa(a,-1e4,324956);a=1}break}default:a=aHa(a,324969,c)|0}r=c;return a|0}function Gs(a,b){a=a|0;b=b|0;eEa(a,-10002,b);if((DDa(a,-1)|0)==5)return 1;yDa(a,-2);hEa(a,0,0);CDa(a,-1);lEa(a,-10002,b);return 1}function Hs(a,b,c){a=a|0;b=b|0;c=c|0;eEa(a,-10002,520407);eEa(a,-1,520519);$Da(a,b,0);lEa(a,-2,c);yDa(a,-3);return 0}function Is(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+16|0;ct(b,c);eEa(a,-1e4,324956);if((DDa(a,-1)|0)==5)yDa(a,-2);else{hEa(a,0,0);BDa(a,-2);hEa(a,0,0);XDa(a,439843,1);lEa(a,-2,518014);oEa(a,-2)|0;lEa(a,-1e4,324956)}gHa(a,c)|0;CDa(a,-1);lEa(a,-2,520511);$Da(a,1487,0);lEa(a,-2,520402);$Da(a,1488,0);lEa(a,-2,516317);YDa(a,c);$Da(a,1489,1);lEa(a,-2,518962);YDa(a,c);$Da(a,1490,1);lEa(a,-2,519081);$Da(a,1491,0);lEa(a,-2,325004);k[e>>2]=d;d=(k[e>>2]|0)+(4-1)&~(4-1);c=k[d>>2]|0;k[e>>2]=d+4;if(!c){yDa(a,-2);r=e;return 0}do{if(k[c>>2]|0)do{$Da(a,k[c+4>>2]|0,0);lEa(a,-2,k[c>>2]|0);c=c+8|0}while((k[c>>2]|0)!=0);d=(k[e>>2]|0)+(4-1)&~(4-1);c=k[d>>2]|0;k[e>>2]=d+4}while((c|0)!=0);yDa(a,-2);r=e;return 0}function Js(a){a=a|0;var b=0,c=0;c=RDa(a,1)|0;b=RDa(a,2)|0;aEa(a,(k[c+4>>2]|0)==(k[b+4>>2]|0)&1);return 1}function Ks(a){a=a|0;var b=0,c=0,d=0;b=r;r=r+16|0;c=RDa(a,1)|0;d=ODa(a,-10003,0)|0;c=k[c+4>>2]|0;k[b>>2]=d;k[b+4>>2]=c;_Da(a,517933,b)|0;r=b;return 1}function Ls(a){a=a|0;CDa(a,-10003);return 1}function Ms(a){a=a|0;var b=0,c=0,d=0;b=r;r=r+16|0;d=RDa(a,1)|0;k[b>>2]=0;dt(fHa(a,2,0)|0,b)|0;c=k[b>>2]|0;aEa(a,(k[(k[155799]|0)+(k[d>>2]<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0)!=0&1);r=b;return 1}function Ns(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c>>2]=0;if(et(b,c)|0){eEa(a,-1e4,k[c>>2]|0);r=c;return}else{UDa(a);r=c;return}}function Os(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;if((b|0)<0)b=b+1+(xDa(a)|0)|0;if((c|0)<0)e=c+1+(xDa(a)|0)|0;else e=c;if((d|0)==-1){CDa(a,e);nEa(a,b,(PDa(a,b)|0)+1|0);return 0}if((d|0)<0)d=d+1+(PDa(a,b)|0)|0;c=PDa(a,b)|0;if((c|0)>=(d|0)){c=c+1|0;do{f=c;c=c+-1|0;gEa(a,b,c);nEa(a,b,f)}while((c|0)>(d|0))}CDa(a,e);nEa(a,b,d);return 0}function Ps(a,b){a=a|0;b=b|0;return PDa(a,b)|0}function Qs(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;eEa(a,-10002,520407);if(!(DDa(a,-1)|0)){c=aHa(a,325011,d)|0;r=d;return c|0}eEa(a,-1,520743);if(!(DDa(a,-1)|0)){yDa(a,-2);eEa(a,-1,325066)}if(!(DDa(a,-1)|0)){c=aHa(a,325076,d+8|0)|0;r=d;return c|0}else{$Da(a,b,0);Os(a,-2,-1,c)|0;yDa(a,-4);c=0;r=d;return c|0}return 0}function Rs(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=r;r=r+16|0;if(!c){UDa(a);r=d;return}eEa(a,-1e4,324956);if((DDa(a,-1)|0)!=5){yDa(a,-2);e=AEa(a,8)|0;Si[k[(k[c>>2]|0)+8>>2]&1023](c);k[e+4>>2]=c;k[e>>2]=b;k[d>>2]=439367;et(b,d)|0;gHa(a,k[d>>2]|0)|0;oEa(a,-2)|0;r=d;return}bEa(a,c);dEa(a,-2);if((DDa(a,-1)|0)!=7){yDa(a,-2);e=AEa(a,8)|0;Si[k[(k[c>>2]|0)+8>>2]&1023](c);k[e+4>>2]=c;k[e>>2]=b;k[d>>2]=439367;et(b,d)|0;gHa(a,k[d>>2]|0)|0;oEa(a,-2)|0;bEa(a,c);CDa(a,-2);kEa(a,-4)}zDa(a,-2);r=d;return}function Ss(a,b,c){a=a|0;b=b|0;c=c|0;if((DDa(a,b)|0)!=7){c=0;return c|0}a=RDa(a,b)|0;a=k[a>>2]|0;if((a+-1|0)>>>0>=59){c=0;return c|0}c=(k[(k[155799]|0)+(a<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0)!=0;return c|0}function Ts(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+32|0;eEa(a,-10002,442740);if(!(DDa(a,-1)|0)){b=aHa(a,325139,d)|0;r=d;return b|0}eEa(a,-1,b);if(!(DDa(a,-1)|0)){k[d+8>>2]=b;b=aHa(a,325167,d+8|0)|0;r=d;return b|0}eEa(a,-1,c);if(!(DDa(a,-1)|0)){k[d+16>>2]=b;k[d+16+4>>2]=c;b=aHa(a,325191,d+16|0)|0;r=d;return b|0}else{zDa(a,-2);zDa(a,-2);b=0;r=d;return b|0}return 0}function Us(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+16|0;if(b>>>0>4294957296)b=b+1+(xDa(a)|0)|0;Ts(a,c,d)|0;CDa(a,b);qEa(a,1,2);do if((DDa(a,-2)|0)<1)if(!(HDa(a,-1)|0)){aHa(a,517450,e+8|0)|0;break}else{aHa(a,ODa(a,-1,0)|0,e)|0;break}while(0);yDa(a,-2);BDa(a,b);r=e;return 0}function Vs(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=r;r=r+16|0;Ts(a,d,e)|0;if((c|0)>0){e=0;do{CDa(a,k[b+(e<<2)>>2]|0);e=e+1|0}while((e|0)!=(c|0))}qEa(a,c,2);do if((DDa(a,-2)|0)<1)if(!(HDa(a,-1)|0)){aHa(a,517450,f+8|0)|0;break}else{aHa(a,ODa(a,-1,0)|0,f)|0;break}while(0);yDa(a,-2);if((c|0)<=0){r=f;return 0}BDa(a,k[b>>2]|0);r=f;return 0}function Ws(a){a=a|0;var b=0;eEa(a,-1e4,325218);if((DDa(a,-1)|0)<1){yDa(a,-2);cEa(a)|0;CDa(a,-1);lEa(a,-1e4,325218)}b=SDa(a,-1)|0;yDa(a,-2);return b|0}function Xs(a){a=a|0;var b=0;eEa(a,-1e4,325218);b=SDa(a,-1)|0;yDa(a,-2);return b|0}function Ys(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=r;r=r+16|0;e=DDa(a,b)|0;if((e|0)==7)if(!(pHa(a,b,519081)|0))f=6;else{CDa(a,b);if(!(rEa(a,1,1,0)|0))if((DDa(a,-1)|0)==4){d=ODa(a,-1,0)|0;if((d|0)==0|(dt(d,g+8|0)|0)^1)f=6}else f=6;else f=6}else f=6;if((f|0)==6)d=EDa(a,e)|0;k[g>>2]=c;k[g+4>>2]=d;f=$Ga(a,b,_Da(a,516788,g)|0)|0;r=g;return f|0}function Zs(a,b,c){a=a|0;b=b|0;c=c|0;if(b|0){hEa(a,0,0);if(c|0)if(k[c>>2]|0)do{$Da(a,k[c+4>>2]|0,0);lEa(a,-2,k[c>>2]|0);c=c+8|0}while((k[c>>2]|0)!=0);CDa(a,-1);lEa(a,-10002,b);return}if(!c)return;if(!(k[c>>2]|0))return;do{$Da(a,k[c+4>>2]|0,0);lEa(a,-2,k[c>>2]|0);c=c+8|0}while((k[c>>2]|0)!=0);return}function _s(){var a=0,b=0;a=r;r=r+480|0;k[a+472>>2]=1;k[a+472+4>>2]=0;$s(a+472|0,0)|0;b=k[a+472+4>>2]|0;k[155162]=k[a+472>>2];k[155163]=b;k[a+464>>2]=1;k[a+464+4>>2]=0;$s(a+464|0,1)|0;b=k[a+464+4>>2]|0;k[155164]=k[a+464>>2];k[155165]=b;k[a+456>>2]=1;k[a+456+4>>2]=0;$s(a+456|0,2)|0;b=k[a+456+4>>2]|k[155165];k[155166]=k[a+456>>2]|k[155164];k[155167]=b;k[a+448>>2]=1;k[a+448+4>>2]=0;$s(a+448|0,3)|0;b=k[a+448+4>>2]|k[155165];k[155168]=k[a+448>>2]|k[155164];k[155169]=b;k[a+440>>2]=1;k[a+440+4>>2]=0;$s(a+440|0,4)|0;b=k[a+440+4>>2]|k[155165];k[155170]=k[a+440>>2]|k[155164];k[155171]=b;k[a+432>>2]=1;k[a+432+4>>2]=0;$s(a+432|0,5)|0;b=k[a+432+4>>2]|k[155165];k[155172]=k[a+432>>2]|k[155164];k[155173]=b;k[a+424>>2]=1;k[a+424+4>>2]=0;$s(a+424|0,6)|0;b=k[a+424+4>>2]|k[155173];k[155174]=k[a+424>>2]|k[155172];k[155175]=b;k[a+416>>2]=1;k[a+416+4>>2]=0;$s(a+416|0,7)|0;b=k[a+416+4>>2]|k[155167];k[155176]=k[a+416>>2]|k[155166];k[155177]=b;k[a+408>>2]=1;k[a+408+4>>2]=0;$s(a+408|0,8)|0;b=k[a+408+4>>2]|k[155167];k[155178]=k[a+408>>2]|k[155166];k[155179]=b;k[a+400>>2]=1;k[a+400+4>>2]=0;$s(a+400|0,9)|0;b=k[a+400+4>>2]|k[155165];k[155180]=k[a+400>>2]|k[155164];k[155181]=b;k[a+392>>2]=1;k[a+392+4>>2]=0;$s(a+392|0,10)|0;b=k[a+392+4>>2]|k[155165];k[155182]=k[a+392>>2]|k[155164];k[155183]=b;k[a+384>>2]=1;k[a+384+4>>2]=0;$s(a+384|0,11)|0;b=k[a+384+4>>2]|k[155183];k[155184]=k[a+384>>2]|k[155182];k[155185]=b;k[a+376>>2]=1;k[a+376+4>>2]=0;$s(a+376|0,12)|0;b=k[a+376+4>>2]|k[155185];k[155186]=k[a+376>>2]|k[155184];k[155187]=b;k[a+368>>2]=1;k[a+368+4>>2]=0;$s(a+368|0,13)|0;b=k[a+368+4>>2]|k[155165];k[155188]=k[a+368>>2]|k[155164];k[155189]=b;k[a+360>>2]=1;k[a+360+4>>2]=0;$s(a+360|0,14)|0;b=k[a+360+4>>2]|k[155165];k[155190]=k[a+360>>2]|k[155164];k[155191]=b;k[a+352>>2]=1;k[a+352+4>>2]=0;$s(a+352|0,15)|0;b=k[a+352+4>>2]|k[155183];k[155192]=k[a+352>>2]|k[155182];k[155193]=b;k[a+344>>2]=1;k[a+344+4>>2]=0;$s(a+344|0,16)|0;b=k[a+344+4>>2]|k[155183];k[155194]=k[a+344>>2]|k[155182];k[155195]=b;k[a+336>>2]=1;k[a+336+4>>2]=0;$s(a+336|0,17)|0;b=k[a+336+4>>2]|k[155185];k[155196]=k[a+336>>2]|k[155184];k[155197]=b;k[a+328>>2]=1;k[a+328+4>>2]=0;$s(a+328|0,18)|0;b=k[a+328+4>>2]|k[155165];k[155198]=k[a+328>>2]|k[155164];k[155199]=b;k[a+320>>2]=1;k[a+320+4>>2]=0;$s(a+320|0,19)|0;b=k[a+320+4>>2]|k[155183];k[155200]=k[a+320>>2]|k[155182];k[155201]=b;k[a+312>>2]=1;k[a+312+4>>2]=0;$s(a+312|0,20)|0;b=k[a+312+4>>2]|k[155183];k[155202]=k[a+312>>2]|k[155182];k[155203]=b;k[a+304>>2]=1;k[a+304+4>>2]=0;$s(a+304|0,21)|0;b=k[a+304+4>>2]|k[155183];k[155204]=k[a+304>>2]|k[155182];k[155205]=b;k[a+296>>2]=1;k[a+296+4>>2]=0;$s(a+296|0,22)|0;b=k[a+296+4>>2]|k[155167];k[155206]=k[a+296>>2]|k[155166];k[155207]=b;k[a+288>>2]=1;k[a+288+4>>2]=0;$s(a+288|0,23)|0;b=k[a+288+4>>2]|k[155167];k[155208]=k[a+288>>2]|k[155166];k[155209]=b;k[a+280>>2]=1;k[a+280+4>>2]=0;$s(a+280|0,24)|0;b=k[a+280+4>>2]|k[155165];k[155210]=k[a+280>>2]|k[155164];k[155211]=b;k[a+272>>2]=1;k[a+272+4>>2]=0;$s(a+272|0,25)|0;b=k[a+272+4>>2]|k[155165];k[155212]=k[a+272>>2]|k[155164];k[155213]=b;k[a+264>>2]=1;k[a+264+4>>2]=0;$s(a+264|0,26)|0;b=k[a+264+4>>2]|k[155165];k[155214]=k[a+264>>2]|k[155164];k[155215]=b;k[a+256>>2]=1;k[a+256+4>>2]=0;$s(a+256|0,27)|0;b=k[a+256+4>>2]|k[155167];k[155216]=k[a+256>>2]|k[155166];k[155217]=b;k[a+248>>2]=1;k[a+248+4>>2]=0;$s(a+248|0,28)|0;b=k[a+248+4>>2]|k[155165];k[155218]=k[a+248>>2]|k[155164];k[155219]=b;k[a+240>>2]=1;k[a+240+4>>2]=0;$s(a+240|0,29)|0;b=k[a+240+4>>2]|k[155167];k[155220]=k[a+240>>2]|k[155166];k[155221]=b;k[a+232>>2]=1;k[a+232+4>>2]=0;$s(a+232|0,30)|0;b=k[a+232+4>>2]|0;k[155222]=k[a+232>>2];k[155223]=b;k[a+224>>2]=1;k[a+224+4>>2]=0;$s(a+224|0,31)|0;b=k[a+224+4>>2]|k[155165];k[155224]=k[a+224>>2]|k[155164];k[155225]=b;k[a+216>>2]=1;k[a+216+4>>2]=0;$s(a+216|0,32)|0;b=k[a+216+4>>2]|k[155165];k[155226]=k[a+216>>2]|k[155164];k[155227]=b;k[a+208>>2]=1;k[a+208+4>>2]=0;$s(a+208|0,33)|0;b=k[a+208+4>>2]|k[155165];k[155228]=k[a+208>>2]|k[155164];k[155229]=b;k[a+200>>2]=1;k[a+200+4>>2]=0;$s(a+200|0,34)|0;b=k[a+200+4>>2]|k[155165];k[155230]=k[a+200>>2]|k[155164];k[155231]=b;k[a+192>>2]=1;k[a+192+4>>2]=0;$s(a+192|0,35)|0;b=k[a+192+4>>2]|k[155165];k[155232]=k[a+192>>2]|k[155164];k[155233]=b;k[a+184>>2]=1;k[a+184+4>>2]=0;$s(a+184|0,36)|0;b=k[a+184+4>>2]|k[155165];k[155234]=k[a+184>>2]|k[155164];k[155235]=b;k[a+176>>2]=1;k[a+176+4>>2]=0;$s(a+176|0,37)|0;b=k[a+176+4>>2]|k[155235];k[155236]=k[a+176>>2]|k[155234];k[155237]=b;k[a+168>>2]=1;k[a+168+4>>2]=0;$s(a+168|0,38)|0;b=k[a+168+4>>2]|k[155235];k[155238]=k[a+168>>2]|k[155234];k[155239]=b;k[a+160>>2]=1;k[a+160+4>>2]=0;$s(a+160|0,39)|0;b=k[a+160+4>>2]|k[155235];k[155240]=k[a+160>>2]|k[155234];k[155241]=b;k[a+152>>2]=1;k[a+152+4>>2]=0;$s(a+152|0,40)|0;b=k[a+152+4>>2]|k[155235];k[155242]=k[a+152>>2]|k[155234];k[155243]=b;k[a+144>>2]=1;k[a+144+4>>2]=0;$s(a+144|0,41)|0;b=k[a+144+4>>2]|k[155165];k[155244]=k[a+144>>2]|k[155164];k[155245]=b;k[a+136>>2]=1;k[a+136+4>>2]=0;$s(a+136|0,42)|0;b=k[a+136+4>>2]|k[155245];k[155246]=k[a+136>>2]|k[155244];k[155247]=b;k[a+128>>2]=1;k[a+128+4>>2]=0;$s(a+128|0,43)|0;b=k[a+128+4>>2]|k[155245];k[155248]=k[a+128>>2]|k[155244];k[155249]=b;k[a+120>>2]=1;k[a+120+4>>2]=0;$s(a+120|0,44)|0;b=k[a+120+4>>2]|k[155245];k[155250]=k[a+120>>2]|k[155244];k[155251]=b;k[a+112>>2]=1;k[a+112+4>>2]=0;$s(a+112|0,45)|0;b=k[a+112+4>>2]|k[155245];k[155252]=k[a+112>>2]|k[155244];k[155253]=b;k[a+104>>2]=1;k[a+104+4>>2]=0;$s(a+104|0,46)|0;b=k[a+104+4>>2]|k[155245];k[155254]=k[a+104>>2]|k[155244];k[155255]=b;k[a+96>>2]=1;k[a+96+4>>2]=0;$s(a+96|0,47)|0;b=k[a+96+4>>2]|k[155245];k[155256]=k[a+96>>2]|k[155244];k[155257]=b;k[a+88>>2]=1;k[a+88+4>>2]=0;$s(a+88|0,48)|0;b=k[a+88+4>>2]|k[155245];k[155258]=k[a+88>>2]|k[155244];k[155259]=b;k[a+80>>2]=1;k[a+80+4>>2]=0;$s(a+80|0,49)|0;b=k[a+80+4>>2]|k[155245];k[155260]=k[a+80>>2]|k[155244];k[155261]=b;k[a+72>>2]=1;k[a+72+4>>2]=0;$s(a+72|0,50)|0;b=k[a+72+4>>2]|k[155245];k[155262]=k[a+72>>2]|k[155244];k[155263]=b;k[a+64>>2]=1;k[a+64+4>>2]=0;$s(a+64|0,51)|0;b=k[a+64+4>>2]|k[155245];k[155264]=k[a+64>>2]|k[155244];k[155265]=b;k[a+56>>2]=1;k[a+56+4>>2]=0;$s(a+56|0,52)|0;b=k[a+56+4>>2]|k[155245];k[155266]=k[a+56>>2]|k[155244];k[155267]=b;k[a+48>>2]=1;k[a+48+4>>2]=0;$s(a+48|0,53)|0;b=k[a+48+4>>2]|k[155165];k[155268]=k[a+48>>2]|k[155164];k[155269]=b;k[a+40>>2]=1;k[a+40+4>>2]=0;$s(a+40|0,54)|0;b=k[a+40+4>>2]|k[155165];k[155270]=k[a+40>>2]|k[155164];k[155271]=b;k[a+32>>2]=1;k[a+32+4>>2]=0;$s(a+32|0,55)|0;b=k[a+32+4>>2]|k[155171];k[155272]=k[a+32>>2]|k[155170];k[155273]=b;k[a+24>>2]=1;k[a+24+4>>2]=0;$s(a+24|0,56)|0;b=k[a+24+4>>2]|k[155169];k[155274]=k[a+24>>2]|k[155168];k[155275]=b;k[a+16>>2]=1;k[a+16+4>>2]=0;$s(a+16|0,57)|0;b=k[a+16+4>>2]|k[155169];k[155276]=k[a+16>>2]|k[155168];k[155277]=b;k[a+8>>2]=1;k[a+8+4>>2]=0;$s(a+8|0,58)|0;b=k[a+8+4>>2]|k[155169];k[155278]=k[a+8>>2]|k[155168];k[155279]=b;k[a>>2]=1;k[a+4>>2]=0;$s(a,59)|0;b=k[a+4>>2]|k[155169];k[155280]=k[a>>2]|k[155168];k[155281]=b;k[155799]=620648;bt(623200,0,0);r=a;return}function $s(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=r;r=r+32|0;d=b>>>0>60?60:b;if((60-d&31|0)==28){b=(60-d|0)>>>5<<5|28;if((b|0)>0){f=(b|0)<28?b:28;k[a+4>>2]=k[a+4>>2]&-268435456|k[a+((60-d|0)>>>5<<2)>>2]&268435455;c=a+4+(0-((b-f|0)>>>5)<<2)|0;BBb(c|0,a+((60-d|0)>>>5<<2)+(0-((b-f|0)>>>5)<<2)|0,(b-f|0)>>>3|0)|0;b=60-d-f&31}else{b=28;c=a+4|0}k[e>>2]=c;k[e+4>>2]=b}else{k[e+24>>2]=a;k[e+24+4>>2]=0;k[e+16>>2]=a+((60-d|0)>>>5<<2);k[e+16+4>>2]=60-d&31;k[e+8>>2]=a+4;k[e+8+4>>2]=28;at(e,e+24|0,e+16|0,e+8|0)}if(!d){r=e;return a|0}vBb(a|0,0,d>>>5<<2|0)|0;if((d>>>5<<5|0)==(d|0)){r=e;return a|0}k[a+(d>>>5<<2)>>2]=k[a+(d>>>5<<2)>>2]&~(-1>>>(32-d+(d>>>5<<5)|0));r=e;return a|0}function at(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,l=0;f=k[c>>2]|0;g=k[c+4>>2]|0;e=(f-(k[b>>2]|0)<<3)+g-(k[b+4>>2]|0)|0;if((e|0)<=0){c=d+4|0;d=k[d>>2]|0;k[a>>2]=d;a=a+4|0;d=k[c>>2]|0;k[a>>2]=d;return}if(!g)i=d+4|0;else{h=(e|0)<(g|0)?e:g;f=-1<>>(32-g|0)&k[f>>2];b=k[d+4>>2]|0;g=(b|0)<(h|0)?b:h;if(!g)b=h;else{i=k[d>>2]|0;l=k[i>>2]&~(-1<>>(32-b|0));k[i>>2]=l;b=k[d+4>>2]|0;j=k[c+4>>2]|0;k[i>>2]=l|(b>>>0>j>>>0?f<>>(j-b|0));k[d+4>>2]=(k[d+4>>2]|0)-g&31;b=h-g|0}if((b|0)>0){i=(k[d>>2]|0)+-4|0;k[d>>2]=i;l=0-b&31;k[d+4>>2]=l;k[i>>2]=k[i>>2]&~(-1<>2]|0)-(b+g)|0;k[c+4>>2]=l;k[i>>2]=k[i>>2]|f<<(k[d+4>>2]|0)-l;i=d+4|0;e=e-h|0}else{i=d+4|0;e=e-h|0}}b=32-(k[i>>2]|0)|0;if(e>>>0>31){f=e;do{j=(k[c>>2]|0)+-4|0;k[c>>2]=j;j=k[j>>2]|0;l=k[d>>2]|0;k[l>>2]=k[l>>2]&~(-1>>>b)|j>>>b;k[d>>2]=l+-4;h=k[l+-4>>2]&-1>>>b;k[l+-4>>2]=h;k[l+-4>>2]=h|j<>2];f=f+-32|0}while(f>>>0>31);g=e&31}else g=e;if((g|0)<=0){j=i;l=k[d>>2]|0;k[a>>2]=l;l=a+4|0;j=k[j>>2]|0;k[l>>2]=j;return}f=(k[c>>2]|0)+-4|0;k[c>>2]=f;f=k[f>>2]&-1<<32-g;l=k[i>>2]|0;e=(l|0)<(g|0)?l:g;b=k[d>>2]|0;l=k[b>>2]&~(-1<>>(32-l|0));k[b>>2]=l;k[b>>2]=l|f>>>(32-(k[i>>2]|0)|0);k[i>>2]=(k[i>>2]|0)-e&31;e=g-e|0;if((e|0)<=0){j=i;l=k[d>>2]|0;k[a>>2]=l;l=a+4|0;j=k[j>>2]|0;k[l>>2]=j;return}k[d>>2]=b+-4;k[i>>2]=0-e&31;j=k[b+-4>>2]&~(-1<<(0-e&31));k[b+-4>>2]=j;k[b+-4>>2]=j|f<>2]|0);j=i;l=k[d>>2]|0;k[a>>2]=l;l=a+4|0;j=k[j>>2]|0;k[l>>2]=j;return}function bt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0;m=r;r=r+16|0;i[a+8>>0]=0;i[a+20>>0]=0;i[a+32>>0]=0;i[a+44>>0]=0;i[a+56>>0]=0;i[a+68>>0]=0;i[a+80>>0]=0;i[a+92>>0]=0;i[a+104>>0]=0;i[a+116>>0]=0;i[a+128>>0]=0;i[a+140>>0]=0;i[a+152>>0]=0;i[a+164>>0]=0;i[a+176>>0]=0;i[a+188>>0]=0;i[a+200>>0]=0;i[a+212>>0]=0;i[a+224>>0]=0;i[a+236>>0]=0;i[a+248>>0]=0;i[a+260>>0]=0;i[a+272>>0]=0;i[a+284>>0]=0;i[a+296>>0]=0;i[a+308>>0]=0;i[a+320>>0]=0;i[a+332>>0]=0;i[a+344>>0]=0;i[a+356>>0]=0;i[a+368>>0]=0;i[a+380>>0]=0;i[a+392>>0]=0;i[a+404>>0]=0;i[a+416>>0]=0;i[a+428>>0]=0;i[a+440>>0]=0;i[a+452>>0]=0;i[a+464>>0]=0;i[a+476>>0]=0;i[a+488>>0]=0;i[a+500>>0]=0;i[a+512>>0]=0;i[a+524>>0]=0;i[a+536>>0]=0;i[a+548>>0]=0;i[a+560>>0]=0;i[a+572>>0]=0;i[a+584>>0]=0;i[a+596>>0]=0;i[a+608>>0]=0;i[a+620>>0]=0;i[a+632>>0]=0;i[a+644>>0]=0;i[a+656>>0]=0;i[a+668>>0]=0;i[a+680>>0]=0;i[a+692>>0]=0;i[a+704>>0]=0;i[a+716>>0]=0;i[a+728>>0]=0;i[a+740>>0]=0;i[a+752>>0]=0;i[a+764>>0]=0;i[a+776>>0]=0;i[a+788>>0]=0;i[a+800>>0]=0;i[a+812>>0]=0;i[a+824>>0]=0;i[a+836>>0]=0;i[a+848>>0]=0;i[a+860>>0]=0;i[a+872>>0]=0;i[a+884>>0]=0;i[a+896>>0]=0;i[a+908>>0]=0;i[a+920>>0]=0;i[a+932>>0]=0;i[a+944>>0]=0;i[a+956>>0]=0;i[a+968>>0]=0;i[a+980>>0]=0;i[a+992>>0]=0;i[a+1004>>0]=0;i[a+1016>>0]=0;i[a+1028>>0]=0;i[a+1040>>0]=0;i[a+1052>>0]=0;i[a+1064>>0]=0;i[a+1076>>0]=0;i[a+1088>>0]=0;i[a+1100>>0]=0;i[a+1112>>0]=0;i[a+1124>>0]=0;i[a+1136>>0]=0;i[a+1148>>0]=0;i[a+1160>>0]=0;i[a+1172>>0]=0;i[a+1184>>0]=0;i[a+1196>>0]=0;i[a+1208>>0]=0;i[a+1220>>0]=0;i[a+1232>>0]=0;i[a+1244>>0]=0;i[a+1256>>0]=0;i[a+1268>>0]=0;i[a+1280>>0]=0;i[a+1292>>0]=0;i[a+1304>>0]=0;i[a+1316>>0]=0;i[a+1328>>0]=0;i[a+1340>>0]=0;i[a+1352>>0]=0;i[a+1364>>0]=0;i[a+1376>>0]=0;i[a+1388>>0]=0;i[a+1400>>0]=0;i[a+1412>>0]=0;i[a+1424>>0]=0;i[a+1436>>0]=0;vBb(a+1440|0,0,240)|0;if(!(c>>>3)){r=m;return}else j=0;do{g=k[b+(j<<3)>>2]|0;h=k[b+(j<<3)+4>>2]|0;d=i[g>>0]|0;if(!(d<<24>>24))e=5381;else{f=g;e=5381;do{f=f+1|0;e=(e*33|0)+(d<<24>>24)|0;d=i[f>>0]|0}while(d<<24>>24!=0)}f=0;do{d=((f+e|0)>>>0)%120|0;f=f+1|0;if(!(i[a+(d*12|0)+8>>0]|0)){l=8;break}}while(f>>>0<120);if((l|0)==8){l=0;i[a+(d*12|0)+8>>0]=1;k[a+(d*12|0)>>2]=g;k[a+(d*12|0)+4>>2]=h}if(h>>>0>59){k[m>>2]=g;k[m+4>>2]=h;Jpb(441170,m)|0}else k[a+1440+(h<<2)>>2]=g;j=j+1|0}while((j|0)!=(c>>>3|0));r=m;return}function ct(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=r;r=r+16|0;if(a>>>0<=59)if(k[624640+(a<<2)>>2]|0){r=g;return}c=i[b>>0]|0;if(!(c<<24>>24))d=5381;else{e=b;d=5381;do{e=e+1|0;d=(d*33|0)+(c<<24>>24)|0;c=i[e>>0]|0}while(c<<24>>24!=0)}e=0;do{c=((e+d|0)>>>0)%120|0;e=e+1|0;if(!(i[623200+(c*12|0)+8>>0]|0)){f=8;break}}while(e>>>0<120);if((f|0)==8){i[623200+(c*12|0)+8>>0]=1;k[623200+(c*12|0)>>2]=b;k[623200+(c*12|0)+4>>2]=a}if(a>>>0>59){k[g>>2]=b;k[g+4>>2]=a;Jpb(441170,g)|0;r=g;return}else{k[624640+(a<<2)>>2]=b;r=g;return}}function dt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0;c=i[a>>0]|0;if(!(c<<24>>24))d=5381;else{e=a;d=5381;do{e=e+1|0;d=(d*33|0)+(c<<24>>24)|0;c=i[e>>0]|0}while(c<<24>>24!=0)}h=0;while(1){g=((h+d|0)>>>0)%120|0;if(!(i[623200+(g*12|0)+8>>0]|0)){c=1;d=0;j=11;break}e=k[623200+(g*12|0)>>2]|0;f=i[e>>0]|0;a:do if(!(f<<24>>24)){c=a;j=8}else{c=a;while(1){l=i[c>>0]|0;if(!(l<<24>>24?f<<24>>24==l<<24>>24:0))break a;e=e+1|0;c=c+1|0;f=i[e>>0]|0;if(!(f<<24>>24)){j=8;break}}}while(0);if((j|0)==8){j=0;if(!(i[c>>0]|0)){j=9;break}}h=h+1|0;if(h>>>0>=120){c=0;d=0;j=11;break}}if((j|0)==9){k[b>>2]=k[623200+(g*12|0)+4>>2];j=1;l=1;l=j&l;return l|0}else if((j|0)==11){l=c&d;return l|0}return 0}function et(a,b){a=a|0;b=b|0;if(a>>>0>59)a=0;else{a=k[624640+(a<<2)>>2]|0;if(!a)a=0;else{k[b>>2]=a;a=1}}return a|0}function ft(a){a=a|0;var b=0,c=0;b=Hk(a,1,2)|0;c=Gi[k[(k[b>>2]|0)+16>>2]&2047](b)|0;XDa(a,c,Gi[k[(k[b>>2]|0)+20>>2]&2047](b)|0);return 1}function gt(a){a=a|0;var b=0;b=Hk(a,1,2)|0;bEa(a,Gi[k[(k[b>>2]|0)+16>>2]&2047](b)|0);return 1}function ht(a){a=a|0;var b=0;b=Hk(a,1,2)|0;VDa(a,+((Gi[k[(k[b>>2]|0)+20>>2]&2047](b)|0)>>>0));return 1}function it(a,b){a=a|0;b=b|0;return Hk(a,b,2)|0}function jt(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=12068;k[b+4>>2]=0;Is(a,2,325256,b)|0;r=b;return 0}function kt(a){a=a|0;var b=0;b=k[155698]|0;WDa(a,Gi[k[(k[b>>2]|0)+32>>2]&2047](b)|0);return 1}function lt(a){a=a|0;var b=0,c=0,d=0,e=0;d=r;r=r+16|0;if(!(HDa(a,1)|0)){if(Ss(a,1,5)|0)c=4;else if(Ss(a,1,7)|0)c=4}else c=4;if((c|0)==4)Us(a,1,325261,325267)|0;k[d+4>>2]=1;if((DDa(a,2)|0)>=1){b=ODa(a,2,0)|0;if(b|0){if(!(x2(b,d+4|0)|0)){k[d>>2]=b;c=aHa(a,325278,d)|0;r=d;return c|0}if(!(k[d+4>>2]|0))if(Ss(a,1,30)|0)Us(a,1,325261,325302)|0}}if(Ss(a,1,29)|0){c=k[155698]|0;e=k[(k[c>>2]|0)+28>>2]|0;b=(RDa(a,1)|0)+4|0;b=gj[e&511](c,k[b>>2]|0)|0;c=16}else if(Ss(a,1,30)|0){c=k[155698]|0;e=k[(k[c>>2]|0)+24>>2]|0;b=(RDa(a,1)|0)+4|0;b=gj[e&511](c,k[b>>2]|0)|0;c=16}if((c|0)==16)if(b|0){Rs(a,28,b);Si[k[(k[b>>2]|0)+12>>2]&1023](b);e=1;r=d;return e|0}e=Ys(a,1,325315)|0;r=d;return e|0}function mt(a){a=a|0;var b=0,c=0;b=Et(a,1)|0;c=k[155698]|0;rs(a,gj[k[(k[c>>2]|0)+44>>2]&511](c,b)|0);return 1}function nt(a){a=a|0;if(!(xDa(a)|0)){a=k[155698]|0;Si[k[(k[a>>2]|0)+52>>2]&1023](a);return 0}else{a=Et(a,1)|0;Si[k[(k[a>>2]|0)+24>>2]&1023](a);return 0}return 0}function ot(a){a=a|0;if(!(xDa(a)|0)){a=k[155698]|0;Si[k[(k[a>>2]|0)+60>>2]&1023](a);return 0}else{a=Et(a,1)|0;Si[k[(k[a>>2]|0)+28>>2]&1023](a);return 0}return 0}function pt(a){a=a|0;if(!(xDa(a)|0)){a=k[155698]|0;Si[k[(k[a>>2]|0)+68>>2]&1023](a);return 0}else{a=Et(a,1)|0;Si[k[(k[a>>2]|0)+32>>2]&1023](a);return 0}return 0}function qt(a){a=a|0;if(!(xDa(a)|0)){a=k[155698]|0;Si[k[(k[a>>2]|0)+76>>2]&1023](a);return 0}else{a=Et(a,1)|0;Si[k[(k[a>>2]|0)+36>>2]&1023](a);return 0}return 0}function rt(a){a=a|0;var b=0.0;b=+lHa(a,1);a=k[155698]|0;Ai[k[(k[a>>2]|0)+80>>2]&31](a,b);return 0}function st(a){a=a|0;var b=0;b=k[155698]|0;VDa(a,+Xi[k[(k[b>>2]|0)+84>>2]&63](b));return 1}function tt(a){a=a|0;var b=0,c=0.0;b=r;r=r+16|0;c=+lHa(a,1);o[b>>2]=c;c=+lHa(a,2);o[b+4>>2]=c;c=+mHa(a,3,0.0);o[b+8>>2]=c;a=k[155698]|0;Di[k[(k[a>>2]|0)+92>>2]&511](a,b);r=b;return 0}function ut(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;c=k[155698]|0;Di[k[(k[c>>2]|0)+88>>2]&511](c,b);VDa(a,+o[b>>2]);VDa(a,+o[b+4>>2]);VDa(a,+o[b+8>>2]);r=b;return 3}function vt(a){a=a|0;var b=0,c=0.0;b=r;r=r+32|0;c=+lHa(a,1);o[b>>2]=c;c=+lHa(a,2);o[b+4>>2]=c;c=+lHa(a,3);o[b+8>>2]=c;c=+lHa(a,4);o[b+12>>2]=c;c=+lHa(a,5);o[b+16>>2]=c;c=+lHa(a,6);o[b+20>>2]=c;a=k[155698]|0;Di[k[(k[a>>2]|0)+100>>2]&511](a,b);r=b;return 0}function wt(a){a=a|0;var b=0,c=0;b=r;r=r+32|0;c=k[155698]|0;Di[k[(k[c>>2]|0)+96>>2]&511](c,b);VDa(a,+o[b>>2]);VDa(a,+o[b+4>>2]);VDa(a,+o[b+8>>2]);VDa(a,+o[b+12>>2]);VDa(a,+o[b+16>>2]);VDa(a,+o[b+20>>2]);r=b;return 6}function xt(a){a=a|0;var b=0,c=0.0;b=r;r=r+16|0;c=+lHa(a,1);o[b>>2]=c;c=+lHa(a,2);o[b+4>>2]=c;c=+mHa(a,3,0.0);o[b+8>>2]=c;a=k[155698]|0;Di[k[(k[a>>2]|0)+108>>2]&511](a,b);r=b;return 0}function yt(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;c=k[155698]|0;Di[k[(k[c>>2]|0)+104>>2]&511](c,b);VDa(a,+o[b>>2]);VDa(a,+o[b+4>>2]);VDa(a,+o[b+8>>2]);r=b;return 3}function zt(a){a=a|0;var b=0.0,c=0,d=0;c=k[155698]|0;d=k[(k[c>>2]|0)+112>>2]|0;b=+lHa(a,1);Ai[d&31](c,b);return 0}function At(a){a=a|0;var b=0;b=k[155698]|0;VDa(a,+Xi[k[(k[b>>2]|0)+116>>2]&63](b));return 1}function Bt(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=fHa(a,1,0)|0;if(q2(b,c+4|0)|0){a=k[155698]|0;Di[k[(k[a>>2]|0)+140>>2]&511](a,k[c+4>>2]|0);a=0;r=c;return a|0}else{k[c>>2]=b;a=aHa(a,325336,c)|0;r=c;return a|0}return 0}function Ct(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;c=k[155698]|0;if(!(r2(Gi[k[(k[c>>2]|0)+136>>2]&2047](c)|0,b)|0)){c=0;r=b;return c|0}YDa(a,k[b>>2]|0);c=1;r=b;return c|0}function Dt(a){a=a|0;var b=0,c=0;c=r;r=r+32|0;b=k[155698]|0;if(!b){b=kBb(32)|0;M0(b)}else Si[k[(k[b>>2]|0)+8>>2]&1023](b);k[c>>2]=b;k[c+4>>2]=325363;k[c+8>>2]=3;k[c+12>>2]=12100;k[c+16>>2]=12260;a=Bs(a,c)|0;r=c;return a|0}function Et(a,b){a=a|0;b=b|0;return Ft(a,b,28)|0}function Ft(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((DDa(a,b)|0)!=7){k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0}d=RDa(a,b)|0;if(k[(k[155799]|0)+(k[d>>2]<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0){c=d+4|0;c=k[c>>2]|0;r=e;return c|0}k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0;c=d+4|0;c=k[c>>2]|0;r=e;return c|0}function Gt(a){a=a|0;var b=0;b=Ft(a,1,28)|0;b=Gi[k[(k[b>>2]|0)+16>>2]&2047](b)|0;Rs(a,28,b);Si[k[(k[b>>2]|0)+12>>2]&1023](b);return 1}function Ht(a){a=a|0;var b=0;b=Ft(a,1,28)|0;rs(a,Gi[k[(k[b>>2]|0)+20>>2]&2047](b)|0);return 1}function It(a){a=a|0;a=Ft(a,1,28)|0;Si[k[(k[a>>2]|0)+24>>2]&1023](a);return 0}function Jt(a){a=a|0;a=Ft(a,1,28)|0;Si[k[(k[a>>2]|0)+28>>2]&1023](a);return 0}function Kt(a){a=a|0;a=Ft(a,1,28)|0;Si[k[(k[a>>2]|0)+32>>2]&1023](a);return 0}function Lt(a){a=a|0;a=Ft(a,1,28)|0;Si[k[(k[a>>2]|0)+36>>2]&1023](a);return 0}function Mt(a){a=a|0;var b=0,c=0.0,d=0;d=r;r=r+16|0;b=Ft(a,1,28)|0;c=+lHa(a,2);if(!(c>1797693134862315708145274.0e284))if(!(c!=c|0.0!=0.0|c<2.2250738585072014e-308)){Ai[k[(k[b>>2]|0)+56>>2]&31](b,c);a=0;r=d;return a|0}a=aHa(a,325490,d)|0;r=d;return a|0}function Nt(a){a=a|0;var b=0;b=Ft(a,1,28)|0;VDa(a,+Xi[k[(k[b>>2]|0)+60>>2]&63](b));return 1}function Ot(a){a=a|0;var b=0.0,c=0;c=Ft(a,1,28)|0;b=+lHa(a,2);Ai[k[(k[c>>2]|0)+64>>2]&31](c,b);return 0}function Pt(a){a=a|0;var b=0;b=Ft(a,1,28)|0;VDa(a,+Xi[k[(k[b>>2]|0)+68>>2]&63](b));return 1}function Qt(a){a=a|0;var b=0,c=0,d=0.0,e=0,f=0;f=r;r=r+16|0;c=Ft(a,1,28)|0;d=+lHa(a,2);if(d<0.0){e=$Ga(a,2,325526)|0;r=f;return e|0}k[f+4>>2]=0;do if((DDa(a,3)|0)<1){b=0;e=8}else{b=ODa(a,3,0)|0;if(!b){b=0;e=8}else if(A2(b,f+4|0)|0){b=k[f+4>>2]|0;e=8;break}else{k[f>>2]=b;b=aHa(a,325560,f)|0;break}}while(0);if((e|0)==8){Oi[k[(k[c>>2]|0)+72>>2]&3](c,d,b);b=0}e=b;r=f;return e|0}function Rt(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+16|0;c=Ft(a,1,28)|0;k[d+4>>2]=0;do if((DDa(a,2)|0)<1)b=0;else{b=ODa(a,2,0)|0;if(!b)b=0;else{if(A2(b,d+4|0)|0){b=k[d+4>>2]|0;break}k[d>>2]=b;a=aHa(a,325560,d)|0;r=d;return a|0}}while(0);VDa(a,+jj[k[(k[c>>2]|0)+76>>2]&15](c,b));a=1;r=d;return a|0}function St(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+16|0;c=Ft(a,1,28)|0;k[d+4>>2]=0;do if((DDa(a,2)|0)<1)b=0;else{b=ODa(a,2,0)|0;if(!b)b=0;else{if(A2(b,d+4|0)|0){b=k[d+4>>2]|0;break}k[d>>2]=b;a=aHa(a,325560,d)|0;r=d;return a|0}}while(0);VDa(a,+jj[k[(k[c>>2]|0)+80>>2]&15](c,b));a=1;r=d;return a|0}function Tt(a){a=a|0;var b=0,c=0,d=0.0;b=r;r=r+16|0;c=Ft(a,1,28)|0;d=+lHa(a,2);o[b>>2]=d;d=+lHa(a,3);o[b+4>>2]=d;d=+mHa(a,4,0.0);o[b+8>>2]=d;Di[k[(k[c>>2]|0)+84>>2]&511](c,b);r=b;return 0}function Ut(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;c=Ft(a,1,28)|0;Di[k[(k[c>>2]|0)+88>>2]&511](c,b);VDa(a,+o[b>>2]);VDa(a,+o[b+4>>2]);VDa(a,+o[b+8>>2]);r=b;return 3}function Vt(a){a=a|0;var b=0,c=0,d=0.0;b=r;r=r+16|0;c=Ft(a,1,28)|0;d=+lHa(a,2);o[b>>2]=d;d=+lHa(a,3);o[b+4>>2]=d;d=+mHa(a,4,0.0);o[b+8>>2]=d;Di[k[(k[c>>2]|0)+92>>2]&511](c,b);r=b;return 0}function Wt(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;c=Ft(a,1,28)|0;Di[k[(k[c>>2]|0)+96>>2]&511](c,b);VDa(a,+o[b>>2]);VDa(a,+o[b+4>>2]);VDa(a,+o[b+8>>2]);r=b;return 3}function Xt(a){a=a|0;var b=0,c=0,d=0.0;b=r;r=r+16|0;c=Ft(a,1,28)|0;d=+lHa(a,2);o[b>>2]=d;d=+lHa(a,3);o[b+4>>2]=d;d=+mHa(a,4,0.0);o[b+8>>2]=d;Di[k[(k[c>>2]|0)+100>>2]&511](c,b);r=b;return 0}function Yt(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;c=Ft(a,1,28)|0;Di[k[(k[c>>2]|0)+104>>2]&511](c,b);VDa(a,+o[b>>2]);VDa(a,+o[b+4>>2]);VDa(a,+o[b+8>>2]);r=b;return 3}function Zt(a){a=a|0;var b=0.0,c=0.0,d=0.0,e=0;e=Ft(a,1,28)|0;d=+lHa(a,2);c=+lHa(a,3);b=+mHa(a,4,0.0);Mi[k[(k[e>>2]|0)+108>>2]&7](e,d,c,b);return 0}function _t(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;c=Ft(a,1,28)|0;vj[k[(k[c>>2]|0)+112>>2]&127](c,b+8|0,b+4|0,b);VDa(a,+o[b+8>>2]);VDa(a,+o[b+4>>2]);VDa(a,+o[b>>2]);r=b;return 3}function $t(a){a=a|0;var b=0,c=0;b=Ft(a,1,28)|0;c=k[(k[b>>2]|0)+116>>2]|0;a=qs(a,2)|0;Di[c&511](b,a);return 0}function au(a){a=a|0;var b=0;b=Ft(a,1,28)|0;rs(a,Gi[k[(k[b>>2]|0)+120>>2]&2047](b)|0);return 1}function bu(a){a=a|0;var b=0,c=0;b=Ft(a,1,28)|0;c=k[(k[b>>2]|0)+124>>2]|0;a=qs(a,2)|0;Di[c&511](b,a);return 0}function cu(a){a=a|0;var b=0;b=Ft(a,1,28)|0;rs(a,Gi[k[(k[b>>2]|0)+128>>2]&2047](b)|0);return 1}function du(a){a=a|0;var b=0;b=Ft(a,1,28)|0;rs(a,Gi[k[(k[b>>2]|0)+40>>2]&2047](b)|0);return 1}function eu(a){a=a|0;var b=0;b=Ft(a,1,28)|0;rs(a,Gi[k[(k[b>>2]|0)+44>>2]&2047](b)|0);return 1}function fu(a){a=a|0;var b=0;b=Ft(a,1,28)|0;if(Gi[k[(k[b>>2]|0)+40>>2]&2047](b)|0){b=0;rs(a,b);return 1}b=(Gi[k[(k[b>>2]|0)+44>>2]&2047](b)|0)^1;rs(a,b);return 1}function gu(a){a=a|0;var b=0,c=0.0,d=0.0,e=0;e=r;r=r+16|0;b=Ft(a,1,28)|0;c=+lHa(a,2);d=+lHa(a,3);if(d>1.0|(c<0.0|c>1.0|d<0.0)){p[e>>3]=c;p[e+8>>3]=d;a=aHa(a,325589,e)|0;r=e;return a|0}else{Ai[k[(k[b>>2]|0)+132>>2]&31](b,c);Ai[k[(k[b>>2]|0)+140>>2]&31](b,d);a=0;r=e;return a|0}return 0}function hu(a){a=a|0;var b=0;b=Ft(a,1,28)|0;VDa(a,+Xi[k[(k[b>>2]|0)+136>>2]&63](b));VDa(a,+Xi[k[(k[b>>2]|0)+144>>2]&63](b));return 2}function iu(a){a=a|0;var b=0,c=0.0,d=0.0,e=0;e=r;r=r+16|0;b=Ft(a,1,28)|0;c=+lHa(a,2);d=+lHa(a,3);if(c<0.0|d<0.0){p[e>>3]=c;p[e+8>>3]=d;a=aHa(a,325638,e)|0;r=e;return a|0}else{Ai[k[(k[b>>2]|0)+148>>2]&31](b,c);Ai[k[(k[b>>2]|0)+164>>2]&31](b,d);a=0;r=e;return a|0}return 0}function ju(a){a=a|0;var b=0;b=Ft(a,1,28)|0;VDa(a,+Xi[k[(k[b>>2]|0)+152>>2]&63](b));VDa(a,+Xi[k[(k[b>>2]|0)+168>>2]&63](b));return 2}function ku(a){a=a|0;var b=0,c=0.0,d=0;d=r;r=r+16|0;b=Ft(a,1,28)|0;c=+lHa(a,2);if(c<0.0){p[d>>3]=c;a=aHa(a,325677,d)|0;r=d;return a|0}else{Ai[k[(k[b>>2]|0)+156>>2]&31](b,c);a=0;r=d;return a|0}return 0}function lu(a){a=a|0;var b=0;b=Ft(a,1,28)|0;VDa(a,+Xi[k[(k[b>>2]|0)+160>>2]&63](b));return 1}function mu(a){a=a|0;var b=0;b=Ft(a,1,28)|0;WDa(a,Gi[k[(k[b>>2]|0)+172>>2]&2047](b)|0);return 1}function nu(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;c=Ft(a,1,28)|0;c=Gi[k[(k[c>>2]|0)+176>>2]&2047](c)|0;k[b+4>>2]=0;if(z2(c,b+4|0)|0){YDa(a,k[b+4>>2]|0);c=1;r=b;return c|0}else{c=aHa(a,325711,b)|0;r=b;return c|0}return 0}function ou(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=12268;k[b+4>>2]=0;a=Is(a,28,325732,b)|0;r=b;return a|0}function pu(a){a=a|0;$Da(a,1492,0);return 1}function qu(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;k[b>>2]=0;if(!(e3(k[155699]|0,b)|0)){a=0;r=b;return a|0}a=_2(k[b>>2]|0,a)|0;c=k[b>>2]|0;Si[k[(k[c>>2]|0)+12>>2]&1023](c);r=b;return a|0}function ru(a){a=a|0;a=k[155699]|0;Si[k[(k[a>>2]|0)+28>>2]&1023](a);return 0}function su(a){a=a|0;var b=0;b=k[155699]|0;b=Gi[k[(k[b>>2]|0)+32>>2]&2047](b)|0;if(!b){a=0;return a|0}a=_2(b,a)|0;Si[k[(k[b>>2]|0)+12>>2]&1023](b);return a|0}function tu(a){a=a|0;var b=0;b=$2(a,1)|0;rs(a,(b|0)!=0);if(!b)return 1;a3(k[155699]|0,b);Si[k[(k[b>>2]|0)+12>>2]&1023](b);return 1}function uu(a){a=a|0;a=k[155699]|0;Si[k[(k[a>>2]|0)+24>>2]&1023](a);return 0}function vu(a){a=a|0;var b=0,c=0,d=0,e=0;e=r;r=r+32|0;k[e+16>>2]=0;d=e+16+4|0;k[d>>2]=0;k[e+16+8>>2]=0;b=D_(a,1,1)|0;if(b|0){k[e+12>>2]=b;Si[k[(k[b>>2]|0)+8>>2]&1023](b);c=k[d>>2]|0;if(c>>>0<(k[e+16+8>>2]|0)>>>0){k[c>>2]=b;Si[k[(k[b>>2]|0)+8>>2]&1023](b);k[d>>2]=(k[d>>2]|0)+4}else wu(e+16|0,e+12|0);Si[k[(k[b>>2]|0)+12>>2]&1023](b);Si[k[(k[b>>2]|0)+12>>2]&1023](b)}b=kBb(32)|0;Wqb(e,363644,4);Y2(b,e,e+16|0);_qb(e);a3(k[155699]|0,b);Si[k[(k[b>>2]|0)+12>>2]&1023](b);rs(a,1);b=k[e+16>>2]|0;if(!b){r=e;return 1}c=k[d>>2]|0;if((c|0)!=(b|0)){do{c=c+-4|0;k[d>>2]=c;a=k[c>>2]|0;if(a){Si[k[(k[a>>2]|0)+12>>2]&1023](a);c=k[d>>2]|0}}while((c|0)!=(b|0));b=k[e+16>>2]|0}CAb(b);r=e;return 1}function wu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=k[a>>2]|0;d=((k[a+4>>2]|0)-g>>2)+1|0;if(d>>>0>1073741823)xzb(a);c=(k[a+8>>2]|0)-g|0;if(c>>2>>>0<536870911){c=c>>1>>>0>>0?d:c>>1;e=k[a+4>>2]|0;if(!c){h=0;c=0;d=e-g>>2}else{f=e;d=e-g>>2;i=6}}else{d=k[a+4>>2]|0;c=1073741823;f=d;d=d-g>>2;i=6}if((i|0)==6){h=c;c=kBb(c<<2)|0;e=f}i=c+(d<<2)|0;h=c+(h<<2)|0;c=k[b>>2]|0;k[i>>2]=c;if(!c)c=e;else{Si[k[(k[c>>2]|0)+8>>2]&1023](c);c=k[a+4>>2]|0;g=k[a>>2]|0}if((c|0)==(g|0)){d=i;f=c}else{e=c;f=i;c=i;do{e=e+-4|0;d=k[e>>2]|0;k[f+-4>>2]=d;if(d|0)Si[k[(k[d>>2]|0)+8>>2]&1023](d);f=c+-4|0;c=f}while((e|0)!=(g|0));d=c;f=k[a>>2]|0;c=k[a+4>>2]|0}k[a>>2]=d;k[a+4>>2]=i+4;k[a+8>>2]=h;e=f;if((c|0)!=(e|0))do{c=c+-4|0;d=k[c>>2]|0;if(d|0)Si[k[(k[d>>2]|0)+12>>2]&1023](d)}while((c|0)!=(e|0));if(!f)return;CAb(f);return}function xu(a){a=a|0;var b=0,c=0;c=r;r=r+32|0;b=k[155699]|0;if(!b){b=kBb(36)|0;S2(b)}else Si[k[(k[b>>2]|0)+8>>2]&1023](b);k[c>>2]=b;k[c+4>>2]=325985;k[c+8>>2]=3;k[c+12>>2]=12564;k[c+16>>2]=0;a=Bs(a,c)|0;r=c;return a|0}function yu(a){a=a|0;var b=0;k[a>>2]=12628;b=k[a+8>>2]|0;if(b|0)oBb(b);_qb(a+36|0);_qb(a+24|0);return}function zu(a){a=a|0;var b=0;k[a>>2]=12628;b=k[a+8>>2]|0;if(b|0)oBb(b);_qb(a+36|0);_qb(a+24|0);CAb(a);return}function Au(a){a=a|0;return k[a+8>>2]|0}function Bu(a){a=a|0;var b=0;b=k[a+16>>2]|0;a=k[a+16+4>>2]|0;a=a>>>0<0|(a|0)==0&b>>>0<4294967295?b:-1;return a|0}function Cu(){var a=0,b=0,c=0,d=0,e=0;e=r;r=r+16|0;i[624888]=0;i[624900]=0;i[624912]=0;i[624924]=0;k[156232]=0;k[156233]=0;a=i[519098]|0;if(!(a<<24>>24))b=5381;else{c=519098;b=5381;do{c=c+1|0;b=(b*33|0)+(a<<24>>24)|0;a=i[c>>0]|0}while(a<<24>>24!=0)}a=b&3;if(!(i[624880+(a*12|0)+8>>0]|0)){b=a;a=624880+(a*12|0)+8|0;d=5}else{a=b+1&3;if(!(i[624880+(a*12|0)+8>>0]|0)){b=a;a=624880+(a*12|0)+8|0;d=5}else{a=b+2&3;if(!(i[624880+(a*12|0)+8>>0]|0)){b=a;a=624880+(a*12|0)+8|0;d=5}else{a=b+3&3;if(!(i[624880+(a*12|0)+8>>0]|0)){b=a;a=624880+(a*12|0)+8|0;d=5}}}}if((d|0)==5){i[a>>0]=1;k[624880+(b*12|0)>>2]=519098;k[624880+(b*12|0)+4>>2]=0}if(0>1){k[e>>2]=519098;k[e+4>>2]=0;Jpb(441170,e)|0}else k[156232]=519098;a=i[326043]|0;if(!(a<<24>>24))b=5381;else{c=326043;b=5381;do{c=c+1|0;b=(b*33|0)+(a<<24>>24)|0;a=i[c>>0]|0}while(a<<24>>24!=0)}a=b&3;if(!(i[624880+(a*12|0)+8>>0]|0)){b=a;a=624880+(a*12|0)+8|0;d=17}else{a=b+1&3;if(!(i[624880+(a*12|0)+8>>0]|0)){b=a;a=624880+(a*12|0)+8|0;d=17}else{a=b+2&3;if(!(i[624880+(a*12|0)+8>>0]|0)){b=a;a=624880+(a*12|0)+8|0;d=17}else{a=b+3&3;if(!(i[624880+(a*12|0)+8>>0]|0)){b=a;a=624880+(a*12|0)+8|0;d=17}}}}if((d|0)==17){i[a>>0]=1;k[624880+(b*12|0)>>2]=326043;k[624880+(b*12|0)+4>>2]=1}if(1>1){k[e+8>>2]=326043;k[e+8+4>>2]=1;Jpb(441170,e+8|0)|0;r=e;return}else{k[156233]=326043;r=e;return}}function Du(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;c=r;r=r+16|0;Uj(a);k[a>>2]=12628;k[a+8>>2]=0;k[a+16>>2]=b;k[a+16+4>>2]=0;Vqb(a+24|0,d);k[a+36>>2]=0;k[a+36+4>>2]=0;k[a+36+8>>2]=0;b=mBb(b)|0;k[a+8>>2]=b;if((qrb(d,46,-1)|0)==-1){r=c;return}Yqb(c,d,(qrb(d,46,-1)|0)+1|0,-1,d);if(!(i[a+36>>0]&1)){i[a+36+1>>0]=0;i[a+36>>0]=0}else{i[k[a+44>>2]>>0]=0;k[a+40>>2]=0}crb(a+36|0,0);k[a+36>>2]=k[c>>2];k[a+36+4>>2]=k[c+4>>2];k[a+36+8>>2]=k[c+8>>2];k[c>>2]=0;k[c+4>>2]=0;k[c+8>>2]=0;_qb(c);r=c;return}function Eu(a){a=a|0;return a+24|0}function Fu(a){a=a|0;return a+36|0}function Gu(a,b){a=a|0;b=b|0;return Hu(624880,a,b)|0}function Hu(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0;e=i[b>>0]|0;if(!(e<<24>>24))m=5381;else{f=b;g=e;d=5381;do{f=f+1|0;d=(d*33|0)+(g<<24>>24)|0;g=i[f>>0]|0}while(g<<24>>24!=0);m=d}d=m&3;if(!(i[a+(d*12|0)+8>>0]|0)){c=1;a=0;a=c&a;return a|0}g=k[a+(d*12|0)>>2]|0;f=i[g>>0]|0;a:do if(!(f<<24>>24)){f=e;l=8}else if(e<<24>>24?f<<24>>24==e<<24>>24:0){j=b;while(1){g=g+1|0;j=j+1|0;h=i[g>>0]|0;f=i[j>>0]|0;if(!(h<<24>>24)){l=8;break a}if(!(f<<24>>24?h<<24>>24==f<<24>>24:0)){l=10;break}}}else l=10;while(0);if((l|0)==8)if(f<<24>>24)l=10;do if((l|0)==10){d=m+1&3;if(!(i[a+(d*12|0)+8>>0]|0)){c=1;a=0;a=c&a;return a|0}g=k[a+(d*12|0)>>2]|0;f=i[g>>0]|0;b:do if(!(f<<24>>24)){f=e;l=16}else if(e<<24>>24?f<<24>>24==e<<24>>24:0){j=b;do{g=g+1|0;j=j+1|0;h=i[g>>0]|0;f=i[j>>0]|0;if(!(h<<24>>24)){l=16;break b}}while(f<<24>>24?h<<24>>24==f<<24>>24:0)}while(0);if((l|0)==16)if(!(f<<24>>24))break;d=m+2&3;if(!(i[a+(d*12|0)+8>>0]|0)){c=1;a=0;a=c&a;return a|0}g=k[a+(d*12|0)>>2]|0;f=i[g>>0]|0;c:do if(!(f<<24>>24)){f=e;l=22}else if(e<<24>>24?f<<24>>24==e<<24>>24:0){j=b;do{g=g+1|0;j=j+1|0;h=i[g>>0]|0;f=i[j>>0]|0;if(!(h<<24>>24)){l=22;break c}}while(f<<24>>24?h<<24>>24==f<<24>>24:0)}while(0);if((l|0)==22)if(!(f<<24>>24))break;d=m+3&3;if(!(i[a+(d*12|0)+8>>0]|0)){c=1;a=0;a=c&a;return a|0}f=k[a+(d*12|0)>>2]|0;g=i[f>>0]|0;d:do if(g<<24>>24){if(!(e<<24>>24?g<<24>>24==e<<24>>24:0)){c=0;a=0;a=c&a;return a|0}while(1){f=f+1|0;b=b+1|0;g=i[f>>0]|0;e=i[b>>0]|0;if(!(g<<24>>24))break d;if(!(e<<24>>24?g<<24>>24==e<<24>>24:0)){d=0;e=0;break}}a=d&e;return a|0}while(0);if(e<<24>>24){c=0;a=0;a=c&a;return a|0}}while(0);k[c>>2]=k[a+(d*12|0)+4>>2];c=1;a=1;a=c&a;return a|0}function Iu(){var a=0;a=k[155700]|0;if(!a){a=0;return a|0}a=Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0;return a|0}function Ju(a){a=a|0;var b=0;a=fHa(a,1,0)|0;b=k[155700]|0;Di[k[(k[b>>2]|0)+24>>2]&511](b,a);return 0}function Ku(a){a=a|0;var b=0,c=0;b=k[155700]|0;c=k[(k[b>>2]|0)+28>>2]|0;a=qs(a,1)|0;Di[c&511](b,a);return 0}function Lu(a){a=a|0;var b=0;b=k[155700]|0;rs(a,Gi[k[(k[b>>2]|0)+32>>2]&2047](b)|0);return 1}function Mu(a){a=a|0;var b=0;a=ss(a,1,0)|0;b=k[155700]|0;Di[k[(k[b>>2]|0)+40>>2]&511](b,a);return 0}function Nu(a){a=a|0;var b=0,c=0,d=0,e=0;b=r;r=r+16|0;d=fHa(a,1,0)|0;c=ss(a,2,0)|0;e=k[155700]|0;if(Ri[k[(k[e>>2]|0)+48>>2]&255](e,d,c)|0){e=0;r=b;return e|0}e=aHa(a,504493,b)|0;r=b;return e|0}function Ou(a){a=a|0;var b=0;b=k[155700]|0;YDa(a,Gi[k[(k[b>>2]|0)+52>>2]&2047](b)|0);return 1}function Pu(a){a=a|0;var b=0,c=0,d=0;b=r;r=r+16|0;c=fHa(a,1,0)|0;d=k[155700]|0;if(gj[k[(k[d>>2]|0)+56>>2]&511](d,c)|0){d=0;r=b;return d|0}d=aHa(a,326050,b)|0;r=b;return d|0}function Qu(a){a=a|0;var b=0;b=k[155700]|0;YDa(a,Gi[k[(k[b>>2]|0)+60>>2]&2047](b)|0);return 1}function Ru(a){a=a|0;var b=0,c=0,d=0,e=0;d=fHa(a,1,0)|0;c=fHa(a,2,0)|0;b=ss(a,3,0)|0;e=k[155700]|0;rs(a,nj[k[(k[e>>2]|0)+64>>2]&127](e,d,c,b)|0);return 1}function Su(a){a=a|0;var b=0,c=0;b=fHa(a,1,0)|0;c=k[155700]|0;rs(a,gj[k[(k[c>>2]|0)+68>>2]&511](c,b)|0);return 1}function Tu(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+16|0;b=fHa(a,1,0)|0;k[d+12>>2]=0;if(HDa(a,2)|0){c=fHa(a,2,0)|0;if(!(r4(c,d+12|0)|0)){k[d>>2]=c;a=aHa(a,364193,d)|0;r=d;return a|0}}c=k[155700]|0;b=gj[k[(k[c>>2]|0)+72>>2]&511](c,b)|0;c=k[d+12>>2]|0;if(c|0)if(!(gj[k[(k[b>>2]|0)+16>>2]&511](b,c)|0)){a=xf(16)|0;os(a,364303,d+8|0);Jc(a|0,96,27)}Rs(a,5,b);Si[k[(k[b>>2]|0)+12>>2]&1023](b);a=1;r=d;return a|0}function Uu(a,b){a=a|0;b=b|0;if(!(HDa(a,b)|0)){b=W4(a,b)|0;return b|0}else{b=fHa(a,b,0)|0;a=k[155700]|0;b=gj[k[(k[a>>2]|0)+72>>2]&511](a,b)|0;return b|0}return 0}function Vu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if(!(HDa(a,b)|0))if(Ss(a,b,5)|0)d=3;else if(Ss(a,b,7)|0){e=Y4(a,b)|0;Si[k[(k[e>>2]|0)+8>>2]&1023](e);c=0}else{e=0;c=0}else d=3;if((d|0)==3){if(!(HDa(a,b)|0))c=W4(a,b)|0;else{c=fHa(a,b,0)|0;e=k[155700]|0;c=gj[k[(k[e>>2]|0)+72>>2]&511](e,c)|0}Si[k[(k[c>>2]|0)+8>>2]&1023](c);e=0}d=(c|0)!=0;if(!(d|(e|0)!=0)){$Ga(a,b,326072)|0;b=0;return b|0}if(!d){b=e;return b|0}b=Ri[k[(k[c>>2]|0)+32>>2]&255](c,-1,-1)|0;Si[k[(k[c>>2]|0)+12>>2]&1023](c);return b|0}function Wu(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=r;r=r+32|0;if((xDa(a)|0)==1){if(HDa(a,1)|0)Us(a,1,352628,326109)|0;if(Ss(a,1,5)|0){e=W4(a,1)|0;e=Ri[k[(k[e>>2]|0)+32>>2]&255](e,-1,-1)|0;Rs(a,7,e);Si[k[(k[e>>2]|0)+12>>2]&1023](e);e=1;r=f;return e|0}else{e=$Ga(a,1,326117)|0;r=f;return e|0}}k[f+16>>2]=0;b=fHa(a,1,f+16|0)|0;c=fHa(a,2,0)|0;a:do if(!(HDa(a,3)|0)){k[f+12>>2]=0;e=13}else{d=ODa(a,3,0)|0;k[f+12>>2]=0;if(!d)e=13;else{if(!(Gu(d,f+12|0)|0)){k[f>>2]=d;b=aHa(a,326143,f)|0;break}switch(k[f+12>>2]|0){case 0:{e=13;break a}case 1:{e=k[155700]|0;b=Ri[k[(k[e>>2]|0)+80>>2]&255](e,b,c)|0;e=16;break a}default:{k[f+8>>2]=d;b=aHa(a,326143,f+8|0)|0;break a}}}}while(0);if((e|0)==13){d=k[155700]|0;b=nj[k[(k[d>>2]|0)+76>>2]&127](d,b,k[f+16>>2]|0,c)|0;e=16}if((e|0)==16){Rs(a,7,b);Si[k[(k[b>>2]|0)+12>>2]&1023](b);b=1}e=b;r=f;return e|0}function Xu(a){a=a|0;var b=0;b=k[155700]|0;YDa(a,Gi[k[(k[b>>2]|0)+84>>2]&2047](b)|0);return 1}function Yu(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;c=k[155700]|0;Di[k[(k[c>>2]|0)+88>>2]&511](b,c);vs(a,b);_qb(b);r=b;return 1}function Zu(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;c=k[155700]|0;Di[k[(k[c>>2]|0)+92>>2]&511](b,c);vs(a,b);_qb(b);r=b;return 1}function _u(a){a=a|0;var b=0;b=k[155700]|0;YDa(a,Gi[k[(k[b>>2]|0)+96>>2]&2047](b)|0);return 1}function $u(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;c=k[155700]|0;Di[k[(k[c>>2]|0)+100>>2]&511](b,c);vs(a,b);_qb(b);r=b;return 1}function av(a){a=a|0;var b=0,c=0,d=0;b=r;r=r+32|0;c=fHa(a,1,0)|0;k[b+12>>2]=0;k[b+12+4>>2]=0;k[b+12+8>>2]=0;d=k[155700]|0;kj[k[(k[d>>2]|0)+104>>2]&255](b,d,c);if(!(i[b+12>>0]&1)){i[b+12+1>>0]=0;i[b+12>>0]=0}else{i[k[b+12+8>>2]>>0]=0;k[b+12+4>>2]=0}crb(b+12|0,0);k[b+12>>2]=k[b>>2];k[b+12+4>>2]=k[b+4>>2];k[b+12+8>>2]=k[b+8>>2];k[b>>2]=0;k[b+4>>2]=0;k[b+8>>2]=0;_qb(b);YDa(a,(i[b+12>>0]&1)==0?b+12+1|0:k[b+12+8>>2]|0);_qb(b+12|0);r=b;return 1}function bv(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;c=k[155700]|0;Di[k[(k[c>>2]|0)+176>>2]&511](b,c);vs(a,b);_qb(b);r=b;return 1}function cv(a){a=a|0;var b=0,c=0;b=fHa(a,1,0)|0;c=k[155700]|0;rs(a,gj[k[(k[c>>2]|0)+108>>2]&511](c,b)|0);return 1}function dv(a){a=a|0;var b=0,c=0;b=fHa(a,1,0)|0;c=k[155700]|0;rs(a,gj[k[(k[c>>2]|0)+112>>2]&511](c,b)|0);return 1}function ev(a){a=a|0;var b=0,c=0;b=fHa(a,1,0)|0;c=k[155700]|0;rs(a,gj[k[(k[c>>2]|0)+116>>2]&511](c,b)|0);return 1}function fv(a){a=a|0;var b=0,c=0;b=fHa(a,1,0)|0;c=k[155700]|0;rs(a,gj[k[(k[c>>2]|0)+120>>2]&511](c,b)|0);return 1}function gv(a){a=a|0;var b=0,c=0;b=fHa(a,1,0)|0;c=k[155700]|0;rs(a,gj[k[(k[c>>2]|0)+124>>2]&511](c,b)|0);return 1}function hv(a){a=a|0;var b=0,c=0;b=fHa(a,1,0)|0;c=k[155700]|0;rs(a,gj[k[(k[c>>2]|0)+128>>2]&511](c,b)|0);return 1}function iv(a){a=a|0;var b=0,c=0,d=0,e=0;c=r;r=r+16|0;d=fHa(a,1,0)|0;b=oHa(a,2,-1)|0;e=k[155700]|0;b=nj[k[(k[e>>2]|0)+132>>2]&127](e,d,b,((b|0)<0)<<31>>31)|0;if(!b){e=F4(a,326172,c)|0;r=c;return e|0}else{e=Gi[k[(k[b>>2]|0)+16>>2]&2047](b)|0;XDa(a,e,Gi[k[(k[b>>2]|0)+20>>2]&2047](b)|0);WDa(a,Gi[k[(k[b>>2]|0)+20>>2]&2047](b)|0);Si[k[(k[b>>2]|0)+12>>2]&1023](b);e=2;r=c;return e|0}return 0}function jv(a){a=a|0;return kv(a,2)|0}function kv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=r;r=r+16|0;f=fHa(a,1,0)|0;k[h>>2]=0;do if(Ss(a,2,2)|0){c=(RDa(a,2)|0)+4|0;c=k[c>>2]|0;g=Gi[k[(k[c>>2]|0)+16>>2]&2047](c)|0;c=Gi[k[(k[c>>2]|0)+20>>2]&2047](c)|0;k[h>>2]=c}else{if(HDa(a,2)|0){g=ODa(a,2,h)|0;c=k[h>>2]|0;break}b=$Ga(a,2,326196)|0;r=h;return b|0}while(0);c=oHa(a,3,c)|0;k[h>>2]=c;d=k[155700]|0;e=k[d>>2]|0;if((b|0)==3)Bi[k[e+140>>2]&15](d,f,g,c,0);else Bi[k[e+136>>2]&15](d,f,g,c,0);rs(a,1);b=1;r=h;return b|0}function lv(a){a=a|0;return kv(a,3)|0}function mv(a){a=a|0;var b=0,c=0,d=0,e=0;e=r;r=r+16|0;d=fHa(a,1,0)|0;k[e>>2]=0;k[e+4>>2]=0;k[e+8>>2]=0;c=k[155700]|0;kj[k[(k[c>>2]|0)+144>>2]&255](c,d,e);hEa(a,((k[e+4>>2]|0)-(k[e>>2]|0)|0)/12|0,0);d=0;while(1){c=k[e+4>>2]|0;b=k[e>>2]|0;if((d|0)>=((c-b|0)/12|0|0))break;c=b+(d*12|0)|0;if(!(i[c>>0]&1))b=c+1|0;else b=k[b+(d*12|0)+8>>2]|0;YDa(a,b);c=d+1|0;nEa(a,-2,c);d=c}if(!b){r=e;return 1}if((c|0)!=(b|0)){do{d=c+-12|0;k[e+4>>2]=d;_qb(d);c=k[e+4>>2]|0}while((c|0)!=(b|0));b=k[e>>2]|0}CAb(b);r=e;return 1}function nv(a){a=a|0;var b=0,c=0,d=0,e=0;c=r;r=r+16|0;if(!(HDa(a,1)|0)){a=$Ga(a,1,326220)|0;r=c;return a|0}d=k[155700]|0;e=k[(k[d>>2]|0)+72>>2]|0;b=ODa(a,1,0)|0;b=gj[e&511](d,b)|0;if(gj[k[(k[b>>2]|0)+16>>2]&511](b,1)|0){Rs(a,5,b);Si[k[(k[b>>2]|0)+12>>2]&1023](b);$Da(a,1493,1);e=1;r=c;return e|0}else{Si[k[(k[b>>2]|0)+12>>2]&1023](b);e=aHa(a,364303,c)|0;r=c;return e|0}return 0}function ov(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=r;r=r+48|0;d=fHa(a,1,0)|0;Wqb(b+24|0,d,Fnb(d)|0);d=k[155700]|0;d=nj[k[(k[d>>2]|0)+132>>2]&127](d,(i[b+24>>0]&1)==0?b+24+1|0:k[b+24+8>>2]|0,-1,-1)|0;e=Gi[k[(k[d>>2]|0)+16>>2]&2047](d)|0;c=Gi[k[(k[d>>2]|0)+20>>2]&2047](d)|0;k[b+12>>2]=0;k[b+12+4>>2]=0;k[b+12+8>>2]=0;f=i[b+24>>0]|0;f=(f&1)==0?(f&255)>>>1:k[b+24+4>>2]|0;trb(b+12|0,439807,1,f+1|0);hrb(b+12|0,(i[b+24>>0]&1)==0?b+24+1|0:k[b+24+8>>2]|0,f)|0;c=FHa(a,e,c,(i[b+12>>0]&1)==0?b+12+1|0:k[b+12+8>>2]|0)|0;_qb(b+12|0);Si[k[(k[d>>2]|0)+12>>2]&1023](d);switch(c|0){case 4:{f=ODa(a,-1,0)|0;k[b>>2]=f;f=aHa(a,326239,b)|0;_qb(b+24|0);r=b;return f|0}case 3:{f=ODa(a,-1,0)|0;k[b+8>>2]=f;f=aHa(a,326268,b+8|0)|0;_qb(b+24|0);r=b;return f|0}default:{f=1;_qb(b+24|0);r=b;return f|0}}return 0}function pv(a){a=a|0;var b=0,c=0;b=fHa(a,1,0)|0;c=k[155700]|0;b=gj[k[(k[c>>2]|0)+148>>2]&511](c,b)|0;VDa(a,+(b>>>0)+4294967296.0*+(L|0));return 1}function qv(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+16|0;b=fHa(a,1,0)|0;c=k[155700]|0;b=gj[k[(k[c>>2]|0)+152>>2]&511](c,b)|0;c=L;if((b|0)==-1&(c|0)==-1){a=F4(a,364143,d)|0;r=d;return a|0}if((c|0)>2097151|(c|0)==2097151&b>>>0>4294967295){a=F4(a,326286,d+8|0)|0;r=d;return a|0}else{VDa(a,+(b>>>0)+4294967296.0*+(c|0));a=1;r=d;return a|0}return 0}function rv(a){a=a|0;var b=0,c=0;b=k[155700]|0;c=k[(k[b>>2]|0)+156>>2]|0;a=qs(a,1)|0;Di[c&511](b,a);return 0}function sv(a){a=a|0;var b=0;b=k[155700]|0;rs(a,Gi[k[(k[b>>2]|0)+160>>2]&2047](b)|0);return 1}function tv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;g=r;r=r+176|0;k[g+16+8>>2]=9184;e=g+16+12|0;k[g+16>>2]=9388;k[g+16+64>>2]=9408;k[g+16+4>>2]=0;Fsb(g+16+64|0,e);k[g+16+136>>2]=0;k[g+16+140>>2]=-1;k[g+16>>2]=9164;k[g+16+64>>2]=9204;k[g+16+8>>2]=9184;Hsb(e);k[e>>2]=9220;f=g+16+44|0;k[f>>2]=0;k[f+4>>2]=0;k[f+8>>2]=0;k[f+12>>2]=0;k[g+16+60>>2]=24;k[g+160>>2]=0;k[g+160+4>>2]=0;k[g+160+8>>2]=0;ok(e,g+160|0);_qb(g+160|0);d=k[155700]|0;d=Gi[k[(k[d>>2]|0)+164>>2]&2047](d)|0;b=k[d>>2]|0;d=k[d+4>>2]|0;if((b|0)!=(d|0)){c=0;while(1){if(c)pk(g+16+8|0,439799,1)|0;c=i[b>>0]|0;pk(g+16+8|0,(c&1)==0?b+1|0:k[b+8>>2]|0,(c&1)==0?(c&255)>>>1:k[b+4>>2]|0)|0;b=b+12|0;if((b|0)==(d|0))break;else c=1}}rk(g,e);vs(a,g);_qb(g);k[g+16>>2]=9164;k[g+16+64>>2]=9204;k[g+16+8>>2]=9184;k[e>>2]=9220;_qb(f);Irb(e);Erb(g+16+64|0);r=g;return 1}function uv(a){a=a|0;var b=0,c=0,d=0,e=0;d=r;r=r+176|0;us(d+144|0,a,1);c=k[155700]|0;c=Gi[k[(k[c>>2]|0)+164>>2]&2047](c)|0;b=k[c>>2]|0;a=k[c+4>>2]|0;if((a|0)!=(b|0))do{e=a+-12|0;k[c+4>>2]=e;_qb(e);a=k[c+4>>2]|0}while((a|0)!=(b|0));k[d+8>>2]=9184;k[d>>2]=9388;k[d+64>>2]=9408;k[d+4>>2]=0;Fsb(d+64|0,d+12|0);k[d+136>>2]=0;k[d+140>>2]=-1;k[d>>2]=9164;k[d+64>>2]=9204;k[d+8>>2]=9184;Hsb(d+12|0);k[d+12>>2]=9220;k[d+44>>2]=0;k[d+44+4>>2]=0;k[d+44+8>>2]=0;k[d+44+12>>2]=0;k[d+60>>2]=24;k[d+156>>2]=0;k[d+156+4>>2]=0;k[d+156+8>>2]=0;ok(d+12|0,d+156|0);_qb(d+156|0);e=i[d+144>>0]|0;pk(d+8|0,(e&1)==0?d+144+1|0:k[d+144+8>>2]|0,(e&1)==0?(e&255)>>>1:k[d+144+4>>2]|0)|0;while(1){e=vv(d,d+144|0,59)|0;if(k[e+(k[(k[e>>2]|0)+-12>>2]|0)+16>>2]&5|0)break;a=k[c+4>>2]|0;if((a|0)==(k[c+8>>2]|0)){wv(c,d+144|0);continue}else{Vqb(a,d+144|0);k[c+4>>2]=(k[c+4>>2]|0)+12;continue}}k[d>>2]=9164;k[d+64>>2]=9204;k[d+8>>2]=9184;k[d+12>>2]=9220;_qb(d+44|0);Irb(d+12|0);Erb(d+64|0);_qb(d+144|0);r=d;return 0}function vv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=r;r=r+16|0;Ksb(h,a,1);if(!(i[h>>0]|0)){r=h;return a|0}if(!(i[b>>0]&1)){i[b+1>>0]=0;i[b>>0]=0;g=b+4|0}else{i[k[b+8>>2]>>0]=0;k[b+4>>2]=0;g=b+4|0}d=0;while(1){e=k[a+(k[(k[a>>2]|0)+-12>>2]|0)+24>>2]|0;f=k[e+12>>2]|0;if((f|0)==(k[e+16>>2]|0)){e=Gi[k[(k[e>>2]|0)+40>>2]&2047](e)|0;if((e|0)==-1){e=2;break}}else{k[e+12>>2]=f+1;e=l[f>>0]|0}d=d+1|0;e=e&255;if(e<<24>>24==c<<24>>24){e=0;break}jrb(b,e);if((i[b>>0]&1)!=0&(k[g>>2]|0)==-17){e=4;break}}b=a+(k[(k[a>>2]|0)+-12>>2]|0)|0;Esb(b,k[b+16>>2]|((d|0)==0?e|4:e));r=h;return a|0}function wv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;e=k[a>>2]|0;d=(((k[a+4>>2]|0)-e|0)/12|0)+1|0;if(d>>>0>357913941)xzb(a);c=((k[a+8>>2]|0)-e|0)/12|0;if(c>>>0<178956970){c=c<<1>>>0>>0?d:c<<1;d=((k[a+4>>2]|0)-e|0)/12|0;if(!c){f=0;e=0;c=d}else g=6}else{c=357913941;d=((k[a+4>>2]|0)-e|0)/12|0;g=6}if((g|0)==6){f=c;e=kBb(c*12|0)|0;c=d}h=e+(c*12|0)|0;g=e+(f*12|0)|0;Vqb(h,b);f=k[a>>2]|0;c=k[a+4>>2]|0;if((c|0)==(f|0)){d=h;e=f;c=f}else{e=h;d=h;do{b=e+-12|0;c=c+-12|0;k[b>>2]=k[c>>2];k[b+4>>2]=k[c+4>>2];k[b+8>>2]=k[c+8>>2];k[c>>2]=0;k[c+4>>2]=0;k[c+8>>2]=0;e=d+-12|0;d=e}while((c|0)!=(f|0));e=k[a>>2]|0;c=k[a+4>>2]|0}k[a>>2]=d;k[a+4>>2]=h+12;k[a+8>>2]=g;d=e;if((c|0)!=(d|0))do{c=c+-12|0;_qb(c)}while((c|0)!=(d|0));if(!e)return;CAb(e);return}function xv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;g=r;r=r+32|0;ts(g+16|0,a,1);b=i[g+16>>0]|0;c=(b&1)==0?g+16+1|0:k[g+16+8>>2]|0;b=(b&1)==0?(b&255)>>>1:k[g+16+4>>2]|0;if(b|0){d=c;do{if((i[d>>0]|0)==46)i[d>>0]=47;d=d+1|0}while((d|0)!=(c+b|0))}e=k[155700]|0;f=Gi[k[(k[e>>2]|0)+164>>2]&2047](e)|0;c=k[f>>2]|0;f=k[f+4>>2]|0;a:do if((c|0)!=(f|0)){b=0;while(1){Vqb(g+4|0,c);d=prb(g+4|0,63,0)|0;if((d|0)!=-1){h=i[g+16>>0]|0;nrb(g+4|0,d,1,(h&1)==0?g+16+1|0:k[g+16+8>>2]|0,(h&1)==0?(h&255)>>>1:k[g+16+4>>2]|0)|0}if(gj[k[(k[e>>2]|0)+116>>2]&511](e,(i[g+4>>0]&1)==0?g+4+1|0:k[g+4+8>>2]|0)|0){yDa(a,-2);YDa(a,(i[g+4>>0]&1)==0?g+4+1|0:k[g+4+8>>2]|0);d=0;b=ov(a)|0}else d=1;_qb(g+4|0);c=c+12|0;if(!d)break;if((c|0)==(f|0))break a}_qb(g+16|0);r=g;return b|0}while(0);Wqb(g+4|0,326327,35);h=(i[g+4>>0]&1)==0?g+4+1|0:k[g+4+8>>2]|0;k[g>>2]=(i[g+16>>0]&1)==0?g+16+1|0:k[g+16+8>>2]|0;_Da(a,h,g)|0;_qb(g+4|0);h=1;_qb(g+16|0);r=g;return h|0}function yv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0;m=r;r=r+128|0;c=ODa(a,-1,0)|0;Wqb(m+108|0,c,Fnb(c)|0);Wqb(m+96|0,c,Fnb(c)|0);c=i[m+108>>0]|0;b=k[m+108+4>>2]|0;if(((c&1)==0?(c&255)>>>1:b)|0){e=0;do{d=((c&1)==0?m+108+1|0:k[m+108+8>>2]|0)+e|0;if((i[d>>0]|0)==46){i[d>>0]=47;i[((i[m+96>>0]&1)==0?m+96+1|0:k[m+96+8>>2]|0)+e>>0]=95;c=i[m+108>>0]|0;b=k[m+108+4>>2]|0}e=e+1|0}while(e>>>0<((c&1)==0?(c&255)>>>1:b)>>>0)}irb(m+108|0,326363)|0;j=k[155700]|0;if(Gi[k[(k[j>>2]|0)+32>>2]&2047](j)|0){c=k[155700]|0;kj[k[(k[c>>2]|0)+104>>2]&255](m+84|0,c,(i[m+108>>0]&1)==0?m+108+1|0:k[m+108+8>>2]|0);c=k[155700]|0;c=Gi[k[(k[c>>2]|0)+60>>2]&2047](c)|0;j=i[m+84>>0]|0;h=(j&1)==0?m+84+1|0:k[m+84+8>>2]|0;j=(j&1)==0?(j&255)>>>1:k[m+84+4>>2]|0;d=Fnb(c)|0;a:do if(j>>>0>>0)l=17;else if(!d)b=0;else if((j|0)<(d|0))l=17;else if((h+j+(1-d)|0)==(h|0))l=17;else{e=i[c>>0]|0;b=h;b:while(1){if((i[b>>0]|0)==e<<24>>24){f=b;g=c;do{g=g+1|0;if((g|0)==(c+d|0))break b;f=f+1|0}while((i[f>>0]|0)==(i[g>>0]|0))}b=b+1|0;if((b|0)==(h+j+(1-d)|0)){l=17;break a}}if((b|0)==(h+j|0)|(b-h|0)==-1)l=17;else b=0}while(0);if((l|0)==17){k[m+60>>2]=0;k[m+60+4>>2]=0;k[m+60+8>>2]=0;trb(m+60|0,h,j,j+1|0);hrb(m+60|0,520599,1)|0;b=i[m+108>>0]|0;b=hrb(m+60|0,(b&1)==0?m+108+1|0:k[m+108+8>>2]|0,(b&1)==0?(b&255)>>>1:k[m+108+4>>2]|0)|0;k[m+72>>2]=k[b>>2];k[m+72+4>>2]=k[b+4>>2];k[m+72+8>>2]=k[b+8>>2];k[b>>2]=0;k[b+4>>2]=0;k[b+8>>2]=0;b=Ikb((i[m+72>>0]&1)==0?m+72+1|0:k[m+72+8>>2]|0)|0;_qb(m+72|0);_qb(m+60|0)}_qb(m+84|0);if(!b)l=19}else l=19;if((l|0)==19){b=k[155700]|0;Di[k[(k[b>>2]|0)+92>>2]&511](m+36|0,b);b=irb(m+36|0,326367)|0;k[m+48>>2]=k[b>>2];k[m+48+4>>2]=k[b+4>>2];k[m+48+8>>2]=k[b+8>>2];k[b>>2]=0;k[b+4>>2]=0;k[b+8>>2]=0;b=i[m+108>>0]|0;b=hrb(m+48|0,(b&1)==0?m+108+1|0:k[m+108+8>>2]|0,(b&1)==0?(b&255)>>>1:k[m+108+4>>2]|0)|0;k[m+84>>2]=k[b>>2];k[m+84+4>>2]=k[b+4>>2];k[m+84+8>>2]=k[b+8>>2];k[b>>2]=0;k[b+4>>2]=0;k[b+8>>2]=0;_qb(m+48|0);_qb(m+36|0);b=Ikb((i[m+84>>0]&1)==0?m+84+1|0:k[m+84+8>>2]|0)|0;_qb(m+84|0);if(!b){k[m>>2]=(i[m+108>>0]&1)==0?m+108+1|0:k[m+108+8>>2]|0;_Da(a,326374,m)|0;_qb(m+96|0);_qb(m+108|0);r=m;return 1}};k[m+24>>2]=0;k[m+24+4>>2]=0;k[m+24+8>>2]=0;c=i[m+96>>0]|0;c=(c&1)==0?(c&255)>>>1:k[m+96+4>>2]|0;trb(m+24|0,326404,9,c+9|0);hrb(m+24|0,(i[m+96>>0]&1)==0?m+96+1|0:k[m+96+8>>2]|0,c)|0;c=Lfb(b,(i[m+24>>0]&1)==0?m+24+1|0:k[m+24+8>>2]|0)|0;_qb(m+24|0);if(!c){k[m+12>>2]=0;k[m+12+4>>2]=0;k[m+12+8>>2]=0;c=i[m+96>>0]|0;c=(c&1)==0?(c&255)>>>1:k[m+96+4>>2]|0;trb(m+12|0,326414,8,c+8|0);hrb(m+12|0,(i[m+96>>0]&1)==0?m+96+1|0:k[m+96+8>>2]|0,c)|0;c=Lfb(b,(i[m+12>>0]&1)==0?m+12+1|0:k[m+12+8>>2]|0)|0;_qb(m+12|0);if(!c){Nfb(b);k[m+8>>2]=(i[m+108>>0]&1)==0?m+108+1|0:k[m+108+8>>2]|0;_Da(a,326423,m+8|0)|0;_qb(m+96|0);_qb(m+108|0);r=m;return 1}else b=c}else b=c;$Da(a,b,0);_qb(m+96|0);_qb(m+108|0);r=m;return 1}function zv(a){a=a|0;var b=0,c=0;c=r;r=r+32|0;b=k[155700]|0;if(!b){b=kBb(112)|0;T3(b)}else Si[k[(k[b>>2]|0)+8>>2]&1023](b);Qs(a,1494,2)|0;Qs(a,1495,3)|0;k[c>>2]=b;k[c+4>>2]=352628;k[c+8>>2]=56;k[c+12>>2]=12652;k[c+16>>2]=12956;a=Bs(a,c)|0;r=c;return a|0}function Av(a){a=a|0;var b=0,c=0;if((DDa(a,1)|0)!=3)if((DDa(a,2)|0)!=3)if((DDa(a,1)|0)!=-1)if((DDa(a,2)|0)<1){c=Vu(a,1)|0;b=k[155701]|0;b=gj[k[(k[b>>2]|0)+24>>2]&511](b,c)|0;Si[k[(k[c>>2]|0)+12>>2]&1023](c);Rs(a,9,b);Si[k[(k[b>>2]|0)+12>>2]&1023](b);a=1;return a|0}else{Cv(a)|0;c=1;return c|0}c=Bv(a)|0;return c|0}function Bv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;f=r;r=r+16|0;k[f+12>>2]=0;if((DDa(a,1)|0)==3)e=3;else if((DDa(a,1)|0)==-1)e=3;else{if(Ss(a,1,2)|0){d=it(a,1)|0;Si[k[(k[d>>2]|0)+8>>2]&1023](d)}else d=Vu(a,1)|0;c=~~+mHa(a,2,12.0);do if((DDa(a,3)|0)<1)b=0;else{b=fHa(a,3,0)|0;if(!b)b=0;else{if(U6(b,f+12|0)|0){b=k[f+12>>2]|0;break}k[f+8>>2]=b;a=aHa(a,326844,f+8|0)|0;r=f;return a|0}}while(0);g=k[155701]|0;b=nj[k[(k[g>>2]|0)+32>>2]&127](g,d,c,b)|0;Si[k[(k[d>>2]|0)+12>>2]&1023](d)}if((e|0)==3){c=~~+mHa(a,1,12.0);do if((DDa(a,2)|0)<1)b=0;else{b=fHa(a,2,0)|0;if(!b)b=0;else{if(U6(b,f+12|0)|0){b=k[f+12>>2]|0;break}k[f>>2]=b;g=aHa(a,326844,f)|0;r=f;return g|0}}while(0);g=k[155701]|0;b=Ri[k[(k[g>>2]|0)+28>>2]&255](g,c,b)|0}Rs(a,9,b);Si[k[(k[b>>2]|0)+12>>2]&1023](b);g=1;r=f;return g|0}function Cv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;h=r;r=r+16|0;f=Vu(a,1)|0;k[h+4>>2]=0;g=h+4+4|0;k[g>>2]=0;k[h+4+8>>2]=0;a:do if((DDa(a,2)|0)==5){d=1;while(1){if((d|0)>(Ps(a,2)|0))break a;gEa(a,2,d);if((DDa(a,1)|0)==4)e=8;else if(Ss(a,-1,5)|0)e=8;else if(Ss(a,-1,7)|0)e=8;if((e|0)==8){e=0;Us(a,-1,435995,437103)|0}b=$k(a,-1,22)|0;k[h>>2]=b;c=k[g>>2]|0;if((c|0)==(k[h+4+8>>2]|0))Dv(h+4|0,h);else{k[c>>2]=b;k[g>>2]=(k[g>>2]|0)+4}Si[k[(k[b>>2]|0)+8>>2]&1023](b);yDa(a,-2);d=d+1|0}}else{d=2;while(1){if((d|0)>(xDa(a)|0))break a;if((DDa(a,1)|0)==4)e=17;else if(Ss(a,d,5)|0)e=17;else if(Ss(a,d,7)|0)e=17;if((e|0)==17){e=0;Us(a,d,435995,437103)|0}b=$k(a,d,22)|0;k[h>>2]=b;c=k[g>>2]|0;if((c|0)==(k[h+4+8>>2]|0))Dv(h+4|0,h);else{k[c>>2]=b;k[g>>2]=(k[g>>2]|0)+4}Si[k[(k[b>>2]|0)+8>>2]&1023](b);d=d+1|0}}while(0);d=k[155701]|0;d=Ri[k[(k[d>>2]|0)+36>>2]&255](d,f,h+4|0)|0;Si[k[(k[f>>2]|0)+12>>2]&1023](f);b=k[h+4>>2]|0;c=k[g>>2]|0;if((b|0)!=(c|0))do{f=k[b>>2]|0;Si[k[(k[f>>2]|0)+12>>2]&1023](f);b=b+4|0}while((b|0)!=(c|0));Rs(a,9,d);Si[k[(k[d>>2]|0)+12>>2]&1023](d);b=k[h+4>>2]|0;if(!b){r=h;return 1}c=k[g>>2]|0;if((c|0)!=(b|0))k[g>>2]=c+(~((c+-4-b|0)>>>2)<<2);CAb(b);r=h;return 1}function Dv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=k[a>>2]|0;c=((k[a+4>>2]|0)-i>>2)+1|0;if(c>>>0>1073741823)xzb(a);d=(k[a+8>>2]|0)-i|0;if(d>>2>>>0<536870911){c=d>>1>>>0>>0?c:d>>1;e=k[a+4>>2]|0;if(!c){h=0;f=0;d=e-i>>2;c=e}else{g=e;d=e-i>>2;j=6}}else{d=k[a+4>>2]|0;c=1073741823;g=d;d=d-i>>2;j=6}if((j|0)==6){h=c;f=kBb(c<<2)|0;c=g}j=f+(d<<2)|0;k[j>>2]=k[b>>2];b=c-i|0;ABb(j+(0-(b>>2)<<2)|0,i|0,b|0)|0;k[a>>2]=j+(0-(b>>2)<<2);k[a+4>>2]=j+4;k[a+8>>2]=f+(h<<2);if(!i)return;CAb(i);return}function Ev(a){a=a|0;var b=0,c=0,d=0,e=0;c=r;r=r+16|0;if((DDa(a,1)|0)==4)b=4;else if(Ss(a,1,5)|0)b=4;else if(Ss(a,1,7)|0)b=4;if((b|0)==4)Us(a,1,435995,437103)|0;d=$k(a,1,22)|0;us(c,a,2);b=~~+mHa(a,3,0.0);e=k[155701]|0;b=nj[k[(k[e>>2]|0)+40>>2]&127](e,d,c,b)|0;Rs(a,9,b);Si[k[(k[b>>2]|0)+12>>2]&1023](b);_qb(c);r=c;return 1}function Fv(a){a=a|0;var b=0,c=0,d=0,e=0;c=r;r=r+16|0;b=Sv(a,1)|0;if((DDa(a,2)|0)==4){us(c,a,2);d=k[155701]|0;b=Ri[k[(k[d>>2]|0)+48>>2]&255](d,b,c)|0;_qb(c)}else{d=~~+lHa(a,2)>>>0;e=k[155701]|0;b=Ri[k[(k[e>>2]|0)+52>>2]&255](e,b,d)|0}Rs(a,8,b);Si[k[(k[b>>2]|0)+12>>2]&1023](b);r=c;return 1}function Gv(a){a=a|0;var b=0,c=0;c=r;r=r+32|0;b=k[155701]|0;if(!b){b=kBb(12)|0;g5(b)}else Si[k[(k[b>>2]|0)+8>>2]&1023](b);k[c>>2]=b;k[c+4>>2]=327310;k[c+8>>2]=3;k[c+12>>2]=12972;k[c+16>>2]=13020;a=Bs(a,c)|0;r=c;return a|0}function Hv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((DDa(a,b)|0)!=7){k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0}d=RDa(a,b)|0;if(k[(k[155799]|0)+(k[d>>2]<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0){c=d+4|0;c=k[c>>2]|0;r=e;return c|0}k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0;c=d+4|0;c=k[c>>2]|0;r=e;return c|0}function Iv(a){a=a|0;var b=0;b=Hv(a,1,8)|0;WDa(a,Gi[k[(k[b>>2]|0)+28>>2]&2047](b)|0);return 1}function Jv(a){a=a|0;var b=0;b=Hv(a,1,8)|0;WDa(a,Gi[k[(k[b>>2]|0)+24>>2]&2047](b)|0);return 1}function Kv(a){a=a|0;var b=0;b=Hv(a,1,8)|0;WDa(a,Gi[k[(k[b>>2]|0)+28>>2]&2047](b)|0);WDa(a,Gi[k[(k[b>>2]|0)+24>>2]&2047](b)|0);return 2}function Lv(a){a=a|0;VDa(a,+((p6(Hv(a,1,8)|0)|0)>>>0));return 1}function Mv(a){a=a|0;var b=0;b=r;r=r+16|0;q6(b,Hv(a,1,8)|0);vs(a,b);_qb(b);r=b;return 1}function Nv(a){a=a|0;WDa(a,s6(Hv(a,1,8)|0)|0);return 1}function Ov(a){a=a|0;var b=0;b=Hv(a,1,8)|0;WDa(a,t6(b)|0);WDa(a,u6(b)|0);return 2}function Pv(a){a=a|0;var b=0,c=0,d=0,e=0;b=Hv(a,1,8)|0;c=v6(b)|0;e=w6(b)|0;d=x6(b)|0;b=(y6(b)|0)-e|0;WDa(a,c);WDa(a,e);WDa(a,d-c|0);WDa(a,b);return 4}function Qv(a){a=a|0;var b=0;b=r;r=r+16|0;if(A6(z6(Hv(a,1,8)|0)|0,b+4|0)|0){YDa(a,k[b+4>>2]|0);a=1;r=b;return a|0}else{a=aHa(a,326938,b)|0;r=b;return a|0}return 0}function Rv(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=12068;k[b+4>>2]=13032;k[b+8>>2]=0;a=Is(a,8,326964,b)|0;r=b;return a|0}function Sv(a,b){a=a|0;b=b|0;return Tv(a,b,9)|0}function Tv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((DDa(a,b)|0)!=7){k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0}d=RDa(a,b)|0;if(k[(k[155799]|0)+(k[d>>2]<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0){c=d+4|0;c=k[c>>2]|0;r=e;return c|0}k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0;c=d+4|0;c=k[c>>2]|0;r=e;return c|0}function Uv(a){a=a|0;var b=0;b=Tv(a,1,9)|0;WDa(a,Gi[k[(k[b>>2]|0)+16>>2]&2047](b)|0);return 1}function Vv(a){a=a|0;var b=0;b=Tv(a,1,9)|0;WDa(a,Gi[k[(k[b>>2]|0)+20>>2]&2047](b)|0);return 1}function Wv(a){a=a|0;var b=0;b=Tv(a,1,9)|0;WDa(a,Gi[k[(k[b>>2]|0)+24>>2]&2047](b)|0);return 1}function Xv(a){a=a|0;var b=0;b=Tv(a,1,9)|0;WDa(a,Gi[k[(k[b>>2]|0)+28>>2]&2047](b)|0);return 1}function Yv(a){a=a|0;var b=0;b=Tv(a,1,9)|0;WDa(a,Gi[k[(k[b>>2]|0)+32>>2]&2047](b)|0);return 1}function Zv(a){a=a|0;var b=0,c=0,d=0;c=r;r=r+16|0;b=Tv(a,1,9)|0;if((DDa(a,2)|0)==4){us(c,a,2);b=gj[k[(k[b>>2]|0)+40>>2]&511](b,c)|0;_qb(c)}else{d=~~+lHa(a,2)>>>0;b=gj[k[(k[b>>2]|0)+36>>2]&511](b,d)|0}Rs(a,8,b);Si[k[(k[b>>2]|0)+12>>2]&1023](b);r=c;return 1}function _v(a){a=a|0;var b=0;b=Tv(a,1,9)|0;WDa(a,Gi[k[(k[b>>2]|0)+44>>2]&2047](b)|0);return 1}function $v(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;f=r;r=r+16|0;c=Tv(a,1,9)|0;d=(xDa(a)|0)+-1|0;d=(d|0)<1?1:d;a:do if((d|0)>0){e=2;while(1){if((DDa(a,e)|0)==4){b=k[(k[c>>2]|0)+52>>2]|0;us(f,a,e);b=gj[b&511](c,f)|0;_qb(f);if(!b){b=0;break a}}else{g=k[(k[c>>2]|0)+48>>2]|0;b=~~+lHa(a,e)>>>0;b=gj[g&511](c,b)|0;if(!b){b=0;break a}}if((e|0)>(d|0)){b=b&1;break}else e=e+1|0}}else b=0;while(0);rs(a,b<<24>>24!=0);r=f;return 1}function aw(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=13112;k[b+4>>2]=0;a=Is(a,9,327009,b)|0;r=b;return a|0}function bw(a){a=a|0;baa(k[155702]|0);return 0}function cw(a){a=a|0;var b=0,c=0,d=0,e=0.0;d=r;r=r+32|0;k[d>>2]=0;k[d+4>>2]=0;k[d+8>>2]=0;k[d+12>>2]=0;do if((DDa(a,1)|0)<1){k[d>>2]=0;k[d+4>>2]=0;k[d+8>>2]=0;k[d+12>>2]=0}else{if((DDa(a,1)|0)!=5){e=+lHa(a,1);o[d>>2]=e;e=+lHa(a,2);o[d+4>>2]=e;e=+lHa(a,3);o[d+8>>2]=e;e=+mHa(a,4,255.0);o[d+12>>2]=e;break}b=xDa(a)|0;k[d+16>>2]=0;k[d+16+4>>2]=0;k[d+16+8>>2]=0;do if(!b)c=0;else if(b>>>0>214748364)xzb(d+16|0);else{c=kBb(b*20|0)|0;k[d+16>>2]=c;k[d+16+8>>2]=c+(b*20|0);vBb(c|0,0,b*20|0)|0;k[d+16+4>>2]=c+(b*20|0);c=0;break}while(0);while(1){if((c|0)>=(xDa(a)|0))break;b=c+1|0;if((DDa(a,b)|0)>=1)if(Ps(a,b)|0){gEa(a,b,1);gEa(a,b,2);gEa(a,b,3);gEa(a,b,4);i[(k[d+16>>2]|0)+(c*20|0)+16>>0]=1;e=+lHa(a,-4);o[(k[d+16>>2]|0)+(c*20|0)>>2]=e;e=+lHa(a,-3);o[(k[d+16>>2]|0)+(c*20|0)+4>>2]=e;e=+lHa(a,-2);o[(k[d+16>>2]|0)+(c*20|0)+8>>2]=e;e=+mHa(a,-1,255.0);o[(k[d+16>>2]|0)+(c*20|0)+12>>2]=e;yDa(a,-5);c=b;continue}i[(k[d+16>>2]|0)+(c*20|0)+16>>0]=0;c=b}faa(k[155702]|0,d+16|0);b=k[d+16>>2]|0;if(b|0){a=k[d+16+4>>2]|0;if((a|0)!=(b|0))k[d+16+4>>2]=a+(~(((a+-20-b|0)>>>0)/20|0)*20|0);CAb(b)}r=d;return 0}while(0);c=k[155702]|0;k[d+16>>2]=k[d>>2];k[d+16+4>>2]=k[d+4>>2];k[d+16+8>>2]=k[d+8>>2];k[d+16+12>>2]=k[d+12>>2];eaa(c,d+16|0);r=d;return 0}function dw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;h=r;r=r+48|0;k[h+24>>2]=0;g=h+24+4|0;k[g>>2]=0;k[h+24+8>>2]=0;a:do if((DDa(a,1)|0)==5){e=1;while(1){if(e>>>0>(Ps(a,1)|0)>>>0)break a;gEa(a,1,e);d=ss(a,-1,1)|0;c=k[g>>2]|0;b=k[h+24+8>>2]|0;if((c|0)==(b<<5|0)){if((c+1|0)<0)break;if(b<<5>>>0>1073741822)b=2147483647;else b=b<<6>>>0<(c+32&-32)>>>0?c+32&-32:b<<6;ew(h+24|0,b);b=k[g>>2]|0}else b=c;k[g>>2]=b+1;c=(k[h+24>>2]|0)+(b>>>5<<2)|0;b=1<<(b&31);if(d)b=k[c>>2]|b;else b=k[c>>2]&~b;k[c>>2]=b;yDa(a,-2);e=e+1|0}xzb(h+24|0)}else{e=ss(a,1,1)|0;Gaa(h+12|0,k[155702]|0);b=k[h+12+4>>2]|0;c=k[h+12>>2]|0;f=b-c>>2>>>0>1?b-c>>2:1;if(c|0){if((b|0)!=(c|0))k[h+12+4>>2]=b+(~((b+-4-c|0)>>>2)<<2);CAb(c)}k[h>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0;do if(!f){b=0;f=0;d=0}else{if((f|0)<0)xzb(h);d=kBb(((f+-1|0)>>>5)+1<<2)|0;k[h>>2]=d;k[h+8>>2]=((f+-1|0)>>>5)+1;k[h+4>>2]=f;if(e){vBb(d|0,-1,f>>>5<<2|0)|0;if((f>>>5<<5|0)==(f|0)){b=((f+-1|0)>>>5)+1|0;break}k[d+(f>>>5<<2)>>2]=k[d+(f>>>5<<2)>>2]|-1>>>(32-f+(f>>>5<<5)|0);b=((f+-1|0)>>>5)+1|0;break}else{vBb(d|0,0,f>>>5<<2|0)|0;if((f>>>5<<5|0)==(f|0)){b=((f+-1|0)>>>5)+1|0;break}k[d+(f>>>5<<2)>>2]=k[d+(f>>>5<<2)>>2]&~(-1>>>(32-f+(f>>>5<<5)|0));b=((f+-1|0)>>>5)+1|0;break}}while(0);c=k[h+24>>2]|0;if(!c)c=f;else{CAb(c);k[h+24>>2]=0;k[h+24+8>>2]=0;k[g>>2]=0;d=k[h>>2]|0;c=k[h+4>>2]|0;b=k[h+8>>2]|0}k[h+24>>2]=d;k[g>>2]=c;k[h+24+8>>2]=b;k[h>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0}while(0);b=ss(a,2,1)|0;gaa(k[155702]|0,h+24|0,b);b=k[h+24>>2]|0;if(!b){r=h;return 0}CAb(b);r=h;return 0}function ew(a,b){a=a|0;b=b|0;var c=0,d=0;c=r;r=r+32|0;if(k[a+8>>2]<<5>>>0>=b>>>0){r=c;return}k[c+16>>2]=0;k[c+16+4>>2]=0;k[c+16+8>>2]=0;if((b|0)<0)xzb(c+16|0);d=kBb(((b+-1|0)>>>5)+1<<2)|0;k[c+16>>2]=d;k[c+16+4>>2]=0;k[c+16+8>>2]=((b+-1|0)>>>5)+1;d=k[a>>2]|0;k[c+8>>2]=d;k[c+8+4>>2]=0;b=k[a+4>>2]|0;k[c>>2]=d+(b>>>5<<2);k[c+4>>2]=b&31;fw(c+16|0,c+8|0,c);b=k[a>>2]|0;k[a>>2]=k[c+16>>2];k[c+16>>2]=b;d=k[a+4>>2]|0;k[a+4>>2]=k[c+16+4>>2];k[c+16+4>>2]=d;d=k[a+8>>2]|0;k[a+8>>2]=k[c+16+8>>2];k[c+16+8>>2]=d;if(b|0)CAb(b);r=c;return}function fw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=r;r=r+32|0;f=k[a+4>>2]|0;g=k[b>>2]|0;d=k[b+4>>2]|0;e=k[c>>2]|0;c=k[c+4>>2]|0;k[a+4>>2]=f-d+c+(e-g<<3);b=(k[a>>2]|0)+(f>>>5<<2)|0;if((d|0)!=(f&31|0)){k[h+24>>2]=g;k[h+24+4>>2]=d;k[h+16>>2]=e;k[h+16+4>>2]=c;k[h+8>>2]=b;k[h+8+4>>2]=f&31;gw(h,h+24|0,h+16|0,h+8|0);r=h;return}c=c-d+(e-g<<3)|0;if((c|0)>0){if(!d){d=0;a=g;f=g}else{e=(c|0)<(32-d|0)?c:32-d|0;k[b>>2]=k[b>>2]&~(-1>>>(32-d-e|0)&-1<>2]&(-1>>>(32-d-e|0)&-1<>>5<<2)|0;d=e+d&31;a=g+4|0;f=g+4|0;c=c-e|0}e=c>>>5;BBb(b|0,a|0,e<<2|0)|0;c=c-(e<<5)|0;b=b+(e<<2)|0;if((c|0)>0){k[b>>2]=k[b>>2]&~(-1>>>(32-c|0))|k[f+(e<<2)>>2]&-1>>>(32-c|0);d=c}}k[h>>2]=b;k[h+4>>2]=d;r=h;return}function gw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,l=0;f=k[b>>2]|0;e=k[b+4>>2]|0;i=((k[c>>2]|0)-f<<3)+(k[c+4>>2]|0)-e|0;if((i|0)<=0){l=d+4|0;d=k[d>>2]|0;k[a>>2]=d;a=a+4|0;d=k[l>>2]|0;k[a>>2]=d;return}if(!e){l=d+4|0;c=f;e=k[d+4>>2]|0}else{h=(i|0)<(32-e|0)?i:32-e|0;c=-1>>>(32-e-h|0)&-1<>2];j=k[d+4>>2]|0;e=(32-j|0)>>>0>>0?32-j|0:h;f=k[d>>2]|0;j=k[f>>2]&~(-1>>>(32-j-e|0)&-1<>2]=j;g=k[d+4>>2]|0;l=k[b+4>>2]|0;k[f>>2]=j|(g>>>0>l>>>0?c<>>(l-g|0));g=(k[d+4>>2]|0)+e|0;k[d>>2]=f+(g>>>5<<2);k[d+4>>2]=g&31;if((h-e|0)>0){l=k[f+(g>>>5<<2)>>2]&~(-1>>>(32-(h-e)|0));k[f+(g>>>5<<2)>>2]=l;k[f+(g>>>5<<2)>>2]=l|c>>>((k[b+4>>2]|0)+e|0);k[d+4>>2]=h-e;e=h-e|0}else e=g&31;c=(k[b>>2]|0)+4|0;k[b>>2]=c;l=d+4|0;i=i-h|0}j=32-e|0;f=-1<>>0>31){e=i;do{h=k[c>>2]|0;c=k[d>>2]|0;g=k[c>>2]&~f;k[c>>2]=g;k[c>>2]=g|h<>2];k[d>>2]=c+4;k[c+4>>2]=k[c+4>>2]&f|h>>>j;e=e+-32|0;c=(k[b>>2]|0)+4|0;k[b>>2]=c}while(e>>>0>31);i=i&31}if((i|0)<=0){d=k[d>>2]|0;k[a>>2]=d;a=a+4|0;d=k[l>>2]|0;k[a>>2]=d;return}f=k[c>>2]&-1>>>(32-i|0);g=(j|0)<(i|0)?j:i;h=k[d>>2]|0;e=k[h>>2]&~(-1<>2]&-1>>>(j-g|0));k[h>>2]=e;k[h>>2]=e|f<>2];e=(k[l>>2]|0)+g|0;k[d>>2]=h+(e>>>5<<2);k[l>>2]=e&31;c=i-g|0;if((c|0)<=0){d=k[d>>2]|0;k[a>>2]=d;a=a+4|0;d=k[l>>2]|0;k[a>>2]=d;return}k[h+(e>>>5<<2)>>2]=k[h+(e>>>5<<2)>>2]&~(-1>>>(32-c|0))|f>>>g;k[l>>2]=c;d=k[d>>2]|0;k[a>>2]=d;a=a+4|0;d=k[l>>2]|0;k[a>>2]=d;return}function hw(a){a=a|0;haa(k[155702]|0);return 0}function iw(a){a=a|0;rs(a,Z9(k[155702]|0)|0);return 1}function jw(a){a=a|0;var b=0;b=k[155702]|0;rs(a,Gi[k[(k[b>>2]|0)+40>>2]&2047](b)|0);return 1}function kw(a){a=a|0;rs(a,$9(k[155702]|0)|0);return 1}function lw(a){a=a|0;WDa(a,iaa(k[155702]|0)|0);return 1}function mw(a){a=a|0;WDa(a,jaa(k[155702]|0)|0);return 1}function nw(a){a=a|0;WDa(a,iaa(k[155702]|0)|0);WDa(a,jaa(k[155702]|0)|0);return 2}function ow(a){a=a|0;var b=0,c=0.0,d=0.0,e=0,f=0;f=r;r=r+16|0;switch(xDa(a)|0){case 0:{b=6;break}case 4:{if(!(DDa(a,1)|0))if(!(DDa(a,2)|0))if(!(DDa(a,3)|0))if(!(DDa(a,4)|0))b=6;break}default:{}}if((b|0)==6){O9(k[155702]|0);a=0;r=f;return a|0}c=+lHa(a,1);d=+lHa(a,2);b=~~+lHa(a,3);e=~~+lHa(a,4);if((e|b|0)<0){a=aHa(a,327058,f)|0;r=f;return a|0}else{N9(k[155702]|0,~~c,~~d,b,e);a=0;r=f;return a|0}return 0}function pw(a){a=a|0;var b=0.0,c=0.0,d=0,e=0,f=0;f=r;r=r+16|0;b=+lHa(a,1);c=+lHa(a,2);d=~~+lHa(a,3);e=~~+lHa(a,4);if((e|d|0)<0){a=aHa(a,327058,f)|0;r=f;return a|0}else{kaa(k[155702]|0,~~b,~~c,d,e);a=0;r=f;return a|0}return 0}function qw(a){a=a|0;var b=0;b=r;r=r+16|0;if(!(laa(k[155702]|0,b+12|0,b+8|0,b+4|0,b)|0)){a=0;r=b;return a|0}WDa(a,k[b+12>>2]|0);WDa(a,k[b+8>>2]|0);WDa(a,k[b+4>>2]|0);WDa(a,k[b>>2]|0);a=4;r=b;return a|0}function rw(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;jHa(a,1,6);k[c+4>>2]=0;if((DDa(a,2)|0)>=1){b=fHa(a,2,0)|0;if(!(_A(b,c+4|0)|0)){k[c>>2]=b;a=aHa(a,327111,c)|0;r=c;return a|0}}b=~~+mHa(a,3,1.0);if(!(NDa(a,4)|0))oaa(k[155702]|0);maa(k[155702]|0,k[c+4>>2]|0,b);CDa(a,1);qEa(a,0,0);caa(k[155702]|0);a=0;r=c;return a|0}function sw(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;k[c+4>>2]=6;do if((DDa(a,1)|0)<1){b=6;a=0}else{b=fHa(a,1,0)|0;if($A(b,c+4|0)|0){a=~~+lHa(a,2);b=k[c+4>>2]|0;break}k[c>>2]=b;a=aHa(a,327143,c)|0;r=c;return a|0}while(0);P9(k[155702]|0,b,a);a=0;r=c;return a|0}function tw(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+12>>2]=6;k[b+8>>2]=1;naa(k[155702]|0,b+12|0,b+8|0);if(aB(k[b+12>>2]|0,b+4|0)|0){YDa(a,k[b+4>>2]|0);VDa(a,+(k[b+8>>2]|0));a=2;r=b;return a|0}else{a=aHa(a,327168,b)|0;r=b;return a|0}return 0}function uw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;h=r;r=r+80|0;if(!(Z9(k[155702]|0)|0))aHa(a,327190,h)|0;k[h+44>>2]=0;g=h+44+4|0;k[g>>2]=0;k[h+44+8>>2]=0;k[h+24>>2]=0;f=h+24+4|0;k[f>>2]=0;k[h+24+8>>2]=0;i[h+64>>0]=0;i[h+64+1>>0]=0;if((DDa(a,2)|0)>=1){jHa(a,2,5);k[h+60>>2]=0;Uba(0,h+60|0)|0;e=(ws(a,2,k[h+60>>2]|0,(i[h+64>>0]|0)!=0)|0)&1;i[h+64>>0]=e;k[h+60>>2]=0;Uba(1,h+60|0)|0;e=(ws(a,2,k[h+60>>2]|0,(i[h+64+1>>0]|0)!=0)|0)&1;i[h+64+1>>0]=e}do if(!(HDa(a,1)|0))if(Ss(a,1,5)|0)c=8;else if(Ss(a,1,7)|0)c=8;else if(Ss(a,1,23)|0){b=LD(a,1)|0;k[h+56>>2]=b;c=k[f>>2]|0;if(c>>>0<(k[h+24+8>>2]|0)>>>0){k[c>>2]=b;k[f>>2]=(k[f>>2]|0)+4;e=0;c=26;break}else{vw(h+24|0,h+56|0);e=0;c=26;break}}else{b=XD(a,1)|0;k[h+40>>2]=b;c=k[g>>2]|0;if(c>>>0<(k[h+44+8>>2]|0)>>>0){k[c>>2]=b;k[g>>2]=(k[g>>2]|0)+4;e=0;c=26;break}else{ww(h+44|0,h+40|0);e=0;c=26;break}}else c=8;while(0);do if((c|0)==8){b=k[155703]|0;if(!b){d=aHa(a,327238,h+8|0)|0;break}d=Vu(a,1)|0;if(gj[k[(k[b>>2]|0)+40>>2]&511](b,d)|0){b=gj[k[(k[b>>2]|0)+36>>2]&511](b,d)|0;k[h+60>>2]=b;c=k[f>>2]|0;if(c>>>0<(k[h+24+8>>2]|0)>>>0){k[c>>2]=b;k[f>>2]=(k[f>>2]|0)+4}else vw(h+24|0,h+60|0);Si[k[(k[d>>2]|0)+12>>2]&1023](d);e=1;c=26;break}else{b=gj[k[(k[b>>2]|0)+24>>2]&511](b,d)|0;k[h+60>>2]=b;c=k[g>>2]|0;if(c>>>0<(k[h+44+8>>2]|0)>>>0){k[c>>2]=b;k[g>>2]=(k[g>>2]|0)+4}else ww(h+44|0,h+60|0);Si[k[(k[d>>2]|0)+12>>2]&1023](d);e=1;c=26;break}}while(0);do if((c|0)==26){if((DDa(a,2)|0)==5){k[h+60>>2]=0;Uba(0,h+60|0)|0;eEa(a,2,k[h+60>>2]|0);a:do if((DDa(a,-1)|0)==5){d=1;while(1){if(d>>>0>(Ps(a,-1)|0)>>>0)break a;gEa(a,-1,d);do if((k[h+44>>2]|0)==(k[g>>2]|0)){if((k[h+24>>2]|0)!=(k[f>>2]|0)){if(!(Ss(a,-1,23)|0))Us(a,-1,435995,345906)|0;b=LD(a,-1)|0;k[h+20>>2]=b;c=k[f>>2]|0;if(c>>>0<(k[h+24+8>>2]|0)>>>0){k[c>>2]=b;k[f>>2]=(k[f>>2]|0)+4;break}else{vw(h+24|0,h+20|0);break}}}else{if(!(Ss(a,-1,22)|0))Us(a,-1,435995,437103)|0;b=XD(a,-1)|0;k[h+36>>2]=b;c=k[g>>2]|0;if(c>>>0<(k[h+44+8>>2]|0)>>>0){k[c>>2]=b;k[g>>2]=(k[g>>2]|0)+4;break}else{ww(h+44|0,h+36|0);break}}while(0);yDa(a,-2);d=d+1|0}}while(0);yDa(a,-2)}if((k[h+24>>2]|0)==(k[f>>2]|0))if((k[h+44>>2]|0)==(k[g>>2]|0))d=0;else d=paa(k[155702]|0,h+44|0,h+64|0)|0;else d=qaa(k[155702]|0,h+24|0,h+64|0)|0;if(e<<24>>24){b=k[h+44>>2]|0;c=k[g>>2]|0;if((b|0)!=(c|0))do{e=k[b>>2]|0;Si[k[(k[e>>2]|0)+12>>2]&1023](e);b=b+4|0}while((b|0)!=(c|0));b=k[h+24>>2]|0;c=k[f>>2]|0;if((b|0)!=(c|0))do{e=k[b>>2]|0;Si[k[(k[e>>2]|0)+12>>2]&1023](e);b=b+4|0}while((b|0)!=(c|0))}if(!d){d=aHa(a,327288,h+16|0)|0;break}else{Rs(a,12,d);Si[k[(k[d>>2]|0)+12>>2]&1023](d);d=1;break}}while(0);b=k[h+24>>2]|0;if(b|0){c=k[f>>2]|0;if((c|0)!=(b|0))k[f>>2]=c+(~((c+-4-b|0)>>>2)<<2);CAb(b)}b=k[h+44>>2]|0;if(!b){r=h;return d|0}c=k[g>>2]|0;if((c|0)!=(b|0))k[g>>2]=c+(~((c+-4-b|0)>>>2)<<2);CAb(b);r=h;return d|0}function vw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=k[a>>2]|0;c=((k[a+4>>2]|0)-i>>2)+1|0;if(c>>>0>1073741823)xzb(a);d=(k[a+8>>2]|0)-i|0;if(d>>2>>>0<536870911){c=d>>1>>>0>>0?c:d>>1;e=k[a+4>>2]|0;if(!c){h=0;f=0;d=e-i>>2;c=e}else{g=e;d=e-i>>2;j=6}}else{d=k[a+4>>2]|0;c=1073741823;g=d;d=d-i>>2;j=6}if((j|0)==6){h=c;f=kBb(c<<2)|0;c=g}j=f+(d<<2)|0;k[j>>2]=k[b>>2];b=c-i|0;ABb(j+(0-(b>>2)<<2)|0,i|0,b|0)|0;k[a>>2]=j+(0-(b>>2)<<2);k[a+4>>2]=j+4;k[a+8>>2]=f+(h<<2);if(!i)return;CAb(i);return}function ww(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=k[a>>2]|0;c=((k[a+4>>2]|0)-i>>2)+1|0;if(c>>>0>1073741823)xzb(a);d=(k[a+8>>2]|0)-i|0;if(d>>2>>>0<536870911){c=d>>1>>>0>>0?c:d>>1;e=k[a+4>>2]|0;if(!c){h=0;f=0;d=e-i>>2;c=e}else{g=e;d=e-i>>2;j=6}}else{d=k[a+4>>2]|0;c=1073741823;g=d;d=d-i>>2;j=6}if((j|0)==6){h=c;f=kBb(c<<2)|0;c=g}j=f+(d<<2)|0;k[j>>2]=k[b>>2];b=c-i|0;ABb(j+(0-(b>>2)<<2)|0,i|0,b|0)|0;k[a>>2]=j+(0-(b>>2)<<2);k[a+4>>2]=j+4;k[a+8>>2]=f+(h<<2);if(!i)return;CAb(i);return}function xw(a){a=a|0;var b=0,c=0,d=0.0,e=0.0,f=0.0,g=0.0,h=0.0,i=0.0;b=r;r=r+80|0;if(!(Z9(k[155702]|0)|0))aHa(a,327190,b+32|0)|0;i=+lHa(a,1);h=+lHa(a,2);g=+lHa(a,3);f=+lHa(a,4);e=+lHa(a,5);d=+lHa(a,6);c=k[155702]|0;p[b>>3]=i;p[b+8>>3]=h;p[b+16>>3]=g;p[b+24>>3]=f;k[b+40>>2]=k[b>>2];k[b+40+4>>2]=k[b+4>>2];k[b+40+8>>2]=k[b+8>>2];k[b+40+12>>2]=k[b+12>>2];k[b+40+16>>2]=k[b+16>>2];k[b+40+20>>2]=k[b+20>>2];k[b+40+24>>2]=k[b+24>>2];k[b+40+28>>2]=k[b+28>>2];c=raa(c,b+40|0,e,d)|0;Rs(a,13,c);Si[k[(k[c>>2]|0)+12>>2]&1023](c);r=b;return 1}function yw(a){a=a|0;var b=0,c=0,d=0,e=0;e=r;r=r+32|0;if(!(Z9(k[155702]|0)|0))aHa(a,327190,e)|0;if(!(Ss(a,1,9)|0)){k[e+8>>2]=0;d=e+8+4|0;k[d>>2]=0;k[e+8+8>>2]=0;b=0;while(1){if((b|0)>=(xDa(a)|0))break;b=b+1|0;k[e+4>>2]=b;c=k[d>>2]|0;if(c>>>0<(k[e+8+8>>2]|0)>>>0){k[c>>2]=b;k[d>>2]=c+4;continue}else{ll(e+8|0,e+4|0);continue}}b=k[e+8>>2]|0;Vs(a,b,(k[d>>2]|0)-b>>2,327310,327315)|0;b=k[e+8>>2]|0;if(b|0){c=k[d>>2]|0;if((c|0)!=(b|0))k[d>>2]=c+(~((c+-4-b|0)>>>2)<<2);CAb(b)}}c=Tv(a,1,9)|0;d=k[155702]|0;d=Y9(d,c,Kaa(d)|0)|0;Rs(a,14,d);Si[k[(k[d>>2]|0)+12>>2]&1023](d);r=e;return 1}function zw(a){a=a|0;var b=0,c=0,d=0,e=0;e=r;r=r+48|0;if(!(Z9(k[155702]|0)|0))aHa(a,327190,e)|0;d=Kaa(k[155702]|0)|0;k[e+24>>2]=k[d>>2];k[e+24+4>>2]=k[d+4>>2];k[e+24+8>>2]=k[d+8>>2];k[e+24+12>>2]=k[d+12>>2];do if(Ss(a,1,12)|0){d=Aw(a,1,12)|0;b=Gi[k[(k[d>>2]|0)+36>>2]&2047](d)|0;k[e+24>>2]=k[b>>2];k[e+24+4>>2]=k[b+4>>2];k[e+24+8>>2]=k[b+8>>2];k[e+24+12>>2]=k[b+12>>2];d=Mba(d)|0;b=k[d>>2]|0;if((b|0)!=(k[d+4>>2]|0)){Rs(a,22,k[b>>2]|0);BDa(a,1);break}a=$Ga(a,1,327329)|0;r=e;return a|0}while(0);if(!(Ss(a,1,9)|0)){jHa(a,2,4);k[e+8>>2]=0;d=e+8+4|0;k[d>>2]=0;k[e+8+8>>2]=0;b=0;while(1){if((b|0)>=(xDa(a)|0))break;b=b+1|0;k[e+4>>2]=b;c=k[d>>2]|0;if(c>>>0<(k[e+8+8>>2]|0)>>>0){k[c>>2]=b;k[d>>2]=c+4;continue}else{ll(e+8|0,e+4|0);continue}}b=k[e+8>>2]|0;Vs(a,b,(k[d>>2]|0)-b>>2,327310,327359)|0;b=k[e+8>>2]|0;if(b|0){c=k[d>>2]|0;if((c|0)!=(b|0))k[d>>2]=c+(~((c+-4-b|0)>>>2)<<2);CAb(b)}}d=Tv(a,1,9)|0;d=Y9(k[155702]|0,d,e+24|0)|0;Rs(a,14,d);Si[k[(k[d>>2]|0)+12>>2]&1023](d);a=1;r=e;return a|0}function Aw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((DDa(a,b)|0)!=7){k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0}d=RDa(a,b)|0;if(k[(k[155799]|0)+(k[d>>2]<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0){c=d+4|0;c=k[c>>2]|0;r=e;return c|0}k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0;c=d+4|0;c=k[c>>2]|0;r=e;return c|0}function Bw(a){a=a|0;var b=0,c=0,d=0,e=0;e=r;r=r+16|0;if(!(Z9(k[155702]|0)|0))aHa(a,327190,e)|0;c=vD(a,1)|0;d=~~+mHa(a,2,1.0e3);k[e+12>>2]=1;do if((xDa(a)|0)>2){b=fHa(a,3,0)|0;if(Qca(b,e+12|0)|0){b=k[e+12>>2]|0;break}k[e+8>>2]=b;a=aHa(a,327378,e+8|0)|0;r=e;return a|0}else b=1;while(0);d=saa(k[155702]|0,c,d,b)|0;Rs(a,16,d);Si[k[(k[d>>2]|0)+12>>2]&1023](d);a=1;r=e;return a|0}function Cw(a){a=a|0;var b=0,c=0.0,d=0;d=r;r=r+16|0;if(!(Z9(k[155702]|0)|0))aHa(a,327190,d)|0;b=vD(a,1)|0;c=+mHa(a,2,1.0e3);if(c<1.0|c>536870911.0){a=aHa(a,327413,d+8|0)|0;r=d;return a|0}else{b=taa(k[155702]|0,b,~~c)|0;Rs(a,15,b);Si[k[(k[b>>2]|0)+12>>2]&1023](b);a=1;r=d;return a|0}return 0}function Dw(a){a=a|0;var b=0,c=0.0,d=0.0,e=0.0,f=0;f=r;r=r+32|0;if(!(Z9(k[155702]|0)|0))aHa(a,327190,f)|0;d=+mHa(a,1,+(iaa(k[155702]|0)|0));e=+mHa(a,2,+(jaa(k[155702]|0)|0));b=eHa(a,3,518168,0)|0;c=+mHa(a,4,0.0);if(!(x7(b,f+20|0)|0)){k[f+8>>2]=b;a=aHa(a,327441,f+8|0)|0;r=f;return a|0}b=uaa(k[155702]|0,~~d,~~e,k[f+20>>2]|0,~~c)|0;if(!b){a=aHa(a,327467,f+16|0)|0;r=f;return a|0}else{Rs(a,17,b);Si[k[(k[b>>2]|0)+12>>2]&1023](b);a=1;r=f;return a|0}return 0}function Ew(a){a=a|0;var b=0,c=0,d=0,e=0;e=r;r=r+96|0;if(!(Z9(k[155702]|0)|0))aHa(a,327190,e)|0;yDa(a,2);do if(!(HDa(a,1)|0))d=12;else{Ts(a,352628,352639)|0;CDa(a,1);qEa(a,1,1);c=qs(a,-1)|0;yDa(a,-2);if(c){Ts(a,352628,518857)|0;CDa(a,1);qEa(a,1,1);BDa(a,1);d=12;break}k[e+64>>2]=0;b=ODa(a,1,e+64|0)|0;if(((k[e+64>>2]|0)+-1|0)>>>0<255)if(!(gob(b,10)|0)){c=gob(b,46)|0;if(c|0)if(!(gob(c,59)|0))if(!(gob(c,32)|0))break}d=12}while(0);a:do if((d|0)==12){do if(HDa(a,2)|0){Ts(a,352628,352639)|0;CDa(a,2);qEa(a,1,1);c=qs(a,-1)|0;yDa(a,-2);if(c){Ts(a,352628,518857)|0;CDa(a,2);qEa(a,1,1);BDa(a,2);break}k[e+64>>2]=0;b=ODa(a,2,e+64|0)|0;if(((k[e+64>>2]|0)+-1|0)>>>0<255)if(!(gob(b,10)|0)){c=gob(b,46)|0;if(c|0)if(!(gob(c,59)|0))if(!(gob(c,32)|0))break a}}while(0);b=HDa(a,1)|0;c=HDa(a,2)|0;if(!(c|b))fHa(a,1,0)|0;Ts(a,327524,327533)|0;CDa(a,1);CDa(a,2);if(rEa(a,2,2,0)|0){d=ODa(a,-1,0)|0;k[e+16>>2]=d;a=aHa(a,593163,e+16|0)|0;r=e;return a|0};k[e+64>>2]=0;k[e+64+4>>2]=0;k[e+64+8>>2]=0;k[e+64+12>>2]=0;k[e+64+16>>2]=0;k[e+64+20>>2]=0;if(!(HDa(a,-2)|0))if((b|0)!=0&(c|0)!=0)b=aHa(a,327551,e+24|0)|0;else d=24;else{us(e+48|0,a,-2);if(!(i[e+64>>0]&1)){i[e+64+1>>0]=0;i[e+64>>0]=0}else{i[k[e+64+8>>2]>>0]=0;k[e+64+4>>2]=0}crb(e+64|0,0);k[e+64>>2]=k[e+48>>2];k[e+64+4>>2]=k[e+48+4>>2];k[e+64+8>>2]=k[e+48+8>>2];k[e+48>>2]=0;k[e+48+4>>2]=0;k[e+48+8>>2]=0;_qb(e+48|0);d=24}b:do if((d|0)==24){if(!(HDa(a,-1)|0)){if((b|0)!=0&(c|0)!=0){b=aHa(a,327617,e+32|0)|0;break}}else{us(e+36|0,a,-1);b=e+64+12|0;if(!(i[b>>0]&1)){i[b+1>>0]=0;i[b>>0]=0}else{i[k[e+64+20>>2]>>0]=0;k[e+64+16>>2]=0}crb(b,0);k[b>>2]=k[e+36>>2];k[b+4>>2]=k[e+36+4>>2];k[b+8>>2]=k[e+36+8>>2];k[e+36>>2]=0;k[e+36+4>>2]=0;k[e+36+8>>2]=0;_qb(e+36|0)}d=i[e+64>>0]|0;do if(!(((d&1)==0?(d&255)>>>1:k[e+64+4>>2]|0)|0)){d=i[e+64+12>>0]|0;if(!(((d&1)==0?(d&255)>>>1:k[e+64+16>>2]|0)|0)){if(!(HDa(a,1)|0))if(!(HDa(a,2)|0))break;else b=2;else b=1;b=$Ga(a,b,327680)|0;break b}}while(0);b=aaa(k[155702]|0,e+64|0)|0;Rs(a,18,b);Si[k[(k[b>>2]|0)+12>>2]&1023](b);b=1}while(0);_qb(e+64+12|0);_qb(e+64|0);a=b;r=e;return a|0}while(0);k[e+8>>2]=b;a=aHa(a,504453,e+8|0)|0;r=e;return a|0}function Fw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,p=0.0;n=r;r=r+96|0;if(!(Z9(k[155702]|0)|0))aHa(a,327190,n)|0;b=DDa(a,1)|0;switch(b|0){case 3:case 5:break;default:$Ga(a,1,327721)|0}c=DDa(a,2)|0;if((b|0)==5)if((c|0)==3|(c|2|0)==7){k[n+52>>2]=0;m=n+52+4|0;k[m>>2]=0;k[n+52+8>>2]=0;k[n+72>>2]=0;if((DDa(a,3)|0)>=1){b=fHa(a,3,0)|0;if(b|0)if(!(Rca(b,n+72|0)|0)){k[n+8>>2]=b;aHa(a,341102,n+8|0)|0}}e=k[n+72>>2]|0;k[n+72>>2]=1;if((DDa(a,4)|0)>=1){b=fHa(a,4,0)|0;if(b|0)if(!(Qca(b,n+72|0)|0)){k[n+16>>2]=b;aHa(a,327746,n+16|0)|0}}d=k[n+72>>2]|0;gEa(a,1,1);do if((DDa(a,-1)|0)==5){yDa(a,-2);c=1;while(1){if((c|0)>(Ps(a,1)|0)){j=27;break}gEa(a,1,c);gEa(a,-1,1);gEa(a,-2,2);gEa(a,-3,3);k[n+72>>2]=0;k[n+72+4>>2]=0;k[n+72+8>>2]=0;drb(n+72|0,fHa(a,-3,0)|0)|0;b=fHa(a,-2,0)|0;if(!(Tca(b,n+72+12|0)|0)){j=20;break}b=~~+lHa(a,-1);k[n+72+16>>2]=b;if((b+-1|0)>>>0>3){j=22;break}yDa(a,-5);b=k[m>>2]|0;if((b|0)==(k[n+52+8>>2]|0))Gw(n+52|0,n+72|0);else{Vqb(b,n+72|0);l=k[n+72+12+4>>2]|0;k[b+12>>2]=k[n+72+12>>2];k[b+12+4>>2]=l;k[m>>2]=(k[m>>2]|0)+20}_qb(n+72|0);c=c+1|0}if((j|0)==20){k[n+24>>2]=b;aHa(a,327799,n+24|0)|0;_qb(n+72|0);d=0;break}else if((j|0)==22){k[n+32>>2]=b;aHa(a,327838,n+32|0)|0;_qb(n+72|0);d=0;break}else if((j|0)==27){if(GDa(a,2)|0){l=~~+lHa(a,2);d=xaa(k[155702]|0,n+52|0,l,e,d)|0;break}if(Ss(a,2,2)|0){l=Hk(a,2,2)|0;h=k[155702]|0;j=Gi[k[(k[l>>2]|0)+16>>2]&2047](l)|0;d=yaa(h,n+52|0,j,Gi[k[(k[l>>2]|0)+20>>2]&2047](l)|0,e,d)|0;break}gEa(a,2,1);if((DDa(a,-1)|0)!=5){$Ga(a,2,327909)|0;d=0;break}yDa(a,-2);l=Ps(a,2)|0;d=xaa(k[155702]|0,n+52|0,l,e,d)|0;j=0;while(1){if(j>>>0>=l>>>0)break;h=j+1|0;gEa(a,2,h);jHa(a,-1,5);b=k[n+52>>2]|0;if((k[m>>2]|0)!=(b|0)){c=0;g=0;do{f=k[b+(g*20|0)+16>>2]|0;if((f|0)>0){e=0;b=c;while(1){c=b+1|0;gEa(a,~e,c);e=e+1|0;if((e|0)>=(f|0))break;else b=c}b=k[n+52>>2]|0}Yx(a,0-f|0,k[b+(g*20|0)+12>>2]|0,f,n+72|0)|0;yDa(a,~f);rca(d,j,g,n+72|0,16);g=g+1|0;b=k[n+52>>2]|0}while(g>>>0<(((k[m>>2]|0)-b|0)/20|0)>>>0)}yDa(a,-2);j=h}Eca(d);break}}else{$Ga(a,1,327774)|0;d=0}while(0);b=k[n+52>>2]|0;if(b|0){c=k[m>>2]|0;if((c|0)!=(b|0)){do{l=c+-20|0;k[m>>2]=l;_qb(l);c=k[m>>2]|0}while((c|0)!=(b|0));b=k[n+52>>2]|0}CAb(b)}m=d;Rs(a,19,m);a=k[m>>2]|0;a=a+12|0;a=k[a>>2]|0;Si[a&1023](m);r=n;return 1}k[n+72>>2]=0;if((DDa(a,2)|0)>=1){b=fHa(a,2,0)|0;if(b|0)if(!(Rca(b,n+72|0)|0)){k[n+40>>2]=b;aHa(a,341102,n+40|0)|0}}g=k[n+72>>2]|0;k[n+72>>2]=1;if((DDa(a,3)|0)>=1){b=fHa(a,3,0)|0;if(b|0)if(!(Qca(b,n+72|0)|0)){k[n+48>>2]=b;aHa(a,327746,n+48|0)|0}}f=k[n+72>>2]|0;if((DDa(a,1)|0)==5){b=Ps(a,1)|0;k[n+72>>2]=0;h=n+72+4|0;k[h>>2]=0;k[n+72+8>>2]=0;a:do if(!b)j=65;else{d=kBb(b*20|0)|0;k[n+72>>2]=d;k[h>>2]=d;k[n+72+8>>2]=d+(b*20|0);d=1;while(1){gEa(a,1,d);if((DDa(a,-1)|0)!=5)break;gEa(a,-1,1);gEa(a,-2,2);gEa(a,-3,3);gEa(a,-4,4);gEa(a,-5,5);gEa(a,-6,6);gEa(a,-7,7);gEa(a,-8,8);p=+lHa(a,-8);o[n+52>>2]=p;p=+lHa(a,-7);o[n+52+4>>2]=p;p=+mHa(a,-6,0.0);o[n+52+8>>2]=p;p=+mHa(a,-5,0.0);o[n+52+12>>2]=p;c=~~+mHa(a,-4,255.0)&255;i[n+52+16>>0]=c;c=~~+mHa(a,-3,255.0)&255;i[n+52+17>>0]=c;c=~~+mHa(a,-2,255.0)&255;i[n+52+18>>0]=c;c=~~+mHa(a,-1,255.0)&255;i[n+52+19>>0]=c;yDa(a,-10);c=k[h>>2]|0;if((c|0)==(k[n+72+8>>2]|0))zk(n+72|0,n+52|0);else{k[c>>2]=k[n+52>>2];k[c+4>>2]=k[n+52+4>>2];k[c+8>>2]=k[n+52+8>>2];k[c+12>>2]=k[n+52+12>>2];k[c+16>>2]=k[n+52+16>>2];k[h>>2]=c+20}d=d+1|0;if(d>>>0>b>>>0){j=65;break a}}Ys(a,1,327934)|0;e=1;b=0}while(0);if((j|0)==65){e=0;b=vaa(k[155702]|0,n+72|0,g,f)|0}c=k[n+72>>2]|0;if(c|0){d=k[h>>2]|0;if((d|0)!=(c|0))k[h>>2]=d+(~(((d+-20-c|0)>>>0)/20|0)*20|0);CAb(c)}if(e){m=0;Rs(a,19,m);a=k[m>>2]|0;a=a+12|0;a=k[a>>2]|0;Si[a&1023](m);r=n;return 1}}else{b=~~+lHa(a,1);b=waa(k[155702]|0,b,g,f)|0}m=b;Rs(a,19,m);a=k[m>>2]|0;a=a+12|0;a=k[a>>2]|0;Si[a&1023](m);r=n;return 1}function Gw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=k[a>>2]|0;d=(((k[a+4>>2]|0)-e|0)/20|0)+1|0;if(d>>>0>214748364)xzb(a);c=((k[a+8>>2]|0)-e|0)/20|0;if(c>>>0<107374182){c=c<<1>>>0>>0?d:c<<1;d=((k[a+4>>2]|0)-e|0)/20|0;if(!c){e=0;c=0}else f=6}else{c=214748364;d=((k[a+4>>2]|0)-e|0)/20|0;f=6}if((f|0)==6){e=c;c=kBb(c*20|0)|0}h=c+(d*20|0)|0;g=c+(e*20|0)|0;Vqb(h,b);e=k[b+12+4>>2]|0;f=c+(d*20|0)+12|0;k[f>>2]=k[b+12>>2];k[f+4>>2]=e;f=k[a>>2]|0;c=k[a+4>>2]|0;if((c|0)==(f|0)){d=h;e=f;c=f}else{e=h;d=h;do{i=e+-20|0;j=c;c=c+-20|0;k[i>>2]=k[c>>2];k[i+4>>2]=k[c+4>>2];k[i+8>>2]=k[c+8>>2];k[c>>2]=0;k[c+4>>2]=0;k[c+8>>2]=0;i=k[j+-8+4>>2]|0;b=e+-8|0;k[b>>2]=k[j+-8>>2];k[b+4>>2]=i;e=d+-20|0;d=e}while((c|0)!=(f|0));e=k[a>>2]|0;c=k[a+4>>2]|0}k[a>>2]=d;k[a+4>>2]=h+20;k[a+8>>2]=g;d=e;if((c|0)!=(d|0))do{c=c+-20|0;_qb(c)}while((c|0)!=(d|0));if(!e)return;CAb(e);return}function Hw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;e=r;r=r+16|0;if(!(Z9(k[155702]|0)|0))aHa(a,327190,e)|0;b=zga(a,1)|0;if((DDa(a,2)|0)<1){d=k[155702]|0;k[e+4>>2]=0;k[e+4+4>>2]=0;k[e+4+8>>2]=0;d=zaa(d,b,e+4|0)|0;b=k[e+4>>2]|0;if(b|0){c=k[e+4+4>>2]|0;if((c|0)!=(b|0)){do{f=c+-16|0;k[e+4+4>>2]=f;_qb(f);c=k[e+4+4>>2]|0}while((c|0)!=(b|0));b=k[e+4>>2]|0}CAb(b)}f=d;Rs(a,20,f);a=k[f>>2]|0;a=a+12|0;a=k[a>>2]|0;Si[a&1023](f);r=e;return 1}else{k[e+4>>2]=0;k[e+4+4>>2]=0;k[e+4+8>>2]=0;cA(a,2,e+4|0);d=zaa(k[155702]|0,b,e+4|0)|0;b=k[e+4>>2]|0;if(b|0){c=k[e+4+4>>2]|0;if((c|0)!=(b|0)){do{f=c+-16|0;k[e+4+4>>2]=f;_qb(f);c=k[e+4+4>>2]|0}while((c|0)!=(b|0));b=k[e+4>>2]|0}CAb(b)}f=d;Rs(a,20,f);a=k[f>>2]|0;a=a+12|0;a=k[a>>2]|0;Si[a&1023](f);r=e;return 1}return 0}function Iw(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;if(!(Z9(k[155702]|0)|0))aHa(a,327190,b)|0;if(!(Ss(a,1,55)|0))Us(a,1,327950,327956)|0;c=Jo(a,1,55)|0;c=Aaa(k[155702]|0,c)|0;Rs(a,21,c);Si[k[(k[c>>2]|0)+12>>2]&1023](c);r=b;return 1}function Jw(a){a=a|0;var b=0.0,c=0.0,d=0.0,e=0.0,f=0;f=r;r=r+32|0;if((DDa(a,1)|0)==5){gEa(a,1,1);gEa(a,1,2);gEa(a,1,3);gEa(a,1,4);e=+lHa(a,-4);c=+lHa(a,-3);d=+lHa(a,-2);b=+mHa(a,-1,255.0);yDa(a,-5)}else{e=+lHa(a,1);c=+lHa(a,2);d=+lHa(a,3);b=+mHa(a,4,255.0)}a=k[155702]|0;o[f>>2]=e;o[f+4>>2]=c;o[f+8>>2]=d;o[f+12>>2]=b;k[f+16>>2]=k[f>>2];k[f+16+4>>2]=k[f+4>>2];k[f+16+8>>2]=k[f+8>>2];k[f+16+12>>2]=k[f+12>>2];H9(a,f+16|0);r=f;return 0}function Kw(a){a=a|0;var b=0;b=r;r=r+16|0;Baa(b,k[155702]|0);VDa(a,+o[b>>2]);VDa(a,+o[b+4>>2]);VDa(a,+o[b+8>>2]);VDa(a,+o[b+12>>2]);r=b;return 4}function Lw(a){a=a|0;var b=0.0,c=0.0,d=0.0,e=0.0,f=0;f=r;r=r+32|0;if((DDa(a,1)|0)==5){gEa(a,1,1);gEa(a,1,2);gEa(a,1,3);gEa(a,1,4);e=+lHa(a,-4);c=+lHa(a,-3);d=+lHa(a,-2);b=+mHa(a,-1,255.0);yDa(a,-5)}else{e=+lHa(a,1);c=+lHa(a,2);d=+lHa(a,3);b=+mHa(a,4,255.0)}a=k[155702]|0;o[f>>2]=e;o[f+4>>2]=c;o[f+8>>2]=d;o[f+12>>2]=b;k[f+16>>2]=k[f>>2];k[f+16+4>>2]=k[f+4>>2];k[f+16+8>>2]=k[f+8>>2];k[f+16+12>>2]=k[f+12>>2];I9(a,f+16|0);r=f;return 0}function Mw(a){a=a|0;var b=0;b=r;r=r+16|0;Caa(b,k[155702]|0);VDa(a,+o[b>>2]);VDa(a,+o[b+4>>2]);VDa(a,+o[b+8>>2]);VDa(a,+o[b+12>>2]);r=b;return 4}function Nw(a){a=a|0;yw(a)|0;a=Ow(a,-1,14)|0;Q9(k[155702]|0,a);return 1}function Ow(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((DDa(a,b)|0)!=7){k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0}d=RDa(a,b)|0;if(k[(k[155799]|0)+(k[d>>2]<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0){c=d+4|0;c=k[c>>2]|0;r=e;return c|0}k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0;c=d+4|0;c=k[c>>2]|0;r=e;return c|0}function Pw(a){a=a|0;a=Ow(a,1,14)|0;Q9(k[155702]|0,a);return 0}function Qw(a){a=a|0;Rs(a,14,Daa(k[155702]|0)|0);return 1}function Rw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=r;r=r+16|0;if((xDa(a)|0)<2)if((DDa(a,1)|0)<1){d=1;a=16777216;b=256;c=65536}else e=3;else e=3;if((e|0)==3){d=(qs(a,1)|0)&1;b=(qs(a,2)|0)&1;c=(qs(a,3)|0)&1;a=((qs(a,4)|0)&1)<<24;b=b<<8;c=c<<16}e=k[155702]|0;k[f>>2]=c|a|b|d;i[f+4>>0]=i[f>>0]|0;i[f+4+1>>0]=i[f+1>>0]|0;i[f+4+2>>0]=i[f+2>>0]|0;i[f+4+3>>0]=i[f+3>>0]|0;S9(e,f+4|0);r=f;return 0}function Sw(a){a=a|0;var b=0;b=r;r=r+16|0;Haa(b,k[155702]|0);rs(a,(i[b>>0]|0)!=0);rs(a,(i[b+1>>0]|0)!=0);rs(a,(i[b+2>>0]|0)!=0);rs(a,(i[b+3>>0]|0)!=0);r=b;return 4}function Tw(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+32|0;b=fHa(a,1,0)|0;if(!(QA(b,d+16|0)|0)){k[d>>2]=b;c=aHa(a,327971,d)|0;r=d;return c|0}k[d+12>>2]=0;do if((DDa(a,2)|0)<1){b=0;c=7}else{b=fHa(a,2,0)|0;if(SA(b,d+12|0)|0){b=k[d+12>>2]|0;c=7;break}else{k[d+8>>2]=b;b=aHa(a,327994,d+8|0)|0;break}}while(0);if((c|0)==7){y9(k[155702]|0,k[d+16>>2]|0,b);b=0}c=b;r=d;return c|0}function Uw(a){a=a|0;var b=0;b=r;r=r+32|0;if(!(RA(Jaa(k[155702]|0,b+12|0)|0,b+20|0)|0)){a=aHa(a,328023,b)|0;r=b;return a|0}if(UA(k[b+12>>2]|0,b+16|0)|0){YDa(a,k[b+20>>2]|0);YDa(a,k[b+16>>2]|0);a=2;r=b;return a|0}else{a=aHa(a,328042,b+8|0)|0;r=b;return a|0}return 0}function Vw(a){a=a|0;var b=0,c=0,d=0,e=0.0;d=r;r=r+32|0;k[d+16>>2]=1;k[d+16+4>>2]=1;k[d+16+8>>2]=0;o[d+16+12>>2]=1.0;b=fHa(a,1,0)|0;c=eHa(a,2,b,0)|0;if(!(gD(b,d+16|0)|0)){k[d>>2]=b;a=aHa(a,437134,d)|0;r=d;return a|0}if(gD(c,d+16+4|0)|0){e=+mHa(a,3,1.0);o[d+16+12>>2]=e;U9(k[155702]|0,d+16|0);a=0;r=d;return a|0}else{k[d+8>>2]=c;a=aHa(a,437134,d+8|0)|0;r=d;return a|0}return 0}function Ww(a){a=a|0;var b=0,c=0;c=r;r=r+32|0;b=Kaa(k[155702]|0)|0;if(!(hD(k[b>>2]|0,c+16|0)|0)){a=aHa(a,328067,c)|0;r=c;return a|0}if(hD(k[b+4>>2]|0,c+12|0)|0){YDa(a,k[c+16>>2]|0);YDa(a,k[c+12>>2]|0);VDa(a,+o[b+12>>2]);a=3;r=c;return a|0}else{a=aHa(a,328100,c+8|0)|0;r=c;return a|0}return 0}function Xw(a){a=a|0;var b=0,c=0,d=0.0;c=r;r=r+16|0;k[c+4>>2]=0;if((DDa(a,1)|0)>=1){b=fHa(a,1,0)|0;if(!(gD(b,c+4|0)|0)){k[c>>2]=b;a=aHa(a,437134,c)|0;r=c;return a|0}}d=+mHa(a,2,0.0);V9(k[155702]|0,k[c+4>>2]|0,d);a=0;r=c;return a|0}function Yw(a){a=a|0;var b=0,c=0.0;b=r;r=r+16|0;Laa(k[155702]|0,b+8|0,b+4|0);if(hD(k[b+8>>2]|0,b)|0){YDa(a,k[b>>2]|0);c=+o[b+4>>2];VDa(a,c);r=b;return 2}else{UDa(a);c=+o[b+4>>2];VDa(a,c);r=b;return 2}return 0}function Zw(a){a=a|0;var b=0.0;b=+lHa(a,1);J9(k[155702]|0,b);return 0}function _w(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=fHa(a,1,0)|0;if(VA(b,c+4|0)|0){K9(k[155702]|0,k[c+4>>2]|0);a=0;r=c;return a|0}else{k[c>>2]=b;a=aHa(a,328134,c)|0;r=c;return a|0}return 0}function $w(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=fHa(a,1,0)|0;if(YA(b,c+4|0)|0){L9(k[155702]|0,k[c+4>>2]|0);a=0;r=c;return a|0}else{k[c>>2]=b;a=aHa(a,328157,c)|0;r=c;return a|0}return 0}function ax(a){a=a|0;VDa(a,+Maa(k[155702]|0));return 1}function bx(a){a=a|0;var b=0;b=r;r=r+16|0;if(XA(Naa(k[155702]|0)|0,b+4|0)|0){YDa(a,k[b+4>>2]|0);a=1;r=b;return a|0}else{a=aHa(a,328184,b)|0;r=b;return a|0}return 0}function cx(a){a=a|0;var b=0;b=r;r=r+16|0;if(ZA(Oaa(k[155702]|0)|0,b+4|0)|0){YDa(a,k[b+4>>2]|0);a=1;r=b;return a|0}else{a=aHa(a,328203,b)|0;r=b;return a|0}return 0}function dx(a){a=a|0;var b=0.0;b=+lHa(a,1);M9(k[155702]|0,b);return 0}function ex(a){a=a|0;VDa(a,+Paa(k[155702]|0));return 1}function fx(a){a=a|0;var b=0;b=k[155702]|0;T9(b,qs(a,1)|0);return 0}function gx(a){a=a|0;rs(a,Qaa(k[155702]|0)|0);return 1}function hx(a){a=a|0;var b=0,c=0;c=ix(a,58)|0;b=ss(a,1,0)|0;b=$aa(k[155702]|0,c,b)|0;Rs(a,22,b);Si[k[(k[b>>2]|0)+12>>2]&1023](b);return 1}function ix(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+16|0;k[d+12>>2]=439367;et(b,d+12|0)|0;Fs(a,0)|0;eEa(a,-1,k[d+12>>2]|0);if(!(IDa(a,-1)|0)){k[d>>2]=k[d+12>>2];aHa(a,328221,d)|0}c=RDa(a,-1)|0;if(k[(k[155799]|0)+(k[c>>2]<<3)+(b>>>5<<2)>>2]&1<<(b&31)|0){yDa(a,-3);b=c+4|0;b=k[b>>2]|0;r=d;return b|0}k[d+8>>2]=k[d+12>>2];aHa(a,328257,d+8|0)|0;yDa(a,-3);b=c+4|0;b=k[b>>2]|0;r=d;return b|0}function jx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=r;r=r+32|0;caa(k[155702]|0);if((DDa(a,1)|0)<1){_9(k[155702]|0);r=f;return 0}d=(DDa(a,1)|0)==5;k[f+8>>2]=0;e=f+8+4|0;k[e>>2]=0;k[f+8+8>>2]=0;a:do if(d){d=1;while(1){if((d|0)>(Ps(a,1)|0))break a;gEa(a,1,d);b=sga(a,-1)|0;k[f+4>>2]=b;c=k[e>>2]|0;if(c>>>0<(k[f+8+8>>2]|0)>>>0){k[c>>2]=b;k[e>>2]=(k[e>>2]|0)+4}else kx(f+8|0,f+4|0);yDa(a,-2);d=d+1|0}}else{d=1;while(1){if((d|0)>(xDa(a)|0))break a;b=sga(a,d)|0;k[f>>2]=b;c=k[e>>2]|0;if(c>>>0<(k[f+8+8>>2]|0)>>>0){k[c>>2]=b;k[e>>2]=(k[e>>2]|0)+4}else kx(f+8|0,f);d=d+1|0}}while(0);b=k[155702]|0;if((k[e>>2]|0)==(k[f+8>>2]|0))_9(b);else q9(b,f+8|0);b=k[f+8>>2]|0;if(b|0){c=k[e>>2]|0;if((c|0)!=(b|0))k[e>>2]=c+(~((c+-4-b|0)>>>2)<<2);CAb(b)}r=f;return 0}function kx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=k[a>>2]|0;c=((k[a+4>>2]|0)-i>>2)+1|0;if(c>>>0>1073741823)xzb(a);d=(k[a+8>>2]|0)-i|0;if(d>>2>>>0<536870911){c=d>>1>>>0>>0?c:d>>1;e=k[a+4>>2]|0;if(!c){h=0;f=0;d=e-i>>2;c=e}else{g=e;d=e-i>>2;j=6}}else{d=k[a+4>>2]|0;c=1073741823;g=d;d=d-i>>2;j=6}if((j|0)==6){h=c;f=kBb(c<<2)|0;c=g}j=f+(d<<2)|0;k[j>>2]=k[b>>2];b=c-i|0;ABb(j+(0-(b>>2)<<2)|0,i|0,b|0)|0;k[a>>2]=j+(0-(b>>2)<<2);k[a+4>>2]=j+4;k[a+8>>2]=f+(h<<2);if(!i)return;CAb(i);return}function lx(a){a=a|0;var b=0,c=0,d=0,e=0;e=r;r=r+16|0;Gaa(e,k[155702]|0);b=k[e>>2]|0;c=k[e+4>>2]|0;if((b|0)==(c|0)){UDa(a);d=1}else{d=0;do{Rs(a,17,k[b>>2]|0);d=d+1|0;b=b+4|0}while((b|0)!=(c|0))}c=k[e>>2]|0;if(!c){r=e;return d|0}b=k[e+4>>2]|0;if((b|0)!=(c|0))k[e+4>>2]=b+(~((b+-4-c|0)>>>2)<<2);CAb(c);r=e;return d|0}function mx(a){a=a|0;if((DDa(a,1)|0)<1){Eaa(k[155702]|0);return 0}else{a=Cz(a,1)|0;R9(k[155702]|0,a);return 0}return 0}function nx(a){a=a|0;var b=0;b=Faa(k[155702]|0)|0;if(!b){UDa(a);return 1}else{Rs(a,18,b);return 1}return 0}function ox(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=r;r=r+208|0;jHa(a,1,5);eEa(a,1,328277);gEa(a,-1,1);gEa(a,-2,2);gEa(a,-3,3);k[f+176>>2]=0;k[f+176+4>>2]=0;k[f+176+8>>2]=0;k[f+176+12>>2]=0;k[f+176+16>>2]=0;k[f+176+20>>2]=0;us(f+160|0,a,-3);if(!(i[f+176>>0]&1)){i[f+176+1>>0]=0;i[f+176>>0]=0}else{i[k[f+176+8>>2]>>0]=0;k[f+176+4>>2]=0}crb(f+176|0,0);k[f+176>>2]=k[f+160>>2];k[f+176+4>>2]=k[f+160+4>>2];k[f+176+8>>2]=k[f+160+8>>2];k[f+160>>2]=0;k[f+160+4>>2]=0;k[f+160+8>>2]=0;_qb(f+160|0);us(f+120|0,a,-2);b=f+176+12|0;if(!(i[b>>0]&1)){i[b+1>>0]=0;i[b>>0]=0}else{i[k[f+176+20>>2]>>0]=0;k[f+176+16>>2]=0}crb(b,0);k[b>>2]=k[f+120>>2];k[b+4>>2]=k[f+120+4>>2];k[b+8>>2]=k[f+120+8>>2];k[f+120>>2]=0;k[f+120+4>>2]=0;k[f+120+8>>2]=0;_qb(f+120|0);k[f+136>>2]=0;k[f+136+4>>2]=0;k[f+136+8>>2]=0;k[f+136+12>>2]=0;k[f+136+16>>2]=0;k[f+136+20>>2]=0;us(f+60|0,a,-3);if(!(i[f+136>>0]&1)){i[f+136+1>>0]=0;i[f+136>>0]=0}else{i[k[f+136+8>>2]>>0]=0;k[f+136+4>>2]=0}crb(f+136|0,0);k[f+136>>2]=k[f+60>>2];k[f+136+4>>2]=k[f+60+4>>2];k[f+136+8>>2]=k[f+60+8>>2];k[f+60>>2]=0;k[f+60+4>>2]=0;k[f+60+8>>2]=0;_qb(f+60|0);us(f+48|0,a,-1);c=f+136+12|0;if(!(i[c>>0]&1)){i[c+1>>0]=0;i[c>>0]=0}else{i[k[f+136+20>>2]>>0]=0;k[f+136+16>>2]=0}crb(c,0);k[c>>2]=k[f+48>>2];k[c+4>>2]=k[f+48+4>>2];k[c+8>>2]=k[f+48+8>>2];k[f+48>>2]=0;k[f+48+4>>2]=0;k[f+48+8>>2]=0;_qb(f+48|0);yDa(a,-5);eEa(a,1,328284);gEa(a,-1,1);gEa(a,-2,2);gEa(a,-3,3);k[f+96>>2]=0;k[f+96+4>>2]=0;k[f+96+8>>2]=0;k[f+96+12>>2]=0;k[f+96+16>>2]=0;k[f+96+20>>2]=0;us(f+36|0,a,-3);if(!(i[f+96>>0]&1)){i[f+96+1>>0]=0;i[f+96>>0]=0}else{i[k[f+96+8>>2]>>0]=0;k[f+96+4>>2]=0}crb(f+96|0,0);k[f+96>>2]=k[f+36>>2];k[f+96+4>>2]=k[f+36+4>>2];k[f+96+8>>2]=k[f+36+8>>2];k[f+36>>2]=0;k[f+36+4>>2]=0;k[f+36+8>>2]=0;_qb(f+36|0);us(f+24|0,a,-2);d=f+96+12|0;if(!(i[d>>0]&1)){i[d+1>>0]=0;i[d>>0]=0}else{i[k[f+96+20>>2]>>0]=0;k[f+96+16>>2]=0}crb(d,0);k[d>>2]=k[f+24>>2];k[d+4>>2]=k[f+24+4>>2];k[d+8>>2]=k[f+24+8>>2];k[f+24>>2]=0;k[f+24+4>>2]=0;k[f+24+8>>2]=0;_qb(f+24|0);k[f+72>>2]=0;k[f+72+4>>2]=0;k[f+72+8>>2]=0;k[f+72+12>>2]=0;k[f+72+16>>2]=0;k[f+72+20>>2]=0;us(f+12|0,a,-3);if(!(i[f+72>>0]&1)){i[f+72+1>>0]=0;i[f+72>>0]=0}else{i[k[f+72+8>>2]>>0]=0;k[f+72+4>>2]=0}crb(f+72|0,0);k[f+72>>2]=k[f+12>>2];k[f+72+4>>2]=k[f+12+4>>2];k[f+72+8>>2]=k[f+12+8>>2];k[f+12>>2]=0;k[f+12+4>>2]=0;k[f+12+8>>2]=0;_qb(f+12|0);us(f,a,-1);e=f+72+12|0;if(!(i[e>>0]&1)){i[e+1>>0]=0;i[e>>0]=0}else{i[k[f+72+20>>2]>>0]=0;k[f+72+16>>2]=0}crb(e,0);k[e>>2]=k[f>>2];k[e+4>>2]=k[f+4>>2];k[e+8>>2]=k[f+8>>2];k[f>>2]=0;k[f+4>>2]=0;k[f+8>>2]=0;_qb(f);yDa(a,-5);$qb(631436,f+176|0)|0;$qb(631448,b)|0;$qb(631460,f+96|0)|0;$qb(631472,d)|0;$qb(631484,f+136|0)|0;$qb(631496,c)|0;$qb(631508,f+72|0)|0;$qb(631520,e)|0;_qb(e);_qb(f+72|0);_qb(d);_qb(f+96|0);_qb(c);_qb(f+136|0);_qb(b);_qb(f+176|0);r=f;return 0}function px(a){a=a|0;var b=0;b=r;r=r+16|0;hEa(a,0,3);k[b>>2]=0;if(bB(0,b)|0){rs(a,Iaa(k[155702]|0,0)|0);lEa(a,-2,k[b>>2]|0)}k[b>>2]=0;if(bB(1,b)|0){rs(a,Iaa(k[155702]|0,1)|0);lEa(a,-2,k[b>>2]|0)}k[b>>2]=0;if(!(bB(2,b)|0)){r=b;return 1}rs(a,Iaa(k[155702]|0,2)|0);lEa(a,-2,k[b>>2]|0);r=b;return 1}function qx(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;hEa(a,0,17);b=0;do{k[c>>2]=0;if(y7(b,c)|0){rs(a,w7(b)|0);lEa(a,-2,k[c>>2]|0)}b=b+1|0}while((b|0)!=17);r=c;return 1}function rx(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;hEa(a,0,37);b=0;while(1){k[c>>2]=0;if(!b){b=1;continue}if(KD(b,c)|0){rs(a,Jba(b,0)|0);lEa(a,-2,k[c>>2]|0)}b=b+1|0;if((b|0)==37)break}r=c;return 1}function sx(a){a=a|0;var b=0,c=0,d=0;c=r;r=r+96|0;b=c;d=b+48|0;do{k[b>>2]=0;b=b+4|0}while((b|0)<(d|0));aba(c+48|0,k[155702]|0);tx(c,c+48|0)|0;_qb(c+48+36|0);_qb(c+48+24|0);_qb(c+48+12|0);_qb(c+48|0);vs(a,c);vs(a,c+12|0);vs(a,c+24|0);vs(a,c+36|0);_qb(c+36|0);_qb(c+24|0);_qb(c+12|0);_qb(c);r=c;return 4}function tx(a,b){a=a|0;b=b|0;if(!(i[a>>0]&1)){i[a+1>>0]=0;i[a>>0]=0}else{i[k[a+8>>2]>>0]=0;k[a+4>>2]=0}crb(a,0);k[a>>2]=k[b>>2];k[a+4>>2]=k[b+4>>2];k[a+8>>2]=k[b+8>>2];k[b>>2]=0;k[b+4>>2]=0;k[b+8>>2]=0;if(!(i[a+12>>0]&1)){i[a+12+1>>0]=0;i[a+12>>0]=0}else{i[k[a+20>>2]>>0]=0;k[a+16>>2]=0}crb(a+12|0,0);k[a+12>>2]=k[b+12>>2];k[a+12+4>>2]=k[b+12+4>>2];k[a+12+8>>2]=k[b+12+8>>2];k[b+12>>2]=0;k[b+12+4>>2]=0;k[b+12+8>>2]=0;if(!(i[a+24>>0]&1)){i[a+24+1>>0]=0;i[a+24>>0]=0}else{i[k[a+32>>2]>>0]=0;k[a+28>>2]=0}crb(a+24|0,0);k[a+24>>2]=k[b+24>>2];k[a+24+4>>2]=k[b+24+4>>2];k[a+24+8>>2]=k[b+24+8>>2];k[b+24>>2]=0;k[b+24+4>>2]=0;k[b+24+8>>2]=0;if(!(i[a+36>>0]&1)){i[a+36+1>>0]=0;i[a+36>>0]=0;crb(a+36|0,0);k[a+36>>2]=k[b+36>>2];k[a+36+4>>2]=k[b+36+4>>2];k[a+36+8>>2]=k[b+36+8>>2];k[b+36>>2]=0;k[b+36+4>>2]=0;k[b+36+8>>2]=0;return a|0}else{i[k[a+44>>2]>>0]=0;k[a+40>>2]=0;crb(a+36|0,0);k[a+36>>2]=k[b+36>>2];k[a+36+4>>2]=k[b+36+4>>2];k[a+36+8>>2]=k[b+36+8>>2];k[b+36>>2]=0;k[b+36+4>>2]=0;k[b+36+8>>2]=0;return a|0}return 0}function ux(a){a=a|0;var b=0;b=r;r=r+16|0;hEa(a,0,4);k[b>>2]=0;if(cB(0,b)|0){VDa(a,+cba(k[155702]|0,0));lEa(a,-2,k[b>>2]|0)}k[b>>2]=0;if(cB(1,b)|0){VDa(a,+cba(k[155702]|0,1));lEa(a,-2,k[b>>2]|0)}k[b>>2]=0;if(cB(2,b)|0){VDa(a,+cba(k[155702]|0,2));lEa(a,-2,k[b>>2]|0)}k[b>>2]=0;if(!(cB(3,b)|0)){r=b;return 1}VDa(a,+cba(k[155702]|0,3));lEa(a,-2,k[b>>2]|0);r=b;return 1}function vx(a){a=a|0;var b=0;b=r;r=r+32|0;bba(b+8|0,k[155702]|0);hEa(a,0,6);k[b>>2]=0;fB(0,b)|0;WDa(a,k[b+8>>2]|0);lEa(a,-2,k[b>>2]|0);fB(1,b)|0;WDa(a,k[b+8+4>>2]|0);lEa(a,-2,k[b>>2]|0);fB(2,b)|0;WDa(a,k[b+8+8>>2]|0);lEa(a,-2,k[b>>2]|0);fB(3,b)|0;WDa(a,k[b+8+12>>2]|0);lEa(a,-2,k[b>>2]|0);fB(4,b)|0;WDa(a,k[b+8+16>>2]|0);lEa(a,-2,k[b>>2]|0);fB(5,b)|0;VDa(a,+((k[b+8+20>>2]|0)>>>0));lEa(a,-2,k[b>>2]|0);r=b;return 1}function wx(a){a=a|0;var b=0.0,c=0,d=0.0,e=0.0,f=0.0,g=0.0,h=0.0,i=0.0,j=0.0,l=0.0,m=0,n=0,o=0;if(Ss(a,2,13)|0){o=vD(a,1)|0;n=(RDa(a,2)|0)+4|0;m=0;n=k[n>>2]|0;c=3}else{if(!(DDa(a,2)|0))if((DDa(a,3)|0)>=1){o=Ys(a,2,345312)|0;return o|0}m=xx(a,1,10)|0;n=0;c=2;o=0}d=+mHa(a,c,0.0);e=+mHa(a,c+1|0,0.0);f=+mHa(a,c+2|0,0.0);g=+mHa(a,c+3|0,1.0);h=+mHa(a,c|4,g);i=+mHa(a,c+5|0,0.0);j=+mHa(a,c+6|0,0.0);l=+mHa(a,c+7|0,0.0);b=+mHa(a,c|8,0.0);if(!((n|0)==0|(o|0)==0)){ij[k[(k[o>>2]|0)+20>>2]&3](o,n,d,e,f,g,h,i,j,l,b);o=0;return o|0}if(!m){o=0;return o|0}Fi[k[(k[m>>2]|0)+16>>2]&7](m,d,e,f,g,h,i,j,l,b);o=0;return o|0}function xx(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((DDa(a,b)|0)!=7){k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0}d=RDa(a,b)|0;if(k[(k[155799]|0)+(k[d>>2]<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0){c=d+4|0;c=k[c>>2]|0;r=e;return c|0}k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0;c=d+4|0;c=k[c>>2]|0;r=e;return c|0}function yx(a){a=a|0;var b=0,c=0,d=0.0,e=0.0,f=0.0,g=0.0,h=0.0,i=0.0,j=0.0,l=0.0,m=0.0,n=0;c=r;r=r+16|0;k[c>>2]=0;k[c+4>>2]=0;k[c+8>>2]=0;cA(a,1,c);m=+mHa(a,2,0.0);l=+mHa(a,3,0.0);j=+mHa(a,4,0.0);i=+mHa(a,5,1.0);h=+mHa(a,6,i);g=+mHa(a,7,0.0);f=+mHa(a,8,0.0);e=+mHa(a,9,0.0);d=+mHa(a,10,0.0);Raa(k[155702]|0,c,m,l,j,i,h,g,f,e,d);a=k[c>>2]|0;if(!a){r=c;return 0}b=k[c+4>>2]|0;if((b|0)!=(a|0)){do{n=b+-16|0;k[c+4>>2]=n;_qb(n);b=k[c+4>>2]|0}while((b|0)!=(a|0));a=k[c>>2]|0}CAb(a);r=c;return 0}function zx(a){a=a|0;var b=0,c=0,d=0.0,e=0.0,f=0.0,g=0.0,h=0.0,i=0.0,j=0.0,l=0.0,m=0.0,n=0.0,o=0,p=0;p=r;r=r+32|0;k[p+8>>2]=0;k[p+8+4>>2]=0;k[p+8+8>>2]=0;cA(a,1,p+8|0);l=+lHa(a,2);m=+lHa(a,3);n=+lHa(a,4);k[p+4>>2]=0;do if((xDa(a)|0)>4){if(DDa(a,5)|0){b=fHa(a,5,0)|0;if(!(K8(b,p+4|0)|0)){k[p>>2]=b;c=aHa(a,328293,p)|0;break}}i=+mHa(a,6,0.0);g=+mHa(a,7,1.0);h=+mHa(a,8,g);e=+mHa(a,9,0.0);f=+mHa(a,10,0.0);j=+mHa(a,11,0.0);d=+mHa(a,12,0.0);o=6}else{i=0.0;j=0.0;d=0.0;e=0.0;f=0.0;g=1.0;h=1.0;o=6}while(0);if((o|0)==6){Saa(k[155702]|0,p+8|0,l,m,n,k[p+4>>2]|0,i,g,h,e,f,j,d);c=0}b=k[p+8>>2]|0;if(!b){r=p;return c|0}a=k[p+8+4>>2]|0;if((a|0)!=(b|0)){do{o=a+-16|0;k[p+8+4>>2]=o;_qb(o);a=k[p+8+4>>2]|0}while((a|0)!=(b|0));b=k[p+8>>2]|0}CAb(b);r=p;return c|0}function Ax(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0.0;j=r;r=r+16|0;b=xDa(a)|0;if((b|0)==1)if((DDa(a,1)|0)==5){b=Ps(a,1)|0;gEa(a,1,1);e=(DDa(a,-1)|0)==5;yDa(a,-2);d=1}else{b=1;d=0;e=0}else{d=0;e=0}if(!((b&1|0)==0|e)){a=aHa(a,328317,j)|0;r=j;return a|0}g=e?b:(b|0)/2|0;f=mBb(g<<1>>>0>1073741823?-1:g<<1<<2)|0;if(e)h=mBb((g|0)<0?-1:g<<2)|0;else h=0;c=(b|0)>0;do if(d)if(e){if(c)c=0;else break;do{e=c;c=c+1|0;gEa(a,1,c);gEa(a,-1,1);gEa(a,-2,2);gEa(a,-3,3);gEa(a,-4,4);gEa(a,-5,5);gEa(a,-6,6);l=+LDa(a,-6);o[f+(e<<1<<2)>>2]=l;l=+LDa(a,-5);o[f+((e<<1|1)<<2)>>2]=l;d=~~+mHa(a,-4,255.0)&255;i[h+(e<<2)>>0]=d;d=~~+mHa(a,-3,255.0)&255;i[h+(e<<2|1)>>0]=d;d=~~+mHa(a,-2,255.0)&255;i[h+(e<<2|2)>>0]=d;d=~~+mHa(a,-1,255.0)&255;i[h+(e<<2|3)>>0]=d;yDa(a,-8)}while((c|0)!=(b|0))}else{if(c)c=0;else break;do{e=c;c=c+1|0;gEa(a,1,c);l=+LDa(a,-1);o[f+(e<<2)>>2]=l;yDa(a,-2)}while((c|0)!=(b|0))}else if(c){c=0;do{e=c;c=c+1|0;l=+LDa(a,c);o[f+(e<<2)>>2]=l}while((c|0)!=(b|0))}while(0);Taa(k[155702]|0,f,h,g);oBb(f);if(!h){a=0;r=j;return a|0}oBb(h);a=0;r=j;return a|0}function Bx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0.0;e=r;r=r+16|0;b=xDa(a)|0;if((b|0)==1){if((DDa(a,1)|0)==5){b=Ps(a,1)|0;c=1;d=4}}else{c=0;d=4}if((d|0)==4)if(!(b&1)){if((b|0)<4){a=aHa(a,328371,e+8|0)|0;r=e;return a|0}d=mBb(b>>>0>1073741823?-1:b<<2)|0;if(c){c=0;do{f=c;c=c+1|0;gEa(a,1,c);g=+LDa(a,-1);o[d+(f<<2)>>2]=g;yDa(a,-2)}while((c|0)!=(b|0))}else{c=0;do{f=c;c=c+1|0;g=+LDa(a,c);o[d+(f<<2)>>2]=g}while((c|0)!=(b|0))}Uaa(k[155702]|0,d,b);oBb(d);f=0;r=e;return f|0}f=aHa(a,328317,e)|0;r=e;return f|0}function Cx(a){a=a|0;var b=0,c=0.0,d=0.0,e=0.0,f=0.0,g=0.0,h=0.0,i=0.0,j=0;j=r;r=r+16|0;b=fHa(a,1,0)|0;if(!(NA(b,j+4|0)|0)){k[j>>2]=b;a=aHa(a,328413,j)|0;r=j;return a|0}g=+lHa(a,2);h=+lHa(a,3);i=+lHa(a,4);d=+lHa(a,5);if((DDa(a,6)|0)<1){Vaa(k[155702]|0,k[j+4>>2]|0,g,h,i,d);a=0;r=j;return a|0}e=+mHa(a,6,0.0);f=+mHa(a,7,e);if((DDa(a,8)|0)<1){c=e20.0)b=~~(c*.5);else b=10}else b=~~+lHa(a,8);Xaa(k[155702]|0,k[j+4>>2]|0,g,h,i,d,e,f,b);a=0;r=j;return a|0}function Dx(a){a=a|0;var b=0,c=0.0,d=0.0,e=0.0,f=0;f=r;r=r+16|0;b=fHa(a,1,0)|0;if(!(NA(b,f+4|0)|0)){k[f>>2]=b;a=aHa(a,328413,f)|0;r=f;return a|0}c=+lHa(a,2);d=+lHa(a,3);e=+lHa(a,4);if((DDa(a,5)|0)<1)b=e>10.0?~~e:10;else b=~~+lHa(a,5);Yaa(k[155702]|0,k[f+4>>2]|0,c,d,e,b);a=0;r=f;return a|0}function Ex(a){a=a|0;var b=0,c=0.0,d=0.0,e=0.0,f=0.0,g=0;g=r;r=r+16|0;b=fHa(a,1,0)|0;if(!(NA(b,g+4|0)|0)){k[g>>2]=b;a=aHa(a,328413,g)|0;r=g;return a|0}d=+lHa(a,2);e=+lHa(a,3);f=+lHa(a,4);c=+mHa(a,5,f);if((DDa(a,6)|0)<1)b=f+c>30.0?~~((f+c)*.5):15;else b=~~+lHa(a,6);Zaa(k[155702]|0,k[g+4>>2]|0,d,e,f,c,b);a=0;r=g;return a|0}function Fx(a){a=a|0;var b=0,c=0,d=0.0,e=0.0,f=0.0,g=0.0,h=0.0,i=0.0,j=0,l=0;l=r;r=r+32|0;b=fHa(a,1,0)|0;if(!(NA(b,l+16|0)|0)){k[l>>2]=b;a=aHa(a,328413,l)|0;r=l;return a|0}k[l+12>>2]=2;if((DDa(a,2)|0)==4){b=fHa(a,2,0)|0;if(PA(b,l+12|0)|0){j=3;c=6}else{k[l+8>>2]=b;b=aHa(a,328435,l+8|0)|0}}else{j=2;c=6}if((c|0)==6){i=+lHa(a,j);e=+lHa(a,j+1|0);f=+lHa(a,j+2|0);g=+lHa(a,j+3|0);h=+lHa(a,j|4);d=+W(+(g-h));if(d<6.2831854820251465)b=~~(+(~~f|0)*(d/6.2831854820251465));else b=~~f;b=~~+mHa(a,j+5|0,+(((b|0)<10?10:b)|0));_aa(k[155702]|0,k[l+16>>2]|0,k[l+12>>2]|0,i,e,f,g,h,b);b=0}a=b;r=l;return a|0}function Gx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0.0;f=r;r=r+32|0;b=(xDa(a)|0)+-1|0;c=fHa(a,1,0)|0;if(!(NA(c,f+20|0)|0)){k[f>>2]=c;a=aHa(a,328413,f)|0;r=f;return a|0}if((b|0)==1){if((DDa(a,2)|0)==5){b=Ps(a,2)|0;c=1;d=6}}else{c=0;d=6}if((d|0)==6)if(!(b&1)){if((b|0)<6){a=aHa(a,328456,f+16|0)|0;r=f;return a|0}d=b+2|0;e=mBb(d>>>0>1073741823?-1:d<<2)|0;if(c){c=0;do{g=c;c=c+1|0;gEa(a,2,c);h=+LDa(a,-1);o[e+(g<<2)>>2]=h;yDa(a,-2)}while((c|0)!=(b|0))}else{c=0;do{h=+LDa(a,c+2|0);o[e+(c<<2)>>2]=h;c=c+1|0}while((c|0)!=(b|0))}k[e+(b<<2)>>2]=k[e>>2];k[e+(b+1<<2)>>2]=k[e+4>>2];Waa(k[155702]|0,k[f+20>>2]|0,e,d);oBb(e);g=0;r=f;return g|0}g=aHa(a,328317,f+8|0)|0;r=f;return g|0}function Hx(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;k[c+4>>2]=1;do if((DDa(a,1)|0)<1)b=1;else{b=fHa(a,1,0)|0;if(!b)b=1;else{if(dB(b,c+4|0)|0){b=k[c+4>>2]|0;break}k[c>>2]=b;a=aHa(a,328503,c)|0;r=c;return a|0}}while(0);dba(k[155702]|0,b);a=0;r=c;return a|0}function Ix(a){a=a|0;hba(k[155702]|0);return 0}function Jx(a){a=a|0;var b=0.0;b=+lHa(a,1);iba(k[155702]|0,b);return 0}function Kx(a){a=a|0;var b=0.0,c=0.0;c=+mHa(a,1,1.0);b=+mHa(a,2,c);jba(k[155702]|0,c,b);return 0}function Lx(a){a=a|0;var b=0.0,c=0.0;c=+lHa(a,1);b=+lHa(a,2);kba(k[155702]|0,c,b);return 0}function Mx(a){a=a|0;var b=0.0,c=0.0;c=+lHa(a,1);b=+lHa(a,2);lba(k[155702]|0,c,b);return 0}function Nx(a){a=a|0;daa(k[155702]|0);return 0}function Ox(a){a=a|0;var b=0,c=0;c=r;r=r+32|0;b=k[155702]|0;if(!b){b=kBb(68)|0;D9(b)}else Si[k[(k[b>>2]|0)+8>>2]&1023](b);k[c>>2]=b;k[c+4>>2]=327524;k[c+8>>2]=57;k[c+12>>2]=13184;k[c+16>>2]=13840;b=Bs(a,c)|0;if(FHa(a,329322,11561,340883)|0){r=c;return b|0}qEa(a,0,0);r=c;return b|0}function Px(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=0;a=Is(a,10,329313,b)|0;r=b;return a|0}function Qx(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+32|0;b=Aw(a,1,12)|0;c=Gi[k[(k[b>>2]|0)+36>>2]&2047](b)|0;k[d+8>>2]=k[c>>2];k[d+8+4>>2]=k[c+4>>2];k[d+8+8>>2]=k[c+8>>2];k[d+8+12>>2]=k[c+12>>2];if((DDa(a,2)|0)<1)k[d+8+8>>2]=0;else{c=fHa(a,2,0)|0;if(!(gD(c,d+8+8|0)|0)){k[d>>2]=c;a=aHa(a,437134,d)|0;r=d;return a|0}}Di[k[(k[b>>2]|0)+32>>2]&511](b,d+8|0);Kba(b,+mHa(a,3,0.0));a=0;r=d;return a|0}function Rx(a){a=a|0;var b=0,c=0,d=0;c=r;r=r+16|0;b=Aw(a,1,12)|0;d=(Gi[k[(k[b>>2]|0)+36>>2]&2047](b)|0)+8|0;if(hD(k[d>>2]|0,c)|0)YDa(a,k[c>>2]|0);else UDa(a);VDa(a,+Oba(b));r=c;return 2}function Sx(a){a=a|0;rs(a,Iba(Aw(a,1,12)|0)|0);return 1}function Tx(a){a=a|0;var b=0,c=0,d=0,e=0;b=Aw(a,1,12)|0;e=~~+mHa(a,2,0.0);d=~~+mHa(a,3,0.0);c=~~+mHa(a,4,+(Gi[k[(k[b>>2]|0)+24>>2]&2047](b)|0));Lba(b,e,d,c,~~+mHa(a,5,+(Gi[k[(k[b>>2]|0)+28>>2]&2047](b)|0)))|0;return 0}function Ux(a){a=a|0;var b=0,c=0,d=0;b=Aw(a,1,12)|0;if(Iba(b)|0){c=Nba(b)|0;b=k[c>>2]|0;c=k[c+4>>2]|0;if((b|0)==(c|0)){a=0;return a|0}d=b;do{Rs(a,23,k[d>>2]|0);d=d+4|0}while((d|0)!=(c|0));a=((c+-4-b|0)>>>2)+1|0;return a|0}else{c=Mba(b)|0;b=k[c>>2]|0;c=k[c+4>>2]|0;if((b|0)==(c|0)){a=0;return a|0}d=b;do{Rs(a,22,k[d>>2]|0);d=d+4|0}while((d|0)!=(c|0));a=((c+-4-b|0)>>>2)+1|0;return a|0}return 0}function Vx(a){a=a|0;var b=0,c=0,d=0;b=r;r=r+16|0;c=Pba(Aw(a,1,12)|0)|0;d=i[c>>0]|0;c=i[c+1>>0]|0;hEa(a,0,2);aEa(a,d&1);k[b>>2]=0;Uba(0,b)|0;lEa(a,-2,k[b>>2]|0);aEa(a,c&1);k[b>>2]=0;Uba(1,b)|0;lEa(a,-2,k[b>>2]|0);r=b;return 1}function Wx(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=15104;k[b+4>>2]=13892;k[b+8>>2]=0;a=Is(a,12,340901,b)|0;r=b;return a|0}function Xx(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((DDa(a,b)|0)!=7){k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0}d=RDa(a,b)|0;if(k[(k[155799]|0)+(k[d>>2]<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0){c=d+4|0;c=k[c>>2]|0;r=e;return c|0}k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0;c=d+4|0;c=k[c>>2]|0;r=e;return c|0}function Yx(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0.0;switch(c|0){case 0:{if((d|0)>0){c=0;do{f=~~+mHa(a,c+b|0,255.0)&255;i[e+c>>0]=f;c=c+1|0}while((c|0)!=(d|0))}f=e+d|0;return f|0}case 1:{if((d|0)>0){c=0;do{g=+mHa(a,c+b|0,0.0);o[e+(c<<2)>>2]=g;c=c+1|0}while((c|0)!=(d|0))}f=e+(d<<2)|0;return f|0}default:{f=e;return f|0}}return 0}function Zx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0.0,x=0;v=r;r=r+16|0;q=Xx(a,1,19)|0;b=(~~+mHa(a,3,1.0)>>>0)+-1|0;if(b>>>0>=(tca(q)|0)>>>0){u=tca(q)|0;k[v>>2]=u;a=aHa(a,340964,v)|0;r=v;return a|0}t=uca(q)|0;u=ha(t,b)|0;if(Ss(a,2,2)|0){s=Hk(a,2,2)|0;a=Gi[k[(k[s>>2]|0)+20>>2]&2047](s)|0;t=ha((tca(q)|0)-b|0,t)|0;a=t>>>0>>0?t:a;t=(Cca(q)|0)+u|0;ABb(t|0,Gi[k[(k[s>>2]|0)+16>>2]&2047](s)|0,a|0)|0;Dca(q,u,a);a=0;r=v;return a|0}jHa(a,2,5);s=Ps(a,2)|0;if((s+b|0)>>>0>(tca(q)|0)>>>0){u=(tca(q)|0)-b|0;k[v+8>>2]=u;k[v+8+4>>2]=s;a=aHa(a,341018,v+8|0)|0;r=v;return a|0}p=vca(q)|0;b=k[p>>2]|0;d=k[p+4>>2]|0;if((b|0)==(d|0))c=0;else{c=0;do{c=(k[b+16>>2]|0)+c|0;b=b+20|0}while((b|0)!=(d|0))}b=(Cca(q)|0)+u|0;a:do if(s|0){m=0-c|0;n=-2-c|0;if((c|0)<1){j=0;while(1){j=j+1|0;gEa(a,2,j);jHa(a,-1,5);c=k[p>>2]|0;h=k[p+4>>2]|0;b:do if((c|0)!=(h|0)){g=m;while(1){f=c+16|0;e=k[f>>2]|0;switch(k[c+12>>2]|0){case 0:{if((e|0)>0){d=0;do{l=~~+mHa(a,d+g|0,255.0)&255;i[b+d>>0]=l;d=d+1|0}while((d|0)!=(e|0))}b=b+e|0;break}case 1:{if((e|0)>0){d=0;do{w=+mHa(a,d+g|0,0.0);o[b+(d<<2)>>2]=w;d=d+1|0}while((d|0)!=(e|0))}b=b+(e<<2)|0;break}default:{}}c=c+20|0;if((c|0)==(h|0))break b;else g=(k[f>>2]|0)+g|0}}while(0);yDa(a,n);if((j|0)==(s|0))break a}}else l=0;do{l=l+1|0;gEa(a,2,l);jHa(a,-1,5);d=1;while(1){gEa(a,0-d|0,d);if((d|0)==(c|0))break;else d=d+1|0}d=k[p>>2]|0;j=k[p+4>>2]|0;c:do if((d|0)!=(j|0)){h=m;while(1){g=d+16|0;f=k[g>>2]|0;switch(k[d+12>>2]|0){case 0:{if((f|0)>0){e=0;do{x=~~+mHa(a,e+h|0,255.0)&255;i[b+e>>0]=x;e=e+1|0}while((e|0)!=(f|0))}b=b+f|0;break}case 1:{if((f|0)>0){e=0;do{w=+mHa(a,e+h|0,0.0);o[b+(e<<2)>>2]=w;e=e+1|0}while((e|0)!=(f|0))}b=b+(f<<2)|0;break}default:{}}d=d+20|0;if((d|0)==(j|0))break c;else h=(k[g>>2]|0)+h|0}}while(0);yDa(a,n)}while((l|0)!=(s|0))}while(0);Dca(q,u,ha(s,t)|0);x=0;r=v;return x|0}function _x(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,p=0.0;h=Xx(a,1,19)|0;j=(nHa(a,2)|0)+-1|0;g=(DDa(a,3)|0)==5;m=vca(h)|0;l=qca(h)|0;b=k[m>>2]|0;m=k[m+4>>2]|0;if(!g){if((b|0)==(m|0)){a=uca(h)|0;oca(h,j,l,a);return 0}else{g=3;c=l}while(1){f=b+16|0;e=k[f>>2]|0;switch(k[b+12>>2]|0){case 0:{if((e|0)>0){d=0;do{n=~~+mHa(a,d+g|0,255.0)&255;i[c+d>>0]=n;d=d+1|0}while((d|0)!=(e|0))}c=c+e|0;break}case 1:{if((e|0)>0){d=0;do{p=+mHa(a,d+g|0,0.0);o[c+(d<<2)>>2]=p;d=d+1|0}while((d|0)!=(e|0))}c=c+(e<<2)|0;break}default:{}}b=b+20|0;if((b|0)==(m|0))break;else g=(k[f>>2]|0)+g|0}n=uca(h)|0;oca(h,j,l,n);return 0}if((b|0)==(m|0)){n=uca(h)|0;oca(h,j,l,n);return 0}else{g=1;d=l}while(1){f=b+16|0;c=k[f>>2]|0;if((c|0)>0){e=g;do{gEa(a,3,e);e=e+1|0;c=k[f>>2]|0}while((e|0)<(c+g|0))}switch(k[b+12>>2]|0){case 0:{if((c|0)>0){e=0;do{n=~~+mHa(a,e-c|0,255.0)&255;i[d+e>>0]=n;e=e+1|0}while((e|0)!=(c|0))}d=d+c|0;break}case 1:{if((c|0)>0){e=0;do{p=+mHa(a,e-c|0,0.0);o[d+(e<<2)>>2]=p;e=e+1|0}while((e|0)!=(c|0))}d=d+(c<<2)|0;break}default:{}}c=k[f>>2]|0;yDa(a,~c);b=b+20|0;if((b|0)==(m|0))break;else g=c+g|0}n=uca(h)|0;oca(h,j,l,n);return 0}function $x(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=Xx(a,1,19)|0;g=nHa(a,2)|0;h=vca(b)|0;c=qca(b)|0;pca(b,g+-1|0,c,uca(b)|0)|0;b=k[h>>2]|0;h=k[h+4>>2]|0;if((b|0)==(h|0)){a=0;return a|0}else{g=b;b=0}do{f=g+16|0;e=k[f>>2]|0;switch(k[g+12>>2]|0){case 0:{if((e|0)>0){d=0;do{VDa(a,+(l[c+d>>0]|0));d=d+1|0}while((d|0)!=(e|0))}c=c+e|0;break}case 1:{if((e|0)>0){d=0;do{VDa(a,+o[c+(d<<2)>>2]);d=d+1|0}while((d|0)!=(e|0))}c=c+(e<<2)|0;break}default:{}}b=(k[f>>2]|0)+b|0;g=g+20|0}while((g|0)!=(h|0));return b|0}function ay(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0.0;g=r;r=r+32|0;d=Xx(a,1,19)|0;e=(nHa(a,2)|0)+-1|0;f=(nHa(a,3)|0)+-1|0;b=wca(d,f,g)|0;c=k[g>>2]|0;switch(b|0){case 0:{if((c|0)>0){b=0;do{h=~~+mHa(a,b+4|0,255.0)&255;i[g+8+b>>0]=h;b=b+1|0}while((b|0)!=(c|0));b=g+8|0}else b=g+8|0;break}case 1:{if((c|0)>0){b=0;do{j=+mHa(a,b+4|0,0.0);o[g+8+(b<<2)>>2]=j;b=b+1|0}while((b|0)!=(c|0));b=g+8|0}else b=g+8|0;break}default:b=g+8|0}rca(d,e,f,b,16);r=g;return 0}function by(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=r;r=r+32|0;f=Xx(a,1,19)|0;e=(nHa(a,2)|0)+-1|0;c=(nHa(a,3)|0)+-1|0;b=wca(f,c,d)|0;sca(f,e,c,d+8|0,16)|0;c=k[d>>2]|0;switch(b|0){case 0:{if((c|0)>0){b=0;do{VDa(a,+(l[d+8+b>>0]|0));b=b+1|0}while((b|0)!=(c|0))}break}case 1:{if((c|0)>0){b=0;do{VDa(a,+o[d+8+(b<<2)>>2]);b=b+1|0}while((b|0)!=(c|0))}break}default:{}}r=d;return k[d>>2]|0}function cy(a){a=a|0;WDa(a,tca(Xx(a,1,19)|0)|0);return 1}function dy(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;g=r;r=r+16|0;e=vca(Xx(a,1,19)|0)|0;hEa(a,((k[e+4>>2]|0)-(k[e>>2]|0)|0)/20|0,0);k[g+4>>2]=0;b=k[e>>2]|0;if((k[e+4>>2]|0)==(b|0)){f=1;r=g;return f|0}d=0;while(1){if(!(Vca(k[b+(d*20|0)+12>>2]|0,g+4|0)|0))break;hEa(a,3,0);b=k[e>>2]|0;c=b+(d*20|0)|0;if(!(i[c>>0]&1))b=c+1|0;else b=k[b+(d*20|0)+8>>2]|0;YDa(a,b);nEa(a,-2,1);YDa(a,k[g+4>>2]|0);nEa(a,-2,2);WDa(a,k[(k[e>>2]|0)+(d*20|0)+16>>2]|0);nEa(a,-2,3);d=d+1|0;nEa(a,-2,d);b=k[e>>2]|0;if(d>>>0>=(((k[e+4>>2]|0)-b|0)/20|0)>>>0){b=1;f=9;break}}if((f|0)==9){r=g;return b|0}f=aHa(a,341066,g)|0;r=g;return f|0}function ey(a){a=a|0;var b=0,c=0,d=0;b=r;r=r+16|0;c=Xx(a,1,19)|0;d=fHa(a,2,0)|0;a=qs(a,3)|0;Wqb(b,d,Fnb(d)|0);yca(c,b,a);_qb(b);r=b;return 0}function fy(a){a=a|0;var b=0,c=0,d=0;b=r;r=r+16|0;c=Xx(a,1,19)|0;d=fHa(a,2,0)|0;Wqb(b,d,Fnb(d)|0);c=(zca(c,b)|0)&1;_qb(b);aEa(a,c);r=b;return 1}function gy(a){a=a|0;var b=0,c=0,d=0;b=r;r=r+16|0;c=Xx(a,1,19)|0;d=fHa(a,2,0)|0;a=Xx(a,3,19)|0;Wqb(b,d,Fnb(d)|0);Bca(c,b,a);_qb(b);r=b;return 0}function hy(a){a=a|0;Eca(Xx(a,1,19)|0);return 0}function iy(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;h=r;r=r+32|0;f=Xx(a,1,19)|0;if((DDa(a,2)|0)<1){Gca(f);r=h;return 0}b=(DDa(a,2)|0)==5;if(b)e=Ps(a,2)|0;else e=(xDa(a)|0)+-1|0;k[h+8>>2]=0;g=h+8+4|0;k[g>>2]=0;k[h+8+8>>2]=0;if(e|0){d=kBb(e<<2)|0;k[h+8>>2]=d;k[g>>2]=d;k[h+8+8>>2]=d+(e<<2)}a:do if(b){b=0;while(1){if((b|0)>=(e|0))break a;b=b+1|0;gEa(a,2,b);c=(nHa(a,-1)|0)+-1|0;k[h+4>>2]=c;d=k[g>>2]|0;if(d>>>0<(k[h+8+8>>2]|0)>>>0){k[d>>2]=c;k[g>>2]=d+4}else jy(h+8|0,h+4|0);yDa(a,-2)}}else if((e|0)>0){d=0;do{b=(nHa(a,d+2|0)|0)+-1|0;k[h>>2]=b;c=k[g>>2]|0;if(c>>>0<(k[h+8+8>>2]|0)>>>0){k[c>>2]=b;k[g>>2]=c+4}else jy(h+8|0,h);d=d+1|0}while((d|0)<(e|0))}while(0);Fca(f,h+8|0);b=k[h+8>>2]|0;if(b|0){c=k[g>>2]|0;if((c|0)!=(b|0))k[g>>2]=c+(~((c+-4-b|0)>>>2)<<2);CAb(b)}r=h;return 0}function jy(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=k[a>>2]|0;c=((k[a+4>>2]|0)-i>>2)+1|0;if(c>>>0>1073741823)xzb(a);d=(k[a+8>>2]|0)-i|0;if(d>>2>>>0<536870911){c=d>>1>>>0>>0?c:d>>1;e=k[a+4>>2]|0;if(!c){h=0;f=0;d=e-i>>2;c=e}else{g=e;d=e-i>>2;j=6}}else{d=k[a+4>>2]|0;c=1073741823;g=d;d=d-i>>2;j=6}if((j|0)==6){h=c;f=kBb(c<<2)|0;c=g}j=f+(d<<2)|0;k[j>>2]=k[b>>2];b=c-i|0;ABb(j+(0-(b>>2)<<2)|0,i|0,b|0)|0;k[a>>2]=j+(0-(b>>2)<<2);k[a+4>>2]=j+4;k[a+8>>2]=f+(h<<2);if(!i)return;CAb(i);return}function ky(a){a=a|0;var b=0,c=0,d=0,e=0;d=r;r=r+16|0;c=Xx(a,1,19)|0;k[d>>2]=0;k[d+4>>2]=0;k[d+8>>2]=0;a:do if(Hca(c,d)|0){b=(k[d+4>>2]|0)-(k[d>>2]|0)>>2;hEa(a,b,0);c=0;while(1){if((c|0)>=(b|0))break a;WDa(a,(k[(k[d>>2]|0)+(c<<2)>>2]|0)+1|0);e=c+1|0;nEa(a,-2,e);c=e}}else UDa(a);while(0);b=k[d>>2]|0;if(!b){r=d;return 1}a=k[d+4>>2]|0;if((a|0)!=(b|0))k[d+4>>2]=a+(~((a+-4-b|0)>>>2)<<2);CAb(b);r=d;return 1}function ly(a){a=a|0;var b=0;b=Xx(a,1,19)|0;if((DDa(a,2)|0)<1){Jca(b);return 0}else{Ica(b,vD(a,2)|0);return 0}return 0}function my(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+16|0;b=Kca(Xx(a,1,19)|0)|0;if(!b){a=0;r=d;return a|0}c=k[(k[(k[b>>2]|0)+-4>>2]|0)+4>>2]|0;if((c|0)==(k[493]|0)){Rs(a,12,b);a=1;r=d;return a|0}if((c|0)==(k[465]|0)){Rs(a,17,b);a=1;r=d;return a|0}else{a=aHa(a,342857,d)|0;r=d;return a|0}return 0}function ny(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+16|0;b=Xx(a,1,19)|0;c=fHa(a,2,0)|0;if(Rca(c,d+4|0)|0){Lca(b,k[d+4>>2]|0);a=0;r=d;return a|0}else{k[d>>2]=c;a=aHa(a,341102,d)|0;r=d;return a|0}return 0}function oy(a){a=a|0;var b=0;b=r;r=r+16|0;if(Sca(Mca(Xx(a,1,19)|0)|0,b+4|0)|0){YDa(a,k[b+4>>2]|0);a=1;r=b;return a|0}else{a=aHa(a,341129,b)|0;r=b;return a|0}return 0}function py(a){a=a|0;var b=0,c=0;b=Xx(a,1,19)|0;if((DDa(a,2)|0)<1){Oca(b);return 0}else{c=~~+lHa(a,2)+-1|0;Nca(b,c,~~+lHa(a,3)+-1|0);return 0}return 0}function qy(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=Xx(a,1,19)|0;k[c+4>>2]=-1;k[c>>2]=-1;Pca(b,c+4|0,c);b=k[c+4>>2]|0;if((k[c>>2]|b|0)<0){a=0;r=c;return a|0}WDa(a,b+1|0);WDa(a,(k[c>>2]|0)+1|0);a=2;r=c;return a|0}function ry(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=13948;k[b+4>>2]=0;a=Is(a,19,341153,b)|0;r=b;return a|0}function sy(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((DDa(a,b)|0)!=7){k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0}d=RDa(a,b)|0;if(k[(k[155799]|0)+(k[d>>2]<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0){c=d+4|0;c=k[c>>2]|0;r=e;return c|0}k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0;c=d+4|0;c=k[c>>2]|0;r=e;return c|0}function ty(a){a=a|0;var b=0;b=sy(a,1,15)|0;b=Gi[k[(k[b>>2]|0)+20>>2]&2047](b)|0;Rs(a,15,b);Si[k[(k[b>>2]|0)+12>>2]&1023](b);return 1}function uy(a){a=a|0;var b=0;b=sy(a,1,15)|0;yB(b,vD(a,2)|0);return 0}function vy(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+16|0;b=zB(sy(a,1,15)|0)|0;if(!b)iBb();c=k[(k[(k[b>>2]|0)+-4>>2]|0)+4>>2]|0;if((c|0)==(k[493]|0)){Rs(a,12,b);a=1;r=d;return a|0}if((c|0)==(k[465]|0)){Rs(a,17,b);a=1;r=d;return a|0}else{a=aHa(a,342857,d)|0;r=d;return a|0}return 0}function wy(a){a=a|0;var b=0,c=0.0,d=0;d=r;r=r+16|0;b=sy(a,1,15)|0;c=+lHa(a,2);if(c<1.0|c>536870911.0){a=aHa(a,345144,d)|0;r=d;return a|0}else{Di[k[(k[b>>2]|0)+24>>2]&511](b,~~c>>>0);a=0;r=d;return a|0}return 0}function xy(a){a=a|0;WDa(a,vB(sy(a,1,15)|0)|0);return 1}function yy(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+16|0;b=sy(a,1,15)|0;c=fHa(a,2,0)|0;if(LC(c,d+4|0)|0){AB(b,k[d+4>>2]|0);a=0;r=d;return a|0}else{k[d>>2]=c;a=aHa(a,341359,d)|0;r=d;return a|0}return 0}function zy(a){a=a|0;var b=0;b=r;r=r+16|0;if(MC(BB(sy(a,1,15)|0)|0,b+4|0)|0){YDa(a,k[b+4>>2]|0);a=1;r=b;return a|0}else{a=aHa(a,341385,b)|0;r=b;return a|0}return 0}function Ay(a){a=a|0;var b=0;b=sy(a,1,15)|0;CB(b,+lHa(a,2));return 0}function By(a){a=a|0;VDa(a,+DB(sy(a,1,15)|0));return 1}function Cy(a){a=a|0;var b=0;b=sy(a,1,15)|0;EB(b,+lHa(a,2));return 0}function Dy(a){a=a|0;VDa(a,+FB(sy(a,1,15)|0));return 1}function Ey(a){a=a|0;var b=0.0,c=0;c=sy(a,1,15)|0;b=+lHa(a,2);GB(c,b,+mHa(a,3,b));return 0}function Fy(a){a=a|0;var b=0;b=r;r=r+16|0;HB(sy(a,1,15)|0,b+4|0,b);VDa(a,+o[b+4>>2]);VDa(a,+o[b>>2]);r=b;return 2}function Gy(a){a=a|0;var b=0.0,c=0;c=sy(a,1,15)|0;b=+lHa(a,2);IB(c,b,+lHa(a,3));return 0}function Hy(a){a=a|0;var b=0.0,c=0;c=JB(sy(a,1,15)|0)|0;b=+o[c+4>>2];VDa(a,+o[c>>2]);VDa(a,b);return 2}function Iy(a){a=a|0;var b=0.0,c=0;c=sy(a,1,15)|0;b=+lHa(a,2);KB(c,b,+lHa(a,3));return 0}function Jy(a){a=a|0;var b=0,c=0.0,d=0.0,e=0,f=0;f=r;r=r+16|0;e=sy(a,1,15)|0;k[f+12>>2]=0;do if((DDa(a,2)|0)<1){b=0;d=0.0;c=0.0}else{b=fHa(a,2,0)|0;if(!b){b=0;d=0.0;c=0.0}else{if(!(JC(b,f+12|0)|0)){k[f>>2]=b;e=aHa(a,341405,f)|0;r=f;return e|0}if(!(k[f+12>>2]|0)){b=0;d=0.0;c=0.0}else{d=+lHa(a,3);c=+lHa(a,4);if(!(d<0.0|c<0.0)){b=k[f+12>>2]|0;break}e=aHa(a,341439,f+8|0)|0;r=f;return e|0}}}while(0);LB(e,b,d,c);e=0;r=f;return e|0}function Ky(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;c=sy(a,1,15)|0;KC(MB(c)|0,b)|0;c=NB(c)|0;YDa(a,k[b>>2]|0);VDa(a,+o[c>>2]);VDa(a,+o[c+4>>2]);r=b;return 3}function Ly(a){a=a|0;var b=0;b=sy(a,1,15)|0;OB(b,+lHa(a,2));return 0}function My(a){a=a|0;VDa(a,+PB(sy(a,1,15)|0));return 1}function Ny(a){a=a|0;var b=0;b=sy(a,1,15)|0;QB(b,+lHa(a,2));return 0}function Oy(a){a=a|0;VDa(a,+RB(sy(a,1,15)|0));return 1}function Py(a){a=a|0;var b=0.0,c=0;c=sy(a,1,15)|0;b=+lHa(a,2);SB(c,b,+mHa(a,3,b));return 0}function Qy(a){a=a|0;var b=0;b=r;r=r+16|0;TB(sy(a,1,15)|0,b+4|0,b);VDa(a,+o[b+4>>2]);VDa(a,+o[b>>2]);r=b;return 2}function Ry(a){a=a|0;var b=0.0,c=0.0,d=0.0,e=0;e=sy(a,1,15)|0;d=+lHa(a,2);b=+lHa(a,3);c=+mHa(a,4,d);UB(e,d,b,c,+mHa(a,5,b));return 0}function Sy(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;c=sy(a,1,15)|0;o[b+8>>2]=0.0;o[b+8+4>>2]=0.0;o[b>>2]=0.0;o[b+4>>2]=0.0;VB(c,b+8|0,b);VDa(a,+o[b+8>>2]);VDa(a,+o[b+8+4>>2]);VDa(a,+o[b>>2]);VDa(a,+o[b+4>>2]);r=b;return 4}function Ty(a){a=a|0;var b=0.0,c=0;c=sy(a,1,15)|0;b=+lHa(a,2);WB(c,b,+mHa(a,3,b));return 0}function Uy(a){a=a|0;var b=0;b=r;r=r+16|0;XB(sy(a,1,15)|0,b+4|0,b);VDa(a,+o[b+4>>2]);VDa(a,+o[b>>2]);r=b;return 2}function Vy(a){a=a|0;var b=0.0,c=0;c=sy(a,1,15)|0;b=+lHa(a,2);YB(c,b,+mHa(a,3,b));return 0}function Wy(a){a=a|0;var b=0;b=r;r=r+16|0;ZB(sy(a,1,15)|0,b+4|0,b);VDa(a,+o[b+4>>2]);VDa(a,+o[b>>2]);r=b;return 2}function Xy(a){a=a|0;var b=0.0,c=0;c=sy(a,1,15)|0;b=+lHa(a,2);_B(c,b,+mHa(a,3,b));return 0}function Yy(a){a=a|0;var b=0;b=r;r=r+16|0;$B(sy(a,1,15)|0,b+4|0,b);VDa(a,+o[b+4>>2]);VDa(a,+o[b>>2]);r=b;return 2}function Zy(a){a=a|0;var b=0,c=0,d=0,e=0,f=0.0;e=r;r=r+16|0;b=sy(a,1,15)|0;c=(xDa(a)|0)+-1|0;if(c>>>0>8){d=aHa(a,341485,e)|0;r=e;return d|0}if(c>>>0<2){aC(b,+lHa(a,2));d=0;r=e;return d|0}k[e+4>>2]=0;k[e+4+4>>2]=0;k[e+4+8>>2]=0;d=kBb(c<<2)|0;k[e+4>>2]=d;k[e+4+8>>2]=d+(c<<2);vBb(d|0,0,c<<2|0)|0;k[e+4+4>>2]=d+(c<<2);d=0;do{f=+lHa(a,d+2|0);o[(k[e+4>>2]|0)+(d<<2)>>2]=f;d=d+1|0}while(d>>>0>>0);cC(b,e+4|0);b=k[e+4>>2]|0;if(b|0){c=k[e+4+4>>2]|0;if((c|0)!=(b|0))k[e+4+4>>2]=c+(~((c+-4-b|0)>>>2)<<2);CAb(b)}d=0;r=e;return d|0}function _y(a){a=a|0;var b=0,c=0,d=0,e=0;e=eC(sy(a,1,15)|0)|0;b=k[e>>2]|0;if((k[e+4>>2]|0)==(b|0)){a=0;return a|0}else{c=b;d=0}do{VDa(a,+o[c+(d<<2)>>2]);d=d+1|0;c=k[e>>2]|0;b=(k[e+4>>2]|0)-c>>2}while(d>>>0>>0);return b|0}function $y(a){a=a|0;var b=0,c=0.0,d=0;d=r;r=r+16|0;b=sy(a,1,15)|0;c=+lHa(a,2);if(c<0.0|c>1.0){a=aHa(a,341522,d)|0;r=d;return a|0}else{fC(b,c);a=0;r=d;return a|0}return 0}function az(a){a=a|0;VDa(a,+gC(sy(a,1,15)|0));return 1}function bz(a){a=a|0;var b=0.0,c=0;c=sy(a,1,15)|0;b=+lHa(a,2);hC(c,b,+mHa(a,3,b));return 0}function cz(a){a=a|0;var b=0;b=r;r=r+16|0;iC(sy(a,1,15)|0,b+4|0,b);VDa(a,+o[b+4>>2]);VDa(a,+o[b>>2]);r=b;return 2}function dz(a){a=a|0;var b=0.0,c=0;c=sy(a,1,15)|0;b=+lHa(a,2);jC(c,b,+mHa(a,3,b));return 0}function ez(a){a=a|0;var b=0;b=r;r=r+16|0;kC(sy(a,1,15)|0,b+4|0,b);VDa(a,+o[b+4>>2]);VDa(a,+o[b>>2]);r=b;return 2}function fz(a){a=a|0;var b=0;b=sy(a,1,15)|0;lC(b,+lHa(a,2));return 0}function gz(a){a=a|0;VDa(a,+mC(sy(a,1,15)|0));return 1}function hz(a){a=a|0;var b=0.0,c=0;c=sy(a,1,15)|0;b=+lHa(a,2);nC(c,b,+lHa(a,3));return 0}function iz(a){a=a|0;var b=0;b=r;r=r+16|0;oC(b,sy(a,1,15)|0);VDa(a,+o[b>>2]);VDa(a,+o[b+4>>2]);r=b;return 2}function jz(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0.0;j=r;r=r+32|0;i=sy(a,1,15)|0;g=(DDa(a,2)|0)==5;h=xDa(a)|0;if(g){if((h+-1|0)>8){a=aHa(a,341575,j)|0;r=j;return a|0}k[j+20>>2]=0;g=j+20+4|0;k[g>>2]=0;k[j+20+8>>2]=0;if(h+-1|0){if((h+-1|0)>>>0>268435455)xzb(j+20|0);c=kBb(h+-1<<4)|0;k[g>>2]=c;k[j+20>>2]=c;k[j+20+8>>2]=c+(h+-1<<4);b=h+-1|0;d=c;while(1){k[d>>2]=0;k[d+4>>2]=0;k[d+8>>2]=0;k[d+12>>2]=0;b=b+-1|0;if(!b)break;else d=d+16|0}k[g>>2]=c+((h<<4)+-16)}a:do if((h|0)>1){c=0;while(1){b=c+2|0;jHa(a,b,5);if((Ps(a,b)|0)>>>0<3)break;else d=0;while(1){if((d|0)>=4)break;e=d+1|0;gEa(a,b,e);d=e}l=+lHa(a,-4);o[(k[j+20>>2]|0)+(c<<4)>>2]=l;l=+lHa(a,-3);o[(k[j+20>>2]|0)+(c<<4)+4>>2]=l;l=+lHa(a,-2);o[(k[j+20>>2]|0)+(c<<4)+8>>2]=l;l=+mHa(a,-1,255.0);o[(k[j+20>>2]|0)+(c<<4)+12>>2]=l;yDa(a,-5);c=c+1|0;if((c|0)>=(h+-1|0)){f=16;break a}}d=$Ga(a,b,341613)|0;e=1}else f=16;while(0);if((f|0)==16){pC(i,j+20|0);d=0;e=0}b=k[j+20>>2]|0;if(b|0){c=k[g>>2]|0;if((c|0)!=(b|0))k[g>>2]=c+(~((c+-16-b|0)>>>4)<<4);CAb(b)}if(e|0){a=d;r=j;return a|0}}else{e=(h+2|0)/4|0;if((h+-1|0)!=3)if((h+-1|0)==0|((h+-1|0)%4|0|0)!=0){k[j+8>>2]=(h+-1|0)%4|0;a=aHa(a,341641,j+8|0)|0;r=j;return a|0}if((h+2|0)>35){a=aHa(a,341575,j+16|0)|0;r=j;return a|0}k[j+20>>2]=0;f=j+20+4|0;k[f>>2]=0;k[j+20+8>>2]=0;if((h+5|0)>>>0>=7){if(e>>>0>268435455)xzb(j+20|0);c=kBb(e<<4)|0;k[f>>2]=c;k[j+20>>2]=c;k[j+20+8>>2]=c+(e<<4);b=e;d=c;while(1){k[d>>2]=0;k[d+4>>2]=0;k[d+8>>2]=0;k[d+12>>2]=0;b=b+-1|0;if(!b)break;else d=d+16|0}k[f>>2]=c+(e<<4)}if((h+2|0)>3){b=0;do{h=b<<2;l=+lHa(a,(h|1)+1|0);o[(k[j+20>>2]|0)+(b<<4)>>2]=l;l=+lHa(a,h|3);o[(k[j+20>>2]|0)+(b<<4)+4>>2]=l;l=+lHa(a,(h|1)+3|0);o[(k[j+20>>2]|0)+(b<<4)+8>>2]=l;l=+lHa(a,(h|1)+4|0);o[(k[j+20>>2]|0)+(b<<4)+12>>2]=l;b=b+1|0}while((b|0)<(e|0))}pC(i,j+20|0);c=k[j+20>>2]|0;if(c|0){b=k[f>>2]|0;if((b|0)!=(c|0))k[f>>2]=b+(~((b+-16-c|0)>>>4)<<4);CAb(c)}}a=0;r=j;return a|0}function kz(a){a=a|0;var b=0,c=0,d=0,e=0;e=r;r=r+16|0;rC(e,sy(a,1,15)|0);b=k[e+4>>2]|0;c=k[e>>2]|0;if((b|0)==(c|0)){a=c;c=0}else{b=0;do{hEa(a,4,0);VDa(a,+o[(k[e>>2]|0)+(b<<4)>>2]);nEa(a,-2,1);VDa(a,+o[(k[e>>2]|0)+(b<<4)+4>>2]);nEa(a,-2,2);VDa(a,+o[(k[e>>2]|0)+(b<<4)+8>>2]);nEa(a,-2,3);VDa(a,+o[(k[e>>2]|0)+(b<<4)+12>>2]);nEa(a,-2,4);b=b+1|0;c=k[e+4>>2]|0;d=k[e>>2]|0}while(b>>>0>4>>>0);b=c;a=d;c=c-d>>4}if(!a){r=e;return c|0}if((b|0)!=(a|0))k[e+4>>2]=b+(~((b+-16-a|0)>>>4)<<4);CAb(a);r=e;return c|0}function lz(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;g=r;r=r+16|0;e=sy(a,1,15)|0;k[g+4>>2]=0;f=g+4+4|0;k[f>>2]=0;k[g+4+8>>2]=0;a:do if((DDa(a,2)|0)==5){d=1;while(1){if((d|0)>(Ps(a,2)|0))break a;gEa(a,2,d);c=mz(a,-1,13)|0;k[g>>2]=c;b=k[f>>2]|0;if((b|0)==(k[g+4+8>>2]|0))nz(g+4|0,g);else{k[b>>2]=c;k[f>>2]=(k[f>>2]|0)+4}yDa(a,-2);d=d+1|0}}else{d=2;while(1){if((d|0)>(xDa(a)|0))break a;b=mz(a,d,13)|0;k[g>>2]=b;c=k[f>>2]|0;if((c|0)==(k[g+4+8>>2]|0))nz(g+4|0,g);else{k[c>>2]=b;k[f>>2]=(k[f>>2]|0)+4}d=d+1|0}}while(0);sC(e,g+4|0);b=k[g+4>>2]|0;if(!b){r=g;return 0}c=k[f>>2]|0;if((c|0)!=(b|0))k[f>>2]=c+(~((c+-4-b|0)>>>2)<<2);CAb(b);r=g;return 0}function mz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((DDa(a,b)|0)!=7){k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0}d=RDa(a,b)|0;if(k[(k[155799]|0)+(k[d>>2]<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0){c=d+4|0;c=k[c>>2]|0;r=e;return c|0}k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0;c=d+4|0;c=k[c>>2]|0;r=e;return c|0}function nz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=k[a>>2]|0;c=((k[a+4>>2]|0)-i>>2)+1|0;if(c>>>0>1073741823)xzb(a);d=(k[a+8>>2]|0)-i|0;if(d>>2>>>0<536870911){c=d>>1>>>0>>0?c:d>>1;e=k[a+4>>2]|0;if(!c){h=0;f=0;d=e-i>>2;c=e}else{g=e;d=e-i>>2;j=6}}else{d=k[a+4>>2]|0;c=1073741823;g=d;d=d-i>>2;j=6}if((j|0)==6){h=c;f=kBb(c<<2)|0;c=g}j=f+(d<<2)|0;k[j>>2]=k[b>>2];b=c-i|0;ABb(j+(0-(b>>2)<<2)|0,i|0,b|0)|0;k[a>>2]=j+(0-(b>>2)<<2);k[a+4>>2]=j+4;k[a+8>>2]=f+(h<<2);if(!i)return;CAb(i);return}function oz(a){a=a|0;var b=0,c=0,d=0,e=0;e=r;r=r+16|0;wC(e,sy(a,1,15)|0);hEa(a,(k[e+4>>2]|0)-(k[e>>2]|0)>>2,0);d=0;while(1){b=k[e+4>>2]|0;c=k[e>>2]|0;if((d|0)>=(b-c>>2|0))break;Rs(a,13,k[c+(d<<2)>>2]|0);c=d+1|0;nEa(a,-2,c);d=c}if(!c){r=e;return 1}if((b|0)!=(c|0))k[e+4>>2]=b+(~((b+-4-c|0)>>>2)<<2);CAb(c);r=e;return 1}function pz(a){a=a|0;var b=0;b=sy(a,1,15)|0;yC(b,qs(a,2)|0);return 0}function qz(a){a=a|0;rs(a,zC(sy(a,1,15)|0)|0);return 1}function rz(a){a=a|0;VDa(a,+((AC(sy(a,1,15)|0)|0)>>>0));return 1}function sz(a){a=a|0;BC(sy(a,1,15)|0);return 0}function tz(a){a=a|0;CC(sy(a,1,15)|0);return 0}function uz(a){a=a|0;DC(sy(a,1,15)|0);return 0}function vz(a){a=a|0;uB(sy(a,1,15)|0);return 0}function wz(a){a=a|0;var b=0;b=sy(a,1,15)|0;EC(b,~~+lHa(a,2));return 0}function xz(a){a=a|0;rs(a,FC(sy(a,1,15)|0)|0);return 1}function yz(a){a=a|0;rs(a,GC(sy(a,1,15)|0)|0);return 1}function zz(a){a=a|0;rs(a,HC(sy(a,1,15)|0)|0);return 1}function Az(a){a=a|0;var b=0;b=sy(a,1,15)|0;IC(b,+lHa(a,2));return 0}function Bz(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=14108;k[b+4>>2]=0;a=Is(a,15,341708,b)|0;r=b;return a|0}function Cz(a,b){a=a|0;b=b|0;return Dz(a,b,18)|0}function Dz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((DDa(a,b)|0)!=7){k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0}d=RDa(a,b)|0;if(k[(k[155799]|0)+(k[d>>2]<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0){c=d+4|0;c=k[c>>2]|0;r=e;return c|0}k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0;c=d+4|0;c=k[c>>2]|0;r=e;return c|0}function Ez(a){a=a|0;var b=0;b=r;r=r+16|0;Mea(b,Dz(a,1,18)|0);YDa(a,(i[b>>0]&1)==0?b+1|0:k[b+8>>2]|0);_qb(b);r=b;return 1}function Fz(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0;l=r;r=r+48|0;h=Dz(a,1,18)|0;i=fHa(a,2,0)|0;j=(xDa(a)|0)+-2|0;if((j|0)<1){j=aHa(a,342367,l)|0;r=l;return j|0}a:do if(!(GDa(a,3)|0))if((DDa(a,3)|0)==1)d=5;else{if((DDa(a,3)|0)!=5){j=Ys(a,3,342460)|0;r=l;return j|0}c=Ps(a,3)|0;b=ha(c,j)|0;b=mBb(b>>>0>1073741823?-1:b<<2)|0;e=0;b:while(1){g=e+3|0;if((DDa(a,g)|0)!=5){d=15;break}if((Ps(a,g)|0)!=(c|0)){d=19;break}if((c|0)>=1){d=(ha(e,c)|0)+-1|0;f=1;while(1){gEa(a,g,f);if(!(GDa(a,-1)|0)){if((DDa(a,-1)|0)!=1){d=25;break b}m=NDa(a,-1)|0;k[b+(d+f<<2)>>2]=m}else{m=~~+LDa(a,-1);k[b+(d+f<<2)>>2]=m}if((f|0)<(c|0))f=f+1|0;else break}}yDa(a,~c);e=e+1|0;if((e|0)>=(j|0)){d=29;break a}}if((d|0)==15){oBb(b);Ys(a,g,519576)|0;d=28;break}else if((d|0)==19){oBb(b);m=Ps(a,g)|0;k[l+8>>2]=g;k[l+8+4>>2]=c;k[l+8+8>>2]=m;aHa(a,342406,l+8|0)|0;d=28;break}else if((d|0)==25){oBb(b);Ys(a,-1,342388)|0;d=28;break}}else d=5;while(0);c:do if((d|0)==5){b=mBb(j>>>0>1073741823?-1:j<<2)|0;d=0;while(1){c=d+3|0;if(!(GDa(a,c)|0)){if((DDa(a,c)|0)!=1)break;m=NDa(a,c)|0;k[b+(d<<2)>>2]=m}else{m=~~+LDa(a,c);k[b+(d<<2)>>2]=m}d=d+1|0;if((d|0)>=(j|0)){c=1;d=29;break c}}oBb(b);Ys(a,c,342388)|0;d=28}while(0);if((d|0)==28){m=aHa(a,342486,l+24|0)|0;r=l;return m|0}else if((d|0)==29){Wqb(l+28|0,i,Fnb(i)|0);Pea(h,l+28|0,c,b,j);_qb(l+28|0);oBb(b);m=0;r=l;return m|0}return 0}function Gz(a){a=a|0;return Hz(a,0)|0}function Hz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0.0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,p=0;p=r;r=r+48|0;l=Dz(a,1,18)|0;m=fHa(a,2,0)|0;n=xDa(a)|0;if((n+-2|0)<1){n=aHa(a,342367,p)|0;r=p;return n|0}a:do if(!(GDa(a,3)|0))if((DDa(a,3)|0)==1)j=5;else{if((DDa(a,3)|0)!=5){n=Ys(a,3,342460)|0;r=p;return n|0}c=Ps(a,3)|0;e=ha(c,n+-2|0)|0;e=mBb(e>>>0>1073741823?-1:e<<2)|0;h=0;b:while(1){d=h+3|0;if((DDa(a,d)|0)!=5){j=15;break}if((Ps(a,d)|0)!=(c|0)){j=19;break}if((c|0)>=1){g=(ha(h,c)|0)+-1|0;i=1;while(1){gEa(a,d,i);if(!(GDa(a,-1)|0)){if((DDa(a,-1)|0)!=1){j=25;break b}f=+(NDa(a,-1)|0);o[e+(g+i<<2)>>2]=f}else{f=+LDa(a,-1);o[e+(g+i<<2)>>2]=f}if((i|0)<(c|0))i=i+1|0;else break}}yDa(a,~c);h=h+1|0;if((h|0)>=(n+-2|0)){a=c;break a}}if((j|0)==15){oBb(e);Ys(a,d,519576)|0;j=28;break}else if((j|0)==19){oBb(e);n=Ps(a,d)|0;k[p+8>>2]=d;k[p+8+4>>2]=c;k[p+8+8>>2]=n;aHa(a,342406,p+8|0)|0;j=28;break}else if((j|0)==25){oBb(e);Ys(a,-1,342388)|0;j=28;break}}else j=5;while(0);c:do if((j|0)==5){e=mBb((n+-2|0)>>>0>1073741823?-1:n+-2<<2)|0;d=0;while(1){c=d+3|0;if(!(GDa(a,c)|0)){if((DDa(a,c)|0)!=1)break;f=+(NDa(a,c)|0);o[e+(d<<2)>>2]=f}else{f=+LDa(a,c);o[e+(d<<2)>>2]=f}d=d+1|0;if((d|0)>=(n+-2|0)){a=1;break c}}oBb(e);Ys(a,c,342388)|0;j=28}while(0);if((j|0)==28){n=aHa(a,342486,p+24|0)|0;r=p;return n|0}if(b){g=LA()|0;if((n|0)>2&(a|0)>0){i=0;do{h=ha(i,a)|0;if(g){d=0;do{c=e+(d+h<<2)|0;f=+o[c>>2]/255.0;if((d|0)<3)f=+fF(621176,f);o[c>>2]=f;d=d+1|0}while((d|0)!=(a|0))}else{c=0;do{j=e+(c+h<<2)|0;o[j>>2]=+o[j>>2]/255.0;c=c+1|0}while((c|0)!=(a|0))}i=i+1|0}while((i|0)!=(n+-2|0))}}Wqb(p+28|0,m,Fnb(m)|0);Qea(l,p+28|0,a,e,n+-2|0);_qb(p+28|0);oBb(e);n=0;r=p;return n|0}function Iz(a){a=a|0;return Hz(a,1)|0}function Jz(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,p=0,q=0,s=0,t=0,u=0,v=0.0;u=r;r=r+48|0;q=xDa(a)|0;s=Dz(a,1,18)|0;t=fHa(a,2,0)|0;if((DDa(a,3)|0)!=5){a=Ys(a,3,342506)|0;r=u;return a|0}gEa(a,3,1);if((DDa(a,-1)|0)==5){b=Ps(a,3)|0;yDa(a,-2);if(!b)c=6;else p=b}else{yDa(a,-2);c=6}if((c|0)==6){eEa(a,3,342519);if((DDa(a,-1)|0)<1)b=~~+X(+(+((Ps(a,3)|0)>>>0)));else b=MDa(a,-1)|0;yDa(a,-2);p=b}if((p+-2|0)>>>0>2){k[u>>2]=p;k[u+4>>2]=p;a=aHa(a,342529,u)|0;r=u;return a|0}g=ha(p,p)|0;m=ha(g,q+-2|0)|0;m=mBb(m>>>0>1073741823?-1:m<<2)|0;a:do if((q|0)>2){h=(p|0)<1;i=-2-p|0;j=p+1|0;l=0;while(1){n=l+3|0;gEa(a,n,1);c=(DDa(a,-1)|0)==5;if(c){b=Ps(a,-1)|0;yDa(a,-2)}else{yDa(a,-2);b=~~+X(+(+((Ps(a,n)|0)>>>0)))}if((b|0)!=(p|0))break;if(c){if(!h){b=ha(g,l)|0;c=1;e=0;while(1){gEa(a,n,c);d=1;f=e;while(1){gEa(a,0-d|0,d);v=+LDa(a,-1);o[m+(f+b<<2)>>2]=v;d=d+1|0;if((d|0)==(j|0))break;else f=f+1|0}yDa(a,i);c=c+1|0;if((c|0)==(j|0))break;else e=p+e|0}}}else{if(g|0){b=(ha(g,l)|0)+-1|0;c=1;while(1){gEa(a,n,c);v=+LDa(a,-1);o[m+(b+c<<2)>>2]=v;if((c|0)<(g|0))c=c+1|0;else break}}yDa(a,~g)}l=l+1|0;if((l|0)>=(q+-2|0))break a}oBb(m);k[u+8>>2]=n;k[u+8+4>>2]=p;k[u+8+8>>2]=p;k[u+8+12>>2]=b;k[u+8+16>>2]=b;a=aHa(a,342604,u+8|0)|0;r=u;return a|0}while(0);Wqb(u+28|0,t,Fnb(t)|0);Rea(s,u+28|0,p,m,q+-2|0);_qb(u+28|0);oBb(m);a=0;r=u;return a|0}function Kz(a){a=a|0;var b=0,c=0,d=0;b=r;r=r+16|0;c=Dz(a,1,18)|0;d=fHa(a,2,0)|0;a=vD(a,3)|0;Wqb(b,d,Fnb(d)|0);Sea(c,b,a);_qb(b);r=b;return 0}function Lz(a){a=a|0;var b=0;switch(DDa(a,3)|0){case 1:case 3:{a=Hz(a,0)|0;return a|0}case 7:{b=RDa(a,3)|0;if(k[(k[155799]|0)+(k[b>>2]<<3)>>2]&2048|0){Kz(a)|0;a=0;return a|0}break}case 5:{gEa(a,3,1);b=DDa(a,-1)|0;yDa(a,-2);if((b|2|0)==3){a=Hz(a,0)|0;return a|0}if((b|0)==5){a=Jz(a)|0;return a|0}break}default:{}}a=$Ga(a,3,342672)|0;return a|0}function Mz(a){a=a|0;var b=0,c=0,d=0;c=r;r=r+32|0;b=Dz(a,1,18)|0;d=fHa(a,2,0)|0;k[c+24>>2]=0;k[c+20>>2]=0;Wqb(c+4|0,d,Fnb(d)|0);b=_ea(b,c+4|0,c+24|0,c+20|0)|0;_qb(c+4|0);if((k[c+24>>2]|0)<=0){UDa(a);UDa(a);UDa(a);d=3;r=c;return d|0}k[c+16>>2]=0;if(cfa(b,c+16|0)|0){YDa(a,k[c+16>>2]|0);WDa(a,k[c+24>>2]|0);WDa(a,k[c+20>>2]|0);d=3;r=c;return d|0}else{d=aHa(a,342722,c)|0;r=c;return d|0}return 0}function Nz(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=14596;k[b+4>>2]=0;a=Is(a,18,342757,b)|0;r=b;return a|0}function Oz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((DDa(a,b)|0)!=7){k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0}d=RDa(a,b)|0;if(k[(k[155799]|0)+(k[d>>2]<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0){c=d+4|0;c=k[c>>2]|0;r=e;return c|0}k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0;c=d+4|0;c=k[c>>2]|0;r=e;return c|0}function Pz(a){a=a|0;WDa(a,(Qz(a,Oz(a,1,16)|0,2,-1)|0)+1|0);return 1}function Qz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0.0,f=0.0,g=0.0,h=0.0,i=0.0,j=0.0,l=0.0,m=0.0,n=0.0,o=0;if(Ss(a,c,13)|0){o=(RDa(a,c)|0)+4|0;c=c+1|0;o=k[o>>2]|0}else if(!(DDa(a,c)|0))if((DDa(a,c+1|0)|0)<1)o=0;else{b=Ys(a,c,345312)|0;return b|0}else o=0;f=+mHa(a,c,0.0);g=+mHa(a,c+1|0,0.0);h=+mHa(a,c+2|0,0.0);i=+mHa(a,c+3|0,1.0);j=+mHa(a,c+4|0,i);l=+mHa(a,c+5|0,0.0);m=+mHa(a,c+6|0,0.0);n=+mHa(a,c+7|0,0.0);e=+mHa(a,c+8|0,0.0);if(!o){b=ofa(b,f,g,h,i,j,l,m,n,e,d)|0;return b|0}else{b=qfa(b,o,f,g,h,i,j,l,m,n,e,d)|0;return b|0}return 0}function Rz(a){a=a|0;var b=0;b=Oz(a,1,16)|0;Qz(a,b,3,~~+lHa(a,2)+-1|0)|0;return 0}function Sz(a){a=a|0;rfa(Oz(a,1,16)|0);return 0}function Tz(a){a=a|0;sfa(Oz(a,1,16)|0);return 0}function Uz(a){a=a|0;var b=0;b=Oz(a,1,16)|0;tfa(b,vD(a,2)|0);return 0}function Vz(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+16|0;b=ufa(Oz(a,1,16)|0)|0;if(!b)iBb();c=k[(k[(k[b>>2]|0)+-4>>2]|0)+4>>2]|0;if((c|0)==(k[493]|0)){Rs(a,12,b);a=1;r=d;return a|0}if((c|0)==(k[465]|0)){Rs(a,17,b);a=1;r=d;return a|0}else{a=aHa(a,342857,d)|0;r=d;return a|0}return 0}function Wz(a){a=a|0;var b=0,c=0,d=0;c=r;r=r+16|0;b=Oz(a,1,16)|0;k[c>>2]=0;if((xDa(a)|0)<2){wfa(b);r=c;return 0}if((DDa(a,2)|0)==5){gEa(a,2,1);gEa(a,2,2);gEa(a,2,3);gEa(a,2,4);d=~~+lHa(a,-4)&255;i[c>>0]=d;d=~~+lHa(a,-3)&255;i[c+1>>0]=d;d=~~+lHa(a,-2)&255;i[c+2>>0]=d;d=~~+mHa(a,-1,255.0)&255;i[c+3>>0]=d;yDa(a,-5)}else{d=~~+lHa(a,2)&255;i[c>>0]=d;d=~~+lHa(a,3)&255;i[c+1>>0]=d;d=~~+lHa(a,4)&255;i[c+2>>0]=d;d=~~+mHa(a,5,255.0)&255;i[c+3>>0]=d}vfa(b,c);r=c;return 0}function Xz(a){a=a|0;var b=0;b=xfa(Oz(a,1,16)|0)|0;if(!b){a=0;return a|0}VDa(a,+(l[b>>0]|0));VDa(a,+(l[b+1>>0]|0));VDa(a,+(l[b+2>>0]|0));VDa(a,+(l[b+3>>0]|0));a=4;return a|0}function Yz(a){a=a|0;WDa(a,yfa(Oz(a,1,16)|0)|0);return 1}function Zz(a){a=a|0;var b=0;b=Oz(a,1,16)|0;zfa(b,~~+lHa(a,2));return 0}function _z(a){a=a|0;WDa(a,Afa(Oz(a,1,16)|0)|0);return 1}function $z(a){a=a|0;var b=0,c=0,d=0;b=r;r=r+16|0;c=Oz(a,1,16)|0;d=fHa(a,2,0)|0;a=Xx(a,3,19)|0;Wqb(b,d,Fnb(d)|0);Bfa(c,b,a);_qb(b);r=b;return 0}function aA(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=14676;k[b+4>>2]=0;a=Is(a,16,342891,b)|0;r=b;return a|0}function bA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((DDa(a,b)|0)!=7){k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0}d=RDa(a,b)|0;if(k[(k[155799]|0)+(k[d>>2]<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0){c=d+4|0;c=k[c>>2]|0;r=e;return c|0}k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0;c=d+4|0;c=k[c>>2]|0;r=e;return c|0}function cA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=r;r=r+16|0;k[g>>2]=0;k[g+4>>2]=0;k[g+8>>2]=0;k[g+12>>2]=-1;if((DDa(a,b)|0)!=5){drb(g,fHa(a,b,0)|0)|0;d=k[c+4>>2]|0;if((d|0)==(k[c+8>>2]|0)){dA(c,g);c=g;_qb(c);r=g;return}else{Vqb(d,g);k[d+12>>2]=k[g+12>>2];k[c+4>>2]=(k[c+4>>2]|0)+16;c=g;_qb(c);r=g;return}}e=Ps(a,b)|0;if((e|0)<1){c=g;_qb(c);r=g;return}f=1;while(1){gEa(a,b,f);do if((DDa(a,-1)|0)==5){gEa(a,-1,1);gEa(a,-2,2);gEa(a,-3,3);gEa(a,-4,4);d=~~+lHa(a,-4)&255;i[g+12>>0]=d;d=~~+lHa(a,-3)&255;i[g+13>>0]=d;d=~~+lHa(a,-2)&255;i[g+14>>0]=d;d=~~+mHa(a,-1,255.0)&255;i[g+15>>0]=d;yDa(a,-5)}else{drb(g,fHa(a,-1,0)|0)|0;d=k[c+4>>2]|0;if((d|0)==(k[c+8>>2]|0)){dA(c,g);break}else{Vqb(d,g);k[d+12>>2]=k[g+12>>2];k[c+4>>2]=(k[c+4>>2]|0)+16;break}}while(0);yDa(a,-2);if((f|0)<(e|0))f=f+1|0;else{d=g;break}}_qb(d);r=g;return}function dA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=k[a>>2]|0;c=((k[a+4>>2]|0)-e>>4)+1|0;if(c>>>0>268435455)xzb(a);d=(k[a+8>>2]|0)-e|0;if(d>>4>>>0<134217727){c=d>>3>>>0>>0?c:d>>3;d=(k[a+4>>2]|0)-e>>4;if(!c){e=0;c=0}else f=6}else{c=268435455;d=(k[a+4>>2]|0)-e>>4;f=6}if((f|0)==6){e=c;c=kBb(c<<4)|0}h=c+(d<<4)|0;g=c+(e<<4)|0;Vqb(h,b);k[c+(d<<4)+12>>2]=k[b+12>>2];f=k[a>>2]|0;c=k[a+4>>2]|0;if((c|0)==(f|0)){d=h;e=f;c=f}else{e=h;d=h;do{i=e+-16|0;b=c;c=c+-16|0;k[i>>2]=k[c>>2];k[i+4>>2]=k[c+4>>2];k[i+8>>2]=k[c+8>>2];k[c>>2]=0;k[c+4>>2]=0;k[c+8>>2]=0;k[e+-4>>2]=k[b+-4>>2];e=d+-16|0;d=e}while((c|0)!=(f|0));e=k[a>>2]|0;c=k[a+4>>2]|0}k[a>>2]=d;k[a+4>>2]=h+16;k[a+8>>2]=g;d=e;if((c|0)!=(d|0))do{c=c+-16|0;_qb(c)}while((c|0)!=(d|0));if(!e)return;CAb(e);return}function eA(a){a=a|0;var b=0,c=0,d=0.0,e=0;e=r;r=r+32|0;b=bA(a,1,20)|0;if((DDa(a,2)|0)<1){Ufa(b);a=0;r=e;return a|0}if((DDa(a,3)|0)<1){k[e+16>>2]=0;k[e+16+4>>2]=0;k[e+16+8>>2]=0;cA(a,2,e+16|0);Tfa(b,e+16|0);b=k[e+16>>2]|0;if(b|0){c=k[e+16+4>>2]|0;if((c|0)!=(b|0)){do{a=c+-16|0;k[e+16+4>>2]=a;_qb(a);c=k[e+16+4>>2]|0}while((c|0)!=(b|0));b=k[e+16>>2]|0}CAb(b)}a=0;r=e;return a|0}d=+lHa(a,3);c=fHa(a,4,0)|0;if(!(K8(c,e+16|0)|0)){k[e>>2]=c;a=aHa(a,342987,e)|0;r=e;return a|0}k[e+4>>2]=0;k[e+4+4>>2]=0;k[e+4+8>>2]=0;cA(a,2,e+4|0);Sfa(b,e+4|0,d,k[e+16>>2]|0);b=k[e+4>>2]|0;if(b|0){c=k[e+4+4>>2]|0;if((c|0)!=(b|0)){do{a=c+-16|0;k[e+4+4>>2]=a;_qb(a);c=k[e+4+4>>2]|0}while((c|0)!=(b|0));b=k[e+4>>2]|0}CAb(b)}a=0;r=e;return a|0}function fA(a){a=a|0;var b=0,c=0,d=0.0,e=0;e=r;r=r+32|0;b=bA(a,1,20)|0;d=+lHa(a,3);c=fHa(a,4,0)|0;if(!(K8(c,e+16|0)|0)){k[e>>2]=c;a=aHa(a,342987,e)|0;r=e;return a|0}k[e+4>>2]=0;k[e+4+4>>2]=0;k[e+4+8>>2]=0;cA(a,2,e+4|0);Sfa(b,e+4|0,d,k[e+16>>2]|0);b=k[e+4>>2]|0;if(b|0){c=k[e+4+4>>2]|0;if((c|0)!=(b|0)){do{a=c+-16|0;k[e+4+4>>2]=a;_qb(a);c=k[e+4+4>>2]|0}while((c|0)!=(b|0));b=k[e+4>>2]|0}CAb(b)}a=0;r=e;return a|0}function gA(a){a=a|0;var b=0,c=0,d=0.0,e=0.0,f=0.0,g=0.0,h=0.0,i=0.0,j=0.0,l=0.0,m=0;c=r;r=r+16|0;b=bA(a,1,20)|0;k[c>>2]=0;k[c+4>>2]=0;k[c+8>>2]=0;cA(a,2,c);l=+mHa(a,3,0.0);j=+mHa(a,4,0.0);i=+mHa(a,5,0.0);h=+mHa(a,6,1.0);g=+mHa(a,7,h);f=+mHa(a,8,0.0);e=+mHa(a,9,0.0);d=+mHa(a,10,0.0);VDa(a,+((Vfa(b,c,l,j,i,h,g,f,e,d,+mHa(a,11,0.0))|0)+1|0));a=k[c>>2]|0;if(!a){r=c;return 1}b=k[c+4>>2]|0;if((b|0)!=(a|0)){do{m=b+-16|0;k[c+4>>2]=m;_qb(m);b=k[c+4>>2]|0}while((b|0)!=(a|0));a=k[c>>2]|0}CAb(a);r=c;return 1}function hA(a){a=a|0;var b=0,c=0,d=0.0,e=0,f=0.0,g=0.0,h=0.0,i=0.0,j=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0;e=r;r=r+32|0;b=bA(a,1,20)|0;k[e+8>>2]=0;k[e+8+4>>2]=0;k[e+8+8>>2]=0;cA(a,2,e+8|0);d=+lHa(a,3);k[e+4>>2]=4;c=fHa(a,4,0)|0;if(K8(c,e+4|0)|0){o=+mHa(a,5,0.0);n=+mHa(a,6,0.0);m=+mHa(a,7,0.0);l=+mHa(a,8,1.0);j=+mHa(a,9,l);i=+mHa(a,10,0.0);h=+mHa(a,11,0.0);g=+mHa(a,12,0.0);f=+mHa(a,13,0.0);VDa(a,+((Wfa(b,e+8|0,d,k[e+4>>2]|0,o,n,m,l,j,i,h,g,f)|0)+1|0));a=1}else{k[e>>2]=c;a=aHa(a,342987,e)|0}b=k[e+8>>2]|0;if(!b){r=e;return a|0}c=k[e+8+4>>2]|0;if((c|0)!=(b|0)){do{p=c+-16|0;k[e+8+4>>2]=p;_qb(p);c=k[e+8+4>>2]|0}while((c|0)!=(b|0));b=k[e+8>>2]|0}CAb(b);r=e;return a|0}function iA(a){a=a|0;Nfa(bA(a,1,20)|0);return 0}function jA(a){a=a|0;var b=0;b=bA(a,1,20)|0;Xfa(b,Ow(a,2,14)|0);return 0}function kA(a){a=a|0;Rs(a,14,Yfa(bA(a,1,20)|0)|0);return 1}function lA(a){a=a|0;var b=0;b=bA(a,1,20)|0;VDa(a,+(Zfa(b,~~+mHa(a,2,0.0)+-1|0)|0));return 1}function mA(a){a=a|0;var b=0;b=bA(a,1,20)|0;VDa(a,+(_fa(b,~~+mHa(a,2,0.0)+-1|0)|0));return 1}function nA(a){a=a|0;var b=0,c=0;c=bA(a,1,20)|0;b=~~+mHa(a,2,0.0)+-1|0;VDa(a,+(Zfa(c,b)|0));VDa(a,+(_fa(c,b)|0));return 2}function oA(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=14780;k[b+4>>2]=0;a=Is(a,20,343010,b)|0;r=b;return a|0}function pA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((DDa(a,b)|0)!=7){k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0}d=RDa(a,b)|0;if(k[(k[155799]|0)+(k[d>>2]<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0){c=d+4|0;c=k[c>>2]|0;r=e;return c|0}k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0;c=d+4|0;c=k[c>>2]|0;r=e;return c|0}function qA(a){a=a|0;Rs(a,55,lga(pA(a,1,21)|0)|0);return 1}function rA(a){a=a|0;var b=0;b=pA(a,1,21)|0;if(!(mga(b)|0)){UDa(a);return 1}else{Rs(a,28,mga(b)|0);return 1}return 0}function sA(a){a=a|0;var b=0;b=pA(a,1,21)|0;if((DDa(a,2)|0)<1){nga(b,0);return 0}else{nga(b,Ft(a,2,28)|0);return 0}return 0}function tA(a){a=a|0;VDa(a,+(oga(pA(a,1,21)|0)|0));return 1}function uA(a){a=a|0;VDa(a,+(pga(pA(a,1,21)|0)|0));return 1}function vA(a){a=a|0;var b=0;b=pA(a,1,21)|0;VDa(a,+(oga(b)|0));VDa(a,+(pga(b)|0));return 2}function wA(a){a=a|0;var b=0,c=0,d=0,e=0,f=0.0;e=r;r=r+32|0;b=pA(a,1,21)|0;c=rga(b)|0;k[e+16>>2]=k[c>>2];k[e+16+4>>2]=k[c+4>>2];k[e+16+8>>2]=k[c+8>>2];k[e+16+12>>2]=k[c+12>>2];c=fHa(a,2,0)|0;d=eHa(a,3,c,0)|0;if(!(gD(c,e+16|0)|0)){k[e>>2]=c;a=aHa(a,437134,e)|0;r=e;return a|0}if(gD(d,e+16+4|0)|0){f=+mHa(a,4,1.0);o[e+16+12>>2]=f;qga(b,e+16|0);a=0;r=e;return a|0}else{k[e+8>>2]=d;a=aHa(a,437134,e+8|0)|0;r=e;return a|0}return 0}function xA(a){a=a|0;var b=0,c=0.0,d=0,e=0,f=0;d=r;r=r+32|0;f=rga(pA(a,1,21)|0)|0;e=k[f>>2]|0;b=k[f+4>>2]|0;c=+o[f+12>>2];k[d+16>>2]=0;k[d+12>>2]=0;if(!(hD(e,d+16|0)|0)){f=aHa(a,345341,d)|0;r=d;return f|0}if(hD(b,d+12|0)|0){YDa(a,k[d+16>>2]|0);YDa(a,k[d+12>>2]|0);VDa(a,c);f=3;r=d;return f|0}else{f=aHa(a,345341,d+8|0)|0;r=d;return f|0}return 0}function yA(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;k[c>>2]=14868;k[c+4>>2]=0;b=Is(a,21,343041,c)|0;FHa(a,343078,1619,344697)|0;Ns(a,21);qEa(a,1,0);r=c;return b|0}function zA(a){a=a|0;Hj(a);return}function AA(a){a=a|0;return 4}function BA(){var a=0,b=0,c=0,d=0,e=0;e=r;r=r+64|0;i[624944]=0;i[624956]=0;i[624968]=0;i[624980]=0;k[156246]=0;k[156247]=0;a=i[518945]|0;if(!(a<<24>>24))b=5381;else{c=518945;b=5381;do{c=c+1|0;b=(b*33|0)+(a<<24>>24)|0;a=i[c>>0]|0}while(a<<24>>24!=0)}a=b&3;if(!(i[624936+(a*12|0)+8>>0]|0)){b=a;a=624936+(a*12|0)+8|0;d=5}else{a=b+1&3;if(!(i[624936+(a*12|0)+8>>0]|0)){b=a;a=624936+(a*12|0)+8|0;d=5}else{a=b+2&3;if(!(i[624936+(a*12|0)+8>>0]|0)){b=a;a=624936+(a*12|0)+8|0;d=5}else{a=b+3&3;if(!(i[624936+(a*12|0)+8>>0]|0)){b=a;a=624936+(a*12|0)+8|0;d=5}}}}if((d|0)==5){i[a>>0]=1;k[624936+(b*12|0)>>2]=518945;k[624936+(b*12|0)+4>>2]=0}if(0>1){k[e>>2]=518945;k[e+4>>2]=0;Jpb(441170,e)|0}else k[156246]=518945;a=i[344707]|0;if(!(a<<24>>24))b=5381;else{c=344707;b=5381;do{c=c+1|0;b=(b*33|0)+(a<<24>>24)|0;a=i[c>>0]|0}while(a<<24>>24!=0)}a=b&3;if(!(i[624936+(a*12|0)+8>>0]|0)){b=a;a=624936+(a*12|0)+8|0;d=17}else{a=b+1&3;if(!(i[624936+(a*12|0)+8>>0]|0)){b=a;a=624936+(a*12|0)+8|0;d=17}else{a=b+2&3;if(!(i[624936+(a*12|0)+8>>0]|0)){b=a;a=624936+(a*12|0)+8|0;d=17}else{a=b+3&3;if(!(i[624936+(a*12|0)+8>>0]|0)){b=a;a=624936+(a*12|0)+8|0;d=17}}}}if((d|0)==17){i[a>>0]=1;k[624936+(b*12|0)>>2]=344707;k[624936+(b*12|0)+4>>2]=1}if(1>1){k[e+8>>2]=344707;k[e+8+4>>2]=1;Jpb(441170,e+8|0)|0}else k[156247]=344707;i[625e3]=0;i[625012]=0;i[625024]=0;i[625036]=0;i[625048]=0;i[625060]=0;k[156266]=0;k[156267]=0;k[156268]=0;CA(624992,519040,0)|0;CA(624992,504041,1)|0;CA(624992,344712,2)|0;i[625084]=0;i[625096]=0;i[625108]=0;i[625120]=0;i[625132]=0;i[625144]=0;i[625156]=0;i[625168]=0;i[625180]=0;i[625192]=0;i[625204]=0;i[625216]=0;i[625228]=0;i[625240]=0;i[625252]=0;i[625264]=0;k[156317]=0;k[156318]=0;k[156319]=0;k[156320]=0;k[156321]=0;k[156322]=0;k[156323]=0;k[156324]=0;DA(625076,344716,0)|0;DA(625076,344722,1)|0;DA(625076,344726,2)|0;DA(625076,344735,3)|0;DA(625076,344744,4)|0;DA(625076,344752,5)|0;DA(625076,344759,6)|0;DA(625076,344766,7)|0;i[625308]=0;i[625320]=0;i[625332]=0;i[625344]=0;k[156337]=0;k[156338]=0;a=i[344774]|0;if(!(a<<24>>24))b=5381;else{c=344774;b=5381;do{c=c+1|0;b=(b*33|0)+(a<<24>>24)|0;a=i[c>>0]|0}while(a<<24>>24!=0)}a=b&3;if(!(i[625300+(a*12|0)+8>>0]|0)){b=a;a=625300+(a*12|0)+8|0;d=25}else{a=b+1&3;if(!(i[625300+(a*12|0)+8>>0]|0)){b=a;a=625300+(a*12|0)+8|0;d=25}else{a=b+2&3;if(!(i[625300+(a*12|0)+8>>0]|0)){b=a;a=625300+(a*12|0)+8|0;d=25}else{a=b+3&3;if(!(i[625300+(a*12|0)+8>>0]|0)){b=a;a=625300+(a*12|0)+8|0;d=25}}}}if((d|0)==25){i[a>>0]=1;k[625300+(b*12|0)>>2]=344774;k[625300+(b*12|0)+4>>2]=0}if(0>1){k[e+16>>2]=344774;k[e+16+4>>2]=0;Jpb(441170,e+16|0)|0}else k[156337]=344774;a=i[344788]|0;if(!(a<<24>>24))b=5381;else{c=344788;b=5381;do{c=c+1|0;b=(b*33|0)+(a<<24>>24)|0;a=i[c>>0]|0}while(a<<24>>24!=0)}a=b&3;if(!(i[625300+(a*12|0)+8>>0]|0)){b=a;a=625300+(a*12|0)+8|0;d=37}else{a=b+1&3;if(!(i[625300+(a*12|0)+8>>0]|0)){b=a;a=625300+(a*12|0)+8|0;d=37}else{a=b+2&3;if(!(i[625300+(a*12|0)+8>>0]|0)){b=a;a=625300+(a*12|0)+8|0;d=37}else{a=b+3&3;if(!(i[625300+(a*12|0)+8>>0]|0)){b=a;a=625300+(a*12|0)+8|0;d=37}}}}if((d|0)==37){i[a>>0]=1;k[625300+(b*12|0)>>2]=344788;k[625300+(b*12|0)+4>>2]=1}if(1>1){k[e+24>>2]=344788;k[e+24+4>>2]=1;Jpb(441170,e+24|0)|0}else k[156338]=344788;i[625364]=0;i[625376]=0;i[625388]=0;i[625400]=0;k[156351]=0;k[156352]=0;a=i[590375]|0;if(!(a<<24>>24))b=5381;else{c=590375;b=5381;do{c=c+1|0;b=(b*33|0)+(a<<24>>24)|0;a=i[c>>0]|0}while(a<<24>>24!=0)}a=b&3;if(!(i[625356+(a*12|0)+8>>0]|0)){b=a;a=625356+(a*12|0)+8|0;d=45}else{a=b+1&3;if(!(i[625356+(a*12|0)+8>>0]|0)){b=a;a=625356+(a*12|0)+8|0;d=45}else{a=b+2&3;if(!(i[625356+(a*12|0)+8>>0]|0)){b=a;a=625356+(a*12|0)+8|0;d=45}else{a=b+3&3;if(!(i[625356+(a*12|0)+8>>0]|0)){b=a;a=625356+(a*12|0)+8|0;d=45}}}}if((d|0)==45){i[a>>0]=1;k[625356+(b*12|0)>>2]=590375;k[625356+(b*12|0)+4>>2]=1}if(1>1){k[e+32>>2]=590375;k[e+32+4>>2]=1;Jpb(441170,e+32|0)|0}else k[156352]=590375;a=i[344802]|0;if(!(a<<24>>24))b=5381;else{c=344802;b=5381;do{c=c+1|0;b=(b*33|0)+(a<<24>>24)|0;a=i[c>>0]|0}while(a<<24>>24!=0)}a=b&3;if(!(i[625356+(a*12|0)+8>>0]|0)){b=a;a=625356+(a*12|0)+8|0;d=57}else{a=b+1&3;if(!(i[625356+(a*12|0)+8>>0]|0)){b=a;a=625356+(a*12|0)+8|0;d=57}else{a=b+2&3;if(!(i[625356+(a*12|0)+8>>0]|0)){b=a;a=625356+(a*12|0)+8|0;d=57}else{a=b+3&3;if(!(i[625356+(a*12|0)+8>>0]|0)){b=a;a=625356+(a*12|0)+8|0;d=57}}}}if((d|0)==57){i[a>>0]=1;k[625356+(b*12|0)>>2]=344802;k[625356+(b*12|0)+4>>2]=0}if(0>1){k[e+40>>2]=344802;k[e+40+4>>2]=0;Jpb(441170,e+40|0)|0}else k[156351]=344802;i[625420]=0;i[625432]=0;i[625444]=0;i[625456]=0;i[625468]=0;i[625480]=0;k[156371]=0;k[156372]=0;k[156373]=0;EA(625412,522435,0)|0;EA(625412,344808,1)|0;EA(625412,344814,2)|0;i[625504]=0;i[625516]=0;i[625528]=0;i[625540]=0;i[625552]=0;i[625564]=0;i[625576]=0;i[625588]=0;i[625600]=0;i[625612]=0;i[625624]=0;i[625636]=0;k[156410]=0;k[156411]=0;k[156412]=0;k[156413]=0;k[156414]=0;k[156415]=0;FA(625496,344766,0)|0;FA(625496,344820,1)|0;FA(625496,344830,2)|0;FA(625496,344840,3)|0;FA(625496,344854,4)|0;FA(625496,344868,5)|0;i[625672]=0;i[625684]=0;i[625696]=0;i[625708]=0;i[625720]=0;i[625732]=0;i[625744]=0;i[625756]=0;i[625768]=0;i[625780]=0;i[625792]=0;i[625804]=0;i[625816]=0;i[625828]=0;k[156458]=0;k[156459]=0;k[156460]=0;k[156461]=0;k[156462]=0;k[156463]=0;k[156464]=0;GA(625664,344875,0)|0;GA(625664,344880,1)|0;GA(625664,344887,2)|0;GA(625664,344893,3)|0;GA(625664,344900,4)|0;GA(625664,344908,5)|0;GA(625664,344917,6)|0;i[625868]=0;i[625880]=0;i[625892]=0;i[625904]=0;i[625916]=0;i[625928]=0;k[156483]=0;k[156484]=0;k[156485]=0;HA(625860,344924,0)|0;HA(625860,345287,1)|0;HA(625860,344744,2)|0;i[625952]=0;i[625964]=0;i[625976]=0;i[625988]=0;i[626e3]=0;i[626012]=0;i[626024]=0;i[626036]=0;k[156510]=0;k[156511]=0;k[156512]=0;k[156513]=0;IA(625944,344943,0)|0;IA(625944,344953,1)|0;IA(625944,344965,2)|0;IA(625944,344977,3)|0;i[626064]=0;i[626076]=0;i[626088]=0;i[626100]=0;k[156526]=0;k[156527]=0;a=i[525166]|0;if(!(a<<24>>24))b=5381;else{c=525166;b=5381;do{c=c+1|0;b=(b*33|0)+(a<<24>>24)|0;a=i[c>>0]|0}while(a<<24>>24!=0)}a=b&3;do if(!(i[626056+(a*12|0)+8>>0]|0)){b=a;a=626056+(a*12|0)+8|0;d=65}else{a=b+1&3;if(!(i[626056+(a*12|0)+8>>0]|0)){b=a;a=626056+(a*12|0)+8|0;d=65;break}a=b+2&3;if(!(i[626056+(a*12|0)+8>>0]|0)){b=a;a=626056+(a*12|0)+8|0;d=65;break}a=b+3&3;if(!(i[626056+(a*12|0)+8>>0]|0)){b=a;a=626056+(a*12|0)+8|0;d=65}}while(0);if((d|0)==65){i[a>>0]=1;k[626056+(b*12|0)>>2]=525166;k[626056+(b*12|0)+4>>2]=0}if(0>1){k[e+48>>2]=525166;k[e+48+4>>2]=0;Jpb(441170,e+48|0)|0}else k[156526]=525166;a=i[344988]|0;if(!(a<<24>>24))b=5381;else{c=344988;b=5381;do{c=c+1|0;b=(b*33|0)+(a<<24>>24)|0;a=i[c>>0]|0}while(a<<24>>24!=0)}a=b&3;do if(!(i[626056+(a*12|0)+8>>0]|0)){b=a;a=626056+(a*12|0)+8|0;d=77}else{a=b+1&3;if(!(i[626056+(a*12|0)+8>>0]|0)){b=a;a=626056+(a*12|0)+8|0;d=77;break}a=b+2&3;if(!(i[626056+(a*12|0)+8>>0]|0)){b=a;a=626056+(a*12|0)+8|0;d=77;break}a=b+3&3;if(!(i[626056+(a*12|0)+8>>0]|0)){b=a;a=626056+(a*12|0)+8|0;d=77}}while(0);if((d|0)==77){i[a>>0]=1;k[626056+(b*12|0)>>2]=344988;k[626056+(b*12|0)+4>>2]=1}if(1>1){k[e+56>>2]=344988;k[e+56+4>>2]=1;Jpb(441170,e+56|0)|0;i[626120]=0;i[626132]=0;i[626144]=0;i[626156]=0;i[626168]=0;i[626180]=0;i[626192]=0;i[626204]=0;i[626216]=0;i[626228]=0;i[626240]=0;i[626252]=0;k[156564]=0;k[156565]=0;k[156566]=0;k[156567]=0;k[156568]=0;k[156569]=0;JA(626112,344998,0)|0;JA(626112,345008,1)|0;JA(626112,345023,2)|0;JA(626112,345032,3)|0;JA(626112,345039,4)|0;JA(626112,345045,5)|0;r=e;return}else{k[156527]=344988;i[626120]=0;i[626132]=0;i[626144]=0;i[626156]=0;i[626168]=0;i[626180]=0;i[626192]=0;i[626204]=0;i[626216]=0;i[626228]=0;i[626240]=0;i[626252]=0;k[156564]=0;k[156565]=0;k[156566]=0;k[156567]=0;k[156568]=0;k[156569]=0;JA(626112,344998,0)|0;JA(626112,345008,1)|0;JA(626112,345023,2)|0;JA(626112,345032,3)|0;JA(626112,345039,4)|0;JA(626112,345045,5)|0;r=e;return}}function CA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=r;r=r+16|0;d=i[b>>0]|0;if(!(d<<24>>24))e=5381;else{f=b;e=5381;do{f=f+1|0;e=(e*33|0)+(d<<24>>24)|0;d=i[f>>0]|0}while(d<<24>>24!=0)}d=(e>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+1|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+2|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+3|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+4|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+5|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else d=0}}}}}if((g|0)==5){i[d>>0]=1;k[a+(e*12|0)>>2]=b;k[a+(e*12|0)+4>>2]=c;d=1}if(c>>>0>2){k[h>>2]=b;k[h+4>>2]=c;Jpb(441170,h)|0;g=0;r=h;return g|0}else{k[a+72+(c<<2)>>2]=b;g=d;r=h;return g|0}return 0}function DA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=r;r=r+16|0;d=i[b>>0]|0;if(!(d<<24>>24))e=5381;else{f=b;e=5381;do{f=f+1|0;e=(e*33|0)+(d<<24>>24)|0;d=i[f>>0]|0}while(d<<24>>24!=0)}d=e&15;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+1&15;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+2&15;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+3&15;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+4&15;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+5&15;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+6&15;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+7&15;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+8&15;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+9&15;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+10&15;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+11&15;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+12&15;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+13&15;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+14&15;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+15&15;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else d=0}}}}}}}}}}}}}}}if((g|0)==5){i[d>>0]=1;k[a+(e*12|0)>>2]=b;k[a+(e*12|0)+4>>2]=c;d=1}if(c>>>0>7){k[h>>2]=b;k[h+4>>2]=c;Jpb(441170,h)|0;g=0;r=h;return g|0}else{k[a+192+(c<<2)>>2]=b;g=d;r=h;return g|0}return 0}function EA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=r;r=r+16|0;d=i[b>>0]|0;if(!(d<<24>>24))e=5381;else{f=b;e=5381;do{f=f+1|0;e=(e*33|0)+(d<<24>>24)|0;d=i[f>>0]|0}while(d<<24>>24!=0)}d=(e>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+1|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+2|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+3|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+4|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+5|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else d=0}}}}}if((g|0)==5){i[d>>0]=1;k[a+(e*12|0)>>2]=b;k[a+(e*12|0)+4>>2]=c;d=1}if(c>>>0>2){k[h>>2]=b;k[h+4>>2]=c;Jpb(441170,h)|0;g=0;r=h;return g|0}else{k[a+72+(c<<2)>>2]=b;g=d;r=h;return g|0}return 0}function FA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=r;r=r+16|0;d=i[b>>0]|0;if(!(d<<24>>24))e=5381;else{f=b;e=5381;do{f=f+1|0;e=(e*33|0)+(d<<24>>24)|0;d=i[f>>0]|0}while(d<<24>>24!=0)}d=(e>>>0)%12|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+1|0)>>>0)%12|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+2|0)>>>0)%12|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+3|0)>>>0)%12|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+4|0)>>>0)%12|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+5|0)>>>0)%12|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+6|0)>>>0)%12|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+7|0)>>>0)%12|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+8|0)>>>0)%12|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+9|0)>>>0)%12|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+10|0)>>>0)%12|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+11|0)>>>0)%12|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else d=0}}}}}}}}}}}if((g|0)==5){i[d>>0]=1;k[a+(e*12|0)>>2]=b;k[a+(e*12|0)+4>>2]=c;d=1}if(c>>>0>5){k[h>>2]=b;k[h+4>>2]=c;Jpb(441170,h)|0;g=0;r=h;return g|0}else{k[a+144+(c<<2)>>2]=b;g=d;r=h;return g|0}return 0}function GA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=r;r=r+16|0;d=i[b>>0]|0;if(!(d<<24>>24))e=5381;else{f=b;e=5381;do{f=f+1|0;e=(e*33|0)+(d<<24>>24)|0;d=i[f>>0]|0}while(d<<24>>24!=0)}d=(e>>>0)%14|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+1|0)>>>0)%14|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+2|0)>>>0)%14|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+3|0)>>>0)%14|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+4|0)>>>0)%14|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+5|0)>>>0)%14|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+6|0)>>>0)%14|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+7|0)>>>0)%14|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+8|0)>>>0)%14|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+9|0)>>>0)%14|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+10|0)>>>0)%14|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+11|0)>>>0)%14|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+12|0)>>>0)%14|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+13|0)>>>0)%14|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else d=0}}}}}}}}}}}}}if((g|0)==5){i[d>>0]=1;k[a+(e*12|0)>>2]=b;k[a+(e*12|0)+4>>2]=c;d=1}if(c>>>0>6){k[h>>2]=b;k[h+4>>2]=c;Jpb(441170,h)|0;g=0;r=h;return g|0}else{k[a+168+(c<<2)>>2]=b;g=d;r=h;return g|0}return 0}function HA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=r;r=r+16|0;d=i[b>>0]|0;if(!(d<<24>>24))e=5381;else{f=b;e=5381;do{f=f+1|0;e=(e*33|0)+(d<<24>>24)|0;d=i[f>>0]|0}while(d<<24>>24!=0)}d=(e>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+1|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+2|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+3|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+4|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+5|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else d=0}}}}}if((g|0)==5){i[d>>0]=1;k[a+(e*12|0)>>2]=b;k[a+(e*12|0)+4>>2]=c;d=1}if(c>>>0>2){k[h>>2]=b;k[h+4>>2]=c;Jpb(441170,h)|0;g=0;r=h;return g|0}else{k[a+72+(c<<2)>>2]=b;g=d;r=h;return g|0}return 0}function IA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=r;r=r+16|0;d=i[b>>0]|0;if(!(d<<24>>24))e=5381;else{f=b;e=5381;do{f=f+1|0;e=(e*33|0)+(d<<24>>24)|0;d=i[f>>0]|0}while(d<<24>>24!=0)}d=e&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+1&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+2&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+3&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+4&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+5&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+6&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+7&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else d=0}}}}}}}if((g|0)==5){i[d>>0]=1;k[a+(e*12|0)>>2]=b;k[a+(e*12|0)+4>>2]=c;d=1}if(c>>>0>3){k[h>>2]=b;k[h+4>>2]=c;Jpb(441170,h)|0;g=0;r=h;return g|0}else{k[a+96+(c<<2)>>2]=b;g=d;r=h;return g|0}return 0}function JA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=r;r=r+16|0;d=i[b>>0]|0;if(!(d<<24>>24))e=5381;else{f=b;e=5381;do{f=f+1|0;e=(e*33|0)+(d<<24>>24)|0;d=i[f>>0]|0}while(d<<24>>24!=0)}d=(e>>>0)%12|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+1|0)>>>0)%12|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+2|0)>>>0)%12|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+3|0)>>>0)%12|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+4|0)>>>0)%12|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+5|0)>>>0)%12|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+6|0)>>>0)%12|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+7|0)>>>0)%12|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+8|0)>>>0)%12|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+9|0)>>>0)%12|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+10|0)>>>0)%12|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+11|0)>>>0)%12|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else d=0}}}}}}}}}}}if((g|0)==5){i[d>>0]=1;k[a+(e*12|0)>>2]=b;k[a+(e*12|0)+4>>2]=c;d=1}if(c>>>0>5){k[h>>2]=b;k[h+4>>2]=c;Jpb(441170,h)|0;g=0;r=h;return g|0}else{k[a+144+(c<<2)>>2]=b;g=d;r=h;return g|0}return 0}function KA(a){a=a|0;i[1247418]=a&1;return}function LA(){return (i[1247418]|0)!=0|0}function MA(a){a=a|0;var b=0.0;if(!(i[1247418]|0))return;b=+fF(621176,+o[a>>2]);o[a>>2]=b;b=+fF(621176,+o[a+4>>2]);o[a+4>>2]=b;b=+fF(621176,+o[a+8>>2]);o[a+8>>2]=b;return}function NA(a,b){a=a|0;b=b|0;return OA(624936,a,b)|0}function OA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0;e=i[b>>0]|0;if(!(e<<24>>24))m=5381;else{f=b;g=e;d=5381;do{f=f+1|0;d=(d*33|0)+(g<<24>>24)|0;g=i[f>>0]|0}while(g<<24>>24!=0);m=d}d=m&3;if(!(i[a+(d*12|0)+8>>0]|0)){c=1;a=0;a=c&a;return a|0}g=k[a+(d*12|0)>>2]|0;f=i[g>>0]|0;a:do if(!(f<<24>>24)){f=e;l=8}else if(e<<24>>24?f<<24>>24==e<<24>>24:0){j=b;while(1){g=g+1|0;j=j+1|0;h=i[g>>0]|0;f=i[j>>0]|0;if(!(h<<24>>24)){l=8;break a}if(!(f<<24>>24?h<<24>>24==f<<24>>24:0)){l=10;break}}}else l=10;while(0);if((l|0)==8)if(f<<24>>24)l=10;do if((l|0)==10){d=m+1&3;if(!(i[a+(d*12|0)+8>>0]|0)){c=1;a=0;a=c&a;return a|0}g=k[a+(d*12|0)>>2]|0;f=i[g>>0]|0;b:do if(!(f<<24>>24)){f=e;l=16}else if(e<<24>>24?f<<24>>24==e<<24>>24:0){j=b;do{g=g+1|0;j=j+1|0;h=i[g>>0]|0;f=i[j>>0]|0;if(!(h<<24>>24)){l=16;break b}}while(f<<24>>24?h<<24>>24==f<<24>>24:0)}while(0);if((l|0)==16)if(!(f<<24>>24))break;d=m+2&3;if(!(i[a+(d*12|0)+8>>0]|0)){c=1;a=0;a=c&a;return a|0}g=k[a+(d*12|0)>>2]|0;f=i[g>>0]|0;c:do if(!(f<<24>>24)){f=e;l=22}else if(e<<24>>24?f<<24>>24==e<<24>>24:0){j=b;do{g=g+1|0;j=j+1|0;h=i[g>>0]|0;f=i[j>>0]|0;if(!(h<<24>>24)){l=22;break c}}while(f<<24>>24?h<<24>>24==f<<24>>24:0)}while(0);if((l|0)==22)if(!(f<<24>>24))break;d=m+3&3;if(!(i[a+(d*12|0)+8>>0]|0)){c=1;a=0;a=c&a;return a|0}f=k[a+(d*12|0)>>2]|0;g=i[f>>0]|0;d:do if(g<<24>>24){if(!(e<<24>>24?g<<24>>24==e<<24>>24:0)){c=0;a=0;a=c&a;return a|0}while(1){f=f+1|0;b=b+1|0;g=i[f>>0]|0;e=i[b>>0]|0;if(!(g<<24>>24))break d;if(!(e<<24>>24?g<<24>>24==e<<24>>24:0)){d=0;e=0;break}}a=d&e;return a|0}while(0);if(e<<24>>24){c=0;a=0;a=c&a;return a|0}}while(0);k[c>>2]=k[a+(d*12|0)+4>>2];c=1;a=1;a=c&a;return a|0}function PA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0;c=i[a>>0]|0;if(!(c<<24>>24))d=5381;else{e=a;d=5381;do{e=e+1|0;d=(d*33|0)+(c<<24>>24)|0;c=i[e>>0]|0}while(c<<24>>24!=0)}h=0;while(1){g=((h+d|0)>>>0)%6|0;if(!(i[624992+(g*12|0)+8>>0]|0)){c=1;d=0;j=11;break}e=k[624992+(g*12|0)>>2]|0;f=i[e>>0]|0;a:do if(!(f<<24>>24)){c=a;j=8}else{c=a;while(1){l=i[c>>0]|0;if(!(l<<24>>24?f<<24>>24==l<<24>>24:0))break a;e=e+1|0;c=c+1|0;f=i[e>>0]|0;if(!(f<<24>>24)){j=8;break}}}while(0);if((j|0)==8){j=0;if(!(i[c>>0]|0)){j=9;break}}h=h+1|0;if(h>>>0>=6){c=0;d=0;j=11;break}}if((j|0)==9){k[b>>2]=k[624992+(g*12|0)+4>>2];j=1;l=1;l=j&l;return l|0}else if((j|0)==11){l=c&d;return l|0}return 0}function QA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0;c=i[a>>0]|0;if(!(c<<24>>24))d=5381;else{e=a;d=5381;do{e=e+1|0;d=(d*33|0)+(c<<24>>24)|0;c=i[e>>0]|0}while(c<<24>>24!=0)}h=0;while(1){g=h+d&15;if(!(i[625076+(g*12|0)+8>>0]|0)){c=1;d=0;j=11;break}e=k[625076+(g*12|0)>>2]|0;f=i[e>>0]|0;a:do if(!(f<<24>>24)){c=a;j=8}else{c=a;while(1){l=i[c>>0]|0;if(!(l<<24>>24?f<<24>>24==l<<24>>24:0))break a;e=e+1|0;c=c+1|0;f=i[e>>0]|0;if(!(f<<24>>24)){j=8;break}}}while(0);if((j|0)==8){j=0;if(!(i[c>>0]|0)){j=9;break}}h=h+1|0;if(h>>>0>=16){c=0;d=0;j=11;break}}if((j|0)==9){k[b>>2]=k[625076+(g*12|0)+4>>2];j=1;l=1;l=j&l;return l|0}else if((j|0)==11){l=c&d;return l|0}return 0}function RA(a,b){a=a|0;b=b|0;if(a>>>0>7)a=0;else{a=k[625268+(a<<2)>>2]|0;if(!a)a=0;else{k[b>>2]=a;a=1}}return a|0}function SA(a,b){a=a|0;b=b|0;return TA(625300,a,b)|0}function TA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0;e=i[b>>0]|0;if(!(e<<24>>24))m=5381;else{f=b;g=e;d=5381;do{f=f+1|0;d=(d*33|0)+(g<<24>>24)|0;g=i[f>>0]|0}while(g<<24>>24!=0);m=d}d=m&3;if(!(i[a+(d*12|0)+8>>0]|0)){c=1;a=0;a=c&a;return a|0}g=k[a+(d*12|0)>>2]|0;f=i[g>>0]|0;a:do if(!(f<<24>>24)){f=e;l=8}else if(e<<24>>24?f<<24>>24==e<<24>>24:0){j=b;while(1){g=g+1|0;j=j+1|0;h=i[g>>0]|0;f=i[j>>0]|0;if(!(h<<24>>24)){l=8;break a}if(!(f<<24>>24?h<<24>>24==f<<24>>24:0)){l=10;break}}}else l=10;while(0);if((l|0)==8)if(f<<24>>24)l=10;do if((l|0)==10){d=m+1&3;if(!(i[a+(d*12|0)+8>>0]|0)){c=1;a=0;a=c&a;return a|0}g=k[a+(d*12|0)>>2]|0;f=i[g>>0]|0;b:do if(!(f<<24>>24)){f=e;l=16}else if(e<<24>>24?f<<24>>24==e<<24>>24:0){j=b;do{g=g+1|0;j=j+1|0;h=i[g>>0]|0;f=i[j>>0]|0;if(!(h<<24>>24)){l=16;break b}}while(f<<24>>24?h<<24>>24==f<<24>>24:0)}while(0);if((l|0)==16)if(!(f<<24>>24))break;d=m+2&3;if(!(i[a+(d*12|0)+8>>0]|0)){c=1;a=0;a=c&a;return a|0}g=k[a+(d*12|0)>>2]|0;f=i[g>>0]|0;c:do if(!(f<<24>>24)){f=e;l=22}else if(e<<24>>24?f<<24>>24==e<<24>>24:0){j=b;do{g=g+1|0;j=j+1|0;h=i[g>>0]|0;f=i[j>>0]|0;if(!(h<<24>>24)){l=22;break c}}while(f<<24>>24?h<<24>>24==f<<24>>24:0)}while(0);if((l|0)==22)if(!(f<<24>>24))break;d=m+3&3;if(!(i[a+(d*12|0)+8>>0]|0)){c=1;a=0;a=c&a;return a|0}f=k[a+(d*12|0)>>2]|0;g=i[f>>0]|0;d:do if(g<<24>>24){if(!(e<<24>>24?g<<24>>24==e<<24>>24:0)){c=0;a=0;a=c&a;return a|0}while(1){f=f+1|0;b=b+1|0;g=i[f>>0]|0;e=i[b>>0]|0;if(!(g<<24>>24))break d;if(!(e<<24>>24?g<<24>>24==e<<24>>24:0)){d=0;e=0;break}}a=d&e;return a|0}while(0);if(e<<24>>24){c=0;a=0;a=c&a;return a|0}}while(0);k[c>>2]=k[a+(d*12|0)+4>>2];c=1;a=1;a=c&a;return a|0}function UA(a,b){a=a|0;b=b|0;if(a>>>0>1)a=0;else{a=k[625348+(a<<2)>>2]|0;if(!a)a=0;else{k[b>>2]=a;a=1}}return a|0}function VA(a,b){a=a|0;b=b|0;return WA(625356,a,b)|0}function WA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0;e=i[b>>0]|0;if(!(e<<24>>24))m=5381;else{f=b;g=e;d=5381;do{f=f+1|0;d=(d*33|0)+(g<<24>>24)|0;g=i[f>>0]|0}while(g<<24>>24!=0);m=d}d=m&3;if(!(i[a+(d*12|0)+8>>0]|0)){c=1;a=0;a=c&a;return a|0}g=k[a+(d*12|0)>>2]|0;f=i[g>>0]|0;a:do if(!(f<<24>>24)){f=e;l=8}else if(e<<24>>24?f<<24>>24==e<<24>>24:0){j=b;while(1){g=g+1|0;j=j+1|0;h=i[g>>0]|0;f=i[j>>0]|0;if(!(h<<24>>24)){l=8;break a}if(!(f<<24>>24?h<<24>>24==f<<24>>24:0)){l=10;break}}}else l=10;while(0);if((l|0)==8)if(f<<24>>24)l=10;do if((l|0)==10){d=m+1&3;if(!(i[a+(d*12|0)+8>>0]|0)){c=1;a=0;a=c&a;return a|0}g=k[a+(d*12|0)>>2]|0;f=i[g>>0]|0;b:do if(!(f<<24>>24)){f=e;l=16}else if(e<<24>>24?f<<24>>24==e<<24>>24:0){j=b;do{g=g+1|0;j=j+1|0;h=i[g>>0]|0;f=i[j>>0]|0;if(!(h<<24>>24)){l=16;break b}}while(f<<24>>24?h<<24>>24==f<<24>>24:0)}while(0);if((l|0)==16)if(!(f<<24>>24))break;d=m+2&3;if(!(i[a+(d*12|0)+8>>0]|0)){c=1;a=0;a=c&a;return a|0}g=k[a+(d*12|0)>>2]|0;f=i[g>>0]|0;c:do if(!(f<<24>>24)){f=e;l=22}else if(e<<24>>24?f<<24>>24==e<<24>>24:0){j=b;do{g=g+1|0;j=j+1|0;h=i[g>>0]|0;f=i[j>>0]|0;if(!(h<<24>>24)){l=22;break c}}while(f<<24>>24?h<<24>>24==f<<24>>24:0)}while(0);if((l|0)==22)if(!(f<<24>>24))break;d=m+3&3;if(!(i[a+(d*12|0)+8>>0]|0)){c=1;a=0;a=c&a;return a|0}f=k[a+(d*12|0)>>2]|0;g=i[f>>0]|0;d:do if(g<<24>>24){if(!(e<<24>>24?g<<24>>24==e<<24>>24:0)){c=0;a=0;a=c&a;return a|0}while(1){f=f+1|0;b=b+1|0;g=i[f>>0]|0;e=i[b>>0]|0;if(!(g<<24>>24))break d;if(!(e<<24>>24?g<<24>>24==e<<24>>24:0)){d=0;e=0;break}}a=d&e;return a|0}while(0);if(e<<24>>24){c=0;a=0;a=c&a;return a|0}}while(0);k[c>>2]=k[a+(d*12|0)+4>>2];c=1;a=1;a=c&a;return a|0}function XA(a,b){a=a|0;b=b|0;if(a>>>0>1)a=0;else{a=k[625404+(a<<2)>>2]|0;if(!a)a=0;else{k[b>>2]=a;a=1}}return a|0}function YA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0;c=i[a>>0]|0;if(!(c<<24>>24))d=5381;else{e=a;d=5381;do{e=e+1|0;d=(d*33|0)+(c<<24>>24)|0;c=i[e>>0]|0}while(c<<24>>24!=0)}h=0;while(1){g=((h+d|0)>>>0)%6|0;if(!(i[625412+(g*12|0)+8>>0]|0)){c=1;d=0;j=11;break}e=k[625412+(g*12|0)>>2]|0;f=i[e>>0]|0;a:do if(!(f<<24>>24)){c=a;j=8}else{c=a;while(1){l=i[c>>0]|0;if(!(l<<24>>24?f<<24>>24==l<<24>>24:0))break a;e=e+1|0;c=c+1|0;f=i[e>>0]|0;if(!(f<<24>>24)){j=8;break}}}while(0);if((j|0)==8){j=0;if(!(i[c>>0]|0)){j=9;break}}h=h+1|0;if(h>>>0>=6){c=0;d=0;j=11;break}}if((j|0)==9){k[b>>2]=k[625412+(g*12|0)+4>>2];j=1;l=1;l=j&l;return l|0}else if((j|0)==11){l=c&d;return l|0}return 0}function ZA(a,b){a=a|0;b=b|0;if(a>>>0>2)a=0;else{a=k[625484+(a<<2)>>2]|0;if(!a)a=0;else{k[b>>2]=a;a=1}}return a|0}function _A(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0;c=i[a>>0]|0;if(!(c<<24>>24))d=5381;else{e=a;d=5381;do{e=e+1|0;d=(d*33|0)+(c<<24>>24)|0;c=i[e>>0]|0}while(c<<24>>24!=0)}h=0;while(1){g=((h+d|0)>>>0)%12|0;if(!(i[625496+(g*12|0)+8>>0]|0)){c=1;d=0;j=11;break}e=k[625496+(g*12|0)>>2]|0;f=i[e>>0]|0;a:do if(!(f<<24>>24)){c=a;j=8}else{c=a;while(1){l=i[c>>0]|0;if(!(l<<24>>24?f<<24>>24==l<<24>>24:0))break a;e=e+1|0;c=c+1|0;f=i[e>>0]|0;if(!(f<<24>>24)){j=8;break}}}while(0);if((j|0)==8){j=0;if(!(i[c>>0]|0)){j=9;break}}h=h+1|0;if(h>>>0>=12){c=0;d=0;j=11;break}}if((j|0)==9){k[b>>2]=k[625496+(g*12|0)+4>>2];j=1;l=1;l=j&l;return l|0}else if((j|0)==11){l=c&d;return l|0}return 0}function $A(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0;c=i[a>>0]|0;if(!(c<<24>>24))d=5381;else{e=a;d=5381;do{e=e+1|0;d=(d*33|0)+(c<<24>>24)|0;c=i[e>>0]|0}while(c<<24>>24!=0)}h=0;while(1){g=((h+d|0)>>>0)%14|0;if(!(i[625664+(g*12|0)+8>>0]|0)){c=1;d=0;j=11;break}e=k[625664+(g*12|0)>>2]|0;f=i[e>>0]|0;a:do if(!(f<<24>>24)){c=a;j=8}else{c=a;while(1){l=i[c>>0]|0;if(!(l<<24>>24?f<<24>>24==l<<24>>24:0))break a;e=e+1|0;c=c+1|0;f=i[e>>0]|0;if(!(f<<24>>24)){j=8;break}}}while(0);if((j|0)==8){j=0;if(!(i[c>>0]|0)){j=9;break}}h=h+1|0;if(h>>>0>=14){c=0;d=0;j=11;break}}if((j|0)==9){k[b>>2]=k[625664+(g*12|0)+4>>2];j=1;l=1;l=j&l;return l|0}else if((j|0)==11){l=c&d;return l|0}return 0}function aB(a,b){a=a|0;b=b|0;if(a>>>0>6)a=0;else{a=k[625832+(a<<2)>>2]|0;if(!a)a=0;else{k[b>>2]=a;a=1}}return a|0}function bB(a,b){a=a|0;b=b|0;if(a>>>0>2)a=0;else{a=k[625932+(a<<2)>>2]|0;if(!a)a=0;else{k[b>>2]=a;a=1}}return a|0}function cB(a,b){a=a|0;b=b|0;if(a>>>0>3)a=0;else{a=k[626040+(a<<2)>>2]|0;if(!a)a=0;else{k[b>>2]=a;a=1}}return a|0}function dB(a,b){a=a|0;b=b|0;return eB(626056,a,b)|0}function eB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0;e=i[b>>0]|0;if(!(e<<24>>24))m=5381;else{f=b;g=e;d=5381;do{f=f+1|0;d=(d*33|0)+(g<<24>>24)|0;g=i[f>>0]|0}while(g<<24>>24!=0);m=d}d=m&3;if(!(i[a+(d*12|0)+8>>0]|0)){c=1;a=0;a=c&a;return a|0}g=k[a+(d*12|0)>>2]|0;f=i[g>>0]|0;a:do if(!(f<<24>>24)){f=e;l=8}else if(e<<24>>24?f<<24>>24==e<<24>>24:0){j=b;while(1){g=g+1|0;j=j+1|0;h=i[g>>0]|0;f=i[j>>0]|0;if(!(h<<24>>24)){l=8;break a}if(!(f<<24>>24?h<<24>>24==f<<24>>24:0)){l=10;break}}}else l=10;while(0);if((l|0)==8)if(f<<24>>24)l=10;do if((l|0)==10){d=m+1&3;if(!(i[a+(d*12|0)+8>>0]|0)){c=1;a=0;a=c&a;return a|0}g=k[a+(d*12|0)>>2]|0;f=i[g>>0]|0;b:do if(!(f<<24>>24)){f=e;l=16}else if(e<<24>>24?f<<24>>24==e<<24>>24:0){j=b;do{g=g+1|0;j=j+1|0;h=i[g>>0]|0;f=i[j>>0]|0;if(!(h<<24>>24)){l=16;break b}}while(f<<24>>24?h<<24>>24==f<<24>>24:0)}while(0);if((l|0)==16)if(!(f<<24>>24))break;d=m+2&3;if(!(i[a+(d*12|0)+8>>0]|0)){c=1;a=0;a=c&a;return a|0}g=k[a+(d*12|0)>>2]|0;f=i[g>>0]|0;c:do if(!(f<<24>>24)){f=e;l=22}else if(e<<24>>24?f<<24>>24==e<<24>>24:0){j=b;do{g=g+1|0;j=j+1|0;h=i[g>>0]|0;f=i[j>>0]|0;if(!(h<<24>>24)){l=22;break c}}while(f<<24>>24?h<<24>>24==f<<24>>24:0)}while(0);if((l|0)==22)if(!(f<<24>>24))break;d=m+3&3;if(!(i[a+(d*12|0)+8>>0]|0)){c=1;a=0;a=c&a;return a|0}f=k[a+(d*12|0)>>2]|0;g=i[f>>0]|0;d:do if(g<<24>>24){if(!(e<<24>>24?g<<24>>24==e<<24>>24:0)){c=0;a=0;a=c&a;return a|0}while(1){f=f+1|0;b=b+1|0;g=i[f>>0]|0;e=i[b>>0]|0;if(!(g<<24>>24))break d;if(!(e<<24>>24?g<<24>>24==e<<24>>24:0)){d=0;e=0;break}}a=d&e;return a|0}while(0);if(e<<24>>24){c=0;a=0;a=c&a;return a|0}}while(0);k[c>>2]=k[a+(d*12|0)+4>>2];c=1;a=1;a=c&a;return a|0}function fB(a,b){a=a|0;b=b|0;if(a>>>0>5)a=0;else{a=k[626256+(a<<2)>>2]|0;if(!a)a=0;else{k[b>>2]=a;a=1}}return a|0}function gB(a){a=a|0;var b=0,c=0,d=0;k[a>>2]=14948;b=k[a+8>>2]|0;if(b|0)oBb(b);k[a+8>>2]=0;k[a+36>>2]=0;k[a+40>>2]=0;b=k[a+212>>2]|0;if(b|0){c=k[a+216>>2]|0;if((c|0)!=(b|0)){do{c=c+-4|0;k[a+216>>2]=c;d=k[c>>2]|0;if(d){Si[k[(k[d>>2]|0)+12>>2]&1023](d);c=k[a+216>>2]|0}}while((c|0)!=(b|0));b=k[a+212>>2]|0}CAb(b)}b=k[a+200>>2]|0;if(b|0){c=k[a+204>>2]|0;if((c|0)!=(b|0))k[a+204>>2]=c+(~((c+-16-b|0)>>>4)<<4);CAb(b)}b=k[a+152>>2]|0;if(b|0){c=k[a+156>>2]|0;if((c|0)!=(b|0))k[a+156>>2]=c+(~((c+-4-b|0)>>>2)<<2);CAb(b)}b=k[a+24>>2]|0;if(!b)return;Si[k[(k[b>>2]|0)+12>>2]&1023](b);return}function hB(a){a=a|0;gB(a);CAb(a);return}function iB(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+16|0;if((b+-1|0)>>>0>536870910){a=xf(16)|0;os(a,345144,d);Jc(a|0,96,27)}c=k[a+8>>2]|0;if(c|0)oBb(c);k[a+8>>2]=0;k[a+36>>2]=0;k[a+40>>2]=0;jB(a,b);c=k[a+8>>2]|0;if(!c){r=d;return}k[a+12>>2]=c;k[a+16>>2]=0;k[a+20>>2]=0;k[a+40>>2]=0;k[a+84>>2]=k[a+80>>2];o[a+48>>2]=0.0;r=d;return}function jB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=mBb(b>>>0>39768215?-1:b*108|0)|0;if(b|0){d=c;do{e=d+16|0;f=d+88|0;k[f>>2]=0;k[f+4>>2]=0;k[f+8>>2]=0;k[f+12>>2]=0;k[e>>2]=0;k[e+4>>2]=0;k[e+8>>2]=0;k[e+12>>2]=0;k[e+16>>2]=0;k[e+20>>2]=0;k[e+24>>2]=0;k[e+28>>2]=0;d=d+108|0}while((d|0)!=(c+(b*108|0)|0))}k[a+8>>2]=c;k[a+12>>2]=c;k[a+36>>2]=b;return}function kB(){lF(621128);i[626288]=0;i[626300]=0;i[626312]=0;i[626324]=0;i[626336]=0;i[626348]=0;k[156588]=0;k[156589]=0;k[156590]=0;lB(626280,522435,0)|0;lB(626280,345164,1)|0;lB(626280,518168,2)|0;i[626372]=0;i[626384]=0;i[626396]=0;i[626408]=0;i[626420]=0;i[626432]=0;k[156609]=0;k[156610]=0;k[156611]=0;mB(626364,345172,0)|0;mB(626364,345176,1)|0;mB(626364,519252,2)|0;return}function lB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=r;r=r+16|0;d=i[b>>0]|0;if(!(d<<24>>24))e=5381;else{f=b;e=5381;do{f=f+1|0;e=(e*33|0)+(d<<24>>24)|0;d=i[f>>0]|0}while(d<<24>>24!=0)}d=(e>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+1|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+2|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+3|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+4|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+5|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else d=0}}}}}if((g|0)==5){i[d>>0]=1;k[a+(e*12|0)>>2]=b;k[a+(e*12|0)+4>>2]=c;d=1}if(c>>>0>2){k[h>>2]=b;k[h+4>>2]=c;Jpb(441170,h)|0;g=0;r=h;return g|0}else{k[a+72+(c<<2)>>2]=b;g=d;r=h;return g|0}return 0}function mB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=r;r=r+16|0;d=i[b>>0]|0;if(!(d<<24>>24))e=5381;else{f=b;e=5381;do{f=f+1|0;e=(e*33|0)+(d<<24>>24)|0;d=i[f>>0]|0}while(d<<24>>24!=0)}d=(e>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+1|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+2|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+3|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+4|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+5|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else d=0}}}}}if((g|0)==5){i[d>>0]=1;k[a+(e*12|0)>>2]=b;k[a+(e*12|0)+4>>2]=c;d=1}if(c>>>0>2){k[h>>2]=b;k[h+4>>2]=c;Jpb(441170,h)|0;g=0;r=h;return g|0}else{k[a+72+(c<<2)>>2]=b;g=d;r=h;return g|0}return 0}function nB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0.0;f=r;r=r+32|0;Uj(a);k[a>>2]=14948;k[a+8>>2]=0;k[a+8+4>>2]=0;k[a+8+8>>2]=0;k[a+8+12>>2]=0;k[a+24>>2]=b;if(b|0)Si[k[(k[b>>2]|0)+8>>2]&1023](b);i[a+28>>0]=1;d=a+32|0;e=d+48|0;do{k[d>>2]=0;d=d+4|0}while((d|0)<(e|0));o[a+80>>2]=-1.0;d=a+84|0;e=d+104|0;do{k[d>>2]=0;d=d+4|0}while((d|0)<(e|0));e=Gi[k[(k[b>>2]|0)+24>>2]&2047](b)|0;g=+(Gi[k[(k[b>>2]|0)+28>>2]&2047](b)|0)*.5;o[a+188>>2]=+(e|0)*.5;o[a+192>>2]=g;i[a+196>>0]=1;k[a+200>>2]=0;k[a+200+4>>2]=0;k[a+200+8>>2]=0;k[a+200+12>>2]=0;k[a+200+16>>2]=0;k[a+200+20>>2]=0;i[a+200+24>>0]=0;if((c+-1|0)>>>0>536870910){a=xf(16)|0;os(a,345183,f);Jc(a|0,96,27)}o[f+24>>2]=1.0;b=k[a+156>>2]|0;if(b>>>0<(k[a+160>>2]|0)>>>0){k[b>>2]=1065353216;k[a+156>>2]=b+4;b=0;d=0}else{oB(a+152|0,f+24|0);b=k[a+204>>2]|0;d=k[a+208>>2]|0}o[f+8>>2]=1.0;o[f+8+4>>2]=1.0;o[f+8+8>>2]=1.0;o[f+8+12>>2]=1.0;if(b>>>0>>0){k[b>>2]=k[f+8>>2];k[b+4>>2]=k[f+8+4>>2];k[b+8>>2]=k[f+8+8>>2];k[b+12>>2]=k[f+8+12>>2];k[a+204>>2]=(k[a+204>>2]|0)+16;e=k[a>>2]|0;e=e+24|0;e=k[e>>2]|0;Di[e&511](a,c);r=f;return}else{pB(a+200|0,f+8|0);e=k[a>>2]|0;e=e+24|0;e=k[e>>2]|0;Di[e&511](a,c);r=f;return}}function oB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=k[a>>2]|0;c=((k[a+4>>2]|0)-i>>2)+1|0;if(c>>>0>1073741823)xzb(a);d=(k[a+8>>2]|0)-i|0;if(d>>2>>>0<536870911){c=d>>1>>>0>>0?c:d>>1;e=k[a+4>>2]|0;if(!c){h=0;f=0;d=e-i>>2;c=e}else{g=e;d=e-i>>2;j=6}}else{d=k[a+4>>2]|0;c=1073741823;g=d;d=d-i>>2;j=6}if((j|0)==6){h=c;f=kBb(c<<2)|0;c=g}j=f+(d<<2)|0;k[j>>2]=k[b>>2];b=c-i|0;ABb(j+(0-(b>>2)<<2)|0,i|0,b|0)|0;k[a>>2]=j+(0-(b>>2)<<2);k[a+4>>2]=j+4;k[a+8>>2]=f+(h<<2);if(!i)return;CAb(i);return}function pB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=k[a>>2]|0;c=((k[a+4>>2]|0)-i>>4)+1|0;if(c>>>0>268435455)xzb(a);d=(k[a+8>>2]|0)-i|0;if(d>>4>>>0<134217727){c=d>>3>>>0>>0?c:d>>3;e=k[a+4>>2]|0;if(!c){h=0;f=0;d=e-i>>4;c=e}else{g=e;d=e-i>>4;j=6}}else{d=k[a+4>>2]|0;c=268435455;g=d;d=d-i>>4;j=6}if((j|0)==6){h=c;f=kBb(c<<4)|0;c=g}j=f+(d<<4)|0;k[j>>2]=k[b>>2];k[j+4>>2]=k[b+4>>2];k[j+8>>2]=k[b+8>>2];k[j+12>>2]=k[b+12>>2];b=c-i|0;ABb(j+(0-(b>>4)<<4)|0,i|0,b|0)|0;k[a>>2]=j+(0-(b>>4)<<4);k[a+4>>2]=j+16;k[a+8>>2]=f+(h<<4);if(!i)return;CAb(i);return}function qB(a,b){a=a|0;b=b|0;var c=0;Uj(a);k[a>>2]=14948;k[a+8>>2]=0;k[a+8+4>>2]=0;k[a+8+8>>2]=0;k[a+8+12>>2]=0;c=k[b+24>>2]|0;k[a+24>>2]=c;if(c|0)Si[k[(k[c>>2]|0)+8>>2]&1023](c);i[a+28>>0]=i[b+28>>0]|0;k[a+32>>2]=k[b+32>>2];k[a+36>>2]=k[b+36>>2];k[a+40>>2]=0;k[a+44>>2]=k[b+44>>2];o[a+48>>2]=0.0;c=k[b+52+4>>2]|0;k[a+52>>2]=k[b+52>>2];k[a+52+4>>2]=c;c=k[b+60+4>>2]|0;k[a+60>>2]=k[b+60>>2];k[a+60+4>>2]=c;k[a+68>>2]=k[b+68>>2];c=k[b+72+4>>2]|0;k[a+72>>2]=k[b+72>>2];k[a+72+4>>2]=c;k[a+80>>2]=k[b+80>>2];k[a+84>>2]=k[b+80>>2];k[a+88>>2]=k[b+88>>2];k[a+92>>2]=k[b+92>>2];k[a+96>>2]=k[b+96>>2];k[a+100>>2]=k[b+100>>2];k[a+104>>2]=k[b+104>>2];k[a+108>>2]=k[b+108>>2];c=k[b+112+4>>2]|0;k[a+112>>2]=k[b+112>>2];k[a+112+4>>2]=c;c=k[b+120+4>>2]|0;k[a+120>>2]=k[b+120>>2];k[a+120+4>>2]=c;k[a+128>>2]=k[b+128>>2];k[a+132>>2]=k[b+132>>2];k[a+136>>2]=k[b+136>>2];k[a+140>>2]=k[b+140>>2];k[a+144>>2]=k[b+144>>2];k[a+148>>2]=k[b+148>>2];rB(a+152|0,b+152|0);k[a+164>>2]=k[b+164>>2];k[a+168>>2]=k[b+168>>2];k[a+172>>2]=k[b+172>>2];k[a+176>>2]=k[b+176>>2];k[a+180>>2]=k[b+180>>2];k[a+184>>2]=k[b+184>>2];c=k[b+188+4>>2]|0;k[a+188>>2]=k[b+188>>2];k[a+188+4>>2]=c;i[a+196>>0]=i[b+196>>0]|0;sB(a+200|0,b+200|0);tB(a+212|0,b+212|0);i[a+224>>0]=i[b+224>>0]|0;Di[k[(k[a>>2]|0)+24>>2]&511](a,k[a+36>>2]|0);return}function rB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;c=(k[b+4>>2]|0)-(k[b>>2]|0)|0;if(!(c>>2))return;if(c>>2>>>0>1073741823)xzb(a);f=kBb(c)|0;k[a+4>>2]=f;k[a>>2]=f;k[a+8>>2]=f+(c>>2<<2);e=k[b>>2]|0;b=k[b+4>>2]|0;if((e|0)==(b|0))return;c=e;d=f;while(1){k[d>>2]=k[c>>2];c=c+4|0;if((c|0)==(b|0))break;else d=d+4|0}k[a+4>>2]=f+(((b+-4-e|0)>>>2)+1<<2);return}function sB(a,b){a=a|0;b=b|0;var c=0,d=0;k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;d=(k[b+4>>2]|0)-(k[b>>2]|0)|0;if(!(d>>4))return;if(d>>4>>>0>268435455)xzb(a);c=kBb(d)|0;k[a+4>>2]=c;k[a>>2]=c;k[a+8>>2]=c+(d>>4<<4);d=k[b>>2]|0;b=k[b+4>>2]|0;if((d|0)==(b|0))return;do{k[c>>2]=k[d>>2];k[c+4>>2]=k[d+4>>2];k[c+8>>2]=k[d+8>>2];k[c+12>>2]=k[d+12>>2];c=(k[a+4>>2]|0)+16|0;k[a+4>>2]=c;d=d+16|0}while((d|0)!=(b|0));return}function tB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;d=(k[b+4>>2]|0)-(k[b>>2]|0)|0;if(!(d>>2))return;if(d>>2>>>0>1073741823)xzb(a);c=kBb(d)|0;k[a+4>>2]=c;k[a>>2]=c;k[a+8>>2]=c+(d>>2<<2);d=k[b>>2]|0;e=k[b+4>>2]|0;if((d|0)==(e|0))return;do{b=k[d>>2]|0;k[c>>2]=b;if(b){Si[k[(k[b>>2]|0)+8>>2]&1023](b);c=k[a+4>>2]|0}c=c+4|0;k[a+4>>2]=c;d=d+4|0}while((d|0)!=(e|0));return}function uB(a){a=a|0;var b=0;b=k[a+8>>2]|0;if(!b)return;k[a+12>>2]=b;k[a+16>>2]=0;k[a+20>>2]=0;k[a+40>>2]=0;k[a+84>>2]=k[a+80>>2];o[a+48>>2]=0.0;return}function vB(a){a=a|0;return k[a+36>>2]|0}function wB(a,b){a=a|0;b=+b;var c=0,d=0,e=0,f=0;if((k[a+40>>2]|0)==(k[a+36>>2]|0))return;f=k[a+12>>2]|0;k[a+12>>2]=f+108;xB(a,f,b);a:do switch(k[a+32>>2]|0){case 2:{c=oF(621128)|0;e=k[a+40>>2]|0;c=MBb(c|0,L|0,xBb(e|0,0,1,0)|0,L|0)|0;if((c|0)==(e|0)&(L|0)==0){c=k[a+16>>2]|0;if(c|0)k[c>>2]=f;k[f>>2]=0;k[f+4>>2]=c;k[a+16>>2]=f;break a}d=k[a+8>>2]|0;e=k[d+(c*108|0)+4>>2]|0;k[d+(c*108|0)+4>>2]=f;if(!e)k[a+20>>2]=f;else k[e>>2]=f;k[f>>2]=d+(c*108|0);k[f+4>>2]=e;break}case 1:{if(!(k[a+20>>2]|0)){k[a+20>>2]=f;k[f+4>>2]=0;c=a+16|0}else{c=k[a+16>>2]|0;k[c>>2]=f;k[f+4>>2]=c;c=a+16|0}k[f>>2]=0;k[c>>2]=f;break}default:{if(!(k[a+16>>2]|0)){k[a+16>>2]=f;k[f>>2]=0;c=a+20|0}else{c=k[a+20>>2]|0;k[c+4>>2]=f;k[f>>2]=c;c=a+20|0}k[f+4>>2]=0;k[c>>2]=f}}while(0);k[a+40>>2]=(k[a+40>>2]|0)+1;return}function xB(a,b,c){a=a|0;b=b|0;c=+c;var d=0.0,e=0.0,f=0.0,g=0,h=0.0;f=+o[a+60>>2];e=+o[a+64>>2];f=f+(+o[a+52>>2]-f)*c;e=e+(+o[a+56>>2]-e)*c;c=+o[a+88>>2];d=+o[a+92>>2];if(!(c==d)){g=oF(621128)|0;c=c+(d-c)*((+(g>>>0)+4294967296.0*+(L>>>0))*5.421010862427522e-20)}o[b+12>>2]=c;o[b+8>>2]=c;o[b+16>>2]=f;o[b+20>>2]=e;switch(k[a+68>>2]|0){case 1:{d=+o[a+72>>2];g=oF(621128)|0;o[b+16>>2]=+o[b+16>>2]+(-d+(d+d)*((+(g>>>0)+4294967296.0*+(L>>>0))*5.421010862427522e-20));d=+o[a+76>>2];g=oF(621128)|0;o[b+20>>2]=+o[b+20>>2]+(-d+(d+d)*((+(g>>>0)+4294967296.0*+(L>>>0))*5.421010862427522e-20));break}case 2:{d=+pF(621128,+o[a+72>>2]);o[b+16>>2]=+o[b+16>>2]+d;d=+pF(621128,+o[a+76>>2]);o[b+20>>2]=+o[b+20>>2]+d;break}default:{}}o[b+24>>2]=f;o[b+28>>2]=e;f=+o[a+104>>2];c=+o[a+108>>2];g=oF(621128)|0;f=f+(c-f)*((+(g>>>0)+4294967296.0*+(L>>>0))*5.421010862427522e-20);c=+o[a+96>>2];e=+o[a+100>>2]*.5;g=oF(621128)|0;e=c-e+(+(g>>>0)+4294967296.0*+(L>>>0))*5.421010862427522e-20*(c+e-(c-e));c=+Z(+e)*f;f=+_(+e)*f;o[b+32>>2]=c;o[b+36>>2]=f;f=+o[a+112>>2];c=+o[a+120>>2];g=oF(621128)|0;o[b+40>>2]=f+(c-f)*((+(g>>>0)+4294967296.0*+(L>>>0))*5.421010862427522e-20);f=+o[a+116>>2];c=+o[a+124>>2];g=oF(621128)|0;o[b+44>>2]=f+(c-f)*((+(g>>>0)+4294967296.0*+(L>>>0))*5.421010862427522e-20);f=+o[a+128>>2];c=+o[a+132>>2];g=oF(621128)|0;o[b+48>>2]=f+(c-f)*((+(g>>>0)+4294967296.0*+(L>>>0))*5.421010862427522e-20);f=+o[a+136>>2];c=+o[a+140>>2];g=oF(621128)|0;o[b+52>>2]=f+(c-f)*((+(g>>>0)+4294967296.0*+(L>>>0))*5.421010862427522e-20);f=+o[a+144>>2];c=+o[a+148>>2];g=oF(621128)|0;o[b+56>>2]=f+(c-f)*((+(g>>>0)+4294967296.0*+(L>>>0))*5.421010862427522e-20);f=+o[a+164>>2];g=oF(621128)|0;o[b+64>>2]=f*((+(g>>>0)+4294967296.0*+(L>>>0))*5.421010862427522e-20);f=+o[a+164>>2];g=oF(621128)|0;c=+o[b+64>>2];o[b+68>>2]=1.0-f*((+(g>>>0)+4294967296.0*+(L>>>0))*5.421010862427522e-20)-c;g=k[a+152>>2]|0;g=g+((ha(((k[a+156>>2]|0)-g>>2)+-1|0,~~(c+-.5)>>>0)|0)<<2)|0;k[b+60>>2]=k[g>>2];c=+o[a+168>>2];f=+o[a+172>>2];e=+o[a+176>>2];d=+o[a+180>>2]*.5*+o[a+184>>2];g=oF(621128)|0;h=(+(g>>>0)+4294967296.0*+(L>>>0))*5.421010862427522e-20;o[b+80>>2]=(e+d)*h+(e-d)*(1.0-h);h=+o[a+180>>2];d=+o[a+176>>2]*.5*+o[a+184>>2];g=oF(621128)|0;e=(+(g>>>0)+4294967296.0*+(L>>>0))*5.421010862427522e-20;o[b+84>>2]=(h+d)*e+(h-d)*(1.0-e);g=oF(621128)|0;c=c+(f-c)*((+(g>>>0)+4294967296.0*+(L>>>0))*5.421010862427522e-20);o[b+72>>2]=c;o[b+76>>2]=c;if(!(i[a+224>>0]|0)){g=b+88|0;a=a+200|0;a=k[a>>2]|0;k[g>>2]=k[a>>2];k[g+4>>2]=k[a+4>>2];k[g+8>>2]=k[a+8>>2];k[g+12>>2]=k[a+12>>2];g=b+104|0;k[g>>2]=0;return}h=c+ +da(+(+o[b+36>>2]),+(+o[b+32>>2]));o[b+76>>2]=h;g=b+88|0;a=a+200|0;a=k[a>>2]|0;k[g>>2]=k[a>>2];k[g+4>>2]=k[a+4>>2];k[g+8>>2]=k[a+8>>2];k[g+12>>2]=k[a+12>>2];g=b+104|0;k[g>>2]=0;return}function yB(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0,f=0;f=r;r=r+32|0;if(b|0)Si[k[(k[b>>2]|0)+8>>2]&1023](b);e=k[a+24>>2]|0;if(e|0)Si[k[(k[e>>2]|0)+12>>2]&1023](e);k[a+24>>2]=b;if(!(i[a+196>>0]|0)){r=f;return}e=k[a+212>>2]|0;if((e|0)==(k[a+216>>2]|0)){d=+(Gi[k[(k[b>>2]|0)+24>>2]&2047](b)|0)*.5;b=k[a+24>>2]|0;c=+(Gi[k[(k[b>>2]|0)+28>>2]&2047](b)|0)*.5}else{SC(f,k[e>>2]|0);c=+p[f+8>>3]*.5;d=+p[f>>3]*.5}o[a+188>>2]=d;o[a+192>>2]=c;r=f;return}function zB(a){a=a|0;return k[a+24>>2]|0}function AB(a,b){a=a|0;b=b|0;k[a+32>>2]=b;return}function BB(a){a=a|0;return k[a+32>>2]|0}function CB(a,b){a=a|0;b=+b;var c=0;c=r;r=r+16|0;if(b<0.0){a=xf(16)|0;os(a,345212,c);Jc(a|0,96,27)}else{o[a+44>>2]=b;r=c;return}}function DB(a){a=a|0;return +(+o[a+44>>2])}function EB(a,b){a=a|0;b=+b;o[a+80>>2]=b;o[a+84>>2]=b;return}function FB(a){a=a|0;return +(+o[a+80>>2])}function GB(a,b,c){a=a|0;b=+b;c=+c;o[a+88>>2]=b;o[a+92>>2]=c==0.0?b:c;return}function HB(a,b,c){a=a|0;b=b|0;c=c|0;k[b>>2]=k[a+88>>2];k[c>>2]=k[a+92>>2];return}function IB(a,b,c){a=a|0;b=+b;c=+c;o[a+52>>2]=b;o[a+56>>2]=c;o[a+60>>2]=b;o[a+64>>2]=c;return}function JB(a){a=a|0;return a+52|0}function KB(a,b,c){a=a|0;b=+b;c=+c;o[a+52>>2]=b;o[a+56>>2]=c;return}function LB(a,b,c,d){a=a|0;b=b|0;c=+c;d=+d;o[a+72>>2]=c;o[a+76>>2]=d;k[a+68>>2]=b;return}function MB(a){a=a|0;return k[a+68>>2]|0}function NB(a){a=a|0;return a+72|0}function OB(a,b){a=a|0;b=+b;o[a+96>>2]=b;return}function PB(a){a=a|0;return +(+o[a+96>>2])}function QB(a,b){a=a|0;b=+b;o[a+100>>2]=b;return}function RB(a){a=a|0;return +(+o[a+100>>2])}function SB(a,b,c){a=a|0;b=+b;c=+c;o[a+104>>2]=b;o[a+108>>2]=c;return}function TB(a,b,c){a=a|0;b=b|0;c=c|0;k[b>>2]=k[a+104>>2];k[c>>2]=k[a+108>>2];return}function UB(a,b,c,d,e){a=a|0;b=+b;c=+c;d=+d;e=+e;o[a+112>>2]=b;o[a+116>>2]=c;o[a+120>>2]=d;o[a+124>>2]=e;return}function VB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=k[a+112+4>>2]|0;k[b>>2]=k[a+112>>2];k[b+4>>2]=d;b=k[a+120+4>>2]|0;k[c>>2]=k[a+120>>2];k[c+4>>2]=b;return}function WB(a,b,c){a=a|0;b=+b;c=+c;o[a+128>>2]=b;o[a+132>>2]=c;return}function XB(a,b,c){a=a|0;b=b|0;c=c|0;k[b>>2]=k[a+128>>2];k[c>>2]=k[a+132>>2];return}function YB(a,b,c){a=a|0;b=+b;c=+c;o[a+136>>2]=b;o[a+140>>2]=c;return}function ZB(a,b,c){a=a|0;b=b|0;c=c|0;k[b>>2]=k[a+136>>2];k[c>>2]=k[a+140>>2];return}function _B(a,b,c){a=a|0;b=+b;c=+c;o[a+144>>2]=b;o[a+148>>2]=c;return}function $B(a,b,c){a=a|0;b=b|0;c=c|0;k[b>>2]=k[a+144>>2];k[c>>2]=k[a+148>>2];return}function aC(a,b){a=a|0;b=+b;var c=0,d=0;c=k[a+156>>2]|0;d=k[a+152>>2]|0;if(!(c-d>>2)){bC(a+152|0,1);a=k[a+152>>2]|0;o[a>>2]=b;return}if(c-d>>2>>>0<=1){a=d;o[a>>2]=b;return}if((c|0)==(d+4|0)){a=d;o[a>>2]=b;return}k[a+156>>2]=c+(~((c+-4-(d+4)|0)>>>2)<<2);a=d;o[a>>2]=b;return}function bC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=k[a+8>>2]|0;d=k[a+4>>2]|0;if(c-d>>2>>>0>=b>>>0){vBb(d|0,0,b<<2|0)|0;k[a+4>>2]=d+(b<<2);return}i=k[a>>2]|0;if(((d-i>>2)+b|0)>>>0>1073741823)xzb(a);if(c-i>>2>>>0<536870911){c=c-i>>1>>>0<((d-i>>2)+b|0)>>>0?(d-i>>2)+b|0:c-i>>1;e=k[a+4>>2]|0;if(!c){h=0;f=0;d=e-i>>2;c=e}else{g=e;d=e-i>>2;j=8}}else{d=k[a+4>>2]|0;c=1073741823;g=d;d=d-i>>2;j=8}if((j|0)==8){h=c;f=kBb(c<<2)|0;c=g}j=f+(d<<2)|0;vBb(j|0,0,b<<2|0)|0;g=c-i|0;ABb(j+(0-(g>>2)<<2)|0,i|0,g|0)|0;k[a>>2]=j+(0-(g>>2)<<2);k[a+4>>2]=j+(b<<2);k[a+8>>2]=f+(h<<2);if(!i)return;CAb(i);return}function cC(a,b){a=a|0;b=b|0;if((a+152|0)==(b|0))return;dC(a+152|0,k[b>>2]|0,k[b+4>>2]|0);return}function dC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=k[a+8>>2]|0;e=k[a>>2]|0;if(c-b>>2>>>0<=d-e>>2>>>0){d=(k[a+4>>2]|0)-e>>2;g=c-b>>2>>>0>d>>>0?b+(d<<2)|0:c;BBb(e|0,b|0,g-b|0)|0;if(c-b>>2>>>0<=d>>>0){d=k[a+4>>2]|0;if((d|0)==(e+(g-b>>2<<2)|0))return;k[a+4>>2]=d+(~((d+-4-(e+(g-b>>2<<2))|0)>>>2)<<2);return}if((g|0)==(c|0))return;f=k[a+4>>2]|0;d=b+(d<<2)|0;e=f;while(1){k[e>>2]=k[d>>2];d=d+4|0;if((d|0)==(c|0))break;else e=e+4|0}k[a+4>>2]=f+(((c+-4-g|0)>>>2)+1<<2);return}if(e){d=k[a+4>>2]|0;if((d|0)!=(e|0))k[a+4>>2]=d+(~((d+-4-e|0)>>>2)<<2);CAb(e);k[a+8>>2]=0;k[a+4>>2]=0;k[a>>2]=0;d=0}if(c-b>>2>>>0>1073741823)xzb(a);d=d-0|0;if(d>>2>>>0<536870911){d=d>>1>>>0>2>>>0?c-b>>2:d>>1;if(d>>>0>1073741823)xzb(a);else g=d}else g=1073741823;f=kBb(g<<2)|0;k[a+4>>2]=f;k[a>>2]=f;k[a+8>>2]=f+(g<<2);if((b|0)==(c|0))return;d=b;e=f;while(1){k[e>>2]=k[d>>2];d=d+4|0;if((d|0)==(c|0))break;else e=e+4|0}k[a+4>>2]=f+(((c+-4-b|0)>>>2)+1<<2);return}function eC(a){a=a|0;return a+152|0}function fC(a,b){a=a|0;b=+b;o[a+164>>2]=b;return}function gC(a){a=a|0;return +(+o[a+164>>2])}function hC(a,b,c){a=a|0;b=+b;c=+c;o[a+168>>2]=b;o[a+172>>2]=c;return}function iC(a,b,c){a=a|0;b=b|0;c=c|0;k[b>>2]=k[a+168>>2];k[c>>2]=k[a+172>>2];return}function jC(a,b,c){a=a|0;b=+b;c=+c;o[a+176>>2]=b;o[a+180>>2]=c;return}function kC(a,b,c){a=a|0;b=b|0;c=c|0;k[b>>2]=k[a+176>>2];k[c>>2]=k[a+180>>2];return}function lC(a,b){a=a|0;b=+b;o[a+184>>2]=b;return}function mC(a){a=a|0;return +(+o[a+184>>2])}function nC(a,b,c){a=a|0;b=+b;c=+c;o[a+188>>2]=b;o[a+192>>2]=c;i[a+196>>0]=0;return}function oC(a,b){a=a|0;b=b|0;var c=0;c=k[b+188+4>>2]|0;k[a>>2]=k[b+188>>2];k[a+4>>2]=c;return}function pC(a,b){a=a|0;b=b|0;var c=0;if((a+200|0)!=(b|0))qC(a+200|0,k[b>>2]|0,k[b+4>>2]|0);b=k[a+200>>2]|0;a=k[a+204>>2]|0;if((b|0)==(a|0))return;do{o[b>>2]=+o[b>>2]/255.0;c=b+4|0;o[c>>2]=+o[c>>2]/255.0;c=b+8|0;o[c>>2]=+o[c>>2]/255.0;c=b+12|0;o[c>>2]=+o[c>>2]/255.0;b=b+16|0}while((b|0)!=(a|0));return}function qC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=k[a+8>>2]|0;f=k[a>>2]|0;if(c-b>>4>>>0<=d-f>>4>>>0){d=(k[a+4>>2]|0)-f>>4;e=c-b>>4>>>0>d>>>0?b+(d<<4)|0:c;BBb(f|0,b|0,e-b|0)|0;if(c-b>>4>>>0<=d>>>0){d=k[a+4>>2]|0;if((d|0)==(f+(e-b>>4<<4)|0))return;k[a+4>>2]=d+(~((d+-16-(f+(e-b>>4<<4))|0)>>>4)<<4);return}if((e|0)==(c|0))return;d=b+(d<<4)|0;b=k[a+4>>2]|0;do{k[b>>2]=k[d>>2];k[b+4>>2]=k[d+4>>2];k[b+8>>2]=k[d+8>>2];k[b+12>>2]=k[d+12>>2];b=(k[a+4>>2]|0)+16|0;k[a+4>>2]=b;d=d+16|0}while((d|0)!=(c|0));return}if(f){d=k[a+4>>2]|0;if((d|0)!=(f|0))k[a+4>>2]=d+(~((d+-16-f|0)>>>4)<<4);CAb(f);k[a+8>>2]=0;k[a+4>>2]=0;k[a>>2]=0;d=0}if(c-b>>4>>>0>268435455)xzb(a);d=d-0|0;if(d>>4>>>0<134217727){d=d>>3>>>0>4>>>0?c-b>>4:d>>3;if(d>>>0>268435455)xzb(a);else e=d}else e=268435455;d=kBb(e<<4)|0;k[a+4>>2]=d;k[a>>2]=d;k[a+8>>2]=d+(e<<4);if((b|0)==(c|0))return;do{k[d>>2]=k[b>>2];k[d+4>>2]=k[b+4>>2];k[d+8>>2]=k[b+8>>2];k[d+12>>2]=k[b+12>>2];d=(k[a+4>>2]|0)+16|0;k[a+4>>2]=d;b=b+16|0}while((b|0)!=(c|0));return}function rC(a,b){a=a|0;b=b|0;var c=0;sB(a,b+200|0);b=k[a>>2]|0;a=k[a+4>>2]|0;if((b|0)==(a|0))return;do{o[b>>2]=+o[b>>2]*255.0;c=b+4|0;o[c>>2]=+o[c>>2]*255.0;c=b+8|0;o[c>>2]=+o[c>>2]*255.0;c=b+12|0;o[c>>2]=+o[c>>2]*255.0;b=b+16|0}while((b|0)!=(a|0));return}function sC(a,b){a=a|0;b=b|0;var c=0,d=0.0,e=0.0,f=0,g=0,h=0,j=0;j=r;r=r+48|0;k[j+36>>2]=0;h=j+36+4|0;k[h>>2]=0;k[j+36+8>>2]=0;tC(j+36|0,(k[b+4>>2]|0)-(k[b>>2]|0)>>2);c=k[b>>2]|0;g=k[b+4>>2]|0;if((c|0)!=(g|0))do{f=k[c>>2]|0;k[j+32>>2]=f;if(f|0)Si[k[(k[f>>2]|0)+8>>2]&1023](f);b=k[h>>2]|0;if(b>>>0<(k[j+36+8>>2]|0)>>>0){k[b>>2]=f;if(f){Si[k[(k[f>>2]|0)+8>>2]&1023](f);b=k[h>>2]|0}k[h>>2]=b+4}else vC(j+36|0,j+32|0);if(f|0)Si[k[(k[f>>2]|0)+12>>2]&1023](f);c=c+4|0}while((c|0)!=(g|0));if((a+212|0)!=(j+36|0))uC(a+212|0,k[j+36>>2]|0,k[h>>2]|0);if(i[a+196>>0]|0){b=k[a+212>>2]|0;if((b|0)==(k[a+216>>2]|0)){g=k[a+24>>2]|0;g=Gi[k[(k[g>>2]|0)+24>>2]&2047](g)|0;f=k[a+24>>2]|0;d=+(Gi[k[(k[f>>2]|0)+28>>2]&2047](f)|0)*.5;e=+(g|0)*.5}else{SC(j,k[b>>2]|0);d=+p[j+8>>3]*.5;e=+p[j>>3]*.5}o[a+188>>2]=e;o[a+192>>2]=d}b=k[j+36>>2]|0;if(!b){r=j;return}c=k[h>>2]|0;if((c|0)!=(b|0)){do{c=c+-4|0;k[h>>2]=c;f=k[c>>2]|0;if(f){Si[k[(k[f>>2]|0)+12>>2]&1023](f);c=k[h>>2]|0}}while((c|0)!=(b|0));b=k[j+36>>2]|0}CAb(b);r=j;return}function tC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=k[a>>2]|0;if((k[a+8>>2]|0)-g>>2>>>0>=b>>>0)return;d=k[a+4>>2]|0;if(!b)c=0;else c=kBb(b<<2)|0;h=c+(d-g>>2<<2)|0;f=c+(b<<2)|0;if((d|0)==(g|0)){b=h;e=g;c=g}else{e=h;c=h;do{d=d+-4|0;b=k[d>>2]|0;k[e+-4>>2]=b;if(b|0)Si[k[(k[b>>2]|0)+8>>2]&1023](b);e=c+-4|0;c=e}while((d|0)!=(g|0));b=c;e=k[a>>2]|0;c=k[a+4>>2]|0}k[a>>2]=b;k[a+4>>2]=h;k[a+8>>2]=f;d=e;if((c|0)!=(d|0))do{c=c+-4|0;b=k[c>>2]|0;if(b|0)Si[k[(k[b>>2]|0)+12>>2]&1023](b)}while((c|0)!=(d|0));if(!e)return;CAb(e);return}function uC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=k[a+8>>2]|0;d=k[a>>2]|0;if(c-b>>2>>>0>e-d>>2>>>0){if(!d)d=e;else{e=k[a+4>>2]|0;if((e|0)!=(d|0)){do{e=e+-4|0;k[a+4>>2]=e;f=k[e>>2]|0;if(f){Si[k[(k[f>>2]|0)+12>>2]&1023](f);e=k[a+4>>2]|0}}while((e|0)!=(d|0));d=k[a>>2]|0}CAb(d);k[a+8>>2]=0;k[a+4>>2]=0;k[a>>2]=0;d=0}if(c-b>>2>>>0>1073741823)xzb(a);d=d-0|0;if(d>>2>>>0<536870911){d=d>>1>>>0>2>>>0?c-b>>2:d>>1;if(d>>>0>1073741823)xzb(a);else g=d}else g=1073741823;d=kBb(g<<2)|0;k[a+4>>2]=d;k[a>>2]=d;k[a+8>>2]=d+(g<<2);if((b|0)==(c|0))return;do{e=k[b>>2]|0;k[d>>2]=e;if(e){Si[k[(k[e>>2]|0)+8>>2]&1023](e);d=k[a+4>>2]|0}d=d+4|0;k[a+4>>2]=d;b=b+4|0}while((b|0)!=(c|0));return}j=(k[a+4>>2]|0)-d>>2;i=c-b>>2>>>0>j>>>0?b+(j<<2)|0:c;if((i|0)==(b|0))f=d;else{e=b;f=d;while(1){g=k[e>>2]|0;if(g|0)Si[k[(k[g>>2]|0)+8>>2]&1023](g);h=k[f>>2]|0;if(h|0)Si[k[(k[h>>2]|0)+12>>2]&1023](h);k[f>>2]=g;e=e+4|0;if((e|0)==(i|0))break;else f=f+4|0}f=d+(((i+-4-b|0)>>>2)+1<<2)|0}if(c-b>>2>>>0<=j>>>0){d=k[a+4>>2]|0;if((d|0)==(f|0))return;do{d=d+-4|0;k[a+4>>2]=d;e=k[d>>2]|0;if(e){Si[k[(k[e>>2]|0)+12>>2]&1023](e);d=k[a+4>>2]|0}}while((d|0)!=(f|0));return}if((i|0)==(c|0))return;b=b+(j<<2)|0;d=k[a+4>>2]|0;do{e=k[b>>2]|0;k[d>>2]=e;if(e){Si[k[(k[e>>2]|0)+8>>2]&1023](e);d=k[a+4>>2]|0}d=d+4|0;k[a+4>>2]=d;b=b+4|0}while((b|0)!=(c|0));return}function vC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=k[a>>2]|0;d=((k[a+4>>2]|0)-g>>2)+1|0;if(d>>>0>1073741823)xzb(a);c=(k[a+8>>2]|0)-g|0;if(c>>2>>>0<536870911){c=c>>1>>>0>>0?d:c>>1;e=k[a+4>>2]|0;if(!c){h=0;c=0;d=e-g>>2}else{f=e;d=e-g>>2;i=6}}else{d=k[a+4>>2]|0;c=1073741823;f=d;d=d-g>>2;i=6}if((i|0)==6){h=c;c=kBb(c<<2)|0;e=f}i=c+(d<<2)|0;h=c+(h<<2)|0;c=k[b>>2]|0;k[i>>2]=c;if(!c)c=e;else{Si[k[(k[c>>2]|0)+8>>2]&1023](c);c=k[a+4>>2]|0;g=k[a>>2]|0}if((c|0)==(g|0)){d=i;f=c}else{e=c;f=i;c=i;do{e=e+-4|0;d=k[e>>2]|0;k[f+-4>>2]=d;if(d|0)Si[k[(k[d>>2]|0)+8>>2]&1023](d);f=c+-4|0;c=f}while((e|0)!=(g|0));d=c;f=k[a>>2]|0;c=k[a+4>>2]|0}k[a>>2]=d;k[a+4>>2]=i+4;k[a+8>>2]=h;e=f;if((c|0)!=(e|0))do{c=c+-4|0;d=k[c>>2]|0;if(d|0)Si[k[(k[d>>2]|0)+12>>2]&1023](d)}while((c|0)!=(e|0));if(!f)return;CAb(f);return}function wC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=r;r=r+16|0;k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;f=k[b+216>>2]|0;b=k[b+212>>2]|0;if(!(f-b>>2)){d=0;c=0}else{c=kBb(f-b|0)|0;k[a>>2]=c;k[a+4>>2]=c;k[a+8>>2]=c+(f-b>>2<<2);d=c+(f-b>>2<<2)|0}if((b|0)==(f|0)){r=g;return}e=d;while(1){d=k[b>>2]|0;k[g>>2]=d;if(c>>>0>>0){k[c>>2]=d;k[a+4>>2]=(k[a+4>>2]|0)+4}else xC(a,g);b=b+4|0;if((b|0)==(f|0))break;c=k[a+4>>2]|0;e=k[a+8>>2]|0}r=g;return}function xC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=k[a>>2]|0;c=((k[a+4>>2]|0)-i>>2)+1|0;if(c>>>0>1073741823)xzb(a);d=(k[a+8>>2]|0)-i|0;if(d>>2>>>0<536870911){c=d>>1>>>0>>0?c:d>>1;e=k[a+4>>2]|0;if(!c){h=0;f=0;d=e-i>>2;c=e}else{g=e;d=e-i>>2;j=6}}else{d=k[a+4>>2]|0;c=1073741823;g=d;d=d-i>>2;j=6}if((j|0)==6){h=c;f=kBb(c<<2)|0;c=g}j=f+(d<<2)|0;k[j>>2]=k[b>>2];b=c-i|0;ABb(j+(0-(b>>2)<<2)|0,i|0,b|0)|0;k[a>>2]=j+(0-(b>>2)<<2);k[a+4>>2]=j+4;k[a+8>>2]=f+(h<<2);if(!i)return;CAb(i);return}function yC(a,b){a=a|0;b=b|0;i[a+224>>0]=b&1;return}function zC(a){a=a|0;return (i[a+224>>0]|0)!=0|0}function AC(a){a=a|0;return k[a+40>>2]|0}function BC(a){a=a|0;i[a+28>>0]=1;return}function CC(a){a=a|0;i[a+28>>0]=0;k[a+84>>2]=k[a+80>>2];o[a+48>>2]=0.0;return}function DC(a){a=a|0;i[a+28>>0]=0;return}function EC(a,b){a=a|0;b=b|0;var c=0;if(!(i[a+28>>0]|0))return;c=(k[a+36>>2]|0)-(k[a+40>>2]|0)|0;b=c>>>0>>0?c:b;if(!b)return;do{b=b+-1|0;wB(a,1.0)}while((b|0)!=0);return}function FC(a){a=a|0;return (i[a+28>>0]|0)!=0|0}function GC(a){a=a|0;if(i[a+28>>0]|0){a=0;return a|0}a=+o[a+84>>2]<+o[a+80>>2];return a|0}function HC(a){a=a|0;if(i[a+28>>0]|0){a=0;return a|0}a=+o[a+84>>2]>=+o[a+80>>2];return a|0}function IC(a,b){a=a|0;b=+b;var c=0.0,d=0,e=0,f=0.0,g=0.0,h=0,j=0,l=0,m=0,n=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0;if(b==0.0|(k[a+8>>2]|0)==0)return;d=k[a+16>>2]|0;if(d|0)do{m=d+12|0;n=+o[m>>2]-b;o[m>>2]=n;if(!(n<=0.0)){e=d+16|0;p=+o[e>>2];h=d+20|0;q=+o[h>>2];c=p-+o[d+24>>2];f=q-+o[d+28>>2];g=+X(+(c*c+f*f));if(g>0.0){c=c*(1.0/g);f=f*(1.0/g)}t=+o[d+48>>2];g=+o[d+52>>2];l=d+32|0;m=d+36|0;r=(f*t+c*g+ +o[d+44>>2])*b+ +o[m>>2];s=1.0/(+o[d+56>>2]*b+1.0);g=(+o[l>>2]+(+o[d+40>>2]+(c*t-f*g))*b)*s;o[l>>2]=g;o[m>>2]=r*s;o[e>>2]=p+g*b;o[h>>2]=q+r*s*b;f=1.0-n/+o[d+8>>2];e=d+72|0;c=+o[e>>2]+(+o[d+84>>2]*f+ +o[d+80>>2]*(1.0-f))*b;o[e>>2]=c;e=d+76|0;o[e>>2]=c;if(i[a+224>>0]|0){t=c+ +da(+(r*s),+g);o[e>>2]=t}m=k[a+152>>2]|0;l=((k[a+156>>2]|0)-m>>2)+-1|0;q=(+o[d+64>>2]+f*+o[d+68>>2])*+(l>>>0);o[d+60>>2]=+o[m+(((~~q>>>0|0)!=(l|0)&1)+(~~q>>>0)<<2)>>2]*(q-+(~~q>>>0>>>0))+ +o[m+(~~q>>>0<<2)>>2]*(1.0-(q-+(~~q>>>0>>>0)));m=k[a+200>>2]|0;l=((k[a+204>>2]|0)-m>>4)+-1|0;e=~~(f*+(l>>>0))>>>0;q=f*+(l>>>0)-+(e>>>0);r=+o[m+(((e|0)!=(l|0)&1)+e<<4)+4>>2]*q+ +o[m+(e<<4)+4>>2]*(1.0-q);s=+o[m+(((e|0)!=(l|0)&1)+e<<4)+8>>2]*q+ +o[m+(e<<4)+8>>2]*(1.0-q);t=+o[m+(e<<4)+12>>2]*(1.0-q)+q*+o[m+(((e|0)!=(l|0)&1)+e<<4)+12>>2];o[d+88>>2]=+o[m+(((e|0)!=(l|0)&1)+e<<4)>>2]*q+ +o[m+(e<<4)>>2]*(1.0-q);o[d+92>>2]=r;o[d+96>>2]=s;o[d+100>>2]=t;e=(k[a+216>>2]|0)-(k[a+212>>2]|0)>>2;if(e|0){m=f*+(e>>>0)>0.0?~~(f*+(e>>>0))>>>0:0;k[d+104>>2]=m>>>0>>0?m:e+-1|0}d=k[d+4>>2]|0}else{h=k[d>>2]|0;m=d+4|0;e=k[m>>2]|0;if(!h)k[a+16>>2]=e;else{k[h+4>>2]=e;e=k[m>>2]|0}if(!e){k[a+20>>2]=h;e=0}else k[e>>2]=h;h=(k[a+12>>2]|0)+-108|0;k[a+12>>2]=h;do if((h|0)==(d|0))d=e;else{l=d;j=l+108|0;do{k[l>>2]=k[h>>2];l=l+4|0;h=h+4|0}while((l|0)<(j|0));h=(e|0)==(k[a+12>>2]|0)?d:e;e=k[d>>2]|0;if(!e)k[a+16>>2]=d;else k[e+4>>2]=d;e=k[m>>2]|0;if(!e){k[a+20>>2]=d;d=h;break}else{k[e>>2]=d;d=h;break}}while(0);k[a+40>>2]=(k[a+40>>2]|0)+-1}}while((d|0)!=0);if(i[a+28>>0]|0){c=1.0/+o[a+44>>2];f=+o[a+48>>2]+b;o[a+48>>2]=f;if(f>c){g=f;do{wB(a,1.0-(g-c)/(f-c));g=+o[a+48>>2]-c;o[a+48>>2]=g}while(g>c)}t=+o[a+84>>2]-b;o[a+84>>2]=t;c=+o[a+80>>2];if(t<0.0&c!=-1.0){i[a+28>>0]=0;o[a+84>>2]=c;o[a+48>>2]=0.0}}m=k[a+52+4>>2]|0;k[a+60>>2]=k[a+52>>2];k[a+60+4>>2]=m;return}function JC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0;c=i[a>>0]|0;if(!(c<<24>>24))d=5381;else{e=a;d=5381;do{e=e+1|0;d=(d*33|0)+(c<<24>>24)|0;c=i[e>>0]|0}while(c<<24>>24!=0)}h=0;while(1){g=((h+d|0)>>>0)%6|0;if(!(i[626280+(g*12|0)+8>>0]|0)){c=1;d=0;j=11;break}e=k[626280+(g*12|0)>>2]|0;f=i[e>>0]|0;a:do if(!(f<<24>>24)){c=a;j=8}else{c=a;while(1){l=i[c>>0]|0;if(!(l<<24>>24?f<<24>>24==l<<24>>24:0))break a;e=e+1|0;c=c+1|0;f=i[e>>0]|0;if(!(f<<24>>24)){j=8;break}}}while(0);if((j|0)==8){j=0;if(!(i[c>>0]|0)){j=9;break}}h=h+1|0;if(h>>>0>=6){c=0;d=0;j=11;break}}if((j|0)==9){k[b>>2]=k[626280+(g*12|0)+4>>2];j=1;l=1;l=j&l;return l|0}else if((j|0)==11){l=c&d;return l|0}return 0}function KC(a,b){a=a|0;b=b|0;if(a>>>0>2)a=0;else{a=k[626352+(a<<2)>>2]|0;if(!a)a=0;else{k[b>>2]=a;a=1}}return a|0}function LC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0;c=i[a>>0]|0;if(!(c<<24>>24))d=5381;else{e=a;d=5381;do{e=e+1|0;d=(d*33|0)+(c<<24>>24)|0;c=i[e>>0]|0}while(c<<24>>24!=0)}h=0;while(1){g=((h+d|0)>>>0)%6|0;if(!(i[626364+(g*12|0)+8>>0]|0)){c=1;d=0;j=11;break}e=k[626364+(g*12|0)>>2]|0;f=i[e>>0]|0;a:do if(!(f<<24>>24)){c=a;j=8}else{c=a;while(1){l=i[c>>0]|0;if(!(l<<24>>24?f<<24>>24==l<<24>>24:0))break a;e=e+1|0;c=c+1|0;f=i[e>>0]|0;if(!(f<<24>>24)){j=8;break}}}while(0);if((j|0)==8){j=0;if(!(i[c>>0]|0)){j=9;break}}h=h+1|0;if(h>>>0>=6){c=0;d=0;j=11;break}}if((j|0)==9){k[b>>2]=k[626364+(g*12|0)+4>>2];j=1;l=1;l=j&l;return l|0}else if((j|0)==11){l=c&d;return l|0}return 0}function MC(a,b){a=a|0;b=b|0;if(a>>>0>2)a=0;else{a=k[626436+(a<<2)>>2]|0;if(!a)a=0;else{k[b>>2]=a;a=1}}return a|0}function NC(a){a=a|0;return}function OC(a){a=a|0;CAb(a);return}function PC(a,b,c,d){a=a|0;b=b|0;c=+c;d=+d;var e=0,f=0,g=0.0,h=0.0,i=0.0,j=0.0;Uj(a);k[a>>2]=14984;p[a+120>>3]=c;p[a+128>>3]=d;e=a+8|0;f=e+80|0;do{k[e>>2]=-1;e=e+4|0}while((e|0)<(f|0));k[a+88>>2]=k[b>>2];k[a+88+4>>2]=k[b+4>>2];k[a+88+8>>2]=k[b+8>>2];k[a+88+12>>2]=k[b+12>>2];k[a+88+16>>2]=k[b+16>>2];k[a+88+20>>2]=k[b+20>>2];k[a+88+24>>2]=k[b+24>>2];k[a+88+28>>2]=k[b+28>>2];o[a+8>>2]=0.0;o[a+12>>2]=0.0;o[a+28>>2]=0.0;h=+p[b+24>>3];o[a+32>>2]=h;j=+p[b+16>>3];o[a+48>>2]=j;o[a+52>>2]=0.0;o[a+68>>2]=j;o[a+72>>2]=h;i=+p[b>>3];o[a+16>>2]=i/c;g=+p[b+8>>3];o[a+20>>2]=g/d;o[a+36>>2]=i/c;o[a+40>>2]=(h+g)/d;o[a+56>>2]=(j+i)/c;o[a+60>>2]=g/d;o[a+76>>2]=(j+i)/c;o[a+80>>2]=(h+g)/d;return}function QC(a,b,c,d){a=a|0;b=b|0;c=+c;d=+d;var e=0.0,f=0.0,g=0.0,h=0.0;k[a+88>>2]=k[b>>2];k[a+88+4>>2]=k[b+4>>2];k[a+88+8>>2]=k[b+8>>2];k[a+88+12>>2]=k[b+12>>2];k[a+88+16>>2]=k[b+16>>2];k[a+88+20>>2]=k[b+20>>2];k[a+88+24>>2]=k[b+24>>2];k[a+88+28>>2]=k[b+28>>2];o[a+8>>2]=0.0;o[a+12>>2]=0.0;o[a+28>>2]=0.0;e=+p[b+24>>3];o[a+32>>2]=e;g=+p[b+16>>3];o[a+48>>2]=g;o[a+52>>2]=0.0;o[a+68>>2]=g;o[a+72>>2]=e;h=+p[b>>3];o[a+16>>2]=h/c;f=+p[b+8>>3];o[a+20>>2]=f/d;o[a+36>>2]=h/c;o[a+40>>2]=(f+e)/d;o[a+56>>2]=(h+g)/c;o[a+60>>2]=f/d;o[a+76>>2]=(h+g)/c;o[a+80>>2]=(f+e)/d;return}function RC(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,f=0.0,g=0.0,h=0.0;f=+p[a+120>>3];c=+p[a+128>>3];k[a+88>>2]=k[b>>2];k[a+88+4>>2]=k[b+4>>2];k[a+88+8>>2]=k[b+8>>2];k[a+88+12>>2]=k[b+12>>2];k[a+88+16>>2]=k[b+16>>2];k[a+88+20>>2]=k[b+20>>2];k[a+88+24>>2]=k[b+24>>2];k[a+88+28>>2]=k[b+28>>2];o[a+8>>2]=0.0;o[a+12>>2]=0.0;o[a+28>>2]=0.0;e=+p[b+24>>3];o[a+32>>2]=e;h=+p[b+16>>3];o[a+48>>2]=h;o[a+52>>2]=0.0;o[a+68>>2]=h;o[a+72>>2]=e;g=+p[b>>3];o[a+16>>2]=g/f;d=+p[b+8>>3];o[a+20>>2]=d/c;o[a+36>>2]=g/f;o[a+40>>2]=(e+d)/c;o[a+56>>2]=(h+g)/f;o[a+60>>2]=d/c;o[a+76>>2]=(h+g)/f;o[a+80>>2]=(e+d)/c;return}function SC(a,b){a=a|0;b=b|0;k[a>>2]=k[b+88>>2];k[a+4>>2]=k[b+88+4>>2];k[a+8>>2]=k[b+88+8>>2];k[a+12>>2]=k[b+88+12>>2];k[a+16>>2]=k[b+88+16>>2];k[a+20>>2]=k[b+88+20>>2];k[a+24>>2]=k[b+88+24>>2];k[a+28>>2]=k[b+88+28>>2];return}function TC(a){a=a|0;return a+8|0}function UC(a){a=a|0;return}function VC(a){a=a|0;CAb(a);return}function WC(a){a=a|0;return k[a+8>>2]|0}function XC(a){a=a|0;return k[a+12>>2]|0}function YC(a){a=a|0;return a+16|0}function ZC(a){a=a|0;return a+32|0}function _C(a){a=a|0;return a+40|0}function $C(){i[626456]=0;i[626468]=0;i[626480]=0;i[626492]=0;i[626504]=0;i[626516]=0;k[156630]=0;k[156631]=0;k[156632]=0;aD(626448,434098,1)|0;aD(626448,601650,2)|0;aD(626448,522435,0)|0;i[626540]=0;i[626552]=0;i[626564]=0;i[626576]=0;i[626588]=0;i[626600]=0;i[626612]=0;i[626624]=0;k[156657]=0;k[156658]=0;k[156659]=0;k[156660]=0;bD(626532,345281,0)|0;bD(626532,345287,1)|0;bD(626532,517110,2)|0;bD(626532,345297,3)|0;return}function aD(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=r;r=r+16|0;d=i[b>>0]|0;if(!(d<<24>>24))e=5381;else{f=b;e=5381;do{f=f+1|0;e=(e*33|0)+(d<<24>>24)|0;d=i[f>>0]|0}while(d<<24>>24!=0)}d=(e>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+1|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+2|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+3|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+4|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+5|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else d=0}}}}}if((g|0)==5){i[d>>0]=1;k[a+(e*12|0)>>2]=b;k[a+(e*12|0)+4>>2]=c;d=1}if(c>>>0>2){k[h>>2]=b;k[h+4>>2]=c;Jpb(441170,h)|0;g=0;r=h;return g|0}else{k[a+72+(c<<2)>>2]=b;g=d;r=h;return g|0}return 0}function bD(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=r;r=r+16|0;d=i[b>>0]|0;if(!(d<<24>>24))e=5381;else{f=b;e=5381;do{f=f+1|0;e=(e*33|0)+(d<<24>>24)|0;d=i[f>>0]|0}while(d<<24>>24!=0)}d=e&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+1&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+2&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+3&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+4&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+5&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+6&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+7&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else d=0}}}}}}}if((g|0)==5){i[d>>0]=1;k[a+(e*12|0)>>2]=b;k[a+(e*12|0)+4>>2]=c;d=1}if(c>>>0>3){k[h>>2]=b;k[h+4>>2]=c;Jpb(441170,h)|0;g=0;r=h;return g|0}else{k[a+96+(c<<2)>>2]=b;g=d;r=h;return g|0}return 0}function cD(a){a=a|0;var b=0;Uj(a);k[a>>2]=15024;k[a+8>>2]=0;k[a+12>>2]=0;k[a+16>>2]=k[3750];k[a+16+4>>2]=k[3751];k[a+16+8>>2]=k[3752];k[a+16+12>>2]=k[3753];a=a+32|0;b=a+88|0;do{k[a>>2]=0;a=a+4|0}while((a|0)<(b|0));return}function dD(){return 15e3}function eD(a){a=a|0;k[3750]=k[a>>2];k[3751]=k[a+4>>2];k[3752]=k[a+8>>2];k[3753]=k[a+12>>2];return}function fD(a,b){a=a|0;b=b|0;if(!b)if(k[a+8>>2]|0)return 0;if(((k[a+4>>2]|0)+-1|0)>>>0>=2)return 0;if(((k[a>>2]|0)+-1|0)>>>0<2)return (k[a+8>>2]|0)>>>0<3|0;else return 0;return 0}function gD(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0;c=i[a>>0]|0;if(!(c<<24>>24))d=5381;else{e=a;d=5381;do{e=e+1|0;d=(d*33|0)+(c<<24>>24)|0;c=i[e>>0]|0}while(c<<24>>24!=0)}h=0;while(1){g=((h+d|0)>>>0)%6|0;if(!(i[626448+(g*12|0)+8>>0]|0)){c=1;d=0;j=11;break}e=k[626448+(g*12|0)>>2]|0;f=i[e>>0]|0;a:do if(!(f<<24>>24)){c=a;j=8}else{c=a;while(1){l=i[c>>0]|0;if(!(l<<24>>24?f<<24>>24==l<<24>>24:0))break a;e=e+1|0;c=c+1|0;f=i[e>>0]|0;if(!(f<<24>>24)){j=8;break}}}while(0);if((j|0)==8){j=0;if(!(i[c>>0]|0)){j=9;break}}h=h+1|0;if(h>>>0>=6){c=0;d=0;j=11;break}}if((j|0)==9){k[b>>2]=k[626448+(g*12|0)+4>>2];j=1;l=1;l=j&l;return l|0}else if((j|0)==11){l=c&d;return l|0}return 0}function hD(a,b){a=a|0;b=b|0;if(a>>>0>2)a=0;else{a=k[626520+(a<<2)>>2]|0;if(!a)a=0;else{k[b>>2]=a;a=1}}return a|0}function iD(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0;c=i[a>>0]|0;if(!(c<<24>>24))d=5381;else{e=a;d=5381;do{e=e+1|0;d=(d*33|0)+(c<<24>>24)|0;c=i[e>>0]|0}while(c<<24>>24!=0)}h=0;while(1){g=h+d&7;if(!(i[626532+(g*12|0)+8>>0]|0)){c=1;d=0;j=11;break}e=k[626532+(g*12|0)>>2]|0;f=i[e>>0]|0;a:do if(!(f<<24>>24)){c=a;j=8}else{c=a;while(1){l=i[c>>0]|0;if(!(l<<24>>24?f<<24>>24==l<<24>>24:0))break a;e=e+1|0;c=c+1|0;f=i[e>>0]|0;if(!(f<<24>>24)){j=8;break}}}while(0);if((j|0)==8){j=0;if(!(i[c>>0]|0)){j=9;break}}h=h+1|0;if(h>>>0>=8){c=0;d=0;j=11;break}}if((j|0)==9){k[b>>2]=k[626532+(g*12|0)+4>>2];j=1;l=1;l=j&l;return l|0}else if((j|0)==11){l=c&d;return l|0}return 0}function jD(a,b){a=a|0;b=b|0;if(a>>>0>3)a=0;else{a=k[626628+(a<<2)>>2]|0;if(!a)a=0;else{k[b>>2]=a;a=1}}return a|0}function kD(a){a=a|0;var b=0,c=0,d=0.0;c=r;r=r+32|0;b=mz(a,1,13)|0;d=+lHa(a,2);p[c>>3]=d;d=+lHa(a,3);p[c+8>>3]=d;d=+lHa(a,4);p[c+16>>3]=d;d=+lHa(a,5);p[c+24>>3]=d;if((DDa(a,6)|0)<1){RC(b,c);r=c;return 0}else{d=+lHa(a,6);QC(b,c,d,+lHa(a,7));r=c;return 0}return 0}function lD(a){a=a|0;var b=0;b=r;r=r+32|0;SC(b,mz(a,1,13)|0);VDa(a,+p[b>>3]);VDa(a,+p[b+8>>3]);VDa(a,+p[b+16>>3]);VDa(a,+p[b+24>>3]);r=b;return 4}function mD(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=15080;k[b+4>>2]=0;a=Is(a,13,345312,b)|0;r=b;return a|0}function nD(a){a=a|0;var b=0;b=oD(a,1,11)|0;VDa(a,+(Gi[k[(k[b>>2]|0)+24>>2]&2047](b)|0));return 1}function oD(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((DDa(a,b)|0)!=7){k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0}d=RDa(a,b)|0;if(k[(k[155799]|0)+(k[d>>2]<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0){c=d+4|0;c=k[c>>2]|0;r=e;return c|0}k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0;c=d+4|0;c=k[c>>2]|0;r=e;return c|0}function pD(a){a=a|0;var b=0;b=oD(a,1,11)|0;VDa(a,+(Gi[k[(k[b>>2]|0)+28>>2]&2047](b)|0));return 1}function qD(a){a=a|0;var b=0;b=oD(a,1,11)|0;VDa(a,+(Gi[k[(k[b>>2]|0)+24>>2]&2047](b)|0));VDa(a,+(Gi[k[(k[b>>2]|0)+28>>2]&2047](b)|0));return 2}function rD(a){a=a|0;var b=0,c=0,d=0,e=0,f=0.0;e=r;r=r+32|0;b=oD(a,1,11)|0;c=Gi[k[(k[b>>2]|0)+36>>2]&2047](b)|0;k[e+16>>2]=k[c>>2];k[e+16+4>>2]=k[c+4>>2];k[e+16+8>>2]=k[c+8>>2];k[e+16+12>>2]=k[c+12>>2];c=fHa(a,2,0)|0;d=eHa(a,3,c,0)|0;if(!(gD(c,e+16|0)|0)){k[e>>2]=c;a=aHa(a,437134,e)|0;r=e;return a|0}if(gD(d,e+16+4|0)|0){f=+mHa(a,4,1.0);o[e+16+12>>2]=f;Di[k[(k[b>>2]|0)+32>>2]&511](b,e+16|0);a=0;r=e;return a|0}else{k[e+8>>2]=d;a=aHa(a,437134,e+8|0)|0;r=e;return a|0}return 0}function sD(a){a=a|0;var b=0,c=0.0,d=0,e=0,f=0;d=r;r=r+32|0;f=oD(a,1,11)|0;f=Gi[k[(k[f>>2]|0)+36>>2]&2047](f)|0;e=k[f>>2]|0;b=k[f+4>>2]|0;c=+o[f+12>>2];k[d+16>>2]=0;k[d+12>>2]=0;if(!(hD(e,d+16|0)|0)){f=aHa(a,345341,d)|0;r=d;return f|0}if(hD(b,d+12|0)|0){YDa(a,k[d+16>>2]|0);YDa(a,k[d+12>>2]|0);VDa(a,c);f=3;r=d;return f|0}else{f=aHa(a,345341,d+8|0)|0;r=d;return f|0}return 0}function tD(a){a=a|0;var b=0,c=0,d=0,e=0;e=r;r=r+32|0;b=oD(a,1,11)|0;k[e+16>>2]=0;k[e+16+4>>2]=0;c=fHa(a,2,0)|0;d=eHa(a,3,c,0)|0;if(!(iD(c,e+16|0)|0)){k[e>>2]=c;a=aHa(a,345370,e)|0;r=e;return a|0}if(iD(d,e+16+4|0)|0){rs(a,gj[k[(k[b>>2]|0)+40>>2]&511](b,e+16|0)|0);a=1;r=e;return a|0}else{k[e+8>>2]=d;a=aHa(a,345392,e+8|0)|0;r=e;return a|0}return 0}function uD(a){a=a|0;var b=0,c=0,d=0;c=r;r=r+32|0;b=oD(a,1,11)|0;b=Gi[k[(k[b>>2]|0)+44>>2]&2047](b)|0;d=k[b>>2]|0;b=k[b+4>>2]|0;k[c+16>>2]=0;k[c+12>>2]=0;if(!(jD(d,c+16|0)|0)){d=aHa(a,345414,c)|0;r=c;return d|0}if(jD(b,c+12|0)|0){YDa(a,k[c+16>>2]|0);YDa(a,k[c+12>>2]|0);d=2;r=c;return d|0}else{d=aHa(a,345414,c+8|0)|0;r=c;return d|0}return 0}function vD(a,b){a=a|0;b=b|0;return oD(a,b,11)|0}function wD(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=15104;k[b+4>>2]=0;a=Is(a,11,345433,b)|0;r=b;return a|0}function xD(a){a=a|0;var b=0,c=0;k[a>>2]=15176;b=k[a+24>>2]|0;if(!b)return;c=k[a+28>>2]|0;if((c|0)!=(b|0))k[a+28>>2]=c+(~((c+-16-b|0)>>>4)<<4);CAb(b);return}function yD(a){a=a|0;var b=0,c=0;k[a>>2]=15176;b=k[a+24>>2]|0;if(!b){CAb(a);return}c=k[a+28>>2]|0;if((c|0)!=(b|0))k[a+28>>2]=c+(~((c+-16-b|0)>>>4)<<4);CAb(b);CAb(a);return}function zD(a){a=a|0;return k[a+16>>2]|0}function AD(a){a=a|0;return k[a+20>>2]|0}function BD(){CD(626644,15200,296);return}function CD(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0;m=r;r=r+16|0;i[a+8>>0]=0;i[a+20>>0]=0;i[a+32>>0]=0;i[a+44>>0]=0;i[a+56>>0]=0;i[a+68>>0]=0;i[a+80>>0]=0;i[a+92>>0]=0;i[a+104>>0]=0;i[a+116>>0]=0;i[a+128>>0]=0;i[a+140>>0]=0;i[a+152>>0]=0;i[a+164>>0]=0;i[a+176>>0]=0;i[a+188>>0]=0;i[a+200>>0]=0;i[a+212>>0]=0;i[a+224>>0]=0;i[a+236>>0]=0;i[a+248>>0]=0;i[a+260>>0]=0;i[a+272>>0]=0;i[a+284>>0]=0;i[a+296>>0]=0;i[a+308>>0]=0;i[a+320>>0]=0;i[a+332>>0]=0;i[a+344>>0]=0;i[a+356>>0]=0;i[a+368>>0]=0;i[a+380>>0]=0;i[a+392>>0]=0;i[a+404>>0]=0;i[a+416>>0]=0;i[a+428>>0]=0;i[a+440>>0]=0;i[a+452>>0]=0;i[a+464>>0]=0;i[a+476>>0]=0;i[a+488>>0]=0;i[a+500>>0]=0;i[a+512>>0]=0;i[a+524>>0]=0;i[a+536>>0]=0;i[a+548>>0]=0;i[a+560>>0]=0;i[a+572>>0]=0;i[a+584>>0]=0;i[a+596>>0]=0;i[a+608>>0]=0;i[a+620>>0]=0;i[a+632>>0]=0;i[a+644>>0]=0;i[a+656>>0]=0;i[a+668>>0]=0;i[a+680>>0]=0;i[a+692>>0]=0;i[a+704>>0]=0;i[a+716>>0]=0;i[a+728>>0]=0;i[a+740>>0]=0;i[a+752>>0]=0;i[a+764>>0]=0;i[a+776>>0]=0;i[a+788>>0]=0;i[a+800>>0]=0;i[a+812>>0]=0;i[a+824>>0]=0;i[a+836>>0]=0;i[a+848>>0]=0;i[a+860>>0]=0;i[a+872>>0]=0;i[a+884>>0]=0;vBb(a+888|0,0,148)|0;if(!(c>>>3)){r=m;return}else j=0;do{g=k[b+(j<<3)>>2]|0;h=k[b+(j<<3)+4>>2]|0;d=i[g>>0]|0;if(!(d<<24>>24))e=5381;else{f=g;e=5381;do{f=f+1|0;e=(e*33|0)+(d<<24>>24)|0;d=i[f>>0]|0}while(d<<24>>24!=0)}f=0;do{d=((f+e|0)>>>0)%74|0;f=f+1|0;if(!(i[a+(d*12|0)+8>>0]|0)){l=8;break}}while(f>>>0<74);if((l|0)==8){l=0;i[a+(d*12|0)+8>>0]=1;k[a+(d*12|0)>>2]=g;k[a+(d*12|0)+4>>2]=h}if(h>>>0>36){k[m>>2]=g;k[m+4>>2]=h;Jpb(441170,m)|0}else k[a+888+(h<<2)>>2]=g;j=j+1|0}while((j|0)!=(c>>>3|0));r=m;return}function DD(a){a=a|0;Uj(a);k[a>>2]=15176;k[a+8>>2]=0;i[a+12>>0]=0;k[a+16>>2]=0;k[a+16+4>>2]=0;k[a+16+8>>2]=0;k[a+16+12>>2]=0;k[a+16+16>>2]=0;return}function ED(a){a=a|0;return (k[a+28>>2]|0)-(k[a+24>>2]|0)>>4|0}function FD(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+16|0;if((b|0)>=0){c=k[a+24>>2]|0;if(((k[a+28>>2]|0)-c>>4|0)>(b|0)){r=d;return k[c+(b<<4)+8>>2]|0}}a=xf(16)|0;k[d>>2]=b+1;os(a,345739,d);Jc(a|0,96,27);return 0}function GD(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+16|0;if((b|0)>=0){c=k[a+24>>2]|0;if(((k[a+28>>2]|0)-c>>4|0)>(b|0)){r=d;return k[c+(b<<4)+12>>2]|0}}a=xf(16)|0;k[d>>2]=b+1;os(a,345739,d);Jc(a|0,96,27);return 0}function HD(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+16|0;if((b|0)>=0){c=k[a+24>>2]|0;if(((k[a+28>>2]|0)-c>>4|0)>(b|0)){r=d;return k[c+(b<<4)>>2]|0}}a=xf(16)|0;k[d>>2]=b+1;os(a,345739,d);Jc(a|0,96,27);return 0}function ID(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+16|0;if((b|0)>=0){c=k[a+24>>2]|0;if(((k[a+28>>2]|0)-c>>4|0)>(b|0)){r=d;return k[c+(b<<4)+4>>2]|0}}a=xf(16)|0;k[d>>2]=b+1;os(a,345739,d);Jc(a|0,96,27);return 0}function JD(a){a=a|0;return k[a+8>>2]|0}function KD(a,b){a=a|0;b=b|0;if(a>>>0>36)a=0;else{a=k[627532+(a<<2)>>2]|0;if(!a)a=0;else{k[b>>2]=a;a=1}}return a|0}function LD(a,b){a=a|0;b=b|0;return MD(a,b,23)|0}function MD(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((DDa(a,b)|0)!=7){k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0}d=RDa(a,b)|0;if(k[(k[155799]|0)+(k[d>>2]<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0){c=d+4|0;c=k[c>>2]|0;r=e;return c|0}k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0;c=d+4|0;c=k[c>>2]|0;r=e;return c|0}function ND(a){a=a|0;var b=0;b=MD(a,1,23)|0;WDa(a,HD(b,~~+mHa(a,2,1.0)+-1|0)|0);return 1}function OD(a){a=a|0;var b=0;b=MD(a,1,23)|0;WDa(a,ID(b,~~+mHa(a,2,1.0)+-1|0)|0);return 1}function PD(a){a=a|0;var b=0,c=0,d=0;d=MD(a,1,23)|0;b=~~+mHa(a,2,1.0)+-1|0;c=HD(d,b)|0;b=ID(d,b)|0;WDa(a,c);WDa(a,b);return 2}function QD(a){a=a|0;WDa(a,ED(MD(a,1,23)|0)|0);return 1}function RD(a){a=a|0;var b=0;b=r;r=r+16|0;if(KD(JD(MD(a,1,23)|0)|0,b)|0){YDa(a,k[b>>2]|0);r=b;return 1}else{YDa(a,439736);r=b;return 1}return 0}function SD(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=12068;k[b+4>>2]=15496;k[b+8>>2]=0;a=Is(a,23,345770,b)|0;r=b;return a|0}function TD(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;f=r;r=r+16|0;if(!(GDa(a,1)|0)){d=Vu(a,1)|0;e=k[155703]|0;e=gj[k[(k[e>>2]|0)+24>>2]&511](e,d)|0;Si[k[(k[d>>2]|0)+12>>2]&1023](d);Rs(a,22,e);Si[k[(k[e>>2]|0)+12>>2]&1023](e);e=1;r=f;return e|0}b=~~+lHa(a,1);c=~~+lHa(a,2);if((b|0)<1|(c|0)<1){e=aHa(a,345805,f)|0;r=f;return e|0}k[f+12>>2]=0;if((DDa(a,3)|0)<1)d=0;else d=fHa(a,3,f+12|0)|0;g=k[155703]|0;b=Ri[k[(k[g>>2]|0)+28>>2]&255](g,b,c)|0;do if(!d)e=10;else{g=k[f+12>>2]|0;if((g|0)==(Gi[k[(k[b>>2]|0)+20>>2]&2047](b)|0)){e=Gi[k[(k[b>>2]|0)+16>>2]&2047](b)|0;ABb(e|0,d|0,Gi[k[(k[b>>2]|0)+20>>2]&2047](b)|0)|0;e=10;break}else{Si[k[(k[b>>2]|0)+12>>2]&1023](b);b=aHa(a,345825,f+8|0)|0;break}}while(0);if((e|0)==10){Rs(a,22,b);Si[k[(k[b>>2]|0)+12>>2]&1023](b);b=1}g=b;r=f;return g|0}function UD(a){a=a|0;var b=0,c=0;c=Vu(a,1)|0;b=k[155703]|0;b=gj[k[(k[b>>2]|0)+36>>2]&511](b,c)|0;Si[k[(k[c>>2]|0)+12>>2]&1023](c);Rs(a,23,b);Si[k[(k[b>>2]|0)+12>>2]&1023](b);return 1}function VD(a){a=a|0;var b=0,c=0;c=Vu(a,1)|0;b=k[155703]|0;b=gj[k[(k[b>>2]|0)+40>>2]&511](b,c)|0;Si[k[(k[c>>2]|0)+12>>2]&1023](c);rs(a,b);return 1}function WD(a){a=a|0;var b=0,c=0;c=r;r=r+32|0;b=k[155703]|0;if(!b){b=kBb(32)|0;cha(b)}else Si[k[(k[b>>2]|0)+8>>2]&1023](b);k[c>>2]=b;k[c+4>>2]=435995;k[c+8>>2]=58;k[c+12>>2]=15544;k[c+16>>2]=15576;a=Bs(a,c)|0;r=c;return a|0}function XD(a,b){a=a|0;b=b|0;return $k(a,b,22)|0}function YD(a){a=a|0;WDa(a,hia($k(a,1,22)|0)|0);return 1}function ZD(a){a=a|0;WDa(a,iia($k(a,1,22)|0)|0);return 1}function _D(a){a=a|0;var b=0;b=$k(a,1,22)|0;WDa(a,hia(b)|0);WDa(a,iia(b)|0);return 2}function $D(a){a=a|0;var b=0,c=0,d=0;b=r;r=r+16|0;d=$k(a,1,22)|0;c=~~+lHa(a,2);mia(b,d,c,~~+lHa(a,3));c=k[b>>2]|0;VDa(a,+(c&255));VDa(a,+(c>>>8&255));VDa(a,+(c>>>16&255));VDa(a,+(c>>>24&255));r=b;return 4}function aE(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0;h=r;r=r+16|0;b=$k(a,1,22)|0;c=~~+lHa(a,2);d=~~+lHa(a,3);if((DDa(a,4)|0)==5){gEa(a,4,1);gEa(a,4,2);gEa(a,4,3);gEa(a,4,4);e=nHa(a,-4)|0;f=nHa(a,-3)|0;g=nHa(a,-2)|0;j=oHa(a,-1,255)|0;yDa(a,-5);a=j}else{e=nHa(a,4)|0;f=nHa(a,5)|0;g=nHa(a,6)|0;a=oHa(a,7,255)|0}k[h>>2]=g<<16&16711680|a<<24|f<<8&65280|e&255;i[h+4>>0]=i[h>>0]|0;i[h+4+1>>0]=i[h+1>>0]|0;i[h+4+2>>0]=i[h+2>>0]|0;i[h+4+3>>0]=i[h+3>>0]|0;kia(b,c,d,h+4|0);r=h;return 0}function bE(a){a=a|0;var b=0,c=0,d=0,e=0.0,f=0,g=0.0,h=0.0,j=0,m=0,n=0,o=0;o=r;r=r+48|0;b=$k(a,1,22)|0;jHa(a,2,6);d=~~+LDa(a,3);f=~~+LDa(a,4);g=+LDa(a,5);h=+LDa(a,6);if(!(jia(b,d,f)|0)){n=aHa(a,434449,o)|0;r=o;return n|0}if(!(jia(b,~~g+d+-1|0,~~h+f+-1|0)|0)){n=aHa(a,434449,o)|0;r=o;return n|0}if((~~h|0)<=0){n=0;r=o;return n|0}if((~~g|0)<=0){n=0;r=o;return n|0}m=f;a:while(1){e=+(m|0);j=d;do{CDa(a,2);VDa(a,+(j|0));VDa(a,e);mia(o+20|0,b,j,m);VDa(a,+(l[o+20>>0]|0));VDa(a,+(l[o+20+1>>0]|0));VDa(a,+(l[o+20+2>>0]|0));VDa(a,+(l[o+20+3>>0]|0));qEa(a,6,4);c=DDa(a,-4)|0;if((c|0)!=3){d=1;break a}c=~~+LDa(a,-4)&255;i[o+20>>0]=c;c=DDa(a,-3)|0;if((c|0)!=3){d=2;break a}c=~~+LDa(a,-3)&255;i[o+20+1>>0]=c;c=DDa(a,-2)|0;if((c|0)!=3){d=3;break a}c=~~+LDa(a,-2)&255;i[o+20+2>>0]=c;c=DDa(a,-1)|0;switch(c|0){case 3:{c=~~+LDa(a,-1)&255;i[o+20+3>>0]=c;break}case 0:case -1:{i[o+20+3>>0]=-1;break}default:{d=4;break a}}yDa(a,-5);k[o+24>>2]=k[o+20>>2];i[o+28>>0]=i[o+24>>0]|0;i[o+28+1>>0]=i[o+24+1>>0]|0;i[o+28+2>>0]=i[o+24+2>>0]|0;i[o+28+3>>0]=i[o+24+3>>0]|0;lia(b,j,m,o+28|0);j=j+1|0}while((j|0)<(~~g+d|0));m=m+1|0;if((m|0)>=(~~h+f|0)){b=0;n=14;break}}if((n|0)==14){r=o;return b|0}cHa(a,2);b=ODa(a,-1,0)|0;k[o+28>>2]=0;k[o+28+4>>2]=0;k[o+28+8>>2]=0;if(b|0)drb(o+28|0,b)|0;yDa(a,-2);m=(i[o+28>>0]&1)==0?o+28+1|0:k[o+28+8>>2]|0;_qb(o+28|0);n=EDa(a,c)|0;k[o+8>>2]=m;k[o+8+4>>2]=d;k[o+8+8>>2]=n;n=aHa(a,345937,o+8|0)|0;r=o;return n|0}function cE(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;h=$k(a,1,22)|0;b=$k(a,2,22)|0;g=~~+lHa(a,3);f=~~+lHa(a,4);e=~~+mHa(a,5,0.0);d=~~+mHa(a,6,0.0);c=~~+mHa(a,7,+(hia(b)|0));nia(h,b,g,f,e,d,c,~~+mHa(a,8,+(iia(b)|0)));return 0}function dE(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+48|0;c=$k(a,1,22)|0;b=fHa(a,2,0)|0;if(!(pia(b,d+40|0)|0)){k[d>>2]=b;a=aHa(a,345986,d)|0;r=d;return a|0}Wqb(d+16|0,b,Fnb(b)|0);b=lrb(d+16|0,0,346021)|0;k[d+28>>2]=k[b>>2];k[d+28+4>>2]=k[b+4>>2];k[d+28+8>>2]=k[b+8>>2];k[b>>2]=0;k[b+4>>2]=0;k[b+8>>2]=0;_qb(d+16|0);if((DDa(a,3)|0)<1)b=0;else{us(d+4|0,a,3);if(!(i[d+28>>0]&1)){i[d+28+1>>0]=0;i[d+28>>0]=0}else{i[k[d+28+8>>2]>>0]=0;k[d+28+4>>2]=0}crb(d+28|0,0);k[d+28>>2]=k[d+4>>2];k[d+28+4>>2]=k[d+4+4>>2];k[d+28+8>>2]=k[d+4+8>>2];k[d+4>>2]=0;k[d+4+4>>2]=0;k[d+4+8>>2]=0;_qb(d+4|0);b=1}c=Ri[k[(k[c>>2]|0)+24>>2]&255](c,k[d+40>>2]|0,(i[d+28>>0]&1)==0?d+28+1|0:k[d+28+8>>2]|0)|0;Rs(a,7,c);Si[k[(k[c>>2]|0)+12>>2]&1023](c);if(b){Ts(a,352628,518950)|0;CDa(a,3);CDa(a,-3);qEa(a,2,0)}_qb(d+28|0);a=1;r=d;return a|0}function eE(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;aP(b,oia($k(a,1,22)|0)|0);c=rEa(a,(xDa(a)|0)+-2|0,-1,0)|0;cP(b);if(!c){c=(xDa(a)|0)+-1|0;r=b;return c|0}else{c=xEa(a)|0;r=b;return c|0}return 0}function fE(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;k[c>>2]=12068;k[c+4>>2]=15588;k[c+8>>2]=0;b=Is(a,22,346028,c)|0;Ns(a,22);if((DDa(a,-1)|0)!=5){yDa(a,-2);r=c;return b|0}FHa(a,346108,6366,352474)|0;CDa(a,-2);bEa(a,15668);qEa(a,2,0);yDa(a,-2);r=c;return b|0}function gE(a){a=a|0;a=oia(k[a+4>>2]|0)|0;Si[k[(k[a>>2]|0)+8>>2]&1023](a);return}function hE(a){a=a|0;a=oia(k[a+4>>2]|0)|0;Si[k[(k[a>>2]|0)+12>>2]&1023](a);return}function iE(a){a=a|0;var b=0,c=0,d=0;b=k[155704]|0;b=Gi[k[(k[b>>2]|0)+44>>2]&2047](b)|0;hEa(a,b,0);if((b|0)>0)c=0;else return 1;do{d=k[155704]|0;Rs(a,24,gj[k[(k[d>>2]|0)+36>>2]&511](d,c)|0);c=c+1|0;nEa(a,-2,c)}while((c|0)!=(b|0));return 1}function jE(a){a=a|0;var b=0,c=0;b=Lja(a,1)|0;c=k[155704]|0;b=gj[k[(k[c>>2]|0)+40>>2]&511](c,b)|0;if((b|0)>-1){WDa(a,b+1|0);return 1}else{UDa(a);return 1}return 0}function kE(a){a=a|0;var b=0;b=k[155704]|0;WDa(a,Gi[k[(k[b>>2]|0)+44>>2]&2047](b)|0);return 1}function lE(a){a=a|0;var b=0,c=0,d=0,e=0;d=r;r=r+96|0;c=fHa(a,1,0)|0;b=fHa(a,2,0)|0;do if(Fja(b,d+4|0)|0)k[d>>2]=0;else{if(Hja(b,d+4|0)|0){k[d>>2]=1;break}k[d+16>>2]=b;a=aHa(a,352488,d+16|0)|0;r=d;return a|0}while(0);b=fHa(a,3,0)|0;a:do if(Jja(b,d+44|0)|0){switch(k[d+44>>2]|0){case 0:{b=~~+lHa(a,4)+-1|0;k[d+44+4>>2]=b;break}case 1:{b=~~+lHa(a,4)+-1|0;k[d+44+4>>2]=b;break}case 2:{b=~~+lHa(a,4)+-1|0;k[d+44+4>>2]=b;b=fHa(a,5,0)|0;if(!(Dja(b,d+44+8|0)|0)){k[d+32>>2]=b;b=aHa(a,352552,d+32|0)|0;break a}break}default:{k[d+40>>2]=b;b=aHa(a,352520,d+40|0)|0;break a}}b=k[155704]|0;e=k[(k[b>>2]|0)+48>>2]|0;Wqb(d+56|0,c,Fnb(c)|0);c=k[d+4>>2]|0;k[d+8>>2]=k[d>>2];k[d+8+4>>2]=c;k[d+72>>2]=k[d+8>>2];k[d+72+4>>2]=k[d+8+4>>2];k[d+80>>2]=k[d+44>>2];k[d+80+4>>2]=k[d+44+4>>2];k[d+80+8>>2]=k[d+44+8>>2];b=nj[e&127](b,d+56|0,d+72|0,d+80|0)|0;_qb(d+56|0);rs(a,b);b=1}else{k[d+24>>2]=b;b=aHa(a,352520,d+24|0)|0}while(0);e=b;r=d;return e|0}function mE(a){a=a|0;var b=0,c=0,d=0,e=0;e=r;r=r+96|0;k[e+60>>2]=0;k[e+60+4>>2]=0;k[e+60+8>>2]=0;if((DDa(a,1)|0)==4){us(e+48|0,a,1);if(!(i[e+60>>0]&1)){i[e+60+1>>0]=0;i[e+60>>0]=0}else{i[k[e+60+8>>2]>>0]=0;k[e+60+4>>2]=0}crb(e+60|0,0);k[e+60>>2]=k[e+48>>2];k[e+60+4>>2]=k[e+48+4>>2];k[e+60+8>>2]=k[e+48+8>>2];k[e+48>>2]=0;k[e+48+4>>2]=0;k[e+48+8>>2]=0;_qb(e+48|0)}else{d=Lja(a,1)|0;Di[k[(k[d>>2]|0)+80>>2]&511](e+36|0,d);if(!(i[e+60>>0]&1)){i[e+60+1>>0]=0;i[e+60>>0]=0}else{i[k[e+60+8>>2]>>0]=0;k[e+60+4>>2]=0}crb(e+60|0,0);k[e+60>>2]=k[e+36>>2];k[e+60+4>>2]=k[e+36+4>>2];k[e+60+8>>2]=k[e+36+8>>2];k[e+36>>2]=0;k[e+36+4>>2]=0;k[e+36+8>>2]=0;_qb(e+36|0)}b=fHa(a,2,0)|0;do if(Fja(b,e+4|0)|0)k[e>>2]=0;else{if(Hja(b,e+4|0)|0){k[e>>2]=1;break}k[e+16>>2]=b;a=aHa(a,352488,e+16|0)|0;_qb(e+60|0);r=e;return a|0}while(0);b=k[155704]|0;c=k[(k[b>>2]|0)+52>>2]|0;d=k[e+4>>2]|0;k[e+8>>2]=k[e>>2];k[e+8+4>>2]=d;k[e+88>>2]=k[e+8>>2];k[e+88+4>>2]=k[e+8+4>>2];vj[c&127](e+72|0,b,e+60|0,e+88|0);b=k[e+72>>2]|0;c=k[e+72+4>>2]|0;d=k[e+72+8>>2]|0;if((b|0)==3){a=0;_qb(e+60|0);r=e;return a|0}if(Kja(b,e+88|0)|0){YDa(a,k[e+88>>2]|0);a:do switch(b|0){case 0:{WDa(a,c+1|0);b=2;break}case 1:{WDa(a,c+1|0);b=2;break}case 2:{WDa(a,c+1|0);if(Eja(d,e+72|0)|0){YDa(a,k[e+72>>2]|0);b=3;break a}else{b=aHa(a,352606,e+32|0)|0;break a}}default:b=1}while(0)}else b=aHa(a,352577,e+24|0)|0;a=b;_qb(e+60|0);r=e;return a|0}function nE(a){a=a|0;var b=0,c=0;b=r;r=r+48|0;k[b+24>>2]=0;k[b+24+4>>2]=0;k[b+24+8>>2]=0;if(HDa(a,1)|0){CDa(a,1);Us(a,-1,352628,352639)|0;c=qs(a,-1)|0;yDa(a,-2);if(!c){us(b,a,1);if(!(i[b+24>>0]&1)){i[b+24+1>>0]=0;i[b+24>>0]=0}else{i[k[b+24+8>>2]>>0]=0;k[b+24+4>>2]=0}crb(b+24|0,0);k[b+24>>2]=k[b>>2];k[b+24+4>>2]=k[b+4>>2];k[b+24+8>>2]=k[b+8>>2];k[b>>2]=0;k[b+4>>2]=0;k[b+8>>2]=0;_qb(b);c=k[155704]|0;a=k[c>>2]|0;a=a+56|0;a=k[a>>2]|0;Di[a&511](c,b+24|0);_qb(b+24|0);r=b;return 0}}a=Vu(a,1)|0;c=Gi[k[(k[a>>2]|0)+16>>2]&2047](a)|0;Wqb(b+12|0,c,Gi[k[(k[a>>2]|0)+20>>2]&2047](a)|0);if(!(i[b+24>>0]&1)){i[b+24+1>>0]=0;i[b+24>>0]=0}else{i[k[b+24+8>>2]>>0]=0;k[b+24+4>>2]=0}crb(b+24|0,0);k[b+24>>2]=k[b+12>>2];k[b+24+4>>2]=k[b+12+4>>2];k[b+24+8>>2]=k[b+12+8>>2];k[b+12>>2]=0;k[b+12+4>>2]=0;k[b+12+8>>2]=0;_qb(b+12|0);Si[k[(k[a>>2]|0)+12>>2]&1023](a);c=k[155704]|0;a=k[c>>2]|0;a=a+56|0;a=k[a>>2]|0;Di[a&511](c,b+24|0);_qb(b+24|0);r=b;return 0}function oE(a){a=a|0;var b=0,c=0;b=r;r=r+32|0;yDa(a,1);c=k[155704]|0;Di[k[(k[c>>2]|0)+60>>2]&511](b+8|0,c);if((DDa(a,1)|0)>=1){vs(a,b+8|0);k[b>>2]=1;k[b+4>>2]=2;Vs(a,b,2,352628,518950)|0;yDa(a,-2)}vs(a,b+8|0);_qb(b+8|0);r=b;return 1}function pE(a){a=a|0;var b=0,c=0;c=r;r=r+32|0;b=k[155704]|0;if(!b){b=kBb(44)|0;wja(b)}else Si[k[(k[b>>2]|0)+8>>2]&1023](b);k[c>>2]=b;k[c+4>>2]=352646;k[c+8>>2]=3;k[c+12>>2]=15676;k[c+16>>2]=15732;a=Bs(a,c)|0;r=c;return a|0}function qE(a){a=a|0;var b=0,c=0;b=k[155705]|0;c=k[(k[b>>2]|0)+24>>2]|0;a=qs(a,1)|0;Di[c&511](b,a);return 0}function rE(a){a=a|0;var b=0;b=k[155705]|0;rs(a,Gi[k[(k[b>>2]|0)+28>>2]&2047](b)|0);return 1}function sE(a){a=a|0;var b=0,c=0,d=0,e=0;e=r;r=r+16|0;b=xDa(a)|0;k[e>>2]=0;k[e+4>>2]=0;k[e+8>>2]=0;if(b|0){d=kBb(b<<2)|0;k[e>>2]=d;k[e+4>>2]=d;k[e+8>>2]=d+(b<<2);if((b|0)>0){d=0;do{d=d+1|0;do if(wka(fHa(a,d,0)|0,e+12|0)|0){c=k[e+4>>2]|0;if((c|0)==(k[e+8>>2]|0)){tE(e,e+12|0);break}else{k[c>>2]=k[e+12>>2];k[e+4>>2]=c+4;break}}while(0)}while((d|0)<(b|0))}}b=k[155705]|0;rs(a,gj[k[(k[b>>2]|0)+32>>2]&511](b,e)|0);b=k[e>>2]|0;if(!b){r=e;return 1}c=k[e+4>>2]|0;if((c|0)!=(b|0))k[e+4>>2]=c+(~((c+-4-b|0)>>>2)<<2);CAb(b);r=e;return 1}function tE(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=k[a>>2]|0;c=((k[a+4>>2]|0)-i>>2)+1|0;if(c>>>0>1073741823)xzb(a);d=(k[a+8>>2]|0)-i|0;if(d>>2>>>0<536870911){c=d>>1>>>0>>0?c:d>>1;e=k[a+4>>2]|0;if(!c){h=0;f=0;d=e-i>>2;c=e}else{g=e;d=e-i>>2;j=6}}else{d=k[a+4>>2]|0;c=1073741823;g=d;d=d-i>>2;j=6}if((j|0)==6){h=c;f=kBb(c<<2)|0;c=g}j=f+(d<<2)|0;k[j>>2]=k[b>>2];b=c-i|0;ABb(j+(0-(b>>2)<<2)|0,i|0,b|0)|0;k[a>>2]=j+(0-(b>>2)<<2);k[a+4>>2]=j+4;k[a+8>>2]=f+(h<<2);if(!i)return;CAb(i);return}function uE(a){a=a|0;var b=0,c=0,d=0,e=0;e=r;r=r+16|0;b=xDa(a)|0;k[e>>2]=0;k[e+4>>2]=0;k[e+8>>2]=0;if(b|0){d=kBb(b<<2)|0;k[e>>2]=d;k[e+4>>2]=d;k[e+8>>2]=d+(b<<2);if((b|0)>0){d=0;do{d=d+1|0;do if(yka(fHa(a,d,0)|0,e+12|0)|0){c=k[e+4>>2]|0;if((c|0)==(k[e+8>>2]|0)){vE(e,e+12|0);break}else{k[c>>2]=k[e+12>>2];k[e+4>>2]=c+4;break}}while(0)}while((d|0)<(b|0))}}b=k[155705]|0;rs(a,gj[k[(k[b>>2]|0)+36>>2]&511](b,e)|0);b=k[e>>2]|0;if(!b){r=e;return 1}c=k[e+4>>2]|0;if((c|0)!=(b|0))k[e+4>>2]=c+(~((c+-4-b|0)>>>2)<<2);CAb(b);r=e;return 1}function vE(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=k[a>>2]|0;c=((k[a+4>>2]|0)-i>>2)+1|0;if(c>>>0>1073741823)xzb(a);d=(k[a+8>>2]|0)-i|0;if(d>>2>>>0<536870911){c=d>>1>>>0>>0?c:d>>1;e=k[a+4>>2]|0;if(!c){h=0;f=0;d=e-i>>2;c=e}else{g=e;d=e-i>>2;j=6}}else{d=k[a+4>>2]|0;c=1073741823;g=d;d=d-i>>2;j=6}if((j|0)==6){h=c;f=kBb(c<<2)|0;c=g}j=f+(d<<2)|0;k[j>>2]=k[b>>2];b=c-i|0;ABb(j+(0-(b>>2)<<2)|0,i|0,b|0)|0;k[a>>2]=j+(0-(b>>2)<<2);k[a+4>>2]=j+4;k[a+8>>2]=f+(h<<2);if(!i)return;CAb(i);return}function wE(a){a=a|0;var b=0,c=0;c=r;r=r+32|0;b=fHa(a,1,0)|0;if(!(wka(b,c+16|0)|0)){k[c>>2]=b;a=aHa(a,352743,c)|0;r=c;return a|0}b=k[155705]|0;if(zka(gj[k[(k[b>>2]|0)+44>>2]&511](b,k[c+16>>2]|0)|0,c+12|0)|0){YDa(a,k[c+12>>2]|0);b=1}else b=aHa(a,352768,c+8|0)|0;a=b;r=c;return a|0}function xE(a){a=a|0;var b=0,c=0;c=r;r=r+32|0;b=fHa(a,1,0)|0;if(!(yka(b,c+16|0)|0)){k[c>>2]=b;a=aHa(a,352786,c)|0;r=c;return a|0}b=k[155705]|0;if(xka(gj[k[(k[b>>2]|0)+40>>2]&511](b,k[c+16>>2]|0)|0,c+12|0)|0){YDa(a,k[c+12>>2]|0);b=1}else b=aHa(a,352807,c+8|0)|0;a=b;r=c;return a|0}function yE(a){a=a|0;var b=0,c=0.0,d=0.0,e=0.0,f=0.0;b=qs(a,1)|0;if((xDa(a)|0)<2){a=k[155705]|0;Di[k[(k[a>>2]|0)+48>>2]&511](a,b);return 0}else{f=+lHa(a,2);e=+lHa(a,3);d=+lHa(a,4);c=+lHa(a,5);a=k[155705]|0;Li[k[(k[a>>2]|0)+52>>2]&1](a,b,f,e,d,c);return 0}return 0}function zE(a){a=a|0;var b=0;b=k[155705]|0;rs(a,Gi[k[(k[b>>2]|0)+56>>2]&2047](b)|0);return 1}function AE(a){a=a|0;var b=0;b=k[155705]|0;rs(a,Gi[k[(k[b>>2]|0)+60>>2]&2047](b)|0);return 1}function BE(a){a=a|0;var b=0,c=0;c=r;r=r+32|0;b=k[155705]|0;if(!b){b=kBb(12)|0;tka(b)}else Si[k[(k[b>>2]|0)+8>>2]&1023](b);k[c>>2]=b;k[c+4>>2]=352828;k[c+8>>2]=3;k[c+12>>2]=15740;k[c+16>>2]=0;a=Bs(a,c)|0;r=c;return a|0}function CE(a){a=a|0;k[a>>2]=15828;a=k[a+12>>2]|0;if(!a)return;oBb(a);return}function DE(a){a=a|0;var b=0;k[a>>2]=15828;b=k[a+12>>2]|0;if(!b){CAb(a);return}oBb(b);CAb(a);return}function EE(a){a=a|0;return k[a+12>>2]|0}function FE(a){a=a|0;return k[a+16>>2]|0}function GE(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;Uj(a);k[a>>2]=15828;k[a+8>>2]=b;k[a+12>>2]=0;k[a+16>>2]=d;k[a+20>>2]=e;if(f){k[a+12>>2]=c;return}else{e=mBb(d)|0;k[a+12>>2]=e;ABb(e|0,c|0,d|0)|0;return}}function HE(a){a=a|0;return k[a+8>>2]|0}function IE(a){a=a|0;return k[a+20>>2]|0}function JE(){i[627688]=0;i[627700]=0;i[627712]=0;i[627724]=0;i[627736]=0;i[627748]=0;k[156938]=0;k[156939]=0;k[156940]=0;KE(627680,352989,0)|0;KE(627680,352993,1)|0;KE(627680,352998,2)|0;return}function KE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=r;r=r+16|0;d=i[b>>0]|0;if(!(d<<24>>24))e=5381;else{f=b;e=5381;do{f=f+1|0;e=(e*33|0)+(d<<24>>24)|0;d=i[f>>0]|0}while(d<<24>>24!=0)}d=(e>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+1|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+2|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+3|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+4|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+5|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else d=0}}}}}if((g|0)==5){i[d>>0]=1;k[a+(e*12|0)>>2]=b;k[a+(e*12|0)+4>>2]=c;d=1}if(c>>>0>2){k[h>>2]=b;k[h+4>>2]=c;Jpb(441170,h)|0;g=0;r=h;return g|0}else{k[a+72+(c<<2)>>2]=b;g=d;r=h;return g|0}return 0}function LE(a){a=a|0;var b=0,c=0;if(!(i[621160]|0))if(Ce(621160)|0){k[156941]=15860;pd(621160)}if(!(i[621168]|0))if(Ce(621168)|0){k[156942]=15888;pd(621168)}b=k[74]|0;c=k[75]|0;if(gj[k[(k[b>>2]|0)+16>>2]&511](b,a)|0){a=b;return a|0}a=gj[k[(k[c>>2]|0)+16>>2]&511](c,a)|0;a=a?c:0;return a|0}function ME(a){a=a|0;return}function NE(a){a=a|0;CAb(a);return}function OE(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;i=r;r=r+32|0;if(b|0){f=xf(16)|0;os(f,353056,i);Jc(f|0,96,27)}if(d>>>0>2113929216){f=xf(16)|0;os(f,353087,i+8|0);Jc(f|0,96,27)}g=gZ(d)|0;h=mBb(g+4|0)|0;k[h>>2]=d;if((e|0)>8)a=XZ(c,h+4|0,d,g,0)|0;else a=DZ(c,h+4|0,d,g)|0;if((a|0)<1){oBb(h);f=xf(16)|0;os(f,353125,i+16|0);Jc(f|0,96,27)}b=a+4|0;if(!(+((g+4|0)>>>0)/+(b>>>0)>=1.2)){k[f>>2]=b;r=i;return h|0}a=nBb(b,1279175)|0;if(!a){k[f>>2]=b;r=i;return h|0}ABb(a|0,h|0,b|0)|0;oBb(h);h=a;k[f>>2]=b;r=i;return h|0}function PE(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;f=r;r=r+32|0;if(b|0){e=xf(16)|0;os(e,353056,f);Jc(e|0,96,27)}if(d>>>0<4){e=xf(16)|0;os(e,353154,f+8|0);Jc(e|0,96,27)}a=k[c>>2]|0;b=mBb(a)|0;g=k[e>>2]|0;if((g|0)!=0&(g|0)==(a|0))if((HZ(c+4|0,b,a)|0)<0){oBb(b);g=xf(16)|0;os(g,353188,f+16|0);Jc(g|0,96,27)}else{r=f;return b|0}a=EZ(c+4|0,b,d+-4|0,a)|0;if((a|0)<0){oBb(b);g=xf(16)|0;os(g,353188,f+24|0);Jc(g|0,96,27)}k[e>>2]=a;r=f;return b|0}function QE(a,b){a=a|0;b=b|0;return (b|0)==0|0}function RE(a){a=a|0;CAb(a);return}function SE(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;j=r;r=r+80|0;if(!(gj[k[(k[a>>2]|0)+16>>2]&511](a,b)|0)){f=xf(16)|0;os(f,353259,j);Jc(f|0,96,27)}h=((b|0)==2?25:13)+d+(d>>>12)+(d>>>14)+(d>>>25)|0;i=mBb(h)|0;a=(e|0)<0?-1:(e|0)>9?9:e;e=j+16|0;g=e+56|0;do{k[e>>2]=0;e=e+4|0}while((e|0)<(g|0));k[j+16>>2]=c;k[j+16+4>>2]=d;k[j+16+12>>2]=i;k[j+16+16>>2]=h;do if(!(slb(j+16|0,a,8,(b|0)==2?31:15,8,0,610873,56)|0)){if((Alb(j+16|0,4)|0)!=1){zlb(j+16|0)|0;break}e=k[j+16+20>>2]|0;if(zlb(j+16|0)|0){oBb(i);f=xf(16)|0;os(f,353299,j+8|0);Jc(f|0,96,27)}if(!(+(h>>>0)/+(e>>>0)>=1.3)){k[f>>2]=e;r=j;return i|0}a=nBb(e,1279175)|0;if(!a){k[f>>2]=e;r=j;return i|0}ABb(a|0,i|0,e|0)|0;oBb(i);i=a;k[f>>2]=e;r=j;return i|0}while(0);oBb(i);f=xf(16)|0;os(f,353299,j+8|0);Jc(f|0,96,27);return 0}function TE(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;i=r;r=r+80|0;if(!(gj[k[(k[a>>2]|0)+16>>2]&511](a,b)|0)){h=xf(16)|0;os(h,353259,i);Jc(h|0,96,27)}g=k[e>>2]|0;g=(g|0)==0?d<<1:g;a:while(1){b=mBb(g)|0;a=i+16|0;f=a+56|0;do{k[a>>2]=0;a=a+4|0}while((a|0)<(f|0));k[i+16>>2]=c;k[i+16+4>>2]=d;k[i+16+12>>2]=b;k[i+16+16>>2]=g;a=Clb(i+16|0,47,610873,56)|0;b:do if(!a){a=Elb(i+16|0,4)|0;if((a|0)==1){a=k[i+16+20>>2]|0;f=Glb(i+16|0)|0;h=11;break}Glb(i+16|0)|0;switch(a|0){case 2:{h=10;break a}case -5:break;default:{f=a;a=g;h=11;break b}}if(!(k[i+16+4>>2]|0)){h=10;break a}}else{f=a;a=g;h=11}while(0);if((h|0)==11){h=0;switch(f|0){case 0:{h=14;break a}case -5:break;default:{h=12;break a}}}oBb(b);g=g<<1}if((h|0)==10){h=b;oBb(h);h=xf(16)|0;os(h,353334,i+8|0);Jc(h|0,96,27)}else if((h|0)==12){oBb(b);h=xf(16)|0;os(h,353334,i+8|0);Jc(h|0,96,27)}else if((h|0)==14){k[e>>2]=a;r=i;return b|0}return 0}function UE(a,b){a=a|0;b=b|0;return (b+-1|0)>>>0<2|0}function VE(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0;c=i[a>>0]|0;if(!(c<<24>>24))d=5381;else{e=a;d=5381;do{e=e+1|0;d=(d*33|0)+(c<<24>>24)|0;c=i[e>>0]|0}while(c<<24>>24!=0)}h=0;while(1){g=((h+d|0)>>>0)%6|0;if(!(i[627680+(g*12|0)+8>>0]|0)){c=1;d=0;j=11;break}e=k[627680+(g*12|0)>>2]|0;f=i[e>>0]|0;a:do if(!(f<<24>>24)){c=a;j=8}else{c=a;while(1){l=i[c>>0]|0;if(!(l<<24>>24?f<<24>>24==l<<24>>24:0))break a;e=e+1|0;c=c+1|0;f=i[e>>0]|0;if(!(f<<24>>24)){j=8;break}}}while(0);if((j|0)==8){j=0;if(!(i[c>>0]|0)){j=9;break}}h=h+1|0;if(h>>>0>=6){c=0;d=0;j=11;break}}if((j|0)==9){k[b>>2]=k[627680+(g*12|0)+4>>2];j=1;l=1;l=j&l;return l|0}else if((j|0)==11){l=c&d;return l|0}return 0}function WE(a,b){a=a|0;b=b|0;if(a>>>0>2)a=0;else{a=k[627752+(a<<2)>>2]|0;if(!a)a=0;else{k[b>>2]=a;a=1}}return a|0}function XE(a){a=a|0;k[a>>2]=15916;Hj(a);return}function YE(a){a=a|0;k[a>>2]=15916;Hj(a);CAb(a);return}function ZE(a){a=a|0;return 8}function _E(a){a=a|0;return 353400}function $E(){Uj(621176);k[155294]=15916;lF(621184);Si[k[(k[155294]|0)+8>>2]&1023](621176);return}function aF(a){a=a|0;a=kBb(32)|0;lF(a);return a|0}function bF(a,b){a=a|0;b=b|0;a=kBb(20)|0;Aka(a,b);return a|0}function cF(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0.0,h=0.0,i=0,j=0,l=0,m=0,n=0,p=0,q=0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0,B=0.0,C=0.0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;K=r;r=r+256|0;b=k[c+4>>2]|0;d=k[c>>2]|0;if(((b-d|0)/20|0)>>>0<3){J=xf(16)|0;os(J,353410,K);Jc(J|0,96,27)}if((b-d|0)==60){k[K+184>>2]=k[d>>2];k[K+184+4>>2]=k[d+4>>2];k[K+184+8>>2]=k[d+8>>2];k[K+184+12>>2]=k[d+12>>2];k[K+184+16>>2]=k[d+16>>2];b=K+184+20|0;k[b>>2]=k[d+20>>2];k[b+4>>2]=k[d+20+4>>2];k[b+8>>2]=k[d+20+8>>2];k[b+12>>2]=k[d+20+12>>2];k[b+16>>2]=k[d+20+16>>2];b=K+184+40|0;k[b>>2]=k[d+40>>2];k[b+4>>2]=k[d+40+4>>2];k[b+8>>2]=k[d+40+8>>2];k[b+12>>2]=k[d+40+12>>2];k[b+16>>2]=k[d+40+16>>2];k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;b=kBb(60)|0;k[a>>2]=b;k[a+8>>2]=b+60;j=b;l=K+184|0;m=j+60|0;do{k[j>>2]=k[l>>2];j=j+4|0;l=l+4|0}while((j|0)<(m|0));k[a+4>>2]=b+60;r=K;return}k[K+172>>2]=0;J=K+172+4|0;k[J>>2]=0;k[K+172+8>>2]=0;do if((b|0)==(d|0)){j=d;e=b;f=b}else if(((b-d|0)/20|0)>>>0>1073741823)xzb(K+172|0);else{f=kBb(((b-d|0)/20|0)<<2)|0;k[K+172>>2]=f;k[K+172+8>>2]=f+(((b-d|0)/20|0)<<2);vBb(f|0,0,((b-d|0)/20|0)<<2|0)|0;k[J>>2]=f+(((b-d|0)/20|0)<<2);f=k[c>>2]|0;j=f;e=k[c+4>>2]|0;break}while(0);i=(e-f|0)/20|0;k[K+160>>2]=0;I=K+160+4|0;k[I>>2]=0;k[K+160+8>>2]=0;if((e|0)==(f|0)){l=f;d=0;i=0;e=0;b=f;A=13}else{if(i>>>0>1073741823)xzb(K+160|0);j=kBb(i<<2)|0;k[K+160>>2]=j;k[K+160+8>>2]=j+(i<<2);vBb(j|0,0,i<<2|0)|0;k[I>>2]=j+(i<<2);b=k[c+4>>2]|0;q=k[c>>2]|0;if((b|0)==(q|0)){l=q;d=j+(i<<2)|0;i=j;e=j;j=q;A=13}else{f=k[K+172>>2]|0;e=0;d=0;do{g=+o[q+(e*20|0)>>2];h=+o[q+(d*20|0)>>2];if(g>2]<+o[q+(d*20|0)+4>>2])A=20;if((A|0)==20){A=0;d=e}H=e;e=e+1|0;k[f+(H<<2)>>2]=e;k[j+(H<<2)>>2]=H+-1}while(e>>>0<((b-q|0)/20|0)>>>0);p=K+172|0;l=q;n=j+(i<<2)|0;i=j;e=j;m=k[K+172>>2]|0;j=q}}if((A|0)==13){m=k[K+172>>2]|0;p=K+172|0;f=m;n=d;d=0}k[f+(((k[J>>2]|0)-f>>2)+-1<<2)>>2]=0;k[i>>2]=(n-i>>2)+-1;G=k[e+(d<<2)>>2]|0;H=k[m+(d<<2)>>2]|0;C=+o[j+(G*20|0)>>2];B=+o[j+(G*20|0)+4>>2];if(!((+o[j+(d*20|0)>>2]-C)*(+o[j+(H*20|0)+4>>2]-B)-(+o[j+(d*20|0)+4>>2]-B)*(+o[j+(H*20|0)>>2]-C)>=0.0)){H=k[p>>2]|0;m=k[K+160>>2]|0;k[p>>2]=m;k[K+160>>2]=H;G=k[J>>2]|0;k[J>>2]=k[I>>2];k[I>>2]=G;G=k[K+172+8>>2]|0;k[K+172+8>>2]=n;k[K+160+8>>2]=G;n=H}else n=e;k[K+148>>2]=K+148;k[K+148+4>>2]=K+148;k[K+148+8>>2]=0;if((b|0)==(l|0))i=(b-l|0)/20|0;else{i=(b-l|0)/20|0;f=K+148|0;d=0;e=0;while(1){G=k[n+(e<<2)>>2]|0;b=j+(e*20|0)|0;H=k[m+(e<<2)>>2]|0;C=+o[j+(G*20|0)>>2];B=+o[j+(G*20|0)+4>>2];if(!((+o[b>>2]-C)*(+o[j+(H*20|0)+4>>2]-B)-(+o[j+(e*20|0)+4>>2]-B)*(+o[j+(H*20|0)>>2]-C)>=0.0)){H=kBb(12)|0;k[H+8>>2]=b;k[H+4>>2]=K+148;k[H>>2]=f;k[f+4>>2]=H;k[K+148>>2]=H;d=d+1|0;k[K+148+8>>2]=d;b=H}else b=f;e=e+1|0;if(e>>>0>>0){j=l;f=b}else break}}k[K+136>>2]=0;H=K+136+4|0;k[H>>2]=0;k[K+136+8>>2]=0;F=K+76+20|0;G=K+76+40|0;f=k[K+172>>2]|0;e=k[K+160>>2]|0;d=k[c>>2]|0;a:do if(i>>>0>3){E=k[K+148+4>>2]|0;b=1;b:while(1){A=E;B=+o[d+(b*20|0)>>2];C=+o[d+(b*20|0)+4>>2];q=0;c:while(1){p=b;b=k[f+(b<<2)>>2]|0;n=k[e+(p<<2)>>2]|0;j=d+(n*20|0)|0;p=d+(p*20|0)|0;D=d+(b*20|0)|0;w=+o[j>>2];x=+o[d+(n*20|0)+4>>2];y=B;B=+o[D>>2];z=C;C=+o[d+(b*20|0)+4>>2];s=C-x;t=B-w;d:do if((y-w)*s-(z-x)*t>=0.0){if((A|0)==(K+148|0)){d=D;break c}u=B-y;v=C-z;l=A;m=E;while(1){l=k[l+8>>2]|0;if(!((l|0)==(D|0)|((l|0)==(j|0)|(l|0)==(p|0)))){h=+o[l>>2];g=+o[l+4>>2];if(((x-z)*u-(w-y)*v)*(u*(g-z)-v*(h-y))>=0.0)if(((z-x)*t-(y-w)*s)*(t*(g-x)-s*(h-w))>=0.0)if(((y-w)*s-(z-x)*t)*((y-w)*(g-x)-(z-x)*(h-w))>=0.0)break d}m=k[m+4>>2]|0;l=m;if((l|0)==(K+148|0)){d=D;break c}}}while(0);q=q+1|0;if(q>>>0>i>>>0)break b}k[K+76>>2]=k[j>>2];k[K+76+4>>2]=k[j+4>>2];k[K+76+8>>2]=k[j+8>>2];k[K+76+12>>2]=k[j+12>>2];k[K+76+16>>2]=k[j+16>>2];k[F>>2]=k[p>>2];k[F+4>>2]=k[p+4>>2];k[F+8>>2]=k[p+8>>2];k[F+12>>2]=k[p+12>>2];k[F+16>>2]=k[p+16>>2];k[G>>2]=k[d>>2];k[G+4>>2]=k[d+4>>2];k[G+8>>2]=k[d+8>>2];k[G+12>>2]=k[d+12>>2];k[G+16>>2]=k[d+16>>2];d=k[H>>2]|0;if(d>>>0<(k[K+136+8>>2]|0)>>>0){j=d;l=K+76|0;m=j+60|0;do{k[j>>2]=k[l>>2];j=j+4|0;l=l+4|0}while((j|0)<(m|0));k[H>>2]=d+60}else{Ak(K+136|0,K+76|0);f=k[K+172>>2]|0;e=k[K+160>>2]|0}k[f+(n<<2)>>2]=b;k[e+(b<<2)>>2]=n;k[K+72>>2]=p;dF(K+148|0,K+72|0);i=i+-1|0;f=k[K+172>>2]|0;e=k[K+160>>2]|0;d=k[c>>2]|0;if(i>>>0<=3)break a;else E=k[K+148+4>>2]|0}J=xf(16)|0;os(J,353424,K+8|0);Jc(J|0,96,27)}else b=1;while(0);G=d+((k[e+(b<<2)>>2]|0)*20|0)|0;c=d+(b*20|0)|0;b=d+((k[f+(b<<2)>>2]|0)*20|0)|0;k[K+12>>2]=k[G>>2];k[K+12+4>>2]=k[G+4>>2];k[K+12+8>>2]=k[G+8>>2];k[K+12+12>>2]=k[G+12>>2];k[K+12+16>>2]=k[G+16>>2];d=K+12+20|0;k[d>>2]=k[c>>2];k[d+4>>2]=k[c+4>>2];k[d+8>>2]=k[c+8>>2];k[d+12>>2]=k[c+12>>2];k[d+16>>2]=k[c+16>>2];d=K+12+40|0;k[d>>2]=k[b>>2];k[d+4>>2]=k[b+4>>2];k[d+8>>2]=k[b+8>>2];k[d+12>>2]=k[b+12>>2];k[d+16>>2]=k[b+16>>2];d=k[H>>2]|0;b=k[K+136+8>>2]|0;if(d>>>0>>0){j=d;l=K+12|0;m=j+60|0;do{k[j>>2]=k[l>>2];j=j+4|0;l=l+4|0}while((j|0)<(m|0));k[H>>2]=d+60;d=d+60|0}else{Ak(K+136|0,K+12|0);d=k[H>>2]|0;b=k[K+136+8>>2]|0}k[a>>2]=k[K+136>>2];k[a+4>>2]=d;k[a+8>>2]=b;if(k[K+148+8>>2]|0){b=k[K+148+4>>2]|0;a=(k[K+148>>2]|0)+4|0;c=k[b>>2]|0;k[c+4>>2]=k[a>>2];k[k[a>>2]>>2]=c;k[K+148+8>>2]=0;if((b|0)!=(K+148|0))do{a=b;b=k[b+4>>2]|0;CAb(a)}while((b|0)!=(K+148|0))}b=k[K+160>>2]|0;if(b|0){d=k[I>>2]|0;if((d|0)!=(b|0))k[I>>2]=d+(~((d+-4-b|0)>>>2)<<2);CAb(b)}b=k[K+172>>2]|0;if(b|0){d=k[J>>2]|0;if((d|0)!=(b|0))k[J>>2]=d+(~((d+-4-b|0)>>>2)<<2);CAb(b)}r=K;return}function dF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0;l=r;r=r+16|0;k[l>>2]=l;k[l+4>>2]=l;k[l+8>>2]=0;e=k[a+4>>2]|0;if((e|0)==(a|0)){r=l;return}if((l|0)==(a|0)){g=e;f=e;while(1){d=k[g+8>>2]|0;c=k[f+4>>2]|0;if((d|0)==(k[b>>2]|0)){a:do if((c|0)==(a|0)){e=a;d=0}else{e=c;while(1){if((k[e+8>>2]|0)!=(d|0)){d=1;break a}c=k[c+4>>2]|0;e=c;if((e|0)==(a|0)){e=a;d=0;break}}}while(0);if((g|0)!=(e|0)){j=k[c>>2]|0;i=k[f>>2]|0;k[i+4>>2]=k[j+4>>2];k[k[j+4>>2]>>2]=i;i=k[l>>2]|0;k[i+4>>2]=g;k[f>>2]=i;k[l>>2]=j;k[j+4>>2]=a}if(d)c=k[c+4>>2]|0}g=c;if((g|0)==(a|0))break;else f=c}r=l;return}d=l;j=e;c=0;i=e;while(1){f=k[j+8>>2]|0;e=k[i+4>>2]|0;if((f|0)==(k[b>>2]|0)){b:do if((e|0)==(a|0)){g=a;h=0}else{g=e;while(1){if((k[g+8>>2]|0)!=(f|0)){h=1;break b}e=k[e+4>>2]|0;g=e;if((g|0)==(a|0)){g=a;h=0;break}}}while(0);if((j|0)!=(g|0)){f=j;d=0;do{d=d+1|0;f=k[f+4>>2]|0}while((f|0)!=(g|0));k[a+8>>2]=(k[a+8>>2]|0)-d;c=c+d|0;k[l+8>>2]=c;d=k[e>>2]|0;g=k[i>>2]|0;k[g+4>>2]=k[d+4>>2];k[k[d+4>>2]>>2]=g;g=k[l>>2]|0;k[g+4>>2]=j;k[i>>2]=g;k[l>>2]=d;k[d+4>>2]=l}if(h)e=k[e+4>>2]|0}j=e;if((j|0)==(a|0))break;else i=e}if(!c){r=l;return}c=k[l+4>>2]|0;a=k[c>>2]|0;k[a+4>>2]=k[d+4>>2];k[k[d+4>>2]>>2]=a;k[l+8>>2]=0;if((c|0)==(l|0)){r=l;return}do{a=c;c=k[c+4>>2]|0;CAb(a)}while((c|0)!=(l|0));r=l;return}function eF(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,f=0,g=0,h=0,i=0.0,j=0.0;h=k[b>>2]|0;b=((k[b+4>>2]|0)-h|0)/20|0;if(b>>>0<3){h=0;return h|0}c=+o[h+((b+-1|0)*20|0)>>2];i=+o[h+((b+-1|0)*20|0)+4>>2];d=+o[h>>2];e=+o[h+4>>2];c=(c-+o[h+((b+-2|0)*20|0)>>2])*(e-i)-(i-+o[h+((b+-2|0)*20|0)+4>>2])*(d-c);f=b+-1|0;g=0;while(1){a=g+1|0;if(a>>>0>=b>>>0){a=1;b=5;break}i=d;d=+o[h+(a*20|0)>>2];j=e;e=+o[h+(a*20|0)+4>>2];if(c*((i-+o[h+(f*20|0)>>2])*(e-j)-(j-+o[h+(f*20|0)+4>>2])*(d-i))<0.0){a=0;b=5;break}else{f=g;g=a}}if((b|0)==5)return a|0;return 0}function fF(a,b){a=a|0;b=+b;if(!(b<=.040449999272823334)){b=+Y(+((b+.054999999701976776)/1.0549999475479126),2.4000000953674316);return +b}else{b=b/12.920000076293945;return +b}return 0.0}function gF(a,b){a=a|0;b=+b;if(!(b<=3.1308000907301903e-03)){b=+Y(+b,.4166666567325592)*1.0549999475479126+-.054999999701976776;return +b}else{b=b*12.920000076293945;return +b}return 0.0}function hF(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=Gi[k[(k[c>>2]|0)+16>>2]&2047](c)|0;return iF(0,b,a,Gi[k[(k[c>>2]|0)+20>>2]&2047](c)|0,d)|0}function iF(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=r;r=r+16|0;a=LE(b)|0;if(!a){d=xf(16)|0;os(d,353452,f);Jc(d|0,96,27)}else{k[f+4>>2]=0;e=Ei[k[(k[a>>2]|0)+8>>2]&63](a,b,c,d,e,f+4|0)|0;c=kBb(24)|0;GE(c,b,e,k[f+4>>2]|0,d,1);r=f;return c|0}return 0}function jF(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=r;r=r+16|0;d=IE(b)|0;k[f+4>>2]=d;d=HE(b)|0;e=Gi[k[(k[b>>2]|0)+16>>2]&2047](b)|0;b=Gi[k[(k[b>>2]|0)+20>>2]&2047](b)|0;a=LE(d)|0;if(!a){c=xf(16)|0;os(c,353452,f);Jc(c|0,96,27)}else{e=Ni[k[(k[a>>2]|0)+12>>2]&127](a,d,e,b,f+4|0)|0;k[c>>2]=k[f+4>>2];r=f;return e|0}return 0}function kF(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=r;r=r+16|0;a=LE(b)|0;if(!a){e=xf(16)|0;os(e,353452,f);Jc(e|0,96,27)}else{e=Ni[k[(k[a>>2]|0)+12>>2]&127](a,b,c,d,e)|0;r=f;return e|0}return 0}function lF(a){a=a|0;Uj(a);k[a>>2]=15948;p[a+24>>3]=B;k[a+8>>2]=-876643772;k[a+8+4>>2]=20529293;k[a+16>>2]=-1308989176;k[a+16+4>>2]=204383418;return}function mF(a){a=a|0;CAb(a);return}function nF(a,b){a=a|0;b=b|0;var c=0,d=0;d=k[b>>2]|0;c=k[b+4>>2]|0;k[a+8>>2]=d;k[a+8+4>>2]=c;b=d;while(1){d=DBb(b|0,c|0,21)|0;c=xBb(d|0,L|0,~b|0,~c|0)|0;b=L;d=FBb(c|0,b|0,24)|0;b=KBb(d^c|0,L^b|0,265,0)|0;c=L;d=FBb(b|0,c|0,14)|0;c=KBb(d^b|0,L^c|0,21,0)|0;b=L;d=FBb(c|0,b|0,28)|0;b=KBb(d^c|0,L^b|0,-2147483647,0)|0;c=L;if((b|0)==0&(c|0)==0){b=0;c=0}else break}k[a+16>>2]=b;k[a+16+4>>2]=c;return}function oF(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=k[a+16>>2]|0;b=k[a+16+4>>2]|0;d=FBb(c|0,b|0,12)|0;b=L^b;e=DBb(d^c|0,b|0,25)|0;b=L^b;f=FBb(e^(d^c)|0,b|0,27)|0;b=L^b;k[a+16>>2]=f^(e^(d^c));k[a+16+4>>2]=b;a=KBb(f^(e^(d^c))|0,b|0,1332534557,625341585)|0;return a|0}function pF(a,b){a=a|0;b=+b;var c=0.0,d=0.0,e=0.0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0;c=+p[a+24>>3];if(c!=B){p[a+24>>3]=B;b=c*b;return +b}else{g=k[a+16>>2]|0;f=k[a+16+4>>2]|0;h=FBb(g|0,f|0,12)|0;f=L^f;i=DBb(h^g|0,f|0,25)|0;f=L^f;j=FBb(i^(h^g)|0,f|0,27)|0;f=L^f;l=KBb(j^(i^(h^g))|0,f|0,1332534557,625341585)|0;d=+X(+(+fa(+(1.0-(+(l>>>0)+4294967296.0*+(L>>>0))*5.421010862427522e-20))*-2.0));l=FBb(j^(i^(h^g))|0,f|0,12)|0;f=L^f;m=DBb(l^(j^(i^(h^g)))|0,f|0,25)|0;f=L^f;n=FBb(m^(l^(j^(i^(h^g))))|0,f|0,27)|0;f=L^f;k[a+16>>2]=n^(m^(l^(j^(i^(h^g)))));k[a+16+4>>2]=f;f=KBb(n^(m^(l^(j^(i^(h^g)))))|0,f|0,1332534557,625341585)|0;c=(1.0-(+(f>>>0)+4294967296.0*+(L>>>0))*5.421010862427522e-20)*6.283185307179586;e=d*+Z(+c);p[a+24>>3]=e;c=d*+_(+c);b=c*b;return +b}return 0.0}function qF(a,b){a=a|0;b=b|0;var c=0;c=k[b+8+4>>2]|0;k[a>>2]=k[b+8>>2];k[a+4>>2]=c;return}function rF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=r;r=r+16|0;g=i[b>>0]|0;f=(g&1)==0?b+1|0:k[b+8>>2]|0;g=(g&1)==0?(g&255)>>>1:k[b+4>>2]|0;a:do if(g>>>0>=2)if((g|0)>=2)if((f+g+-1|0)!=(f|0)){c=f;b:while(1){if((i[c>>0]|0)==48){d=c;e=353510;do{e=e+1|0;if((e|0)==353512)break b;d=d+1|0}while((i[d>>0]|0)==(i[e>>0]|0))}c=c+1|0;if((c|0)==(f+g+-1|0))break a}if(!((c|0)!=(f|0)|(c|0)==(f+g|0)|g>>>0<3)){k[h+12>>2]=0;c=jmb(f,h+12|0,16)|0;d=L;e=k[h+12>>2]|0;if(!e){a=a+16|0;b=a;k[b>>2]=c;a=a+4|0;k[a>>2]=d;r=h;return}if(!(i[e>>0]|0)){a=a+16|0;b=a;k[b>>2]=c;a=a+4|0;k[a>>2]=d;r=h;return}else{a=xf(16)|0;k[h+8>>2]=(i[b>>0]&1)==0?b+1|0:k[b+8>>2]|0;os(a,353513,h+8|0);Jc(a|0,96,27)}}}while(0);a=xf(16)|0;k[h>>2]=(i[b>>0]&1)==0?b+1|0:k[b+8>>2]|0;os(a,353513,h);Jc(a|0,96,27)}function sF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=r;r=r+160|0;k[c+8>>2]=9184;k[c>>2]=9388;k[c+64>>2]=9408;k[c+4>>2]=0;Fsb(c+64|0,c+12|0);k[c+136>>2]=0;k[c+140>>2]=-1;k[c>>2]=9164;k[c+64>>2]=9204;k[c+8>>2]=9184;Hsb(c+12|0);k[c+12>>2]=9220;k[c+44>>2]=0;k[c+44+4>>2]=0;k[c+44+8>>2]=0;k[c+44+12>>2]=0;k[c+60>>2]=24;k[c+144>>2]=0;k[c+144+4>>2]=0;k[c+144+8>>2]=0;ok(c+12|0,c+144|0);_qb(c+144|0);d=pk(c+8|0,353510,2)|0;k[d+(k[(k[d>>2]|0)+-12>>2]|0)+76>>2]=48;k[d+(k[(k[d>>2]|0)+-12>>2]|0)+12>>2]=16;e=d+(k[(k[d>>2]|0)+-12>>2]|0)+4|0;k[e>>2]=k[e>>2]&-75|8;Qsb(d,k[b+16>>2]|0,k[b+16+4>>2]|0)|0;rk(a,c+12|0);k[c>>2]=9164;k[c+64>>2]=9204;k[c+8>>2]=9184;k[c+12>>2]=9220;_qb(c+44|0);Irb(c+12|0);Erb(c+64|0);r=c;return}function tF(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((DDa(a,b)|0)!=7){k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0}d=RDa(a,b)|0;if(k[(k[155799]|0)+(k[d>>2]<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0){c=d+4|0;c=k[c>>2]|0;r=e;return c|0}k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0;c=d+4|0;c=k[c>>2]|0;r=e;return c|0}function uF(a){a=a|0;var b=0;b=tF(a,1,26)|0;VDa(a,+((((k[b+12>>2]|0)-(k[b+8>>2]|0)>>3)+-1|0)>>>0));return 1}function vF(a){a=a|0;var b=0,c=0;c=tF(a,1,26)|0;b=kBb(20)|0;Eka(b,c);Rs(a,26,b);Si[k[(k[b>>2]|0)+12>>2]&1023](b);return 1}function wF(a){a=a|0;var b=0.0,c=0,d=0;d=tF(a,1,26)|0;c=~~+lHa(a,2);c=Fka(d,(((c|0)>0)<<31>>31)+c|0)|0;b=+o[c+4>>2];VDa(a,+o[c>>2]);VDa(a,b);return 2}function xF(a){a=a|0;var b=0,c=0,d=0,e=0.0,f=0.0;b=r;r=r+16|0;d=tF(a,1,26)|0;c=~~+lHa(a,2);f=+lHa(a,3);e=+lHa(a,4);o[b>>2]=f;o[b+4>>2]=e;Gka(d,(((c|0)>0)<<31>>31)+c|0,b);r=b;return 0}function yF(a){a=a|0;var b=0,c=0,d=0.0,e=0.0;b=r;r=r+16|0;c=tF(a,1,26)|0;e=+lHa(a,2);d=+lHa(a,3);a=~~+mHa(a,4,-1.0);o[b>>2]=e;o[b+4>>2]=d;Hka(c,b,(((a|0)>0)<<31>>31)+a|0);r=b;return 0}function zF(a){a=a|0;var b=0;b=tF(a,1,26)|0;a=~~+lHa(a,2);Jka(b,(((a|0)>0)<<31>>31)+a|0);return 0}function AF(a){a=a|0;var b=0;b=tF(a,1,26)|0;WDa(a,(k[b+12>>2]|0)-(k[b+8>>2]|0)>>3);return 1}function BF(a){a=a|0;var b=0,c=0,d=0.0,e=0.0;b=r;r=r+16|0;c=tF(a,1,26)|0;e=+lHa(a,2);d=+lHa(a,3);o[b>>2]=e;o[b+4>>2]=d;Kka(c,b);r=b;return 0}function CF(a){a=a|0;var b=0,c=0.0,d=0,e=0.0,f=0.0;b=r;r=r+16|0;d=tF(a,1,26)|0;c=+lHa(a,2);f=+mHa(a,3,0.0);e=+mHa(a,4,0.0);o[b>>2]=f;o[b+4>>2]=e;Lka(d,c,b);r=b;return 0}function DF(a){a=a|0;var b=0,c=0.0,d=0,e=0.0,f=0.0;b=r;r=r+16|0;d=tF(a,1,26)|0;c=+lHa(a,2);f=+mHa(a,3,0.0);e=+mHa(a,4,0.0);o[b>>2]=f;o[b+4>>2]=e;Mka(d,c,b);r=b;return 0}function EF(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;c=tF(a,1,26)|0;Nka(b,c,+lHa(a,2));VDa(a,+o[b>>2]);VDa(a,+o[b+4>>2]);r=b;return 2}function FF(a){a=a|0;var b=0,c=0.0;b=tF(a,1,26)|0;c=+lHa(a,2);b=Oka(b,c,+lHa(a,3))|0;Rs(a,26,b);Si[k[(k[b>>2]|0)+12>>2]&1023](b);return 1}function GF(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;e=r;r=r+16|0;b=tF(a,1,26)|0;Pka(e,b,~~+mHa(a,2,5.0));b=k[e>>2]|0;c=(k[e+4>>2]|0)-b|0;hEa(a,c>>2,0);if((c|0)>0){d=0;do{VDa(a,+o[b+(d<<3)>>2]);f=d<<1;nEa(a,-2,f|1);VDa(a,+o[b+(d<<3)+4>>2]);nEa(a,-2,f+2|0);d=d+1|0}while((d|0)<(c>>3|0))}if(!b){r=e;return 1}CAb(b);r=e;return 1}function HF(a){a=a|0;var b=0,c=0,d=0,e=0,f=0.0,g=0.0,h=0;e=r;r=r+16|0;b=tF(a,1,26)|0;g=+lHa(a,2);f=+lHa(a,3);Ska(e,b,g,f,oHa(a,4,5)|0);b=k[e>>2]|0;c=(k[e+4>>2]|0)-b|0;hEa(a,c>>2,0);if(c>>3|0){d=0;do{VDa(a,+o[b+(d<<3)>>2]);h=d<<1;nEa(a,-2,h|1);VDa(a,+o[b+(d<<3)+4>>2]);nEa(a,-2,h+2|0);d=d+1|0}while(d>>>0>3>>>0)}if(!b){r=e;return 1}CAb(b);r=e;return 1}function IF(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=15964;k[b+4>>2]=0;a=Is(a,26,353538,b)|0;r=b;return a|0}function JF(a,b){a=a|0;b=b|0;return KF(a,b,27)|0}function KF(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((DDa(a,b)|0)!=7){k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0}d=RDa(a,b)|0;if(k[(k[155799]|0)+(k[d>>2]<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0){c=d+4|0;c=k[c>>2]|0;r=e;return c|0}k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0;c=d+4|0;c=k[c>>2]|0;r=e;return c|0}function LF(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;c=KF(a,1,27)|0;k[b+4>>2]=0;if(WE(HE(c)|0,b+4|0)|0){YDa(a,k[b+4>>2]|0);c=1;r=b;return c|0}else{c=aHa(a,353729,b)|0;r=b;return c|0}return 0}function MF(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=12068;k[b+4>>2]=16084;k[b+8>>2]=0;a=Is(a,27,353761,b)|0;r=b;return a|0}function NF(a){a=a|0;var b=0,c=0;k[a>>2]=16108;b=k[a+8>>2]|0;if(b|0){Si[k[(k[b>>2]|0)+12>>2]&1023](b);k[a+8>>2]=0;Cjb(Gjb()|0)}b=k[a+12>>2]|0;if((b|0)!=(a+16|0)){c=b;while(1){b=k[c+20>>2]|0;Si[k[(k[b>>2]|0)+12>>2]&1023](b);b=k[c+4>>2]|0;if(!b)while(1){b=k[c+8>>2]|0;if((k[b>>2]|0)==(c|0))break;else c=b}else while(1){c=k[b>>2]|0;if(!c)break;else b=c}if((b|0)==(a+16|0))break;else c=b}}OF(a+12|0,k[a+16>>2]|0);b=k[a+8>>2]|0;if(!b){Hj(a);return}Si[k[(k[b>>2]|0)+12>>2]&1023](b);Hj(a);return}function OF(a,b){a=a|0;b=b|0;if(!b)return;else{OF(a,k[b>>2]|0);OF(a,k[b+4>>2]|0);CAb(b);return}}function PF(a){a=a|0;NF(a);CAb(a);return}function QF(a){a=a|0;return 9}function RF(a){a=a|0;return 353820}function SF(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=kBb(20)|0;Zka(a,b,c,d);return a|0}function TF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=r;r=r+16|0;d=k[a+16>>2]|0;if(d|0){c=a+16|0;a:do{while(1){if((k[d+16>>2]|0)>=(b|0)){c=d;break}d=k[d+4>>2]|0;if(!d)break a}d=k[c>>2]|0}while((d|0)!=0);if((c|0)!=(a+16|0))if((k[c+16>>2]|0)<=(b|0)){a=k[c+20>>2]|0;r=h;return a|0}}g=kBb(20)|0;_ka(g,b);c=k[a+16>>2]|0;do if(!c){k[h>>2]=a+16;e=a+16|0;d=a+16|0;f=19}else{while(1){d=k[c+16>>2]|0;if((d|0)>(b|0)){d=k[c>>2]|0;if(!d){d=c;f=12;break}else c=d}else{if((d|0)>=(b|0)){f=18;break}e=c+4|0;d=k[e>>2]|0;if(!d){f=16;break}else c=d}}if((f|0)==12){k[h>>2]=c;e=d;d=c;f=19;break}else if((f|0)==16){k[h>>2]=c;d=c;f=19;break}else if((f|0)==18){k[h>>2]=c;if(!c){e=h;d=c;f=19;break}else break}}while(0);if((f|0)==19){c=kBb(24)|0;k[c+16>>2]=b;k[c+20>>2]=0;k[c>>2]=0;k[c+4>>2]=0;k[c+8>>2]=d;k[e>>2]=c;d=k[k[a+12>>2]>>2]|0;if(!d)d=c;else{k[a+12>>2]=d;d=k[e>>2]|0}Qj(k[a+16>>2]|0,d);k[a+20>>2]=(k[a+20>>2]|0)+1}k[c+20>>2]=g;a=g;r=h;return a|0}function UF(a,b){a=a|0;b=b|0;var c=0;if(b|0)Si[k[(k[b>>2]|0)+8>>2]&1023](b);c=k[a+8>>2]|0;if(c|0)Si[k[(k[c>>2]|0)+12>>2]&1023](c);k[a+8>>2]=b;Cjb(Gi[k[(k[b>>2]|0)+16>>2]&2047](b)|0);return}function VF(a){a=a|0;var b=0;b=k[a+8>>2]|0;if(b|0)Si[k[(k[b>>2]|0)+12>>2]&1023](b);k[a+8>>2]=0;Cjb(Gjb()|0);return}function WF(a){a=a|0;return k[a+8>>2]|0}function XF(a){a=a|0;return (Gjb()|0)!=0|0}function YF(a){a=a|0;var b=0.0,c=0;c=r;r=r+16|0;M7a(c+8|0,0)|0;b=+(k[c+8>>2]|0);p[c>>3]=b;a=k[155714]|0;if(!a){r=c;return +b}kj[k[(k[a>>2]|0)+144>>2]&255](a,c,0);b=+p[c>>3];r=c;return +b}function ZF(a){a=a|0;var b=0.0,c=0;c=r;r=r+16|0;M7a(0,c+8|0)|0;b=+(k[c+8>>2]|0);p[c>>3]=b;a=k[155714]|0;if(!a){r=c;return +b}kj[k[(k[a>>2]|0)+144>>2]&255](a,0,c);b=+p[c>>3];r=c;return +b}function _F(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;M7a(d+4|0,d)|0;p[b>>3]=+(k[d+4>>2]|0);p[c>>3]=+(k[d>>2]|0);a=k[155714]|0;if(!a){r=d;return}kj[k[(k[a>>2]|0)+144>>2]&255](a,b,c);r=d;return}function $F(a,b){a=a|0;b=+b;var c=0.0,d=0,e=0;e=k[a>>2]|0;d=k[e+68>>2]|0;c=+Xi[k[e+52>>2]&63](a);Qi[d&3](a,b,c);return}function aG(a,b){a=a|0;b=+b;var c=0.0,d=0,e=0;e=k[a>>2]|0;d=k[e+68>>2]|0;c=+Xi[k[e+48>>2]&63](a);Qi[d&3](a,c,b);return}function bG(a,b,c){a=a|0;b=+b;c=+c;var d=0,e=0;e=r;r=r+16|0;p[e+8>>3]=b;p[e>>3]=c;a=k[155714]|0;if(!a)a=0;else{a=Gi[k[(k[a>>2]|0)+172>>2]&2047](a)|0;d=k[155714]|0;if(d){kj[k[(k[d>>2]|0)+148>>2]&255](d,e+8|0,e);b=+p[e+8>>3];c=+p[e>>3]}}e7a(a,~~b,~~c);pjb();r=e;return}function cG(a,b){a=a|0;b=b|0;ljb(b&1)|0;return}function dG(a,b){a=a|0;b=b|0;var c=0,d=0;d=M7a(0,0)|0;a=k[b>>2]|0;c=k[b+4>>2]|0;if((a|0)==(c|0)){d=0;return d|0}while(1){b=k[a>>2]|0;if((b|0)>=1){switch(b|0){case 2:{b=3;break}case 3:{b=2;break}default:{}}if(1<>2]|0)+132>>2]&511](a,b);return}function gG(a){a=a|0;a=k[155714]|0;if(!a){a=0;return a|0}a=Gi[k[(k[a>>2]|0)+136>>2]&2047](a)|0;return a|0}function hG(a,b){a=a|0;b=b|0;return (nhb(b&1)|0)==0|0}function iG(a){a=a|0;return (kjb()|0)!=0|0}function jG(a){a=a|0;Uj(a);k[a>>2]=16108;k[a+8>>2]=0;k[a+16>>2]=0;k[a+20>>2]=0;k[a+12>>2]=a+16;return}function kG(a){a=a|0;return}function lG(){var a=0,b=0,c=0,d=0,e=0;e=r;r=r+16|0;mG(627772,16208,96);i[628116]=0;i[628128]=0;i[628140]=0;i[628152]=0;k[157039]=0;k[157040]=0;a=i[353902]|0;if(!(a<<24>>24))b=5381;else{c=353902;b=5381;do{c=c+1|0;b=(b*33|0)+(a<<24>>24)|0;a=i[c>>0]|0}while(a<<24>>24!=0)}a=b&3;if(!(i[628108+(a*12|0)+8>>0]|0)){b=a;a=628108+(a*12|0)+8|0;d=5}else{a=b+1&3;if(!(i[628108+(a*12|0)+8>>0]|0)){b=a;a=628108+(a*12|0)+8|0;d=5}else{a=b+2&3;if(!(i[628108+(a*12|0)+8>>0]|0)){b=a;a=628108+(a*12|0)+8|0;d=5}else{a=b+3&3;if(!(i[628108+(a*12|0)+8>>0]|0)){b=a;a=628108+(a*12|0)+8|0;d=5}}}}if((d|0)==5){i[a>>0]=1;k[628108+(b*12|0)>>2]=353902;k[628108+(b*12|0)+4>>2]=0}if(0>1){k[e>>2]=353902;k[e+4>>2]=0;Jpb(441170,e)|0}else k[157039]=353902;a=i[435995]|0;if(!(a<<24>>24))b=5381;else{c=435995;b=5381;do{c=c+1|0;b=(b*33|0)+(a<<24>>24)|0;a=i[c>>0]|0}while(a<<24>>24!=0)}a=b&3;if(!(i[628108+(a*12|0)+8>>0]|0)){b=a;a=628108+(a*12|0)+8|0;d=17}else{a=b+1&3;if(!(i[628108+(a*12|0)+8>>0]|0)){b=a;a=628108+(a*12|0)+8|0;d=17}else{a=b+2&3;if(!(i[628108+(a*12|0)+8>>0]|0)){b=a;a=628108+(a*12|0)+8|0;d=17}else{a=b+3&3;if(!(i[628108+(a*12|0)+8>>0]|0)){b=a;a=628108+(a*12|0)+8|0;d=17}}}}if((d|0)==17){i[a>>0]=1;k[628108+(b*12|0)>>2]=435995;k[628108+(b*12|0)+4>>2]=1}if(1>1){k[e+8>>2]=435995;k[e+8+4>>2]=1;Jpb(441170,e+8|0)|0;r=e;return}else{k[157040]=435995;r=e;return}}function mG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0;m=r;r=r+16|0;i[a+8>>0]=0;i[a+20>>0]=0;i[a+32>>0]=0;i[a+44>>0]=0;i[a+56>>0]=0;i[a+68>>0]=0;i[a+80>>0]=0;i[a+92>>0]=0;i[a+104>>0]=0;i[a+116>>0]=0;i[a+128>>0]=0;i[a+140>>0]=0;i[a+152>>0]=0;i[a+164>>0]=0;i[a+176>>0]=0;i[a+188>>0]=0;i[a+200>>0]=0;i[a+212>>0]=0;i[a+224>>0]=0;i[a+236>>0]=0;i[a+248>>0]=0;i[a+260>>0]=0;i[a+272>>0]=0;i[a+284>>0]=0;d=a+288|0;e=d+48|0;do{k[d>>2]=0;d=d+4|0}while((d|0)<(e|0));if(!(c>>>3)){r=m;return}else j=0;do{g=k[b+(j<<3)>>2]|0;h=k[b+(j<<3)+4>>2]|0;d=i[g>>0]|0;if(!(d<<24>>24))e=5381;else{f=g;e=5381;do{f=f+1|0;e=(e*33|0)+(d<<24>>24)|0;d=i[f>>0]|0}while(d<<24>>24!=0)}f=0;do{d=((f+e|0)>>>0)%24|0;f=f+1|0;if(!(i[a+(d*12|0)+8>>0]|0)){l=8;break}}while(f>>>0<24);if((l|0)==8){l=0;i[a+(d*12|0)+8>>0]=1;k[a+(d*12|0)>>2]=g;k[a+(d*12|0)+4>>2]=h}if(h>>>0>11){k[m>>2]=g;k[m+4>>2]=h;Jpb(441170,m)|0}else k[a+288+(h<<2)>>2]=g;j=j+1|0}while((j|0)!=(c>>>3|0));r=m;return}function nG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0;c=i[a>>0]|0;if(!(c<<24>>24))d=5381;else{e=a;d=5381;do{e=e+1|0;d=(d*33|0)+(c<<24>>24)|0;c=i[e>>0]|0}while(c<<24>>24!=0)}h=0;while(1){g=((h+d|0)>>>0)%24|0;if(!(i[627772+(g*12|0)+8>>0]|0)){c=1;d=0;j=11;break}e=k[627772+(g*12|0)>>2]|0;f=i[e>>0]|0;a:do if(!(f<<24>>24)){c=a;j=8}else{c=a;while(1){l=i[c>>0]|0;if(!(l<<24>>24?f<<24>>24==l<<24>>24:0))break a;e=e+1|0;c=c+1|0;f=i[e>>0]|0;if(!(f<<24>>24)){j=8;break}}}while(0);if((j|0)==8){j=0;if(!(i[c>>0]|0)){j=9;break}}h=h+1|0;if(h>>>0>=24){c=0;d=0;j=11;break}}if((j|0)==9){k[b>>2]=k[627772+(g*12|0)+4>>2];j=1;l=1;l=j&l;return l|0}else if((j|0)==11){l=c&d;return l|0}return 0}function oG(a,b){a=a|0;b=b|0;if(a>>>0>11)a=0;else{a=k[628060+(a<<2)>>2]|0;if(!a)a=0;else{k[b>>2]=a;a=1}}return a|0}function pG(a,b){a=a|0;b=b|0;if(a>>>0>1)a=0;else{a=k[628156+(a<<2)>>2]|0;if(!a)a=0;else{k[b>>2]=a;a=1}}return a|0}function qG(a,b){a=a|0;b=b|0;return rG(a,b,31)|0}function rG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((DDa(a,b)|0)!=7){k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0}d=RDa(a,b)|0;if(k[(k[155799]|0)+(k[d>>2]<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0){c=d+4|0;c=k[c>>2]|0;r=e;return c|0}k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0;c=d+4|0;c=k[c>>2]|0;r=e;return c|0}function sG(a){a=a|0;var b=0,c=0,d=0,e=0;d=r;r=r+16|0;b=rG(a,1,31)|0;e=Gi[k[(k[b>>2]|0)+20>>2]&2047](b)|0;k[d+4>>2]=0;switch(e|0){case 1:{pG(1,d+4|0)|0;c=4;break}case 0:{oG(Gi[k[(k[b>>2]|0)+24>>2]&2047](b)|0,d+4|0)|0;c=4;break}default:{}}if((c|0)==4){b=k[d+4>>2]|0;if(b|0){YDa(a,b);e=1;r=d;return e|0}}e=aHa(a,353930,d)|0;r=d;return e|0}function tG(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=16304;k[b+4>>2]=0;a=Is(a,31,353951,b)|0;r=b;return a|0}function uG(a){a=a|0;var b=0,c=0;k[a>>2]=16328;b=k[a+12>>2]|0;do if(b|0){c=k[b>>2]|0;if(c){Si[k[(k[c>>2]|0)+4>>2]&1023](c);b=k[a+12>>2]|0;if(!b)break}CAb(b)}while(0);pN(a);return}function vG(a){a=a|0;var b=0,c=0;k[a>>2]=16328;b=k[a+12>>2]|0;do if(b|0){c=k[b>>2]|0;if(c){Si[k[(k[c>>2]|0)+4>>2]&1023](c);b=k[a+12>>2]|0;if(!b)break}CAb(b)}while(0);pN(a);CAb(a);return}function wG(a,b){a=a|0;b=b|0;Uj(a);k[a>>2]=16328;k[a+8>>2]=k[b+12>>2];k[a+12>>2]=0;k[a+16>>2]=b;k[a+20>>2]=0;b=kBb(4)|0;k[a+12>>2]=b;k[b>>2]=0;return}function xG(a,b,c){a=a|0;b=b|0;c=c|0;Uj(a);k[a>>2]=16328;k[a+8>>2]=k[b+12>>2];k[a+12>>2]=0;k[a+16>>2]=b;k[a+20>>2]=c;c=kBb(4)|0;k[a+12>>2]=c;k[c>>2]=0;return}function yG(a){a=a|0;a=k[(k[a+24>>2]|0)+4>>2]|0;do switch(a|0){case 1:{a=2;break}case 2:{a=3;break}case 3:{a=1;break}case 4:{a=5;break}case 5:{a=4;break}case 6:break;case 9:{a=7;break}case 8:break;case 7:{a=9;break}case 10:break;case 11:break;default:a=0}while(0);return a|0}function zG(a){a=a|0;var b=0;b=r;r=r+16|0;a=k[(k[a+24>>2]|0)+48>>2]|0;if(!a){a=0;r=b;return a|0}a=q_(a)|0;if(!a){a=xf(16)|0;os(a,354715,b);Jc(a|0,96,27)}r=b;return a|0}function AG(a){a=a|0;var b=0;b=r;r=r+16|0;a=k[(k[a+24>>2]|0)+52>>2]|0;if(!a){a=0;r=b;return a|0}a=q_(a)|0;if(!a){a=xf(16)|0;os(a,354715,b);Jc(a|0,96,27)}r=b;return a|0}function BG(a){a=a|0;return (k[a+24>>2]|0)!=0|0}function CG(a,b){a=a|0;b=b|0;var c=0,d=0;c=r;r=r+32|0;d=k[a+24>>2]|0;Di[k[k[d>>2]>>2]&511](c+24|0,d);VDa(b,+mH(+o[c+24>>2]));d=k[a+24>>2]|0;Di[k[k[d>>2]>>2]&511](c+16|0,d);VDa(b,+mH(+o[c+16+4>>2]));d=k[a+24>>2]|0;Di[k[(k[d>>2]|0)+4>>2]&511](c+8|0,d);VDa(b,+mH(+o[c+8>>2]));a=k[a+24>>2]|0;Di[k[(k[a>>2]|0)+4>>2]&511](c,a);VDa(b,+mH(+o[c+4>>2]));r=c;return 4}function DG(a,b){a=a|0;b=b|0;var c=0,d=0.0;c=r;r=r+16|0;d=+lHa(b,1);a=k[a+24>>2]|0;Wi[k[(k[a>>2]|0)+8>>2]&31](c,a,d);pH(c+8|0,c);VDa(b,+o[c+8>>2]);VDa(b,+o[c+8+4>>2]);r=c;return 2}function EG(a,b){a=a|0;b=+b;a=k[a+24>>2]|0;return +(+mH(+mH(+lj[k[(k[a>>2]|0)+12>>2]&15](a,b))))}function FG(a,b){a=a|0;b=b|0;k[b+4>>2]=k[a+12>>2];b=wT(k[(k[a+8>>2]|0)+20>>2]|0,b)|0;k[a+24>>2]=b;o_(b,a);Si[k[(k[a>>2]|0)+8>>2]&1023](a);return k[a+24>>2]|0}function GG(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+16|0;c=k[(k[a+8>>2]|0)+20>>2]|0;if(!(k[c+102868>>2]&2)){if(!b){b=k[a+24>>2]|0;if(b|0)vT(c,b)}p_(k[a+24>>2]|0);k[a+24>>2]=0;Si[k[(k[a>>2]|0)+12>>2]&1023](a);r=d;return}else{Si[k[(k[a>>2]|0)+8>>2]&1023](a);b=k[a+8>>2]|0;k[d>>2]=a;c=k[b+56>>2]|0;if(c>>>0<(k[b+60>>2]|0)>>>0){k[c>>2]=a;k[b+56>>2]=(k[b+56>>2]|0)+4;r=d;return}else{HG(b+52|0,d);r=d;return}}}function HG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=k[a>>2]|0;c=((k[a+4>>2]|0)-i>>2)+1|0;if(c>>>0>1073741823)xzb(a);d=(k[a+8>>2]|0)-i|0;if(d>>2>>>0<536870911){c=d>>1>>>0>>0?c:d>>1;e=k[a+4>>2]|0;if(!c){h=0;f=0;d=e-i>>2;c=e}else{g=e;d=e-i>>2;j=6}}else{d=k[a+4>>2]|0;c=1073741823;g=d;d=d-i>>2;j=6}if((j|0)==6){h=c;f=kBb(c<<2)|0;c=g}j=f+(d<<2)|0;k[j>>2]=k[b>>2];b=c-i|0;ABb(j+(0-(b>>2)<<2)|0,i|0,b|0)|0;k[a>>2]=j+(0-(b>>2)<<2);k[a+4>>2]=j+4;k[a+8>>2]=f+(h<<2);if(!i)return;CAb(i);return}function IG(a){a=a|0;return (i[(k[a+24>>2]|0)+61>>0]|0)!=0|0}function JG(a,b){a=a|0;b=b|0;var c=0;zs(b,1,1)|0;c=k[k[a+12>>2]>>2]|0;if(c|0)Si[k[(k[c>>2]|0)+4>>2]&1023](c);c=kBb(12)|0;t_(c,b);k[k[a+12>>2]>>2]=c;return 0}function KG(a,b){a=a|0;b=b|0;a=k[a+12>>2]|0;if(a|0){a=k[a>>2]|0;if(a|0){v_(a,b);return 1}}UDa(b);return 1}function LG(a){a=a|0;Hj(a);CAb(a);return}function MG(a){a=a|0;return 10}function NG(a){a=a|0;return 354016}function OG(a,b,c,d){a=a|0;b=+b;c=+c;d=d|0;var e=0;e=r;r=r+16|0;a=kBb(108)|0;o[e>>2]=b;o[e+4>>2]=c;k[e+8>>2]=k[e>>2];k[e+8+4>>2]=k[e+4>>2];DJ(a,e+8|0,d);r=e;return a|0}function PG(a,b,c,d,e){a=a|0;b=b|0;c=+c;d=+d;e=e|0;var f=0;f=r;r=r+16|0;a=kBb(20)|0;o[f>>2]=c;o[f+4>>2]=d;k[f+8>>2]=k[f>>2];k[f+8+4>>2]=k[f+4>>2];bla(a,b,f+8|0,e);r=f;return a|0}function QG(a,b){a=a|0;b=+b;var c=0,d=0.0;c=kBb(20)|0;k[c>>2]=19548;k[c+4>>2]=0;d=+(k[4086]|0);o[c+12>>2]=0.0/d;o[c+16>>2]=0.0/d;o[c+8>>2]=b/d;a=kBb(16)|0;tma(a,c,1);return a|0}function RG(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;var e=0,f=0.0;e=kBb(20)|0;k[e>>2]=19548;k[e+4>>2]=0;k[e+4+4>>2]=0;k[e+4+8>>2]=0;f=+(k[4086]|0);o[e+12>>2]=b/f;o[e+16>>2]=c/f;o[e+8>>2]=d/f;a=kBb(16)|0;tma(a,e,1);return a|0}function SG(a,b){a=a|0;b=b|0;var c=0.0,d=0;d=k[b>>2]|0;b=k[b+4>>2]|0;k[a>>2]=d;k[a+4>>2]=b;c=+(k[4086]|0);o[a>>2]=(k[t>>2]=d,+o[t>>2])/c;o[a+4>>2]=(k[t>>2]=b,+o[t>>2])/c;return}function TG(a){a=+a;return +(a/+(k[4086]|0))}function UG(a,b,c){a=a|0;b=+b;c=+c;var d=0,e=0,f=0.0;d=r;r=r+16|0;e=kBb(152)|0;k[e>>2]=19628;k[e+4>>2]=2;o[e+8>>2]=.009999999776482582;k[e+148>>2]=0;o[e+12>>2]=0.0;o[e+16>>2]=0.0;f=+(k[4086]|0);k[d>>2]=0;k[d+4>>2]=0;o[d>>2]=0.0/f;o[d+4>>2]=0.0/f;$S(e,b*.5/f,c*.5/f,d,0.0);a=kBb(16)|0;tH(a,e,1);r=d;return a|0}function VG(a,b,c,d,e,f){a=a|0;b=+b;c=+c;d=+d;e=+e;f=+f;var g=0,h=0,i=0.0,j=0.0,l=0.0;g=r;r=r+16|0;h=kBb(152)|0;k[h>>2]=19628;k[h+4>>2]=2;o[h+8>>2]=.009999999776482582;k[h+148>>2]=0;o[h+12>>2]=0.0;o[h+16>>2]=0.0;i=+(k[4086]|0);l=+b;j=+c;o[g>>2]=l;o[g+4>>2]=j;o[g>>2]=b/i;o[g+4>>2]=c/i;$S(h,d*.5/i,e*.5/i,g,f);a=kBb(16)|0;tH(a,h,1);r=g;return a|0}function WG(a,b,c,d,e){a=a|0;b=+b;c=+c;d=+d;e=+e;var f=0,g=0,h=0.0,i=0.0;f=r;r=r+16|0;g=kBb(48)|0;k[g>>2]=19588;k[g+4>>2]=1;o[g+8>>2]=.009999999776482582;k[g+28>>2]=0;k[g+28+4>>2]=0;k[g+28+8>>2]=0;k[g+28+12>>2]=0;j[g+28+16>>1]=0;i=+b;h=+c;o[f+8>>2]=i;o[f+8+4>>2]=h;h=+(k[4086]|0);o[f+8>>2]=b/h;o[f+8+4>>2]=c/h;b=+d;c=+e;o[f>>2]=b;o[f+4>>2]=c;o[f>>2]=d/h;o[f+4>>2]=e/h;TS(g,f+8|0,f);a=kBb(16)|0;bna(a,g,1);r=f;return a|0}function XG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0.0,g=0.0,h=0.0;e=r;r=r+96|0;a=xDa(b)|0;c=(DDa(b,1)|0)==5;if(c)a=Ps(b,1)|0;if(a&1|0){b=aHa(b,354035,e)|0;r=e;return b|0}d=(a|0)/2|0;if((a|0)<6){k[e+8>>2]=d;b=aHa(b,354090,e+8|0)|0;r=e;return b|0}if((a|0)>17){k[e+16>>2]=8;k[e+16+4>>2]=d;b=aHa(b,354132,e+16|0)|0;r=e;return b|0}if(c){a=0;do{c=a<<1;gEa(b,1,c|1);gEa(b,1,c+2|0);h=+lHa(b,-2);g=+lHa(b,-1);f=+(k[4086]|0);o[e+24+(a<<3)>>2]=h/f;o[e+24+(a<<3)+4>>2]=g/f;yDa(b,-3);a=a+1|0}while((a|0)<(d|0))}else{a=0;do{c=a<<1;f=+lHa(b,c|1);g=+lHa(b,c+2|0);h=+(k[4086]|0);o[e+24+(a<<3)>>2]=f/h;o[e+24+(a<<3)+4>>2]=g/h;a=a+1|0}while((a|0)<(d|0))}c=kBb(152)|0;k[c>>2]=19628;k[c+4>>2]=2;o[c+8>>2]=.009999999776482582;k[c+148>>2]=0;o[c+12>>2]=0.0;o[c+16>>2]=0.0;aT(c,e+24|0,d);d=kBb(16)|0;tH(d,c,1);Rs(b,38,d);Si[k[(k[d>>2]|0)+12>>2]&1023](d);b=1;r=e;return b|0}function YG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0.0,j=0.0,l=0.0;g=r;r=r+16|0;a=(xDa(b)|0)+-1|0;c=(DDa(b,2)|0)==5;if(c)a=Ps(b,2)|0;if(a&1|0){b=aHa(b,354035,g)|0;r=g;return b|0}e=(a|0)/2|0;f=qs(b,1)|0;d=mBb(e>>>0>536870911?-1:e<<3)|0;a=(a|0)>1;if(c){if(a){a=0;do{c=a<<1;gEa(b,2,c|1);gEa(b,2,c+2|0);l=+LDa(b,-2);j=+LDa(b,-1);h=+(k[4086]|0);o[d+(a<<3)>>2]=l/h;o[d+(a<<3)+4>>2]=j/h;yDa(b,-3);a=a+1|0}while((a|0)<(e|0))}}else if(a){a=0;do{c=a<<1;h=+lHa(b,c+2|0);j=+lHa(b,c+3|0);l=+(k[4086]|0);o[d+(a<<3)>>2]=h/l;o[d+(a<<3)+4>>2]=j/l;a=a+1|0}while((a|0)<(e|0))}a=kBb(40)|0;k[a>>2]=19508;k[a+4>>2]=3;o[a+8>>2]=.009999999776482582;k[a+12>>2]=0;k[a+16>>2]=0;i[a+36>>0]=0;i[a+37>>0]=0;if(f)BS(a,d,e);else vS(a,d,e);oBb(d);f=kBb(16)|0;kma(f,a,0,1);Rs(b,40,f);Si[k[(k[f>>2]|0)+12>>2]&1023](f);b=1;r=g;return b|0}function ZG(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=+d;e=+e;f=+f;g=+g;h=h|0;a=kBb(32)|0;Uma(a,b,c,d,e,f,g,h);return a|0}function _G(a,b,c,d){a=a|0;b=b|0;c=+c;d=+d;a=kBb(32)|0;loa(a,b,c,d);return a|0}function $G(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=+d;e=+e;f=f|0;a=kBb(32)|0;ZH(a,b,c,d,e,f);return a|0}function aH(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=+d;e=+e;f=+f;g=+g;h=+h;i=+i;j=j|0;a=kBb(32)|0;yH(a,b,c,d,e,f,g,h,i,j);return a|0}function bH(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=+h;i=i|0;var j=0,l=0;j=r;r=r+64|0;a=kBb(32)|0;l=k[d+4>>2]|0;k[j+24>>2]=k[d>>2];k[j+24+4>>2]=l;d=k[e+4>>2]|0;k[j+16>>2]=k[e>>2];k[j+16+4>>2]=d;e=k[f+4>>2]|0;k[j+8>>2]=k[f>>2];k[j+8+4>>2]=e;e=k[g+4>>2]|0;k[j>>2]=k[g>>2];k[j+4>>2]=e;k[j+32>>2]=k[j+24>>2];k[j+32+4>>2]=k[j+24+4>>2];k[j+40>>2]=k[j+16>>2];k[j+40+4>>2]=k[j+16+4>>2];k[j+48>>2]=k[j+8>>2];k[j+48+4>>2]=k[j+8+4>>2];k[j+56>>2]=k[j>>2];k[j+56+4>>2]=k[j+4>>2];SH(a,b,c,j+32|0,j+40|0,j+48|0,j+56|0,h,i);r=j;return a|0}function cH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=+d;e=e|0;a=kBb(32)|0;Sna(a,b,c,d,e);return a|0}function dH(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=+d;e=+e;f=+f;g=+g;h=h|0;a=kBb(32)|0;Lna(a,b,c,d,e,f,g,h);return a|0}function eH(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=+d;e=+e;f=+f;g=+g;h=h|0;a=kBb(32)|0;FI(a,b,c,d,e,f,g,h);return a|0}function fH(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=+d;e=+e;f=+f;g=+g;h=+h;i=+i;j=j|0;a=kBb(32)|0;MI(a,b,c,d,e,f,g,h,i,j);return a|0}function gH(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=+d;e=+e;f=+f;g=+g;h=+h;i=i|0;a=kBb(32)|0;rI(a,b,c,d,e,f,g,h,i);return a|0}function hH(a,b,c){a=a|0;b=b|0;c=c|0;a=kBb(32)|0;Zna(a,b,c);return a|0}function iH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=+d;e=e|0;a=kBb(32)|0;_na(a,b,c,d,e);return a|0}function jH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=+d;a=kBb(20)|0;fna(a,b,c,d);return a|0}function kH(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a=r;r=r+192|0;d=lH(b,1,35)|0;c=lH(b,2,35)|0;k[a+160+16>>2]=0;k[a+160+20>>2]=0;o[a+160+24>>2]=0.0;k[a+132+16>>2]=0;k[a+132+20>>2]=0;o[a+132+24>>2]=0.0;k[a+40+16>>2]=0;k[a+40+20>>2]=0;o[a+40+24>>2]=0.0;k[a+40+44>>2]=0;k[a+40+48>>2]=0;o[a+40+52>>2]=0.0;j[a+4>>1]=0;oS(a+160|0,k[(k[d+16>>2]|0)+12>>2]|0,0);oS(a+132|0,k[(k[c+16>>2]|0)+12>>2]|0,0);k[a+40>>2]=k[a+160>>2];k[a+40+4>>2]=k[a+160+4>>2];k[a+40+8>>2]=k[a+160+8>>2];k[a+40+12>>2]=k[a+160+12>>2];k[a+40+16>>2]=k[a+160+16>>2];k[a+40+20>>2]=k[a+160+20>>2];k[a+40+24>>2]=k[a+160+24>>2];e=a+40+28|0;k[e>>2]=k[a+132>>2];k[e+4>>2]=k[a+132+4>>2];k[e+8>>2]=k[a+132+8>>2];k[e+12>>2]=k[a+132+12>>2];k[e+16>>2]=k[a+132+16>>2];k[e+20>>2]=k[a+132+20>>2];k[e+24>>2]=k[a+132+24>>2];d=(k[(k[d+16>>2]|0)+8>>2]|0)+12|0;k[a+40+56>>2]=k[d>>2];k[a+40+56+4>>2]=k[d+4>>2];k[a+40+56+8>>2]=k[d+8>>2];k[a+40+56+12>>2]=k[d+12>>2];c=(k[(k[c+16>>2]|0)+8>>2]|0)+12|0;k[a+40+72>>2]=k[c>>2];k[a+40+72+4>>2]=k[c+4>>2];k[a+40+72+8>>2]=k[c+8>>2];k[a+40+72+12>>2]=k[c+12>>2];i[a+40+88>>0]=1;qS(a+16|0,a,a+40|0);VDa(b,+o[a+16+16>>2]*+(k[4086]|0));VDa(b,+o[a+16>>2]*+(k[4086]|0));VDa(b,+o[a+16+4>>2]*+(k[4086]|0));VDa(b,+o[a+16+8>>2]*+(k[4086]|0));VDa(b,+o[a+16+12>>2]*+(k[4086]|0));r=a;return 5}function lH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((DDa(a,b)|0)!=7){k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0}d=RDa(a,b)|0;if(k[(k[155799]|0)+(k[d>>2]<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0){c=d+4|0;c=k[c>>2]|0;r=e;return c|0}k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0;c=d+4|0;c=k[c>>2]|0;r=e;return c|0}function mH(a){a=+a;return +(+(k[4086]|0)*a)}function nH(a){a=a|0;var b=0;b=r;r=r+16|0;if((a|0)<1){a=xf(16)|0;os(a,354175,b);Jc(a|0,96,27)}else{k[4086]=a;r=b;return}}function oH(){return k[4086]|0}function pH(a,b){a=a|0;b=b|0;var c=0.0,d=0;d=k[b>>2]|0;b=k[b+4>>2]|0;k[a>>2]=d;k[a+4>>2]=b;c=+(k[4086]|0);o[a>>2]=(k[t>>2]=d,+o[t>>2])*c;o[a+4>>2]=c*(k[t>>2]=b,+o[t>>2]);return}function qH(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0;c=+(k[4086]|0);e=+o[b>>2]*c;d=c*+o[b+4>>2];o[a>>2]=e;o[a+4>>2]=d;d=+o[b+8>>2]*c;c=c*+o[b+8+4>>2];o[a+8>>2]=d;o[a+12>>2]=c;return}function rH(a){a=a|0;tI(a);return}function sH(a){a=a|0;tI(a);CAb(a);return}function tH(a,b,c){a=a|0;b=b|0;c=c|0;vI(a,b,c);k[a>>2]=16388;return}function uH(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=r;r=r+16|0;ys(b,0)|0;a=k[a+8>>2]|0;c=k[a+148>>2]|0;if((c|0)<=0){b=c<<1;r=e;return b|0}d=0;do{nT((k[a+148>>2]|0)>(d|0),443298);pH(e,a+20+(d<<3)|0);VDa(b,+o[e>>2]);VDa(b,+o[e+4>>2]);d=d+1|0}while((d|0)!=(c|0));b=c<<1;r=e;return b|0}function vH(a){a=a|0;return bT(k[a+8>>2]|0)|0}function wH(a){a=a|0;uG(a);return}function xH(a){a=a|0;uG(a);CAb(a);return}function yH(a,b,c,d,e,f,g,h,j,l){a=a|0;b=b|0;c=c|0;d=+d;e=+e;f=+f;g=+g;h=+h;j=+j;l=l|0;var m=0,n=0;m=r;r=r+112|0;xG(a,b,c);k[a>>2]=16412;k[a+28>>2]=0;k[m+40>>2]=0;k[m+40+4>>2]=0;k[m+40+8>>2]=0;k[m+40+12>>2]=0;i[m+40+16>>0]=0;k[m+40>>2]=2;k[m+40+20>>2]=0;k[m+40+20+4>>2]=0;k[m+40+20+8>>2]=0;k[m+40+20+12>>2]=0;o[m+40+36>>2]=1.0;o[m+40+40>>2]=0.0;o[m+40+44>>2]=0.0;i[m+40+48>>0]=0;o[m+40+52>>2]=0.0;o[m+40+56>>2]=0.0;i[m+40+60>>0]=0;o[m+40+64>>2]=0.0;o[m+40+68>>2]=0.0;n=k[b+8>>2]|0;b=k[c+8>>2]|0;o[m+24>>2]=d;o[m+24+4>>2]=e;SG(m+32|0,m+24|0);o[m+16>>2]=h;o[m+16+4>>2]=j;gV(m+40|0,n,b,m+32|0,m+16|0);c=k[c+8>>2]|0;o[m>>2]=f;o[m+4>>2]=g;SG(m+8|0,m);e=+o[m+8>>2]-+o[c+12>>2];f=+o[m+8+4>>2]-+o[c+16>>2];d=+o[c+24>>2];g=+o[c+20>>2];o[m+40+28>>2]=e*d+f*g;o[m+40+32>>2]=d*f-e*g;o[m+40+52>>2]=0.0;o[m+40+56>>2]=100.0;i[m+40+48>>0]=1;i[m+40+16>>0]=l&1;l=FG(a,m+40|0)|0;k[a+28>>2]=l;r=m;return}function zH(a){a=a|0;return +(+mH(+iV(k[a+28>>2]|0)))}function AH(a){a=a|0;return +(+mH(+jV(k[a+28>>2]|0)))}function BH(a,b){a=a|0;b=b|0;qV(k[a+28>>2]|0,b);return}function CH(a){a=a|0;return pV(k[a+28>>2]|0)|0}function DH(a,b){a=a|0;b=+b;a=k[a+28>>2]|0;sV(a,+TG(b));return}function EH(a,b){a=a|0;b=+b;a=k[a+28>>2]|0;rV(a,+TG(b));return}function FH(a){a=a|0;return +(+mH(+o[(k[a+28>>2]|0)+132>>2]))}function GH(a,b){a=a|0;b=+b;return +(+mH(+tV(k[a+28>>2]|0,b)))}function HH(a){a=a|0;return +(+mH(+o[(k[a+28>>2]|0)+128>>2]))}function IH(a,b){a=a|0;b=b|0;lV(k[a+28>>2]|0,b);return}function JH(a){a=a|0;return kV(k[a+28>>2]|0)|0}function KH(a,b){a=a|0;b=+b;var c=0.0;a=k[a+28>>2]|0;c=+mV(a);oV(a,c,+TG(b));return}function LH(a,b){a=a|0;b=+b;var c=0;c=k[a+28>>2]|0;b=+TG(b);oV(c,b,+nV(k[a+28>>2]|0));return}function MH(a,b,c){a=a|0;b=+b;c=+c;a=k[a+28>>2]|0;b=+TG(b);oV(a,b,+TG(c));return}function NH(a){a=a|0;return +(+mH(+mV(k[a+28>>2]|0)))}function OH(a){a=a|0;return +(+mH(+nV(k[a+28>>2]|0)))}function PH(a,b){a=a|0;b=b|0;VDa(b,+mH(+mV(k[a+28>>2]|0)));VDa(b,+mH(+nV(k[a+28>>2]|0)));return 2}function QH(a){a=a|0;uG(a);return}function RH(a){a=a|0;uG(a);CAb(a);return}function SH(a,b,c,d,e,f,g,h,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=+h;j=j|0;var l=0;l=r;r=r+96|0;xG(a,b,c);k[a>>2]=16436;k[a+28>>2]=0;k[l+32>>2]=0;k[l+32+4>>2]=0;k[l+32+8>>2]=0;k[l+32+12>>2]=0;k[l+32>>2]=4;o[l+32+20>>2]=-1.0;o[l+32+24>>2]=1.0;o[l+32+28>>2]=1.0;o[l+32+32>>2]=1.0;o[l+32+36>>2]=-1.0;o[l+32+40>>2]=0.0;o[l+32+44>>2]=1.0;o[l+32+48>>2]=0.0;o[l+32+52>>2]=0.0;o[l+32+56>>2]=0.0;o[l+32+60>>2]=1.0;i[l+32+16>>0]=1;b=k[b+8>>2]|0;c=k[c+8>>2]|0;SG(l+24|0,d);SG(l+16|0,e);SG(l+8|0,f);SG(l,g);EV(l+32|0,b,c,l+24|0,l+16|0,l+8|0,l,h);i[l+32+16>>0]=j&1;e=FG(a,l+32|0)|0;k[a+28>>2]=e;r=l;return}function TH(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+32|0;GV(c+24|0,k[a+28>>2]|0);VDa(b,+mH(+o[c+24>>2]));GV(c+16|0,k[a+28>>2]|0);VDa(b,+mH(+o[c+16+4>>2]));HV(c+8|0,k[a+28>>2]|0);VDa(b,+mH(+o[c+8>>2]));HV(c,k[a+28>>2]|0);VDa(b,+mH(+o[c+4>>2]));r=c;return 4}function UH(a){a=a|0;return +(+mH(+IV(k[a+28>>2]|0)))}function VH(a){a=a|0;return +(+mH(+JV(k[a+28>>2]|0)))}function WH(a){a=a|0;return +(+KV(k[a+28>>2]|0))}function XH(a){a=a|0;uG(a);return}function YH(a){a=a|0;uG(a);CAb(a);return}function ZH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=+d;e=+e;f=f|0;var g=0,h=0;g=r;r=r+80|0;xG(a,b,c);k[a>>2]=16460;k[a+28>>2]=0;k[g+16>>2]=0;k[g+16+4>>2]=0;k[g+16+8>>2]=0;k[g+16+12>>2]=0;i[g+16+16>>0]=0;k[g+16>>2]=1;h=g+16+20|0;o[g+16+44>>2]=0.0;o[g+16+48>>2]=0.0;o[g+16+60>>2]=0.0;o[g+16+56>>2]=0.0;i[g+16+52>>0]=0;k[h>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0;k[h+12>>2]=0;k[h+16>>2]=0;i[h+20>>0]=0;b=k[b+8>>2]|0;c=k[c+8>>2]|0;o[g>>2]=d;o[g+4>>2]=e;SG(g+8|0,g);UV(g+16|0,b,c,g+8|0);i[g+16+16>>0]=f&1;f=FG(a,g+16|0)|0;k[a+28>>2]=f;r=g;return}function _H(a){a=a|0;return +(+WV(k[a+28>>2]|0))}function $H(a){a=a|0;return +(+XV(k[a+28>>2]|0))}function aI(a,b){a=a|0;b=b|0;ZV(k[a+28>>2]|0,b);return}function bI(a){a=a|0;return YV(k[a+28>>2]|0)|0}function cI(a,b){a=a|0;b=+b;a=k[a+28>>2]|0;aW(a,+TG(+TG(b)));return}function dI(a,b){a=a|0;b=+b;$V(k[a+28>>2]|0,b);return}function eI(a){a=a|0;return +(+o[(k[a+28>>2]|0)+108>>2])}function fI(a,b){a=a|0;b=+b;return +(+mH(+mH(+_V(k[a+28>>2]|0,b))))}function gI(a){a=a|0;return +(+mH(+mH(+o[(k[a+28>>2]|0)+104>>2])))}function hI(a,b){a=a|0;b=b|0;cW(k[a+28>>2]|0,b);return}function iI(a){a=a|0;return bW(k[a+28>>2]|0)|0}function jI(a,b){a=a|0;b=+b;a=k[a+28>>2]|0;fW(a,+dW(a),b);return}function kI(a,b){a=a|0;b=+b;a=k[a+28>>2]|0;fW(a,b,+eW(a));return}function lI(a,b,c){a=a|0;b=+b;c=+c;fW(k[a+28>>2]|0,b,c);return}function mI(a){a=a|0;return +(+dW(k[a+28>>2]|0))}function nI(a){a=a|0;return +(+eW(k[a+28>>2]|0))}function oI(a,b){a=a|0;b=b|0;VDa(b,+dW(k[a+28>>2]|0));VDa(b,+eW(k[a+28>>2]|0));return 2}function pI(a){a=a|0;uG(a);return}function qI(a){a=a|0;uG(a);CAb(a);return}function rI(a,b,c,d,e,f,g,h,j){a=a|0;b=b|0;c=c|0;d=+d;e=+e;f=+f;g=+g;h=+h;j=j|0;var l=0;l=r;r=r+64|0;o[l+12>>2]=d;o[l+8>>2]=e;o[l+4>>2]=f;o[l>>2]=g;xG(a,b,c);k[a>>2]=16484;k[a+28>>2]=0;k[l+16>>2]=0;k[l+16+4>>2]=0;k[l+16+8>>2]=0;k[l+16+12>>2]=0;i[l+16+16>>0]=0;k[l+16>>2]=10;o[l+16+20>>2]=-1.0;o[l+16+24>>2]=0.0;o[l+16+28>>2]=1.0;o[l+16+32>>2]=0.0;o[l+16+36>>2]=0.0;k[l+16+8>>2]=k[b+8>>2];k[l+16+12>>2]=k[c+8>>2];Ola(b,d,e,l+12|0,l+8|0);Ola(c,f,g,l+4|0,l);g=+TG(+o[l+12>>2]);o[l+16+20>>2]=g;g=+TG(+o[l+8>>2]);o[l+16+24>>2]=g;g=+TG(+o[l+4>>2]);o[l+16+28>>2]=g;g=+TG(+o[l>>2]);o[l+16+32>>2]=g;g=+TG(h);o[l+16+36>>2]=g;i[l+16+16>>0]=j&1;j=FG(a,l+16|0)|0;k[a+28>>2]=j;r=l;return}function sI(a){a=a|0;return +(+mH(+qW(k[a+28>>2]|0)))}function tI(a){a=a|0;var b=0;k[a>>2]=16508;b=k[a+8>>2]|0;if(b|0)if(i[a+12>>0]|0){p_(b);b=k[a+8>>2]|0;if(b|0)Si[k[(k[b>>2]|0)+4>>2]&1023](b)}k[a+8>>2]=0;Un(a);return}function uI(a){a=a|0;var b=0;k[a>>2]=16508;b=k[a+8>>2]|0;if(b|0)if(i[a+12>>0]|0){p_(b);b=k[a+8>>2]|0;if(b|0)Si[k[(k[b>>2]|0)+4>>2]&1023](b)}k[a+8>>2]=0;Un(a);CAb(a);return}function vI(a,b,c){a=a|0;b=b|0;c=c|0;Uj(a);k[a>>2]=16508;k[a+8>>2]=b;i[a+12>>0]=c&1;if(!c)return;o_(b,a);return}function wI(a){a=a|0;switch(k[(k[a+8>>2]|0)+4>>2]|0){case 0:{a=1;break}case 2:{a=2;break}case 1:{a=3;break}case 3:{a=4;break}default:a=0}return a|0}function xI(a){a=a|0;return +(+mH(+o[(k[a+8>>2]|0)+8>>2]))}function yI(a){a=a|0;a=k[a+8>>2]|0;return Gi[k[(k[a>>2]|0)+12>>2]&2047](a)|0}function zI(a,b,c,d,e,f){a=a|0;b=+b;c=+c;d=+d;e=+e;f=+f;var g=0,h=0;g=r;r=r+48|0;o[g+32>>2]=e;o[g+32+4>>2]=f;o[g+24>>2]=b;o[g+24+4>>2]=c;SG(g,g+24|0);b=+_(+d);c=+Z(+d);o[g+8>>2]=b;o[g+12>>2]=c;a=k[a+8>>2]|0;h=k[(k[a>>2]|0)+16>>2]|0;SG(g+16|0,g+32|0);a=Ri[h&255](a,g,g+16|0)|0;r=g;return a|0}function AI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0.0,f=0.0,g=0.0,h=0.0,i=0.0,j=0.0,l=0.0,m=0.0;c=r;r=r+64|0;m=+TG(+lHa(b,1));l=+TG(+lHa(b,2));j=+TG(+lHa(b,3));i=+TG(+lHa(b,4));f=+lHa(b,5);h=+TG(+lHa(b,6));g=+TG(+lHa(b,7));e=+lHa(b,8);d=~~+mHa(b,9,1.0)+-1|0;o[c+32>>2]=m;o[c+32+4>>2]=l;o[c+32+8>>2]=j;o[c+32+12>>2]=i;o[c+32+16>>2]=f;f=+_(+e);e=+Z(+e);o[c+16>>2]=h;o[c+16+4>>2]=g;o[c+16+8>>2]=f;o[c+16+12>>2]=e;a=k[a+8>>2]|0;if(!(Ni[k[(k[a>>2]|0)+20>>2]&127](a,c,c+32|0,c+16|0,d)|0)){d=0;r=c;return d|0}VDa(b,+o[c>>2]);VDa(b,+o[c+4>>2]);VDa(b,+o[c+8>>2]);d=3;r=c;return d|0}function BI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0.0,f=0.0,g=0.0,h=0.0;c=r;r=r+48|0;h=+TG(+lHa(b,1));g=+TG(+lHa(b,2));e=+lHa(b,3);d=~~+mHa(b,4,1.0)+-1|0;f=+_(+e);e=+Z(+e);o[c+32>>2]=h;o[c+32+4>>2]=g;o[c+32+8>>2]=f;o[c+32+12>>2]=e;a=k[a+8>>2]|0;vj[k[(k[a>>2]|0)+24>>2]&127](a,c+16|0,c+32|0,d);qH(c,c+16|0);k[c+16>>2]=k[c>>2];k[c+16+4>>2]=k[c+4>>2];k[c+16+8>>2]=k[c+8>>2];k[c+16+12>>2]=k[c+12>>2];VDa(b,+o[c+16>>2]);VDa(b,+o[c+16+4>>2]);VDa(b,+o[c+16+8>>2]);VDa(b,+o[c+16+12>>2]);r=c;return 4}function CI(a,b){a=a|0;b=b|0;var c=0,d=0.0;c=r;r=r+32|0;d=+lHa(b,1);a=k[a+8>>2]|0;Wi[k[(k[a>>2]|0)+28>>2]&31](a,c+8|0,d);pH(c,c+8+4|0);VDa(b,+o[c>>2]);VDa(b,+o[c+4>>2]);VDa(b,+o[c+8>>2]);VDa(b,+mH(+mH(+o[c+8+12>>2])));r=c;return 4}function DI(a){a=a|0;uG(a);return}function EI(a){a=a|0;uG(a);CAb(a);return}function FI(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=+d;e=+e;f=+f;g=+g;h=h|0;var j=0,l=0;j=r;r=r+80|0;xG(a,b,c);k[a>>2]=16532;k[a+28>>2]=0;k[j+32>>2]=0;k[j+32+4>>2]=0;k[j+32+8>>2]=0;k[j+32+12>>2]=0;i[j+32+16>>0]=0;k[j+32>>2]=8;l=j+32+20|0;k[l>>2]=0;k[l+4>>2]=0;k[l+8>>2]=0;k[l+12>>2]=0;k[l+16>>2]=0;k[l+20>>2]=0;k[l+24>>2]=0;l=k[b+8>>2]|0;b=k[c+8>>2]|0;o[j+16>>2]=d;o[j+16+4>>2]=e;SG(j+24|0,j+16|0);AW(j+32|0,l,b,j+24|0);c=k[c+8>>2]|0;o[j>>2]=f;o[j+4>>2]=g;SG(j+8|0,j);e=+o[j+8>>2]-+o[c+12>>2];f=+o[j+8+4>>2]-+o[c+16>>2];d=+o[c+24>>2];g=+o[c+20>>2];o[j+32+28>>2]=e*d+f*g;o[j+32+32>>2]=d*f-e*g;i[j+32+16>>0]=h&1;h=FG(a,j+32|0)|0;k[a+28>>2]=h;r=j;return}function GI(a,b){a=a|0;b=+b;o[(k[a+28>>2]|0)+68>>2]=b;return}function HI(a){a=a|0;return +(+o[(k[a+28>>2]|0)+68>>2])}function II(a,b){a=a|0;b=+b;o[(k[a+28>>2]|0)+72>>2]=b;return}function JI(a){a=a|0;return +(+o[(k[a+28>>2]|0)+72>>2])}function KI(a){a=a|0;uG(a);return}function LI(a){a=a|0;uG(a);CAb(a);return}function MI(a,b,c,d,e,f,g,h,j,l){a=a|0;b=b|0;c=c|0;d=+d;e=+e;f=+f;g=+g;h=+h;j=+j;l=l|0;var m=0,n=0;m=r;r=r+112|0;xG(a,b,c);k[a>>2]=16556;k[a+28>>2]=0;k[m+40>>2]=0;k[m+40+4>>2]=0;k[m+40+8>>2]=0;k[m+40+12>>2]=0;i[m+40+16>>0]=0;k[m+40>>2]=7;k[m+40+20>>2]=0;k[m+40+20+4>>2]=0;k[m+40+20+8>>2]=0;k[m+40+20+12>>2]=0;o[m+40+36>>2]=1.0;o[m+40+40>>2]=0.0;i[m+40+44>>0]=0;o[m+40+48>>2]=0.0;o[m+40+52>>2]=0.0;o[m+40+56>>2]=2.0;o[m+40+60>>2]=.699999988079071;n=k[b+8>>2]|0;b=k[c+8>>2]|0;o[m+24>>2]=d;o[m+24+4>>2]=e;SG(m+32|0,m+24|0);o[m+16>>2]=h;o[m+16+4>>2]=j;LW(m+40|0,n,b,m+32|0,m+16|0);c=k[c+8>>2]|0;o[m>>2]=f;o[m+4>>2]=g;SG(m+8|0,m);e=+o[m+8>>2]-+o[c+12>>2];f=+o[m+8+4>>2]-+o[c+16>>2];d=+o[c+24>>2];g=+o[c+20>>2];o[m+40+28>>2]=e*d+f*g;o[m+40+32>>2]=d*f-e*g;i[m+40+16>>0]=l&1;l=FG(a,m+40|0)|0;k[a+28>>2]=l;r=m;return}function NI(a){a=a|0;return +(+mH(+NW(k[a+28>>2]|0)))}function OI(a){a=a|0;return +(+mH(+OW(k[a+28>>2]|0)))}function PI(a,b){a=a|0;b=b|0;QW(k[a+28>>2]|0,b);return}function QI(a){a=a|0;return PW(k[a+28>>2]|0)|0}function RI(a,b){a=a|0;b=+b;RW(k[a+28>>2]|0,b);return}function SI(a){a=a|0;return +(+o[(k[a+28>>2]|0)+124>>2])}function TI(a,b){a=a|0;b=+b;a=k[a+28>>2]|0;SW(a,+TG(+TG(b)));return}function UI(a){a=a|0;return +(+mH(+mH(+o[(k[a+28>>2]|0)+120>>2])))}function VI(a,b){a=a|0;b=+b;return +(+mH(+mH(+TW(k[a+28>>2]|0,b))))}function WI(a,b){a=a|0;b=+b;o[(k[a+28>>2]|0)+68>>2]=b;return}function XI(a){a=a|0;return +(+o[(k[a+28>>2]|0)+68>>2])}function YI(a,b){a=a|0;b=+b;o[(k[a+28>>2]|0)+72>>2]=b;return}function ZI(a){a=a|0;return +(+o[(k[a+28>>2]|0)+72>>2])}function _I(a){a=a|0;return}function $I(a){a=a|0;CAb(a);return}function aJ(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+16|0;c=k[a+4>>2]|0;if(!c){a=1;r=d;return a|0}CDa(c,k[a+8>>2]|0);c=q_(b)|0;if(!c){a=xf(16)|0;os(a,441928,d);Jc(a|0,96,27)}Rs(k[a+4>>2]|0,35,c);qEa(k[a+4>>2]|0,1,1);b=qs(k[a+4>>2]|0,-1)|0;yDa(k[a+4>>2]|0,-2);a=b;r=d;return a|0}function bJ(a){a=a|0;return}function cJ(a){a=a|0;CAb(a);return}function dJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;var f=0,g=0;g=r;r=r+32|0;f=k[a+4>>2]|0;if(!f){e=0.0;r=g;return +e}CDa(f,k[a+8>>2]|0);f=q_(b)|0;if(!f){a=xf(16)|0;os(a,441928,g);Jc(a|0,96,27)}Rs(k[a+4>>2]|0,35,f);pH(g+16|0,c);VDa(k[a+4>>2]|0,+o[g+16>>2]);VDa(k[a+4>>2]|0,+o[g+16+4>>2]);VDa(k[a+4>>2]|0,+o[d>>2]);VDa(k[a+4>>2]|0,+o[d+4>>2]);VDa(k[a+4>>2]|0,e);qEa(k[a+4>>2]|0,6,1);if(!(GDa(k[a+4>>2]|0,-1)|0))aHa(k[a+4>>2]|0,354602,g+8|0)|0;e=+LDa(k[a+4>>2]|0,-1);yDa(k[a+4>>2]|0,-2);r=g;return +e}function eJ(a){a=a|0;var b=0,c=0;k[a>>2]=16620;k[a+8>>2]=16672;k[a+12>>2]=16704;k[a+16>>2]=16724;fJ(a);b=k[a+100>>2]|0;if(b|0)Si[k[(k[b>>2]|0)+4>>2]&1023](b);b=k[a+92>>2]|0;if(b|0)Si[k[(k[b>>2]|0)+4>>2]&1023](b);b=k[a+84>>2]|0;if(b|0)Si[k[(k[b>>2]|0)+4>>2]&1023](b);b=k[a+76>>2]|0;if(b|0)Si[k[(k[b>>2]|0)+4>>2]&1023](b);b=k[a+68>>2]|0;if(b|0)Si[k[(k[b>>2]|0)+4>>2]&1023](b);b=k[a+52>>2]|0;if(b|0){c=k[a+56>>2]|0;if((c|0)!=(b|0))k[a+56>>2]=c+(~((c+-4-b|0)>>>2)<<2);CAb(b)}b=k[a+40>>2]|0;if(b|0){c=k[a+44>>2]|0;if((c|0)!=(b|0))k[a+44>>2]=c+(~((c+-4-b|0)>>>2)<<2);CAb(b)}b=k[a+28>>2]|0;if(!b)return;c=k[a+32>>2]|0;if((c|0)!=(b|0))k[a+32>>2]=c+(~((c+-4-b|0)>>>2)<<2);CAb(b);return}function fJ(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+16|0;b=k[a+20>>2]|0;if(!b){r=d;return}if(k[b+102868>>2]&2|0){i[a+64>>0]=1;r=d;return}c=k[b+102952>>2]|0;do if(c){while(1){b=c;c=k[c+96>>2]|0;if((b|0)!=(k[a+24>>2]|0)){b=q_(b)|0;if(!b){c=8;break}ema(b)}if(!c){c=10;break}}if((c|0)==8){a=xf(16)|0;os(a,354715,d);Jc(a|0,96,27)}else if((c|0)==10){b=k[a+20>>2]|0;break}}while(0);uT(b,k[a+24>>2]|0);p_(k[a+20>>2]|0);b=k[a+20>>2]|0;if(b|0){pT(b);CAb(b)}k[a+20>>2]=0;r=d;return}function gJ(a){a=a|0;eJ(a);CAb(a);return}function hJ(a,b){a=a|0;b=b|0;iJ(a+68|0,b,0);return}function iJ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=r;r=r+16|0;d=k[a>>2]|0;if(!d){r=f;return}e=k[a+4>>2]|0;if(!e){r=f;return}v_(d,e);d=q_(k[b+48>>2]|0)|0;if(!d){a=xf(16)|0;os(a,441928,f);Jc(a|0,96,27)}Rs(k[a+4>>2]|0,35,d);d=q_(k[b+52>>2]|0)|0;if(!d){a=xf(16)|0;os(a,441928,f+8|0);Jc(a|0,96,27)}Rs(k[a+4>>2]|0,35,d);d=q_(b)|0;if(!d){d=kBb(12)|0;Ama(d,b)}else Si[k[(k[d>>2]|0)+8>>2]&1023](d);Rs(k[a+4>>2]|0,33,d);Si[k[(k[d>>2]|0)+12>>2]&1023](d);if(!c)d=3;else if((k[c+16>>2]|0)>0){d=3;e=0;do{b=k[a+4>>2]|0;VDa(b,+mH(+o[c+(e<<2)>>2]));b=k[a+4>>2]|0;VDa(b,+mH(+o[c+8+(e<<2)>>2]));d=d+2|0;e=e+1|0}while((e|0)<(k[c+16>>2]|0))}else d=3;qEa(k[a+4>>2]|0,d,0);r=f;return}function jJ(a,b){a=a|0;b=b|0;iJ(a+76|0,b,0);b=q_(b)|0;if(!b)return;Bma(b);return}function kJ(a,b,c){a=a|0;b=b|0;c=c|0;iJ(a+84|0,b,0);return}function lJ(a,b,c){a=a|0;b=b|0;c=c|0;iJ(a+92|0,b,c);return}function mJ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;d=q_(b)|0;b=q_(c)|0;if((d|0)!=0&(b|0)!=0){a=nJ(a+100|0,d,b)|0;r=e;return a|0}else{a=xf(16)|0;os(a,441928,e);Jc(a|0,96,27)}return 0}function nJ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=r;r=r+32|0;tna(b,f+12|0);tna(c,f);d=k[f+12+8>>2]|0;if(d|0)if((d|0)==(k[f+8>>2]|0)){a=(d|0)>0;r=f;return a|0}if(!(k[f>>2]&k[f+12+4>>2])){a=0;r=f;return a|0}if(!(k[f+12>>2]&k[f+4>>2])){a=0;r=f;return a|0}d=k[a>>2]|0;if(!d){a=1;r=f;return a|0}e=k[a+4>>2]|0;if(!e){a=1;r=f;return a|0}v_(d,e);Rs(k[a+4>>2]|0,35,b);Rs(k[a+4>>2]|0,35,c);qEa(k[a+4>>2]|0,2,1);a=qs(k[a+4>>2]|0,-1)|0;r=f;return a|0}function oJ(a,b){a=a|0;b=b|0;b=q_(b)|0;if(!b)return;Hna(b,1);return}function pJ(a,b){a=a|0;b=b|0;b=q_(b)|0;if(!b)return;GG(b,1);return}function qJ(a){a=a|0;eJ(a+-8|0);return}function rJ(a){a=a|0;eJ(a+-8|0);CAb(a+-8|0);return}function sJ(a,b){a=a|0;b=b|0;iJ(a+-8+68|0,b,0);return}function tJ(a,b){a=a|0;b=b|0;iJ(a+-8+76|0,b,0);b=q_(b)|0;if(!b)return;Bma(b);return}function uJ(a,b,c){a=a|0;b=b|0;c=c|0;iJ(a+-8+84|0,b,0);return}function vJ(a,b,c){a=a|0;b=b|0;c=c|0;iJ(a+-8+92|0,b,c);return}function wJ(a){a=a|0;eJ(a+-12|0);return}function xJ(a){a=a|0;eJ(a+-12|0);CAb(a+-12|0);return}function yJ(a,b,c){a=a|0;b=b|0;c=c|0;return mJ(a+-12|0,b,c)|0}function zJ(a){a=a|0;eJ(a+-16|0);return}function AJ(a){a=a|0;eJ(a+-16|0);CAb(a+-16|0);return}function BJ(a,b){a=a|0;b=b|0;b=q_(b)|0;if(!b)return;GG(b,1);return}function CJ(a,b){a=a|0;b=b|0;b=q_(b)|0;if(!b)return;Hna(b,1);return}function DJ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=r;r=r+64|0;Uj(a);k[a>>2]=16620;k[a+8>>2]=16672;k[a+12>>2]=16704;k[a+16>>2]=16724;k[a+20>>2]=0;d=a+28|0;f=d+36|0;do{k[d>>2]=0;d=d+4|0}while((d|0)<(f|0));i[a+28+36>>0]=0;d=a+68|0;f=d+40|0;do{k[d>>2]=0;d=d+4|0}while((d|0)<(f|0));f=kBb(103028)|0;SG(e,b);oT(f,e);k[a+20>>2]=f;xT(f,c);sT(k[a+20>>2]|0,a+8|0);rT(k[a+20>>2]|0,a+12|0);qT(k[a+20>>2]|0,a+16|0);k[e+8+44>>2]=0;f=e+8+4|0;k[f>>2]=0;k[f+4>>2]=0;k[f+8>>2]=0;k[f+12>>2]=0;k[f+16>>2]=0;k[f+20>>2]=0;k[f+24>>2]=0;k[f+28>>2]=0;i[e+8+36>>0]=1;i[e+8+37>>0]=1;i[e+8+38>>0]=0;i[e+8+39>>0]=0;k[e+8>>2]=0;i[e+8+40>>0]=1;o[e+8+48>>2]=1.0;f=tT(k[a+20>>2]|0,e+8|0)|0;k[a+24>>2]=f;o_(k[a+20>>2]|0,a);r=e;return}function EJ(a,b){a=a|0;b=+b;var c=0,d=0,e=0;AT(k[a+20>>2]|0,b,8,6);c=k[a+28>>2]|0;e=k[a+32>>2]|0;if((c|0)!=(e|0))do{d=k[c>>2]|0;if(k[d+8>>2]|0)ema(d);Si[k[(k[d>>2]|0)+12>>2]&1023](d);c=c+4|0}while((c|0)!=(e|0));c=k[a+40>>2]|0;e=k[a+44>>2]|0;if((c|0)!=(e|0))do{d=k[c>>2]|0;if(rna(d)|0)Hna(d,0);Si[k[(k[d>>2]|0)+12>>2]&1023](d);c=c+4|0}while((c|0)!=(e|0));c=k[a+52>>2]|0;e=k[a+56>>2]|0;if((c|0)!=(e|0))do{d=k[c>>2]|0;if(BG(d)|0)GG(d,0);Si[k[(k[d>>2]|0)+12>>2]&1023](d);c=c+4|0}while((c|0)!=(e|0));c=k[a+28>>2]|0;d=k[a+32>>2]|0;if((d|0)!=(c|0))k[a+32>>2]=d+(~((d+-4-c|0)>>>2)<<2);c=k[a+40>>2]|0;d=k[a+44>>2]|0;if((d|0)!=(c|0))k[a+44>>2]=d+(~((d+-4-c|0)>>>2)<<2);c=k[a+52>>2]|0;d=k[a+56>>2]|0;if((d|0)!=(c|0))k[a+56>>2]=d+(~((d+-4-c|0)>>>2)<<2);if(!(i[a+64>>0]|0))return;fJ(a);return}function FJ(a){a=a|0;return (k[a+20>>2]|0)!=0|0}function GJ(a,b){a=a|0;b=b|0;var c=0,d=0;d=xDa(b)|0;if((DDa(b,1)|0)>=1)jHa(b,1,6);if((DDa(b,2)|0)>=1)jHa(b,2,6);if((DDa(b,3)|0)>=1)jHa(b,3,6);if((DDa(b,4)|0)>=1)jHa(b,4,6);c=k[a+68>>2]|0;if(c|0)Si[k[(k[c>>2]|0)+4>>2]&1023](c);k[a+68>>2]=0;c=k[a+76>>2]|0;if(c|0)Si[k[(k[c>>2]|0)+4>>2]&1023](c);k[a+76>>2]=0;c=k[a+84>>2]|0;if(c|0)Si[k[(k[c>>2]|0)+4>>2]&1023](c);k[a+84>>2]=0;c=k[a+92>>2]|0;if(c|0)Si[k[(k[c>>2]|0)+4>>2]&1023](c);k[a+92>>2]=0;if((d|0)<=0)return 0;CDa(b,1);c=ps(b,6)|0;k[a+68>>2]=c;k[a+72>>2]=b;if((d|0)<=1)return 0;CDa(b,2);c=ps(b,6)|0;k[a+76>>2]=c;k[a+80>>2]=b;if((d|0)<=2)return 0;CDa(b,3);c=ps(b,6)|0;k[a+84>>2]=c;k[a+88>>2]=b;if((d|0)<=3)return 0;CDa(b,4);d=ps(b,6)|0;k[a+92>>2]=d;k[a+96>>2]=b;return 0}function HJ(a,b){a=a|0;b=b|0;var c=0;c=k[a+68>>2]|0;if(!c)UDa(b);else v_(c,b);c=k[a+76>>2]|0;if(!c)UDa(b);else v_(c,b);c=k[a+84>>2]|0;if(!c)UDa(b);else v_(c,b);c=k[a+92>>2]|0;if(!c){UDa(b);return 4}else{v_(c,b);return 4}return 0}function IJ(a,b){a=a|0;b=b|0;k[a+104>>2]=b;k[a+96>>2]=b;k[a+88>>2]=b;k[a+80>>2]=b;k[a+72>>2]=b;return}function JJ(a,b){a=a|0;b=b|0;var c=0;if((DDa(b,1)|0)>=1)jHa(b,1,6);c=k[a+100>>2]|0;if(c|0)Si[k[(k[c>>2]|0)+4>>2]&1023](c);c=ps(b,6)|0;k[a+100>>2]=c;k[a+104>>2]=b;return 0}function KJ(a,b){a=a|0;b=b|0;a=k[a+100>>2]|0;if(!a){UDa(b);return 1}else{v_(a,b);return 1}return 0}function LJ(a,b,c){a=a|0;b=+b;c=+c;var d=0,e=0;d=r;r=r+16|0;a=k[a+20>>2]|0;o[d+8>>2]=b;o[d+8+4>>2]=c;SG(d,d+8|0);e=k[d+4>>2]|0;k[a+102968>>2]=k[d>>2];k[a+102968+4>>2]=e;r=d;return}function MJ(a,b){a=a|0;b=b|0;var c=0,d=0;c=r;r=r+16|0;d=(k[a+20>>2]|0)+102968|0;a=k[d+4>>2]|0;k[c>>2]=k[d>>2];k[c+4>>2]=a;pH(c+8|0,c);VDa(b,+o[c+8>>2]);VDa(b,+o[c+8+4>>2]);r=c;return 2}function NJ(a,b,c){a=a|0;b=+b;c=+c;var d=0;d=r;r=r+16|0;a=k[a+20>>2]|0;o[d>>2]=b;o[d+4>>2]=c;SG(d+8|0,d);FT(a,d+8|0);r=d;return}function OJ(a,b){a=a|0;b=b|0;xT(k[a+20>>2]|0,b);return}function PJ(a){a=a|0;return (i[(k[a+20>>2]|0)+102976>>0]|0)!=0|0}function QJ(a){a=a|0;return (k[(k[a+20>>2]|0)+102868>>2]&2|0)!=0|0}function RJ(a){a=a|0;return (k[(k[a+20>>2]|0)+102960>>2]|0)+-1|0}function SJ(a){a=a|0;return k[(k[a+20>>2]|0)+102964>>2]|0}function TJ(a){a=a|0;return k[(k[a+20>>2]|0)+102936>>2]|0}function UJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=r;r=r+16|0;hEa(b,0,0);c=k[(k[a+20>>2]|0)+102952>>2]|0;if(!c){r=f;return 1}d=1;while(1){if((c|0)!=(k[a+24>>2]|0)){e=q_(c)|0;if(!e){c=5;break}Rs(b,34,e);nEa(b,-2,d);d=d+1|0}c=k[c+96>>2]|0;if(!c){c=8;break}}if((c|0)==5){a=xf(16)|0;os(a,354715,f);Jc(a|0,96,27)}else if((c|0)==8){r=f;return 1}return 0}function VJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=r;r=r+16|0;hEa(b,0,0);a=k[(k[a+20>>2]|0)+102956>>2]|0;if(!a){r=e;return 1}else d=1;while(1){c=q_(a)|0;if(!c){a=3;break}Rs(b,41,c);nEa(b,-2,d);a=k[a+12>>2]|0;if(!a){a=5;break}else d=d+1|0}if((a|0)==3){b=xf(16)|0;os(b,442274,e);Jc(b|0,96,27)}else if((a|0)==5){r=e;return 1}return 0}function WJ(a,b){a=a|0;b=b|0;var c=0,d=0;hEa(b,0,0);a=k[(k[a+20>>2]|0)+102932>>2]|0;if(!a)return 1;else d=1;while(1){c=q_(a)|0;if(!c){c=kBb(12)|0;Ama(c,a)}else Si[k[(k[c>>2]|0)+8>>2]&1023](c);Rs(b,33,c);Si[k[(k[c>>2]|0)+12>>2]&1023](c);nEa(b,-2,d);a=k[a+12>>2]|0;if(!a)break;else d=d+1|0}return 1}function XJ(a){a=a|0;return k[a+24>>2]|0}function YJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0.0,f=0.0,g=0.0,h=0.0;c=r;r=r+64|0;h=+lHa(b,1);g=+lHa(b,2);f=+lHa(b,3);e=+lHa(b,4);o[c+32>>2]=h;o[c+32+4>>2]=g;SG(c+8|0,c+32|0);o[c+24>>2]=f;o[c+24+4>>2]=e;SG(c,c+24|0);d=k[c+4>>2]|0;k[c+8+8>>2]=k[c>>2];k[c+8+8+4>>2]=d;jHa(b,5,6);k[c+40>>2]=16580;k[c+40+4>>2]=b;k[c+40+8>>2]=5;jHa(b,5,6);BT(k[a+20>>2]|0,c+40|0,c+8|0);r=c;return 0}function ZJ(a,b){a=a|0;b=b|0;var c=0,d=0.0,e=0.0,f=0.0,g=0.0;c=r;r=r+48|0;g=+lHa(b,1);f=+lHa(b,2);e=+lHa(b,3);d=+lHa(b,4);o[c+24>>2]=g;o[c+24+4>>2]=f;SG(c+40|0,c+24|0);o[c>>2]=e;o[c+4>>2]=d;SG(c+32|0,c);jHa(b,5,6);k[c+8>>2]=16600;k[c+8+4>>2]=b;k[c+8+8>>2]=5;jHa(b,5,6);DT(k[a+20>>2]|0,c+8|0,c+40|0,c+32|0);r=c;return 0}function _J(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;b=$J(a,b,34)|0;if(k[b+8>>2]|0){r=c;return b|0}aHa(a,354744,c)|0;r=c;return b|0}function $J(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((DDa(a,b)|0)!=7){k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0}d=RDa(a,b)|0;if(k[(k[155799]|0)+(k[d>>2]<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0){c=d+4|0;c=k[c>>2]|0;r=e;return c|0}k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0;c=d+4|0;c=k[c>>2]|0;r=e;return c|0}function aK(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;VDa(a,+dla(b));r=c;return 1}function bK(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;VDa(a,+ela(b));r=c;return 1}function cK(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;VDa(a,+hla(b));r=c;return 1}function dK(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;fla(b,c+8|0,c+4|0);VDa(a,+o[c+8>>2]);VDa(a,+o[c+4>>2]);r=c;return 2}function eK(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;gla(b,c+8|0,c+4|0);VDa(a,+o[c+8>>2]);VDa(a,+o[c+4>>2]);r=c;return 2}function fK(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;ila(b,c+8|0,c+4|0);VDa(a,+o[c+8>>2]);VDa(a,+o[c+4>>2]);r=c;return 2}function gK(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;jla(b,c+8|0,c+4|0);VDa(a,+o[c+8>>2]);VDa(a,+o[c+4>>2]);r=c;return 2}function hK(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;VDa(a,+kla(b));r=c;return 1}function iK(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;VDa(a,+lla(b));r=c;return 1}function jK(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;VDa(a,+mla(b));r=c;return 1}function kK(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;zDa(a,1);a=nla(b,a)|0;r=c;return a|0}function lK(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;VDa(a,+ola(b));r=c;return 1}function mK(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;VDa(a,+pla(b));r=c;return 1}function nK(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;VDa(a,+qla(b));r=c;return 1}function oK(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;k[c+4>>2]=1279174;Tn(rla(b)|0,c+4|0)|0;YDa(a,k[c+4>>2]|0);r=c;return 1}function pK(a){a=a|0;var b=0,c=0.0,d=0.0,e=0,f=0,g=0.0,h=0.0;f=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,f)|0;c=+lHa(a,2);d=+lHa(a,3);e=xDa(a)|0;if((e|0)>=4){if((e|0)!=4){h=+lHa(a,4);g=+lHa(a,5);tla(b,c,d,h,g,ss(a,6,1)|0);a=0;r=f;return a|0}if((DDa(a,4)|0)!=1){a=aHa(a,354775,f+8|0)|0;r=f;return a|0}}sla(b,c,d,ss(a,4,1)|0);a=0;r=f;return a|0}function qK(a){a=a|0;var b=0,c=0,d=0.0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;d=+lHa(a,2);ula(b,d,ss(a,3,1)|0);r=c;return 0}function rK(a){a=a|0;var b=0,c=0,d=0.0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;d=+lHa(a,2);vla(b,d,ss(a,3,1)|0);r=c;return 0}function sK(a){a=a|0;var b=0,c=0.0,d=0.0,e=0,f=0,g=0.0,h=0.0;f=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,f)|0;c=+lHa(a,2);d=+lHa(a,3);e=xDa(a)|0;do if((e|0)>=4){if((e|0)==4)if((DDa(a,4)|0)==1)break;if((xDa(a)|0)>4){h=+lHa(a,4);g=+lHa(a,5);wla(b,c,d,h,g,ss(a,6,1)|0);a=0;r=f;return a|0}else{a=aHa(a,354775,f+8|0)|0;r=f;return a|0}}while(0);xla(b,c,d,ss(a,4,1)|0);a=0;r=f;return a|0}function tK(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;yla(b,+lHa(a,2));r=c;return 0}function uK(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;zla(b,+lHa(a,2));r=c;return 0}function vK(a){a=a|0;var b=0,c=0,d=0.0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;d=+lHa(a,2);Ala(b,d,+lHa(a,3));r=c;return 0}function wK(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;Bla(b,+lHa(a,2));r=c;return 0}function xK(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;Cla(b,+lHa(a,2));r=c;return 0}function yK(a){a=a|0;var b=0,c=0,d=0.0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;d=+lHa(a,2);Dla(b,d,+lHa(a,3));r=c;return 0}function zK(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;Gla(b);r=c;return 0}function AK(a){a=a|0;var b=0,c=0,d=0.0,e=0.0,f=0.0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;f=+lHa(a,2);e=+lHa(a,3);d=+lHa(a,4);Hla(b,f,e,d,+lHa(a,5));r=c;return 0}function BK(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;Ila(b,+lHa(a,2));r=c;return 0}function CK(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;Jla(b,+lHa(a,2));r=c;return 0}function DK(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;Ela(b,+lHa(a,2));r=c;return 0}function EK(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;Fla(b,+lHa(a,2));r=c;return 0}function FK(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;Kla(b,+lHa(a,2));r=c;return 0}function GK(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;Sn(fHa(a,2,0)|0,c+4|0)|0;cla(b,k[c+4>>2]|0);r=c;return 0}function HK(a){a=a|0;var b=0,c=0,d=0.0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;d=+lHa(a,2);Lla(b,d,+lHa(a,3),c+8|0,c+4|0);VDa(a,+o[c+8>>2]);VDa(a,+o[c+4>>2]);r=c;return 2}function IK(a){a=a|0;var b=0,c=0,d=0.0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;d=+lHa(a,2);Mla(b,d,+lHa(a,3),c+8|0,c+4|0);VDa(a,+o[c+8>>2]);VDa(a,+o[c+4>>2]);r=c;return 2}function JK(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;zDa(a,1);a=Nla(b,a)|0;r=c;return a|0}function KK(a){a=a|0;var b=0,c=0,d=0.0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;d=+lHa(a,2);Ola(b,d,+lHa(a,3),c+8|0,c+4|0);VDa(a,+o[c+8>>2]);VDa(a,+o[c+4>>2]);r=c;return 2}function LK(a){a=a|0;var b=0,c=0,d=0.0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;d=+lHa(a,2);Pla(b,d,+lHa(a,3),c+8|0,c+4|0);VDa(a,+o[c+8>>2]);VDa(a,+o[c+4>>2]);r=c;return 2}function MK(a){a=a|0;var b=0,c=0,d=0.0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;d=+lHa(a,2);Qla(b,d,+lHa(a,3),c+8|0,c+4|0);VDa(a,+o[c+8>>2]);VDa(a,+o[c+4>>2]);r=c;return 2}function NK(a){a=a|0;var b=0,c=0,d=0.0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;d=+lHa(a,2);Rla(b,d,+lHa(a,3),c+8|0,c+4|0);VDa(a,+o[c+8>>2]);VDa(a,+o[c+4>>2]);r=c;return 2}function OK(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;rs(a,Sla(b)|0);r=c;return 1}function PK(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;Tla(b,qs(a,2)|0);r=c;return 0}function QK(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;rs(a,Ula(b)|0);r=c;return 1}function RK(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;rs(a,Vla(b)|0);r=c;return 1}function SK(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;Wla(b,qs(a,2)|0);r=c;return 0}function TK(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;aEa(a,(Xla(b)|0)&1);r=c;return 1}function UK(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;Yla(b,qs(a,2)|0);r=c;return 0}function VK(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;Zla(b,qs(a,2)|0);r=c;return 0}function WK(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;_la(b,qs(a,2)|0);r=c;return 0}function XK(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;rs(a,$la(b)|0);r=c;return 1}function YK(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;Rs(a,32,ama(b)|0);r=c;return 1}function ZK(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;zDa(a,1);a=bma(b,a)|0;r=c;return a|0}function _K(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;zDa(a,1);a=cma(b,a)|0;r=c;return a|0}function $K(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;zDa(a,1);a=dma(b,a)|0;r=c;return a|0}function aL(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;ema(b);r=c;return 0}function bL(a){a=a|0;var b=0;b=($J(a,1,34)|0)+8|0;rs(a,(k[b>>2]|0)==0);return 1}function cL(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;zDa(a,1);a=gma(b,a)|0;r=c;return a|0}function dL(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=$J(a,1,34)|0;if(!(k[b+8>>2]|0))aHa(a,354744,c)|0;zDa(a,1);a=hma(b,a)|0;r=c;return a|0}function eL(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=16740;k[b+4>>2]=0;a=Is(a,34,354803,b)|0;r=b;return a|0}function fL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((DDa(a,b)|0)!=7){k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0}d=RDa(a,b)|0;if(k[(k[155799]|0)+(k[d>>2]<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0){c=d+4|0;c=k[c>>2]|0;r=e;return c|0}k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0;c=d+4|0;c=k[c>>2]|0;r=e;return c|0}function gL(a){a=a|0;var b=0.0,c=0;c=fL(a,1,40)|0;b=+lHa(a,2);lma(c,b,+lHa(a,3));return 0}function hL(a){a=a|0;var b=0.0,c=0;c=fL(a,1,40)|0;b=+lHa(a,2);mma(c,b,+lHa(a,3));return 0}function iL(a){a=a|0;var b=0;b=fL(a,1,40)|0;b=nma(b,~~+lHa(a,2)+-1|0)|0;Rs(a,39,b);Si[k[(k[b>>2]|0)+12>>2]&1023](b);return 1}function jL(a){a=a|0;WDa(a,oma(fL(a,1,40)|0)|0);return 1}function kL(a){a=a|0;var b=0,c=0.0,d=0;b=r;r=r+16|0;d=fL(a,1,40)|0;pma(b,d,~~+lHa(a,2)+-1|0);c=+o[b+4>>2];VDa(a,+o[b>>2]);VDa(a,c);r=b;return 2}function lL(a){a=a|0;var b=0,c=0,d=0,e=0;e=r;r=r+16|0;c=fL(a,1,40)|0;b=qma(c)|0;c=oma(c)|0;if(!(sDa(a,c<<1)|0)){d=aHa(a,355524,e)|0;r=e;return d|0}if((c|0)<=0){d=c<<1;r=e;return d|0}d=0;do{pH(e+8|0,b+(d<<3)|0);VDa(a,+o[e+8>>2]);VDa(a,+o[e+8+4>>2]);d=d+1|0}while((d|0)!=(c|0));b=c<<1;r=e;return b|0}function mL(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=10612;k[b+4>>2]=17212;k[b+8>>2]=0;a=Is(a,40,355547,b)|0;r=b;return a|0}function nL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((DDa(a,b)|0)!=7){k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0}d=RDa(a,b)|0;if(k[(k[155799]|0)+(k[d>>2]<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0){c=d+4|0;c=k[c>>2]|0;r=e;return c|0}k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0;c=d+4|0;c=k[c>>2]|0;r=e;return c|0}function oL(a){a=a|0;VDa(a,+uma(nL(a,1,37)|0));return 1}function pL(a){a=a|0;var b=0;b=nL(a,1,37)|0;vma(b,+lHa(a,2));return 0}function qL(a){a=a|0;var b=0;b=r;r=r+16|0;wma(nL(a,1,37)|0,b+4|0,b);VDa(a,+o[b+4>>2]);VDa(a,+o[b>>2]);r=b;return 2}function rL(a){a=a|0;var b=0.0,c=0;c=nL(a,1,37)|0;b=+lHa(a,2);xma(c,b,+lHa(a,3));return 0}function sL(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=10612;k[b+4>>2]=17268;k[b+8>>2]=0;a=Is(a,37,355618,b)|0;r=b;return a|0}function tL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((DDa(a,b)|0)!=7){k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0}d=RDa(a,b)|0;if(k[(k[155799]|0)+(k[d>>2]<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0){c=d+4|0;c=k[c>>2]|0;r=e;return c|0}k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0;c=d+4|0;c=k[c>>2]|0;r=e;return c|0}function uL(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=tL(a,1,33)|0;if(!(Cma(b)|0))aHa(a,355668,c)|0;a=Dma(b,a)|0;r=c;return a|0}function vL(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=tL(a,1,33)|0;if(!(Cma(b)|0))aHa(a,355668,c)|0;a=Ema(b,a)|0;r=c;return a|0}function wL(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=tL(a,1,33)|0;if(!(Cma(b)|0))aHa(a,355668,c)|0;VDa(a,+Fma(b));r=c;return 1}function xL(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=tL(a,1,33)|0;if(!(Cma(b)|0))aHa(a,355668,c)|0;VDa(a,+Gma(b));r=c;return 1}function yL(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=tL(a,1,33)|0;if(!(Cma(b)|0))aHa(a,355668,c)|0;aEa(a,(Hma(b)|0)&1);r=c;return 1}function zL(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=tL(a,1,33)|0;if(!(Cma(b)|0))aHa(a,355668,c)|0;aEa(a,(Ima(b)|0)&1);r=c;return 1}function AL(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=tL(a,1,33)|0;if(!(Cma(b)|0))aHa(a,355668,c)|0;Jma(b,+lHa(a,2));r=c;return 0}function BL(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=tL(a,1,33)|0;if(!(Cma(b)|0))aHa(a,355668,c)|0;Kma(b,+lHa(a,2));r=c;return 0}function CL(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=tL(a,1,33)|0;if(!(Cma(b)|0))aHa(a,355668,c)|0;Lma(b,qs(a,2)|0);r=c;return 0}function DL(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=tL(a,1,33)|0;if(!(Cma(b)|0))aHa(a,355668,c)|0;Mma(b);r=c;return 0}function EL(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=tL(a,1,33)|0;if(!(Cma(b)|0))aHa(a,355668,c)|0;Nma(b);r=c;return 0}function FL(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=tL(a,1,33)|0;if(!(Cma(b)|0))aHa(a,355668,c)|0;Oma(b,+lHa(a,2));r=c;return 0}function GL(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=tL(a,1,33)|0;if(!(Cma(b)|0))aHa(a,355668,c)|0;VDa(a,+Pma(b));r=c;return 1}function HL(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=tL(a,1,33)|0;if(!(Cma(b)|0))aHa(a,355668,c)|0;Qma(b,c+8|0,c+4|0);VDa(a,+((k[c+8>>2]|0)+1|0));VDa(a,+((k[c+4>>2]|0)+1|0));r=c;return 2}function IL(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=tL(a,1,33)|0;if(!(Cma(b)|0))aHa(a,355668,c)|0;k[c+8>>2]=0;k[c+4>>2]=0;Rma(b,c+8|0,c+4|0);Rs(a,35,k[c+8>>2]|0);Rs(a,35,k[c+4>>2]|0);r=c;return 2}function JL(a){a=a|0;rs(a,(Cma(tL(a,1,33)|0)|0)^1);return 1}function KL(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=17308;k[b+4>>2]=0;a=Is(a,33,355702,b)|0;r=b;return a|0}function LL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((DDa(a,b)|0)!=7){k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0}d=RDa(a,b)|0;if(k[(k[155799]|0)+(k[d>>2]<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0){c=d+4|0;c=k[c>>2]|0;r=e;return c|0}k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0;c=d+4|0;c=k[c>>2]|0;r=e;return c|0}function ML(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=LL(a,1,43)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;Vma(b,+lHa(a,2));r=c;return 0}function NL(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=LL(a,1,43)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;VDa(a,+Wma(b));r=c;return 1}function OL(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=LL(a,1,43)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;Xma(b,+lHa(a,2));r=c;return 0}function PL(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=LL(a,1,43)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;VDa(a,+Yma(b));r=c;return 1}function QL(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=LL(a,1,43)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;Zma(b,+lHa(a,2));r=c;return 0}function RL(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=LL(a,1,43)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;VDa(a,+_ma(b));r=c;return 1}function SL(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=17812;k[b+4>>2]=17444;k[b+8>>2]=0;a=Is(a,43,355852,b)|0;r=b;return a|0}function TL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((DDa(a,b)|0)!=7){k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0}d=RDa(a,b)|0;if(k[(k[155799]|0)+(k[d>>2]<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0){c=d+4|0;c=k[c>>2]|0;r=e;return c|0}k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0;c=d+4|0;c=k[c>>2]|0;r=e;return c|0}function UL(a){a=a|0;var b=0;b=TL(a,1,39)|0;zDa(a,1);return cna(b,a)|0}function VL(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=10612;k[b+4>>2]=17500;k[b+8>>2]=0;a=Is(a,39,355886,b)|0;r=b;return a|0}function WL(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=lH(a,1,35)|0;if(!(rna(b)|0))aHa(a,355906,c)|0;k[c+4>>2]=1279174;Xn(gna(b)|0,c+4|0)|0;YDa(a,k[c+4>>2]|0);r=c;return 1}function XL(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=lH(a,1,35)|0;if(!(rna(b)|0))aHa(a,355906,c)|0;hna(b,+lHa(a,2));r=c;return 0}function YL(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=lH(a,1,35)|0;if(!(rna(b)|0))aHa(a,355906,c)|0;ina(b,+lHa(a,2));r=c;return 0}function ZL(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=lH(a,1,35)|0;if(!(rna(b)|0))aHa(a,355906,c)|0;jna(b,+lHa(a,2));r=c;return 0}function _L(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=lH(a,1,35)|0;if(!(rna(b)|0))aHa(a,355906,c)|0;kna(b,qs(a,2)|0);r=c;return 0}function $L(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=lH(a,1,35)|0;if(!(rna(b)|0))aHa(a,355906,c)|0;VDa(a,+lna(b));r=c;return 1}function aM(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=lH(a,1,35)|0;if(!(rna(b)|0))aHa(a,355906,c)|0;VDa(a,+mna(b));r=c;return 1}function bM(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=lH(a,1,35)|0;if(!(rna(b)|0))aHa(a,355906,c)|0;VDa(a,+nna(b));r=c;return 1}function cM(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=lH(a,1,35)|0;if(!(rna(b)|0))aHa(a,355906,c)|0;rs(a,ona(b)|0);r=c;return 1}function dM(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=lH(a,1,35)|0;if(!(rna(b)|0))aHa(a,355906,c)|0;b=pna(b)|0;if(!b){a=0;r=c;return a|0}Rs(a,34,b);a=1;r=c;return a|0}function eM(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+16|0;b=lH(a,1,35)|0;if(!(rna(b)|0))aHa(a,355906,d)|0;c=qna(b)|0;if(!c){a=0;r=d;return a|0}switch(wI(c)|0){case 3:{Rs(a,39,c);b=c;break}case 4:{Rs(a,40,c);b=c;break}case 1:{Rs(a,37,c);b=c;break}case 2:{Rs(a,38,c);b=c;break}default:{Rs(a,36,c);b=c}}Si[k[(k[c>>2]|0)+12>>2]&1023](b);a=1;r=d;return a|0}function fM(a){a=a|0;var b=0,c=0,d=0.0;c=r;r=r+16|0;b=lH(a,1,35)|0;if(!(rna(b)|0))aHa(a,355906,c)|0;d=+lHa(a,2);rs(a,Dna(b,d,+lHa(a,3))|0);r=c;return 1}function gM(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=lH(a,1,35)|0;if(!(rna(b)|0))aHa(a,355906,c)|0;zDa(a,1);a=Ena(b,a)|0;r=c;return a|0}function hM(a){a=a|0;var b=0,c=0,d=0;c=r;r=r+16|0;b=lH(a,1,35)|0;if(!(rna(b)|0))aHa(a,355906,c)|0;d=~~+lHa(a,2);k[c+4>>2]=d;d=~~+lHa(a,3);k[c+4+4>>2]=d;a=~~+lHa(a,4);k[c+4+8>>2]=a;sna(b,c+4|0);r=c;return 0}function iM(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=lH(a,1,35)|0;if(!(rna(b)|0))aHa(a,355906,c)|0;tna(b,c+4|0);WDa(a,k[c+4>>2]|0);WDa(a,k[c+4+4>>2]|0);WDa(a,k[c+4+8>>2]|0);r=c;return 3}function jM(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=lH(a,1,35)|0;if(!(rna(b)|0))aHa(a,355906,c)|0;zDa(a,1);a=una(b,a)|0;r=c;return a|0}function kM(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=lH(a,1,35)|0;if(!(rna(b)|0))aHa(a,355906,c)|0;zDa(a,1);a=zna(b,a)|0;r=c;return a|0}function lM(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=lH(a,1,35)|0;if(!(rna(b)|0))aHa(a,355906,c)|0;zDa(a,1);a=wna(b,a)|0;r=c;return a|0}function mM(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=lH(a,1,35)|0;if(!(rna(b)|0))aHa(a,355906,c)|0;zDa(a,1);a=Ana(b,a)|0;r=c;return a|0}function nM(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=lH(a,1,35)|0;if(!(rna(b)|0))aHa(a,355906,c)|0;zDa(a,1);a=Bna(b,a)|0;r=c;return a|0}function oM(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=lH(a,1,35)|0;if(!(rna(b)|0))aHa(a,355906,c)|0;zDa(a,1);a=Cna(b,a)|0;r=c;return a|0}function pM(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=lH(a,1,35)|0;if(!(rna(b)|0))aHa(a,355906,c)|0;zDa(a,1);a=Fna(b,a)|0;r=c;return a|0}function qM(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=lH(a,1,35)|0;if(!(rna(b)|0))aHa(a,355906,c)|0;zDa(a,1);a=Gna(b,a)|0;r=c;return a|0}function rM(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=lH(a,1,35)|0;if(!(rna(b)|0))aHa(a,355906,c)|0;WDa(a,yna(b)|0);r=c;return 1}function sM(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=lH(a,1,35)|0;if(!(rna(b)|0))aHa(a,355906,c)|0;xna(b,~~+lHa(a,2));r=c;return 0}function tM(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=lH(a,1,35)|0;if(!(rna(b)|0))aHa(a,355906,c)|0;Hna(b,0);r=c;return 0}function uM(a){a=a|0;rs(a,(rna(lH(a,1,35)|0)|0)^1);return 1}function vM(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=17516;k[b+4>>2]=0;a=Is(a,35,355940,b)|0;r=b;return a|0}function wM(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((DDa(a,b)|0)!=7){k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0}d=RDa(a,b)|0;if(k[(k[155799]|0)+(k[d>>2]<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0){c=d+4|0;c=k[c>>2]|0;r=e;return c|0}k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0;c=d+4|0;c=k[c>>2]|0;r=e;return c|0}function xM(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=wM(a,1,48)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;Mna(b,+lHa(a,2));r=c;return 0}function yM(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=wM(a,1,48)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;VDa(a,+Nna(b));r=c;return 1}function zM(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=wM(a,1,48)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;Ona(b,+lHa(a,2));r=c;return 0}function AM(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=wM(a,1,48)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;VDa(a,+Pna(b));r=c;return 1}function BM(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=17812;k[b+4>>2]=17740;k[b+8>>2]=0;a=Is(a,48,356201,b)|0;r=b;return a|0}function CM(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((DDa(a,b)|0)!=7){k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0}d=RDa(a,b)|0;if(k[(k[155799]|0)+(k[d>>2]<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0){c=d+4|0;c=k[c>>2]|0;r=e;return c|0}k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0;c=d+4|0;c=k[c>>2]|0;r=e;return c|0}function DM(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=CM(a,1,47)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;Tna(b,+lHa(a,2));r=c;return 0}function EM(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=CM(a,1,47)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;VDa(a,+Una(b));r=c;return 1}function FM(a){a=a|0;var b=0,c=0,d=0;c=r;r=r+16|0;b=CM(a,1,47)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;d=Vna(b)|0;b=Wna(b)|0;SM(a,d);SM(a,b);r=c;return 2}function GM(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=17812;k[b+4>>2]=17780;k[b+8>>2]=0;a=Is(a,47,356215,b)|0;r=b;return a|0}function HM(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=IM(a,1,41)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;k[c+4>>2]=1279174;sN(yG(b)|0,c+4|0)|0;YDa(a,k[c+4>>2]|0);r=c;return 1}function IM(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((DDa(a,b)|0)!=7){k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0}d=RDa(a,b)|0;if(k[(k[155799]|0)+(k[d>>2]<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0){c=d+4|0;c=k[c>>2]|0;r=e;return c|0}k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0;c=d+4|0;c=k[c>>2]|0;r=e;return c|0}function JM(a){a=a|0;var b=0,c=0,d=0;c=r;r=r+16|0;b=IM(a,1,41)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;d=zG(b)|0;b=AG(b)|0;Rs(a,34,d);Rs(a,34,b);r=c;return 2}function KM(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=IM(a,1,41)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;zDa(a,1);a=CG(b,a)|0;r=c;return a|0}function LM(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=IM(a,1,41)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;zDa(a,1);a=DG(b,a)|0;r=c;return a|0}function MM(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=IM(a,1,41)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;VDa(a,+EG(b,+lHa(a,2)));r=c;return 1}function NM(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=IM(a,1,41)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;rs(a,IG(b)|0);r=c;return 1}function OM(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=IM(a,1,41)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;zDa(a,1);a=JG(b,a)|0;r=c;return a|0}function PM(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=IM(a,1,41)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;zDa(a,1);a=KG(b,a)|0;r=c;return a|0}function QM(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=IM(a,1,41)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;GG(b,0);r=c;return 0}function RM(a){a=a|0;rs(a,(BG(IM(a,1,41)|0)|0)^1);return 1}function SM(a,b){a=a|0;b=b|0;if(!b){UDa(a);return}do switch(yG(b)|0){case 1:{Rs(a,43,b);return}case 2:{Rs(a,45,b);return}case 3:{Rs(a,44,b);return}case 4:{Rs(a,42,b);return}case 5:{Rs(a,46,b);return}case 6:{Rs(a,47,b);return}case 7:{Rs(a,48,b);return}case 8:{Rs(a,49,b);return}case 9:{Rs(a,51,b);return}case 10:{Rs(a,50,b);return}case 11:{Rs(a,52,b);return}default:{UDa(a);return}}while(0)}function TM(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;b=IM(a,b,41)|0;if(BG(b)|0){r=c;return b|0}aHa(a,356530,c)|0;r=c;return b|0}function UM(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=17812;k[b+4>>2]=0;a=Is(a,41,356381,b)|0;r=b;return a|0}function VM(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((DDa(a,b)|0)!=7){k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0}d=RDa(a,b)|0;if(k[(k[155799]|0)+(k[d>>2]<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0){c=d+4|0;c=k[c>>2]|0;r=e;return c|0}k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0;c=d+4|0;c=k[c>>2]|0;r=e;return c|0}function WM(a){a=a|0;var b=0,c=0,d=0.0;c=r;r=r+16|0;b=VM(a,1,52)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;d=+lHa(a,2);$na(b,d,+lHa(a,3));r=c;return 0}function XM(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=VM(a,1,52)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;a=aoa(b,a)|0;r=c;return a|0}function YM(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=VM(a,1,52)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;boa(b,+lHa(a,2));r=c;return 0}function ZM(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=VM(a,1,52)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;VDa(a,+coa(b));r=c;return 1}function _M(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=VM(a,1,52)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;doa(b,+lHa(a,2));r=c;return 0}function $M(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=VM(a,1,52)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;VDa(a,+eoa(b));r=c;return 1}function aN(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=VM(a,1,52)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;foa(b,+lHa(a,2));r=c;return 0}function bN(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=VM(a,1,52)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;VDa(a,+goa(b));r=c;return 1}function cN(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=VM(a,1,52)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;hoa(b,+lHa(a,2));r=c;return 0}function dN(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=VM(a,1,52)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;VDa(a,+ioa(b));r=c;return 1}function eN(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=17812;k[b+4>>2]=17900;k[b+8>>2]=0;a=Is(a,52,356387,b)|0;r=b;return a|0}function fN(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((DDa(a,b)|0)!=7){k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0}d=RDa(a,b)|0;if(k[(k[155799]|0)+(k[d>>2]<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0){c=d+4|0;c=k[c>>2]|0;r=e;return c|0}k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0;c=d+4|0;c=k[c>>2]|0;r=e;return c|0}function gN(a){a=a|0;var b=0,c=0,d=0.0;c=r;r=r+16|0;b=fN(a,1,42)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;d=+lHa(a,2);moa(b,d,+lHa(a,3));r=c;return 0}function hN(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=fN(a,1,42)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;zDa(a,1);a=noa(b,a)|0;r=c;return a|0}function iN(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=fN(a,1,42)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;ooa(b,+lHa(a,2));r=c;return 0}function jN(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=fN(a,1,42)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;VDa(a,+poa(b));r=c;return 1}function kN(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=fN(a,1,42)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;qoa(b,+lHa(a,2));r=c;return 0}function lN(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=fN(a,1,42)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;VDa(a,+roa(b));r=c;return 1}function mN(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=fN(a,1,42)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;soa(b,+lHa(a,2));r=c;return 0}function nN(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=fN(a,1,42)|0;if(!(BG(b)|0))aHa(a,356530,c)|0;VDa(a,+toa(b));r=c;return 1}function oN(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=17812;k[b+4>>2]=17988;k[b+8>>2]=0;a=Is(a,42,356562,b)|0;r=b;return a|0}function pN(a){a=a|0;return}function qN(){rN(628164,18060,88);return}function rN(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0;m=r;r=r+16|0;i[a+8>>0]=0;i[a+20>>0]=0;i[a+32>>0]=0;i[a+44>>0]=0;i[a+56>>0]=0;i[a+68>>0]=0;i[a+80>>0]=0;i[a+92>>0]=0;i[a+104>>0]=0;i[a+116>>0]=0;i[a+128>>0]=0;i[a+140>>0]=0;i[a+152>>0]=0;i[a+164>>0]=0;i[a+176>>0]=0;i[a+188>>0]=0;i[a+200>>0]=0;i[a+212>>0]=0;i[a+224>>0]=0;i[a+236>>0]=0;i[a+248>>0]=0;i[a+260>>0]=0;i[a+272>>0]=0;i[a+284>>0]=0;d=a+288|0;e=d+48|0;do{k[d>>2]=0;d=d+4|0}while((d|0)<(e|0));if(!(c>>>3)){r=m;return}else j=0;do{g=k[b+(j<<3)>>2]|0;h=k[b+(j<<3)+4>>2]|0;d=i[g>>0]|0;if(!(d<<24>>24))e=5381;else{f=g;e=5381;do{f=f+1|0;e=(e*33|0)+(d<<24>>24)|0;d=i[f>>0]|0}while(d<<24>>24!=0)}f=0;do{d=((f+e|0)>>>0)%24|0;f=f+1|0;if(!(i[a+(d*12|0)+8>>0]|0)){l=8;break}}while(f>>>0<24);if((l|0)==8){l=0;i[a+(d*12|0)+8>>0]=1;k[a+(d*12|0)>>2]=g;k[a+(d*12|0)+4>>2]=h}if(h>>>0>11){k[m>>2]=g;k[m+4>>2]=h;Jpb(441170,m)|0}else k[a+288+(h<<2)>>2]=g;j=j+1|0}while((j|0)!=(c>>>3|0));r=m;return}function sN(a,b){a=a|0;b=b|0;if(a>>>0>11)a=0;else{a=k[628452+(a<<2)>>2]|0;if(!a)a=0;else{k[b>>2]=a;a=1}}return a|0}function tN(a){a=a|0;k[a>>2]=18156;l_();eO(a);return}function uN(a){a=a|0;k[a>>2]=18156;l_();eO(a);CAb(a);return}function vN(a){a=a|0;return 11}function wN(a){a=a|0;return 356802}function xN(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;g=r;r=r+16|0;Vqb(g,Fu(b)|0);d=i[g>>0]|0;f=(d&1)==0?g+1|0:k[g+8>>2]|0;d=(d&1)==0?(d&255)>>>1:k[g+4>>2]|0;if(d|0){a=f;e=f;while(1){h=(gmb(i[a>>0]|0)|0)&255;i[e>>0]=h;a=a+1|0;if((a|0)==(f+d|0))break;else e=e+1|0}}do if(Moa(g)|0){a=kBb(112)|0;Eoa(a,b,g,c)}else{if(k_(g)|0){a=kBb(72)|0;$Z(a,b,g,c);break}if(PN(g)|0){a=kBb(816)|0;CN(a,b,g,c);break}if(dO(g)|0){a=kBb(80)|0;WN(a,b,g,c)}else a=0}while(0);_qb(g);r=g;return a|0}function yN(a){a=a|0;Uj(a);k[a>>2]=18156;return}function zN(a){a=a|0;k[a>>2]=18192;A5a(a+72|0)|0;uoa(a);return}function AN(a){a=a|0;k[a>>2]=18192;A5a(a+72|0)|0;uoa(a);CAb(a);return}function BN(a){a=a|0;var b=0;b=kBb(816)|0;CN(b,k[a+8>>2]|0,a+12|0,k[a+24>>2]|0);return b|0}function CN(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+32|0;Aoa(a,b,c,d);k[a>>2]=18192;p[a+808>>3]=-2.0;k[a+60>>2]=1496;k[a+56>>2]=76;k[a+52>>2]=77;k[a+64>>2]=1497;k[a+800>>2]=0;c=Gi[k[(k[b>>2]|0)+16>>2]&2047](b)|0;k[a+40>>2]=c;c=Gi[k[(k[b>>2]|0)+20>>2]&2047](b)|0;k[a+44>>2]=c;k[a+48>>2]=0;k[e+8>>2]=k[a+52>>2];k[e+8+4>>2]=k[a+52+4>>2];k[e+8+8>>2]=k[a+52+8>>2];k[e+8+12>>2]=k[a+52+12>>2];if((B5a(a+40|0,a+72|0,0,0,e+8|0)|0)<0){a=xf(16)|0;os(a,356858,e);Jc(a|0,96,27)}else{c=R5a(a+72|0,-1)|0;k[a+792>>2]=c;c=S5a(a+72|0,-1)|0;k[a+796>>2]=c;r=e;return}}function DN(a){a=a|0;return 1}function EN(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;switch(d|0){case 0:{d=k[a+4>>2]|0;k[a+8>>2]=(((d|0)<0)<<31>>31|0)<(c|0)|(((d|0)<0)<<31>>31|0)==(c|0)&d>>>0>>0?d:b;return 0}case 1:{d=k[a+8>>2]|0;e=(k[a+4>>2]|0)-d|0;k[a+8>>2]=((((e|0)<0)<<31>>31|0)>(c|0)|(((e|0)<0)<<31>>31|0)==(c|0)&e>>>0>b>>>0?b:e)+d;return 0}case 2:{d=k[a+4>>2]|0;if((c|0)<0){e=xBb(d|0,0,b|0,c|0)|0;k[a+8>>2]=e;return 0}else{k[a+8>>2]=d;return 0}}default:return 0}return 0}function FN(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=k[d+8>>2]|0;f=(k[d+4>>2]|0)-e|0;b=ha(c,b)|0;b=b>>>0>>0?b:f;if(!b)return b|0;ABb(a|0,(k[d>>2]|0)+e|0,b|0)|0;k[d+8>>2]=(k[d+8>>2]|0)+b;return b|0}function GN(a){a=a|0;return k[a+8>>2]|0}function HN(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=0;a:while(1){do{c=k[a+24>>2]|0;if((c|0)<=(b|0)){c=9;break a}f=(k[a+32>>2]|0)+b|0;e=k[a+800>>2]|0;d=(Gi[k[(k[a>>2]|0)+52>>2]&2047](a)|0)==16;c=U5a(a+72|0,f,c-b|0,e,d?2:1,1,0)|0}while((c|0)==-3);if((c|0)<-127){b=-1;c=9;break}if(!c){c=8;break}b=((c|0)>0?c:0)+b|0}if((c|0)==8){i[a+36>>0]=1;f=b;return f|0}else if((c|0)==9)return b|0;return 0}function IN(a,b){a=a|0;b=+b;var c=0;if(!(b<=1.0e-06))c=Q5a(a+72|0,b)|0;else c=J5a(a+72|0,0,0)|0;if(c|0){a=0;return a|0}i[a+36>>0]=0;a=1;return a|0}function JN(a){a=a|0;if(J5a(a+72|0,0,0)|0){a=0;return a|0}i[a+36>>0]=0;a=1;return a|0}function KN(a){a=a|0;return (O5a(a+72|0)|0)!=0|0}function LN(a){a=a|0;return k[(k[a+792>>2]|0)+4>>2]|0}function MN(a){a=a|0;return 16}function NN(a){a=a|0;return k[(k[a+792>>2]|0)+8>>2]|0}function ON(a){a=a|0;var b=0.0;b=+p[a+808>>3];if(!(b==-2.0))return +b;b=+P5a(a+72|0,-1);b=b==-131.0|b<0.0?-1.0:b;p[a+808>>3]=b;return +b}function PN(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(!(i[621216]|0))if(Ce(621216)|0){Wqb(628500,356887,3);Wqb(628512,356891,3);Wqb(628524,356895,3);Wqb(628536,1279174,0);pd(621216)}e=i[a>>0]|0;g=(e&1)==0?(e&255)>>>1:k[a+4>>2]|0;e=(e&1)==0?a+1|0:k[a+8>>2]|0;f=0;while(1){c=628500+(f*12|0)|0;a=i[c>>0]|0;if(!(a&1))b=(a&255)>>>1;else b=k[628500+(f*12|0)+4>>2]|0;if(!b){a=0;b=15;break}if(!(a&1)){d=(a&255)>>>1;b=c+1|0}else{d=k[628500+(f*12|0)+4>>2]|0;b=k[628500+(f*12|0)+8>>2]|0}a=g>>>0>>0;if(!(Emb(b,e,a?g:d)|0))if(d>>>0>=g>>>0&(a^1)){a=1;b=15;break}f=f+1|0}if((b|0)==15)return a|0;return 0}function QN(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=k[a+8>>2]|0;d=(k[a+4>>2]|0)-e|0;f=k[c>>2]|0;d=f>>>0>>0?f:d;ABb(b|0,(k[a>>2]|0)+e|0,d|0)|0;k[a+8>>2]=(k[a+8>>2]|0)+d;k[c>>2]=d;return 0}function RN(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=k[a+4>>2]|0;k[a+8>>2]=0>c>>>0|0==(c|0)&d>>>0>b>>>0?b:d;return 0}function SN(a,b){a=a|0;b=b|0;k[b>>2]=k[a+8>>2];k[b+4>>2]=0;return 0}function TN(a){a=a|0;k[a>>2]=18276;VW(k[a+52>>2]|0)|0;uoa(a);return}function UN(a){a=a|0;k[a>>2]=18276;VW(k[a+52>>2]|0)|0;uoa(a);CAb(a);return}function VN(a){a=a|0;var b=0;b=kBb(80)|0;WN(b,k[a+8>>2]|0,a+12|0,k[a+24>>2]|0);return b|0}function WN(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+32|0;Aoa(a,b,c,d);k[a>>2]=18276;c=Gi[k[(k[b>>2]|0)+16>>2]&2047](b)|0;k[a+40>>2]=c;c=Gi[k[(k[b>>2]|0)+20>>2]&2047](b)|0;k[a+44>>2]=c;k[a+48>>2]=0;if((UW(a+52|0,18256,a+40|0)|0)<0){a=xf(16)|0;os(a,356934,e);Jc(a|0,96,27)}if((XW(k[a+52>>2]|0,a+56|0)|0)<0){a=xf(16)|0;os(a,356954,e+8|0);Jc(a|0,96,27)}if((m[a+58>>1]|0)>2){a=xf(16)|0;os(a,356990,e+16|0);Jc(a|0,96,27)}if((m[a+56>>1]|0)<2){r=e;return}if((YW(k[a+52>>2]|0,1)|0)<0){a=xf(16)|0;os(a,357023,e+24|0);Jc(a|0,96,27)}else{r=e;return}}function XN(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+16|0;b=k[a+24>>2]|0;if(!b){a=0;r=d;return a|0}c=b;b=0;while(1){k[d>>2]=c-b;if((ZW(k[a+52>>2]|0,(k[a+32>>2]|0)+b|0,d)|0)<0){c=4;break}c=k[d>>2]|0;if(!c){c=7;break}b=c+b|0;c=k[a+24>>2]|0;if(b>>>0>=c>>>0){c=8;break}}if((c|0)==4){a=0;r=d;return a|0}else if((c|0)==7){i[a+36>>0]=1;a=b;r=d;return a|0}else if((c|0)==8){r=d;return b|0}return 0}function YN(a,b){a=a|0;b=+b;b=+((k[a+60>>2]|0)>>>0)*b;if((WW(k[a+52>>2]|0,~~b>>>0,+W(b)>=1.0?(b>0.0?~~+ia(+V(b/4294967296.0),4294967295.0)>>>0:~~+ga((b-+(~~b>>>0))/4294967296.0)>>>0):0)|0)<=-1){a=0;return a|0}i[a+36>>0]=0;a=1;return a|0}function ZN(a){a=a|0;if((WW(k[a+52>>2]|0,0,0)|0)<=-1){a=0;return a|0}i[a+36>>0]=0;a=1;return a|0}function _N(a){a=a|0;return 1}function $N(a){a=a|0;return m[a+58>>1]|0|0}function aO(a){a=a|0;return ((j[a+64>>1]|0)==8?8:16)|0}function bO(a){a=a|0;return k[a+60>>2]|0}function cO(a){a=a|0;return +((+((k[a+72>>2]|0)>>>0)+4294967296.0*+((k[a+72+4>>2]|0)>>>0))/+((k[a+60>>2]|0)>>>0))}function dO(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(!(i[621224]|0))if(Ce(621224)|0){Wqb(628548,357051,3);Wqb(628560,1279174,0);pd(621224)}e=i[a>>0]|0;g=(e&1)==0?(e&255)>>>1:k[a+4>>2]|0;e=(e&1)==0?a+1|0:k[a+8>>2]|0;f=0;while(1){c=628548+(f*12|0)|0;a=i[c>>0]|0;if(!(a&1))b=(a&255)>>>1;else b=k[628548+(f*12|0)+4>>2]|0;if(!b){a=0;b=15;break}if(!(a&1)){d=(a&255)>>>1;b=c+1|0}else{d=k[628548+(f*12|0)+4>>2]|0;b=k[628548+(f*12|0)+8>>2]|0}a=g>>>0>>0;if(!(Emb(b,e,a?g:d)|0))if(d>>>0>=g>>>0&(a^1)){a=1;b=15;break}f=f+1|0}if((b|0)==15)return a|0;return 0}function eO(a){a=a|0;Hj(a);return} +function Fza(){var a=0,b=0.0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,m=0,n=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0.0;a=0;do{b=+Y(+(+(a|0)),1.3333333333333333);o[680912+(a<<2)>>2]=b;a=a+1|0}while((a|0)!=8207);a=0;do{y=+p[3240+(a<<3)>>3];b=+X(+(y*y+1.0));o[714508+(a<<2)>>2]=1.0/b;o[714540+(a<<2)>>2]=y/b;a=a+1|0}while((a|0)!=8);a=0;do{x=a<<1;y=+_(+(+(x|1|0)*.04363323129985824))*.5/+Z(+(+(x+19|0)*.04363323129985824));o[714716+(a<<2)>>2]=y;o[714572+(a<<2)>>2]=y;x=a+18|0;y=+_(+(+(x<<1|1|0)*.04363323129985824))*.5/+Z(+(+((x<<1)+19|0)*.04363323129985824));o[715004+(x<<2)>>2]=y;o[714572+(x<<2)>>2]=y;a=a+1|0}while((a|0)!=18);a=0;do{w=a+18|0;y=.5/+Z(+(+((w<<1)+19|0)*.04363323129985824));o[714716+(w<<2)>>2]=y;w=a+12|0;y=.5/+Z(+(+((w<<1)+19|0)*.04363323129985824));o[715004+(w<<2)>>2]=y;w=a<<1;x=a+24|0;y=+_(+(+(w+13|0)*.1308996938995747))*.5/+Z(+(+((x<<1)+19|0)*.04363323129985824));o[714716+(x<<2)>>2]=y;o[715004+(a<<2)>>2]=0.0;o[714716+(a+30<<2)>>2]=0.0;x=a+6|0;y=+_(+(+(w|1|0)*.1308996938995747))*.5/+Z(+(+((x<<1)+19|0)*.04363323129985824));o[715004+(x<<2)>>2]=y;a=a+1|0}while((a|0)!=6);o[301598]=.5019099116325378;o[301599]=.517638087272644;o[301600]=.5516889691352844;o[301601]=.6103872656822205;o[301602]=.7071067690849304;o[301603]=.8717234134674072;o[301604]=1.1831008195877075;o[301605]=1.9318516254425049;o[301606]=5.736856460571289;o[301607]=.517638087272644;o[301608]=.7071067690849304;o[301609]=1.9318516254425049;o[178788]=.8660253882408142;o[178787]=.5;o[178789]=.9396926164627075;o[178790]=-.1736481785774231;o[178791]=-.7660444378852844;o[178792]=.9848077297210693;o[178793]=-.3420201539993286;o[178794]=-.6427876353263855;a=0;do{x=a<<1;y=+_(+(+(x|1|0)*.1308996938995747))*.5/+Z(+(+(x+7|0)*.1308996938995747));o[714860+(a<<2)>>2]=y;a=a+1|0}while((a|0)!=12);a=0;do{b=+(a|0);y=+$(+(b*.2617993877991494));o[713740+(a<<2)>>2]=y/(y+1.0);o[713804+(a<<2)>>2]=1.0/(y+1.0);o[713868+(a<<2)>>2]=y*1.4142135623730951/(y+1.0);o[713932+(a<<2)>>2]=1.4142135623730951/(y+1.0);do if((a|0)>0)if(!(a&1)){y=+Y(.8408964152537145,+(b*.5));o[713996+(a<<2)>>2]=1.0;o[714124+(a<<2)>>2]=y;o[714252+(a<<2)>>2]=1.4142135381698608;o[714380+(a<<2)>>2]=y*1.4142135623730951;y=+Y(.7071067811865476,+(b*.5));o[714060+(a<<2)>>2]=1.0;o[714188+(a<<2)>>2]=y;o[714316+(a<<2)>>2]=1.4142135381698608;o[714444+(a<<2)>>2]=y*1.4142135623730951;break}else{y=+Y(.8408964152537145,+((b+1.0)*.5));o[713996+(a<<2)>>2]=y;o[714124+(a<<2)>>2]=1.0;o[714252+(a<<2)>>2]=y*1.4142135623730951;o[714380+(a<<2)>>2]=1.4142135381698608;y=+Y(.7071067811865476,+((b+1.0)*.5));o[714060+(a<<2)>>2]=y;o[714188+(a<<2)>>2]=1.0;o[714316+(a<<2)>>2]=y*1.4142135623730951;o[714444+(a<<2)>>2]=1.4142135381698608;break}else{o[713996+(a<<2)>>2]=1.0;o[714124+(a<<2)>>2]=1.0;o[714252+(a<<2)>>2]=1.4142135381698608;o[714380+(a<<2)>>2]=1.4142135381698608;o[714060+(a<<2)>>2]=1.0;o[714188+(a<<2)>>2]=1.0;o[714316+(a<<2)>>2]=1.4142135381698608;o[714444+(a<<2)>>2]=1.4142135381698608}while(0);a=a+1|0}while((a|0)!=16);k[178795]=k[178643];k[178797]=k[178645];k[178799]=k[178647];k[178801]=k[178649];k[178803]=k[178651];k[178805]=k[178653];k[178807]=k[178655];k[178809]=k[178657];k[178811]=k[178659];k[178813]=k[178661];k[178815]=k[178663];k[178817]=k[178665];k[178819]=k[178667];k[178821]=k[178669];k[178823]=k[178671];k[178825]=k[178673];k[178827]=k[178675];k[178829]=k[178677];o[178796]=-+o[178644];o[178798]=-+o[178646];o[178800]=-+o[178648];o[178802]=-+o[178650];o[178804]=-+o[178652];o[178806]=-+o[178654];o[178808]=-+o[178656];o[178810]=-+o[178658];o[178812]=-+o[178660];o[178814]=-+o[178662];o[178816]=-+o[178664];o[178818]=-+o[178666];o[178820]=-+o[178668];o[178822]=-+o[178670];o[178824]=-+o[178672];o[178826]=-+o[178674];o[178828]=-+o[178676];o[178830]=-+o[178678];k[178831]=k[178679];k[178833]=k[178681];k[178835]=k[178683];k[178837]=k[178685];k[178839]=k[178687];k[178841]=k[178689];k[178843]=k[178691];k[178845]=k[178693];k[178847]=k[178695];k[178849]=k[178697];k[178851]=k[178699];k[178853]=k[178701];k[178855]=k[178703];k[178857]=k[178705];k[178859]=k[178707];k[178861]=k[178709];k[178863]=k[178711];k[178865]=k[178713];o[178832]=-+o[178680];o[178834]=-+o[178682];o[178836]=-+o[178684];o[178838]=-+o[178686];o[178840]=-+o[178688];o[178842]=-+o[178690];o[178844]=-+o[178692];o[178846]=-+o[178694];o[178848]=-+o[178696];o[178850]=-+o[178698];o[178852]=-+o[178700];o[178854]=-+o[178702];o[178856]=-+o[178704];o[178858]=-+o[178706];o[178860]=-+o[178708];o[178862]=-+o[178710];o[178864]=-+o[178712];o[178866]=-+o[178714];k[178867]=k[178715];k[178869]=k[178717];k[178871]=k[178719];k[178873]=k[178721];k[178875]=k[178723];k[178877]=k[178725];o[178868]=-+o[178716];o[178870]=-+o[178718];o[178872]=-+o[178720];o[178874]=-+o[178722];o[178876]=-+o[178724];o[178878]=-+o[178726];k[178903]=k[178751];k[178905]=k[178753];k[178907]=k[178755];k[178909]=k[178757];k[178911]=k[178759];k[178913]=k[178761];k[178915]=k[178763];k[178917]=k[178765];k[178919]=k[178767];k[178921]=k[178769];k[178923]=k[178771];k[178925]=k[178773];k[178927]=k[178775];k[178929]=k[178777];k[178931]=k[178779];k[178933]=k[178781];k[178935]=k[178783];k[178937]=k[178785];o[178904]=-+o[178752];o[178906]=-+o[178754];o[178908]=-+o[178756];o[178910]=-+o[178758];o[178912]=-+o[178760];o[178914]=-+o[178762];o[178916]=-+o[178764];o[178918]=-+o[178766];o[178920]=-+o[178768];o[178922]=-+o[178770];o[178924]=-+o[178772];o[178926]=-+o[178774];o[178928]=-+o[178776];o[178930]=-+o[178778];o[178932]=-+o[178780];o[178934]=-+o[178782];o[178936]=-+o[178784];o[178938]=-+o[178786];t=723088;u=723568;v=717968;w=715936;x=0;while(1){i=722960+(x*608|0)|0;k[680696+(x*12|0)>>2]=i;h=160188+(x*110|0)+46|0;e=l[h>>0]|0;k[i>>2]=e>>>1;k[722960+(x*608|0)+4>>2]=0;k[722960+(x*608|0)+8>>2]=3;k[722960+(x*608|0)+12>>2]=0;i=l[160188+(x*110|0)+47>>0]|0;k[722960+(x*608|0)+16>>2]=i>>>1;k[722960+(x*608|0)+20>>2]=e;k[722960+(x*608|0)+24>>2]=3;k[722960+(x*608|0)+28>>2]=1;j=l[160188+(x*110|0)+48>>0]|0;k[722960+(x*608|0)+32>>2]=j>>>1;k[722960+(x*608|0)+36>>2]=i+e;k[722960+(x*608|0)+40>>2]=3;k[722960+(x*608|0)+44>>2]=2;m=l[160188+(x*110|0)+49>>0]|0;k[722960+(x*608|0)+48>>2]=m>>>1;k[722960+(x*608|0)+52>>2]=j+(i+e);k[722960+(x*608|0)+56>>2]=3;k[722960+(x*608|0)+60>>2]=3;n=l[160188+(x*110|0)+50>>0]|0;k[722960+(x*608|0)+64>>2]=n>>>1;k[722960+(x*608|0)+68>>2]=m+(j+(i+e));k[722960+(x*608|0)+72>>2]=3;k[722960+(x*608|0)+76>>2]=4;q=l[160188+(x*110|0)+51>>0]|0;k[722960+(x*608|0)+80>>2]=q>>>1;k[722960+(x*608|0)+84>>2]=n+(m+(j+(i+e)));k[722960+(x*608|0)+88>>2]=3;k[722960+(x*608|0)+92>>2]=5;r=160188+(x*110|0)+52|0;e=q+(n+(m+(j+(i+e))))|0;g=l[r>>0]|0;k[722960+(x*608|0)+96>>2]=g>>>1;k[722960+(x*608|0)+100>>2]=e;k[722960+(x*608|0)+104>>2]=3;k[722960+(x*608|0)+108>>2]=6;s=160188+(x*110|0)+53|0;a=l[s>>0]|0;k[722960+(x*608|0)+112>>2]=a>>>1;k[722960+(x*608|0)+116>>2]=g+e;k[722960+(x*608|0)+120>>2]=3;k[722960+(x*608|0)+124>>2]=7;f=160188+(x*110|0)+109|0;c=160188+(x*110|0)+99|0;d=3;e=a+(g+e)|0;g=t;while(1){a=(l[c>>0]|0)>>>1;k[g>>2]=a;k[g+4>>2]=e;k[g+8>>2]=0;k[g+12>>2]=d;k[g+16>>2]=a;k[g+20>>2]=e+1;k[g+24>>2]=1;k[g+28>>2]=d;k[g+32>>2]=a;k[g+36>>2]=e+2;k[g+40>>2]=2;k[g+44>>2]=d;c=c+1|0;if((c|0)==(f|0))break;else{d=d+1|0;e=(a*6|0)+e|0;g=g+48|0}}k[680804+(x*12|0)>>2]=u;f=717344+(x*624|0)|0;k[680696+(x*12|0)+4>>2]=f;c=160188+(x*110|0)+96|0;d=0;e=0;while(1){a=(l[c>>0]|0)>>>1;k[f>>2]=a;k[f+4>>2]=e;k[f+8>>2]=0;k[f+12>>2]=d;k[f+16>>2]=a;k[f+20>>2]=e|1;k[f+24>>2]=1;k[f+28>>2]=d;k[f+32>>2]=a;k[f+36>>2]=e+2;k[f+40>>2]=2;k[f+44>>2]=d;d=d+1|0;if((d|0)==13)break;else{c=c+1|0;e=(a*6|0)+e|0;f=f+48|0}}k[680804+(x*12|0)+4>>2]=v;g=715760+(x*176|0)|0;k[680696+(x*12|0)+8>>2]=g;k[g>>2]=(l[h>>0]|0)>>>1;k[715760+(x*176|0)+4>>2]=0;k[715760+(x*176|0)+8>>2]=i>>>1;k[715760+(x*176|0)+12>>2]=1;k[715760+(x*176|0)+16>>2]=j>>>1;k[715760+(x*176|0)+20>>2]=2;k[715760+(x*176|0)+24>>2]=m>>>1;k[715760+(x*176|0)+28>>2]=3;k[715760+(x*176|0)+32>>2]=n>>>1;k[715760+(x*176|0)+36>>2]=4;k[715760+(x*176|0)+40>>2]=q>>>1;k[715760+(x*176|0)+44>>2]=5;k[715760+(x*176|0)+48>>2]=(l[r>>0]|0)>>>1;k[715760+(x*176|0)+52>>2]=6;k[715760+(x*176|0)+56>>2]=(l[s>>0]|0)>>>1;k[715760+(x*176|0)+60>>2]=7;k[715760+(x*176|0)+64>>2]=(l[160188+(x*110|0)+54>>0]|0)>>>1;k[715760+(x*176|0)+68>>2]=8;k[715760+(x*176|0)+72>>2]=(l[160188+(x*110|0)+55>>0]|0)>>>1;k[715760+(x*176|0)+76>>2]=9;k[715760+(x*176|0)+80>>2]=(l[160188+(x*110|0)+56>>0]|0)>>>1;k[715760+(x*176|0)+84>>2]=10;k[715760+(x*176|0)+88>>2]=(l[160188+(x*110|0)+57>>0]|0)>>>1;k[715760+(x*176|0)+92>>2]=11;k[715760+(x*176|0)+96>>2]=(l[160188+(x*110|0)+58>>0]|0)>>>1;k[715760+(x*176|0)+100>>2]=12;k[715760+(x*176|0)+104>>2]=(l[160188+(x*110|0)+59>>0]|0)>>>1;k[715760+(x*176|0)+108>>2]=13;k[715760+(x*176|0)+112>>2]=(l[160188+(x*110|0)+60>>0]|0)>>>1;k[715760+(x*176|0)+116>>2]=14;k[715760+(x*176|0)+120>>2]=(l[160188+(x*110|0)+61>>0]|0)>>>1;k[715760+(x*176|0)+124>>2]=15;k[715760+(x*176|0)+128>>2]=(l[160188+(x*110|0)+62>>0]|0)>>>1;k[715760+(x*176|0)+132>>2]=16;k[715760+(x*176|0)+136>>2]=(l[160188+(x*110|0)+63>>0]|0)>>>1;k[715760+(x*176|0)+140>>2]=17;k[715760+(x*176|0)+144>>2]=(l[160188+(x*110|0)+64>>0]|0)>>>1;k[715760+(x*176|0)+148>>2]=18;k[715760+(x*176|0)+152>>2]=(l[160188+(x*110|0)+65>>0]|0)>>>1;k[715760+(x*176|0)+156>>2]=19;k[715760+(x*176|0)+160>>2]=(l[160188+(x*110|0)+66>>0]|0)>>>1;k[715760+(x*176|0)+164>>2]=20;k[715760+(x*176|0)+168>>2]=(l[160188+(x*110|0)+67>>0]|0)>>>1;k[715760+(x*176|0)+172>>2]=21;k[680804+(x*12|0)+8>>2]=w;x=x+1|0;if((x|0)==9){c=0;break}else{t=t+608|0;u=u+608|0;v=v+624|0;w=w+176|0}}do{a=c*36|0;d=0;do{x=(d*6|0)+a|0;w=c|d<<3;k[677624+(x<<2)>>2]=w|12288;k[677624+((x|1)<<2)>>2]=w|12352;k[677624+(x+2<<2)>>2]=w|12416;k[677624+(x+3<<2)>>2]=w|12480;k[677624+(x+4<<2)>>2]=w|12544;k[677624+(x+5<<2)>>2]=w|12608;d=d+1|0}while((d|0)!=6);c=c+1|0}while((c|0)!=5);a=0;do{x=a<<4;k[677624+(x+180<<2)>>2]=a|16384;k[677624+(x+181<<2)>>2]=a|16448;k[677624+(x+182<<2)>>2]=a|16512;k[677624+(x+183<<2)>>2]=a|16576;k[677624+(x+184<<2)>>2]=a|16392;k[677624+(x+185<<2)>>2]=a|16456;k[677624+(x+186<<2)>>2]=a|16520;k[677624+(x+187<<2)>>2]=a|16584;k[677624+(x+188<<2)>>2]=a|16400;k[677624+(x+189<<2)>>2]=a|16464;k[677624+(x+190<<2)>>2]=a|16528;k[677624+(x+191<<2)>>2]=a|16592;k[677624+(x+192<<2)>>2]=a|16408;k[677624+(x+193<<2)>>2]=a|16472;k[677624+(x+194<<2)>>2]=a|16536;k[677624+(x+195<<2)>>2]=a|16600;a=a+1|0}while((a|0)!=4);k[169650]=20480;k[170162]=40960;k[169651]=20488;k[170163]=40968;k[169652]=20496;k[170164]=40976;k[169653]=20481;k[170165]=40961;k[169654]=20489;k[170166]=40969;k[169655]=20497;k[170167]=40977;k[169656]=20482;k[170168]=40962;k[169657]=20490;k[170169]=40970;k[169658]=20498;k[170170]=40978;k[169659]=20483;k[170171]=40963;k[169660]=20491;k[170172]=40971;k[169661]=20499;k[170173]=40979;c=0;do{a=c*80|0;d=0;do{x=(d<<4)+a|0;w=d<<3|c;k[678648+(x<<2)>>2]=w;k[678648+((x|1)<<2)>>2]=w|512;k[678648+((x|2)<<2)>>2]=w|1024;k[678648+((x|3)<<2)>>2]=w|1536;k[678648+((x|4)<<2)>>2]=w|64;k[678648+((x|5)<<2)>>2]=w|576;k[678648+((x|6)<<2)>>2]=w|1088;k[678648+((x|7)<<2)>>2]=w|1600;k[678648+((x|8)<<2)>>2]=w|128;k[678648+((x|9)<<2)>>2]=w|640;k[678648+((x|10)<<2)>>2]=w|1152;k[678648+((x|11)<<2)>>2]=w|1664;k[678648+((x|12)<<2)>>2]=w|192;k[678648+((x|13)<<2)>>2]=w|704;k[678648+((x|14)<<2)>>2]=w|1216;k[678648+((x|15)<<2)>>2]=w|1728;d=d+1|0}while((d|0)!=5);c=c+1|0}while((c|0)!=5);a=0;do{x=a*20|0;k[678648+(x+400<<2)>>2]=a|4096;k[678648+(x+401<<2)>>2]=a|4160;k[678648+(x+402<<2)>>2]=a|4224;k[678648+(x+403<<2)>>2]=a|4288;k[678648+(x+404<<2)>>2]=a|4104;k[678648+(x+405<<2)>>2]=a|4168;k[678648+(x+406<<2)>>2]=a|4232;k[678648+(x+407<<2)>>2]=a|4296;k[678648+(x+408<<2)>>2]=a|4112;k[678648+(x+409<<2)>>2]=a|4176;k[678648+(x+410<<2)>>2]=a|4240;k[678648+(x+411<<2)>>2]=a|4304;k[678648+(x+412<<2)>>2]=a|4120;k[678648+(x+413<<2)>>2]=a|4184;k[678648+(x+414<<2)>>2]=a|4248;k[678648+(x+415<<2)>>2]=a|4312;k[678648+(x+416<<2)>>2]=a|4128;k[678648+(x+417<<2)>>2]=a|4192;k[678648+(x+418<<2)>>2]=a|4256;k[678648+(x+419<<2)>>2]=a|4320;a=a+1|0}while((a|0)!=5);return}function Gza(){return}function Hza(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;do if(!(k[178939]|0)){a=8;e=6}else{c=hqb(28616)|0;if(!c){a=0;e=6}else{Kwa(c,0);if((mya(c,a)|0)==1){k[c+28380>>2]=1;d=0;a=c;break}else{oxa(c);iqb(c);a=9;e=6;break}}}while(0);if((e|0)==6){d=(a|0)==0?7:a;a=0}if(!b)return a|0;k[b>>2]=d;return a|0}function Iza(a,b,c,d){a=a|0;b=b|0;c=c|0;d=+d;if(!a){a=-1;return a|0}c=Jza(a+28064|0,b,c,d)|0;if(c|0){k[a+28376>>2]=c;a=-1;return a|0}if((b|0)==15){c=ixa(a)|0;if(!c){a=0;return a|0}k[a+28376>>2]=36;a=c;return a|0}else{if((b+-17|0)>>>0>=2){a=0;return a|0}Yya(a+28020|0,k[a+28364>>2]|0,k[a+28368>>2]|0);a=0;return a|0}return 0}function Jza(a,b,c,d){a=a|0;b=b|0;c=c|0;d=+d;a:do if(!a)b=25;else do switch(b|0){case 0:{k[a>>2]=c;b=0;break a}case 1:{k[a+4>>2]=c;b=0;break a}case 2:{k[a+4>>2]=k[a+4>>2]|c;b=0;break a}case 13:{k[a+4>>2]=k[a+4>>2]&~c;b=0;break a}case 3:{if((c|0)>96e3){b=3;break a}k[a+8>>2]=(c|0)<0?0:c;b=0;break a}case 4:{if(c>>>0>2){b=3;break a}k[a+12>>2]=c;b=0;break a}case 5:{if(c>>>0>2){b=12;break a}k[a+16>>2]=c;b=0;break a}case 6:{k[a+20>>2]=(c|0)<0?0:c;b=0;break a}case 7:{k[a+24>>2]=(c|0)<0?0:c;b=0;break a}case 10:{k[a+272>>2]=(c|0)>0?c:0;b=0;break a}case 11:{p[a+280>>3]=(c|0)==0?d:+(c|0)*.000030517578125;b=0;break a}case 12:{k[a+28>>2]=(c|0)<0?0:c;b=0;break a}case 14:{k[a+288>>2]=c;b=0;break a}case 15:{k[a+292>>2]=c;b=0;break a}case 16:{if((c|0)<=-1){b=39;break a}k[a+296>>2]=c;b=0;break a}case 17:{if((c|0)<=-1){b=39;break a}k[a+300>>2]=c;b=0;break a}case 18:{if((c|0)<=0){b=39;break a}k[a+304>>2]=c;b=0;break a}default:{b=5;break a}}while(0);while(0);return b|0}function Kza(a,b){a=a|0;b=b|0;var c=0;if(!a){a=-1;return a|0}c=k[(k[a+27956>>2]|0)+4>>2]|0;if(c|0)Si[c&1023](a);if(k[a+4>>2]|0){Pwa(a+27876|0);k[a+4>>2]=0}mxa(a)|0;if(!(k[a+27996>>2]|0)){k[a+28376>>2]=41;a=-1;return a|0}else{a=yza(a,b)|0;return a|0}return 0}function Lza(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;if(!a){b=-1;return b|0}e=k[(k[a+27956>>2]|0)+4>>2]|0;if(e|0)Si[e&1023](a);if(k[a+4>>2]|0){Pwa(a+27876|0);k[a+4>>2]=0}mxa(a)|0;k[a+27996>>2]=b;k[a+28e3>>2]=c;k[a+28004>>2]=d;b=0;return b|0}function Mza(a){a=a|0;var b=0,c=0,d=0,e=0;e=r;r=r+16|0;if((k[a+19748>>2]|0)<0){if(!(k[a+28068>>2]&32)){d=k[37151]|0;k[e>>2]=498;Cob(d,513320,e)|0}k[a+28376>>2]=37;a=-1;r=e;return a|0}c=jwa(a)|0;b=Fxa(a)|0;if((b|0)<0){a=-1;r=e;return a|0}if((b|0)==1)k[a+4>>2]=1;b=k[a+27888>>2]|0;do if((b|0)==(c|0)){k[a+19680>>2]=0;c=0;d=14}else{if((b|0)==(c>>1|0)){k[a+19680>>2]=1;c=1;d=14;break}if((b|0)==(c>>2|0)){k[a+19680>>2]=2;c=2;d=14;break}k[a+19680>>2]=3;if(Nza(a)|0){a=-1;r=e;return a|0}c=jwa(a)|0;b=k[a+27888>>2]|0;if((c|0)>(b|0)){k[a+19668>>2]=b<<5;c=jwa(a)|0;k[a+19668>>2]=(k[a+19668>>2]|0)/(c|0)|0}else k[a+19668>>2]=32;b=k[a+19688>>2]|0;if((b|0)==1)b=384;else if((b|0)==2)b=1152;else if(!(k[a+19672>>2]|0))b=k[a+19676>>2]|0?576:1152;else b=576;c=k[a+27888>>2]<<15;c=Kxa(a,((ha((c>>>0)/((jwa(a)|0)>>>0)|0,b)|0)+32767|0)>>>15)|0;k[a+27896>>2]=c}while(0);if((d|0)==14){k[a+19668>>2]=32>>>c;b=k[a+19688>>2]|0;if((b|0)==1)b=384;else if((b|0)==2)b=1152;else if(!(k[a+19672>>2]|0))b=k[a+19676>>2]|0?576:1152;else b=576;d=Kxa(a,b>>>c)|0;k[a+27896>>2]=d}b=k[a+28068>>2]&7;do if(!b)if((k[a+27884>>2]|0)==1){k[a+19660>>2]=3;break}else{k[a+19660>>2]=-1;break}else k[a+19660>>2]=b+-1;while(0);if(Qxa(a)|0){a=-1;r=e;return a|0}if(jxa(a)|0){a=-1;r=e;return a|0}Gwa(a);a=0;r=e;return a|0}function Nza(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;g=r;r=r+32|0;d=jwa(a)|0;e=k[a+27888>>2]|0;if(!(k[a+28068>>2]&32))if((k[a+28064>>2]|0)>1){f=k[37151]|0;k[g>>2]=d;k[g+4>>2]=e;Cob(f,513442,g)|0}if((d+-1|0)>>>0>95999|(e+-1|0)>>>0>95999){if(!(k[a+28068>>2]&32)){f=k[37151]|0;k[g+8>>2]=22;Cob(f,513473,g+8|0)|0}k[a+28376>>2]=3;a=-1;r=g;return a|0}k[a+19360>>2]=(e<<15>>>0)/(d>>>0)|0;if(((e<<15>>>0)/(d>>>0)|0)>>>0>262144){if(!(k[a+28068>>2]&32)){f=k[37151]|0;k[g+16>>2]=31;k[g+16+4>>2]=8;k[g+16+8>>2]=(e<<15>>>0)/(d>>>0)|0;k[g+16+12>>2]=262144;Cob(f,513523,g+16|0)|0}k[a+28376>>2]=3;a=-1;r=g;return a|0}f=k[a+19748>>2]|0;if((f|0)>0)switch(k[a+19688>>2]|0){case 1:{c=0;b=16384;while(1){b=b+(((e<<15>>>0)/(d>>>0)|0)*384|0)|0;c=c+1|0;if((c|0)==(f|0)){b=b-(((b|0)/32768|0)<<15)|0;break}else b=b-(((b|0)/32768|0)<<15)|0}break}case 2:{c=0;b=16384;while(1){b=b+(((e<<15>>>0)/(d>>>0)|0)*1152|0)|0;c=c+1|0;if((c|0)==(f|0)){b=b-(((b|0)/32768|0)<<15)|0;break}else b=b-(((b|0)/32768|0)<<15)|0}break}default:if(!(k[a+19672>>2]|0)){c=ha((k[a+19676>>2]|0)==0?1152:576,(e<<15>>>0)/(d>>>0)|0)|0;d=0;b=16384;while(1){b=c+b|0;d=d+1|0;if((d|0)==(f|0)){b=b-(((b|0)/32768|0)<<15)|0;break}else b=b-(((b|0)/32768|0)<<15)|0}}else{c=0;b=16384;while(1){b=(((e<<15>>>0)/(d>>>0)|0)*576|0)+b|0;c=c+1|0;if((c|0)==(f|0)){b=b-(((b|0)/32768|0)<<15)|0;break}else b=b-(((b|0)/32768|0)<<15)|0}}}else b=16384;k[a+19356>>2]=b;k[a+19352>>2]=b;a=0;r=g;return a|0}function Oza(a){a=a|0;var b=0,c=0,d=0,e=0;e=r;r=r+16|0;d=Kxa(a,wxa(a)|0)|0;b=Gi[k[a+19692>>2]&2047](a)|0;k[a+28388>>2]=(k[a+28388>>2]|0)+b;b=k[a+27864>>2]|0;if(d>>>0<=b>>>0){Nxa(a);r=e;return}if(!(k[a+28068>>2]&32))if((k[a+28064>>2]|0)>1){c=k[37151]|0;k[e>>2]=k[a+19748>>2];k[e+4>>2]=d-b;k[e+8>>2]=b;Cob(c,513586,e)|0;b=k[a+27864>>2]|0}if(!(k[a+27876>>2]&15))c=0;else c=i[k[a+9592>>2]>>0]|0;vBb((k[a+27856>>2]|0)+b|0,c|0,d-b|0)|0;k[a+27864>>2]=d;Exa(a,(k[a+19748>>2]|0)+1|0);Nxa(a);r=e;return}function Pza(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=r;r=r+32|0;if(!(k[a+19764>>2]&1)){r=f;return}b=k[a+27920>>2]|0;if((b|0)>0)if((k[a+19748>>2]|0)>=(b|0)){r=f;return}b=k[a+27912>>2]|0;if((b|0)>-1){c=k[a+19748>>2]|0;if((c|0)>=(b|0)){if((c|0)==(b|0))c=Lxa(a,k[a+27928>>2]|0)|0;else c=0;b=k[a+27864>>2]|0;if((b|0)>(c|0)){k[a+27864>>2]=c;b=c}if(!(k[a+28068>>2]&32))if((k[a+28064>>2]|0)>2){c=k[37151]|0;d=k[a+19748>>2]|0;if((d|0)==(k[a+27912>>2]|0))e=k[a+27928>>2]|0;else e=0;k[f>>2]=d;k[f+4>>2]=e;k[f+8>>2]=b;Cob(c,513648,f)|0}}}b=k[a+27924>>2]|0;if(!b){r=f;return}if((k[a+19748>>2]|0)!=(k[a+27908>>2]|0)){r=f;return}b=Lxa(a,b)|0;c=k[a+27864>>2]|0;do if((c|0)>(b|0)){k[a+27864>>2]=c-b;d=k[a+27856>>2]|0;if(!(k[a+27892>>2]|0)){BBb(d|0,d+b|0,c-b|0)|0;break}else{k[a+27860>>2]=d+b;break}}else k[a+27864>>2]=0;while(0);if(!(k[a+28068>>2]&32))if((k[a+28064>>2]|0)>2){e=k[37151]|0;c=k[a+27924>>2]|0;d=k[a+27864>>2]|0;k[f+16>>2]=k[a+19748>>2];k[f+16+4>>2]=c;k[f+16+8>>2]=d;Cob(e,513730,f+16|0)|0}k[a+27924>>2]=0;r=f;return}function Qza(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=k[a+28380>>2]|0;while(1){if(k[a+27904>>2]|0){c=k[a+19748>>2]|0;if((c|0)<(k[a+27908>>2]|0))if((c|0)>=(k[a+27916>>2]|0)){Gi[k[a+19692>>2]&2047](a)|0;k[a+27864>>2]=0;if((k[a+19680>>2]|0)==3)Exa(a,(k[a+19748>>2]|0)+1|0);k[a+27900>>2]=0;k[a+27904>>2]=0}}k[a+27900>>2]=0;c=kwa(a)|0;if((c|0)==-10){b=-10;d=26;break}if((c|0)<1){d=10;break}b=(k[a+19684>>2]|0)>1?1:b;c=(k[a+19756>>2]|0)+1|0;k[a+19756>>2]=c;d=k[a+19748>>2]|0;e=(d|0)<(k[a+27908>>2]|0);if(!e){f=k[a+28088>>2]|0;if(!f){d=20;break}if(!((c|0)%(f|0)|0)){d=20;break}}if(!((k[a+27904>>2]|0)==0|e^1))if((d|0)>=(k[a+27916>>2]|0))continue;Cxa(a)}if((d|0)==10){if(c|0){b=k[a+27960>>2]|0;if((b|0)<=-1){a=-1;return a|0}if((k[a+27964>>2]|0)!=(b|0)){a=-1;return a|0}}k[a+19840>>2]=(k[a+19748>>2]|0)+1;a=-12;return a|0}else if((d|0)==20){if(b|0){if((Mza(a)|0)<0){a=-1;return a|0}k[a+28380>>2]=0;if(k[a>>2]|0){zxa(a);Bxa(a,k[a+19748>>2]|0);k[a>>2]=0;if((k[a+19748>>2]|0)<(k[a+27908>>2]|0)){b=Qza(a)|0;if((b|0)<=-1){a=b;return a|0}}}}a=0;return a|0}else if((d|0)==26)return b|0;return 0}function Rza(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Sza(a,0,0,b,c,d)|0}function Sza(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;if(f|0)k[f>>2]=0;if(!a){f=-1;return f|0}do if(!c)g=10;else{if(!b){k[a+28376>>2]=31;b=0;c=-1;break}if(!(Zya(a,b,c)|0))if((k[a+28376>>2]|0)==18){k[a+28376>>2]=0;g=10}else g=10;else{b=0;c=-1}}while(0);a:do if((g|0)==10){e=(d|0)==0?0:e;b=0;b:while(1){while(1){if(k[a+27900>>2]|0){if(k[a+4>>2]|0)break b;if(((k[a+27868>>2]|0)-(k[a+27864>>2]|0)|0)>>>0<(k[a+27896>>2]|0)>>>0){c=14;break a}Oza(a);k[a+27904>>2]=0;k[a+27900>>2]=0;k[a+27860>>2]=k[a+27856>>2];Pza(a)}c=k[a+27864>>2]|0;if(c|0)break;c=Qza(a)|0;if((c|0)<0)break a}g=e-b|0;c=c>>>0>g>>>0?g:c;ABb(d|0,k[a+27860>>2]|0,c|0)|0;k[a+27864>>2]=(k[a+27864>>2]|0)-c;b=c+b|0;k[a+27860>>2]=(k[a+27860>>2]|0)+c;if(e>>>0>b>>>0)d=d+c|0;else{c=0;break a}}k[a+4>>2]=0;c=-11}while(0);if(!f){f=c;return f|0}k[f>>2]=b;f=c;return f|0}function Tza(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;if(!a){b=-1;return b|0}if((k[a+19748>>2]|0)<0){e=Qza(a)|0;if((e|0)<=-1){b=e;return b|0}}if(b|0)k[b>>2]=k[a+27888>>2];if(c|0)k[c>>2]=k[a+27884>>2];if(d|0)k[d>>2]=k[a+27876>>2];k[a+4>>2]=0;b=0;return b|0}function Uza(a){a=a|0;var b=0,c=0,d=0,e=0;if(!a){a=-1;return a|0}c=k[a+19748>>2]|0;if((c|0)<0){a=0;return a|0}d=k[a+27908>>2]|0;do if((c|0)<(d|0))e=6;else{b=(k[a+27900>>2]|0)==0;if((c|0)==(d|0)){if(!b){e=6;break}}else if(!b){b=uxa(a,c)|0;b=b-(Mxa(a,k[a+27864>>2]|0)|0)|0;break}b=uxa(a,c+1|0)|0;b=b-(Mxa(a,k[a+27864>>2]|0)|0)|0}while(0);if((e|0)==6){b=uxa(a,d)|0;b=(k[a+27924>>2]|0)+b|0}do if(k[a+28068>>2]&64){d=k[a+27944>>2]|0;if((d|0)>=(b|0)){b=b-(k[a+27936>>2]|0)|0;break}e=k[a+27948>>2]|0;c=k[a+27936>>2]|0;if((e|0)>(b|0)){b=d-c|0;break}else{b=d+b-e-c|0;break}}while(0);a=(b|0)>0?b:0;return a|0}function Vza(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=Uza(a)|0;if((c|0)!=0&(d|0)<0){if(!a){a=-1;return a|0}k[a+28376>>2]=32;a=-1;return a|0}if((k[a+19748>>2]|0)<0){e=Qza(a)|0;if((e|0)<=-1){a=e;return a|0}}a:do switch(c|0){case 1:{b=d+b|0;break}case 0:break;case 2:{d=k[a+19840>>2]|0;do if((d|0)<1){if(k[a+27976>>2]&4|0){Wza(a)|0;d=k[a+19840>>2]|0;if((d|0)>0)break}d=k[a+27944>>2]|0;if((d|0)<=0){k[a+28376>>2]=19;a=-1;return a|0}if(k[a+28068>>2]&64)d=d-(k[a+27936>>2]|0)|0;b=d-b|0;break a}while(0);d=uxa(a,d)|0;do if(k[a+28068>>2]&64){e=k[a+27944>>2]|0;if((e|0)>=(d|0)){d=d-(k[a+27936>>2]|0)|0;break}c=k[a+27948>>2]|0;f=k[a+27936>>2]|0;if((c|0)>(d|0)){d=e-f|0;break}else{d=e+d-c-f|0;break}}while(0);b=d-b|0;break}default:{k[a+28376>>2]=20;a=-1;return a|0}}while(0);b=(b|0)<0?0:b;if(k[a+28068>>2]&64){b=(k[a+27936>>2]|0)+b|0;d=k[a+27944>>2]|0;if((b|0)>=(d|0))b=b-d+(k[a+27948>>2]|0)|0}Dxa(a,b);b=k[a+27916>>2]|0;b=(b|0)<0?0:b;k[a+27864>>2]=0;d=k[a+19748>>2]|0;e=k[a+27908>>2]|0;if((d|0)<(e|0)){k[a+27900>>2]=0;if((d|0)<=(b|0))g=29}else g=29;do if((g|0)==29){if((d|0)==(b|0))if((b|0)<(e|0)|(k[a+27900>>2]|0)!=0)break;if((d|0)==(b+-1|0)){k[a+27900>>2]=0;break}lxa(a)|0;if((k[a+19680>>2]|0)==3)Exa(a,b);b=gj[k[(k[a+27956>>2]|0)+32>>2]&511](a,b)|0;if((b|0)<0){a=b;return a|0}b=k[a+19748>>2]|0;if((b|0)<(k[a+27908>>2]|0))k[a+27900>>2]=0;k[a+19756>>2]=b}while(0);a=Uza(a)|0;return a|0}function Wza(a){a=a|0;var b=0,c=0,d=0,e=0;if(!a){a=-1;return a|0}if(!(k[a+27976>>2]&4)){k[a+28376>>2]=23;a=-1;return a|0}if((k[a+19748>>2]|0)<0){b=Qza(a)|0;if((b|0)<=-1){a=((b|0)!=-12)<<31>>31;return a|0}}e=Uza(a)|0;if((gj[k[(k[a+27956>>2]|0)+32>>2]&511](a,0)|0)<0){a=-1;return a|0}if(k[a+19748>>2]|0){a=-1;return a|0}b=k[a+19688>>2]|0;if((b|0)==1)b=384;else if((b|0)==2)b=1152;else if(!(k[a+19672>>2]|0))b=k[a+19676>>2]|0?576:1152;else b=576;if((kwa(a)|0)==1){c=1;while(1){d=c+1|0;c=k[a+19688>>2]|0;do if((c|0)==1)c=384;else if((c|0)==2)c=1152;else{if(!(k[a+19672>>2]|0))if(!(k[a+19676>>2]|0)){c=1152;break}c=576}while(0);b=c+b|0;if((kwa(a)|0)==1)c=d;else{c=d;break}}}else c=1;k[a+19840>>2]=c;k[a+19844>>2]=b;Xza(a,0,c)|0;Axa(a,k[a+19844>>2]|0);a=(Vza(a,e,0)|0)>>31;return a|0}function Xza(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if(!a){a=-1;return a|0}if((k[a+19748>>2]|0)<0){d=Qza(a)|0;if((d|0)<=-1){a=d;return a|0}}a:do switch(c|0){case 1:{b=(k[a+19748>>2]|0)+b|0;break}case 0:break;case 2:{d=k[a+19840>>2]|0;if((d|0)>0){b=d-b|0;break a}k[a+28376>>2]=19;a=-1;return a|0}default:{k[a+28376>>2]=20;a=-1;return a|0}}while(0);Bxa(a,(b|0)<0?0:b);b=k[a+27916>>2]|0;b=(b|0)<0?0:b;k[a+27864>>2]=0;c=k[a+19748>>2]|0;d=k[a+27908>>2]|0;if((c|0)<(d|0)){k[a+27900>>2]=0;if((c|0)>(b|0))b=c;else e=12}else e=12;do if((e|0)==12){if((c|0)==(b|0))if((b|0)<(d|0)|(k[a+27900>>2]|0)!=0)break;if((c|0)==(b+-1|0)){k[a+27900>>2]=0;b=c;break}lxa(a)|0;if((k[a+19680>>2]|0)==3)Exa(a,b);b=gj[k[(k[a+27956>>2]|0)+32>>2]&511](a,b)|0;if((b|0)<0){a=b;return a|0}b=k[a+19748>>2]|0;d=k[a+27908>>2]|0;if((b|0)<(d|0))k[a+27900>>2]=0;k[a+19756>>2]=b}while(0);if((b|0)<(d|0)){a=d;return a|0}if(k[a+27900>>2]|0){a=b;return a|0}a=((k[a+27864>>2]|0)==0&1)+b|0;return a|0}function Yza(a){a=a|0;var b=0,c=0.0,d=0.0,e=0,f=0,g=0;if(!a){a=-1;return a|0}if((k[a+19748>>2]|0)<0){b=Qza(a)|0;if((b|0)<=-1){a=b;return a|0}}b=k[a+19844>>2]|0;do if((b|0)<=-1){e=k[a+19840>>2]|0;if((e|0)>0){b=k[a+19688>>2]|0;if((b|0)==1)b=384;else if((b|0)==2)b=1152;else if(!(k[a+19672>>2]|0))b=k[a+19676>>2]|0?576:1152;else b=576;b=ha(b,e)|0;break}b=k[a+27960>>2]|0;if((b|0)<=0){if(b|0){a=-1;return a|0}a=Uza(a)|0;return a|0}c=+p[a+19848>>3];if(!(c!=0.0)){c=+Jwa(a);b=k[a+27960>>2]|0}d=+(b|0)/c;b=k[a+19688>>2]|0;if((b|0)==1)c=384.0;else if((b|0)==2)c=1152.0;else if(!(k[a+19672>>2]|0))c=k[a+19676>>2]|0?576.0:1152.0;else c=576.0;b=~~(c*d)}while(0);e=sxa(a,b)|0;if(!(k[a+28068>>2]&64)){a=e;return a|0}f=k[a+27944>>2]|0;if((f|0)>=(e|0)){a=e-(k[a+27936>>2]|0)|0;return a|0}g=k[a+27948>>2]|0;b=k[a+27936>>2]|0;if((g|0)>(e|0)){a=f-b|0;return a|0}else{a=f+e-g-b|0;return a|0}return 0}function Zza(a){a=a|0;var b=0;if(!a)return;b=k[(k[a+27956>>2]|0)+4>>2]|0;if(b|0)Si[b&1023](a);if(k[a+4>>2]|0){Pwa(a+27876|0);k[a+4>>2]=0}mxa(a)|0;oxa(a);iqb(a);return}function _za(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+16|0;k[e+12>>2]=a;k[e+8>>2]=b;k[e+4>>2]=c;k[e>>2]=d;if((k[e+8>>2]|0)>>>0<=0){r=e;return}$za(k[e+12>>2]|0,0,(k[e+8>>2]|0)-1|0,k[e+4>>2]|0,k[e>>2]|0);r=e;return}function $za(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=r;r=r+32|0;k[f+28>>2]=a;k[f+24>>2]=b;k[f+20>>2]=c;k[f+16>>2]=d;k[f+12>>2]=e;if(((k[f+20>>2]|0)-(k[f+24>>2]|0)|0)>>>0<=4){aAa(k[f+28>>2]|0,k[f+24>>2]|0,k[f+20>>2]|0,k[f+16>>2]|0,k[f+12>>2]|0);r=f;return}k[f+8>>2]=(((k[f+20>>2]|0)+(k[f+24>>2]|0)|0)>>>0)/2|0;if((Ri[k[f+16>>2]&255](k[f+28>>2]|0,k[f+24>>2]|0,k[f+8>>2]|0)|0)>0)kj[k[f+12>>2]&255](k[f+28>>2]|0,k[f+24>>2]|0,k[f+8>>2]|0);if((Ri[k[f+16>>2]&255](k[f+28>>2]|0,k[f+24>>2]|0,k[f+20>>2]|0)|0)>0)kj[k[f+12>>2]&255](k[f+28>>2]|0,k[f+24>>2]|0,k[f+20>>2]|0);if((Ri[k[f+16>>2]&255](k[f+28>>2]|0,k[f+8>>2]|0,k[f+20>>2]|0)|0)>0)kj[k[f+12>>2]&255](k[f+28>>2]|0,k[f+8>>2]|0,k[f+20>>2]|0);k[f+4>>2]=(k[f+20>>2]|0)-1;kj[k[f+12>>2]&255](k[f+28>>2]|0,k[f+8>>2]|0,k[f+4>>2]|0);k[f+8>>2]=k[f+24>>2];k[f>>2]=k[f+4>>2];while(1){c=k[f+16>>2]|0;b=k[f+28>>2]|0;e=(k[f+8>>2]|0)+1|0;k[f+8>>2]=e;if((Ri[c&255](b,e,k[f>>2]|0)|0)<0)continue;do{c=k[f+16>>2]|0;b=k[f+28>>2]|0;e=(k[f+4>>2]|0)+-1|0;k[f+4>>2]=e}while((Ri[c&255](b,e,k[f>>2]|0)|0)>0);if((k[f+4>>2]|0)>>>0<(k[f+8>>2]|0)>>>0)break;kj[k[f+12>>2]&255](k[f+28>>2]|0,k[f+8>>2]|0,k[f+4>>2]|0)}if((k[f+8>>2]|0)!=((k[f+20>>2]|0)-1|0))kj[k[f+12>>2]&255](k[f+28>>2]|0,k[f+8>>2]|0,(k[f+20>>2]|0)-1|0);$za(k[f+28>>2]|0,k[f+24>>2]|0,k[f+4>>2]|0,k[f+16>>2]|0,k[f+12>>2]|0);$za(k[f+28>>2]|0,(k[f+8>>2]|0)+1|0,k[f+20>>2]|0,k[f+16>>2]|0,k[f+12>>2]|0);r=f;return}function aAa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=r;r=r+32|0;k[f+24>>2]=a;k[f+20>>2]=b;k[f+16>>2]=c;k[f+12>>2]=d;k[f+8>>2]=e;do{k[f>>2]=1;k[f+4>>2]=k[f+20>>2];while(1){if((k[f+4>>2]|0)>>>0>=(k[f+16>>2]|0)>>>0)break;if((Ri[k[f+12>>2]&255](k[f+24>>2]|0,k[f+4>>2]|0,(k[f+4>>2]|0)+1|0)|0)>0){kj[k[f+8>>2]&255](k[f+24>>2]|0,k[f+4>>2]|0,(k[f+4>>2]|0)+1|0);k[f>>2]=0}k[f+4>>2]=(k[f+4>>2]|0)+1}}while((k[f>>2]|0)!=0^1);r=f;return}function bAa(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;k[c+4>>2]=a;if(!(k[c+4>>2]|0)){r=c;return}b=cAa()|0;k[c>>2]=b;if(!(k[c>>2]|0)){b=gj[k[728440>>2]&511](92,0)|0;k[c>>2]=b;if(!(k[c>>2]|0)){r=c;return}a=k[c>>2]|0;b=a+92|0;do{i[a>>0]=0;a=a+1|0}while((a|0)<(b|0));b=WBa()|0;k[k[c>>2]>>2]=b;if(k[182113]|0)ZBa(k[182113]|0)|0;k[(k[c>>2]|0)+88>>2]=k[182114];k[182114]=k[c>>2];if(k[182113]|0)_Ba(k[182113]|0)}k[(k[c>>2]|0)+4>>2]=1;dpb((k[c>>2]|0)+8|0,k[c+4>>2]|0,80)|0;i[(k[c>>2]|0)+8+79>>0]=0;r=c;return}function cAa(){var a=0,b=0;a=r;r=r+16|0;if(k[182113]|0)ZBa(k[182113]|0)|0;a:do if(k[182114]|0){b=WBa()|0;k[a>>2]=b;k[a+4>>2]=k[182114];while(1){if(!(k[a+4>>2]|0))break a;if((k[k[a+4>>2]>>2]|0)==(k[a>>2]|0))break;k[a+4>>2]=k[(k[a+4>>2]|0)+88>>2]}if(k[182113]|0)_Ba(k[182113]|0);k[a+8>>2]=k[a+4>>2];b=k[a+8>>2]|0;r=a;return b|0}while(0);if(k[182113]|0)_Ba(k[182113]|0);k[a+8>>2]=0;b=k[a+8>>2]|0;r=a;return b|0}function dAa(){var a=0,b=0;a=r;r=r+16|0;b=cAa()|0;k[a>>2]=b;if(k[a>>2]|0)if(k[(k[a>>2]|0)+4>>2]|0){k[(k[a>>2]|0)+4>>2]=0;k[a+4>>2]=(k[a>>2]|0)+8;b=k[a+4>>2]|0;r=a;return b|0}k[a+4>>2]=0;b=k[a+4>>2]|0;r=a;return b|0}function eAa(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;if(!(k[b>>2]|0)){r=b;return}i[k[b>>2]>>0]=2;i[(k[b>>2]|0)+1>>0]=0;i[(k[b>>2]|0)+2>>0]=3;r=b;return}function fAa(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+4>>2]=a;do if(k[182115]|0){bAa(513818);k[b+8>>2]=0}else{if(!0)gAa();if(k[182108]|0)if(!(oj[k[182108]&7]()|0)){bAa(0);k[b+8>>2]=0;break}if(!(PBa()|0)){bAa(0);k[b+8>>2]=0;break}if(!(kAa()|0)){bAa(0);k[b+8>>2]=0;break}a=lAa(k[b+4>>2]|0)|0;k[182117]=a;if(!(k[182117]|0)){bAa(0);k[b+8>>2]=0;break}a=UBa(k[182117]|0)|0;k[b>>2]=a;Si[k[728448>>2]&1023](k[182117]|0);if(!(k[b>>2]|0)){bAa(0);k[b+8>>2]=0;break}k[182117]=k[b>>2];if(!(nAa(728468)|0)){bAa(0);k[b+8>>2]=0;break}a=oAa()|0;k[182118]=a;if(k[182118]|0)if(nAa(728472)|0){k[182115]=1;bAa(dAa()|0);k[b+8>>2]=1;break}Si[k[728448>>2]&1023](k[182117]|0);k[182117]=0;k[b+8>>2]=0}while(0);r=b;return k[b+8>>2]|0}function gAa(){if(0)rb(513838,513857,2178,513921);if(VBa(728432)|0)return;k[182108]=0;k[182109]=0;k[182110]=351;k[182111]=124;k[182112]=690;return}function hAa(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c>>2]=a;k[c+4>>2]=b;b=k[c+4>>2]|0;if(b>>>0>0|(b|0)==0&(k[c>>2]|0)>>>0>4294967295){bAa(594e3);k[c+8>>2]=0;b=k[c+8>>2]|0;r=c;return b|0}else{b=hqb(k[c>>2]|0)|0;k[c+8>>2]=b;b=k[c+8>>2]|0;r=c;return b|0}return 0}function iAa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;k[d+8>>2]=a;k[d>>2]=b;k[d+4>>2]=c;a=k[d+4>>2]|0;if(a>>>0>0|(a|0)==0&(k[d>>2]|0)>>>0>4294967295){bAa(594e3);k[d+12>>2]=0;a=k[d+12>>2]|0;r=d;return a|0}else{a=kqb(k[d+8>>2]|0,k[d>>2]|0)|0;k[d+12>>2]=a;a=k[d+12>>2]|0;r=d;return a|0}return 0}function jAa(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;iqb(k[b>>2]|0);r=b;return}function kAa(){var a=0,b=0;a=r;r=r+16|0;b=XBa()|0;k[182113]=b;if(k[182113]|0){b=XBa()|0;k[182116]=b;if(k[182116]|0){k[a>>2]=1;b=k[a>>2]|0;r=a;return b|0}}if(k[182113]|0)YBa(k[182113]|0);if(k[182116]|0)YBa(k[182116]|0);k[182116]=0;k[182113]=0;k[a>>2]=0;b=k[a>>2]|0;r=a;return b|0}function lAa(a){a=a|0;var b=0,c=0,d=0;c=r;r=r+32|0;k[c+20>>2]=a;k[c+16>>2]=0;k[c+12>>2]=0;k[c+8>>2]=0;b=RBa(k[c+20>>2]|0)|0;k[c+16>>2]=b;if(k[c+16>>2]|0){k[c+24>>2]=k[c+16>>2];b=k[c+24>>2]|0;r=c;return b|0}if(!(k[c+20>>2]|0)){bAa(513941);k[c+24>>2]=0;b=k[c+24>>2]|0;r=c;return b|0}d=mAa()|0;k[c+12>>2]=d;d=(Fnb(k[c+12>>2]|0)|0)==1;a=k[c+20>>2]|0;b=k[c+12>>2]|0;a:do if(d){d=Gob(a,i[b>>0]|0)|0;k[c+8>>2]=d}else{d=Dob(a,b)|0;k[c+8>>2]=d;if(k[c+8>>2]|0){k[c+4>>2]=k[c+8>>2];while(1){if(!(k[c+4>>2]|0))break a;k[c+8>>2]=k[c+4>>2];d=Dob((k[c+4>>2]|0)+1|0,k[c+12>>2]|0)|0;k[c+4>>2]=d}}}while(0);if(!(k[c+8>>2]|0)){bAa(514443);k[c+24>>2]=0;d=k[c+24>>2]|0;r=c;return d|0}k[c>>2]=(k[c+8>>2]|0)-(k[c+20>>2]|0);d=gj[k[728440>>2]&511]((k[c>>2]|0)+1|0,0)|0;k[c+16>>2]=d;if(!(k[c+16>>2]|0)){bAa(594e3);k[c+24>>2]=0;d=k[c+24>>2]|0;r=c;return d|0}else{ABb(k[c+16>>2]|0,k[c+20>>2]|0,k[c>>2]|0)|0;i[(k[c+16>>2]|0)+(k[c>>2]|0)>>0]=0;k[c+24>>2]=k[c+16>>2];d=k[c+24>>2]|0;r=c;return d|0}return 0}function mAa(){return 520599}function nAa(a){a=a|0;var b=0,c=0,d=0;b=r;r=r+16|0;k[b+8>>2]=a;a=mAa()|0;k[b+4>>2]=a;a=k[k[b+8>>2]>>2]|0;a=a+(Fnb(k[k[b+8>>2]>>2]|0)|0)|0;a=a+(0-(Fnb(k[b+4>>2]|0)|0))|0;if(!(Wmb(a,k[b+4>>2]|0)|0)){k[b+12>>2]=1;a=k[b+12>>2]|0;r=b;return a|0}d=k[182111]|0;c=k[k[b+8>>2]>>2]|0;a=Fnb(k[k[b+8>>2]>>2]|0)|0;a=a+(Fnb(k[b+4>>2]|0)|0)+1|0;a=Ri[d&255](c,a,0)|0;k[b>>2]=a;if(k[b>>2]|0){Zpb(k[b>>2]|0,k[b+4>>2]|0)|0;k[k[b+8>>2]>>2]=k[b>>2];k[b+12>>2]=1;d=k[b+12>>2]|0;r=b;return d|0}else{Si[k[728448>>2]&1023](k[k[b+8>>2]>>2]|0);k[b+12>>2]=0;d=k[b+12>>2]|0;r=b;return d|0}return 0}function oAa(){var a=0,b=0,c=0,d=0;a=r;r=r+32|0;b=tBa()|0;k[a+28>>2]=b;if(k[a+28>>2]|0){b=UBa(k[a+28>>2]|0)|0;k[a+24>>2]=b;Si[k[728448>>2]&1023](k[a+28>>2]|0);k[a+28>>2]=k[a+24>>2]}if(k[a+28>>2]|0){b=k[a+28>>2]|0;r=a;return b|0}c=mAa()|0;k[a+20>>2]=c;c=rBa()|0;k[a+16>>2]=c;k[a+12>>2]=k[a+16>>2]|0?k[a+16>>2]|0:601931;c=k[182110]|0;b=Fnb(k[182117]|0)|0;b=b+(Fnb(k[a+12>>2]|0)|0)|0;b=b+(Fnb(k[a+20>>2]|0)|0)+6|0;b=gj[c&511](b,0)|0;k[a+28>>2]=b;if(!(k[a+28>>2]|0))bAa(594e3);else{c=k[a+28>>2]|0;d=k[a+20>>2]|0;b=k[a+12>>2]|0;k[a>>2]=k[182117];k[a+4>>2]=d;k[a+8>>2]=b;Fmb(c,513955,a)|0}Si[k[728448>>2]&1023](k[a+16>>2]|0);d=k[a+28>>2]|0;r=a;return d|0}function pAa(){var a=0,b=0;a=r;r=r+16|0;if(!(k[182115]|0)){bAa(513967);k[a>>2]=0;b=k[a>>2]|0;r=a;return b|0}if(!(QBa()|0)){bAa(0);k[a>>2]=0;b=k[a>>2]|0;r=a;return b|0}qAa(728476)|0;if(!(rAa(0)|0)){bAa(513983);k[a>>2]=0;b=k[a>>2]|0;r=a;return b|0}AAa();BAa();if(k[182117]|0){Si[k[728448>>2]&1023](k[182117]|0);k[182117]=0}if(k[182118]|0){Si[k[728448>>2]&1023](k[182118]|0);k[182118]=0}k[182123]=0;k[182115]=0;YBa(k[182113]|0);YBa(k[182116]|0);if(k[182109]|0)rj[k[728436>>2]&15]();k[182116]=0;k[182113]=0;k[a>>2]=1;b=k[a>>2]|0;r=a;return b|0}function qAa(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+8>>2]=a;k[b>>2]=0;k[b+4>>2]=k[k[b+8>>2]>>2];while(1){if(!(k[b+4>>2]|0)){a=6;break}k[b>>2]=k[(k[b+4>>2]|0)+32>>2];if(!(Gi[k[(k[(k[b+4>>2]|0)+12>>2]|0)+80>>2]&2047](k[k[b+4>>2]>>2]|0)|0)){a=4;break}Si[k[728448>>2]&1023](k[b+4>>2]|0);k[b+4>>2]=k[b>>2]}if((a|0)==4){k[k[b+8>>2]>>2]=k[b+4>>2];k[b+12>>2]=0;a=k[b+12>>2]|0;r=b;return a|0}else if((a|0)==6){k[k[b+8>>2]>>2]=0;k[b+12>>2]=1;a=k[b+12>>2]|0;r=b;return a|0}return 0}function rAa(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+4>>2]=a;k[b>>2]=1;ZBa(k[182116]|0)|0;do if(k[182120]|0){if(sAa(k[182120]|0,k[182119]|0)|0){k[182120]=0;break}bAa(0);_Ba(k[182116]|0);k[b+8>>2]=0;a=k[b+8>>2]|0;r=b;return a|0}while(0);if(k[b+4>>2]|0){a=tAa(k[b+4>>2]|0,0,1)|0;k[182120]=a;k[b>>2]=(k[182120]|0)!=0&1}_Ba(k[182116]|0);k[b+8>>2]=k[b>>2];a=k[b+8>>2]|0;r=b;return a|0}function sAa(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+8>>2]=a;k[c+4>>2]=b;if(!(k[c+8>>2]|0)){k[c+12>>2]=1;b=k[c+12>>2]|0;r=c;return b|0}k[c>>2]=k[c+4>>2];while(1){if(!(k[c>>2]|0)){a=8;break}if((k[(k[c>>2]|0)+8>>2]|0)==(k[c+8>>2]|0)){a=6;break}k[c>>2]=k[(k[c>>2]|0)+32>>2]}if((a|0)==6){bAa(513983);k[c+12>>2]=0;b=k[c+12>>2]|0;r=c;return b|0}else if((a|0)==8){Si[k[(k[(k[c+8>>2]|0)+12>>2]|0)+52>>2]&1023](k[k[c+8>>2]>>2]|0);Si[k[728448>>2]&1023](k[(k[c+8>>2]|0)+4>>2]|0);Si[k[728448>>2]&1023](k[(k[c+8>>2]|0)+8>>2]|0);Si[k[728448>>2]&1023](k[c+8>>2]|0);k[c+12>>2]=1;b=k[c+12>>2]|0;r=c;return b|0}return 0}function tAa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+32|0;k[d+20>>2]=a;k[d+16>>2]=b;k[d+12>>2]=c;k[d+8>>2]=0;k[d+4>>2]=0;a:do if(k[d+20>>2]|0){if(k[d+16>>2]|0){a=(Fnb(k[d+16>>2]|0)|0)+1|0;k[d>>2]=a;if((k[d>>2]|0)>>>0<128){c=r;r=r+((1*((k[d>>2]|0)+1|0)|0)+15&-16)|0}else c=0;a=uAa(c,k[d>>2]|0,0)|0;k[d+4>>2]=a;if(!(k[d+4>>2]|0)){bAa(594e3);break}if(!(vAa(k[d+16>>2]|0,k[d+4>>2]|0)|0))break;k[d+16>>2]=k[d+4>>2]}a=wAa(k[d+20>>2]|0,k[d+12>>2]|0)|0;k[d+8>>2]=a;if(!(k[d+8>>2]|0)){bAa(0);break}b=k[182110]|0;a=(Fnb(k[d+20>>2]|0)|0)+1|0;a=gj[b&511](a,0)|0;k[(k[d+8>>2]|0)+4>>2]=a;if(!(k[(k[d+8>>2]|0)+4>>2]|0)){bAa(594e3);break}Pnb(k[(k[d+8>>2]|0)+4>>2]|0,k[d+20>>2]|0)|0;do if(k[d+16>>2]|0)if(i[k[d+16>>2]>>0]|0){b=k[182110]|0;a=(Fnb(k[d+16>>2]|0)|0)+2|0;a=gj[b&511](a,0)|0;k[(k[d+8>>2]|0)+8>>2]=a;if(k[(k[d+8>>2]|0)+8>>2]|0){Pnb(k[(k[d+8>>2]|0)+8>>2]|0,k[d+16>>2]|0)|0;Zpb(k[(k[d+8>>2]|0)+8>>2]|0,520599)|0;break}else{bAa(594e3);break a}}while(0);zAa(k[d+4>>2]|0);k[d+24>>2]=k[d+8>>2];a=k[d+24>>2]|0;r=d;return a|0}else bAa(514443);while(0);if(k[d+8>>2]|0){Si[k[(k[(k[d+8>>2]|0)+12>>2]|0)+52>>2]&1023](k[k[d+8>>2]>>2]|0);Si[k[728448>>2]&1023](k[(k[d+8>>2]|0)+4>>2]|0);Si[k[728448>>2]&1023](k[(k[d+8>>2]|0)+8>>2]|0);Si[k[728448>>2]&1023](k[d+8>>2]|0)}zAa(k[d+4>>2]|0);k[d+24>>2]=0;a=k[d+24>>2]|0;r=d;return a|0}function uAa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+32|0;k[d+12>>2]=a;k[d>>2]=b;k[d+4>>2]=c;i[d+20>>0]=(k[d+12>>2]|0)==0?1:0;if(i[d+20>>0]|0){c=k[182110]|0;a=xBb(k[d>>2]|0,k[d+4>>2]|0,1,0)|0;a=gj[c&511](a,L)|0;k[d+12>>2]=a}if(k[d+12>>2]|0){k[d+8>>2]=k[d+12>>2];i[k[d+8>>2]>>0]=i[d+20>>0]|0;k[d+16>>2]=(k[d+8>>2]|0)+1;a=k[d+16>>2]|0;r=d;return a|0}else{k[d+16>>2]=0;a=k[d+16>>2]|0;r=d;return a|0}return 0}function vAa(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+32|0;k[c+8>>2]=a;k[c+4>>2]=b;while(1){if((i[k[c+8>>2]>>0]|0)!=47)break;k[c+8>>2]=(k[c+8>>2]|0)+1}k[c>>2]=k[c+4>>2];while(1){a=k[c+8>>2]|0;k[c+8>>2]=a+1;i[c+16>>0]=i[a>>0]|0;if((i[c+16>>0]|0)==58){b=7;break}if((i[c+16>>0]|0)==92){b=7;break}if((i[c+16>>0]|0)==47){i[k[c+4>>2]>>0]=0;if(!(Wmb(k[c>>2]|0,616745)|0)){b=11;break}if(!(Wmb(k[c>>2]|0,517134)|0)){b=11;break}while(1){b=k[c+8>>2]|0;if((i[k[c+8>>2]>>0]|0)!=47)break;k[c+8>>2]=b+1}if(!(i[b>>0]|0)){b=17;break}k[c>>2]=(k[c+4>>2]|0)+1}b=i[c+16>>0]|0;a=k[c+4>>2]|0;k[c+4>>2]=a+1;i[a>>0]=b;if(!(i[c+16>>0]|0)){b=17;break}}if((b|0)==7){bAa(514e3);k[c+12>>2]=0;a=k[c+12>>2]|0;r=c;return a|0}else if((b|0)==11){bAa(514e3);k[c+12>>2]=0;a=k[c+12>>2]|0;r=c;return a|0}else if((b|0)==17){k[c+12>>2]=1;a=k[c+12>>2]|0;r=c;return a|0}return 0}function wAa(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+32|0;k[c+16>>2]=a;k[c+12>>2]=b;k[c+8>>2]=0;if(!(vBa(k[c+16>>2]|0)|0)){bAa(514700);k[c+20>>2]=0;b=k[c+20>>2]|0;r=c;return b|0}b=xAa(k[c+16>>2]|0)|0;k[c>>2]=b;b=(k[c>>2]|0)!=0;k[c+4>>2]=37200;a:do if(b){while(1){if(!(k[k[c+4>>2]>>2]|0?(k[c+8>>2]|0)==0:0))break;if(!(pBa(k[c>>2]|0,k[k[k[k[c+4>>2]>>2]>>2]>>2]|0)|0)){b=yAa(k[k[c+4>>2]>>2]|0,k[c+16>>2]|0,k[c+12>>2]|0)|0;k[c+8>>2]=b}k[c+4>>2]=(k[c+4>>2]|0)+4}k[c+4>>2]=37200;while(1){if(!(k[k[c+4>>2]>>2]|0?(k[c+8>>2]|0)==0:0))break a;if(pBa(k[c>>2]|0,k[k[k[k[c+4>>2]>>2]>>2]>>2]|0)|0){b=yAa(k[k[c+4>>2]>>2]|0,k[c+16>>2]|0,k[c+12>>2]|0)|0;k[c+8>>2]=b}k[c+4>>2]=(k[c+4>>2]|0)+4}}else while(1){if(!(k[k[c+4>>2]>>2]|0?(k[c+8>>2]|0)==0:0))break a;b=yAa(k[k[c+4>>2]>>2]|0,k[c+16>>2]|0,k[c+12>>2]|0)|0;k[c+8>>2]=b;k[c+4>>2]=(k[c+4>>2]|0)+4}while(0);if(!(k[c+8>>2]|0)){bAa(514657);k[c+20>>2]=0;b=k[c+20>>2]|0;r=c;return b|0}else{k[c+20>>2]=k[c+8>>2];b=k[c+20>>2]|0;r=c;return b|0}return 0}function xAa(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+8>>2]=a;a=gob(k[b+8>>2]|0,46)|0;k[b+4>>2]=a;k[b>>2]=k[b+4>>2];while(1){if(!(k[b>>2]|0))break;a=gob((k[b>>2]|0)+1|0,46)|0;k[b>>2]=a;if(!(k[b>>2]|0))continue;k[b+4>>2]=k[b>>2]}if(!(k[b+4>>2]|0)){a=k[b+4>>2]|0;r=b;return a|0}k[b+4>>2]=(k[b+4>>2]|0)+1;a=k[b+4>>2]|0;r=b;return a|0}function yAa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+32|0;k[d+16>>2]=a;k[d+12>>2]=b;k[d+8>>2]=c;k[d+4>>2]=0;if(!(gj[k[(k[d+16>>2]|0)+4>>2]&511](k[d+12>>2]|0,k[d+8>>2]|0)|0)){a=k[d+4>>2]|0;r=d;return a|0}a=gj[k[(k[d+16>>2]|0)+8>>2]&511](k[d+12>>2]|0,k[d+8>>2]|0)|0;k[d>>2]=a;if(!(k[d>>2]|0)){a=k[d+4>>2]|0;r=d;return a|0}a=gj[k[728440>>2]&511](20,0)|0;k[d+4>>2]=a;if(!(k[d+4>>2]|0)){Si[k[(k[d+16>>2]|0)+52>>2]&1023](k[d>>2]|0);a=k[d+4>>2]|0;r=d;return a|0}else{a=k[d+4>>2]|0;k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;k[a+12>>2]=0;k[a+16>>2]=0;k[(k[d+4>>2]|0)+8>>2]=0;k[(k[d+4>>2]|0)+12>>2]=k[d+16>>2];k[k[d+4>>2]>>2]=k[d>>2];a=k[d+4>>2]|0;r=d;return a|0}return 0}function zAa(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+4>>2]=a;if(!(k[b+4>>2]|0)){r=b;return}k[b>>2]=(k[b+4>>2]|0)+-1;i[b+8>>0]=i[k[b>>2]>>0]|0;if(!(i[b+8>>0]|0)){r=b;return}Si[k[728448>>2]&1023](k[b>>2]|0);r=b;return}function AAa(){var a=0;a=r;r=r+16|0;k[a>>2]=0;qAa(728484)|0;if(!(k[182122]|0)){r=a;return}k[a+4>>2]=k[182122];while(1){if(!(k[a+4>>2]|0))break;k[a>>2]=k[(k[a+4>>2]|0)+16>>2];sAa(k[a+4>>2]|0,k[182121]|0)|0;k[a+4>>2]=k[a>>2]}k[182122]=0;r=a;return}function BAa(){var a=0;a=r;r=r+16|0;k[a+4>>2]=k[182114];while(1){if(!(k[a+4>>2]|0))break;k[a>>2]=k[(k[a+4>>2]|0)+88>>2];Si[k[728448>>2]&1023](k[a+4>>2]|0);k[a+4>>2]=k[a>>2]}k[182114]=0;r=a;return}function CAa(){return k[182115]|0}function DAa(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+4>>2]=a;k[b>>2]=k[b+4>>2];while(1){a=k[182112]|0;if(!(k[k[b>>2]>>2]|0))break;Si[a&1023](k[k[b>>2]>>2]|0);k[b>>2]=(k[b>>2]|0)+4}Si[a&1023](k[b+4>>2]|0);r=b;return}function EAa(){return k[182118]|0}function FAa(){var a=0;a=r;r=r+16|0;k[a>>2]=0;ZBa(k[182116]|0)|0;if(k[182120]|0)k[a>>2]=k[(k[182120]|0)+4>>2];_Ba(k[182116]|0);r=a;return k[a>>2]|0}function GAa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+32|0;k[e+20>>2]=a;k[e+16>>2]=b;k[e+12>>2]=c;k[e+4>>2]=0;if(!(k[e+20>>2]|0)){bAa(514443);k[e+24>>2]=0;d=k[e+24>>2]|0;r=e;return d|0}if(!(k[e+16>>2]|0))k[e+16>>2]=520599;ZBa(k[182116]|0)|0;k[e>>2]=k[182122];while(1){c=k[e+20>>2]|0;if(!(k[e>>2]|0))break;if(!(Wmb(c,k[(k[e>>2]|0)+4>>2]|0)|0)){d=8;break}k[e+4>>2]=k[e>>2];k[e>>2]=k[(k[e>>2]|0)+16>>2]}if((d|0)==8){bAa(0);_Ba(k[182116]|0);k[e+24>>2]=1;d=k[e+24>>2]|0;r=e;return d|0}d=tAa(c,k[e+16>>2]|0,0)|0;k[e+8>>2]=d;if(!(k[e+8>>2]|0)){bAa(0);_Ba(k[182116]|0);k[e+24>>2]=0;d=k[e+24>>2]|0;r=e;return d|0}do if(k[e+12>>2]|0){c=k[e+8>>2]|0;if(!(k[e+4>>2]|0)){k[182122]=c;break}else{k[(k[e+4>>2]|0)+16>>2]=c;break}}else{k[(k[e+8>>2]|0)+16>>2]=k[182122];k[182122]=k[e+8>>2]}while(0);_Ba(k[182116]|0);k[e+24>>2]=1;d=k[e+24>>2]|0;r=e;return d|0}function HAa(a){a=a|0;var b=0,c=0,d=0;c=r;r=r+32|0;k[c+12>>2]=a;k[c+4>>2]=0;k[c>>2]=0;if(!(k[c+12>>2]|0)){bAa(514443);k[c+16>>2]=0;b=k[c+16>>2]|0;r=c;return b|0}ZBa(k[182116]|0)|0;k[c+8>>2]=k[182122];while(1){if(!(k[c+8>>2]|0)){b=13;break}d=(Wmb(k[(k[c+8>>2]|0)+4>>2]|0,k[c+12>>2]|0)|0)==0;a=k[c+8>>2]|0;if(d)break;k[c+4>>2]=a;k[c+8>>2]=k[(k[c+8>>2]|0)+16>>2]}if((b|0)==13){bAa(514018);_Ba(k[182116]|0);k[c+16>>2]=0;d=k[c+16>>2]|0;r=c;return d|0}k[c>>2]=k[a+16>>2];if(!(sAa(k[c+8>>2]|0,k[182121]|0)|0)){bAa(0);_Ba(k[182116]|0);k[c+16>>2]=0;d=k[c+16>>2]|0;r=c;return d|0}a=k[c>>2]|0;if(!(k[c+4>>2]|0))k[182122]=a;else k[(k[c+4>>2]|0)+16>>2]=a;bAa(0);_Ba(k[182116]|0);k[c+16>>2]=1;d=k[c+16>>2]|0;r=c;return d|0}function IAa(a){a=a|0;var b=0,c=0,d=0;c=r;r=r+16|0;k[c+8>>2]=a;ZBa(k[182116]|0)|0;k[c+4>>2]=k[182122];while(1){if(!(k[c+4>>2]|0)){b=8;break}d=(Wmb(k[(k[c+4>>2]|0)+4>>2]|0,k[c+8>>2]|0)|0)==0;a=k[c+4>>2]|0;if(d)break;k[c+4>>2]=k[a+16>>2]}if((b|0)==8){_Ba(k[182116]|0);bAa(514018);k[c+12>>2]=0;d=k[c+12>>2]|0;r=c;return d|0}if(k[a+8>>2]|0)a=k[(k[c+4>>2]|0)+8>>2]|0;else a=520599;k[c>>2]=a;_Ba(k[182116]|0);k[c+12>>2]=k[c>>2];d=k[c+12>>2]|0;r=c;return d|0}function JAa(a){a=a|0;var b=0;b=r;r=r+32|0;k[b+12>>2]=a;k[b+8>>2]=0;if(!(k[b+12>>2]|0)){bAa(514443);k[b+16>>2]=0;a=k[b+16>>2]|0;r=b;return a|0}a=(Fnb(k[b+12>>2]|0)|0)+1|0;k[b>>2]=a;if((k[b>>2]|0)>>>0<128){a=r;r=r+((1*((k[b>>2]|0)+1|0)|0)+15&-16)|0}else a=0;a=uAa(a,k[b>>2]|0,0)|0;k[b+4>>2]=a;if(!(k[b+4>>2]|0)){bAa(594e3);k[b+16>>2]=0;a=k[b+16>>2]|0;r=b;return a|0}else{a=KAa(k[b+12>>2]|0,k[b+4>>2]|0)|0;k[b+8>>2]=a;zAa(k[b+4>>2]|0);k[b+16>>2]=k[b+8>>2];a=k[b+16>>2]|0;r=b;return a|0}return 0}function KAa(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+32|0;k[c+24>>2]=a;k[c+20>>2]=b;k[c+4>>2]=0;k[c>>2]=1;if(!(vAa(k[c+24>>2]|0,k[c+20>>2]|0)|0)){bAa(0);k[c+28>>2]=0;b=k[c+28>>2]|0;r=c;return b|0}ZBa(k[182116]|0)|0;if(!(k[182120]|0)){bAa(514047);_Ba(k[182116]|0);k[c+28>>2]=0;b=k[c+28>>2]|0;r=c;return b|0}k[c+16>>2]=k[182120];if(!(LAa(k[c+16>>2]|0,c+20|0,1)|0)){bAa(0);_Ba(k[182116]|0);k[c+28>>2]=0;b=k[c+28>>2]|0;r=c;return b|0}k[c+12>>2]=k[c+20>>2];while(1){b=gob(k[c+12>>2]|0,47)|0;k[c+8>>2]=b;if(k[c+8>>2]|0)i[k[c+8>>2]>>0]=0;if(k[c>>2]|0){b=Ri[k[(k[(k[c+16>>2]|0)+12>>2]|0)+20>>2]&255](k[k[c+16>>2]>>2]|0,k[c+20>>2]|0,c)|0;k[c+4>>2]=b}if(!(k[c>>2]|0)){b=gj[k[(k[(k[c+16>>2]|0)+12>>2]|0)+48>>2]&511](k[k[c+16>>2]>>2]|0,k[c+20>>2]|0)|0;k[c+4>>2]=b}if((k[c+4>>2]|0)==0|(k[c+8>>2]|0)==0)break;i[k[c+8>>2]>>0]=47;k[c+12>>2]=(k[c+8>>2]|0)+1}_Ba(k[182116]|0);k[c+28>>2]=k[c+4>>2];b=k[c+28>>2]|0;r=c;return b|0}function LAa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+48|0;k[d+36>>2]=a;k[d+32>>2]=b;k[d+28>>2]=c;k[d+24>>2]=k[k[d+32>>2]>>2];k[d+20>>2]=1;if(!(i[k[d+24>>2]>>0]|0)){k[d+40>>2]=1;a=k[d+40>>2]|0;r=d;return a|0}if(k[(k[d+36>>2]|0)+8>>2]|0){a=Fnb(k[(k[d+36>>2]|0)+8>>2]|0)|0;k[d+8>>2]=a;a=Fnb(k[d+24>>2]|0)|0;k[d+4>>2]=a;if((k[d+8>>2]|0)>>>0<=1)rb(514074,513857,1286,514088);if((k[d+4>>2]|0)>>>0<((k[d+8>>2]|0)-1|0)>>>0){bAa(514099);k[d+40>>2]=0;a=k[d+40>>2]|0;r=d;return a|0}a=Dmb(k[(k[d+36>>2]|0)+8>>2]|0,k[d+24>>2]|0,(k[d+8>>2]|0)-1|0)|0;k[d+20>>2]=a;if(k[d+20>>2]|0){bAa(514099);k[d+40>>2]=0;a=k[d+40>>2]|0;r=d;return a|0}if((k[d+4>>2]|0)>>>0>((k[d+8>>2]|0)-1|0)>>>0)if((i[(k[d+24>>2]|0)+((k[d+8>>2]|0)-1)>>0]|0)!=47){bAa(514099);k[d+40>>2]=0;a=k[d+40>>2]|0;r=d;return a|0}k[d+24>>2]=(k[d+24>>2]|0)+((k[d+8>>2]|0)-1);if((i[k[d+24>>2]>>0]|0)==47)k[d+24>>2]=(k[d+24>>2]|0)+1;k[k[d+32>>2]>>2]=k[d+24>>2];k[d+20>>2]=1}k[d+16>>2]=k[d+24>>2];a:do if(!(k[182123]|0)){while(1){k[d>>2]=0;a=gob(k[d+16>>2]|0,47)|0;k[d+12>>2]=a;if(k[d+12>>2]|0)i[k[d+12>>2]>>0]=0;a=Ri[k[(k[(k[d+36>>2]|0)+12>>2]|0)+24>>2]&255](k[k[d+36>>2]>>2]|0,k[d+24>>2]|0,d+20|0)|0;k[d>>2]=a;if(k[d+12>>2]|0)i[k[d+12>>2]>>0]=47;if(k[d>>2]|0){c=22;break}b=(k[d+12>>2]|0)==0;if(!(k[d+20>>2]|0)){c=24;break}if(b)break a;k[d+16>>2]=(k[d+12>>2]|0)+1}if((c|0)==22){bAa(514114);k[d+40>>2]=0;a=k[d+40>>2]|0;r=d;return a|0}else if((c|0)==24){if(!(b|(k[d+28>>2]|0)!=0))break;k[d+20>>2]=1;break}}while(0);k[d+40>>2]=k[d+20>>2];a=k[d+40>>2]|0;r=d;return a|0}function MAa(a){a=a|0;var b=0;b=r;r=r+32|0;k[b+12>>2]=a;k[b>>2]=0;k[b+4>>2]=0;k[b+8>>2]=0;a=gj[k[728440>>2]&511](4,0)|0;k[b>>2]=a;if(!(k[b>>2]|0)){bAa(594e3);k[b+16>>2]=0;a=k[b+16>>2]|0;r=b;return a|0}else{PAa(k[b+12>>2]|0,99,b);k[(k[b>>2]|0)+(k[b+4>>2]<<2)>>2]=0;k[b+16>>2]=k[b>>2];a=k[b+16>>2]|0;r=b;return a|0}return 0}function NAa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+32|0;k[d+24>>2]=a;k[d+20>>2]=b;k[d+16>>2]=c;k[d>>2]=k[d+24>>2];k[d+12>>2]=k[(k[d>>2]|0)+4>>2];if(OAa(k[d+16>>2]|0,k[k[d>>2]>>2]|0,d+12|0)|0){r=d;return}b=Ri[k[728444>>2]&255](k[k[d>>2]>>2]|0,(k[(k[d>>2]|0)+4>>2]|0)+2<<2,0)|0;k[d+8>>2]=b;b=k[182110]|0;c=(Fnb(k[d+16>>2]|0)|0)+1|0;c=gj[b&511](c,0)|0;k[d+4>>2]=c;if(k[d+8>>2]|0)k[k[d>>2]>>2]=k[d+8>>2];if((k[d+8>>2]|0)==0|(k[d+4>>2]|0)==0){r=d;return}Pnb(k[d+4>>2]|0,k[d+16>>2]|0)|0;if((k[d+12>>2]|0)!=(k[(k[d>>2]|0)+4>>2]|0))BBb((k[k[d>>2]>>2]|0)+((k[d+12>>2]|0)+1<<2)|0,(k[k[d>>2]>>2]|0)+(k[d+12>>2]<<2)|0,(k[(k[d>>2]|0)+4>>2]|0)-(k[d+12>>2]|0)<<2|0)|0;k[(k[k[d>>2]>>2]|0)+(k[d+12>>2]<<2)>>2]=k[d+4>>2];c=(k[d>>2]|0)+4|0;k[c>>2]=(k[c>>2]|0)+1;r=d;return}function OAa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+48|0;k[d+28>>2]=a;k[d+24>>2]=b;k[d+20>>2]=c;k[d+16>>2]=k[k[d+20>>2]>>2];k[d+8>>2]=0;while(1){if((k[d+16>>2]|0)>>>0<=0){b=8;break}k[d+12>>2]=(k[d+16>>2]|0)>>>1;k[d+4>>2]=(k[d+8>>2]|0)+(k[d+12>>2]|0);a=Wmb(k[(k[d+24>>2]|0)+(k[d+4>>2]<<2)>>2]|0,k[d+28>>2]|0)|0;k[d>>2]=a;if(!(k[d>>2]|0)){b=4;break}if((k[d>>2]|0)>0){k[d+16>>2]=k[d+12>>2];continue}else{k[d+8>>2]=(k[d+4>>2]|0)+1;k[d+16>>2]=(k[d+16>>2]|0)-((k[d+12>>2]|0)+1);continue}}if((b|0)==4){k[d+32>>2]=1;a=k[d+32>>2]|0;r=d;return a|0}else if((b|0)==8){k[k[d+20>>2]>>2]=k[d+8>>2];k[d+32>>2]=0;a=k[d+32>>2]|0;r=d;return a|0}return 0}function PAa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+32|0;k[d+28>>2]=a;k[d+24>>2]=b;k[d+20>>2]=c;if(!(k[d+28>>2]|0)){bAa(514443);r=d;return}if(!(k[d+24>>2]|0)){bAa(514443);r=d;return}c=(Fnb(k[d+28>>2]|0)|0)+1|0;k[d+16>>2]=c;if((k[d+16>>2]|0)>>>0<128){a=r;r=r+((1*((k[d+16>>2]|0)+1|0)|0)+15&-16)|0}else a=0;c=uAa(a,k[d+16>>2]|0,0)|0;k[d+12>>2]=c;if(!(k[d+12>>2]|0)){bAa(594e3);r=d;return}if(vAa(k[d+28>>2]|0,k[d+12>>2]|0)|0){ZBa(k[182116]|0)|0;k[d+4>>2]=((k[182123]|0)!=0^1)&1;k[d+8>>2]=k[182122];while(1){if(!(k[d+8>>2]|0))break;k[d>>2]=k[d+12>>2];c=(QAa(k[d+8>>2]|0,k[d>>2]|0)|0)!=0;a=k[d+8>>2]|0;if(c)RAa(a,k[d>>2]|0,k[d+24>>2]|0,k[d+28>>2]|0,k[d+20>>2]|0);else if(LAa(a,d,0)|0)Ti[k[(k[(k[d+8>>2]|0)+12>>2]|0)+12>>2]&63](k[k[d+8>>2]>>2]|0,k[d>>2]|0,k[d+4>>2]|0,k[d+24>>2]|0,k[d+28>>2]|0,k[d+20>>2]|0);k[d+8>>2]=k[(k[d+8>>2]|0)+16>>2]}_Ba(k[182116]|0)}zAa(k[d+12>>2]|0);r=d;return}function QAa(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+32|0;k[c+16>>2]=a;k[c+12>>2]=b;do if(!(k[(k[c+16>>2]|0)+8>>2]|0))k[c+20>>2]=0;else{if(!(i[k[c+12>>2]>>0]|0)){k[c+20>>2]=1;break}a=Fnb(k[c+12>>2]|0)|0;k[c+4>>2]=a;a=Fnb(k[(k[c+16>>2]|0)+8>>2]|0)|0;k[c>>2]=a;if((k[c+4>>2]|0)>>>0>(k[c>>2]|0)>>>0){k[c+20>>2]=0;break}if(((k[c+4>>2]|0)+1|0)==(k[c>>2]|0)){k[c+20>>2]=0;break}a=Dmb(k[c+12>>2]|0,k[(k[c+16>>2]|0)+8>>2]|0,k[c+4>>2]|0)|0;k[c+8>>2]=a;if(k[c+8>>2]|0){k[c+20>>2]=0;break}else{k[c+20>>2]=(i[(k[(k[c+16>>2]|0)+8>>2]|0)+(k[c+4>>2]|0)>>0]|0)==47&1;break}}while(0);r=c;return k[c+20>>2]|0}function RAa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=r;r=r+48|0;k[f+36>>2]=a;k[f+32>>2]=b;k[f+28>>2]=c;k[f+24>>2]=d;k[f+20>>2]=e;a=Fnb(k[f+32>>2]|0)|0;k[f+16>>2]=a;k[f+12>>2]=0;k[f+8>>2]=0;a=(Fnb(k[(k[f+36>>2]|0)+8>>2]|0)|0)+1|0;k[f+4>>2]=a;if((k[f+4>>2]|0)>>>0<128){d=r;r=r+((1*((k[f+4>>2]|0)+1|0)|0)+15&-16)|0}else d=0;a=uAa(d,k[f+4>>2]|0,0)|0;k[f>>2]=a;if(!(k[f>>2]|0)){r=f;return}Pnb(k[f>>2]|0,k[(k[f+36>>2]|0)+8>>2]|0)|0;k[f+12>>2]=(k[f>>2]|0)+(k[f+16>>2]|0?(k[f+16>>2]|0)+1|0:0);a=gob(k[f+12>>2]|0,47)|0;k[f+8>>2]=a;if(!(k[f+8>>2]|0))rb(518928,513857,1565,514142);i[k[f+8>>2]>>0]=0;kj[k[f+28>>2]&255](k[f+20>>2]|0,k[f+24>>2]|0,k[f+12>>2]|0);zAa(k[f>>2]|0);r=f;return}function SAa(a){a=a|0;var b=0,c=0;b=r;r=r+32|0;k[b+20>>2]=a;k[b+16>>2]=0;k[b+12>>2]=0;if(!(k[b+20>>2]|0)){bAa(514443);k[b+24>>2]=0;a=k[b+24>>2]|0;r=b;return a|0}a=(Fnb(k[b+20>>2]|0)|0)+1|0;k[b+8>>2]=a;if((k[b+8>>2]|0)>>>0<128){a=r;r=r+((1*((k[b+8>>2]|0)+1|0)|0)+15&-16)|0}else a=0;a=uAa(a,k[b+8>>2]|0,0)|0;k[b+12>>2]=a;if(!(k[b+12>>2]|0)){bAa(594e3);k[b+24>>2]=0;a=k[b+24>>2]|0;r=b;return a|0}if(vAa(k[b+20>>2]|0,k[b+12>>2]|0)|0){ZBa(k[182116]|0)|0;k[b+4>>2]=k[182122];while(1){if(!(k[b+4>>2]|0?(k[b+16>>2]|0)==0:0))break;k[b>>2]=k[b+12>>2];c=(QAa(k[b+4>>2]|0,k[b>>2]|0)|0)!=0;a=k[b+4>>2]|0;if(c)k[b+16>>2]=k[a+4>>2];else if(LAa(a,b,0)|0)if(gj[k[(k[(k[b+4>>2]|0)+12>>2]|0)+16>>2]&511](k[k[b+4>>2]>>2]|0,k[b>>2]|0)|0)k[b+16>>2]=k[(k[b+4>>2]|0)+4>>2];k[b+4>>2]=k[(k[b+4>>2]|0)+16>>2]}_Ba(k[182116]|0)}zAa(k[b+12>>2]|0);k[b+24>>2]=k[b+16>>2];c=k[b+24>>2]|0;r=b;return c|0}function TAa(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;k[182123]=k[b>>2];r=b;return}function UAa(){return k[182123]|0}function VAa(a){a=a|0;var b=0;b=r;r=r+32|0;k[b+12>>2]=a;if(!(k[b+12>>2]|0)){bAa(514443);k[b+16>>2]=0;a=k[b+16>>2]|0;r=b;return a|0}a=(Fnb(k[b+12>>2]|0)|0)+1|0;k[b>>2]=a;if((k[b>>2]|0)>>>0<128){a=r;r=r+((1*((k[b>>2]|0)+1|0)|0)+15&-16)|0}else a=0;a=uAa(a,k[b>>2]|0,0)|0;k[b+4>>2]=a;if(!(k[b+4>>2]|0)){bAa(594e3);k[b+16>>2]=0;a=k[b+16>>2]|0;r=b;return a|0}else{a=WAa(k[b+12>>2]|0,k[b+4>>2]|0)|0;k[b+8>>2]=a;zAa(k[b+4>>2]|0);k[b+16>>2]=k[b+8>>2];a=k[b+16>>2]|0;r=b;return a|0}return 0}function WAa(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+32|0;k[c+12>>2]=a;k[c+8>>2]=b;if(!(vAa(k[c+12>>2]|0,k[c+8>>2]|0)|0)){bAa(0);k[c+16>>2]=0;b=k[c+16>>2]|0;r=c;return b|0}ZBa(k[182116]|0)|0;if(!(k[182120]|0)){bAa(514047);_Ba(k[182116]|0);k[c+16>>2]=0;b=k[c+16>>2]|0;r=c;return b|0}k[c>>2]=k[182120];if(LAa(k[c>>2]|0,c+8|0,0)|0){b=gj[k[(k[(k[c>>2]|0)+12>>2]|0)+44>>2]&511](k[k[c>>2]>>2]|0,k[c+8>>2]|0)|0;k[c+4>>2]=b;_Ba(k[182116]|0);k[c+16>>2]=k[c+4>>2];b=k[c+16>>2]|0;r=c;return b|0}else{bAa(0);_Ba(k[182116]|0);k[c+16>>2]=0;b=k[c+16>>2]|0;r=c;return b|0}return 0}function XAa(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;a=(SAa(k[b>>2]|0)|0)!=0&1;r=b;return a|0}function YAa(a){a=a|0;var b=0,c=0;b=r;r=r+48|0;k[b+36>>2]=a;k[b>>2]=-1;k[b+4>>2]=-1;if(!(k[b+36>>2]|0)){bAa(514443);k[b+8>>2]=-1;k[b+8+4>>2]=-1;c=b+8|0;a=c;a=k[a>>2]|0;c=c+4|0;c=k[c>>2]|0;L=c;r=b;return a|0}c=(Fnb(k[b+36>>2]|0)|0)+1|0;k[b+28>>2]=c;if((k[b+28>>2]|0)>>>0<128){a=r;r=r+((1*((k[b+28>>2]|0)+1|0)|0)+15&-16)|0}else a=0;c=uAa(a,k[b+28>>2]|0,0)|0;k[b+32>>2]=c;if(!(k[b+32>>2]|0)){bAa(594e3);k[b+8>>2]=-1;k[b+8+4>>2]=-1;a=b+8|0;c=a;c=k[c>>2]|0;a=a+4|0;a=k[a>>2]|0;L=a;r=b;return c|0}do if(vAa(k[b+36>>2]|0,k[b+32>>2]|0)|0){if(!(i[k[b+32>>2]>>0]|0)){k[b>>2]=1;k[b+4>>2]=0;break}k[b+20>>2]=0;ZBa(k[182116]|0)|0;k[b+24>>2]=k[182122];while(1){if(!(k[b+24>>2]|0))break;if(!((k[b+20>>2]|0)!=0^1))break;k[b+16>>2]=k[b+32>>2];c=QAa(k[b+24>>2]|0,k[b+16>>2]|0)|0;k[b+20>>2]=c;if(k[b+20>>2]|0){k[b>>2]=1;k[b+4>>2]=0}else if(LAa(k[b+24>>2]|0,b+16|0,0)|0){c=Ri[k[(k[(k[b+24>>2]|0)+12>>2]|0)+28>>2]&255](k[k[b+24>>2]>>2]|0,k[b+16>>2]|0,b+20|0)|0;k[b>>2]=c;k[b+4>>2]=L}k[b+24>>2]=k[(k[b+24>>2]|0)+16>>2]}_Ba(k[182116]|0)}while(0);zAa(k[b+32>>2]|0);a=k[b+4>>2]|0;k[b+8>>2]=k[b>>2];k[b+8+4>>2]=a;a=b+8|0;c=a;c=k[c>>2]|0;a=a+4|0;a=k[a>>2]|0;L=a;r=b;return c|0}function ZAa(a){a=a|0;var b=0;b=r;r=r+32|0;k[b+24>>2]=a;k[b+20>>2]=0;if(!(k[b+24>>2]|0)){bAa(514443);k[b+28>>2]=0;a=k[b+28>>2]|0;r=b;return a|0}a=(Fnb(k[b+24>>2]|0)|0)+1|0;k[b+16>>2]=a;if((k[b+16>>2]|0)>>>0<128){a=r;r=r+((1*((k[b+16>>2]|0)+1|0)|0)+15&-16)|0}else a=0;a=uAa(a,k[b+16>>2]|0,0)|0;k[b+12>>2]=a;if(!(k[b+12>>2]|0)){bAa(594e3);k[b+28>>2]=0;a=k[b+28>>2]|0;r=b;return a|0}do if(vAa(k[b+24>>2]|0,k[b+12>>2]|0)|0){if(!(i[k[b+12>>2]>>0]|0)){k[b+20>>2]=1;break}k[b+4>>2]=0;ZBa(k[182116]|0)|0;k[b+8>>2]=k[182122];while(1){if(!(k[b+8>>2]|0))break;if(!((k[b+4>>2]|0)!=0^1))break;k[b>>2]=k[b+12>>2];a=QAa(k[b+8>>2]|0,k[b>>2]|0)|0;k[b+4>>2]=a;if(a|0)k[b+20>>2]=1;else if(LAa(k[b+8>>2]|0,b,0)|0){a=Ri[k[(k[(k[b+8>>2]|0)+12>>2]|0)+20>>2]&255](k[k[b+8>>2]>>2]|0,k[b>>2]|0,b+4|0)|0;k[b+20>>2]=a}k[b+8>>2]=k[(k[b+8>>2]|0)+16>>2]}_Ba(k[182116]|0)}else k[b+20>>2]=0;while(0);zAa(k[b+12>>2]|0);k[b+28>>2]=k[b+20>>2];a=k[b+28>>2]|0;r=b;return a|0}function _Aa(a){a=a|0;var b=0;b=r;r=r+32|0;k[b+24>>2]=a;k[b+20>>2]=0;if(!(k[182123]|0)){bAa(514114);k[b+28>>2]=0;a=k[b+28>>2]|0;r=b;return a|0}if(!(k[b+24>>2]|0)){bAa(514443);k[b+28>>2]=0;a=k[b+28>>2]|0;r=b;return a|0}a=(Fnb(k[b+24>>2]|0)|0)+1|0;k[b+16>>2]=a;if((k[b+16>>2]|0)>>>0<128){a=r;r=r+((1*((k[b+16>>2]|0)+1|0)|0)+15&-16)|0}else a=0;a=uAa(a,k[b+16>>2]|0,0)|0;k[b+12>>2]=a;if(!(k[b+12>>2]|0)){bAa(594e3);k[b+28>>2]=0;a=k[b+28>>2]|0;r=b;return a|0}do if(vAa(k[b+24>>2]|0,k[b+12>>2]|0)|0){if(!(i[k[b+12>>2]>>0]|0)){k[b+20>>2]=1;break}k[b+4>>2]=0;ZBa(k[182116]|0)|0;k[b+8>>2]=k[182122];while(1){if(!(k[b+8>>2]|0))break;if(!((k[b+4>>2]|0)!=0^1))break;k[b>>2]=k[b+12>>2];a=QAa(k[b+8>>2]|0,k[b>>2]|0)|0;k[b+4>>2]=a;if(a|0)k[b+20>>2]=0;else if(LAa(k[b+8>>2]|0,b,0)|0){a=Ri[k[(k[(k[b+8>>2]|0)+12>>2]|0)+24>>2]&255](k[k[b+8>>2]>>2]|0,k[b>>2]|0,b+4|0)|0;k[b+20>>2]=a}k[b+8>>2]=k[(k[b+8>>2]|0)+16>>2]}_Ba(k[182116]|0)}else k[b+20>>2]=0;while(0);zAa(k[b+12>>2]|0);k[b+28>>2]=k[b+20>>2];a=k[b+28>>2]|0;r=b;return a|0}function $Aa(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;a=aBa(k[b>>2]|0,0)|0;r=b;return a|0}function aBa(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+48|0;k[c+28>>2]=a;k[c+24>>2]=b;k[c+20>>2]=0;if(!(k[c+28>>2]|0)){bAa(514443);k[c+32>>2]=0;b=k[c+32>>2]|0;r=c;return b|0}b=(Fnb(k[c+28>>2]|0)|0)+1|0;k[c+16>>2]=b;if((k[c+16>>2]|0)>>>0<128){a=r;r=r+((1*((k[c+16>>2]|0)+1|0)|0)+15&-16)|0}else a=0;b=uAa(a,k[c+16>>2]|0,0)|0;k[c+12>>2]=b;if(!(k[c+12>>2]|0)){bAa(594e3);k[c+32>>2]=0;b=k[c+32>>2]|0;r=c;return b|0}if(vAa(k[c+28>>2]|0,k[c+12>>2]|0)|0){k[c+8>>2]=0;k[c+4>>2]=0;ZBa(k[182116]|0)|0;do if(k[182120]|0){k[c+4>>2]=k[182120];if(!(LAa(k[c+4>>2]|0,c+12|0,0)|0)){bAa(0);break}k[c>>2]=k[(k[c+4>>2]|0)+12>>2];a=k[c>>2]|0;if(k[c+24>>2]|0){b=gj[k[a+40>>2]&511](k[k[c+4>>2]>>2]|0,k[c+12>>2]|0)|0;k[c+8>>2]=b}else{b=gj[k[a+36>>2]&511](k[k[c+4>>2]>>2]|0,k[c+12>>2]|0)|0;k[c+8>>2]=b}if(!(k[c+8>>2]|0)){bAa(0);break}b=gj[k[728440>>2]&511](36,0)|0;k[c+20>>2]=b;if(!(k[c+20>>2]|0)){Gi[k[(k[c>>2]|0)+80>>2]&2047](k[c+8>>2]|0)|0;bAa(594e3);break}else{a=k[c+20>>2]|0;b=a+36|0;do{k[a>>2]=0;a=a+4|0}while((a|0)<(b|0));k[k[c+20>>2]>>2]=k[c+8>>2];k[(k[c+20>>2]|0)+8>>2]=k[c+4>>2];k[(k[c+20>>2]|0)+12>>2]=k[(k[c+4>>2]|0)+12>>2];k[(k[c+20>>2]|0)+32>>2]=k[182119];k[182119]=k[c+20>>2];break}}else bAa(514047);while(0);_Ba(k[182116]|0)}zAa(k[c+12>>2]|0);k[c+32>>2]=k[c+20>>2];b=k[c+32>>2]|0;r=c;return b|0}function bBa(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;a=aBa(k[b>>2]|0,1)|0;r=b;return a|0}function cBa(a){a=a|0;var b=0,c=0;c=r;r=r+48|0;k[c+28>>2]=a;k[c+24>>2]=0;if(!(k[c+28>>2]|0)){bAa(514443);k[c+32>>2]=0;b=k[c+32>>2]|0;r=c;return b|0}b=(Fnb(k[c+28>>2]|0)|0)+1|0;k[c+16>>2]=b;if((k[c+16>>2]|0)>>>0<128){a=r;r=r+((1*((k[c+16>>2]|0)+1|0)|0)+15&-16)|0}else a=0;b=uAa(a,k[c+16>>2]|0,0)|0;k[c+20>>2]=b;if(!(k[c+20>>2]|0)){bAa(594e3);k[c+32>>2]=0;b=k[c+32>>2]|0;r=c;return b|0}if(vAa(k[c+28>>2]|0,k[c+20>>2]|0)|0){k[c+12>>2]=0;k[c+8>>2]=0;k[c+4>>2]=0;ZBa(k[182116]|0)|0;do if(k[182122]|0){k[c+8>>2]=k[182122];do{k[c>>2]=k[c+20>>2];if(LAa(k[c+8>>2]|0,c,0)|0){b=Ri[k[(k[(k[c+8>>2]|0)+12>>2]|0)+32>>2]&255](k[k[c+8>>2]>>2]|0,k[c>>2]|0,c+12|0)|0;k[c+4>>2]=b;if(k[c+4>>2]|0)break}k[c+8>>2]=k[(k[c+8>>2]|0)+16>>2];if(!(k[c+8>>2]|0))break}while((k[c+12>>2]|0)!=0^1);if(!(k[c+4>>2]|0)){bAa(0);break}b=gj[k[728440>>2]&511](36,0)|0;k[c+24>>2]=b;if(!(k[c+24>>2]|0)){Gi[k[(k[(k[c+8>>2]|0)+12>>2]|0)+80>>2]&2047](k[c+4>>2]|0)|0;bAa(594e3);break}else{a=k[c+24>>2]|0;b=a+36|0;do{k[a>>2]=0;a=a+4|0}while((a|0)<(b|0));k[k[c+24>>2]>>2]=k[c+4>>2];i[(k[c+24>>2]|0)+4>>0]=1;k[(k[c+24>>2]|0)+8>>2]=k[c+8>>2];k[(k[c+24>>2]|0)+12>>2]=k[(k[c+8>>2]|0)+12>>2];k[(k[c+24>>2]|0)+32>>2]=k[182121];k[182121]=k[c+24>>2];break}}else bAa(514099);while(0);_Ba(k[182116]|0)}zAa(k[c+20>>2]|0);k[c+32>>2]=k[c+24>>2];b=k[c+32>>2]|0;r=c;return b|0}function dBa(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+8>>2]=a;k[b+4>>2]=k[b+8>>2];ZBa(k[182116]|0)|0;a=eBa(728484,k[b+4>>2]|0)|0;k[b>>2]=a;if((k[b>>2]|0)==-1){bAa(0);_Ba(k[182116]|0);k[b+12>>2]=0;a=k[b+12>>2]|0;r=b;return a|0}if(!(k[b>>2]|0)){a=eBa(728476,k[b+4>>2]|0)|0;k[b>>2]=a;if((k[b>>2]|0)==-1){bAa(0);_Ba(k[182116]|0);k[b+12>>2]=0;a=k[b+12>>2]|0;r=b;return a|0}}_Ba(k[182116]|0);if(k[b>>2]|0){k[b+12>>2]=1;a=k[b+12>>2]|0;r=b;return a|0}else{bAa(514166);k[b+12>>2]=0;a=k[b+12>>2]|0;r=b;return a|0}return 0}function eBa(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+32|0;k[d+20>>2]=a;k[d+16>>2]=b;k[d+12>>2]=0;k[d+4>>2]=1;k[d+8>>2]=k[k[d+20>>2]>>2];while(1){if(!(k[d+8>>2]|0)){c=15;break}if((k[d+8>>2]|0)==(k[d+16>>2]|0))break;k[d+12>>2]=k[d+8>>2];k[d+8>>2]=k[(k[d+8>>2]|0)+32>>2]}if((c|0)==15){k[d+24>>2]=0;c=k[d+24>>2]|0;r=d;return c|0}k[d>>2]=k[(k[d+16>>2]|0)+16>>2];c=fBa(k[d+16>>2]|0)|0;k[d+4>>2]=c;if(k[d+4>>2]|0){c=Gi[k[(k[(k[d+16>>2]|0)+12>>2]|0)+80>>2]&2047](k[k[d+16>>2]>>2]|0)|0;k[d+4>>2]=c}if(!(k[d+4>>2]|0)){k[d+24>>2]=-1;c=k[d+24>>2]|0;r=d;return c|0}if(k[d>>2]|0)Si[k[728448>>2]&1023](k[d>>2]|0);b=k[(k[d+16>>2]|0)+32>>2]|0;if(!(k[d+12>>2]|0))k[k[d+20>>2]>>2]=b;else k[(k[d+12>>2]|0)+32>>2]=b;Si[k[728448>>2]&1023](k[d+16>>2]|0);k[d+24>>2]=1;c=k[d+24>>2]|0;r=d;return c|0}function fBa(a){a=a|0;var b=0;b=r;r=r+32|0;k[b+12>>2]=a;k[b+8>>2]=k[b+12>>2];if(!(l[(k[b+8>>2]|0)+4>>0]|0))if((k[(k[b+8>>2]|0)+28>>2]|0)!=(k[(k[b+8>>2]|0)+24>>2]|0)){a=nj[k[(k[(k[b+8>>2]|0)+12>>2]|0)+60>>2]&127](k[k[b+8>>2]>>2]|0,(k[(k[b+8>>2]|0)+16>>2]|0)+(k[(k[b+8>>2]|0)+28>>2]|0)|0,(k[(k[b+8>>2]|0)+24>>2]|0)-(k[(k[b+8>>2]|0)+28>>2]|0)|0,1)|0;k[b>>2]=a;k[b+4>>2]=L;a=k[b+4>>2]|0;if((a|0)<0|(a|0)==0&(k[b>>2]|0)>>>0<=0){bAa(0);k[b+16>>2]=0;a=k[b+16>>2]|0;r=b;return a|0}else{k[(k[b+8>>2]|0)+24>>2]=0;k[(k[b+8>>2]|0)+28>>2]=0;k[b+16>>2]=1;a=k[b+16>>2]|0;r=b;return a|0}}k[b+16>>2]=1;a=k[b+16>>2]|0;r=b;return a|0}function gBa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+32|0;k[e+24>>2]=a;k[e+20>>2]=b;k[e+16>>2]=c;k[e+12>>2]=d;k[e+8>>2]=k[e+24>>2];do if(i[(k[e+8>>2]|0)+4>>0]|0){if(!(k[e+16>>2]|0)){bAa(0);k[e>>2]=0;k[e+4>>2]=0;break}if(!(k[e+12>>2]|0)){bAa(0);k[e>>2]=0;k[e+4>>2]=0;break}b=k[e+8>>2]|0;if(k[(k[e+8>>2]|0)+16>>2]|0){c=hBa(b,k[e+20>>2]|0,k[e+16>>2]|0,k[e+12>>2]|0)|0;k[e>>2]=c;k[e+4>>2]=L;break}else{c=nj[k[(k[b+12>>2]|0)+56>>2]&127](k[k[e+8>>2]>>2]|0,k[e+20>>2]|0,k[e+16>>2]|0,k[e+12>>2]|0)|0;k[e>>2]=c;k[e+4>>2]=L;break}}else{bAa(514184);k[e>>2]=-1;k[e+4>>2]=-1}while(0);L=k[e+4>>2]|0;r=e;return k[e>>2]|0}function hBa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+64|0;k[e+56>>2]=a;k[e+52>>2]=b;k[e+48>>2]=c;k[e+44>>2]=d;k[e+16>>2]=0;k[e+16+4>>2]=0;k[e+40>>2]=0;while(1){if((k[e+44>>2]|0)>>>0<=0){b=10;break}k[e+36>>2]=(k[(k[e+56>>2]|0)+24>>2]|0)-(k[(k[e+56>>2]|0)+28>>2]|0);c=ha(k[e+48>>2]|0,k[e+44>>2]|0)|0;k[e+8>>2]=c-(k[e+40>>2]|0);k[e+8+4>>2]=0;if(!(k[e+36>>2]|0)){c=nj[k[(k[(k[e+56>>2]|0)+12>>2]|0)+56>>2]&127](k[k[e+56>>2]>>2]|0,k[(k[e+56>>2]|0)+16>>2]|0,1,k[(k[e+56>>2]|0)+20>>2]|0)|0;k[e>>2]=c;k[e+4>>2]=L;c=k[e+4>>2]|0;if((c|0)<0|(c|0)==0&(k[e>>2]|0)>>>0<=0){b=5;break}c=k[e>>2]|0;k[(k[e+56>>2]|0)+24>>2]=c;k[e+36>>2]=c;k[(k[e+56>>2]|0)+28>>2]=0}c=k[e+8+4>>2]|0;if(0>c>>>0|(0==(c|0)?(k[e+36>>2]|0)>>>0>(k[e+8>>2]|0)>>>0:0))k[e+36>>2]=k[e+8>>2];ABb(k[e+52>>2]|0,(k[(k[e+56>>2]|0)+16>>2]|0)+(k[(k[e+56>>2]|0)+28>>2]|0)|0,k[e+36>>2]|0)|0;k[e+52>>2]=(k[e+52>>2]|0)+(k[e+36>>2]|0);c=(k[e+56>>2]|0)+28|0;k[c>>2]=(k[c>>2]|0)+(k[e+36>>2]|0);k[e+36>>2]=(k[e+36>>2]|0)+(k[e+40>>2]|0);k[e+32>>2]=((k[e+36>>2]|0)>>>0)/((k[e+48>>2]|0)>>>0)|0;k[e+40>>2]=((k[e+36>>2]|0)>>>0)%((k[e+48>>2]|0)>>>0)|0;c=xBb(k[e+16>>2]|0,k[e+16+4>>2]|0,k[e+32>>2]|0,0)|0;k[e+16>>2]=c;k[e+16+4>>2]=L;k[e+44>>2]=(k[e+44>>2]|0)-(k[e+32>>2]|0)}if((b|0)==5){c=(k[e+56>>2]|0)+28|0;k[c>>2]=(k[c>>2]|0)-(k[e+40>>2]|0);c=((k[e>>2]|0)==-1?(k[e+4>>2]|0)==-1:0)&((k[e+16>>2]|0)==0?(k[e+16+4>>2]|0)==0:0);d=c?-1:k[e+16+4>>2]|0;k[e+24>>2]=c?-1:k[e+16>>2]|0;k[e+24+4>>2]=d;d=e+24|0;c=d;c=k[c>>2]|0;d=d+4|0;d=k[d>>2]|0;L=d;r=e;return c|0}else if((b|0)==10){d=k[e+16+4>>2]|0;k[e+24>>2]=k[e+16>>2];k[e+24+4>>2]=d;d=e+24|0;c=d;c=k[c>>2]|0;d=d+4|0;d=k[d>>2]|0;L=d;r=e;return c|0}return 0}function iBa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+32|0;k[e+24>>2]=a;k[e+20>>2]=b;k[e+16>>2]=c;k[e+12>>2]=d;k[e+8>>2]=k[e+24>>2];do if(i[(k[e+8>>2]|0)+4>>0]|0){bAa(514214);k[e>>2]=-1;k[e+4>>2]=-1}else{if(!(k[e+16>>2]|0)){bAa(0);k[e>>2]=0;k[e+4>>2]=0;break}if(!(k[e+12>>2]|0)){bAa(0);k[e>>2]=0;k[e+4>>2]=0;break}if(k[(k[e+8>>2]|0)+16>>2]|0){c=jBa(k[e+24>>2]|0,k[e+20>>2]|0,k[e+16>>2]|0,k[e+12>>2]|0)|0;k[e>>2]=c;k[e+4>>2]=L;break}else{c=nj[k[(k[(k[e+8>>2]|0)+12>>2]|0)+60>>2]&127](k[k[e+8>>2]>>2]|0,k[e+20>>2]|0,k[e+16>>2]|0,k[e+12>>2]|0)|0;k[e>>2]=c;k[e+4>>2]=L;break}}while(0);L=k[e+4>>2]|0;r=e;return k[e>>2]|0}function jBa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+32|0;k[e+24>>2]=a;k[e+20>>2]=b;k[e+16>>2]=c;k[e+12>>2]=d;k[e+8>>2]=k[e+24>>2];c=(k[(k[e+8>>2]|0)+24>>2]|0)+(ha(k[e+16>>2]|0,k[e+12>>2]|0)|0)|0;if(c>>>0<(k[(k[e+8>>2]|0)+20>>2]|0)>>>0){ABb((k[(k[e+8>>2]|0)+16>>2]|0)+(k[(k[e+8>>2]|0)+24>>2]|0)|0,k[e+20>>2]|0,ha(k[e+16>>2]|0,k[e+12>>2]|0)|0)|0;c=ha(k[e+16>>2]|0,k[e+12>>2]|0)|0;d=(k[e+8>>2]|0)+24|0;k[d>>2]=(k[d>>2]|0)+c;k[e>>2]=k[e+12>>2];k[e+4>>2]=0;d=e;c=d;c=k[c>>2]|0;d=d+4|0;d=k[d>>2]|0;L=d;r=e;return c|0}if(fBa(k[e+24>>2]|0)|0){d=nj[k[(k[(k[e+8>>2]|0)+12>>2]|0)+60>>2]&127](k[k[e+8>>2]>>2]|0,k[e+20>>2]|0,k[e+16>>2]|0,k[e+12>>2]|0)|0;k[e>>2]=d;k[e+4>>2]=L;d=e;c=d;c=k[c>>2]|0;d=d+4|0;d=k[d>>2]|0;L=d;r=e;return c|0}else{bAa(0);k[e>>2]=-1;k[e+4>>2]=-1;d=e;c=d;c=k[c>>2]|0;d=d+4|0;d=k[d>>2]|0;L=d;r=e;return c|0}return 0}function kBa(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+4>>2]=a;k[b>>2]=k[b+4>>2];if(!(i[(k[b>>2]|0)+4>>0]|0)){k[b+8>>2]=0;a=k[b+8>>2]|0;r=b;return a|0}if((k[(k[b>>2]|0)+28>>2]|0)==(k[(k[b>>2]|0)+24>>2]|0))a=(Gi[k[(k[(k[b>>2]|0)+12>>2]|0)+64>>2]&2047](k[k[b>>2]>>2]|0)|0)!=0;else a=0;k[b+8>>2]=a&1;a=k[b+8>>2]|0;r=b;return a|0}function lBa(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+32|0;k[d+20>>2]=a;k[d+16>>2]=k[d+20>>2];a=Gi[k[(k[(k[d+16>>2]|0)+12>>2]|0)+68>>2]&2047](k[k[d+16>>2]>>2]|0)|0;k[d+8>>2]=a;k[d+8+4>>2]=L;a=k[d+8>>2]|0;b=k[d+8+4>>2]|0;c=k[(k[d+16>>2]|0)+24>>2]|0;if(l[(k[d+16>>2]|0)+4>>0]|0|0){a=EBb(a|0,b|0,c|0,0)|0;a=xBb(a|0,L|0,k[(k[d+16>>2]|0)+28>>2]|0,0)|0;b=L}else{a=xBb(a|0,b|0,c|0,0)|0;b=L}k[d>>2]=a;k[d+4>>2]=b;L=k[d+4>>2]|0;r=d;return k[d>>2]|0}function mBa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+32|0;k[e+20>>2]=a;k[e+8>>2]=b;k[e+8+4>>2]=c;k[e+16>>2]=k[e+20>>2];if(!(fBa(k[e+20>>2]|0)|0)){bAa(0);k[e+24>>2]=0;d=k[e+24>>2]|0;r=e;return d|0}do if(k[(k[e+16>>2]|0)+16>>2]|0)if(l[(k[e+16>>2]|0)+4>>0]|0|0){b=k[e+8>>2]|0;c=k[e+8+4>>2]|0;a=lBa(k[e+20>>2]|0)|0;a=EBb(b|0,c|0,a|0,L|0)|0;k[e>>2]=a;k[e+4>>2]=L;a=k[e+4>>2]|0;if((a|0)>0|(a|0)==0&(k[e>>2]|0)>>>0>=0){a=k[e+4>>2]|0;if(!((a|0)<0|((a|0)==0?(k[e>>2]|0)>>>0<=((k[(k[e+16>>2]|0)+24>>2]|0)-(k[(k[e+16>>2]|0)+28>>2]|0)|0)>>>0:0)))d=7}else d=7;if((d|0)==7){if((k[e+4>>2]|0)>=0)break;d=EBb(0,0,k[e>>2]|0,k[e+4>>2]|0)|0;a=L;if(!((a|0)<0|((a|0)==0?d>>>0<=(k[(k[e+16>>2]|0)+28>>2]|0)>>>0:0)))break}d=(k[e+16>>2]|0)+28|0;k[d>>2]=(k[d>>2]|0)+(k[e>>2]|0);k[e+24>>2]=1;d=k[e+24>>2]|0;r=e;return d|0}while(0);k[(k[e+16>>2]|0)+28>>2]=0;k[(k[e+16>>2]|0)+24>>2]=0;d=Ri[k[(k[(k[e+16>>2]|0)+12>>2]|0)+72>>2]&255](k[k[e+16>>2]>>2]|0,k[e+8>>2]|0,k[e+8+4>>2]|0)|0;k[e+24>>2]=d;d=k[e+24>>2]|0;r=e;return d|0}function nBa(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+4>>2]=a;k[b>>2]=k[b+4>>2];a=Gi[k[(k[(k[b>>2]|0)+12>>2]|0)+76>>2]&2047](k[k[b>>2]>>2]|0)|0;r=b;return a|0}function oBa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+48|0;k[d+36>>2]=a;k[d+16>>2]=b;k[d+16+4>>2]=c;k[d+32>>2]=k[d+36>>2];a=k[d+16+4>>2]|0;if(a>>>0>0|((a|0)==0?(k[d+16>>2]|0)>>>0>4294967295:0)){bAa(514244);k[d+40>>2]=0;a=k[d+40>>2]|0;r=d;return a|0}k[d+28>>2]=k[d+16>>2];if(!(fBa(k[d+36>>2]|0)|0)){bAa(0);k[d+40>>2]=0;a=k[d+40>>2]|0;r=d;return a|0}if(l[(k[d+32>>2]|0)+4>>0]|0|0)if((k[(k[d+32>>2]|0)+24>>2]|0)!=(k[(k[d+32>>2]|0)+28>>2]|0)){a=Gi[k[(k[(k[d+32>>2]|0)+12>>2]|0)+68>>2]&2047](k[k[d+32>>2]>>2]|0)|0;k[d>>2]=a;k[d+4>>2]=L;if((k[d>>2]|0)==-1?(k[d+4>>2]|0)==-1:0){bAa(0);k[d+40>>2]=0;a=k[d+40>>2]|0;r=d;return a|0}a=EBb(k[d>>2]|0,k[d+4>>2]|0,k[(k[d+32>>2]|0)+24>>2]|0,0)|0;a=xBb(a|0,L|0,k[(k[d+32>>2]|0)+28>>2]|0,0)|0;k[d+8>>2]=a;k[d+8+4>>2]=L;if(!(Ri[k[(k[(k[d+32>>2]|0)+12>>2]|0)+72>>2]&255](k[k[d+32>>2]>>2]|0,k[d+8>>2]|0,k[d+8+4>>2]|0)|0)){bAa(0);k[d+40>>2]=0;a=k[d+40>>2]|0;r=d;return a|0}}do if(!(k[d+28>>2]|0)){if(k[(k[d+32>>2]|0)+16>>2]|0){Si[k[728448>>2]&1023](k[(k[d+32>>2]|0)+16>>2]|0);k[(k[d+32>>2]|0)+16>>2]=0}}else{a=Ri[k[728444>>2]&255](k[(k[d+32>>2]|0)+16>>2]|0,k[d+28>>2]|0,0)|0;k[d+24>>2]=a;if(k[d+24>>2]|0){k[(k[d+32>>2]|0)+16>>2]=k[d+24>>2];break}bAa(594e3);k[d+40>>2]=0;a=k[d+40>>2]|0;r=d;return a|0}while(0);k[(k[d+32>>2]|0)+20>>2]=k[d+28>>2];k[(k[d+32>>2]|0)+28>>2]=0;k[(k[d+32>>2]|0)+24>>2]=0;k[d+40>>2]=1;a=k[d+40>>2]|0;r=d;return a|0}function pBa(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+16|0;k[d+4>>2]=a;k[d>>2]=b;while(1){b=k[d+4>>2]|0;k[d+4>>2]=b+1;i[d+15>>0]=i[b>>0]|0;b=k[d>>2]|0;k[d>>2]=b+1;i[d+14>>0]=i[b>>0]|0;if((i[d+15>>0]|0)>=65)if((i[d+15>>0]|0)<=90)a=(i[d+15>>0]|0)+32|0;else c=5;else c=5;if((c|0)==5){c=0;a=i[d+15>>0]|0}i[d+13>>0]=a;if((i[d+14>>0]|0)>=65)if((i[d+14>>0]|0)<=90)a=(i[d+14>>0]|0)+32|0;else c=9;else c=9;if((c|0)==9){c=0;a=i[d+14>>0]|0}i[d+12>>0]=a;if((i[d+13>>0]|0)<(i[d+12>>0]|0)){c=11;break}if((i[d+13>>0]|0)>(i[d+12>>0]|0)){c=13;break}if(!(i[d+13>>0]|0)){c=15;break}}if((c|0)==11){k[d+8>>2]=-1;c=k[d+8>>2]|0;r=d;return c|0}else if((c|0)==13){k[d+8>>2]=1;c=k[d+8>>2]|0;r=d;return c|0}else if((c|0)==15){k[d+8>>2]=0;c=k[d+8>>2]|0;r=d;return c|0}return 0}function qBa(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;k[b+8>>2]=a;a=If(k[b+8>>2]|0)|0;k[b+4>>2]=a;k[b>>2]=0;if(k[b+4>>2]|0){c=k[182110]|0;a=(Fnb(k[b+4>>2]|0)|0)+1|0;a=gj[c&511](a,0)|0;k[b>>2]=a;if(k[b>>2]|0)Pnb(k[b>>2]|0,k[b+4>>2]|0)|0}r=b;return k[b>>2]|0}function rBa(){var a=0,b=0;a=r;r=r+16|0;b=sBa()|0;k[a>>2]=b;if(!(k[a>>2]|0)){b=qBa(514271)|0;k[a>>2]=b}r=a;return k[a>>2]|0}function sBa(){var a=0,b=0,c=0;a=r;r=r+16|0;b=cqb()|0;k[a+8>>2]=b;k[a>>2]=0;b=Ic(k[a+8>>2]|0)|0;k[a+4>>2]=b;if(k[a+4>>2]|0)if(k[k[a+4>>2]>>2]|0){c=k[182110]|0;b=(Fnb(k[k[a+4>>2]>>2]|0)|0)+1|0;b=gj[c&511](b,0)|0;k[a>>2]=b;if(k[a>>2]|0)Pnb(k[a>>2]|0,k[k[a+4>>2]>>2]|0)|0}r=a;return k[a>>2]|0}function tBa(){var a=0,b=0;a=r;r=r+80|0;b=qBa(514276)|0;k[a+76>>2]=b;do if(k[a+76>>2]|0){if((aob(k[a+76>>2]|0,a)|0)!=-1)if((k[a+12>>2]&61440|0)==16384|0)break;Si[k[728448>>2]&1023](k[a+76>>2]|0);k[a+76>>2]=0}while(0);if(k[a+76>>2]|0){b=k[a+76>>2]|0;r=a;return b|0}b=uBa()|0;k[a+76>>2]=b;b=k[a+76>>2]|0;r=a;return b|0}function uBa(){var a=0,b=0,c=0;a=r;r=r+16|0;b=cqb()|0;k[a+8>>2]=b;k[a>>2]=0;b=Ic(k[a+8>>2]|0)|0;k[a+4>>2]=b;if(k[a+4>>2]|0)if(k[(k[a+4>>2]|0)+20>>2]|0){c=k[182110]|0;b=(Fnb(k[(k[a+4>>2]|0)+20>>2]|0)|0)+1|0;b=gj[c&511](b,0)|0;k[a>>2]=b;if(k[a>>2]|0)Pnb(k[a>>2]|0,k[(k[a+4>>2]|0)+20>>2]|0)|0}r=a;return k[a>>2]|0}function vBa(a){a=a|0;var b=0;b=r;r=r+96|0;k[b+76>>2]=a;if((Eob(k[b+76>>2]|0,b)|0)==-1){a=_lb()|0;bAa(Pmb(k[a>>2]|0)|0);k[b+80>>2]=0;a=k[b+80>>2]|0;r=b;return a|0}else{k[b+80>>2]=1;a=k[b+80>>2]|0;r=b;return a|0}return 0}function wBa(a){a=a|0;var b=0;b=r;r=r+96|0;k[b+76>>2]=a;if((Eob(k[b+76>>2]|0,b)|0)==-1){a=_lb()|0;bAa(Pmb(k[a>>2]|0)|0);k[b+80>>2]=0;a=k[b+80>>2]|0;r=b;return a|0}else{k[b+80>>2]=(k[b+12>>2]&61440|0)==40960?1:0;a=k[b+80>>2]|0;r=b;return a|0}return 0}function xBa(a){a=a|0;var b=0;b=r;r=r+96|0;k[b+76>>2]=a;if((aob(k[b+76>>2]|0,b)|0)==-1){a=_lb()|0;bAa(Pmb(k[a>>2]|0)|0);k[b+80>>2]=0;a=k[b+80>>2]|0;r=b;return a|0}else{k[b+80>>2]=(k[b+12>>2]&61440|0)==16384?1:0;a=k[b+80>>2]|0;r=b;return a|0}return 0}function yBa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+32|0;k[d+16>>2]=a;k[d+12>>2]=b;k[d+8>>2]=c;if(k[d+16>>2]|0)c=Fnb(k[d+16>>2]|0)|0;else c=0;if(k[d+8>>2]|0)b=Fnb(k[d+8>>2]|0)|0;else b=0;a=c+b+(Fnb(k[d+12>>2]|0)|0)+1|0;k[d+4>>2]=a;a=k[d+4>>2]|0;a=gj[k[728440>>2]&511](a,((a|0)<0)<<31>>31)|0;k[d>>2]=a;if(!(k[d>>2]|0)){bAa(594e3);k[d+20>>2]=0;a=k[d+20>>2]|0;r=d;return a|0}c=k[d>>2]|0;if(k[d+16>>2]|0)Pnb(c,k[d+16>>2]|0)|0;else i[c>>0]=0;Zpb(k[d>>2]|0,k[d+12>>2]|0)|0;if(k[d+8>>2]|0)Zpb(k[d>>2]|0,k[d+8>>2]|0)|0;k[d+20>>2]=k[d>>2];a=k[d+20>>2]|0;r=d;return a|0}function zBa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=r;r=r+48|0;k[f+44>>2]=a;k[f+40>>2]=b;k[f+36>>2]=c;k[f+32>>2]=d;k[f+28>>2]=e;k[f+16>>2]=0;k[f+12>>2]=0;k[f+8>>2]=0;if(k[f+40>>2]|0){d=Fnb(k[f+44>>2]|0)|0;k[f+8>>2]=d;k[f+16>>2]=(k[f+8>>2]|0)+256;d=k[f+16>>2]|0;d=gj[k[728440>>2]&511](d,((d|0)<0)<<31>>31)|0;k[f+12>>2]=d;if(!(k[f+12>>2]|0)){r=f;return}Pnb(k[f+12>>2]|0,k[f+44>>2]|0)|0;if((i[(k[f+12>>2]|0)+((k[f+8>>2]|0)-1)>>0]|0)!=47){d=k[f+8>>2]|0;k[f+8>>2]=d+1;i[(k[f+12>>2]|0)+d>>0]=47;i[(k[f+12>>2]|0)+(k[f+8>>2]|0)>>0]=0}}d=_lb()|0;k[d>>2]=0;d=mnb(k[f+44>>2]|0)|0;k[f+24>>2]=d;if(!(k[f+24>>2]|0)){Si[k[728448>>2]&1023](k[f+12>>2]|0);r=f;return}while(1){d=onb(k[f+24>>2]|0)|0;k[f+20>>2]=d;if(!d)break;if(!(Wmb((k[f+20>>2]|0)+11|0,616745)|0))continue;if(!(Wmb((k[f+20>>2]|0)+11|0,517134)|0))continue;if(k[f+40>>2]|0){d=Fnb((k[f+20>>2]|0)+11|0)|0;k[f>>2]=d+(k[f+8>>2]|0)+1;if((k[f>>2]|0)>(k[f+16>>2]|0)){d=k[f>>2]|0;d=Ri[k[728444>>2]&255](k[f+12>>2]|0,d,((d|0)<0)<<31>>31)|0;k[f+4>>2]=d;if(!(k[f+4>>2]|0))continue;k[f+12>>2]=k[f+4>>2];k[f+16>>2]=k[f>>2]}Pnb((k[f+12>>2]|0)+(k[f+8>>2]|0)|0,(k[f+20>>2]|0)+11|0)|0;if(wBa(k[f+12>>2]|0)|0)continue}kj[k[f+36>>2]&255](k[f+28>>2]|0,k[f+32>>2]|0,(k[f+20>>2]|0)+11|0)}Si[k[728448>>2]&1023](k[f+12>>2]|0);hnb(k[f+24>>2]|0)|0;r=f;return}function ABa(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+4>>2]=a;a=_lb()|0;k[a>>2]=0;a=upb(k[b+4>>2]|0,448)|0;k[b>>2]=a;if((k[b>>2]|0)==-1){a=_lb()|0;bAa(Pmb(k[a>>2]|0)|0);k[b+8>>2]=0;a=k[b+8>>2]|0;r=b;return a|0}else{k[b+8>>2]=1;a=k[b+8>>2]|0;r=b;return a|0}return 0}function BBa(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;a=CBa(k[b>>2]|0,0)|0;r=b;return a|0}function CBa(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+32|0;k[c+20>>2]=a;k[c+16>>2]=b;k[c+12>>2]=k[c+16>>2]&1024;a=_lb()|0;k[a>>2]=0;k[c+16>>2]=k[c+16>>2]&-1025;a=k[c+20>>2]|0;b=k[c+16>>2]|0;k[c>>2]=384;b=nnb(a,b,c)|0;k[c+8>>2]=b;if((k[c+8>>2]|0)<0){b=_lb()|0;bAa(Pmb(k[b>>2]|0)|0);k[c+24>>2]=0;b=k[c+24>>2]|0;r=c;return b|0}if(k[c+12>>2]|0)if((pnb(k[c+8>>2]|0,0,2)|0)<0){inb(k[c+8>>2]|0)|0;b=_lb()|0;bAa(Pmb(k[b>>2]|0)|0);k[c+24>>2]=0;b=k[c+24>>2]|0;r=c;return b|0}a=gj[k[728440>>2]&511](4,0)|0;k[c+4>>2]=a;a=k[c+8>>2]|0;if(!(k[c+4>>2]|0)){inb(a)|0;bAa(594e3);k[c+24>>2]=0;b=k[c+24>>2]|0;r=c;return b|0}else{k[k[c+4>>2]>>2]=a;k[c+24>>2]=k[c+4>>2];b=k[c+24>>2]|0;r=c;return b|0}return 0}function DBa(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;a=CBa(k[b>>2]|0,577)|0;r=b;return a|0}function EBa(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;a=CBa(k[b>>2]|0,1089)|0;r=b;return a|0}function FBa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+48|0;k[e+32>>2]=a;k[e+28>>2]=b;k[e+24>>2]=c;k[e+20>>2]=d;k[e+16>>2]=k[k[e+32>>2]>>2];c=ha(k[e+24>>2]|0,k[e+20>>2]|0)|0;k[e+12>>2]=c;c=fqb(k[e+16>>2]|0,k[e+28>>2]|0,k[e+12>>2]|0)|0;k[e+8>>2]=c;if((k[e+8>>2]|0)==-1){a=_lb()|0;bAa(Pmb(k[a>>2]|0)|0);a=k[e+8>>2]|0;k[e>>2]=a;k[e+4>>2]=((a|0)<0)<<31>>31;a=e;c=a;c=k[c>>2]|0;a=a+4|0;a=k[a>>2]|0;L=a;r=e;return c|0}if((k[e+8>>2]|0)>(k[e+12>>2]|0))rb(514281,514291,310,514363);if((k[e+24>>2]|0)>>>0>1?(k[e+8>>2]|0)<(k[e+12>>2]|0):0)pnb(k[e+16>>2]|0,0-(((k[e+8>>2]|0)>>>0)%((k[e+24>>2]|0)>>>0)|0)|0,1)|0;k[e>>2]=((k[e+8>>2]|0)>>>0)/((k[e+24>>2]|0)>>>0)|0;k[e+4>>2]=0;a=e;c=a;c=k[c>>2]|0;a=a+4|0;a=k[a>>2]|0;L=a;r=e;return c|0}function GBa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+48|0;k[e+32>>2]=a;k[e+28>>2]=b;k[e+24>>2]=c;k[e+20>>2]=d;k[e+16>>2]=k[k[e+32>>2]>>2];c=ha(k[e+24>>2]|0,k[e+20>>2]|0)|0;k[e+12>>2]=c;c=fob(k[e+16>>2]|0,k[e+28>>2]|0,k[e+12>>2]|0)|0;k[e+8>>2]=c;if((k[e+8>>2]|0)==-1){a=_lb()|0;bAa(Pmb(k[a>>2]|0)|0);a=k[e+8>>2]|0;k[e>>2]=a;k[e+4>>2]=((a|0)<0)<<31>>31;a=e;c=a;c=k[c>>2]|0;a=a+4|0;a=k[a>>2]|0;L=a;r=e;return c|0}if((k[e+8>>2]|0)>(k[e+12>>2]|0))rb(514281,514291,327,514385);if((k[e+24>>2]|0)>>>0>1?(k[e+8>>2]|0)<(k[e+12>>2]|0):0)pnb(k[e+16>>2]|0,0-(((k[e+8>>2]|0)>>>0)%((k[e+24>>2]|0)>>>0)|0)|0,1)|0;k[e>>2]=((k[e+8>>2]|0)>>>0)/((k[e+24>>2]|0)>>>0)|0;k[e+4>>2]=0;a=e;c=a;c=k[c>>2]|0;a=a+4|0;a=k[a>>2]|0;L=a;r=e;return c|0}function HBa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+32|0;k[d+12>>2]=a;k[d>>2]=b;k[d+4>>2]=c;k[d+8>>2]=k[k[d+12>>2]>>2];if((pnb(k[d+8>>2]|0,k[d>>2]|0,0)|0)==-1){a=_lb()|0;bAa(Pmb(k[a>>2]|0)|0);k[d+16>>2]=0;a=k[d+16>>2]|0;r=d;return a|0}else{k[d+16>>2]=1;a=k[d+16>>2]|0;r=d;return a|0}return 0}function IBa(a){a=a|0;var b=0,c=0;b=r;r=r+32|0;k[b+20>>2]=a;k[b+16>>2]=k[k[b+20>>2]>>2];a=pnb(k[b+16>>2]|0,0,1)|0;k[b>>2]=a;k[b+4>>2]=((a|0)<0)<<31>>31;if((k[b>>2]|0)==-1?(k[b+4>>2]|0)==-1:0){c=_lb()|0;bAa(Pmb(k[c>>2]|0)|0);k[b+8>>2]=-1;k[b+8+4>>2]=-1;c=b+8|0;a=c;a=k[a>>2]|0;c=c+4|0;c=k[c>>2]|0;L=c;r=b;return a|0}else{a=k[b+4>>2]|0;k[b+8>>2]=k[b>>2];k[b+8+4>>2]=a;a=b+8|0;c=a;c=k[c>>2]|0;a=a+4|0;a=k[a>>2]|0;L=a;r=b;return c|0}return 0}function JBa(a){a=a|0;var b=0,c=0;b=r;r=r+96|0;k[b+88>>2]=a;k[b+84>>2]=k[k[b+88>>2]>>2];if((jnb(k[b+84>>2]|0,b+8|0)|0)==-1){c=_lb()|0;bAa(Pmb(k[c>>2]|0)|0);k[b>>2]=-1;k[b+4>>2]=-1;c=b;a=c;a=k[a>>2]|0;c=c+4|0;c=k[c>>2]|0;L=c;r=b;return a|0}else{a=k[b+8+36>>2]|0;k[b>>2]=a;k[b+4>>2]=((a|0)<0)<<31>>31;a=b;c=a;c=k[c>>2]|0;a=a+4|0;a=k[a>>2]|0;L=a;r=b;return c|0}return 0}function KBa(a){a=a|0;var b=0,c=0;b=r;r=r+32|0;k[b+16>>2]=a;a=IBa(k[b+16>>2]|0)|0;k[b+8>>2]=a;k[b+8+4>>2]=L;a=JBa(k[b+16>>2]|0)|0;k[b>>2]=a;k[b+4>>2]=L;if((k[b+4>>2]|0)<0?1:(k[b+8+4>>2]|0)<0){a=1;a=a&1;r=b;return a|0}c=k[b+8+4>>2]|0;a=k[b+4>>2]|0;a=(c|0)>(a|0)|((c|0)==(a|0)?(k[b+8>>2]|0)>>>0>=(k[b>>2]|0)>>>0:0);a=a&1;r=b;return a|0}function LBa(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+4>>2]=a;k[b>>2]=k[k[b+4>>2]>>2];if((dqb(k[b>>2]|0)|0)==-1){a=_lb()|0;bAa(Pmb(k[a>>2]|0)|0);k[b+8>>2]=0;a=k[b+8>>2]|0;r=b;return a|0}else{k[b+8>>2]=1;a=k[b+8>>2]|0;r=b;return a|0}return 0}function MBa(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+4>>2]=a;k[b>>2]=k[k[b+4>>2]>>2];if((inb(k[b>>2]|0)|0)==-1){a=_lb()|0;bAa(Pmb(k[a>>2]|0)|0);k[b+8>>2]=0;a=k[b+8>>2]|0;r=b;return a|0}else{Si[k[728448>>2]&1023](k[b+4>>2]|0);k[b+8>>2]=1;a=k[b+8>>2]|0;r=b;return a|0}return 0}function NBa(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;if((Mpb(k[b>>2]|0)|0)==-1){a=_lb()|0;bAa(Pmb(k[a>>2]|0)|0);k[b+4>>2]=0;a=k[b+4>>2]|0;r=b;return a|0}else{k[b+4>>2]=1;a=k[b+4>>2]|0;r=b;return a|0}return 0}function OBa(a){a=a|0;var b=0;b=r;r=r+96|0;k[b+84>>2]=a;if((aob(k[b+84>>2]|0,b+8|0)|0)<0){a=_lb()|0;bAa(Pmb(k[a>>2]|0)|0);k[b>>2]=-1;k[b+4>>2]=-1}else{a=k[b+8+56>>2]|0;k[b>>2]=a;k[b+4>>2]=((a|0)<0)<<31>>31}L=k[b+4>>2]|0;r=b;return k[b>>2]|0}function PBa(){return 1}function QBa(){return 1}function RBa(a){a=a|0;var b=0,c=0,d=0;b=r;r=r+112|0;k[b+36>>2]=a;k[b+32>>2]=0;k[b+28>>2]=0;if(k[b+36>>2]|0)if(gob(k[b+36>>2]|0,47)|0){k[b+40>>2]=0;a=k[b+40>>2]|0;r=b;return a|0}a=SBa(514408)|0;k[b+32>>2]=a;if(!(k[b+32>>2]|0)){a=iob()|0;k[b>>2]=a;k[b+4>>2]=((a|0)<0)<<31>>31;a=k[b+4>>2]|0;k[b+8>>2]=k[b>>2];k[b+8+4>>2]=a;a=Nnb(b+48|0,64,514423,b+8|0)|0;k[b+24>>2]=a;if((k[b+24>>2]|0)>0?(k[b+24>>2]|0)>>>0<64:0){a=SBa(b+48|0)|0;k[b+32>>2]=a}}if(k[b+32>>2]|0){a=Gob(k[b+32>>2]|0,47)|0;k[b+20>>2]=a;if(k[b+20>>2]|0)i[k[b+20>>2]>>0]=0}do if((k[b+32>>2]|0)==0&(k[b+36>>2]|0)!=0){a=qBa(514438)|0;k[b+28>>2]=a;if(k[b+28>>2]|0){a=TBa(k[b+36>>2]|0,k[b+28>>2]|0)|0;k[b+32>>2]=a;Si[k[728448>>2]&1023](k[b+28>>2]|0);break}bAa(0);k[b+40>>2]=0;a=k[b+40>>2]|0;r=b;return a|0}while(0);if(k[b+32>>2]|0){d=k[182111]|0;c=k[b+32>>2]|0;a=(Fnb(k[b+32>>2]|0)|0)+1|0;a=Ri[d&255](c,a,0)|0;k[b+16>>2]=a;if(k[b+16>>2]|0)k[b+32>>2]=k[b+16>>2]}k[b+40>>2]=k[b+32>>2];d=k[b+40>>2]|0;r=b;return d|0}function SBa(a){a=a|0;var b=0,c=0;c=r;r=r+32|0;k[c+16>>2]=a;k[c+12>>2]=64;k[c+8>>2]=-1;k[c+4>>2]=0;while(1){a=Ri[k[728444>>2]&255](k[c+4>>2]|0,k[c+12>>2]|0,0)|0;k[c>>2]=a;if(!(k[c>>2]|0))break;k[c+4>>2]=k[c>>2];a=Job(k[c+16>>2]|0,k[c+4>>2]|0,k[c+12>>2]|0)|0;k[c+8>>2]=a;if((k[c+8>>2]|0)==-1)break;if((k[c+8>>2]|0)<(k[c+12>>2]|0)){b=5;break}k[c+12>>2]=k[c+12>>2]<<1}if((b|0)==5){i[(k[c+4>>2]|0)+(k[c+8>>2]|0)>>0]=0;k[c+20>>2]=k[c+4>>2];b=k[c+20>>2]|0;r=c;return b|0}if(k[c+4>>2]|0)Si[k[728448>>2]&1023](k[c+4>>2]|0);k[c+20>>2]=0;b=k[c+20>>2]|0;r=c;return b|0}function TBa(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+48|0;k[d+28>>2]=a;k[d+24>>2]=b;k[d+20>>2]=0;k[d+16>>2]=0;k[d+12>>2]=k[d+24>>2];if(!(k[d+28>>2]|0)){bAa(514443);k[d+32>>2]=0;c=k[d+32>>2]|0;r=d;return c|0}if(!(k[d+24>>2]|0)){bAa(514443);k[d+32>>2]=0;c=k[d+32>>2]|0;r=d;return c|0}while(1){b=gob(k[d+12>>2]|0,58)|0;k[d+8>>2]=b;if(k[d+8>>2]|0)i[k[d+8>>2]>>0]=0;b=Fnb(k[d+12>>2]|0)|0;b=b+(Fnb(k[d+28>>2]|0)|0)+2|0;k[d+4>>2]=b;if((k[d+4>>2]|0)>>>0>(k[d+20>>2]|0)>>>0){b=Ri[k[728444>>2]&255](k[d+16>>2]|0,k[d+4>>2]|0,0)|0;k[d>>2]=b;if(!(k[d>>2]|0)){c=9;break}k[d+20>>2]=k[d+4>>2];k[d+16>>2]=k[d>>2]}Pnb(k[d+16>>2]|0,k[d+12>>2]|0)|0;if(!(i[k[d+16>>2]>>0]|0))c=15;else{b=(Fnb(k[d+16>>2]|0)|0)-1|0;if((i[(k[d+16>>2]|0)+b>>0]|0)!=47)c=15}if((c|0)==15){c=0;Zpb(k[d+16>>2]|0,520599)|0}Zpb(k[d+16>>2]|0,k[d+28>>2]|0)|0;if(!(Fob(k[d+16>>2]|0,1)|0)){c=17;break}k[d+12>>2]=(k[d+8>>2]|0)+1;if(!(k[d+8>>2]|0)){c=19;break}}if((c|0)==9){if(k[d+16>>2]|0)Si[k[728448>>2]&1023](k[d+16>>2]|0);bAa(594e3);k[d+32>>2]=0;c=k[d+32>>2]|0;r=d;return c|0}else if((c|0)==17){Pnb(k[d+16>>2]|0,k[d+12>>2]|0)|0;k[d+32>>2]=k[d+16>>2];c=k[d+32>>2]|0;r=d;return c|0}else if((c|0)==19){if(k[d+16>>2]|0)Si[k[728448>>2]&1023](k[d+16>>2]|0);k[d+32>>2]=0;c=k[d+32>>2]|0;r=d;return c|0}return 0}function UBa(a){a=a|0;var b=0,c=0;b=r;r=r+4112|0;k[b+4>>2]=a;k[b>>2]=0;a=_lb()|0;k[a>>2]=0;if(!(Iob(k[b+4>>2]|0,b+16|0)|0)){a=_lb()|0;bAa(Pmb(k[a>>2]|0)|0);k[b+8>>2]=0;a=k[b+8>>2]|0;r=b;return a|0}c=k[182110]|0;a=(Fnb(b+16|0)|0)+1|0;a=gj[c&511](a,0)|0;k[b>>2]=a;if(!(k[b>>2]|0)){bAa(594e3);k[b+8>>2]=0;c=k[b+8>>2]|0;r=b;return c|0}else{Pnb(k[b>>2]|0,b+16|0)|0;k[b+8>>2]=k[b>>2];c=k[b+8>>2]|0;r=b;return c|0}return 0}function VBa(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;r=b;return 0}function WBa(){return Ec()|0}function XBa(){var a=0,b=0;a=r;r=r+16|0;b=gj[k[728440>>2]&511](36,0)|0;k[a>>2]=b;if(!(k[a>>2]|0)){bAa(594e3);k[a+8>>2]=0;b=k[a+8>>2]|0;r=a;return b|0}b=Nc(k[a>>2]|0,0)|0;k[a+4>>2]=b;if(k[a+4>>2]|0){Si[k[728448>>2]&1023](k[a>>2]|0);bAa(Pmb(k[a+4>>2]|0)|0);k[a+8>>2]=0;b=k[a+8>>2]|0;r=a;return b|0}else{k[(k[a>>2]|0)+32>>2]=0;k[(k[a>>2]|0)+28>>2]=-559038737;k[a+8>>2]=k[a>>2];b=k[a+8>>2]|0;r=a;return b|0}return 0}function YBa(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+4>>2]=a;k[b>>2]=k[b+4>>2];a=k[(k[b>>2]|0)+28>>2]|0;if((a|0)==(Ec()|0))if((k[(k[b>>2]|0)+32>>2]|0)>>>0>0)oe(k[b>>2]|0)|0;Ph(k[b>>2]|0)|0;Si[k[728448>>2]&1023](k[b>>2]|0);r=b;return}function ZBa(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+8>>2]=a;k[b+4>>2]=k[b+8>>2];a=Ec()|0;k[b>>2]=a;do if((k[(k[b+4>>2]|0)+28>>2]|0)!=(k[b>>2]|0)){if(!(bc(k[b+4>>2]|0)|0)){k[(k[b+4>>2]|0)+28>>2]=k[b>>2];break}k[b+12>>2]=0;a=k[b+12>>2]|0;r=b;return a|0}while(0);a=(k[b+4>>2]|0)+32|0;k[a>>2]=(k[a>>2]|0)+1;k[b+12>>2]=1;a=k[b+12>>2]|0;r=b;return a|0}function _Ba(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;k[b+4>>2]=a;k[b>>2]=k[b+4>>2];a=k[(k[b>>2]|0)+28>>2]|0;if((a|0)!=(Ec()|0)){r=b;return}c=(k[b>>2]|0)+32|0;a=(k[c>>2]|0)+-1|0;k[c>>2]=a;if(a|0){r=b;return}k[(k[b>>2]|0)+28>>2]=-559038737;oe(k[b>>2]|0)|0;r=b;return}function $Ba(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+4>>2]=a;k[c>>2]=b;b=xBa(k[c+4>>2]|0)|0;r=c;return b|0}function aCa(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+32|0;k[c+20>>2]=a;k[c+16>>2]=b;a=mAa()|0;k[c+12>>2]=a;k[c+8>>2]=0;a=Fnb(k[c+20>>2]|0)|0;k[c+4>>2]=a;a=Fnb(k[c+12>>2]|0)|0;k[c>>2]=a;if(!($Ba(k[c+20>>2]|0,k[c+16>>2]|0)|0)){bAa(514657);k[c+24>>2]=0;a=k[c+24>>2]|0;r=c;return a|0}a=gj[k[728440>>2]&511]((k[c+4>>2]|0)+(k[c>>2]|0)+1|0,0)|0;k[c+8>>2]=a;if(!(k[c+8>>2]|0)){bAa(594e3);k[c+24>>2]=0;a=k[c+24>>2]|0;r=c;return a|0}Pnb(k[c+8>>2]|0,k[c+20>>2]|0)|0;if(Wmb((k[c+20>>2]|0)+(k[c+4>>2]|0)+(0-(k[c>>2]|0))|0,k[c+12>>2]|0)|0)Zpb(k[c+8>>2]|0,k[c+12>>2]|0)|0;k[c+24>>2]=k[c+8>>2];a=k[c+24>>2]|0;r=c;return a|0}function bCa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+32|0;k[g+24>>2]=a;k[g+20>>2]=b;k[g+16>>2]=c;k[g+12>>2]=d;k[g+8>>2]=e;k[g+4>>2]=f;e=yBa(k[g+24>>2]|0,k[g+20>>2]|0,0)|0;k[g>>2]=e;if(!(k[g>>2]|0)){r=g;return}zBa(k[g>>2]|0,k[g+16>>2]|0,k[g+12>>2]|0,k[g+8>>2]|0,k[g+4>>2]|0);Si[k[728448>>2]&1023](k[g>>2]|0);r=g;return}function cCa(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+32|0;k[c+12>>2]=a;k[c+8>>2]=b;a=yBa(k[c+12>>2]|0,k[c+8>>2]|0,0)|0;k[c+4>>2]=a;if(!(k[c+4>>2]|0)){bAa(0);k[c+16>>2]=0;a=k[c+16>>2]|0;r=c;return a|0}else{a=vBa(k[c+4>>2]|0)|0;k[c>>2]=a;Si[k[728448>>2]&1023](k[c+4>>2]|0);k[c+16>>2]=k[c>>2];a=k[c+16>>2]|0;r=c;return a|0}return 0}function dCa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+32|0;k[d+16>>2]=a;k[d+12>>2]=b;k[d+8>>2]=c;a=yBa(k[d+16>>2]|0,k[d+12>>2]|0,0)|0;k[d+4>>2]=a;k[d>>2]=0;if(!(k[d+4>>2]|0)){bAa(0);k[d+20>>2]=0;a=k[d+20>>2]|0;r=d;return a|0}a=vBa(k[d+4>>2]|0)|0;k[k[d+8>>2]>>2]=a;if(k[k[d+8>>2]>>2]|0){a=xBa(k[d+4>>2]|0)|0;k[d>>2]=a}Si[k[728448>>2]&1023](k[d+4>>2]|0);k[d+20>>2]=k[d>>2];a=k[d+20>>2]|0;r=d;return a|0}function eCa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+32|0;k[d+16>>2]=a;k[d+12>>2]=b;k[d+8>>2]=c;a=yBa(k[d+16>>2]|0,k[d+12>>2]|0,0)|0;k[d+4>>2]=a;k[d>>2]=0;if(!(k[d+4>>2]|0)){bAa(0);k[d+20>>2]=0;a=k[d+20>>2]|0;r=d;return a|0}a=vBa(k[d+4>>2]|0)|0;k[k[d+8>>2]>>2]=a;if(k[k[d+8>>2]>>2]|0){a=wBa(k[d+4>>2]|0)|0;k[d>>2]=a}Si[k[728448>>2]&1023](k[d+4>>2]|0);k[d+20>>2]=k[d>>2];a=k[d+20>>2]|0;r=d;return a|0}function fCa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+32|0;k[d+28>>2]=a;k[d+24>>2]=b;k[d+20>>2]=c;a=yBa(k[d+28>>2]|0,k[d+24>>2]|0,0)|0;k[d+16>>2]=a;k[d>>2]=-1;k[d+4>>2]=-1;if(!(k[d+16>>2]|0)){bAa(0);k[d+8>>2]=0;k[d+8+4>>2]=0;b=d+8|0;a=b;a=k[a>>2]|0;b=b+4|0;b=k[b>>2]|0;L=b;r=d;return a|0}a=vBa(k[d+16>>2]|0)|0;k[k[d+20>>2]>>2]=a;if(k[k[d+20>>2]>>2]|0){a=OBa(k[d+16>>2]|0)|0;k[d>>2]=a;k[d+4>>2]=L}Si[k[728448>>2]&1023](k[d+16>>2]|0);b=k[d+4>>2]|0;k[d+8>>2]=k[d>>2];k[d+8+4>>2]=b;b=d+8|0;a=b;a=k[a>>2]|0;b=b+4|0;b=k[b>>2]|0;L=b;r=d;return a|0}function gCa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;k[d+8>>2]=a;k[d+4>>2]=b;k[d>>2]=c;a=hCa(k[d+8>>2]|0,k[d+4>>2]|0,1506,k[d>>2]|0)|0;r=d;return a|0}function hCa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+32|0;k[e+20>>2]=a;k[e+16>>2]=b;k[e+12>>2]=c;k[e+8>>2]=d;c=yBa(k[e+20>>2]|0,k[e+16>>2]|0,0)|0;k[e+4>>2]=c;k[e>>2]=0;if(!(k[e+4>>2]|0)){bAa(0);k[e+24>>2]=0;c=k[e+24>>2]|0;r=e;return c|0}if(k[e+8>>2]|0){c=vBa(k[e+4>>2]|0)|0;k[k[e+8>>2]>>2]=c;if(!(k[k[e+8>>2]>>2]|0)){Si[k[728448>>2]&1023](k[e+4>>2]|0);k[e+24>>2]=0;c=k[e+24>>2]|0;r=e;return c|0}}c=Gi[k[e+12>>2]&2047](k[e+4>>2]|0)|0;k[e>>2]=c;Si[k[728448>>2]&1023](k[e+4>>2]|0);k[e+24>>2]=k[e>>2];c=k[e+24>>2]|0;r=e;return c|0}function iCa(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+4>>2]=a;k[c>>2]=b;a=hCa(k[c+4>>2]|0,k[c>>2]|0,1507,0)|0;r=c;return a|0}function jCa(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+4>>2]=a;k[c>>2]=b;a=hCa(k[c+4>>2]|0,k[c>>2]|0,1508,0)|0;r=c;return a|0}function kCa(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+32|0;k[c+12>>2]=a;k[c+8>>2]=b;a=yBa(k[c+12>>2]|0,k[c+8>>2]|0,0)|0;k[c+4>>2]=a;if(!(k[c+4>>2]|0)){bAa(0);k[c+16>>2]=0;a=k[c+16>>2]|0;r=c;return a|0}else{a=NBa(k[c+4>>2]|0)|0;k[c>>2]=a;Si[k[728448>>2]&1023](k[c+4>>2]|0);k[c+16>>2]=k[c>>2];a=k[c+16>>2]|0;r=c;return a|0}return 0}function lCa(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+32|0;k[c+12>>2]=a;k[c+8>>2]=b;a=yBa(k[c+12>>2]|0,k[c+8>>2]|0,0)|0;k[c+4>>2]=a;if(!(k[c+4>>2]|0)){bAa(0);k[c+16>>2]=0;a=k[c+16>>2]|0;r=c;return a|0}else{a=ABa(k[c+4>>2]|0)|0;k[c>>2]=a;Si[k[728448>>2]&1023](k[c+4>>2]|0);k[c+16>>2]=k[c>>2];a=k[c+16>>2]|0;r=c;return a|0}return 0}function mCa(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;Si[k[728448>>2]&1023](k[b>>2]|0);r=b;return}function nCa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+32|0;k[e+20>>2]=a;k[e+16>>2]=b;k[e+12>>2]=c;k[e+8>>2]=d;a=FBa(k[e+20>>2]|0,k[e+16>>2]|0,k[e+12>>2]|0,k[e+8>>2]|0)|0;k[e>>2]=a;k[e+4>>2]=L;L=k[e+4>>2]|0;r=e;return k[e>>2]|0}function oCa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+32|0;k[e+20>>2]=a;k[e+16>>2]=b;k[e+12>>2]=c;k[e+8>>2]=d;a=GBa(k[e+20>>2]|0,k[e+16>>2]|0,k[e+12>>2]|0,k[e+8>>2]|0)|0;k[e>>2]=a;k[e+4>>2]=L;L=k[e+4>>2]|0;r=e;return k[e>>2]|0}function pCa(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;a=KBa(k[b>>2]|0)|0;r=b;return a|0}function qCa(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;a=IBa(k[b>>2]|0)|0;r=b;return a|0}function rCa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;k[d+8>>2]=a;k[d>>2]=b;k[d+4>>2]=c;a=HBa(k[d+8>>2]|0,k[d>>2]|0,k[d+4>>2]|0)|0;r=d;return a|0}function sCa(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;a=JBa(k[b>>2]|0)|0;r=b;return a|0}function tCa(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;do if(LBa(k[b>>2]|0)|0)if(MBa(k[b>>2]|0)|0){k[b+4>>2]=1;break}else{bAa(0);k[b+4>>2]=0;break}else{bAa(0);k[b+4>>2]=0}while(0);r=b;return k[b+4>>2]|0}function uCa(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+32|0;k[c+16>>2]=a;k[c+12>>2]=b;k[c+4>>2]=0;b=BBa(k[c+16>>2]|0)|0;k[c>>2]=b;if(!(k[c>>2]|0)){bAa(0);k[c+20>>2]=0;b=k[c+20>>2]|0;r=c;return b|0}if(vCa(k[c>>2]|0,c+8|0)|0){k[c+4>>2]=(k[c+8>>2]|0)==67324752&1;if(!(k[c+4>>2]|0)){b=wCa(k[c>>2]|0,0)|0;k[c+4>>2]=((b|0)!=-1|(L|0)!=-1)&1}}MBa(k[c>>2]|0)|0;k[c+20>>2]=k[c+4>>2];b=k[c+20>>2]|0;r=c;return b|0}function vCa(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+8>>2]=a;k[c+4>>2]=b;b=FBa(k[c+8>>2]|0,c,4,1)|0;if((b|0)!=1|(L|0)!=0){bAa(0);k[c+12>>2]=0;b=k[c+12>>2]|0;r=c;return b|0}else{b=qDa(k[c>>2]|0)|0;k[k[c+4>>2]>>2]=b;k[c+12>>2]=1;b=k[c+12>>2]|0;r=c;return b|0}return 0}function wCa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=r;r=r+320|0;k[d+44>>2]=a;k[d+40>>2]=b;i[d+48>>0]=0;i[d+48+1>>0]=0;i[d+48+2>>0]=0;i[d+48+3>>0]=0;k[d+36>>2]=0;k[d+28>>2]=0;k[d+24>>2]=0;b=JBa(k[d+44>>2]|0)|0;k[d+8>>2]=b;k[d+8+4>>2]=L;if((k[d+8>>2]|0)==-1?(k[d+8+4>>2]|0)==-1:0){bAa(0);k[d+16>>2]=0;k[d+16+4>>2]=0;b=d+16|0;c=b;c=k[c>>2]|0;b=b+4|0;b=k[b>>2]|0;L=b;r=d;return c|0}b=k[d+8+4>>2]|0;if((b|0)>0|((b|0)==0?(k[d+8>>2]|0)>>>0>4294967295:0)){bAa(514596);k[d+16>>2]=0;k[d+16+4>>2]=0;b=d+16|0;c=b;c=k[c>>2]|0;b=b+4|0;b=k[b>>2]|0;L=b;r=d;return c|0}b=k[d+8+4>>2]|0;if(0<(b|0)|(0==(b|0)?256<(k[d+8>>2]|0)>>>0:0)){b=EBb(k[d+8>>2]|0,k[d+8+4>>2]|0,256,0)|0;k[d>>2]=b;k[d+4>>2]=L;k[d+32>>2]=256}else{k[d>>2]=0;k[d+4>>2]=0;k[d+32>>2]=k[d+8>>2]}while(1){b=k[d+28>>2]|0;a=k[d+8+4>>2]|0;if(!((((b|0)<0)<<31>>31|0)<(a|0)|((((b|0)<0)<<31>>31|0)==(a|0)?b>>>0<(k[d+8>>2]|0)>>>0:0)?(k[d+28>>2]|0)<65557:0)){c=28;break}if(!(HBa(k[d+44>>2]|0,k[d>>2]|0,k[d+4>>2]|0)|0)){c=10;break}a=k[d+44>>2]|0;b=k[d+32>>2]|0;if(k[d+28>>2]|0){b=FBa(a,d+56|0,b-4|0,1)|0;if((b|0)!=1|(L|0)!=0){c=13;break}b=d+56+((k[d+32>>2]|0)-4)|0;i[b>>0]=i[d+48>>0]|0;i[b+1>>0]=i[d+48+1>>0]|0;i[b+2>>0]=i[d+48+2>>0]|0;i[b+3>>0]=i[d+48+3>>0]|0;k[d+28>>2]=(k[d+28>>2]|0)+((k[d+32>>2]|0)-4)}else{b=FBa(a,d+56|0,b,1)|0;if((b|0)!=1|(L|0)!=0){c=16;break}k[d+28>>2]=(k[d+28>>2]|0)+(k[d+32>>2]|0)};i[d+48>>0]=i[d+56>>0]|0;i[d+48+1>>0]=i[d+56+1>>0]|0;i[d+48+2>>0]=i[d+56+2>>0]|0;i[d+48+3>>0]=i[d+56+3>>0]|0;k[d+36>>2]=(k[d+32>>2]|0)-4;while(1){if((k[d+36>>2]|0)<=0)break;if((l[d+56+((k[d+36>>2]|0)+0)>>0]|0|0)==80)if((l[d+56+((k[d+36>>2]|0)+1)>>0]|0|0)==75)if((l[d+56+((k[d+36>>2]|0)+2)>>0]|0|0)==5)if((l[d+56+((k[d+36>>2]|0)+3)>>0]|0|0)==6){c=24;break}k[d+36>>2]=(k[d+36>>2]|0)+-1}if((c|0)==24){c=0;k[d+24>>2]=1}if(k[d+24>>2]|0){c=28;break}e=(k[d+32>>2]|0)-4|0;e=EBb(k[d>>2]|0,k[d+4>>2]|0,e|0,((e|0)<0)<<31>>31|0)|0;b=L;k[d>>2]=e;k[d+4>>2]=b;a=(k[d+4>>2]|0)<0;k[d>>2]=a?0:e;k[d+4>>2]=a?0:b}if((c|0)==10){bAa(0);k[d+16>>2]=-1;k[d+16+4>>2]=-1;c=d+16|0;e=c;e=k[e>>2]|0;c=c+4|0;c=k[c>>2]|0;L=c;r=d;return e|0}else if((c|0)==13){k[d+16>>2]=-1;k[d+16+4>>2]=-1;c=d+16|0;e=c;e=k[e>>2]|0;c=c+4|0;c=k[c>>2]|0;L=c;r=d;return e|0}else if((c|0)==16){k[d+16>>2]=-1;k[d+16+4>>2]=-1;c=d+16|0;e=c;e=k[e>>2]|0;c=c+4|0;c=k[c>>2]|0;L=c;r=d;return e|0}else if((c|0)==28){if(!(k[d+24>>2]|0)){bAa(514621);k[d+16>>2]=-1;k[d+16+4>>2]=-1;c=d+16|0;e=c;e=k[e>>2]|0;c=c+4|0;c=k[c>>2]|0;L=c;r=d;return e|0}if(k[d+40>>2]|0){c=k[d+8+4>>2]|0;e=k[d+40>>2]|0;k[e>>2]=k[d+8>>2];k[e+4>>2]=c}c=k[d+36>>2]|0;c=xBb(k[d>>2]|0,k[d+4>>2]|0,c|0,((c|0)<0)<<31>>31|0)|0;k[d+16>>2]=c;k[d+16+4>>2]=L;c=d+16|0;e=c;e=k[e>>2]|0;c=c+4|0;c=k[c>>2]|0;L=c;r=d;return e|0}return 0}function xCa(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+32|0;k[c+20>>2]=a;k[c+16>>2]=b;k[c+12>>2]=0;k[c+8>>2]=0;if(k[c+16>>2]|0){bAa(514636);k[c+24>>2]=0;a=k[c+24>>2]|0;r=c;return a|0}a=BBa(k[c+20>>2]|0)|0;k[c+12>>2]=a;if(a|0){a=yCa(k[c+20>>2]|0)|0;k[c+8>>2]=a;if(a|0)if(zCa(k[c+12>>2]|0,k[c+8>>2]|0,c+4|0,c)|0)if(BCa(k[c+12>>2]|0,k[c+8>>2]|0,k[c+4>>2]|0,k[c>>2]|0)|0){MBa(k[c+12>>2]|0)|0;k[c+24>>2]=k[c+8>>2];a=k[c+24>>2]|0;r=c;return a|0}}if(k[c+8>>2]|0){if(k[k[c+8>>2]>>2]|0)Si[k[728448>>2]&1023](k[k[c+8>>2]>>2]|0);Si[k[728448>>2]&1023](k[c+8>>2]|0)}if(k[c+12>>2]|0)MBa(k[c+12>>2]|0)|0;k[c+24>>2]=0;a=k[c+24>>2]|0;r=c;return a|0}function yCa(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;k[b+8>>2]=a;a=gj[k[728440>>2]&511](12,0)|0;k[b>>2]=a;if(!(k[b>>2]|0)){bAa(594e3);k[b+12>>2]=0;a=k[b+12>>2]|0;r=b;return a|0}c=k[b>>2]|0;k[c>>2]=0;k[c+4>>2]=0;k[c+8>>2]=0;c=k[182110]|0;a=(Fnb(k[b+8>>2]|0)|0)+1|0;a=gj[c&511](a,0)|0;k[b+4>>2]=a;if(!(k[b+4>>2]|0)){Si[k[728448>>2]&1023](k[b>>2]|0);bAa(594e3);k[b+12>>2]=0;c=k[b+12>>2]|0;r=b;return c|0}else{k[k[b>>2]>>2]=k[b+4>>2];Pnb(k[k[b>>2]>>2]|0,k[b+8>>2]|0)|0;k[b+12>>2]=k[b>>2];c=k[b+12>>2]|0;r=b;return c|0}return 0}function zCa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+48|0;k[e+32>>2]=a;k[e+28>>2]=b;k[e+24>>2]=c;k[e+20>>2]=d;b=wCa(k[e+32>>2]|0,e+8|0)|0;k[e>>2]=b;k[e+4>>2]=L;do if((k[e>>2]|0)==-1?(k[e+4>>2]|0)==-1:0){bAa(0);k[e+36>>2]=0}else{if(!(HBa(k[e+32>>2]|0,k[e>>2]|0,k[e+4>>2]|0)|0)){bAa(0);k[e+36>>2]=0;break}if(!(vCa(k[e+32>>2]|0,e+16|0)|0)){bAa(0);k[e+36>>2]=0;break}if((k[e+16>>2]|0)!=101010256){bAa(514621);k[e+36>>2]=0;break}if(!(ACa(k[e+32>>2]|0,e+40|0)|0)){bAa(0);k[e+36>>2]=0;break}if(m[e+40>>1]|0|0){bAa(514657);k[e+36>>2]=0;break}if(!(ACa(k[e+32>>2]|0,e+40|0)|0)){bAa(0);k[e+36>>2]=0;break}if(m[e+40>>1]|0|0){bAa(514657);k[e+36>>2]=0;break}if(!(ACa(k[e+32>>2]|0,e+40|0)|0)){bAa(0);k[e+36>>2]=0;break}if(!(ACa(k[e+32>>2]|0,(k[e+28>>2]|0)+4|0)|0)){bAa(0);k[e+36>>2]=0;break}if((m[e+40>>1]|0|0)!=(m[(k[e+28>>2]|0)+4>>1]|0|0)){bAa(514657);k[e+36>>2]=0;break}if(!(vCa(k[e+32>>2]|0,e+16|0)|0)){bAa(0);k[e+36>>2]=0;break}if(!(vCa(k[e+32>>2]|0,k[e+20>>2]|0)|0)){bAa(0);k[e+36>>2]=0;break}b=k[e+4>>2]|0;if((b|0)<0|((b|0)==0?(k[e>>2]|0)>>>0<((k[k[e+20>>2]>>2]|0)+(k[e+16>>2]|0)|0)>>>0:0)){bAa(514657);k[e+36>>2]=0;break}b=EBb(k[e>>2]|0,k[e+4>>2]|0,(k[k[e+20>>2]>>2]|0)+(k[e+16>>2]|0)|0,0)|0;k[k[e+24>>2]>>2]=b;b=k[e+20>>2]|0;k[b>>2]=(k[b>>2]|0)+(k[k[e+24>>2]>>2]|0);if(!(ACa(k[e+32>>2]|0,e+40|0)|0)){bAa(0);k[e+36>>2]=0;break}b=xBb(k[e>>2]|0,k[e+4>>2]|0,22,0)|0;b=xBb(b|0,L|0,m[e+40>>1]|0|0,0)|0;if((b|0)!=(k[e+8>>2]|0)?1:(L|0)!=(k[e+8+4>>2]|0)){bAa(514657);k[e+36>>2]=0;break}else{k[e+36>>2]=1;break}}while(0);r=e;return k[e+36>>2]|0}function ACa(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+4>>2]=a;k[c>>2]=b;b=FBa(k[c+4>>2]|0,c+12|0,2,1)|0;if((b|0)!=1|(L|0)!=0){bAa(0);k[c+8>>2]=0;b=k[c+8>>2]|0;r=c;return b|0}else{b=pDa(j[c+12>>1]|0)|0;j[k[c>>2]>>1]=b;k[c+8>>2]=1;b=k[c+8>>2]|0;r=c;return b|0}return 0}function BCa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+32|0;k[e+20>>2]=a;k[e+16>>2]=b;k[e+12>>2]=c;k[e+8>>2]=d;k[e+4>>2]=m[(k[e+16>>2]|0)+4>>1];if(!(HBa(k[e+20>>2]|0,k[e+8>>2]|0,0)|0)){bAa(0);k[e+24>>2]=0;b=k[e+24>>2]|0;r=e;return b|0}b=gj[k[728440>>2]&511]((k[e+4>>2]|0)*48|0,0)|0;k[(k[e+16>>2]|0)+8>>2]=b;if(!(k[(k[e+16>>2]|0)+8>>2]|0)){bAa(594e3);k[e+24>>2]=0;b=k[e+24>>2]|0;r=e;return b|0}k[e>>2]=0;while(1){if((k[e>>2]|0)>>>0>=(k[e+4>>2]|0)>>>0){d=10;break}if(!(CCa(k[e+20>>2]|0,(k[(k[e+16>>2]|0)+8>>2]|0)+((k[e>>2]|0)*48|0)|0,k[e+12>>2]|0)|0)){d=8;break}k[e>>2]=(k[e>>2]|0)+1}if((d|0)==8){HCa(k[(k[e+16>>2]|0)+8>>2]|0,k[e>>2]|0);k[e+24>>2]=0;b=k[e+24>>2]|0;r=e;return b|0}else if((d|0)==10){_za(k[(k[e+16>>2]|0)+8>>2]|0,k[e+4>>2]|0,125,100);k[e+24>>2]=1;b=k[e+24>>2]|0;r=e;return b|0}return 0}function CCa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+48|0;k[d+24>>2]=a;k[d+20>>2]=b;k[d+16>>2]=c;a:do if(vCa(k[d+24>>2]|0,d+8|0)|0){if((k[d+8>>2]|0)!=33639248){bAa(514682);k[d+28>>2]=0;break}if(!(ACa(k[d+24>>2]|0,(k[d+20>>2]|0)+16|0)|0)){bAa(0);k[d+28>>2]=0;break}if(!(ACa(k[d+24>>2]|0,(k[d+20>>2]|0)+18|0)|0)){bAa(0);k[d+28>>2]=0;break}if(!(ACa(k[d+24>>2]|0,d+32|0)|0)){bAa(0);k[d+28>>2]=0;break}if(!(ACa(k[d+24>>2]|0,(k[d+20>>2]|0)+20|0)|0)){bAa(0);k[d+28>>2]=0;break}if(!(vCa(k[d+24>>2]|0,d+8|0)|0)){bAa(0);k[d+28>>2]=0;break}a=DCa(k[d+8>>2]|0)|0;c=(k[d+20>>2]|0)+40|0;k[c>>2]=a;k[c+4>>2]=L;if(!(vCa(k[d+24>>2]|0,(k[d+20>>2]|0)+24|0)|0)){bAa(0);k[d+28>>2]=0;break}if(!(vCa(k[d+24>>2]|0,(k[d+20>>2]|0)+28|0)|0)){bAa(0);k[d+28>>2]=0;break}if(!(vCa(k[d+24>>2]|0,(k[d+20>>2]|0)+32|0)|0)){bAa(0);k[d+28>>2]=0;break}if(!(ACa(k[d+24>>2]|0,d+38|0)|0)){bAa(0);k[d+28>>2]=0;break}if(!(ACa(k[d+24>>2]|0,d+36|0)|0)){bAa(0);k[d+28>>2]=0;break}if(!(ACa(k[d+24>>2]|0,d+34|0)|0)){bAa(0);k[d+28>>2]=0;break}if(!(ACa(k[d+24>>2]|0,d+32|0)|0)){bAa(0);k[d+28>>2]=0;break}if(!(ACa(k[d+24>>2]|0,d+32|0)|0)){bAa(0);k[d+28>>2]=0;break}if(!(vCa(k[d+24>>2]|0,d+12|0)|0)){bAa(0);k[d+28>>2]=0;break}if(!(vCa(k[d+24>>2]|0,(k[d+20>>2]|0)+12|0)|0)){bAa(0);k[d+28>>2]=0;break}c=(k[d+20>>2]|0)+12|0;k[c>>2]=(k[c>>2]|0)+(k[d+16>>2]|0);k[(k[d+20>>2]|0)+4>>2]=0;c=(ECa(k[d+20>>2]|0,k[d+12>>2]|0)|0)!=0;k[(k[d+20>>2]|0)+8>>2]=c?1:0;c=(m[d+38>>1]|0)+1|0;c=gj[k[728440>>2]&511](c,((c|0)<0)<<31>>31)|0;k[k[d+20>>2]>>2]=c;if(!(k[k[d+20>>2]>>2]|0)){bAa(594e3);k[d+28>>2]=0;break}c=FBa(k[d+24>>2]|0,k[k[d+20>>2]>>2]|0,m[d+38>>1]|0,1)|0;do if(!((c|0)!=1|(L|0)!=0)){i[(k[k[d+20>>2]>>2]|0)+(m[d+38>>1]|0)>>0]=0;GCa(k[d+20>>2]|0,k[k[d+20>>2]>>2]|0);c=IBa(k[d+24>>2]|0)|0;k[d>>2]=c;k[d+4>>2]=L;if((k[d>>2]|0)==-1?(k[d+4>>2]|0)==-1:0)break;a=k[d+24>>2]|0;c=xBb(k[d>>2]|0,k[d+4>>2]|0,m[d+36>>1]|0|0,0)|0;c=xBb(c|0,L|0,m[d+34>>1]|0|0,0)|0;if(!(HBa(a,c,L)|0))break;k[d+28>>2]=1;break a}while(0);Si[k[728448>>2]&1023](k[k[d+20>>2]>>2]|0);k[d+28>>2]=0}else{bAa(0);k[d+28>>2]=0}while(0);r=d;return k[d+28>>2]|0}function DCa(a){a=a|0;var b=0,c=0;c=r;r=r+64|0;k[c+48>>2]=a;a=c;b=a+44|0;do{k[a>>2]=0;a=a+4|0}while((a|0)<(b|0));k[c+44>>2]=(k[c+48>>2]|0)>>>16&65535;k[c+48>>2]=k[c+48>>2]&65535;k[c+20>>2]=((k[c+44>>2]|0)>>>9&127)+80;k[c+16>>2]=((k[c+44>>2]|0)>>>5&15)-1;k[c+12>>2]=k[c+44>>2]&31;k[c+8>>2]=(k[c+48>>2]|0)>>>11&31;k[c+4>>2]=(k[c+48>>2]|0)>>>5&63;k[c>>2]=k[c+48>>2]<<1&62;k[c+32>>2]=-1;b=wd(c|0)|0;L=((b|0)<0)<<31>>31;r=c;return b|0}function ECa(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+4>>2]=a;k[c>>2]=b;j[c+8>>1]=(k[c>>2]|0)>>>16;if(!(FCa(m[(k[c+4>>2]|0)+16>>1]|0)|0)){b=0;b=b&1;r=c;return b|0}if((k[(k[c+4>>2]|0)+32>>2]|0)>>>0<=0){b=0;b=b&1;r=c;return b|0}b=((m[c+8>>1]|0)&61440|0)==40960;b=b&1;r=c;return b|0}function FCa(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+4>>2]=a;k[b>>2]=0;i[b+8>>0]=(k[b+4>>2]|0)>>>8;switch(l[b+8>>0]|0|0){case 18:case 15:case 13:case 14:case 11:case 6:case 4:case 2:case 1:case 0:{a=k[b>>2]|0;r=b;return a|0}default:{}}k[b>>2]=1;a=k[b>>2]|0;r=b;return a|0}function GCa(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+4>>2]=a;k[c>>2]=b;i[c+8>>0]=m[(k[c+4>>2]|0)+16>>1]>>8;if(l[c+8>>0]|0){r=c;return}while(1){if(!(i[k[c>>2]>>0]|0))break;if((i[k[c>>2]>>0]|0)==92)i[k[c>>2]>>0]=47;k[c>>2]=(k[c>>2]|0)+1}r=c;return}function HCa(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+12>>2]=a;k[c+8>>2]=b;k[c+4>>2]=0;while(1){if((k[c+4>>2]|0)>>>0>=(k[c+8>>2]|0)>>>0)break;k[c>>2]=(k[c+12>>2]|0)+((k[c+4>>2]|0)*48|0);if(k[k[c>>2]>>2]|0)Si[k[728448>>2]&1023](k[k[c>>2]>>2]|0);k[c+4>>2]=(k[c+4>>2]|0)+1}Si[k[728448>>2]&1023](k[c+12>>2]|0);r=c;return}function ICa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+32|0;k[d+12>>2]=a;k[d+8>>2]=b;k[d+4>>2]=c;if((k[d+8>>2]|0)!=(k[d+4>>2]|0)){k[d>>2]=k[d+12>>2];c=Wmb(k[(k[d>>2]|0)+((k[d+8>>2]|0)*48|0)>>2]|0,k[(k[d>>2]|0)+((k[d+4>>2]|0)*48|0)>>2]|0)|0;k[d+16>>2]=c;c=k[d+16>>2]|0;r=d;return c|0}else{k[d+16>>2]=0;c=k[d+16>>2]|0;r=d;return c|0}return 0}function JCa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+80|0;k[d+64>>2]=a;k[d+60>>2]=b;k[d+56>>2]=c;if((k[d+60>>2]|0)==(k[d+56>>2]|0)){r=d;return}k[d+52>>2]=(k[d+64>>2]|0)+((k[d+60>>2]|0)*48|0);k[d+48>>2]=(k[d+64>>2]|0)+((k[d+56>>2]|0)*48|0);a=d;b=k[d+52>>2]|0;c=a+48|0;do{k[a>>2]=k[b>>2];a=a+4|0;b=b+4|0}while((a|0)<(c|0));a=k[d+52>>2]|0;b=k[d+48>>2]|0;c=a+48|0;do{k[a>>2]=k[b>>2];a=a+4|0;b=b+4|0}while((a|0)<(c|0));a=k[d+48>>2]|0;b=d;c=a+48|0;do{k[a>>2]=k[b>>2];a=a+4|0;b=b+4|0}while((a|0)<(c|0));r=d;return}function KCa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+64|0;k[g+60>>2]=a;k[g+56>>2]=b;k[g+52>>2]=c;k[g+48>>2]=d;k[g+44>>2]=e;k[g+40>>2]=f;k[g+36>>2]=k[g+60>>2];e=LCa(k[g+36>>2]|0,k[g+56>>2]|0,0)|0;k[g+20>>2]=e;if((k[g+20>>2]|0)==-1){r=g;return}e=Fnb(k[g+56>>2]|0)|0;k[g+32>>2]=e;if((k[g+32>>2]|0)>0)if((i[(k[g+56>>2]|0)+((k[g+32>>2]|0)-1)>>0]|0)==47)k[g+32>>2]=(k[g+32>>2]|0)+-1;k[g+28>>2]=((k[g+32>>2]|0)>0?1:0)+(k[g+32>>2]|0);k[g+24>>2]=m[(k[g+36>>2]|0)+4>>1];a:while(1){if((k[g+20>>2]|0)>=(k[g+24>>2]|0)){f=20;break}k[g+16>>2]=k[(k[(k[g+36>>2]|0)+8>>2]|0)+((k[g+20>>2]|0)*48|0)>>2];if(k[g+32>>2]|0){if(Dmb(k[g+16>>2]|0,k[g+56>>2]|0,k[g+32>>2]|0)|0){f=20;break}if((i[(k[g+16>>2]|0)+(k[g+32>>2]|0)>>0]|0)!=47){f=20;break}}if(k[g+52>>2]|0)if(MCa((k[(k[g+36>>2]|0)+8>>2]|0)+((k[g+20>>2]|0)*48|0)|0)|0){k[g+20>>2]=(k[g+20>>2]|0)+1;continue}k[g+12>>2]=(k[g+16>>2]|0)+(k[g+28>>2]|0);e=gob(k[g+12>>2]|0,47)|0;k[g+8>>2]=e;if(k[g+8>>2]|0)f=(k[g+8>>2]|0)-(k[g+12>>2]|0)|0;else f=Fnb(k[g+12>>2]|0)|0;k[g+4>>2]=f;NCa(k[g+48>>2]|0,k[g+40>>2]|0,k[g+44>>2]|0,k[g+12>>2]|0,k[g+4>>2]|0);k[g+4>>2]=(k[g+4>>2]|0)+(k[g+28>>2]|0);while(1){e=(k[g+20>>2]|0)+1|0;k[g+20>>2]=e;if(!((e|0)<(k[g+24>>2]|0)?(k[g+8>>2]|0)!=0:0))continue a;k[g>>2]=k[(k[(k[g+36>>2]|0)+8>>2]|0)+((k[g+20>>2]|0)*48|0)>>2];if(Dmb(k[g+16>>2]|0,k[g>>2]|0,k[g+4>>2]|0)|0)continue a;if((i[(k[g>>2]|0)+(k[g+4>>2]|0)>>0]|0)!=47)continue a}}if((f|0)==20){r=g;return}}function LCa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+48|0;k[d+36>>2]=a;k[d+32>>2]=b;k[d+28>>2]=c;k[d+24>>2]=0;k[d+20>>2]=(m[(k[d+36>>2]|0)+4>>1]|0)-1;c=Fnb(k[d+32>>2]|0)|0;k[d+12>>2]=c;k[d+8>>2]=-1;if(!(i[k[d+32>>2]>>0]|0)){k[d+40>>2]=0;c=k[d+40>>2]|0;r=d;return c|0}if((k[d+12>>2]|0)>>>0>0)if((i[(k[d+32>>2]|0)+((k[d+12>>2]|0)-1)>>0]|0)==47)k[d+12>>2]=(k[d+12>>2]|0)+-1;a:while(1){if((k[d+24>>2]|0)>(k[d+20>>2]|0)){b=20;break}k[d+16>>2]=(k[d+24>>2]|0)+(((k[d+20>>2]|0)-(k[d+24>>2]|0)|0)/2|0);k[d+4>>2]=k[(k[(k[d+36>>2]|0)+8>>2]|0)+((k[d+16>>2]|0)*48|0)>>2];c=Dmb(k[d+32>>2]|0,k[d+4>>2]|0,k[d+12>>2]|0)|0;k[d>>2]=c;do if(!(k[d>>2]|0)){i[d+44>>0]=i[(k[d+4>>2]|0)+(k[d+12>>2]|0)>>0]|0;if(47<(i[d+44>>0]|0)){k[d>>2]=-1;break}if(47>(i[d+44>>0]|0)){k[d>>2]=1;break}if(k[d+28>>2]|0){b=13;break a}a=k[d+16>>2]|0;if(!(i[(k[d+4>>2]|0)+((k[d+12>>2]|0)+1)>>0]|0)){b=15;break a}k[d+8>>2]=a;k[d+20>>2]=(k[d+16>>2]|0)-1}while(0);a=k[d+16>>2]|0;if((k[d>>2]|0)>0){k[d+24>>2]=a+1;continue}else{k[d+20>>2]=a-1;continue}}if((b|0)==13){k[d+40>>2]=k[d+16>>2];c=k[d+40>>2]|0;r=d;return c|0}else if((b|0)==15){k[d+40>>2]=a+1;c=k[d+40>>2]|0;r=d;return c|0}else if((b|0)==20){k[d+40>>2]=k[d+8>>2];c=k[d+40>>2]|0;r=d;return c|0}return 0}function MCa(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;if((k[(k[b>>2]|0)+8>>2]|0)==1)a=1;else if((k[(k[b>>2]|0)+8>>2]|0)==5)a=1;else a=(k[(k[b>>2]|0)+4>>2]|0)!=0;r=b;return a&1|0}function NCa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=r;r=r+32|0;k[f+20>>2]=a;k[f+16>>2]=b;k[f+12>>2]=c;k[f+8>>2]=d;k[f+4>>2]=e;if(((k[f+4>>2]|0)+1|0)<128){b=r;r=r+((1*((k[f+4>>2]|0)+1+1|0)|0)+15&-16)|0}else b=0;d=(k[f+4>>2]|0)+1|0;d=uAa(b,d,((d|0)<0)<<31>>31)|0;k[f>>2]=d;if(!(k[f>>2]|0)){r=f;return}ABb(k[f>>2]|0,k[f+8>>2]|0,k[f+4>>2]|0)|0;i[(k[f>>2]|0)+(k[f+4>>2]|0)>>0]=0;kj[k[f+20>>2]&255](k[f+16>>2]|0,k[f+12>>2]|0,k[f>>2]|0);zAa(k[f>>2]|0);r=f;return}function OCa(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+32|0;k[c+16>>2]=a;k[c+12>>2]=b;k[c+4>>2]=k[c+16>>2];a=PCa(k[c+4>>2]|0,k[c+12>>2]|0,c+8|0)|0;k[c>>2]=a;r=c;return (k[c>>2]|0?1:(k[c+8>>2]|0)!=0)&1|0}function PCa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+48|0;k[e+40>>2]=a;k[e+36>>2]=b;k[e+32>>2]=c;k[e+28>>2]=k[(k[e+40>>2]|0)+8>>2];b=Fnb(k[e+36>>2]|0)|0;k[e+24>>2]=b;k[e+20>>2]=0;k[e+16>>2]=(m[(k[e+40>>2]|0)+4>>1]|0)-1;k[e+8>>2]=0;while(1){if((k[e+20>>2]|0)>(k[e+16>>2]|0))break;k[e+12>>2]=(k[e+20>>2]|0)+(((k[e+16>>2]|0)-(k[e+20>>2]|0)|0)/2|0);k[e+8>>2]=k[(k[e+28>>2]|0)+((k[e+12>>2]|0)*48|0)>>2];b=Dmb(k[e+36>>2]|0,k[e+8>>2]|0,k[e+24>>2]|0)|0;k[e+4>>2]=b;if((k[e+4>>2]|0)>0){k[e+20>>2]=(k[e+12>>2]|0)+1;continue}if((k[e+4>>2]|0)>=0){d=7;break}k[e+16>>2]=(k[e+12>>2]|0)-1}a:do if((d|0)==7){if(k[e+32>>2]|0){k[k[e+32>>2]>>2]=(i[(k[e+8>>2]|0)+(k[e+24>>2]|0)>>0]|0)==47&1;if(k[k[e+32>>2]>>2]|0){k[e+44>>2]=0;d=k[e+44>>2]|0;r=e;return d|0}}if(!(i[(k[e+8>>2]|0)+(k[e+24>>2]|0)>>0]|0)){k[e+44>>2]=(k[e+28>>2]|0)+((k[e+12>>2]|0)*48|0);d=k[e+44>>2]|0;r=e;return d|0}k[e>>2]=k[e+20>>2];while(1){if((k[e>>2]|0)>=(k[e+16>>2]|0))break a;k[e+8>>2]=k[(k[e+28>>2]|0)+((k[e>>2]|0)*48|0)>>2];if(!(Dmb(k[e+36>>2]|0,k[e+8>>2]|0,k[e+24>>2]|0)|0)){if(k[e+32>>2]|0){k[k[e+32>>2]>>2]=(i[(k[e+8>>2]|0)+(k[e+24>>2]|0)>>0]|0)==47&1;if(k[k[e+32>>2]>>2]|0){d=17;break}}if(!(i[(k[e+8>>2]|0)+(k[e+24>>2]|0)>>0]|0)){d=19;break}}k[e>>2]=(k[e>>2]|0)+1}if((d|0)==17){k[e+44>>2]=0;d=k[e+44>>2]|0;r=e;return d|0}else if((d|0)==19){k[e+44>>2]=(k[e+28>>2]|0)+((k[e>>2]|0)*48|0);d=k[e+44>>2]|0;r=e;return d|0}}while(0);if(k[e+32>>2]|0)k[k[e+32>>2]>>2]=0;bAa(514700);k[e+44>>2]=0;d=k[e+44>>2]|0;r=e;return d|0}function QCa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+48|0;k[d+28>>2]=a;k[d+24>>2]=b;k[d+20>>2]=c;k[d+16>>2]=k[d+28>>2];a=PCa(k[d+16>>2]|0,k[d+24>>2]|0,d+12|0)|0;k[d+8>>2]=a;k[k[d+20>>2]>>2]=(k[d+12>>2]|0?1:(k[d+8>>2]|0)!=0)&1;if(k[d+12>>2]|0){k[d+32>>2]=1;a=k[d+32>>2]|0;r=d;return a|0}if(!(k[d+8>>2]|0)){bAa(514700);k[d+32>>2]=0;a=k[d+32>>2]|0;r=d;return a|0}if((k[(k[d+8>>2]|0)+8>>2]|0)==1){a=BBa(k[k[d+16>>2]>>2]|0)|0;k[d>>2]=a;if(!(k[d>>2]|0)){bAa(0);k[d+32>>2]=0;a=k[d+32>>2]|0;r=d;return a|0}a=RCa(k[d>>2]|0,k[d+16>>2]|0,k[d+8>>2]|0)|0;k[d+4>>2]=a;MBa(k[d>>2]|0)|0;if(!(k[d+4>>2]|0)){k[d+32>>2]=0;a=k[d+32>>2]|0;r=d;return a|0}}if((k[(k[d+8>>2]|0)+8>>2]|0)==5){bAa(0);k[d+32>>2]=0;a=k[d+32>>2]|0;r=d;return a|0}if(!(k[(k[d+8>>2]|0)+4>>2]|0)){bAa(514784);k[d+32>>2]=0;a=k[d+32>>2]|0;r=d;return a|0}else{a=(LCa(k[d+16>>2]|0,k[k[(k[d+8>>2]|0)+4>>2]>>2]|0,1)|0)>=0&1;k[d+32>>2]=a;a=k[d+32>>2]|0;r=d;return a|0}return 0}function RCa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+32|0;k[d+16>>2]=a;k[d+12>>2]=b;k[d+8>>2]=c;k[d+4>>2]=1;k[d>>2]=k[(k[d+8>>2]|0)+8>>2];if((k[d>>2]|0)==4){bAa(514682);k[d+20>>2]=0;b=k[d+20>>2]|0;r=d;return b|0}if((k[d>>2]|0)==5){bAa(514682);k[d+20>>2]=0;b=k[d+20>>2]|0;r=d;return b|0}if((k[d>>2]|0)==2){bAa(514715);k[d+20>>2]=0;b=k[d+20>>2]|0;r=d;return b|0}do if((k[d>>2]|0)!=3){k[(k[d+8>>2]|0)+8>>2]=2;b=SCa(k[d+16>>2]|0,k[d+8>>2]|0)|0;k[d+4>>2]=b;if((k[d+4>>2]|0)!=0&(k[d>>2]|0)==1){b=TCa(k[d+16>>2]|0,k[d+12>>2]|0,k[d+8>>2]|0)|0;k[d+4>>2]=b}if((k[d>>2]|0)==1){k[(k[d+8>>2]|0)+8>>2]=k[d+4>>2]|0?3:5;break}if(!(k[d>>2]|0))k[(k[d+8>>2]|0)+8>>2]=k[d+4>>2]|0?3:4}while(0);k[d+20>>2]=k[d+4>>2];b=k[d+20>>2]|0;r=d;return b|0}function SCa(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+32|0;k[c+8>>2]=a;k[c+4>>2]=b;do if(HBa(k[c+8>>2]|0,k[(k[c+4>>2]|0)+12>>2]|0,0)|0){if(!(vCa(k[c+8>>2]|0,c)|0)){bAa(0);k[c+12>>2]=0;break}if((k[c>>2]|0)!=67324752){bAa(514682);k[c+12>>2]=0;break}if(!(ACa(k[c+8>>2]|0,c+20|0)|0)){bAa(0);k[c+12>>2]=0;break}if((m[c+20>>1]|0|0)!=(m[(k[c+4>>2]|0)+18>>1]|0|0)){bAa(514682);k[c+12>>2]=0;break}if(!(ACa(k[c+8>>2]|0,c+20|0)|0)){bAa(0);k[c+12>>2]=0;break}if(!(ACa(k[c+8>>2]|0,c+20|0)|0)){bAa(0);k[c+12>>2]=0;break}if((m[c+20>>1]|0|0)!=(m[(k[c+4>>2]|0)+20>>1]|0|0)){bAa(514682);k[c+12>>2]=0;break}if(!(vCa(k[c+8>>2]|0,c)|0)){bAa(0);k[c+12>>2]=0;break}if(!(vCa(k[c+8>>2]|0,c)|0)){bAa(0);k[c+12>>2]=0;break}if(k[c>>2]|0)if((k[c>>2]|0)!=(k[(k[c+4>>2]|0)+24>>2]|0)){bAa(514682);k[c+12>>2]=0;break}if(!(vCa(k[c+8>>2]|0,c)|0)){bAa(0);k[c+12>>2]=0;break}if(k[c>>2]|0)if((k[c>>2]|0)!=(k[(k[c+4>>2]|0)+28>>2]|0)){bAa(514682);k[c+12>>2]=0;break}if(!(vCa(k[c+8>>2]|0,c)|0)){bAa(0);k[c+12>>2]=0;break}if(k[c>>2]|0)if((k[c>>2]|0)!=(k[(k[c+4>>2]|0)+32>>2]|0)){bAa(514682);k[c+12>>2]=0;break}if(!(ACa(k[c+8>>2]|0,c+18|0)|0)){bAa(0);k[c+12>>2]=0;break}if(ACa(k[c+8>>2]|0,c+16|0)|0){a=(k[c+4>>2]|0)+12|0;k[a>>2]=(k[a>>2]|0)+((m[c+18>>1]|0)+(m[c+16>>1]|0)+30);k[c+12>>2]=1;break}else{bAa(0);k[c+12>>2]=0;break}}else{bAa(0);k[c+12>>2]=0}while(0);r=c;return k[c+12>>2]|0}function TCa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+96|0;k[d+84>>2]=a;k[d+80>>2]=b;k[d+76>>2]=c;k[d+68>>2]=k[(k[d+76>>2]|0)+32>>2];k[d+64>>2]=0;if(!(HBa(k[d+84>>2]|0,k[(k[d+76>>2]|0)+12>>2]|0,0)|0)){bAa(0);k[d+88>>2]=0;b=k[d+88>>2]|0;r=d;return b|0}b=gj[k[728440>>2]&511]((k[d+68>>2]|0)+1|0,0)|0;k[d+72>>2]=b;if(!(k[d+72>>2]|0)){bAa(594e3);k[d+88>>2]=0;b=k[d+88>>2]|0;r=d;return b|0}if(!(m[(k[d+76>>2]|0)+20>>1]|0)){b=FBa(k[d+84>>2]|0,k[d+72>>2]|0,k[d+68>>2]|0,1)|0;k[d+64>>2]=(b|0)==1&(L|0)==0&1}else{k[d+4>>2]=k[(k[d+76>>2]|0)+28>>2];if((k[d+4>>2]|0)>>>0<128){c=r;r=r+((1*((k[d+4>>2]|0)+1|0)|0)+15&-16)|0}else c=0;b=uAa(c,k[d+4>>2]|0,0)|0;k[d>>2]=b;if(k[d>>2]|0){b=FBa(k[d+84>>2]|0,k[d>>2]|0,k[d+4>>2]|0,1)|0;if((b|0)==1&(L|0)==0){UCa(d+8|0);k[d+8>>2]=k[d>>2];k[d+8+4>>2]=k[d+4>>2];k[d+8+12>>2]=k[d+72>>2];k[d+8+16>>2]=k[d+68>>2];if(!(XCa(Clb(d+8|0,-15,610873,56)|0)|0)){b=XCa(Elb(d+8|0,4)|0)|0;k[d+64>>2]=b;Glb(d+8|0)|0;k[d+64>>2]=((k[d+64>>2]|0)==0?1:(k[d+64>>2]|0)==1)&1}}zAa(k[d>>2]|0)}}if(k[d+64>>2]|0){i[(k[d+72>>2]|0)+(k[(k[d+76>>2]|0)+32>>2]|0)>>0]=0;GCa(k[d+76>>2]|0,k[d+72>>2]|0);b=ZCa(k[d+84>>2]|0,k[d+80>>2]|0,k[d+72>>2]|0)|0;k[(k[d+76>>2]|0)+4>>2]=b}else Si[k[728448>>2]&1023](k[d+72>>2]|0);k[d+88>>2]=(k[(k[d+76>>2]|0)+4>>2]|0)!=0&1;b=k[d+88>>2]|0;r=d;return b|0}function UCa(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;k[c>>2]=a;a=k[c>>2]|0;b=a+56|0;do{k[a>>2]=0;a=a+4|0}while((a|0)<(b|0));k[(k[c>>2]|0)+32>>2]=126;k[(k[c>>2]|0)+36>>2]=212;k[(k[c>>2]|0)+40>>2]=728432;r=c;return}function VCa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;k[d+8>>2]=a;k[d+4>>2]=b;k[d>>2]=c;c=ha(k[d+4>>2]|0,k[d>>2]|0)|0;c=gj[k[(k[d+8>>2]|0)+8>>2]&511](c,0)|0;r=d;return c|0}function WCa(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+4>>2]=a;k[c>>2]=b;Si[k[(k[c+4>>2]|0)+16>>2]&1023](k[c>>2]|0);r=c;return}function XCa(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+4>>2]=a;a=YCa(k[b+4>>2]|0)|0;k[b>>2]=a;if(!(k[b>>2]|0)){a=k[b+4>>2]|0;r=b;return a|0}bAa(k[b>>2]|0);a=k[b+4>>2]|0;r=b;return a|0}function YCa(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;switch(k[b>>2]|0){case 0:{k[b+4>>2]=0;break}case 1:{k[b+4>>2]=0;break}case -1:{a=_lb()|0;a=Pmb(k[a>>2]|0)|0;k[b+4>>2]=a;break}case 2:{k[b+4>>2]=610879;break}case -3:{k[b+4>>2]=610930;break}case -4:{k[b+4>>2]=514743;break}case -5:{k[b+4>>2]=610961;break}case -6:{k[b+4>>2]=514756;break}default:k[b+4>>2]=514770}r=b;return k[b+4>>2]|0}function ZCa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;k[d+12>>2]=a;k[d+8>>2]=b;k[d+4>>2]=c;_Ca(k[d+4>>2]|0);c=PCa(k[d+8>>2]|0,k[d+4>>2]|0,0)|0;k[d>>2]=c;do if(k[d>>2]|0){if(!(RCa(k[d+12>>2]|0,k[d+8>>2]|0,k[d>>2]|0)|0)){k[d>>2]=0;break}if(k[(k[d>>2]|0)+4>>2]|0)k[d>>2]=k[(k[d>>2]|0)+4>>2]}while(0);Si[k[728448>>2]&1023](k[d+4>>2]|0);r=d;return k[d>>2]|0}function _Ca(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;k[c+8>>2]=a;k[c+4>>2]=k[c+8>>2];k[c>>2]=k[c+8>>2];while(1){b=gob(k[c+4>>2]|0,47)|0;k[c+4>>2]=b;if(!(k[c+4>>2]|0))break;a=k[c+4>>2]|0;if((i[(k[c+4>>2]|0)+1>>0]|0)!=46){k[c>>2]=a;k[c+4>>2]=(k[c+4>>2]|0)+1;continue}b=k[c+4>>2]|0;if((i[a+2>>0]|0)==47){a=(k[c+4>>2]|0)+2|0;BBb(b|0,a|0,(Fnb((k[c+4>>2]|0)+2|0)|0)+1|0)|0;continue}a=k[c+4>>2]|0;if(!(i[b+2>>0]|0)){i[a>>0]=0;continue}if((i[a+2>>0]|0)!=46)continue;a:do if((i[(k[c+4>>2]|0)+3>>0]|0)==47){a=k[c>>2]|0;b=(k[c+4>>2]|0)+4|0;BBb(a|0,b|0,(Fnb((k[c+4>>2]|0)+4|0)|0)+1|0)|0;k[c+4>>2]=k[c>>2];do{if((k[c>>2]|0)==(k[c+8>>2]|0))break a;k[c>>2]=(k[c>>2]|0)+-1}while((i[k[c>>2]>>0]|0)!=47);k[c>>2]=(k[c>>2]|0)+1}while(0);if(i[(k[c+4>>2]|0)+3>>0]|0)continue;i[k[c>>2]>>0]=0}r=c;return}function $Ca(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+32|0;k[d+16>>2]=a;k[d+12>>2]=b;k[d+8>>2]=c;a=PCa(k[d+16>>2]|0,k[d+12>>2]|0,d+4|0)|0;k[d>>2]=a;k[k[d+8>>2]>>2]=(k[d+4>>2]|0?1:(k[d>>2]|0)!=0)&1;if(!(k[d>>2]|0)){bAa(0);k[d+20>>2]=0;a=k[d+20>>2]|0;r=d;return a|0}else{a=MCa(k[d>>2]|0)|0;k[d+20>>2]=a;a=k[d+20>>2]|0;r=d;return a|0}return 0}function aDa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+32|0;k[d+28>>2]=a;k[d+24>>2]=b;k[d+20>>2]=c;k[d+12>>2]=k[d+28>>2];a=PCa(k[d+12>>2]|0,k[d+24>>2]|0,d+16|0)|0;k[d+8>>2]=a;k[k[d+20>>2]>>2]=(k[d+16>>2]|0?1:(k[d+8>>2]|0)!=0)&1;do if(k[d+16>>2]|0){k[d>>2]=1;k[d+4>>2]=0}else if(!(k[d+8>>2]|0)){bAa(0);k[d>>2]=-1;k[d+4>>2]=-1;break}else{b=(k[d+8>>2]|0)+40|0;a=k[b+4>>2]|0;k[d>>2]=k[b>>2];k[d+4>>2]=a;break}while(0);L=k[d+4>>2]|0;r=d;return k[d>>2]|0}function bDa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+32|0;k[d+24>>2]=a;k[d+20>>2]=b;k[d+16>>2]=c;k[d+12>>2]=k[d+24>>2];a=PCa(k[d+12>>2]|0,k[d+20>>2]|0,0)|0;k[d+8>>2]=a;k[d+4>>2]=0;k[k[d+16>>2]>>2]=(k[d+8>>2]|0)!=0&1;if(!(k[d+8>>2]|0)){bAa(0);k[d+28>>2]=0;a=k[d+28>>2]|0;r=d;return a|0}a=cDa(k[k[d+12>>2]>>2]|0,k[d+12>>2]|0,k[d+8>>2]|0)|0;k[d>>2]=a;if(!(k[d>>2]|0)){bAa(0);k[d+28>>2]=0;a=k[d+28>>2]|0;r=d;return a|0}a=gj[k[728440>>2]&511](76,0)|0;k[d+4>>2]=a;if(!(k[d+4>>2]|0)){MBa(k[d>>2]|0)|0;bAa(594e3);k[d+28>>2]=0;a=k[d+28>>2]|0;r=d;return a|0}c=k[d+4>>2]|0;b=c+76|0;do{k[c>>2]=0;c=c+4|0}while((c|0)<(b|0));k[(k[d+4>>2]|0)+4>>2]=k[d>>2];c=k[d+8>>2]|0;if(k[(k[d+8>>2]|0)+4>>2]|0)c=k[c+4>>2]|0;k[k[d+4>>2]>>2]=c;UCa((k[d+4>>2]|0)+20|0);if(m[(k[k[d+4>>2]>>2]|0)+20>>1]|0|0){if(XCa(Clb((k[d+4>>2]|0)+20|0,-15,610873,56)|0)|0){dDa(k[d+4>>2]|0)|0;k[d+28>>2]=0;a=k[d+28>>2]|0;r=d;return a|0}a=gj[k[728440>>2]&511](16384,0)|0;k[(k[d+4>>2]|0)+16>>2]=a;if(!(k[(k[d+4>>2]|0)+16>>2]|0)){dDa(k[d+4>>2]|0)|0;bAa(594e3);k[d+28>>2]=0;a=k[d+28>>2]|0;r=d;return a|0}}k[d+28>>2]=k[d+4>>2];a=k[d+28>>2]|0;r=d;return a|0}function cDa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+32|0;k[d+24>>2]=a;k[d+20>>2]=b;k[d+16>>2]=c;b=BBa(k[d+24>>2]|0)|0;k[d+8>>2]=b;if(!(k[d+8>>2]|0)){bAa(0);k[d+28>>2]=0;b=k[d+28>>2]|0;r=d;return b|0}b=RCa(k[d+8>>2]|0,k[d+20>>2]|0,k[d+16>>2]|0)|0;k[d+12>>2]=b;if(k[d+12>>2]|0){c=k[d+16>>2]|0;if(k[(k[d+16>>2]|0)+4>>2]|0)c=k[(k[c+4>>2]|0)+12>>2]|0;else c=k[c+12>>2]|0;k[d>>2]=c;k[d+4>>2]=0;b=HBa(k[d+8>>2]|0,k[d>>2]|0,k[d+4>>2]|0)|0;k[d+12>>2]=b}if(!(k[d+12>>2]|0)){MBa(k[d+8>>2]|0)|0;k[d+8>>2]=0}k[d+28>>2]=k[d+8>>2];b=k[d+28>>2]|0;r=d;return b|0}function dDa(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+4>>2]=a;k[b>>2]=k[b+4>>2];if(!(MBa(k[(k[b>>2]|0)+4>>2]|0)|0)){bAa(0);k[b+8>>2]=0;a=k[b+8>>2]|0;r=b;return a|0}if(m[(k[k[b>>2]>>2]|0)+20>>1]|0|0)Glb((k[b>>2]|0)+20|0)|0;if(k[(k[b>>2]|0)+16>>2]|0)Si[k[728448>>2]&1023](k[(k[b>>2]|0)+16>>2]|0);Si[k[728448>>2]&1023](k[b>>2]|0);k[b+8>>2]=1;a=k[b+8>>2]|0;r=b;return a|0}function eDa(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+4>>2]=a;k[c>>2]=b;bAa(514800);r=c;return 0}function fDa(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+4>>2]=a;k[c>>2]=b;bAa(514800);r=c;return 0}function gDa(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+4>>2]=a;k[c>>2]=b;bAa(514800);r=c;return 0}function hDa(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+4>>2]=a;k[c>>2]=b;bAa(514800);r=c;return 0}function iDa(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+4>>2]=a;k[b>>2]=k[b+4>>2];HCa(k[(k[b>>2]|0)+8>>2]|0,m[(k[b>>2]|0)+4>>1]|0);Si[k[728448>>2]&1023](k[k[b>>2]>>2]|0);Si[k[728448>>2]&1023](k[b>>2]|0);r=b;return}function jDa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+80|0;k[e+68>>2]=a;k[e+64>>2]=b;k[e+60>>2]=c;k[e+56>>2]=d;k[e+52>>2]=k[e+68>>2];k[e+48>>2]=k[k[e+52>>2]>>2];k[e+24>>2]=0;k[e+24+4>>2]=0;a=KBb(k[e+60>>2]|0,0,k[e+56>>2]|0,0)|0;k[e+16>>2]=a;k[e+16+4>>2]=L;k[e+8>>2]=(k[(k[e+48>>2]|0)+32>>2]|0)-(k[(k[e+52>>2]|0)+12>>2]|0);k[e+8+4>>2]=0;if((k[e+16>>2]|0)==0?(k[e+16+4>>2]|0)==0:0){bAa(0);k[e+32>>2]=0;k[e+32+4>>2]=0;c=e+32|0;a=c;a=k[a>>2]|0;c=c+4|0;c=k[c>>2]|0;L=c;r=e;return a|0}c=k[e+8+4>>2]|0;a=k[e+16+4>>2]|0;if((c|0)<(a|0)|((c|0)==(a|0)?(k[e+8>>2]|0)>>>0<(k[e+16>>2]|0)>>>0:0)){d=k[e+8>>2]|0;c=k[e+8+4>>2]|0;a=JBb(k[e+8>>2]|0,k[e+8+4>>2]|0,k[e+60>>2]|0,0)|0;a=EBb(d|0,c|0,a|0,L|0)|0;k[e+16>>2]=a;k[e+16+4>>2]=L;a=IBb(k[e+16>>2]|0,k[e+16+4>>2]|0,k[e+60>>2]|0,0)|0;k[e+56>>2]=a;a=(k[e+56>>2]|0)==0;bAa(514824);if(a){k[e+32>>2]=0;k[e+32+4>>2]=0;c=e+32|0;a=c;a=k[a>>2]|0;c=c+4|0;c=k[c>>2]|0;L=c;r=e;return a|0}}if(!(m[(k[e+48>>2]|0)+20>>1]|0)){a=FBa(k[(k[e+52>>2]|0)+4>>2]|0,k[e+64>>2]|0,k[e+60>>2]|0,k[e+56>>2]|0)|0;k[e+24>>2]=a;k[e+24+4>>2]=L}else{k[(k[e+52>>2]|0)+20+12>>2]=k[e+64>>2];a=ha(k[e+60>>2]|0,k[e+56>>2]|0)|0;k[(k[e+52>>2]|0)+20+16>>2]=a;do{c=k[e+24+4>>2]|0;a=k[e+16+4>>2]|0;if(!((c|0)<(a|0)|((c|0)==(a|0)?(k[e+24>>2]|0)>>>0<(k[e+16>>2]|0)>>>0:0)))break;k[e+44>>2]=k[(k[e+52>>2]|0)+20+20>>2];if(!(k[(k[e+52>>2]|0)+20+4>>2]|0)){k[e>>2]=(k[(k[e+48>>2]|0)+28>>2]|0)-(k[(k[e+52>>2]|0)+8>>2]|0);k[e+4>>2]=0;a=k[e+4>>2]|0;if((a|0)>0|(a|0)==0&(k[e>>2]|0)>>>0>0){a=k[e+4>>2]|0;if((a|0)>0|(a|0)==0&(k[e>>2]|0)>>>0>16384){k[e>>2]=16384;k[e+4>>2]=0}a=FBa(k[(k[e+52>>2]|0)+4>>2]|0,k[(k[e+52>>2]|0)+16>>2]|0,1,k[e>>2]|0)|0;k[e>>2]=a;k[e+4>>2]=L;a=k[e+4>>2]|0;if((a|0)<0|(a|0)==0&(k[e>>2]|0)>>>0<=0)break;a=(k[e+52>>2]|0)+8|0;k[a>>2]=(k[a>>2]|0)+(k[e>>2]|0);k[(k[e+52>>2]|0)+20>>2]=k[(k[e+52>>2]|0)+16>>2];k[(k[e+52>>2]|0)+20+4>>2]=k[e>>2]}}a=XCa(Elb((k[e+52>>2]|0)+20|0,2)|0)|0;k[e+40>>2]=a;a=xBb(k[e+24>>2]|0,k[e+24+4>>2]|0,(k[(k[e+52>>2]|0)+20+20>>2]|0)-(k[e+44>>2]|0)|0,0)|0;k[e+24>>2]=a;k[e+24+4>>2]=L}while(!(k[e+40>>2]|0));a=IBb(k[e+24>>2]|0,k[e+24+4>>2]|0,k[e+60>>2]|0,0)|0;k[e+24>>2]=a;k[e+24+4>>2]=L}a=k[e+24+4>>2]|0;if((a|0)>0|(a|0)==0&(k[e+24>>2]|0)>>>0>0){c=KBb(k[e+24>>2]|0,k[e+24+4>>2]|0,k[e+60>>2]|0,0)|0;a=(k[e+52>>2]|0)+12|0;k[a>>2]=(k[a>>2]|0)+c}c=k[e+24+4>>2]|0;k[e+32>>2]=k[e+24>>2];k[e+32+4>>2]=c;c=e+32|0;a=c;a=k[a>>2]|0;c=c+4|0;c=k[c>>2]|0;L=c;r=e;return a|0}function kDa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+16|0;k[e+12>>2]=a;k[e+8>>2]=b;k[e+4>>2]=c;k[e>>2]=d;bAa(514800);L=-1;r=e;return -1}function lDa(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+4>>2]=a;k[b>>2]=k[b+4>>2];r=b;return (k[(k[b>>2]|0)+12>>2]|0)>>>0>=(k[(k[k[b>>2]>>2]|0)+32>>2]|0)>>>0|0}function mDa(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;L=0;r=b;return k[(k[b>>2]|0)+12>>2]|0}function nDa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+624|0;k[d+92>>2]=a;k[d+8>>2]=b;k[d+8+4>>2]=c;k[d+88>>2]=k[d+92>>2];k[d+84>>2]=k[k[d+88>>2]>>2];k[d+80>>2]=k[(k[d+88>>2]|0)+4>>2];a=k[d+8+4>>2]|0;if(a>>>0>0|((a|0)==0?(k[d+8>>2]|0)>>>0>(k[(k[d+84>>2]|0)+32>>2]|0)>>>0:0)){bAa(514824);k[d+96>>2]=0;a=k[d+96>>2]|0;r=d;return a|0}b=k[d+8>>2]|0;c=k[d+8+4>>2]|0;a:do if(!(m[(k[d+84>>2]|0)+20>>1]|0)){a=xBb(b|0,c|0,k[(k[d+84>>2]|0)+12>>2]|0,0)|0;k[d>>2]=a;k[d+4>>2]=L;if(HBa(k[d+80>>2]|0,k[d>>2]|0,k[d+4>>2]|0)|0){k[(k[d+88>>2]|0)+12>>2]=k[d+8>>2];break}bAa(0);k[d+96>>2]=0;a=k[d+96>>2]|0;r=d;return a|0}else{do if(c>>>0<0|((c|0)==0?b>>>0<(k[(k[d+88>>2]|0)+12>>2]|0)>>>0:0)){UCa(d+24|0);if(XCa(Clb(d+24|0,-15,610873,56)|0)|0){k[d+96>>2]=0;a=k[d+96>>2]|0;r=d;return a|0}if(HBa(k[d+80>>2]|0,k[(k[d+84>>2]|0)+12>>2]|0,0)|0){Glb((k[d+88>>2]|0)+20|0)|0;b=(k[d+88>>2]|0)+20|0;c=d+24|0;a=b+56|0;do{k[b>>2]=k[c>>2];b=b+4|0;c=c+4|0}while((b|0)<(a|0));k[(k[d+88>>2]|0)+8>>2]=0;k[(k[d+88>>2]|0)+12>>2]=0;break}k[d+96>>2]=0;a=k[d+96>>2]|0;r=d;return a|0}while(0);do{if(!(0!=(k[d+8+4>>2]|0)?1:(k[(k[d+88>>2]|0)+12>>2]|0)!=(k[d+8>>2]|0)))break a;a=EBb(k[d+8>>2]|0,k[d+8+4>>2]|0,k[(k[d+88>>2]|0)+12>>2]|0,0)|0;k[d+16>>2]=a;k[d+16>>2]=(k[d+16>>2]|0)>>>0>512?512:a;a=jDa(k[d+88>>2]|0,d+104|0,k[d+16>>2]|0,1)|0}while(!((a|0)!=1|(L|0)!=0));k[d+96>>2]=0;a=k[d+96>>2]|0;r=d;return a|0}while(0);k[d+96>>2]=1;a=k[d+96>>2]|0;r=d;return a|0}function oDa(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+4>>2]=a;k[b>>2]=k[b+4>>2];L=0;r=b;return k[(k[k[b>>2]>>2]|0)+32>>2]|0}function pDa(a){a=a|0;var b=0;b=r;r=r+16|0;j[b>>1]=a;r=b;return j[b>>1]|0}function qDa(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;r=b;return k[b>>2]|0}function rDa(a,b){a=a|0;b=b|0;var c=0,d=0;c=k[a+8>>2]|0;d=k[b+4>>2]|0;k[c>>2]=k[b>>2];k[c+4>>2]=d;k[c+8>>2]=k[b+8>>2];k[a+8>>2]=(k[a+8>>2]|0)+16;return}function sDa(a,b){a=a|0;b=b|0;var c=0;if((b|0)>8e3){b=0;return b|0}c=k[a+8>>2]|0;if(((c-(k[a+12>>2]|0)>>4)+b|0)>8e3){b=0;return b|0}if((b|0)<=0){b=1;return b|0}if(((k[a+28>>2]|0)-c|0)<=(b<<4|0)){YEa(a,b);c=k[a+8>>2]|0}a=(k[a+20>>2]|0)+8|0;c=c+(b<<4)|0;if((k[a>>2]|0)>>>0>=c>>>0){b=1;return b|0}k[a>>2]=c;b=1;return b|0}function tDa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;if((a|0)==(b|0))return;d=k[a+8>>2]|0;k[a+8>>2]=d+(0-c<<4);if((c|0)<=0)return;e=k[b+8>>2]|0;k[b+8>>2]=e+16;f=k[d+(0-c<<4)+4>>2]|0;k[e>>2]=k[d+(0-c<<4)>>2];k[e+4>>2]=f;k[e+8>>2]=k[d+(0-c<<4)+8>>2];if((c|0)==1)return;else d=1;do{e=k[a+8>>2]|0;f=k[b+8>>2]|0;k[b+8>>2]=f+16;h=e+(d<<4)|0;g=k[h+4>>2]|0;k[f>>2]=k[h>>2];k[f+4>>2]=g;k[f+8>>2]=k[e+(d<<4)+8>>2];d=d+1|0}while((d|0)!=(c|0));return}function uDa(a,b){a=a|0;b=b|0;j[b+52>>1]=j[a+52>>1]|0;return}function vDa(a,b){a=a|0;b=b|0;var c=0;c=(k[a+16>>2]|0)+88|0;a=k[c>>2]|0;k[c>>2]=b;return a|0}function wDa(a){a=a|0;var b=0,c=0;b=k[a+16>>2]|0;if((k[b+68>>2]|0)>>>0>=(k[b+64>>2]|0)>>>0)yFa(a);b=lGa(a)|0;c=k[a+8>>2]|0;k[c>>2]=b;k[c+8>>2]=8;k[a+8>>2]=(k[a+8>>2]|0)+16;return b|0}function xDa(a){a=a|0;return (k[a+8>>2]|0)-(k[a+12>>2]|0)>>4|0}function yDa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if((b|0)<=-1){k[a+8>>2]=(k[a+8>>2]|0)+(b+1<<4);return}e=k[a+8>>2]|0;d=(k[a+12>>2]|0)+(b<<4)|0;if(e>>>0>>0){b=(((d>>>0>(e+16|0)>>>0?d:e+16|0)+~e|0)>>>4)+1|0;c=e;do{k[c+8>>2]=0;c=c+16|0}while(c>>>0>>0);k[a+8>>2]=e+(b<<4)}k[a+8>>2]=d;return}function zDa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:do if((b|0)>0){b=(k[a+12>>2]|0)+(b+-1<<4)|0;b=b>>>0<(k[a+8>>2]|0)>>>0?b:621288}else{if((b|0)>-1e4){b=(k[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{b=(k[a+16>>2]|0)+96|0;break a}case -10001:{k[a+88>>2]=k[(k[k[(k[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];k[a+96>>2]=5;b=a+88|0;break a}case -10002:{b=a+72|0;break a}default:{d=k[k[(k[a+20>>2]|0)+4>>2]>>2]|0;b=(-10002-b|0)>(l[d+7>>0]|0|0)?621288:d+24+(-10002-b+-1<<4)|0;break a}}}while(0);c=b+16|0;d=k[a+8>>2]|0;if(c>>>0>=d>>>0){d=d+-16|0;k[a+8>>2]=d;return}while(1){f=c;e=k[f+4>>2]|0;d=b;k[d>>2]=k[f>>2];k[d+4>>2]=e;k[b+8>>2]=k[b+24>>2];d=c+16|0;b=k[a+8>>2]|0;if(d>>>0>>0){b=c;c=d}else break}f=b+-16|0;k[a+8>>2]=f;return}function ADa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:do if((b|0)>0){c=(k[a+12>>2]|0)+(b+-1<<4)|0;c=c>>>0<(k[a+8>>2]|0)>>>0?c:621288}else{if((b|0)>-1e4){c=(k[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{c=(k[a+16>>2]|0)+96|0;break a}case -10001:{k[a+88>>2]=k[(k[k[(k[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];k[a+96>>2]=5;c=a+88|0;break a}case -10002:{c=a+72|0;break a}default:{c=k[k[(k[a+20>>2]|0)+4>>2]>>2]|0;c=(-10002-b|0)>(l[c+7>>0]|0|0)?621288:c+24+(-10002-b+-1<<4)|0;break a}}}while(0);b=k[a+8>>2]|0;if(b>>>0<=c>>>0){d=b;f=d;f=k[f>>2]|0;d=d+4|0;d=k[d>>2]|0;a=c;e=a;k[e>>2]=f;a=a+4|0;k[a>>2]=d;b=b+8|0;b=k[b>>2]|0;a=c+8|0;k[a>>2]=b;return}do{f=b;b=b+-16|0;d=b;e=k[d+4>>2]|0;k[f>>2]=k[d>>2];k[f+4>>2]=e;k[f+8>>2]=k[f+-8>>2]}while(b>>>0>c>>>0);e=k[a+8>>2]|0;d=e;b=d;b=k[b>>2]|0;d=d+4|0;d=k[d>>2]|0;f=c;a=f;k[a>>2]=b;f=f+4|0;k[f>>2]=d;e=e+8|0;e=k[e>>2]|0;f=c+8|0;k[f>>2]=e;return}function BDa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;e=r;r=r+16|0;a:do if((b|0)==-10001)if((k[a+20>>2]|0)==(k[a+40>>2]|0)){PEa(a,514841,e);c=a+20|0;d=13}else{c=a+20|0;d=13}else{b:do if((b|0)>0){c=(k[a+12>>2]|0)+(b+-1<<4)|0;c=c>>>0<(k[a+8>>2]|0)>>>0?c:621288}else{if((b|0)>-1e4){c=(k[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{c=(k[a+16>>2]|0)+96|0;break b}case -10001:{c=a+20|0;d=13;break a}case -10002:{c=a+72|0;break b}default:{c=k[k[(k[a+20>>2]|0)+4>>2]>>2]|0;c=(-10002-b|0)>(l[c+7>>0]|0|0)?621288:c+24+(-10002-b+-1<<4)|0;break b}}}while(0);f=k[a+8>>2]|0;h=k[f+-16+4>>2]|0;g=c;k[g>>2]=k[f+-16>>2];k[g+4>>2]=h;k[c+8>>2]=k[f+-8>>2];if((b|0)<-10002){c=k[a+8>>2]|0;if((k[c+-8>>2]|0)>3){c=k[c+-16>>2]|0;if(!(i[c+5>>0]&3))c=a+8|0;else{b=k[k[(k[a+20>>2]|0)+4>>2]>>2]|0;if(!(i[b+5>>0]&4))c=a+8|0;else{FFa(a,b,c);c=a+8|0}}}else c=a+8|0}else c=a+8|0}while(0);if((d|0)==13){b=(k[c>>2]|0)+4|0;k[a+88>>2]=k[(k[k[b>>2]>>2]|0)+12>>2];k[a+96>>2]=5;b=k[k[b>>2]>>2]|0;c=k[a+8>>2]|0;k[b+12>>2]=k[c+-16>>2];if((k[c+-8>>2]|0)>3){c=k[c+-16>>2]|0;if(!(i[c+5>>0]&3))c=a+8|0;else if(!(i[b+5>>0]&4))c=a+8|0;else{FFa(a,b,c);c=a+8|0}}else c=a+8|0}k[c>>2]=(k[c>>2]|0)+-16;r=e;return}function CDa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:do if((b|0)>0){b=(k[a+12>>2]|0)+(b+-1<<4)|0;b=b>>>0<(k[a+8>>2]|0)>>>0?b:621288}else{if((b|0)>-1e4){b=(k[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{b=(k[a+16>>2]|0)+96|0;break a}case -10001:{k[a+88>>2]=k[(k[k[(k[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];k[a+96>>2]=5;b=a+88|0;break a}case -10002:{b=a+72|0;break a}default:{c=k[k[(k[a+20>>2]|0)+4>>2]>>2]|0;b=(-10002-b|0)>(l[c+7>>0]|0|0)?621288:c+24+(-10002-b+-1<<4)|0;break a}}}while(0);c=k[a+8>>2]|0;e=b;d=k[e+4>>2]|0;k[c>>2]=k[e>>2];k[c+4>>2]=d;k[c+8>>2]=k[b+8>>2];k[a+8>>2]=(k[a+8>>2]|0)+16;return}function DDa(a,b){a=a|0;b=b|0;var c=0;a:do if((b|0)>0){c=(k[a+12>>2]|0)+(b+-1<<4)|0;if(c>>>0>=(k[a+8>>2]|0)>>>0){b=-1;return b|0}}else{if((b|0)>-1e4){c=(k[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{c=(k[a+16>>2]|0)+96|0;break a}case -10001:{k[a+88>>2]=k[(k[k[(k[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];k[a+96>>2]=5;c=a+88|0;break a}case -10002:{c=a+72|0;break a}default:{c=k[k[(k[a+20>>2]|0)+4>>2]>>2]|0;if((-10002-b|0)>(l[c+7>>0]|0|0))c=-1;else{c=c+24+(-10002-b+-1<<4)|0;break a}return c|0}}}while(0);if((c|0)==621288){b=-1;return b|0}b=k[c+8>>2]|0;return b|0}function EDa(a,b){a=a|0;b=b|0;if((b|0)==-1){b=520093;return b|0}b=k[37412+(b<<2)>>2]|0;return b|0}function FDa(a,b){a=a|0;b=b|0;a:do if((b|0)>0){b=(k[a+12>>2]|0)+(b+-1<<4)|0;a=b>>>0<(k[a+8>>2]|0)>>>0?b:621288}else{if((b|0)>-1e4){a=(k[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{a=(k[a+16>>2]|0)+96|0;break a}case -10001:{k[a+88>>2]=k[(k[k[(k[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];k[a+96>>2]=5;a=a+88|0;break a}case -10002:{a=a+72|0;break a}default:{a=k[k[(k[a+20>>2]|0)+4>>2]>>2]|0;a=(-10002-b|0)>(l[a+7>>0]|0)?621288:a+24+(-10002-b+-1<<4)|0;break a}}}while(0);if((k[a+8>>2]|0)!=6){b=0;b=b&1;return b|0}b=(i[(k[a>>2]|0)+6>>0]|0)!=0;b=b&1;return b|0}function GDa(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;a:do if((b|0)>0){b=(k[a+12>>2]|0)+(b+-1<<4)|0;a=b>>>0<(k[a+8>>2]|0)>>>0?b:621288}else{if((b|0)>-1e4){a=(k[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{a=(k[a+16>>2]|0)+96|0;break a}case -10001:{k[a+88>>2]=k[(k[k[(k[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];k[a+96>>2]=5;a=a+88|0;break a}case -10002:{a=a+72|0;break a}default:{a=k[k[(k[a+20>>2]|0)+4>>2]>>2]|0;a=(-10002-b|0)>(l[a+7>>0]|0|0)?621288:a+24+(-10002-b+-1<<4)|0;break a}}}while(0);if((k[a+8>>2]|0)==3){b=1;b=b&1;r=c;return b|0}b=(OGa(a,c)|0)!=0;b=b&1;r=c;return b|0}function HDa(a,b){a=a|0;b=b|0;var c=0;a:do if((b|0)>0){c=(k[a+12>>2]|0)+(b+-1<<4)|0;if(c>>>0>=(k[a+8>>2]|0)>>>0){b=0;b=b&1;return b|0}}else{if((b|0)>-1e4){c=(k[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{c=(k[a+16>>2]|0)+96|0;break a}case -10001:{k[a+88>>2]=k[(k[k[(k[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];k[a+96>>2]=5;c=a+88|0;break a}case -10002:{c=a+72|0;break a}default:{c=k[k[(k[a+20>>2]|0)+4>>2]>>2]|0;if((-10002-b|0)>(l[c+7>>0]|0|0))c=0;else{c=c+24+(-10002-b+-1<<4)|0;break a}b=c&1;return b|0}}}while(0);if((c|0)==621288){b=0;b=b&1;return b|0}b=((k[c+8>>2]|0)+-3|0)>>>0<2;b=b&1;return b|0}function IDa(a,b){a=a|0;b=b|0;a:do if((b|0)>0){b=(k[a+12>>2]|0)+(b+-1<<4)|0;a=b>>>0<(k[a+8>>2]|0)>>>0?b:621288}else{if((b|0)>-1e4){a=(k[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{a=(k[a+16>>2]|0)+96|0;break a}case -10001:{k[a+88>>2]=k[(k[k[(k[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];k[a+96>>2]=5;a=a+88|0;break a}case -10002:{a=a+72|0;break a}default:{a=k[k[(k[a+20>>2]|0)+4>>2]>>2]|0;a=(-10002-b|0)>(l[a+7>>0]|0|0)?621288:a+24+(-10002-b+-1<<4)|0;break a}}}while(0);b=k[a+8>>2]|0;return ((b|0)==7|(b|0)==2)&1|0}function JDa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:do if((b|0)>0){d=(k[a+12>>2]|0)+(b+-1<<4)|0;d=d>>>0<(k[a+8>>2]|0)>>>0?d:621288}else{if((b|0)>-1e4){d=(k[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{d=(k[a+16>>2]|0)+96|0;break a}case -10001:{k[a+88>>2]=k[(k[k[(k[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];k[a+96>>2]=5;d=a+88|0;break a}case -10002:{d=a+72|0;break a}default:{d=k[k[(k[a+20>>2]|0)+4>>2]>>2]|0;d=(-10002-b|0)>(l[d+7>>0]|0|0)?621288:d+24+(-10002-b+-1<<4)|0;break a}}}while(0);b:do if((c|0)>0){b=(k[a+12>>2]|0)+(c+-1<<4)|0;b=b>>>0<(k[a+8>>2]|0)>>>0?b:621288}else{if((c|0)>-1e4){b=(k[a+8>>2]|0)+(c<<4)|0;break}switch(c|0){case -1e4:{b=(k[a+16>>2]|0)+96|0;break b}case -10001:{k[a+88>>2]=k[(k[k[(k[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];k[a+96>>2]=5;b=a+88|0;break b}case -10002:{b=a+72|0;break b}default:{b=k[k[(k[a+20>>2]|0)+4>>2]>>2]|0;b=(-10002-c|0)>(l[b+7>>0]|0|0)?621288:b+24+(-10002-c+-1<<4)|0;break b}}}while(0);if((d|0)==621288|(b|0)==621288){c=0;return c|0}c=PFa(d,b)|0;return c|0}function KDa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:do if((b|0)>0){d=(k[a+12>>2]|0)+(b+-1<<4)|0;d=d>>>0<(k[a+8>>2]|0)>>>0?d:621288}else{if((b|0)>-1e4){d=(k[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{d=(k[a+16>>2]|0)+96|0;break a}case -10001:{k[a+88>>2]=k[(k[k[(k[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];k[a+96>>2]=5;d=a+88|0;break a}case -10002:{d=a+72|0;break a}default:{d=k[k[(k[a+20>>2]|0)+4>>2]>>2]|0;d=(-10002-b|0)>(l[d+7>>0]|0|0)?621288:d+24+(-10002-b+-1<<4)|0;break a}}}while(0);b:do if((c|0)>0){b=(k[a+12>>2]|0)+(c+-1<<4)|0;b=b>>>0<(k[a+8>>2]|0)>>>0?b:621288}else{if((c|0)>-1e4){b=(k[a+8>>2]|0)+(c<<4)|0;break}switch(c|0){case -1e4:{b=(k[a+16>>2]|0)+96|0;break b}case -10001:{k[a+88>>2]=k[(k[k[(k[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];k[a+96>>2]=5;b=a+88|0;break b}case -10002:{b=a+72|0;break b}default:{b=k[k[(k[a+20>>2]|0)+4>>2]>>2]|0;b=(-10002-c|0)>(l[b+7>>0]|0|0)?621288:b+24+(-10002-c+-1<<4)|0;break b}}}while(0);if((d|0)==621288|(b|0)==621288){a=0;return a|0}a=SGa(a,d,b)|0;return a|0}function LDa(a,b){a=a|0;b=b|0;var c=0,d=0.0;c=r;r=r+16|0;a:do if((b|0)>0){b=(k[a+12>>2]|0)+(b+-1<<4)|0;a=b>>>0<(k[a+8>>2]|0)>>>0?b:621288}else{if((b|0)>-1e4){a=(k[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{a=(k[a+16>>2]|0)+96|0;break a}case -10001:{k[a+88>>2]=k[(k[k[(k[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];k[a+96>>2]=5;a=a+88|0;break a}case -10002:{a=a+72|0;break a}default:{a=k[k[(k[a+20>>2]|0)+4>>2]>>2]|0;a=(-10002-b|0)>(l[a+7>>0]|0|0)?621288:a+24+(-10002-b+-1<<4)|0;break a}}}while(0);if((k[a+8>>2]|0)!=3){a=OGa(a,c)|0;if(!a){d=0.0;r=c;return +d}}d=+p[a>>3];r=c;return +d}function MDa(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;a:do if((b|0)>0){b=(k[a+12>>2]|0)+(b+-1<<4)|0;a=b>>>0<(k[a+8>>2]|0)>>>0?b:621288}else{if((b|0)>-1e4){a=(k[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{a=(k[a+16>>2]|0)+96|0;break a}case -10001:{k[a+88>>2]=k[(k[k[(k[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];k[a+96>>2]=5;a=a+88|0;break a}case -10002:{a=a+72|0;break a}default:{a=k[k[(k[a+20>>2]|0)+4>>2]>>2]|0;a=(-10002-b|0)>(l[a+7>>0]|0|0)?621288:a+24+(-10002-b+-1<<4)|0;break a}}}while(0);if((k[a+8>>2]|0)!=3){a=OGa(a,c)|0;if(!a){b=0;r=c;return b|0}}b=~~+p[a>>3];r=c;return b|0}function NDa(a,b){a=a|0;b=b|0;a:do if((b|0)>0){b=(k[a+12>>2]|0)+(b+-1<<4)|0;a=b>>>0<(k[a+8>>2]|0)>>>0?b:621288}else{if((b|0)>-1e4){a=(k[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{a=(k[a+16>>2]|0)+96|0;break a}case -10001:{k[a+88>>2]=k[(k[k[(k[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];k[a+96>>2]=5;a=a+88|0;break a}case -10002:{a=a+72|0;break a}default:{a=k[k[(k[a+20>>2]|0)+4>>2]>>2]|0;a=(-10002-b|0)>(l[a+7>>0]|0|0)?621288:a+24+(-10002-b+-1<<4)|0;break a}}}while(0);b=k[a+8>>2]|0;if(!b){b=0;b=b&1;return b|0}if((b|0)!=1){b=1;b=b&1;return b|0}b=(k[a>>2]|0)!=0;b=b&1;return b|0}function ODa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:do if((b|0)>0){d=(k[a+12>>2]|0)+(b+-1<<4)|0;d=d>>>0<(k[a+8>>2]|0)>>>0?d:621288}else{if((b|0)>-1e4){d=(k[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{d=(k[a+16>>2]|0)+96|0;break a}case -10001:{k[a+88>>2]=k[(k[k[(k[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];k[a+96>>2]=5;d=a+88|0;break a}case -10002:{d=a+72|0;break a}default:{d=k[k[(k[a+20>>2]|0)+4>>2]>>2]|0;d=(-10002-b|0)>(l[d+7>>0]|0|0)?621288:d+24+(-10002-b+-1<<4)|0;break a}}}while(0);b:do if((k[d+8>>2]|0)!=4){if(!(PGa(a,d)|0)){if(!c){c=0;return c|0}k[c>>2]=0;c=0;return c|0}d=k[a+16>>2]|0;if((k[d+68>>2]|0)>>>0>=(k[d+64>>2]|0)>>>0)yFa(a);if((b|0)>0){d=(k[a+12>>2]|0)+(b+-1<<4)|0;d=d>>>0<(k[a+8>>2]|0)>>>0?d:621288;break}if((b|0)>-1e4){d=(k[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{d=(k[a+16>>2]|0)+96|0;break b}case -10001:{k[a+88>>2]=k[(k[k[(k[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];k[a+96>>2]=5;d=a+88|0;break b}case -10002:{d=a+72|0;break b}default:{d=k[k[(k[a+20>>2]|0)+4>>2]>>2]|0;d=(-10002-b|0)>(l[d+7>>0]|0|0)?621288:d+24+(-10002-b+-1<<4)|0;break b}}}while(0);if(!c)d=k[d>>2]|0;else{d=k[d>>2]|0;k[c>>2]=k[d+12>>2]}c=d+16|0;return c|0}function PDa(a,b){a=a|0;b=b|0;var c=0;a:do if((b|0)>0){b=(k[a+12>>2]|0)+(b+-1<<4)|0;b=b>>>0<(k[a+8>>2]|0)>>>0?b:621288}else{if((b|0)>-1e4){b=(k[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{b=(k[a+16>>2]|0)+96|0;break a}case -10001:{k[a+88>>2]=k[(k[k[(k[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];k[a+96>>2]=5;b=a+88|0;break a}case -10002:{b=a+72|0;break a}default:{c=k[k[(k[a+20>>2]|0)+4>>2]>>2]|0;b=(-10002-b|0)>(l[c+7>>0]|0|0)?621288:c+24+(-10002-b+-1<<4)|0;break a}}}while(0);switch(k[b+8>>2]|0){case 4:{c=k[(k[b>>2]|0)+12>>2]|0;return c|0}case 7:{c=k[(k[b>>2]|0)+16>>2]|0;return c|0}case 5:{c=HGa(k[b>>2]|0)|0;return c|0}case 3:{if(!(PGa(a,b)|0)){c=0;return c|0}c=k[(k[b>>2]|0)+12>>2]|0;return c|0}default:{c=0;return c|0}}return 0}function QDa(a,b){a=a|0;b=b|0;a:do if((b|0)>0){b=(k[a+12>>2]|0)+(b+-1<<4)|0;a=b>>>0<(k[a+8>>2]|0)>>>0?b:621288}else{if((b|0)>-1e4){a=(k[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{a=(k[a+16>>2]|0)+96|0;break a}case -10001:{k[a+88>>2]=k[(k[k[(k[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];k[a+96>>2]=5;a=a+88|0;break a}case -10002:{a=a+72|0;break a}default:{a=k[k[(k[a+20>>2]|0)+4>>2]>>2]|0;a=(-10002-b|0)>(l[a+7>>0]|0)?621288:a+24+(-10002-b+-1<<4)|0;break a}}}while(0);if((k[a+8>>2]|0)!=6){b=0;return b|0}a=k[a>>2]|0;if(!(i[a+6>>0]|0)){b=0;return b|0}b=k[a+16>>2]|0;return b|0}function RDa(a,b){a=a|0;b=b|0;a:do if((b|0)>0){b=(k[a+12>>2]|0)+(b+-1<<4)|0;a=b>>>0<(k[a+8>>2]|0)>>>0?b:621288}else{if((b|0)>-1e4){a=(k[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{a=(k[a+16>>2]|0)+96|0;break a}case -10001:{k[a+88>>2]=k[(k[k[(k[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];k[a+96>>2]=5;a=a+88|0;break a}case -10002:{a=a+72|0;break a}default:{a=k[k[(k[a+20>>2]|0)+4>>2]>>2]|0;a=(-10002-b|0)>(l[a+7>>0]|0|0)?621288:a+24+(-10002-b+-1<<4)|0;break a}}}while(0);switch(k[a+8>>2]|0){case 7:{b=(k[a>>2]|0)+24|0;return b|0}case 2:{b=k[a>>2]|0;return b|0}default:{b=0;return b|0}}return 0}function SDa(a,b){a=a|0;b=b|0;a:do if((b|0)>0){b=(k[a+12>>2]|0)+(b+-1<<4)|0;a=b>>>0<(k[a+8>>2]|0)>>>0?b:621288}else{if((b|0)>-1e4){a=(k[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{a=(k[a+16>>2]|0)+96|0;break a}case -10001:{k[a+88>>2]=k[(k[k[(k[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];k[a+96>>2]=5;a=a+88|0;break a}case -10002:{a=a+72|0;break a}default:{a=k[k[(k[a+20>>2]|0)+4>>2]>>2]|0;a=(-10002-b|0)>(l[a+7>>0]|0|0)?621288:a+24+(-10002-b+-1<<4)|0;break a}}}while(0);if((k[a+8>>2]|0)!=8){b=0;return b|0}b=k[a>>2]|0;return b|0}function TDa(a,b){a=a|0;b=b|0;var c=0;a:do if((b|0)>0){c=(k[a+12>>2]|0)+(b+-1<<4)|0;c=c>>>0<(k[a+8>>2]|0)>>>0?c:621288}else{if((b|0)>-1e4){c=(k[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{c=(k[a+16>>2]|0)+96|0;break a}case -10001:{k[a+88>>2]=k[(k[k[(k[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];k[a+96>>2]=5;c=a+88|0;break a}case -10002:{c=a+72|0;break a}default:{c=k[k[(k[a+20>>2]|0)+4>>2]>>2]|0;c=(-10002-b|0)>(l[c+7>>0]|0|0)?621288:c+24+(-10002-b+-1<<4)|0;break a}}}while(0);switch(k[c+8>>2]|0){case 5:{b=k[c>>2]|0;return b|0}case 6:{b=k[c>>2]|0;return b|0}case 8:{b=k[c>>2]|0;return b|0}case 2:case 7:{b:do if((b|0)>0){c=(k[a+12>>2]|0)+(b+-1<<4)|0;c=c>>>0<(k[a+8>>2]|0)>>>0?c:621288}else{if((b|0)>-1e4){c=(k[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{c=(k[a+16>>2]|0)+96|0;break b}case -10001:{k[a+88>>2]=k[(k[k[(k[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];k[a+96>>2]=5;c=a+88|0;break b}case -10002:{c=a+72|0;break b}default:{c=k[k[(k[a+20>>2]|0)+4>>2]>>2]|0;c=(-10002-b|0)>(l[c+7>>0]|0|0)?621288:c+24+(-10002-b+-1<<4)|0;break b}}}while(0);switch(k[c+8>>2]|0){case 7:{b=(k[c>>2]|0)+24|0;return b|0}case 2:{b=k[c>>2]|0;return b|0}default:{b=0;return b|0}}}default:{b=0;return b|0}}return 0}function UDa(a){a=a|0;var b=0;b=k[a+8>>2]|0;k[b+8>>2]=0;k[a+8>>2]=b+16;return}function VDa(a,b){a=a|0;b=+b;var c=0;c=k[a+8>>2]|0;p[c>>3]=b;k[c+8>>2]=3;k[a+8>>2]=c+16;return}function WDa(a,b){a=a|0;b=b|0;var c=0;c=k[a+8>>2]|0;p[c>>3]=+(b|0);k[c+8>>2]=3;k[a+8>>2]=c+16;return}function XDa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=k[a+16>>2]|0;if((k[d+68>>2]|0)>>>0>=(k[d+64>>2]|0)>>>0)yFa(a);d=k[a+8>>2]|0;b=sGa(a,b,c)|0;k[d>>2]=b;k[d+8>>2]=4;k[a+8>>2]=(k[a+8>>2]|0)+16;return}function YDa(a,b){a=a|0;b=b|0;var c=0,d=0;if(!b){b=k[a+8>>2]|0;k[b+8>>2]=0;k[a+8>>2]=b+16;return}c=Fnb(b)|0;d=k[a+16>>2]|0;if((k[d+68>>2]|0)>>>0>=(k[d+64>>2]|0)>>>0)yFa(a);d=k[a+8>>2]|0;b=sGa(a,b,c)|0;k[d>>2]=b;k[d+8>>2]=4;k[a+8>>2]=(k[a+8>>2]|0)+16;return}function ZDa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=k[a+16>>2]|0;if((k[d+68>>2]|0)>>>0>=(k[d+64>>2]|0)>>>0)yFa(a);return RFa(a,b,c)|0}function _Da(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=r;r=r+16|0;e=k[a+16>>2]|0;if((k[e+68>>2]|0)>>>0>=(k[e+64>>2]|0)>>>0)yFa(a);k[d>>2]=c;e=RFa(a,b,d)|0;r=d;return e|0}function $Da(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=k[a+16>>2]|0;if((k[e+68>>2]|0)>>>0>=(k[e+64>>2]|0)>>>0)yFa(a);d=k[a+20>>2]|0;if((d|0)==(k[a+40>>2]|0))d=a+72|0;else d=(k[k[d+4>>2]>>2]|0)+12|0;e=jFa(a,c,k[d>>2]|0)|0;k[e+16>>2]=b;d=(k[a+8>>2]|0)+(0-c<<4)|0;k[a+8>>2]=d;if(!c){b=d;k[b>>2]=e;e=b+8|0;k[e>>2]=6;e=k[a+8>>2]|0;e=e+16|0;k[a+8>>2]=e;return}do{c=c+-1|0;g=d+(c<<4)|0;f=k[g+4>>2]|0;b=e+24+(c<<4)|0;k[b>>2]=k[g>>2];k[b+4>>2]=f;k[e+24+(c<<4)+8>>2]=k[d+(c<<4)+8>>2];d=k[a+8>>2]|0}while((c|0)!=0);k[d>>2]=e;g=d+8|0;k[g>>2]=6;g=k[a+8>>2]|0;g=g+16|0;k[a+8>>2]=g;return}function aEa(a,b){a=a|0;b=b|0;var c=0;c=k[a+8>>2]|0;k[c>>2]=(b|0)!=0&1;k[c+8>>2]=1;k[a+8>>2]=c+16;return}function bEa(a,b){a=a|0;b=b|0;var c=0;c=k[a+8>>2]|0;k[c>>2]=b;k[c+8>>2]=2;k[a+8>>2]=(k[a+8>>2]|0)+16;return}function cEa(a){a=a|0;var b=0;b=k[a+8>>2]|0;k[b>>2]=a;k[b+8>>2]=8;k[a+8>>2]=(k[a+8>>2]|0)+16;return (k[(k[a+16>>2]|0)+112>>2]|0)==(a|0)|0}function dEa(a,b){a=a|0;b=b|0;var c=0;a:do if((b|0)>0){b=(k[a+12>>2]|0)+(b+-1<<4)|0;b=b>>>0<(k[a+8>>2]|0)>>>0?b:621288}else{if((b|0)>-1e4){b=(k[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{b=(k[a+16>>2]|0)+96|0;break a}case -10001:{k[a+88>>2]=k[(k[k[(k[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];k[a+96>>2]=5;b=a+88|0;break a}case -10002:{b=a+72|0;break a}default:{c=k[k[(k[a+20>>2]|0)+4>>2]>>2]|0;b=(-10002-b|0)>(l[c+7>>0]|0|0)?621288:c+24+(-10002-b+-1<<4)|0;break a}}}while(0);c=(k[a+8>>2]|0)+-16|0;QGa(a,b,c,c);return}function eEa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=r;r=r+16|0;a:do if((b|0)>0){b=(k[a+12>>2]|0)+(b+-1<<4)|0;b=b>>>0<(k[a+8>>2]|0)>>>0?b:621288}else{if((b|0)>-1e4){b=(k[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{b=(k[a+16>>2]|0)+96|0;break a}case -10001:{k[a+88>>2]=k[(k[k[(k[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];k[a+96>>2]=5;b=a+88|0;break a}case -10002:{b=a+72|0;break a}default:{e=k[k[(k[a+20>>2]|0)+4>>2]>>2]|0;b=(-10002-b|0)>(l[e+7>>0]|0|0)?621288:e+24+(-10002-b+-1<<4)|0;break a}}}while(0);e=sGa(a,c,Fnb(c)|0)|0;k[d>>2]=e;k[d+8>>2]=4;QGa(a,b,d,k[a+8>>2]|0);k[a+8>>2]=(k[a+8>>2]|0)+16;r=d;return}function fEa(a,b){a=a|0;b=b|0;var c=0;a:do if((b|0)>0){b=(k[a+12>>2]|0)+(b+-1<<4)|0;b=b>>>0<(k[a+8>>2]|0)>>>0?b:621288}else{if((b|0)>-1e4){b=(k[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{b=(k[a+16>>2]|0)+96|0;break a}case -10001:{k[a+88>>2]=k[(k[k[(k[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];k[a+96>>2]=5;b=a+88|0;break a}case -10002:{b=a+72|0;break a}default:{c=k[k[(k[a+20>>2]|0)+4>>2]>>2]|0;b=(-10002-b|0)>(l[c+7>>0]|0|0)?621288:c+24+(-10002-b+-1<<4)|0;break a}}}while(0);b=zGa(k[b>>2]|0,(k[a+8>>2]|0)+-16|0)|0;c=k[a+8>>2]|0;a=k[b+4>>2]|0;k[c+-16>>2]=k[b>>2];k[c+-16+4>>2]=a;k[c+-8>>2]=k[b+8>>2];return}function gEa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:do if((b|0)>0){b=(k[a+12>>2]|0)+(b+-1<<4)|0;b=b>>>0<(k[a+8>>2]|0)>>>0?b:621288}else{if((b|0)>-1e4){b=(k[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{b=(k[a+16>>2]|0)+96|0;break a}case -10001:{k[a+88>>2]=k[(k[k[(k[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];k[a+96>>2]=5;b=a+88|0;break a}case -10002:{b=a+72|0;break a}default:{d=k[k[(k[a+20>>2]|0)+4>>2]>>2]|0;b=(-10002-b|0)>(l[d+7>>0]|0|0)?621288:d+24+(-10002-b+-1<<4)|0;break a}}}while(0);c=CGa(k[b>>2]|0,c)|0;d=k[a+8>>2]|0;b=k[c+4>>2]|0;k[d>>2]=k[c>>2];k[d+4>>2]=b;k[d+8>>2]=k[c+8>>2];k[a+8>>2]=(k[a+8>>2]|0)+16;return}function hEa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=k[a+16>>2]|0;if((k[d+68>>2]|0)>>>0>=(k[d+64>>2]|0)>>>0)yFa(a);d=k[a+8>>2]|0;c=AGa(a,b,c)|0;k[d>>2]=c;k[d+8>>2]=5;k[a+8>>2]=(k[a+8>>2]|0)+16;return}function iEa(a,b){a=a|0;b=b|0;var c=0;a:do if((b|0)>0){b=(k[a+12>>2]|0)+(b+-1<<4)|0;b=b>>>0<(k[a+8>>2]|0)>>>0?b:621288}else{if((b|0)>-1e4){b=(k[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{b=(k[a+16>>2]|0)+96|0;break a}case -10001:{k[a+88>>2]=k[(k[k[(k[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];k[a+96>>2]=5;b=a+88|0;break a}case -10002:{b=a+72|0;break a}default:{c=k[k[(k[a+20>>2]|0)+4>>2]>>2]|0;b=(-10002-b|0)>(l[c+7>>0]|0|0)?621288:c+24+(-10002-b+-1<<4)|0;break a}}}while(0);c=k[b+8>>2]|0;switch(c|0){case 5:{b=(k[b>>2]|0)+8|0;break}case 7:{b=(k[b>>2]|0)+8|0;break}default:b=(k[a+16>>2]|0)+152+(c<<2)|0}b=k[b>>2]|0;if(!b){a=0;return a|0}c=k[a+8>>2]|0;k[c>>2]=b;k[c+8>>2]=5;k[a+8>>2]=(k[a+8>>2]|0)+16;a=1;return a|0}function jEa(a,b){a=a|0;b=b|0;var c=0,d=0;a:do if((b|0)>0){b=(k[a+12>>2]|0)+(b+-1<<4)|0;b=b>>>0<(k[a+8>>2]|0)>>>0?b:621288}else{if((b|0)>-1e4){b=(k[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{b=(k[a+16>>2]|0)+96|0;break a}case -10001:{k[a+88>>2]=k[(k[k[(k[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];k[a+96>>2]=5;b=a+88|0;break a}case -10002:{b=a+72|0;break a}default:{c=k[k[(k[a+20>>2]|0)+4>>2]>>2]|0;b=(-10002-b|0)>(l[c+7>>0]|0|0)?621288:c+24+(-10002-b+-1<<4)|0;break a}}}while(0);switch(k[b+8>>2]|0){case 6:{c=k[a+8>>2]|0;k[c>>2]=k[(k[b>>2]|0)+12>>2];k[c+8>>2]=5;c=a+8|0;a=k[c>>2]|0;a=a+16|0;k[c>>2]=a;return}case 7:{c=k[a+8>>2]|0;k[c>>2]=k[(k[b>>2]|0)+12>>2];k[c+8>>2]=5;c=a+8|0;a=k[c>>2]|0;a=a+16|0;k[c>>2]=a;return}case 8:{b=k[b>>2]|0;c=k[a+8>>2]|0;d=k[b+72+4>>2]|0;k[c>>2]=k[b+72>>2];k[c+4>>2]=d;k[c+8>>2]=k[b+80>>2];c=a+8|0;a=k[c>>2]|0;a=a+16|0;k[c>>2]=a;return}default:{k[(k[a+8>>2]|0)+8>>2]=0;d=a+8|0;c=k[d>>2]|0;c=c+16|0;k[d>>2]=c;return}}}function kEa(a,b){a=a|0;b=b|0;var c=0;a:do if((b|0)>0){b=(k[a+12>>2]|0)+(b+-1<<4)|0;b=b>>>0<(k[a+8>>2]|0)>>>0?b:621288}else{if((b|0)>-1e4){b=(k[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{b=(k[a+16>>2]|0)+96|0;break a}case -10001:{k[a+88>>2]=k[(k[k[(k[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];k[a+96>>2]=5;b=a+88|0;break a}case -10002:{b=a+72|0;break a}default:{c=k[k[(k[a+20>>2]|0)+4>>2]>>2]|0;b=(-10002-b|0)>(l[c+7>>0]|0|0)?621288:c+24+(-10002-b+-1<<4)|0;break a}}}while(0);c=k[a+8>>2]|0;RGa(a,b,c+-32|0,c+-16|0);k[a+8>>2]=(k[a+8>>2]|0)+-32;return}function lEa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=r;r=r+16|0;a:do if((b|0)>0){b=(k[a+12>>2]|0)+(b+-1<<4)|0;b=b>>>0<(k[a+8>>2]|0)>>>0?b:621288}else{if((b|0)>-1e4){b=(k[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{b=(k[a+16>>2]|0)+96|0;break a}case -10001:{k[a+88>>2]=k[(k[k[(k[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];k[a+96>>2]=5;b=a+88|0;break a}case -10002:{b=a+72|0;break a}default:{e=k[k[(k[a+20>>2]|0)+4>>2]>>2]|0;b=(-10002-b|0)>(l[e+7>>0]|0|0)?621288:e+24+(-10002-b+-1<<4)|0;break a}}}while(0);e=sGa(a,c,Fnb(c)|0)|0;k[d>>2]=e;k[d+8>>2]=4;RGa(a,b,d,(k[a+8>>2]|0)+-16|0);k[a+8>>2]=(k[a+8>>2]|0)+-16;r=d;return}function mEa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:do if((b|0)>0){b=(k[a+12>>2]|0)+(b+-1<<4)|0;b=b>>>0<(k[a+8>>2]|0)>>>0?b:621288}else{if((b|0)>-1e4){b=(k[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{b=(k[a+16>>2]|0)+96|0;break a}case -10001:{k[a+88>>2]=k[(k[k[(k[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];k[a+96>>2]=5;b=a+88|0;break a}case -10002:{b=a+72|0;break a}default:{c=k[k[(k[a+20>>2]|0)+4>>2]>>2]|0;b=(-10002-b|0)>(l[c+7>>0]|0|0)?621288:c+24+(-10002-b+-1<<4)|0;break a}}}while(0);d=k[a+8>>2]|0;c=EGa(a,k[b>>2]|0,d+-32|0)|0;e=k[d+-16+4>>2]|0;k[c>>2]=k[d+-16>>2];k[c+4>>2]=e;k[c+8>>2]=k[d+-8>>2];c=k[a+8>>2]|0;if((k[c+-8>>2]|0)<=3){e=c;e=e+-32|0;k[a+8>>2]=e;return}if(!(i[(k[c+-16>>2]|0)+5>>0]&3)){e=c;e=e+-32|0;k[a+8>>2]=e;return}b=k[b>>2]|0;if(!(i[b+5>>0]&4)){e=c;e=e+-32|0;k[a+8>>2]=e;return}GFa(a,b);e=k[a+8>>2]|0;e=e+-32|0;k[a+8>>2]=e;return}function nEa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:do if((b|0)>0){b=(k[a+12>>2]|0)+(b+-1<<4)|0;b=b>>>0<(k[a+8>>2]|0)>>>0?b:621288}else{if((b|0)>-1e4){b=(k[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{b=(k[a+16>>2]|0)+96|0;break a}case -10001:{k[a+88>>2]=k[(k[k[(k[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];k[a+96>>2]=5;b=a+88|0;break a}case -10002:{b=a+72|0;break a}default:{d=k[k[(k[a+20>>2]|0)+4>>2]>>2]|0;b=(-10002-b|0)>(l[d+7>>0]|0|0)?621288:d+24+(-10002-b+-1<<4)|0;break a}}}while(0);d=k[a+8>>2]|0;c=FGa(a,k[b>>2]|0,c)|0;e=k[d+-16+4>>2]|0;k[c>>2]=k[d+-16>>2];k[c+4>>2]=e;k[c+8>>2]=k[d+-8>>2];c=k[a+8>>2]|0;if((k[c+-8>>2]|0)<=3){e=c;e=e+-16|0;k[a+8>>2]=e;return}if(!(i[(k[c+-16>>2]|0)+5>>0]&3)){e=c;e=e+-16|0;k[a+8>>2]=e;return}b=k[b>>2]|0;if(!(i[b+5>>0]&4)){e=c;e=e+-16|0;k[a+8>>2]=e;return}GFa(a,b);e=k[a+8>>2]|0;e=e+-16|0;k[a+8>>2]=e;return}function oEa(a,b){a=a|0;b=b|0;var c=0,d=0;a:do if((b|0)>0){c=(k[a+12>>2]|0)+(b+-1<<4)|0;c=c>>>0<(k[a+8>>2]|0)>>>0?c:621288}else{if((b|0)>-1e4){c=(k[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{c=(k[a+16>>2]|0)+96|0;break a}case -10001:{k[a+88>>2]=k[(k[k[(k[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];k[a+96>>2]=5;c=a+88|0;break a}case -10002:{c=a+72|0;break a}default:{c=k[k[(k[a+20>>2]|0)+4>>2]>>2]|0;c=(-10002-b|0)>(l[c+7>>0]|0|0)?621288:c+24+(-10002-b+-1<<4)|0;break a}}}while(0);b=k[a+8>>2]|0;if(!(k[b+-8>>2]|0))d=0;else d=k[b+-16>>2]|0;b=k[c+8>>2]|0;switch(b|0){case 5:{k[(k[c>>2]|0)+8>>2]=d;if(d|0)if(i[d+5>>0]&3){b=k[c>>2]|0;if(i[b+5>>0]&4)GFa(a,b)}break}case 7:{k[(k[c>>2]|0)+8>>2]=d;if(d|0)if(i[d+5>>0]&3){b=k[c>>2]|0;if(i[b+5>>0]&4)FFa(a,b,d)}break}default:k[(k[a+16>>2]|0)+152+(b<<2)>>2]=d}k[a+8>>2]=(k[a+8>>2]|0)+-16;return 1}function pEa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:do if((b|0)>0){c=(k[a+12>>2]|0)+(b+-1<<4)|0;c=c>>>0<(k[a+8>>2]|0)>>>0?c:621288}else{if((b|0)>-1e4){c=(k[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{c=(k[a+16>>2]|0)+96|0;break a}case -10001:{k[a+88>>2]=k[(k[k[(k[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];k[a+96>>2]=5;c=a+88|0;break a}case -10002:{c=a+72|0;break a}default:{c=k[k[(k[a+20>>2]|0)+4>>2]>>2]|0;c=(-10002-b|0)>(l[c+7>>0]|0|0)?621288:c+24+(-10002-b+-1<<4)|0;break a}}}while(0);switch(k[c+8>>2]|0){case 6:{b=k[a+8>>2]|0;k[(k[c>>2]|0)+12>>2]=k[b+-16>>2];e=a+8|0;break}case 7:{b=k[a+8>>2]|0;k[(k[c>>2]|0)+12>>2]=k[b+-16>>2];e=a+8|0;break}case 8:{e=k[c>>2]|0;k[e+72>>2]=k[(k[a+8>>2]|0)+-16>>2];k[e+80>>2]=5;e=a+8|0;b=k[a+8>>2]|0;break}default:{e=a+8|0;a=0;d=k[e>>2]|0;d=d+-16|0;k[e>>2]=d;return a|0}}d=k[b+-16>>2]|0;if(!(i[d+5>>0]&3)){a=1;d=k[e>>2]|0;d=d+-16|0;k[e>>2]=d;return a|0}b=k[c>>2]|0;if(!(i[b+5>>0]&4)){a=1;d=k[e>>2]|0;d=d+-16|0;k[e>>2]=d;return a|0}FFa(a,b,d);a=1;d=k[e>>2]|0;d=d+-16|0;k[e>>2]=d;return a|0}function qEa(a,b,c){a=a|0;b=b|0;c=c|0;aFa(a,(k[a+8>>2]|0)+(~b<<4)|0,c);if((c|0)!=-1)return;c=k[a+8>>2]|0;b=(k[a+20>>2]|0)+8|0;if(c>>>0<(k[b>>2]|0)>>>0)return;k[b>>2]=c;return}function rEa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=r;r=r+16|0;if(!d){e=k[a+32>>2]|0;d=0}else{a:do if((d|0)>0){d=(k[a+12>>2]|0)+(d+-1<<4)|0;d=d>>>0<(k[a+8>>2]|0)>>>0?d:621288}else{if((d|0)>-1e4){d=(k[a+8>>2]|0)+(d<<4)|0;break}switch(d|0){case -1e4:{d=(k[a+16>>2]|0)+96|0;break a}case -10001:{k[a+88>>2]=k[(k[k[(k[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];k[a+96>>2]=5;d=a+88|0;break a}case -10002:{d=a+72|0;break a}default:{e=k[k[(k[a+20>>2]|0)+4>>2]>>2]|0;d=(-10002-d|0)>(l[e+7>>0]|0|0)?621288:e+24+(-10002-d+-1<<4)|0;break a}}}while(0);g=k[a+32>>2]|0;e=g;d=d-g|0}b=(k[a+8>>2]|0)+(~b<<4)|0;k[f>>2]=b;k[f+4>>2]=c;b=eFa(a,213,f,b-e|0,d)|0;if((c|0)!=-1){r=f;return b|0}e=k[a+8>>2]|0;d=(k[a+20>>2]|0)+8|0;if(e>>>0<(k[d>>2]|0)>>>0){r=f;return b|0}k[d>>2]=e;r=f;return b|0}function sEa(a,b){a=a|0;b=b|0;aFa(a,k[b>>2]|0,k[b+4>>2]|0);return}function tEa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+32|0;YGa(a,e,b,c);b=fFa(a,e,(d|0)==0?520631:d)|0;r=e;return b|0}function uEa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=k[a+8>>2]|0;if((k[d+-8>>2]|0)!=6){b=1;return b|0}d=k[d+-16>>2]|0;if(i[d+6>>0]|0){b=1;return b|0}b=hFa(a,k[d+16>>2]|0,b,c,0)|0;return b|0}function vEa(a){a=a|0;return l[a+6>>0]|0|0}function wEa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=k[a+16>>2]|0;a:do switch(b|0){case 0:{k[d+64>>2]=-3;d=0;break}case 1:{k[d+64>>2]=k[d+68>>2];d=0;break}case 2:{EFa(a);d=0;break}case 3:{d=(k[d+68>>2]|0)>>>10;break}case 4:{d=k[d+68>>2]&1023;break}case 5:{b=k[d+68>>2]|0;c=b>>>0>>0?0:b-(c<<10)|0;k[d+64>>2]=c;if(c>>>0>b>>>0)d=0;else while(1){yFa(a);if(!(i[d+21>>0]|0)){d=1;break a}if((k[d+64>>2]|0)>>>0>(k[d+68>>2]|0)>>>0){d=0;break}}break}case 6:{b=k[d+80>>2]|0;k[d+80>>2]=c;d=b;break}case 7:{b=k[d+84>>2]|0;k[d+84>>2]=c;d=b;break}default:d=-1}while(0);return d|0}function xEa(a){a=a|0;QEa(a);return 0}function yEa(a,b){a=a|0;b=b|0;var c=0;a:do if((b|0)>0){b=(k[a+12>>2]|0)+(b+-1<<4)|0;b=b>>>0<(k[a+8>>2]|0)>>>0?b:621288}else{if((b|0)>-1e4){b=(k[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{b=(k[a+16>>2]|0)+96|0;break a}case -10001:{k[a+88>>2]=k[(k[k[(k[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];k[a+96>>2]=5;b=a+88|0;break a}case -10002:{b=a+72|0;break a}default:{c=k[k[(k[a+20>>2]|0)+4>>2]>>2]|0;b=(-10002-b|0)>(l[c+7>>0]|0|0)?621288:c+24+(-10002-b+-1<<4)|0;break a}}}while(0);c=uGa(a,k[b>>2]|0,(k[a+8>>2]|0)+-16|0)|0;b=k[a+8>>2]|0;k[a+8>>2]=(c|0)==0?b+-16|0:b+16|0;return c|0}function zEa(a,b){a=a|0;b=b|0;var c=0;if((b|0)>1){c=k[a+16>>2]|0;if((k[c+68>>2]|0)>>>0>=(k[c+64>>2]|0)>>>0)yFa(a);UGa(a,b,((k[a+8>>2]|0)-(k[a+12>>2]|0)>>4)+-1|0);k[a+8>>2]=(k[a+8>>2]|0)+(1-b<<4);return}else{if(b|0)return;c=k[a+8>>2]|0;b=sGa(a,1279174,0)|0;k[c>>2]=b;k[c+8>>2]=4;k[a+8>>2]=(k[a+8>>2]|0)+16;return}}function AEa(a,b){a=a|0;b=b|0;var c=0;c=k[a+16>>2]|0;if((k[c+68>>2]|0)>>>0>=(k[c+64>>2]|0)>>>0)yFa(a);c=k[a+20>>2]|0;if((c|0)==(k[a+40>>2]|0))c=a+72|0;else c=(k[k[c+4>>2]>>2]|0)+12|0;b=tGa(a,b,k[c>>2]|0)|0;c=k[a+8>>2]|0;k[c>>2]=b;k[c+8>>2]=7;k[a+8>>2]=(k[a+8>>2]|0)+16;return b+24|0}function BEa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:do if((b|0)>0){b=(k[a+12>>2]|0)+(b+-1<<4)|0;b=b>>>0<(k[a+8>>2]|0)>>>0?b:621288}else{if((b|0)>-1e4){b=(k[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{b=(k[a+16>>2]|0)+96|0;break a}case -10001:{k[a+88>>2]=k[(k[k[(k[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];k[a+96>>2]=5;b=a+88|0;break a}case -10002:{b=a+72|0;break a}default:{e=k[k[(k[a+20>>2]|0)+4>>2]>>2]|0;b=(-10002-b|0)>(l[e+7>>0]|0|0)?621288:e+24+(-10002-b+-1<<4)|0;break a}}}while(0);if((k[b+8>>2]|0)!=6){a=0;return a|0}e=k[b>>2]|0;b=j[e+6>>1]|0;do if(!((b&255)<<24>>24)){b=k[e+16>>2]|0;if((c|0)<=0){a=0;return a|0}if((k[b+36>>2]|0)<(c|0)){a=0;return a|0}else{d=(k[(k[b+28>>2]|0)+(c+-1<<2)>>2]|0)+16|0;b=k[(k[e+20+(c+-1<<2)>>2]|0)+8>>2]|0;break}}else if((c|0)<1|((b&65535)>>>8&65535|0)<(c|0)){a=0;return a|0}else{d=1279174;b=e+24+(c+-1<<4)|0;break}while(0);c=k[a+8>>2]|0;f=b;e=k[f+4>>2]|0;k[c>>2]=k[f>>2];k[c+4>>2]=e;k[c+8>>2]=k[b+8>>2];k[a+8>>2]=(k[a+8>>2]|0)+16;a=d;return a|0}function CEa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;a:do if((b|0)>0){f=(k[a+12>>2]|0)+(b+-1<<4)|0;f=f>>>0<(k[a+8>>2]|0)>>>0?f:621288}else{if((b|0)>-1e4){f=(k[a+8>>2]|0)+(b<<4)|0;break}switch(b|0){case -1e4:{f=(k[a+16>>2]|0)+96|0;break a}case -10001:{k[a+88>>2]=k[(k[k[(k[a+20>>2]|0)+4>>2]>>2]|0)+12>>2];k[a+96>>2]=5;f=a+88|0;break a}case -10002:{f=a+72|0;break a}default:{f=k[k[(k[a+20>>2]|0)+4>>2]>>2]|0;f=(-10002-b|0)>(l[f+7>>0]|0|0)?621288:f+24+(-10002-b+-1<<4)|0;break a}}}while(0);if((k[f+8>>2]|0)!=6){a=0;return a|0}d=k[f>>2]|0;b=j[d+6>>1]|0;do if(!((b&255)<<24>>24)){b=k[d+16>>2]|0;if((c|0)<=0){a=0;return a|0}if((k[b+36>>2]|0)<(c|0)){a=0;return a|0}else{e=(k[(k[b+28>>2]|0)+(c+-1<<2)>>2]|0)+16|0;b=k[(k[d+20+(c+-1<<2)>>2]|0)+8>>2]|0;break}}else if((c|0)<1|((b&65535)>>>8&65535|0)<(c|0)){a=0;return a|0}else{e=1279174;b=d+24+(c+-1<<4)|0;break}while(0);c=k[a+8>>2]|0;k[a+8>>2]=c+-16;g=k[c+-16+4>>2]|0;d=b;k[d>>2]=k[c+-16>>2];k[d+4>>2]=g;k[b+8>>2]=k[c+-8>>2];b=k[a+8>>2]|0;if((k[b+8>>2]|0)<=3){g=e;return g|0}d=k[b>>2]|0;if(!(i[d+5>>0]&3)){g=e;return g|0}b=k[f>>2]|0;if(!(i[b+5>>0]&4)){g=e;return g|0}FFa(a,b,d);g=e;return g|0}function DEa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;k[a+68>>2]=(b|0)==0|(c|0)==0?0:b;k[a+60>>2]=d;k[a+64>>2]=d;i[a+56>>0]=(b|0)==0|(c|0)==0?0:c&255;return 1}function EEa(a){a=a|0;return k[a+68>>2]|0}function FEa(a){a=a|0;return l[a+56>>0]|0|0}function GEa(a){a=a|0;return k[a+60>>2]|0}function HEa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=k[a+20>>2]|0;a:do if((b|0)>0){e=k[a+40>>2]|0;while(1){if(d>>>0<=e>>>0){b=0;break}b=b+-1|0;if(!(i[(k[k[d+4>>2]>>2]|0)+6>>0]|0))b=b-(k[d+20>>2]|0)|0;d=d+-24|0;if((b|0)<=0)break a}return b|0}while(0);if(b|0){k[c+96>>2]=0;c=1;return c|0}b=k[a+40>>2]|0;if(d>>>0<=b>>>0){c=0;return c|0}k[c+96>>2]=(d-b|0)/24|0;c=1;return c|0}function IEa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0;g=k[a+40>>2]|0;f=k[b+96>>2]|0;d=k[g+(f*24|0)+4>>2]|0;if((k[d+8>>2]|0)==6){b=k[d>>2]|0;if(!(i[b+6>>0]|0)){e=k[b+16>>2]|0;if(!e)h=9;else{if((k[a+20>>2]|0)==(g+(f*24|0)|0)){j=k[a+24>>2]|0;k[g+(f*24|0)+12>>2]=j;b=k[d>>2]|0;d=j}else d=k[g+(f*24|0)+12>>2]|0;b=sFa(e,c,(d-(k[(k[b+16>>2]|0)+12>>2]|0)>>2)+-1|0)|0;if(!b)h=9;else{d=b;b=k[g+(f*24|0)>>2]|0}}}else h=9}else h=9;do if((h|0)==9){b=k[g+(f*24|0)>>2]|0;if((c|0)>0?((k[((k[a+20>>2]|0)==(g+(f*24|0)|0)?a+8|0:g+(f*24|0)+28|0)>>2]|0)-b>>4|0)>=(c|0):0){d=514864;break}else{j=0;return j|0}}while(0);rDa(a,b+(c+-1<<4)|0);j=d;return j|0}function JEa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0;g=k[a+40>>2]|0;f=k[b+96>>2]|0;d=k[g+(f*24|0)+4>>2]|0;if((k[d+8>>2]|0)==6){b=k[d>>2]|0;if(!(i[b+6>>0]|0)){e=k[b+16>>2]|0;if(!e)h=9;else{if((k[a+20>>2]|0)==(g+(f*24|0)|0)){j=k[a+24>>2]|0;k[g+(f*24|0)+12>>2]=j;b=k[d>>2]|0;d=j}else d=k[g+(f*24|0)+12>>2]|0;b=sFa(e,c,(d-(k[(k[b+16>>2]|0)+12>>2]|0)>>2)+-1|0)|0;if(!b)h=9;else{e=b;d=a+8|0;b=k[g+(f*24|0)>>2]|0}}}else h=9}else h=9;do if((h|0)==9){b=k[g+(f*24|0)>>2]|0;if((c|0)>0?((k[((k[a+20>>2]|0)==(g+(f*24|0)|0)?a+8|0:g+(f*24|0)+28|0)>>2]|0)-b>>4|0)>=(c|0):0){e=514864;d=a+8|0;break}else{j=0;c=a+8|0;h=k[c>>2]|0;h=h+-16|0;k[c>>2]=h;return j|0}}while(0);j=k[d>>2]|0;g=k[j+-16+4>>2]|0;h=b+(c+-1<<4)|0;k[h>>2]=k[j+-16>>2];k[h+4>>2]=g;k[b+(c+-1<<4)+8>>2]=k[j+-8>>2];j=e;c=d;h=k[c>>2]|0;h=h+-16|0;k[c>>2]=h;return j|0}function KEa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;if((i[b>>0]|0)==62){x=(k[a+8>>2]|0)+-16|0;g=k[x>>2]|0;k[a+8>>2]=x;b=b+1|0;x=0;y=5}else{d=k[c+96>>2]|0;if(!d)y=8;else{g=k[a+40>>2]|0;x=g+(d*24|0)|0;g=k[k[g+(d*24|0)+4>>2]>>2]|0;y=5}}a:do if((y|0)==5)if(!g)y=8;else{d=i[b>>0]|0;if(!(d<<24>>24)){h=1;f=0}else{n=g+6|0;o=g+16|0;p=(x|0)==0;q=x+4|0;r=x+12|0;s=g+7|0;t=x+20|0;u=x+-24|0;v=x+-20|0;w=x+-12|0;m=b;e=1;while(1){b:do switch(d<<24>>24|0){case 83:{if(!(i[n>>0]|0)){f=k[o>>2]|0;j=(k[f+32>>2]|0)+16|0;k[c+16>>2]=j;h=k[f+60>>2]|0;d=(h|0)==0?514900:514905;f=k[f+64>>2]|0}else{k[c+16>>2]=514895;d=617827;f=-1;h=-1;j=514895}k[c+28>>2]=h;k[c+32>>2]=f;k[c+12>>2]=d;TFa(c+36|0,j,60);break}case 108:{if(p)d=-1;else{d=k[q>>2]|0;if((k[d+8>>2]|0)==6){f=k[d>>2]|0;if(!(i[f+6>>0]|0)){if((k[a+20>>2]|0)==(x|0)){h=k[a+24>>2]|0;k[r>>2]=h;f=k[d>>2]|0}else h=k[r>>2]|0;d=k[f+16>>2]|0;f=h-(k[d+12>>2]|0)|0;if((f|0)<4)d=-1;else{d=k[d+20>>2]|0;if(!d)d=0;else d=k[d+((f>>2)+-1<<2)>>2]|0}}else d=-1}else d=-1}k[c+20>>2]=d;break}case 117:{k[c+24>>2]=l[s>>0];break}case 110:{c:do if(p)y=35;else{d=k[q>>2]|0;if((k[d+8>>2]|0)==6)if(!(i[(k[d>>2]|0)+6>>0]|0))if((k[t>>2]|0)>0){y=35;break}d=k[v>>2]|0;if((k[d+8>>2]|0)==6){f=k[d>>2]|0;if(!(i[f+6>>0]|0)){if((k[a+20>>2]|0)==(u|0)){j=k[a+24>>2]|0;k[w>>2]=j;f=k[d>>2]|0;d=j}else d=k[w>>2]|0;j=k[(k[f+16>>2]|0)+12>>2]|0;d=k[j+((d-j>>2)+-1<<2)>>2]|0;switch(d&63|0){case 33:case 29:case 28:break;default:{y=35;break c}}j=LEa(a,u,d>>>6&255,c+4|0)|0;k[c+8>>2]=j;if(j|0)break b}else y=35}else y=35}while(0);if((y|0)==35){y=0;k[c+8>>2]=0}k[c+8>>2]=1279174;k[c+4>>2]=0;break}case 102:case 76:break;default:e=0}while(0);m=m+1|0;d=i[m>>0]|0;if(!(d<<24>>24)){h=e;f=0;break a}}}}while(0);if((y|0)==8){k[c+8>>2]=1279174;k[c+4>>2]=1279174;k[c+12>>2]=514877;k[c+20>>2]=-1;k[c+28>>2]=-1;k[c+32>>2]=-1;k[c+16>>2]=514882;TFa(c+36|0,514882,60);k[c+24>>2]=0;h=1;f=1;g=0}if(gob(b,102)|0){e=k[a+8>>2]|0;if(f)d=0;else{k[e>>2]=g;d=6}k[e+8>>2]=d;d=k[a+8>>2]|0;if(((k[a+28>>2]|0)-d|0)<17){YEa(a,1);d=k[a+8>>2]|0}k[a+8>>2]=d+16}if(!(gob(b,76)|0))return h|0;if(f)y=49;else if(!(i[g+6>>0]|0)){f=AGa(a,0,0)|0;b=g+16|0;c=k[b>>2]|0;d=k[c+20>>2]|0;if((k[c+48>>2]|0)>0){e=0;do{c=FGa(a,f,k[d+(e<<2)>>2]|0)|0;k[c>>2]=1;k[c+8>>2]=1;e=e+1|0}while((e|0)<(k[(k[b>>2]|0)+48>>2]|0))}b=k[a+8>>2]|0;k[b>>2]=f;k[b+8>>2]=5;b=k[a+8>>2]|0;e=a+8|0;d=b}else y=49;if((y|0)==49){b=k[a+8>>2]|0;k[b+8>>2]=0;e=a+8|0;d=b}if(((k[a+28>>2]|0)-d|0)<17){YEa(a,1);b=k[e>>2]|0}k[e>>2]=b+16;return h|0}function LEa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;a:while(1){f=k[b+4>>2]|0;if((k[f+8>>2]|0)!=6){c=0;e=24;break}e=k[f>>2]|0;if(i[e+6>>0]|0){c=0;e=24;break}g=k[e+16>>2]|0;if(!(i[e+6>>0]|0)){if((k[a+20>>2]|0)==(b|0)){h=k[a+24>>2]|0;k[b+12>>2]=h;e=k[f>>2]|0;f=h}else f=k[b+12>>2]|0;e=(f-(k[(k[e+16>>2]|0)+12>>2]|0)>>2)+-1|0}else e=-1;h=sFa(g,c+1|0,e)|0;k[d>>2]=h;if(h|0){c=517097;e=24;break}f=MEa(g,e,c)|0;switch(f&63|0){case 5:{e=11;break a}case 6:{e=13;break a}case 4:{e=17;break a}case 11:{e=20;break a}case 0:break;default:{c=0;e=24;break a}}c=f>>>23;if(c>>>0>=(f>>>6&255)>>>0){c=0;e=24;break}}if((e|0)==11){k[d>>2]=(k[(k[g+8>>2]|0)+(f>>>14<<4)>>2]|0)+16;h=514909;return h|0}else if((e|0)==13){if(!(f>>>14&256))c=520631;else{c=k[g+8>>2]|0;if((k[c+((f>>>14&255)<<4)+8>>2]|0)==4)c=(k[c+((f>>>14&255)<<4)>>2]|0)+16|0;else c=520631}k[d>>2]=c;h=514916;return h|0}else if((e|0)==17){c=k[g+28>>2]|0;if(!c)c=520631;else c=(k[c+(f>>>23<<2)>>2]|0)+16|0;k[d>>2]=c;h=514922;return h|0}else if((e|0)==20){if(!(f>>>14&256))c=520631;else{c=k[g+8>>2]|0;if((k[c+((f>>>14&255)<<4)+8>>2]|0)==4)c=(k[c+((f>>>14&255)<<4)>>2]|0)+16|0;else c=520631}k[d>>2]=c;h=516721;return h|0}else if((e|0)==24)return c|0;return 0}function MEa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0;o=k[a+44>>2]|0;d=i[a+75>>0]|0;if((d&255)>=251){q=0;return q|0}p=l[a+74>>0]|0;if((p&5|0)==4?1:((p&1)+(l[a+73>>0]|0)|0)>>>0>(d&255)>>>0){q=0;return q|0}n=k[a+72>>2]|0;if((k[a+36>>2]|0)>(n&255|0)){q=0;return q|0}p=k[a+48>>2]|0;if(!((o|0)>0&((p|0)==0|(p|0)==(o|0)))){q=0;return q|0}p=k[a+12>>2]|0;d=k[p+(o+-1<<2)>>2]|0;if((d&63|0)!=30){q=0;return q|0}if((b|0)<=0){q=d;return q|0}d=o+-1|0;e=0;a:while(1){m=k[p+(e<<2)>>2]|0;if(!((m&63)>>>0<38&(m>>>6&255)>>>0>>24>>>0)){d=0;q=73;break}j=i[515543+(m&63)>>0]|0;b:do switch(j&3|0){case 0:{c:do switch((j&255)>>>4&3|0){case 0:{if(m>>>23|0){d=0;q=73;break a}break}case 3:if(!(m>>>23&256))if(n>>>24>>>0>m>>>23>>>0)break c;else{d=0;q=73;break a}else if((m>>>23&255|0)<(k[a+40>>2]|0))break c;else{d=0;q=73;break a}case 2:{if(n>>>24>>>0<=m>>>23>>>0){d=0;q=73;break a}break}default:{}}while(0);switch((j&255)>>>2&3|0){case 0:if(!(m>>>14&511)){h=m>>>23;g=0;break b}else{d=0;q=73;break a}case 3:if(!(m>>>14&256))if(n>>>24>>>0>(m>>>14&511)>>>0){h=m>>>23;g=m>>>14&511;break b}else{d=0;q=73;break a}else if((m>>>14&255|0)<(k[a+40>>2]|0)){h=m>>>23;g=m>>>14&511;break b}else{d=0;q=73;break a}case 2:if(n>>>24>>>0>(m>>>14&511)>>>0){h=m>>>23;g=m>>>14&511;break b}else{d=0;q=73;break a}default:{h=m>>>23;g=m>>>14&511;break b}}}case 1:{if((j&48|0)==48)if((m>>>14|0)<(k[a+40>>2]|0)){h=m>>>14;g=0}else{d=0;q=73;break a}else{h=m>>>14;g=0}break}case 2:{if((j&48|0)==32){g=e+1+((m>>>14)+-131071)|0;if(!((g|0)>-1&(g|0)<(o|0))){d=0;q=73;break a}if((g|0)>0){h=(m>>>14)+-131071+e|0;f=0;do{if((k[p+(h-f<<2)>>2]&8372287|0)!=34)break;f=f+1|0}while((f|0)<(g|0));if(!(f&1)){h=(m>>>14)+-131071|0;g=0}else{d=0;q=73;break a}}else{h=(m>>>14)+-131071|0;g=0}}else{h=(m>>>14)+-131071|0;g=0}break}default:{h=0;g=0}}while(0);d=(m>>>6&255|0)==(c|0)&(j&64)!=0?e:d;if(j<<24>>24<0){if((e+2|0)>=(o|0)){d=0;q=73;break}if((k[p+(e+1<<2)>>2]&63|0)!=22){d=0;q=73;break}}do switch(m&63|0){case 2:{if((g|0)==1){if((e+2|0)>=(o|0)){d=0;q=73;break a}if((k[p+(e+1<<2)>>2]&8372287|0)==34){d=0;q=73;break a}}break}case 3:{d=(m>>>6&255|0)>(c|0)|(h|0)<(c|0)?d:e;break}case 8:case 4:{if((h|0)>=(n&255|0)){d=0;q=73;break a}break}case 7:case 5:{if((k[(k[a+8>>2]|0)+(h<<4)+8>>2]|0)!=4){d=0;q=73;break a}break}case 11:{if(((m>>>6&255)+1|0)>>>0>=n>>>24>>>0){d=0;q=73;break a}d=((m>>>6&255)+1|0)==(c|0)?e:d;break}case 21:{if((h|0)>=(g|0)){d=0;q=73;break a}break}case 33:{if(!g){d=0;q=73;break a}if((g+((m>>>6&255)+2)|0)>>>0>=n>>>24>>>0){d=0;q=73;break a}d=((m>>>6&255)+2|0)>(c|0)?d:e;break}case 32:case 31:{if(((m>>>6&255)+3|0)>>>0>>24>>>0)q=48;else{d=0;q=73;break a}break}case 22:{q=48;break}case 29:case 28:{if(h|0?(h+(m>>>6&255)|0)>(n>>>24|0):0){d=0;q=73;break a}f=g+-1|0;if(!g){f=k[p+(e+1<<2)>>2]|0;switch(f&63|0){case 34:case 30:case 29:case 28:break;default:{d=0;q=73;break a}}if(f>>>0>=8388608){d=0;q=73;break a}}else if(f|0?(f+(m>>>6&255)|0)>(n>>>24|0):0){d=0;q=73;break a}d=(m>>>6&255|0)>(c|0)?d:e;break}case 30:{if((h|0)>1)if(((m>>>6&255)+-1+h|0)>(n>>>24|0)){d=0;q=73;break a}break}case 34:{if(!((h|0)<1?1:(h+(m>>>6&255)|0)<(n>>>24|0))){d=0;q=73;break a}if(!g){e=e+1|0;if((e|0)>=(o+-1|0)){d=0;q=73;break a}}break}case 36:{if((h|0)>=(k[a+52>>2]|0)){d=0;q=73;break a}f=i[(k[(k[a+16>>2]|0)+(h<<2)>>2]|0)+72>>0]|0;h=(f&255)+e|0;if((h|0)>=(o|0)){d=0;q=73;break a}if(f<<24>>24){g=1;while(1){if((k[p+(g+e<<2)>>2]&59|4|0)!=4){d=0;q=73;break a}if((g|0)<(f&255|0))g=g+1|0;else break}}e=(c|0)==255?e:h;break}case 37:{if((n&393216|0)!=131072){d=0;q=73;break a}if(!h){f=k[p+(e+1<<2)>>2]|0;switch(f&63|0){case 34:case 30:case 29:case 28:break;default:{d=0;q=73;break a}}if(f>>>0>=8388608){d=0;q=73;break a}}if(((m>>>6&255)+-1+h|0)>(n>>>24|0)){d=0;q=73;break a}break}default:{}}while(0);if((q|0)==48){q=0;m=e+1+h|0;e=((m|0)>(b|0)|((c|0)==255|(e|0)>=(m|0))?0:h)+e|0}e=e+1|0;if((e|0)>=(b|0)){q=72;break}}if((q|0)==72){q=k[p+(d<<2)>>2]|0;return q|0}else if((q|0)==73)return d|0;return 0}function NEa(a){a=a|0;return (MEa(a,k[a+44>>2]|0,255)|0)!=0|0}function OEa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=r;r=r+32|0;k[h+24>>2]=0;g=k[37412+(k[b+8>>2]<<2)>>2]|0;e=k[a+20>>2]|0;d=k[e>>2]|0;f=k[e+8>>2]|0;a:do if(d>>>0>>0){while(1){if((d|0)==(b|0))break;d=d+16|0;if(d>>>0>=f>>>0)break a}d=LEa(a,e,b-(k[a+12>>2]|0)>>4,h+24|0)|0;if(d|0){b=k[h+24>>2]|0;k[h>>2]=c;k[h+4>>2]=d;k[h+8>>2]=b;k[h+12>>2]=g;PEa(a,514930,h);r=h;return}}while(0);k[h+16>>2]=c;k[h+16+4>>2]=g;PEa(a,514965,h+16|0);r=h;return}function PEa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;f=r;r=r+96|0;k[f+16>>2]=c;e=RFa(a,b,f+16|0)|0;b=k[a+20>>2]|0;c=k[b+4>>2]|0;if((k[c+8>>2]|0)!=6){QEa(a);r=f;return}if(i[(k[c>>2]|0)+6>>0]|0){QEa(a);r=f;return}g=k[a+24>>2]|0;k[b+12>>2]=g;d=k[c>>2]|0;b=k[d+16>>2]|0;c=g-(k[b+12>>2]|0)|0;if((c|0)<4)b=-1;else{b=k[b+20>>2]|0;if(!b)b=0;else b=k[b+((c>>2)+-1<<2)>>2]|0}TFa(f+32|0,(k[(k[d+16>>2]|0)+32>>2]|0)+16|0,60);k[f>>2]=f+32;k[f+4>>2]=b;k[f+8>>2]=e;SFa(a,517193,f)|0;QEa(a);r=f;return}function QEa(a){a=a|0;var b=0,c=0,d=0;b=k[a+116>>2]|0;if(!b)UEa(a,2);b=(k[a+32>>2]|0)+b|0;if((k[b+8>>2]|0)!=6)UEa(a,5);c=k[a+8>>2]|0;d=k[c+-16+4>>2]|0;k[c>>2]=k[c+-16>>2];k[c+4>>2]=d;k[c+8>>2]=k[c+-8>>2];c=k[a+8>>2]|0;d=k[b+4>>2]|0;k[c+-16>>2]=k[b>>2];k[c+-16+4>>2]=d;k[c+-8>>2]=k[b+8>>2];b=k[a+8>>2]|0;if(((k[a+28>>2]|0)-b|0)<17){YEa(a,1);b=k[a+8>>2]|0}k[a+8>>2]=b+16;aFa(a,b+-16|0,1);UEa(a,2)}function REa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=r;r=r+32|0;e=((k[b+8>>2]|0)+-3|0)>>>0<2?c:b;k[g+24>>2]=0;f=k[37412+(k[e+8>>2]<<2)>>2]|0;d=k[a+20>>2]|0;b=k[d>>2]|0;c=k[d+8>>2]|0;a:do if(b>>>0>>0){while(1){if((b|0)==(e|0))break;b=b+16|0;if(b>>>0>=c>>>0)break a}b=LEa(a,d,e-(k[a+12>>2]|0)>>4,g+24|0)|0;if(b|0){e=k[g+24>>2]|0;k[g>>2]=514990;k[g+4>>2]=b;k[g+8>>2]=e;k[g+12>>2]=f;PEa(a,514930,g);r=g;return}}while(0);k[g+16>>2]=514990;k[g+16+4>>2]=f;PEa(a,514965,g+16|0);r=g;return}function SEa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=r;r=r+48|0;e=(OGa(b,g)|0)==0;e=e?b:c;k[g+40>>2]=0;f=k[37412+(k[e+8>>2]<<2)>>2]|0;d=k[a+20>>2]|0;b=k[d>>2]|0;c=k[d+8>>2]|0;a:do if(b>>>0>>0){while(1){if((b|0)==(e|0))break;b=b+16|0;if(b>>>0>=c>>>0)break a}b=LEa(a,d,e-(k[a+12>>2]|0)>>4,g+40|0)|0;if(b|0){e=k[g+40>>2]|0;k[g+16>>2]=515002;k[g+16+4>>2]=b;k[g+16+8>>2]=e;k[g+16+12>>2]=f;PEa(a,514930,g+16|0);r=g;return}}while(0);k[g+32>>2]=515002;k[g+32+4>>2]=f;PEa(a,514965,g+32|0);r=g;return}function TEa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;d=k[37412+(k[b+8>>2]<<2)>>2]|0;b=k[37412+(k[c+8>>2]<<2)>>2]|0;if((i[d+2>>0]|0)==(i[b+2>>0]|0)){k[e>>2]=d;PEa(a,515024,e);r=e;return 0}else{k[e+8>>2]=d;k[e+8+4>>2]=b;PEa(a,515057,e+8|0);r=e;return 0}return 0}function UEa(a,b){a=a|0;b=b|0;var c=0,d=0;c=k[a+112>>2]|0;if(c|0){k[c+160>>2]=b;Bg((k[a+112>>2]|0)+4|0,1)}i[a+6>>0]=b;if(!(k[(k[a+16>>2]|0)+88>>2]|0))vh(1);c=k[a+40>>2]|0;k[a+20>>2]=c;c=k[c>>2]|0;k[a+12>>2]=c;oFa(a,c);c=k[a+12>>2]|0;switch(b|0){case 4:{b=sGa(a,516170,17)|0;k[c>>2]=b;k[c+8>>2]=4;break}case 5:{b=sGa(a,515087,23)|0;k[c>>2]=b;k[c+8>>2]=4;break}case 2:case 3:{b=k[a+8>>2]|0;d=k[b+-16+4>>2]|0;k[c>>2]=k[b+-16>>2];k[c+4>>2]=d;k[c+8>>2]=k[b+-8>>2];break}default:{}}k[a+8>>2]=c+16;j[a+52>>1]=j[a+54>>1]|0;i[a+57>>0]=1;c=k[a+48>>2]|0;if((c|0)>2e4){b=k[a+40>>2]|0;if(((((k[a+20>>2]|0)-b|0)/24|0)+1|0)<2e4){d=KFa(a,b,c*24|0,48e4)|0;k[a+40>>2]=d;k[a+48>>2]=2e4;k[a+20>>2]=d+((((k[a+20>>2]|0)-b|0)/24|0)*24|0);k[a+36>>2]=d+479976}}k[a+116>>2]=0;k[a+112>>2]=0;Gi[k[(k[a+16>>2]|0)+88>>2]&2047](a)|0;vh(1)}function VEa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;i=r;r=r+176|0;f=4;g=hqb(40)|0;k[g>>2]=0;k[i+160>>2]=0;k[i>>2]=k[a+112>>2];k[a+112>>2]=i;f=yBb(i+4|0,1,g|0,f|0)|0;g=L;w=0;d=w;w=0;if((d|0)!=0&(x|0)!=0){e=zBb(k[d>>2]|0,f|0,g|0)|0;if(!e)Bg(d|0,x|0);L=x}else e=-1;if((e|0)==1)d=L;else d=0;while(1){if(d|0){h=6;break}w=0;sa(b|0,a|0,c|0);d=w;w=0;if((d|0)!=0&(x|0)!=0){e=zBb(k[d>>2]|0,f|0,g|0)|0;if(!e)Bg(d|0,x|0);L=x}else e=-1;if((e|0)==1)d=L;else break}if((h|0)==6){h=k[i>>2]|0;k[a+112>>2]=h;h=k[i+160>>2]|0;iqb(f|0);r=i;return h|0}h=k[i>>2]|0;k[a+112>>2]=h;h=k[i+160>>2]|0;iqb(f|0);r=i;return h|0}function WEa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=k[a+32>>2]|0;if((b+7|0)>>>0<268435456){c=a+44|0;d=KFa(a,e,k[a+44>>2]<<4,b+6<<4)|0}else{c=a+44|0;d=LFa(a)|0}k[a+32>>2]=d;k[c>>2]=b+6;k[a+28>>2]=d+(b<<4);k[a+8>>2]=d+((k[a+8>>2]|0)-e>>4<<4);c=k[a+104>>2]|0;if(c|0)do{b=c+8|0;k[b>>2]=d+((k[b>>2]|0)-e>>4<<4);c=k[c>>2]|0}while((c|0)!=0);c=k[a+40>>2]|0;b=k[a+20>>2]|0;if(c>>>0>b>>>0){d=a+12|0;b=k[d>>2]|0;e=b-e|0;e=e>>4;a=k[a+32>>2]|0;a=a+(e<<4)|0;k[d>>2]=a;return}d=k[a+32>>2]|0;do{f=c+8|0;k[f>>2]=d+((k[f>>2]|0)-e>>4<<4);k[c>>2]=d+((k[c>>2]|0)-e>>4<<4);f=c+4|0;k[f>>2]=d+((k[f>>2]|0)-e>>4<<4);c=c+24|0}while(c>>>0<=b>>>0);f=a+12|0;d=k[f>>2]|0;e=d-e|0;e=e>>4;a=k[a+32>>2]|0;a=a+(e<<4)|0;k[f>>2]=a;return}function XEa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=k[a+40>>2]|0;if((b+1|0)>>>0<178956971){c=a+48|0;e=KFa(a,d,(k[a+48>>2]|0)*24|0,b*24|0)|0}else{c=a+48|0;e=LFa(a)|0}k[a+40>>2]=e;k[c>>2]=b;k[a+20>>2]=e+((((k[a+20>>2]|0)-d|0)/24|0)*24|0);k[a+36>>2]=e+(b*24|0)+-24;return}function YEa(a,b){a=a|0;b=b|0;var c=0;c=k[a+44>>2]|0;if((c|0)<(b|0)){WEa(a,c+b|0);return}else{WEa(a,c<<1);return}}function ZEa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0;j=r;r=r+112|0;e=k[a+68>>2]|0;if(!e){r=j;return}if(!(i[a+57>>0]|0)){r=j;return}g=k[a+8>>2]|0;h=k[a+32>>2]|0;d=k[a+20>>2]|0;f=(k[d+8>>2]|0)-h|0;k[j>>2]=b;k[j+20>>2]=c;if((b|0)==4)d=0;else d=(d-(k[a+40>>2]|0)|0)/24|0;k[j+96>>2]=d;do if(((k[a+28>>2]|0)-g|0)<321){d=k[a+44>>2]|0;if((d|0)<20){WEa(a,d+20|0);break}else{WEa(a,d<<1);break}}while(0);k[(k[a+20>>2]|0)+8>>2]=(k[a+8>>2]|0)+320;i[a+57>>0]=0;Di[e&511](a,j);i[a+57>>0]=1;e=k[a+32>>2]|0;k[(k[a+20>>2]|0)+8>>2]=e+f;k[a+8>>2]=e+(g-h);r=j;return}function _Ea(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0,q=0,s=0,t=0,u=0;t=r;r=r+112|0;if((k[b+8>>2]|0)==6){d=b;q=a+32|0;s=a+32|0}else{e=KGa(a,b,16)|0;f=b-(k[a+32>>2]|0)|0;if((k[e+8>>2]|0)!=6)OEa(a,b,518310);d=k[a+8>>2]|0;if(d>>>0>b>>>0){do{s=d;d=d+-16|0;o=d;q=k[o+4>>2]|0;k[s>>2]=k[o>>2];k[s+4>>2]=q;k[s+8>>2]=k[s+-8>>2]}while(d>>>0>b>>>0);d=k[a+8>>2]|0}do if(((k[a+28>>2]|0)-d|0)<17){d=k[a+44>>2]|0;if((d|0)<1){WEa(a,d+1|0);break}else{WEa(a,d<<1);break}}while(0);k[a+8>>2]=(k[a+8>>2]|0)+16;d=(k[a+32>>2]|0)+f|0;q=k[e+4>>2]|0;k[d>>2]=k[e>>2];k[d+4>>2]=q;k[d+8>>2]=k[e+8>>2];q=a+32|0;s=a+32|0}n=d-(k[q>>2]|0)|0;d=k[d>>2]|0;k[(k[a+20>>2]|0)+12>>2]=k[a+24>>2];if(i[d+6>>0]|0){do if(((k[a+28>>2]|0)-(k[a+8>>2]|0)|0)<321){d=k[a+44>>2]|0;if((d|0)<20){WEa(a,d+20|0);break}else{WEa(a,d<<1);break}}while(0);d=k[a+20>>2]|0;if((d|0)==(k[a+36>>2]|0)){b=k[a+48>>2]|0;if((b|0)>2e4)UEa(a,5);d=k[a+40>>2]|0;if((b<<1|1)>>>0<178956971)e=KFa(a,d,b*24|0,b*48|0)|0;else e=LFa(a)|0;k[a+40>>2]=e;k[a+48>>2]=b<<1;d=e+((((k[a+20>>2]|0)-d|0)/24|0)*24|0)|0;k[a+20>>2]=d;k[a+36>>2]=e+((b<<1)*24|0)+-24;if((b<<1|0)>2e4){PEa(a,515111,t+8|0);b=k[a+20>>2]|0}else b=d}else b=d;d=b+24|0;k[a+20>>2]=d;g=k[s>>2]|0;k[b+28>>2]=g+n;k[d>>2]=g+n+16;k[a+12>>2]=g+n+16;f=k[a+8>>2]|0;k[b+32>>2]=f+320;k[b+40>>2]=c;b=j[a+56>>1]|0;if(b&1){e=k[a+68>>2]|0;if(e)if((b&65535)>=256){k[t+12>>2]=0;k[t+12+20>>2]=-1;k[t+12+96>>2]=(d-(k[a+40>>2]|0)|0)/24|0;do if(((k[a+28>>2]|0)-f|0)<321){d=k[a+44>>2]|0;if((d|0)<20){WEa(a,d+20|0);break}else{WEa(a,d<<1);break}}while(0);k[(k[a+20>>2]|0)+8>>2]=(k[a+8>>2]|0)+320;i[a+57>>0]=0;Di[e&511](a,t+12|0);i[a+57>>0]=1;s=k[s>>2]|0;d=k[a+20>>2]|0;k[d+8>>2]=s+(f+320-g);k[a+8>>2]=s+(f-g)}}d=Gi[k[(k[k[d+4>>2]>>2]|0)+16>>2]&2047](a)|0;if((d|0)<0){a=2;r=t;return a|0}$Ea(a,(k[a+8>>2]|0)+(0-d<<4)|0)|0;a=1;r=t;return a|0}o=k[d+16>>2]|0;d=l[o+75>>0]|0;do if(((k[a+28>>2]|0)-(k[a+8>>2]|0)|0)<=(d<<4|0)){b=k[a+44>>2]|0;if((b|0)<(d|0)){WEa(a,b+d|0);break}else{WEa(a,b<<1);break}}while(0);e=(k[s>>2]|0)+n|0;if(!(i[o+74>>0]|0)){d=e+16+(l[o+73>>0]<<4)|0;if((k[a+8>>2]|0)>>>0>d>>>0){k[a+8>>2]=d;g=e;f=e+16|0}else{g=e;f=e+16|0}}else{f=k[a+8>>2]|0;m=i[o+73>>0]|0;if((m&255|0)<(f-e>>4|0)){h=(f-e>>4)+-1|0;d=f;b=f}else{d=(f-e>>4)+-1|0;b=f;while(1){k[b+8>>2]=0;d=d+1|0;if((d|0)==(m&255|0))break;else b=b+16|0}b=f+((m&255)-((f-e>>4)+-1)<<4)|0;k[a+8>>2]=b;h=m&255;d=b}e=j[o+74>>1]|0;if(!(e&4)){f=d;b=0}else{g=h-(m&255)|0;f=k[a+16>>2]|0;if((k[f+68>>2]|0)>>>0<(k[f+64>>2]|0)>>>0){f=b;d=(e&65535)>>>8&255}else{yFa(a);f=k[a+8>>2]|0;d=i[o+75>>0]|0}b=d&255;do if(((k[a+28>>2]|0)-f|0)<=(b<<4|0)){d=k[a+44>>2]|0;if((d|0)<(b|0)){WEa(a,d+b|0);break}else{WEa(a,d<<1);break}}while(0);b=AGa(a,g,1)|0;if((g|0)>0){d=0;do{e=(k[a+8>>2]|0)+(0-g<<4)+(d<<4)|0;d=d+1|0;f=FGa(a,b,d)|0;u=k[e+4>>2]|0;k[f>>2]=k[e>>2];k[f+4>>2]=u;k[f+8>>2]=k[e+8>>2]}while((d|0)!=(g|0))}f=GGa(a,b,sGa(a,516719,1)|0)|0;p[f>>3]=+(g|0);k[f+8>>2]=3;f=k[a+8>>2]|0}d=0-h|0;e=f+(d<<4)|0;if(m<<24>>24){k[a+8>>2]=f+16;h=k[e+4>>2]|0;u=f;k[u>>2]=k[e>>2];k[u+4>>2]=h;u=f+(d<<4)+8|0;k[f+8>>2]=k[u>>2];k[u>>2]=0;if(m<<24>>24!=1){d=1;do{h=k[a+8>>2]|0;u=e+(d<<4)|0;k[a+8>>2]=h+16;g=k[u+4>>2]|0;k[h>>2]=k[u>>2];k[h+4>>2]=g;k[h+8>>2]=k[u+8>>2];k[u+8>>2]=0;d=d+1|0}while((d|0)!=(m&255|0))}}if(b|0){u=k[a+8>>2]|0;k[a+8>>2]=u+16;k[u>>2]=b;k[u+8>>2]=5}g=(k[s>>2]|0)+n|0}d=k[a+20>>2]|0;if((d|0)==(k[a+36>>2]|0)){b=k[a+48>>2]|0;if((b|0)>2e4)UEa(a,5);d=k[a+40>>2]|0;if((b<<1|1)>>>0<178956971)e=KFa(a,d,b*24|0,b*48|0)|0;else e=LFa(a)|0;k[a+40>>2]=e;k[a+48>>2]=b<<1;d=e+((((k[a+20>>2]|0)-d|0)/24|0)*24|0)|0;k[a+20>>2]=d;k[a+36>>2]=e+((b<<1)*24|0)+-24;if((b<<1|0)>2e4){PEa(a,515111,t);d=k[a+20>>2]|0}}m=d+24|0;k[a+20>>2]=m;k[d+28>>2]=g;k[m>>2]=f;k[a+12>>2]=f;b=f+(l[o+75>>0]<<4)|0;e=d+32|0;k[e>>2]=b;h=k[o+12>>2]|0;k[a+24>>2]=h;k[d+44>>2]=0;k[d+40>>2]=c;d=k[a+8>>2]|0;if(d>>>0>>0){b=k[e>>2]|0;do{k[d+8>>2]=0;d=d+16|0}while(d>>>0>>0);d=b}else d=b;g=d;k[a+8>>2]=d;b=j[a+56>>1]|0;e=d;if(!(b&1)){u=0;r=t;return u|0}k[a+24>>2]=h+4;f=k[a+68>>2]|0;if(!f)d=h+4|0;else if((b&65535)<256)d=h+4|0;else{b=k[q>>2]|0;k[t+12>>2]=0;k[t+12+20>>2]=-1;k[t+12+96>>2]=(m-(k[a+40>>2]|0)|0)/24|0;do if(((k[a+28>>2]|0)-e|0)<321){d=k[a+44>>2]|0;if((d|0)<20){WEa(a,d+20|0);break}else{WEa(a,d<<1);break}}while(0);k[(k[a+20>>2]|0)+8>>2]=(k[a+8>>2]|0)+320;i[a+57>>0]=0;Di[f&511](a,t+12|0);i[a+57>>0]=1;d=k[s>>2]|0;k[(k[a+20>>2]|0)+8>>2]=d+(g-b);k[a+8>>2]=d+(e-b);d=k[a+24>>2]|0}k[a+24>>2]=d+-4;u=0;r=t;return u|0}function $Ea(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0;n=r;r=r+112|0;c=j[a+56>>1]|0;if(!(c&2)){c=a+20|0;e=k[a+20>>2]|0}else{l=k[a+32>>2]|0;f=k[a+68>>2]|0;if(!f){c=l;f=l}else if((c&65535)<256){c=l;f=l}else{c=k[a+8>>2]|0;h=k[a+20>>2]|0;d=(k[h+8>>2]|0)-l|0;k[n>>2]=1;k[n+20>>2]=-1;k[n+96>>2]=(h-(k[a+40>>2]|0)|0)/24|0;do if(((k[a+28>>2]|0)-c|0)<321){e=k[a+44>>2]|0;if((e|0)<20){WEa(a,e+20|0);break}else{WEa(a,e<<1);break}}while(0);k[(k[a+20>>2]|0)+8>>2]=(k[a+8>>2]|0)+320;i[a+57>>0]=0;Di[f&511](a,n);i[a+57>>0]=1;f=k[a+32>>2]|0;k[(k[a+20>>2]|0)+8>>2]=f+d;k[a+8>>2]=f+(c-l);c=f}e=k[a+20>>2]|0;a:do if(!(i[(k[k[e+4>>2]>>2]|0)+6>>0]|0)){d=j[a+56>>1]|0;if(d&2){d=(d&65535)>>>8&255;g=f;while(1){f=e+20|0;h=k[f>>2]|0;k[f>>2]=h+-1;if(!h)break a;h=k[a+68>>2]|0;if(d<<24>>24==0|(h|0)==0)f=g;else{d=k[a+8>>2]|0;f=d-g|0;c=(k[e+8>>2]|0)-g|0;k[n>>2]=4;k[n+20>>2]=-1;k[n+96>>2]=0;do if(((k[a+28>>2]|0)-d|0)<321){d=k[a+44>>2]|0;if((d|0)<20){WEa(a,d+20|0);break}else{WEa(a,d<<1);break}}while(0);k[(k[a+20>>2]|0)+8>>2]=(k[a+8>>2]|0)+320;i[a+57>>0]=0;Di[h&511](a,n);i[a+57>>0]=1;h=k[a+32>>2]|0;e=k[a+20>>2]|0;k[e+8>>2]=h+c;k[a+8>>2]=h+f;c=h;f=h}d=j[a+56>>1]|0;if(!(d&2))break;else{d=(d&65535)>>>8&255;g=f}}}}while(0);b=c+(b-l)|0;c=a+20|0}l=e+-24|0;k[c>>2]=l;d=k[e+4>>2]|0;f=k[e+16>>2]|0;k[a+12>>2]=k[l>>2];k[a+24>>2]=k[e+-12>>2];if(!f){m=d;k[a+8>>2]=m;a=f+1|0;r=n;return a|0}else e=f;while(1){if(b>>>0>=(k[a+8>>2]|0)>>>0){c=e;break}c=d+16|0;g=b;h=k[g+4>>2]|0;l=d;k[l>>2]=k[g>>2];k[l+4>>2]=h;k[d+8>>2]=k[b+8>>2];e=e+-1|0;if(!e){m=27;break}else{b=b+16|0;d=c}}if((m|0)==27){k[a+8>>2]=c;a=f+1|0;r=n;return a|0}if((c|0)>0)e=c;else{m=d;k[a+8>>2]=m;a=f+1|0;r=n;return a|0}while(1){c=d+16|0;k[d+8>>2]=0;if((e|0)>1){e=e+-1|0;d=c}else break}k[a+8>>2]=c;a=f+1|0;r=n;return a|0}function aFa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;d=(j[a+52>>1]|0)+1<<16>>16;j[a+52>>1]=d;do if((d&65535)>199){if(d<<16>>16==200){PEa(a,515126,e);break}if((d&65535)>224)UEa(a,5)}while(0);if(!(_Ea(a,b,c)|0))VGa(a,1);j[a+52>>1]=(j[a+52>>1]|0)+-1<<16>>16;c=k[a+16>>2]|0;if((k[c+68>>2]|0)>>>0<(k[c+64>>2]|0)>>>0){r=e;return}yFa(a);r=e;return}function bFa(a,b){a=a|0;b=b|0;var c=0,d=0;switch(i[a+6>>0]|0){case 1:break;case 0:{c=k[a+20>>2]|0;if((c|0)!=(k[a+40>>2]|0))d=4;break}default:{c=k[a+20>>2]|0;d=4}}if((d|0)==4){d=k[c>>2]|0;k[a+8>>2]=d;b=sGa(a,515143,37)|0;k[d>>2]=b;k[d+8>>2]=4;do if(((k[a+28>>2]|0)-(k[a+8>>2]|0)|0)<17){c=k[a+44>>2]|0;if((c|0)<1){WEa(a,c+1|0);break}else{WEa(a,c<<1);break}}while(0);k[a+8>>2]=(k[a+8>>2]|0)+16;a=2;return a|0}c=j[a+52>>1]|0;if((c&65535)>199){d=k[k[a+20>>2]>>2]|0;k[a+8>>2]=d;b=sGa(a,515126,16)|0;k[d>>2]=b;k[d+8>>2]=4;do if(((k[a+28>>2]|0)-(k[a+8>>2]|0)|0)<17){c=k[a+44>>2]|0;if((c|0)<1){WEa(a,c+1|0);break}else{WEa(a,c<<1);break}}while(0);k[a+8>>2]=(k[a+8>>2]|0)+16;a=2;return a|0}j[a+52>>1]=c+1<<16>>16;j[a+54>>1]=c+1<<16>>16;c=VEa(a,214,(k[a+8>>2]|0)+(0-b<<4)|0)|0;if(!c)c=l[a+6>>0]|0;else{i[a+6>>0]=c;b=k[a+8>>2]|0;switch(c|0){case 4:{d=sGa(a,516170,17)|0;k[b>>2]=d;k[b+8>>2]=4;break}case 5:{d=sGa(a,515087,23)|0;k[b>>2]=d;k[b+8>>2]=4;break}case 2:case 3:{d=k[b+-16+4>>2]|0;k[b>>2]=k[b+-16>>2];k[b+4>>2]=d;k[b+8>>2]=k[b+-8>>2];break}default:{}}k[a+8>>2]=b+16;k[(k[a+20>>2]|0)+8>>2]=b+16}j[a+52>>1]=(j[a+52>>1]|0)+-1<<16>>16;a=c;return a|0}function cFa(a,b){a=a|0;b=b|0;var c=0;do if(!(i[a+6>>0]|0)){if(_Ea(a,b+-16|0,-1)|0)return}else{c=k[a+20>>2]|0;i[a+6>>0]=0;if(!(i[(k[k[c+4>>2]>>2]|0)+6>>0]|0)){k[a+12>>2]=k[c>>2];break}if($Ea(a,b)|0)k[a+8>>2]=k[(k[a+20>>2]|0)+8>>2]}while(0);VGa(a,((k[a+20>>2]|0)-(k[a+40>>2]|0)|0)/24|0);return}function dFa(a,b){a=a|0;b=b|0;var c=0,d=0;c=r;r=r+16|0;d=k[a+52>>2]|0;if((d&65535)>(d>>>16&65535))PEa(a,515181,c);k[a+12>>2]=(k[a+8>>2]|0)+(0-b<<4);i[a+6>>0]=1;r=c;return -1}function eFa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,l=0,m=0;f=j[a+52>>1]|0;h=k[a+20>>2]|0;l=k[a+40>>2]|0;g=i[a+57>>0]|0;m=k[a+116>>2]|0;k[a+116>>2]=e;c=VEa(a,b,c)|0;if(!c){k[a+116>>2]=m;return c|0}e=(k[a+32>>2]|0)+d|0;oFa(a,e);switch(c|0){case 4:{d=sGa(a,516170,17)|0;k[e>>2]=d;k[e+8>>2]=4;break}case 5:{d=sGa(a,515087,23)|0;k[e>>2]=d;k[e+8>>2]=4;break}case 2:case 3:{d=k[a+8>>2]|0;b=k[d+-16+4>>2]|0;k[e>>2]=k[d+-16>>2];k[e+4>>2]=b;k[e+8>>2]=k[d+-8>>2];break}default:{}}k[a+8>>2]=e+16;j[a+52>>1]=f;b=k[a+40>>2]|0;k[a+20>>2]=b+(h-l);k[a+12>>2]=k[b+(h-l)>>2];k[a+24>>2]=k[b+(h-l)+12>>2];i[a+57>>0]=g;e=k[a+48>>2]|0;if((e|0)<=2e4){k[a+116>>2]=m;return c|0}if((((h-l|0)/24|0)+1|0)>=2e4){k[a+116>>2]=m;return c|0}l=KFa(a,b,e*24|0,48e4)|0;k[a+40>>2]=l;k[a+48>>2]=2e4;k[a+20>>2]=l+((((k[a+20>>2]|0)-b|0)/24|0)*24|0);k[a+36>>2]=l+479976;k[a+116>>2]=m;return c|0}function fFa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+32|0;k[d>>2]=b;k[d+16>>2]=c;k[d+4>>2]=0;k[d+12>>2]=0;b=eFa(a,215,d,(k[a+8>>2]|0)-(k[a+32>>2]|0)|0,k[a+116>>2]|0)|0;KFa(a,k[d+4>>2]|0,k[d+12>>2]|0,0)|0;r=d;return b|0}function gFa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=XGa(k[b>>2]|0)|0;d=k[a+16>>2]|0;if((k[d+68>>2]|0)>>>0>=(k[d+64>>2]|0)>>>0)yFa(a);c=nj[((c|0)==27?79:80)&127](a,k[b>>2]|0,b+4|0,k[b+16>>2]|0)|0;b=kFa(a,l[c+72>>0]|0,k[a+72>>2]|0)|0;k[b+16>>2]=c;if(i[c+72>>0]|0){d=0;do{e=lFa(a)|0;k[b+20+(d<<2)>>2]=e;d=d+1|0}while((d|0)<(l[c+72>>0]|0))}e=k[a+8>>2]|0;k[e>>2]=b;k[e+8>>2]=6;if(((k[a+28>>2]|0)-(k[a+8>>2]|0)|0)>=17){e=k[a+8>>2]|0;e=e+16|0;k[a+8>>2]=e;return}c=k[a+44>>2]|0;if((c|0)<1){WEa(a,c+1|0);e=k[a+8>>2]|0;e=e+16|0;k[a+8>>2]=e;return}else{WEa(a,c<<1);e=k[a+8>>2]|0;e=e+16|0;k[a+8>>2]=e;return}}function hFa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=r;r=r+32|0;k[f>>2]=a;k[f+4>>2]=c;k[f+8>>2]=d;k[f+12>>2]=e;NGa(f+20|0);c=nj[c&127](a,f+20|0,12,d)|0;k[f+16>>2]=c;iFa(b,0,f);r=f;return k[f+16>>2]|0}function iFa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0,m=0;m=r;r=r+16|0;d=k[a+32>>2]|0;if((d|0)==(b|0))f=3;else if((d|0)==0|(k[c+12>>2]|0)!=0)f=3;else{k[m>>2]=(k[d+12>>2]|0)+1;b=k[c+16>>2]|0;if(!b){b=nj[k[c+4>>2]&127](k[c>>2]|0,m,4,k[c+8>>2]|0)|0;k[c+16>>2]=b;if(!b){b=nj[k[c+4>>2]&127](k[c>>2]|0,d+16|0,k[m>>2]|0,k[c+8>>2]|0)|0;k[c+16>>2]=b}}l=c+16|0}if((f|0)==3){k[m>>2]=0;b=k[c+16>>2]|0;if(!b){b=nj[k[c+4>>2]&127](k[c>>2]|0,m,4,k[c+8>>2]|0)|0;k[c+16>>2]=b}l=c+16|0}k[m>>2]=k[a+60>>2];if(!b){b=nj[k[c+4>>2]&127](k[c>>2]|0,m,4,k[c+8>>2]|0)|0;k[l>>2]=b}k[m>>2]=k[a+64>>2];if(!b){b=nj[k[c+4>>2]&127](k[c>>2]|0,m,4,k[c+8>>2]|0)|0;k[l>>2]=b}d=j[a+72>>1]|0;i[m>>0]=d;if(!b){b=nj[k[c+4>>2]&127](k[c>>2]|0,m,1,k[c+8>>2]|0)|0;k[l>>2]=b;i[m>>0]=i[a+73>>0]|0;if(!b){b=nj[k[c+4>>2]&127](k[c>>2]|0,m,1,k[c+8>>2]|0)|0;k[l>>2]=b}}else i[m>>0]=(d&65535)>>>8;d=j[a+74>>1]|0;i[m>>0]=d;if(!b){b=nj[k[c+4>>2]&127](k[c>>2]|0,m,1,k[c+8>>2]|0)|0;k[l>>2]=b;i[m>>0]=i[a+75>>0]|0;if(!b){b=nj[k[c+4>>2]&127](k[c>>2]|0,m,1,k[c+8>>2]|0)|0;k[l>>2]=b}}else i[m>>0]=(d&65535)>>>8;d=k[a+12>>2]|0;e=k[a+44>>2]|0;k[m>>2]=e;if(!b){b=nj[k[c+4>>2]&127](k[c>>2]|0,m,4,k[c+8>>2]|0)|0;k[l>>2]=b;if(!b){b=nj[k[c+4>>2]&127](k[c>>2]|0,d,e<<2,k[c+8>>2]|0)|0;k[l>>2]=b;d=k[a+40>>2]|0;k[m>>2]=d;if(!b){b=nj[k[c+4>>2]&127](k[c>>2]|0,m,4,k[c+8>>2]|0)|0;k[l>>2]=b}}else f=25}else f=25;if((f|0)==25){d=k[a+40>>2]|0;k[m>>2]=d}a:do if((d|0)>0){h=0;while(1){e=k[a+8>>2]|0;g=e+(h<<4)|0;e=e+(h<<4)+8|0;f=k[e>>2]|0;i[m>>0]=f;if(!b){b=nj[k[c+4>>2]&127](k[c>>2]|0,m,1,k[c+8>>2]|0)|0;k[l>>2]=b;f=k[e>>2]|0}b:do switch(f|0){case 4:{e=k[g>>2]|0;if(!e){k[m>>2]=0;if(!b){b=nj[k[c+4>>2]&127](k[c>>2]|0,m,4,k[c+8>>2]|0)|0;k[l>>2]=b}break b}k[m>>2]=(k[e+12>>2]|0)+1;if(!b){b=nj[k[c+4>>2]&127](k[c>>2]|0,m,4,k[c+8>>2]|0)|0;k[l>>2]=b;if(!b){b=nj[k[c+4>>2]&127](k[c>>2]|0,e+16|0,k[m>>2]|0,k[c+8>>2]|0)|0;k[l>>2]=b}}break}case 1:{i[m>>0]=k[g>>2];if(!b){b=nj[k[c+4>>2]&127](k[c>>2]|0,m,1,k[c+8>>2]|0)|0;k[l>>2]=b}break}case 3:{p[m>>3]=+p[g>>3];if(!b){b=nj[k[c+4>>2]&127](k[c>>2]|0,m,8,k[c+8>>2]|0)|0;k[l>>2]=b}break}default:{}}while(0);h=h+1|0;if((h|0)==(d|0))break a}}while(0);d=k[a+52>>2]|0;k[m>>2]=d;if(!b){h=nj[k[c+4>>2]&127](k[c>>2]|0,m,4,k[c+8>>2]|0)|0;k[l>>2]=h}if((d|0)>0){b=0;do{iFa(k[(k[a+16>>2]|0)+(b<<2)>>2]|0,k[a+32>>2]|0,c);b=b+1|0}while((b|0)!=(d|0))}if(!(k[c+12>>2]|0))e=k[a+48>>2]|0;else e=0;d=k[a+20>>2]|0;k[m>>2]=e;b=k[l>>2]|0;if(!b){b=nj[k[c+4>>2]&127](k[c>>2]|0,m,4,k[c+8>>2]|0)|0;k[l>>2]=b;if(!b){b=nj[k[c+4>>2]&127](k[c>>2]|0,d,e<<2,k[c+8>>2]|0)|0;k[l>>2]=b}}if(!(k[c+12>>2]|0))f=k[a+56>>2]|0;else f=0;k[m>>2]=f;if(!b){b=nj[k[c+4>>2]&127](k[c>>2]|0,m,4,k[c+8>>2]|0)|0;k[l>>2]=b}if((f|0)>0){e=0;do{d=k[(k[a+24>>2]|0)+(e*12|0)>>2]|0;if(!d){k[m>>2]=0;if(!b){b=nj[k[c+4>>2]&127](k[c>>2]|0,m,4,k[c+8>>2]|0)|0;k[l>>2]=b}}else{k[m>>2]=(k[d+12>>2]|0)+1;do if(!b){b=nj[k[c+4>>2]&127](k[c>>2]|0,m,4,k[c+8>>2]|0)|0;k[l>>2]=b;if(b|0)break;b=nj[k[c+4>>2]&127](k[c>>2]|0,d+16|0,k[m>>2]|0,k[c+8>>2]|0)|0;k[l>>2]=b}while(0)}d=k[a+24>>2]|0;k[m>>2]=k[d+(e*12|0)+4>>2];if(!b){b=nj[k[c+4>>2]&127](k[c>>2]|0,m,4,k[c+8>>2]|0)|0;k[l>>2]=b;d=k[a+24>>2]|0}k[m>>2]=k[d+(e*12|0)+8>>2];if(!b){b=nj[k[c+4>>2]&127](k[c>>2]|0,m,4,k[c+8>>2]|0)|0;k[l>>2]=b}e=e+1|0}while((e|0)!=(f|0))}if(!(k[c+12>>2]|0))f=k[a+36>>2]|0;else f=0;k[m>>2]=f;if(!b){b=nj[k[c+4>>2]&127](k[c>>2]|0,m,4,k[c+8>>2]|0)|0;k[l>>2]=b}if((f|0)<=0){r=m;return}e=0;do{d=k[(k[a+28>>2]|0)+(e<<2)>>2]|0;if(!d){k[m>>2]=0;if(!b){b=nj[k[c+4>>2]&127](k[c>>2]|0,m,4,k[c+8>>2]|0)|0;k[l>>2]=b}}else{k[m>>2]=(k[d+12>>2]|0)+1;do if(!b){b=nj[k[c+4>>2]&127](k[c>>2]|0,m,4,k[c+8>>2]|0)|0;k[l>>2]=b;if(b|0)break;b=nj[k[c+4>>2]&127](k[c>>2]|0,d+16|0,k[m>>2]|0,k[c+8>>2]|0)|0;k[l>>2]=b}while(0)}e=e+1|0}while((e|0)!=(f|0));r=m;return}function jFa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=KFa(a,0,0,(b<<4)+24|0)|0;HFa(a,d,6);i[d+6>>0]=1;k[d+12>>2]=c;i[d+7>>0]=b;return d|0}function kFa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=KFa(a,0,0,(b<<2)+20|0)|0;HFa(a,d,6);i[d+6>>0]=0;k[d+12>>2]=c;i[d+7>>0]=b;if(!b)return d|0;vBb(d+20|0,0,b<<2|0)|0;return d|0}function lFa(a){a=a|0;var b=0;b=KFa(a,0,0,32)|0;HFa(a,b,10);k[b+8>>2]=b+16;k[b+24>>2]=0;return b|0}function mFa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=k[a+16>>2]|0;c=k[a+104>>2]|0;a:do if(!c)c=a+104|0;else{e=a+104|0;while(1){d=k[c+8>>2]|0;if(d>>>0>>0){c=e;break a}if((d|0)==(b|0))break;d=k[c>>2]|0;if(!d)break a;else{e=c;c=d}}d=l[c+5>>0]|0;if(!(d&3&((l[f+20>>0]|0)^3))){f=c;return f|0}i[c+5>>0]=d^3;f=c;return f|0}while(0);a=KFa(a,0,0,32)|0;i[a+4>>0]=10;i[a+5>>0]=(l[f+20>>0]|0)&3;k[a+8>>2]=b;k[a>>2]=k[c>>2];k[c>>2]=a;k[a+16>>2]=f+120;b=k[f+136+4>>2]|0;k[a+20>>2]=b;k[b+16>>2]=a;k[f+136+4>>2]=a;f=a;return f|0}function nFa(a,b){a=a|0;b=b|0;var c=0;if((k[b+8>>2]|0)==(b+16|0)){KFa(a,b,32,0)|0;return}c=k[b+16+4>>2]|0;k[c+16>>2]=k[b+16>>2];k[(k[b+16>>2]|0)+16+4>>2]=c;KFa(a,b,32,0)|0;return}function oFa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=k[a+104>>2]|0;if(!c)return;g=(k[a+16>>2]|0)+20|0;while(1){e=c+8|0;f=k[e>>2]|0;if(f>>>0>>0){c=10;break}k[a+104>>2]=k[c>>2];d=c+16|0;if(!((l[c+5>>0]|0)&3&((l[g>>0]|0)^3))){h=k[d+4>>2]|0;k[h+16>>2]=k[d>>2];k[(k[d>>2]|0)+16+4>>2]=h;h=k[f+4>>2]|0;k[d>>2]=k[f>>2];k[d+4>>2]=h;k[d+8>>2]=k[f+8>>2];k[e>>2]=d;IFa(a,c)}else{if((f|0)!=(d|0)){h=k[d+4>>2]|0;k[h+16>>2]=k[d>>2];k[(k[d>>2]|0)+16+4>>2]=h}KFa(a,c,32,0)|0}c=k[a+104>>2]|0;if(!c){c=10;break}}if((c|0)==10)return}function pFa(a){a=a|0;var b=0,c=0;c=KFa(a,0,0,76)|0;HFa(a,c,9);a=c+8|0;b=a+60|0;do{k[a>>2]=0;a=a+4|0}while((a|0)<(b|0));k[c+72>>2]=0;return c|0}function qFa(a,b){a=a|0;b=b|0;KFa(a,k[b+12>>2]|0,k[b+44>>2]<<2,0)|0;KFa(a,k[b+16>>2]|0,k[b+52>>2]<<2,0)|0;KFa(a,k[b+8>>2]|0,k[b+40>>2]<<4,0)|0;KFa(a,k[b+20>>2]|0,k[b+48>>2]<<2,0)|0;KFa(a,k[b+24>>2]|0,(k[b+56>>2]|0)*12|0,0)|0;KFa(a,k[b+28>>2]|0,k[b+36>>2]<<2,0)|0;KFa(a,b,76,0)|0;return}function rFa(a,b){a=a|0;b=b|0;var c=0;c=j[b+6>>1]|0;KFa(a,b,(c&255)<<24>>24==0?(((c&65535)>>>8&65535)<<2)+20|0:(((c&65535)>>>8&65535)<<4)+24|0,0)|0;return}function sFa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=k[a+56>>2]|0;if((d|0)<=0){e=0;return e|0}e=k[a+24>>2]|0;a=0;while(1){if((k[e+(a*12|0)+4>>2]|0)>(c|0)){a=0;b=8;break}if((k[e+(a*12|0)+8>>2]|0)>(c|0)){b=b+-1|0;if(!b){b=6;break}}a=a+1|0;if((a|0)>=(d|0)){a=0;b=8;break}}if((b|0)==6){e=(k[e+(a*12|0)>>2]|0)+16|0;return e|0}else if((b|0)==8)return a|0;return 0}function tFa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0;h=k[a+16>>2]|0;d=k[h+112>>2]|0;c=k[d>>2]|0;if(!c){j=0;return j|0}e=c;c=0;a:while(1){b:do if(!b){g=e;while(1){e=g+5|0;f=i[e>>0]|0;if(!((f&8)==0&(f&3)!=0)){d=g;break b}f=k[g+8>>2]|0;if(!f){d=g;j=17;break b}if(i[f+6>>0]&4){d=g;j=17;break b}if(!(JGa(f,2,k[(k[a+16>>2]|0)+196>>2]|0)|0)){d=g;j=17;break b}c=c+24+(k[g+16>>2]|0)|0;i[e>>0]=l[e>>0]|0|8;k[d>>2]=k[g>>2];e=k[h+48>>2]|0;if(!e)k[g>>2]=g;else{k[g>>2]=k[e>>2];k[e>>2]=g}k[h+48>>2]=g;g=k[d>>2]|0;if(!g){j=22;break a}}}else{g=e;while(1){e=g+5|0;if(i[e>>0]&8){d=g;break b}f=k[g+8>>2]|0;if(!f){d=g;j=17;break b}if(i[f+6>>0]&4){d=g;j=17;break b}if(!(JGa(f,2,k[(k[a+16>>2]|0)+196>>2]|0)|0)){d=g;j=17;break b}c=c+24+(k[g+16>>2]|0)|0;i[e>>0]=l[e>>0]|0|8;k[d>>2]=k[g>>2];e=k[h+48>>2]|0;if(!e)k[g>>2]=g;else{k[g>>2]=k[e>>2];k[e>>2]=g}k[h+48>>2]=g;g=k[d>>2]|0;if(!g){j=22;break a}}}while(0);if((j|0)==17){j=0;i[e>>0]=l[e>>0]|0|8}e=k[d>>2]|0;if(!e){j=22;break}}if((j|0)==22)return c|0;return 0}function uFa(a){a=a|0;if(!(k[(k[a+16>>2]|0)+48>>2]|0))return;do vFa(a);while((k[(k[a+16>>2]|0)+48>>2]|0)!=0);return}function vFa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=k[a+16>>2]|0;b=k[c+48>>2]|0;d=k[b>>2]|0;if((d|0)==(b|0)){k[c+48>>2]=0;b=d}else{k[b>>2]=k[d>>2];b=d}e=k[c+112>>2]|0;k[b>>2]=k[e>>2];k[e>>2]=d;i[d+5>>0]=(l[c+20>>0]|0)&3|(l[d+5>>0]|0)&248;b=k[d+8>>2]|0;if(!b)return;if(i[b+6>>0]&4)return;b=JGa(b,2,k[c+196>>2]|0)|0;if(!b)return;f=i[a+57>>0]|0;e=k[c+64>>2]|0;i[a+57>>0]=0;k[c+64>>2]=k[c+68>>2]<<1;g=k[a+8>>2]|0;h=k[b+4>>2]|0;k[g>>2]=k[b>>2];k[g+4>>2]=h;k[g+8>>2]=k[b+8>>2];b=k[a+8>>2]|0;k[b+16>>2]=d;k[b+24>>2]=7;d=k[a+8>>2]|0;k[a+8>>2]=d+32;aFa(a,d,0);i[a+57>>0]=f;k[c+64>>2]=e;return}function wFa(a){a=a|0;var b=0,c=0;b=k[a+16>>2]|0;i[b+20>>0]=67;xFa(a,b+28|0,-3)|0;if((k[b+8>>2]|0)<=0)return;c=0;do{xFa(a,(k[b>>2]|0)+(c<<2)|0,-3)|0;c=c+1|0}while((c|0)<(k[b+8>>2]|0));return}function xFa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,m=0;h=k[a+16>>2]|0;m=(l[h+20>>0]|0)^3;d=k[b>>2]|0;if(!d){a=b;return a|0}while(1){if(!c){c=20;break}c=c+-1|0;g=d+4|0;e=j[g>>1]|0;if((e&255)<<24>>24==8){xFa(a,d+104|0,-3)|0;e=d+5|0;f=e;e=i[e>>0]|0}else{f=d+5|0;e=(e&65535)>>>8&255}e=e&255;a:do if(!((e^3)&m)){k[b>>2]=k[d>>2];if((d|0)==(k[h+28>>2]|0))k[h+28>>2]=k[d>>2];switch(l[g>>0]|0|0){case 9:{qFa(a,d);break a}case 6:{rFa(a,d);break a}case 10:{nFa(a,d);break a}case 5:{BGa(a,d);break a}case 8:{mGa(a,d);break a}case 4:{g=(k[a+16>>2]|0)+4|0;k[g>>2]=(k[g>>2]|0)+-1;KFa(a,d,(k[d+12>>2]|0)+17|0,0)|0;break a}case 7:{KFa(a,d,(k[d+16>>2]|0)+24|0,0)|0;break a}default:break a}}else{i[f>>0]=(l[h+20>>0]|0)&3|e&248;b=d}while(0);d=k[b>>2]|0;if(!d){c=20;break}}if((c|0)==20)return b|0;return 0}function yFa(a){a=a|0;var b=0,c=0,d=0;d=k[a+16>>2]|0;c=(k[d+84>>2]|0)*10|0;k[d+76>>2]=(k[d+68>>2]|0)-(k[d+64>>2]|0)+(k[d+76>>2]|0);c=(c|0)==0?2147483646:c;do{c=c-(zFa(a)|0)|0;b=(i[d+21>>0]|0)!=0}while(b&(c|0)>0);if(!b){c=ha(((k[d+72>>2]|0)>>>0)/100|0,k[d+80>>2]|0)|0;k[d+64>>2]=c;return}b=k[d+76>>2]|0;if(b>>>0<1024){k[d+64>>2]=(k[d+68>>2]|0)+1024;return}else{k[d+76>>2]=b+-1024;k[d+64>>2]=k[d+68>>2];return}}function zFa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0;q=k[a+16>>2]|0;switch(l[q+21>>0]|0|0){case 0:{AFa(a);q=0;return q|0}case 1:{if(k[q+36>>2]|0){q=DFa(q)|0;return q|0}b=k[q+136+4>>2]|0;if((b|0)!=(q+120|0)){do{if(!(i[b+5>>0]&7)){c=k[b+8>>2]|0;if((k[c+8>>2]|0)>3){c=k[c>>2]|0;if(i[c+5>>0]&3)BFa(q,c)}}b=k[b+16+4>>2]|0}while((b|0)!=(q+120|0));if(k[q+36>>2]|0)do DFa(q)|0;while((k[q+36>>2]|0)!=0)}k[q+36>>2]=k[q+44>>2];k[q+44>>2]=0;if(i[a+5>>0]&3)BFa(q,a);CFa(q);if(k[q+36>>2]|0)do DFa(q)|0;while((k[q+36>>2]|0)!=0);o=k[q+40>>2]|0;k[q+36>>2]=o;k[q+40>>2]=0;if(o|0)do DFa(q)|0;while((k[q+36>>2]|0)!=0);o=tFa(a,0)|0;b=k[q+48>>2]|0;if(b|0)do{b=k[b>>2]|0;n=b+5|0;i[n>>0]=(l[q+20>>0]|0)&3|(l[n>>0]|0)&248;BFa(q,b)}while((b|0)!=(k[q+48>>2]|0));if(!(k[q+36>>2]|0))b=0;else{b=0;do b=(DFa(q)|0)+b|0;while((k[q+36>>2]|0)!=0)}c=k[q+44>>2]|0;if(c|0)do{d=k[c+28>>2]|0;if(!((d|0)==0|(i[c+5>>0]&16)==0)){h=k[c+12>>2]|0;do{d=d+-1|0;e=h+(d<<4)+8|0;f=k[e>>2]|0;do if((f|0)>3){a=(k[h+(d<<4)>>2]|0)+5|0;g=i[a>>0]|0;if((f|0)==4){i[a>>0]=g&252;break}if(!(g&3))if(!((f|0)==7&(g&8)!=0))break;k[e>>2]=0}while(0)}while((d|0)!=0)}g=k[c+16>>2]|0;a=1<<(l[c+7>>0]|0);do{a=a+-1|0;d=g+(a<<5)|0;h=g+(a<<5)+8|0;j=k[h>>2]|0;do if(j|0){m=g+(a<<5)+24|0;n=k[m>>2]|0;do if((n|0)>3){e=(k[g+(a<<5)+16>>2]|0)+5|0;f=i[e>>0]|0;if((n|0)==4){i[e>>0]=f&252;p=42;break}if(!(f&3))p=42;else k[h>>2]=0}else p=42;while(0);if((p|0)==42){p=0;if((j|0)<=3)break;d=(k[d>>2]|0)+5|0;e=i[d>>0]|0;if((j|0)==4){i[d>>0]=e&252;break}if(!(e&3))if(!((j|0)==7&(e&8)!=0))break;k[h>>2]=0;if((n|0)<=3)break}k[m>>2]=11}while(0)}while((a|0)!=0);c=k[c+24>>2]|0}while((c|0)!=0);i[q+20>>0]=(l[q+20>>0]|0)^3;k[q+24>>2]=0;k[q+32>>2]=q+28;i[q+21>>0]=2;k[q+72>>2]=(k[q+68>>2]|0)-(b+o);q=0;return q|0}case 2:{b=k[q+68>>2]|0;p=k[q+24>>2]|0;k[q+24>>2]=p+1;xFa(a,(k[q>>2]|0)+(p<<2)|0,-3)|0;if((k[q+24>>2]|0)>=(k[q+8>>2]|0))i[q+21>>0]=3;k[q+72>>2]=(k[q+68>>2]|0)-b+(k[q+72>>2]|0);q=10;return q|0}case 3:{e=k[q+68>>2]|0;p=xFa(a,k[q+32>>2]|0,40)|0;k[q+32>>2]=p;if(!(k[p>>2]|0)){f=k[a+16>>2]|0;b=k[f+8>>2]|0;if((b|0)>64?(k[f+4>>2]|0)>>>0<((b|0)/4|0)>>>0:0)rGa(a,(b|0)/2|0);d=k[f+60>>2]|0;if(d>>>0>64){if(((d>>>1)+1|0)>>>0<4294967294){c=f+52|0;b=KFa(a,k[f+52>>2]|0,d,d>>>1)|0}else{c=f+52|0;b=LFa(a)|0}k[c>>2]=b;k[f+60>>2]=d>>>1}i[q+21>>0]=4}k[q+72>>2]=(k[q+68>>2]|0)-e+(k[q+72>>2]|0);q=400;return q|0}case 4:{if(!(k[q+48>>2]|0)){i[q+21>>0]=0;k[q+76>>2]=0;q=0;return q|0}vFa(a);b=k[q+72>>2]|0;if(b>>>0<=100){q=100;return q|0}k[q+72>>2]=b+-100;q=100;return q|0}default:{q=0;return q|0}}return 0}function AFa(a){a=a|0;var b=0,c=0;c=k[a+16>>2]|0;k[c+36>>2]=0;k[c+40>>2]=0;k[c+44>>2]=0;b=k[c+112>>2]|0;if(i[b+5>>0]&3){BFa(c,b);b=k[c+112>>2]|0}if((k[b+80>>2]|0)>3){b=k[b+72>>2]|0;if(i[b+5>>0]&3)BFa(c,b)}b=k[a+16>>2]|0;if((k[b+104>>2]|0)<=3){CFa(c);c=c+21|0;i[c>>0]=1;return}b=k[b+96>>2]|0;if(!(i[b+5>>0]&3)){CFa(c);c=c+21|0;i[c>>0]=1;return}BFa(c,b);CFa(c);c=c+21|0;i[c>>0]=1;return}function BFa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=i[b+5>>0]|0;a:while(1){e=b+5|0;c=c&252;i[e>>0]=c;switch(l[b+4>>0]|0|0){case 9:{c=15;break a}case 10:{d=b;c=7;break a}case 6:{c=12;break a}case 5:{c=13;break a}case 8:{c=14;break a}case 7:break;default:{c=16;break a}}d=k[b+8>>2]|0;i[e>>0]=c|4;if(d|0)if(i[d+5>>0]&3)BFa(a,d);b=k[b+12>>2]|0;c=i[b+5>>0]|0;if(!(c&3)){c=16;break}}if((c|0)==7){b=k[d+8>>2]|0;if((k[b+8>>2]|0)>3){c=k[b>>2]|0;if(i[c+5>>0]&3){BFa(a,c);b=k[d+8>>2]|0}}if((b|0)!=(d+16|0))return;i[e>>0]=l[e>>0]|0|4;return}else if((c|0)==12){k[b+8>>2]=k[a+36>>2];k[a+36>>2]=b;return}else if((c|0)==13){k[b+24>>2]=k[a+36>>2];k[a+36>>2]=b;return}else if((c|0)==14){k[b+108>>2]=k[a+36>>2];k[a+36>>2]=b;return}else if((c|0)==15){k[b+68>>2]=k[a+36>>2];k[a+36>>2]=b;return}else if((c|0)==16)return}function CFa(a){a=a|0;var b=0;b=k[a+152>>2]|0;if(b|0)if(i[b+5>>0]&3)BFa(a,b);b=k[a+156>>2]|0;if(b|0)if(i[b+5>>0]&3)BFa(a,b);b=k[a+160>>2]|0;if(b|0)if(i[b+5>>0]&3)BFa(a,b);b=k[a+164>>2]|0;if(b|0)if(i[b+5>>0]&3)BFa(a,b);b=k[a+168>>2]|0;if(b|0)if(i[b+5>>0]&3)BFa(a,b);b=k[a+172>>2]|0;if(b|0)if(i[b+5>>0]&3)BFa(a,b);b=k[a+176>>2]|0;if(b|0)if(i[b+5>>0]&3)BFa(a,b);b=k[a+180>>2]|0;if(b|0)if(i[b+5>>0]&3)BFa(a,b);b=k[a+184>>2]|0;if(!b)return;if(!(i[b+5>>0]&3))return;BFa(a,b);return}function DFa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0,p=0;p=k[a+36>>2]|0;i[p+5>>0]=l[p+5>>0]|0|4;b=j[p+4>>1]|0;switch(b&255|0){case 5:{k[a+36>>2]=k[p+24>>2];b=k[p+8>>2]|0;do if(!b){d=0;f=0;o=13}else{if(i[b+5>>0]&3){BFa(a,b);b=k[p+8>>2]|0;if(!b){d=0;f=0;o=13;break}}if(!(i[b+6>>0]&8)){b=JGa(b,3,k[a+200>>2]|0)|0;if(!b){d=0;f=0;o=13}else if((k[b+8>>2]|0)==4){c=(k[b>>2]|0)+16|0;b=(gob(c,107)|0)!=0;c=(gob(c,118)|0)!=0;if(b|c){i[p+5>>0]=(c&1)<<4|(b&1)<<3|(l[p+5>>0]|0)&231;k[p+24>>2]=k[a+44>>2];k[a+44>>2]=p}if(b&c){b=p+7|0;o=52;break}else if(c){d=b;e=1;f=b&1;n=c&1;o=19;break}else{d=b;f=b&1;o=13;break}}else{d=0;f=0;o=13}}else{d=0;f=0;o=13}}while(0);if((o|0)==13){b=k[p+28>>2]|0;if(!b){e=0;n=0;o=19}else{do{b=b+-1|0;c=k[p+12>>2]|0;if((k[c+(b<<4)+8>>2]|0)>3){c=k[c+(b<<4)>>2]|0;if(i[c+5>>0]&3)BFa(a,c)}}while((b|0)!=0);e=0;n=0;o=19}}if((o|0)==19){b=(1<<(l[p+7>>0]|0))+-1|0;a:do if(d){if(e){d=k[p+16>>2]|0;while(1){if(!(k[d+(b<<5)+8>>2]|0)){c=d+(b<<5)+24|0;if((k[c>>2]|0)>3)k[c>>2]=11}if(!b)break a;else b=b+-1|0}}else e=b;while(1){b=k[p+16>>2]|0;c=b+(e<<5)|0;d=k[b+(e<<5)+8>>2]|0;if(!d){b=b+(e<<5)+24|0;if((k[b>>2]|0)>3)k[b>>2]=11}else if((d|0)>3){b=k[c>>2]|0;if(i[b+5>>0]&3)BFa(a,b)}if(!e)break;else e=e+-1|0}}else{if(e){e=b;while(1){d=k[p+16>>2]|0;b=d+(e<<5)+24|0;c=(k[b>>2]|0)>3;if(!(k[d+(e<<5)+8>>2]|0)){if(c)k[b>>2]=11}else if(c){b=k[d+(e<<5)+16>>2]|0;if(i[b+5>>0]&3)BFa(a,b)}if(!e)break a;else e=e+-1|0}}else m=b;while(1){c=k[p+16>>2]|0;h=c+(m<<5)|0;g=c+(m<<5)+8|0;b=k[g>>2]|0;d=c+(m<<5)+24|0;e=(k[d>>2]|0)>3;if(!b){if(e)k[d>>2]=11}else{if(e){c=k[c+(m<<5)+16>>2]|0;if(i[c+5>>0]&3){BFa(a,c);b=k[g>>2]|0}}if((b|0)>3){b=k[h>>2]|0;if(i[b+5>>0]&3)BFa(a,b)}}if(!m)break;else m=m+-1|0}}while(0);if(!(n|f))b=p+7|0;else{b=p+7|0;o=52}}if((o|0)==52)i[p+5>>0]=(l[p+5>>0]|0)&251;p=(k[p+28>>2]<<4)+32+(32<<(l[b>>0]|0))|0;return p|0}case 6:{k[a+36>>2]=k[p+8>>2];b=k[p+12>>2]|0;if(i[b+5>>0]&3)BFa(a,b);c=j[p+6>>1]|0;if(!((c&255)<<24>>24)){b=k[p+16>>2]|0;if(!(i[b+5>>0]&3)){d=p+7|0;b=(c&65535)>>>8&255}else{BFa(a,b);d=p+7|0;b=i[p+7>>0]|0}if(b<<24>>24){c=0;do{b=k[p+20+(c<<2)>>2]|0;if(i[b+5>>0]&3)BFa(a,b);c=c+1|0}while((c|0)<(l[d>>0]|0|0))}}else if(((c&65535)>>>8&255)<<24>>24){b=(c&65535)>>>8&255;d=0;do{if((k[p+24+(d<<4)+8>>2]|0)>3){c=k[p+24+(d<<4)>>2]|0;if(i[c+5>>0]&3){BFa(a,c);b=i[p+7>>0]|0}}d=d+1|0}while((d|0)<(b&255|0))}b=j[p+6>>1]|0;if(!((b&255)<<24>>24)){p=(((b&65535)>>>8&65535)<<2)+20|0;return p|0}else{p=(((b&65535)>>>8&65535)<<4)+24|0;return p|0}}case 8:{k[a+36>>2]=k[p+108>>2];k[p+108>>2]=k[a+40>>2];k[a+40>>2]=p;i[p+5>>0]=(b&65535)>>>8&251;if((k[p+80>>2]|0)>3){b=k[p+72>>2]|0;if(i[b+5>>0]&3)BFa(a,b)}e=k[p+8>>2]|0;b=k[p+40>>2]|0;d=k[p+20>>2]|0;if(b>>>0>d>>>0)c=e;else{c=e;do{o=k[b+8>>2]|0;c=c>>>0>>0?o:c;b=b+24|0}while(b>>>0<=d>>>0)}b=k[p+32>>2]|0;if(b>>>0>>0)while(1){if((k[b+8>>2]|0)>3){d=k[b>>2]|0;if(!(i[d+5>>0]&3))d=e;else{BFa(a,d);d=k[p+8>>2]|0}}else d=e;b=b+16|0;if(b>>>0>>0)e=d;else break}if(b>>>0<=c>>>0)do{k[b+8>>2]=0;b=b+16|0}while(b>>>0<=c>>>0);c=c-(k[p+32>>2]|0)|0;b=k[p+48>>2]|0;if((b|0)>2e4)b=p+44|0;else{if((b|0)>16?((((k[p+20>>2]|0)-(k[p+40>>2]|0)|0)/24|0)<<2|0)<(b|0):0)XEa(p,(b|0)/2|0);b=k[p+44>>2]|0;if((c>>2|0)<(b|0)&(b|0)>90){WEa(p,(b|0)/2|0);b=p+44|0}else b=p+44|0}p=(k[b>>2]<<4)+120+((k[p+48>>2]|0)*24|0)|0;return p|0}case 9:{k[a+36>>2]=k[p+68>>2];b=k[p+32>>2]|0;if(b|0)i[b+5>>0]=(l[b+5>>0]|0)&252;b=k[p+40>>2]|0;if((b|0)>0){d=0;do{c=k[p+8>>2]|0;if((k[c+(d<<4)+8>>2]|0)>3){c=k[c+(d<<4)>>2]|0;if(i[c+5>>0]&3){BFa(a,c);b=k[p+40>>2]|0}}d=d+1|0}while((d|0)<(b|0))}b=k[p+36>>2]|0;if((b|0)>0){c=k[p+28>>2]|0;e=0;do{d=k[c+(e<<2)>>2]|0;if(d|0)i[d+5>>0]=(l[d+5>>0]|0)&252;e=e+1|0}while((e|0)!=(b|0))}b=k[p+52>>2]|0;if((b|0)>0){d=0;do{c=k[(k[p+16>>2]|0)+(d<<2)>>2]|0;if(c)if(i[c+5>>0]&3){BFa(a,c);b=k[p+52>>2]|0}d=d+1|0}while((d|0)<(b|0))}c=k[p+56>>2]|0;if((c|0)>0){d=k[p+24>>2]|0;f=0;do{e=k[d+(f*12|0)>>2]|0;if(e|0)i[e+5>>0]=(l[e+5>>0]|0)&252;f=f+1|0}while((f|0)!=(c|0))}p=(k[p+40>>2]<<4)+76+(c*12|0)+(b+(k[p+44>>2]|0)+(k[p+48>>2]|0)+(k[p+36>>2]|0)<<2)|0;return p|0}default:{p=0;return p|0}}return 0}function EFa(a){a=a|0;var b=0,c=0,d=0;b=k[a+16>>2]|0;c=i[b+21>>0]|0;if((c&255)<2){k[b+24>>2]=0;k[b+32>>2]=b+28;k[b+36>>2]=0;k[b+40>>2]=0;k[b+44>>2]=0;i[b+21>>0]=2;d=4}else if(c<<24>>24!=4)d=4;if((d|0)==4)while(1){zFa(a)|0;if((i[b+21>>0]|0)==4)break;else d=4}AFa(a);if(i[b+21>>0]|0)do zFa(a)|0;while((i[b+21>>0]|0)!=0);d=ha(((k[b+72>>2]|0)>>>0)/100|0,k[b+80>>2]|0)|0;k[b+64>>2]=d;return}function FFa(a,b,c){a=a|0;b=b|0;c=c|0;a=k[a+16>>2]|0;if((i[a+21>>0]|0)==1){BFa(a,c);return}else{i[b+5>>0]=l[a+20>>0]&3|l[b+5>>0]&248;return}}function GFa(a,b){a=a|0;b=b|0;a=k[a+16>>2]|0;i[b+5>>0]=(l[b+5>>0]|0)&251;k[b+24>>2]=k[a+40>>2];k[a+40>>2]=b;return}function HFa(a,b,c){a=a|0;b=b|0;c=c|0;a=k[a+16>>2]|0;k[b>>2]=k[a+28>>2];k[a+28>>2]=b;i[b+5>>0]=(l[a+20>>0]|0)&3;i[b+4>>0]=c;return}function IFa(a,b){a=a|0;b=b|0;var c=0;c=k[a+16>>2]|0;k[b>>2]=k[c+28>>2];k[c+28>>2]=b;a=l[b+5>>0]|0;if(a&7|0)return;if((i[c+21>>0]|0)!=1){i[b+5>>0]=l[c+20>>0]&3|a&248;return}i[b+5>>0]=a|4;a=k[b+8>>2]|0;if((k[a+8>>2]|0)<=3)return;a=k[a>>2]|0;if(!(i[a+5>>0]&3))return;BFa(c,a);return}function JFa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;i=r;r=r+16|0;g=k[c>>2]|0;if((g|0)<((e|0)/2|0|0))e=(g<<1|0)<4?4:g<<1;else if((g|0)>=(e|0))PEa(a,f,i);if((e+1|0)>>>0>(4294967293/(d>>>0)|0)>>>0){PEa(a,515232,i+8|0);a=0;k[c>>2]=e;r=i;return a|0}h=ha(k[c>>2]|0,d)|0;f=ha(e,d)|0;d=k[a+16>>2]|0;g=nj[k[d+12>>2]&127](k[d+16>>2]|0,b,h,f)|0;if((f|0)!=0&(g|0)==0)UEa(a,4);k[d+68>>2]=f-h+(k[d+68>>2]|0);a=g;k[c>>2]=e;r=i;return a|0}function KFa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=k[a+16>>2]|0;b=nj[k[e+12>>2]&127](k[e+16>>2]|0,b,c,d)|0;if((d|0)!=0&(b|0)==0)UEa(a,4);else{k[e+68>>2]=d-c+(k[e+68>>2]|0);return b|0}return 0}function LFa(a){a=a|0;var b=0;b=r;r=r+16|0;PEa(a,515232,b);r=b;return 0}function MFa(a){a=a|0;var b=0;if(a>>>0>15){b=1;while(1){a=a+1|0;b=b+1|0;if(a>>>0>31)a=a>>>1;else break}a=a>>>1;b=b<<3}else b=8;return (a>>>0<8?a:b|a+-8)|0}function NFa(a){a=a|0;if(!(a>>>3&31))return a|0;a=(a&7|8)<<(a>>>3&31)+-1;return a|0}function OFa(a){a=a|0;var b=0,c=0;if(a>>>0>255){c=a;b=-1;while(1){b=b+8|0;a=c>>>8;if(c>>>0>65535)c=a;else break}}else b=-1;return (l[515271+a>>0]|0)+b|0}function PFa(a,b){a=a|0;b=b|0;var c=0;c=k[a+8>>2]|0;a:do if((c|0)==(k[b+8>>2]|0))switch(c|0){case 0:{c=1;break a}case 3:{c=+p[a>>3]==+p[b>>3];break a}case 1:{c=(k[a>>2]|0)==(k[b>>2]|0);break a}case 2:{c=(k[a>>2]|0)==(k[b>>2]|0);break a}default:{c=(k[a>>2]|0)==(k[b>>2]|0);break a}}else c=0;while(0);return c&1|0}function QFa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0.0;e=r;r=r+16|0;f=+Tpb(a,e);p[b>>3]=f;c=k[e>>2]|0;if((c|0)==(a|0)){a=0;r=e;return a|0}d=i[c>>0]|0;switch(d<<24>>24){case 88:case 120:{f=+((tmb(a,e,16)|0)>>>0);p[b>>3]=f;d=k[e>>2]|0;c=d;d=i[d>>0]|0;break}default:{}}if(!(d<<24>>24)){a=1;r=e;return a|0}if(qmb(d&255)|0){do c=c+1|0;while((qmb(l[c>>0]|0)|0)!=0);k[e>>2]=c}a=(i[c>>0]|0)==0&1;r=e;return a|0}function RFa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0.0;h=r;r=r+32|0;d=k[a+8>>2]|0;g=sGa(a,1279174,0)|0;k[d>>2]=g;k[d+8>>2]=4;d=k[a+8>>2]|0;if(((k[a+28>>2]|0)-d|0)<17){YEa(a,1);d=k[a+8>>2]|0}d=d+16|0;k[a+8>>2]=d;e=gob(b,37)|0;a:do if(!e)e=1;else{g=e;e=1;while(1){f=sGa(a,b,g-b|0)|0;k[d>>2]=f;k[d+8>>2]=4;d=k[a+8>>2]|0;if(((k[a+28>>2]|0)-d|0)<17){YEa(a,1);d=k[a+8>>2]|0}b=d+16|0;k[a+8>>2]=b;f=g+1|0;switch(i[f>>0]|0){case 115:{d=(k[c>>2]|0)+(4-1)&~(4-1);f=k[d>>2]|0;k[c>>2]=d+4;f=(f|0)==0?616679:f;d=k[a+8>>2]|0;f=sGa(a,f,Fnb(f)|0)|0;k[d>>2]=f;k[d+8>>2]=4;d=k[a+8>>2]|0;if(((k[a+28>>2]|0)-d|0)<17){YEa(a,1);d=k[a+8>>2]|0}d=d+16|0;k[a+8>>2]=d;break}case 99:{f=(k[c>>2]|0)+(4-1)&~(4-1);d=k[f>>2]|0;k[c>>2]=f+4;i[h+8>>0]=d;i[h+8+1>>0]=0;d=k[a+8>>2]|0;f=sGa(a,h+8|0,Fnb(h+8|0)|0)|0;k[d>>2]=f;k[d+8>>2]=4;d=k[a+8>>2]|0;if(((k[a+28>>2]|0)-d|0)<17){YEa(a,1);d=k[a+8>>2]|0}d=d+16|0;k[a+8>>2]=d;break}case 100:{j=(k[c>>2]|0)+(4-1)&~(4-1);f=k[j>>2]|0;k[c>>2]=j+4;p[b>>3]=+(f|0);k[d+24>>2]=3;d=k[a+8>>2]|0;if(((k[a+28>>2]|0)-d|0)<17){YEa(a,1);d=k[a+8>>2]|0}d=d+16|0;k[a+8>>2]=d;break}case 102:{j=(k[c>>2]|0)+(8-1)&~(8-1);l=+p[j>>3];k[c>>2]=j+8;p[b>>3]=l;k[d+24>>2]=3;d=k[a+8>>2]|0;if(((k[a+28>>2]|0)-d|0)<17){YEa(a,1);d=k[a+8>>2]|0}d=d+16|0;k[a+8>>2]=d;break}case 112:{j=(k[c>>2]|0)+(4-1)&~(4-1);d=k[j>>2]|0;k[c>>2]=j+4;k[h>>2]=d;Fmb(h+8|0,617829,h)|0;d=k[a+8>>2]|0;j=sGa(a,h+8|0,Fnb(h+8|0)|0)|0;k[d>>2]=j;k[d+8>>2]=4;d=k[a+8>>2]|0;if(((k[a+28>>2]|0)-d|0)<17){YEa(a,1);d=k[a+8>>2]|0}d=d+16|0;k[a+8>>2]=d;break}case 37:{j=sGa(a,527871,1)|0;k[b>>2]=j;k[d+24>>2]=4;d=k[a+8>>2]|0;if(((k[a+28>>2]|0)-d|0)<17){YEa(a,1);d=k[a+8>>2]|0}d=d+16|0;k[a+8>>2]=d;break}default:{i[h+8>>0]=37;i[h+8+1>>0]=i[f>>0]|0;i[h+8+2>>0]=0;j=sGa(a,h+8|0,Fnb(h+8|0)|0)|0;k[b>>2]=j;k[d+24>>2]=4;d=k[a+8>>2]|0;if(((k[a+28>>2]|0)-d|0)<17){YEa(a,1);d=k[a+8>>2]|0}d=d+16|0;k[a+8>>2]=d}}e=e+2|0;b=g+2|0;g=gob(b,37)|0;if(!g)break a}}while(0);j=sGa(a,b,Fnb(b)|0)|0;k[d>>2]=j;k[d+8>>2]=4;d=k[a+8>>2]|0;if(((k[a+28>>2]|0)-d|0)>=17){g=d;g=g+16|0;k[a+8>>2]=g;j=e+1|0;c=a+12|0;c=k[c>>2]|0;c=g-c|0;c=c>>4;c=c+-1|0;UGa(a,j,c);c=k[a+8>>2]|0;j=0-e|0;j=c+(j<<4)|0;k[a+8>>2]=j;j=j+-16|0;j=k[j>>2]|0;j=j+16|0;r=h;return j|0}YEa(a,1);g=k[a+8>>2]|0;g=g+16|0;k[a+8>>2]=g;j=e+1|0;c=a+12|0;c=k[c>>2]|0;c=g-c|0;c=c>>4;c=c+-1|0;UGa(a,j,c);c=k[a+8>>2]|0;j=0-e|0;j=c+(j<<4)|0;k[a+8>>2]=j;j=j+-16|0;j=k[j>>2]|0;j=j+16|0;r=h;return j|0}function SFa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;k[d>>2]=c;c=RFa(a,b,d)|0;r=d;return c|0}function TFa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;switch(i[b>>0]|0){case 61:{dpb(a,b+1|0,c)|0;i[a+(c+-1)>>0]=0;return}case 64:{d=Fnb(b+1|0)|0;i[a>>0]=0;if(d>>>0>(c+-8|0)>>>0){f=a+(Fnb(a)|0)|0;i[f>>0]=46;i[f+1>>0]=46;i[f+2>>0]=46;i[f+3>>0]=0;d=b+1+(d-(c+-8))|0}else d=b+1|0;Zpb(a,d)|0;return}default:{d=Xpb(b,515527)|0;d=d>>>0>(c+-17|0)>>>0?c+-17|0:d;c=a;e=515530;f=c+10|0;do{i[c>>0]=i[e>>0]|0;c=c+1|0;e=e+1|0}while((c|0)<(f|0));if(!(i[b+d>>0]|0))Zpb(a,b)|0;else{_pb(a,b,d)|0;b=a+(Fnb(a)|0)|0;i[b>>0]=46;i[b+1>>0]=46;i[b+2>>0]=46;i[b+3>>0]=0}a=a+(Fnb(a)|0)|0;i[a>>0]=i[515540]|0;i[a+1>>0]=i[515541]|0;i[a+2>>0]=i[515542]|0;return}}}function UFa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=r;r=r+656|0;k[f+60>>2]=c;xIa(a,f,b,sGa(a,d,Fnb(d)|0)|0);d=k[f+52>>2]|0;c=pFa(d)|0;k[f+76>>2]=c;k[f+76+8>>2]=k[f+48>>2];k[f+76+12>>2]=f;k[f+76+16>>2]=d;k[f+48>>2]=f+76;k[f+76+24>>2]=0;k[f+76+28>>2]=-1;k[f+76+32>>2]=-1;b=f+76+36|0;k[f+76+20>>2]=0;k[b>>2]=0;k[b+4>>2]=0;k[b+8>>2]=0;j[b+12>>1]=0;i[b+14>>0]=0;k[c+32>>2]=k[f+64>>2];i[c+75>>0]=2;b=AGa(d,0,0)|0;k[f+76+4>>2]=b;a=k[d+8>>2]|0;k[a>>2]=b;k[a+8>>2]=5;a=k[d+8>>2]|0;if(((k[d+28>>2]|0)-a|0)<17){YEa(d,1);a=k[d+8>>2]|0}b=a+16|0;k[d+8>>2]=b;k[b>>2]=c;k[a+24>>2]=9;a=k[d+8>>2]|0;if(((k[d+28>>2]|0)-a|0)<17){YEa(d,1);a=k[d+8>>2]|0}k[d+8>>2]=a+16;i[(k[f+76>>2]|0)+74>>0]=2;yIa(f);d=(k[f+52>>2]|0)+52|0;b=(j[d>>1]|0)+1<<16>>16;j[d>>1]=b;if((b&65535)>200)uIa(f,515581,0);a:while(1){a=k[f+16>>2]|0;switch(a|0){case 287:case 276:case 262:case 261:case 260:break a;default:{}}a=VFa(f)|0;if((k[f+16>>2]|0)==59)yIa(f);b=k[f+48>>2]|0;k[b+36>>2]=l[b+50>>0];if(a|0){e=12;break}}if((e|0)==12)a=k[f+16>>2]|0;c=k[f+52>>2]|0;j[c+52>>1]=(j[c+52>>1]|0)+-1<<16>>16;if((a|0)==287){dGa(f);e=k[f+76>>2]|0;r=f;return e|0}e=tIa(f,287)|0;k[f+72>>2]=e;vIa(f,SFa(c,515657,f+72|0)|0);dGa(f);e=k[f+76>>2]|0;r=f;return e|0}function VFa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,s=0;s=r;r=r+144|0;o=k[a+4>>2]|0;do switch(k[a+16>>2]|0){case 266:{c=k[a+48>>2]|0;k[s+24>>2]=-1;b=WFa(a)|0;a:while(1){switch(k[a+16>>2]|0){case 260:{q=5;break a}case 261:break;default:{q=6;break a}}QHa(c,s+24|0,OHa(c)|0);UHa(c,b);b=WFa(a)|0}if((q|0)==5){QHa(c,s+24|0,OHa(c)|0);UHa(c,b);yIa(a);iGa(a)}else if((q|0)==6)QHa(c,s+24|0,b);UHa(c,k[s+24>>2]|0);$Fa(a,262,266,o);a=0;r=s;return a|0}case 277:{h=k[a+48>>2]|0;yIa(a);b=SHa(h)|0;XFa(a,s+24|0,0)|0;if((k[s+24>>2]|0)==1)k[s+24>>2]=3;jIa(k[a+48>>2]|0,s+24|0);n=k[s+24+20>>2]|0;k[s+4>>2]=-1;i[s+10>>0]=1;i[s+8>>0]=i[h+50>>0]|0;i[s+9>>0]=0;k[s>>2]=k[h+20>>2];k[h+20>>2]=s;if((k[a+16>>2]|0)!=259){q=k[a+52>>2]|0;p=tIa(a,259)|0;k[s+56>>2]=p;vIa(a,SFa(q,515657,s+56|0)|0)}yIa(a);iGa(a);THa(h,OHa(h)|0,b);$Fa(a,262,277,o);e=k[h+20>>2]|0;k[h+20>>2]=k[e>>2];f=j[e+8>>1]|0;c=k[(k[h+12>>2]|0)+48>>2]|0;b=i[c+50>>0]|0;if((b&255)>(f&255)){g=k[(k[c>>2]|0)+24>>2]|0;d=k[c+24>>2]|0;b=b&255;while(1){a=(b&255)+-1<<24>>24;i[c+50>>0]=a;k[g+((m[c+172+((a&255)<<1)>>1]|0)*12|0)+8>>2]=d;if((a&255)>(f&255))b=b+-1|0;else break}}if((f&65535)>=256)NHa(h,35,f&255,0,0)|0;k[h+36>>2]=l[h+50>>0];UHa(h,k[e+4>>2]|0);UHa(h,n);a=0;r=s;return a|0}case 259:{yIa(a);iGa(a);$Fa(a,262,259,o);a=0;r=s;return a|0}case 264:{h=k[a+48>>2]|0;k[s+4>>2]=-1;i[s+10>>0]=1;i[s+8>>0]=i[h+50>>0]|0;i[s+9>>0]=0;k[s>>2]=k[h+20>>2];k[h+20>>2]=s;yIa(a);if((k[a+16>>2]|0)!=285){p=k[a+52>>2]|0;n=tIa(a,285)|0;k[s+64>>2]=n;vIa(a,SFa(p,515657,s+64|0)|0)}d=k[a+24>>2]|0;yIa(a);switch(k[a+16>>2]|0){case 61:{b=k[a+48>>2]|0;c=k[b+36>>2]|0;cGa(a,wIa(a,516018,11)|0,0);cGa(a,wIa(a,516030,11)|0,1);cGa(a,wIa(a,516042,10)|0,2);cGa(a,d,3);if((k[a+16>>2]|0)!=61){q=k[a+52>>2]|0;p=tIa(a,61)|0;k[s+72>>2]=p;vIa(a,SFa(q,515657,s+72|0)|0)}yIa(a);XFa(a,s+24|0,0)|0;bIa(k[a+48>>2]|0,s+24|0);if((k[a+16>>2]|0)!=44){q=k[a+52>>2]|0;p=tIa(a,44)|0;k[s+80>>2]=p;vIa(a,SFa(q,515657,s+80|0)|0)}yIa(a);XFa(a,s+24|0,0)|0;bIa(k[a+48>>2]|0,s+24|0);if((k[a+16>>2]|0)==44){yIa(a);XFa(a,s+24|0,0)|0;bIa(k[a+48>>2]|0,s+24|0)}else{q=k[b+36>>2]|0;PHa(b,1,q,ZHa(b,1.0)|0)|0;WHa(b,1)}jGa(a,c,o,1,1);break}case 267:case 44:{f=k[a+48>>2]|0;g=k[f+36>>2]|0;cGa(a,wIa(a,516053,15)|0,0);cGa(a,wIa(a,516069,11)|0,1);cGa(a,wIa(a,516081,13)|0,2);cGa(a,d,3);b=k[a+16>>2]|0;if((b|0)==44){c=4;while(1){yIa(a);if((k[a+16>>2]|0)!=285){p=k[a+52>>2]|0;n=tIa(a,285)|0;k[s+88>>2]=n;vIa(a,SFa(p,515657,s+88|0)|0)}b=k[a+24>>2]|0;yIa(a);cGa(a,b,c);b=k[a+16>>2]|0;if((b|0)==44)c=c+1|0;else break}e=c+-2|0}else e=1;if((b|0)!=267){p=k[a+52>>2]|0;n=tIa(a,267)|0;k[s+96>>2]=n;vIa(a,SFa(p,515657,s+96|0)|0)}yIa(a);d=k[a+4>>2]|0;XFa(a,s+24|0,0)|0;if((k[a+16>>2]|0)==44){b=1;do{yIa(a);bIa(k[a+48>>2]|0,s+24|0);XFa(a,s+24|0,0)|0;b=b+1|0}while((k[a+16>>2]|0)==44)}else b=1;c=k[a+48>>2]|0;b=3-b|0;switch(k[s+24>>2]|0){case 14:case 13:{b=(b+1|0)<0?0:b+1|0;_Ha(c,s+24|0,b);if((b|0)>1)WHa(c,b+-1|0);break}case 0:{q=44;break}default:{bIa(c,s+24|0);q=44}}if((q|0)==44)if((b|0)>0){q=k[c+36>>2]|0;WHa(c,b);LHa(c,q,b)}VHa(f,3);jGa(a,g,d,e,0);break}default:vIa(a,516095)}$Fa(a,262,264,o);e=k[h+20>>2]|0;k[h+20>>2]=k[e>>2];f=j[e+8>>1]|0;c=k[(k[h+12>>2]|0)+48>>2]|0;b=i[c+50>>0]|0;if((b&255)>(f&255)){g=k[(k[c>>2]|0)+24>>2]|0;d=k[c+24>>2]|0;b=b&255;while(1){a=(b&255)+-1<<24>>24;i[c+50>>0]=a;k[g+((m[c+172+((a&255)<<1)>>1]|0)*12|0)+8>>2]=d;if((a&255)>(f&255))b=b+-1|0;else break}}if((f&65535)>=256)NHa(h,35,f&255,0,0)|0;k[h+36>>2]=l[h+50>>0];UHa(h,k[e+4>>2]|0);a=0;r=s;return a|0}case 272:{p=k[a+48>>2]|0;n=SHa(p)|0;k[s+4>>2]=-1;i[s+10>>0]=1;g=i[p+50>>0]|0;i[s+8>>0]=g;i[s+9>>0]=0;k[s>>2]=k[p+20>>2];k[s+124+4>>2]=-1;i[s+124+10>>0]=0;i[s+124+8>>0]=g;i[s+124+9>>0]=0;k[s+124>>2]=s;k[p+20>>2]=s+124;yIa(a);g=(k[a+52>>2]|0)+52|0;h=(j[g>>1]|0)+1<<16>>16;j[g>>1]=h;if((h&65535)>200)uIa(a,515581,0);b:do{switch(k[a+16>>2]|0){case 287:case 276:case 262:case 261:case 260:break b;default:{}}b=VFa(a)|0;if((k[a+16>>2]|0)==59)yIa(a);h=k[a+48>>2]|0;k[h+36>>2]=l[h+50>>0]}while(!(b|0));h=(k[a+52>>2]|0)+52|0;j[h>>1]=(j[h>>1]|0)+-1<<16>>16;$Fa(a,276,272,o);XFa(a,s+24|0,0)|0;if((k[s+24>>2]|0)==1)k[s+24>>2]=3;jIa(k[a+48>>2]|0,s+24|0);h=k[s+24+20>>2]|0;if(!(i[s+124+9>>0]|0)){e=k[p+20>>2]|0;k[p+20>>2]=k[e>>2];f=j[e+8>>1]|0;c=k[(k[p+12>>2]|0)+48>>2]|0;b=i[c+50>>0]|0;if((b&255)>(f&255)){g=k[(k[c>>2]|0)+24>>2]|0;d=k[c+24>>2]|0;b=b&255;while(1){q=(b&255)+-1<<24>>24;i[c+50>>0]=q;k[g+((m[c+172+((q&255)<<1)>>1]|0)*12|0)+8>>2]=d;if((q&255)>(f&255))b=b+-1|0;else break}}if((f&65535)>=256)NHa(p,35,f&255,0,0)|0;k[p+36>>2]=l[p+50>>0];UHa(p,k[e+4>>2]|0);THa(k[a+48>>2]|0,h,n);b=p+12|0}else{d=k[a+48>>2]|0;b=k[d+20>>2]|0;c:do if(!b){c=0;q=72}else{c=0;while(1){if(i[b+10>>0]|0)break c;c=l[b+9>>0]|c;b=k[b>>2]|0;if(!b){q=72;break}}}while(0);if((q|0)==72){vIa(a,516116);b=0}if(c|0)NHa(d,35,l[b+8>>0]|0,0,0)|0;QHa(d,b+4|0,OHa(d)|0);UHa(k[a+48>>2]|0,h);e=k[p+20>>2]|0;k[p+20>>2]=k[e>>2];f=j[e+8>>1]|0;c=k[(k[p+12>>2]|0)+48>>2]|0;b=i[c+50>>0]|0;if((b&255)>(f&255)){g=k[(k[c>>2]|0)+24>>2]|0;d=k[c+24>>2]|0;b=b&255;while(1){q=(b&255)+-1<<24>>24;i[c+50>>0]=q;k[g+((m[c+172+((q&255)<<1)>>1]|0)*12|0)+8>>2]=d;if((q&255)>(f&255))b=b+-1|0;else break}}if((f&65535)>=256)NHa(p,35,f&255,0,0)|0;k[p+36>>2]=l[p+50>>0];UHa(p,k[e+4>>2]|0);b=k[a+48>>2]|0;THa(b,OHa(p)|0,n);b=p+12|0}f=k[p+20>>2]|0;k[p+20>>2]=k[f>>2];g=j[f+8>>1]|0;c=k[(k[b>>2]|0)+48>>2]|0;b=i[c+50>>0]|0;if((b&255)>(g&255)){e=k[(k[c>>2]|0)+24>>2]|0;d=k[c+24>>2]|0;b=b&255;while(1){a=(b&255)+-1<<24>>24;i[c+50>>0]=a;k[e+((m[c+172+((a&255)<<1)>>1]|0)*12|0)+8>>2]=d;if((a&255)>(g&255))b=b+-1|0;else break}}if((g&65535)>=256)NHa(p,35,g&255,0,0)|0;k[p+36>>2]=l[p+50>>0];UHa(p,k[f+4>>2]|0);a=0;r=s;return a|0}case 265:{yIa(a);if((k[a+16>>2]|0)!=285){p=k[a+52>>2]|0;n=tIa(a,285)|0;k[s+104>>2]=n;vIa(a,SFa(p,515657,s+104|0)|0)}b=k[a+24>>2]|0;yIa(a);c=k[a+48>>2]|0;if((fGa(c,b,s+24|0,1)|0)==8){p=XHa(c,b)|0;k[s+24+8>>2]=p}d:while(1){switch(k[a+16>>2]|0){case 58:{q=93;break d}case 46:break;default:{b=0;break d}}gGa(a,s+24|0)}if((q|0)==93){gGa(a,s+24|0);b=1}aGa(a,s,b,o);hIa(k[a+48>>2]|0,s+24|0,s);qIa(k[a+48>>2]|0,o);a=0;r=s;return a|0}case 268:{yIa(a);b=k[a+16>>2]|0;if((b|0)==265){yIa(a);b=k[a+48>>2]|0;if((k[a+16>>2]|0)!=285){q=k[a+52>>2]|0;p=tIa(a,285)|0;k[s+112>>2]=p;vIa(a,SFa(q,515657,s+112|0)|0)}p=k[a+24>>2]|0;yIa(a);cGa(a,p,0);p=k[b+36>>2]|0;k[s+24+16>>2]=-1;k[s+24+20>>2]=-1;k[s+24>>2]=6;k[s+24+8>>2]=p;WHa(b,1);p=k[a+48>>2]|0;q=(l[p+50>>0]|0)+1|0;i[p+50>>0]=q;k[(k[(k[p>>2]|0)+24>>2]|0)+((m[p+172+((q&255)+-1<<1)>>1]|0)*12|0)+4>>2]=k[p+24>>2];aGa(a,s,0,k[a+4>>2]|0);hIa(b,s+24|0,s);k[(k[(k[b>>2]|0)+24>>2]|0)+((m[b+172+((l[b+50>>0]|0)+-1<<1)>>1]|0)*12|0)+4>>2]=k[b+24>>2];a=0;r=s;return a|0}c=0;e:while(1){if((b|0)!=285){q=k[a+52>>2]|0;p=tIa(a,285)|0;k[s+120>>2]=p;vIa(a,SFa(q,515657,s+120|0)|0)}q=k[a+24>>2]|0;yIa(a);d=c+1|0;cGa(a,q,c);switch(k[a+16>>2]|0){case 61:{q=104;break e}case 44:break;default:{q=107;break e}}yIa(a);b=k[a+16>>2]|0;c=d}if((q|0)==104){yIa(a);XFa(a,s+24|0,0)|0;if((k[a+16>>2]|0)==44){b=1;do{yIa(a);bIa(k[a+48>>2]|0,s+24|0);XFa(a,s+24|0,0)|0;b=b+1|0}while((k[a+16>>2]|0)==44);g=d}else{g=d;b=1}}else if((q|0)==107){k[s+24>>2]=0;g=d;b=0}c=k[a+48>>2]|0;b=g-b|0;switch(k[s+24>>2]|0){case 14:case 13:{b=(b+1|0)<0?0:b+1|0;_Ha(c,s+24|0,b);if((b|0)>1)WHa(c,b+-1|0);break}case 0:{q=112;break}default:{bIa(c,s+24|0);q=112}}if((q|0)==112)if((b|0)>0){q=k[c+36>>2]|0;WHa(c,b);LHa(c,q,b)}f=k[a+48>>2]|0;c=(l[f+50>>0]|0)+g|0;i[f+50>>0]=c;d=k[f+24>>2]|0;e=k[(k[f>>2]|0)+24>>2]|0;b=g;do{k[e+((m[f+172+((c&255)-b<<1)>>1]|0)*12|0)+4>>2]=d;b=b+-1|0}while((b|0)!=0);a=0;r=s;return a|0}case 273:{d=k[a+48>>2]|0;yIa(a);f:do switch(k[a+16>>2]|0){case 59:case 287:case 276:case 262:case 261:case 260:{c=0;b=0;break}default:{XFa(a,s+24|0,0)|0;if((k[a+16>>2]|0)==44){b=1;do{yIa(a);bIa(k[a+48>>2]|0,s+24|0);XFa(a,s+24|0,0)|0;b=b+1|0}while((k[a+16>>2]|0)==44)}else b=1;if(((k[s+24>>2]|0)+-13|0)>>>0<2){_Ha(d,s+24|0,-1);if((b|0)==1?(k[s+24>>2]|0)==13:0){a=(k[(k[d>>2]|0)+12>>2]|0)+(k[s+24+8>>2]<<2)|0;k[a>>2]=k[a>>2]&-64|29}c=l[d+50>>0]|0;b=-1;break f}else if((b|0)==1){c=eIa(d,s+24|0)|0;b=1;break f}else{bIa(d,s+24|0);c=l[d+50>>0]|0;break f}}}while(0);RHa(d,c,b);a=1;r=s;return a|0}case 258:{yIa(a);d=k[a+48>>2]|0;b=k[d+20>>2]|0;g:do if(!b){c=0;q=131}else{c=0;while(1){if(i[b+10>>0]|0)break g;c=l[b+9>>0]|c;b=k[b>>2]|0;if(!b){q=131;break}}}while(0);if((q|0)==131){vIa(a,516116);b=0}if(c|0)NHa(d,35,l[b+8>>0]|0,0,0)|0;QHa(d,b+4|0,OHa(d)|0);a=1;r=s;return a|0}default:{b=k[a+48>>2]|0;eGa(a,s+24+8|0);if((k[s+24+8>>2]|0)==13){a=(k[(k[b>>2]|0)+12>>2]|0)+(k[s+24+16>>2]<<2)|0;k[a>>2]=k[a>>2]&-8372225|16384}else{k[s+24>>2]=0;kGa(a,s+24|0,1)}a=0;r=s;return a|0}}while(0);return 0}function WFa(a){a=a|0;var b=0,c=0,d=0,e=0;c=r;r=r+32|0;yIa(a);XFa(a,c,0)|0;if((k[c>>2]|0)==1)k[c>>2]=3;jIa(k[a+48>>2]|0,c);b=k[c+20>>2]|0;if((k[a+16>>2]|0)==274){yIa(a);iGa(a);r=c;return b|0}d=k[a+52>>2]|0;e=tIa(a,274)|0;k[c+24>>2]=e;vIa(a,SFa(d,515657,c+24|0)|0);yIa(a);iGa(a);r=c;return b|0}function XFa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=r;r=r+32|0;d=(k[a+52>>2]|0)+52|0;f=(j[d>>1]|0)+1<<16>>16;j[d>>1]=f;if((f&65535)>200)uIa(a,515581,0);do switch(k[a+16>>2]|0){case 270:{d=1;e=6;break}case 45:{d=0;e=6;break}case 35:{d=2;e=6;break}case 284:{k[b+16>>2]=-1;k[b+20>>2]=-1;k[b>>2]=5;k[b+8>>2]=0;p[b+8>>3]=+p[a+24>>3];e=18;break}case 286:{e=XHa(k[a+48>>2]|0,k[a+24>>2]|0)|0;k[b+16>>2]=-1;k[b+20>>2]=-1;k[b>>2]=4;k[b+8>>2]=e;e=18;break}case 269:{k[b+16>>2]=-1;k[b+20>>2]=-1;k[b>>2]=1;k[b+8>>2]=0;e=18;break}case 275:{k[b+16>>2]=-1;k[b+20>>2]=-1;k[b>>2]=2;k[b+8>>2]=0;e=18;break}case 263:{k[b+16>>2]=-1;k[b+20>>2]=-1;k[b>>2]=3;k[b+8>>2]=0;e=18;break}case 279:{f=k[a+48>>2]|0;d=k[f>>2]|0;e=i[d+74>>0]|0;if(!(e<<24>>24)){vIa(a,515614);e=k[f>>2]|0;d=e;e=i[e+74>>0]|0}i[d+74>>0]=e&251;e=NHa(f,37,0,1,0)|0;k[b+16>>2]=-1;k[b+20>>2]=-1;k[b>>2]=14;k[b+8>>2]=e;e=18;break}case 123:{YFa(a,b);break}case 265:{yIa(a);aGa(a,b,0,k[a+4>>2]|0);break}default:eGa(a,b)}while(0);if((e|0)==6){yIa(a);XFa(a,b,8)|0;mIa(k[a+48>>2]|0,d,b)}else if((e|0)==18)yIa(a);do switch(k[a+16>>2]|0){case 43:{d=0;break}case 45:{d=1;break}case 42:{d=2;break}case 47:{d=3;break}case 37:{d=4;break}case 94:{d=5;break}case 278:{d=6;break}case 283:{d=7;break}case 280:{d=8;break}case 60:{d=9;break}case 282:{d=10;break}case 62:{d=11;break}case 281:{d=12;break}case 257:{d=13;break}case 271:{d=14;break}default:{b=15;a=k[a+52>>2]|0;a=a+52|0;c=j[a>>1]|0;c=c+-1<<16>>16;j[a>>1]=c;r=g;return b|0}}while(0);while(1){if((l[515988+(d<<1)>>0]|0)>>>0<=c>>>0){e=37;break}yIa(a);oIa(k[a+48>>2]|0,d,b);f=d;d=XFa(a,g,l[515988+(d<<1)+1>>0]|0)|0;pIa(k[a+48>>2]|0,f,b,g);if((d|0)==15){d=15;e=37;break}}if((e|0)==37){a=k[a+52>>2]|0;a=a+52|0;b=j[a>>1]|0;b=b+-1<<16>>16;j[a>>1]=b;r=g;return d|0}return 0}function YFa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=r;r=r+96|0;f=k[a+48>>2]|0;e=k[a+4>>2]|0;g=NHa(f,10,0,0,0)|0;k[h+36>>2]=0;k[h+28>>2]=0;k[h+32>>2]=0;k[h+24>>2]=b;k[b+16>>2]=-1;k[b+20>>2]=-1;k[b>>2]=11;k[b+8>>2]=g;k[h+16>>2]=-1;k[h+20>>2]=-1;k[h>>2]=0;k[h+8>>2]=0;bIa(k[a+48>>2]|0,b);if((k[a+16>>2]|0)!=123){d=k[a+52>>2]|0;c=tIa(a,123)|0;k[h+40>>2]=c;vIa(a,SFa(d,515657,h+40|0)|0)}yIa(a);a:do if((k[a+16>>2]|0)!=125){b=0;while(1){if(b|0){bIa(f,h);k[h>>2]=0;if((k[h+36>>2]|0)==50){rIa(f,k[(k[h+24>>2]|0)+8>>2]|0,k[h+32>>2]|0,50);k[h+36>>2]=0}}b:do switch(k[a+16>>2]|0){case 285:{DIa(a);if((k[a+32>>2]|0)==61){ZFa(a,h);break b}XFa(a,h,0)|0;b=k[h+32>>2]|0;if((b|0)>2147483645){d=k[a+48>>2]|0;b=k[(k[d>>2]|0)+60>>2]|0;c=k[d+16>>2]|0;if(!b){k[h+48>>2]=2147483645;k[h+48+4>>2]=515705;b=SFa(c,515671,h+48|0)|0}else{k[h+56>>2]=b;k[h+56+4>>2]=2147483645;k[h+56+8>>2]=515705;b=SFa(c,515728,h+56|0)|0}uIa(k[d+12>>2]|0,b,0);b=k[h+32>>2]|0}k[h+32>>2]=b+1;k[h+36>>2]=(k[h+36>>2]|0)+1;break}case 91:{ZFa(a,h);break}default:{XFa(a,h,0)|0;b=k[h+32>>2]|0;if((b|0)>2147483645){d=k[a+48>>2]|0;b=k[(k[d>>2]|0)+60>>2]|0;c=k[d+16>>2]|0;if(!b){k[h+72>>2]=2147483645;k[h+72+4>>2]=515705;b=SFa(c,515671,h+72|0)|0}else{k[h+80>>2]=b;k[h+80+4>>2]=2147483645;k[h+80+8>>2]=515705;b=SFa(c,515728,h+80|0)|0}uIa(k[d+12>>2]|0,b,0);b=k[h+32>>2]|0}k[h+32>>2]=b+1;k[h+36>>2]=(k[h+36>>2]|0)+1}}while(0);switch(k[a+16>>2]|0){case 44:{yIa(a);break}case 59:{yIa(a);break}default:break a}if((k[a+16>>2]|0)==125)break a;b=k[h>>2]|0}}while(0);$Fa(a,125,123,e);b=k[h+36>>2]|0;c:do if(b|0){switch(k[h>>2]|0){case 14:case 13:{_Ha(f,h,-1);rIa(f,k[(k[h+24>>2]|0)+8>>2]|0,k[h+32>>2]|0,-1);k[h+32>>2]=(k[h+32>>2]|0)+-1;break c}case 0:break;default:{bIa(f,h);b=k[h+36>>2]|0}}rIa(f,k[(k[h+24>>2]|0)+8>>2]|0,k[h+32>>2]|0,b)}while(0);a=k[(k[(k[f>>2]|0)+12>>2]|0)+(g<<2)>>2]&8388607;a=(MFa(k[h+32>>2]|0)|0)<<23|a;k[(k[(k[f>>2]|0)+12>>2]|0)+(g<<2)>>2]=a;a=(MFa(k[h+28>>2]|0)|0)<<14&8372224|a&-8372225;k[(k[(k[f>>2]|0)+12>>2]|0)+(g<<2)>>2]=a;r=h;return}function ZFa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=r;r=r+96|0;e=k[a+48>>2]|0;f=k[e+36>>2]|0;if((k[a+16>>2]|0)==285){if((k[b+28>>2]|0)>2147483645){c=k[(k[e>>2]|0)+60>>2]|0;d=k[e+16>>2]|0;if(!c){k[g+48>>2]=2147483645;k[g+48+4>>2]=515705;c=SFa(d,515671,g+48|0)|0}else{k[g+56>>2]=c;k[g+56+4>>2]=2147483645;k[g+56+8>>2]=515705;c=SFa(d,515728,g+56|0)|0}uIa(k[e+12>>2]|0,c,0);if((k[a+16>>2]|0)!=285){d=k[a+52>>2]|0;c=tIa(a,285)|0;k[g+72>>2]=c;vIa(a,SFa(d,515657,g+72|0)|0)}}c=k[a+24>>2]|0;yIa(a);c=XHa(k[a+48>>2]|0,c)|0;k[g+24+16>>2]=-1;k[g+24+20>>2]=-1;k[g+24>>2]=4;k[g+24+8>>2]=c;c=b+28|0}else{_Fa(a,g+24|0);c=b+28|0}k[c>>2]=(k[c>>2]|0)+1;if((k[a+16>>2]|0)==61){yIa(a);d=gIa(e,g+24|0)|0;XFa(a,g,0)|0;b=b+24|0;b=k[b>>2]|0;b=b+8|0;b=k[b>>2]|0;a=gIa(e,g)|0;NHa(e,9,b,d,a)|0;k[e+36>>2]=f;r=g;return}d=k[a+52>>2]|0;c=tIa(a,61)|0;k[g+80>>2]=c;vIa(a,SFa(d,515657,g+80|0)|0);yIa(a);d=gIa(e,g+24|0)|0;XFa(a,g,0)|0;b=b+24|0;b=k[b>>2]|0;b=b+8|0;b=k[b>>2]|0;a=gIa(e,g)|0;NHa(e,9,b,d,a)|0;k[e+36>>2]=f;r=g;return}function _Fa(a,b){a=a|0;b=b|0;var c=0,d=0;c=r;r=r+16|0;yIa(a);XFa(a,b,0)|0;fIa(k[a+48>>2]|0,b);if((k[a+16>>2]|0)==93){yIa(a);r=c;return}b=k[a+52>>2]|0;d=tIa(a,93)|0;k[c>>2]=d;vIa(a,SFa(b,515657,c)|0);yIa(a);r=c;return}function $Fa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=r;r=r+32|0;if((k[a+16>>2]|0)==(b|0)){yIa(a);r=f;return}g=(k[a+4>>2]|0)==(d|0);e=k[a+52>>2]|0;b=tIa(a,b)|0;if(g){k[f>>2]=b;vIa(a,SFa(e,515657,f)|0);r=f;return}else{g=tIa(a,c)|0;k[f+8>>2]=b;k[f+8+4>>2]=g;k[f+8+8>>2]=d;vIa(a,SFa(e,515768,f+8|0)|0);r=f;return}}function aGa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,s=0;s=r;r=r+592|0;bGa(a,s+12|0);k[(k[s+12>>2]|0)+60>>2]=d;if((k[a+16>>2]|0)!=40){q=k[a+52>>2]|0;p=tIa(a,40)|0;k[s>>2]=p;vIa(a,SFa(q,515657,s)|0)}yIa(a);if(!c){p=k[a+48>>2]|0;q=a+48|0;o=k[p>>2]|0}else{cGa(a,wIa(a,515809,4)|0,0);p=k[a+48>>2]|0;q=(l[p+50>>0]|0)+1|0;i[p+50>>0]=q;o=k[p>>2]|0;k[(k[o+24>>2]|0)+((m[p+172+((q&255)+-1<<1)>>1]|0)*12|0)+4>>2]=k[p+24>>2];q=a+48|0}f=o+74|0;i[f>>0]=0;c=k[a+16>>2]|0;a:do if((c|0)==41){c=0;e=0}else{e=0;b:while(1){switch(c|0){case 279:break b;case 285:{n=k[a+24>>2]|0;yIa(a);cGa(a,n,e);e=e+1|0;break}default:vIa(a,515859)}c=i[f>>0]|0;if(c<<24>>24)break a;if((k[a+16>>2]|0)!=44){c=0;break a}yIa(a);c=k[a+16>>2]|0}yIa(a);cGa(a,wIa(a,515855,3)|0,e);i[f>>0]=7;c=7;e=e+1|0}while(0);n=k[q>>2]|0;f=(l[n+50>>0]|0)+e|0;i[n+50>>0]=f;if(e|0){g=k[n+24>>2]|0;h=k[(k[n>>2]|0)+24>>2]|0;do{k[h+((m[n+172+((f&255)-e<<1)>>1]|0)*12|0)+4>>2]=g;e=e+-1|0}while((e|0)!=0)}n=l[p+50>>0]|0;i[o+73>>0]=n-(c&1);WHa(p,n);if((k[a+16>>2]|0)!=41){p=k[a+52>>2]|0;o=tIa(a,41)|0;k[s+8>>2]=o;vIa(a,SFa(p,515657,s+8|0)|0)}yIa(a);o=(k[a+52>>2]|0)+52|0;p=(j[o>>1]|0)+1<<16>>16;j[o>>1]=p;if((p&65535)>200)uIa(a,515581,0);c:do{switch(k[a+16>>2]|0){case 287:case 276:case 262:case 261:case 260:break c;default:{}}c=VFa(a)|0;if((k[a+16>>2]|0)==59)yIa(a);p=k[q>>2]|0;k[p+36>>2]=l[p+50>>0]}while(!(c|0));h=(k[a+52>>2]|0)+52|0;j[h>>1]=(j[h>>1]|0)+-1<<16>>16;k[(k[s+12>>2]|0)+64>>2]=k[a+4>>2];$Fa(a,262,265,d);dGa(a);h=k[q>>2]|0;g=k[h>>2]|0;c=k[g+52>>2]|0;if((k[h+44>>2]|0)<(c|0)){f=g+16|0;e=c}else{f=JFa(k[a+52>>2]|0,k[g+16>>2]|0,g+52|0,4,262143,517029)|0;k[g+16>>2]=f;f=g+16|0;e=k[g+52>>2]|0}if((c|0)<(e|0))do{k[(k[f>>2]|0)+(c<<2)>>2]=0;c=c+1|0}while((c|0)!=(e|0));c=k[s+12>>2]|0;e=k[h+44>>2]|0;k[h+44>>2]=e+1;k[(k[f>>2]|0)+(e<<2)>>2]=c;c=k[s+12>>2]|0;if(!(i[c+5>>0]&3))c=e+1|0;else if(!(i[g+5>>0]&4))c=e+1|0;else{FFa(k[a+52>>2]|0,g,c);c=k[h+44>>2]|0}a=PHa(h,36,0,c+-1|0)|0;k[b+16>>2]=-1;k[b+20>>2]=-1;k[b>>2]=11;k[b+8>>2]=a;if(!(i[(k[s+12>>2]|0)+72>>0]|0)){r=s;return}else c=0;do{NHa(h,(i[s+12+51+(c<<1)>>0]|0)==6?0:4,0,l[s+12+51+(c<<1)+1>>0]|0,0)|0;c=c+1|0}while((c|0)<(l[(k[s+12>>2]|0)+72>>0]|0));r=s;return}function bGa(a,b){a=a|0;b=b|0;var c=0,d=0;d=k[a+52>>2]|0;c=pFa(d)|0;k[b>>2]=c;k[b+8>>2]=k[a+48>>2];k[b+12>>2]=a;k[b+16>>2]=d;k[a+48>>2]=b;k[b+24>>2]=0;k[b+28>>2]=-1;k[b+32>>2]=-1;k[b+20>>2]=0;k[b+36>>2]=0;k[b+36+4>>2]=0;k[b+36+8>>2]=0;j[b+36+12>>1]=0;i[b+36+14>>0]=0;k[c+32>>2]=k[a+64>>2];i[c+75>>0]=2;a=AGa(d,0,0)|0;k[b+4>>2]=a;b=k[d+8>>2]|0;k[b>>2]=a;k[b+8>>2]=5;b=k[d+8>>2]|0;if(((k[d+28>>2]|0)-b|0)<17){YEa(d,1);b=k[d+8>>2]|0}a=b+16|0;k[d+8>>2]=a;k[a>>2]=c;k[b+24>>2]=9;b=k[d+8>>2]|0;if(((k[d+28>>2]|0)-b|0)>=17){c=b;c=c+16|0;k[d+8>>2]=c;return}YEa(d,1);c=k[d+8>>2]|0;c=c+16|0;k[d+8>>2]=c;return}function cGa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0;o=r;r=r+32|0;n=k[a+48>>2]|0;if(((l[n+50>>0]|0)+c|0)>199){e=k[(k[n>>2]|0)+60>>2]|0;d=k[n+16>>2]|0;if(!e){k[o>>2]=200;k[o+4>>2]=515814;d=SFa(d,515671,o)|0}else{k[o+8>>2]=e;k[o+8+4>>2]=200;k[o+8+8>>2]=515814;d=SFa(d,515728,o+8|0)|0}uIa(k[n+12>>2]|0,d,0);d=k[a+48>>2]|0}else d=n;m=k[d>>2]|0;e=k[m+56>>2]|0;g=d+48|0;if((j[g>>1]|0)<(e|0)){f=e;h=k[m+24>>2]|0}else{h=JFa(k[a+52>>2]|0,k[m+24>>2]|0,m+56|0,12,32767,515830)|0;k[m+24>>2]=h;f=k[m+56>>2]|0}if((e|0)<(f|0)){d=e;do{k[h+(d*12|0)>>2]=0;d=d+1|0}while((d|0)!=(f|0))}d=j[g>>1]|0;k[h+((d<<16>>16)*12|0)>>2]=b;if(!(i[b+5>>0]&3)){a=d;b=a+1<<16>>16;j[g>>1]=b;b=i[n+50>>0]|0;b=b&255;b=b+c|0;b=n+172+(b<<1)|0;j[b>>1]=a;r=o;return}if(!(i[m+5>>0]&4)){a=d;b=a+1<<16>>16;j[g>>1]=b;b=i[n+50>>0]|0;b=b&255;b=b+c|0;b=n+172+(b<<1)|0;j[b>>1]=a;r=o;return}FFa(k[a+52>>2]|0,m,b);a=j[g>>1]|0;b=a+1<<16>>16;j[g>>1]=b;b=i[n+50>>0]|0;b=b&255;b=b+c|0;b=n+172+(b<<1)|0;j[b>>1]=a;r=o;return}function dGa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=k[a+52>>2]|0;f=k[a+48>>2]|0;g=k[f>>2]|0;b=i[f+50>>0]|0;if(b<<24>>24){d=k[g+24>>2]|0;c=k[f+24>>2]|0;b=b&255;while(1){h=(b&255)+-1<<24>>24;i[f+50>>0]=h;k[d+((m[f+172+((h&255)<<1)>>1]|0)*12|0)+8>>2]=c;if(!(h<<24>>24))break;else b=b+-1|0}}RHa(f,0,0);b=k[f+24>>2]|0;if((b+1|0)>>>0<1073741824){c=g+12|0;d=g+44|0;b=KFa(e,k[g+12>>2]|0,k[g+44>>2]<<2,b<<2)|0}else{c=g+12|0;d=g+44|0;b=LFa(e)|0}k[c>>2]=b;b=k[f+24>>2]|0;k[d>>2]=b;if((b+1|0)>>>0<1073741824){c=g+48|0;d=g+20|0;b=KFa(e,k[g+20>>2]|0,k[g+48>>2]<<2,b<<2)|0}else{c=g+48|0;d=g+20|0;b=LFa(e)|0}k[d>>2]=b;k[c>>2]=k[f+24>>2];b=k[f+40>>2]|0;if((b+1|0)>>>0<268435456){c=g+8|0;d=g+40|0;b=KFa(e,k[g+8>>2]|0,k[g+40>>2]<<4,b<<4)|0}else{c=g+8|0;d=g+40|0;b=LFa(e)|0}k[c>>2]=b;k[d>>2]=k[f+40>>2];b=k[f+44>>2]|0;if((b+1|0)>>>0<1073741824){c=g+16|0;d=g+52|0;b=KFa(e,k[g+16>>2]|0,k[g+52>>2]<<2,b<<2)|0}else{c=g+16|0;d=g+52|0;b=LFa(e)|0}k[c>>2]=b;k[d>>2]=k[f+44>>2];b=j[f+48>>1]|0;if((b+1|0)>>>0<357913942){c=g+24|0;d=g+56|0;b=KFa(e,k[g+24>>2]|0,(k[g+56>>2]|0)*12|0,b*12|0)|0}else{c=g+24|0;d=g+56|0;b=LFa(e)|0}k[c>>2]=b;k[d>>2]=j[f+48>>1];h=KFa(e,k[g+28>>2]|0,k[g+36>>2]<<2,l[g+72>>0]<<2)|0;k[g+28>>2]=h;k[g+36>>2]=l[g+72>>0];k[a+48>>2]=k[f+8>>2];if(((k[a+16>>2]|0)+-285|0)>>>0>=2){h=e+8|0;a=k[h>>2]|0;a=a+-32|0;k[h>>2]=a;return}h=k[a+24>>2]|0;wIa(a,h+16|0,k[h+12>>2]|0)|0;h=e+8|0;a=k[h>>2]|0;a=a+-32|0;k[h>>2]=a;return}function eGa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=r;r=r+32|0;c=k[a+48>>2]|0;switch(k[a+16>>2]|0){case 40:{e=k[a+4>>2]|0;yIa(a);XFa(a,b,0)|0;$Fa(a,41,40,e);aIa(k[a+48>>2]|0,b);break}case 285:{d=k[a+24>>2]|0;yIa(a);e=k[a+48>>2]|0;if((fGa(e,d,b,1)|0)==8){e=XHa(e,d)|0;k[b+8>>2]=e}break}default:vIa(a,515893)}a:while(1)switch(k[a+16>>2]|0){case 46:{gGa(a,b);continue a}case 91:{eIa(c,b)|0;_Fa(a,f);lIa(c,b,f);continue a}case 58:{yIa(a);if((k[a+16>>2]|0)!=285){e=k[a+52>>2]|0;d=tIa(a,285)|0;k[f+24>>2]=d;vIa(a,SFa(e,515657,f+24|0)|0)}e=k[a+24>>2]|0;yIa(a);e=XHa(k[a+48>>2]|0,e)|0;k[f+16>>2]=-1;k[f+20>>2]=-1;k[f>>2]=4;k[f+8>>2]=e;iIa(c,b,f);hGa(a,b);continue a}case 123:case 286:case 40:{bIa(c,b);hGa(a,b);continue a}default:break a}r=f;return}function fGa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,n=0;n=r;r=r+32|0;if(!a){k[c+16>>2]=-1;k[c+20>>2]=-1;k[c>>2]=8;k[c+8>>2]=255;a=8;r=n;return a|0}e=l[a+50>>0]|0;while(1){f=e+-1|0;if((e|0)<=0)break;if((k[(k[(k[a>>2]|0)+24>>2]|0)+((m[a+172+(f<<1)>>1]|0)*12|0)>>2]|0)==(b|0)){j=6;break}else e=f}if((j|0)==6){k[c+16>>2]=-1;k[c+20>>2]=-1;k[c>>2]=6;k[c+8>>2]=f;if(d|0){a=6;r=n;return a|0}c=k[a+20>>2]|0;if(!c){a=6;r=n;return a|0}while(1){if((l[c+8>>0]|0|0)<(e|0))break;c=k[c>>2]|0;if(!c){c=6;j=32;break}}if((j|0)==32){r=n;return c|0}i[c+9>>0]=1;a=6;r=n;return a|0}if((fGa(k[a+8>>2]|0,b,c,0)|0)==8){a=8;r=n;return a|0}h=k[a>>2]|0;g=k[h+36>>2]|0;d=i[h+72>>0]|0;a:do if(!(d<<24>>24))j=17;else{f=k[c>>2]|0;e=0;while(1){if((l[a+51+(e<<1)>>0]|0|0)==(f|0))if((l[a+51+(e<<1)+1>>0]|0|0)==(k[c+8>>2]|0)){d=c+8|0;break a}e=e+1|0;if((e|0)>=(d&255|0)){j=17;break}}}while(0);if((j|0)==17){if(((d&255)+1|0)>>>0>60){e=k[h+60>>2]|0;d=k[a+16>>2]|0;if(!e){k[n>>2]=60;k[n+4>>2]=515884;e=SFa(d,515671,n)|0}else{k[n+8>>2]=e;k[n+8+4>>2]=60;k[n+8+8>>2]=515884;e=SFa(d,515728,n+8|0)|0}uIa(k[a+12>>2]|0,e,0);e=i[h+72>>0]|0;d=k[h+36>>2]|0}else{e=d;d=g}if((e&255|0)<(d|0))f=h+28|0;else{f=JFa(k[a+16>>2]|0,k[h+28>>2]|0,h+36|0,4,2147483645,1279174)|0;k[h+28>>2]=f;f=h+28|0;d=k[h+36>>2]|0}if((g|0)<(d|0)){e=g;do{k[(k[f>>2]|0)+(e<<2)>>2]=0;e=e+1|0}while((e|0)!=(d|0))}e=i[h+72>>0]|0;k[(k[f>>2]|0)+((e&255)<<2)>>2]=b;if(i[b+5>>0]&3)if(i[h+5>>0]&4){FFa(k[a+16>>2]|0,h,b);e=i[h+72>>0]|0}d=e&255;i[a+51+(d<<1)>>0]=k[c>>2];i[a+51+(d<<1)+1>>0]=k[c+8>>2];i[h+72>>0]=e+1<<24>>24;e=d;d=c+8|0}k[d>>2]=e;k[c>>2]=7;a=7;r=n;return a|0}function gGa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=r;r=r+32|0;c=k[a+48>>2]|0;eIa(c,b)|0;yIa(a);if((k[a+16>>2]|0)!=285){e=k[a+52>>2]|0;f=tIa(a,285)|0;k[d+24>>2]=f;vIa(a,SFa(e,515657,d+24|0)|0)}f=k[a+24>>2]|0;yIa(a);f=XHa(k[a+48>>2]|0,f)|0;k[d+16>>2]=-1;k[d+20>>2]=-1;k[d>>2]=4;k[d+8>>2]=f;lIa(c,b,d);r=d;return}function hGa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=r;r=r+32|0;d=k[a+48>>2]|0;e=k[a+4>>2]|0;switch(k[a+16>>2]|0){case 40:{if((e|0)!=(k[a+8>>2]|0))vIa(a,515911);yIa(a);if((k[a+16>>2]|0)==41)k[g>>2]=0;else{XFa(a,g,0)|0;if((k[a+16>>2]|0)==44)do{yIa(a);bIa(k[a+48>>2]|0,g);XFa(a,g,0)|0}while((k[a+16>>2]|0)==44);_Ha(d,g,-1)}$Fa(a,41,40,e);break}case 123:{YFa(a,g);break}case 286:{c=XHa(d,k[a+24>>2]|0)|0;k[g+16>>2]=-1;k[g+20>>2]=-1;k[g>>2]=4;k[g+8>>2]=c;yIa(a);break}default:{vIa(a,515960);r=g;return}}a=k[b+8>>2]|0;switch(k[g>>2]|0){case 14:case 13:{c=0;break}case 0:{f=15;break}default:{bIa(d,g);f=15}}if((f|0)==15)c=(k[d+36>>2]|0)-a|0;f=NHa(d,28,a,c,2)|0;k[b+16>>2]=-1;k[b+20>>2]=-1;k[b>>2]=13;k[b+8>>2]=f;qIa(d,e);k[d+36>>2]=a+1;r=g;return}function iGa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,n=0;h=r;r=r+16|0;g=k[a+48>>2]|0;k[h+4>>2]=-1;i[h+10>>0]=0;i[h+8>>0]=i[g+50>>0]|0;i[h+9>>0]=0;k[h>>2]=k[g+20>>2];k[g+20>>2]=h;e=(k[a+52>>2]|0)+52|0;f=(j[e>>1]|0)+1<<16>>16;j[e>>1]=f;if((f&65535)>200)uIa(a,515581,0);a:do{switch(k[a+16>>2]|0){case 287:case 276:case 262:case 261:case 260:break a;default:{}}b=VFa(a)|0;if((k[a+16>>2]|0)==59)yIa(a);f=k[a+48>>2]|0;k[f+36>>2]=l[f+50>>0]}while(!(b|0));d=(k[a+52>>2]|0)+52|0;j[d>>1]=(j[d>>1]|0)+-1<<16>>16;d=k[g+20>>2]|0;k[g+20>>2]=k[d>>2];e=j[d+8>>1]|0;a=k[(k[g+12>>2]|0)+48>>2]|0;b=i[a+50>>0]|0;if((b&255)>(e&255)){f=k[(k[a>>2]|0)+24>>2]|0;c=k[a+24>>2]|0;b=b&255;while(1){n=(b&255)+-1<<24>>24;i[a+50>>0]=n;k[f+((m[a+172+((n&255)<<1)>>1]|0)*12|0)+8>>2]=c;if((n&255)>(e&255))b=b+-1|0;else break}}if((e&65535)<256){f=i[g+50>>0]|0;f=f&255;n=g+36|0;k[n>>2]=f;n=d+4|0;n=k[n>>2]|0;UHa(g,n);r=h;return}NHa(g,35,e&255,0,0)|0;f=i[g+50>>0]|0;f=f&255;n=g+36|0;k[n>>2]=f;n=d+4|0;n=k[n>>2]|0;UHa(g,n);r=h;return}function jGa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,n=0,o=0,p=0,q=0,s=0,t=0;s=r;r=r+16|0;p=k[a+48>>2]|0;q=(l[p+50>>0]|0)+3|0;i[p+50>>0]=q;n=k[p+24>>2]|0;o=k[(k[p>>2]|0)+24>>2]|0;k[o+((m[p+172+((q&255)+-3<<1)>>1]|0)*12|0)+4>>2]=n;k[o+((m[p+172+((q&255)+-2<<1)>>1]|0)*12|0)+4>>2]=n;k[o+((m[p+172+((q&255)+-1<<1)>>1]|0)*12|0)+4>>2]=n;if((k[a+16>>2]|0)!=259){q=k[a+52>>2]|0;o=tIa(a,259)|0;k[s>>2]=o;vIa(a,SFa(q,515657,s)|0)}yIa(a);if(e|0)q=PHa(p,32,b,131070)|0;else q=OHa(p)|0;k[s+4+4>>2]=-1;i[s+4+10>>0]=0;i[s+4+8>>0]=i[p+50>>0]|0;i[s+4+9>>0]=0;k[s+4>>2]=k[p+20>>2];k[p+20>>2]=s+4;o=k[a+48>>2]|0;g=(l[o+50>>0]|0)+d|0;i[o+50>>0]=g;if(d|0){h=k[o+24>>2]|0;n=k[(k[o>>2]|0)+24>>2]|0;f=d;do{k[n+((m[o+172+((g&255)-f<<1)>>1]|0)*12|0)+4>>2]=h;f=f+-1|0}while((f|0)!=0)}WHa(p,d);iGa(a);n=k[p+20>>2]|0;k[p+20>>2]=k[n>>2];a=j[n+8>>1]|0;g=k[(k[p+12>>2]|0)+48>>2]|0;f=i[g+50>>0]|0;if((f&255)>(a&255)){o=k[(k[g>>2]|0)+24>>2]|0;h=k[g+24>>2]|0;f=f&255;while(1){t=(f&255)+-1<<24>>24;i[g+50>>0]=t;k[o+((m[g+172+((t&255)<<1)>>1]|0)*12|0)+8>>2]=h;if((t&255)>(a&255))f=f+-1|0;else break}}if((a&65535)>=256)NHa(p,35,a&255,0,0)|0;k[p+36>>2]=l[p+50>>0];UHa(p,k[n+4>>2]|0);UHa(p,q);if(e|0){d=PHa(p,31,b,131070)|0;qIa(p,c);t=q+1|0;THa(p,d,t);r=s;return}else{NHa(p,33,b,0,d)|0;qIa(p,c);d=OHa(p)|0;t=q+1|0;THa(p,d,t);r=s;return}}function kGa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0;l=r;r=r+96|0;if(((k[b+8>>2]|0)+-6|0)>>>0>=4)vIa(a,516133);switch(k[a+16>>2]|0){case 44:{yIa(a);k[l>>2]=b;eGa(a,l+8|0);if((k[l+8>>2]|0)==6){i=k[a+48>>2]|0;h=k[i+36>>2]|0;if(b|0){g=b;d=0;do{if((k[g+8>>2]|0)==9){f=g+16|0;e=k[l+16>>2]|0;if((k[f>>2]|0)==(e|0)){k[f>>2]=h;e=k[l+16>>2]|0;d=1}if((k[f+4>>2]|0)==(e|0)){k[f+4>>2]=h;d=1}}g=k[g>>2]|0}while((g|0)!=0);if(d|0){NHa(i,0,h,k[l+16>>2]|0,0)|0;WHa(i,1)}}}d=200-(m[(k[a+52>>2]|0)+52>>1]|0)|0;if((d|0)<(c|0)){g=k[a+48>>2]|0;e=k[(k[g>>2]|0)+60>>2]|0;f=k[g+16>>2]|0;if(!e){k[l+56>>2]=d;k[l+56+4>>2]=516146;d=SFa(f,515671,l+56|0)|0}else{k[l+64>>2]=e;k[l+64+4>>2]=d;k[l+64+8>>2]=516146;d=SFa(f,515728,l+64|0)|0}uIa(k[g+12>>2]|0,d,0)}kGa(a,l,c+1|0);e=l+32|0;d=a+48|0;break}case 61:{j=22;break}default:{j=k[a+52>>2]|0;i=tIa(a,61)|0;k[l+80>>2]=i;vIa(a,SFa(j,515657,l+80|0)|0);j=22}}if((j|0)==22){yIa(a);XFa(a,l+32|0,0)|0;if((k[a+16>>2]|0)==44){d=1;do{yIa(a);bIa(k[a+48>>2]|0,l+32|0);XFa(a,l+32|0,0)|0;d=d+1|0}while((k[a+16>>2]|0)==44)}else d=1;f=k[a+48>>2]|0;if((d|0)==(c|0)){$Ha(f,l+32|0);hIa(k[a+48>>2]|0,b+8|0,l+32|0);r=l;return}g=c-d|0;switch(k[l+32>>2]|0){case 14:case 13:{e=(g+1|0)<0?0:g+1|0;_Ha(f,l+32|0,e);if((e|0)>1)WHa(f,e+-1|0);break}case 0:{j=29;break}default:{bIa(f,l+32|0);j=29}}if((j|0)==29)if((g|0)>0){j=k[f+36>>2]|0;WHa(f,g);LHa(f,j,g)}if((d|0)>(c|0)){e=(k[a+48>>2]|0)+36|0;k[e>>2]=g+(k[e>>2]|0);e=l+32|0;d=a+48|0}else{e=l+32|0;d=a+48|0}}j=k[d>>2]|0;a=(k[j+36>>2]|0)+-1|0;k[l+32+16>>2]=-1;k[l+32+20>>2]=-1;k[e>>2]=12;k[l+32+8>>2]=a;hIa(j,b+8|0,l+32|0);r=l;return}function lGa(a){a=a|0;var b=0,c=0,d=0;b=KFa(a,0,0,120)|0;HFa(a,b,8);k[b+16>>2]=k[a+16>>2];k[b+32>>2]=0;k[b+44>>2]=0;k[b+112>>2]=0;k[b+68>>2]=0;i[b+56>>0]=0;k[b+60>>2]=0;i[b+57>>0]=1;k[b+64>>2]=0;k[b+104>>2]=0;k[b+48>>2]=0;j[b+54>>1]=0;j[b+52>>1]=0;i[b+6>>0]=0;k[b+20>>2]=0;k[b+40>>2]=0;k[b+24>>2]=0;k[b+116>>2]=0;k[b+80>>2]=0;d=KFa(a,0,0,192)|0;k[b+40>>2]=d;k[b+20>>2]=d;k[b+48>>2]=8;k[b+36>>2]=d+168;d=KFa(a,0,0,720)|0;k[b+32>>2]=d;k[b+44>>2]=45;k[b+28>>2]=d+624;c=k[b+20>>2]|0;k[c+4>>2]=d;k[b+8>>2]=d+16;k[d+8>>2]=0;k[c>>2]=d+16;k[b+12>>2]=d+16;k[c+8>>2]=d+336;c=k[a+72+4>>2]|0;k[b+72>>2]=k[a+72>>2];k[b+72+4>>2]=c;k[b+80>>2]=k[a+80>>2];i[b+56>>0]=i[a+56>>0]|0;c=k[a+60>>2]|0;k[b+60>>2]=c;k[b+68>>2]=k[a+68>>2];k[b+64>>2]=c;return b|0}function mGa(a,b){a=a|0;b=b|0;oFa(b,k[b+32>>2]|0);KFa(a,k[b+40>>2]|0,(k[b+48>>2]|0)*24|0,0)|0;KFa(a,k[b+32>>2]|0,k[b+44>>2]<<4,0)|0;KFa(a,b,120,0)|0;return}function nGa(a,b){a=a|0;b=b|0;var c=0;c=nj[a&127](b,0,0,376)|0;if(!c){c=0;return c|0}k[c>>2]=0;i[c+4>>0]=8;i[c+140>>0]=33;i[c+5>>0]=97;k[c+16>>2]=c+120;k[c+32>>2]=0;k[c+44>>2]=0;k[c+112>>2]=0;k[c+68>>2]=0;i[c+56>>0]=0;k[c+60>>2]=0;i[c+57>>0]=1;k[c+64>>2]=0;k[c+104>>2]=0;k[c+48>>2]=0;j[c+54>>1]=0;j[c+52>>1]=0;i[c+6>>0]=0;k[c+20>>2]=0;k[c+40>>2]=0;k[c+24>>2]=0;k[c+116>>2]=0;k[c+80>>2]=0;k[c+132>>2]=a;k[c+136>>2]=b;k[c+232>>2]=c;k[c+256>>2]=c+240;k[c+260>>2]=c+240;k[c+184>>2]=0;k[c+128>>2]=0;k[c+124>>2]=0;k[c+120>>2]=0;k[c+224>>2]=0;k[c+172>>2]=0;k[c+180>>2]=0;k[c+208>>2]=0;i[c+141>>0]=0;k[c+148>>2]=c;k[c+144>>2]=0;k[c+152>>2]=c+148;k[c+156>>2]=0;k[c+156+4>>2]=0;k[c+156+8>>2]=0;k[c+156+12>>2]=0;k[c+188>>2]=376;k[c+200>>2]=200;k[c+204>>2]=200;k[c+196>>2]=0;a=c+272|0;b=a+36|0;do{k[a>>2]=0;a=a+4|0}while((a|0)<(b|0));if(!(VEa(c,216,0)|0))return c|0;b=k[c+16>>2]|0;oFa(c,k[c+32>>2]|0);wFa(c);a=k[c+16>>2]|0;KFa(c,k[a>>2]|0,k[a+8>>2]<<2,0)|0;a=KFa(c,k[b+52>>2]|0,k[b+60>>2]|0,0)|0;k[b+52>>2]=a;k[b+60>>2]=0;KFa(c,k[c+40>>2]|0,(k[c+48>>2]|0)*24|0,0)|0;KFa(c,k[c+32>>2]|0,k[c+44>>2]<<4,0)|0;nj[k[b+12>>2]&127](k[b+16>>2]|0,c,376,0)|0;c=0;return c|0}function oGa(a,b){a=a|0;b=b|0;var c=0,d=0;b=k[a+16>>2]|0;d=KFa(a,0,0,192)|0;k[a+40>>2]=d;k[a+20>>2]=d;k[a+48>>2]=8;k[a+36>>2]=d+168;d=KFa(a,0,0,720)|0;k[a+32>>2]=d;k[a+44>>2]=45;k[a+28>>2]=d+624;c=k[a+20>>2]|0;k[c+4>>2]=d;k[a+8>>2]=d+16;k[d+8>>2]=0;k[c>>2]=d+16;k[a+12>>2]=d+16;k[c+8>>2]=d+336;c=AGa(a,0,2)|0;k[a+72>>2]=c;k[a+80>>2]=5;c=k[a+16>>2]|0;d=AGa(a,0,2)|0;k[c+96>>2]=d;k[c+104>>2]=5;rGa(a,32);IGa(a);sIa(a);a=(sGa(a,516170,17)|0)+5|0;i[a>>0]=l[a>>0]|0|32;k[b+64>>2]=k[b+68>>2]<<2;return}function pGa(a){a=a|0;var b=0,c=0;a=k[(k[a+16>>2]|0)+112>>2]|0;oFa(a,k[a+32>>2]|0);tFa(a,1)|0;k[a+116>>2]=0;do{b=k[a+40>>2]|0;k[a+20>>2]=b;b=k[b>>2]|0;k[a+8>>2]=b;k[a+12>>2]=b;j[a+54>>1]=0;j[a+52>>1]=0}while((VEa(a,217,0)|0)!=0);b=k[a+16>>2]|0;oFa(a,k[a+32>>2]|0);wFa(a);c=k[a+16>>2]|0;KFa(a,k[c>>2]|0,k[c+8>>2]<<2,0)|0;c=KFa(a,k[b+52>>2]|0,k[b+60>>2]|0,0)|0;k[b+52>>2]=c;k[b+60>>2]=0;KFa(a,k[a+40>>2]|0,(k[a+48>>2]|0)*24|0,0)|0;KFa(a,k[a+32>>2]|0,k[a+44>>2]<<4,0)|0;nj[k[b+12>>2]&127](k[b+16>>2]|0,a,376,0)|0;return}function qGa(a,b){a=a|0;b=b|0;uFa(a);return}function rGa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0;if((i[(k[a+16>>2]|0)+21>>0]|0)==2)return;if((b+1|0)>>>0<1073741824)e=KFa(a,0,0,b<<2)|0;else e=LFa(a)|0;d=k[a+16>>2]|0;if((b|0)>0)vBb(e|0,0,b<<2|0)|0;f=k[d+8>>2]|0;if((f|0)>0){g=0;do{c=k[(k[d>>2]|0)+(g<<2)>>2]|0;if(c|0)do{j=c;c=k[c>>2]|0;h=e+((k[j+8>>2]&b+-1)<<2)|0;k[j>>2]=k[h>>2];k[h>>2]=j}while((c|0)!=0);g=g+1|0}while((g|0)<(f|0))}KFa(a,k[d>>2]|0,f<<2,0)|0;k[d+8>>2]=b;k[d>>2]=e;return}function sGa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;if(((c>>>5)+1|0)>>>0>c>>>0)g=c;else{d=c;e=c;do{d=(d<<5)+(d>>>2)+(l[b+(e+-1)>>0]|0)^d;e=e-((c>>>5)+1)|0}while(e>>>0>=((c>>>5)+1|0)>>>0);g=d}f=k[a+16>>2]|0;e=k[(k[f>>2]|0)+(((k[f+8>>2]|0)+-1&g)<<2)>>2]|0;a:do if(e|0){while(1){if((k[e+12>>2]|0)==(c|0))if(!(Emb(b,e+16|0,c)|0))break;e=k[e>>2]|0;if(!e)break a}d=l[e+5>>0]|0;if(!(d&3&((l[f+20>>0]|0)^3))){a=e;return a|0}i[e+5>>0]=d^3;a=e;return a|0}while(0);if((c+1|0)>>>0>4294967277)LFa(a)|0;e=KFa(a,0,0,c+17|0)|0;k[e+12>>2]=c;k[e+8>>2]=g;i[e+5>>0]=(l[(k[a+16>>2]|0)+20>>0]|0)&3;i[e+4>>0]=4;i[e+6>>0]=0;ABb(e+16|0,b|0,c|0)|0;i[e+16+c>>0]=0;c=k[a+16>>2]|0;d=k[c+8>>2]|0;b=(k[c>>2]|0)+((d+-1&g)<<2)|0;k[e>>2]=k[b>>2];k[b>>2]=e;b=(k[c+4>>2]|0)+1|0;k[c+4>>2]=b;if(!((d|0)<1073741823&b>>>0>d>>>0)){a=e;return a|0}rGa(a,d<<1);a=e;return a|0}function tGa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(b>>>0>4294967269)LFa(a)|0;d=KFa(a,0,0,b+24|0)|0;a=k[a+16>>2]|0;i[d+5>>0]=(l[a+20>>0]|0)&3;i[d+4>>0]=7;k[d+16>>2]=b;k[d+8>>2]=0;k[d+12>>2]=c;b=k[a+112>>2]|0;k[d>>2]=k[b>>2];k[b>>2]=d;return d|0}function uGa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0.0,g=0,h=0,i=0,j=0;j=r;r=r+16|0;a:do switch(k[c+8>>2]|0){case 0:{d=-1;break}case 3:{f=+p[c>>3];if((~~f|0)>0&+(~~f|0)==f)if((~~f|0)<=(k[b+28>>2]|0)){d=~~f+-1|0;break a}d=k[b+16>>2]|0;if(f==0.0)i=11;else{p[t>>3]=f;d=d+(((((k[t+4>>2]|0)+(k[t>>2]|0)|0)>>>0)%(((1<<(l[b+7>>0]|0))+-1|1)>>>0)|0)<<5)|0;i=11}break}case 2:{d=(k[b+16>>2]|0)+((((k[c>>2]|0)>>>0)%(((1<<(l[b+7>>0]|0))+-1|1)>>>0)|0)<<5)|0;i=11;break}case 4:{d=(k[b+16>>2]|0)+(((1<<(l[b+7>>0]|0))+-1&k[(k[c>>2]|0)+8>>2])<<5)|0;i=11;break}case 1:{d=(k[b+16>>2]|0)+(((1<<(l[b+7>>0]|0))+-1&k[c>>2])<<5)|0;i=11;break}default:{d=(k[b+16>>2]|0)+((((k[c>>2]|0)>>>0)%(((1<<(l[b+7>>0]|0))+-1|1)>>>0)|0)<<5)|0;i=11}}while(0);do if((i|0)==11){while(1){e=d+16|0;if(PFa(e,c)|0){i=16;break}if((k[d+24>>2]|0)==11)if((k[c+8>>2]|0)>3)if((k[e>>2]|0)==(k[c>>2]|0)){i=16;break}d=k[d+28>>2]|0;if(!d){i=18;break}}if((i|0)==16){d=(d-(k[b+16>>2]|0)>>5)+(k[b+28>>2]|0)|0;break}else if((i|0)==18){PEa(a,516188,j);d=0;break}}while(0);g=k[b+28>>2]|0;while(1){h=d+1|0;if((h|0)>=(g|0))break;e=k[b+12>>2]|0;if(!(k[e+(h<<4)+8>>2]|0))d=h;else{i=22;break}}if((i|0)==22){p[c>>3]=+(d+2|0);k[c+8>>2]=3;b=k[e+(h<<4)+4>>2]|0;k[c+16>>2]=k[e+(h<<4)>>2];k[c+16+4>>2]=b;k[c+24>>2]=k[e+(h<<4)+8>>2];c=1;r=j;return c|0}e=1<<(l[b+7>>0]|0);if((h-g|0)>=(e|0)){c=0;r=j;return c|0}a=k[b+16>>2]|0;d=h-g|0;while(1){if(k[a+(d<<5)+8>>2]|0)break;d=d+1|0;if((d|0)>=(e|0)){d=0;i=28;break}}if((i|0)==28){r=j;return d|0}i=k[a+(d<<5)+16+4>>2]|0;k[c>>2]=k[a+(d<<5)+16>>2];k[c+4>>2]=i;k[c+8>>2]=k[a+(d<<5)+24>>2];b=k[b+16>>2]|0;i=k[b+(d<<5)+4>>2]|0;k[c+16>>2]=k[b+(d<<5)>>2];k[c+16+4>>2]=i;k[c+24>>2]=k[b+(d<<5)+8>>2];c=1;r=j;return c|0}function vGa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((k[b+16>>2]|0)==621304)d=0;else d=1<<(l[b+7>>0]|0);wGa(a,b,c,d);return}function wGa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,m=0.0,n=0,o=0,q=0,s=0,u=0;s=r;r=r+32|0;n=k[b+28>>2]|0;o=i[b+7>>0]|0;q=k[b+16>>2]|0;if((n|0)<(c|0)){if((c+1|0)>>>0<268435456){e=b+12|0;f=KFa(a,k[b+12>>2]|0,n<<4,c<<4)|0}else{e=b+12|0;f=LFa(a)|0}k[e>>2]=f;e=k[b+28>>2]|0;if((e|0)<(c|0))do{k[f+(e<<4)+8>>2]=0;e=e+1|0}while((e|0)!=(c|0));k[b+28>>2]=c}xGa(a,b,d);if((n|0)>(c|0)){k[b+28>>2]=c;h=c;do{d=k[b+12>>2]|0;g=d+(h<<4)+8|0;j=h;h=h+1|0;if(k[g>>2]|0){a:do if(j>>>0<(k[b+28>>2]|0)>>>0){e=d+(j<<4)|0;f=19}else{m=+(h|0);e=k[b+16>>2]|0;if(h){p[t>>3]=m;e=e+(((((k[t+4>>2]|0)+(k[t>>2]|0)|0)>>>0)%(((1<<(l[b+7>>0]|0))+-1|1)>>>0)|0)<<5)|0}while(1){if((k[e+24>>2]|0)==3)if(+p[e+16>>3]==m)break;e=k[e+28>>2]|0;if(!e){f=21;break a}}f=19}while(0);if((f|0)==19){f=0;if((e|0)==621288){m=+(h|0);f=21}}if((f|0)==21){p[s>>3]=m;k[s+8>>2]=3;e=yGa(a,b,s)|0}u=k[d+(j<<4)+4>>2]|0;f=e;k[f>>2]=k[d+(j<<4)>>2];k[f+4>>2]=u;k[e+8>>2]=k[g>>2]}}while((h|0)!=(n|0));if((c+1|0)>>>0<268435456){f=b+12|0;e=KFa(a,k[b+12>>2]|0,n<<4,c<<4)|0}else{f=b+12|0;e=LFa(a)|0}k[f>>2]=e}if(o<<24>>24!=31){h=1<<(o&255);do{j=h;h=h+-1|0;d=q+(h<<5)+8|0;if(k[d>>2]|0){g=q+(h<<5)|0;f=q+(h<<5)+16|0;e=zGa(b,f)|0;i[b+6>>0]=0;if((e|0)==621288){switch(k[q+(h<<5)+24>>2]|0){case 0:{PEa(a,516225,s+16|0);break}case 3:{m=+p[f>>3];if(!(m==m&0.0==0.0))PEa(a,516244,s+24|0);break}default:{}}e=yGa(a,b,f)|0}c=k[g+4>>2]|0;u=e;k[u>>2]=k[g>>2];k[u+4>>2]=c;k[e+8>>2]=k[d>>2]}}while((j|0)>1)}if((q|0)==621304){r=s;return}KFa(a,q,1<<(o&255)<<5,0)|0;r=s;return}function xGa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=r;r=r+16|0;if(!c){k[b+16>>2]=621304;d=0;a=621304;f=0;c=b+7|0;i[c>>0]=f;d=a+(d<<5)|0;b=b+20|0;k[b>>2]=d;r=e;return}d=OFa(c+-1|0)|0;if((d|0)>25)PEa(a,516210,e);if(((1<>>0<134217728)c=KFa(a,0,0,1<>2]=c;if((d+1|0)!=31){a=0;do{k[c+(a<<5)+28>>2]=0;k[c+(a<<5)+24>>2]=0;k[c+(a<<5)+8>>2]=0;a=a+1|0}while((a|0)<(1<>0]=c;d=a+(f<<5)|0;f=b+20|0;k[f>>2]=d;r=e;return}function yGa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0.0,g=0,h=0,j=0,m=0,n=0,o=0,q=0,s=0,u=0;u=r;r=r+128|0;switch(k[c+8>>2]|0){case 3:{f=+p[c>>3];e=k[b+16>>2]|0;if(f==0.0)d=e;else{p[t>>3]=f;d=e+(((((k[t+4>>2]|0)+(k[t>>2]|0)|0)>>>0)%(((1<<(l[b+7>>0]|0))+-1|1)>>>0)|0)<<5)|0}break}case 4:{e=k[b+16>>2]|0;d=e+(((1<<(l[b+7>>0]|0))+-1&k[(k[c>>2]|0)+8>>2])<<5)|0;break}case 1:{e=k[b+16>>2]|0;d=e+(((1<<(l[b+7>>0]|0))+-1&k[c>>2])<<5)|0;break}case 2:{e=k[b+16>>2]|0;d=e+((((k[c>>2]|0)>>>0)%(((1<<(l[b+7>>0]|0))+-1|1)>>>0)|0)<<5)|0;break}default:{e=k[b+16>>2]|0;d=e+((((k[c>>2]|0)>>>0)%(((1<<(l[b+7>>0]|0))+-1|1)>>>0)|0)<<5)|0}}m=d+8|0;do if((d|0)==621304|(k[m>>2]|0)!=0){g=k[b+20>>2]|0;while(1){n=g+-32|0;if(g>>>0<=e>>>0)break;if(!(k[g+-8>>2]|0)){h=g;j=41;break}else g=n}if((j|0)==41){k[b+20>>2]=n;g=d+16|0;switch(k[d+24>>2]|0){case 3:{f=+p[g>>3];if(!(f==0.0)){p[t>>3]=f;e=e+(((((k[t+4>>2]|0)+(k[t>>2]|0)|0)>>>0)%(((1<<(l[b+7>>0]|0))+-1|1)>>>0)|0)<<5)|0}break}case 4:{e=e+(((1<<(l[b+7>>0]|0))+-1&k[(k[g>>2]|0)+8>>2])<<5)|0;break}case 1:{e=e+(((1<<(l[b+7>>0]|0))+-1&k[g>>2])<<5)|0;break}case 2:{e=e+((((k[g>>2]|0)>>>0)%(((1<<(l[b+7>>0]|0))+-1|1)>>>0)|0)<<5)|0;break}default:e=e+((((k[g>>2]|0)>>>0)%(((1<<(l[b+7>>0]|0))+-1|1)>>>0)|0)<<5)|0}if((e|0)==(d|0)){d=d+28|0;k[h+-4>>2]=k[d>>2];k[d>>2]=n;d=n;break}do{g=e+28|0;e=k[g>>2]|0}while((e|0)!=(d|0));k[g>>2]=n;k[n>>2]=k[d>>2];k[n+4>>2]=k[d+4>>2];k[n+8>>2]=k[d+8>>2];k[n+12>>2]=k[d+12>>2];k[n+16>>2]=k[d+16>>2];k[n+20>>2]=k[d+20>>2];k[n+24>>2]=k[d+24>>2];k[n+28>>2]=k[d+28>>2];k[d+28>>2]=0;k[m>>2]=0;break}k[b+20>>2]=n;d=u+12|0;e=d+108|0;do{k[d>>2]=0;d=d+4|0}while((d|0)<(e|0));n=k[b+28>>2]|0;d=0;e=1;o=0;q=1;while(1){if((q|0)>(n|0))if((e|0)>(n|0)){s=d;break}else m=n;else m=q;if((e|0)>(m|0)){g=e;e=0}else{j=k[b+12>>2]|0;h=e;e=0;while(1){e=((k[j+(h+-1<<4)+8>>2]|0)!=0&1)+e|0;g=h+1|0;if((h|0)<(m|0))h=g;else break}}s=u+12+(o<<2)|0;k[s>>2]=(k[s>>2]|0)+e;d=e+d|0;o=o+1|0;if((o|0)>=27){s=d;break}else{e=g;q=q<<1}}d=0;e=1<<(l[b+7>>0]|0);h=0;a:while(1){g=e;while(1){e=g+-1|0;if(!g){q=h;break a}g=k[b+16>>2]|0;if(!(k[g+(e<<5)+8>>2]|0))g=e;else break}if((k[g+(e<<5)+24>>2]|0)==3){f=+p[g+(e<<5)+16>>3];if(+(~~f|0)==f&(~~f+-1|0)>>>0<67108864){g=u+12+((OFa(~~f+-1|0)|0)+1<<2)|0;k[g>>2]=(k[g>>2]|0)+1;g=1}else g=0}else g=0;d=g+d|0;h=h+1|0}e=d+s|0;if((k[c+8>>2]|0)==3){f=+p[c>>3];if(+(~~f|0)==f&(~~f+-1|0)>>>0<67108864){d=u+12+((OFa(~~f+-1|0)|0)+1<<2)|0;k[d>>2]=(k[d>>2]|0)+1;d=1}else d=0}else d=0;m=e+d|0;b:do if((m|0)>0){h=0;j=0;n=0;e=0;d=0;o=1;while(1){g=k[u+12+(n<<2)>>2]|0;if((g|0)>0){j=g+j|0;h=(j|0)>(h|0);g=j;e=h?o:e;d=h?j:d}else g=j;if((g|0)==(m|0))break b;if((o|0)<(m|0)){h=o;j=g;n=n+1|0;o=o<<1}else break}}else{e=0;d=0}while(0);wGa(a,b,e,s+1+q-d|0);d=zGa(b,c)|0;i[b+6>>0]=0;if((d|0)!=621288){b=d;r=u;return b|0}switch(k[c+8>>2]|0){case 0:{PEa(a,516225,u);break}case 3:{f=+p[c>>3];if(!(f==f&0.0==0.0))PEa(a,516244,u+8|0);break}default:{}}b=yGa(a,b,c)|0;r=u;return b|0}while(0);q=k[c+4>>2]|0;s=d+16|0;k[s>>2]=k[c>>2];k[s+4>>2]=q;s=k[c+8>>2]|0;k[d+24>>2]=s;if((s|0)>3)if(i[(k[c>>2]|0)+5>>0]&3)if(i[b+5>>0]&4)GFa(a,b);b=d;r=u;return b|0}function zGa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0.0,f=0,g=0,h=0,i=0;a:do switch(k[b+8>>2]|0){case 4:{d=k[b>>2]|0;c=(k[a+16>>2]|0)+(((1<<(l[a+7>>0]|0))+-1&k[d+8>>2])<<5)|0;while(1){if((k[c+24>>2]|0)==4)if((k[c+16>>2]|0)==(d|0)){f=c;break}c=k[c+28>>2]|0;if(!c){h=621288;i=24;break}}if((i|0)==24)return h|0;i=f;return i|0}case 3:{e=+p[b>>3];if(!(+(~~e|0)==e)){e=+p[b>>3];c=k[a+16>>2]|0;if(e==0.0)break a;p[t>>3]=e;c=c+(((((k[t+4>>2]|0)+(k[t>>2]|0)|0)>>>0)%(((1<<(l[a+7>>0]|0))+-1|1)>>>0)|0)<<5)|0;break a}if((~~e+-1|0)>>>0<(k[a+28>>2]|0)>>>0){i=(k[a+12>>2]|0)+(~~e+-1<<4)|0;return i|0}c=k[a+16>>2]|0;if(~~e){p[t>>3]=+(~~e|0);c=c+(((((k[t+4>>2]|0)+(k[t>>2]|0)|0)>>>0)%(((1<<(l[a+7>>0]|0))+-1|1)>>>0)|0)<<5)|0}while(1){if((k[c+24>>2]|0)==3)if(+p[c+16>>3]==+(~~e|0)){d=c;break}c=k[c+28>>2]|0;if(!c){h=621288;i=24;break}}if((i|0)==24)return h|0;i=d;return i|0}case 1:{c=(k[a+16>>2]|0)+(((1<<(l[a+7>>0]|0))+-1&k[b>>2])<<5)|0;break}case 2:{c=(k[a+16>>2]|0)+((((k[b>>2]|0)>>>0)%(((1<<(l[a+7>>0]|0))+-1|1)>>>0)|0)<<5)|0;break}case 0:{i=621288;return i|0}default:c=(k[a+16>>2]|0)+((((k[b>>2]|0)>>>0)%(((1<<(l[a+7>>0]|0))+-1|1)>>>0)|0)<<5)|0}while(0);while(1){if(PFa(c+16|0,b)|0){g=c;break}c=k[c+28>>2]|0;if(!c){h=621288;i=24;break}}if((i|0)==24)return h|0;i=g;return i|0}function AGa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=KFa(a,0,0,32)|0;HFa(a,e,5);k[e+8>>2]=0;i[e+6>>0]=-1;k[e+12>>2]=0;k[e+28>>2]=0;i[e+7>>0]=0;k[e+16>>2]=621304;if((b+1|0)>>>0<268435456)f=KFa(a,0,0,b<<4)|0;else f=LFa(a)|0;k[e+12>>2]=f;d=k[e+28>>2]|0;if((d|0)>=(b|0)){k[e+28>>2]=b;xGa(a,e,c);return e|0}do{k[f+(d<<4)+8>>2]=0;d=d+1|0}while((d|0)!=(b|0));k[e+28>>2]=b;xGa(a,e,c);return e|0}function BGa(a,b){a=a|0;b=b|0;var c=0;c=k[b+16>>2]|0;if((c|0)!=621304)KFa(a,c,32<<(l[b+7>>0]|0),0)|0;KFa(a,k[b+12>>2]|0,k[b+28>>2]<<4,0)|0;KFa(a,b,32,0)|0;return}function CGa(a,b){a=a|0;b=b|0;var c=0,d=0;if((b+-1|0)>>>0<(k[a+28>>2]|0)>>>0){d=(k[a+12>>2]|0)+(b+-1<<4)|0;return d|0}c=k[a+16>>2]|0;if(b){p[t>>3]=+(b|0);c=c+(((((k[t+4>>2]|0)+(k[t>>2]|0)|0)>>>0)%(((1<<(l[a+7>>0]|0))+-1|1)>>>0)|0)<<5)|0}while(1){if((k[c+24>>2]|0)==3)if(+p[c+16>>3]==+(b|0))break;c=k[c+28>>2]|0;if(!c){c=621288;d=9;break}}if((d|0)==9)return c|0;d=c;return d|0}function DGa(a,b){a=a|0;b=b|0;var c=0;a=(k[a+16>>2]|0)+(((1<<(l[a+7>>0]|0))+-1&k[b+8>>2])<<5)|0;while(1){if((k[a+24>>2]|0)==4)if((k[a+16>>2]|0)==(b|0))break;a=k[a+28>>2]|0;if(!a){a=621288;c=6;break}}if((c|0)==6)return a|0;c=a;return c|0}function EGa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0.0;e=r;r=r+16|0;d=zGa(b,c)|0;i[b+6>>0]=0;if((d|0)!=621288){b=d;r=e;return b|0}switch(k[c+8>>2]|0){case 0:{PEa(a,516225,e);break}case 3:{f=+p[c>>3];if(!(f==f&0.0==0.0))PEa(a,516244,e+8|0);break}default:{}}b=yGa(a,b,c)|0;r=e;return b|0}function FGa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0,f=0,g=0;g=r;r=r+16|0;a:do if((c+-1|0)>>>0<(k[b+28>>2]|0)>>>0){e=(k[b+12>>2]|0)+(c+-1<<4)|0;f=9}else{e=k[b+16>>2]|0;if(c){p[t>>3]=+(c|0);e=e+(((((k[t+4>>2]|0)+(k[t>>2]|0)|0)>>>0)%(((1<<(l[b+7>>0]|0))+-1|1)>>>0)|0)<<5)|0}while(1){if((k[e+24>>2]|0)==3)if(+p[e+16>>3]==+(c|0))break;e=k[e+28>>2]|0;if(!e){d=+(c|0);break a}}f=9}while(0);do if((f|0)==9)if((e|0)==621288){d=+(c|0);break}else{b=e;r=g;return b|0}while(0);p[g>>3]=d;k[g+8>>2]=3;b=yGa(a,b,g)|0;r=g;return b|0}function GGa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=r;r=r+16|0;d=(k[b+16>>2]|0)+(((1<<(l[b+7>>0]|0))+-1&k[c+8>>2])<<5)|0;do{if((k[d+24>>2]|0)==4)if((k[d+16>>2]|0)==(c|0)){e=5;break}d=k[d+28>>2]|0}while((d|0)!=0);if((e|0)==5)if((d|0)!=621288){e=d;r=f;return e|0}k[f>>2]=c;k[f+8>>2]=4;e=yGa(a,b,f)|0;r=f;return e|0}function HGa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0.0,g=0,h=0;c=k[a+28>>2]|0;if(c|0){d=k[a+12>>2]|0;if(!(k[d+(c+-1<<4)+8>>2]|0)){if(c>>>0>1)b=0;else{a=0;return a|0}do{a=(b+c|0)>>>1;h=(k[d+(a+-1<<4)+8>>2]|0)==0;c=h?a:c;b=h?b:a}while((c-b|0)>>>0>1);return b|0}}h=k[a+16>>2]|0;if((h|0)==621304){a=c;return a|0}d=c+1|0;b=c;while(1){e=d+-1|0;a:do if(e>>>0>>0)e=(k[a+12>>2]|0)+(e<<4)|0;else{f=+(d|0);if(!d)e=h;else{p[t>>3]=f;e=h+(((((k[t+4>>2]|0)+(k[t>>2]|0)|0)>>>0)%(((1<<(l[a+7>>0]|0))+-1|1)>>>0)|0)<<5)|0}while(1){if((k[e+24>>2]|0)==3)if(+p[e+16>>3]==f)break;e=k[e+28>>2]|0;if(!e){e=621288;break a}}}while(0);if(!(k[e+8>>2]|0))break;b=d<<1;if(b>>>0>2147483645){e=1;g=18;break}else{e=d;d=b;b=e}}if((g|0)==18){while(1){b=e+-1|0;b:do if(b>>>0>>0)d=(k[a+12>>2]|0)+(b<<4)|0;else{f=+(e|0);if(!e)d=h;else{p[t>>3]=f;d=h+(((((k[t+4>>2]|0)+(k[t>>2]|0)|0)>>>0)%(((1<<(l[a+7>>0]|0))+-1|1)>>>0)|0)<<5)|0}while(1){if((k[d+24>>2]|0)==3)if(+p[d+16>>3]==f)break;d=k[d+28>>2]|0;if(!d){d=621288;break b}}}while(0);if(!(k[d+8>>2]|0))break;else{e=e+1|0;g=18}}return b|0}if((d-b|0)>>>0<=1){a=b;return a|0}do{g=(d+b|0)>>>1;c:do if((g+-1|0)>>>0>>0)e=(k[a+12>>2]|0)+(g+-1<<4)|0;else{if(!g)e=h;else{p[t>>3]=+(g|0);e=h+(((((k[t+4>>2]|0)+(k[t>>2]|0)|0)>>>0)%(((1<<(l[a+7>>0]|0))+-1|1)>>>0)|0)<<5)|0}while(1){if((k[e+24>>2]|0)==3)if(+p[e+16>>3]==+(g|0))break;e=k[e+28>>2]|0;if(!e){e=621288;break c}}}while(0);e=(k[e+8>>2]|0)==0;d=e?g:d;b=e?b:g}while((d-b|0)>>>0>1);return b|0}function IGa(a){a=a|0;var b=0,c=0;b=0;do{c=k[37456+(b<<2)>>2]|0;c=sGa(a,c,Fnb(c)|0)|0;k[(k[a+16>>2]|0)+188+(b<<2)>>2]=c;c=(k[(k[a+16>>2]|0)+188+(b<<2)>>2]|0)+5|0;i[c>>0]=l[c>>0]|0|32;b=b+1|0}while((b|0)!=17);return}function JGa(a,b,c){a=a|0;b=b|0;c=c|0;c=DGa(a,c)|0;if(k[c+8>>2]|0){a=c;return a|0}i[a+6>>0]=l[a+6>>0]|0|1<>2]|0;switch(d|0){case 5:{d=(k[b>>2]|0)+8|0;break}case 7:{d=(k[b>>2]|0)+8|0;break}default:d=(k[a+16>>2]|0)+152+(d<<2)|0}d=k[d>>2]|0;if(!d){c=621288;return c|0}c=DGa(d,k[(k[a+16>>2]|0)+188+(c<<2)>>2]|0)|0;return c|0}function LGa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+64|0;switch(i[d>>0]|0){case 61:case 64:{k[e+16+12>>2]=d+1;d=d+1|0;break}case 27:{k[e+16+12>>2]=516396;d=516396;break}default:k[e+16+12>>2]=d}k[e+16>>2]=a;k[e+16+4>>2]=b;k[e+16+8>>2]=c;k[e+32>>2]=1635077147;i[e+32+4>>0]=81;i[e+32+5>>0]=0;i[e+32+6>>0]=1;i[e+32+7>>0]=4;i[e+32+8>>0]=4;i[e+32+9>>0]=4;i[e+32+10>>0]=8;i[e+32+11>>0]=0;if(ZGa(b,e+44|0,12)|0){k[e>>2]=d;k[e+4>>2]=516438;SFa(a,516410,e)|0;UEa(k[e+16>>2]|0,3)}if(!(Emb(e+32|0,e+44|0,12)|0)){c=sGa(a,516464,2)|0;c=MGa(e+16|0,c)|0;r=e;return c|0}c=k[e+16>>2]|0;k[e+8>>2]=k[e+16+12>>2];k[e+8+4>>2]=516453;SFa(c,516410,e+8|0)|0;UEa(k[e+16>>2]|0,3);c=sGa(a,516464,2)|0;c=MGa(e+16|0,c)|0;r=e;return c|0}function MGa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,l=0;h=r;r=r+336|0;c=k[a>>2]|0;g=(j[c+52>>1]|0)+1<<16>>16;j[c+52>>1]=g;if((g&65535)>200){k[h+8>>2]=k[a+12>>2];k[h+8+4>>2]=516467;SFa(c,516410,h+8|0)|0;UEa(k[a>>2]|0,3);c=k[a>>2]|0}g=pFa(c)|0;c=k[(k[a>>2]|0)+8>>2]|0;k[c>>2]=g;k[c+8>>2]=9;c=k[a>>2]|0;d=k[c+8>>2]|0;if(((k[c+28>>2]|0)-d|0)<17){YEa(c,1);d=k[a>>2]|0;c=d;d=k[d+8>>2]|0}k[c+8>>2]=d+16;if(ZGa(k[a+4>>2]|0,h,4)|0){f=k[a>>2]|0;k[h+16>>2]=k[a+12>>2];k[h+16+4>>2]=516438;SFa(f,516410,h+16|0)|0;UEa(k[a>>2]|0,3)}c=k[h>>2]|0;if(!c)c=0;else{c=_Ga(k[a>>2]|0,k[a+8>>2]|0,c)|0;if(ZGa(k[a+4>>2]|0,c,k[h>>2]|0)|0){f=k[a>>2]|0;k[h+24>>2]=k[a+12>>2];k[h+24+4>>2]=516438;SFa(f,516410,h+24|0)|0;UEa(k[a>>2]|0,3)}c=sGa(k[a>>2]|0,c,(k[h>>2]|0)+-1|0)|0}k[g+32>>2]=(c|0)==0?b:c;if(ZGa(k[a+4>>2]|0,h,4)|0){f=k[a>>2]|0;k[h+32>>2]=k[a+12>>2];k[h+32+4>>2]=516438;SFa(f,516410,h+32|0)|0;UEa(k[a>>2]|0,3)}c=k[h>>2]|0;if((c|0)<0){c=k[a>>2]|0;k[h+40>>2]=k[a+12>>2];k[h+40+4>>2]=516481;SFa(c,516410,h+40|0)|0;UEa(k[a>>2]|0,3);c=k[h>>2]|0}k[g+60>>2]=c;if(ZGa(k[a+4>>2]|0,h,4)|0){f=k[a>>2]|0;k[h+48>>2]=k[a+12>>2];k[h+48+4>>2]=516438;SFa(f,516410,h+48|0)|0;UEa(k[a>>2]|0,3)}c=k[h>>2]|0;if((c|0)<0){c=k[a>>2]|0;k[h+56>>2]=k[a+12>>2];k[h+56+4>>2]=516481;SFa(c,516410,h+56|0)|0;UEa(k[a>>2]|0,3);c=k[h>>2]|0}k[g+64>>2]=c;if(ZGa(k[a+4>>2]|0,h,1)|0){f=k[a>>2]|0;k[h+64>>2]=k[a+12>>2];k[h+64+4>>2]=516438;SFa(f,516410,h+64|0)|0;UEa(k[a>>2]|0,3)}i[g+72>>0]=i[h>>0]|0;if(ZGa(k[a+4>>2]|0,h,1)|0){f=k[a>>2]|0;k[h+72>>2]=k[a+12>>2];k[h+72+4>>2]=516438;SFa(f,516410,h+72|0)|0;UEa(k[a>>2]|0,3)}i[g+73>>0]=i[h>>0]|0;if(ZGa(k[a+4>>2]|0,h,1)|0){f=k[a>>2]|0;k[h+80>>2]=k[a+12>>2];k[h+80+4>>2]=516438;SFa(f,516410,h+80|0)|0;UEa(k[a>>2]|0,3)}i[g+74>>0]=i[h>>0]|0;if(ZGa(k[a+4>>2]|0,h,1)|0){f=k[a>>2]|0;k[h+88>>2]=k[a+12>>2];k[h+88+4>>2]=516438;SFa(f,516410,h+88|0)|0;UEa(k[a>>2]|0,3)}i[g+75>>0]=i[h>>0]|0;if(ZGa(k[a+4>>2]|0,h,4)|0){f=k[a>>2]|0;k[h+96>>2]=k[a+12>>2];k[h+96+4>>2]=516438;SFa(f,516410,h+96|0)|0;UEa(k[a>>2]|0,3)}c=k[h>>2]|0;if((c|0)<0){c=k[a>>2]|0;k[h+104>>2]=k[a+12>>2];k[h+104+4>>2]=516481;SFa(c,516410,h+104|0)|0;UEa(k[a>>2]|0,3);c=k[h>>2]|0}d=k[a>>2]|0;if((c+1|0)>>>0<1073741824){f=c<<2;b=f;d=KFa(d,0,0,f)|0}else{b=c<<2;d=LFa(d)|0}k[g+12>>2]=d;k[g+44>>2]=c;if(ZGa(k[a+4>>2]|0,d,b)|0){f=k[a>>2]|0;k[h+112>>2]=k[a+12>>2];k[h+112+4>>2]=516438;SFa(f,516410,h+112|0)|0;UEa(k[a>>2]|0,3)}if(ZGa(k[a+4>>2]|0,h,4)|0){f=k[a>>2]|0;k[h+120>>2]=k[a+12>>2];k[h+120+4>>2]=516438;SFa(f,516410,h+120|0)|0;UEa(k[a>>2]|0,3)}c=k[h>>2]|0;if((c|0)<0){c=k[a>>2]|0;k[h+128>>2]=k[a+12>>2];k[h+128+4>>2]=516481;SFa(c,516410,h+128|0)|0;UEa(k[a>>2]|0,3);c=k[h>>2]|0}d=k[a>>2]|0;if((c+1|0)>>>0<268435456)d=KFa(d,0,0,c<<4)|0;else d=LFa(d)|0;k[g+8>>2]=d;k[g+40>>2]=c;b=(c|0)>0;a:do if(b){e=0;do{k[d+(e<<4)+8>>2]=0;e=e+1|0}while((e|0)!=(c|0));if(!b)break;f=0;while(1){b=k[g+8>>2]|0;e=b+(f<<4)|0;if(ZGa(k[a+4>>2]|0,h,1)|0){d=k[a>>2]|0;k[h+136>>2]=k[a+12>>2];k[h+136+4>>2]=516438;SFa(d,516410,h+136|0)|0;UEa(k[a>>2]|0,3)}switch(i[h>>0]|0){case 0:{k[b+(f<<4)+8>>2]=0;break}case 1:{if(ZGa(k[a+4>>2]|0,h,1)|0){d=k[a>>2]|0;k[h+144>>2]=k[a+12>>2];k[h+144+4>>2]=516438;SFa(d,516410,h+144|0)|0;UEa(k[a>>2]|0,3)}k[e>>2]=(i[h>>0]|0)!=0&1;k[b+(f<<4)+8>>2]=1;break}case 3:{if(ZGa(k[a+4>>2]|0,h,8)|0){d=k[a>>2]|0;k[h+152>>2]=k[a+12>>2];k[h+152+4>>2]=516438;SFa(d,516410,h+152|0)|0;UEa(k[a>>2]|0,3)}p[e>>3]=+p[h>>3];k[b+(f<<4)+8>>2]=3;break}case 4:{if(ZGa(k[a+4>>2]|0,h,4)|0){d=k[a>>2]|0;k[h+160>>2]=k[a+12>>2];k[h+160+4>>2]=516438;SFa(d,516410,h+160|0)|0;UEa(k[a>>2]|0,3)}d=k[h>>2]|0;if(!d)d=0;else{d=_Ga(k[a>>2]|0,k[a+8>>2]|0,d)|0;if(ZGa(k[a+4>>2]|0,d,k[h>>2]|0)|0){l=k[a>>2]|0;k[h+168>>2]=k[a+12>>2];k[h+168+4>>2]=516438;SFa(l,516410,h+168|0)|0;UEa(k[a>>2]|0,3)}d=sGa(k[a>>2]|0,d,(k[h>>2]|0)+-1|0)|0}k[e>>2]=d;k[b+(f<<4)+8>>2]=4;break}default:{l=k[a>>2]|0;k[h+176>>2]=k[a+12>>2];k[h+176+4>>2]=516493;SFa(l,516410,h+176|0)|0;UEa(k[a>>2]|0,3)}}f=f+1|0;if((f|0)==(c|0))break a}}while(0);if(ZGa(k[a+4>>2]|0,h,4)|0){l=k[a>>2]|0;k[h+184>>2]=k[a+12>>2];k[h+184+4>>2]=516438;SFa(l,516410,h+184|0)|0;UEa(k[a>>2]|0,3)}c=k[h>>2]|0;if((c|0)<0){c=k[a>>2]|0;k[h+192>>2]=k[a+12>>2];k[h+192+4>>2]=516481;SFa(c,516410,h+192|0)|0;UEa(k[a>>2]|0,3);c=k[h>>2]|0}d=k[a>>2]|0;if((c+1|0)>>>0<1073741824)d=KFa(d,0,0,c<<2)|0;else d=LFa(d)|0;k[g+16>>2]=d;k[g+52>>2]=c;b=(c|0)>0;do if(b){k[d>>2]=0;if((c|0)!=1){d=1;do{k[(k[g+16>>2]|0)+(d<<2)>>2]=0;d=d+1|0}while((d|0)!=(c|0))}if(b)d=0;else break;do{l=MGa(a,k[g+32>>2]|0)|0;k[(k[g+16>>2]|0)+(d<<2)>>2]=l;d=d+1|0}while((d|0)!=(c|0))}while(0);if(ZGa(k[a+4>>2]|0,h,4)|0){l=k[a>>2]|0;k[h+200>>2]=k[a+12>>2];k[h+200+4>>2]=516438;SFa(l,516410,h+200|0)|0;UEa(k[a>>2]|0,3)}c=k[h>>2]|0;if((c|0)<0){c=k[a>>2]|0;k[h+208>>2]=k[a+12>>2];k[h+208+4>>2]=516481;SFa(c,516410,h+208|0)|0;UEa(k[a>>2]|0,3);c=k[h>>2]|0}d=k[a>>2]|0;if((c+1|0)>>>0<1073741824){l=c<<2;b=l;d=KFa(d,0,0,l)|0}else{b=c<<2;d=LFa(d)|0}k[g+20>>2]=d;k[g+48>>2]=c;if(ZGa(k[a+4>>2]|0,d,b)|0){l=k[a>>2]|0;k[h+216>>2]=k[a+12>>2];k[h+216+4>>2]=516438;SFa(l,516410,h+216|0)|0;UEa(k[a>>2]|0,3)}if(ZGa(k[a+4>>2]|0,h,4)|0){l=k[a>>2]|0;k[h+224>>2]=k[a+12>>2];k[h+224+4>>2]=516438;SFa(l,516410,h+224|0)|0;UEa(k[a>>2]|0,3)}c=k[h>>2]|0;if((c|0)<0){c=k[a>>2]|0;k[h+232>>2]=k[a+12>>2];k[h+232+4>>2]=516481;SFa(c,516410,h+232|0)|0;UEa(k[a>>2]|0,3);c=k[h>>2]|0}d=k[a>>2]|0;if((c+1|0)>>>0<357913942)d=KFa(d,0,0,c*12|0)|0;else d=LFa(d)|0;k[g+24>>2]=d;k[g+56>>2]=c;if((c|0)>0){b=0;do{k[d+(b*12|0)>>2]=0;b=b+1|0}while((b|0)!=(c|0));b=0;do{if(ZGa(k[a+4>>2]|0,h,4)|0){l=k[a>>2]|0;k[h+240>>2]=k[a+12>>2];k[h+240+4>>2]=516438;SFa(l,516410,h+240|0)|0;UEa(k[a>>2]|0,3)}d=k[h>>2]|0;if(!d)d=0;else{d=_Ga(k[a>>2]|0,k[a+8>>2]|0,d)|0;if(ZGa(k[a+4>>2]|0,d,k[h>>2]|0)|0){l=k[a>>2]|0;k[h+248>>2]=k[a+12>>2];k[h+248+4>>2]=516438;SFa(l,516410,h+248|0)|0;UEa(k[a>>2]|0,3)}d=sGa(k[a>>2]|0,d,(k[h>>2]|0)+-1|0)|0}k[(k[g+24>>2]|0)+(b*12|0)>>2]=d;if(ZGa(k[a+4>>2]|0,h,4)|0){l=k[a>>2]|0;k[h+256>>2]=k[a+12>>2];k[h+256+4>>2]=516438;SFa(l,516410,h+256|0)|0;UEa(k[a>>2]|0,3)}d=k[h>>2]|0;if((d|0)<0){d=k[a>>2]|0;k[h+264>>2]=k[a+12>>2];k[h+264+4>>2]=516481;SFa(d,516410,h+264|0)|0;UEa(k[a>>2]|0,3);d=k[h>>2]|0}k[(k[g+24>>2]|0)+(b*12|0)+4>>2]=d;if(ZGa(k[a+4>>2]|0,h,4)|0){l=k[a>>2]|0;k[h+272>>2]=k[a+12>>2];k[h+272+4>>2]=516438;SFa(l,516410,h+272|0)|0;UEa(k[a>>2]|0,3)}d=k[h>>2]|0;if((d|0)<0){d=k[a>>2]|0;k[h+280>>2]=k[a+12>>2];k[h+280+4>>2]=516481;SFa(d,516410,h+280|0)|0;UEa(k[a>>2]|0,3);d=k[h>>2]|0}k[(k[g+24>>2]|0)+(b*12|0)+8>>2]=d;b=b+1|0}while((b|0)!=(c|0))}if(ZGa(k[a+4>>2]|0,h,4)|0){l=k[a>>2]|0;k[h+288>>2]=k[a+12>>2];k[h+288+4>>2]=516438;SFa(l,516410,h+288|0)|0;UEa(k[a>>2]|0,3)}c=k[h>>2]|0;if((c|0)<0){c=k[a>>2]|0;k[h+296>>2]=k[a+12>>2];k[h+296+4>>2]=516481;SFa(c,516410,h+296|0)|0;UEa(k[a>>2]|0,3);c=k[h>>2]|0}d=k[a>>2]|0;if((c+1|0)>>>0<1073741824)d=KFa(d,0,0,c<<2)|0;else d=LFa(d)|0;k[g+28>>2]=d;k[g+36>>2]=c;if((c|0)>0){k[d>>2]=0;if((c|0)!=1){d=1;do{k[(k[g+28>>2]|0)+(d<<2)>>2]=0;d=d+1|0}while((d|0)!=(c|0))}b=0;do{if(ZGa(k[a+4>>2]|0,h,4)|0){l=k[a>>2]|0;k[h+304>>2]=k[a+12>>2];k[h+304+4>>2]=516438;SFa(l,516410,h+304|0)|0;UEa(k[a>>2]|0,3)}d=k[h>>2]|0;if(!d)d=0;else{d=_Ga(k[a>>2]|0,k[a+8>>2]|0,d)|0;if(ZGa(k[a+4>>2]|0,d,k[h>>2]|0)|0){l=k[a>>2]|0;k[h+312>>2]=k[a+12>>2];k[h+312+4>>2]=516438;SFa(l,516410,h+312|0)|0;UEa(k[a>>2]|0,3)}d=sGa(k[a>>2]|0,d,(k[h>>2]|0)+-1|0)|0}k[(k[g+28>>2]|0)+(b<<2)>>2]=d;b=b+1|0}while((b|0)!=(c|0))}if(NEa(g)|0){l=k[a>>2]|0;a=l+8|0;f=k[a>>2]|0;f=f+-16|0;k[a>>2]=f;l=l+52|0;a=j[l>>1]|0;a=a+-1<<16>>16;j[l>>1]=a;r=h;return g|0}l=k[a>>2]|0;k[h+320>>2]=k[a+12>>2];k[h+320+4>>2]=516506;SFa(l,516410,h+320|0)|0;UEa(k[a>>2]|0,3);l=k[a>>2]|0;a=l+8|0;f=k[a>>2]|0;f=f+-16|0;k[a>>2]=f;l=l+52|0;a=j[l>>1]|0;a=a+-1<<16>>16;j[l>>1]=a;r=h;return g|0}function NGa(a){a=a|0;i[a>>0]=27;i[a+1>>0]=76;i[a+2>>0]=117;i[a+3>>0]=97;i[a+4>>0]=81;i[a+5>>0]=0;i[a+6>>0]=1;i[a+7>>0]=4;i[a+8>>0]=4;i[a+9>>0]=4;i[a+10>>0]=8;i[a+11>>0]=0;return}function OGa(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+16|0;switch(k[a+8>>2]|0){case 3:{b=a;break}case 4:{if(!(QFa((k[a>>2]|0)+16|0,d)|0))c=4;else{p[b>>3]=+p[d>>3];k[b+8>>2]=3}break}default:c=4}if((c|0)==4)b=0;r=d;return b|0}function PGa(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+48|0;if((k[b+8>>2]|0)!=3){b=0;r=c;return b|0}p[c>>3]=+p[b>>3];Fmb(c+8|0,518956,c)|0;a=sGa(a,c+8|0,Fnb(c+8|0)|0)|0;k[b>>2]=a;k[b+8>>2]=4;b=1;r=c;return b|0}function QGa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,l=0;l=r;r=r+16|0;f=b;e=k[b+8>>2]|0;j=0;while(1){if((e|0)==5){b=k[f>>2]|0;g=zGa(b,c)|0;if(k[g+8>>2]|0){e=g;b=g+8|0;g=8;break}b=k[b+8>>2]|0;if(!b){e=g;b=g+8|0;g=8;break}if(i[b+6>>0]&1){e=g;b=g+8|0;g=8;break}b=JGa(b,0,k[(k[a+16>>2]|0)+188>>2]|0)|0;if(!b){e=g;b=g+8|0;g=8;break}}else{b=KGa(a,f,0)|0;if(!(k[b+8>>2]|0))OEa(a,f,516515)}h=b+8|0;e=k[h>>2]|0;j=j+1|0;if((e|0)==6){g=12;break}if((j|0)>=100){g=15;break}else f=b}if((g|0)==8){c=e;a=k[c+4>>2]|0;k[d>>2]=k[c>>2];k[d+4>>2]=a;k[d+8>>2]=k[b>>2];r=l;return}else if((g|0)==12){e=d-(k[a+32>>2]|0)|0;d=k[a+8>>2]|0;j=k[b+4>>2]|0;k[d>>2]=k[b>>2];k[d+4>>2]=j;k[d+8>>2]=k[h>>2];b=k[a+8>>2]|0;d=k[f+4>>2]|0;k[b+16>>2]=k[f>>2];k[b+16+4>>2]=d;k[b+24>>2]=k[f+8>>2];b=k[a+8>>2]|0;d=k[c+4>>2]|0;k[b+32>>2]=k[c>>2];k[b+32+4>>2]=d;k[b+40>>2]=k[c+8>>2];b=k[a+8>>2]|0;if(((k[a+28>>2]|0)-b|0)<49){YEa(a,3);b=k[a+8>>2]|0}k[a+8>>2]=b+48;aFa(a,b,1);d=(k[a+32>>2]|0)+e|0;c=k[a+8>>2]|0;k[a+8>>2]=c+-16;a=k[c+-16+4>>2]|0;k[d>>2]=k[c+-16>>2];k[d+4>>2]=a;k[d+8>>2]=k[c+-8>>2];r=l;return}else if((g|0)==15){PEa(a,516521,l);r=l;return}}function RGa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,l=0;l=r;r=r+32|0;j=b;b=k[b+8>>2]|0;h=0;while(1){if((b|0)==5){e=k[j>>2]|0;g=EGa(a,e,c)|0;if(k[g+8>>2]|0){f=g;b=g+8|0;g=7;break}b=k[e+8>>2]|0;if(!b){f=g;b=g+8|0;g=7;break}if(i[b+6>>0]&2){f=g;b=g+8|0;g=7;break}b=JGa(b,1,k[(k[a+16>>2]|0)+192>>2]|0)|0;if(!b){f=g;b=g+8|0;g=7;break}}else{b=KGa(a,j,1)|0;if(!(k[b+8>>2]|0))OEa(a,j,516515)}f=b+8|0;if((k[f>>2]|0)==6){e=j;g=14;break}e=b;b=k[e+4>>2]|0;k[l>>2]=k[e>>2];k[l+4>>2]=b;b=k[f>>2]|0;k[l+8>>2]=b;e=h+1|0;if((e|0)<100){j=l;h=e}else{g=18;break}}if((g|0)==7){j=k[d+4>>2]|0;c=f;k[c>>2]=k[d>>2];k[c+4>>2]=j;k[b>>2]=k[d+8>>2];i[e+6>>0]=0;if((k[d+8>>2]|0)<=3){r=l;return}if(!(i[(k[d>>2]|0)+5>>0]&3)){r=l;return}if(!(i[e+5>>0]&4)){r=l;return}GFa(a,e);r=l;return}else if((g|0)==14){j=k[a+8>>2]|0;h=k[b+4>>2]|0;k[j>>2]=k[b>>2];k[j+4>>2]=h;k[j+8>>2]=k[f>>2];b=k[a+8>>2]|0;j=k[e+4>>2]|0;k[b+16>>2]=k[e>>2];k[b+16+4>>2]=j;k[b+24>>2]=k[e+8>>2];b=k[a+8>>2]|0;j=k[c+4>>2]|0;k[b+32>>2]=k[c>>2];k[b+32+4>>2]=j;k[b+40>>2]=k[c+8>>2];b=k[a+8>>2]|0;c=k[d+4>>2]|0;k[b+48>>2]=k[d>>2];k[b+48+4>>2]=c;k[b+56>>2]=k[d+8>>2];b=k[a+8>>2]|0;if(((k[a+28>>2]|0)-b|0)<65){YEa(a,4);b=k[a+8>>2]|0}k[a+8>>2]=b+64;aFa(a,b,0);r=l;return}else if((g|0)==18){PEa(a,516538,l+16|0);r=l;return}}function SGa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=k[b+8>>2]|0;if((d|0)!=(k[c+8>>2]|0)){f=TEa(a,b,c)|0;return f|0}switch(d|0){case 3:{f=+p[b>>3]<+p[c>>3]&1;return f|0}case 4:{b=k[b>>2]|0;e=k[c>>2]|0;d=gnb(b+16|0,e+16|0)|0;a:do if(!d){f=b+16|0;c=k[b+12>>2]|0;a=k[e+12>>2]|0;e=e+16|0;while(1){b=Fnb(f)|0;d=(b|0)==(c|0);if((b|0)==(a|0))break;if(d){d=-1;break a}f=f+(b+1)|0;e=e+(b+1)|0;d=gnb(f,e)|0;if(d|0)break a;else{c=c-(b+1)|0;a=a-(b+1)|0}}d=d&1^1}while(0);f=d>>>31;return f|0}default:{d=KGa(a,b,13)|0;if(k[d+8>>2]|0)if(PFa(d,KGa(a,c,13)|0)|0){f=k[a+8>>2]|0;e=f-(k[a+32>>2]|0)|0;g=k[d+4>>2]|0;k[f>>2]=k[d>>2];k[f+4>>2]=g;k[f+8>>2]=k[d+8>>2];d=k[a+8>>2]|0;f=k[b+4>>2]|0;k[d+16>>2]=k[b>>2];k[d+16+4>>2]=f;k[d+24>>2]=k[b+8>>2];d=k[a+8>>2]|0;f=k[c+4>>2]|0;k[d+32>>2]=k[c>>2];k[d+32+4>>2]=f;k[d+40>>2]=k[c+8>>2];d=k[a+8>>2]|0;if(((k[a+28>>2]|0)-d|0)<49){YEa(a,3);d=k[a+8>>2]|0}k[a+8>>2]=d+48;aFa(a,d,1);d=(k[a+32>>2]|0)+e|0;b=k[a+8>>2]|0;k[a+8>>2]=b+-16;g=k[b+-16+4>>2]|0;k[d>>2]=k[b+-16>>2];k[d+4>>2]=g;k[d+8>>2]=k[b+-8>>2];d=k[a+8>>2]|0;b=k[d+8>>2]|0;if(!b)d=0;else if((b|0)==1)d=(k[d>>2]|0)!=0;else d=1;g=d&1;return g|0}g=TEa(a,b,c)|0;return g|0}}return 0}function TGa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;switch(k[b+8>>2]|0){case 0:{d=1;break}case 3:{d=+p[b>>3]==+p[c>>3];break}case 1:{d=(k[b>>2]|0)==(k[c>>2]|0);break}case 2:{d=(k[b>>2]|0)==(k[c>>2]|0);break}case 7:{d=k[b>>2]|0;e=k[c>>2]|0;if((d|0)==(e|0))d=1;else{f=k[d+8>>2]|0;d=k[e+8>>2]|0;if(!f)d=0;else if(!(i[f+6>>0]&16)){e=JGa(f,4,k[(k[a+16>>2]|0)+204>>2]|0)|0;if(!e)d=0;else if((f|0)==(d|0)){d=e;g=24}else if(!d)d=0;else if(!(i[d+6>>0]&16)){d=JGa(d,4,k[(k[a+16>>2]|0)+204>>2]|0)|0;if(!d)d=0;else if(!(PFa(e,d)|0))d=0;else{d=e;g=24}}else d=0}else d=0}break}case 5:{d=k[b>>2]|0;e=k[c>>2]|0;if((d|0)==(e|0))d=1;else{f=k[d+8>>2]|0;d=k[e+8>>2]|0;if(!f)d=0;else if(!(i[f+6>>0]&16)){e=JGa(f,4,k[(k[a+16>>2]|0)+204>>2]|0)|0;if(!e)d=0;else if((f|0)==(d|0)){d=e;g=24}else if(!d)d=0;else if(!(i[d+6>>0]&16)){d=JGa(d,4,k[(k[a+16>>2]|0)+204>>2]|0)|0;if(!d)d=0;else if(!(PFa(e,d)|0))d=0;else{d=e;g=24}}else d=0}else d=0}break}default:d=(k[b>>2]|0)==(k[c>>2]|0)}if((g|0)==24){g=k[a+8>>2]|0;e=g-(k[a+32>>2]|0)|0;h=d;f=k[h+4>>2]|0;k[g>>2]=k[h>>2];k[g+4>>2]=f;k[g+8>>2]=k[d+8>>2];d=k[a+8>>2]|0;g=k[b+4>>2]|0;k[d+16>>2]=k[b>>2];k[d+16+4>>2]=g;k[d+24>>2]=k[b+8>>2];d=k[a+8>>2]|0;g=k[c+4>>2]|0;k[d+32>>2]=k[c>>2];k[d+32+4>>2]=g;k[d+40>>2]=k[c+8>>2];d=k[a+8>>2]|0;if(((k[a+28>>2]|0)-d|0)<49){YEa(a,3);d=k[a+8>>2]|0}k[a+8>>2]=d+48;aFa(a,d,1);d=(k[a+32>>2]|0)+e|0;e=k[a+8>>2]|0;k[a+8>>2]=e+-16;h=k[e+-16+4>>2]|0;k[d>>2]=k[e+-16>>2];k[d+4>>2]=h;k[d+8>>2]=k[e+-8>>2];d=k[a+8>>2]|0;e=k[d+8>>2]|0;if(!e)d=0;else if((e|0)==1)d=(k[d>>2]|0)!=0;else d=1}return d&1|0}function UGa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0;j=r;r=r+64|0;h=c;while(1){g=(k[a+12>>2]|0)+(h<<4)+16|0;e=g+-32+8|0;a:do if(((k[e>>2]|0)+-3|0)>>>0<2){switch(k[g+-16+8>>2]|0){case 4:break;case 3:{p[j>>3]=+p[g+-16>>3];Fmb(j+32|0,518956,j)|0;f=sGa(a,j+32|0,Fnb(j+32|0)|0)|0;k[g+-16>>2]=f;k[g+-16+8>>2]=4;break}default:{i=5;break a}}d=k[(k[g+-16>>2]|0)+12>>2]|0;if(!d){if((k[e>>2]|0)!=3){c=2;break}p[j+8>>3]=+p[g+-32>>3];Fmb(j+32|0,518956,j+8|0)|0;c=sGa(a,j+32|0,Fnb(j+32|0)|0)|0;k[g+-32>>2]=c;k[e>>2]=4;c=2;break}b:do if((b|0)>1){c=1;while(1){e=g+(0-c<<4)+-16|0;switch(k[e+8>>2]|0){case 4:break;case 3:{p[j+16>>3]=+p[e>>3];Fmb(j+32|0,518956,j+16|0)|0;f=sGa(a,j+32|0,Fnb(j+32|0)|0)|0;k[e>>2]=f;k[e+8>>2]=4;break}default:break b}e=k[(k[e>>2]|0)+12>>2]|0;if(e>>>0>=(-3-d|0)>>>0)PEa(a,516555,j+24|0);d=e+d|0;c=c+1|0;if((c|0)>=(b|0))break b}}else c=1;while(0);f=_Ga(a,(k[a+16>>2]|0)+52|0,d)|0;if((c|0)>0){e=c;d=0;while(1){m=k[g+(0-e<<4)>>2]|0;l=k[m+12>>2]|0;ABb(f+d|0,m+16|0,l|0)|0;d=l+d|0;if((e|0)>1)e=e+-1|0;else break}}else d=0;m=g+(0-c<<4)|0;l=sGa(a,f,d)|0;k[m>>2]=l;k[m+8>>2]=4}else i=5;while(0);do if((i|0)==5){i=0;c=KGa(a,g+-32|0,15)|0;if(!(k[c+8>>2]|0)){c=KGa(a,g+-16|0,15)|0;if(!(k[c+8>>2]|0)){REa(a,g+-32|0,g+-16|0);c=2;break}}d=g+-32-(k[a+32>>2]|0)|0;m=k[a+8>>2]|0;f=c;l=k[f+4>>2]|0;k[m>>2]=k[f>>2];k[m+4>>2]=l;k[m+8>>2]=k[c+8>>2];c=k[a+8>>2]|0;m=k[g+-32+4>>2]|0;k[c+16>>2]=k[g+-32>>2];k[c+16+4>>2]=m;k[c+24>>2]=k[e>>2];c=k[a+8>>2]|0;m=k[g+-16+4>>2]|0;k[c+32>>2]=k[g+-16>>2];k[c+32+4>>2]=m;k[c+40>>2]=k[g+-16+8>>2];c=k[a+8>>2]|0;if(((k[a+28>>2]|0)-c|0)<49){YEa(a,3);c=k[a+8>>2]|0}k[a+8>>2]=c+48;aFa(a,c,1);c=(k[a+32>>2]|0)+d|0;m=k[a+8>>2]|0;k[a+8>>2]=m+-16;l=k[m+-16+4>>2]|0;k[c>>2]=k[m+-16>>2];k[c+4>>2]=l;k[c+8>>2]=k[m+-8>>2];c=2}while(0);c=c+-1|0;b=b-c|0;if((b|0)<=1)break;else h=h-c|0}r=j;return}function VGa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0.0,h=0.0,j=0,m=0,n=0,o=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0.0;A=r;r=r+80|0;w=k[155322]|0;x=k[155323]|0;y=k[155324]|0;v=b;a:while(1){b=k[a+24>>2]|0;c=k[a+20>>2]|0;b:while(1){t=k[k[c+4>>2]>>2]|0;u=k[(k[t+16>>2]|0)+8>>2]|0;c=k[a+12>>2]|0;c:while(1){s=b+4|0;q=k[b>>2]|0;d=i[a+56>>0]|0;if(!(d&12))n=c;else{e=(k[a+64>>2]|0)+-1|0;k[a+64>>2]=e;if((d&4)==0&((e|0)==0^1))n=c;else{f=k[a+24>>2]|0;k[a+24>>2]=s;if(!((d&8|0)==0|(e|0)==0^1)){k[a+64>>2]=k[a+60>>2];ZEa(a,3,-1)}do if(d&4|0){d=k[(k[k[(k[a+20>>2]|0)+4>>2]>>2]|0)+16>>2]|0;c=k[d+12>>2]|0;d=k[d+20>>2]|0;if(!d)e=0;else e=k[d+((s-c>>2)+-1<<2)>>2]|0;if(f>>>0>>0&((s-c>>2)+-1|0)!=0){if(!d)c=0;else c=k[d+((f-c>>2)+-1<<2)>>2]|0;if((e|0)==(c|0))break}ZEa(a,2,e)}while(0);if((i[a+6>>0]|0)==1){z=17;break a}n=k[a+12>>2]|0}}o=n+((q>>>6&255)<<4)|0;do switch(q&63|0){case 30:{b=n;break b}case 0:{b=n+(q>>>23<<4)|0;c=k[b+4>>2]|0;k[o>>2]=k[b>>2];k[o+4>>2]=c;k[n+((q>>>6&255)<<4)+8>>2]=k[n+(q>>>23<<4)+8>>2];c=n;b=s;continue c}case 1:{c=k[u+(q>>>14<<4)+4>>2]|0;k[o>>2]=k[u+(q>>>14<<4)>>2];k[o+4>>2]=c;k[n+((q>>>6&255)<<4)+8>>2]=k[u+(q>>>14<<4)+8>>2];c=n;b=s;continue c}case 2:{k[o>>2]=q>>>23;k[n+((q>>>6&255)<<4)+8>>2]=1;c=n;b=(q&8372224|0)==0?s:b+8|0;continue c}case 3:{c=n+(q>>>23<<4)|0;while(1){b=c+-16|0;k[c+8>>2]=0;if(b>>>0>>0){c=n;b=s;continue c}else c=b}}case 4:{c=k[(k[t+20+(q>>>23<<2)>>2]|0)+8>>2]|0;b=k[c+4>>2]|0;k[o>>2]=k[c>>2];k[o+4>>2]=b;k[n+((q>>>6&255)<<4)+8>>2]=k[c+8>>2];c=n;b=s;continue c}case 5:{k[A+32>>2]=k[t+12>>2];k[A+32+8>>2]=5;k[a+24>>2]=s;QGa(a,A+32|0,u+(q>>>14<<4)|0,o);c=k[a+12>>2]|0;b=s;continue c}case 6:{k[a+24>>2]=s;QGa(a,n+(q>>>23<<4)|0,(q>>>14&256|0)==0?n+((q>>>14&511)<<4)|0:u+((q>>>14&255)<<4)|0,o);c=k[a+12>>2]|0;b=s;continue c}case 7:{k[A+32>>2]=k[t+12>>2];k[A+32+8>>2]=5;k[a+24>>2]=s;RGa(a,A+32|0,u+(q>>>14<<4)|0,o);c=k[a+12>>2]|0;b=s;continue c}case 8:{c=k[t+20+(q>>>23<<2)>>2]|0;m=k[c+8>>2]|0;j=k[o+4>>2]|0;k[m>>2]=k[o>>2];k[m+4>>2]=j;q=n+((q>>>6&255)<<4)+8|0;k[m+8>>2]=k[q>>2];if((k[q>>2]|0)<=3){c=n;b=s;continue c}b=k[o>>2]|0;if(!(i[b+5>>0]&3)){c=n;b=s;continue c}if(!(i[c+5>>0]&4)){c=n;b=s;continue c}FFa(a,c,b);c=n;b=s;continue c}case 9:{k[a+24>>2]=s;RGa(a,o,(q>>>23&256|0)==0?n+(q>>>23<<4)|0:u+((q>>>23&255)<<4)|0,(q>>>14&256|0)==0?n+((q>>>14&511)<<4)|0:u+((q>>>14&255)<<4)|0);c=k[a+12>>2]|0;b=s;continue c}case 10:{m=NFa(q>>>23)|0;m=AGa(a,m,NFa(q>>>14&511)|0)|0;k[o>>2]=m;k[n+((q>>>6&255)<<4)+8>>2]=5;k[a+24>>2]=s;q=k[a+16>>2]|0;if((k[q+68>>2]|0)>>>0>=(k[q+64>>2]|0)>>>0)yFa(a);c=k[a+12>>2]|0;b=s;continue c}case 11:{c=n+(q>>>23<<4)|0;b=k[c+4>>2]|0;k[o+16>>2]=k[c>>2];k[o+16+4>>2]=b;k[o+16+8>>2]=k[n+(q>>>23<<4)+8>>2];k[a+24>>2]=s;QGa(a,c,(q>>>14&256|0)==0?n+((q>>>14&511)<<4)|0:u+((q>>>14&255)<<4)|0,o);c=k[a+12>>2]|0;b=s;continue c}case 12:{d=(q>>>23&256|0)==0?n+(q>>>23<<4)|0:u+((q>>>23&255)<<4)|0;e=(q>>>14&256|0)==0?n+((q>>>14&511)<<4)|0:u+((q>>>14&255)<<4)|0;b=k[d+8>>2]|0;do if((b|0)==3)if((k[e+8>>2]|0)==3){p[o>>3]=+p[d>>3]+ +p[e>>3];k[n+((q>>>6&255)<<4)+8>>2]=3;c=n;b=s;continue c}else{k[a+24>>2]=s;c=d;z=46;break}else{k[a+24>>2]=s;if((b|0)==4)if(QFa((k[d>>2]|0)+16|0,A+32|0)|0){p[A+16>>3]=+p[A+32>>3];k[A+16+8>>2]=3;c=A+16|0;z=46;break}z=51}while(0);do if((z|0)==46){switch(k[e+8>>2]|0){case 3:{b=e;z=50;break}case 4:{if(!(QFa((k[e>>2]|0)+16|0,A+32|0)|0))z=49;else{p[A>>3]=+p[A+32>>3];k[A+8>>2]=3;b=A;z=50}break}default:z=49}if((z|0)==49){z=51;break}else if((z|0)==50){z=0;p[o>>3]=+p[c>>3]+ +p[b>>3];k[n+((q>>>6&255)<<4)+8>>2]=3;break}}while(0);do if((z|0)==51){z=0;b=KGa(a,d,5)|0;if(!(k[b+8>>2]|0)){b=KGa(a,e,5)|0;if(!(k[b+8>>2]|0)){SEa(a,d,e);break}}c=o-(k[a+32>>2]|0)|0;q=k[a+8>>2]|0;n=b;o=k[n+4>>2]|0;k[q>>2]=k[n>>2];k[q+4>>2]=o;k[q+8>>2]=k[b+8>>2];b=k[a+8>>2]|0;q=k[d+4>>2]|0;k[b+16>>2]=k[d>>2];k[b+16+4>>2]=q;k[b+24>>2]=k[d+8>>2];b=k[a+8>>2]|0;q=k[e+4>>2]|0;k[b+32>>2]=k[e>>2];k[b+32+4>>2]=q;k[b+40>>2]=k[e+8>>2];b=k[a+8>>2]|0;if(((k[a+28>>2]|0)-b|0)<49){YEa(a,3);b=k[a+8>>2]|0}k[a+8>>2]=b+48;aFa(a,b,1);q=(k[a+32>>2]|0)+c|0;o=k[a+8>>2]|0;k[a+8>>2]=o+-16;n=k[o+-16+4>>2]|0;k[q>>2]=k[o+-16>>2];k[q+4>>2]=n;k[q+8>>2]=k[o+-8>>2]}while(0);c=k[a+12>>2]|0;b=s;continue c}case 13:{d=(q>>>23&256|0)==0?n+(q>>>23<<4)|0:u+((q>>>23&255)<<4)|0;e=(q>>>14&256|0)==0?n+((q>>>14&511)<<4)|0:u+((q>>>14&255)<<4)|0;b=k[d+8>>2]|0;do if((b|0)==3)if((k[e+8>>2]|0)==3){p[o>>3]=+p[d>>3]-+p[e>>3];k[n+((q>>>6&255)<<4)+8>>2]=3;c=n;b=s;continue c}else{k[a+24>>2]=s;c=d;z=66;break}else{k[a+24>>2]=s;if((b|0)==4)if(QFa((k[d>>2]|0)+16|0,A+32|0)|0){p[A+16>>3]=+p[A+32>>3];k[A+16+8>>2]=3;c=A+16|0;z=66;break}z=71}while(0);do if((z|0)==66){switch(k[e+8>>2]|0){case 3:{b=e;z=70;break}case 4:{if(!(QFa((k[e>>2]|0)+16|0,A+32|0)|0))z=69;else{p[A>>3]=+p[A+32>>3];k[A+8>>2]=3;b=A;z=70}break}default:z=69}if((z|0)==69){z=71;break}else if((z|0)==70){z=0;p[o>>3]=+p[c>>3]-+p[b>>3];k[n+((q>>>6&255)<<4)+8>>2]=3;break}}while(0);do if((z|0)==71){z=0;b=KGa(a,d,6)|0;if(!(k[b+8>>2]|0)){b=KGa(a,e,6)|0;if(!(k[b+8>>2]|0)){SEa(a,d,e);break}}c=o-(k[a+32>>2]|0)|0;q=k[a+8>>2]|0;n=b;o=k[n+4>>2]|0;k[q>>2]=k[n>>2];k[q+4>>2]=o;k[q+8>>2]=k[b+8>>2];b=k[a+8>>2]|0;q=k[d+4>>2]|0;k[b+16>>2]=k[d>>2];k[b+16+4>>2]=q;k[b+24>>2]=k[d+8>>2];b=k[a+8>>2]|0;q=k[e+4>>2]|0;k[b+32>>2]=k[e>>2];k[b+32+4>>2]=q;k[b+40>>2]=k[e+8>>2];b=k[a+8>>2]|0;if(((k[a+28>>2]|0)-b|0)<49){YEa(a,3);b=k[a+8>>2]|0}k[a+8>>2]=b+48;aFa(a,b,1);q=(k[a+32>>2]|0)+c|0;o=k[a+8>>2]|0;k[a+8>>2]=o+-16;n=k[o+-16+4>>2]|0;k[q>>2]=k[o+-16>>2];k[q+4>>2]=n;k[q+8>>2]=k[o+-8>>2]}while(0);c=k[a+12>>2]|0;b=s;continue c}case 14:{d=(q>>>23&256|0)==0?n+(q>>>23<<4)|0:u+((q>>>23&255)<<4)|0;e=(q>>>14&256|0)==0?n+((q>>>14&511)<<4)|0:u+((q>>>14&255)<<4)|0;b=k[d+8>>2]|0;do if((b|0)==3)if((k[e+8>>2]|0)==3){p[o>>3]=+p[d>>3]*+p[e>>3];k[n+((q>>>6&255)<<4)+8>>2]=3;c=n;b=s;continue c}else{k[a+24>>2]=s;c=d;z=86;break}else{k[a+24>>2]=s;if((b|0)==4)if(QFa((k[d>>2]|0)+16|0,A+32|0)|0){p[A+16>>3]=+p[A+32>>3];k[A+16+8>>2]=3;c=A+16|0;z=86;break}z=91}while(0);do if((z|0)==86){switch(k[e+8>>2]|0){case 3:{b=e;z=90;break}case 4:{if(!(QFa((k[e>>2]|0)+16|0,A+32|0)|0))z=89;else{p[A>>3]=+p[A+32>>3];k[A+8>>2]=3;b=A;z=90}break}default:z=89}if((z|0)==89){z=91;break}else if((z|0)==90){z=0;p[o>>3]=+p[c>>3]*+p[b>>3];k[n+((q>>>6&255)<<4)+8>>2]=3;break}}while(0);do if((z|0)==91){z=0;b=KGa(a,d,7)|0;if(!(k[b+8>>2]|0)){b=KGa(a,e,7)|0;if(!(k[b+8>>2]|0)){SEa(a,d,e);break}}c=o-(k[a+32>>2]|0)|0;q=k[a+8>>2]|0;n=b;o=k[n+4>>2]|0;k[q>>2]=k[n>>2];k[q+4>>2]=o;k[q+8>>2]=k[b+8>>2];b=k[a+8>>2]|0;q=k[d+4>>2]|0;k[b+16>>2]=k[d>>2];k[b+16+4>>2]=q;k[b+24>>2]=k[d+8>>2];b=k[a+8>>2]|0;q=k[e+4>>2]|0;k[b+32>>2]=k[e>>2];k[b+32+4>>2]=q;k[b+40>>2]=k[e+8>>2];b=k[a+8>>2]|0;if(((k[a+28>>2]|0)-b|0)<49){YEa(a,3);b=k[a+8>>2]|0}k[a+8>>2]=b+48;aFa(a,b,1);q=(k[a+32>>2]|0)+c|0;o=k[a+8>>2]|0;k[a+8>>2]=o+-16;n=k[o+-16+4>>2]|0;k[q>>2]=k[o+-16>>2];k[q+4>>2]=n;k[q+8>>2]=k[o+-8>>2]}while(0);c=k[a+12>>2]|0;b=s;continue c}case 15:{d=(q>>>23&256|0)==0?n+(q>>>23<<4)|0:u+((q>>>23&255)<<4)|0;e=(q>>>14&256|0)==0?n+((q>>>14&511)<<4)|0:u+((q>>>14&255)<<4)|0;b=k[d+8>>2]|0;do if((b|0)==3)if((k[e+8>>2]|0)==3){p[o>>3]=+p[d>>3]/+p[e>>3];k[n+((q>>>6&255)<<4)+8>>2]=3;c=n;b=s;continue c}else{k[a+24>>2]=s;c=d;z=106;break}else{k[a+24>>2]=s;if((b|0)==4)if(QFa((k[d>>2]|0)+16|0,A+32|0)|0){p[A+16>>3]=+p[A+32>>3];k[A+16+8>>2]=3;c=A+16|0;z=106;break}z=111}while(0);do if((z|0)==106){switch(k[e+8>>2]|0){case 3:{b=e;z=110;break}case 4:{if(!(QFa((k[e>>2]|0)+16|0,A+32|0)|0))z=109;else{p[A>>3]=+p[A+32>>3];k[A+8>>2]=3;b=A;z=110}break}default:z=109}if((z|0)==109){z=111;break}else if((z|0)==110){z=0;p[o>>3]=+p[c>>3]/+p[b>>3];k[n+((q>>>6&255)<<4)+8>>2]=3;break}}while(0);do if((z|0)==111){z=0;b=KGa(a,d,8)|0;if(!(k[b+8>>2]|0)){b=KGa(a,e,8)|0;if(!(k[b+8>>2]|0)){SEa(a,d,e);break}}c=o-(k[a+32>>2]|0)|0;q=k[a+8>>2]|0;n=b;o=k[n+4>>2]|0;k[q>>2]=k[n>>2];k[q+4>>2]=o;k[q+8>>2]=k[b+8>>2];b=k[a+8>>2]|0;q=k[d+4>>2]|0;k[b+16>>2]=k[d>>2];k[b+16+4>>2]=q;k[b+24>>2]=k[d+8>>2];b=k[a+8>>2]|0;q=k[e+4>>2]|0;k[b+32>>2]=k[e>>2];k[b+32+4>>2]=q;k[b+40>>2]=k[e+8>>2];b=k[a+8>>2]|0;if(((k[a+28>>2]|0)-b|0)<49){YEa(a,3);b=k[a+8>>2]|0}k[a+8>>2]=b+48;aFa(a,b,1);q=(k[a+32>>2]|0)+c|0;o=k[a+8>>2]|0;k[a+8>>2]=o+-16;n=k[o+-16+4>>2]|0;k[q>>2]=k[o+-16>>2];k[q+4>>2]=n;k[q+8>>2]=k[o+-8>>2]}while(0);c=k[a+12>>2]|0;b=s;continue c}case 16:{d=(q>>>23&256|0)==0?n+(q>>>23<<4)|0:u+((q>>>23&255)<<4)|0;e=(q>>>14&256|0)==0?n+((q>>>14&511)<<4)|0:u+((q>>>14&255)<<4)|0;b=k[d+8>>2]|0;do if((b|0)==3)if((k[e+8>>2]|0)==3){g=+p[d>>3];h=+p[e>>3];h=g-h*+V(+(g/h));p[o>>3]=h;k[n+((q>>>6&255)<<4)+8>>2]=3;c=n;b=s;continue c}else{k[a+24>>2]=s;c=d;z=126;break}else{k[a+24>>2]=s;if((b|0)==4)if(QFa((k[d>>2]|0)+16|0,A+32|0)|0){p[A+16>>3]=+p[A+32>>3];k[A+16+8>>2]=3;c=A+16|0;z=126;break}z=131}while(0);do if((z|0)==126){switch(k[e+8>>2]|0){case 3:{b=e;z=130;break}case 4:{if(!(QFa((k[e>>2]|0)+16|0,A+32|0)|0))z=129;else{p[A>>3]=+p[A+32>>3];k[A+8>>2]=3;b=A;z=130}break}default:z=129}if((z|0)==129){z=131;break}else if((z|0)==130){z=0;g=+p[c>>3];h=+p[b>>3];h=g-h*+V(+(g/h));p[o>>3]=h;k[n+((q>>>6&255)<<4)+8>>2]=3;break}}while(0);do if((z|0)==131){z=0;b=KGa(a,d,9)|0;if(!(k[b+8>>2]|0)){b=KGa(a,e,9)|0;if(!(k[b+8>>2]|0)){SEa(a,d,e);break}}c=o-(k[a+32>>2]|0)|0;q=k[a+8>>2]|0;n=b;o=k[n+4>>2]|0;k[q>>2]=k[n>>2];k[q+4>>2]=o;k[q+8>>2]=k[b+8>>2];b=k[a+8>>2]|0;q=k[d+4>>2]|0;k[b+16>>2]=k[d>>2];k[b+16+4>>2]=q;k[b+24>>2]=k[d+8>>2];b=k[a+8>>2]|0;q=k[e+4>>2]|0;k[b+32>>2]=k[e>>2];k[b+32+4>>2]=q;k[b+40>>2]=k[e+8>>2];b=k[a+8>>2]|0;if(((k[a+28>>2]|0)-b|0)<49){YEa(a,3);b=k[a+8>>2]|0}k[a+8>>2]=b+48;aFa(a,b,1);q=(k[a+32>>2]|0)+c|0;o=k[a+8>>2]|0;k[a+8>>2]=o+-16;n=k[o+-16+4>>2]|0;k[q>>2]=k[o+-16>>2];k[q+4>>2]=n;k[q+8>>2]=k[o+-8>>2]}while(0);c=k[a+12>>2]|0;b=s;continue c}case 17:{d=(q>>>23&256|0)==0?n+(q>>>23<<4)|0:u+((q>>>23&255)<<4)|0;e=(q>>>14&256|0)==0?n+((q>>>14&511)<<4)|0:u+((q>>>14&255)<<4)|0;b=k[d+8>>2]|0;do if((b|0)==3)if((k[e+8>>2]|0)==3){h=+Y(+(+p[d>>3]),+(+p[e>>3]));p[o>>3]=h;k[n+((q>>>6&255)<<4)+8>>2]=3;c=n;b=s;continue c}else{k[a+24>>2]=s;c=d;z=146;break}else{k[a+24>>2]=s;if((b|0)==4)if(QFa((k[d>>2]|0)+16|0,A+32|0)|0){p[A+16>>3]=+p[A+32>>3];k[A+16+8>>2]=3;c=A+16|0;z=146;break}z=151}while(0);do if((z|0)==146){switch(k[e+8>>2]|0){case 3:{b=e;z=150;break}case 4:{if(!(QFa((k[e>>2]|0)+16|0,A+32|0)|0))z=149;else{p[A>>3]=+p[A+32>>3];k[A+8>>2]=3;b=A;z=150}break}default:z=149}if((z|0)==149){z=151;break}else if((z|0)==150){z=0;h=+Y(+(+p[c>>3]),+(+p[b>>3]));p[o>>3]=h;k[n+((q>>>6&255)<<4)+8>>2]=3;break}}while(0);do if((z|0)==151){z=0;b=KGa(a,d,10)|0;if(!(k[b+8>>2]|0)){b=KGa(a,e,10)|0;if(!(k[b+8>>2]|0)){SEa(a,d,e);break}}c=o-(k[a+32>>2]|0)|0;q=k[a+8>>2]|0;n=b;o=k[n+4>>2]|0;k[q>>2]=k[n>>2];k[q+4>>2]=o;k[q+8>>2]=k[b+8>>2];b=k[a+8>>2]|0;q=k[d+4>>2]|0;k[b+16>>2]=k[d>>2];k[b+16+4>>2]=q;k[b+24>>2]=k[d+8>>2];b=k[a+8>>2]|0;q=k[e+4>>2]|0;k[b+32>>2]=k[e>>2];k[b+32+4>>2]=q;k[b+40>>2]=k[e+8>>2];b=k[a+8>>2]|0;if(((k[a+28>>2]|0)-b|0)<49){YEa(a,3);b=k[a+8>>2]|0}k[a+8>>2]=b+48;aFa(a,b,1);q=(k[a+32>>2]|0)+c|0;o=k[a+8>>2]|0;k[a+8>>2]=o+-16;n=k[o+-16+4>>2]|0;k[q>>2]=k[o+-16>>2];k[q+4>>2]=n;k[q+8>>2]=k[o+-8>>2]}while(0);c=k[a+12>>2]|0;b=s;continue c}case 18:{d=n+(q>>>23<<4)|0;e=n+(q>>>23<<4)+8|0;b=k[e>>2]|0;if((b|0)==3){p[o>>3]=-+p[d>>3];k[n+((q>>>6&255)<<4)+8>>2]=3;c=n;b=s;continue c}k[a+24>>2]=s;do if((b|0)==4)if(!(QFa((k[d>>2]|0)+16|0,A+32|0)|0))z=163;else{p[A+16>>3]=+p[A+32>>3];k[A+16+8>>2]=3;switch(k[e>>2]|0){case 3:{z=166;break}case 4:{if(!(QFa((k[d>>2]|0)+16|0,A+32|0)|0))z=165;else z=166;break}default:z=165}if((z|0)==165){z=167;break}else if((z|0)==166){z=0;p[o>>3]=-+p[A+16>>3];k[n+((q>>>6&255)<<4)+8>>2]=3;break}}else z=163;while(0);if((z|0)==163)z=167;do if((z|0)==167){z=0;b=KGa(a,d,11)|0;if(!(k[b+8>>2]|0)){b=KGa(a,d,11)|0;if(!(k[b+8>>2]|0)){SEa(a,d,d);break}}c=o-(k[a+32>>2]|0)|0;q=k[a+8>>2]|0;n=b;o=k[n+4>>2]|0;k[q>>2]=k[n>>2];k[q+4>>2]=o;k[q+8>>2]=k[b+8>>2];b=k[a+8>>2]|0;q=k[d+4>>2]|0;k[b+16>>2]=k[d>>2];k[b+16+4>>2]=q;k[b+24>>2]=k[e>>2];b=k[a+8>>2]|0;q=k[d+4>>2]|0;k[b+32>>2]=k[d>>2];k[b+32+4>>2]=q;k[b+40>>2]=k[e>>2];b=k[a+8>>2]|0;if(((k[a+28>>2]|0)-b|0)<49){YEa(a,3);b=k[a+8>>2]|0}k[a+8>>2]=b+48;aFa(a,b,1);q=(k[a+32>>2]|0)+c|0;o=k[a+8>>2]|0;k[a+8>>2]=o+-16;n=k[o+-16+4>>2]|0;k[q>>2]=k[o+-16>>2];k[q+4>>2]=n;k[q+8>>2]=k[o+-8>>2]}while(0);c=k[a+12>>2]|0;b=s;continue c}case 19:{b=k[n+(q>>>23<<4)+8>>2]|0;if(!b)b=1;else if((b|0)==1)b=(k[n+(q>>>23<<4)>>2]|0)==0;else b=0;k[o>>2]=b&1;k[n+((q>>>6&255)<<4)+8>>2]=1;c=n;b=s;continue c}case 20:{d=n+(q>>>23<<4)|0;e=n+(q>>>23<<4)+8|0;switch(k[e>>2]|0){case 5:{h=+(HGa(k[d>>2]|0)|0);p[o>>3]=h;k[n+((q>>>6&255)<<4)+8>>2]=3;c=n;b=s;continue c}case 4:{p[o>>3]=+((k[(k[d>>2]|0)+12>>2]|0)>>>0);k[n+((q>>>6&255)<<4)+8>>2]=3;c=n;b=s;continue c}default:{k[a+24>>2]=s;b=KGa(a,d,12)|0;if(!(k[b+8>>2]|0)){b=KGa(a,621288,12)|0;if(!(k[b+8>>2]|0))OEa(a,d,516578);else z=183}else z=183;if((z|0)==183){z=0;c=o-(k[a+32>>2]|0)|0;q=k[a+8>>2]|0;n=b;o=k[n+4>>2]|0;k[q>>2]=k[n>>2];k[q+4>>2]=o;k[q+8>>2]=k[b+8>>2];b=k[a+8>>2]|0;q=k[d+4>>2]|0;k[b+16>>2]=k[d>>2];k[b+16+4>>2]=q;k[b+24>>2]=k[e>>2];b=k[a+8>>2]|0;k[b+32>>2]=w;k[b+32+4>>2]=x;k[b+40>>2]=y;b=k[a+8>>2]|0;if(((k[a+28>>2]|0)-b|0)<49){YEa(a,3);b=k[a+8>>2]|0}k[a+8>>2]=b+48;aFa(a,b,1);q=(k[a+32>>2]|0)+c|0;o=k[a+8>>2]|0;k[a+8>>2]=o+-16;n=k[o+-16+4>>2]|0;k[q>>2]=k[o+-16>>2];k[q+4>>2]=n;k[q+8>>2]=k[o+-8>>2]}c=k[a+12>>2]|0;b=s;continue c}}}case 21:{k[a+24>>2]=s;UGa(a,1-(q>>>23)+(q>>>14&511)|0,q>>>14&511);o=k[a+16>>2]|0;if((k[o+68>>2]|0)>>>0>=(k[o+64>>2]|0)>>>0)yFa(a);c=k[a+12>>2]|0;b=k[c+(q>>>23<<4)+4>>2]|0;k[c+((q>>>6&255)<<4)>>2]=k[c+(q>>>23<<4)>>2];k[c+((q>>>6&255)<<4)+4>>2]=b;k[c+((q>>>6&255)<<4)+8>>2]=k[c+(q>>>23<<4)+8>>2];b=s;continue c}case 22:{c=n;b=s+((q>>>14)+-131071<<2)|0;continue c}case 23:{c=(q>>>23&256|0)==0?n+(q>>>23<<4)|0:u+((q>>>23&255)<<4)|0;b=(q>>>14&256|0)==0?n+((q>>>14&511)<<4)|0:u+((q>>>14&255)<<4)|0;k[a+24>>2]=s;if((k[c+8>>2]|0)==(k[b+8>>2]|0))b=(TGa(a,c,b)|0)!=0;else b=0;if((b&1|0)==(q>>>6&255|0))b=s+(((k[s>>2]|0)>>>14)+-131071<<2)|0;else b=s;c=k[a+12>>2]|0;b=b+4|0;continue c}case 24:{k[a+24>>2]=s;if((SGa(a,(q>>>23&256|0)==0?n+(q>>>23<<4)|0:u+((q>>>23&255)<<4)|0,(q>>>14&256|0)==0?n+((q>>>14&511)<<4)|0:u+((q>>>14&255)<<4)|0)|0)==(q>>>6&255|0))b=s+(((k[s>>2]|0)>>>14)+-131071<<2)|0;else b=s;c=k[a+12>>2]|0;b=b+4|0;continue c}case 25:{k[a+24>>2]=s;d=(q>>>23&256|0)==0?n+(q>>>23<<4)|0:u+((q>>>23&255)<<4)|0;e=(q>>>14&256|0)==0?n+((q>>>14&511)<<4)|0:u+((q>>>14&255)<<4)|0;b=k[d+8>>2]|0;d:do if((b|0)==(k[e+8>>2]|0))switch(b|0){case 3:{b=+p[d>>3]<=+p[e>>3]&1;break d}case 4:{c=k[d>>2]|0;d=k[e>>2]|0;b=gnb(c+16|0,d+16|0)|0;e:do if(!b){j=c+16|0;e=k[c+12>>2]|0;f=k[d+12>>2]|0;d=d+16|0;while(1){c=Fnb(j)|0;b=(c|0)==(e|0);if((c|0)==(f|0))break;if(b){b=-1;break e}j=j+(c+1)|0;d=d+(c+1)|0;b=gnb(j,d)|0;if(b|0)break e;else{e=e-(c+1)|0;f=f-(c+1)|0}}b=b&1^1}while(0);b=(b|0)<1&1;break d}default:{b=KGa(a,d,14)|0;if(k[b+8>>2]|0)if(PFa(b,KGa(a,e,14)|0)|0){o=k[a+8>>2]|0;c=o-(k[a+32>>2]|0)|0;n=k[b+4>>2]|0;k[o>>2]=k[b>>2];k[o+4>>2]=n;k[o+8>>2]=k[b+8>>2];b=k[a+8>>2]|0;o=k[d+4>>2]|0;k[b+16>>2]=k[d>>2];k[b+16+4>>2]=o;k[b+24>>2]=k[d+8>>2];b=k[a+8>>2]|0;o=k[e+4>>2]|0;k[b+32>>2]=k[e>>2];k[b+32+4>>2]=o;k[b+40>>2]=k[e+8>>2];b=k[a+8>>2]|0;if(((k[a+28>>2]|0)-b|0)<49){YEa(a,3);b=k[a+8>>2]|0}k[a+8>>2]=b+48;aFa(a,b,1);b=(k[a+32>>2]|0)+c|0;c=k[a+8>>2]|0;k[a+8>>2]=c+-16;o=k[c+-16+4>>2]|0;k[b>>2]=k[c+-16>>2];k[b+4>>2]=o;k[b+8>>2]=k[c+-8>>2];b=k[a+8>>2]|0;c=k[b+8>>2]|0;if(!c)b=0;else if((c|0)==1)b=(k[b>>2]|0)!=0;else b=1;b=b&1;break d}b=KGa(a,e,13)|0;if(k[b+8>>2]|0)if(PFa(b,KGa(a,d,13)|0)|0){o=k[a+8>>2]|0;c=o-(k[a+32>>2]|0)|0;n=k[b+4>>2]|0;k[o>>2]=k[b>>2];k[o+4>>2]=n;k[o+8>>2]=k[b+8>>2];b=k[a+8>>2]|0;o=k[e+4>>2]|0;k[b+16>>2]=k[e>>2];k[b+16+4>>2]=o;k[b+24>>2]=k[e+8>>2];b=k[a+8>>2]|0;o=k[d+4>>2]|0;k[b+32>>2]=k[d>>2];k[b+32+4>>2]=o;k[b+40>>2]=k[d+8>>2];b=k[a+8>>2]|0;if(((k[a+28>>2]|0)-b|0)<49){YEa(a,3);b=k[a+8>>2]|0}k[a+8>>2]=b+48;aFa(a,b,1);b=(k[a+32>>2]|0)+c|0;c=k[a+8>>2]|0;k[a+8>>2]=c+-16;o=k[c+-16+4>>2]|0;k[b>>2]=k[c+-16>>2];k[b+4>>2]=o;k[b+8>>2]=k[c+-8>>2];b=k[a+8>>2]|0;c=k[b+8>>2]|0;if(!c)b=0;else if((c|0)==1)b=(k[b>>2]|0)!=0;else b=1;b=b&1^1;break d}b=TEa(a,d,e)|0;break d}}else b=TEa(a,d,e)|0;while(0);if((b|0)==(q>>>6&255|0))b=s+(((k[s>>2]|0)>>>14)+-131071<<2)|0;else b=s;c=k[a+12>>2]|0;b=b+4|0;continue c}case 26:{b=k[n+((q>>>6&255)<<4)+8>>2]|0;if(!b)b=1;else if((b|0)==1)b=(k[o>>2]|0)==0;else b=0;if((b&1|0)==(q>>>14&511|0))b=s;else b=s+(((k[s>>2]|0)>>>14)+-131071<<2)|0;c=n;b=b+4|0;continue c}case 27:{b=n+(q>>>23<<4)|0;c=k[n+(q>>>23<<4)+8>>2]|0;if(!c)d=1;else if((c|0)==1)d=(k[b>>2]|0)==0;else d=0;if((d&1|0)==(q>>>14&511|0))b=s;else{m=k[b+4>>2]|0;k[o>>2]=k[b>>2];k[o+4>>2]=m;k[n+((q>>>6&255)<<4)+8>>2]=c;b=s+(((k[s>>2]|0)>>>14)+-131071<<2)|0}c=n;b=b+4|0;continue c}case 28:{if(q>>>23|0)k[a+8>>2]=o+(q>>>23<<4);k[a+24>>2]=s;switch(_Ea(a,o,(q>>>14&511)+-1|0)|0){case 0:{z=246;break b}case 1:break;default:{z=322;break a}}if(q>>>14&511|0)k[a+8>>2]=k[(k[a+20>>2]|0)+8>>2];c=k[a+12>>2]|0;b=s;continue c}case 29:{if(q>>>23|0)k[a+8>>2]=o+(q>>>23<<4);k[a+24>>2]=s;switch(_Ea(a,o,-1)|0){case 0:break c;case 1:break;default:{z=322;break a}}c=k[a+12>>2]|0;b=s;continue c}case 31:{B=+p[o+32>>3];g=B+ +p[o>>3];h=+p[o+16>>3];if(B>0.0){if(!(g<=h)){c=n;b=s;continue c}}else if(!(h<=g)){c=n;b=s;continue c}p[o>>3]=g;k[n+((q>>>6&255)<<4)+8>>2]=3;p[o+48>>3]=g;k[o+48+8>>2]=3;c=n;b=s+((q>>>14)+-131071<<2)|0;continue c}case 32:{k[a+24>>2]=s;c=n+((q>>>6&255)<<4)+8|0;b=k[c>>2]|0;do if((b|0)==3)z=275;else{if((b|0)==4)if(QFa((k[o>>2]|0)+16|0,A+32|0)|0){p[o>>3]=+p[A+32>>3];k[c>>2]=3;z=275;break}PEa(a,516592,A+48|0)}while(0);f:do if((z|0)==275){z=0;b=k[o+16+8>>2]|0;do if((b|0)!=3){if((b|0)==4)if(QFa((k[o+16>>2]|0)+16|0,A+32|0)|0){p[o+16>>3]=+p[A+32>>3];k[o+16+8>>2]=3;break}PEa(a,516629,A+56|0);break f}while(0);b=k[o+32+8>>2]|0;if((b|0)!=3){if((b|0)!=4){z=284;break a}if(!(QFa((k[o+32>>2]|0)+16|0,A+32|0)|0)){z=284;break a}p[o+32>>3]=+p[A+32>>3];k[o+32+8>>2]=3}}while(0);p[o>>3]=+p[o>>3]-+p[o+32>>3];k[c>>2]=3;c=n;b=s+((q>>>14)+-131071<<2)|0;continue c}case 33:{c=k[o+32+4>>2]|0;k[o+48+32>>2]=k[o+32>>2];k[o+48+32+4>>2]=c;k[o+48+32+8>>2]=k[o+32+8>>2];c=k[o+16+4>>2]|0;k[o+48+16>>2]=k[o+16>>2];k[o+48+16+4>>2]=c;k[o+48+16+8>>2]=k[o+16+8>>2];c=k[o+4>>2]|0;k[o+48>>2]=k[o>>2];k[o+48+4>>2]=c;k[o+48+8>>2]=k[n+((q>>>6&255)<<4)+8>>2];k[a+8>>2]=o+48+48;k[a+24>>2]=s;aFa(a,o+48|0,q>>>14&511);c=k[a+12>>2]|0;k[a+8>>2]=k[(k[a+20>>2]|0)+8>>2];b=k[c+((q>>>6&255)<<4)+48+8>>2]|0;if(!b)b=s;else{o=c+((q>>>6&255)<<4)+48+-16|0;n=c+((q>>>6&255)<<4)+48|0;q=k[n+4>>2]|0;k[o>>2]=k[n>>2];k[o+4>>2]=q;k[o+8>>2]=b;b=s+(((k[s>>2]|0)>>>14)+-131071<<2)|0}b=b+4|0;continue c}case 34:{if(!(q>>>23)){f=((k[a+8>>2]|0)-o>>4)+-1|0;k[a+8>>2]=k[(k[a+20>>2]|0)+8>>2]}else f=q>>>23;if(!(q>>>14&511)){c=k[s>>2]|0;b=b+8|0}else{c=q>>>14&511;b=s}if((k[n+((q>>>6&255)<<4)+8>>2]|0)!=5){c=n;continue c}j=k[o>>2]|0;c=f+-50+(c*50|0)|0;if((c|0)>(k[j+28>>2]|0))vGa(a,j,c);if((f|0)<=0){c=n;continue c}while(1){d=o+(f<<4)|0;e=c+-1|0;s=FGa(a,j,c)|0;q=k[d+4>>2]|0;k[s>>2]=k[d>>2];k[s+4>>2]=q;k[s+8>>2]=k[d+8>>2];if((k[d+8>>2]|0)>3)if(i[(k[d>>2]|0)+5>>0]&3)if(i[j+5>>0]&4)GFa(a,j);if((f|0)>1){c=e;f=f+-1|0}else{c=n;continue c}}}case 35:{oFa(a,o);c=n;b=s;continue c}case 36:{m=k[(k[(k[t+16>>2]|0)+16>>2]|0)+(q>>>14<<2)>>2]|0;b=i[m+72>>0]|0;f=kFa(a,b&255,k[t+12>>2]|0)|0;k[f+16>>2]=m;if(!(b<<24>>24))b=s;else{d=0;e=s;while(1){c=k[e>>2]|0;if((c&63|0)==4)k[f+20+(d<<2)>>2]=k[t+20+(c>>>23<<2)>>2];else{m=mFa(a,n+(c>>>23<<4)|0)|0;k[f+20+(d<<2)>>2]=m}d=d+1|0;if((d|0)==(b&255|0))break;else e=e+4|0}b=s+((b&255)<<2)|0}k[o>>2]=f;k[n+((q>>>6&255)<<4)+8>>2]=6;k[a+24>>2]=b;s=k[a+16>>2]|0;if((k[s+68>>2]|0)>>>0>=(k[s+64>>2]|0)>>>0)yFa(a);c=k[a+12>>2]|0;continue c}case 37:{f=k[a+20>>2]|0;j=((k[f>>2]|0)-(k[f+4>>2]|0)>>4)-(l[(k[t+16>>2]|0)+73>>0]|0)|0;if(!(q>>>23)){k[a+24>>2]=s;if(((k[a+28>>2]|0)-(k[a+8>>2]|0)|0)<=(j+-1<<4|0))YEa(a,j+-1|0);e=k[a+12>>2]|0;k[a+8>>2]=e+((q>>>6&255)<<4)+(j+-1<<4);m=j+-1|0;c=e;e=e+((q>>>6&255)<<4)|0}else{m=(q>>>23)+-1|0;c=n;e=o}if((m|0)<=0){b=s;continue c}b=0;while(1){if((b|0)<(j+-1|0)){d=(k[f>>2]|0)+(1-j<<4)+(b<<4)|0;o=k[d+4>>2]|0;q=e+(b<<4)|0;k[q>>2]=k[d>>2];k[q+4>>2]=o;d=k[d+8>>2]|0}else d=0;k[e+(b<<4)+8>>2]=d;b=b+1|0;if((b|0)==(m|0)){b=s;continue c}}}default:{c=n;b=s;continue c}}while(0)}j=k[a+20>>2]|0;b=k[j+-20>>2]|0;f=k[j+4>>2]|0;if(!(k[a+104>>2]|0))c=b;else{oFa(a,k[j+-24>>2]|0);c=k[j+-20>>2]|0}u=c+((k[j>>2]|0)-f>>4<<4)|0;k[j+-24>>2]=u;k[a+12>>2]=u;if(f>>>0<(k[a+8>>2]|0)>>>0){d=f;c=b;e=0;do{t=d;u=k[t+4>>2]|0;k[c>>2]=k[t>>2];k[c+4>>2]=u;k[b+(e<<4)+8>>2]=k[f+(e<<4)+8>>2];e=e+1|0;d=f+(e<<4)|0;c=b+(e<<4)|0}while(d>>>0<(k[a+8>>2]|0)>>>0);b=c}k[a+8>>2]=b;k[j+-16>>2]=b;b=k[a+24>>2]|0;k[j+-12>>2]=b;k[j+-4>>2]=(k[j+-4>>2]|0)+1;c=(k[a+20>>2]|0)+-24|0;k[a+20>>2]=c}if((z|0)==246){z=0;v=v+1|0;continue}if(q>>>23|0)k[a+8>>2]=o+(q>>>23<<4)+-16;if(k[a+104>>2]|0)oFa(a,b);k[a+24>>2]=s;c=$Ea(a,o)|0;b=v+-1|0;if(!b){z=322;break}if(!c){v=b;continue}k[a+8>>2]=k[(k[a+20>>2]|0)+8>>2];v=b}if((z|0)==17){k[a+24>>2]=b;r=A;return}else if((z|0)==284)PEa(a,516658,A+64|0);else if((z|0)==322){r=A;return}}function WGa(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+16|0;b=Ri[k[a+8>>2]&255](k[a+16>>2]|0,k[a+12>>2]|0,d)|0;c=k[d>>2]|0;if((b|0)==0|(c|0)==0){a=-1;r=d;return a|0}k[a>>2]=c+-1;k[a+4>>2]=b+1;a=l[b>>0]|0;r=d;return a|0}function XGa(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+16|0;do if(!(k[a>>2]|0)){b=Ri[k[a+8>>2]&255](k[a+16>>2]|0,k[a+12>>2]|0,d)|0;c=k[d>>2]|0;if(!((b|0)==0|(c|0)==0)){k[a>>2]=c;k[a+4>>2]=b;break}a=-1;r=d;return a|0}else b=k[a+4>>2]|0;while(0);a=l[b>>0]|0;r=d;return a|0}function YGa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;k[b+16>>2]=a;k[b+8>>2]=c;k[b+12>>2]=d;k[b>>2]=0;k[b+4>>2]=0;return}function ZGa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=r;r=r+16|0;if(!c){a=0;r=g;return a|0}d=k[a>>2]|0;while(1){if(!d){e=Ri[k[a+8>>2]&255](k[a+16>>2]|0,k[a+12>>2]|0,g)|0;d=k[g>>2]|0;if((e|0)==0|(d|0)==0){b=8;break}k[a>>2]=d;k[a+4>>2]=e;f=e}else f=k[a+4>>2]|0;e=c>>>0>d>>>0?d:c;ABb(b|0,f|0,e|0)|0;d=(k[a>>2]|0)-e|0;k[a>>2]=d;k[a+4>>2]=(k[a+4>>2]|0)+e;if((c|0)==(e|0)){c=0;b=8;break}else{c=c-e|0;b=b+e|0}}if((b|0)==8){r=g;return c|0}return 0}function _Ga(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=k[b+8>>2]|0;if(f>>>0>=c>>>0){b=k[b>>2]|0;return b|0}d=c>>>0<32?32:c;if((d+1|0)>>>0<4294967294){e=b;c=KFa(a,k[b>>2]|0,f,d)|0}else{e=b;c=LFa(a)|0}k[e>>2]=c;k[b+8>>2]=d;b=c;return b|0}function $Ga(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+128|0;if(!(HEa(a,0,e+28|0)|0)){k[e>>2]=b;k[e+4>>2]=c;c=aHa(a,516686,e)|0;r=e;return c|0}KEa(a,516719,e+28|0)|0;if(!(Wmb(k[e+28+8>>2]|0,516721)|0))if(!(b+-1|0)){k[e+8>>2]=k[e+28+4>>2];k[e+8+4>>2]=c;c=aHa(a,516728,e+8|0)|0;r=e;return c|0}else b=b+-1|0;d=k[e+28+4>>2]|0;if(!d){k[e+28+4>>2]=520631;d=520631}k[e+16>>2]=b;k[e+16+4>>2]=d;k[e+16+8>>2]=c;c=aHa(a,516758,e+16|0)|0;r=e;return c|0}function aHa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+128|0;k[d+8>>2]=c;if(HEa(a,1,d+24|0)|0){KEa(a,516708,d+24|0)|0;c=k[d+24+20>>2]|0;if((c|0)>0){k[d>>2]=d+24+36;k[d+4>>2]=c;_Da(a,516711,d)|0;ZDa(a,b,d+8|0)|0;zEa(a,2);b=xEa(a)|0;r=d;return b|0}}XDa(a,1279174,0);ZDa(a,b,d+8|0)|0;zEa(a,2);b=xEa(a)|0;r=d;return b|0}function bHa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=r;r=r+16|0;e=EDa(a,DDa(a,b)|0)|0;k[d>>2]=c;k[d+4>>2]=e;c=$Ga(a,b,_Da(a,516788,d)|0)|0;r=d;return c|0}function cHa(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+112|0;if(HEa(a,b,c+8|0)|0){KEa(a,516708,c+8|0)|0;b=k[c+8+20>>2]|0;if((b|0)>0){k[c>>2]=c+8+36;k[c+4>>2]=b;_Da(a,516711,c)|0;r=c;return}}XDa(a,1279174,0);r=c;return}function dHa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;g=r;r=r+16|0;if(!c){c=ODa(a,b,0)|0;if(!c){e=EDa(a,4)|0;f=EDa(a,DDa(a,b)|0)|0;k[g>>2]=e;k[g+4>>2]=f;$Ga(a,b,_Da(a,516788,g)|0)|0;f=0}else f=c}else f=eHa(a,b,c,0)|0;c=k[d>>2]|0;a:do if(c|0){e=c;c=0;while(1){if(!(Wmb(e,f)|0))break;c=c+1|0;e=k[d+(c<<2)>>2]|0;if(!e)break a}r=g;return c|0}while(0);k[g+8>>2]=f;b=$Ga(a,b,_Da(a,516808,g+8|0)|0)|0;r=g;return b|0}function eHa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=r;r=r+16|0;if((DDa(a,b)|0)>=1){e=ODa(a,b,d)|0;if(e|0){b=e;r=f;return b|0}c=EDa(a,4)|0;d=EDa(a,DDa(a,b)|0)|0;k[f>>2]=c;k[f+4>>2]=d;$Ga(a,b,_Da(a,516788,f)|0)|0;b=0;r=f;return b|0}if(!d){b=c;r=f;return b|0}if(!c)e=0;else e=Fnb(c)|0;k[d>>2]=e;b=c;r=f;return b|0}function fHa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=r;r=r+16|0;c=ODa(a,b,c)|0;if(c|0){r=d;return c|0}f=EDa(a,4)|0;e=EDa(a,DDa(a,b)|0)|0;k[d>>2]=f;k[d+4>>2]=e;$Ga(a,b,_Da(a,516788,d)|0)|0;r=d;return c|0}function gHa(a,b){a=a|0;b=b|0;eEa(a,-1e4,b);if(DDa(a,-1)|0){b=0;return b|0}yDa(a,-2);hEa(a,0,0);CDa(a,-1);lEa(a,-1e4,b);b=1;return b|0}function hHa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;d=RDa(a,b)|0;if(d|0)if(iEa(a,b)|0){eEa(a,-1e4,c);if(JDa(a,-1,-2)|0){yDa(a,-3);b=d;r=e;return b|0}}d=EDa(a,DDa(a,b)|0)|0;k[e>>2]=c;k[e+4>>2]=d;$Ga(a,b,_Da(a,516788,e)|0)|0;b=0;r=e;return b|0}function iHa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;if(sDa(a,b)|0){r=d;return}k[d>>2]=c;aHa(a,516828,d)|0;r=d;return}function jHa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=r;r=r+16|0;if((DDa(a,b)|0)==(c|0)){r=d;return}e=EDa(a,c)|0;c=EDa(a,DDa(a,b)|0)|0;k[d>>2]=e;k[d+4>>2]=c;$Ga(a,b,_Da(a,516788,d)|0)|0;r=d;return}function kHa(a,b){a=a|0;b=b|0;if((DDa(a,b)|0)!=-1)return;$Ga(a,b,516848)|0;return}function lHa(a,b){a=a|0;b=b|0;var c=0.0,d=0,e=0,f=0;d=r;r=r+16|0;c=+LDa(a,b);if(!(c==0.0)){r=d;return +c}if(GDa(a,b)|0){r=d;return +c}f=EDa(a,3)|0;e=EDa(a,DDa(a,b)|0)|0;k[d>>2]=f;k[d+4>>2]=e;$Ga(a,b,_Da(a,516788,d)|0)|0;r=d;return +c}function mHa(a,b,c){a=a|0;b=b|0;c=+c;if((DDa(a,b)|0)<1)return +c;c=+lHa(a,b);return +c}function nHa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=r;r=r+16|0;c=MDa(a,b)|0;if(c|0){r=d;return c|0}if(GDa(a,b)|0){r=d;return c|0}f=EDa(a,3)|0;e=EDa(a,DDa(a,b)|0)|0;k[d>>2]=f;k[d+4>>2]=e;$Ga(a,b,_Da(a,516788,d)|0)|0;r=d;return c|0}function oHa(a,b,c){a=a|0;b=b|0;c=c|0;if((DDa(a,b)|0)<1){b=c;return b|0}b=nHa(a,b)|0;return b|0}function pHa(a,b,c){a=a|0;b=b|0;c=c|0;if(!(iEa(a,b)|0)){b=0;return b|0}YDa(a,c);fEa(a,-2);if(!(DDa(a,-1)|0)){yDa(a,-3);b=0;return b|0}else{zDa(a,-2);b=1;return b|0}return 0}function qHa(a,b,c){a=a|0;b=b|0;c=c|0;if((b+9999|0)>>>0<=9999)b=b+1+(xDa(a)|0)|0;if(!(iEa(a,b)|0)){c=0;return c|0}YDa(a,c);fEa(a,-2);if(!(DDa(a,-1)|0)){yDa(a,-3);c=0;return c|0}else{zDa(a,-2);CDa(a,b);qEa(a,1,1);c=1;return c|0}return 0}function rHa(a,b,c){a=a|0;b=b|0;c=c|0;sHa(a,b,c,0);return}function sHa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;g=r;r=r+16|0;if(b|0){if(!(k[c>>2]|0))e=0;else{f=c;e=0;do{e=e+1|0;f=f+8|0}while((k[f>>2]|0)!=0)}tHa(a,-1e4,521001,1)|0;eEa(a,-1,b);if((DDa(a,-1)|0)!=5){yDa(a,-2);if(tHa(a,-10002,b,e)|0){k[g>>2]=b;aHa(a,521023,g)|0}CDa(a,-1);lEa(a,-3,b)}zDa(a,-2);ADa(a,~d)}if(!(k[c>>2]|0)){d=~d;yDa(a,d);r=g;return}if((d|0)<=0){do{$Da(a,k[c+4>>2]|0,d);lEa(a,-2-d|0,k[c>>2]|0);c=c+8|0}while((k[c>>2]|0)!=0);d=~d;yDa(a,d);r=g;return}do{e=0;do{CDa(a,0-d|0);e=e+1|0}while((e|0)!=(d|0));$Da(a,k[c+4>>2]|0,d);lEa(a,-2-d|0,k[c>>2]|0);c=c+8|0}while((k[c>>2]|0)!=0);d=~d;yDa(a,d);r=g;return}function tHa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;CDa(a,b);while(1){b=gob(c,46)|0;if(!b)b=c+(Fnb(c)|0)|0;e=b-c|0;XDa(a,c,e);fEa(a,-2);if(!(DDa(a,-1)|0)){yDa(a,-2);hEa(a,0,(i[b>>0]|0)==46?1:d);XDa(a,c,e);CDa(a,-2);kEa(a,-4)}else if((DDa(a,-1)|0)!=5)break;zDa(a,-2);if((i[b>>0]|0)==46)c=b+1|0;else{c=0;f=9;break}}if((f|0)==9)return c|0;yDa(a,-3);f=c;return f|0}function uHa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,l=0;j=r;r=r+1040|0;h=Fnb(c)|0;k[j+8>>2]=a;k[j>>2]=j+12;k[j+4>>2]=0;e=Dob(b,c)|0;if(e)do{if((e|0)!=(b|0)){g=b;f=e-b|0;while(1){f=f+-1|0;b=k[j>>2]|0;if(b>>>0>=(j+1036|0)>>>0){vHa(j)|0;b=k[j>>2]|0}l=i[g>>0]|0;k[j>>2]=b+1;i[b>>0]=l;if(!f)break;else g=g+1|0}}b=Fnb(d)|0;if(b|0){g=d;while(1){b=b+-1|0;f=k[j>>2]|0;if(f>>>0>=(j+1036|0)>>>0){vHa(j)|0;f=k[j>>2]|0}l=i[g>>0]|0;k[j>>2]=f+1;i[f>>0]=l;if(!b)break;else g=g+1|0}}b=e+h|0;e=Dob(b,c)|0}while((e|0)!=0);e=Fnb(b)|0;if(e|0)while(1){e=e+-1|0;f=k[j>>2]|0;if(f>>>0>=(j+1036|0)>>>0){vHa(j)|0;f=k[j>>2]|0}l=i[b>>0]|0;k[j>>2]=f+1;i[f>>0]=l;if(!e)break;else b=b+1|0}b=k[j>>2]|0;if((b|0)==(j+12|0)){l=k[j+4>>2]|0;d=k[j+8>>2]|0;zEa(d,l);k[j+4>>2]=1;l=ODa(a,-1,0)|0;r=j;return l|0}else{XDa(k[j+8>>2]|0,j+12|0,b-(j+12)|0);k[j>>2]=j+12;l=(k[j+4>>2]|0)+1|0;k[j+4>>2]=l;d=k[j+8>>2]|0;zEa(d,l);k[j+4>>2]=1;l=ODa(a,-1,0)|0;r=j;return l|0}return 0}function vHa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=k[a>>2]|0;if((b|0)==(a+12|0))return a+12|0;XDa(k[a+8>>2]|0,a+12|0,b-(a+12)|0);k[a>>2]=a+12;f=k[a+4>>2]|0;k[a+4>>2]=f+1;if((f|0)<=0)return a+12|0;c=k[a+8>>2]|0;b=1;f=PDa(c,-1)|0;while(1){d=PDa(c,~b)|0;g=k[a+4>>2]|0;e=f>>>0>d>>>0|(g-b|0)>8;b=(e&1)+b|0;if(e&(b|0)<(g|0))f=(e?d:0)+f|0;else break}zEa(c,b);k[a+4>>2]=1-b+(k[a+4>>2]|0);return a+12|0}function wHa(a,b){a=a|0;b=b|0;k[b+8>>2]=a;k[b>>2]=b+12;k[b+4>>2]=0;return}function xHa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if(!c)return;d=c;while(1){d=d+-1|0;c=k[a>>2]|0;if(c>>>0>=(a+1036|0)>>>0){vHa(a)|0;c=k[a>>2]|0}e=i[b>>0]|0;k[a>>2]=c+1;i[c>>0]=e;if(!d)break;else b=b+1|0}return}function yHa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Fnb(b)|0;if(!c)return;while(1){c=c+-1|0;d=k[a>>2]|0;if(d>>>0>=(a+1036|0)>>>0){vHa(a)|0;d=k[a>>2]|0}e=i[b>>0]|0;k[a>>2]=d+1;i[d>>0]=e;if(!c)break;else b=b+1|0}return}function zHa(a){a=a|0;var b=0,c=0,d=0;b=k[a>>2]|0;if((b|0)==(a+12|0)){b=a+4|0;c=a+8|0;a=k[a+4>>2]|0;c=k[c>>2]|0;zEa(c,a);k[b>>2]=1;return}else{XDa(k[a+8>>2]|0,a+12|0,b-(a+12)|0);k[a>>2]=a+12;d=(k[a+4>>2]|0)+1|0;k[a+4>>2]=d;c=a+4|0;b=a+8|0;a=d;b=k[b>>2]|0;zEa(b,a);k[c>>2]=1;return}}function AHa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;g=r;r=r+16|0;b=k[a+8>>2]|0;c=ODa(b,-1,g)|0;d=k[g>>2]|0;e=k[a>>2]|0;if(d>>>0<=(a+12+1024-e|0)>>>0){ABb(e|0,c|0,d|0)|0;k[a>>2]=(k[a>>2]|0)+(k[g>>2]|0);yDa(b,-2);r=g;return}if((e|0)==(a+12|0))f=a+4|0;else{XDa(k[a+8>>2]|0,a+12|0,e-(a+12)|0);k[a>>2]=a+12;k[a+4>>2]=(k[a+4>>2]|0)+1;ADa(b,-2);f=a+4|0}e=k[f>>2]|0;k[f>>2]=e+1;if((e|0)<=0){r=g;return}c=k[a+8>>2]|0;b=1;a=PDa(c,-1)|0;while(1){d=PDa(c,~b)|0;h=k[f>>2]|0;e=a>>>0>d>>>0|(h-b|0)>8;b=(e&1)+b|0;if(e&(b|0)<(h|0))a=(e?d:0)+a|0;else break}zEa(c,b);k[f>>2]=1-b+(k[f>>2]|0);r=g;return}function BHa(a,b){a=a|0;b=b|0;var c=0;if((b+9999|0)>>>0<=9999)b=b+1+(xDa(a)|0)|0;if(!(DDa(a,-1)|0)){yDa(a,-2);a=-1;return a|0}gEa(a,b,0);c=MDa(a,-1)|0;yDa(a,-2);if(!c)c=(PDa(a,b)|0)+1|0;else{gEa(a,b,c);nEa(a,b,0)}nEa(a,b,c);a=c;return a|0}function CHa(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<=-1)return;if((b+9999|0)>>>0<=9999)b=b+1+(xDa(a)|0)|0;gEa(a,b,0);nEa(a,b,c);WDa(a,c);nEa(a,b,0);return}function DHa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;i=r;r=r+1088|0;h=(xDa(a)|0)+1|0;k[i+56>>2]=0;if(!b){XDa(a,516863,6);c=k[37180]|0;k[i+56+4>>2]=c;g=i+56+4|0}else{k[i>>2]=b;_Da(a,516870,i)|0;c=job(b,524439)|0;k[i+56+4>>2]=c;if(!c){g=_lb()|0;g=Pmb(k[g>>2]|0)|0;f=(ODa(a,h,0)|0)+1|0;k[i+8>>2]=519040;k[i+8+4>>2]=f;k[i+8+8>>2]=g;_Da(a,516874,i+8|0)|0;zDa(a,h);a=6;r=i;return a|0}else g=i+56+4|0}d=Ipb(c)|0;do if((d|0)==35){k[i+56>>2]=1;a:while(1)switch(Ipb(c)|0){case 10:{e=9;break a}case -1:{e=8;break a}default:{}}if((e|0)==8){f=(b|0)!=0;d=-1;break}else if((e|0)==9){d=Ipb(c)|0;e=10;break}}else e=10;while(0);do if((e|0)==10)if((b|0)!=0&(d|0)==27){c=Fpb(b,527887,c)|0;k[g>>2]=c;if(!c){g=_lb()|0;g=Pmb(k[g>>2]|0)|0;f=(ODa(a,h,0)|0)+1|0;k[i+24>>2]=516891;k[i+24+4>>2]=f;k[i+24+8>>2]=g;_Da(a,516874,i+24|0)|0;zDa(a,h);a=6;r=i;return a|0}else{b:while(1){d=Ipb(c)|0;switch(d|0){case 27:case -1:break b;default:{}}}k[i+56>>2]=0;f=1;break}}else f=(b|0)!=0;while(0);ypb(d,c)|0;b=tEa(a,127,i+56|0,ODa(a,-1,0)|0)|0;c=k[g>>2]|0;d=rob(c)|0;if(f)mob(c)|0;if(!d){zDa(a,h);a=b;r=i;return a|0}else{yDa(a,h);g=_lb()|0;g=Pmb(k[g>>2]|0)|0;f=(ODa(a,h,0)|0)+1|0;k[i+40>>2]=518857;k[i+40+4>>2]=f;k[i+40+8>>2]=g;_Da(a,516874,i+40|0)|0;zDa(a,h);a=6;r=i;return a|0}return 0}function EHa(a,b,c){a=a|0;b=b|0;c=c|0;if(k[b>>2]|0){k[b>>2]=0;k[c>>2]=1;b=518676;return b|0}if(qob(k[b+4>>2]|0)|0){b=0;return b|0}a=Epb(b+8|0,1,1024,k[b+4>>2]|0)|0;k[c>>2]=a;b=a|0?b+8|0:0;return b|0}function FHa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+16|0;k[e>>2]=b;k[e+4>>2]=c;c=tEa(a,128,e,d)|0;r=e;return c|0}function GHa(a,b,c){a=a|0;b=b|0;c=c|0;a=k[b+4>>2]|0;if(!a){b=0;return b|0}k[c>>2]=a;k[b+4>>2]=0;b=k[b>>2]|0;return b|0}function HHa(){var a=0;a=nGa(81,0)|0;if(!a)return a|0;vDa(a,1509)|0;return a|0}function IHa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(!d){iqb(b);a=0;return a|0}else{a=kqb(b,d)|0;return a|0}return 0}function JHa(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;c=k[37151]|0;a=ODa(a,-1,0)|0;k[b>>2]=a;Cob(c,516898,b)|0;r=b;return 0}function KHa(a){a=a|0;$Da(a,1510,0);YDa(a,1279174);qEa(a,1,0);$Da(a,1511,0);YDa(a,520407);qEa(a,1,0);$Da(a,1512,0);YDa(a,519576);qEa(a,1,0);$Da(a,1513,0);YDa(a,518997);qEa(a,1,0);$Da(a,1514,0);YDa(a,519349);qEa(a,1,0);$Da(a,1515,0);YDa(a,519785);qEa(a,1,0);$Da(a,1516,0);YDa(a,519150);qEa(a,1,0);$Da(a,1517,0);YDa(a,518252);qEa(a,1,0);return}function LHa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=k[a+24>>2]|0;do if((d|0)>(k[a+28>>2]|0)){if(!d){if((l[a+50>>0]|0|0)>(b|0))break;return}d=(k[(k[a>>2]|0)+12>>2]|0)+(d+-1<<2)|0;e=k[d>>2]|0;if((e&63|0)==3)if(!((e>>>6&255|0)>(b|0)|((e>>>23)+1|0)<(b|0))){if((b+-1+c|0)<=(e>>>23|0))return;k[d>>2]=e&8388607|b+-1+c<<23;return}}while(0);MHa(a,b<<6|(c+b<<23)+-8388608|3,k[(k[a+12>>2]|0)+8>>2]|0)|0;return}function MHa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0;n=k[a>>2]|0;e=k[a+32>>2]|0;d=k[a+24>>2]|0;if((e|0)!=-1){f=n;while(1){l=(k[f+12>>2]|0)+(e<<2)|0;h=k[l>>2]|0;j=((h>>>14)+-131071|0)==-1?-1:e+1+((h>>>14)+-131071)|0;if((e|0)>0){f=k[l+-4>>2]|0;if((i[515543+(f&63)>>0]|0)<0)g=l+-4|0;else m=5}else m=5;if((m|0)==5){m=0;g=l;f=h}if((f&63|0)==27){k[g>>2]=f&8372224|f>>>23<<6|26;e=d+~e|0;if((((e|0)>-1?e:0-e|0)|0)>131071)vIa(k[a+12>>2]|0,516948);e=k[l>>2]&16383|(e<<14)+2147467264}else{f=d+~e|0;if((((f|0)>-1?f:0-f|0)|0)>131071){vIa(k[a+12>>2]|0,516948);e=k[l>>2]|0}else e=h;e=e&16383|(f<<14)+2147467264}k[l>>2]=e;if((j|0)==-1)break;e=j;f=k[a>>2]|0}d=k[a+24>>2]|0}k[a+32>>2]=-1;if((d|0)<(k[n+44>>2]|0))e=k[n+12>>2]|0;else{e=JFa(k[a+16>>2]|0,k[n+12>>2]|0,n+44|0,4,2147483645,516975)|0;k[n+12>>2]=e;d=k[a+24>>2]|0}k[e+(d<<2)>>2]=b;d=k[a+24>>2]|0;if((d|0)<(k[n+48>>2]|0)){b=k[n+20>>2]|0;n=d;n=b+(n<<2)|0;k[n>>2]=c;c=k[a+24>>2]|0;n=c+1|0;k[a+24>>2]=n;return c|0}else{b=JFa(k[a+16>>2]|0,k[n+20>>2]|0,n+48|0,4,2147483645,516975)|0;k[n+20>>2]=b;n=k[a+24>>2]|0;n=b+(n<<2)|0;k[n>>2]=c;c=k[a+24>>2]|0;n=c+1|0;k[a+24>>2]=n;return c|0}return 0}function NHa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return MHa(a,c<<6|b|d<<23|e<<14,k[(k[a+12>>2]|0)+8>>2]|0)|0}function OHa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;f=k[a+32>>2]|0;k[a+32>>2]=-1;g=MHa(a,2147450902,k[(k[a+12>>2]|0)+8>>2]|0)|0;if((f|0)==-1){h=g;return h|0}if((g|0)==-1){h=f;return h|0}e=k[(k[a>>2]|0)+12>>2]|0;c=g;while(1){h=e+(c<<2)|0;b=k[h>>2]|0;d=((b>>>14)+-131071|0)==-1?-1:c+1+((b>>>14)+-131071)|0;if((d|0)==-1)break;else c=d}if((((f+~c|0)>-1?f+~c|0:0-(f+~c)|0)|0)>131071){vIa(k[a+12>>2]|0,516948);b=k[h>>2]|0}k[h>>2]=b&16383|(f+~c<<14)+2147467264;h=g;return h|0}function PHa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return MHa(a,c<<6|b|d<<14,k[(k[a+12>>2]|0)+8>>2]|0)|0}function QHa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;if((c|0)==-1)return;d=k[b>>2]|0;if((d|0)==-1){k[b>>2]=c;return}f=k[(k[a>>2]|0)+12>>2]|0;while(1){g=f+(d<<2)|0;b=k[g>>2]|0;e=((b>>>14)+-131071|0)==-1?-1:d+1+((b>>>14)+-131071)|0;if((e|0)==-1)break;else d=e}if((((~d+c|0)>-1?~d+c|0:0-(~d+c)|0)|0)>131071){vIa(k[a+12>>2]|0,516948);b=k[g>>2]|0}k[g>>2]=b&16383|(~d+c<<14)+2147467264;return}function RHa(a,b,c){a=a|0;b=b|0;c=c|0;MHa(a,b<<6|(c<<23)+8388608|30,k[(k[a+12>>2]|0)+8>>2]|0)|0;return}function SHa(a){a=a|0;var b=0;b=k[a+24>>2]|0;k[a+28>>2]=b;return b|0}function THa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0;if((k[a+24>>2]|0)==(c|0)){k[a+28>>2]=c;if((b|0)==-1)return;d=k[a+32>>2]|0;if((d|0)==-1){k[a+32>>2]=b;return}g=k[(k[a>>2]|0)+12>>2]|0;e=d;while(1){h=g+(e<<2)|0;d=k[h>>2]|0;f=((d>>>14)+-131071|0)==-1?-1:e+1+((d>>>14)+-131071)|0;if((f|0)==-1)break;else e=f}if((((~e+b|0)>-1?~e+b|0:0-(~e+b)|0)|0)>131071){vIa(k[a+12>>2]|0,516948);d=k[h>>2]|0}k[h>>2]=d&16383|(~e+b<<14)+2147467264;return}if((b|0)==-1)return;h=b;do{b=(k[(k[a>>2]|0)+12>>2]|0)+(h<<2)|0;d=k[b>>2]|0;g=h;h=((d>>>14)+-131071|0)==-1?-1:h+1+((d>>>14)+-131071)|0;if((g|0)>0){e=k[b+-4>>2]|0;if((i[515543+(e&63)>>0]|0)<0)f=b+-4|0;else j=14}else j=14;if((j|0)==14){j=0;f=b;e=d}if((e&63|0)==27){k[f>>2]=e&8372224|e>>>23<<6|26;if((((~g+c|0)>-1?~g+c|0:0-(~g+c)|0)|0)>131071)vIa(k[a+12>>2]|0,516948);d=k[b>>2]&16383|(~g+c<<14)+2147467264}else{if((((~g+c|0)>-1?~g+c|0:0-(~g+c)|0)|0)>131071){vIa(k[a+12>>2]|0,516948);d=k[b>>2]|0}d=d&16383|(~g+c<<14)+2147467264}k[b>>2]=d}while((h|0)!=-1);return}function UHa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;k[a+28>>2]=k[a+24>>2];if((b|0)==-1)return;c=k[a+32>>2]|0;if((c|0)==-1){k[a+32>>2]=b;return}f=k[(k[a>>2]|0)+12>>2]|0;d=c;while(1){g=f+(d<<2)|0;c=k[g>>2]|0;e=((c>>>14)+-131071|0)==-1?-1:d+1+((c>>>14)+-131071)|0;if((e|0)==-1)break;else d=e}if((((~d+b|0)>-1?~d+b|0:0-(~d+b)|0)|0)>131071){vIa(k[a+12>>2]|0,516948);c=k[g>>2]|0}k[g>>2]=c&16383|(~d+b<<14)+2147467264;return}function VHa(a,b){a=a|0;b=b|0;var c=0;c=(k[a+36>>2]|0)+b|0;b=k[a>>2]|0;if((c|0)<=(l[b+75>>0]|0|0))return;if((c|0)>249){vIa(k[a+12>>2]|0,516994);b=k[a>>2]|0}i[b+75>>0]=c;return}function WHa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=k[a+36>>2]|0;c=k[a>>2]|0;if((e+b|0)<=(l[c+75>>0]|0|0)){b=e+b|0;k[a+36>>2]=b;return}if((e+b|0)>249){vIa(k[a+12>>2]|0,516994);d=k[a+36>>2]|0;c=k[a>>2]|0}else d=e;i[c+75>>0]=e+b;e=d;b=e+b|0;k[a+36>>2]=b;return}function XHa(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c>>2]=b;k[c+8>>2]=4;b=YHa(a,c,c)|0;r=c;return b|0}function YHa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=k[a+16>>2]|0;b=EGa(h,k[a+4>>2]|0,b)|0;g=k[a>>2]|0;f=k[g+40>>2]|0;if((k[b+8>>2]|0)==3){a=~~+p[b>>3];return a|0}e=k[a+40>>2]|0;p[b>>3]=+(e|0);k[b+8>>2]=3;if((e|0)<(f|0))b=f;else{b=JFa(h,k[g+8>>2]|0,g+40|0,16,262143,517029)|0;k[g+8>>2]=b;b=k[g+40>>2]|0}e=k[g+8>>2]|0;if((f|0)<(b|0)){d=k[g+40>>2]|0;b=f;do{k[e+(b<<4)+8>>2]=0;b=b+1|0}while((b|0)<(d|0))}f=k[a+40>>2]|0;d=k[c+4>>2]|0;k[e+(f<<4)>>2]=k[c>>2];k[e+(f<<4)+4>>2]=d;k[e+(f<<4)+8>>2]=k[c+8>>2];if((k[c+8>>2]|0)>3){b=k[c>>2]|0;if(i[b+5>>0]&3)if(i[g+5>>0]&4)FFa(h,g,b)}h=k[a+40>>2]|0;k[a+40>>2]=h+1;a=h;return a|0}function ZHa(a,b){a=a|0;b=+b;var c=0;c=r;r=r+16|0;p[c>>3]=b;k[c+8>>2]=3;a=YHa(a,c,c)|0;r=c;return a|0}function _Ha(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;switch(k[b>>2]|0){case 13:{a=(k[(k[a>>2]|0)+12>>2]|0)+(k[b+8>>2]<<2)|0;k[a>>2]=k[a>>2]&-8372225|(c<<14)+16384&8372224;return}case 14:{d=k[a>>2]|0;e=k[d+12>>2]|0;f=e+(k[b+8>>2]<<2)|0;k[f>>2]=k[f>>2]&8388607|(c<<23)+8388608;c=e+(k[b+8>>2]<<2)|0;k[c>>2]=k[a+36>>2]<<6&16320|k[c>>2]&-16321;c=k[a+36>>2]|0;if((c|0)<(l[d+75>>0]|0|0))b=c;else{if((c|0)>248){vIa(k[a+12>>2]|0,516994);b=k[a+36>>2]|0;d=k[a>>2]|0}else b=c;i[d+75>>0]=c+1}k[a+36>>2]=b+1;return}default:return}}function $Ha(a,b){a=a|0;b=b|0;switch(k[b>>2]|0){case 13:{k[b>>2]=12;k[b+8>>2]=(k[(k[(k[a>>2]|0)+12>>2]|0)+(k[b+8>>2]<<2)>>2]|0)>>>6&255;return}case 14:{a=(k[(k[a>>2]|0)+12>>2]|0)+(k[b+8>>2]<<2)|0;k[a>>2]=k[a>>2]&8388607|16777216;k[b>>2]=11;return}default:return}}function aIa(a,b){a=a|0;b=b|0;var c=0,d=0;switch(k[b>>2]|0){case 6:{k[b>>2]=12;return}case 7:{a=MHa(a,k[b+8>>2]<<23|4,k[(k[a+12>>2]|0)+8>>2]|0)|0;k[b+8>>2]=a;k[b>>2]=11;return}case 8:{a=MHa(a,k[b+8>>2]<<14|5,k[(k[a+12>>2]|0)+8>>2]|0)|0;k[b+8>>2]=a;k[b>>2]=11;return}case 9:{c=k[b+8+4>>2]|0;if(!(c&256))if((l[a+50>>0]|0|0)<=(c|0))k[a+36>>2]=(k[a+36>>2]|0)+-1;d=k[b+8>>2]|0;if(!(d&256))if((l[a+50>>0]|0|0)<=(d|0))k[a+36>>2]=(k[a+36>>2]|0)+-1;a=MHa(a,d<<23|c<<14|6,k[(k[a+12>>2]|0)+8>>2]|0)|0;k[b+8>>2]=a;k[b>>2]=11;return}case 13:{k[b>>2]=12;k[b+8>>2]=(k[(k[(k[a>>2]|0)+12>>2]|0)+(k[b+8>>2]<<2)>>2]|0)>>>6&255;return}case 14:{a=(k[(k[a>>2]|0)+12>>2]|0)+(k[b+8>>2]<<2)|0;k[a>>2]=k[a>>2]&8388607|16777216;k[b>>2]=11;return}default:return}}function bIa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;aIa(a,b);if((k[b>>2]|0)==12){c=k[b+8>>2]|0;if(!(c&256))if((l[a+50>>0]|0|0)<=(c|0))k[a+36>>2]=(k[a+36>>2]|0)+-1}e=k[a+36>>2]|0;c=k[a>>2]|0;if((e|0)<(l[c+75>>0]|0|0)){d=e+1|0;k[a+36>>2]=d;cIa(a,b,e);return}if((e|0)>248){vIa(k[a+12>>2]|0,516994);d=k[a+36>>2]|0;c=k[a>>2]|0}else d=e;i[c+75>>0]=e+1;e=d;d=e+1|0;k[a+36>>2]=d;cIa(a,b,e);return}function cIa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0;dIa(a,b,c);do if((k[b>>2]|0)==10){j=k[b+8>>2]|0;if((j|0)!=-1){d=k[b+16>>2]|0;if((d|0)==-1){k[b+16>>2]=j;break}g=k[(k[a>>2]|0)+12>>2]|0;while(1){h=g+(d<<2)|0;e=k[h>>2]|0;f=((e>>>14)+-131071|0)==-1?-1:d+1+((e>>>14)+-131071)|0;if((f|0)==-1)break;else d=f}if((((j+~d|0)>-1?j+~d|0:0-(j+~d)|0)|0)>131071){vIa(k[a+12>>2]|0,516948);e=k[h>>2]|0}k[h>>2]=e&16383|(j+~d<<14)+2147467264}}while(0);d=k[b+16>>2]|0;e=k[b+20>>2]|0;if((d|0)==(e|0)){k[b+16>>2]=-1;k[b+20>>2]=-1;o=b+8|0;k[o>>2]=c;k[b>>2]=12;return}a:do if((d|0)==-1)o=18;else{h=k[(k[a>>2]|0)+12>>2]|0;while(1){g=h+(d<<2)|0;if((d|0)>0){f=k[g+-4>>2]|0;if((i[515543+(f&63)>>0]|0)>=0)o=15}else o=15;if((o|0)==15){o=0;f=k[g>>2]|0}if((f&63|0)!=27){o=25;break a}n=((k[g>>2]|0)>>>14)+-131071|0;d=(n|0)==-1?-1:d+1+n|0;if((d|0)==-1){o=18;break}}}while(0);b:do if((o|0)==18)if((e|0)==-1){l=-1;n=-1}else{g=k[(k[a>>2]|0)+12>>2]|0;while(1){f=g+(e<<2)|0;if((e|0)>0){d=k[f+-4>>2]|0;if((i[515543+(d&63)>>0]|0)>=0)o=22}else o=22;if((o|0)==22){o=0;d=k[f>>2]|0}if((d&63|0)!=27){o=25;break b}n=((k[f>>2]|0)>>>14)+-131071|0;e=(n|0)==-1?-1:e+1+n|0;if((e|0)==-1){l=-1;n=-1;break}}}while(0);do if((o|0)==25){if((k[b>>2]|0)==10){m=a+12|0;e=a+32|0;j=-1}else{j=k[a+32>>2]|0;k[a+32>>2]=-1;l=MHa(a,2147450902,k[(k[a+12>>2]|0)+8>>2]|0)|0;if((j|0)==-1){m=a+12|0;e=a+32|0;j=l}else if((l|0)==-1){m=a+12|0;e=a+32|0}else{g=k[(k[a>>2]|0)+12>>2]|0;e=l;while(1){h=g+(e<<2)|0;d=k[h>>2]|0;f=((d>>>14)+-131071|0)==-1?-1:e+1+((d>>>14)+-131071)|0;if((f|0)==-1)break;else e=f}if((((j+~e|0)>-1?j+~e|0:0-(j+~e)|0)|0)>131071){vIa(k[a+12>>2]|0,516948);d=k[h>>2]|0}k[h>>2]=d&16383|(j+~e<<14)+2147467264;m=a+12|0;e=a+32|0;j=l}}k[a+28>>2]=k[a+24>>2];l=MHa(a,c<<6|16386,k[(k[m>>2]|0)+8>>2]|0)|0;k[a+28>>2]=k[a+24>>2];n=MHa(a,c<<6|8388610,k[(k[m>>2]|0)+8>>2]|0)|0;k[a+28>>2]=k[a+24>>2];if((j|0)!=-1){d=k[e>>2]|0;if((d|0)==-1){k[e>>2]=j;break}g=k[(k[a>>2]|0)+12>>2]|0;e=d;while(1){h=g+(e<<2)|0;d=k[h>>2]|0;f=((d>>>14)+-131071|0)==-1?-1:e+1+((d>>>14)+-131071)|0;if((f|0)==-1)break;else e=f}e=j+~e|0;if((((e|0)>-1?e:0-e|0)|0)>131071){vIa(k[m>>2]|0,516948);d=k[h>>2]|0}k[h>>2]=d&16383|(e<<14)+2147467264}}while(0);m=k[a+24>>2]|0;k[a+28>>2]=m;d=k[b+20>>2]|0;c:do if((d|0)!=-1){if((c|0)==255)while(1){j=(k[(k[a>>2]|0)+12>>2]|0)+(d<<2)|0;e=k[j>>2]|0;h=d;d=((e>>>14)+-131071|0)==-1?-1:d+1+((e>>>14)+-131071)|0;if((h|0)>0){f=k[j+-4>>2]|0;if((i[515543+(f&63)>>0]|0)<0)g=j+-4|0;else o=46}else o=46;if((o|0)==46){o=0;g=j;f=e}if((f&63|0)==27){k[g>>2]=f&8372224|f>>>23<<6|26;if((((m+~h|0)>-1?m+~h|0:0-(m+~h)|0)|0)>131071)vIa(k[a+12>>2]|0,516948);e=k[j>>2]&16383|(m+~h<<14)+2147467264}else{f=l+~h|0;if((((f|0)>-1?f:0-f|0)|0)>131071){vIa(k[a+12>>2]|0,516948);e=k[j>>2]|0}e=e&16383|(f<<14)+2147467264}k[j>>2]=e;if((d|0)==-1)break c}do{j=(k[(k[a>>2]|0)+12>>2]|0)+(d<<2)|0;e=k[j>>2]|0;h=d;d=((e>>>14)+-131071|0)==-1?-1:d+1+((e>>>14)+-131071)|0;if((h|0)>0){f=k[j+-4>>2]|0;if((i[515543+(f&63)>>0]|0)<0)g=j+-4|0;else o=57}else o=57;if((o|0)==57){o=0;g=j;f=e}if((f&63|0)==27){if((f>>>23|0)==(c|0))e=f&8372224|c<<6|26;else e=f&-16321|c<<6&16320;k[g>>2]=e;if((((m+~h|0)>-1?m+~h|0:0-(m+~h)|0)|0)>131071)vIa(k[a+12>>2]|0,516948);e=k[j>>2]&16383|(m+~h<<14)+2147467264}else{f=l+~h|0;if((((f|0)>-1?f:0-f|0)|0)>131071){vIa(k[a+12>>2]|0,516948);e=k[j>>2]|0}e=e&16383|(f<<14)+2147467264}k[j>>2]=e}while((d|0)!=-1)}while(0);d=k[b+16>>2]|0;if((d|0)==-1){k[b+16>>2]=-1;k[b+20>>2]=-1;o=b+8|0;k[o>>2]=c;k[b>>2]=12;return}if((c|0)==255){do{j=(k[(k[a>>2]|0)+12>>2]|0)+(d<<2)|0;e=k[j>>2]|0;h=d;d=((e>>>14)+-131071|0)==-1?-1:d+1+((e>>>14)+-131071)|0;if((h|0)>0){f=k[j+-4>>2]|0;if((i[515543+(f&63)>>0]|0)<0)g=j+-4|0;else o=73}else o=73;if((o|0)==73){o=0;g=j;f=e}if((f&63|0)==27){k[g>>2]=f&8372224|f>>>23<<6|26;if((((m+~h|0)>-1?m+~h|0:0-(m+~h)|0)|0)>131071)vIa(k[a+12>>2]|0,516948);e=k[j>>2]&16383|(m+~h<<14)+2147467264}else{f=n+~h|0;if((((f|0)>-1?f:0-f|0)|0)>131071){vIa(k[a+12>>2]|0,516948);e=k[j>>2]|0}e=e&16383|(f<<14)+2147467264}k[j>>2]=e}while((d|0)!=-1);k[b+16>>2]=-1;k[b+20>>2]=-1;o=b+8|0;k[o>>2]=c;k[b>>2]=12;return}do{j=(k[(k[a>>2]|0)+12>>2]|0)+(d<<2)|0;e=k[j>>2]|0;h=d;d=((e>>>14)+-131071|0)==-1?-1:d+1+((e>>>14)+-131071)|0;if((h|0)>0){f=k[j+-4>>2]|0;if((i[515543+(f&63)>>0]|0)<0)g=j+-4|0;else o=84}else o=84;if((o|0)==84){o=0;g=j;f=e}if((f&63|0)==27){if((f>>>23|0)==(c|0))e=f&8372224|c<<6|26;else e=f&-16321|c<<6&16320;k[g>>2]=e;if((((m+~h|0)>-1?m+~h|0:0-(m+~h)|0)|0)>131071)vIa(k[a+12>>2]|0,516948);e=k[j>>2]&16383|(m+~h<<14)+2147467264}else{f=n+~h|0;if((((f|0)>-1?f:0-f|0)|0)>131071){vIa(k[a+12>>2]|0,516948);e=k[j>>2]|0}e=e&16383|(f<<14)+2147467264}k[j>>2]=e}while((d|0)!=-1);k[b+16>>2]=-1;k[b+20>>2]=-1;o=b+8|0;k[o>>2]=c;k[b>>2]=12;return}function dIa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=r;r=r+16|0;aIa(a,b);d=k[b>>2]|0;a:do switch(d|0){case 1:{d=k[a+24>>2]|0;do if((d|0)>(k[a+28>>2]|0)){if(!d)if((l[a+50>>0]|0|0)>(c|0))break;else break a;d=(k[(k[a>>2]|0)+12>>2]|0)+(d+-1<<2)|0;e=k[d>>2]|0;if((e&63|0)==3)if(!((e>>>6&255|0)>(c|0)|((e>>>23)+1|0)<(c|0))){if((e>>>23|0)>=(c|0))break a;k[d>>2]=e&8388607|c<<23;break a}}while(0);MHa(a,c<<23|c<<6|3,k[(k[a+12>>2]|0)+8>>2]|0)|0;break}case 2:case 3:{MHa(a,c<<6|((d|0)==2&1)<<23|2,k[(k[a+12>>2]|0)+8>>2]|0)|0;break}case 4:{MHa(a,c<<6|k[b+8>>2]<<14|1,k[(k[a+12>>2]|0)+8>>2]|0)|0;break}case 5:{p[f>>3]=+p[b+8>>3];k[f+8>>2]=3;MHa(a,c<<6|(YHa(a,f,f)|0)<<14|1,k[(k[a+12>>2]|0)+8>>2]|0)|0;break}case 11:{a=(k[(k[a>>2]|0)+12>>2]|0)+(k[b+8>>2]<<2)|0;k[a>>2]=k[a>>2]&-16321|c<<6&16320;break}case 12:{d=k[b+8>>2]|0;if((d|0)!=(c|0))MHa(a,d<<23|c<<6,k[(k[a+12>>2]|0)+8>>2]|0)|0;break}default:{r=f;return}}while(0);k[b+8>>2]=c;k[b>>2]=12;r=f;return}function eIa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;aIa(a,b);if((k[b>>2]|0)==12){c=k[b+8>>2]|0;if((k[b+16>>2]|0)==(k[b+20>>2]|0)){a=c;return a|0}if((c|0)>=(l[a+50>>0]|0|0)){cIa(a,b,c);a=k[b+8>>2]|0;return a|0}}aIa(a,b);if((k[b>>2]|0)==12){c=k[b+8>>2]|0;if(!(c&256))if((l[a+50>>0]|0|0)<=(c|0))k[a+36>>2]=(k[a+36>>2]|0)+-1}e=k[a+36>>2]|0;d=k[a>>2]|0;if((e|0)<(l[d+75>>0]|0|0))c=e;else{if((e|0)>248){vIa(k[a+12>>2]|0,516994);c=k[a+36>>2]|0;d=k[a>>2]|0}else c=e;i[d+75>>0]=e+1}k[a+36>>2]=c+1;cIa(a,b,c);a=k[b+8>>2]|0;return a|0}function fIa(a,b){a=a|0;b=b|0;if((k[b+16>>2]|0)==(k[b+20>>2]|0)){aIa(a,b);return}else{eIa(a,b)|0;return}}function gIa(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+32|0;if((k[b+16>>2]|0)==(k[b+20>>2]|0))aIa(a,b);else eIa(a,b)|0;c=k[b>>2]|0;switch(c|0){case 1:case 3:case 2:case 5:{if((k[a+40>>2]|0)<256){switch(c|0){case 1:{k[d+8>>2]=0;k[d+16>>2]=k[a+4>>2];k[d+16+8>>2]=5;c=YHa(a,d+16|0,d)|0;break}case 5:{p[d+16>>3]=+p[b+8>>3];k[d+16+8>>2]=3;c=YHa(a,d+16|0,d+16|0)|0;break}default:{k[d+16>>2]=(c|0)==2&1;k[d+16+8>>2]=1;c=YHa(a,d+16|0,d+16|0)|0}}k[b+8>>2]=c;k[b>>2]=4;b=c|256;r=d;return b|0}break}case 4:{c=k[b+8>>2]|0;if((c|0)<256){b=c|256;r=d;return b|0}break}default:{}}b=eIa(a,b)|0;r=d;return b|0}function hIa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;switch(k[b>>2]|0){case 6:{if((k[c>>2]|0)==12){d=k[c+8>>2]|0;if(!(d&256))if((l[a+50>>0]|0|0)<=(d|0))k[a+36>>2]=(k[a+36>>2]|0)+-1}cIa(a,c,k[b+8>>2]|0);return}case 7:{MHa(a,(eIa(a,c)|0)<<6|k[b+8>>2]<<23|8,k[(k[a+12>>2]|0)+8>>2]|0)|0;break}case 8:{MHa(a,(eIa(a,c)|0)<<6|k[b+8>>2]<<14|7,k[(k[a+12>>2]|0)+8>>2]|0)|0;break}case 9:{MHa(a,(gIa(a,c)|0)<<14|k[b+8>>2]<<6|k[b+8+4>>2]<<23|9,k[(k[a+12>>2]|0)+8>>2]|0)|0;break}default:{}}if((k[c>>2]|0)!=12)return;d=k[c+8>>2]|0;if(d&256|0)return;if((l[a+50>>0]|0|0)>(d|0))return;k[a+36>>2]=(k[a+36>>2]|0)+-1;return}function iIa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;eIa(a,b)|0;if((k[b>>2]|0)==12){d=k[b+8>>2]|0;if(!(d&256))if((l[a+50>>0]|0|0)<=(d|0))k[a+36>>2]=(k[a+36>>2]|0)+-1}f=k[a+36>>2]|0;e=k[a>>2]|0;if((f+2|0)>(l[e+75>>0]|0|0)){if((f+2|0)>249){vIa(k[a+12>>2]|0,516994);d=k[a+36>>2]|0;e=k[a>>2]|0}else d=f;i[e+75>>0]=f+2}else d=f;k[a+36>>2]=d+2;e=k[b+8>>2]|0;e=f<<6|e<<23|(gIa(a,c)|0)<<14|11;MHa(a,e,k[(k[a+12>>2]|0)+8>>2]|0)|0;if((k[c>>2]|0)!=12){k[b+8>>2]=f;k[b>>2]=12;return}d=k[c+8>>2]|0;if(d&256|0){k[b+8>>2]=f;k[b>>2]=12;return}if((l[a+50>>0]|0|0)>(d|0)){k[b+8>>2]=f;k[b>>2]=12;return}k[a+36>>2]=(k[a+36>>2]|0)+-1;k[b+8>>2]=f;k[b>>2]=12;return}function jIa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;aIa(a,b);c=k[b>>2]|0;a:do switch(c|0){case 2:case 5:case 4:break;case 10:{h=k[b+8>>2]|0;d=(k[(k[a>>2]|0)+12>>2]|0)+(h<<2)|0;if((h|0)>0){c=k[d+-4>>2]|0;if((i[515543+(c&63)>>0]|0)<0)e=d+-4|0;else f=4}else f=4;if((f|0)==4){e=d;c=k[d>>2]|0}k[e>>2]=((c&16320|0)==0&1)<<6|c&-16321;h=k[b+8>>2]|0;f=19;break}default:{switch(c|0){case 11:{c=k[(k[(k[a>>2]|0)+12>>2]|0)+(k[b+8>>2]<<2)>>2]|0;if((c&63|0)==19){k[a+24>>2]=(k[a+24>>2]|0)+-1;h=kIa(a,26,c>>>23,0,1)|0;f=19;break a}else f=9;break}case 12:{f=15;break}default:f=9}if((f|0)==9){e=k[a+36>>2]|0;d=k[a>>2]|0;if((e|0)<(l[d+75>>0]|0))c=e;else{if((e|0)>248){vIa(k[a+12>>2]|0,516994);c=k[a+36>>2]|0;d=k[a>>2]|0}else c=e;i[d+75>>0]=e+1}k[a+36>>2]=c+1;dIa(a,b,c);if((k[b>>2]|0)==12)f=15;else c=k[b+8>>2]|0}if((f|0)==15){c=k[b+8>>2]|0;if(!(c&256))if((l[a+50>>0]|0)<=(c|0))k[a+36>>2]=(k[a+36>>2]|0)+-1}h=kIa(a,27,255,c,0)|0;f=19}}while(0);do if((f|0)==19)if((h|0)!=-1){c=k[b+20>>2]|0;if((c|0)==-1){k[b+20>>2]=h;break}e=k[(k[a>>2]|0)+12>>2]|0;while(1){g=e+(c<<2)|0;f=k[g>>2]|0;d=((f>>>14)+-131071|0)==-1?-1:c+1+((f>>>14)+-131071)|0;if((d|0)==-1)break;else c=d}d=h+~c|0;if((((d|0)>-1?d:0-d|0)|0)>131071){vIa(k[a+12>>2]|0,516948);c=k[g>>2]|0}else c=f;k[g>>2]=c&16383|(d<<14)+2147467264}while(0);h=k[b+16>>2]|0;k[a+28>>2]=k[a+24>>2];if((h|0)==-1){k[b+16>>2]=-1;return}c=k[a+32>>2]|0;if((c|0)==-1){k[a+32>>2]=h;k[b+16>>2]=-1;return}f=k[(k[a>>2]|0)+12>>2]|0;d=c;while(1){g=f+(d<<2)|0;c=k[g>>2]|0;e=((c>>>14)+-131071|0)==-1?-1:d+1+((c>>>14)+-131071)|0;if((e|0)==-1)break;else d=e}if((((h+~d|0)>-1?h+~d|0:0-(h+~d)|0)|0)>131071){vIa(k[a+12>>2]|0,516948);c=k[g>>2]|0}k[g>>2]=c&16383|(h+~d<<14)+2147467264;k[b+16>>2]=-1;return}function kIa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;MHa(a,c<<6|b|d<<23|e<<14,k[(k[a+12>>2]|0)+8>>2]|0)|0;f=k[a+32>>2]|0;k[a+32>>2]=-1;g=MHa(a,2147450902,k[(k[a+12>>2]|0)+8>>2]|0)|0;if((f|0)==-1){a=g;return a|0}if((g|0)==-1){a=f;return a|0}b=k[(k[a>>2]|0)+12>>2]|0;d=g;while(1){h=b+(d<<2)|0;c=k[h>>2]|0;e=((c>>>14)+-131071|0)==-1?-1:d+1+((c>>>14)+-131071)|0;if((e|0)==-1)break;else d=e}if((((f+~d|0)>-1?f+~d|0:0-(f+~d)|0)|0)>131071){vIa(k[a+12>>2]|0,516948);c=k[h>>2]|0}k[h>>2]=c&16383|(f+~d<<14)+2147467264;a=g;return a|0}function lIa(a,b,c){a=a|0;b=b|0;c=c|0;c=gIa(a,c)|0;k[b+8+4>>2]=c;k[b>>2]=9;return}function mIa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0;j=r;r=r+32|0;k[j+20>>2]=-1;k[j+16>>2]=-1;k[j>>2]=5;p[j+8>>3]=0.0;switch(b|0){case 0:{if((k[c>>2]|0)==5)if((k[c+16>>2]|0)==-1){if((k[c+20>>2]|0)!=-1)h=5}else h=5;else h=5;if((h|0)==5)eIa(a,c)|0;nIa(a,18,c,j);r=j;return}case 1:{aIa(a,c);switch(k[c>>2]|0){case 3:case 1:{k[c>>2]=2;break}case 2:case 5:case 4:{k[c>>2]=3;break}case 10:{g=k[c+8>>2]|0;d=(k[(k[a>>2]|0)+12>>2]|0)+(g<<2)|0;if((g|0)>0){b=k[d+-4>>2]|0;if((i[515543+(b&63)>>0]|0)<0)e=d+-4|0;else h=12}else h=12;if((h|0)==12){e=d;b=k[d>>2]|0}k[e>>2]=((b&16320|0)==0&1)<<6|b&-16321;break}case 12:{h=20;break}case 11:{e=k[a+36>>2]|0;d=k[a>>2]|0;if((e|0)<(l[d+75>>0]|0))b=e;else{if((e|0)>248){vIa(k[a+12>>2]|0,516994);b=k[a+36>>2]|0;d=k[a>>2]|0}else b=e;i[d+75>>0]=e+1}k[a+36>>2]=b+1;dIa(a,c,b);if((k[c>>2]|0)==12)h=20;else{d=c+8|0;b=k[c+8>>2]|0;h=23}break}default:{}}if((h|0)==20){b=k[c+8>>2]|0;if(!(b&256))if((l[a+50>>0]|0)>(b|0)){d=c+8|0;h=23}else{k[a+36>>2]=(k[a+36>>2]|0)+-1;d=c+8|0;h=23}else{d=c+8|0;h=23}}if((h|0)==23){g=MHa(a,b<<23|19,k[(k[a+12>>2]|0)+8>>2]|0)|0;k[d>>2]=g;k[c>>2]=11}b=k[c+20>>2]|0;d=k[c+16>>2]|0;k[c+20>>2]=d;k[c+16>>2]=b;if((d|0)!=-1){g=k[(k[a>>2]|0)+12>>2]|0;do{f=g+(d<<2)|0;if((d|0)>0){b=k[f+-4>>2]|0;if((i[515543+(b&63)>>0]|0)<0)e=f+-4|0;else h=28}else h=28;if((h|0)==28){h=0;e=f;b=k[f>>2]|0}if((b&63|0)==27)k[e>>2]=b&8372224|b>>>23<<6|26;f=((k[f>>2]|0)>>>14)+-131071|0;d=(f|0)==-1?-1:d+1+f|0}while((d|0)!=-1);b=k[c+16>>2]|0}if((b|0)==-1){r=j;return}g=k[(k[a>>2]|0)+12>>2]|0;do{f=g+(b<<2)|0;if((b|0)>0){d=k[f+-4>>2]|0;if((i[515543+(d&63)>>0]|0)<0)e=f+-4|0;else h=37}else h=37;if((h|0)==37){h=0;e=f;d=k[f>>2]|0}if((d&63|0)==27)k[e>>2]=d&8372224|d>>>23<<6|26;a=((k[f>>2]|0)>>>14)+-131071|0;b=(a|0)==-1?-1:b+1+a|0}while((b|0)!=-1);r=j;return}case 2:{eIa(a,c)|0;nIa(a,20,c,j);r=j;return}default:{r=j;return}}}function nIa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0.0,f=0,g=0.0,h=0,i=0;a:do if((k[c>>2]|0)==5)if((k[c+16>>2]|0)==-1)if((k[c+20>>2]|0)==-1)if((k[d>>2]|0)==5)if((k[d+16>>2]|0)==-1)if((k[d+20>>2]|0)==-1){e=+p[c+8>>3];g=+p[d+8>>3];switch(b|0){case 20:{i=0;break a}case 12:{e=e+g;f=17;break}case 13:{e=e-g;f=17;break}case 14:{e=e*g;f=17;break}case 15:{if(g==0.0){f=20;break a}e=e/g;f=17;break}case 16:{if(g==0.0){f=20;break a}e=e-g*+V(+(e/g));f=17;break}case 17:{e=+Y(+e,+g);f=17;break}case 18:{e=-e;f=17;break}default:e=0.0}if((f|0)==17)if(!(e==e&0.0==0.0)){f=19;break}p[c+8>>3]=e;return}else f=19;else f=19;else f=19;else f=19;else f=19;else f=19;while(0);if((f|0)==19)switch(b|0){case 18:case 20:{i=0;break}default:f=20}if((f|0)==20)i=gIa(a,d)|0;h=gIa(a,c)|0;if((h|0)>(i|0)){if((k[c>>2]|0)==12){f=k[c+8>>2]|0;if(!(f&256))if((l[a+50>>0]|0|0)<=(f|0))k[a+36>>2]=(k[a+36>>2]|0)+-1}if((k[d>>2]|0)==12){f=k[d+8>>2]|0;if(!(f&256))if((l[a+50>>0]|0|0)<=(f|0))k[a+36>>2]=(k[a+36>>2]|0)+-1}}else{if((k[d>>2]|0)==12){f=k[d+8>>2]|0;if(!(f&256))if((l[a+50>>0]|0|0)<=(f|0))k[a+36>>2]=(k[a+36>>2]|0)+-1}if((k[c>>2]|0)==12){f=k[c+8>>2]|0;if(!(f&256))if((l[a+50>>0]|0|0)<=(f|0))k[a+36>>2]=(k[a+36>>2]|0)+-1}}b=MHa(a,i<<14|b|h<<23,k[(k[a+12>>2]|0)+8>>2]|0)|0;k[c+8>>2]=b;k[c>>2]=11;return}function oIa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;switch(b|0){case 13:{jIa(a,c);return}case 14:{aIa(a,c);b=k[c>>2]|0;a:do switch(b|0){case 3:case 1:break;case 10:{h=k[c+8>>2]|0;g=19;break}default:{switch(b|0){case 11:{d=k[a>>2]|0;b=k[(k[d+12>>2]|0)+(k[c+8>>2]<<2)>>2]|0;if((b&63|0)==19){k[a+24>>2]=(k[a+24>>2]|0)+-1;h=kIa(a,26,b>>>23,0,0)|0;g=19;break a}else{e=a;g=9}break}case 12:{g=15;break}default:{e=a;d=k[a>>2]|0;g=9}}if((g|0)==9){f=k[a+36>>2]|0;if((f|0)<(l[d+75>>0]|0|0))b=f;else{if((f|0)>248){vIa(k[a+12>>2]|0,516994);b=k[a+36>>2]|0;d=k[e>>2]|0}else b=f;i[d+75>>0]=f+1}k[a+36>>2]=b+1;dIa(a,c,b);if((k[c>>2]|0)==12)g=15;else b=k[c+8>>2]|0}if((g|0)==15){b=k[c+8>>2]|0;if(!(b&256))if((l[a+50>>0]|0|0)<=(b|0))k[a+36>>2]=(k[a+36>>2]|0)+-1}h=kIa(a,27,255,b,1)|0;g=19}}while(0);do if((g|0)==19)if((h|0)!=-1){b=k[c+16>>2]|0;if((b|0)==-1){k[c+16>>2]=h;break}e=k[(k[a>>2]|0)+12>>2]|0;while(1){g=e+(b<<2)|0;f=k[g>>2]|0;d=((f>>>14)+-131071|0)==-1?-1:b+1+((f>>>14)+-131071)|0;if((d|0)==-1)break;else b=d}d=h+~b|0;if((((d|0)>-1?d:0-d|0)|0)>131071){vIa(k[a+12>>2]|0,516948);b=k[g>>2]|0}else b=f;k[g>>2]=b&16383|(d<<14)+2147467264}while(0);h=k[c+20>>2]|0;k[a+28>>2]=k[a+24>>2];do if((h|0)!=-1){b=k[a+32>>2]|0;if((b|0)==-1){k[a+32>>2]=h;break}f=k[(k[a>>2]|0)+12>>2]|0;while(1){g=f+(b<<2)|0;d=k[g>>2]|0;e=((d>>>14)+-131071|0)==-1?-1:b+1+((d>>>14)+-131071)|0;if((e|0)==-1)break;else b=e}if((((h+~b|0)>-1?h+~b|0:0-(h+~b)|0)|0)>131071){vIa(k[a+12>>2]|0,516948);d=k[g>>2]|0}k[g>>2]=d&16383|(h+~b<<14)+2147467264}while(0);k[c+20>>2]=-1;return}case 6:{aIa(a,c);if((k[c>>2]|0)==12){b=k[c+8>>2]|0;if(!(b&256))if((l[a+50>>0]|0|0)<=(b|0))k[a+36>>2]=(k[a+36>>2]|0)+-1}e=k[a+36>>2]|0;d=k[a>>2]|0;if((e|0)<(l[d+75>>0]|0|0))b=e;else{if((e|0)>248){vIa(k[a+12>>2]|0,516994);b=k[a+36>>2]|0;d=k[a>>2]|0}else b=e;i[d+75>>0]=e+1}k[a+36>>2]=b+1;cIa(a,c,b);return}case 5:case 4:case 3:case 2:case 1:case 0:{if((k[c>>2]|0)==5)if((k[c+16>>2]|0)==-1)if((k[c+20>>2]|0)==-1)return;gIa(a,c)|0;return}default:{gIa(a,c)|0;return}}}function pIa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;do switch(b|0){case 13:{aIa(a,d);j=k[c+20>>2]|0;do if((j|0)!=-1){b=k[d+20>>2]|0;if((b|0)==-1){k[d+20>>2]=j;break}g=k[(k[a>>2]|0)+12>>2]|0;e=b;while(1){h=g+(e<<2)|0;b=k[h>>2]|0;f=((b>>>14)+-131071|0)==-1?-1:e+1+((b>>>14)+-131071)|0;if((f|0)==-1)break;else e=f}if((((j+~e|0)>-1?j+~e|0:0-(j+~e)|0)|0)>131071){vIa(k[a+12>>2]|0,516948);b=k[h>>2]|0}k[h>>2]=b&16383|(j+~e<<14)+2147467264}while(0);k[c>>2]=k[d>>2];k[c+4>>2]=k[d+4>>2];k[c+8>>2]=k[d+8>>2];k[c+12>>2]=k[d+12>>2];k[c+16>>2]=k[d+16>>2];k[c+20>>2]=k[d+20>>2];return}case 14:{aIa(a,d);j=k[c+16>>2]|0;do if((j|0)!=-1){b=k[d+16>>2]|0;if((b|0)==-1){k[d+16>>2]=j;break}g=k[(k[a>>2]|0)+12>>2]|0;while(1){h=g+(b<<2)|0;e=k[h>>2]|0;f=((e>>>14)+-131071|0)==-1?-1:b+1+((e>>>14)+-131071)|0;if((f|0)==-1)break;else b=f}if((((j+~b|0)>-1?j+~b|0:0-(j+~b)|0)|0)>131071){vIa(k[a+12>>2]|0,516948);e=k[h>>2]|0}k[h>>2]=e&16383|(j+~b<<14)+2147467264}while(0);k[c>>2]=k[d>>2];k[c+4>>2]=k[d+4>>2];k[c+8>>2]=k[d+8>>2];k[c+12>>2]=k[d+12>>2];k[c+16>>2]=k[d+16>>2];k[c+20>>2]=k[d+20>>2];return}case 6:{if((k[d+16>>2]|0)==(k[d+20>>2]|0))aIa(a,d);else eIa(a,d)|0;if((k[d>>2]|0)==11){e=(k[(k[a>>2]|0)+12>>2]|0)+(k[d+8>>2]<<2)|0;b=k[e>>2]|0;if((b&63|0)==21){f=k[c+8>>2]|0;if((k[c>>2]|0)==12&(f&256|0)==0)if((l[a+50>>0]|0|0)<=(f|0)){k[a+36>>2]=(k[a+36>>2]|0)+-1;b=k[e>>2]|0}k[e>>2]=f<<23|b&8388607;k[c>>2]=11;k[c+8>>2]=k[d+8>>2];return}}aIa(a,d);if((k[d>>2]|0)==12){b=k[d+8>>2]|0;if(!(b&256))if((l[a+50>>0]|0|0)<=(b|0))k[a+36>>2]=(k[a+36>>2]|0)+-1}f=k[a+36>>2]|0;e=k[a>>2]|0;if((f|0)<(l[e+75>>0]|0|0))b=f;else{if((f|0)>248){vIa(k[a+12>>2]|0,516994);b=k[a+36>>2]|0;e=k[a>>2]|0}else b=f;i[e+75>>0]=f+1}k[a+36>>2]=b+1;cIa(a,d,b);nIa(a,21,c,d);return}case 0:{nIa(a,12,c,d);return}case 1:{nIa(a,13,c,d);return}case 2:{nIa(a,14,c,d);return}case 3:{nIa(a,15,c,d);return}case 4:{nIa(a,16,c,d);return}case 5:{nIa(a,17,c,d);return}case 8:{e=gIa(a,c)|0;f=gIa(a,d)|0;if((k[d>>2]|0)==12){b=k[d+8>>2]|0;if(!(b&256))if((l[a+50>>0]|0|0)<=(b|0))k[a+36>>2]=(k[a+36>>2]|0)+-1}if((k[c>>2]|0)==12){b=k[c+8>>2]|0;if(!(b&256))if((l[a+50>>0]|0|0)<=(b|0))k[a+36>>2]=(k[a+36>>2]|0)+-1}a=kIa(a,23,1,e,f)|0;k[c+8>>2]=a;k[c>>2]=10;return}case 7:{e=gIa(a,c)|0;f=gIa(a,d)|0;if((k[d>>2]|0)==12){b=k[d+8>>2]|0;if(!(b&256))if((l[a+50>>0]|0|0)<=(b|0))k[a+36>>2]=(k[a+36>>2]|0)+-1}if((k[c>>2]|0)==12){b=k[c+8>>2]|0;if(!(b&256))if((l[a+50>>0]|0|0)<=(b|0))k[a+36>>2]=(k[a+36>>2]|0)+-1}a=kIa(a,23,0,e,f)|0;k[c+8>>2]=a;k[c>>2]=10;return}case 9:{e=gIa(a,c)|0;f=gIa(a,d)|0;if((k[d>>2]|0)==12){b=k[d+8>>2]|0;if(!(b&256))if((l[a+50>>0]|0|0)<=(b|0))k[a+36>>2]=(k[a+36>>2]|0)+-1}if((k[c>>2]|0)==12){b=k[c+8>>2]|0;if(!(b&256))if((l[a+50>>0]|0|0)<=(b|0))k[a+36>>2]=(k[a+36>>2]|0)+-1}a=kIa(a,24,1,e,f)|0;k[c+8>>2]=a;k[c>>2]=10;return}case 10:{e=gIa(a,c)|0;f=gIa(a,d)|0;if((k[d>>2]|0)==12){b=k[d+8>>2]|0;if(!(b&256))if((l[a+50>>0]|0|0)<=(b|0))k[a+36>>2]=(k[a+36>>2]|0)+-1}if((k[c>>2]|0)==12){b=k[c+8>>2]|0;if(!(b&256))if((l[a+50>>0]|0|0)<=(b|0))k[a+36>>2]=(k[a+36>>2]|0)+-1}a=kIa(a,25,1,e,f)|0;k[c+8>>2]=a;k[c>>2]=10;return}case 11:{e=gIa(a,c)|0;f=gIa(a,d)|0;if((k[d>>2]|0)==12){b=k[d+8>>2]|0;if(!(b&256))if((l[a+50>>0]|0|0)<=(b|0))k[a+36>>2]=(k[a+36>>2]|0)+-1}if((k[c>>2]|0)==12){b=k[c+8>>2]|0;if(!(b&256))if((l[a+50>>0]|0|0)<=(b|0))k[a+36>>2]=(k[a+36>>2]|0)+-1}a=kIa(a,24,1,f,e)|0;k[c+8>>2]=a;k[c>>2]=10;return}case 12:{e=gIa(a,c)|0;f=gIa(a,d)|0;if((k[d>>2]|0)==12){b=k[d+8>>2]|0;if(!(b&256))if((l[a+50>>0]|0|0)<=(b|0))k[a+36>>2]=(k[a+36>>2]|0)+-1}if((k[c>>2]|0)==12){b=k[c+8>>2]|0;if(!(b&256))if((l[a+50>>0]|0|0)<=(b|0))k[a+36>>2]=(k[a+36>>2]|0)+-1}a=kIa(a,25,1,f,e)|0;k[c+8>>2]=a;k[c>>2]=10;return}default:return}while(0)}function qIa(a,b){a=a|0;b=b|0;k[(k[(k[a>>2]|0)+20>>2]|0)+((k[a+24>>2]|0)+-1<<2)>>2]=b;return}function rIa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;d=b<<6|((d|0)==-1?0:d<<23)|34;if((((c+-1|0)/50|0)+1|0)<512){MHa(a,d|((c+-1|0)/50|0)+1<<14,k[(k[a+12>>2]|0)+8>>2]|0)|0;b=b+1|0;c=a+36|0;k[c>>2]=b;return}else{MHa(a,d,k[(k[a+12>>2]|0)+8>>2]|0)|0;MHa(a,((c+-1|0)/50|0)+1|0,k[(k[a+12>>2]|0)+8>>2]|0)|0;b=b+1|0;c=a+36|0;k[c>>2]=b;return}}function sIa(a){a=a|0;var b=0,c=0;b=0;do{c=k[37524+(b<<2)>>2]|0;c=sGa(a,c,Fnb(c)|0)|0;i[c+5>>0]=l[c+5>>0]|0|32;b=b+1|0;i[c+6>>0]=b}while((b|0)!=21);return}function tIa(a,b){a=a|0;b=b|0;var c=0,d=0;c=r;r=r+16|0;if((b|0)>=257){b=k[37524+(b+-257<<2)>>2]|0;r=c;return b|0}d=(bnb(b)|0)==0;a=k[a+52>>2]|0;if(d){k[c+8>>2]=b;d=SFa(a,519363,c+8|0)|0;r=c;return d|0}else{k[c>>2]=b;d=SFa(a,517184,c)|0;r=c;return d|0}return 0}function uIa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=r;r=r+208|0;TFa(h+120|0,(k[a+64>>2]|0)+16|0,80);f=k[a+52>>2]|0;g=k[a+4>>2]|0;k[h>>2]=h+120;k[h+4>>2]=g;k[h+8>>2]=b;f=SFa(f,517193,h)|0;if(!c){g=k[a+52>>2]|0;UEa(g,3)}g=k[a+52>>2]|0;do if((c+-284|0)>>>0<3){e=k[a+60>>2]|0;b=k[e+4>>2]|0;d=k[e+8>>2]|0;if((b+1|0)>>>0>d>>>0){if(d>>>0>2147483645){TFa(h,(k[a+64>>2]|0)+16|0,80);c=k[a+52>>2]|0;b=k[a+4>>2]|0;k[h+80>>2]=h;k[h+80+4>>2]=b;k[h+80+8>>2]=517203;SFa(c,517193,h+80|0)|0;UEa(k[a+52>>2]|0,3)}if((d<<1|0)==-2){b=e;c=LFa(g)|0}else{b=e;c=KFa(g,k[e>>2]|0,d,d<<1)|0}k[b>>2]=c;k[e+8>>2]=d<<1;b=k[e+4>>2]|0}else c=k[e>>2]|0;k[e+4>>2]=b+1;i[c+b>>0]=0;b=k[k[a+60>>2]>>2]|0}else{if((c|0)>=257){b=k[37524+(c+-257<<2)>>2]|0;break}e=(bnb(c)|0)==0;b=k[a+52>>2]|0;if(e){k[h+104>>2]=c;b=SFa(b,519363,h+104|0)|0;break}else{k[h+96>>2]=c;b=SFa(b,517184,h+96|0)|0;break}}while(0);k[h+112>>2]=f;k[h+112+4>>2]=b;SFa(g,517228,h+112|0)|0;h=k[a+52>>2]|0;UEa(h,3)}function vIa(a,b){a=a|0;b=b|0;uIa(a,b,k[a+16>>2]|0);return}function wIa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=k[a+52>>2]|0;b=sGa(d,b,c)|0;c=GGa(d,k[(k[a+48>>2]|0)+4>>2]|0,b)|0;if(k[c+8>>2]|0)return b|0;k[c>>2]=1;k[c+8>>2]=1;a=k[d+16>>2]|0;if((k[a+68>>2]|0)>>>0<(k[a+64>>2]|0)>>>0)return b|0;yFa(d);return b|0}function xIa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;i[b+68>>0]=46;k[b+52>>2]=a;k[b+32>>2]=287;k[b+56>>2]=c;k[b+48>>2]=0;k[b+4>>2]=1;k[b+8>>2]=1;k[b+64>>2]=d;c=k[b+60>>2]|0;c=KFa(a,k[c>>2]|0,k[c+8>>2]|0,32)|0;a=k[b+60>>2]|0;k[a>>2]=c;k[a+8>>2]=32;a=k[b+56>>2]|0;c=k[a>>2]|0;k[a>>2]=c+-1;if(!c){c=WGa(a)|0;k[b>>2]=c;return}else{c=k[a+4>>2]|0;k[a+4>>2]=c+1;c=l[c>>0]|0;k[b>>2]=c;return}}function yIa(a){a=a|0;var b=0;k[a+8>>2]=k[a+4>>2];if((k[a+32>>2]|0)==287){b=zIa(a,a+24|0)|0;k[a+16>>2]=b;return}else{k[a+16>>2]=k[a+32>>2];k[a+16+4>>2]=k[a+32+4>>2];k[a+16+8>>2]=k[a+32+8>>2];k[a+16+12>>2]=k[a+32+12>>2];k[a+32>>2]=287;return}}function zIa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0;n=r;r=r+288|0;k[(k[a+60>>2]|0)+4>>2]=0;a:while(1){c=k[a>>2]|0;b:while(1){switch(c|0){case 91:{j=31;break a}case 61:break a;case 60:{j=43;break a}case 62:{j=51;break a}case 126:{j=59;break a}case 39:case 34:{m=c;j=67;break a}case 46:{j=181;break a}case -1:{c=287;j=252;break a}case 13:case 10:{j=4;break b}case 45:break b;default:{}}if(!(qmb(c)|0)){j=224;break a}c=k[a+56>>2]|0;m=k[c>>2]|0;k[c>>2]=m+-1;if(!m)c=WGa(c)|0;else{m=k[c+4>>2]|0;k[c+4>>2]=m+1;c=l[m>>0]|0}k[a>>2]=c}if((j|0)==4){j=0;d=k[a+56>>2]|0;m=k[d>>2]|0;k[d>>2]=m+-1;if(!m)d=WGa(d)|0;else{m=k[d+4>>2]|0;k[d+4>>2]=m+1;d=l[m>>0]|0}k[a>>2]=d;switch(d|0){case 13:case 10:{if((d|0)!=(c|0)){c=k[a+56>>2]|0;m=k[c>>2]|0;k[c>>2]=m+-1;if(!m)c=WGa(c)|0;else{m=k[c+4>>2]|0;k[c+4>>2]=m+1;c=l[m>>0]|0}k[a>>2]=c}break}default:{}}m=k[a+4>>2]|0;k[a+4>>2]=m+1;if((m|0)<=2147483643)continue;uIa(a,517241,k[a+16>>2]|0);continue}c=k[a+56>>2]|0;m=k[c>>2]|0;k[c>>2]=m+-1;if(!m)c=WGa(c)|0;else{m=k[c+4>>2]|0;k[c+4>>2]=m+1;c=l[m>>0]|0}k[a>>2]=c;if((c|0)!=45){c=45;j=252;break}c=k[a+56>>2]|0;m=k[c>>2]|0;k[c>>2]=m+-1;if(!m)c=WGa(c)|0;else{m=k[c+4>>2]|0;k[c+4>>2]=m+1;c=l[m>>0]|0}k[a>>2]=c;do if((c|0)==91){c=AIa(a)|0;k[(k[a+60>>2]|0)+4>>2]=0;if((c|0)>-1){BIa(a,0,c);k[(k[a+60>>2]|0)+4>>2]=0;continue a}else{c=k[a>>2]|0;break}}while(0);while(1){switch(c|0){case -1:case 13:case 10:continue a;default:{}}c=k[a+56>>2]|0;m=k[c>>2]|0;k[c>>2]=m+-1;if(!m)c=WGa(c)|0;else{m=k[c+4>>2]|0;k[c+4>>2]=m+1;c=l[m>>0]|0}k[a>>2]=c}}do if((j|0)==31){c=AIa(a)|0;if((c|0)>-1){BIa(a,b,c);a=286;r=n;return a|0}if((c|0)==-1){a=91;r=n;return a|0}else{uIa(a,517346,286);break}}else if((j|0)==43){c=k[a+56>>2]|0;b=k[c>>2]|0;k[c>>2]=b+-1;if(!b)c=WGa(c)|0;else{b=k[c+4>>2]|0;k[c+4>>2]=b+1;c=l[b>>0]|0}k[a>>2]=c;if((c|0)!=61){a=60;r=n;return a|0}c=k[a+56>>2]|0;b=k[c>>2]|0;k[c>>2]=b+-1;if(!b)c=WGa(c)|0;else{b=k[c+4>>2]|0;k[c+4>>2]=b+1;c=l[b>>0]|0}k[a>>2]=c;a=282;r=n;return a|0}else if((j|0)==51){c=k[a+56>>2]|0;b=k[c>>2]|0;k[c>>2]=b+-1;if(!b)c=WGa(c)|0;else{b=k[c+4>>2]|0;k[c+4>>2]=b+1;c=l[b>>0]|0}k[a>>2]=c;if((c|0)!=61){a=62;r=n;return a|0}c=k[a+56>>2]|0;b=k[c>>2]|0;k[c>>2]=b+-1;if(!b)c=WGa(c)|0;else{b=k[c+4>>2]|0;k[c+4>>2]=b+1;c=l[b>>0]|0}k[a>>2]=c;a=281;r=n;return a|0}else if((j|0)==59){c=k[a+56>>2]|0;b=k[c>>2]|0;k[c>>2]=b+-1;if(!b)c=WGa(c)|0;else{b=k[c+4>>2]|0;k[c+4>>2]=b+1;c=l[b>>0]|0}k[a>>2]=c;if((c|0)!=61){a=126;r=n;return a|0}c=k[a+56>>2]|0;b=k[c>>2]|0;k[c>>2]=b+-1;if(!b)c=WGa(c)|0;else{b=k[c+4>>2]|0;k[c+4>>2]=b+1;c=l[b>>0]|0}k[a>>2]=c;a=283;r=n;return a|0}else if((j|0)==67){g=k[a+60>>2]|0;c=k[g+4>>2]|0;f=k[g+8>>2]|0;if((c+1|0)>>>0>f>>>0){if(f>>>0>2147483645){TFa(n+200|0,(k[a+64>>2]|0)+16|0,80);h=k[a+52>>2]|0;e=k[a+4>>2]|0;k[n>>2]=n+200;k[n+4>>2]=e;k[n+8>>2]=517203;SFa(h,517193,n)|0;UEa(k[a+52>>2]|0,3)}c=k[a+52>>2]|0;if((f<<1|0)==-2){e=g;d=LFa(c)|0}else{e=g;d=KFa(c,k[g>>2]|0,f,f<<1)|0}k[e>>2]=d;k[g+8>>2]=f<<1;c=k[g+4>>2]|0}else d=k[g>>2]|0;k[g+4>>2]=c+1;i[d+c>>0]=m;c=k[a+56>>2]|0;h=k[c>>2]|0;k[c>>2]=h+-1;if(!h)c=WGa(c)|0;else{h=k[c+4>>2]|0;k[c+4>>2]=h+1;c=l[h>>0]|0}k[a>>2]=c;c:do if((c|0)!=(m|0)){d:while(1){e:do switch(c|0){case -1:{j=82;break d}case 13:case 10:{uIa(a,517376,286);j=80;break}case 92:{c=k[a+56>>2]|0;h=k[c>>2]|0;k[c>>2]=h+-1;if(!h)c=WGa(c)|0;else{h=k[c+4>>2]|0;k[c+4>>2]=h+1;c=l[h>>0]|0}k[a>>2]=c;switch(c|0){case -1:{c=-1;break e}case 97:{h=7;break}case 98:{h=8;break}case 102:{h=12;break}case 110:{h=10;break}case 114:{h=13;break}case 116:{h=9;break}case 118:{h=11;break}case 13:case 10:{g=k[a+60>>2]|0;c=k[g+4>>2]|0;f=k[g+8>>2]|0;if((c+1|0)>>>0>f>>>0){if(f>>>0>2147483645){j=97;break d}c=k[a+52>>2]|0;if((f<<1|0)==-2){e=g;d=LFa(c)|0}else{e=g;d=KFa(c,k[g>>2]|0,f,f<<1)|0}k[e>>2]=d;k[g+8>>2]=f<<1;c=k[g+4>>2]|0}else d=k[g>>2]|0;k[g+4>>2]=c+1;i[d+c>>0]=10;d=k[a>>2]|0;c=k[a+56>>2]|0;j=k[c>>2]|0;k[c>>2]=j+-1;if(!j)c=WGa(c)|0;else{j=k[c+4>>2]|0;k[c+4>>2]=j+1;c=l[j>>0]|0}k[a>>2]=c;switch(c|0){case 13:case 10:{if((c|0)!=(d|0)){c=k[a+56>>2]|0;j=k[c>>2]|0;k[c>>2]=j+-1;if(!j)c=WGa(c)|0;else{j=k[c+4>>2]|0;k[c+4>>2]=j+1;c=l[j>>0]|0}k[a>>2]=c}break}default:{}}j=k[a+4>>2]|0;k[a+4>>2]=j+1;if((j|0)<=2147483643){j=80;break e}uIa(a,517241,k[a+16>>2]|0);j=80;break e}default:{if((c+-48|0)>>>0<10){d=0;e=0}else{h=k[a+60>>2]|0;d=k[h+4>>2]|0;g=k[h+8>>2]|0;if((d+1|0)>>>0>g>>>0){if(g>>>0>2147483645){j=117;break d}d=k[a+52>>2]|0;if((g<<1|0)==-2){f=h;e=LFa(d)|0}else{f=h;e=KFa(d,k[h>>2]|0,g,g<<1)|0}k[f>>2]=e;k[h+8>>2]=g<<1;d=k[h+4>>2]|0}else e=k[h>>2]|0;k[h+4>>2]=d+1;i[e+d>>0]=c;c=k[a+56>>2]|0;h=k[c>>2]|0;k[c>>2]=h+-1;if(!h)c=WGa(c)|0;else{h=k[c+4>>2]|0;k[c+4>>2]=h+1;c=l[h>>0]|0}k[a>>2]=c;break e}do{d=c+-48+(d*10|0)|0;c=k[a+56>>2]|0;j=k[c>>2]|0;k[c>>2]=j+-1;if(!j)c=WGa(c)|0;else{j=k[c+4>>2]|0;k[c+4>>2]=j+1;c=l[j>>0]|0}k[a>>2]=c;e=e+1|0}while((e|0)<3&(c+-48|0)>>>0<10);if((d|0)>255)uIa(a,517394,286);h=k[a+60>>2]|0;c=k[h+4>>2]|0;g=k[h+8>>2]|0;if((c+1|0)>>>0>g>>>0){if(g>>>0>2147483645){j=135;break d}c=k[a+52>>2]|0;if((g<<1|0)==-2){f=h;e=LFa(c)|0}else{f=h;e=KFa(c,k[h>>2]|0,g,g<<1)|0}k[f>>2]=e;k[h+8>>2]=g<<1;c=k[h+4>>2]|0}else e=k[h>>2]|0;k[h+4>>2]=c+1;i[e+c>>0]=d;j=80;break e}}g=k[a+60>>2]|0;c=k[g+4>>2]|0;f=k[g+8>>2]|0;if((c+1|0)>>>0>f>>>0){if(f>>>0>2147483645){j=144;break d}c=k[a+52>>2]|0;if((f<<1|0)==-2){e=g;d=LFa(c)|0}else{e=g;d=KFa(c,k[g>>2]|0,f,f<<1)|0}k[e>>2]=d;k[g+8>>2]=f<<1;c=k[g+4>>2]|0}else d=k[g>>2]|0;k[g+4>>2]=c+1;i[d+c>>0]=h;c=k[a+56>>2]|0;h=k[c>>2]|0;k[c>>2]=h+-1;if(!h)c=WGa(c)|0;else{h=k[c+4>>2]|0;k[c+4>>2]=h+1;c=l[h>>0]|0}k[a>>2]=c;break}default:{h=k[a+60>>2]|0;d=k[h+4>>2]|0;g=k[h+8>>2]|0;if((d+1|0)>>>0>g>>>0){if(g>>>0>2147483645){j=156;break d}d=k[a+52>>2]|0;if((g<<1|0)==-2){f=h;e=LFa(d)|0}else{f=h;e=KFa(d,k[h>>2]|0,g,g<<1)|0}k[f>>2]=e;k[h+8>>2]=g<<1;d=k[h+4>>2]|0}else e=k[h>>2]|0;k[h+4>>2]=d+1;i[e+d>>0]=c;c=k[a+56>>2]|0;h=k[c>>2]|0;k[c>>2]=h+-1;if(!h)c=WGa(c)|0;else{h=k[c+4>>2]|0;k[c+4>>2]=h+1;c=l[h>>0]|0}k[a>>2]=c}}while(0);if((j|0)==80){j=0;c=k[a>>2]|0}if((c|0)==(m|0))break c}if((j|0)==82){TFa(n+200|0,(k[a+64>>2]|0)+16|0,80);h=k[a+52>>2]|0;j=k[a+4>>2]|0;k[n+16>>2]=n+200;k[n+16+4>>2]=j;k[n+16+8>>2]=517376;h=SFa(h,517193,n+16|0)|0;j=k[a+52>>2]|0;k[n+32>>2]=h;k[n+32+4>>2]=517178;SFa(j,517228,n+32|0)|0;UEa(k[a+52>>2]|0,3)}else if((j|0)==97){TFa(n+200|0,(k[a+64>>2]|0)+16|0,80);j=k[a+52>>2]|0;h=k[a+4>>2]|0;k[n+40>>2]=n+200;k[n+40+4>>2]=h;k[n+40+8>>2]=517203;SFa(j,517193,n+40|0)|0;UEa(k[a+52>>2]|0,3)}else if((j|0)==117){TFa(n+200|0,(k[a+64>>2]|0)+16|0,80);j=k[a+52>>2]|0;h=k[a+4>>2]|0;k[n+56>>2]=n+200;k[n+56+4>>2]=h;k[n+56+8>>2]=517203;SFa(j,517193,n+56|0)|0;UEa(k[a+52>>2]|0,3)}else if((j|0)==135){TFa(n+200|0,(k[a+64>>2]|0)+16|0,80);j=k[a+52>>2]|0;h=k[a+4>>2]|0;k[n+72>>2]=n+200;k[n+72+4>>2]=h;k[n+72+8>>2]=517203;SFa(j,517193,n+72|0)|0;UEa(k[a+52>>2]|0,3)}else if((j|0)==144){TFa(n+200|0,(k[a+64>>2]|0)+16|0,80);j=k[a+52>>2]|0;h=k[a+4>>2]|0;k[n+88>>2]=n+200;k[n+88+4>>2]=h;k[n+88+8>>2]=517203;SFa(j,517193,n+88|0)|0;UEa(k[a+52>>2]|0,3)}else if((j|0)==156){TFa(n+200|0,(k[a+64>>2]|0)+16|0,80);j=k[a+52>>2]|0;h=k[a+4>>2]|0;k[n+104>>2]=n+200;k[n+104+4>>2]=h;k[n+104+8>>2]=517203;SFa(j,517193,n+104|0)|0;UEa(k[a+52>>2]|0,3)}}while(0);g=k[a+60>>2]|0;c=k[g+4>>2]|0;f=k[g+8>>2]|0;if((c+1|0)>>>0>f>>>0){if(f>>>0>2147483645){TFa(n+200|0,(k[a+64>>2]|0)+16|0,80);j=k[a+52>>2]|0;h=k[a+4>>2]|0;k[n+120>>2]=n+200;k[n+120+4>>2]=h;k[n+120+8>>2]=517203;SFa(j,517193,n+120|0)|0;UEa(k[a+52>>2]|0,3)}c=k[a+52>>2]|0;if((f<<1|0)==-2){e=g;d=LFa(c)|0}else{e=g;d=KFa(c,k[g>>2]|0,f,f<<1)|0}k[e>>2]=d;k[g+8>>2]=f<<1;c=k[g+4>>2]|0}else d=k[g>>2]|0;k[g+4>>2]=c+1;i[d+c>>0]=m;c=k[a+56>>2]|0;m=k[c>>2]|0;k[c>>2]=m+-1;if(!m)c=WGa(c)|0;else{m=k[c+4>>2]|0;k[c+4>>2]=m+1;c=l[m>>0]|0}k[a>>2]=c;e=k[a+60>>2]|0;d=k[a+52>>2]|0;e=sGa(d,(k[e>>2]|0)+1|0,(k[e+4>>2]|0)+-2|0)|0;c=GGa(d,k[(k[a+48>>2]|0)+4>>2]|0,e)|0;if(!(k[c+8>>2]|0)){k[c>>2]=1;k[c+8>>2]=1;a=k[d+16>>2]|0;if((k[a+68>>2]|0)>>>0>=(k[a+64>>2]|0)>>>0)yFa(d)}k[b>>2]=e;a=286;r=n;return a|0}else if((j|0)==181){g=k[a+60>>2]|0;c=k[g+4>>2]|0;f=k[g+8>>2]|0;if((c+1|0)>>>0>f>>>0){if(f>>>0>2147483645){TFa(n+200|0,(k[a+64>>2]|0)+16|0,80);m=k[a+52>>2]|0;j=k[a+4>>2]|0;k[n+136>>2]=n+200;k[n+136+4>>2]=j;k[n+136+8>>2]=517203;SFa(m,517193,n+136|0)|0;UEa(k[a+52>>2]|0,3)}c=k[a+52>>2]|0;if((f<<1|0)==-2){e=g;d=LFa(c)|0}else{e=g;d=KFa(c,k[g>>2]|0,f,f<<1)|0}k[e>>2]=d;k[g+8>>2]=f<<1;c=k[g+4>>2]|0}else d=k[g>>2]|0;k[g+4>>2]=c+1;i[d+c>>0]=46;c=k[a+56>>2]|0;m=k[c>>2]|0;k[c>>2]=m+-1;if(!m)h=WGa(c)|0;else{h=k[c+4>>2]|0;k[c+4>>2]=h+1;h=l[h>>0]|0}k[a>>2]=h;if(!(Cmb(616745,h,2)|0)){if((h+-48|0)>>>0>=10){a=46;r=n;return a|0}CIa(a,b);a=284;r=n;return a|0}g=k[a+60>>2]|0;c=k[g+4>>2]|0;f=k[g+8>>2]|0;if((c+1|0)>>>0>f>>>0){if(f>>>0>2147483645){TFa(n+200|0,(k[a+64>>2]|0)+16|0,80);b=k[a+52>>2]|0;m=k[a+4>>2]|0;k[n+152>>2]=n+200;k[n+152+4>>2]=m;k[n+152+8>>2]=517203;SFa(b,517193,n+152|0)|0;UEa(k[a+52>>2]|0,3)}c=k[a+52>>2]|0;if((f<<1|0)==-2){e=g;d=LFa(c)|0}else{e=g;d=KFa(c,k[g>>2]|0,f,f<<1)|0}k[e>>2]=d;k[g+8>>2]=f<<1;c=k[g+4>>2]|0}else d=k[g>>2]|0;k[g+4>>2]=c+1;i[d+c>>0]=h;c=k[a+56>>2]|0;b=k[c>>2]|0;k[c>>2]=b+-1;if(!b)g=WGa(c)|0;else{g=k[c+4>>2]|0;k[c+4>>2]=g+1;g=l[g>>0]|0}k[a>>2]=g;if(!(Cmb(616745,g,2)|0)){a=278;r=n;return a|0}h=k[a+60>>2]|0;c=k[h+4>>2]|0;f=k[h+8>>2]|0;if((c+1|0)>>>0>f>>>0){if(f>>>0>2147483645){TFa(n+200|0,(k[a+64>>2]|0)+16|0,80);b=k[a+52>>2]|0;m=k[a+4>>2]|0;k[n+168>>2]=n+200;k[n+168+4>>2]=m;k[n+168+8>>2]=517203;SFa(b,517193,n+168|0)|0;UEa(k[a+52>>2]|0,3)}c=k[a+52>>2]|0;if((f<<1|0)==-2){e=h;d=LFa(c)|0}else{e=h;d=KFa(c,k[h>>2]|0,f,f<<1)|0}k[e>>2]=d;k[h+8>>2]=f<<1;c=k[h+4>>2]|0}else d=k[h>>2]|0;k[h+4>>2]=c+1;i[d+c>>0]=g;c=k[a+56>>2]|0;b=k[c>>2]|0;k[c>>2]=b+-1;if(!b)c=WGa(c)|0;else{b=k[c+4>>2]|0;k[c+4>>2]=b+1;c=l[b>>0]|0}k[a>>2]=c;a=279;r=n;return a|0}else if((j|0)==224){c=k[a>>2]|0;if((c+-48|0)>>>0<10){CIa(a,b);a=284;r=n;return a|0}if(!($mb(c)|0)){d=k[a>>2]|0;if((d|0)!=95){c=k[a+56>>2]|0;b=k[c>>2]|0;k[c>>2]=b+-1;if(!b)c=WGa(c)|0;else{b=k[c+4>>2]|0;k[c+4>>2]=b+1;c=l[b>>0]|0}k[a>>2]=c;a=d;r=n;return a|0}}while(1){g=k[a>>2]|0;h=k[a+60>>2]|0;c=k[h+4>>2]|0;f=k[h+8>>2]|0;if((c+1|0)>>>0>f>>>0){if(f>>>0>2147483645){j=232;break}c=k[a+52>>2]|0;if((f<<1|0)==-2){e=h;d=LFa(c)|0}else{e=h;d=KFa(c,k[h>>2]|0,f,f<<1)|0}k[e>>2]=d;k[h+8>>2]=f<<1;c=k[h+4>>2]|0}else d=k[h>>2]|0;k[h+4>>2]=c+1;i[d+c>>0]=g;c=k[a+56>>2]|0;m=k[c>>2]|0;k[c>>2]=m+-1;if(!m)c=WGa(c)|0;else{m=k[c+4>>2]|0;k[c+4>>2]=m+1;c=l[m>>0]|0}k[a>>2]=c;if(_mb(c)|0)continue;if((k[a>>2]|0)!=95)break}if((j|0)==232){TFa(n+200|0,(k[a+64>>2]|0)+16|0,80);m=k[a+52>>2]|0;j=k[a+4>>2]|0;k[n+184>>2]=n+200;k[n+184+4>>2]=j;k[n+184+8>>2]=517203;SFa(m,517193,n+184|0)|0;UEa(k[a+52>>2]|0,3)}e=k[a+60>>2]|0;d=k[a+52>>2]|0;e=sGa(d,k[e>>2]|0,k[e+4>>2]|0)|0;c=GGa(d,k[(k[a+48>>2]|0)+4>>2]|0,e)|0;if(!(k[c+8>>2]|0)){k[c>>2]=1;k[c+8>>2]=1;a=k[d+16>>2]|0;if((k[a+68>>2]|0)>>>0>=(k[a+64>>2]|0)>>>0)yFa(d)}c=i[e+6>>0]|0;if(!(c<<24>>24)){k[b>>2]=e;a=285;r=n;return a|0}else{a=c&255|256;r=n;return a|0}}else if((j|0)==252){r=n;return c|0}while(0);c=k[a+56>>2]|0;b=k[c>>2]|0;k[c>>2]=b+-1;if(!b)c=WGa(c)|0;else{b=k[c+4>>2]|0;k[c+4>>2]=b+1;c=l[b>>0]|0}k[a>>2]=c;if((c|0)!=61){a=61;r=n;return a|0}c=k[a+56>>2]|0;b=k[c>>2]|0;k[c>>2]=b+-1;if(!b)c=WGa(c)|0;else{b=k[c+4>>2]|0;k[c+4>>2]=b+1;c=l[b>>0]|0}k[a>>2]=c;a=280;r=n;return a|0}function AIa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0;j=r;r=r+112|0;h=k[a>>2]|0;e=k[a+60>>2]|0;b=k[e+4>>2]|0;d=k[e+8>>2]|0;if((b+1|0)>>>0>d>>>0){if(d>>>0>2147483645){TFa(j+32|0,(k[a+64>>2]|0)+16|0,80);g=k[a+52>>2]|0;f=k[a+4>>2]|0;k[j>>2]=j+32;k[j+4>>2]=f;k[j+8>>2]=517203;SFa(g,517193,j)|0;UEa(k[a+52>>2]|0,3)}b=k[a+52>>2]|0;if((d<<1|0)==-2){c=e;b=LFa(b)|0}else{c=e;b=KFa(b,k[e>>2]|0,d,d<<1)|0}k[c>>2]=b;k[e+8>>2]=d<<1;c=k[e+4>>2]|0}else{c=b;b=k[e>>2]|0}k[e+4>>2]=c+1;i[b+c>>0]=h;b=k[a+56>>2]|0;g=k[b>>2]|0;k[b>>2]=g+-1;if(!g)b=WGa(b)|0;else{g=k[b+4>>2]|0;k[b+4>>2]=g+1;b=l[g>>0]|0}k[a>>2]=b;if((b|0)!=61){g=b;a=0;h=(g|0)!=(h|0);h=h<<31>>31;h=h^a;r=j;return h|0}g=0;while(1){f=k[a+60>>2]|0;b=k[f+4>>2]|0;e=k[f+8>>2]|0;if((b+1|0)>>>0>e>>>0){if(e>>>0>2147483645){d=17;break}b=k[a+52>>2]|0;if((e<<1|0)==-2){d=f;c=LFa(b)|0}else{d=f;c=KFa(b,k[f>>2]|0,e,e<<1)|0}k[d>>2]=c;k[f+8>>2]=e<<1;b=k[f+4>>2]|0}else c=k[f>>2]|0;k[f+4>>2]=b+1;i[c+b>>0]=61;b=k[a+56>>2]|0;f=k[b>>2]|0;k[b>>2]=f+-1;if(!f)c=WGa(b)|0;else{c=k[b+4>>2]|0;k[b+4>>2]=c+1;c=l[c>>0]|0}k[a>>2]=c;b=g+1|0;if((c|0)==61)g=b;else{d=26;break}}if((d|0)==17){TFa(j+32|0,(k[a+64>>2]|0)+16|0,80);h=k[a+52>>2]|0;g=k[a+4>>2]|0;k[j+16>>2]=j+32;k[j+16+4>>2]=g;k[j+16+8>>2]=517203;SFa(h,517193,j+16|0)|0;UEa(k[a+52>>2]|0,3)}else if((d|0)==26){h=(c|0)!=(h|0);h=h<<31>>31;h=h^b;r=j;return h|0}return 0}function BIa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,m=0;m=r;r=r+192|0;g=k[a>>2]|0;h=k[a+60>>2]|0;d=k[h+4>>2]|0;f=k[h+8>>2]|0;if((d+1|0)>>>0>f>>>0){if(f>>>0>2147483645){TFa(m+104|0,(k[a+64>>2]|0)+16|0,80);e=k[a+52>>2]|0;d=k[a+4>>2]|0;k[m>>2]=m+104;k[m+4>>2]=d;k[m+8>>2]=517203;SFa(e,517193,m)|0;UEa(k[a+52>>2]|0,3)}d=k[a+52>>2]|0;if((f<<1|0)==-2){e=h;d=LFa(d)|0}else{e=h;d=KFa(d,k[h>>2]|0,f,f<<1)|0}k[e>>2]=d;k[h+8>>2]=f<<1;e=k[h+4>>2]|0}else{e=d;d=k[h>>2]|0}k[h+4>>2]=e+1;i[d+e>>0]=g;d=k[a+56>>2]|0;h=k[d>>2]|0;k[d>>2]=h+-1;if(!h)d=WGa(d)|0;else{h=k[d+4>>2]|0;k[d+4>>2]=h+1;d=l[h>>0]|0}k[a>>2]=d;switch(d|0){case 13:case 10:{e=k[a+56>>2]|0;j=k[e>>2]|0;k[e>>2]=j+-1;if(!j)e=WGa(e)|0;else{j=k[e+4>>2]|0;k[e+4>>2]=j+1;e=l[j>>0]|0}k[a>>2]=e;switch(e|0){case 13:case 10:{if((e|0)!=(d|0)){d=k[a+56>>2]|0;j=k[d>>2]|0;k[d>>2]=j+-1;if(!j)d=WGa(d)|0;else{j=k[d+4>>2]|0;k[d+4>>2]=j+1;d=l[j>>0]|0}k[a>>2]=d}break}default:{}}j=k[a+4>>2]|0;k[a+4>>2]=j+1;if((j|0)>2147483643){uIa(a,517241,k[a+16>>2]|0);j=24}else j=24;break}default:{}}a:while(1){if((j|0)==24)d=k[a>>2]|0;b:while(1){c:do if(!b)while(1){switch(d|0){case -1:{j=33;break a}case 93:{j=48;break b}case 13:case 10:{j=61;break b}case 91:break c;default:{}}d=k[a+56>>2]|0;j=k[d>>2]|0;k[d>>2]=j+-1;if(!j)d=WGa(d)|0;else{j=k[d+4>>2]|0;k[d+4>>2]=j+1;d=l[j>>0]|0}k[a>>2]=d}else while(1){switch(d|0){case -1:{j=33;break a}case 93:{j=48;break b}case 13:case 10:{j=61;break b}case 91:break c;default:{}}j=k[a+60>>2]|0;e=k[j+4>>2]|0;h=k[j+8>>2]|0;if((e+1|0)>>>0>h>>>0){if(h>>>0>2147483645){j=85;break a}e=k[a+52>>2]|0;if((h<<1|0)==-2){g=j;f=LFa(e)|0}else{g=j;f=KFa(e,k[j>>2]|0,h,h<<1)|0}k[g>>2]=f;k[j+8>>2]=h<<1;e=k[j+4>>2]|0}else f=k[j>>2]|0;k[j+4>>2]=e+1;i[f+e>>0]=d;d=k[a+56>>2]|0;j=k[d>>2]|0;k[d>>2]=j+-1;if(!j)d=WGa(d)|0;else{j=k[d+4>>2]|0;k[d+4>>2]=j+1;d=l[j>>0]|0}k[a>>2]=d}while(0);if((AIa(a)|0)!=(c|0)){j=24;continue a}h=k[a>>2]|0;j=k[a+60>>2]|0;d=k[j+4>>2]|0;g=k[j+8>>2]|0;if((d+1|0)>>>0>g>>>0){if(g>>>0>2147483645){j=38;break a}d=k[a+52>>2]|0;if((g<<1|0)==-2){f=j;e=LFa(d)|0}else{f=j;e=KFa(d,k[j>>2]|0,g,g<<1)|0}k[f>>2]=e;k[j+8>>2]=g<<1;d=k[j+4>>2]|0}else e=k[j>>2]|0;k[j+4>>2]=d+1;i[e+d>>0]=h;d=k[a+56>>2]|0;j=k[d>>2]|0;k[d>>2]=j+-1;if(!j)d=WGa(d)|0;else{j=k[d+4>>2]|0;k[d+4>>2]=j+1;d=l[j>>0]|0}k[a>>2]=d;if(!c){j=47;break}}if((j|0)==47){uIa(a,517313,91);j=24;continue}else if((j|0)==48)if((AIa(a)|0)==(c|0)){j=49;break}else{j=24;continue}else if((j|0)==61){h=k[a+60>>2]|0;d=k[h+4>>2]|0;g=k[h+8>>2]|0;if((d+1|0)>>>0>g>>>0){if(g>>>0>2147483645){j=64;break}d=k[a+52>>2]|0;if((g<<1|0)==-2){f=h;e=LFa(d)|0}else{f=h;e=KFa(d,k[h>>2]|0,g,g<<1)|0}k[f>>2]=e;k[h+8>>2]=g<<1;d=k[h+4>>2]|0}else e=k[h>>2]|0;k[h+4>>2]=d+1;i[e+d>>0]=10;e=k[a>>2]|0;d=k[a+56>>2]|0;j=k[d>>2]|0;k[d>>2]=j+-1;if(!j)d=WGa(d)|0;else{j=k[d+4>>2]|0;k[d+4>>2]=j+1;d=l[j>>0]|0}k[a>>2]=d;switch(d|0){case 13:case 10:{if((d|0)!=(e|0)){d=k[a+56>>2]|0;j=k[d>>2]|0;k[d>>2]=j+-1;if(!j)d=WGa(d)|0;else{j=k[d+4>>2]|0;k[d+4>>2]=j+1;d=l[j>>0]|0}k[a>>2]=d}break}default:{}}j=k[a+4>>2]|0;k[a+4>>2]=j+1;if((j|0)>2147483643)uIa(a,517241,k[a+16>>2]|0);if(b|0){j=24;continue}k[(k[a+60>>2]|0)+4>>2]=0;j=24;continue}}if((j|0)==33){TFa(m+104|0,(k[a+64>>2]|0)+16|0,80);c=k[a+52>>2]|0;j=k[a+4>>2]|0;k[m+16>>2]=m+104;k[m+16+4>>2]=j;k[m+16+8>>2]=b|0?517266:517289;c=SFa(c,517193,m+16|0)|0;b=k[a+52>>2]|0;k[m+32>>2]=c;k[m+32+4>>2]=517178;SFa(b,517228,m+32|0)|0;UEa(k[a+52>>2]|0,3)}else if((j|0)==38){TFa(m+104|0,(k[a+64>>2]|0)+16|0,80);b=k[a+52>>2]|0;c=k[a+4>>2]|0;k[m+40>>2]=m+104;k[m+40+4>>2]=c;k[m+40+8>>2]=517203;SFa(b,517193,m+40|0)|0;UEa(k[a+52>>2]|0,3)}else if((j|0)==49){h=k[a>>2]|0;j=k[a+60>>2]|0;d=k[j+4>>2]|0;g=k[j+8>>2]|0;if((d+1|0)>>>0>g>>>0){if(g>>>0>2147483645){TFa(m+104|0,(k[a+64>>2]|0)+16|0,80);f=k[a+52>>2]|0;e=k[a+4>>2]|0;k[m+56>>2]=m+104;k[m+56+4>>2]=e;k[m+56+8>>2]=517203;SFa(f,517193,m+56|0)|0;UEa(k[a+52>>2]|0,3)}d=k[a+52>>2]|0;if((g<<1|0)==-2){f=j;e=LFa(d)|0}else{f=j;e=KFa(d,k[j>>2]|0,g,g<<1)|0}k[f>>2]=e;k[j+8>>2]=g<<1;d=k[j+4>>2]|0}else e=k[j>>2]|0;k[j+4>>2]=d+1;i[e+d>>0]=h;d=k[a+56>>2]|0;j=k[d>>2]|0;k[d>>2]=j+-1;if(!j)d=WGa(d)|0;else{j=k[d+4>>2]|0;k[d+4>>2]=j+1;d=l[j>>0]|0}k[a>>2]=d;if(!b){r=m;return}e=k[a+60>>2]|0;f=k[a+52>>2]|0;e=sGa(f,(k[e>>2]|0)+(c+2)|0,(k[e+4>>2]|0)-(c+2<<1)|0)|0;d=GGa(f,k[(k[a+48>>2]|0)+4>>2]|0,e)|0;if(!(k[d+8>>2]|0)){k[d>>2]=1;k[d+8>>2]=1;a=k[f+16>>2]|0;if((k[a+68>>2]|0)>>>0>=(k[a+64>>2]|0)>>>0)yFa(f)}k[b>>2]=e;r=m;return}else if((j|0)==64){TFa(m+104|0,(k[a+64>>2]|0)+16|0,80);b=k[a+52>>2]|0;c=k[a+4>>2]|0;k[m+72>>2]=m+104;k[m+72+4>>2]=c;k[m+72+8>>2]=517203;SFa(b,517193,m+72|0)|0;UEa(k[a+52>>2]|0,3)}else if((j|0)==85){TFa(m+104|0,(k[a+64>>2]|0)+16|0,80);b=k[a+52>>2]|0;c=k[a+4>>2]|0;k[m+88>>2]=m+104;k[m+88+4>>2]=c;k[m+88+8>>2]=517203;SFa(b,517193,m+88|0)|0;UEa(k[a+52>>2]|0,3)}}function CIa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0;m=r;r=r+160|0;d=k[a>>2]|0;while(1){h=k[a+60>>2]|0;e=k[h+4>>2]|0;g=k[h+8>>2]|0;if((e+1|0)>>>0>g>>>0){if(g>>>0>2147483645){j=5;break}e=k[a+52>>2]|0;if((g<<1|0)==-2){f=h;e=LFa(e)|0}else{f=h;e=KFa(e,k[h>>2]|0,g,g<<1)|0}k[f>>2]=e;k[h+8>>2]=g<<1;f=k[h+4>>2]|0}else{f=e;e=k[h>>2]|0}k[h+4>>2]=f+1;i[e+f>>0]=d;d=k[a+56>>2]|0;h=k[d>>2]|0;k[d>>2]=h+-1;if(!h)d=WGa(d)|0;else{h=k[d+4>>2]|0;k[d+4>>2]=h+1;d=l[h>>0]|0}k[a>>2]=d;if(!((d|0)==46|(d+-48|0)>>>0<10)){c=d;break}}if((j|0)==5){TFa(m+80|0,(k[a+64>>2]|0)+16|0,80);h=k[a+52>>2]|0;g=k[a+4>>2]|0;k[m>>2]=m+80;k[m+4>>2]=g;k[m+8>>2]=517203;SFa(h,517193,m)|0;UEa(k[a+52>>2]|0,3)}if(Cmb(517420,c,3)|0){h=k[a+60>>2]|0;d=k[h+4>>2]|0;g=k[h+8>>2]|0;if((d+1|0)>>>0>g>>>0){if(g>>>0>2147483645){TFa(m+80|0,(k[a+64>>2]|0)+16|0,80);f=k[a+52>>2]|0;e=k[a+4>>2]|0;k[m+16>>2]=m+80;k[m+16+4>>2]=e;k[m+16+8>>2]=517203;SFa(f,517193,m+16|0)|0;UEa(k[a+52>>2]|0,3)}d=k[a+52>>2]|0;if((g<<1|0)==-2){f=h;e=LFa(d)|0}else{f=h;e=KFa(d,k[h>>2]|0,g,g<<1)|0}k[f>>2]=e;k[h+8>>2]=g<<1;d=k[h+4>>2]|0}else e=k[h>>2]|0;k[h+4>>2]=d+1;i[e+d>>0]=c;c=k[a+56>>2]|0;h=k[c>>2]|0;k[c>>2]=h+-1;if(!h)c=WGa(c)|0;else{h=k[c+4>>2]|0;k[c+4>>2]=h+1;c=l[h>>0]|0}k[a>>2]=c;if(Cmb(522388,c,3)|0){g=k[a+60>>2]|0;d=k[g+4>>2]|0;f=k[g+8>>2]|0;if((d+1|0)>>>0>f>>>0){if(f>>>0>2147483645){TFa(m+80|0,(k[a+64>>2]|0)+16|0,80);h=k[a+52>>2]|0;e=k[a+4>>2]|0;k[m+32>>2]=m+80;k[m+32+4>>2]=e;k[m+32+8>>2]=517203;SFa(h,517193,m+32|0)|0;UEa(k[a+52>>2]|0,3)}d=k[a+52>>2]|0;if((f<<1|0)==-2){e=g;d=LFa(d)|0}else{e=g;d=KFa(d,k[g>>2]|0,f,f<<1)|0}k[e>>2]=d;k[g+8>>2]=f<<1;e=k[g+4>>2]|0}else{e=d;d=k[g>>2]|0}k[g+4>>2]=e+1;i[d+e>>0]=c;c=k[a+56>>2]|0;h=k[c>>2]|0;k[c>>2]=h+-1;if(!h)c=WGa(c)|0;else{h=k[c+4>>2]|0;k[c+4>>2]=h+1;c=l[h>>0]|0}k[a>>2]=c}}while(1){h=(_mb(c)|0)==0;c=k[a>>2]|0;if(h)if((c|0)==95)c=95;else break;h=k[a+60>>2]|0;d=k[h+4>>2]|0;g=k[h+8>>2]|0;if((d+1|0)>>>0>g>>>0){if(g>>>0>2147483645){j=45;break}d=k[a+52>>2]|0;if((g<<1|0)==-2){f=h;e=LFa(d)|0}else{f=h;e=KFa(d,k[h>>2]|0,g,g<<1)|0}k[f>>2]=e;k[h+8>>2]=g<<1;d=k[h+4>>2]|0}else e=k[h>>2]|0;k[h+4>>2]=d+1;i[e+d>>0]=c;c=k[a+56>>2]|0;h=k[c>>2]|0;k[c>>2]=h+-1;if(!h)c=WGa(c)|0;else{h=k[c+4>>2]|0;k[c+4>>2]=h+1;c=l[h>>0]|0}k[a>>2]=c}if((j|0)==45){TFa(m+80|0,(k[a+64>>2]|0)+16|0,80);j=k[a+52>>2]|0;h=k[a+4>>2]|0;k[m+48>>2]=m+80;k[m+48+4>>2]=h;k[m+48+8>>2]=517203;SFa(j,517193,m+48|0)|0;UEa(k[a+52>>2]|0,3)}g=k[a+60>>2]|0;c=k[g+4>>2]|0;f=k[g+8>>2]|0;if((c+1|0)>>>0>f>>>0){if(f>>>0>2147483645){TFa(m+80|0,(k[a+64>>2]|0)+16|0,80);j=k[a+52>>2]|0;h=k[a+4>>2]|0;k[m+64>>2]=m+80;k[m+64+4>>2]=h;k[m+64+8>>2]=517203;SFa(j,517193,m+64|0)|0;UEa(k[a+52>>2]|0,3)}c=k[a+52>>2]|0;if((f<<1|0)==-2){e=g;d=LFa(c)|0}else{e=g;d=KFa(c,k[g>>2]|0,f,f<<1)|0}k[e>>2]=d;k[g+8>>2]=f<<1;c=k[g+4>>2]|0}else d=k[g>>2]|0;k[g+4>>2]=c+1;i[d+c>>0]=0;f=i[a+68>>0]|0;d=k[a+60>>2]|0;c=k[d>>2]|0;d=k[d+4>>2]|0;if(d){do{d=d+-1|0;e=c+d|0;if((i[e>>0]|0)==46)i[e>>0]=f}while((d|0)!=0);c=k[k[a+60>>2]>>2]|0}if(QFa(c,b)|0){r=m;return}c=Knb()|0;g=i[a+68>>0]|0;if(!c)f=46;else f=i[k[c>>2]>>0]|0;i[a+68>>0]=f;d=k[a+60>>2]|0;c=k[d>>2]|0;d=k[d+4>>2]|0;if(d){do{d=d+-1|0;e=c+d|0;if((i[e>>0]|0)==g<<24>>24)i[e>>0]=f}while((d|0)!=0);c=k[k[a+60>>2]>>2]|0}if(QFa(c,b)|0){r=m;return}e=i[a+68>>0]|0;c=k[a+60>>2]|0;f=k[c>>2]|0;c=k[c+4>>2]|0;if(c|0)do{c=c+-1|0;d=f+c|0;if((i[d>>0]|0)==e<<24>>24)i[d>>0]=46}while((c|0)!=0);uIa(a,517423,284);r=m;return}function DIa(a){a=a|0;var b=0;b=zIa(a,a+40|0)|0;k[a+32>>2]=b;return}function EIa(a){a=a|0;CDa(a,-10002);lEa(a,-10002,517440);rHa(a,517440,37652);XDa(a,517981,7);lEa(a,-10002,517989);$Da(a,1518,0);$Da(a,1519,1);lEa(a,-2,517998);$Da(a,1239,0);$Da(a,1520,1);lEa(a,-2,518005);hEa(a,0,1);CDa(a,-1);oEa(a,-2)|0;XDa(a,518011,2);lEa(a,-2,518014);$Da(a,1521,1);lEa(a,-10002,518047);rHa(a,518056,37912);return 2}function FIa(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;kHa(a,1);if(!(NDa(a,1)|0)){c=eHa(a,2,517450,0)|0;k[b>>2]=c;a=aHa(a,593163,b)|0;r=b;return a|0}else{c=xDa(a)|0;r=b;return c|0}return 0}function GIa(a){a=a|0;var b=0,c=0;c=dHa(a,1,517483,37852)|0;b=oHa(a,2,0)|0;c=k[37884+(c<<2)>>2]|0;b=wEa(a,c,b)|0;switch(c|0){case 3:{VDa(a,+(b|0)+ +(wEa(a,4,0)|0)*.0009765625);return 1}case 5:{aEa(a,b);return 1}default:{VDa(a,+(b|0));return 1}}return 0}function HIa(a){a=a|0;var b=0,c=0;c=eHa(a,1,0,0)|0;b=xDa(a)|0;if(DHa(a,c)|0)xEa(a)|0;qEa(a,0,-1);return (xDa(a)|0)-b|0}function IIa(a){a=a|0;var b=0;b=oHa(a,2,1)|0;yDa(a,1);if(!((b|0)>0&(HDa(a,1)|0)!=0)){a=xEa(a)|0;return a|0}cHa(a,b);CDa(a,1);zEa(a,2);a=xEa(a)|0;return a|0}function JIa(a){a=a|0;WDa(a,wEa(a,3,0)|0);return 1}function KIa(a){a=a|0;LIa(a,1);if(!(FDa(a,-1)|0)){jEa(a,-1);return 1}else{CDa(a,-10002);return 1}return 0}function LIa(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+112|0;if((DDa(a,1)|0)==6){CDa(a,1);r=c;return}if(!b)b=nHa(a,1)|0;else b=oHa(a,1,1)|0;if((b|0)<=-1)$Ga(a,1,517549)|0;if(!(HEa(a,b,c+4|0)|0))$Ga(a,1,517576)|0;KEa(a,521071,c+4|0)|0;if(!(DDa(a,-1)|0)){k[c>>2]=b;aHa(a,517590,c)|0}r=c;return}function MIa(a){a=a|0;kHa(a,1);if(!(iEa(a,1)|0)){UDa(a);return 1}else{pHa(a,1,517640)|0;return 1}return 0}function NIa(a){a=a|0;if(!(DHa(a,eHa(a,1,0,0)|0)|0)){a=1;return a|0}UDa(a);ADa(a,-2);a=2;return a|0}function OIa(a){a=a|0;var b=0;b=eHa(a,2,517666,0)|0;jHa(a,1,6);yDa(a,3);if(!(tEa(a,129,0,b)|0)){b=1;return b|0}UDa(a);ADa(a,-2);b=2;return b|0}function PIa(a,b,c){a=a|0;b=b|0;c=c|0;b=r;r=r+16|0;iHa(a,2,517674);CDa(a,1);qEa(a,0,1);if(!(DDa(a,-1)|0)){k[c>>2]=0;c=0;r=b;return c|0}if(!(HDa(a,-1)|0)){aHa(a,517700,b)|0;c=0;r=b;return c|0}else{BDa(a,3);c=ODa(a,3,c)|0;r=b;return c|0}return 0}function QIa(a){a=a|0;var b=0,c=0,d=0;b=r;r=r+16|0;d=fHa(a,1,b)|0;c=eHa(a,2,d,0)|0;if(!(FHa(a,d,k[b>>2]|0,c)|0)){d=1;r=b;return d|0}UDa(a);ADa(a,-2);d=2;r=b;return d|0}function RIa(a){a=a|0;jHa(a,1,5);yDa(a,2);if(yEa(a,1)|0){a=2;return a|0}UDa(a);a=1;return a|0}function SIa(a){a=a|0;kHa(a,1);aEa(a,(rEa(a,(xDa(a)|0)+-1|0,-1,0)|0)==0&1);ADa(a,1);return xDa(a)|0}function TIa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=r;r=r+16|0;c=xDa(a)|0;eEa(a,-10002,517765);b=k[37209]|0;a:do if((c|0)>=1){e=1;while(1){CDa(a,-1);CDa(a,e);qEa(a,1,1);d=ODa(a,-1,0)|0;if(!d)break;if((e|0)>1)Bpb(9,b)|0;Cpb(d,b)|0;yDa(a,-2);if((e|0)<(c|0))e=e+1|0;else break a}e=aHa(a,517774,f)|0;r=f;return e|0}while(0);Bpb(10,b)|0;e=0;r=f;return e|0}function UIa(a){a=a|0;kHa(a,1);kHa(a,2);aEa(a,JDa(a,1,2)|0);return 1}function VIa(a){a=a|0;jHa(a,1,5);kHa(a,2);yDa(a,2);fEa(a,1);return 1}function WIa(a){a=a|0;jHa(a,1,5);kHa(a,2);kHa(a,3);yDa(a,3);mEa(a,1);return 1}function XIa(a){a=a|0;var b=0,c=0;b=xDa(a)|0;if((DDa(a,1)|0)==4){c=ODa(a,1,0)|0;if((i[c>>0]|0)==35){WDa(a,b+-1|0);c=1;return c|0}}c=nHa(a,1)|0;c=(c|0)<0?c+b|0:(c|0)>(b|0)?b:c;if((c|0)<=0)$Ga(a,1,517847)|0;c=b-c|0;return c|0}function YIa(a){a=a|0;var b=0;b=r;r=r+16|0;jHa(a,2,5);LIa(a,0);CDa(a,2);if(GDa(a,1)|0)if(+LDa(a,1)==0.0){cEa(a)|0;ADa(a,-2);pEa(a,-2)|0;a=0;r=b;return a|0}if(!(FDa(a,-2)|0))if(pEa(a,-2)|0){a=1;r=b;return a|0}aHa(a,518551,b)|0;a=1;r=b;return a|0}function ZIa(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;c=DDa(a,2)|0;jHa(a,1,5);switch(c|0){case 0:case 5:break;default:$Ga(a,2,518633)|0}if(pHa(a,1,517640)|0)aHa(a,517866,b)|0;yDa(a,2);oEa(a,1)|0;r=b;return 1}function _Ia(a){a=a|0;var b=0,c=0,d=0,e=0;e=r;r=r+16|0;b=oHa(a,2,10)|0;if((b|0)==10){kHa(a,1);if(GDa(a,1)|0){VDa(a,+LDa(a,1));r=e;return 1}}else{c=fHa(a,1,0)|0;if((b+-2|0)>>>0>=35)$Ga(a,2,517911)|0;d=tmb(c,e,b)|0;b=k[e>>2]|0;if((c|0)!=(b|0)){if(qmb(l[b>>0]|0)|0){do b=b+1|0;while((qmb(l[b>>0]|0)|0)!=0);k[e>>2]=b}if(!(i[b>>0]|0)){VDa(a,+(d>>>0));r=e;return 1}}}UDa(a);r=e;return 1}function $Ia(a){a=a|0;var b=0,c=0,d=0;b=r;r=r+16|0;kHa(a,1);if(qHa(a,1,518962)|0){r=b;return 1}switch(DDa(a,1)|0){case 3:{YDa(a,ODa(a,1,0)|0);r=b;return 1}case 4:{CDa(a,1);r=b;return 1}case 1:{c=(NDa(a,1)|0)!=0;YDa(a,c?619791:619796);r=b;return 1}case 0:{XDa(a,517929,3);r=b;return 1}default:{d=EDa(a,DDa(a,1)|0)|0;c=TDa(a,1)|0;k[b>>2]=d;k[b+4>>2]=c;_Da(a,517933,b)|0;r=b;return 1}}return 0}function aJa(a){a=a|0;kHa(a,1);YDa(a,EDa(a,DDa(a,1)|0)|0);return 1}function bJa(a){a=a|0;var b=0,c=0,d=0,e=0;e=r;r=r+16|0;jHa(a,1,5);b=oHa(a,2,1)|0;if((DDa(a,3)|0)<1)c=PDa(a,1)|0;else c=nHa(a,3)|0;if((c|0)<(b|0)){a=0;r=e;return a|0}d=c-b|0;if((d|0)>=0)if(sDa(a,d+1|0)|0){gEa(a,1,b);if((c|0)<=(b|0)){a=d+1|0;r=e;return a|0}do{b=b+1|0;gEa(a,1,b)}while((b|0)!=(c|0));b=d+1|0;r=e;return b|0}a=aHa(a,517947,e)|0;r=e;return a|0}function cJa(a){a=a|0;kHa(a,2);yDa(a,2);ADa(a,1);aEa(a,(rEa(a,0,-1,1)|0)==0&1);BDa(a,1);return xDa(a)|0}function dJa(a){a=a|0;var b=0;b=nHa(a,2)|0;jHa(a,1,5);WDa(a,b+1|0);gEa(a,1,b+1|0);a=(DDa(a,-1)|0)==0;return (a?0:2)|0}function eJa(a){a=a|0;jHa(a,1,5);CDa(a,-10003);CDa(a,1);WDa(a,0);return 3}function fJa(a){a=a|0;jHa(a,1,5);CDa(a,-10003);CDa(a,1);UDa(a);return 3}function gJa(a){a=a|0;var b=0,c=0;yDa(a,1);AEa(a,0)|0;if(!(NDa(a,1)|0))return 1;if((DDa(a,1)|0)==1){hEa(a,0,0);CDa(a,-1);aEa(a,1);mEa(a,-10003)}else{if(!(iEa(a,1)|0))b=6;else{fEa(a,-10003);c=NDa(a,-1)|0;yDa(a,-2);if(!c)b=6}if((b|0)==6)$Ga(a,1,518021)|0;iEa(a,1)|0}oEa(a,2)|0;return 1}function hJa(a){a=a|0;var b=0,c=0;b=wDa(a)|0;if((DDa(a,1)|0)==6){if(FDa(a,1)|0)c=3}else c=3;if((c|0)==3)$Ga(a,1,518073)|0;CDa(a,1);tDa(a,b,1);return 1}function iJa(a){a=a|0;var b=0;b=SDa(a,1)|0;if(!b)$Ga(a,1,518102)|0;b=jJa(a,b,(xDa(a)|0)+-1|0)|0;if((b|0)<0){aEa(a,0);ADa(a,-2);a=2;return a|0}else{aEa(a,1);ADa(a,~b);a=b+1|0;return a|0}return 0}function jJa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+128|0;a:do if((a|0)==(b|0))d=0;else{switch(vEa(b)|0){case 1:{d=1;break a}case 0:break;default:{d=3;break a}}if((HEa(b,0,e+20|0)|0)>0)d=2;else{d=(xDa(b)|0)==0;d=d?3:1}}while(0);if(!(sDa(b,c)|0))aHa(a,518121,e)|0;if((d|0)!=1){k[e+8>>2]=k[37968+(d<<2)>>2];_Da(a,518180,e+8|0)|0;b=-1;r=e;return b|0}tDa(a,b,c);uDa(a,b);if((bFa(b,c)|0|1|0)!=1){tDa(b,a,1);b=-1;r=e;return b|0}d=xDa(b)|0;if(!(sDa(a,d+1|0)|0))aHa(a,518207,e+16|0)|0;tDa(b,a,d);b=d;r=e;return b|0}function kJa(a){a=a|0;if(!(cEa(a)|0))return 1;UDa(a);return 1}function lJa(a){a=a|0;var b=0,c=0;c=r;r=r+112|0;b=SDa(a,1)|0;if(!b)$Ga(a,1,518102)|0;a:do if((b|0)==(a|0))b=0;else{switch(vEa(b)|0){case 1:{b=1;break a}case 0:break;default:{b=3;break a}}if((HEa(b,0,c)|0)>0)b=2;else{b=(xDa(b)|0)==0;b=b?3:1}}while(0);YDa(a,k[37968+(b<<2)>>2]|0);r=c;return 1}function mJa(a){a=a|0;var b=0,c=0;b=wDa(a)|0;if((DDa(a,1)|0)==6){if(FDa(a,1)|0)c=3}else c=3;if((c|0)==3)$Ga(a,1,518073)|0;CDa(a,1);tDa(a,b,1);$Da(a,1522,1);return 1}function nJa(a){a=a|0;var b=0;b=SDa(a,-10003)|0;b=jJa(a,b,xDa(a)|0)|0;if((b|0)>=0)return b|0;if(HDa(a,-1)|0){cHa(a,1);ADa(a,-2);zEa(a,2)}xEa(a)|0;return b|0}function oJa(a){a=a|0;return dFa(a,xDa(a)|0)|0}function pJa(a){a=a|0;rHa(a,518252,37984);return 1}function qJa(a){a=a|0;var b=0,c=0,d=0,e=0;e=r;r=r+256|0;b=k[37151]|0;Dpb(518258,11,1,b)|0;c=k[37180]|0;if(!(pob(e,250,c)|0)){r=e;return 0}while(1){if(!(Wmb(e,518270)|0)){d=7;break}if(!(FHa(a,e,Fnb(e)|0,518276)|0)){if(rEa(a,0,0,0)|0)d=5}else d=5;if((d|0)==5){d=0;Cpb(ODa(a,-1,0)|0,b)|0;Bpb(10,b)|0}yDa(a,0);Dpb(518258,11,1,b)|0;if(!(pob(e,250,c)|0)){d=7;break}}if((d|0)==7){r=e;return 0}return 0}function rJa(a){a=a|0;kHa(a,1);jEa(a,1);return 1}function sJa(a){a=a|0;var b=0,c=0,d=0,e=0;e=r;r=r+16|0;if((DDa(a,1)|0)==8)d=SDa(a,1)|0;else d=a;c=FEa(d)|0;b=EEa(d)|0;if((b|0)!=0&(b|0)!=218)XDa(a,518334,13);else{uJa(a);bEa(a,d);fEa(a,-2);zDa(a,-2)}if(!(c&1))b=0;else{i[e>>0]=99;b=1}if(c&2){i[e+b>>0]=114;b=b+1|0}if(c&4){i[e+b>>0]=108;b=b+1|0}i[e+b>>0]=0;YDa(a,e);WDa(a,GEa(d)|0);r=e;return 3}function tJa(a,b){a=a|0;b=b|0;bEa(a,518309);fEa(a,-1e4);bEa(a,a);fEa(a,-2);if((DDa(a,-1)|0)!=6)return;YDa(a,k[38104+(k[b>>2]<<2)>>2]|0);b=k[b+20>>2]|0;if((b|0)>-1)WDa(a,b);else UDa(a);qEa(a,2,0);return}function uJa(a){a=a|0;bEa(a,518309);fEa(a,-1e4);if((DDa(a,-1)|0)==5)return;yDa(a,-2);hEa(a,0,1);bEa(a,518309);CDa(a,-2);mEa(a,-1e4);return}function vJa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=r;r=r+112|0;if((DDa(a,1)|0)==8){d=SDa(a,1)|0;c=1}else{d=a;c=0}e=c|2;b=eHa(a,e,518356,0)|0;c=c+1|0;do if(!(GDa(a,c)|0)){if((DDa(a,c)|0)==6){k[f>>2]=b;_Da(a,518362,f)|0;b=ODa(a,-1,0)|0;CDa(a,c);tDa(a,d,1);break}a=$Ga(a,c,518366)|0;r=f;return a|0}else if(!(HEa(d,MDa(a,c)|0,f+4|0)|0)){UDa(a);a=1;r=f;return a|0}while(0);if(!(KEa(d,b,f+4|0)|0)){a=$Ga(a,e,518881)|0;r=f;return a|0}hEa(a,0,2);if(gob(b,83)|0){YDa(a,k[f+4+16>>2]|0);lEa(a,-2,521820);YDa(a,f+4+36|0);lEa(a,-2,518393);WDa(a,k[f+4+28>>2]|0);lEa(a,-2,518403);WDa(a,k[f+4+32>>2]|0);lEa(a,-2,518415);YDa(a,k[f+4+12>>2]|0);lEa(a,-2,518431)}if(gob(b,108)|0){WDa(a,k[f+4+20>>2]|0);lEa(a,-2,518436)}if(gob(b,117)|0){WDa(a,k[f+4+24>>2]|0);lEa(a,-2,518448)}if(gob(b,110)|0){YDa(a,k[f+4+4>>2]|0);lEa(a,-2,607671);YDa(a,k[f+4+8>>2]|0);lEa(a,-2,518453)}if(gob(b,76)|0){if((d|0)==(a|0)){CDa(a,-2);zDa(a,-3)}else tDa(d,a,1);lEa(a,-2,518462)}if(!(gob(b,102)|0)){a=1;r=f;return a|0}if((d|0)==(a|0)){CDa(a,-2);zDa(a,-3)}else tDa(d,a,1);lEa(a,-2,518474);a=1;r=f;return a|0}function wJa(a){a=a|0;var b=0,c=0,d=0,e=0;e=r;r=r+112|0;if((DDa(a,1)|0)==8){d=SDa(a,1)|0;c=1}else{d=a;c=0}b=c+1|0;if(!(HEa(d,nHa(a,b)|0,e)|0)){a=$Ga(a,b,518488)|0;r=e;return a|0}b=IEa(d,e,nHa(a,c|2)|0)|0;if(!b){UDa(a);a=1;r=e;return a|0}else{tDa(d,a,1);YDa(a,b);CDa(a,-2);a=2;r=e;return a|0}return 0}function xJa(a){a=a|0;CDa(a,-1e4);return 1}function yJa(a){a=a|0;kHa(a,1);if(iEa(a,1)|0)return 1;UDa(a);return 1}function zJa(a){a=a|0;var b=0;b=nHa(a,2)|0;jHa(a,1,6);if(FDa(a,1)|0){a=0;return a|0}b=BEa(a,1,b)|0;if(!b){a=0;return a|0}YDa(a,b);ADa(a,-2);a=2;return a|0}function AJa(a){a=a|0;var b=0;b=r;r=r+16|0;jHa(a,2,5);yDa(a,2);if(pEa(a,1)|0){r=b;return 1}aHa(a,518551,b)|0;r=b;return 1}function BJa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if((DDa(a,1)|0)==8){e=SDa(a,1)|0;b=1}else{e=a;b=0}f=b+1|0;if((DDa(a,f)|0)<1){yDa(a,f);b=0;c=0;d=0}else{c=fHa(a,b|2,0)|0;jHa(a,f,6);g=oHa(a,b+3|0,0)|0;d=(gob(c,99)|0)!=0&1;b=(gob(c,114)|0)==0;d=b?d:d|2;b=(gob(c,108)|0)==0;d=b?d:d|4;b=g;c=218;d=(g|0)>0?d|8:d}uJa(a);bEa(a,e);CDa(a,f);mEa(a,-3);yDa(a,-2);DEa(e,c,d,b)|0;return 0}function CJa(a){a=a|0;var b=0,c=0,d=0,e=0;e=r;r=r+112|0;if((DDa(a,1)|0)==8){b=SDa(a,1)|0;d=1}else{b=a;d=0}c=d+1|0;if(!(HEa(b,nHa(a,c)|0,e)|0)){d=$Ga(a,c,518488)|0;r=e;return d|0}else{c=d+3|0;kHa(a,c);yDa(a,c);tDa(a,b,1);YDa(a,JEa(b,e,nHa(a,d|2)|0)|0);d=1;r=e;return d|0}return 0}function DJa(a){a=a|0;switch(DDa(a,2)|0){case 0:case 5:break;default:$Ga(a,2,518633)|0}yDa(a,2);aEa(a,oEa(a,1)|0);return 1}function EJa(a){a=a|0;var b=0;kHa(a,3);b=nHa(a,2)|0;jHa(a,1,6);if(FDa(a,1)|0){a=0;return a|0}b=CEa(a,1,b)|0;if(!b){a=0;return a|0}YDa(a,b);ADa(a,-1);a=1;return a|0}function FJa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;g=r;r=r+144|0;if((DDa(a,1)|0)==8){e=SDa(a,1)|0;f=1}else{e=a;f=0}b=f|2;if(!(GDa(a,b)|0))b=(e|0)==(a|0)&1;else{b=MDa(a,b)|0;yDa(a,-2)}do if((xDa(a)|0)==(f|0))XDa(a,1279174,0);else if(!(HDa(a,f+1|0)|0)){r=g;return 1}else{XDa(a,518676,1);break}while(0);XDa(a,518678,16);c=1;a:while(1){d=b+11|0;b:do if((b|0)>11){while(1){if(!(HEa(e,b,g+40|0)|0))break a;if(!c){d=0;break b}if(!(HEa(e,d,g+40|0)|0))c=0;else break}XDa(a,518695,5);c=b;while(1){b=c+1|0;if(!(HEa(e,c+11|0,g+40|0)|0)){c=0;continue a}else c=b}}else if(!(HEa(e,b,g+40|0)|0))break a;else d=c;while(0);b=b+1|0;XDa(a,518701,2);KEa(e,518704,g+40|0)|0;k[g>>2]=g+40+36;_Da(a,518708,g)|0;c=k[g+40+20>>2]|0;if((c|0)>0){k[g+8>>2]=c;_Da(a,518712,g+8|0)|0}c:do if(!(i[k[g+40+8>>2]>>0]|0))switch(i[k[g+40+12>>2]>>0]|0){case 109:{_Da(a,518734,g+24|0)|0;break c}case 116:case 67:{XDa(a,518749,2);break c}default:{c=k[g+40+28>>2]|0;k[g+32>>2]=g+40+36;k[g+32+4>>2]=c;_Da(a,518752,g+32|0)|0;break c}}else{k[g+16>>2]=k[g+40+4>>2];_Da(a,518716,g+16|0)|0}while(0);zEa(a,(xDa(a)|0)-f|0);c=d}zEa(a,(xDa(a)|0)-f|0);r=g;return 1}function GJa(a){a=a|0;var b=0,c=0;gHa(a,518773)|0;CDa(a,-1);lEa(a,-2,520511);rHa(a,0,38124);hEa(a,0,1);$Da(a,1523,0);lEa(a,-2,518814);BDa(a,-10001);rHa(a,518997,38260);hEa(a,0,1);$Da(a,1524,0);lEa(a,-2,518814);c=k[37180]|0;b=AEa(a,4)|0;k[b>>2]=0;eEa(a,-1e4,518773);oEa(a,-2)|0;k[b>>2]=c;CDa(a,-1);nEa(a,-10001,1);CDa(a,-2);pEa(a,-2)|0;lEa(a,-3,519130);b=k[37209]|0;c=AEa(a,4)|0;k[c>>2]=0;eEa(a,-1e4,518773);oEa(a,-2)|0;k[c>>2]=b;CDa(a,-1);nEa(a,-10001,2);CDa(a,-2);pEa(a,-2)|0;lEa(a,-3,519136);c=k[37151]|0;b=AEa(a,4)|0;k[b>>2]=0;eEa(a,-1e4,518773);oEa(a,-2)|0;k[b>>2]=c;CDa(a,-2);pEa(a,-2)|0;lEa(a,-3,519143);yDa(a,-2);eEa(a,-1,519045);hEa(a,0,1);$Da(a,1525,0);lEa(a,-2,518814);pEa(a,-2)|0;yDa(a,-2);return 1}function HJa(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;if((DDa(a,1)|0)==-1)gEa(a,-10001,2);c=hHa(a,1,518773)|0;if(!(k[c>>2]|0))aHa(a,518785,b)|0;jEa(a,1);eEa(a,-1,518814);c=QDa(a,-1)|0;c=Gi[c&2047](a)|0;r=b;return c|0}function IJa(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+16|0;c=hHa(a,1,518773)|0;b=k[c>>2]|0;if(!b){aHa(a,518785,d)|0;b=k[c>>2]|0}c=(nob(b)|0)==0;b=_lb()|0;b=k[b>>2]|0;if(c){aEa(a,1);a=1;r=d;return a|0}else{UDa(a);c=Pmb(b)|0;k[d+8>>2]=c;_Da(a,593163,d+8|0)|0;WDa(a,b);a=3;r=d;return a|0}return 0}function JJa(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;c=hHa(a,1,518773)|0;if(!(k[c>>2]|0))aHa(a,518785,b)|0;CDa(a,1);aEa(a,0);$Da(a,1526,2);r=b;return 1}function KJa(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+16|0;b=RDa(a,-10003)|0;b=k[b>>2]|0;if(!b)aHa(a,518834,d)|0;c=LJa(a,b)|0;if(rob(b)|0){c=_lb()|0;c=Pmb(k[c>>2]|0)|0;k[d+8>>2]=c;a=aHa(a,593163,d+8|0)|0;r=d;return a|0}if(c|0){a=1;r=d;return a|0}if(!(NDa(a,-10004)|0)){a=0;r=d;return a|0}yDa(a,0);CDa(a,-10003);jEa(a,1);eEa(a,-1,518814);c=QDa(a,-1)|0;Gi[c&2047](a)|0;a=0;r=d;return a|0}function LJa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=r;r=r+1040|0;wHa(a,e);c=vHa(e)|0;a:do if(pob(c,1024,b)|0){while(1){d=Fnb(c)|0;if(d|0)if((i[c+(d+-1)>>0]|0)==10)break;k[e>>2]=(k[e>>2]|0)+d;c=vHa(e)|0;if(!(pob(c,1024,b)|0))break a}k[e>>2]=(k[e>>2]|0)+(d+-1);zHa(e);b=1;r=e;return b|0}while(0);zHa(e);b=(PDa(a,-1)|0)!=0&1;r=e;return b|0}function MJa(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+16|0;c=hHa(a,1,518773)|0;b=k[c>>2]|0;if(!b){aHa(a,518785,d)|0;b=k[c>>2]|0}a=NJa(a,b,2)|0;r=d;return a|0}function NJa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=r;r=r+32|0;d=xDa(a)|0;xpb(b);a:do if((d|0)==1){d=c+1|0;e=LJa(a,b)|0}else{iHa(a,d+19|0,518862);f=d+-2|0;d=c;b:while(1){c:do if((DDa(a,d)|0)==3){e=MDa(a,d)|0;if(!e){e=Ipb(b)|0;ypb(e,b)|0;XDa(a,0,0);e=(e|0)!=-1&1;break}else{e=OJa(a,b,e)|0;break}}else{e=ODa(a,d,0)|0;if(!e)g=10;else if((i[e>>0]|0)!=42)g=10;if((g|0)==10){g=0;$Ga(a,d,518881)|0}switch(i[e+1>>0]|0){case 110:{k[h+8>>2]=h;if((sob(b,518896,h+8|0)|0)==1){VDa(a,+p[h>>3]);e=1}else{UDa(a);e=0}break c}case 108:{e=LJa(a,b)|0;break c}case 97:{OJa(a,b,-1)|0;e=1;break c}default:break b}}while(0);d=d+1|0;if((e|0)!=0&(f|0)!=0)f=f+-1|0;else break a}a=$Ga(a,d,518900)|0;r=h;return a|0}while(0);if(rob(b)|0){c=_lb()|0;c=k[c>>2]|0;UDa(a);b=Pmb(c)|0;k[h+16>>2]=b;_Da(a,593163,h+16|0)|0;WDa(a,c);a=3;r=h;return a|0}if(!e){yDa(a,-2);UDa(a)}a=d-c|0;r=h;return a|0}function OJa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=r;r=r+1040|0;wHa(a,f);e=1024;while(1){d=vHa(f)|0;e=e>>>0>c>>>0?c:e;d=Epb(d,1,e,b)|0;k[f>>2]=(k[f>>2]|0)+d;if((c|0)==(d|0)){c=3;break}if((d|0)!=(e|0)){c=5;break}else c=c-d|0}if((c|0)==3){zHa(f);a=1;a=a&1;r=f;return a|0}else if((c|0)==5){zHa(f);a=(PDa(a,-1)|0)!=0;a=a&1;r=f;return a|0}return 0}function PJa(a){a=a|0;var b=0,c=0,d=0,e=0;d=r;r=r+16|0;c=hHa(a,1,518773)|0;b=k[c>>2]|0;if(!b){aHa(a,518785,d)|0;b=k[c>>2]|0}c=dHa(a,2,518920,38204)|0;e=oHa(a,3,0)|0;if(!(zob(b,e,k[38220+(c<<2)>>2]|0)|0)){WDa(a,Hpb(b)|0);e=1;r=d;return e|0}else{e=_lb()|0;e=k[e>>2]|0;UDa(a);c=Pmb(e)|0;k[d+8>>2]=c;_Da(a,593163,d+8|0)|0;WDa(a,e);e=3;r=d;return e|0}return 0}function QJa(a){a=a|0;var b=0,c=0,d=0,e=0;d=r;r=r+16|0;c=hHa(a,1,518773)|0;b=k[c>>2]|0;if(!b){aHa(a,518785,d)|0;b=k[c>>2]|0}e=dHa(a,2,0,38232)|0;c=oHa(a,3,1024)|0;c=(Opb(b,0,k[38248+(e<<2)>>2]|0,c)|0)==0;b=_lb()|0;b=k[b>>2]|0;if(c){aEa(a,1);e=1;r=d;return e|0}else{UDa(a);e=Pmb(b)|0;k[d+8>>2]=e;_Da(a,593163,d+8|0)|0;WDa(a,b);e=3;r=d;return e|0}return 0}function RJa(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+16|0;c=hHa(a,1,518773)|0;b=k[c>>2]|0;if(!b){aHa(a,518785,d)|0;b=k[c>>2]|0}a=SJa(a,b,2)|0;r=d;return a|0}function SJa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0.0;g=r;r=r+16|0;d=(xDa(a)|0)+-1|0;if(d|0){f=d;d=1;while(1){if((DDa(a,c)|0)==3){if(!d)d=0;else{h=+LDa(a,c);p[g>>3]=h;d=(Cob(b,518956,g)|0)>0}d=d&1}else{e=fHa(a,c,g+12|0)|0;if(!d)d=0;else{d=Dpb(e,1,k[g+12>>2]|0,b)|0;d=(d|0)==(k[g+12>>2]|0)}d=d&1}f=f+-1|0;if(!f)break;else c=c+1|0}c=_lb()|0;c=k[c>>2]|0;if(!d){UDa(a);b=Pmb(c)|0;k[g+8>>2]=b;_Da(a,593163,g+8|0)|0;WDa(a,c);a=3;r=g;return a|0}}aEa(a,1);a=1;r=g;return a|0}function TJa(a){a=a|0;var b=0;b=hHa(a,1,518773)|0;if(!(k[b>>2]|0))return 0;jEa(a,1);eEa(a,-1,518814);b=QDa(a,-1)|0;Gi[b&2047](a)|0;return 0}function UJa(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=hHa(a,1,518773)|0;b=k[b>>2]|0;if(!b){XDa(a,518973,13);r=c;return 1}else{k[c>>2]=b;_Da(a,518987,c)|0;r=c;return 1}return 0}function VJa(a){a=a|0;var b=0,c=0,d=0;c=r;r=r+16|0;b=hHa(a,1,518773)|0;d=(mob(k[b>>2]|0)|0)==0;k[b>>2]=0;b=_lb()|0;b=k[b>>2]|0;if(d){aEa(a,1);d=1;r=c;return d|0}else{UDa(a);d=Pmb(b)|0;k[c>>2]=d;_Da(a,593163,c)|0;WDa(a,b);d=3;r=c;return d|0}return 0}function WJa(a){a=a|0;var b=0,c=0,d=0;c=r;r=r+16|0;gEa(a,-10001,2);b=RDa(a,-1)|0;b=k[b>>2]|0;if(!b){k[c>>2]=519027;aHa(a,519e3,c)|0}d=(nob(b)|0)==0;b=_lb()|0;b=k[b>>2]|0;if(d){aEa(a,1);d=1;r=c;return d|0}else{UDa(a);d=Pmb(b)|0;k[c+8>>2]=d;_Da(a,593163,c+8|0)|0;WDa(a,b);d=3;r=c;return d|0}return 0}function XJa(a){a=a|0;YJa(a,1,524439);return 1}function YJa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=r;r=r+16|0;if((DDa(a,1)|0)<1){gEa(a,-10001,b);r=e;return}d=ODa(a,1,0)|0;if(!d){c=hHa(a,1,518773)|0;if(!(k[c>>2]|0))aHa(a,518785,e+8|0)|0;CDa(a,1)}else{f=AEa(a,4)|0;k[f>>2]=0;eEa(a,-1e4,518773);oEa(a,-2)|0;c=job(d,c)|0;k[f>>2]=c;if(!c){f=_lb()|0;f=Pmb(k[f>>2]|0)|0;k[e>>2]=d;k[e+4>>2]=f;_Da(a,519438,e)|0;$Ga(a,1,ODa(a,-1,0)|0)|0}}nEa(a,-10001,b);gEa(a,-10001,b);r=e;return}function ZJa(a){a=a|0;var b=0,c=0,d=0,e=0;c=r;r=r+16|0;if((DDa(a,1)|0)<1){gEa(a,-10001,1);b=hHa(a,1,518773)|0;if(!(k[b>>2]|0))aHa(a,518785,c)|0;CDa(a,1);aEa(a,0);$Da(a,1526,2);r=c;return 1}else{b=fHa(a,1,0)|0;e=AEa(a,4)|0;k[e>>2]=0;eEa(a,-1e4,518773);oEa(a,-2)|0;d=job(b,524439)|0;k[e>>2]=d;if(!d){e=_lb()|0;e=Pmb(k[e>>2]|0)|0;k[c+8>>2]=b;k[c+8+4>>2]=e;_Da(a,519438,c+8|0)|0;$Ga(a,1,ODa(a,-1,0)|0)|0}CDa(a,xDa(a)|0);aEa(a,1);$Da(a,1526,2);r=c;return 1}return 0}function _Ja(a){a=a|0;var b=0,c=0,d=0,e=0;e=r;r=r+16|0;b=fHa(a,1,0)|0;d=eHa(a,2,524439,0)|0;c=AEa(a,4)|0;k[c>>2]=0;eEa(a,-1e4,518773);oEa(a,-2)|0;d=job(b,d)|0;k[c>>2]=d;if(d|0){a=1;r=e;return a|0}c=_lb()|0;c=k[c>>2]|0;UDa(a);d=Pmb(c)|0;if(!b){k[e+8>>2]=d;_Da(a,593163,e+8|0)|0}else{k[e>>2]=b;k[e+4>>2]=d;_Da(a,519438,e)|0}WDa(a,c);a=3;r=e;return a|0}function $Ja(a){a=a|0;YJa(a,2,609653);return 1}function aKa(a){a=a|0;var b=0,c=0,d=0,e=0;e=r;r=r+32|0;b=fHa(a,1,0)|0;eHa(a,2,524439,0)|0;c=AEa(a,4)|0;k[c>>2]=0;eEa(a,-1e4,518773);oEa(a,-2)|0;aHa(a,519051,e)|0;k[c>>2]=0;c=_lb()|0;c=k[c>>2]|0;UDa(a);d=Pmb(c)|0;if(!b){k[e+16>>2]=d;_Da(a,593163,e+16|0)|0;WDa(a,c);r=e;return 3}else{k[e+8>>2]=b;k[e+8+4>>2]=d;_Da(a,519438,e+8|0)|0;WDa(a,c);r=e;return 3}return 0}function bKa(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;gEa(a,-10001,1);b=RDa(a,-1)|0;b=k[b>>2]|0;if(!b){k[c>>2]=519034;aHa(a,519e3,c)|0}a=NJa(a,b,1)|0;r=c;return a|0}function cKa(a){a=a|0;var b=0,c=0,d=0;b=r;r=r+16|0;d=AEa(a,4)|0;k[d>>2]=0;eEa(a,-1e4,518773);oEa(a,-2)|0;c=Ppb()|0;k[d>>2]=c;if(c|0){d=1;r=b;return d|0}d=_lb()|0;d=k[d>>2]|0;UDa(a);c=Pmb(d)|0;k[b>>2]=c;_Da(a,593163,b)|0;WDa(a,d);d=3;r=b;return d|0}function dKa(a){a=a|0;var b=0;kHa(a,1);b=RDa(a,1)|0;eEa(a,-1e4,518773);if(b|0)if(iEa(a,1)|0)if(JDa(a,-2,-1)|0)if(!(k[b>>2]|0)){XDa(a,519086,11);return 1}else{XDa(a,519098,4);return 1}UDa(a);return 1}function eKa(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;gEa(a,-10001,2);b=RDa(a,-1)|0;b=k[b>>2]|0;if(!b){k[c>>2]=519027;aHa(a,519e3,c)|0}a=SJa(a,b,1)|0;r=c;return a|0}function fKa(a){a=a|0;UDa(a);XDa(a,519103,26);return 2}function gKa(a){a=a|0;var b=0,c=0,d=0;b=r;r=r+16|0;c=hHa(a,1,518773)|0;k[c>>2]=0;c=_lb()|0;c=k[c>>2]|0;UDa(a);d=Pmb(c)|0;k[b>>2]=d;_Da(a,593163,b)|0;WDa(a,c);r=b;return 3}function hKa(a){a=a|0;rHa(a,519150,38356);VDa(a,3.141592653589793);lEa(a,-2,519337);VDa(a,B);lEa(a,-2,519340);eEa(a,-1,519208);lEa(a,-2,519345);return 1}function iKa(a){a=a|0;VDa(a,+W(+(+lHa(a,1))));return 1}function jKa(a){a=a|0;VDa(a,+aa(+(+lHa(a,1))));return 1}function kKa(a){a=a|0;VDa(a,+ba(+(+lHa(a,1))));return 1}function lKa(a){a=a|0;var b=0.0;b=+lHa(a,1);VDa(a,+da(+b,+(+lHa(a,2))));return 1}function mKa(a){a=a|0;VDa(a,+ca(+(+lHa(a,1))));return 1}function nKa(a){a=a|0;VDa(a,+ga(+(+lHa(a,1))));return 1}function oKa(a){a=a|0;VDa(a,+ymb(+lHa(a,1)));return 1}function pKa(a){a=a|0;VDa(a,+Z(+(+lHa(a,1))));return 1}function qKa(a){a=a|0;VDa(a,+lHa(a,1)/.017453292519943295);return 1}function rKa(a){a=a|0;VDa(a,+ea(+(+lHa(a,1))));return 1}function sKa(a){a=a|0;VDa(a,+V(+(+lHa(a,1))));return 1}function tKa(a){a=a|0;var b=0.0;b=+lHa(a,1);VDa(a,+Anb(b,+lHa(a,2)));return 1}function uKa(a){a=a|0;var b=0;b=r;r=r+16|0;VDa(a,+Umb(+lHa(a,1),b));WDa(a,k[b>>2]|0);r=b;return 2}function vKa(a){a=a|0;var b=0.0;b=+lHa(a,1);VDa(a,+Vnb(b,nHa(a,2)|0));return 1}function wKa(a){a=a|0;VDa(a,+Ynb(+lHa(a,1)));return 1}function xKa(a){a=a|0;VDa(a,+fa(+(+lHa(a,1))));return 1}function yKa(a){a=a|0;var b=0.0,c=0,d=0,e=0.0;d=xDa(a)|0;b=+lHa(a,1);if((d|0)<2){VDa(a,b);return 1}else c=2;while(1){e=+lHa(a,c);b=e>b?e:b;if((c|0)==(d|0))break;else c=c+1|0}VDa(a,b);return 1}function zKa(a){a=a|0;var b=0.0,c=0,d=0,e=0.0;d=xDa(a)|0;b=+lHa(a,1);if((d|0)<2){VDa(a,b);return 1}else c=2;while(1){e=+lHa(a,c);b=e>3]);VDa(a,c);r=b;return 2}function BKa(a){a=a|0;var b=0.0;b=+lHa(a,1);VDa(a,+Y(+b,+(+lHa(a,2))));return 1}function CKa(a){a=a|0;VDa(a,+lHa(a,1)*.017453292519943295);return 1}function DKa(a){a=a|0;var b=0,c=0,d=0.0,e=0;e=r;r=r+16|0;d=+((ppb()|0)%2147483647|0|0)/2147483647.0;switch(xDa(a)|0){case 0:{VDa(a,d);a=1;r=e;return a|0}case 1:{b=nHa(a,1)|0;if((b|0)<=0)$Ga(a,1,519259)|0;VDa(a,+V(+(d*+(b|0)))+1.0);a=1;r=e;return a|0}case 2:{b=nHa(a,1)|0;c=nHa(a,2)|0;if((c|0)<(b|0))$Ga(a,2,519259)|0;VDa(a,+(b|0)+ +V(+(d*+(1-b+c|0))));a=1;r=e;return a|0}default:{a=aHa(a,519277,e)|0;r=e;return a|0}}return 0}function EKa(a){a=a|0;opb(nHa(a,1)|0);return 0}function FKa(a){a=a|0;VDa(a,+Bmb(+lHa(a,1)));return 1}function GKa(a){a=a|0;VDa(a,+_(+(+lHa(a,1))));return 1}function HKa(a){a=a|0;VDa(a,+X(+(+lHa(a,1))));return 1}function IKa(a){a=a|0;VDa(a,+_nb(+lHa(a,1)));return 1}function JKa(a){a=a|0;VDa(a,+$(+(+lHa(a,1))));return 1}function KKa(a){a=a|0;rHa(a,519349,38588);return 1}function LKa(a){a=a|0;VDa(a,+($c()|0)/1.0e6);return 1}function MKa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;g=r;r=r+1248|0;b=eHa(a,1,519363,0)|0;if((DDa(a,2)|0)<1)c=th(0)|0;else c=~~+lHa(a,2);k[g+1036>>2]=c;if((i[b>>0]|0)==33){b=b+1|0;e=_e(g+1036|0)|0}else e=uc(g+1036|0)|0;if(!e){UDa(a);r=g;return 1}if(!(Wmb(b,519366)|0)){hEa(a,0,9);WDa(a,k[e>>2]|0);lEa(a,-2,519369);WDa(a,k[e+4>>2]|0);lEa(a,-2,522729);WDa(a,k[e+8>>2]|0);lEa(a,-2,519373);WDa(a,k[e+12>>2]|0);lEa(a,-2,519378);WDa(a,(k[e+16>>2]|0)+1|0);lEa(a,-2,519382);WDa(a,(k[e+20>>2]|0)+1900|0);lEa(a,-2,519388);WDa(a,(k[e+24>>2]|0)+1|0);lEa(a,-2,519393);WDa(a,(k[e+28>>2]|0)+1|0);lEa(a,-2,519398);b=k[e+32>>2]|0;if((b|0)<0){r=g;return 1}aEa(a,b);lEa(a,-2,519403);r=g;return 1}i[g+1240>>0]=37;i[g+1240+2>>0]=0;wHa(a,g);d=b;a:while(1){c=i[d>>0]|0;switch(c<<24>>24){case 0:break a;case 37:{b=d+1|0;a=i[b>>0]|0;if(!(a<<24>>24))f=15;else{i[g+1240+1>>0]=a;xHa(g,g+1040|0,Sd(g+1040|0,200,g+1240|0,e|0)|0)}break}default:f=15}if((f|0)==15){f=0;b=k[g>>2]|0;if(b>>>0>=(g+1036|0)>>>0){vHa(g)|0;b=k[g>>2]|0;c=i[d>>0]|0}k[g>>2]=b+1;i[b>>0]=c;b=d}d=b+1|0}zHa(g);r=g;return 1}function NKa(a){a=a|0;var b=0;b=~~+lHa(a,1);VDa(a,+fe(b|0,~~+mHa(a,2,0.0)|0));return 1}function OKa(a){a=a|0;WDa(a,ci(eHa(a,1,0,0)|0)|0);return 1}function PKa(a){a=a|0;vh(oHa(a,1,0)|0);return 0}function QKa(a){a=a|0;YDa(a,If(fHa(a,1,0)|0)|0);return 1}function RKa(a){a=a|0;var b=0,c=0,d=0,e=0;d=r;r=r+16|0;b=fHa(a,1,0)|0;e=(Mpb(b)|0)==0;c=_lb()|0;c=k[c>>2]|0;if(e){aEa(a,1);e=1;r=d;return e|0}else{UDa(a);e=Pmb(c)|0;k[d>>2]=b;k[d+4>>2]=e;_Da(a,519438,d)|0;WDa(a,c);e=3;r=d;return e|0}return 0}function SKa(a){a=a|0;var b=0,c=0,d=0,e=0;d=r;r=r+16|0;b=fHa(a,1,0)|0;e=(Npb(b,fHa(a,2,0)|0)|0)==0;c=_lb()|0;c=k[c>>2]|0;if(e){aEa(a,1);e=1;r=d;return e|0}else{UDa(a);e=Pmb(c)|0;k[d>>2]=b;k[d+4>>2]=e;_Da(a,519438,d)|0;WDa(a,c);e=3;r=d;return e|0}return 0}function TKa(a){a=a|0;var b=0,c=0;b=eHa(a,1,0,0)|0;c=38712+((dHa(a,2,525166,38684)|0)<<2)|0;YDa(a,Mnb(k[c>>2]|0,b)|0);return 1}function UKa(a){a=a|0;var b=0,c=0;c=r;r=r+64|0;if((DDa(a,1)|0)<1)b=th(0)|0;else{jHa(a,1,5);yDa(a,1);eEa(a,-1,519369);if(!(GDa(a,-1)|0))b=0;else b=MDa(a,-1)|0;yDa(a,-2);k[c+20>>2]=b;eEa(a,-1,522729);if(!(GDa(a,-1)|0))b=0;else b=MDa(a,-1)|0;yDa(a,-2);k[c+20+4>>2]=b;eEa(a,-1,519373);if(!(GDa(a,-1)|0))b=12;else b=MDa(a,-1)|0;yDa(a,-2);k[c+20+8>>2]=b;eEa(a,-1,519378);if(!(GDa(a,-1)|0)){k[c>>2]=519378;b=aHa(a,519498,c)|0}else{b=MDa(a,-1)|0;yDa(a,-2)}k[c+20+12>>2]=b;eEa(a,-1,519382);if(!(GDa(a,-1)|0)){k[c+8>>2]=519382;b=aHa(a,519498,c+8|0)|0}else{b=MDa(a,-1)|0;yDa(a,-2)}k[c+20+16>>2]=b+-1;eEa(a,-1,519388);if(!(GDa(a,-1)|0)){k[c+16>>2]=519388;b=aHa(a,519498,c+16|0)|0}else{b=MDa(a,-1)|0;yDa(a,-2)}k[c+20+20>>2]=b+-1900;eEa(a,-1,519403);if(!(DDa(a,-1)|0))b=-1;else b=NDa(a,-1)|0;yDa(a,-2);k[c+20+32>>2]=b;b=wd(c+20|0)|0}if((b|0)==-1){UDa(a);r=c;return 1}else{VDa(a,+(b|0));r=c;return 1}return 0}function VKa(a){a=a|0;var b=0;b=r;r=r+32|0;if(!(Qpb(b+4|0)|0)){a=aHa(a,519539,b)|0;r=b;return a|0}else{YDa(a,b+4|0);a=1;r=b;return a|0}return 0}function WKa(a){a=a|0;rHa(a,519576,38736);return 1}function XKa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;e=r;r=r+1056|0;c=eHa(a,2,1279174,e+16|0)|0;jHa(a,1,5);b=oHa(a,3,1)|0;if((DDa(a,4)|0)<1)d=PDa(a,1)|0;else d=nHa(a,4)|0;wHa(a,e+20|0);if((b|0)<(d|0))do{gEa(a,1,b);if(!(HDa(a,-1)|0)){f=EDa(a,DDa(a,-1)|0)|0;k[e>>2]=f;k[e+4>>2]=b;aHa(a,519589,e)|0}AHa(e+20|0);xHa(e+20|0,c,k[e+16>>2]|0);b=b+1|0}while((b|0)!=(d|0));else if((b|0)!=(d|0)){zHa(e+20|0);r=e;return 1}gEa(a,1,d);if(!(HDa(a,-1)|0)){f=EDa(a,DDa(a,-1)|0)|0;k[e+8>>2]=f;k[e+8+4>>2]=d;aHa(a,519589,e+8|0)|0}AHa(e+20|0);zHa(e+20|0);r=e;return 1}function YKa(a){a=a|0;var b=0;jHa(a,1,5);jHa(a,2,6);UDa(a);if(!(yEa(a,1)|0)){b=0;return b|0}while(1){CDa(a,2);CDa(a,-3);CDa(a,-3);qEa(a,2,1);if(DDa(a,-1)|0){a=1;b=4;break}yDa(a,-3);if(!(yEa(a,1)|0)){a=0;b=4;break}}if((b|0)==4)return a|0;return 0}function ZKa(a){a=a|0;var b=0,c=0;jHa(a,1,5);b=PDa(a,1)|0;jHa(a,2,6);if((b|0)<1){c=0;return c|0}else c=1;while(1){CDa(a,2);WDa(a,c);gEa(a,1,c);qEa(a,2,1);if(DDa(a,-1)|0){b=1;a=4;break}yDa(a,-2);if((c|0)<(b|0))c=c+1|0;else{b=0;a=4;break}}if((a|0)==4)return b|0;return 0}function _Ka(a){a=a|0;jHa(a,1,5);WDa(a,PDa(a,1)|0);return 1}function $Ka(a){a=a|0;var b=0.0,c=0.0;jHa(a,1,5);UDa(a);b=0.0;a:while(1){do{if(!(yEa(a,1)|0))break a;yDa(a,-2)}while((DDa(a,-1)|0)!=3);c=+LDa(a,-1);b=c>b?c:b}VDa(a,b);return 1}function aLa(a){a=a|0;var b=0,c=0,d=0,e=0;d=r;r=r+16|0;jHa(a,1,5);b=(PDa(a,1)|0)+1|0;switch(xDa(a)|0){case 2:break;case 3:{c=nHa(a,2)|0;b=(c|0)>(b|0)?c:b;if((b|0)>(c|0)){do{e=b;b=b+-1|0;gEa(a,1,b);nEa(a,1,e)}while((b|0)>(c|0));b=c}else b=c;break}default:{e=aHa(a,519676,d)|0;r=d;return e|0}}nEa(a,1,b);e=0;r=d;return e|0}function bLa(a){a=a|0;var b=0,c=0,d=0;jHa(a,1,5);c=PDa(a,1)|0;b=oHa(a,2,c)|0;if((b|0)<1|(b|0)>(c|0)){a=0;return a|0}gEa(a,1,b);if((b|0)<(c|0))do{d=b;b=b+1|0;gEa(a,1,b);nEa(a,1,d)}while((b|0)!=(c|0));UDa(a);nEa(a,1,c);d=1;return d|0}function cLa(a){a=a|0;var b=0;b=r;r=r+16|0;jHa(a,1,5);aHa(a,519726,b)|0;CDa(a,1);r=b;return 1}function dLa(a){a=a|0;var b=0;jHa(a,1,5);b=PDa(a,1)|0;iHa(a,40,1279174);if((DDa(a,2)|0)>=1)jHa(a,2,6);yDa(a,2);eLa(a,1,b);return 0}function eLa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=r;r=r+16|0;if((c|0)<=(b|0)){r=j;return}while(1){gEa(a,1,b);gEa(a,1,c);if(!(fLa(a,-1,-2)|0))yDa(a,-3);else{nEa(a,1,b);nEa(a,1,c)}d=c-b|0;if((d|0)==1){c=24;break}e=(c+b|0)/2|0;gEa(a,1,e);gEa(a,1,b);do if(!(fLa(a,-2,-1)|0)){yDa(a,-2);gEa(a,1,c);if(!(fLa(a,-1,-2)|0)){yDa(a,-3);break}else{nEa(a,1,e);nEa(a,1,c);break}}else{nEa(a,1,e);nEa(a,1,b)}while(0);if((d|0)==2){c=24;break}gEa(a,1,e);CDa(a,-1);i=c+-1|0;gEa(a,1,i);nEa(a,1,e);nEa(a,1,i);g=b;h=i;while(1){d=g+1|0;gEa(a,1,d);if(!(fLa(a,-1,-2)|0)){e=d;d=g}else{e=g;while(1){if((c|0)<=(e|0))aHa(a,519750,j)|0;yDa(a,-2);e=d+1|0;gEa(a,1,e);if(!(fLa(a,-1,-2)|0))break;else{g=d;d=e;e=g}}}f=h+-1|0;gEa(a,1,f);if(!(fLa(a,-3,-1)|0))g=h;else{g=f;f=h;while(1){if((f|0)<=(b|0))aHa(a,519750,j+8|0)|0;yDa(a,-2);f=g+-1|0;gEa(a,1,f);if(!(fLa(a,-3,-1)|0))break;else{h=g;g=f;f=h}}}if((g|0)<=(e|0))break;nEa(a,1,e);nEa(a,1,f);g=e;h=f}yDa(a,-4);gEa(a,1,i);gEa(a,1,e);nEa(a,1,i);nEa(a,1,e);h=(e-b|0)<(c-e|0);g=b;b=h?d+2|0:b;i=c;c=h?c:d;eLa(a,h?g:d+2|0,h?d:i);if((c|0)<=(b|0)){c=24;break}}if((c|0)==24){r=j;return}}function fLa(a,b,c){a=a|0;b=b|0;c=c|0;if(!(DDa(a,2)|0)){c=KDa(a,b,c)|0;return c|0}else{CDa(a,2);CDa(a,b+-1|0);CDa(a,c+-2|0);qEa(a,2,1);c=NDa(a,-1)|0;yDa(a,-2);return c|0}return 0}function gLa(a){a=a|0;rHa(a,519785,38816);eEa(a,-1,520279);lEa(a,-2,520227);hEa(a,0,1);XDa(a,1279174,0);CDa(a,-2);oEa(a,-2)|0;yDa(a,-2);CDa(a,-2);lEa(a,-2,520511);yDa(a,-2);return 1}function hLa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;f=r;r=r+16|0;c=fHa(a,1,f+4|0)|0;b=oHa(a,2,1)|0;b=((b|0)<0?(k[f+4>>2]|0)+1|0:0)+b|0;g=(b|0)<0?0:b;e=oHa(a,3,g)|0;d=k[f+4>>2]|0;e=((e|0)<0?d+1|0:0)+e|0;e=(e|0)<0?0:e;b=(g|0)<1?1:b;e=e>>>0>d>>>0?d:e;if((e|0)<(b|0)){g=0;r=f;return g|0}if((e|0)==2147483647)aHa(a,519797,f)|0;iHa(a,e-b+1|0,519797);if((e-b|0)<0){g=e-b+1|0;r=f;return g|0}d=0;while(1){WDa(a,l[c+(b+-1+d)>>0]|0);if((d|0)<(e-b|0))d=d+1|0;else{b=e-b+1|0;break}}r=f;return b|0}function iLa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=r;r=r+1040|0;c=xDa(a)|0;wHa(a,f);if((c|0)<1){zHa(f);r=f;return 1}e=1;while(1){d=nHa(a,e)|0;if((d&255|0)!=(d|0))$Ga(a,e,519824)|0;b=k[f>>2]|0;if(b>>>0>=(f+1036|0)>>>0){vHa(f)|0;b=k[f>>2]|0}k[f>>2]=b+1;i[b>>0]=d;if((e|0)==(c|0))break;else e=e+1|0}zHa(f);r=f;return 1}function jLa(a){a=a|0;var b=0;b=r;r=r+1040|0;jHa(a,1,6);yDa(a,1);wHa(a,b+4|0);if(!(uEa(a,82,b+4|0)|0)){zHa(b+4|0);r=b;return 1}aHa(a,519843,b)|0;zHa(b+4|0);r=b;return 1}function kLa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;xHa(d,b,c);return 0}function lLa(a){a=a|0;return mLa(a,1)|0}function mLa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0;n=r;r=r+288|0;m=fHa(a,1,n+276|0)|0;j=fHa(a,2,n+272|0)|0;d=oHa(a,3,1)|0;c=k[n+276>>2]|0;d=((d|0)<0?c+1|0:0)+d|0;d=(d|0)<0?0:d;d=(d|0)<1?0:(d+-1|0)>>>0>c>>>0?c:d+-1|0;a:do if(b|0){if(!(NDa(a,4)|0))if($pb(j,519878)|0){c=k[n+276>>2]|0;l=14;break}c=(k[n+276>>2]|0)-d|0;g=k[n+272>>2]|0;b:do if(!g)if(!(m+d|0))break a;else c=m+d|0;else{if(g>>>0>c>>>0)break a;if((c|0)==(g+-1|0))break a;h=i[j>>0]|0;f=c-(g+-1)|0;b=m+d|0;while(1){c=Cmb(b,h,f)|0;if(!c)break a;d=b;b=c+1|0;if(!(Emb(b,j+1|0,g+-1|0)|0))break b;e=b;c=d+f|0;if((c|0)==(e|0))break a;else f=c-e|0}}while(0);m=c-m|0;WDa(a,m+1|0);WDa(a,m+(k[n+272>>2]|0)|0);a=2;r=n;return a|0}else l=14;while(0);do if((l|0)==14){h=(i[j>>0]|0)==94;e=h?j+1|0:j;k[n+8>>2]=a;k[n>>2]=m;k[n+4>>2]=m+c;k[n+12>>2]=0;c=nLa(n,m+d|0,e)|0;c:do if(h)if(!c)l=25;else{f=c;e=m+d|0}else if(!c){c=m+d|0;while(1){if(c>>>0>=(k[n+4>>2]|0)>>>0){l=25;break c}c=c+1|0;k[n+12>>2]=0;d=nLa(n,c,e)|0;if(d){f=d;e=c;break}}}else{f=c;e=m+d|0}while(0);if((l|0)==25)break;if(b|0){WDa(a,1-m+e|0);WDa(a,f-m|0);c=k[n+12>>2]|0;iHa(k[n+8>>2]|0,c,519889);if((c|0)>0){d=0;do{qLa(n,d,0,0);d=d+1|0}while((d|0)!=(c|0))}c=c+2|0}else{c=k[n+12>>2]|0;c=(e|0)!=0&(c|0)==0?1:c;iHa(k[n+8>>2]|0,c,519889);if((c|0)>0){d=0;do{qLa(n,d,e,f);d=d+1|0}while((d|0)!=(c|0))}}a=c;r=n;return a|0}while(0);UDa(a);a=1;r=n;return a|0}function nLa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0;X=r;r=r+80|0;a:while(1){z=b+1|0;w=b+-1|0;y=c;b:while(1){f=i[y>>0]|0;c:do switch(f<<24>>24|0){case 40:{K=b;L=y;f=4;break a}case 41:{N=b;O=y;f=13;break a}case 0:{e=b;f=125;break a}case 37:{f=y+1|0;I=i[f>>0]|0;switch(I<<24>>24|0){case 98:{E=y;f=20;break b}case 102:break;default:{if(((I&255)+-48|0)>>>0<10){F=y;f=67;break b}if(!(i[f>>0]|0))aHa(k[a+8>>2]|0,519985,X+64|0)|0;x=y+2|0;j=f;break c}}q=y+2|0;if((i[q>>0]|0)==91)f=91;else{aHa(k[a+8>>2]|0,519950,X+32|0)|0;f=i[q>>0]|0}s=y+3|0;switch(f<<24>>24|0){case 37:{if(!(i[s>>0]|0))aHa(k[a+8>>2]|0,519985,X+40|0)|0;u=y+4|0;break}case 91:{g=(i[s>>0]|0)==94?y+4|0:s;f=g;g=i[g>>0]|0;do{if(!(g<<24>>24)){aHa(k[a+8>>2]|0,520020,X+48|0)|0;g=i[f>>0]|0}h=f+1|0;if(g<<24>>24==37)f=(i[h>>0]|0)==0?h:f+2|0;else f=h;g=i[f>>0]|0}while(g<<24>>24!=93);u=f+1|0;break}default:u=s}if((b|0)==(k[a>>2]|0))f=0;else f=i[w>>0]|0;o=f&255;t=u+-1|0;p=(i[s>>0]|0)==94;g=p?s:q;d:do if((g+1|0)>>>0>>0){n=f&255;f=g;m=g+1|0;while(1){j=i[m>>0]|0;g=f+2|0;h=i[g>>0]|0;do if(j<<24>>24==37)if(!(oLa(o,h&255)|0))f=g;else{f=p&1^1;break d}else{if(h<<24>>24==45){f=f+3|0;if(f>>>0>>0){if((j&255)>>>0>o>>>0)break;if((l[f>>0]|0)>>>0>>0)break;else{f=p&1^1;break d}}}if(j<<24>>24==n<<24>>24){f=p&1^1;break d}else f=m}while(0);m=f+1|0;if(m>>>0>=t>>>0){f=p&1;break}}}else f=p&1;while(0);if(f|0){e=0;f=125;break a}n=i[b>>0]|0;o=(i[s>>0]|0)==94;g=o?s:q;e:do if((g+1|0)>>>0>>0){f=g;m=g+1|0;while(1){j=i[m>>0]|0;g=f+2|0;h=i[g>>0]|0;do if(j<<24>>24==37)if(!(oLa(n&255,h&255)|0))f=g;else{f=o&1^1;break e}else{if(h<<24>>24==45){f=f+3|0;if(f>>>0>>0){if((j&255)>(n&255))break;if((l[f>>0]|0)<(n&255))break;else{f=o&1^1;break e}}}if(j<<24>>24==n<<24>>24){f=o&1^1;break e}else f=m}while(0);m=f+1|0;if(m>>>0>=t>>>0){f=o&1;break}}}else f=o&1;while(0);if(!f){e=0;f=125;break a}else{y=u;continue b}}case 36:{f=y+1|0;if(!(i[f>>0]|0)){C=b;f=75;break a}else{x=f;j=f}break}default:{j=y+1|0;if(f<<24>>24==91){g=(i[j>>0]|0)==94?y+2|0:j;f=g;g=i[g>>0]|0;do{if(!(g<<24>>24)){aHa(k[a+8>>2]|0,520020,X+72|0)|0;g=i[f>>0]|0}h=f+1|0;if(g<<24>>24==37)f=(i[h>>0]|0)==0?h:f+2|0;else f=h;g=i[f>>0]|0}while(g<<24>>24!=93);x=f+1|0}else x=j}}while(0);if(b>>>0<(k[a+4>>2]|0)>>>0){q=i[b>>0]|0;f=i[y>>0]|0;f:do switch(f<<24>>24|0){case 46:{f=1;break}case 37:{f=oLa(q&255,l[j>>0]|0)|0;break}case 91:{o=x+-1|0;p=(i[j>>0]|0)==94;g=p?j:y;if((g+1|0)>>>0>>0){f=g;n=g+1|0;while(1){m=i[n>>0]|0;g=f+2|0;h=i[g>>0]|0;do if(m<<24>>24==37)if(!(oLa(q&255,h&255)|0))f=g;else{f=p&1^1;break f}else{if(h<<24>>24==45){f=f+3|0;if(f>>>0>>0){if((m&255)>(q&255))break;if((l[f>>0]|0)<(q&255))break;else{f=p&1^1;break f}}}if(m<<24>>24==q<<24>>24){f=p&1^1;break f}else f=n}while(0);n=f+1|0;if(n>>>0>=o>>>0){f=p&1;break}}}else f=p&1;break}default:f=f<<24>>24==q<<24>>24&1}while(0);v=(f|0)!=0}else v=0;switch(i[x>>0]|0){case 42:{B=x;D=b;G=y;f=105;break a}case 43:{f=106;break a}case 45:{R=x;d=b;V=y;W=j;f=102;break a}case 63:break;default:{f=124;break b}}f=x+1|0;if(!v){y=f;continue}g=nLa(a,z,f)|0;if(!g)y=f;else{e=g;f=125;break a}}if((f|0)==20){f=0;c=i[E+2>>0]|0;if(!(c<<24>>24))f=22;else if(!(i[E+3>>0]|0))f=22;else J=c;if((f|0)==22){aHa(k[a+8>>2]|0,519931,X+24|0)|0;J=i[E+2>>0]|0}if((i[b>>0]|0)!=J<<24>>24){e=0;f=125;break}h=i[E+3>>0]|0;j=k[a+4>>2]|0;if(z>>>0>>0){g=z;c=1}else{e=0;f=125;break}while(1){f=i[g>>0]|0;if(f<<24>>24==h<<24>>24){c=c+-1|0;if(!c)break}else c=(f<<24>>24==J<<24>>24&1)+c|0;b=g+1|0;if(b>>>0>>0){w=g;g=b;b=w}else{e=0;f=125;break a}}b=b+2|0;c=E+4|0;continue}else if((f|0)==67){f=0;if((I&255)<49)f=70;else if(((I&255)+-49|0)<(k[a+12>>2]|0)){c=k[a+16+((I&255)+-49<<3)+4>>2]|0;if((c|0)==-1)f=70;else{A=(I&255)+-49|0;H=c}}else f=70;if((f|0)==70){H=aHa(k[a+8>>2]|0,520052,X+56|0)|0;A=H;H=k[a+16+(H<<3)+4>>2]|0}if(((k[a+4>>2]|0)-b|0)>>>0>>0){e=0;f=125;break}c=b+H|0;if((c|0)==0|(Emb(k[a+16+(A<<3)>>2]|0,b,H)|0)!=0){e=0;f=125;break}b=c;c=F+2|0;continue}else if((f|0)==124)if(v){b=z;c=x;continue}else{e=0;f=125;break}}if((f|0)==4)if((i[L+1>>0]|0)==41){d=k[a+12>>2]|0;if((d|0)>31)aHa(k[a+8>>2]|0,519889,X)|0;k[a+16+(d<<3)>>2]=K;k[a+16+(d<<3)+4>>2]=-2;k[a+12>>2]=d+1;d=nLa(a,K,L+2|0)|0;if(d|0){a=d;r=X;return a|0}k[a+12>>2]=(k[a+12>>2]|0)+-1;a=0;r=X;return a|0}else{d=k[a+12>>2]|0;if((d|0)>31)aHa(k[a+8>>2]|0,519889,X+8|0)|0;k[a+16+(d<<3)>>2]=K;k[a+16+(d<<3)+4>>2]=-1;k[a+12>>2]=d+1;d=nLa(a,K,L+1|0)|0;if(d|0){a=d;r=X;return a|0}k[a+12>>2]=(k[a+12>>2]|0)+-1;a=0;r=X;return a|0}else if((f|0)==13){e=k[a+12>>2]|0;while(1){d=e+-1|0;if((e|0)<=0){f=16;break}if((k[a+16+(d<<3)+4>>2]|0)==-1){M=d;break}else e=d}if((f|0)==16)M=aHa(k[a+8>>2]|0,519907,X+16|0)|0;e=a+16+(M<<3)+4|0;k[e>>2]=N-(k[a+16+(M<<3)>>2]|0);d=nLa(a,N,O+1|0)|0;if(d|0){a=d;r=X;return a|0}k[e>>2]=-1;a=0;r=X;return a|0}else if((f|0)==75){a=(C|0)==(k[a+4>>2]|0)?C:0;r=X;return a|0}else if((f|0)==102){g:while(1){e=nLa(a,d,R+1|0)|0;if(e){f=125;break}h:while(1){if(d>>>0>=(k[a+4>>2]|0)>>>0){e=0;f=125;break g}h=i[d>>0]|0;e=i[V>>0]|0;switch(e<<24>>24|0){case 37:{T=d;f=111;break h}case 91:{U=d;f=112;break h}case 46:break;default:{S=d;f=121;break h}}d=d+1|0;e=nLa(a,d,R+1|0)|0;if(e|0){f=125;break g}}i:do if((f|0)==111){P=oLa(h&255,l[W>>0]|0)|0;Q=T}else if((f|0)==112){g=(i[W>>0]|0)==94;e=g?W:V;if((e+1|0)>>>0<(R+-1|0)>>>0){d=e;f=e+1|0;while(1){c=i[f>>0]|0;e=d+2|0;b=i[e>>0]|0;do if(c<<24>>24==37)if(!(oLa(h&255,b&255)|0))d=e;else{P=g&1^1;Q=U;break i}else{if(b<<24>>24==45){d=d+3|0;if(d>>>0<(R+-1|0)>>>0){if((c&255)>(h&255))break;if((l[d>>0]|0)<(h&255))break;else{P=g&1^1;Q=U;break i}}}if(c<<24>>24==h<<24>>24){P=g&1^1;Q=U;break i}else d=f}while(0);f=d+1|0;if(f>>>0>=(R+-1|0)>>>0){P=g&1;Q=U;break}}}else{P=g&1;Q=U}}else if((f|0)==121){P=e<<24>>24==h<<24>>24&1;Q=S}while(0);if(!P){e=0;f=125;break}else d=Q+1|0}if((f|0)==125){r=X;return e|0}}else if((f|0)==105){a=pLa(a,D,G,B)|0;r=X;return a|0}else if((f|0)==106){if(!v){a=0;r=X;return a|0}a=pLa(a,z,y,x)|0;r=X;return a|0}else if((f|0)==125){r=X;return e|0}return 0}function oLa(a,b){a=a|0;b=b|0;do switch(gmb(b)|0){case 97:{a=$mb(a)|0;break}case 99:{a=bnb(a)|0;break}case 100:{a=(a+-48|0)>>>0<10&1;break}case 108:{a=wmb(a)|0;break}case 112:{a=dnb(a)|0;break}case 115:{a=qmb(a)|0;break}case 117:{a=hmb(a)|0;break}case 119:{a=_mb(a)|0;break}case 120:{a=fnb(a)|0;break}case 122:{a=(a|0)==0&1;break}default:{b=(b|0)==(a|0)&1;return b|0}}while(0);b=(wmb(b)|0)==0;b=b?(a|0)==0&1:a;return b|0}function pLa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0;e=k[a+4>>2]|0;a:do if(e>>>0>b>>>0){f=e;g=b;e=0;while(1){o=i[g>>0]|0;g=i[c>>0]|0;b:do switch(g<<24>>24|0){case 46:break;case 37:{f=oLa(o&255,l[c+1>>0]|0)|0;h=15;break}case 91:{n=(i[c+1>>0]|0)==94;g=n?c+1|0:c;if((g+1|0)>>>0<(d+-1|0)>>>0){f=g;m=g+1|0;while(1){j=i[m>>0]|0;g=f+2|0;h=i[g>>0]|0;do if(j<<24>>24==37)if(!(oLa(o&255,h&255)|0))f=g;else{f=n&1^1;h=15;break b}else{if(h<<24>>24==45){f=f+3|0;if(f>>>0<(d+-1|0)>>>0){if((j&255)>(o&255))break;if((l[f>>0]|0)<(o&255))break;else{f=n&1^1;h=15;break b}}}if(j<<24>>24==o<<24>>24){f=n&1^1;h=15;break b}else f=m}while(0);m=f+1|0;if(m>>>0>=(d+-1|0)>>>0){f=n&1;h=15;break}}}else{f=n&1;h=15}break}default:{f=g<<24>>24==o<<24>>24&1;h=15}}while(0);if((h|0)==15){h=0;if(!f)break a;f=k[a+4>>2]|0}e=e+1|0;g=b+e|0;if(g>>>0>=f>>>0)break a}}else e=0;while(0);f=e;while(1){if((f|0)<=-1){e=0;h=21;break}e=nLa(a,b+f|0,d+1|0)|0;if(!e)f=(((e|0)==0)<<31>>31)+f|0;else{h=21;break}}if((h|0)==21)return e|0;return 0}function qLa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=r;r=r+16|0;if((k[a+12>>2]|0)<=(b|0)){e=k[a+8>>2]|0;if(!b){XDa(e,c,d-c|0);r=f;return}else{aHa(e,520052,f)|0;r=f;return}}c=k[a+16+(b<<3)+4>>2]|0;if((c|0)==-1){aHa(k[a+8>>2]|0,520074,f+8|0)|0;d=k[a+8>>2]|0;e=k[a+16+(b<<3)>>2]|0}else{d=k[a+8>>2]|0;e=k[a+16+(b<<3)>>2]|0;if((c|0)==-2){WDa(d,e+1-(k[a>>2]|0)|0);r=f;return}}XDa(d,e,c);r=f;return}function rLa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,q=0.0;o=r;r=r+1648|0;f=xDa(a)|0;g=fHa(a,1,o+1096|0)|0;h=k[o+1096>>2]|0;wHa(a,o+60|0);a:do if((h|0)>0){j=o+60+1036|0;m=1;b=g;b:while(1){while(1){c=i[b>>0]|0;if(c<<24>>24==37){d=b+1|0;c=i[d>>0]|0;if(c<<24>>24!=37)break;c=k[o+60>>2]|0;if(c>>>0>>0)d=37;else{vHa(o+60|0)|0;c=k[o+60>>2]|0;d=i[d>>0]|0}k[o+60>>2]=c+1;i[c>>0]=d;b=b+2|0}else{d=k[o+60>>2]|0;if(d>>>0>=j>>>0){vHa(o+60|0)|0;d=k[o+60>>2]|0;c=i[b>>0]|0}k[o+60>>2]=d+1;i[d>>0]=c;b=b+1|0}if(b>>>0>=(g+h|0)>>>0)break a}e=m;m=m+1|0;if((e|0)<(f|0))b=c;else{$Ga(a,m,520093)|0;b=i[d>>0]|0}c:do if(!(b<<24>>24)){b=0;c=d}else{c=d;while(1){if(!(Cmb(520102,b<<24>>24,6)|0))break c;c=c+1|0;b=i[c>>0]|0;if(!(b<<24>>24)){b=0;break}}}while(0);if((c-d|0)>>>0>5){aHa(a,520108,o)|0;b=i[c>>0]|0}c=((b&255)+-48|0)>>>0<10?c+1|0:c;c=((l[c>>0]|0)+-48|0)>>>0<10?c+1|0:c;b=i[c>>0]|0;if(b<<24>>24==46){c=((l[c+1>>0]|0)+-48|0)>>>0<10?c+2|0:c+1|0;c=((l[c>>0]|0)+-48|0)>>>0<10?c+1|0:c;b=i[c>>0]|0}if(((b&255)+-48|0)>>>0<10)aHa(a,520140,o+8|0)|0;i[o+1616>>0]=37;b=c-d+1|0;dpb(o+1616+1|0,d,b)|0;i[o+1616+1+b>>0]=0;b=c+1|0;c=i[c>>0]|0;d:do switch(c|0){case 99:{n=~~+lHa(a,m);k[o+16>>2]=n;Fmb(o+1104|0,o+1616|0,o+16|0)|0;n=50;break}case 105:case 100:{n=Fnb(o+1616|0)|0;e=i[o+1616+(n+-1)>>0]|0;i[o+1616+n+-1>>0]=108;i[o+1616+n+-1+1>>0]=0;i[o+1616+n>>0]=e;i[o+1616+(n+1)>>0]=0;n=~~+lHa(a,m);k[o+24>>2]=n;Fmb(o+1104|0,o+1616|0,o+24|0)|0;n=50;break}case 88:case 120:case 117:case 111:{n=Fnb(o+1616|0)|0;e=i[o+1616+(n+-1)>>0]|0;i[o+1616+n+-1>>0]=108;i[o+1616+n+-1+1>>0]=0;i[o+1616+n>>0]=e;i[o+1616+(n+1)>>0]=0;n=~~+lHa(a,m)>>>0;k[o+32>>2]=n;Fmb(o+1104|0,o+1616|0,o+32|0)|0;n=50;break}case 71:case 103:case 102:case 69:case 101:{q=+lHa(a,m);p[o+40>>3]=q;Fmb(o+1104|0,o+1616|0,o+40|0)|0;n=50;break}case 113:{d=fHa(a,m,o+1100|0)|0;c=k[o+60>>2]|0;if(c>>>0>=j>>>0){vHa(o+60|0)|0;c=k[o+60>>2]|0}k[o+60>>2]=c+1;i[c>>0]=34;e=k[o+1100>>2]|0;k[o+1100>>2]=e+-1;e:do if(e|0){e=d;while(1){d=i[e>>0]|0;switch(d<<24>>24|0){case 10:case 92:case 34:{c=k[o+60>>2]|0;if(c>>>0>=j>>>0){vHa(o+60|0)|0;c=k[o+60>>2]|0}k[o+60>>2]=c+1;i[c>>0]=92;c=k[o+60>>2]|0;if(c>>>0>=j>>>0){vHa(o+60|0)|0;c=k[o+60>>2]|0}d=i[e>>0]|0;k[o+60>>2]=c+1;i[c>>0]=d;break}case 13:{xHa(o+60|0,520185,2);break}case 0:{xHa(o+60|0,520188,4);break}default:{c=k[o+60>>2]|0;if(c>>>0>=j>>>0){vHa(o+60|0)|0;c=k[o+60>>2]|0;d=i[e>>0]|0}k[o+60>>2]=c+1;i[c>>0]=d}}d=k[o+1100>>2]|0;k[o+1100>>2]=d+-1;if(!d)break e;else e=e+1|0}}while(0);c=k[o+60>>2]|0;if(c>>>0>=j>>>0){vHa(o+60|0)|0;c=k[o+60>>2]|0}k[o+60>>2]=c+1;i[c>>0]=34;break}case 115:{c=fHa(a,m,o+1100|0)|0;e=(gob(o+1616|0,46)|0)==0;if(e&(k[o+1100>>2]|0)>>>0>99){CDa(a,m);AHa(o+60|0);break d}else{k[o+48>>2]=c;Fmb(o+1104|0,o+1616|0,o+48|0)|0;n=50;break d}}default:break b}while(0);if((n|0)==50){n=0;xHa(o+60|0,o+1104|0,Fnb(o+1104|0)|0)}if(b>>>0>=(g+h|0)>>>0)break a}k[o+56>>2]=c;n=aHa(a,520193,o+56|0)|0;r=o;return n|0}while(0);zHa(o+60|0);n=1;r=o;return n|0}function sLa(a){a=a|0;var b=0;b=r;r=r+16|0;a=aHa(a,520233,b)|0;r=b;return a|0}function tLa(a){a=a|0;fHa(a,1,0)|0;fHa(a,2,0)|0;yDa(a,2);WDa(a,0);$Da(a,1527,3);return 1}function uLa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;h=r;r=r+288|0;e=ODa(a,-10003,h)|0;c=ODa(a,-10004,0)|0;k[h+8+8>>2]=a;k[h+8>>2]=e;f=k[h>>2]|0;k[h+8+4>>2]=e+f;b=MDa(a,-10005)|0;if((b|0)>(f|0)){g=0;r=h;return g|0}b=e+b|0;while(1){k[h+8+12>>2]=0;f=nLa(h+8|0,b,c)|0;if(f|0){d=b;break}b=b+1|0;if(b>>>0>(k[h+8+4>>2]|0)>>>0){b=0;g=7;break}}if((g|0)==7){r=h;return b|0}WDa(a,f-e+((f|0)==(d|0)&1)|0);BDa(a,-10005);b=k[h+8+12>>2]|0;b=(d|0)!=0&(b|0)==0?1:b;iHa(k[h+8+8>>2]|0,b,519889);if((b|0)>0)c=0;else{g=b;r=h;return g|0}do{qLa(h+8|0,c,d,f);c=c+1|0}while((c|0)!=(b|0));r=h;return b|0}function vLa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0;s=r;r=r+1328|0;b=fHa(a,1,s+1320|0)|0;n=fHa(a,2,0)|0;o=DDa(a,3)|0;p=oHa(a,4,(k[s+1320>>2]|0)+1|0)|0;q=(i[n>>0]|0)==94;n=q?n+1|0:n;if((o+-3|0)>>>0>=4)$Ga(a,3,520291)|0;wHa(a,s+12|0);o=s+1048+8|0;k[o>>2]=a;k[s+1048>>2]=b;k[s+1048+4>>2]=b+(k[s+1320>>2]|0);c=0;while(1){if((c|0)>=(p|0)){m=44;break}k[s+1048+12>>2]=0;l=nLa(s+1048|0,b,n)|0;if(!l)m=39;else{c=c+1|0;g=k[o>>2]|0;switch(DDa(g,3)|0){case 4:case 3:{h=ODa(k[o>>2]|0,3,s+1324|0)|0;if(k[s+1324>>2]|0){j=l-b|0;d=0;do{g=h+d|0;e=i[g>>0]|0;do if(e<<24>>24==37){d=d+1|0;f=i[h+d>>0]|0;if(((f&255)+-48|0)>>>0<10)if(f<<24>>24==48){xHa(s+12|0,b,j);break}else{qLa(s+1048|0,(f<<24>>24)+-49|0,b,l);AHa(s+12|0);break}else{e=k[s+12>>2]|0;if(e>>>0>=(s+12+1036|0)>>>0){vHa(s+12|0)|0;e=k[s+12>>2]|0;f=i[h+d>>0]|0}k[s+12>>2]=e+1;i[e>>0]=f;break}}else{f=k[s+12>>2]|0;if(f>>>0>=(s+12+1036|0)>>>0){vHa(s+12|0)|0;f=k[s+12>>2]|0;e=i[g>>0]|0}k[s+12>>2]=f+1;i[f>>0]=e}while(0);d=d+1|0}while(d>>>0<(k[s+1324>>2]|0)>>>0)}break}case 6:{CDa(g,3);d=k[s+1048+12>>2]|0;d=(b|0)!=0&(d|0)==0?1:d;iHa(k[o>>2]|0,d,519889);if((d|0)>0){e=0;do{qLa(s+1048|0,e,b,l);e=e+1|0}while((e|0)!=(d|0))}qEa(g,d,1);m=33;break}case 5:{do if((k[s+1048+12>>2]|0)>0){f=k[s+1048+20>>2]|0;if((f|0)==-1){aHa(k[o>>2]|0,520074,s)|0;d=k[o>>2]|0;e=k[s+1048+16>>2]|0}else{d=k[o>>2]|0;e=k[s+1048+16>>2]|0;if((f|0)==-2){WDa(d,e+1-(k[s+1048>>2]|0)|0);break}}XDa(d,e,f)}else XDa(k[o>>2]|0,b,l-b|0);while(0);dEa(g,3);m=33;break}default:m=33}if((m|0)==33){m=0;if(!(NDa(g,-1)|0)){yDa(g,-2);XDa(g,b,l-b|0)}else if(!(HDa(g,-1)|0)){j=EDa(g,DDa(g,-1)|0)|0;k[s+8>>2]=j;aHa(g,520322,s+8|0)|0}AHa(s+12|0)}if(l>>>0>b>>>0)b=l;else m=39}if((m|0)==39){m=0;if(b>>>0>=(k[s+1048+4>>2]|0)>>>0){m=44;break}d=k[s+12>>2]|0;if(d>>>0>=(s+12+1036|0)>>>0){vHa(s+12|0)|0;d=k[s+12>>2]|0}l=i[b>>0]|0;k[s+12>>2]=d+1;i[d>>0]=l;b=b+1|0}if(q){m=44;break}}if((m|0)==44){xHa(s+12|0,b,(k[s+1048+4>>2]|0)-b|0);zHa(s+12|0);WDa(a,c);r=s;return 2}return 0}function wLa(a){a=a|0;var b=0;b=r;r=r+16|0;fHa(a,1,b)|0;WDa(a,k[b>>2]|0);r=b;return 1}function xLa(a){a=a|0;var b=0,c=0,d=0,e=0;c=r;r=r+1040|0;b=fHa(a,1,c+1036|0)|0;wHa(a,c);if(!(k[c+1036>>2]|0)){zHa(c);r=c;return 1}a=0;do{if((k[c>>2]|0)>>>0>=(c+1036|0)>>>0)vHa(c)|0;e=(gmb(l[b+a>>0]|0)|0)&255;d=k[c>>2]|0;k[c>>2]=d+1;i[d>>0]=e;a=a+1|0}while(a>>>0<(k[c+1036>>2]|0)>>>0);zHa(c);r=c;return 1}function yLa(a){a=a|0;return mLa(a,0)|0}function zLa(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+1040|0;c=fHa(a,1,d+1036|0)|0;b=nHa(a,2)|0;wHa(a,d);if((b|0)<=0){zHa(d);r=d;return 1}while(1){xHa(d,c,k[d+1036>>2]|0);if((b|0)>1)b=b+-1|0;else break}zHa(d);r=d;return 1}function ALa(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+1040|0;c=fHa(a,1,d+1036|0)|0;wHa(a,d);a=k[d+1036>>2]|0;k[d+1036>>2]=a+-1;if(!a){zHa(d);r=d;return 1}b=a+-1|0;do{a=k[d>>2]|0;if(a>>>0>=(d+1036|0)>>>0){vHa(d)|0;a=k[d>>2]|0;b=k[d+1036>>2]|0}b=i[c+b>>0]|0;k[d>>2]=a+1;i[a>>0]=b;a=k[d+1036>>2]|0;b=a+-1|0;k[d+1036>>2]=b}while((a|0)!=0);zHa(d);r=d;return 1}function BLa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;e=r;r=r+16|0;c=fHa(a,1,e)|0;b=nHa(a,2)|0;b=((b|0)<0?(k[e>>2]|0)+1|0:0)+b|0;d=oHa(a,3,-1)|0;f=k[e>>2]|0;d=((d|0)<0?f+1|0:0)+d|0;d=(d|0)<0?0:d;b=(b|0)<1?1:b;d=(d|0)>(f|0)?f:d;if((d|0)<(b|0)){XDa(a,1279174,0);r=e;return 1}else{XDa(a,c+b+-1|0,1-b+d|0);r=e;return 1}return 0}function CLa(a){a=a|0;var b=0,c=0,d=0,e=0;c=r;r=r+1040|0;b=fHa(a,1,c+1036|0)|0;wHa(a,c);if(!(k[c+1036>>2]|0)){zHa(c);r=c;return 1}a=0;do{if((k[c>>2]|0)>>>0>=(c+1036|0)>>>0)vHa(c)|0;e=(vmb(l[b+a>>0]|0)|0)&255;d=k[c>>2]|0;k[c>>2]=d+1;i[d>>0]=e;a=a+1|0}while(a>>>0<(k[c+1036>>2]|0)>>>0);zHa(c);r=c;return 1}function DLa(a){a=a|0;var b=0;gHa(a,520393)|0;$Da(a,1528,0);lEa(a,-2,520402);rHa(a,520407,38944);CDa(a,-1);BDa(a,-10001);hEa(a,4,0);$Da(a,1529,0);nEa(a,-2,1);$Da(a,1530,0);nEa(a,-2,2);$Da(a,1531,0);nEa(a,-2,3);$Da(a,1532,0);nEa(a,-2,4);lEa(a,-2,520743);b=If(520751)|0;if(!b)YDa(a,520760);else{uHa(a,uHa(a,b,520898,520901)|0,527304,520760)|0;zDa(a,-2)}lEa(a,-2,520594);b=If(520905)|0;if(!b)YDa(a,520915);else{uHa(a,uHa(a,b,520898,520901)|0,527304,520915)|0;zDa(a,-2)}lEa(a,-2,520694);XDa(a,520984,9);lEa(a,-2,520994);tHa(a,-1e4,521001,2)|0;lEa(a,-2,521009);hEa(a,0,0);lEa(a,-2,520519);CDa(a,-10002);rHa(a,0,38968);yDa(a,-2);return 1}function ELa(a){a=a|0;a=hHa(a,1,520393)|0;k[a>>2]=0;return 0}function FLa(a){a=a|0;var b=0;b=fHa(a,1,0)|0;fHa(a,2,0)|0;b=GLa(a,b)|0;if(!b){a=1;return a|0}UDa(a);ADa(a,-2);YDa(a,(b|0)==1?520492:520499);a=3;return a|0}function GLa(a,b){a=a|0;b=b|0;var c=0,d=0;c=r;r=r+16|0;k[c>>2]=520423;k[c+4>>2]=b;_Da(a,523795,c)|0;dEa(a,-1e4);if(!(DDa(a,-1)|0)){yDa(a,-2);d=AEa(a,4)|0;k[d>>2]=0;eEa(a,-1e4,520393);oEa(a,-2)|0;k[c+8>>2]=520423;k[c+8+4>>2]=b;_Da(a,523795,c+8|0)|0;CDa(a,-2);kEa(a,-1e4);b=d}else b=RDa(a,-1)|0;d=(k[b>>2]|0)==0;XDa(a,520433,58);if(!d){d=2;r=c;return d|0}k[b>>2]=0;d=1;r=c;return d|0}function HLa(a){a=a|0;jHa(a,1,5);if(!(iEa(a,1)|0)){hEa(a,0,1);CDa(a,-1);oEa(a,1)|0}CDa(a,-10002);lEa(a,-2,520511);return 0}function ILa(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=fHa(a,1,0)|0;eEa(a,-10001,520519);if((DDa(a,-1)|0)!=5)aHa(a,520527,c)|0;eEa(a,-1,b);if(DDa(a,-1)|0){r=c;return 1}k[c+8>>2]=b;_Da(a,520561,c+8|0)|0;r=c;return 1}function JLa(a){a=a|0;var b=0,c=0,d=0,e=0;c=r;r=r+16|0;b=KLa(a,fHa(a,1,0)|0,520594)|0;if(!b){r=c;return 1}if(!(DHa(a,b)|0)){r=c;return 1}e=ODa(a,1,0)|0;d=ODa(a,-1,0)|0;k[c>>2]=e;k[c+4>>2]=b;k[c+8>>2]=d;aHa(a,520648,c)|0;r=c;return 1}function KLa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=r;r=r+16|0;e=uHa(a,b,616745,520599)|0;eEa(a,-10001,c);b=ODa(a,-1,0)|0;if(!b){k[f>>2]=c;aHa(a,520601,f)|0}XDa(a,1279174,0);a:while(1){switch(i[b>>0]|0){case 0:{b=0;c=12;break a}case 59:{b=b+1|0;continue a}default:{}}c=gob(b,59)|0;if(!c)c=b+(Fnb(b)|0)|0;XDa(a,b,c-b|0);if(!c){b=0;c=12;break}b=uHa(a,ODa(a,-1,0)|0,520631,e)|0;zDa(a,-2);d=job(b,524439)|0;if(d|0){c=11;break}k[f+8>>2]=b;_Da(a,520633,f+8|0)|0;zDa(a,-2);zEa(a,2);b=c}if((c|0)==11){mob(d)|0;a=b;r=f;return a|0}else if((c|0)==12){r=f;return b|0}return 0}function LLa(a){a=a|0;var b=0,c=0,d=0,e=0;d=r;r=r+32|0;b=fHa(a,1,0)|0;c=KLa(a,b,520694)|0;if(!c){r=d;return 1}e=gob(b,45)|0;b=uHa(a,(e|0)==0?b:e+1|0,616745,520700)|0;k[d>>2]=b;_Da(a,520702,d)|0;zDa(a,-2);if(!(GLa(a,c)|0)){r=d;return 1}b=ODa(a,1,0)|0;e=ODa(a,-1,0)|0;k[d+8>>2]=b;k[d+8+4>>2]=c;k[d+8+8>>2]=e;aHa(a,520648,d+8|0)|0;r=d;return 1}function MLa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=r;r=r+32|0;c=fHa(a,1,0)|0;b=gob(c,46)|0;if(!b){a=0;r=d;return a|0}XDa(a,c,b-c|0);b=KLa(a,ODa(a,-1,0)|0,520694)|0;if(!b){a=1;r=d;return a|0}e=gob(c,45)|0;e=uHa(a,(e|0)==0?c:e+1|0,616745,520700)|0;k[d>>2]=e;_Da(a,520702,d)|0;zDa(a,-2);switch(GLa(a,b)|0){case 2:break;case 0:{e=1;r=d;return e|0}default:{f=ODa(a,1,0)|0;e=ODa(a,-1,0)|0;k[d+8>>2]=f;k[d+8+4>>2]=b;k[d+8+8>>2]=e;aHa(a,520648,d+8|0)|0}}k[d+24>>2]=c;k[d+24+4>>2]=b;_Da(a,520713,d+24|0)|0;f=1;r=d;return f|0}function NLa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;e=r;r=r+112|0;b=fHa(a,1,0)|0;d=xDa(a)|0;eEa(a,-1e4,521001);eEa(a,d+1|0,b);do if((DDa(a,-1)|0)!=5){yDa(a,-2);if(!(tHa(a,-10002,b,1)|0)){CDa(a,-1);lEa(a,d+1|0,b);break}k[e>>2]=b;a=aHa(a,521023,e)|0;r=e;return a|0}while(0);eEa(a,-1,521053);f=(DDa(a,-1)|0)==0;yDa(a,-2);if(f){CDa(a,-1);lEa(a,-2,521059);YDa(a,b);lEa(a,-2,521053);f=Gob(b,46)|0;XDa(a,b,((f|0)==0?b:f+1|0)-b|0);lEa(a,-2,521062)}CDa(a,-1);if(!(HEa(a,1,e+12|0)|0))c=10;else if(!(KEa(a,521071,e+12|0)|0))c=10;else if(FDa(a,-1)|0)c=10;if((c|0)==10)aHa(a,521073,e+8|0)|0;CDa(a,-2);pEa(a,-2)|0;yDa(a,-2);if((d|0)<2){f=0;r=e;return f|0}else b=2;while(1){CDa(a,b);CDa(a,-2);qEa(a,1,0);if((b|0)==(d|0)){b=0;break}else b=b+1|0}r=e;return b|0}function OLa(a){a=a|0;var b=0,c=0,d=0,e=0;d=r;r=r+32|0;b=fHa(a,1,0)|0;yDa(a,1);eEa(a,-1e4,521001);eEa(a,2,b);if(NDa(a,-1)|0){if((RDa(a,-1)|0)!=728496){r=d;return 1}k[d>>2]=b;aHa(a,521121,d)|0;r=d;return 1}eEa(a,-10001,520743);if((DDa(a,-1)|0)!=5)aHa(a,521164,d+8|0)|0;XDa(a,1279174,0);c=1;while(1){gEa(a,-2,c);if(!(DDa(a,-1)|0)){e=ODa(a,-2,0)|0;k[d+16>>2]=b;k[d+16+4>>2]=e;aHa(a,521198,d+16|0)|0}YDa(a,b);qEa(a,1,1);if((DDa(a,-1)|0)==6)break;if(!(HDa(a,-1)|0))yDa(a,-2);else zEa(a,2);c=c+1|0}bEa(a,728496);lEa(a,2,b);YDa(a,b);qEa(a,1,1);if(DDa(a,-1)|0)lEa(a,2,b);eEa(a,2,b);if((RDa(a,-1)|0)!=728496){r=d;return 1}aEa(a,1);CDa(a,-1);lEa(a,2,b);r=d;return 1}function PLa(){QLa(0);RLa(1249216);return}function QLa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0.0,h=0.0,i=0.0,k=0.0,l=0;f=0;do{a=f<<2;g=+(f|0)*.0009765625;k=+V(+(g*16384.0*(g+-.5-g*g*.5)+.5));i=+V(+((1.0-g*g*2.5+g*1.5*(g*g))*16384.0+.5));h=+V(+(((2.0-g*1.5)*(g*g)+g*.5)*16384.0+.5));g=+V(+(g*g*16384.0*(g*.5+-.5)+.5));b=k<-16384.0?-16384:k>16384.0?16384:~~k;j[1206442+(a<<1)>>1]=b;c=i<-16384.0?-16384:i>16384.0?16384:~~i;j[1206442+((a|1)<<1)>>1]=c;d=h<-16384.0?-16384:h>16384.0?16384:~~h;j[1206442+((a|2)<<1)>>1]=d;e=g<-16384.0?-16384:g>16384.0?16384:~~g;j[1206442+((a|3)<<1)>>1]=e;if(((c<<16>>16)+(b<<16>>16)+(d<<16>>16)+(e<<16>>16)|0)!=16384){l=c<<16>>16>b<<16>>16?a|1:a;l=d<<16>>16>(j[1206442+(l<<1)>>1]|0)?a|2:l;a=1206442+((e<<16>>16>(j[1206442+(l<<1)>>1]|0)?a|3:l)<<1)|0;j[a>>1]=16384-((c<<16>>16)+(b<<16>>16)+(d<<16>>16)+(e<<16>>16))+(m[a>>1]|0)}f=f+1|0}while((f|0)!=1024);return}function RLa(a){a=a|0;var b=0.0,c=0.0,d=0.0,e=0.0,f=0,g=0;g=r;r=r+32|0;f=0;do{e=(+(f|0)+-1024.0)*.00048828125;a=0;b=0.0;do{c=+(a|0)-e;if(+W(+(c+-3.5))<1.0e-08){d=.8999999761581421;c=1.0}else{d=+_(+((c+-3.5)*2.8274333133294083))/((c+-3.5)*3.141592653589793);c=.42-+Z(+(c*.8975979010256552))*.5+ +Z(+(c*1.7951958020513104))*.08}d=d*c;o[g+(a<<2)>>2]=d;b=d+b;a=a+1|0}while((a|0)!=8);a=f<<3;e=+V(+(32768.0/b*+o[g>>2]+.5));j[1214634+(a<<1)>>1]=e<-32768.0?-32768:~~e;e=+V(+(32768.0/b*+o[g+4>>2]+.5));j[1214634+((a|1)<<1)>>1]=e<-32768.0?-32768:~~e;e=+V(+(32768.0/b*+o[g+8>>2]+.5));j[1214634+((a|2)<<1)>>1]=e<-32768.0?-32768:~~e;e=+V(+(32768.0/b*+o[g+12>>2]+.5));j[1214634+((a|3)<<1)>>1]=e<-32768.0?-32768:~~e;e=+V(+(32768.0/b*+o[g+16>>2]+.5));j[1214634+((a|4)<<1)>>1]=e<-32768.0?-32768:~~e;e=+V(+(32768.0/b*+o[g+20>>2]+.5));j[1214634+((a|5)<<1)>>1]=e<-32768.0?-32768:~~e;e=+V(+(32768.0/b*+o[g+24>>2]+.5));j[1214634+((a|6)<<1)>>1]=e<-32768.0?-32768:~~e;e=+V(+(32768.0/b*+o[g+28>>2]+.5));j[1214634+((a|7)<<1)>>1]=e<-32768.0?-32768:~~e;f=f+1|0}while((f|0)!=2049);r=g;return}function SLa(a,b,c){a=a|0;b=b|0;c=c|0;b=KBb(b|0,((b|0)<0)<<31>>31|0,a|0,((a|0)<0)<<31>>31|0)|0;c=LBb(b|0,L|0,c|0,((c|0)<0)<<31>>31|0)|0;return c|0}function TLa(a,b,c){a=a|0;b=b|0;c=c|0;b=KBb(b|0,((b|0)<0)<<31>>31|0,a|0,((a|0)<0)<<31>>31|0)|0;b=xBb(c>>1|0,((c>>1|0)<0)<<31>>31|0,b|0,L|0)|0;c=LBb(b|0,L|0,c|0,((c|0)<0)<<31>>31|0)|0;return c|0}function ULa(a){a=a|0;var b=0;if((k[9749]|0)>>>0>128)k[9749]=128;b=k[9751]|0;if(b>>>0<4e3){k[9751]=4e3;b=4e3}else if(b>>>0>192e3){k[9751]=192e3;b=192e3}b=((b*146|0)>>>0)/1e5|0;k[9754]=b>>>0<8?8:b;k[182127]=0;k[182126]=0;VLa(a);return 1}function VLa(a){a=a|0;var b=0,c=0,d=0,e=0;b=k[9758]|0;if(!b){k[9758]=100;b=100}c=k[9756]|0;if(!c){k[9756]=14;c=14}d=k[9760]|0;if(!d){k[9760]=20;d=20}e=k[9755]|0;if(e>>>0>8)k[9755]=8;else if(e>>>0<2)k[9755]=2;if(a){k[186226]=0;k[186227]=0}k[186228]=0;k[186229]=0;k[186230]=0;k[186231]=0;k[186232]=0;k[186233]=0;k[186234]=0;e=k[182125]|0;if(e&64|0){vBb(744940,0,256)|0;vBb(745196,0,256)|0;vBb(745452,0,256)|0;vBb(745708,0,38400)|0;d=((ha(d,k[9751]|0)|0)>>>0)/1e3|0;k[186228]=d>>>0>9600?9600:d;d=k[9759]|0;if(d>>>0<8)d=(32>>>d)+32|0;else d=d>>>0<16?(d*7|0)+-48|0:64;k[196027]=d>>2}if(!(e&128))k[196028]=0;else{b=ha(b,k[9751]|0)|0;d=(k[9757]|0)+1|0;b=b>>>0>38400999?38400:(b>>>0)/1e3|0;if(!((b|0)==(k[196028]|0)&(a^1)&(d|0)==(k[196029]|0))){k[196029]=d;k[196028]=b;k[196030]=0;k[196031]=0;k[196032]=0;k[196033]=0;k[196034]=0;k[196035]=0;k[196036]=0;k[196037]=0;k[196038]=0;k[196039]=(((b*13|0)>>>0)/17|0)>>>0>29364?29364:((b*13|0)>>>0)/17|0;k[196040]=(((b*7|0)>>>0)/13|0)>>>0>20676?20676:((b*7|0)>>>0)/13|0;k[196041]=(((b*7|0)>>>0)/19|0)>>>0>14147?14147:((b*7|0)>>>0)/19|0;vBb(784168,0,256)|0;vBb(784424,0,256)|0;vBb(784680,0,153600)|0;vBb(938280,0,117456)|0;vBb(1055736,0,82704)|0;vBb(1138440,0,56588)|0;k[298757]=0;k[298758]=0;k[298759]=0;k[298760]=0;k[298761]=0;k[298762]=0;k[298763]=0;k[298764]=0}}if(!(e&32))b=0;else{c=((ha(c,k[9751]|0)|0)>>>0)/1e4|0;c=c>>>0>64?64:c;b=2;while(1)if(b>>>0>c>>>0)break;else b=b<<1;if(((b>>>1)+-1|0)==(k[298765]|0)&(a^1))return;else b=(b>>>1)+-1|0}k[298765]=b;k[298766]=0;k[298767]=0;k[298768]=0;vBb(1195076,0,256)|0;vBb(1195332,0,256)|0;return}function WLa(a,b){a=a|0;b=b|0;var c=0,d=0;c=k[a+59660>>2]|0;if(c&1024|0){a=0;return a|0}d=k[9751]|0;b=KBb(d|0,((d|0)<0)<<31>>31|0,b|0,((b|0)<0)<<31>>31|0)|0;b=LBb(b|0,L|0,1e3,0)|0;k[a+59784>>2]=b;k[a+59780>>2]=b;k[a+59660>>2]=c|1024;a=1;return a|0}function XLa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0;m=r;r=r+16|0;k[m+4>>2]=2147483647;k[m>>2]=-2147483647;k[a+59672>>2]=0;d=k[9750]|0;switch(k[9752]|0){case 16:{d=d<<1;j=84;break}case 24:{d=d*3|0;j=85;break}case 32:{d=d<<2;j=86;break}default:j=83}l=(c>>>0)/(d>>>0)|0;if(!((b|0)!=0&(l|0)!=0)){a=0;r=m;return a|0}if(!(k[a+59664>>2]|0)){a=0;r=m;return a|0}a:do if(!(k[a+59660>>2]&512)){f=k[a+59676>>2]|0;i=l;h=b;c=0;while(1){do if(!f){b=k[a+59660>>2]|0;if(b&256|0){k[a+59660>>2]=b|512;k[a+59676>>2]=i;break}if(!(aMa(a)|0)){b=k[9751]|0;b=KBb(b|0,((b|0)<0)<<31>>31|0,100,0)|0;b=LBb(b|0,L|0,1e3,0)|0;if((b|0)<1){k[a+59660>>2]=k[a+59660>>2]|512;if((i|0)==(l|0)){e=l;b=h;break a}k[a+59676>>2]=i;break}b=(b|0)>1048576?1048576:b;k[a+59676>>2]=b;e=k[a+59668>>2]|0;if(e|0){g=0;do{f=k[a+32768+(g<<2)>>2]|0;if(a+(f<<8)|0){k[a+(f<<8)+100>>2]=0;k[a+(f<<8)+104>>2]=0;o=k[a+(f<<8)+16>>2]|0;k[a+(f<<8)+24>>2]=(0-o<<12|0)/(b|0)|0;n=k[a+(f<<8)+20>>2]|0;k[a+(f<<8)+28>>2]=(0-n<<12|0)/(b|0)|0;k[a+(f<<8)+48>>2]=o<<12;k[a+(f<<8)+52>>2]=n<<12;k[a+(f<<8)+92>>2]=b;k[a+(f<<8)+36>>2]=k[a+(f<<8)+36>>2]|32768}g=g+1|0}while((g|0)!=(e|0))}k[a+59660>>2]=k[a+59660>>2]|256}}while(0);g=k[a+59676>>2]|0;g=g>>>0>512?512:g;g=g>>>0>i>>>0?i:g;if(!g){e=i;b=h;break a}k[182128]=0;wMa(728516,g,728504,728508);if((k[9750]|0)>>>0>1){b=xMa(a,g)|0;k[a+59672>>2]=(k[a+59672>>2]|0)+b;QNa(g);b=g<<1}else{b=xMa(a,g)|0;k[a+59672>>2]=(k[a+59672>>2]|0)+b;QNa(g);RNa(728516,g);b=g}c=c+1|0;if((k[9750]|0)>>>0>2)b=b<<1;if(0)ka(728516,b|0,k[9750]|0);b=h+(Ni[j&127](h,728516,b,m+4|0,m)|0)|0;e=i-g|0;f=(k[a+59676>>2]|0)-g|0;k[a+59676>>2]=f;if((i|0)==(g|0))break;else{i=e;h=b}}}else{e=l;c=0}while(0);if(e|0)vBb(b|0,((k[9752]|0)==8?-128:0)|0,ha(e,d)|0)|0;n=k[m+4>>2]>>20;k[m+4>>2]=n;o=k[m>>2]>>20;k[m>>2]=(o|0)<(n|0)?n:o;if(c|0)k[a+59672>>2]=((c+-1+(k[a+59672>>2]|0)|0)>>>0)/(c>>>0)|0;o=l-e|0;r=m;return o|0}function YLa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,l=0;f=k[d>>2]|0;g=k[e>>2]|0;if(!c){b=g;a=f;k[d>>2]=a;k[e>>2]=b;return c|0}else h=0;do{j=k[b+(h<<2)>>2]|0;j=(j|0)<-134217728?-134217728:(j|0)>134217727?134217727:j;l=(j|0)<(f|0);g=l?g:(j|0)>(g|0)?j:g;f=l?j:f;i[a+h>>0]=j>>>20^128;h=h+1|0}while((h|0)!=(c|0));k[d>>2]=f;k[e>>2]=g;return c|0}function ZLa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,l=0;f=k[d>>2]|0;g=k[e>>2]|0;if(!c){b=g;a=f;k[d>>2]=a;k[e>>2]=b;d=c<<1;return d|0}else h=0;do{i=k[b+(h<<2)>>2]|0;i=(i|0)<-134217728?-134217728:(i|0)>134217727?134217727:i;l=(i|0)<(f|0);g=l?g:(i|0)>(g|0)?i:g;f=l?i:f;j[a+(h<<1)>>1]=i>>>12;h=h+1|0}while((h|0)!=(c|0));k[d>>2]=f;k[e>>2]=g;l=c<<1;return l|0}function _La(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,l=0;f=k[d>>2]|0;g=k[e>>2]|0;if(!c){b=g;a=f;k[d>>2]=a;k[e>>2]=b;d=c*3|0;return d|0}else h=0;do{l=k[b+(h<<2)>>2]|0;l=(l|0)<-134217728?-134217728:(l|0)>134217727?134217727:l;j=(l|0)<(f|0);g=j?g:(l|0)>(g|0)?l:g;f=j?l:f;j=h*3|0;i[a+j>>0]=l>>>4;i[a+(j+1)>>0]=0;i[a+(j+2)>>0]=0;h=h+1|0}while((h|0)!=(c|0));k[d>>2]=f;k[e>>2]=g;l=c*3|0;return l|0}function $La(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;f=k[d>>2]|0;g=k[e>>2]|0;if(!c){b=g;a=f;k[d>>2]=a;k[e>>2]=b;d=c<<2;return d|0}else h=0;do{i=k[b+(h<<2)>>2]|0;i=(i|0)<-134217728?-134217728:(i|0)>134217727?134217727:i;j=(i|0)<(f|0);f=j?i:f;g=j?g:(i|0)>(g|0)?i:g;k[a+(h<<2)>>2]=i<<4;h=h+1|0}while((h|0)!=(c|0));k[d>>2]=f;k[e>>2]=g;j=c<<2;return j|0}function aMa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;if(!(bMa(a)|0)){a=0;return a|0}k[a+59696>>2]=(k[a+59696>>2]|0)+1;b=k[a+59712>>2]|0;if(!b){a=0;return a|0}b=((ha((k[9751]|0)*5|0,k[a+59756>>2]|0)|0)>>>0)/(b<<8>>>0)|0;k[a+59676>>2]=b;b=k[a+59664>>2]|0;b=b>>>0>31?31:b;if(k[a+59680>>2]&32)b=(b|0)<6&(k[a+59688>>2]|0)!=0?6:b;c=k[a+59740>>2]|0;if((c|0)>128)c=((ha(c+-128|0,b+4|0)|0)/16|0)+128|0;d=k[((k[182125]&4|0)==0?39100:39164)+(b>>1<<2)>>2]|0;b=(ha((k[a+59748>>2]|0)+16|0,c)|0)>>>6;b=b>>>0>512?512:b;if(k[a+59660>>2]&1024){c=k[a+59784>>2]|0;if(c){E=k[a+59780>>2]|0;b=KBb(E|0,((E|0)<0)<<31>>31|0,b|0,0)|0;b=LBb(b|0,L|0,c|0,((c|0)<0)<<31>>31|0)|0}}C=(b<<7>>>0)/(d>>>0)|0;C=C>>>0>384?384:C;k[a+59668>>2]=0;D=0;E=a;a:while(1){B=E+36|0;p=k[B>>2]|0;if(p&1024|0)if(!(k[E+16>>2]|k[E+124>>2]|k[E+20>>2])){k[E+32>>2]=0;k[E+88>>2]=0;k[E+84>>2]=0}do if(!(p&256)){if(D>>>0>=(k[a+59664>>2]|0)>>>0)if(!(k[E+32>>2]|0)){z=17;break}y=E+12|0;k[y>>2]=0;w=E+108|0;k[w>>2]=0;s=k[E+120>>2]|0;g=(j[E+210>>1]|0)+s|0;x=E+112|0;g=(g|0)<0?0:g;g=(g|0)>256?256:g;k[x>>2]=g;A=E+92|0;k[A>>2]=0;u=E+128|0;b=k[u>>2]|0;if(!b)n=0;else{v=E+32|0;if(!(k[v>>2]|0))n=0;else{c=(j[E+208>>1]|0)+(k[E+116>>2]|0)|0;c=(c|0)<0?0:c;c=(c|0)>256?256:c;do if(!(p&131072))d=c;else{e=E+200|0;f=k[e>>2]|0;b:do if((c|0)>0){d=6-((k[a+59680>>2]|0)>>>2&1)|0;switch(l[E+227>>0]&3|0){case 1:{c=((ha(l[E+229>>0]|0,j[167584+((f&63)<<1)>>1]|0)|0)>>d)+c|0;break b}case 2:{c=((ha(l[E+229>>0]|0,j[167712+((f&63)<<1)>>1]|0)|0)>>d)+c|0;break b}case 3:{c=((ha(l[E+229>>0]|0,j[167840+((f&63)<<1)>>1]|0)|0)>>d)+c|0;break b}default:{c=((ha(l[E+229>>0]|0,j[167968+((f&63)<<1)>>1]|0)|0)>>d)+c|0;break b}}}while(0);if(!(k[a+59692>>2]|0)){if(!(k[a+59680>>2]&290)){d=c;break}if(k[a+59660>>2]&4|0){d=c;break}}k[e>>2]=(l[E+228>>0]|0)+f&63;d=c}while(0);t=E+216|0;c=i[t>>0]|0;if(c<<24>>24==18){e=l[E+243>>0]|0;o=k[a+59680>>2]|0;if(!(o&32))z=34;else if(!(k[a+59660>>2]&4)){h=(e>>>4)+(e&15)|0;n=e>>>4}else z=34;if((z|0)==34){z=0;h=(e>>>4)+(e&15)+2|0;n=(e>>>4)+1|0}f=E+242|0;e=l[f>>0]|0;e=e>>>0>=h>>>0?0:e;if(k[a+59692>>2]|o&34){i[f>>0]=e+1;d=e>>>0>>0?d:0}k[B>>2]=p|16777216;p=p|16777216}d=(d|0)<0?0:d;d=(d|0)>256?16384:d<<6;r=E+140|0;q=k[r>>2]|0;do if(!q)if(!(p&1024))z=71;else k[E+124>>2]=0;else{if(p&2097152){e=i[q+556>>0]|0;if(e<<24>>24){h=k[E+148>>2]|0;c:do if(e<<24>>24==1)f=(e&255)+-1|0;else{f=0;while(1){if((h|0)<=(m[q+12+(f<<1)>>1]|0))break c;f=f+1|0;if(f>>>0>=((e&255)+-1|0)>>>0){f=(e&255)+-1|0;break}}}while(0);n=m[q+12+(f<<1)>>1]|0;do if((h|0)<(n|0)){if(!f){e=0;o=0;break}o=f+-1|0;e=l[q+204+o>>0]<<2;o=m[q+12+(o<<1)>>1]|0}else{e=l[q+204+f>>0]<<2;o=n}while(0);h=(h|0)>(n|0)?n:h;if(n>>>0>o>>>0&(h|0)>(o|0))e=((ha((l[q+204+f>>0]<<2)-e|0,h-o|0)|0)/(n-o|0)|0)+e|0;z=(e|0)<0?0:e;d=(ha((z|0)>256?256:z,d)|0)>>8}}do if(p&4194304){f=i[q+557>>0]|0;if(!(f<<24>>24))break;n=k[E+152>>2]|0;d:do if(f<<24>>24==1)e=(f&255)+-1|0;else{e=0;while(1){if((n|0)<=(m[q+76+(e<<1)>>1]|0))break d;e=e+1|0;if(e>>>0>=((f&255)+-1|0)>>>0){e=(f&255)+-1|0;break}}}while(0);g=m[q+76+(e<<1)>>1]|0;h=l[q+236+e>>0]|0;do if((n|0)<(g|0)){if(!e){e=128;f=0;break}f=e+-1|0;e=l[q+236+f>>0]|0;f=m[q+76+(f<<1)>>1]|0}else{e=h;f=g}while(0);if(g>>>0>f>>>0&(n|0)>(f|0))e=((ha(h-e|0,n-f|0)|0)/(g-f|0)|0)+e|0;g=(e|0)<0?0:e;g=((ha((g|0)>64?32:g+-32|0,(s|0)>127?256-s|0:s)|0)/32|0)+s|0;g=(g|0)<0?0:g;g=(g|0)>256?256:g;k[x>>2]=g}while(0);do if(p&1024){e=k[q>>2]|0;if(!e){d=(k[E+124>>2]|0)==0?0:d;break}else{s=E+124|0;z=(k[s>>2]|0)-(e<<1)|0;z=(z|0)>0?z:0;k[s>>2]=z;d=(ha(z,d)|0)>>16;break}}while(0);e=i[q+583>>0]|0;if(e<<24>>24==0|(g|0)==0){z=71;break}f=i[E+212>>0]|0;if(!(f<<24>>24)){z=71;break}z=((ha((f&255)+-1-(l[q+584>>0]|0)|0,e<<24>>24)|0)/8|0)+g|0;z=(z|0)<0?0:z;k[x>>2]=(z|0)>256?256:z;z=71}while(0);if((z|0)==71){z=0;if(d|0){s=ha(k[a+59744>>2]|0,d)|0;q=ha(k[E+172>>2]|0,k[E+168>>2]|0)|0;s=KBb(q|0,((q|0)<0)<<31>>31|0,s|0,((s|0)<0)<<31>>31|0)|0;s=FBb(s|0,L|0,20)|0;k[w>>2]=s}}d=k[a+59764>>2]|0;if((b|0)<(d|0)){k[u>>2]=d;b=d}if((p&1572864|0)==1572864){b=uMa(a,b)|0;b=hMa(a,b,k[E+176>>2]|0,k[E+132>>2]|0)|0;c=i[t>>0]|0}e:do if(c<<24>>24==1)switch(((k[a+59692>>2]|0)>>>0)%3|0|0){case 1:{b=hMa(a,((l[E+217>>0]|0)>>>4)+(l[E+212>>0]|0)|0,k[E+176>>2]|0,k[E+132>>2]|0)|0;break e}case 2:{b=hMa(a,(l[E+217>>0]&15)+(l[E+212>>0]|0)|0,k[E+176>>2]|0,k[E+132>>2]|0)|0;break e}default:break e}while(0);if(k[a+59660>>2]&65536){b=(b|0)<452?452:b;b=(b|0)>3424?3424:b}h=k[r>>2]|0;do if(h){n=k[B>>2]|0;if(!(n&8388608))break;c=i[h+558>>0]|0;if(!(c<<24>>24))break;e=k[E+156>>2]|0;f:do if(c<<24>>24==1)d=(c&255)+-1|0;else{d=0;while(1){if((e|0)<=(m[h+140+(d<<1)>>1]|0))break f;d=d+1|0;if(d>>>0>=((c&255)+-1|0)>>>0){d=(c&255)+-1|0;break}}}while(0);f=m[h+140+(d<<1)>>1]|0;do if((e|0)<(f|0)){if(!d){c=0;g=0;break}g=d+-1|0;c=(l[h+268+g>>0]<<3)+-256|0;g=m[h+140+(g<<1)>>1]|0}else{c=(l[h+268+d>>0]<<3)+-256|0;g=f}while(0);e=(e|0)>(f|0)?f:e;if(f>>>0>g>>>0&(e|0)>(g|0))c=((ha(-256-c+(l[h+268+d>>0]<<3)|0,e-g|0)|0)/(f-g|0)|0)+c|0;c=(c|0)<-256?-256:c;d=(c|0)>256?256:c;if(k[h+4>>2]&1024|0){iMa(a,E,(n&16384|0)==0,d);break}if((d|0)<0){u=k[39228+(((0-d|0)>255?255:0-d|0)<<2)>>2]|0;b=KBb(u|0,((u|0)<0)<<31>>31|0,b|0,((b|0)<0)<<31>>31|0)|0;b=FBb(b|0,L|0,16)|0;break}else{u=k[40252+(((d|0)>255?255:c)<<2)>>2]|0;b=KBb(u|0,((u|0)<0)<<31>>31|0,b|0,((b|0)<0)<<31>>31|0)|0;b=FBb(b|0,L|0,16)|0;break}}while(0);o=k[B>>2]|0;do if(o&65536){f=E+196|0;g=k[f>>2]|0;switch(l[E+224>>0]&3|0){case 1:{c=j[167584+(g<<1)>>1]|0;break}case 2:{c=j[167712+(g<<1)>>1]|0;break}case 3:{c=j[167840+(g<<1)>>1]|0;break}default:c=j[167968+(g<<1)>>1]|0}h=k[a+59680>>2]|0;n=k[a+59660>>2]|0;c=(ha(l[E+226>>0]|0,c)|0)>>((n&4|0)!=0|(h|0)!=32?6:7);do if(!((n&16|0)==0|(h&32|0)==0))if((c|0)<0){e=k[40252+(0-c>>2<<2)>>2]|0;d=((b|0)<0)<<31>>31;e=KBb(e|0,((e|0)<0)<<31>>31|0,b|0,d|0)|0;e=FBb(e|0,L|0,16)|0;e=e-b|0;if(!(0-c&3)){c=e;break}c=k[41276+((0-c&3)<<2)>>2]|0;c=KBb(c|0,((c|0)<0)<<31>>31|0,b|0,d|0)|0;c=FBb(c|0,L|0,16)|0;c=e-b+c|0;break}else{e=k[39228+(c>>2<<2)>>2]|0;d=((b|0)<0)<<31>>31;e=KBb(e|0,((e|0)<0)<<31>>31|0,b|0,d|0)|0;e=FBb(e|0,L|0,16)|0;e=e-b|0;if(!(c&3)){c=e;break}c=k[41340+((c&3)<<2)>>2]|0;c=KBb(c|0,((c|0)<0)<<31>>31|0,b|0,d|0)|0;c=FBb(c|0,L|0,16)|0;c=e-b+c|0;break}while(0);b=c+b|0;if(!(k[a+59692>>2]|0))if(!((h&32|0)!=0&(n&4|0)==0))break;k[f>>2]=(l[E+225>>0]|0)+g&63}while(0);if(o&262144|0){c=E+204|0;d=k[c>>2]|0;switch(l[E+230>>0]&3|0){case 1:{e=j[167584+(((d+16|0)>>>2&63)<<1)>>1]|0;break}case 2:{e=j[167712+(((d+16|0)>>>2&63)<<1)>>1]|0;break}case 3:{e=j[167840+(((d+16|0)>>>2&63)<<1)>>1]|0;break}default:e=j[167968+(((d+16|0)>>>2&63)<<1)>>1]|0}k[c>>2]=d+(l[E+231>>0]|0);u=(ha(l[E+232>>0]|0,e)|0)+2>>3;u=u+(k[x>>2]|0)|0;u=(u|0)<0?0:u;k[x>>2]=(u|0)>256?256:u}f=k[E+144>>2]|0;do if(!f)c=0;else{e=i[f+40>>0]|0;if(!(e<<24>>24)){c=0;break}c=i[f+39>>0]|0;do if(!(c<<24>>24)){k[E+188>>2]=(e&255)<<8;d=(e&255)<<8}else{do if(!(k[a+59680>>2]&32))if(!(o&512)){u=E+188|0;d=(k[u>>2]|0)+(((e&255)<<8>>>0)/((c&255)>>>0)|0)|0;k[u>>2]=d;c=u;break}else{d=E+188|0;c=d;d=k[d>>2]|0;break}else{u=E+188|0;d=(k[u>>2]|0)+((c&255)<<3)|0;k[u>>2]=d;c=u}while(0);if((d>>8|0)<=(e&255|0))break;k[c>>2]=(e&255)<<8;d=(e&255)<<8}while(0);c=E+192|0;e=(k[c>>2]|0)+(l[f+41>>0]|0)|0;k[c>>2]=e;switch(l[f+38>>0]|0){case 4:{u=j[167840+((e&63)<<1)>>1]|0;k[c>>2]=e+1;c=u;break}case 3:{c=(64-(e>>>1)&127)+-64|0;break}case 2:{c=((e>>>1)+64&127)+-64|0;break}case 1:{c=(e&128)+-64|0;break}default:c=i[521279+(e&255)>>0]|0}d=ha(d,c)|0;if(!(k[a+59680>>2]&32)){c=0;b=(d>>14)+b|0;break}if((d>>8|0)<0){e=39228+(0-(d>>8)>>8<<2)|0;f=39228+((0-(d>>8)>>8)+1<<2)|0;c=0-(d>>8)|0}else{e=40252+(d>>16<<2)|0;f=40252+((d>>16)+1<<2)|0;c=d>>8}u=k[e>>2]|0;c=((ha((k[f>>2]|0)-u|0,c>>>2&63)|0)>>6)+u|0;b=KBb(c|0,((c|0)<0)<<31>>31|0,b|0,((b|0)<0)<<31>>31|0)|0;b=FBb(b|0,L|0,8)|0;c=b&255;b=b>>8}while(0);d=k[a+59764>>2]|0;do if((b|0)>(d|0))d=b;else{if(!(k[a+59680>>2]&2))break;k[v>>2]=0}while(0);b=k[a+59768>>2]|0;do if((d|0)>(b|0)){if(!((d|0)>1048575?1:(k[a+59680>>2]&32|0)!=0)){c=0;break}k[E+124>>2]=0;k[B>>2]=o|1024;k[w>>2]=0;c=0}else b=d;while(0);b=vMa(a,b,k[E+132>>2]|0,c)|0;if(b>>>0<256?(k[a+59680>>2]&32|0)!=0:0){k[E+124>>2]=0;k[B>>2]=k[B>>2]|1024;k[w>>2]=0}v=k[9751]|0;u=DBb(b|0,((b|0)<0)<<31>>31|0,16)|0;v=LBb(u|0,L|0,v|0,((v|0)<0)<<31>>31|0)|0;v=(v+-65456|0)>>>0<225?65536:v;u=k[a+59752>>2]|0;n=(ha(v,u)|0)>>>7;n=(u|0)==128?v:n;n=n>>>0>16711680?16711680:n+1&-4;k[y>>2]=n}}h=k[E+140>>2]|0;c=k[B>>2]|0;do if(h){do if(c&2097152){g=E+148|0;b=(k[g>>2]|0)+1|0;k[g>>2]=b;f=k[h+4>>2]|0;do if(f&4){d=i[h+560>>0]|0;e=k[a+59680>>2]|0;if((b|0)==(((e|0)!=4&1)+(m[h+12+((d&255)<<1)>>1]|0)|0)){v=i[h+559>>0]|0;b=m[h+12+((v&255)<<1)>>1]|0;k[g>>2]=b;if(d<<24>>24==v<<24>>24)if(!(i[h+204+(d&255)>>0]|0)){if(e&4|0)if(((d&255)+1|0)!=(l[h+556>>0]|0))break;k[B>>2]=c|1024;k[E+124>>2]=0;c=c|1024}}}while(0);if((f&2|0)!=0&(c&512|0)==0){if((b|0)!=((m[h+12+(l[h+562>>0]<<1)>>1]|0)+1|0))break;k[g>>2]=m[h+12+(l[h+561>>0]<<1)>>1];break}d=(l[h+556>>0]|0)+-1|0;e=m[h+12+(d<<1)>>1]|0;if(b>>>0>e>>>0){b=k[a+59680>>2]&32;if(b|c&512){c=c|1024;k[B>>2]=c}k[g>>2]=e;if(!(i[h+204+d>>0]|0)){if(!(b|0?1:D>>>0>=(k[a+59664>>2]|0)>>>0))break;c=c|1024;k[B>>2]=c;k[E+124>>2]=0;k[w>>2]=0}}}while(0);do if(c&4194304|0){e=E+152|0;b=(k[e>>2]|0)+1|0;k[e>>2]=b;d=k[h+4>>2]|0;if(d&32)if((b|0)==(((k[a+59680>>2]|0)!=4&1)+(m[h+76+(l[h+564>>0]<<1)>>1]|0)|0)){b=m[h+76+(l[h+563>>0]<<1)>>1]|0;k[e>>2]=b}if(d&16|0)if((c&512|0)==0?(b|0)==((m[h+76+(l[h+566>>0]<<1)>>1]|0)+1|0):0){k[e>>2]=m[h+76+(l[h+565>>0]<<1)>>1];break}d=m[h+76+((l[h+557>>0]|0)+-1<<1)>>1]|0;if(b>>>0>d>>>0)k[e>>2]=d}while(0);if(c&8388608){f=E+156|0;b=(k[f>>2]|0)+1|0;k[f>>2]=b;d=k[h+4>>2]|0;if(!(d&256))e=b;else if(b>>>0<(m[h+140+(l[h+568>>0]<<1)>>1]|0)>>>0)e=b;else{e=m[h+140+(l[h+567>>0]<<1)>>1]|0;k[f>>2]=e}if((d&128|0)!=0&(c&512|0)==0){if((e|0)!=((m[h+140+(l[h+570>>0]<<1)>>1]|0)+1|0))break;k[f>>2]=m[h+140+(l[h+569>>0]<<1)>>1];break}else{b=m[h+140+((l[h+558>>0]|0)+-1<<1)>>1]|0;if(e>>>0<=b>>>0)break;k[f>>2]=b;break}}}while(0);b=c&-32769;k[B>>2]=b;d=k[w>>2]|0;if(!d)if(!(k[E+20>>2]|0)){if(k[E+16>>2]|0)z=193}else z=193;else z=193;if((z|0)==193){z=0;b=c|32768;k[B>>2]=b}if(((n>>16)+1|0)>=((k[E+44>>2]|0)-(k[E+40>>2]|0)|0)){b=b&-3;k[B>>2]=b}f=E+104|0;k[f>>2]=0;e=E+100|0;k[e>>2]=0;c=k[E+96>>2]|0;if(c|0)if(!((k[E+32>>2]|0)==0|(n|0)==0)){k[E>>2]=c;do if((k[9750]|0)>>>0>1){c=((ha((k[x>>2]|0)+-128|0,k[9748]|0)|0)/128|0)+128|0;c=(c|0)<0?0:c;c=(c|0)>256?256:c;x=k[182125]|0;c=(x&1|0)==0?c:256-c|0;d=ha(d,C)|0;if(!(x&512)){x=(ha(c,d>>>7)|0)>>8;k[f>>2]=x;c=(ha(256-c|0,d>>>7)|0)>>8;k[e>>2]=c;d=x;break}if((c|0)<128){x=(ha(c,d>>>7)|0)>>8;k[f>>2]=x;k[e>>2]=d>>8;c=d>>8;d=x;break}else{k[f>>2]=d>>8;c=(ha(256-c|0,d>>>7)|0)>>8;k[e>>2]=c;d=d>>8;break}}else{d=(ha(d,C)|0)>>>8;k[e>>2]=d;k[f>>2]=d;c=d}while(0);if((c|0)>65535){k[e>>2]=65535;c=65535}if((d|0)>65535){k[f>>2]=65535;d=65535}do if(!(k[182125]&8)){b=b&-12289;k[B>>2]=b;if((n|0)==65536){k[B>>2]=b|4096;r=b|4096;break}if(!((n|0)>65279&(k[182125]&1040|0)==0)){r=b;break}k[B>>2]=b|4096;r=b|4096}else{r=b|4096;k[B>>2]=r}while(0);c=c>>4;k[e>>2]=c;b=d>>4;k[f>>2]=b;p=E+28|0;k[p>>2]=0;q=E+24|0;k[q>>2]=0;if((r&2048|0)!=0&(k[9750]|0)>>>0<3){k[f>>2]=0-b;b=0-b|0}if(r&128|0)k[y>>2]=0-n;o=E+16|0;do if(!(r&32768)){d=E+20|0;z=230}else{h=k[o>>2]|0;d=E+20|0;e=k[d>>2]|0;if((c|0)==(h|0)&(b|0)==(e|0)){z=230;break}f=k[9754]|0;n=b-e<<12;g=k[182125]|0;do if(!(g&65536)){if(!0){g=f;break}if((r&16777216|0)==0&((0>20|(g&16|0)==0|(e|h|0)==0|(b|c|0)==0)^1))z=226;else g=f}else if((b|c|0)!=0&(e|h|0)!=0&(r&16777216|0)==0)z=226;else g=f;while(0);if((z|0)==226){z=0;g=k[a+59676>>2]|0;g=(g|0)>2048?2048:g;g=(g|0)<(f|0)?f:g}y=(c-h<<12|0)/(g|0)|0;k[q>>2]=y;x=(n|0)/(g|0)|0;k[p>>2]=x;e=c-((ha(y,g)|0)>>12)|0;k[o>>2]=e;f=b-((ha(x,g)|0)>>12)|0;k[d>>2]=f;if(!(x|y)){k[B>>2]=r&-32769;k[o>>2]=c;k[d>>2]=b;break}else{k[A>>2]=g;c=e;b=f;break}}while(0);if((z|0)==230){z=0;k[B>>2]=r&-32769;k[o>>2]=c;k[d>>2]=b}k[E+48>>2]=c<<12;k[E+52>>2]=b<<12;b=k[a+59668>>2]|0;k[a+59668>>2]=b+1;k[a+32768+(b<<2)>>2]=D;b=k[a+59668>>2]|0;if(b>>>0>127)break a;else break}k[E>>2]=0;b=E+164|0;if((k[b>>2]|0)>>>0>255)k[b>>2]=0;k[E+16>>2]=0;k[E+20>>2]=0;k[E+32>>2]=0}else z=17;while(0);if((z|0)==17){z=0;k[E+164>>2]=0}D=D+1|0;if(D>>>0>=128){z=236;break}else E=E+256|0}if((z|0)==236)b=k[a+59668>>2]|0;if(b>>>0>=(k[9749]|0)>>>0)if(!((k[182125]&65536|0)!=0|(b|0)==0)){h=0;do{c=h;h=h+1|0;g:do if(h>>>0>>0){f=k[a+32768+(c<<2)>>2]|0;g=h;while(1){d=a+32768+(g<<2)|0;e=k[d>>2]|0;if((k[a+(f<<8)+108>>2]|0)>=(k[a+(e<<8)+108>>2]|0))break g;k[a+32768+(c<<2)>>2]=e;k[d>>2]=f;c=g+1|0;b=k[a+59668>>2]|0;if(c>>>0>>0){E=g;g=c;c=E}else break}}while(0)}while(h>>>0>>0)}b=k[a+59660>>2]|0;if(!(b&1024)){a=1;return a|0}c=k[a+59780>>2]|0;if(!c){k[a+59660>>2]=b|512;a=0;return a|0}b=k[a+59676>>2]|0;if(c>>>0>b>>>0){k[a+59780>>2]=c-b;a=1;return a|0}else{k[a+59780>>2]=0;a=1;return a|0}return 0}function bMa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=(k[a+59692>>2]|0)+1|0;k[a+59692>>2]=c;b=k[a+59708>>2]|0;d=ha((k[a+59700>>2]|0)+1|0,b)|0;if(c>>>0>=(d+(k[a+59704>>2]|0)|0)>>>0){k[a+59700>>2]=0;k[a+59704>>2]=0;k[a+59692>>2]=0;k[a+59720>>2]=k[a+59716>>2];b=k[a+59728>>2]|0;c=k[a+59732>>2]|0;if((b|0)!=(c|0)){k[a+59728>>2]=c;b=c}if(!(k[a+59660>>2]&32)){do if(b>>>0<256){c=i[a+53344+b>>0]|0;k[a+59724>>2]=c&255;if((c&255)<240)if(!(k[a+51904+((c&255)<<2)>>2]|0)){k[a+59724>>2]=254;d=a+59724|0;b=254;e=11;break}if((c&255)>239){d=a+59724|0;b=c&255;e=11}}else{k[a+59724>>2]=255;d=a+59724|0;b=255;e=11}while(0);do if((e|0)==11){if((b|0)==255){a=0;return a|0}a:while(1){b=k[a+59728>>2]|0;if(b>>>0>255){b=0;e=42;break}k[a+59728>>2]=b+1;do if((b+1|0)>>>0<256){b=i[a+53344+(b+1)>>0]|0;k[d>>2]=b&255;if((b&255)<240)if(!(k[a+51904+((b&255)<<2)>>2]|0)){k[d>>2]=254;b=254;break}if((b&255)>239)b=b&255;else{e=20;break a}}else{k[d>>2]=255;b=255}while(0);if((b|0)==255){b=0;e=42;break}}if((e|0)==20){b=k[a+59728>>2]|0;break}else if((e|0)==42)return b|0}while(0);k[a+59732>>2]=b}d=k[a+59724>>2]|0;if(d>>>0>239){a=0;return a|0}if(!(k[a+51904+(d<<2)>>2]|0)){a=0;return a|0}c=k[a+59720>>2]|0;if(c>>>0>=(m[a+52864+(d<<1)>>1]|0)>>>0){k[a+59720>>2]=0;c=0}e=c+1|0;k[a+59716>>2]=e;if(e>>>0>=(m[a+52864+(d<<1)>>1]|0)>>>0){if(!(k[a+59660>>2]&32))k[a+59732>>2]=b+1;k[a+59716>>2]=0}e=k[a+59664>>2]|0;if(e|0){b=(k[a+51904+(d<<2)>>2]|0)+((ha(e,c)|0)*6|0)|0;c=0;d=a;while(1){i[d+246>>0]=i[b>>0]|0;i[d+247>>0]=i[b+1>>0]|0;i[d+248>>0]=i[b+2>>0]|0;i[d+249>>0]=i[b+4>>0]|0;i[d+250>>0]=i[b+3>>0]|0;i[d+251>>0]=i[b+5>>0]|0;k[d+20>>2]=k[d+104>>2];k[d+16>>2]=k[d+100>>2];f=d+36|0;k[f>>2]=k[f>>2]&-983041;i[d+216>>0]=0;c=c+1|0;if(c>>>0>=e>>>0)break;else{b=b+6|0;d=d+256|0}}}b=k[a+59708>>2]|0}if(!b){k[a+59708>>2]=1;b=1}c=k[a+59660>>2]|0;k[a+59660>>2]=c|4096;d=k[a+59692>>2]|0;if(d|0){k[a+59660>>2]=c&-4097;if(!(k[a+59680>>2]&4))if(d>>>0<(ha((k[a+59700>>2]|0)+1|0,b)|0)>>>0)if(!((d>>>0)%(b>>>0)|0))k[a+59660>>2]=c|4096}f=cMa(a)|0;return f|0}function cMa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;b=k[a+59664>>2]|0;a:do if(!b){e=a+59692|0;b=0;f=-1;c=-1;d=-1}else{w=-1;x=0;c=-1;d=-1;y=a;while(1){o=i[y+247>>0]|0;t=i[y+248>>0]|0;s=i[y+249>>0]|0;u=i[y+250>>0]|0;f=i[y+251>>0]|0;switch(u<<24>>24){case 4:case 6:{q=0;break}default:q=t<<24>>24!=11}e=q&1^1;v=y+36|0;p=k[v>>2]|0;k[v>>2]=p&-16777217;do if((u+-19&255)<2){if(!(f<<24>>24))if(!(k[a+59680>>2]&34))z=10;else n=l[y+233>>0]|0;else z=10;if((z|0)==10){z=0;i[y+233>>0]=f;n=f&255}f=n&240;if((f|0)==208){r=n&15;b=n;break}if(!(k[a+59692>>2]|0)){if(!(u<<24>>24==19&(f|0)==96|u<<24>>24==20&(f|0)==176)){if((f|0)!=224){r=0;b=n;break}k[a+59700>>2]=n&15;r=0;b=n;break}h=n&15;b:do if(!h){i[y+244>>0]=k[a+59720>>2];b=-1}else{j=y+245|0;f=i[j>>0]|0;if(!(f<<24>>24)){if(b|0){f=0;g=a;while(1){if((g|0)!=(y|0))if(i[g+245>>0]|0){b=-1;break b}f=f+1|0;if(f>>>0>=b>>>0)break;else g=g+256|0}}i[j>>0]=h}else{i[j>>0]=f+-1<<24>>24;if(!(f+-1<<24>>24<<24>>24)){b=-1;break}}b=l[y+244>>0]|0}while(0);c=(b|0)>-1?b:c;r=0;b=n}else{r=0;b=n}}else{r=0;b=f&255}while(0);j=q^1;do if((k[a+59692>>2]|0)==(r|0)){n=i[y+246>>0]|0;if(o<<24>>24)i[y+215>>0]=o;g=k[a+59680>>2]|0;do if(n<<24>>24==-1&(g&1048581|0)!=0){f=k[y+140>>2]|0;if(f|0)if(k[f+4>>2]&1|0){z=35;break}k[v>>2]=p|16777216;k[y+116>>2]=0}else z=35;while(0);do if((z|0)==35){z=0;if(o<<24>>24!=0&n<<24>>24==0){if(!(k[a+59688>>2]|0)){if((o&255)<240)k[y+116>>2]=m[a+33280+((o&255)<<6)+30>>1]}else{f=k[y+144>>2]|0;if(f|0)k[y+116>>2]=m[f+30>>1];if(g&1048580|0){k[y+148>>2]=0;k[y+152>>2]=0;k[y+156>>2]=0;k[y+188>>2]=0;k[y+192>>2]=0;k[v>>2]=p&-16778241|16777216;k[y+124>>2]=65536}}f=(g&32|0)==0?0:o&255}else f=o&255;h=(n&255)>253|f>>>0>239?0:f;if(((n&255)+-1|0)>>>0<128){i[y+214>>0]=n;if(q)dMa(a,x,h,n&255,0)}if(!h){f=0;z=50}else{f=y+144|0;g=k[f>>2]|0;fMa(a,y,h,j,1,1);i[y+215>>0]=0;if(!(k[a+59680>>2]&34)){f=1;z=50}else{e=(((n&255)+-1|0)>>>0<127?(g|0)!=(k[f>>2]|0):0)?0:e;if(!(n<<24>>24))break;else f=1}}if((z|0)==50){z=0;if(!(n<<24>>24))break;if(f)f=1;else{f=y+215|0;g=i[f>>0]|0;if(n<<24>>24>-1&g<<24>>24!=0){fMa(a,y,g&255,j,0,(k[a+59680>>2]&1048580|0)==0);i[f>>0]=0;f=0}else f=0}}q=(e&1)!=0;gMa(a,x,n&255,q,(k[a+59680>>2]&1048580|0)==0);if(q)if(f&(k[a+59680>>2]&1048580|0)!=0){k[v>>2]=k[v>>2]|16777216;k[y+148>>2]=0;k[y+152>>2]=0;k[y+156>>2]=0;k[y+188>>2]=0;k[y+192>>2]=0}}while(0);if(t<<24>>24==1){k[y+116>>2]=(s&255)>64?256:(s&255)<<2;k[v>>2]=k[v>>2]|16777216;e=(e&1)!=0;break}e=(e&1)!=0;if(t<<24>>24==2){k[y+120>>2]=(s&255)>64?256:(s&255)<<2;k[v>>2]=k[v>>2]|16777216}else{j=e;z=61}}else z=61;while(0);c:do if((z|0)==61){z=0;if((t&255)>2){g=k[a+59692>>2]|0;if(g>>>0>>0)e=j;else{if(t<<24>>24==11)if(!(k[a+59680>>2]&32)){jMa(a,y,(s&255)<<4);e=j;break}else{jMa(a,y,l[521231+(s&15)>>0]|0);e=j;break}e=y+234|0;if(!(s<<24>>24))e=l[e>>0]|0;else{i[e>>0]=s;e=s&255}do switch(t&255|0){case 3:{kMa(a,y,e<<4);e=j;break c}case 4:{kMa(a,y,e);e=j;break c}case 5:{f=k[a+59680>>2]|0;if(f&32|0){if((g|0)!=(r|0)){e=j;break c}kMa(a,y,e<<4|15);e=j;break c}if(!e)e=l[y+219>>0]|0;else i[y+219>>0]=e;if(!(k[a+59660>>2]&4096)){e=j;break c}t=y+116|0;s=(k[t>>2]|0)+(e<<2)|0;k[t>>2]=(s|0)>256?256:s;if(!(f&1)){e=j;break c}k[v>>2]=k[v>>2]|16777216;e=j;break c}case 6:{f=k[a+59680>>2]|0;if(f&32|0){if((g|0)!=(r|0)){e=j;break c}kMa(a,y,e|240);e=j;break c}if(!e)e=l[y+219>>0]|0;else i[y+219>>0]=e;if(!(k[a+59660>>2]&4096)){e=j;break c}t=y+116|0;s=(k[t>>2]|0)-(e<<2)|0;k[t>>2]=(s|0)<0?0:s;if(!(f&1)){e=j;break c}k[v>>2]=k[v>>2]|16777216;e=j;break c}case 7:{e=e&15;if(e|0)i[y+225>>0]=e;k[v>>2]=k[v>>2]|65536;e=j;break c}case 8:{f=e&15;if(f|0)i[y+226>>0]=f<<2;if(e&240|0)i[y+225>>0]=e>>>4;k[v>>2]=k[v>>2]|65536;e=j;break c}case 9:{if(!e)e=l[y+222>>0]|0;else i[y+222>>0]=e;d:do if(!(k[a+59680>>2]&290)){if(k[a+59660>>2]&4096|0){e=j;break c}f=e&15;if(!f){e=e>>>2&60;break}else{e=0-(f<<2)|0;break}}else{g=e&15;e=e&240;do if((g|0)==15){f=(k[a+59660>>2]&4096|0)==0;if(!e)if(f){e=0;f=0;break}else{e=j;break c}if(f){e=j;break c}e=0-(e>>>2)|0;break d}else{f=(k[a+59660>>2]&4096|0)==0;if((g|0)==0|(e|0)!=240)if(f){f=(g|0)==0;break}else{e=j;break c}else if(f){e=j;break c}else{e=g<<2;break d}}while(0);if(f){e=0-(e>>>2)|0;break}else{e=g<<2;break}}while(0);if(!e){e=j;break c}t=y+120|0;e=(k[t>>2]|0)+e|0;e=(e|0)<0?0:e;k[t>>2]=(e|0)>256?256:e;e=j;break c}case 10:{f=e<<4;if(!e)f=l[y+222>>0]|0;else i[y+222>>0]=f;e:do if(!(k[a+59680>>2]&290)){if(k[a+59660>>2]&4096|0){e=j;break c}e=f&15;if(!e){e=f>>>2&60;break}else{e=0-(e<<2)|0;break}}else{g=f&15;e=f&240;do if((g|0)==15){f=(k[a+59660>>2]&4096|0)==0;if(!e)if(f){e=0;f=0;break}else{e=j;break c}if(f){e=j;break c}e=0-(e>>>2)|0;break e}else{f=(k[a+59660>>2]&4096|0)==0;if((g|0)==0|(e|0)!=240)if(f){f=(g|0)==0;break}else{e=j;break c}else if(f){e=j;break c}else{e=g<<2;break e}}while(0);if(f){e=0-(e>>>2)|0;break}else{e=g<<2;break}}while(0);if(!e){e=j;break c}t=y+120|0;e=(k[t>>2]|0)+e|0;e=(e|0)<0?0:e;k[t>>2]=(e|0)>256?256:e;e=j;break c}case 12:{lMa(a,y,e<<2);e=j;break c}case 13:{mMa(a,y,e<<2);e=j;break c}default:{e=j;break c}}while(0)}}else e=j}while(0);f:do if(!(u<<24>>24))f=w;else do switch(u&255|0){case 13:{if(k[a+59692>>2]|0){f=w;break f}k[y+116>>2]=b>>>0<64?b<<2:256;k[v>>2]=k[v>>2]|16777216;f=w;break f}case 2:{if(!b)if(k[a+59680>>2]&1|0){f=w;break f}lMa(a,y,b);f=w;break f}case 3:{if(!b)if(k[a+59680>>2]&1|0){f=w;break f}mMa(a,y,b);f=w;break f}case 11:{if(!b)if((k[a+59680>>2]|0)==1){f=w;break f}kMa(a,y,b);f=w;break f}case 4:{jMa(a,y,b);f=w;break f}case 6:{if(!b){if((k[a+59680>>2]|0)!=1)z=159}else z=159;if((z|0)==159){z=0;kMa(a,y,b)}jMa(a,y,0);f=w;break f}case 5:{e=b&15;if(e|0)i[y+226>>0]=e<<2;if(b&240|0)i[y+225>>0]=b>>>4&15;k[v>>2]=k[v>>2]|65536;f=w;break f}case 7:{if(!b){if((k[a+59680>>2]|0)!=1)z=168}else z=168;if((z|0)==168){z=0;kMa(a,y,b)}k[v>>2]=k[v>>2]|65536;f=w;break f}case 16:{if(k[a+59692>>2]|0){f=w;break f}e=k[a+59680>>2]|0;f=(e|0)==32?256:128;if((b+-1|0)>>>0>126)z=173;else if(b>>>0>29&(e&1048581|0)!=0)z=173;if((z|0)==173){z=0;if(nMa(a,k[a+59728>>2]|0,(k[a+59720>>2]|0)+1|0)|0){WLa(a,1e3)|0;e=k[a+59680>>2]|0}}b=b>>>0>128&(e&2|0)!=0?b+-128|0:b;if((b+-1|0)>>>0>=f>>>0){f=w;break f}k[a+59708>>2]=b;f=w;break f}case 17:{if(k[a+59692>>2]|0){f=w;break f}do if(k[a+59680>>2]&34)if(!b){b=l[y+235>>0]|0;break}else{i[y+235>>0]=b;break}while(0);if(b>>>0>=32){k[a+59712>>2]=b;f=w;break f}e=b<<1&30;f=k[a+59712>>2]|0;if((b&240|0)==16){k[a+59712>>2]=(f+e|0)>>>0>255?255:f+e|0;f=w;break f}else{k[a+59712>>2]=(f-e|0)<32?32:f-e|0;f=w;break f}}case 10:{if(k[a+59692>>2]|0){f=w;break f}if(!b)b=l[y+236>>0]|0;else i[y+236>>0]=b;b=l[y+237>>0]<<16|b<<8;if((i[y+246>>0]|0)<=0){if(b>>>0>=(k[y+32>>2]|0)>>>0){f=w;break f}if(!(k[a+59680>>2]&131088)){f=w;break f}k[y+4>>2]=b;f=w;break f}f=y+4|0;if(!e)b=(k[f>>2]|0)+b|0;k[f>>2]=b;e=k[y+32>>2]|0;if(b>>>0>>0){f=w;break f}if(k[a+59680>>2]&1048580|0){f=w;break f}k[f>>2]=k[y+40>>2];if(!(e>>>0>4?(k[a+59660>>2]&4|0)!=0:0)){f=w;break f}k[f>>2]=e+-2;f=w;break f}case 1:{if(k[a+59692>>2]|0){f=w;break f}if(!(k[y+128>>2]|0)){f=w;break f}if(!(i[y+212>>0]|0)){f=w;break f}if(b|0){i[y+216>>0]=1;i[y+217>>0]=b;f=w;break f}if(!(k[a+59680>>2]&34)){f=w;break f}i[y+216>>0]=1;f=w;break f}case 15:{if(!(k[a+59680>>2]&1048580))if(!b)b=l[y+241>>0]|0;else z=215;else{if(!(b&240))b=l[y+241>>0]&240|b;if(!(b&15))b=l[y+241>>0]&15|b;b=b|256;z=215}if((z|0)==215){z=0;i[y+241>>0]=b}oMa(a,x,b);f=w;break f}case 18:{if(k[a+59692>>2]|0){f=w;break f}i[y+216>>0]=18;if(!b){f=w;break f}i[y+243>>0]=b;f=w;break f}case 23:{if(k[a+59692>>2]|0){f=w;break f}f=b<<((k[a+59680>>2]|0)!=32&1);k[a+59744>>2]=f>>>0>128?256:f<<1;f=w;break f}case 24:{if(!b)b=k[a+59760>>2]|0;else k[a+59760>>2]=b;e=b&15;f=b&240;do if((e|0)!=15|(f|0)==0){b=(k[a+59660>>2]&4096|0)==0;if(!((f|0)!=240|(e|0)==0)){if(b){f=w;break f}b=0-(e<<1)|0;break}if(!b){f=w;break f}if(!f){b=0-(e<<1)|0;break}else{b=f>>>3;break}}else{if(!(k[a+59660>>2]&4096)){f=w;break f}b=b>>>4<<1}while(0);if(!b){f=w;break f}f=(b<<((k[a+59680>>2]|0)!=32&1))+(k[a+59744>>2]|0)|0;f=(f|0)<0?0:f;k[a+59744>>2]=(f|0)>256?256:f;f=w;break f}case 9:{if(k[a+59692>>2]|0){f=w;break f}if(!(k[a+59660>>2]&16384))k[v>>2]=k[v>>2]&-2049;do if(!(k[a+59680>>2]&1048612)){if(b>>>0<129){k[y+120>>2]=b<<1;break}if((b|0)==164){k[v>>2]=k[v>>2]|2048;k[y+120>>2]=128}}else k[y+120>>2]=b;while(0);k[v>>2]=k[v>>2]|16777216;f=w;break f}case 29:{if(!b)b=l[y+222>>0]|0;else i[y+222>>0]=b;g:do if(!(k[a+59680>>2]&290)){if(k[a+59660>>2]&4096|0){f=w;break f}e=b&15;if(!e){b=b>>>2&60;break}else{b=0-(e<<2)|0;break}}else{f=b&15;b=b&240;do if((f|0)==15){e=(k[a+59660>>2]&4096|0)==0;if(!b)if(e){b=0;e=0;break}else{f=w;break f}if(e){f=w;break f}b=0-(b>>>2)|0;break g}else{e=(k[a+59660>>2]&4096|0)==0;if((f|0)==0|(b|0)!=240)if(e){e=(f|0)==0;break}else{f=w;break f}else if(e){f=w;break f}else{b=f<<2;break g}}while(0);if(e){b=0-(b>>>2)|0;break}else{b=f<<2;break}}while(0);if(!b){f=w;break f}f=y+120|0;v=(k[f>>2]|0)+b|0;v=(v|0)<0?0:v;k[f>>2]=(v|0)>256?256:v;f=w;break f}case 8:{e=b&15;if(e|0)i[y+229>>0]=e<<2;if(b&240|0)i[y+228>>0]=b>>>4&15;k[v>>2]=k[v>>2]|131072;f=w;break f}case 26:{e=b&15;if(e|0)i[y+226>>0]=e;if(b&240|0)i[y+225>>0]=b>>>4&15;k[v>>2]=k[v>>2]|65536;f=w;break f}case 19:{pMa(a,x,b);f=w;break f}case 20:{qMa(a,x,b);f=w;break f}case 25:{if(k[a+59692>>2]|0){f=w;break f}eMa(a,x);f=w;break f}case 28:switch(b&240|0){case 16:{b=b&15;g=(k[a+59680>>2]&1048580|0)==0;do if(!g)if(!b){b=l[y+221>>0]|0;break}else{i[y+221>>0]=b;break}while(0);e=k[a+59660>>2]|0;if(!(e&4096)){f=w;break f}h=y+128|0;f=k[h>>2]|0;if(!((b|0)!=0&(f|0)!=0)){f=w;break f}if((e&16|0)==0|g^1)b=f-b|0;else b=TLa(f,k[41276+((b&15)<<2)>>2]|0,65536)|0;k[h>>2]=(b|0)<1?1:b;f=w;break f}case 32:{b=b&15;g=(k[a+59680>>2]&1048580|0)==0;do if(!g)if(!b){b=l[y+221>>0]|0;break}else{i[y+221>>0]=b;break}while(0);e=k[a+59660>>2]|0;if(!(e&4096)){f=w;break f}h=y+128|0;f=k[h>>2]|0;if(!((b|0)!=0&(f|0)!=0)){f=w;break f}if((e&16|0)==0|g^1)b=f+b|0;else b=TLa(f,k[41340+((b&15)<<2)>>2]|0,65536)|0;k[h>>2]=(b|0)>65535?65535:b;f=w;break f}case 160:case 144:case 112:case 96:case 80:{qMa(a,x,b);f=w;break f}default:{f=w;break f}}case 21:{if(!(b>>>0<65&(k[a+59692>>2]|0)==0)){f=w;break f}k[y+168>>2]=b;k[v>>2]=k[v>>2]|16777216;f=w;break f}case 22:{if(!b)b=l[y+223>>0]|0;else i[y+223>>0]=b;e=b&15;f=b&240;do if((e|0)!=15|(f|0)==0){b=(k[a+59660>>2]&4096|0)==0;if(!((f|0)!=240|(e|0)==0))if(b){f=w;break f}else{b=0-e|0;break}if(!b){f=w;break f}if(!e){b=f>>>4;break}else{b=0-e|0;break}}else if(!(k[a+59660>>2]&4096)){f=w;break f}else b=b>>>4;while(0);if(!b){f=w;break f}f=y+168|0;v=(k[f>>2]|0)+b|0;v=(v|0)<0?0:v;k[f>>2]=(v|0)>64?64:v;f=w;break f}case 27:{e=b&15;if(e|0)i[y+232>>0]=e;if(b&240|0)i[y+231>>0]=b>>>4&15;k[v>>2]=k[v>>2]|262144;f=w;break f}case 30:{if(k[a+59692>>2]|0){f=w;break f}k[y+148>>2]=b;k[y+152>>2]=b;k[y+156>>2]=b;e=k[y+140>>2]|0;if(!e){f=w;break f}f=k[v>>2]|0;if(!(f&4194304)){f=w;break f}g=i[e+557>>0]|0;if(!(g<<24>>24)){f=w;break f}if(b>>>0<=(m[e+76+((g&255)+-1<<1)>>1]|0)>>>0){f=w;break f}k[v>>2]=f&-4194305;f=w;break f}case 12:{f=w;d=b;break f}case 14:{f=b;break f}case 31:{if(k[a+59692>>2]|0){f=w;break f}if(b>>>0<128){sMa(a,x,(l[y+254>>0]<<5)+(a+53888)|0,b);f=w;break f}else{sMa(a,x,(b<<5&4064)+(a+54400)|0,0);f=w;break f}}default:{f=w;break f}}while(0);while(0);x=x+1|0;b=k[a+59664>>2]|0;if(x>>>0>=b>>>0){e=a+59692|0;break a}else{w=f;y=y+256|0}}}while(0);if(k[e>>2]|0)return 1;if((c|0)>-1){k[a+59732>>2]=k[a+59728>>2];k[a+59716>>2]=c;if(!(k[a+59700>>2]|0))return 1;k[a+59716>>2]=c+1;return 1}if((f&d|0)<=-1)return 1;e=k[a+59728>>2]|0;g=(d|0)<0?e+1|0:d;d=(f|0)<0?0:f;if((g|0)<(e|0)){c=k[a+59720>>2]|0;z=347}else if((g|0)==(e|0)){c=k[a+59720>>2]|0;if((d|0)<=(c|0))z=347}do if((z|0)==347)if(!(tMa(a,e,c,g,d)|0)){c=k[a+59772>>2]|0;if(!c){k[a+59772>>2]=k[a+59776>>2];return 1}else{if((c|0)<=0)break;k[a+59772>>2]=c+-1;break}}while(0);if((g|0)>=256)return 1;if((g|0)==(e|0)){if((d|0)==(k[a+59720>>2]|0))return 1}else if(b|0){c=0;do{i[a+(c<<8)+245>>0]=0;c=c+1|0}while(c>>>0>>0)}k[a+59732>>2]=g;k[a+59716>>2]=d;return 1}function dMa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,m=0,n=0,o=0;h=k[a+(b<<8)+140>>2]|0;d=(d|0)>128?0:d;if((d|0)<1)return;if(k[a+59680>>2]&1048608|0)if(!((k[a+59688>>2]|0)==0|e)){f=k[a+(b<<8)+96>>2]|0;if((c+-1|0)>>>0<239){e=k[a+48640+(c<<2)>>2]|0;if(!e){j=0;g=0}else if((d|0)<129){c=i[e+300+(d+-1)>>0]|0;d=l[e+428+(d+-1)>>0]|0;if((c+-1&255)<239){j=e;g=k[a+33280+((c&255)<<6)+20>>2]|0}else{j=e;g=f}}else{j=e;g=f}}else{j=h;g=f}if(!h)return;a:do if(b>>>0<128){h=(d|0)==0;if(!g){c=b;f=a+(b<<8)|0;while(1){e=(f|0)==(a+(b<<8)|0);b:do if(e|c>>>0>=(k[a+59664>>2]|0)>>>0)if(e|(k[f+160>>2]|0)==(b+1|0)){e=k[f+140>>2]|0;if(e|0){switch(l[e+572>>0]|0|0){case 1:{if(h)break b;if(!((j|0)==(e|0)?(l[f+212>>0]|0|0)==(d|0):0))break b;break}case 3:{if((j|0)!=(e|0))break b;break}default:break b}switch(l[e+573>>0]|0|0){case 0:{eMa(a,c);k[f+116>>2]=0;break}case 1:{eMa(a,c);break}case 2:{g=f+36|0;k[g>>2]=k[g>>2]|1024;break}default:{}}if(!(k[f+116>>2]|0)){k[f+124>>2]=0;g=f+36|0;k[g>>2]=k[g>>2]|16778240}}}while(0);c=c+1|0;if((c|0)==128)break a;else f=f+256|0}}else{c=b;f=a+(b<<8)|0}while(1){e=(f|0)==(a+(b<<8)|0);c:do if(e|c>>>0>=(k[a+59664>>2]|0)>>>0)if(e|(k[f+160>>2]|0)==(b+1|0)){e=k[f+140>>2]|0;if(e|0){switch(l[e+572>>0]|0|0){case 1:{if(h)break c;if(!((j|0)==(e|0)?(l[f+212>>0]|0|0)==(d|0):0))break c;break}case 2:{if((g|0)!=(k[f+96>>2]|0))break c;break}case 3:{if((j|0)!=(e|0))break c;break}default:break c}switch(l[e+573>>0]|0|0){case 0:{eMa(a,c);k[f+116>>2]=0;break}case 1:{eMa(a,c);break}case 2:{e=f+36|0;k[e>>2]=k[e>>2]|1024;break}default:{}}if(!(k[f+116>>2]|0)){k[f+124>>2]=0;e=f+36|0;k[e>>2]=k[e>>2]|16778240}}}while(0);c=c+1|0;if((c|0)==128)break;else f=f+256|0}}while(0);if(k[a+(b<<8)+36>>2]&256|0)return;if(!(k[a+(b<<8)+116>>2]|0))return;if(!(k[a+(b<<8)+32>>2]|0))return;c=k[a+59664>>2]|0;if(c>>>0>=128)return;d=c;e=a+(c<<8)|0;while(1){if(!(k[e+32>>2]|0))break;d=d+1|0;if(d>>>0>=128){m=67;break}else e=e+256|0}d:do if((m|0)==67){if(!(k[a+(b<<8)+124>>2]|0))return;else{h=16777215;d=c;j=a+(c<<8)|0;f=0;g=4194304}while(1){e=k[j+124>>2]|0;if(!e)break d;n=k[j+116>>2]|0;c=k[j+36>>2]|0;e=ha(n,e)|0;c=((c&1024|0)==0?n<<16:e)>>>(c>>>1&1);if(c>>>0>>0){e=k[j+148>>2]|0;m=73}else if((c|0)==(g|0)){e=k[j+148>>2]|0;if(e>>>0>h>>>0)m=73;else{e=h;c=g}}else{e=h;c=g}if((m|0)==73){m=0;f=d}d=d+1|0;if(d>>>0>=128){d=f;break}else{h=e;j=j+256|0;g=c}}}while(0);if(!d)return;ABb(a+(d<<8)|0,a+(b<<8)|0,256)|0;e=a+(d<<8)+36|0;c=k[e>>2]&-983297;k[e>>2]=c;k[a+(d<<8)+160>>2]=b+1;i[a+(d<<8)+216>>0]=0;switch(l[a+(b<<8)+213>>0]|0|0){case 2:{eMa(a,d);break}case 0:{k[a+(d<<8)+124>>2]=0;m=79;break}case 3:{m=79;break}default:{}}if((m|0)==79)k[e>>2]=c|1024;if(!(k[a+(d<<8)+116>>2]|0)){k[a+(d<<8)+124>>2]=0;k[e>>2]=k[e>>2]|16778240}k[a+(b<<8)+8>>2]=0;k[a+(b<<8)+4>>2]=0;k[a+(b<<8)+32>>2]=0;k[a+(b<<8)+88>>2]=0;k[a+(b<<8)+84>>2]=0;return}if(k[a+59660>>2]&2048|0)return;if(!(k[a+(b<<8)+32>>2]|0))return;if(k[a+(b<<8)+36>>2]&256|0)return;if(!(k[a+(b<<8)+20>>2]|0))if(!(k[a+(b<<8)+16>>2]|0))return;c=k[a+59664>>2]|0;if(c>>>0>=128)return;d=c;e=a+(c<<8)|0;while(1){if(!(k[e+32>>2]|0))break;d=d+1|0;if(d>>>0>=128){m=13;break}else e=e+256|0}e:do if((m|0)==13){if(!(k[a+(b<<8)+124>>2]|0))return;else{h=16777215;d=c;j=a+(c<<8)|0;f=0;g=4194304}while(1){e=k[j+124>>2]|0;if(!e)break e;o=k[j+116>>2]|0;c=k[j+36>>2]|0;n=ha(o,e)|0;c=((c&1024|0)==0?o<<16:n)>>>(c>>>1&1);if(c>>>0>>0){e=k[j+148>>2]|0;m=19}else if((c|0)==(g|0)){e=k[j+148>>2]|0;if(e>>>0>h>>>0)m=19;else{e=h;c=g}}else{e=h;c=g}if((m|0)==19){m=0;f=d}d=d+1|0;if(d>>>0>=128){d=f;break}else{h=e;j=j+256|0;g=c}}}while(0);if(!d)return;ABb(a+(d<<8)|0,a+(b<<8)|0,256)|0;o=a+(d<<8)+36|0;n=k[o>>2]&-17761537;k[a+(d<<8)+160>>2]=b+1;i[a+(d<<8)+216>>0]=0;k[a+(d<<8)+124>>2]=0;k[o>>2]=n|16778240;k[a+(b<<8)+8>>2]=0;k[a+(b<<8)+4>>2]=0;k[a+(b<<8)+32>>2]=0;k[a+(b<<8)+88>>2]=0;k[a+(b<<8)+84>>2]=0;k[a+(b<<8)+16>>2]=0;k[a+(b<<8)+20>>2]=0;return}function eMa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=k[a+(b<<8)+36>>2]|0;k[a+(b<<8)+36>>2]=d|512;f=k[a+(b<<8)+140>>2]|0;if((f|0)!=0&(d&2097152|0)==0){k[a+(b<<8)+36>>2]=d|1536;c=d|1536}else c=d|512;if(!(k[a+(b<<8)+32>>2]|0))return;do if(c&8){e=k[a+(b<<8)+144>>2]|0;if(!((d&512|0)!=0|(e|0)==0)){d=m[e+34>>1]|0;if(!(d&2)){c=c&-135;k[a+(b<<8)+36>>2]=c;k[a+(b<<8)+32>>2]=k[e>>2];break}c=((d&4|0)==0?c&-135:c|4)|2;k[a+(b<<8)+36>>2]=c;g=k[e>>2]|0;k[a+(b<<8)+32>>2]=g;k[a+(b<<8)+40>>2]=k[e+4>>2];d=k[e+8>>2]|0;k[a+(b<<8)+44>>2]=d;if(g>>>0>d>>>0)k[a+(b<<8)+32>>2]=d}}while(0);if(!f)return;if(!(k[f+4>>2]&4))if(!(k[a+59680>>2]&1048580))return;if(!(k[f>>2]|0))return;k[a+(b<<8)+36>>2]=c|1024;return}function fMa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,n=0,o=0;if(c>>>0>239)return;n=k[a+48640+(c<<2)>>2]|0;g=i[b+214>>0]|0;do if(n|0?g+-1<<24>>24<<24>>24>-1:0)if((l[n+428+((g&255)+-1)>>0]|0)>253)return;else{o=i[n+300+((g&255)+-1)>>0]|0;o=(o+-1&255)<239?a+33280+((o&255)<<6)|0:0;break}else if(!(k[a+59688>>2]|0))o=a+33280+(c<<6)|0;else if((g&255)>253)return;else o=0;while(0);if(e){if(!o)g=0;else g=m[o+30>>1]|0;k[b+116>>2]=g}if((n|0)==(k[b+140>>2]|0))if(d)if(n|0?(k[a+59680>>2]&1048580|0)!=0:0){e=k[b+144>>2]|0;if((e|0)==0|(o|0)==(e|0))c=1;else return}else c=1;else c=1;else{k[b+140>>2]=n;c=0}i[b+215>>0]=0;e=(o|0)!=0;if(e){g=m[o+32>>1]|0;if(n|0){g=(ha(m[n+8>>1]|0,g)|0)>>>6;k[b+172>>2]=g;if(k[n+4>>2]&512|0)k[b+120>>2]=m[n+10>>1];i[b+213>>0]=i[n+571>>0]|0}else k[b+172>>2]=g;if(j[o+34>>1]&32)k[b+120>>2]=m[o+28>>1]}a:do if(f){g=k[a+59680>>2]|0;do if(!((g&32|0)==0|d^1))if(!(k[a+59660>>2]&8))if(k[b+32>>2]|0){if(k[b+36>>2]&1024|0)if(!(k[b+124>>2]|0))break;if(!n)break a;if(k[n+4>>2]&1|0)break a;k[b+148>>2]=0;k[b+188>>2]=0;k[b+192>>2]=0;break a}while(0);f=k[b+36>>2]|0;k[b+36>>2]=f|16777216;if((f&1536|0)==0&((n|0)!=0&c&(g&32|0)!=0)){g=k[n+4>>2]|0;if(!(g&2048))k[b+148>>2]=0;if(!(g&4096))k[b+152>>2]=0;if(!(g&8192))k[b+156>>2]=0}else{k[b+148>>2]=0;k[b+152>>2]=0;k[b+156>>2]=0}k[b+188>>2]=0;k[b+192>>2]=0}while(0);if(!e){k[b+144>>2]=0;k[b+172>>2]=0;return}do if(d)if((o|0)==(k[b+144>>2]|0))if(!(k[a+59680>>2]&34)){f=m[o+34>>1]|k[b+36>>2]&-1664;k[b+36>>2]=f;c=b+144|0;d=b+36|0;break}else return;else h=48;else h=48;while(0);if((h|0)==48){g=m[o+34>>1]|k[b+36>>2]&-14681856;k[b+36>>2]=g;if(n|0){c=k[n+4>>2]|0;e=(c&1|0)==0?g:g|2097152;e=(c&8|0)==0?e:e|4194304;e=(c&64|0)==0?e:e|8388608;if(((c&1|0)==0^1|(c&8|0)==0^1)^1^1|(c&64|0)==0^1)k[b+36>>2]=e;if((c&1088|0)==1088)if(!(i[b+238>>0]|0))i[b+238>>0]=127;g=l[n+576>>0]|0;if(g&128|0)i[b+238>>0]=g&127;g=l[n+577>>0]|0;if(!(g&128))g=e;else{i[b+239>>0]=g&127;g=e}}j[b+210>>1]=0;j[b+208>>1]=0;c=b+144|0;d=b+36|0;f=g}k[c>>2]=o;e=k[o>>2]|0;k[b+32>>2]=e;k[b+40>>2]=k[o+4>>2];g=k[o+8>>2]|0;k[b+44>>2]=g;k[b+132>>2]=k[o+24>>2];k[b+96>>2]=k[o+20>>2];k[b+180>>2]=i[o+36>>0];k[b+176>>2]=i[o+37>>0];if(!(f&8))c=f;else{k[b+40>>2]=k[o+12>>2];g=k[o+16>>2]|0;k[b+44>>2]=g;c=f|2;k[d>>2]=c;if(f&16){c=f|6;k[d>>2]=c}}if(!((c&2|0)!=0&g>>>0>>0))return;k[b+32>>2]=g;return}function gMa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,n=0,o=0,p=0,q=0;if((c|0)<1)return;f=k[a+(b<<8)+144>>2]|0;q=k[a+(b<<8)+140>>2]|0;if((c|0)<129&(q|0)!=0){o=i[q+300+(c+-1)>>0]|0;c=l[q+428+(c+-1)>>0]|0;f=(o+-1&255)<239?a+33280+((o&255)<<6)|0:f}if((c|0)>127){eMa(a,b);if((c|0)!=254)return;k[a+(b<<8)+36>>2]=k[a+(b<<8)+36>>2]|16778240;if(!(k[a+59680>>2]&32))p=8;else if(k[a+59688>>2]|0)p=8;if((p|0)==8)k[a+(b<<8)+116>>2]=0;k[a+(b<<8)+124>>2]=0;return}if(!f)return;g=k[a+59680>>2]|0;if(!((g&1048588|0)==0|d)){k[a+(b<<8)+180>>2]=i[f+36>>0];k[a+(b<<8)+176>>2]=i[f+37>>0]}if(g&1048588)c=(k[a+(b<<8)+180>>2]|0)+c|0;c=(c|0)<1?1:c;c=(c|0)>132?132:c;i[a+(b<<8)+212>>0]=c;if(!((g&34|0)==0&d))i[a+(b<<8)+215>>0]=0;c=hMa(a,c,k[a+(b<<8)+176>>2]|0,k[a+(b<<8)+132>>2]|0)|0;do if(!c)c=0;else{if(d){if(!(k[a+(b<<8)+128>>2]|0))k[a+(b<<8)+128>>2]=c;k[a+(b<<8)+136>>2]=c;c=k[a+(b<<8)+32>>2]|0;if(!c)if(!(k[a+59680>>2]&2)){n=a+(b<<8)+32|0;p=24}else c=0}else{k[a+(b<<8)+128>>2]=c;k[a+(b<<8)+136>>2]=c;n=a+(b<<8)+32|0;p=24}if((p|0)==24){k[a+(b<<8)+144>>2]=f;k[a+(b<<8)+96>>2]=k[f+20>>2];o=k[f>>2]|0;k[n>>2]=o;k[a+(b<<8)+44>>2]=o;k[a+(b<<8)+40>>2]=0;g=m[f+34>>1]|0;h=g|k[a+(b<<8)+36>>2]&-256;k[a+(b<<8)+36>>2]=h;if(!(g&8))if(!(g&2))c=o;else{k[a+(b<<8)+40>>2]=k[f+4>>2];c=k[f+8>>2]|0;k[a+(b<<8)+44>>2]=c;if(o>>>0>c>>>0)k[n>>2]=c;else c=o}else{k[a+(b<<8)+40>>2]=k[f+12>>2];c=k[f+16>>2]|0;k[a+(b<<8)+44>>2]=c;k[a+(b<<8)+36>>2]=(g&16|0)==0?h&-7|2:h|6;if(o>>>0>c>>>0)k[n>>2]=c;else c=o}k[a+(b<<8)+4>>2]=0;k[a+(b<<8)+8>>2]=0;if((l[a+(b<<8)+224>>0]|0)<4){if(!(k[a+59680>>2]&32))f=0;else f=(k[a+59660>>2]&4|0)==0;k[a+(b<<8)+196>>2]=f?16:0}if((l[a+(b<<8)+227>>0]|0)<4)k[a+(b<<8)+200>>2]=0}if((k[a+(b<<8)+4>>2]|0)>>>0>>0){if(!d){c=0;break}}else{k[a+(b<<8)+4>>2]=k[a+(b<<8)+40>>2];if(!d){c=0;break}}if(!(k[a+59680>>2]&32))c=1;else{c=k[a+(b<<8)+36>>2]|0;if(c&1024|0)if(!(k[a+(b<<8)+124>>2]|0)){c=1;break}if(k[a+59660>>2]&8|0)if(i[a+(b<<8)+247>>0]|0){c=1;break}k[a+(b<<8)+36>>2]=c&-33554945;return}}while(0);f=k[a+59680>>2]|0;if(f&32|0){g=k[a+(b<<8)+36>>2]|0;if(g&1024|0)if(!(k[a+(b<<8)+124>>2]|0)){k[a+(b<<8)+148>>2]=0;k[a+(b<<8)+152>>2]=0;k[a+(b<<8)+156>>2]=0;k[a+(b<<8)+188>>2]=0;k[a+(b<<8)+192>>2]=0;k[a+(b<<8)+36>>2]=g&-1025;k[a+(b<<8)+124>>2]=65536}}if(c)if(k[a+59660>>2]&8|0)if(!(i[a+(b<<8)+247>>0]|0)){k[a+(b<<8)+36>>2]=k[a+(b<<8)+36>>2]&-33554945;return}if(!(f&1048580))p=54;else if(!(i[a+(b<<8)+247>>0]|0)){k[a+(b<<8)+36>>2]=k[a+(b<<8)+36>>2]&-33554945;if(c)return;else c=a+(b<<8)+36|0}else p=54;if((p|0)==54){p=k[a+(b<<8)+36>>2]|0;k[a+(b<<8)+124>>2]=65536;k[a+(b<<8)+36>>2]=p&-33555969;if(c)return;else c=a+(b<<8)+36|0}k[a+(b<<8)+164>>2]=256;i[a+(b<<8)+253>>0]=-1;i[a+(b<<8)+252>>0]=-1;k[c>>2]=k[c>>2]&-16793601|16777216;i[a+(b<<8)+240>>0]=0;i[a+(b<<8)+242>>0]=0;if(e){j[a+(b<<8)+210>>1]=0;j[a+(b<<8)+208>>1]=0;do if(q|0){c=k[q+4>>2]|0;if(!(c&2048))k[a+(b<<8)+148>>2]=0;if(!(c&4096))k[a+(b<<8)+152>>2]=0;if(!(c&8192))k[a+(b<<8)+156>>2]=0;if(k[a+59680>>2]&32|0){c=i[q+575>>0]|0;if(c<<24>>24){p=(ha(((ppb()|0)&255)+-127|0,c&255)|0)/128|0;p=(((ha(k[a+(b<<8)+116>>2]|0,p)|0)+1|0)/128|0)&65535;j[a+(b<<8)+208>>1]=p}c=i[q+574>>0]|0;if(!(c<<24>>24))break;p=((ha(((ppb()|0)&255)+-127|0,c&255)|0)/128|0)&65535;j[a+(b<<8)+210>>1]=p}}while(0);k[a+(b<<8)+188>>2]=0;k[a+(b<<8)+192>>2]=0}k[a+(b<<8)+16>>2]=0;k[a+(b<<8)+20>>2]=0;c=(k[a+59660>>2]|0)>>>13&1;if(q|0){f=l[q+577>>0]|0;if(!(f&128))c=(c|0)==0;else{i[a+(b<<8)+239>>0]=f&127;c=1}f=l[q+576>>0]|0;if(f&128){i[a+(b<<8)+238>>0]=f&127;c=1}}else{j[a+(b<<8)+210>>1]=0;j[a+(b<<8)+208>>1]=0;c=(c|0)==0}if((l[a+(b<<8)+238>>0]|0)>126|c^1)return;iMa(a,a+(b<<8)|0,1,256);return}function hMa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;if((b+-1|0)>>>0>239){a=0;return a|0}e=k[a+59680>>2]|0;if(e&5136290|0)if(!(k[a+59660>>2]&16)){a=SLa(8363,(m[166784+((((b+-1|0)>>>0)%12|0)<<1)>>1]|0)<<5,((d|0)==0?8363:d)<<(((b+-1|0)>>>0)/12|0))|0;return a|0}else{a=(m[166784+((((b+-1|0)>>>0)%12|0)<<1)>>1]|0)<<5>>>(((b+-1|0)>>>0)/12|0);return a|0}if(!(e&1048580))if((b+-37|0)>>>0>71|(c>>>4&15|0)!=0){a=(m[167024+((((b+-1|0)>>>0)%12|0)+((c>>>4&15)*12|0)<<1)>>1]|0)<<5>>>(((b+-1|0)>>>0)/12|0);return a|0}else{a=(m[167408+(b+-37<<1)>>1]|0)<<2;return a|0}else{e=b>>>0<13?13:b;if(!(k[a+59660>>2]&16)){b=((((e+-13|0)>>>0)%12|0)<<3)+8+((c|0)/16|0)|0;b=(b|0)<0?0:b;d=(c>>31|1)+8+((((e+-13|0)>>>0)%12|0)<<3)+((c|0)/16|0)|0;d=(d|0)<0?0:d;a=((c|0)<0?0-c|0:c)&15;a=(ha(m[166816+(((d|0)>103?103:d)<<1)>>1]|0,a)|0)+(ha(m[166816+(((b|0)>103?103:b)<<1)>>1]|0,16-a|0)|0)<<1>>>(((e+-13|0)>>>0)/12|0);return a|0}else{a=((133-e<<6)-((c|0)/2|0)|0)<1?1:(133-e<<6)-((c|0)/2|0)|0;return a|0}}return 0}function iMa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0.0,f=0.0,g=0.0;e=+((ha(l[b+238>>0]|0,d+256|0)|0)>>>0);d=~~(+Unb(e*((k[a+59660>>2]&32768|0)==0?8.138021075865254e-05:9.300595411332324e-05)+.25)*110.0);if((d|0)<120)e=120.0;else if((d|0)>1e4)e=1.0e4;else{a=k[9751]|0;e=+(((d<<1|0)>(a|0)?a>>>1:d)>>>0)}f=6.28318530716/+((k[9751]|0)>>>0)*e;g=+Y(10.0,+(+(l[b+239>>0]|0)*-.00937500037252903))*2.0;g=(g-((1.0-g)*f>2.0?2.0:(1.0-g)*f))/f;e=g+1.0+1.0/f*(1.0/f);k[b+72>>2]=~~(8192.0/e);k[b+76>>2]=~~((1.0/f*(1.0/f)*2.0+g)/e*8192.0);k[b+80>>2]=~~(-(1.0/f*(1.0/f))/e*8192.0);if(!c){b=b+36|0;c=k[b>>2]|0;c=c|16384;k[b>>2]=c;return}k[b+56>>2]=0;k[b+56+4>>2]=0;k[b+56+8>>2]=0;k[b+56+12>>2]=0;b=b+36|0;c=k[b>>2]|0;c=c|16384;k[b>>2]=c;return}function jMa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;if(c|0)k[b+184>>2]=c<<2;k[b+36>>2]=k[b+36>>2]|524288;e=k[b+128>>2]|0;if(!e)return;d=k[b+136>>2]|0;if(!d)return;f=k[a+59660>>2]|0;if(f&4096|0)return;if((e|0)<(d|0)){c=k[b+184>>2]|0;if(f&16)if(!(k[a+59680>>2]&1048580)){a=TLa(e,k[39228+((c>>2>>>0>255?255:c>>2)<<2)>>2]|0,65536)|0;c=k[b+128>>2]|0;e=c;d=k[b+136>>2]|0;c=(a-c|0)<1?1:a-c|0}a=e+c|0;k[b+128>>2]=(a|0)>(d|0)?d:a;return}if((e|0)<=(d|0))return;c=k[b+184>>2]|0;if(!(f&16)){f=d;a=0-c|0;a=e+a|0;e=(a|0)<(f|0);a=e?f:a;k[b+128>>2]=a;return}if(k[a+59680>>2]&1048580|0){f=d;a=0-c|0;a=e+a|0;e=(a|0)<(f|0);a=e?f:a;k[b+128>>2]=a;return}d=TLa(e,k[40252+((c>>2>>>0>255?255:c>>2)<<2)>>2]|0,65536)|0;a=k[b+128>>2]|0;e=a;f=k[b+136>>2]|0;a=(d-a|0)>-1?-1:d-a|0;a=e+a|0;e=(a|0)<(f|0);a=e?f:a;k[b+128>>2]=a;return}function kMa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;if(!c)f=l[b+218>>0]|0;else{i[b+218>>0]=c;f=c}c=k[b+116>>2]|0;g=k[a+59680>>2]|0;do if(g&2338){d=f&15;e=f&240;if((d|0)!=15){if((e|0)!=240)break;if(!d){c=(k[a+59660>>2]&4098|0)==4096?c+60|0:c;break}i[b+219>>0]=d;if(!(k[a+59660>>2]&4096))return;k[b+116>>2]=(c-(d<<2)|0)<0?0:c-(d<<2)|0;if(!(g&1))return;k[b+36>>2]=k[b+36>>2]|16777216;return}if(!e){c=(k[a+59660>>2]&4098|0)==4096?c+-60|0:c;break}d=f>>>4;if(!d)d=l[b+219>>0]|0;else i[b+219>>0]=d;if(!(k[a+59660>>2]&4096))return;a=c+(d<<2)|0;k[b+116>>2]=(a|0)>256?256:a;if(!(g&1))return;k[b+36>>2]=k[b+36>>2]|16777216;return}while(0);if((k[a+59660>>2]&4098|0)!=4096){d=f&15;if(!d)c=c+(f>>>2&60)|0;else c=c-(d<<2)|0;if(g&1)k[b+36>>2]=k[b+36>>2]|16777216}g=(c|0)<0?0:c;k[b+116>>2]=(g|0)>256?256:g;return}function lMa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;if(!c)c=l[b+220>>0]|0;else i[b+220>>0]=c;f=k[a+59680>>2]|0;if(f&290|0){d=c&240;if(d>>>0>223){e=c&15;if(!e)return;switch(d|0){case 240:{if(f&1048580|0)i[b+221>>0]=e;c=k[a+59660>>2]|0;if(!(c&4096))return;d=k[b+128>>2]|0;if(!d)return;if((c&16|0)==0|(f&1048580|0)==0^1)c=d-(e<<2)|0;else c=TLa(d,k[40252+(e<<2)>>2]|0,65536)|0;k[b+128>>2]=(c|0)<1?1:c;return}case 224:{if(f&1048580|0)i[b+221>>0]=e;c=k[a+59660>>2]|0;if(!(c&4096))return;d=k[b+128>>2]|0;if(!d)return;if((c&16|0)==0|(f&1048580|0)==0^1)c=d-e|0;else c=TLa(d,k[41276+(e<<2)>>2]|0,65536)|0;k[b+128>>2]=(c|0)<1?1:c;return}default:return}}}e=k[a+59660>>2]|0;if(e&4096|0)if((k[a+59708>>2]|0)!=1)return;c=c<<2;d=k[b+128>>2]|0;if(!d)return;do if((e&16|0)!=0&(f&1048580|0)==0)if((c|0)>0){c=TLa(d,k[40252+((c>>2>>>0>255?255:c>>2)<<2)>>2]|0,65536)|0;k[b+128>>2]=c;break}else{c=TLa(d,k[39228+((0-c>>2>>>0>255?255:0-c>>2)<<2)>>2]|0,65536)|0;k[b+128>>2]=c;break}else{k[b+128>>2]=d-c;c=d-c|0}while(0);if((c|0)>=1)return;k[b+128>>2]=1;if(!(k[a+59680>>2]&32))return;k[b+36>>2]=k[b+36>>2]|1024;k[b+124>>2]=0;return}function mMa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;if(!c)c=l[b+220>>0]|0;else i[b+220>>0]=c;f=k[a+59680>>2]|0;if(f&290|0){d=c&240;if(d>>>0>223){e=c&15;if(!e)return;switch(d|0){case 240:{if(f&1048580|0)i[b+221>>0]=e;c=k[a+59660>>2]|0;if(!(c&4096))return;d=k[b+128>>2]|0;if(!d)return;if((c&16|0)==0|(f&1048580|0)==0^1)c=d+(e<<2)|0;else c=TLa(d,k[39228+(e<<2)>>2]|0,65536)|0;k[b+128>>2]=(c|0)>65535?65535:c;return}case 224:{if(f&1048580|0)i[b+221>>0]=e;c=k[a+59660>>2]|0;if(!(c&4096))return;d=k[b+128>>2]|0;if(!d)return;if((c&16|0)==0|(f&1048580|0)==0^1)c=d+e|0;else c=TLa(d,k[41340+(e<<2)>>2]|0,65536)|0;k[b+128>>2]=(c|0)>65535?65535:c;return}default:return}}}e=k[a+59660>>2]|0;if(e&4096|0)if((k[a+59708>>2]|0)!=1)return;c=c<<2;d=k[b+128>>2]|0;if(!d)return;do if((e&16|0)!=0&(f&1048580|0)==0)if((c|0)<0){c=TLa(d,k[40252+((0-c>>2>>>0>255?255:0-c>>2)<<2)>>2]|0,65536)|0;k[b+128>>2]=c;break}else{c=TLa(d,k[39228+((c>>2>>>0>255?255:c>>2)<<2)>>2]|0,65536)|0;k[b+128>>2]=c;break}else{k[b+128>>2]=d+c;c=d+c|0}while(0);if((c|0)>=1)return;k[b+128>>2]=1;if(!(k[a+59680>>2]&32))return;k[b+36>>2]=k[b+36>>2]|1024;k[b+124>>2]=0;return}function nMa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0;if(b>>>0>=256){a=255;return a|0}d=b;a:while(1){e=i[a+53344+d>>0]|0;if(e<<24>>24!=-2){if((e&255)>239){e=14;break}h=k[a+51904+((e&255)<<2)>>2]|0;if(h|0){f=k[a+59664>>2]|0;g=ha(m[a+52864+((e&255)<<1)>>1]|0,f)|0;e=ha(f,(d|0)==(b|0)?c:0)|0;if(e>>>0>>0)do{if(i[h+(e*6|0)>>0]|0){d=0;e=14;break a}if(i[h+(e*6|0)+2>>0]|0){d=0;e=14;break a}f=i[h+(e*6|0)+3>>0]|0;if(f<<24>>24==19){j=l[h+(e*6|0)+5>>0]|0;f=(j&240|0)==240|((j&112|0)==96|(j&240|0)==0)?0:f&255}else f=f&255;e=e+1|0;if((f|0)!=0&(f&254|0)!=16){d=0;e=14;break a}}while(e>>>0>>0)}}d=d+1|0;if(d>>>0>=256){d=255;e=14;break}}if((e|0)==14)return d|0;return 0}function oMa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,m=0;h=i[a+(b<<8)+240>>0]|0;m=k[a+59680>>2]|0;do if(!(m&34)){do if(c&256|0){if((i[a+(b<<8)+248>>0]|0)==1)d=((l[a+(b<<8)+251>>0]|0)>15&1)+(c&15)|0;else d=c&15;e=(d|0)==0?1:d;g=a+59692|0;d=0;j=12}else{f=k[a+59692>>2]|0;if(!f){g=a+59692|0;f=0;d=(m&1048580|0)==0?h&255:0;e=c&15;break}d=(c&15|0)==0?1:c&15;if(!(k[a+59708>>2]|0)){e=d;g=a+59692|0;d=0;j=12}else{e=d;g=a+59692|0;d=((f>>>0)%(d>>>0)|0|0)==0;j=12}}while(0);if((j|0)==12){f=d;d=(h&255)+1|0}if(d>>>0>=e>>>0){if(k[g>>2]|0)break;if(c&256|0){if(f|(i[a+(b<<8)+246>>0]|0)==0)break;c=d&255;i[a+(b<<8)+240>>0]=c;return}}if(!f){c=d;c=c&255;i[a+(b<<8)+240>>0]=c;return}}else if(!(h<<24>>24)){c=(h&255)+1|0;c=c&255;i[a+(b<<8)+240>>0]=c;return}else{if(!(((h&255)>>>0)%(((c&15|0)==0?1:c&15)>>>0)|0)){d=(h&255)+1|0;break}else d=(h&255)+1|0;c=d&255;i[a+(b<<8)+240>>0]=c;return}while(0);if(c>>>4&15|0){e=k[a+(b<<8)+116>>2]|0;if(!(49344>>>(c>>>4&15)&1))e=(i[521263+(c>>>4&15)>>0]<<2)+e|0;else e=(ha(i[521247+(c>>>4&15)>>0]|0,e)|0)>>4;j=(e|0)<0?0:e;k[a+(b<<8)+116>>2]=(j|0)>256?256:j;k[a+(b<<8)+36>>2]=k[a+(b<<8)+36>>2]|16777216}f=i[a+(b<<8)+214>>0]|0;g=k[a+(b<<8)+128>>2]|0;if((f+-1&255)<120)if(!(k[a+(b<<8)+32>>2]|0))e=m;else{dMa(a,b,0,f&255,1);e=k[a+59680>>2]|0}else e=m;if(!(e&1048580))e=0;else{e=i[a+(b<<8)+247>>0]|0;if(c>>>0<256&e<<24>>24!=0){fMa(a,a+(b<<8)|0,e&255,0,0,1);e=1}else e=0;e=c>>>0<256|e}gMa(a,b,f&255,0,e);e=k[a+59680>>2]|0;if(e&32|0)if(g|0?(i[a+(b<<8)+246>>0]|0)==0:0)k[a+(b<<8)+128>>2]=g;c=(e&34|0)==0?0:d;c=c&255;i[a+(b<<8)+240>>0]=c;return}function pMa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;do switch(c&240|0){case 16:{f=k[a+59680>>2]|0;if(!(c&15|f&1048580))return;do if(!(f&1048580))d=c&15;else if(!(c&15)){d=l[a+(b<<8)+221>>0]|0;break}else{i[a+(b<<8)+221>>0]=c&15;d=c&15;break}while(0);e=k[a+59660>>2]|0;if(!(e&4096))return;c=k[a+(b<<8)+128>>2]|0;if(!((d|0)!=0&(c|0)!=0))return;if((e&16|0)==0|(f&1048580|0)==0^1)d=c-(d<<2)|0;else d=TLa(c,k[40252+((d&15)<<2)>>2]|0,65536)|0;k[a+(b<<8)+128>>2]=(d|0)<1?1:d;return}case 32:{f=k[a+59680>>2]|0;if(!(c&15|f&1048580))return;do if(!(f&1048580))d=c&15;else if(!(c&15)){d=l[a+(b<<8)+221>>0]|0;break}else{i[a+(b<<8)+221>>0]=c&15;d=c&15;break}while(0);e=k[a+59660>>2]|0;if(!(e&4096))return;c=k[a+(b<<8)+128>>2]|0;if(!((d|0)!=0&(c|0)!=0))return;if((e&16|0)==0|(f&1048580|0)==0^1)d=c+(d<<2)|0;else d=TLa(c,k[39228+((d&15)<<2)>>2]|0,65536)|0;k[a+(b<<8)+128>>2]=(d|0)>65535?65535:d;return}case 48:{d=k[a+(b<<8)+36>>2]|0;k[a+(b<<8)+36>>2]=d&-1048577;if(!(c&15))return;k[a+(b<<8)+36>>2]=d|1048576;return}case 64:{i[a+(b<<8)+224>>0]=c&7;return}case 80:{if(k[a+59692>>2]|0)return;e=m[167552+((c&15)<<1)>>1]|0;k[a+(b<<8)+132>>2]=e;d=(k[a+59680>>2]&1048580|0)==0?c<<28>>24:(c&15)<<1;k[a+(b<<8)+176>>2]=d;if(!(k[a+(b<<8)+128>>2]|0))return;f=hMa(a,l[a+(b<<8)+212>>0]|0,d,e)|0;k[a+(b<<8)+128>>2]=f;return}case 112:{i[a+(b<<8)+227>>0]=c&7;return}case 128:{if(k[a+59692>>2]|0)return;k[a+(b<<8)+120>>2]=(c&15)<<4|8;k[a+(b<<8)+36>>2]=k[a+(b<<8)+36>>2]|16777216;return}case 144:{oMa(a,b,c&15);return}case 160:{do if(!(c&15))if(!(k[a+59680>>2]&1048580))return;else{d=l[a+(b<<8)+219>>0]|0;break}else{i[a+(b<<8)+219>>0]=c&15;d=c&15}while(0);if(!(k[a+59660>>2]&4096))return;f=(k[a+(b<<8)+116>>2]|0)+(d<<2)|0;k[a+(b<<8)+116>>2]=(f|0)>256?256:f;if(!(k[a+59680>>2]&1))return;k[a+(b<<8)+36>>2]=k[a+(b<<8)+36>>2]|16777216;return}case 176:{do if(!(c&15))if(!(k[a+59680>>2]&1048580))return;else{d=l[a+(b<<8)+219>>0]|0;break}else{i[a+(b<<8)+219>>0]=c&15;d=c&15}while(0);if(!(k[a+59660>>2]&4096))return;f=(k[a+(b<<8)+116>>2]|0)-(d<<2)|0;k[a+(b<<8)+116>>2]=(f|0)<0?0:f;if(!(k[a+59680>>2]&1))return;k[a+(b<<8)+36>>2]=k[a+(b<<8)+36>>2]|16777216;return}case 192:{if((k[a+59692>>2]|0)!=(c&15|0))return;k[a+(b<<8)+116>>2]=0;k[a+(b<<8)+36>>2]=k[a+(b<<8)+36>>2]|16777216;return}case 240:{i[a+(b<<8)+254>>0]=c&15;return}default:return}while(0)}function qMa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;do switch(c&240|0){case 16:{d=k[a+(b<<8)+36>>2]|0;k[a+(b<<8)+36>>2]=d&-1048577;if(!(c&15))return;k[a+(b<<8)+36>>2]=d|1048576;return}case 32:{if(k[a+59692>>2]|0)return;d=m[167552+((c&15)<<1)>>1]|0;k[a+(b<<8)+132>>2]=d;k[a+(b<<8)+176>>2]=c<<28>>24;if(!(k[a+(b<<8)+128>>2]|0))return;c=hMa(a,l[a+(b<<8)+212>>0]|0,c<<28>>24,d)|0;k[a+(b<<8)+128>>2]=c;return}case 48:{i[a+(b<<8)+224>>0]=c&7;return}case 64:{i[a+(b<<8)+227>>0]=c&7;return}case 80:{i[a+(b<<8)+230>>0]=c&7;return}case 96:{k[a+59704>>2]=c&15;return}case 112:{if(k[a+59692>>2]|0)return;do switch(c&15|0){case 2:case 1:case 0:{d=k[a+59664>>2]|0;if(d>>>0>=128)return;switch(c&15|0){case 1:{c=a+(d<<8)|0;while(1){if((k[c+160>>2]|0)==(b+1|0))eMa(a,d);d=d+1|0;if((d|0)==128)break;else c=c+256|0}return}case 2:{c=a+(d<<8)|0;while(1){if((k[c+160>>2]|0)==(b+1|0)){a=c+36|0;k[a>>2]=k[a>>2]|1024}d=d+1|0;if((d|0)==128)break;else c=c+256|0}return}default:{c=a+(d<<8)|0;while(1){if((k[c+160>>2]|0)==(b+1|0)){a=c+36|0;k[a>>2]=k[a>>2]|1024;k[c+124>>2]=0}d=d+1|0;if((d|0)==128)break;else c=c+256|0}return}}}case 3:{i[a+(b<<8)+213>>0]=0;return}case 4:{i[a+(b<<8)+213>>0]=1;return}case 5:{i[a+(b<<8)+213>>0]=2;return}case 6:{i[a+(b<<8)+213>>0]=3;return}case 7:{k[a+(b<<8)+36>>2]=k[a+(b<<8)+36>>2]&-2097153;return}case 8:{k[a+(b<<8)+36>>2]=k[a+(b<<8)+36>>2]|2097152;return}case 9:{k[a+(b<<8)+36>>2]=k[a+(b<<8)+36>>2]&-4194305;return}case 10:{k[a+(b<<8)+36>>2]=k[a+(b<<8)+36>>2]|4194304;return}case 11:{k[a+(b<<8)+36>>2]=k[a+(b<<8)+36>>2]&-8388609;return}case 12:{k[a+(b<<8)+36>>2]=k[a+(b<<8)+36>>2]|8388608;return}default:return}while(0)}case 128:{if(k[a+59692>>2]|0)return;k[a+(b<<8)+120>>2]=(c&15)<<4|8;k[a+(b<<8)+36>>2]=k[a+(b<<8)+36>>2]|16777216;return}case 144:{rMa(a,a+(b<<8)|0,c&15);return}case 160:{if(k[a+59692>>2]|0)return;i[a+(b<<8)+237>>0]=c&15;if((i[a+(b<<8)+246>>0]|0)<=0)return;if((c&15)<<16>>>0>=(k[a+(b<<8)+32>>2]|0)>>>0)return;k[a+(b<<8)+4>>2]=(c&15)<<16;return}case 192:{if((k[a+59692>>2]|0)!=(c&15|0))return;k[a+(b<<8)+116>>2]=0;k[a+(b<<8)+36>>2]=k[a+(b<<8)+36>>2]|16777216;return}case 240:{i[a+(b<<8)+254>>0]=c&15;return}default:return}while(0)}function rMa(a,b,c){a=a|0;b=b|0;c=c|0;if(k[a+59692>>2]|0)return;do switch(c&15|0){case 0:{k[b+36>>2]=k[b+36>>2]&-2049;return}case 1:{k[b+36>>2]=k[b+36>>2]|2048;k[b+120>>2]=128;return}case 8:{k[b+36>>2]=k[b+36>>2]&-201326593|134217728;return}case 9:{k[b+36>>2]=k[b+36>>2]&-201326593|67108864;return}case 10:{k[a+59660>>2]=k[a+59660>>2]&-16385;return}case 11:{k[a+59660>>2]=k[a+59660>>2]|16384;return}case 12:{k[a+59660>>2]=k[a+59660>>2]&-8193;return}case 13:{k[a+59660>>2]=k[a+59660>>2]|8192;return}case 14:{k[b+36>>2]=k[b+36>>2]&-129;return}case 15:{c=k[b+36>>2]|0;if(!(c&2))if(!(k[b+4>>2]|0)){a=k[b+32>>2]|0;if(a|0){k[b+4>>2]=a+-1;k[b+8>>2]=65535}}k[b+36>>2]=c|128;return}default:return}while(0)}function sMa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0;e=k[c>>2]|0;if((e&2136964959|0)<826683462)switch(e&2136964959|0){case 809906246:{f=23;break}default:f=2}else switch(e&2136964959|0){case 826683462:{f=23;break}default:f=2}if((f|0)==2){if(!((e&255)<<24>>24))return;else{l=e&255;m=1;h=0;g=0;e=0;j=0;n=0}while(1){f=l<<24>>24;a:do if((l+-48&255)<10){h=f+-48|h<<4;f=j+1|0}else{if((l+-65&255)<6){h=f+-55|h<<4;f=j+1|0;break}if((l+-97&255)<6){h=f+-87|h<<4;f=j+1|0;break}switch(l<<24>>24){case 90:case 122:{h=d&127;f=2;break a}case 88:case 120:{h=d&112;f=2;break a}case 89:case 121:{h=d<<3&120;f=2;break a}default:{if(j>>>0<=1){f=j;break a}g=h<<(e<<3)|g;e=e+1|0;if(e>>>0<=2){h=0;f=0;break a}e=k[a+59664>>2]|0;if(e>>>0>b>>>0)f=b+1|0;else f=k[a+(b<<8)+160>>2]|0;if((f+-1|0)>>>0>=e>>>0){h=0;g=0;e=0;f=0;break a}e=(k[a+49600+((f+-1|0)*36|0)+12>>2]|0)+-1|0;if(e>>>0>=8){h=0;g=0;e=0;f=0;break a}f=k[a+58496+(e*144|0)>>2]|0;if(!f){h=0;g=0;e=0;f=0;break a}if(!(k[a+58496+(e*144|0)+4>>2]|0)){h=0;g=0;e=0;f=0;break a}Di[k[(k[f>>2]|0)+32>>2]&511](f,g);h=0;g=0;e=0;f=0;break a}}}while(0);if((n+7|0)>>>0>=33){f=42;break}l=i[c+m>>0]|0;if(!(l<<24>>24)){f=42;break}else{n=m;m=m+1|0;j=f}}if((f|0)==42)return}else if((f|0)==23){if((i[c+4>>0]|0)!=48)return;e=i[c+6>>0]|0;b:do switch(e<<24>>24){case 90:case 122:break;default:{f=i[c+7>>0]|0;if((e+-48&255)<10)d=(e<<24>>24<<4)+-768|0;else if((e+-65&255)<6)d=(e<<24>>24<<4)+-880|0;else d=0;if((f+-48&255)<10){d=(f<<24>>24)+-48+d|0;break b}if((f+-65&255)<6)d=(f<<24>>24)+-55+d|0}}while(0);switch(i[c+5>>0]|0){case 48:{e=i[a+(b<<8)+238>>0]|0;if(d>>>0<128){d=d&255;i[a+(b<<8)+238>>0]=d}else d=e;c=(e&255)-(d&255)|0;d=k[a+(b<<8)+36>>2]|0;if(!(((((c|0)<0?0-c|0:c)|0)<16?1:(k[a+(b<<8)+116>>2]|0)>0)|(d&16384|0)==0))if(k[a+(b<<8)+16>>2]|k[a+(b<<8)+20>>2]|0)return;iMa(a,a+(b<<8)|0,(d&16384|0)==0,256);return}case 49:{if(d>>>0<128)i[a+(b<<8)+239>>0]=d;iMa(a,a+(b<<8)|0,(k[a+(b<<8)+36>>2]&16384|0)==0,256);return}default:return}}}function tMa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,m=0,n=0,o=0;o=r;r=r+256|0;if(d>>>0>=240){a=0;r=o;return a|0}while(1){if((i[a+53344+d>>0]|0)!=-2)break;d=d+1|0;if(d>>>0>=240){d=0;f=24;break}}if((f|0)==24){r=o;return d|0}if(b>>>0>239){a=0;r=o;return a|0}if(d>>>0>b>>>0){a=1;r=o;return a|0}if(d>>>0>>0){a=0;r=o;return a|0}d=j[a+52864+(b<<1)>>1]|0;if((d&65535)>>>0<=e>>>0){a=0;r=o;return a|0}n=k[a+51904+(b<<2)>>2]|0;if((e|c)>>>0>255|(n|0)==0){a=0;r=o;return a|0}vBb(o|0,0,256)|0;m=(d&65535)>256?256:d&65535;i[o+c>>0]=1;f=e;a:while(1){if(f>>>0>=256){d=0;break}d=o+f|0;if(i[d>>0]|0){d=0;break}if(f>>>0>=m>>>0){d=1;break}i[d>>0]=1;d=f+1|0;g=k[a+59664>>2]|0;if(g){e=-1;h=0;c=n+((ha(g,f)|0)*6|0)|0;f=0;while(1){switch(i[c+3>>0]|0){case 12:{f=l[c+5>>0]|0;if(f>>>0>>0){d=0;break a}if(f>>>0>b>>>0){d=1;break a}else f=1;break}case 14:{e=l[c+5>>0]|0;break}default:{}}h=h+1|0;if(h>>>0>=g>>>0)break;else c=c+6|0}if((e|0)>-1)if(!f){d=1;break}else d=e}if(d>>>0>>0)f=d;else{d=1;break}}a=d;r=o;return a|0}function uMa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;if(!b){b=0;return b|0}if(!(k[a+59680>>2]&2130009)){c=1;while(1){e=hMa(a,c,0,0)|0;if(!((e|0)<1|(e|0)>(b|0))){e=12;break}c=c+1|0;if(c>>>0>=120){c=120;e=12;break}}if((e|0)==12)return c|0}d=0;while(1){a=m[167408+(d<<1)>>1]|0;if(b>>>2>>>0>=a>>>0){f=d;break}d=d+1|0;if(d>>>0>=72){c=108;e=12;break}}if((e|0)==12)return c|0;if((f|0)!=0&(b>>>2|0)!=(a|0))if(((m[167408+(f+-1<<1)>>1]|0)-(b>>>2)|0)>>>0<((b>>>2)-a|0)>>>0){b=f+36|0;return b|0}b=f+37|0;return b|0}function vMa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;if(!b){b=0;return b|0}e=k[a+59680>>2]|0;if(e&2130009|0){b=14187580/(b>>>0)|0;return b|0}a=(k[a+59660>>2]&16|0)!=0;if(!(e&1048580))if(a){b=SLa((c|0)==0?8363:c,438272,(b<<8)+d|0)|0;return b|0}else{b=SLa(8363,438272,(b<<8)+d|0)|0;return b|0}else if(a){b=(k[41404+(((b>>>0)%768|0)<<2)>>2]|0)>>>((b>>>0)/768|0);return b|0}else{b=14317456/(b>>>0)|0;return b|0}return 0}function wMa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;e=k[c>>2]|0;f=k[d>>2]|0;if(!(f|e)){vBb(a|0,0,b<<3|0)|0;return}if(b){g=0;do{j=(0-e>>31&255)+e>>8;i=(0-f>>31&255)+f>>8;e=e-j|0;f=f-i|0;h=g<<1;k[a+(h<<2)>>2]=j;k[a+((h|1)<<2)>>2]=i;g=g+1|0}while((g|0)!=(b|0))}k[c>>2]=e;k[d>>2]=f;return}function xMa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;if(!b){v=0;return v|0}if((k[9750]|0)>>>0>2)vBb(740804,0,b<<3|0)|0;if(!(k[a+59668>>2]|0)){v=0;return v|0}u=0;t=0;c=0;while(1){s=k[a+32768+(u<<2)>>2]|0;do if(!(k[a+(s<<8)>>2]|0))d=t;else{e=k[a+(s<<8)+36>>2]|0;do if(!(e&4096)){d=k[182125]|0;if((d&1040|0)==1040){q=e>>>5&2|e&1|e>>>11&8|48;break}if(!(d&16)){q=e>>>5&2|e&1|e>>>11&8|16;break}else{q=e>>>5&2|e&1|e>>>11&8|32;break}}else q=e>>>5&2|e&1|e>>>11&8;while(0);if(q>>>0<64)if((k[a+(s<<8)+20>>2]|0)==(k[a+(s<<8)+16>>2]|0))if(!(k[a+(s<<8)+92>>2]|0))r=44732;else if((k[a+(s<<8)+28>>2]|0)==(k[a+(s<<8)+24>>2]|0))r=44732;else v=17;else v=17;else v=17;if((v|0)==17){v=0;r=44476}e=e&67108864|0?736708:e&134217728|0?728516:k[182125]&128|0?736708:728516;if((e|0)==736708){d=k[182128]|0;if(!d)vBb(736708,0,b<<3|0)|0;k[182128]=d+b}c=c+1|0;p=q|4;f=k[a+(s<<8)+92>>2]|0;h=b;a:while(1){g=(f|0)>0&(h|0)>(f|0)?f:h;l=k[a+(s<<8)+36>>2]|0;if(!(l&2))n=0;else n=k[a+(s<<8)+40>>2]|0;i=k[a+(s<<8)+12>>2]|0;if(!((g|0)>0&(i|0)!=0)){g=e;break}o=k[a+(s<<8)+32>>2]|0;if(!o){g=e;break}d=k[a+(s<<8)+4>>2]|0;do if((n|0)>(d|0)){if((i|0)>=0){if((d|0)>=0){l=i;break}k[a+(s<<8)+4>>2]=0;d=0;l=i;break}m=(n-d<<16)-(k[a+(s<<8)+8>>2]&65535)|0;d=m>>16|n;k[a+(s<<8)+4>>2]=d;k[a+(s<<8)+8>>2]=m&65535;if((d|0)<(n|0))v=31;else if(d>>>0>=(o+n|0)>>>1>>>0)v=31;if((v|0)==31){v=0;k[a+(s<<8)+4>>2]=n;k[a+(s<<8)+8>>2]=0;d=n}k[a+(s<<8)+12>>2]=0-i;k[a+(s<<8)+36>>2]=l&-129;if(d>>>0>>0&((l&2|0)==0^1))l=0-i|0;else{d=h;v=33;break a}}else if(d>>>0>>0)l=i;else{if(!(l&2)){g=e;break a}if(!(l&4)){if((i|0)<0){k[a+(s<<8)+12>>2]=0-i;i=0-i|0}d=d+(n-o)|0;k[a+(s<<8)+4>>2]=d;if((d|0)>=(n|0)){l=i;break}d=k[a+(s<<8)+40>>2]|0;k[a+(s<<8)+4>>2]=d;l=i;break}else{if((i|0)>0){k[a+(s<<8)+12>>2]=0-i;j=0-i|0}else j=i;k[a+(s<<8)+36>>2]=l|128;i=65536-(k[a+(s<<8)+8>>2]&65535)|0;k[a+(s<<8)+4>>2]=(o<<1)-d-(i>>>16);k[a+(s<<8)+8>>2]=i&65535;if(((o<<1)-d-(i>>>16)|0)>>>0>>0?((o<<1)-d-(i>>>16)|0)>>>0>(k[a+(s<<8)+40>>2]|0)>>>0:0){d=(o<<1)-d-(i>>>16)|0;l=j;break}k[a+(s<<8)+4>>2]=o+-1;d=o+-1|0;l=j;break}}while(0);if(!((d|0)<(o|0)&(((d|0)<0|(d|0)<(n|0)&(l|d|0)<0)^1))){g=e;break}m=k[a+(s<<8)+8>>2]|0;if((l|0)<0){j=0-l|0;i=(16384/((j>>16)+1|0)|0|0)<2?2:16384/((j>>16)+1|0)|0;i=(i|0)<(g|0)?i:g;if((d-(ha(i+-1|0,j>>16)|0)+((m&65535)-(ha(i+-1|0,j&65535)|0)>>16)|0)<(n|0)){g=EBb(d|0,((d|0)<0)<<31>>31|0,n|0,((n|0)<0)<<31>>31|0)|0;g=DBb(g|0,L|0,16)|0;g=xBb(m&65535|g|0,L|0,-1,-1)|0;g=IBb(g|0,L|0,j|0,((j|0)<0)<<31>>31|0)|0;g=g+1|0}}else{n=l>>16;i=(16384/(n+1|0)|0|0)<2?2:16384/(n+1|0)|0;i=(i|0)<(g|0)?i:g;if(((ha(i+-1|0,n)|0)+d+((ha(i+-1|0,l&65535)|0)+(m&65535)>>16)|0)>=(o|0)){g=EBb(o|0,0,d|0,((d|0)<0)<<31>>31|0)|0;g=DBb(g|0,L|0,16)|0;g=xBb(g|0,L|0,-1,-1)|0;g=EBb(g|0,L|0,m&65535|0,0)|0;g=IBb(g|0,L|0,l|0,((l|0)<0)<<31>>31|0)|0;g=g+1|0}}if((g|0)<2)i=1;else if((g|0)>(i|0)){if((i|0)<1){g=e;break}}else i=g;if(t>>>0<(k[9749]|0)>>>0)v=63;else if(!(k[182125]&65536))v=65;else v=63;do if((v|0)==63){v=0;g=(f|0)==0;if(g)if(!(k[a+(s<<8)+16>>2]|k[a+(s<<8)+20>>2])){v=65;break}n=k[r+((g?q:p)<<2)>>2]|0;f=i<<1;o=e+(f<<2)|0;d=e+(f+-2<<2)|0;k[a+(s<<8)+84>>2]=0-(k[d>>2]|0);f=e+(f+-1<<2)|0;k[a+(s<<8)+88>>2]=0-(k[f>>2]|0);kj[n&255](a+(s<<8)|0,e,o);k[a+(s<<8)+84>>2]=(k[a+(s<<8)+84>>2]|0)+(k[d>>2]|0);k[a+(s<<8)+88>>2]=(k[a+(s<<8)+88>>2]|0)+(k[f>>2]|0);f=k[a+(s<<8)+92>>2]|0;d=1;e=o}while(0);if((v|0)==65){v=0;o=(ha(l,i)|0)+m|0;k[a+(s<<8)+8>>2]=o&65535;k[a+(s<<8)+4>>2]=(o>>16)+d;k[a+(s<<8)+88>>2]=0;k[a+(s<<8)+84>>2]=0;d=0;e=e+(i<<1<<2)|0}h=h-i|0;do if(!f)f=0;else{f=f-i|0;k[a+(s<<8)+92>>2]=f;if((f|0)>=1)break;k[a+(s<<8)+92>>2]=0;k[a+(s<<8)+16>>2]=k[a+(s<<8)+100>>2];k[a+(s<<8)+20>>2]=k[a+(s<<8)+104>>2];k[a+(s<<8)+28>>2]=0;k[a+(s<<8)+24>>2]=0;if(!(k[a+(s<<8)+36>>2]&1024)){f=0;break}if(k[a+(s<<8)+124>>2]|0){f=0;break}k[a+(s<<8)+32>>2]=0;k[a+(s<<8)>>2]=0;f=0}while(0);if((h|0)<=0){v=73;break}}if((v|0)==33){v=0;k[a+(s<<8)+4>>2]=o;k[a+(s<<8)+8>>2]=0;h=d;g=e}else if((v|0)==73){v=0;d=d+t|0;break}k[a+(s<<8)>>2]=0;k[a+(s<<8)+32>>2]=0;k[a+(s<<8)+4>>2]=0;k[a+(s<<8)+8>>2]=0;k[a+(s<<8)+92>>2]=0;d=k[a+(s<<8)+84>>2]|0;e=k[a+(s<<8)+88>>2]|0;if(e|d){if(h){f=0;do{o=(0-d>>31&255)+d>>8;q=(0-e>>31&255)+e>>8;d=d-o|0;e=e-q|0;r=f<<1;p=g+(r<<2)|0;k[p>>2]=o+(k[p>>2]|0);r=g+((r|1)<<2)|0;k[r>>2]=q+(k[r>>2]|0);f=f+1|0}while((f|0)!=(h|0))}k[a+(s<<8)+84>>2]=d;k[a+(s<<8)+88>>2]=e}k[182126]=(k[182126]|0)+d;k[182127]=(k[182127]|0)+(k[a+(s<<8)+88>>2]|0);k[a+(s<<8)+88>>2]=0;k[a+(s<<8)+84>>2]=0;k[a+(s<<8)+36>>2]=k[a+(s<<8)+36>>2]&-129;d=t}while(0);u=u+1|0;if(u>>>0>=(k[a+59668>>2]|0)>>>0)break;else t=d}return c|0}function yMa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;e=k[a>>2]|0;f=k[a+4>>2]|0;e=(k[a+36>>2]&64|0)==0?e:e+f|0;d=k[a+8>>2]|0;do{h=i[e+((d>>16)+f)>>0]<<8;g=ha(h,k[a+16>>2]|0)|0;k[b>>2]=g+(k[b>>2]|0);h=ha(k[a+20>>2]|0,h)|0;g=b+4|0;k[g>>2]=(k[g>>2]|0)+h;b=b+8|0;d=(k[a+12>>2]|0)+d|0}while(b>>>0>>0);k[a+4>>2]=(k[a+4>>2]|0)+(d>>16);k[a+8>>2]=d&65535;return}function zMa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=k[a+4>>2]|0;d=(k[a>>2]|0)+(e<<1)|0;e=(k[a+36>>2]&64|0)==0?d:d+(e<<1)|0;d=k[a+8>>2]|0;do{g=j[e+(d>>16<<1)>>1]|0;f=ha(g,k[a+16>>2]|0)|0;k[b>>2]=(k[b>>2]|0)+f;g=ha(k[a+20>>2]|0,g)|0;f=b+4|0;k[f>>2]=(k[f>>2]|0)+g;b=b+8|0;d=(k[a+12>>2]|0)+d|0}while(b>>>0>>0);k[a+4>>2]=(k[a+4>>2]|0)+(d>>16);k[a+8>>2]=d&65535;return}function AMa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;e=k[a>>2]|0;f=k[a+4>>2]|0;e=(k[a+36>>2]&64|0)==0?e:e+f|0;d=k[a+8>>2]|0;do{g=d>>16<<1;h=i[e+((g|1)+f)>>0]<<8;g=ha(i[e+(g+f)>>0]<<8,k[a+16>>2]|0)|0;k[b>>2]=(k[b>>2]|0)+g;h=ha(h,k[a+20>>2]|0)|0;g=b+4|0;k[g>>2]=(k[g>>2]|0)+h;b=b+8|0;d=(k[a+12>>2]|0)+d|0}while(b>>>0>>0);k[a+4>>2]=(k[a+4>>2]|0)+(d>>16);k[a+8>>2]=d&65535;return}function BMa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=k[a+4>>2]|0;d=(k[a>>2]|0)+(e<<1)|0;e=(k[a+36>>2]&64|0)==0?d:d+(e<<1)|0;d=k[a+8>>2]|0;do{f=d>>16<<1;g=j[e+((f|1)<<1)>>1]|0;f=ha(k[a+16>>2]|0,j[e+(f<<1)>>1]|0)|0;k[b>>2]=(k[b>>2]|0)+f;g=ha(k[a+20>>2]|0,g)|0;f=b+4|0;k[f>>2]=(k[f>>2]|0)+g;b=b+8|0;d=(k[a+12>>2]|0)+d|0}while(b>>>0>>0);k[a+4>>2]=(k[a+4>>2]|0)+(d>>16);k[a+8>>2]=d&65535;return}function CMa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0;g=k[a>>2]|0;h=k[a+4>>2]|0;g=(k[a+36>>2]&64|0)==0?g:g+h|0;d=k[a+8>>2]|0;e=k[a+52>>2]|0;f=k[a+48>>2]|0;do{l=i[g+((d>>16)+h)>>0]<<8;e=(k[a+28>>2]|0)+e|0;f=(k[a+24>>2]|0)+f|0;j=ha(f>>12,l)|0;k[b>>2]=j+(k[b>>2]|0);l=ha(e>>12,l)|0;j=b+4|0;k[j>>2]=(k[j>>2]|0)+l;b=b+8|0;d=(k[a+12>>2]|0)+d|0}while(b>>>0>>0);k[a+4>>2]=(k[a+4>>2]|0)+(d>>16);k[a+8>>2]=d&65535;k[a+48>>2]=f;k[a+16>>2]=f>>12;k[a+52>>2]=e;k[a+20>>2]=e>>12;return}function DMa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;g=k[a+4>>2]|0;d=(k[a>>2]|0)+(g<<1)|0;g=(k[a+36>>2]&64|0)==0?d:d+(g<<1)|0;d=k[a+8>>2]|0;e=k[a+52>>2]|0;f=k[a+48>>2]|0;do{i=j[g+(d>>16<<1)>>1]|0;e=(k[a+28>>2]|0)+e|0;f=(k[a+24>>2]|0)+f|0;h=ha(f>>12,i)|0;k[b>>2]=h+(k[b>>2]|0);i=ha(e>>12,i)|0;h=b+4|0;k[h>>2]=(k[h>>2]|0)+i;b=b+8|0;d=(k[a+12>>2]|0)+d|0}while(b>>>0>>0);k[a+4>>2]=(k[a+4>>2]|0)+(d>>16);k[a+8>>2]=d&65535;k[a+48>>2]=f;k[a+16>>2]=f>>12;k[a+52>>2]=e;k[a+20>>2]=e>>12;return}function EMa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0;g=k[a>>2]|0;h=k[a+4>>2]|0;g=(k[a+36>>2]&64|0)==0?g:g+h|0;d=k[a+8>>2]|0;e=k[a+52>>2]|0;f=k[a+48>>2]|0;do{j=d>>16<<1;l=i[g+((j|1)+h)>>0]<<8;e=(k[a+28>>2]|0)+e|0;f=(k[a+24>>2]|0)+f|0;j=ha(i[g+(j+h)>>0]<<8,f>>12)|0;k[b>>2]=j+(k[b>>2]|0);l=ha(l,e>>12)|0;j=b+4|0;k[j>>2]=(k[j>>2]|0)+l;b=b+8|0;d=(k[a+12>>2]|0)+d|0}while(b>>>0>>0);k[a+4>>2]=(k[a+4>>2]|0)+(d>>16);k[a+8>>2]=d&65535;k[a+48>>2]=f;k[a+16>>2]=f>>12;k[a+52>>2]=e;k[a+20>>2]=e>>12;return}function FMa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;g=k[a+4>>2]|0;d=(k[a>>2]|0)+(g<<1)|0;g=(k[a+36>>2]&64|0)==0?d:d+(g<<1)|0;d=k[a+8>>2]|0;e=k[a+52>>2]|0;f=k[a+48>>2]|0;do{h=d>>16<<1;i=j[g+((h|1)<<1)>>1]|0;e=(k[a+28>>2]|0)+e|0;f=(k[a+24>>2]|0)+f|0;h=ha(f>>12,j[g+(h<<1)>>1]|0)|0;k[b>>2]=h+(k[b>>2]|0);i=ha(e>>12,i)|0;h=b+4|0;k[h>>2]=(k[h>>2]|0)+i;b=b+8|0;d=(k[a+12>>2]|0)+d|0}while(b>>>0>>0);k[a+4>>2]=(k[a+4>>2]|0)+(d>>16);k[a+8>>2]=d&65535;k[a+48>>2]=f;k[a+16>>2]=f>>12;k[a+52>>2]=e;k[a+20>>2]=e>>12;return}function GMa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0;g=k[a>>2]|0;h=k[a+4>>2]|0;g=(k[a+36>>2]&64|0)==0?g:g+h|0;d=k[a+56>>2]|0;f=k[a+60>>2]|0;e=k[a+8>>2]|0;while(1){l=ha(i[g+((e>>16)+h)>>0]<<8,k[a+72>>2]|0)|0;j=ha(k[a+76>>2]|0,d)|0;f=j+4096+l+(ha(k[a+80>>2]|0,f)|0)>>13;l=ha(f,k[a+16>>2]|0)|0;k[b>>2]=l+(k[b>>2]|0);l=ha(f,k[a+20>>2]|0)|0;j=b+4|0;k[j>>2]=l+(k[j>>2]|0);b=b+8|0;e=(k[a+12>>2]|0)+e|0;if(b>>>0>=c>>>0)break;else{l=d;d=f;f=l}}k[a+4>>2]=(k[a+4>>2]|0)+(e>>16);k[a+8>>2]=e&65535;k[a+56>>2]=f;k[a+60>>2]=d;return}function HMa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;g=k[a+4>>2]|0;d=(k[a>>2]|0)+(g<<1)|0;g=(k[a+36>>2]&64|0)==0?d:d+(g<<1)|0;d=k[a+56>>2]|0;f=k[a+60>>2]|0;e=k[a+8>>2]|0;while(1){h=ha(j[g+(e>>16<<1)>>1]|0,k[a+72>>2]|0)|0;i=ha(k[a+76>>2]|0,d)|0;f=h+4096+i+(ha(k[a+80>>2]|0,f)|0)>>13;i=ha(f,k[a+16>>2]|0)|0;k[b>>2]=i+(k[b>>2]|0);i=ha(f,k[a+20>>2]|0)|0;h=b+4|0;k[h>>2]=i+(k[h>>2]|0);b=b+8|0;e=(k[a+12>>2]|0)+e|0;if(b>>>0>=c>>>0)break;else{i=d;d=f;f=i}}k[a+4>>2]=(k[a+4>>2]|0)+(e>>16);k[a+8>>2]=e&65535;k[a+56>>2]=f;k[a+60>>2]=d;return}function IMa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;j=k[a>>2]|0;l=k[a+4>>2]|0;j=(k[a+36>>2]&64|0)==0?j:j+l|0;e=k[a+56>>2]|0;f=k[a+60>>2]|0;d=k[a+64>>2]|0;g=k[a+68>>2]|0;h=k[a+8>>2]|0;while(1){p=h>>16<<1;o=k[a+72>>2]|0;r=ha(i[j+(p+l)>>0]<<8,o)|0;q=k[a+76>>2]|0;m=ha(q,e)|0;n=k[a+80>>2]|0;m=r+4096+m+(ha(n,f)|0)>>13;g=(ha(q,d)|0)+4096+(ha(i[j+((p|1)+l)>>0]<<8,o)|0)+(ha(n,g)|0)>>13;n=ha(m,k[a+16>>2]|0)|0;k[b>>2]=n+(k[b>>2]|0);n=ha(g,k[a+20>>2]|0)|0;f=b+4|0;k[f>>2]=n+(k[f>>2]|0);b=b+8|0;f=(k[a+12>>2]|0)+h|0;if(b>>>0>=c>>>0)break;else{q=d;r=e;e=m;d=g;h=f;g=q;f=r}}k[a+4>>2]=(k[a+4>>2]|0)+(f>>16);k[a+8>>2]=f&65535;k[a+56>>2]=m;k[a+60>>2]=e;k[a+64>>2]=g;k[a+68>>2]=d;return}function JMa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0;i=k[a+4>>2]|0;e=(k[a>>2]|0)+(i<<1)|0;i=(k[a+36>>2]&64|0)==0?e:e+(i<<1)|0;e=k[a+56>>2]|0;f=k[a+60>>2]|0;d=k[a+64>>2]|0;g=k[a+68>>2]|0;h=k[a+8>>2]|0;while(1){p=h>>16<<1;o=k[a+72>>2]|0;q=ha(o,j[i+(p<<1)>>1]|0)|0;n=k[a+76>>2]|0;l=ha(n,e)|0;m=k[a+80>>2]|0;l=q+4096+l+(ha(m,f)|0)>>13;g=(ha(j[i+((p|1)<<1)>>1]|0,o)|0)+4096+(ha(n,d)|0)+(ha(m,g)|0)>>13;m=ha(l,k[a+16>>2]|0)|0;k[b>>2]=m+(k[b>>2]|0);m=ha(g,k[a+20>>2]|0)|0;f=b+4|0;k[f>>2]=m+(k[f>>2]|0);b=b+8|0;f=(k[a+12>>2]|0)+h|0;if(b>>>0>=c>>>0)break;else{p=d;q=e;e=l;d=g;h=f;g=p;f=q}}k[a+4>>2]=(k[a+4>>2]|0)+(f>>16);k[a+8>>2]=f&65535;k[a+56>>2]=l;k[a+60>>2]=e;k[a+64>>2]=g;k[a+68>>2]=d;return}function KMa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0;l=k[a>>2]|0;m=k[a+4>>2]|0;l=(k[a+36>>2]&64|0)==0?l:l+m|0;d=k[a+56>>2]|0;f=k[a+60>>2]|0;e=k[a+8>>2]|0;h=k[a+52>>2]|0;g=k[a+48>>2]|0;while(1){j=ha(i[l+((e>>16)+m)>>0]<<8,k[a+72>>2]|0)|0;n=ha(k[a+76>>2]|0,d)|0;j=n+4096+j+(ha(k[a+80>>2]|0,f)|0)>>13;f=(k[a+28>>2]|0)+h|0;g=(k[a+24>>2]|0)+g|0;n=ha(j,g>>12)|0;k[b>>2]=n+(k[b>>2]|0);n=ha(j,f>>12)|0;h=b+4|0;k[h>>2]=n+(k[h>>2]|0);b=b+8|0;e=(k[a+12>>2]|0)+e|0;if(b>>>0>=c>>>0)break;else{n=d;d=j;h=f;f=n}}k[a+4>>2]=(k[a+4>>2]|0)+(e>>16);k[a+8>>2]=e&65535;k[a+56>>2]=j;k[a+60>>2]=d;k[a+48>>2]=g;k[a+16>>2]=g>>12;k[a+52>>2]=f;k[a+20>>2]=f>>12;return}function LMa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0;l=k[a+4>>2]|0;d=(k[a>>2]|0)+(l<<1)|0;l=(k[a+36>>2]&64|0)==0?d:d+(l<<1)|0;d=k[a+56>>2]|0;f=k[a+60>>2]|0;e=k[a+8>>2]|0;h=k[a+52>>2]|0;g=k[a+48>>2]|0;while(1){m=ha(j[l+(e>>16<<1)>>1]|0,k[a+72>>2]|0)|0;i=ha(k[a+76>>2]|0,d)|0;i=m+4096+i+(ha(k[a+80>>2]|0,f)|0)>>13;f=(k[a+28>>2]|0)+h|0;g=(k[a+24>>2]|0)+g|0;m=ha(i,g>>12)|0;k[b>>2]=m+(k[b>>2]|0);m=ha(i,f>>12)|0;h=b+4|0;k[h>>2]=m+(k[h>>2]|0);b=b+8|0;e=(k[a+12>>2]|0)+e|0;if(b>>>0>=c>>>0)break;else{m=d;d=i;h=f;f=m}}k[a+4>>2]=(k[a+4>>2]|0)+(e>>16);k[a+8>>2]=e&65535;k[a+56>>2]=i;k[a+60>>2]=d;k[a+48>>2]=g;k[a+16>>2]=g>>12;k[a+52>>2]=f;k[a+20>>2]=f>>12;return}function MMa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;n=k[a>>2]|0;o=k[a+4>>2]|0;n=(k[a+36>>2]&64|0)==0?n:n+o|0;e=k[a+56>>2]|0;f=k[a+60>>2]|0;d=k[a+64>>2]|0;g=k[a+68>>2]|0;m=k[a+8>>2]|0;j=k[a+52>>2]|0;h=k[a+48>>2]|0;while(1){r=m>>16<<1;q=k[a+72>>2]|0;t=ha(i[n+(r+o)>>0]<<8,q)|0;s=k[a+76>>2]|0;p=ha(s,e)|0;l=k[a+80>>2]|0;p=t+4096+p+(ha(l,f)|0)>>13;l=(ha(s,d)|0)+4096+(ha(i[n+((r|1)+o)>>0]<<8,q)|0)+(ha(l,g)|0)>>13;g=(k[a+28>>2]|0)+j|0;h=(k[a+24>>2]|0)+h|0;j=ha(p,h>>12)|0;k[b>>2]=j+(k[b>>2]|0);j=ha(l,g>>12)|0;f=b+4|0;k[f>>2]=j+(k[f>>2]|0);b=b+8|0;f=(k[a+12>>2]|0)+m|0;if(b>>>0>=c>>>0)break;else{s=d;t=e;e=p;d=l;m=f;j=g;g=s;f=t}}k[a+4>>2]=(k[a+4>>2]|0)+(f>>16);k[a+8>>2]=f&65535;k[a+56>>2]=p;k[a+60>>2]=e;k[a+64>>2]=l;k[a+68>>2]=d;k[a+48>>2]=h;k[a+16>>2]=h>>12;k[a+52>>2]=g;k[a+20>>2]=g>>12;return}function NMa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;n=k[a+4>>2]|0;e=(k[a>>2]|0)+(n<<1)|0;n=(k[a+36>>2]&64|0)==0?e:e+(n<<1)|0;e=k[a+56>>2]|0;f=k[a+60>>2]|0;d=k[a+64>>2]|0;g=k[a+68>>2]|0;m=k[a+8>>2]|0;i=k[a+52>>2]|0;h=k[a+48>>2]|0;while(1){r=m>>16<<1;q=k[a+72>>2]|0;s=ha(q,j[n+(r<<1)>>1]|0)|0;p=k[a+76>>2]|0;o=ha(p,e)|0;l=k[a+80>>2]|0;o=s+4096+o+(ha(l,f)|0)>>13;l=(ha(j[n+((r|1)<<1)>>1]|0,q)|0)+4096+(ha(p,d)|0)+(ha(l,g)|0)>>13;g=(k[a+28>>2]|0)+i|0;h=(k[a+24>>2]|0)+h|0;i=ha(o,h>>12)|0;k[b>>2]=i+(k[b>>2]|0);i=ha(l,g>>12)|0;f=b+4|0;k[f>>2]=i+(k[f>>2]|0);b=b+8|0;f=(k[a+12>>2]|0)+m|0;if(b>>>0>=c>>>0)break;else{r=d;s=e;e=o;d=l;m=f;i=g;g=r;f=s}}k[a+4>>2]=(k[a+4>>2]|0)+(f>>16);k[a+8>>2]=f&65535;k[a+56>>2]=o;k[a+60>>2]=e;k[a+64>>2]=l;k[a+68>>2]=d;k[a+48>>2]=h;k[a+16>>2]=h>>12;k[a+52>>2]=g;k[a+20>>2]=g>>12;return}function OMa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;e=k[a>>2]|0;f=k[a+4>>2]|0;e=(k[a+36>>2]&64|0)==0?e:e+f|0;d=k[a+8>>2]|0;do{g=d>>16;h=i[e+(g+f)>>0]|0;h=(ha((i[e+(f+1+g)>>0]|0)-h|0,d>>>8&255)|0)+(h<<8)|0;g=ha(h,k[a+16>>2]|0)|0;k[b>>2]=g+(k[b>>2]|0);h=ha(h,k[a+20>>2]|0)|0;g=b+4|0;k[g>>2]=h+(k[g>>2]|0);b=b+8|0;d=(k[a+12>>2]|0)+d|0}while(b>>>0>>0);k[a+4>>2]=(k[a+4>>2]|0)+(d>>16);k[a+8>>2]=d&65535;return}function PMa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=k[a+4>>2]|0;d=(k[a>>2]|0)+(e<<1)|0;e=(k[a+36>>2]&64|0)==0?d:d+(e<<1)|0;d=k[a+8>>2]|0;do{f=d>>16;g=j[e+(f<<1)>>1]|0;g=((ha((j[e+(f+1<<1)>>1]|0)-g|0,d>>>8&255)|0)>>8)+g|0;f=ha(g,k[a+16>>2]|0)|0;k[b>>2]=f+(k[b>>2]|0);g=ha(g,k[a+20>>2]|0)|0;f=b+4|0;k[f>>2]=g+(k[f>>2]|0);b=b+8|0;d=(k[a+12>>2]|0)+d|0}while(b>>>0>>0);k[a+4>>2]=(k[a+4>>2]|0)+(d>>16);k[a+8>>2]=d&65535;return}function QMa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0;e=k[a>>2]|0;f=k[a+4>>2]|0;e=(k[a+36>>2]&64|0)==0?e:e+f|0;d=k[a+8>>2]|0;do{j=d>>>8&255;l=d>>16<<1;g=i[e+(l+f)>>0]|0;g=(ha((i[e+(f+2+l)>>0]|0)-g|0,j)|0)+(g<<8)|0;h=i[e+((l|1)+f)>>0]|0;h=(ha((i[e+(f+3+l)>>0]|0)-h|0,j)|0)+(h<<8)|0;g=ha(g,k[a+16>>2]|0)|0;k[b>>2]=g+(k[b>>2]|0);h=ha(h,k[a+20>>2]|0)|0;g=b+4|0;k[g>>2]=h+(k[g>>2]|0);b=b+8|0;d=(k[a+12>>2]|0)+d|0}while(b>>>0>>0);k[a+4>>2]=(k[a+4>>2]|0)+(d>>16);k[a+8>>2]=d&65535;return}function RMa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;e=k[a+4>>2]|0;d=(k[a>>2]|0)+(e<<1)|0;e=(k[a+36>>2]&64|0)==0?d:d+(e<<1)|0;d=k[a+8>>2]|0;do{h=d>>>8&255;i=d>>16<<1;f=j[e+(i<<1)>>1]|0;f=((ha((j[e+(i+2<<1)>>1]|0)-f|0,h)|0)>>8)+f|0;g=j[e+((i|1)<<1)>>1]|0;g=((ha((j[e+(i+3<<1)>>1]|0)-g|0,h)|0)>>8)+g|0;f=ha(f,k[a+16>>2]|0)|0;k[b>>2]=f+(k[b>>2]|0);g=ha(g,k[a+20>>2]|0)|0;f=b+4|0;k[f>>2]=g+(k[f>>2]|0);b=b+8|0;d=(k[a+12>>2]|0)+d|0}while(b>>>0>>0);k[a+4>>2]=(k[a+4>>2]|0)+(d>>16);k[a+8>>2]=d&65535;return}function SMa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0;g=k[a>>2]|0;h=k[a+4>>2]|0;g=(k[a+36>>2]&64|0)==0?g:g+h|0;d=k[a+8>>2]|0;e=k[a+52>>2]|0;f=k[a+48>>2]|0;do{j=d>>16;l=i[g+(j+h)>>0]|0;l=(ha((i[g+(h+1+j)>>0]|0)-l|0,d>>>8&255)|0)+(l<<8)|0;e=(k[a+28>>2]|0)+e|0;f=(k[a+24>>2]|0)+f|0;j=ha(l,f>>12)|0;k[b>>2]=j+(k[b>>2]|0);l=ha(l,e>>12)|0;j=b+4|0;k[j>>2]=l+(k[j>>2]|0);b=b+8|0;d=(k[a+12>>2]|0)+d|0}while(b>>>0>>0);k[a+4>>2]=(k[a+4>>2]|0)+(d>>16);k[a+8>>2]=d&65535;k[a+48>>2]=f;k[a+16>>2]=f>>12;k[a+52>>2]=e;k[a+20>>2]=e>>12;return}function TMa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;g=k[a+4>>2]|0;d=(k[a>>2]|0)+(g<<1)|0;g=(k[a+36>>2]&64|0)==0?d:d+(g<<1)|0;d=k[a+8>>2]|0;e=k[a+52>>2]|0;f=k[a+48>>2]|0;do{h=d>>16;i=j[g+(h<<1)>>1]|0;i=((ha((j[g+(h+1<<1)>>1]|0)-i|0,d>>>8&255)|0)>>8)+i|0;e=(k[a+28>>2]|0)+e|0;f=(k[a+24>>2]|0)+f|0;h=ha(i,f>>12)|0;k[b>>2]=h+(k[b>>2]|0);i=ha(i,e>>12)|0;h=b+4|0;k[h>>2]=i+(k[h>>2]|0);b=b+8|0;d=(k[a+12>>2]|0)+d|0}while(b>>>0>>0);k[a+4>>2]=(k[a+4>>2]|0)+(d>>16);k[a+8>>2]=d&65535;k[a+48>>2]=f;k[a+16>>2]=f>>12;k[a+52>>2]=e;k[a+20>>2]=e>>12;return}function UMa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0;g=k[a>>2]|0;h=k[a+4>>2]|0;g=(k[a+36>>2]&64|0)==0?g:g+h|0;d=k[a+8>>2]|0;e=k[a+52>>2]|0;f=k[a+48>>2]|0;do{m=d>>>8&255;n=d>>16<<1;j=i[g+(n+h)>>0]|0;j=(ha((i[g+(h+2+n)>>0]|0)-j|0,m)|0)+(j<<8)|0;l=i[g+((n|1)+h)>>0]|0;l=(ha((i[g+(h+3+n)>>0]|0)-l|0,m)|0)+(l<<8)|0;e=(k[a+28>>2]|0)+e|0;f=(k[a+24>>2]|0)+f|0;j=ha(f>>12,j)|0;k[b>>2]=j+(k[b>>2]|0);l=ha(l,e>>12)|0;j=b+4|0;k[j>>2]=l+(k[j>>2]|0);b=b+8|0;d=(k[a+12>>2]|0)+d|0}while(b>>>0>>0);k[a+4>>2]=(k[a+4>>2]|0)+(d>>16);k[a+8>>2]=d&65535;k[a+48>>2]=f;k[a+16>>2]=f>>12;k[a+52>>2]=e;k[a+20>>2]=e>>12;return}function VMa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0;g=k[a+4>>2]|0;d=(k[a>>2]|0)+(g<<1)|0;g=(k[a+36>>2]&64|0)==0?d:d+(g<<1)|0;d=k[a+8>>2]|0;e=k[a+52>>2]|0;f=k[a+48>>2]|0;do{l=d>>>8&255;m=d>>16<<1;h=j[g+(m<<1)>>1]|0;h=((ha((j[g+(m+2<<1)>>1]|0)-h|0,l)|0)>>8)+h|0;i=j[g+((m|1)<<1)>>1]|0;i=((ha((j[g+(m+3<<1)>>1]|0)-i|0,l)|0)>>8)+i|0;e=(k[a+28>>2]|0)+e|0;f=(k[a+24>>2]|0)+f|0;h=ha(f>>12,h)|0;k[b>>2]=h+(k[b>>2]|0);i=ha(i,e>>12)|0;h=b+4|0;k[h>>2]=i+(k[h>>2]|0);b=b+8|0;d=(k[a+12>>2]|0)+d|0}while(b>>>0>>0);k[a+4>>2]=(k[a+4>>2]|0)+(d>>16);k[a+8>>2]=d&65535;k[a+48>>2]=f;k[a+16>>2]=f>>12;k[a+52>>2]=e;k[a+20>>2]=e>>12;return}function WMa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0;g=k[a>>2]|0;h=k[a+4>>2]|0;g=(k[a+36>>2]&64|0)==0?g:g+h|0;d=k[a+56>>2]|0;f=k[a+60>>2]|0;e=k[a+8>>2]|0;while(1){j=e>>16;l=i[g+(j+h)>>0]|0;l=(ha((i[g+(h+1+j)>>0]|0)-l|0,e>>>8&255)|0)+(l<<8)|0;l=ha(l,k[a+72>>2]|0)|0;j=ha(k[a+76>>2]|0,d)|0;f=j+4096+(ha(k[a+80>>2]|0,f)|0)+l>>13;l=ha(f,k[a+16>>2]|0)|0;k[b>>2]=l+(k[b>>2]|0);l=ha(f,k[a+20>>2]|0)|0;j=b+4|0;k[j>>2]=l+(k[j>>2]|0);b=b+8|0;e=(k[a+12>>2]|0)+e|0;if(b>>>0>=c>>>0)break;else{l=d;d=f;f=l}}k[a+4>>2]=(k[a+4>>2]|0)+(e>>16);k[a+8>>2]=e&65535;k[a+56>>2]=f;k[a+60>>2]=d;return}function XMa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;g=k[a+4>>2]|0;d=(k[a>>2]|0)+(g<<1)|0;g=(k[a+36>>2]&64|0)==0?d:d+(g<<1)|0;d=k[a+56>>2]|0;f=k[a+60>>2]|0;e=k[a+8>>2]|0;while(1){h=e>>16;i=j[g+(h<<1)>>1]|0;i=((ha((j[g+(h+1<<1)>>1]|0)-i|0,e>>>8&255)|0)>>8)+i|0;i=ha(i,k[a+72>>2]|0)|0;h=ha(k[a+76>>2]|0,d)|0;f=h+4096+(ha(k[a+80>>2]|0,f)|0)+i>>13;i=ha(f,k[a+16>>2]|0)|0;k[b>>2]=i+(k[b>>2]|0);i=ha(f,k[a+20>>2]|0)|0;h=b+4|0;k[h>>2]=i+(k[h>>2]|0);b=b+8|0;e=(k[a+12>>2]|0)+e|0;if(b>>>0>=c>>>0)break;else{i=d;d=f;f=i}}k[a+4>>2]=(k[a+4>>2]|0)+(e>>16);k[a+8>>2]=e&65535;k[a+56>>2]=f;k[a+60>>2]=d;return}function YMa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;j=k[a>>2]|0;l=k[a+4>>2]|0;j=(k[a+36>>2]&64|0)==0?j:j+l|0;e=k[a+56>>2]|0;f=k[a+60>>2]|0;d=k[a+64>>2]|0;g=k[a+68>>2]|0;h=k[a+8>>2]|0;while(1){n=h>>>8&255;q=h>>16<<1;m=i[j+(q+l)>>0]|0;m=(ha((i[j+(l+2+q)>>0]|0)-m|0,n)|0)+(m<<8)|0;o=i[j+((q|1)+l)>>0]|0;o=(ha((i[j+(l+3+q)>>0]|0)-o|0,n)|0)+(o<<8)|0;n=k[a+72>>2]|0;m=ha(m,n)|0;q=k[a+76>>2]|0;r=ha(q,e)|0;p=k[a+80>>2]|0;m=r+4096+m+(ha(p,f)|0)>>13;g=(ha(q,d)|0)+4096+(ha(p,g)|0)+(ha(o,n)|0)>>13;n=ha(m,k[a+16>>2]|0)|0;k[b>>2]=n+(k[b>>2]|0);n=ha(g,k[a+20>>2]|0)|0;f=b+4|0;k[f>>2]=n+(k[f>>2]|0);b=b+8|0;f=(k[a+12>>2]|0)+h|0;if(b>>>0>=c>>>0)break;else{q=d;r=e;e=m;d=g;h=f;g=q;f=r}}k[a+4>>2]=(k[a+4>>2]|0)+(f>>16);k[a+8>>2]=f&65535;k[a+56>>2]=m;k[a+60>>2]=e;k[a+64>>2]=g;k[a+68>>2]=d;return}function ZMa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0;i=k[a+4>>2]|0;e=(k[a>>2]|0)+(i<<1)|0;i=(k[a+36>>2]&64|0)==0?e:e+(i<<1)|0;e=k[a+56>>2]|0;f=k[a+60>>2]|0;d=k[a+64>>2]|0;g=k[a+68>>2]|0;h=k[a+8>>2]|0;while(1){m=h>>>8&255;p=h>>16<<1;l=j[i+(p<<1)>>1]|0;l=((ha((j[i+(p+2<<1)>>1]|0)-l|0,m)|0)>>8)+l|0;n=j[i+((p|1)<<1)>>1]|0;n=((ha((j[i+(p+3<<1)>>1]|0)-n|0,m)|0)>>8)+n|0;m=k[a+72>>2]|0;l=ha(l,m)|0;p=k[a+76>>2]|0;q=ha(p,e)|0;o=k[a+80>>2]|0;l=q+4096+l+(ha(o,f)|0)>>13;g=(ha(p,d)|0)+4096+(ha(o,g)|0)+(ha(n,m)|0)>>13;m=ha(l,k[a+16>>2]|0)|0;k[b>>2]=m+(k[b>>2]|0);m=ha(g,k[a+20>>2]|0)|0;f=b+4|0;k[f>>2]=m+(k[f>>2]|0);b=b+8|0;f=(k[a+12>>2]|0)+h|0;if(b>>>0>=c>>>0)break;else{p=d;q=e;e=l;d=g;h=f;g=p;f=q}}k[a+4>>2]=(k[a+4>>2]|0)+(f>>16);k[a+8>>2]=f&65535;k[a+56>>2]=l;k[a+60>>2]=e;k[a+64>>2]=g;k[a+68>>2]=d;return}function _Ma(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0;l=k[a>>2]|0;m=k[a+4>>2]|0;l=(k[a+36>>2]&64|0)==0?l:l+m|0;d=k[a+56>>2]|0;f=k[a+60>>2]|0;e=k[a+8>>2]|0;h=k[a+52>>2]|0;g=k[a+48>>2]|0;while(1){n=e>>16;j=i[l+(n+m)>>0]|0;j=(ha((i[l+(m+1+n)>>0]|0)-j|0,e>>>8&255)|0)+(j<<8)|0;j=ha(j,k[a+72>>2]|0)|0;n=ha(k[a+76>>2]|0,d)|0;j=n+4096+(ha(k[a+80>>2]|0,f)|0)+j>>13;f=(k[a+28>>2]|0)+h|0;g=(k[a+24>>2]|0)+g|0;n=ha(j,g>>12)|0;k[b>>2]=n+(k[b>>2]|0);n=ha(j,f>>12)|0;h=b+4|0;k[h>>2]=n+(k[h>>2]|0);b=b+8|0;e=(k[a+12>>2]|0)+e|0;if(b>>>0>=c>>>0)break;else{n=d;d=j;h=f;f=n}}k[a+4>>2]=(k[a+4>>2]|0)+(e>>16);k[a+8>>2]=e&65535;k[a+56>>2]=j;k[a+60>>2]=d;k[a+48>>2]=g;k[a+16>>2]=g>>12;k[a+52>>2]=f;k[a+20>>2]=f>>12;return}function $Ma(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0;l=k[a+4>>2]|0;d=(k[a>>2]|0)+(l<<1)|0;l=(k[a+36>>2]&64|0)==0?d:d+(l<<1)|0;d=k[a+56>>2]|0;f=k[a+60>>2]|0;e=k[a+8>>2]|0;h=k[a+52>>2]|0;g=k[a+48>>2]|0;while(1){m=e>>16;i=j[l+(m<<1)>>1]|0;i=((ha((j[l+(m+1<<1)>>1]|0)-i|0,e>>>8&255)|0)>>8)+i|0;i=ha(i,k[a+72>>2]|0)|0;m=ha(k[a+76>>2]|0,d)|0;i=m+4096+(ha(k[a+80>>2]|0,f)|0)+i>>13;f=(k[a+28>>2]|0)+h|0;g=(k[a+24>>2]|0)+g|0;m=ha(i,g>>12)|0;k[b>>2]=m+(k[b>>2]|0);m=ha(i,f>>12)|0;h=b+4|0;k[h>>2]=m+(k[h>>2]|0);b=b+8|0;e=(k[a+12>>2]|0)+e|0;if(b>>>0>=c>>>0)break;else{m=d;d=i;h=f;f=m}}k[a+4>>2]=(k[a+4>>2]|0)+(e>>16);k[a+8>>2]=e&65535;k[a+56>>2]=i;k[a+60>>2]=d;k[a+48>>2]=g;k[a+16>>2]=g>>12;k[a+52>>2]=f;k[a+20>>2]=f>>12;return}function aNa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;n=k[a>>2]|0;o=k[a+4>>2]|0;n=(k[a+36>>2]&64|0)==0?n:n+o|0;e=k[a+56>>2]|0;f=k[a+60>>2]|0;d=k[a+64>>2]|0;g=k[a+68>>2]|0;m=k[a+8>>2]|0;j=k[a+52>>2]|0;h=k[a+48>>2]|0;while(1){l=m>>>8&255;s=m>>16<<1;p=i[n+(s+o)>>0]|0;p=(ha((i[n+(o+2+s)>>0]|0)-p|0,l)|0)+(p<<8)|0;q=i[n+((s|1)+o)>>0]|0;q=(ha((i[n+(o+3+s)>>0]|0)-q|0,l)|0)+(q<<8)|0;l=k[a+72>>2]|0;p=ha(p,l)|0;s=k[a+76>>2]|0;t=ha(s,e)|0;r=k[a+80>>2]|0;p=t+4096+p+(ha(r,f)|0)>>13;l=(ha(s,d)|0)+4096+(ha(r,g)|0)+(ha(q,l)|0)>>13;g=(k[a+28>>2]|0)+j|0;h=(k[a+24>>2]|0)+h|0;j=ha(p,h>>12)|0;k[b>>2]=j+(k[b>>2]|0);j=ha(l,g>>12)|0;f=b+4|0;k[f>>2]=j+(k[f>>2]|0);b=b+8|0;f=(k[a+12>>2]|0)+m|0;if(b>>>0>=c>>>0)break;else{s=d;t=e;e=p;d=l;m=f;j=g;g=s;f=t}}k[a+4>>2]=(k[a+4>>2]|0)+(f>>16);k[a+8>>2]=f&65535;k[a+56>>2]=p;k[a+60>>2]=e;k[a+64>>2]=l;k[a+68>>2]=d;k[a+48>>2]=h;k[a+16>>2]=h>>12;k[a+52>>2]=g;k[a+20>>2]=g>>12;return}function bNa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;n=k[a+4>>2]|0;e=(k[a>>2]|0)+(n<<1)|0;n=(k[a+36>>2]&64|0)==0?e:e+(n<<1)|0;e=k[a+56>>2]|0;f=k[a+60>>2]|0;d=k[a+64>>2]|0;g=k[a+68>>2]|0;m=k[a+8>>2]|0;i=k[a+52>>2]|0;h=k[a+48>>2]|0;while(1){l=m>>>8&255;r=m>>16<<1;o=j[n+(r<<1)>>1]|0;o=((ha((j[n+(r+2<<1)>>1]|0)-o|0,l)|0)>>8)+o|0;p=j[n+((r|1)<<1)>>1]|0;p=((ha((j[n+(r+3<<1)>>1]|0)-p|0,l)|0)>>8)+p|0;l=k[a+72>>2]|0;o=ha(o,l)|0;r=k[a+76>>2]|0;s=ha(r,e)|0;q=k[a+80>>2]|0;o=s+4096+o+(ha(q,f)|0)>>13;l=(ha(r,d)|0)+4096+(ha(q,g)|0)+(ha(p,l)|0)>>13;g=(k[a+28>>2]|0)+i|0;h=(k[a+24>>2]|0)+h|0;i=ha(o,h>>12)|0;k[b>>2]=i+(k[b>>2]|0);i=ha(l,g>>12)|0;f=b+4|0;k[f>>2]=i+(k[f>>2]|0);b=b+8|0;f=(k[a+12>>2]|0)+m|0;if(b>>>0>=c>>>0)break;else{r=d;s=e;e=o;d=l;m=f;i=g;g=r;f=s}}k[a+4>>2]=(k[a+4>>2]|0)+(f>>16);k[a+8>>2]=f&65535;k[a+56>>2]=o;k[a+60>>2]=e;k[a+64>>2]=l;k[a+68>>2]=d;k[a+48>>2]=h;k[a+16>>2]=h>>12;k[a+52>>2]=g;k[a+20>>2]=g>>12;return}function cNa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0;e=k[a>>2]|0;f=k[a+4>>2]|0;e=(k[a+36>>2]&64|0)==0?e:e+f|0;d=k[a+8>>2]|0;do{g=d>>16;h=d>>>4&4092;l=ha(i[e+(f+-1+g)>>0]|0,j[1206442+(h<<1)>>1]|0)|0;l=(ha(i[e+(g+f)>>0]|0,j[1206442+((h|1)<<1)>>1]|0)|0)+l|0;l=l+(ha(i[e+(f+2+g)>>0]|0,j[1206442+((h|3)<<1)>>1]|0)|0)|0;h=l+(ha(i[e+(f+1+g)>>0]|0,j[1206442+((h|2)<<1)>>1]|0)|0)>>6;g=ha(h,k[a+16>>2]|0)|0;k[b>>2]=g+(k[b>>2]|0);h=ha(h,k[a+20>>2]|0)|0;g=b+4|0;k[g>>2]=h+(k[g>>2]|0);b=b+8|0;d=(k[a+12>>2]|0)+d|0}while(b>>>0>>0);k[a+4>>2]=(k[a+4>>2]|0)+(d>>16);k[a+8>>2]=d&65535;return}function dNa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;e=k[a+4>>2]|0;d=(k[a>>2]|0)+(e<<1)|0;e=(k[a+36>>2]&64|0)==0?d:d+(e<<1)|0;d=k[a+8>>2]|0;do{f=d>>16;g=d>>>4&4092;h=ha(j[e+(f+-1<<1)>>1]|0,j[1206442+(g<<1)>>1]|0)|0;h=(ha(j[e+(f<<1)>>1]|0,j[1206442+((g|1)<<1)>>1]|0)|0)+h|0;h=h+(ha(j[e+(f+2<<1)>>1]|0,j[1206442+((g|3)<<1)>>1]|0)|0)|0;g=h+(ha(j[e+(f+1<<1)>>1]|0,j[1206442+((g|2)<<1)>>1]|0)|0)>>14;f=ha(g,k[a+16>>2]|0)|0;k[b>>2]=f+(k[b>>2]|0);g=ha(g,k[a+20>>2]|0)|0;f=b+4|0;k[f>>2]=g+(k[f>>2]|0);b=b+8|0;d=(k[a+12>>2]|0)+d|0}while(b>>>0>>0);k[a+4>>2]=(k[a+4>>2]|0)+(d>>16);k[a+8>>2]=d&65535;return}function eNa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0;e=k[a>>2]|0;f=k[a+4>>2]|0;e=(k[a+36>>2]&64|0)==0?e:e+f|0;d=k[a+8>>2]|0;do{h=d>>>4&4092;n=j[1206442+(h<<1)>>1]|0;l=d>>16<<1;g=ha(i[e+(f+-2+l)>>0]|0,n)|0;o=j[1206442+((h|1)<<1)>>1]|0;g=(ha(i[e+(l+f)>>0]|0,o)|0)+g|0;m=j[1206442+((h|2)<<1)>>1]|0;g=g+(ha(i[e+(f+2+l)>>0]|0,m)|0)|0;h=j[1206442+((h|3)<<1)>>1]|0;g=g+(ha(i[e+(f+4+l)>>0]|0,h)|0)>>6;n=ha(i[e+(f+-1+l)>>0]|0,n)|0;n=(ha(i[e+((l|1)+f)>>0]|0,o)|0)+n|0;m=n+(ha(i[e+(f+3+l)>>0]|0,m)|0)|0;h=m+(ha(i[e+(f+5+l)>>0]|0,h)|0)>>6;g=ha(k[a+16>>2]|0,g)|0;k[b>>2]=(k[b>>2]|0)+g;h=ha(h,k[a+20>>2]|0)|0;g=b+4|0;k[g>>2]=h+(k[g>>2]|0);b=b+8|0;d=(k[a+12>>2]|0)+d|0}while(b>>>0>>0);k[a+4>>2]=(k[a+4>>2]|0)+(d>>16);k[a+8>>2]=d&65535;return}function fNa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0;e=k[a+4>>2]|0;d=(k[a>>2]|0)+(e<<1)|0;e=(k[a+36>>2]&64|0)==0?d:d+(e<<1)|0;d=k[a+8>>2]|0;do{g=d>>>4&4092;l=j[1206442+(g<<1)>>1]|0;h=d>>16<<1;f=ha(j[e+(h+-2<<1)>>1]|0,l)|0;m=j[1206442+((g|1)<<1)>>1]|0;f=(ha(j[e+(h<<1)>>1]|0,m)|0)+f|0;i=j[1206442+((g|2)<<1)>>1]|0;f=f+(ha(j[e+(h+2<<1)>>1]|0,i)|0)|0;g=j[1206442+((g|3)<<1)>>1]|0;f=f+(ha(j[e+(h+4<<1)>>1]|0,g)|0)>>14;l=ha(j[e+(h+-1<<1)>>1]|0,l)|0;l=(ha(j[e+((h|1)<<1)>>1]|0,m)|0)+l|0;i=l+(ha(j[e+(h+3<<1)>>1]|0,i)|0)|0;g=i+(ha(j[e+(h+5<<1)>>1]|0,g)|0)>>14;f=ha(k[a+16>>2]|0,f)|0;k[b>>2]=(k[b>>2]|0)+f;g=ha(g,k[a+20>>2]|0)|0;f=b+4|0;k[f>>2]=g+(k[f>>2]|0);b=b+8|0;d=(k[a+12>>2]|0)+d|0}while(b>>>0>>0);k[a+4>>2]=(k[a+4>>2]|0)+(d>>16);k[a+8>>2]=d&65535;return}function gNa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0;g=k[a>>2]|0;h=k[a+4>>2]|0;g=(k[a+36>>2]&64|0)==0?g:g+h|0;d=k[a+8>>2]|0;e=k[a+52>>2]|0;f=k[a+48>>2]|0;do{l=d>>16;m=d>>>4&4092;n=ha(i[g+(h+-1+l)>>0]|0,j[1206442+(m<<1)>>1]|0)|0;n=(ha(i[g+(l+h)>>0]|0,j[1206442+((m|1)<<1)>>1]|0)|0)+n|0;n=n+(ha(i[g+(h+2+l)>>0]|0,j[1206442+((m|3)<<1)>>1]|0)|0)|0;m=n+(ha(i[g+(h+1+l)>>0]|0,j[1206442+((m|2)<<1)>>1]|0)|0)>>6;e=(k[a+28>>2]|0)+e|0;f=(k[a+24>>2]|0)+f|0;l=ha(m,f>>12)|0;k[b>>2]=l+(k[b>>2]|0);m=ha(m,e>>12)|0;l=b+4|0;k[l>>2]=m+(k[l>>2]|0);b=b+8|0;d=(k[a+12>>2]|0)+d|0}while(b>>>0>>0);k[a+4>>2]=(k[a+4>>2]|0)+(d>>16);k[a+8>>2]=d&65535;k[a+48>>2]=f;k[a+16>>2]=f>>12;k[a+52>>2]=e;k[a+20>>2]=e>>12;return}function hNa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,l=0;g=k[a+4>>2]|0;d=(k[a>>2]|0)+(g<<1)|0;g=(k[a+36>>2]&64|0)==0?d:d+(g<<1)|0;d=k[a+8>>2]|0;e=k[a+52>>2]|0;f=k[a+48>>2]|0;do{h=d>>16;i=d>>>4&4092;l=ha(j[g+(h+-1<<1)>>1]|0,j[1206442+(i<<1)>>1]|0)|0;l=(ha(j[g+(h<<1)>>1]|0,j[1206442+((i|1)<<1)>>1]|0)|0)+l|0;l=l+(ha(j[g+(h+2<<1)>>1]|0,j[1206442+((i|3)<<1)>>1]|0)|0)|0;i=l+(ha(j[g+(h+1<<1)>>1]|0,j[1206442+((i|2)<<1)>>1]|0)|0)>>14;e=(k[a+28>>2]|0)+e|0;f=(k[a+24>>2]|0)+f|0;h=ha(i,f>>12)|0;k[b>>2]=h+(k[b>>2]|0);i=ha(i,e>>12)|0;h=b+4|0;k[h>>2]=i+(k[h>>2]|0);b=b+8|0;d=(k[a+12>>2]|0)+d|0}while(b>>>0>>0);k[a+4>>2]=(k[a+4>>2]|0)+(d>>16);k[a+8>>2]=d&65535;k[a+48>>2]=f;k[a+16>>2]=f>>12;k[a+52>>2]=e;k[a+20>>2]=e>>12;return}function iNa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0,p=0,q=0;g=k[a>>2]|0;h=k[a+4>>2]|0;g=(k[a+36>>2]&64|0)==0?g:g+h|0;d=k[a+8>>2]|0;e=k[a+52>>2]|0;f=k[a+48>>2]|0;do{m=d>>>4&4092;p=j[1206442+(m<<1)>>1]|0;n=d>>16<<1;l=ha(i[g+(h+-2+n)>>0]|0,p)|0;q=j[1206442+((m|1)<<1)>>1]|0;l=(ha(i[g+(n+h)>>0]|0,q)|0)+l|0;o=j[1206442+((m|2)<<1)>>1]|0;l=l+(ha(i[g+(h+2+n)>>0]|0,o)|0)|0;m=j[1206442+((m|3)<<1)>>1]|0;l=l+(ha(i[g+(h+4+n)>>0]|0,m)|0)>>6;p=ha(i[g+(h+-1+n)>>0]|0,p)|0;p=(ha(i[g+((n|1)+h)>>0]|0,q)|0)+p|0;o=p+(ha(i[g+(h+3+n)>>0]|0,o)|0)|0;m=o+(ha(i[g+(h+5+n)>>0]|0,m)|0)>>6;e=(k[a+28>>2]|0)+e|0;f=(k[a+24>>2]|0)+f|0;l=ha(f>>12,l)|0;k[b>>2]=l+(k[b>>2]|0);m=ha(m,e>>12)|0;l=b+4|0;k[l>>2]=m+(k[l>>2]|0);b=b+8|0;d=(k[a+12>>2]|0)+d|0}while(b>>>0>>0);k[a+4>>2]=(k[a+4>>2]|0)+(d>>16);k[a+8>>2]=d&65535;k[a+48>>2]=f;k[a+16>>2]=f>>12;k[a+52>>2]=e;k[a+20>>2]=e>>12;return}function jNa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0;g=k[a+4>>2]|0;d=(k[a>>2]|0)+(g<<1)|0;g=(k[a+36>>2]&64|0)==0?d:d+(g<<1)|0;d=k[a+8>>2]|0;e=k[a+52>>2]|0;f=k[a+48>>2]|0;do{i=d>>>4&4092;n=j[1206442+(i<<1)>>1]|0;l=d>>16<<1;h=ha(j[g+(l+-2<<1)>>1]|0,n)|0;o=j[1206442+((i|1)<<1)>>1]|0;h=(ha(j[g+(l<<1)>>1]|0,o)|0)+h|0;m=j[1206442+((i|2)<<1)>>1]|0;h=h+(ha(j[g+(l+2<<1)>>1]|0,m)|0)|0;i=j[1206442+((i|3)<<1)>>1]|0;h=h+(ha(j[g+(l+4<<1)>>1]|0,i)|0)>>14;n=ha(j[g+(l+-1<<1)>>1]|0,n)|0;n=(ha(j[g+((l|1)<<1)>>1]|0,o)|0)+n|0;m=n+(ha(j[g+(l+3<<1)>>1]|0,m)|0)|0;i=m+(ha(j[g+(l+5<<1)>>1]|0,i)|0)>>14;e=(k[a+28>>2]|0)+e|0;f=(k[a+24>>2]|0)+f|0;h=ha(f>>12,h)|0;k[b>>2]=h+(k[b>>2]|0);i=ha(i,e>>12)|0;h=b+4|0;k[h>>2]=i+(k[h>>2]|0);b=b+8|0;d=(k[a+12>>2]|0)+d|0}while(b>>>0>>0);k[a+4>>2]=(k[a+4>>2]|0)+(d>>16);k[a+8>>2]=d&65535;k[a+48>>2]=f;k[a+16>>2]=f>>12;k[a+52>>2]=e;k[a+20>>2]=e>>12;return}function kNa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0;g=k[a>>2]|0;h=k[a+4>>2]|0;g=(k[a+36>>2]&64|0)==0?g:g+h|0;d=k[a+56>>2]|0;f=k[a+60>>2]|0;e=k[a+8>>2]|0;while(1){l=e>>16;m=e>>>4&4092;n=ha(i[g+(h+-1+l)>>0]|0,j[1206442+(m<<1)>>1]|0)|0;n=(ha(i[g+(l+h)>>0]|0,j[1206442+((m|1)<<1)>>1]|0)|0)+n|0;n=n+(ha(i[g+(h+2+l)>>0]|0,j[1206442+((m|3)<<1)>>1]|0)|0)|0;m=n+(ha(i[g+(h+1+l)>>0]|0,j[1206442+((m|2)<<1)>>1]|0)|0)>>6;m=ha(m,k[a+72>>2]|0)|0;l=ha(k[a+76>>2]|0,d)|0;f=l+4096+(ha(k[a+80>>2]|0,f)|0)+m>>13;m=ha(f,k[a+16>>2]|0)|0;k[b>>2]=m+(k[b>>2]|0);m=ha(f,k[a+20>>2]|0)|0;l=b+4|0;k[l>>2]=m+(k[l>>2]|0);b=b+8|0;e=(k[a+12>>2]|0)+e|0;if(b>>>0>=c>>>0)break;else{n=d;d=f;f=n}}k[a+4>>2]=(k[a+4>>2]|0)+(e>>16);k[a+8>>2]=e&65535;k[a+56>>2]=f;k[a+60>>2]=d;return}function lNa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,l=0;g=k[a+4>>2]|0;d=(k[a>>2]|0)+(g<<1)|0;g=(k[a+36>>2]&64|0)==0?d:d+(g<<1)|0;d=k[a+56>>2]|0;f=k[a+60>>2]|0;e=k[a+8>>2]|0;while(1){h=e>>16;i=e>>>4&4092;l=ha(j[g+(h+-1<<1)>>1]|0,j[1206442+(i<<1)>>1]|0)|0;l=(ha(j[g+(h<<1)>>1]|0,j[1206442+((i|1)<<1)>>1]|0)|0)+l|0;l=l+(ha(j[g+(h+2<<1)>>1]|0,j[1206442+((i|3)<<1)>>1]|0)|0)|0;i=l+(ha(j[g+(h+1<<1)>>1]|0,j[1206442+((i|2)<<1)>>1]|0)|0)>>14;i=ha(i,k[a+72>>2]|0)|0;h=ha(k[a+76>>2]|0,d)|0;f=h+4096+(ha(k[a+80>>2]|0,f)|0)+i>>13;i=ha(f,k[a+16>>2]|0)|0;k[b>>2]=i+(k[b>>2]|0);i=ha(f,k[a+20>>2]|0)|0;h=b+4|0;k[h>>2]=i+(k[h>>2]|0);b=b+8|0;e=(k[a+12>>2]|0)+e|0;if(b>>>0>=c>>>0)break;else{l=d;d=f;f=l}}k[a+4>>2]=(k[a+4>>2]|0)+(e>>16);k[a+8>>2]=e&65535;k[a+56>>2]=f;k[a+60>>2]=d;return}function mNa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;l=k[a>>2]|0;m=k[a+4>>2]|0;l=(k[a+36>>2]&64|0)==0?l:l+m|0;e=k[a+56>>2]|0;f=k[a+60>>2]|0;d=k[a+64>>2]|0;g=k[a+68>>2]|0;h=k[a+8>>2]|0;while(1){p=h>>>4&4092;n=j[1206442+(p<<1)>>1]|0;o=h>>16<<1;s=ha(i[l+(m+-2+o)>>0]|0,n)|0;q=j[1206442+((p|1)<<1)>>1]|0;s=(ha(i[l+(o+m)>>0]|0,q)|0)+s|0;r=j[1206442+((p|2)<<1)>>1]|0;s=s+(ha(i[l+(m+2+o)>>0]|0,r)|0)|0;p=j[1206442+((p|3)<<1)>>1]|0;s=s+(ha(i[l+(m+4+o)>>0]|0,p)|0)>>6;n=ha(i[l+(m+-1+o)>>0]|0,n)|0;n=(ha(i[l+((o|1)+m)>>0]|0,q)|0)+n|0;r=n+(ha(i[l+(m+3+o)>>0]|0,r)|0)|0;p=r+(ha(i[l+(m+5+o)>>0]|0,p)|0)>>6;o=k[a+72>>2]|0;s=ha(o,s)|0;r=k[a+76>>2]|0;n=ha(r,e)|0;q=k[a+80>>2]|0;n=s+4096+n+(ha(q,f)|0)>>13;g=(ha(r,d)|0)+4096+(ha(q,g)|0)+(ha(p,o)|0)>>13;o=ha(n,k[a+16>>2]|0)|0;k[b>>2]=o+(k[b>>2]|0);o=ha(g,k[a+20>>2]|0)|0;f=b+4|0;k[f>>2]=o+(k[f>>2]|0);b=b+8|0;f=(k[a+12>>2]|0)+h|0;if(b>>>0>=c>>>0)break;else{r=d;s=e;e=n;d=g;h=f;g=r;f=s}}k[a+4>>2]=(k[a+4>>2]|0)+(f>>16);k[a+8>>2]=f&65535;k[a+56>>2]=n;k[a+60>>2]=e;k[a+64>>2]=g;k[a+68>>2]=d;return}function nNa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0;i=k[a+4>>2]|0;e=(k[a>>2]|0)+(i<<1)|0;i=(k[a+36>>2]&64|0)==0?e:e+(i<<1)|0;e=k[a+56>>2]|0;f=k[a+60>>2]|0;d=k[a+64>>2]|0;g=k[a+68>>2]|0;h=k[a+8>>2]|0;while(1){n=h>>>4&4092;l=j[1206442+(n<<1)>>1]|0;m=h>>16<<1;q=ha(j[i+(m+-2<<1)>>1]|0,l)|0;o=j[1206442+((n|1)<<1)>>1]|0;q=(ha(j[i+(m<<1)>>1]|0,o)|0)+q|0;p=j[1206442+((n|2)<<1)>>1]|0;q=q+(ha(j[i+(m+2<<1)>>1]|0,p)|0)|0;n=j[1206442+((n|3)<<1)>>1]|0;q=q+(ha(j[i+(m+4<<1)>>1]|0,n)|0)>>14;l=ha(j[i+(m+-1<<1)>>1]|0,l)|0;l=(ha(j[i+((m|1)<<1)>>1]|0,o)|0)+l|0;p=l+(ha(j[i+(m+3<<1)>>1]|0,p)|0)|0;n=p+(ha(j[i+(m+5<<1)>>1]|0,n)|0)>>14;m=k[a+72>>2]|0;q=ha(m,q)|0;p=k[a+76>>2]|0;l=ha(p,e)|0;o=k[a+80>>2]|0;l=q+4096+l+(ha(o,f)|0)>>13;g=(ha(p,d)|0)+4096+(ha(o,g)|0)+(ha(n,m)|0)>>13;m=ha(l,k[a+16>>2]|0)|0;k[b>>2]=m+(k[b>>2]|0);m=ha(g,k[a+20>>2]|0)|0;f=b+4|0;k[f>>2]=m+(k[f>>2]|0);b=b+8|0;f=(k[a+12>>2]|0)+h|0;if(b>>>0>=c>>>0)break;else{p=d;q=e;e=l;d=g;h=f;g=p;f=q}}k[a+4>>2]=(k[a+4>>2]|0)+(f>>16);k[a+8>>2]=f&65535;k[a+56>>2]=l;k[a+60>>2]=e;k[a+64>>2]=g;k[a+68>>2]=d;return}function oNa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0,p=0;m=k[a>>2]|0;n=k[a+4>>2]|0;m=(k[a+36>>2]&64|0)==0?m:m+n|0;d=k[a+56>>2]|0;f=k[a+60>>2]|0;e=k[a+8>>2]|0;h=k[a+52>>2]|0;g=k[a+48>>2]|0;while(1){o=e>>16;l=e>>>4&4092;p=ha(i[m+(n+-1+o)>>0]|0,j[1206442+(l<<1)>>1]|0)|0;p=(ha(i[m+(o+n)>>0]|0,j[1206442+((l|1)<<1)>>1]|0)|0)+p|0;p=p+(ha(i[m+(n+2+o)>>0]|0,j[1206442+((l|3)<<1)>>1]|0)|0)|0;l=p+(ha(i[m+(n+1+o)>>0]|0,j[1206442+((l|2)<<1)>>1]|0)|0)>>6;l=ha(l,k[a+72>>2]|0)|0;o=ha(k[a+76>>2]|0,d)|0;l=o+4096+(ha(k[a+80>>2]|0,f)|0)+l>>13;f=(k[a+28>>2]|0)+h|0;g=(k[a+24>>2]|0)+g|0;o=ha(l,g>>12)|0;k[b>>2]=o+(k[b>>2]|0);o=ha(l,f>>12)|0;h=b+4|0;k[h>>2]=o+(k[h>>2]|0);b=b+8|0;e=(k[a+12>>2]|0)+e|0;if(b>>>0>=c>>>0)break;else{p=d;d=l;h=f;f=p}}k[a+4>>2]=(k[a+4>>2]|0)+(e>>16);k[a+8>>2]=e&65535;k[a+56>>2]=l;k[a+60>>2]=d;k[a+48>>2]=g;k[a+16>>2]=g>>12;k[a+52>>2]=f;k[a+20>>2]=f>>12;return}function pNa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0;l=k[a+4>>2]|0;d=(k[a>>2]|0)+(l<<1)|0;l=(k[a+36>>2]&64|0)==0?d:d+(l<<1)|0;d=k[a+56>>2]|0;f=k[a+60>>2]|0;e=k[a+8>>2]|0;h=k[a+52>>2]|0;g=k[a+48>>2]|0;while(1){m=e>>16;i=e>>>4&4092;n=ha(j[l+(m+-1<<1)>>1]|0,j[1206442+(i<<1)>>1]|0)|0;n=(ha(j[l+(m<<1)>>1]|0,j[1206442+((i|1)<<1)>>1]|0)|0)+n|0;n=n+(ha(j[l+(m+2<<1)>>1]|0,j[1206442+((i|3)<<1)>>1]|0)|0)|0;i=n+(ha(j[l+(m+1<<1)>>1]|0,j[1206442+((i|2)<<1)>>1]|0)|0)>>14;i=ha(i,k[a+72>>2]|0)|0;m=ha(k[a+76>>2]|0,d)|0;i=m+4096+(ha(k[a+80>>2]|0,f)|0)+i>>13;f=(k[a+28>>2]|0)+h|0;g=(k[a+24>>2]|0)+g|0;m=ha(i,g>>12)|0;k[b>>2]=m+(k[b>>2]|0);m=ha(i,f>>12)|0;h=b+4|0;k[h>>2]=m+(k[h>>2]|0);b=b+8|0;e=(k[a+12>>2]|0)+e|0;if(b>>>0>=c>>>0)break;else{n=d;d=i;h=f;f=n}}k[a+4>>2]=(k[a+4>>2]|0)+(e>>16);k[a+8>>2]=e&65535;k[a+56>>2]=i;k[a+60>>2]=d;k[a+48>>2]=g;k[a+16>>2]=g>>12;k[a+52>>2]=f;k[a+20>>2]=f>>12;return}function qNa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;o=k[a>>2]|0;q=k[a+4>>2]|0;o=(k[a+36>>2]&64|0)==0?o:o+q|0;e=k[a+56>>2]|0;f=k[a+60>>2]|0;d=k[a+64>>2]|0;g=k[a+68>>2]|0;n=k[a+8>>2]|0;l=k[a+52>>2]|0;h=k[a+48>>2]|0;while(1){r=n>>>4&4092;p=j[1206442+(r<<1)>>1]|0;m=n>>16<<1;u=ha(i[o+(q+-2+m)>>0]|0,p)|0;s=j[1206442+((r|1)<<1)>>1]|0;u=(ha(i[o+(m+q)>>0]|0,s)|0)+u|0;t=j[1206442+((r|2)<<1)>>1]|0;u=u+(ha(i[o+(q+2+m)>>0]|0,t)|0)|0;r=j[1206442+((r|3)<<1)>>1]|0;u=u+(ha(i[o+(q+4+m)>>0]|0,r)|0)>>6;p=ha(i[o+(q+-1+m)>>0]|0,p)|0;p=(ha(i[o+((m|1)+q)>>0]|0,s)|0)+p|0;t=p+(ha(i[o+(q+3+m)>>0]|0,t)|0)|0;r=t+(ha(i[o+(q+5+m)>>0]|0,r)|0)>>6;m=k[a+72>>2]|0;u=ha(m,u)|0;t=k[a+76>>2]|0;p=ha(t,e)|0;s=k[a+80>>2]|0;p=u+4096+p+(ha(s,f)|0)>>13;m=(ha(t,d)|0)+4096+(ha(s,g)|0)+(ha(r,m)|0)>>13;g=(k[a+28>>2]|0)+l|0;h=(k[a+24>>2]|0)+h|0;l=ha(p,h>>12)|0;k[b>>2]=l+(k[b>>2]|0);l=ha(m,g>>12)|0;f=b+4|0;k[f>>2]=l+(k[f>>2]|0);b=b+8|0;f=(k[a+12>>2]|0)+n|0;if(b>>>0>=c>>>0)break;else{t=d;u=e;e=p;d=m;n=f;l=g;g=t;f=u}}k[a+4>>2]=(k[a+4>>2]|0)+(f>>16);k[a+8>>2]=f&65535;k[a+56>>2]=p;k[a+60>>2]=e;k[a+64>>2]=m;k[a+68>>2]=d;k[a+48>>2]=h;k[a+16>>2]=h>>12;k[a+52>>2]=g;k[a+20>>2]=g>>12;return}function rNa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;n=k[a+4>>2]|0;e=(k[a>>2]|0)+(n<<1)|0;n=(k[a+36>>2]&64|0)==0?e:e+(n<<1)|0;e=k[a+56>>2]|0;f=k[a+60>>2]|0;d=k[a+64>>2]|0;g=k[a+68>>2]|0;m=k[a+8>>2]|0;i=k[a+52>>2]|0;h=k[a+48>>2]|0;while(1){p=m>>>4&4092;o=j[1206442+(p<<1)>>1]|0;l=m>>16<<1;s=ha(j[n+(l+-2<<1)>>1]|0,o)|0;q=j[1206442+((p|1)<<1)>>1]|0;s=(ha(j[n+(l<<1)>>1]|0,q)|0)+s|0;r=j[1206442+((p|2)<<1)>>1]|0;s=s+(ha(j[n+(l+2<<1)>>1]|0,r)|0)|0;p=j[1206442+((p|3)<<1)>>1]|0;s=s+(ha(j[n+(l+4<<1)>>1]|0,p)|0)>>14;o=ha(j[n+(l+-1<<1)>>1]|0,o)|0;o=(ha(j[n+((l|1)<<1)>>1]|0,q)|0)+o|0;r=o+(ha(j[n+(l+3<<1)>>1]|0,r)|0)|0;p=r+(ha(j[n+(l+5<<1)>>1]|0,p)|0)>>14;l=k[a+72>>2]|0;s=ha(l,s)|0;r=k[a+76>>2]|0;o=ha(r,e)|0;q=k[a+80>>2]|0;o=s+4096+o+(ha(q,f)|0)>>13;l=(ha(r,d)|0)+4096+(ha(q,g)|0)+(ha(p,l)|0)>>13;g=(k[a+28>>2]|0)+i|0;h=(k[a+24>>2]|0)+h|0;i=ha(o,h>>12)|0;k[b>>2]=i+(k[b>>2]|0);i=ha(l,g>>12)|0;f=b+4|0;k[f>>2]=i+(k[f>>2]|0);b=b+8|0;f=(k[a+12>>2]|0)+m|0;if(b>>>0>=c>>>0)break;else{r=d;s=e;e=o;d=l;m=f;i=g;g=r;f=s}}k[a+4>>2]=(k[a+4>>2]|0)+(f>>16);k[a+8>>2]=f&65535;k[a+56>>2]=o;k[a+60>>2]=e;k[a+64>>2]=l;k[a+68>>2]=d;k[a+48>>2]=h;k[a+16>>2]=h>>12;k[a+52>>2]=g;k[a+20>>2]=g>>12;return}function sNa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0;e=k[a>>2]|0;f=k[a+4>>2]|0;e=(k[a+36>>2]&64|0)==0?e:e+f|0;d=k[a+8>>2]|0;do{g=d>>16;h=((d&65535)+16|0)>>>2;l=ha(i[e+(f+-3+g)>>0]|0,j[1214634+((h&32760)<<1)>>1]|0)|0;l=(ha(i[e+(f+-2+g)>>0]|0,j[1214634+((h&32760|1)<<1)>>1]|0)|0)+l|0;l=l+(ha(i[e+(f+-1+g)>>0]|0,j[1214634+((h&32760|2)<<1)>>1]|0)|0)|0;l=l+(ha(i[e+(g+f)>>0]|0,j[1214634+((h&32760|3)<<1)>>1]|0)|0)|0;l=l+(ha(i[e+(f+1+g)>>0]|0,j[1214634+((h&32760|4)<<1)>>1]|0)|0)|0;l=l+(ha(i[e+(f+2+g)>>0]|0,j[1214634+((h&32760|5)<<1)>>1]|0)|0)|0;l=l+(ha(i[e+(f+3+g)>>0]|0,j[1214634+((h&32760|6)<<1)>>1]|0)|0)|0;h=l+(ha(i[e+(f+4+g)>>0]|0,j[1214634+((h|7)<<1)>>1]|0)|0)>>7;g=ha(h,k[a+16>>2]|0)|0;k[b>>2]=g+(k[b>>2]|0);h=ha(h,k[a+20>>2]|0)|0;g=b+4|0;k[g>>2]=h+(k[g>>2]|0);b=b+8|0;d=(k[a+12>>2]|0)+d|0}while(b>>>0>>0);k[a+4>>2]=(k[a+4>>2]|0)+(d>>16);k[a+8>>2]=d&65535;return}function tNa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;e=k[a+4>>2]|0;d=(k[a>>2]|0)+(e<<1)|0;e=(k[a+36>>2]&64|0)==0?d:d+(e<<1)|0;d=k[a+8>>2]|0;do{h=d>>16;f=((d&65535)+16|0)>>>2;g=ha(j[e+(h+-3<<1)>>1]|0,j[1214634+((f&32760)<<1)>>1]|0)|0;g=(ha(j[e+(h+-2<<1)>>1]|0,j[1214634+((f&32760|1)<<1)>>1]|0)|0)+g|0;g=g+(ha(j[e+(h+-1<<1)>>1]|0,j[1214634+((f&32760|2)<<1)>>1]|0)|0)|0;g=g+(ha(j[e+(h<<1)>>1]|0,j[1214634+((f&32760|3)<<1)>>1]|0)|0)|0;i=ha(j[e+(h+1<<1)>>1]|0,j[1214634+((f&32760|4)<<1)>>1]|0)|0;i=(ha(j[e+(h+2<<1)>>1]|0,j[1214634+((f&32760|5)<<1)>>1]|0)|0)+i|0;i=i+(ha(j[e+(h+3<<1)>>1]|0,j[1214634+((f&32760|6)<<1)>>1]|0)|0)|0;g=(i+(ha(j[e+(h+4<<1)>>1]|0,j[1214634+((f|7)<<1)>>1]|0)|0)>>1)+(g>>1)>>14;f=ha(g,k[a+16>>2]|0)|0;k[b>>2]=f+(k[b>>2]|0);g=ha(g,k[a+20>>2]|0)|0;f=b+4|0;k[f>>2]=g+(k[f>>2]|0);b=b+8|0;d=(k[a+12>>2]|0)+d|0}while(b>>>0>>0);k[a+4>>2]=(k[a+4>>2]|0)+(d>>16);k[a+8>>2]=d&65535;return}function uNa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;e=k[a>>2]|0;f=k[a+4>>2]|0;e=(k[a+36>>2]&64|0)==0?e:e+f|0;d=k[a+8>>2]|0;do{h=((d&65535)+16|0)>>>2;r=j[1214634+((h&32760)<<1)>>1]|0;l=d>>16<<1;g=ha(i[e+(f+-6+l)>>0]|0,r)|0;s=j[1214634+((h&32760|1)<<1)>>1]|0;g=(ha(i[e+(f+-4+l)>>0]|0,s)|0)+g|0;q=j[1214634+((h&32760|2)<<1)>>1]|0;g=g+(ha(i[e+(f+-2+l)>>0]|0,q)|0)|0;p=j[1214634+((h&32760|3)<<1)>>1]|0;g=g+(ha(i[e+(l+f)>>0]|0,p)|0)|0;o=j[1214634+((h&32760|4)<<1)>>1]|0;g=g+(ha(i[e+(f+2+l)>>0]|0,o)|0)|0;n=j[1214634+((h&32760|5)<<1)>>1]|0;g=g+(ha(i[e+(f+4+l)>>0]|0,n)|0)|0;m=j[1214634+((h&32760|6)<<1)>>1]|0;g=g+(ha(i[e+(f+6+l)>>0]|0,m)|0)|0;h=j[1214634+((h|7)<<1)>>1]|0;g=g+(ha(i[e+(f+8+l)>>0]|0,h)|0)>>7;r=ha(i[e+(f+-5+l)>>0]|0,r)|0;r=(ha(i[e+(f+-3+l)>>0]|0,s)|0)+r|0;q=r+(ha(i[e+(f+-1+l)>>0]|0,q)|0)|0;p=q+(ha(i[e+((l|1)+f)>>0]|0,p)|0)|0;o=p+(ha(i[e+(f+3+l)>>0]|0,o)|0)|0;n=o+(ha(i[e+(f+5+l)>>0]|0,n)|0)|0;m=n+(ha(i[e+(f+7+l)>>0]|0,m)|0)|0;h=m+(ha(i[e+(f+9+l)>>0]|0,h)|0)>>7;g=ha(k[a+16>>2]|0,g)|0;k[b>>2]=(k[b>>2]|0)+g;h=ha(h,k[a+20>>2]|0)|0;g=b+4|0;k[g>>2]=h+(k[g>>2]|0);b=b+8|0;d=(k[a+12>>2]|0)+d|0}while(b>>>0>>0);k[a+4>>2]=(k[a+4>>2]|0)+(d>>16);k[a+8>>2]=d&65535;return}function vNa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;e=k[a+4>>2]|0;d=(k[a>>2]|0)+(e<<1)|0;e=(k[a+36>>2]&64|0)==0?d:d+(e<<1)|0;d=k[a+8>>2]|0;do{h=((d&65535)+16|0)>>>2;p=j[1214634+((h&32760)<<1)>>1]|0;i=d>>16<<1;f=ha(j[e+(i+-6<<1)>>1]|0,p)|0;q=j[1214634+((h&32760|1)<<1)>>1]|0;f=(ha(j[e+(i+-4<<1)>>1]|0,q)|0)+f|0;o=j[1214634+((h&32760|2)<<1)>>1]|0;f=f+(ha(j[e+(i+-2<<1)>>1]|0,o)|0)|0;g=j[1214634+((h&32760|3)<<1)>>1]|0;f=f+(ha(j[e+(i<<1)>>1]|0,g)|0)|0;m=j[1214634+((h&32760|4)<<1)>>1]|0;r=ha(j[e+(i+2<<1)>>1]|0,m)|0;n=j[1214634+((h&32760|5)<<1)>>1]|0;r=(ha(j[e+(i+4<<1)>>1]|0,n)|0)+r|0;l=j[1214634+((h&32760|6)<<1)>>1]|0;r=r+(ha(j[e+(i+6<<1)>>1]|0,l)|0)|0;h=j[1214634+((h|7)<<1)>>1]|0;f=(r+(ha(j[e+(i+8<<1)>>1]|0,h)|0)>>1)+(f>>1)>>14;p=ha(j[e+(i+-5<<1)>>1]|0,p)|0;p=(ha(j[e+(i+-3<<1)>>1]|0,q)|0)+p|0;o=p+(ha(j[e+(i+-1<<1)>>1]|0,o)|0)|0;g=o+(ha(j[e+((i|1)<<1)>>1]|0,g)|0)|0;m=ha(j[e+(i+3<<1)>>1]|0,m)|0;m=(ha(j[e+(i+5<<1)>>1]|0,n)|0)+m|0;l=m+(ha(j[e+(i+7<<1)>>1]|0,l)|0)|0;g=(l+(ha(j[e+(i+9<<1)>>1]|0,h)|0)>>1)+(g>>1)>>14;f=ha(k[a+16>>2]|0,f)|0;k[b>>2]=(k[b>>2]|0)+f;g=ha(g,k[a+20>>2]|0)|0;f=b+4|0;k[f>>2]=g+(k[f>>2]|0);b=b+8|0;d=(k[a+12>>2]|0)+d|0}while(b>>>0>>0);k[a+4>>2]=(k[a+4>>2]|0)+(d>>16);k[a+8>>2]=d&65535;return}function wNa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0;g=k[a>>2]|0;h=k[a+4>>2]|0;g=(k[a+36>>2]&64|0)==0?g:g+h|0;d=k[a+8>>2]|0;e=k[a+52>>2]|0;f=k[a+48>>2]|0;do{l=d>>16;m=((d&65535)+16|0)>>>2;n=ha(i[g+(h+-3+l)>>0]|0,j[1214634+((m&32760)<<1)>>1]|0)|0;n=(ha(i[g+(h+-2+l)>>0]|0,j[1214634+((m&32760|1)<<1)>>1]|0)|0)+n|0;n=n+(ha(i[g+(h+-1+l)>>0]|0,j[1214634+((m&32760|2)<<1)>>1]|0)|0)|0;n=n+(ha(i[g+(l+h)>>0]|0,j[1214634+((m&32760|3)<<1)>>1]|0)|0)|0;n=n+(ha(i[g+(h+1+l)>>0]|0,j[1214634+((m&32760|4)<<1)>>1]|0)|0)|0;n=n+(ha(i[g+(h+2+l)>>0]|0,j[1214634+((m&32760|5)<<1)>>1]|0)|0)|0;n=n+(ha(i[g+(h+3+l)>>0]|0,j[1214634+((m&32760|6)<<1)>>1]|0)|0)|0;m=n+(ha(i[g+(h+4+l)>>0]|0,j[1214634+((m|7)<<1)>>1]|0)|0)>>7;e=(k[a+28>>2]|0)+e|0;f=(k[a+24>>2]|0)+f|0;l=ha(m,f>>12)|0;k[b>>2]=l+(k[b>>2]|0);m=ha(m,e>>12)|0;l=b+4|0;k[l>>2]=m+(k[l>>2]|0);b=b+8|0;d=(k[a+12>>2]|0)+d|0}while(b>>>0>>0);k[a+4>>2]=(k[a+4>>2]|0)+(d>>16);k[a+8>>2]=d&65535;k[a+48>>2]=f;k[a+16>>2]=f>>12;k[a+52>>2]=e;k[a+20>>2]=e>>12;return}function xNa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0;g=k[a+4>>2]|0;d=(k[a>>2]|0)+(g<<1)|0;g=(k[a+36>>2]&64|0)==0?d:d+(g<<1)|0;d=k[a+8>>2]|0;e=k[a+52>>2]|0;f=k[a+48>>2]|0;do{l=d>>16;h=((d&65535)+16|0)>>>2;i=ha(j[g+(l+-3<<1)>>1]|0,j[1214634+((h&32760)<<1)>>1]|0)|0;i=(ha(j[g+(l+-2<<1)>>1]|0,j[1214634+((h&32760|1)<<1)>>1]|0)|0)+i|0;i=i+(ha(j[g+(l+-1<<1)>>1]|0,j[1214634+((h&32760|2)<<1)>>1]|0)|0)|0;i=i+(ha(j[g+(l<<1)>>1]|0,j[1214634+((h&32760|3)<<1)>>1]|0)|0)|0;m=ha(j[g+(l+1<<1)>>1]|0,j[1214634+((h&32760|4)<<1)>>1]|0)|0;m=(ha(j[g+(l+2<<1)>>1]|0,j[1214634+((h&32760|5)<<1)>>1]|0)|0)+m|0;m=m+(ha(j[g+(l+3<<1)>>1]|0,j[1214634+((h&32760|6)<<1)>>1]|0)|0)|0;i=(m+(ha(j[g+(l+4<<1)>>1]|0,j[1214634+((h|7)<<1)>>1]|0)|0)>>1)+(i>>1)>>14;e=(k[a+28>>2]|0)+e|0;f=(k[a+24>>2]|0)+f|0;h=ha(i,f>>12)|0;k[b>>2]=h+(k[b>>2]|0);i=ha(i,e>>12)|0;h=b+4|0;k[h>>2]=i+(k[h>>2]|0);b=b+8|0;d=(k[a+12>>2]|0)+d|0}while(b>>>0>>0);k[a+4>>2]=(k[a+4>>2]|0)+(d>>16);k[a+8>>2]=d&65535;k[a+48>>2]=f;k[a+16>>2]=f>>12;k[a+52>>2]=e;k[a+20>>2]=e>>12;return}function yNa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;g=k[a>>2]|0;h=k[a+4>>2]|0;g=(k[a+36>>2]&64|0)==0?g:g+h|0;d=k[a+8>>2]|0;e=k[a+52>>2]|0;f=k[a+48>>2]|0;do{m=((d&65535)+16|0)>>>2;t=j[1214634+((m&32760)<<1)>>1]|0;n=d>>16<<1;l=ha(i[g+(h+-6+n)>>0]|0,t)|0;u=j[1214634+((m&32760|1)<<1)>>1]|0;l=(ha(i[g+(h+-4+n)>>0]|0,u)|0)+l|0;s=j[1214634+((m&32760|2)<<1)>>1]|0;l=l+(ha(i[g+(h+-2+n)>>0]|0,s)|0)|0;r=j[1214634+((m&32760|3)<<1)>>1]|0;l=l+(ha(i[g+(n+h)>>0]|0,r)|0)|0;q=j[1214634+((m&32760|4)<<1)>>1]|0;l=l+(ha(i[g+(h+2+n)>>0]|0,q)|0)|0;p=j[1214634+((m&32760|5)<<1)>>1]|0;l=l+(ha(i[g+(h+4+n)>>0]|0,p)|0)|0;o=j[1214634+((m&32760|6)<<1)>>1]|0;l=l+(ha(i[g+(h+6+n)>>0]|0,o)|0)|0;m=j[1214634+((m|7)<<1)>>1]|0;l=l+(ha(i[g+(h+8+n)>>0]|0,m)|0)>>7;t=ha(i[g+(h+-5+n)>>0]|0,t)|0;t=(ha(i[g+(h+-3+n)>>0]|0,u)|0)+t|0;s=t+(ha(i[g+(h+-1+n)>>0]|0,s)|0)|0;r=s+(ha(i[g+((n|1)+h)>>0]|0,r)|0)|0;q=r+(ha(i[g+(h+3+n)>>0]|0,q)|0)|0;p=q+(ha(i[g+(h+5+n)>>0]|0,p)|0)|0;o=p+(ha(i[g+(h+7+n)>>0]|0,o)|0)|0;m=o+(ha(i[g+(h+9+n)>>0]|0,m)|0)>>7;e=(k[a+28>>2]|0)+e|0;f=(k[a+24>>2]|0)+f|0;l=ha(f>>12,l)|0;k[b>>2]=l+(k[b>>2]|0);m=ha(m,e>>12)|0;l=b+4|0;k[l>>2]=m+(k[l>>2]|0);b=b+8|0;d=(k[a+12>>2]|0)+d|0}while(b>>>0>>0);k[a+4>>2]=(k[a+4>>2]|0)+(d>>16);k[a+8>>2]=d&65535;k[a+48>>2]=f;k[a+16>>2]=f>>12;k[a+52>>2]=e;k[a+20>>2]=e>>12;return}function zNa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;g=k[a+4>>2]|0;d=(k[a>>2]|0)+(g<<1)|0;g=(k[a+36>>2]&64|0)==0?d:d+(g<<1)|0;d=k[a+8>>2]|0;e=k[a+52>>2]|0;f=k[a+48>>2]|0;do{l=((d&65535)+16|0)>>>2;r=j[1214634+((l&32760)<<1)>>1]|0;m=d>>16<<1;h=ha(j[g+(m+-6<<1)>>1]|0,r)|0;s=j[1214634+((l&32760|1)<<1)>>1]|0;h=(ha(j[g+(m+-4<<1)>>1]|0,s)|0)+h|0;q=j[1214634+((l&32760|2)<<1)>>1]|0;h=h+(ha(j[g+(m+-2<<1)>>1]|0,q)|0)|0;i=j[1214634+((l&32760|3)<<1)>>1]|0;h=h+(ha(j[g+(m<<1)>>1]|0,i)|0)|0;o=j[1214634+((l&32760|4)<<1)>>1]|0;t=ha(j[g+(m+2<<1)>>1]|0,o)|0;p=j[1214634+((l&32760|5)<<1)>>1]|0;t=(ha(j[g+(m+4<<1)>>1]|0,p)|0)+t|0;n=j[1214634+((l&32760|6)<<1)>>1]|0;t=t+(ha(j[g+(m+6<<1)>>1]|0,n)|0)|0;l=j[1214634+((l|7)<<1)>>1]|0;h=(t+(ha(j[g+(m+8<<1)>>1]|0,l)|0)>>1)+(h>>1)>>14;r=ha(j[g+(m+-5<<1)>>1]|0,r)|0;r=(ha(j[g+(m+-3<<1)>>1]|0,s)|0)+r|0;q=r+(ha(j[g+(m+-1<<1)>>1]|0,q)|0)|0;i=q+(ha(j[g+((m|1)<<1)>>1]|0,i)|0)|0;o=ha(j[g+(m+3<<1)>>1]|0,o)|0;o=(ha(j[g+(m+5<<1)>>1]|0,p)|0)+o|0;n=o+(ha(j[g+(m+7<<1)>>1]|0,n)|0)|0;i=(n+(ha(j[g+(m+9<<1)>>1]|0,l)|0)>>1)+(i>>1)>>14;e=(k[a+28>>2]|0)+e|0;f=(k[a+24>>2]|0)+f|0;h=ha(f>>12,h)|0;k[b>>2]=h+(k[b>>2]|0);i=ha(i,e>>12)|0;h=b+4|0;k[h>>2]=i+(k[h>>2]|0);b=b+8|0;d=(k[a+12>>2]|0)+d|0}while(b>>>0>>0);k[a+4>>2]=(k[a+4>>2]|0)+(d>>16);k[a+8>>2]=d&65535;k[a+48>>2]=f;k[a+16>>2]=f>>12;k[a+52>>2]=e;k[a+20>>2]=e>>12;return}function ANa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0;g=k[a>>2]|0;h=k[a+4>>2]|0;g=(k[a+36>>2]&64|0)==0?g:g+h|0;d=k[a+56>>2]|0;f=k[a+60>>2]|0;e=k[a+8>>2]|0;while(1){l=e>>16;m=((e&65535)+16|0)>>>2;n=ha(i[g+(h+-3+l)>>0]|0,j[1214634+((m&32760)<<1)>>1]|0)|0;n=(ha(i[g+(h+-2+l)>>0]|0,j[1214634+((m&32760|1)<<1)>>1]|0)|0)+n|0;n=n+(ha(i[g+(h+-1+l)>>0]|0,j[1214634+((m&32760|2)<<1)>>1]|0)|0)|0;n=n+(ha(i[g+(l+h)>>0]|0,j[1214634+((m&32760|3)<<1)>>1]|0)|0)|0;n=n+(ha(i[g+(h+1+l)>>0]|0,j[1214634+((m&32760|4)<<1)>>1]|0)|0)|0;n=n+(ha(i[g+(h+2+l)>>0]|0,j[1214634+((m&32760|5)<<1)>>1]|0)|0)|0;n=n+(ha(i[g+(h+3+l)>>0]|0,j[1214634+((m&32760|6)<<1)>>1]|0)|0)|0;m=n+(ha(i[g+(h+4+l)>>0]|0,j[1214634+((m|7)<<1)>>1]|0)|0)>>7;m=ha(m,k[a+72>>2]|0)|0;l=ha(k[a+76>>2]|0,d)|0;f=l+4096+(ha(k[a+80>>2]|0,f)|0)+m>>13;m=ha(f,k[a+16>>2]|0)|0;k[b>>2]=m+(k[b>>2]|0);m=ha(f,k[a+20>>2]|0)|0;l=b+4|0;k[l>>2]=m+(k[l>>2]|0);b=b+8|0;e=(k[a+12>>2]|0)+e|0;if(b>>>0>=c>>>0)break;else{n=d;d=f;f=n}}k[a+4>>2]=(k[a+4>>2]|0)+(e>>16);k[a+8>>2]=e&65535;k[a+56>>2]=f;k[a+60>>2]=d;return}function BNa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0;g=k[a+4>>2]|0;d=(k[a>>2]|0)+(g<<1)|0;g=(k[a+36>>2]&64|0)==0?d:d+(g<<1)|0;d=k[a+56>>2]|0;f=k[a+60>>2]|0;e=k[a+8>>2]|0;while(1){l=e>>16;h=((e&65535)+16|0)>>>2;i=ha(j[g+(l+-3<<1)>>1]|0,j[1214634+((h&32760)<<1)>>1]|0)|0;i=(ha(j[g+(l+-2<<1)>>1]|0,j[1214634+((h&32760|1)<<1)>>1]|0)|0)+i|0;i=i+(ha(j[g+(l+-1<<1)>>1]|0,j[1214634+((h&32760|2)<<1)>>1]|0)|0)|0;i=i+(ha(j[g+(l<<1)>>1]|0,j[1214634+((h&32760|3)<<1)>>1]|0)|0)|0;m=ha(j[g+(l+1<<1)>>1]|0,j[1214634+((h&32760|4)<<1)>>1]|0)|0;m=(ha(j[g+(l+2<<1)>>1]|0,j[1214634+((h&32760|5)<<1)>>1]|0)|0)+m|0;m=m+(ha(j[g+(l+3<<1)>>1]|0,j[1214634+((h&32760|6)<<1)>>1]|0)|0)|0;i=(m+(ha(j[g+(l+4<<1)>>1]|0,j[1214634+((h|7)<<1)>>1]|0)|0)>>1)+(i>>1)>>14;i=ha(i,k[a+72>>2]|0)|0;h=ha(k[a+76>>2]|0,d)|0;f=h+4096+(ha(k[a+80>>2]|0,f)|0)+i>>13;i=ha(f,k[a+16>>2]|0)|0;k[b>>2]=i+(k[b>>2]|0);i=ha(f,k[a+20>>2]|0)|0;h=b+4|0;k[h>>2]=i+(k[h>>2]|0);b=b+8|0;e=(k[a+12>>2]|0)+e|0;if(b>>>0>=c>>>0)break;else{m=d;d=f;f=m}}k[a+4>>2]=(k[a+4>>2]|0)+(e>>16);k[a+8>>2]=e&65535;k[a+56>>2]=f;k[a+60>>2]=d;return}function CNa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;l=k[a>>2]|0;m=k[a+4>>2]|0;l=(k[a+36>>2]&64|0)==0?l:l+m|0;e=k[a+56>>2]|0;f=k[a+60>>2]|0;d=k[a+64>>2]|0;g=k[a+68>>2]|0;h=k[a+8>>2]|0;while(1){p=((h&65535)+16|0)>>>2;v=j[1214634+((p&32760)<<1)>>1]|0;o=h>>16<<1;s=ha(i[l+(m+-6+o)>>0]|0,v)|0;w=j[1214634+((p&32760|1)<<1)>>1]|0;s=(ha(i[l+(m+-4+o)>>0]|0,w)|0)+s|0;u=j[1214634+((p&32760|2)<<1)>>1]|0;s=s+(ha(i[l+(m+-2+o)>>0]|0,u)|0)|0;t=j[1214634+((p&32760|3)<<1)>>1]|0;s=s+(ha(i[l+(o+m)>>0]|0,t)|0)|0;q=j[1214634+((p&32760|4)<<1)>>1]|0;s=s+(ha(i[l+(m+2+o)>>0]|0,q)|0)|0;n=j[1214634+((p&32760|5)<<1)>>1]|0;s=s+(ha(i[l+(m+4+o)>>0]|0,n)|0)|0;r=j[1214634+((p&32760|6)<<1)>>1]|0;s=s+(ha(i[l+(m+6+o)>>0]|0,r)|0)|0;p=j[1214634+((p|7)<<1)>>1]|0;s=s+(ha(i[l+(m+8+o)>>0]|0,p)|0)>>7;v=ha(i[l+(m+-5+o)>>0]|0,v)|0;v=(ha(i[l+(m+-3+o)>>0]|0,w)|0)+v|0;u=v+(ha(i[l+(m+-1+o)>>0]|0,u)|0)|0;t=u+(ha(i[l+((o|1)+m)>>0]|0,t)|0)|0;q=t+(ha(i[l+(m+3+o)>>0]|0,q)|0)|0;n=q+(ha(i[l+(m+5+o)>>0]|0,n)|0)|0;r=n+(ha(i[l+(m+7+o)>>0]|0,r)|0)|0;p=r+(ha(i[l+(m+9+o)>>0]|0,p)|0)>>7;o=k[a+72>>2]|0;s=ha(o,s)|0;r=k[a+76>>2]|0;n=ha(r,e)|0;q=k[a+80>>2]|0;n=s+4096+n+(ha(q,f)|0)>>13;g=(ha(r,d)|0)+4096+(ha(q,g)|0)+(ha(p,o)|0)>>13;o=ha(n,k[a+16>>2]|0)|0;k[b>>2]=o+(k[b>>2]|0);o=ha(g,k[a+20>>2]|0)|0;f=b+4|0;k[f>>2]=o+(k[f>>2]|0);b=b+8|0;f=(k[a+12>>2]|0)+h|0;if(b>>>0>=c>>>0)break;else{v=d;w=e;e=n;d=g;h=f;g=v;f=w}}k[a+4>>2]=(k[a+4>>2]|0)+(f>>16);k[a+8>>2]=f&65535;k[a+56>>2]=n;k[a+60>>2]=e;k[a+64>>2]=g;k[a+68>>2]=d;return}function DNa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;i=k[a+4>>2]|0;e=(k[a>>2]|0)+(i<<1)|0;i=(k[a+36>>2]&64|0)==0?e:e+(i<<1)|0;e=k[a+56>>2]|0;f=k[a+60>>2]|0;d=k[a+64>>2]|0;g=k[a+68>>2]|0;h=k[a+8>>2]|0;while(1){m=((h&65535)+16|0)>>>2;t=j[1214634+((m&32760)<<1)>>1]|0;p=h>>16<<1;q=ha(j[i+(p+-6<<1)>>1]|0,t)|0;u=j[1214634+((m&32760|1)<<1)>>1]|0;q=(ha(j[i+(p+-4<<1)>>1]|0,u)|0)+q|0;s=j[1214634+((m&32760|2)<<1)>>1]|0;q=q+(ha(j[i+(p+-2<<1)>>1]|0,s)|0)|0;n=j[1214634+((m&32760|3)<<1)>>1]|0;q=q+(ha(j[i+(p<<1)>>1]|0,n)|0)|0;o=j[1214634+((m&32760|4)<<1)>>1]|0;v=ha(j[i+(p+2<<1)>>1]|0,o)|0;r=j[1214634+((m&32760|5)<<1)>>1]|0;v=(ha(j[i+(p+4<<1)>>1]|0,r)|0)+v|0;l=j[1214634+((m&32760|6)<<1)>>1]|0;v=v+(ha(j[i+(p+6<<1)>>1]|0,l)|0)|0;m=j[1214634+((m|7)<<1)>>1]|0;q=(v+(ha(j[i+(p+8<<1)>>1]|0,m)|0)>>1)+(q>>1)>>14;t=ha(j[i+(p+-5<<1)>>1]|0,t)|0;t=(ha(j[i+(p+-3<<1)>>1]|0,u)|0)+t|0;s=t+(ha(j[i+(p+-1<<1)>>1]|0,s)|0)|0;n=s+(ha(j[i+((p|1)<<1)>>1]|0,n)|0)|0;o=ha(j[i+(p+3<<1)>>1]|0,o)|0;o=(ha(j[i+(p+5<<1)>>1]|0,r)|0)+o|0;l=o+(ha(j[i+(p+7<<1)>>1]|0,l)|0)|0;n=(l+(ha(j[i+(p+9<<1)>>1]|0,m)|0)>>1)+(n>>1)>>14;m=k[a+72>>2]|0;q=ha(m,q)|0;p=k[a+76>>2]|0;l=ha(p,e)|0;o=k[a+80>>2]|0;l=q+4096+l+(ha(o,f)|0)>>13;g=(ha(p,d)|0)+4096+(ha(o,g)|0)+(ha(n,m)|0)>>13;m=ha(l,k[a+16>>2]|0)|0;k[b>>2]=m+(k[b>>2]|0);m=ha(g,k[a+20>>2]|0)|0;f=b+4|0;k[f>>2]=m+(k[f>>2]|0);b=b+8|0;f=(k[a+12>>2]|0)+h|0;if(b>>>0>=c>>>0)break;else{u=d;v=e;e=l;d=g;h=f;g=u;f=v}}k[a+4>>2]=(k[a+4>>2]|0)+(f>>16);k[a+8>>2]=f&65535;k[a+56>>2]=l;k[a+60>>2]=e;k[a+64>>2]=g;k[a+68>>2]=d;return}function ENa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0,p=0;m=k[a>>2]|0;n=k[a+4>>2]|0;m=(k[a+36>>2]&64|0)==0?m:m+n|0;d=k[a+56>>2]|0;f=k[a+60>>2]|0;e=k[a+8>>2]|0;h=k[a+52>>2]|0;g=k[a+48>>2]|0;while(1){o=e>>16;l=((e&65535)+16|0)>>>2;p=ha(i[m+(n+-3+o)>>0]|0,j[1214634+((l&32760)<<1)>>1]|0)|0;p=(ha(i[m+(n+-2+o)>>0]|0,j[1214634+((l&32760|1)<<1)>>1]|0)|0)+p|0;p=p+(ha(i[m+(n+-1+o)>>0]|0,j[1214634+((l&32760|2)<<1)>>1]|0)|0)|0;p=p+(ha(i[m+(o+n)>>0]|0,j[1214634+((l&32760|3)<<1)>>1]|0)|0)|0;p=p+(ha(i[m+(n+1+o)>>0]|0,j[1214634+((l&32760|4)<<1)>>1]|0)|0)|0;p=p+(ha(i[m+(n+2+o)>>0]|0,j[1214634+((l&32760|5)<<1)>>1]|0)|0)|0;p=p+(ha(i[m+(n+3+o)>>0]|0,j[1214634+((l&32760|6)<<1)>>1]|0)|0)|0;l=p+(ha(i[m+(n+4+o)>>0]|0,j[1214634+((l|7)<<1)>>1]|0)|0)>>7;l=ha(l,k[a+72>>2]|0)|0;o=ha(k[a+76>>2]|0,d)|0;l=o+4096+(ha(k[a+80>>2]|0,f)|0)+l>>13;f=(k[a+28>>2]|0)+h|0;g=(k[a+24>>2]|0)+g|0;o=ha(l,g>>12)|0;k[b>>2]=o+(k[b>>2]|0);o=ha(l,f>>12)|0;h=b+4|0;k[h>>2]=o+(k[h>>2]|0);b=b+8|0;e=(k[a+12>>2]|0)+e|0;if(b>>>0>=c>>>0)break;else{p=d;d=l;h=f;f=p}}k[a+4>>2]=(k[a+4>>2]|0)+(e>>16);k[a+8>>2]=e&65535;k[a+56>>2]=l;k[a+60>>2]=d;k[a+48>>2]=g;k[a+16>>2]=g>>12;k[a+52>>2]=f;k[a+20>>2]=f>>12;return}function FNa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0;l=k[a+4>>2]|0;d=(k[a>>2]|0)+(l<<1)|0;l=(k[a+36>>2]&64|0)==0?d:d+(l<<1)|0;d=k[a+56>>2]|0;f=k[a+60>>2]|0;e=k[a+8>>2]|0;h=k[a+52>>2]|0;g=k[a+48>>2]|0;while(1){n=e>>16;m=((e&65535)+16|0)>>>2;i=ha(j[l+(n+-3<<1)>>1]|0,j[1214634+((m&32760)<<1)>>1]|0)|0;i=(ha(j[l+(n+-2<<1)>>1]|0,j[1214634+((m&32760|1)<<1)>>1]|0)|0)+i|0;i=i+(ha(j[l+(n+-1<<1)>>1]|0,j[1214634+((m&32760|2)<<1)>>1]|0)|0)|0;i=i+(ha(j[l+(n<<1)>>1]|0,j[1214634+((m&32760|3)<<1)>>1]|0)|0)|0;o=ha(j[l+(n+1<<1)>>1]|0,j[1214634+((m&32760|4)<<1)>>1]|0)|0;o=(ha(j[l+(n+2<<1)>>1]|0,j[1214634+((m&32760|5)<<1)>>1]|0)|0)+o|0;o=o+(ha(j[l+(n+3<<1)>>1]|0,j[1214634+((m&32760|6)<<1)>>1]|0)|0)|0;i=(o+(ha(j[l+(n+4<<1)>>1]|0,j[1214634+((m|7)<<1)>>1]|0)|0)>>1)+(i>>1)>>14;i=ha(i,k[a+72>>2]|0)|0;m=ha(k[a+76>>2]|0,d)|0;i=m+4096+(ha(k[a+80>>2]|0,f)|0)+i>>13;f=(k[a+28>>2]|0)+h|0;g=(k[a+24>>2]|0)+g|0;m=ha(i,g>>12)|0;k[b>>2]=m+(k[b>>2]|0);m=ha(i,f>>12)|0;h=b+4|0;k[h>>2]=m+(k[h>>2]|0);b=b+8|0;e=(k[a+12>>2]|0)+e|0;if(b>>>0>=c>>>0)break;else{o=d;d=i;h=f;f=o}}k[a+4>>2]=(k[a+4>>2]|0)+(e>>16);k[a+8>>2]=e&65535;k[a+56>>2]=i;k[a+60>>2]=d;k[a+48>>2]=g;k[a+16>>2]=g>>12;k[a+52>>2]=f;k[a+20>>2]=f>>12;return}function GNa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;o=k[a>>2]|0;p=k[a+4>>2]|0;o=(k[a+36>>2]&64|0)==0?o:o+p|0;e=k[a+56>>2]|0;f=k[a+60>>2]|0;d=k[a+64>>2]|0;g=k[a+68>>2]|0;n=k[a+8>>2]|0;l=k[a+52>>2]|0;h=k[a+48>>2]|0;while(1){r=((n&65535)+16|0)>>>2;x=j[1214634+((r&32760)<<1)>>1]|0;m=n>>16<<1;u=ha(i[o+(p+-6+m)>>0]|0,x)|0;y=j[1214634+((r&32760|1)<<1)>>1]|0;u=(ha(i[o+(p+-4+m)>>0]|0,y)|0)+u|0;w=j[1214634+((r&32760|2)<<1)>>1]|0;u=u+(ha(i[o+(p+-2+m)>>0]|0,w)|0)|0;v=j[1214634+((r&32760|3)<<1)>>1]|0;u=u+(ha(i[o+(m+p)>>0]|0,v)|0)|0;s=j[1214634+((r&32760|4)<<1)>>1]|0;u=u+(ha(i[o+(p+2+m)>>0]|0,s)|0)|0;q=j[1214634+((r&32760|5)<<1)>>1]|0;u=u+(ha(i[o+(p+4+m)>>0]|0,q)|0)|0;t=j[1214634+((r&32760|6)<<1)>>1]|0;u=u+(ha(i[o+(p+6+m)>>0]|0,t)|0)|0;r=j[1214634+((r|7)<<1)>>1]|0;u=u+(ha(i[o+(p+8+m)>>0]|0,r)|0)>>7;x=ha(i[o+(p+-5+m)>>0]|0,x)|0;x=(ha(i[o+(p+-3+m)>>0]|0,y)|0)+x|0;w=x+(ha(i[o+(p+-1+m)>>0]|0,w)|0)|0;v=w+(ha(i[o+((m|1)+p)>>0]|0,v)|0)|0;s=v+(ha(i[o+(p+3+m)>>0]|0,s)|0)|0;q=s+(ha(i[o+(p+5+m)>>0]|0,q)|0)|0;t=q+(ha(i[o+(p+7+m)>>0]|0,t)|0)|0;r=t+(ha(i[o+(p+9+m)>>0]|0,r)|0)>>7;m=k[a+72>>2]|0;u=ha(m,u)|0;t=k[a+76>>2]|0;q=ha(t,e)|0;s=k[a+80>>2]|0;q=u+4096+q+(ha(s,f)|0)>>13;m=(ha(t,d)|0)+4096+(ha(s,g)|0)+(ha(r,m)|0)>>13;g=(k[a+28>>2]|0)+l|0;h=(k[a+24>>2]|0)+h|0;l=ha(q,h>>12)|0;k[b>>2]=l+(k[b>>2]|0);l=ha(m,g>>12)|0;f=b+4|0;k[f>>2]=l+(k[f>>2]|0);b=b+8|0;f=(k[a+12>>2]|0)+n|0;if(b>>>0>=c>>>0)break;else{x=d;y=e;e=q;d=m;n=f;l=g;g=x;f=y}}k[a+4>>2]=(k[a+4>>2]|0)+(f>>16);k[a+8>>2]=f&65535;k[a+56>>2]=q;k[a+60>>2]=e;k[a+64>>2]=m;k[a+68>>2]=d;k[a+48>>2]=h;k[a+16>>2]=h>>12;k[a+52>>2]=g;k[a+20>>2]=g>>12;return}function HNa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;n=k[a+4>>2]|0;e=(k[a>>2]|0)+(n<<1)|0;n=(k[a+36>>2]&64|0)==0?e:e+(n<<1)|0;e=k[a+56>>2]|0;f=k[a+60>>2]|0;d=k[a+64>>2]|0;g=k[a+68>>2]|0;m=k[a+8>>2]|0;i=k[a+52>>2]|0;h=k[a+48>>2]|0;while(1){l=((m&65535)+16|0)>>>2;v=j[1214634+((l&32760)<<1)>>1]|0;r=m>>16<<1;s=ha(j[n+(r+-6<<1)>>1]|0,v)|0;w=j[1214634+((l&32760|1)<<1)>>1]|0;s=(ha(j[n+(r+-4<<1)>>1]|0,w)|0)+s|0;u=j[1214634+((l&32760|2)<<1)>>1]|0;s=s+(ha(j[n+(r+-2<<1)>>1]|0,u)|0)|0;p=j[1214634+((l&32760|3)<<1)>>1]|0;s=s+(ha(j[n+(r<<1)>>1]|0,p)|0)|0;q=j[1214634+((l&32760|4)<<1)>>1]|0;x=ha(j[n+(r+2<<1)>>1]|0,q)|0;t=j[1214634+((l&32760|5)<<1)>>1]|0;x=(ha(j[n+(r+4<<1)>>1]|0,t)|0)+x|0;o=j[1214634+((l&32760|6)<<1)>>1]|0;x=x+(ha(j[n+(r+6<<1)>>1]|0,o)|0)|0;l=j[1214634+((l|7)<<1)>>1]|0;s=(x+(ha(j[n+(r+8<<1)>>1]|0,l)|0)>>1)+(s>>1)>>14;v=ha(j[n+(r+-5<<1)>>1]|0,v)|0;v=(ha(j[n+(r+-3<<1)>>1]|0,w)|0)+v|0;u=v+(ha(j[n+(r+-1<<1)>>1]|0,u)|0)|0;p=u+(ha(j[n+((r|1)<<1)>>1]|0,p)|0)|0;q=ha(j[n+(r+3<<1)>>1]|0,q)|0;q=(ha(j[n+(r+5<<1)>>1]|0,t)|0)+q|0;o=q+(ha(j[n+(r+7<<1)>>1]|0,o)|0)|0;p=(o+(ha(j[n+(r+9<<1)>>1]|0,l)|0)>>1)+(p>>1)>>14;l=k[a+72>>2]|0;s=ha(l,s)|0;r=k[a+76>>2]|0;o=ha(r,e)|0;q=k[a+80>>2]|0;o=s+4096+o+(ha(q,f)|0)>>13;l=(ha(r,d)|0)+4096+(ha(q,g)|0)+(ha(p,l)|0)>>13;g=(k[a+28>>2]|0)+i|0;h=(k[a+24>>2]|0)+h|0;i=ha(o,h>>12)|0;k[b>>2]=i+(k[b>>2]|0);i=ha(l,g>>12)|0;f=b+4|0;k[f>>2]=i+(k[f>>2]|0);b=b+8|0;f=(k[a+12>>2]|0)+m|0;if(b>>>0>=c>>>0)break;else{w=d;x=e;e=o;d=l;m=f;i=g;g=w;f=x}}k[a+4>>2]=(k[a+4>>2]|0)+(f>>16);k[a+8>>2]=f&65535;k[a+56>>2]=o;k[a+60>>2]=e;k[a+64>>2]=l;k[a+68>>2]=d;k[a+48>>2]=h;k[a+16>>2]=h>>12;k[a+52>>2]=g;k[a+20>>2]=g>>12;return}function INa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;e=k[a>>2]|0;f=k[a+4>>2]|0;e=(k[a+36>>2]&64|0)==0?e:e+f|0;d=k[a+8>>2]|0;do{h=ha(i[e+((d>>16)+f)>>0]<<8,k[a+16>>2]|0)|0;k[b>>2]=h+(k[b>>2]|0);g=b+4|0;k[g>>2]=(k[g>>2]|0)+h;b=b+8|0;d=(k[a+12>>2]|0)+d|0}while(b>>>0>>0);k[a+4>>2]=(k[a+4>>2]|0)+(d>>16);k[a+8>>2]=d&65535;return}function JNa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=k[a+4>>2]|0;d=(k[a>>2]|0)+(e<<1)|0;e=(k[a+36>>2]&64|0)==0?d:d+(e<<1)|0;d=k[a+8>>2]|0;do{g=ha(j[e+(d>>16<<1)>>1]|0,k[a+16>>2]|0)|0;k[b>>2]=(k[b>>2]|0)+g;f=b+4|0;k[f>>2]=(k[f>>2]|0)+g;b=b+8|0;d=(k[a+12>>2]|0)+d|0}while(b>>>0>>0);k[a+4>>2]=(k[a+4>>2]|0)+(d>>16);k[a+8>>2]=d&65535;return}function KNa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0;f=k[a>>2]|0;g=k[a+4>>2]|0;f=(k[a+36>>2]&64|0)==0?f:f+g|0;d=k[a+8>>2]|0;e=k[a+48>>2]|0;do{e=(k[a+24>>2]|0)+e|0;j=ha(e>>12,i[f+((d>>16)+g)>>0]<<8)|0;k[b>>2]=j+(k[b>>2]|0);h=b+4|0;k[h>>2]=j+(k[h>>2]|0);b=b+8|0;d=(k[a+12>>2]|0)+d|0}while(b>>>0>>0);k[a+4>>2]=(k[a+4>>2]|0)+(d>>16);k[a+8>>2]=d&65535;k[a+48>>2]=e;k[a+52>>2]=e;k[a+16>>2]=e>>12;k[a+20>>2]=e>>12;return}function LNa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;f=k[a+4>>2]|0;d=(k[a>>2]|0)+(f<<1)|0;f=(k[a+36>>2]&64|0)==0?d:d+(f<<1)|0;d=k[a+8>>2]|0;e=k[a+48>>2]|0;do{e=(k[a+24>>2]|0)+e|0;h=ha(e>>12,j[f+(d>>16<<1)>>1]|0)|0;k[b>>2]=h+(k[b>>2]|0);g=b+4|0;k[g>>2]=h+(k[g>>2]|0);b=b+8|0;d=(k[a+12>>2]|0)+d|0}while(b>>>0>>0);k[a+4>>2]=(k[a+4>>2]|0)+(d>>16);k[a+8>>2]=d&65535;k[a+48>>2]=e;k[a+52>>2]=e;k[a+16>>2]=e>>12;k[a+20>>2]=e>>12;return}function MNa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;e=k[a>>2]|0;f=k[a+4>>2]|0;e=(k[a+36>>2]&64|0)==0?e:e+f|0;d=k[a+8>>2]|0;do{g=d>>16;h=i[e+(g+f)>>0]|0;h=(ha((i[e+(f+1+g)>>0]|0)-h|0,d>>>8&255)|0)+(h<<8)|0;h=ha(h,k[a+16>>2]|0)|0;k[b>>2]=h+(k[b>>2]|0);g=b+4|0;k[g>>2]=h+(k[g>>2]|0);b=b+8|0;d=(k[a+12>>2]|0)+d|0}while(b>>>0>>0);k[a+4>>2]=(k[a+4>>2]|0)+(d>>16);k[a+8>>2]=d&65535;return}function NNa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=k[a+4>>2]|0;d=(k[a>>2]|0)+(e<<1)|0;e=(k[a+36>>2]&64|0)==0?d:d+(e<<1)|0;d=k[a+8>>2]|0;do{f=d>>16;g=j[e+(f<<1)>>1]|0;g=((ha((j[e+(f+1<<1)>>1]|0)-g|0,d>>>8&255)|0)>>8)+g|0;g=ha(g,k[a+16>>2]|0)|0;k[b>>2]=g+(k[b>>2]|0);f=b+4|0;k[f>>2]=g+(k[f>>2]|0);b=b+8|0;d=(k[a+12>>2]|0)+d|0}while(b>>>0>>0);k[a+4>>2]=(k[a+4>>2]|0)+(d>>16);k[a+8>>2]=d&65535;return} +function Q2(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,jb=0,kb=0,lb=0,mb=0,nb=0,ob=0,pb=0,qb=0,rb=0,sb=0,tb=0,ub=0,vb=0,wb=0,xb=0,yb=0,zb=0,Ab=0,Bb=0,Cb=0,Db=0,Eb=0,Fb=0,Gb=0,Hb=0,Ib=0,Jb=0,Kb=0,Lb=0,Mb=0,Nb=0,Ob=0,Pb=0,Qb=0,Rb=0,Sb=0,Tb=0,Ub=0,Vb=0,Wb=0,Xb=0,Yb=0,Zb=0,_b=0,$b=0,ac=0,bc=0,cc=0,dc=0,ec=0,fc=0,gc=0,hc=0,ic=0,jc=0,kc=0,lc=0,mc=0,nc=0,oc=0,pc=0,qc=0,rc=0,sc=0,tc=0,uc=0,vc=0,wc=0,xc=0,yc=0,zc=0,Ac=0,Bc=0,Cc=0,Dc=0,Ec=0,Fc=0,Gc=0,Hc=0,Ic=0,Jc=0,Kc=0,Lc=0,Mc=0,Nc=0,Oc=0,Pc=0,Qc=0,Rc=0,Sc=0,Tc=0,Uc=0,Vc=0,Wc=0,Xc=0,Yc=0,Zc=0,_c=0,$c=0,ad=0,bd=0,cd=0,dd=0,ed=0,fd=0,gd=0,hd=0,id=0,jd=0,kd=0,ld=0,md=0,nd=0,od=0,pd=0,qd=0,rd=0,sd=0;sd=r;r=r+26192|0;k[a+4>>2]=0;k[a+8>>2]=0;k[a>>2]=a+4;D=kBb(24)|0;k[D+16>>2]=0;k[D+20>>2]=0;k[D>>2]=0;k[D+4>>2]=0;k[D+8>>2]=a+4;k[a+4>>2]=D;k[a>>2]=D;Qj(D,D);k[a+8>>2]=(k[a+8>>2]|0)+1;F=k[a+4>>2]|0;k[D+20>>2]=0;do if(!F){k[sd>>2]=a+4;N=a+4|0;M=a+4|0;b=11}else{D=F;while(1){b=k[D+16>>2]|0;if((b|0)>13){b=k[D>>2]|0;if(!b){E=D;L=D;b=4;break}}else{if((b|0)>=13){H=D;b=10;break}G=D+4|0;b=k[G>>2]|0;if(!b){I=D;b=8;break}}D=b}if((b|0)==4){k[sd>>2]=L;N=E;M=L;b=11;break}else if((b|0)==8){k[sd>>2]=I;N=G;M=I;b=11;break}else if((b|0)==10){k[sd>>2]=H;if(!H){N=sd;M=H;b=11;break}else{O=F;B=H;break}}}while(0);if((b|0)==11){B=kBb(24)|0;k[B+16>>2]=13;k[B+20>>2]=0;k[B>>2]=0;k[B+4>>2]=0;k[B+8>>2]=M;k[N>>2]=B;b=k[k[a>>2]>>2]|0;if(!b)b=B;else{k[a>>2]=b;b=k[N>>2]|0}Qj(k[a+4>>2]|0,b);k[a+8>>2]=(k[a+8>>2]|0)+1;O=k[a+4>>2]|0}k[B+20>>2]=1;do if(!O){k[sd>>2]=a+4;V=a+4|0;U=a+4|0;b=24}else{B=O;while(1){b=k[B+16>>2]|0;if((b|0)>27){b=k[B>>2]|0;if(!b){P=B;T=B;b=17;break}}else{if((b|0)>=27){R=B;b=23;break}Q=B+4|0;b=k[Q>>2]|0;if(!b){S=B;b=21;break}}B=b}if((b|0)==17){k[sd>>2]=T;V=P;U=T;b=24;break}else if((b|0)==21){k[sd>>2]=S;V=Q;U=S;b=24;break}else if((b|0)==23){k[sd>>2]=R;if(!R){V=sd;U=R;b=24;break}else{W=O;A=R;break}}}while(0);if((b|0)==24){A=kBb(24)|0;k[A+16>>2]=27;k[A+20>>2]=0;k[A>>2]=0;k[A+4>>2]=0;k[A+8>>2]=U;k[V>>2]=A;b=k[k[a>>2]>>2]|0;if(!b)b=A;else{k[a>>2]=b;b=k[V>>2]|0}Qj(k[a+4>>2]|0,b);k[a+8>>2]=(k[a+8>>2]|0)+1;W=k[a+4>>2]|0}k[A+20>>2]=2;do if(!W){k[sd>>2]=a+4;ba=a+4|0;aa=a+4|0;b=37}else{A=W;while(1){b=k[A+16>>2]|0;if((b|0)>8){b=k[A>>2]|0;if(!b){X=A;$=A;b=30;break}}else{if((b|0)>=8){Z=A;b=36;break}Y=A+4|0;b=k[Y>>2]|0;if(!b){_=A;b=34;break}}A=b}if((b|0)==30){k[sd>>2]=$;ba=X;aa=$;b=37;break}else if((b|0)==34){k[sd>>2]=_;ba=Y;aa=_;b=37;break}else if((b|0)==36){k[sd>>2]=Z;if(!Z){ba=sd;aa=Z;b=37;break}else{ca=W;z=Z;break}}}while(0);if((b|0)==37){z=kBb(24)|0;k[z+16>>2]=8;k[z+20>>2]=0;k[z>>2]=0;k[z+4>>2]=0;k[z+8>>2]=aa;k[ba>>2]=z;b=k[k[a>>2]>>2]|0;if(!b)b=z;else{k[a>>2]=b;b=k[ba>>2]|0}Qj(k[a+4>>2]|0,b);k[a+8>>2]=(k[a+8>>2]|0)+1;ca=k[a+4>>2]|0}k[z+20>>2]=3;do if(!ca){k[sd>>2]=a+4;ja=a+4|0;ia=a+4|0;b=50}else{z=ca;while(1){b=k[z+16>>2]|0;if((b|0)>9){b=k[z>>2]|0;if(!b){da=z;ha=z;b=43;break}}else{if((b|0)>=9){fa=z;b=49;break}ea=z+4|0;b=k[ea>>2]|0;if(!b){ga=z;b=47;break}}z=b}if((b|0)==43){k[sd>>2]=ha;ja=da;ia=ha;b=50;break}else if((b|0)==47){k[sd>>2]=ga;ja=ea;ia=ga;b=50;break}else if((b|0)==49){k[sd>>2]=fa;if(!fa){ja=sd;ia=fa;b=50;break}else{ka=ca;y=fa;break}}}while(0);if((b|0)==50){y=kBb(24)|0;k[y+16>>2]=9;k[y+20>>2]=0;k[y>>2]=0;k[y+4>>2]=0;k[y+8>>2]=ia;k[ja>>2]=y;b=k[k[a>>2]>>2]|0;if(!b)b=y;else{k[a>>2]=b;b=k[ja>>2]|0}Qj(k[a+4>>2]|0,b);k[a+8>>2]=(k[a+8>>2]|0)+1;ka=k[a+4>>2]|0}k[y+20>>2]=4;do if(!ka){k[sd>>2]=a+4;ra=a+4|0;qa=a+4|0;b=63}else{y=ka;while(1){b=k[y+16>>2]|0;if((b|0)>32){b=k[y>>2]|0;if(!b){la=y;pa=y;b=56;break}}else{if((b|0)>=32){na=y;b=62;break}ma=y+4|0;b=k[ma>>2]|0;if(!b){oa=y;b=60;break}}y=b}if((b|0)==56){k[sd>>2]=pa;ra=la;qa=pa;b=63;break}else if((b|0)==60){k[sd>>2]=oa;ra=ma;qa=oa;b=63;break}else if((b|0)==62){k[sd>>2]=na;if(!na){ra=sd;qa=na;b=63;break}else{sa=ka;x=na;break}}}while(0);if((b|0)==63){x=kBb(24)|0;k[x+16>>2]=32;k[x+20>>2]=0;k[x>>2]=0;k[x+4>>2]=0;k[x+8>>2]=qa;k[ra>>2]=x;b=k[k[a>>2]>>2]|0;if(!b)b=x;else{k[a>>2]=b;b=k[ra>>2]|0}Qj(k[a+4>>2]|0,b);k[a+8>>2]=(k[a+8>>2]|0)+1;sa=k[a+4>>2]|0}k[x+20>>2]=5;do if(!sa){k[sd>>2]=a+4;za=a+4|0;ya=a+4|0;b=76}else{x=sa;while(1){b=k[x+16>>2]|0;if((b|0)>33){b=k[x>>2]|0;if(!b){ta=x;xa=x;b=69;break}}else{if((b|0)>=33){va=x;b=75;break}ua=x+4|0;b=k[ua>>2]|0;if(!b){wa=x;b=73;break}}x=b}if((b|0)==69){k[sd>>2]=xa;za=ta;ya=xa;b=76;break}else if((b|0)==73){k[sd>>2]=wa;za=ua;ya=wa;b=76;break}else if((b|0)==75){k[sd>>2]=va;if(!va){za=sd;ya=va;b=76;break}else{Aa=sa;w=va;break}}}while(0);if((b|0)==76){w=kBb(24)|0;k[w+16>>2]=33;k[w+20>>2]=0;k[w>>2]=0;k[w+4>>2]=0;k[w+8>>2]=ya;k[za>>2]=w;b=k[k[a>>2]>>2]|0;if(!b)b=w;else{k[a>>2]=b;b=k[za>>2]|0}Qj(k[a+4>>2]|0,b);k[a+8>>2]=(k[a+8>>2]|0)+1;Aa=k[a+4>>2]|0}k[w+20>>2]=6;do if(!Aa){k[sd>>2]=a+4;Ha=a+4|0;Ga=a+4|0;b=89}else{w=Aa;while(1){b=k[w+16>>2]|0;if((b|0)>34){b=k[w>>2]|0;if(!b){Ba=w;Fa=w;b=82;break}}else{if((b|0)>=34){Da=w;b=88;break}Ca=w+4|0;b=k[Ca>>2]|0;if(!b){Ea=w;b=86;break}}w=b}if((b|0)==82){k[sd>>2]=Fa;Ha=Ba;Ga=Fa;b=89;break}else if((b|0)==86){k[sd>>2]=Ea;Ha=Ca;Ga=Ea;b=89;break}else if((b|0)==88){k[sd>>2]=Da;if(!Da){Ha=sd;Ga=Da;b=89;break}else{Ia=Aa;v=Da;break}}}while(0);if((b|0)==89){v=kBb(24)|0;k[v+16>>2]=34;k[v+20>>2]=0;k[v>>2]=0;k[v+4>>2]=0;k[v+8>>2]=Ga;k[Ha>>2]=v;b=k[k[a>>2]>>2]|0;if(!b)b=v;else{k[a>>2]=b;b=k[Ha>>2]|0}Qj(k[a+4>>2]|0,b);k[a+8>>2]=(k[a+8>>2]|0)+1;Ia=k[a+4>>2]|0}k[v+20>>2]=7;do if(!Ia){k[sd>>2]=a+4;Pa=a+4|0;Oa=a+4|0;b=102}else{v=Ia;while(1){b=k[v+16>>2]|0;if((b|0)>35){b=k[v>>2]|0;if(!b){Ja=v;Na=v;b=95;break}}else{if((b|0)>=35){La=v;b=101;break}Ka=v+4|0;b=k[Ka>>2]|0;if(!b){Ma=v;b=99;break}}v=b}if((b|0)==95){k[sd>>2]=Na;Pa=Ja;Oa=Na;b=102;break}else if((b|0)==99){k[sd>>2]=Ma;Pa=Ka;Oa=Ma;b=102;break}else if((b|0)==101){k[sd>>2]=La;if(!La){Pa=sd;Oa=La;b=102;break}else{Qa=Ia;u=La;break}}}while(0);if((b|0)==102){u=kBb(24)|0;k[u+16>>2]=35;k[u+20>>2]=0;k[u>>2]=0;k[u+4>>2]=0;k[u+8>>2]=Oa;k[Pa>>2]=u;b=k[k[a>>2]>>2]|0;if(!b)b=u;else{k[a>>2]=b;b=k[Pa>>2]|0}Qj(k[a+4>>2]|0,b);k[a+8>>2]=(k[a+8>>2]|0)+1;Qa=k[a+4>>2]|0}k[u+20>>2]=8;do if(!Qa){k[sd>>2]=a+4;Xa=a+4|0;Wa=a+4|0;b=115}else{u=Qa;while(1){b=k[u+16>>2]|0;if((b|0)>37){b=k[u>>2]|0;if(!b){Ra=u;Va=u;b=108;break}}else{if((b|0)>=37){Ta=u;b=114;break}Sa=u+4|0;b=k[Sa>>2]|0;if(!b){Ua=u;b=112;break}}u=b}if((b|0)==108){k[sd>>2]=Va;Xa=Ra;Wa=Va;b=115;break}else if((b|0)==112){k[sd>>2]=Ua;Xa=Sa;Wa=Ua;b=115;break}else if((b|0)==114){k[sd>>2]=Ta;if(!Ta){Xa=sd;Wa=Ta;b=115;break}else{Ya=Qa;t=Ta;break}}}while(0);if((b|0)==115){t=kBb(24)|0;k[t+16>>2]=37;k[t+20>>2]=0;k[t>>2]=0;k[t+4>>2]=0;k[t+8>>2]=Wa;k[Xa>>2]=t;b=k[k[a>>2]>>2]|0;if(!b)b=t;else{k[a>>2]=b;b=k[Xa>>2]|0}Qj(k[a+4>>2]|0,b);k[a+8>>2]=(k[a+8>>2]|0)+1;Ya=k[a+4>>2]|0}k[t+20>>2]=9;do if(!Ya){k[sd>>2]=a+4;db=a+4|0;cb=a+4|0;b=128}else{t=Ya;while(1){b=k[t+16>>2]|0;if((b|0)>36){b=k[t>>2]|0;if(!b){Za=t;bb=t;b=121;break}}else{if((b|0)>=36){$a=t;b=127;break}_a=t+4|0;b=k[_a>>2]|0;if(!b){ab=t;b=125;break}}t=b}if((b|0)==121){k[sd>>2]=bb;db=Za;cb=bb;b=128;break}else if((b|0)==125){k[sd>>2]=ab;db=_a;cb=ab;b=128;break}else if((b|0)==127){k[sd>>2]=$a;if(!$a){db=sd;cb=$a;b=128;break}else{eb=Ya;s=$a;break}}}while(0);if((b|0)==128){s=kBb(24)|0;k[s+16>>2]=36;k[s+20>>2]=0;k[s>>2]=0;k[s+4>>2]=0;k[s+8>>2]=cb;k[db>>2]=s;b=k[k[a>>2]>>2]|0;if(!b)b=s;else{k[a>>2]=b;b=k[db>>2]|0}Qj(k[a+4>>2]|0,b);k[a+8>>2]=(k[a+8>>2]|0)+1;eb=k[a+4>>2]|0}k[s+20>>2]=10;do if(!eb){k[sd>>2]=a+4;lb=a+4|0;kb=a+4|0;b=141}else{s=eb;while(1){b=k[s+16>>2]|0;if((b|0)>38){b=k[s>>2]|0;if(!b){fb=s;jb=s;b=134;break}}else{if((b|0)>=38){hb=s;b=140;break}gb=s+4|0;b=k[gb>>2]|0;if(!b){ib=s;b=138;break}}s=b}if((b|0)==134){k[sd>>2]=jb;lb=fb;kb=jb;b=141;break}else if((b|0)==138){k[sd>>2]=ib;lb=gb;kb=ib;b=141;break}else if((b|0)==140){k[sd>>2]=hb;if(!hb){lb=sd;kb=hb;b=141;break}else{mb=eb;q=hb;break}}}while(0);if((b|0)==141){q=kBb(24)|0;k[q+16>>2]=38;k[q+20>>2]=0;k[q>>2]=0;k[q+4>>2]=0;k[q+8>>2]=kb;k[lb>>2]=q;b=k[k[a>>2]>>2]|0;if(!b)b=q;else{k[a>>2]=b;b=k[lb>>2]|0}Qj(k[a+4>>2]|0,b);k[a+8>>2]=(k[a+8>>2]|0)+1;mb=k[a+4>>2]|0}k[q+20>>2]=11;do if(!mb){k[sd>>2]=a+4;tb=a+4|0;sb=a+4|0;b=154}else{q=mb;while(1){b=k[q+16>>2]|0;if((b|0)>39){b=k[q>>2]|0;if(!b){nb=q;rb=q;b=147;break}}else{if((b|0)>=39){pb=q;b=153;break}ob=q+4|0;b=k[ob>>2]|0;if(!b){qb=q;b=151;break}}q=b}if((b|0)==147){k[sd>>2]=rb;tb=nb;sb=rb;b=154;break}else if((b|0)==151){k[sd>>2]=qb;tb=ob;sb=qb;b=154;break}else if((b|0)==153){k[sd>>2]=pb;if(!pb){tb=sd;sb=pb;b=154;break}else{ub=mb;p=pb;break}}}while(0);if((b|0)==154){p=kBb(24)|0;k[p+16>>2]=39;k[p+20>>2]=0;k[p>>2]=0;k[p+4>>2]=0;k[p+8>>2]=sb;k[tb>>2]=p;b=k[k[a>>2]>>2]|0;if(!b)b=p;else{k[a>>2]=b;b=k[tb>>2]|0}Qj(k[a+4>>2]|0,b);k[a+8>>2]=(k[a+8>>2]|0)+1;ub=k[a+4>>2]|0}k[p+20>>2]=12;do if(!ub){k[sd>>2]=a+4;Bb=a+4|0;Ab=a+4|0;b=167}else{p=ub;while(1){b=k[p+16>>2]|0;if((b|0)>40){b=k[p>>2]|0;if(!b){vb=p;zb=p;b=160;break}}else{if((b|0)>=40){xb=p;b=166;break}wb=p+4|0;b=k[wb>>2]|0;if(!b){yb=p;b=164;break}}p=b}if((b|0)==160){k[sd>>2]=zb;Bb=vb;Ab=zb;b=167;break}else if((b|0)==164){k[sd>>2]=yb;Bb=wb;Ab=yb;b=167;break}else if((b|0)==166){k[sd>>2]=xb;if(!xb){Bb=sd;Ab=xb;b=167;break}else{Cb=ub;n=xb;break}}}while(0);if((b|0)==167){n=kBb(24)|0;k[n+16>>2]=40;k[n+20>>2]=0;k[n>>2]=0;k[n+4>>2]=0;k[n+8>>2]=Ab;k[Bb>>2]=n;b=k[k[a>>2]>>2]|0;if(!b)b=n;else{k[a>>2]=b;b=k[Bb>>2]|0}Qj(k[a+4>>2]|0,b);k[a+8>>2]=(k[a+8>>2]|0)+1;Cb=k[a+4>>2]|0}k[n+20>>2]=13;do if(!Cb){k[sd>>2]=a+4;Jb=a+4|0;Ib=a+4|0;b=180}else{n=Cb;while(1){b=k[n+16>>2]|0;if((b|0)>41){b=k[n>>2]|0;if(!b){Db=n;Hb=n;b=173;break}}else{if((b|0)>=41){Fb=n;b=179;break}Eb=n+4|0;b=k[Eb>>2]|0;if(!b){Gb=n;b=177;break}}n=b}if((b|0)==173){k[sd>>2]=Hb;Jb=Db;Ib=Hb;b=180;break}else if((b|0)==177){k[sd>>2]=Gb;Jb=Eb;Ib=Gb;b=180;break}else if((b|0)==179){k[sd>>2]=Fb;if(!Fb){Jb=sd;Ib=Fb;b=180;break}else{Kb=Cb;m=Fb;break}}}while(0);if((b|0)==180){m=kBb(24)|0;k[m+16>>2]=41;k[m+20>>2]=0;k[m>>2]=0;k[m+4>>2]=0;k[m+8>>2]=Ib;k[Jb>>2]=m;b=k[k[a>>2]>>2]|0;if(!b)b=m;else{k[a>>2]=b;b=k[Jb>>2]|0}Qj(k[a+4>>2]|0,b);k[a+8>>2]=(k[a+8>>2]|0)+1;Kb=k[a+4>>2]|0}k[m+20>>2]=14;do if(!Kb){k[sd>>2]=a+4;Rb=a+4|0;Qb=a+4|0;b=193}else{m=Kb;while(1){b=k[m+16>>2]|0;if((b|0)>42){b=k[m>>2]|0;if(!b){Lb=m;Pb=m;b=186;break}}else{if((b|0)>=42){Nb=m;b=192;break}Mb=m+4|0;b=k[Mb>>2]|0;if(!b){Ob=m;b=190;break}}m=b}if((b|0)==186){k[sd>>2]=Pb;Rb=Lb;Qb=Pb;b=193;break}else if((b|0)==190){k[sd>>2]=Ob;Rb=Mb;Qb=Ob;b=193;break}else if((b|0)==192){k[sd>>2]=Nb;if(!Nb){Rb=sd;Qb=Nb;b=193;break}else{Sb=Kb;l=Nb;break}}}while(0);if((b|0)==193){l=kBb(24)|0;k[l+16>>2]=42;k[l+20>>2]=0;k[l>>2]=0;k[l+4>>2]=0;k[l+8>>2]=Qb;k[Rb>>2]=l;b=k[k[a>>2]>>2]|0;if(!b)b=l;else{k[a>>2]=b;b=k[Rb>>2]|0}Qj(k[a+4>>2]|0,b);k[a+8>>2]=(k[a+8>>2]|0)+1;Sb=k[a+4>>2]|0}k[l+20>>2]=15;do if(!Sb){k[sd>>2]=a+4;Zb=a+4|0;Yb=a+4|0;b=206}else{l=Sb;while(1){b=k[l+16>>2]|0;if((b|0)>43){b=k[l>>2]|0;if(!b){Tb=l;Xb=l;b=199;break}}else{if((b|0)>=43){Vb=l;b=205;break}Ub=l+4|0;b=k[Ub>>2]|0;if(!b){Wb=l;b=203;break}}l=b}if((b|0)==199){k[sd>>2]=Xb;Zb=Tb;Yb=Xb;b=206;break}else if((b|0)==203){k[sd>>2]=Wb;Zb=Ub;Yb=Wb;b=206;break}else if((b|0)==205){k[sd>>2]=Vb;if(!Vb){Zb=sd;Yb=Vb;b=206;break}else{_b=Sb;j=Vb;break}}}while(0);if((b|0)==206){j=kBb(24)|0;k[j+16>>2]=43;k[j+20>>2]=0;k[j>>2]=0;k[j+4>>2]=0;k[j+8>>2]=Yb;k[Zb>>2]=j;b=k[k[a>>2]>>2]|0;if(!b)b=j;else{k[a>>2]=b;b=k[Zb>>2]|0}Qj(k[a+4>>2]|0,b);k[a+8>>2]=(k[a+8>>2]|0)+1;_b=k[a+4>>2]|0}k[j+20>>2]=16;do if(!_b){k[sd>>2]=a+4;fc=a+4|0;ec=a+4|0;b=219}else{j=_b;while(1){b=k[j+16>>2]|0;if((b|0)>44){b=k[j>>2]|0;if(!b){$b=j;dc=j;b=212;break}}else{if((b|0)>=44){bc=j;b=218;break}ac=j+4|0;b=k[ac>>2]|0;if(!b){cc=j;b=216;break}}j=b}if((b|0)==212){k[sd>>2]=dc;fc=$b;ec=dc;b=219;break}else if((b|0)==216){k[sd>>2]=cc;fc=ac;ec=cc;b=219;break}else if((b|0)==218){k[sd>>2]=bc;if(!bc){fc=sd;ec=bc;b=219;break}else{gc=_b;i=bc;break}}}while(0);if((b|0)==219){i=kBb(24)|0;k[i+16>>2]=44;k[i+20>>2]=0;k[i>>2]=0;k[i+4>>2]=0;k[i+8>>2]=ec;k[fc>>2]=i;b=k[k[a>>2]>>2]|0;if(!b)b=i;else{k[a>>2]=b;b=k[fc>>2]|0}Qj(k[a+4>>2]|0,b);k[a+8>>2]=(k[a+8>>2]|0)+1;gc=k[a+4>>2]|0}k[i+20>>2]=17;do if(!gc){k[sd>>2]=a+4;nc=a+4|0;mc=a+4|0;b=232}else{i=gc;while(1){b=k[i+16>>2]|0;if((b|0)>45){b=k[i>>2]|0;if(!b){hc=i;lc=i;b=225;break}}else{if((b|0)>=45){jc=i;b=231;break}ic=i+4|0;b=k[ic>>2]|0;if(!b){kc=i;b=229;break}}i=b}if((b|0)==225){k[sd>>2]=lc;nc=hc;mc=lc;b=232;break}else if((b|0)==229){k[sd>>2]=kc;nc=ic;mc=kc;b=232;break}else if((b|0)==231){k[sd>>2]=jc;if(!jc){nc=sd;mc=jc;b=232;break}else{oc=gc;h=jc;break}}}while(0);if((b|0)==232){h=kBb(24)|0;k[h+16>>2]=45;k[h+20>>2]=0;k[h>>2]=0;k[h+4>>2]=0;k[h+8>>2]=mc;k[nc>>2]=h;b=k[k[a>>2]>>2]|0;if(!b)b=h;else{k[a>>2]=b;b=k[nc>>2]|0}Qj(k[a+4>>2]|0,b);k[a+8>>2]=(k[a+8>>2]|0)+1;oc=k[a+4>>2]|0}k[h+20>>2]=18;do if(!oc){k[sd>>2]=a+4;vc=a+4|0;uc=a+4|0;b=245}else{h=oc;while(1){b=k[h+16>>2]|0;if((b|0)>46){b=k[h>>2]|0;if(!b){pc=h;tc=h;b=238;break}}else{if((b|0)>=46){rc=h;b=244;break}qc=h+4|0;b=k[qc>>2]|0;if(!b){sc=h;b=242;break}}h=b}if((b|0)==238){k[sd>>2]=tc;vc=pc;uc=tc;b=245;break}else if((b|0)==242){k[sd>>2]=sc;vc=qc;uc=sc;b=245;break}else if((b|0)==244){k[sd>>2]=rc;if(!rc){vc=sd;uc=rc;b=245;break}else{wc=oc;g=rc;break}}}while(0);if((b|0)==245){g=kBb(24)|0;k[g+16>>2]=46;k[g+20>>2]=0;k[g>>2]=0;k[g+4>>2]=0;k[g+8>>2]=uc;k[vc>>2]=g;b=k[k[a>>2]>>2]|0;if(!b)b=g;else{k[a>>2]=b;b=k[vc>>2]|0}Qj(k[a+4>>2]|0,b);k[a+8>>2]=(k[a+8>>2]|0)+1;wc=k[a+4>>2]|0}k[g+20>>2]=19;do if(!wc){k[sd>>2]=a+4;Dc=a+4|0;Cc=a+4|0;b=258}else{g=wc;while(1){b=k[g+16>>2]|0;if((b|0)>47){b=k[g>>2]|0;if(!b){xc=g;Bc=g;b=251;break}}else{if((b|0)>=47){zc=g;b=257;break}yc=g+4|0;b=k[yc>>2]|0;if(!b){Ac=g;b=255;break}}g=b}if((b|0)==251){k[sd>>2]=Bc;Dc=xc;Cc=Bc;b=258;break}else if((b|0)==255){k[sd>>2]=Ac;Dc=yc;Cc=Ac;b=258;break}else if((b|0)==257){k[sd>>2]=zc;if(!zc){Dc=sd;Cc=zc;b=258;break}else{Ec=wc;f=zc;break}}}while(0);if((b|0)==258){f=kBb(24)|0;k[f+16>>2]=47;k[f+20>>2]=0;k[f>>2]=0;k[f+4>>2]=0;k[f+8>>2]=Cc;k[Dc>>2]=f;b=k[k[a>>2]>>2]|0;if(!b)b=f;else{k[a>>2]=b;b=k[Dc>>2]|0}Qj(k[a+4>>2]|0,b);k[a+8>>2]=(k[a+8>>2]|0)+1;Ec=k[a+4>>2]|0}k[f+20>>2]=20;do if(!Ec){k[sd>>2]=a+4;Lc=a+4|0;Kc=a+4|0;b=271}else{f=Ec;while(1){b=k[f+16>>2]|0;if((b|0)>48){b=k[f>>2]|0;if(!b){Fc=f;Jc=f;b=264;break}}else{if((b|0)>=48){Hc=f;b=270;break}Gc=f+4|0;b=k[Gc>>2]|0;if(!b){Ic=f;b=268;break}}f=b}if((b|0)==264){k[sd>>2]=Jc;Lc=Fc;Kc=Jc;b=271;break}else if((b|0)==268){k[sd>>2]=Ic;Lc=Gc;Kc=Ic;b=271;break}else if((b|0)==270){k[sd>>2]=Hc;if(!Hc){Lc=sd;Kc=Hc;b=271;break}else{Mc=Ec;e=Hc;break}}}while(0);if((b|0)==271){e=kBb(24)|0;k[e+16>>2]=48;k[e+20>>2]=0;k[e>>2]=0;k[e+4>>2]=0;k[e+8>>2]=Kc;k[Lc>>2]=e;b=k[k[a>>2]>>2]|0;if(!b)b=e;else{k[a>>2]=b;b=k[Lc>>2]|0}Qj(k[a+4>>2]|0,b);k[a+8>>2]=(k[a+8>>2]|0)+1;Mc=k[a+4>>2]|0}k[e+20>>2]=21;do if(!Mc){k[sd>>2]=a+4;Tc=a+4|0;Sc=a+4|0;b=284}else{e=Mc;while(1){b=k[e+16>>2]|0;if((b|0)>49){b=k[e>>2]|0;if(!b){Nc=e;Rc=e;b=277;break}}else{if((b|0)>=49){Pc=e;b=283;break}Oc=e+4|0;b=k[Oc>>2]|0;if(!b){Qc=e;b=281;break}}e=b}if((b|0)==277){k[sd>>2]=Rc;Tc=Nc;Sc=Rc;b=284;break}else if((b|0)==281){k[sd>>2]=Qc;Tc=Oc;Sc=Qc;b=284;break}else if((b|0)==283){k[sd>>2]=Pc;if(!Pc){Tc=sd;Sc=Pc;b=284;break}else{Uc=Mc;d=Pc;break}}}while(0);if((b|0)==284){d=kBb(24)|0;k[d+16>>2]=49;k[d+20>>2]=0;k[d>>2]=0;k[d+4>>2]=0;k[d+8>>2]=Sc;k[Tc>>2]=d;b=k[k[a>>2]>>2]|0;if(!b)b=d;else{k[a>>2]=b;b=k[Tc>>2]|0}Qj(k[a+4>>2]|0,b);k[a+8>>2]=(k[a+8>>2]|0)+1;Uc=k[a+4>>2]|0}k[d+20>>2]=22;do if(!Uc){k[sd>>2]=a+4;$c=a+4|0;_c=a+4|0;b=297}else{d=Uc;while(1){b=k[d+16>>2]|0;if((b|0)>50){b=k[d>>2]|0;if(!b){Vc=d;Zc=d;b=290;break}}else{if((b|0)>=50){Xc=d;b=296;break}Wc=d+4|0;b=k[Wc>>2]|0;if(!b){Yc=d;b=294;break}}d=b}if((b|0)==290){k[sd>>2]=Zc;$c=Vc;_c=Zc;b=297;break}else if((b|0)==294){k[sd>>2]=Yc;$c=Wc;_c=Yc;b=297;break}else if((b|0)==296){k[sd>>2]=Xc;if(!Xc){$c=sd;_c=Xc;b=297;break}else{ad=Uc;c=Xc;break}}}while(0);if((b|0)==297){c=kBb(24)|0;k[c+16>>2]=50;k[c+20>>2]=0;k[c>>2]=0;k[c+4>>2]=0;k[c+8>>2]=_c;k[$c>>2]=c;b=k[k[a>>2]>>2]|0;if(!b)b=c;else{k[a>>2]=b;b=k[$c>>2]|0}Qj(k[a+4>>2]|0,b);k[a+8>>2]=(k[a+8>>2]|0)+1;ad=k[a+4>>2]|0}k[c+20>>2]=23;do if(!ad){k[sd>>2]=a+4;cd=a+4|0;kd=a+4|0;b=310}else{c=ad;while(1){b=k[c+16>>2]|0;if((b|0)>51){b=k[c>>2]|0;if(!b){dd=c;od=c;b=303;break}}else{if((b|0)>=51){md=c;b=309;break}jd=c+4|0;b=k[jd>>2]|0;if(!b){nd=c;b=307;break}}c=b}if((b|0)==303){k[sd>>2]=od;cd=dd;kd=od;b=310;break}else if((b|0)==307){k[sd>>2]=nd;cd=jd;kd=nd;b=310;break}else if((b|0)==309){k[sd>>2]=md;if(!md){cd=sd;kd=md;b=310;break}else{ld=ad;rd=md;break}}}while(0);k[sd+32>>2]=a;k[sd+1160>>2]=cd;k[sd+6624>>2]=ed;k[sd+17640>>2]=kd;k[sd+17672>>2]=ld;k[sd+25520>>2]=rd;k[sd+25904>>2]=b;k[sd+25944>>2]=0;k[sd+25948>>2]=0;nfa(sd);nd=k[sd+6624>>2]|0;md=k[sd+25904>>2]|0;k[sd+32>>2]=a;k[sd+240>>2]=bd;k[sd+6624>>2]=nd;k[sd+9304>>2]=fd;k[sd+9336>>2]=gd;k[sd+24600>>2]=pd;k[sd+25904>>2]=md;k[sd+25936>>2]=0;k[sd+25940>>2]=0;mfa(sd);md=k[sd+240>>2]|0;nd=k[sd+9304>>2]|0;od=k[sd+9336>>2]|0;pd=k[sd+24600>>2]|0;rd=k[sd+25904>>2]|0;k[sd+32>>2]=a;k[sd+240>>2]=md;k[sd+9304>>2]=nd;k[sd+9336>>2]=od;k[sd+11968>>2]=hd;k[sd+24600>>2]=pd;k[sd+24888>>2]=qd;k[sd+25904>>2]=rd;k[sd+25928>>2]=0;k[sd+25932>>2]=0;lfa(sd);pd=k[sd+11968>>2]|0;qd=k[sd+24888>>2]|0;rd=k[sd+25904>>2]|0;k[sd+32>>2]=a;k[sd+11968>>2]=pd;k[sd+14624>>2]=id;k[sd+24888>>2]=qd;k[sd+25904>>2]=rd;k[sd+25920>>2]=0;k[sd+25924>>2]=0;kfa(sd);id=k[sd+14624>>2]|0;rd=k[sd+25904>>2]|0;k[sd+32>>2]=a;k[sd+14624>>2]=id;k[sd+25904>>2]=rd;k[sd+25912>>2]=0;k[sd+25916>>2]=0;jfa(sd);J=k[sd+25912>>2]|0;C=k[sd+25916>>2]|0;K=+o[sd+25916>>2];k[sd+25912>>2]=0;k[sd+25916>>2]=0;if((J|0)==5)return}function R2(a,b){a=a|0;b=b|0;if(!b)return;else{R2(a,k[b>>2]|0);R2(a,k[b+4>>2]|0);CAb(b);return}}function S2(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;Uj(a);k[a>>2]=22180;lP(a+8|0);k[a+12>>2]=0;k[a+12+4>>2]=0;k[a+12+8>>2]=0;k[a+12+12>>2]=0;k[a+12+16>>2]=0;k[a+12+20>>2]=0;k[a>>2]=22112;if((Qgb(16384)|0)<0){a=xf(16)|0;c=A6a()|0;k[b>>2]=c;os(a,363659,b);Jc(a|0,96,27)}else{$hb(346,a);r=b;return}}function T2(a){a=a|0;var b=0,c=0,d=0;k[a>>2]=22156;b=k[a+20>>2]|0;if(!b){a=a+8|0;_qb(a);return}c=k[a+24>>2]|0;if((c|0)!=(b|0)){do{c=c+-4|0;k[a+24>>2]=c;d=k[c>>2]|0;if(d){Si[k[(k[d>>2]|0)+12>>2]&1023](d);c=k[a+24>>2]|0}}while((c|0)!=(b|0));b=k[a+20>>2]|0}CAb(b);a=a+8|0;_qb(a);return}function U2(a){a=a|0;var b=0,c=0,d=0;k[a>>2]=22156;b=k[a+20>>2]|0;if(b|0){c=k[a+24>>2]|0;if((c|0)!=(b|0)){do{c=c+-4|0;k[a+24>>2]=c;d=k[c>>2]|0;if(d){Si[k[(k[d>>2]|0)+12>>2]&1023](d);c=k[a+24>>2]|0}}while((c|0)!=(b|0));b=k[a+20>>2]|0}CAb(b)}_qb(a+8|0);CAb(a);return}function V2(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;k[a>>2]=22180;c=k[a+16>>2]|0;d=k[a+28>>2]|0;g=k[a+20>>2]|0;if((g|0)==(c|0)){e=0;f=a+32|0;b=0}else{e=(k[a+32>>2]|0)+d|0;e=(k[c+(e>>>10<<2)>>2]|0)+((e&1023)<<2)|0;f=a+32|0;b=(k[c+(d>>>10<<2)>>2]|0)+((d&1023)<<2)|0}d=c+(d>>>10<<2)|0;a:while(1){do{if((b|0)==(e|0))break a;b=b+4|0}while((b-(k[d>>2]|0)|0)!=4096);b=d+4|0;d=b;b=k[b>>2]|0}k[f>>2]=0;if(g-c>>2>>>0>2)do{CAb(k[c>>2]|0);c=(k[a+16>>2]|0)+4|0;k[a+16>>2]=c;b=(k[a+20>>2]|0)-c>>2}while(b>>>0>2);else b=g-c>>2;switch(b|0){case 1:{k[a+28>>2]=512;break}case 2:{k[a+28>>2]=1024;break}default:{}}b=k[a+16>>2]|0;c=k[a+20>>2]|0;if((b|0)!=(c|0)){do{CAb(k[b>>2]|0);b=b+4|0}while((b|0)!=(c|0));b=k[a+16>>2]|0;c=k[a+20>>2]|0;if((c|0)!=(b|0))k[a+20>>2]=c+(~((c+-4-b|0)>>>2)<<2)}b=k[a+12>>2]|0;if(!b){g=a+8|0;mP(g);Hj(a);return}CAb(b);g=a+8|0;mP(g);Hj(a);return}function W2(a){a=a|0;V2(a);CAb(a);return}function X2(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+16|0;aP(d,nP(a+8|0)|0);if(!(k[a+32>>2]|0)){cP(d);r=d;return}b=k[a+28>>2]|0;do{c=k[(k[(k[a+16>>2]|0)+(b>>>10<<2)>>2]|0)+((b&1023)<<2)>>2]|0;Si[k[(k[c>>2]|0)+12>>2]&1023](c);c=(k[a+32>>2]|0)+-1|0;k[a+32>>2]=c;b=(k[a+28>>2]|0)+1|0;k[a+28>>2]=b;if(b>>>0>2047){CAb(k[k[a+16>>2]>>2]|0);k[a+16>>2]=(k[a+16>>2]|0)+4;b=(k[a+28>>2]|0)+-1024|0;k[a+28>>2]=b;c=k[a+32>>2]|0}}while((c|0)!=0);cP(d);r=d;return}function Y2(a,b,c){a=a|0;b=b|0;c=c|0;Uj(a);k[a>>2]=22156;Vqb(a+8|0,b);Z2(a+20|0,c);return}function Z2(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;d=(k[b+4>>2]|0)-(k[b>>2]|0)|0;if(!(d>>2))return;if(d>>2>>>0>1073741823)xzb(a);c=kBb(d)|0;k[a+4>>2]=c;k[a>>2]=c;k[a+8>>2]=c+(d>>2<<2);d=k[b>>2]|0;e=k[b+4>>2]|0;if((d|0)==(e|0))return;do{b=k[d>>2]|0;k[c>>2]=b;if(b){Si[k[(k[b>>2]|0)+8>>2]&1023](b);c=k[a+4>>2]|0}c=c+4|0;k[a+4>>2]=c;d=d+4|0}while((d|0)!=(e|0));return}function _2(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;vs(b,a+8|0);c=k[a+20>>2]|0;e=k[a+24>>2]|0;if((c|0)==(e|0)){a=c;b=e;a=b-a|0;a=a>>2;a=a+1|0;return a|0}do{d=k[c>>2]|0;if(!d)UDa(b);else F_(d,b);c=c+4|0}while((c|0)!=(e|0));b=k[a+20>>2]|0;a=k[a+24>>2]|0;a=a-b|0;a=a>>2;a=a+1|0;return a|0}function $2(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=r;r=r+32|0;us(j+20|0,a,b);k[j+8>>2]=0;i=j+8+4|0;k[i>>2]=0;k[j+8+8>>2]=0;e=(xDa(a)|0)-b|0;a:do if((e|0)>0){f=0;while(1){g=b+1+f|0;if((DDa(a,g)|0)<1){h=20;break a}d=D_(a,g,1)|0;k[j+4>>2]=d;if(d|0)Si[k[(k[d>>2]|0)+8>>2]&1023](d);c=k[i>>2]|0;if(c>>>0<(k[j+8+8>>2]|0)>>>0){k[c>>2]=d;if(d){Si[k[(k[d>>2]|0)+8>>2]&1023](d);c=k[i>>2]|0}k[i>>2]=c+4}else wu(j+8|0,j+4|0);if(d|0)Si[k[(k[d>>2]|0)+12>>2]&1023](d);c=k[i>>2]|0;d=k[c+-4>>2]|0;if(!d)break;Si[k[(k[d>>2]|0)+12>>2]&1023](d);f=f+1|0;if((f|0)>=(e|0)){h=20;break a}}e=k[j+8>>2]|0;if((c|0)!=(e|0))do{c=c+-4|0;k[i>>2]=c;d=k[c>>2]|0;if(d){Si[k[(k[d>>2]|0)+12>>2]&1023](d);c=k[i>>2]|0}}while((c|0)!=(e|0));k[j>>2]=g;aHa(a,363748,j)|0;f=0}else h=20;while(0);if((h|0)==20){f=kBb(32)|0;Uj(f);k[f>>2]=22156;Vqb(f+8|0,j+20|0);Z2(f+20|0,j+8|0)}c=k[j+8>>2]|0;if(!c){_qb(j+20|0);r=j;return f|0}d=k[i>>2]|0;if((d|0)!=(c|0)){do{d=d+-4|0;k[i>>2]=d;e=k[d>>2]|0;if(e){Si[k[(k[e>>2]|0)+12>>2]&1023](e);d=k[i>>2]|0}}while((d|0)!=(c|0));c=k[j+8>>2]|0}CAb(c);_qb(j+20|0);r=j;return f|0}function a3(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=r;r=r+16|0;aP(f,nP(a+8|0)|0);Si[k[(k[b>>2]|0)+8>>2]&1023](b);g=k[a+20>>2]|0;d=k[a+16>>2]|0;e=k[a+28>>2]|0;c=k[a+32>>2]|0;if((((g|0)==(d|0)?0:(g-d<<8)+-1|0)|0)==(c+e|0)){b3(a+12|0);c=k[a+32>>2]|0;e=k[a+28>>2]|0;d=k[a+16>>2]|0}g=c+e|0;k[(k[d+(g>>>10<<2)>>2]|0)+((g&1023)<<2)>>2]=b;k[a+32>>2]=c+1;cP(f);r=f;return}function b3(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0;n=r;r=r+16|0;b=k[a+16>>2]|0;if(b>>>0>1023){k[a+16>>2]=b+-1024;e=k[a+4>>2]|0;j=k[e>>2]|0;k[a+4>>2]=e+4;b=k[a+8>>2]|0;c=k[a+12>>2]|0;do if((b|0)==(c|0)){d=k[a>>2]|0;if((e+4|0)>>>0>d>>>0){m=e+4+((((e+4-d>>2)+1|0)/-2|0)<<2)|0;BBb(m|0,e+4|0,b-(e+4)|0)|0;k[a+8>>2]=m+(b-(e+4)>>2<<2);k[a+4>>2]=(k[a+4>>2]|0)+((((e+4-d>>2)+1|0)/-2|0)<<2);b=m+(b-(e+4)>>2<<2)|0;break}g=(c-d>>1|0)==0?1:c-d>>1;h=kBb(g<<2)|0;i=h+(g>>>2<<2)|0;if((e+4|0)==(b|0)){c=d;b=i}else{f=h+(g>>>2<<2)|0;d=e+4|0;c=i;while(1){k[f>>2]=k[d>>2];f=c+4|0;e=f;d=d+4|0;if((d|0)==(b|0))break;else c=e}c=k[a>>2]|0;b=e}k[a>>2]=h;k[a+4>>2]=i;k[a+8>>2]=b;k[a+12>>2]=h+(g<<2);if(c){CAb(c);b=k[a+8>>2]|0}}while(0);k[b>>2]=j;k[a+8>>2]=(k[a+8>>2]|0)+4;r=n;return}f=k[a+8>>2]|0;d=k[a+4>>2]|0;c=k[a+12>>2]|0;b=c-(k[a>>2]|0)|0;if(f-d>>2>>>0>2>>>0){b=kBb(4096)|0;if((c|0)!=(f|0)){k[n+4>>2]=b;c3(a,n+4|0);r=n;return}k[n>>2]=b;d3(a,n);e=k[a+4>>2]|0;j=k[e>>2]|0;k[a+4>>2]=e+4;b=k[a+8>>2]|0;c=k[a+12>>2]|0;do if((b|0)==(c|0)){d=k[a>>2]|0;if((e+4|0)>>>0>d>>>0){m=e+4+((((e+4-d>>2)+1|0)/-2|0)<<2)|0;BBb(m|0,e+4|0,b-(e+4)|0)|0;k[a+8>>2]=m+(b-(e+4)>>2<<2);k[a+4>>2]=(k[a+4>>2]|0)+((((e+4-d>>2)+1|0)/-2|0)<<2);b=m+(b-(e+4)>>2<<2)|0;break}i=(c-d>>1|0)==0?1:c-d>>1;g=kBb(i<<2)|0;h=g+(i>>>2<<2)|0;if((e+4|0)==(b|0)){c=d;b=h}else{f=g+(i>>>2<<2)|0;d=e+4|0;c=h;while(1){k[f>>2]=k[d>>2];f=c+4|0;e=f;d=d+4|0;if((d|0)==(b|0))break;else c=e}c=k[a>>2]|0;b=e}k[a>>2]=g;k[a+4>>2]=h;k[a+8>>2]=b;k[a+12>>2]=g+(i<<2);if(c){CAb(c);b=k[a+8>>2]|0}}while(0);k[b>>2]=j;k[a+8>>2]=(k[a+8>>2]|0)+4;r=n;return}b=(b>>1|0)==0?1:b>>1;c=kBb(b<<2)|0;e=kBb(4096)|0;do if((f-d>>2|0)==(b|0))if((f-d|0)>0){i=f;g=d;h=c;d=c+(f-d>>2<<2)+((((f-d>>2)+1|0)/-2|0)<<2)|0;c=c+(b<<2)|0;break}else{m=(f-d>>1|0)==0?1:f-d>>1;l=kBb(m<<2)|0;CAb(c);i=k[a+8>>2]|0;g=k[a+4>>2]|0;h=l;d=l+(m>>>2<<2)|0;c=l+(m<<2)|0;break}else{i=f;g=d;h=c;d=c+(f-d>>2<<2)|0;c=c+(b<<2)|0}while(0);b=d;k[d>>2]=e;d=d+4|0;if((i|0)==(g|0)){f=h;e=b}else{m=i;do{m=m+-4|0;f=b;do if((f|0)==(h|0)){g=d;if(g>>>0>>0){l=g+((((c-d>>2)+1|0)/2|0)<<2)|0;d=d-b|0;BBb(l+(0-(d>>2)<<2)|0,b|0,d|0)|0;f=l+(0-(d>>2)<<2)|0;b=l+(0-(d>>2)<<2)|0;d=l;break}j=c-h>>1;j=(j|0)==0?1:j;l=kBb(j<<2)|0;i=l+((j+3|0)>>>2<<2)|0;if((f|0)==(g|0))d=i;else{e=l+((j+3|0)>>>2<<2)|0;c=f;d=i;do{k[e>>2]=k[c>>2];e=d+4|0;d=e;c=c+4|0}while((c|0)!=(g|0))}if(!b){f=l+((j+3|0)>>>2<<2)|0;h=l;b=i;c=l+(j<<2)|0}else{CAb(b);f=l+((j+3|0)>>>2<<2)|0;h=l;b=i;c=l+(j<<2)|0}}while(0);k[f+-4>>2]=k[m>>2];b=b+-4|0}while((m|0)!=(k[a+4>>2]|0));f=h;e=b}b=k[a>>2]|0;k[a>>2]=f;k[a+4>>2]=e;k[a+8>>2]=d;k[a+12>>2]=c;if(!b){r=n;return}CAb(b);r=n;return}function c3(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=k[a+8>>2]|0;d=k[a+12>>2]|0;do if((c|0)==(d|0)){f=k[a+4>>2]|0;e=k[a>>2]|0;if(f>>>0>e>>>0){j=f+((((f-e>>2)+1|0)/-2|0)<<2)|0;BBb(j|0,f|0,c-f|0)|0;k[a+8>>2]=j+(c-f>>2<<2);k[a+4>>2]=(k[a+4>>2]|0)+((((f-e>>2)+1|0)/-2|0)<<2);c=j+(c-f>>2<<2)|0;break}h=(d-e>>1|0)==0?1:d-e>>1;i=kBb(h<<2)|0;j=i+(h>>>2<<2)|0;if((f|0)==(c|0)){d=e;c=j}else{g=i+(h>>>2<<2)|0;e=f;d=j;while(1){k[g>>2]=k[e>>2];g=d+4|0;f=g;e=e+4|0;if((e|0)==(c|0))break;else d=f}d=k[a>>2]|0;c=f}k[a>>2]=i;k[a+4>>2]=j;k[a+8>>2]=c;k[a+12>>2]=i+(h<<2);if(d){CAb(d);c=k[a+8>>2]|0}}while(0);k[c>>2]=k[b>>2];k[a+8>>2]=(k[a+8>>2]|0)+4;return}function d3(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=k[a+4>>2]|0;d=k[a>>2]|0;do if((c|0)==(d|0)){i=k[a+8>>2]|0;e=k[a+12>>2]|0;if(i>>>0>>0){h=i+((((e-i>>2)+1|0)/2|0)<<2)+(0-(i-c>>2)<<2)|0;BBb(h|0,c|0,i-c|0)|0;k[a+4>>2]=h;k[a+8>>2]=(k[a+8>>2]|0)+((((e-i>>2)+1|0)/2|0)<<2);c=h;break}f=(e-d>>1|0)==0?1:e-d>>1;g=kBb(f<<2)|0;h=g+((f+3|0)>>>2<<2)|0;if((c|0)==(i|0))d=h;else{e=g+((f+3|0)>>>2<<2)|0;d=h;do{k[e>>2]=k[c>>2];e=d+4|0;d=e;c=c+4|0}while((c|0)!=(i|0));c=k[a>>2]|0}k[a>>2]=g;k[a+4>>2]=h;k[a+8>>2]=d;k[a+12>>2]=g+(f<<2);if(!c)c=g+((f+3|0)>>>2<<2)|0;else{CAb(c);c=k[a+4>>2]|0}}while(0);k[c+-4>>2]=k[b>>2];k[a+4>>2]=(k[a+4>>2]|0)+-4;return}function e3(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=r;r=r+16|0;aP(d,nP(a+8|0)|0);c=k[a+32>>2]|0;if(!c){a=0;cP(d);r=d;return a|0}e=k[a+28>>2]|0;k[b>>2]=k[(k[(k[a+16>>2]|0)+(e>>>10<<2)>>2]|0)+((e&1023)<<2)>>2];k[a+32>>2]=c+-1;k[a+28>>2]=e+1;if((e+1|0)>>>0<=2047){e=1;cP(d);r=d;return e|0}CAb(k[k[a+16>>2]>>2]|0);k[a+16>>2]=(k[a+16>>2]|0)+4;k[a+28>>2]=(k[a+28>>2]|0)+-1024;e=1;cP(d);r=d;return e|0}function f3(a){a=a|0;var b=0,c=0,d=0;k[a>>2]=22224;if(CAa()|0)pAa()|0;b=k[a+100>>2]|0;if(b|0){c=k[a+104>>2]|0;if((c|0)!=(b|0)){do{d=c+-12|0;k[a+104>>2]=d;_qb(d);c=k[a+104>>2]|0}while((c|0)!=(b|0));b=k[a+100>>2]|0}CAb(b)}b=k[a+88>>2]|0;if(b|0){c=k[a+92>>2]|0;if((c|0)!=(b|0)){do{d=c+-12|0;k[a+92>>2]=d;_qb(d);c=k[a+92>>2]|0}while((c|0)!=(b|0));b=k[a+88>>2]|0}CAb(b)}_qb(a+72|0);_qb(a+60|0);_qb(a+48|0);_qb(a+36|0);_qb(a+24|0);_qb(a+12|0);v4(a);return}function g3(a){a=a|0;f3(a);CAb(a);return}function h3(a){a=a|0;return 2}function i3(a){a=a|0;return 363868}function j3(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;if(!(fAa(b)|0)){a=xf(16)|0;b=dAa()|0;k[c>>2]=b;os(a,593163,c);Jc(a|0,96,27)}else{Di[k[(k[a>>2]|0)+156>>2]&511](a,1);r=c;return}}function k3(a,b){a=a|0;b=b|0;if(i[a+85>>0]|0)return;i[a+84>>0]=b&1;i[a+85>>0]=1;return}function l3(a){a=a|0;if(!(i[a+85>>0]|0)){a=0;return a|0}a=(i[a+84>>0]|0)!=0;return a|0}function m3(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0;m=r;r=r+96|0;if(!(CAa()|0)){a=0;r=m;return a|0}b=i[a+36>>0]|0;if(!(b&1))b=(b&255)>>>1;else b=k[a+40>>2]|0;if(!b){a=0;r=m;return a|0}c=i[a+60>>0]|0;if(!(c&1))b=(c&255)>>>1;else b=k[a+64>>2]|0;if(!b){a=0;r=m;return a|0}b=i[a+48>>0]|0;if(!(b&1))b=(b&255)>>>1;else b=k[a+52>>2]|0;if(!b){a=0;r=m;return a|0}d=(c&1)==0?(c&255)>>>1:k[a+64>>2]|0;a:do if(!d)b=0;else{c=(c&1)==0?a+60+1|0:k[a+68>>2]|0;b=0;while(1){switch(i[c+b>>0]|0){case 47:case 92:break a;default:{}}b=b+1|0;if(b>>>0>=d>>>0){b=0;break a}}}while(0);Yqb(m+72|0,a+60|0,0,b+1|0,a+60|0);b=i[a+60>>0]|0;d=(b&1)==0?(b&255)>>>1:k[a+64>>2]|0;b:do if(!d)b=0;else{c=(b&1)==0?a+60+1|0:k[a+68>>2]|0;b=0;while(1){switch(i[c+b>>0]|0){case 47:case 92:break b;default:{}}b=b+1|0;if(b>>>0>=d>>>0){b=0;break b}}}while(0);Yqb(m+60|0,a+60|0,b+1|0,-1,a+60|0);Di[k[(k[a>>2]|0)+88>>2]&511](m+48|0,a);b=i[a+60>>0]|0;if(!(b&1)){b=(b&255)>>>1;j=a+60+1|0}else{b=k[a+64>>2]|0;j=k[a+68>>2]|0}g=i[m+48>>0]|0;f=(g&1)==0?m+48+1|0:k[m+48+8>>2]|0;g=(g&1)==0?(g&255)>>>1:k[m+48+4>>2]|0;c:do if(b>>>0>>0)l=36;else{if(!g)_qb(m+48|0);else{h=j+b|0;if((b|0)<(g|0)){l=36;break}if((h+(1-g)|0)==(j|0)){l=36;break}c=i[f>>0]|0;b=j;d:while(1){if((i[b>>0]|0)==c<<24>>24){d=b;e=f;do{e=e+1|0;if((e|0)==(f+g|0))break d;d=d+1|0}while((i[d>>0]|0)==(i[e>>0]|0))}b=b+1|0;if((b|0)==(h+(1-g)|0)){l=36;break c}}if((b|0)==(h|0)){l=36;break}_qb(m+48|0);if((b|0)!=(j|0))break}Di[k[(k[a>>2]|0)+88>>2]&511](m+36|0,a);if(!(i[m+72>>0]&1)){i[m+72+1>>0]=0;i[m+72>>0]=0}else{i[k[m+72+8>>2]>>0]=0;k[m+72+4>>2]=0}crb(m+72|0,0);k[m+72>>2]=k[m+36>>2];k[m+72+4>>2]=k[m+36+4>>2];k[m+72+8>>2]=k[m+36+8>>2];k[m+36>>2]=0;k[m+36+4>>2]=0;k[m+36+8>>2]=0;_qb(m+36|0);Di[k[(k[a>>2]|0)+88>>2]&511](m+12|0,a);j=i[m+12>>0]|0;Yqb(m+24|0,a+60|0,(j&1)==0?(j&255)>>>1:k[m+12+4>>2]|0,-1,a+60|0);if(!(i[m+60>>0]&1)){i[m+60+1>>0]=0;i[m+60>>0]=0}else{i[k[m+60+8>>2]>>0]=0;k[m+60+4>>2]=0}crb(m+60|0,0);k[m+60>>2]=k[m+24>>2];k[m+60+4>>2]=k[m+24+4>>2];k[m+60+8>>2]=k[m+24+8>>2];k[m+24>>2]=0;k[m+24+4>>2]=0;k[m+24+8>>2]=0;_qb(m+24|0);_qb(m+12|0);c=i[m+60>>0]|0;d=(c&1)==0?m+60+1|0:k[m+60+8>>2]|0;c=(c&1)==0?(c&255)>>>1:k[m+60+4>>2]|0;if(c|0){b=d;while(1){if((i[b>>0]|0)!=47)break;b=b+1|0;if((b|0)==(d+c|0))break c}if((b-d|0)!=-1){Yqb(m,m+60|0,b-d|0,-1,m+60|0);if(!(i[m+60>>0]&1)){i[m+60+1>>0]=0;i[m+60>>0]=0}else{i[k[m+60+8>>2]>>0]=0;k[m+60+4>>2]=0}crb(m+60|0,0);k[m+60>>2]=k[m>>2];k[m+60+4>>2]=k[m+4>>2];k[m+60+8>>2]=k[m+8>>2];k[m>>2]=0;k[m+4>>2]=0;k[m+8>>2]=0;_qb(m)}}}while(0);if((l|0)==36)_qb(m+48|0);do if(!(rAa((i[m+72>>0]&1)==0?m+72+1|0:k[m+72+8>>2]|0)|0))b=0;else{if(!(gj[k[(k[a>>2]|0)+124>>2]&511](a,(i[m+60>>0]&1)==0?m+60+1|0:k[m+60+8>>2]|0)|0)){rAa(0)|0;b=0;break}if(!(i[a+60>>0]&1))b=a+60+1|0;else b=k[a+68>>2]|0;if(!(rAa(b)|0))b=0;else{if(!(i[a+60>>0]&1))b=a+60+1|0;else b=k[a+68>>2]|0;if(!(GAa(b,0,0)|0)){rAa(0)|0;b=0}else b=1}}while(0);_qb(m+60|0);_qb(m+72|0);a=b;r=m;return a|0}function n3(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+128|0;if(!(CAa()|0)){c=0;r=d;return c|0}Vqb(d+108|0,a+60|0);Wqb(d+96|0,b,Fnb(b)|0);if(!(i[a+36>>0]&1)){i[a+36+1>>0]=0;i[a+36>>0]=0}else{i[k[a+44>>2]>>0]=0;k[a+40>>2]=0}crb(a+36|0,0);k[a+36>>2]=k[d+96>>2];k[a+36+4>>2]=k[d+96+4>>2];k[a+36+8>>2]=k[d+96+8>>2];k[d+96>>2]=0;k[d+96+4>>2]=0;k[d+96+8>>2]=0;_qb(d+96|0);Wqb(d+72|0,363891,5);b=i[a+36>>0]|0;b=hrb(d+72|0,(b&1)==0?a+36+1|0:k[a+44>>2]|0,(b&1)==0?(b&255)>>>1:k[a+40>>2]|0)|0;k[d+84>>2]=k[b>>2];k[d+84+4>>2]=k[b+4>>2];k[d+84+8>>2]=k[b+8>>2];k[b>>2]=0;k[b+4>>2]=0;k[b+8>>2]=0;if(!(i[a+48>>0]&1)){i[a+48+1>>0]=0;i[a+48>>0]=0}else{i[k[a+56>>2]>>0]=0;k[a+52>>2]=0}crb(a+48|0,0);k[a+48>>2]=k[d+84>>2];k[a+48+4>>2]=k[d+84+4>>2];k[a+48+8>>2]=k[d+84+8>>2];k[d+84>>2]=0;k[d+84+4>>2]=0;k[d+84+8>>2]=0;_qb(d+84|0);_qb(d+72|0);Di[k[(k[a>>2]|0)+92>>2]&511](d+48|0,a);Wqb(d+36|0,520599,1);b=i[d+36>>0]|0;b=hrb(d+48|0,(b&1)==0?d+36+1|0:k[d+36+8>>2]|0,(b&1)==0?(b&255)>>>1:k[d+36+4>>2]|0)|0;k[d+60>>2]=k[b>>2];k[d+60+4>>2]=k[b+4>>2];k[d+60+8>>2]=k[b+8>>2];k[b>>2]=0;k[b+4>>2]=0;k[b+8>>2]=0;if(!(i[a+60>>0]&1)){i[a+60+1>>0]=0;i[a+60>>0]=0}else{i[k[a+68>>2]>>0]=0;k[a+64>>2]=0}crb(a+60|0,0);k[a+60>>2]=k[d+60>>2];k[a+60+4>>2]=k[d+60+4>>2];k[a+60+8>>2]=k[d+60+8>>2];k[d+60>>2]=0;k[d+60+4>>2]=0;k[d+60+8>>2]=0;_qb(d+60|0);_qb(d+36|0);_qb(d+48|0);if(!(i[a+84>>0]|0)){b=i[a+48>>0]|0;hrb(a+60|0,(b&1)==0?a+48+1|0:k[a+56>>2]|0,(b&1)==0?(b&255)>>>1:k[a+52>>2]|0)|0}else{Wqb(d+12|0,1279174,0);b=i[a+36>>0]|0;b=hrb(d+12|0,(b&1)==0?a+36+1|0:k[a+44>>2]|0,(b&1)==0?(b&255)>>>1:k[a+40>>2]|0)|0;k[d+24>>2]=k[b>>2];k[d+24+4>>2]=k[b+4>>2];k[d+24+8>>2]=k[b+8>>2];k[b>>2]=0;k[b+4>>2]=0;k[b+8>>2]=0;b=i[d+24>>0]|0;hrb(a+60|0,(b&1)==0?d+24+1|0:k[d+24+8>>2]|0,(b&1)==0?(b&255)>>>1:k[d+24+4>>2]|0)|0;_qb(d+24|0);_qb(d+12|0)}o3(d,a+60|0);if(!(i[a+60>>0]&1)){i[a+60+1>>0]=0;i[a+60>>0]=0}else{i[k[a+68>>2]>>0]=0;k[a+64>>2]=0}crb(a+60|0,0);k[a+60>>2]=k[d>>2];k[a+60+4>>2]=k[d+4>>2];k[a+60+8>>2]=k[d+8>>2];k[d>>2]=0;k[d+4>>2]=0;k[d+8>>2]=0;_qb(d);b=i[d+108>>0]|0;if(((b&1)==0?(b&255)>>>1:k[d+108+4>>2]|0)|0)HAa((b&1)==0?d+108+1|0:k[d+108+8>>2]|0)|0;if(!(i[a+60>>0]&1))b=a+60+1|0;else b=k[a+68>>2]|0;GAa(b,0,c&1)|0;rAa(0)|0;_qb(d+108|0);c=1;r=d;return c|0}function o3(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0;h=r;r=r+160|0;k[h+8>>2]=9184;k[h>>2]=9388;k[h+64>>2]=9408;k[h+4>>2]=0;Fsb(h+64|0,h+12|0);k[h+136>>2]=0;k[h+140>>2]=-1;k[h>>2]=9164;k[h+64>>2]=9204;k[h+8>>2]=9184;Hsb(h+12|0);k[h+12>>2]=9220;k[h+44>>2]=0;k[h+44+4>>2]=0;k[h+44+8>>2]=0;k[h+44+12>>2]=0;k[h+60>>2]=24;k[h+144>>2]=0;k[h+144+4>>2]=0;k[h+144+8>>2]=0;ok(h+12|0,h+144|0);_qb(h+144|0);c=i[b>>0]|0;d=k[b+4>>2]|0;if(!(((c&1)==0?(c&255)>>>1:d)|0)){rk(a,h+12|0);k[h>>2]=9164;k[h+64>>2]=9204;b=h+8|0;k[b>>2]=9184;k[h+12>>2]=9220;_qb(h+44|0);Irb(h+12|0);Erb(h+64|0);r=h;return}f=0;g=0;do{e=i[((c&1)==0?b+1|0:k[b+8>>2]|0)+f>>0]|0;j=g;g=e<<24>>24==47;if(!(j&g)){i[h+144>>0]=e;pk(h+8|0,h+144|0,1)|0;c=i[b>>0]|0;d=k[b+4>>2]|0}f=f+1|0}while(f>>>0<((c&1)==0?(c&255)>>>1:d)>>>0);rk(a,h+12|0);k[h>>2]=9164;k[h+64>>2]=9204;j=h+8|0;k[j>>2]=9184;k[h+12>>2]=9220;_qb(h+44|0);Irb(h+12|0);Erb(h+64|0);r=h;return}function p3(a){a=a|0;if(!(i[a+36>>0]&1)){a=a+36+1|0;return a|0}else{a=k[a+44>>2]|0;return a|0}return 0}function q3(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+16|0;if(!(CAa()|0)){a=0;r=d;return a|0}c=i[a+72>>0]|0;if(!(c&1))c=(c&255)>>>1;else c=k[a+76>>2]|0;if(c|0){a=0;r=d;return a|0}Wqb(d,b,Fnb(b)|0);if(!(GAa((i[d>>0]&1)==0?d+1|0:k[d+8>>2]|0,0,1)|0))c=0;else{$qb(a+72|0,d)|0;c=1}_qb(d);a=c;r=d;return a|0}function r3(a){a=a|0;if(!(i[a+72>>0]&1)){a=a+72+1|0;return a|0}else{a=k[a+80>>2]|0;return a|0}return 0}function s3(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0;o=r;r=r+32|0;if(!((b|0)!=0&(CAa()|0)!=0)){c=0;r=o;return c|0};k[o+12>>2]=0;k[o+12+4>>2]=0;k[o+12+8>>2]=0;Di[k[(k[a>>2]|0)+100>>2]&511](o,a);e=k[a+100>>2]|0;f=k[a+104>>2]|0;if((e|0)==(f|0))n=7;else{while(1){if(!(srb(e,b)|0))break;e=e+12|0;if((e|0)==(f|0)){e=f;break}}if((e|0)==(k[a+104>>2]|0))n=7;else{$qb(o+12|0,e)|0;n=25}}a:do if((n|0)==7){if(Gi[k[(k[a>>2]|0)+32>>2]&2047](a)|0)if(!(srb(o,b)|0)){$qb(o+12|0,o)|0;n=25;break}if(!(i[b>>0]|0))e=0;else if(!(Dob(b,517134)|0))if(!(Wmb(b,520599)|0))e=0;else{e=SAa(b)|0;if(!e)e=0;else{drb(o+12|0,e)|0;m=i[o+12>>0]|0;l=(m&1)==0?o+12+1|0:k[o+12+8>>2]|0;m=(m&1)==0?(m&255)>>>1:k[o+12+4>>2]|0;f=i[a+72>>0]|0;j=(f&1)==0?a+72+1|0:k[a+80>>2]|0;f=(f&1)==0?(f&255)>>>1:k[a+76>>2]|0;b:do if(m>>>0>=f>>>0){if(!f){e=0;break a}if((m|0)>=(f|0))if((l+m+(1-f)|0)!=(l|0)){a=i[j>>0]|0;e=l;c:while(1){if((i[e>>0]|0)==a<<24>>24){g=e;h=j;do{h=h+1|0;if((h|0)==(j+f|0))break c;g=g+1|0}while((i[g>>0]|0)==(i[h>>0]|0))}e=e+1|0;if((e|0)==(l+m+(1-f)|0))break b}if((e|0)!=(l+m|0)&(e|0)==(l|0)){e=0;break a}}}while(0);irb(o+12|0,520599)|0;irb(o+12|0,b)|0;n=25}}else e=0}while(0);if((n|0)==25){e=i[o+12>>0]|0;if(!(((e&1)==0?(e&255)>>>1:k[o+12+4>>2]|0)|0))e=0;else e=(GAa((e&1)==0?o+12+1|0:k[o+12+8>>2]|0,c,d&1)|0)!=0}_qb(o);_qb(o+12|0);c=e;r=o;return c|0}function t3(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=r;r=r+32|0;if(!((b|0)!=0&(CAa()|0)!=0)){b=0;r=e;return b|0};k[e+12>>2]=0;k[e+12+4>>2]=0;k[e+12+8>>2]=0;Di[k[(k[a>>2]|0)+100>>2]&511](e,a);c=k[a+100>>2]|0;d=k[a+104>>2]|0;if((c|0)==(d|0))d=7;else{while(1){if(!(srb(c,b)|0))break;c=c+12|0;if((c|0)==(d|0)){c=d;break}}if((c|0)==(k[a+104>>2]|0))d=7;else{$qb(e+12|0,c)|0;d=15}}do if((d|0)==7){if(Gi[k[(k[a>>2]|0)+32>>2]&2047](a)|0)if(!(srb(e,b)|0)){$qb(e+12|0,e)|0;d=15;break}if(!(i[b>>0]|0))c=0;else if(!(Dob(b,517134)|0))if(!(Wmb(b,520599)|0))c=0;else{c=SAa(b)|0;if(!c)c=0;else{drb(e+12|0,c)|0;irb(e+12|0,520599)|0;irb(e+12|0,b)|0;d=15}}else c=0}while(0);if((d|0)==15)if(!(IAa((i[e+12>>0]&1)==0?e+12+1|0:k[e+12+8>>2]|0)|0))c=0;else c=(HAa((i[e+12>>0]&1)==0?e+12+1|0:k[e+12+8>>2]|0)|0)!=0;_qb(e);_qb(e+12|0);b=c;r=e;return b|0}function u3(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;a=kBb(40)|0;Wqb(c,b,Fnb(b)|0);zva(a,c);_qb(c);r=c;return a|0}function v3(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+16|0;a=kBb(48)|0;Wqb(e,d,Fnb(d)|0);Du(a,c,0,e);_qb(e);ABb(Gi[k[(k[a>>2]|0)+16>>2]&2047](a)|0,b|0,c|0)|0;r=e;return a|0}function w3(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=r;r=r+16|0;a=Fnb(b)|0;k[d+12>>2]=0;a=Qua(b,a,d+12|0)|0;b=kBb(48)|0;e=k[d+12>>2]|0;Wqb(d,c,Fnb(c)|0);Du(b,e,((e|0)<0)<<31>>31,d);_qb(d);c=Gi[k[(k[b>>2]|0)+16>>2]&2047](b)|0;ABb(c|0,a|0,k[d+12>>2]|0)|0;if(!a){r=d;return b|0}oBb(a);r=d;return b|0}function x3(a){a=a|0;var b=0,c=0;b=i[a+12>>0]|0;if(!(b&1))c=(b&255)>>>1;else c=k[a+16>>2]|0;if(!c){b=mBb(4096)|0;if(cob(b,4096)|0)drb(a+12|0,b)|0;oBb(b);b=i[a+12>>0]|0}if(!(b&1)){a=a+12+1|0;return a|0}else{a=k[a+20>>2]|0;return a|0}return 0}function y3(a,b){a=a|0;b=b|0;var c=0;b=r;r=r+16|0;if(!(i[621256]|0))if(Ce(621256)|0){c=EAa()|0;Wqb(b,c,Fnb(c)|0);o3(629812,b);_qb(b);pd(621256)}Vqb(a,629812);r=b;return}function z3(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+16|0;c=i[b+24>>0]|0;if(!(c&1))c=(c&255)>>>1;else c=k[b+28>>2]|0;if(c|0){Vqb(a,b+24|0);r=d;return}Di[k[(k[b>>2]|0)+88>>2]&511](d,b);if(!(i[b+24>>0]&1)){i[b+24+1>>0]=0;i[b+24>>0]=0}else{i[k[b+32>>2]>>0]=0;k[b+28>>2]=0}crb(b+24|0,0);k[b+24>>2]=k[d>>2];k[b+24+4>>2]=k[d+4>>2];k[b+24+8>>2]=k[d+8>>2];k[d>>2]=0;k[d+4>>2]=0;k[d+8>>2]=0;_qb(d);Vqb(a,b+24|0);r=d;return}function A3(a){a=a|0;if(!(i[a+60>>0]&1)){a=a+60+1|0;return a|0}else{a=k[a+68>>2]|0;return a|0}return 0}function B3(a,b){a=a|0;b=b|0;var c=0;c=i[b+72>>0]|0;if(!(c&1))c=(c&255)>>>1;else c=k[b+76>>2]|0;if(!c){Wqb(a,1279174,0);return}c=qrb(b+72|0,47,c+-2|0)|0;switch(c|0){case -1:{Wqb(a,1279174,0);return}case 0:{c=1;break}default:{}}Yqb(a,b+72|0,0,c,b+72|0);return}function C3(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;if(!(CAa()|0)){a=xf(16)|0;os(a,504426,d);Jc(a|0,96,27)}b=SAa(c)|0;if(!b){a=xf(16)|0;os(a,363897,d+8|0);Jc(a|0,96,27)}else{Wqb(a,b,Fnb(b)|0);r=d;return}}function D3(a,b){a=a|0;b=b|0;if(!(CAa()|0)){a=0;return a|0}a=(XAa(b)|0)!=0;return a|0}function E3(a,b){a=a|0;b=b|0;if(!(CAa()|0)){a=0;return a|0}a=(ZAa(b)|0)!=0;return a|0}function F3(a,b){a=a|0;b=b|0;if(!(CAa()|0)){a=0;return a|0}if(!(XAa(b)|0)){a=0;return a|0}a=(gj[k[(k[a>>2]|0)+112>>2]&511](a,b)|0)^1;return a|0}function G3(a,b){a=a|0;b=b|0;if(!(CAa()|0)){a=0;return a|0}a=(_Aa(b)|0)!=0;return a|0}function H3(a,b){a=a|0;b=b|0;if(!(CAa()|0)){a=0;return a|0}if(!(FAa()|0))if(!(Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0)){a=0;return a|0}a=(JAa(b)|0)!=0;return a|0}function I3(a,b){a=a|0;b=b|0;if(!(CAa()|0)){a=0;return a|0}if(!(FAa()|0))if(!(Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0)){a=0;return a|0}a=(VAa(b)|0)!=0;return a|0}function J3(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+64|0;Wqb(e+40|0,b,Fnb(b)|0);zva(e,e+40|0);_qb(e+40|0);lva(e,1)|0;a=Ri[k[(k[e>>2]|0)+32>>2]&255](e,c,d)|0;jva(e);r=e;return a|0}function K3(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=r;r=r+64|0;Wqb(a+44|0,b,Fnb(b)|0);zva(a,a+44|0);_qb(a+44|0);lva(a,2)|0;if(qva(a,c,d,e)|0){jva(a);r=a;return}else{b=xf(16)|0;os(b,363918,a+40|0);Jc(b|0,96,27)}}function L3(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=r;r=r+64|0;Wqb(a+44|0,b,Fnb(b)|0);zva(a,a+44|0);_qb(a+44|0);lva(a,3)|0;if(qva(a,c,d,e)|0){jva(a);r=a;return}else{b=xf(16)|0;os(b,363918,a+40|0);Jc(b|0,96,27)}}function M3(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if(!(CAa()|0)){r=e;return}d=MAa(b)|0;if(!d){r=e;return}a=k[d>>2]|0;if(a|0){b=d;do{Wqb(e,a,Fnb(a)|0);a=k[c+4>>2]|0;if(a>>>0<(k[c+8>>2]|0)>>>0){k[a>>2]=k[e>>2];k[a+4>>2]=k[e+4>>2];k[a+8>>2]=k[e+8>>2];k[e>>2]=0;k[e+4>>2]=0;k[e+8>>2]=0;k[c+4>>2]=(k[c+4>>2]|0)+12}else sp(c,e);_qb(e);b=b+4|0;a=k[b>>2]|0}while((a|0)!=0)}DAa(d);r=e;return}function N3(a,b){a=a|0;b=b|0;var c=0,d=0;c=r;r=r+16|0;if(!(CAa()|0)){a=-1;b=-1;L=a;r=c;return b|0}a=YAa(b)|0;b=L;if((a|0)==-1&(b|0)==-1){b=xf(16)|0;os(b,363945,c);Jc(b|0,96,27)}else{d=b;b=a;L=d;r=c;return b|0}return 0}function O3(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+64|0;Wqb(c+40|0,b,Fnb(b)|0);zva(c,c+40|0);_qb(c+40|0);a=ova(c)|0;b=L;jva(c);L=b;r=c;return a|0}function P3(a,b){a=a|0;b=b|0;a=r;r=r+16|0;if(!(CAa()|0)){r=a;return}if(!b){i[a>>0]=0;i[a+1>>0]=0;i[a+2>>0]=0;eAa(a);if((i[a>>0]|0)==2)if((i[a+1>>0]|0)==1){r=a;return}}TAa(b&1);r=a;return}function Q3(a){a=a|0;if(!(CAa()|0)){a=0;return a|0}a=(UAa()|0)!=0;return a|0}function R3(a){a=a|0;return a+88|0}function S3(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,l=0,m=0;c=k[a+100>>2]|0;l=k[a+104>>2]|0;a:do if((c|0)==(l|0))m=12;else{h=i[b>>0]|0;g=(h&1)==0?(h&255)>>>1:k[b+4>>2]|0;h=(h&1)==0?b+1|0:k[b+8>>2]|0;do{d=j[c>>1]|0;do if((((d&1)==0?(d&254)>>>1:k[c+4>>2]|0)|0)==(g|0)){if(d&1)if(!(Emb(k[c+8>>2]|0,h,g)|0)){m=12;break a}else break;if(!g){m=12;break a}if(((d&65535)>>>8&255)<<24>>24==(i[h>>0]|0)){d=(d&254)>>>1;e=c+1|0;f=h;do{d=d+-1|0;e=e+1|0;if(!d){m=12;break a}f=f+1|0}while((i[e>>0]|0)==(i[f>>0]|0))}}while(0);c=c+12|0}while((c|0)!=(l|0))}while(0);if((m|0)==12)if((c|0)!=(l|0))return;if((l|0)==(k[a+108>>2]|0)){wv(a+100|0,b);return}else{Vqb(l,b);k[a+104>>2]=(k[a+104>>2]|0)+12;return}}function T3(a){a=a|0;var b=0,c=0,d=0;c=r;r=r+32|0;B4(a);k[a>>2]=22224;b=a+12|0;d=b+72|0;do{k[b>>2]=0;b=b+4|0}while((b|0)<(d|0));j[a+12+72>>1]=0;k[a+88>>2]=0;k[a+88+4>>2]=0;k[a+88+8>>2]=0;k[a+88+12>>2]=0;k[a+88+16>>2]=0;k[a+88+20>>2]=0;Wqb(c,363989,5);Wqb(c+12|0,363995,10);U3(a+88|0,c,c+24|0);_qb(c+12|0);_qb(c);r=c;return}function U3(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=k[a+8>>2]|0;d=k[a>>2]|0;if(((c-b|0)/12|0)>>>0<=((e-d|0)/12|0)>>>0){g=((k[a+4>>2]|0)-d|0)/12|0;f=((c-b|0)/12|0)>>>0>g>>>0?b+(g*12|0)|0:c;if((f|0)==(b|0))e=d;else{e=b;do{$qb(d,e)|0;e=e+12|0;d=d+12|0}while((e|0)!=(f|0));e=d}if(((c-b|0)/12|0)>>>0<=g>>>0){d=k[a+4>>2]|0;if((d|0)==(e|0))return;do{c=d+-12|0;k[a+4>>2]=c;_qb(c);d=k[a+4>>2]|0}while((d|0)!=(e|0));return}if((f|0)==(c|0))return;d=b+(g*12|0)|0;b=k[a+4>>2]|0;do{Vqb(b,d);b=(k[a+4>>2]|0)+12|0;k[a+4>>2]=b;d=d+12|0}while((d|0)!=(c|0));return}if(!d)d=e;else{e=k[a+4>>2]|0;if((e|0)!=(d|0)){do{g=e+-12|0;k[a+4>>2]=g;_qb(g);e=k[a+4>>2]|0}while((e|0)!=(d|0));d=k[a>>2]|0}CAb(d);k[a+8>>2]=0;k[a+4>>2]=0;k[a>>2]=0;d=0}if(((c-b|0)/12|0)>>>0>357913941)xzb(a);e=(d-0|0)/12|0;if(e>>>0<178956970){d=e<<1>>>0>=((c-b|0)/12|0)>>>0;if(d|((c-b|0)/12|0)>>>0>357913941^1)f=d?e<<1:(c-b|0)/12|0;else xzb(a)}else f=357913941;d=kBb(f*12|0)|0;k[a+4>>2]=d;k[a>>2]=d;k[a+8>>2]=d+(f*12|0);if((b|0)==(c|0))return;do{Vqb(d,b);d=(k[a+4>>2]|0)+12|0;k[a+4>>2]=d;b=b+12|0}while((b|0)!=(c|0));return}function V3(a){a=a|0;var b=0;k[a>>2]=22412;if(k[a+24>>2]|0){b=k[a+20>>2]|0;if(b|0)if(!(mob(b)|0)){k[a+24>>2]=0;k[a+20>>2]=0}}_qb(a+8|0);k4(a);return}function W3(a){a=a|0;var b=0;k[a>>2]=22412;if(k[a+24>>2]|0){b=k[a+20>>2]|0;if(b|0)if(!(mob(b)|0)){k[a+24>>2]=0;k[a+20>>2]=0}}_qb(a+8|0);k4(a);CAb(a);return}function X3(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=r;r=r+16|0;if(!b){a=1;r=e;return a|0}if(k[a+20>>2]|0){a=0;r=e;return a|0}if(!(i[a+8>>0]&1))d=a+8+1|0;else d=k[a+16>>2]|0;switch(b|0){case 3:{c=364039;break}case 1:{c=527887;break}case 2:{c=606212;break}default:c=439819}c=job(d,c)|0;k[a+20>>2]=c;if((b|0)==1&(c|0)==0){c=xf(16)|0;if(!(i[a+8>>0]&1)){a=a+8+1|0;k[e>>2]=a;os(c,504453,e);Jc(c|0,96,27)}else{a=k[a+16>>2]|0;k[e>>2]=a;os(c,504453,e);Jc(c|0,96,27)}}else{k[a+24>>2]=b;if(c|0)if(!(nj[k[(k[a>>2]|0)+64>>2]&127](a,k[a+28>>2]|0,k[a+32>>2]|0,k[a+32+4>>2]|0)|0)){k[a+28>>2]=0;k[a+32>>2]=0;k[a+32+4>>2]=0}a=(k[a+20>>2]|0)!=0;r=e;return a|0}return 0}function Y3(a){a=a|0;var b=0;b=k[a+20>>2]|0;if(!b){a=0;return a|0}if(mob(b)|0){a=0;return a|0}k[a+24>>2]=0;k[a+20>>2]=0;a=1;return a|0}function Z3(a){a=a|0;if(!(k[a+24>>2]|0)){a=0;return a|0}a=(k[a+20>>2]|0)!=0;return a|0}function _3(a){a=a|0;var b=0,c=0;b=r;r=r+80|0;if(!(i[a+8>>0]&1))a=a+8+1|0;else a=k[a+16>>2]|0;c=(aob(a,b)|0)==0;a=k[b+36>>2]|0;L=c?((a|0)<0)<<31>>31:-1;r=b;return (c?a:-1)|0}function $3(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=r;r=r+16|0;e=k[a+20>>2]|0;if(e|0)if((k[a+24>>2]|0)==1)if((d|0)<0){a=xf(16)|0;os(a,504584,f+8|0);Jc(a|0,96,27)}else{a=Epb(b,1,c,e)|0;L=0;r=f;return a|0}a=xf(16)|0;os(a,504552,f);Jc(a|0,96,27);return 0}function a4(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=r;r=r+16|0;e=k[a+20>>2]|0;if(e|0)if((k[a+24>>2]&-2|0)==2)if((d|0)<0){a=xf(16)|0;os(a,504635,f+8|0);Jc(a|0,96,27)}else{a=(Dpb(b,1,c,e)|0)==(c|0)&0==(d|0);r=f;return a|0}a=xf(16)|0;os(a,504603,f);Jc(a|0,96,27);return 0}function b4(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=k[a+20>>2]|0;if(b|0)if((k[a+24>>2]&-2|0)==2){a=(nob(b)|0)==0;r=c;return a|0}a=xf(16)|0;os(a,504603,c);Jc(a|0,96,27);return 0}function c4(a){a=a|0;a=k[a+20>>2]|0;if(!a){a=1;return a|0}a=(qob(a)|0)!=0;return a|0}function d4(a){a=a|0;var b=0;a=k[a+20>>2]|0;if(!a){a=-1;b=-1}else{b=Hpb(a)|0;a=((b|0)<0)<<31>>31}L=a;return b|0}function e4(a,b,c){a=a|0;b=b|0;c=c|0;c=k[a+20>>2]|0;if(!c){b=0;return b|0}b=(zob(c,b,0)|0)==0;return b|0}function f4(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;if((d|0)<0){a=0;return a|0}e=(b|0)==0?0:c;c=(b|0)==0?0:d;if(!(Gi[k[(k[a>>2]|0)+24>>2]&2047](a)|0)){k[a+28>>2]=b;k[a+32>>2]=e;k[a+32+4>>2]=c;a=1;return a|0}if(Opb(k[a+20>>2]|0,0,(b|0)==2?0:(b|0)==1?1:2,e)|0){a=0;return a|0}k[a+28>>2]=b;k[a+32>>2]=e;k[a+32+4>>2]=c;a=1;return a|0}function g4(a,b){a=a|0;b=b|0;var c=0;c=k[a+32+4>>2]|0;k[b>>2]=k[a+32>>2];k[b+4>>2]=c;return k[a+28>>2]|0}function h4(a){a=a|0;return k[a+24>>2]|0}function i4(a){a=a|0;return a+8|0}function j4(a,b){a=a|0;b=b|0;Uj(a);k[a>>2]=22412;Vqb(a+8|0,b);k[a+20>>2]=0;k[a+20+4>>2]=0;k[a+20+8>>2]=0;k[a+20+12>>2]=0;k[a+20+16>>2]=0;return}function k4(a){a=a|0;return}function l4(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0;l=r;r=r+32|0;j=Gi[k[(k[a>>2]|0)+24>>2]&2047](a)|0;if(!j)if(!(gj[k[(k[a>>2]|0)+16>>2]&511](a,1)|0)){j=xf(16)|0;a=Gi[k[(k[a>>2]|0)+76>>2]&2047](a)|0;k[l>>2]=(i[a>>0]&1)==0?a+1|0:k[a+8>>2]|0;os(j,364067,l);Jc(j|0,96,27)}g=Gi[k[(k[a>>2]|0)+28>>2]&2047](a)|0;h=L;d=Gi[k[(k[a>>2]|0)+56>>2]&2047](a)|0;e=L;f=(b|0)==-1&(c|0)==-1?g:b;b=(b|0)==-1&(c|0)==-1?h:c;if((b|0)<0){a=xf(16)|0;os(a,504584,l+8|0);Jc(a|0,96,27)}m=(e|0)<0?0:(e|0)>(h|0)|(e|0)==(h|0)&d>>>0>g>>>0?g:d;d=(e|0)<0?0:(e|0)>(h|0)|(e|0)==(h|0)&d>>>0>g>>>0?h:e;c=xBb(m|0,d|0,f|0,b|0)|0;e=L;d=EBb(g|0,h|0,m|0,d|0)|0;f=(e|0)>(h|0)|(e|0)==(h|0)&c>>>0>g>>>0?d:f;c=(e|0)>(h|0)|(e|0)==(h|0)&c>>>0>g>>>0?L:b;b=kBb(48)|0;Du(b,f,c,Gi[k[(k[a>>2]|0)+76>>2]&2047](a)|0);e=k[(k[a>>2]|0)+36>>2]|0;d=Gi[k[(k[b>>2]|0)+16>>2]&2047](b)|0;d=nj[e&127](a,d,f,c)|0;e=L;if((e|0)<0){m=k[b>>2]|0;m=m+4|0;m=k[m>>2]|0;Si[m&1023](b);m=xf(16)|0;os(m,364357,l+16|0);Jc(m|0,96,27)}if(!((d|0)!=0|(e|0)!=0|(d|0)==(f|0)&(e|0)==(c|0))){m=k[b>>2]|0;m=m+4|0;m=k[m>>2]|0;Si[m&1023](b);m=xf(16)|0;os(m,364357,l+16|0);Jc(m|0,96,27)}if((e|0)<(c|0)|(e|0)==(c|0)&d>>>0>>0){m=kBb(48)|0;Du(m,d,e,Gi[k[(k[a>>2]|0)+76>>2]&2047](a)|0);h=Gi[k[(k[m>>2]|0)+16>>2]&2047](m)|0;ABb(h|0,Gi[k[(k[b>>2]|0)+16>>2]&2047](b)|0,d|0)|0;Si[k[(k[b>>2]|0)+12>>2]&1023](b);b=m}if(j){r=l;return b|0}Gi[k[(k[a>>2]|0)+20>>2]&2047](a)|0;r=l;return b|0}function m4(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=k[(k[a>>2]|0)+40>>2]|0;f=Gi[k[(k[b>>2]|0)+16>>2]&2047](b)|0;if(!((c|0)==-1&(d|0)==-1)){b=d;a=nj[e&127](a,f,c,b)|0;return a|0}d=Gi[k[(k[b>>2]|0)+20>>2]&2047](b)|0;b=0;a=nj[e&127](a,f,d,b)|0;return a|0}function n4(a,b){a=a|0;b=b|0;var c=0;b=Gi[k[(k[b>>2]|0)+76>>2]&2047](b)|0;c=qrb(b,46,-1)|0;if((c|0)==-1){k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;return}else{Yqb(a,b,c+1|0,-1,b);return}}function o4(){i[629832]=0;i[629844]=0;i[629856]=0;i[629868]=0;i[629880]=0;i[629892]=0;i[629904]=0;i[629916]=0;k[157480]=0;k[157481]=0;k[157482]=0;k[157483]=0;p4(629824,439819,0)|0;p4(629824,524439,1)|0;p4(629824,609653,2)|0;p4(629824,608145,3)|0;i[629944]=0;i[629956]=0;i[629968]=0;i[629980]=0;i[629992]=0;i[630004]=0;k[157502]=0;k[157503]=0;k[157504]=0;q4(629936,522435,0)|0;q4(629936,518945,1)|0;q4(629936,518940,2)|0;return}function p4(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=r;r=r+16|0;d=i[b>>0]|0;if(!(d<<24>>24))e=5381;else{f=b;e=5381;do{f=f+1|0;e=(e*33|0)+(d<<24>>24)|0;d=i[f>>0]|0}while(d<<24>>24!=0)}d=e&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+1&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+2&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+3&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+4&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+5&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+6&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+7&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else d=0}}}}}}}if((g|0)==5){i[d>>0]=1;k[a+(e*12|0)>>2]=b;k[a+(e*12|0)+4>>2]=c;d=1}if(c>>>0>3){k[h>>2]=b;k[h+4>>2]=c;Jpb(441170,h)|0;g=0;r=h;return g|0}else{k[a+96+(c<<2)>>2]=b;g=d;r=h;return g|0}return 0}function q4(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=r;r=r+16|0;d=i[b>>0]|0;if(!(d<<24>>24))e=5381;else{f=b;e=5381;do{f=f+1|0;e=(e*33|0)+(d<<24>>24)|0;d=i[f>>0]|0}while(d<<24>>24!=0)}d=(e>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+1|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+2|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+3|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+4|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+5|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else d=0}}}}}if((g|0)==5){i[d>>0]=1;k[a+(e*12|0)>>2]=b;k[a+(e*12|0)+4>>2]=c;d=1}if(c>>>0>2){k[h>>2]=b;k[h+4>>2]=c;Jpb(441170,h)|0;g=0;r=h;return g|0}else{k[a+72+(c<<2)>>2]=b;g=d;r=h;return g|0}return 0}function r4(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0;c=i[a>>0]|0;if(!(c<<24>>24))d=5381;else{e=a;d=5381;do{e=e+1|0;d=(d*33|0)+(c<<24>>24)|0;c=i[e>>0]|0}while(c<<24>>24!=0)}h=0;while(1){g=h+d&7;if(!(i[629824+(g*12|0)+8>>0]|0)){c=1;d=0;j=11;break}e=k[629824+(g*12|0)>>2]|0;f=i[e>>0]|0;a:do if(!(f<<24>>24)){c=a;j=8}else{c=a;while(1){l=i[c>>0]|0;if(!(l<<24>>24?f<<24>>24==l<<24>>24:0))break a;e=e+1|0;c=c+1|0;f=i[e>>0]|0;if(!(f<<24>>24)){j=8;break}}}while(0);if((j|0)==8){j=0;if(!(i[c>>0]|0)){j=9;break}}h=h+1|0;if(h>>>0>=8){c=0;d=0;j=11;break}}if((j|0)==9){k[b>>2]=k[629824+(g*12|0)+4>>2];j=1;l=1;l=j&l;return l|0}else if((j|0)==11){l=c&d;return l|0}return 0}function s4(a,b){a=a|0;b=b|0;if(a>>>0>3)a=0;else{a=k[629920+(a<<2)>>2]|0;if(!a)a=0;else{k[b>>2]=a;a=1}}return a|0}function t4(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0;c=i[a>>0]|0;if(!(c<<24>>24))d=5381;else{e=a;d=5381;do{e=e+1|0;d=(d*33|0)+(c<<24>>24)|0;c=i[e>>0]|0}while(c<<24>>24!=0)}h=0;while(1){g=((h+d|0)>>>0)%6|0;if(!(i[629936+(g*12|0)+8>>0]|0)){c=1;d=0;j=11;break}e=k[629936+(g*12|0)>>2]|0;f=i[e>>0]|0;a:do if(!(f<<24>>24)){c=a;j=8}else{c=a;while(1){l=i[c>>0]|0;if(!(l<<24>>24?f<<24>>24==l<<24>>24:0))break a;e=e+1|0;c=c+1|0;f=i[e>>0]|0;if(!(f<<24>>24)){j=8;break}}}while(0);if((j|0)==8){j=0;if(!(i[c>>0]|0)){j=9;break}}h=h+1|0;if(h>>>0>=6){c=0;d=0;j=11;break}}if((j|0)==9){k[b>>2]=k[629936+(g*12|0)+4>>2];j=1;l=1;l=j&l;return l|0}else if((j|0)==11){l=c&d;return l|0}return 0}function u4(a,b){a=a|0;b=b|0;if(a>>>0>2)a=0;else{a=k[630008+(a<<2)>>2]|0;if(!a)a=0;else{k[b>>2]=a;a=1}}return a|0}function v4(a){a=a|0;Hj(a);return}function w4(a){a=a|0;Hj(a);CAb(a);return}function x4(a,b){a=a|0;b=b|0;i[a+8>>0]=b&1;return}function y4(a){a=a|0;return (i[a+8>>0]|0)!=0|0}function z4(a,b){a=a|0;b=b|0;a=r;r=r+80|0;if(aob((i[b>>0]&1)==0?b+1|0:k[b+8>>2]|0,a)|0){b=0;r=a;return b|0}b=(k[a+12>>2]&61440|0)==16384;r=a;return b|0}function A4(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+2048|0;vBb(c|0,0,2048)|0;b=Job(514408,c,2048)|0;if((b|0)<1){Wqb(a,1279174,0);r=c;return}else{Wqb(a,c,b);r=c;return}}function B4(a){a=a|0;Uj(a);k[a>>2]=22504;return}function C4(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=22684;k[b+4>>2]=0;a=Is(a,6,364123,b)|0;r=b;return a|0}function D4(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+16|0;b=E4(a,1,5)|0;b=Gi[k[(k[b>>2]|0)+28>>2]&2047](b)|0;c=L;if((b|0)==-1&(c|0)==-1){F4(a,364143,d)|0;a=2;r=d;return a|0}if((c|0)>2097151|(c|0)==2097151&b>>>0>4294967295){F4(a,364174,d+8|0)|0;a=2;r=d;return a|0}else{VDa(a,+(b>>>0)+4294967296.0*+(c|0));a=1;r=d;return a|0}return 0}function E4(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((DDa(a,b)|0)!=7){k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0}d=RDa(a,b)|0;if(k[(k[155799]|0)+(k[d>>2]<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0){c=d+4|0;c=k[c>>2]|0;r=e;return c|0}k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0;c=d+4|0;c=k[c>>2]|0;r=e;return c|0}function F4(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;k[d>>2]=c;UDa(a);ZDa(a,b,d)|0;r=d;return 2}function G4(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+16|0;b=E4(a,1,5)|0;c=fHa(a,2,0)|0;if(r4(c,d+4|0)|0){rs(a,gj[k[(k[b>>2]|0)+16>>2]&511](b,k[d+4>>2]|0)|0);a=1;r=d;return a|0}else{k[d>>2]=c;a=aHa(a,364193,d)|0;r=d;return a|0}return 0}function H4(a){a=a|0;var b=0;b=E4(a,1,5)|0;rs(a,Gi[k[(k[b>>2]|0)+20>>2]&2047](b)|0);return 1}function I4(a){a=a|0;var b=0;b=E4(a,1,5)|0;rs(a,Gi[k[(k[b>>2]|0)+24>>2]&2047](b)|0);return 1}function J4(a){a=a|0;var b=0,c=0,d=0.0;c=E4(a,1,5)|0;d=+mHa(a,2,-1.0);b=+W(d)>=1.0?(d>0.0?~~+ia(+V(d/4294967296.0),4294967295.0)>>>0:~~+ga((d-+(~~d>>>0))/4294967296.0)>>>0):0;b=Ri[k[(k[c>>2]|0)+32>>2]&255](c,~~d>>>0,b)|0;c=Gi[k[(k[b>>2]|0)+16>>2]&2047](b)|0;XDa(a,c,Gi[k[(k[b>>2]|0)+20>>2]&2047](b)|0);VDa(a,+((Gi[k[(k[b>>2]|0)+20>>2]&2047](b)|0)>>>0));Si[k[(k[b>>2]|0)+12>>2]&1023](b);return 2}function K4(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;e=r;r=r+16|0;b=E4(a,1,5)|0;do if(!(HDa(a,2)|0)){if(Ss(a,2,2)|0){c=(RDa(a,2)|0)+4|0;c=k[c>>2]|0;f=k[(k[b>>2]|0)+44>>2]|0;d=oHa(a,3,Gi[k[(k[c>>2]|0)+20>>2]&2047](c)|0)|0;b=nj[f&127](b,c,d,((d|0)<0)<<31>>31)|0;break}f=$Ga(a,2,364229)|0;r=e;return f|0}else{k[e>>2]=0;d=ODa(a,2,e)|0;if((DDa(a,3)|0)<1)c=k[e>>2]|0;else{c=nHa(a,3)|0;k[e>>2]=c}b=nj[k[(k[b>>2]|0)+40>>2]&127](b,d,c,0)|0}while(0);rs(a,b);f=1;r=e;return f|0}function L4(a){a=a|0;var b=0;b=E4(a,1,5)|0;rs(a,Gi[k[(k[b>>2]|0)+48>>2]&2047](b)|0);return 1}function M4(a){a=a|0;var b=0;b=E4(a,1,5)|0;rs(a,Gi[k[(k[b>>2]|0)+52>>2]&2047](b)|0);return 1}function N4(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+16|0;b=E4(a,1,5)|0;b=Gi[k[(k[b>>2]|0)+56>>2]&2047](b)|0;c=L;if((b|0)==-1&(c|0)==-1){F4(a,364264,d)|0;a=2;r=d;return a|0}if((c|0)>2097151|(c|0)==2097151&b>>>0>4294967295){F4(a,364282,d+8|0)|0;a=2;r=d;return a|0}else{VDa(a,+(b>>>0)+4294967296.0*+(c|0));a=1;r=d;return a|0}return 0}function O4(a){a=a|0;var b=0,c=0.0,d=0;b=E4(a,1,5)|0;c=+lHa(a,2);if(c<0.0|c>=9007199254740992.0){rs(a,0);return 1}else{d=+W(c)>=1.0?(c>0.0?~~+ia(+V(c/4294967296.0),4294967295.0)>>>0:~~+ga((c-+(~~c>>>0))/4294967296.0)>>>0):0;rs(a,Ri[k[(k[b>>2]|0)+60>>2]&255](b,~~c>>>0,d)|0);return 1}return 0}function P4(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=E4(a,1,5)|0;VDa(a,0.0);rs(a,(Gi[k[(k[b>>2]|0)+72>>2]&2047](b)|0)!=0);if((Gi[k[(k[b>>2]|0)+72>>2]&2047](b)|0)!=1){if(Gi[k[(k[b>>2]|0)+72>>2]&2047](b)|0)Gi[k[(k[b>>2]|0)+20>>2]&2047](b)|0;if(!(gj[k[(k[b>>2]|0)+16>>2]&511](b,1)|0)){a=aHa(a,364303,c)|0;r=c;return a|0}}$Da(a,1493,3);a=1;r=c;return a|0}function Q4(a){a=a|0;var b=0,c=0.0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0;n=r;r=r+1056|0;l=E4(a,-10003,5)|0;if((Gi[k[(k[l>>2]|0)+72>>2]&2047](l)|0)!=1){a=aHa(a,364324,n)|0;r=n;return a|0}e=Gi[k[(k[l>>2]|0)+56>>2]&2047](l)|0;b=L;if((DDa(a,-10004)|0)<1){m=-1;j=e;d=b;e=-1}else{c=+LDa(a,-10004);d=+W(c)>=1.0?(c>0.0?~~+ia(+V(c/4294967296.0),4294967295.0)>>>0:~~+ga((c-+(~~c>>>0))/4294967296.0)>>>0):0;if((e|0)==(~~c>>>0|0)&(b|0)==(d|0)){m=b;j=e;d=b}else{Ri[k[(k[l>>2]|0)+60>>2]&255](l,~~c>>>0,d)|0;m=b;j=~~c>>>0}}a:do if(Gi[k[(k[l>>2]|0)+52>>2]&2047](l)|0){b=0;h=13}else{b=0;b:while(1){f=nj[k[(k[l>>2]|0)+36>>2]&127](l,n+24|0,1024,0)|0;if((f|0)<0)break;if((f|0)>0){g=0;do{if((i[n+24+g>>0]|0)==10){h=14;break b}g=g+1|0}while((f|0)>(g|0))}b=f+b|0;if(Gi[k[(k[l>>2]|0)+52>>2]&2047](l)|0){h=13;break a}}if((h|0)==14){f=g+b|0;break}a=aHa(a,364357,n+8|0)|0;r=n;return a|0}while(0);if((h|0)==13)if((b|0)>0&(Gi[k[(k[l>>2]|0)+52>>2]&2047](l)|0))f=b;else{if((m|0)>-1|(m|0)==-1&e>>>0>4294967295)if(qs(a,-10005)|0){Ri[k[(k[l>>2]|0)+60>>2]&255](l,e,m)|0;a=0;r=n;return a|0}Gi[k[(k[l>>2]|0)+20>>2]&2047](l)|0;a=0;r=n;return a|0}do if((f|0)<1024){if((f|0)>0){b=f+-1|0;if((i[n+24+b>>0]|0)!=13)h=18}else h=18;if((h|0)==18)b=f;XDa(a,n+24|0,b);if((m|0)<0){m=k[(k[l>>2]|0)+60>>2]|0;a=xBb(j|0,d|0,1,0)|0;a=xBb(a|0,L|0,f|0,((f|0)<0)<<31>>31|0)|0;Ri[m&255](l,a,L)|0;a=1;r=n;return a|0}else b=l}else{h=f+1|0;b=mBb(h)|0;Ri[k[(k[l>>2]|0)+60>>2]&255](l,j,d)|0;h=nj[k[(k[l>>2]|0)+36>>2]&127](l,b,h,((h|0)<0)<<31>>31)|0;if((h|0)==-1&(L|0)==-1){oBb(b);a=aHa(a,364357,n+16|0)|0;r=n;return a|0}else{h=f+-1|0;XDa(a,b,(i[b+h>>0]|0)==13?h:f);oBb(b);if((m|0)>-1|(m|0)==-1&e>>>0>4294967295){b=l;break}else b=1;r=n;return b|0}}while(0);j=xBb(j|0,d|0,1,0)|0;j=xBb(j|0,L|0,f|0,((f|0)<0)<<31>>31|0)|0;VDa(a,+(j>>>0)+4294967296.0*+(L|0));BDa(a,-10004);Ri[k[(k[b>>2]|0)+60>>2]&255](l,e,m)|0;a=1;r=n;return a|0}function R4(a){a=a|0;var b=0,c=0,d=0.0,e=0;e=r;r=r+16|0;b=E4(a,1,5)|0;c=fHa(a,2,0)|0;d=+mHa(a,3,0.0);if(t4(c,e+4|0)|0){c=+W(d)>=1.0?(d>0.0?~~+ia(+V(d/4294967296.0),4294967295.0)>>>0:~~+ga((d-+(~~d>>>0))/4294967296.0)>>>0):0;rs(a,nj[k[(k[b>>2]|0)+64>>2]&127](b,k[e+4>>2]|0,~~d>>>0,c)|0);a=1;r=e;return a|0}else{k[e>>2]=c;a=aHa(a,364393,e)|0;r=e;return a|0}return 0}function S4(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;c=E4(a,1,5)|0;k[b>>2]=0;k[b+4>>2]=0;c=gj[k[(k[c>>2]|0)+68>>2]&511](c,b)|0;k[b+12>>2]=0;if(u4(c,b+12|0)|0){YDa(a,k[b+12>>2]|0);VDa(a,+((k[b>>2]|0)>>>0)+4294967296.0*+(k[b+4>>2]|0));r=b;return 2}else{F4(a,364434,b+8|0)|0;r=b;return 2}return 0}function T4(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;c=E4(a,1,5)|0;c=Gi[k[(k[c>>2]|0)+72>>2]&2047](c)|0;k[b+4>>2]=0;if(s4(c,b+4|0)|0){YDa(a,k[b+4>>2]|0);c=1;r=b;return c|0}else{F4(a,364468,b)|0;c=2;r=b;return c|0}return 0}function U4(a){a=a|0;var b=0;b=E4(a,1,5)|0;vs(a,Gi[k[(k[b>>2]|0)+76>>2]&2047](b)|0);return 1}function V4(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;c=E4(a,1,5)|0;Di[k[(k[c>>2]|0)+80>>2]&511](b,c);vs(a,b);_qb(b);r=b;return 1}function W4(a,b){a=a|0;b=b|0;return E4(a,b,5)|0}function X4(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=22684;k[b+4>>2]=0;a=Is(a,5,364487,b)|0;r=b;return a|0}function Y4(a,b){a=a|0;b=b|0;return so(a,b,7)|0}function Z4(a){a=a|0;var b=0;b=Eu(so(a,1,7)|0)|0;YDa(a,(i[b>>0]&1)==0?b+1|0:k[b+8>>2]|0);return 1}function _4(a){a=a|0;var b=0;b=Fu(so(a,1,7)|0)|0;YDa(a,(i[b>>0]&1)==0?b+1|0:k[b+8>>2]|0);return 1}function $4(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=12068;k[b+4>>2]=22820;k[b+8>>2]=0;a=Is(a,7,364492,b)|0;r=b;return a|0}function a5(a){a=a|0;k[a>>2]=22852;TRa(k[a+8>>2]|0)|0;Hj(a);return}function b5(a){a=a|0;k[a>>2]=22852;TRa(k[a+8>>2]|0)|0;Hj(a);CAb(a);return}function c5(a){a=a|0;return 3}function d5(a){a=a|0;return 364553}function e5(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+16|0;if(p5(k[a+8>>2]|0,b)|0){c=nj[k[(k[a>>2]|0)+32>>2]&127](a,b,12,0)|0;r=d;return c|0}if(!(R5(b)|0)){c=xf(16)|0;a=Eu(b)|0;k[d>>2]=(i[a>>0]&1)==0?a+1|0:k[a+8>>2]|0;os(c,364572,d);Jc(c|0,96,27)}c=k[(k[a>>2]|0)+36>>2]|0;k[d+4>>2]=0;k[d+4+4>>2]=0;k[d+4+8>>2]=0;b=Ri[c&255](a,b,d+4|0)|0;a=k[d+4>>2]|0;if(!a){c=b;r=d;return c|0}c=k[d+4+4>>2]|0;if((c|0)!=(a|0))k[d+4+4>>2]=c+(~((c+-4-a|0)>>>2)<<2);CAb(a);c=b;r=d;return c|0}function f5(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=kBb(36)|0;o5(e,k[a+8>>2]|0,b,c,d);return e|0}function g5(a){a=a|0;var b=0;b=r;r=r+16|0;Uj(a);k[a>>2]=22852;if(!(SRa(a+8|0)|0)){r=b;return}else{a=xf(16)|0;os(a,364594,b);Jc(a|0,96,27)}}function h5(a){a=a|0;var b=0;k[a>>2]=22916;rSa(k[a+24>>2]|0)|0;b=k[a+28>>2]|0;if(!b){K6(a);return}Si[k[(k[b>>2]|0)+12>>2]&1023](b);K6(a);return}function i5(a){a=a|0;h5(a);CAb(a);return}function j5(a){a=a|0;return ~~(+(Gi[k[(k[a>>2]|0)+16>>2]&2047](a)|0)*1.25)|0}function k5(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0;j=r;r=r+80|0;switch(k[a+32>>2]|0){case 3:{c=2;break}case 1:{c=65536;break}case 2:{c=131072;break}default:c=0}h=k[a+24>>2]|0;c=cSa(h,eSa(h,b)|0,c)|0;if(c|0){h=xf(16)|0;k[j>>2]=c;os(h,364721,j);Jc(h|0,96,27)}c=PRa(k[(k[a+24>>2]|0)+84>>2]|0,j+48|0)|0;if(c|0){h=xf(16)|0;k[j+8>>2]=c;os(h,364776,j+8|0);Jc(h|0,96,27)}c=QRa(j+48|0,(k[a+32>>2]|0)==2?2:0,0,1)|0;if(c|0){h=xf(16)|0;k[j+16>>2]=c;os(h,364830,j+16|0);Jc(h|0,96,27)}f=k[j+48>>2]|0;d=k[f+20>>2]|0;e=k[f+24>>2]|0;m=k[f+28>>2]|0;g=f+28+4|0;c=k[g>>2]|0;a=k[f+12>>2]>>16;h=kBb(40)|0;k[j+28>>2]=m;k[j+28+4>>2]=c;k[j+28+8>>2]=a;k[j+28+12>>2]=d;k[j+28+16>>2]=e;k[j+52>>2]=k[j+28>>2];k[j+52+4>>2]=k[j+28+4>>2];k[j+52+8>>2]=k[j+28+8>>2];k[j+52+12>>2]=k[j+28+12>>2];k[j+52+16>>2]=k[j+28+16>>2];o6(h,b,j+52|0,0);b=k[f+28+12>>2]|0;e=Gi[k[(k[h>>2]|0)+16>>2]&2047](h)|0;switch(i[f+28+18>>0]|0){case 1:{c=k[f+28>>2]|0;if((c|0)<=0){m=k[j+48>>2]|0;ORa(m);r=j;return h|0}a=k[g>>2]|0;d=0;while(1){if((a|0)>0){c=a;a=0;do{m=((l[b+((a|0)/8|0)>>0]&1<<7-((a|0)%8|0)|0)!=0)<<31>>31;c=e+((ha(c,d)|0)+a<<1)|0;i[c>>0]=-1;c=e+((ha(k[g>>2]|0,d)|0)+a<<1|1)|0;i[c>>0]=m;a=a+1|0;c=k[g>>2]|0}while((a|0)<(c|0));a=c;c=k[f+28>>2]|0}d=d+1|0;if((d|0)>=(c|0))break;else b=b+(k[f+28+8>>2]|0)|0}m=k[j+48>>2]|0;ORa(m);r=j;return h|0}case 2:{c=k[f+28>>2]|0;if((c|0)<=0){m=k[j+48>>2]|0;ORa(m);r=j;return h|0}a=k[g>>2]|0;d=0;while(1){if((a|0)>0){c=a;a=0;do{c=e+((ha(c,d)|0)+a<<1)|0;i[c>>0]=-1;c=e+((ha(k[g>>2]|0,d)|0)+a<<1|1)|0;i[c>>0]=i[b+a>>0]|0;a=a+1|0;c=k[g>>2]|0}while((a|0)<(c|0));a=c;c=k[f+28>>2]|0}d=d+1|0;if((d|0)>=(c|0))break;else b=b+(k[f+28+8>>2]|0)|0}m=k[j+48>>2]|0;ORa(m);r=j;return h|0}default:{Si[k[(k[h>>2]|0)+4>>2]&1023](h);ORa(k[j+48>>2]|0);m=xf(16)|0;os(m,364890,j+24|0);Jc(m|0,96,27)}}return 0}function l5(a){a=a|0;return k[(k[a+24>>2]|0)+16>>2]|0}function m5(a,b){a=a|0;b=b|0;return (eSa(k[a+24>>2]|0,b)|0)!=0|0}function n5(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;k[d>>2]=0;k[d+4>>2]=0;ASa(k[a+24>>2]|0,b,c,0,d)|0;r=d;return +(+(k[d>>2]>>6|0))}function o5(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=r;r=r+32|0;Uj(a);k[a>>2]=22916;k[a+28>>2]=c;if(c|0)Si[k[(k[c>>2]|0)+8>>2]&1023](c);k[a+32>>2]=e;if((d|0)<1){a=xf(16)|0;k[f>>2]=d;os(a,364925,f);Jc(a|0,96,27)}e=Gi[k[(k[c>>2]|0)+16>>2]&2047](c)|0;c=pSa(b,e,Gi[k[(k[c>>2]|0)+20>>2]&2047](c)|0,0,a+24|0)|0;if(c|0){a=xf(16)|0;k[f+8>>2]=c;os(a,364956,f+8|0);Jc(a|0,96,27)}c=zSa(k[a+24>>2]|0,d,d)|0;if(!c){c=k[(k[a+24>>2]|0)+88>>2]|0;e=k[c+24>>2]|0;b=k[c+28>>2]|0;d=k[c+32>>2]|0;k[a+8>>2]=k[c+36>>2]>>6;k[a+12>>2]=e>>6;k[a+16>>2]=b>>6;k[a+20>>2]=d>>6;r=f;return}else{a=xf(16)|0;k[f+16>>2]=c;os(a,365036,f+16|0);Jc(a|0,96,27)}}function p5(a,b){a=a|0;b=b|0;var c=0;c=Gi[k[(k[b>>2]|0)+16>>2]&2047](b)|0;return (pSa(a,c,Gi[k[(k[b>>2]|0)+20>>2]&2047](b)|0,-1,0)|0)==0|0}function q5(a){a=a|0;var b=0,c=0,d=0;k[a>>2]=22984;b=k[a+84>>2]|0;if(b|0)do{d=b;b=k[b>>2]|0;CAb(d)}while((b|0)!=0);b=k[a+76>>2]|0;k[a+76>>2]=0;if(b|0)CAb(b);b=k[a+64>>2]|0;if(b|0)do{d=b;b=k[b>>2]|0;CAb(d)}while((b|0)!=0);b=k[a+56>>2]|0;k[a+56>>2]=0;if(b|0)CAb(b);b=k[a+44>>2]|0;if(b|0)do{c=b;b=k[b>>2]|0;d=k[c+12>>2]|0;if(d|0)Si[k[(k[d>>2]|0)+12>>2]&1023](d);CAb(c)}while((b|0)!=0);b=k[a+36>>2]|0;k[a+36>>2]=0;if(!b){d=a+24|0;_qb(d);K6(a);return}CAb(b);d=a+24|0;_qb(d);K6(a);return}function r5(a){a=a|0;q5(a);CAb(a);return}function s5(a){a=a|0;return k[a+104>>2]|0}function t5(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0;l=r;r=r+64|0;e=k[a+60>>2]|0;a:do if(e|0){if(!(e+-1&e))d=e+-1&b;else d=(b>>>0)%(e>>>0)|0;c=k[(k[a+56>>2]|0)+(d<<2)>>2]|0;if(c|0){if(!(e+-1&e))while(1){c=k[c>>2]|0;if(!c)break a;if((k[c+4>>2]&e+-1|0)!=(d|0))break a;if((k[c+8>>2]|0)==(b|0)){h=c;break}}else while(1){c=k[c>>2]|0;if(!c)break a;if((((k[c+4>>2]|0)>>>0)%(e>>>0)|0|0)!=(d|0))break a;if((k[c+8>>2]|0)==(b|0)){h=c;break}}i=kBb(40)|0;j=h+24|0;k[l+40>>2]=k[j>>2];k[l+40+4>>2]=k[j+4>>2];k[l+40+8>>2]=k[j+8>>2];k[l+40+12>>2]=k[j+12>>2];k[l+40+16>>2]=k[j+16>>2];o6(i,b,l+40|0,1);d=k[h+20>>2]|0;e=k[a+40>>2]|0;b:do if(e|0){if(!(e+-1&e))f=e+-1&d;else f=(d>>>0)%(e>>>0)|0;c=k[(k[a+36>>2]|0)+(f<<2)>>2]|0;if(c|0){if(!(e+-1&e))do{c=k[c>>2]|0;if(!c)break b;if((k[c+4>>2]&e+-1|0)!=(f|0))break b}while((k[c+8>>2]|0)!=(d|0));else do{c=k[c>>2]|0;if(!c)break b;if((((k[c+4>>2]|0)>>>0)%(e>>>0)|0|0)!=(f|0))break b}while((k[c+8>>2]|0)!=(d|0));e=k[c+12>>2]|0;f=Gi[k[(k[i>>2]|0)+16>>2]&2047](i)|0;a=Gi[k[(k[e>>2]|0)+16>>2]&2047](e)|0;aP(l+40|0,oia(e)|0);if((k[j>>2]|0)>0){b=h+16|0;g=h+12|0;c=h+28|0;d=0;do{m=k[b>>2]|0;m=ha(m+d|0,hia(e)|0)|0;h=k[c>>2]|0;ABb(f+((ha(h,d)|0)<<2)|0,a+((k[g>>2]|0)+m<<2)|0,h<<2|0)|0;d=d+1|0}while((d|0)<(k[j>>2]|0))}cP(l+40|0);m=i;r=l;return m|0}}while(0);Si[k[(k[i>>2]|0)+12>>2]&1023](i);m=kBb(40)|0;k[l>>2]=0;k[l+4>>2]=0;k[l+8>>2]=0;k[l+12>>2]=0;k[l+16>>2]=0;k[l+40>>2]=k[l>>2];k[l+40+4>>2]=k[l+4>>2];k[l+40+8>>2]=k[l+8>>2];k[l+40+12>>2]=k[l+12>>2];k[l+40+16>>2]=k[l+16>>2];o6(m,b,l+40|0,1);r=l;return m|0}}while(0);m=kBb(40)|0;k[l+20>>2]=0;k[l+20+4>>2]=0;k[l+20+8>>2]=0;k[l+20+12>>2]=0;k[l+20+16>>2]=0;k[l+40>>2]=k[l+20>>2];k[l+40+4>>2]=k[l+20+4>>2];k[l+40+8>>2]=k[l+20+8>>2];k[l+40+12>>2]=k[l+20+12>>2];k[l+40+16>>2]=k[l+20+16>>2];o6(m,b,l+40|0,1);r=l;return m|0}function u5(a){a=a|0;return k[a+68>>2]|0}function v5(a,b){a=a|0;b=b|0;var c=0,d=0;c=k[a+60>>2]|0;a:do if(!c)a=0;else{if(!(c+-1&c))d=c+-1&b;else d=(b>>>0)%(c>>>0)|0;a=k[(k[a+56>>2]|0)+(d<<2)>>2]|0;if(!a)a=0;else if(!(c+-1&c))do{a=k[a>>2]|0;if(!a){a=0;break a}if((k[a+4>>2]&c+-1|0)!=(d|0)){a=0;break a}}while((k[a+8>>2]|0)!=(b|0));else do{a=k[a>>2]|0;if(!a){a=0;break a}if((((k[a+4>>2]|0)>>>0)%(c>>>0)|0|0)!=(d|0)){a=0;break a}}while((k[a+8>>2]|0)!=(b|0))}while(0);return (a|0)!=0|0}function w5(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0,f=0,g=0,h=0;g=ha(c,1540483477)|0;e=ha(b,1540483477)|0;e=(ha((ha(g>>>24^g,1540483477)|0)^-561034072,1540483477)|0)^(ha(e>>>24^e,1540483477)|0);e=ha(e>>>13^e,1540483477)|0;g=k[a+80>>2]|0;if(!g){d=0.0;return +d}if(!(g+-1&g))f=g+-1&(e>>>15^e);else f=((e>>>15^e)>>>0)%(g>>>0)|0;e=k[(k[a+76>>2]|0)+(f<<2)>>2]|0;if(!e){d=0.0;return +d}a:do if(!(g+-1&g)){while(1){e=k[e>>2]|0;if(!e){d=0.0;e=14;break}if((k[e+4>>2]&g+-1|0)!=(f|0)){d=0.0;e=14;break}if((k[e+8>>2]|0)==(c|0)?(k[e+8+4>>2]|0)==(b|0):0){h=e;break a}}if((e|0)==14)return +d}else{while(1){e=k[e>>2]|0;if(!e){d=0.0;e=14;break}if((((k[e+4>>2]|0)>>>0)%(g>>>0)|0|0)!=(f|0)){d=0.0;e=14;break}if((k[e+8>>2]|0)==(c|0)?(k[e+8+4>>2]|0)==(b|0):0){h=e;break a}}if((e|0)==14)return +d}while(0);d=+(k[h+16>>2]|0);return +d}function x5(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=r;r=r+32|0;Uj(a);k[a>>2]=22984;k[a+24>>2]=0;k[a+24+4>>2]=0;k[a+24+8>>2]=0;k[a+24+12>>2]=0;k[a+24+16>>2]=0;k[a+24+20>>2]=0;k[a+24+24>>2]=0;o[a+52>>2]=1.0;k[a+56>>2]=0;k[a+56+4>>2]=0;k[a+56+8>>2]=0;k[a+56+12>>2]=0;o[a+72>>2]=1.0;k[a+76>>2]=0;k[a+76+4>>2]=0;k[a+76+8>>2]=0;k[a+76+12>>2]=0;o[a+92>>2]=1.0;k[a+96>>2]=0;i[a+100>>0]=0;k[a+104>>2]=0;d=Eu(b)|0;e=qrb(d,47,-1)|0;if((e|0)!=-1){Yqb(h,d,0,e,d);if(!(i[a+24>>0]&1)){i[a+24+1>>0]=0;i[a+24>>0]=0}else{i[k[a+32>>2]>>0]=0;k[a+28>>2]=0}crb(a+24|0,0);k[a+24>>2]=k[h>>2];k[a+24+4>>2]=k[h+4>>2];k[a+24+8>>2]=k[h+8>>2];k[h>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0;_qb(h)}k[h+12>>2]=0;if(((k[c+4>>2]|0)-(k[c>>2]|0)|0)<=0){g=k[b>>2]|0;g=g+16|0;g=k[g>>2]|0;g=Gi[g&2047](b)|0;c=k[b>>2]|0;c=c+20|0;c=k[c>>2]|0;c=Gi[c&2047](b)|0;Wqb(h+12|0,g,c);C5(a,h+12|0);_qb(h+12|0);r=h;return}e=0;do{d=y5(a+36|0,h+12|0)|0;f=k[(k[c>>2]|0)+(e<<2)>>2]|0;if(f|0){Si[k[(k[f>>2]|0)+8>>2]&1023](f);Si[k[(k[f>>2]|0)+8>>2]&1023](f)}g=k[d>>2]|0;if(g|0)Si[k[(k[g>>2]|0)+12>>2]&1023](g);k[d>>2]=f;if(f|0)Si[k[(k[f>>2]|0)+12>>2]&1023](f);e=e+1|0;k[h+12>>2]=e}while((e|0)<((k[c+4>>2]|0)-(k[c>>2]|0)>>2|0));g=k[b>>2]|0;g=g+16|0;g=k[g>>2]|0;g=Gi[g&2047](b)|0;c=k[b>>2]|0;c=c+20|0;c=k[c>>2]|0;c=Gi[c&2047](b)|0;Wqb(h+12|0,g,c);C5(a,h+12|0);_qb(h+12|0);r=h;return}function y5(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=r;r=r+16|0;c=k[b>>2]|0;e=k[a+4>>2]|0;a:do if(e|0){if(!(e+-1&e))d=e+-1&c;else d=(c>>>0)%(e>>>0)|0;b=k[(k[a>>2]|0)+(d<<2)>>2]|0;if(b|0)if(!(e+-1&e)){do{b=k[b>>2]|0;if(!b)break a;if((k[b+4>>2]&e+-1|0)!=(d|0))break a}while((k[b+8>>2]|0)!=(c|0));a=b+12|0;r=f;return a|0}else{do{b=k[b>>2]|0;if(!b)break a;if((((k[b+4>>2]|0)>>>0)%(e>>>0)|0|0)!=(d|0))break a}while((k[b+8>>2]|0)!=(c|0));a=b+12|0;r=f;return a|0}}while(0);e=kBb(16)|0;k[e+8>>2]=c;k[e+12>>2]=0;z5(f,a,e);a=k[f>>2]|0;a=a+12|0;r=f;return a|0}function z5(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0.0,g=0.0,h=0,j=0;h=k[c+8>>2]|0;k[c+4>>2]=h;j=k[b+4>>2]|0;a:do if(!j)e=0;else{if(!(j+-1&j))e=j+-1&h;else e=(h>>>0)%(j>>>0)|0;d=k[(k[b>>2]|0)+(e<<2)>>2]|0;if(d)if(!(j+-1&j)){while(1){d=k[d>>2]|0;if(!d)break a;if((k[d+4>>2]&j+-1|0)!=(e|0))break a;if((k[d+8>>2]|0)==(h|0)){e=0;break}}b=d;k[a>>2]=b;a=a+4|0;i[a>>0]=e;return}else{while(1){d=k[d>>2]|0;if(!d)break a;if((((k[d+4>>2]|0)>>>0)%(j>>>0)|0|0)!=(e|0))break a;if((k[d+8>>2]|0)==(h|0)){e=0;break}}b=d;k[a>>2]=b;a=a+4|0;i[a>>0]=e;return}}while(0);f=+(((k[b+12>>2]|0)+1|0)>>>0);g=+o[b+16>>2];do if((j|0)==0|f>+(j>>>0)*g){if(j>>>0>2)d=(j+-1&j|0)==0;else d=0;d=(d&1|j<<1)^1;e=~~+ga(+(f/g))>>>0;A5(b,d>>>0>>0?e:d);d=k[b+4>>2]|0;e=k[c+4>>2]|0;if(!(d+-1&d)){h=d;e=d+-1&e;break}else{h=d;e=(e>>>0)%(d>>>0)|0;break}}else h=j;while(0);d=k[(k[b>>2]|0)+(e<<2)>>2]|0;if(!d){k[c>>2]=k[b+8>>2];k[b+8>>2]=c;k[(k[b>>2]|0)+(e<<2)>>2]=b+8;d=k[c>>2]|0;if(d|0){d=k[d+4>>2]|0;e=h+-1|0;if(!(e&h))d=d&e;else d=(d>>>0)%(h>>>0)|0;k[(k[b>>2]|0)+(d<<2)>>2]=c}}else{k[c>>2]=k[d>>2];k[d>>2]=c}k[b+12>>2]=(k[b+12>>2]|0)+1;b=1;k[a>>2]=c;a=a+4|0;i[a>>0]=b;return}function A5(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if((b|0)==1)b=2;else if(b+-1&b)b=Sqb(b)|0;e=k[a+4>>2]|0;if(b>>>0>e>>>0){B5(a,b);return}if(b>>>0>=e>>>0)return;if(e>>>0>2)d=(e+-1&e|0)==0;else d=0;c=~~+ga(+(+((k[a+12>>2]|0)>>>0)/+o[a+16>>2]))>>>0;if(d)c=1<<32-(ja(c+-1|0)|0);else c=Sqb(c)|0;b=b>>>0>>0?c:b;if(b>>>0>=e>>>0)return;B5(a,b);return}function B5(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!b){c=k[a>>2]|0;k[a>>2]=0;if(c|0)CAb(c);k[a+4>>2]=0;return}j=kBb(b<<2)|0;c=k[a>>2]|0;k[a>>2]=j;if(c|0)CAb(c);k[a+4>>2]=b;c=0;do{k[(k[a>>2]|0)+(c<<2)>>2]=0;c=c+1|0}while((c|0)!=(b|0));e=k[a+8>>2]|0;if(!e)return;c=k[e+4>>2]|0;if(!(b+-1&b))d=c&b+-1;else d=(c>>>0)%(b>>>0)|0;k[(k[a>>2]|0)+(d<<2)>>2]=a+8;c=k[e>>2]|0;if(!c)return;else f=e;a:while(1){b:do if(!(b+-1&b)){j=f;i=e;while(1){while(1){h=k[c+4>>2]&b+-1;if((h|0)==(d|0)){e=c;break}e=(k[a>>2]|0)+(h<<2)|0;if(!(k[e>>2]|0)){d=h;g=c;c=i;break b}g=c+8|0;e=c;while(1){f=k[e>>2]|0;if(!f)break;if((k[g>>2]|0)==(k[f+8>>2]|0))e=f;else break}k[i>>2]=f;k[e>>2]=k[k[(k[a>>2]|0)+(h<<2)>>2]>>2];k[k[(k[a>>2]|0)+(h<<2)>>2]>>2]=c;c=k[j>>2]|0;if(!c){c=32;break a}}c=k[e>>2]|0;if(!c){c=32;break a}else{j=e;i=e}}}else{j=f;i=e;while(1){while(1){h=((k[c+4>>2]|0)>>>0)%(b>>>0)|0;if((h|0)==(d|0)){e=c;break}e=(k[a>>2]|0)+(h<<2)|0;if(!(k[e>>2]|0)){d=h;g=c;c=i;break b}g=c+8|0;e=c;while(1){f=k[e>>2]|0;if(!f)break;if((k[g>>2]|0)==(k[f+8>>2]|0))e=f;else break}k[i>>2]=f;k[e>>2]=k[k[(k[a>>2]|0)+(h<<2)>>2]>>2];k[k[(k[a>>2]|0)+(h<<2)>>2]>>2]=c;c=k[j>>2]|0;if(!c){c=32;break a}}c=k[e>>2]|0;if(!c){c=32;break a}else{j=e;i=e}}}while(0);k[e>>2]=c;c=k[g>>2]|0;if(!c){c=32;break}else{f=g;e=g}}if((c|0)==32)return}function C5(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;x=r;r=r+320|0;s=x+128+64|0;k[x+128+8>>2]=9184;w=x+128+12|0;k[x+128>>2]=9388;k[s>>2]=9408;k[x+128+4>>2]=0;Fsb(x+128+64|0,w);k[x+128+136>>2]=0;k[x+128+140>>2]=-1;k[x+128>>2]=9164;k[s>>2]=9204;k[x+128+8>>2]=9184;Hsb(w);k[w>>2]=9220;q=x+128+44|0;k[q>>2]=0;k[q+4>>2]=0;k[q+8>>2]=0;k[q+12>>2]=0;k[x+128+60>>2]=24;ok(w,b);k[x+112>>2]=0;k[x+112+4>>2]=0;k[x+112+8>>2]=0;l=x+80+12|0;a:while(1){j=Gsb(x+128+(k[(k[x+128>>2]|0)+-12>>2]|0)|0)|0;k[x+308>>2]=j;j=gtb(x+308|0,1203700)|0;j=gj[k[(k[j>>2]|0)+28>>2]&511](j,10)|0;pAb(x+308|0);j=vv(x+128|0,x+112|0,j)|0;if(k[j+(k[(k[j>>2]|0)+-12>>2]|0)+16>>2]&5|0){b=141;break};k[x+80>>2]=0;k[x+80+4>>2]=0;k[x+80+8>>2]=0;k[x+80+12>>2]=0;k[x+80+16>>2]=0;k[x+80+20>>2]=0;k[x+80+24>>2]=0;o[x+80+28>>2]=1.0;Yqb(x+308|0,x+112|0,0,prb(x+112|0,32,0)|0,x+112|0);if(!(i[x+80>>0]&1)){i[x+80+1>>0]=0;i[x+80>>0]=0}else{i[k[x+80+8>>2]>>0]=0;k[x+80+4>>2]=0}crb(x+80|0,0);k[x+80>>2]=k[x+308>>2];k[x+80+4>>2]=k[x+308+4>>2];k[x+80+8>>2]=k[x+308+8>>2];k[x+308>>2]=0;k[x+308+4>>2]=0;k[x+308+8>>2]=0;_qb(x+308|0);j=i[x+112>>0]|0;b:do if(((j&1)==0?(j&255)>>>1:k[x+112+4>>2]|0)|0){b=0;do{c=prb(x+112|0,61,b)|0;if((c|0)==-1)break b;j=i[x+112>>0]|0;if((c+1|0)>>>0>=((j&1)==0?(j&255)>>>1:k[x+112+4>>2]|0)>>>0)break b;b=qrb(x+112|0,32,c)|0;if((b|0)==-1)break b;Yqb(x,x+112|0,b+1|0,c-(b+1)|0,x+112|0);if((i[((i[x+112>>0]&1)==0?x+112+1|0:k[x+112+8>>2]|0)+(c+1)>>0]|0)==34){b=prb(x+112|0,34,c+2|0)|0;d=c+2|0}else{b=prb(x+112|0,32,c+2|0)|0;d=c+1|0}b=b+-1|0;c=i[x+112>>0]|0;c=((c&1)==0?(c&255)>>>1:k[x+112+4>>2]|0)+-1|0;b=c>>>0>>0?c:b;c=D5(x+80+12|0,x)|0;Yqb(x+272|0,x+112|0,d,1-d+b|0,x+112|0);if(!(i[c>>0]&1)){i[c+1>>0]=0;i[c>>0]=0}else{i[k[c+8>>2]>>0]=0;k[c+4>>2]=0}crb(c,0);k[c>>2]=k[x+272>>2];k[c+4>>2]=k[x+272+4>>2];k[c+8>>2]=k[x+272+8>>2];k[x+272>>2]=0;k[x+272+4>>2]=0;k[x+272+8>>2]=0;_qb(x+272|0);b=b+1|0;_qb(x);j=i[x+112>>0]|0}while(b>>>0<((j&1)==0?(j&255)>>>1:k[x+112+4>>2]|0)>>>0)}while(0);do if(!(srb(x+80|0,365144)|0)){Wqb(x+308|0,365149,4);b=I5(l,x+308|0)|0;_qb(x+308|0);if(!b)b=0;else{if(!(i[b+20>>0]&1))b=b+20+1|0;else b=k[b+28>>2]|0;b=umb(b,0,10)|0}k[a+96>>2]=b;Wqb(x+308|0,365154,7);b=I5(l,x+308|0)|0;_qb(x+308|0);if(!b)b=0;else{if(!(i[b+20>>0]&1))b=b+20+1|0;else b=k[b+28>>2]|0;b=umb(b,0,10)|0}i[a+100>>0]=(b|0)>0&1}else{if(!(srb(x+80|0,365162)|0)){Wqb(x+308|0,365169,10);b=I5(l,x+308|0)|0;_qb(x+308|0);if(!b)b=0;else{if(!(i[b+20>>0]&1))b=b+20+1|0;else b=k[b+28>>2]|0;b=umb(b,0,10)|0}k[a+104>>2]=b;Wqb(x+308|0,365180,4);b=I5(l,x+308|0)|0;_qb(x+308|0);if(!b)b=0;else{if(!(i[b+20>>0]&1))b=b+20+1|0;else b=k[b+28>>2]|0;b=umb(b,0,10)|0}k[a+12>>2]=b;break}if(!(srb(x+80|0,365185)|0)){Wqb(x+308|0,594930,2);b=I5(l,x+308|0)|0;_qb(x+308|0);if(!b)b=0;else{if(!(i[b+20>>0]&1))b=b+20+1|0;else b=k[b+28>>2]|0;b=umb(b,0,10)|0}k[x>>2]=b;Wqb(x+308|0,519098,4);b=I5(l,x+308|0)|0;_qb(x+308|0);if(!b)Wqb(x+272|0,1279174,0);else Vqb(x+272|0,b+20|0);b=i[a+24>>0]|0;if(!(b&1))c=(b&255)>>>1;else c=k[a+28>>2]|0;if(c|0){k[x+284>>2]=0;k[x+284+4>>2]=0;k[x+284+8>>2]=0;j=(b&1)==0?(b&255)>>>1:k[a+28>>2]|0;trb(x+284|0,(b&1)==0?a+24+1|0:k[a+32>>2]|0,j,j+1|0);hrb(x+284|0,520599,1)|0;j=i[x+272>>0]|0;j=hrb(x+284|0,(j&1)==0?x+272+1|0:k[x+272+8>>2]|0,(j&1)==0?(j&255)>>>1:k[x+272+4>>2]|0)|0;k[x+296>>2]=k[j>>2];k[x+296+4>>2]=k[j+4>>2];k[x+296+8>>2]=k[j+8>>2];k[j>>2]=0;k[j+4>>2]=0;k[j+8>>2]=0;if(!(i[x+272>>0]&1)){i[x+272+1>>0]=0;i[x+272>>0]=0}else{i[k[x+272+8>>2]>>0]=0;k[x+272+4>>2]=0}crb(x+272|0,0);k[x+272>>2]=k[x+296>>2];k[x+272+4>>2]=k[x+296+4>>2];k[x+272+8>>2]=k[x+296+8>>2];k[x+296>>2]=0;k[x+296+4>>2]=0;k[x+296+8>>2]=0;_qb(x+296|0);_qb(x+284|0)}j=y5(a+36|0,x)|0;do if(!(k[j>>2]|0)){b=k[155700]|0;c=k[155703]|0;if(!b){b=60;break a}if(!c){b=62;break a}d=nj[k[(k[b>>2]|0)+132>>2]&127](b,(i[x+272>>0]&1)==0?x+272+1|0:k[x+272+8>>2]|0,-1,-1)|0;if(d|0)Si[k[(k[d>>2]|0)+8>>2]&1023](d);Si[k[(k[d>>2]|0)+12>>2]&1023](d);e=y5(a+36|0,x)|0;b=gj[k[(k[c>>2]|0)+24>>2]&511](c,d)|0;if(b|0)Si[k[(k[b>>2]|0)+8>>2]&1023](b);c=k[e>>2]|0;if(c|0)Si[k[(k[c>>2]|0)+12>>2]&1023](c);k[e>>2]=b;j=y5(a+36|0,x)|0;j=k[j>>2]|0;Si[k[(k[j>>2]|0)+12>>2]&1023](j);if(!d)break;Si[k[(k[d>>2]|0)+12>>2]&1023](d)}while(0);_qb(x+272|0);break}if(srb(x+80|0,519819)|0){if(srb(x+80|0,591174)|0)break;Wqb(x+308|0,365270,5);b=I5(l,x+308|0)|0;_qb(x+308|0);if(!b)c=0;else{if(!(i[b+20>>0]&1))b=b+20+1|0;else b=k[b+28>>2]|0;c=umb(b,0,10)|0}Wqb(x+308|0,365276,6);b=I5(l,x+308|0)|0;_qb(x+308|0);if(!b)b=0;else{if(!(i[b+20>>0]&1))b=b+20+1|0;else b=k[b+28>>2]|0;b=umb(b,0,10)|0}k[x>>2]=b;k[x+4>>2]=c;Wqb(x+308|0,365283,6);b=I5(l,x+308|0)|0;_qb(x+308|0);if(!b)b=0;else{if(!(i[b+20>>0]&1))b=b+20+1|0;else b=k[b+28>>2]|0;b=umb(b,0,10)|0}j=N5(a+76|0,x)|0;k[j>>2]=b;break}Wqb(x+308|0,594930,2);b=I5(l,x+308|0)|0;_qb(x+308|0);if(!b)b=0;else{if(!(i[b+20>>0]&1))b=b+20+1|0;else b=k[b+28>>2]|0;b=umb(b,0,10)|0}k[x>>2]=b;Wqb(x+308|0,608149,1);b=I5(l,x+308|0)|0;_qb(x+308|0);if(!b)j=0;else{if(!(i[b+20>>0]&1))b=b+20+1|0;else b=k[b+28>>2]|0;j=umb(b,0,10)|0}Wqb(x+308|0,608151,1);b=I5(l,x+308|0)|0;_qb(x+308|0);if(!b)h=0;else{if(!(i[b+20>>0]&1))b=b+20+1|0;else b=k[b+28>>2]|0;h=umb(b,0,10)|0}Wqb(x+308|0,365185,4);b=I5(l,x+308|0)|0;_qb(x+308|0);if(!b)g=0;else{if(!(i[b+20>>0]&1))b=b+20+1|0;else b=k[b+28>>2]|0;g=umb(b,0,10)|0}Wqb(x+308|0,607237,5);b=I5(l,x+308|0)|0;_qb(x+308|0);if(!b)f=0;else{if(!(i[b+20>>0]&1))b=b+20+1|0;else b=k[b+28>>2]|0;f=umb(b,0,10)|0}Wqb(x+308|0,607243,6);b=I5(l,x+308|0)|0;_qb(x+308|0);if(!b)e=0;else{if(!(i[b+20>>0]&1))b=b+20+1|0;else b=k[b+28>>2]|0;e=umb(b,0,10)|0}Wqb(x+308|0,365245,7);b=I5(l,x+308|0)|0;_qb(x+308|0);if(!b)d=0;else{if(!(i[b+20>>0]&1))b=b+20+1|0;else b=k[b+28>>2]|0;d=umb(b,0,10)|0}Wqb(x+308|0,365253,7);b=I5(l,x+308|0)|0;_qb(x+308|0);if(!b)b=0;else{if(!(i[b+20>>0]&1))b=b+20+1|0;else b=k[b+28>>2]|0;b=umb(b,0,10)|0}c=0-b|0;Wqb(x+308|0,365261,8);b=I5(l,x+308|0)|0;_qb(x+308|0);if(!b)b=0;else{if(!(i[b+20>>0]&1))b=b+20+1|0;else b=k[b+28>>2]|0;b=umb(b,0,10)|0}y=J5(a+56|0,x)|0;k[y>>2]=j;k[y+4>>2]=h;k[y+8>>2]=g;k[y+12>>2]=e;k[y+16>>2]=f;k[y+20>>2]=b;k[y+24>>2]=d;k[y+28>>2]=c}while(0);b=k[x+80+20>>2]|0;if(b|0)do{y=b;b=k[b>>2]|0;_qb(y+20|0);_qb(y+8|0);CAb(y)}while((b|0)!=0);b=k[x+80+12>>2]|0;k[x+80+12>>2]=0;if(b|0)CAb(b);_qb(x+80|0)}if((b|0)==60){y=xf(16)|0;os(y,365190,x+16|0);Jc(y|0,96,27)}else if((b|0)==62){y=xf(16)|0;os(y,365220,x+24|0);Jc(y|0,96,27)}else if((b|0)==141){if(!(k[a+68>>2]|0)){y=xf(16)|0;os(y,365290,x+32|0);Jc(y|0,96,27)}b=k[a+64>>2]|0;if(!b){v=k[a+104>>2]|0;y=a+20|0;k[y>>2]=v;_qb(x+112|0);k[x+128>>2]=9164;k[s>>2]=9204;y=x+128+8|0;k[y>>2]=9184;k[w>>2]=9220;_qb(q);Irb(w);Erb(s);r=x;return}if(!(k[a+104>>2]|0)){while(1){c=b;d=k[c+28>>2]|0;e=k[c+24>>2]|0;if(!(i[a+100>>0]|0))if((k[c+8>>2]|0)>>>0>127){b=158;break}if((k[c+20>>2]|0)<0){m=c+20|0;b=161;break}y=y5(a+36|0,c+20|0)|0;if(!(k[y>>2]|0)){m=c+20|0;b=161;break}f=y5(a+36|0,c+20|0)|0;f=k[f>>2]|0;if(!(jia(f,k[c+12>>2]|0,k[c+16>>2]|0)|0)){t=c;b=163;break}if((d|0)>0)if(!(jia(f,d+-1+(k[c+12>>2]|0)|0,k[c+16>>2]|0)|0)){n=d;u=c;b=166;break}if((e|0)>0)if(!(jia(f,k[c+12>>2]|0,e+-1+(k[c+16>>2]|0)|0)|0)){p=e;v=c;b=169;break}y=k[a+104>>2]|0;l=k[c+24>>2]|0;k[a+104>>2]=(y|0)<(l|0)?l:y;b=k[b>>2]|0;if(!b){b=155;break}}if((b|0)==155){v=k[a+104>>2]|0;y=a+20|0;k[y>>2]=v;_qb(x+112|0);k[x+128>>2]=9164;k[s>>2]=9204;y=x+128+8|0;k[y>>2]=9184;k[w>>2]=9220;_qb(q);Irb(w);Erb(s);r=x;return}else if((b|0)==158){y=xf(16)|0;os(y,365338,x+40|0);Jc(y|0,96,27)}else if((b|0)==161){y=xf(16)|0;a=k[m>>2]|0;k[x+48>>2]=a;os(y,365405,x+48|0);Jc(y|0,96,27)}else if((b|0)==163){y=xf(16)|0;a=t+8|0;a=k[a>>2]|0;k[x+56>>2]=a;os(y,365442,x+56|0);Jc(y|0,96,27)}else if((b|0)==166){y=xf(16)|0;w=u+8|0;w=k[w>>2]|0;k[x+64>>2]=n;a=x+64+4|0;k[a>>2]=w;os(y,365487,x+64|0);Jc(y|0,96,27)}else if((b|0)==169){y=xf(16)|0;w=v+8|0;w=k[w>>2]|0;k[x+72>>2]=p;a=x+72+4|0;k[a>>2]=w;os(y,365529,x+72|0);Jc(y|0,96,27)}}else{while(1){c=b;d=k[c+28>>2]|0;e=k[c+24>>2]|0;if(!(i[a+100>>0]|0))if((k[c+8>>2]|0)>>>0>127){b=158;break}if((k[c+20>>2]|0)<0){m=c+20|0;b=161;break}y=y5(a+36|0,c+20|0)|0;if(!(k[y>>2]|0)){m=c+20|0;b=161;break}f=y5(a+36|0,c+20|0)|0;f=k[f>>2]|0;if(!(jia(f,k[c+12>>2]|0,k[c+16>>2]|0)|0)){t=c;b=163;break}if((d|0)>0)if(!(jia(f,d+-1+(k[c+12>>2]|0)|0,k[c+16>>2]|0)|0)){n=d;u=c;b=166;break}if((e|0)>0)if(!(jia(f,k[c+12>>2]|0,e+-1+(k[c+16>>2]|0)|0)|0)){p=e;v=c;b=169;break}b=k[b>>2]|0;if(!b){b=155;break}}if((b|0)==155){v=k[a+104>>2]|0;y=a+20|0;k[y>>2]=v;_qb(x+112|0);k[x+128>>2]=9164;k[s>>2]=9204;y=x+128+8|0;k[y>>2]=9184;k[w>>2]=9220;_qb(q);Irb(w);Erb(s);r=x;return}else if((b|0)==158){y=xf(16)|0;os(y,365338,x+40|0);Jc(y|0,96,27)}else if((b|0)==161){y=xf(16)|0;a=k[m>>2]|0;k[x+48>>2]=a;os(y,365405,x+48|0);Jc(y|0,96,27)}else if((b|0)==163){y=xf(16)|0;a=t+8|0;a=k[a>>2]|0;k[x+56>>2]=a;os(y,365442,x+56|0);Jc(y|0,96,27)}else if((b|0)==166){y=xf(16)|0;w=u+8|0;w=k[w>>2]|0;k[x+64>>2]=n;a=x+64+4|0;k[a>>2]=w;os(y,365487,x+64|0);Jc(y|0,96,27)}else if((b|0)==169){y=xf(16)|0;w=v+8|0;w=k[w>>2]|0;k[x+72>>2]=p;a=x+72+4|0;k[a>>2]=w;os(y,365529,x+72|0);Jc(y|0,96,27)}}}}function D5(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+16|0;c=E5(a,b)|0;if(c|0){a=c;a=a+20|0;r=d;return a|0}c=kBb(32)|0;Vqb(c+8|0,b);k[c+20>>2]=0;k[c+20+4>>2]=0;k[c+20+8>>2]=0;F5(d,a,c);a=k[d>>2]|0;a=a+20|0;r=d;return a|0}function E5(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0;m=i[b>>0]|0;n=(m&1)==0?b+1|0:k[b+8>>2]|0;m=(m&1)==0?(m&255)>>>1:k[b+4>>2]|0;if(m>>>0>3){c=m;d=n;b=m;while(1){o=ha(l[d>>0]|l[d+1>>0]<<8|l[d+2>>0]<<16|l[d+3>>0]<<24,1540483477)|0;b=(ha(o>>>24^o,1540483477)|0)^(ha(b,1540483477)|0);c=c+-4|0;if(c>>>0<=3)break;else d=d+4|0}c=m+-4-(m+-4&-4)|0;d=n+((m+-4&-4)+4)|0}else{c=m;d=n;b=m}switch(c|0){case 3:{e=l[d+2>>0]<<16^b;h=6;break}case 2:{e=b;h=6;break}case 1:{f=b;h=7;break}default:g=b}if((h|0)==6){f=l[d+1>>0]<<8^e;h=7}if((h|0)==7)g=ha(l[d>>0]^f,1540483477)|0;b=ha(g>>>13^g,1540483477)|0;g=k[a+4>>2]|0;if(!g){o=0;return o|0}if(!(g+-1&g))f=(b>>>15^b)&g+-1;else f=((b>>>15^b)>>>0)%(g>>>0)|0;b=k[(k[a>>2]|0)+(f<<2)>>2]|0;if(!b){o=0;return o|0}b=k[b>>2]|0;if(!b){o=0;return o|0}if(!(g+-1&g)){a:while(1){if((k[b+4>>2]&g+-1|0)!=(f|0)){b=0;h=35;break}d=b+8|0;c=j[d>>1]|0;do if((((c&1)==0?(c&254)>>>1:k[b+12>>2]|0)|0)==(m|0)){if(c&1)if(!(Emb(k[b+16>>2]|0,n,m)|0)){h=35;break a}else break;if(!m){h=35;break a}if(((c&65535)>>>8&255)<<24>>24==(i[n>>0]|0)){e=(c&254)>>>1;c=d+1|0;d=n;do{e=e+-1|0;c=c+1|0;if(!e){h=35;break a}d=d+1|0}while((i[c>>0]|0)==(i[d>>0]|0))}}while(0);b=k[b>>2]|0;if(!b){b=0;h=35;break}}if((h|0)==35)return b|0}else{b:while(1){if((((k[b+4>>2]|0)>>>0)%(g>>>0)|0|0)!=(f|0)){b=0;h=35;break}d=b+8|0;c=j[d>>1]|0;do if((((c&1)==0?(c&254)>>>1:k[b+12>>2]|0)|0)==(m|0)){if(c&1)if(!(Emb(k[b+16>>2]|0,n,m)|0)){h=35;break b}else break;if(!m){h=35;break b}if(((c&65535)>>>8&255)<<24>>24==(i[n>>0]|0)){e=(c&254)>>>1;c=d+1|0;d=n;do{e=e+-1|0;c=c+1|0;if(!e){h=35;break b}d=d+1|0}while((i[c>>0]|0)==(i[d>>0]|0))}}while(0);b=k[b>>2]|0;if(!b){b=0;h=35;break}}if((h|0)==35)return b|0}return 0}function F5(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0.0,g=0.0,h=0,m=0,n=0,p=0,q=0,r=0,s=0,t=0,u=0;s=i[c+8>>0]|0;t=(s&1)==0?c+8+1|0:k[c+16>>2]|0;s=(s&1)==0?(s&255)>>>1:k[c+12>>2]|0;if(s>>>0>3){h=s;m=t;d=s;while(1){u=ha(l[m>>0]|l[m+1>>0]<<8|l[m+2>>0]<<16|l[m+3>>0]<<24,1540483477)|0;d=(ha(u>>>24^u,1540483477)|0)^(ha(d,1540483477)|0);h=h+-4|0;if(h>>>0<=3)break;else m=m+4|0}h=s+-4-(s+-4&-4)|0;m=t+((s+-4&-4)+4)|0}else{h=s;m=t;d=s}switch(h|0){case 3:{n=l[m+2>>0]<<16^d;r=6;break}case 2:{n=d;r=6;break}case 1:{p=d;r=7;break}default:q=d}if((r|0)==6){p=l[m+1>>0]<<8^n;r=7}if((r|0)==7)q=ha(l[m>>0]^p,1540483477)|0;d=ha(q>>>13^q,1540483477)|0;k[c+4>>2]=d>>>15^d;q=k[b+4>>2]|0;a:do if(!q)e=0;else{if(!(q+-1&q))p=(d>>>15^d)&q+-1;else p=((d>>>15^d)>>>0)%(q>>>0)|0;d=k[(k[b>>2]|0)+(p<<2)>>2]|0;if(!d)e=p;else{d=k[d>>2]|0;if(!d)e=p;else if(!(q+-1&q)){b:while(1){if((k[d+4>>2]&q+-1|0)!=(p|0)){e=p;break a}m=d+8|0;h=j[m>>1]|0;do if((((h&1)==0?(h&254)>>>1:k[d+12>>2]|0)|0)==(s|0)){if(h&1)if(!(Emb(k[d+16>>2]|0,t,s)|0)){h=0;r=49;break b}else break;if(!s){h=0;r=49;break b}if(((h&65535)>>>8&255)<<24>>24==(i[t>>0]|0)){n=(h&254)>>>1;h=m+1|0;m=t;do{n=n+-1|0;h=h+1|0;if(!n){h=0;r=49;break b}m=m+1|0}while((i[h>>0]|0)==(i[m>>0]|0))}}while(0);d=k[d>>2]|0;if(!d){e=p;break a}}if((r|0)==49){u=d;k[a>>2]=u;u=a+4|0;i[u>>0]=h;return}}else{c:while(1){if((((k[d+4>>2]|0)>>>0)%(q>>>0)|0|0)!=(p|0)){e=p;break a}m=d+8|0;h=j[m>>1]|0;do if((((h&1)==0?(h&254)>>>1:k[d+12>>2]|0)|0)==(s|0)){if(h&1)if(!(Emb(k[d+16>>2]|0,t,s)|0)){h=0;r=49;break c}else break;if(!s){h=0;r=49;break c}if(((h&65535)>>>8&255)<<24>>24==(i[t>>0]|0)){n=(h&254)>>>1;h=m+1|0;m=t;do{n=n+-1|0;h=h+1|0;if(!n){h=0;r=49;break c}m=m+1|0}while((i[h>>0]|0)==(i[m>>0]|0))}}while(0);d=k[d>>2]|0;if(!d){e=p;break a}}if((r|0)==49){u=d;k[a>>2]=u;u=a+4|0;i[u>>0]=h;return}}}}while(0);f=+(((k[b+12>>2]|0)+1|0)>>>0);g=+o[b+16>>2];do if((q|0)==0|f>+(q>>>0)*g){if(q>>>0>2)d=(q+-1&q|0)==0;else d=0;d=(d&1|q<<1)^1;e=~~+ga(+(f/g))>>>0;G5(b,d>>>0>>0?e:d);d=k[b+4>>2]|0;e=k[c+4>>2]|0;if(!(d+-1&d)){h=d;e=d+-1&e;break}else{h=d;e=(e>>>0)%(d>>>0)|0;break}}else h=q;while(0);d=k[(k[b>>2]|0)+(e<<2)>>2]|0;if(!d){k[c>>2]=k[b+8>>2];k[b+8>>2]=c;k[(k[b>>2]|0)+(e<<2)>>2]=b+8;d=k[c>>2]|0;if(d|0){d=k[d+4>>2]|0;e=h+-1|0;if(!(e&h))d=d&e;else d=(d>>>0)%(h>>>0)|0;k[(k[b>>2]|0)+(d<<2)>>2]=c}}else{k[c>>2]=k[d>>2];k[d>>2]=c}k[b+12>>2]=(k[b+12>>2]|0)+1;b=1;u=c;k[a>>2]=u;u=a+4|0;i[u>>0]=b;return}function G5(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if((b|0)==1)b=2;else if(b+-1&b)b=Sqb(b)|0;e=k[a+4>>2]|0;if(b>>>0>e>>>0){H5(a,b);return}if(b>>>0>=e>>>0)return;if(e>>>0>2)d=(e+-1&e|0)==0;else d=0;c=~~+ga(+(+((k[a+12>>2]|0)>>>0)/+o[a+16>>2]))>>>0;if(d)c=1<<32-(ja(c+-1|0)|0);else c=Sqb(c)|0;b=b>>>0>>0?c:b;if(b>>>0>=e>>>0)return;H5(a,b);return}function H5(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;if(!b){c=k[a>>2]|0;k[a>>2]=0;if(c|0)CAb(c);k[a+4>>2]=0;return}r=kBb(b<<2)|0;c=k[a>>2]|0;k[a>>2]=r;if(c|0)CAb(c);k[a+4>>2]=b;c=0;do{k[(k[a>>2]|0)+(c<<2)>>2]=0;c=c+1|0}while((c|0)!=(b|0));e=k[a+8>>2]|0;if(!e)return;c=k[e+4>>2]|0;if(!(b+-1&b))d=c&b+-1;else d=(c>>>0)%(b>>>0)|0;k[(k[a>>2]|0)+(d<<2)>>2]=a+8;c=k[e>>2]|0;if(!c)return;else g=e;a:while(1){r=e;b:while(1){while(1){e=k[c+4>>2]|0;if(!(b+-1&b))q=e&b+-1;else q=(e>>>0)%(b>>>0)|0;if((q|0)==(d|0)){e=c;break}e=(k[a>>2]|0)+(q<<2)|0;if(!(k[e>>2]|0)){d=q;f=c;c=r;break b}e=k[c>>2]|0;c:do if(!e)e=c;else{n=c+8|0;o=j[n>>1]|0;p=(o&1)==0?(o&254)>>>1:k[c+12>>2]|0;m=c+16|0;if(!(o&1)){m=c;while(1){f=e+8|0;h=i[f>>0]|0;if((p|0)!=(((h&1)==0?(h&255)>>>1:k[e+12>>2]|0)|0)){e=m;break c}f=(h&1)==0?f+1|0:k[e+16>>2]|0;d:do if(p|0){if(((o&65535)>>>8&255)<<24>>24==(i[f>>0]|0)){h=(o&254)>>>1;l=n+1|0}else{e=m;break c}while(1){h=h+-1|0;l=l+1|0;if(!h)break d;f=f+1|0;if((i[l>>0]|0)!=(i[f>>0]|0)){e=m;break c}}}while(0);f=k[e>>2]|0;if(!f)break;else{m=e;e=f}}}else{if(!p){f=c;while(1){p=i[e+8>>0]|0;if(((p&1)==0?(p&255)>>>1:k[e+12>>2]|0)|0){e=f;break c}f=k[e>>2]|0;if(!f)break c;else{p=e;e=f;f=p}}}else l=c;while(1){f=e+8|0;h=i[f>>0]|0;if((p|0)!=(((h&1)==0?(h&255)>>>1:k[e+12>>2]|0)|0)){e=l;break c}if(Emb(k[m>>2]|0,(h&1)==0?f+1|0:k[e+16>>2]|0,p)|0){e=l;break c}f=k[e>>2]|0;if(!f)break;else{l=e;e=f}}}}while(0);k[r>>2]=k[e>>2];k[e>>2]=k[k[(k[a>>2]|0)+(q<<2)>>2]>>2];k[k[(k[a>>2]|0)+(q<<2)>>2]>>2]=c;c=k[g>>2]|0;if(!c){c=38;break a}}c=k[e>>2]|0;if(!c){c=38;break a}else{g=e;r=e}}k[e>>2]=c;c=k[f>>2]|0;if(!c){c=38;break}else{g=f;e=f}}if((c|0)==38)return}function I5(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0;m=i[b>>0]|0;n=(m&1)==0?b+1|0:k[b+8>>2]|0;m=(m&1)==0?(m&255)>>>1:k[b+4>>2]|0;if(m>>>0>3){c=m;d=n;b=m;while(1){o=ha(l[d>>0]|l[d+1>>0]<<8|l[d+2>>0]<<16|l[d+3>>0]<<24,1540483477)|0;b=(ha(o>>>24^o,1540483477)|0)^(ha(b,1540483477)|0);c=c+-4|0;if(c>>>0<=3)break;else d=d+4|0}c=m+-4-(m+-4&-4)|0;d=n+((m+-4&-4)+4)|0}else{c=m;d=n;b=m}switch(c|0){case 3:{e=l[d+2>>0]<<16^b;h=6;break}case 2:{e=b;h=6;break}case 1:{f=b;h=7;break}default:g=b}if((h|0)==6){f=l[d+1>>0]<<8^e;h=7}if((h|0)==7)g=ha(l[d>>0]^f,1540483477)|0;b=ha(g>>>13^g,1540483477)|0;g=k[a+4>>2]|0;if(!g){o=0;return o|0}if(!(g+-1&g))f=(b>>>15^b)&g+-1;else f=((b>>>15^b)>>>0)%(g>>>0)|0;b=k[(k[a>>2]|0)+(f<<2)>>2]|0;if(!b){o=0;return o|0}b=k[b>>2]|0;if(!b){o=0;return o|0}if(!(g+-1&g)){a:while(1){if((k[b+4>>2]&g+-1|0)!=(f|0)){b=0;h=35;break}d=b+8|0;c=j[d>>1]|0;do if((((c&1)==0?(c&254)>>>1:k[b+12>>2]|0)|0)==(m|0)){if(c&1)if(!(Emb(k[b+16>>2]|0,n,m)|0)){h=35;break a}else break;if(!m){h=35;break a}if(((c&65535)>>>8&255)<<24>>24==(i[n>>0]|0)){e=(c&254)>>>1;c=d+1|0;d=n;do{e=e+-1|0;c=c+1|0;if(!e){h=35;break a}d=d+1|0}while((i[c>>0]|0)==(i[d>>0]|0))}}while(0);b=k[b>>2]|0;if(!b){b=0;h=35;break}}if((h|0)==35)return b|0}else{b:while(1){if((((k[b+4>>2]|0)>>>0)%(g>>>0)|0|0)!=(f|0)){b=0;h=35;break}d=b+8|0;c=j[d>>1]|0;do if((((c&1)==0?(c&254)>>>1:k[b+12>>2]|0)|0)==(m|0)){if(c&1)if(!(Emb(k[b+16>>2]|0,n,m)|0)){h=35;break b}else break;if(!m){h=35;break b}if(((c&65535)>>>8&255)<<24>>24==(i[n>>0]|0)){e=(c&254)>>>1;c=d+1|0;d=n;do{e=e+-1|0;c=c+1|0;if(!e){h=35;break b}d=d+1|0}while((i[c>>0]|0)==(i[d>>0]|0))}}while(0);b=k[b>>2]|0;if(!b){b=0;h=35;break}}if((h|0)==35)return b|0}return 0}function J5(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=r;r=r+16|0;c=k[b>>2]|0;e=k[a+4>>2]|0;a:do if(e|0){if(!(e+-1&e))d=e+-1&c;else d=(c>>>0)%(e>>>0)|0;b=k[(k[a>>2]|0)+(d<<2)>>2]|0;if(b|0)if(!(e+-1&e)){do{b=k[b>>2]|0;if(!b)break a;if((k[b+4>>2]&e+-1|0)!=(d|0))break a}while((k[b+8>>2]|0)!=(c|0));a=b+12|0;r=f;return a|0}else{do{b=k[b>>2]|0;if(!b)break a;if((((k[b+4>>2]|0)>>>0)%(e>>>0)|0|0)!=(d|0))break a}while((k[b+8>>2]|0)!=(c|0));a=b+12|0;r=f;return a|0}}while(0);e=kBb(44)|0;k[e+8>>2]=c;k[e+12>>2]=0;k[e+12+4>>2]=0;k[e+12+8>>2]=0;k[e+12+12>>2]=0;k[e+12+16>>2]=0;k[e+12+20>>2]=0;k[e+12+24>>2]=0;k[e+12+28>>2]=0;K5(f,a,e);a=k[f>>2]|0;a=a+12|0;r=f;return a|0}function K5(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0.0,g=0.0,h=0,j=0;h=k[c+8>>2]|0;k[c+4>>2]=h;j=k[b+4>>2]|0;a:do if(!j)e=0;else{if(!(j+-1&j))e=j+-1&h;else e=(h>>>0)%(j>>>0)|0;d=k[(k[b>>2]|0)+(e<<2)>>2]|0;if(d)if(!(j+-1&j)){while(1){d=k[d>>2]|0;if(!d)break a;if((k[d+4>>2]&j+-1|0)!=(e|0))break a;if((k[d+8>>2]|0)==(h|0)){e=0;break}}b=d;k[a>>2]=b;a=a+4|0;i[a>>0]=e;return}else{while(1){d=k[d>>2]|0;if(!d)break a;if((((k[d+4>>2]|0)>>>0)%(j>>>0)|0|0)!=(e|0))break a;if((k[d+8>>2]|0)==(h|0)){e=0;break}}b=d;k[a>>2]=b;a=a+4|0;i[a>>0]=e;return}}while(0);f=+(((k[b+12>>2]|0)+1|0)>>>0);g=+o[b+16>>2];do if((j|0)==0|f>+(j>>>0)*g){if(j>>>0>2)d=(j+-1&j|0)==0;else d=0;d=(d&1|j<<1)^1;e=~~+ga(+(f/g))>>>0;L5(b,d>>>0>>0?e:d);d=k[b+4>>2]|0;e=k[c+4>>2]|0;if(!(d+-1&d)){h=d;e=d+-1&e;break}else{h=d;e=(e>>>0)%(d>>>0)|0;break}}else h=j;while(0);d=k[(k[b>>2]|0)+(e<<2)>>2]|0;if(!d){k[c>>2]=k[b+8>>2];k[b+8>>2]=c;k[(k[b>>2]|0)+(e<<2)>>2]=b+8;d=k[c>>2]|0;if(d|0){d=k[d+4>>2]|0;e=h+-1|0;if(!(e&h))d=d&e;else d=(d>>>0)%(h>>>0)|0;k[(k[b>>2]|0)+(d<<2)>>2]=c}}else{k[c>>2]=k[d>>2];k[d>>2]=c}k[b+12>>2]=(k[b+12>>2]|0)+1;b=1;k[a>>2]=c;a=a+4|0;i[a>>0]=b;return}function L5(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if((b|0)==1)b=2;else if(b+-1&b)b=Sqb(b)|0;e=k[a+4>>2]|0;if(b>>>0>e>>>0){M5(a,b);return}if(b>>>0>=e>>>0)return;if(e>>>0>2)d=(e+-1&e|0)==0;else d=0;c=~~+ga(+(+((k[a+12>>2]|0)>>>0)/+o[a+16>>2]))>>>0;if(d)c=1<<32-(ja(c+-1|0)|0);else c=Sqb(c)|0;b=b>>>0>>0?c:b;if(b>>>0>=e>>>0)return;M5(a,b);return}function M5(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!b){c=k[a>>2]|0;k[a>>2]=0;if(c|0)CAb(c);k[a+4>>2]=0;return}j=kBb(b<<2)|0;c=k[a>>2]|0;k[a>>2]=j;if(c|0)CAb(c);k[a+4>>2]=b;c=0;do{k[(k[a>>2]|0)+(c<<2)>>2]=0;c=c+1|0}while((c|0)!=(b|0));e=k[a+8>>2]|0;if(!e)return;c=k[e+4>>2]|0;if(!(b+-1&b))d=c&b+-1;else d=(c>>>0)%(b>>>0)|0;k[(k[a>>2]|0)+(d<<2)>>2]=a+8;c=k[e>>2]|0;if(!c)return;else f=e;a:while(1){b:do if(!(b+-1&b)){j=f;i=e;while(1){while(1){h=k[c+4>>2]&b+-1;if((h|0)==(d|0)){e=c;break}e=(k[a>>2]|0)+(h<<2)|0;if(!(k[e>>2]|0)){d=h;g=c;c=i;break b}g=c+8|0;e=c;while(1){f=k[e>>2]|0;if(!f)break;if((k[g>>2]|0)==(k[f+8>>2]|0))e=f;else break}k[i>>2]=f;k[e>>2]=k[k[(k[a>>2]|0)+(h<<2)>>2]>>2];k[k[(k[a>>2]|0)+(h<<2)>>2]>>2]=c;c=k[j>>2]|0;if(!c){c=32;break a}}c=k[e>>2]|0;if(!c){c=32;break a}else{j=e;i=e}}}else{j=f;i=e;while(1){while(1){h=((k[c+4>>2]|0)>>>0)%(b>>>0)|0;if((h|0)==(d|0)){e=c;break}e=(k[a>>2]|0)+(h<<2)|0;if(!(k[e>>2]|0)){d=h;g=c;c=i;break b}g=c+8|0;e=c;while(1){f=k[e>>2]|0;if(!f)break;if((k[g>>2]|0)==(k[f+8>>2]|0))e=f;else break}k[i>>2]=f;k[e>>2]=k[k[(k[a>>2]|0)+(h<<2)>>2]>>2];k[k[(k[a>>2]|0)+(h<<2)>>2]>>2]=c;c=k[j>>2]|0;if(!c){c=32;break a}}c=k[e>>2]|0;if(!c){c=32;break a}else{j=e;i=e}}}while(0);k[e>>2]=c;c=k[g>>2]|0;if(!c){c=32;break}else{f=g;e=g}}if((c|0)==32)return}function N5(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=r;r=r+16|0;f=k[b>>2]|0;e=k[b+4>>2]|0;d=ha(f,1540483477)|0;b=ha(e,1540483477)|0;b=(ha((ha(d>>>24^d,1540483477)|0)^-561034072,1540483477)|0)^(ha(b>>>24^b,1540483477)|0);b=ha(b>>>13^b,1540483477)|0;d=k[a+4>>2]|0;a:do if(d|0){if(!(d+-1&d))c=(b>>>15^b)&d+-1;else c=((b>>>15^b)>>>0)%(d>>>0)|0;b=k[(k[a>>2]|0)+(c<<2)>>2]|0;if(b|0)if(!(d+-1&d)){do{b=k[b>>2]|0;if(!b)break a;if((k[b+4>>2]&d+-1|0)!=(c|0))break a}while(!((k[b+8>>2]|0)==(f|0)?(k[b+8+4>>2]|0)==(e|0):0));a=b+16|0;r=g;return a|0}else{do{b=k[b>>2]|0;if(!b)break a;if((((k[b+4>>2]|0)>>>0)%(d>>>0)|0|0)!=(c|0))break a}while(!((k[b+8>>2]|0)==(f|0)?(k[b+8+4>>2]|0)==(e|0):0));a=b+16|0;r=g;return a|0}}while(0);d=kBb(24)|0;k[d+8>>2]=f;k[d+8+4>>2]=e;k[d+16>>2]=0;O5(g,a,d);a=k[g>>2]|0;a=a+16|0;r=g;return a|0}function O5(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0.0,g=0.0,h=0,j=0,l=0;j=k[c+8>>2]|0;l=k[c+8+4>>2]|0;h=ha(j,1540483477)|0;d=ha(l,1540483477)|0;d=(ha((ha(h>>>24^h,1540483477)|0)^-561034072,1540483477)|0)^(ha(d>>>24^d,1540483477)|0);d=ha(d>>>13^d,1540483477)|0;k[c+4>>2]=d>>>15^d;h=k[b+4>>2]|0;a:do if(!h)e=0;else{if(!(h+-1&h))e=(d>>>15^d)&h+-1;else e=((d>>>15^d)>>>0)%(h>>>0)|0;d=k[(k[b>>2]|0)+(e<<2)>>2]|0;if(d)if(!(h+-1&h)){while(1){d=k[d>>2]|0;if(!d)break a;if((k[d+4>>2]&h+-1|0)!=(e|0))break a;if((k[d+8>>2]|0)==(j|0)?(k[d+8+4>>2]|0)==(l|0):0){e=0;break}}b=d;k[a>>2]=b;a=a+4|0;i[a>>0]=e;return}else{while(1){d=k[d>>2]|0;if(!d)break a;if((((k[d+4>>2]|0)>>>0)%(h>>>0)|0|0)!=(e|0))break a;if((k[d+8>>2]|0)==(j|0)?(k[d+8+4>>2]|0)==(l|0):0){e=0;break}}b=d;k[a>>2]=b;a=a+4|0;i[a>>0]=e;return}}while(0);f=+(((k[b+12>>2]|0)+1|0)>>>0);g=+o[b+16>>2];do if((h|0)==0|f>+(h>>>0)*g){if(h>>>0>2)d=(h+-1&h|0)==0;else d=0;d=(d&1|h<<1)^1;e=~~+ga(+(f/g))>>>0;P5(b,d>>>0>>0?e:d);d=k[b+4>>2]|0;e=k[c+4>>2]|0;if(!(d+-1&d)){h=d;e=d+-1&e;break}else{h=d;e=(e>>>0)%(d>>>0)|0;break}}while(0);d=k[(k[b>>2]|0)+(e<<2)>>2]|0;if(!d){k[c>>2]=k[b+8>>2];k[b+8>>2]=c;k[(k[b>>2]|0)+(e<<2)>>2]=b+8;d=k[c>>2]|0;if(d|0){d=k[d+4>>2]|0;e=h+-1|0;if(!(e&h))d=d&e;else d=(d>>>0)%(h>>>0)|0;k[(k[b>>2]|0)+(d<<2)>>2]=c}}else{k[c>>2]=k[d>>2];k[d>>2]=c}k[b+12>>2]=(k[b+12>>2]|0)+1;b=1;k[a>>2]=c;a=a+4|0;i[a>>0]=b;return}function P5(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if((b|0)==1)b=2;else if(b+-1&b)b=Sqb(b)|0;e=k[a+4>>2]|0;if(b>>>0>e>>>0){Q5(a,b);return}if(b>>>0>=e>>>0)return;if(e>>>0>2)d=(e+-1&e|0)==0;else d=0;c=~~+ga(+(+((k[a+12>>2]|0)>>>0)/+o[a+16>>2]))>>>0;if(d)c=1<<32-(ja(c+-1|0)|0);else c=Sqb(c)|0;b=b>>>0>>0?c:b;if(b>>>0>=e>>>0)return;Q5(a,b);return}function Q5(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!b){c=k[a>>2]|0;k[a>>2]=0;if(c|0)CAb(c);k[a+4>>2]=0;return}j=kBb(b<<2)|0;c=k[a>>2]|0;k[a>>2]=j;if(c|0)CAb(c);k[a+4>>2]=b;c=0;do{k[(k[a>>2]|0)+(c<<2)>>2]=0;c=c+1|0}while((c|0)!=(b|0));e=k[a+8>>2]|0;if(!e)return;c=k[e+4>>2]|0;if(!(b+-1&b))d=c&b+-1;else d=(c>>>0)%(b>>>0)|0;k[(k[a>>2]|0)+(d<<2)>>2]=a+8;c=k[e>>2]|0;if(!c)return;else f=e;a:while(1){b:do if(!(b+-1&b)){j=f;i=e;while(1){while(1){h=k[c+4>>2]&b+-1;if((h|0)==(d|0)){e=c;break}e=(k[a>>2]|0)+(h<<2)|0;if(!(k[e>>2]|0)){d=h;g=c;c=i;break b}g=c+8|0;e=c;while(1){f=k[e>>2]|0;if(!f)break;if((k[g>>2]|0)==(k[f+8>>2]|0)?(k[g+4>>2]|0)==(k[f+8+4>>2]|0):0)e=f;else break}k[i>>2]=f;k[e>>2]=k[k[(k[a>>2]|0)+(h<<2)>>2]>>2];k[k[(k[a>>2]|0)+(h<<2)>>2]>>2]=c;c=k[j>>2]|0;if(!c){c=32;break a}}c=k[e>>2]|0;if(!c){c=32;break a}else{j=e;i=e}}}else{j=f;i=e;while(1){while(1){h=((k[c+4>>2]|0)>>>0)%(b>>>0)|0;if((h|0)==(d|0)){e=c;break}e=(k[a>>2]|0)+(h<<2)|0;if(!(k[e>>2]|0)){d=h;g=c;c=i;break b}g=c+8|0;e=c;while(1){f=k[e>>2]|0;if(!f)break;if((k[g>>2]|0)==(k[f+8>>2]|0)?(k[g+4>>2]|0)==(k[f+8+4>>2]|0):0)e=f;else break}k[i>>2]=f;k[e>>2]=k[k[(k[a>>2]|0)+(h<<2)>>2]>>2];k[k[(k[a>>2]|0)+(h<<2)>>2]>>2]=c;c=k[j>>2]|0;if(!c){c=32;break a}}c=k[e>>2]|0;if(!c){c=32;break a}else{j=e;i=e}}}while(0);k[e>>2]=c;c=k[g>>2]|0;if(!c){c=32;break}else{f=g;e=g}}if((c|0)==32)return}function R5(a){a=a|0;var b=0;b=Gi[k[(k[a>>2]|0)+16>>2]&2047](a)|0;if((Gi[k[(k[a>>2]|0)+20>>2]&2047](a)|0)>>>0<=4){a=0;return a|0}a=(Emb(b,365144,4)|0)==0;return a|0}function S5(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=kBb(8)|0;Uj(d);k[d>>2]=23052;Sj(d);Si[k[(k[d>>2]|0)+12>>2]&1023](d);a=nj[k[(k[a>>2]|0)+32>>2]&127](a,d,b,c)|0;Si[k[(k[d>>2]|0)+12>>2]&1023](d);return a|0}function T5(a){a=a|0;CAb(a);return}function U5(a){a=a|0;return 365572}function V5(a){a=a|0;return 65932}function W5(a,b,c){a=a|0;b=b|0;c=c|0;a=kBb(108)|0;x5(a,b,c);return a|0}function X5(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;j=r;r=r+48|0;k[j+12>>2]=0;h=j+12+4|0;k[h>>2]=0;k[j+12+8>>2]=0;e=i[c>>0]|0;g=(e&1)==0?(e&255)>>>1:k[c+4>>2]|0;if(g|0){f=kBb(g<<2)|0;k[j+12>>2]=f;k[h>>2]=f;k[j+12+8>>2]=f+(g<<2)}f=(e&1)==0?c+1|0:k[c+8>>2]|0;k[j>>2]=f;k[j+4>>2]=f;k[j+8>>2]=f+g;if((g|0)<0){j=xf(8)|0;Rqb(j,432306);k[j>>2]=156212;Jc(j|0,9016,680)}a:do if(g|0){e=f+g|0;c=f;while(1){k[j+32>>2]=e;k[j+36>>2]=k[j+32>>2];Y5(j,j+36|0)|0;k[j+32>>2]=c;k[j+28>>2]=e;k[j+36>>2]=k[j+28>>2];e=Y5(j+32|0,j+36|0)|0;k[j+24>>2]=e;c=k[h>>2]|0;if(c>>>0<(k[j+12+8>>2]|0)>>>0){k[c>>2]=e;k[h>>2]=c+4}else jy(j+12|0,j+24|0);e=k[j+8>>2]|0;if(!((e|0)==(f+g|0)?(k[j+4>>2]|0)==(f|0):0))break;c=k[j>>2]|0;if((c|0)==(f+g|0))break a}j=xf(8)|0;Rqb(j,432338);Jc(j|0,9e3,680)}while(0);e=k[j+12>>2]|0;e=Ni[k[(k[a>>2]|0)+44>>2]&127](a,b,e,(k[h>>2]|0)-e>>2,d)|0;c=k[j+12>>2]|0;if(!c){r=j;return e|0}f=k[h>>2]|0;if((f|0)!=(c|0))k[h>>2]=f+(~((f+-4-c|0)>>>2)<<2);CAb(c);r=j;return e|0}function Y5(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+4>>2]=0;k[c>>2]=k[b>>2];k[c+8>>2]=k[c>>2];switch(Z5(a,c+8|0,c+4|0)|0){case 5:{a=xf(8)|0;c=k[c+4>>2]|0;k[a>>2]=23124;k[a+4>>2]=c;Jc(a|0,1792,228)}case 1:{c=xf(4)|0;k[c>>2]=23084;Jc(c|0,1760,228)}case 4:case 3:case 2:{c=xf(8)|0;a=i[k[a>>2]>>0]|0;k[c>>2]=23104;i[c+4>>0]=a;Jc(c|0,1776,228)}default:{r=c;return k[c+4>>2]|0}}return 0}function Z5(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0;j=k[a>>2]|0;h=i[j>>0]|0;do if(h<<24>>24>-1)if((j|0)==(k[b>>2]|0))b=1;else{f=1;g=j;b=h&255;l=24}else{if((h&224|0)==192){b=k[b>>2]|0;if((j|0)==(b|0)){b=1;break}k[a>>2]=j+1;if((j+1|0)==(b|0)){b=1;break}b=i[j+1>>0]|0;if((b&-64)<<24>>24!=-128){b=3;break}f=2;g=j+1|0;b=b&63|(h&255)<<6&1984;l=24;break}if((h&240|0)==224){b=k[b>>2]|0;if((j|0)==(b|0)){b=1;break}k[a>>2]=j+1;if((j+1|0)==(b|0)){b=1;break}d=i[j+1>>0]|0;if((d&-64)<<24>>24!=-128){b=3;break}k[a>>2]=j+2;if((j+2|0)==(b|0)){b=1;break}b=i[j+2>>0]|0;if((b&-64)<<24>>24!=-128){b=3;break}f=3;g=j+2|0;b=(d&255)<<6&4032|(h&255)<<12&61440|b&63;l=24;break}if((h&248|0)!=240){l=2;return l|0}b=k[b>>2]|0;if((j|0)==(b|0))b=1;else{k[a>>2]=j+1;if((j+1|0)==(b|0))b=1;else{d=i[j+1>>0]|0;if((d&-64)<<24>>24==-128){k[a>>2]=j+2;if((j+2|0)==(b|0))b=1;else{e=i[j+2>>0]|0;if((e&-64)<<24>>24==-128){k[a>>2]=j+3;if((j+3|0)==(b|0))b=1;else{b=i[j+3>>0]|0;if((b&-64)<<24>>24==-128){f=4;g=j+3|0;b=(d&255)<<12&258048|(h&255)<<18&1835008|(e&255)<<6&4032|b&63;l=24}else b=3}}else b=3}}else b=3}}}while(0);a:do if((l|0)==24)if(b>>>0<1114112&(b&-2048|0)!=55296){do if(b>>>0<128){if((f|0)!=1){b=4;break a}}else if(b>>>0<2048)if((f|0)==2)break;else{b=4;break a}else if((f|0)!=3&b>>>0<65536){b=4;break a}else break;while(0);k[c>>2]=b;k[a>>2]=g+1;l=0;return l|0}else b=5;while(0);k[a>>2]=j;l=b;return l|0}function _5(a){a=a|0;CAb(a);return}function $5(a){a=a|0;return 431595}function a6(a){a=a|0;CAb(a);return}function b6(a){a=a|0;return 431634}function c6(a){a=a|0;CAb(a);return}function d6(a){a=a|0;return 431676}function e6(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=kBb(56)|0;I6(a,b,c,d,e);return a|0}function f6(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=r;r=r+16|0;a=i[c>>0]|0;e=(a&1)==0?c+1|0:k[c+8>>2]|0;a=e+((a&1)==0?(a&255)>>>1:k[c+4>>2]|0)|0;k[d>>2]=e;k[d+4>>2]=a;k[d+8>>2]=k[d+4>>2];a=Y5(d,d+8|0)|0;a=gj[k[(k[b>>2]|0)+36>>2]&511](b,a)|0;r=d;return a|0}function g6(a,b,c){a=a|0;b=b|0;c=c|0;return gj[k[(k[b>>2]|0)+36>>2]&511](b,c)|0}function h6(a){a=a|0;k[a>>2]=23144;a=k[a+32>>2]|0;if(!a)return;oBb(a);return}function i6(a){a=a|0;var b=0;k[a>>2]=23144;b=k[a+32>>2]|0;if(!b){CAb(a);return}oBb(b);CAb(a);return}function j6(a){a=a|0;return k[a+32>>2]|0}function k6(a){a=a|0;var b=0,c=0;b=(k[a+36>>2]|0)==0;c=Gi[k[(k[a>>2]|0)+28>>2]&2047](a)|0;a=ha(Gi[k[(k[a>>2]|0)+24>>2]&2047](a)|0,c)|0;return a<<(b?1:2)|0}function l6(a){a=a|0;return k[a+12>>2]|0}function m6(a){a=a|0;return k[a+16>>2]|0}function n6(){var a=0,b=0,c=0,d=0,e=0;e=r;r=r+16|0;i[630028]=0;i[630040]=0;i[630052]=0;i[630064]=0;k[157517]=0;k[157518]=0;a=i[431718]|0;if(!(a<<24>>24))b=5381;else{c=431718;b=5381;do{c=c+1|0;b=(b*33|0)+(a<<24>>24)|0;a=i[c>>0]|0}while(a<<24>>24!=0)}a=b&3;if(!(i[630020+(a*12|0)+8>>0]|0)){b=a;a=630020+(a*12|0)+8|0;d=5}else{a=b+1&3;if(!(i[630020+(a*12|0)+8>>0]|0)){b=a;a=630020+(a*12|0)+8|0;d=5}else{a=b+2&3;if(!(i[630020+(a*12|0)+8>>0]|0)){b=a;a=630020+(a*12|0)+8|0;d=5}else{a=b+3&3;if(!(i[630020+(a*12|0)+8>>0]|0)){b=a;a=630020+(a*12|0)+8|0;d=5}}}}if((d|0)==5){i[a>>0]=1;k[630020+(b*12|0)>>2]=431718;k[630020+(b*12|0)+4>>2]=0}if(0>1){k[e>>2]=431718;k[e+4>>2]=0;Jpb(441170,e)|0}else k[157517]=431718;a=i[431733]|0;if(!(a<<24>>24))b=5381;else{c=431733;b=5381;do{c=c+1|0;b=(b*33|0)+(a<<24>>24)|0;a=i[c>>0]|0}while(a<<24>>24!=0)}a=b&3;if(!(i[630020+(a*12|0)+8>>0]|0)){b=a;a=630020+(a*12|0)+8|0;d=17}else{a=b+1&3;if(!(i[630020+(a*12|0)+8>>0]|0)){b=a;a=630020+(a*12|0)+8|0;d=17}else{a=b+2&3;if(!(i[630020+(a*12|0)+8>>0]|0)){b=a;a=630020+(a*12|0)+8|0;d=17}else{a=b+3&3;if(!(i[630020+(a*12|0)+8>>0]|0)){b=a;a=630020+(a*12|0)+8|0;d=17}}}}if((d|0)==17){i[a>>0]=1;k[630020+(b*12|0)>>2]=431733;k[630020+(b*12|0)+4>>2]=1}if(1>1){k[e+8>>2]=431733;k[e+8+4>>2]=1;Jpb(441170,e+8|0)|0;r=e;return}else{k[157518]=431733;r=e;return}}function o6(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Uj(a);k[a>>2]=23144;k[a+8>>2]=b;k[a+12>>2]=k[c>>2];k[a+12+4>>2]=k[c+4>>2];k[a+12+8>>2]=k[c+8>>2];k[a+12+12>>2]=k[c+12>>2];k[a+12+16>>2]=k[c+16>>2];k[a+32>>2]=0;k[a+36>>2]=d;b=k[a+16>>2]|0;if((b|0)<=0)return;c=k[a+12>>2]|0;if((c|0)<=0)return;b=ha(c,b)|0;if(!d){d=mBb((b|0)<0?-1:b<<1)|0;k[a+32>>2]=d;return}else{d=mBb((b|0)<0?-1:b<<2)|0;k[a+32>>2]=d;return}}function p6(a){a=a|0;return k[a+8>>2]|0}function q6(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;i[c>>0]=0;i[c+1>>0]=0;i[c+2>>0]=0;i[c+3>>0]=0;i[c+4>>0]=0;b=(r6(k[b+8>>2]|0,c)|0)-c|0;if((b|0)<0){Wqb(a,1279174,0);r=c;return}else{Wqb(a,c,b);r=c;return}}function r6(a,b){a=a|0;b=b|0;if(!(a>>>0<1114112&(a&-2048|0)!=55296)){b=xf(8)|0;k[b>>2]=23124;k[b+4>>2]=a;Jc(b|0,1792,228)}if(a>>>0<128){i[b>>0]=a;b=b+1|0;return b|0}if(a>>>0<2048){i[b>>0]=a>>>6|192;i[b+1>>0]=a&63|128;b=b+2|0;return b|0}if(a>>>0<65536){i[b>>0]=a>>>12|224;i[b+1>>0]=a>>>6&63|128;i[b+2>>0]=a&63|128;b=b+3|0;return b|0}else{i[b>>0]=a>>>18|240;i[b+1>>0]=a>>>12&63|128;i[b+2>>0]=a>>>6&63|128;i[b+3>>0]=a&63|128;b=b+4|0;return b|0}return 0}function s6(a){a=a|0;return k[a+20>>2]|0}function t6(a){a=a|0;return k[a+24>>2]|0}function u6(a){a=a|0;return k[a+28>>2]|0}function v6(a){a=a|0;return k[a+24>>2]|0}function w6(a){a=a|0;var b=0;b=Gi[k[(k[a>>2]|0)+24>>2]&2047](a)|0;return b-(k[a+28>>2]|0)|0}function x6(a){a=a|0;var b=0;b=k[a+24>>2]|0;return (Gi[k[(k[a>>2]|0)+28>>2]&2047](a)|0)+b|0}function y6(a){a=a|0;return k[a+28>>2]|0}function z6(a){a=a|0;return k[a+36>>2]|0}function A6(a,b){a=a|0;b=b|0;if(a>>>0>1)a=0;else{a=k[630068+(a<<2)>>2]|0;if(!a)a=0;else{k[b>>2]=a;a=1}}return a|0}function B6(a){a=a|0;var b=0;k[a>>2]=23184;C6(a+40|0,k[a+44>>2]|0);b=k[a+24>>2]|0;if(!b){K6(a);return}Si[k[(k[b>>2]|0)+12>>2]&1023](b);K6(a);return}function C6(a,b){a=a|0;b=b|0;if(!b)return;else{C6(a,k[b>>2]|0);C6(a,k[b+4>>2]|0);CAb(b);return}}function D6(a){a=a|0;var b=0;k[a>>2]=23184;C6(a+40|0,k[a+44>>2]|0);b=k[a+24>>2]|0;if(!b){K6(a);CAb(a);return}Si[k[(k[b>>2]|0)+12>>2]&1023](b);K6(a);CAb(a);return}function E6(a){a=a|0;return Gi[k[(k[a>>2]|0)+16>>2]&2047](a)|0}function F6(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0;n=r;r=r+48|0;d=k[a+44>>2]|0;if(!d){c=a+44|0;j=0;d=0}else{c=a+44|0;a:do{while(1){if((k[d+16>>2]|0)>>>0>=b>>>0){c=d;break}d=k[d+4>>2]|0;if(!d)break a}d=k[c>>2]|0}while((d|0)!=0);if((c|0)==(a+44|0)){c=a+44|0;j=0;d=0}else if((k[c+16>>2]|0)>>>0>b>>>0){c=a+44|0;j=0;d=0}else{d=k[c+24>>2]|0;j=d;d=(k[a+36>>2]|0)+d|0}}g=k[a+20>>2]|0;h=kBb(40)|0;k[n>>2]=g;k[n+4>>2]=j;k[n+8>>2]=d;k[n+12>>2]=0;k[n+12+4>>2]=0;k[n+20>>2]=k[n>>2];k[n+20+4>>2]=k[n+4>>2];k[n+20+8>>2]=k[n+8>>2];k[n+20+12>>2]=k[n+12>>2];k[n+20+16>>2]=k[n+16>>2];o6(h,b,n+20|0,1);if(!j){r=n;return h|0}aP(n+20|0,oia(k[a+24>>2]|0)|0);f=Gi[k[(k[h>>2]|0)+16>>2]&2047](h)|0;g=k[a+24>>2]|0;g=Gi[k[(k[g>>2]|0)+16>>2]&2047](g)|0;d=c+20|0;e=0;while(1){b=Gi[k[(k[h>>2]|0)+28>>2]&2047](h)|0;if((e|0)>=(ha(Gi[k[(k[h>>2]|0)+24>>2]&2047](h)|0,b)|0))break;b=k[d>>2]|0;b=g+(((e|0)%(j|0)|0)+b+(ha((e|0)/(j|0)|0,hia(k[a+24>>2]|0)|0)|0)<<2)|0;b=l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24;if((b&255)<<24>>24==(i[a+52>>0]|0))if((b>>>8&255)<<24>>24==(i[a+53>>0]|0))if((b>>>16&255)<<24>>24==(i[a+54>>0]|0)){c=f+(e<<2)|0;if((b>>>24&255)<<24>>24==(i[a+55>>0]|0)){i[c>>0]=0;i[c+1>>0]=0;i[c+2>>0]=0;i[c+3>>0]=0}else m=19}else m=16;else m=16;else m=16;if((m|0)==16){c=f+(e<<2)|0;m=19}if((m|0)==19){m=0;i[c>>0]=b&16777215|b>>>24<<24;i[c+1>>0]=(b&16777215|b>>>24<<24)>>8;i[c+2>>0]=(b&16777215|b>>>24<<24)>>16;i[c+3>>0]=(b&16777215|b>>>24<<24)>>24}e=e+1|0}cP(n+20|0);r=n;return h|0}function G6(a){a=a|0;return k[a+32>>2]|0}function H6(a,b){a=a|0;b=b|0;var c=0,d=0;d=k[a+44>>2]|0;if(d|0){c=a+44|0;a:do{while(1){if((k[d+16>>2]|0)>>>0>=b>>>0){c=d;break}d=k[d+4>>2]|0;if(!d)break a}d=k[c>>2]|0}while((d|0)!=0);if((c|0)!=(a+44|0))if((k[c+16>>2]|0)>>>0<=b>>>0){b=c;a=(b|0)!=(a+44|0);return a|0}}b=a+44|0;a=(b|0)!=(a+44|0);return a|0}function I6(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;Uj(a);k[a>>2]=23184;k[a+24>>2]=b;if(b|0)Si[k[(k[b>>2]|0)+8>>2]&1023](b);k[a+28>>2]=c;k[a+32>>2]=d;k[a+36>>2]=e;k[a+44>>2]=0;k[a+48>>2]=0;k[a+40>>2]=a+44;J6(a);return}function J6(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0;o=r;r=r+16|0;j=k[a+24>>2]|0;j=Gi[k[(k[j>>2]|0)+16>>2]&2047](j)|0;m=hia(k[a+24>>2]|0)|0;n=iia(k[a+24>>2]|0)|0;aP(o,oia(k[a+24>>2]|0)|0);k[a+20>>2]=n;n=l[j>>0]|l[j+1>>0]<<8|l[j+2>>0]<<16|l[j+3>>0]<<24;i[a+52>>0]=n;i[a+52+1>>0]=n>>8;i[a+52+2>>0]=n>>16;i[a+52+3>>0]=n>>24;if((k[a+32>>2]|0)<=0){cP(o);r=o;return}b=0;n=0;while(1){a:do if((b|0)<(m|0)){c=i[a+52>>0]|0;do{if((i[j+(b<<2)>>0]|0)!=c<<24>>24)break a;if((i[j+(b<<2)+1>>0]|0)!=(i[a+53>>0]|0))break a;if((i[j+(b<<2)+2>>0]|0)!=(i[a+54>>0]|0))break a;if((i[j+(b<<2)+3>>0]|0)!=(i[a+55>>0]|0))break a;b=b+1|0}while((b|0)<(m|0))}while(0);if((b|0)>=(m|0)){f=33;break}d=i[a+52>>0]|0;c=b;do{if((i[j+(c<<2)>>0]|0)==d<<24>>24)if((i[j+(c<<2)+1>>0]|0)==(i[a+53>>0]|0))if((i[j+(c<<2)+2>>0]|0)==(i[a+54>>0]|0))if((i[j+(c<<2)+3>>0]|0)==(i[a+55>>0]|0))break;c=c+1|0}while((c|0)<(m|0));if((c|0)<=(b|0)){f=33;break}h=(k[a+28>>2]|0)+(n<<2)|0;d=k[a+44>>2]|0;do if(!d){k[o+4>>2]=a+44;e=a+44|0;d=a+44|0;f=29}else{g=k[h>>2]|0;while(1){e=k[d+16>>2]|0;if(g>>>0>>0){e=k[d>>2]|0;if(!e){e=d;f=22;break}else d=e}else{if(e>>>0>=g>>>0){f=28;break}e=d+4|0;f=k[e>>2]|0;if(!f){f=26;break}else d=f}}if((f|0)==22){k[o+4>>2]=d;f=29;break}else if((f|0)==26){k[o+4>>2]=d;f=29;break}else if((f|0)==28){f=0;k[o+4>>2]=d;if(!d){e=o+4|0;f=29;break}else break}}while(0);if((f|0)==29){f=kBb(28)|0;k[f+16>>2]=k[h>>2];k[f+20>>2]=0;k[f+20+4>>2]=0;k[f>>2]=0;k[f+4>>2]=0;k[f+8>>2]=d;k[e>>2]=f;d=k[k[a+40>>2]>>2]|0;if(!d)d=f;else{k[a+40>>2]=d;d=k[e>>2]|0}Qj(k[a+44>>2]|0,d);k[a+48>>2]=(k[a+48>>2]|0)+1;d=f}k[d+20>>2]=b;k[d+24>>2]=c-b;n=n+1|0;if((n|0)>=(k[a+32>>2]|0)){f=33;break}else b=c}if((f|0)==33){cP(o);r=o;return}}function K6(a){a=a|0;return}function L6(a){a=a|0;return k[a+20>>2]|0}function M6(a){a=a|0;return k[a+8>>2]|0}function N6(a){a=a|0;return k[a+12>>2]|0}function O6(a){a=a|0;return k[a+16>>2]|0}function P6(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=r;r=r+16|0;e=i[b>>0]|0;d=(e&1)==0?b+1|0:k[b+8>>2]|0;b=d+((e&1)==0?(e&255)>>>1:k[b+4>>2]|0)|0;k[c>>2]=d;k[c+4>>2]=b;k[c+8>>2]=k[c+4>>2];b=Y5(c,c+8|0)|0;a=gj[k[(k[a>>2]|0)+36>>2]&511](a,b)|0;r=c;return a|0}function Q6(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=r;r=r+32|0;c=i[b>>0]|0;e=(c&1)==0?(c&255)>>>1:k[b+4>>2]|0;if(!e){r=f;return 0}c=(c&1)==0?b+1|0:k[b+8>>2]|0;k[f>>2]=c;k[f+4>>2]=c;k[f+8>>2]=c+e;if((e|0)<0){f=xf(8)|0;Rqb(f,432306);k[f>>2]=156212;Jc(f|0,9016,680)}d=c+e|0;while(1){b=k[f>>2]|0;if((b|0)==(c+e|0)){c=1;b=9;break}k[f+16>>2]=d;k[f+20>>2]=k[f+16>>2];Y5(f,f+20|0)|0;k[f+16>>2]=b;k[f+12>>2]=d;k[f+20>>2]=k[f+12>>2];d=Y5(f+16|0,f+20|0)|0;if(!(gj[k[(k[a>>2]|0)+48>>2]&511](a,d)|0)){c=0;b=9;break}d=k[f+8>>2]|0;if(!((d|0)==(c+e|0)?(k[f+4>>2]|0)==(c|0):0)){b=5;break}}if((b|0)==5){f=xf(8)|0;Rqb(f,432338);Jc(f|0,9e3,680)}else if((b|0)==9){r=f;return c|0}return 0}function R6(a,b,c){a=a|0;b=b|0;c=c|0;return 0.0}function S6(){i[630084]=0;i[630096]=0;i[630108]=0;i[630120]=0;i[630132]=0;i[630144]=0;i[630156]=0;i[630168]=0;k[157543]=0;k[157544]=0;k[157545]=0;k[157546]=0;T6(630076,518168,0)|0;T6(630076,431793,1)|0;T6(630076,431799,2)|0;T6(630076,522435,3)|0;return}function T6(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=r;r=r+16|0;d=i[b>>0]|0;if(!(d<<24>>24))e=5381;else{f=b;e=5381;do{f=f+1|0;e=(e*33|0)+(d<<24>>24)|0;d=i[f>>0]|0}while(d<<24>>24!=0)}d=e&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+1&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+2&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+3&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+4&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+5&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+6&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+7&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else d=0}}}}}}}if((g|0)==5){i[d>>0]=1;k[a+(e*12|0)>>2]=b;k[a+(e*12|0)+4>>2]=c;d=1}if(c>>>0>3){k[h>>2]=b;k[h+4>>2]=c;Jpb(441170,h)|0;g=0;r=h;return g|0}else{k[a+96+(c<<2)>>2]=b;g=d;r=h;return g|0}return 0}function U6(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0;c=i[a>>0]|0;if(!(c<<24>>24))d=5381;else{e=a;d=5381;do{e=e+1|0;d=(d*33|0)+(c<<24>>24)|0;c=i[e>>0]|0}while(c<<24>>24!=0)}h=0;while(1){g=h+d&7;if(!(i[630076+(g*12|0)+8>>0]|0)){c=1;d=0;j=11;break}e=k[630076+(g*12|0)>>2]|0;f=i[e>>0]|0;a:do if(!(f<<24>>24)){c=a;j=8}else{c=a;while(1){l=i[c>>0]|0;if(!(l<<24>>24?f<<24>>24==l<<24>>24:0))break a;e=e+1|0;c=c+1|0;f=i[e>>0]|0;if(!(f<<24>>24)){j=8;break}}}while(0);if((j|0)==8){j=0;if(!(i[c>>0]|0)){j=9;break}}h=h+1|0;if(h>>>0>=8){c=0;d=0;j=11;break}}if((j|0)==9){k[b>>2]=k[630076+(g*12|0)+4>>2];j=1;l=1;l=j&l;return l|0}else if((j|0)==11){l=c&d;return l|0}return 0}function V6(a){a=a|0;var b=0,c=0;k[a>>2]=23252;k[a+120>>2]=23324;k[157552]=(k[157552]|0)+-1;if((k[157547]|0)==(a|0)){W6(a,0);b=k[a>>2]|0}else b=23252;Si[k[b+60>>2]&1023](a);c=k[a+152>>2]|0;if(!c){Oga(a+120|0);UC(a);return}b=k[a+156>>2]|0;if((b|0)!=(c|0))k[a+156>>2]=b+(~((b+-4-c|0)>>>2)<<2);CAb(c);Oga(a+120|0);UC(a);return}function W6(a,b){a=a|0;b=b|0;var c=0,d=0;if((k[157547]|0)!=(a|0))return;do if(k[a+128>>2]|0)if(k[a+136>>2]|0){d=k[a+8>>2]|0;c=k[a+12>>2]|0;vda(631144,36008,k[a+124>>2]|0);vda(631144,36009,k[a+128>>2]|0);if(!(i[1249142]|0)){fj[k[163794]&0](0,0,d,c,0,0,d,c,16384,9728);break}else{rj[k[165398]&15]();break}}while(0);c=k[157790]|0;d=c;do{k[157790]=d+-64;d=k[157790]|0}while((d|0)!=(c+-64|0));if(b)return;vda(631144,36160,wda(631144)|0);k[157547]=0;oda(631144,630192);if(!((i[1249076]|i[1248930])<<24>>24))return;do if(i[1248831]|0)if(uda(631144)|0){if(!(i[1248831]|0))break;return}else{tda(631144,1);return}while(0);if(!(uda(631144)|0))return;tda(631144,0);return}function X6(a){a=a|0;V6(a);CAb(a);return}function Y6(a,b,c,d,e,f,g,h,i,j){a=a|0;b=+b;c=+c;d=+d;e=+e;f=+f;g=+g;h=+h;i=+i;j=+j;var k=0;k=r;r=r+64|0;Tua(k,b,c,d,e,f,g,h,i,j);Z6(a,k,a+40|0);r=k;return}function Z6(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;if((k[157547]|0)==(a|0)){c=xf(16)|0;os(c,431835,d);Jc(c|0,96,27)}else{hda(631144);Wua(kda(631144)|0,b);gda(631144,k[a+132>>2]|0);eda(631144,3);Ti[k[164011]&63](0,2,5126,0,20,c);Ti[k[164011]&63](1,2,5126,0,20,c+8|0);lda(631144);mda(631144,5,0,4);jda(631144);r=d;return}}function _6(a,b,c,d,e,f,g,h,i,j,k){a=a|0;b=b|0;c=+c;d=+d;e=+e;f=+f;g=+g;h=+h;i=+i;j=+j;k=+k;var l=0;l=r;r=r+64|0;Tua(l,c,d,e,f,g,h,i,j,k);Z6(a,l,TC(b)|0);r=l;return}function $6(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;if(fD(b,0)|0){k[a+16>>2]=k[b>>2];k[a+16+4>>2]=k[b+4>>2];k[a+16+8>>2]=k[b+8>>2];k[a+16+12>>2]=k[b+12>>2];gda(631144,k[a+132>>2]|0);Bda(631144,a+16|0);r=c;return}else{a=xf(16)|0;os(a,437040,c);Jc(a|0,96,27)}}function a7(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=k[b>>2]|0;b=k[b+4>>2]|0;k[a+32>>2]=c;k[a+32+4>>2]=b;do if((i[1248948]|0)==0?1:(i[1249114]|i[1248949])<<24>>24!=0)b=1;else{e=k[a+8>>2]|0;d=e+-1+((e|0)==0&1)>>1|e+-1+((e|0)==0&1);d=((d>>2|d)>>4|(d>>2|d))>>8|((d>>2|d)>>4|(d>>2|d));if((e|0)==((d>>16|d)+1|0)){d=k[a+12>>2]|0;e=d+-1+((d|0)==0&1)>>1|d+-1+((d|0)==0&1);e=((e>>2|e)>>4|(e>>2|e))>>8|((e>>2|e)>>4|(e>>2|e));if((d|0)==((e>>16|e)+1|0)){b=1;break}}k[a+36>>2]=0;k[a+32>>2]=0;b=(c|0)==0&(b>>>0<1|(b|0)==1&c>>>0<0)}while(0);if(!(Dda(631144)|0)){if((k[a+32>>2]|0)==1)k[a+32>>2]=0;if((k[a+36>>2]|0)==1)k[a+36>>2]=0}gda(631144,k[a+132>>2]|0);Cda(631144,a+32|0);return b|0}function b7(a){a=a|0;return a+132|0}function c7(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;g=r;r=r+16|0;k[a+124>>2]=0;k[a+124+4>>2]=0;k[a+124+8>>2]=0;k[a+124+12>>2]=0;k[a+124+16>>2]=0;k[a+148>>2]=36053;f=k[a+8>>2]|0;if((f|0)<=(Eda(631144)|0)){f=k[a+12>>2]|0;if((f|0)<=(Eda(631144)|0)){e=Gda(631144)|0;f=k[a+164>>2]|0;f=(e|0)<(f|0)?e:f;k[a+164>>2]=(f|0)<0?0:f;Di[k[163991]&511](1,a+132|0);gda(631144,k[a+132>>2]|0);if(i[1249135]|0)kj[k[164177]&255](3553,37794,37795);Di[k[(k[a>>2]|0)+32>>2]&511](a,a+16|0);gj[k[(k[a>>2]|0)+40>>2]&511](a,a+32|0)|0;b=k[a+144>>2]|0;switch(b|0){case 0:{if(LA()|0)f=26;else{b=((i[1248948]|0)==0?1:(i[1249107]|i[1248949]|i[1249149])<<24>>24!=0)?7:2;f=9}break}case 1:{f=21;break}default:f=9}a:do if((f|0)==9)do switch(b|0){case 2:{c=6408;d=32854;e=32819;break a}case 16:{f=26;break a}case 12:{f=21;break a}case 3:{c=6408;d=32855;e=32820;break a}case 4:{c=6407;d=36194;e=33635;break a}case 5:{c=6403;d=33321;e=5121;break a}case 6:{c=33319;d=33323;e=5121;break a}case 8:{c=6408;d=32857;e=33640;break a}case 9:{c=6407;d=35898;e=35899;break a}case 10:{if(i[1249113]|0){c=6403;d=33325;e=36193;break a}c=6403;d=33325;e=(i[1248930]|0)==0?5131:5126;break a}case 11:{if(i[1249113]|0){c=33319;d=33327;e=36193;break a}c=33319;d=33327;e=(i[1248930]|0)==0?5131:5126;break a}case 13:{c=6403;d=33326;e=5126;break a}case 14:{c=33319;d=33328;e=5126;break a}case 15:{c=6408;d=34836;e=5126;break a}default:{c=6408;d=32856;e=5121;break a}}while(0);while(0);if((f|0)==21)if(!(i[1249113]|0)){c=6408;d=34842;e=(i[1248930]|0)==0?5131:5126}else{c=6408;d=34842;e=36193}else if((f|0)==26){c=(i[1248948]|0)==0|(i[1248949]|0)!=0?6408:35906;d=35907;e=5121}b=(i[1248948]|0)==0|(i[1248949]|0)!=0;do{}while((oj[k[164640]&7]()|0)!=0);ej[k[164671]&15](3553,0,b?d:c,k[a+8>>2]|0,k[a+12>>2]|0,0,c,e,0);if(oj[k[164640]&7]()|0){Ada(631144,k[a+132>>2]|0);k[a+132>>2]=0;k[a+148>>2]=36054;a=0;r=g;return a|0}if(d7(a,d)|0)b=k[a+148>>2]|0;else{b=k[a+132>>2]|0;Di[k[164656]&511](36006,g);Di[k[163866]&511](1,a+124|0);vda(631144,36160,k[a+124>>2]|0);if(b|0){Bi[k[163846]&15](36160,36064,3553,b,0);pj[k[164464]&3](0.0,0.0,0.0,0.0);Si[k[163837]&1023](16384)}b=Gi[k[164567]&2047](36160)|0;vda(631144,36160,k[g>>2]|0);k[a+148>>2]=b}if((b|0)!=36053){if(!(k[a+124>>2]|0)){a=0;r=g;return a|0}Di[k[163827]&511](1,a+124|0);k[a+124>>2]=0;a=0;r=g;return a|0}c=k[a+172>>2]|0;b=k[a+144>>2]|0;switch(b|0){case 0:{if(LA()|0)f=44;else{b=((i[1248948]|0)==0?1:(i[1249107]|i[1248949]|i[1249149])<<24>>24!=0)?7:2;f=42}break}case 1:{f=45;break}default:f=42}b:do if((f|0)==42)switch(b|0){case 5:{b=8;break b}case 12:case 14:{f=45;break b}case 10:case 6:case 4:case 3:case 2:{b=16;break b}case 15:{b=128;break b}default:{f=44;break b}}while(0);if((f|0)==44)b=32;else if((f|0)==45)b=64;b=ha(k[a+8>>2]|0,b)|0;b=(ha(b,k[a+12>>2]|0)|0)>>>3;k[a+172>>2]=b;if(k[a+136>>2]|0){b=(ha(k[a+168>>2]|0,b)|0)+b|0;k[a+172>>2]=b}Ida(631144,c,b);a=1;r=g;return a|0}}k[a+148>>2]=36054;a=0;r=g;return a|0}function d7(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=r;r=r+16|0;d=k[a+164>>2]|0;k[a+168>>2]=d;if((d|0)<2){k[a+168>>2]=0;e=0;r=f;return e|0}Di[k[164656]&511](36006,f);Di[k[163866]&511](1,a+124|0);vda(631144,36160,k[a+124>>2]|0);c=Gi[k[164567]&2047](36160)|0;vda(631144,36160,k[f>>2]|0);k[a+148>>2]=c;c=wda(631144)|0;d=k[157547]|0;if((d|0)==(a|0))d=c;else{if(d)c=k[d+124>>2]|0;vda(631144,36160,k[a+124>>2]|0);d=c}g=k[a+8>>2]|0;c=k[a+12>>2]|0;Di[k[163745]&511](1,a+136|0);Di[k[164343]&511](36161,k[a+136>>2]|0);Bi[k[164367]&15](36161,k[a+168>>2]|0,b,g,c);vj[k[163699]&127](36160,36064,36161,k[a+136>>2]|0);kj[k[163953]&255](36161,36011,a+168|0);Di[k[164343]&511](36161,0);c=Gi[k[164567]&2047](36160)|0;if((c|0)==36053){pj[k[164464]&3](0.0,0.0,0.0,0.0);Si[k[163837]&1023](16384);k[a+148>>2]=36053;c=k[a+132>>2]|0;Di[k[164656]&511](36006,f);Di[k[163866]&511](1,a+128|0);vda(631144,36160,k[a+128>>2]|0);if(c|0){Bi[k[163846]&15](36160,36064,3553,c,0);pj[k[164464]&3](0.0,0.0,0.0,0.0);Si[k[163837]&1023](16384)}g=Gi[k[164567]&2047](36160)|0;vda(631144,36160,k[f>>2]|0);k[a+148>>2]=g;if((g|0)!=36053){c=a+128|0;e=12}}else{Di[k[164005]&511](1,a+136|0);k[a+136>>2]=0;k[a+148>>2]=c;c=a+128|0;e=12}if((e|0)==12){Di[k[163827]&511](1,a+124|0);Di[k[163827]&511](1,c);Di[k[164005]&511](1,a+136|0);k[c>>2]=0;k[a+136>>2]=0;k[a+124>>2]=0;k[a+168>>2]=0}if((k[157547]|0)!=(a|0))vda(631144,36160,d);g=(k[a+148>>2]|0)==36053;r=f;return g|0}function e7(a){a=a|0;var b=0,c=0;Di[k[163827]&511](1,a+124|0);Di[k[163827]&511](1,a+128|0);Di[k[164005]&511](1,a+140|0);Di[k[164005]&511](1,a+136|0);Ada(631144,k[a+132>>2]|0);k[a+124>>2]=0;k[a+124+4>>2]=0;k[a+124+8>>2]=0;k[a+124+12>>2]=0;k[a+124+16>>2]=0;b=k[a+152>>2]|0;c=k[a+156>>2]|0;if((c|0)==(b|0)){a=a+172|0;c=k[a>>2]|0;Ida(631144,c,0);k[a>>2]=0;return}k[a+156>>2]=c+(~((c+-4-b|0)>>>2)<<2);a=a+172|0;c=k[a>>2]|0;Ida(631144,c,0);k[a>>2]=0;return}function f7(a){a=a|0;V6(a+-120|0);return}function g7(a){a=a|0;V6(a+-120|0);CAb(a+-120|0);return}function h7(a){a=a|0;return c7(a+-120|0)|0}function i7(a){a=a|0;var b=0,c=0;b=a+-120+124|0;Di[k[163827]&511](1,b);Di[k[163827]&511](1,a+-120+128|0);Di[k[164005]&511](1,a+-120+140|0);Di[k[164005]&511](1,a+-120+136|0);Ada(631144,k[a+-120+132>>2]|0);k[b>>2]=0;k[b+4>>2]=0;k[b+8>>2]=0;k[b+12>>2]=0;k[b+16>>2]=0;b=k[a+-120+152>>2]|0;c=k[a+-120+156>>2]|0;if((c|0)==(b|0)){a=a+-120+172|0;c=k[a>>2]|0;Ida(631144,c,0);k[a>>2]=0;return}k[a+-120+156>>2]=c+(~((c+-4-b|0)>>>2)<<2);a=a+-120+172|0;c=k[a>>2]|0;Ida(631144,c,0);k[a>>2]=0;return}function j7(){k7(630212,23340,136);return}function k7(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0;m=r;r=r+16|0;i[a+8>>0]=0;i[a+20>>0]=0;i[a+32>>0]=0;i[a+44>>0]=0;i[a+56>>0]=0;i[a+68>>0]=0;i[a+80>>0]=0;i[a+92>>0]=0;i[a+104>>0]=0;i[a+116>>0]=0;i[a+128>>0]=0;i[a+140>>0]=0;i[a+152>>0]=0;i[a+164>>0]=0;i[a+176>>0]=0;i[a+188>>0]=0;i[a+200>>0]=0;i[a+212>>0]=0;i[a+224>>0]=0;i[a+236>>0]=0;i[a+248>>0]=0;i[a+260>>0]=0;i[a+272>>0]=0;i[a+284>>0]=0;i[a+296>>0]=0;i[a+308>>0]=0;i[a+320>>0]=0;i[a+332>>0]=0;i[a+344>>0]=0;i[a+356>>0]=0;i[a+368>>0]=0;i[a+380>>0]=0;i[a+392>>0]=0;i[a+404>>0]=0;d=a+408|0;e=d+68|0;do{k[d>>2]=0;d=d+4|0}while((d|0)<(e|0));if(!(c>>>3)){r=m;return}else j=0;do{g=k[b+(j<<3)>>2]|0;h=k[b+(j<<3)+4>>2]|0;d=i[g>>0]|0;if(!(d<<24>>24))e=5381;else{f=g;e=5381;do{f=f+1|0;e=(e*33|0)+(d<<24>>24)|0;d=i[f>>0]|0}while(d<<24>>24!=0)}f=0;do{d=((f+e|0)>>>0)%34|0;f=f+1|0;if(!(i[a+(d*12|0)+8>>0]|0)){l=8;break}}while(f>>>0<34);if((l|0)==8){l=0;i[a+(d*12|0)+8>>0]=1;k[a+(d*12|0)>>2]=g;k[a+(d*12|0)+4>>2]=h}if(h>>>0>16){k[m>>2]=g;k[m+4>>2]=h;Jpb(441170,m)|0}else k[a+408+(h<<2)>>2]=g;j=j+1|0}while((j|0)!=(c>>>3|0));r=m;return}function l7(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;cD(a);Sga(a+120|0);k[a>>2]=23252;k[a+120>>2]=23324;k[a+124>>2]=0;k[a+124+4>>2]=0;k[a+124+8>>2]=0;k[a+124+12>>2]=0;k[a+124+16>>2]=0;k[a+144>>2]=d;k[a+152>>2]=0;k[a+156>>2]=0;k[a+160>>2]=0;k[a+164>>2]=e;k[a+168>>2]=0;k[a+172>>2]=0;k[a+8>>2]=b;k[a+12>>2]=c;o[a+40>>2]=0.0;o[a+44>>2]=0.0;o[a+60>>2]=0.0;o[a+64>>2]=+(c|0);o[a+80>>2]=+(b|0);o[a+84>>2]=0.0;o[a+100>>2]=+(b|0);o[a+104>>2]=+(c|0);o[a+48>>2]=0.0;o[a+52>>2]=0.0;o[a+68>>2]=0.0;o[a+72>>2]=1.0;o[a+88>>2]=1.0;o[a+92>>2]=0.0;o[a+108>>2]=1.0;o[a+112>>2]=1.0;c7(a)|0;k[157552]=(k[157552]|0)+1;return}function m7(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+96|0;b=k[157547]|0;if((b|0)==(a|0)){r=d;return}if(!b){qda(d+80|0,631144);k[157548]=k[d+80>>2];k[157549]=k[d+80+4>>2];k[157550]=k[d+80+8>>2];k[157551]=k[d+80+12>>2]}else W6(b,1);k[157547]=a;vda(631144,36160,k[a+124>>2]|0);k[d+64>>2]=0;k[d+64+4>>2]=0;k[d+64+8>>2]=k[a+8>>2];k[d+64+12>>2]=k[a+12>>2];oda(631144,d+64|0);bva(d,0.0,+(k[a+8>>2]|0),0.0,+(k[a+12>>2]|0));b=k[157790]|0;if(b>>>0<(k[157791]|0)>>>0){a=d;c=b+64|0;do{k[b>>2]=k[a>>2];b=b+4|0;a=a+4|0}while((b|0)<(c|0));k[157790]=(k[157790]|0)+64}else n7(631156,d);r=d;return}function n7(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;i=k[a>>2]|0;d=((k[a+4>>2]|0)-i>>6)+1|0;if(d>>>0>67108863)xzb(a);c=(k[a+8>>2]|0)-i|0;if(c>>6>>>0<33554431){d=c>>5>>>0>>0?d:c>>5;c=k[a+4>>2]|0;if(!d){g=0;f=0;d=c-i>>6}else{e=c;c=c-i>>6;h=6}}else{c=k[a+4>>2]|0;d=67108863;e=c;c=c-i>>6;h=6}if((h|0)==6){g=d;f=kBb(d<<6)|0;d=c;c=e}h=f+(d<<6)|0;g=f+(g<<6)|0;f=h;e=f+64|0;do{k[f>>2]=k[b>>2];f=f+4|0;b=b+4|0}while((f|0)<(e|0));if((c|0)==(i|0)){d=h;b=i}else{b=h;d=h;do{c=c+-64|0;f=b+-64|0;b=c;e=f+64|0;do{k[f>>2]=k[b>>2];f=f+4|0;b=b+4|0}while((f|0)<(e|0));b=d+-64|0;d=b}while((c|0)!=(i|0));b=k[a>>2]|0;c=k[a+4>>2]|0}k[a>>2]=d;k[a+4>>2]=h+64;k[a+8>>2]=g;d=b;if((c|0)!=(d|0))do c=c+-64|0;while((c|0)!=(d|0));if(!b)return;CAb(b);return}function o7(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0;t=r;r=r+64|0;g=((k[b+4>>2]|0)-(k[b>>2]|0)|0)!=((k[a+156>>2]|0)-(k[a+152>>2]|0)|0);d=k[a+144>>2]|0;switch(d|0){case 0:{if(LA()|0)d=16;else d=((i[1248948]|0)==0?1:(i[1249107]|i[1248949]|i[1249149])<<24>>24!=0)?7:2;break}case 1:{d=12;break}default:{}}f=(d|0)==16;d=(k[b+4>>2]|0)-(k[b>>2]|0)>>2;if(d|0){if((d|0)>=(Fda(631144)|0)){a=xf(16)|0;k[t>>2]=((k[b+4>>2]|0)-(k[b>>2]|0)>>2)+1;os(a,431958,t);Jc(a|0,96,27)}if(k[a+168>>2]|0){a=xf(16)|0;os(a,432014,t+8|0);Jc(a|0,96,27)}}if((Fda(631144)|0)>1)if(!((i[1248938]|i[1248949])<<24>>24))d=(i[1248980]|0)!=0;else d=1;else d=0;e=k[b>>2]|0;a:do if((k[b+4>>2]|0)==(e|0)){o=g;p=f}else{if(d){h=0;while(1){e=k[e+(h<<2)>>2]|0;e=Gi[k[(k[e>>2]|0)+24>>2]&2047](e)|0;if((e|0)!=(k[a+8>>2]|0)){s=28;break}e=k[(k[b>>2]|0)+(h<<2)>>2]|0;e=Gi[k[(k[e>>2]|0)+28>>2]&2047](e)|0;if((e|0)!=(k[a+12>>2]|0)){s=28;break}e=k[(k[b>>2]|0)+(h<<2)>>2]|0;d=k[e+144>>2]|0;if(k[e+168>>2]|0){s=32;break}if(g)g=1;else g=(e|0)!=(k[(k[a+152>>2]|0)+(h<<2)>>2]|0);switch(d|0){case 0:{if(LA()|0)d=16;else d=((i[1248948]|0)==0?1:(i[1249107]|i[1248949]|i[1249149])<<24>>24!=0)?7:2;break}case 1:{d=12;break}default:{}}d=f|(d|0)==16;h=h+1|0;e=k[b>>2]|0;if(h>>>0>=(k[b+4>>2]|0)-e>>2>>>0){o=g;p=d;break a}else f=d}if((s|0)==28){a=xf(16)|0;os(a,432065,t+16|0);Jc(a|0,96,27)}else if((s|0)==32){a=xf(16)|0;os(a,432014,t+32|0);Jc(a|0,96,27)}}else{j=e;l=g;m=f;n=0}while(1){j=k[j+(n<<2)>>2]|0;j=Gi[k[(k[j>>2]|0)+24>>2]&2047](j)|0;if((j|0)!=(k[a+8>>2]|0)){s=28;break}j=k[(k[b>>2]|0)+(n<<2)>>2]|0;j=Gi[k[(k[j>>2]|0)+28>>2]&2047](j)|0;if((j|0)!=(k[a+12>>2]|0)){s=28;break}e=k[(k[b>>2]|0)+(n<<2)>>2]|0;d=k[e+144>>2]|0;if((d|0)!=(k[a+144>>2]|0)){s=30;break}if(k[e+168>>2]|0){s=32;break}if(l)e=1;else e=(e|0)!=(k[(k[a+152>>2]|0)+(n<<2)>>2]|0);switch(d|0){case 0:{if(LA()|0)d=16;else d=((i[1248948]|0)==0?1:(i[1249107]|i[1248949]|i[1249149])<<24>>24!=0)?7:2;break}case 1:{d=12;break}default:{}}d=m|(d|0)==16;n=n+1|0;j=k[b>>2]|0;if(n>>>0>=(k[b+4>>2]|0)-j>>2>>>0){o=e;p=d;break a}else{l=e;m=d}}if((s|0)==28){a=xf(16)|0;os(a,432065,t+16|0);Jc(a|0,96,27)}else if((s|0)==30){a=xf(16)|0;os(a,432109,t+24|0);Jc(a|0,96,27)}else if((s|0)==32){a=xf(16)|0;os(a,432014,t+32|0);Jc(a|0,96,27)}}while(0);m7(a);do if((i[1249076]|i[1248930])<<24>>24){d=uda(631144)|0;if(p){if(d)break;tda(631144,1);break}else{if(!d)break;tda(631144,0);break}}while(0);if(!o){r=t;return}k[t+44>>2]=0;g=t+44+4|0;k[g>>2]=0;k[t+44+8>>2]=0;d=k[b+4>>2]|0;e=k[b>>2]|0;if(!((d-e>>2)+1|0)){k[t+40>>2]=36064;s=50}else{f=kBb((d-e>>2)+1<<2)|0;k[t+44>>2]=f;k[g>>2]=f;k[t+44+8>>2]=f+((d-e>>2)+1<<2);k[t+40>>2]=36064;if(f>>>0<(f+((d-e>>2)+1<<2)|0)>>>0){k[f>>2]=36064;k[g>>2]=f+4;c=e;q=d}else s=50}if((s|0)==50){jy(t+44|0,t+40|0);c=k[b>>2]|0;q=k[b+4>>2]|0}if((q-c|0)>0){e=0;do{d=e+36065|0;c=k[c+(e<<2)>>2]|0;c=Gi[k[(k[c>>2]|0)+52>>2]&2047](c)|0;Bi[k[163846]&15](36160,d,3553,k[c>>2]|0,0);k[t+36>>2]=d;c=k[g>>2]|0;if(c>>>0<(k[t+44+8>>2]|0)>>>0){k[c>>2]=d;k[g>>2]=c+4}else jy(t+44|0,t+36|0);e=e+1|0;c=k[b>>2]|0}while((e|0)<((k[b+4>>2]|0)-c>>2|0))}s=k[t+44>>2]|0;Di[k[164115]&511]((k[g>>2]|0)-s>>2,s);if((a+152|0)!=(b|0))p7(a+152|0,k[b>>2]|0,k[b+4>>2]|0);c=k[t+44>>2]|0;if(c|0){d=k[g>>2]|0;if((d|0)!=(c|0))k[g>>2]=d+(~((d+-4-c|0)>>>2)<<2);CAb(c)}r=t;return}function p7(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=k[a+8>>2]|0;f=k[a>>2]|0;if(c-b>>2>>>0<=d-f>>2>>>0){d=(k[a+4>>2]|0)-f>>2;e=c-b>>2>>>0>d>>>0?b+(d<<2)|0:c;BBb(f|0,b|0,e-b|0)|0;if(c-b>>2>>>0<=d>>>0){d=k[a+4>>2]|0;if((d|0)==(f+(e-b>>2<<2)|0))return;k[a+4>>2]=d+(~((d+-4-(f+(e-b>>2<<2))|0)>>>2)<<2);return}if((e|0)==(c|0))return;d=b+(d<<2)|0;b=k[a+4>>2]|0;do{k[b>>2]=k[d>>2];b=(k[a+4>>2]|0)+4|0;k[a+4>>2]=b;d=d+4|0}while((d|0)!=(c|0));return}if(f){d=k[a+4>>2]|0;if((d|0)!=(f|0))k[a+4>>2]=d+(~((d+-4-f|0)>>>2)<<2);CAb(f);k[a+8>>2]=0;k[a+4>>2]=0;k[a>>2]=0;d=0}if(c-b>>2>>>0>1073741823)xzb(a);d=d-0|0;if(d>>2>>>0<536870911){d=d>>1>>>0>2>>>0?c-b>>2:d>>1;if(d>>>0>1073741823)xzb(a);else e=d}else e=1073741823;d=kBb(e<<2)|0;k[a+4>>2]=d;k[a>>2]=d;k[a+8>>2]=d+(e<<2);if((b|0)==(c|0))return;do{k[d>>2]=k[b>>2];d=(k[a+4>>2]|0)+4|0;k[a+4>>2]=d;b=b+4|0}while((b|0)!=(c|0));return}function q7(a){a=a|0;switch(a|0){case 0:{if(LA()|0){a=16;return a|0}a=((i[1248948]|0)==0?1:(i[1249107]|i[1248949]|i[1249149])<<24>>24!=0)?7:2;return a|0}case 1:{a=12;return a|0}default:return a|0}return 0}function r7(){var a=0;if((Fda(631144)|0)<=1){a=0;return a|0}if((i[1248938]|i[1248949])<<24>>24){a=1;return a|0}a=(i[1248980]|0)!=0;return a|0}function s7(a){a=a|0;var b=0,c=0;m7(a);do if((i[1249076]|i[1248930])<<24>>24){switch(k[a+144>>2]|0){case 0:{if(LA()|0)b=4;else b=6;break}case 16:{b=4;break}default:b=6}if((b|0)==4){if(uda(631144)|0)break;tda(631144,1);break}else if((b|0)==6){if(!(uda(631144)|0))break;tda(631144,0);break}}while(0);if((k[a+156>>2]|0)==(k[a+152>>2]|0))return;Si[k[163937]&1023](36064);b=k[a+152>>2]|0;c=k[a+156>>2]|0;if((c|0)==(b|0))return;k[a+156>>2]=c+(~((c+-4-b|0)>>>2)<<2);return}function t7(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(k[a+140>>2]|0){a=1;return a|0}if((k[157547]|0)!=(a|0))vda(631144,36160,k[a+124>>2]|0);c=(i[1248938]|i[1248949]|i[1248980]|i[1249064]|i[1249105])<<24>>24==0;b=c?36168:35056;Di[k[163745]&511](1,a+140|0);Di[k[164343]&511](36161,k[a+140>>2]|0);d=k[a+164>>2]|0;e=k[a+8>>2]|0;f=k[a+12>>2]|0;if((d|0)>1)Bi[k[164367]&15](36161,d,b,e,f);else vj[k[163773]&127](36161,b,e,f);vj[k[163699]&127](36160,c?36128:33306,36161,k[a+140>>2]|0);Di[k[164343]&511](36161,0);b=(Gi[k[164567]&2047](36160)|0)==36053;if(b)Si[k[163837]&1023](1280);else{Di[k[164005]&511](1,a+140|0);k[a+140>>2]=0}c=k[157547]|0;if((c|0)!=0&(c|0)!=(a|0)){vda(631144,36160,k[c+124>>2]|0);a=b;return a|0}if(c|0){a=b;return a|0}vda(631144,36160,wda(631144)|0);a=b;return a|0}function u7(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,l=0;l=r;r=r+16|0;if((d|c|0)<0|(e|0)<1|(f|0)<1){e=xf(16)|0;os(e,432191,l);Jc(e|0,96,27)}h=k[a+8>>2]|0;if((e+c|0)>(h|0)){e=xf(16)|0;os(e,432191,l);Jc(e|0,96,27)}g=k[a+12>>2]|0;if((f+d|0)>(g|0)){e=xf(16)|0;os(e,432191,l);Jc(e|0,96,27)}j=ha(e<<2,f)|0;j=mBb((j|0)>-1?j:-1)|0;do if((k[157547]|0)==(a|0))if(k[a+128>>2]|0)if(k[a+136>>2]|0){vda(631144,36008,k[a+124>>2]|0);vda(631144,36009,k[a+128>>2]|0);if(!(i[1249142]|0)){fj[k[163794]&0](0,0,h,g,0,0,h,g,16384,9728);break}else{rj[k[165398]&15]();break}}while(0);g=k[a+128>>2]|0;if(!g)vda(631144,36160,k[a+124>>2]|0);else vda(631144,36008,g);cj[k[164363]&7](c,d,e,f,6408,5121,j);g=k[157547]|0;if(!g){d=wda(631144)|0;vda(631144,36160,d);d=k[b>>2]|0;d=d+32|0;d=k[d>>2]|0;e=Ni[d&127](b,e,f,j,1)|0;r=l;return e|0}else{d=k[g+124>>2]|0;vda(631144,36160,d);d=k[b>>2]|0;d=d+32|0;d=k[d>>2]|0;e=Ni[d&127](b,e,f,j,1)|0;r=l;return e|0}return 0}function v7(){return (i[1248938]|i[1248948]|i[1248980]|i[1249052])<<24>>24!=0|0}function w7(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;g=r;r=r+48|0;b=i[1248948]|0;if(!((i[1248938]|b|i[1248980]|i[1249052])<<24>>24)){f=0;r=g;return f|0}switch(a|0){case 0:{if(LA()|0)f=28;else{b=i[1248948]|0;a=(b<<24>>24==0?1:(i[1249107]|i[1248949]|i[1249149])<<24>>24!=0)?7:2;f=5}break}case 1:{f=20;break}default:f=5}a:do if((f|0)==5)switch(a|0){case 3:case 2:break a;case 12:{f=20;break a}case 16:{f=28;break a}case 4:{if(!((i[1248944]|b|i[1248975])<<24>>24))b=0;else{a=4;break a}r=g;return b|0}case 6:case 5:{if(i[1248930]|0){if(!((i[1249019]|i[1248938])<<24>>24))b=0;else break a;r=g;return b|0}if(!(b<<24>>24))break a;if(!((i[1249089]|i[1248949])<<24>>24))b=0;else break a;r=g;return b|0}case 7:{if(!((i[1248949]|i[1248930]|i[1249107]|i[1249149])<<24>>24))b=0;else{a=7;break a}r=g;return b|0}case 8:{if(!((i[1248930]|i[1248949])<<24>>24))b=0;else{a=8;break a}r=g;return b|0}case 9:{if(!((i[1249065]|i[1248938]|i[1249137])<<24>>24))b=0;else{a=9;break a}r=g;return b|0}case 11:case 10:{if(i[1248930]|0){if(i[1248938]|0)break a;if((i[1249017]|0)!=0&(i[1249019]|0)!=0)break a;else b=0;r=g;return b|0}if(!(i[1249038]|0)){f=0;r=g;return f|0}if(i[1248949]|0)break a;if((i[1249113]|0)!=0&(i[1249089]|0)!=0)break a;else b=0;r=g;return b|0}case 14:case 13:{if(i[1248938]|0)break a;if((i[1249017]|0)!=0&(i[1249019]|0)!=0)break a;else b=0;r=g;return b|0}case 15:{if(!((i[1249017]|i[1248938])<<24>>24))b=0;else{a=15;break a}r=g;return b|0}default:{f=0;r=g;return f|0}}while(0);do if((f|0)==20){if(i[1248930]|0){if(!((i[1249017]|i[1248938])<<24>>24))b=0;else{a=12;break}r=g;return b|0}if(!(b<<24>>24))a=12;else{if(!(i[1249038]|0)){f=0;r=g;return f|0}if(!((i[1249113]|i[1248949])<<24>>24)){f=0;r=g;return f|0}else a=12}}else if((f|0)==28){if(!(i[1248930]|0)){if(!((i[1249075]|i[1248949])<<24>>24))b=0;else{a=16;break}r=g;return b|0}if(!(i[1248938]|0)){if(!((i[1249053]|i[1248981])<<24>>24)){f=0;r=g;return f|0}if(!((i[1249090]|i[1248937])<<24>>24)){f=0;r=g;return f|0}else a=16}else a=16}while(0);e=1248849+a|0;if(i[e>>0]|0){f=(i[1248832+a>>0]|0)!=0;r=g;return f|0}switch(a|0){case 0:{if(LA()|0)f=55;else{b=((i[1248948]|0)==0?1:(i[1249107]|i[1248949]|i[1249149])<<24>>24!=0)?7:2;f=38}break}case 1:{f=50;break}default:{b=a;f=38}}b:do if((f|0)==38)do switch(b|0){case 2:{b=6408;c=32854;d=32819;break b}case 16:{f=55;break b}case 12:{f=50;break b}case 3:{b=6408;c=32855;d=32820;break b}case 4:{b=6407;c=36194;d=33635;break b}case 5:{b=6403;c=33321;d=5121;break b}case 6:{b=33319;c=33323;d=5121;break b}case 8:{b=6408;c=32857;d=33640;break b}case 9:{b=6407;c=35898;d=35899;break b}case 10:{if(i[1249113]|0){b=6403;c=33325;d=36193;break b}b=6403;c=33325;d=(i[1248930]|0)==0?5131:5126;break b}case 11:{if(i[1249113]|0){b=33319;c=33327;d=36193;break b}b=33319;c=33327;d=(i[1248930]|0)==0?5131:5126;break b}case 13:{b=6403;c=33326;d=5126;break b}case 14:{b=33319;c=33328;d=5126;break b}case 15:{b=6408;c=34836;d=5126;break b}default:{b=6408;c=32856;d=5121;break b}}while(0);while(0);if((f|0)==50)if(!(i[1249113]|0)){b=6408;c=34842;d=(i[1248930]|0)==0?5131:5126}else{b=6408;c=34842;d=36193}else if((f|0)==55){b=(i[1248948]|0)==0|(i[1248949]|0)!=0?6408:35906;c=35907;d=5121}f=(i[1248948]|0)==0|(i[1248949]|0)!=0?c:b;k[g+32>>2]=0;Di[k[163991]&511](1,g+32|0);gda(631144,k[g+32>>2]|0);k[g+16+8>>2]=0;o[g+16+12>>2]=1.0;k[g+16+4>>2]=2;k[g+16>>2]=2;Bda(631144,g+16|0);k[g+8>>2]=0;k[g+8+4>>2]=0;Cda(631144,g+8|0);ej[k[164671]&15](3553,0,f,2,2,0,b,d,0);k[g>>2]=0;b=k[g+32>>2]|0;Di[k[164656]&511](36006,g+36|0);Di[k[163866]&511](1,g);vda(631144,36160,k[g>>2]|0);if(b|0){Bi[k[163846]&15](36160,36064,3553,b,0);pj[k[164464]&3](0.0,0.0,0.0,0.0);Si[k[163837]&1023](16384)}f=Gi[k[164567]&2047](36160)|0;vda(631144,36160,k[g+36>>2]|0);Di[k[163827]&511](1,g);Ada(631144,k[g+32>>2]|0);i[e>>0]=1;i[1248832+a>>0]=(f|0)==36053&1;f=(f|0)==36053;r=g;return f|0}function x7(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0;c=i[a>>0]|0;if(!(c<<24>>24))d=5381;else{e=a;d=5381;do{e=e+1|0;d=(d*33|0)+(c<<24>>24)|0;c=i[e>>0]|0}while(c<<24>>24!=0)}h=0;while(1){g=((h+d|0)>>>0)%34|0;if(!(i[630212+(g*12|0)+8>>0]|0)){c=1;d=0;j=11;break}e=k[630212+(g*12|0)>>2]|0;f=i[e>>0]|0;a:do if(!(f<<24>>24)){c=a;j=8}else{c=a;while(1){l=i[c>>0]|0;if(!(l<<24>>24?f<<24>>24==l<<24>>24:0))break a;e=e+1|0;c=c+1|0;f=i[e>>0]|0;if(!(f<<24>>24)){j=8;break}}}while(0);if((j|0)==8){j=0;if(!(i[c>>0]|0)){j=9;break}}h=h+1|0;if(h>>>0>=34){c=0;d=0;j=11;break}}if((j|0)==9){k[b>>2]=k[630212+(g*12|0)+4>>2];j=1;l=1;l=j&l;return l|0}else if((j|0)==11){l=c&d;return l|0}return 0}function y7(a,b){a=a|0;b=b|0;if(a>>>0>16)a=0;else{a=k[630620+(a<<2)>>2]|0;if(!a)a=0;else{k[b>>2]=a;a=1}}return a|0}function z7(a){a=a|0;var b=0,c=0,d=0;k[a>>2]=23484;k[a+8>>2]=23516;A7(a);k[157672]=(k[157672]|0)+-1;c9(a+128|0);b=k[a+80>>2]|0;if(b|0)do{d=b;b=k[b>>2]|0;CAb(d)}while((b|0)!=0);b=k[a+72>>2]|0;k[a+72>>2]=0;if(b|0)CAb(b);b=k[a+60>>2]|0;if(b|0)do{d=b;b=k[b>>2]|0;CAb(d)}while((b|0)!=0);b=k[a+52>>2]|0;k[a+52>>2]=0;if(b|0)CAb(b);b=k[a+40>>2]|0;if(b|0){c=k[a+44>>2]|0;if((c|0)!=(b|0))k[a+44>>2]=c+(~((c+-4-b|0)>>>2)<<2);CAb(b)}b=k[a+12>>2]|0;if(!b){Oga(a+8|0);return}c=k[a+16>>2]|0;if((c|0)!=(b|0)){do{c=c+-4|0;k[a+16>>2]=c;d=k[c>>2]|0;if(d){Si[k[(k[d>>2]|0)+12>>2]&1023](d);c=k[a+16>>2]|0}}while((c|0)!=(b|0));b=k[a+12>>2]|0}CAb(b);Oga(a+8|0);return}function A7(a){a=a|0;var b=0,c=0;if(k[a+64>>2]|0){b=k[a+60>>2]|0;if(b|0)do{c=b;b=k[b>>2]|0;CAb(c)}while((b|0)!=0);k[a+60>>2]=0;b=k[a+56>>2]|0;if(b|0){c=0;do{k[(k[a+52>>2]|0)+(c<<2)>>2]=0;c=c+1|0}while((c|0)!=(b|0))}k[a+64>>2]=0}b=k[a+40>>2]|0;c=k[a+44>>2]|0;if((b|0)!=(c|0)){do{Ada(631144,k[b>>2]|0);b=b+4|0}while((b|0)!=(c|0));b=k[a+40>>2]|0;c=k[a+44>>2]|0;if((c|0)!=(b|0))k[a+44>>2]=c+(~((c+-4-b|0)>>>2)<<2)}Ida(631144,k[a+136>>2]|0,0);k[a+136>>2]=0;return}function B7(a){a=a|0;z7(a);CAb(a);return}function C7(a){a=a|0;D7(a);k[a+132>>2]=(k[a+132>>2]|0)+1;return 1}function D7(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0;n=r;r=r+32|0;h=(k[a+92>>2]|0)==0;m=h?6410:6408;h=h?2:4;b=k[a+136>>2]|0;if(!b)l=a+36|0;else{l=b-(ha(ha(k[a+32>>2]|0,h)|0,k[a+36>>2]|0)|0)|0;k[a+136>>2]=l;Ida(631144,b,l);l=a+36|0}k[n+28>>2]=0;e=k[a+32>>2]|0;f=k[l>>2]|0;j=Eda(631144)|0;j=(j|0)<4096?j:4096;do if((e<<1|0)>(j|0)&(f<<1|0)>(j|0))g=10;else{if((e|0)==(f|0))if((e<<1|0)>(e|0)){b=e<<1;d=e}else{b=e<<1;c=e;g=7}else{b=e;c=f<<1;g=7}if((g|0)==7)if((c|0)>(f|0))d=c;else{g=10;break}c=k[a+44>>2]|0;if((k[a+40>>2]|0)==(c|0))g=10;else{c=k[c+-4>>2]|0;k[n+28>>2]=c;j=1;e=b;f=d}}while(0);if((g|0)==10){Di[k[163991]&511](1,n+28|0);c=k[n+28>>2]|0;j=0}gda(631144,c);Bda(631144,a+96|0);kj[k[164177]&255](3553,10242,33071);kj[k[164177]&255](3553,10243,33071);d=(i[1248948]|0)==0?((k[a+92>>2]|0)==0?32837:32856):m;b=ha(ha(e,h)|0,f)|0;k[n+16>>2]=0;g=n+16+4|0;k[g>>2]=0;k[n+16+8>>2]=0;if(b|0){if((b|0)<0)xzb(n+16|0);c=kBb(b)|0;k[g>>2]=c;k[n+16>>2]=c;k[n+16+8>>2]=c+b;do{i[c>>0]=0;c=(k[g>>2]|0)+1|0;k[g>>2]=c;b=b+-1|0}while((b|0)!=0)}do{}while((oj[k[164640]&7]()|0)!=0);ej[k[164671]&15](3553,0,d,e,f,0,m,5121,k[n+16>>2]|0);if(oj[k[164640]&7]()|0){if(j){a=xf(16)|0;os(a,432260,n);Jc(a|0,96,27)}Ada(631144,k[n+28>>2]|0);a=xf(16)|0;os(a,432260,n);Jc(a|0,96,27)}k[a+32>>2]=e;k[l>>2]=f;k[a+116>>2]=1;k[a+112>>2]=1;k[a+120>>2]=1;l=k[a+136>>2]|0;m=(k[g>>2]|0)-(k[n+16>>2]|0)+l|0;k[a+136>>2]=m;Ida(631144,l,m);do if(j){k[a+132>>2]=(k[a+132>>2]|0)+1;k[n+4>>2]=0;f=n+4+4|0;k[f>>2]=0;k[n+4+8>>2]=0;b=k[a+60>>2]|0;a:do if(b|0){d=0;e=0;while(1){c=b+8|0;if((d|0)==(e|0))E7(n+4|0,c);else{k[d>>2]=k[c>>2];k[f>>2]=d+4}b=k[b>>2]|0;if(!b)break a;d=k[f>>2]|0;e=k[n+4+8>>2]|0}}while(0);if(k[a+64>>2]|0){b=k[a+60>>2]|0;if(b|0)do{m=b;b=k[b>>2]|0;CAb(m)}while((b|0)!=0);k[a+60>>2]=0;b=k[a+56>>2]|0;if(b|0){c=0;do{k[(k[a+52>>2]|0)+(c<<2)>>2]=0;c=c+1|0}while((c|0)!=(b|0))}k[a+64>>2]=0}b=k[n+4>>2]|0;c=k[f>>2]|0;if((b|0)!=(c|0)){do{F7(a,k[b>>2]|0)|0;b=b+4|0}while((b|0)!=(c|0));b=k[n+4>>2]|0}c=b;if(b|0){d=k[f>>2]|0;if((d|0)!=(b|0))k[f>>2]=d+(~((d+-4-c|0)>>>2)<<2);CAb(b)}}else{b=k[a+44>>2]|0;if((b|0)==(k[a+48>>2]|0)){E7(a+40|0,n+28|0);break}else{k[b>>2]=k[n+28>>2];k[a+44>>2]=b+4;break}}while(0);b=k[n+16>>2]|0;if(!b){r=n;return}if((k[g>>2]|0)!=(b|0))k[g>>2]=b;CAb(b);r=n;return}function E7(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=k[a>>2]|0;c=((k[a+4>>2]|0)-i>>2)+1|0;if(c>>>0>1073741823)xzb(a);d=(k[a+8>>2]|0)-i|0;if(d>>2>>>0<536870911){c=d>>1>>>0>>0?c:d>>1;e=k[a+4>>2]|0;if(!c){h=0;f=0;d=e-i>>2;c=e}else{g=e;d=e-i>>2;j=6}}else{d=k[a+4>>2]|0;c=1073741823;g=d;d=d-i>>2;j=6}if((j|0)==6){h=c;f=kBb(c<<2)|0;c=g}j=f+(d<<2)|0;k[j>>2]=k[b>>2];b=c-i|0;ABb(j+(0-(b>>2)<<2)|0,i|0,b|0)|0;k[a>>2]=j+(0-(b>>2)<<2);k[a+4>>2]=j+4;k[a+8>>2]=f+(h<<2);if(!i)return;CAb(i);return}function F7(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0.0,p=0.0,q=0.0,s=0.0,t=0,u=0;m=r;r=r+144|0;e=G7(a,b)|0;f=Gi[k[(k[e>>2]|0)+28>>2]&2047](e)|0;g=Gi[k[(k[e>>2]|0)+24>>2]&2047](e)|0;if(((k[a+112>>2]|0)+f|0)<(k[a+32>>2]|0)){d=a+116|0;c=k[a+116>>2]|0}else{k[a+112>>2]=1;c=(k[a+116>>2]|0)+(k[a+120>>2]|0)|0;k[a+116>>2]=c;k[a+120>>2]=1;d=a+116|0}if((c+g|0)>=(k[a+36>>2]|0))D7(a);k[m>>2]=0;h=s6(e)|0;k[m+4>>2]=h;h=m+8|0;l=h+64|0;do{k[h>>2]=0;h=h+4|0}while((h|0)<(l|0));if((f|0)>0&(g|0)>0){l=k[(k[a+44>>2]|0)+-4>>2]|0;gda(631144,l);u=k[a+112>>2]|0;t=k[d>>2]|0;c=(k[a+92>>2]|0)==0?6410:6408;h=Gi[k[(k[e>>2]|0)+16>>2]&2047](e)|0;ej[k[164261]&15](3553,0,u,t,f,g,c,5121,h);k[m>>2]=l;s=+(k[a+112>>2]|0);p=+(k[d>>2]|0);q=+(k[a+32>>2]|0);n=+(k[a+36>>2]|0);o[m+72>>2]=0.0;o[m+72+4>>2]=0.0;j[m+72+8>>1]=~~(s/q*65535.0);j[m+72+10>>1]=~~(p/n*65535.0);k[m+72+12>>2]=-1;o[m+72+16>>2]=0.0;o[m+72+20>>2]=+(g|0);j[m+72+24>>1]=~~(s/q*65535.0);j[m+72+26>>1]=~~((+(g|0)+p)/n*65535.0);k[m+72+28>>2]=-1;o[m+72+32>>2]=+(f|0);o[m+72+36>>2]=0.0;j[m+72+40>>1]=~~((+(f|0)+s)/q*65535.0);j[m+72+42>>1]=~~(p/n*65535.0);k[m+72+44>>2]=-1;o[m+72+48>>2]=+(f|0);o[m+72+52>>2]=+(g|0);j[m+72+56>>1]=~~((+(f|0)+s)/q*65535.0);j[m+72+58>>1]=~~((+(g|0)+p)/n*65535.0);k[m+72+60>>2]=-1;k[m+8>>2]=k[m+72>>2];k[m+8+4>>2]=k[m+72+4>>2];k[m+8+8>>2]=k[m+72+8>>2];k[m+8+12>>2]=k[m+72+12>>2];n=+(t6(e)|0);o[m+8>>2]=+o[m+8>>2]+n;n=+(u6(e)|0);o[m+12>>2]=+o[m+12>>2]-n;k[m+24>>2]=k[m+72+16>>2];k[m+24+4>>2]=k[m+72+16+4>>2];k[m+24+8>>2]=k[m+72+16+8>>2];k[m+24+12>>2]=k[m+72+16+12>>2];n=+(t6(e)|0);o[m+24>>2]=+o[m+24>>2]+n;n=+(u6(e)|0);o[m+28>>2]=+o[m+28>>2]-n;k[m+40>>2]=k[m+72+32>>2];k[m+40+4>>2]=k[m+72+32+4>>2];k[m+40+8>>2]=k[m+72+32+8>>2];k[m+40+12>>2]=k[m+72+32+12>>2];n=+(t6(e)|0);o[m+40>>2]=+o[m+40>>2]+n;n=+(u6(e)|0);o[m+44>>2]=+o[m+44>>2]-n;k[m+56>>2]=k[m+72+48>>2];k[m+56+4>>2]=k[m+72+48+4>>2];k[m+56+8>>2]=k[m+72+48+8>>2];k[m+56+12>>2]=k[m+72+48+12>>2];n=+(t6(e)|0);o[m+56>>2]=+o[m+56>>2]+n;n=+(u6(e)|0);o[m+60>>2]=+o[m+60>>2]-n}if((f|0)>0)k[a+112>>2]=f+1+(k[a+112>>2]|0);if((g|0)>0){u=k[a+120>>2]|0;k[a+120>>2]=(u|0)<(g+1|0)?g+1|0:u}Si[k[(k[e>>2]|0)+12>>2]&1023](e);c=kBb(84)|0;k[c+8>>2]=b;h=c+12|0;d=m;l=h+72|0;do{k[h>>2]=k[d>>2];h=h+4|0;d=d+4|0}while((h|0)<(l|0));k[c+4>>2]=b;k[c>>2]=0;H7(m+72|0,a+52|0,c);if(i[m+72+4>>0]|0){u=k[m+72>>2]|0;u=u+12|0;r=m;return u|0}CAb(c);u=k[m+72>>2]|0;u=u+12|0;r=m;return u|0}function G7(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=r;r=r+48|0;if((b|0)==9)if(i[a+124>>0]|0){b=k[k[a+12>>2]>>2]|0;b=gj[k[(k[b>>2]|0)+36>>2]&511](b,32)|0;e=z6(b)|0;c=(s6(b)|0)<<2;d=t6(b)|0;a=u6(b)|0;Si[k[(k[b>>2]|0)+12>>2]&1023](b);b=kBb(40)|0;k[f>>2]=0;k[f+4>>2]=0;k[f+8>>2]=c;k[f+12>>2]=d;k[f+16>>2]=a;k[f+20>>2]=k[f>>2];k[f+20+4>>2]=k[f+4>>2];k[f+20+8>>2]=k[f+8>>2];k[f+20+12>>2]=k[f+12>>2];k[f+20+16>>2]=k[f+16>>2];o6(b,9,f+20|0,e);r=f;return b|0}c=k[a+12>>2]|0;d=k[a+16>>2]|0;do if((c|0)!=(d|0)){while(1){g=k[c>>2]|0;if(gj[k[(k[g>>2]|0)+48>>2]&511](g,b)|0)break;c=c+4|0;if((c|0)==(d|0)){e=8;break}}if((e|0)==8){c=k[a+12>>2]|0;break}g=k[c>>2]|0;g=gj[k[(k[g>>2]|0)+36>>2]&511](g,b)|0;r=f;return g|0}while(0);g=k[c>>2]|0;g=gj[k[(k[g>>2]|0)+36>>2]&511](g,b)|0;r=f;return g|0}function H7(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0.0,g=0.0,h=0,j=0;h=k[c+8>>2]|0;k[c+4>>2]=h;j=k[b+4>>2]|0;a:do if(!j)e=0;else{if(!(j+-1&j))e=j+-1&h;else e=(h>>>0)%(j>>>0)|0;d=k[(k[b>>2]|0)+(e<<2)>>2]|0;if(d)if(!(j+-1&j)){while(1){d=k[d>>2]|0;if(!d)break a;if((k[d+4>>2]&j+-1|0)!=(e|0))break a;if((k[d+8>>2]|0)==(h|0)){e=0;break}}b=d;k[a>>2]=b;a=a+4|0;i[a>>0]=e;return}else{while(1){d=k[d>>2]|0;if(!d)break a;if((((k[d+4>>2]|0)>>>0)%(j>>>0)|0|0)!=(e|0))break a;if((k[d+8>>2]|0)==(h|0)){e=0;break}}b=d;k[a>>2]=b;a=a+4|0;i[a>>0]=e;return}}while(0);f=+(((k[b+12>>2]|0)+1|0)>>>0);g=+o[b+16>>2];do if((j|0)==0|f>+(j>>>0)*g){if(j>>>0>2)d=(j+-1&j|0)==0;else d=0;d=(d&1|j<<1)^1;e=~~+ga(+(f/g))>>>0;I7(b,d>>>0>>0?e:d);d=k[b+4>>2]|0;e=k[c+4>>2]|0;if(!(d+-1&d)){h=d;e=d+-1&e;break}else{h=d;e=(e>>>0)%(d>>>0)|0;break}}else h=j;while(0);d=k[(k[b>>2]|0)+(e<<2)>>2]|0;if(!d){k[c>>2]=k[b+8>>2];k[b+8>>2]=c;k[(k[b>>2]|0)+(e<<2)>>2]=b+8;d=k[c>>2]|0;if(d|0){d=k[d+4>>2]|0;e=h+-1|0;if(!(e&h))d=d&e;else d=(d>>>0)%(h>>>0)|0;k[(k[b>>2]|0)+(d<<2)>>2]=c}}else{k[c>>2]=k[d>>2];k[d>>2]=c}k[b+12>>2]=(k[b+12>>2]|0)+1;b=1;k[a>>2]=c;a=a+4|0;i[a>>0]=b;return}function I7(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if((b|0)==1)b=2;else if(b+-1&b)b=Sqb(b)|0;e=k[a+4>>2]|0;if(b>>>0>e>>>0){J7(a,b);return}if(b>>>0>=e>>>0)return;if(e>>>0>2)d=(e+-1&e|0)==0;else d=0;c=~~+ga(+(+((k[a+12>>2]|0)>>>0)/+o[a+16>>2]))>>>0;if(d)c=1<<32-(ja(c+-1|0)|0);else c=Sqb(c)|0;b=b>>>0>>0?c:b;if(b>>>0>=e>>>0)return;J7(a,b);return}function J7(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!b){c=k[a>>2]|0;k[a>>2]=0;if(c|0)CAb(c);k[a+4>>2]=0;return}j=kBb(b<<2)|0;c=k[a>>2]|0;k[a>>2]=j;if(c|0)CAb(c);k[a+4>>2]=b;c=0;do{k[(k[a>>2]|0)+(c<<2)>>2]=0;c=c+1|0}while((c|0)!=(b|0));e=k[a+8>>2]|0;if(!e)return;c=k[e+4>>2]|0;if(!(b+-1&b))d=c&b+-1;else d=(c>>>0)%(b>>>0)|0;k[(k[a>>2]|0)+(d<<2)>>2]=a+8;c=k[e>>2]|0;if(!c)return;else f=e;a:while(1){b:do if(!(b+-1&b)){j=f;i=e;while(1){while(1){h=k[c+4>>2]&b+-1;if((h|0)==(d|0)){e=c;break}e=(k[a>>2]|0)+(h<<2)|0;if(!(k[e>>2]|0)){d=h;g=c;c=i;break b}g=c+8|0;e=c;while(1){f=k[e>>2]|0;if(!f)break;if((k[g>>2]|0)==(k[f+8>>2]|0))e=f;else break}k[i>>2]=f;k[e>>2]=k[k[(k[a>>2]|0)+(h<<2)>>2]>>2];k[k[(k[a>>2]|0)+(h<<2)>>2]>>2]=c;c=k[j>>2]|0;if(!c){c=32;break a}}c=k[e>>2]|0;if(!c){c=32;break a}else{j=e;i=e}}}else{j=f;i=e;while(1){while(1){h=((k[c+4>>2]|0)>>>0)%(b>>>0)|0;if((h|0)==(d|0)){e=c;break}e=(k[a>>2]|0)+(h<<2)|0;if(!(k[e>>2]|0)){d=h;g=c;c=i;break b}g=c+8|0;e=c;while(1){f=k[e>>2]|0;if(!f)break;if((k[g>>2]|0)==(k[f+8>>2]|0))e=f;else break}k[i>>2]=f;k[e>>2]=k[k[(k[a>>2]|0)+(h<<2)>>2]>>2];k[k[(k[a>>2]|0)+(h<<2)>>2]>>2]=c;c=k[j>>2]|0;if(!c){c=32;break a}}c=k[e>>2]|0;if(!c){c=32;break a}else{j=e;i=e}}}while(0);k[e>>2]=c;c=k[g>>2]|0;if(!c){c=32;break}else{f=g;e=g}}if((c|0)==32)return}function K7(a){a=a|0;z7(a+-8|0);return}function L7(a){a=a|0;z7(a+-8|0);CAb(a+-8|0);return}function M7(a){a=a|0;D7(a+-8|0);k[a+-8+132>>2]=(k[a+-8+132>>2]|0)+1;return 1}function N7(a){a=a|0;A7(a+-8|0);return}function O7(){i[630700]=0;i[630712]=0;i[630724]=0;i[630736]=0;i[630748]=0;i[630760]=0;i[630772]=0;i[630784]=0;k[157697]=0;k[157698]=0;k[157699]=0;k[157700]=0;P7(630692,439958,0)|0;P7(630692,439952,2)|0;P7(630692,432291,1)|0;P7(630692,432298,3)|0;return}function P7(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=r;r=r+16|0;d=i[b>>0]|0;if(!(d<<24>>24))e=5381;else{f=b;e=5381;do{f=f+1|0;e=(e*33|0)+(d<<24>>24)|0;d=i[f>>0]|0}while(d<<24>>24!=0)}d=e&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+1&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+2&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+3&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+4&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+5&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+6&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+7&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else d=0}}}}}}}if((g|0)==5){i[d>>0]=1;k[a+(e*12|0)>>2]=b;k[a+(e*12|0)+4>>2]=c;d=1}if(c>>>0>3){k[h>>2]=b;k[h+4>>2]=c;Jpb(441170,h)|0;g=0;r=h;return g|0}else{k[a+96+(c<<2)>>2]=b;g=d;r=h;return g|0}return 0}function Q7(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0.0,h=0;Uj(a);Sga(a+8|0);k[a>>2]=23484;k[a+8>>2]=23516;if(b|0)Si[k[(k[b>>2]|0)+8>>2]&1023](b);k[a+12>>2]=0;k[a+16>>2]=0;k[a+20>>2]=0;d=kBb(4)|0;k[a+16>>2]=d;k[a+12>>2]=d;k[a+20>>2]=d+4;k[d>>2]=b;if(!b)k[a+16>>2]=d+4;else{Si[k[(k[b>>2]|0)+8>>2]&1023](b);k[a+16>>2]=(k[a+16>>2]|0)+4;Si[k[(k[b>>2]|0)+12>>2]&1023](b)}d=Gi[k[(k[b>>2]|0)+16>>2]&2047](b)|0;k[a+24>>2]=d;o[a+28>>2]=1.0;k[a+32>>2]=128;k[a+36>>2]=128;k[a+40>>2]=0;k[a+40+4>>2]=0;k[a+40+8>>2]=0;k[a+40+12>>2]=0;k[a+40+16>>2]=0;k[a+40+20>>2]=0;k[a+40+24>>2]=0;o[a+68>>2]=1.0;k[a+72>>2]=0;k[a+72+4>>2]=0;k[a+72+8>>2]=0;k[a+72+12>>2]=0;o[a+88>>2]=1.0;k[a+96>>2]=k[c>>2];k[a+96+4>>2]=k[c+4>>2];k[a+96+8>>2]=k[c+8>>2];k[a+96+12>>2]=k[c+12>>2];i[a+124>>0]=0;Y8(a+128|0,20);k[a+132>>2]=0;k[a+136>>2]=0;k[a+104>>2]=0;g=+(k[a+24>>2]|0);d=k[a+32>>2]|0;c=k[a+36>>2]|0;a:do if(!(g*(g*.8)*30.0<=+(ha(c,d)|0)))do{h=Eda(631144)|0;h=(h|0)<4096?h:4096;e=d<<1;f=c<<1;if(!((e|0)>(h|0)&(f|0)>(h|0))){h=(d|0)==(c|0);d=h?e:d;c=h?c:f}if((d|0)<=(k[a+32>>2]|0))if((c|0)<=(k[a+36>>2]|0))break a;k[a+32>>2]=d;k[a+36>>2]=c;g=+(k[a+24>>2]|0)}while(!(g*(g*.8)*30.0<=+(ha(c,d)|0)));while(0);h=gj[k[(k[b>>2]|0)+36>>2]&511](b,32)|0;f=(z6(h)|0)!=0&1;k[a+92>>2]=f;Si[k[(k[h>>2]|0)+12>>2]&1023](h);if(gj[k[(k[b>>2]|0)+48>>2]&511](b,9)|0){h=k[a>>2]|0;h=h+16|0;h=k[h>>2]|0;Gi[h&2047](a)|0;h=k[157672]|0;h=h+1|0;k[157672]=h;return}i[a+124>>0]=1;h=k[a>>2]|0;h=h+16|0;h=k[h>>2]|0;Gi[h&2047](a)|0;h=k[157672]|0;h=h+1|0;k[157672]=h;return}function R7(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0.0,f=0,g=0,h=0;h=r;r=r+16|0;k[h>>2]=c;k[h+4>>2]=b;g=ha(c,1540483477)|0;d=ha(b,1540483477)|0;d=(ha((ha(g>>>24^g,1540483477)|0)^-561034072,1540483477)|0)^(ha(d>>>24^d,1540483477)|0);d=ha(d>>>13^d,1540483477)|0;g=k[a+76>>2]|0;a:do if(g|0){if(!(g+-1&g))f=g+-1&(d>>>15^d);else f=((d>>>15^d)>>>0)%(g>>>0)|0;d=k[(k[a+72>>2]|0)+(f<<2)>>2]|0;if(d|0){if(!(g+-1&g))do{d=k[d>>2]|0;if(!d)break a;if((k[d+4>>2]&g+-1|0)!=(f|0))break a}while(!((k[d+8>>2]|0)==(c|0)?(k[d+8+4>>2]|0)==(b|0):0));else do{d=k[d>>2]|0;if(!d)break a;if((((k[d+4>>2]|0)>>>0)%(g>>>0)|0|0)!=(f|0))break a}while(!((k[d+8>>2]|0)==(c|0)?(k[d+8+4>>2]|0)==(b|0):0));e=+o[d+16>>2];r=h;return +e}}while(0);d=k[k[a+12>>2]>>2]|0;e=+hj[k[(k[d>>2]|0)+56>>2]&3](d,b,c);d=k[a+12>>2]|0;f=k[a+16>>2]|0;b:do if((d|0)!=(f|0)){while(1){g=k[d>>2]|0;if(gj[k[(k[g>>2]|0)+48>>2]&511](g,b)|0){g=k[d>>2]|0;if(gj[k[(k[g>>2]|0)+48>>2]&511](g,c)|0)break}d=d+4|0;if((d|0)==(f|0))break b}g=k[d>>2]|0;e=+hj[k[(k[g>>2]|0)+56>>2]&3](g,b,c)}while(0);a=S7(a+72|0,h)|0;o[a>>2]=e;r=h;return +e}function S7(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=r;r=r+16|0;f=k[b>>2]|0;e=k[b+4>>2]|0;d=ha(f,1540483477)|0;b=ha(e,1540483477)|0;b=(ha((ha(d>>>24^d,1540483477)|0)^-561034072,1540483477)|0)^(ha(b>>>24^b,1540483477)|0);b=ha(b>>>13^b,1540483477)|0;d=k[a+4>>2]|0;a:do if(d|0){if(!(d+-1&d))c=(b>>>15^b)&d+-1;else c=((b>>>15^b)>>>0)%(d>>>0)|0;b=k[(k[a>>2]|0)+(c<<2)>>2]|0;if(b|0)if(!(d+-1&d)){do{b=k[b>>2]|0;if(!b)break a;if((k[b+4>>2]&d+-1|0)!=(c|0))break a}while(!((k[b+8>>2]|0)==(f|0)?(k[b+8+4>>2]|0)==(e|0):0));a=b+16|0;r=g;return a|0}else{do{b=k[b>>2]|0;if(!b)break a;if((((k[b+4>>2]|0)>>>0)%(d>>>0)|0|0)!=(c|0))break a}while(!((k[b+8>>2]|0)==(f|0)?(k[b+8+4>>2]|0)==(e|0):0));a=b+16|0;r=g;return a|0}}while(0);d=kBb(24)|0;k[d+8>>2]=f;k[d+8+4>>2]=e;o[d+16>>2]=0.0;T7(g,a,d);a=k[g>>2]|0;a=a+16|0;r=g;return a|0}function T7(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0.0,g=0.0,h=0,j=0,l=0;j=k[c+8>>2]|0;l=k[c+8+4>>2]|0;h=ha(j,1540483477)|0;d=ha(l,1540483477)|0;d=(ha((ha(h>>>24^h,1540483477)|0)^-561034072,1540483477)|0)^(ha(d>>>24^d,1540483477)|0);d=ha(d>>>13^d,1540483477)|0;k[c+4>>2]=d>>>15^d;h=k[b+4>>2]|0;a:do if(!h)e=0;else{if(!(h+-1&h))e=(d>>>15^d)&h+-1;else e=((d>>>15^d)>>>0)%(h>>>0)|0;d=k[(k[b>>2]|0)+(e<<2)>>2]|0;if(d)if(!(h+-1&h)){while(1){d=k[d>>2]|0;if(!d)break a;if((k[d+4>>2]&h+-1|0)!=(e|0))break a;if((k[d+8>>2]|0)==(j|0)?(k[d+8+4>>2]|0)==(l|0):0){e=0;break}}b=d;k[a>>2]=b;a=a+4|0;i[a>>0]=e;return}else{while(1){d=k[d>>2]|0;if(!d)break a;if((((k[d+4>>2]|0)>>>0)%(h>>>0)|0|0)!=(e|0))break a;if((k[d+8>>2]|0)==(j|0)?(k[d+8+4>>2]|0)==(l|0):0){e=0;break}}b=d;k[a>>2]=b;a=a+4|0;i[a>>0]=e;return}}while(0);f=+(((k[b+12>>2]|0)+1|0)>>>0);g=+o[b+16>>2];do if((h|0)==0|f>+(h>>>0)*g){if(h>>>0>2)d=(h+-1&h|0)==0;else d=0;d=(d&1|h<<1)^1;e=~~+ga(+(f/g))>>>0;U7(b,d>>>0>>0?e:d);d=k[b+4>>2]|0;e=k[c+4>>2]|0;if(!(d+-1&d)){h=d;e=d+-1&e;break}else{h=d;e=(e>>>0)%(d>>>0)|0;break}}while(0);d=k[(k[b>>2]|0)+(e<<2)>>2]|0;if(!d){k[c>>2]=k[b+8>>2];k[b+8>>2]=c;k[(k[b>>2]|0)+(e<<2)>>2]=b+8;d=k[c>>2]|0;if(d|0){d=k[d+4>>2]|0;e=h+-1|0;if(!(e&h))d=d&e;else d=(d>>>0)%(h>>>0)|0;k[(k[b>>2]|0)+(d<<2)>>2]=c}}else{k[c>>2]=k[d>>2];k[d>>2]=c}k[b+12>>2]=(k[b+12>>2]|0)+1;b=1;k[a>>2]=c;a=a+4|0;i[a>>0]=b;return}function U7(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if((b|0)==1)b=2;else if(b+-1&b)b=Sqb(b)|0;e=k[a+4>>2]|0;if(b>>>0>e>>>0){V7(a,b);return}if(b>>>0>=e>>>0)return;if(e>>>0>2)d=(e+-1&e|0)==0;else d=0;c=~~+ga(+(+((k[a+12>>2]|0)>>>0)/+o[a+16>>2]))>>>0;if(d)c=1<<32-(ja(c+-1|0)|0);else c=Sqb(c)|0;b=b>>>0>>0?c:b;if(b>>>0>=e>>>0)return;V7(a,b);return}function V7(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!b){c=k[a>>2]|0;k[a>>2]=0;if(c|0)CAb(c);k[a+4>>2]=0;return}j=kBb(b<<2)|0;c=k[a>>2]|0;k[a>>2]=j;if(c|0)CAb(c);k[a+4>>2]=b;c=0;do{k[(k[a>>2]|0)+(c<<2)>>2]=0;c=c+1|0}while((c|0)!=(b|0));e=k[a+8>>2]|0;if(!e)return;c=k[e+4>>2]|0;if(!(b+-1&b))d=c&b+-1;else d=(c>>>0)%(b>>>0)|0;k[(k[a>>2]|0)+(d<<2)>>2]=a+8;c=k[e>>2]|0;if(!c)return;else f=e;a:while(1){b:do if(!(b+-1&b)){j=f;i=e;while(1){while(1){h=k[c+4>>2]&b+-1;if((h|0)==(d|0)){e=c;break}e=(k[a>>2]|0)+(h<<2)|0;if(!(k[e>>2]|0)){d=h;g=c;c=i;break b}g=c+8|0;e=c;while(1){f=k[e>>2]|0;if(!f)break;if((k[g>>2]|0)==(k[f+8>>2]|0)?(k[g+4>>2]|0)==(k[f+8+4>>2]|0):0)e=f;else break}k[i>>2]=f;k[e>>2]=k[k[(k[a>>2]|0)+(h<<2)>>2]>>2];k[k[(k[a>>2]|0)+(h<<2)>>2]>>2]=c;c=k[j>>2]|0;if(!c){c=32;break a}}c=k[e>>2]|0;if(!c){c=32;break a}else{j=e;i=e}}}else{j=f;i=e;while(1){while(1){h=((k[c+4>>2]|0)>>>0)%(b>>>0)|0;if((h|0)==(d|0)){e=c;break}e=(k[a>>2]|0)+(h<<2)|0;if(!(k[e>>2]|0)){d=h;g=c;c=i;break b}g=c+8|0;e=c;while(1){f=k[e>>2]|0;if(!f)break;if((k[g>>2]|0)==(k[f+8>>2]|0)?(k[g+4>>2]|0)==(k[f+8+4>>2]|0):0)e=f;else break}k[i>>2]=f;k[e>>2]=k[k[(k[a>>2]|0)+(h<<2)>>2]>>2];k[k[(k[a>>2]|0)+(h<<2)>>2]>>2]=c;c=k[j>>2]|0;if(!c){c=32;break a}}c=k[e>>2]|0;if(!c){c=32;break a}else{j=e;i=e}}}while(0);k[e>>2]=c;c=k[g>>2]|0;if(!c){c=32;break}else{f=g;e=g}}if((c|0)==32)return}function W7(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0;h=r;r=r+32|0;g=i[a>>0]|0;c=k[a+4>>2]|0;g=(g&1)==0?(g&255)>>>1:c;d=k[b>>2]|0;if((k[b+8>>2]|0)-d>>2>>>0>>0){e=(k[b+4>>2]|0)-d|0;if(!g)f=0;else f=kBb(g<<2)|0;j=f+(e>>2<<2)|0;ABb(j+(0-(e>>2)<<2)|0,d|0,e|0)|0;k[b>>2]=j+(0-(e>>2)<<2);k[b+4>>2]=j;k[b+8>>2]=f+(g<<2);if(d){CAb(d);c=k[a+4>>2]|0}}e=i[a>>0]|0;f=(e&1)==0?a+1|0:k[a+8>>2]|0;e=(e&1)==0?(e&255)>>>1:c;k[h+4>>2]=f;k[h+4+4>>2]=f;k[h+4+8>>2]=f+e;if((e|0)<0){j=xf(8)|0;Rqb(j,432306);k[j>>2]=156212;Jc(j|0,9016,680)}if(!e){r=h;return}else{c=f+e|0;d=f}while(1){k[h+20>>2]=c;k[h+24>>2]=k[h+20>>2];Y5(h+4|0,h+24|0)|0;k[h+20>>2]=d;k[h+16>>2]=c;k[h+24>>2]=k[h+16>>2];c=Y5(h+20|0,h+24|0)|0;k[h>>2]=c;d=k[b+4>>2]|0;if((d|0)==(k[b+8>>2]|0))E7(b,h);else{k[d>>2]=c;k[b+4>>2]=d+4}c=k[h+4+8>>2]|0;if(!((c|0)==(f+e|0)?(k[h+4+4>>2]|0)==(f|0):0)){c=9;break}d=k[h+4>>2]|0;if((d|0)==(f+e|0)){c=15;break}}if((c|0)==9){j=xf(8)|0;Rqb(j,432338);Jc(j|0,9e3,680)}else if((c|0)==15){r=h;return}}function X7(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=r;r=r+16|0;c=k[a>>2]|0;if((c|0)==(k[a+4>>2]|0)){r=g;return}d=i[c>>0]|0;if(!(d&1))d=(d&255)>>>1;else d=k[c+4>>2]|0;c=k[b>>2]|0;if((k[b+8>>2]|0)-c>>2>>>0>>0){e=(k[b+4>>2]|0)-c|0;if(!d)f=0;else f=kBb(d<<2)|0;h=f+(e>>2<<2)|0;ABb(h+(0-(e>>2)<<2)|0,c|0,e|0)|0;k[b>>2]=h+(0-(e>>2)<<2);k[b+4>>2]=h;k[b+8>>2]=f+(d<<2);if(c|0)CAb(c)}c=k[a>>2]|0;e=k[a+4>>2]|0;if((c|0)==(e|0)){e=b+16|0;c=b+12|0}else{do{k[g>>2]=k[c+12>>2];k[g+4>>2]=(k[b+4>>2]|0)-(k[b>>2]|0)>>2;d=k[b+16>>2]|0;if((d|0)==(k[b+20>>2]|0))Y7(b+12|0,g);else{h=k[g+4>>2]|0;k[d>>2]=k[g>>2];k[d+4>>2]=h;k[b+16>>2]=(k[b+16>>2]|0)+8}W7(c,b);c=c+16|0}while((c|0)!=(e|0));e=b+16|0;c=b+12|0}d=k[e>>2]|0;c=k[c>>2]|0;if((d-c|0)!=8){r=g;return}if(!((k[c>>2]|0)==-1&(k[c+4>>2]|0)==0)){r=g;return}k[e>>2]=d+-8;r=g;return}function Y7(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=k[a>>2]|0;d=((k[a+4>>2]|0)-i>>3)+1|0;if(d>>>0>536870911)xzb(a);c=(k[a+8>>2]|0)-i|0;if(c>>3>>>0<268435455){c=c>>2>>>0>>0?d:c>>2;e=k[a+4>>2]|0;if(!c){h=0;f=0;d=e-i>>3;c=e}else{g=e;d=e-i>>3;j=6}}else{d=k[a+4>>2]|0;c=536870911;g=d;d=d-i>>3;j=6}if((j|0)==6){h=c;f=kBb(c<<3)|0;c=g}j=f+(d<<3)|0;g=k[b+4>>2]|0;k[j>>2]=k[b>>2];k[j+4>>2]=g;b=c-i|0;ABb(j+(0-(b>>3)<<3)|0,i|0,b|0)|0;k[a>>2]=j+(0-(b>>3)<<3);k[a+4>>2]=j+8;k[a+8>>2]=f+(h<<3);if(!i)return;CAb(i);return}function Z7(a){a=a|0;return +(+(k[a+24>>2]|0))}function _7(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;f=f|0;g=g|0;var h=0.0,j=0.0,m=0,n=0,p=0,q=0,s=0,t=0,u=0,v=0.0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0.0,E=0,F=0,G=0.0,H=0.0,I=0;I=r;r=r+16|0;G=+o[f>>2];H=+o[f+4>>2];if(!(k[b+92>>2]|0))D=+V(+(+(k[b+24>>2]|0)/1.25+.5));else D=0.0;k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;f=k[d>>2]|0;E=(k[d+4>>2]|0)-f|0;m=(k[c+4>>2]|0)-(k[c>>2]|0)+(E>>4)|0;if((k[d+8>>2]|0)-f>>4>>>0>>0){if(!m)n=0;else n=kBb(m<<4)|0;C=n+(E>>4<<4)|0;ABb(C+(0-(E>>4)<<4)|0,f|0,E|0)|0;k[d>>2]=C+(0-(E>>4)<<4);k[d+4>>2]=C;k[d+8>>2]=n+(m<<4);if(f|0)CAb(f)}C=(k[c+16>>2]|0)-(k[c+12>>2]|0)>>3;f=k[c>>2]|0;if(((k[c+4>>2]|0)-f|0)>0){m=f;p=-1;q=-1;s=-1;t=-1;u=-1;v=G;j=H;B=0;f=0;x=0;while(1){A=k[m+(B<<2)>>2]|0;n=u+1|0;if((n|0)<(C|0)){m=k[c+12>>2]|0;if((k[m+(n<<3)+4>>2]|0)==(B|0)){t=l[m+(n<<3)>>0]|l[m+(n<<3)+1>>0]<<8|l[m+(n<<3)+2>>0]<<16|l[m+(n<<3)+3>>0]<<24;y=t&255;z=t>>>8&255;s=t>>>16&255;t=t>>>24&255;u=n}else{y=p;z=q}}else{y=p;z=q}do if((A|0)==10){p=y;q=z;h=G;j=j+ +V(+(+(k[b+24>>2]|0)*+o[b+28>>2]+.5));m=B;f=v>+(f|0)?~~v:f;n=x}else{q=k[b+132>>2]|0;p=k[b+56>>2]|0;a:do if(!p)F=28;else{if(!(p+-1&p))n=p+-1&A;else n=(A>>>0)%(p>>>0)|0;m=k[(k[b+52>>2]|0)+(n<<2)>>2]|0;if(!m)F=28;else{if(!(p+-1&p))do{m=k[m>>2]|0;if(!m){F=28;break a}if((k[m+4>>2]&p+-1|0)!=(n|0)){F=28;break a}}while((k[m+8>>2]|0)!=(A|0));else do{m=k[m>>2]|0;if(!m){F=28;break a}if((((k[m+4>>2]|0)>>>0)%(p>>>0)|0|0)!=(n|0)){F=28;break a}}while((k[m+8>>2]|0)!=(A|0));w=m+12|0;m=q}}while(0);if((F|0)==28){F=0;w=F7(b,A)|0;m=k[b+132>>2]|0}if((q|0)!=(m|0)){f=k[a>>2]|0;m=k[a+4>>2]|0;if((m|0)!=(f|0))k[a+4>>2]=m+(~(((m+-12-f|0)>>>0)/12|0)*12|0);f=k[d+4>>2]|0;m=k[d>>2]|0;if(E>>4>>>0>f-m>>4>>>0){$7(d,(E>>4)-(f-m>>4)|0);p=-1;q=-1;s=-1;t=-1;u=-1;h=G;j=H;m=0;f=0;n=0;break}if(E>>4>>>0>=f-m>>4>>>0){p=-1;q=-1;s=-1;t=-1;u=-1;h=G;j=H;m=0;f=0;n=0;break}if((f|0)==(m+(E>>4<<4)|0)){p=-1;q=-1;s=-1;t=-1;u=-1;h=G;j=H;m=0;f=0;n=0;break}k[d+4>>2]=f+(~((f+-16-(m+(E>>4<<4))|0)>>>4)<<4);p=-1;q=-1;s=-1;t=-1;u=-1;h=G;j=H;m=0;f=0;n=0;break}v=v+ +R7(b,x,A);if(k[w>>2]|0){h=D+j;p=(z&255)<<8|y&255|(s&255)<<16|(t&255)<<24;m=w+8|0;n=k[d+4>>2]|0;if((n|0)==(k[d+8>>2]|0)){a8(d,m);m=k[d+4>>2]|0}else{k[n>>2]=k[m>>2];k[n+4>>2]=k[m+4>>2];k[n+8>>2]=k[m+8>>2];k[n+12>>2]=k[m+12>>2];m=(k[d+4>>2]|0)+16|0;k[d+4>>2]=m}n=m+-16|0;o[n>>2]=v+ +o[n>>2];n=m+-12|0;o[n>>2]=h+ +o[n>>2];m=m+-4|0;i[m>>0]=p;i[m+1>>0]=p>>8;i[m+2>>0]=p>>16;i[m+3>>0]=p>>24;m=w+24|0;n=k[d+4>>2]|0;if((n|0)==(k[d+8>>2]|0)){a8(d,m);m=k[d+4>>2]|0}else{k[n>>2]=k[m>>2];k[n+4>>2]=k[m+4>>2];k[n+8>>2]=k[m+8>>2];k[n+12>>2]=k[m+12>>2];m=(k[d+4>>2]|0)+16|0;k[d+4>>2]=m}n=m+-16|0;o[n>>2]=v+ +o[n>>2];n=m+-12|0;o[n>>2]=h+ +o[n>>2];m=m+-4|0;i[m>>0]=p;i[m+1>>0]=p>>8;i[m+2>>0]=p>>16;i[m+3>>0]=p>>24;m=w+40|0;n=k[d+4>>2]|0;if((n|0)==(k[d+8>>2]|0)){a8(d,m);m=k[d+4>>2]|0}else{k[n>>2]=k[m>>2];k[n+4>>2]=k[m+4>>2];k[n+8>>2]=k[m+8>>2];k[n+12>>2]=k[m+12>>2];m=(k[d+4>>2]|0)+16|0;k[d+4>>2]=m}n=m+-16|0;o[n>>2]=v+ +o[n>>2];n=m+-12|0;o[n>>2]=h+ +o[n>>2];m=m+-4|0;i[m>>0]=p;i[m+1>>0]=p>>8;i[m+2>>0]=p>>16;i[m+3>>0]=p>>24;m=w+56|0;n=k[d+4>>2]|0;if((n|0)==(k[d+8>>2]|0)){a8(d,m);m=k[d+4>>2]|0}else{k[n>>2]=k[m>>2];k[n+4>>2]=k[m+4>>2];k[n+8>>2]=k[m+8>>2];k[n+12>>2]=k[m+12>>2];m=(k[d+4>>2]|0)+16|0;k[d+4>>2]=m}x=m+-16|0;o[x>>2]=v+ +o[x>>2];x=m+-12|0;o[x>>2]=h+ +o[x>>2];m=m+-4|0;i[m>>0]=p;i[m+1>>0]=p>>8;i[m+2>>0]=p>>16;i[m+3>>0]=p>>24;m=k[a+4>>2]|0;if((k[a>>2]|0)==(m|0)){n=k[w>>2]|0;F=43}else{n=k[w>>2]|0;if((k[m+-12>>2]|0)!=(n|0))F=43}if((F|0)==43){F=0;k[I+4>>2]=((k[d+4>>2]|0)-(k[d>>2]|0)>>4)+-4;k[I+8>>2]=0;k[I>>2]=n;if((m|0)==(k[a+8>>2]|0)){b8(a,I);m=k[a+4>>2]|0}else{k[m>>2]=k[I>>2];k[m+4>>2]=k[I+4>>2];k[m+8>>2]=k[I+8>>2];m=(k[a+4>>2]|0)+12|0;k[a+4>>2]=m}}x=m+-4|0;k[x>>2]=(k[x>>2]|0)+4}h=v+ +(k[w+4>>2]|0);if(e!=0.0&(A|0)==32){p=y;q=z;h=+V(+(h+e));m=B;n=32}else{p=y;q=z;m=B;n=A}}while(0);B=m+1|0;m=k[c>>2]|0;if((B|0)>=((k[c+4>>2]|0)-m>>2|0))break;else{v=h;x=n}}}else{h=G;j=H;f=0}c8(k[a>>2]|0,k[a+4>>2]|0);if(!g){r=I;return}k[g>>2]=~~(+((h>+(f|0)?~~h:f)|0)-G);if(h>0.0)h=+V(+(+(k[b+24>>2]|0)*+o[b+28>>2]+.5));else h=0.0;k[g+4>>2]=~~(+(~~j|0)+h-H);r=I;return}function $7(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=k[a+8>>2]|0;c=k[a+4>>2]|0;if(d-c>>4>>>0>=b>>>0){do{k[c>>2]=0;k[c+4>>2]=0;k[c+8>>2]=0;k[c+12>>2]=0;c=(k[a+4>>2]|0)+16|0;k[a+4>>2]=c;b=b+-1|0}while((b|0)!=0);return}e=k[a>>2]|0;if(((c-e>>4)+b|0)>>>0>268435455)xzb(a);if(d-e>>4>>>0<134217727){c=d-e>>3>>>0<((c-e>>4)+b|0)>>>0?(c-e>>4)+b|0:d-e>>3;d=(k[a+4>>2]|0)-e>>4;if(!c){f=0;e=0;c=d}else g=9}else{c=268435455;d=(k[a+4>>2]|0)-e>>4;g=9}if((g|0)==9){f=c;e=kBb(c<<4)|0;c=d}g=e+(c<<4)|0;f=e+(f<<4)|0;d=g;c=g;while(1){k[d>>2]=0;k[d+4>>2]=0;k[d+8>>2]=0;k[d+12>>2]=0;d=c+16|0;e=d;b=b+-1|0;if(!b)break;else c=e}c=k[a>>2]|0;d=(k[a+4>>2]|0)-c|0;ABb(g+(0-(d>>4)<<4)|0,c|0,d|0)|0;k[a>>2]=g+(0-(d>>4)<<4);k[a+4>>2]=e;k[a+8>>2]=f;if(!c)return;CAb(c);return}function a8(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=k[a>>2]|0;c=((k[a+4>>2]|0)-i>>4)+1|0;if(c>>>0>268435455)xzb(a);d=(k[a+8>>2]|0)-i|0;if(d>>4>>>0<134217727){c=d>>3>>>0>>0?c:d>>3;e=k[a+4>>2]|0;if(!c){h=0;f=0;d=e-i>>4;c=e}else{g=e;d=e-i>>4;j=6}}else{d=k[a+4>>2]|0;c=268435455;g=d;d=d-i>>4;j=6}if((j|0)==6){h=c;f=kBb(c<<4)|0;c=g}j=f+(d<<4)|0;k[j>>2]=k[b>>2];k[j+4>>2]=k[b+4>>2];k[j+8>>2]=k[b+8>>2];k[j+12>>2]=k[b+12>>2];b=c-i|0;ABb(j+(0-(b>>4)<<4)|0,i|0,b|0)|0;k[a>>2]=j+(0-(b>>4)<<4);k[a+4>>2]=j+16;k[a+8>>2]=f+(h<<4);if(!i)return;CAb(i);return}function b8(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=k[a>>2]|0;d=(((k[a+4>>2]|0)-i|0)/12|0)+1|0;if(d>>>0>357913941)xzb(a);c=((k[a+8>>2]|0)-i|0)/12|0;if(c>>>0<178956970){c=c<<1>>>0>>0?d:c<<1;e=k[a+4>>2]|0;if(!c){h=0;f=0;d=(e-i|0)/12|0;c=e}else{g=e;d=(e-i|0)/12|0;j=6}}else{d=k[a+4>>2]|0;c=357913941;g=d;d=(d-i|0)/12|0;j=6}if((j|0)==6){h=c;f=kBb(c*12|0)|0;c=g}j=f+(d*12|0)|0;k[j>>2]=k[b>>2];k[j+4>>2]=k[b+4>>2];k[j+8>>2]=k[b+8>>2];b=c-i|0;ABb(j+(((b|0)/-12|0)*12|0)|0,i|0,b|0)|0;k[a>>2]=j+(((b|0)/-12|0)*12|0);k[a+4>>2]=j+12;k[a+8>>2]=f+(h*12|0);if(!i)return;CAb(i);return}function c8(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0;t=r;r=r+16|0;a:while(1){n=b;q=b+-12|0;o=b+-24|0;p=b+-8|0;b:while(1){m=a;switch((n-m|0)/12|0|0){case 2:{s=4;break a}case 3:{s=8;break a}case 4:{s=26;break a}case 5:{s=27;break a}case 1:case 0:{s=136;break a}default:{}}if((n-m|0)<372){s=29;break a}f=(n-m|0)/24|0;g=a+(f*12|0)|0;do if((n-m|0)>11988){c=g;l=a;d=e8(a,a+(((n-m|0)/48|0)*12|0)|0,g,g+(((n-m|0)/48|0)*12|0)|0,q)|0}else{e=k[g>>2]|0;c=k[a>>2]|0;if((e|0)==(c|0))d=(k[a+(f*12|0)+4>>2]|0)<(k[a+4>>2]|0);else d=e>>>0>>0;c=k[q>>2]|0;if((c|0)==(e|0))c=(k[p>>2]|0)<(k[a+(f*12|0)+4>>2]|0);else c=c>>>0>>0;if(!d){if(!c){c=g;l=a;d=0;break};k[t>>2]=k[g>>2];k[t+4>>2]=k[g+4>>2];k[t+8>>2]=k[g+8>>2];k[g>>2]=k[q>>2];k[g+4>>2]=k[q+4>>2];k[g+8>>2]=k[q+8>>2];k[q>>2]=k[t>>2];k[q+4>>2]=k[t+4>>2];k[q+8>>2]=k[t+8>>2];c=k[g>>2]|0;d=k[a>>2]|0;if((c|0)==(d|0)){if((k[a+(f*12|0)+4>>2]|0)>=(k[a+4>>2]|0)){c=g;l=a;d=1;break}}else if(c>>>0>=d>>>0){c=g;l=a;d=1;break};k[t>>2]=k[a>>2];k[t+4>>2]=k[a+4>>2];k[t+8>>2]=k[a+8>>2];k[a>>2]=k[g>>2];k[a+4>>2]=k[g+4>>2];k[a+8>>2]=k[g+8>>2];k[g>>2]=k[t>>2];k[g+4>>2]=k[t+4>>2];k[g+8>>2]=k[t+8>>2];c=g;l=a;d=2;break}if(c){k[t>>2]=k[a>>2];k[t+4>>2]=k[a+4>>2];k[t+8>>2]=k[a+8>>2];k[a>>2]=k[q>>2];k[a+4>>2]=k[q+4>>2];k[a+8>>2]=k[q+8>>2];k[q>>2]=k[t>>2];k[q+4>>2]=k[t+4>>2];k[q+8>>2]=k[t+8>>2];c=g;l=a;d=1;break};k[t>>2]=k[a>>2];k[t+4>>2]=k[a+4>>2];k[t+8>>2]=k[a+8>>2];k[a>>2]=k[g>>2];k[a+4>>2]=k[g+4>>2];k[a+8>>2]=k[g+8>>2];k[g>>2]=k[t>>2];k[g+4>>2]=k[t+4>>2];k[g+8>>2]=k[t+8>>2];c=k[q>>2]|0;d=k[g>>2]|0;if((c|0)==(d|0)){if((k[p>>2]|0)>=(k[a+(f*12|0)+4>>2]|0)){c=g;l=a;d=1;break}}else if(c>>>0>=d>>>0){c=g;l=a;d=1;break};k[t>>2]=k[g>>2];k[t+4>>2]=k[g+4>>2];k[t+8>>2]=k[g+8>>2];k[g>>2]=k[q>>2];k[g+4>>2]=k[q+4>>2];k[g+8>>2]=k[q+8>>2];k[q>>2]=k[t>>2];k[q+4>>2]=k[t+4>>2];k[q+8>>2]=k[t+8>>2];c=g;l=a;d=2}while(0);j=k[l>>2]|0;i=k[c>>2]|0;if((j|0)==(i|0))if((k[a+4>>2]|0)<(k[a+(f*12|0)+4>>2]|0))e=q;else s=82;else if(j>>>0>>0)e=q;else s=82;c:do if((s|0)==82){s=0;d:do if((a|0)!=(o|0)){h=a+(f*12|0)+4|0;c=o;f=q;while(1){e=k[c>>2]|0;if((e|0)==(i|0)){if((k[f+-8>>2]|0)<(k[h>>2]|0))break}else if(e>>>0>>0)break;e=c+-12|0;if((a|0)==(e|0))break d;else{f=c;c=e}}k[t>>2]=k[a>>2];k[t+4>>2]=k[a+4>>2];k[t+8>>2]=k[a+8>>2];k[a>>2]=k[c>>2];k[a+4>>2]=k[c+4>>2];k[a+8>>2]=k[c+8>>2];k[c>>2]=k[t>>2];k[c+4>>2]=k[t+4>>2];k[c+8>>2]=k[t+8>>2];e=c;d=d+1|0;break c}while(0);c=a+12|0;d=k[q>>2]|0;if((j|0)==(d|0)){if((k[a+4>>2]|0)>=(k[p>>2]|0))s=87}else if(j>>>0>=d>>>0)s=87;if((s|0)==87){s=0;if((c|0)==(q|0)){s=136;break a}e=a+4|0;while(1){d=k[c>>2]|0;if((j|0)==(d|0)){if((k[e>>2]|0)<(k[c+4>>2]|0))break}else if(j>>>0>>0)break;c=c+12|0;if((c|0)==(q|0)){s=136;break a}}k[t>>2]=k[c>>2];k[t+4>>2]=k[c+4>>2];k[t+8>>2]=k[c+8>>2];k[c>>2]=k[q>>2];k[c+4>>2]=k[q+4>>2];k[c+8>>2]=k[q+8>>2];k[q>>2]=k[t>>2];k[q+4>>2]=k[t+4>>2];k[q+8>>2]=k[t+8>>2];c=c+12|0}if((c|0)==(q|0)){s=136;break a}g=a+4|0;a=c;c=q;while(1){f=k[l>>2]|0;while(1){d=k[a>>2]|0;if((f|0)==(d|0)){if((k[g>>2]|0)<(k[a+4>>2]|0))break}else if(f>>>0>>0)break;a=a+12|0}e=c;while(1){c=e+-12|0;d=k[c>>2]|0;if((f|0)==(d|0))if((k[g>>2]|0)<(k[e+-8>>2]|0)){e=c;continue}else break;else if(f>>>0>>0){e=c;continue}else break}if(a>>>0>=c>>>0)continue b;k[t>>2]=k[a>>2];k[t+4>>2]=k[a+4>>2];k[t+8>>2]=k[a+8>>2];k[a>>2]=k[c>>2];k[a+4>>2]=k[c+4>>2];k[a+8>>2]=k[c+8>>2];k[c>>2]=k[t>>2];k[c+4>>2]=k[t+4>>2];k[c+8>>2]=k[t+8>>2];a=a+12|0}}while(0);c=a+12|0;e:do if(c>>>0>>0){f=e;while(1){i=k[g>>2]|0;j=g+4|0;while(1){e=k[c>>2]|0;if((e|0)==(i|0)){if((k[c+4>>2]|0)>=(k[j>>2]|0)){h=c;break}}else if(e>>>0>=i>>>0){h=c;break}c=c+12|0}while(1){e=f+-12|0;c=k[e>>2]|0;if((c|0)==(i|0))if((k[f+-8>>2]|0)<(k[j>>2]|0))break;else{f=e;continue}else if(c>>>0>>0)break;else{f=e;continue}}if(h>>>0>e>>>0){c=h;break e};k[t>>2]=k[h>>2];k[t+4>>2]=k[h+4>>2];k[t+8>>2]=k[h+8>>2];k[h>>2]=k[e>>2];k[h+4>>2]=k[e+4>>2];k[h+8>>2]=k[e+8>>2];k[e>>2]=k[t>>2];k[e+4>>2]=k[t+4>>2];k[e+8>>2]=k[t+8>>2];c=h+12|0;f=e;g=(g|0)==(h|0)?e:g;d=d+1|0}}while(0);do if((c|0)!=(g|0)){e=k[g>>2]|0;f=k[c>>2]|0;if((e|0)==(f|0)){if((k[g+4>>2]|0)>=(k[c+4>>2]|0))break}else if(e>>>0>=f>>>0)break;k[t>>2]=k[c>>2];k[t+4>>2]=k[c+4>>2];k[t+8>>2]=k[c+8>>2];k[c>>2]=k[g>>2];k[c+4>>2]=k[g+4>>2];k[c+8>>2]=k[g+8>>2];k[g>>2]=k[t>>2];k[g+4>>2]=k[t+4>>2];k[g+8>>2]=k[t+8>>2];d=d+1|0}while(0);if(!d){d=f8(a,c)|0;e=c+12|0;if(f8(e,b)|0){s=135;break}if(d){a=e;continue}}l=c;if((l-m|0)>=(n-l|0)){s=134;break}c8(a,c);a=c+12|0}if((s|0)==134){s=0;c8(c+12|0,b);b=c;continue}else if((s|0)==135){s=0;if(d){s=136;break}else{b=c;continue}}}if((s|0)==4){b=k[q>>2]|0;c=k[a>>2]|0;if((b|0)==(c|0)){if((k[p>>2]|0)>=(k[a+4>>2]|0)){r=t;return}}else if(b>>>0>=c>>>0){r=t;return};k[t>>2]=k[a>>2];k[t+4>>2]=k[a+4>>2];k[t+8>>2]=k[a+8>>2];k[a>>2]=k[q>>2];k[a+4>>2]=k[q+4>>2];k[a+8>>2]=k[q+8>>2];k[q>>2]=k[t>>2];k[q+4>>2]=k[t+4>>2];k[q+8>>2]=k[t+8>>2];r=t;return}else if((s|0)==8){d=k[a+12>>2]|0;b=k[a>>2]|0;if((d|0)==(b|0))c=(k[a+16>>2]|0)<(k[a+4>>2]|0);else c=d>>>0>>0;b=k[q>>2]|0;if((b|0)==(d|0))b=(k[p>>2]|0)<(k[a+16>>2]|0);else b=b>>>0>>0;if(!c){if(!b){r=t;return};k[t>>2]=k[a+12>>2];k[t+4>>2]=k[a+12+4>>2];k[t+8>>2]=k[a+12+8>>2];k[a+12>>2]=k[q>>2];k[a+12+4>>2]=k[q+4>>2];k[a+12+8>>2]=k[q+8>>2];k[q>>2]=k[t>>2];k[q+4>>2]=k[t+4>>2];k[q+8>>2]=k[t+8>>2];b=k[a+12>>2]|0;c=k[a>>2]|0;if((b|0)==(c|0)){if((k[a+16>>2]|0)>=(k[a+4>>2]|0)){r=t;return}}else if(b>>>0>=c>>>0){r=t;return};k[t>>2]=k[a>>2];k[t+4>>2]=k[a+4>>2];k[t+8>>2]=k[a+8>>2];k[a>>2]=k[a+12>>2];k[a+4>>2]=k[a+12+4>>2];k[a+8>>2]=k[a+12+8>>2];k[a+12>>2]=k[t>>2];k[a+12+4>>2]=k[t+4>>2];k[a+12+8>>2]=k[t+8>>2];r=t;return}if(b){k[t>>2]=k[a>>2];k[t+4>>2]=k[a+4>>2];k[t+8>>2]=k[a+8>>2];k[a>>2]=k[q>>2];k[a+4>>2]=k[q+4>>2];k[a+8>>2]=k[q+8>>2];k[q>>2]=k[t>>2];k[q+4>>2]=k[t+4>>2];k[q+8>>2]=k[t+8>>2];r=t;return};k[t>>2]=k[a>>2];k[t+4>>2]=k[a+4>>2];k[t+8>>2]=k[a+8>>2];k[a>>2]=k[a+12>>2];k[a+4>>2]=k[a+12+4>>2];k[a+8>>2]=k[a+12+8>>2];k[a+12>>2]=k[t>>2];k[a+12+4>>2]=k[t+4>>2];k[a+12+8>>2]=k[t+8>>2];b=k[q>>2]|0;c=k[a+12>>2]|0;if((b|0)==(c|0)){if((k[p>>2]|0)>=(k[a+16>>2]|0)){r=t;return}}else if(b>>>0>=c>>>0){r=t;return};k[t>>2]=k[a+12>>2];k[t+4>>2]=k[a+12+4>>2];k[t+8>>2]=k[a+12+8>>2];k[a+12>>2]=k[q>>2];k[a+12+4>>2]=k[q+4>>2];k[a+12+8>>2]=k[q+8>>2];k[q>>2]=k[t>>2];k[q+4>>2]=k[t+4>>2];k[q+8>>2]=k[t+8>>2];r=t;return}else if((s|0)==26){d8(a,a+12|0,a+24|0,q)|0;r=t;return}else if((s|0)==27){e8(a,a+12|0,a+24|0,a+36|0,q)|0;r=t;return}else if((s|0)==29){c=k[a+12>>2]|0;e=k[a>>2]|0;if((c|0)==(e|0))d=(k[a+16>>2]|0)<(k[a+4>>2]|0);else d=c>>>0>>0;f=k[a+24>>2]|0;if((f|0)==(c|0))c=(k[a+28>>2]|0)<(k[a+16>>2]|0);else c=f>>>0>>0;do if(d){if(c){k[t>>2]=k[a>>2];k[t+4>>2]=k[a+4>>2];k[t+8>>2]=k[a+8>>2];k[a>>2]=k[a+24>>2];k[a+4>>2]=k[a+24+4>>2];k[a+8>>2]=k[a+24+8>>2];k[a+24>>2]=k[t>>2];k[a+24+4>>2]=k[t+4>>2];k[a+24+8>>2]=k[t+8>>2];break};k[t>>2]=k[a>>2];k[t+4>>2]=k[a+4>>2];k[t+8>>2]=k[a+8>>2];k[a>>2]=k[a+12>>2];k[a+4>>2]=k[a+12+4>>2];k[a+8>>2]=k[a+12+8>>2];k[a+12>>2]=k[t>>2];k[a+12+4>>2]=k[t+4>>2];k[a+12+8>>2]=k[t+8>>2];c=k[a+12>>2]|0;if((f|0)==(c|0)){if((k[a+28>>2]|0)>=(k[a+16>>2]|0))break}else if(f>>>0>=c>>>0)break;k[t>>2]=k[a+12>>2];k[t+4>>2]=k[a+12+4>>2];k[t+8>>2]=k[a+12+8>>2];k[a+12>>2]=k[a+24>>2];k[a+12+4>>2]=k[a+24+4>>2];k[a+12+8>>2]=k[a+24+8>>2];k[a+24>>2]=k[t>>2];k[a+24+4>>2]=k[t+4>>2];k[a+24+8>>2]=k[t+8>>2]}else if(c){k[t>>2]=k[a+12>>2];k[t+4>>2]=k[a+12+4>>2];k[t+8>>2]=k[a+12+8>>2];k[a+12>>2]=k[a+24>>2];k[a+12+4>>2]=k[a+24+4>>2];k[a+12+8>>2]=k[a+24+8>>2];k[a+24>>2]=k[t>>2];k[a+24+4>>2]=k[t+4>>2];k[a+24+8>>2]=k[t+8>>2];c=k[a+12>>2]|0;if((c|0)==(e|0)){if((k[a+16>>2]|0)>=(k[a+4>>2]|0))break}else if(c>>>0>=e>>>0)break;k[t>>2]=k[a>>2];k[t+4>>2]=k[a+4>>2];k[t+8>>2]=k[a+8>>2];k[a>>2]=k[a+12>>2];k[a+4>>2]=k[a+12+4>>2];k[a+8>>2]=k[a+12+8>>2];k[a+12>>2]=k[t>>2];k[a+12+4>>2]=k[t+4>>2];k[a+12+8>>2]=k[t+8>>2]}while(0);if((a+36|0)==(b|0)){r=t;return}else{i=a+36|0;d=a+24|0}while(1){h=k[i>>2]|0;c=k[d>>2]|0;if((h|0)==(c|0)){c=k[i+4>>2]|0;if((c|0)<(k[d+4>>2]|0))s=52}else if(h>>>0>>0){c=k[i+4>>2]|0;s=52}if((s|0)==52){s=0;g=k[i+8>>2]|0;k[i>>2]=k[d>>2];k[i+4>>2]=k[d+4>>2];k[i+8>>2]=k[d+8>>2];f:do if((d|0)==(a|0))d=a;else{f=d;while(1){d=f;f=f+-12|0;e=k[f>>2]|0;if((h|0)==(e|0)){if((c|0)>=(k[d+-8>>2]|0))break f}else if(h>>>0>=e>>>0)break f;k[d>>2]=k[f>>2];k[d+4>>2]=k[f+4>>2];k[d+8>>2]=k[f+8>>2];if((f|0)==(a|0)){d=a;break}}}while(0);k[d>>2]=h;k[d+4>>2]=c;k[d+8>>2]=g}c=i+12|0;if((c|0)==(b|0))break;else{d=i;i=c}}r=t;return}else if((s|0)==136){r=t;return}}function d8(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;i=r;r=r+16|0;g=k[b>>2]|0;e=k[a>>2]|0;if((g|0)==(e|0))f=(k[b+4>>2]|0)<(k[a+4>>2]|0);else f=g>>>0>>0;e=k[c>>2]|0;if((e|0)==(g|0))e=(k[c+4>>2]|0)<(k[b+4>>2]|0);else e=e>>>0>>0;do if(f){if(e){k[i>>2]=k[a>>2];k[i+4>>2]=k[a+4>>2];k[i+8>>2]=k[a+8>>2];k[a>>2]=k[c>>2];k[a+4>>2]=k[c+4>>2];k[a+8>>2]=k[c+8>>2];k[c>>2]=k[i>>2];k[c+4>>2]=k[i+4>>2];k[c+8>>2]=k[i+8>>2];h=1;break};k[i>>2]=k[a>>2];k[i+4>>2]=k[a+4>>2];k[i+8>>2]=k[a+8>>2];k[a>>2]=k[b>>2];k[a+4>>2]=k[b+4>>2];k[a+8>>2]=k[b+8>>2];k[b>>2]=k[i>>2];k[b+4>>2]=k[i+4>>2];k[b+8>>2]=k[i+8>>2];e=k[c>>2]|0;f=k[b>>2]|0;if((e|0)==(f|0)){if((k[c+4>>2]|0)>=(k[b+4>>2]|0)){h=1;break}}else if(e>>>0>=f>>>0){h=1;break};k[i>>2]=k[b>>2];k[i+4>>2]=k[b+4>>2];k[i+8>>2]=k[b+8>>2];k[b>>2]=k[c>>2];k[b+4>>2]=k[c+4>>2];k[b+8>>2]=k[c+8>>2];k[c>>2]=k[i>>2];k[c+4>>2]=k[i+4>>2];k[c+8>>2]=k[i+8>>2];h=2}else if(e){k[i>>2]=k[b>>2];k[i+4>>2]=k[b+4>>2];k[i+8>>2]=k[b+8>>2];k[b>>2]=k[c>>2];k[b+4>>2]=k[c+4>>2];k[b+8>>2]=k[c+8>>2];k[c>>2]=k[i>>2];k[c+4>>2]=k[i+4>>2];k[c+8>>2]=k[i+8>>2];e=k[b>>2]|0;f=k[a>>2]|0;if((e|0)==(f|0)){if((k[b+4>>2]|0)>=(k[a+4>>2]|0)){h=1;break}}else if(e>>>0>=f>>>0){h=1;break};k[i>>2]=k[a>>2];k[i+4>>2]=k[a+4>>2];k[i+8>>2]=k[a+8>>2];k[a>>2]=k[b>>2];k[a+4>>2]=k[b+4>>2];k[a+8>>2]=k[b+8>>2];k[b>>2]=k[i>>2];k[b+4>>2]=k[i+4>>2];k[b+8>>2]=k[i+8>>2];h=2}else h=0;while(0);e=k[d>>2]|0;f=k[c>>2]|0;if((e|0)==(f|0)){if((k[d+4>>2]|0)>=(k[c+4>>2]|0)){b=h;r=i;return b|0}}else if(e>>>0>=f>>>0){b=h;r=i;return b|0};k[i>>2]=k[c>>2];k[i+4>>2]=k[c+4>>2];k[i+8>>2]=k[c+8>>2];k[c>>2]=k[d>>2];k[c+4>>2]=k[d+4>>2];k[c+8>>2]=k[d+8>>2];k[d>>2]=k[i>>2];k[d+4>>2]=k[i+4>>2];k[d+8>>2]=k[i+8>>2];e=h+1|0;f=k[c>>2]|0;g=k[b>>2]|0;if((f|0)==(g|0)){if((k[c+4>>2]|0)>=(k[b+4>>2]|0)){b=e;r=i;return b|0}}else if(f>>>0>=g>>>0){b=e;r=i;return b|0};k[i>>2]=k[b>>2];k[i+4>>2]=k[b+4>>2];k[i+8>>2]=k[b+8>>2];k[b>>2]=k[c>>2];k[b+4>>2]=k[c+4>>2];k[b+8>>2]=k[c+8>>2];k[c>>2]=k[i>>2];k[c+4>>2]=k[i+4>>2];k[c+8>>2]=k[i+8>>2];e=h+2|0;f=k[b>>2]|0;g=k[a>>2]|0;if((f|0)==(g|0)){if((k[b+4>>2]|0)>=(k[a+4>>2]|0)){b=e;r=i;return b|0}}else if(f>>>0>=g>>>0){b=e;r=i;return b|0};k[i>>2]=k[a>>2];k[i+4>>2]=k[a+4>>2];k[i+8>>2]=k[a+8>>2];k[a>>2]=k[b>>2];k[a+4>>2]=k[b+4>>2];k[a+8>>2]=k[b+8>>2];k[b>>2]=k[i>>2];k[b+4>>2]=k[i+4>>2];k[b+8>>2]=k[i+8>>2];b=h+3|0;r=i;return b|0}function e8(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;i=r;r=r+16|0;h=d8(a,b,c,d)|0;f=k[e>>2]|0;g=k[d>>2]|0;if((f|0)==(g|0)){if((k[e+4>>2]|0)>=(k[d+4>>2]|0)){b=h;r=i;return b|0}}else if(f>>>0>=g>>>0){b=h;r=i;return b|0};k[i>>2]=k[d>>2];k[i+4>>2]=k[d+4>>2];k[i+8>>2]=k[d+8>>2];k[d>>2]=k[e>>2];k[d+4>>2]=k[e+4>>2];k[d+8>>2]=k[e+8>>2];k[e>>2]=k[i>>2];k[e+4>>2]=k[i+4>>2];k[e+8>>2]=k[i+8>>2];f=k[d>>2]|0;g=k[c>>2]|0;if((f|0)==(g|0)){if((k[d+4>>2]|0)>=(k[c+4>>2]|0)){b=h+1|0;r=i;return b|0}}else if(f>>>0>=g>>>0){b=h+1|0;r=i;return b|0};k[i>>2]=k[c>>2];k[i+4>>2]=k[c+4>>2];k[i+8>>2]=k[c+8>>2];k[c>>2]=k[d>>2];k[c+4>>2]=k[d+4>>2];k[c+8>>2]=k[d+8>>2];k[d>>2]=k[i>>2];k[d+4>>2]=k[i+4>>2];k[d+8>>2]=k[i+8>>2];f=k[c>>2]|0;g=k[b>>2]|0;if((f|0)==(g|0)){if((k[c+4>>2]|0)>=(k[b+4>>2]|0)){b=h+2|0;r=i;return b|0}}else if(f>>>0>=g>>>0){b=h+2|0;r=i;return b|0};k[i>>2]=k[b>>2];k[i+4>>2]=k[b+4>>2];k[i+8>>2]=k[b+8>>2];k[b>>2]=k[c>>2];k[b+4>>2]=k[c+4>>2];k[b+8>>2]=k[c+8>>2];k[c>>2]=k[i>>2];k[c+4>>2]=k[i+4>>2];k[c+8>>2]=k[i+8>>2];f=k[b>>2]|0;g=k[a>>2]|0;if((f|0)==(g|0)){if((k[b+4>>2]|0)>=(k[a+4>>2]|0)){b=h+3|0;r=i;return b|0}}else if(f>>>0>=g>>>0){b=h+3|0;r=i;return b|0};k[i>>2]=k[a>>2];k[i+4>>2]=k[a+4>>2];k[i+8>>2]=k[a+8>>2];k[a>>2]=k[b>>2];k[a+4>>2]=k[b+4>>2];k[a+8>>2]=k[b+8>>2];k[b>>2]=k[i>>2];k[b+4>>2]=k[i+4>>2];k[b+8>>2]=k[i+8>>2];b=h+4|0;r=i;return b|0}function f8(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0;m=r;r=r+16|0;switch((b-a|0)/12|0|0){case 2:{c=k[b+-12>>2]|0;d=k[a>>2]|0;if((c|0)==(d|0)){if((k[b+-8>>2]|0)>=(k[a+4>>2]|0)){a=1;r=m;return a|0}}else if(c>>>0>=d>>>0){a=1;r=m;return a|0};k[m>>2]=k[a>>2];k[m+4>>2]=k[a+4>>2];k[m+8>>2]=k[a+8>>2];k[a>>2]=k[b+-12>>2];k[a+4>>2]=k[b+-12+4>>2];k[a+8>>2]=k[b+-12+8>>2];k[b+-12>>2]=k[m>>2];k[b+-12+4>>2]=k[m+4>>2];k[b+-12+8>>2]=k[m+8>>2];a=1;r=m;return a|0}case 3:{e=k[a+12>>2]|0;c=k[a>>2]|0;if((e|0)==(c|0))d=(k[a+16>>2]|0)<(k[a+4>>2]|0);else d=e>>>0>>0;c=k[b+-12>>2]|0;if((c|0)==(e|0))c=(k[b+-8>>2]|0)<(k[a+16>>2]|0);else c=c>>>0>>0;if(!d){if(!c){a=1;r=m;return a|0};k[m>>2]=k[a+12>>2];k[m+4>>2]=k[a+12+4>>2];k[m+8>>2]=k[a+12+8>>2];k[a+12>>2]=k[b+-12>>2];k[a+12+4>>2]=k[b+-12+4>>2];k[a+12+8>>2]=k[b+-12+8>>2];k[b+-12>>2]=k[m>>2];k[b+-12+4>>2]=k[m+4>>2];k[b+-12+8>>2]=k[m+8>>2];c=k[a+12>>2]|0;d=k[a>>2]|0;if((c|0)==(d|0)){if((k[a+16>>2]|0)>=(k[a+4>>2]|0)){a=1;r=m;return a|0}}else if(c>>>0>=d>>>0){a=1;r=m;return a|0};k[m>>2]=k[a>>2];k[m+4>>2]=k[a+4>>2];k[m+8>>2]=k[a+8>>2];k[a>>2]=k[a+12>>2];k[a+4>>2]=k[a+12+4>>2];k[a+8>>2]=k[a+12+8>>2];k[a+12>>2]=k[m>>2];k[a+12+4>>2]=k[m+4>>2];k[a+12+8>>2]=k[m+8>>2];a=1;r=m;return a|0}if(c){k[m>>2]=k[a>>2];k[m+4>>2]=k[a+4>>2];k[m+8>>2]=k[a+8>>2];k[a>>2]=k[b+-12>>2];k[a+4>>2]=k[b+-12+4>>2];k[a+8>>2]=k[b+-12+8>>2];k[b+-12>>2]=k[m>>2];k[b+-12+4>>2]=k[m+4>>2];k[b+-12+8>>2]=k[m+8>>2];a=1;r=m;return a|0};k[m>>2]=k[a>>2];k[m+4>>2]=k[a+4>>2];k[m+8>>2]=k[a+8>>2];k[a>>2]=k[a+12>>2];k[a+4>>2]=k[a+12+4>>2];k[a+8>>2]=k[a+12+8>>2];k[a+12>>2]=k[m>>2];k[a+12+4>>2]=k[m+4>>2];k[a+12+8>>2]=k[m+8>>2];c=k[b+-12>>2]|0;d=k[a+12>>2]|0;if((c|0)==(d|0)){if((k[b+-8>>2]|0)>=(k[a+16>>2]|0)){a=1;r=m;return a|0}}else if(c>>>0>=d>>>0){a=1;r=m;return a|0};k[m>>2]=k[a+12>>2];k[m+4>>2]=k[a+12+4>>2];k[m+8>>2]=k[a+12+8>>2];k[a+12>>2]=k[b+-12>>2];k[a+12+4>>2]=k[b+-12+4>>2];k[a+12+8>>2]=k[b+-12+8>>2];k[b+-12>>2]=k[m>>2];k[b+-12+4>>2]=k[m+4>>2];k[b+-12+8>>2]=k[m+8>>2];a=1;r=m;return a|0}case 4:{d8(a,a+12|0,a+24|0,b+-12|0)|0;a=1;r=m;return a|0}case 5:{e8(a,a+12|0,a+24|0,a+36|0,b+-12|0)|0;a=1;r=m;return a|0}case 1:case 0:{a=1;r=m;return a|0}default:{c=k[a+12>>2]|0;e=k[a>>2]|0;if((c|0)==(e|0))d=(k[a+16>>2]|0)<(k[a+4>>2]|0);else d=c>>>0>>0;f=k[a+24>>2]|0;if((f|0)==(c|0))c=(k[a+28>>2]|0)<(k[a+16>>2]|0);else c=f>>>0>>0;do if(d){if(c){k[m>>2]=k[a>>2];k[m+4>>2]=k[a+4>>2];k[m+8>>2]=k[a+8>>2];k[a>>2]=k[a+24>>2];k[a+4>>2]=k[a+24+4>>2];k[a+8>>2]=k[a+24+8>>2];k[a+24>>2]=k[m>>2];k[a+24+4>>2]=k[m+4>>2];k[a+24+8>>2]=k[m+8>>2];break};k[m>>2]=k[a>>2];k[m+4>>2]=k[a+4>>2];k[m+8>>2]=k[a+8>>2];k[a>>2]=k[a+12>>2];k[a+4>>2]=k[a+12+4>>2];k[a+8>>2]=k[a+12+8>>2];k[a+12>>2]=k[m>>2];k[a+12+4>>2]=k[m+4>>2];k[a+12+8>>2]=k[m+8>>2];c=k[a+12>>2]|0;if((f|0)==(c|0)){if((k[a+28>>2]|0)>=(k[a+16>>2]|0))break}else if(f>>>0>=c>>>0)break;k[m>>2]=k[a+12>>2];k[m+4>>2]=k[a+12+4>>2];k[m+8>>2]=k[a+12+8>>2];k[a+12>>2]=k[a+24>>2];k[a+12+4>>2]=k[a+24+4>>2];k[a+12+8>>2]=k[a+24+8>>2];k[a+24>>2]=k[m>>2];k[a+24+4>>2]=k[m+4>>2];k[a+24+8>>2]=k[m+8>>2]}else if(c){k[m>>2]=k[a+12>>2];k[m+4>>2]=k[a+12+4>>2];k[m+8>>2]=k[a+12+8>>2];k[a+12>>2]=k[a+24>>2];k[a+12+4>>2]=k[a+24+4>>2];k[a+12+8>>2]=k[a+24+8>>2];k[a+24>>2]=k[m>>2];k[a+24+4>>2]=k[m+4>>2];k[a+24+8>>2]=k[m+8>>2];c=k[a+12>>2]|0;if((c|0)==(e|0)){if((k[a+16>>2]|0)>=(k[a+4>>2]|0))break}else if(c>>>0>=e>>>0)break;k[m>>2]=k[a>>2];k[m+4>>2]=k[a+4>>2];k[m+8>>2]=k[a+8>>2];k[a>>2]=k[a+12>>2];k[a+4>>2]=k[a+12+4>>2];k[a+8>>2]=k[a+12+8>>2];k[a+12>>2]=k[m>>2];k[a+12+4>>2]=k[m+4>>2];k[a+12+8>>2]=k[m+8>>2]}while(0);a:do if((a+36|0)==(b|0)){d=1;c=0}else{c=0;j=a+36|0;e=a+24|0;while(1){i=k[j>>2]|0;d=k[e>>2]|0;if((i|0)==(d|0)){d=k[j+4>>2]|0;if((d|0)<(k[e+4>>2]|0))l=49}else if(i>>>0>>0){d=k[j+4>>2]|0;l=49}if((l|0)==49){l=0;h=k[j+8>>2]|0;k[j>>2]=k[e>>2];k[j+4>>2]=k[e+4>>2];k[j+8>>2]=k[e+8>>2];b:do if((e|0)==(a|0))e=a;else{g=e;while(1){e=g;g=g+-12|0;f=k[g>>2]|0;if((i|0)==(f|0)){if((d|0)>=(k[e+-8>>2]|0))break b}else if(i>>>0>=f>>>0)break b;k[e>>2]=k[g>>2];k[e+4>>2]=k[g+4>>2];k[e+8>>2]=k[g+8>>2];if((g|0)==(a|0)){e=a;break}}}while(0);k[e>>2]=i;k[e+4>>2]=d;k[e+8>>2]=h;c=c+1|0;if((c|0)==8){d=0;c=(j+12|0)==(b|0);break a}}d=j+12|0;if((d|0)==(b|0)){d=1;c=0;break}else{e=j;j=d}}}while(0);a=c|d;r=m;return a|0}}return 0}function g8(a){a=a|0;var b=0.0;if(k[a+92>>2]|0){b=0.0;return +b}b=+V(+(+(k[a+24>>2]|0)/1.25+.5));return +b}function h8(a){a=a|0;return +(+o[a+28>>2])}function i8(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=+d;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,l=0,m=0,n=0,p=0.0,q=0.0,s=0.0,u=0.0,v=0,w=0,x=0.0;w=r;r=r+112|0;o[w+80>>2]=d;o[w+76>>2]=0.0;v=k[(d<0.0?w+76|0:w+80|0)>>2]|0;k[w+80>>2]=v;n=k[b+132>>2]|0;k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;h=k[c+4>>2]|0;i=k[c>>2]|0;j=k[f>>2]|0;u=(k[t>>2]=v,+o[t>>2]);if((k[f+8>>2]|0)-j>>4>>>0<(h-i|0)>>>0){l=(k[f+4>>2]|0)-j|0;if((h|0)==(i|0))m=0;else m=kBb(h-i<<4)|0;v=m+(l>>4<<4)|0;ABb(v+(0-(l>>4)<<4)|0,j|0,l|0)|0;k[f>>2]=v+(0-(l>>4)<<4);k[f+4>>2]=v;k[f+8>>2]=m+(h-i<<4);if(j|0)CAb(j)}k[w+64>>2]=0;k[w+64+4>>2]=0;k[w+64+8>>2]=0;k[w+52>>2]=0;v=w+52+4|0;k[v>>2]=0;k[w+52+8>>2]=0;j8(b,c,u,w+52|0,w+64|0);k[w+48>>2]=0;h=k[w+52>>2]|0;a:do if(((k[v>>2]|0)-h|0)>0){p=0.0;m=0;d=0.0;while(1){l=h+(m*24|0)|0;q=+(k[(k[w+64>>2]|0)+(m<<2)>>2]|0);o[w+44>>2]=q;s=+V(+d);j=k[(q>2]|0;k[w+48>>2]=j;p=(k[t>>2]=j,+o[t>>2]);switch(e|0){case 2:{x=+V(+(u-q));q=0.0;h=(o[t>>2]=x,k[t>>2]|0);break}case 1:{x=+V(+((u-q)*.5));q=0.0;h=(o[t>>2]=x,k[t>>2]|0);break}case 3:{i=k[l>>2]|0;j=k[h+(m*24|0)+4>>2]|0;if((i|0)==(j|0)){q=0.0;h=0}else{h=0;do{h=((k[i>>2]|0)==32&1)+h|0;i=i+4|0}while((i|0)!=(j|0));if((h|0)>0&q>2]=h;o[w+4>>2]=s;k[w+96>>2]=k[w>>2];k[w+96+4>>2]=k[w+4>>2];_7(w+32|0,b,l,f,q,w+96|0,0);h=k[w+32>>2]|0;j=k[w+32+4>>2]|0;if((h|0)==(j|0))j=h;else{l=k[a+4>>2]|0;if((k[a>>2]|0)!=(l|0)){i=k[l+-4>>2]|0;if((k[l+-12>>2]|0)==(k[h>>2]|0))if(((k[l+-8>>2]|0)+i|0)==(k[h+4>>2]|0)){k[l+-4>>2]=(k[h+8>>2]|0)+i;h=h+12|0}}k[w+28>>2]=l;k[w+24>>2]=h;k[w+20>>2]=j;k[w+84>>2]=k[w+28>>2];k[w+88>>2]=k[w+24>>2];k[w+96>>2]=k[w+20>>2];o8(a,w+84|0,w+88|0,w+96|0)|0;j=k[w+32>>2]|0}d=d+ +(k[b+24>>2]|0)*+o[b+28>>2];h=j;if(j|0){i=k[w+32+4>>2]|0;if((i|0)!=(j|0))k[w+32+4>>2]=i+(~(((i+-12-h|0)>>>0)/12|0)*12|0);CAb(j)}m=m+1|0;h=k[w+52>>2]|0;if((m|0)>=(((k[v>>2]|0)-h|0)/24|0|0))break a}}else{p=0.0;d=0.0}while(0);if(g|0){k[g>>2]=~~p;k[g+4>>2]=~~d}if((n|0)!=(k[b+132>>2]|0)){h=k[f>>2]|0;i=k[f+4>>2]|0;if((i|0)!=(h|0))k[f+4>>2]=i+(~((i+-16-h|0)>>>4)<<4);i8(w+8|0,b,c,u,e,f,0);h=k[a>>2]|0;if(!h)h=a+8|0;else{i=k[a+4>>2]|0;if((i|0)!=(h|0))k[a+4>>2]=i+(~(((i+-12-h|0)>>>0)/12|0)*12|0);CAb(h);k[a+8>>2]=0;k[a+4>>2]=0;k[a>>2]=0;h=a+8|0}k[a>>2]=k[w+8>>2];k[a+4>>2]=k[w+8+4>>2];k[h>>2]=k[w+8+8>>2];k[w+8+8>>2]=0;k[w+8+4>>2]=0;k[w+8>>2]=0;h=k[w+52>>2]|0}if(h|0){i=k[v>>2]|0;if((i|0)!=(h|0)){do{j=i+-24|0;k[v>>2]=j;l=k[i+-12>>2]|0;if(l|0){m=i+-8|0;n=k[m>>2]|0;if((n|0)!=(l|0))k[m>>2]=n+(~((n+-8-l|0)>>>3)<<3);CAb(l)}l=k[j>>2]|0;if(l|0){i=i+-20|0;j=k[i>>2]|0;if((j|0)!=(l|0))k[i>>2]=j+(~((j+-4-l|0)>>>2)<<2);CAb(l)}i=k[v>>2]|0}while((i|0)!=(h|0));h=k[w+52>>2]|0}CAb(h)}h=k[w+64>>2]|0;if(!h){r=w;return}i=k[w+64+4>>2]|0;if((i|0)!=(h|0))k[w+64+4>>2]=i+(~((i+-4-h|0)>>>2)<<2);CAb(h);r=w;return}function j8(a,b,c,d,e){a=a|0;b=b|0;c=+c;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0.0,m=0.0,n=0,o=0,p=0,q=0.0,s=0,t=0,u=0,v=0.0,w=0,x=0.0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;H=r;r=r+48|0;A=((k[b+16>>2]|0)-(k[b+12>>2]|0)>>3)+-1|0;k[H+24>>2]=0;k[H+24+4>>2]=0;k[H+24+8>>2]=0;k[H+24+12>>2]=0;k[H+24+16>>2]=0;k[H+24+20>>2]=0;f=k[b>>2]|0;do if(((k[b+4>>2]|0)-f|0)>0){G=H+24+4|0;B=H+24+16|0;C=H+24+12|0;t=0;u=-1;h=-1;i=-1;n=-1;s=-1;w=0;z=-1;o=0;v=0.0;x=0.0;j=0.0;a:while(1){p=k[f+(w<<2)>>2]|0;k[H+20>>2]=p;if((s|0)<(A|0)){g=s+1|0;f=k[b+12>>2]|0;if((k[f+(g<<3)+4>>2]|0)==(w|0)){n=l[f+(g<<3)>>0]|l[f+(g<<3)+1>>0]<<8|l[f+(g<<3)+2>>0]<<16|l[f+(g<<3)+3>>0]<<24;t=1;u=n&255;y=n>>>8&255;i=n>>>16&255;n=n>>>24&255;s=g}else y=h}else y=h;do if((p|0)==10){o=k[d+4>>2]|0;if((o|0)==(k[d+8>>2]|0))l8(d,H+24|0);else{k8(o,H+24|0);k[o+12>>2]=0;k[o+16>>2]=0;k[o+20>>2]=0;f=(k[B>>2]|0)-(k[C>>2]|0)|0;if(f>>3|0){if(f>>3>>>0>536870911){E=11;break a}g=kBb(f)|0;k[o+16>>2]=g;k[o+12>>2]=g;k[o+20>>2]=g+(f>>3<<3);f=k[C>>2]|0;h=k[B>>2]|0;if((f|0)!=(h|0))do{p=f;t=k[p+4>>2]|0;z=g;k[z>>2]=k[p>>2];k[z+4>>2]=t;g=(k[o+16>>2]|0)+8|0;k[o+16>>2]=g;f=f+8|0}while((f|0)!=(h|0))}k[d+4>>2]=(k[d+4>>2]|0)+24}do if(e|0){f=~~(v-j);k[H+16>>2]=f;g=k[e+4>>2]|0;if(g>>>0<(k[e+8>>2]|0)>>>0){k[g>>2]=f;k[e+4>>2]=g+4;break}else{ll(e,H+16|0);break}}while(0);f=k[H+24>>2]|0;g=k[G>>2]|0;if((g|0)!=(f|0))k[G>>2]=g+(~((g+-4-f|0)>>>2)<<2);f=k[H+24+12>>2]|0;g=k[B>>2]|0;if((g|0)!=(f|0))k[B>>2]=g+(~((g+-8-f|0)>>>3)<<3);t=1;h=y;g=w+1|0;o=-1;p=0;m=0.0;q=0.0;j=0.0}else{g=k[a+56>>2]|0;b:do if(!g)E=39;else{if(!(g+-1&g))h=g+-1&p;else h=(p>>>0)%(g>>>0)|0;f=k[(k[a+52>>2]|0)+(h<<2)>>2]|0;if(!f)E=39;else{if(!(g+-1&g))do{f=k[f>>2]|0;if(!f){E=39;break b}if((k[f+4>>2]&g+-1|0)!=(h|0)){E=39;break b}}while((k[f+8>>2]|0)!=(p|0));else do{f=k[f>>2]|0;if(!f){E=39;break b}if((((k[f+4>>2]|0)>>>0)%(g>>>0)|0|0)!=(h|0)){E=39;break b}}while((k[f+8>>2]|0)!=(p|0));f=f+12|0}}while(0);if((E|0)==39){E=0;f=F7(a,p)|0}h=k[f+4>>2]|0;q=+(h|0)+ +R7(a,o,p);m=v+q;if(!(m>c&(p|0)!=32)){v=(o|0)!=32&(p|0)==32?v:x;do if(t){k[H>>2]=(i&255)<<16|(n&255)<<24|(y&255)<<8|u&255;k[H+4>>2]=(k[G>>2]|0)-(k[H+24>>2]|0)>>2;f=k[B>>2]|0;if(f>>>0<(k[H+24+20>>2]|0)>>>0){t=k[H+4>>2]|0;k[f>>2]=k[H>>2];k[f+4>>2]=t;k[B>>2]=(k[B>>2]|0)+8;break}else{n8(C,H);break}}while(0);f=k[G>>2]|0;if((f|0)==(k[H+24+8>>2]|0))E7(H+24|0,H+20|0);else{k[f>>2]=p;k[G>>2]=f+4}switch(p|0){case 32:{f=w;j=j+q;break}case 10:{f=z;break}default:{f=z;j=0.0}}t=0;h=y;g=w+1|0;o=f;q=v;break}p=k[H+24>>2]|0;f=k[G>>2]|0;if((p|0)==(f|0)){h=y;w=w+1|0;j=v}else if((z|0)==-1){h=y;j=v}else{g=f;do{g=g+-4|0;if((k[g>>2]|0)==32)break;k[G>>2]=g;f=g}while((p|0)!=(g|0));o=k[H+24+12>>2]|0;h=k[B>>2]|0;c:do if((o|0)!=(h|0)){g=f-p>>2;f=h;do{if((k[f+-4>>2]|0)<(g|0))break c;f=f+-8|0;k[B>>2]=f}while((o|0)!=(f|0))}while(0);d:do if((s|0)>-1){g=k[b+12>>2]|0;f=s;while(1){if((k[g+(f<<3)+4>>2]|0)<=(z|0))break;if((f|0)>0)f=f+-1|0;else{g=u;h=y;f=s;break d}}n=l[g+(f<<3)>>0]|l[g+(f<<3)+1>>0]<<8|l[g+(f<<3)+2>>0]<<16|l[g+(f<<3)+3>>0]<<24;g=n&255;h=n>>>8&255;i=n>>>16&255;n=n>>>24&255}else{g=u;h=y;f=s}while(0);u=g;s=f;w=z+1|0;j=x}p=k[d+4>>2]|0;if((p|0)==(k[d+8>>2]|0))l8(d,H+24|0);else{k8(p,H+24|0);k[p+12>>2]=0;k[p+16>>2]=0;k[p+20>>2]=0;f=(k[B>>2]|0)-(k[C>>2]|0)|0;if(f>>3|0){if(f>>3>>>0>536870911){E=60;break a}g=kBb(f)|0;k[p+16>>2]=g;k[p+12>>2]=g;k[p+20>>2]=g+(f>>3<<3);f=k[C>>2]|0;o=k[B>>2]|0;if((f|0)!=(o|0))do{t=f;y=k[t+4>>2]|0;z=g;k[z>>2]=k[t>>2];k[z+4>>2]=y;g=(k[p+16>>2]|0)+8|0;k[p+16>>2]=g;f=f+8|0}while((f|0)!=(o|0))}k[d+4>>2]=(k[d+4>>2]|0)+24}do if(e|0){f=~~j;k[H+12>>2]=f;g=k[e+4>>2]|0;if(g>>>0<(k[e+8>>2]|0)>>>0){k[g>>2]=f;k[e+4>>2]=g+4;break}else{ll(e,H+12|0);break}}while(0);f=k[H+24>>2]|0;g=k[G>>2]|0;if((g|0)!=(f|0))k[G>>2]=g+(~((g+-4-f|0)>>>2)<<2);f=k[H+24+12>>2]|0;g=k[B>>2]|0;if((g|0)==(f|0)){t=1;g=w;o=-1;p=0;m=0.0;q=0.0;j=0.0}else{k[B>>2]=g+(~((g+-8-f|0)>>>3)<<3);t=1;g=w;o=-1;p=0;m=0.0;q=0.0;j=0.0}}while(0);f=k[b>>2]|0;if((g|0)>=((k[b+4>>2]|0)-f>>2|0)){E=86;break}else{w=g;z=o;o=p;v=m;x=q}}if((E|0)==11)xzb(o+12|0);else if((E|0)==60)xzb(p+12|0);else if((E|0)==86){if((k[H+24>>2]|0)==(k[G>>2]|0)){D=H+24|0;F=G;break}i=k[d+4>>2]|0;if((i|0)==(k[d+8>>2]|0))l8(d,H+24|0);else{k8(i,H+24|0);k[i+12>>2]=0;k[i+16>>2]=0;k[i+20>>2]=0;f=(k[H+24+16>>2]|0)-(k[H+24+12>>2]|0)|0;if(f>>3|0){if(f>>3>>>0>536870911)xzb(i+12|0);g=kBb(f)|0;k[i+16>>2]=g;k[i+12>>2]=g;k[i+20>>2]=g+(f>>3<<3);f=k[H+24+12>>2]|0;h=k[H+24+16>>2]|0;if((f|0)!=(h|0))do{D=f;E=k[D+4>>2]|0;F=g;k[F>>2]=k[D>>2];k[F+4>>2]=E;g=(k[i+16>>2]|0)+8|0;k[i+16>>2]=g;f=f+8|0}while((f|0)!=(h|0))}k[d+4>>2]=(k[d+4>>2]|0)+24}if(!e){D=H+24|0;F=G;break}k[H+8>>2]=~~(m-j);f=k[e+4>>2]|0;if(f>>>0<(k[e+8>>2]|0)>>>0){k[f>>2]=~~(m-j);k[e+4>>2]=f+4;D=H+24|0;F=G;break}else{ll(e,H+8|0);D=H+24|0;F=G;break}}}else{D=H+24|0;F=H+24+4|0}while(0);f=k[H+24+12>>2]|0;if(f|0){g=k[H+24+16>>2]|0;if((g|0)!=(f|0))k[H+24+16>>2]=g+(~((g+-8-f|0)>>>3)<<3);CAb(f)}f=k[D>>2]|0;if(!f){r=H;return}g=k[F>>2]|0;if((g|0)!=(f|0))k[F>>2]=g+(~((g+-4-f|0)>>>2)<<2);CAb(f);r=H;return}function k8(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;c=(k[b+4>>2]|0)-(k[b>>2]|0)|0;if(!(c>>2))return;if(c>>2>>>0>1073741823)xzb(a);f=kBb(c)|0;k[a+4>>2]=f;k[a>>2]=f;k[a+8>>2]=f+(c>>2<<2);e=k[b>>2]|0;b=k[b+4>>2]|0;if((e|0)==(b|0))return;c=e;d=f;while(1){k[d>>2]=k[c>>2];c=c+4|0;if((c|0)==(b|0))break;else d=d+4|0}k[a+4>>2]=f+(((b+-4-e|0)>>>2)+1<<2);return}function l8(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=k[a>>2]|0;d=(((k[a+4>>2]|0)-e|0)/24|0)+1|0;if(d>>>0>178956970)xzb(a);c=((k[a+8>>2]|0)-e|0)/24|0;if(c>>>0<89478485){c=c<<1>>>0>>0?d:c<<1;d=((k[a+4>>2]|0)-e|0)/24|0;if(!c){e=0;c=0}else f=6}else{c=178956970;d=((k[a+4>>2]|0)-e|0)/24|0;f=6}if((f|0)==6){e=c;c=kBb(c*24|0)|0}h=c+(d*24|0)|0;g=c+(e*24|0)|0;k8(h,b);m8(c+(d*24|0)+12|0,b+12|0);f=k[a>>2]|0;c=k[a+4>>2]|0;if((c|0)==(f|0)){d=h;b=f;c=f}else{e=h;d=h;do{i=e+-24|0;b=c;c=c+-24|0;k[i>>2]=0;j=e+-20|0;k[j>>2]=0;k[e+-16>>2]=0;k[i>>2]=k[c>>2];k[j>>2]=k[b+-20>>2];k[e+-16>>2]=k[b+-16>>2];k[b+-16>>2]=0;k[b+-20>>2]=0;k[c>>2]=0;j=e+-12|0;k[j>>2]=0;i=e+-8|0;k[i>>2]=0;k[e+-4>>2]=0;k[j>>2]=k[b+-12>>2];k[i>>2]=k[b+-8>>2];k[e+-4>>2]=k[b+-4>>2];k[b+-4>>2]=0;k[b+-8>>2]=0;k[b+-12>>2]=0;e=d+-24|0;d=e}while((c|0)!=(f|0));b=k[a>>2]|0;c=k[a+4>>2]|0}k[a>>2]=d;k[a+4>>2]=h+24;k[a+8>>2]=g;g=b;if((c|0)!=(g|0)){e=c;do{f=e;e=e+-24|0;c=k[f+-12>>2]|0;if(c|0){d=k[f+-8>>2]|0;if((d|0)!=(c|0))k[f+-8>>2]=d+(~((d+-8-c|0)>>>3)<<3);CAb(c)}c=k[e>>2]|0;if(c|0){d=k[f+-20>>2]|0;if((d|0)!=(c|0))k[f+-20>>2]=d+(~((d+-4-c|0)>>>2)<<2);CAb(c)}}while((e|0)!=(g|0))}if(!b)return;CAb(b);return}function m8(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;d=(k[b+4>>2]|0)-(k[b>>2]|0)|0;if(!(d>>3))return;if(d>>3>>>0>536870911)xzb(a);c=kBb(d)|0;k[a+4>>2]=c;k[a>>2]=c;k[a+8>>2]=c+(d>>3<<3);d=k[b>>2]|0;b=k[b+4>>2]|0;if((d|0)==(b|0))return;do{g=d;f=k[g+4>>2]|0;e=c;k[e>>2]=k[g>>2];k[e+4>>2]=f;c=(k[a+4>>2]|0)+8|0;k[a+4>>2]=c;d=d+8|0}while((d|0)!=(b|0));return}function n8(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=k[a>>2]|0;d=((k[a+4>>2]|0)-i>>3)+1|0;if(d>>>0>536870911)xzb(a);c=(k[a+8>>2]|0)-i|0;if(c>>3>>>0<268435455){c=c>>2>>>0>>0?d:c>>2;e=k[a+4>>2]|0;if(!c){h=0;f=0;d=e-i>>3;c=e}else{g=e;d=e-i>>3;j=6}}else{d=k[a+4>>2]|0;c=536870911;g=d;d=d-i>>3;j=6}if((j|0)==6){h=c;f=kBb(c<<3)|0;c=g}j=f+(d<<3)|0;g=k[b+4>>2]|0;k[j>>2]=k[b>>2];k[j+4>>2]=g;b=c-i|0;ABb(j+(0-(b>>3)<<3)|0,i|0,b|0)|0;k[a>>2]=j+(0-(b>>3)<<3);k[a+4>>2]=j+8;k[a+8>>2]=f+(h<<3);if(!i)return;CAb(i);return}function o8(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0;i=k[a>>2]|0;m=i+((((k[b>>2]|0)-i|0)/12|0)*12|0)|0;j=k[c>>2]|0;l=k[d>>2]|0;if((l-j|0)<=0){a=m;return a|0}d=k[a+8>>2]|0;h=k[a+4>>2]|0;if(((l-j|0)/12|0|0)<=((d-h|0)/12|0|0)){if(((l-j|0)/12|0|0)>((h-m|0)/12|0|0)){g=j+(((h-m|0)/12|0)*12|0)|0;if((g|0)==(l|0))b=h;else{b=h;d=g;do{k[b>>2]=k[d>>2];k[b+4>>2]=k[d+4>>2];k[b+8>>2]=k[d+8>>2];b=(k[a+4>>2]|0)+12|0;k[a+4>>2]=b;d=d+12|0}while((d|0)!=(l|0))}if((h-m|0)<=0){a=m;return a|0}}else{b=h;g=l}e=b-(m+(((l-j|0)/12|0)*12|0))|0;if((m+(((e|0)/12|0)*12|0)|0)>>>0>>0){d=b;f=m+(((e|0)/12|0)*12|0)|0;do{k[d>>2]=k[f>>2];k[d+4>>2]=k[f+4>>2];k[d+8>>2]=k[f+8>>2];f=f+12|0;d=(k[a+4>>2]|0)+12|0;k[a+4>>2]=d}while(f>>>0>>0)}BBb(b+(((e|0)/-12|0)*12|0)|0,m|0,e|0)|0;a=k[c>>2]|0;BBb(m|0,a|0,g-a|0)|0;a=m;return a|0}b=((h-i|0)/12|0)+((l-j|0)/12|0)|0;if(b>>>0>357913941)xzb(a);if(((d-i|0)/12|0)>>>0<178956970){b=((d-i|0)/12|0)<<1>>>0>>0?b:((d-i|0)/12|0)<<1;if(!b){f=0;b=0;d=(m-i|0)/12|0;h=m}else{d=(m-i|0)/12|0;e=m;g=15}}else{b=357913941;d=(m-i|0)/12|0;e=m;g=15}if((g|0)==15){f=b;b=kBb(b*12|0)|0;h=e}g=b+(d*12|0)|0;f=b+(f*12|0)|0;if((j|0)==(l|0)){b=i;d=g}else{e=g;b=j;d=g;do{k[e>>2]=k[b>>2];k[e+4>>2]=k[b+4>>2];k[e+8>>2]=k[b+8>>2];e=d+12|0;d=e;b=b+12|0}while((b|0)!=(l|0));b=k[a>>2]|0}j=h-b|0;ABb(g+(((j|0)/-12|0)*12|0)|0,b|0,j|0)|0;l=(k[a+4>>2]|0)-h|0;ABb(d|0,m|0,l|0)|0;b=k[a>>2]|0;k[a>>2]=g+(((j|0)/-12|0)*12|0);k[a+4>>2]=d+(((l|0)/12|0)*12|0);k[a+8>>2]=f;if(!b){a=g;return a|0}CAb(b);a=g;return a|0}function p8(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;h=r;r=r+16|0;d=k[b>>2]|0;f=k[b+4>>2]|0;if((d|0)==(f|0))f=a+128|0;else{e=0;do{g=(k[d+8>>2]|0)+(k[d+4>>2]|0)|0;e=(g|0)<(e|0)?e:g;d=d+12|0}while((d|0)!=(f|0));if(e>>>2>>>0>(d9(a+128|0)|0)>>>0){Y8(h,e>>>2);b9(a+128|0,h)|0;c9(h);f=a+128|0}else f=a+128|0}lda(631144);a=$8(f,k[157701]|0)|0;g=f9(f)|0;if(c)U8(g9(f)|0);d=k[b>>2]|0;e=k[b+4>>2]|0;if((d|0)!=(e|0))if(c)do{i=((k[d+8>>2]|0)/4|0)*6|0;b=ha(g*6|0,(k[d+4>>2]|0)/4|0)|0;gda(631144,k[d>>2]|0);nda(631144,4,i,a,h9(f,b)|0);d=d+12|0}while((d|0)!=(e|0));else do{b=((k[d+8>>2]|0)/4|0)*6|0;i=ha(g*6|0,(k[d+4>>2]|0)/4|0)|0;gda(631144,k[d>>2]|0);nda(631144,4,b,a,i9(f,i)|0);d=d+12|0}while((d|0)!=(e|0));if(!c){r=h;return}V8(g9(f)|0);r=h;return}function q8(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if((k[d>>2]|0)==(k[d+4>>2]|0))return;if((k[c>>2]|0)==(k[c+4>>2]|0))return;hda(631144);Wua(kda(631144)|0,b);Ti[k[164011]&63](0,2,5126,0,16,k[d>>2]|0);Ti[k[164011]&63](1,2,5123,1,16,(k[d>>2]|0)+8|0);Ti[k[164011]&63](2,4,5121,1,16,(k[d>>2]|0)+12|0);eda(631144,7);p8(a,c,0);jda(631144);return}function r8(a,b,c,d,e,f,g,h,i,j,l){a=a|0;b=b|0;c=+c;d=+d;e=+e;f=+f;g=+g;h=+h;i=+i;j=+j;l=+l;var m=0;m=r;r=r+128|0;k[m+32>>2]=0;k[m+32+4>>2]=0;k[m+32+8>>2]=0;k[m+32+12>>2]=0;k[m+32+16>>2]=0;k[m+32+20>>2]=0;X7(b,m+32|0);k[m+20>>2]=0;k[m+20+4>>2]=0;k[m+20+8>>2]=0;o[m>>2]=0.0;o[m+4>>2]=0.0;k[m+56>>2]=k[m>>2];k[m+56+4>>2]=k[m+4>>2];_7(m+8|0,a,m+32|0,m+20|0,0.0,m+56|0,0);Tua(m+56|0,c,d,e,f,g,h,i,j,l);q8(a,m+56|0,m+8|0,m+20|0);b=k[m+8>>2]|0;if(b|0){a=k[m+8+4>>2]|0;if((a|0)!=(b|0))k[m+8+4>>2]=a+(~(((a+-12-b|0)>>>0)/12|0)*12|0);CAb(b)}b=k[m+20>>2]|0;if(b|0){a=k[m+20+4>>2]|0;if((a|0)!=(b|0))k[m+20+4>>2]=a+(~((a+-16-b|0)>>>4)<<4);CAb(b)}b=k[m+32+12>>2]|0;if(b|0){a=k[m+32+16>>2]|0;if((a|0)!=(b|0))k[m+32+16>>2]=a+(~((a+-8-b|0)>>>3)<<3);CAb(b)}b=k[m+32>>2]|0;if(!b){r=m;return}a=k[m+32+4>>2]|0;if((a|0)!=(b|0))k[m+32+4>>2]=a+(~((a+-4-b|0)>>>2)<<2);CAb(b);r=m;return}function s8(a,b,c,d,e,f,g,h,i,j,l,m,n){a=a|0;b=b|0;c=+c;d=+d;e=+e;f=f|0;g=+g;h=+h;i=+i;j=+j;l=+l;m=+m;n=+n;var o=0;o=r;r=r+112|0;k[o+88>>2]=0;k[o+88+4>>2]=0;k[o+88+8>>2]=0;k[o+88+12>>2]=0;k[o+88+16>>2]=0;k[o+88+20>>2]=0;X7(b,o+88|0);k[o+76>>2]=0;k[o+76+4>>2]=0;k[o+76+8>>2]=0;i8(o+64|0,a,o+88|0,e,f,o+76|0,0);Tua(o,c,d,g,h,i,j,l,m,n);q8(a,o,o+64|0,o+76|0);f=k[o+64>>2]|0;if(f|0){b=k[o+64+4>>2]|0;if((b|0)!=(f|0))k[o+64+4>>2]=b+(~(((b+-12-f|0)>>>0)/12|0)*12|0);CAb(f)}f=k[o+76>>2]|0;if(f|0){b=k[o+76+4>>2]|0;if((b|0)!=(f|0))k[o+76+4>>2]=b+(~((b+-16-f|0)>>>4)<<4);CAb(f)}f=k[o+88+12>>2]|0;if(f|0){b=k[o+88+16>>2]|0;if((b|0)!=(f|0))k[o+88+16>>2]=b+(~((b+-8-f|0)>>>3)<<3);CAb(f)}f=k[o+88>>2]|0;if(!f){r=o;return}b=k[o+88+4>>2]|0;if((b|0)!=(f|0))k[o+88+4>>2]=b+(~((b+-4-f|0)>>>2)<<2);CAb(f);r=o;return}function t8(a,b){a=a|0;b=b|0;var c=0,d=0,e=0.0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0;q=r;r=r+176|0;o=i[b>>0]|0;if(!(((o&1)==0?(o&255)>>>1:k[b+4>>2]|0)|0)){p=0;r=q;return p|0}n=q+24+8|0;k[q+24>>2]=23600;k[q+24+60>>2]=23620;k[q+24+4>>2]=0;Fsb(q+24+60|0,n);k[q+24+132>>2]=0;k[q+24+136>>2]=-1;k[q+24>>2]=23560;k[q+24+60>>2]=23580;Hsb(n);k[n>>2]=9220;o=q+24+40|0;k[o>>2]=0;k[o+4>>2]=0;k[o+8>>2]=0;k[o+12>>2]=0;k[q+24+56>>2]=8;ok(n,b);k[q+12>>2]=0;k[q+12+4>>2]=0;k[q+12+8>>2]=0;b=0;a:while(1){m=vv(q+24|0,q+12|0,10)|0;if(k[m+(k[(k[m>>2]|0)+-12>>2]|0)+16>>2]&5|0){p=25;break}l=i[q+12>>0]|0;j=(l&1)==0?q+12+1|0:k[q+12+8>>2]|0;l=(l&1)==0?(l&255)>>>1:k[q+12+4>>2]|0;k[q>>2]=j;k[q+4>>2]=j;k[q+8>>2]=j+l;if((l|0)<0){p=5;break}else{f=j+l|0;m=0;c=0}while(1){d=k[q>>2]|0;if((d|0)==(j+l|0))break;k[q+168>>2]=f;k[q+172>>2]=k[q+168>>2];Y5(q,q+172|0)|0;k[q+168>>2]=d;k[q+164>>2]=f;k[q+172>>2]=k[q+164>>2];h=m;m=Y5(q+168|0,q+172|0)|0;f=k[a+56>>2]|0;b:do if(!f)p=21;else{if(!(f+-1&f))g=f+-1&m;else g=(m>>>0)%(f>>>0)|0;d=k[(k[a+52>>2]|0)+(g<<2)>>2]|0;if(!d)p=21;else{if(!(f+-1&f))do{d=k[d>>2]|0;if(!d){p=21;break b}if((k[d+4>>2]&f+-1|0)!=(g|0)){p=21;break b}}while((k[d+8>>2]|0)!=(m|0));else do{d=k[d>>2]|0;if(!d){p=21;break b}if((((k[d+4>>2]|0)>>>0)%(f>>>0)|0|0)!=(g|0)){p=21;break b}}while((k[d+8>>2]|0)!=(m|0));d=d+12|0}}while(0);if((p|0)==21){p=0;d=F7(a,m)|0}d=k[d+4>>2]|0;e=+R7(a,h,m);if((k[q+4>>2]|0)!=(j|0)){p=6;break a}f=k[q+8>>2]|0;if((f|0)!=(j+l|0)){p=6;break a}else c=~~(+(c|0)+(+(d|0)+e))}b=(b|0)<(c|0)?c:b}if((p|0)==5){q=xf(8)|0;Rqb(q,432306);k[q>>2]=156212;Jc(q|0,9016,680)}else if((p|0)==6){q=xf(8)|0;Rqb(q,432338);Jc(q|0,9e3,680)}else if((p|0)==25){_qb(q+12|0);k[q+24>>2]=23560;k[q+24+60>>2]=23580;k[n>>2]=9220;_qb(o);Irb(n);Erb(q+24+60|0);p=b;r=q;return p|0}return 0}function u8(a){a=a|0;k[a>>2]=23560;k[a+60>>2]=23580;k[a+8>>2]=9220;_qb(a+40|0);Irb(a+8|0);Erb(a+60|0);return}function v8(a){a=a|0;k[a>>2]=23560;k[a+60>>2]=23580;k[a+8>>2]=9220;_qb(a+40|0);Irb(a+8|0);Erb(a+60|0);CAb(a);return}function w8(a){a=a|0;a=a+(k[(k[a>>2]|0)+-12>>2]|0)|0;k[a>>2]=23560;k[a+60>>2]=23580;k[a+8>>2]=9220;_qb(a+40|0);Irb(a+8|0);Erb(a+60|0);return}function x8(a){a=a|0;a=a+(k[(k[a>>2]|0)+-12>>2]|0)|0;k[a>>2]=23560;k[a+60>>2]=23580;k[a+8>>2]=9220;_qb(a+40|0);Irb(a+8|0);Erb(a+60|0);CAb(a);return}function y8(a,b,c,d,e){a=a|0;b=b|0;c=+c;d=d|0;e=e|0;var f=0,g=0,h=0,j=0;j=r;r=r+64|0;k[j+24>>2]=0;k[j+24+4>>2]=0;k[j+24+8>>2]=0;k[j+24+12>>2]=0;k[j+24+16>>2]=0;k[j+24+20>>2]=0;X7(b,j+24|0);k[j+12>>2]=0;h=j+12+4|0;k[h>>2]=0;k[j+12+8>>2]=0;j8(a,j+24|0,c,j+12|0,e);k[j>>2]=0;k[j+4>>2]=0;k[j+8>>2]=0;b=k[j+12>>2]|0;g=k[h>>2]|0;a:do if((b|0)!=(g|0)){e=0;while(1){if(!(e&1)){i[j+1>>0]=0;i[j>>0]=0}else{i[k[j+8>>2]>>0]=0;k[j+4>>2]=0}f=b+4|0;crb(j,(k[f>>2]|0)-(k[b>>2]|0)>>2);e=k[b>>2]|0;f=k[f>>2]|0;if((e|0)!=(f|0))do{a=k[e>>2]|0;i[j+48>>0]=0;i[j+48+1>>0]=0;i[j+48+2>>0]=0;i[j+48+3>>0]=0;i[j+48+4>>0]=0;do if(a>>>0<128){i[j+48>>0]=a;a=j+48+1|0}else{if(a>>>0<2048){i[j+48>>0]=a>>>6|192;i[j+48+1>>0]=a&63|128;a=j+48+2|0;break}if(a>>>0<65536){i[j+48>>0]=a>>>12|224;i[j+48+1>>0]=a>>>6&63|128;i[j+48+2>>0]=a&63|128;a=j+48+3|0;break}else{i[j+48>>0]=a>>>18|240;i[j+48+1>>0]=a>>>12&63|128;i[j+48+2>>0]=a>>>6&63|128;i[j+48+3>>0]=a&63|128;a=j+48+4|0;break}}while(0);hrb(j,j+48|0,a-(j+48)|0)|0;e=e+4|0}while((e|0)!=(f|0));e=k[d+4>>2]|0;if((e|0)==(k[d+8>>2]|0))wv(d,j);else{Vqb(e,j);k[d+4>>2]=(k[d+4>>2]|0)+12}b=b+24|0;if((b|0)==(g|0))break a;e=i[j>>0]|0}}while(0);_qb(j);b=k[j+12>>2]|0;if(b|0){e=k[h>>2]|0;if((e|0)!=(b|0)){do{a=e+-24|0;k[h>>2]=a;f=k[e+-12>>2]|0;if(f|0){g=e+-8|0;d=k[g>>2]|0;if((d|0)!=(f|0))k[g>>2]=d+(~((d+-8-f|0)>>>3)<<3);CAb(f)}f=k[a>>2]|0;if(f|0){e=e+-20|0;a=k[e>>2]|0;if((a|0)!=(f|0))k[e>>2]=a+(~((a+-4-f|0)>>>2)<<2);CAb(f)}e=k[h>>2]|0}while((e|0)!=(b|0));b=k[j+12>>2]|0}CAb(b)}b=k[j+24+12>>2]|0;if(b|0){e=k[j+24+16>>2]|0;if((e|0)!=(b|0))k[j+24+16>>2]=e+(~((e+-8-b|0)>>>3)<<3);CAb(b)}b=k[j+24>>2]|0;if(!b){r=j;return}e=k[j+24+4>>2]|0;if((e|0)!=(b|0))k[j+24+4>>2]=e+(~((e+-4-b|0)>>>2)<<2);CAb(b);r=j;return}function z8(a,b){a=a|0;b=+b;o[a+28>>2]=b;return}function A8(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+16|0;if(!(fD(b,0)|0)){a=xf(16)|0;os(a,437040,d);Jc(a|0,96,27)}k[a+96>>2]=k[b>>2];k[a+96+4>>2]=k[b+4>>2];k[a+96+8>>2]=k[b+8>>2];k[a+96+12>>2]=k[b+12>>2];b=k[a+40>>2]|0;c=k[a+44>>2]|0;if((b|0)==(c|0)){r=d;return}do{gda(631144,k[b>>2]|0);Bda(631144,a+96|0);b=b+4|0}while((b|0)!=(c|0));r=d;return}function B8(a){a=a|0;return a+96|0}function C8(a){a=a|0;a=k[k[a+12>>2]>>2]|0;return Gi[k[(k[a>>2]|0)+24>>2]&2047](a)|0}function D8(a){a=a|0;a=k[k[a+12>>2]>>2]|0;return Gi[k[(k[a>>2]|0)+28>>2]&2047](a)|0}function E8(a,b){a=a|0;b=b|0;var c=0,d=0;c=k[a+12>>2]|0;a=k[a+16>>2]|0;if((c|0)==(a|0)){b=0;return b|0}while(1){d=k[c>>2]|0;c=c+4|0;if(gj[k[(k[d>>2]|0)+48>>2]&511](d,b)|0){c=1;a=4;break}if((c|0)==(a|0)){c=0;a=4;break}}if((a|0)==4)return c|0;return 0}function F8(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=r;r=r+32|0;c=i[b>>0]|0;f=(c&1)==0?(c&255)>>>1:k[b+4>>2]|0;if(!f){r=g;return 0}e=(c&1)==0?b+1|0:k[b+8>>2]|0;k[g>>2]=e;k[g+4>>2]=e;k[g+8>>2]=e+f;if((f|0)<0){g=xf(8)|0;Rqb(g,432306);k[g>>2]=156212;Jc(g|0,9016,680)}if(!f){a=1;r=g;return a|0}else{c=e+f|0;b=e}a:while(1){k[g+16>>2]=c;k[g+20>>2]=k[g+16>>2];Y5(g,g+20|0)|0;k[g+16>>2]=b;k[g+12>>2]=c;k[g+20>>2]=k[g+12>>2];b=Y5(g+16|0,g+20|0)|0;c=k[a+12>>2]|0;d=k[a+16>>2]|0;if((c|0)==(d|0)){c=0;b=11;break}while(1){h=k[c>>2]|0;c=c+4|0;if(gj[k[(k[h>>2]|0)+48>>2]&511](h,b)|0)break;if((c|0)==(d|0)){c=0;b=11;break a}}c=k[g+8>>2]|0;if(!((c|0)==(e+f|0)?(k[g+4>>2]|0)==(e|0):0)){b=7;break}b=k[g>>2]|0;if((b|0)==(e+f|0)){c=1;b=11;break}}if((b|0)==7){h=xf(8)|0;Rqb(h,432338);Jc(h|0,9e3,680)}else if((b|0)==11){r=g;return c|0}return 0}function G8(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=r;r=r+16|0;c=k[b>>2]|0;d=k[b+4>>2]|0;a:do if((c|0)!=(d|0)){e=k[a+92>>2]|0;while(1){if((k[(k[c>>2]|0)+92>>2]|0)!=(e|0))break;c=c+4|0;if((c|0)==(d|0))break a}a=xf(16)|0;os(a,432464,f);Jc(a|0,96,27)}while(0);c=k[a+16>>2]|0;e=k[a+12>>2]|0;if(!(c-e>>2))H8(a+12|0,1);else if(c-e>>2>>>0>1)if((c|0)!=(e+4|0))do{c=c+-4|0;k[a+16>>2]=c;d=k[c>>2]|0;if(d){Si[k[(k[d>>2]|0)+12>>2]&1023](d);c=k[a+16>>2]|0}}while((c|0)!=(e+4|0));c=k[b>>2]|0;b=k[b+4>>2]|0;if((c|0)==(b|0)){r=f;return}do{e=k[(k[c>>2]|0)+12>>2]|0;d=k[a+16>>2]|0;if((d|0)==(k[a+20>>2]|0))I8(a+12|0,e);else{e=k[e>>2]|0;k[d>>2]=e;if(e){Si[k[(k[e>>2]|0)+8>>2]&1023](e);d=k[a+16>>2]|0}k[a+16>>2]=d+4}c=c+4|0}while((c|0)!=(b|0));r=f;return}function H8(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=k[a+8>>2]|0;d=k[a+4>>2]|0;if(c-d>>2>>>0>=b>>>0){vBb(d|0,0,b<<2|0)|0;k[a+4>>2]=d+(b<<2);return}i=k[a>>2]|0;if(((d-i>>2)+b|0)>>>0>1073741823)xzb(a);if(c-i>>2>>>0<536870911){d=c-i>>1>>>0<((d-i>>2)+b|0)>>>0?(d-i>>2)+b|0:c-i>>1;c=k[a+4>>2]|0;if(!d){g=0;f=0;d=c-i>>2}else{e=c;c=c-i>>2;h=8}}else{c=k[a+4>>2]|0;d=1073741823;e=c;c=c-i>>2;h=8}if((h|0)==8){g=d;f=kBb(d<<2)|0;d=c;c=e}h=f+(d<<2)|0;g=f+(g<<2)|0;vBb(h|0,0,b<<2|0)|0;if((c|0)==(i|0)){d=h;f=i}else{f=h;d=h;do{c=c+-4|0;e=k[c>>2]|0;k[f+-4>>2]=e;if(e|0)Si[k[(k[e>>2]|0)+8>>2]&1023](e);f=d+-4|0;d=f}while((c|0)!=(i|0));f=k[a>>2]|0;c=k[a+4>>2]|0}k[a>>2]=d;k[a+4>>2]=h+(b<<2);k[a+8>>2]=g;e=f;if((c|0)!=(e|0))do{c=c+-4|0;d=k[c>>2]|0;if(d|0)Si[k[(k[d>>2]|0)+12>>2]&1023](d)}while((c|0)!=(e|0));if(!f)return;CAb(f);return}function I8(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=k[a>>2]|0;d=((k[a+4>>2]|0)-g>>2)+1|0;if(d>>>0>1073741823)xzb(a);c=(k[a+8>>2]|0)-g|0;if(c>>2>>>0<536870911){c=c>>1>>>0>>0?d:c>>1;e=k[a+4>>2]|0;if(!c){h=0;c=0;d=e-g>>2}else{f=e;d=e-g>>2;i=6}}else{d=k[a+4>>2]|0;c=1073741823;f=d;d=d-g>>2;i=6}if((i|0)==6){h=c;c=kBb(c<<2)|0;e=f}i=c+(d<<2)|0;h=c+(h<<2)|0;c=k[b>>2]|0;k[i>>2]=c;if(!c)c=e;else{Si[k[(k[c>>2]|0)+8>>2]&1023](c);c=k[a+4>>2]|0;g=k[a>>2]|0}if((c|0)==(g|0)){d=i;f=c}else{e=c;f=i;c=i;do{e=e+-4|0;d=k[e>>2]|0;k[f+-4>>2]=d;if(d|0)Si[k[(k[d>>2]|0)+8>>2]&1023](d);f=c+-4|0;c=f}while((e|0)!=(g|0));d=c;f=k[a>>2]|0;c=k[a+4>>2]|0}k[a>>2]=d;k[a+4>>2]=i+4;k[a+8>>2]=h;e=f;if((c|0)!=(e|0))do{c=c+-4|0;d=k[c>>2]|0;if(d|0)Si[k[(k[d>>2]|0)+12>>2]&1023](d)}while((c|0)!=(e|0));if(!f)return;CAb(f);return}function J8(a){a=a|0;return k[a+132>>2]|0}function K8(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0;c=i[a>>0]|0;if(!(c<<24>>24))d=5381;else{e=a;d=5381;do{e=e+1|0;d=(d*33|0)+(c<<24>>24)|0;c=i[e>>0]|0}while(c<<24>>24!=0)}h=0;while(1){g=h+d&7;if(!(i[630692+(g*12|0)+8>>0]|0)){c=1;d=0;j=11;break}e=k[630692+(g*12|0)>>2]|0;f=i[e>>0]|0;a:do if(!(f<<24>>24)){c=a;j=8}else{c=a;while(1){l=i[c>>0]|0;if(!(l<<24>>24?f<<24>>24==l<<24>>24:0))break a;e=e+1|0;c=c+1|0;f=i[e>>0]|0;if(!(f<<24>>24)){j=8;break}}}while(0);if((j|0)==8){j=0;if(!(i[c>>0]|0)){j=9;break}}h=h+1|0;if(h>>>0>=8){c=0;d=0;j=11;break}}if((j|0)==9){k[b>>2]=k[630692+(g*12|0)+4>>2];j=1;l=1;l=j&l;return l|0}else if((j|0)==11){l=c&d;return l|0}return 0}function L8(a){a=a|0;var b=0;k[a>>2]=23636;if(k[a+20>>2]|0){i[a+5>>0]=0;Di[k[164450]&511](1,a+20|0);k[a+20>>2]=0}b=k[a+24>>2]|0;if(!b){Oga(a);return}oBb(b);Oga(a);return}function M8(a){a=a|0;var b=0;k[a>>2]=23636;if(k[a+20>>2]|0){i[a+5>>0]=0;Di[k[164450]&511](1,a+20|0);k[a+20>>2]=0}b=k[a+24>>2]|0;if(!b){Oga(a);CAb(a);return}oBb(b);Oga(a);CAb(a);return}function N8(a){a=a|0;O8(a,1)|0;return 1}function O8(a,b){a=a|0;b=b|0;Di[k[164426]&511](1,a+20|0);if(!(i[a+5>>0]|0)){Di[k[164626]&511](k[a+12>>2]|0,k[a+20>>2]|0);i[a+4>>0]=1}if(b)b=k[a+24>>2]|0;else b=0;vj[k[164634]&127](k[a+12>>2]|0,k[a+8>>2]|0,b,k[a+16>>2]|0);if(!(i[a+4>>0]|0)){i[a+4>>0]=0;return 1}Di[k[164626]&511](k[a+12>>2]|0,0);i[a+4>>0]=0;return 1}function P8(a){a=a|0;i[a+5>>0]=0;Di[k[164450]&511](1,a+20|0);k[a+20>>2]=0;return}function Q8(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;Sga(a);k[a>>2]=23636;i[a+4>>0]=0;i[a+5>>0]=0;k[a+8>>2]=b;k[a+12>>2]=d;k[a+16>>2]=e;k[a+20>>2]=0;k[a+20+4>>2]=0;k[a+20+8>>2]=0;k[a+20+12>>2]=0;k[a+36>>2]=f;f=mBb(b)|0;k[a+24>>2]=f;if(!c){O8(a,(c|0)!=0)|0;return}ABb(f|0,c|0,b|0)|0;O8(a,(c|0)!=0)|0;return}function R8(a){a=a|0;if(!(i[a+5>>0]|0)){i[a+5>>0]=1;k[a+28>>2]=0;k[a+32>>2]=0}return k[a+24>>2]|0}function S8(a){a=a|0;var b=0,c=0,d=0,e=0;if(!(i[a+5>>0]|0))return;if(!(k[a+36>>2]&1)){k[a+28>>2]=0;b=k[a+8>>2]|0;k[a+32>>2]=b}else{d=k[a+8>>2]|0;e=k[a+28>>2]|0;e=(d+-1|0)>>>0>>0?d+-1|0:e;k[a+28>>2]=e;b=k[a+32>>2]|0;b=(d-e|0)>>>0>>0?d-e|0:b;k[a+32>>2]=b}if(!(i[a+4>>0]|0)){Di[k[164626]&511](k[a+12>>2]|0,k[a+20>>2]|0);i[a+4>>0]=1;e=a+32|0;b=k[a+32>>2]|0}else e=a+32|0;a:do if(b|0){c=k[a+16>>2]|0;switch(c|0){case 35044:{d=k[a+28>>2]|0;vj[k[164582]&127](k[a+12>>2]|0,d,b,(k[a+24>>2]|0)+d|0);break a}case 35040:{vj[k[164634]&127](k[a+12>>2]|0,k[a+8>>2]|0,0,35040);vj[k[164634]&127](k[a+12>>2]|0,k[a+8>>2]|0,k[a+24>>2]|0,k[a+16>>2]|0);break a}default:{d=k[a+8>>2]|0;if(b>>>0<((d>>>0)/3|0)>>>0){d=k[a+28>>2]|0;vj[k[164582]&127](k[a+12>>2]|0,d,b,(k[a+24>>2]|0)+d|0);break a}else{vj[k[164634]&127](k[a+12>>2]|0,d,0,c);vj[k[164634]&127](k[a+12>>2]|0,k[a+8>>2]|0,k[a+24>>2]|0,k[a+16>>2]|0);break a}}}}while(0);k[a+28>>2]=0;k[e>>2]=0;i[a+5>>0]=0;return}function T8(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if(!(i[a+5>>0]|0))return;if(!(k[a+36>>2]&1))return;d=k[a+28>>2]|0;e=(k[a+32>>2]|0)+d|0;d=d>>>0>b>>>0?b:d;k[a+28>>2]=d;k[a+32>>2]=((c+b|0)>>>0>>0?e:c+b|0)-d;return}function U8(a){a=a|0;if(i[a+5>>0]|0)return;Di[k[164626]&511](k[a+12>>2]|0,k[a+20>>2]|0);i[a+4>>0]=1;return}function V8(a){a=a|0;if(!(i[a+4>>0]|0)){i[a+4>>0]=0;return}Di[k[164626]&511](k[a+12>>2]|0,0);i[a+4>>0]=0;return}function W8(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;ABb((k[a+24>>2]|0)+b|0,d|0,c|0)|0;if(!(i[a+5>>0]|0)){vj[k[164582]&127](k[a+12>>2]|0,b,c,d);return}if(!(k[a+36>>2]&1))return;d=k[a+28>>2]|0;e=(k[a+32>>2]|0)+d|0;d=d>>>0>b>>>0?b:d;k[a+28>>2]=d;k[a+32>>2]=((c+b|0)>>>0>>0?e:c+b|0)-d;return}function X8(a,b){a=a|0;b=b|0;return 0+b|0}function Y8(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=r;r=r+16|0;k[a>>2]=b;if((b+-1|0)>>>0>178956969){a=xf(16)|0;os(a,432543,h);Jc(a|0,96,27)}a:do if((k[157704]|0)==0|(k[157701]|0)>>>0>>0){e=k[23652+((b<<2>>>0>65535&1)<<2)>>2]|0;f=b<<2>>>0>65535?4:2;g=ha(b*6|0,f)|0;c=kBb(40)|0;Q8(c,g,0,34963,35044,0);g=mBb(g)|0;d=k[157704]|0;if(d|0)Si[k[(k[d>>2]|0)+4>>2]&1023](d);k[157704]=c;c=k[157705]|0;if(c|0)oBb(c);k[157705]=g;k[157701]=b;k[157702]=f;switch(e|0){case 5123:{Z8(a);break a}case 5125:{_8(a);break a}default:break a}}while(0);k[157703]=(k[157703]|0)+1;r=h;return}function Z8(a){a=a|0;var b=0,c=0,d=0,e=0;c=k[157705]|0;a=k[157701]|0;if(a|0){b=0;do{d=b<<2;e=b*6|0;j[c+(e<<1)>>1]=d;j[c+((e|1)<<1)>>1]=d|1;j[c+(e+2<<1)>>1]=d|2;j[c+(e+3<<1)>>1]=d|2;j[c+(e+4<<1)>>1]=d|1;j[c+(e+5<<1)>>1]=d|3;b=b+1|0}while(b>>>0>>0)}e=k[157704]|0;if(!(i[e+5>>0]|0)){Di[k[164626]&511](k[e+12>>2]|0,k[e+20>>2]|0);i[e+4>>0]=1;d=k[157704]|0;b=k[157705]|0}else{d=e;b=c}a=k[d+8>>2]|0;ABb(k[d+24>>2]|0,b|0,a|0)|0;if(!(i[d+5>>0]|0))vj[k[164582]&127](k[d+12>>2]|0,0,a,b);else if(k[d+36>>2]&1|0){b=d+28|0;d=d+32|0;c=(k[d>>2]|0)+(k[b>>2]|0)|0;k[b>>2]=0;k[d>>2]=a>>>0>>0?c:a}if(!(i[e+4>>0]|0)){i[e+4>>0]=0;return}Di[k[164626]&511](k[e+12>>2]|0,0);i[e+4>>0]=0;return}function _8(a){a=a|0;var b=0,c=0,d=0,e=0;b=k[157705]|0;if(k[157701]|0){a=0;do{c=a<<2;d=a*6|0;k[b+(d<<2)>>2]=c;k[b+((d|1)<<2)>>2]=c|1;k[b+(d+2<<2)>>2]=c|2;k[b+(d+3<<2)>>2]=c|2;k[b+(d+4<<2)>>2]=c|1;k[b+(d+5<<2)>>2]=c|3;a=a+1|0}while(a>>>0<(k[157701]|0)>>>0)}d=k[157704]|0;if(!(i[d+5>>0]|0)){Di[k[164626]&511](k[d+12>>2]|0,k[d+20>>2]|0);i[d+4>>0]=1;c=k[157704]|0;b=k[157705]|0}else c=d;a=k[c+8>>2]|0;ABb(k[c+24>>2]|0,b|0,a|0)|0;if(!(i[c+5>>0]|0))vj[k[164582]&127](k[c+12>>2]|0,0,a,b);else if(k[c+36>>2]&1|0){e=c+28|0;c=c+32|0;b=(k[c>>2]|0)+(k[e>>2]|0)|0;k[e>>2]=0;k[c>>2]=a>>>0>>0?b:a}if(!(i[d+4>>0]|0)){i[d+4>>0]=0;return}Di[k[164626]&511](k[d+12>>2]|0,0);i[d+4>>0]=0;return}function $8(a,b){a=a|0;b=b|0;return k[23652+((b<<2>>>0>65535&1)<<2)>>2]|0}function a9(a,b){a=a|0;b=b|0;k[a>>2]=k[b>>2];k[157703]=(k[157703]|0)+1;return}function b9(a,b){a=a|0;b=b|0;k[a>>2]=k[b>>2];return a|0}function c9(a){a=a|0;a=(k[157703]|0)+-1|0;k[157703]=a;if(a|0)return;a=k[157704]|0;if(a|0)Si[k[(k[a>>2]|0)+4>>2]&1023](a);k[157704]=0;a=k[157705]|0;if(a|0)oBb(a);k[157705]=0;return}function d9(a){a=a|0;return k[a>>2]|0}function e9(a,b){a=a|0;b=b|0;return b*6|0}function f9(a){a=a|0;return k[157702]|0}function g9(a){a=a|0;return k[157704]|0}function h9(a,b){a=a|0;b=b|0;return 0+b|0}function i9(a,b){a=a|0;b=b|0;return (k[157705]|0)+b|0}function j9(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;k[a>>2]=23668;h=k[a+44>>2]|0;b=k[a+48>>2]|0;if((b|0)!=(h|0))do{k[a+48>>2]=b+-136;g=b+-44|0;c=k[g>>2]|0;if(c|0){f=b+-40|0;d=k[f>>2]|0;if((d|0)!=(c|0)){do{d=d+-4|0;k[f>>2]=d;e=k[d>>2]|0;if(e){Si[k[(k[e>>2]|0)+12>>2]&1023](e);d=k[f>>2]|0}}while((d|0)!=(c|0));c=k[g>>2]|0}CAb(c)}c=k[b+-48>>2]|0;if(c|0)Si[k[(k[c>>2]|0)+12>>2]&1023](c);b=k[b+-52>>2]|0;if(b|0)Si[k[(k[b>>2]|0)+12>>2]&1023](b);b=k[a+48>>2]|0}while((b|0)!=(h|0));b=k[a+12>>2]|0;if(b|0)Si[k[(k[b>>2]|0)+12>>2]&1023](b);k[a+12>>2]=0;b=k[157857]|0;if(b|0){Si[k[(k[b>>2]|0)+12>>2]&1023](b);k[157857]=0}b=k[157858]|0;if(b|0){Si[k[(k[b>>2]|0)+12>>2]&1023](b);k[157858]=0}b=k[a+28>>2]|0;if(b|0){c9(b);CAb(b)}b=k[a+56>>2]|0;if(b|0){c=k[a+60>>2]|0;if((c|0)!=(b|0))k[a+60>>2]=c+(~((c+-4-b|0)>>>2)<<2);CAb(b)}k9(a+44|0);b=k[a+16>>2]|0;if(b|0){c=k[a+20>>2]|0;if((c|0)!=(b|0))k[a+20>>2]=c+(~((c+-8-b|0)>>>3)<<3);CAb(b)}b=k[a+12>>2]|0;if(b|0)Si[k[(k[b>>2]|0)+12>>2]&1023](b);b=k[a+8>>2]|0;if(!b){zA(a);return}Si[k[(k[b>>2]|0)+12>>2]&1023](b);zA(a);return}function k9(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=k[a>>2]|0;if(!b)return;c=k[a+4>>2]|0;if((c|0)!=(b|0)){do{k[a+4>>2]=c+-136;h=c+-44|0;d=k[h>>2]|0;if(d|0){g=c+-40|0;e=k[g>>2]|0;if((e|0)!=(d|0)){do{e=e+-4|0;k[g>>2]=e;f=k[e>>2]|0;if(f){Si[k[(k[f>>2]|0)+12>>2]&1023](f);e=k[g>>2]|0}}while((e|0)!=(d|0));d=k[h>>2]|0}CAb(d)}d=k[c+-48>>2]|0;if(d|0)Si[k[(k[d>>2]|0)+12>>2]&1023](d);c=k[c+-52>>2]|0;if(c|0)Si[k[(k[c>>2]|0)+12>>2]&1023](c);c=k[a+4>>2]|0}while((c|0)!=(b|0));b=k[a>>2]|0}CAb(b);return}function l9(a){a=a|0;j9(a);CAb(a);return}function m9(a){a=a|0;return 432601}function n9(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=r;r=r+112|0;k[a+32>>2]=b;k[a+36>>2]=c;if(!(i[a+40>>0]|0)){r=h;return}o9(h+96|0,(k[a+48>>2]|0)+-44|0);g=k[a+48>>2]|0;d=k[157547]|0;if(d|0)W6(d,0);f=k[g+-44>>2]|0;d=k[g+-40>>2]|0;if((d|0)!=(f|0))do{d=d+-4|0;k[g+-40>>2]=d;e=k[d>>2]|0;if(e){Si[k[(k[e>>2]|0)+12>>2]&1023](e);d=k[g+-40>>2]|0}}while((d|0)!=(f|0));k[h+80>>2]=0;k[h+80+4>>2]=0;k[h+80+8>>2]=b;k[h+80+12>>2]=c;oda(631144,h+80|0);qda(h+64|0,631144);k[157548]=k[h+64>>2];k[157549]=k[h+64+4>>2];k[157550]=k[h+64+8>>2];k[157551]=k[h+64+12>>2];d=k[157790]|0;bva(h,0.0,+(b|0),+(c|0),0.0);d=d+-64|0;e=h;f=d+64|0;do{k[d>>2]=k[e>>2];d=d+4|0;e=e+4|0}while((d|0)<(f|0));p9(a,h+96|0);d=k[h+96>>2]|0;if(d|0){e=k[h+96+4>>2]|0;if((e|0)!=(d|0)){do{e=e+-4|0;k[h+96+4>>2]=e;f=k[e>>2]|0;if(f){Si[k[(k[f>>2]|0)+12>>2]&1023](f);e=k[h+96+4>>2]|0}}while((e|0)!=(d|0));d=k[h+96>>2]|0}CAb(d)}r=h;return}function o9(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;d=(k[b+4>>2]|0)-(k[b>>2]|0)|0;if(!(d>>2))return;if(d>>2>>>0>1073741823)xzb(a);c=kBb(d)|0;k[a+4>>2]=c;k[a>>2]=c;k[a+8>>2]=c+(d>>2<<2);d=k[b>>2]|0;e=k[b+4>>2]|0;if((d|0)==(e|0))return;do{b=k[d>>2]|0;k[c>>2]=b;if(b){Si[k[(k[b>>2]|0)+8>>2]&1023](b);c=k[a+4>>2]|0}c=c+4|0;k[a+4>>2]=c;d=d+4|0}while((d|0)!=(e|0));return}function p9(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=r;r=r+16|0;k[h+4>>2]=0;g=h+4+4|0;k[g>>2]=0;k[h+4+8>>2]=0;f=k[b+4>>2]|0;b=k[b>>2]|0;if(!(f-b>>2)){d=0;c=0}else{c=kBb(f-b|0)|0;k[h+4>>2]=c;k[g>>2]=c;k[h+4+8>>2]=c+(f-b>>2<<2);d=c+(f-b>>2<<2)|0}a:do if((b|0)!=(f|0)){e=d;while(1){d=k[b>>2]|0;k[h>>2]=d;if(c>>>0>>0){k[c>>2]=d;k[g>>2]=(k[g>>2]|0)+4}else kx(h+4|0,h);b=b+4|0;if((b|0)==(f|0))break a;c=k[g>>2]|0;e=k[h+4+8>>2]|0}}while(0);q9(a,h+4|0);b=k[h+4>>2]|0;if(!b){r=h;return}c=k[g>>2]|0;if((c|0)!=(b|0))k[g>>2]=c+(~((c+-4-b|0)>>>2)<<2);CAb(b);r=h;return}function q9(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;i=r;r=r+32|0;e=k[b+4>>2]|0;d=k[b>>2]|0;switch(e-d>>2|0){case 0:{e=k[a+48>>2]|0;a=k[157547]|0;if(a|0)W6(a,0);d=k[e+-44>>2]|0;a=k[e+-40>>2]|0;if((a|0)==(d|0)){r=i;return}do{a=a+-4|0;k[e+-40>>2]=a;c=k[a>>2]|0;if(c){Si[k[(k[c>>2]|0)+12>>2]&1023](c);a=k[e+-40>>2]|0}}while((a|0)!=(d|0));r=i;return}case 1:{r9(a,k[d>>2]|0);r=i;return}default:{f=k[a+48>>2]|0;k[i+16>>2]=0;h=i+16+4|0;k[h>>2]=0;k[i+16+8>>2]=0;c=e-(d+4)>>2;if(c|0){if(c>>>0>1073741823)xzb(i+16|0);a=kBb(e-(d+4)|0)|0;k[h>>2]=a;k[i+16>>2]=a;k[i+16+8>>2]=a+(c<<2);if((d+4|0)!=(e|0)){c=d+4|0;do{k[a>>2]=k[c>>2];a=(k[h>>2]|0)+4|0;k[h>>2]=a;c=c+4|0}while((c|0)!=(e|0))}}o7(k[k[b>>2]>>2]|0,i+16|0);k[i+4>>2]=0;g=i+4+4|0;k[g>>2]=0;k[i+4+8>>2]=0;t9(i+4|0,(k[b+4>>2]|0)-(k[b>>2]|0)>>2);a=k[b>>2]|0;e=k[b+4>>2]|0;if((a|0)==(e|0))a=i+4+8|0;else{do{d=k[a>>2]|0;k[i>>2]=d;if(d|0)Si[k[(k[d>>2]|0)+8>>2]&1023](d);c=k[g>>2]|0;if(c>>>0<(k[i+4+8>>2]|0)>>>0){k[c>>2]=d;if(d){Si[k[(k[d>>2]|0)+8>>2]&1023](d);c=k[g>>2]|0}k[g>>2]=c+4}else s9(i+4|0,i);if(d|0)Si[k[(k[d>>2]|0)+12>>2]&1023](d);a=a+4|0}while((a|0)!=(e|0));a=i+4+8|0}b=k[f+-44>>2]|0;k[f+-44>>2]=k[i+4>>2];k[i+4>>2]=b;b=k[f+-40>>2]|0;k[f+-40>>2]=k[g>>2];k[g>>2]=b;b=k[f+-36>>2]|0;k[f+-36>>2]=k[a>>2];k[a>>2]=b;a=k[i+4>>2]|0;if(a|0){c=k[g>>2]|0;if((c|0)!=(a|0)){do{c=c+-4|0;k[g>>2]=c;d=k[c>>2]|0;if(d){Si[k[(k[d>>2]|0)+12>>2]&1023](d);c=k[g>>2]|0}}while((c|0)!=(a|0));a=k[i+4>>2]|0}CAb(a)}a=k[i+16>>2]|0;if(a|0){c=k[h>>2]|0;if((c|0)!=(a|0))k[h>>2]=c+(~((c+-4-a|0)>>>2)<<2);CAb(a)}r=i;return}}}function r9(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=r;r=r+16|0;e=k[a+48>>2]|0;if(!b){a=k[157547]|0;if(a|0)W6(a,0);c=k[e+-44>>2]|0;a=k[e+-40>>2]|0;if((a|0)==(c|0)){r=f;return}do{a=a+-4|0;k[e+-40>>2]=a;b=k[a>>2]|0;if(b){Si[k[(k[b>>2]|0)+12>>2]&1023](b);a=k[e+-40>>2]|0}}while((a|0)!=(c|0));r=f;return}s7(b);k[f+4>>2]=0;d=f+4+4|0;k[d>>2]=0;k[f+4+8>>2]=0;k[f>>2]=b;Si[k[(k[b>>2]|0)+8>>2]&1023](b);s9(f+4|0,f);Si[k[(k[b>>2]|0)+12>>2]&1023](b);a=k[e+-44>>2]|0;k[e+-44>>2]=k[f+4>>2];k[f+4>>2]=a;a=k[e+-40>>2]|0;k[e+-40>>2]=k[d>>2];k[d>>2]=a;a=k[e+-36>>2]|0;k[e+-36>>2]=k[f+4+8>>2];k[f+4+8>>2]=a;a=k[f+4>>2]|0;if(a|0){b=k[d>>2]|0;if((b|0)!=(a|0)){do{b=b+-4|0;k[d>>2]=b;c=k[b>>2]|0;if(c){Si[k[(k[c>>2]|0)+12>>2]&1023](c);b=k[d>>2]|0}}while((b|0)!=(a|0));a=k[f+4>>2]|0}CAb(a)}r=f;return}function s9(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=k[a>>2]|0;d=((k[a+4>>2]|0)-g>>2)+1|0;if(d>>>0>1073741823)xzb(a);c=(k[a+8>>2]|0)-g|0;if(c>>2>>>0<536870911){c=c>>1>>>0>>0?d:c>>1;e=k[a+4>>2]|0;if(!c){h=0;c=0;d=e-g>>2}else{f=e;d=e-g>>2;i=6}}else{d=k[a+4>>2]|0;c=1073741823;f=d;d=d-g>>2;i=6}if((i|0)==6){h=c;c=kBb(c<<2)|0;e=f}i=c+(d<<2)|0;h=c+(h<<2)|0;c=k[b>>2]|0;k[i>>2]=c;if(!c)c=e;else{Si[k[(k[c>>2]|0)+8>>2]&1023](c);c=k[a+4>>2]|0;g=k[a>>2]|0}if((c|0)==(g|0)){d=i;f=c}else{e=c;f=i;c=i;do{e=e+-4|0;d=k[e>>2]|0;k[f+-4>>2]=d;if(d|0)Si[k[(k[d>>2]|0)+8>>2]&1023](d);f=c+-4|0;c=f}while((e|0)!=(g|0));d=c;f=k[a>>2]|0;c=k[a+4>>2]|0}k[a>>2]=d;k[a+4>>2]=i+4;k[a+8>>2]=h;e=f;if((c|0)!=(e|0))do{c=c+-4|0;d=k[c>>2]|0;if(d|0)Si[k[(k[d>>2]|0)+12>>2]&1023](d)}while((c|0)!=(e|0));if(!f)return;CAb(f);return}function t9(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=k[a>>2]|0;if((k[a+8>>2]|0)-g>>2>>>0>=b>>>0)return;d=k[a+4>>2]|0;if(!b)c=0;else c=kBb(b<<2)|0;h=c+(d-g>>2<<2)|0;f=c+(b<<2)|0;if((d|0)==(g|0)){b=h;e=g;c=g}else{e=h;c=h;do{d=d+-4|0;b=k[d>>2]|0;k[e+-4>>2]=b;if(b|0)Si[k[(k[b>>2]|0)+8>>2]&1023](b);e=c+-4|0;c=e}while((d|0)!=(g|0));b=c;e=k[a>>2]|0;c=k[a+4>>2]|0}k[a>>2]=b;k[a+4>>2]=h;k[a+8>>2]=f;d=e;if((c|0)!=(d|0))do{c=c+-4|0;b=k[c>>2]|0;if(b|0)Si[k[(k[b>>2]|0)+12>>2]&1023](b)}while((c|0)!=(d|0));if(!e)return;CAb(e);return}function u9(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=r;r=r+16|0;d=k[155714]|0;if(d|0)Si[k[(k[d>>2]|0)+8>>2]&1023](d);e=k[a+8>>2]|0;if(e|0)Si[k[(k[e>>2]|0)+12>>2]&1023](e);k[a+8>>2]=d;k[a+32>>2]=b;k[a+36>>2]=c;Yca(631144)|0;bda(631144);i[a+40>>0]=1;kj[k[(k[a>>2]|0)+24>>2]&255](a,b,c);Si[k[163901]&1023](3042);Di[k[164203]&511](33170,4354);if(!(i[1248948]|0)){Si[k[163901]&1023](32925);Si[k[163901]&1023](3553)}yda(631144,0);Di[k[164087]&511](3317,1);if(!((i[1248981]|i[1248938]|i[1249053]|i[1248949]|i[1249075])<<24>>24))KA(0);else if((i[1249076]|i[1248930])<<24>>24)tda(631144,LA()|0);b=(LA()|0)&1;i[1248831]=b;if(!(i[1248938]|0))d=0;else{k[f+8>>2]=0;Di[k[164656]&511](33310,f+8|0);d=(k[f+8>>2]&2|0)!=0}v9(0,d);if(!(Tga()|0))Lpb(432727)|0;if(!(k[a+28>>2]|0)){b=kBb(4)|0;Y8(b,20);k[a+28>>2]=b}x9(a,(k[a+48>>2]|0)+-136|0);b=k[a+16>>2]|0;d=k[a+20>>2]|0;if((d|0)==(b|0)){c=d;e=b}else{k[a+20>>2]=d+(~((d+-8-b|0)>>>3)<<3);c=d+(~((d+-8-b|0)>>>3)<<3)|0;e=d+(~((d+-8-b|0)>>>3)<<3)|0}d=k[a+24>>2]|0;if(d-b>>3>>>0<5){d=c-b|0;c=kBb(40)|0;ABb(c+(d>>3<<3)+(0-(d>>3)<<3)|0,b|0,d|0)|0;k[a+16>>2]=c+(d>>3<<3)+(0-(d>>3)<<3);k[a+20>>2]=c+(d>>3<<3);k[a+24>>2]=c+40;if(!b){e=c+(d>>3<<3)|0;d=c+40|0}else{CAb(b);e=k[a+20>>2]|0;d=k[a+24>>2]|0}}p[f>>3]=1.0;if(e>>>0>>0){p[e>>3]=1.0;k[a+20>>2]=e+8}else z9(a+16|0,f);if(!(k[157857]|0)){b=631436+(((i[1248948]|0)!=0&1)*24|0)|0;a=kBb(328)|0;Iea(a,b);k[157857]=a}if(!(k[157858]|0)){b=631484+(((i[1248948]|0)!=0&1)*24|0)|0;a=kBb(328)|0;Iea(a,b);k[157858]=a}if(k[157856]|0){r=f;return 1}Lea(k[157857]|0,0);r=f;return 1}function v9(a,b){a=a|0;b=b|0;var c=0;a=i[1248953]|i[1248945];c=i[1248969]|0;if((a|c)<<24>>24==0|(i[1248948]|0)!=0)return;if(!(a<<24>>24!=0|c<<24>>24==0)){k[164169]=k[164771];k[163762]=k[164769]}if(b){Si[k[163901]&1023](33346);Di[k[164169]&511](1,0);Ti[k[163762]&63](4352,4352,4352,0,0,1);Ti[k[163762]&63](33350,33357,4352,0,0,0);Ti[k[163762]&63](33352,33357,4352,0,0,0);if((i[1248953]|i[1248945])<<24>>24)Si[k[163901]&1023](37600);Lpb(432675)|0;return}else{Di[k[164169]&511](0,0);if(!((i[1248953]|i[1248945])<<24>>24))return;Si[k[164262]&1023](37600);return}}function w9(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;g=r;r=r+32|0;e=Lda(a)|0;a=Mda(b)|0;b=Kda(d)|0;k[g>>2]=f;k[g+4>>2]=e;k[g+8>>2]=a;k[g+12>>2]=b;k[g+16>>2]=c;Jpb(432622,g)|0;r=g;return}function x9(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0.0,h=0.0,j=0.0,m=0.0,n=0,p=0;f=r;r=r+16|0;m=+o[b>>2];j=+o[b+4>>2];h=+o[b+8>>2];g=+o[b+12>>2];o[f>>2]=m/255.0;o[f+4>>2]=j/255.0;o[f+8>>2]=h/255.0;o[f+12>>2]=g/255.0;MA(f);$i[k[164232]&3](3,+o[f>>2],+o[f+4>>2],+o[f+8>>2],+o[f+12>>2]);c=k[a+48>>2]|0;o[c+-136>>2]=m;o[c+-132>>2]=j;o[c+-128>>2]=h;o[c+-124>>2]=g;k[f>>2]=k[b+16>>2];k[f+4>>2]=k[b+16+4>>2];k[f+8>>2]=k[b+16+8>>2];k[f+12>>2]=k[b+16+12>>2];c=(k[a+48>>2]|0)+-120|0;k[c>>2]=k[f>>2];k[c+4>>2]=k[f+4>>2];k[c+8>>2]=k[f+8>>2];k[c+12>>2]=k[f+12>>2];y9(a,k[b+32>>2]|0,k[b+36>>2]|0);c=k[a+48>>2]|0;k[c+-96>>2]=k[b+40>>2];k[c+-92>>2]=k[b+44>>2];k[c+-88>>2]=k[b+48>>2];g=+o[b+52>>2];rda(631144,g);c=k[a+48>>2]|0;o[c+-84>>2]=g;if(!(i[b+56>>0]|0)){i[c+-80>>0]=0;Si[k[164262]&1023](3089)}else{p=k[b+60>>2]|0;n=k[b+64>>2]|0;c=k[b+68>>2]|0;d=k[b+72>>2]|0;Si[k[163901]&1023](3089);k[f>>2]=p;k[f+4>>2]=n;k[f+8>>2]=c;k[f+12>>2]=d;pda(631144,f);e=k[a+48>>2]|0;i[e+-80>>0]=1;k[e+-76>>2]=p;k[e+-72>>2]=n;k[e+-68>>2]=c;k[e+-64>>2]=d}c=k[b+76>>2]|0;e=k[b+80>>2]|0;p=k[a+48>>2]|0;k[p+-60>>2]=c;k[p+-56>>2]=e;do if(!(i[a+42>>0]|0)){if((c|0)==6){Si[k[164262]&1023](2960);break}d=k[157547]|0;if(d|0)t7(d)|0;switch(c|0){case 0:{c=516;break}case 1:{c=518;break}case 5:{c=517;break}case 3:{c=515;break}case 4:{c=513;break}default:c=514}Si[k[163901]&1023](2960);kj[k[164391]&255](c,e,-1);kj[k[163844]&255](7680,7680,7680)}while(0);c=k[b+84>>2]|0;d=k[a+48>>2]|0;if(c|0)Si[k[(k[c>>2]|0)+8>>2]&1023](c);e=k[d+-52>>2]|0;if(e|0)Si[k[(k[e>>2]|0)+12>>2]&1023](e);k[d+-52>>2]=c;c=k[b+88>>2]|0;e=k[a+48>>2]|0;if(!c){Kea();c=k[e+-48>>2]|0;if(c|0)Si[k[(k[c>>2]|0)+12>>2]&1023](c);k[e+-48>>2]=0}else{Lea(c,0);Si[k[(k[c>>2]|0)+8>>2]&1023](c);d=k[e+-48>>2]|0;if(d|0)Si[k[(k[d>>2]|0)+12>>2]&1023](d);k[e+-48>>2]=c}p9(a,b+92|0);p=l[b+104>>0]|l[b+104+1>>0]<<8|l[b+104+2>>0]<<16|l[b+104+3>>0]<<24;vj[k[164535]&127](p&255,p>>>8&255,p>>>16&255,p>>>24&255);c=(k[a+48>>2]|0)+-32|0;i[c>>0]=p&16777215|p>>>24<<24;i[c+1>>0]=(p&16777215|p>>>24<<24)>>8;i[c+2>>0]=(p&16777215|p>>>24<<24)>>16;i[c+3>>0]=(p&16777215|p>>>24<<24)>>24;c=i[b+108>>0]|0;if(i[1248948]|0){p=b+112|0;eD(p);e=k[a+48>>2]|0;e=e+-24|0;k[e>>2]=k[p>>2];k[e+4>>2]=k[p+4>>2];k[e+8>>2]=k[p+8>>2];k[e+12>>2]=k[p+12>>2];e=b+128|0;e=k[e>>2]|0;p=b+132|0;m=+o[p>>2];Sba(e);Qba(m);p=k[a+48>>2]|0;n=p+-8|0;k[n>>2]=e;p=p+-4|0;o[p>>2]=m;r=f;return}Di[k[164114]&511](1032,c<<24>>24?6913:6914);i[(k[a+48>>2]|0)+-28>>0]=c;p=b+112|0;eD(p);e=k[a+48>>2]|0;e=e+-24|0;k[e>>2]=k[p>>2];k[e+4>>2]=k[p+4>>2];k[e+8>>2]=k[p+8>>2];k[e+12>>2]=k[p+12>>2];e=b+128|0;e=k[e>>2]|0;p=b+132|0;m=+o[p>>2];Sba(e);Qba(m);p=k[a+48>>2]|0;n=p+-8|0;k[n>>2]=e;p=p+-4|0;o[p>>2]=m;r=f;return}function y9(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0;j=r;r=r+16|0;if((b|1|0)==5)if(!((i[1248949]|i[1248934]|i[1249036])<<24>>24)){h=xf(16)|0;os(h,432766,j);Jc(h|0,96,27)}do if((c|0)!=1){k[j+12>>2]=439736;if((b&-2|0)==4){RA(b,j+12|0)|0;h=xf(16)|0;k[j+8>>2]=k[j+12>>2];os(h,432839,j+8|0);Jc(h|0,96,27)}else break}while(0);switch(b|0){case 0:{g=771;d=32774;e=1;f=1;break}case 3:{g=0;d=32774;e=774;f=774;break}case 2:{d=32779;h=11;break}case 1:{d=32774;h=11;break}case 4:{g=0;d=32776;e=1;f=1;break}case 5:{g=0;d=32775;e=1;f=1;break}case 6:{g=769;d=32774;e=1;f=1;break}default:{g=0;d=32774;e=1;f=1}}if((h|0)==11){g=1;e=0;f=1}Si[k[164538]&1023](d);vj[k[163749]&127]((c|0)==0&(f|0)==1?770:f,g,e,g);h=k[a+48>>2]|0;k[h+-104>>2]=b;k[h+-100>>2]=c;r=j;return}function z9(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=k[a>>2]|0;c=((k[a+4>>2]|0)-i>>3)+1|0;if(c>>>0>536870911)xzb(a);d=(k[a+8>>2]|0)-i|0;if(d>>3>>>0<268435455){c=d>>2>>>0>>0?c:d>>2;e=k[a+4>>2]|0;if(!c){h=0;f=0;d=e-i>>3;c=e}else{g=e;d=e-i>>3;j=6}}else{d=k[a+4>>2]|0;c=536870911;g=d;d=d-i>>3;j=6}if((j|0)==6){h=c;f=kBb(c<<3)|0;c=g}j=f+(d<<3)|0;p[j>>3]=+p[b>>3];b=c-i|0;ABb(j+(0-(b>>3)<<3)|0,i|0,b|0)|0;k[a>>2]=j+(0-(b>>3)<<3);k[a+4>>2]=j+8;k[a+8>>2]=f+(h<<3);if(!i)return;CAb(i);return}function A9(a){a=a|0;if(!(i[a+40>>0]|0))return;Uga();fda(631144);i[a+40>>0]=0;return}function B9(a,b){a=a|0;b=b|0;var c=0;c=j[a+40>>1]|0;if((c&255)<<24>>24==0|((c&65535)<256|b)){c=b&1;i[a+41>>0]=c;return}rj[k[164151]&15]();c=b&1;i[a+41>>0]=c;return}function C9(a){a=a|0;if(!(i[a+41>>0]|0)){a=0;return a|0}if(!(i[a+40>>0]|0)){a=0;return a|0}a=k[a+8>>2]|0;if(!a){a=0;return a|0}a=Gi[k[(k[a>>2]|0)+72>>2]&2047](a)|0;return a|0}function D9(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;g=r;r=r+496|0;Uj(a);k[a>>2]=23668;b=k[155714]|0;k[a+8>>2]=b;if(b|0)Si[k[(k[b>>2]|0)+8>>2]&1023](b);k[a+12>>2]=0;k[a+12+4>>2]=0;k[a+12+8>>2]=0;k[a+12+12>>2]=0;k[a+12+16>>2]=0;k[a+12+20>>2]=0;k[a+12+24>>2]=0;i[a+12+28>>0]=0;i[a+41>>0]=1;i[a+42>>0]=0;k[a+44>>2]=0;k[a+44+4>>2]=0;k[a+44+8>>2]=0;k[a+44+12>>2]=0;k[a+44+16>>2]=0;k[a+44+20>>2]=0;Xca(g+208|0);b=k[157786]|0;if(b|0){c=k[157787]|0;if((c|0)!=(b|0)){do{k[157787]=c+-64;c=k[157787]|0}while((c|0)!=(b|0));b=k[157786]|0}CAb(b);k[157788]=0;k[157787]=0;k[157786]=0}k[157786]=k[g+208>>2];f=g+208+4|0;k[157787]=k[f>>2];k[157788]=k[g+208+8>>2];k[g+208+8>>2]=0;k[f>>2]=0;k[g+208>>2]=0;b=k[157789]|0;if(b|0){c=k[157790]|0;if((c|0)!=(b|0)){do{k[157790]=c+-64;c=k[157790]|0}while((c|0)!=(b|0));b=k[157789]|0}CAb(b);k[157791]=0;k[157790]=0;k[157789]=0}k[157789]=k[g+208+12>>2];e=g+208+16|0;k[157790]=k[e>>2];k[157791]=k[g+208+20>>2];k[g+208+20>>2]=0;k[e>>2]=0;k[g+208+12>>2]=0;b=631168;c=g+208+24|0;d=b+40|0;do{k[b>>2]=k[c>>2];b=b+4|0;c=c+4|0}while((b|0)<(d|0));b=k[157802]|0;if(b|0){c=k[157803]|0;if((c|0)!=(b|0))k[157803]=c+(~((c+-4-b|0)>>>2)<<2);CAb(b);k[157804]=0;k[157803]=0;k[157802]=0}k[157802]=k[g+208+64>>2];k[157803]=k[g+208+68>>2];k[157804]=k[g+208+72>>2];k[g+208+72>>2]=0;k[g+208+68>>2]=0;k[g+208+64>>2]=0;b=631220;c=g+208+76|0;d=b+52|0;do{k[b>>2]=k[c>>2];b=b+4|0;c=c+4|0}while((b|0)<(d|0));b=631272;c=g+208+128|0;d=b+64|0;do{k[b>>2]=k[c>>2];b=b+4|0;c=c+4|0}while((b|0)<(d|0));b=631336;c=g+208+192|0;d=b+64|0;do{k[b>>2]=k[c>>2];b=b+4|0;c=c+4|0}while((b|0)<(d|0));b=k[g+208+64>>2]|0;if(b|0){c=k[g+208+68>>2]|0;if((c|0)!=(b|0))k[g+208+68>>2]=c+(~((c+-4-b|0)>>>2)<<2);CAb(b)}b=k[g+208+12>>2]|0;if(b|0){c=k[e>>2]|0;if((c|0)!=(b|0)){do{k[e>>2]=c+-64;c=k[e>>2]|0}while((c|0)!=(b|0));b=k[g+208+12>>2]|0}CAb(b)}b=k[g+208>>2]|0;if(b|0){c=k[f>>2]|0;if((c|0)!=(b|0)){do{k[f>>2]=c+-64;c=k[f>>2]|0}while((c|0)!=(b|0));b=k[g+208>>2]|0}CAb(b)}b=k[a+52>>2]|0;c=k[a+44>>2]|0;if(((b-c|0)/136|0)>>>0<10){f=k[a+48>>2]|0;k[g+464+12>>2]=0;k[g+464+16>>2]=a+52;b=kBb(1360)|0;k[g+464>>2]=b;k[g+464+8>>2]=b+(((f-c|0)/136|0)*136|0);k[g+464+4>>2]=b+(((f-c|0)/136|0)*136|0);k[g+464+12>>2]=b+1360;E9(a+44|0,g+464|0);F9(g+464|0);b=k[a+52>>2]|0}vBb(g+64|0,0,132)|0;o[g+64>>2]=255.0;o[g+64+4>>2]=255.0;o[g+64+8>>2]=255.0;o[g+64+12>>2]=255.0;o[g+64+16>>2]=0.0;o[g+64+20>>2]=0.0;o[g+64+24>>2]=0.0;o[g+64+28>>2]=255.0;k[g+64+32>>2]=0;k[g+64+36>>2]=0;o[g+64+40>>2]=1.0;k[g+64+44>>2]=1;k[g+64+48>>2]=1;o[g+64+52>>2]=1.0;i[g+64+56>>0]=0;k[g+64+60>>2]=0;k[g+64+60+4>>2]=0;k[g+64+60+8>>2]=0;k[g+64+60+12>>2]=0;k[g+64+76>>2]=6;f=g+64+80|0;e=g+64+104|0;k[f>>2]=0;k[f+4>>2]=0;k[f+8>>2]=0;k[f+12>>2]=0;k[f+16>>2]=0;k[f+20>>2]=0;k[e>>2]=16843009;i[g+64+108>>0]=0;k[g+64+112>>2]=0;k[g+64+112+4>>2]=0;k[g+64+112>>2]=1;k[g+64+116>>2]=1;k[g+64+120>>2]=0;o[g+64+124>>2]=1.0;k[g+64+128>>2]=2;o[g+64+132>>2]=0.0;f=k[a+48>>2]|0;if(f>>>0>>0){b=f;c=g+64|0;d=b+84|0;do{k[b>>2]=k[c>>2];b=b+4|0;c=c+4|0}while((b|0)<(d|0));b=k[g+64+84>>2]|0;k[f+84>>2]=b;if(b|0)Si[k[(k[b>>2]|0)+8>>2]&1023](b);b=k[g+64+88>>2]|0;k[f+88>>2]=b;if(b|0)Si[k[(k[b>>2]|0)+8>>2]&1023](b);k[f+92>>2]=0;k[f+96>>2]=0;k[f+100>>2]=0;k[f+92>>2]=k[g+64+92>>2];k[f+96>>2]=k[g+64+96>>2];k[f+100>>2]=k[g+64+100>>2];k[g+64+100>>2]=0;k[g+64+96>>2]=0;k[g+64+92>>2]=0;k[f+104>>2]=k[e>>2];k[f+104+4>>2]=k[e+4>>2];k[f+104+8>>2]=k[e+8>>2];k[f+104+12>>2]=k[e+12>>2];k[f+104+16>>2]=k[e+16>>2];k[f+104+20>>2]=k[e+20>>2];k[f+104+24>>2]=k[e+24>>2];k[f+104+28>>2]=k[e+28>>2];k[a+48>>2]=(k[a+48>>2]|0)+136}else G9(a+44|0,g+64|0);b=k[g+64+92>>2]|0;if(b|0){c=k[g+64+96>>2]|0;if((c|0)!=(b|0)){do{c=c+-4|0;k[g+64+96>>2]=c;d=k[c>>2]|0;if(d){Si[k[(k[d>>2]|0)+12>>2]&1023](d);c=k[g+64+96>>2]|0}}while((c|0)!=(b|0));b=k[g+64+92>>2]|0}CAb(b)}b=k[g+64+88>>2]|0;if(b|0)Si[k[(k[b>>2]|0)+12>>2]&1023](b);b=k[g+64+84>>2]|0;if(b|0)Si[k[(k[b>>2]|0)+12>>2]&1023](b);b=k[a+8>>2]|0;if(!b){r=g;return}i[g>>0]=0;k[g+4>>2]=1;i[g+8>>0]=1;k[g+12>>2]=0;i[g+16>>0]=0;k[g+20>>2]=1;k[g+24>>2]=1;i[g+28>>0]=0;i[g+29>>0]=1;k[g+32>>2]=0;i[g+36>>0]=0;p[g+40>>3]=0.0;i[g+48>>0]=0;k[g+52>>2]=0;k[g+56>>2]=0;vj[k[(k[b>>2]|0)+28>>2]&127](b,g+464|0,g+200|0,g);f=k[a+8>>2]|0;if(Gi[k[(k[f>>2]|0)+72>>2]&2047](f)|0)Ri[k[(k[a>>2]|0)+28>>2]&255](a,k[g+464>>2]|0,k[g+200>>2]|0)|0;r=g;return}function E9(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;i=k[a>>2]|0;c=k[a+4>>2]|0;if((c|0)==(i|0)){e=b+4|0;f=a;d=k[b+4>>2]|0;c=i}else{h=k[b+4>>2]|0;while(1){g=c;c=c+-136|0;d=h+-136|0;e=c;f=d+84|0;do{k[d>>2]=k[e>>2];d=d+4|0;e=e+4|0}while((d|0)<(f|0));d=k[g+-52>>2]|0;k[h+-52>>2]=d;if(d|0)Si[k[(k[d>>2]|0)+8>>2]&1023](d);d=k[g+-48>>2]|0;k[h+-48>>2]=d;if(d|0)Si[k[(k[d>>2]|0)+8>>2]&1023](d);o9(h+-44|0,g+-44|0);d=h+-32|0;k[d>>2]=k[g+-32>>2];k[d+4>>2]=k[g+-32+4>>2];k[d+8>>2]=k[g+-32+8>>2];k[d+12>>2]=k[g+-32+12>>2];k[d+16>>2]=k[g+-32+16>>2];k[d+20>>2]=k[g+-32+20>>2];k[d+24>>2]=k[g+-32+24>>2];k[d+28>>2]=k[g+-32+28>>2];d=(k[b+4>>2]|0)+-136|0;k[b+4>>2]=d;if((c|0)==(i|0))break;else h=d}e=b+4|0;f=a;c=k[a>>2]|0}k[f>>2]=d;k[e>>2]=c;i=k[a+4>>2]|0;k[a+4>>2]=k[b+8>>2];k[b+8>>2]=i;i=k[a+8>>2]|0;k[a+8>>2]=k[b+12>>2];k[b+12>>2]=i;k[b>>2]=k[e>>2];return}function F9(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;h=k[a+4>>2]|0;b=k[a+8>>2]|0;if((b|0)!=(h|0))do{k[a+8>>2]=b+-136;g=b+-44|0;c=k[g>>2]|0;if(c|0){f=b+-40|0;d=k[f>>2]|0;if((d|0)!=(c|0)){do{d=d+-4|0;k[f>>2]=d;e=k[d>>2]|0;if(e){Si[k[(k[e>>2]|0)+12>>2]&1023](e);d=k[f>>2]|0}}while((d|0)!=(c|0));c=k[g>>2]|0}CAb(c)}c=k[b+-48>>2]|0;if(c|0)Si[k[(k[c>>2]|0)+12>>2]&1023](c);b=k[b+-52>>2]|0;if(b|0)Si[k[(k[b>>2]|0)+12>>2]&1023](b);b=k[a+8>>2]|0}while((b|0)!=(h|0));b=k[a>>2]|0;if(!b)return;CAb(b);return}function G9(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;i=r;r=r+32|0;e=k[a>>2]|0;d=(((k[a+4>>2]|0)-e|0)/136|0)+1|0;if(d>>>0>31580641)xzb(a);c=((k[a+8>>2]|0)-e|0)/136|0;if(c>>>0<15790320)c=c<<1>>>0>>0?d:c<<1;else c=31580641;f=((k[a+4>>2]|0)-e|0)/136|0;k[i+12>>2]=0;k[i+16>>2]=a+8;if(!c)g=0;else g=kBb(c*136|0)|0;k[i>>2]=g;h=g+(f*136|0)|0;k[i+8>>2]=h;k[i+4>>2]=h;k[i+12>>2]=g+(c*136|0);c=h;d=b;e=c+84|0;do{k[c>>2]=k[d>>2];c=c+4|0;d=d+4|0}while((c|0)<(e|0));c=k[b+84>>2]|0;k[g+(f*136|0)+84>>2]=c;if(c|0)Si[k[(k[c>>2]|0)+8>>2]&1023](c);c=k[b+88>>2]|0;k[g+(f*136|0)+88>>2]=c;if(c|0)Si[k[(k[c>>2]|0)+8>>2]&1023](c);k[g+(f*136|0)+100>>2]=0;k[g+(f*136|0)+92>>2]=k[b+92>>2];k[g+(f*136|0)+96>>2]=k[b+96>>2];k[g+(f*136|0)+100>>2]=k[b+100>>2];k[b+100>>2]=0;k[b+96>>2]=0;k[b+92>>2]=0;g=g+(f*136|0)+104|0;k[g>>2]=k[b+104>>2];k[g+4>>2]=k[b+104+4>>2];k[g+8>>2]=k[b+104+8>>2];k[g+12>>2]=k[b+104+12>>2];k[g+16>>2]=k[b+104+16>>2];k[g+20>>2]=k[b+104+20>>2];k[g+24>>2]=k[b+104+24>>2];k[g+28>>2]=k[b+104+28>>2];k[i+8>>2]=h+136;E9(a,i);F9(i);r=i;return}function H9(a,b){a=a|0;b=b|0;var c=0,d=0.0,e=0.0,f=0.0;c=r;r=r+16|0;f=+o[b+4>>2]/255.0;e=+o[b+8>>2]/255.0;d=+o[b+12>>2]/255.0;o[c>>2]=+o[b>>2]/255.0;o[c+4>>2]=f;o[c+8>>2]=e;o[c+12>>2]=d;MA(c);$i[k[164232]&3](3,+o[c>>2],+o[c+4>>2],+o[c+8>>2],+o[c+12>>2]);a=(k[a+48>>2]|0)+-136|0;k[a>>2]=k[b>>2];k[a+4>>2]=k[b+4>>2];k[a+8>>2]=k[b+8>>2];k[a+12>>2]=k[b+12>>2];r=c;return}function I9(a,b){a=a|0;b=b|0;a=(k[a+48>>2]|0)+-120|0;k[a>>2]=k[b>>2];k[a+4>>2]=k[b+4>>2];k[a+8>>2]=k[b+8>>2];k[a+12>>2]=k[b+12>>2];return}function J9(a,b){a=a|0;b=+b;o[(k[a+48>>2]|0)+-96>>2]=b;return}function K9(a,b){a=a|0;b=b|0;k[(k[a+48>>2]|0)+-92>>2]=b;return}function L9(a,b){a=a|0;b=b|0;k[(k[a+48>>2]|0)+-88>>2]=b;return}function M9(a,b){a=a|0;b=+b;rda(631144,b);o[(k[a+48>>2]|0)+-84>>2]=b;return}function N9(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=r;r=r+16|0;Si[k[163901]&1023](3089);k[f>>2]=b;k[f+4>>2]=c;k[f+8>>2]=d;k[f+12>>2]=e;pda(631144,f);a=k[a+48>>2]|0;i[a+-80>>0]=1;k[a+-76>>2]=b;k[a+-72>>2]=c;k[a+-68>>2]=d;k[a+-64>>2]=e;r=f;return}function O9(a){a=a|0;i[(k[a+48>>2]|0)+-80>>0]=0;Si[k[164262]&1023](3089);return}function P9(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=k[a+48>>2]|0;k[d+-60>>2]=b;k[d+-56>>2]=c;if(i[a+42>>0]|0)return;if((b|0)==6){Si[k[164262]&1023](2960);return}a=k[157547]|0;if(a|0)t7(a)|0;switch(b|0){case 0:{a=516;break}case 1:{a=518;break}case 5:{a=517;break}case 3:{a=515;break}case 4:{a=513;break}default:a=514}Si[k[163901]&1023](2960);kj[k[164391]&255](a,c,-1);kj[k[163844]&255](7680,7680,7680);return}function Q9(a,b){a=a|0;b=b|0;var c=0;a=k[a+48>>2]|0;if(b|0)Si[k[(k[b>>2]|0)+8>>2]&1023](b);c=k[a+-52>>2]|0;if(!c){k[a+-52>>2]=b;return}Si[k[(k[c>>2]|0)+12>>2]&1023](c);k[a+-52>>2]=b;return}function R9(a,b){a=a|0;b=b|0;var c=0;c=k[a+48>>2]|0;if(!b){Kea();a=k[c+-48>>2]|0;if(a|0)Si[k[(k[a>>2]|0)+12>>2]&1023](a);k[c+-48>>2]=0;return}else{Lea(b,0);Si[k[(k[b>>2]|0)+8>>2]&1023](b);a=k[c+-48>>2]|0;if(a|0)Si[k[(k[a>>2]|0)+12>>2]&1023](a);k[c+-48>>2]=b;return}}function S9(a,b){a=a|0;b=b|0;vj[k[164535]&127](i[b>>0]|0,i[b+1>>0]|0,i[b+2>>0]|0,i[b+3>>0]|0);a=(k[a+48>>2]|0)+-32|0;b=l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24;i[a>>0]=b;i[a+1>>0]=b>>8;i[a+2>>0]=b>>16;i[a+3>>0]=b>>24;return}function T9(a,b){a=a|0;b=b|0;if(i[1248948]|0)return;Di[k[164114]&511](1032,b?6913:6914);i[(k[a+48>>2]|0)+-28>>0]=b&1;return}function U9(a,b){a=a|0;b=b|0;eD(b);a=(k[a+48>>2]|0)+-24|0;k[a>>2]=k[b>>2];k[a+4>>2]=k[b+4>>2];k[a+8>>2]=k[b+8>>2];k[a+12>>2]=k[b+12>>2];return}function V9(a,b,c){a=a|0;b=b|0;c=+c;Sba(b);Qba(c);a=k[a+48>>2]|0;k[a+-8>>2]=b;o[a+-4>>2]=c;return}function W9(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0.0,g=0.0,h=0,j=0,m=0,n=0,p=0,q=0.0,s=0.0;p=r;r=r+16|0;n=k[a+48>>2]|0;f=+o[b>>2];g=+o[b+4>>2];if(f==+o[n+-136>>2])if(g==+o[n+-132>>2])if(+o[b+8>>2]==+o[n+-128>>2])if(+o[b+12>>2]!=+o[n+-124>>2])m=5;else c=n;else m=5;else m=5;else m=5;if((m|0)==5){s=+o[b+8>>2];q=+o[b+12>>2];o[p>>2]=f/255.0;o[p+4>>2]=g/255.0;o[p+8>>2]=s/255.0;o[p+12>>2]=q/255.0;MA(p);$i[k[164232]&3](3,+o[p>>2],+o[p+4>>2],+o[p+8>>2],+o[p+12>>2]);c=k[a+48>>2]|0;o[c+-136>>2]=f;o[c+-132>>2]=g;o[c+-128>>2]=s;o[c+-124>>2]=q;c=k[a+48>>2]|0}BBb(c+-120|0,b+16|0,16)|0;c=k[b+32>>2]|0;d=k[b+36>>2]|0;if((c|0)==(k[n+-104>>2]|0)){if((d|0)!=(k[n+-100>>2]|0))m=8}else m=8;if((m|0)==8)y9(a,c,d);c=k[a+48>>2]|0;k[c+-96>>2]=k[b+40>>2];k[c+-92>>2]=k[b+44>>2];k[c+-88>>2]=k[b+48>>2];f=+o[b+52>>2];if(f!=+o[n+-84>>2]){rda(631144,f);c=k[a+48>>2]|0;o[c+-84>>2]=f}d=i[b+56>>0]|0;if(d<<24>>24==(i[n+-80>>0]|0)){if(d<<24>>24)if((k[b+60>>2]|0)==(k[n+-76>>2]|0))if((k[b+64>>2]|0)==(k[n+-72>>2]|0))if((k[b+68>>2]|0)==(k[n+-68>>2]|0)){if((k[b+72>>2]|0)!=(k[n+-64>>2]|0))m=18}else m=18;else m=18;else m=18}else if(!(d<<24>>24)){i[c+-80>>0]=0;Si[k[164262]&1023](3089)}else m=18;if((m|0)==18){c=k[b+60>>2]|0;d=k[b+64>>2]|0;e=k[b+68>>2]|0;h=k[b+72>>2]|0;Si[k[163901]&1023](3089);k[p>>2]=c;k[p+4>>2]=d;k[p+8>>2]=e;k[p+12>>2]=h;pda(631144,p);j=k[a+48>>2]|0;i[j+-80>>0]=1;k[j+-76>>2]=c;k[j+-72>>2]=d;k[j+-68>>2]=e;k[j+-64>>2]=h}d=k[b+76>>2]|0;e=k[b+80>>2]|0;if((d|0)==(k[n+-60>>2]|0)){if((e|0)!=(k[n+-56>>2]|0))m=22}else m=22;do if((m|0)==22){m=k[a+48>>2]|0;k[m+-60>>2]=d;k[m+-56>>2]=e;if(!(i[a+42>>0]|0)){if((d|0)==6){Si[k[164262]&1023](2960);break}c=k[157547]|0;if(c|0)t7(c)|0;switch(d|0){case 0:{c=516;break}case 1:{c=518;break}case 5:{c=517;break}case 3:{c=515;break}case 4:{c=513;break}default:c=514}Si[k[163901]&1023](2960);kj[k[164391]&255](c,e,-1);kj[k[163844]&255](7680,7680,7680)}}while(0);c=k[b+84>>2]|0;d=k[a+48>>2]|0;if(c|0)Si[k[(k[c>>2]|0)+8>>2]&1023](c);e=k[d+-52>>2]|0;if(e|0)Si[k[(k[e>>2]|0)+12>>2]&1023](e);k[d+-52>>2]=c;c=k[b+88>>2]|0;e=k[a+48>>2]|0;if(!c){Kea();c=k[e+-48>>2]|0;if(c|0)Si[k[(k[c>>2]|0)+12>>2]&1023](c);k[e+-48>>2]=0}else{Lea(c,0);Si[k[(k[c>>2]|0)+8>>2]&1023](c);d=k[e+-48>>2]|0;if(d|0)Si[k[(k[d>>2]|0)+12>>2]&1023](d);k[e+-48>>2]=c}e=k[b+96>>2]|0;h=k[b+92>>2]|0;c=k[n+-44>>2]|0;j=(k[n+-40>>2]|0)-c|0;a:do if((e|0)==(h|0))m=50;else{d=0;while(1){if(d>>>0>=j>>2>>>0){m=50;break a}if((k[h+(d<<2)>>2]|0)!=(k[c+(d<<2)>>2]|0)){m=51;break a}d=d+1|0;if(d>>>0>=e-h>>2>>>0){m=50;break}}}while(0);if((m|0)==50)if((e-h|0)!=(j|0))m=51;if((m|0)==51)p9(a,b+92|0);if((i[b+104>>0]|0)==(i[n+-32>>0]|0))if((i[b+105>>0]|0)==(i[n+-31>>0]|0))if((i[b+106>>0]|0)==(i[n+-30>>0]|0)){if((i[b+107>>0]|0)!=(i[n+-29>>0]|0))m=56}else m=56;else m=56;else m=56;if((m|0)==56){j=l[b+104>>0]|l[b+104+1>>0]<<8|l[b+104+2>>0]<<16|l[b+104+3>>0]<<24;vj[k[164535]&127](j&255,j>>>8&255,j>>>16&255,j>>>24&255);m=(k[a+48>>2]|0)+-32|0;i[m>>0]=j&16777215|j>>>24<<24;i[m+1>>0]=(j&16777215|j>>>24<<24)>>8;i[m+2>>0]=(j&16777215|j>>>24<<24)>>16;i[m+3>>0]=(j&16777215|j>>>24<<24)>>24}c=i[b+108>>0]|0;if(!((i[1248948]|0)==0?c<<24>>24!=(i[n+-28>>0]|0):0)){m=b+112|0;eD(m);n=k[a+48>>2]|0;n=n+-24|0;k[n>>2]=k[m>>2];k[n+4>>2]=k[m+4>>2];k[n+8>>2]=k[m+8>>2];k[n+12>>2]=k[m+12>>2];n=b+128|0;n=k[n>>2]|0;b=b+132|0;s=+o[b>>2];Sba(n);Qba(s);a=k[a+48>>2]|0;b=a+-8|0;k[b>>2]=n;a=a+-4|0;o[a>>2]=s;r=p;return}Di[k[164114]&511](1032,c<<24>>24?6913:6914);i[(k[a+48>>2]|0)+-28>>0]=c;m=b+112|0;eD(m);n=k[a+48>>2]|0;n=n+-24|0;k[n>>2]=k[m>>2];k[n+4>>2]=k[m+4>>2];k[n+8>>2]=k[m+8>>2];k[n+12>>2]=k[m+12>>2];n=b+128|0;n=k[n>>2]|0;b=b+132|0;s=+o[b>>2];Sba(n);Qba(s);a=k[a+48>>2]|0;b=a+-8|0;k[b>>2]=n;a=a+-4|0;o[a>>2]=s;r=p;return}function X9(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=r;r=r+16|0;b=k[a+48>>2]|0;if(k[b+-52>>2]|0){r=f;return}c=k[a+12>>2]|0;if(!c){b=k[155701]|0;if(!b){e=xf(16)|0;os(e,432898,f);Jc(e|0,96,27)}b=Ri[k[(k[b>>2]|0)+28>>2]&255](b,12,0)|0;if(b|0)Si[k[(k[b>>2]|0)+8>>2]&1023](b);Si[k[(k[b>>2]|0)+12>>2]&1023](b);d=dD()|0;c=kBb(140)|0;Q7(c,b,d);Si[k[(k[c>>2]|0)+8>>2]&1023](c);d=k[a+12>>2]|0;if(d|0)Si[k[(k[d>>2]|0)+12>>2]&1023](d);k[a+12>>2]=c;Si[k[(k[c>>2]|0)+12>>2]&1023](c);if(b|0)Si[k[(k[b>>2]|0)+12>>2]&1023](b);c=k[a+12>>2]|0;b=(k[a+48>>2]|0)+-52|0;if(!c){d=b;c=0}else e=13}else{b=b+-52|0;e=13}if((e|0)==13){Si[k[(k[c>>2]|0)+8>>2]&1023](c);d=b}b=k[d>>2]|0;if(b|0)Si[k[(k[b>>2]|0)+12>>2]&1023](b);k[d>>2]=c;r=f;return}function Y9(a,b,c){a=a|0;b=b|0;c=c|0;a=kBb(140)|0;Q7(a,b,c);return a|0}function Z9(a){a=a|0;return (i[a+40>>0]|0)!=0|0}function _9(a){a=a|0;var b=0,c=0,d=0;d=k[a+48>>2]|0;a=k[157547]|0;if(a|0)W6(a,0);c=k[d+-44>>2]|0;a=k[d+-40>>2]|0;if((a|0)==(c|0))return;do{a=a+-4|0;k[d+-40>>2]=a;b=k[a>>2]|0;if(b){Si[k[(k[b>>2]|0)+12>>2]&1023](b);a=k[d+-40>>2]|0}}while((a|0)!=(c|0));return}function $9(a){a=a|0;return LA()|0}function aaa(a,b){a=a|0;b=b|0;a=kBb(328)|0;Iea(a,b);return a|0}function baa(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+144|0;o[d>>2]=255.0;o[d+4>>2]=255.0;o[d+8>>2]=255.0;o[d+12>>2]=255.0;o[d+16>>2]=0.0;o[d+20>>2]=0.0;o[d+24>>2]=0.0;o[d+28>>2]=255.0;k[d+32>>2]=0;k[d+36>>2]=0;o[d+40>>2]=1.0;k[d+44>>2]=1;k[d+48>>2]=1;o[d+52>>2]=1.0;i[d+56>>0]=0;k[d+60>>2]=0;k[d+60+4>>2]=0;k[d+60+8>>2]=0;k[d+60+12>>2]=0;k[d+76>>2]=6;k[d+80>>2]=0;k[d+80+4>>2]=0;k[d+80+8>>2]=0;k[d+80+12>>2]=0;k[d+80+16>>2]=0;k[d+80+20>>2]=0;k[d+104>>2]=16843009;i[d+108>>0]=0;k[d+112>>2]=0;k[d+112+4>>2]=0;k[d+112>>2]=1;k[d+116>>2]=1;k[d+120>>2]=0;o[d+124>>2]=1.0;k[d+128>>2]=2;o[d+132>>2]=0.0;caa(a);x9(a,d);Sua(kda(631144)|0);p[(k[a+20>>2]|0)+-8>>3]=1.0;a=k[d+92>>2]|0;if(a|0){b=k[d+96>>2]|0;if((b|0)!=(a|0)){do{b=b+-4|0;k[d+96>>2]=b;c=k[b>>2]|0;if(c){Si[k[(k[c>>2]|0)+12>>2]&1023](c);b=k[d+96>>2]|0}}while((b|0)!=(a|0));a=k[d+92>>2]|0}CAb(a)}a=k[d+88>>2]|0;if(a|0)Si[k[(k[a>>2]|0)+12>>2]&1023](a);a=k[d+84>>2]|0;if(!a){r=d;return}Si[k[(k[a>>2]|0)+12>>2]&1023](a);r=d;return}function caa(a){a=a|0;var b=0,c=0,d=0;if(!(i[a+42>>0]|0))return;i[a+42>>0]=0;c=k[a+48>>2]|0;d=l[c+-32>>0]|l[c+-32+1>>0]<<8|l[c+-32+2>>0]<<16|l[c+-32+3>>0]<<24;vj[k[164535]&127](d&255,d>>>8&255,d>>>16&255,d>>>24&255);b=(k[a+48>>2]|0)+-32|0;i[b>>0]=d&16777215|d>>>24<<24;i[b+1>>0]=(d&16777215|d>>>24<<24)>>8;i[b+2>>0]=(d&16777215|d>>>24<<24)>>16;i[b+3>>0]=(d&16777215|d>>>24<<24)>>24;b=k[c+-60>>2]|0;c=k[c+-56>>2]|0;d=k[a+48>>2]|0;k[d+-60>>2]=b;k[d+-56>>2]=c;if(i[a+42>>0]|0)return;if((b|0)==6){Si[k[164262]&1023](2960);return}a=k[157547]|0;if(a|0)t7(a)|0;switch(b|0){case 0:{a=516;break}case 1:{a=518;break}case 5:{a=517;break}case 3:{a=515;break}case 4:{a=513;break}default:a=514}Si[k[163901]&1023](2960);kj[k[164391]&255](a,c,-1);kj[k[163844]&255](7680,7680,7680);return}function daa(a){a=a|0;Sua(kda(631144)|0);p[(k[a+20>>2]|0)+-8>>3]=1.0;return}function eaa(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0;a=r;r=r+16|0;e=+o[b+4>>2]/255.0;d=+o[b+8>>2]/255.0;c=+o[b+12>>2]/255.0;o[a>>2]=+o[b>>2]/255.0;o[a+4>>2]=e;o[a+8>>2]=d;o[a+12>>2]=c;MA(a);pj[k[164464]&3](+o[a>>2],+o[a+4>>2],+o[a+8>>2],+o[a+12>>2]);Si[k[163837]&1023](17664);if(!((i[631180]|0)!=0&(k[157856]|0)!=0)){r=a;return}Si[k[164127]&1023](0);Si[k[164127]&1023](k[(k[157856]|0)+48>>2]|0);r=a;return}function faa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0.0,l=0.0,m=0.0;h=r;r=r+32|0;d=k[b+4>>2]|0;e=k[b>>2]|0;if((d|0)==(e|0)){r=h;return}c=k[a+48>>2]|0;c=(k[c+-40>>2]|0)-(k[c+-44>>2]|0)>>2;if(!c){if(!(i[e+16>>0]|0)){r=h;return}m=+o[e+4>>2]/255.0;l=+o[e+8>>2]/255.0;j=+o[e+12>>2]/255.0;o[h+8>>2]=+o[e>>2]/255.0;o[h+8+4>>2]=m;o[h+8+8>>2]=l;o[h+8+12>>2]=j;MA(h+8|0);pj[k[164464]&3](+o[h+8>>2],+o[h+8+4>>2],+o[h+8+8>>2],+o[h+8+12>>2]);Si[k[163837]&1023](17664);if((i[631180]|0)!=0&(k[157856]|0)!=0){Si[k[164127]&1023](0);Si[k[164127]&1023](k[(k[157856]|0)+48>>2]|0)}r=h;return}if(((d-e|0)/20|0|0)!=(c|0)){b=xf(16)|0;a=k[a+48>>2]|0;k[h>>2]=(k[a+-40>>2]|0)-(k[a+-44>>2]|0)>>2;os(b,432931,h);Jc(b|0,96,27)}if((d-e|0)>0){g=e;c=0;f=0;while(1){if(!(i[e+(f*20|0)+16>>0]|0))e=g;else{o[h+8>>2]=+o[e+(f*20|0)>>2]/255.0;o[h+8+4>>2]=+o[e+(f*20|0)+4>>2]/255.0;o[h+8+8>>2]=+o[e+(f*20|0)+8>>2]/255.0;o[h+8+12>>2]=+o[e+(f*20|0)+12>>2]/255.0;if(LA()|0){m=+fF(621176,+o[h+8>>2]);o[h+8>>2]=m;m=+fF(621176,+o[h+8+4>>2]);o[h+8+4>>2]=m;m=+fF(621176,+o[h+8+8>>2]);o[h+8+8>>2]=m}if(!((i[1248938]|i[1248949])<<24>>24)){Si[k[163937]&1023](f+36064|0);pj[k[164464]&3](+o[h+8>>2],+o[h+8+4>>2],+o[h+8+8>>2],+o[h+8+12>>2]);Si[k[163837]&1023](16384);c=1}else kj[k[163776]&255](6144,f,h+8|0);d=k[b+4>>2]|0;e=k[b>>2]|0}f=f+1|0;if((f|0)>=((d-e|0)/20|0|0))break;else g=e}Si[k[163837]&1023](1280);if(c){k[h+8>>2]=0;b=h+8+4|0;k[b>>2]=0;k[h+8+8>>2]=0;c=k[a+48>>2]|0;if(((k[c+-40>>2]|0)-(k[c+-44>>2]|0)|0)>0){f=0;g=0;e=0;while(1){d=e+36064|0;k[h+4>>2]=d;if(f>>>0>>0){k[f>>2]=d;k[b>>2]=f+4}else{jy(h+8|0,h+4|0);c=k[a+48>>2]|0}d=e+1|0;if((d|0)>=((k[c+-40>>2]|0)-(k[c+-44>>2]|0)>>2|0))break;f=k[b>>2]|0;g=k[h+8+8>>2]|0;e=d}e=k[h+8>>2]|0;c=k[b>>2]|0;d=e}else{c=0;d=0;e=0}c=c-d>>2;if(c>>>0>1)Di[k[164115]&511](c,e);else Si[k[163937]&1023](36064);c=k[h+8>>2]|0;if(c|0){d=k[b>>2]|0;if((d|0)!=(c|0))k[b>>2]=d+(~((d+-4-c|0)>>>2)<<2);CAb(c)}}}else Si[k[163837]&1023](1280);if(!((i[631180]|0)!=0&(k[157856]|0)!=0)){r=h;return}Si[k[164127]&1023](0);Si[k[164127]&1023](k[(k[157856]|0)+48>>2]|0);r=h;return}function gaa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0;j=r;r=r+48|0;if(!((i[1248991]|i[1248945]|i[1248949]|i[1249043])<<24>>24)){r=j;return}k[j+24>>2]=0;h=j+24+4|0;k[h>>2]=0;k[j+24+8>>2]=0;d=k[b+4>>2]|0;g=j+24+8|0;if(d|0){f=kBb(d<<2)|0;k[j+24>>2]=f;k[h>>2]=f;k[g>>2]=f+(d<<2)}do if(!(k[157547]|0)){if(wda(631144)|0)if(!(k[157547]|0)){f=1;e=20;break}else{e=19;break}do if(k[b+4>>2]|0)if(k[k[b>>2]>>2]&1|0){k[j+20>>2]=6144;d=k[h>>2]|0;if(d>>>0<(k[g>>2]|0)>>>0){k[d>>2]=6144;k[h>>2]=d+4;break}else{jy(j+24|0,j+20|0);break}}while(0);if(c){k[j+16>>2]=6146;a=k[h>>2]|0;d=k[g>>2]|0;if(a>>>0>>0){k[a>>2]=6146;k[h>>2]=a+4;a=a+4|0}else{jy(j+24|0,j+16|0);a=k[h>>2]|0;d=k[g>>2]|0}k[j+12>>2]=6145;if(a>>>0>>0){k[a>>2]=6145;k[h>>2]=a+4;break}else{jy(j+24|0,j+12|0);break}}}else e=19;while(0);if((e|0)==19){f=k[a+48>>2]|0;f=(k[f+-40>>2]|0)-(k[f+-44>>2]|0)>>2;e=20}do if((e|0)==20){if((k[b+4>>2]|0)>0){e=0;do{do if((e|0)<(f|0)?(k[(k[b>>2]|0)+(e>>>5<<2)>>2]&1<<(e&31)|0)!=0:0){d=e+36064|0;k[j+8>>2]=d;a=k[h>>2]|0;if(a>>>0<(k[g>>2]|0)>>>0){k[a>>2]=d;k[h>>2]=a+4;break}else{jy(j+24|0,j+8|0);break}}while(0);e=e+1|0}while((e|0)<(k[b+4>>2]|0))}if(c){k[j+4>>2]=36128;a=k[h>>2]|0;d=k[g>>2]|0;if(a>>>0>>0){k[a>>2]=36128;k[h>>2]=a+4;a=a+4|0}else{jy(j+24|0,j+4|0);a=k[h>>2]|0;d=k[g>>2]|0}k[j>>2]=36096;if(a>>>0>>0){k[a>>2]=36096;k[h>>2]=a+4;break}else{jy(j+24|0,j);break}}}while(0);if(!((i[1248991]|i[1248945]|i[1248949])<<24>>24)){if(i[1249043]|0){g=k[j+24>>2]|0;kj[k[165132]&255](36160,(k[h>>2]|0)-g>>2,g)}}else{g=k[j+24>>2]|0;kj[k[164064]&255](36160,(k[h>>2]|0)-g>>2,g)}d=k[j+24>>2]|0;if(d|0){a=k[h>>2]|0;if((a|0)!=(d|0))k[h>>2]=a+(~((a+-4-d|0)>>>2)<<2);CAb(d)}r=j;return}function haa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=r;r=r+32|0;if(!(Gi[k[(k[a>>2]|0)+40>>2]&2047](a)|0)){r=f;return}o9(f+12|0,(k[a+48>>2]|0)+-44|0);e=k[a+48>>2]|0;b=k[157547]|0;if(b|0)W6(b,0);d=k[e+-44>>2]|0;b=k[e+-40>>2]|0;if((b|0)!=(d|0))do{b=b+-4|0;k[e+-40>>2]=b;c=k[b>>2]|0;if(c){Si[k[(k[c>>2]|0)+12>>2]&1023](c);b=k[e+-40>>2]|0}}while((b|0)!=(d|0));k[f>>2]=0;k[f+4>>2]=0;k[f+8>>2]=0;gaa(a,f,1);b=k[a+8>>2]|0;if(b|0)Si[k[(k[b>>2]|0)+108>>2]&1023](b);p9(a,f+12|0);k[157793]=0;k[157794]=0;b=k[f+12>>2]|0;if(b|0){c=k[f+12+4>>2]|0;if((c|0)!=(b|0)){do{c=c+-4|0;k[f+12+4>>2]=c;d=k[c>>2]|0;if(d){Si[k[(k[d>>2]|0)+12>>2]&1023](d);c=k[f+12+4>>2]|0}}while((c|0)!=(b|0));b=k[f+12>>2]|0}CAb(b)}r=f;return}function iaa(a){a=a|0;return k[a+32>>2]|0}function jaa(a){a=a|0;return k[a+36>>2]|0}function kaa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,l=0,m=0,n=0;f=r;r=r+16|0;m=k[a+48>>2]|0;l=k[m+-76>>2]|0;j=k[m+-72>>2]|0;n=(i[m+-80>>0]|0)==0;g=n?0:j;h=n?0:l;h=(h|0)<(b|0)?b:h;g=(g|0)<(c|0)?c:g;l=n?2147483647:(k[m+-68>>2]|0)+l|0;j=n?2147483647:(k[m+-64>>2]|0)+j|0;d=((d+b|0)<(l|0)?d+b|0:l)-h|0;d=(d|0)>0?d:0;b=((e+c|0)<(j|0)?e+c|0:j)-g|0;b=(b|0)>0?b:0;Si[k[163901]&1023](3089);k[f>>2]=h;k[f+4>>2]=g;k[f+8>>2]=d;k[f+12>>2]=b;pda(631144,f);c=k[a+48>>2]|0;i[c+-80>>0]=1;k[c+-76>>2]=h;k[c+-72>>2]=g;k[c+-68>>2]=d;k[c+-64>>2]=b;r=f;return}function laa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=k[a+48>>2]|0;k[b>>2]=k[a+-76>>2];k[c>>2]=k[a+-72>>2];k[d>>2]=k[a+-68>>2];k[e>>2]=k[a+-64>>2];return (i[a+-80>>0]|0)!=0|0}function maa(a,b,c){a=a|0;b=b|0;c=c|0;i[a+42>>0]=1;a=k[157547]|0;if(a|0)t7(a)|0;vj[k[164535]&127](0,0,0,0);switch(b|0){case 5:{a=5386;break}case 1:{a=7682;break}case 2:{a=7683;break}case 3:{a=34055;break}case 4:{a=34056;break}default:a=7681}Si[k[163901]&1023](2960);kj[k[164391]&255](519,c,-1);kj[k[163844]&255](7680,7680,a);return}function naa(a,b,c){a=a|0;b=b|0;c=c|0;a=k[a+48>>2]|0;k[b>>2]=k[a+-60>>2];k[c>>2]=k[a+-56>>2];return}function oaa(a){a=a|0;Si[k[163837]&1023](1280);return}function paa(a,b,c){a=a|0;b=b|0;c=c|0;a=kBb(168)|0;Eba(a,b,c);return a|0}function qaa(a,b,c){a=a|0;b=b|0;c=c|0;a=kBb(168)|0;Gba(a,b,c);return a|0}function raa(a,b,c,d){a=a|0;b=b|0;c=+c;d=+d;a=kBb(136)|0;PC(a,b,c,d);return a|0}function saa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=kBb(52)|0;ifa(a,b,c,d);return a|0}function taa(a,b,c){a=a|0;b=b|0;c=c|0;a=kBb(236)|0;Tda(a,b,c);return a|0}function uaa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;g=r;r=r+208|0;if(!(v7()|0)){f=xf(16)|0;os(f,433001,g);Jc(f|0,96,27)}if(!(w7(d)|0)){k[g+196>>2]=433052;y7(q7(d)|0,g+196|0)|0;f=xf(16)|0;k[g+8>>2]=k[g+196>>2];os(f,433058,g+8|0);Jc(f|0,96,27)}if((Eda(631144)|0)<(b|0)){f=xf(16)|0;k[g+16>>2]=b;os(f,433120,g+16|0);Jc(f|0,96,27)}if((Eda(631144)|0)<(c|0)){f=xf(16)|0;k[g+24>>2]=c;os(f,433191,g+24|0);Jc(f|0,96,27)}do{}while((oj[k[164640]&7]()|0)!=0);f=kBb(176)|0;l7(f,b,c,d,e);a=k[f+148>>2]|0;if((a|0)==36053){r=g;return f|0}k[g+40+8>>2]=9184;d=g+40+12|0;k[g+40>>2]=9388;k[g+40+64>>2]=9408;k[g+40+4>>2]=0;Fsb(g+40+64|0,d);k[g+40+136>>2]=0;k[g+40+140>>2]=-1;k[g+40>>2]=9164;k[g+40+64>>2]=9204;k[g+40+8>>2]=9184;Hsb(d);k[d>>2]=9220;k[g+40+44>>2]=0;k[g+40+44+4>>2]=0;k[g+40+44+8>>2]=0;k[g+40+44+12>>2]=0;k[g+40+60>>2]=24;k[g+196>>2]=0;k[g+196+4>>2]=0;k[g+196+8>>2]=0;ok(d,g+196|0);_qb(g+196|0);c=g+40+8|0;pk(c,433263,22)|0;a:do switch(a|0){case 36061:{pk(c,433286,37)|0;break}case 36054:{pk(c,433324,52)|0;break}case 36182:case 36060:case 36059:case 36055:case 33305:{pk(c,433377,25)|0;break}default:if(!(oj[k[164640]&7]()|0)){pk(c,433403,44)|0;break a}else{b=pk(c,433448,56)|0;pk(Psb(b,oj[k[164640]&7]()|0)|0,439785,1)|0;break a}}while(0);Si[k[(k[f>>2]|0)+12>>2]&1023](f);f=xf(16)|0;rk(g+184|0,d);k[g+32>>2]=(i[g+184>>0]&1)==0?g+184+1|0:k[g+184+8>>2]|0;os(f,593163,g+32|0);Jc(f|0,96,27);return 0}function vaa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=kBb(100)|0;lca(a,b,c,d);return a|0}function waa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=kBb(100)|0;nca(a,b,c,d);return a|0}function xaa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=kBb(100)|0;kca(a,b,c,d,e);return a|0}function yaa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;a=kBb(100)|0;aca(a,b,c,d,e,f);return a|0}function zaa(a,b,c){a=a|0;b=b|0;c=c|0;a=kBb(48)|0;Rfa(a,b,c);return a|0}function Aaa(a,b){a=a|0;b=b|0;a=kBb(128)|0;jga(a,b);return a|0}function Baa(a,b){a=a|0;b=b|0;b=(k[b+48>>2]|0)+-136|0;k[a>>2]=k[b>>2];k[a+4>>2]=k[b+4>>2];k[a+8>>2]=k[b+8>>2];k[a+12>>2]=k[b+12>>2];return}function Caa(a,b){a=a|0;b=b|0;b=(k[b+48>>2]|0)+-120|0;k[a>>2]=k[b>>2];k[a+4>>2]=k[b+4>>2];k[a+8>>2]=k[b+8>>2];k[a+12>>2]=k[b+12>>2];return}function Daa(a){a=a|0;X9(a);return k[(k[a+48>>2]|0)+-52>>2]|0}function Eaa(a){a=a|0;var b=0;a=k[a+48>>2]|0;Kea();b=k[a+-48>>2]|0;if(!b){k[a+-48>>2]=0;return}Si[k[(k[b>>2]|0)+12>>2]&1023](b);k[a+-48>>2]=0;return}function Faa(a){a=a|0;return k[(k[a+48>>2]|0)+-48>>2]|0}function Gaa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=r;r=r+16|0;k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;c=k[b+48>>2]|0;d=k[c+-40>>2]|0;e=k[c+-44>>2]|0;if(!(d-e>>2)){b=e;f=d;d=0;c=0}else{h=kBb(d-e|0)|0;k[a>>2]=h;k[a+4>>2]=h;k[a+8>>2]=h+(d-e>>2<<2);b=k[c+-44>>2]|0;f=k[c+-40>>2]|0;d=h+(d-e>>2<<2)|0;c=h}if((b|0)==(f|0)){r=g;return}e=d;while(1){d=k[b>>2]|0;k[g>>2]=d;if(c>>>0>>0){k[c>>2]=d;k[a+4>>2]=(k[a+4>>2]|0)+4}else kx(a,g);b=b+4|0;if((b|0)==(f|0))break;c=k[a+4>>2]|0;e=k[a+8>>2]|0}r=g;return}function Haa(a,b){a=a|0;b=b|0;b=(k[b+48>>2]|0)+-32|0;b=l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24;i[a>>0]=b;i[a+1>>0]=b>>8;i[a+2>>0]=b>>16;i[a+3>>0]=b>>24;return}function Iaa(a,b){a=a|0;b=b|0;switch(b|0){case 0:{a=r7()|0;return a|0}case 1:{a=Dda(631144)|0;return a|0}case 2:{a=(i[1248949]|i[1248934]|i[1249036])<<24>>24!=0;return a|0}default:{a=0;return a|0}}return 0}function Jaa(a,b){a=a|0;b=b|0;a=k[a+48>>2]|0;k[b>>2]=k[a+-100>>2];return k[a+-104>>2]|0}function Kaa(a){a=a|0;return dD()|0}function Laa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0;a=Tba()|0;k[b>>2]=a;d=+Rba();o[c>>2]=d;return}function Maa(a){a=a|0;return +(+o[(k[a+48>>2]|0)+-96>>2])}function Naa(a){a=a|0;return k[(k[a+48>>2]|0)+-92>>2]|0}function Oaa(a){a=a|0;return k[(k[a+48>>2]|0)+-88>>2]|0}function Paa(a){a=a|0;return +(+o[(k[a+48>>2]|0)+-84>>2])}function Qaa(a){a=a|0;return (i[(k[a+48>>2]|0)+-28>>0]|0)!=0|0}function Raa(a,b,c,d,e,f,g,h,i,j,l){a=a|0;b=b|0;c=+c;d=+d;e=+e;f=+f;g=+g;h=+h;i=+i;j=+j;l=+l;X9(a);a=k[(k[a+48>>2]|0)+-52>>2]|0;if(!a)return;r8(a,b,c,d,e,f,g,h,i,j,l);return}function Saa(a,b,c,d,e,f,g,h,i,j,l,m,n){a=a|0;b=b|0;c=+c;d=+d;e=+e;f=f|0;g=+g;h=+h;i=+i;j=+j;l=+l;m=+m;n=+n;X9(a);a=k[(k[a+48>>2]|0)+-52>>2]|0;if(!a)return;s8(a,b,c,d,e,f,g,h,i,j,l,m,n);return}function Taa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;lda(631144);gda(631144,xda(631144)|0);Ti[k[164011]&63](0,2,5126,0,0,b);if(!c)c=1;else{Ti[k[164011]&63](2,4,5121,1,0,c);c=5}eda(631144,c);mda(631144,0,0,d);return}function Uaa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=r;r=r+32|0;d=k[a+48>>2]|0;switch(k[d+-88>>2]|0){case 0:{k[e+4>>2]=0;k[e+4+4>>2]=0;k[e+4+8>>2]=0;k[e+4+12>>2]=0;k[e+20>>2]=4;i[e+24>>0]=1;k[e+28>>2]=0;k[e>>2]=23932;hea(e,b,c,(c<<1)+-4|0,+o[d+-96>>2]*.5,+p[(k[a+20>>2]|0)+-8>>3],(k[d+-92>>2]|0)==1);d=k[e+4>>2]|0;if((k[e+12>>2]|0)==4)b=0;else{c=0;do{f=d+(c+2<<3)|0;a=k[f+4>>2]|0;b=d+(c<<3)|0;k[b>>2]=k[f>>2];k[b+4>>2]=a;c=c+1|0;b=(k[e+12>>2]|0)+-4|0;d=k[e+4>>2]|0}while(c>>>0>>0)}f=d+(b<<3)|0;k[f>>2]=0;k[f+4>>2]=0;k[f+8>>2]=0;k[f+12>>2]=0;k[f+16>>2]=0;k[f+20>>2]=0;k[f+24>>2]=0;k[f+28>>2]=0;k[e+12>>2]=(k[e+12>>2]|0)+-4;iea(e);Uda(e);r=e;return}case 2:{k[e+4>>2]=0;k[e+4+4>>2]=0;k[e+4+8>>2]=0;k[e+4+12>>2]=0;k[e+20>>2]=5;i[e+24>>0]=0;k[e+28>>2]=0;k[e>>2]=23996;hea(e,b,c,(c<<1)+-4|0,+o[d+-96>>2]*.5,+p[(k[a+20>>2]|0)+-8>>3],(k[d+-92>>2]|0)==1);iea(e);Uda(e);r=e;return}default:{k[e+4>>2]=0;k[e+4+4>>2]=0;k[e+4+8>>2]=0;k[e+4+12>>2]=0;k[e+20>>2]=5;i[e+24>>0]=0;k[e+28>>2]=0;k[e>>2]=23964;hea(e,b,c,c,+o[d+-96>>2]*.5,+p[(k[a+20>>2]|0)+-8>>3],(k[d+-92>>2]|0)==1);iea(e);Uda(e);r=e;return}}}function Vaa(a,b,c,d,e,f){a=a|0;b=b|0;c=+c;d=+d;e=+e;f=+f;var g=0;g=r;r=r+48|0;o[g>>2]=c;o[g+4>>2]=d;o[g+8>>2]=c;o[g+12>>2]=d+f;o[g+16>>2]=c+e;o[g+20>>2]=d+f;o[g+24>>2]=c+e;o[g+28>>2]=d;o[g+32>>2]=c;o[g+36>>2]=d;if(!b){Uaa(a,g,10);r=g;return}else{lda(631144);gda(631144,xda(631144)|0);eda(631144,1);Ti[k[164011]&63](0,2,5126,0,0,g);mda(631144,6,0,4);r=g;return}}function Waa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(!b){Uaa(a,c,d);return}else{lda(631144);gda(631144,xda(631144)|0);eda(631144,1);Ti[k[164011]&63](0,2,5126,0,0,c);mda(631144,6,0,((d|0)/2|0)+-1|0);return}}function Xaa(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=+c;d=+d;e=+e;f=+f;g=+g;h=+h;i=i|0;var j=0.0,l=0,m=0,n=0,p=0,q=0.0;n=r;r=r+16|0;o[n+12>>2]=g;o[n+8>>2]=h;if(g==0.0|h==0.0){Vaa(a,b,c,d,e,f);r=n;return}if(e>=.019999999552965164){o[n+4>>2]=e*.5+-.009999999776482582;m=k[(e*.5+-.009999999776482582>2]|0;k[n+12>>2]=m;g=(k[t>>2]=m,+o[t>>2])}if(f>=.019999999552965164){o[n>>2]=f*.5+-.009999999776482582;m=k[(f*.5+-.009999999776482582>2]|0;k[n+8>>2]=m;h=(k[t>>2]=m,+o[t>>2])}l=(i|0)<1?1:i;m=mBb(((l<<3)+18|0)>>>0>1073741823?-1:(l<<3)+18<<2)|0;if((l|0)>=-2){i=0;j=0.0;while(1){q=g*(1.0-+Z(+j))+c;p=i<<1;o[m+(p<<2)>>2]=q;q=h*(1.0-+_(+j))+d;o[m+((p|1)<<2)>>2]=q;if((i|0)<(l+2|0)){i=i+1|0;j=1.5707963705062866/(+(l|0)+1.0)+j}else break}}if((l+2|0)<=((l<<1)+4|0)){i=l+2|0;j=1.5707963705062866;while(1){q=c+e-g*(+Z(+j)+1.0);p=i<<1;o[m+(p<<2)>>2]=q;q=h*(1.0-+_(+j))+d;o[m+((p|1)<<2)>>2]=q;if((i|0)<((l<<1)+4|0)){i=i+1|0;j=1.5707963705062866/(+(l|0)+1.0)+j}else break}}if(((l<<1)+4|0)<=((l*3|0)+6|0)){i=(l<<1)+4|0;j=3.1415927410125732;while(1){q=c+e-g*(+Z(+j)+1.0);p=i<<1;o[m+(p<<2)>>2]=q;q=d+f-h*(+_(+j)+1.0);o[m+((p|1)<<2)>>2]=q;if((i|0)<((l*3|0)+6|0)){i=i+1|0;j=1.5707963705062866/(+(l|0)+1.0)+j}else break}}if(((l*3|0)+6|0)<=((l<<2)+8|0)){i=(l*3|0)+6|0;j=4.71238899230957;while(1){q=g*(1.0-+Z(+j))+c;p=i<<1;o[m+(p<<2)>>2]=q;q=d+f-h*(+_(+j)+1.0);o[m+((p|1)<<2)>>2]=q;if((i|0)<((l<<2)+8|0)){i=i+1|0;j=1.5707963705062866/(+(l|0)+1.0)+j}else break}}k[m+((l<<3)+16<<2)>>2]=k[m>>2];k[m+((l<<3)+17<<2)>>2]=k[m+4>>2];Waa(a,b,m,(l<<3)+18|0);oBb(m);r=n;return}function Yaa(a,b,c,d,e,f){a=a|0;b=b|0;c=+c;d=+d;e=+e;f=f|0;var g=0,h=0.0,i=0,j=0,l=0.0;i=(f|0)<1?1:f;j=mBb(((i<<1)+2|0)>>>0>1073741823?-1:(i<<1)+2<<2)|0;if((i|0)>0){f=0;h=0.0;while(1){l=+Z(+h)*e+c;g=f<<1;o[j+(g<<2)>>2]=l;l=+_(+h)*e+d;o[j+((g|1)<<2)>>2]=l;f=f+1|0;if((f|0)>=(i|0))break;else h=6.2831854820251465/+(i|0)+h}f=k[j>>2]|0;g=k[j+4>>2]|0}else{f=0;g=0}k[j+(i<<1<<2)>>2]=f;k[j+((i<<1|1)<<2)>>2]=g;Waa(a,b,j,(i<<1)+2|0);oBb(j);return}function Zaa(a,b,c,d,e,f,g){a=a|0;b=b|0;c=+c;d=+d;e=+e;f=+f;g=g|0;var h=0,i=0.0,j=0,l=0,m=0.0;j=(g|0)<1?1:g;l=mBb(((j<<1)+2|0)>>>0>1073741823?-1:(j<<1)+2<<2)|0;if((j|0)>0){g=0;i=0.0;while(1){m=+Z(+i)*e+c;h=g<<1;o[l+(h<<2)>>2]=m;m=+_(+i)*f+d;o[l+((h|1)<<2)>>2]=m;g=g+1|0;if((g|0)>=(j|0))break;else i=6.2831854820251465/+(j|0)+i}g=k[l+4>>2]|0;h=k[l>>2]|0}else{g=0;h=0}k[l+(j<<1<<2)>>2]=h;k[l+((j<<1|1)<<2)>>2]=g;Waa(a,b,l,(j<<1)+2|0);oBb(l);return}function _aa(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=+d;e=+e;f=+f;g=+g;h=+h;i=i|0;var j=0,l=0,m=0.0,n=0.0;if(g==h|(i|0)<1)return;m=+W(+(g-h));if(m>=6.2831854820251465){l=mBb(((i<<1)+2|0)>>>0>1073741823?-1:(i<<1)+2<<2)|0;if((i|0)>0){c=0;m=0.0;while(1){h=+Z(+m)*f+d;j=c<<1;o[l+(j<<2)>>2]=h;h=+_(+m)*f+e;o[l+((j|1)<<2)>>2]=h;c=c+1|0;if((c|0)>=(i|0))break;else m=6.2831854820251465/+(i|0)+m}c=k[l>>2]|0;j=k[l+4>>2]|0}else{c=0;j=0}k[l+(i<<1<<2)>>2]=c;k[l+((i<<1|1)<<2)>>2]=j;Waa(a,b,l,(i<<1)+2|0);oBb(l);return}if((h-g)/+(i|0)==0.0)return;if((b|0)==0&(c|0)==1)if(m<.06981316953897476)c=0;else c=1;c=(b|0)==1&(c|0)==0?1:c;a:do if((c|0)==2){j=mBb(((i<<1)+6|0)>>>0>1073741823?-1:(i<<1)+6<<2)|0;o[j+((i<<1)+4<<2)>>2]=d;o[j>>2]=d;o[j+((i<<1)+5<<2)>>2]=e;o[j+4>>2]=e;if((i|0)<0)c=(i<<1)+6|0;else{c=0;m=g;while(1){n=+Z(+m)*f+d;l=c<<1;o[j+8+(l<<2)>>2]=n;n=+_(+m)*f+e;o[j+8+((l|1)<<2)>>2]=n;if((c|0)==(i|0)){c=(i<<1)+6|0;break}else{c=c+1|0;m=(h-g)/+(i|0)+m}}}}else{if(!c){j=mBb(((i<<1)+2|0)>>>0>1073741823?-1:(i<<1)+2<<2)|0;if((i|0)<0){c=(i<<1)+2|0;break}else{c=0;m=g}while(1){n=+Z(+m)*f+d;l=c<<1;o[j+(l<<2)>>2]=n;n=+_(+m)*f+e;o[j+((l|1)<<2)>>2]=n;if((c|0)==(i|0)){c=(i<<1)+2|0;break a}else{c=c+1|0;m=(h-g)/+(i|0)+m}}}j=mBb(((i<<1)+4|0)>>>0>1073741823?-1:(i<<1)+4<<2)|0;if((i|0)<0){c=0;l=0}else{c=0;m=g;while(1){n=+Z(+m)*f+d;l=c<<1;o[j+(l<<2)>>2]=n;n=+_(+m)*f+e;o[j+((l|1)<<2)>>2]=n;if((c|0)==(i|0))break;else{c=c+1|0;m=(h-g)/+(i|0)+m}}c=k[j+4>>2]|0;l=k[j>>2]|0}k[j+((i<<1)+2<<2)>>2]=l;k[j+((i<<1)+3<<2)>>2]=c;c=(i<<1)+4|0}while(0);Waa(a,b,j,c);oBb(j);return}function $aa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0;m=r;r=r+16|0;o9(m,(k[a+48>>2]|0)+-44|0);g=k[a+48>>2]|0;d=k[157547]|0;if(d|0)W6(d,0);f=k[g+-44>>2]|0;d=k[g+-40>>2]|0;if((d|0)!=(f|0))do{d=d+-4|0;k[g+-40>>2]=d;e=k[d>>2]|0;if(e){Si[k[(k[e>>2]|0)+12>>2]&1023](e);d=k[g+-40>>2]|0}}while((d|0)!=(f|0));g=k[a+32>>2]|0;h=k[a+36>>2]|0;e=ha(g<<2,h)|0;l=(e|0)>-1?e:-1;j=mBb(l)|0;l=mBb(l)|0;cj[k[164363]&7](0,0,g,h,6408,5121,j);if((e|0)>3&(c^1)){d=3;do{i[j+d>>0]=-1;d=d+4|0}while((d|0)<(e|0))}if((h|0)>0){d=l+e|0;e=0;f=j+(0-(g<<2))|0;do{d=d+(0-(g<<2))|0;f=f+(g<<2)|0;ABb(d|0,f|0,g<<2|0)|0;e=e+1|0}while((e|0)!=(h|0))}oBb(j);g=Ni[k[(k[b>>2]|0)+32>>2]&127](b,g,h,l,1)|0;p9(a,m);d=k[m>>2]|0;if(!d){r=m;return g|0}e=k[m+4>>2]|0;if((e|0)!=(d|0)){do{e=e+-4|0;k[m+4>>2]=e;f=k[e>>2]|0;if(f){Si[k[(k[f>>2]|0)+12>>2]&1023](f);e=k[m+4>>2]|0}}while((e|0)!=(d|0));d=k[m>>2]|0}CAb(d);r=m;return g|0}function aba(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+32|0;b=a;c=b+48|0;do{k[b>>2]=0;b=b+4|0}while((b|0)<(c|0));if(!(i[1248948]|0))drb(a,433515)|0;else drb(a,433505)|0;b=Gi[k[164209]&2047](7938)|0;if(!b){a=xf(16)|0;os(a,433522,d);Jc(a|0,96,27)}drb(a+12|0,b)|0;b=Gi[k[164209]&2047](7936)|0;if(!b){a=xf(16)|0;os(a,433568,d+8|0);Jc(a|0,96,27)}drb(a+24|0,b)|0;b=Gi[k[164209]&2047](7937)|0;if(!b){a=xf(16)|0;os(a,433613,d+16|0);Jc(a|0,96,27)}else{drb(a+36|0,b)|0;r=d;return}}function bba(a,b){a=a|0;b=b|0;k[a>>2]=k[157793];k[a+4>>2]=k[157794];k[a+8>>2]=k[157552];k[a+12>>2]=k[157706];k[a+16>>2]=k[157672];k[a+20>>2]=k[157792];return}function cba(a,b){a=a|0;b=b|0;var c=0.0;a=r;r=r+16|0;switch(b|0){case 0:{Di[k[164644]&511](33901,a);c=+o[a+4>>2];break}case 1:{c=+(Eda(631144)|0);break}case 2:{c=+(Fda(631144)|0);break}case 3:{c=+(Gda(631144)|0);break}default:c=0.0}r=a;return +c}function dba(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=r;r=r+16|0;k[g+4>>2]=b;if(((k[a+60>>2]|0)-(k[a+56>>2]|0)|0)==256){b=xf(16)|0;os(b,433658,g);Jc(b|0,96,27)}hda(631144);c=k[a+20>>2]|0;if((c|0)==(k[a+24>>2]|0))eba(a+16|0,c+-8|0);else{p[c>>3]=+p[c+-8>>3];k[a+20>>2]=c+8}do if(!b){f=k[a+48>>2]|0;if((f|0)==(k[a+52>>2]|0)){fba(a+44|0,f+-136|0);break}c=f;d=f+-136|0;e=c+84|0;do{k[c>>2]=k[d>>2];c=c+4|0;d=d+4|0}while((c|0)<(e|0));c=k[f+-52>>2]|0;k[f+84>>2]=c;if(c|0)Si[k[(k[c>>2]|0)+8>>2]&1023](c);c=k[f+-48>>2]|0;k[f+88>>2]=c;if(c|0)Si[k[(k[c>>2]|0)+8>>2]&1023](c);o9(f+92|0,f+-44|0);k[f+104>>2]=k[f+-32>>2];k[f+104+4>>2]=k[f+-32+4>>2];k[f+104+8>>2]=k[f+-32+8>>2];k[f+104+12>>2]=k[f+-32+12>>2];k[f+104+16>>2]=k[f+-32+16>>2];k[f+104+20>>2]=k[f+-32+20>>2];k[f+104+24>>2]=k[f+-32+24>>2];k[f+104+28>>2]=k[f+-32+28>>2];k[a+48>>2]=(k[a+48>>2]|0)+136}while(0);c=k[a+60>>2]|0;if((c|0)==(k[a+64>>2]|0)){gba(a+56|0,g+4|0);r=g;return}else{k[c>>2]=b;k[a+60>>2]=c+4;r=g;return}}function eba(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=k[a>>2]|0;c=((k[a+4>>2]|0)-i>>3)+1|0;if(c>>>0>536870911)xzb(a);d=(k[a+8>>2]|0)-i|0;if(d>>3>>>0<268435455){c=d>>2>>>0>>0?c:d>>2;e=k[a+4>>2]|0;if(!c){h=0;f=0;d=e-i>>3;c=e}else{g=e;d=e-i>>3;j=6}}else{d=k[a+4>>2]|0;c=536870911;g=d;d=d-i>>3;j=6}if((j|0)==6){h=c;f=kBb(c<<3)|0;c=g}j=f+(d<<3)|0;p[j>>3]=+p[b>>3];b=c-i|0;ABb(j+(0-(b>>3)<<3)|0,i|0,b|0)|0;k[a>>2]=j+(0-(b>>3)<<3);k[a+4>>2]=j+8;k[a+8>>2]=f+(h<<3);if(!i)return;CAb(i);return}function fba(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;i=r;r=r+32|0;e=k[a>>2]|0;d=(((k[a+4>>2]|0)-e|0)/136|0)+1|0;if(d>>>0>31580641)xzb(a);c=((k[a+8>>2]|0)-e|0)/136|0;if(c>>>0<15790320)c=c<<1>>>0>>0?d:c<<1;else c=31580641;f=((k[a+4>>2]|0)-e|0)/136|0;k[i+12>>2]=0;k[i+16>>2]=a+8;if(!c)g=0;else g=kBb(c*136|0)|0;k[i>>2]=g;h=g+(f*136|0)|0;k[i+8>>2]=h;k[i+4>>2]=h;k[i+12>>2]=g+(c*136|0);c=h;d=b;e=c+84|0;do{k[c>>2]=k[d>>2];c=c+4|0;d=d+4|0}while((c|0)<(e|0));c=k[b+84>>2]|0;k[g+(f*136|0)+84>>2]=c;if(c|0)Si[k[(k[c>>2]|0)+8>>2]&1023](c);c=k[b+88>>2]|0;k[g+(f*136|0)+88>>2]=c;if(c|0)Si[k[(k[c>>2]|0)+8>>2]&1023](c);o9(g+(f*136|0)+92|0,b+92|0);g=g+(f*136|0)+104|0;k[g>>2]=k[b+104>>2];k[g+4>>2]=k[b+104+4>>2];k[g+8>>2]=k[b+104+8>>2];k[g+12>>2]=k[b+104+12>>2];k[g+16>>2]=k[b+104+16>>2];k[g+20>>2]=k[b+104+20>>2];k[g+24>>2]=k[b+104+24>>2];k[g+28>>2]=k[b+104+28>>2];k[i+8>>2]=h+136;E9(a,i);F9(i);r=i;return}function gba(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=k[a>>2]|0;c=((k[a+4>>2]|0)-i>>2)+1|0;if(c>>>0>1073741823)xzb(a);d=(k[a+8>>2]|0)-i|0;if(d>>2>>>0<536870911){c=d>>1>>>0>>0?c:d>>1;e=k[a+4>>2]|0;if(!c){h=0;f=0;d=e-i>>2;c=e}else{g=e;d=e-i>>2;j=6}}else{d=k[a+4>>2]|0;c=1073741823;g=d;d=d-i>>2;j=6}if((j|0)==6){h=c;f=kBb(c<<2)|0;c=g}j=f+(d<<2)|0;k[j>>2]=k[b>>2];b=c-i|0;ABb(j+(0-(b>>2)<<2)|0,i|0,b|0)|0;k[a>>2]=j+(0-(b>>2)<<2);k[a+4>>2]=j+4;k[a+8>>2]=f+(h<<2);if(!i)return;CAb(i);return}function hba(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;i=r;r=r+16|0;if((k[a+60>>2]|0)==(k[a+56>>2]|0)){a=xf(16)|0;os(a,433711,i);Jc(a|0,96,27)}jda(631144);k[a+20>>2]=(k[a+20>>2]|0)+-8;b=k[a+60>>2]|0;if(k[b+-4>>2]|0){h=b;h=h+-4|0;k[a+60>>2]=h;r=i;return}h=k[a+44>>2]|0;W9(a,h+(((((k[a+48>>2]|0)-h|0)/136|0)+-2|0)*136|0)|0);h=k[a+48>>2]|0;g=h;do{k[a+48>>2]=g+-136;e=g+-44|0;b=k[e>>2]|0;if(b|0){f=g+-40|0;c=k[f>>2]|0;if((c|0)!=(b|0)){do{c=c+-4|0;k[f>>2]=c;d=k[c>>2]|0;if(d){Si[k[(k[d>>2]|0)+12>>2]&1023](d);c=k[f>>2]|0}}while((c|0)!=(b|0));b=k[e>>2]|0}CAb(b)}b=k[g+-48>>2]|0;if(b|0)Si[k[(k[b>>2]|0)+12>>2]&1023](b);b=k[g+-52>>2]|0;if(b|0)Si[k[(k[b>>2]|0)+12>>2]&1023](b);g=k[a+48>>2]|0}while((g|0)!=(h+-136|0));h=k[a+60>>2]|0;h=h+-4|0;k[a+60>>2]=h;r=i;return}function iba(a,b){a=a|0;b=+b;_ua(kda(631144)|0,b);return}function jba(a,b,c){a=a|0;b=+b;c=+c;$ua(kda(631144)|0,b,c);c=2.0/(+W(+b)+ +W(+c));a=(k[a+20>>2]|0)+-8|0;p[a>>3]=+p[a>>3]*c;return}function kba(a,b,c){a=a|0;b=+b;c=+c;Zua(kda(631144)|0,b,c);return}function lba(a,b,c){a=a|0;b=+b;c=+c;ava(kda(631144)|0,b,c);return}function mba(a){a=a|0;var b=0,c=0,d=0;k[a>>2]=23724;k[a+120>>2]=23796;b=k[a+148>>2]|0;if(b|0){Ada(631144,b);k[a+148>>2]=0;Ida(631144,k[a+164>>2]|0,0);k[a+164>>2]=0}k[157706]=(k[157706]|0)+-1;b=k[a+136>>2]|0;if(b|0){c=k[a+140>>2]|0;if((c|0)!=(b|0)){do{c=c+-4|0;k[a+140>>2]=c;d=k[c>>2]|0;if(d){Si[k[(k[d>>2]|0)+12>>2]&1023](d);c=k[a+140>>2]|0}}while((c|0)!=(b|0));b=k[a+136>>2]|0}CAb(b)}b=k[a+124>>2]|0;if(!b){Oga(a+120|0);UC(a);return}c=k[a+128>>2]|0;if((c|0)!=(b|0)){do{c=c+-4|0;k[a+128>>2]=c;d=k[c>>2]|0;if(d){Si[k[(k[d>>2]|0)+12>>2]&1023](d);c=k[a+128>>2]|0}}while((c|0)!=(b|0));b=k[a+124>>2]|0}CAb(b);Oga(a+120|0);UC(a);return}function nba(a){a=a|0;mba(a);CAb(a);return}function oba(a,b,c,d,e,f,g,h,i,j){a=a|0;b=+b;c=+c;d=+d;e=+e;f=+f;g=+g;h=+h;i=+i;j=+j;var k=0;k=r;r=r+64|0;Tua(k,b,c,d,e,f,g,h,i,j);pba(a,k,a+40|0);r=k;return}function pba(a,b,c){a=a|0;b=b|0;c=c|0;hda(631144);Wua(kda(631144)|0,b);gda(631144,k[a+148>>2]|0);eda(631144,3);Ti[k[164011]&63](0,2,5126,0,20,c);Ti[k[164011]&63](1,2,5126,0,20,c+8|0);lda(631144);mda(631144,5,0,4);jda(631144);return}function qba(a,b,c,d,e,f,g,h,i,j,k){a=a|0;b=b|0;c=+c;d=+d;e=+e;f=+f;g=+g;h=+h;i=+i;j=+j;k=+k;var l=0;l=r;r=r+64|0;Tua(l,c,d,e,f,g,h,i,j,k);pba(a,l,TC(b)|0);r=l;return}function rba(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;if(fD(b,(i[a+157>>0]|0)!=0)|0){k[a+16>>2]=k[b>>2];k[a+16+4>>2]=k[b+4>>2];k[a+16+8>>2]=k[b+8>>2];k[a+16+12>>2]=k[b+12>>2];if(!(i[a+160>>0]|0)){b=a+148|0;b=k[b>>2]|0;gda(631144,b);Bda(631144,a+16|0);r=c;return}k[a+24>>2]=0;k[a+20>>2]=2;k[a+16>>2]=2;b=a+148|0;b=k[b>>2]|0;gda(631144,b);Bda(631144,a+16|0);r=c;return}if(!(k[b+8>>2]|0)){a=xf(16)|0;os(a,437040,c+8|0);Jc(a|0,96,27)}if(!(i[a+157>>0]|0)){a=xf(16)|0;os(a,433794,c);Jc(a|0,96,27)}else{a=xf(16)|0;os(a,437040,c+8|0);Jc(a|0,96,27)}}function sba(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=k[b>>2]|0;b=k[b+4>>2]|0;k[a+32>>2]=c;k[a+32+4>>2]=b;do if((i[1248948]|0)==0?1:(i[1249114]|i[1248949])<<24>>24!=0)b=1;else{e=k[a+8>>2]|0;d=e+-1+((e|0)==0&1)>>1|e+-1+((e|0)==0&1);d=((d>>2|d)>>4|(d>>2|d))>>8|((d>>2|d)>>4|(d>>2|d));if((e|0)==((d>>16|d)+1|0)){d=k[a+12>>2]|0;e=d+-1+((d|0)==0&1)>>1|d+-1+((d|0)==0&1);e=((e>>2|e)>>4|(e>>2|e))>>8|((e>>2|e)>>4|(e>>2|e));if((d|0)==((e>>16|e)+1|0)){b=1;break}}k[a+36>>2]=0;k[a+32>>2]=0;b=(c|0)==0&(b>>>0<1|(b|0)==1&c>>>0<0)}while(0);if(!(Dda(631144)|0)){if((k[a+32>>2]|0)==1)k[a+32>>2]=0;if((k[a+36>>2]|0)==1)k[a+36>>2]=0}gda(631144,k[a+148>>2]|0);Cda(631144,a+32|0);return b|0}function tba(a){a=a|0;return a+148|0}function uba(a){a=a|0;var b=0,c=0.0,d=0,e=0,f=0,g=0,h=0.0;g=r;r=r+64|0;b=k[a+156>>2]|0;do if(!((b&255)<<24>>24))f=16;else{e=JD(k[k[a+136>>2]>>2]|0)|0;switch(e|0){case 1:{if((i[1249083]|i[1249085])<<24>>24)f=15;break}case 2:{if((i[1249133]|i[1249085])<<24>>24)f=15;break}case 3:{if((i[1249134]|i[1249085])<<24>>24)f=15;break}case 7:case 6:case 5:case 4:{if((i[1249016]|i[1248938]|i[1249084])<<24>>24)f=15;break}case 10:case 9:case 8:{if((i[1249015]|i[1248944])<<24>>24)f=15;break}case 14:case 13:case 12:case 11:{if((i[a+159>>0]|0?i[1249069]|0:i[1249153]|0)<<24>>24)f=15;break}case 15:{if((i[1248945]|i[1248949]|i[1248978]|i[1249097])<<24>>24)f=15;break}case 22:case 21:case 20:case 19:case 18:case 17:case 16:{if((i[1248945]|i[1248949]|i[1248978])<<24>>24)f=15;break}case 36:case 35:case 34:case 33:case 32:case 31:case 30:case 29:case 28:case 27:case 26:case 25:case 24:case 23:{if((i[1248955]|i[1248951])<<24>>24)f=15;break}default:{}}if((f|0)==15){b=k[a+156>>2]|0;if(!((b&255)<<24>>24)){f=16;break}else break}f=KD(JD(k[k[a+136>>2]>>2]|0)|0,g+40|0)|0;b=xf(16)|0;if(f){f=k[g+40>>2]|0;k[g>>2]=i[a+159>>0]|0?433844:1279174;k[g+4>>2]=f;os(b,433850,g);Jc(b|0,96,27)}else{os(b,433928,g+8|0);Jc(b|0,96,27)}}while(0);if((f|0)==16){e=b>>>24&255;if(!(e<<24>>24)){b=i[1249075]|0;d=i[1248949]|0}else{d=i[1248949]|0;b=i[1249075]|0;if(!((b|d|i[1248937]|i[1249090])<<24>>24)){a=xf(16)|0;os(a,433989,g+16|0);Jc(a|0,96,27)}}if(!(d<<24>>24!=0|e<<24>>24!=0&(i[1248948]|0)!=0&b<<24>>24!=0^1))if((k[a+128>>2]|0)-(k[a+124>>2]|0)>>2>>>0<2){i[a+157>>0]=0;k[a+24>>2]=0}}do if(!((i[1248948]|0)==0?1:(i[1249114]|i[1248949])<<24>>24!=0)){d=k[a+8>>2]|0;e=d+-1+((d|0)==0&1)>>1|d+-1+((d|0)==0&1);e=((e>>2|e)>>4|(e>>2|e))>>8|((e>>2|e)>>4|(e>>2|e));if((d|0)==((e>>16|e)+1|0)){d=k[a+12>>2]|0;e=d+-1+((d|0)==0&1)>>1|d+-1+((d|0)==0&1);e=((e>>2|e)>>4|(e>>2|e))>>8|((e>>2|e)>>4|(e>>2|e));if((d|0)==((e>>16|e)+1|0))break}i[a+157>>0]=0;k[a+24>>2]=0}while(0);if(+o[157707]==0.0&(i[1248934]|0)!=0)Di[k[164644]&511](34045,630828);Di[k[163991]&511](1,a+148|0);gda(631144,k[a+148>>2]|0);Di[k[(k[a>>2]|0)+32>>2]&511](a,a+16|0);gj[k[(k[a>>2]|0)+40>>2]&511](a,a+32|0)|0;c=+o[a+152>>2];o[g+40>>2]=c;if(i[1248934]|0){h=+o[157707];o[g+32>>2]=.009999999776482582-h;e=.009999999776482582-h>c?g+32|0:g+40|0;o[g+28>>2]=h+-.009999999776482582;k[a+152>>2]=k[(h+-.009999999776482582<+o[e>>2]?g+28|0:e)>>2];gda(631144,k[a+148>>2]|0);Wi[k[164175]&31](3553,34049,-+o[a+152>>2])}e=k[a+8>>2]|0;if((e|0)<=(Eda(631144)|0)){e=k[a+12>>2]|0;if((e|0)<=(Eda(631144)|0)){if(!(i[a+157>>0]|0)){if((i[1248930]|i[1248949])<<24>>24){kj[k[164177]&255](3553,33085,0);if(i[a+157>>0]|0)f=37}}else f=37;if((f|0)==37)if(!(i[a+156>>0]|0))if(!((i[1248938]|i[1248948]|i[1248980])<<24>>24?1:(k[a+128>>2]|0)-(k[a+124>>2]|0)>>2>>>0>1))kj[k[164177]&255](3553,33169,1);do{}while((oj[k[164640]&7]()|0)!=0);if(!(i[a+156>>0]|0))xba(a);else vba(a);b=oj[k[164640]&7]()|0;if(b|0){a=xf(16)|0;f=Jda(b)|0;k[g+24>>2]=f;os(a,434051,g+24|0);Jc(a|0,96,27)}d=k[a+164>>2]|0;if(!(i[a+156>>0]|0)){b=k[k[a+124>>2]>>2]|0;b=Gi[k[(k[b>>2]|0)+20>>2]&2047](b)|0}else{b=k[k[a+136>>2]>>2]|0;b=Gi[k[(k[b>>2]|0)+20>>2]&2047](b)|0}k[a+164>>2]=b;if(i[a+157>>0]|0){b=~~(+(b>>>0)*1.33334)>>>0;k[a+164>>2]=b}Ida(631144,d,b);i[a+160>>0]=0;r=g;return 1}}i[a+160>>0]=1;gda(631144,k[a+148>>2]|0);Di[k[(k[a>>2]|0)+32>>2]&511](a,a+16|0);b=g+40|0;d=434035;e=b+16|0;do{i[b>>0]=i[d>>0]|0;b=b+1|0;d=d+1|0}while((b|0)<(e|0));ej[k[164671]&15](3553,0,6408,2,2,0,6408,5121,g+40|0);r=g;return 1}function vba(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0;d=wba(0,JD(k[k[a+136>>2]>>2]|0)|0,a+159|0)|0;if(LA()|0)if(!(i[a+159>>0]|0))i[a+158>>0]=1;if(!(i[a+157>>0]|0))b=1;else{c=k[a+136>>2]|0;b=(k[a+140>>2]|0)-c>>2;if(b>>>0<=1)b=ED(k[c>>2]|0)|0;if((b|0)<=0)return}c=0;do{j=k[a+136>>2]|0;e=(k[a+140>>2]|0)-j>>2>>>0>1;j=k[(e?j+(c<<2)|0:j)>>2]|0;e=e?0:c;h=HD(j,e)|0;g=ID(j,e)|0;f=FD(j,e)|0;e=GD(j,e)|0;_i[k[163747]&3](3553,c,d,h,g,0,f,e);c=c+1|0}while((c|0)!=(b|0));return}function wba(a,b,c){a=a|0;b=b|0;c=c|0;a:do switch(b|0){case 1:{b=i[c>>0]|0?35916:33776;break}case 2:{b=i[c>>0]|0?35918:33778;break}case 3:{b=i[c>>0]|0?35919:33779;break}case 4:{i[c>>0]=0;b=36283;break}case 5:{i[c>>0]=0;b=36284;break}case 6:{i[c>>0]=0;b=36285;break}case 7:{i[c>>0]=0;b=36286;break}case 8:{i[c>>0]=0;b=36495;break}case 9:{i[c>>0]=0;b=36494;break}case 10:{b=i[c>>0]|0?36493:36492;break}case 11:{b=i[c>>0]|0?35412:35841;break}case 12:{b=i[c>>0]|0?35413:35840;break}case 13:{b=i[c>>0]|0?35414:35843;break}case 14:{b=i[c>>0]|0?35415:35842;break}case 15:if(!((i[1248945]|i[1248949]|i[1248978])<<24>>24)){i[c>>0]=0;b=36196;break a}else{b=i[c>>0]|0?37493:37492;break a}case 16:{b=i[c>>0]|0?37493:37492;break}case 17:{b=i[c>>0]|0?37497:37496;break}case 18:{b=i[c>>0]|0?37495:37494;break}case 19:{i[c>>0]=0;b=37488;break}case 20:{i[c>>0]=0;b=37489;break}case 21:{i[c>>0]=0;b=37490;break}case 22:{i[c>>0]=0;b=37491;break}case 23:{b=i[c>>0]|0?37840:37808;break}case 24:{b=i[c>>0]|0?37841:37809;break}case 25:{b=i[c>>0]|0?37842:37810;break}case 26:{b=i[c>>0]|0?37843:37811;break}case 27:{b=i[c>>0]|0?37844:37812;break}case 28:{b=i[c>>0]|0?37845:37813;break}case 29:{b=i[c>>0]|0?37846:37814;break}case 30:{b=i[c>>0]|0?37847:37815;break}case 31:{b=i[c>>0]|0?37848:37816;break}case 32:{b=i[c>>0]|0?37849:37817;break}case 33:{b=i[c>>0]|0?37850:37818;break}case 34:{b=i[c>>0]|0?37851:37819;break}case 35:{b=i[c>>0]|0?37852:37820;break}case 36:{b=i[c>>0]|0?37853:37821;break}default:b=i[c>>0]|0?35907:32856}while(0);return b|0}function xba(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0;g=r;r=r+16|0;c=(i[a+159>>0]|0)!=0;b=(i[1248948]|0)==0|(i[1248949]|0)!=0;f=c?35906:6408;e=b?6408:f;f=b?(c?35907:32856):f;if(!(i[a+157>>0]|0)){c=1;d=3}else{b=(k[a+128>>2]|0)-(k[a+124>>2]|0)|0;if((b|0)>0){c=b>>2;d=3}}if((d|0)==3){b=0;do{d=k[(k[a+124>>2]|0)+(b<<2)>>2]|0;aP(g,oia(d)|0);j=hia(d)|0;h=iia(d)|0;d=Gi[k[(k[d>>2]|0)+16>>2]&2047](d)|0;ej[k[164671]&15](3553,b,f,j,h,0,e,5121,d);cP(g);b=b+1|0}while((b|0)<(c|0))}if((k[a+128>>2]|0)-(k[a+124>>2]|0)>>2>>>0>=2){r=g;return}if(!(i[a+157>>0]|0)){r=g;return}if(i[a+156>>0]|0){r=g;return}if(!((i[1248938]|i[1248948]|i[1248980])<<24>>24)){r=g;return}if(i[631181]|0)Si[k[163901]&1023](3553);Si[k[164318]&1023](3553);r=g;return}function yba(a){a=a|0;var b=0;b=k[a+148>>2]|0;if(!b)return;Ada(631144,b);k[a+148>>2]=0;Ida(631144,k[a+164>>2]|0,0);k[a+164>>2]=0;return}function zba(a){a=a|0;mba(a+-120|0);return}function Aba(a){a=a|0;mba(a+-120|0);CAb(a+-120|0);return}function Bba(a){a=a|0;uba(a+-120|0)|0;return 1}function Cba(a){a=a|0;var b=0;b=k[a+-120+148>>2]|0;if(!b)return;Ada(631144,b);k[a+-120+148>>2]=0;Ida(631144,k[a+-120+164>>2]|0,0);k[a+-120+164>>2]=0;return}function Dba(){var a=0,b=0,c=0,d=0,e=0;e=r;r=r+16|0;i[630844]=0;i[630856]=0;i[630868]=0;i[630880]=0;k[157721]=0;k[157722]=0;a=i[434090]|0;if(!(a<<24>>24))b=5381;else{c=434090;b=5381;do{c=c+1|0;b=(b*33|0)+(a<<24>>24)|0;a=i[c>>0]|0}while(a<<24>>24!=0)}a=b&3;if(!(i[630836+(a*12|0)+8>>0]|0)){b=a;a=630836+(a*12|0)+8|0;d=5}else{a=b+1&3;if(!(i[630836+(a*12|0)+8>>0]|0)){b=a;a=630836+(a*12|0)+8|0;d=5}else{a=b+2&3;if(!(i[630836+(a*12|0)+8>>0]|0)){b=a;a=630836+(a*12|0)+8|0;d=5}else{a=b+3&3;if(!(i[630836+(a*12|0)+8>>0]|0)){b=a;a=630836+(a*12|0)+8|0;d=5}}}}if((d|0)==5){i[a>>0]=1;k[630836+(b*12|0)>>2]=434090;k[630836+(b*12|0)+4>>2]=0}if(0>1){k[e>>2]=434090;k[e+4>>2]=0;Jpb(441170,e)|0}else k[157721]=434090;a=i[434098]|0;if(!(a<<24>>24))b=5381;else{c=434098;b=5381;do{c=c+1|0;b=(b*33|0)+(a<<24>>24)|0;a=i[c>>0]|0}while(a<<24>>24!=0)}a=b&3;if(!(i[630836+(a*12|0)+8>>0]|0)){b=a;a=630836+(a*12|0)+8|0;d=17}else{a=b+1&3;if(!(i[630836+(a*12|0)+8>>0]|0)){b=a;a=630836+(a*12|0)+8|0;d=17}else{a=b+2&3;if(!(i[630836+(a*12|0)+8>>0]|0)){b=a;a=630836+(a*12|0)+8|0;d=17}else{a=b+3&3;if(!(i[630836+(a*12|0)+8>>0]|0)){b=a;a=630836+(a*12|0)+8|0;d=17}}}}if((d|0)==17){i[a>>0]=1;k[630836+(b*12|0)>>2]=434098;k[630836+(b*12|0)+4>>2]=1}if(1>1){k[e+8>>2]=434098;k[e+8+4>>2]=1;Jpb(441170,e+8|0)|0;r=e;return}else{k[157722]=434098;r=e;return}}function Eba(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,m=0.0,n=0.0;h=r;r=r+48|0;cD(a);Sga(a+120|0);k[a>>2]=23724;k[a+120>>2]=23796;k[a+124>>2]=0;k[a+124+4>>2]=0;k[a+124+8>>2]=0;k[a+124+12>>2]=0;k[a+124+16>>2]=0;k[a+124+20>>2]=0;k[a+124+24>>2]=0;k[a+152>>2]=k[157708];i[a+156>>0]=0;c=l[c>>0]|l[c+1>>0]<<8;i[a+157>>0]=c;i[a+157+1>>0]=c>>8;i[a+159>>0]=0;i[a+160>>0]=0;k[a+164>>2]=0;c=k[b>>2]|0;if((c|0)==(k[b+4>>2]|0)){a=xf(16)|0;os(a,1279174,h);Jc(a|0,96,27)}f=hia(k[c>>2]|0)|0;k[a+8>>2]=f;f=iia(k[k[b>>2]>>2]|0)|0;k[a+12>>2]=f;f=k[b+4>>2]|0;g=k[b>>2]|0;if((f-g>>2|0)==1)c=g;else{d=hia(k[g>>2]|0)|0;c=iia(k[k[b>>2]>>2]|0)|0;e=~~+Znb(+(((d|0)<(c|0)?c:d)|0))+1|0;if((f-g>>2|0)!=(e|0)){a=xf(16)|0;k[h+8>>2]=e;k[h+8+4>>2]=f-g>>2;os(a,434105,h+8|0);Jc(a|0,96,27)}a:do if((f-g|0)>4){e=c;c=1;while(1){j=(d|0)/2|0;d=(j|0)<1?1:j;j=(e|0)/2|0;e=(j|0)<1?1:j;if((hia(k[(k[b>>2]|0)+(c<<2)>>2]|0)|0)!=(d|0)){e=8;break}if((iia(k[(k[b>>2]|0)+(c<<2)>>2]|0)|0)!=(e|0)){d=e;e=10;break}c=c+1|0;if((c|0)>=(f-g>>2|0))break a}if((e|0)==8){j=xf(16)|0;a=hia(k[(k[b>>2]|0)+(c<<2)>>2]|0)|0;k[h+16>>2]=c+1;k[h+16+4>>2]=d;k[h+16+8>>2]=a;os(j,434174,h+16|0);Jc(j|0,96,27)}else if((e|0)==10){j=xf(16)|0;a=iia(k[(k[b>>2]|0)+(c<<2)>>2]|0)|0;k[h+32>>2]=c+1;k[h+32+4>>2]=d;k[h+32+8>>2]=a;os(j,434240,h+32|0);Jc(j|0,96,27)}}while(0);i[a+157>>0]=1;c=k[b>>2]|0;f=k[b+4>>2]|0}if((c|0)!=(f|0)){e=c;do{d=k[e>>2]|0;k[h+44>>2]=d;if(d|0)Si[k[(k[d>>2]|0)+8>>2]&1023](d);c=k[a+128>>2]|0;if(c>>>0<(k[a+132>>2]|0)>>>0){k[c>>2]=d;if(d){Si[k[(k[d>>2]|0)+8>>2]&1023](d);c=k[a+128>>2]|0}k[a+128>>2]=c+4}else Fba(a+124|0,h+44|0);if(d|0)Si[k[(k[d>>2]|0)+12>>2]&1023](d);e=e+4|0}while((e|0)!=(f|0))}k[a+56>>2]=-1;k[a+76>>2]=-1;k[a+96>>2]=-1;k[a+116>>2]=-1;o[a+40>>2]=0.0;o[a+44>>2]=0.0;o[a+60>>2]=0.0;m=+(k[a+12>>2]|0);o[a+64>>2]=m;n=+(k[a+8>>2]|0);o[a+80>>2]=n;o[a+84>>2]=0.0;o[a+100>>2]=n;o[a+104>>2]=m;o[a+48>>2]=0.0;o[a+52>>2]=0.0;o[a+68>>2]=0.0;o[a+72>>2]=1.0;o[a+88>>2]=1.0;o[a+92>>2]=0.0;o[a+108>>2]=1.0;o[a+112>>2]=1.0;if(i[a+157>>0]|0)k[a+24>>2]=k[5928];if(!(LA()|0))i[a+158>>0]=0;if(LA()|0)if(!(i[a+158>>0]|0)){j=1;i[a+159>>0]=j;j=k[a>>2]|0;j=j+56|0;j=k[j>>2]|0;Gi[j&2047](a)|0;j=k[157706]|0;j=j+1|0;k[157706]=j;r=h;return}j=0;i[a+159>>0]=j;j=k[a>>2]|0;j=j+56|0;j=k[j>>2]|0;Gi[j&2047](a)|0;j=k[157706]|0;j=j+1|0;k[157706]=j;r=h;return}function Fba(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=k[a>>2]|0;d=((k[a+4>>2]|0)-g>>2)+1|0;if(d>>>0>1073741823)xzb(a);c=(k[a+8>>2]|0)-g|0;if(c>>2>>>0<536870911){c=c>>1>>>0>>0?d:c>>1;e=k[a+4>>2]|0;if(!c){h=0;c=0;d=e-g>>2}else{f=e;d=e-g>>2;i=6}}else{d=k[a+4>>2]|0;c=1073741823;f=d;d=d-g>>2;i=6}if((i|0)==6){h=c;c=kBb(c<<2)|0;e=f}i=c+(d<<2)|0;h=c+(h<<2)|0;c=k[b>>2]|0;k[i>>2]=c;if(!c)c=e;else{Si[k[(k[c>>2]|0)+8>>2]&1023](c);c=k[a+4>>2]|0;g=k[a>>2]|0}if((c|0)==(g|0)){d=i;f=c}else{e=c;f=i;c=i;do{e=e+-4|0;d=k[e>>2]|0;k[f+-4>>2]=d;if(d|0)Si[k[(k[d>>2]|0)+8>>2]&1023](d);f=c+-4|0;c=f}while((e|0)!=(g|0));d=c;f=k[a>>2]|0;c=k[a+4>>2]|0}k[a>>2]=d;k[a+4>>2]=i+4;k[a+8>>2]=h;e=f;if((c|0)!=(e|0))do{c=c+-4|0;d=k[c>>2]|0;if(d|0)Si[k[(k[d>>2]|0)+12>>2]&1023](d)}while((c|0)!=(e|0));if(!f)return;CAb(f);return}function Gba(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0.0,m=0.0;g=r;r=r+64|0;cD(a);Sga(a+120|0);k[a>>2]=23724;k[a+120>>2]=23796;k[a+124>>2]=0;k[a+124+4>>2]=0;k[a+124+8>>2]=0;k[a+124+12>>2]=0;k[a+124+16>>2]=0;k[a+124+20>>2]=0;k[a+124+24>>2]=0;k[a+152>>2]=k[157708];i[a+156>>0]=1;d=l[c>>0]|l[c+1>>0]<<8;i[a+157>>0]=d;i[a+157+1>>0]=d>>8;i[a+159>>0]=0;i[a+160>>0]=0;k[a+164>>2]=0;d=HD(k[k[b>>2]>>2]|0,0)|0;k[a+8>>2]=d;d=ID(k[k[b>>2]>>2]|0,0)|0;k[a+12>>2]=d;e=k[b>>2]|0;f=(k[b+4>>2]|0)-e|0;do if((f>>2|0)==1){if(i[c>>0]|0){c=k[a+8>>2]|0;f=ED(k[e>>2]|0)|0;if((~~+Znb(+(((c|0)<(d|0)?d:c)|0))+1|0)!=(f|0))if((ED(k[k[b>>2]>>2]|0)|0)==1){i[a+157>>0]=0;break}else{a=xf(16)|0;os(a,434307,g+40|0);Jc(a|0,96,27)}}}else{e=HD(k[e>>2]|0,0)|0;d=ID(k[k[b>>2]>>2]|0,0)|0;c=~~+Znb(+(((e|0)<(d|0)?d:e)|0))+1|0;if((f>>2|0)!=(c|0)){a=xf(16)|0;k[g>>2]=c;k[g+4>>2]=f>>2;os(a,434105,g);Jc(a|0,96,27)}a:do if((f|0)>4){c=d;d=1;while(1){h=(e|0)/2|0;e=(h|0)<1?1:h;h=(c|0)/2|0;c=(h|0)<1?1:h;if((HD(k[(k[b>>2]|0)+(d<<2)>>2]|0,0)|0)!=(e|0)){c=6;break}if((ID(k[(k[b>>2]|0)+(d<<2)>>2]|0,0)|0)!=(c|0)){e=c;c=8;break}d=d+1|0;if((d|0)>=(f>>2|0))break a}if((c|0)==6){h=xf(16)|0;a=HD(k[(k[b>>2]|0)+(d<<2)>>2]|0,0)|0;k[g+8>>2]=d+1;k[g+8+4>>2]=e;k[g+8+8>>2]=a;os(h,434174,g+8|0);Jc(h|0,96,27)}else if((c|0)==8){h=xf(16)|0;a=ID(k[(k[b>>2]|0)+(d<<2)>>2]|0,0)|0;k[g+24>>2]=d+1;k[g+24+4>>2]=e;k[g+24+8>>2]=a;os(h,434240,g+24|0);Jc(h|0,96,27)}}while(0);i[a+157>>0]=1}while(0);d=k[b>>2]|0;f=k[b+4>>2]|0;b:do if((d|0)!=(f|0)){while(1){c=k[d>>2]|0;k[g+52>>2]=c;if(c|0)Si[k[(k[c>>2]|0)+8>>2]&1023](c);e=k[a+140>>2]|0;if(e>>>0<(k[a+144>>2]|0)>>>0){k[e>>2]=c;if(c){Si[k[(k[c>>2]|0)+8>>2]&1023](c);e=k[a+140>>2]|0}k[a+140>>2]=e+4}else Hba(a+136|0,g+52|0);if(c|0)Si[k[(k[c>>2]|0)+12>>2]&1023](c);h=JD(k[d>>2]|0)|0;d=d+4|0;if((h|0)!=(JD(k[k[a+136>>2]>>2]|0)|0))break;if((d|0)==(f|0))break b}h=xf(16)|0;os(h,434398,g+48|0);Jc(h|0,96,27)}while(0);k[a+56>>2]=-1;k[a+76>>2]=-1;k[a+96>>2]=-1;k[a+116>>2]=-1;o[a+40>>2]=0.0;o[a+44>>2]=0.0;o[a+60>>2]=0.0;j=+(k[a+12>>2]|0);o[a+64>>2]=j;m=+(k[a+8>>2]|0);o[a+80>>2]=m;o[a+84>>2]=0.0;o[a+100>>2]=m;o[a+104>>2]=j;o[a+48>>2]=0.0;o[a+52>>2]=0.0;o[a+68>>2]=0.0;o[a+72>>2]=1.0;o[a+88>>2]=1.0;o[a+92>>2]=0.0;o[a+108>>2]=1.0;o[a+112>>2]=1.0;if(i[a+157>>0]|0)k[a+24>>2]=k[5928];if(!(LA()|0))i[a+158>>0]=0;if(LA()|0)if(!(i[a+158>>0]|0)){h=1;i[a+159>>0]=h;h=k[a>>2]|0;h=h+56|0;h=k[h>>2]|0;Gi[h&2047](a)|0;h=k[157706]|0;h=h+1|0;k[157706]=h;r=g;return}h=0;i[a+159>>0]=h;h=k[a>>2]|0;h=h+56|0;h=k[h>>2]|0;Gi[h&2047](a)|0;h=k[157706]|0;h=h+1|0;k[157706]=h;r=g;return}function Hba(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=k[a>>2]|0;d=((k[a+4>>2]|0)-g>>2)+1|0;if(d>>>0>1073741823)xzb(a);c=(k[a+8>>2]|0)-g|0;if(c>>2>>>0<536870911){c=c>>1>>>0>>0?d:c>>1;e=k[a+4>>2]|0;if(!c){h=0;c=0;d=e-g>>2}else{f=e;d=e-g>>2;i=6}}else{d=k[a+4>>2]|0;c=1073741823;f=d;d=d-g>>2;i=6}if((i|0)==6){h=c;c=kBb(c<<2)|0;e=f}i=c+(d<<2)|0;h=c+(h<<2)|0;c=k[b>>2]|0;k[i>>2]=c;if(!c)c=e;else{Si[k[(k[c>>2]|0)+8>>2]&1023](c);c=k[a+4>>2]|0;g=k[a>>2]|0}if((c|0)==(g|0)){d=i;f=c}else{e=c;f=i;c=i;do{e=e+-4|0;d=k[e>>2]|0;k[f+-4>>2]=d;if(d|0)Si[k[(k[d>>2]|0)+8>>2]&1023](d);f=c+-4|0;c=f}while((e|0)!=(g|0));d=c;f=k[a>>2]|0;c=k[a+4>>2]|0}k[a>>2]=d;k[a+4>>2]=i+4;k[a+8>>2]=h;e=f;if((c|0)!=(e|0))do{c=c+-4|0;d=k[c>>2]|0;if(d|0)Si[k[(k[d>>2]|0)+12>>2]&1023](d)}while((c|0)!=(e|0));if(!f)return;CAb(f);return}function Iba(a){a=a|0;return (i[a+156>>0]|0)!=0|0}function Jba(a,b){a=a|0;b=b|0;do switch(a|0){case 1:{b=(i[1249083]|i[1249085])<<24>>24!=0;return b|0}case 2:{b=(i[1249133]|i[1249085])<<24>>24!=0;return b|0}case 3:{b=(i[1249134]|i[1249085])<<24>>24!=0;return b|0}case 7:case 6:case 5:case 4:{b=(i[1249016]|i[1248938]|i[1249084])<<24>>24!=0;return b|0}case 10:case 9:case 8:{b=(i[1249015]|i[1248944])<<24>>24!=0;return b|0}case 14:case 13:case 12:case 11:{b=(b?i[1249069]|0:i[1249153]|0)<<24>>24!=0;return b|0}case 15:{b=(i[1248945]|i[1248949]|i[1248978]|i[1249097])<<24>>24!=0;return b|0}case 22:case 21:case 20:case 19:case 18:case 17:case 16:{b=(i[1248945]|i[1248949]|i[1248978])<<24>>24!=0;return b|0}case 36:case 35:case 34:case 33:case 32:case 31:case 30:case 29:case 28:case 27:case 26:case 25:case 24:case 23:{b=(i[1248955]|i[1248951])<<24>>24!=0;return b|0}default:{b=0;return b|0}}while(0);return 0}function Kba(a,b){a=a|0;b=+b;var c=0,d=0,e=0.0;c=r;r=r+16|0;o[c+8>>2]=b;if(!(i[1248934]|0)){r=c;return}e=+o[157707];o[c+4>>2]=.009999999776482582-e;d=.009999999776482582-e>b?c+4|0:c+8|0;o[c>>2]=e+-.009999999776482582;k[a+152>>2]=k[(e+-.009999999776482582<+o[d>>2]?c:d)>>2];gda(631144,k[a+148>>2]|0);Wi[k[164175]&31](3553,34049,-+o[a+152>>2]);r=c;return}function Lba(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,l=0,n=0;n=r;r=r+16|0;f=k[a+148>>2]|0;if(!f){a=0;r=n;return a|0}if(i[a+160>>0]|0){a=0;r=n;return a|0}if((c|b|0)<0|(d|0)<1|(e|0)<1){a=xf(16)|0;os(a,434449,n);Jc(a|0,96,27)}if((d+b|0)>(k[a+8>>2]|0)){a=xf(16)|0;os(a,434449,n);Jc(a|0,96,27)}if((e+c|0)>(k[a+12>>2]|0)){a=xf(16)|0;os(a,434449,n);Jc(a|0,96,27)}gda(631144,f);f=k[a+156>>2]|0;if((f&255)<<24>>24){vba(a);a=1;r=n;return a|0}l=f>>>0<16777216|(i[1248948]|0)==0|(i[1248949]|0)!=0?6408:35906;if((m[a+156>>1]|0)<256){j=1;g=11}else{f=(k[a+128>>2]|0)-(k[a+124>>2]|0)|0;if((f|0)>0){j=f>>2;g=11}}if((g|0)==11){h=b;f=d;g=0;while(1){d=k[(k[a+124>>2]|0)+(g<<2)>>2]|0;d=Gi[k[(k[d>>2]|0)+16>>2]&2047](d)|0;b=(ha(hia(k[(k[a+124>>2]|0)+(g<<2)>>2]|0)|0,c)|0)+h|0;aP(n+4|0,oia(k[(k[a+124>>2]|0)+(g<<2)>>2]|0)|0);ej[k[164261]&15](3553,g,h,c,f,e,l,5121,d+(b<<2)|0);b=(f|0)/2|0;f=(e|0)/2|0;cP(n+4|0);g=g+1|0;if((g|0)>=(j|0))break;else{h=(h|0)/2|0;e=(f|0)<1?1:f;f=(b|0)<1?1:b;c=(c|0)/2|0}}}if((k[a+128>>2]|0)-(k[a+124>>2]|0)>>2>>>0>=2){a=1;r=n;return a|0}if(!(i[a+157>>0]|0)){a=1;r=n;return a|0}if(i[a+156>>0]|0){a=1;r=n;return a|0}if(!((i[1248938]|i[1248948]|i[1248980])<<24>>24)){a=1;r=n;return a|0}if(i[631181]|0)Si[k[163901]&1023](3553);Si[k[164318]&1023](3553);a=1;r=n;return a|0}function Mba(a){a=a|0;return a+124|0}function Nba(a){a=a|0;return a+136|0}function Oba(a){a=a|0;return +(+o[a+152>>2])}function Pba(a){a=a|0;return a+157|0}function Qba(a){a=+a;o[157708]=a;return}function Rba(){return +(+o[157708])}function Sba(a){a=a|0;k[5928]=a;return}function Tba(){return k[5928]|0}function Uba(a,b){a=a|0;b=b|0;if(a>>>0>1)a=0;else{a=k[630884+(a<<2)>>2]|0;if(!a)a=0;else{k[b>>2]=a;a=1}}return a|0}function Vba(a){a=a|0;var b=0,c=0,d=0;k[a>>2]=23820;b=k[a+52>>2]|0;if(b|0)Si[k[(k[b>>2]|0)+4>>2]&1023](b);b=k[a+68>>2]|0;if(b|0)Si[k[(k[b>>2]|0)+4>>2]&1023](b);b=k[a+64>>2]|0;if(b|0)CAb(b);b=k[a+40>>2]|0;if(b|0)do{c=k[b+20>>2]|0;if((c|0)!=(a|0))Si[k[(k[c>>2]|0)+12>>2]&1023](c);b=k[b>>2]|0}while((b|0)!=0);b=k[a+96>>2]|0;if(b|0)Si[k[(k[b>>2]|0)+12>>2]&1023](b);b=k[a+40>>2]|0;if(b|0)do{c=b;b=k[b>>2]|0;_qb(c+8|0);CAb(c)}while((b|0)!=0);b=k[a+32>>2]|0;k[a+32>>2]=0;if(b|0)CAb(b);b=k[a+20>>2]|0;if(b|0){c=k[a+24>>2]|0;if((c|0)!=(b|0))k[a+24>>2]=c+(~((c+-4-b|0)>>>2)<<2);CAb(b)}b=k[a+8>>2]|0;if(!b)return;c=k[a+12>>2]|0;if((c|0)!=(b|0)){do{d=c+-20|0;k[a+12>>2]=d;_qb(d);c=k[a+12>>2]|0}while((c|0)!=(b|0));b=k[a+8>>2]|0}CAb(b);return}function Wba(a){a=a|0;Vba(a);CAb(a);return}function Xba(a,b,c,d,e,f,g,h,j,l){a=a|0;b=+b;c=+c;d=+d;e=+e;f=+f;g=+g;h=+h;j=+j;l=+l;var m=0,n=0,o=0,p=0,q=0,s=0,t=0;t=r;r=r+80|0;m=k[a+40>>2]|0;if(!m){a=xf(16)|0;os(a,434508,t);Jc(a|0,96,27)}else n=0;do{o=m;if(i[o+28>>0]|0){s=Yba(k[o+20>>2]|0,k[o+24>>2]|0,o+8|0)|0;n=((s|0)>-1?1<>2]|0}while((m|0)!=0);m=n;if(!(m&1)){a=xf(16)|0;os(a,434508,t);Jc(a|0,96,27)}eda(631144,m);m=k[a+96>>2]|0;if(!m)gda(631144,xda(631144)|0);else{s=Gi[k[(k[m>>2]|0)+52>>2]&2047](m)|0;gda(631144,k[s>>2]|0)}Tua(t+8|0,b,c,d,e,f,g,h,j,l);hda(631144);Wua(kda(631144)|0,t+8|0);lda(631144);if(i[a+72>>0]|0){s=k[a+68>>2]|0;if(s|0)if(k[a+76>>2]|0){U8(s);S8(k[a+68>>2]|0);m=k[a+76>>2]|0;k[t+4>>2]=m+-1;n=k[a+92>>2]|0;if((n|0)>-1){q=k[((m|0)<=(n|0)?t+4|0:a+92|0)>>2]|0;k[t+4>>2]=q}else q=m+-1|0;m=k[a+88>>2]|0;if((m|0)>-1)p=k[((q|0)<(m|0)?t+4|0:a+88|0)>>2]|0;else p=0;o=k[a+80>>2]|0;n=k[a+68>>2]|0;switch(o|0){case 5121:{m=1;break}case 5123:{m=2;break}case 5125:{m=4;break}default:m=0}n=X8(n,ha(m,p)|0)|0;switch(k[a+84>>2]|0){case 0:{m=6;break}case 1:{m=5;break}case 3:{m=0;break}default:m=4}nda(631144,m,1-p+q|0,o,n);V8(s);jda(631144);r=t;return}}m=k[a+56>>2]|0;k[t+4>>2]=m+-1;n=k[a+92>>2]|0;if((n|0)>-1){o=k[((m|0)<=(n|0)?t+4|0:a+92|0)>>2]|0;k[t+4>>2]=o}else o=m+-1|0;m=k[a+88>>2]|0;if((m|0)>-1)n=k[((o|0)<(m|0)?t+4|0:a+88|0)>>2]|0;else n=0;switch(k[a+84>>2]|0){case 0:{m=6;break}case 1:{m=5;break}case 3:{m=0;break}default:m=4}mda(631144,m,n,1-n+o|0);jda(631144);r=t;return}function Yba(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0;l=r;r=r+16|0;j=k[a+8>>2]|0;do if(dfa((i[c>>0]&1)==0?c+1|0:k[c+8>>2]|0,l)|0)h=k[l>>2]|0;else{d=k[157856]|0;if(!d){a=-1;r=l;return a|0}else{h=afa(d,c)|0;break}}while(0);if((h|0)<0){a=h;r=l;return a|0}f=k[a+52>>2]|0;U8(f);S8(k[a+52>>2]|0);g=k[a+52>>2]|0;if(!b)d=0;else{c=k[a+20>>2]|0;e=0;d=0;do{d=(k[c+(e<<2)>>2]|0)+d|0;e=e+1|0}while((e|0)!=(b|0))}g=X8(g,d)|0;e=k[j+(b*20|0)+12>>2]|0;Ti[k[164011]&63](h,k[j+(b*20|0)+16>>2]|0,(e|0)==0?5121:(e|0)==1?5126:0,(e|0)==0&1,k[a+60>>2]|0,g);V8(f);a=h;r=l;return a|0}function Zba(){var a=0,b=0,c=0,d=0,e=0;e=r;r=r+16|0;i[630900]=0;i[630912]=0;i[630924]=0;i[630936]=0;i[630948]=0;i[630960]=0;k[157741]=0;k[157742]=0;k[157743]=0;_ba(630892,434572,0)|0;_ba(630892,434579,1)|0;_ba(630892,434587,2)|0;i[630984]=0;i[630996]=0;i[631008]=0;i[631020]=0;i[631032]=0;i[631044]=0;i[631056]=0;i[631068]=0;k[157768]=0;k[157769]=0;k[157770]=0;k[157771]=0;$ba(630976,434594,0)|0;$ba(630976,434598,1)|0;$ba(630976,434604,2)|0;$ba(630976,593634,3)|0;i[631096]=0;i[631108]=0;i[631120]=0;i[631132]=0;k[157784]=0;k[157785]=0;a=i[519792]|0;if(!(a<<24>>24))b=5381;else{c=519792;b=5381;do{c=c+1|0;b=(b*33|0)+(a<<24>>24)|0;a=i[c>>0]|0}while(a<<24>>24!=0)}a=b&3;if(!(i[631088+(a*12|0)+8>>0]|0)){b=a;a=631088+(a*12|0)+8|0;d=5}else{a=b+1&3;if(!(i[631088+(a*12|0)+8>>0]|0)){b=a;a=631088+(a*12|0)+8|0;d=5}else{a=b+2&3;if(!(i[631088+(a*12|0)+8>>0]|0)){b=a;a=631088+(a*12|0)+8|0;d=5}else{a=b+3&3;if(!(i[631088+(a*12|0)+8>>0]|0)){b=a;a=631088+(a*12|0)+8|0;d=5}}}}if((d|0)==5){i[a>>0]=1;k[631088+(b*12|0)>>2]=519792;k[631088+(b*12|0)+4>>2]=0}if(0>1){k[e>>2]=519792;k[e+4>>2]=0;Jpb(441170,e)|0}else k[157784]=519792;a=i[435980]|0;if(!(a<<24>>24))b=5381;else{c=435980;b=5381;do{c=c+1|0;b=(b*33|0)+(a<<24>>24)|0;a=i[c>>0]|0}while(a<<24>>24!=0)}a=b&3;if(!(i[631088+(a*12|0)+8>>0]|0)){b=a;a=631088+(a*12|0)+8|0;d=17}else{a=b+1&3;if(!(i[631088+(a*12|0)+8>>0]|0)){b=a;a=631088+(a*12|0)+8|0;d=17}else{a=b+2&3;if(!(i[631088+(a*12|0)+8>>0]|0)){b=a;a=631088+(a*12|0)+8|0;d=17}else{a=b+3&3;if(!(i[631088+(a*12|0)+8>>0]|0)){b=a;a=631088+(a*12|0)+8|0;d=17}}}}if((d|0)==17){i[a>>0]=1;k[631088+(b*12|0)>>2]=435980;k[631088+(b*12|0)+4>>2]=1}if(1>1){k[e+8>>2]=435980;k[e+8+4>>2]=1;Jpb(441170,e+8|0)|0;r=e;return}else{k[157785]=435980;r=e;return}}function _ba(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=r;r=r+16|0;d=i[b>>0]|0;if(!(d<<24>>24))e=5381;else{f=b;e=5381;do{f=f+1|0;e=(e*33|0)+(d<<24>>24)|0;d=i[f>>0]|0}while(d<<24>>24!=0)}d=(e>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+1|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+2|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+3|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+4|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+5|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else d=0}}}}}if((g|0)==5){i[d>>0]=1;k[a+(e*12|0)>>2]=b;k[a+(e*12|0)+4>>2]=c;d=1}if(c>>>0>2){k[h>>2]=b;k[h+4>>2]=c;Jpb(441170,h)|0;g=0;r=h;return g|0}else{k[a+72+(c<<2)>>2]=b;g=d;r=h;return g|0}return 0}function $ba(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=r;r=r+16|0;d=i[b>>0]|0;if(!(d<<24>>24))e=5381;else{f=b;e=5381;do{f=f+1|0;e=(e*33|0)+(d<<24>>24)|0;d=i[f>>0]|0}while(d<<24>>24!=0)}d=e&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+1&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+2&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+3&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+4&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+5&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+6&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+7&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else d=0}}}}}}}if((g|0)==5){i[d>>0]=1;k[a+(e*12|0)>>2]=b;k[a+(e*12|0)+4>>2]=c;d=1}if(c>>>0>3){k[h>>2]=b;k[h+4>>2]=c;Jpb(441170,h)|0;g=0;r=h;return g|0}else{k[a+96+(c<<2)>>2]=b;g=d;r=h;return g|0}return 0}function aca(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+16|0;Uj(a);k[a>>2]=23820;bca(a+8|0,b);k[a+20>>2]=0;k[a+20+4>>2]=0;k[a+20+8>>2]=0;k[a+20+12>>2]=0;k[a+20+16>>2]=0;k[a+20+20>>2]=0;k[a+20+24>>2]=0;o[a+48>>2]=1.0;k[a+52>>2]=0;k[a+56>>2]=0;k[a+60>>2]=0;k[a+68>>2]=0;i[a+72>>0]=0;k[a+76>>2]=0;k[a+80>>2]=0;k[a+84>>2]=e;k[a+88>>2]=-1;k[a+92>>2]=-1;k[a+96>>2]=0;cca(a);ica(a);b=(d>>>0)/((k[a+60>>2]|0)>>>0)|0;k[a+56>>2]=b;k[a+80>>2]=b>>>0>65535?5125:5123;if(!b){a=xf(16)|0;os(a,434753,g);Jc(a|0,96,27)}b=kBb(40)|0;switch(f|0){case 0:{e=35040;break}case 1:{e=35048;break}case 2:{e=35044;break}default:e=0}Q8(b,d,c,34962,e,1);k[a+52>>2]=b;d=mBb(k[a+60>>2]|0)|0;k[a+64>>2]=d;r=g;return}function bca(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;d=k[b+4>>2]|0;e=k[b>>2]|0;if((d|0)==(e|0))return;if(((d-e|0)/20|0)>>>0>214748364)xzb(a);c=kBb(d-e|0)|0;k[a+4>>2]=c;k[a>>2]=c;k[a+8>>2]=c+(((d-e|0)/20|0)*20|0);d=k[b>>2]|0;e=k[b+4>>2]|0;if((d|0)==(e|0))return;do{Vqb(c,d);g=d+12|0;f=k[g+4>>2]|0;b=c+12|0;k[b>>2]=k[g>>2];k[b+4>>2]=f;c=(k[a+4>>2]|0)+20|0;k[a+4>>2]=c;d=d+20|0}while((d|0)!=(e|0));return}function cca(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=r;r=r+16|0;b=k[a+8>>2]|0;if((k[a+12>>2]|0)==(b|0)){r=f;return}c=0;while(1){d=b+(c*20|0)|0;if(dca(a+32|0,d)|0)break;b=eca(a+32|0,d)|0;k[b>>2]=a;k[b+4>>2]=c;i[b+8>>0]=1;i[b+9>>0]=i[f+4>>0]|0;i[b+9+1>>0]=i[f+4+1>>0]|0;i[b+9+2>>0]=i[f+4+2>>0]|0;c=c+1|0;b=k[a+8>>2]|0;if(c>>>0>=(((k[a+12>>2]|0)-b|0)/20|0)>>>0){e=3;break}}if((e|0)==3){r=f;return}a=xf(16)|0;if(!(i[d>>0]&1)){e=d+1|0;k[f>>2]=e;os(a,434614,f);Jc(a|0,96,27)}else{e=k[b+(c*20|0)+8>>2]|0;k[f>>2]=e;os(a,434614,f);Jc(a|0,96,27)}}function dca(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0;m=i[b>>0]|0;n=(m&1)==0?b+1|0:k[b+8>>2]|0;m=(m&1)==0?(m&255)>>>1:k[b+4>>2]|0;if(m>>>0>3){c=m;d=n;b=m;while(1){o=ha(l[d>>0]|l[d+1>>0]<<8|l[d+2>>0]<<16|l[d+3>>0]<<24,1540483477)|0;b=(ha(o>>>24^o,1540483477)|0)^(ha(b,1540483477)|0);c=c+-4|0;if(c>>>0<=3)break;else d=d+4|0}c=m+-4-(m+-4&-4)|0;d=n+((m+-4&-4)+4)|0}else{c=m;d=n;b=m}switch(c|0){case 3:{e=l[d+2>>0]<<16^b;h=6;break}case 2:{e=b;h=6;break}case 1:{f=b;h=7;break}default:g=b}if((h|0)==6){f=l[d+1>>0]<<8^e;h=7}if((h|0)==7)g=ha(l[d>>0]^f,1540483477)|0;b=ha(g>>>13^g,1540483477)|0;g=k[a+4>>2]|0;if(!g){o=0;return o|0}if(!(g+-1&g))f=(b>>>15^b)&g+-1;else f=((b>>>15^b)>>>0)%(g>>>0)|0;b=k[(k[a>>2]|0)+(f<<2)>>2]|0;if(!b){o=0;return o|0}b=k[b>>2]|0;if(!b){o=0;return o|0}if(!(g+-1&g)){a:while(1){if((k[b+4>>2]&g+-1|0)!=(f|0)){b=0;h=35;break}d=b+8|0;c=j[d>>1]|0;do if((((c&1)==0?(c&254)>>>1:k[b+12>>2]|0)|0)==(m|0)){if(c&1)if(!(Emb(k[b+16>>2]|0,n,m)|0)){h=35;break a}else break;if(!m){h=35;break a}if(((c&65535)>>>8&255)<<24>>24==(i[n>>0]|0)){e=(c&254)>>>1;c=d+1|0;d=n;do{e=e+-1|0;c=c+1|0;if(!e){h=35;break a}d=d+1|0}while((i[c>>0]|0)==(i[d>>0]|0))}}while(0);b=k[b>>2]|0;if(!b){b=0;h=35;break}}if((h|0)==35)return b|0}else{b:while(1){if((((k[b+4>>2]|0)>>>0)%(g>>>0)|0|0)!=(f|0)){b=0;h=35;break}d=b+8|0;c=j[d>>1]|0;do if((((c&1)==0?(c&254)>>>1:k[b+12>>2]|0)|0)==(m|0)){if(c&1)if(!(Emb(k[b+16>>2]|0,n,m)|0)){h=35;break b}else break;if(!m){h=35;break b}if(((c&65535)>>>8&255)<<24>>24==(i[n>>0]|0)){e=(c&254)>>>1;c=d+1|0;d=n;do{e=e+-1|0;c=c+1|0;if(!e){h=35;break b}d=d+1|0}while((i[c>>0]|0)==(i[d>>0]|0))}}while(0);b=k[b>>2]|0;if(!b){b=0;h=35;break}}if((h|0)==35)return b|0}return 0}function eca(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+16|0;c=dca(a,b)|0;if(c|0){a=c;a=a+20|0;r=d;return a|0}c=kBb(32)|0;Vqb(c+8|0,b);k[c+20>>2]=0;k[c+20+4>>2]=0;k[c+20+8>>2]=0;fca(d,a,c);a=k[d>>2]|0;a=a+20|0;r=d;return a|0}function fca(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0.0,g=0.0,h=0,m=0,n=0,p=0,q=0,r=0,s=0,t=0,u=0;s=i[c+8>>0]|0;t=(s&1)==0?c+8+1|0:k[c+16>>2]|0;s=(s&1)==0?(s&255)>>>1:k[c+12>>2]|0;if(s>>>0>3){h=s;m=t;d=s;while(1){u=ha(l[m>>0]|l[m+1>>0]<<8|l[m+2>>0]<<16|l[m+3>>0]<<24,1540483477)|0;d=(ha(u>>>24^u,1540483477)|0)^(ha(d,1540483477)|0);h=h+-4|0;if(h>>>0<=3)break;else m=m+4|0}h=s+-4-(s+-4&-4)|0;m=t+((s+-4&-4)+4)|0}else{h=s;m=t;d=s}switch(h|0){case 3:{n=l[m+2>>0]<<16^d;r=6;break}case 2:{n=d;r=6;break}case 1:{p=d;r=7;break}default:q=d}if((r|0)==6){p=l[m+1>>0]<<8^n;r=7}if((r|0)==7)q=ha(l[m>>0]^p,1540483477)|0;d=ha(q>>>13^q,1540483477)|0;k[c+4>>2]=d>>>15^d;q=k[b+4>>2]|0;a:do if(!q)e=0;else{if(!(q+-1&q))p=(d>>>15^d)&q+-1;else p=((d>>>15^d)>>>0)%(q>>>0)|0;d=k[(k[b>>2]|0)+(p<<2)>>2]|0;if(!d)e=p;else{d=k[d>>2]|0;if(!d)e=p;else if(!(q+-1&q)){b:while(1){if((k[d+4>>2]&q+-1|0)!=(p|0)){e=p;break a}m=d+8|0;h=j[m>>1]|0;do if((((h&1)==0?(h&254)>>>1:k[d+12>>2]|0)|0)==(s|0)){if(h&1)if(!(Emb(k[d+16>>2]|0,t,s)|0)){h=0;r=49;break b}else break;if(!s){h=0;r=49;break b}if(((h&65535)>>>8&255)<<24>>24==(i[t>>0]|0)){n=(h&254)>>>1;h=m+1|0;m=t;do{n=n+-1|0;h=h+1|0;if(!n){h=0;r=49;break b}m=m+1|0}while((i[h>>0]|0)==(i[m>>0]|0))}}while(0);d=k[d>>2]|0;if(!d){e=p;break a}}if((r|0)==49){u=d;k[a>>2]=u;u=a+4|0;i[u>>0]=h;return}}else{c:while(1){if((((k[d+4>>2]|0)>>>0)%(q>>>0)|0|0)!=(p|0)){e=p;break a}m=d+8|0;h=j[m>>1]|0;do if((((h&1)==0?(h&254)>>>1:k[d+12>>2]|0)|0)==(s|0)){if(h&1)if(!(Emb(k[d+16>>2]|0,t,s)|0)){h=0;r=49;break c}else break;if(!s){h=0;r=49;break c}if(((h&65535)>>>8&255)<<24>>24==(i[t>>0]|0)){n=(h&254)>>>1;h=m+1|0;m=t;do{n=n+-1|0;h=h+1|0;if(!n){h=0;r=49;break c}m=m+1|0}while((i[h>>0]|0)==(i[m>>0]|0))}}while(0);d=k[d>>2]|0;if(!d){e=p;break a}}if((r|0)==49){u=d;k[a>>2]=u;u=a+4|0;i[u>>0]=h;return}}}}while(0);f=+(((k[b+12>>2]|0)+1|0)>>>0);g=+o[b+16>>2];do if((q|0)==0|f>+(q>>>0)*g){if(q>>>0>2)d=(q+-1&q|0)==0;else d=0;d=(d&1|q<<1)^1;e=~~+ga(+(f/g))>>>0;gca(b,d>>>0>>0?e:d);d=k[b+4>>2]|0;e=k[c+4>>2]|0;if(!(d+-1&d)){h=d;e=d+-1&e;break}else{h=d;e=(e>>>0)%(d>>>0)|0;break}}else h=q;while(0);d=k[(k[b>>2]|0)+(e<<2)>>2]|0;if(!d){k[c>>2]=k[b+8>>2];k[b+8>>2]=c;k[(k[b>>2]|0)+(e<<2)>>2]=b+8;d=k[c>>2]|0;if(d|0){d=k[d+4>>2]|0;e=h+-1|0;if(!(e&h))d=d&e;else d=(d>>>0)%(h>>>0)|0;k[(k[b>>2]|0)+(d<<2)>>2]=c}}else{k[c>>2]=k[d>>2];k[d>>2]=c}k[b+12>>2]=(k[b+12>>2]|0)+1;b=1;u=c;k[a>>2]=u;u=a+4|0;i[u>>0]=b;return}function gca(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if((b|0)==1)b=2;else if(b+-1&b)b=Sqb(b)|0;e=k[a+4>>2]|0;if(b>>>0>e>>>0){hca(a,b);return}if(b>>>0>=e>>>0)return;if(e>>>0>2)d=(e+-1&e|0)==0;else d=0;c=~~+ga(+(+((k[a+12>>2]|0)>>>0)/+o[a+16>>2]))>>>0;if(d)c=1<<32-(ja(c+-1|0)|0);else c=Sqb(c)|0;b=b>>>0>>0?c:b;if(b>>>0>=e>>>0)return;hca(a,b);return}function hca(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;if(!b){c=k[a>>2]|0;k[a>>2]=0;if(c|0)CAb(c);k[a+4>>2]=0;return}r=kBb(b<<2)|0;c=k[a>>2]|0;k[a>>2]=r;if(c|0)CAb(c);k[a+4>>2]=b;c=0;do{k[(k[a>>2]|0)+(c<<2)>>2]=0;c=c+1|0}while((c|0)!=(b|0));e=k[a+8>>2]|0;if(!e)return;c=k[e+4>>2]|0;if(!(b+-1&b))d=c&b+-1;else d=(c>>>0)%(b>>>0)|0;k[(k[a>>2]|0)+(d<<2)>>2]=a+8;c=k[e>>2]|0;if(!c)return;else g=e;a:while(1){r=e;b:while(1){while(1){e=k[c+4>>2]|0;if(!(b+-1&b))q=e&b+-1;else q=(e>>>0)%(b>>>0)|0;if((q|0)==(d|0)){e=c;break}e=(k[a>>2]|0)+(q<<2)|0;if(!(k[e>>2]|0)){d=q;f=c;c=r;break b}e=k[c>>2]|0;c:do if(!e)e=c;else{n=c+8|0;o=j[n>>1]|0;p=(o&1)==0?(o&254)>>>1:k[c+12>>2]|0;m=c+16|0;if(!(o&1)){m=c;while(1){f=e+8|0;h=i[f>>0]|0;if((p|0)!=(((h&1)==0?(h&255)>>>1:k[e+12>>2]|0)|0)){e=m;break c}f=(h&1)==0?f+1|0:k[e+16>>2]|0;d:do if(p|0){if(((o&65535)>>>8&255)<<24>>24==(i[f>>0]|0)){h=(o&254)>>>1;l=n+1|0}else{e=m;break c}while(1){h=h+-1|0;l=l+1|0;if(!h)break d;f=f+1|0;if((i[l>>0]|0)!=(i[f>>0]|0)){e=m;break c}}}while(0);f=k[e>>2]|0;if(!f)break;else{m=e;e=f}}}else{if(!p){f=c;while(1){p=i[e+8>>0]|0;if(((p&1)==0?(p&255)>>>1:k[e+12>>2]|0)|0){e=f;break c}f=k[e>>2]|0;if(!f)break c;else{p=e;e=f;f=p}}}else l=c;while(1){f=e+8|0;h=i[f>>0]|0;if((p|0)!=(((h&1)==0?(h&255)>>>1:k[e+12>>2]|0)|0)){e=l;break c}if(Emb(k[m>>2]|0,(h&1)==0?f+1|0:k[e+16>>2]|0,p)|0){e=l;break c}f=k[e>>2]|0;if(!f)break;else{l=e;e=f}}}}while(0);k[r>>2]=k[e>>2];k[e>>2]=k[k[(k[a>>2]|0)+(q<<2)>>2]>>2];k[k[(k[a>>2]|0)+(q<<2)>>2]>>2]=c;c=k[g>>2]|0;if(!c){c=38;break a}}c=k[e>>2]|0;if(!c){c=38;break a}else{g=e;r=e}}k[e>>2]=c;c=k[f>>2]|0;if(!c){c=38;break}else{g=f;e=f}}if((c|0)==38)return}function ica(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;g=r;r=r+16|0;b=k[a+8>>2]|0;f=k[a+12>>2]|0;if((b|0)==(f|0)){f=0;a=a+60|0;k[a>>2]=f;r=g;return}c=0;while(1){d=k[b+12>>2]|0;e=k[b+16>>2]|0;if(!d)if((e|0)==4)d=4;else{c=6;break}else{if((e+-1|0)>>>0>3){c=8;break}d=(d|0)==1?e<<2:0}k[g+12>>2]=d;e=k[a+24>>2]|0;if(e>>>0<(k[a+28>>2]|0)>>>0){k[e>>2]=d;k[a+24>>2]=e+4;d=e+4|0}else{jy(a+20|0,g+12|0);d=k[a+24>>2]|0}c=(k[d+-4>>2]|0)+c|0;b=b+20|0;if((b|0)==(f|0)){b=c;c=3;break}}if((c|0)==3){a=a+60|0;k[a>>2]=b;r=g;return}else if((c|0)==6){a=xf(16)|0;os(a,434650,g);Jc(a|0,96,27)}else if((c|0)==8){a=xf(16)|0;os(a,434697,g+8|0);Jc(a|0,96,27)}}function jca(a){a=a|0;switch(a|0){case 0:{a=35040;break}case 1:{a=35048;break}case 2:{a=35044;break}default:a=0}return a|0}function kca(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=r;r=r+16|0;Uj(a);k[a>>2]=23820;bca(a+8|0,b);k[a+20>>2]=0;k[a+20+4>>2]=0;k[a+20+8>>2]=0;k[a+20+12>>2]=0;k[a+20+16>>2]=0;k[a+20+20>>2]=0;k[a+20+24>>2]=0;o[a+48>>2]=1.0;k[a+52>>2]=0;k[a+56>>2]=c;k[a+60>>2]=0;k[a+68>>2]=0;i[a+72>>0]=0;k[a+76>>2]=0;k[a+80>>2]=c>>>0>65535?5125:5123;k[a+84>>2]=d;k[a+88>>2]=-1;k[a+92>>2]=-1;k[a+96>>2]=0;if((c|0)<1){a=xf(16)|0;k[f>>2]=c;os(a,434816,f);Jc(a|0,96,27)}cca(a);ica(a);c=ha(k[a+60>>2]|0,k[a+56>>2]|0)|0;b=kBb(40)|0;switch(e|0){case 0:{d=35040;break}case 1:{d=35048;break}case 2:{d=35044;break}default:d=0}Q8(b,c,0,34962,d,1);k[a+52>>2]=b;U8(b);vBb(R8(k[a+52>>2]|0)|0,0,c|0)|0;e=k[a+52>>2]|0;T8(e,0,k[e+8>>2]|0);S8(k[a+52>>2]|0);e=mBb(k[a+60>>2]|0)|0;k[a+64>>2]=e;V8(b);r=f;return}function lca(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=r;r=r+16|0;mca(e);f=k[b>>2]|0;aca(a,e,f,(k[b+4>>2]|0)-f|0,c,d);c=k[e>>2]|0;if(!c){r=e;return}a=k[e+4>>2]|0;if((a|0)!=(c|0)){do{f=a+-20|0;k[e+4>>2]=f;_qb(f);a=k[e+4>>2]|0}while((a|0)!=(c|0));c=k[e>>2]|0}CAb(c);r=e;return}function mca(a){a=a|0;var b=0,c=0,d=0;b=r;r=r+64|0;k[b+60>>2]=1279174;efa(0,b+60|0)|0;c=k[b+60>>2]|0;Wqb(b,c,Fnb(c)|0);k[b+12>>2]=1;k[b+16>>2]=2;k[b+60>>2]=1279174;efa(1,b+60|0)|0;c=k[b+60>>2]|0;Wqb(b+20|0,c,Fnb(c)|0);k[b+32>>2]=1;k[b+36>>2]=2;k[b+60>>2]=1279174;efa(2,b+60|0)|0;c=k[b+60>>2]|0;Wqb(b+40|0,c,Fnb(c)|0);k[b+52>>2]=0;k[b+56>>2]=4;k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;c=kBb(60)|0;k[a+4>>2]=c;k[a>>2]=c;k[a+8>>2]=c+60;Vqb(c,b);d=k[b+12+4>>2]|0;k[c+12>>2]=k[b+12>>2];k[c+12+4>>2]=d;k[a+4>>2]=c+20;Vqb(c+20|0,b+20|0);d=k[b+32+4>>2]|0;k[c+32>>2]=k[b+32>>2];k[c+32+4>>2]=d;c=k[a+4>>2]|0;k[a+4>>2]=c+20;Vqb(c+20|0,b+40|0);d=k[b+52+4>>2]|0;k[c+32>>2]=k[b+52>>2];k[c+32+4>>2]=d;k[a+4>>2]=c+40;_qb(b+40|0);_qb(b+20|0);_qb(b);r=b;return}function nca(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+16|0;mca(e);kca(a,e,b,c,d);c=k[e>>2]|0;if(!c){r=e;return}a=k[e+4>>2]|0;if((a|0)!=(c|0)){do{b=a+-20|0;k[e+4>>2]=b;_qb(b);a=k[e+4>>2]|0}while((a|0)!=(c|0));c=k[e>>2]|0}CAb(c);r=e;return}function oca(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=r;r=r+16|0;if((k[a+56>>2]|0)>>>0>b>>>0){g=k[a+60>>2]|0;f=ha(g,b)|0;d=g>>>0>>0?g:d;b=k[a+52>>2]|0;U8(b);ABb((R8(k[a+52>>2]|0)|0)+f|0,c|0,d|0)|0;T8(k[a+52>>2]|0,f,d);V8(b);r=e;return}else{g=xf(16)|0;k[e>>2]=b+1;os(g,434849,e);Jc(g|0,96,27)}}function pca(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=r;r=r+16|0;if((k[a+56>>2]|0)>>>0>b>>>0){g=k[a+60>>2]|0;d=g>>>0>>0?g:d;f=k[a+52>>2]|0;U8(f);ABb(c|0,(R8(k[a+52>>2]|0)|0)+(ha(g,b)|0)|0,d|0)|0;V8(f);r=e;return d|0}else{g=xf(16)|0;k[e>>2]=b+1;os(g,434849,e);Jc(g|0,96,27)}return 0}function qca(a){a=a|0;return k[a+64>>2]|0}function rca(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;i=r;r=r+16|0;if((k[a+56>>2]|0)>>>0<=b>>>0){a=xf(16)|0;k[i>>2]=b+1;os(a,434849,i);Jc(a|0,96,27)}if((((k[a+12>>2]|0)-(k[a+8>>2]|0)|0)/20|0|0)<=(c|0)){a=xf(16)|0;k[i+8>>2]=c+1;os(a,434875,i+8|0);Jc(a|0,96,27)}h=ha(k[a+60>>2]|0,b)|0;g=k[a+20>>2]|0;if(!c)b=0;else{f=0;b=0;do{b=(k[g+(f<<2)>>2]|0)+b|0;f=f+1|0}while((f|0)!=(c|0))}h=b+h|0;c=k[g+(c<<2)>>2]|0;c=c>>>0>>0?c:e;e=k[a+52>>2]|0;U8(e);ABb((R8(k[a+52>>2]|0)|0)+h|0,d|0,c|0)|0;T8(k[a+52>>2]|0,h,c);V8(e);r=i;return}function sca(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;j=r;r=r+16|0;if((k[a+56>>2]|0)>>>0<=b>>>0){a=xf(16)|0;k[j>>2]=b+1;os(a,434849,j);Jc(a|0,96,27)}if((((k[a+12>>2]|0)-(k[a+8>>2]|0)|0)/20|0|0)<=(c|0)){b=xf(16)|0;k[j+8>>2]=c+1;os(b,434875,j+8|0);Jc(b|0,96,27)}i=k[a+60>>2]|0;h=k[a+20>>2]|0;if(!c)f=0;else{g=0;f=0;do{f=(k[h+(g<<2)>>2]|0)+f|0;g=g+1|0}while((g|0)!=(c|0))}c=k[h+(c<<2)>>2]|0;e=c>>>0>>0?c:e;c=k[a+52>>2]|0;U8(c);ABb(d|0,(R8(k[a+52>>2]|0)|0)+(f+(ha(i,b)|0))|0,e|0)|0;V8(c);r=j;return e|0}function tca(a){a=a|0;return k[a+56>>2]|0}function uca(a){a=a|0;return k[a+60>>2]|0}function vca(a){a=a|0;return a+8|0}function wca(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((b|0)>=0){d=k[a+8>>2]|0;if((((k[a+12>>2]|0)-d|0)/20|0|0)>(b|0)){a=k[d+(b*20|0)+12>>2]|0;k[c>>2]=k[d+(b*20|0)+16>>2];r=e;return a|0}}a=xf(16)|0;k[e>>2]=b+1;os(a,434875,e);Jc(a|0,96,27);return 0}function xca(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=k[a+8>>2]|0;g=(k[a+12>>2]|0)-h|0;if((g|0)<=0){h=-1;return h|0}e=i[b>>0]|0;f=(e&1)==0?(e&255)>>>1:k[b+4>>2]|0;e=(e&1)==0?b+1|0:k[b+8>>2]|0;a=0;a:while(1){c=h+(a*20|0)|0;b=j[c>>1]|0;do if((((b&1)==0?(b&254)>>>1:k[h+(a*20|0)+4>>2]|0)|0)==(f|0)){if(b&1)if(!(Emb(k[h+(a*20|0)+8>>2]|0,e,f)|0)){b=12;break a}else break;if(!f){b=12;break a}if(((b&65535)>>>8&255)<<24>>24==(i[e>>0]|0)){d=(b&254)>>>1;b=c+1|0;c=e;do{d=d+-1|0;b=b+1|0;if(!d){b=12;break a}c=c+1|0}while((i[b>>0]|0)==(i[c>>0]|0))}}while(0);a=a+1|0;if((a|0)>=((g|0)/20|0|0)){a=-1;b=12;break}}if((b|0)==12)return a|0;return 0}function yca(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;a=dca(a+32|0,b)|0;if(!a){c=xf(16)|0;k[d>>2]=(i[b>>0]&1)==0?b+1|0:k[b+8>>2]|0;os(c,434910,d);Jc(c|0,96,27)}else{i[a+28>>0]=c&1;r=d;return}}function zca(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;a=Aca(a+32|0,b)|0;if(!a){a=xf(16)|0;k[c>>2]=(i[b>>0]&1)==0?b+1|0:k[b+8>>2]|0;os(a,434910,c);Jc(a|0,96,27)}else{r=c;return (i[a+28>>0]|0)!=0|0}return 0}function Aca(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0;m=i[b>>0]|0;n=(m&1)==0?b+1|0:k[b+8>>2]|0;m=(m&1)==0?(m&255)>>>1:k[b+4>>2]|0;if(m>>>0>3){c=m;d=n;b=m;while(1){o=ha(l[d>>0]|l[d+1>>0]<<8|l[d+2>>0]<<16|l[d+3>>0]<<24,1540483477)|0;b=(ha(o>>>24^o,1540483477)|0)^(ha(b,1540483477)|0);c=c+-4|0;if(c>>>0<=3)break;else d=d+4|0}c=m+-4-(m+-4&-4)|0;d=n+((m+-4&-4)+4)|0}else{c=m;d=n;b=m}switch(c|0){case 3:{e=l[d+2>>0]<<16^b;h=6;break}case 2:{e=b;h=6;break}case 1:{f=b;h=7;break}default:g=b}if((h|0)==6){f=l[d+1>>0]<<8^e;h=7}if((h|0)==7)g=ha(l[d>>0]^f,1540483477)|0;b=ha(g>>>13^g,1540483477)|0;g=k[a+4>>2]|0;if(!g){o=0;return o|0}if(!(g+-1&g))f=(b>>>15^b)&g+-1;else f=((b>>>15^b)>>>0)%(g>>>0)|0;b=k[(k[a>>2]|0)+(f<<2)>>2]|0;if(!b){o=0;return o|0}b=k[b>>2]|0;if(!b){o=0;return o|0}if(!(g+-1&g)){a:while(1){if((k[b+4>>2]&g+-1|0)!=(f|0)){b=0;h=35;break}d=b+8|0;c=j[d>>1]|0;do if((((c&1)==0?(c&254)>>>1:k[b+12>>2]|0)|0)==(m|0)){if(c&1)if(!(Emb(k[b+16>>2]|0,n,m)|0)){h=35;break a}else break;if(!m){h=35;break a}if(((c&65535)>>>8&255)<<24>>24==(i[n>>0]|0)){e=(c&254)>>>1;c=d+1|0;d=n;do{e=e+-1|0;c=c+1|0;if(!e){h=35;break a}d=d+1|0}while((i[c>>0]|0)==(i[d>>0]|0))}}while(0);b=k[b>>2]|0;if(!b){b=0;h=35;break}}if((h|0)==35)return b|0}else{b:while(1){if((((k[b+4>>2]|0)>>>0)%(g>>>0)|0|0)!=(f|0)){b=0;h=35;break}d=b+8|0;c=j[d>>1]|0;do if((((c&1)==0?(c&254)>>>1:k[b+12>>2]|0)|0)==(m|0)){if(c&1)if(!(Emb(k[b+16>>2]|0,n,m)|0)){h=35;break b}else break;if(!m){h=35;break b}if(((c&65535)>>>8&255)<<24>>24==(i[n>>0]|0)){e=(c&254)>>>1;c=d+1|0;d=n;do{e=e+-1|0;c=c+1|0;if(!e){h=35;break b}d=d+1|0}while((i[c>>0]|0)==(i[d>>0]|0))}}while(0);b=k[b>>2]|0;if(!b){b=0;h=35;break}}if((h|0)==35)return b|0}return 0}function Bca(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0;s=r;r=r+16|0;a:do if((c|0)!=(a|0)){d=k[c+40>>2]|0;if(d|0){while(1){if((k[d+20>>2]|0)!=(c|0))break;d=k[d>>2]|0;if(!d)break a}b=xf(16)|0;os(b,434969,s);Jc(b|0,96,27)}}while(0);i[s+12>>0]=0;i[s+12+1>>0]=0;i[s+12+2>>0]=0;d=dca(a+32|0,b)|0;if(!d){q=0;d=0}else{q=k[d+20>>2]|0;d=(i[d+28>>0]&1)!=0}p=(q|0)==0;o=(d|p)&1;m=k[c+8>>2]|0;n=(k[c+12>>2]|0)-m|0;b:do if((n|0)>0){l=i[b>>0]|0;h=(l&1)==0?(l&255)>>>1:k[b+4>>2]|0;l=(l&1)==0?b+1|0:k[b+8>>2]|0;c:do if(!h){d=0;while(1){l=j[m+(d*20|0)>>1]|0;if(!(((l&1)==0?(l&254)>>>1:k[m+(d*20|0)+4>>2]|0)|0))break c;d=d+1|0;if((d|0)>=((n|0)/20|0|0)){d=b+8|0;e=b+1|0;break b}}}else{d=0;while(1){f=m+(d*20|0)|0;e=j[f>>1]|0;do if((((e&1)==0?(e&254)>>>1:k[m+(d*20|0)+4>>2]|0)|0)==(h|0)){if(e&1)if(!(Emb(k[m+(d*20|0)+8>>2]|0,l,h)|0))break c;else break;if(((e&65535)>>>8&255)<<24>>24==(i[l>>0]|0)){g=(e&254)>>>1;e=f+1|0;f=l;do{g=g+-1|0;e=e+1|0;if(!g)break c;f=f+1|0}while((i[e>>0]|0)==(i[f>>0]|0))}}while(0);d=d+1|0;if((d|0)>=((n|0)/20|0|0)){d=b+8|0;e=b+1|0;break b}}}while(0);if((d|0)<0){d=b+8|0;e=b+1|0}else{if((c|0)!=(a|0))Si[k[(k[c>>2]|0)+8>>2]&1023](c);b=eca(a+32|0,b)|0;k[b>>2]=c;k[b+4>>2]=d;i[b+8>>0]=o;i[b+9>>0]=i[s+12>>0]|0;i[b+9+1>>0]=i[s+12+1>>0]|0;i[b+9+2>>0]=i[s+12+2>>0]|0;if(p|(q|0)==(a|0)){r=s;return}Si[k[(k[q>>2]|0)+12>>2]&1023](q);r=s;return}}else{d=b+8|0;e=b+1|0}while(0);a=xf(16)|0;k[s+8>>2]=(i[b>>0]&1)==0?e:k[d>>2]|0;os(a,436918,s+8|0);Jc(a|0,96,27)}function Cca(a){a=a|0;var b=0;b=k[a+52>>2]|0;U8(b);a=R8(k[a+52>>2]|0)|0;V8(b);return a|0}function Dca(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=k[a+52>>2]|0;U8(d);T8(k[a+52>>2]|0,b,c);S8(k[a+52>>2]|0);V8(d);return}function Eca(a){a=a|0;var b=0;b=k[a+52>>2]|0;U8(b);S8(k[a+52>>2]|0);V8(b);b=k[a+68>>2]|0;if(!b)return;U8(b);S8(k[a+68>>2]|0);V8(b);return}function Fca(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0;o=r;r=r+16|0;n=k[a+56>>2]|0;m=n>>>0>65535?5125:5123;d=ha((k[b+4>>2]|0)-(k[b>>2]|0)>>2,n>>>0>65535?4:2)|0;c=k[a+68>>2]|0;if(!c)e=4;else if(d>>>0>(k[c+8>>2]|0)>>>0){Si[k[(k[c>>2]|0)+4>>2]&1023](c);k[a+68>>2]=0;e=4}else l=c;if((e|0)==4)if(!d)l=0;else{l=kBb(40)|0;Q8(l,d,0,34963,k[(k[a+52>>2]|0)+16>>2]|0,0);k[a+68>>2]=l}i[a+72>>0]=1;h=(k[b+4>>2]|0)-(k[b>>2]|0)>>2;k[a+76>>2]=h;if((l|0)==0|(h|0)==0){r=o;return}U8(l);g=k[a+68>>2]|0;h=R8(g)|0;a:do if(n>>>0>65535){d=k[b+4>>2]|0;e=k[b>>2]|0;if((d|0)!=(e|0)){c=0;while(1){f=k[e+(c<<2)>>2]|0;if(f>>>0>=n>>>0)break;k[h+(c<<2)>>2]=f;c=c+1|0;if(c>>>0>=d-e>>2>>>0)break a}a=xf(16)|0;k[o+8>>2]=(k[(k[b>>2]|0)+(c<<2)>>2]|0)+1;os(a,435028,o+8|0);Jc(a|0,96,27)}}else{d=k[b+4>>2]|0;e=k[b>>2]|0;if((d|0)!=(e|0)){c=0;while(1){f=k[e+(c<<2)>>2]|0;if(f>>>0>=n>>>0)break;j[h+(c<<1)>>1]=f;c=c+1|0;if(c>>>0>=d-e>>2>>>0)break a}a=xf(16)|0;k[o>>2]=(k[(k[b>>2]|0)+(c<<2)>>2]|0)+1;os(a,435028,o);Jc(a|0,96,27)}}while(0);k[a+80>>2]=m;S8(g);V8(l);r=o;return}function Gca(a){a=a|0;i[a+72>>0]=0;return}function Hca(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0;j=r;r=r+16|0;if(!(i[a+72>>0]|0)){b=0;r=j;return b|0}f=k[b>>2]|0;c=k[b+4>>2]|0;if((c|0)!=(f|0)){k[b+4>>2]=c+(~((c+-4-f|0)>>>2)<<2);c=c+(~((c+-4-f|0)>>>2)<<2)|0}e=k[a+76>>2]|0;if((k[b+8>>2]|0)-f>>2>>>0>>0){c=c-f|0;if(!e)d=0;else d=kBb(e<<2)|0;h=d+(c>>2<<2)|0;ABb(h+(0-(c>>2)<<2)|0,f|0,c|0)|0;k[b>>2]=h+(0-(c>>2)<<2);k[b+4>>2]=h;k[b+8>>2]=d+(e<<2);if(f|0)CAb(f)}f=k[a+68>>2]|0;if(!f){b=1;r=j;return b|0}if(!(k[a+76>>2]|0)){b=1;r=j;return b|0}U8(f);g=R8(k[a+68>>2]|0)|0;h=k[a+76>>2]|0;if((k[a+80>>2]|0)==5123){if(h|0){e=0;do{c=m[g+(e<<1)>>1]|0;k[j>>2]=c;d=k[b+4>>2]|0;if(d>>>0<(k[b+8>>2]|0)>>>0){k[d>>2]=c;k[b+4>>2]=d+4}else jy(b,j);e=e+1|0}while((e|0)!=(h|0))}}else if(h|0){e=0;do{c=k[g+(e<<2)>>2]|0;k[j>>2]=c;d=k[b+4>>2]|0;if(d>>>0<(k[b+8>>2]|0)>>>0){k[d>>2]=c;k[b+4>>2]=d+4}else jy(b,j);e=e+1|0}while((e|0)!=(h|0))}V8(f);b=1;r=j;return b|0}function Ica(a,b){a=a|0;b=b|0;var c=0;if(b|0)Si[k[(k[b>>2]|0)+8>>2]&1023](b);c=k[a+96>>2]|0;if(!c){k[a+96>>2]=b;return}Si[k[(k[c>>2]|0)+12>>2]&1023](c);k[a+96>>2]=b;return}function Jca(a){a=a|0;var b=0;b=k[a+96>>2]|0;if(!b){k[a+96>>2]=0;return}Si[k[(k[b>>2]|0)+12>>2]&1023](b);k[a+96>>2]=0;return}function Kca(a){a=a|0;return k[a+96>>2]|0}function Lca(a,b){a=a|0;b=b|0;k[a+84>>2]=b;return}function Mca(a){a=a|0;return k[a+84>>2]|0}function Nca(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;if((b|0)>(c|0)|(c|b|0)<0){a=xf(16)|0;os(a,435057,d);Jc(a|0,96,27)}else{k[a+88>>2]=b;k[a+92>>2]=c;r=d;return}}function Oca(a){a=a|0;k[a+92>>2]=-1;k[a+88>>2]=-1;return}function Pca(a,b,c){a=a|0;b=b|0;c=c|0;k[b>>2]=k[a+88>>2];k[c>>2]=k[a+92>>2];return}function Qca(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0;c=i[a>>0]|0;if(!(c<<24>>24))d=5381;else{e=a;d=5381;do{e=e+1|0;d=(d*33|0)+(c<<24>>24)|0;c=i[e>>0]|0}while(c<<24>>24!=0)}h=0;while(1){g=((h+d|0)>>>0)%6|0;if(!(i[630892+(g*12|0)+8>>0]|0)){c=1;d=0;j=11;break}e=k[630892+(g*12|0)>>2]|0;f=i[e>>0]|0;a:do if(!(f<<24>>24)){c=a;j=8}else{c=a;while(1){l=i[c>>0]|0;if(!(l<<24>>24?f<<24>>24==l<<24>>24:0))break a;e=e+1|0;c=c+1|0;f=i[e>>0]|0;if(!(f<<24>>24)){j=8;break}}}while(0);if((j|0)==8){j=0;if(!(i[c>>0]|0)){j=9;break}}h=h+1|0;if(h>>>0>=6){c=0;d=0;j=11;break}}if((j|0)==9){k[b>>2]=k[630892+(g*12|0)+4>>2];j=1;l=1;l=j&l;return l|0}else if((j|0)==11){l=c&d;return l|0}return 0}function Rca(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0;c=i[a>>0]|0;if(!(c<<24>>24))d=5381;else{e=a;d=5381;do{e=e+1|0;d=(d*33|0)+(c<<24>>24)|0;c=i[e>>0]|0}while(c<<24>>24!=0)}h=0;while(1){g=h+d&7;if(!(i[630976+(g*12|0)+8>>0]|0)){c=1;d=0;j=11;break}e=k[630976+(g*12|0)>>2]|0;f=i[e>>0]|0;a:do if(!(f<<24>>24)){c=a;j=8}else{c=a;while(1){l=i[c>>0]|0;if(!(l<<24>>24?f<<24>>24==l<<24>>24:0))break a;e=e+1|0;c=c+1|0;f=i[e>>0]|0;if(!(f<<24>>24)){j=8;break}}}while(0);if((j|0)==8){j=0;if(!(i[c>>0]|0)){j=9;break}}h=h+1|0;if(h>>>0>=8){c=0;d=0;j=11;break}}if((j|0)==9){k[b>>2]=k[630976+(g*12|0)+4>>2];j=1;l=1;l=j&l;return l|0}else if((j|0)==11){l=c&d;return l|0}return 0}function Sca(a,b){a=a|0;b=b|0;if(a>>>0>3)a=0;else{a=k[631072+(a<<2)>>2]|0;if(!a)a=0;else{k[b>>2]=a;a=1}}return a|0}function Tca(a,b){a=a|0;b=b|0;return Uca(631088,a,b)|0}function Uca(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0;e=i[b>>0]|0;if(!(e<<24>>24))m=5381;else{f=b;g=e;d=5381;do{f=f+1|0;d=(d*33|0)+(g<<24>>24)|0;g=i[f>>0]|0}while(g<<24>>24!=0);m=d}d=m&3;if(!(i[a+(d*12|0)+8>>0]|0)){c=1;a=0;a=c&a;return a|0}g=k[a+(d*12|0)>>2]|0;f=i[g>>0]|0;a:do if(!(f<<24>>24)){f=e;l=8}else if(e<<24>>24?f<<24>>24==e<<24>>24:0){j=b;while(1){g=g+1|0;j=j+1|0;h=i[g>>0]|0;f=i[j>>0]|0;if(!(h<<24>>24)){l=8;break a}if(!(f<<24>>24?h<<24>>24==f<<24>>24:0)){l=10;break}}}else l=10;while(0);if((l|0)==8)if(f<<24>>24)l=10;do if((l|0)==10){d=m+1&3;if(!(i[a+(d*12|0)+8>>0]|0)){c=1;a=0;a=c&a;return a|0}g=k[a+(d*12|0)>>2]|0;f=i[g>>0]|0;b:do if(!(f<<24>>24)){f=e;l=16}else if(e<<24>>24?f<<24>>24==e<<24>>24:0){j=b;do{g=g+1|0;j=j+1|0;h=i[g>>0]|0;f=i[j>>0]|0;if(!(h<<24>>24)){l=16;break b}}while(f<<24>>24?h<<24>>24==f<<24>>24:0)}while(0);if((l|0)==16)if(!(f<<24>>24))break;d=m+2&3;if(!(i[a+(d*12|0)+8>>0]|0)){c=1;a=0;a=c&a;return a|0}g=k[a+(d*12|0)>>2]|0;f=i[g>>0]|0;c:do if(!(f<<24>>24)){f=e;l=22}else if(e<<24>>24?f<<24>>24==e<<24>>24:0){j=b;do{g=g+1|0;j=j+1|0;h=i[g>>0]|0;f=i[j>>0]|0;if(!(h<<24>>24)){l=22;break c}}while(f<<24>>24?h<<24>>24==f<<24>>24:0)}while(0);if((l|0)==22)if(!(f<<24>>24))break;d=m+3&3;if(!(i[a+(d*12|0)+8>>0]|0)){c=1;a=0;a=c&a;return a|0}f=k[a+(d*12|0)>>2]|0;g=i[f>>0]|0;d:do if(g<<24>>24){if(!(e<<24>>24?g<<24>>24==e<<24>>24:0)){c=0;a=0;a=c&a;return a|0}while(1){f=f+1|0;b=b+1|0;g=i[f>>0]|0;e=i[b>>0]|0;if(!(g<<24>>24))break d;if(!(e<<24>>24?g<<24>>24==e<<24>>24:0)){d=0;e=0;break}}a=d&e;return a|0}while(0);if(e<<24>>24){c=0;a=0;a=c&a;return a|0}}while(0);k[c>>2]=k[a+(d*12|0)+4>>2];c=1;a=1;a=c&a;return a|0}function Vca(a,b){a=a|0;b=b|0;if(a>>>0>1)a=0;else{a=k[631136+(a<<2)>>2]|0;if(!a)a=0;else{k[b>>2]=a;a=1}}return a|0}function Wca(){Xca(631144);return}function Xca(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0;i[a+38>>0]=0;c=a;g=c+36|0;do{k[c>>2]=0;c=c+4|0}while((c|0)<(g|0));o[a+40>>2]=1.0;k[a+44>>2]=0;k[a+48>>2]=1;k[a+52>>2]=0;k[a+56>>2]=1;k[a+60>>2]=11;vBb(a+64|0,0,192)|0;Rua(a+128|0);Rua(a+192|0);e=k[a>>2]|0;if((k[a+8>>2]|0)-e>>6>>>0<10){b=k[a+4>>2]|0;h=kBb(640)|0;j=h+(b-e>>6<<6)|0;if((b|0)==(e|0)){c=j;d=e;b=e}else{d=b;c=h+(b-e>>6<<6)|0;b=j;do{d=d+-64|0;c=c+-64|0;f=d;g=c+64|0;do{k[c>>2]=k[f>>2];c=c+4|0;f=f+4|0}while((c|0)<(g|0));c=b+-64|0;b=c}while((d|0)!=(e|0));c=b;d=k[a>>2]|0;b=k[a+4>>2]|0}k[a>>2]=c;k[a+4>>2]=j;k[a+8>>2]=h+640;c=d;if((b|0)!=(c|0))do b=b+-64|0;while((b|0)!=(c|0));if(d|0)CAb(d)}e=k[a+12>>2]|0;if((k[a+20>>2]|0)-e>>6>>>0>=2)return;b=k[a+16>>2]|0;h=kBb(128)|0;j=h+(b-e>>6<<6)|0;if((b|0)==(e|0)){c=j;d=e;b=e}else{d=b;c=h+(b-e>>6<<6)|0;b=j;do{d=d+-64|0;c=c+-64|0;f=d;g=c+64|0;do{k[c>>2]=k[f>>2];c=c+4|0;f=f+4|0}while((c|0)<(g|0));c=b+-64|0;b=c}while((d|0)!=(e|0));c=b;d=k[a+12>>2]|0;b=k[a+16>>2]|0}k[a+12>>2]=c;k[a+16>>2]=j;k[a+20>>2]=h+128;c=d;if((b|0)!=(c|0))do b=b+-64|0;while((b|0)!=(c|0));if(!d)return;CAb(d);return}function Yca(a){a=a|0;if(i[a+38>>0]|0){a=1;return a|0}if(!(Wsa(1498)|0)){a=0;return a|0}_ca(0);$ca(a);ada(a);i[a+36>>0]=0;i[a+37>>0]=0;i[a+38>>0]=1;a=1;return a|0}function Zca(a){a=a|0;return C8a(a)|0}function _ca(a){a=a|0;if((i[1248938]|i[1248949]|i[1248980])<<24>>24)return;if((i[1248930]|0)!=0&(i[1249052]|0)!=0){k[164343]=k[165163];k[164005]=k[165164];k[163745]=k[165165];k[163773]=k[165166];k[163953]=k[165167];k[164271]=k[165169];k[163827]=k[165170];k[163866]=k[165171];k[164567]=k[165172];k[163846]=k[165174];k[163699]=k[165176];k[163847]=k[165177];k[164318]=k[165178]}do if(!(i[1249050]|0)){if(i[1249130]|0){k[163794]=k[165375];break}if(i[1249176]|0)k[163794]=k[165506]}else k[163794]=k[165160];while(0);if(i[1249051]|0){k[164367]=k[165161];return}if(i[1249142]|0){k[164367]=k[165397];return}if(i[1249131]|0){k[164367]=k[165376];return}if(!(i[1249178]|0))return;k[164367]=k[165510];return}function $ca(a){a=a|0;var b=0;b=Gi[k[164209]&2047](7936)|0;if(!b){k[a+60>>2]=11;return}if(Dob(b,435077)|0){k[a+60>>2]=0;return}if(Dob(b,435094)|0){k[a+60>>2]=1;return}if(Dob(b,435101)|0){k[a+60>>2]=2;return}if(Dob(b,435107)|0){k[a+60>>2]=3;return}if(!(Dob(b,435112)|0))if(!(Dob(b,435127)|0)){if(Dob(b,435138)|0){k[a+60>>2]=5;return}if(Dob(b,435148)|0){k[a+60>>2]=6;return}if(Dob(b,512439)|0){k[a+60>>2]=7;return}if(Dob(b,435160)|0){k[a+60>>2]=8;return}if(Dob(b,435169)|0){k[a+60>>2]=9;return}if(!(Dob(b,435178)|0)){k[a+60>>2]=11;return}else{k[a+60>>2]=10;return}}k[a+60>>2]=4;return}function ada(a){a=a|0;var b=0,c=0,d=0,e=0;e=r;r=r+128|0;c=k[a>>2]|0;b=k[a+4>>2]|0;if((b|0)!=(c|0))do{k[a+4>>2]=b+-64;b=k[a+4>>2]|0}while((b|0)!=(c|0));c=k[a+12>>2]|0;b=k[a+16>>2]|0;if((b|0)!=(c|0))do{k[a+16>>2]=b+-64;b=k[a+16>>2]|0}while((b|0)!=(c|0));Rua(e+64|0);b=k[a+4>>2]|0;if(b>>>0<(k[a+8>>2]|0)>>>0){c=e+64|0;d=b+64|0;do{k[b>>2]=k[c>>2];b=b+4|0;c=c+4|0}while((b|0)<(d|0));k[a+4>>2]=(k[a+4>>2]|0)+64}else n7(a,e+64|0);Rua(e);b=k[a+16>>2]|0;if(b>>>0<(k[a+20>>2]|0)>>>0){c=e;d=b+64|0;do{k[b>>2]=k[c>>2];b=b+4|0;c=c+4|0}while((b|0)<(d|0));k[a+16>>2]=(k[a+16>>2]|0)+64;r=e;return}else{n7(a+12|0,e);r=e;return}}function bda(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=r;r=r+32|0;if(!(i[a+38>>0]|0)){r=f;return}if(!(i[1249086]|0))o[a+40>>2]=1.0;else Di[k[164644]&511](34047,a+40|0);Di[k[164656]&511](3379,a+44|0);k[f+8>>2]=1;k[f+4>>2]=1;if(!((i[1248936]|i[1248949])<<24>>24)){b=1;c=1}else{Di[k[164656]&511](36063,f+8|0);Di[k[164656]&511](34852,f+4|0);b=k[f+4>>2]|0;c=k[f+8>>2]|0}k[a+48>>2]=(b|0)<(c|0)?b:c;if(!((i[1248938]|i[1248949]|i[1248980]|i[1249051]|i[1249142]|i[1249131])<<24>>24))k[a+52>>2]=0;else Di[k[164656]&511](36183,a+52|0);Di[k[164656]&511](35661,a+56|0);k[f+8>>2]=k[5960];k[f+8+4>>2]=k[5961];k[f+8+8>>2]=k[5962];k[f+8+12>>2]=k[5963];Di[k[164353]&511](2,f+8|0);Di[k[164353]&511](3,f+8|0);k[f+4>>2]=1;Di[k[164656]&511](34921,f+4|0);b=DBb(1,0,k[f+4>>2]|0)|0;b=xBb(b|0,L|0,-1,0)|0;k[a+80>>2]=b;if(b|0){c=0;do{if(1<>2]=0;if(b&4|0)$i[k[164232]&3](2,1.0,1.0,1.0,1.0)}Di[k[164656]&511](2978,a+84|0);Di[k[164656]&511](3088,a+100|0);k[a+104>>2]=(k[a+96>>2]|0)-(k[a+104>>2]|0)-(k[a+112>>2]|0);if(!(i[1248930]|0))o[a+116>>2]=1.0;else Di[k[164644]&511](2833,a+116|0);if(!((i[1248981]|i[1248938]|i[1249053]|i[1249076])<<24>>24))b=0;else b=(Gi[k[163843]&2047](36281)|0)<<24>>24==1&1;i[a+120>>0]=b;b=k[a+64>>2]|0;c=k[a+68>>2]|0;if((c|0)!=(b|0)){k[a+68>>2]=c+(~((c+-4-b|0)>>>2)<<2);c=c+(~((c+-4-b|0)>>>2)<<2)|0}d=c;e=k[a+56>>2]|0;k[f>>2]=0;if(e>>>0>d-b>>2>>>0){cda(a+64|0,e-(d-b>>2)|0,f);c=k[a+68>>2]|0;b=k[a+64>>2]|0}else if(e>>>0>2>>>0)if((c|0)==(b+(e<<2)|0))c=d;else{c=c+(~((c+-4-(b+(e<<2))|0)>>>2)<<2)|0;k[a+68>>2]=c}else c=d;if((c-b|0)>0){b=0;do{Si[k[164357]&1023](b+33984|0);Di[k[163754]&511](3553,0);b=b+1|0}while((b|0)<((k[a+68>>2]|0)-(k[a+64>>2]|0)>>2|0))}Si[k[164357]&1023](33984);k[a+76>>2]=0;dda(a);Yua(a+128|0,A,A);Yua(a+192|0,A,A);if(i[1248930]|0)Si[k[164050]&1023](5888);i[a+38>>0]=1;r=f;return}function cda(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0;d=k[a+8>>2]|0;f=k[a+4>>2]|0;if(d-f>>2>>>0>=b>>>0){d=b;e=f;while(1){k[e>>2]=k[c>>2];d=d+-1|0;if(!d)break;else e=e+4|0}k[a+4>>2]=f+(b<<2);return}l=k[a>>2]|0;if(((f-l>>2)+b|0)>>>0>1073741823)xzb(a);if(d-l>>2>>>0<536870911){d=d-l>>1>>>0<((f-l>>2)+b|0)>>>0?(f-l>>2)+b|0:d-l>>1;f=k[a+4>>2]|0;if(!d){i=0;d=0;e=f-l>>2;h=f}else{g=f;e=f-l>>2;j=9}}else{e=k[a+4>>2]|0;d=1073741823;g=e;e=e-l>>2;j=9}if((j|0)==9){i=d;d=kBb(d<<2)|0;h=g}g=d+(e<<2)|0;e=d+(i<<2)|0;d=b;f=g;while(1){k[f>>2]=k[c>>2];d=d+-1|0;if(!d)break;else f=f+4|0}c=h-l|0;ABb(g+(0-(c>>2)<<2)|0,l|0,c|0)|0;k[a>>2]=g+(0-(c>>2)<<2);k[a+4>>2]=g+(b<<2);k[a+8>>2]=e;if(!l)return;CAb(l);return}function dda(a){a=a|0;var b=0,c=0,d=0,e=0;e=r;r=r+16|0;d=k[(k[a+64>>2]|0)+(k[a+76>>2]<<2)>>2]|0;Di[k[163991]&511](1,a+124|0);c=k[a+124>>2]|0;b=(k[a+64>>2]|0)+(k[a+76>>2]<<2)|0;if((k[b>>2]|0)!=(c|0)){k[b>>2]=c;Di[k[163754]&511](3553,c)}kj[k[164177]&255](3553,10241,9728);kj[k[164177]&255](3553,10240,9728);kj[k[164177]&255](3553,10242,10497);kj[k[164177]&255](3553,10243,10497);k[e>>2]=-1;ej[k[164671]&15](3553,0,6408,1,1,0,6408,5121,e);b=(k[a+64>>2]|0)+(k[a+76>>2]<<2)|0;if((k[b>>2]|0)==(d|0)){r=e;return}k[b>>2]=d;Di[k[163754]&511](3553,d);r=e;return}function eda(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=k[a+80>>2]|0;if((c|0)==(b|0))return;else e=0;do{d=1<>2]=b;if(!((b&4|0)==0&((c^b)&4|0)!=0))return;$i[k[164232]&3](2,1.0,1.0,1.0,1.0);return}function fda(a){a=a|0;if(!(i[a+38>>0]|0))return;Di[k[164226]&511](1,a+124|0);k[a+124>>2]=0;i[a+38>>0]=0;return}function gda(a,b){a=a|0;b=b|0;a=(k[a+64>>2]|0)+(k[a+76>>2]<<2)|0;if((k[a>>2]|0)==(b|0))return;k[a>>2]=b;Di[k[163754]&511](3553,b);return}function hda(a){a=a|0;var b=0,c=0,d=0;b=k[a+4>>2]|0;if((b|0)==(k[a+8>>2]|0)){ida(a,b+-64|0);return}else{d=b;b=b+-64|0;c=d+64|0;do{k[d>>2]=k[b>>2];d=d+4|0;b=b+4|0}while((d|0)<(c|0));k[a+4>>2]=(k[a+4>>2]|0)+64;return}}function ida(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;i=k[a>>2]|0;d=((k[a+4>>2]|0)-i>>6)+1|0;if(d>>>0>67108863)xzb(a);c=(k[a+8>>2]|0)-i|0;if(c>>6>>>0<33554431){d=c>>5>>>0>>0?d:c>>5;c=k[a+4>>2]|0;if(!d){g=0;f=0;d=c-i>>6}else{e=c;c=c-i>>6;h=6}}else{c=k[a+4>>2]|0;d=67108863;e=c;c=c-i>>6;h=6}if((h|0)==6){g=d;f=kBb(d<<6)|0;d=c;c=e}h=f+(d<<6)|0;g=f+(g<<6)|0;f=h;e=f+64|0;do{k[f>>2]=k[b>>2];f=f+4|0;b=b+4|0}while((f|0)<(e|0));if((c|0)==(i|0)){d=h;b=i}else{b=h;d=h;do{c=c+-64|0;f=b+-64|0;b=c;e=f+64|0;do{k[f>>2]=k[b>>2];f=f+4|0;b=b+4|0}while((f|0)<(e|0));b=d+-64|0;d=b}while((c|0)!=(i|0));b=k[a>>2]|0;c=k[a+4>>2]|0}k[a>>2]=d;k[a+4>>2]=h+64;k[a+8>>2]=g;d=b;if((c|0)!=(d|0))do c=c+-64|0;while((c|0)!=(d|0));if(!b)return;CAb(b);return}function jda(a){a=a|0;var b=0,c=0;b=k[a+4>>2]|0;c=b;do{k[a+4>>2]=c+-64;c=k[a+4>>2]|0}while((c|0)!=(b+-64|0));return}function kda(a){a=a|0;return (k[a+4>>2]|0)+-64|0}function lda(a){a=a|0;var b=0,c=0,d=0,e=0;b=k[157856]|0;if(b|0)wea(b);if(!(i[1248930]|0))return;b=(k[a+16>>2]|0)+-64|0;e=(k[a+4>>2]|0)+-64|0;d=Xua(b)|0;if(Emb(d,Xua(a+128|0)|0,64)|0){Si[k[164050]&1023](5889);b=Xua(b)|0;Si[k[164680]&1023](b);Si[k[164050]&1023](5888);b=a+128|0;c=(k[a+16>>2]|0)+-64|0;d=b+64|0;do{k[b>>2]=k[c>>2];b=b+4|0;c=c+4|0}while((b|0)<(d|0))}d=Xua(e)|0;if(!(Emb(d,Xua(a+192|0)|0,64)|0))return;b=Xua(e)|0;Si[k[164680]&1023](b);b=a+192|0;c=(k[a+4>>2]|0)+-64|0;d=b+64|0;do{k[b>>2]=k[c>>2];b=b+4|0;c=c+4|0}while((b|0)<(d|0));return}function mda(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;kj[k[163828]&255](b,c,d);k[a+28>>2]=(k[a+28>>2]|0)+1;return}function nda(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;vj[k[164155]&127](b,c,d,e);k[a+28>>2]=(k[a+28>>2]|0)+1;return}function oda(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;vj[k[164163]&127](k[b>>2]|0,k[b+4>>2]|0,k[b+8>>2]|0,k[b+12>>2]|0);k[a+84>>2]=k[b>>2];k[a+84+4>>2]=k[b+4>>2];k[a+84+8>>2]=k[b+8>>2];k[a+84+12>>2]=k[b+12>>2];b=k[a+100>>2]|0;c=k[a+104>>2]|0;d=k[a+112>>2]|0;e=k[a+108>>2]|0;if(!(k[157547]|0)){vj[k[164452]&127](b,(k[a+96>>2]|0)-(d+c)|0,e,d);return}else{vj[k[164452]&127](b,c,e,d);return}}function pda(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=k[b>>2]|0;d=k[b+4>>2]|0;e=k[b+12>>2]|0;f=k[b+8>>2]|0;if(!(k[157547]|0))vj[k[164452]&127](c,(k[a+96>>2]|0)-d-e|0,f,e);else vj[k[164452]&127](c,d,f,e);k[a+100>>2]=k[b>>2];k[a+100+4>>2]=k[b+4>>2];k[a+100+8>>2]=k[b+8>>2];k[a+100+12>>2]=k[b+12>>2];return}function qda(a,b){a=a|0;b=b|0;k[a>>2]=k[b+84>>2];k[a+4>>2]=k[b+84+4>>2];k[a+8>>2]=k[b+84+8>>2];k[a+12>>2]=k[b+84+12>>2];return}function rda(a,b){a=a|0;b=+b;if(i[1248930]|0)zi[k[163763]&3](b);o[a+116>>2]=b;return}function sda(a){a=a|0;return +(+o[a+116>>2])}function tda(a,b){a=a|0;b=b|0;if(b)Si[k[163901]&1023](36281);else Si[k[164262]&1023](36281);i[a+120>>0]=b&1;return}function uda(a){a=a|0;return (i[a+120>>0]|0)!=0|0}function vda(a,b,c){a=a|0;b=b|0;c=c|0;Di[k[164271]&511](b,c);if((b|0)!=36160)return;k[a+32>>2]=(k[a+32>>2]|0)+1;return}function wda(a){a=a|0;return 0}function xda(a){a=a|0;return k[a+124>>2]|0}function yda(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;if((b|0)>=0)if((k[a+68>>2]|0)-(k[a+64>>2]|0)>>2>>>0>b>>>0){if((k[a+76>>2]|0)==(b|0)){k[a+76>>2]=b;r=c;return}Si[k[164357]&1023](b+33984|0);k[a+76>>2]=b;r=c;return}a=xf(16)|0;k[c>>2]=b;os(a,435186,c);Jc(a|0,96,27)}function zda(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;g=r;r=r+16|0;if((c|0)<0){a=xf(16)|0;os(a,435219,g);Jc(a|0,96,27)}e=k[a+64>>2]|0;if((k[a+68>>2]|0)-e>>2>>>0<=c>>>0){a=xf(16)|0;os(a,435219,g);Jc(a|0,96,27)}if((k[e+(c<<2)>>2]|0)==(b|0)){r=g;return}f=k[a+76>>2]|0;if((f|0)!=(c|0)){Si[k[164357]&1023](c+33984|0);e=k[a+64>>2]|0}k[a+76>>2]=c;k[e+(c<<2)>>2]=b;Di[k[163754]&511](3553,b);if(!d){r=g;return}if((f|0)<0){a=xf(16)|0;k[g+8>>2]=f;os(a,435186,g+8|0);Jc(a|0,96,27)}if((k[a+68>>2]|0)-(k[a+64>>2]|0)>>2>>>0<=f>>>0){a=xf(16)|0;k[g+8>>2]=f;os(a,435186,g+8|0);Jc(a|0,96,27)}if((k[a+76>>2]|0)!=(f|0))Si[k[164357]&1023](f+33984|0);k[a+76>>2]=f;r=g;return}function Ada(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+16|0;k[d>>2]=b;c=k[a+64>>2]|0;a=k[a+68>>2]|0;a:do if((c|0)!=(a|0))while(1){if((k[c>>2]|0)==(b|0))k[c>>2]=0;c=c+4|0;if((c|0)==(a|0))break a;b=k[d>>2]|0}while(0);Di[k[164226]&511](1,d);r=d;return}function Bda(a,b){a=a|0;b=b|0;var c=0,d=0,e=0.0,f=0.0;c=k[b+8>>2]|0;d=k[b>>2]|0;if(!c)c=(d|0)==2?9728:9729;else if((c|0)==2&(d|0)==2)c=9984;else if((c|0)==1&(d|0)==2)c=9986;else if((c|0)==2&(d|0)==1)c=9985;else c=(c|0)==1&(d|0)==1?9987:9729;d=(k[b+4>>2]|0)==2?9728:9729;kj[k[164177]&255](3553,10241,c);kj[k[164177]&255](3553,10240,d);if(!(i[1249086]|0)){o[b+12>>2]=1.0;return}else{e=+o[b+12>>2];f=+o[a+40>>2];e=e<1.0?1.0:e;e=f>2]=e;Wi[k[164175]&31](3553,34046,e);return}}function Cda(a,b){a=a|0;b=b|0;switch(k[b>>2]|0){case 3:{a=33648;break}case 1:{a=33069;break}case 2:{a=10497;break}default:a=33071}kj[k[164177]&255](3553,10242,a);switch(k[b+4>>2]|0){case 3:{a=33648;break}case 1:{a=33069;break}case 2:{a=10497;break}default:a=33071}kj[k[164177]&255](3553,10243,a);return}function Dda(a){a=a|0;return (i[1249080]|i[1248933]|i[1249198])<<24>>24!=0|0}function Eda(a){a=a|0;return k[a+44>>2]|0}function Fda(a){a=a|0;return k[a+48>>2]|0}function Gda(a){a=a|0;return k[a+52>>2]|0}function Hda(a){a=a|0;return k[a+56>>2]|0}function Ida(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=k[a+24>>2]|0;b=EBb(c|0,0,b|0,0)|0;b=xBb(d|0,0,b|0,L|0)|0;c=L;b=(c|0)<0?0:b;k[a+24>>2]=b;return}function Jda(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+16|0;switch(a|0){case 0:{a=435356;break}case 1280:{a=435343;break}case 1281:{a=519824;break}case 1282:{a=435325;break}case 1285:{a=435311;break}case 1286:{a=435281;break}case 1287:{a=435252;break}default:{b=1248866;c=b+64|0;do{i[b>>0]=0;b=b+1|0}while((b|0)<(c|0));k[d>>2]=a;Fmb(1248866,435247,d)|0;a=1248866}}r=d;return a|0}function Kda(a){a=a|0;switch(a|0){case 37190:{a=435376;break}case 37191:{a=435369;break}case 37192:{a=435365;break}default:a=439736}return a|0}function Lda(a){a=a|0;switch(a|0){case 33350:{a=435415;break}case 33351:{a=435408;break}case 33352:{a=435401;break}case 33353:{a=435392;break}case 33354:{a=435387;break}case 33355:{a=435381;break}default:a=439736}return a|0}function Mda(a){a=a|0;switch(a|0){case 33356:{a=517536;break}case 33357:{a=435462;break}case 33358:{a=435443;break}case 33360:{a=435431;break}case 33359:{a=435419;break}case 33361:{a=435381;break}default:a=439736}return a|0}function Nda(a){a=a|0;var b=0;k[a>>2]=23864;b=k[a+228>>2]|0;if(b|0)oBb(b);c9(a+232|0);gB(a);return}function Oda(a){a=a|0;var b=0;k[a>>2]=23864;b=k[a+228>>2]|0;if(b|0)oBb(b);c9(a+232|0);gB(a);CAb(a);return}function Pda(a,b,c,d,e,f,g,h,j,l){a=a|0;b=+b;c=+c;d=+d;e=+e;f=+f;g=+g;h=+h;j=+j;l=+l;var m=0,n=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;y=r;r=r+112|0;x=AC(a)|0;if(!x){r=y;return}if(!(k[a+24>>2]|0)){r=y;return}if(!(k[a+8>>2]|0)){r=y;return}if(!(k[a+228>>2]|0)){r=y;return}hda(631144);q=kda(631144)|0;Tua(y,b,c,d,e,f,g,h,j,l);Wua(q,y);q=k[a+24>>2]|0;q=Gi[k[(k[q>>2]|0)+48>>2]&2047](q)|0;m=k[a+228>>2]|0;n=k[a+16>>2]|0;p=(k[a+212>>2]|0)==(k[a+216>>2]|0);cva(y+64|0);a:do if(n|0){s=y+64+12|0;t=y+64+24|0;u=y+64+4|0;v=y+64+16|0;w=y+64+28|0;if(!p)while(1){B=TC(k[(k[a+212>>2]|0)+(k[n+104>>2]<<2)>>2]|0)|0;c=+o[n+60>>2];fva(y+64|0,+o[n+16>>2],+o[n+20>>2],+o[n+76>>2],c,c,+o[a+188>>2],+o[a+192>>2],0.0,0.0);c=+o[B>>2];b=+o[B+4>>2];f=+o[w>>2]+(c*+o[u>>2]+b*+o[v>>2]);o[m>>2]=+o[t>>2]+(+o[y+64>>2]*c+ +o[s>>2]*b);o[m+4>>2]=f;f=+o[B+20>>2];b=+o[B+24>>2];c=+o[w>>2]+(f*+o[u>>2]+b*+o[v>>2]);o[m+20>>2]=+o[t>>2]+(+o[y+64>>2]*f+ +o[s>>2]*b);o[m+24>>2]=c;c=+o[B+40>>2];b=+o[B+44>>2];f=+o[w>>2]+(c*+o[u>>2]+b*+o[v>>2]);o[m+40>>2]=+o[t>>2]+(+o[y+64>>2]*c+ +o[s>>2]*b);o[m+44>>2]=f;f=+o[B+60>>2];b=+o[B+64>>2];c=+o[w>>2]+(f*+o[u>>2]+b*+o[v>>2]);o[m+60>>2]=+o[t>>2]+(+o[y+64>>2]*f+ +o[s>>2]*b);o[m+64>>2]=c;A=~~(+o[n+88>>2]*255.0)&255;z=~~(+o[n+92>>2]*255.0)&255;p=~~(+o[n+96>>2]*255.0)&255;q=~~(+o[n+100>>2]*255.0)&255;k[m+8>>2]=k[B+8>>2];k[m+12>>2]=k[B+12>>2];i[m+16>>0]=A;i[m+17>>0]=z;i[m+18>>0]=p;i[m+19>>0]=q;k[m+28>>2]=k[B+28>>2];k[m+32>>2]=k[B+32>>2];i[m+36>>0]=A;i[m+37>>0]=z;i[m+38>>0]=p;i[m+39>>0]=q;k[m+48>>2]=k[B+48>>2];k[m+52>>2]=k[B+52>>2];i[m+56>>0]=A;i[m+57>>0]=z;i[m+58>>0]=p;i[m+59>>0]=q;k[m+68>>2]=k[B+68>>2];k[m+72>>2]=k[B+72>>2];i[m+76>>0]=A;i[m+77>>0]=z;i[m+78>>0]=p;i[m+79>>0]=q;n=k[n+4>>2]|0;if(!n)break a;else m=m+80|0}while(1){c=+o[n+60>>2];fva(y+64|0,+o[n+16>>2],+o[n+20>>2],+o[n+76>>2],c,c,+o[a+188>>2],+o[a+192>>2],0.0,0.0);c=+o[q>>2];b=+o[q+4>>2];f=+o[w>>2]+(c*+o[u>>2]+b*+o[v>>2]);o[m>>2]=+o[t>>2]+(+o[y+64>>2]*c+ +o[s>>2]*b);o[m+4>>2]=f;f=+o[q+20>>2];b=+o[q+24>>2];c=+o[w>>2]+(f*+o[u>>2]+b*+o[v>>2]);o[m+20>>2]=+o[t>>2]+(+o[y+64>>2]*f+ +o[s>>2]*b);o[m+24>>2]=c;c=+o[q+40>>2];b=+o[q+44>>2];f=+o[w>>2]+(c*+o[u>>2]+b*+o[v>>2]);o[m+40>>2]=+o[t>>2]+(+o[y+64>>2]*c+ +o[s>>2]*b);o[m+44>>2]=f;f=+o[q+60>>2];b=+o[q+64>>2];c=+o[w>>2]+(f*+o[u>>2]+b*+o[v>>2]);o[m+60>>2]=+o[t>>2]+(+o[y+64>>2]*f+ +o[s>>2]*b);o[m+64>>2]=c;p=~~(+o[n+88>>2]*255.0)&255;z=~~(+o[n+92>>2]*255.0)&255;A=~~(+o[n+96>>2]*255.0)&255;B=~~(+o[n+100>>2]*255.0)&255;k[m+8>>2]=k[q+8>>2];k[m+12>>2]=k[q+12>>2];i[m+16>>0]=p;i[m+17>>0]=z;i[m+18>>0]=A;i[m+19>>0]=B;k[m+28>>2]=k[q+28>>2];k[m+32>>2]=k[q+32>>2];i[m+36>>0]=p;i[m+37>>0]=z;i[m+38>>0]=A;i[m+39>>0]=B;k[m+48>>2]=k[q+48>>2];k[m+52>>2]=k[q+52>>2];i[m+56>>0]=p;i[m+57>>0]=z;i[m+58>>0]=A;i[m+59>>0]=B;k[m+68>>2]=k[q+68>>2];k[m+72>>2]=k[q+72>>2];i[m+76>>0]=p;i[m+77>>0]=z;i[m+78>>0]=A;i[m+79>>0]=B;n=k[n+4>>2]|0;if(!n)break;else m=m+80|0}}while(0);A=k[a+24>>2]|0;A=Gi[k[(k[A>>2]|0)+52>>2]&2047](A)|0;gda(631144,k[A>>2]|0);lda(631144);eda(631144,7);Ti[k[164011]&63](2,4,5121,1,20,(k[a+228>>2]|0)+16|0);Ti[k[164011]&63](0,2,5126,0,20,k[a+228>>2]|0);Ti[k[164011]&63](1,2,5126,0,20,(k[a+228>>2]|0)+8|0);A=e9(a+232|0,x)|0;B=$8(a+232|0,k[157701]|0)|0;nda(631144,4,A,B,i9(a+232|0,0)|0);jda(631144);r=y;return}function Qda(a){a=a|0;var b=0;b=kBb(236)|0;qB(b,a);k[b>>2]=23864;k[b+228>>2]=0;a9(b+232|0,a+232|0);Rda(b,k[b+36>>2]|0);return b|0}function Rda(a,b){a=a|0;b=b|0;var c=0;b=mBb(b<<2>>>0>214748364?-1:(b<<2)*20|0)|0;c=k[a+228>>2]|0;if(!c){k[a+228>>2]=b;return}oBb(c);k[a+228>>2]=b;return}function Sda(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;iB(a,b);Y8(c,b);b9(a+232|0,c)|0;c9(c);Rda(a,b);r=c;return}function Tda(a,b,c){a=a|0;b=b|0;c=c|0;nB(a,b,c);k[a>>2]=23864;k[a+228>>2]=0;Y8(a+232|0,c);Rda(a,c);return}function Uda(a){a=a|0;k[a>>2]=23900;a=k[a+4>>2]|0;if(!a)return;oBb(a);return}function Vda(a){a=a|0;var b=0;k[a>>2]=23900;b=k[a+4>>2]|0;if(!b){CAb(a);return}oBb(b);CAb(a);return}function Wda(a,b){a=a|0;b=b|0;k[a+16>>2]=(k[a+12>>2]<<1)+(b?0:2);return}function Xda(a,b,c,d){a=a|0;b=b|0;c=+c;d=d|0;var e=0,f=0,g=0,h=0.0,i=0.0,j=0.0,l=0.0,m=0.0,n=0,p=0,q=0;e=k[a+12>>2]|0;if(e>>>0>1){f=1;g=0;do{p=(k[a+4>>2]|0)+(g<<3)|0;n=k[p+4>>2]|0;e=(k[a+8>>2]|0)+(g<<3)|0;k[e>>2]=k[p>>2];k[e+4>>2]=n;e=k[a+8>>2]|0;n=k[a+4>>2]|0;p=k[b>>2]|0;j=+o[p+(g<<3)>>2];m=+o[p+(g<<3)+4>>2];l=c/+X(+(j*j+m*m));m=+o[n+(g<<3)+4>>2]+m*l;o[e+(f<<3)>>2]=+o[n+(g<<3)>>2]+j*l;o[e+(f<<3)+4>>2]=m;g=g+2|0;f=g|1;e=k[a+12>>2]|0}while(f>>>0>>0);if(e>>>0>1){f=0;do{n=e-f+-1|0;g=(k[a+4>>2]|0)+(n<<3)|0;p=k[g+4>>2]|0;e=(k[a+8>>2]|0)+(e+f<<3)|0;k[e>>2]=k[g>>2];k[e+4>>2]=p;e=(f|1)+(k[a+12>>2]|0)|0;p=k[a+8>>2]|0;g=k[a+4>>2]|0;q=k[b>>2]|0;m=+o[q+(f<<3)>>2];l=+o[q+(f<<3)+4>>2];l=c/+X(+(m*m+l*l));m=l*+o[q+(n<<3)+4>>2]+ +o[g+(n<<3)+4>>2];o[p+(e<<3)>>2]=+o[q+(n<<3)>>2]*l+ +o[g+(n<<3)>>2];o[p+(e<<3)+4>>2]=m;f=f+2|0;e=k[a+12>>2]|0}while((f|1)>>>0>>0)}}if(d)return;b=k[a+8>>2]|0;l=+o[b+8>>2];h=l-+o[b+24>>2];m=+o[b+12>>2];i=m-+o[b+28>>2];j=+X(+(h*h+i*i));if(j>0.0){h=h*(c/j);i=i*(c/j)}o[b+8>>2]=h+l;o[b+12>>2]=i+m;g=k[a+16>>2]|0;o[b+(g+-3<<3)>>2]=h+ +o[b+(g+-3<<3)>>2];o[b+(g+-3<<3)+4>>2]=i+ +o[b+(g+-3<<3)+4>>2];f=e+-1|0;q=e+-3|0;l=+o[b+(f<<3)>>2];i=l-+o[b+(q<<3)>>2];m=+o[b+(f<<3)+4>>2];h=m-+o[b+(q<<3)+4>>2];j=+X(+(i*i+h*h));if(j>0.0){i=i*(c/j);h=h*(c/j)}o[b+(f<<3)>>2]=i+l;o[b+(f<<3)+4>>2]=h+m;n=e+1|0;o[b+(n<<3)>>2]=i+ +o[b+(n<<3)>>2];o[b+(n<<3)+4>>2]=h+ +o[b+(n<<3)+4>>2];n=k[b+4>>2]|0;k[b+(g+-2<<3)>>2]=k[b>>2];k[b+(g+-2<<3)+4>>2]=n;n=k[a+8>>2]|0;p=k[n+8+4>>2]|0;q=n+((k[a+16>>2]|0)+-1<<3)|0;k[q>>2]=k[n+8>>2];k[q+4>>2]=p;return}function Yda(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if(!(k[a+16>>2]|0))return;else c=0;do{d=b+(c<<2)|0;c=c+1|0;e=0-(c&1)<<24|16777215;i[d>>0]=e;i[d+1>>0]=e>>8;i[d+2>>0]=e>>16;i[d+3>>0]=e>>24}while(c>>>0<(k[a+16>>2]|0)>>>0);return}function Zda(a){a=a|0;var b=0;k[a>>2]=23900;b=k[a+4>>2]|0;if(!b){CAb(a);return}oBb(b);CAb(a);return}function _da(a,b){a=a|0;b=b|0;k[a+16>>2]=(k[a+12>>2]<<2)+-8;return}function $da(a,b,c,d){a=a|0;b=b|0;c=+c;d=d|0;var e=0.0,f=0.0,g=0.0,h=0.0,i=0.0,j=0,l=0,m=0,n=0,p=0;if((k[a+12>>2]|0)>>>0<=5)return;b=5;l=2;while(1){j=k[a+4>>2]|0;i=+o[j+(l<<3)>>2];f=i-+o[j+(b<<3)>>2];e=+o[j+(l<<3)+4>>2];g=e-+o[j+(b<<3)+4>>2];d=l|1;i=i-+o[j+(d<<3)>>2];e=e-+o[j+(d<<3)+4>>2];h=+X(+(f*f+g*g));if(h>0.0){f=f*(c/h);g=g*(c/h)}h=+X(+(i*i+e*e));if(h>0.0){i=i*(c/h);e=e*(c/h)}n=l<<2;p=j+(l<<3)|0;j=k[p+4>>2]|0;m=(k[a+8>>2]|0)+(n+-8<<3)|0;k[m>>2]=k[p>>2];k[m+4>>2]=j;m=k[a+8>>2]|0;j=k[a+4>>2]|0;h=e+(g+ +o[j+(l<<3)+4>>2]);o[m+(n+-7<<3)>>2]=i+(f+ +o[j+(l<<3)>>2]);o[m+(n+-7<<3)+4>>2]=h;m=k[a+8>>2]|0;j=k[a+4>>2]|0;h=g+ +o[j+(d<<3)+4>>2]-e;o[m+(n+-6<<3)>>2]=f+ +o[j+(d<<3)>>2]-i;o[m+(n+-6<<3)+4>>2]=h;m=(k[a+4>>2]|0)+(d<<3)|0;j=k[m+4>>2]|0;p=(k[a+8>>2]|0)+(n+-5<<3)|0;k[p>>2]=k[m>>2];k[p+4>>2]=j;p=(k[a+4>>2]|0)+(d<<3)|0;j=k[p+4>>2]|0;m=(k[a+8>>2]|0)+(n+-4<<3)|0;k[m>>2]=k[p>>2];k[m+4>>2]=j;m=k[a+8>>2]|0;j=k[a+4>>2]|0;h=g+ +o[j+(d<<3)+4>>2]-e;o[m+(n+-3<<3)>>2]=f+ +o[j+(d<<3)>>2]-i;o[m+(n+-3<<3)+4>>2]=h;m=k[a+8>>2]|0;d=l+2|0;j=k[a+4>>2]|0;h=+o[j+(d<<3)+4>>2]-g-e;o[m+(n+-2<<3)>>2]=+o[j+(d<<3)>>2]-f-i;o[m+(n+-2<<3)+4>>2]=h;m=(k[a+4>>2]|0)+(d<<3)|0;j=k[m+4>>2]|0;p=(k[a+8>>2]|0)+(n+-1<<3)|0;k[p>>2]=k[m>>2];k[p+4>>2]=j;p=(k[a+4>>2]|0)+(d<<3)|0;j=k[p+4>>2]|0;m=(k[a+8>>2]|0)+(n<<3)|0;k[m>>2]=k[p>>2];k[m+4>>2]=j;m=k[a+8>>2]|0;j=k[a+4>>2]|0;h=+o[j+(d<<3)+4>>2]-g-e;o[m+((n|1)<<3)>>2]=+o[j+(d<<3)>>2]-f-i;o[m+((n|1)<<3)+4>>2]=h;m=k[a+8>>2]|0;d=k[a+4>>2]|0;h=e+(+o[d+(b<<3)+4>>2]-g);o[m+((n|2)<<3)>>2]=i+(+o[d+(b<<3)>>2]-f);o[m+((n|2)<<3)+4>>2]=h;m=(k[a+4>>2]|0)+(b<<3)|0;d=k[m+4>>2]|0;j=(k[a+8>>2]|0)+((n|3)<<3)|0;k[j>>2]=k[m>>2];k[j+4>>2]=d;j=(k[a+4>>2]|0)+(b<<3)|0;d=k[j+4>>2]|0;m=(k[a+8>>2]|0)+((n|4)<<3)|0;k[m>>2]=k[j>>2];k[m+4>>2]=d;m=k[a+8>>2]|0;d=k[a+4>>2]|0;h=e+(+o[d+(b<<3)+4>>2]-g);o[m+((n|5)<<3)>>2]=i+(+o[d+(b<<3)>>2]-f);o[m+((n|5)<<3)+4>>2]=h;m=k[a+8>>2]|0;d=k[a+4>>2]|0;h=e+(g+ +o[d+(l<<3)+4>>2]);o[m+((n|6)<<3)>>2]=i+(f+ +o[d+(l<<3)>>2]);o[m+((n|6)<<3)+4>>2]=h;m=(k[a+4>>2]|0)+(l<<3)|0;d=k[m+4>>2]|0;j=(k[a+8>>2]|0)+((n|7)<<3)|0;k[j>>2]=k[m>>2];k[j+4>>2]=d;b=l+7|0;if(b>>>0>=(k[a+12>>2]|0)>>>0)break;else l=l+4|0}return}function aea(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if(!(k[a+16>>2]|0))return;else c=0;do{d=b+(c<<2)|0;c=c+1|0;e=(c&2)>>>0<2?-1:16777215;i[d>>0]=e;i[d+1>>0]=e>>8;i[d+2>>0]=e>>16;i[d+3>>0]=e>>24}while(c>>>0<(k[a+16>>2]|0)>>>0);return}function bea(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=+i;var j=0,l=0,m=0,n=0.0,p=0.0;j=r;r=r+16|0;a=k[b+4>>2]|0;if((a|0)==(k[b+8>>2]|0)){xk(b,g);a=k[b+4>>2]|0}else{l=k[g+4>>2]|0;k[a>>2]=k[g>>2];k[a+4>>2]=l;a=(k[b+4>>2]|0)+8|0;k[b+4>>2]=a}if((a|0)==(k[b+8>>2]|0))xk(b,g);else{m=k[g+4>>2]|0;l=a;k[l>>2]=k[g>>2];k[l+4>>2]=m;k[b+4>>2]=(k[b+4>>2]|0)+8}a=k[c+4>>2]|0;if((a|0)==(k[c+8>>2]|0)){xk(c,f);a=k[c+4>>2]|0}else{m=k[f+4>>2]|0;k[a>>2]=k[f>>2];k[a+4>>2]=m;a=(k[c+4>>2]|0)+8|0;k[c+4>>2]=a}n=-+o[f+4>>2];o[j+8>>2]=-+o[f>>2];o[j+8+4>>2]=n;if(a>>>0<(k[c+8>>2]|0)>>>0){l=k[j+8+4>>2]|0;m=a;k[m>>2]=k[j+8>>2];k[m+4>>2]=l;k[c+4>>2]=(k[c+4>>2]|0)+8}else cea(c,j+8|0);n=+o[h>>2]-+o[g>>2];p=+o[h+4>>2]-+o[g+4>>2];o[d>>2]=n;o[d+4>>2]=p;p=+X(+(n*n+p*p));o[e>>2]=p;n=i/p*+o[d>>2];o[f>>2]=-(i/p*+o[d+4>>2]);o[f+4>>2]=n;a=k[b+4>>2]|0;if((a|0)==(k[b+8>>2]|0)){xk(b,g);a=k[b+4>>2]|0}else{m=k[g+4>>2]|0;k[a>>2]=k[g>>2];k[a+4>>2]=m;a=(k[b+4>>2]|0)+8|0;k[b+4>>2]=a}if((a|0)==(k[b+8>>2]|0))xk(b,g);else{l=k[g+4>>2]|0;m=a;k[m>>2]=k[g>>2];k[m+4>>2]=l;k[b+4>>2]=(k[b+4>>2]|0)+8}p=-+o[f+4>>2];o[j>>2]=-+o[f>>2];o[j+4>>2]=p;a=k[c+4>>2]|0;if(a>>>0<(k[c+8>>2]|0)>>>0){m=k[j+4>>2]|0;k[a>>2]=k[j>>2];k[a+4>>2]=m;a=(k[c+4>>2]|0)+8|0;k[c+4>>2]=a}else{cea(c,j);a=k[c+4>>2]|0}if((a|0)==(k[c+8>>2]|0)){xk(c,f);r=j;return}else{l=k[f+4>>2]|0;m=a;k[m>>2]=k[f>>2];k[m+4>>2]=l;k[c+4>>2]=(k[c+4>>2]|0)+8;r=j;return}}function cea(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=k[a>>2]|0;c=((k[a+4>>2]|0)-i>>3)+1|0;if(c>>>0>536870911)xzb(a);d=(k[a+8>>2]|0)-i|0;if(d>>3>>>0<268435455){c=d>>2>>>0>>0?c:d>>2;e=k[a+4>>2]|0;if(!c){h=0;f=0;d=e-i>>3;c=e}else{g=e;d=e-i>>3;j=6}}else{d=k[a+4>>2]|0;c=536870911;g=d;d=d-i>>3;j=6}if((j|0)==6){h=c;f=kBb(c<<3)|0;c=g}j=f+(d<<3)|0;g=k[b+4>>2]|0;k[j>>2]=k[b>>2];k[j+4>>2]=g;b=c-i|0;ABb(j+(0-(b>>3)<<3)|0,i|0,b|0)|0;k[a>>2]=j+(0-(b>>3)<<3);k[a+4>>2]=j+8;k[a+8>>2]=f+(h<<3);if(!i)return;CAb(i);return}function dea(a){a=a|0;var b=0;k[a>>2]=23900;b=k[a+4>>2]|0;if(!b){CAb(a);return}oBb(b);CAb(a);return}function eea(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=+i;var j=0.0,l=0.0,m=0.0,n=0.0,p=0.0,q=0.0,s=0.0,u=0.0,v=0,w=0;v=r;r=r+32|0;u=+o[h>>2]-+o[g>>2];s=+o[h+4>>2]-+o[g+4>>2];q=+X(+(u*u+s*s));a=k[b+4>>2]|0;if((a|0)==(k[b+8>>2]|0)){xk(b,g);a=k[b+4>>2]|0}else{h=k[g+4>>2]|0;k[a>>2]=k[g>>2];k[a+4>>2]=h;a=(k[b+4>>2]|0)+8|0;k[b+4>>2]=a}if((a|0)==(k[b+8>>2]|0))xk(b,g);else{w=k[g+4>>2]|0;h=a;k[h>>2]=k[g>>2];k[h+4>>2]=w;k[b+4>>2]=(k[b+4>>2]|0)+8}l=+o[d>>2];p=+o[d+4>>2];n=+W(+(s*l-u*p));if(n/(q*+o[e>>2])<.05000000074505806)if(u*l+s*p>0.0){a=k[c+4>>2]|0;if((a|0)==(k[c+8>>2]|0)){xk(c,f);a=k[c+4>>2]|0}else{w=k[f+4>>2]|0;k[a>>2]=k[f>>2];k[a+4>>2]=w;a=(k[c+4>>2]|0)+8|0;k[c+4>>2]=a}p=-+o[f+4>>2];o[v+8>>2]=-+o[f>>2];o[v+8+4>>2]=p;if(a>>>0<(k[c+8>>2]|0)>>>0){g=k[v+8+4>>2]|0;w=a;k[w>>2]=k[v+8>>2];k[w+4>>2]=g;k[c+4>>2]=(k[c+4>>2]|0)+8;w=f+4|0;o[d>>2]=u;o[d+4>>2]=s;o[f>>2]=-(s*(i/q));o[w>>2]=u*(i/q);o[e>>2]=q;r=v;return}else{cea(c,v+8|0);w=f+4|0;o[d>>2]=u;o[d+4>>2]=s;o[f>>2]=-(s*(i/q));o[w>>2]=u*(i/q);o[e>>2]=q;r=v;return}}j=+o[f>>2];m=+o[f+4>>2];n=(s*(-(s*(i/q))-j)-u*(u*(i/q)-m))/(s*l-u*p);o[v+16>>2]=j+l*n;o[v+16+4>>2]=m+p*n;a=k[c+4>>2]|0;if((a|0)==(k[c+8>>2]|0)){xk(c,v+16|0);j=j+l*n;a=k[c+4>>2]|0}else{w=k[v+16>>2]|0;g=k[v+16+4>>2]|0;k[a>>2]=w;k[a+4>>2]=g;a=(k[c+4>>2]|0)+8|0;k[c+4>>2]=a;j=(k[t>>2]=w,+o[t>>2])}o[v>>2]=-j;o[v+4>>2]=-(m+p*n);if(a>>>0<(k[c+8>>2]|0)>>>0){g=k[v+4>>2]|0;w=a;k[w>>2]=k[v>>2];k[w+4>>2]=g;k[c+4>>2]=(k[c+4>>2]|0)+8}else cea(c,v);w=f+4|0;o[d>>2]=u;o[d+4>>2]=s;o[f>>2]=-(s*(i/q));o[w>>2]=u*(i/q);o[e>>2]=q;r=v;return}function fea(a){a=a|0;var b=0;k[a>>2]=23900;b=k[a+4>>2]|0;if(!b){CAb(a);return}oBb(b);CAb(a);return}function gea(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=+i;var j=0.0,l=0.0,m=0.0,n=0.0,p=0.0,q=0.0,s=0.0,u=0.0,v=0,w=0;v=r;r=r+64|0;u=+o[h>>2]-+o[g>>2];q=+o[h+4>>2]-+o[g+4>>2];s=+X(+(u*u+q*q));n=+o[d>>2];p=+o[d+4>>2];m=+W(+(q*n-u*p));if(m/(s*+o[e>>2])<.05000000074505806)if(u*n+q*p>0.0){o[v+48>>2]=-(q*(i/s));o[v+48+4>>2]=u*(i/s);a=k[b+4>>2]|0;if((a|0)==(k[b+8>>2]|0)){xk(b,g);a=k[b+4>>2]|0}else{f=k[g+4>>2]|0;k[a>>2]=k[g>>2];k[a+4>>2]=f;a=(k[b+4>>2]|0)+8|0;k[b+4>>2]=a}if((a|0)==(k[b+8>>2]|0))xk(b,g);else{h=k[g+4>>2]|0;f=a;k[f>>2]=k[g>>2];k[f+4>>2]=h;k[b+4>>2]=(k[b+4>>2]|0)+8}a=k[c+4>>2]|0;if((a|0)==(k[c+8>>2]|0)){xk(c,v+48|0);j=-(q*(i/s));a=k[c+4>>2]|0}else{f=k[v+48>>2]|0;g=k[v+48+4>>2]|0;k[a>>2]=f;k[a+4>>2]=g;a=(k[c+4>>2]|0)+8|0;k[c+4>>2]=a;j=(k[t>>2]=f,+o[t>>2])}o[v+40>>2]=-j;o[v+40+4>>2]=-(u*(i/s));if(a>>>0<(k[c+8>>2]|0)>>>0){g=k[v+40+4>>2]|0;f=a;k[f>>2]=k[v+40>>2];k[f+4>>2]=g;k[c+4>>2]=(k[c+4>>2]|0)+8}else cea(c,v+40|0);o[d>>2]=u;o[d+4>>2]=q;o[e>>2]=s;r=v;return}o[v+48>>2]=-(q*(i/s));o[v+48+4>>2]=u*(i/s);j=+o[f>>2];l=+o[f+4>>2];m=(q*(-(q*(i/s))-j)-u*(u*(i/s)-l))/(q*n-u*p);o[v+32>>2]=j+n*m;o[v+32+4>>2]=l+p*m;a=k[b+4>>2]|0;if((a|0)==(k[b+8>>2]|0)){xk(b,g);a=k[b+4>>2]|0}else{h=k[g+4>>2]|0;k[a>>2]=k[g>>2];k[a+4>>2]=h;a=(k[b+4>>2]|0)+8|0;k[b+4>>2]=a}if((a|0)==(k[b+8>>2]|0)){xk(b,g);a=k[b+4>>2]|0}else{h=k[g+4>>2]|0;k[a>>2]=k[g>>2];k[a+4>>2]=h;a=(k[b+4>>2]|0)+8|0;k[b+4>>2]=a}if((a|0)==(k[b+8>>2]|0)){xk(b,g);a=k[b+4>>2]|0}else{h=k[g+4>>2]|0;k[a>>2]=k[g>>2];k[a+4>>2]=h;a=(k[b+4>>2]|0)+8|0;k[b+4>>2]=a}if((a|0)==(k[b+8>>2]|0))xk(b,g);else{w=k[g+4>>2]|0;h=a;k[h>>2]=k[g>>2];k[h+4>>2]=w;k[b+4>>2]=(k[b+4>>2]|0)+8}a=k[c+4>>2]|0;h=(a|0)==(k[c+8>>2]|0);do if(q*n-u*p>0.0){if(h){xk(c,v+32|0);a=k[c+4>>2]|0}else{w=k[v+32+4>>2]|0;k[a>>2]=k[v+32>>2];k[a+4>>2]=w;a=(k[c+4>>2]|0)+8|0;k[c+4>>2]=a}p=-+o[f+4>>2];o[v+24>>2]=-+o[f>>2];o[v+24+4>>2]=p;if(a>>>0<(k[c+8>>2]|0)>>>0){w=k[v+24+4>>2]|0;k[a>>2]=k[v+24>>2];k[a+4>>2]=w;a=(k[c+4>>2]|0)+8|0;k[c+4>>2]=a}else{cea(c,v+24|0);a=k[c+4>>2]|0}if((a|0)==(k[c+8>>2]|0)){xk(c,v+32|0);a=k[c+4>>2]|0}else{w=k[v+32+4>>2]|0;k[a>>2]=k[v+32>>2];k[a+4>>2]=w;a=(k[c+4>>2]|0)+8|0;k[c+4>>2]=a}o[v+16>>2]=q*(i/s);o[v+16+4>>2]=-(u*(i/s));if(a>>>0<(k[c+8>>2]|0)>>>0){g=k[v+16+4>>2]|0;w=a;k[w>>2]=k[v+16>>2];k[w+4>>2]=g;k[c+4>>2]=(k[c+4>>2]|0)+8;break}else{cea(c,v+16|0);break}}else{if(h){xk(c,f);a=k[c+4>>2]|0}else{w=k[f+4>>2]|0;k[a>>2]=k[f>>2];k[a+4>>2]=w;a=(k[c+4>>2]|0)+8|0;k[c+4>>2]=a}o[v+8>>2]=-(j+n*m);o[v+8+4>>2]=-(l+p*m);if(a>>>0<(k[c+8>>2]|0)>>>0){w=k[v+8+4>>2]|0;k[a>>2]=k[v+8>>2];k[a+4>>2]=w;a=(k[c+4>>2]|0)+8|0;k[c+4>>2]=a}else{cea(c,v+8|0);a=k[c+4>>2]|0}if((a|0)==(k[c+8>>2]|0)){xk(c,v+48|0);a=k[c+4>>2]|0}else{w=k[v+48+4>>2]|0;k[a>>2]=k[v+48>>2];k[a+4>>2]=w;a=(k[c+4>>2]|0)+8|0;k[c+4>>2]=a}o[v>>2]=-(j+n*m);o[v+4>>2]=-(l+p*m);if(a>>>0<(k[c+8>>2]|0)>>>0){g=k[v+4>>2]|0;w=a;k[w>>2]=k[v>>2];k[w+4>>2]=g;k[c+4>>2]=(k[c+4>>2]|0)+8;break}else{cea(c,v);break}}while(0);o[d>>2]=u;o[d+4>>2]=q;o[e>>2]=s;w=k[v+48+4>>2]|0;k[f>>2]=k[v+48>>2];k[f+4>>2]=w;r=v;return}function hea(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;f=+f;g=g|0;var h=0,j=0,l=0,m=0.0,n=0,p=0.0,q=0,s=0,u=0,v=0.0;u=r;r=r+64|0;if(!(i[621264]|0))if(Ce(621264)|0){k[157850]=0;k[157851]=0;k[157852]=0;pd(621264)}l=k[157850]|0;h=k[157851]|0;if((h|0)!=(l|0)){k[157851]=h+(~((h+-8-l|0)>>>3)<<3);h=h+(~((h+-8-l|0)>>>3)<<3)|0}if((k[157852]|0)-l>>3>>>0>>0){h=h-l|0;if(!d)j=0;else j=kBb(d<<3)|0;q=j+(h>>3<<3)|0;ABb(q+(0-(h>>3)<<3)|0,l|0,h|0)|0;k[157850]=q+(0-(h>>3)<<3);k[157851]=q;k[157852]=j+(d<<3);if(l|0)CAb(l)}if(!(i[621272]|0))if(Ce(621272)|0){k[157853]=0;k[157854]=0;k[157855]=0;pd(621272)}l=k[157853]|0;h=k[157854]|0;if((h|0)!=(l|0)){k[157854]=h+(~((h+-8-l|0)>>>3)<<3);h=h+(~((h+-8-l|0)>>>3)<<3)|0}if((k[157855]|0)-l>>3>>>0>>0){h=h-l|0;if(!d)j=0;else j=kBb(d<<3)|0;q=j+(h>>3<<3)|0;ABb(q+(0-(h>>3)<<3)|0,l|0,h|0)|0;k[157853]=q+(0-(h>>3)<<3);k[157854]=q;k[157855]=j+(d<<3);if(l|0)CAb(l)}p=g?e-f*.30000001192092896:e;m=+o[b>>2];if(m==+o[b+(c+-2<<2)>>2]){e=+o[b+4>>2];q=e==+o[b+(c+-1<<2)>>2];o[u+32>>2]=0.0;o[u+32+4>>2]=0.0;h=(o[t>>2]=e,k[t>>2]|0);if(q){e=e-+o[b+(c+-3<<2)>>2];o[u+16>>2]=m-+o[b+(c+-4<<2)>>2];o[u+16+4>>2]=e;n=u+32|0;d=u+32+4|0;q=1;j=u+16|0}else{l=u+32+4|0;j=u+32|0;s=24}}else{o[u+32>>2]=0.0;o[u+32+4>>2]=0.0;e=+o[b+4>>2];h=(o[t>>2]=e,k[t>>2]|0);l=u+32+4|0;j=u+32|0;s=24}if((s|0)==24){e=+o[b+12>>2]-e;o[u+24>>2]=+o[b+8>>2]-m;o[u+24+4>>2]=e;n=j;d=l;q=0;j=u+24|0}l=j;s=k[l+4>>2]|0;k[u+32>>2]=k[l>>2];k[u+32+4>>2]=s;e=+o[n>>2];v=+o[d>>2];v=+X(+(e*e+v*v));o[u+48>>2]=v;e=p/v*+o[n>>2];o[u+40>>2]=-(p/v*+o[d>>2]);o[u+40+4>>2]=e;o[u>>2]=m;k[u+4>>2]=h;h=k[u>>2]|0;s=k[u+4>>2]|0;k[u+8>>2]=h;k[u+8+4>>2]=s;if(c>>>0>3){j=3;l=0;do{h=l;l=l+2|0;s=k[b+(j<<2)>>2]|0;k[u>>2]=k[b+(l<<2)>>2];k[u+4>>2]=s;tj[k[(k[a>>2]|0)+20>>2]&3](a,631400,631412,u+32|0,u+48|0,u+40|0,u+8|0,u,p);j=h+5|0;h=k[u>>2]|0;s=k[u+4>>2]|0;k[u+8>>2]=h;k[u+8+4>>2]=s}while(j>>>0>>0)}if(q){m=+o[b+12>>2];e=+o[b+8>>2]}else{m=+o[u+4>>2]+ +o[d>>2];e=(k[t>>2]=h,+o[t>>2])+ +o[n>>2]}o[u>>2]=e;o[u+4>>2]=m;tj[k[(k[a>>2]|0)+20>>2]&3](a,631400,631412,u+32|0,u+48|0,u+40|0,u+8|0,u,p);h=(k[157854]|0)-(k[157853]|0)>>3;k[a+12>>2]=h;if(g){Di[k[(k[a>>2]|0)+8>>2]&511](a,q);h=k[a+12>>2]|0;n=(k[a+20>>2]|0)==5?2:0}else n=0;l=h+n+(k[a+16>>2]|0)|0;j=mBb(l>>>0>536870911?-1:l<<3)|0;if(l|0){d=j;do{o[d>>2]=0.0;o[d+4>>2]=0.0;d=d+8|0}while((d|0)!=(j+(l<<3)|0))}k[a+4>>2]=j;a:do if(!h)h=0;else{h=0;while(1){b=k[157850]|0;l=k[157853]|0;v=+o[b+(h<<3)+4>>2]+ +o[l+(h<<3)+4>>2];o[j+(h<<3)>>2]=+o[b+(h<<3)>>2]+ +o[l+(h<<3)>>2];o[j+(h<<3)+4>>2]=v;l=h+1|0;h=k[a+12>>2]|0;if(l>>>0>=h>>>0)break a;j=k[a+4>>2]|0;h=l}}while(0);if(g){k[a+8>>2]=(k[a+4>>2]|0)+(h<<3)+(n<<3);k[a+28>>2]=h+n;Ki[k[(k[a>>2]|0)+12>>2]&3](a,631412,f,q)}if(!n){r=u;return}c=k[a+12>>2]|0;b=k[a+4>>2]|0;g=k[b+(c+-1<<3)+4>>2]|0;k[b+(c<<3)>>2]=k[b+(c+-1<<3)>>2];k[b+(c<<3)+4>>2]=g;c=k[a+4>>2]|0;b=c+(k[a+28>>2]<<3)|0;g=k[b+4>>2]|0;a=c+((k[a+12>>2]|0)+1<<3)|0;k[a>>2]=k[b>>2];k[a+4>>2]=g;r=u;return}function iea(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(!(k[a+8>>2]|0))e=k[a+12>>2]|0;else e=(k[a+16>>2]|0)+(k[a+28>>2]|0)|0;if(!(i[a+24>>0]|0))c=0;else{b=(e>>>2)*6|0;c=mBb(b>>>0>2147483647?-1:b<<1)|0;if(b>>>0>5){d=0;do{g=d<<2;f=d*6|0;j[c+(f<<1)>>1]=g;j[c+((f|1)<<1)>>1]=g|1;j[c+(f+2<<1)>>1]=g|2;j[c+(f+3<<1)>>1]=g;j[c+(f+4<<1)>>1]=g|2;j[c+(f+5<<1)>>1]=g|3;d=d+1|0}while(d>>>0<((b>>>0)/6|0)>>>0)}}lda(631144);gda(631144,xda(631144)|0);if(!(k[a+8>>2]|0)){b=0;d=1}else{b=mBb(e>>>0>1073741823?-1:e<<2)|0;if(e|0)vBb(b|0,0,e<<2|0)|0;d=k[a+28>>2]|0;vBb(b|0,-1,d<<2|0)|0;Di[k[(k[a>>2]|0)+16>>2]&511](a,b+(d<<2)|0);Ti[k[164011]&63](2,4,5121,1,0,b);d=5}eda(631144,d);Ti[k[164011]&63](0,2,5126,0,0,k[a+4>>2]|0);d=k[a+20>>2]|0;if(!(i[a+24>>0]|0))mda(631144,d,0,e);else nda(631144,d,(e>>>2)*6|0,5123,c);if(!((b|0)==0|(k[a+8>>2]|0)==0))oBb(b);if(!c)return;oBb(c);return}function jea(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;k[a>>2]=24028;k[a+8>>2]=24060;do if((k[157856]|0)==(a|0)){f=k[157857]|0;if(!f){Si[k[164127]&1023](0);k[157856]=0;break}if((f|0)!=(a|0)){Si[k[164127]&1023](k[f+48>>2]|0);k[157856]=f;c=k[f+144>>2]|0;b=k[f+140>>2]|0;if((c|0)!=(b|0)){e=0;do{d=k[b+(e<<2)>>2]|0;e=e+1|0;if(d){zda(631144,d,e,0);c=k[f+144>>2]|0;b=k[f+140>>2]|0}}while(e>>>0>2>>>0)}yda(631144,0)}}while(0);b=k[a+152>>2]|0;if((b|0)!=(a+156|0)){c=b;while(1){b=k[c+28>>2]|0;Si[k[(k[b>>2]|0)+12>>2]&1023](b);b=k[c+4>>2]|0;if(!b)while(1){b=k[c+8>>2]|0;if((k[b>>2]|0)==(c|0))break;else c=b}else while(1){c=k[b>>2]|0;if(!c)break;else b=c}if((b|0)==(a+156|0))break;else c=b}}kea(a+152|0,k[a+156>>2]|0);k[a+160>>2]=0;k[a+152>>2]=a+156;k[a+156>>2]=0;Si[k[(k[a>>2]|0)+20>>2]&1023](a);kea(a+152|0,k[a+156>>2]|0);b=k[a+140>>2]|0;if(b|0){c=k[a+144>>2]|0;if((c|0)!=(b|0))k[a+144>>2]=c+(~((c+-4-b|0)>>>2)<<2);CAb(b)}lea(a+128|0,k[a+132>>2]|0);mea(a+116|0,k[a+120>>2]|0);lea(a+104|0,k[a+108>>2]|0);nea(a+36|0,k[a+40>>2]|0);_qb(a+24|0);_qb(a+12|0);Oga(a+8|0);return}function kea(a,b){a=a|0;b=b|0;if(!b)return;else{kea(a,k[b>>2]|0);kea(a,k[b+4>>2]|0);_qb(b+16|0);CAb(b);return}}function lea(a,b){a=a|0;b=b|0;if(!b)return;else{lea(a,k[b>>2]|0);lea(a,k[b+4>>2]|0);_qb(b+16|0);CAb(b);return}}function mea(a,b){a=a|0;b=b|0;if(!b)return;else{mea(a,k[b>>2]|0);mea(a,k[b+4>>2]|0);_qb(b+44|0);_qb(b+16|0);CAb(b);return}}function nea(a,b){a=a|0;b=b|0;if(!b)return;else{nea(a,k[b>>2]|0);nea(a,k[b+4>>2]|0);_qb(b+20|0);CAb(b);return}}function oea(a){a=a|0;jea(a);CAb(a);return}function pea(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;g=r;r=r+64|0;k[a+164>>2]=-1;k[a+168>>2]=0;k[a+168+4>>2]=0;k[a+168+8>>2]=0;k[a+168+12>>2]=0;o[a+184>>2]=-1.0;Yua(a+252|0,A,A);Yua(a+188|0,A,A);k[a+316>>2]=0;k[a+316+4>>2]=0;k[a+316+8>>2]=0;b=k[a+140>>2]|0;c=k[a+144>>2]|0;if((c|0)!=(b|0))k[a+144>>2]=c+(~((c+-4-b|0)>>>2)<<2);k[g+40>>2]=b;f=(Hda(631144)|0)+-1|0;k[g+32>>2]=0;k[g+44>>2]=k[g+40>>2];qea(a+140|0,g+44|0,f,g+32|0)|0;k[g+44>>2]=0;f=g+44+4|0;k[f>>2]=0;k[g+44+8>>2]=0;e=i[1248948]|0?631460:631436;b=i[a+12>>0]|0;if(!(b&1))c=(b&255)>>>1;else c=k[a+16>>2]|0;b=i[a+24>>0]|0;if(!(b&1))d=(b&255)>>>1;else d=k[a+28>>2]|0;b=rea(a,0,(c|0)==0?e:a+12|0)|0;k[g+16>>2]=b;c=k[f>>2]|0;if(c>>>0<(k[g+44+8>>2]|0)>>>0){k[c>>2]=b;k[f>>2]=c+4}else jy(g+44|0,g+16|0);b=rea(a,1,((d|0)==0?e:a+12|0)+12|0)|0;k[g+12>>2]=b;c=k[f>>2]|0;if(c>>>0<(k[g+44+8>>2]|0)>>>0){k[c>>2]=b;k[f>>2]=c+4}else jy(g+44|0,g+12|0);c=oj[k[164434]&7]()|0;k[a+48>>2]=c;b=k[g+44>>2]|0;d=k[f>>2]|0;if(!c){if((b|0)==(d|0)){a=xf(16)|0;os(a,435888,g);Jc(a|0,96,27)}do{Si[k[164154]&1023](k[b>>2]|0);b=b+4|0}while((b|0)!=(d|0));a=xf(16)|0;os(a,435888,g);Jc(a|0,96,27)}a:do if((b|0)!=(d|0))while(1){Di[k[164292]&511](c,k[b>>2]|0);b=b+4|0;if((b|0)==(d|0))break a;c=k[a+48>>2]|0}while(0);b=k[157924]|0;if(b|0)kj[k[164573]&255](k[a+48>>2]|0,0,b);b=k[157925]|0;if(b|0)kj[k[164573]&255](k[a+48>>2]|0,1,b);b=k[157926]|0;if(b|0)kj[k[164573]&255](k[a+48>>2]|0,2,b);b=k[157927]|0;if(b|0)kj[k[164573]&255](k[a+48>>2]|0,3,b);Si[k[164202]&1023](k[a+48>>2]|0);b=k[g+44>>2]|0;c=k[f>>2]|0;if((b|0)!=(c|0))do{Si[k[164154]&1023](k[b>>2]|0);b=b+4|0}while((b|0)!=(c|0));kj[k[164642]&255](k[a+48>>2]|0,35714,g+36|0);if(!(k[g+36>>2]|0)){sea(g+20|0,a);Si[k[163766]&1023](k[a+48>>2]|0);k[a+48>>2]=0;a=xf(16)|0;k[g+8>>2]=(i[g+20>>0]&1)==0?g+20+1|0:k[g+20+8>>2]|0;os(a,435925,g+8|0);Jc(a|0,96,27)}tea(a);b=k[157924]|0;if(!b)k[a+88>>2]=-1;else{e=gj[k[163978]&511](k[a+48>>2]|0,b)|0;k[a+88>>2]=e}b=k[157925]|0;if(!b)k[a+92>>2]=-1;else{e=gj[k[163978]&511](k[a+48>>2]|0,b)|0;k[a+92>>2]=e}b=k[157926]|0;if(!b)k[a+96>>2]=-1;else{e=gj[k[163978]&511](k[a+48>>2]|0,b)|0;k[a+96>>2]=e}b=k[157927]|0;if(!b)k[a+100>>2]=-1;else{e=gj[k[163978]&511](k[a+48>>2]|0,b)|0;k[a+100>>2]=e}if((k[157856]|0)==(a|0)){k[157856]=0;Si[k[164127]&1023](k[a+48>>2]|0);k[157856]=a;c=k[a+144>>2]|0;b=k[a+140>>2]|0;if((c|0)!=(b|0)){e=0;do{d=k[b+(e<<2)>>2]|0;e=e+1|0;if(d){zda(631144,d,e,0);c=k[a+144>>2]|0;b=k[a+140>>2]|0}}while(e>>>0>2>>>0)}yda(631144,0);wea(a)}b=k[g+44>>2]|0;if(!b){r=g;return 1}c=k[f>>2]|0;if((c|0)!=(b|0))k[f>>2]=c+(~((c+-4-b|0)>>>2)<<2);CAb(b);r=g;return 1}function qea(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0;m=k[a>>2]|0;b=m+((k[b>>2]|0)-m>>2<<2)|0;if(!c){a=b;return a|0}e=k[a+8>>2]|0;j=k[a+4>>2]|0;if(e-j>>2>>>0>>0){if(((j-m>>2)+c|0)>>>0>1073741823)xzb(a);if(e-m>>2>>>0<536870911){e=e-m>>1>>>0<((j-m>>2)+c|0)>>>0?(j-m>>2)+c|0:e-m>>1;if(!e){j=0;i=0;e=b-m>>2;l=b}else{f=b-m>>2;g=b;h=20}}else{e=1073741823;f=b-m>>2;g=b;h=20}if((h|0)==20){j=e;i=kBb(e<<2)|0;e=f;l=g}h=i+(e<<2)|0;f=i+(j<<2)|0;e=c;g=h;while(1){k[g>>2]=k[d>>2];e=e+-1|0;if(!e)break;else g=g+4|0}j=l-m|0;ABb(h+(0-(j>>2)<<2)|0,m|0,j|0)|0;l=(k[a+4>>2]|0)-l|0;ABb(h+(c<<2)|0,b|0,l|0)|0;k[a>>2]=h+(0-(j>>2)<<2);k[a+4>>2]=h+(c<<2)+(l>>2<<2);k[a+8>>2]=f;if(!m){a=h;return a|0}CAb(m);a=h;return a|0}if(j-b>>2>>>0>>0){e=c-(j-b>>2)|0;f=j;while(1){k[f>>2]=k[d>>2];e=e+-1|0;if(!e)break;else f=f+4|0}k[a+4>>2]=j+(c-(j-b>>2)<<2);if(!(j-b>>2)){a=b;return a|0}else{e=j-b>>2;f=j+(c-(j-b>>2)<<2)|0}}else{e=c;f=j}g=f-(b+(c<<2))|0;if((b+(g>>2<<2)|0)>>>0>>0){h=f;i=b+(g>>2<<2)|0;while(1){k[h>>2]=k[i>>2];i=i+4|0;if(i>>>0>=j>>>0)break;else h=h+4|0}k[a+4>>2]=f+(((j+(0-(g>>2)<<2)+~b|0)>>>2)+1<<2)}BBb(f+(0-(g>>2)<<2)|0,b|0,g|0)|0;if(b>>>0<=d>>>0)d=(k[a+4>>2]|0)>>>0>d>>>0?d+(c<<2)|0:d;f=b;while(1){k[f>>2]=k[d>>2];e=e+-1|0;if(!e)break;else f=f+4|0}return b|0}function rea(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0;l=r;r=r+64|0;if(b>>>0>1)h=3;else{d=k[631592+(b<<2)>>2]|0;if(!d)h=3;else j=d}if((h|0)==3)j=1279174;switch(b|0){case 0:{d=35633;break}case 1:{d=35632;break}default:{j=xf(16)|0;os(j,435714,l);Jc(j|0,96,27)}}g=Gi[k[163741]&2047](d)|0;if(!g){a=(oj[k[164640]&7]()|0)==1280;d=xf(16)|0;if(a){k[l+8>>2]=j;k[l+8+4>>2]=j;os(d,435764,l+8|0);Jc(d|0,96,27)}else{k[l+16>>2]=j;os(d,435822,l+16|0);Jc(d|0,96,27)}}d=i[c>>0]|0;k[l+44>>2]=(d&1)==0?c+1|0:k[c+8>>2]|0;k[l+40>>2]=(d&1)==0?(d&255)>>>1:k[c+4>>2]|0;vj[k[164608]&127](g,1,l+44|0,l+40|0);Si[k[163715]&1023](g);kj[k[164059]&255](g,35716,l+36|0);d=k[l+36>>2]|0;if((d|0)>0){f=mBb(d)|0;vj[k[163864]&127](g,d,0,f);d=k[a+40>>2]|0;do if(!d){k[l+48>>2]=a+40;c=a+40|0;d=a+40|0;h=22}else{e=d;while(1){d=k[e+16>>2]|0;if((d|0)>(b|0)){d=k[e>>2]|0;if(!d){c=e;d=e;h=15;break}}else{if((d|0)>=(b|0)){d=e;h=21;break}c=e+4|0;d=k[c>>2]|0;if(!d){d=e;h=19;break}}e=d}if((h|0)==15){k[l+48>>2]=d;h=22;break}else if((h|0)==19){k[l+48>>2]=d;h=22;break}else if((h|0)==21){k[l+48>>2]=d;if(!d){c=l+48|0;h=22;break}else break}}while(0);if((h|0)==22){e=kBb(32)|0;k[e+16>>2]=b;k[e+20>>2]=0;k[e+20+4>>2]=0;k[e+20+8>>2]=0;k[e>>2]=0;k[e+4>>2]=0;k[e+8>>2]=d;k[c>>2]=e;d=k[k[a+36>>2]>>2]|0;if(!d)d=e;else{k[a+36>>2]=d;d=k[c>>2]|0}Qj(k[a+40>>2]|0,d);k[a+44>>2]=(k[a+44>>2]|0)+1;d=e}drb(d+20|0,f)|0;oBb(f)}kj[k[164059]&255](g,35713,l+32|0);if(k[l+32>>2]|0){r=l;return g|0}Si[k[164154]&1023](g);f=xf(16)|0;d=k[a+40>>2]|0;do if(!d){k[l+48>>2]=a+40;e=a+40|0;d=a+40|0;h=37}else{c=d;while(1){d=k[c+16>>2]|0;if((d|0)>(b|0)){d=k[c>>2]|0;if(!d){d=c;h=30;break}}else{if((d|0)>=(b|0)){h=36;break}e=c+4|0;d=k[e>>2]|0;if(!d){h=34;break}}c=d}if((h|0)==30){k[l+48>>2]=c;e=d;d=c;h=37;break}else if((h|0)==34){k[l+48>>2]=c;d=c;h=37;break}else if((h|0)==36){k[l+48>>2]=c;if(!c){e=l+48|0;d=c;h=37;break}else break}}while(0);if((h|0)==37){c=kBb(32)|0;k[c+16>>2]=b;k[c+20>>2]=0;k[c+20+4>>2]=0;k[c+20+8>>2]=0;k[c>>2]=0;k[c+4>>2]=0;k[c+8>>2]=d;k[e>>2]=c;d=k[k[a+36>>2]>>2]|0;if(!d)d=c;else{k[a+36>>2]=d;d=k[e>>2]|0}Qj(k[a+40>>2]|0,d);k[a+44>>2]=(k[a+44>>2]|0)+1}d=c+20|0;if(!(i[d>>0]&1)){a=d+1|0;k[l+24>>2]=j;j=l+24+4|0;k[j>>2]=a;os(f,435854,l+24|0);Jc(f|0,96,27)}else{a=k[c+28>>2]|0;k[l+24>>2]=j;j=l+24+4|0;k[j>>2]=a;os(f,435854,l+24|0);Jc(f|0,96,27)}return 0}function sea(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=r;r=r+32|0;kj[k[164642]&255](k[b+48>>2]|0,35716,d+16|0);c=k[d+16>>2]|0;if(!c){Wqb(a,1279174,0);r=d;return}else{e=mBb((c|0)>-1?c:-1)|0;vBb(e|0,0,c|0)|0;vj[k[164130]&127](k[b+48>>2]|0,c,d+12|0,e);i[e+(k[d+12>>2]|0)>>0]=0;Wqb(d,e,Fnb(e)|0);oBb(e);k[a>>2]=k[d>>2];k[a+4>>2]=k[d+4>>2];k[a+8>>2]=k[d+8>>2];k[d>>2]=0;k[d+4>>2]=0;k[d+8>>2]=0;_qb(d);r=d;return}}function tea(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0;n=r;r=r+320|0;b=a+52|0;c=b+36|0;do{k[b>>2]=-1;b=b+4|0}while((b|0)<(c|0));mea(a+116|0,k[a+120>>2]|0);k[a+124>>2]=0;k[a+116>>2]=a+120;k[a+120>>2]=0;k[n+48>>2]=0;Di[k[164656]&511](35725,n+48|0);Si[k[164127]&1023](k[a+48>>2]|0);kj[k[164642]&255](k[a+48>>2]|0,35718,n+44|0);if((k[n+44>>2]|0)<=0){a=k[n+48>>2]|0;m=k[164127]|0;Si[m&1023](a);r=n;return}l=n+12+16|0;m=0;do{k[n+40>>2]=0;k[n+12>>2]=0;k[n+12+4>>2]=0;k[n+12+8>>2]=0;k[n+12+12>>2]=0;k[n+12+16>>2]=0;k[n+12+20>>2]=0;k[n+12+24>>2]=0;cj[k[164720]&7](k[a+48>>2]|0,m,256,n+40|0,n+12+4|0,n+12+8|0,n+56|0);Wqb(n,n+56|0,k[n+40>>2]|0);if(!(i[l>>0]&1)){i[l+1>>0]=0;i[l>>0]=0}else{i[k[n+12+24>>2]>>0]=0;k[n+12+20>>2]=0}crb(l,0);k[l>>2]=k[n>>2];k[l+4>>2]=k[n+4>>2];k[l+8>>2]=k[n+8>>2];k[n>>2]=0;k[n+4>>2]=0;k[n+8>>2]=0;_qb(n);c=gj[k[164539]&511](k[a+48>>2]|0,(i[l>>0]&1)==0?l+1|0:k[n+12+24>>2]|0)|0;k[n+12>>2]=c;b=k[n+12+8>>2]|0;a:do if((b|0)<35681){b:do if((b|0)<35671){if((b|0)>=35666)switch(b|0){case 35666:{j=8;break a}case 35669:case 35668:case 35667:{b=1;j=11;break a}case 35670:break b;default:{j=10;break a}}if((b|0)<35664)switch(b|0){case 5126:{j=8;break a}case 5124:{b=1;j=11;break a}default:{j=10;break a}}else switch(b|0){case 35665:case 35664:{j=8;break a}default:{j=10;break a}}}else switch(b|0){case 35676:case 35675:case 35674:{j=8;break a}case 35680:case 35679:case 35678:case 35677:{j=12;break a}case 35673:case 35672:case 35671:break;default:{j=10;break a}}while(0);b=2;j=11}else switch(b|0){case 35690:case 35689:case 35688:case 35687:case 35686:case 35685:{j=8;break}case 36877:case 36876:case 36293:case 36292:case 36289:case 35682:case 35684:case 35683:case 37131:case 37128:case 36291:case 36288:case 35681:{j=12;break}default:j=10}while(0);if((j|0)==8){b=0;j=11}else if((j|0)==10){b=4;j=11}else if((j|0)==12){j=0;k[n+12+12>>2]=3;Di[k[164257]&511](c,0)}if((j|0)==11){j=0;k[n+12+12>>2]=b}b=i[l>>0]|0;f=(b&1)==0?(b&255)>>>1:k[n+12+20>>2]|0;c:do if(f>>>0>3){g=(b&1)==0?l+1|0:k[n+12+24>>2]|0;if((f|0)>=3)if((g+f+-2|0)!=(g|0)){c=g;d:while(1){if((i[c>>0]|0)==91){d=c;e=435963;do{e=e+1|0;if((e|0)==435966)break d;d=d+1|0}while((i[d>>0]|0)==(i[e>>0]|0))}c=c+1|0;if((c|0)==(g+f+-2|0))break c}if((c-g|0)!=-1&(c|0)!=(g+f|0)&(c-g|0)==(f+-3|0)){mrb(l,c-g|0,-1)|0;b=i[l>>0]|0}}}while(0);h=(b&1)==0?l+1|0:k[n+12+24>>2]|0;b=i[h>>0]|0;if(!(b<<24>>24))c=5381;else{d=h;c=5381;do{d=d+1|0;c=(c*33|0)+(b<<24>>24)|0;b=i[d>>0]|0}while(b<<24>>24!=0)}g=0;while(1){f=((g+c|0)>>>0)%18|0;if(!(i[631712+(f*12|0)+8>>0]|0)){j=32;break}d=k[631712+(f*12|0)>>2]|0;e=i[d>>0]|0;e:do if(!(e<<24>>24)){b=h;j=29}else{b=h;while(1){o=i[b>>0]|0;if(!(o<<24>>24?e<<24>>24==o<<24>>24:0))break e;d=d+1|0;b=b+1|0;e=i[d>>0]|0;if(!(e<<24>>24)){j=29;break}}}while(0);if((j|0)==29){j=0;if(!(i[b>>0]|0)){j=31;break}}g=g+1|0;if(g>>>0>=18){j=32;break}}if((j|0)==31){b=k[n+12>>2]|0;k[a+52+(k[631712+(f*12|0)+4>>2]<<2)>>2]=b}else if((j|0)==32)b=k[n+12>>2]|0;if((b|0)!=-1){o=uea(a+116|0,l)|0;k[o>>2]=k[n+12>>2];k[o+4>>2]=k[n+12+4>>2];k[o+8>>2]=k[n+12+8>>2];k[o+12>>2]=k[n+12+12>>2];$qb(o+16|0,l)|0}_qb(l);m=m+1|0}while((m|0)<(k[n+44>>2]|0));o=k[n+48>>2]|0;a=k[164127]|0;Si[a&1023](o);r=n;return}function uea(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=r;r=r+16|0;d=vea(a,f,b)|0;c=k[d>>2]|0;if(c|0){a=c;a=a+28|0;r=f;return a|0}e=kBb(56)|0;Vqb(e+16|0,b);k[e+28>>2]=0;k[e+28+4>>2]=0;k[e+28+8>>2]=0;k[e+28+12>>2]=0;k[e+28+16>>2]=0;k[e+28+20>>2]=0;k[e+28+24>>2]=0;c=k[f>>2]|0;k[e>>2]=0;k[e+4>>2]=0;k[e+8>>2]=c;k[d>>2]=e;c=k[k[a>>2]>>2]|0;if(!c)c=e;else{k[a>>2]=c;c=k[d>>2]|0}Qj(k[a+4>>2]|0,c);k[a+8>>2]=(k[a+8>>2]|0)+1;a=e;a=a+28|0;r=f;return a|0}function vea(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=k[a+4>>2]|0;if(!d){k[b>>2]=a+4;b=a+4|0;return b|0}f=i[c>>0]|0;g=(f&1)==0?(f&255)>>>1:k[c+4>>2]|0;f=(f&1)==0?c+1|0:k[c+8>>2]|0;while(1){c=d+16|0;e=i[c>>0]|0;a=(e&1)==0?(e&255)>>>1:k[d+20>>2]|0;c=(e&1)==0?c+1|0:k[d+24>>2]|0;e=Emb(f,c,a>>>0>>0?a:g)|0;if((((e|0)==0?(g>>>0>>0?-2147483648:0):e)|0)<0){a=k[d>>2]|0;if(!a){a=d;c=5;break}else d=a}else{e=Emb(c,f,g>>>0>>0?g:a)|0;if((((e|0)==0?(a>>>0>>0?-2147483648:0):e)|0)>=0){c=10;break}e=d+4|0;a=k[e>>2]|0;if(!a){c=9;break}else d=a}}if((c|0)==5){k[b>>2]=d;b=a;return b|0}else if((c|0)==9){k[b>>2]=d;b=e;return b|0}else if((c|0)==10){k[b>>2]=d;return b|0}return 0}function wea(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0;j=r;r=r+112|0;xea(a);if(!(i[1248948]|0)){r=j;return}yea(a,+sda(631144));f=(k[157787]|0)+-64|0;g=(k[157790]|0)+-64|0;h=k[157856]|0;if((h|0)!=(a|0)){Si[k[164127]&1023](k[a+48>>2]|0);k[157856]=a}d=Xua(f)|0;if(!(Emb(d,Xua(a+188|0)|0,64)|0))b=0;else{b=k[a+52>>2]|0;if((b|0)>-1){d=Xua(f)|0;vj[k[164718]&127](b,1,0,d)}b=k[a+64>>2]|0;if((b|0)>-1){dva(j,f);iva(j+40|0,j);d=hva(j+40|0)|0;vj[k[164687]&127](b,1,0,d)}b=a+188|0;c=f;d=b+64|0;do{k[b>>2]=k[c>>2];b=b+4|0;c=c+4|0}while((b|0)<(d|0));b=1}d=Xua(g)|0;if(!(Emb(d,Xua(a+252|0)|0,64)|0)){if(b)e=15}else{b=k[a+56>>2]|0;if((b|0)>-1){e=Xua(g)|0;vj[k[164718]&127](b,1,0,e)}b=a+252|0;c=g;d=b+64|0;do{k[b>>2]=k[c>>2];b=b+4|0;c=c+4|0}while((b|0)<(d|0));e=15}if((e|0)==15){b=k[a+60>>2]|0;if((b|0)>-1){Vua(j+40|0,g,f);g=Xua(j+40|0)|0;vj[k[164718]&127](b,1,0,g)}}if(h|0){if((k[157856]|0)!=(h|0)){Si[k[164127]&1023](k[h+48>>2]|0);k[157856]=h}c=k[h+144>>2]|0;b=k[h+140>>2]|0;if((c|0)!=(b|0)){e=0;do{d=k[b+(e<<2)>>2]|0;e=e+1|0;if(d){zda(631144,d,e,0);c=k[h+144>>2]|0;b=k[h+140>>2]|0}}while(e>>>0>2>>>0)}yda(631144,0);r=j;return}a=k[157857]|0;b=k[157856]|0;if(!a){if(b|0)Si[k[164127]&1023](0);k[157856]=0;r=j;return}if((b|0)==(a|0)){r=j;return}Si[k[164127]&1023](k[a+48>>2]|0);k[157856]=a;c=k[a+144>>2]|0;b=k[a+140>>2]|0;if((c|0)!=(b|0)){e=0;do{d=k[b+(e<<2)>>2]|0;e=e+1|0;if(d){zda(631144,d,e,0);c=k[a+144>>2]|0;b=k[a+140>>2]|0}}while(e>>>0>2>>>0)}yda(631144,0);r=j;return}function xea(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0.0;g=r;r=r+32|0;qda(g+16|0,631144);if((k[g+16>>2]|0)==(k[a+168>>2]|0))if((k[g+16+4>>2]|0)==(k[a+172>>2]|0))if((k[g+16+8>>2]|0)==(k[a+176>>2]|0))if((k[g+16+12>>2]|0)==(k[a+180>>2]|0))if((k[a+164>>2]|0)==(k[157547]|0)){r=g;return}o[g>>2]=+(k[g+16+8>>2]|0);h=+(k[g+16+12>>2]|0);o[g+4>>2]=h;o[g+8>>2]=0.0;o[g+12>>2]=0.0;b=(k[157547]|0)==0;o[g+8>>2]=b?-1.0:1.0;o[g+12>>2]=b?h:0.0;b=k[a+72>>2]|0;do if((b|0)>-1){f=k[157856]|0;if((f|0)!=(a|0)){Si[k[164127]&1023](k[a+48>>2]|0);k[157856]=a}kj[k[164719]&255](b,1,g);if(f|0){if((k[157856]|0)!=(f|0)){Si[k[164127]&1023](k[f+48>>2]|0);k[157856]=f}c=k[f+144>>2]|0;b=k[f+140>>2]|0;if((c|0)!=(b|0)){e=0;do{d=k[b+(e<<2)>>2]|0;e=e+1|0;if(d){zda(631144,d,e,0);c=k[f+144>>2]|0;b=k[f+140>>2]|0}}while(e>>>0>2>>>0)}yda(631144,0);break}f=k[157857]|0;b=k[157856]|0;if(!f){if(b|0)Si[k[164127]&1023](0);k[157856]=0;break}if((b|0)!=(f|0)){Si[k[164127]&1023](k[f+48>>2]|0);k[157856]=f;c=k[f+144>>2]|0;b=k[f+140>>2]|0;if((c|0)!=(b|0)){e=0;do{d=k[b+(e<<2)>>2]|0;e=e+1|0;if(d){zda(631144,d,e,0);c=k[f+144>>2]|0;b=k[f+140>>2]|0}}while(e>>>0>2>>>0)}yda(631144,0)}}while(0);k[a+164>>2]=k[157547];k[a+168>>2]=k[g+16>>2];k[a+168+4>>2]=k[g+16+4>>2];k[a+168+8>>2]=k[g+16+8>>2];k[a+168+12>>2]=k[g+16+12>>2];r=g;return}function yea(a,b){a=a|0;b=+b;var c=0,d=0,e=0,f=0,g=0;if(+o[a+184>>2]==b)return;c=k[a+68>>2]|0;do if((c|0)>-1){g=k[157856]|0;if((g|0)!=(a|0)){Si[k[164127]&1023](k[a+48>>2]|0);k[157856]=a}Ai[k[164250]&31](c,b);if(g|0){if((k[157856]|0)!=(g|0)){Si[k[164127]&1023](k[g+48>>2]|0);k[157856]=g}d=k[g+144>>2]|0;c=k[g+140>>2]|0;if((d|0)!=(c|0)){f=0;do{e=k[c+(f<<2)>>2]|0;f=f+1|0;if(e){zda(631144,e,f,0);d=k[g+144>>2]|0;c=k[g+140>>2]|0}}while(f>>>0>2>>>0)}yda(631144,0);break}g=k[157857]|0;c=k[157856]|0;if(!g){if(c|0)Si[k[164127]&1023](0);k[157856]=0;break}if((c|0)!=(g|0)){Si[k[164127]&1023](k[g+48>>2]|0);k[157856]=g;d=k[g+144>>2]|0;c=k[g+140>>2]|0;if((d|0)!=(c|0)){f=0;do{e=k[c+(f<<2)>>2]|0;f=f+1|0;if(e){zda(631144,e,f,0);d=k[g+144>>2]|0;c=k[g+140>>2]|0}}while(f>>>0>2>>>0)}yda(631144,0)}}while(0);o[a+184>>2]=b;return}function zea(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;f=r;r=r+16|0;if((k[157856]|0)==(a|0))Si[k[164127]&1023](0);b=k[a+48>>2]|0;if(b|0){Si[k[163766]&1023](b);k[a+48>>2]=0}d=k[a+144>>2]|0;e=k[a+140>>2]|0;if((d|0)==(e|0))b=d;else{b=k[157883]|0;c=0;do{if(k[e+(c<<2)>>2]|0){g=b+(c<<2)|0;h=(k[g>>2]|0)+-1|0;k[g>>2]=(h|0)<0?0:h}c=c+1|0}while(c>>>0>2>>>0);b=e}if((d|0)!=(e|0))k[a+144>>2]=d+(~((d+-4-b|0)>>>2)<<2);b=(Hda(631144)|0)+-1|0;k[f>>2]=0;c=k[a+144>>2]|0;d=k[a+140>>2]|0;if(b>>>0>c-d>>2>>>0)cda(a+140|0,b-(c-d>>2)|0,f);else if(b>>>0>2>>>0)if((c|0)!=(d+(b<<2)|0))k[a+144>>2]=c+(~((c+-4-(d+(b<<2))|0)>>>2)<<2);lea(a+104|0,k[a+108>>2]|0);k[a+112>>2]=0;k[a+104>>2]=a+108;k[a+108>>2]=0;mea(a+116|0,k[a+120>>2]|0);k[a+124>>2]=0;k[a+116>>2]=a+120;k[a+120>>2]=0;b=a+52|0;c=b+36|0;do{k[b>>2]=-1;b=b+4|0}while((b|0)<(c|0));nea(a+36|0,k[a+40>>2]|0);k[a+44>>2]=0;k[a+36>>2]=a+40;k[a+40>>2]=0;r=f;return}function Aea(a){a=a|0;jea(a+-8|0);return}function Bea(a){a=a|0;jea(a+-8|0);CAb(a+-8|0);return}function Cea(a){a=a|0;pea(a+-8|0)|0;return 1}function Dea(a){a=a|0;zea(a+-8|0);return}function Eea(){var a=0,b=0,c=0,d=0,e=0;e=r;r=r+16|0;a=631436;b=a+48|0;do{k[a>>2]=0;a=a+4|0}while((a|0)<(b|0));a=631484;b=a+48|0;do{k[a>>2]=0;a=a+4|0}while((a|0)<(b|0));k[157883]=0;k[157884]=0;k[157885]=0;i[631552]=0;i[631564]=0;i[631576]=0;i[631588]=0;k[157898]=0;k[157899]=0;a=i[435967]|0;if(!(a<<24>>24))b=5381;else{c=435967;b=5381;do{c=c+1|0;b=(b*33|0)+(a<<24>>24)|0;a=i[c>>0]|0}while(a<<24>>24!=0)}a=b&3;if(!(i[631544+(a*12|0)+8>>0]|0)){b=a;a=631544+(a*12|0)+8|0;d=5}else{a=b+1&3;if(!(i[631544+(a*12|0)+8>>0]|0)){b=a;a=631544+(a*12|0)+8|0;d=5}else{a=b+2&3;if(!(i[631544+(a*12|0)+8>>0]|0)){b=a;a=631544+(a*12|0)+8|0;d=5}else{a=b+3&3;if(!(i[631544+(a*12|0)+8>>0]|0)){b=a;a=631544+(a*12|0)+8|0;d=5}}}}if((d|0)==5){i[a>>0]=1;k[631544+(b*12|0)>>2]=435967;k[631544+(b*12|0)+4>>2]=0}if(0>1){k[e>>2]=435967;k[e+4>>2]=0;Jpb(441170,e)|0}else k[157898]=435967;a=i[435974]|0;if(!(a<<24>>24))b=5381;else{c=435974;b=5381;do{c=c+1|0;b=(b*33|0)+(a<<24>>24)|0;a=i[c>>0]|0}while(a<<24>>24!=0)}a=b&3;if(!(i[631544+(a*12|0)+8>>0]|0)){b=a;a=631544+(a*12|0)+8|0;d=17}else{a=b+1&3;if(!(i[631544+(a*12|0)+8>>0]|0)){b=a;a=631544+(a*12|0)+8|0;d=17}else{a=b+2&3;if(!(i[631544+(a*12|0)+8>>0]|0)){b=a;a=631544+(a*12|0)+8|0;d=17}else{a=b+3&3;if(!(i[631544+(a*12|0)+8>>0]|0)){b=a;a=631544+(a*12|0)+8|0;d=17}}}}if((d|0)==17){i[a>>0]=1;k[631544+(b*12|0)>>2]=435974;k[631544+(b*12|0)+4>>2]=1}if(1>1){k[e+8>>2]=435974;k[e+8+4>>2]=1;Jpb(441170,e+8|0)|0}else k[157899]=435974;i[631972]=0;i[631984]=0;i[631996]=0;i[632008]=0;i[632020]=0;i[632032]=0;i[632044]=0;i[632056]=0;i[632068]=0;i[632080]=0;k[158021]=0;k[158022]=0;k[158023]=0;k[158024]=0;k[158025]=0;Fea(631964,435980,0)|0;Fea(631964,435986,1)|0;Fea(631964,435990,2)|0;Fea(631964,435995,3)|0;Fea(631964,439736,4)|0;i[631608]=0;i[631620]=0;i[631632]=0;i[631644]=0;i[631656]=0;i[631668]=0;i[631680]=0;i[631692]=0;k[157924]=0;k[157925]=0;k[157926]=0;k[157927]=0;Gea(631600,436001,0)|0;Gea(631600,436016,1)|0;Gea(631600,436031,2)|0;Gea(631600,436043,3)|0;Hea(631712,24076,72);r=e;return}function Fea(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=r;r=r+16|0;d=i[b>>0]|0;if(!(d<<24>>24))e=5381;else{f=b;e=5381;do{f=f+1|0;e=(e*33|0)+(d<<24>>24)|0;d=i[f>>0]|0}while(d<<24>>24!=0)}d=(e>>>0)%10|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+1|0)>>>0)%10|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+2|0)>>>0)%10|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+3|0)>>>0)%10|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+4|0)>>>0)%10|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+5|0)>>>0)%10|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+6|0)>>>0)%10|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+7|0)>>>0)%10|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+8|0)>>>0)%10|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+9|0)>>>0)%10|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else d=0}}}}}}}}}if((g|0)==5){i[d>>0]=1;k[a+(e*12|0)>>2]=b;k[a+(e*12|0)+4>>2]=c;d=1}if(c>>>0>4){k[h>>2]=b;k[h+4>>2]=c;Jpb(441170,h)|0;g=0;r=h;return g|0}else{k[a+120+(c<<2)>>2]=b;g=d;r=h;return g|0}return 0}function Gea(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=r;r=r+16|0;d=i[b>>0]|0;if(!(d<<24>>24))e=5381;else{f=b;e=5381;do{f=f+1|0;e=(e*33|0)+(d<<24>>24)|0;d=i[f>>0]|0}while(d<<24>>24!=0)}d=e&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+1&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+2&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+3&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+4&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+5&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+6&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=e+7&7;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else d=0}}}}}}}if((g|0)==5){i[d>>0]=1;k[a+(e*12|0)>>2]=b;k[a+(e*12|0)+4>>2]=c;d=1}if(c>>>0>3){k[h>>2]=b;k[h+4>>2]=c;Jpb(441170,h)|0;g=0;r=h;return g|0}else{k[a+96+(c<<2)>>2]=b;g=d;r=h;return g|0}return 0}function Hea(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0;m=r;r=r+16|0;i[a+8>>0]=0;i[a+20>>0]=0;i[a+32>>0]=0;i[a+44>>0]=0;i[a+56>>0]=0;i[a+68>>0]=0;i[a+80>>0]=0;i[a+92>>0]=0;i[a+104>>0]=0;i[a+116>>0]=0;i[a+128>>0]=0;i[a+140>>0]=0;i[a+152>>0]=0;i[a+164>>0]=0;i[a+176>>0]=0;i[a+188>>0]=0;i[a+200>>0]=0;i[a+212>>0]=0;d=a+216|0;e=d+36|0;do{k[d>>2]=0;d=d+4|0}while((d|0)<(e|0));if(!(c>>>3)){r=m;return}else j=0;do{g=k[b+(j<<3)>>2]|0;h=k[b+(j<<3)+4>>2]|0;d=i[g>>0]|0;if(!(d<<24>>24))e=5381;else{f=g;e=5381;do{f=f+1|0;e=(e*33|0)+(d<<24>>24)|0;d=i[f>>0]|0}while(d<<24>>24!=0)}f=0;do{d=((f+e|0)>>>0)%18|0;f=f+1|0;if(!(i[a+(d*12|0)+8>>0]|0)){l=8;break}}while(f>>>0<18);if((l|0)==8){l=0;i[a+(d*12|0)+8>>0]=1;k[a+(d*12|0)>>2]=g;k[a+(d*12|0)+4>>2]=h}if(h>>>0>8){k[m>>2]=g;k[m+4>>2]=h;Jpb(441170,m)|0}else k[a+216+(h<<2)>>2]=g;j=j+1|0}while((j|0)!=(c>>>3|0));r=m;return}function Iea(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=r;r=r+16|0;Uj(a);Sga(a+8|0);k[a>>2]=24028;k[a+8>>2]=24060;Vqb(a+12|0,b);Vqb(a+24|0,b+12|0);k[a+40>>2]=0;k[a+44>>2]=0;k[a+36>>2]=a+40;k[a+108>>2]=0;k[a+112>>2]=0;c=a+48|0;d=c+56|0;do{k[c>>2]=0;c=c+4|0}while((c|0)<(d|0));k[a+104>>2]=a+108;k[a+120>>2]=0;k[a+124>>2]=0;k[a+116>>2]=a+120;k[a+132>>2]=0;k[a+136>>2]=0;k[a+128>>2]=a+132;k[a+140>>2]=0;k[a+144>>2]=0;k[a+148>>2]=0;k[a+156>>2]=0;k[a+160>>2]=0;k[a+152>>2]=a+156;k[a+164>>2]=-1;k[a+168>>2]=0;k[a+168+4>>2]=0;k[a+168+8>>2]=0;k[a+168+12>>2]=0;k[a+168+16>>2]=0;Rua(a+188|0);Rua(a+252|0);k[a+316>>2]=0;k[a+316+4>>2]=0;k[a+316+8>>2]=0;d=i[b>>0]|0;if(!(((d&1)==0?(d&255)>>>1:k[b+4>>2]|0)|0)){d=i[b+12>>0]|0;if(!(((d&1)==0?(d&255)>>>1:k[b+16>>2]|0)|0)){a=xf(16)|0;os(a,436219,e);Jc(a|0,96,27)}}c=k[157884]|0;d=k[157883]|0;if((c-d>>2|0)>=((Hda(631144)|0)+-1|0)){d=k[a>>2]|0;d=d+16|0;d=k[d>>2]|0;Gi[d&2047](a)|0;r=e;return}b=(Hda(631144)|0)+-1|0;k[e+4>>2]=0;c=k[157884]|0;d=k[157883]|0;if(b>>>0>c-d>>2>>>0){Jea(631532,b-(c-d>>2)|0,e+4|0);d=k[a>>2]|0;d=d+16|0;d=k[d>>2]|0;Gi[d&2047](a)|0;r=e;return}if(b>>>0>=c-d>>2>>>0){d=k[a>>2]|0;d=d+16|0;d=k[d>>2]|0;Gi[d&2047](a)|0;r=e;return}if((c|0)==(d+(b<<2)|0)){d=k[a>>2]|0;d=d+16|0;d=k[d>>2]|0;Gi[d&2047](a)|0;r=e;return}k[157884]=c+(~((c+-4-(d+(b<<2))|0)>>>2)<<2);d=k[a>>2]|0;d=d+16|0;d=k[d>>2]|0;Gi[d&2047](a)|0;r=e;return}function Jea(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0;d=k[a+8>>2]|0;f=k[a+4>>2]|0;if(d-f>>2>>>0>=b>>>0){d=b;e=f;while(1){k[e>>2]=k[c>>2];d=d+-1|0;if(!d)break;else e=e+4|0}k[a+4>>2]=f+(b<<2);return}l=k[a>>2]|0;if(((f-l>>2)+b|0)>>>0>1073741823)xzb(a);if(d-l>>2>>>0<536870911){d=d-l>>1>>>0<((f-l>>2)+b|0)>>>0?(f-l>>2)+b|0:d-l>>1;f=k[a+4>>2]|0;if(!d){i=0;d=0;e=f-l>>2;h=f}else{g=f;e=f-l>>2;j=9}}else{e=k[a+4>>2]|0;d=1073741823;g=e;e=e-l>>2;j=9}if((j|0)==9){i=d;d=kBb(d<<2)|0;h=g}g=d+(e<<2)|0;e=d+(i<<2)|0;d=b;f=g;while(1){k[f>>2]=k[c>>2];d=d+-1|0;if(!d)break;else f=f+4|0}c=h-l|0;ABb(g+(0-(c>>2)<<2)|0,l|0,c|0)|0;k[a>>2]=g+(0-(c>>2)<<2);k[a+4>>2]=g+(b<<2);k[a+8>>2]=e;if(!l)return;CAb(l);return}function Kea(){var a=0,b=0,c=0,d=0,e=0;e=k[157857]|0;a=k[157856]|0;if(!e){if(a|0)Si[k[164127]&1023](0);k[157856]=0;return}if((a|0)==(e|0))return;Si[k[164127]&1023](k[e+48>>2]|0);k[157856]=e;b=k[e+144>>2]|0;a=k[e+140>>2]|0;if((b|0)!=(a|0)){d=0;do{c=k[a+(d<<2)>>2]|0;d=d+1|0;if(c){zda(631144,c,d,0);b=k[e+144>>2]|0;a=k[e+140>>2]|0}}while(d>>>0>2>>>0)}yda(631144,0);return}function Lea(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if((k[157856]|0)!=(a|0)){Si[k[164127]&1023](k[a+48>>2]|0);k[157856]=a}if(b)return;c=k[a+144>>2]|0;b=k[a+140>>2]|0;if((c|0)!=(b|0)){e=0;do{d=k[b+(e<<2)>>2]|0;e=e+1|0;if(d){zda(631144,d,e,0);c=k[a+144>>2]|0;b=k[a+140>>2]|0}}while(e>>>0>2>>>0)}yda(631144,0);return}function Mea(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=r;r=r+64|0;k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;c=k[b+36>>2]|0;if((c|0)==(b+40|0)){sea(e,b);c=i[e>>0]|0;f=c&1;f=f<<24>>24==0;d=e+8|0;d=k[d>>2]|0;b=e+1|0;d=f?b:d;b=e+4|0;b=k[b>>2]|0;c=c&255;c=c>>>1;b=f?c:b;hrb(a,d,b)|0;_qb(e);r=e;return}d=c;while(1){c=k[d+16>>2]|0;if(c>>>0<=1){c=k[631592+(c<<2)>>2]|0;if(c|0){Wqb(e+24|0,c,Fnb(c)|0);Wqb(e+12|0,436257,9);c=i[e+12>>0]|0;c=hrb(e+24|0,(c&1)==0?e+12+1|0:k[e+12+8>>2]|0,(c&1)==0?(c&255)>>>1:k[e+12+4>>2]|0)|0;k[e+36>>2]=k[c>>2];k[e+36+4>>2]=k[c+4>>2];k[e+36+8>>2]=k[c+8>>2];k[c>>2]=0;k[c+4>>2]=0;k[c+8>>2]=0;c=d+20|0;f=i[c>>0]|0;f=hrb(e+36|0,(f&1)==0?c+1|0:k[d+28>>2]|0,(f&1)==0?(f&255)>>>1:k[d+24>>2]|0)|0;k[e+48>>2]=k[f>>2];k[e+48+4>>2]=k[f+4>>2];k[e+48+8>>2]=k[f+8>>2];k[f>>2]=0;k[f+4>>2]=0;k[f+8>>2]=0;f=i[e+48>>0]|0;hrb(a,(f&1)==0?e+48+1|0:k[e+48+8>>2]|0,(f&1)==0?(f&255)>>>1:k[e+48+4>>2]|0)|0;_qb(e+48|0);_qb(e+36|0);_qb(e+12|0);_qb(e+24|0)}}c=k[d+4>>2]|0;if(!c)while(1){c=k[d+8>>2]|0;if((k[c>>2]|0)==(d|0))break;else d=c}else while(1){d=k[c>>2]|0;if(!d)break;else c=d}if((c|0)==(b+40|0))break;else d=c}sea(e,b);d=i[e>>0]|0;c=d&1;c=c<<24>>24==0;b=e+8|0;b=k[b>>2]|0;f=e+1|0;b=c?f:b;f=e+4|0;f=k[f>>2]|0;d=d&255;d=d>>>1;f=c?d:f;hrb(a,b,f)|0;_qb(e);r=e;return}function Nea(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=k[a+4>>2]|0;if(c|0){d=i[b>>0]|0;e=(d&1)==0?(d&255)>>>1:k[b+4>>2]|0;d=(d&1)==0?b+1|0:k[b+8>>2]|0;b=a+4|0;a:do{while(1){f=c+16|0;h=i[f>>0]|0;g=(h&1)==0?(h&255)>>>1:k[c+20>>2]|0;f=Emb((h&1)==0?f+1|0:k[c+24>>2]|0,d,e>>>0>>0?e:g)|0;if((((f|0)==0?(g>>>0>>0?-2147483648:0):f)|0)>=0){b=c;break}c=k[c+4>>2]|0;if(!c)break a}c=k[b>>2]|0}while((c|0)!=0);if((b|0)!=(a+4|0)){h=b+16|0;f=i[h>>0]|0;g=(f&1)==0?(f&255)>>>1:k[b+20>>2]|0;h=Emb(d,(f&1)==0?h+1|0:k[b+24>>2]|0,g>>>0>>0?g:e)|0;if((((h|0)==0?(e>>>0>>0?-2147483648:0):h)|0)>=0){h=b;return h|0}}}h=a+4|0;return h|0}function Oea(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=r;r=r+48|0;if(!(k[a+48>>2]|0)){e=xf(16)|0;os(e,436351,f);Jc(e|0,96,27)}switch(k[b+8>>2]|0){case 35669:case 35666:case 35676:case 35673:{a=4;break}case 35665:case 35668:case 35675:case 35672:{a=3;break}case 35671:case 35674:case 35664:case 35667:{a=2;break}default:a=1}if((a|0)!=(c|0)){e=xf(16)|0;k[f+8>>2]=c;k[f+8+4>>2]=a;os(e,436377,f+8|0);Jc(e|0,96,27)}if((d|0)<0|((d|0)>1?(k[b+4>>2]|0)==1:0)){e=xf(16)|0;k[f+16>>2]=k[b+4>>2];k[f+16+4>>2]=d;os(e,436430,f+16|0);Jc(e|0,96,27)}a=k[b+12>>2]|0;if(!((a|0)!=3|(a|0)==(e|0))){e=xf(16)|0;os(e,436478,f+24|0);Jc(e|0,96,27)}if((e|0)==0&(a|0)==1){e=xf(16)|0;os(e,436533,f+32|0);Jc(e|0,96,27)}if((e|0)==1&(a|0)==0){e=xf(16)|0;os(e,436533,f+32|0);Jc(e|0,96,27)}else{r=f;return}}function Pea(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=r;r=r+16|0;g=k[157856]|0;if((g|0)!=(a|0)){Si[k[164127]&1023](k[a+48>>2]|0);k[157856]=a}f=Nea(a+116|0,b)|0;if((f|0)==(a+120|0)){g=xf(16)|0;k[h>>2]=(i[b>>0]&1)==0?b+1|0:k[b+8>>2]|0;os(g,436267,h);Jc(g|0,96,27)}Oea(a,f+28|0,c,e,1);switch(c|0){case 4:{kj[k[163984]&255](k[f+28>>2]|0,e,d);break}case 3:{kj[k[164112]&255](k[f+28>>2]|0,e,d);break}case 2:{kj[k[164046]&255](k[f+28>>2]|0,e,d);break}default:kj[k[164385]&255](k[f+28>>2]|0,e,d)}if(g|0){if((k[157856]|0)!=(g|0)){Si[k[164127]&1023](k[g+48>>2]|0);k[157856]=g}e=k[g+144>>2]|0;f=k[g+140>>2]|0;if((e|0)!=(f|0)){c=0;do{b=k[f+(c<<2)>>2]|0;c=c+1|0;if(b){zda(631144,b,c,0);e=k[g+144>>2]|0;f=k[g+140>>2]|0}}while(c>>>0>2>>>0)}yda(631144,0);r=h;return}a=k[157857]|0;f=k[157856]|0;if(!a){if(f|0)Si[k[164127]&1023](0);k[157856]=0;r=h;return}if((f|0)==(a|0)){r=h;return}Si[k[164127]&1023](k[a+48>>2]|0);k[157856]=a;e=k[a+144>>2]|0;f=k[a+140>>2]|0;if((e|0)!=(f|0)){c=0;do{b=k[f+(c<<2)>>2]|0;c=c+1|0;if(b){zda(631144,b,c,0);e=k[a+144>>2]|0;f=k[a+140>>2]|0}}while(c>>>0>2>>>0)}yda(631144,0);r=h;return}function Qea(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=r;r=r+16|0;g=k[157856]|0;if((g|0)!=(a|0)){Si[k[164127]&1023](k[a+48>>2]|0);k[157856]=a}f=Nea(a+116|0,b)|0;if((f|0)==(a+120|0)){g=xf(16)|0;k[h>>2]=(i[b>>0]&1)==0?b+1|0:k[b+8>>2]|0;os(g,436267,h);Jc(g|0,96,27)}Oea(a,f+28|0,c,e,0);switch(c|0){case 4:{kj[k[164719]&255](k[f+28>>2]|0,e,d);break}case 3:{kj[k[164086]&255](k[f+28>>2]|0,e,d);break}case 2:{kj[k[164487]&255](k[f+28>>2]|0,e,d);break}default:kj[k[164679]&255](k[f+28>>2]|0,e,d)}if(g|0){if((k[157856]|0)!=(g|0)){Si[k[164127]&1023](k[g+48>>2]|0);k[157856]=g}e=k[g+144>>2]|0;f=k[g+140>>2]|0;if((e|0)!=(f|0)){c=0;do{b=k[f+(c<<2)>>2]|0;c=c+1|0;if(b){zda(631144,b,c,0);e=k[g+144>>2]|0;f=k[g+140>>2]|0}}while(c>>>0>2>>>0)}yda(631144,0);r=h;return}a=k[157857]|0;f=k[157856]|0;if(!a){if(f|0)Si[k[164127]&1023](0);k[157856]=0;r=h;return}if((f|0)==(a|0)){r=h;return}Si[k[164127]&1023](k[a+48>>2]|0);k[157856]=a;e=k[a+144>>2]|0;f=k[a+140>>2]|0;if((e|0)!=(f|0)){c=0;do{b=k[f+(c<<2)>>2]|0;c=c+1|0;if(b){zda(631144,b,c,0);e=k[a+144>>2]|0;f=k[a+140>>2]|0}}while(c>>>0>2>>>0)}yda(631144,0);r=h;return}function Rea(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=r;r=r+16|0;g=k[157856]|0;if((g|0)!=(a|0)){Si[k[164127]&1023](k[a+48>>2]|0);k[157856]=a}if((c+-2|0)>>>0>2){g=xf(16)|0;k[h>>2]=c;k[h+4>>2]=c;os(g,436571,h);Jc(g|0,96,27)}f=Nea(a+116|0,b)|0;if((f|0)==(a+120|0)){g=xf(16)|0;k[h+8>>2]=(i[b>>0]&1)==0?b+1|0:k[b+8>>2]|0;os(g,436267,h+8|0);Jc(g|0,96,27)}Oea(a,f+28|0,c,e,0);switch(c|0){case 4:{vj[k[164718]&127](k[f+28>>2]|0,e,0,d);break}case 3:{vj[k[164687]&127](k[f+28>>2]|0,e,0,d);break}default:vj[k[164632]&127](k[f+28>>2]|0,e,0,d)}if(g|0){if((k[157856]|0)!=(g|0)){Si[k[164127]&1023](k[g+48>>2]|0);k[157856]=g}e=k[g+144>>2]|0;f=k[g+140>>2]|0;if((e|0)!=(f|0)){b=0;do{d=k[f+(b<<2)>>2]|0;b=b+1|0;if(d){zda(631144,d,b,0);e=k[g+144>>2]|0;f=k[g+140>>2]|0}}while(b>>>0>2>>>0)}yda(631144,0);r=h;return}c=k[157857]|0;f=k[157856]|0;if(!c){if(f|0)Si[k[164127]&1023](0);k[157856]=0;r=h;return}if((f|0)==(c|0)){r=h;return}Si[k[164127]&1023](k[c+48>>2]|0);k[157856]=c;e=k[c+144>>2]|0;f=k[c+140>>2]|0;if((e|0)!=(f|0)){b=0;do{d=k[f+(b<<2)>>2]|0;b=b+1|0;if(d){zda(631144,d,b,0);e=k[c+144>>2]|0;f=k[c+140>>2]|0}}while(b>>>0>2>>>0)}yda(631144,0);r=h;return}function Sea(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=r;r=r+16|0;f=Gi[k[(k[c>>2]|0)+52>>2]&2047](c)|0;f=k[f>>2]|0;g=k[157856]|0;if((g|0)!=(a|0)){Si[k[164127]&1023](k[a+48>>2]|0);k[157856]=a}e=Tea(a,b)|0;d=Nea(a+116|0,b)|0;if((d|0)==(a+120|0)){g=xf(16)|0;k[h>>2]=(i[b>>0]&1)==0?b+1|0:k[b+8>>2]|0;os(g,436267,h);Jc(g|0,96,27)}Oea(a,d+28|0,1,1,3);zda(631144,f,e,1);Di[k[164257]&511](k[d+28>>2]|0,e);d=(k[a+140>>2]|0)+(e+-1<<2)|0;if(!(k[d>>2]|0)){e=(k[157883]|0)+(e+-1<<2)|0;k[e>>2]=(k[e>>2]|0)+1}k[d>>2]=f;Si[k[(k[c>>2]|0)+8>>2]&1023](c);d=Xea(a+152|0,b)|0;if((d|0)!=(a+156|0)){f=k[d+28>>2]|0;Si[k[(k[f>>2]|0)+12>>2]&1023](f)}a=Yea(a+152|0,b)|0;k[a>>2]=c;if(g|0){if((k[157856]|0)!=(g|0)){Si[k[164127]&1023](k[g+48>>2]|0);k[157856]=g}e=k[g+144>>2]|0;d=k[g+140>>2]|0;if((e|0)!=(d|0)){b=0;do{f=k[d+(b<<2)>>2]|0;b=b+1|0;if(f){zda(631144,f,b,0);e=k[g+144>>2]|0;d=k[g+140>>2]|0}}while(b>>>0>2>>>0)}yda(631144,0);r=h;return}c=k[157857]|0;d=k[157856]|0;if(!c){if(d|0)Si[k[164127]&1023](0);k[157856]=0;r=h;return}if((d|0)==(c|0)){r=h;return}Si[k[164127]&1023](k[c+48>>2]|0);k[157856]=c;e=k[c+144>>2]|0;d=k[c+140>>2]|0;if((e|0)!=(d|0)){b=0;do{f=k[d+(b<<2)>>2]|0;b=b+1|0;if(f){zda(631144,f,b,0);e=k[c+144>>2]|0;d=k[c+140>>2]|0}}while(b>>>0>2>>>0)}yda(631144,0);r=h;return}function Tea(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=r;r=r+16|0;c=Uea(a+128|0,b)|0;if((c|0)!=(a+132|0)){a=k[c+28>>2]|0;r=g;return a|0}d=k[157883]|0;e=k[157884]|0;a:do if((d|0)==(e|0)){c=d;f=6}else{c=d;while(1){if(!(k[c>>2]|0)){f=6;break a}c=c+4|0;if((c|0)==(e|0)){f=8;break}}}while(0);if((f|0)==6)if((c|0)==(e|0))f=8;else c=c-d|0;do if((f|0)==8){d=k[a+140>>2]|0;e=k[a+144>>2]|0;b:do if((d|0)==(e|0))c=d;else{c=d;do{if(!(k[c>>2]|0))break b;c=c+4|0}while((c|0)!=(e|0));a=xf(16)|0;os(a,436639,g);Jc(a|0,96,27)}while(0);if((c|0)==(e|0)){a=xf(16)|0;os(a,436639,g);Jc(a|0,96,27)}else{c=c-d|0;break}}while(0);f=(c>>2)+1|0;a=Vea(a+128|0,b)|0;k[a>>2]=f;a=f;r=g;return a|0}function Uea(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=k[a+4>>2]|0;if(c|0){d=i[b>>0]|0;e=(d&1)==0?(d&255)>>>1:k[b+4>>2]|0;d=(d&1)==0?b+1|0:k[b+8>>2]|0;b=a+4|0;a:do{while(1){f=c+16|0;h=i[f>>0]|0;g=(h&1)==0?(h&255)>>>1:k[c+20>>2]|0;f=Emb((h&1)==0?f+1|0:k[c+24>>2]|0,d,e>>>0>>0?e:g)|0;if((((f|0)==0?(g>>>0>>0?-2147483648:0):f)|0)>=0){b=c;break}c=k[c+4>>2]|0;if(!c)break a}c=k[b>>2]|0}while((c|0)!=0);if((b|0)!=(a+4|0)){h=b+16|0;f=i[h>>0]|0;g=(f&1)==0?(f&255)>>>1:k[b+20>>2]|0;h=Emb(d,(f&1)==0?h+1|0:k[b+24>>2]|0,g>>>0>>0?g:e)|0;if((((h|0)==0?(e>>>0>>0?-2147483648:0):h)|0)>=0){h=b;return h|0}}}h=a+4|0;return h|0}function Vea(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=r;r=r+16|0;d=Wea(a,f,b)|0;c=k[d>>2]|0;if(c|0){a=c;a=a+28|0;r=f;return a|0}e=kBb(32)|0;Vqb(e+16|0,b);k[e+28>>2]=0;c=k[f>>2]|0;k[e>>2]=0;k[e+4>>2]=0;k[e+8>>2]=c;k[d>>2]=e;c=k[k[a>>2]>>2]|0;if(!c)c=e;else{k[a>>2]=c;c=k[d>>2]|0}Qj(k[a+4>>2]|0,c);k[a+8>>2]=(k[a+8>>2]|0)+1;a=e;a=a+28|0;r=f;return a|0}function Wea(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=k[a+4>>2]|0;if(!d){k[b>>2]=a+4;b=a+4|0;return b|0}f=i[c>>0]|0;g=(f&1)==0?(f&255)>>>1:k[c+4>>2]|0;f=(f&1)==0?c+1|0:k[c+8>>2]|0;while(1){c=d+16|0;e=i[c>>0]|0;a=(e&1)==0?(e&255)>>>1:k[d+20>>2]|0;c=(e&1)==0?c+1|0:k[d+24>>2]|0;e=Emb(f,c,a>>>0>>0?a:g)|0;if((((e|0)==0?(g>>>0>>0?-2147483648:0):e)|0)<0){a=k[d>>2]|0;if(!a){a=d;c=5;break}else d=a}else{e=Emb(c,f,g>>>0>>0?g:a)|0;if((((e|0)==0?(a>>>0>>0?-2147483648:0):e)|0)>=0){c=10;break}e=d+4|0;a=k[e>>2]|0;if(!a){c=9;break}else d=a}}if((c|0)==5){k[b>>2]=d;b=a;return b|0}else if((c|0)==9){k[b>>2]=d;b=e;return b|0}else if((c|0)==10){k[b>>2]=d;return b|0}return 0}function Xea(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=k[a+4>>2]|0;if(c|0){d=i[b>>0]|0;e=(d&1)==0?(d&255)>>>1:k[b+4>>2]|0;d=(d&1)==0?b+1|0:k[b+8>>2]|0;b=a+4|0;a:do{while(1){f=c+16|0;h=i[f>>0]|0;g=(h&1)==0?(h&255)>>>1:k[c+20>>2]|0;f=Emb((h&1)==0?f+1|0:k[c+24>>2]|0,d,e>>>0>>0?e:g)|0;if((((f|0)==0?(g>>>0>>0?-2147483648:0):f)|0)>=0){b=c;break}c=k[c+4>>2]|0;if(!c)break a}c=k[b>>2]|0}while((c|0)!=0);if((b|0)!=(a+4|0)){h=b+16|0;f=i[h>>0]|0;g=(f&1)==0?(f&255)>>>1:k[b+20>>2]|0;h=Emb(d,(f&1)==0?h+1|0:k[b+24>>2]|0,g>>>0>>0?g:e)|0;if((((h|0)==0?(e>>>0>>0?-2147483648:0):h)|0)>=0){h=b;return h|0}}}h=a+4|0;return h|0}function Yea(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=r;r=r+16|0;d=Zea(a,f,b)|0;c=k[d>>2]|0;if(c|0){a=c;a=a+28|0;r=f;return a|0}e=kBb(32)|0;Vqb(e+16|0,b);k[e+28>>2]=0;c=k[f>>2]|0;k[e>>2]=0;k[e+4>>2]=0;k[e+8>>2]=c;k[d>>2]=e;c=k[k[a>>2]>>2]|0;if(!c)c=e;else{k[a>>2]=c;c=k[d>>2]|0}Qj(k[a+4>>2]|0,c);k[a+8>>2]=(k[a+8>>2]|0)+1;a=e;a=a+28|0;r=f;return a|0}function Zea(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=k[a+4>>2]|0;if(!d){k[b>>2]=a+4;b=a+4|0;return b|0}f=i[c>>0]|0;g=(f&1)==0?(f&255)>>>1:k[c+4>>2]|0;f=(f&1)==0?c+1|0:k[c+8>>2]|0;while(1){c=d+16|0;e=i[c>>0]|0;a=(e&1)==0?(e&255)>>>1:k[d+20>>2]|0;c=(e&1)==0?c+1|0:k[d+24>>2]|0;e=Emb(f,c,a>>>0>>0?a:g)|0;if((((e|0)==0?(g>>>0>>0?-2147483648:0):e)|0)<0){a=k[d>>2]|0;if(!a){a=d;c=5;break}else d=a}else{e=Emb(c,f,g>>>0>>0?g:a)|0;if((((e|0)==0?(a>>>0>>0?-2147483648:0):e)|0)>=0){c=10;break}e=d+4|0;a=k[e>>2]|0;if(!a){c=9;break}else d=a}}if((c|0)==5){k[b>>2]=d;b=a;return b|0}else if((c|0)==9){k[b>>2]=d;b=e;return b|0}else if((c|0)==10){k[b>>2]=d;return b|0}return 0}function _ea(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=$ea(a+116|0,b)|0;if((e|0)==(a+120|0)){k[c>>2]=0;k[d>>2]=0;d=4;return d|0}switch(k[e+36>>2]|0){case 35669:case 35666:case 35676:case 35673:{b=4;break}case 35665:case 35668:case 35675:case 35672:{b=3;break}case 35671:case 35674:case 35664:case 35667:{b=2;break}default:b=1}k[c>>2]=b;k[d>>2]=k[e+32>>2];d=k[e+40>>2]|0;return d|0}function $ea(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=k[a+4>>2]|0;if(c|0){d=i[b>>0]|0;e=(d&1)==0?(d&255)>>>1:k[b+4>>2]|0;d=(d&1)==0?b+1|0:k[b+8>>2]|0;b=a+4|0;a:do{while(1){f=c+16|0;h=i[f>>0]|0;g=(h&1)==0?(h&255)>>>1:k[c+20>>2]|0;f=Emb((h&1)==0?f+1|0:k[c+24>>2]|0,d,e>>>0>>0?e:g)|0;if((((f|0)==0?(g>>>0>>0?-2147483648:0):f)|0)>=0){b=c;break}c=k[c+4>>2]|0;if(!c)break a}c=k[b>>2]|0}while((c|0)!=0);if((b|0)!=(a+4|0)){h=b+16|0;f=i[h>>0]|0;g=(f&1)==0?(f&255)>>>1:k[b+20>>2]|0;h=Emb(d,(f&1)==0?h+1|0:k[b+24>>2]|0,g>>>0>>0?g:e)|0;if((((h|0)==0?(e>>>0>>0?-2147483648:0):h)|0)>=0){h=b;return h|0}}}h=a+4|0;return h|0}function afa(a,b){a=a|0;b=b|0;var c=0;c=Uea(a+104|0,b)|0;if((c|0)==(a+108|0)){c=gj[k[163978]&511](k[a+48>>2]|0,(i[b>>0]&1)==0?b+1|0:k[b+8>>2]|0)|0;a=Vea(a+104|0,b)|0;k[a>>2]=c;a=c;return a|0}else{a=k[c+28>>2]|0;return a|0}return 0}function bfa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0;n=r;r=r+16|0;m=k[157856]|0;if((m|0)!=(a|0)){Si[k[164127]&1023](k[a+48>>2]|0);k[157856]=a}e=k[a+316>>2]|0;if(!e){f=k[a+76>>2]|0;h=k[a+80>>2]|0;j=k[a+84>>2]|0;e=k[157988]|0;g=k[157989]|0;i=k[157990]|0;if(!((f|0)<0|(e|0)==0)){Wqb(n,e,Fnb(e)|0);e=Tea(a,n)|0;k[a+316>>2]=e;_qb(n);e=k[a+316>>2]|0;if(!(k[(k[a+140>>2]|0)+(e+-1<<2)>>2]|0)){e=(k[157883]|0)+(e+-1<<2)|0;k[e>>2]=(k[e>>2]|0)+1;e=k[a+316>>2]|0}Di[k[164257]&511](f,e)}if(!((h|0)<0|(g|0)==0)){Wqb(n,g,Fnb(g)|0);e=Tea(a,n)|0;k[a+320>>2]=e;_qb(n);e=k[a+320>>2]|0;if(!(k[(k[a+140>>2]|0)+(e+-1<<2)>>2]|0)){e=(k[157883]|0)+(e+-1<<2)|0;k[e>>2]=(k[e>>2]|0)+1;e=k[a+320>>2]|0}Di[k[164257]&511](h,e)}if(!((j|0)<0|(i|0)==0)){Wqb(n,i,Fnb(i)|0);e=Tea(a,n)|0;k[a+324>>2]=e;_qb(n);e=k[a+324>>2]|0;if(!(k[(k[a+140>>2]|0)+(e+-1<<2)>>2]|0)){e=(k[157883]|0)+(e+-1<<2)|0;k[e>>2]=(k[e>>2]|0)+1;e=k[a+324>>2]|0}Di[k[164257]&511](j,e)}e=k[a+316>>2]|0;if(!e)f=a+140|0;else{f=a+140|0;l=11}}else{f=a+140|0;l=11}if((l|0)==11){k[(k[f>>2]|0)+(e+-1<<2)>>2]=b;zda(631144,b,k[a+316>>2]|0,0)}e=k[a+320>>2]|0;if(e|0){k[(k[f>>2]|0)+(e+-1<<2)>>2]=c;zda(631144,c,k[a+320>>2]|0,0)}e=k[a+324>>2]|0;if(e|0){k[(k[f>>2]|0)+(e+-1<<2)>>2]=d;zda(631144,d,k[a+324>>2]|0,0)}yda(631144,0);if(m|0){if((k[157856]|0)!=(m|0)){Si[k[164127]&1023](k[m+48>>2]|0);k[157856]=m}e=k[m+144>>2]|0;f=k[m+140>>2]|0;if((e|0)!=(f|0)){h=0;do{g=k[f+(h<<2)>>2]|0;h=h+1|0;if(g){zda(631144,g,h,0);e=k[m+144>>2]|0;f=k[m+140>>2]|0}}while(h>>>0>2>>>0)}yda(631144,0);r=n;return}i=k[157857]|0;e=k[157856]|0;if(!i){if(e|0)Si[k[164127]&1023](0);k[157856]=0;r=n;return}if((e|0)==(i|0)){r=n;return}Si[k[164127]&1023](k[i+48>>2]|0);k[157856]=i;e=k[i+144>>2]|0;f=k[i+140>>2]|0;if((e|0)!=(f|0)){h=0;do{g=k[f+(h<<2)>>2]|0;h=h+1|0;if(g){zda(631144,g,h,0);e=k[i+144>>2]|0;f=k[i+140>>2]|0}}while(h>>>0>2>>>0)}yda(631144,0);r=n;return}function cfa(a,b){a=a|0;b=b|0;if(a>>>0>4)a=0;else{a=k[632084+(a<<2)>>2]|0;if(!a)a=0;else{k[b>>2]=a;a=1}}return a|0}function dfa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0;c=i[a>>0]|0;if(!(c<<24>>24))d=5381;else{e=a;d=5381;do{e=e+1|0;d=(d*33|0)+(c<<24>>24)|0;c=i[e>>0]|0}while(c<<24>>24!=0)}h=0;while(1){g=h+d&7;if(!(i[631600+(g*12|0)+8>>0]|0)){c=1;d=0;j=11;break}e=k[631600+(g*12|0)>>2]|0;f=i[e>>0]|0;a:do if(!(f<<24>>24)){c=a;j=8}else{c=a;while(1){l=i[c>>0]|0;if(!(l<<24>>24?f<<24>>24==l<<24>>24:0))break a;e=e+1|0;c=c+1|0;f=i[e>>0]|0;if(!(f<<24>>24)){j=8;break}}}while(0);if((j|0)==8){j=0;if(!(i[c>>0]|0)){j=9;break}}h=h+1|0;if(h>>>0>=8){c=0;d=0;j=11;break}}if((j|0)==9){k[b>>2]=k[631600+(g*12|0)+4>>2];j=1;l=1;l=j&l;return l|0}else if((j|0)==11){l=c&d;return l|0}return 0}function efa(a,b){a=a|0;b=b|0;if(a>>>0>3)a=0;else{a=k[631696+(a<<2)>>2]|0;if(!a)a=0;else{k[b>>2]=a;a=1}}return a|0}function ffa(a){a=a|0;var b=0,c=0,d=0;k[a>>2]=24156;b=k[a+20>>2]|0;if(b|0)CAb(b);b=k[a+24>>2]|0;if(b|0)Si[k[(k[b>>2]|0)+4>>2]&1023](b);b=k[a+40>>2]|0;if(b|0)do{c=b;b=k[b>>2]|0;d=k[c+20>>2]|0;if(d|0)Si[k[(k[d>>2]|0)+12>>2]&1023](d);_qb(c+8|0);CAb(c)}while((b|0)!=0);b=k[a+32>>2]|0;k[a+32>>2]=0;if(b|0)CAb(b);c9(a+28|0);b=k[a+8>>2]|0;if(!b)return;Si[k[(k[b>>2]|0)+12>>2]&1023](b);return}function gfa(a){a=a|0;ffa(a);CAb(a);return}function hfa(a,b,c,d,e,f,g,h,j,l){a=a|0;b=+b;c=+c;d=+d;e=+e;f=+f;g=+g;h=+h;j=+j;l=+l;var m=0,n=0,o=0,p=0,q=0,s=0;q=r;r=r+80|0;if(!(k[a+16>>2]|0)){r=q;return}hda(631144);n=kda(631144)|0;Tua(q+8|0,b,c,d,e,f,g,h,j,l);Wua(n,q+8|0);n=k[a+8>>2]|0;n=Gi[k[(k[n>>2]|0)+52>>2]&2047](n)|0;gda(631144,k[n>>2]|0);n=k[a+24>>2]|0;U8(n);S8(k[a+24>>2]|0);if(!(k[a+20>>2]|0))m=3;else{m=X8(k[a+24>>2]|0,16)|0;Ti[k[164011]&63](2,4,5121,1,20,m);m=7}p=X8(k[a+24>>2]|0,0)|0;Ti[k[164011]&63](0,2,5126,0,20,p);p=X8(k[a+24>>2]|0,8)|0;Ti[k[164011]&63](1,2,5126,0,20,p);V8(n);n=k[a+40>>2]|0;a:do if(n){while(1){p=n;o=k[p+20>>2]|0;s=tca(o)|0;if(s>>>0>2]<<2>>>0)break;s=Yba(o,k[p+24>>2]|0,p+8|0)|0;m=((s|0)>-1?1<>2]|0;if(!n)break a}m=xf(16)|0;if(!(i[p+8>>0]&1)){s=p+8+1|0;k[q>>2]=s;os(m,436720,q);Jc(m|0,96,27)}else{s=k[p+16>>2]|0;k[q>>2]=s;os(m,436720,q);Jc(m|0,96,27)}}while(0);eda(631144,m);lda(631144);s=g9(a+28|0)|0;U8(s);o=e9(a+28|0,k[a+16>>2]|0)|0;p=$8(a+28|0,k[157701]|0)|0;nda(631144,4,o,p,h9(a+28|0,0)|0);V8(s);jda(631144);r=q;return}function ifa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+16|0;Uj(a);k[a>>2]=24156;k[a+8>>2]=b;if(b|0)Si[k[(k[b>>2]|0)+8>>2]&1023](b);k[a+12>>2]=c;k[a+16>>2]=0;k[a+20>>2]=0;k[a+24>>2]=0;Y8(a+28|0,c);k[a+32>>2]=0;k[a+32+4>>2]=0;k[a+32+8>>2]=0;k[a+32+12>>2]=0;o[a+48>>2]=1.0;if((c|0)<1){d=xf(16)|0;os(d,436795,e);Jc(d|0,96,27)}else{b=jca(d)|0;d=kBb(40)|0;Q8(d,c*80|0,0,34962,b,1);k[a+24>>2]=d;r=e;return}}function jfa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,jb=0,kb=0,lb=0,mb=0,nb=0,ob=0,pb=0,qb=0,rb=0,sb=0,tb=0,ub=0,vb=0,wb=0,xb=0,yb=0,zb=0,Ab=0,Bb=0,Cb=0,Db=0,Eb=0,Fb=0,Gb=0,Hb=0,Ib=0,Jb=0,Kb=0,Lb=0,Mb=0,Nb=0,Ob=0,Pb=0,Qb=0,Rb=0,Sb=0,Tb=0,Ub=0,Vb=0,Wb=0,Xb=0,Yb=0,Zb=0,_b=0,$b=0,ac=0,bc=0,cc=0,dc=0,ec=0,fc=0,gc=0,hc=0,ic=0,jc=0,kc=0,lc=0,mc=0,nc=0,oc=0,pc=0,qc=0,rc=0,sc=0,tc=0,uc=0,vc=0,wc=0,xc=0,yc=0,zc=0,Ac=0,Bc=0,Cc=0,Dc=0,Ec=0,Fc=0,Gc=0,Hc=0,Ic=0,Jc=0,Kc=0,Lc=0,Mc=0,Nc=0,Oc=0,Pc=0,Qc=0,Rc=0,Sc=0,Tc=0,Uc=0,Vc=0,Wc=0,Xc=0,Yc=0,Zc=0,_c=0,$c=0,ad=0,bd=0,cd=0,dd=0,ed=0,fd=0,gd=0,hd=0,id=0,jd=0,kd=0,ld=0,md=0,nd=0,od=0,pd=0,qd=0,rd=0,sd=0,td=0,ud=0,vd=0,wd=0,xd=0,yd=0,zd=0,Ad=0,Bd=0,Cd=0,Dd=0,Ed=0,Fd=0,Gd=0,Hd=0,Id=0,Jd=0,Kd=0,Ld=0,Md=0,Nd=0,Od=0,Pd=0,Qd=0,Rd=0,Sd=0,Td=0,Ud=0,Vd=0,Wd=0,Xd=0,Yd=0,Zd=0,_d=0,$d=0,ae=0,be=0,ce=0,de=0,ee=0,fe=0,ge=0,he=0,ie=0,je=0,ke=0,le=0,me=0,ne=0,oe=0,pe=0,qe=0,re=0,se=0,te=0,ue=0,ve=0,we=0,xe=0,ye=0,ze=0,Ae=0,Be=0,Ce=0,De=0,Ee=0,Fe=0;Fe=k[a+32>>2]|0;O=k[a+14624>>2]|0;a:{do if(!O){k[a>>2]=Fe+4;U=Fe+4|0;T=Fe+4|0;M=2052}else{M=O;while(1){c=k[M+16>>2]|0;if((c|0)>1073742049){c=k[M>>2]|0;if(!c){N=M;S=M;M=2045;break}}else{if((c|0)>=1073742049){Q=M;M=2051;break}P=M+4|0;c=k[P>>2]|0;if(!c){R=M;M=2049;break}}M=c}if((M|0)==2045){k[a>>2]=S;U=N;T=S;M=2052;break}else if((M|0)==2049){k[a>>2]=R;U=P;T=R;M=2052;break}else if((M|0)==2051){k[a>>2]=Q;if(!Q){U=a;T=Q;M=2052;break}else{V=O;L=Q;break}}}while(0);if((M|0)==2052){L=kBb(24)|0;k[L+16>>2]=1073742049;k[L+20>>2]=0;k[L>>2]=0;k[L+4>>2]=0;k[L+8>>2]=T;k[U>>2]=L;c=k[k[Fe>>2]>>2]|0;if(!c)c=L;else{k[Fe>>2]=c;c=k[U>>2]|0}Qj(k[Fe+4>>2]|0,c);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;V=k[Fe+4>>2]|0}k[L+20>>2]=158;do if(!V){k[a>>2]=Fe+4;aa=Fe+4|0;$=Fe+4|0;M=2065}else{L=V;while(1){c=k[L+16>>2]|0;if((c|0)>1073742050){c=k[L>>2]|0;if(!c){W=L;_=L;M=2058;break}}else{if((c|0)>=1073742050){Y=L;M=2064;break}X=L+4|0;c=k[X>>2]|0;if(!c){Z=L;M=2062;break}}L=c}if((M|0)==2058){k[a>>2]=_;aa=W;$=_;M=2065;break}else if((M|0)==2062){k[a>>2]=Z;aa=X;$=Z;M=2065;break}else if((M|0)==2064){k[a>>2]=Y;if(!Y){aa=a;$=Y;M=2065;break}else{ba=V;K=Y;break}}}while(0);if((M|0)==2065){K=kBb(24)|0;k[K+16>>2]=1073742050;k[K+20>>2]=0;k[K>>2]=0;k[K+4>>2]=0;k[K+8>>2]=$;k[aa>>2]=K;c=k[k[Fe>>2]>>2]|0;if(!c)c=K;else{k[Fe>>2]=c;c=k[aa>>2]|0}Qj(k[Fe+4>>2]|0,c);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;ba=k[Fe+4>>2]|0}k[K+20>>2]=159;do if(!ba){k[a>>2]=Fe+4;ia=Fe+4|0;ha=Fe+4|0;M=2078}else{K=ba;while(1){c=k[K+16>>2]|0;if((c|0)>1073742051){c=k[K>>2]|0;if(!c){ca=K;ga=K;M=2071;break}}else{if((c|0)>=1073742051){ea=K;M=2077;break}da=K+4|0;c=k[da>>2]|0;if(!c){fa=K;M=2075;break}}K=c}if((M|0)==2071){k[a>>2]=ga;ia=ca;ha=ga;M=2078;break}else if((M|0)==2075){k[a>>2]=fa;ia=da;ha=fa;M=2078;break}else if((M|0)==2077){k[a>>2]=ea;if(!ea){ia=a;ha=ea;M=2078;break}else{ja=ba;J=ea;break}}}while(0);if((M|0)==2078){J=kBb(24)|0;k[J+16>>2]=1073742051;k[J+20>>2]=0;k[J>>2]=0;k[J+4>>2]=0;k[J+8>>2]=ha;k[ia>>2]=J;c=k[k[Fe>>2]>>2]|0;if(!c)c=J;else{k[Fe>>2]=c;c=k[ia>>2]|0}Qj(k[Fe+4>>2]|0,c);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;ja=k[Fe+4>>2]|0}k[J+20>>2]=160;do if(!ja){k[a>>2]=Fe+4;qa=Fe+4|0;pa=Fe+4|0;M=2091}else{J=ja;while(1){c=k[J+16>>2]|0;if((c|0)>1073742052){c=k[J>>2]|0;if(!c){ka=J;oa=J;M=2084;break}}else{if((c|0)>=1073742052){ma=J;M=2090;break}la=J+4|0;c=k[la>>2]|0;if(!c){na=J;M=2088;break}}J=c}if((M|0)==2084){k[a>>2]=oa;qa=ka;pa=oa;M=2091;break}else if((M|0)==2088){k[a>>2]=na;qa=la;pa=na;M=2091;break}else if((M|0)==2090){k[a>>2]=ma;if(!ma){qa=a;pa=ma;M=2091;break}else{ra=ja;I=ma;break}}}while(0);if((M|0)==2091){I=kBb(24)|0;k[I+16>>2]=1073742052;k[I+20>>2]=0;k[I>>2]=0;k[I+4>>2]=0;k[I+8>>2]=pa;k[qa>>2]=I;c=k[k[Fe>>2]>>2]|0;if(!c)c=I;else{k[Fe>>2]=c;c=k[qa>>2]|0}Qj(k[Fe+4>>2]|0,c);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;ra=k[Fe+4>>2]|0}k[I+20>>2]=161;do if(!ra){k[a>>2]=Fe+4;ya=Fe+4|0;xa=Fe+4|0;M=2104}else{I=ra;while(1){c=k[I+16>>2]|0;if((c|0)>1073742053){c=k[I>>2]|0;if(!c){sa=I;wa=I;M=2097;break}}else{if((c|0)>=1073742053){ua=I;M=2103;break}ta=I+4|0;c=k[ta>>2]|0;if(!c){va=I;M=2101;break}}I=c}if((M|0)==2097){k[a>>2]=wa;ya=sa;xa=wa;M=2104;break}else if((M|0)==2101){k[a>>2]=va;ya=ta;xa=va;M=2104;break}else if((M|0)==2103){k[a>>2]=ua;if(!ua){ya=a;xa=ua;M=2104;break}else{za=ra;H=ua;break}}}while(0);if((M|0)==2104){H=kBb(24)|0;k[H+16>>2]=1073742053;k[H+20>>2]=0;k[H>>2]=0;k[H+4>>2]=0;k[H+8>>2]=xa;k[ya>>2]=H;c=k[k[Fe>>2]>>2]|0;if(!c)c=H;else{k[Fe>>2]=c;c=k[ya>>2]|0}Qj(k[Fe+4>>2]|0,c);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;za=k[Fe+4>>2]|0}k[H+20>>2]=162;do if(!za){k[a>>2]=Fe+4;Ga=Fe+4|0;Fa=Fe+4|0;M=2117}else{H=za;while(1){c=k[H+16>>2]|0;if((c|0)>1073742054){c=k[H>>2]|0;if(!c){Aa=H;Ea=H;M=2110;break}}else{if((c|0)>=1073742054){Ca=H;M=2116;break}Ba=H+4|0;c=k[Ba>>2]|0;if(!c){Da=H;M=2114;break}}H=c}if((M|0)==2110){k[a>>2]=Ea;Ga=Aa;Fa=Ea;M=2117;break}else if((M|0)==2114){k[a>>2]=Da;Ga=Ba;Fa=Da;M=2117;break}else if((M|0)==2116){k[a>>2]=Ca;if(!Ca){Ga=a;Fa=Ca;M=2117;break}else{Ha=za;G=Ca;break}}}while(0);if((M|0)==2117){G=kBb(24)|0;k[G+16>>2]=1073742054;k[G+20>>2]=0;k[G>>2]=0;k[G+4>>2]=0;k[G+8>>2]=Fa;k[Ga>>2]=G;c=k[k[Fe>>2]>>2]|0;if(!c)c=G;else{k[Fe>>2]=c;c=k[Ga>>2]|0}Qj(k[Fe+4>>2]|0,c);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;Ha=k[Fe+4>>2]|0}k[G+20>>2]=163;do if(!Ha){k[a>>2]=Fe+4;Oa=Fe+4|0;Na=Fe+4|0;M=2130}else{G=Ha;while(1){c=k[G+16>>2]|0;if((c|0)>1073742055){c=k[G>>2]|0;if(!c){Ia=G;Ma=G;M=2123;break}}else{if((c|0)>=1073742055){Ka=G;M=2129;break}Ja=G+4|0;c=k[Ja>>2]|0;if(!c){La=G;M=2127;break}}G=c}if((M|0)==2123){k[a>>2]=Ma;Oa=Ia;Na=Ma;M=2130;break}else if((M|0)==2127){k[a>>2]=La;Oa=Ja;Na=La;M=2130;break}else if((M|0)==2129){k[a>>2]=Ka;if(!Ka){Oa=a;Na=Ka;M=2130;break}else{Pa=Ha;F=Ka;break}}}while(0);if((M|0)==2130){F=kBb(24)|0;k[F+16>>2]=1073742055;k[F+20>>2]=0;k[F>>2]=0;k[F+4>>2]=0;k[F+8>>2]=Na;k[Oa>>2]=F;c=k[k[Fe>>2]>>2]|0;if(!c)c=F;else{k[Fe>>2]=c;c=k[Oa>>2]|0}Qj(k[Fe+4>>2]|0,c);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;Pa=k[Fe+4>>2]|0}k[F+20>>2]=164;do if(!Pa){k[a>>2]=Fe+4;Wa=Fe+4|0;Va=Fe+4|0;M=2143}else{F=Pa;while(1){c=k[F+16>>2]|0;if((c|0)>1073742081){c=k[F>>2]|0;if(!c){Qa=F;Ua=F;M=2136;break}}else{if((c|0)>=1073742081){Sa=F;M=2142;break}Ra=F+4|0;c=k[Ra>>2]|0;if(!c){Ta=F;M=2140;break}}F=c}if((M|0)==2136){k[a>>2]=Ua;Wa=Qa;Va=Ua;M=2143;break}else if((M|0)==2140){k[a>>2]=Ta;Wa=Ra;Va=Ta;M=2143;break}else if((M|0)==2142){k[a>>2]=Sa;if(!Sa){Wa=a;Va=Sa;M=2143;break}else{Xa=Pa;E=Sa;break}}}while(0);if((M|0)==2143){E=kBb(24)|0;k[E+16>>2]=1073742081;k[E+20>>2]=0;k[E>>2]=0;k[E+4>>2]=0;k[E+8>>2]=Va;k[Wa>>2]=E;c=k[k[Fe>>2]>>2]|0;if(!c)c=E;else{k[Fe>>2]=c;c=k[Wa>>2]|0}Qj(k[Fe+4>>2]|0,c);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;Xa=k[Fe+4>>2]|0}k[E+20>>2]=165;do if(!Xa){k[a>>2]=Fe+4;cb=Fe+4|0;bb=Fe+4|0;M=2156}else{E=Xa;while(1){c=k[E+16>>2]|0;if((c|0)>1073742082){c=k[E>>2]|0;if(!c){Ya=E;ab=E;M=2149;break}}else{if((c|0)>=1073742082){_a=E;M=2155;break}Za=E+4|0;c=k[Za>>2]|0;if(!c){$a=E;M=2153;break}}E=c}if((M|0)==2149){k[a>>2]=ab;cb=Ya;bb=ab;M=2156;break}else if((M|0)==2153){k[a>>2]=$a;cb=Za;bb=$a;M=2156;break}else if((M|0)==2155){k[a>>2]=_a;if(!_a){cb=a;bb=_a;M=2156;break}else{db=Xa;D=_a;break}}}while(0);if((M|0)==2156){D=kBb(24)|0;k[D+16>>2]=1073742082;k[D+20>>2]=0;k[D>>2]=0;k[D+4>>2]=0;k[D+8>>2]=bb;k[cb>>2]=D;c=k[k[Fe>>2]>>2]|0;if(!c)c=D;else{k[Fe>>2]=c;c=k[cb>>2]|0}Qj(k[Fe+4>>2]|0,c);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;db=k[Fe+4>>2]|0}k[D+20>>2]=166;do if(!db){k[a>>2]=Fe+4;kb=Fe+4|0;jb=Fe+4|0;M=2169}else{D=db;while(1){c=k[D+16>>2]|0;if((c|0)>1073742083){c=k[D>>2]|0;if(!c){eb=D;ib=D;M=2162;break}}else{if((c|0)>=1073742083){gb=D;M=2168;break}fb=D+4|0;c=k[fb>>2]|0;if(!c){hb=D;M=2166;break}}D=c}if((M|0)==2162){k[a>>2]=ib;kb=eb;jb=ib;M=2169;break}else if((M|0)==2166){k[a>>2]=hb;kb=fb;jb=hb;M=2169;break}else if((M|0)==2168){k[a>>2]=gb;if(!gb){kb=a;jb=gb;M=2169;break}else{lb=db;C=gb;break}}}while(0);if((M|0)==2169){C=kBb(24)|0;k[C+16>>2]=1073742083;k[C+20>>2]=0;k[C>>2]=0;k[C+4>>2]=0;k[C+8>>2]=jb;k[kb>>2]=C;c=k[k[Fe>>2]>>2]|0;if(!c)c=C;else{k[Fe>>2]=c;c=k[kb>>2]|0}Qj(k[Fe+4>>2]|0,c);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;lb=k[Fe+4>>2]|0}k[C+20>>2]=167;do if(!lb){k[a>>2]=Fe+4;sb=Fe+4|0;rb=Fe+4|0;M=2182}else{C=lb;while(1){c=k[C+16>>2]|0;if((c|0)>1073742084){c=k[C>>2]|0;if(!c){mb=C;qb=C;M=2175;break}}else{if((c|0)>=1073742084){ob=C;M=2181;break}nb=C+4|0;c=k[nb>>2]|0;if(!c){pb=C;M=2179;break}}C=c}if((M|0)==2175){k[a>>2]=qb;sb=mb;rb=qb;M=2182;break}else if((M|0)==2179){k[a>>2]=pb;sb=nb;rb=pb;M=2182;break}else if((M|0)==2181){k[a>>2]=ob;if(!ob){sb=a;rb=ob;M=2182;break}else{tb=lb;B=ob;break}}}while(0);if((M|0)==2182){B=kBb(24)|0;k[B+16>>2]=1073742084;k[B+20>>2]=0;k[B>>2]=0;k[B+4>>2]=0;k[B+8>>2]=rb;k[sb>>2]=B;c=k[k[Fe>>2]>>2]|0;if(!c)c=B;else{k[Fe>>2]=c;c=k[sb>>2]|0}Qj(k[Fe+4>>2]|0,c);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;tb=k[Fe+4>>2]|0}k[B+20>>2]=168;do if(!tb){k[a>>2]=Fe+4;Ab=Fe+4|0;zb=Fe+4|0;M=2195}else{B=tb;while(1){c=k[B+16>>2]|0;if((c|0)>1073742085){c=k[B>>2]|0;if(!c){ub=B;yb=B;M=2188;break}}else{if((c|0)>=1073742085){wb=B;M=2194;break}vb=B+4|0;c=k[vb>>2]|0;if(!c){xb=B;M=2192;break}}B=c}if((M|0)==2188){k[a>>2]=yb;Ab=ub;zb=yb;M=2195;break}else if((M|0)==2192){k[a>>2]=xb;Ab=vb;zb=xb;M=2195;break}else if((M|0)==2194){k[a>>2]=wb;if(!wb){Ab=a;zb=wb;M=2195;break}else{Bb=tb;A=wb;break}}}while(0);if((M|0)==2195){A=kBb(24)|0;k[A+16>>2]=1073742085;k[A+20>>2]=0;k[A>>2]=0;k[A+4>>2]=0;k[A+8>>2]=zb;k[Ab>>2]=A;c=k[k[Fe>>2]>>2]|0;if(!c)c=A;else{k[Fe>>2]=c;c=k[Ab>>2]|0}Qj(k[Fe+4>>2]|0,c);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;Bb=k[Fe+4>>2]|0}k[A+20>>2]=169;do if(!Bb){k[a>>2]=Fe+4;Ib=Fe+4|0;Hb=Fe+4|0;M=2208}else{A=Bb;while(1){c=k[A+16>>2]|0;if((c|0)>1073742086){c=k[A>>2]|0;if(!c){Cb=A;Gb=A;M=2201;break}}else{if((c|0)>=1073742086){Eb=A;M=2207;break}Db=A+4|0;c=k[Db>>2]|0;if(!c){Fb=A;M=2205;break}}A=c}if((M|0)==2201){k[a>>2]=Gb;Ib=Cb;Hb=Gb;M=2208;break}else if((M|0)==2205){k[a>>2]=Fb;Ib=Db;Hb=Fb;M=2208;break}else if((M|0)==2207){k[a>>2]=Eb;if(!Eb){Ib=a;Hb=Eb;M=2208;break}else{Jb=Bb;z=Eb;break}}}while(0);if((M|0)==2208){z=kBb(24)|0;k[z+16>>2]=1073742086;k[z+20>>2]=0;k[z>>2]=0;k[z+4>>2]=0;k[z+8>>2]=Hb;k[Ib>>2]=z;c=k[k[Fe>>2]>>2]|0;if(!c)c=z;else{k[Fe>>2]=c;c=k[Ib>>2]|0}Qj(k[Fe+4>>2]|0,c);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;Jb=k[Fe+4>>2]|0}k[z+20>>2]=170;do if(!Jb){k[a>>2]=Fe+4;Qb=Fe+4|0;Pb=Fe+4|0;M=2221}else{z=Jb;while(1){c=k[z+16>>2]|0;if((c|0)>1073742087){c=k[z>>2]|0;if(!c){Kb=z;Ob=z;M=2214;break}}else{if((c|0)>=1073742087){Mb=z;M=2220;break}Lb=z+4|0;c=k[Lb>>2]|0;if(!c){Nb=z;M=2218;break}}z=c}if((M|0)==2214){k[a>>2]=Ob;Qb=Kb;Pb=Ob;M=2221;break}else if((M|0)==2218){k[a>>2]=Nb;Qb=Lb;Pb=Nb;M=2221;break}else if((M|0)==2220){k[a>>2]=Mb;if(!Mb){Qb=a;Pb=Mb;M=2221;break}else{Rb=Jb;y=Mb;break}}}while(0);if((M|0)==2221){y=kBb(24)|0;k[y+16>>2]=1073742087;k[y+20>>2]=0;k[y>>2]=0;k[y+4>>2]=0;k[y+8>>2]=Pb;k[Qb>>2]=y;c=k[k[Fe>>2]>>2]|0;if(!c)c=y;else{k[Fe>>2]=c;c=k[Qb>>2]|0}Qj(k[Fe+4>>2]|0,c);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;Rb=k[Fe+4>>2]|0}k[y+20>>2]=171;do if(!Rb){k[a>>2]=Fe+4;Yb=Fe+4|0;Xb=Fe+4|0;M=2234}else{y=Rb;while(1){c=k[y+16>>2]|0;if((c|0)>1073742088){c=k[y>>2]|0;if(!c){Sb=y;Wb=y;M=2227;break}}else{if((c|0)>=1073742088){Ub=y;M=2233;break}Tb=y+4|0;c=k[Tb>>2]|0;if(!c){Vb=y;M=2231;break}}y=c}if((M|0)==2227){k[a>>2]=Wb;Yb=Sb;Xb=Wb;M=2234;break}else if((M|0)==2231){k[a>>2]=Vb;Yb=Tb;Xb=Vb;M=2234;break}else if((M|0)==2233){k[a>>2]=Ub;if(!Ub){Yb=a;Xb=Ub;M=2234;break}else{Zb=Rb;x=Ub;break}}}while(0);if((M|0)==2234){x=kBb(24)|0;k[x+16>>2]=1073742088;k[x+20>>2]=0;k[x>>2]=0;k[x+4>>2]=0;k[x+8>>2]=Xb;k[Yb>>2]=x;c=k[k[Fe>>2]>>2]|0;if(!c)c=x;else{k[Fe>>2]=c;c=k[Yb>>2]|0}Qj(k[Fe+4>>2]|0,c);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;Zb=k[Fe+4>>2]|0}k[x+20>>2]=172;do if(!Zb){k[a>>2]=Fe+4;ec=Fe+4|0;dc=Fe+4|0;M=2247}else{x=Zb;while(1){c=k[x+16>>2]|0;if((c|0)>1073742089){c=k[x>>2]|0;if(!c){_b=x;cc=x;M=2240;break}}else{if((c|0)>=1073742089){ac=x;M=2246;break}$b=x+4|0;c=k[$b>>2]|0;if(!c){bc=x;M=2244;break}}x=c}if((M|0)==2240){k[a>>2]=cc;ec=_b;dc=cc;M=2247;break}else if((M|0)==2244){k[a>>2]=bc;ec=$b;dc=bc;M=2247;break}else if((M|0)==2246){k[a>>2]=ac;if(!ac){ec=a;dc=ac;M=2247;break}else{fc=Zb;w=ac;break}}}while(0);if((M|0)==2247){w=kBb(24)|0;k[w+16>>2]=1073742089;k[w+20>>2]=0;k[w>>2]=0;k[w+4>>2]=0;k[w+8>>2]=dc;k[ec>>2]=w;c=k[k[Fe>>2]>>2]|0;if(!c)c=w;else{k[Fe>>2]=c;c=k[ec>>2]|0}Qj(k[Fe+4>>2]|0,c);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;fc=k[Fe+4>>2]|0}k[w+20>>2]=173;do if(!fc){k[a>>2]=Fe+4;mc=Fe+4|0;lc=Fe+4|0;M=2260}else{w=fc;while(1){c=k[w+16>>2]|0;if((c|0)>1073742090){c=k[w>>2]|0;if(!c){gc=w;kc=w;M=2253;break}}else{if((c|0)>=1073742090){ic=w;M=2259;break}hc=w+4|0;c=k[hc>>2]|0;if(!c){jc=w;M=2257;break}}w=c}if((M|0)==2253){k[a>>2]=kc;mc=gc;lc=kc;M=2260;break}else if((M|0)==2257){k[a>>2]=jc;mc=hc;lc=jc;M=2260;break}else if((M|0)==2259){k[a>>2]=ic;if(!ic){mc=a;lc=ic;M=2260;break}else{nc=fc;v=ic;break}}}while(0);if((M|0)==2260){v=kBb(24)|0;k[v+16>>2]=1073742090;k[v+20>>2]=0;k[v>>2]=0;k[v+4>>2]=0;k[v+8>>2]=lc;k[mc>>2]=v;c=k[k[Fe>>2]>>2]|0;if(!c)c=v;else{k[Fe>>2]=c;c=k[mc>>2]|0}Qj(k[Fe+4>>2]|0,c);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;nc=k[Fe+4>>2]|0}k[v+20>>2]=174;do if(!nc){k[a>>2]=Fe+4;uc=Fe+4|0;tc=Fe+4|0;M=2273}else{v=nc;while(1){c=k[v+16>>2]|0;if((c|0)>1073742091){c=k[v>>2]|0;if(!c){oc=v;sc=v;M=2266;break}}else{if((c|0)>=1073742091){qc=v;M=2272;break}pc=v+4|0;c=k[pc>>2]|0;if(!c){rc=v;M=2270;break}}v=c}if((M|0)==2266){k[a>>2]=sc;uc=oc;tc=sc;M=2273;break}else if((M|0)==2270){k[a>>2]=rc;uc=pc;tc=rc;M=2273;break}else if((M|0)==2272){k[a>>2]=qc;if(!qc){uc=a;tc=qc;M=2273;break}else{vc=nc;u=qc;break}}}while(0);if((M|0)==2273){u=kBb(24)|0;k[u+16>>2]=1073742091;k[u+20>>2]=0;k[u>>2]=0;k[u+4>>2]=0;k[u+8>>2]=tc;k[uc>>2]=u;c=k[k[Fe>>2]>>2]|0;if(!c)c=u;else{k[Fe>>2]=c;c=k[uc>>2]|0}Qj(k[Fe+4>>2]|0,c);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;vc=k[Fe+4>>2]|0}k[u+20>>2]=175;do if(!vc){k[a>>2]=Fe+4;Cc=Fe+4|0;Bc=Fe+4|0;M=2286}else{u=vc;while(1){c=k[u+16>>2]|0;if((c|0)>1073742092){c=k[u>>2]|0;if(!c){wc=u;Ac=u;M=2279;break}}else{if((c|0)>=1073742092){yc=u;M=2285;break}xc=u+4|0;c=k[xc>>2]|0;if(!c){zc=u;M=2283;break}}u=c}if((M|0)==2279){k[a>>2]=Ac;Cc=wc;Bc=Ac;M=2286;break}else if((M|0)==2283){k[a>>2]=zc;Cc=xc;Bc=zc;M=2286;break}else if((M|0)==2285){k[a>>2]=yc;if(!yc){Cc=a;Bc=yc;M=2286;break}else{Dc=vc;t=yc;break}}}while(0);if((M|0)==2286){t=kBb(24)|0;k[t+16>>2]=1073742092;k[t+20>>2]=0;k[t>>2]=0;k[t+4>>2]=0;k[t+8>>2]=Bc;k[Cc>>2]=t;c=k[k[Fe>>2]>>2]|0;if(!c)c=t;else{k[Fe>>2]=c;c=k[Cc>>2]|0}Qj(k[Fe+4>>2]|0,c);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;Dc=k[Fe+4>>2]|0}k[t+20>>2]=176;do if(!Dc){k[a>>2]=Fe+4;Kc=Fe+4|0;Jc=Fe+4|0;M=2299}else{t=Dc;while(1){c=k[t+16>>2]|0;if((c|0)>1073742093){c=k[t>>2]|0;if(!c){Ec=t;Ic=t;M=2292;break}}else{if((c|0)>=1073742093){Gc=t;M=2298;break}Fc=t+4|0;c=k[Fc>>2]|0;if(!c){Hc=t;M=2296;break}}t=c}if((M|0)==2292){k[a>>2]=Ic;Kc=Ec;Jc=Ic;M=2299;break}else if((M|0)==2296){k[a>>2]=Hc;Kc=Fc;Jc=Hc;M=2299;break}else if((M|0)==2298){k[a>>2]=Gc;if(!Gc){Kc=a;Jc=Gc;M=2299;break}else{Lc=Dc;s=Gc;break}}}while(0);if((M|0)==2299){s=kBb(24)|0;k[s+16>>2]=1073742093;k[s+20>>2]=0;k[s>>2]=0;k[s+4>>2]=0;k[s+8>>2]=Jc;k[Kc>>2]=s;c=k[k[Fe>>2]>>2]|0;if(!c)c=s;else{k[Fe>>2]=c;c=k[Kc>>2]|0}Qj(k[Fe+4>>2]|0,c);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;Lc=k[Fe+4>>2]|0}k[s+20>>2]=177;do if(!Lc){k[a>>2]=Fe+4;Sc=Fe+4|0;Rc=Fe+4|0;M=2312}else{s=Lc;while(1){c=k[s+16>>2]|0;if((c|0)>1073742094){c=k[s>>2]|0;if(!c){Mc=s;Qc=s;M=2305;break}}else{if((c|0)>=1073742094){Oc=s;M=2311;break}Nc=s+4|0;c=k[Nc>>2]|0;if(!c){Pc=s;M=2309;break}}s=c}if((M|0)==2305){k[a>>2]=Qc;Sc=Mc;Rc=Qc;M=2312;break}else if((M|0)==2309){k[a>>2]=Pc;Sc=Nc;Rc=Pc;M=2312;break}else if((M|0)==2311){k[a>>2]=Oc;if(!Oc){Sc=a;Rc=Oc;M=2312;break}else{Tc=Lc;q=Oc;break}}}while(0);if((M|0)==2312){q=kBb(24)|0;k[q+16>>2]=1073742094;k[q+20>>2]=0;k[q>>2]=0;k[q+4>>2]=0;k[q+8>>2]=Rc;k[Sc>>2]=q;c=k[k[Fe>>2]>>2]|0;if(!c)c=q;else{k[Fe>>2]=c;c=k[Sc>>2]|0}Qj(k[Fe+4>>2]|0,c);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;Tc=k[Fe+4>>2]|0}k[q+20>>2]=178;do if(!Tc){k[a>>2]=Fe+4;_c=Fe+4|0;Zc=Fe+4|0;M=2325}else{q=Tc;while(1){c=k[q+16>>2]|0;if((c|0)>1073742095){c=k[q>>2]|0;if(!c){Uc=q;Yc=q;M=2318;break}}else{if((c|0)>=1073742095){Wc=q;M=2324;break}Vc=q+4|0;c=k[Vc>>2]|0;if(!c){Xc=q;M=2322;break}}q=c}if((M|0)==2318){k[a>>2]=Yc;_c=Uc;Zc=Yc;M=2325;break}else if((M|0)==2322){k[a>>2]=Xc;_c=Vc;Zc=Xc;M=2325;break}else if((M|0)==2324){k[a>>2]=Wc;if(!Wc){_c=a;Zc=Wc;M=2325;break}else{$c=Tc;p=Wc;break}}}while(0);if((M|0)==2325){p=kBb(24)|0;k[p+16>>2]=1073742095;k[p+20>>2]=0;k[p>>2]=0;k[p+4>>2]=0;k[p+8>>2]=Zc;k[_c>>2]=p;c=k[k[Fe>>2]>>2]|0;if(!c)c=p;else{k[Fe>>2]=c;c=k[_c>>2]|0}Qj(k[Fe+4>>2]|0,c);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;$c=k[Fe+4>>2]|0}k[p+20>>2]=179;do if(!$c){k[a>>2]=Fe+4;gd=Fe+4|0;fd=Fe+4|0;M=2338}else{p=$c;while(1){c=k[p+16>>2]|0;if((c|0)>1073742096){c=k[p>>2]|0;if(!c){ad=p;ed=p;M=2331;break}}else{if((c|0)>=1073742096){cd=p;M=2337;break}bd=p+4|0;c=k[bd>>2]|0;if(!c){dd=p;M=2335;break}}p=c}if((M|0)==2331){k[a>>2]=ed;gd=ad;fd=ed;M=2338;break}else if((M|0)==2335){k[a>>2]=dd;gd=bd;fd=dd;M=2338;break}else if((M|0)==2337){k[a>>2]=cd;if(!cd){gd=a;fd=cd;M=2338;break}else{hd=$c;o=cd;break}}}while(0);if((M|0)==2338){o=kBb(24)|0;k[o+16>>2]=1073742096;k[o+20>>2]=0;k[o>>2]=0;k[o+4>>2]=0;k[o+8>>2]=fd;k[gd>>2]=o;c=k[k[Fe>>2]>>2]|0;if(!c)c=o;else{k[Fe>>2]=c;c=k[gd>>2]|0}Qj(k[Fe+4>>2]|0,c);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;hd=k[Fe+4>>2]|0}k[o+20>>2]=180;do if(!hd){k[a>>2]=Fe+4;od=Fe+4|0;nd=Fe+4|0;M=2351}else{o=hd;while(1){c=k[o+16>>2]|0;if((c|0)>1073742097){c=k[o>>2]|0;if(!c){id=o;md=o;M=2344;break}}else{if((c|0)>=1073742097){kd=o;M=2350;break}jd=o+4|0;c=k[jd>>2]|0;if(!c){ld=o;M=2348;break}}o=c}if((M|0)==2344){k[a>>2]=md;od=id;nd=md;M=2351;break}else if((M|0)==2348){k[a>>2]=ld;od=jd;nd=ld;M=2351;break}else if((M|0)==2350){k[a>>2]=kd;if(!kd){od=a;nd=kd;M=2351;break}else{pd=hd;n=kd;break}}}while(0);if((M|0)==2351){n=kBb(24)|0;k[n+16>>2]=1073742097;k[n+20>>2]=0;k[n>>2]=0;k[n+4>>2]=0;k[n+8>>2]=nd;k[od>>2]=n;c=k[k[Fe>>2]>>2]|0;if(!c)c=n;else{k[Fe>>2]=c;c=k[od>>2]|0}Qj(k[Fe+4>>2]|0,c);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;pd=k[Fe+4>>2]|0}k[n+20>>2]=181;do if(!pd){k[a>>2]=Fe+4;wd=Fe+4|0;vd=Fe+4|0;M=2364}else{n=pd;while(1){c=k[n+16>>2]|0;if((c|0)>1073742098){c=k[n>>2]|0;if(!c){qd=n;ud=n;M=2357;break}}else{if((c|0)>=1073742098){sd=n;M=2363;break}rd=n+4|0;c=k[rd>>2]|0;if(!c){td=n;M=2361;break}}n=c}if((M|0)==2357){k[a>>2]=ud;wd=qd;vd=ud;M=2364;break}else if((M|0)==2361){k[a>>2]=td;wd=rd;vd=td;M=2364;break}else if((M|0)==2363){k[a>>2]=sd;if(!sd){wd=a;vd=sd;M=2364;break}else{xd=pd;m=sd;break}}}while(0);if((M|0)==2364){m=kBb(24)|0;k[m+16>>2]=1073742098;k[m+20>>2]=0;k[m>>2]=0;k[m+4>>2]=0;k[m+8>>2]=vd;k[wd>>2]=m;c=k[k[Fe>>2]>>2]|0;if(!c)c=m;else{k[Fe>>2]=c;c=k[wd>>2]|0}Qj(k[Fe+4>>2]|0,c);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;xd=k[Fe+4>>2]|0}k[m+20>>2]=182;do if(!xd){k[a>>2]=Fe+4;Ed=Fe+4|0;Dd=Fe+4|0;M=2377}else{m=xd;while(1){c=k[m+16>>2]|0;if((c|0)>1073742099){c=k[m>>2]|0;if(!c){yd=m;Cd=m;M=2370;break}}else{if((c|0)>=1073742099){Ad=m;M=2376;break}zd=m+4|0;c=k[zd>>2]|0;if(!c){Bd=m;M=2374;break}}m=c}if((M|0)==2370){k[a>>2]=Cd;Ed=yd;Dd=Cd;M=2377;break}else if((M|0)==2374){k[a>>2]=Bd;Ed=zd;Dd=Bd;M=2377;break}else if((M|0)==2376){k[a>>2]=Ad;if(!Ad){Ed=a;Dd=Ad;M=2377;break}else{Fd=xd;l=Ad;break}}}while(0);if((M|0)==2377){l=kBb(24)|0;k[l+16>>2]=1073742099;k[l+20>>2]=0;k[l>>2]=0;k[l+4>>2]=0;k[l+8>>2]=Dd;k[Ed>>2]=l;c=k[k[Fe>>2]>>2]|0;if(!c)c=l;else{k[Fe>>2]=c;c=k[Ed>>2]|0}Qj(k[Fe+4>>2]|0,c);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;Fd=k[Fe+4>>2]|0}k[l+20>>2]=183;do if(!Fd){k[a>>2]=Fe+4;Md=Fe+4|0;Ld=Fe+4|0;M=2390}else{l=Fd;while(1){c=k[l+16>>2]|0;if((c|0)>1073742100){c=k[l>>2]|0;if(!c){Gd=l;Kd=l;M=2383;break}}else{if((c|0)>=1073742100){Id=l;M=2389;break}Hd=l+4|0;c=k[Hd>>2]|0;if(!c){Jd=l;M=2387;break}}l=c}if((M|0)==2383){k[a>>2]=Kd;Md=Gd;Ld=Kd;M=2390;break}else if((M|0)==2387){k[a>>2]=Jd;Md=Hd;Ld=Jd;M=2390;break}else if((M|0)==2389){k[a>>2]=Id;if(!Id){Md=a;Ld=Id;M=2390;break}else{Nd=Fd;j=Id;break}}}while(0);if((M|0)==2390){j=kBb(24)|0;k[j+16>>2]=1073742100;k[j+20>>2]=0;k[j>>2]=0;k[j+4>>2]=0;k[j+8>>2]=Ld;k[Md>>2]=j;c=k[k[Fe>>2]>>2]|0;if(!c)c=j;else{k[Fe>>2]=c;c=k[Md>>2]|0}Qj(k[Fe+4>>2]|0,c);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;Nd=k[Fe+4>>2]|0}k[j+20>>2]=184;do if(!Nd){k[a>>2]=Fe+4;Ud=Fe+4|0;Td=Fe+4|0;M=2403}else{j=Nd;while(1){c=k[j+16>>2]|0;if((c|0)>1073742101){c=k[j>>2]|0;if(!c){Od=j;Sd=j;M=2396;break}}else{if((c|0)>=1073742101){Qd=j;M=2402;break}Pd=j+4|0;c=k[Pd>>2]|0;if(!c){Rd=j;M=2400;break}}j=c}if((M|0)==2396){k[a>>2]=Sd;Ud=Od;Td=Sd;M=2403;break}else if((M|0)==2400){k[a>>2]=Rd;Ud=Pd;Td=Rd;M=2403;break}else if((M|0)==2402){k[a>>2]=Qd;if(!Qd){Ud=a;Td=Qd;M=2403;break}else{Vd=Nd;i=Qd;break}}}while(0);if((M|0)==2403){i=kBb(24)|0;k[i+16>>2]=1073742101;k[i+20>>2]=0;k[i>>2]=0;k[i+4>>2]=0;k[i+8>>2]=Td;k[Ud>>2]=i;c=k[k[Fe>>2]>>2]|0;if(!c)c=i;else{k[Fe>>2]=c;c=k[Ud>>2]|0}Qj(k[Fe+4>>2]|0,c);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;Vd=k[Fe+4>>2]|0}k[i+20>>2]=185;do if(!Vd){k[a>>2]=Fe+4;ae=Fe+4|0;$d=Fe+4|0;M=2416}else{i=Vd;while(1){c=k[i+16>>2]|0;if((c|0)>1073742102){c=k[i>>2]|0;if(!c){Wd=i;_d=i;M=2409;break}}else{if((c|0)>=1073742102){Yd=i;M=2415;break}Xd=i+4|0;c=k[Xd>>2]|0;if(!c){Zd=i;M=2413;break}}i=c}if((M|0)==2409){k[a>>2]=_d;ae=Wd;$d=_d;M=2416;break}else if((M|0)==2413){k[a>>2]=Zd;ae=Xd;$d=Zd;M=2416;break}else if((M|0)==2415){k[a>>2]=Yd;if(!Yd){ae=a;$d=Yd;M=2416;break}else{be=Vd;h=Yd;break}}}while(0);if((M|0)==2416){h=kBb(24)|0;k[h+16>>2]=1073742102;k[h+20>>2]=0;k[h>>2]=0;k[h+4>>2]=0;k[h+8>>2]=$d;k[ae>>2]=h;c=k[k[Fe>>2]>>2]|0;if(!c)c=h;else{k[Fe>>2]=c;c=k[ae>>2]|0}Qj(k[Fe+4>>2]|0,c);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;be=k[Fe+4>>2]|0}k[h+20>>2]=186;do if(!be){k[a>>2]=Fe+4;ie=Fe+4|0;he=Fe+4|0;M=2429}else{h=be;while(1){c=k[h+16>>2]|0;if((c|0)>1073742103){c=k[h>>2]|0;if(!c){ce=h;ge=h;M=2422;break}}else{if((c|0)>=1073742103){ee=h;M=2428;break}de=h+4|0;c=k[de>>2]|0;if(!c){fe=h;M=2426;break}}h=c}if((M|0)==2422){k[a>>2]=ge;ie=ce;he=ge;M=2429;break}else if((M|0)==2426){k[a>>2]=fe;ie=de;he=fe;M=2429;break}else if((M|0)==2428){k[a>>2]=ee;if(!ee){ie=a;he=ee;M=2429;break}else{je=be;g=ee;break}}}while(0);if((M|0)==2429){g=kBb(24)|0;k[g+16>>2]=1073742103;k[g+20>>2]=0;k[g>>2]=0;k[g+4>>2]=0;k[g+8>>2]=he;k[ie>>2]=g;c=k[k[Fe>>2]>>2]|0;if(!c)c=g;else{k[Fe>>2]=c;c=k[ie>>2]|0}Qj(k[Fe+4>>2]|0,c);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;je=k[Fe+4>>2]|0}k[g+20>>2]=187;do if(!je){k[a>>2]=Fe+4;qe=Fe+4|0;pe=Fe+4|0;M=2442}else{g=je;while(1){c=k[g+16>>2]|0;if((c|0)>1073742104){c=k[g>>2]|0;if(!c){ke=g;oe=g;M=2435;break}}else{if((c|0)>=1073742104){me=g;M=2441;break}le=g+4|0;c=k[le>>2]|0;if(!c){ne=g;M=2439;break}}g=c}if((M|0)==2435){k[a>>2]=oe;qe=ke;pe=oe;M=2442;break}else if((M|0)==2439){k[a>>2]=ne;qe=le;pe=ne;M=2442;break}else if((M|0)==2441){k[a>>2]=me;if(!me){qe=a;pe=me;M=2442;break}else{re=je;f=me;break}}}while(0);if((M|0)==2442){f=kBb(24)|0;k[f+16>>2]=1073742104;k[f+20>>2]=0;k[f>>2]=0;k[f+4>>2]=0;k[f+8>>2]=pe;k[qe>>2]=f;c=k[k[Fe>>2]>>2]|0;if(!c)c=f;else{k[Fe>>2]=c;c=k[qe>>2]|0}Qj(k[Fe+4>>2]|0,c);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;re=k[Fe+4>>2]|0}k[f+20>>2]=188;do if(!re){k[a>>2]=Fe+4;ye=Fe+4|0;xe=Fe+4|0;M=2455}else{f=re;while(1){c=k[f+16>>2]|0;if((c|0)>1073742105){c=k[f>>2]|0;if(!c){se=f;we=f;M=2448;break}}else{if((c|0)>=1073742105){ue=f;M=2454;break}te=f+4|0;c=k[te>>2]|0;if(!c){ve=f;M=2452;break}}f=c}if((M|0)==2448){k[a>>2]=we;ye=se;xe=we;M=2455;break}else if((M|0)==2452){k[a>>2]=ve;ye=te;xe=ve;M=2455;break}else if((M|0)==2454){k[a>>2]=ue;if(!ue){ye=a;xe=ue;M=2455;break}else{d=re;e=ue;break}}}while(0);if((M|0)==2455){e=kBb(24)|0;k[e+16>>2]=1073742105;k[e+20>>2]=0;k[e>>2]=0;k[e+4>>2]=0;k[e+8>>2]=xe;k[ye>>2]=e;c=k[k[Fe>>2]>>2]|0;if(!c)c=e;else{k[Fe>>2]=c;c=k[ye>>2]|0}Qj(k[Fe+4>>2]|0,c);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;d=k[Fe+4>>2]|0}k[e+20>>2]=189;do if(!d){k[a>>2]=Fe+4;Ee=Fe+4|0;De=Fe+4|0}else{while(1){c=k[d+16>>2]|0;if((c|0)>1073742106){c=k[d>>2]|0;if(!c){ze=d;Ce=d;M=2461;break}}else{if((c|0)>=1073742106){b=d;M=2467;break}Ae=d+4|0;c=k[Ae>>2]|0;if(!c){Be=d;M=2465;break}}d=c}if((M|0)==2461){k[a>>2]=Ce;Ee=ze;De=Ce;break}else if((M|0)==2465){k[a>>2]=Be;Ee=Ae;De=Be;break}else if((M|0)==2467){k[a>>2]=b;if(!b){Ee=a;De=b;break}Fe=b+20|0;k[Fe>>2]=190;r=a;k[a+25912>>2]=5;break a}}while(0);c=kBb(24)|0;k[c+16>>2]=1073742106;k[c+20>>2]=0;k[c>>2]=0;k[c+4>>2]=0;k[c+8>>2]=De;k[Ee>>2]=c;b=k[k[Fe>>2]>>2]|0;if(!b)b=c;else{k[Fe>>2]=b;b=k[Ee>>2]|0}Qj(k[Fe+4>>2]|0,b);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;Fe=c;Fe=Fe+20|0;k[Fe>>2]=190;r=a;k[a+25912>>2]=5;break a}k[a+25904>>2]=M}function kfa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,jb=0,kb=0,lb=0,mb=0,nb=0,ob=0,pb=0,qb=0,rb=0,sb=0,tb=0,ub=0,vb=0,wb=0,xb=0,yb=0,zb=0,Ab=0,Bb=0,Cb=0,Db=0,Eb=0,Fb=0,Gb=0,Hb=0,Ib=0,Jb=0,Kb=0,Lb=0,Mb=0,Nb=0,Ob=0,Pb=0,Qb=0,Rb=0,Sb=0,Tb=0,Ub=0,Vb=0,Wb=0,Xb=0,Yb=0,Zb=0,_b=0,$b=0,ac=0,bc=0,cc=0,dc=0,ec=0,fc=0,gc=0,hc=0,ic=0,jc=0,kc=0,lc=0,mc=0,nc=0,oc=0,pc=0,qc=0,rc=0,sc=0,tc=0,uc=0,vc=0,wc=0,xc=0,yc=0,zc=0,Ac=0,Bc=0,Cc=0,Dc=0,Ec=0,Fc=0,Gc=0,Hc=0,Ic=0,Jc=0,Kc=0,Lc=0,Mc=0,Nc=0,Oc=0,Pc=0,Qc=0,Rc=0,Sc=0,Tc=0,Uc=0,Vc=0,Wc=0,Xc=0,Yc=0,Zc=0,_c=0,$c=0,ad=0,bd=0,cd=0,dd=0,ed=0,fd=0,gd=0,hd=0,id=0,jd=0,kd=0,ld=0,md=0,nd=0,od=0,pd=0,qd=0,rd=0,sd=0,td=0,ud=0,vd=0,wd=0,xd=0,yd=0,zd=0,Ad=0,Bd=0,Cd=0,Dd=0,Ed=0,Fd=0,Gd=0,Hd=0,Id=0,Jd=0,Kd=0,Ld=0,Md=0,Nd=0,Od=0,Pd=0,Qd=0,Rd=0,Sd=0,Td=0,Ud=0,Vd=0,Wd=0,Xd=0,Yd=0,Zd=0,_d=0,$d=0,ae=0,be=0,ce=0,de=0,ee=0,fe=0,ge=0,he=0,ie=0,je=0,ke=0,le=0,me=0,ne=0,oe=0,pe=0,qe=0,re=0,se=0,te=0,ue=0,ve=0,we=0,xe=0,ye=0,ze=0,Ae=0,Be=0,Ce=0,De=0,Ee=0,Fe=0,Ge=0;Ge=k[a+32>>2]|0;M=k[a+11968>>2]|0;Ee=k[a+14624>>2]|0;K=k[a+24888>>2]|0;k[K+20>>2]=124;do if(!M){k[a>>2]=Ge+4;S=Ge+4|0;R=Ge+4|0;K=1623}else{K=M;while(1){b=k[K+16>>2]|0;if((b|0)>1073741936){b=k[K>>2]|0;if(!b){L=K;Q=K;K=1616;break}}else{if((b|0)>=1073741936){O=K;K=1622;break}N=K+4|0;b=k[N>>2]|0;if(!b){P=K;K=1620;break}}K=b}if((K|0)==1616){k[a>>2]=Q;S=L;R=Q;K=1623;break}else if((K|0)==1620){k[a>>2]=P;S=N;R=P;K=1623;break}else if((K|0)==1622){k[a>>2]=O;if(!O){S=a;R=O;K=1623;break}else{T=M;J=O;break}}}while(0);if((K|0)==1623){J=kBb(24)|0;k[J+16>>2]=1073741936;k[J+20>>2]=0;k[J>>2]=0;k[J+4>>2]=0;k[J+8>>2]=R;k[S>>2]=J;b=k[k[Ge>>2]>>2]|0;if(!b)b=J;else{k[Ge>>2]=b;b=k[S>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;T=k[Ge+4>>2]|0}k[J+20>>2]=125;do if(!T){k[a>>2]=Ge+4;_=Ge+4|0;Z=Ge+4|0;K=1636}else{J=T;while(1){b=k[J+16>>2]|0;if((b|0)>1073741937){b=k[J>>2]|0;if(!b){U=J;Y=J;K=1629;break}}else{if((b|0)>=1073741937){W=J;K=1635;break}V=J+4|0;b=k[V>>2]|0;if(!b){X=J;K=1633;break}}J=b}if((K|0)==1629){k[a>>2]=Y;_=U;Z=Y;K=1636;break}else if((K|0)==1633){k[a>>2]=X;_=V;Z=X;K=1636;break}else if((K|0)==1635){k[a>>2]=W;if(!W){_=a;Z=W;K=1636;break}else{$=T;I=W;break}}}while(0);if((K|0)==1636){I=kBb(24)|0;k[I+16>>2]=1073741937;k[I+20>>2]=0;k[I>>2]=0;k[I+4>>2]=0;k[I+8>>2]=Z;k[_>>2]=I;b=k[k[Ge>>2]>>2]|0;if(!b)b=I;else{k[Ge>>2]=b;b=k[_>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;$=k[Ge+4>>2]|0}k[I+20>>2]=126;do if(!$){k[a>>2]=Ge+4;ga=Ge+4|0;fa=Ge+4|0;K=1649}else{I=$;while(1){b=k[I+16>>2]|0;if((b|0)>1073741938){b=k[I>>2]|0;if(!b){aa=I;ea=I;K=1642;break}}else{if((b|0)>=1073741938){ca=I;K=1648;break}ba=I+4|0;b=k[ba>>2]|0;if(!b){da=I;K=1646;break}}I=b}if((K|0)==1642){k[a>>2]=ea;ga=aa;fa=ea;K=1649;break}else if((K|0)==1646){k[a>>2]=da;ga=ba;fa=da;K=1649;break}else if((K|0)==1648){k[a>>2]=ca;if(!ca){ga=a;fa=ca;K=1649;break}else{ha=$;H=ca;break}}}while(0);if((K|0)==1649){H=kBb(24)|0;k[H+16>>2]=1073741938;k[H+20>>2]=0;k[H>>2]=0;k[H+4>>2]=0;k[H+8>>2]=fa;k[ga>>2]=H;b=k[k[Ge>>2]>>2]|0;if(!b)b=H;else{k[Ge>>2]=b;b=k[ga>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;ha=k[Ge+4>>2]|0}k[H+20>>2]=127;do if(!ha){k[a>>2]=Ge+4;oa=Ge+4|0;na=Ge+4|0;K=1662}else{H=ha;while(1){b=k[H+16>>2]|0;if((b|0)>1073741939){b=k[H>>2]|0;if(!b){ia=H;ma=H;K=1655;break}}else{if((b|0)>=1073741939){ka=H;K=1661;break}ja=H+4|0;b=k[ja>>2]|0;if(!b){la=H;K=1659;break}}H=b}if((K|0)==1655){k[a>>2]=ma;oa=ia;na=ma;K=1662;break}else if((K|0)==1659){k[a>>2]=la;oa=ja;na=la;K=1662;break}else if((K|0)==1661){k[a>>2]=ka;if(!ka){oa=a;na=ka;K=1662;break}else{pa=ha;G=ka;break}}}while(0);if((K|0)==1662){G=kBb(24)|0;k[G+16>>2]=1073741939;k[G+20>>2]=0;k[G>>2]=0;k[G+4>>2]=0;k[G+8>>2]=na;k[oa>>2]=G;b=k[k[Ge>>2]>>2]|0;if(!b)b=G;else{k[Ge>>2]=b;b=k[oa>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;pa=k[Ge+4>>2]|0}k[G+20>>2]=128;do if(!pa){k[a>>2]=Ge+4;wa=Ge+4|0;va=Ge+4|0;K=1675}else{G=pa;while(1){b=k[G+16>>2]|0;if((b|0)>1073741940){b=k[G>>2]|0;if(!b){qa=G;ua=G;K=1668;break}}else{if((b|0)>=1073741940){sa=G;K=1674;break}ra=G+4|0;b=k[ra>>2]|0;if(!b){ta=G;K=1672;break}}G=b}if((K|0)==1668){k[a>>2]=ua;wa=qa;va=ua;K=1675;break}else if((K|0)==1672){k[a>>2]=ta;wa=ra;va=ta;K=1675;break}else if((K|0)==1674){k[a>>2]=sa;if(!sa){wa=a;va=sa;K=1675;break}else{xa=pa;F=sa;break}}}while(0);if((K|0)==1675){F=kBb(24)|0;k[F+16>>2]=1073741940;k[F+20>>2]=0;k[F>>2]=0;k[F+4>>2]=0;k[F+8>>2]=va;k[wa>>2]=F;b=k[k[Ge>>2]>>2]|0;if(!b)b=F;else{k[Ge>>2]=b;b=k[wa>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;xa=k[Ge+4>>2]|0}k[F+20>>2]=129;do if(!xa){k[a>>2]=Ge+4;Ea=Ge+4|0;Da=Ge+4|0;K=1688}else{F=xa;while(1){b=k[F+16>>2]|0;if((b|0)>1073741941){b=k[F>>2]|0;if(!b){ya=F;Ca=F;K=1681;break}}else{if((b|0)>=1073741941){Aa=F;K=1687;break}za=F+4|0;b=k[za>>2]|0;if(!b){Ba=F;K=1685;break}}F=b}if((K|0)==1681){k[a>>2]=Ca;Ea=ya;Da=Ca;K=1688;break}else if((K|0)==1685){k[a>>2]=Ba;Ea=za;Da=Ba;K=1688;break}else if((K|0)==1687){k[a>>2]=Aa;if(!Aa){Ea=a;Da=Aa;K=1688;break}else{Fa=xa;E=Aa;break}}}while(0);if((K|0)==1688){E=kBb(24)|0;k[E+16>>2]=1073741941;k[E+20>>2]=0;k[E>>2]=0;k[E+4>>2]=0;k[E+8>>2]=Da;k[Ea>>2]=E;b=k[k[Ge>>2]>>2]|0;if(!b)b=E;else{k[Ge>>2]=b;b=k[Ea>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;Fa=k[Ge+4>>2]|0}k[E+20>>2]=130;do if(!Fa){k[a>>2]=Ge+4;Ma=Ge+4|0;La=Ge+4|0;K=1701}else{E=Fa;while(1){b=k[E+16>>2]|0;if((b|0)>1073741942){b=k[E>>2]|0;if(!b){Ga=E;Ka=E;K=1694;break}}else{if((b|0)>=1073741942){Ia=E;K=1700;break}Ha=E+4|0;b=k[Ha>>2]|0;if(!b){Ja=E;K=1698;break}}E=b}if((K|0)==1694){k[a>>2]=Ka;Ma=Ga;La=Ka;K=1701;break}else if((K|0)==1698){k[a>>2]=Ja;Ma=Ha;La=Ja;K=1701;break}else if((K|0)==1700){k[a>>2]=Ia;if(!Ia){Ma=a;La=Ia;K=1701;break}else{Na=Fa;D=Ia;break}}}while(0);if((K|0)==1701){D=kBb(24)|0;k[D+16>>2]=1073741942;k[D+20>>2]=0;k[D>>2]=0;k[D+4>>2]=0;k[D+8>>2]=La;k[Ma>>2]=D;b=k[k[Ge>>2]>>2]|0;if(!b)b=D;else{k[Ge>>2]=b;b=k[Ma>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;Na=k[Ge+4>>2]|0}k[D+20>>2]=131;do if(!Na){k[a>>2]=Ge+4;Ua=Ge+4|0;Ta=Ge+4|0;K=1714}else{D=Na;while(1){b=k[D+16>>2]|0;if((b|0)>1073741943){b=k[D>>2]|0;if(!b){Oa=D;Sa=D;K=1707;break}}else{if((b|0)>=1073741943){Qa=D;K=1713;break}Pa=D+4|0;b=k[Pa>>2]|0;if(!b){Ra=D;K=1711;break}}D=b}if((K|0)==1707){k[a>>2]=Sa;Ua=Oa;Ta=Sa;K=1714;break}else if((K|0)==1711){k[a>>2]=Ra;Ua=Pa;Ta=Ra;K=1714;break}else if((K|0)==1713){k[a>>2]=Qa;if(!Qa){Ua=a;Ta=Qa;K=1714;break}else{Va=Na;C=Qa;break}}}while(0);if((K|0)==1714){C=kBb(24)|0;k[C+16>>2]=1073741943;k[C+20>>2]=0;k[C>>2]=0;k[C+4>>2]=0;k[C+8>>2]=Ta;k[Ua>>2]=C;b=k[k[Ge>>2]>>2]|0;if(!b)b=C;else{k[Ge>>2]=b;b=k[Ua>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;Va=k[Ge+4>>2]|0}k[C+20>>2]=132;do if(!Va){k[a>>2]=Ge+4;ab=Ge+4|0;$a=Ge+4|0;K=1727}else{C=Va;while(1){b=k[C+16>>2]|0;if((b|0)>1073741944){b=k[C>>2]|0;if(!b){Wa=C;_a=C;K=1720;break}}else{if((b|0)>=1073741944){Ya=C;K=1726;break}Xa=C+4|0;b=k[Xa>>2]|0;if(!b){Za=C;K=1724;break}}C=b}if((K|0)==1720){k[a>>2]=_a;ab=Wa;$a=_a;K=1727;break}else if((K|0)==1724){k[a>>2]=Za;ab=Xa;$a=Za;K=1727;break}else if((K|0)==1726){k[a>>2]=Ya;if(!Ya){ab=a;$a=Ya;K=1727;break}else{bb=Va;B=Ya;break}}}while(0);if((K|0)==1727){B=kBb(24)|0;k[B+16>>2]=1073741944;k[B+20>>2]=0;k[B>>2]=0;k[B+4>>2]=0;k[B+8>>2]=$a;k[ab>>2]=B;b=k[k[Ge>>2]>>2]|0;if(!b)b=B;else{k[Ge>>2]=b;b=k[ab>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;bb=k[Ge+4>>2]|0}k[B+20>>2]=133;do if(!bb){k[a>>2]=Ge+4;ib=Ge+4|0;hb=Ge+4|0;K=1740}else{B=bb;while(1){b=k[B+16>>2]|0;if((b|0)>1073741945){b=k[B>>2]|0;if(!b){cb=B;gb=B;K=1733;break}}else{if((b|0)>=1073741945){eb=B;K=1739;break}db=B+4|0;b=k[db>>2]|0;if(!b){fb=B;K=1737;break}}B=b}if((K|0)==1733){k[a>>2]=gb;ib=cb;hb=gb;K=1740;break}else if((K|0)==1737){k[a>>2]=fb;ib=db;hb=fb;K=1740;break}else if((K|0)==1739){k[a>>2]=eb;if(!eb){ib=a;hb=eb;K=1740;break}else{jb=bb;A=eb;break}}}while(0);if((K|0)==1740){A=kBb(24)|0;k[A+16>>2]=1073741945;k[A+20>>2]=0;k[A>>2]=0;k[A+4>>2]=0;k[A+8>>2]=hb;k[ib>>2]=A;b=k[k[Ge>>2]>>2]|0;if(!b)b=A;else{k[Ge>>2]=b;b=k[ib>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;jb=k[Ge+4>>2]|0}k[A+20>>2]=134;do if(!jb){k[a>>2]=Ge+4;qb=Ge+4|0;pb=Ge+4|0;K=1753}else{A=jb;while(1){b=k[A+16>>2]|0;if((b|0)>1073741946){b=k[A>>2]|0;if(!b){kb=A;ob=A;K=1746;break}}else{if((b|0)>=1073741946){mb=A;K=1752;break}lb=A+4|0;b=k[lb>>2]|0;if(!b){nb=A;K=1750;break}}A=b}if((K|0)==1746){k[a>>2]=ob;qb=kb;pb=ob;K=1753;break}else if((K|0)==1750){k[a>>2]=nb;qb=lb;pb=nb;K=1753;break}else if((K|0)==1752){k[a>>2]=mb;if(!mb){qb=a;pb=mb;K=1753;break}else{rb=jb;z=mb;break}}}while(0);if((K|0)==1753){z=kBb(24)|0;k[z+16>>2]=1073741946;k[z+20>>2]=0;k[z>>2]=0;k[z+4>>2]=0;k[z+8>>2]=pb;k[qb>>2]=z;b=k[k[Ge>>2]>>2]|0;if(!b)b=z;else{k[Ge>>2]=b;b=k[qb>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;rb=k[Ge+4>>2]|0}k[z+20>>2]=135;do if(!rb){k[a>>2]=Ge+4;yb=Ge+4|0;xb=Ge+4|0;K=1766}else{z=rb;while(1){b=k[z+16>>2]|0;if((b|0)>1073741947){b=k[z>>2]|0;if(!b){sb=z;wb=z;K=1759;break}}else{if((b|0)>=1073741947){ub=z;K=1765;break}tb=z+4|0;b=k[tb>>2]|0;if(!b){vb=z;K=1763;break}}z=b}if((K|0)==1759){k[a>>2]=wb;yb=sb;xb=wb;K=1766;break}else if((K|0)==1763){k[a>>2]=vb;yb=tb;xb=vb;K=1766;break}else if((K|0)==1765){k[a>>2]=ub;if(!ub){yb=a;xb=ub;K=1766;break}else{zb=rb;y=ub;break}}}while(0);if((K|0)==1766){y=kBb(24)|0;k[y+16>>2]=1073741947;k[y+20>>2]=0;k[y>>2]=0;k[y+4>>2]=0;k[y+8>>2]=xb;k[yb>>2]=y;b=k[k[Ge>>2]>>2]|0;if(!b)b=y;else{k[Ge>>2]=b;b=k[yb>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;zb=k[Ge+4>>2]|0}k[y+20>>2]=136;do if(!zb){k[a>>2]=Ge+4;Gb=Ge+4|0;Fb=Ge+4|0;K=1779}else{y=zb;while(1){b=k[y+16>>2]|0;if((b|0)>1073741948){b=k[y>>2]|0;if(!b){Ab=y;Eb=y;K=1772;break}}else{if((b|0)>=1073741948){Cb=y;K=1778;break}Bb=y+4|0;b=k[Bb>>2]|0;if(!b){Db=y;K=1776;break}}y=b}if((K|0)==1772){k[a>>2]=Eb;Gb=Ab;Fb=Eb;K=1779;break}else if((K|0)==1776){k[a>>2]=Db;Gb=Bb;Fb=Db;K=1779;break}else if((K|0)==1778){k[a>>2]=Cb;if(!Cb){Gb=a;Fb=Cb;K=1779;break}else{Hb=zb;x=Cb;break}}}while(0);if((K|0)==1779){x=kBb(24)|0;k[x+16>>2]=1073741948;k[x+20>>2]=0;k[x>>2]=0;k[x+4>>2]=0;k[x+8>>2]=Fb;k[Gb>>2]=x;b=k[k[Ge>>2]>>2]|0;if(!b)b=x;else{k[Ge>>2]=b;b=k[Gb>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;Hb=k[Ge+4>>2]|0}k[x+20>>2]=137;do if(!Hb){k[a>>2]=Ge+4;Ob=Ge+4|0;Nb=Ge+4|0;K=1792}else{x=Hb;while(1){b=k[x+16>>2]|0;if((b|0)>1073741949){b=k[x>>2]|0;if(!b){Ib=x;Mb=x;K=1785;break}}else{if((b|0)>=1073741949){Kb=x;K=1791;break}Jb=x+4|0;b=k[Jb>>2]|0;if(!b){Lb=x;K=1789;break}}x=b}if((K|0)==1785){k[a>>2]=Mb;Ob=Ib;Nb=Mb;K=1792;break}else if((K|0)==1789){k[a>>2]=Lb;Ob=Jb;Nb=Lb;K=1792;break}else if((K|0)==1791){k[a>>2]=Kb;if(!Kb){Ob=a;Nb=Kb;K=1792;break}else{Pb=Hb;w=Kb;break}}}while(0);if((K|0)==1792){w=kBb(24)|0;k[w+16>>2]=1073741949;k[w+20>>2]=0;k[w>>2]=0;k[w+4>>2]=0;k[w+8>>2]=Nb;k[Ob>>2]=w;b=k[k[Ge>>2]>>2]|0;if(!b)b=w;else{k[Ge>>2]=b;b=k[Ob>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;Pb=k[Ge+4>>2]|0}k[w+20>>2]=138;do if(!Pb){k[a>>2]=Ge+4;Wb=Ge+4|0;Vb=Ge+4|0;K=1805}else{w=Pb;while(1){b=k[w+16>>2]|0;if((b|0)>1073741950){b=k[w>>2]|0;if(!b){Qb=w;Ub=w;K=1798;break}}else{if((b|0)>=1073741950){Sb=w;K=1804;break}Rb=w+4|0;b=k[Rb>>2]|0;if(!b){Tb=w;K=1802;break}}w=b}if((K|0)==1798){k[a>>2]=Ub;Wb=Qb;Vb=Ub;K=1805;break}else if((K|0)==1802){k[a>>2]=Tb;Wb=Rb;Vb=Tb;K=1805;break}else if((K|0)==1804){k[a>>2]=Sb;if(!Sb){Wb=a;Vb=Sb;K=1805;break}else{Xb=Pb;v=Sb;break}}}while(0);if((K|0)==1805){v=kBb(24)|0;k[v+16>>2]=1073741950;k[v+20>>2]=0;k[v>>2]=0;k[v+4>>2]=0;k[v+8>>2]=Vb;k[Wb>>2]=v;b=k[k[Ge>>2]>>2]|0;if(!b)b=v;else{k[Ge>>2]=b;b=k[Wb>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;Xb=k[Ge+4>>2]|0}k[v+20>>2]=139;do if(!Xb){k[a>>2]=Ge+4;cc=Ge+4|0;bc=Ge+4|0;K=1818}else{v=Xb;while(1){b=k[v+16>>2]|0;if((b|0)>1073741951){b=k[v>>2]|0;if(!b){Yb=v;ac=v;K=1811;break}}else{if((b|0)>=1073741951){_b=v;K=1817;break}Zb=v+4|0;b=k[Zb>>2]|0;if(!b){$b=v;K=1815;break}}v=b}if((K|0)==1811){k[a>>2]=ac;cc=Yb;bc=ac;K=1818;break}else if((K|0)==1815){k[a>>2]=$b;cc=Zb;bc=$b;K=1818;break}else if((K|0)==1817){k[a>>2]=_b;if(!_b){cc=a;bc=_b;K=1818;break}else{dc=Xb;u=_b;break}}}while(0);if((K|0)==1818){u=kBb(24)|0;k[u+16>>2]=1073741951;k[u+20>>2]=0;k[u>>2]=0;k[u+4>>2]=0;k[u+8>>2]=bc;k[cc>>2]=u;b=k[k[Ge>>2]>>2]|0;if(!b)b=u;else{k[Ge>>2]=b;b=k[cc>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;dc=k[Ge+4>>2]|0}k[u+20>>2]=140;do if(!dc){k[a>>2]=Ge+4;kc=Ge+4|0;jc=Ge+4|0;K=1831}else{u=dc;while(1){b=k[u+16>>2]|0;if((b|0)>1073741952){b=k[u>>2]|0;if(!b){ec=u;ic=u;K=1824;break}}else{if((b|0)>=1073741952){gc=u;K=1830;break}fc=u+4|0;b=k[fc>>2]|0;if(!b){hc=u;K=1828;break}}u=b}if((K|0)==1824){k[a>>2]=ic;kc=ec;jc=ic;K=1831;break}else if((K|0)==1828){k[a>>2]=hc;kc=fc;jc=hc;K=1831;break}else if((K|0)==1830){k[a>>2]=gc;if(!gc){kc=a;jc=gc;K=1831;break}else{lc=dc;t=gc;break}}}while(0);if((K|0)==1831){t=kBb(24)|0;k[t+16>>2]=1073741952;k[t+20>>2]=0;k[t>>2]=0;k[t+4>>2]=0;k[t+8>>2]=jc;k[kc>>2]=t;b=k[k[Ge>>2]>>2]|0;if(!b)b=t;else{k[Ge>>2]=b;b=k[kc>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;lc=k[Ge+4>>2]|0}k[t+20>>2]=141;do if(!lc){k[a>>2]=Ge+4;sc=Ge+4|0;rc=Ge+4|0;K=1844}else{t=lc;while(1){b=k[t+16>>2]|0;if((b|0)>1073741953){b=k[t>>2]|0;if(!b){mc=t;qc=t;K=1837;break}}else{if((b|0)>=1073741953){oc=t;K=1843;break}nc=t+4|0;b=k[nc>>2]|0;if(!b){pc=t;K=1841;break}}t=b}if((K|0)==1837){k[a>>2]=qc;sc=mc;rc=qc;K=1844;break}else if((K|0)==1841){k[a>>2]=pc;sc=nc;rc=pc;K=1844;break}else if((K|0)==1843){k[a>>2]=oc;if(!oc){sc=a;rc=oc;K=1844;break}else{tc=lc;s=oc;break}}}while(0);if((K|0)==1844){s=kBb(24)|0;k[s+16>>2]=1073741953;k[s+20>>2]=0;k[s>>2]=0;k[s+4>>2]=0;k[s+8>>2]=rc;k[sc>>2]=s;b=k[k[Ge>>2]>>2]|0;if(!b)b=s;else{k[Ge>>2]=b;b=k[sc>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;tc=k[Ge+4>>2]|0}k[s+20>>2]=142;do if(!tc){k[a>>2]=Ge+4;Ac=Ge+4|0;zc=Ge+4|0;K=1857}else{s=tc;while(1){b=k[s+16>>2]|0;if((b|0)>1073741977){b=k[s>>2]|0;if(!b){uc=s;yc=s;K=1850;break}}else{if((b|0)>=1073741977){wc=s;K=1856;break}vc=s+4|0;b=k[vc>>2]|0;if(!b){xc=s;K=1854;break}}s=b}if((K|0)==1850){k[a>>2]=yc;Ac=uc;zc=yc;K=1857;break}else if((K|0)==1854){k[a>>2]=xc;Ac=vc;zc=xc;K=1857;break}else if((K|0)==1856){k[a>>2]=wc;if(!wc){Ac=a;zc=wc;K=1857;break}else{Bc=tc;r=wc;break}}}while(0);if((K|0)==1857){r=kBb(24)|0;k[r+16>>2]=1073741977;k[r+20>>2]=0;k[r>>2]=0;k[r+4>>2]=0;k[r+8>>2]=zc;k[Ac>>2]=r;b=k[k[Ge>>2]>>2]|0;if(!b)b=r;else{k[Ge>>2]=b;b=k[Ac>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;Bc=k[Ge+4>>2]|0}k[r+20>>2]=143;do if(!Bc){k[a>>2]=Ge+4;Ic=Ge+4|0;Hc=Ge+4|0;K=1870}else{r=Bc;while(1){b=k[r+16>>2]|0;if((b|0)>1073741978){b=k[r>>2]|0;if(!b){Cc=r;Gc=r;K=1863;break}}else{if((b|0)>=1073741978){Ec=r;K=1869;break}Dc=r+4|0;b=k[Dc>>2]|0;if(!b){Fc=r;K=1867;break}}r=b}if((K|0)==1863){k[a>>2]=Gc;Ic=Cc;Hc=Gc;K=1870;break}else if((K|0)==1867){k[a>>2]=Fc;Ic=Dc;Hc=Fc;K=1870;break}else if((K|0)==1869){k[a>>2]=Ec;if(!Ec){Ic=a;Hc=Ec;K=1870;break}else{Jc=Bc;q=Ec;break}}}while(0);if((K|0)==1870){q=kBb(24)|0;k[q+16>>2]=1073741978;k[q+20>>2]=0;k[q>>2]=0;k[q+4>>2]=0;k[q+8>>2]=Hc;k[Ic>>2]=q;b=k[k[Ge>>2]>>2]|0;if(!b)b=q;else{k[Ge>>2]=b;b=k[Ic>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;Jc=k[Ge+4>>2]|0}k[q+20>>2]=144;do if(!Jc){k[a>>2]=Ge+4;Qc=Ge+4|0;Pc=Ge+4|0;K=1883}else{q=Jc;while(1){b=k[q+16>>2]|0;if((b|0)>1073741979){b=k[q>>2]|0;if(!b){Kc=q;Oc=q;K=1876;break}}else{if((b|0)>=1073741979){Mc=q;K=1882;break}Lc=q+4|0;b=k[Lc>>2]|0;if(!b){Nc=q;K=1880;break}}q=b}if((K|0)==1876){k[a>>2]=Oc;Qc=Kc;Pc=Oc;K=1883;break}else if((K|0)==1880){k[a>>2]=Nc;Qc=Lc;Pc=Nc;K=1883;break}else if((K|0)==1882){k[a>>2]=Mc;if(!Mc){Qc=a;Pc=Mc;K=1883;break}else{Rc=Jc;p=Mc;break}}}while(0);if((K|0)==1883){p=kBb(24)|0;k[p+16>>2]=1073741979;k[p+20>>2]=0;k[p>>2]=0;k[p+4>>2]=0;k[p+8>>2]=Pc;k[Qc>>2]=p;b=k[k[Ge>>2]>>2]|0;if(!b)b=p;else{k[Ge>>2]=b;b=k[Qc>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;Rc=k[Ge+4>>2]|0}k[p+20>>2]=145;do if(!Rc){k[a>>2]=Ge+4;Yc=Ge+4|0;Xc=Ge+4|0;K=1896}else{p=Rc;while(1){b=k[p+16>>2]|0;if((b|0)>1073741980){b=k[p>>2]|0;if(!b){Sc=p;Wc=p;K=1889;break}}else{if((b|0)>=1073741980){Uc=p;K=1895;break}Tc=p+4|0;b=k[Tc>>2]|0;if(!b){Vc=p;K=1893;break}}p=b}if((K|0)==1889){k[a>>2]=Wc;Yc=Sc;Xc=Wc;K=1896;break}else if((K|0)==1893){k[a>>2]=Vc;Yc=Tc;Xc=Vc;K=1896;break}else if((K|0)==1895){k[a>>2]=Uc;if(!Uc){Yc=a;Xc=Uc;K=1896;break}else{Zc=Rc;o=Uc;break}}}while(0);if((K|0)==1896){o=kBb(24)|0;k[o+16>>2]=1073741980;k[o+20>>2]=0;k[o>>2]=0;k[o+4>>2]=0;k[o+8>>2]=Xc;k[Yc>>2]=o;b=k[k[Ge>>2]>>2]|0;if(!b)b=o;else{k[Ge>>2]=b;b=k[Yc>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;Zc=k[Ge+4>>2]|0}k[o+20>>2]=146;do if(!Zc){k[a>>2]=Ge+4;ed=Ge+4|0;dd=Ge+4|0;K=1909}else{o=Zc;while(1){b=k[o+16>>2]|0;if((b|0)>1073741981){b=k[o>>2]|0;if(!b){_c=o;cd=o;K=1902;break}}else{if((b|0)>=1073741981){ad=o;K=1908;break}$c=o+4|0;b=k[$c>>2]|0;if(!b){bd=o;K=1906;break}}o=b}if((K|0)==1902){k[a>>2]=cd;ed=_c;dd=cd;K=1909;break}else if((K|0)==1906){k[a>>2]=bd;ed=$c;dd=bd;K=1909;break}else if((K|0)==1908){k[a>>2]=ad;if(!ad){ed=a;dd=ad;K=1909;break}else{fd=Zc;n=ad;break}}}while(0);if((K|0)==1909){n=kBb(24)|0;k[n+16>>2]=1073741981;k[n+20>>2]=0;k[n>>2]=0;k[n+4>>2]=0;k[n+8>>2]=dd;k[ed>>2]=n;b=k[k[Ge>>2]>>2]|0;if(!b)b=n;else{k[Ge>>2]=b;b=k[ed>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;fd=k[Ge+4>>2]|0}k[n+20>>2]=147;do if(!fd){k[a>>2]=Ge+4;md=Ge+4|0;ld=Ge+4|0;K=1922}else{n=fd;while(1){b=k[n+16>>2]|0;if((b|0)>1073741982){b=k[n>>2]|0;if(!b){gd=n;kd=n;K=1915;break}}else{if((b|0)>=1073741982){id=n;K=1921;break}hd=n+4|0;b=k[hd>>2]|0;if(!b){jd=n;K=1919;break}}n=b}if((K|0)==1915){k[a>>2]=kd;md=gd;ld=kd;K=1922;break}else if((K|0)==1919){k[a>>2]=jd;md=hd;ld=jd;K=1922;break}else if((K|0)==1921){k[a>>2]=id;if(!id){md=a;ld=id;K=1922;break}else{nd=fd;m=id;break}}}while(0);if((K|0)==1922){m=kBb(24)|0;k[m+16>>2]=1073741982;k[m+20>>2]=0;k[m>>2]=0;k[m+4>>2]=0;k[m+8>>2]=ld;k[md>>2]=m;b=k[k[Ge>>2]>>2]|0;if(!b)b=m;else{k[Ge>>2]=b;b=k[md>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;nd=k[Ge+4>>2]|0}k[m+20>>2]=148;do if(!nd){k[a>>2]=Ge+4;ud=Ge+4|0;td=Ge+4|0;K=1935}else{m=nd;while(1){b=k[m+16>>2]|0;if((b|0)>1073741983){b=k[m>>2]|0;if(!b){od=m;sd=m;K=1928;break}}else{if((b|0)>=1073741983){qd=m;K=1934;break}pd=m+4|0;b=k[pd>>2]|0;if(!b){rd=m;K=1932;break}}m=b}if((K|0)==1928){k[a>>2]=sd;ud=od;td=sd;K=1935;break}else if((K|0)==1932){k[a>>2]=rd;ud=pd;td=rd;K=1935;break}else if((K|0)==1934){k[a>>2]=qd;if(!qd){ud=a;td=qd;K=1935;break}else{vd=nd;l=qd;break}}}while(0);if((K|0)==1935){l=kBb(24)|0;k[l+16>>2]=1073741983;k[l+20>>2]=0;k[l>>2]=0;k[l+4>>2]=0;k[l+8>>2]=td;k[ud>>2]=l;b=k[k[Ge>>2]>>2]|0;if(!b)b=l;else{k[Ge>>2]=b;b=k[ud>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;vd=k[Ge+4>>2]|0}k[l+20>>2]=149;do if(!vd){k[a>>2]=Ge+4;Cd=Ge+4|0;Bd=Ge+4|0;K=1948}else{l=vd;while(1){b=k[l+16>>2]|0;if((b|0)>1073741984){b=k[l>>2]|0;if(!b){wd=l;Ad=l;K=1941;break}}else{if((b|0)>=1073741984){yd=l;K=1947;break}xd=l+4|0;b=k[xd>>2]|0;if(!b){zd=l;K=1945;break}}l=b}if((K|0)==1941){k[a>>2]=Ad;Cd=wd;Bd=Ad;K=1948;break}else if((K|0)==1945){k[a>>2]=zd;Cd=xd;Bd=zd;K=1948;break}else if((K|0)==1947){k[a>>2]=yd;if(!yd){Cd=a;Bd=yd;K=1948;break}else{Dd=vd;j=yd;break}}}while(0);if((K|0)==1948){j=kBb(24)|0;k[j+16>>2]=1073741984;k[j+20>>2]=0;k[j>>2]=0;k[j+4>>2]=0;k[j+8>>2]=Bd;k[Cd>>2]=j;b=k[k[Ge>>2]>>2]|0;if(!b)b=j;else{k[Ge>>2]=b;b=k[Cd>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;Dd=k[Ge+4>>2]|0}k[j+20>>2]=150;do if(!Dd){k[a>>2]=Ge+4;Kd=Ge+4|0;Jd=Ge+4|0;K=1961}else{j=Dd;while(1){b=k[j+16>>2]|0;if((b|0)>1073741985){b=k[j>>2]|0;if(!b){Ed=j;Id=j;K=1954;break}}else{if((b|0)>=1073741985){Gd=j;K=1960;break}Fd=j+4|0;b=k[Fd>>2]|0;if(!b){Hd=j;K=1958;break}}j=b}if((K|0)==1954){k[a>>2]=Id;Kd=Ed;Jd=Id;K=1961;break}else if((K|0)==1958){k[a>>2]=Hd;Kd=Fd;Jd=Hd;K=1961;break}else if((K|0)==1960){k[a>>2]=Gd;if(!Gd){Kd=a;Jd=Gd;K=1961;break}else{Ld=Dd;i=Gd;break}}}while(0);if((K|0)==1961){i=kBb(24)|0;k[i+16>>2]=1073741985;k[i+20>>2]=0;k[i>>2]=0;k[i+4>>2]=0;k[i+8>>2]=Jd;k[Kd>>2]=i;b=k[k[Ge>>2]>>2]|0;if(!b)b=i;else{k[Ge>>2]=b;b=k[Kd>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;Ld=k[Ge+4>>2]|0}k[i+20>>2]=151;do if(!Ld){k[a>>2]=Ge+4;Sd=Ge+4|0;Rd=Ge+4|0;K=1974}else{i=Ld;while(1){b=k[i+16>>2]|0;if((b|0)>1073741986){b=k[i>>2]|0;if(!b){Md=i;Qd=i;K=1967;break}}else{if((b|0)>=1073741986){Od=i;K=1973;break}Nd=i+4|0;b=k[Nd>>2]|0;if(!b){Pd=i;K=1971;break}}i=b}if((K|0)==1967){k[a>>2]=Qd;Sd=Md;Rd=Qd;K=1974;break}else if((K|0)==1971){k[a>>2]=Pd;Sd=Nd;Rd=Pd;K=1974;break}else if((K|0)==1973){k[a>>2]=Od;if(!Od){Sd=a;Rd=Od;K=1974;break}else{Td=Ld;h=Od;break}}}while(0);if((K|0)==1974){h=kBb(24)|0;k[h+16>>2]=1073741986;k[h+20>>2]=0;k[h>>2]=0;k[h+4>>2]=0;k[h+8>>2]=Rd;k[Sd>>2]=h;b=k[k[Ge>>2]>>2]|0;if(!b)b=h;else{k[Ge>>2]=b;b=k[Sd>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;Td=k[Ge+4>>2]|0}k[h+20>>2]=152;do if(!Td){k[a>>2]=Ge+4;_d=Ge+4|0;Zd=Ge+4|0;K=1987}else{h=Td;while(1){b=k[h+16>>2]|0;if((b|0)>1073742002){b=k[h>>2]|0;if(!b){Ud=h;Yd=h;K=1980;break}}else{if((b|0)>=1073742002){Wd=h;K=1986;break}Vd=h+4|0;b=k[Vd>>2]|0;if(!b){Xd=h;K=1984;break}}h=b}if((K|0)==1980){k[a>>2]=Yd;_d=Ud;Zd=Yd;K=1987;break}else if((K|0)==1984){k[a>>2]=Xd;_d=Vd;Zd=Xd;K=1987;break}else if((K|0)==1986){k[a>>2]=Wd;if(!Wd){_d=a;Zd=Wd;K=1987;break}else{$d=Td;g=Wd;break}}}while(0);if((K|0)==1987){g=kBb(24)|0;k[g+16>>2]=1073742002;k[g+20>>2]=0;k[g>>2]=0;k[g+4>>2]=0;k[g+8>>2]=Zd;k[_d>>2]=g;b=k[k[Ge>>2]>>2]|0;if(!b)b=g;else{k[Ge>>2]=b;b=k[_d>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;$d=k[Ge+4>>2]|0}k[g+20>>2]=153;do if(!$d){k[a>>2]=Ge+4;ge=Ge+4|0;fe=Ge+4|0;K=2e3}else{g=$d;while(1){b=k[g+16>>2]|0;if((b|0)>1073742003){b=k[g>>2]|0;if(!b){ae=g;ee=g;K=1993;break}}else{if((b|0)>=1073742003){ce=g;K=1999;break}be=g+4|0;b=k[be>>2]|0;if(!b){de=g;K=1997;break}}g=b}if((K|0)==1993){k[a>>2]=ee;ge=ae;fe=ee;K=2e3;break}else if((K|0)==1997){k[a>>2]=de;ge=be;fe=de;K=2e3;break}else if((K|0)==1999){k[a>>2]=ce;if(!ce){ge=a;fe=ce;K=2e3;break}else{he=$d;f=ce;break}}}while(0);if((K|0)==2e3){f=kBb(24)|0;k[f+16>>2]=1073742003;k[f+20>>2]=0;k[f>>2]=0;k[f+4>>2]=0;k[f+8>>2]=fe;k[ge>>2]=f;b=k[k[Ge>>2]>>2]|0;if(!b)b=f;else{k[Ge>>2]=b;b=k[ge>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;he=k[Ge+4>>2]|0}k[f+20>>2]=154;do if(!he){k[a>>2]=Ge+4;oe=Ge+4|0;ne=Ge+4|0;K=2013}else{f=he;while(1){b=k[f+16>>2]|0;if((b|0)>1073742004){b=k[f>>2]|0;if(!b){ie=f;me=f;K=2006;break}}else{if((b|0)>=1073742004){ke=f;K=2012;break}je=f+4|0;b=k[je>>2]|0;if(!b){le=f;K=2010;break}}f=b}if((K|0)==2006){k[a>>2]=me;oe=ie;ne=me;K=2013;break}else if((K|0)==2010){k[a>>2]=le;oe=je;ne=le;K=2013;break}else if((K|0)==2012){k[a>>2]=ke;if(!ke){oe=a;ne=ke;K=2013;break}else{pe=he;e=ke;break}}}while(0);if((K|0)==2013){e=kBb(24)|0;k[e+16>>2]=1073742004;k[e+20>>2]=0;k[e>>2]=0;k[e+4>>2]=0;k[e+8>>2]=ne;k[oe>>2]=e;b=k[k[Ge>>2]>>2]|0;if(!b)b=e;else{k[Ge>>2]=b;b=k[oe>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;pe=k[Ge+4>>2]|0}k[e+20>>2]=155;do if(!pe){k[a>>2]=Ge+4;we=Ge+4|0;ve=Ge+4|0;K=2026}else{e=pe;while(1){b=k[e+16>>2]|0;if((b|0)>1073742005){b=k[e>>2]|0;if(!b){qe=e;ue=e;K=2019;break}}else{if((b|0)>=1073742005){se=e;K=2025;break}re=e+4|0;b=k[re>>2]|0;if(!b){te=e;K=2023;break}}e=b}if((K|0)==2019){k[a>>2]=ue;we=qe;ve=ue;K=2026;break}else if((K|0)==2023){k[a>>2]=te;we=re;ve=te;K=2026;break}else if((K|0)==2025){k[a>>2]=se;if(!se){we=a;ve=se;K=2026;break}else{xe=pe;d=se;break}}}while(0);if((K|0)==2026){d=kBb(24)|0;k[d+16>>2]=1073742005;k[d+20>>2]=0;k[d>>2]=0;k[d+4>>2]=0;k[d+8>>2]=ve;k[we>>2]=d;b=k[k[Ge>>2]>>2]|0;if(!b)b=d;else{k[Ge>>2]=b;b=k[we>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;xe=k[Ge+4>>2]|0}k[d+20>>2]=156;do if(!xe){k[a>>2]=Ge+4;Fe=Ge+4|0;De=Ge+4|0;K=2039}else{d=xe;while(1){b=k[d+16>>2]|0;if((b|0)>1073742048){b=k[d>>2]|0;if(!b){ye=d;Ce=d;K=2032;break}}else{if((b|0)>=1073742048){Ae=d;K=2038;break}ze=d+4|0;b=k[ze>>2]|0;if(!b){Be=d;K=2036;break}}d=b}if((K|0)==2032){k[a>>2]=Ce;Fe=ye;De=Ce;K=2039;break}else if((K|0)==2036){k[a>>2]=Be;Fe=ze;De=Be;K=2039;break}else if((K|0)==2038){k[a>>2]=Ae;if(!Ae){Fe=a;De=Ae;K=2039;break}else{Ee=xe;c=Ae;break}}}while(0);if((K|0)==2039){c=kBb(24)|0;k[c+16>>2]=1073742048;k[c+20>>2]=0;k[c>>2]=0;k[c+4>>2]=0;k[c+8>>2]=De;k[Fe>>2]=c;b=k[k[Ge>>2]>>2]|0;if(!b)b=c;else{k[Ge>>2]=b;b=k[Fe>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;Ee=k[Ge+4>>2]|0}k[c+20>>2]=157;k[a+14624>>2]=Ee;k[a+25904>>2]=K}function lfa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,jb=0,kb=0,lb=0,mb=0,nb=0,ob=0,pb=0,qb=0,rb=0,sb=0,tb=0,ub=0,vb=0,wb=0,xb=0,yb=0,zb=0,Ab=0,Bb=0,Cb=0,Db=0,Eb=0,Fb=0,Gb=0,Hb=0,Ib=0,Jb=0,Kb=0,Lb=0,Mb=0,Nb=0,Ob=0,Pb=0,Qb=0,Rb=0,Sb=0,Tb=0,Ub=0,Vb=0,Wb=0,Xb=0,Yb=0,Zb=0,_b=0,$b=0,ac=0,bc=0,cc=0,dc=0,ec=0,fc=0,gc=0,hc=0,ic=0,jc=0,kc=0,lc=0,mc=0,nc=0,oc=0,pc=0,qc=0,rc=0,sc=0,tc=0,uc=0,vc=0,wc=0,xc=0,yc=0,zc=0,Ac=0,Bc=0,Cc=0,Dc=0,Ec=0,Fc=0,Gc=0,Hc=0,Ic=0,Jc=0,Kc=0,Lc=0,Mc=0,Nc=0,Oc=0,Pc=0,Qc=0,Rc=0,Sc=0,Tc=0,Uc=0,Vc=0,Wc=0,Xc=0,Yc=0,Zc=0,_c=0,$c=0,ad=0,bd=0,cd=0,dd=0,ed=0,fd=0,gd=0,hd=0,id=0,jd=0,kd=0,ld=0,md=0,nd=0,od=0,pd=0,qd=0,rd=0,sd=0,td=0,ud=0,vd=0,wd=0,xd=0,yd=0,zd=0,Ad=0,Bd=0,Cd=0,Dd=0,Ed=0,Fd=0,Gd=0,Hd=0,Id=0,Jd=0,Kd=0,Ld=0,Md=0,Nd=0,Od=0,Pd=0,Qd=0,Rd=0,Sd=0,Td=0,Ud=0,Vd=0,Wd=0,Xd=0,Yd=0,Zd=0,_d=0,$d=0,ae=0,be=0,ce=0,de=0,ee=0,fe=0,ge=0,he=0,ie=0,je=0,ke=0,le=0,me=0,ne=0,oe=0,pe=0,qe=0,re=0,se=0,te=0,ue=0,ve=0,we=0,xe=0,ye=0,ze=0,Ae=0,Be=0,Ce=0,De=0,Ee=0,Fe=0,Ge=0,He=0;Ge=k[a+32>>2]|0;L=k[a+240>>2]|0;b=k[a+9304>>2]|0;Ce=k[a+9336>>2]|0;Ee=k[a+11968>>2]|0;M=k[a+24600>>2]|0;c=k[a+24888>>2]|0;He=k[a+25904>>2]|0;if((He|0)==1181){M=kBb(24)|0;k[M+16>>2]=1073741902;k[M+20>>2]=0;k[M>>2]=0;k[M+4>>2]=0;k[M+8>>2]=b;k[L>>2]=M;b=k[k[Ge>>2]>>2]|0;if(!b)b=M;else{k[Ge>>2]=b;b=k[L>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;Ce=k[Ge+4>>2]|0}k[M+20>>2]=91;do if(!Ce){k[a>>2]=Ge+4;T=Ge+4|0;S=Ge+4|0;L=1194}else{L=Ce;while(1){b=k[L+16>>2]|0;if((b|0)>1073741903){b=k[L>>2]|0;if(!b){N=L;R=L;L=1187;break}}else{if((b|0)>=1073741903){P=L;L=1193;break}O=L+4|0;b=k[O>>2]|0;if(!b){Q=L;L=1191;break}}L=b}if((L|0)==1187){k[a>>2]=R;T=N;S=R;L=1194;break}else if((L|0)==1191){k[a>>2]=Q;T=O;S=Q;L=1194;break}else if((L|0)==1193){k[a>>2]=P;if(!P){T=a;S=P;L=1194;break}else{U=Ce;K=P;break}}}while(0);if((L|0)==1194){K=kBb(24)|0;k[K+16>>2]=1073741903;k[K+20>>2]=0;k[K>>2]=0;k[K+4>>2]=0;k[K+8>>2]=S;k[T>>2]=K;b=k[k[Ge>>2]>>2]|0;if(!b)b=K;else{k[Ge>>2]=b;b=k[T>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;U=k[Ge+4>>2]|0}k[K+20>>2]=92;do if(!U){k[a>>2]=Ge+4;$=Ge+4|0;_=Ge+4|0;L=1207}else{K=U;while(1){b=k[K+16>>2]|0;if((b|0)>1073741904){b=k[K>>2]|0;if(!b){V=K;Z=K;L=1200;break}}else{if((b|0)>=1073741904){X=K;L=1206;break}W=K+4|0;b=k[W>>2]|0;if(!b){Y=K;L=1204;break}}K=b}if((L|0)==1200){k[a>>2]=Z;$=V;_=Z;L=1207;break}else if((L|0)==1204){k[a>>2]=Y;$=W;_=Y;L=1207;break}else if((L|0)==1206){k[a>>2]=X;if(!X){$=a;_=X;L=1207;break}else{aa=U;J=X;break}}}while(0);if((L|0)==1207){J=kBb(24)|0;k[J+16>>2]=1073741904;k[J+20>>2]=0;k[J>>2]=0;k[J+4>>2]=0;k[J+8>>2]=_;k[$>>2]=J;b=k[k[Ge>>2]>>2]|0;if(!b)b=J;else{k[Ge>>2]=b;b=k[$>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;aa=k[Ge+4>>2]|0}k[J+20>>2]=93;do if(!aa){k[a>>2]=Ge+4;ha=Ge+4|0;ga=Ge+4|0;L=1220}else{J=aa;while(1){b=k[J+16>>2]|0;if((b|0)>1073741905){b=k[J>>2]|0;if(!b){ba=J;fa=J;L=1213;break}}else{if((b|0)>=1073741905){da=J;L=1219;break}ca=J+4|0;b=k[ca>>2]|0;if(!b){ea=J;L=1217;break}}J=b}if((L|0)==1213){k[a>>2]=fa;ha=ba;ga=fa;L=1220;break}else if((L|0)==1217){k[a>>2]=ea;ha=ca;ga=ea;L=1220;break}else if((L|0)==1219){k[a>>2]=da;if(!da){ha=a;ga=da;L=1220;break}else{ia=aa;I=da;break}}}while(0);if((L|0)==1220){I=kBb(24)|0;k[I+16>>2]=1073741905;k[I+20>>2]=0;k[I>>2]=0;k[I+4>>2]=0;k[I+8>>2]=ga;k[ha>>2]=I;b=k[k[Ge>>2]>>2]|0;if(!b)b=I;else{k[Ge>>2]=b;b=k[ha>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;ia=k[Ge+4>>2]|0}k[I+20>>2]=94;do if(!ia){k[a>>2]=Ge+4;pa=Ge+4|0;oa=Ge+4|0;L=1233}else{I=ia;while(1){b=k[I+16>>2]|0;if((b|0)>1073741906){b=k[I>>2]|0;if(!b){ja=I;na=I;L=1226;break}}else{if((b|0)>=1073741906){la=I;L=1232;break}ka=I+4|0;b=k[ka>>2]|0;if(!b){ma=I;L=1230;break}}I=b}if((L|0)==1226){k[a>>2]=na;pa=ja;oa=na;L=1233;break}else if((L|0)==1230){k[a>>2]=ma;pa=ka;oa=ma;L=1233;break}else if((L|0)==1232){k[a>>2]=la;if(!la){pa=a;oa=la;L=1233;break}else{qa=ia;H=la;break}}}while(0);if((L|0)==1233){H=kBb(24)|0;k[H+16>>2]=1073741906;k[H+20>>2]=0;k[H>>2]=0;k[H+4>>2]=0;k[H+8>>2]=oa;k[pa>>2]=H;b=k[k[Ge>>2]>>2]|0;if(!b)b=H;else{k[Ge>>2]=b;b=k[pa>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;qa=k[Ge+4>>2]|0}k[H+20>>2]=95;do if(!qa){k[a>>2]=Ge+4;xa=Ge+4|0;wa=Ge+4|0;L=1246}else{H=qa;while(1){b=k[H+16>>2]|0;if((b|0)>1073741907){b=k[H>>2]|0;if(!b){ra=H;va=H;L=1239;break}}else{if((b|0)>=1073741907){ta=H;L=1245;break}sa=H+4|0;b=k[sa>>2]|0;if(!b){ua=H;L=1243;break}}H=b}if((L|0)==1239){k[a>>2]=va;xa=ra;wa=va;L=1246;break}else if((L|0)==1243){k[a>>2]=ua;xa=sa;wa=ua;L=1246;break}else if((L|0)==1245){k[a>>2]=ta;if(!ta){xa=a;wa=ta;L=1246;break}else{ya=qa;G=ta;break}}}while(0);if((L|0)==1246){G=kBb(24)|0;k[G+16>>2]=1073741907;k[G+20>>2]=0;k[G>>2]=0;k[G+4>>2]=0;k[G+8>>2]=wa;k[xa>>2]=G;b=k[k[Ge>>2]>>2]|0;if(!b)b=G;else{k[Ge>>2]=b;b=k[xa>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;ya=k[Ge+4>>2]|0}k[G+20>>2]=96;do if(!ya){k[a>>2]=Ge+4;Fa=Ge+4|0;Ea=Ge+4|0;L=1259}else{G=ya;while(1){b=k[G+16>>2]|0;if((b|0)>1073741908){b=k[G>>2]|0;if(!b){za=G;Da=G;L=1252;break}}else{if((b|0)>=1073741908){Ba=G;L=1258;break}Aa=G+4|0;b=k[Aa>>2]|0;if(!b){Ca=G;L=1256;break}}G=b}if((L|0)==1252){k[a>>2]=Da;Fa=za;Ea=Da;L=1259;break}else if((L|0)==1256){k[a>>2]=Ca;Fa=Aa;Ea=Ca;L=1259;break}else if((L|0)==1258){k[a>>2]=Ba;if(!Ba){Fa=a;Ea=Ba;L=1259;break}else{Ga=ya;F=Ba;break}}}while(0);if((L|0)==1259){F=kBb(24)|0;k[F+16>>2]=1073741908;k[F+20>>2]=0;k[F>>2]=0;k[F+4>>2]=0;k[F+8>>2]=Ea;k[Fa>>2]=F;b=k[k[Ge>>2]>>2]|0;if(!b)b=F;else{k[Ge>>2]=b;b=k[Fa>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;Ga=k[Ge+4>>2]|0}k[F+20>>2]=97;do if(!Ga){k[a>>2]=Ge+4;Na=Ge+4|0;Ma=Ge+4|0;L=1272}else{F=Ga;while(1){b=k[F+16>>2]|0;if((b|0)>1073741909){b=k[F>>2]|0;if(!b){Ha=F;La=F;L=1265;break}}else{if((b|0)>=1073741909){Ja=F;L=1271;break}Ia=F+4|0;b=k[Ia>>2]|0;if(!b){Ka=F;L=1269;break}}F=b}if((L|0)==1265){k[a>>2]=La;Na=Ha;Ma=La;L=1272;break}else if((L|0)==1269){k[a>>2]=Ka;Na=Ia;Ma=Ka;L=1272;break}else if((L|0)==1271){k[a>>2]=Ja;if(!Ja){Na=a;Ma=Ja;L=1272;break}else{D=Ga;E=Ja;break}}}while(0);if((L|0)==1272){E=kBb(24)|0;k[E+16>>2]=1073741909;k[E+20>>2]=0;k[E>>2]=0;k[E+4>>2]=0;k[E+8>>2]=Ma;k[Na>>2]=E;b=k[k[Ge>>2]>>2]|0;if(!b)b=E;else{k[Ge>>2]=b;b=k[Na>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;D=k[Ge+4>>2]|0}k[E+20>>2]=98;do if(!D){k[a>>2]=Ge+4;Ua=Ge+4|0;Ta=Ge+4|0;L=1285}else{while(1){b=k[D+16>>2]|0;if((b|0)>1073741910){b=k[D>>2]|0;if(!b){Oa=D;Sa=D;L=1278;break}}else{if((b|0)>=1073741910){Qa=D;L=1284;break}Pa=D+4|0;b=k[Pa>>2]|0;if(!b){Ra=D;L=1282;break}}D=b}if((L|0)==1278){k[a>>2]=Sa;Ua=Oa;Ta=Sa;L=1285;break}else if((L|0)==1282){k[a>>2]=Ra;Ua=Pa;Ta=Ra;L=1285;break}else if((L|0)==1284){k[a>>2]=Qa;if(!Qa){Ua=a;Ta=Qa;L=1285;break}else{C=Qa;break}}}while(0);if((L|0)==1285){C=kBb(24)|0;k[C+16>>2]=1073741910;k[C+20>>2]=0;k[C>>2]=0;k[C+4>>2]=0;k[C+8>>2]=Ta;k[Ua>>2]=C;b=k[k[Ge>>2]>>2]|0;if(!b)b=C;else{k[Ge>>2]=b;b=k[Ua>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1}k[C+20>>2]=99;D=k[Ge+4>>2]|0;do if(!D){k[a>>2]=Ge+4;$a=Ge+4|0;_a=Ge+4|0;L=1298}else{C=D;while(1){b=k[C+16>>2]|0;if((b|0)>1073741911){b=k[C>>2]|0;if(!b){Va=C;Za=C;L=1291;break}}else{if((b|0)>=1073741911){Xa=C;L=1297;break}Wa=C+4|0;b=k[Wa>>2]|0;if(!b){Ya=C;L=1295;break}}C=b}if((L|0)==1291){k[a>>2]=Za;$a=Va;_a=Za;L=1298;break}else if((L|0)==1295){k[a>>2]=Ya;$a=Wa;_a=Ya;L=1298;break}else if((L|0)==1297){k[a>>2]=Xa;if(!Xa){$a=a;_a=Xa;L=1298;break}else{ab=D;B=Xa;break}}}while(0);if((L|0)==1298){B=kBb(24)|0;k[B+16>>2]=1073741911;k[B+20>>2]=0;k[B>>2]=0;k[B+4>>2]=0;k[B+8>>2]=_a;k[$a>>2]=B;b=k[k[Ge>>2]>>2]|0;if(!b)b=B;else{k[Ge>>2]=b;b=k[$a>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;ab=k[Ge+4>>2]|0}k[B+20>>2]=100;do if(!ab){k[a>>2]=Ge+4;hb=Ge+4|0;gb=Ge+4|0;L=1311}else{B=ab;while(1){b=k[B+16>>2]|0;if((b|0)>1073741912){b=k[B>>2]|0;if(!b){bb=B;fb=B;L=1304;break}}else{if((b|0)>=1073741912){db=B;L=1310;break}cb=B+4|0;b=k[cb>>2]|0;if(!b){eb=B;L=1308;break}}B=b}if((L|0)==1304){k[a>>2]=fb;hb=bb;gb=fb;L=1311;break}else if((L|0)==1308){k[a>>2]=eb;hb=cb;gb=eb;L=1311;break}else if((L|0)==1310){k[a>>2]=db;if(!db){hb=a;gb=db;L=1311;break}else{ib=ab;A=db;break}}}while(0);if((L|0)==1311){A=kBb(24)|0;k[A+16>>2]=1073741912;k[A+20>>2]=0;k[A>>2]=0;k[A+4>>2]=0;k[A+8>>2]=gb;k[hb>>2]=A;b=k[k[Ge>>2]>>2]|0;if(!b)b=A;else{k[Ge>>2]=b;b=k[hb>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;ib=k[Ge+4>>2]|0}k[A+20>>2]=101;do if(!ib){k[a>>2]=Ge+4;pb=Ge+4|0;ob=Ge+4|0;L=1324}else{A=ib;while(1){b=k[A+16>>2]|0;if((b|0)>1073741922){b=k[A>>2]|0;if(!b){jb=A;nb=A;L=1317;break}}else{if((b|0)>=1073741922){lb=A;L=1323;break}kb=A+4|0;b=k[kb>>2]|0;if(!b){mb=A;L=1321;break}}A=b}if((L|0)==1317){k[a>>2]=nb;pb=jb;ob=nb;L=1324;break}else if((L|0)==1321){k[a>>2]=mb;pb=kb;ob=mb;L=1324;break}else if((L|0)==1323){k[a>>2]=lb;if(!lb){pb=a;ob=lb;L=1324;break}else{qb=ib;z=lb;break}}}while(0);if((L|0)==1324){z=kBb(24)|0;k[z+16>>2]=1073741922;k[z+20>>2]=0;k[z>>2]=0;k[z+4>>2]=0;k[z+8>>2]=ob;k[pb>>2]=z;b=k[k[Ge>>2]>>2]|0;if(!b)b=z;else{k[Ge>>2]=b;b=k[pb>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;qb=k[Ge+4>>2]|0}k[z+20>>2]=111;do if(!qb){k[a>>2]=Ge+4;xb=Ge+4|0;wb=Ge+4|0;L=1337}else{z=qb;while(1){b=k[z+16>>2]|0;if((b|0)>1073741913){b=k[z>>2]|0;if(!b){rb=z;vb=z;L=1330;break}}else{if((b|0)>=1073741913){tb=z;L=1336;break}sb=z+4|0;b=k[sb>>2]|0;if(!b){ub=z;L=1334;break}}z=b}if((L|0)==1330){k[a>>2]=vb;xb=rb;wb=vb;L=1337;break}else if((L|0)==1334){k[a>>2]=ub;xb=sb;wb=ub;L=1337;break}else if((L|0)==1336){k[a>>2]=tb;if(!tb){xb=a;wb=tb;L=1337;break}else{yb=qb;y=tb;break}}}while(0);if((L|0)==1337){y=kBb(24)|0;k[y+16>>2]=1073741913;k[y+20>>2]=0;k[y>>2]=0;k[y+4>>2]=0;k[y+8>>2]=wb;k[xb>>2]=y;b=k[k[Ge>>2]>>2]|0;if(!b)b=y;else{k[Ge>>2]=b;b=k[xb>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;yb=k[Ge+4>>2]|0}k[y+20>>2]=102;do if(!yb){k[a>>2]=Ge+4;Fb=Ge+4|0;Eb=Ge+4|0;L=1350}else{y=yb;while(1){b=k[y+16>>2]|0;if((b|0)>1073741914){b=k[y>>2]|0;if(!b){zb=y;Db=y;L=1343;break}}else{if((b|0)>=1073741914){Bb=y;L=1349;break}Ab=y+4|0;b=k[Ab>>2]|0;if(!b){Cb=y;L=1347;break}}y=b}if((L|0)==1343){k[a>>2]=Db;Fb=zb;Eb=Db;L=1350;break}else if((L|0)==1347){k[a>>2]=Cb;Fb=Ab;Eb=Cb;L=1350;break}else if((L|0)==1349){k[a>>2]=Bb;if(!Bb){Fb=a;Eb=Bb;L=1350;break}else{Gb=yb;x=Bb;break}}}while(0);if((L|0)==1350){x=kBb(24)|0;k[x+16>>2]=1073741914;k[x+20>>2]=0;k[x>>2]=0;k[x+4>>2]=0;k[x+8>>2]=Eb;k[Fb>>2]=x;b=k[k[Ge>>2]>>2]|0;if(!b)b=x;else{k[Ge>>2]=b;b=k[Fb>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;Gb=k[Ge+4>>2]|0}k[x+20>>2]=103;do if(!Gb){k[a>>2]=Ge+4;Nb=Ge+4|0;Mb=Ge+4|0;L=1363}else{x=Gb;while(1){b=k[x+16>>2]|0;if((b|0)>1073741915){b=k[x>>2]|0;if(!b){Hb=x;Lb=x;L=1356;break}}else{if((b|0)>=1073741915){Jb=x;L=1362;break}Ib=x+4|0;b=k[Ib>>2]|0;if(!b){Kb=x;L=1360;break}}x=b}if((L|0)==1356){k[a>>2]=Lb;Nb=Hb;Mb=Lb;L=1363;break}else if((L|0)==1360){k[a>>2]=Kb;Nb=Ib;Mb=Kb;L=1363;break}else if((L|0)==1362){k[a>>2]=Jb;if(!Jb){Nb=a;Mb=Jb;L=1363;break}else{Ob=Gb;w=Jb;break}}}while(0);if((L|0)==1363){w=kBb(24)|0;k[w+16>>2]=1073741915;k[w+20>>2]=0;k[w>>2]=0;k[w+4>>2]=0;k[w+8>>2]=Mb;k[Nb>>2]=w;b=k[k[Ge>>2]>>2]|0;if(!b)b=w;else{k[Ge>>2]=b;b=k[Nb>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;Ob=k[Ge+4>>2]|0}k[w+20>>2]=104;do if(!Ob){k[a>>2]=Ge+4;Vb=Ge+4|0;Ub=Ge+4|0;L=1376}else{w=Ob;while(1){b=k[w+16>>2]|0;if((b|0)>1073741916){b=k[w>>2]|0;if(!b){Pb=w;Tb=w;L=1369;break}}else{if((b|0)>=1073741916){Rb=w;L=1375;break}Qb=w+4|0;b=k[Qb>>2]|0;if(!b){Sb=w;L=1373;break}}w=b}if((L|0)==1369){k[a>>2]=Tb;Vb=Pb;Ub=Tb;L=1376;break}else if((L|0)==1373){k[a>>2]=Sb;Vb=Qb;Ub=Sb;L=1376;break}else if((L|0)==1375){k[a>>2]=Rb;if(!Rb){Vb=a;Ub=Rb;L=1376;break}else{Wb=Ob;v=Rb;break}}}while(0);if((L|0)==1376){v=kBb(24)|0;k[v+16>>2]=1073741916;k[v+20>>2]=0;k[v>>2]=0;k[v+4>>2]=0;k[v+8>>2]=Ub;k[Vb>>2]=v;b=k[k[Ge>>2]>>2]|0;if(!b)b=v;else{k[Ge>>2]=b;b=k[Vb>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;Wb=k[Ge+4>>2]|0}k[v+20>>2]=105;do if(!Wb){k[a>>2]=Ge+4;bc=Ge+4|0;ac=Ge+4|0;L=1389}else{v=Wb;while(1){b=k[v+16>>2]|0;if((b|0)>1073741917){b=k[v>>2]|0;if(!b){Xb=v;$b=v;L=1382;break}}else{if((b|0)>=1073741917){Zb=v;L=1388;break}Yb=v+4|0;b=k[Yb>>2]|0;if(!b){_b=v;L=1386;break}}v=b}if((L|0)==1382){k[a>>2]=$b;bc=Xb;ac=$b;L=1389;break}else if((L|0)==1386){k[a>>2]=_b;bc=Yb;ac=_b;L=1389;break}else if((L|0)==1388){k[a>>2]=Zb;if(!Zb){bc=a;ac=Zb;L=1389;break}else{cc=Wb;u=Zb;break}}}while(0);if((L|0)==1389){u=kBb(24)|0;k[u+16>>2]=1073741917;k[u+20>>2]=0;k[u>>2]=0;k[u+4>>2]=0;k[u+8>>2]=ac;k[bc>>2]=u;b=k[k[Ge>>2]>>2]|0;if(!b)b=u;else{k[Ge>>2]=b;b=k[bc>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;cc=k[Ge+4>>2]|0}k[u+20>>2]=106;do if(!cc){k[a>>2]=Ge+4;jc=Ge+4|0;ic=Ge+4|0;L=1402}else{u=cc;while(1){b=k[u+16>>2]|0;if((b|0)>1073741918){b=k[u>>2]|0;if(!b){dc=u;hc=u;L=1395;break}}else{if((b|0)>=1073741918){fc=u;L=1401;break}ec=u+4|0;b=k[ec>>2]|0;if(!b){gc=u;L=1399;break}}u=b}if((L|0)==1395){k[a>>2]=hc;jc=dc;ic=hc;L=1402;break}else if((L|0)==1399){k[a>>2]=gc;jc=ec;ic=gc;L=1402;break}else if((L|0)==1401){k[a>>2]=fc;if(!fc){jc=a;ic=fc;L=1402;break}else{kc=cc;t=fc;break}}}while(0);if((L|0)==1402){t=kBb(24)|0;k[t+16>>2]=1073741918;k[t+20>>2]=0;k[t>>2]=0;k[t+4>>2]=0;k[t+8>>2]=ic;k[jc>>2]=t;b=k[k[Ge>>2]>>2]|0;if(!b)b=t;else{k[Ge>>2]=b;b=k[jc>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;kc=k[Ge+4>>2]|0}k[t+20>>2]=107;do if(!kc){k[a>>2]=Ge+4;rc=Ge+4|0;qc=Ge+4|0;L=1415}else{t=kc;while(1){b=k[t+16>>2]|0;if((b|0)>1073741919){b=k[t>>2]|0;if(!b){lc=t;pc=t;L=1408;break}}else{if((b|0)>=1073741919){nc=t;L=1414;break}mc=t+4|0;b=k[mc>>2]|0;if(!b){oc=t;L=1412;break}}t=b}if((L|0)==1408){k[a>>2]=pc;rc=lc;qc=pc;L=1415;break}else if((L|0)==1412){k[a>>2]=oc;rc=mc;qc=oc;L=1415;break}else if((L|0)==1414){k[a>>2]=nc;if(!nc){rc=a;qc=nc;L=1415;break}else{sc=kc;s=nc;break}}}while(0);if((L|0)==1415){s=kBb(24)|0;k[s+16>>2]=1073741919;k[s+20>>2]=0;k[s>>2]=0;k[s+4>>2]=0;k[s+8>>2]=qc;k[rc>>2]=s;b=k[k[Ge>>2]>>2]|0;if(!b)b=s;else{k[Ge>>2]=b;b=k[rc>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;sc=k[Ge+4>>2]|0}k[s+20>>2]=108;do if(!sc){k[a>>2]=Ge+4;zc=Ge+4|0;yc=Ge+4|0;L=1428}else{s=sc;while(1){b=k[s+16>>2]|0;if((b|0)>1073741920){b=k[s>>2]|0;if(!b){tc=s;xc=s;L=1421;break}}else{if((b|0)>=1073741920){vc=s;L=1427;break}uc=s+4|0;b=k[uc>>2]|0;if(!b){wc=s;L=1425;break}}s=b}if((L|0)==1421){k[a>>2]=xc;zc=tc;yc=xc;L=1428;break}else if((L|0)==1425){k[a>>2]=wc;zc=uc;yc=wc;L=1428;break}else if((L|0)==1427){k[a>>2]=vc;if(!vc){zc=a;yc=vc;L=1428;break}else{Ac=sc;r=vc;break}}}while(0);if((L|0)==1428){r=kBb(24)|0;k[r+16>>2]=1073741920;k[r+20>>2]=0;k[r>>2]=0;k[r+4>>2]=0;k[r+8>>2]=yc;k[zc>>2]=r;b=k[k[Ge>>2]>>2]|0;if(!b)b=r;else{k[Ge>>2]=b;b=k[zc>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;Ac=k[Ge+4>>2]|0}k[r+20>>2]=109;do if(!Ac){k[a>>2]=Ge+4;Hc=Ge+4|0;Gc=Ge+4|0;L=1441}else{r=Ac;while(1){b=k[r+16>>2]|0;if((b|0)>1073741921){b=k[r>>2]|0;if(!b){Bc=r;Fc=r;L=1434;break}}else{if((b|0)>=1073741921){Dc=r;L=1440;break}Cc=r+4|0;b=k[Cc>>2]|0;if(!b){Ec=r;L=1438;break}}r=b}if((L|0)==1434){k[a>>2]=Fc;Hc=Bc;Gc=Fc;L=1441;break}else if((L|0)==1438){k[a>>2]=Ec;Hc=Cc;Gc=Ec;L=1441;break}else if((L|0)==1440){k[a>>2]=Dc;if(!Dc){Hc=a;Gc=Dc;L=1441;break}else{Ic=Ac;q=Dc;break}}}while(0);if((L|0)==1441){q=kBb(24)|0;k[q+16>>2]=1073741921;k[q+20>>2]=0;k[q>>2]=0;k[q+4>>2]=0;k[q+8>>2]=Gc;k[Hc>>2]=q;b=k[k[Ge>>2]>>2]|0;if(!b)b=q;else{k[Ge>>2]=b;b=k[Hc>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;Ic=k[Ge+4>>2]|0}k[q+20>>2]=110;do if(!Ic){k[a>>2]=Ge+4;Pc=Ge+4|0;Oc=Ge+4|0;L=1454}else{q=Ic;while(1){b=k[q+16>>2]|0;if((b|0)>1073741923){b=k[q>>2]|0;if(!b){Jc=q;Nc=q;L=1447;break}}else{if((b|0)>=1073741923){Lc=q;L=1453;break}Kc=q+4|0;b=k[Kc>>2]|0;if(!b){Mc=q;L=1451;break}}q=b}if((L|0)==1447){k[a>>2]=Nc;Pc=Jc;Oc=Nc;L=1454;break}else if((L|0)==1451){k[a>>2]=Mc;Pc=Kc;Oc=Mc;L=1454;break}else if((L|0)==1453){k[a>>2]=Lc;if(!Lc){Pc=a;Oc=Lc;L=1454;break}else{Qc=Ic;p=Lc;break}}}while(0);if((L|0)==1454){p=kBb(24)|0;k[p+16>>2]=1073741923;k[p+20>>2]=0;k[p>>2]=0;k[p+4>>2]=0;k[p+8>>2]=Oc;k[Pc>>2]=p;b=k[k[Ge>>2]>>2]|0;if(!b)b=p;else{k[Ge>>2]=b;b=k[Pc>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;Qc=k[Ge+4>>2]|0}k[p+20>>2]=112;do if(!Qc){k[a>>2]=Ge+4;Xc=Ge+4|0;Wc=Ge+4|0;L=1467}else{p=Qc;while(1){b=k[p+16>>2]|0;if((b|0)>1073741957){b=k[p>>2]|0;if(!b){Rc=p;Vc=p;L=1460;break}}else{if((b|0)>=1073741957){Tc=p;L=1466;break}Sc=p+4|0;b=k[Sc>>2]|0;if(!b){Uc=p;L=1464;break}}p=b}if((L|0)==1460){k[a>>2]=Vc;Xc=Rc;Wc=Vc;L=1467;break}else if((L|0)==1464){k[a>>2]=Uc;Xc=Sc;Wc=Uc;L=1467;break}else if((L|0)==1466){k[a>>2]=Tc;if(!Tc){Xc=a;Wc=Tc;L=1467;break}else{Yc=Qc;o=Tc;break}}}while(0);if((L|0)==1467){o=kBb(24)|0;k[o+16>>2]=1073741957;k[o+20>>2]=0;k[o>>2]=0;k[o+4>>2]=0;k[o+8>>2]=Wc;k[Xc>>2]=o;b=k[k[Ge>>2]>>2]|0;if(!b)b=o;else{k[Ge>>2]=b;b=k[Xc>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;Yc=k[Ge+4>>2]|0}k[o+20>>2]=113;do if(!Yc){k[a>>2]=Ge+4;dd=Ge+4|0;cd=Ge+4|0;L=1480}else{o=Yc;while(1){b=k[o+16>>2]|0;if((b|0)>1073741927){b=k[o>>2]|0;if(!b){Zc=o;bd=o;L=1473;break}}else{if((b|0)>=1073741927){$c=o;L=1479;break}_c=o+4|0;b=k[_c>>2]|0;if(!b){ad=o;L=1477;break}}o=b}if((L|0)==1473){k[a>>2]=bd;dd=Zc;cd=bd;L=1480;break}else if((L|0)==1477){k[a>>2]=ad;dd=_c;cd=ad;L=1480;break}else if((L|0)==1479){k[a>>2]=$c;if(!$c){dd=a;cd=$c;L=1480;break}else{ed=Yc;n=$c;break}}}while(0);if((L|0)==1480){n=kBb(24)|0;k[n+16>>2]=1073741927;k[n+20>>2]=0;k[n>>2]=0;k[n+4>>2]=0;k[n+8>>2]=cd;k[dd>>2]=n;b=k[k[Ge>>2]>>2]|0;if(!b)b=n;else{k[Ge>>2]=b;b=k[dd>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;ed=k[Ge+4>>2]|0}k[n+20>>2]=114;do if(!ed){k[a>>2]=Ge+4;ld=Ge+4|0;kd=Ge+4|0;L=1493}else{n=ed;while(1){b=k[n+16>>2]|0;if((b|0)>1073741925){b=k[n>>2]|0;if(!b){fd=n;jd=n;L=1486;break}}else{if((b|0)>=1073741925){hd=n;L=1492;break}gd=n+4|0;b=k[gd>>2]|0;if(!b){id=n;L=1490;break}}n=b}if((L|0)==1486){k[a>>2]=jd;ld=fd;kd=jd;L=1493;break}else if((L|0)==1490){k[a>>2]=id;ld=gd;kd=id;L=1493;break}else if((L|0)==1492){k[a>>2]=hd;if(!hd){ld=a;kd=hd;L=1493;break}else{md=ed;m=hd;break}}}while(0);if((L|0)==1493){m=kBb(24)|0;k[m+16>>2]=1073741925;k[m+20>>2]=0;k[m>>2]=0;k[m+4>>2]=0;k[m+8>>2]=kd;k[ld>>2]=m;b=k[k[Ge>>2]>>2]|0;if(!b)b=m;else{k[Ge>>2]=b;b=k[ld>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;md=k[Ge+4>>2]|0}k[m+20>>2]=115;do if(!md){k[a>>2]=Ge+4;td=Ge+4|0;sd=Ge+4|0;L=1506}else{m=md;while(1){b=k[m+16>>2]|0;if((b|0)>1073741926){b=k[m>>2]|0;if(!b){nd=m;rd=m;L=1499;break}}else{if((b|0)>=1073741926){pd=m;L=1505;break}od=m+4|0;b=k[od>>2]|0;if(!b){qd=m;L=1503;break}}m=b}if((L|0)==1499){k[a>>2]=rd;td=nd;sd=rd;L=1506;break}else if((L|0)==1503){k[a>>2]=qd;td=od;sd=qd;L=1506;break}else if((L|0)==1505){k[a>>2]=pd;if(!pd){td=a;sd=pd;L=1506;break}else{ud=md;l=pd;break}}}while(0);if((L|0)==1506){l=kBb(24)|0;k[l+16>>2]=1073741926;k[l+20>>2]=0;k[l>>2]=0;k[l+4>>2]=0;k[l+8>>2]=sd;k[td>>2]=l;b=k[k[Ge>>2]>>2]|0;if(!b)b=l;else{k[Ge>>2]=b;b=k[td>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;ud=k[Ge+4>>2]|0}k[l+20>>2]=116;do if(!ud){k[a>>2]=Ge+4;Bd=Ge+4|0;Ad=Ge+4|0;L=1519}else{l=ud;while(1){b=k[l+16>>2]|0;if((b|0)>1073741928){b=k[l>>2]|0;if(!b){vd=l;zd=l;L=1512;break}}else{if((b|0)>=1073741928){xd=l;L=1518;break}wd=l+4|0;b=k[wd>>2]|0;if(!b){yd=l;L=1516;break}}l=b}if((L|0)==1512){k[a>>2]=zd;Bd=vd;Ad=zd;L=1519;break}else if((L|0)==1516){k[a>>2]=yd;Bd=wd;Ad=yd;L=1519;break}else if((L|0)==1518){k[a>>2]=xd;if(!xd){Bd=a;Ad=xd;L=1519;break}else{Cd=ud;j=xd;break}}}while(0);if((L|0)==1519){j=kBb(24)|0;k[j+16>>2]=1073741928;k[j+20>>2]=0;k[j>>2]=0;k[j+4>>2]=0;k[j+8>>2]=Ad;k[Bd>>2]=j;b=k[k[Ge>>2]>>2]|0;if(!b)b=j;else{k[Ge>>2]=b;b=k[Bd>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;Cd=k[Ge+4>>2]|0}k[j+20>>2]=117;do if(!Cd){k[a>>2]=Ge+4;Jd=Ge+4|0;Id=Ge+4|0;L=1532}else{j=Cd;while(1){b=k[j+16>>2]|0;if((b|0)>1073741929){b=k[j>>2]|0;if(!b){Dd=j;Hd=j;L=1525;break}}else{if((b|0)>=1073741929){Fd=j;L=1531;break}Ed=j+4|0;b=k[Ed>>2]|0;if(!b){Gd=j;L=1529;break}}j=b}if((L|0)==1525){k[a>>2]=Hd;Jd=Dd;Id=Hd;L=1532;break}else if((L|0)==1529){k[a>>2]=Gd;Jd=Ed;Id=Gd;L=1532;break}else if((L|0)==1531){k[a>>2]=Fd;if(!Fd){Jd=a;Id=Fd;L=1532;break}else{Kd=Cd;i=Fd;break}}}while(0);if((L|0)==1532){i=kBb(24)|0;k[i+16>>2]=1073741929;k[i+20>>2]=0;k[i>>2]=0;k[i+4>>2]=0;k[i+8>>2]=Id;k[Jd>>2]=i;b=k[k[Ge>>2]>>2]|0;if(!b)b=i;else{k[Ge>>2]=b;b=k[Jd>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;Kd=k[Ge+4>>2]|0}k[i+20>>2]=118;do if(!Kd){k[a>>2]=Ge+4;Rd=Ge+4|0;Qd=Ge+4|0;L=1545}else{i=Kd;while(1){b=k[i+16>>2]|0;if((b|0)>1073741930){b=k[i>>2]|0;if(!b){Ld=i;Pd=i;L=1538;break}}else{if((b|0)>=1073741930){Nd=i;L=1544;break}Md=i+4|0;b=k[Md>>2]|0;if(!b){Od=i;L=1542;break}}i=b}if((L|0)==1538){k[a>>2]=Pd;Rd=Ld;Qd=Pd;L=1545;break}else if((L|0)==1542){k[a>>2]=Od;Rd=Md;Qd=Od;L=1545;break}else if((L|0)==1544){k[a>>2]=Nd;if(!Nd){Rd=a;Qd=Nd;L=1545;break}else{Sd=Kd;h=Nd;break}}}while(0);if((L|0)==1545){h=kBb(24)|0;k[h+16>>2]=1073741930;k[h+20>>2]=0;k[h>>2]=0;k[h+4>>2]=0;k[h+8>>2]=Qd;k[Rd>>2]=h;b=k[k[Ge>>2]>>2]|0;if(!b)b=h;else{k[Ge>>2]=b;b=k[Rd>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;Sd=k[Ge+4>>2]|0}k[h+20>>2]=119;do if(!Sd){k[a>>2]=Ge+4;Zd=Ge+4|0;Yd=Ge+4|0;L=1558}else{h=Sd;while(1){b=k[h+16>>2]|0;if((b|0)>1073741931){b=k[h>>2]|0;if(!b){Td=h;Xd=h;L=1551;break}}else{if((b|0)>=1073741931){Vd=h;L=1557;break}Ud=h+4|0;b=k[Ud>>2]|0;if(!b){Wd=h;L=1555;break}}h=b}if((L|0)==1551){k[a>>2]=Xd;Zd=Td;Yd=Xd;L=1558;break}else if((L|0)==1555){k[a>>2]=Wd;Zd=Ud;Yd=Wd;L=1558;break}else if((L|0)==1557){k[a>>2]=Vd;if(!Vd){Zd=a;Yd=Vd;L=1558;break}else{_d=Sd;g=Vd;break}}}while(0);if((L|0)==1558){g=kBb(24)|0;k[g+16>>2]=1073741931;k[g+20>>2]=0;k[g>>2]=0;k[g+4>>2]=0;k[g+8>>2]=Yd;k[Zd>>2]=g;b=k[k[Ge>>2]>>2]|0;if(!b)b=g;else{k[Ge>>2]=b;b=k[Zd>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;_d=k[Ge+4>>2]|0}k[g+20>>2]=120;do if(!_d){k[a>>2]=Ge+4;fe=Ge+4|0;ee=Ge+4|0;L=1571}else{g=_d;while(1){b=k[g+16>>2]|0;if((b|0)>1073741932){b=k[g>>2]|0;if(!b){$d=g;de=g;L=1564;break}}else{if((b|0)>=1073741932){be=g;L=1570;break}ae=g+4|0;b=k[ae>>2]|0;if(!b){ce=g;L=1568;break}}g=b}if((L|0)==1564){k[a>>2]=de;fe=$d;ee=de;L=1571;break}else if((L|0)==1568){k[a>>2]=ce;fe=ae;ee=ce;L=1571;break}else if((L|0)==1570){k[a>>2]=be;if(!be){fe=a;ee=be;L=1571;break}else{ge=_d;f=be;break}}}while(0);if((L|0)==1571){f=kBb(24)|0;k[f+16>>2]=1073741932;k[f+20>>2]=0;k[f>>2]=0;k[f+4>>2]=0;k[f+8>>2]=ee;k[fe>>2]=f;b=k[k[Ge>>2]>>2]|0;if(!b)b=f;else{k[Ge>>2]=b;b=k[fe>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;ge=k[Ge+4>>2]|0}k[f+20>>2]=121;do if(!ge){k[a>>2]=Ge+4;ne=Ge+4|0;me=Ge+4|0;L=1584}else{f=ge;while(1){b=k[f+16>>2]|0;if((b|0)>1073741933){b=k[f>>2]|0;if(!b){he=f;le=f;L=1577;break}}else{if((b|0)>=1073741933){je=f;L=1583;break}ie=f+4|0;b=k[ie>>2]|0;if(!b){ke=f;L=1581;break}}f=b}if((L|0)==1577){k[a>>2]=le;ne=he;me=le;L=1584;break}else if((L|0)==1581){k[a>>2]=ke;ne=ie;me=ke;L=1584;break}else if((L|0)==1583){k[a>>2]=je;if(!je){ne=a;me=je;L=1584;break}else{oe=ge;e=je;break}}}while(0);if((L|0)==1584){e=kBb(24)|0;k[e+16>>2]=1073741933;k[e+20>>2]=0;k[e>>2]=0;k[e+4>>2]=0;k[e+8>>2]=me;k[ne>>2]=e;b=k[k[Ge>>2]>>2]|0;if(!b)b=e;else{k[Ge>>2]=b;b=k[ne>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;oe=k[Ge+4>>2]|0}k[e+20>>2]=122;do if(!oe){k[a>>2]=Ge+4;ve=Ge+4|0;ue=Ge+4|0;L=1597}else{e=oe;while(1){b=k[e+16>>2]|0;if((b|0)>1073741934){b=k[e>>2]|0;if(!b){pe=e;te=e;L=1590;break}}else{if((b|0)>=1073741934){re=e;L=1596;break}qe=e+4|0;b=k[qe>>2]|0;if(!b){se=e;L=1594;break}}e=b}if((L|0)==1590){k[a>>2]=te;ve=pe;ue=te;L=1597;break}else if((L|0)==1594){k[a>>2]=se;ve=qe;ue=se;L=1597;break}else if((L|0)==1596){k[a>>2]=re;if(!re){ve=a;ue=re;L=1597;break}else{we=oe;d=re;break}}}while(0);if((L|0)==1597){d=kBb(24)|0;k[d+16>>2]=1073741934;k[d+20>>2]=0;k[d>>2]=0;k[d+4>>2]=0;k[d+8>>2]=ue;k[ve>>2]=d;b=k[k[Ge>>2]>>2]|0;if(!b)b=d;else{k[Ge>>2]=b;b=k[ve>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;we=k[Ge+4>>2]|0}k[d+20>>2]=123;do if(!we){k[a>>2]=Ge+4;Fe=Ge+4|0;De=Ge+4|0;L=1610}else{d=we;while(1){b=k[d+16>>2]|0;if((b|0)>1073741935){b=k[d>>2]|0;if(!b){xe=d;Be=d;L=1603;break}}else{if((b|0)>=1073741935){ze=d;L=1609;break}ye=d+4|0;b=k[ye>>2]|0;if(!b){Ae=d;L=1607;break}}d=b}if((L|0)==1603){k[a>>2]=Be;Fe=xe;De=Be;L=1610;break}else if((L|0)==1607){k[a>>2]=Ae;Fe=ye;De=Ae;L=1610;break}else if((L|0)==1609){k[a>>2]=ze;if(!ze){Fe=a;De=ze;L=1610;break}else{Ee=we;c=ze;break}}}while(0);if((L|0)==1610){c=kBb(24)|0;k[c+16>>2]=1073741935;k[c+20>>2]=0;k[c>>2]=0;k[c+4>>2]=0;k[c+8>>2]=De;k[Fe>>2]=c;b=k[k[Ge>>2]>>2]|0;if(!b)b=c;else{k[Ge>>2]=b;b=k[Fe>>2]|0}Qj(k[Ge+4>>2]|0,b);k[Ge+8>>2]=(k[Ge+8>>2]|0)+1;Ee=k[Ge+4>>2]|0}k[a+9336>>2]=Ce;k[a+11968>>2]=Ee;k[a+24600>>2]=M;k[a+24888>>2]=c;k[a+25904>>2]=L}function mfa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,jb=0,kb=0,lb=0,mb=0,nb=0,ob=0,pb=0,qb=0,rb=0,sb=0,tb=0,ub=0,vb=0,wb=0,xb=0,yb=0,zb=0,Ab=0,Bb=0,Cb=0,Db=0,Eb=0,Fb=0,Gb=0,Hb=0,Ib=0,Jb=0,Kb=0,Lb=0,Mb=0,Nb=0,Ob=0,Pb=0,Qb=0,Rb=0,Sb=0,Tb=0,Ub=0,Vb=0,Wb=0,Xb=0,Yb=0,Zb=0,_b=0,$b=0,ac=0,bc=0,cc=0,dc=0,ec=0,fc=0,gc=0,hc=0,ic=0,jc=0,kc=0,lc=0,mc=0,nc=0,oc=0,pc=0,qc=0,rc=0,sc=0,tc=0,uc=0,vc=0,wc=0,xc=0,yc=0,zc=0,Ac=0,Bc=0,Cc=0,Dc=0,Ec=0,Fc=0,Gc=0,Hc=0,Ic=0,Jc=0,Kc=0,Lc=0,Mc=0,Nc=0,Oc=0,Pc=0,Qc=0,Rc=0,Sc=0,Tc=0,Uc=0,Vc=0,Wc=0,Xc=0,Yc=0,Zc=0,_c=0,$c=0,ad=0,bd=0,cd=0,dd=0,ed=0,fd=0,gd=0,hd=0,id=0,jd=0,kd=0,ld=0,md=0,nd=0,od=0,pd=0,qd=0,rd=0,sd=0,td=0,ud=0,vd=0,wd=0,xd=0,yd=0,zd=0,Ad=0,Bd=0,Cd=0,Dd=0,Ed=0,Fd=0,Gd=0,Hd=0,Id=0,Jd=0,Kd=0,Ld=0,Md=0,Nd=0,Od=0,Pd=0,Qd=0,Rd=0,Sd=0,Td=0,Ud=0,Vd=0,Wd=0,Xd=0,Yd=0,Zd=0,_d=0,$d=0,ae=0,be=0,ce=0,de=0,ee=0,fe=0,ge=0,he=0,ie=0,je=0,ke=0,le=0,me=0,ne=0,oe=0,pe=0,qe=0,re=0,se=0,te=0,ue=0,ve=0,we=0,xe=0,ye=0,ze=0,Ae=0,Be=0,Ce=0,De=0,Ee=0,Fe=0,Ge=0,He=0,Ie=0,Je=0,Ke=0,Le=0,Me=0,Ne=0,Oe=0,Pe=0;Fe=k[a+32>>2]|0;He=k[a+240>>2]|0;M=k[a+6624>>2]|0;Ke=k[a+9304>>2]|0;Le=k[a+9336>>2]|0;Pe=k[a+24600>>2]|0;do if(!M){k[a>>2]=Fe+4;S=Fe+4|0;R=Fe+4|0;b=752}else{K=M;while(1){b=k[K+16>>2]|0;if((b|0)>111){b=k[K>>2]|0;if(!b){L=K;Q=K;b=745;break}}else{if((b|0)>=111){O=K;b=751;break}N=K+4|0;b=k[N>>2]|0;if(!b){P=K;b=749;break}}K=b}if((b|0)==745){k[a>>2]=Q;S=L;R=Q;b=752;break}else if((b|0)==749){k[a>>2]=P;S=N;R=P;b=752;break}else if((b|0)==751){k[a>>2]=O;if(!O){S=a;R=O;b=752;break}else{T=M;J=O;break}}}while(0);if((b|0)==752){J=kBb(24)|0;k[J+16>>2]=111;k[J+20>>2]=0;k[J>>2]=0;k[J+4>>2]=0;k[J+8>>2]=R;k[S>>2]=J;b=k[k[Fe>>2]>>2]|0;if(!b)b=J;else{k[Fe>>2]=b;b=k[S>>2]|0}Qj(k[Fe+4>>2]|0,b);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;T=k[Fe+4>>2]|0}k[J+20>>2]=58;do if(!T){k[a>>2]=Fe+4;_=Fe+4|0;Z=Fe+4|0;b=765}else{J=T;while(1){b=k[J+16>>2]|0;if((b|0)>112){b=k[J>>2]|0;if(!b){U=J;Y=J;b=758;break}}else{if((b|0)>=112){W=J;b=764;break}V=J+4|0;b=k[V>>2]|0;if(!b){X=J;b=762;break}}J=b}if((b|0)==758){k[a>>2]=Y;_=U;Z=Y;b=765;break}else if((b|0)==762){k[a>>2]=X;_=V;Z=X;b=765;break}else if((b|0)==764){k[a>>2]=W;if(!W){_=a;Z=W;b=765;break}else{$=T;I=W;break}}}while(0);if((b|0)==765){I=kBb(24)|0;k[I+16>>2]=112;k[I+20>>2]=0;k[I>>2]=0;k[I+4>>2]=0;k[I+8>>2]=Z;k[_>>2]=I;b=k[k[Fe>>2]>>2]|0;if(!b)b=I;else{k[Fe>>2]=b;b=k[_>>2]|0}Qj(k[Fe+4>>2]|0,b);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;$=k[Fe+4>>2]|0}k[I+20>>2]=59;do if(!$){k[a>>2]=Fe+4;ga=Fe+4|0;fa=Fe+4|0;b=778}else{I=$;while(1){b=k[I+16>>2]|0;if((b|0)>113){b=k[I>>2]|0;if(!b){aa=I;ea=I;b=771;break}}else{if((b|0)>=113){ca=I;b=777;break}ba=I+4|0;b=k[ba>>2]|0;if(!b){da=I;b=775;break}}I=b}if((b|0)==771){k[a>>2]=ea;ga=aa;fa=ea;b=778;break}else if((b|0)==775){k[a>>2]=da;ga=ba;fa=da;b=778;break}else if((b|0)==777){k[a>>2]=ca;if(!ca){ga=a;fa=ca;b=778;break}else{ha=$;H=ca;break}}}while(0);if((b|0)==778){H=kBb(24)|0;k[H+16>>2]=113;k[H+20>>2]=0;k[H>>2]=0;k[H+4>>2]=0;k[H+8>>2]=fa;k[ga>>2]=H;b=k[k[Fe>>2]>>2]|0;if(!b)b=H;else{k[Fe>>2]=b;b=k[ga>>2]|0}Qj(k[Fe+4>>2]|0,b);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;ha=k[Fe+4>>2]|0}k[H+20>>2]=60;do if(!ha){k[a>>2]=Fe+4;oa=Fe+4|0;na=Fe+4|0;b=791}else{H=ha;while(1){b=k[H+16>>2]|0;if((b|0)>114){b=k[H>>2]|0;if(!b){ia=H;ma=H;b=784;break}}else{if((b|0)>=114){ka=H;b=790;break}ja=H+4|0;b=k[ja>>2]|0;if(!b){la=H;b=788;break}}H=b}if((b|0)==784){k[a>>2]=ma;oa=ia;na=ma;b=791;break}else if((b|0)==788){k[a>>2]=la;oa=ja;na=la;b=791;break}else if((b|0)==790){k[a>>2]=ka;if(!ka){oa=a;na=ka;b=791;break}else{pa=ha;G=ka;break}}}while(0);if((b|0)==791){G=kBb(24)|0;k[G+16>>2]=114;k[G+20>>2]=0;k[G>>2]=0;k[G+4>>2]=0;k[G+8>>2]=na;k[oa>>2]=G;b=k[k[Fe>>2]>>2]|0;if(!b)b=G;else{k[Fe>>2]=b;b=k[oa>>2]|0}Qj(k[Fe+4>>2]|0,b);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;pa=k[Fe+4>>2]|0}k[G+20>>2]=61;do if(!pa){k[a>>2]=Fe+4;wa=Fe+4|0;va=Fe+4|0;b=804}else{G=pa;while(1){b=k[G+16>>2]|0;if((b|0)>115){b=k[G>>2]|0;if(!b){qa=G;ua=G;b=797;break}}else{if((b|0)>=115){sa=G;b=803;break}ra=G+4|0;b=k[ra>>2]|0;if(!b){ta=G;b=801;break}}G=b}if((b|0)==797){k[a>>2]=ua;wa=qa;va=ua;b=804;break}else if((b|0)==801){k[a>>2]=ta;wa=ra;va=ta;b=804;break}else if((b|0)==803){k[a>>2]=sa;if(!sa){wa=a;va=sa;b=804;break}else{xa=pa;F=sa;break}}}while(0);if((b|0)==804){F=kBb(24)|0;k[F+16>>2]=115;k[F+20>>2]=0;k[F>>2]=0;k[F+4>>2]=0;k[F+8>>2]=va;k[wa>>2]=F;b=k[k[Fe>>2]>>2]|0;if(!b)b=F;else{k[Fe>>2]=b;b=k[wa>>2]|0}Qj(k[Fe+4>>2]|0,b);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;xa=k[Fe+4>>2]|0}k[F+20>>2]=62;do if(!xa){k[a>>2]=Fe+4;Ea=Fe+4|0;Da=Fe+4|0;b=817}else{F=xa;while(1){b=k[F+16>>2]|0;if((b|0)>116){b=k[F>>2]|0;if(!b){ya=F;Ca=F;b=810;break}}else{if((b|0)>=116){Aa=F;b=816;break}za=F+4|0;b=k[za>>2]|0;if(!b){Ba=F;b=814;break}}F=b}if((b|0)==810){k[a>>2]=Ca;Ea=ya;Da=Ca;b=817;break}else if((b|0)==814){k[a>>2]=Ba;Ea=za;Da=Ba;b=817;break}else if((b|0)==816){k[a>>2]=Aa;if(!Aa){Ea=a;Da=Aa;b=817;break}else{Fa=xa;E=Aa;break}}}while(0);if((b|0)==817){E=kBb(24)|0;k[E+16>>2]=116;k[E+20>>2]=0;k[E>>2]=0;k[E+4>>2]=0;k[E+8>>2]=Da;k[Ea>>2]=E;b=k[k[Fe>>2]>>2]|0;if(!b)b=E;else{k[Fe>>2]=b;b=k[Ea>>2]|0}Qj(k[Fe+4>>2]|0,b);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;Fa=k[Fe+4>>2]|0}k[E+20>>2]=63;do if(!Fa){k[a>>2]=Fe+4;Ma=Fe+4|0;La=Fe+4|0;b=830}else{E=Fa;while(1){b=k[E+16>>2]|0;if((b|0)>117){b=k[E>>2]|0;if(!b){Ga=E;Ka=E;b=823;break}}else{if((b|0)>=117){Ia=E;b=829;break}Ha=E+4|0;b=k[Ha>>2]|0;if(!b){Ja=E;b=827;break}}E=b}if((b|0)==823){k[a>>2]=Ka;Ma=Ga;La=Ka;b=830;break}else if((b|0)==827){k[a>>2]=Ja;Ma=Ha;La=Ja;b=830;break}else if((b|0)==829){k[a>>2]=Ia;if(!Ia){Ma=a;La=Ia;b=830;break}else{Na=Fa;D=Ia;break}}}while(0);if((b|0)==830){D=kBb(24)|0;k[D+16>>2]=117;k[D+20>>2]=0;k[D>>2]=0;k[D+4>>2]=0;k[D+8>>2]=La;k[Ma>>2]=D;b=k[k[Fe>>2]>>2]|0;if(!b)b=D;else{k[Fe>>2]=b;b=k[Ma>>2]|0}Qj(k[Fe+4>>2]|0,b);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;Na=k[Fe+4>>2]|0}k[D+20>>2]=64;do if(!Na){k[a>>2]=Fe+4;Ua=Fe+4|0;Ta=Fe+4|0;b=843}else{D=Na;while(1){b=k[D+16>>2]|0;if((b|0)>118){b=k[D>>2]|0;if(!b){Oa=D;Sa=D;b=836;break}}else{if((b|0)>=118){Qa=D;b=842;break}Pa=D+4|0;b=k[Pa>>2]|0;if(!b){Ra=D;b=840;break}}D=b}if((b|0)==836){k[a>>2]=Sa;Ua=Oa;Ta=Sa;b=843;break}else if((b|0)==840){k[a>>2]=Ra;Ua=Pa;Ta=Ra;b=843;break}else if((b|0)==842){k[a>>2]=Qa;if(!Qa){Ua=a;Ta=Qa;b=843;break}else{Va=Na;C=Qa;break}}}while(0);if((b|0)==843){C=kBb(24)|0;k[C+16>>2]=118;k[C+20>>2]=0;k[C>>2]=0;k[C+4>>2]=0;k[C+8>>2]=Ta;k[Ua>>2]=C;b=k[k[Fe>>2]>>2]|0;if(!b)b=C;else{k[Fe>>2]=b;b=k[Ua>>2]|0}Qj(k[Fe+4>>2]|0,b);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;Va=k[Fe+4>>2]|0}k[C+20>>2]=65;do if(!Va){k[a>>2]=Fe+4;ab=Fe+4|0;$a=Fe+4|0;b=856}else{C=Va;while(1){b=k[C+16>>2]|0;if((b|0)>119){b=k[C>>2]|0;if(!b){Wa=C;_a=C;b=849;break}}else{if((b|0)>=119){Ya=C;b=855;break}Xa=C+4|0;b=k[Xa>>2]|0;if(!b){Za=C;b=853;break}}C=b}if((b|0)==849){k[a>>2]=_a;ab=Wa;$a=_a;b=856;break}else if((b|0)==853){k[a>>2]=Za;ab=Xa;$a=Za;b=856;break}else if((b|0)==855){k[a>>2]=Ya;if(!Ya){ab=a;$a=Ya;b=856;break}else{bb=Va;B=Ya;break}}}while(0);if((b|0)==856){B=kBb(24)|0;k[B+16>>2]=119;k[B+20>>2]=0;k[B>>2]=0;k[B+4>>2]=0;k[B+8>>2]=$a;k[ab>>2]=B;b=k[k[Fe>>2]>>2]|0;if(!b)b=B;else{k[Fe>>2]=b;b=k[ab>>2]|0}Qj(k[Fe+4>>2]|0,b);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;bb=k[Fe+4>>2]|0}k[B+20>>2]=66;do if(!bb){k[a>>2]=Fe+4;ib=Fe+4|0;hb=Fe+4|0;b=869}else{B=bb;while(1){b=k[B+16>>2]|0;if((b|0)>120){b=k[B>>2]|0;if(!b){cb=B;gb=B;b=862;break}}else{if((b|0)>=120){eb=B;b=868;break}db=B+4|0;b=k[db>>2]|0;if(!b){fb=B;b=866;break}}B=b}if((b|0)==862){k[a>>2]=gb;ib=cb;hb=gb;b=869;break}else if((b|0)==866){k[a>>2]=fb;ib=db;hb=fb;b=869;break}else if((b|0)==868){k[a>>2]=eb;if(!eb){ib=a;hb=eb;b=869;break}else{jb=bb;A=eb;break}}}while(0);if((b|0)==869){A=kBb(24)|0;k[A+16>>2]=120;k[A+20>>2]=0;k[A>>2]=0;k[A+4>>2]=0;k[A+8>>2]=hb;k[ib>>2]=A;b=k[k[Fe>>2]>>2]|0;if(!b)b=A;else{k[Fe>>2]=b;b=k[ib>>2]|0}Qj(k[Fe+4>>2]|0,b);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;jb=k[Fe+4>>2]|0}k[A+20>>2]=67;do if(!jb){k[a>>2]=Fe+4;qb=Fe+4|0;pb=Fe+4|0;b=882}else{A=jb;while(1){b=k[A+16>>2]|0;if((b|0)>121){b=k[A>>2]|0;if(!b){kb=A;ob=A;b=875;break}}else{if((b|0)>=121){mb=A;b=881;break}lb=A+4|0;b=k[lb>>2]|0;if(!b){nb=A;b=879;break}}A=b}if((b|0)==875){k[a>>2]=ob;qb=kb;pb=ob;b=882;break}else if((b|0)==879){k[a>>2]=nb;qb=lb;pb=nb;b=882;break}else if((b|0)==881){k[a>>2]=mb;if(!mb){qb=a;pb=mb;b=882;break}else{rb=jb;z=mb;break}}}while(0);if((b|0)==882){z=kBb(24)|0;k[z+16>>2]=121;k[z+20>>2]=0;k[z>>2]=0;k[z+4>>2]=0;k[z+8>>2]=pb;k[qb>>2]=z;b=k[k[Fe>>2]>>2]|0;if(!b)b=z;else{k[Fe>>2]=b;b=k[qb>>2]|0}Qj(k[Fe+4>>2]|0,b);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;rb=k[Fe+4>>2]|0}k[z+20>>2]=68;do if(!rb){k[a>>2]=Fe+4;yb=Fe+4|0;xb=Fe+4|0;b=895}else{z=rb;while(1){b=k[z+16>>2]|0;if((b|0)>122){b=k[z>>2]|0;if(!b){sb=z;wb=z;b=888;break}}else{if((b|0)>=122){ub=z;b=894;break}tb=z+4|0;b=k[tb>>2]|0;if(!b){vb=z;b=892;break}}z=b}if((b|0)==888){k[a>>2]=wb;yb=sb;xb=wb;b=895;break}else if((b|0)==892){k[a>>2]=vb;yb=tb;xb=vb;b=895;break}else if((b|0)==894){k[a>>2]=ub;if(!ub){yb=a;xb=ub;b=895;break}else{zb=rb;y=ub;break}}}while(0);if((b|0)==895){y=kBb(24)|0;k[y+16>>2]=122;k[y+20>>2]=0;k[y>>2]=0;k[y+4>>2]=0;k[y+8>>2]=xb;k[yb>>2]=y;b=k[k[Fe>>2]>>2]|0;if(!b)b=y;else{k[Fe>>2]=b;b=k[yb>>2]|0}Qj(k[Fe+4>>2]|0,b);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;zb=k[Fe+4>>2]|0}k[y+20>>2]=69;do if(!zb){k[a>>2]=Fe+4;Gb=Fe+4|0;Fb=Fe+4|0;b=908}else{y=zb;while(1){b=k[y+16>>2]|0;if((b|0)>1073741881){b=k[y>>2]|0;if(!b){Ab=y;Eb=y;b=901;break}}else{if((b|0)>=1073741881){Cb=y;b=907;break}Bb=y+4|0;b=k[Bb>>2]|0;if(!b){Db=y;b=905;break}}y=b}if((b|0)==901){k[a>>2]=Eb;Gb=Ab;Fb=Eb;b=908;break}else if((b|0)==905){k[a>>2]=Db;Gb=Bb;Fb=Db;b=908;break}else if((b|0)==907){k[a>>2]=Cb;if(!Cb){Gb=a;Fb=Cb;b=908;break}else{Hb=zb;x=Cb;break}}}while(0);if((b|0)==908){x=kBb(24)|0;k[x+16>>2]=1073741881;k[x+20>>2]=0;k[x>>2]=0;k[x+4>>2]=0;k[x+8>>2]=Fb;k[Gb>>2]=x;b=k[k[Fe>>2]>>2]|0;if(!b)b=x;else{k[Fe>>2]=b;b=k[Gb>>2]|0}Qj(k[Fe+4>>2]|0,b);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;Hb=k[Fe+4>>2]|0}k[x+20>>2]=70;do if(!Hb){k[a>>2]=Fe+4;Ob=Fe+4|0;Nb=Fe+4|0;b=921}else{x=Hb;while(1){b=k[x+16>>2]|0;if((b|0)>1073741882){b=k[x>>2]|0;if(!b){Ib=x;Mb=x;b=914;break}}else{if((b|0)>=1073741882){Kb=x;b=920;break}Jb=x+4|0;b=k[Jb>>2]|0;if(!b){Lb=x;b=918;break}}x=b}if((b|0)==914){k[a>>2]=Mb;Ob=Ib;Nb=Mb;b=921;break}else if((b|0)==918){k[a>>2]=Lb;Ob=Jb;Nb=Lb;b=921;break}else if((b|0)==920){k[a>>2]=Kb;if(!Kb){Ob=a;Nb=Kb;b=921;break}else{Pb=Hb;w=Kb;break}}}while(0);if((b|0)==921){w=kBb(24)|0;k[w+16>>2]=1073741882;k[w+20>>2]=0;k[w>>2]=0;k[w+4>>2]=0;k[w+8>>2]=Nb;k[Ob>>2]=w;b=k[k[Fe>>2]>>2]|0;if(!b)b=w;else{k[Fe>>2]=b;b=k[Ob>>2]|0}Qj(k[Fe+4>>2]|0,b);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;Pb=k[Fe+4>>2]|0}k[w+20>>2]=71;do if(!Pb){k[a>>2]=Fe+4;Wb=Fe+4|0;Vb=Fe+4|0;b=934}else{w=Pb;while(1){b=k[w+16>>2]|0;if((b|0)>1073741883){b=k[w>>2]|0;if(!b){Qb=w;Ub=w;b=927;break}}else{if((b|0)>=1073741883){Sb=w;b=933;break}Rb=w+4|0;b=k[Rb>>2]|0;if(!b){Tb=w;b=931;break}}w=b}if((b|0)==927){k[a>>2]=Ub;Wb=Qb;Vb=Ub;b=934;break}else if((b|0)==931){k[a>>2]=Tb;Wb=Rb;Vb=Tb;b=934;break}else if((b|0)==933){k[a>>2]=Sb;if(!Sb){Wb=a;Vb=Sb;b=934;break}else{Xb=Pb;v=Sb;break}}}while(0);if((b|0)==934){v=kBb(24)|0;k[v+16>>2]=1073741883;k[v+20>>2]=0;k[v>>2]=0;k[v+4>>2]=0;k[v+8>>2]=Vb;k[Wb>>2]=v;b=k[k[Fe>>2]>>2]|0;if(!b)b=v;else{k[Fe>>2]=b;b=k[Wb>>2]|0}Qj(k[Fe+4>>2]|0,b);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;Xb=k[Fe+4>>2]|0}k[v+20>>2]=72;do if(!Xb){k[a>>2]=Fe+4;cc=Fe+4|0;bc=Fe+4|0;b=947}else{v=Xb;while(1){b=k[v+16>>2]|0;if((b|0)>1073741884){b=k[v>>2]|0;if(!b){Yb=v;ac=v;b=940;break}}else{if((b|0)>=1073741884){_b=v;b=946;break}Zb=v+4|0;b=k[Zb>>2]|0;if(!b){$b=v;b=944;break}}v=b}if((b|0)==940){k[a>>2]=ac;cc=Yb;bc=ac;b=947;break}else if((b|0)==944){k[a>>2]=$b;cc=Zb;bc=$b;b=947;break}else if((b|0)==946){k[a>>2]=_b;if(!_b){cc=a;bc=_b;b=947;break}else{dc=Xb;u=_b;break}}}while(0);if((b|0)==947){u=kBb(24)|0;k[u+16>>2]=1073741884;k[u+20>>2]=0;k[u>>2]=0;k[u+4>>2]=0;k[u+8>>2]=bc;k[cc>>2]=u;b=k[k[Fe>>2]>>2]|0;if(!b)b=u;else{k[Fe>>2]=b;b=k[cc>>2]|0}Qj(k[Fe+4>>2]|0,b);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;dc=k[Fe+4>>2]|0}k[u+20>>2]=73;do if(!dc){k[a>>2]=Fe+4;kc=Fe+4|0;jc=Fe+4|0;b=960}else{u=dc;while(1){b=k[u+16>>2]|0;if((b|0)>1073741885){b=k[u>>2]|0;if(!b){ec=u;ic=u;b=953;break}}else{if((b|0)>=1073741885){gc=u;b=959;break}fc=u+4|0;b=k[fc>>2]|0;if(!b){hc=u;b=957;break}}u=b}if((b|0)==953){k[a>>2]=ic;kc=ec;jc=ic;b=960;break}else if((b|0)==957){k[a>>2]=hc;kc=fc;jc=hc;b=960;break}else if((b|0)==959){k[a>>2]=gc;if(!gc){kc=a;jc=gc;b=960;break}else{lc=dc;t=gc;break}}}while(0);if((b|0)==960){t=kBb(24)|0;k[t+16>>2]=1073741885;k[t+20>>2]=0;k[t>>2]=0;k[t+4>>2]=0;k[t+8>>2]=jc;k[kc>>2]=t;b=k[k[Fe>>2]>>2]|0;if(!b)b=t;else{k[Fe>>2]=b;b=k[kc>>2]|0}Qj(k[Fe+4>>2]|0,b);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;lc=k[Fe+4>>2]|0}k[t+20>>2]=74;do if(!lc){k[a>>2]=Fe+4;sc=Fe+4|0;rc=Fe+4|0;b=973}else{t=lc;while(1){b=k[t+16>>2]|0;if((b|0)>1073741886){b=k[t>>2]|0;if(!b){mc=t;qc=t;b=966;break}}else{if((b|0)>=1073741886){oc=t;b=972;break}nc=t+4|0;b=k[nc>>2]|0;if(!b){pc=t;b=970;break}}t=b}if((b|0)==966){k[a>>2]=qc;sc=mc;rc=qc;b=973;break}else if((b|0)==970){k[a>>2]=pc;sc=nc;rc=pc;b=973;break}else if((b|0)==972){k[a>>2]=oc;if(!oc){sc=a;rc=oc;b=973;break}else{tc=lc;s=oc;break}}}while(0);if((b|0)==973){s=kBb(24)|0;k[s+16>>2]=1073741886;k[s+20>>2]=0;k[s>>2]=0;k[s+4>>2]=0;k[s+8>>2]=rc;k[sc>>2]=s;b=k[k[Fe>>2]>>2]|0;if(!b)b=s;else{k[Fe>>2]=b;b=k[sc>>2]|0}Qj(k[Fe+4>>2]|0,b);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;tc=k[Fe+4>>2]|0}k[s+20>>2]=75;do if(!tc){k[a>>2]=Fe+4;Ac=Fe+4|0;zc=Fe+4|0;b=986}else{s=tc;while(1){b=k[s+16>>2]|0;if((b|0)>1073741887){b=k[s>>2]|0;if(!b){uc=s;yc=s;b=979;break}}else{if((b|0)>=1073741887){wc=s;b=985;break}vc=s+4|0;b=k[vc>>2]|0;if(!b){xc=s;b=983;break}}s=b}if((b|0)==979){k[a>>2]=yc;Ac=uc;zc=yc;b=986;break}else if((b|0)==983){k[a>>2]=xc;Ac=vc;zc=xc;b=986;break}else if((b|0)==985){k[a>>2]=wc;if(!wc){Ac=a;zc=wc;b=986;break}else{Bc=tc;r=wc;break}}}while(0);if((b|0)==986){r=kBb(24)|0;k[r+16>>2]=1073741887;k[r+20>>2]=0;k[r>>2]=0;k[r+4>>2]=0;k[r+8>>2]=zc;k[Ac>>2]=r;b=k[k[Fe>>2]>>2]|0;if(!b)b=r;else{k[Fe>>2]=b;b=k[Ac>>2]|0}Qj(k[Fe+4>>2]|0,b);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;Bc=k[Fe+4>>2]|0}k[r+20>>2]=76;do if(!Bc){k[a>>2]=Fe+4;Ic=Fe+4|0;Hc=Fe+4|0;b=999}else{r=Bc;while(1){b=k[r+16>>2]|0;if((b|0)>1073741888){b=k[r>>2]|0;if(!b){Cc=r;Gc=r;b=992;break}}else{if((b|0)>=1073741888){Ec=r;b=998;break}Dc=r+4|0;b=k[Dc>>2]|0;if(!b){Fc=r;b=996;break}}r=b}if((b|0)==992){k[a>>2]=Gc;Ic=Cc;Hc=Gc;b=999;break}else if((b|0)==996){k[a>>2]=Fc;Ic=Dc;Hc=Fc;b=999;break}else if((b|0)==998){k[a>>2]=Ec;if(!Ec){Ic=a;Hc=Ec;b=999;break}else{Jc=Bc;q=Ec;break}}}while(0);if((b|0)==999){q=kBb(24)|0;k[q+16>>2]=1073741888;k[q+20>>2]=0;k[q>>2]=0;k[q+4>>2]=0;k[q+8>>2]=Hc;k[Ic>>2]=q;b=k[k[Fe>>2]>>2]|0;if(!b)b=q;else{k[Fe>>2]=b;b=k[Ic>>2]|0}Qj(k[Fe+4>>2]|0,b);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;Jc=k[Fe+4>>2]|0}k[q+20>>2]=77;do if(!Jc){k[a>>2]=Fe+4;Qc=Fe+4|0;Pc=Fe+4|0;b=1012}else{q=Jc;while(1){b=k[q+16>>2]|0;if((b|0)>1073741889){b=k[q>>2]|0;if(!b){Kc=q;Oc=q;b=1005;break}}else{if((b|0)>=1073741889){Mc=q;b=1011;break}Lc=q+4|0;b=k[Lc>>2]|0;if(!b){Nc=q;b=1009;break}}q=b}if((b|0)==1005){k[a>>2]=Oc;Qc=Kc;Pc=Oc;b=1012;break}else if((b|0)==1009){k[a>>2]=Nc;Qc=Lc;Pc=Nc;b=1012;break}else if((b|0)==1011){k[a>>2]=Mc;if(!Mc){Qc=a;Pc=Mc;b=1012;break}else{Rc=Jc;p=Mc;break}}}while(0);if((b|0)==1012){p=kBb(24)|0;k[p+16>>2]=1073741889;k[p+20>>2]=0;k[p>>2]=0;k[p+4>>2]=0;k[p+8>>2]=Pc;k[Qc>>2]=p;b=k[k[Fe>>2]>>2]|0;if(!b)b=p;else{k[Fe>>2]=b;b=k[Qc>>2]|0}Qj(k[Fe+4>>2]|0,b);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;Rc=k[Fe+4>>2]|0}k[p+20>>2]=78;do if(!Rc){k[a>>2]=Fe+4;Yc=Fe+4|0;Xc=Fe+4|0;b=1025}else{p=Rc;while(1){b=k[p+16>>2]|0;if((b|0)>1073741890){b=k[p>>2]|0;if(!b){Sc=p;Wc=p;b=1018;break}}else{if((b|0)>=1073741890){Uc=p;b=1024;break}Tc=p+4|0;b=k[Tc>>2]|0;if(!b){Vc=p;b=1022;break}}p=b}if((b|0)==1018){k[a>>2]=Wc;Yc=Sc;Xc=Wc;b=1025;break}else if((b|0)==1022){k[a>>2]=Vc;Yc=Tc;Xc=Vc;b=1025;break}else if((b|0)==1024){k[a>>2]=Uc;if(!Uc){Yc=a;Xc=Uc;b=1025;break}else{Zc=Rc;o=Uc;break}}}while(0);if((b|0)==1025){o=kBb(24)|0;k[o+16>>2]=1073741890;k[o+20>>2]=0;k[o>>2]=0;k[o+4>>2]=0;k[o+8>>2]=Xc;k[Yc>>2]=o;b=k[k[Fe>>2]>>2]|0;if(!b)b=o;else{k[Fe>>2]=b;b=k[Yc>>2]|0}Qj(k[Fe+4>>2]|0,b);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;Zc=k[Fe+4>>2]|0}k[o+20>>2]=79;do if(!Zc){k[a>>2]=Fe+4;ed=Fe+4|0;dd=Fe+4|0;b=1038}else{o=Zc;while(1){b=k[o+16>>2]|0;if((b|0)>1073741891){b=k[o>>2]|0;if(!b){_c=o;cd=o;b=1031;break}}else{if((b|0)>=1073741891){ad=o;b=1037;break}$c=o+4|0;b=k[$c>>2]|0;if(!b){bd=o;b=1035;break}}o=b}if((b|0)==1031){k[a>>2]=cd;ed=_c;dd=cd;b=1038;break}else if((b|0)==1035){k[a>>2]=bd;ed=$c;dd=bd;b=1038;break}else if((b|0)==1037){k[a>>2]=ad;if(!ad){ed=a;dd=ad;b=1038;break}else{fd=Zc;n=ad;break}}}while(0);if((b|0)==1038){n=kBb(24)|0;k[n+16>>2]=1073741891;k[n+20>>2]=0;k[n>>2]=0;k[n+4>>2]=0;k[n+8>>2]=dd;k[ed>>2]=n;b=k[k[Fe>>2]>>2]|0;if(!b)b=n;else{k[Fe>>2]=b;b=k[ed>>2]|0}Qj(k[Fe+4>>2]|0,b);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;fd=k[Fe+4>>2]|0}k[n+20>>2]=80;do if(!fd){k[a>>2]=Fe+4;md=Fe+4|0;ld=Fe+4|0;b=1051}else{n=fd;while(1){b=k[n+16>>2]|0;if((b|0)>1073741892){b=k[n>>2]|0;if(!b){gd=n;kd=n;b=1044;break}}else{if((b|0)>=1073741892){id=n;b=1050;break}hd=n+4|0;b=k[hd>>2]|0;if(!b){jd=n;b=1048;break}}n=b}if((b|0)==1044){k[a>>2]=kd;md=gd;ld=kd;b=1051;break}else if((b|0)==1048){k[a>>2]=jd;md=hd;ld=jd;b=1051;break}else if((b|0)==1050){k[a>>2]=id;if(!id){md=a;ld=id;b=1051;break}else{nd=fd;m=id;break}}}while(0);if((b|0)==1051){m=kBb(24)|0;k[m+16>>2]=1073741892;k[m+20>>2]=0;k[m>>2]=0;k[m+4>>2]=0;k[m+8>>2]=ld;k[md>>2]=m;b=k[k[Fe>>2]>>2]|0;if(!b)b=m;else{k[Fe>>2]=b;b=k[md>>2]|0}Qj(k[Fe+4>>2]|0,b);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;nd=k[Fe+4>>2]|0}k[m+20>>2]=81;do if(!nd){k[a>>2]=Fe+4;ud=Fe+4|0;td=Fe+4|0;b=1064}else{m=nd;while(1){b=k[m+16>>2]|0;if((b|0)>1073741893){b=k[m>>2]|0;if(!b){od=m;sd=m;b=1057;break}}else{if((b|0)>=1073741893){qd=m;b=1063;break}pd=m+4|0;b=k[pd>>2]|0;if(!b){rd=m;b=1061;break}}m=b}if((b|0)==1057){k[a>>2]=sd;ud=od;td=sd;b=1064;break}else if((b|0)==1061){k[a>>2]=rd;ud=pd;td=rd;b=1064;break}else if((b|0)==1063){k[a>>2]=qd;if(!qd){ud=a;td=qd;b=1064;break}else{vd=nd;l=qd;break}}}while(0);if((b|0)==1064){l=kBb(24)|0;k[l+16>>2]=1073741893;k[l+20>>2]=0;k[l>>2]=0;k[l+4>>2]=0;k[l+8>>2]=td;k[ud>>2]=l;b=k[k[Fe>>2]>>2]|0;if(!b)b=l;else{k[Fe>>2]=b;b=k[ud>>2]|0}Qj(k[Fe+4>>2]|0,b);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;vd=k[Fe+4>>2]|0}k[l+20>>2]=82;do if(!vd){k[a>>2]=Fe+4;Cd=Fe+4|0;Bd=Fe+4|0;b=1077}else{l=vd;while(1){b=k[l+16>>2]|0;if((b|0)>1073741894){b=k[l>>2]|0;if(!b){wd=l;Ad=l;b=1070;break}}else{if((b|0)>=1073741894){yd=l;b=1076;break}xd=l+4|0;b=k[xd>>2]|0;if(!b){zd=l;b=1074;break}}l=b}if((b|0)==1070){k[a>>2]=Ad;Cd=wd;Bd=Ad;b=1077;break}else if((b|0)==1074){k[a>>2]=zd;Cd=xd;Bd=zd;b=1077;break}else if((b|0)==1076){k[a>>2]=yd;if(!yd){Cd=a;Bd=yd;b=1077;break}else{Dd=vd;j=yd;break}}}while(0);if((b|0)==1077){j=kBb(24)|0;k[j+16>>2]=1073741894;k[j+20>>2]=0;k[j>>2]=0;k[j+4>>2]=0;k[j+8>>2]=Bd;k[Cd>>2]=j;b=k[k[Fe>>2]>>2]|0;if(!b)b=j;else{k[Fe>>2]=b;b=k[Cd>>2]|0}Qj(k[Fe+4>>2]|0,b);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;Dd=k[Fe+4>>2]|0}k[j+20>>2]=83;do if(!Dd){k[a>>2]=Fe+4;Kd=Fe+4|0;Jd=Fe+4|0;b=1090}else{j=Dd;while(1){b=k[j+16>>2]|0;if((b|0)>1073741895){b=k[j>>2]|0;if(!b){Ed=j;Id=j;b=1083;break}}else{if((b|0)>=1073741895){Gd=j;b=1089;break}Fd=j+4|0;b=k[Fd>>2]|0;if(!b){Hd=j;b=1087;break}}j=b}if((b|0)==1083){k[a>>2]=Id;Kd=Ed;Jd=Id;b=1090;break}else if((b|0)==1087){k[a>>2]=Hd;Kd=Fd;Jd=Hd;b=1090;break}else if((b|0)==1089){k[a>>2]=Gd;if(!Gd){Kd=a;Jd=Gd;b=1090;break}else{Ld=Dd;i=Gd;break}}}while(0);if((b|0)==1090){i=kBb(24)|0;k[i+16>>2]=1073741895;k[i+20>>2]=0;k[i>>2]=0;k[i+4>>2]=0;k[i+8>>2]=Jd;k[Kd>>2]=i;b=k[k[Fe>>2]>>2]|0;if(!b)b=i;else{k[Fe>>2]=b;b=k[Kd>>2]|0}Qj(k[Fe+4>>2]|0,b);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;Ld=k[Fe+4>>2]|0}k[i+20>>2]=84;do if(!Ld){k[a>>2]=Fe+4;Sd=Fe+4|0;Rd=Fe+4|0;b=1103}else{i=Ld;while(1){b=k[i+16>>2]|0;if((b|0)>1073741896){b=k[i>>2]|0;if(!b){Md=i;Qd=i;b=1096;break}}else{if((b|0)>=1073741896){Od=i;b=1102;break}Nd=i+4|0;b=k[Nd>>2]|0;if(!b){Pd=i;b=1100;break}}i=b}if((b|0)==1096){k[a>>2]=Qd;Sd=Md;Rd=Qd;b=1103;break}else if((b|0)==1100){k[a>>2]=Pd;Sd=Nd;Rd=Pd;b=1103;break}else if((b|0)==1102){k[a>>2]=Od;if(!Od){Sd=a;Rd=Od;b=1103;break}else{Td=Ld;h=Od;break}}}while(0);if((b|0)==1103){h=kBb(24)|0;k[h+16>>2]=1073741896;k[h+20>>2]=0;k[h>>2]=0;k[h+4>>2]=0;k[h+8>>2]=Rd;k[Sd>>2]=h;b=k[k[Fe>>2]>>2]|0;if(!b)b=h;else{k[Fe>>2]=b;b=k[Sd>>2]|0}Qj(k[Fe+4>>2]|0,b);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;Td=k[Fe+4>>2]|0}k[h+20>>2]=85;do if(!Td){k[a>>2]=Fe+4;_d=Fe+4|0;Zd=Fe+4|0;b=1116}else{h=Td;while(1){b=k[h+16>>2]|0;if((b|0)>1073741897){b=k[h>>2]|0;if(!b){Ud=h;Yd=h;b=1109;break}}else{if((b|0)>=1073741897){Wd=h;b=1115;break}Vd=h+4|0;b=k[Vd>>2]|0;if(!b){Xd=h;b=1113;break}}h=b}if((b|0)==1109){k[a>>2]=Yd;_d=Ud;Zd=Yd;b=1116;break}else if((b|0)==1113){k[a>>2]=Xd;_d=Vd;Zd=Xd;b=1116;break}else if((b|0)==1115){k[a>>2]=Wd;if(!Wd){_d=a;Zd=Wd;b=1116;break}else{$d=Td;g=Wd;break}}}while(0);if((b|0)==1116){g=kBb(24)|0;k[g+16>>2]=1073741897;k[g+20>>2]=0;k[g>>2]=0;k[g+4>>2]=0;k[g+8>>2]=Zd;k[_d>>2]=g;b=k[k[Fe>>2]>>2]|0;if(!b)b=g;else{k[Fe>>2]=b;b=k[_d>>2]|0}Qj(k[Fe+4>>2]|0,b);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;$d=k[Fe+4>>2]|0}k[g+20>>2]=86;do if(!$d){k[a>>2]=Fe+4;ge=Fe+4|0;fe=Fe+4|0;b=1129}else{g=$d;while(1){b=k[g+16>>2]|0;if((b|0)>1073741898){b=k[g>>2]|0;if(!b){ae=g;ee=g;b=1122;break}}else{if((b|0)>=1073741898){ce=g;b=1128;break}be=g+4|0;b=k[be>>2]|0;if(!b){de=g;b=1126;break}}g=b}if((b|0)==1122){k[a>>2]=ee;ge=ae;fe=ee;b=1129;break}else if((b|0)==1126){k[a>>2]=de;ge=be;fe=de;b=1129;break}else if((b|0)==1128){k[a>>2]=ce;if(!ce){ge=a;fe=ce;b=1129;break}else{he=$d;f=ce;break}}}while(0);if((b|0)==1129){f=kBb(24)|0;k[f+16>>2]=1073741898;k[f+20>>2]=0;k[f>>2]=0;k[f+4>>2]=0;k[f+8>>2]=fe;k[ge>>2]=f;b=k[k[Fe>>2]>>2]|0;if(!b)b=f;else{k[Fe>>2]=b;b=k[ge>>2]|0}Qj(k[Fe+4>>2]|0,b);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;he=k[Fe+4>>2]|0}k[f+20>>2]=87;do if(!he){k[a>>2]=Fe+4;oe=Fe+4|0;ne=Fe+4|0;b=1142}else{f=he;while(1){b=k[f+16>>2]|0;if((b|0)>1073741899){b=k[f>>2]|0;if(!b){ie=f;me=f;b=1135;break}}else{if((b|0)>=1073741899){ke=f;b=1141;break}je=f+4|0;b=k[je>>2]|0;if(!b){le=f;b=1139;break}}f=b}if((b|0)==1135){k[a>>2]=me;oe=ie;ne=me;b=1142;break}else if((b|0)==1139){k[a>>2]=le;oe=je;ne=le;b=1142;break}else if((b|0)==1141){k[a>>2]=ke;if(!ke){oe=a;ne=ke;b=1142;break}else{pe=he;e=ke;break}}}while(0);if((b|0)==1142){e=kBb(24)|0;k[e+16>>2]=1073741899;k[e+20>>2]=0;k[e>>2]=0;k[e+4>>2]=0;k[e+8>>2]=ne;k[oe>>2]=e;b=k[k[Fe>>2]>>2]|0;if(!b)b=e;else{k[Fe>>2]=b;b=k[oe>>2]|0}Qj(k[Fe+4>>2]|0,b);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;pe=k[Fe+4>>2]|0}k[e+20>>2]=88;do if(!pe){k[a>>2]=Fe+4;we=Fe+4|0;ve=Fe+4|0;b=1155}else{e=pe;while(1){b=k[e+16>>2]|0;if((b|0)>127){b=k[e>>2]|0;if(!b){qe=e;ue=e;b=1148;break}}else{if((b|0)>=127){se=e;b=1154;break}re=e+4|0;b=k[re>>2]|0;if(!b){te=e;b=1152;break}}e=b}if((b|0)==1148){k[a>>2]=ue;we=qe;ve=ue;b=1155;break}else if((b|0)==1152){k[a>>2]=te;we=re;ve=te;b=1155;break}else if((b|0)==1154){k[a>>2]=se;if(!se){we=a;ve=se;b=1155;break}else{xe=pe;d=se;break}}}while(0);if((b|0)==1155){d=kBb(24)|0;k[d+16>>2]=127;k[d+20>>2]=0;k[d>>2]=0;k[d+4>>2]=0;k[d+8>>2]=ve;k[we>>2]=d;b=k[k[Fe>>2]>>2]|0;if(!b)b=d;else{k[Fe>>2]=b;b=k[we>>2]|0}Qj(k[Fe+4>>2]|0,b);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;xe=k[Fe+4>>2]|0}k[d+20>>2]=89;do if(!xe){k[a>>2]=Fe+4;Ee=Fe+4|0;De=Fe+4|0;b=1168}else{d=xe;while(1){b=k[d+16>>2]|0;if((b|0)>1073741901){b=k[d>>2]|0;if(!b){ye=d;Ce=d;b=1161;break}}else{if((b|0)>=1073741901){Ae=d;b=1167;break}ze=d+4|0;b=k[ze>>2]|0;if(!b){Be=d;b=1165;break}}d=b}if((b|0)==1161){k[a>>2]=Ce;Ee=ye;De=Ce;b=1168;break}else if((b|0)==1165){k[a>>2]=Be;Ee=ze;De=Be;b=1168;break}else if((b|0)==1167){k[a>>2]=Ae;if(!Ae){Ee=a;De=Ae;b=1168;break}else{Ge=xe;c=Ae;break}}}while(0);if((b|0)==1168){c=kBb(24)|0;k[c+16>>2]=1073741901;k[c+20>>2]=0;k[c>>2]=0;k[c+4>>2]=0;k[c+8>>2]=De;k[Ee>>2]=c;b=k[k[Fe>>2]>>2]|0;if(!b)b=c;else{k[Fe>>2]=b;b=k[Ee>>2]|0}Qj(k[Fe+4>>2]|0,b);k[Fe+8>>2]=(k[Fe+8>>2]|0)+1;Ge=k[Fe+4>>2]|0}k[c+20>>2]=90;do if(!Ge){k[a>>2]=Fe+4;He=Fe+4|0;Ke=Fe+4|0;b=1181}else{c=Ge;while(1){b=k[c+16>>2]|0;if((b|0)>1073741902){b=k[c>>2]|0;if(!b){Ie=c;Oe=c;b=1174;break}}else{if((b|0)>=1073741902){Me=c;b=1180;break}Je=c+4|0;b=k[Je>>2]|0;if(!b){Ne=c;b=1178;break}}c=b}if((b|0)==1174){k[a>>2]=Oe;He=Ie;Ke=Oe;b=1181;break}else if((b|0)==1178){k[a>>2]=Ne;He=Je;Ke=Ne;b=1181;break}else if((b|0)==1180){k[a>>2]=Me;if(!Me){He=a;Ke=Me;b=1181;break}else{Le=Ge;Pe=Me;break}}}while(0);k[a+240>>2]=He;k[a+9304>>2]=Ke;k[a+9336>>2]=Le;k[a+24600>>2]=Pe;k[a+25904>>2]=b}function nfa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,jb=0,kb=0,lb=0,mb=0,nb=0,ob=0,pb=0,qb=0,rb=0,sb=0,tb=0,ub=0,vb=0,wb=0,xb=0,yb=0,zb=0,Ab=0,Bb=0,Cb=0,Db=0,Eb=0,Fb=0,Gb=0,Hb=0,Ib=0,Jb=0,Kb=0,Lb=0,Mb=0,Nb=0,Ob=0,Pb=0,Qb=0,Rb=0,Sb=0,Tb=0,Ub=0,Vb=0,Wb=0,Xb=0,Yb=0,Zb=0,_b=0,$b=0,ac=0,bc=0,cc=0,dc=0,ec=0,fc=0,gc=0,hc=0,ic=0,jc=0,kc=0,lc=0,mc=0,nc=0,oc=0,pc=0,qc=0,rc=0,sc=0,tc=0,uc=0,vc=0,wc=0,xc=0,yc=0,zc=0,Ac=0,Bc=0,Cc=0,Dc=0,Ec=0,Fc=0,Gc=0,Hc=0,Ic=0,Jc=0,Kc=0,Lc=0,Mc=0,Nc=0,Oc=0,Pc=0,Qc=0,Rc=0,Sc=0,Tc=0,Uc=0,Vc=0,Wc=0,Xc=0,Yc=0,Zc=0,_c=0,$c=0,ad=0,bd=0,cd=0,dd=0,ed=0,fd=0,gd=0,hd=0,id=0,jd=0,kd=0,ld=0,md=0,nd=0,od=0,pd=0,qd=0,rd=0,sd=0,td=0,ud=0,vd=0,wd=0,xd=0,yd=0,zd=0,Ad=0,Bd=0,Cd=0,Dd=0,Ed=0,Fd=0,Gd=0,Hd=0,Id=0,Jd=0,Kd=0,Ld=0,Md=0,Nd=0,Od=0,Pd=0,Qd=0,Rd=0,Sd=0,Td=0,Ud=0,Vd=0,Wd=0,Xd=0,Yd=0,Zd=0,_d=0,$d=0,ae=0,be=0,ce=0,de=0,ee=0,fe=0,ge=0,he=0,ie=0,je=0,ke=0,le=0,me=0,ne=0,oe=0,pe=0,qe=0,re=0,se=0,te=0,ue=0,ve=0,we=0,xe=0,ye=0,ze=0,Ae=0,Be=0,Ce=0,De=0,Ee=0,Fe=0,Ge=0,He=0,Ie=0;He=k[a+32>>2]|0;K=k[a+1160>>2]|0;Ee=k[a+6624>>2]|0;b=k[a+17640>>2]|0;Fe=k[a+17672>>2]|0;L=k[a+25520>>2]|0;Ie=k[a+25904>>2]|0;if((Ie|0)==310){L=kBb(24)|0;k[L+16>>2]=51;k[L+20>>2]=0;k[L>>2]=0;k[L+4>>2]=0;k[L+8>>2]=b;k[K>>2]=L;b=k[k[He>>2]>>2]|0;if(!b)b=L;else{k[He>>2]=b;b=k[K>>2]|0}Qj(k[He+4>>2]|0,b);k[He+8>>2]=(k[He+8>>2]|0)+1;Fe=k[He+4>>2]|0}k[L+20>>2]=24;do if(!Fe){k[a>>2]=He+4;S=He+4|0;R=He+4|0;K=323}else{K=Fe;while(1){b=k[K+16>>2]|0;if((b|0)>52){b=k[K>>2]|0;if(!b){M=K;Q=K;K=316;break}}else{if((b|0)>=52){O=K;K=322;break}N=K+4|0;b=k[N>>2]|0;if(!b){P=K;K=320;break}}K=b}if((K|0)==316){k[a>>2]=Q;S=M;R=Q;K=323;break}else if((K|0)==320){k[a>>2]=P;S=N;R=P;K=323;break}else if((K|0)==322){k[a>>2]=O;if(!O){S=a;R=O;K=323;break}else{T=Fe;J=O;break}}}while(0);if((K|0)==323){J=kBb(24)|0;k[J+16>>2]=52;k[J+20>>2]=0;k[J>>2]=0;k[J+4>>2]=0;k[J+8>>2]=R;k[S>>2]=J;b=k[k[He>>2]>>2]|0;if(!b)b=J;else{k[He>>2]=b;b=k[S>>2]|0}Qj(k[He+4>>2]|0,b);k[He+8>>2]=(k[He+8>>2]|0)+1;T=k[He+4>>2]|0}k[J+20>>2]=25;do if(!T){k[a>>2]=He+4;_=He+4|0;Z=He+4|0;K=336}else{J=T;while(1){b=k[J+16>>2]|0;if((b|0)>53){b=k[J>>2]|0;if(!b){U=J;Y=J;K=329;break}}else{if((b|0)>=53){W=J;K=335;break}V=J+4|0;b=k[V>>2]|0;if(!b){X=J;K=333;break}}J=b}if((K|0)==329){k[a>>2]=Y;_=U;Z=Y;K=336;break}else if((K|0)==333){k[a>>2]=X;_=V;Z=X;K=336;break}else if((K|0)==335){k[a>>2]=W;if(!W){_=a;Z=W;K=336;break}else{$=T;I=W;break}}}while(0);if((K|0)==336){I=kBb(24)|0;k[I+16>>2]=53;k[I+20>>2]=0;k[I>>2]=0;k[I+4>>2]=0;k[I+8>>2]=Z;k[_>>2]=I;b=k[k[He>>2]>>2]|0;if(!b)b=I;else{k[He>>2]=b;b=k[_>>2]|0}Qj(k[He+4>>2]|0,b);k[He+8>>2]=(k[He+8>>2]|0)+1;$=k[He+4>>2]|0}k[I+20>>2]=26;do if(!$){k[a>>2]=He+4;ga=He+4|0;fa=He+4|0;K=349}else{I=$;while(1){b=k[I+16>>2]|0;if((b|0)>54){b=k[I>>2]|0;if(!b){aa=I;ea=I;K=342;break}}else{if((b|0)>=54){ca=I;K=348;break}ba=I+4|0;b=k[ba>>2]|0;if(!b){da=I;K=346;break}}I=b}if((K|0)==342){k[a>>2]=ea;ga=aa;fa=ea;K=349;break}else if((K|0)==346){k[a>>2]=da;ga=ba;fa=da;K=349;break}else if((K|0)==348){k[a>>2]=ca;if(!ca){ga=a;fa=ca;K=349;break}else{ha=$;H=ca;break}}}while(0);if((K|0)==349){H=kBb(24)|0;k[H+16>>2]=54;k[H+20>>2]=0;k[H>>2]=0;k[H+4>>2]=0;k[H+8>>2]=fa;k[ga>>2]=H;b=k[k[He>>2]>>2]|0;if(!b)b=H;else{k[He>>2]=b;b=k[ga>>2]|0}Qj(k[He+4>>2]|0,b);k[He+8>>2]=(k[He+8>>2]|0)+1;ha=k[He+4>>2]|0}k[H+20>>2]=27;do if(!ha){k[a>>2]=He+4;oa=He+4|0;na=He+4|0;K=362}else{H=ha;while(1){b=k[H+16>>2]|0;if((b|0)>55){b=k[H>>2]|0;if(!b){ia=H;ma=H;K=355;break}}else{if((b|0)>=55){ka=H;K=361;break}ja=H+4|0;b=k[ja>>2]|0;if(!b){la=H;K=359;break}}H=b}if((K|0)==355){k[a>>2]=ma;oa=ia;na=ma;K=362;break}else if((K|0)==359){k[a>>2]=la;oa=ja;na=la;K=362;break}else if((K|0)==361){k[a>>2]=ka;if(!ka){oa=a;na=ka;K=362;break}else{pa=ha;G=ka;break}}}while(0);if((K|0)==362){G=kBb(24)|0;k[G+16>>2]=55;k[G+20>>2]=0;k[G>>2]=0;k[G+4>>2]=0;k[G+8>>2]=na;k[oa>>2]=G;b=k[k[He>>2]>>2]|0;if(!b)b=G;else{k[He>>2]=b;b=k[oa>>2]|0}Qj(k[He+4>>2]|0,b);k[He+8>>2]=(k[He+8>>2]|0)+1;pa=k[He+4>>2]|0}k[G+20>>2]=28;do if(!pa){k[a>>2]=He+4;wa=He+4|0;va=He+4|0;K=375}else{G=pa;while(1){b=k[G+16>>2]|0;if((b|0)>56){b=k[G>>2]|0;if(!b){qa=G;ua=G;K=368;break}}else{if((b|0)>=56){sa=G;K=374;break}ra=G+4|0;b=k[ra>>2]|0;if(!b){ta=G;K=372;break}}G=b}if((K|0)==368){k[a>>2]=ua;wa=qa;va=ua;K=375;break}else if((K|0)==372){k[a>>2]=ta;wa=ra;va=ta;K=375;break}else if((K|0)==374){k[a>>2]=sa;if(!sa){wa=a;va=sa;K=375;break}else{xa=pa;F=sa;break}}}while(0);if((K|0)==375){F=kBb(24)|0;k[F+16>>2]=56;k[F+20>>2]=0;k[F>>2]=0;k[F+4>>2]=0;k[F+8>>2]=va;k[wa>>2]=F;b=k[k[He>>2]>>2]|0;if(!b)b=F;else{k[He>>2]=b;b=k[wa>>2]|0}Qj(k[He+4>>2]|0,b);k[He+8>>2]=(k[He+8>>2]|0)+1;xa=k[He+4>>2]|0}k[F+20>>2]=29;do if(!xa){k[a>>2]=He+4;Ea=He+4|0;Da=He+4|0;K=388}else{F=xa;while(1){b=k[F+16>>2]|0;if((b|0)>57){b=k[F>>2]|0;if(!b){ya=F;Ca=F;K=381;break}}else{if((b|0)>=57){Aa=F;K=387;break}za=F+4|0;b=k[za>>2]|0;if(!b){Ba=F;K=385;break}}F=b}if((K|0)==381){k[a>>2]=Ca;Ea=ya;Da=Ca;K=388;break}else if((K|0)==385){k[a>>2]=Ba;Ea=za;Da=Ba;K=388;break}else if((K|0)==387){k[a>>2]=Aa;if(!Aa){Ea=a;Da=Aa;K=388;break}else{Fa=xa;E=Aa;break}}}while(0);if((K|0)==388){E=kBb(24)|0;k[E+16>>2]=57;k[E+20>>2]=0;k[E>>2]=0;k[E+4>>2]=0;k[E+8>>2]=Da;k[Ea>>2]=E;b=k[k[He>>2]>>2]|0;if(!b)b=E;else{k[He>>2]=b;b=k[Ea>>2]|0}Qj(k[He+4>>2]|0,b);k[He+8>>2]=(k[He+8>>2]|0)+1;Fa=k[He+4>>2]|0}k[E+20>>2]=30;do if(!Fa){k[a>>2]=He+4;Ma=He+4|0;La=He+4|0;K=401}else{E=Fa;while(1){b=k[E+16>>2]|0;if((b|0)>58){b=k[E>>2]|0;if(!b){Ga=E;Ka=E;K=394;break}}else{if((b|0)>=58){Ia=E;K=400;break}Ha=E+4|0;b=k[Ha>>2]|0;if(!b){Ja=E;K=398;break}}E=b}if((K|0)==394){k[a>>2]=Ka;Ma=Ga;La=Ka;K=401;break}else if((K|0)==398){k[a>>2]=Ja;Ma=Ha;La=Ja;K=401;break}else if((K|0)==400){k[a>>2]=Ia;if(!Ia){Ma=a;La=Ia;K=401;break}else{Na=Fa;D=Ia;break}}}while(0);if((K|0)==401){D=kBb(24)|0;k[D+16>>2]=58;k[D+20>>2]=0;k[D>>2]=0;k[D+4>>2]=0;k[D+8>>2]=La;k[Ma>>2]=D;b=k[k[He>>2]>>2]|0;if(!b)b=D;else{k[He>>2]=b;b=k[Ma>>2]|0}Qj(k[He+4>>2]|0,b);k[He+8>>2]=(k[He+8>>2]|0)+1;Na=k[He+4>>2]|0}k[D+20>>2]=31;do if(!Na){k[a>>2]=He+4;Ua=He+4|0;Ta=He+4|0;K=414}else{D=Na;while(1){b=k[D+16>>2]|0;if((b|0)>59){b=k[D>>2]|0;if(!b){Oa=D;Sa=D;K=407;break}}else{if((b|0)>=59){Qa=D;K=413;break}Pa=D+4|0;b=k[Pa>>2]|0;if(!b){Ra=D;K=411;break}}D=b}if((K|0)==407){k[a>>2]=Sa;Ua=Oa;Ta=Sa;K=414;break}else if((K|0)==411){k[a>>2]=Ra;Ua=Pa;Ta=Ra;K=414;break}else if((K|0)==413){k[a>>2]=Qa;if(!Qa){Ua=a;Ta=Qa;K=414;break}else{Va=Na;C=Qa;break}}}while(0);if((K|0)==414){C=kBb(24)|0;k[C+16>>2]=59;k[C+20>>2]=0;k[C>>2]=0;k[C+4>>2]=0;k[C+8>>2]=Ta;k[Ua>>2]=C;b=k[k[He>>2]>>2]|0;if(!b)b=C;else{k[He>>2]=b;b=k[Ua>>2]|0}Qj(k[He+4>>2]|0,b);k[He+8>>2]=(k[He+8>>2]|0)+1;Va=k[He+4>>2]|0}k[C+20>>2]=32;do if(!Va){k[a>>2]=He+4;ab=He+4|0;$a=He+4|0;K=427}else{C=Va;while(1){b=k[C+16>>2]|0;if((b|0)>60){b=k[C>>2]|0;if(!b){Wa=C;_a=C;K=420;break}}else{if((b|0)>=60){Ya=C;K=426;break}Xa=C+4|0;b=k[Xa>>2]|0;if(!b){Za=C;K=424;break}}C=b}if((K|0)==420){k[a>>2]=_a;ab=Wa;$a=_a;K=427;break}else if((K|0)==424){k[a>>2]=Za;ab=Xa;$a=Za;K=427;break}else if((K|0)==426){k[a>>2]=Ya;if(!Ya){ab=a;$a=Ya;K=427;break}else{bb=Va;B=Ya;break}}}while(0);if((K|0)==427){B=kBb(24)|0;k[B+16>>2]=60;k[B+20>>2]=0;k[B>>2]=0;k[B+4>>2]=0;k[B+8>>2]=$a;k[ab>>2]=B;b=k[k[He>>2]>>2]|0;if(!b)b=B;else{k[He>>2]=b;b=k[ab>>2]|0}Qj(k[He+4>>2]|0,b);k[He+8>>2]=(k[He+8>>2]|0)+1;bb=k[He+4>>2]|0}k[B+20>>2]=33;do if(!bb){k[a>>2]=He+4;ib=He+4|0;hb=He+4|0;K=440}else{B=bb;while(1){b=k[B+16>>2]|0;if((b|0)>61){b=k[B>>2]|0;if(!b){cb=B;gb=B;K=433;break}}else{if((b|0)>=61){eb=B;K=439;break}db=B+4|0;b=k[db>>2]|0;if(!b){fb=B;K=437;break}}B=b}if((K|0)==433){k[a>>2]=gb;ib=cb;hb=gb;K=440;break}else if((K|0)==437){k[a>>2]=fb;ib=db;hb=fb;K=440;break}else if((K|0)==439){k[a>>2]=eb;if(!eb){ib=a;hb=eb;K=440;break}else{jb=bb;A=eb;break}}}while(0);if((K|0)==440){A=kBb(24)|0;k[A+16>>2]=61;k[A+20>>2]=0;k[A>>2]=0;k[A+4>>2]=0;k[A+8>>2]=hb;k[ib>>2]=A;b=k[k[He>>2]>>2]|0;if(!b)b=A;else{k[He>>2]=b;b=k[ib>>2]|0}Qj(k[He+4>>2]|0,b);k[He+8>>2]=(k[He+8>>2]|0)+1;jb=k[He+4>>2]|0}k[A+20>>2]=34;do if(!jb){k[a>>2]=He+4;qb=He+4|0;pb=He+4|0;K=453}else{A=jb;while(1){b=k[A+16>>2]|0;if((b|0)>62){b=k[A>>2]|0;if(!b){kb=A;ob=A;K=446;break}}else{if((b|0)>=62){mb=A;K=452;break}lb=A+4|0;b=k[lb>>2]|0;if(!b){nb=A;K=450;break}}A=b}if((K|0)==446){k[a>>2]=ob;qb=kb;pb=ob;K=453;break}else if((K|0)==450){k[a>>2]=nb;qb=lb;pb=nb;K=453;break}else if((K|0)==452){k[a>>2]=mb;if(!mb){qb=a;pb=mb;K=453;break}else{rb=jb;z=mb;break}}}while(0);if((K|0)==453){z=kBb(24)|0;k[z+16>>2]=62;k[z+20>>2]=0;k[z>>2]=0;k[z+4>>2]=0;k[z+8>>2]=pb;k[qb>>2]=z;b=k[k[He>>2]>>2]|0;if(!b)b=z;else{k[He>>2]=b;b=k[qb>>2]|0}Qj(k[He+4>>2]|0,b);k[He+8>>2]=(k[He+8>>2]|0)+1;rb=k[He+4>>2]|0}k[z+20>>2]=35;do if(!rb){k[a>>2]=He+4;yb=He+4|0;xb=He+4|0;K=466}else{z=rb;while(1){b=k[z+16>>2]|0;if((b|0)>63){b=k[z>>2]|0;if(!b){sb=z;wb=z;K=459;break}}else{if((b|0)>=63){ub=z;K=465;break}tb=z+4|0;b=k[tb>>2]|0;if(!b){vb=z;K=463;break}}z=b}if((K|0)==459){k[a>>2]=wb;yb=sb;xb=wb;K=466;break}else if((K|0)==463){k[a>>2]=vb;yb=tb;xb=vb;K=466;break}else if((K|0)==465){k[a>>2]=ub;if(!ub){yb=a;xb=ub;K=466;break}else{zb=rb;y=ub;break}}}while(0);if((K|0)==466){y=kBb(24)|0;k[y+16>>2]=63;k[y+20>>2]=0;k[y>>2]=0;k[y+4>>2]=0;k[y+8>>2]=xb;k[yb>>2]=y;b=k[k[He>>2]>>2]|0;if(!b)b=y;else{k[He>>2]=b;b=k[yb>>2]|0}Qj(k[He+4>>2]|0,b);k[He+8>>2]=(k[He+8>>2]|0)+1;zb=k[He+4>>2]|0}k[y+20>>2]=36;do if(!zb){k[a>>2]=He+4;Gb=He+4|0;Fb=He+4|0;K=479}else{y=zb;while(1){b=k[y+16>>2]|0;if((b|0)>64){b=k[y>>2]|0;if(!b){Ab=y;Eb=y;K=472;break}}else{if((b|0)>=64){Cb=y;K=478;break}Bb=y+4|0;b=k[Bb>>2]|0;if(!b){Db=y;K=476;break}}y=b}if((K|0)==472){k[a>>2]=Eb;Gb=Ab;Fb=Eb;K=479;break}else if((K|0)==476){k[a>>2]=Db;Gb=Bb;Fb=Db;K=479;break}else if((K|0)==478){k[a>>2]=Cb;if(!Cb){Gb=a;Fb=Cb;K=479;break}else{Hb=zb;x=Cb;break}}}while(0);if((K|0)==479){x=kBb(24)|0;k[x+16>>2]=64;k[x+20>>2]=0;k[x>>2]=0;k[x+4>>2]=0;k[x+8>>2]=Fb;k[Gb>>2]=x;b=k[k[He>>2]>>2]|0;if(!b)b=x;else{k[He>>2]=b;b=k[Gb>>2]|0}Qj(k[He+4>>2]|0,b);k[He+8>>2]=(k[He+8>>2]|0)+1;Hb=k[He+4>>2]|0}k[x+20>>2]=37;do if(!Hb){k[a>>2]=He+4;Ob=He+4|0;Nb=He+4|0;K=492}else{x=Hb;while(1){b=k[x+16>>2]|0;if((b|0)>91){b=k[x>>2]|0;if(!b){Ib=x;Mb=x;K=485;break}}else{if((b|0)>=91){Kb=x;K=491;break}Jb=x+4|0;b=k[Jb>>2]|0;if(!b){Lb=x;K=489;break}}x=b}if((K|0)==485){k[a>>2]=Mb;Ob=Ib;Nb=Mb;K=492;break}else if((K|0)==489){k[a>>2]=Lb;Ob=Jb;Nb=Lb;K=492;break}else if((K|0)==491){k[a>>2]=Kb;if(!Kb){Ob=a;Nb=Kb;K=492;break}else{Pb=Hb;w=Kb;break}}}while(0);if((K|0)==492){w=kBb(24)|0;k[w+16>>2]=91;k[w+20>>2]=0;k[w>>2]=0;k[w+4>>2]=0;k[w+8>>2]=Nb;k[Ob>>2]=w;b=k[k[He>>2]>>2]|0;if(!b)b=w;else{k[He>>2]=b;b=k[Ob>>2]|0}Qj(k[He+4>>2]|0,b);k[He+8>>2]=(k[He+8>>2]|0)+1;Pb=k[He+4>>2]|0}k[w+20>>2]=38;do if(!Pb){k[a>>2]=He+4;Wb=He+4|0;Vb=He+4|0;K=505}else{w=Pb;while(1){b=k[w+16>>2]|0;if((b|0)>92){b=k[w>>2]|0;if(!b){Qb=w;Ub=w;K=498;break}}else{if((b|0)>=92){Sb=w;K=504;break}Rb=w+4|0;b=k[Rb>>2]|0;if(!b){Tb=w;K=502;break}}w=b}if((K|0)==498){k[a>>2]=Ub;Wb=Qb;Vb=Ub;K=505;break}else if((K|0)==502){k[a>>2]=Tb;Wb=Rb;Vb=Tb;K=505;break}else if((K|0)==504){k[a>>2]=Sb;if(!Sb){Wb=a;Vb=Sb;K=505;break}else{Xb=Pb;v=Sb;break}}}while(0);if((K|0)==505){v=kBb(24)|0;k[v+16>>2]=92;k[v+20>>2]=0;k[v>>2]=0;k[v+4>>2]=0;k[v+8>>2]=Vb;k[Wb>>2]=v;b=k[k[He>>2]>>2]|0;if(!b)b=v;else{k[He>>2]=b;b=k[Wb>>2]|0}Qj(k[He+4>>2]|0,b);k[He+8>>2]=(k[He+8>>2]|0)+1;Xb=k[He+4>>2]|0}k[v+20>>2]=39;do if(!Xb){k[a>>2]=He+4;cc=He+4|0;bc=He+4|0;K=518}else{v=Xb;while(1){b=k[v+16>>2]|0;if((b|0)>93){b=k[v>>2]|0;if(!b){Yb=v;ac=v;K=511;break}}else{if((b|0)>=93){_b=v;K=517;break}Zb=v+4|0;b=k[Zb>>2]|0;if(!b){$b=v;K=515;break}}v=b}if((K|0)==511){k[a>>2]=ac;cc=Yb;bc=ac;K=518;break}else if((K|0)==515){k[a>>2]=$b;cc=Zb;bc=$b;K=518;break}else if((K|0)==517){k[a>>2]=_b;if(!_b){cc=a;bc=_b;K=518;break}else{dc=Xb;u=_b;break}}}while(0);if((K|0)==518){u=kBb(24)|0;k[u+16>>2]=93;k[u+20>>2]=0;k[u>>2]=0;k[u+4>>2]=0;k[u+8>>2]=bc;k[cc>>2]=u;b=k[k[He>>2]>>2]|0;if(!b)b=u;else{k[He>>2]=b;b=k[cc>>2]|0}Qj(k[He+4>>2]|0,b);k[He+8>>2]=(k[He+8>>2]|0)+1;dc=k[He+4>>2]|0}k[u+20>>2]=40;do if(!dc){k[a>>2]=He+4;kc=He+4|0;jc=He+4|0;K=531}else{u=dc;while(1){b=k[u+16>>2]|0;if((b|0)>94){b=k[u>>2]|0;if(!b){ec=u;ic=u;K=524;break}}else{if((b|0)>=94){gc=u;K=530;break}fc=u+4|0;b=k[fc>>2]|0;if(!b){hc=u;K=528;break}}u=b}if((K|0)==524){k[a>>2]=ic;kc=ec;jc=ic;K=531;break}else if((K|0)==528){k[a>>2]=hc;kc=fc;jc=hc;K=531;break}else if((K|0)==530){k[a>>2]=gc;if(!gc){kc=a;jc=gc;K=531;break}else{lc=dc;t=gc;break}}}while(0);if((K|0)==531){t=kBb(24)|0;k[t+16>>2]=94;k[t+20>>2]=0;k[t>>2]=0;k[t+4>>2]=0;k[t+8>>2]=jc;k[kc>>2]=t;b=k[k[He>>2]>>2]|0;if(!b)b=t;else{k[He>>2]=b;b=k[kc>>2]|0}Qj(k[He+4>>2]|0,b);k[He+8>>2]=(k[He+8>>2]|0)+1;lc=k[He+4>>2]|0}k[t+20>>2]=41;do if(!lc){k[a>>2]=He+4;sc=He+4|0;rc=He+4|0;K=544}else{t=lc;while(1){b=k[t+16>>2]|0;if((b|0)>95){b=k[t>>2]|0;if(!b){mc=t;qc=t;K=537;break}}else{if((b|0)>=95){oc=t;K=543;break}nc=t+4|0;b=k[nc>>2]|0;if(!b){pc=t;K=541;break}}t=b}if((K|0)==537){k[a>>2]=qc;sc=mc;rc=qc;K=544;break}else if((K|0)==541){k[a>>2]=pc;sc=nc;rc=pc;K=544;break}else if((K|0)==543){k[a>>2]=oc;if(!oc){sc=a;rc=oc;K=544;break}else{tc=lc;s=oc;break}}}while(0);if((K|0)==544){s=kBb(24)|0;k[s+16>>2]=95;k[s+20>>2]=0;k[s>>2]=0;k[s+4>>2]=0;k[s+8>>2]=rc;k[sc>>2]=s;b=k[k[He>>2]>>2]|0;if(!b)b=s;else{k[He>>2]=b;b=k[sc>>2]|0}Qj(k[He+4>>2]|0,b);k[He+8>>2]=(k[He+8>>2]|0)+1;tc=k[He+4>>2]|0}k[s+20>>2]=42;do if(!tc){k[a>>2]=He+4;Ac=He+4|0;zc=He+4|0;K=557}else{s=tc;while(1){b=k[s+16>>2]|0;if((b|0)>96){b=k[s>>2]|0;if(!b){uc=s;yc=s;K=550;break}}else{if((b|0)>=96){wc=s;K=556;break}vc=s+4|0;b=k[vc>>2]|0;if(!b){xc=s;K=554;break}}s=b}if((K|0)==550){k[a>>2]=yc;Ac=uc;zc=yc;K=557;break}else if((K|0)==554){k[a>>2]=xc;Ac=vc;zc=xc;K=557;break}else if((K|0)==556){k[a>>2]=wc;if(!wc){Ac=a;zc=wc;K=557;break}else{Bc=tc;r=wc;break}}}while(0);if((K|0)==557){r=kBb(24)|0;k[r+16>>2]=96;k[r+20>>2]=0;k[r>>2]=0;k[r+4>>2]=0;k[r+8>>2]=zc;k[Ac>>2]=r;b=k[k[He>>2]>>2]|0;if(!b)b=r;else{k[He>>2]=b;b=k[Ac>>2]|0}Qj(k[He+4>>2]|0,b);k[He+8>>2]=(k[He+8>>2]|0)+1;Bc=k[He+4>>2]|0}k[r+20>>2]=43;do if(!Bc){k[a>>2]=He+4;Ic=He+4|0;Hc=He+4|0;K=570}else{r=Bc;while(1){b=k[r+16>>2]|0;if((b|0)>97){b=k[r>>2]|0;if(!b){Cc=r;Gc=r;K=563;break}}else{if((b|0)>=97){Ec=r;K=569;break}Dc=r+4|0;b=k[Dc>>2]|0;if(!b){Fc=r;K=567;break}}r=b}if((K|0)==563){k[a>>2]=Gc;Ic=Cc;Hc=Gc;K=570;break}else if((K|0)==567){k[a>>2]=Fc;Ic=Dc;Hc=Fc;K=570;break}else if((K|0)==569){k[a>>2]=Ec;if(!Ec){Ic=a;Hc=Ec;K=570;break}else{Jc=Bc;q=Ec;break}}}while(0);if((K|0)==570){q=kBb(24)|0;k[q+16>>2]=97;k[q+20>>2]=0;k[q>>2]=0;k[q+4>>2]=0;k[q+8>>2]=Hc;k[Ic>>2]=q;b=k[k[He>>2]>>2]|0;if(!b)b=q;else{k[He>>2]=b;b=k[Ic>>2]|0}Qj(k[He+4>>2]|0,b);k[He+8>>2]=(k[He+8>>2]|0)+1;Jc=k[He+4>>2]|0}k[q+20>>2]=44;do if(!Jc){k[a>>2]=He+4;Qc=He+4|0;Pc=He+4|0;K=583}else{q=Jc;while(1){b=k[q+16>>2]|0;if((b|0)>98){b=k[q>>2]|0;if(!b){Kc=q;Oc=q;K=576;break}}else{if((b|0)>=98){Mc=q;K=582;break}Lc=q+4|0;b=k[Lc>>2]|0;if(!b){Nc=q;K=580;break}}q=b}if((K|0)==576){k[a>>2]=Oc;Qc=Kc;Pc=Oc;K=583;break}else if((K|0)==580){k[a>>2]=Nc;Qc=Lc;Pc=Nc;K=583;break}else if((K|0)==582){k[a>>2]=Mc;if(!Mc){Qc=a;Pc=Mc;K=583;break}else{Rc=Jc;p=Mc;break}}}while(0);if((K|0)==583){p=kBb(24)|0;k[p+16>>2]=98;k[p+20>>2]=0;k[p>>2]=0;k[p+4>>2]=0;k[p+8>>2]=Pc;k[Qc>>2]=p;b=k[k[He>>2]>>2]|0;if(!b)b=p;else{k[He>>2]=b;b=k[Qc>>2]|0}Qj(k[He+4>>2]|0,b);k[He+8>>2]=(k[He+8>>2]|0)+1;Rc=k[He+4>>2]|0}k[p+20>>2]=45;do if(!Rc){k[a>>2]=He+4;Yc=He+4|0;Xc=He+4|0;K=596}else{p=Rc;while(1){b=k[p+16>>2]|0;if((b|0)>99){b=k[p>>2]|0;if(!b){Sc=p;Wc=p;K=589;break}}else{if((b|0)>=99){Uc=p;K=595;break}Tc=p+4|0;b=k[Tc>>2]|0;if(!b){Vc=p;K=593;break}}p=b}if((K|0)==589){k[a>>2]=Wc;Yc=Sc;Xc=Wc;K=596;break}else if((K|0)==593){k[a>>2]=Vc;Yc=Tc;Xc=Vc;K=596;break}else if((K|0)==595){k[a>>2]=Uc;if(!Uc){Yc=a;Xc=Uc;K=596;break}else{Zc=Rc;o=Uc;break}}}while(0);if((K|0)==596){o=kBb(24)|0;k[o+16>>2]=99;k[o+20>>2]=0;k[o>>2]=0;k[o+4>>2]=0;k[o+8>>2]=Xc;k[Yc>>2]=o;b=k[k[He>>2]>>2]|0;if(!b)b=o;else{k[He>>2]=b;b=k[Yc>>2]|0}Qj(k[He+4>>2]|0,b);k[He+8>>2]=(k[He+8>>2]|0)+1;Zc=k[He+4>>2]|0}k[o+20>>2]=46;do if(!Zc){k[a>>2]=He+4;ed=He+4|0;dd=He+4|0;K=609}else{o=Zc;while(1){b=k[o+16>>2]|0;if((b|0)>100){b=k[o>>2]|0;if(!b){_c=o;cd=o;K=602;break}}else{if((b|0)>=100){ad=o;K=608;break}$c=o+4|0;b=k[$c>>2]|0;if(!b){bd=o;K=606;break}}o=b}if((K|0)==602){k[a>>2]=cd;ed=_c;dd=cd;K=609;break}else if((K|0)==606){k[a>>2]=bd;ed=$c;dd=bd;K=609;break}else if((K|0)==608){k[a>>2]=ad;if(!ad){ed=a;dd=ad;K=609;break}else{fd=Zc;n=ad;break}}}while(0);if((K|0)==609){n=kBb(24)|0;k[n+16>>2]=100;k[n+20>>2]=0;k[n>>2]=0;k[n+4>>2]=0;k[n+8>>2]=dd;k[ed>>2]=n;b=k[k[He>>2]>>2]|0;if(!b)b=n;else{k[He>>2]=b;b=k[ed>>2]|0}Qj(k[He+4>>2]|0,b);k[He+8>>2]=(k[He+8>>2]|0)+1;fd=k[He+4>>2]|0}k[n+20>>2]=47;do if(!fd){k[a>>2]=He+4;md=He+4|0;ld=He+4|0;K=622}else{n=fd;while(1){b=k[n+16>>2]|0;if((b|0)>101){b=k[n>>2]|0;if(!b){gd=n;kd=n;K=615;break}}else{if((b|0)>=101){id=n;K=621;break}hd=n+4|0;b=k[hd>>2]|0;if(!b){jd=n;K=619;break}}n=b}if((K|0)==615){k[a>>2]=kd;md=gd;ld=kd;K=622;break}else if((K|0)==619){k[a>>2]=jd;md=hd;ld=jd;K=622;break}else if((K|0)==621){k[a>>2]=id;if(!id){md=a;ld=id;K=622;break}else{nd=fd;m=id;break}}}while(0);if((K|0)==622){m=kBb(24)|0;k[m+16>>2]=101;k[m+20>>2]=0;k[m>>2]=0;k[m+4>>2]=0;k[m+8>>2]=ld;k[md>>2]=m;b=k[k[He>>2]>>2]|0;if(!b)b=m;else{k[He>>2]=b;b=k[md>>2]|0}Qj(k[He+4>>2]|0,b);k[He+8>>2]=(k[He+8>>2]|0)+1;nd=k[He+4>>2]|0}k[m+20>>2]=48;do if(!nd){k[a>>2]=He+4;ud=He+4|0;td=He+4|0;K=635}else{m=nd;while(1){b=k[m+16>>2]|0;if((b|0)>102){b=k[m>>2]|0;if(!b){od=m;sd=m;K=628;break}}else{if((b|0)>=102){qd=m;K=634;break}pd=m+4|0;b=k[pd>>2]|0;if(!b){rd=m;K=632;break}}m=b}if((K|0)==628){k[a>>2]=sd;ud=od;td=sd;K=635;break}else if((K|0)==632){k[a>>2]=rd;ud=pd;td=rd;K=635;break}else if((K|0)==634){k[a>>2]=qd;if(!qd){ud=a;td=qd;K=635;break}else{vd=nd;l=qd;break}}}while(0);if((K|0)==635){l=kBb(24)|0;k[l+16>>2]=102;k[l+20>>2]=0;k[l>>2]=0;k[l+4>>2]=0;k[l+8>>2]=td;k[ud>>2]=l;b=k[k[He>>2]>>2]|0;if(!b)b=l;else{k[He>>2]=b;b=k[ud>>2]|0}Qj(k[He+4>>2]|0,b);k[He+8>>2]=(k[He+8>>2]|0)+1;vd=k[He+4>>2]|0}k[l+20>>2]=49;do if(!vd){k[a>>2]=He+4;Cd=He+4|0;Bd=He+4|0;K=648}else{l=vd;while(1){b=k[l+16>>2]|0;if((b|0)>103){b=k[l>>2]|0;if(!b){wd=l;Ad=l;K=641;break}}else{if((b|0)>=103){yd=l;K=647;break}xd=l+4|0;b=k[xd>>2]|0;if(!b){zd=l;K=645;break}}l=b}if((K|0)==641){k[a>>2]=Ad;Cd=wd;Bd=Ad;K=648;break}else if((K|0)==645){k[a>>2]=zd;Cd=xd;Bd=zd;K=648;break}else if((K|0)==647){k[a>>2]=yd;if(!yd){Cd=a;Bd=yd;K=648;break}else{Dd=vd;j=yd;break}}}while(0);if((K|0)==648){j=kBb(24)|0;k[j+16>>2]=103;k[j+20>>2]=0;k[j>>2]=0;k[j+4>>2]=0;k[j+8>>2]=Bd;k[Cd>>2]=j;b=k[k[He>>2]>>2]|0;if(!b)b=j;else{k[He>>2]=b;b=k[Cd>>2]|0}Qj(k[He+4>>2]|0,b);k[He+8>>2]=(k[He+8>>2]|0)+1;Dd=k[He+4>>2]|0}k[j+20>>2]=50;do if(!Dd){k[a>>2]=He+4;Kd=He+4|0;Jd=He+4|0;K=661}else{j=Dd;while(1){b=k[j+16>>2]|0;if((b|0)>104){b=k[j>>2]|0;if(!b){Ed=j;Id=j;K=654;break}}else{if((b|0)>=104){Gd=j;K=660;break}Fd=j+4|0;b=k[Fd>>2]|0;if(!b){Hd=j;K=658;break}}j=b}if((K|0)==654){k[a>>2]=Id;Kd=Ed;Jd=Id;K=661;break}else if((K|0)==658){k[a>>2]=Hd;Kd=Fd;Jd=Hd;K=661;break}else if((K|0)==660){k[a>>2]=Gd;if(!Gd){Kd=a;Jd=Gd;K=661;break}else{Ld=Dd;i=Gd;break}}}while(0);if((K|0)==661){i=kBb(24)|0;k[i+16>>2]=104;k[i+20>>2]=0;k[i>>2]=0;k[i+4>>2]=0;k[i+8>>2]=Jd;k[Kd>>2]=i;b=k[k[He>>2]>>2]|0;if(!b)b=i;else{k[He>>2]=b;b=k[Kd>>2]|0}Qj(k[He+4>>2]|0,b);k[He+8>>2]=(k[He+8>>2]|0)+1;Ld=k[He+4>>2]|0}k[i+20>>2]=51;do if(!Ld){k[a>>2]=He+4;Sd=He+4|0;Rd=He+4|0;K=674}else{i=Ld;while(1){b=k[i+16>>2]|0;if((b|0)>105){b=k[i>>2]|0;if(!b){Md=i;Qd=i;K=667;break}}else{if((b|0)>=105){Od=i;K=673;break}Nd=i+4|0;b=k[Nd>>2]|0;if(!b){Pd=i;K=671;break}}i=b}if((K|0)==667){k[a>>2]=Qd;Sd=Md;Rd=Qd;K=674;break}else if((K|0)==671){k[a>>2]=Pd;Sd=Nd;Rd=Pd;K=674;break}else if((K|0)==673){k[a>>2]=Od;if(!Od){Sd=a;Rd=Od;K=674;break}else{Td=Ld;h=Od;break}}}while(0);if((K|0)==674){h=kBb(24)|0;k[h+16>>2]=105;k[h+20>>2]=0;k[h>>2]=0;k[h+4>>2]=0;k[h+8>>2]=Rd;k[Sd>>2]=h;b=k[k[He>>2]>>2]|0;if(!b)b=h;else{k[He>>2]=b;b=k[Sd>>2]|0}Qj(k[He+4>>2]|0,b);k[He+8>>2]=(k[He+8>>2]|0)+1;Td=k[He+4>>2]|0}k[h+20>>2]=52;do if(!Td){k[a>>2]=He+4;_d=He+4|0;Zd=He+4|0;K=687}else{h=Td;while(1){b=k[h+16>>2]|0;if((b|0)>106){b=k[h>>2]|0;if(!b){Ud=h;Yd=h;K=680;break}}else{if((b|0)>=106){Wd=h;K=686;break}Vd=h+4|0;b=k[Vd>>2]|0;if(!b){Xd=h;K=684;break}}h=b}if((K|0)==680){k[a>>2]=Yd;_d=Ud;Zd=Yd;K=687;break}else if((K|0)==684){k[a>>2]=Xd;_d=Vd;Zd=Xd;K=687;break}else if((K|0)==686){k[a>>2]=Wd;if(!Wd){_d=a;Zd=Wd;K=687;break}else{$d=Td;g=Wd;break}}}while(0);if((K|0)==687){g=kBb(24)|0;k[g+16>>2]=106;k[g+20>>2]=0;k[g>>2]=0;k[g+4>>2]=0;k[g+8>>2]=Zd;k[_d>>2]=g;b=k[k[He>>2]>>2]|0;if(!b)b=g;else{k[He>>2]=b;b=k[_d>>2]|0}Qj(k[He+4>>2]|0,b);k[He+8>>2]=(k[He+8>>2]|0)+1;$d=k[He+4>>2]|0}k[g+20>>2]=53;do if(!$d){k[a>>2]=He+4;ge=He+4|0;fe=He+4|0;K=700}else{g=$d;while(1){b=k[g+16>>2]|0;if((b|0)>107){b=k[g>>2]|0;if(!b){ae=g;ee=g;K=693;break}}else{if((b|0)>=107){ce=g;K=699;break}be=g+4|0;b=k[be>>2]|0;if(!b){de=g;K=697;break}}g=b}if((K|0)==693){k[a>>2]=ee;ge=ae;fe=ee;K=700;break}else if((K|0)==697){k[a>>2]=de;ge=be;fe=de;K=700;break}else if((K|0)==699){k[a>>2]=ce;if(!ce){ge=a;fe=ce;K=700;break}else{he=$d;f=ce;break}}}while(0);if((K|0)==700){f=kBb(24)|0;k[f+16>>2]=107;k[f+20>>2]=0;k[f>>2]=0;k[f+4>>2]=0;k[f+8>>2]=fe;k[ge>>2]=f;b=k[k[He>>2]>>2]|0;if(!b)b=f;else{k[He>>2]=b;b=k[ge>>2]|0}Qj(k[He+4>>2]|0,b);k[He+8>>2]=(k[He+8>>2]|0)+1;he=k[He+4>>2]|0}k[f+20>>2]=54;do if(!he){k[a>>2]=He+4;oe=He+4|0;ne=He+4|0;K=713}else{f=he;while(1){b=k[f+16>>2]|0;if((b|0)>108){b=k[f>>2]|0;if(!b){ie=f;me=f;K=706;break}}else{if((b|0)>=108){ke=f;K=712;break}je=f+4|0;b=k[je>>2]|0;if(!b){le=f;K=710;break}}f=b}if((K|0)==706){k[a>>2]=me;oe=ie;ne=me;K=713;break}else if((K|0)==710){k[a>>2]=le;oe=je;ne=le;K=713;break}else if((K|0)==712){k[a>>2]=ke;if(!ke){oe=a;ne=ke;K=713;break}else{pe=he;e=ke;break}}}while(0);if((K|0)==713){e=kBb(24)|0;k[e+16>>2]=108;k[e+20>>2]=0;k[e>>2]=0;k[e+4>>2]=0;k[e+8>>2]=ne;k[oe>>2]=e;b=k[k[He>>2]>>2]|0;if(!b)b=e;else{k[He>>2]=b;b=k[oe>>2]|0}Qj(k[He+4>>2]|0,b);k[He+8>>2]=(k[He+8>>2]|0)+1;pe=k[He+4>>2]|0}k[e+20>>2]=55;do if(!pe){k[a>>2]=He+4;we=He+4|0;ve=He+4|0;K=726}else{e=pe;while(1){b=k[e+16>>2]|0;if((b|0)>109){b=k[e>>2]|0;if(!b){qe=e;ue=e;K=719;break}}else{if((b|0)>=109){se=e;K=725;break}re=e+4|0;b=k[re>>2]|0;if(!b){te=e;K=723;break}}e=b}if((K|0)==719){k[a>>2]=ue;we=qe;ve=ue;K=726;break}else if((K|0)==723){k[a>>2]=te;we=re;ve=te;K=726;break}else if((K|0)==725){k[a>>2]=se;if(!se){we=a;ve=se;K=726;break}else{xe=pe;d=se;break}}}while(0);if((K|0)==726){d=kBb(24)|0;k[d+16>>2]=109;k[d+20>>2]=0;k[d>>2]=0;k[d+4>>2]=0;k[d+8>>2]=ve;k[we>>2]=d;b=k[k[He>>2]>>2]|0;if(!b)b=d;else{k[He>>2]=b;b=k[we>>2]|0}Qj(k[He+4>>2]|0,b);k[He+8>>2]=(k[He+8>>2]|0)+1;xe=k[He+4>>2]|0}k[d+20>>2]=56;do if(!xe){k[a>>2]=He+4;Ge=He+4|0;De=He+4|0;K=739}else{d=xe;while(1){b=k[d+16>>2]|0;if((b|0)>110){b=k[d>>2]|0;if(!b){ye=d;Ce=d;K=732;break}}else{if((b|0)>=110){Ae=d;K=738;break}ze=d+4|0;b=k[ze>>2]|0;if(!b){Be=d;K=736;break}}d=b}if((K|0)==732){k[a>>2]=Ce;Ge=ye;De=Ce;K=739;break}else if((K|0)==736){k[a>>2]=Be;Ge=ze;De=Be;K=739;break}else if((K|0)==738){k[a>>2]=Ae;if(!Ae){Ge=a;De=Ae;K=739;break}else{Ee=xe;c=Ae;break}}}while(0);if((K|0)==739){c=kBb(24)|0;k[c+16>>2]=110;k[c+20>>2]=0;k[c>>2]=0;k[c+4>>2]=0;k[c+8>>2]=De;k[Ge>>2]=c;b=k[k[He>>2]>>2]|0;if(!b)b=c;else{k[He>>2]=b;b=k[Ge>>2]|0}Qj(k[He+4>>2]|0,b);k[He+8>>2]=(k[He+8>>2]|0)+1;Ee=k[He+4>>2]|0}k[c+20>>2]=57;k[a+6624>>2]=Ee;k[a+17672>>2]=Fe;k[a+25520>>2]=L;k[a+25904>>2]=K} +function Wsa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,p=0,q=0,s=0;s=r;r=r+24464|0;q=0;k[165823]=0;b=Gi[a&2047](611273)|0;k[164209]=b;if(!b){q=0;r=s;return q|0}d=Gi[b&2047](7938)|0;b=i[d>>0]|0;c=i[d+2>>0]|0;if(!(Dmb(d,445e3,10)|0)){h=1;b=i[d+10>>0]|0;c=i[d+12>>0]|0}else h=0;g=b+-48|0;b=1;if(b){b=0;if(!(Dmb(d,445011,6)|0)){p=i[d+8>>0]|0;m=(i[d+6>>0]|0)+-47|0;k[165823]=m;n=p;p=p+-48|0;q=7}else b=1}if(b)if(1){e=c+-48|0;k[165823]=g;f=1;if(f){f=0;if(!h){i[1248930]=((g|0)>1|(g|0)==1&(e|0)>-1)&1;b=(c|0)>48;i[1248931]=((g|0)>1|(g|0)==1&b)&1;i[1248932]=((g|0)>1|(g|0)==1&(e|0)>1)&1;i[1248933]=((g|0)>1|(g|0)==1&(e|0)>2)&1;i[1248934]=((g|0)>1|(g|0)==1&(e|0)>3)&1;i[1248935]=((g|0)>1|(g|0)==1&(e|0)>4)&1;i[1248936]=((g|0)>2|(g|0)==2&(e|0)>-1)&1;i[1248937]=((g|0)>2|(g|0)==2&b)&1;i[1248938]=((g|0)>3|(g|0)==3&(e|0)>-1)&1;i[1248939]=((g|0)>3|(g|0)==3&b)&1;i[1248940]=((g|0)>3|(g|0)==3&(e|0)>1)&1;i[1248941]=(g|0)==3&(e|0)>2?1:(g|0)>3&1;i[1248942]=(g|0)==4&(e|0)>-1?1:(g|0)>4&1;i[1248943]=(g|0)==4&b?1:(g|0)>4&1;i[1248944]=(g|0)==4&(e|0)>1?1:(g|0)>4&1;i[1248945]=(g|0)==4&(e|0)>2?1:(g|0)>4&1;i[1248946]=(g|0)==4&(e|0)>3?1:(g|0)>4&1;i[1248947]=(g|0)==4&(e|0)>4?1:(g|0)>4&1;i[1248948]=0;i[1248949]=0;i[1248950]=0;i[1248951]=0;d=1;if(d){d=0;if((g|0)>1|(g|0)==1&(e|0)>-1){l=Gi[a&2047](613326)|0;k[164274]=l;l=Gi[a&2047](613314)|0;k[164722]=l;l=Gi[a&2047](613569)|0;k[164203]=l;l=Gi[a&2047](613345)|0;k[163710]=l;l=Gi[a&2047](445018)|0;k[163763]=l;l=Gi[a&2047](445030)|0;k[164114]=l;l=Gi[a&2047](613725)|0;k[164452]=l;l=Gi[a&2047](613642)|0;k[164175]=l;l=Gi[a&2047](611501)|0;k[164686]=l;l=Gi[a&2047](613626)|0;k[164177]=l;l=Gi[a&2047](611518)|0;k[163857]=l;l=Gi[a&2047](445044)|0;k[163854]=l;l=Gi[a&2047](611405)|0;k[164671]=l;l=Gi[a&2047](445057)|0;k[163937]=l;l=Gi[a&2047](613337)|0;k[163837]=l;l=Gi[a&2047](613712)|0;k[164464]=l;l=Gi[a&2047](613357)|0;k[163985]=l;l=Gi[a&2047](613256)|0;k[164173]=l;l=Gi[a&2047](613384)|0;k[164672]=l;l=Gi[a&2047](613752)|0;k[164535]=l;l=Gi[a&2047](613372)|0;k[164713]=l;l=Gi[a&2047](613304)|0;k[164262]=l;l=Gi[a&2047](613295)|0;k[163901]=l;l=Gi[a&2047](613239)|0;k[164151]=l;l=Gi[a&2047](613248)|0;k[163952]=l;l=Gi[a&2047](613484)|0;k[164433]=l;l=Gi[a&2047](445070)|0;k[164263]=l;l=Gi[a&2047](613675)|0;k[164391]=l;l=Gi[a&2047](613689)|0;k[163844]=l;l=Gi[a&2047](613283)|0;k[164517]=l;l=Gi[a&2047](445080)|0;k[164185]=l;l=Gi[a&2047](611259)|0;k[164087]=l;l=Gi[a&2047](445094)|0;k[164314]=l;l=Gi[a&2047](611434)|0;k[164363]=l;l=Gi[a&2047](611311)|0;k[164153]=l;l=Gi[a&2047](445107)|0;k[164073]=l;l=Gi[a&2047](613160)|0;k[164640]=l;l=Gi[a&2047](611299)|0;k[164644]=l;l=Gi[a&2047](611285)|0;k[164656]=l;l=Gi[a&2047](611273)|0;k[164209]=l;l=Gi[a&2047](445120)|0;k[163861]=l;l=Gi[a&2047](611461)|0;k[164525]=l;l=Gi[a&2047](611481)|0;k[164239]=l;l=Gi[a&2047](445134)|0;k[164650]=l;l=Gi[a&2047](445159)|0;k[163972]=l;l=Gi[a&2047](613472)|0;k[163843]=l;l=Gi[a&2047](613520)|0;k[163933]=l;l=Gi[a&2047](613701)|0;k[164163]=l;l=Gi[a&2047](445184)|0;k[164198]=l;l=Gi[a&2047](445194)|0;k[164594]=l;l=Gi[a&2047](445204)|0;k[164070]=l;l=Gi[a&2047](445215)|0;k[164089]=l;l=Gi[a&2047](445227)|0;k[164325]=l;l=Gi[a&2047](445241)|0;k[164584]=l;l=Gi[a&2047](445252)|0;k[164519]=l;l=Gi[a&2047](445263)|0;k[163822]=l;l=Gi[a&2047](445271)|0;k[163875]=l;l=Gi[a&2047](445280)|0;k[163775]=l;l=Gi[a&2047](445290)|0;k[164585]=l;l=Gi[a&2047](445301)|0;k[164277]=l;l=Gi[a&2047](445311)|0;k[164237]=l;l=Gi[a&2047](445322)|0;k[164269]=l;l=Gi[a&2047](445332)|0;k[164715]=l;l=Gi[a&2047](445343)|0;k[163783]=l;l=Gi[a&2047](445353)|0;k[164562]=l;l=Gi[a&2047](445364)|0;k[163787]=l;l=Gi[a&2047](445374)|0;k[163809]=l;l=Gi[a&2047](445385)|0;k[164521]=l;l=Gi[a&2047](445396)|0;k[163824]=l;l=Gi[a&2047](445408)|0;k[164526]=l;l=Gi[a&2047](445419)|0;k[164514]=l;l=Gi[a&2047](445431)|0;k[164513]=l;l=Gi[a&2047](445442)|0;k[164600]=l;l=Gi[a&2047](445454)|0;k[164136]=l;l=Gi[a&2047](445464)|0;k[163767]=l;l=Gi[a&2047](445475)|0;k[164139]=l;l=Gi[a&2047](445485)|0;k[164483]=l;l=Gi[a&2047](445496)|0;k[164138]=l;l=Gi[a&2047](445506)|0;k[163903]=l;l=Gi[a&2047](445517)|0;k[164140]=l;l=Gi[a&2047](445527)|0;k[164331]=l;l=Gi[a&2047](445538)|0;k[164125]=l;l=Gi[a&2047](445548)|0;k[164549]=l;l=Gi[a&2047](445559)|0;k[164193]=l;l=Gi[a&2047](445570)|0;k[164412]=l;l=Gi[a&2047](445582)|0;k[163727]=l;l=Gi[a&2047](445593)|0;k[164395]=l;l=Gi[a&2047](445605)|0;k[164200]=l;l=Gi[a&2047](445616)|0;k[164690]=l;l=Gi[a&2047](445628)|0;k[163777]=l;l=Gi[a&2047](445639)|0;k[164211]=l;l=Gi[a&2047](445651)|0;k[164449]=l;l=Gi[a&2047](445657)|0;k[163706]=l;l=Gi[a&2047](445666)|0;k[164166]=l;l=Gi[a&2047](445676)|0;k[163708]=l;l=Gi[a&2047](445685)|0;k[163719]=l;l=Gi[a&2047](445695)|0;k[163698]=l;l=Gi[a&2047](445704)|0;k[163956]=l;l=Gi[a&2047](445714)|0;k[163714]=l;l=Gi[a&2047](445723)|0;k[163869]=l;l=Gi[a&2047](445733)|0;k[164700]=l;l=Gi[a&2047](445744)|0;k[164017]=l;l=Gi[a&2047](445756)|0;k[164699]=l;l=Gi[a&2047](445767)|0;k[164354]=l;l=Gi[a&2047](445779)|0;k[164698]=l;l=Gi[a&2047](445790)|0;k[163930]=l;l=Gi[a&2047](445802)|0;k[164697]=l;l=Gi[a&2047](445813)|0;k[164500]=l;l=Gi[a&2047](445825)|0;k[164466]=l;l=Gi[a&2047](445836)|0;k[164197]=l;l=Gi[a&2047](445848)|0;k[163769]=l;l=Gi[a&2047](445862)|0;k[164305]=l;l=Gi[a&2047](445877)|0;k[163768]=l;l=Gi[a&2047](445891)|0;k[163724]=l;l=Gi[a&2047](445906)|0;k[163771]=l;l=Gi[a&2047](445920)|0;k[164418]=l;l=Gi[a&2047](445935)|0;k[164157]=l;l=Gi[a&2047](445949)|0;k[164123]=l;l=Gi[a&2047](445964)|0;k[164098]=l;l=Gi[a&2047](445978)|0;k[164399]=l;l=Gi[a&2047](445993)|0;k[164099]=l;l=Gi[a&2047](446007)|0;k[163940]=l;l=Gi[a&2047](446022)|0;k[164096]=l;l=Gi[a&2047](446036)|0;k[164144]=l;l=Gi[a&2047](446051)|0;k[164113]=l;l=Gi[a&2047](446065)|0;k[163958]=l;l=Gi[a&2047](446080)|0;k[164336]=l;l=Gi[a&2047](446094)|0;k[164661]=l;l=Gi[a&2047](446109)|0;k[164337]=l;l=Gi[a&2047](446123)|0;k[164188]=l;l=Gi[a&2047](446138)|0;k[164462]=l;l=Gi[a&2047](446152)|0;k[164206]=l;l=Gi[a&2047](446167)|0;k[164543]=l;l=Gi[a&2047](446181)|0;k[164124]=l;l=Gi[a&2047](446196)|0;k[164196]=l;l=Gi[a&2047](446204)|0;k[163701]=l;l=Gi[a&2047](446213)|0;k[164195]=l;l=Gi[a&2047](446221)|0;k[164273]=l;l=Gi[a&2047](446230)|0;k[164192]=l;l=Gi[a&2047](446238)|0;k[164396]=l;l=Gi[a&2047](446247)|0;k[164204]=l;l=Gi[a&2047](446255)|0;k[164689]=l;l=Gi[a&2047](446264)|0;k[164568]=l;l=Gi[a&2047](446277)|0;k[164638]=l;l=Gi[a&2047](446291)|0;k[164569]=l;l=Gi[a&2047](446304)|0;k[163904]=l;l=Gi[a&2047](446318)|0;k[164566]=l;l=Gi[a&2047](446331)|0;k[163793]=l;l=Gi[a&2047](446345)|0;k[164580]=l;l=Gi[a&2047](446358)|0;k[164633]=l;l=Gi[a&2047](446372)|0;k[164328]=l;l=Gi[a&2047](446385)|0;k[164205]=l;l=Gi[a&2047](446399)|0;k[164330]=l;l=Gi[a&2047](446412)|0;k[163756]=l;l=Gi[a&2047](446426)|0;k[164335]=l;l=Gi[a&2047](446439)|0;k[164663]=l;l=Gi[a&2047](446453)|0;k[164342]=l;l=Gi[a&2047](446466)|0;k[163909]=l;l=Gi[a&2047](446480)|0;k[164103]=l;l=Gi[a&2047](446493)|0;k[164494]=l;l=Gi[a&2047](446507)|0;k[164101]=l;l=Gi[a&2047](446520)|0;k[163914]=l;l=Gi[a&2047](446534)|0;k[164094]=l;l=Gi[a&2047](446547)|0;k[164168]=l;l=Gi[a&2047](446561)|0;k[164111]=l;l=Gi[a&2047](446574)|0;k[163851]=l;l=Gi[a&2047](446588)|0;k[163885]=l;l=Gi[a&2047](446601)|0;k[164345]=l;l=Gi[a&2047](446615)|0;k[163883]=l;l=Gi[a&2047](446628)|0;k[163760]=l;l=Gi[a&2047](446642)|0;k[163888]=l;l=Gi[a&2047](446655)|0;k[163992]=l;l=Gi[a&2047](446669)|0;k[163891]=l;l=Gi[a&2047](446682)|0;k[164148]=l;l=Gi[a&2047](446696)|0;k[164004]=l;l=Gi[a&2047](446707)|0;k[164147]=l;l=Gi[a&2047](446719)|0;k[164003]=l;l=Gi[a&2047](446730)|0;k[163697]=l;l=Gi[a&2047](446742)|0;k[164010]=l;l=Gi[a&2047](446753)|0;k[163807]=l;l=Gi[a&2047](446765)|0;k[164014]=l;l=Gi[a&2047](446776)|0;k[164080]=l;l=Gi[a&2047](446788)|0;k[163779]=l;l=Gi[a&2047](446799)|0;k[163897]=l;l=Gi[a&2047](446811)|0;k[163780]=l;l=Gi[a&2047](446822)|0;k[164344]=l;l=Gi[a&2047](446834)|0;k[163782]=l;l=Gi[a&2047](446845)|0;k[163874]=l;l=Gi[a&2047](446857)|0;k[163788]=l;l=Gi[a&2047](446868)|0;k[164027]=l;l=Gi[a&2047](446880)|0;k[164631]=l;l=Gi[a&2047](446891)|0;k[164327]=l;l=Gi[a&2047](446903)|0;k[164688]=l;l=Gi[a&2047](446914)|0;k[163750]=l;l=Gi[a&2047](446926)|0;k[164362]=l;l=Gi[a&2047](446937)|0;k[163737]=l;l=Gi[a&2047](446949)|0;k[164351]=l;l=Gi[a&2047](446960)|0;k[163816]=l;l=Gi[a&2047](446972)|0;k[164454]=l;l=Gi[a&2047](446984)|0;k[164244]=l;l=Gi[a&2047](447e3)|0;k[164555]=l;l=Gi[a&2047](447007)|0;k[163732]=l;l=Gi[a&2047](447015)|0;k[163821]=l;l=Gi[a&2047](447022)|0;k[163722]=l;l=Gi[a&2047](447030)|0;k[163976]=l;l=Gi[a&2047](447039)|0;k[163834]=l;l=Gi[a&2047](447049)|0;k[163973]=l;l=Gi[a&2047](447058)|0;k[164439]=l;l=Gi[a&2047](447068)|0;k[164077]=l;l=Gi[a&2047](447082)|0;k[164323]=l;l=Gi[a&2047](447097)|0;k[164083]=l;l=Gi[a&2047](447111)|0;k[163725]=l;l=Gi[a&2047](447126)|0;k[164128]=l;l=Gi[a&2047](447140)|0;k[163890]=l;l=Gi[a&2047](447152)|0;k[164161]=l;l=Gi[a&2047](447165)|0;k[163878]=l;l=Gi[a&2047](447177)|0;k[164346]=l;l=Gi[a&2047](447190)|0;k[164693]=l;l=Gi[a&2047](447207)|0;k[164370]=l;l=Gi[a&2047](447220)|0;k[164030]=l;l=Gi[a&2047](447230)|0;k[164313]=l;l=Gi[a&2047](447241)|0;k[164037]=l;l=Gi[a&2047](447251)|0;k[164423]=l;l=Gi[a&2047](447262)|0;k[164279]=l;l=Gi[a&2047](447272)|0;k[164456]=l;l=Gi[a&2047](447283)|0;k[163916]=l;l=Gi[a&2047](447293)|0;k[164445]=l;l=Gi[a&2047](447304)|0;k[164281]=l;l=Gi[a&2047](447314)|0;k[164304]=l;l=Gi[a&2047](447325)|0;k[164052]=l;l=Gi[a&2047](447342)|0;k[164427]=l;l=Gi[a&2047](447357)|0;k[164253]=l;l=Gi[a&2047](447370)|0;k[164235]=l;l=Gi[a&2047](447382)|0;k[164365]=l;l=Gi[a&2047](447393)|0;k[163819]=l;l=Gi[a&2047](447407)|0;k[164183]=l;l=Gi[a&2047](447417)|0;k[164455]=l;l=Gi[a&2047](447428)|0;k[164615]=l;l=Gi[a&2047](447441)|0;k[163949]=l;l=Gi[a&2047](447454)|0;k[164606]=l;l=Gi[a&2047](447466)|0;k[164657]=l;l=Gi[a&2047](447474)|0;k[164225]=l;l=Gi[a&2047](447486)|0;k[164431]=l;l=Gi[a&2047](447499)|0;k[163950]=l;l=Gi[a&2047](447507)|0;k[163951]=l;l=Gi[a&2047](447515)|0;k[164627]=l;l=Gi[a&2047](447523)|0;k[164628]=l;l=Gi[a&2047](447531)|0;k[164371]=l;l=Gi[a&2047](447543)|0;k[164373]=l;l=Gi[a&2047](447555)|0;k[164007]=l;l=Gi[a&2047](447567)|0;k[164008]=l;l=Gi[a&2047](447579)|0;k[164649]=l;l=Gi[a&2047](447593)|0;k[164189]=l;l=Gi[a&2047](447608)|0;k[164651]=l;l=Gi[a&2047](447622)|0;k[163738]=l;l=Gi[a&2047](447637)|0;k[163703]=l;l=Gi[a&2047](447651)|0;k[163823]=l;l=Gi[a&2047](447666)|0;k[163704]=l;l=Gi[a&2047](447680)|0;k[164409]=l;l=Gi[a&2047](447695)|0;k[164401]=l;l=Gi[a&2047](447707)|0;k[164635]=l;l=Gi[a&2047](447720)|0;k[164400]=l;l=Gi[a&2047](447732)|0;k[164264]=l;l=Gi[a&2047](447745)|0;k[164384]=l;l=Gi[a&2047](447757)|0;k[163960]=l;l=Gi[a&2047](447769)|0;k[164265]=l;l=Gi[a&2047](447786)|0;k[164260]=l;l=Gi[a&2047](447803)|0;k[164652]=l;l=Gi[a&2047](447816)|0;k[163863]=l;l=Gi[a&2047](447830)|0;k[164702]=l;l=Gi[a&2047](447844)|0;k[164222]=l;l=Gi[a&2047](447857)|0;k[164673]=l;l=Gi[a&2047](447870)|0;k[164326]=l;l=Gi[a&2047](447885)|0;k[164275]=l;l=Gi[a&2047](447898)|0;k[164516]=l;l=Gi[a&2047](447911)|0;k[164159]=l;l=Gi[a&2047](447922)|0;k[163713]=l;l=Gi[a&2047](447933)|0;k[164055]=l;l=Gi[a&2047](447944)|0;k[163860]=l;l=Gi[a&2047](447960)|0;k[164677]=l;l=Gi[a&2047](447976)|0;k[164029]=l;l=Gi[a&2047](447992)|0;k[163990]=l;l=Gi[a&2047](448009)|0;k[164654]=l;l=Gi[a&2047](448026)|0;k[164530]=l;l=Gi[a&2047](448046)|0;k[164272]=l;l=Gi[a&2047](448060)|0;k[164641]=l;l=Gi[a&2047](448074)|0;k[164591]=l;l=Gi[a&2047](448088)|0;k[164295]=l;l=Gi[a&2047](448102)|0;k[164703]=l;l=Gi[a&2047](448116)|0;k[164121]=l;l=Gi[a&2047](612998)|0;k[163934]=l;l=Gi[a&2047](612969)|0;k[163770]=l;l=Gi[a&2047](612984)|0;k[164680]=l;l=Gi[a&2047](448125)|0;k[164682]=l;l=Gi[a&2047](612956)|0;k[164050]=l;l=Gi[a&2047](448139)|0;k[164675]=l;l=Gi[a&2047](448153)|0;k[164674]=l;l=Gi[a&2047](448167)|0;k[163941]=l;l=Gi[a&2047](448175)|0;k[164329]=l;l=Gi[a&2047](448187)|0;k[163938]=l;l=Gi[a&2047](448200)|0;k[164359]=l;l=Gi[a&2047](613008)|0;k[164361]=l;l=Gi[a&2047](448210)|0;k[164216]=l;l=Gi[a&2047](448219)|0;k[164214]=l;l=Gi[a&2047](448228)|0;k[163850]=l;l=Gi[a&2047](448241)|0;k[163848]=l;l=i[1248931]|0}else d=1}if(d)if(1)l=((g|0)>1|(g|0)==1&b)&1;if(l<<24>>24){l=Gi[a&2047](613093)|0;k[163828]=l;l=Gi[a&2047](613106)|0;k[164155]=l;l=Gi[a&2047](612758)|0;k[163926]=l;l=Gi[a&2047](613576)|0;k[163928]=l;l=Gi[a&2047](448254)|0;k[163687]=l;l=Gi[a&2047](613878)|0;k[164036]=l;l=Gi[a&2047](448271)|0;k[164565]=l;l=Gi[a&2047](613895)|0;k[163746]=l;l=Gi[a&2047](448291)|0;k[164645]=l;l=Gi[a&2047](611418)|0;k[164261]=l;l=Gi[a&2047](611447)|0;k[163754]=l;l=Gi[a&2047](611339)|0;k[164226]=l;l=Gi[a&2047](611325)|0;k[163991]=l;l=Gi[a&2047](611535)|0;k[164676]=l;l=Gi[a&2047](448307)|0;k[164704]=l;l=Gi[a&2047](612862)|0;k[164721]=l;l=Gi[a&2047](448322)|0;k[164376]=l;l=Gi[a&2047](448343)|0;k[164217]=l;l=Gi[a&2047](612792)|0;k[164572]=l;l=Gi[a&2047](448361)|0;k[163997]=l;l=Gi[a&2047](448376)|0;k[164695]=l;l=Gi[a&2047](612846)|0;k[163814]=l;l=Gi[a&2047](612828)|0;k[164402]=l;l=Gi[a&2047](612812)|0;k[163825]=l;l=Gi[a&2047](448396)|0;k[164118]=l;l=Gi[a&2047](448418)|0;k[164069]=l;l=Gi[a&2047](448439)|0;k[164457]=l;l=Gi[a&2047](448449)|0;k[164332]=l;l=Gi[a&2047](448460)|0;k[164552]=l;l=Gi[a&2047](448478)|0;k[164607]=l}}else f=1}if(f)if(1){m=g;n=c;p=e;q=7}}if((q|0)==7){i[1248930]=0;i[1248931]=0;i[1248932]=0;i[1248933]=0;i[1248934]=0;i[1248935]=0;i[1248936]=0;i[1248937]=0;i[1248938]=0;i[1248939]=0;i[1248940]=0;i[1248941]=0;i[1248942]=0;i[1248943]=0;i[1248944]=0;i[1248945]=0;i[1248946]=0;i[1248947]=0;h=(p|0)>-1;i[1248948]=h&(m|0)==2?1:(m|0)>2&1;l=(m|0)==3;q=(m|0)>3&1;i[1248949]=h&l?1:q;i[1248950]=(n|0)>48&l?1:q;i[1248951]=(p|0)>1&l?1:q}if(i[1248932]|0){q=Gi[a&2047](612772)|0;k[164579]=q;q=Gi[a&2047](448497)|0;k[164436]=q;q=Gi[a&2047](448510)|0;k[164032]=q;q=Gi[a&2047](448526)|0;k[164167]=q}if(i[1248933]|0){q=Gi[a&2047](613440)|0;k[164357]=q;q=Gi[a&2047](613609)|0;k[164245]=q;q=Gi[a&2047](448546)|0;k[164100]=q;q=Gi[a&2047](611356)|0;k[163747]=q;q=Gi[a&2047](448569)|0;k[164563]=q;q=Gi[a&2047](448592)|0;k[163702]=q;q=Gi[a&2047](611379)|0;k[164518]=q;q=Gi[a&2047](448618)|0;k[164150]=q;q=Gi[a&2047](448644)|0;k[164254]=q;q=Gi[a&2047](612877)|0;k[164307]=q;q=Gi[a&2047](448668)|0;k[163831]=q;q=Gi[a&2047](448686)|0;k[163911]=q;q=Gi[a&2047](448705)|0;k[163832]=q;q=Gi[a&2047](448723)|0;k[164393]=q;q=Gi[a&2047](448742)|0;k[163838]=q;q=Gi[a&2047](448760)|0;k[164038]=q;q=Gi[a&2047](448779)|0;k[163842]=q;q=Gi[a&2047](448797)|0;k[164129]=q;q=Gi[a&2047](448816)|0;k[164060]=q;q=Gi[a&2047](448834)|0;k[164045]=q;q=Gi[a&2047](448853)|0;k[164061]=q;q=Gi[a&2047](448871)|0;k[164646]=q;q=Gi[a&2047](448890)|0;k[163913]=q;q=Gi[a&2047](448908)|0;k[164133]=q;q=Gi[a&2047](448927)|0;k[163895]=q;q=Gi[a&2047](448945)|0;k[164577]=q;q=Gi[a&2047](448964)|0;k[164291]=q;q=Gi[a&2047](448982)|0;k[164547]=q;q=Gi[a&2047](449001)|0;k[164289]=q;q=Gi[a&2047](449019)|0;k[163989]=q;q=Gi[a&2047](449038)|0;k[164288]=q;q=Gi[a&2047](449056)|0;k[164074]=q;q=Gi[a&2047](449075)|0;k[164284]=q;q=Gi[a&2047](449093)|0;k[164377]=q;q=Gi[a&2047](449112)|0;k[164522]=q;q=Gi[a&2047](449130)|0;k[164534]=q;q=Gi[a&2047](449149)|0;k[164520]=q;q=Gi[a&2047](449167)|0;k[164095]=q;q=Gi[a&2047](449186)|0;k[164528]=q;q=Gi[a&2047](449204)|0;k[164388]=q;q=Gi[a&2047](449223)|0;k[164509]=q;q=Gi[a&2047](449241)|0;k[163935]=q;q=Gi[a&2047](449260)|0;k[164414]=q;q=Gi[a&2047](449283)|0;k[164413]=q;q=Gi[a&2047](449306)|0;k[164194]=q;q=Gi[a&2047](449329)|0;k[164463]=q}if(i[1248934]|0){q=Gi[a&2047](613786)|0;k[163749]=q;q=Gi[a&2047](449352)|0;k[164593]=q;q=Gi[a&2047](449370)|0;k[164109]=q;q=Gi[a&2047](449390)|0;k[164505]=q;q=Gi[a&2047](449408)|0;k[164485]=q;q=Gi[a&2047](449427)|0;k[164470]=q;q=Gi[a&2047](449445)|0;k[163899]=q;q=Gi[a&2047](449464)|0;k[164035]=q;q=Gi[a&2047](449476)|0;k[163862]=q;q=Gi[a&2047](449489)|0;k[164034]=q;q=Gi[a&2047](449501)|0;k[164293]=q;q=Gi[a&2047](449514)|0;k[164297]=q;q=Gi[a&2047](449532)|0;k[164097]=q;q=Gi[a&2047](449551)|0;k[163859]=q;q=Gi[a&2047](449571)|0;k[164093]=q;q=Gi[a&2047](449590)|0;k[164306]=q;q=Gi[a&2047](449610)|0;k[164137]=q;q=Gi[a&2047](449629)|0;k[163728]=q;q=Gi[a&2047](449649)|0;k[164266]=q;q=Gi[a&2047](449668)|0;k[164461]=q;q=Gi[a&2047](449688)|0;k[163931]=q;q=Gi[a&2047](449707)|0;k[164023]=q;q=Gi[a&2047](449727)|0;k[164490]=q;q=Gi[a&2047](449747)|0;k[164072]=q;q=Gi[a&2047](449768)|0;k[164493]=q;q=Gi[a&2047](449788)|0;k[163826]=q;q=Gi[a&2047](449809)|0;k[164311]=q;q=Gi[a&2047](449829)|0;k[163915]=q;q=Gi[a&2047](449850)|0;k[164383]=q;q=Gi[a&2047](449874)|0;k[163696]=q;q=Gi[a&2047](449888)|0;k[164256]=q;q=Gi[a&2047](449903)|0;k[163695]=q;q=Gi[a&2047](449917)|0;k[164601]=q;q=Gi[a&2047](449932)|0;k[163694]=q;q=Gi[a&2047](449946)|0;k[163717]=q;q=Gi[a&2047](449961)|0;k[163691]=q;q=Gi[a&2047](449975)|0;k[163739]=q;q=Gi[a&2047](449990)|0;k[164476]=q;q=Gi[a&2047](450004)|0;k[164670]=q;q=Gi[a&2047](450019)|0;k[164511]=q;q=Gi[a&2047](450033)|0;k[164321]=q;q=Gi[a&2047](450048)|0;k[164508]=q;q=Gi[a&2047](450062)|0;k[164084]=q;q=Gi[a&2047](450077)|0;k[164504]=q;q=Gi[a&2047](450091)|0;k[163943]=q;q=Gi[a&2047](613806)|0;k[164473]=q;q=Gi[a&2047](613456)|0;k[164538]=q}if(i[1248935]|0){q=Gi[a&2047](450106)|0;k[164028]=q;q=Gi[a&2047](450119)|0;k[164230]=q;q=Gi[a&2047](450135)|0;k[164665]=q;q=Gi[a&2047](450145)|0;k[164624]=q;q=Gi[a&2047](450158)|0;k[164215]=q;q=Gi[a&2047](450169)|0;k[163882]=q;q=Gi[a&2047](450182)|0;k[164390]=q;q=Gi[a&2047](450201)|0;k[163845]=q;q=Gi[a&2047](612138)|0;k[164626]=q;q=Gi[a&2047](611560)|0;k[164450]=q;q=Gi[a&2047](611547)|0;k[164426]=q;q=Gi[a&2047](611628)|0;k[163742]=q;q=Gi[a&2047](611599)|0;k[164634]=q;q=Gi[a&2047](611612)|0;k[164582]=q;q=Gi[a&2047](450221)|0;k[164419]=q;q=Gi[a&2047](450240)|0;k[164092]=q;q=Gi[a&2047](450252)|0;k[164334]=q;q=Gi[a&2047](611576)|0;k[164132]=q;q=Gi[a&2047](450266)|0;k[164659]=q}if(i[1248936]|0){q=Gi[a&2047](613496)|0;k[164424]=q;q=Gi[a&2047](613915)|0;k[164115]=q;q=Gi[a&2047](613841)|0;k[164228]=q;q=Gi[a&2047](613819)|0;k[163980]=q;q=Gi[a&2047](613547)|0;k[163723]=q;q=Gi[a&2047](611214)|0;k[164292]=q;q=Gi[a&2047](612512)|0;k[164573]=q;q=Gi[a&2047](612330)|0;k[163715]=q;q=Gi[a&2047](611115)|0;k[164434]=q;q=Gi[a&2047](611184)|0;k[163741]=q;q=Gi[a&2047](612405)|0;k[163766]=q;q=Gi[a&2047](612261)|0;k[164154]=q;q=Gi[a&2047](611244)|0;k[164212]=q;q=Gi[a&2047](613066)|0;k[163880]=q;q=Gi[a&2047](613040)|0;k[164358]=q;q=Gi[a&2047](612243)|0;k[164258]=q;q=Gi[a&2047](611862)|0;k[164720]=q;q=Gi[a&2047](612276)|0;k[163872]=q;q=Gi[a&2047](612223)|0;k[163978]=q;q=Gi[a&2047](612379)|0;k[164642]=q;q=Gi[a&2047](612462)|0;k[164130]=q;q=Gi[a&2047](612365)|0;k[164059]=q;q=Gi[a&2047](612346)|0;k[163864]=q;q=Gi[a&2047](612312)|0;k[164179]=q;q=Gi[a&2047](611775)|0;k[164539]=q;q=Gi[a&2047](611745)|0;k[164372]=q;q=Gi[a&2047](611760)|0;k[164078]=q;q=Gi[a&2047](450286)|0;k[163810]=q;q=Gi[a&2047](611796)|0;k[164251]=q;q=Gi[a&2047](611816)|0;k[164107]=q;q=Gi[a&2047](611836)|0;k[163959]=q;q=Gi[a&2047](612500)|0;k[164349]=q;q=Gi[a&2047](612394)|0;k[163894]=q;q=Gi[a&2047](612448)|0;k[164202]=q;q=Gi[a&2047](612297)|0;k[164608]=q;q=Gi[a&2047](611150)|0;k[164127]=q;q=Gi[a&2047](611881)|0;k[164250]=q;q=Gi[a&2047](611893)|0;k[164622]=q;q=Gi[a&2047](611905)|0;k[163785]=q;q=Gi[a&2047](611917)|0;k[164366]=q;q=Gi[a&2047](611929)|0;k[164257]=q;q=Gi[a&2047](611941)|0;k[164006]=q;q=Gi[a&2047](611953)|0;k[164259]=q;q=Gi[a&2047](611965)|0;k[164356]=q;q=Gi[a&2047](612029)|0;k[164679]=q;q=Gi[a&2047](612042)|0;k[164487]=q;q=Gi[a&2047](612055)|0;k[164086]=q;q=Gi[a&2047](612068)|0;k[164719]=q;q=Gi[a&2047](611977)|0;k[164385]=q;q=Gi[a&2047](611990)|0;k[164046]=q;q=Gi[a&2047](612003)|0;k[164112]=q;q=Gi[a&2047](612016)|0;k[163984]=q;q=Gi[a&2047](612081)|0;k[164632]=q;q=Gi[a&2047](612100)|0;k[164687]=q;q=Gi[a&2047](612119)|0;k[164718]=q;q=Gi[a&2047](612482)|0;k[164184]=q;q=Gi[a&2047](450306)|0;k[164075]=q;q=Gi[a&2047](450323)|0;k[164578]=q;q=Gi[a&2047](613592)|0;k[163748]=q;q=Gi[a&2047](612151)|0;k[164047]=q;q=Gi[a&2047](450341)|0;k[163755]=q;q=Gi[a&2047](450358)|0;k[163707]=q;q=Gi[a&2047](450376)|0;k[164708]=q;q=Gi[a&2047](450393)|0;k[163765]=q;q=Gi[a&2047](613658)|0;k[164710]=q;q=Gi[a&2047](612169)|0;k[164648]=q;q=Gi[a&2047](450411)|0;k[164714]=q;q=Gi[a&2047](450428)|0;k[164429]=q;q=Gi[a&2047](450446)|0;k[163836]=q;q=Gi[a&2047](450463)|0;k[164711]=q;q=Gi[a&2047](613735)|0;k[163805]=q;q=Gi[a&2047](612187)|0;k[164110]=q;q=Gi[a&2047](450481)|0;k[164341]=q;q=Gi[a&2047](450498)|0;k[163966]=q;q=Gi[a&2047](450516)|0;k[163999]=q;q=Gi[a&2047](450535)|0;k[164467]=q;q=Gi[a&2047](450554)|0;k[164160]=q;q=Gi[a&2047](450573)|0;k[163849]=q;q=Gi[a&2047](450592)|0;k[164405]=q;q=Gi[a&2047](450612)|0;k[164018]=q;q=Gi[a&2047](450632)|0;k[164515]=q;q=Gi[a&2047](450652)|0;k[164350]=q;q=Gi[a&2047](450670)|0;k[164233]=q;q=Gi[a&2047](450687)|0;k[163910]=q;q=Gi[a&2047](613861)|0;k[164232]=q;q=Gi[a&2047](612205)|0;k[164353]=q;q=Gi[a&2047](450705)|0;k[164583]=q;q=Gi[a&2047](450723)|0;k[164243]=q;q=Gi[a&2047](450740)|0;k[164669]=q;q=Gi[a&2047](450758)|0;k[163786]=q;q=Gi[a&2047](450777)|0;k[164465]=q;q=Gi[a&2047](450796)|0;k[164545]=q;q=Gi[a&2047](613018)|0;k[164011]=q}if(i[1248937]|0){q=Gi[a&2047](450815)|0;k[164294]=q;q=Gi[a&2047](450836)|0;k[163761]=q;q=Gi[a&2047](450857)|0;k[164134]=q;q=Gi[a&2047](450878)|0;k[164574]=q;q=Gi[a&2047](450899)|0;k[163812]=q;q=Gi[a&2047](450920)|0;k[163774]=q}k[s+16>>2]=a;k[s+24288>>2]=0;k[s+24292>>2]=0;Eza(s);k[s+16>>2]=a;k[s+24280>>2]=0;k[s+24284>>2]=0;Dza(s);k[s+16>>2]=a;k[s+24>>2]=j;k[s+24272>>2]=0;k[s+24276>>2]=0;Cza(s);J=k[s+24272>>2]|0;C=k[s+24276>>2]|0;K=+o[s+24276>>2];k[s+24272>>2]=0;k[s+24276>>2]=0;if((J|0)==6){r=s;return C|0}r=s;return 0|0;return 0}function Xsa(){var a=0;a=(Ysa(460918)|0)&1;i[1248952]=a;Ysa(460949)|0;Ysa(460989)|0;a=(Ysa(461018)|0)&1;i[1248953]=a;Ysa(461031)|0;Ysa(461047)|0;a=(Ysa(461084)|0)&1;i[1248954]=a;Ysa(461102)|0;a=(Ysa(461138)|0)&1;i[1248955]=a;Ysa(461174)|0;Ysa(461216)|0;a=(Ysa(461240)|0)&1;i[1248956]=a;a=(Ysa(461261)|0)&1;i[1248957]=a;a=(Ysa(461285)|0)&1;i[1248958]=a;a=(Ysa(461312)|0)&1;i[1248959]=a;a=(Ysa(461334)|0)&1;i[1248960]=a;a=(Ysa(461350)|0)&1;i[1248961]=a;a=(Ysa(461377)|0)&1;i[1248962]=a;a=(Ysa(461398)|0)&1;i[1248963]=a;a=(Ysa(461418)|0)&1;i[1248964]=a;Ysa(461444)|0;Ysa(461465)|0;a=(Ysa(461505)|0)&1;i[1248965]=a;a=(Ysa(461527)|0)&1;i[1248966]=a;Ysa(461562)|0;Ysa(461597)|0;a=(Ysa(461623)|0)&1;i[1248967]=a;a=(Ysa(461642)|0)&1;i[1248968]=a;Ysa(461660)|0;a=(Ysa(461681)|0)&1;i[1248969]=a;Ysa(461701)|0;Ysa(461727)|0;Ysa(461746)|0;a=(Ysa(461772)|0)&1;i[1248970]=a;a=(Ysa(461799)|0)&1;i[1248971]=a;a=(Ysa(461825)|0)&1;i[1248972]=a;a=(Ysa(461858)|0)&1;i[1248973]=a;a=(Ysa(461879)|0)&1;i[1248974]=a;Ysa(461901)|0;a=(Ysa(461925)|0)&1;i[1248975]=a;a=(Ysa(461950)|0)&1;i[1248976]=a;a=(Ysa(461977)|0)&1;i[1248977]=a;a=(Ysa(462004)|0)&1;i[1248978]=a;Ysa(462029)|0;Ysa(462061)|0;Ysa(462094)|0;Ysa(462128)|0;Ysa(462159)|0;a=(Ysa(462192)|0)&1;i[1248979]=a;a=(Ysa(462226)|0)&1;i[1248980]=a;a=(Ysa(462252)|0)&1;i[1248981]=a;a=(Ysa(462276)|0)&1;i[1248982]=a;a=(Ysa(462300)|0)&1;i[1248983]=a;a=(Ysa(462326)|0)&1;i[1248984]=a;Ysa(462355)|0;a=(Ysa(462374)|0)&1;i[1248985]=a;a=(Ysa(462397)|0)&1;i[1248986]=a;Ysa(462421)|0;Ysa(462445)|0;a=(Ysa(462470)|0)&1;i[1248987]=a;a=(Ysa(462497)|0)&1;i[1248988]=a;a=(Ysa(462521)|0)&1;i[1248989]=a;a=(Ysa(462549)|0)&1;i[1248990]=a;a=(Ysa(462578)|0)&1;i[1248991]=a;Ysa(462604)|0;a=(Ysa(462632)|0)&1;i[1248992]=a;a=(Ysa(462656)|0)&1;i[1248993]=a;a=(Ysa(462674)|0)&1;i[1248994]=a;Ysa(462701)|0;a=(Ysa(462725)|0)&1;i[1248995]=a;Ysa(462756)|0;Ysa(462789)|0;Ysa(462816)|0;a=(Ysa(462843)|0)&1;i[1248996]=a;a=(Ysa(462874)|0)&1;i[1248997]=a;Ysa(462898)|0;Ysa(462925)|0;a=(Ysa(462962)|0)&1;i[1248998]=a;Ysa(462980)|0;a=(Ysa(463008)|0)&1;i[1248999]=a;a=(Ysa(463032)|0)&1;i[1249e3]=a;a=(Ysa(463054)|0)&1;i[1249001]=a;Ysa(463077)|0;Ysa(463102)|0;a=(Ysa(463138)|0)&1;i[1249002]=a;Ysa(463169)|0;a=(Ysa(463202)|0)&1;i[1249003]=a;Ysa(463232)|0;Ysa(463253)|0;Ysa(463280)|0;Ysa(463300)|0;Ysa(463330)|0;a=(Ysa(463355)|0)&1;i[1249004]=a;Ysa(463386)|0;Ysa(463411)|0;Ysa(463435)|0;a=(Ysa(463464)|0)&1;i[1249005]=a;a=(Ysa(463500)|0)&1;i[1249006]=a;Ysa(463525)|0;Ysa(463561)|0;Ysa(463587)|0;Ysa(463622)|0;a=(Ysa(463654)|0)&1;i[1249007]=a;Ysa(463686)|0;a=(Ysa(463718)|0)&1;i[1249008]=a;a=(Ysa(463739)|0)&1;i[1249009]=a;Ysa(463761)|0;Ysa(463784)|0;Ysa(463812)|0;a=(Ysa(463837)|0)&1;i[1249010]=a;a=(Ysa(463849)|0)&1;i[1249011]=a;a=(Ysa(463876)|0)&1;i[1249012]=a;a=(Ysa(463899)|0)&1;i[1249013]=a;Ysa(463928)|0;a=(Ysa(463963)|0)&1;i[1249014]=a;a=(Ysa(463991)|0)&1;i[1249015]=a;a=(Ysa(464023)|0)&1;i[1249016]=a;Ysa(464055)|0;Ysa(464085)|0;a=(Ysa(464114)|0)&1;i[1249017]=a;Ysa(464135)|0;Ysa(464157)|0;a=(Ysa(464193)|0)&1;i[1249018]=a;Ysa(464220)|0;Ysa(464248)|0;Ysa(464273)|0;a=(Ysa(464298)|0)&1;i[1249019]=a;Ysa(464316)|0;Ysa(464342)|0;a=(Ysa(464366)|0)&1;i[1249020]=a;a=(Ysa(464389)|0)&1;i[1249021]=a;Ysa(464424)|0;a=(Ysa(464447)|0)&1;i[1249022]=a;a=(Ysa(464467)|0)&1;i[1249023]=a;a=(Ysa(464486)|0)&1;i[1249024]=a;a=(Ysa(464513)|0)&1;i[1249025]=a;a=(Ysa(464540)|0)&1;i[1249026]=a;Ysa(464576)|0;a=(Ysa(464617)|0)&1;i[1249027]=a;Ysa(464646)|0;a=(Ysa(464671)|0)&1;i[1249028]=a;a=(Ysa(464698)|0)&1;i[1249029]=a;a=(Ysa(464725)|0)&1;i[1249030]=a;Ysa(464754)|0;a=(Ysa(464789)|0)&1;i[1249031]=a;a=(Ysa(464823)|0)&1;i[1249032]=a;a=(Ysa(464845)|0)&1;i[1249033]=a;Ysa(464866)|0;a=(Ysa(464878)|0)&1;i[1249034]=a;a=(Ysa(464902)|0)&1;i[1249035]=a;a=(Ysa(464929)|0)&1;i[1249036]=a;a=(Ysa(464949)|0)&1;i[1249037]=a;Ysa(464971)|0;a=(Ysa(464997)|0)&1;i[1249038]=a;a=(Ysa(465028)|0)&1;i[1249039]=a;a=(Ysa(465046)|0)&1;i[1249040]=a;a=(Ysa(465065)|0)&1;i[1249041]=a;a=(Ysa(465085)|0)&1;i[1249042]=a;a=(Ysa(465112)|0)&1;i[1249043]=a;a=(Ysa(465139)|0)&1;i[1249044]=a;a=(Ysa(465167)|0)&1;i[1249045]=a;a=(Ysa(465187)|0)&1;i[1249046]=a;a=(Ysa(465208)|0)&1;i[1249047]=a;a=(Ysa(465236)|0)&1;i[1249048]=a;a=(Ysa(465269)|0)&1;i[1249049]=a;Ysa(465291)|0;a=(Ysa(465310)|0)&1;i[1249050]=a;a=(Ysa(465334)|0)&1;i[1249051]=a;Ysa(465365)|0;a=(Ysa(465408)|0)&1;i[1249052]=a;a=(Ysa(465434)|0)&1;i[1249053]=a;Ysa(465458)|0;a=(Ysa(465485)|0)&1;i[1249054]=a;a=(Ysa(465508)|0)&1;i[1249055]=a;a=(Ysa(465532)|0)&1;i[1249056]=a;a=(Ysa(465562)|0)&1;i[1249057]=a;Ysa(465581)|0;a=(Ysa(465600)|0)&1;i[1249058]=a;a=(Ysa(465624)|0)&1;i[1249059]=a;a=(Ysa(465648)|0)&1;i[1249060]=a;Ysa(465675)|0;a=(Ysa(465709)|0)&1;i[1249061]=a;a=(Ysa(465747)|0)&1;i[1249062]=a;a=(Ysa(465777)|0)&1;i[1249063]=a;a=(Ysa(465808)|0)&1;i[1249064]=a;a=(Ysa(465836)|0)&1;i[1249065]=a;Ysa(465856)|0;a=(Ysa(465883)|0)&1;i[1249066]=a;Ysa(465911)|0;a=(Ysa(465938)|0)&1;i[1249067]=a;a=(Ysa(465968)|0)&1;i[1249068]=a;a=(Ysa(465992)|0)&1;i[1249069]=a;a=(Ysa(466010)|0)&1;i[1249070]=a;Ysa(466036)|0;Ysa(466060)|0;a=(Ysa(466080)|0)&1;i[1249071]=a;a=(Ysa(466098)|0)&1;i[1249072]=a;Ysa(466129)|0;Ysa(466161)|0;a=(Ysa(466196)|0)&1;i[1249073]=a;Ysa(466227)|0;Ysa(466262)|0;Ysa(466288)|0;Ysa(466312)|0;Ysa(466346)|0;Ysa(466372)|0;a=(Ysa(466395)|0)&1;i[1249074]=a;Ysa(466417)|0;a=(Ysa(466440)|0)&1;i[1249075]=a;a=(Ysa(466452)|0)&1;i[1249076]=a;a=(Ysa(466478)|0)&1;i[1249077]=a;Ysa(466503)|0;a=(Ysa(466534)|0)&1;i[1249078]=a;a=(Ysa(466561)|0)&1;i[1249079]=a;a=(Ysa(466582)|0)&1;i[1249080]=a;a=(Ysa(466610)|0)&1;i[1249081]=a;a=(Ysa(466632)|0)&1;i[1249082]=a;a=(Ysa(466661)|0)&1;i[1249083]=a;Ysa(466693)|0;a=(Ysa(466725)|0)&1;i[1249084]=a;a=(Ysa(466757)|0)&1;i[1249085]=a;Ysa(466789)|0;Ysa(466813)|0;a=(Ysa(466843)|0)&1;i[1249086]=a;a=(Ysa(466877)|0)&1;i[1249087]=a;Ysa(466906)|0;a=(Ysa(466937)|0)&1;i[1249088]=a;Ysa(466960)|0;a=(Ysa(466982)|0)&1;i[1249089]=a;Ysa(467e3)|0;Ysa(467031)|0;a=(Ysa(467052)|0)&1;i[1249090]=a;Ysa(467072)|0;Ysa(467099)|0;Ysa(467122)|0;a=(Ysa(467146)|0)&1;i[1249091]=a;Ysa(467169)|0;Ysa(467192)|0;a=(Ysa(467227)|0)&1;i[1249092]=a;a=(Ysa(467247)|0)&1;i[1249093]=a;a=(Ysa(467266)|0)&1;i[1249094]=a;Ysa(467292)|0;Ysa(467315)|0;a=(Ysa(467340)|0)&1;i[1249095]=a;a=(Ysa(467367)|0)&1;i[1249096]=a;Ysa(467390)|0;Ysa(467408)|0;a=(Ysa(467448)|0)&1;i[1249097]=a;a=(Ysa(467484)|0)&1;i[1249098]=a;Ysa(467502)|0;Ysa(467517)|0;Ysa(467532)|0;a=(Ysa(467553)|0)&1;i[1249099]=a;a=(Ysa(467581)|0)&1;i[1249100]=a;a=(Ysa(467614)|0)&1;i[1249101]=a;Ysa(467631)|0;Ysa(467657)|0;Ysa(467689)|0;Ysa(467715)|0;Ysa(467740)|0;Ysa(467771)|0;a=(Ysa(467798)|0)&1;i[1249102]=a;a=(Ysa(467821)|0)&1;i[1249103]=a;Ysa(467847)|0;a=(Ysa(467866)|0)&1;i[1249104]=a;a=(Ysa(467883)|0)&1;i[1249105]=a;a=(Ysa(467911)|0)&1;i[1249106]=a;Ysa(467941)|0;a=(Ysa(467972)|0)&1;i[1249107]=a;a=(Ysa(467990)|0)&1;i[1249108]=a;Ysa(468012)|0;Ysa(468036)|0;Ysa(468063)|0;Ysa(468087)|0;Ysa(468127)|0;Ysa(468155)|0;Ysa(468171)|0;Ysa(468187)|0;Ysa(468214)|0;a=(Ysa(468245)|0)&1;i[1249109]=a;a=(Ysa(468272)|0)&1;i[1249110]=a;a=(Ysa(468290)|0)&1;i[1249111]=a;a=(Ysa(468318)|0)&1;i[1249112]=a;Ysa(468340)|0;Ysa(468372)|0;Ysa(468402)|0;Ysa(468423)|0;a=(Ysa(468451)|0)&1;i[1249113]=a;Ysa(468477)|0;a=(Ysa(468510)|0)&1;i[1249114]=a;Ysa(468530)|0;a=(Ysa(468554)|0)&1;i[1249115]=a;a=(Ysa(468598)|0)&1;i[1249116]=a;a=(Ysa(468618)|0)&1;i[1249117]=a;Ysa(468645)|0;Ysa(468670)|0;Ysa(468700)|0;Ysa(468727)|0;Ysa(468757)|0;Ysa(468787)|0;a=(Ysa(468813)|0)&1;i[1249118]=a;Ysa(468833)|0;a=(Ysa(468861)|0)&1;i[1249119]=a;Ysa(468887)|0;a=(Ysa(468905)|0)&1;i[1249120]=a;a=(Ysa(468929)|0)&1;i[1249121]=a;a=(Ysa(468957)|0)&1;i[1249122]=a;a=(Ysa(468984)|0)&1;i[1249123]=a;a=(Ysa(469007)|0)&1;i[1249124]=a;a=(Ysa(469036)|0)&1;i[1249125]=a;Ysa(469063)|0;Ysa(469084)|0;Ysa(469111)|0;a=(Ysa(469138)|0)&1;i[1249126]=a;Ysa(469162)|0;Ysa(469198)|0;Ysa(469231)|0;Ysa(469260)|0;a=(Ysa(469289)|0)&1;i[1249127]=a;a=(Ysa(469311)|0)&1;i[1249128]=a;Ysa(469345)|0;Ysa(469369)|0;Ysa(469412)|0;Ysa(469439)|0;a=(Ysa(469466)|0)&1;i[1249129]=a;Ysa(469499)|0;Ysa(469535)|0;Ysa(469567)|0;a=(Ysa(469590)|0)&1;i[1249130]=a;a=(Ysa(469616)|0)&1;i[1249131]=a;a=(Ysa(469649)|0)&1;i[1249132]=a;Ysa(469675)|0;Ysa(469707)|0;a=(Ysa(469731)|0)&1;i[1249133]=a;a=(Ysa(469765)|0)&1;i[1249134]=a;a=(Ysa(469799)|0)&1;i[1249135]=a;a=(Ysa(469822)|0)&1;i[1249136]=a;Ysa(469856)|0;Ysa(469883)|0;Ysa(469907)|0;a=(Ysa(469930)|0)&1;i[1249137]=a;a=(Ysa(469965)|0)&1;i[1249138]=a;a=(Ysa(469994)|0)&1;i[1249139]=a;a=(Ysa(470017)|0)&1;i[1249140]=a;Ysa(470032)|0;a=(Ysa(470054)|0)&1;i[1249141]=a;a=(Ysa(470082)|0)&1;i[1249142]=a;a=(Ysa(470115)|0)&1;i[1249143]=a;Ysa(470141)|0;Ysa(470158)|0;a=(Ysa(470177)|0)&1;i[1249144]=a;Ysa(470191)|0;Ysa(470224)|0;Ysa(470251)|0;a=(Ysa(470281)|0)&1;i[1249145]=a;a=(Ysa(470304)|0)&1;i[1249146]=a;a=(Ysa(470333)|0)&1;i[1249147]=a;a=(Ysa(470361)|0)&1;i[1249148]=a;Ysa(470396)|0;Ysa(470415)|0;Ysa(470442)|0;a=(Ysa(470468)|0)&1;i[1249149]=a;Ysa(470481)|0;Ysa(470513)|0;Ysa(470559)|0;Ysa(470574)|0;Ysa(470600)|0;Ysa(470622)|0;Ysa(470643)|0;a=(Ysa(470669)|0)&1;i[1249150]=a;a=(Ysa(470697)|0)&1;i[1249151]=a;a=(Ysa(470722)|0)&1;i[1249152]=a;Ysa(470760)|0;Ysa(470782)|0;Ysa(470801)|0;a=(Ysa(470822)|0)&1;i[1249153]=a;Ysa(470855)|0;Ysa(470889)|0;a=(Ysa(470917)|0)&1;i[1249154]=a;Ysa(470945)|0;a=(Ysa(470979)|0)&1;i[1249155]=a;a=(Ysa(471005)|0)&1;i[1249156]=a;a=(Ysa(471026)|0)&1;i[1249157]=a;Ysa(471053)|0;Ysa(471073)|0;Ysa(471095)|0;a=(Ysa(471118)|0)&1;i[1249158]=a;a=(Ysa(471153)|0)&1;i[1249159]=a;a=(Ysa(471194)|0)&1;i[1249160]=a;a=(Ysa(471217)|0)&1;i[1249161]=a;Ysa(471247)|0;a=(Ysa(471286)|0)&1;i[1249162]=a;Ysa(471305)|0;a=(Ysa(471328)|0)&1;i[1249163]=a;a=(Ysa(471353)|0)&1;i[1249164]=a;a=(Ysa(471379)|0)&1;i[1249165]=a;a=(Ysa(471412)|0)&1;i[1249166]=a;a=(Ysa(471430)|0)&1;i[1249167]=a;a=(Ysa(471447)|0)&1;i[1249168]=a;Ysa(471469)|0;a=(Ysa(471490)|0)&1;i[1249169]=a;Ysa(471515)|0;Ysa(471533)|0;a=(Ysa(471555)|0)&1;i[1249170]=a;a=(Ysa(471574)|0)&1;i[1249171]=a;a=(Ysa(471595)|0)&1;i[1249172]=a;Ysa(471614)|0;a=(Ysa(471645)|0)&1;i[1249173]=a;Ysa(471672)|0;a=(Ysa(471700)|0)&1;i[1249174]=a;Ysa(471712)|0;Ysa(471733)|0;a=(Ysa(471752)|0)&1;i[1249175]=a;Ysa(471785)|0;Ysa(471809)|0;a=(Ysa(471841)|0)&1;i[1249176]=a;a=(Ysa(471864)|0)&1;i[1249177]=a;a=(Ysa(471896)|0)&1;i[1249178]=a;a=(Ysa(471926)|0)&1;i[1249179]=a;Ysa(471965)|0;a=(Ysa(471992)|0)&1;i[1249180]=a;Ysa(472016)|0;Ysa(472039)|0;a=(Ysa(472073)|0)&1;i[1249181]=a;a=(Ysa(472092)|0)&1;i[1249182]=a;Ysa(472111)|0;a=(Ysa(472143)|0)&1;i[1249183]=a;a=(Ysa(472161)|0)&1;i[1249184]=a;Ysa(472178)|0;a=(Ysa(472198)|0)&1;i[1249185]=a;a=(Ysa(472221)|0)&1;i[1249186]=a;Ysa(472255)|0;a=(Ysa(472282)|0)&1;i[1249187]=a;a=(Ysa(472308)|0)&1;i[1249188]=a;a=(Ysa(472330)|0)&1;i[1249189]=a;Ysa(472360)|0;a=(Ysa(472391)|0)&1;i[1249190]=a;Ysa(472412)|0;a=(Ysa(472445)|0)&1;i[1249191]=a;a=(Ysa(472464)|0)&1;i[1249192]=a;a=(Ysa(472484)|0)&1;i[1249193]=a;a=(Ysa(472508)|0)&1;i[1249194]=a;Ysa(472526)|0;Ysa(472550)|0;Ysa(472567)|0;Ysa(472592)|0;a=(Ysa(472611)|0)&1;i[1249195]=a;Ysa(472634)|0;Ysa(472670)|0;Ysa(472699)|0;Ysa(472725)|0;Ysa(472757)|0;a=(Ysa(472783)|0)&1;i[1249196]=a;Ysa(472808)|0;Ysa(472834)|0;Ysa(472875)|0;Ysa(472910)|0;Ysa(472936)|0;Ysa(472964)|0;Ysa(472992)|0;Ysa(473019)|0;Ysa(473038)|0;a=(Ysa(473066)|0)&1;i[1249197]=a;a=(Ysa(473088)|0)&1;i[1249198]=a;Ysa(473115)|0;a=(Ysa(473153)|0)&1;i[1249199]=a;Ysa(473179)|0;a=(Ysa(473208)|0)&1;i[1249200]=a;a=(Ysa(473233)|0)&1;i[1249201]=a;Ysa(473259)|0;a=(Ysa(473295)|0)&1;i[1249202]=a;a=(Ysa(473315)|0)&1;i[1249203]=a;a=(Ysa(473349)|0)&1;i[1249204]=a;a=(Ysa(473384)|0)&1;i[1249205]=a;a=(Ysa(473406)|0)&1;i[1249206]=a;a=(Ysa(473426)|0)&1;i[1249207]=a;Ysa(473447)|0;a=(Ysa(473469)|0)&1;i[1249208]=a;Ysa(473495)|0;a=(Ysa(473518)|0)&1;i[1249209]=a;Ysa(473535)|0;a=(Ysa(473553)|0)&1;i[1249210]=a;a=(Ysa(473601)|0)&1;i[1249211]=a;Ysa(473620)|0;a=(Ysa(473644)|0)&1;i[1249212]=a;a=(Ysa(473667)|0)&1;i[1249213]=a;a=(Ysa(473688)|0)&1;i[1249214]=a;Ysa(473710)|0;a=(Ysa(473738)|0)&1;i[1249215]=a;Ysa(473762)|0;Ysa(473790)|0;return}function Ysa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=r;r=r+16|0;if((k[165823]|0)>=3){Di[k[164656]&511](33309,f);if((k[f>>2]|0)>0)b=0;else{e=0;r=f;return e|0}while(1){if(!(Wmb(gj[k[164285]&511](7939,b)|0,a)|0)){b=1;e=12;break}b=b+1|0;if((b|0)>=(k[f>>2]|0)){b=0;e=12;break}}if((e|0)==12){r=f;return b|0}}c=Gi[k[164209]&2047](7939)|0;if((a|0)==0|(c|0)==0){e=0;r=f;return e|0}b=Dob(c,a)|0;if(!b){e=0;r=f;return e|0}d=Fnb(a)|0;a:while(1){if((b|0)==(c|0))e=7;else if((i[b+-1>>0]|0)==32)e=7;c=b+d|0;if((e|0)==7){e=0;switch(i[c>>0]|0){case 0:case 32:{b=1;e=13;break a}default:{}}}b=Dob(c,a)|0;if(!b){b=0;e=13;break}}if((e|0)==13){r=f;return b|0}return 0}function Zsa(a){a=a|0;var b=0;k[a>>2]=31972;b=k[a+108>>2]|0;if(b|0)iqb(b);k[a+108>>2]=0;k[a+112>>2]=0;_sa(a+132|0);return}function _sa(a){a=a|0;var b=0,c=0;b=k[a+20>>2]|0;if(b|0)iqb(b);k[a+20>>2]=0;k[a+24>>2]=0;if(k[a+60>>2]|0){b=0;do{c=(k[a+64>>2]|0)+(b<<2)|0;iqb(k[c>>2]|0);k[c>>2]=0;c=(k[a+68>>2]|0)+(b<<2)|0;iqb(k[c>>2]|0);k[c>>2]=0;b=b+1|0}while((b|0)!=(k[a+60>>2]|0))}iqb(k[a+64>>2]|0);iqb(k[a+68>>2]|0);$sa(a);iqb(k[a+136>>2]|0);iqb(k[a+140>>2]|0);iqb(k[a+144>>2]|0);return}function $sa(a){a=a|0;var b=0,c=0;if(!(k[a+72>>2]|0)){b=k[a+76>>2]|0;iqb(b);b=k[a+80>>2]|0;iqb(b);b=k[a+84>>2]|0;iqb(b);a=k[a+88>>2]|0;iqb(a);return}else b=0;do{c=(k[a+76>>2]|0)+(b<<2)|0;iqb(k[c>>2]|0);k[c>>2]=0;c=(k[a+80>>2]|0)+(b<<2)|0;iqb(k[c>>2]|0);k[c>>2]=0;c=(k[a+84>>2]|0)+(b<<2)|0;iqb(k[c>>2]|0);k[c>>2]=0;c=(k[a+88>>2]|0)+(b<<2)|0;iqb(k[c>>2]|0);k[c>>2]=0;b=b+1|0}while((b|0)!=(k[a+72>>2]|0));c=k[a+76>>2]|0;iqb(c);c=k[a+80>>2]|0;iqb(c);c=k[a+84>>2]|0;iqb(c);c=k[a+88>>2]|0;iqb(c);return}function ata(a){a=a|0;var b=0;k[a>>2]=31972;b=k[a+108>>2]|0;if(b|0)iqb(b);k[a+108>>2]=0;k[a+112>>2]=0;_sa(a+132|0);CAb(a);return}function bta(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;if(!c){a=80;return a|0}else{g=0;f=0;e=0}while(1){A=k[b+(g<<2)>>2]|0;e=A+e|0;A=((A|0)!=0&1)+f|0;g=g+1|0;if((g|0)==(c|0))break;else f=A}vBb(a|0,0,c<<2|0)|0;switch(A|0){case 0:{k[a+4>>2]=1;k[a>>2]=1;a=0;return a|0}case 1:{e=0;while(1){if(k[b+(e<<2)>>2]|0)break;e=e+1|0;if((e|0)==(c|0)){e=0;z=66;break}}if((z|0)==66)return e|0;k[a+(e<<2)>>2]=1;k[a+(((e|0)==0&1)<<2)>>2]=1;a=0;return a|0}default:{j=hqb(A<<5)|0;i=hqb(A<<5)|0;if(!((j|0)!=0&(i|0)!=0)){iqb(j);iqb(i);a=83;return a|0}if(A<<1|0){f=0;do{k[j+(f<<4)>>2]=0;k[j+(f<<4)+8>>2]=0;k[j+(f<<4)+4>>2]=0;f=f+1|0}while((f|0)!=(A<<1|0));f=0;do{k[i+(f<<4)>>2]=0;k[i+(f<<4)+8>>2]=0;k[i+(f<<4)+4>>2]=0;f=f+1|0}while((f|0)!=(A<<1|0))}q=0;f=0;do{g=k[b+(q<<2)>>2]|0;if(g){o[j+(f<<4)+12>>2]=+(g>>>0)/+(e>>>0);l=j+(f<<4)|0;n=j+(f<<4)+4|0;p=k[n>>2]|0;m=j+(f<<4)+8|0;g=k[m>>2]|0;if(g>>>0>>0){h=g<<1>>>0>>0?p+1<<2:((p+1|0)*12|0)>>>1;g=kqb(k[l>>2]|0,h)|0;if(g|0){k[m>>2]=h;k[l>>2]=g;z=19}}else{g=k[l>>2]|0;z=19}if((z|0)==19){z=0;k[n>>2]=p+1;k[g+(p<<2)>>2]=q}f=f+1|0}q=q+1|0}while((q|0)!=(c|0));qnb(j,A,16,348);if(d){y=j;w=1;x=A;g=0;while(1){if(g|0){f=0;do{v=i+(f<<4)|0;k[i+(f<<4)+8>>2]=0;k[i+(f<<4)+4>>2]=0;iqb(k[v>>2]|0);k[v>>2]=0;f=f+1|0}while((f|0)!=(g|0));f=0;do{k[i+(f<<4)>>2]=0;k[i+(f<<4)+8>>2]=0;k[i+(f<<4)+4>>2]=0;f=f+1|0}while((f|0)!=(g|0))}if(x>>>0>1){r=1;v=0;m=0;while(1){f=m+1|0;s=i+(m<<4)|0;t=i+(m<<4)+12|0;k[t>>2]=k[y+(v<<4)+12>>2];l=y+(v<<4)+4|0;j=k[l>>2]|0;u=i+(m<<4)+8|0;g=k[u>>2]|0;if(g>>>0>>0){g=g<<1>>>0>>0?j<<2:(j*12|0)>>>1;h=kqb(k[s>>2]|0,g)|0;if(h|0){k[u>>2]=g;k[s>>2]=h;g=k[l>>2]|0;z=32}}else{g=j;z=32}if((z|0)==32){z=0;k[i+(m<<4)+4>>2]=j;if(g|0){g=k[y+(v<<4)>>2]|0;h=k[s>>2]|0;j=0;do{k[h+(j<<2)>>2]=k[g+(j<<2)>>2];j=j+1|0}while((j|0)!=(k[l>>2]|0))}}p=y+(r<<4)+4|0;if(k[p>>2]|0){q=y+(r<<4)|0;j=i+(m<<4)+4|0;n=0;do{l=k[(k[q>>2]|0)+(n<<2)>>2]|0;m=k[j>>2]|0;g=k[u>>2]|0;if(g>>>0>>0){h=g<<1>>>0>>0?m+1<<2:((m+1|0)*12|0)>>>1;g=kqb(k[s>>2]|0,h)|0;if(g|0){k[u>>2]=h;k[s>>2]=g;z=41}}else{g=k[s>>2]|0;z=41}if((z|0)==41){z=0;k[j>>2]=m+1;k[g+(m<<2)>>2]=l}n=n+1|0}while((n|0)!=(k[p>>2]|0))}o[t>>2]=+o[y+(r<<4)+12>>2]+ +o[t>>2];v=v+2|0;r=v|1;if(r>>>0>=x>>>0)break;else m=f}}else f=0;if(w>>>0>>0){q=i+(f<<4)|0;r=0;g=0;do{h=k[b+(r<<2)>>2]|0;if(h){o[q+(g<<4)+12>>2]=+(h>>>0)/+(e>>>0);l=q+(g<<4)|0;n=q+(g<<4)+4|0;p=k[n>>2]|0;m=q+(g<<4)+8|0;h=k[m>>2]|0;if(h>>>0>>0){j=h<<1>>>0>>0?p+1<<2:((p+1|0)*12|0)>>>1;h=kqb(k[l>>2]|0,j)|0;if(h|0){k[m>>2]=j;k[l>>2]=h;z=51}}else{h=k[l>>2]|0;z=51}if((z|0)==51){z=0;k[n>>2]=p+1;k[h+(p<<2)>>2]=r}g=g+1|0}r=r+1|0}while((r|0)!=(c|0));f=f+A|0}qnb(i,f,16,348);w=w+1|0;if(w>>>0>d>>>0){j=i;i=y;break}else{g=x;v=i;x=f;i=y;y=v}}}if(A>>>0>1){h=1;e=0;while(1){g=j+(e<<4)+4|0;if(k[g>>2]|0){e=k[j+(e<<4)>>2]|0;f=0;do{z=a+(k[e+(f<<2)>>2]<<2)|0;k[z>>2]=(k[z>>2]|0)+1;f=f+1|0}while(f>>>0<(k[g>>2]|0)>>>0)}e=h+1|0;if((e|0)==(A|0))break;else{z=h;h=e;e=z}}}if(!(A<<1))iqb(j);else{e=0;do{a=j+(e<<4)|0;k[j+(e<<4)+8>>2]=0;k[j+(e<<4)+4>>2]=0;iqb(k[a>>2]|0);k[a>>2]=0;e=e+1|0}while((e|0)!=(A<<1|0));iqb(j);e=0;do{a=i+(e<<4)|0;k[i+(e<<4)+8>>2]=0;k[i+(e<<4)+4>>2]=0;iqb(k[a>>2]|0);k[a>>2]=0;e=e+1|0}while((e|0)!=(A<<1|0))}iqb(i);a=0;return a|0}}return 0}function cta(a,b){a=a|0;b=b|0;var c=0.0,d=0.0;d=+o[a+12>>2];c=+o[b+12>>2];return (d>c?1:(d>31)|0}function dta(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;A=r;r=r+64|0;j=k[b>>2]|0;m=0;g=0;h=0;f=k[a>>2]|0;e=j;a:while(1){if(!m){o=g;s=e}else{j=0;B=110;break}b:while(1){e=o+2|0;if(e>>>0>=d<<3>>>0){j=52;e=s;B=110;break a}m=(l[c+(o>>>3)>>0]|0)>>>(o&7)&1;n=o+1|0;g=o+3|0;n=(l[c+(e>>>3)>>0]|0)>>>(e&7)<<1&2|(l[c+(n>>>3)>>0]|0)>>>(n&7)&1;switch(n|0){case 3:{j=20;e=s;B=110;break a}case 0:break;default:{e=s;z=j;break b}}if(!(g&7))e=g;else{e=g;do e=e+1|0;while((e&7|0)!=0)}p=e>>>3;if((p+4|0)>>>0>=d>>>0){j=52;e=s;B=110;break a}q=(l[c+(p+1)>>0]|0)<<8|(l[c+p>>0]|0);if((((l[c+(p+3)>>0]|0)<<8|(l[c+(p+2)>>0]|0))+q|0)!=65535){j=21;e=s;B=110;break a}e=q+h|0;if(j>>>0>>0){j=j<<1>>>0>>0?e:(e*3|0)>>>1;g=kqb(f,j)|0;if(!g){j=83;e=s;B=110;break a}f=g}if((q+(p+4)|0)>>>0>d>>>0){j=23;B=110;break a}if(!q)g=p+4|0;else{g=f;n=0;o=p+4|0;while(1){i[g+h>>0]=i[c+o>>0]|0;n=n+1|0;if((n|0)==(q|0)){g=q+(p+4)|0;h=e;break}else{o=o+1|0;h=h+1|0}}}if(!m){o=g<<3;s=e}else{j=0;B=110;break a}}k[A+20>>2]=0;k[A+20+4>>2]=0;k[A+20+8>>2]=0;k[A>>2]=0;k[A+4>>2]=0;k[A+8>>2]=0;c:do switch(n|0){case 1:{eta(A+20|0);hta(A);B=74;break}case 2:{if((o+17|0)>>>0>d<<3>>>0){j=49;B=71}else{x=(l[c+((o+4|0)>>>3)>>0]|0)>>>(o+4&7)<<1&2|(l[c+(g>>>3)>>0]|0)>>>(g&7)&1|(l[c+((o+5|0)>>>3)>>0]|0)>>>(o+5&7)<<2&4|(l[c+((o+6|0)>>>3)>>0]|0)>>>(o+6&7)<<3&8|(l[c+((o+7|0)>>>3)>>0]|0)>>>(o+7&7)<<4&16;q=(l[c+((o+9|0)>>>3)>>0]|0)>>>(o+9&7)<<1&2|(l[c+((o+8|0)>>>3)>>0]|0)>>>(o+8&7)&1|(l[c+((o+10|0)>>>3)>>0]|0)>>>(o+10&7)<<2&4|(l[c+((o+11|0)>>>3)>>0]|0)>>>(o+11&7)<<3&8|(l[c+((o+12|0)>>>3)>>0]|0)>>>(o+12&7)<<4&16;p=((l[c+((o+14|0)>>>3)>>0]|0)>>>(o+14&7)<<1&2|(l[c+((o+13|0)>>>3)>>0]|0)>>>(o+13&7)&1|(l[c+((o+15|0)>>>3)>>0]|0)>>>(o+15&7)<<2&4|(l[c+((o+16|0)>>>3)>>0]|0)>>>(o+16&7)<<3&8)+4|0;if(((p*3|0)+(o+17)|0)>>>0>d<<3>>>0){j=50;g=o+17|0;B=71}else{k[A+40>>2]=0;k[A+40+4>>2]=0;k[A+40+8>>2]=0;y=hqb(76)|0;d:do if(!y){p=0;n=0;g=o+17|0;j=83}else{j=o+17|0;g=o+17|0;o=0;while(1){if(o>>>0

>>0){v=j+1|0;w=j+2|0;g=j+3|0;n=g;j=(l[c+(v>>>3)>>0]|0)>>>(v&7)<<1&2|(l[c+(j>>>3)>>0]|0)>>>(j&7)&1|(l[c+(w>>>3)>>0]|0)>>>(w&7)<<2&4}else{n=j;j=0}k[y+(k[65548+(o<<2)>>2]<<2)>>2]=j;o=o+1|0;if((o|0)==19)break;else j=n}j=hqb(76)|0;k[A+40+8>>2]=j;if(!j){p=0;n=0;j=83}else{n=y;o=j+76|0;do{k[j>>2]=k[n>>2];j=j+4|0;n=n+4|0}while((j|0)<(o|0));k[A+40+16>>2]=19;k[A+40+12>>2]=7;j=gta(A+40|0)|0;if(!j){w=hqb(1152)|0;v=hqb(128)|0;if((w|0)!=0&(v|0)!=0){vBb(w|0,0,1152)|0;j=v;o=j+128|0;do{k[j>>2]=0;j=j+4|0}while((j|0)<(o|0));s=q+(x+258)|0;if(!s){p=v;n=w;j=64}else{t=k[A+40>>2]|0;u=k[A+40+16>>2]|0;j=0;n=0;e:do{while(1){p=g;o=0;while(1){if(p>>>0>=d<<3>>>0){j=p;B=64;break e}o=k[t+(((l[c+(p>>>3)>>0]|0)>>>(p&7)&1|o<<1)<<2)>>2]|0;g=p+1|0;if(o>>>0>>0)break;o=o-u|0;if(o>>>0>=u>>>0){j=g;B=64;break e}else p=g}if(o>>>0>=16)break;if(n>>>0<(x+257|0)>>>0)k[w+(n<<2)>>2]=o;else k[v+(n-(x+257)<<2)>>2]=o;n=n+1|0;if(n>>>0>=s>>>0)break e}f:do switch(o|0){case -1:{j=g;B=64;break e}case 16:{if(!n){p=v;n=w;j=54;break d}if((p+3|0)>>>0>d<<3>>>0){p=v;n=w;j=50;break d}o=((l[c+((p+2|0)>>>3)>>0]|0)>>>(p+2&7)<<1&2|(l[c+(g>>>3)>>0]|0)>>>(g&7)&1)+3|0;q=k[(n>>>0<(x+258|0)>>>0?w+(n+-1<<2)|0:v+(-258-x+n<<2)|0)>>2]|0;g=0;while(1){if(n>>>0>=s>>>0){g=p+3|0;j=13;break f}if(n>>>0<(x+257|0)>>>0)k[w+(n<<2)>>2]=q;else k[v+(n-(x+257)<<2)>>2]=q;n=n+1|0;g=g+1|0;if(g>>>0>=o>>>0){g=p+3|0;break}}break}case 17:{if((p+4|0)>>>0>d<<3>>>0){p=v;n=w;j=50;break d}o=((l[c+((p+2|0)>>>3)>>0]|0)>>>(p+2&7)<<1&2|(l[c+(g>>>3)>>0]|0)>>>(g&7)&1|(l[c+((p+3|0)>>>3)>>0]|0)>>>(p+3&7)<<2&4)+3|0;g=0;while(1){if(n>>>0>=s>>>0){g=p+4|0;j=14;break f}if(n>>>0<(x+257|0)>>>0)k[w+(n<<2)>>2]=0;else k[v+(n-(x+257)<<2)>>2]=0;n=n+1|0;g=g+1|0;if(g>>>0>=o>>>0){g=p+4|0;break}}break}case 18:{if((p+8|0)>>>0>d<<3>>>0){p=v;n=w;j=50;break d}o=((l[c+((p+2|0)>>>3)>>0]|0)>>>(p+2&7)<<1&2|(l[c+(g>>>3)>>0]|0)>>>(g&7)&1|(l[c+((p+3|0)>>>3)>>0]|0)>>>(p+3&7)<<2&4|(l[c+((p+4|0)>>>3)>>0]|0)>>>(p+4&7)<<3&8|(l[c+((p+5|0)>>>3)>>0]|0)>>>(p+5&7)<<4&16|(l[c+((p+6|0)>>>3)>>0]|0)>>>(p+6&7)<<5&32|(l[c+((p+7|0)>>>3)>>0]|0)>>>(p+7&7)<<6&64)+11|0;if(!o)g=p+8|0;else{g=0;while(1){if(n>>>0>=s>>>0){g=p+8|0;j=15;break f}if(n>>>0<(x+257|0)>>>0)k[w+(n<<2)>>2]=0;else k[v+(n-(x+257)<<2)>>2]=0;n=n+1|0;g=g+1|0;if(g>>>0>=o>>>0){g=p+8|0;break}}}break}default:{p=v;n=w;j=16;break d}}while(0)}while(n>>>0>>0);if((B|0)==64){B=0;p=v;n=w;g=j;j=j>>>0>d<<3>>>0?10:11;break}if(!j)if(!(k[w+1024>>2]|0)){p=v;n=w;j=64}else{j=hqb(1152)|0;k[A+20+8>>2]=j;if(!j){p=v;n=w;j=83}else{ABb(j|0,w|0,1152)|0;k[A+20+16>>2]=288;k[A+20+12>>2]=15;j=gta(A+20|0)|0;if(!j){j=hqb(128)|0;k[A+8>>2]=j;if(!j){p=v;n=w;j=83}else{n=v;o=j+128|0;do{k[j>>2]=k[n>>2];j=j+4|0;n=n+4|0}while((j|0)<(o|0));k[A+16>>2]=32;k[A+12>>2]=15;p=v;n=w;j=gta(A)|0}}else{p=v;n=w}}}else{p=v;n=w}}}else{p=v;n=w;j=83}}else{p=0;n=0}}}while(0);iqb(y);iqb(n);iqb(p);iqb(k[A+40>>2]|0);iqb(k[A+40+4>>2]|0);iqb(k[A+40+8>>2]|0);if(!j){B=74;break c}else n=z}}if((B|0)==71){B=0;n=z}q=k[A+20>>2]|0;p=k[A>>2]|0;break}default:B=74}while(0);g:do if((B|0)==74){B=0;x=k[A+20>>2]|0;v=k[A+20+16>>2]|0;y=k[A>>2]|0;w=k[A+16>>2]|0;j=z;h:while(1){n=j;while(1){j=0;while(1){if(g>>>0>=d<<3>>>0){j=g;break h}t=k[x+(((l[c+(g>>>3)>>0]|0)>>>(g&7)&1|j<<1)<<2)>>2]|0;g=g+1|0;if(t>>>0>>0)break;j=t-v|0;if(j>>>0>=v>>>0){j=g;break h}}if(t>>>0<256)break;if((t+-257|0)>>>0>=29){B=107;break h}o=k[31980+(t+-257<<2)>>2]|0;if((o+g|0)>>>0>d<<3>>>0){q=x;p=y;j=51;break g}s=k[32096+(t+-257<<2)>>2]|0;if((t+-265|0)>>>0>19)j=0;else{p=g;q=0;j=0;while(1){j=(((l[c+(p>>>3)>>0]|0)>>>(p&7)&1)<>>0>=d<<3>>>0){j=t;o=g;B=95;break h}j=k[y+(((l[c+(g>>>3)>>0]|0)>>>(g&7)&1|j<<1)<<2)>>2]|0;g=g+1|0;if(j>>>0>>0)break;j=j-w|0;if(j>>>0>=w>>>0){j=t;o=g;B=95;break h}}if(j>>>0>29){j=t;o=g;B=95;break h}q=k[32212+(j<<2)>>2]|0;if((q+g|0)>>>0>d<<3>>>0){q=x;p=y;j=51;break g}s=k[32332+(j<<2)>>2]|0;if(j>>>0<4)j=0;else{o=g;p=0;j=0;while(1){j=(((l[c+(o>>>3)>>0]|0)>>>(o&7)&1)<>>0

>>0){q=x;p=y;j=52;break g}q=u+h|0;if(n>>>0>>0){j=n<<1>>>0>>0?q:(q*3|0)>>>1;o=kqb(f,j)|0;if(!o){q=x;p=y;j=83;break g}f=o}else j=n;if(!u){e=q;n=j}else{B=105;break}}if((B|0)==105){B=0;o=h-p|0;e=o;n=0;p=h;while(1){i[f+p>>0]=i[f+e>>0]|0;e=e+1|0;e=e>>>0>>0?e:o;n=n+1|0;if((n|0)==(u|0)){h=q;e=q;continue h}else p=p+1|0}}p=h+1|0;if(n>>>0

>>0){j=n<<1>>>0

>>0?p:(p*3|0)>>>1;o=kqb(f,j)|0;if(!o){q=x;p=y;j=83;break g}e=o;f=o}else{e=f;j=n}i[e+h>>0]=t;h=p;e=p}if((B|0)==95){B=0;if((j|0)!=-1){q=x;p=y;g=o;j=18;break}q=x;p=y;g=o;j=o>>>0>d<<3>>>0?10:11;break}else if((B|0)==107){B=0;if((t|0)==256){q=x;p=y;j=0;break}else j=g}q=x;p=y;g=j;j=j>>>0>d<<3>>>0?10:11}while(0);iqb(q);iqb(k[A+20+4>>2]|0);iqb(k[A+20+8>>2]|0);iqb(p);iqb(k[A+4>>2]|0);iqb(k[A+8>>2]|0);if(!j)j=n;else{B=110;break}}if((B|0)==110){k[a>>2]=f;k[b>>2]=e;r=A;return j|0}return 0}function eta(a){a=a|0;var b=0,c=0;c=hqb(1152)|0;if(!c)return;else b=0;do{k[c+(b<<2)>>2]=8;b=b+1|0}while((b|0)!=144);b=144;do{k[c+(b<<2)>>2]=9;b=b+1|0}while((b|0)!=256);k[c+1024>>2]=7;k[c+1028>>2]=7;k[c+1032>>2]=7;k[c+1036>>2]=7;k[c+1040>>2]=7;k[c+1044>>2]=7;k[c+1048>>2]=7;k[c+1052>>2]=7;k[c+1056>>2]=7;k[c+1060>>2]=7;k[c+1064>>2]=7;k[c+1068>>2]=7;k[c+1072>>2]=7;k[c+1076>>2]=7;k[c+1080>>2]=7;k[c+1084>>2]=7;k[c+1088>>2]=7;k[c+1092>>2]=7;k[c+1096>>2]=7;k[c+1100>>2]=7;k[c+1104>>2]=7;k[c+1108>>2]=7;k[c+1112>>2]=7;k[c+1116>>2]=7;k[c+1120>>2]=8;k[c+1124>>2]=8;k[c+1128>>2]=8;k[c+1132>>2]=8;k[c+1136>>2]=8;k[c+1140>>2]=8;k[c+1144>>2]=8;k[c+1148>>2]=8;fta(a,c,288,15)|0;iqb(c);return}function fta(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=hqb(c<<2)|0;k[a+8>>2]=e;if(!e){a=83;return a|0}if(c|0){f=0;do{k[e+(f<<2)>>2]=k[b+(f<<2)>>2];f=f+1|0}while((f|0)!=(c|0))}k[a+16>>2]=c;k[a+12>>2]=d;a=gta(a)|0;return a|0}function gta(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0;e=hqb(k[a+16>>2]<<2)|0;k[a+4>>2]=e;b=(k[a+12>>2]|0)+1|0;if(!(b<<2)){c=0;d=4}else{c=kqb(0,b<<2)|0;if(!c){c=0;b=0}else d=4}do if((d|0)==4){if(b|0)vBb(c|0,0,b<<2|0)|0;d=(k[a+12>>2]|0)+1|0;if(!(d<<2))b=0;else{b=kqb(0,d<<2)|0;if(!b){b=0;break}}if(d|0)vBb(b|0,0,d<<2|0)|0;if(e){h=k[a+16>>2]|0;if(h|0){d=k[a+8>>2]|0;e=0;do{l=c+(k[d+(e<<2)>>2]<<2)|0;k[l>>2]=(k[l>>2]|0)+1;e=e+1|0}while((e|0)!=(h|0))}d=k[a+12>>2]|0;if(d|0){e=k[b>>2]|0;f=1;do{e=(k[c+(f+-1<<2)>>2]|0)+e<<1;k[b+(f<<2)>>2]=e;f=f+1|0}while(f>>>0<=d>>>0)}if(h|0){g=k[a+8>>2]|0;d=h;f=0;do{e=k[g+(f<<2)>>2]|0;if(e){l=b+(e<<2)|0;d=k[l>>2]|0;k[l>>2]=d+1;k[(k[a+4>>2]|0)+(f<<2)>>2]=d;d=k[a+16>>2]|0}f=f+1|0}while((f|0)!=(d|0))}iqb(c);iqb(b);b=k[a+16>>2]|0;l=hqb(b<<3)|0;k[a>>2]=l;if(!l){a=83;return a|0}if(b&2147483647|0){c=0;do{k[l+(c<<2)>>2]=32767;c=c+1|0}while(c>>>0>>0)}if(!b){a=0;return a|0}j=k[a+8>>2]|0;i=0;c=0;d=0;a:while(1){e=k[j+(i<<2)>>2]|0;if(e){h=(k[a+4>>2]|0)+(i<<2)|0;b=0;do{if((d|0)<0){b=55;d=47;break a}g=k[a+16>>2]|0;if((d+2|0)>>>0>g>>>0){b=55;d=47;break a}d=l+(((k[h>>2]|0)>>>(e+~b|0)&1|d<<1)<<2)|0;f=k[d>>2]|0;do if((f|0)==32767){b=b+1|0;if((b|0)==(e|0)){k[d>>2]=i;b=e;d=0;break}else{f=c+1|0;k[d>>2]=g+f;c=f;d=f;break}}else{b=b+1|0;d=f-g|0}while(0);e=k[(k[a+8>>2]|0)+(i<<2)>>2]|0}while((e|0)!=(b|0));b=k[a+16>>2]|0}i=i+1|0;if(i>>>0>=b>>>0){d=31;break}}if((d|0)==31){if(!(b&2147483647)){a=0;return a|0}e=k[a>>2]|0;d=0;do{c=e+(d<<2)|0;if((k[c>>2]|0)==32767){k[c>>2]=0;b=k[a+16>>2]|0}d=d+1|0}while(d>>>0>>0);b=0;return b|0}else if((d|0)==47)return b|0}}while(0);iqb(c);iqb(b);a=83;return a|0}function hta(a){a=a|0;var b=0,c=0,d=0,e=0;e=hqb(128)|0;if(!e)return;k[e>>2]=5;k[e+4>>2]=5;k[e+8>>2]=5;k[e+12>>2]=5;k[e+16>>2]=5;k[e+20>>2]=5;k[e+24>>2]=5;k[e+28>>2]=5;k[e+32>>2]=5;k[e+36>>2]=5;k[e+40>>2]=5;k[e+44>>2]=5;k[e+48>>2]=5;k[e+52>>2]=5;k[e+56>>2]=5;k[e+60>>2]=5;k[e+64>>2]=5;k[e+68>>2]=5;k[e+72>>2]=5;k[e+76>>2]=5;k[e+80>>2]=5;k[e+84>>2]=5;k[e+88>>2]=5;k[e+92>>2]=5;k[e+96>>2]=5;k[e+100>>2]=5;k[e+104>>2]=5;k[e+108>>2]=5;k[e+112>>2]=5;k[e+116>>2]=5;k[e+120>>2]=5;k[e+124>>2]=5;b=hqb(128)|0;k[a+8>>2]=b;if(b|0){c=e;d=b+128|0;do{k[b>>2]=k[c>>2];b=b+4|0;c=c+4|0}while((b|0)<(d|0));k[a+16>>2]=32;k[a+12>>2]=15;gta(a)|0}iqb(e);return}function ita(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;K=r;r=r+128|0;f=k[b>>2]|0;k[K>>2]=k[a>>2];k[K+4>>2]=f;k[K+8>>2]=f;k[K+40>>2]=0;q=k[e>>2]|0;if(q>>>0>2){d=61;c=k[K>>2]|0;k[a>>2]=c;a=k[K+4>>2]|0;k[b>>2]=a;r=K;return d|0}switch(q|0){case 0:{if((d+65534|0)>>>0<65535){d=0;c=k[K>>2]|0;k[a>>2]=c;a=k[K+4>>2]|0;k[b>>2]=a;r=K;return d|0}p=f;q=f;f=0;g=0;while(1){n=(g|0)==((((d+65534|0)>>>0)/65535|0)+-1|0)&1;o=p+1|0;if(q>>>0>>0){m=q<<1>>>0>>0?o:(o*3|0)>>>1;h=kqb(k[K>>2]|0,m)|0;if(!h)o=q;else{k[K+8>>2]=m;k[K>>2]=h;J=9}}else{h=k[K>>2]|0;J=9}if((J|0)==9){J=0;k[K+4>>2]=o;i[h+p>>0]=n;p=k[K+4>>2]|0;o=k[K+8>>2]|0}q=d-f|0;q=q>>>0<65535?q:65535;n=p+1|0;if(o>>>0>>0){m=o<<1>>>0>>0?n:(n*3|0)>>>1;h=kqb(k[K>>2]|0,m)|0;if(h){k[K+8>>2]=m;k[K>>2]=h;J=14}}else{h=k[K>>2]|0;J=14}if((J|0)==14){J=0;k[K+4>>2]=n;i[h+p>>0]=q;p=k[K+4>>2]|0;o=k[K+8>>2]|0}n=p+1|0;if(o>>>0>>0){m=o<<1>>>0>>0?n:(n*3|0)>>>1;h=kqb(k[K>>2]|0,m)|0;if(h){k[K+8>>2]=m;k[K>>2]=h;J=19}}else{h=k[K>>2]|0;J=19}if((J|0)==19){J=0;k[K+4>>2]=n;i[h+p>>0]=q>>>8;p=k[K+4>>2]|0;o=k[K+8>>2]|0}n=p+1|0;if(o>>>0>>0){m=o<<1>>>0>>0?n:(n*3|0)>>>1;h=kqb(k[K>>2]|0,m)|0;if(!h)h=o;else{k[K+8>>2]=m;k[K>>2]=h;J=24}}else{h=k[K>>2]|0;J=24}if((J|0)==24){J=0;k[K+4>>2]=n;i[h+p>>0]=65535-q;p=k[K+4>>2]|0;h=k[K+8>>2]|0}n=p+1|0;if(h>>>0>>0){m=h<<1>>>0>>0?n:(n*3|0)>>>1;h=kqb(k[K>>2]|0,m)|0;if(h|0){k[K+8>>2]=m;k[K>>2]=h;J=29}}else{h=k[K>>2]|0;J=29}if((J|0)==29){J=0;k[K+4>>2]=n;i[h+p>>0]=(65535-q|0)>>>8}if(f>>>0>>0){p=0;while(1){o=f+1|0;m=i[c+f>>0]|0;n=k[K+4>>2]|0;f=k[K+8>>2]|0;if(f>>>0<(n+1|0)>>>0){h=f<<1>>>0<(n+1|0)>>>0?n+1|0:((n+1|0)*3|0)>>>1;f=kqb(k[K>>2]|0,h)|0;if(f|0){k[K+8>>2]=h;k[K>>2]=f;J=35}}else{f=k[K>>2]|0;J=35}if((J|0)==35){J=0;k[K+4>>2]=n+1;i[f+n>>0]=m}p=p+1|0;if(!(p>>>0<65535&o>>>0>>0)){f=o;break}else f=o}}g=g+1|0;if((g|0)==(((d+65534|0)>>>0)/65535|0|0)){f=0;break}p=k[K+4>>2]|0;q=k[K+8>>2]|0}d=k[K>>2]|0;k[a>>2]=d;a=k[K+4>>2]|0;k[b>>2]=a;r=K;return f|0}case 1:{I=d;break}default:I=((d>>>3)+8|0)>>>0<65535?65535:(d>>>3)+8|0}H=((d+-1+I|0)>>>0)/(I>>>0)|0;H=(H|0)==0?1:H;o=k[e+8>>2]|0;f=hqb(262144)|0;k[K+16>>2]=f;g=hqb(o<<2)|0;k[K+16+8>>2]=g;m=hqb(o<<1)|0;k[K+16+4>>2]=m;h=hqb(o<<1)|0;k[K+16+20>>2]=h;n=hqb(1036)|0;k[K+16+12>>2]=n;p=hqb(o<<1)|0;k[K+16+16>>2]=p;if((g|0)==0|((f|0)==0|(m|0)==0)){d=83;c=k[K>>2]|0;k[a>>2]=c;a=k[K+4>>2]|0;k[b>>2]=a;r=K;return d|0}if((h|0)==0|((n|0)==0|(p|0)==0)){d=83;c=k[K>>2]|0;k[a>>2]=c;a=k[K+4>>2]|0;k[b>>2]=a;r=K;return d|0}vBb(f|0,-1,262144)|0;if(!o)vBb(n|0,-1,1036)|0;else{vBb(g|0,-1,o<<2|0)|0;f=0;do{j[m+(f<<1)>>1]=f;f=f+1|0}while((f|0)!=(o|0));vBb(n|0,-1,1036)|0;f=0;do{j[p+(f<<1)>>1]=f;f=f+1|0}while((f|0)!=(o|0))}F=K+84+8|0;G=K+44+8|0;h=q;g=0;while(1){A=(g|0)==(H+-1|0)&1;f=ha(g,I)|0;u=f+I|0;u=u>>>0>d>>>0?d:u;switch(h|0){case 1:{k[K+104>>2]=0;k[K+104+4>>2]=0;k[K+104+8>>2]=0;k[K+84>>2]=0;k[K+84+4>>2]=0;k[K+84+8>>2]=0;eta(K+104|0);hta(K+84|0);do if(!(k[K+40>>2]&7)){n=k[K+4>>2]|0;h=k[K+8>>2]|0;if(h>>>0<(n+1|0)>>>0){m=h<<1>>>0<(n+1|0)>>>0?n+1|0:((n+1|0)*3|0)>>>1;h=kqb(k[K>>2]|0,m)|0;if(!h)break;k[K+8>>2]=m;k[K>>2]=h}else h=k[K>>2]|0;k[K+4>>2]=n+1;i[h+n>>0]=0}while(0);E=(k[K>>2]|0)+((k[K+4>>2]|0)+-1)|0;i[E>>0]=l[E>>0]|0|A<<(k[K+40>>2]&7);E=(k[K+40>>2]|0)+1|0;k[K+40>>2]=E;do if(!(E&7)){n=k[K+4>>2]|0;h=k[K+8>>2]|0;if(h>>>0<(n+1|0)>>>0){m=h<<1>>>0<(n+1|0)>>>0?n+1|0:((n+1|0)*3|0)>>>1;h=kqb(k[K>>2]|0,m)|0;if(!h)break;k[K+8>>2]=m;k[K>>2]=h}else h=k[K>>2]|0;k[K+4>>2]=n+1;i[h+n>>0]=0}while(0);E=(k[K>>2]|0)+((k[K+4>>2]|0)+-1)|0;i[E>>0]=l[E>>0]|0|1<<(k[K+40>>2]&7);E=(k[K+40>>2]|0)+1|0;k[K+40>>2]=E;do if(!(E&7)){n=k[K+4>>2]|0;h=k[K+8>>2]|0;if(h>>>0<(n+1|0)>>>0){m=h<<1>>>0<(n+1|0)>>>0?n+1|0:((n+1|0)*3|0)>>>1;h=kqb(k[K>>2]|0,m)|0;if(!h)break;k[K+8>>2]=m;k[K>>2]=h}else h=k[K>>2]|0;k[K+4>>2]=n+1;i[h+n>>0]=0}while(0);h=(k[K+40>>2]|0)+1|0;k[K+40>>2]=h;do if(!(k[e+4>>2]|0))if(u>>>0>f>>>0){s=k[K+104+4>>2]|0;t=k[K+104+8>>2]|0;do{q=l[c+f>>0]|0;p=k[s+(q<<2)>>2]|0;q=k[t+(q<<2)>>2]|0;if(q){o=0;do{do if(!(h&7)){n=k[K+4>>2]|0;h=k[K+8>>2]|0;if(h>>>0<(n+1|0)>>>0){m=h<<1>>>0<(n+1|0)>>>0?n+1|0:((n+1|0)*3|0)>>>1;h=kqb(k[K>>2]|0,m)|0;if(!h)break;k[K+8>>2]=m;k[K>>2]=h}else h=k[K>>2]|0;k[K+4>>2]=n+1;i[h+n>>0]=0}while(0);h=(k[K>>2]|0)+((k[K+4>>2]|0)+-1)|0;i[h>>0]=l[h>>0]|0|(p>>>(q+-1-o|0)&1)<<(k[K+40>>2]&7);h=(k[K+40>>2]|0)+1|0;k[K+40>>2]=h;o=o+1|0}while((o|0)!=(q|0))}f=f+1|0}while((f|0)!=(u|0));J=84}else J=84;else{k[K+64>>2]=0;k[K+64+8>>2]=0;k[K+64+4>>2]=0;f=jta(K+64|0,K+16|0,c,f,u,k[e+8>>2]|0,k[e+12>>2]|0,k[e+16>>2]|0,k[e+20>>2]|0)|0;if(!f){kta(K+40|0,K,K+64|0,K+104|0,K+84|0);k[K+64+8>>2]=0;k[K+64+4>>2]=0;iqb(k[K+64>>2]|0);J=84;break}else{k[K+64+8>>2]=0;k[K+64+4>>2]=0;iqb(k[K+64>>2]|0);m=k[K+104+4>>2]|0;h=k[K+104+8>>2]|0;break}}while(0);if((J|0)==84){J=0;m=k[K+104+4>>2]|0;p=k[m+1024>>2]|0;h=k[K+104+8>>2]|0;q=k[h+1024>>2]|0;if(!q)f=0;else{f=k[K+40>>2]|0;s=0;do{do if(!(f&7)){o=k[K+4>>2]|0;f=k[K+8>>2]|0;if(f>>>0<(o+1|0)>>>0){n=f<<1>>>0<(o+1|0)>>>0?o+1|0:((o+1|0)*3|0)>>>1;f=kqb(k[K>>2]|0,n)|0;if(!f)break;k[K+8>>2]=n;k[K>>2]=f}else f=k[K>>2]|0;k[K+4>>2]=o+1;i[f+o>>0]=0}while(0);f=(k[K>>2]|0)+((k[K+4>>2]|0)+-1)|0;i[f>>0]=l[f>>0]|0|(p>>>(q+-1-s|0)&1)<<(k[K+40>>2]&7);f=(k[K+40>>2]|0)+1|0;k[K+40>>2]=f;s=s+1|0}while((s|0)!=(q|0));f=0}}iqb(k[K+104>>2]|0);iqb(m);iqb(h);iqb(k[K+84>>2]|0);iqb(k[K+84+4>>2]|0);iqb(k[K+84+8>>2]|0);break}case 2:{k[K+104>>2]=0;k[K+104+8>>2]=0;k[K+104+4>>2]=0;k[K+84>>2]=0;k[K+84+4>>2]=0;k[F>>2]=0;k[K+64>>2]=0;k[K+64+4>>2]=0;k[K+64+8>>2]=0;k[K+44>>2]=0;k[K+44+4>>2]=0;k[G>>2]=0;do if(!(k[e+4>>2]|0)){if(!(u-f<<2))h=0;else{h=kqb(0,u-f<<2)|0;if(!h){q=0;p=0;o=0;f=83;n=0;m=0;h=0;break}k[K+104+8>>2]=u-f<<2;k[K+104>>2]=h}k[K+104+4>>2]=u-f;if(u>>>0>f>>>0){do{k[h+(f<<2)>>2]=l[c+f>>0];f=f+1|0}while((f|0)!=(u|0));J=101}else J=101}else{f=jta(K+104|0,K+16|0,c,f,u,k[e+8>>2]|0,k[e+12>>2]|0,k[e+16>>2]|0,k[e+20>>2]|0)|0;if(!f)J=101;else{q=0;p=0;o=0;n=0;m=0;h=0}}while(0);a:do if((J|0)==101){J=0;E=kqb(0,1144)|0;if(!E){q=0;p=0;o=0;f=83;n=0;m=0;h=0}else{vBb(E|0,0,1144)|0;D=kqb(0,120)|0;if(!D){q=0;p=0;o=0;f=83;n=0;m=0;h=E}else{h=D;m=h+120|0;do{k[h>>2]=0;h=h+4|0}while((h|0)<(m|0));h=k[K+104+4>>2]|0;if(h|0){m=k[K+104>>2]|0;f=0;do{C=k[m+(f<<2)>>2]|0;k[E+(C<<2)>>2]=(k[E+(C<<2)>>2]|0)+1;if(C>>>0>256){C=D+(k[m+(f+2<<2)>>2]<<2)|0;k[C>>2]=(k[C>>2]|0)+1;f=f+3|0}f=f+1|0}while((f|0)!=(h|0))}k[E+1024>>2]=1;f=286;while(1){h=f+-1|0;if(f>>>0>257?(k[E+(h<<2)>>2]|0)==0:0)f=h;else break}k[K+84+12>>2]=15;k[K+84+16>>2]=f;h=kqb(0,f<<2)|0;k[F>>2]=h;if(!h){q=0;p=0;o=0;f=83;n=0;m=D;h=E}else{vBb(h|0,0,f<<2|0)|0;f=bta(h,E,f,15)|0;if(!f){f=gta(K+84|0)|0;if(!f){f=30;while(1){h=f+-1|0;if(f>>>0>2?(k[D+(h<<2)>>2]|0)==0:0)f=h;else break}k[K+64+12>>2]=15;k[K+64+16>>2]=f;h=kqb(0,f<<2)|0;k[K+64+8>>2]=h;if(!h){q=0;p=0;o=0;f=83;n=0;m=D;h=E}else{vBb(h|0,0,f<<2|0)|0;f=bta(h,D,f,15)|0;if(!f){f=gta(K+64|0)|0;if(!f){z=k[K+84+16>>2]|0;z=z>>>0>286?286:z;B=k[K+64+16>>2]|0;B=B>>>0>30?30:B;if(!z){f=0;m=0;h=0}else{f=0;q=0;h=0;s=0;while(1){p=k[(k[F>>2]|0)+(s<<2)>>2]|0;m=q+1|0;do if(h>>>0>>0){o=h<<1>>>0>>0?m<<2:(m*12|0)>>>1;n=kqb(f,o)|0;if(!n){m=q;break}f=n;h=o;J=122}else J=122;while(0);if((J|0)==122){J=0;k[f+(q<<2)>>2]=p}s=s+1|0;if((s|0)==(z|0))break;else q=m}}if(!B)C=f;else{q=m;s=0;while(1){p=k[(k[K+64+8>>2]|0)+(s<<2)>>2]|0;m=q+1|0;do if(h>>>0>>0){o=h<<1>>>0>>0?m<<2:(m*12|0)>>>1;n=kqb(f,o)|0;if(!n){m=q;break}f=n;h=o;J=128}else J=128;while(0);if((J|0)==128){J=0;k[f+(q<<2)>>2]=p}s=s+1|0;if((s|0)==(B|0)){C=f;break}else q=m}}if(!m){y=0;q=0}else{u=0;t=0;s=0;f=0;while(1){n=f+1|0;p=k[C+(f<<2)>>2]|0;do if(n>>>0>>0){o=n;h=0;do{if((k[C+(o<<2)>>2]|0)!=(p|0))break;h=h+1|0;o=h+n|0}while(o>>>0>>0);if((p|0)==0&h>>>0>1){o=h+1|0;do if(o>>>0<11){q=t+1|0;do if(s>>>0>>0){n=s<<1>>>0>>0?q<<2:(q*12|0)>>>1;p=kqb(u,n)|0;if(!p){p=u;u=t;n=s;break}J=138}else{p=u;n=s;J=138}while(0);if((J|0)==138){J=0;k[p+(t<<2)>>2]=17;u=q}s=h+-2|0;t=u+1|0;if(n>>>0>>0){q=n<<1>>>0>>0?t<<2:(t*12|0)>>>1;h=kqb(p,q)|0;if(!h){h=p;q=u;break}n=q}else h=p;k[h+(u<<2)>>2]=s;q=t}else{o=o>>>0>138?138:o;p=t+1|0;do if(s>>>0>>0){n=s<<1>>>0>>0?p<<2:(p*12|0)>>>1;h=kqb(u,n)|0;if(!h){h=u;break}J=146}else{h=u;n=s;J=146}while(0);if((J|0)==146){J=0;k[h+(t<<2)>>2]=18;t=p;s=n}q=t+1|0;if(s>>>0>>0){p=s<<1>>>0>>0?q<<2:(q*12|0)>>>1;n=kqb(h,p)|0;if(!n){q=t;n=s;break}h=n;n=p}else n=s;k[h+(t<<2)>>2]=o+-11}while(0);p=h;f=f+-1+o|0;break}if(h>>>0<=2){J=178;break}v=(h>>>0)/6|0;w=(h>>>0)%6|0;q=t+1|0;do if(s>>>0>>0){n=s<<1>>>0>>0?q<<2:(q*12|0)>>>1;o=kqb(u,n)|0;if(!o){o=u;q=t;n=s;break}J=156}else{o=u;n=s;J=156}while(0);if((J|0)==156){J=0;k[o+(t<<2)>>2]=p}if(h>>>0>5){u=0;do{t=q+1|0;do if(n>>>0>>0){s=n<<1>>>0>>0?t<<2:(t*12|0)>>>1;p=kqb(o,s)|0;if(!p)break;o=p;n=s;J=161}else J=161;while(0);if((J|0)==161){J=0;k[o+(q<<2)>>2]=16;q=t}t=q+1|0;do if(n>>>0>>0){s=n<<1>>>0>>0?t<<2:(t*12|0)>>>1;p=kqb(o,s)|0;if(!p)break;o=p;n=s;J=165}else J=165;while(0);if((J|0)==165){J=0;k[o+(q<<2)>>2]=3;q=t}u=u+1|0}while(u>>>0>>0);t=o}else t=o;do if(w>>>0>2){s=q+1|0;do if(n>>>0>>0){p=n<<1>>>0>>0?s<<2:(s*12|0)>>>1;o=kqb(t,p)|0;if(!o){o=t;s=q;break}n=p;J=171}else{o=t;J=171}while(0);if((J|0)==171){J=0;k[o+(q<<2)>>2]=16}t=s+1|0;if(n>>>0>>0){q=n<<1>>>0>>0?t<<2:(t*12|0)>>>1;p=kqb(o,q)|0;if(!p){q=s;break}o=p;n=q}k[o+(s<<2)>>2]=w+-3;q=t}else{o=t;h=h-w|0}while(0);p=o;f=h+f|0}else J=178;while(0);do if((J|0)==178){J=0;q=t+1|0;if(s>>>0>>0){n=s<<1>>>0>>0?q<<2:(q*12|0)>>>1;h=kqb(u,n)|0;if(!h){p=u;q=t;n=s;break}}else{h=u;n=s}k[h+(t<<2)>>2]=p;p=h}while(0);f=f+1|0;if((f|0)==(m|0)){y=p;break}else{u=p;t=q;s=n}}}n=kqb(0,76)|0;if(!n){q=0;p=C;o=y;f=83;n=0;m=D;h=E;break}h=n;m=h+76|0;do{k[h>>2]=0;h=h+4|0}while((h|0)<(m|0));t=(q|0)==0;if(!t){f=0;do{x=y+(f<<2)|0;w=n+(k[x>>2]<<2)|0;k[w>>2]=(k[w>>2]|0)+1;f=f+1+((k[x>>2]|0)>>>0>15&1)|0}while((f|0)!=(q|0))}k[K+44+12>>2]=7;k[K+44+16>>2]=19;f=kqb(k[G>>2]|0,76)|0;k[G>>2]=f;if(!f){q=0;p=C;o=y;f=83;m=D;h=E;break}h=f;m=h+76|0;do{k[h>>2]=0;h=h+4|0}while((h|0)<(m|0));f=bta(f,n,19,7)|0;if(f|0){q=0;p=C;o=y;m=D;h=E;break}f=gta(K+44|0)|0;if(f|0){q=0;p=C;o=y;m=D;h=E;break}h=k[K+44+16>>2]|0;if(!(h<<2)){f=0;m=0}else{f=kqb(0,h<<2)|0;if(!f){q=0;p=C;o=y;f=83;m=D;h=E;break}m=h<<2}if(!h)h=0;else{p=k[G>>2]|0;o=0;do{k[f+(o<<2)>>2]=k[p+(k[65548+(o<<2)>>2]<<2)>>2];o=o+1|0}while((o|0)!=(h|0))}b:while(1){while(1){o=h+-1|0;if(!(h>>>0>4?(k[f+(o<<2)>>2]|0)==0:0)){x=f;o=h;break b}if(m>>>0>>0)break;else h=o}m=m<<1>>>0>>0?o<<2:(o*12|0)>>>1;h=kqb(f,m)|0;if(!h){q=f;p=C;o=y;f=83;m=D;h=E;break a}f=h;h=o}do if(!(k[K+40>>2]&7)){m=k[K+4>>2]|0;f=k[K+8>>2]|0;if(f>>>0<(m+1|0)>>>0){h=f<<1>>>0<(m+1|0)>>>0?m+1|0:((m+1|0)*3|0)>>>1;f=kqb(k[K>>2]|0,h)|0;if(!f)break;k[K+8>>2]=h;k[K>>2]=f}else f=k[K>>2]|0;k[K+4>>2]=m+1;i[f+m>>0]=0}while(0);w=(k[K>>2]|0)+((k[K+4>>2]|0)+-1)|0;i[w>>0]=l[w>>0]|0|A<<(k[K+40>>2]&7);A=(k[K+40>>2]|0)+1|0;k[K+40>>2]=A;do if(!(A&7)){m=k[K+4>>2]|0;f=k[K+8>>2]|0;if(f>>>0<(m+1|0)>>>0){h=f<<1>>>0<(m+1|0)>>>0?m+1|0:((m+1|0)*3|0)>>>1;f=kqb(k[K>>2]|0,h)|0;if(!f)break;k[K+8>>2]=h;k[K>>2]=f}else f=k[K>>2]|0;k[K+4>>2]=m+1;i[f+m>>0]=0}while(0);A=(k[K+40>>2]|0)+1|0;k[K+40>>2]=A;do if(!(A&7)){m=k[K+4>>2]|0;f=k[K+8>>2]|0;if(f>>>0<(m+1|0)>>>0){h=f<<1>>>0<(m+1|0)>>>0?m+1|0:((m+1|0)*3|0)>>>1;f=kqb(k[K>>2]|0,h)|0;if(!f)break;k[K+8>>2]=h;k[K>>2]=f}else f=k[K>>2]|0;k[K+4>>2]=m+1;i[f+m>>0]=0}while(0);f=(k[K>>2]|0)+((k[K+4>>2]|0)+-1)|0;i[f>>0]=l[f>>0]|0|1<<(k[K+40>>2]&7);f=(k[K+40>>2]|0)+1|0;k[K+40>>2]=f;h=o+-4|0;while(1)if(h|0?(k[x+(h+3<<2)>>2]|0)==0:0)h=h+-1|0;else break;p=0;do{do if(!(f&7)){o=k[K+4>>2]|0;f=k[K+8>>2]|0;if(f>>>0<(o+1|0)>>>0){m=f<<1>>>0<(o+1|0)>>>0?o+1|0:((o+1|0)*3|0)>>>1;f=kqb(k[K>>2]|0,m)|0;if(!f)break;k[K+8>>2]=m;k[K>>2]=f}else f=k[K>>2]|0;k[K+4>>2]=o+1;i[f+o>>0]=0}while(0);f=(k[K>>2]|0)+((k[K+4>>2]|0)+-1)|0;i[f>>0]=l[f>>0]|0|((z+-257|0)>>>p&1)<<(k[K+40>>2]&7);f=(k[K+40>>2]|0)+1|0;k[K+40>>2]=f;p=p+1|0}while((p|0)!=5);p=0;do{do if(!(f&7)){o=k[K+4>>2]|0;f=k[K+8>>2]|0;if(f>>>0<(o+1|0)>>>0){m=f<<1>>>0<(o+1|0)>>>0?o+1|0:((o+1|0)*3|0)>>>1;f=kqb(k[K>>2]|0,m)|0;if(!f)break;k[K+8>>2]=m;k[K>>2]=f}else f=k[K>>2]|0;k[K+4>>2]=o+1;i[f+o>>0]=0}while(0);f=(k[K>>2]|0)+((k[K+4>>2]|0)+-1)|0;i[f>>0]=l[f>>0]|0|((B+-1|0)>>>p&1)<<(k[K+40>>2]&7);f=(k[K+40>>2]|0)+1|0;k[K+40>>2]=f;p=p+1|0}while((p|0)!=5);p=0;do{do if(!(f&7)){o=k[K+4>>2]|0;f=k[K+8>>2]|0;if(f>>>0<(o+1|0)>>>0){m=f<<1>>>0<(o+1|0)>>>0?o+1|0:((o+1|0)*3|0)>>>1;f=kqb(k[K>>2]|0,m)|0;if(!f)break;k[K+8>>2]=m;k[K>>2]=f}else f=k[K>>2]|0;k[K+4>>2]=o+1;i[f+o>>0]=0}while(0);f=(k[K>>2]|0)+((k[K+4>>2]|0)+-1)|0;i[f>>0]=l[f>>0]|0|(h>>>p&1)<<(k[K+40>>2]&7);f=(k[K+40>>2]|0)+1|0;k[K+40>>2]=f;p=p+1|0}while((p|0)!=4);if(h+4|0){s=0;do{p=k[x+(s<<2)>>2]|0;do if(!(f&7)){o=k[K+4>>2]|0;f=k[K+8>>2]|0;if(f>>>0<(o+1|0)>>>0){m=f<<1>>>0<(o+1|0)>>>0?o+1|0:((o+1|0)*3|0)>>>1;f=kqb(k[K>>2]|0,m)|0;if(!f)break;k[K+8>>2]=m;k[K>>2]=f}else f=k[K>>2]|0;k[K+4>>2]=o+1;i[f+o>>0]=0}while(0);B=(k[K>>2]|0)+((k[K+4>>2]|0)+-1)|0;i[B>>0]=l[B>>0]|0|(p&1)<<(k[K+40>>2]&7);B=(k[K+40>>2]|0)+1|0;k[K+40>>2]=B;do if(!(B&7)){o=k[K+4>>2]|0;f=k[K+8>>2]|0;if(f>>>0<(o+1|0)>>>0){m=f<<1>>>0<(o+1|0)>>>0?o+1|0:((o+1|0)*3|0)>>>1;f=kqb(k[K>>2]|0,m)|0;if(!f)break;k[K+8>>2]=m;k[K>>2]=f}else f=k[K>>2]|0;k[K+4>>2]=o+1;i[f+o>>0]=0}while(0);B=(k[K>>2]|0)+((k[K+4>>2]|0)+-1)|0;i[B>>0]=l[B>>0]|0|(p>>>1&1)<<(k[K+40>>2]&7);B=(k[K+40>>2]|0)+1|0;k[K+40>>2]=B;do if(!(B&7)){o=k[K+4>>2]|0;f=k[K+8>>2]|0;if(f>>>0<(o+1|0)>>>0){m=f<<1>>>0<(o+1|0)>>>0?o+1|0:((o+1|0)*3|0)>>>1;f=kqb(k[K>>2]|0,m)|0;if(!f)break;k[K+8>>2]=m;k[K>>2]=f}else f=k[K>>2]|0;k[K+4>>2]=o+1;i[f+o>>0]=0}while(0);f=(k[K>>2]|0)+((k[K+4>>2]|0)+-1)|0;i[f>>0]=l[f>>0]|0|(p>>>2&1)<<(k[K+40>>2]&7);f=(k[K+40>>2]|0)+1|0;k[K+40>>2]=f;s=s+1|0}while((s|0)!=(h+4|0))}c:do if(!t){v=k[K+44+4>>2]|0;w=k[G>>2]|0;h=0;while(1){u=y+(h<<2)|0;m=k[u>>2]|0;s=k[v+(m<<2)>>2]|0;t=k[w+(m<<2)>>2]|0;if(t){p=0;do{do if(!(f&7)){o=k[K+4>>2]|0;f=k[K+8>>2]|0;if(f>>>0<(o+1|0)>>>0){m=f<<1>>>0<(o+1|0)>>>0?o+1|0:((o+1|0)*3|0)>>>1;f=kqb(k[K>>2]|0,m)|0;if(!f)break;k[K+8>>2]=m;k[K>>2]=f}else f=k[K>>2]|0;k[K+4>>2]=o+1;i[f+o>>0]=0}while(0);f=(k[K>>2]|0)+((k[K+4>>2]|0)+-1)|0;i[f>>0]=l[f>>0]|0|(s>>>(t+-1-p|0)&1)<<(k[K+40>>2]&7);f=(k[K+40>>2]|0)+1|0;k[K+40>>2]=f;p=p+1|0}while((p|0)!=(t|0));m=k[u>>2]|0}switch(m|0){case 16:{h=h+1|0;p=k[y+(h<<2)>>2]|0;do if(!(f&7)){o=k[K+4>>2]|0;f=k[K+8>>2]|0;if(f>>>0<(o+1|0)>>>0){m=f<<1>>>0<(o+1|0)>>>0?o+1|0:((o+1|0)*3|0)>>>1;f=kqb(k[K>>2]|0,m)|0;if(!f)break;k[K+8>>2]=m;k[K>>2]=f}else f=k[K>>2]|0;k[K+4>>2]=o+1;i[f+o>>0]=0}while(0);B=(k[K>>2]|0)+((k[K+4>>2]|0)+-1)|0;i[B>>0]=l[B>>0]|0|(p&1)<<(k[K+40>>2]&7);B=(k[K+40>>2]|0)+1|0;k[K+40>>2]=B;do if(!(B&7)){o=k[K+4>>2]|0;f=k[K+8>>2]|0;if(f>>>0<(o+1|0)>>>0){m=f<<1>>>0<(o+1|0)>>>0?o+1|0:((o+1|0)*3|0)>>>1;f=kqb(k[K>>2]|0,m)|0;if(!f)break;k[K+8>>2]=m;k[K>>2]=f}else f=k[K>>2]|0;k[K+4>>2]=o+1;i[f+o>>0]=0}while(0);f=(k[K>>2]|0)+((k[K+4>>2]|0)+-1)|0;i[f>>0]=l[f>>0]|0|(p>>>1&1)<<(k[K+40>>2]&7);f=(k[K+40>>2]|0)+1|0;k[K+40>>2]=f;break}case 17:{h=h+1|0;p=k[y+(h<<2)>>2]|0;do if(!(f&7)){o=k[K+4>>2]|0;f=k[K+8>>2]|0;if(f>>>0<(o+1|0)>>>0){m=f<<1>>>0<(o+1|0)>>>0?o+1|0:((o+1|0)*3|0)>>>1;f=kqb(k[K>>2]|0,m)|0;if(!f)break;k[K+8>>2]=m;k[K>>2]=f}else f=k[K>>2]|0;k[K+4>>2]=o+1;i[f+o>>0]=0}while(0);B=(k[K>>2]|0)+((k[K+4>>2]|0)+-1)|0;i[B>>0]=l[B>>0]|0|(p&1)<<(k[K+40>>2]&7);B=(k[K+40>>2]|0)+1|0;k[K+40>>2]=B;do if(!(B&7)){o=k[K+4>>2]|0;f=k[K+8>>2]|0;if(f>>>0<(o+1|0)>>>0){m=f<<1>>>0<(o+1|0)>>>0?o+1|0:((o+1|0)*3|0)>>>1;f=kqb(k[K>>2]|0,m)|0;if(!f)break;k[K+8>>2]=m;k[K>>2]=f}else f=k[K>>2]|0;k[K+4>>2]=o+1;i[f+o>>0]=0}while(0);B=(k[K>>2]|0)+((k[K+4>>2]|0)+-1)|0;i[B>>0]=l[B>>0]|0|(p>>>1&1)<<(k[K+40>>2]&7);B=(k[K+40>>2]|0)+1|0;k[K+40>>2]=B;do if(!(B&7)){o=k[K+4>>2]|0;f=k[K+8>>2]|0;if(f>>>0<(o+1|0)>>>0){m=f<<1>>>0<(o+1|0)>>>0?o+1|0:((o+1|0)*3|0)>>>1;f=kqb(k[K>>2]|0,m)|0;if(!f)break;k[K+8>>2]=m;k[K>>2]=f}else f=k[K>>2]|0;k[K+4>>2]=o+1;i[f+o>>0]=0}while(0);f=(k[K>>2]|0)+((k[K+4>>2]|0)+-1)|0;i[f>>0]=l[f>>0]|0|(p>>>2&1)<<(k[K+40>>2]&7);f=(k[K+40>>2]|0)+1|0;k[K+40>>2]=f;break}case 18:{h=h+1|0;s=k[y+(h<<2)>>2]|0;p=0;do{do if(!(f&7)){o=k[K+4>>2]|0;f=k[K+8>>2]|0;if(f>>>0<(o+1|0)>>>0){m=f<<1>>>0<(o+1|0)>>>0?o+1|0:((o+1|0)*3|0)>>>1;f=kqb(k[K>>2]|0,m)|0;if(!f)break;k[K+8>>2]=m;k[K>>2]=f}else f=k[K>>2]|0;k[K+4>>2]=o+1;i[f+o>>0]=0}while(0);f=(k[K>>2]|0)+((k[K+4>>2]|0)+-1)|0;i[f>>0]=l[f>>0]|0|(s>>>p&1)<<(k[K+40>>2]&7);f=(k[K+40>>2]|0)+1|0;k[K+40>>2]=f;p=p+1|0}while((p|0)!=7);break}default:{}}h=h+1|0;if((h|0)==(q|0))break c}}while(0);kta(K+40|0,K,K+104|0,K+84|0,K+64|0);o=k[(k[F>>2]|0)+1024>>2]|0;if(!o){q=x;p=C;o=y;f=64;m=D;h=E;break}p=k[(k[K+84+4>>2]|0)+1024>>2]|0;f=k[K+40>>2]|0;q=0;do{do if(!(f&7)){m=k[K+4>>2]|0;f=k[K+8>>2]|0;if(f>>>0<(m+1|0)>>>0){h=f<<1>>>0<(m+1|0)>>>0?m+1|0:((m+1|0)*3|0)>>>1;f=kqb(k[K>>2]|0,h)|0;if(!f)break;k[K+8>>2]=h;k[K>>2]=f}else f=k[K>>2]|0;k[K+4>>2]=m+1;i[f+m>>0]=0}while(0);f=(k[K>>2]|0)+((k[K+4>>2]|0)+-1)|0;i[f>>0]=l[f>>0]|0|(p>>>(o+-1-q|0)&1)<<(k[K+40>>2]&7);f=(k[K+40>>2]|0)+1|0;k[K+40>>2]=f;q=q+1|0}while((q|0)!=(o|0));q=x;p=C;o=y;f=0;m=D;h=E}else{q=0;p=0;o=0;n=0;m=D;h=E}}else{q=0;p=0;o=0;n=0;m=D;h=E}}}else{q=0;p=0;o=0;n=0;m=D;h=E}}else{q=0;p=0;o=0;n=0;m=D;h=E}}}}}while(0);k[K+104+8>>2]=0;k[K+104+4>>2]=0;iqb(k[K+104>>2]|0);k[K+104>>2]=0;iqb(k[K+84>>2]|0);iqb(k[K+84+4>>2]|0);iqb(k[F>>2]|0);iqb(k[K+64>>2]|0);iqb(k[K+64+4>>2]|0);iqb(k[K+64+8>>2]|0);iqb(k[K+44>>2]|0);iqb(k[K+44+4>>2]|0);iqb(k[G>>2]|0);iqb(h);iqb(m);iqb(n);iqb(o);iqb(p);iqb(q);break}default:f=0}g=g+1|0;if(!((g|0)!=(H|0)&(f|0)==0))break;h=k[e>>2]|0}J=k[K+16+4>>2]|0;c=k[K+16+20>>2]|0;d=k[K+16+12>>2]|0;iqb(k[K+16>>2]|0);iqb(k[K+16+8>>2]|0);iqb(J);iqb(c);iqb(d);iqb(k[K+16+16>>2]|0);d=f;c=k[K>>2]|0;k[a>>2]=c;a=k[K+4>>2]|0;k[b>>2]=a;r=K;return d|0}function jta(a,b,c,d,e,f,g,h,n){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;n=n|0;var o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;J=f>>>0>8191?f:f>>>3;K=f>>>0>8191?258:64;if((f+-1|0)>>>0>32767){f=60;return f|0}if(f+-1&f|0){f=90;return f|0}I=h>>>0>258?258:h;if(d>>>0>=e>>>0){f=0;return f|0}q=0;G=0;H=0;r=0;a:while(1){E=d&f+-1;h=d+2|0;if(h>>>0>>0){h=l[c+(d+1)>>0]<<4^l[c+d>>0]^l[c+h>>0]<<8;F=9}else{o=e-d|0;if((d|0)==(e|0))F=10;else{p=0;h=0;do{h=l[c+(p+d)>>0]<<(p<<3)^h;p=p+1|0}while((p|0)!=(o|0));F=9}}if((F|0)==9){F=0;h=h&65535;if(!h)F=10;else r=0}do if((F|0)==10){F=0;if(r|0){h=d+r|0;if(h>>>0<=e>>>0)if(!(i[c+(h+-1)>>0]|0)){h=0;break}h=0;r=r+-1|0;break}p=c+d|0;h=(p+258|0)>>>0>(c+e|0)>>>0?c+e|0:p+258|0;b:do if((p|0)==(h|0))o=p;else{o=p;while(1){if(i[o>>0]|0)break b;o=o+1|0;if((o|0)==(h|0)){o=h;break}}}while(0);h=0;r=o-p|0}while(0);B=k[b+8>>2]|0;k[B+(E<<2)>>2]=h;D=(k[b>>2]|0)+(h<<2)|0;o=k[D>>2]|0;if((o|0)!=-1)j[(k[b+4>>2]|0)+(E<<1)>>1]=o;k[D>>2]=E;x=k[b+20>>2]|0;j[x+(E<<1)>>1]=r;C=k[b+12>>2]|0;o=C+((r&65535)<<2)|0;p=k[o>>2]|0;if((p|0)!=-1)j[(k[b+16>>2]|0)+(E<<1)>>1]=p;k[o>>2]=E;y=k[b+4>>2]|0;o=m[y+(E<<1)>>1]|0;z=d+258|0;z=z>>>0>e>>>0?e:z;c:do if(!J){u=0;s=0}else{A=c+d|0;if(r>>>0>2){v=1;u=0;s=0;w=0}else{v=(d|0)==(z|0);w=1;u=0;s=0;x=0;while(1){t=x;x=(E>>>0>=o>>>0?0:f)+(E-o)|0;if(x>>>0>>0)break c;if(!x)p=u;else{d:do if(v)p=A;else{t=c+(d-x)|0;p=A;while(1){if((i[t>>0]|0)!=(i[p>>0]|0))break d;p=p+1|0;if((p|0)==(c+z|0)){p=c+z|0;break}else t=t+1|0}}while(0);p=p-A|0;if(p>>>0>u>>>0)if(p>>>0>>0)s=x;else{u=p;s=x;break c}else p=u}u=o;o=m[y+(o<<1)>>1]|0;if((u|0)==(o|0)){u=p;break c}if((k[B+(o<<2)>>2]|0)!=(h|0)){u=p;break c}if(w>>>0>=J>>>0){u=p;break c}else{w=w+1|0;u=p}}}while(1){t=w;w=(E>>>0>=o>>>0?0:f)+(E-o)|0;if(w>>>0>>0)break c;if(!w){p=u;t=s}else{p=m[x+(o<<1)>>1]|0;p=p>>>0>r>>>0?r:p;e:do if((A+p|0)==(c+z|0))p=c+z|0;else{t=c+(d-w)+p|0;p=A+p|0;while(1){if((i[t>>0]|0)!=(i[p>>0]|0))break e;p=p+1|0;if((p|0)==(c+z|0)){p=c+z|0;break}else t=t+1|0}}while(0);p=p-A|0;if(p>>>0>u>>>0)if(p>>>0>>0)t=w;else{u=p;s=w;break c}else{p=u;t=s}}s=m[y+(o<<1)>>1]|0;if((o|0)==(s|0)){u=p;s=t;break c}if(p>>>0>r>>>0){o=m[(k[b+16>>2]|0)+(o<<1)>>1]|0;if((m[x+(o<<1)>>1]|0)!=(r|0)){u=p;s=t;break c}}else if((k[B+(s<<2)>>2]|0)==(h|0))o=s;else{u=p;s=t;break c}if(v>>>0>=J>>>0){u=p;s=t;break}else{v=v+1|0;u=p;s=t}}}while(0);do if(!n){x=q;F=61}else{h=(q|0)==0;if(h&u>>>0>2)if(u>>>0<=K>>>0&u>>>0<258){q=1;p=u;o=s;h=r;break}if(h){x=0;F=61}else{if(!d){h=81;F=129;break a}if(u>>>0<=(G+1|0)>>>0){k[D>>2]=-1;k[C+(r<<2)>>2]=-1;x=0;u=G;s=H;d=d+-1|0;F=61;break}p=l[c+(d+-1)>>0]|0;q=k[a+4>>2]|0;h=k[a+8>>2]|0;if(h>>>0>>0){o=h<<1>>>0>>0?q+1<<2:((q+1|0)*12|0)>>>1;h=kqb(k[a>>2]|0,o)|0;if(!h){h=83;F=129;break a}k[a+8>>2]=o;k[a>>2]=h}else h=k[a>>2]|0;k[a+4>>2]=q+1;k[h+(q<<2)>>2]=p;x=0;F=61}}while(0);do if((F|0)==61){F=0;if(s>>>0>f>>>0&u>>>0>2){h=86;F=129;break a}if(u>>>0<3){p=l[c+d>>0]|0;q=k[a+4>>2]|0;h=k[a+8>>2]|0;if(h>>>0>>0){o=h<<1>>>0>>0?q+1<<2:((q+1|0)*12|0)>>>1;h=kqb(k[a>>2]|0,o)|0;if(!h){h=83;F=129;break a}k[a+8>>2]=o;k[a>>2]=h}else h=k[a>>2]|0;k[a+4>>2]=q+1;k[h+(q<<2)>>2]=p;q=x;p=G;o=H;h=r;break}if(u>>>0>=g>>>0)if(!(s>>>0>4096&(u|0)==3)){p=1;h=28;f:while(1){while(1){if(p>>>0>h>>>0){q=28;h=258;break f}o=(h+p|0)>>>1;if((k[32096+(o<<2)>>2]|0)>>>0<=u>>>0)break;h=k[32096+(o+-1<<2)>>2]|0;if(h>>>0>u>>>0)h=o+-1|0;else{q=o+-1|0;break f}}p=o+1|0}v=u-h|0;p=1;h=29;g:while(1){while(1){if(p>>>0>h>>>0){t=29;h=24577;break g}o=(h+p|0)>>>1;if((k[32332+(o<<2)>>2]|0)>>>0<=s>>>0)break;h=k[32332+(o+-1<<2)>>2]|0;if(h>>>0>s>>>0)h=o+-1|0;else{t=o+-1|0;break g}}p=o+1|0}s=s-h|0;p=q+257|0;q=k[a+4>>2]|0;h=k[a+8>>2]|0;if(h>>>0>>0){o=h<<1>>>0>>0?q+1<<2:((q+1|0)*12|0)>>>1;h=kqb(k[a>>2]|0,o)|0;if(h|0){k[a+8>>2]=o;k[a>>2]=h;F=90}}else{h=k[a>>2]|0;F=90}if((F|0)==90){F=0;k[a+4>>2]=q+1;k[h+(q<<2)>>2]=p}p=k[a+4>>2]|0;h=k[a+8>>2]|0;if(h>>>0>>0){o=h<<1>>>0>>0?p+1<<2:((p+1|0)*12|0)>>>1;h=kqb(k[a>>2]|0,o)|0;if(h|0){k[a+8>>2]=o;k[a>>2]=h;F=95}}else{h=k[a>>2]|0;F=95}if((F|0)==95){F=0;k[a+4>>2]=p+1;k[h+(p<<2)>>2]=v}p=k[a+4>>2]|0;h=k[a+8>>2]|0;if(h>>>0>>0){o=h<<1>>>0>>0?p+1<<2:((p+1|0)*12|0)>>>1;h=kqb(k[a>>2]|0,o)|0;if(h|0){k[a+8>>2]=o;k[a>>2]=h;F=100}}else{h=k[a>>2]|0;F=100}if((F|0)==100){F=0;k[a+4>>2]=p+1;k[h+(p<<2)>>2]=t}p=k[a+4>>2]|0;h=k[a+8>>2]|0;do if(h>>>0>>0){o=h<<1>>>0>>0?p+1<<2:((p+1|0)*12|0)>>>1;h=kqb(k[a>>2]|0,o)|0;if(!h)break;k[a+8>>2]=o;k[a>>2]=h;F=105}else{h=k[a>>2]|0;F=105}while(0);if((F|0)==105){k[a+4>>2]=p+1;k[h+(p<<2)>>2]=s}if(u>>>0<=1){q=x;p=G;o=H;h=r;break}w=u+-1|0;v=1;h=r;t=d;do{r=t;t=t+1|0;s=t&f+-1;do if((r+3|0)>>>0>>0){o=l[c+(r+2)>>0]<<4^l[c+t>>0]^l[c+(r+3)>>0]<<8;F=113}else{if(t>>>0>=e>>>0){F=114;break}p=e-t|0;if((t|0)==(e|0)){F=114;break}else{q=0;o=0}do{o=l[c+(q+t)>>0]<<(q<<3)^o;q=q+1|0}while((q|0)!=(p|0));F=113}while(0);if((F|0)==113){F=0;o=o&65535;if(!o)F=114;else h=0}do if((F|0)==114){if(h|0){if((t+h|0)>>>0<=e>>>0)if(!(i[c+(r+h)>>0]|0)){o=0;break}o=0;h=h+-1|0;break}p=c+t|0;h=(p+258|0)>>>0>(c+e|0)>>>0?c+e|0:p+258|0;h:do if((p|0)==(h|0))h=p;else{o=p;do{if(i[o>>0]|0){h=o;break h}o=o+1|0}while((o|0)!=(h|0))}while(0);o=0;h=h-p|0}while(0);k[(k[b+8>>2]|0)+(s<<2)>>2]=o;o=(k[b>>2]|0)+(o<<2)|0;p=k[o>>2]|0;if((p|0)!=-1)j[(k[b+4>>2]|0)+(s<<1)>>1]=p;k[o>>2]=s;j[(k[b+20>>2]|0)+(s<<1)>>1]=h;o=(k[b+12>>2]|0)+((h&65535)<<2)|0;p=k[o>>2]|0;if((p|0)!=-1)j[(k[b+16>>2]|0)+(s<<1)>>1]=p;k[o>>2]=s;v=v+1|0}while((v|0)!=(u|0));q=x;p=G;o=H;d=w+d|0;break}p=l[c+d>>0]|0;q=k[a+4>>2]|0;h=k[a+8>>2]|0;if(h>>>0>>0){o=h<<1>>>0>>0?q+1<<2:((q+1|0)*12|0)>>>1;h=kqb(k[a>>2]|0,o)|0;if(!h){h=83;F=129;break a}k[a+8>>2]=o;k[a>>2]=h}else h=k[a>>2]|0;k[a+4>>2]=q+1;k[h+(q<<2)>>2]=p;q=x;p=G;o=H;h=r}while(0);d=d+1|0;if(d>>>0>=e>>>0){h=0;F=129;break}else{G=p;H=o;r=h}}if((F|0)==129)return h|0;return 0}function kta(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;if(!(k[c+4>>2]|0))return;f=0;do{p=k[(k[c>>2]|0)+(f<<2)>>2]|0;n=k[(k[d+4>>2]|0)+(p<<2)>>2]|0;m=k[(k[d+8>>2]|0)+(p<<2)>>2]|0;if(m|0){g=k[a>>2]|0;o=0;do{do if(!(g&7)){j=k[b+4>>2]|0;g=k[b+8>>2]|0;if(g>>>0<(j+1|0)>>>0){h=g<<1>>>0<(j+1|0)>>>0?j+1|0:((j+1|0)*3|0)>>>1;g=kqb(k[b>>2]|0,h)|0;if(!g)break;k[b+8>>2]=h;k[b>>2]=g}else g=k[b>>2]|0;k[b+4>>2]=j+1;i[g+j>>0]=0}while(0);g=(k[b>>2]|0)+((k[b+4>>2]|0)+-1)|0;i[g>>0]=l[g>>0]|0|(n>>>(m+-1-o|0)&1)<<(k[a>>2]&7);g=(k[a>>2]|0)+1|0;k[a>>2]=g;o=o+1|0}while((o|0)!=(m|0))}if(p>>>0>256){n=k[31980+(p+-257<<2)>>2]|0;r=k[c>>2]|0;o=k[r+(f+1<<2)>>2]|0;q=k[r+(f+2<<2)>>2]|0;s=k[32212+(q<<2)>>2]|0;f=f+3|0;r=k[r+(f<<2)>>2]|0;if((p+-265|0)>>>0<=19){g=k[a>>2]|0;m=0;do{do if(!(g&7)){j=k[b+4>>2]|0;g=k[b+8>>2]|0;if(g>>>0<(j+1|0)>>>0){h=g<<1>>>0<(j+1|0)>>>0?j+1|0:((j+1|0)*3|0)>>>1;g=kqb(k[b>>2]|0,h)|0;if(!g)break;k[b+8>>2]=h;k[b>>2]=g}else g=k[b>>2]|0;k[b+4>>2]=j+1;i[g+j>>0]=0}while(0);g=(k[b>>2]|0)+((k[b+4>>2]|0)+-1)|0;i[g>>0]=l[g>>0]|0|(o>>>m&1)<<(k[a>>2]&7);g=(k[a>>2]|0)+1|0;k[a>>2]=g;m=m+1|0}while((m|0)!=(n|0))}m=k[(k[e+4>>2]|0)+(q<<2)>>2]|0;n=k[(k[e+8>>2]|0)+(q<<2)>>2]|0;if(n|0){g=k[a>>2]|0;o=0;do{do if(!(g&7)){j=k[b+4>>2]|0;g=k[b+8>>2]|0;if(g>>>0<(j+1|0)>>>0){h=g<<1>>>0<(j+1|0)>>>0?j+1|0:((j+1|0)*3|0)>>>1;g=kqb(k[b>>2]|0,h)|0;if(!g)break;k[b+8>>2]=h;k[b>>2]=g}else g=k[b>>2]|0;k[b+4>>2]=j+1;i[g+j>>0]=0}while(0);g=(k[b>>2]|0)+((k[b+4>>2]|0)+-1)|0;i[g>>0]=l[g>>0]|0|(m>>>(n+-1-o|0)&1)<<(k[a>>2]&7);g=(k[a>>2]|0)+1|0;k[a>>2]=g;o=o+1|0}while((o|0)!=(n|0))}if(q>>>0>=4){g=k[a>>2]|0;m=0;do{do if(!(g&7)){j=k[b+4>>2]|0;g=k[b+8>>2]|0;if(g>>>0<(j+1|0)>>>0){h=g<<1>>>0<(j+1|0)>>>0?j+1|0:((j+1|0)*3|0)>>>1;g=kqb(k[b>>2]|0,h)|0;if(!g)break;k[b+8>>2]=h;k[b>>2]=g}else g=k[b>>2]|0;k[b+4>>2]=j+1;i[g+j>>0]=0}while(0);g=(k[b>>2]|0)+((k[b+4>>2]|0)+-1)|0;i[g>>0]=l[g>>0]|0|(r>>>m&1)<<(k[a>>2]&7);g=(k[a>>2]|0)+1|0;k[a>>2]=g;m=m+1|0}while((m|0)!=(s|0))}}f=f+1|0}while((f|0)!=(k[c+4>>2]|0));return}function lta(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0;if(d>>>0<2){j=53;return j|0}f=i[c>>0]|0;g=l[c+1>>0]|0;if((((f&255)<<8|g)>>>0)%31|0|0){j=24;return j|0}if(f<<24>>24<0|(f&15|0)!=8){j=25;return j|0}if(g&32|0){j=26;return j|0}f=k[e+8>>2]|0;if(!f)f=dta(a,b,c+2|0,d+-2|0,0)|0;else f=Ni[f&127](a,b,c+2|0,d+-2|0,e)|0;if(f|0){j=f;return j|0}if(!(k[e>>2]|0)){j=(l[c+(d+-4)+1>>0]|0)<<16|(l[c+(d+-4)>>0]|0)<<24|(l[c+(d+-4)+2>>0]|0)<<8|(l[c+(d+-4)+3>>0]|0);f=k[b>>2]|0;if(!f){g=1;f=0}else{d=k[a>>2]|0;g=1;c=0;do{h=f>>>0>5550?5550:f;a=f;f=f-h|0;if(h){e=d;b=h;while(1){d=e+1|0;g=(l[e>>0]|0)+g|0;c=g+c|0;b=b+-1|0;if(!b)break;else e=d}}g=(g>>>0)%65521|0;c=(c>>>0)%65521|0}while((a|0)!=(h|0));f=c<<16}if((g|f|0)!=(j|0)){j=58;return j|0}}j=0;return j|0}function mta(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0;t=r;r=r+16|0;k[t+4>>2]=0;k[t>>2]=0;f=k[a>>2]|0;h=k[b>>2]|0;k[t+8>>2]=f;if((h|0)==-1){g=-1;s=5}else{g=h<<1>>>0<(h+1|0)>>>0?h+1|0:((h+1|0)*3|0)>>>1;f=kqb(f,g)|0;if(!f){o=h;g=h}else{k[t+8>>2]=f;s=5}}if((s|0)==5){i[f+h>>0]=120;o=h+1|0}m=o+1|0;if(g>>>0>>0){j=g<<1>>>0>>0?m:(m*3|0)>>>1;f=k[t+8>>2]|0;h=kqb(f,j)|0;if(!h){n=f;h=f;j=o}else{k[t+8>>2]=h;f=h;g=j;s=10}}else{h=k[t+8>>2]|0;f=h;s=10}if((s|0)==10){i[h+o>>0]=1;n=f;j=m}f=k[e+28>>2]|0;if(!f)q=ita(t+4|0,t,c,d,e)|0;else q=Ni[f&127](t+4|0,t,c,d,e)|0;if(q|0){p=n;s=j;k[a>>2]=p;k[b>>2]=s;r=t;return q|0}if(!d){m=1;p=0}else{m=1;f=0;do{p=d>>>0>5550?5550:d;e=d;d=d-p|0;if(p){n=c;o=p;while(1){c=n+1|0;m=(l[n>>0]|0)+m|0;f=m+f|0;o=o+-1|0;if(!o)break;else n=c}}m=(m>>>0)%65521|0;f=(f>>>0)%65521|0}while((e|0)!=(p|0));p=f<<16}f=k[t+4>>2]|0;if(k[t>>2]|0){c=h;e=0;while(1){o=i[f+e>>0]|0;d=j+1|0;if(g>>>0>>0){c=g<<1>>>0>>0?d:(d*3|0)>>>1;f=kqb(h,c)|0;if(!f)n=h;else{k[t+8>>2]=f;n=f;h=f;g=c;s=24}}else{n=h;h=c;s=24}if((s|0)==24){s=0;i[h+j>>0]=o;j=d}e=e+1|0;f=k[t+4>>2]|0;if((e|0)==(k[t>>2]|0))break;else{c=h;h=n}}}iqb(f);f=j+4|0;if(g>>>0>>0){h=k[t+8>>2]|0;g=kqb(h,g<<1>>>0>>0?f:(f*3|0)>>>1)|0;if(!g){g=h;f=j}else k[t+8>>2]=g}else g=k[t+8>>2]|0;s=g+(f+-4)|0;i[s>>0]=p>>>24;i[s+1>>0]=p>>>16;i[s+2>>0]=m>>>8;i[s+3>>0]=m;p=k[t+8>>2]|0;s=f;k[a>>2]=p;k[b>>2]=s;r=t;return q|0}function nta(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;f=k[b>>2]|0;if((c+12+f|0)>>>0>>0?1:(c+12+f|0)>>>0<(c+12|0)>>>0){g=77;return g|0}g=kqb(k[a>>2]|0,c+12+f|0)|0;if(!g){g=83;return g|0}k[a>>2]=g;k[b>>2]=c+12+f;i[g+f>>0]=c>>>24;i[g+f+1>>0]=c>>>16;i[g+f+2>>0]=c>>>8;i[g+f+3>>0]=c;i[g+f+4>>0]=i[d>>0]|0;i[g+f+5>>0]=i[d+1>>0]|0;i[g+f+6>>0]=i[d+2>>0]|0;i[g+f+7>>0]=i[d+3>>0]|0;if(!c){b=c>>>24&255;d=c>>>16&255;e=c>>>8&255;a=c&255}else{a=0;do{i[g+f+(a+8)>>0]=i[e+a>>0]|0;a=a+1|0}while((a|0)!=(c|0));b=i[g+f>>0]|0;d=i[g+f+1>>0]|0;e=i[g+f+2>>0]|0;a=i[g+f+3>>0]|0}d=(d&255)<<16|(b&255)<<24|(e&255)<<8|a&255;if(!(d+4|0))a=0;else{a=-1;b=0;do{a=k[32452+(((l[g+f+4+b>>0]|0)^a&255)<<2)>>2]^a>>>8;b=b+1|0}while((b|0)!=(d+4|0));a=~a}i[g+f+8+d>>0]=a>>>24;i[g+f+8+d+1>>0]=a>>>16;i[g+f+8+d+2>>0]=a>>>8;i[g+f+8+d+3>>0]=a;g=0;return g|0}function ota(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=kqb(k[a+64>>2]|0,(k[a+60>>2]<<2)+4|0)|0;d=kqb(k[a+68>>2]|0,(k[a+60>>2]<<2)+4|0)|0;if(!((f|0)!=0&(d|0)!=0)){iqb(f);iqb(d);c=83;return c|0}e=k[a+60>>2]|0;k[a+60>>2]=e+1;k[a+64>>2]=f;k[a+68>>2]=d;k[f+(e<<2)>>2]=0;d=kqb(0,1)|0;if(d|0){i[d>>0]=0;k[f+(e<<2)>>2]=d}e=(k[a+64>>2]|0)+((k[a+60>>2]|0)+-1<<2)|0;f=Fnb(b)|0;d=kqb(k[e>>2]|0,f+1|0)|0;if(d|0){i[d+f>>0]=0;k[e>>2]=d;if(f|0){i[d>>0]=i[b>>0]|0;if((f|0)!=1){d=1;do{i[(k[e>>2]|0)+d>>0]=i[b+d>>0]|0;d=d+1|0}while((d|0)!=(f|0))}}}d=(k[a+68>>2]|0)+((k[a+60>>2]|0)+-1<<2)|0;k[d>>2]=0;e=kqb(0,1)|0;if(e|0){i[e>>0]=0;k[d>>2]=e}e=(k[a+68>>2]|0)+((k[a+60>>2]|0)+-1<<2)|0;f=Fnb(c)|0;d=kqb(k[e>>2]|0,f+1|0)|0;if(!d){c=0;return c|0}i[d+f>>0]=0;k[e>>2]=d;if(!f){c=0;return c|0}i[d>>0]=i[c>>0]|0;if((f|0)==1){c=0;return c|0}else d=1;do{i[(k[e>>2]|0)+d>>0]=i[c+d>>0]|0;d=d+1|0}while((d|0)!=(f|0));d=0;return d|0}function pta(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,l=0;l=kqb(k[a+76>>2]|0,(k[a+72>>2]<<2)+4|0)|0;f=kqb(k[a+80>>2]|0,(k[a+72>>2]<<2)+4|0)|0;g=kqb(k[a+84>>2]|0,(k[a+72>>2]<<2)+4|0)|0;h=kqb(k[a+88>>2]|0,(k[a+72>>2]<<2)+4|0)|0;if(!((l|0)!=0&(f|0)!=0&(g|0)!=0&(h|0)!=0)){iqb(l);iqb(f);iqb(g);iqb(h);e=83;return e|0}j=k[a+72>>2]|0;k[a+72>>2]=j+1;k[a+76>>2]=l;k[a+80>>2]=f;k[a+84>>2]=g;k[a+88>>2]=h;k[l+(j<<2)>>2]=0;f=kqb(0,1)|0;if(f|0){i[f>>0]=0;k[l+(j<<2)>>2]=f}g=(k[a+76>>2]|0)+((k[a+72>>2]|0)+-1<<2)|0;h=Fnb(b)|0;f=kqb(k[g>>2]|0,h+1|0)|0;if(f|0){i[f+h>>0]=0;k[g>>2]=f;if(h|0){i[f>>0]=i[b>>0]|0;if((h|0)!=1){f=1;do{i[(k[g>>2]|0)+f>>0]=i[b+f>>0]|0;f=f+1|0}while((f|0)!=(h|0))}}}f=(k[a+80>>2]|0)+((k[a+72>>2]|0)+-1<<2)|0;k[f>>2]=0;g=kqb(0,1)|0;if(g|0){i[g>>0]=0;k[f>>2]=g}g=(k[a+80>>2]|0)+((k[a+72>>2]|0)+-1<<2)|0;h=Fnb(c)|0;f=kqb(k[g>>2]|0,h+1|0)|0;if(f|0){i[f+h>>0]=0;k[g>>2]=f;if(h|0){i[f>>0]=i[c>>0]|0;if((h|0)!=1){f=1;do{i[(k[g>>2]|0)+f>>0]=i[c+f>>0]|0;f=f+1|0}while((f|0)!=(h|0))}}}f=(k[a+84>>2]|0)+((k[a+72>>2]|0)+-1<<2)|0;k[f>>2]=0;g=kqb(0,1)|0;if(g|0){i[g>>0]=0;k[f>>2]=g}g=(k[a+84>>2]|0)+((k[a+72>>2]|0)+-1<<2)|0;h=Fnb(d)|0;f=kqb(k[g>>2]|0,h+1|0)|0;if(f|0){i[f+h>>0]=0;k[g>>2]=f;if(h|0){i[f>>0]=i[d>>0]|0;if((h|0)!=1){f=1;do{i[(k[g>>2]|0)+f>>0]=i[d+f>>0]|0;f=f+1|0}while((f|0)!=(h|0))}}}f=(k[a+88>>2]|0)+((k[a+72>>2]|0)+-1<<2)|0;k[f>>2]=0;g=kqb(0,1)|0;if(g|0){i[g>>0]=0;k[f>>2]=g}g=(k[a+88>>2]|0)+((k[a+72>>2]|0)+-1<<2)|0;h=Fnb(e)|0;f=kqb(k[g>>2]|0,h+1|0)|0;if(!f){e=0;return e|0}i[f+h>>0]=0;k[g>>2]=f;if(!h){e=0;return e|0}i[f>>0]=i[e>>0]|0;if((h|0)==1){e=0;return e|0}else f=1;do{i[(k[g>>2]|0)+f>>0]=i[e+f>>0]|0;f=f+1|0}while((f|0)!=(h|0));f=0;return f|0}function qta(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;_sa(a);ABb(a|0,b|0,160)|0;k[a+28>>2]=0;k[a+28+4>>2]=0;k[a+28+8>>2]=0;k[a+28+12>>2]=0;k[a+12>>2]=6;k[a+16>>2]=8;k[a+20>>2]=0;k[a+20+4>>2]=0;k[a+12>>2]=k[b+12>>2];k[a+12+4>>2]=k[b+12+4>>2];k[a+12+8>>2]=k[b+12+8>>2];k[a+12+12>>2]=k[b+12+12>>2];k[a+12+16>>2]=k[b+12+16>>2];k[a+12+20>>2]=k[b+12+20>>2];k[a+12+24>>2]=k[b+12+24>>2];k[a+12+28>>2]=k[b+12+28>>2];do if(k[b+20>>2]|0){c=hqb(1024)|0;k[a+20>>2]=c;d=k[b+24>>2]|0;if(!c){if(!d)break;else c=83;return c|0}if(d&1073741823|0){e=k[b+20>>2]|0;i[c>>0]=i[e>>0]|0;i[c+1>>0]=i[e+1>>0]|0;c=2;do{i[(k[a+20>>2]|0)+c>>0]=i[(k[b+20>>2]|0)+c>>0]|0;c=c+1|0}while((c|0)!=(k[b+24>>2]<<2|0))}}while(0);k[a+64>>2]=0;k[a+68>>2]=0;k[a+60>>2]=0;a:do if(k[b+60>>2]|0){d=0;while(1){c=ota(a,k[(k[b+64>>2]|0)+(d<<2)>>2]|0,k[(k[b+68>>2]|0)+(d<<2)>>2]|0)|0;d=d+1|0;if(c|0)break;if((d|0)==(k[b+60>>2]|0))break a}return c|0}while(0);k[a+72>>2]=0;k[a+72+4>>2]=0;k[a+72+8>>2]=0;k[a+72+12>>2]=0;k[a+72+16>>2]=0;b:do if(k[b+72>>2]|0){d=0;while(1){c=pta(a,k[(k[b+76>>2]|0)+(d<<2)>>2]|0,k[(k[b+80>>2]|0)+(d<<2)>>2]|0,k[(k[b+84>>2]|0)+(d<<2)>>2]|0,k[(k[b+88>>2]|0)+(d<<2)>>2]|0)|0;d=d+1|0;if(c|0)break;if((d|0)==(k[b+72>>2]|0))break b}return c|0}while(0);k[a+136>>2]=0;k[a+136+4>>2]=0;k[a+136+8>>2]=0;k[a+136+12>>2]=0;k[a+136+16>>2]=0;k[a+136+20>>2]=0;iqb(k[a+140>>2]|0);iqb(k[a+144>>2]|0);e=k[b+148>>2]|0;k[a+148>>2]=e;c=k[b+148>>2]|0;d=hqb(c)|0;k[a+136>>2]=d;if(!((e|0)==0|(d|0)!=0)){b=83;return b|0}if(c|0){e=k[b+136>>2]|0;i[d>>0]=i[e>>0]|0;if(c>>>0>1){i[d+1>>0]=i[e+1>>0]|0;if((k[b+148>>2]|0)>>>0>2){c=2;do{i[(k[a+136>>2]|0)+c>>0]=i[(k[b+136>>2]|0)+c>>0]|0;c=c+1|0}while(c>>>0<(k[b+148>>2]|0)>>>0)}}}e=k[b+152>>2]|0;k[a+152>>2]=e;c=k[b+152>>2]|0;d=hqb(c)|0;k[a+140>>2]=d;if(!((e|0)==0|(d|0)!=0)){b=83;return b|0}if(c|0){e=k[b+140>>2]|0;i[d>>0]=i[e>>0]|0;if(c>>>0>1){i[d+1>>0]=i[e+1>>0]|0;if((k[b+152>>2]|0)>>>0>2){c=2;do{i[(k[a+140>>2]|0)+c>>0]=i[(k[b+140>>2]|0)+c>>0]|0;c=c+1|0}while(c>>>0<(k[b+152>>2]|0)>>>0)}}}e=k[b+156>>2]|0;k[a+156>>2]=e;c=k[b+156>>2]|0;d=hqb(c)|0;k[a+144>>2]=d;if(!((e|0)==0|(d|0)!=0)){b=83;return b|0}if(!c){b=0;return b|0}e=k[b+144>>2]|0;i[d>>0]=i[e>>0]|0;if(c>>>0<=1){b=0;return b|0}i[d+1>>0]=i[e+1>>0]|0;if((k[b+156>>2]|0)>>>0>2)c=2;else{b=0;return b|0}do{i[(k[a+144>>2]|0)+c>>0]=i[(k[b+144>>2]|0)+c>>0]|0;c=c+1|0}while(c>>>0<(k[b+156>>2]|0)>>>0);c=0;return c|0}function rta(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0;w=r;r=r+80|0;v=ha(f,e)|0;u=k[c>>2]|0;a:do if((u|0)==(k[d>>2]|0)){m=k[c+4>>2]|0;if((m|0)==(k[d+4>>2]|0)){f=k[c+16>>2]|0;if((f|0)==(k[d+16>>2]|0)){if(f|0){if((k[c+20>>2]|0)!=(k[d+20>>2]|0))break;if((k[c+24>>2]|0)!=(k[d+24>>2]|0))break;if((k[c+28>>2]|0)!=(k[d+28>>2]|0))break}f=k[c+12>>2]|0;if((f|0)==(k[d+12>>2]|0)){if(f&1073741823|0){e=k[c+8>>2]|0;g=k[d+8>>2]|0;h=0;do{if((i[e+h>>0]|0)!=(i[g+h>>0]|0))break a;h=h+1|0}while((h|0)!=(f<<2|0))}switch(u|0){case 3:case 0:{f=1;break}case 2:{f=3;break}case 4:{f=2;break}case 6:{f=4;break}default:f=0}f=((ha(ha(m,v)|0,f)|0)+7|0)>>>3;if(!f){r=w;return 0}else e=0;do{i[a+e>>0]=i[b+e>>0]|0;e=e+1|0}while((e|0)!=(f|0));r=w;return 0}}}}while(0);if((u|0)==3){s=1<>2];e=k[c+12>>2]|0;s=e>>>0>>0?e:s;e=w;g=e+64|0;do{k[e>>2]=0;e=e+4|0}while((e|0)<(g|0));k[w+64>>2]=-1;if(s|0){t=0;do{p=(k[c+8>>2]|0)+(t<<2)|0;m=l[p>>0]|0;n=l[p+1>>0]|0;o=l[p+2>>0]|0;p=l[p+3>>0]|0;f=w;q=0;do{h=f+((n>>>q<<2&4|p>>>q&1|m>>>q<<3&8|o>>>q<<1&2)<<2)|0;f=k[h>>2]|0;if(!f){f=hqb(68)|0;k[h>>2]=f;e=f;g=e+64|0;do{k[e>>2]=0;e=e+4|0}while((e|0)<(g|0));k[f+64>>2]=-1;f=k[h>>2]|0}q=q+1|0}while((q|0)!=8);k[f+64>>2]=t;t=t+1|0}while((t|0)!=(s|0))}}f=k[c+4>>2]|0;b:do if((f|0)==16?(k[d+4>>2]|0)==16:0){if(v|0){m=0;while(1){j[w+74>>1]=0;j[w+72>>1]=0;j[w+70>>1]=0;j[w+68>>1]=0;sta(w+74|0,w+72|0,w+70|0,w+68|0,b,m,d);f=j[w+74>>1]|0;e=j[w+72>>1]|0;g=j[w+70>>1]|0;h=j[w+68>>1]|0;switch(k[c>>2]|0){case 0:{u=m<<1;i[a+u>>0]=(f&65535)>>>8;i[a+(u|1)>>0]=f;break}case 2:{u=m*6|0;i[a+u>>0]=(f&65535)>>>8;i[a+(u|1)>>0]=f;i[a+(u+2)>>0]=(e&65535)>>>8;i[a+(u+3)>>0]=e;i[a+(u+4)>>0]=(g&65535)>>>8;i[a+(u+5)>>0]=g;break}case 4:{u=m<<2;i[a+u>>0]=(f&65535)>>>8;i[a+(u|1)>>0]=f;i[a+(u|2)>>0]=(h&65535)>>>8;i[a+(u|3)>>0]=h;break}case 6:{u=m<<3;i[a+u>>0]=(f&65535)>>>8;i[a+(u|1)>>0]=f;i[a+(u|2)>>0]=(e&65535)>>>8;i[a+(u|3)>>0]=e;i[a+(u|4)>>0]=(g&65535)>>>8;i[a+(u|5)>>0]=g;i[a+(u|6)>>0]=(h&65535)>>>8;i[a+(u|7)>>0]=h;break}default:{}}m=m+1|0;if((m|0)==(v|0))break b}}}else{c:do if((f|0)==8)switch(u|0){case 6:{tta(a,v,1,b,d);break b}case 2:{tta(a,v,0,b,d);break b}default:break c}while(0);i[w+74>>0]=0;i[w+72>>0]=0;i[w+70>>0]=0;i[w+68>>0]=0;d:do if(v|0){o=0;while(1){uta(w+74|0,w+72|0,w+70|0,w+68|0,b,o,d);n=i[w+74>>0]|0;e=i[w+72>>0]|0;g=i[w+70>>0]|0;h=i[w+68>>0]|0;e:do switch(k[c>>2]|0){case 0:{e=k[c+4>>2]|0;switch(e|0){case 8:{i[a+o>>0]=n;break e}case 16:{u=o<<1;i[a+(u|1)>>0]=n;i[a+u>>0]=n;break e}default:{f=(e|0)==1?7:(e|0)==2?3:1;u=f&o;f=((1<>>(8-e|0))<<(ha(f-u|0,e)|0);if(!u){u=a+((ha(e,o)|0)>>>3)|0;i[u>>0]=f;break e}else{u=a+((ha(e,o)|0)>>>3)|0;i[u>>0]=l[u>>0]|f;break e}}}}case 2:if((k[c+4>>2]|0)==8){u=o*3|0;i[a+u>>0]=n;i[a+(u+1)>>0]=e;i[a+(u+2)>>0]=g;break e}else{u=o*6|0;i[a+(u|1)>>0]=n;i[a+u>>0]=n;i[a+(u+3)>>0]=e;i[a+(u+2)>>0]=e;i[a+(u+5)>>0]=g;i[a+(u+4)>>0]=g;break e}case 3:{f=w;m=0;do{f=k[f+(((e&255)>>>m<<2&4|(h&255)>>>m&1|(n&255)>>>m<<3&8|(g&255)>>>m<<1&2)<<2)>>2]|0;if(!f)break e;m=m+1|0}while((m|0)<8);f=k[f+64>>2]|0;if((f|0)>=0){e=k[c+4>>2]|0;if((e|0)==8){i[a+o>>0]=f;break e}t=(e|0)==1?7:(e|0)==2?3:1;u=t&o;f=((1<>>3)|0;i[u>>0]=f;break e}else{u=a+((ha(e,o)|0)>>>3)|0;i[u>>0]=l[u>>0]|f;break e}}break}case 4:switch(k[c+4>>2]|0){case 8:{u=o<<1;i[a+u>>0]=n;i[a+(u|1)>>0]=h;break e}case 16:{u=o<<2;i[a+(u|1)>>0]=n;i[a+u>>0]=n;i[a+(u|3)>>0]=h;i[a+(u|2)>>0]=h;break e}default:break e}case 6:if((k[c+4>>2]|0)==8){u=o<<2;i[a+u>>0]=n;i[a+(u|1)>>0]=e;i[a+(u|2)>>0]=g;i[a+(u|3)>>0]=h;break e}else{u=o<<3;i[a+(u|1)>>0]=n;i[a+u>>0]=n;i[a+(u|3)>>0]=e;i[a+(u|2)>>0]=e;i[a+(u|5)>>0]=g;i[a+(u|4)>>0]=g;i[a+(u|7)>>0]=h;i[a+(u|6)>>0]=h;break e}default:{}}while(0);o=o+1|0;if((o|0)==(v|0))break d}}while(0)}while(0);if((k[c>>2]|0)!=3){r=w;return 0}vta(w);r=w;return 0}function sta(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;switch(k[g>>2]|0){case 0:{h=((l[e+(f<<1)>>0]|0)<<8|(l[e+(f<<1|1)>>0]|0))&65535;j[c>>1]=h;j[b>>1]=h;j[a>>1]=h;if(k[g+16>>2]|0)if(((l[e+(f<<1)>>0]|0)<<8|(l[e+(f<<1|1)>>0]|0)|0)==(k[g+20>>2]|0)){j[d>>1]=0;return}j[d>>1]=-1;return}case 2:{j[a>>1]=(l[e+(f*6|0)>>0]|0)<<8|(l[e+(f*6|1)>>0]|0);j[b>>1]=(l[e+((f*6|0)+2)>>0]|0)<<8|(l[e+((f*6|0)+3)>>0]|0);j[c>>1]=(l[e+((f*6|0)+4)>>0]|0)<<8|(l[e+((f*6|0)+5)>>0]|0);if(k[g+16>>2]|0)if(((l[e+(f*6|0)>>0]|0)<<8|(l[e+(f*6|1)>>0]|0)|0)==(k[g+20>>2]|0))if(((l[e+((f*6|0)+2)>>0]|0)<<8|(l[e+((f*6|0)+3)>>0]|0)|0)==(k[g+24>>2]|0))if(((l[e+((f*6|0)+4)>>0]|0)<<8|(l[e+((f*6|0)+5)>>0]|0)|0)==(k[g+28>>2]|0)){j[d>>1]=0;return}j[d>>1]=-1;return}case 4:{h=((l[e+(f<<2)>>0]|0)<<8|(l[e+(f<<2|1)>>0]|0))&65535;j[c>>1]=h;j[b>>1]=h;j[a>>1]=h;j[d>>1]=(l[e+(f<<2|2)>>0]|0)<<8|(l[e+(f<<2|3)>>0]|0);return}case 6:{j[a>>1]=(l[e+(f<<3)>>0]|0)<<8|(l[e+(f<<3|1)>>0]|0);j[b>>1]=(l[e+(f<<3|2)>>0]|0)<<8|(l[e+(f<<3|3)>>0]|0);j[c>>1]=(l[e+(f<<3|4)>>0]|0)<<8|(l[e+(f<<3|5)>>0]|0);j[d>>1]=(l[e+(f<<3|6)>>0]|0)<<8|(l[e+(f<<3|7)>>0]|0);return}default:return}}function tta(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,m=0,n=0,o=0;o=c|0?4:3;switch(k[e>>2]|0){case 0:{n=k[e+4>>2]|0;switch(n|0){case 8:{if(!b)return;if(c|0)f=0;else{c=0;while(1){e=i[d+c>>0]|0;i[a+2>>0]=e;i[a+1>>0]=e;i[a>>0]=e;c=c+1|0;if((c|0)==(b|0))break;else a=a+o|0}return}while(1){c=d+f|0;n=i[c>>0]|0;i[a+2>>0]=n;i[a+1>>0]=n;i[a>>0]=n;if(!(k[e+16>>2]|0))c=0;else c=(l[c>>0]|0|0)==(k[e+20>>2]|0);i[a+3>>0]=(c^1)<<31>>31;f=f+1|0;if((f|0)==(b|0))break;else a=a+o|0}return}case 16:{if(!b)return;if(c|0)f=0;else{c=0;while(1){e=i[d+(c<<1)>>0]|0;i[a+2>>0]=e;i[a+1>>0]=e;i[a>>0]=e;c=c+1|0;if((c|0)==(b|0))break;else a=a+o|0}return}while(1){c=f<<1;n=i[d+c>>0]|0;i[a+2>>0]=n;i[a+1>>0]=n;i[a>>0]=n;if(!(k[e+16>>2]|0))c=0;else c=((l[d+c>>0]|0)<<8|(l[d+(c|1)>>0]|0)|0)==(k[e+20>>2]|0);i[a+3>>0]=(c^1)<<31>>31;f=f+1|0;if((f|0)==(b|0))break;else a=a+o|0}return}default:{if(!b)return;if(c|0){j=n;m=0;c=0}else{m=n;c=0;f=0;while(1){if(!m)g=0;else{j=m+-1|0;g=0;while(1){h=f+1|0;g=(((l[d+(f>>>3)>>0]|0)>>>(f&7^7)&1)<>>0>=m>>>0){f=h;break}else f=h}}m=(((g*255|0)>>>0)/(((1<>>0)|0)&255;i[a+2>>0]=m;i[a+1>>0]=m;i[a>>0]=m;c=c+1|0;if((c|0)==(b|0))break;a=a+o|0;m=k[e+4>>2]|0}return}while(1){if(!j){g=c;c=0}else{h=j+-1|0;f=0;while(1){g=c+1|0;f=(((l[d+(c>>>3)>>0]|0)>>>(c&7^7)&1)<>>0>=j>>>0){c=f;break}else c=g}}j=(((c*255|0)>>>0)/(((1<>>0)|0)&255;i[a+2>>0]=j;i[a+1>>0]=j;i[a>>0]=j;if(!(k[e+16>>2]|0))c=0;else c=(c|0)==(k[e+20>>2]|0);i[a+3>>0]=(c^1)<<31>>31;c=m+1|0;if((c|0)==(b|0))break;a=a+o|0;j=k[e+4>>2]|0;m=c;c=g}return}}}case 2:if((k[e+4>>2]|0)==8){if(!b)return;if(c|0)h=0;else{c=0;while(1){e=c*3|0;i[a>>0]=i[d+e>>0]|0;i[a+1>>0]=i[d+(e+1)>>0]|0;i[a+2>>0]=i[d+(e+2)>>0]|0;c=c+1|0;if((c|0)==(b|0))break;else a=a+o|0}return}while(1){g=h*3|0;c=i[d+g>>0]|0;i[a>>0]=c;f=i[d+(g+1)>>0]|0;i[a+1>>0]=f;g=i[d+(g+2)>>0]|0;i[a+2>>0]=g;if(!(k[e+16>>2]|0))c=0;else if((c&255|0)==(k[e+20>>2]|0))if((f&255|0)==(k[e+24>>2]|0))c=(g&255|0)==(k[e+28>>2]|0);else c=0;else c=0;i[a+3>>0]=(c^1)<<31>>31;h=h+1|0;if((h|0)==(b|0))break;else a=a+o|0}return}else{if(!b)return;if(c|0)f=0;else{c=0;while(1){e=c*6|0;i[a>>0]=i[d+e>>0]|0;i[a+1>>0]=i[d+(e+2)>>0]|0;i[a+2>>0]=i[d+(e+4)>>0]|0;c=c+1|0;if((c|0)==(b|0))break;else a=a+o|0}return}while(1){c=f*6|0;i[a>>0]=i[d+c>>0]|0;i[a+1>>0]=i[d+(c+2)>>0]|0;i[a+2>>0]=i[d+(c+4)>>0]|0;if(!(k[e+16>>2]|0))c=0;else if(((l[d+c>>0]|0)<<8|(l[d+(c|1)>>0]|0)|0)==(k[e+20>>2]|0))if(((l[d+(c+2)>>0]|0)<<8|(l[d+(c+3)>>0]|0)|0)==(k[e+24>>2]|0))c=((l[d+(c+4)>>0]|0)<<8|(l[d+(c+5)>>0]|0)|0)==(k[e+28>>2]|0);else c=0;else c=0;i[a+3>>0]=(c^1)<<31>>31;f=f+1|0;if((f|0)==(b|0))break;else a=a+o|0}return}case 3:{if(!b)return;if(c|0){m=0;c=0;while(1){j=k[e+4>>2]|0;switch(j|0){case 8:{g=l[d+m>>0]|0;f=c;break}case 0:{g=0;f=c;break}default:{h=j+-1|0;g=0;while(1){f=c+1|0;g=(((l[d+(c>>>3)>>0]|0)>>>(c&7^7)&1)<>>0>=j>>>0)break;else c=f}}}if(g>>>0<(k[e+12>>2]|0)>>>0){c=g<<2;i[a>>0]=i[(k[e+8>>2]|0)+c>>0]|0;i[a+1>>0]=i[(k[e+8>>2]|0)+(c|1)>>0]|0;i[a+2>>0]=i[(k[e+8>>2]|0)+(c|2)>>0]|0;c=i[(k[e+8>>2]|0)+(c|3)>>0]|0}else{i[a+2>>0]=0;i[a+1>>0]=0;i[a>>0]=0;c=-1}i[a+3>>0]=c;m=m+1|0;if((m|0)==(b|0))break;else{a=a+o|0;c=f}}return}else{m=0;c=0;while(1){j=k[e+4>>2]|0;switch(j|0){case 8:{g=l[d+m>>0]|0;f=c;break}case 0:{g=0;f=c;break}default:{h=j+-1|0;g=0;while(1){f=c+1|0;g=(((l[d+(c>>>3)>>0]|0)>>>(c&7^7)&1)<>>0>=j>>>0)break;else c=f}}}if(g>>>0<(k[e+12>>2]|0)>>>0){c=g<<2;i[a>>0]=i[(k[e+8>>2]|0)+c>>0]|0;i[a+1>>0]=i[(k[e+8>>2]|0)+(c|1)>>0]|0;c=i[(k[e+8>>2]|0)+(c|2)>>0]|0}else{i[a+1>>0]=0;i[a>>0]=0;c=0}i[a+2>>0]=c;m=m+1|0;if((m|0)==(b|0))break;else{a=a+o|0;c=f}}return}}case 4:if((k[e+4>>2]|0)==8){if(!b)return;if(c|0){c=0;while(1){e=c<<1;n=i[d+e>>0]|0;i[a+2>>0]=n;i[a+1>>0]=n;i[a>>0]=n;i[a+3>>0]=i[d+(e|1)>>0]|0;c=c+1|0;if((c|0)==(b|0))break;else a=a+o|0}return}else{c=0;while(1){e=i[d+(c<<1)>>0]|0;i[a+2>>0]=e;i[a+1>>0]=e;i[a>>0]=e;c=c+1|0;if((c|0)==(b|0))break;else a=a+o|0}return}}else{if(!b)return;if(c|0){c=0;while(1){e=c<<2;n=i[d+e>>0]|0;i[a+2>>0]=n;i[a+1>>0]=n;i[a>>0]=n;i[a+3>>0]=i[d+(e|2)>>0]|0;c=c+1|0;if((c|0)==(b|0))break;else a=a+o|0}return}else{c=0;while(1){e=i[d+(c<<2)>>0]|0;i[a+2>>0]=e;i[a+1>>0]=e;i[a>>0]=e;c=c+1|0;if((c|0)==(b|0))break;else a=a+o|0}return}}case 6:if((k[e+4>>2]|0)==8){if(!b)return;if(c|0){c=0;while(1){e=c<<2;i[a>>0]=i[d+e>>0]|0;i[a+1>>0]=i[d+(e|1)>>0]|0;i[a+2>>0]=i[d+(e|2)>>0]|0;i[a+3>>0]=i[d+(e|3)>>0]|0;c=c+1|0;if((c|0)==(b|0))break;else a=a+o|0}return}else{c=0;while(1){e=c<<2;i[a>>0]=i[d+e>>0]|0;i[a+1>>0]=i[d+(e|1)>>0]|0;i[a+2>>0]=i[d+(e|2)>>0]|0;c=c+1|0;if((c|0)==(b|0))break;else a=a+o|0}return}}else{if(!b)return;if(c|0){c=0;while(1){e=c<<3;i[a>>0]=i[d+e>>0]|0;i[a+1>>0]=i[d+(e|2)>>0]|0;i[a+2>>0]=i[d+(e|4)>>0]|0;i[a+3>>0]=i[d+(e|6)>>0]|0;c=c+1|0;if((c|0)==(b|0))break;else a=a+o|0}return}else{c=0;while(1){e=c<<3;i[a>>0]=i[d+e>>0]|0;i[a+1>>0]=i[d+(e|2)>>0]|0;i[a+2>>0]=i[d+(e|4)>>0]|0;c=c+1|0;if((c|0)==(b|0))break;else a=a+o|0}return}}default:return}}function uta(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,m=0,n=0;switch(k[g>>2]|0){case 0:{m=k[g+4>>2]|0;switch(m|0){case 8:{f=i[e+f>>0]|0;i[c>>0]=f;i[b>>0]=f;i[a>>0]=f;if(k[g+16>>2]|0)if((f&255|0)==(k[g+20>>2]|0)){i[d>>0]=0;return}i[d>>0]=-1;return}case 16:{n=i[e+(f<<1)>>0]|0;i[c>>0]=n;i[b>>0]=n;i[a>>0]=n;if(k[g+16>>2]|0)if(((l[e+(f<<1)>>0]|0)<<8|(l[e+(f<<1|1)>>0]|0)|0)==(k[g+20>>2]|0)){i[d>>0]=0;return}i[d>>0]=-1;return}default:{if(!m)f=0;else{h=ha(m,f)|0;j=m+-1|0;f=0;while(1){f=(((l[e+(h>>>3)>>0]|0)>>>(h&7^7)&1)<>>0>=m>>>0)break;else h=h+1|0}}e=(((f*255|0)>>>0)/(((1<>>0)|0)&255;i[c>>0]=e;i[b>>0]=e;i[a>>0]=e;if(!(k[g+16>>2]|0))n=16;else if((f|0)==(k[g+20>>2]|0))f=0;else n=16;if((n|0)==16)f=-1;i[d>>0]=f;return}}}case 2:if((k[g+4>>2]|0)==8){i[a>>0]=i[e+(f*3|0)>>0]|0;i[b>>0]=i[e+((f*3|0)+1)>>0]|0;f=i[e+((f*3|0)+2)>>0]|0;i[c>>0]=f;if(k[g+16>>2]|0)if((l[a>>0]|0|0)==(k[g+20>>2]|0))if((l[b>>0]|0|0)==(k[g+24>>2]|0))if((f&255|0)==(k[g+28>>2]|0)){i[d>>0]=0;return}i[d>>0]=-1;return}else{i[a>>0]=i[e+(f*6|0)>>0]|0;i[b>>0]=i[e+((f*6|0)+2)>>0]|0;i[c>>0]=i[e+((f*6|0)+4)>>0]|0;if(k[g+16>>2]|0)if(((l[e+(f*6|0)>>0]|0)<<8|(l[e+(f*6|1)>>0]|0)|0)==(k[g+20>>2]|0))if(((l[e+((f*6|0)+2)>>0]|0)<<8|(l[e+((f*6|0)+3)>>0]|0)|0)==(k[g+24>>2]|0))if(((l[e+((f*6|0)+4)>>0]|0)<<8|(l[e+((f*6|0)+5)>>0]|0)|0)==(k[g+28>>2]|0)){i[d>>0]=0;return}i[d>>0]=-1;return}case 3:{m=k[g+4>>2]|0;switch(m|0){case 8:{f=l[e+f>>0]|0;break}case 0:{f=0;break}default:{h=ha(m,f)|0;j=m+-1|0;f=0;while(1){f=(((l[e+(h>>>3)>>0]|0)>>>(h&7^7)&1)<>>0>=m>>>0)break;else h=h+1|0}}}if(f>>>0<(k[g+12>>2]|0)>>>0){f=f<<2;i[a>>0]=i[(k[g+8>>2]|0)+f>>0]|0;i[b>>0]=i[(k[g+8>>2]|0)+(f|1)>>0]|0;i[c>>0]=i[(k[g+8>>2]|0)+(f|2)>>0]|0;f=i[(k[g+8>>2]|0)+(f|3)>>0]|0}else{i[c>>0]=0;i[b>>0]=0;i[a>>0]=0;f=-1}i[d>>0]=f;return}case 4:if((k[g+4>>2]|0)==8){g=i[e+(f<<1)>>0]|0;i[c>>0]=g;i[b>>0]=g;i[a>>0]=g;i[d>>0]=i[e+(f<<1|1)>>0]|0;return}else{g=i[e+(f<<2)>>0]|0;i[c>>0]=g;i[b>>0]=g;i[a>>0]=g;i[d>>0]=i[e+(f<<2|2)>>0]|0;return}case 6:if((k[g+4>>2]|0)==8){i[a>>0]=i[e+(f<<2)>>0]|0;i[b>>0]=i[e+(f<<2|1)>>0]|0;i[c>>0]=i[e+(f<<2|2)>>0]|0;i[d>>0]=i[e+(f<<2|3)>>0]|0;return}else{i[a>>0]=i[e+(f<<3)>>0]|0;i[b>>0]=i[e+(f<<3|2)>>0]|0;i[c>>0]=i[e+(f<<3|4)>>0]|0;i[d>>0]=i[e+(f<<3|6)>>0]|0;return}default:return}}function vta(a){a=a|0;var b=0,c=0,d=0;d=0;do{b=a+(d<<2)|0;c=k[b>>2]|0;if(c|0){vta(c);iqb(k[b>>2]|0)}d=d+1|0}while((d|0)!=16);return}function wta(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;C=r;r=r+80|0;A=ha(d,c)|0;g=k[e>>2]|0;a:do if(!(k[e+16>>2]|g&4)){d=k[e+12>>2]|0;if(!d)d=1;else{c=k[e+8>>2]|0;f=0;while(1){if((i[c+(f<<2|3)>>0]|0)!=-1){d=0;break a}f=f+1|0;if((f|0)==(d|0)){d=1;break}}}}else d=0;while(0);f=k[e+4>>2]|0;switch(g|0){case 3:case 0:{c=1;break}case 2:{c=3;break}case 4:{c=2;break}case 6:{c=4;break}default:c=0}y=ha(c,f)|0;if(y>>>0>8|(y|0)==1)z=y>>>0>8?257:2;else if((y|0)==2)z=4;else z=(y|0)==4?16:256;n=C;o=n+64|0;do{k[n>>2]=0;n=n+4|0}while((n|0)<(o|0));k[C+64>>2]=-1;if((f|0)==16)b:do if(A|0){c=0;while(1){sta(C+74|0,C+72|0,C+70|0,C+68|0,b,c,e);x=m[C+74>>1]|0;if((x&255|0)!=(x>>>8|0))break;x=m[C+72>>1]|0;if((x&255|0)!=(x>>>8|0))break;x=m[C+70>>1]|0;if((x&255|0)!=(x>>>8|0))break;x=m[C+68>>1]|0;c=c+1|0;if((x&255|0)!=(x>>>8|0))break;if((c|0)==(A|0))break b}j[C+74>>1]=0;j[C+72>>1]=0;j[C+70>>1]=0;j[C+68>>1]=0;k[a+1048>>2]=16;c=(g|4|0)==4&1;h=0;do{sta(C+74|0,C+72|0,C+70|0,C+68|0,b,h,e);if(!c){z=j[C+74>>1]|0;if(z<<16>>16==(j[C+72>>1]|0)?z<<16>>16==(j[C+70>>1]|0):0)c=0;else{k[a>>2]=1;c=1}}c:do if(!d){g=j[C+74>>1]|0;d=k[a+8>>2]|0;if(g<<16>>16==(d&65535)<<16>>16)if((j[C+72>>1]|0)==(d>>>16&65535)<<16>>16)f=(j[C+70>>1]|0)==(j[a+12>>1]|0);else f=0;else f=0;switch(j[C+68>>1]|0){case -1:{if(!(f&(k[a+4>>2]|0)!=0)){d=0;break c}k[a+16>>2]=1;d=1;B=37;break c}case 0:{B=30;break}default:{}}if((B|0)==30){B=0;d=(k[a+4>>2]|0)==0;if(f|d){if((k[a+16>>2]|0)!=0|d^1){d=0;break}k[a+4>>2]=1;j[a+8>>1]=g;j[a+10>>1]=j[C+72>>1]|0;j[a+12>>1]=j[C+70>>1]|0;d=0;break}}k[a+16>>2]=1;if((k[a+1048>>2]|0)>>>0<8){k[a+1048>>2]=8;d=1;B=37}else{d=1;B=37}}else B=37;while(0);if((B|0)==37){B=0;if((c|0)!=0&(d|0)!=0)break}h=h+1|0}while((h|0)!=(A|0));vta(C);r=C;return 0}while(0);if(!A){c=a+10|0;f=a+12|0;d=a+8|0}else{w=(y|0)==1&1;g=(g|4|0)==4&1;x=0;h=0;while(1){i[C+74>>0]=0;i[C+72>>0]=0;i[C+70>>0]=0;i[C+68>>0]=0;uta(C+74|0,C+72|0,C+70|0,C+68|0,b,x,e);f=k[a+1048>>2]|0;if((w|0)==0&f>>>0<8){c=i[C+74>>0]|0;switch(c<<24>>24){case -1:case 0:{c=1;break}default:if(!(((c&255)%17|0)<<24>>24))c=((c&255)%85|0)<<24>>24==0?2:4;else c=8}if(c>>>0>f>>>0)k[a+1048>>2]=c;else c=f}else c=f;v=c>>>0>=y>>>0;w=v&1;if(!g){u=i[C+74>>0]|0;if(u<<24>>24==(i[C+72>>0]|0)?u<<24>>24==(i[C+70>>0]|0):0)u=0;else{k[a>>2]=1;if(c>>>0<8){k[a+1048>>2]=8;c=8;u=1}else u=1}}else u=g;d:do if(!d){g=i[C+74>>0]|0;d=k[a+8>>2]|0;if((g&255|0)==(d&65535|0))if((l[C+72>>0]|0)==(d>>>16|0))f=(l[C+70>>0]|0)==(m[a+12>>1]|0);else f=0;else f=0;switch(i[C+68>>0]|0){case -1:{if(!(f&(k[a+4>>2]|0)!=0)){d=0;break d}k[a+16>>2]=1;if(c>>>0>=8){d=1;break d}k[a+1048>>2]=8;d=1;break d}case 0:{d=(k[a+4>>2]|0)==0;if(f|d){if((k[a+16>>2]|0)!=0|d^1){d=0;break d}k[a+4>>2]=1;j[a+8>>1]=g&255;j[a+10>>1]=l[C+72>>0]|0;j[a+12>>1]=l[C+70>>0]|0;d=0;break d}break}default:{}}k[a+16>>2]=1;if(c>>>0<8){k[a+1048>>2]=8;d=1}else d=1}while(0);do if(!h){p=i[C+74>>0]|0;q=i[C+72>>0]|0;s=i[C+70>>0]|0;t=i[C+68>>0]|0;c=C;f=0;while(1){c=k[c+(((q&255)>>>f<<2&4|(t&255)>>>f&1|(p&255)>>>f<<3&8|(s&255)>>>f<<1&2)<<2)>>2]|0;if(!c)break;f=f+1|0;if((f|0)>=8){B=71;break}}if((B|0)==71){B=0;if((k[c+64>>2]|0)>=0){c=0;break}}c=k[a+20>>2]|0;f=C;h=0;do{g=f+(((q&255)>>>h<<2&4|(t&255)>>>h&1|(p&255)>>>h<<3&8|(s&255)>>>h<<1&2)<<2)|0;f=k[g>>2]|0;if(!f){f=hqb(68)|0;k[g>>2]=f;n=f;o=n+64|0;do{k[n>>2]=0;n=n+4|0}while((n|0)<(o|0));k[f+64>>2]=-1;f=k[g>>2]|0}h=h+1|0}while((h|0)!=8);k[f+64>>2]=c;if(c>>>0<256){i[a+24+(c<<2)>>0]=p;i[(c<<2|1)+(a+24)>>0]=q;i[(c<<2|2)+(a+24)>>0]=s;i[(c<<2|3)+(a+24)>>0]=t;c=k[a+20>>2]|0}c=c+1|0;k[a+20>>2]=c;c=c>>>0>=z>>>0&1}else c=h;while(0);x=x+1|0;if(v&((u|0)!=0&((d|0)!=0&(c|0)!=0))|(x|0)==(A|0)){c=a+10|0;f=a+12|0;d=a+8|0;break}else{g=u;h=c}}}a=k[d>>2]|0;j[d>>1]=(a&65535)*257;j[c>>1]=(a>>>16)*257;j[f>>1]=(m[f>>1]|0)*257;vta(C);r=C;return 0}function xta(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,l=0,n=0,o=0,p=0,q=0,s=0;s=r;r=r+1056|0;k[s+16>>2]=0;k[s+20>>2]=0;k[s>>2]=0;k[s+4>>2]=0;k[s+8>>2]=0;j[s+12>>1]=0;k[s+1048>>2]=1;wta(s,b,c,d,e)|0;k[a+16>>2]=0;o=(k[s+4>>2]|0)!=0;n=ha(d,c)|0;if(n>>>0<17&o){k[s+16>>2]=1;if((k[s+1048>>2]|0)>>>0<8){k[s+1048>>2]=8;l=1}else l=1}else l=k[s+16>>2]|0;g=k[s>>2]|0;h=l|g;b=k[s+20>>2]|0;if(b>>>0<3){d=1;p=9}else if(b>>>0<5){d=2;p=9}else{d=b>>>0<17?4:8;if(b>>>0<257)p=9;else{f=b<<1;q=d;c=1}}if((p|0)==9)if(b<<1>>>0>>0){f=b<<1;q=d;c=(k[s+1048>>2]|0)>>>0>8}else{f=b<<1;q=d;c=1}d=k[s+1048>>2]|0;if(n>>>0>>0|c|(h|0)==0&d>>>0<=q>>>0){k[a+4>>2]=d;k[a>>2]=l|0?(g|0?6:4):g|0?2:0;if(!(o&(l|0)==0)){a=0;r=s;return a|0}e=k[s+8>>2]|0;k[a+20>>2]=e&65535&(1<>2]=e>>>16&(1<>2]=(m[s+12>>1]|0)&(1<>2]=1;a=0;r=s;return a|0}d=k[a+8>>2]|0;if(d){iqb(d);b=k[s+20>>2]|0}k[a+8>>2]=0;k[a+12>>2]=0;a:do if(!b)b=0;else{b=0;c=0;d=0;while(1){l=d<<2;f=i[s+24+l>>0]|0;g=i[(l|1)+(s+24)>>0]|0;h=i[(l|2)+(s+24)>>0]|0;l=i[(l|3)+(s+24)>>0]|0;if(!c){c=kqb(0,1024)|0;if(!c){b=83;break a}k[a+8>>2]=c;b=k[a+12>>2]|0}i[c+(b<<2)>>0]=f;i[(k[a+8>>2]|0)+(k[a+12>>2]<<2|1)>>0]=g;i[(k[a+8>>2]|0)+(k[a+12>>2]<<2|2)>>0]=h;i[(k[a+8>>2]|0)+(k[a+12>>2]<<2|3)>>0]=l;b=(k[a+12>>2]|0)+1|0;k[a+12>>2]=b;d=d+1|0;if((d|0)==(k[s+20>>2]|0)){b=0;break a}c=k[a+8>>2]|0}}while(0);k[a>>2]=3;k[a+4>>2]=q;if((k[e>>2]|0)!=3){a=b;r=s;return a|0}if((k[e+12>>2]|0)>>>0<(k[a+12>>2]|0)>>>0){a=b;r=s;return a|0}if((k[e+4>>2]|0)!=(q|0)){a=b;r=s;return a|0}d=k[a+8>>2]|0;if(d|0)iqb(d);k[a+8>>2]=0;k[a+8+4>>2]=0;k[a>>2]=k[e>>2];k[a+4>>2]=k[e+4>>2];k[a+8>>2]=k[e+8>>2];k[a+12>>2]=k[e+12>>2];k[a+16>>2]=k[e+16>>2];k[a+20>>2]=k[e+20>>2];k[a+24>>2]=k[e+24>>2];k[a+28>>2]=k[e+28>>2];if(!(k[e+8>>2]|0)){a=b;r=s;return a|0}d=hqb(1024)|0;k[a+8>>2]=d;if(!d){a=b;r=s;return a|0}if(!(k[e+12>>2]&1073741823)){a=b;r=s;return a|0}q=k[e+8>>2]|0;i[d>>0]=i[q>>0]|0;i[d+1>>0]=i[q+1>>0]|0;d=2;do{i[(k[a+8>>2]|0)+d>>0]=i[(k[e+8>>2]|0)+d>>0]|0;d=d+1|0}while((d|0)!=(k[e+12>>2]<<2|0));r=s;return b|0}function yta(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0;if((d|0)==0|(e|0)==0){k[c+292>>2]=48;q=48;return q|0}if(e>>>0<33){k[c+292>>2]=27;q=27;return q|0}_sa(c+132|0);k[c+160>>2]=0;k[c+160+4>>2]=0;k[c+160+8>>2]=0;k[c+160+12>>2]=0;k[c+144>>2]=6;k[c+148>>2]=8;k[c+152>>2]=0;k[c+156>>2]=0;k[c+140>>2]=0;k[c+132>>2]=0;k[c+136>>2]=0;k[c+252>>2]=0;k[c+268>>2]=0;k[c+268+4>>2]=0;k[c+268+8>>2]=0;k[c+268+12>>2]=0;k[c+268+16>>2]=0;k[c+268+20>>2]=0;e=c+176|0;f=e+52|0;do{k[e>>2]=0;e=e+4|0}while((e|0)<(f|0));if((i[d>>0]|0)==-119)if((i[d+1>>0]|0)==80)if((i[d+2>>0]|0)==78)if((i[d+3>>0]|0)==71)if((i[d+4>>0]|0)==13)if((i[d+5>>0]|0)==10)if((i[d+6>>0]|0)==26)if((i[d+7>>0]|0)==10){if((i[d+12>>0]|0)==73)if((i[d+13>>0]|0)==72)if((i[d+14>>0]|0)==68)if((i[d+15>>0]|0)==82){k[a>>2]=l[d+17>>0]<<16|l[d+16>>0]<<24|l[d+18>>0]<<8|l[d+19>>0];k[b>>2]=l[d+21>>0]<<16|l[d+20>>0]<<24|l[d+22>>0]<<8|l[d+23>>0];m=l[d+24>>0]|0;k[c+148>>2]=m;n=l[d+25>>0]|0;k[c+144>>2]=n;o=i[d+26>>0]|0;k[c+132>>2]=o&255;p=i[d+27>>0]|0;k[c+136>>2]=p&255;j=i[d+28>>0]|0;k[c+140>>2]=j&255;if(k[a>>2]|0)if(k[b>>2]|0){do if(!(k[c+20>>2]|0)){f=l[d+29>>0]|0;b=l[d+30>>0]<<16;a=l[d+31>>0]<<8;g=l[d+32>>0]|0;e=-1;h=0;do{e=k[32452+((l[d+12+h>>0]^e&255)<<2)>>2]^e>>>8;h=h+1|0}while((h|0)!=17);if((b|f<<24|a|g|0)==(~e|0))break;k[c+292>>2]=57;q=57;return q|0}while(0);if(o<<24>>24){k[c+292>>2]=32;q=32;return q|0}if(p<<24>>24){k[c+292>>2]=33;q=33;return q|0}if((j&255)>1){k[c+292>>2]=34;q=34;return q|0}switch(n|0){case 0:{switch(m|0){case 1:case 2:case 4:case 8:case 16:{q=39;break}default:e=37}break}case 2:{switch(m|0){case 8:case 16:{q=39;break}default:e=37}break}case 3:{switch(m|0){case 1:case 2:case 4:case 8:{q=39;break}default:e=37}break}case 4:{switch(m|0){case 8:case 16:{q=39;break}default:e=37}break}case 6:{switch(m|0){case 8:case 16:{q=39;break}default:e=37}break}default:e=31}if((q|0)==39)e=0;k[c+292>>2]=e;q=e;return q|0}k[c+292>>2]=93;q=93;return q|0}k[c+292>>2]=29;q=29;return q|0}k[c+292>>2]=28;q=28;return q|0}function zta(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;I=r;r=r+320|0;k[a>>2]=0;g=yta(b,c,d,e,f)|0;k[d+292>>2]=g;do if(!g){g=k[b>>2]|0;h=k[c>>2]|0;j=ha(h,g)|0;if(h|0)if(((j>>>0)/(h>>>0)|0|0)!=(g|0)){k[d+292>>2]=92;g=92;break}if(j>>>0>268435455){k[d+292>>2]=92;g=92;break}A=I+292+4|0;B=I+292+8|0;C=I+292+4|0;G=e+33|0;x=1;g=0;y=0;h=0;q=0;a:while(1){j=G-e+12|0;if(G>>>0>>0|j>>>0>f>>>0){H=9;break}D=G+1|0;E=G+2|0;F=G+3|0;v=l[D>>0]<<16|l[G>>0]<<24|l[E>>0]<<8|l[F>>0];if((v|0)<0){H=11;break}if((v+j|0)>>>0>f>>>0){H=14;break}if((G+v+12|0)>>>0>>0){H=14;break}w=G+8|0;z=G+4|0;j=i[z>>0]|0;b:do switch(j<<24>>24){case 73:{switch(i[G+5>>0]|0){case 68:break;case 69:{if((i[G+6>>0]|0)!=78){H=165;break a}if((i[G+7>>0]|0)==68){t=1;s=x;m=y;break b}else{H=165;break a}}default:{H=165;break a}}if((i[G+6>>0]|0)!=65){H=165;break a}if((i[G+7>>0]|0)!=84){H=165;break a}n=v+h|0;if(y>>>0>>0){m=y<<1>>>0>>0?n:(n*3|0)>>>1;j=kqb(g,m)|0;if(!j){H=23;break a}else g=j}else m=y;if(!v){t=0;s=3;h=n}else{j=0;do{i[g+(j+h)>>0]=i[w+j>>0]|0;j=j+1|0}while((j|0)!=(v|0));t=0;s=3;h=n}break}case 80:{if((i[G+5>>0]|0)!=76){H=165;break a}if((i[G+6>>0]|0)!=84){H=165;break a}if((i[G+7>>0]|0)!=69){H=165;break a}j=k[d+152>>2]|0;if(j|0)iqb(j);k[d+156>>2]=(v>>>0)/3|0;j=hqb(((v>>>0)/3|0)<<2)|0;k[d+152>>2]=j;c:do if(!j){if(v>>>0>=3){H=33;break a}}else{if(v>>>0>770){j=38;H=39;break a}if(v>>>0>=3){m=0;n=0;while(1){x=m<<2;i[j+x>>0]=i[w+n>>0]|0;i[(k[d+152>>2]|0)+(x|1)>>0]=i[w+(n+1)>>0]|0;i[(k[d+152>>2]|0)+(x|2)>>0]=i[w+(n+2)>>0]|0;i[(k[d+152>>2]|0)+(x|3)>>0]=-1;m=m+1|0;if((m|0)==(k[d+156>>2]|0))break c;j=k[d+152>>2]|0;n=n+3|0}}}while(0);k[d+292>>2]=0;t=0;s=2;m=y;break}case 116:switch(i[G+5>>0]|0){case 82:{if((i[G+6>>0]|0)!=78){H=166;break b}if((i[G+7>>0]|0)!=83){H=166;break b}switch(k[d+144>>2]|0){case 3:{if((k[d+156>>2]|0)>>>0>>0){j=38;H=52;break a}if(v|0){j=0;do{i[(k[d+152>>2]|0)+(j<<2|3)>>0]=i[w+j>>0]|0;j=j+1|0}while((j|0)!=(v|0))}break}case 0:{if((v|0)!=2){j=30;H=52;break a}k[d+160>>2]=1;w=l[w>>0]<<8|l[G+9>>0];k[d+172>>2]=w;k[d+168>>2]=w;k[d+164>>2]=w;break}case 2:{if((v|0)!=6){j=41;H=52;break a}k[d+160>>2]=1;k[d+164>>2]=l[w>>0]<<8|l[G+9>>0];k[d+168>>2]=l[G+10>>0]<<8|l[G+11>>0];k[d+172>>2]=l[G+12>>0]<<8|l[G+13>>0];break}default:{j=42;H=52;break a}}k[d+292>>2]=0;t=0;s=x;m=y;break b}case 69:{if((i[G+6>>0]|0)!=88){H=166;break b}if((i[G+7>>0]|0)!=116){H=166;break b}if(!(k[d+28>>2]|0)){t=0;s=x;m=y;break b}if(!v){n=89;m=0;j=0}else{j=0;do{if(!(i[w+j>>0]|0))break;j=j+1|0}while(j>>>0>>0);if((j+-1|0)>>>0>78){n=89;m=0;j=0}else{o=j+1|0;m=hqb(o)|0;if(!m){n=83;m=0;j=0}else{i[m+j>>0]=0;if(j|0)ABb(m|0,w|0,j|0)|0;n=v>>>0>>0?0:v-o|0;p=hqb(n+1|0)|0;if(!p){n=83;j=0}else{i[p+n>>0]=0;if(n|0)ABb(p|0,w+o|0,(v>>>0>o>>>0?v:o)+~j|0)|0;n=ota(d+132|0,m,p)|0;j=p}}}}iqb(m);iqb(j);k[d+292>>2]=n;if(!n){t=0;s=x;m=y;break b}else{q=g;break a}}case 73:{if((i[G+6>>0]|0)!=77){H=166;break b}if((i[G+7>>0]|0)!=69){H=166;break b}if((v|0)!=7){H=157;break a}k[d+224>>2]=1;k[d+228>>2]=l[w>>0]<<8|l[G+9>>0];k[d+232>>2]=l[G+10>>0];k[d+236>>2]=l[G+11>>0];k[d+240>>2]=l[G+12>>0];k[d+244>>2]=l[G+13>>0];k[d+248>>2]=l[G+14>>0];k[d+292>>2]=0;t=0;s=x;m=y;break b}default:{H=166;break b}}case 98:{if((i[G+5>>0]|0)==75)if((i[G+6>>0]|0)==71)if((i[G+7>>0]|0)==68){switch(k[d+144>>2]|0){case 3:{if((v|0)!=1){j=43;H=64;break a}k[d+176>>2]=1;w=l[w>>0]|0;k[d+188>>2]=w;k[d+184>>2]=w;k[d+180>>2]=w;break}case 4:case 0:{if((v|0)!=2){j=44;H=64;break a}k[d+176>>2]=1;w=l[w>>0]<<8|l[G+9>>0];k[d+188>>2]=w;k[d+184>>2]=w;k[d+180>>2]=w;break}case 6:case 2:{if((v|0)!=6){j=45;H=64;break a}k[d+176>>2]=1;k[d+180>>2]=l[w>>0]<<8|l[G+9>>0];k[d+184>>2]=l[G+10>>0]<<8|l[G+11>>0];k[d+188>>2]=l[G+12>>0]<<8|l[G+13>>0];break}default:{}}k[d+292>>2]=0;t=0;s=x;m=y}else H=166;else H=166;else H=166;break}case 122:{if((i[G+5>>0]|0)==84)if((i[G+6>>0]|0)==88)if((i[G+7>>0]|0)==116)if(!(k[d+28>>2]|0)){t=0;s=x;m=y}else{k[I+292>>2]=0;k[I+292+8>>2]=0;k[A>>2]=0;d:do if(!v)j=0;else{j=0;do{if(!(i[w+j>>0]|0))break d;j=j+1|0}while(j>>>0>>0)}while(0);o=j+2|0;do if(v>>>0>o>>>0)if((j+-1|0)>>>0>78){j=89;m=0}else{n=j+1|0;m=hqb(n)|0;if(!m){j=83;m=0}else{i[m+j>>0]=0;if(j|0)ABb(m|0,w|0,j|0)|0;if(i[w+n>>0]|0){j=72;break}if(v>>>0>>0){j=75;break}j=k[d+8>>2]|0;if(!j)j=lta(I+292|0,A,w+o|0,v-o|0,d+4|0)|0;else j=Ni[j&127](I+292|0,A,w+o|0,v-o|0,d+4|0)|0;if(j|0)break;o=k[A>>2]|0;j=k[I+292+8>>2]|0;do if(j>>>0<(o+1|0)>>>0){n=j<<1>>>0<(o+1|0)>>>0?o+1|0:((o+1|0)*3|0)>>>1;j=kqb(k[I+292>>2]|0,n)|0;if(!j)break;k[I+292+8>>2]=n;k[I+292>>2]=j;H=102}else{j=k[I+292>>2]|0;H=102}while(0);if((H|0)==102){H=0;k[A>>2]=o+1;i[j+o>>0]=0}j=ota(d+132|0,m,k[I+292>>2]|0)|0}}else{j=75;m=0}while(0);iqb(m);k[I+292+8>>2]=0;k[A>>2]=0;iqb(k[I+292>>2]|0);k[d+292>>2]=j;if(!j){t=0;s=x;m=y}else{q=g;break a}}else H=166;else H=166;else H=166;break}case 105:{if((i[G+5>>0]|0)==84)if((i[G+6>>0]|0)==88)if((i[G+7>>0]|0)==116)if(!(k[d+28>>2]|0)){t=0;s=x;m=y}else{k[I+292>>2]=0;k[B>>2]=0;k[C>>2]=0;e:do if(v>>>0<5){j=30;o=0;n=0;m=0}else{j=0;do{if(!(i[w+j>>0]|0))break;j=j+1|0}while(j>>>0>>0);o=j+3|0;if(o>>>0>>0)if((j+-1|0)>>>0>78){j=89;o=0;n=0;m=0}else{m=j+1|0;u=hqb(m)|0;if(!u){j=83;o=0;n=0;m=0}else{i[u+j>>0]=0;if(j|0)ABb(u|0,w|0,j|0)|0;t=i[w+m>>0]|0;if(!(i[w+(j+2)>>0]|0)){m=o;j=0}else{j=72;o=u;n=0;m=0;break}while(1){n=j+1|0;if(!(i[w+m>>0]|0)){m=n;break}m=m+1|0;if(m>>>0>=v>>>0){H=119;break}else j=n}if((H|0)==119){H=0;m=j+2|0;j=n}n=hqb(m)|0;if(!n){j=83;o=u;n=0;m=0;break}i[n+j>>0]=0;if(j|0)ABb(n|0,w+o|0,j|0)|0;s=m+o|0;f:do if(s>>>0>>0){m=s;o=0;while(1){j=o+1|0;if(!(i[w+m>>0]|0)){p=j;j=o;break f}m=m+1|0;if(m>>>0>=v>>>0){H=126;break}else o=j}}else{j=0;H=126}while(0);if((H|0)==126){H=0;p=j+1|0}m=hqb(p)|0;if(!m){j=83;o=u;m=0;break}i[m+j>>0]=0;if(j|0)ABb(m|0,w+s|0,j|0)|0;p=p+s|0;o=v>>>0

>>0?0:v-p|0;do if(!(t<<24>>24)){if(!(o+1|0))j=0;else{j=kqb(0,o+1|0)|0;if(!j){j=83;o=u;break e}k[B>>2]=o+1;k[I+292>>2]=j}k[C>>2]=o+1;i[j+o>>0]=0;if(!o)break;i[j>>0]=i[w+p>>0]|0;if((o|0)==1)break;i[j+1>>0]=i[w+(p+1)>>0]|0;if((o|0)==2)break;i[j+2>>0]=i[w+(p+2)>>0]|0;if((o|0)==3)break;else j=3;do{i[(k[I+292>>2]|0)+j>>0]=i[w+(j+p)>>0]|0;j=j+1|0}while((j|0)!=(o|0))}else{j=k[d+8>>2]|0;if(!j)j=lta(I+292|0,C,w+p|0,o,d+4|0)|0;else j=Ni[j&127](I+292|0,C,w+p|0,o,d+4|0)|0;if(j|0){o=u;break e}j=k[B>>2]|0;p=k[C>>2]|0;if(j>>>0

>>0){k[B>>2]=p;j=p}if(j>>>0<(p+1|0)>>>0){o=j<<1>>>0<(p+1|0)>>>0?p+1|0:((p+1|0)*3|0)>>>1;j=kqb(k[I+292>>2]|0,o)|0;if(!j)break;k[B>>2]=o;k[I+292>>2]=j}else j=k[I+292>>2]|0;k[C>>2]=p+1;i[j+p>>0]=0}while(0);j=pta(d+132|0,u,n,m,k[I+292>>2]|0)|0;o=u}}else{j=75;o=0;n=0;m=0}}while(0);iqb(o);iqb(n);iqb(m);k[B>>2]=0;k[C>>2]=0;iqb(k[I+292>>2]|0);k[d+292>>2]=j;if(!j){t=0;s=x;m=y}else{q=g;break a}}else H=166;else H=166;else H=166;break}case 112:{if((i[G+5>>0]|0)==72)if((i[G+6>>0]|0)==89)if((i[G+7>>0]|0)==115){if((v|0)!=9){H=163;break a}k[d+252>>2]=1;k[d+256>>2]=l[G+9>>0]<<16|l[w>>0]<<24|l[G+10>>0]<<8|l[G+11>>0];k[d+260>>2]=l[G+13>>0]<<16|l[G+12>>0]<<24|l[G+14>>0]<<8|l[G+15>>0];k[d+264>>2]=l[G+16>>0];k[d+292>>2]=0;t=0;s=x;m=y}else H=166;else H=166;else H=166;break}default:if(!(j&32)){H=165;break a}else H=166}while(0);if((H|0)==166){H=0;if(!(k[d+32>>2]|0)){t=0;s=x;m=y;q=1}else{j=x+-1|0;m=k[d+280+(j<<2)>>2]|0;if((m+(v+12)|0)>>>0>>0?1:(m+(v+12)|0)>>>0<(v+12|0)>>>0){j=77;H=172;break}n=kqb(k[d+268+(j<<2)>>2]|0,m+(v+12)|0)|0;if(!n){j=83;H=172;break}k[d+268+(j<<2)>>2]=n;k[d+280+(j<<2)>>2]=m+(v+12);j=0;do{i[n+m+j>>0]=i[G+j>>0]|0;j=j+1|0}while((j|0)!=(v+12|0));k[d+292>>2]=0;t=0;s=x;m=y;q=1}}if(!(k[d+20>>2]|q)){n=l[D>>0]<<16|l[G>>0]<<24|l[E>>0]<<8|l[F>>0];p=G+(n+8)|0;p=l[p+1>>0]<<16|l[p>>0]<<24|l[p+2>>0]<<8|l[p+3>>0];if(!(n+4|0))j=0;else{j=-1;o=0;do{j=k[32452+((l[z+o>>0]^j&255)<<2)>>2]^j>>>8;o=o+1|0}while((o|0)!=(n+4|0));j=~j}if((p|0)!=(j|0)){H=178;break}}if(t<<24>>24){q=g;break}if(!(k[d+292>>2]|0)){G=G+((l[D>>0]<<16|l[G>>0]<<24|l[E>>0]<<8|l[F>>0])+12)|0;x=s;y=m}else{q=g;break}}switch(H|0){case 9:{k[d+292>>2]=30;q=g;break}case 11:{k[d+292>>2]=63;q=g;break}case 14:{k[d+292>>2]=64;q=g;break}case 23:{k[d+292>>2]=83;q=g;break}case 33:{k[d+156>>2]=0;j=83;H=39;break}case 52:{k[d+292>>2]=j;q=g;break}case 64:{k[d+292>>2]=j;q=g;break}case 157:{k[d+292>>2]=73;q=g;break}case 163:{k[d+292>>2]=74;q=g;break}case 165:{k[d+292>>2]=69;q=g;break}case 172:{k[d+292>>2]=j;q=g;break}case 178:{k[d+292>>2]=57;q=g;break}}if((H|0)==39){k[d+292>>2]=j;q=g}k[I>>2]=0;k[I+8>>2]=0;k[I+4>>2]=0;p=k[b>>2]|0;if(!(k[d+140>>2]|0)){m=k[c>>2]|0;j=k[d+148>>2]|0;switch(k[d+144>>2]|0){case 3:case 0:{g=1;break}case 2:{g=3;break}case 4:{g=2;break}case 6:{g=4;break}default:g=0}j=(ha(((ha(ha(j,p)|0,g)|0)+7|0)>>>3,m)|0)+m|0}else{o=k[c>>2]|0;m=k[d+144>>2]|0;n=k[d+148>>2]|0;switch(m|0){case 3:case 0:{g=1;break}case 2:{g=3;break}case 4:{g=2;break}case 6:{g=4;break}default:g=0}j=(ha(((ha(ha(n,(p+7|0)>>>3)|0,g)|0)+7|0)>>>3,(o+7|0)>>>3)|0)+((o+7|0)>>>3)|0;if(p>>>0>4){switch(m|0){case 3:case 0:{g=1;break}case 2:{g=3;break}case 4:{g=2;break}case 6:{g=4;break}default:g=0}j=j+((o+7|0)>>>3)+(ha(((ha(ha(n,(p+3|0)>>>3)|0,g)|0)+7|0)>>>3,(o+7|0)>>>3)|0)|0}switch(m|0){case 3:case 0:{g=1;break}case 2:{g=3;break}case 4:{g=2;break}case 6:{g=4;break}default:g=0}j=j+((o+3|0)>>>3)+(ha(((ha(ha(n,(p+3|0)>>>2)|0,g)|0)+7|0)>>>3,(o+3|0)>>>3)|0)|0;if(p>>>0>2){switch(m|0){case 3:case 0:{g=1;break}case 2:{g=3;break}case 4:{g=2;break}case 6:{g=4;break}default:g=0}j=j+((o+3|0)>>>2)+(ha(((ha(ha(n,(p+1|0)>>>2)|0,g)|0)+7|0)>>>3,(o+3|0)>>>2)|0)|0}switch(m|0){case 3:case 0:{g=1;break}case 2:{g=3;break}case 4:{g=2;break}case 6:{g=4;break}default:g=0}j=j+((o+1|0)>>>2)+(ha(((ha(ha(n,(p+1|0)>>>1)|0,g)|0)+7|0)>>>3,(o+1|0)>>>2)|0)|0;if(p>>>0>1){switch(m|0){case 3:case 0:{g=1;break}case 2:{g=3;break}case 4:{g=2;break}case 6:{g=4;break}default:g=0}j=j+((o+1|0)>>>1)+(ha(((ha(ha(n,p>>>1)|0,g)|0)+7|0)>>>3,(o+1|0)>>>1)|0)|0}switch(m|0){case 3:case 0:{g=1;break}case 2:{g=3;break}case 4:{g=2;break}case 6:{g=4;break}default:g=0}j=j+(o>>>1)+(ha(((ha(ha(n,p)|0,g)|0)+7|0)>>>3,o>>>1)|0)|0}g:do if(!(k[d+292>>2]|0)){do if(j|0){g=kqb(0,j)|0;if(!g){k[d+292>>2]=83;break g}else{k[I+8>>2]=j;k[I>>2]=g;if(!(k[d+292>>2]|0))break;else break g}}while(0);g=k[d+8>>2]|0;if(!g)g=lta(I,I+4|0,q,h,d+4|0)|0;else g=Ni[g&127](I,I+4|0,q,h,d+4|0)|0;k[d+292>>2]=(g|0?1:(k[I+4>>2]|0)==(j|0))?g:91}while(0);iqb(q);if(!(k[d+292>>2]|0)){n=k[b>>2]|0;o=k[c>>2]|0;h=k[d+144>>2]|0;m=k[d+148>>2]|0;switch(h|0){case 3:case 0:{g=1;break}case 2:{g=3;break}case 4:{g=2;break}case 6:{g=4;break}default:g=0}j=((ha(ha(ha(o,n)|0,m)|0,g)|0)+7|0)>>>3;do if(!j){F=0;H=250}else{g=kqb(0,j)|0;if(!g){k[d+292>>2]=83;g=0;break}vBb(g|0,0,j|0)|0;if(!(k[d+292>>2]|0)){h=k[d+144>>2]|0;m=k[d+148>>2]|0;n=k[b>>2]|0;o=k[c>>2]|0;F=g;H=250}}while(0);if((H|0)==250){D=F;E=k[I>>2]|0;switch(h|0){case 3:case 0:{g=1;break}case 2:{g=3;break}case 4:{g=2;break}case 6:{g=4;break}default:g=0}C=ha(g,m)|0;h:do if(!C)g=31;else{i:do if(!(k[d+140>>2]|0)){if(C>>>0<8){s=ha(C,n)|0;if((s|0)!=(s+7&-8|0)){g=Ata(E,E,n,o,C)|0;if(g|0)break h;if((o|0)==0|(s|0)==0)break;else{h=0;m=0;q=0}while(1){j=h;n=m;p=0;while(1){g=1<<(n&7^7);if(!(1<<(j&7^7)&l[E+(j>>>3)>>0])){H=D+(n>>>3)|0;i[H>>0]=l[H>>0]&(g^255)}else{H=D+(n>>>3)|0;i[H>>0]=l[H>>0]|g}p=p+1|0;if((p|0)==(s|0))break;else{j=j+1|0;n=n+1|0}}q=q+1|0;if((q|0)==(o|0))break i;else{h=h+(s+7&-8)|0;m=m+s|0}}}}g=Ata(D,E,n,o,C)|0;if(g|0)break h}else{Bta(I+140|0,I+112|0,I+80|0,I+48|0,I+16|0,n,o,C);j:do if(C>>>0<8){g=0;y=0;while(1){w=E+(k[I+48+(y<<2)>>2]|0)|0;h=k[I+140+(y<<2)>>2]|0;x=k[I+112+(y<<2)>>2]|0;j=Ata(w,E+(k[I+80+(y<<2)>>2]|0)|0,h,x,C)|0;g=(j|0)==0?g:j;if(j|0){h=0;g=j;break j}v=E+(k[I+16+(y<<2)>>2]|0)|0;h=ha(h,C)|0;if(!((x|0)==0|(h|0)==0)){m=0;q=0;u=0;while(1){p=m;s=q;t=0;while(1){j=1<<(s&7^7);if(!(1<<(p&7^7)&l[w+(p>>>3)>>0])){f=v+(s>>>3)|0;i[f>>0]=l[f>>0]&(j^255)}else{f=v+(s>>>3)|0;i[f>>0]=l[f>>0]|j}t=t+1|0;if((t|0)==(h|0))break;else{p=p+1|0;s=s+1|0}}u=u+1|0;if((u|0)==(x|0))break;else{m=m+(h+7&-8)|0;q=q+h|0}}}y=y+1|0;if((y|0)==7){H=280;break}}}else{g=Ata(E+(k[I+48>>2]|0)|0,E+(k[I+80>>2]|0)|0,k[I+140>>2]|0,k[I+112>>2]|0,C)|0;if(!g){g=Ata(E+(k[I+48+4>>2]|0)|0,E+(k[I+80+4>>2]|0)|0,k[I+140+4>>2]|0,k[I+112+4>>2]|0,C)|0;if(!g){g=Ata(E+(k[I+48+8>>2]|0)|0,E+(k[I+80+8>>2]|0)|0,k[I+140+8>>2]|0,k[I+112+8>>2]|0,C)|0;if(!g){g=Ata(E+(k[I+48+12>>2]|0)|0,E+(k[I+80+12>>2]|0)|0,k[I+140+12>>2]|0,k[I+112+12>>2]|0,C)|0;if(!g){g=Ata(E+(k[I+48+16>>2]|0)|0,E+(k[I+80+16>>2]|0)|0,k[I+140+16>>2]|0,k[I+112+16>>2]|0,C)|0;if(g|0){h=0;break}g=Ata(E+(k[I+48+20>>2]|0)|0,E+(k[I+80+20>>2]|0)|0,k[I+140+20>>2]|0,k[I+112+20>>2]|0,C)|0;if(g|0){h=0;break}g=Ata(E+(k[I+48+24>>2]|0)|0,E+(k[I+80+24>>2]|0)|0,k[I+140+24>>2]|0,k[I+112+24>>2]|0,C)|0;if(!g){g=0;H=280}else h=0}else h=0}else h=0}else h=0}else h=0}while(0);if((H|0)==280){Bta(I+292|0,I+264|0,I+232|0,I+200|0,I+168|0,n,o,C);if(C>>>0>7){if(C>>>3|0){y=0;do{q=k[I+264+(y<<2)>>2]|0;do if(q|0){s=k[I+292+(y<<2)>>2]|0;if(!s)break;h=k[I+168+(y<<2)>>2]|0;j=k[33560+(y<<2)>>2]|0;m=k[33532+(y<<2)>>2]|0;o=k[33504+(y<<2)>>2]|0;p=k[33476+(y<<2)>>2]|0;A=0;do{t=(ha((ha(A,m)|0)+j|0,n)|0)+o|0;u=ha(A,s)|0;z=0;do{v=(ha(z+u|0,C>>>3)|0)+h|0;w=ha(t+(ha(z,p)|0)|0,C>>>3)|0;x=0;do{i[D+(x+w)>>0]=i[E+(v+x)>>0]|0;x=x+1|0}while((x|0)!=(C>>>3|0));z=z+1|0}while((z|0)!=(s|0));A=A+1|0}while((A|0)!=(q|0))}while(0);y=y+1|0}while((y|0)!=7)}}else{x=0;do{p=k[I+292+(x<<2)>>2]|0;q=k[I+264+(x<<2)>>2]|0;if(!((p|0)==0|(q|0)==0)){h=k[33560+(x<<2)>>2]|0;j=k[33532+(x<<2)>>2]|0;m=k[33504+(x<<2)>>2]|0;o=k[33476+(x<<2)>>2]|0;s=k[I+168+(x<<2)>>2]<<3;B=0;do{t=ha(B,p)|0;u=(ha((ha(B,j)|0)+h|0,n)|0)+m|0;A=0;do{w=0;y=(ha(A+t|0,C)|0)+s|0;z=ha(u+(ha(A,o)|0)|0,C)|0;while(1){v=(l[E+(y>>>3)>>0]|0)>>>(y&7^7)&1;if(v|0){H=D+(z>>>3)|0;i[H>>0]=l[H>>0]|v<<(z&7^7)}w=w+1|0;if((w|0)==(C|0))break;else{y=y+1|0;z=z+1|0}}A=A+1|0}while((A|0)!=(p|0));B=B+1|0}while((B|0)!=(q|0))}x=x+1|0}while((x|0)!=7)}h=1}if(!h)break h}while(0);g=0}while(0);k[d+292>>2]=g;g=F}k[a>>2]=g}k[I+8>>2]=0;k[I+4>>2]=0;iqb(k[I>>2]|0);g=k[d+292>>2]|0;if(g|0){d=g;r=I;return d|0}if(!(k[d+24>>2]|0)){g=k[d+108>>2]|0;if(g|0)iqb(g);k[d+100>>2]=k[d+144>>2];k[d+100+4>>2]=k[d+144+4>>2];k[d+100+8>>2]=k[d+144+8>>2];k[d+100+12>>2]=k[d+144+12>>2];k[d+100+16>>2]=k[d+144+16>>2];k[d+100+20>>2]=k[d+144+20>>2];k[d+100+24>>2]=k[d+144+24>>2];k[d+100+28>>2]=k[d+144+28>>2];g=k[d+152>>2]|0;do if(g|0){h=hqb(1024)|0;k[d+108>>2]=h;j=k[d+156>>2]|0;if(!h){if(!j)break;k[d+292>>2]=83;d=83;r=I;return d|0}else{if(!(j&1073741823))break;i[h>>0]=i[g>>0]|0;i[h+1>>0]=i[g+1>>0]|0;g=2;do{i[(k[d+108>>2]|0)+g>>0]=i[(k[d+152>>2]|0)+g>>0]|0;g=g+1|0}while((g|0)!=(k[d+156>>2]<<2|0))}}while(0);k[d+292>>2]=0;d=0;r=I;return d|0}o=k[d+100>>2]|0;k:do if((o|0)==(k[d+144>>2]|0))if((k[d+104>>2]|0)==(k[d+148>>2]|0)){g=k[d+116>>2]|0;if((g|0)==(k[d+160>>2]|0)){if(g|0){if((k[d+120>>2]|0)!=(k[d+164>>2]|0))break;if((k[d+124>>2]|0)!=(k[d+168>>2]|0))break;if((k[d+128>>2]|0)!=(k[d+172>>2]|0))break}g=k[d+112>>2]|0;if((g|0)==(k[d+156>>2]|0)){if(!(g&1073741823)){d=0;r=I;return d|0}h=k[d+108>>2]|0;j=k[d+152>>2]|0;m=0;while(1){if((i[h+m>>0]|0)!=(i[j+m>>0]|0))break k;m=m+1|0;if((m|0)==(g<<2|0)){g=0;break}}r=I;return g|0}}}while(0);n=k[a>>2]|0;switch(o|0){case 6:case 2:break;default:if((k[d+104>>2]|0)!=8){d=56;r=I;return d|0}}m=k[b>>2]|0;j=k[c>>2]|0;h=k[d+104>>2]|0;switch(o|0){case 3:case 0:{g=1;break}case 2:{g=3;break}case 4:{g=2;break}case 6:{g=4;break}default:g=0}g=hqb(((ha(ha(ha(j,m)|0,h)|0,g)|0)+7|0)>>>3)|0;k[a>>2]=g;if(!g)g=83;else{rta(g,n,d+100|0,d+144|0,m,j)|0;g=0}k[d+292>>2]=g;iqb(n);d=k[d+292>>2]|0;r=I;return d|0}while(0);d=g;r=I;return d|0}function Ata(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;h=((ha(e,c)|0)+7|0)>>>3;if(!d){a=0;return a|0}j=((e+7|0)>>>3|0)==0;k=(e+7|0)>>>3>>>0>>0;m=0;n=0;a:while(1){c=ha(n,h)|0;g=ha(n,h+1|0)|0;f=m;m=a+c|0;b:do switch(l[b+g>>0]|0|0){case 0:{if(h|0){c=0;do{i[m+c>>0]=i[b+(g+1)+c>>0]|0;c=c+1|0}while((c|0)!=(h|0))}break}case 1:{if(!j){c=0;do{i[m+c>>0]=i[b+(g+1)+c>>0]|0;c=c+1|0}while((c|0)!=((e+7|0)>>>3|0))}if(k){c=(e+7|0)>>>3;do{i[m+c>>0]=(l[m+(c-((e+7|0)>>>3))>>0]|0)+(l[b+(g+1)+c>>0]|0);c=c+1|0}while((c|0)!=(h|0))}break}case 2:{if(!f){if(!h)break b;else c=0;do{i[m+c>>0]=i[b+(g+1)+c>>0]|0;c=c+1|0}while((c|0)!=(h|0))}else{if(!h)break b;else c=0;do{i[m+c>>0]=(l[f+c>>0]|0)+(l[b+(g+1)+c>>0]|0);c=c+1|0}while((c|0)!=(h|0))}break}case 3:{if(!f){if(!j){c=0;do{i[m+c>>0]=i[b+(g+1)+c>>0]|0;c=c+1|0}while((c|0)!=((e+7|0)>>>3|0))}if(k)c=(e+7|0)>>>3;else break b;do{i[m+c>>0]=((l[m+(c-((e+7|0)>>>3))>>0]|0)>>>1&255)+(l[b+(g+1)+c>>0]|0);c=c+1|0}while((c|0)!=(h|0))}else{if(!j){c=0;do{i[m+c>>0]=((l[f+c>>0]|0)>>>1&255)+(l[b+(g+1)+c>>0]|0);c=c+1|0}while((c|0)!=((e+7|0)>>>3|0))}if(k)c=(e+7|0)>>>3;else break b;do{i[m+c>>0]=(((l[f+c>>0]|0)+(l[m+(c-((e+7|0)>>>3))>>0]|0)|0)>>>1)+(l[b+(g+1)+c>>0]|0);c=c+1|0}while((c|0)!=(h|0))}break}case 4:{if(!f){if(!j){c=0;do{i[m+c>>0]=i[b+(g+1)+c>>0]|0;c=c+1|0}while((c|0)!=((e+7|0)>>>3|0))}if(k)c=(e+7|0)>>>3;else break b;do{i[m+c>>0]=(l[m+(c-((e+7|0)>>>3))>>0]|0)+(l[b+(g+1)+c>>0]|0);c=c+1|0}while((c|0)!=(h|0))}else{if(!j){c=0;do{i[m+c>>0]=(l[f+c>>0]|0)+(l[b+(g+1)+c>>0]|0);c=c+1|0}while((c|0)!=((e+7|0)>>>3|0))}if(k)c=(e+7|0)>>>3;else break b;do{s=c-((e+7|0)>>>3)|0;o=i[m+s>>0]|0;p=i[f+c>>0]|0;s=i[f+s>>0]|0;q=((p&255)-(s&255)|0)>-1?(p&255)-(s&255)|0:0-((p&255)-(s&255))|0;r=((o&255)-(s&255)|0)>-1?(o&255)-(s&255)|0:0-((o&255)-(s&255))|0;t=(p&255)+(o&255)+(ha(s&255,-2)|0)|0;t=((t|0)>-1?t:0-t|0)<<16>>16;i[m+c>>0]=(((t|0)<(q|0)&(t|0)<(r|0)?s:(r|0)<(q|0)?p:o)&255)+(l[b+(g+1)+c>>0]|0);c=c+1|0}while((c|0)!=(h|0))}break}default:{c=36;f=34;break a}}while(0);n=n+1|0;if(n>>>0>=d>>>0){c=0;f=34;break}}if((f|0)==34)return c|0;return 0}function Bta(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,l=0,m=0;j=0;do{m=k[33476+(j<<2)>>2]|0;i=a+(j<<2)|0;k[i>>2]=((f+-1+m-(k[33504+(j<<2)>>2]|0)|0)>>>0)/(m>>>0)|0;m=k[33532+(j<<2)>>2]|0;m=((g+-1+m-(k[33560+(j<<2)>>2]|0)|0)>>>0)/(m>>>0)|0;l=b+(j<<2)|0;k[l>>2]=m;m=(k[i>>2]|0)==0?0:m;k[l>>2]=m;if(!m)k[i>>2]=0;j=j+1|0}while((j|0)!=7);k[e>>2]=0;k[d>>2]=0;k[c>>2]=0;l=0;m=0;while(1){f=a+(m<<2)|0;i=k[f>>2]|0;j=b+(m<<2)|0;if(!i)i=0;else{g=k[j>>2]|0;if(!g)i=0;else i=ha(g,(((ha(i,h)|0)+7|0)>>>3)+1|0)|0}g=m+1|0;k[c+(g<<2)>>2]=i+l;l=(ha(((ha(k[f>>2]|0,h)|0)+7|0)>>>3,k[j>>2]|0)|0)+(k[d+(m<<2)>>2]|0)|0;k[d+(g<<2)>>2]=l;m=(((ha(ha(k[j>>2]|0,h)|0,k[f>>2]|0)|0)+7|0)>>>3)+(k[e+(m<<2)>>2]|0)|0;k[e+(g<<2)>>2]=m;if((g|0)==7)break;l=k[c+(g<<2)>>2]|0;m=g}return}function Cta(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=r;r=r+208|0;k[A+4>>2]=0;k[A>>2]=0;k[a>>2]=0;k[b>>2]=0;k[f+292>>2]=0;w=A+24+28|0;k[w>>2]=0;k[w+4>>2]=0;k[w+8>>2]=0;k[w+12>>2]=0;k[A+24+12>>2]=6;k[A+24+16>>2]=8;t=A+24+20|0;k[t>>2]=0;u=A+24+24|0;k[u>>2]=0;k[A+24+8>>2]=0;k[A+24>>2]=0;k[A+24+4>>2]=0;k[A+24+120>>2]=0;s=A+24+136|0;k[s>>2]=0;k[s+4>>2]=0;k[s+8>>2]=0;k[s+12>>2]=0;k[s+16>>2]=0;k[s+20>>2]=0;g=A+24+44|0;h=g+52|0;do{k[g>>2]=0;g=g+4|0}while((g|0)<(h|0));qta(A+24|0,f+132|0)|0;v=A+24+12|0;if((k[v>>2]|0)==3)x=3;else if(k[f+88>>2]|0)x=3;if((x|0)==3)if(((k[u>>2]|0)+-1|0)>>>0>255){k[f+292>>2]=68;f=68;r=A;return f|0}if(!(k[f+72>>2]|0))g=k[f+292>>2]|0;else{g=xta(v,c,d,e,f+100|0)|0;k[f+292>>2]=g}if(g|0){f=g;r=A;return f|0}if((k[f+36>>2]|0)>>>0>2){k[f+292>>2]=61;f=61;r=A;return f|0}if((k[f+140>>2]|0)>>>0>1){k[f+292>>2]=71;f=71;r=A;return f|0}n=k[v>>2]|0;o=k[A+24+16>>2]|0;switch(n|0){case 0:{switch(o|0){case 1:case 2:case 4:case 8:case 16:break;default:{g=37;x=19}}break}case 2:{switch(o|0){case 8:case 16:break;default:{g=37;x=19}}break}case 3:{switch(o|0){case 1:case 2:case 4:case 8:break;default:{g=37;x=19}}break}case 4:{switch(o|0){case 8:case 16:break;default:{g=37;x=19}}break}case 6:{switch(o|0){case 8:case 16:break;default:{g=37;x=19}}break}default:{g=31;x=19}}if((x|0)==19){k[f+292>>2]=g;f=g;r=A;return f|0}k[f+292>>2]=0;g=k[f+100>>2]|0;h=k[f+104>>2]|0;switch(g|0){case 0:{switch(h|0){case 1:case 2:case 4:case 8:case 16:break;default:{g=37;x=26}}break}case 2:{switch(h|0){case 8:case 16:break;default:{g=37;x=26}}break}case 3:{switch(h|0){case 1:case 2:case 4:case 8:break;default:{g=37;x=26}}break}case 4:{switch(h|0){case 8:case 16:break;default:{g=37;x=26}}break}case 6:{switch(h|0){case 8:case 16:break;default:{g=37;x=26}}break}default:{g=31;x=26}}if((x|0)==26){k[f+292>>2]=g;f=g;r=A;return f|0}k[f+292>>2]=0;a:do if((g|0)==(n|0)&(h|0)==(o|0)){g=k[f+116>>2]|0;if((g|0)==(k[w>>2]|0)){if(g|0){if((k[f+120>>2]|0)!=(k[A+24+32>>2]|0)){x=38;break}if((k[f+124>>2]|0)!=(k[A+24+36>>2]|0)){x=38;break}if((k[f+128>>2]|0)!=(k[A+24+40>>2]|0)){x=38;break}}g=k[f+112>>2]|0;if((g|0)==(k[u>>2]|0)){if(g&1073741823|0){h=k[f+108>>2]|0;j=k[t>>2]|0;m=0;do{if((i[h+m>>0]|0)!=(i[j+m>>0]|0)){x=38;break a}m=m+1|0}while((m|0)!=(g<<2|0))}Dta(A+4|0,A,c,d,e,A+24|0,f+36|0)}else x=38}else x=38}else x=38;while(0);if((x|0)==38){switch(n|0){case 3:case 0:{g=1;break}case 2:{g=3;break}case 4:{g=2;break}case 6:{g=4;break}default:g=0}z=((ha(ha(ha(e,d)|0,o)|0,g)|0)+7|0)>>>3;g=hqb(z)|0;if((g|0)==0&(z|0)!=0)k[f+292>>2]=83;else{rta(g,c,v,f+100|0,d,e)|0;k[f+292>>2]=0;Dta(A+4|0,A,g,d,e,A+24|0,f+36|0)}iqb(g)}k[A+8>>2]=0;y=A+8+8|0;k[y>>2]=0;z=A+8+4|0;k[z>>2]=0;b:do if(!(k[f+292>>2]|0)){g=kqb(0,1)|0;if(!g){m=k[z>>2]|0;g=k[y>>2]|0}else{k[y>>2]=1;k[A+8>>2]=g;k[z>>2]=1;i[g>>0]=-119;m=1;g=1}j=m+1|0;if(g>>>0>>0){h=g<<1>>>0>>0?j:(j*3|0)>>>1;g=kqb(k[A+8>>2]|0,h)|0;if(g|0){k[y>>2]=h;k[A+8>>2]=g;x=56}}else{g=k[A+8>>2]|0;x=56}if((x|0)==56){k[z>>2]=j;i[g+m>>0]=80}j=k[z>>2]|0;g=k[y>>2]|0;if(g>>>0<(j+1|0)>>>0){h=g<<1>>>0<(j+1|0)>>>0?j+1|0:((j+1|0)*3|0)>>>1;g=kqb(k[A+8>>2]|0,h)|0;if(g|0){k[y>>2]=h;k[A+8>>2]=g;x=61}}else{g=k[A+8>>2]|0;x=61}if((x|0)==61){k[z>>2]=j+1;i[g+j>>0]=78}j=k[z>>2]|0;g=k[y>>2]|0;if(g>>>0<(j+1|0)>>>0){h=g<<1>>>0<(j+1|0)>>>0?j+1|0:((j+1|0)*3|0)>>>1;g=kqb(k[A+8>>2]|0,h)|0;if(g|0){k[y>>2]=h;k[A+8>>2]=g;x=66}}else{g=k[A+8>>2]|0;x=66}if((x|0)==66){k[z>>2]=j+1;i[g+j>>0]=71}j=k[z>>2]|0;g=k[y>>2]|0;if(g>>>0<(j+1|0)>>>0){h=g<<1>>>0<(j+1|0)>>>0?j+1|0:((j+1|0)*3|0)>>>1;g=kqb(k[A+8>>2]|0,h)|0;if(g|0){k[y>>2]=h;k[A+8>>2]=g;x=71}}else{g=k[A+8>>2]|0;x=71}if((x|0)==71){k[z>>2]=j+1;i[g+j>>0]=13}j=k[z>>2]|0;g=k[y>>2]|0;if(g>>>0<(j+1|0)>>>0){h=g<<1>>>0<(j+1|0)>>>0?j+1|0:((j+1|0)*3|0)>>>1;g=kqb(k[A+8>>2]|0,h)|0;if(g|0){k[y>>2]=h;k[A+8>>2]=g;x=76}}else{g=k[A+8>>2]|0;x=76}if((x|0)==76){k[z>>2]=j+1;i[g+j>>0]=10}j=k[z>>2]|0;g=k[y>>2]|0;if(g>>>0<(j+1|0)>>>0){h=g<<1>>>0<(j+1|0)>>>0?j+1|0:((j+1|0)*3|0)>>>1;g=kqb(k[A+8>>2]|0,h)|0;if(g|0){k[y>>2]=h;k[A+8>>2]=g;x=81}}else{g=k[A+8>>2]|0;x=81}if((x|0)==81){k[z>>2]=j+1;i[g+j>>0]=26}j=k[z>>2]|0;g=k[y>>2]|0;if(g>>>0<(j+1|0)>>>0){h=g<<1>>>0<(j+1|0)>>>0?j+1|0:((j+1|0)*3|0)>>>1;g=kqb(k[A+8>>2]|0,h)|0;if(g|0){k[y>>2]=h;k[A+8>>2]=g;x=86}}else{g=k[A+8>>2]|0;x=86}if((x|0)==86){k[z>>2]=j+1;i[g+j>>0]=10}p=k[v>>2]|0;o=k[A+24+16>>2]|0;q=k[A+24+8>>2]|0;j=kqb(0,4)|0;n=(j|0)==0?0:4;h=j+((j|0)==0?-4:0)|0;i[h>>0]=d>>>24;i[h+1>>0]=d>>>16;i[h+2>>0]=d>>>8;i[h+3>>0]=d;h=n<<1>>>0<(n+4|0)>>>0?n+4|0:((n+4|0)*3|0)>>>1;d=kqb(j,h)|0;j=(d|0)==0?j:d;h=(d|0)==0?n:h;n=(d|0)==0?n:n+4|0;i[j+(n+-4)>>0]=e>>>24;i[j+(n+-4)+1>>0]=e>>>16;i[j+(n+-4)+2>>0]=e>>>8;i[j+(n+-4)+3>>0]=e;if(h>>>0<(n|1)>>>0){m=h<<1>>>0<(n|1)>>>0?n|1:((n|1)*3|0)>>>1;g=kqb(j,m)|0;if(!g){g=j;c=n;m=h}else{h=m;x=89}}else{g=j;x=89}if((x|0)==89){i[g+n>>0]=o;c=n|1;m=h}n=c+1|0;if(m>>>0>>0){j=m<<1>>>0>>0?n:(n*3|0)>>>1;h=kqb(g,j)|0;if(!h){o=g;n=c}else{g=h;h=j;x=92}}else{h=m;x=92}if((x|0)==92){i[g+c>>0]=p;o=g;m=h}j=n+1|0;if(m>>>0>>0){h=m<<1>>>0>>0?j:(j*3|0)>>>1;g=kqb(o,h)|0;if(!g){g=o;o=n;n=m}else x=95}else{g=o;h=m;x=95}if((x|0)==95){i[g+n>>0]=0;o=j;n=h}m=o+1|0;if(n>>>0>>0){h=n<<1>>>0>>0?m:(m*3|0)>>>1;j=kqb(g,h)|0;if(!j){j=g;m=o;h=n}else{g=j;x=98}}else{h=n;x=98}if((x|0)==98){i[g+o>>0]=0;j=g}g=m+1|0;if(h>>>0>>0){h=kqb(j,h<<1>>>0>>0?g:(g*3|0)>>>1)|0;if(!h){h=j;g=m}else x=101}else{h=j;x=101}if((x|0)==101)i[h+m>>0]=q;if(!(nta(A+8|0,z,g,500041,h)|0))k[y>>2]=k[z>>2];iqb(h);g=k[s>>2]|0;if(g|0){h=k[A+24+148>>2]|0;c:do if(h|0){c=k[z>>2]|0;e=g;while(1){j=e+1|0;m=e+2|0;n=e+3|0;o=(l[j>>0]<<16|l[e>>0]<<24|l[m>>0]<<8|l[n>>0])+12|0;p=c;c=o+c|0;if(c>>>0>>0|c>>>0

>>0){g=77;break}q=kqb(k[A+8>>2]|0,c)|0;if(!q){g=83;break}k[A+8>>2]=q;k[z>>2]=c;if(o|0){d=0;do{i[q+p+d>>0]=i[e+d>>0]|0;d=d+1|0}while((d|0)!=(o|0))}k[y>>2]=c;e=e+((l[j>>0]<<16|l[e>>0]<<24|l[m>>0]<<8|l[n>>0])+12)|0;if((e-g|0)>>>0>=h>>>0)break c}k[f+292>>2]=g;break b}while(0);k[f+292>>2]=0}if((k[v>>2]|0)==3){if(!(k[u>>2]&1073741823)){h=0;g=0}else{h=0;o=0;c=0;p=0;while(1){do if((p&3|0)==3){j=o;g=c}else{n=i[(k[t>>2]|0)+p>>0]|0;g=c+1|0;if(o>>>0>>0){j=o<<1>>>0>>0?g:(g*3|0)>>>1;m=kqb(h,j)|0;if(!m){j=o;g=c;break}else h=m}else j=o;i[h+c>>0]=n}while(0);p=p+1|0;if((p|0)==(k[u>>2]<<2|0))break;else{o=j;c=g}}}if(!(nta(A+8|0,z,g,500046,h)|0))k[y>>2]=k[z>>2];iqb(h)}d:do if(!(k[f+88>>2]|0))x=135;else{g=k[v>>2]|0;switch(g|0){case 6:case 2:break;default:break d}if(!(k[u>>2]&1073741823)){h=0;g=0}else{h=0;o=0;c=0;p=0;while(1){do if((p&3|0)==3){j=o;g=c}else{n=i[(k[t>>2]|0)+p>>0]|0;g=c+1|0;if(o>>>0>>0){j=o<<1>>>0>>0?g:(g*3|0)>>>1;m=kqb(h,j)|0;if(!m){j=o;g=c;break}else h=m}else j=o;i[h+c>>0]=n}while(0);p=p+1|0;if((p|0)==(k[u>>2]<<2|0))break;else{o=j;c=g}}}if(!(nta(A+8|0,z,g,500046,h)|0))k[y>>2]=k[z>>2];iqb(h);x=135}while(0);if((x|0)==135)g=k[v>>2]|0;do if((g|0)==3){d=k[t>>2]|0;q=k[u>>2]|0;if(!q)break;else{m=0;n=0;c=0;g=0;p=0}e:while(1){j=(g|0)!=0;o=c<<2;h=i[d+(o|3)>>0]|0;do if(h<<24>>24==0&(j^1)){m=l[d+(o|2)>>0]|0;n=l[d+(o|1)>>0]|0;h=-1;g=1;j=l[d+o>>0]|0}else{if(h<<24>>24!=-1)break e;if(!j){h=c;g=0;j=p;break}if((p|0)!=(l[d+o>>0]|0)){h=c;j=p;break}if((n|0)!=(l[d+(o|1)>>0]|0)){h=c;j=p;break}if((m|0)==(l[d+(o|2)>>0]|0))break e;else{h=c;j=p}}while(0);c=h+1|0;if((c|0)==(q|0)){x=146;break}else p=j}if((x|0)==146)if(!g)break;Ita(A+8|0,v);g=k[v>>2]|0;x=148}else x=148;while(0);f:do if((x|0)==148){switch(g|0){case 2:case 0:break;default:break f}if(!(k[w>>2]|0))break;Ita(A+8|0,v)}while(0);if(k[A+24+44>>2]|0){g:do switch(k[A+24+12>>2]|0){case 4:case 0:{g=k[A+24+48>>2]|0;h=kqb(0,1)|0;if(!h){g=1;m=0;n=0}else{i[h>>0]=g>>>8;g=2;m=h;n=1}j=k[A+24+48>>2]|0;h=kqb(m,n<<1>>>0>>0?g:(g*3|0)>>>1)|0;if(!h){h=m;g=n;break g}i[h+n>>0]=j;break}case 6:case 2:{g=k[A+24+48>>2]|0;h=kqb(0,1)|0;if(!h){m=1;h=0;o=0}else{i[h>>0]=g>>>8;m=2;o=1}g=k[A+24+48>>2]|0;n=o<<1>>>0>>0?m:(m*3|0)>>>1;j=kqb(h,n)|0;if(!j){m=o;n=o}else{i[j+o>>0]=g;h=j}o=(k[A+24+52>>2]|0)>>>8&255;c=m+1|0;if(n>>>0>>0){j=n<<1>>>0>>0?c:(c*3|0)>>>1;g=kqb(h,j)|0;if(!g){p=h;g=n}else{h=g;g=j;x=163}}else{g=n;x=163}if((x|0)==163){i[h+m>>0]=o;p=h;m=c}n=k[A+24+52>>2]&255;o=m+1|0;if(g>>>0>>0){j=g<<1>>>0>>0?o:(o*3|0)>>>1;h=kqb(p,j)|0;if(!h){h=p;c=g}else{g=j;x=166}}else{h=p;x=166}if((x|0)==166){i[h+m>>0]=n;m=o;c=g}n=(k[A+24+56>>2]|0)>>>8&255;o=m+1|0;if(c>>>0>>0){j=c<<1>>>0>>0?o:(o*3|0)>>>1;g=kqb(h,j)|0;if(!g){o=m;j=c}else{h=g;x=169}}else{j=c;x=169}if((x|0)==169)i[h+m>>0]=n;m=k[A+24+56>>2]&255;g=o+1|0;if(j>>>0>>0){j=kqb(h,j<<1>>>0>>0?g:(g*3|0)>>>1)|0;if(!j){g=o;break g}else h=j}i[h+o>>0]=m;break}case 3:{g=k[A+24+48>>2]|0;h=kqb(0,1)|0;if(!h){h=0;g=0;break g}i[h>>0]=g;g=1;break}default:{h=0;g=0}}while(0);if(!(nta(A+8|0,z,g,500056,h)|0))k[y>>2]=k[z>>2];iqb(h)}if(k[A+24+120>>2]|0){j=k[A+24+124>>2]|0;h=kqb(0,4)|0;g=(h|0)==0?0:4;m=h+((h|0)==0?-4:0)|0;i[m>>0]=j>>>24;i[m+1>>0]=j>>>16;i[m+2>>0]=j>>>8;i[m+3>>0]=j;m=k[A+24+128>>2]|0;j=g<<1>>>0<(g+4|0)>>>0?g+4|0:((g+4|0)*3|0)>>>1;w=kqb(h,j)|0;h=(w|0)==0?h:w;j=(w|0)==0?g:j;g=(w|0)==0?g:g+4|0;i[h+(g+-4)>>0]=m>>>24;i[h+(g+-4)+1>>0]=m>>>16;i[h+(g+-4)+2>>0]=m>>>8;i[h+(g+-4)+3>>0]=m;m=k[A+24+132>>2]&255;if(j>>>0<(g|1)>>>0){j=kqb(h,j<<1>>>0<(g|1)>>>0?g|1:((g|1)*3|0)>>>1)|0;if(j){h=j;x=181}}else x=181;if((x|0)==181){i[h+g>>0]=m;g=g|1}if(!(nta(A+8|0,z,g,500061,h)|0))k[y>>2]=k[z>>2];iqb(h)}g=k[A+24+140>>2]|0;if(g|0){h=k[A+24+152>>2]|0;h:do if(h|0){c=k[z>>2]|0;e=g;while(1){j=e+1|0;m=e+2|0;n=e+3|0;o=(l[j>>0]<<16|l[e>>0]<<24|l[m>>0]<<8|l[n>>0])+12|0;p=c;c=o+c|0;if(c>>>0>>0|c>>>0

>>0){g=77;break}q=kqb(k[A+8>>2]|0,c)|0;if(!q){g=83;break}k[A+8>>2]=q;k[z>>2]=c;if(o|0){d=0;do{i[q+p+d>>0]=i[e+d>>0]|0;d=d+1|0}while((d|0)!=(o|0))}k[y>>2]=c;e=e+((l[j>>0]<<16|l[e>>0]<<24|l[m>>0]<<8|l[n>>0])+12)|0;if((e-g|0)>>>0>=h>>>0)break h}k[f+292>>2]=g;break b}while(0);k[f+292>>2]=0}g=k[A+4>>2]|0;h=k[A>>2]|0;k[A+184>>2]=0;k[A+184+8>>2]=0;m=A+184+4|0;k[m>>2]=0;j=k[f+60>>2]|0;if(!j)g=mta(A+184|0,m,g,h,f+36|0)|0;else g=Ni[j&127](A+184|0,m,g,h,f+36|0)|0;do if(!g){g=nta(A+8|0,z,k[m>>2]|0,500036,k[A+184>>2]|0)|0;if(g|0)break;k[y>>2]=k[z>>2];g=0}while(0);k[A+184+8>>2]=0;k[m>>2]=0;iqb(k[A+184>>2]|0);k[f+292>>2]=g;if(g|0)break;do if(k[A+24+92>>2]|0){g=hqb(7)|0;if(!g)break;w=k[A+24+96>>2]|0;i[g>>0]=w>>>8;i[g+1>>0]=w;i[g+2>>0]=k[A+24+100>>2];i[g+3>>0]=k[A+24+104>>2];i[g+4>>0]=k[A+24+108>>2];i[g+5>>0]=k[A+24+112>>2];i[g+6>>0]=k[A+24+116>>2];if(!(nta(A+8|0,z,7,500066,g)|0))k[y>>2]=k[z>>2];iqb(g)}while(0);g=k[A+24+60>>2]|0;i:do if(!g)g=0;else{t=A+184+4|0;h=0;while(1){d=k[(k[A+24+64>>2]|0)+(h<<2)>>2]|0;if((Fnb(d)|0)>>>0>79){x=210;break}if(!(i[d>>0]|0)){x=212;break}e=k[(k[A+24+68>>2]|0)+(h<<2)>>2]|0;if(!(k[f+96>>2]|0))Jta(A+8|0,d,e);else{s=Fnb(e)|0;k[A+184>>2]=0;k[A+184+8>>2]=0;k[t>>2]=0;g=i[d>>0]|0;do if(g<<24>>24){q=g;g=0;p=0;c=0;j=0;while(1){o=p+1|0;if(c>>>0>>0){n=c<<1>>>0>>0?o:(o*3|0)>>>1;m=kqb(g,n)|0;if(!m){o=p;m=c}else{g=m;m=n;x=217}}else{m=c;x=217}if((x|0)==217){x=0;i[g+p>>0]=q}n=j+1|0;q=i[d+n>>0]|0;if(!(q<<24>>24)){n=o;o=m;break}else{p=o;c=m;j=n}}if(j>>>0>78)break;if(o>>>0<(n+1|0)>>>0){m=o<<1>>>0<(n+1|0)>>>0?n+1|0:((n+1|0)*3|0)>>>1;j=kqb(g,m)|0;if(!j)c=n;else{g=j;j=m;x=222}}else{j=o;x=222}if((x|0)==222){x=0;i[g+n>>0]=0;c=n+1|0;o=j}j=c+1|0;if(o>>>0>>0){n=o<<1>>>0>>0?j:(j*3|0)>>>1;m=kqb(g,n)|0;if(!m){j=c;n=o}else{g=m;m=n;x=225}}else{m=o;x=225}if((x|0)==225){x=0;i[g+c>>0]=0;n=m}m=k[f+60>>2]|0;if(!m)m=mta(A+184|0,t,e,s,f+36|0)|0;else m=Ni[m&127](A+184|0,t,e,s,f+36|0)|0;do if(!m){if(k[t>>2]|0){m=n;q=0;do{c=i[(k[A+184>>2]|0)+q>>0]|0;p=j+1|0;if(m>>>0

>>0){o=m<<1>>>0

>>0?p:(p*3|0)>>>1;n=kqb(g,o)|0;if(n){g=n;m=o;x=233}}else x=233;if((x|0)==233){x=0;i[g+j>>0]=c;j=p}q=q+1|0}while((q|0)!=(k[t>>2]|0))}if(nta(A+8|0,z,j,500071,g)|0)break;k[y>>2]=k[z>>2]}while(0);k[A+184+8>>2]=0;k[t>>2]=0;iqb(k[A+184>>2]|0);k[A+184>>2]=0;iqb(g)}while(0)}h=h+1|0;g=k[A+24+60>>2]|0;if((h|0)==(g|0)){g=h;break i}}if((x|0)==210){k[f+292>>2]=66;break}else if((x|0)==212){k[f+292>>2]=67;break}}while(0);j:do if(k[f+92>>2]|0){if(g|0){h=k[A+24+64>>2]|0;j=0;do{if(!(Wmb(k[h+(j<<2)>>2]|0,500081)|0))break j;j=j+1|0}while((j|0)!=(g|0))}Jta(A+8|0,500081,500089)}while(0);k:do if(k[A+24+72>>2]|0){v=A+184+4|0;w=0;while(1){p=k[(k[A+24+76>>2]|0)+(w<<2)>>2]|0;if((Fnb(p)|0)>>>0>79){x=250;break}g=i[p>>0]|0;if(!(g<<24>>24)){x=252;break}s=k[f+96>>2]|0;d=k[(k[A+24+80>>2]|0)+(w<<2)>>2]|0;e=k[(k[A+24+84>>2]|0)+(w<<2)>>2]|0;u=k[(k[A+24+88>>2]|0)+(w<<2)>>2]|0;t=Fnb(u)|0;o=0;c=0;m=0;q=0;while(1){n=c+1|0;if(m>>>0>>0){j=m<<1>>>0>>0?n:(n*3|0)>>>1;h=kqb(o,j)|0;if(!h){h=o;n=c}else x=256}else{h=o;j=m;x=256}if((x|0)==256){x=0;i[h+c>>0]=g;m=j}j=q+1|0;g=i[p+j>>0]|0;if(!(g<<24>>24)){j=h;g=q;break}else{o=h;c=n;q=j}}if(g>>>0<=78){if(m>>>0<(n+1|0)>>>0){h=m<<1>>>0<(n+1|0)>>>0?n+1|0:((n+1|0)*3|0)>>>1;g=kqb(j,h)|0;if(!g){g=j;o=n;h=m}else x=261}else{g=j;h=m;x=261}if((x|0)==261){x=0;i[g+n>>0]=0;o=n+1|0}n=o+1|0;if(h>>>0>>0){m=h<<1>>>0>>0?n:(n*3|0)>>>1;j=kqb(g,m)|0;if(!j)n=o;else{g=j;h=m;x=264}}else x=264;if((x|0)==264){x=0;i[g+o>>0]=(s|0)!=0&1}o=n+1|0;if(h>>>0>>0){m=h<<1>>>0>>0?o:(o*3|0)>>>1;j=kqb(g,m)|0;if(!j)o=n;else{g=j;h=m;x=267}}else x=267;if((x|0)==267){x=0;i[g+n>>0]=0}n=i[d>>0]|0;j=o+1|0;m=h>>>0>>0;if(!(n<<24>>24))n=g;else{c=h;p=0;while(1){if(m){h=c<<1>>>0>>0?j:(j*3|0)>>>1;m=kqb(g,h)|0;if(!m)h=c;else{g=m;x=271}}else{h=c;x=271}if((x|0)==271){x=0;i[g+o>>0]=n;o=j}p=p+1|0;n=i[d+p>>0]|0;j=o+1|0;m=h>>>0>>0;if(!(n<<24>>24)){n=g;break}else c=h}}if(m){m=h<<1>>>0>>0?j:(j*3|0)>>>1;g=kqb(n,m)|0;if(!g){g=n;m=h}else x=275}else{g=n;m=h;x=275}if((x|0)==275){x=0;i[g+o>>0]=0;o=j}n=i[e>>0]|0;h=o+1|0;j=m>>>0>>0;if(n<<24>>24){c=o;p=0;while(1){if(j){o=m<<1>>>0>>0?h:(h*3|0)>>>1;j=kqb(g,o)|0;if(!j)o=c;else{g=j;m=o;x=279}}else x=279;if((x|0)==279){x=0;i[g+c>>0]=n;o=h}p=p+1|0;n=i[e+p>>0]|0;h=o+1|0;j=m>>>0>>0;if(!(n<<24>>24))break;else c=o}}if(j){n=m<<1>>>0>>0?h:(h*3|0)>>>1;j=kqb(g,n)|0;if(!j)h=o;else{g=j;m=n;x=283}}else x=283;if((x|0)==283){x=0;i[g+o>>0]=0}do if(s|0){k[A+184>>2]=0;k[A+184+8>>2]=0;k[v>>2]=0;j=k[f+60>>2]|0;if(!j)j=mta(A+184|0,v,u,t,f+36|0)|0;else j=Ni[j&127](A+184|0,v,u,t,f+36|0)|0;q=(j|0)==0;if(!((k[v>>2]|0)==0|q^1)){j=m;p=0;do{o=i[(k[A+184>>2]|0)+p>>0]|0;c=h+1|0;if(j>>>0>>0){n=j<<1>>>0>>0?c:(c*3|0)>>>1;m=kqb(g,n)|0;if(m){g=m;j=n;x=292}}else x=292;if((x|0)==292){x=0;i[g+h>>0]=o;h=c}p=p+1|0}while((p|0)!=(k[v>>2]|0))}k[A+184+8>>2]=0;k[v>>2]=0;iqb(k[A+184>>2]|0);if(q)x=299}else{j=i[u>>0]|0;if(!(j<<24>>24)){x=299;break}else p=0;do{c=h+1|0;if(m>>>0>>0){o=m<<1>>>0>>0?c:(c*3|0)>>>1;n=kqb(g,o)|0;if(n){g=n;m=o;x=297}}else x=297;if((x|0)==297){x=0;i[g+h>>0]=j;h=c}p=p+1|0;j=i[u+p>>0]|0}while(j<<24>>24!=0);x=299}while(0);do if((x|0)==299){x=0;if(nta(A+8|0,z,h,500098,g)|0)break;k[y>>2]=k[z>>2]}while(0);iqb(g)}w=w+1|0;if((w|0)==(k[A+24+72>>2]|0))break k}if((x|0)==250){k[f+292>>2]=66;break}else if((x|0)==252){k[f+292>>2]=67;break}}while(0);h=k[A+24+144>>2]|0;if(h|0){j=k[A+24+156>>2]|0;l:do if(j|0){p=k[z>>2]|0;e=h;while(1){m=e+1|0;n=e+2|0;o=e+3|0;c=(l[m>>0]<<16|l[e>>0]<<24|l[n>>0]<<8|l[o>>0])+12|0;q=p;p=c+p|0;if(p>>>0>>0|p>>>0>>0){g=77;break}g=kqb(k[A+8>>2]|0,p)|0;if(!g){g=83;break}k[A+8>>2]=g;k[z>>2]=p;if(c|0){d=0;do{i[g+q+d>>0]=i[e+d>>0]|0;d=d+1|0}while((d|0)!=(c|0))}k[y>>2]=p;e=e+((l[m>>0]<<16|l[e>>0]<<24|l[n>>0]<<8|l[o>>0])+12)|0;if((e-h|0)>>>0>=j>>>0)break l}k[f+292>>2]=g;break b}while(0);k[f+292>>2]=0}if(nta(A+8|0,z,0,500103,0)|0)break;k[y>>2]=k[z>>2]}while(0);_sa(A+24|0);iqb(k[A+4>>2]|0);k[a>>2]=k[A+8>>2];k[b>>2]=k[z>>2];f=k[f+292>>2]|0;r=A;return f|0}function Dta(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;B=r;r=r+304|0;n=k[f+12>>2]|0;j=k[f+16>>2]|0;switch(n|0){case 3:case 0:{h=1;break}case 2:{h=3;break}case 4:{h=2;break}case 6:{h=4;break}default:h=0}A=ha(h,j)|0;if(!(k[f+8>>2]|0)){m=ha(A,d)|0;j=ha((m+7|0)>>>3,e)|0;k[b>>2]=j+e;h=hqb(j+e|0)|0;k[a>>2]=h;if(!((h|0)!=0|(j+e|0)==0)){r=B;return}if(A>>>0<8)if((m|0)!=((m+7|0)>>>3<<3|0)){h=hqb(j)|0;if(h|0){Eta(h,c,(m+7|0)>>>3<<3,m,e);Gta(k[a>>2]|0,h,d,e,k[f+12>>2]|0,k[f+16>>2]|0,g)|0}iqb(h);r=B;return}Gta(h,c,d,e,n,k[f+16>>2]|0,g)|0;r=B;return}Bta(B+124|0,B+96|0,B+64|0,B+32|0,B,d,e,A);x=k[B+64+28>>2]|0;k[b>>2]=x;x=hqb(x)|0;k[a>>2]=x;y=k[B+28>>2]|0;z=hqb(y)|0;a:do if((x|0)!=0&((y|0)==0|(z|0)!=0)){Bta(B+276|0,B+248|0,B+216|0,B+184|0,B+152|0,d,e,A);if(A>>>0>7){if(A>>>3|0){j=ha(A>>>3,d)|0;t=0;do{m=k[B+248+(t<<2)>>2]|0;if(m|0){b=k[B+276+(t<<2)>>2]|0;if(b|0){h=k[B+152+(t<<2)>>2]|0;n=ha(A>>>3,b)|0;e=ha(A>>>3,(k[33504+(t<<2)>>2]|0)+(ha(k[33560+(t<<2)>>2]|0,d)|0)|0)|0;o=ha(j,k[33532+(t<<2)>>2]|0)|0;p=ha(A>>>3,k[33476+(t<<2)>>2]|0)|0;v=0;do{q=h+(ha(n,v)|0)|0;s=e+(ha(o,v)|0)|0;u=0;do{ABb(z+(q+(ha(A>>>3,u)|0))|0,c+(s+(ha(p,u)|0))|0,A>>>3|0)|0;u=u+1|0}while((u|0)!=(b|0));v=v+1|0}while((v|0)!=(m|0))}}t=t+1|0}while((t|0)!=7)}}else{u=0;do{j=k[B+276+(u<<2)>>2]|0;m=k[B+248+(u<<2)>>2]|0;if(m|0){b=33560+(u<<2)|0;n=33532+(u<<2)|0;e=33504+(u<<2)|0;if(j|0){h=k[33476+(u<<2)>>2]|0;o=k[B+152+(u<<2)>>2]<<3;y=0;do{p=ha(y,j)|0;if(A|0){q=ha(k[n>>2]|0,y)|0;q=(ha(q+(k[b>>2]|0)|0,d)|0)+(k[e>>2]|0)|0;x=0;do{t=0;v=ha(q+(ha(x,h)|0)|0,A)|0;w=(ha(x+p|0,A)|0)+o|0;while(1){s=1<<(w&7^7);if(!((l[c+(v>>>3)>>0]|0)&1<<(v&7^7))){C=z+(w>>>3)|0;i[C>>0]=(l[C>>0]|0)&(s^255)}else{C=z+(w>>>3)|0;i[C>>0]=l[C>>0]|0|s}t=t+1|0;if((t|0)==(A|0))break;else{v=v+1|0;w=w+1|0}}x=x+1|0}while((x|0)!=(j|0))}y=y+1|0}while((y|0)!=(m|0))}}u=u+1|0}while((u|0)!=7)}if(A>>>0<8){j=0;do{m=j;j=j+1|0;h=hqb((k[B+32+(j<<2)>>2]|0)-(k[B+32+(m<<2)>>2]|0)|0)|0;if(!h)break a;d=k[B+124+(m<<2)>>2]|0;c=ha(d,A)|0;C=k[B+96+(m<<2)>>2]|0;Eta(h,z+(k[B+(m<<2)>>2]|0)|0,c+7&-8,c,C);C=Gta((k[a>>2]|0)+(k[B+64+(m<<2)>>2]|0)|0,h,d,C,k[f+12>>2]|0,k[f+16>>2]|0,g)|0;iqb(h)}while(!((C|0)!=0|(j|0)==7))}else{h=0;do{if(Gta((k[a>>2]|0)+(k[B+64+(h<<2)>>2]|0)|0,z+(k[B+32+(h<<2)>>2]|0)|0,k[B+124+(h<<2)>>2]|0,k[B+96+(h<<2)>>2]|0,k[f+12>>2]|0,k[f+16>>2]|0,g)|0)break a;h=h+1|0}while((h|0)!=7)}}while(0);iqb(z);r=B;return}function Eta(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,m=0,n=0,o=0;n=r;r=r+16|0;k[n>>2]=0;if(!e){r=n;return}if(!d){if((c|0)==(d|0)){r=n;return}else{f=0;j=0}do{g=f;h=0;while(1){m=a+(g>>>3)|0;i[m>>0]=(1<<(g&7^7)^255)&(l[m>>0]|0);h=h+1|0;if((h|0)==(c-d|0))break;else g=g+1|0}f=f+c|0;j=j+1|0}while((j|0)!=(e|0));k[n>>2]=f;r=n;return}else{j=0;m=0}do{f=j;g=0;while(1){Fta(n,a,(l[b+(f>>>3)>>0]|0)>>>(f&7^7)&1);g=g+1|0;if((g|0)==(d|0))break;else f=f+1|0}j=j+d|0;if((c|0)!=(d|0)){g=k[n>>2]|0;f=g;h=0;while(1){o=a+(f>>>3)|0;i[o>>0]=(1<<(f&7^7)^255)&(l[o>>0]|0);h=h+1|0;if((h|0)==(c-d|0))break;else f=f+1|0}k[n>>2]=c-d+g}m=m+1|0}while((m|0)!=(e|0));r=n;return}function Fta(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=k[a>>2]|0;if(!(c<<24>>24)){i[b+(d>>>3)>>0]=(l[b+(d>>>3)>>0]|0)&(1<<(d&7^7)^255);b=k[a>>2]|0;b=b+1|0;k[a>>2]=b;return}else{i[b+(d>>>3)>>0]=l[b+(d>>>3)>>0]|0|1<<(d&7^7);b=k[a>>2]|0;b=b+1|0;k[a>>2]=b;return}}function Gta(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,m=0,n=0,o=0.0,p=0,q=0.0,s=0,t=0.0,u=0.0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0.0;D=r;r=r+1136|0;switch(e|0){case 3:case 0:{h=1;break}case 2:{h=3;break}case 4:{h=2;break}case 6:{h=4;break}default:h=0}B=ha(h,f)|0;C=((ha(B,c)|0)+7|0)>>>3;h=k[g+44>>2]|0;if(k[g+40>>2]|0)h=(e|0)==3|f>>>0<8?0:h;if(!B){a=31;r=D;return a|0}switch(h|0){case 0:{if(!d){a=0;r=D;return a|0}if(!C){h=0;do{b=a+(ha(h,C+1|0)|0)|0;i[b>>0]=0;h=h+1|0}while((h|0)!=(d|0));h=0;r=D;return h|0}else f=0;do{h=ha(f,C+1|0)|0;c=ha(f,C)|0;i[a+h>>0]=0;e=0;do{i[a+(h+1)+e>>0]=i[b+c+e>>0]|0;e=e+1|0}while((e|0)!=(C|0));f=f+1|0}while((f|0)!=(d|0));h=0;r=D;return h|0}case 1:{h=C|0?C:(C*3|0)>>>1;do if(!C){e=D+1064|0;c=e+60|0;do{k[e>>2]=0;e=e+4|0}while((e|0)<(c|0));c=0;e=0;f=0;g=0;j=0}else{k[D+1064>>2]=0;k[D+1064+8>>2]=0;k[D+1064+4>>2]=0;c=kqb(0,h)|0;if(c|0){k[D+1064+8>>2]=h;k[D+1064>>2]=c;k[D+1064+4>>2]=C;k[D+1064+12>>2]=0;k[D+1064+20>>2]=0;k[D+1064+16>>2]=0;e=kqb(0,h)|0;if(e|0){k[D+1064+20>>2]=h;k[D+1064+12>>2]=e;k[D+1064+16>>2]=C;k[D+1064+24>>2]=0;k[D+1064+32>>2]=0;k[D+1064+28>>2]=0;f=kqb(0,h)|0;if(f|0){k[D+1064+32>>2]=h;k[D+1064+24>>2]=f;k[D+1064+28>>2]=C;k[D+1064+36>>2]=0;k[D+1064+44>>2]=0;k[D+1064+40>>2]=0;g=kqb(0,h)|0;if(g|0){k[D+1064+44>>2]=h;k[D+1064+36>>2]=g;k[D+1064+40>>2]=C;k[D+1064+48>>2]=0;k[D+1064+56>>2]=0;k[D+1064+52>>2]=0;j=kqb(0,h)|0;if(j|0){k[D+1064+56>>2]=h;k[D+1064+48>>2]=j;k[D+1064+52>>2]=C;break}}}}}a=83;r=D;return a|0}while(0);if(d|0){h=0;z=0;m=0;A=0;while(1){y=z;z=b+(ha(A,C)|0)|0;if(!C){Hta(k[D+1064>>2]|0,z,y,0,(B+7|0)>>>3,0);Hta(k[D+1064+12>>2]|0,z,y,0,(B+7|0)>>>3,1);Hta(k[D+1064+24>>2]|0,z,y,0,(B+7|0)>>>3,2);Hta(k[D+1064+36>>2]|0,z,y,0,(B+7|0)>>>3,3);Hta(k[D+1064+48>>2]|0,z,y,0,(B+7|0)>>>3,4);h=0;s=0}else{x=0;do{s=k[D+1064+(x*12|0)>>2]|0;w=x&255;Hta(s,z,y,C,(B+7|0)>>>3,w);v=(x|0)==0;if(v){n=0;p=0;do{n=n+(l[s+p>>0]|0)|0;p=p+1|0}while((p|0)!=(C|0))}else{n=0;p=0;do{E=i[s+p>>0]|0;n=(E<<24>>24>-1?E&255:E&255^255)+n|0;p=p+1|0}while((p|0)!=(C|0))}E=v|n>>>0>>0;m=E?n:m;h=E?w:h;x=x+1|0}while((x|0)!=5);s=m}m=ha(A,C+1|0)|0;i[a+m>>0]=h;if(C|0){n=k[D+1064+((h&255)*12|0)>>2]|0;p=0;do{i[a+(m+1+p)>>0]=i[n+p>>0]|0;p=p+1|0}while((p|0)!=(C|0))}A=A+1|0;if((A|0)==(d|0))break;else m=s}}iqb(c);iqb(e);iqb(f);iqb(g);iqb(j);E=0;r=D;return E|0}case 2:{h=C|0?C:(C*3|0)>>>1;do if(!C){e=D+1064|0;c=e+60|0;do{k[e>>2]=0;e=e+4|0}while((e|0)<(c|0));c=0;e=0;f=0;g=0;j=0}else{k[D+1064>>2]=0;k[D+1064+8>>2]=0;k[D+1064+4>>2]=0;c=kqb(0,h)|0;if(c|0){k[D+1064+8>>2]=h;k[D+1064>>2]=c;k[D+1064+4>>2]=C;k[D+1064+12>>2]=0;k[D+1064+20>>2]=0;k[D+1064+16>>2]=0;e=kqb(0,h)|0;if(e|0){k[D+1064+20>>2]=h;k[D+1064+12>>2]=e;k[D+1064+16>>2]=C;k[D+1064+24>>2]=0;k[D+1064+32>>2]=0;k[D+1064+28>>2]=0;f=kqb(0,h)|0;if(f|0){k[D+1064+32>>2]=h;k[D+1064+24>>2]=f;k[D+1064+28>>2]=C;k[D+1064+36>>2]=0;k[D+1064+44>>2]=0;k[D+1064+40>>2]=0;g=kqb(0,h)|0;if(g|0){k[D+1064+44>>2]=h;k[D+1064+36>>2]=g;k[D+1064+40>>2]=C;k[D+1064+48>>2]=0;k[D+1064+56>>2]=0;k[D+1064+52>>2]=0;j=kqb(0,h)|0;if(j|0){k[D+1064+56>>2]=h;k[D+1064+48>>2]=j;k[D+1064+52>>2]=C;break}}}}}E=83;r=D;return E|0}while(0);if(d|0){m=0;v=0;o=0.0;w=0;while(1){x=b+(ha(w,C)|0)|0;s=0;while(1){h=k[D+1064+(s*12|0)>>2]|0;Hta(h,x,v,C,(B+7|0)>>>3,s&255);vBb(D+40|0,0,1024)|0;if(C|0){n=0;do{E=D+40+((l[h+n>>0]|0)<<2)|0;k[E>>2]=(k[E>>2]|0)+1;n=n+1|0}while((n|0)!=(C|0))}n=D+40+(s<<2)|0;k[n>>2]=(k[n>>2]|0)+1;q=0.0;n=0;do{h=k[D+40+(n<<2)>>2]|0;if(!h)t=0.0;else{t=1.0/(+(h>>>0)/+((C+1|0)>>>0));if(t>32.0){u=0.0;do{u=u+4.0;t=t*.0625}while(t>32.0)}else u=0.0;if(t>2.0)do{u=u+1.0;t=t*.5}while(t>2.0);F=t*3.0;t=+(h>>>0)/+((C+1|0)>>>0)*(u+(F+(t*(t*t)/3.0-t*F*.5)+-1.8333300352096558)*1.4426950216293335)}q=t+q;n=n+1|0}while((n|0)!=256);p=(s|0)==0|q>0]=p;if(C|0){m=k[D+1064+(p*12|0)>>2]|0;n=0;do{i[a+(h+1+n)>>0]=i[m+n>>0]|0;n=n+1|0}while((n|0)!=(C|0))}h=w+1|0;if((h|0)==(d|0))break;else{m=p;v=x;w=h}}}iqb(c);iqb(e);iqb(f);iqb(g);iqb(j);E=0;r=D;return E|0}case 4:{if(!d){E=0;r=D;return E|0}h=0;c=0;do{z=ha(c,C+1|0)|0;y=ha(c,C)|0;E=i[(k[g+48>>2]|0)+c>>0]|0;i[a+z>>0]=E;A=h;h=b+y|0;Hta(a+(z+1)|0,h,A,C,(B+7|0)>>>3,E);c=c+1|0}while((c|0)!=(d|0));h=0;r=D;return h|0}case 3:{e=D;h=g;c=e+36|0;do{k[e>>2]=k[h>>2];e=e+4|0;h=h+4|0}while((e|0)<(c|0));k[D>>2]=1;k[D+24>>2]=0;k[D+28>>2]=0;e=C|0?C:(C*3|0)>>>1;if(!C){e=D+40|0;c=e+60|0;do{k[e>>2]=0;e=e+4|0}while((e|0)<(c|0));h=0}else{k[D+40>>2]=0;k[D+40+8>>2]=0;k[D+40+4>>2]=0;h=kqb(0,e)|0;if(!h)h=0;else{k[D+40+8>>2]=e;k[D+40>>2]=h;k[D+40+4>>2]=C}k[D+40+12>>2]=0;k[D+40+20>>2]=0;k[D+40+16>>2]=0;c=kqb(0,e)|0;if(c|0){k[D+40+20>>2]=e;k[D+40+12>>2]=c;k[D+40+16>>2]=C}k[D+40+24>>2]=0;k[D+40+32>>2]=0;k[D+40+28>>2]=0;c=kqb(0,e)|0;if(c|0){k[D+40+32>>2]=e;k[D+40+24>>2]=c;k[D+40+28>>2]=C}k[D+40+36>>2]=0;k[D+40+44>>2]=0;k[D+40+40>>2]=0;c=kqb(0,e)|0;if(c|0){k[D+40+44>>2]=e;k[D+40+36>>2]=c;k[D+40+40>>2]=C}k[D+40+48>>2]=0;k[D+40+56>>2]=0;k[D+40+52>>2]=0;c=kqb(0,e)|0;if(c){k[D+40+56>>2]=e;k[D+40+48>>2]=c;k[D+40+52>>2]=C}}if(!d)c=D+40|0;else{c=0;n=0;e=0;p=0;while(1){s=b+(ha(p,C)|0)|0;m=0;while(1){h=k[D+40+(m*12|0)+4>>2]|0;f=k[D+40+(m*12|0)>>2]|0;Hta(f,s,n,C,(B+7|0)>>>3,m&255);g=D+1064+(m<<2)|0;k[g>>2]=0;k[D+36>>2]=0;j=k[D+24>>2]|0;if(!j)mta(D+36|0,g,f,h,D)|0;else Ni[j&127](D+36|0,g,f,h,D)|0;iqb(k[D+36>>2]|0);E=k[g>>2]|0;g=(m|0)==0|E>>>0>>0;e=g?E:e;g=g?m:c;m=m+1|0;if((m|0)==5)break;else c=g}h=ha(p,C+1|0)|0;i[a+h>>0]=g;if(C|0){c=k[D+40+(g*12|0)>>2]|0;f=0;do{i[a+(h+1+f)>>0]=i[c+f>>0]|0;f=f+1|0}while((f|0)!=(C|0))}h=p+1|0;if((h|0)==(d|0))break;else{c=g;n=s;p=h}}c=D+40|0;h=k[D+40>>2]|0}k[D+40+8>>2]=0;k[D+40+4>>2]=0;iqb(h);k[c>>2]=0;k[D+40+20>>2]=0;k[D+40+16>>2]=0;iqb(k[D+40+12>>2]|0);k[D+40+12>>2]=0;k[D+40+32>>2]=0;k[D+40+28>>2]=0;iqb(k[D+40+24>>2]|0);k[D+40+24>>2]=0;k[D+40+44>>2]=0;k[D+40+40>>2]=0;iqb(k[D+40+36>>2]|0);k[D+40+36>>2]=0;k[D+40+56>>2]=0;k[D+40+52>>2]=0;iqb(k[D+40+48>>2]|0);E=0;r=D;return E|0}default:{E=88;r=D;return E|0}}return 0}function Hta(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,m=0,n=0;switch(f&255|0){case 0:{if(!d)return;else f=0;do{i[a+f>>0]=i[b+f>>0]|0;f=f+1|0}while((f|0)!=(d|0));return}case 1:{if(e|0){f=0;do{i[a+f>>0]=i[b+f>>0]|0;f=f+1|0}while((f|0)!=(e|0))}if(e>>>0>>0)f=e;else return;do{i[a+f>>0]=(l[b+f>>0]|0)-(l[b+(f-e)>>0]|0);f=f+1|0}while((f|0)!=(d|0));return}case 2:if(!c){if(!d)return;else f=0;do{i[a+f>>0]=i[b+f>>0]|0;f=f+1|0}while((f|0)!=(d|0));return}else{if(!d)return;else f=0;do{i[a+f>>0]=(l[b+f>>0]|0)-(l[c+f>>0]|0);f=f+1|0}while((f|0)!=(d|0));return}case 3:if(!c){if(e|0){f=0;do{i[a+f>>0]=i[b+f>>0]|0;f=f+1|0}while((f|0)!=(e|0))}if(e>>>0>>0)f=e;else return;do{i[a+f>>0]=(l[b+f>>0]|0)-((l[b+(f-e)>>0]|0)>>>1&255);f=f+1|0}while((f|0)!=(d|0));return}else{if(e|0){f=0;do{i[a+f>>0]=(l[b+f>>0]|0)-((l[c+f>>0]|0)>>>1&255);f=f+1|0}while((f|0)!=(e|0))}if(e>>>0>>0)f=e;else return;do{i[a+f>>0]=(l[b+f>>0]|0)-(((l[c+f>>0]|0)+(l[b+(f-e)>>0]|0)|0)>>>1);f=f+1|0}while((f|0)!=(d|0));return}case 4:if(!c){if(e|0){f=0;do{i[a+f>>0]=i[b+f>>0]|0;f=f+1|0}while((f|0)!=(e|0))}if(e>>>0>>0)f=e;else return;do{i[a+f>>0]=(l[b+f>>0]|0)-(l[b+(f-e)>>0]|0);f=f+1|0}while((f|0)!=(d|0));return}else{if(e|0){f=0;do{i[a+f>>0]=(l[b+f>>0]|0)-(l[c+f>>0]|0);f=f+1|0}while((f|0)!=(e|0))}if(e>>>0>>0)f=e;else return;do{m=f-e|0;g=i[b+m>>0]|0;h=i[c+f>>0]|0;m=i[c+m>>0]|0;j=((h&255)-(m&255)|0)>-1?(h&255)-(m&255)|0:0-((h&255)-(m&255))|0;k=((g&255)-(m&255)|0)>-1?(g&255)-(m&255)|0:0-((g&255)-(m&255))|0;n=(h&255)+(g&255)+(ha(m&255,-2)|0)|0;n=((n|0)>-1?n:0-n|0)<<16>>16;i[a+f>>0]=(l[b+f>>0]|0)-(((n|0)<(j|0)&(n|0)<(k|0)?m:(k|0)<(j|0)?h:g)&255);f=f+1|0}while((f|0)!=(d|0));return}default:return}}function Ita(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0;a:do switch(k[b>>2]|0){case 3:{c=k[b+12>>2]|0;if(!c){d=0;c=0}else{d=k[b+8>>2]|0;while(1){if((i[d+((c<<2)+-1)>>0]|0)!=-1){l=c;break}c=c+-1|0;if(!c){d=0;c=0;break a}}m=0;d=0;j=0;e=0;while(1){h=i[(k[b+8>>2]|0)+(m<<2|3)>>0]|0;c=j+1|0;if(e>>>0>>0){g=e<<1>>>0>>0?c:(c*3|0)>>>1;f=kqb(d,g)|0;if(!f)c=j;else{d=f;e=g;n=9}}else n=9;if((n|0)==9){n=0;i[d+j>>0]=h}m=m+1|0;if((m|0)==(l|0))break;else j=c}}break}case 0:{if(!(k[b+16>>2]|0)){d=0;c=0}else{c=k[b+20>>2]|0;d=kqb(0,1)|0;if(!d){c=1;d=0;g=0}else{i[d>>0]=c>>>8;c=2;g=1}e=k[b+20>>2]|0;f=kqb(d,g<<1>>>0>>0?c:(c*3|0)>>>1)|0;if(!f)c=g;else{i[f+g>>0]=e;d=f}}break}case 2:{if(!(k[b+16>>2]|0)){d=0;c=0}else{c=k[b+20>>2]|0;d=kqb(0,1)|0;if(!d){g=1;f=0;h=0}else{i[d>>0]=c>>>8;g=2;f=d;h=1}c=k[b+20>>2]|0;e=h<<1>>>0>>0?g:(g*3|0)>>>1;d=kqb(f,e)|0;if(!d){d=f;g=h;e=h}else i[d+h>>0]=c;h=(k[b+24>>2]|0)>>>8&255;j=g+1|0;if(e>>>0>>0){f=e<<1>>>0>>0?j:(j*3|0)>>>1;c=kqb(d,f)|0;if(c){d=c;e=f;n=23}}else n=23;if((n|0)==23){i[d+g>>0]=h;g=j}h=k[b+24>>2]&255;j=g+1|0;if(e>>>0>>0){f=e<<1>>>0>>0?j:(j*3|0)>>>1;c=kqb(d,f)|0;if(c){d=c;e=f;n=26}}else n=26;if((n|0)==26){i[d+g>>0]=h;g=j}h=(k[b+28>>2]|0)>>>8&255;j=g+1|0;if(e>>>0>>0){f=e<<1>>>0>>0?j:(j*3|0)>>>1;c=kqb(d,f)|0;if(c){d=c;e=f;n=29}}else n=29;if((n|0)==29){i[d+g>>0]=h;g=j}f=k[b+28>>2]&255;c=g+1|0;if(e>>>0>>0){e=kqb(d,e<<1>>>0>>0?c:(c*3|0)>>>1)|0;if(!e){c=g;break a}else d=e}i[d+g>>0]=f}break}default:{d=0;c=0}}while(0);if(nta(a,a+4|0,c,500051,d)|0){iqb(d);return}k[a+8>>2]=k[a+4>>2];iqb(d);return}function Jta(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0;d=i[b>>0]|0;if(!(d<<24>>24))return;else{l=d;m=0;e=0;j=0;h=0}while(1){d=j+1|0;if(h>>>0>>0){g=h<<1>>>0>>0?d:(d*3|0)>>>1;f=kqb(e,g)|0;if(!f)d=j;else{e=f;f=g;n=4}}else{f=h;n=4}if((n|0)==4){n=0;i[e+j>>0]=l;h=f}f=m+1|0;l=i[b+f>>0]|0;if(!(l<<24>>24)){f=m;break}else{m=f;j=d}}if(f>>>0>78)return;if(h>>>0<(d+1|0)>>>0){g=h<<1>>>0<(d+1|0)>>>0?d+1|0:((d+1|0)*3|0)>>>1;f=kqb(e,g)|0;if(!f)g=h;else{e=f;f=g;n=9}}else{f=h;n=9}if((n|0)==9){i[e+d>>0]=0;d=d+1|0;g=f}f=i[c>>0]|0;if(f<<24>>24){m=0;do{l=d+1|0;if(g>>>0>>0){j=g<<1>>>0>>0?l:(l*3|0)>>>1;h=kqb(e,j)|0;if(h){e=h;g=j;n=13}}else n=13;if((n|0)==13){n=0;i[e+d>>0]=f;d=l}m=m+1|0;f=i[c+m>>0]|0}while(f<<24>>24!=0)}if(!(nta(a,a+4|0,d,500076,e)|0))k[a+8>>2]=k[a+4>>2];iqb(e);return}function Kta(a){a=a|0;do switch(a|0){case 0:{a=503802;break}case 1:{a=503785;break}case 10:{a=503732;break}case 11:{a=503676;break}case 13:{a=503629;break}case 14:{a=503629;break}case 15:{a=503629;break}case 16:{a=503574;break}case 17:{a=503378;break}case 18:{a=503536;break}case 19:{a=503378;break}case 20:{a=503481;break}case 21:{a=503427;break}case 22:{a=503378;break}case 23:{a=503330;break}case 24:{a=503300;break}case 25:{a=503258;break}case 26:{a=503197;break}case 27:{a=503159;break}case 28:{a=503109;break}case 29:{a=503073;break}case 30:{a=503017;break}case 31:{a=502987;break}case 32:{a=502956;break}case 33:{a=502930;break}case 34:{a=502901;break}case 35:{a=502841;break}case 36:{a=502805;break}case 37:{a=502761;break}case 38:{a=502738;break}case 39:{a=502655;break}case 40:{a=502609;break}case 41:{a=502569;break}case 42:{a=502504;break}case 43:{a=502460;break}case 44:{a=502414;break}case 45:{a=502374;break}case 48:{a=502340;break}case 49:{a=502283;break}case 50:{a=502283;break}case 51:{a=502234;break}case 52:{a=502199;break}case 53:{a=502171;break}case 54:{a=502113;break}case 55:{a=502066;break}case 56:{a=501990;break}case 57:{a=501935;break}case 58:{a=501872;break}case 59:{a=501831;break}case 60:{a=501756;break}case 61:{a=501675;break}case 62:{a=501626;break}case 63:{a=501548;break}case 64:{a=501490;break}case 66:{a=501395;break}case 67:{a=501301;break}case 68:{a=501212;break}case 69:{a=501145;break}case 71:{a=501085;break}case 72:{a=500989;break}case 73:{a=500965;break}case 74:{a=500941;break}case 75:{a=500884;break}case 76:{a=500837;break}case 77:{a=500805;break}case 78:{a=500773;break}case 79:{a=500741;break}case 80:{a=500706;break}case 81:{a=500669;break}case 82:{a=500600;break}case 83:{a=500575;break}case 84:{a=500517;break}case 86:{a=500467;break}case 87:{a=500386;break}case 88:{a=500313;break}case 89:{a=500255;break}case 90:{a=500221;break}case 91:{a=500190;break}case 92:{a=500159;break}case 93:{a=500127;break}default:a=500108}while(0);return a|0}function Lta(a){a=a|0;var b=0,c=0;k[a>>2]=31972;k[a+24>>2]=1;k[a+28>>2]=1;k[a+32>>2]=0;k[a+4>>2]=0;k[a+4+4>>2]=0;k[a+4+8>>2]=0;k[a+4+12>>2]=0;k[a+4+16>>2]=0;k[a+36>>2]=2;k[a+40>>2]=1;k[a+44>>2]=2048;k[a+48>>2]=3;k[a+52>>2]=128;k[a+56>>2]=1;k[a+60>>2]=0;k[a+64>>2]=0;k[a+68>>2]=0;k[a+76>>2]=1;k[a+80>>2]=1;k[a+72>>2]=1;k[a+88>>2]=0;k[a+84>>2]=0;k[a+92>>2]=0;k[a+96>>2]=1;k[a+116>>2]=0;k[a+116+4>>2]=0;k[a+116+8>>2]=0;k[a+116+12>>2]=0;k[a+100>>2]=6;k[a+104>>2]=8;k[a+108>>2]=0;k[a+112>>2]=0;k[a+160>>2]=0;k[a+160+4>>2]=0;k[a+160+8>>2]=0;k[a+160+12>>2]=0;k[a+144>>2]=6;k[a+148>>2]=8;k[a+152>>2]=0;k[a+156>>2]=0;k[a+140>>2]=0;k[a+132>>2]=0;k[a+136>>2]=0;k[a+252>>2]=0;k[a+268>>2]=0;k[a+268+4>>2]=0;k[a+268+8>>2]=0;k[a+268+12>>2]=0;k[a+268+16>>2]=0;k[a+268+20>>2]=0;b=a+176|0;c=b+52|0;do{k[b>>2]=0;b=b+4|0}while((b|0)<(c|0));k[a+292>>2]=1;return}function Mta(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;r=b;return 0}function Nta(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;k[d+8>>2]=a;k[d+4>>2]=b;k[d>>2]=c;gHa(k[d+8>>2]|0,k[d+4>>2]|0)|0;YDa(k[d+8>>2]|0,520511);hEa(k[d+8>>2]|0,0,0);YDa(k[d+8>>2]|0,503831);YDa(k[d+8>>2]|0,k[d+4>>2]|0);mEa(k[d+8>>2]|0,-3);while(1){a=k[d+8>>2]|0;if(!(k[k[d>>2]>>2]|0))break;YDa(a,k[k[d>>2]>>2]|0);$Da(k[d+8>>2]|0,k[(k[d>>2]|0)+4>>2]|0,0);mEa(k[d+8>>2]|0,(i[k[k[d>>2]>>2]>>0]|0)==95?-5:-3);k[d>>2]=(k[d>>2]|0)+8}mEa(a,-3);yDa(k[d+8>>2]|0,-2);r=d;return}function Ota(a){a=a|0;var b=0,c=0;b=r;r=r+64|0;k[b+16>>2]=a;if(iEa(k[b+16>>2]|0,1)|0){YDa(k[b+16>>2]|0,520511);dEa(k[b+16>>2]|0,-2);if((DDa(k[b+16>>2]|0,-1)|0)==5){YDa(k[b+16>>2]|0,503831);dEa(k[b+16>>2]|0,-2);if(HDa(k[b+16>>2]|0,-1)|0){a=RDa(k[b+16>>2]|0,1)|0;k[b>>2]=a;Fmb(b+24|0,617829,b)|0;a=k[b+16>>2]|0;c=ODa(k[b+16>>2]|0,-1,0)|0;k[b+8>>2]=c;k[b+8+4>>2]=b+24;_Da(a,519438,b+8|0)|0;k[b+20>>2]=1;a=k[b+20>>2]|0;r=b;return a|0}}}YDa(k[b+16>>2]|0,503837);xEa(k[b+16>>2]|0)|0;k[b+20>>2]=1;c=k[b+20>>2]|0;r=b;return c|0}function Pta(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;k[d+8>>2]=a;k[d+4>>2]=b;k[d>>2]=c;eEa(k[d+8>>2]|0,-1e4,k[d+4>>2]|0);YDa(k[d+8>>2]|0,k[d>>2]|0);aEa(k[d+8>>2]|0,1);mEa(k[d+8>>2]|0,-3);yDa(k[d+8>>2]|0,-2);r=d;return}function Qta(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+4>>2]=a;k[c>>2]=b;if((DDa(k[c+4>>2]|0,k[c>>2]|0)|0)!=1){a=k[c+4>>2]|0;b=k[c>>2]|0;bHa(a,b,EDa(k[c+4>>2]|0,1)|0)|0}b=NDa(k[c+4>>2]|0,k[c>>2]|0)|0;r=c;return b|0}function Rta(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+80|0;k[d+16>>2]=a;k[d+12>>2]=b;k[d+8>>2]=c;c=Sta(k[d+16>>2]|0,k[d+12>>2]|0,k[d+8>>2]|0)|0;k[d+4>>2]=c;if(k[d+4>>2]|0){c=k[d+4>>2]|0;r=d;return c|0}k[d>>2]=k[d+12>>2];Fmb(d+20|0,503886,d)|0;$Ga(k[d+16>>2]|0,k[d+8>>2]|0,d+20|0)|0;c=k[d+4>>2]|0;r=d;return c|0}function Sta(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;k[d+8>>2]=a;k[d+4>>2]=b;k[d>>2]=c;c=hHa(k[d+8>>2]|0,k[d>>2]|0,k[d+4>>2]|0)|0;r=d;return c|0}function Tta(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+80|0;k[d+16>>2]=a;k[d+12>>2]=b;k[d+8>>2]=c;c=Uta(k[d+16>>2]|0,k[d+12>>2]|0,k[d+8>>2]|0)|0;k[d+4>>2]=c;if(k[d+4>>2]|0){c=k[d+4>>2]|0;r=d;return c|0}k[d>>2]=k[d+12>>2];Fmb(d+20|0,503886,d)|0;$Ga(k[d+16>>2]|0,k[d+8>>2]|0,d+20|0)|0;c=k[d+4>>2]|0;r=d;return c|0}function Uta(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;k[d+8>>2]=a;k[d+4>>2]=b;k[d>>2]=c;if(!(iEa(k[d+8>>2]|0,k[d>>2]|0)|0)){k[d+12>>2]=0;c=k[d+12>>2]|0;r=d;return c|0}YDa(k[d+8>>2]|0,k[d+4>>2]|0);fEa(k[d+8>>2]|0,-2);c=(DDa(k[d+8>>2]|0,-1)|0)==0;yDa(k[d+8>>2]|0,-3);if(c){k[d+12>>2]=0;c=k[d+12>>2]|0;r=d;return c|0}else{c=RDa(k[d+8>>2]|0,k[d>>2]|0)|0;k[d+12>>2]=c;c=k[d+12>>2]|0;r=d;return c|0}return 0}function Vta(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;k[d+8>>2]=a;k[d+4>>2]=b;k[d>>2]=c;eEa(k[d+8>>2]|0,-1e4,k[d+4>>2]|0);if((k[d>>2]|0)<0)k[d>>2]=(k[d>>2]|0)+-1;oEa(k[d+8>>2]|0,k[d>>2]|0)|0;r=d;return}function Wta(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;r=b;return 0}function Xta(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0.0;d=r;r=r+16|0;k[d+8>>2]=a;k[d+4>>2]=b;k[d>>2]=c;k[(k[d+8>>2]|0)+28>>2]=0;k[(k[d+8>>2]|0)+24>>2]=0;k[(k[d+8>>2]|0)+16>>2]=k[d+4>>2];k[(k[d+8>>2]|0)+20>>2]=k[d>>2];k[(k[d+8>>2]|0)+8>>2]=0;k[(k[d+8>>2]|0)+12>>2]=0;e=+oY();p[k[d+8>>2]>>3]=e;r=d;return}function Yta(a,b){a=a|0;b=b|0;var c=0,d=0.0;c=r;r=r+16|0;k[c+4>>2]=a;k[c>>2]=b;VDa(k[c+4>>2]|0,+((k[(k[c>>2]|0)+12>>2]|0)>>>0));VDa(k[c+4>>2]|0,+((k[(k[c>>2]|0)+8>>2]|0)>>>0));b=k[c+4>>2]|0;d=+oY();VDa(b,d-+p[k[c>>2]>>3]);r=c;return 3}function Zta(a,b){a=a|0;b=b|0;var c=0,d=0.0;c=r;r=r+16|0;k[c+4>>2]=a;k[c>>2]=b;b=~~+mHa(k[c+4>>2]|0,2,+((k[(k[c>>2]|0)+12>>2]|0)>>>0));k[(k[c>>2]|0)+12>>2]=b;b=~~+mHa(k[c+4>>2]|0,3,+((k[(k[c>>2]|0)+8>>2]|0)>>>0));k[(k[c>>2]|0)+8>>2]=b;if(!(GDa(k[c+4>>2]|0,4)|0)){b=k[c+4>>2]|0;VDa(b,1.0);r=c;return 1}d=+oY();d=d-+LDa(k[c+4>>2]|0,4);p[k[c>>2]>>3]=d;b=k[c+4>>2]|0;VDa(b,1.0);r=c;return 1}function _ta(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+48|0;k[c+36>>2]=a;k[c+32>>2]=b;b=xDa(k[c+36>>2]|0)|0;k[c+28>>2]=b;k[c+24>>2]=0;k[c+20>>2]=0;k[c+16>>2]=0;b=fHa(k[c+36>>2]|0,2,c+20|0)|0;k[c+12>>2]=b;b=~~+mHa(k[c+36>>2]|0,3,1.0);k[c+8>>2]=b;b=~~+mHa(k[c+36>>2]|0,4,-1.0);k[c+4>>2]=b;b=qY(k[(k[c+32>>2]|0)+20>>2]|0)|0;k[c>>2]=b;if((k[c+8>>2]|0)<0)k[c+8>>2]=(k[c+20>>2]|0)+(k[c+8>>2]|0)+1;if((k[c+4>>2]|0)<0)k[c+4>>2]=(k[c+20>>2]|0)+(k[c+4>>2]|0)+1;if((k[c+8>>2]|0)<1)k[c+8>>2]=1;if((k[c+4>>2]|0)>(k[c+20>>2]|0))k[c+4>>2]=k[c+20>>2];if((k[c+8>>2]|0)<=(k[c+4>>2]|0)){b=$ta(k[c+32>>2]|0,(k[c+12>>2]|0)+(k[c+8>>2]|0)+-1|0,(k[c+4>>2]|0)-(k[c+8>>2]|0)+1|0,c+16|0)|0;k[c+24>>2]=b}a=k[c+36>>2]|0;if(k[c+24>>2]|0){UDa(a);a=k[c+36>>2]|0;YDa(a,gj[k[(k[(k[c+32>>2]|0)+16>>2]|0)+12>>2]&511](k[k[(k[c+32>>2]|0)+16>>2]>>2]|0,k[c+24>>2]|0)|0);VDa(k[c+36>>2]|0,+(((k[c+16>>2]|0)+(k[c+8>>2]|0)-1|0)>>>0));a=k[c+36>>2]|0;a=xDa(a)|0;b=k[c+28>>2]|0;b=a-b|0;r=c;return b|0}else{VDa(a,+(((k[c+16>>2]|0)+(k[c+8>>2]|0)-1|0)>>>0));UDa(k[c+36>>2]|0);UDa(k[c+36>>2]|0);a=k[c+36>>2]|0;a=xDa(a)|0;b=k[c+28>>2]|0;b=a-b|0;r=c;return b|0}return 0}function $ta(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+48|0;k[e+36>>2]=a;k[e+32>>2]=b;k[e+28>>2]=c;k[e+24>>2]=d;k[e+20>>2]=k[(k[e+36>>2]|0)+16>>2];k[e+16>>2]=k[(k[e+36>>2]|0)+20>>2];k[e+12>>2]=0;k[e+8>>2]=0;while(1){if(!((k[e+12>>2]|0)>>>0<(k[e+28>>2]|0)>>>0?(k[e+8>>2]|0)==0:0))break;if(((k[e+28>>2]|0)-(k[e+12>>2]|0)|0)>>>0<=8192)a=(k[e+28>>2]|0)-(k[e+12>>2]|0)|0;else a=8192;k[e>>2]=a;d=Ni[k[(k[e+20>>2]|0)+4>>2]&127](k[k[e+20>>2]>>2]|0,(k[e+32>>2]|0)+(k[e+12>>2]|0)|0,k[e>>2]|0,e+4|0,k[e+16>>2]|0)|0;k[e+8>>2]=d;k[e+12>>2]=(k[e+12>>2]|0)+(k[e+4>>2]|0)}k[k[e+24>>2]>>2]=k[e+12>>2];d=(k[e+36>>2]|0)+8|0;k[d>>2]=(k[d>>2]|0)+(k[e+12>>2]|0);r=e;return k[e+8>>2]|0}function aua(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+1072|0;k[c+1064>>2]=a;k[c+1060>>2]=b;k[c+1056>>2]=0;b=xDa(k[c+1064>>2]|0)|0;k[c+1052>>2]=b;b=eHa(k[c+1064>>2]|0,3,1279174,c+12|0)|0;k[c+8>>2]=b;b=qY(k[(k[c+1060>>2]|0)+20>>2]|0)|0;k[c+4>>2]=b;wHa(k[c+1064>>2]|0,c+16|0);xHa(c+16|0,k[c+8>>2]|0,k[c+12>>2]|0);do if(GDa(k[c+1064>>2]|0,2)|0){a=k[c+1060>>2]|0;b=~~+LDa(k[c+1064>>2]|0,2)>>>0;b=gua(a,b-(k[c+12>>2]|0)|0,c+16|0)|0;k[c+1056>>2]=b}else{b=eHa(k[c+1064>>2]|0,2,503901,0)|0;k[c>>2]=b;if((i[k[c>>2]>>0]|0)==42)if((i[(k[c>>2]|0)+1>>0]|0)==108){b=bua(k[c+1060>>2]|0,c+16|0)|0;k[c+1056>>2]=b;break}if((i[k[c>>2]>>0]|0)==42)if((i[(k[c>>2]|0)+1>>0]|0)==97){b=fua(k[c+1060>>2]|0,c+16|0)|0;k[c+1056>>2]=b;break}$Ga(k[c+1064>>2]|0,2,503904)|0}while(0);b=(k[c+1056>>2]|0)!=0;zHa(c+16|0);a=k[c+1064>>2]|0;if(b){YDa(a,gj[k[(k[(k[c+1060>>2]|0)+16>>2]|0)+12>>2]&511](k[k[(k[c+1060>>2]|0)+16>>2]>>2]|0,k[c+1056>>2]|0)|0);CDa(k[c+1064>>2]|0,-2);UDa(k[c+1064>>2]|0);BDa(k[c+1064>>2]|0,-4);a=k[c+1064>>2]|0;a=xDa(a)|0;b=k[c+1052>>2]|0;b=a-b|0;r=c;return b|0}else{UDa(a);UDa(k[c+1064>>2]|0);a=k[c+1064>>2]|0;a=xDa(a)|0;b=k[c+1052>>2]|0;b=a-b|0;r=c;return b|0}return 0}function bua(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=r;r=r+32|0;k[e+20>>2]=a;k[e+16>>2]=b;k[e+12>>2]=0;while(1){if(k[e+12>>2]|0){d=15;break}c=cua(k[e+20>>2]|0,e,e+8|0)|0;k[e+12>>2]=c;k[e+4>>2]=0;while(1){if((k[e+4>>2]|0)>>>0<(k[e+8>>2]|0)>>>0)b=(i[(k[e>>2]|0)+(k[e+4>>2]|0)>>0]|0)!=10;else b=0;c=k[e+4>>2]|0;if(!b)break;if((i[(k[e>>2]|0)+c>>0]|0)!=13){if((k[k[e+16>>2]>>2]|0)>>>0>=((k[e+16>>2]|0)+12+1024|0)>>>0)vHa(k[e+16>>2]|0)|0;a=i[(k[e>>2]|0)+(k[e+4>>2]|0)>>0]|0;b=k[e+16>>2]|0;c=k[b>>2]|0;k[b>>2]=c+1;i[c>>0]=a}k[e+4>>2]=(k[e+4>>2]|0)+1}b=k[e+20>>2]|0;a=k[e+4>>2]|0;if(c>>>0<(k[e+8>>2]|0)>>>0)break;eua(b,a)}if((d|0)==15){d=k[e+12>>2]|0;r=e;return d|0}eua(b,a+1|0);d=k[e+12>>2]|0;r=e;return d|0}function cua(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+32|0;k[d+24>>2]=a;k[d+20>>2]=b;k[d+16>>2]=c;k[d+12>>2]=0;k[d+8>>2]=k[(k[d+24>>2]|0)+16>>2];k[d+4>>2]=k[(k[d+24>>2]|0)+20>>2];if(dua(k[d+24>>2]|0)|0){b=Ni[k[(k[d+8>>2]|0)+8>>2]&127](k[k[d+8>>2]>>2]|0,(k[d+24>>2]|0)+32|0,8192,d,k[d+4>>2]|0)|0;k[d+12>>2]=b;k[(k[d+24>>2]|0)+24>>2]=0;k[(k[d+24>>2]|0)+28>>2]=k[d>>2]}k[k[d+16>>2]>>2]=(k[(k[d+24>>2]|0)+28>>2]|0)-(k[(k[d+24>>2]|0)+24>>2]|0);k[k[d+20>>2]>>2]=(k[d+24>>2]|0)+32+(k[(k[d+24>>2]|0)+24>>2]|0);r=d;return k[d+12>>2]|0}function dua(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;r=b;return (k[(k[b>>2]|0)+24>>2]|0)>>>0>=(k[(k[b>>2]|0)+28>>2]|0)>>>0|0}function eua(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+4>>2]=a;k[c>>2]=b;b=(k[c+4>>2]|0)+12|0;k[b>>2]=(k[b>>2]|0)+(k[c>>2]|0);b=(k[c+4>>2]|0)+24|0;k[b>>2]=(k[b>>2]|0)+(k[c>>2]|0);if(!(dua(k[c+4>>2]|0)|0)){r=c;return}k[(k[c+4>>2]|0)+28>>2]=0;k[(k[c+4>>2]|0)+24>>2]=0;r=c;return}function fua(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+32|0;k[c+20>>2]=a;k[c+16>>2]=b;k[c+12>>2]=0;k[c+8>>2]=0;while(1){if(k[c+12>>2]|0)break;a=cua(k[c+20>>2]|0,c+4|0,c)|0;k[c+12>>2]=a;k[c+8>>2]=(k[c+8>>2]|0)+(k[c>>2]|0);xHa(k[c+16>>2]|0,k[c+4>>2]|0,k[c>>2]|0);eua(k[c+20>>2]|0,k[c>>2]|0)}if((k[c+12>>2]|0)!=-2){k[c+24>>2]=k[c+12>>2];a=k[c+24>>2]|0;r=c;return a|0}if((k[c+8>>2]|0)>>>0>0){k[c+24>>2]=0;a=k[c+24>>2]|0;r=c;return a|0}else{k[c+24>>2]=-2;a=k[c+24>>2]|0;r=c;return a|0}return 0}function gua(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+32|0;k[d+24>>2]=a;k[d+20>>2]=b;k[d+16>>2]=c;k[d+12>>2]=0;k[d+8>>2]=0;if(k[d+12>>2]|0){b=k[d+12>>2]|0;r=d;return b|0}do{b=cua(k[d+24>>2]|0,d,d+4|0)|0;k[d+12>>2]=b;if((k[d+4>>2]|0)>>>0<((k[d+20>>2]|0)-(k[d+8>>2]|0)|0)>>>0)c=k[d+4>>2]|0;else c=(k[d+20>>2]|0)-(k[d+8>>2]|0)|0;k[d+4>>2]=c;xHa(k[d+16>>2]|0,k[d>>2]|0,k[d+4>>2]|0);eua(k[d+24>>2]|0,k[d+4>>2]|0);k[d+8>>2]=(k[d+8>>2]|0)+(k[d+4>>2]|0)}while((k[d+12>>2]|0)==0?(k[d+8>>2]|0)>>>0<(k[d+20>>2]|0)>>>0:0);b=k[d+12>>2]|0;r=d;return b|0}function hua(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;Zs(k[b>>2]|0,0,33588);r=b;return 0}function iua(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;yDa(k[b>>2]|0,1);if(!(DDa(k[b>>2]|0,1)|0))$Da(k[b>>2]|0,1499,0);$Da(k[b>>2]|0,1500,1);r=b;return 1}function jua(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;r=b;return 0}function kua(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;k[b>>2]=a;c=(NDa(k[b>>2]|0,1)|0)!=0;a=k[b>>2]|0;if(c){c=xDa(a)|0;k[b+4>>2]=c;c=k[b+4>>2]|0;r=b;return c|0}else{CDa(a,-10003);rEa(k[b>>2]|0,0,0,0)|0;yDa(k[b>>2]|0,2);lua(k[b>>2]|0);xEa(k[b>>2]|0)|0;k[b+4>>2]=0;c=k[b+4>>2]|0;r=b;return c|0}return 0}function lua(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;hEa(k[b>>2]|0,0,0);VDa(k[b>>2]|0,1.0);CDa(k[b>>2]|0,-3);kEa(k[b>>2]|0,-3);ADa(k[b>>2]|0,-2);yDa(k[b>>2]|0,-2);r=b;return}function mua(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;$Da(k[b>>2]|0,1501,1);r=b;return 1}function nua(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;k[b>>2]=a;CDa(k[b>>2]|0,-10003);ADa(k[b>>2]|0,1);c=k[b>>2]|0;c=(rEa(c,(xDa(k[b>>2]|0)|0)-1|0,-1,0)|0)!=0;a=k[b>>2]|0;do if(c)if(oua(a)|0){k[b+4>>2]=2;break}else{xEa(k[b>>2]|0)|0;k[b+4>>2]=0;break}else{c=xDa(a)|0;k[b+4>>2]=c}while(0);r=b;return k[b+4>>2]|0}function oua(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;if((DDa(k[b>>2]|0,-1)|0)==5){VDa(k[b>>2]|0,1.0);dEa(k[b>>2]|0,-2);UDa(k[b>>2]|0);ADa(k[b>>2]|0,-2);k[b+4>>2]=1;a=k[b+4>>2]|0;r=b;return a|0}else{k[b+4>>2]=0;a=k[b+4>>2]|0;r=b;return a|0}return 0}function pua(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;YDa(k[b>>2]|0,503943);hEa(k[b>>2]|0,0,0);Zs(k[b>>2]|0,0,33612);kEa(k[b>>2]|0,-3);r=b;return 0}function qua(a){a=a|0;var b=0;b=r;r=r+32|0;k[b+12>>2]=a;a=fHa(k[b+12>>2]|0,1,0)|0;k[b+8>>2]=a;k[b+4>>2]=0;a=rua(k[b+8>>2]|0,b+4|0)|0;k[b>>2]=a;a=k[b+12>>2]|0;if(k[b>>2]|0){UDa(a);a=k[b+12>>2]|0;YDa(a,dZ(k[b>>2]|0)|0);k[b+16>>2]=2;a=k[b+16>>2]|0;r=b;return a|0}else{k[b+20>>2]=k[k[k[(k[b+4>>2]|0)+16>>2]>>2]>>2];YDa(a,hpb(b+20|0)|0);sua(k[b+12>>2]|0,k[b+4>>2]|0);k[b+16>>2]=2;a=k[b+16>>2]|0;r=b;return a|0}return 0}function rua(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+8>>2]=a;k[c+4>>2]=b;if(gpb(k[c+8>>2]|0,c)|0){b=bZ(c,4,k[c+4>>2]|0)|0;k[c+12>>2]=b;b=k[c+12>>2]|0;r=c;return b|0}else{b=cZ(k[c+8>>2]|0,k[c+4>>2]|0)|0;k[c+12>>2]=b;b=k[c+12>>2]|0;r=c;return b|0}return 0}function sua(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+32|0;k[c+20>>2]=a;k[c+16>>2]=b;hEa(k[c+20>>2]|0,0,0);b=xDa(k[c+20>>2]|0)|0;k[c>>2]=b;YDa(k[c+20>>2]|0,607671);YDa(k[c+20>>2]|0,k[k[c+16>>2]>>2]|0);kEa(k[c+20>>2]|0,k[c>>2]|0);YDa(k[c+20>>2]|0,503952);YDa(k[c+20>>2]|0,503955);k[c+4>>2]=1;k[c+12>>2]=k[(k[c+16>>2]|0)+4>>2];hEa(k[c+20>>2]|0,0,0);a:do if(k[c+12>>2]|0)while(1){if(!(k[k[c+12>>2]>>2]|0))break a;VDa(k[c+20>>2]|0,+(k[c+4>>2]|0));YDa(k[c+20>>2]|0,k[k[c+12>>2]>>2]|0);kEa(k[c+20>>2]|0,-3);k[c+4>>2]=(k[c+4>>2]|0)+1;k[c+12>>2]=(k[c+12>>2]|0)+4}while(0);kEa(k[c+20>>2]|0,k[c>>2]|0);k[c+4>>2]=1;hEa(k[c+20>>2]|0,0,0);k[c+8>>2]=k[(k[c+16>>2]|0)+16>>2];if(!(k[c+8>>2]|0)){a=k[c+20>>2]|0;b=k[c>>2]|0;kEa(a,b);r=c;return}while(1){if(!(k[k[c+8>>2]>>2]|0))break;VDa(k[c+20>>2]|0,+(k[c+4>>2]|0));b=k[c+20>>2]|0;k[c+24>>2]=k[k[k[c+8>>2]>>2]>>2];YDa(b,hpb(c+24|0)|0);kEa(k[c+20>>2]|0,-3);k[c+4>>2]=(k[c+4>>2]|0)+1;k[c+8>>2]=(k[c+8>>2]|0)+4}a=k[c+20>>2]|0;b=k[c>>2]|0;kEa(a,b);r=c;return}function tua(a){a=a|0;var b=0;b=r;r=r+32|0;k[b+12>>2]=a;a=fHa(k[b+12>>2]|0,1,0)|0;k[b+8>>2]=a;k[b+4>>2]=0;a=rua(k[b+8>>2]|0,b+4|0)|0;k[b>>2]=a;a=k[b+12>>2]|0;if(k[b>>2]|0){UDa(a);a=k[b+12>>2]|0;YDa(a,dZ(k[b>>2]|0)|0);k[b+16>>2]=2;a=k[b+16>>2]|0;r=b;return a|0}else{YDa(a,k[k[b+4>>2]>>2]|0);sua(k[b+12>>2]|0,k[b+4>>2]|0);k[b+16>>2]=2;a=k[b+16>>2]|0;r=b;return a|0}return 0}function uua(a){a=a|0;var b=0,c=0;b=r;r=r+272|0;k[b>>2]=a;i[b+8+256>>0]=0;c=(eqb(b+8|0,256)|0)<0;a=k[b>>2]|0;if(c){UDa(a);YDa(k[b>>2]|0,503984);k[b+4>>2]=2;c=k[b+4>>2]|0;r=b;return c|0}else{YDa(a,b+8|0);k[b+4>>2]=1;c=k[b+4>>2]|0;r=b;return c|0}return 0}function vua(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+48|0;k[c+28>>2]=a;k[c+24>>2]=b;k[c>>2]=16;b=($ob(k[k[c+24>>2]>>2]|0,c+8|0,c)|0)<0;a=k[c+28>>2]|0;if(b){UDa(a);YDa(k[c+28>>2]|0,504003);r=c;return 2}else{k[c+32>>2]=k[c+8+4>>2];YDa(a,hpb(c+32|0)|0);b=k[c+28>>2]|0;VDa(b,+((jpb(j[c+8+2>>1]|0)|0)&65535));r=c;return 2}return 0}function wua(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+48|0;k[c+28>>2]=a;k[c+24>>2]=b;k[c>>2]=16;b=(apb(k[k[c+24>>2]>>2]|0,c+8|0,c)|0)<0;a=k[c+28>>2]|0;if(b){UDa(a);YDa(k[c+28>>2]|0,504022);r=c;return 2}else{k[c+32>>2]=k[c+8+4>>2];YDa(a,hpb(c+32|0)|0);b=k[c+28>>2]|0;VDa(b,+((jpb(j[c+8+2>>1]|0)|0)&65535));r=c;return 2}return 0}function xua(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+4>>2]=a;k[c>>2]=b;b=eZ(SY(k[c+4>>2]|0,2,k[c>>2]|0,0)|0)|0;r=c;return b|0}function yua(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+64|0;k[e+40>>2]=a;k[e+36>>2]=b;j[e+48>>1]=c;k[e+32>>2]=d;k[e+16>>2]=0;k[e+16+4>>2]=0;k[e+16+8>>2]=0;k[e+16+12>>2]=0;j[e+16>>1]=2;d=Vob(j[e+48>>1]|0)|0;j[e+16+2>>1]=d;do if(Wmb(k[e+36>>2]|0,504280)|0){if(!(gpb(k[e+36>>2]|0,e+16+4|0)|0)){k[e+4>>2]=0;d=cZ(k[e+36>>2]|0,e+4|0)|0;k[e+8>>2]=d;if(!(k[e+8>>2]|0)){k[e>>2]=k[(k[e+4>>2]|0)+16>>2];k[e+16+4>>2]=k[k[k[e>>2]>>2]>>2];break}d=dZ(k[e+8>>2]|0)|0;k[e+44>>2]=d;d=k[e+44>>2]|0;r=e;return d|0}}else j[e+16>>1]=0;while(0);d=XY(k[e+40>>2]|0,e+16|0,16,k[e+32>>2]|0)|0;k[e+8>>2]=d;d=eZ(k[e+8>>2]|0)|0;k[e+44>>2]=d;d=k[e+44>>2]|0;r=e;return d|0}function zua(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+48|0;k[d+36>>2]=a;k[d+32>>2]=b;j[d+44>>1]=c;k[d+16>>2]=0;k[d+16+4>>2]=0;k[d+16+8>>2]=0;k[d+16+12>>2]=0;a=Wob(0)|0;k[d+16+4>>2]=a;a=Vob(j[d+44>>1]|0)|0;j[d+16+2>>1]=a;j[d+16>>1]=2;do if(Wmb(k[d+32>>2]|0,504280)|0)if(!(gpb(k[d+32>>2]|0,d+16+4|0)|0)){k[d+4>>2]=0;a=cZ(k[d+32>>2]|0,d+4|0)|0;k[d+8>>2]=a;if(!(k[d+8>>2]|0)){k[d>>2]=k[(k[d+4>>2]|0)+16>>2];k[d+16+4>>2]=k[k[k[d>>2]>>2]>>2];break}a=dZ(k[d+8>>2]|0)|0;k[d+40>>2]=a;a=k[d+40>>2]|0;r=d;return a|0}while(0);a=TY(k[d+36>>2]|0,d+16|0,16)|0;k[d+8>>2]=a;if(k[d+8>>2]|0)PY(k[d+36>>2]|0);a=eZ(k[d+8>>2]|0)|0;k[d+40>>2]=a;a=k[d+40>>2]|0;r=d;return a|0}function Aua(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=r;r=r+32|0;k[f+16>>2]=a;k[f+12>>2]=b;k[f+8>>2]=c;k[f+4>>2]=d;k[f>>2]=e;k[(k[f+16>>2]|0)+4>>2]=k[f+12>>2];k[(k[f+16>>2]|0)+8>>2]=k[f+8>>2];k[(k[f+16>>2]|0)+12>>2]=k[f+4>>2];k[k[f+16>>2]>>2]=k[f>>2];r=f;return}function Bua(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;switch(k[b>>2]|0){case 0:{k[b+4>>2]=0;break}case -2:{k[b+4>>2]=504041;break}case -1:{k[b+4>>2]=504121;break}default:k[b+4>>2]=514770}r=b;return k[b+4>>2]|0}function Cua(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+80|0;k[d+16>>2]=a;k[d+12>>2]=b;k[d+8>>2]=c;c=fHa(k[d+16>>2]|0,2,0)|0;k[d+4>>2]=c;while(1){if(k[k[d+12>>2]>>2]|0)b=(Wmb(k[d+4>>2]|0,k[k[d+12>>2]>>2]|0)|0)!=0;else b=0;a=k[d+12>>2]|0;if(!b)break;k[d+12>>2]=a+8}if(!(k[a+4>>2]|0)){k[d>>2]=k[d+4>>2];Fmb(d+20|0,504048,d)|0;$Ga(k[d+16>>2]|0,2,d+20|0)|0}c=gj[k[(k[d+12>>2]|0)+4>>2]&511](k[d+16>>2]|0,k[d+8>>2]|0)|0;r=d;return c|0}function Dua(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+4>>2]=a;k[c>>2]=b;b=Eua(k[c+4>>2]|0,k[c>>2]|0,1,2)|0;r=c;return b|0}function Eua(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+32|0;k[e+16>>2]=a;k[e+12>>2]=b;k[e+8>>2]=c;k[e+4>>2]=d;b=Qta(k[e+16>>2]|0,3)|0;k[e>>2]=b;b=Fua(k[e+16>>2]|0,k[e+12>>2]|0,k[e+8>>2]|0,k[e+4>>2]|0,e,4)|0;r=e;return b|0}function Fua(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+32|0;k[g+20>>2]=a;k[g+16>>2]=b;k[g+12>>2]=c;k[g+8>>2]=d;k[g+4>>2]=e;k[g>>2]=f;e=(Xob(k[k[g+16>>2]>>2]|0,k[g+12>>2]|0,k[g+8>>2]|0,k[g+4>>2]|0,k[g>>2]|0)|0)<0;a=k[g+20>>2]|0;if(e){UDa(a);YDa(k[g+20>>2]|0,504075);k[g+24>>2]=2;e=k[g+24>>2]|0;r=g;return e|0}else{VDa(a,1.0);k[g+24>>2]=1;e=k[g+24>>2]|0;r=g;return e|0}return 0}function Gua(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+4>>2]=a;k[c>>2]=b;b=Eua(k[c+4>>2]|0,k[c>>2]|0,6,1)|0;r=c;return b|0}function Hua(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+4>>2]=a;k[c>>2]=b;b=Eua(k[c+4>>2]|0,k[c>>2]|0,1,9)|0;r=c;return b|0}function Iua(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+4>>2]=a;k[c>>2]=b;b=Eua(k[c+4>>2]|0,k[c>>2]|0,1,5)|0;r=c;return b|0}function Jua(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+4>>2]=a;k[c>>2]=b;b=Eua(k[c+4>>2]|0,k[c>>2]|0,1,6)|0;r=c;return b|0}function Kua(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+4>>2]=a;k[c>>2]=b;b=Eua(k[c+4>>2]|0,k[c>>2]|0,0,34)|0;r=c;return b|0}function Lua(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+12>>2]=a;k[c+8>>2]=b;if((DDa(k[c+12>>2]|0,3)|0)!=5){b=k[c+12>>2]|0;bHa(b,3,EDa(k[c+12>>2]|0,5)|0)|0}YDa(k[c+12>>2]|0,523809);dEa(k[c+12>>2]|0,3);if((DDa(k[c+12>>2]|0,-1)|0)!=1)$Ga(k[c+12>>2]|0,3,504093)|0;b=(NDa(k[c+12>>2]|0,-1)|0)&65535;k[c>>2]=b;YDa(k[c+12>>2]|0,504121);dEa(k[c+12>>2]|0,3);if(!(GDa(k[c+12>>2]|0,-1)|0))$Ga(k[c+12>>2]|0,3,504129)|0;b=~~+LDa(k[c+12>>2]|0,-1)&65535;k[c+4>>2]=b;b=Fua(k[c+12>>2]|0,k[c+8>>2]|0,1,13,c,8)|0;r=c;return b|0}function Mua(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+8>>2]=a;k[c+4>>2]=b;b=~~+lHa(k[c+8>>2]|0,3);k[c>>2]=b;b=Fua(k[c+8>>2]|0,k[c+4>>2]|0,1,13,c,4)|0;r=c;return b|0}function Nua(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+4>>2]=a;k[c>>2]=b;b=Oua(k[c+4>>2]|0,k[c>>2]|0,0,35)|0;r=c;return b|0}function Oua(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+32|0;k[e+20>>2]=a;k[e+16>>2]=b;k[e+12>>2]=c;k[e+8>>2]=d;if((DDa(k[e+20>>2]|0,3)|0)!=5){b=k[e+20>>2]|0;bHa(b,3,EDa(k[e+20>>2]|0,5)|0)|0}YDa(k[e+20>>2]|0,504161);dEa(k[e+20>>2]|0,3);if(!(HDa(k[e+20>>2]|0,-1)|0))$Ga(k[e+20>>2]|0,3,504171)|0;if(!(gpb(ODa(k[e+20>>2]|0,-1,0)|0,e)|0))$Ga(k[e+20>>2]|0,3,504205)|0;YDa(k[e+20>>2]|0,504236);dEa(k[e+20>>2]|0,3);if(!(HDa(k[e+20>>2]|0,-1)|0))$Ga(k[e+20>>2]|0,3,504246)|0;b=Wob(0)|0;k[e+4>>2]=b;if(Wmb(ODa(k[e+20>>2]|0,-1,0)|0,504280)|0)if(!(gpb(ODa(k[e+20>>2]|0,-1,0)|0,e+4|0)|0))$Ga(k[e+20>>2]|0,3,504282)|0;b=Fua(k[e+20>>2]|0,k[e+16>>2]|0,k[e+12>>2]|0,k[e+8>>2]|0,e,8)|0;r=e;return b|0}function Pua(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+4>>2]=a;k[c>>2]=b;b=Oua(k[c+4>>2]|0,k[c>>2]|0,0,36)|0;r=c;return b|0}function Qua(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0;o=r;r=r+16|0;k[c>>2]=((b|0)/4|0)*3;m=mBb((b|0)<-3?-1:((b|0)/4|0)*3|0)|0;k[o>>2]=0;if((b|0)<0){r=o;return m|0}else{l=m;c=0}a:while(1){j=0;h=0;while(1){if((c|0)>(b|0))n=13;else{do{g=c;c=c+1|0;d=i[a+g>>0]|0;if((d+-43&255)>79)d=0;else d=i[504313+((d<<24>>24)+-43)>>0]|0;if(!((d&255)<<24>>24))f=0;else f=(d|0)==36?0:d+195&255;e=f<<24>>24==0}while(e&(g|0)<(b|0));if((g|0)<(b|0)){d=h+1|0;if(!e)i[o+j>>0]=(f&255)+255}else n=13}if((n|0)==13){n=0;i[o+j>>0]=0;d=h}if(!((j|0)>2|(c|0)>(b|0))){j=j+1|0;h=d;continue}if(d|0){e=k[o>>2]|0;i[o+4>>0]=e>>>8<<24>>24>>>4|e<<2;i[o+4+1>>0]=e<<8>>24>>>2|e>>>8<<4;i[o+4+2>>0]=e<<8>>24<<6|e>>>24;if((d|0)>1){f=d;g=c;break}}if((c|0)>(b|0)){n=20;break a}else{j=0;h=0}}c=l+1|0;i[l>>0]=e>>>8<<24>>24>>>4|e<<2;if((f+-1|0)>1){e=1;while(1){d=c+1|0;i[c>>0]=i[o+4+e>>0]|0;e=e+1|0;if((e|0)>=(f+-1|0)){c=d;break}else c=d}}if((g|0)>(b|0)){n=20;break}else{l=c;c=g}}if((n|0)==20){r=o;return m|0}return 0}function Rua(a){a=a|0;var b=0,c=0;b=a;c=b+60|0;do{k[b>>2]=0;b=b+4|0}while((b|0)<(c|0));o[a+60>>2]=1.0;o[a+40>>2]=1.0;o[a+20>>2]=1.0;o[a>>2]=1.0;return}function Sua(a){a=a|0;var b=0,c=0;b=a;c=b+60|0;do{k[b>>2]=0;b=b+4|0}while((b|0)<(c|0));o[a+60>>2]=1.0;o[a+40>>2]=1.0;o[a+20>>2]=1.0;o[a>>2]=1.0;return}function Tua(a,b,c,d,e,f,g,h,i,j){a=a|0;b=+b;c=+c;d=+d;e=+e;f=+f;g=+g;h=+h;i=+i;j=+j;var l=0,m=0,n=0.0;l=a;m=l+60|0;do{k[l>>2]=0;l=l+4|0}while((l|0)<(m|0));n=+Z(+d);d=+_(+d);o[a+60>>2]=1.0;o[a+40>>2]=1.0;o[a>>2]=n*e-d*j*f;o[a+4>>2]=d*e+n*j*f;o[a+16>>2]=n*i*e-d*f;o[a+20>>2]=n*f+d*i*e;o[a+48>>2]=b-(n*e-d*j*f)*g-(n*i*e-d*f)*h;o[a+52>>2]=c-(d*e+n*j*f)*g-(n*f+d*i*e)*h;return}function Uua(a){a=a|0;return}function Vua(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0.0,g=0.0,h=0.0,i=0.0,j=0.0,l=0.0,m=0.0,n=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0;d=a;e=d+60|0;do{k[d>>2]=0;d=d+4|0}while((d|0)<(e|0));o[a+60>>2]=1.0;o[a+40>>2]=1.0;o[a+20>>2]=1.0;A=+o[b>>2];f=+o[c>>2];z=+o[b+16>>2];h=+o[c+4>>2];y=+o[b+32>>2];j=+o[c+8>>2];x=+o[b+48>>2];m=+o[c+12>>2];o[a>>2]=A*f+z*h+y*j+x*m;p=+o[c+16>>2];q=+o[c+20>>2];r=+o[c+24>>2];s=+o[c+28>>2];o[a+16>>2]=A*p+z*q+y*r+x*s;t=+o[c+32>>2];u=+o[c+36>>2];v=+o[c+40>>2];w=+o[c+44>>2];o[a+32>>2]=A*t+z*u+y*v+x*w;n=+o[c+48>>2];l=+o[c+52>>2];i=+o[c+56>>2];g=+o[c+60>>2];o[a+48>>2]=A*n+z*l+y*i+x*g;x=+o[b+4>>2];y=+o[b+20>>2];z=+o[b+36>>2];A=+o[b+52>>2];o[a+4>>2]=x*f+y*h+z*j+A*m;o[a+20>>2]=x*p+y*q+z*r+A*s;o[a+36>>2]=x*t+y*u+z*v+A*w;o[a+52>>2]=x*n+y*l+z*i+A*g;g=+o[b+8>>2];A=+o[c>>2];i=+o[b+24>>2];z=+o[c+4>>2];l=+o[b+40>>2];y=+o[c+8>>2];n=+o[b+56>>2];x=+o[c+12>>2];o[a+8>>2]=g*A+i*z+l*y+n*x;w=+o[c+16>>2];v=+o[c+20>>2];u=+o[c+24>>2];t=+o[c+28>>2];o[a+24>>2]=g*w+i*v+l*u+n*t;s=+o[c+32>>2];r=+o[c+36>>2];q=+o[c+40>>2];p=+o[c+44>>2];o[a+40>>2]=g*s+i*r+l*q+n*p;m=+o[c+48>>2];j=+o[c+52>>2];h=+o[c+56>>2];f=+o[c+60>>2];o[a+56>>2]=g*m+i*j+l*h+n*f;n=+o[b+12>>2];l=+o[b+28>>2];i=+o[b+44>>2];g=+o[b+60>>2];o[a+12>>2]=n*A+l*z+i*y+g*x;o[a+28>>2]=n*w+l*v+i*u+g*t;o[a+44>>2]=n*s+l*r+i*q+g*p;o[a+60>>2]=n*m+l*j+i*h+g*f;return}function Wua(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+64|0;Vua(d,a,b);b=d;c=a+64|0;do{k[a>>2]=k[b>>2];a=a+4|0;b=b+4|0}while((a|0)<(c|0));r=d;return}function Xua(a){a=a|0;return a|0}function Yua(a,b,c){a=a|0;b=+b;c=+c;var d=0,e=0;d=a;e=d+60|0;do{k[d>>2]=0;d=d+4|0}while((d|0)<(e|0));o[a+60>>2]=1.0;o[a+40>>2]=1.0;o[a+20>>2]=1.0;o[a>>2]=1.0;o[a+48>>2]=b;o[a+52>>2]=c;return}function Zua(a,b,c){a=a|0;b=+b;c=+c;var d=0,e=0,f=0;e=r;r=r+128|0;d=e;f=d+60|0;do{k[d>>2]=0;d=d+4|0}while((d|0)<(f|0));o[e+60>>2]=1.0;o[e+40>>2]=1.0;o[e+20>>2]=1.0;o[e>>2]=1.0;o[e+48>>2]=b;o[e+52>>2]=c;Vua(e+64|0,a,e);d=a;a=e+64|0;f=d+64|0;do{k[d>>2]=k[a>>2];d=d+4|0;a=a+4|0}while((d|0)<(f|0));r=e;return}function _ua(a,b){a=a|0;b=+b;var c=0,d=0,e=0,f=0.0;d=r;r=r+128|0;c=d;e=c+60|0;do{k[c>>2]=0;c=c+4|0}while((c|0)<(e|0));o[d+60>>2]=1.0;o[d+40>>2]=1.0;f=+Z(+b);b=+_(+b);o[d>>2]=f;o[d+16>>2]=-b;o[d+4>>2]=b;o[d+20>>2]=f;Vua(d+64|0,a,d);c=a;a=d+64|0;e=c+64|0;do{k[c>>2]=k[a>>2];c=c+4|0;a=a+4|0}while((c|0)<(e|0));r=d;return}function $ua(a,b,c){a=a|0;b=+b;c=+c;var d=0,e=0,f=0;e=r;r=r+128|0;d=e;f=d+60|0;do{k[d>>2]=0;d=d+4|0}while((d|0)<(f|0));o[e+60>>2]=1.0;o[e+40>>2]=1.0;o[e>>2]=b;o[e+20>>2]=c;Vua(e+64|0,a,e);d=a;a=e+64|0;f=d+64|0;do{k[d>>2]=k[a>>2];d=d+4|0;a=a+4|0}while((d|0)<(f|0));r=e;return}function ava(a,b,c){a=a|0;b=+b;c=+c;var d=0,e=0,f=0;e=r;r=r+128|0;d=e;f=d+60|0;do{k[d>>2]=0;d=d+4|0}while((d|0)<(f|0));o[e+60>>2]=1.0;o[e+40>>2]=1.0;o[e+20>>2]=1.0;o[e>>2]=1.0;o[e+4>>2]=c;o[e+16>>2]=b;Vua(e+64|0,a,e);d=a;a=e+64|0;f=d+64|0;do{k[d>>2]=k[a>>2];d=d+4|0;a=a+4|0}while((d|0)<(f|0));r=e;return}function bva(a,b,c,d,e){a=a|0;b=+b;c=+c;d=+d;e=+e;var f=0,g=0;f=a;g=f+60|0;do{k[f>>2]=0;f=f+4|0}while((f|0)<(g|0));o[a+60>>2]=1.0;o[a>>2]=2.0/(c-b);o[a+20>>2]=2.0/(e-d);o[a+40>>2]=-1.0;o[a+48>>2]=-(b+c)/(c-b);o[a+52>>2]=-(d+e)/(e-d);return}function cva(a){a=a|0;k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;k[a+12>>2]=0;k[a+16>>2]=0;k[a+20>>2]=0;k[a+24>>2]=0;k[a+28>>2]=0;o[a>>2]=1.0;o[a+16>>2]=1.0;o[a+32>>2]=1.0;return}function dva(a,b){a=a|0;b=b|0;k[a>>2]=k[b>>2];k[a+4>>2]=k[b+4>>2];k[a+8>>2]=k[b+8>>2];k[a+12>>2]=k[b+16>>2];k[a+16>>2]=k[b+20>>2];k[a+20>>2]=k[b+24>>2];k[a+24>>2]=k[b+32>>2];k[a+28>>2]=k[b+36>>2];k[a+32>>2]=k[b+40>>2];return}function eva(a,b,c,d,e,f,g,h,i,j){a=a|0;b=+b;c=+c;d=+d;e=+e;f=+f;g=+g;h=+h;i=+i;j=+j;var k=0.0;k=+Z(+d);d=+_(+d);o[a>>2]=k*e-d*j*f;o[a+4>>2]=d*e+k*j*f;o[a+12>>2]=k*i*e-d*f;o[a+16>>2]=k*f+d*i*e;o[a+24>>2]=b-(k*e-d*j*f)*g-(k*i*e-d*f)*h;o[a+28>>2]=c-(d*e+k*j*f)*g-(k*f+d*i*e)*h;o[a+20>>2]=0.0;o[a+8>>2]=0.0;o[a+32>>2]=1.0;return}function fva(a,b,c,d,e,f,g,h,i,j){a=a|0;b=+b;c=+c;d=+d;e=+e;f=+f;g=+g;h=+h;i=+i;j=+j;var k=0.0;k=+Z(+d);d=+_(+d);o[a>>2]=k*e-d*j*f;o[a+4>>2]=d*e+k*j*f;o[a+12>>2]=k*i*e-d*f;o[a+16>>2]=k*f+d*i*e;o[a+24>>2]=b-(k*e-d*j*f)*g-(k*i*e-d*f)*h;o[a+28>>2]=c-(d*e+k*j*f)*g-(k*f+d*i*e)*h;o[a+20>>2]=0.0;o[a+8>>2]=0.0;o[a+32>>2]=1.0;return}function gva(a){a=a|0;return}function hva(a){a=a|0;return a|0}function iva(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,f=0.0,g=0.0,h=0.0,i=0.0,j=0.0,l=0.0,m=0.0;f=+o[b>>2];e=+o[b+16>>2];m=+o[b+32>>2];i=+o[b+28>>2];l=+o[b+20>>2];c=+o[b+4>>2];d=+o[b+12>>2];h=+o[b+24>>2];j=+o[b+8>>2];g=1.0/(j*(i*d-e*h)+(f*(e*m-i*l)-c*(m*d-l*h)));k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;k[a+12>>2]=0;k[a+16>>2]=0;k[a+20>>2]=0;k[a+24>>2]=0;o[a>>2]=g*(e*m-i*l);o[a+12>>2]=(c*m-j*i)*-g;o[a+24>>2]=g*(c*l-j*e);o[a+4>>2]=(m*d-l*h)*-g;o[a+16>>2]=g*(f*m-j*h);o[a+28>>2]=(f*l-d*j)*-g;o[a+8>>2]=g*(i*d-e*h);o[a+20>>2]=(f*i-h*c)*-g;o[a+32>>2]=g*(f*e-d*c);return}function jva(a){a=a|0;var b=0;k[a>>2]=33652;if(k[a+24>>2]|0){b=k[a+20>>2]|0;if(b|0)if(dBa(b)|0){k[a+24>>2]=0;k[a+20>>2]=0}}_qb(a+8|0);k4(a);return}function kva(a){a=a|0;var b=0;k[a>>2]=33652;if(k[a+24>>2]|0){b=k[a+20>>2]|0;if(b|0)if(dBa(b)|0){k[a+24>>2]=0;k[a+20>>2]=0}}_qb(a+8|0);k4(a);CAb(a);return}function lva(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=r;r=r+32|0;if(!b){a=1;r=e;return a|0}if(!(CAa()|0)){a=xf(16)|0;os(a,504426,e);Jc(a|0,96,27)}if((b|0)==1){if(!(i[a+8>>0]&1))c=a+8+1|0;else c=k[a+16>>2]|0;if(!(XAa(c)|0)){c=xf(16)|0;if(!(i[a+8>>0]&1)){a=a+8+1|0;k[e+8>>2]=a;os(c,504453,e+8|0);Jc(c|0,96,27)}else{a=k[a+16>>2]|0;k[e+8>>2]=a;os(c,504453,e+8|0);Jc(c|0,96,27)}}}else if((b|1|0)==3)if(!(FAa()|0))if(!(Iu()|0)){a=xf(16)|0;os(a,504493,e+16|0);Jc(a|0,96,27)}if(k[a+20>>2]|0){a=0;r=e;return a|0}dAa()|0;switch(b|0){case 1:{if(!(i[a+8>>0]&1))c=a+8+1|0;else c=k[a+16>>2]|0;c=cBa(c)|0;d=31;break}case 3:{if(!(i[a+8>>0]&1))c=a+8+1|0;else c=k[a+16>>2]|0;c=bBa(c)|0;d=31;break}case 2:{if(!(i[a+8>>0]&1))c=a+8+1|0;else c=k[a+16>>2]|0;c=$Aa(c)|0;d=31;break}default:{}}if((d|0)==31)if(c|0){k[a+20>>2]=c;k[a+24>>2]=b;if(!(nj[k[(k[a>>2]|0)+64>>2]&127](a,k[a+28>>2]|0,k[a+32>>2]|0,k[a+32+4>>2]|0)|0)){k[a+28>>2]=0;k[a+32>>2]=0;k[a+32+4>>2]=0}a=(k[a+20>>2]|0)!=0;r=e;return a|0}c=dAa()|0;c=(c|0)==0?514770:c;d=xf(16)|0;if(!(i[a+8>>0]&1)){a=a+8+1|0;k[e+24>>2]=a;a=e+24+4|0;k[a>>2]=c;os(d,504524,e+24|0);Jc(d|0,96,27)}else{a=k[a+16>>2]|0;k[e+24>>2]=a;a=e+24+4|0;k[a>>2]=c;os(d,504524,e+24|0);Jc(d|0,96,27)}return 0}function mva(a){a=a|0;var b=0;b=k[a+20>>2]|0;if(!b){a=0;return a|0}if(!(dBa(b)|0)){a=0;return a|0}k[a+24>>2]=0;k[a+20>>2]=0;a=1;return a|0}function nva(a){a=a|0;if(!(k[a+24>>2]|0)){a=0;return a|0}a=(k[a+20>>2]|0)!=0;return a|0}function ova(a){a=a|0;var b=0,c=0;b=k[a+20>>2]|0;if(!b){gj[k[(k[a>>2]|0)+16>>2]&511](a,1)|0;c=nBa(k[a+20>>2]|0)|0;b=L;Gi[k[(k[a>>2]|0)+20>>2]&2047](a)|0;a=c;L=b;return a|0}else{c=nBa(b)|0;a=L;L=a;return c|0}return 0}function pva(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;f=r;r=r+16|0;e=k[a+20>>2]|0;if(!e){a=xf(16)|0;os(a,504552,f);Jc(a|0,96,27)}if((k[a+24>>2]|0)!=1){a=xf(16)|0;os(a,504552,f);Jc(a|0,96,27)}g=nBa(e)|0;e=L;h=(c|0)==-1&(d|0)==-1?g:c;d=(c|0)==-1&(d|0)==-1?e:d;c=(d|0)>(e|0)|(d|0)==(e|0)&h>>>0>g>>>0?g:h;d=(d|0)>(e|0)|(d|0)==(e|0)&h>>>0>g>>>0?e:d;if((((d|0)>0|(d|0)==0&c>>>0>4294967295?0:d)|0)<0){h=xf(16)|0;os(h,504584,f+8|0);Jc(h|0,96,27)}else{h=gBa(k[a+20>>2]|0,b,1,(d|0)>0|(d|0)==0&c>>>0>4294967295?-1:c)|0;r=f;return h|0}return 0}function qva(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;g=r;r=r+16|0;f=k[a+20>>2]|0;if(!f){a=xf(16)|0;os(a,504603,g);Jc(a|0,96,27)}if((k[a+24>>2]&-2|0)!=2){a=xf(16)|0;os(a,504603,g);Jc(a|0,96,27)}e=(d|0)>0|(d|0)==0&c>>>0>4294967295?-1:c;c=(d|0)>0|(d|0)==0&c>>>0>4294967295?0:d;if((c|0)<0){a=xf(16)|0;os(a,504635,g+8|0);Jc(a|0,96,27)}f=iBa(f,b,1,e)|0;if(!((f|0)==(e|0)&(L|0)==(c|0))){a=0;r=g;return a|0}if((k[a+28>>2]|0)==1){f=k[a+32+4>>2]|0;if((f|0)>(c|0)|((f|0)==(c|0)?(k[a+32>>2]|0)>>>0>e>>>0:0))if(Cmb(b,10,e)|0)Gi[k[(k[a>>2]|0)+48>>2]&2047](a)|0}eh(0);a=1;r=g;return a|0}function rva(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=k[a+20>>2]|0;if(b|0)if((k[a+24>>2]&-2|0)==2){a=(fBa(b)|0)!=0;r=c;return a|0}a=xf(16)|0;os(a,504603,c);Jc(a|0,96,27);return 0}function sva(a){a=a|0;a=k[a+20>>2]|0;if(!a){a=1;return a|0}a=(kBa(a)|0)!=0;return a|0}function tva(a){a=a|0;var b=0;a=k[a+20>>2]|0;if(!a){a=-1;b=-1}else{b=lBa(a)|0;a=L}L=a;return b|0}function uva(a,b,c){a=a|0;b=b|0;c=c|0;a=k[a+20>>2]|0;if(!a){c=0;return c|0}c=(mBa(a,b,c)|0)!=0;return c|0}function vva(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;if((d|0)<0){a=0;return a|0}if(!(Gi[k[(k[a>>2]|0)+24>>2]&2047](a)|0)){k[a+28>>2]=b;k[a+32>>2]=c;k[a+32+4>>2]=d;a=1;return a|0}e=k[a+20>>2]|0;if((b+-1|0)>>>0<2){f=c;g=d;c=oBa(e,c,d)|0}else{f=0;g=0;c=oBa(e,0,0)|0}if(!c){a=0;return a|0}k[a+28>>2]=b;k[a+32>>2]=f;k[a+32+4>>2]=g;a=1;return a|0}function wva(a,b){a=a|0;b=b|0;var c=0;c=k[a+32+4>>2]|0;k[b>>2]=k[a+32>>2];k[b+4>>2]=c;return k[a+28>>2]|0}function xva(a){a=a|0;return k[a+24>>2]|0}function yva(a){a=a|0;return a+8|0}function zva(a,b){a=a|0;b=b|0;Uj(a);k[a>>2]=33652;Vqb(a+8|0,b);k[a+20>>2]=0;k[a+20+4>>2]=0;k[a+20+8>>2]=0;k[a+20+12>>2]=0;k[a+20+16>>2]=0;return}function Ava(a){a=a|0;CAb(a);return}function Bva(a,b){a=a|0;b=b|0;if((Gi[k[(k[b>>2]|0)+20>>2]&2047](b)|0)>>>0<17){a=0;return a|0}a=Gi[k[(k[b>>2]|0)+16>>2]&2047](b)|0;a=((l[a+1>>0]|0)<<8|(l[a>>0]|0)|(l[a+2>>0]|0)<<16|(l[a+3>>0]|0)<<24|0)==1554098963;return a|0}function Cva(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0;v=r;r=r+48|0;if(!(gj[k[(k[a>>2]|0)+16>>2]&511](a,b)|0)){f=xf(16)|0;os(f,504758,v);Jc(f|0,96,27)}m=Gi[k[(k[b>>2]|0)+16>>2]&2047](b)|0;a=i[m+4>>0]|0;g=i[m+5>>0]|0;h=i[m+6>>0]|0;n=i[m+7>>0]|0;o=i[m+8>>0]|0;p=i[m+9>>0]|0;q=i[m+10>>0]|0;s=i[m+11>>0]|0;t=i[m+12>>0]|0;j=i[m+13>>0]|0;l=i[m+14>>0]|0;m=i[m+15>>0]|0;if((h&255)>1){f=xf(16)|0;k[v+8>>2]=a&255;c=v+8+4|0;k[c>>2]=g&255;c=v+8+8|0;k[c>>2]=h&255;os(f,504812,v+8|0);Jc(f|0,96,27)}if(a<<24>>24==4&g<<24>>24==4)u=23;else if(a<<24>>24==5&g<<24>>24==4)u=24;else if(a<<24>>24==5&g<<24>>24==5)u=25;else if(a<<24>>24==6&g<<24>>24==5)u=26;else if(a<<24>>24==6&g<<24>>24==6)u=27;else if(a<<24>>24==8&g<<24>>24==5)u=28;else if(a<<24>>24==8&g<<24>>24==6)u=29;else if(a<<24>>24==8&g<<24>>24==8)u=30;else if(a<<24>>24==10&g<<24>>24==5)u=31;else if(a<<24>>24==10&g<<24>>24==6)u=32;else if(a<<24>>24==10&g<<24>>24==8)u=33;else if(a<<24>>24==10&g<<24>>24==10)u=34;else if(a<<24>>24==12&g<<24>>24==10)u=35;else if(a<<24>>24==12&g<<24>>24==12)u=36;else{f=xf(16)|0;k[v+8>>2]=a&255;c=v+8+4|0;k[c>>2]=g&255;c=v+8+8|0;k[c>>2]=h&255;os(f,504812,v+8|0);Jc(f|0,96,27)}g=ha(ha(((((a&255)+-1+((o&255)<<8|n&255|(p&255)<<16)|0)>>>0)/((a&255)>>>0)|0)<<4,(((g&255)+-1+((s&255)<<8|q&255|(t&255)<<16)|0)>>>0)/((g&255)>>>0)|0)|0,(((h&255)+-1+((l&255)<<8|j&255|(m&255)<<16)|0)>>>0)/((h&255)>>>0)|0)|0;if((g+16|0)>>>0>(Gi[k[(k[b>>2]|0)+20>>2]&2047](b)|0)>>>0){f=xf(16)|0;os(f,504874,v+24|0);Jc(f|0,96,27)}h=mBb(g)|0;ABb(h|0,(Gi[k[(k[b>>2]|0)+16>>2]&2047](b)|0)+16|0,g|0)|0;k[v+32>>2]=(o&255)<<8|n&255|(p&255)<<16;k[v+32+4>>2]=(s&255)<<8|q&255|(t&255)<<16;k[v+32+8>>2]=g;k[v+32+12>>2]=h;a=k[c+4>>2]|0;if((a|0)==(k[c+8>>2]|0)){qha(c,v+32|0);k[d>>2]=g;k[e>>2]=u;i[f>>0]=0;r=v;return h|0}else{k[a>>2]=k[v+32>>2];k[a+4>>2]=k[v+32+4>>2];k[a+8>>2]=k[v+32+8>>2];k[a+12>>2]=k[v+32+12>>2];k[c+4>>2]=(k[c+4>>2]|0)+16;k[d>>2]=g;k[e>>2]=u;i[f>>0]=0;r=v;return h|0}return 0}function Dva(a){a=a|0;var b=0;k[a>>2]=33776;b=k[a+16>>2]|0;if(b|0)oBb(b);xD(a);return}function Eva(a){a=a|0;var b=0;k[a>>2]=33776;b=k[a+16>>2]|0;if(b|0)oBb(b);xD(a);CAb(a);return}function Fva(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=r;r=r+32|0;DD(a);k[a>>2]=33776;d=k[b+4>>2]|0;if((d|0)==(b|0)){a=xf(16)|0;os(a,504963,g);Jc(a|0,96,27)}else{e=d;f=d}while(1){d=k[e+8>>2]|0;if(gj[k[(k[d>>2]|0)+16>>2]&511](d,c)|0)break;f=k[f+4>>2]|0;e=f;if((e|0)==(b|0)){d=0;break}}if(!d){a=xf(16)|0;os(a,504963,g);Jc(a|0,96,27)}d=Ei[k[(k[d>>2]|0)+20>>2]&63](d,c,a+24|0,a+20|0,a+8|0,a+12|0)|0;k[a+16>>2]=d;if(!d){a=xf(16)|0;os(a,505012,g+8|0);Jc(a|0,96,27)}if(!(k[a+8>>2]|0)){oBb(d);a=xf(16)|0;os(a,504963,g+16|0);Jc(a|0,96,27)}if((k[a+28>>2]|0)==(k[a+24>>2]|0)){oBb(d);a=xf(16)|0;os(a,505045,g+24|0);Jc(a|0,96,27)}if(!(k[a+20>>2]|0)){oBb(d);a=xf(16)|0;os(a,505045,g+24|0);Jc(a|0,96,27)}else{r=g;return}}function Gva(a){a=a|0;CAb(a);return}function Hva(a,b){a=a|0;b=b|0;a=Gi[k[(k[b>>2]|0)+16>>2]&2047](b)|0;return Zva(a,Gi[k[(k[b>>2]|0)+20>>2]&2047](b)|0)|0}function Iva(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,l=0,m=0,n=0;m=r;r=r+64|0;l=Gi[k[(k[b>>2]|0)+16>>2]&2047](b)|0;if(!(Yva(l,Gi[k[(k[b>>2]|0)+20>>2]&2047](b)|0)|0)){f=xf(16)|0;os(f,505126,m);Jc(f|0,96,27)}k[d>>2]=0;a=k[c>>2]|0;g=k[c+4>>2]|0;if((g|0)!=(a|0))k[c+4>>2]=g+(~((g+-16-a|0)>>>4)<<4);l=Gi[k[(k[b>>2]|0)+16>>2]&2047](b)|0;_va(m+40|0,l,Gi[k[(k[b>>2]|0)+20>>2]&2047](b)|0);do switch(ewa(m+40|0)|0){case 0:{j=1;l=0;break}case 1:{j=2;l=0;break}case 2:{j=3;l=0;break}case 3:{j=4;l=0;break}case 4:{j=5;l=0;break}case 5:{j=6;l=0;break}case 6:{j=7;l=0;break}case 7:{j=8;l=0;break}case 8:{j=9;l=0;break}case 9:{j=10;l=0;break}case 10:{j=10;l=1;break}default:{f=xf(16)|0;os(f,505177,m+8|0);Jc(f|0,96,27)}}while(0);if(!(gwa(m+40|0)|0)){f=xf(16)|0;os(f,505230,m+16|0);Jc(f|0,96,27)}else a=0;while(1){if(a>>>0>=(gwa(m+40|0)|0)>>>0)break;h=(fwa(m+40|0,a)|0)+8|0;k[d>>2]=(k[d>>2]|0)+(k[h>>2]|0);a=a+1|0}a=mBb(k[d>>2]|0)|0;d=0;h=0;while(1){if(h>>>0>=(gwa(m+40|0)|0)>>>0)break;n=fwa(m+40|0,h)|0;k[m+24>>2]=k[n>>2];k[m+24+4>>2]=k[n+4>>2];g=k[n+8>>2]|0;k[m+24+8>>2]=g;b=a+d|0;ABb(b|0,k[n+12>>2]|0,g|0)|0;k[m+24+12>>2]=b;b=k[c+4>>2]|0;if((b|0)==(k[c+8>>2]|0))qha(c,m+24|0);else{k[b>>2]=k[m+24>>2];k[b+4>>2]=k[m+24+4>>2];k[b+8>>2]=k[m+24+8>>2];k[b+12>>2]=k[m+24+12>>2];k[c+4>>2]=(k[c+4>>2]|0)+16}d=g+d|0;h=h+1|0}dwa(m+40|0);k[e>>2]=j;i[f>>0]=l;r=m;return a|0}function Jva(a){a=a|0;return}function Kva(a){a=a|0;CAb(a);return}function Lva(a,b){a=a|0;b=b|0;return 0}function Mva(a,b){a=a|0;b=b|0;return 0}function Nva(a,b,c){a=a|0;b=b|0;c=c|0;a=r;r=r+16|0;b=xf(16)|0;os(b,505325,a);Jc(b|0,96,27)}function Ova(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=r;r=r+16|0;b=xf(16)|0;os(b,505384,a);Jc(b|0,96,27)}function Pva(a,b){a=a|0;b=b|0;if(!b)return;oBb(b);return}function Qva(a){a=a|0;Uj(a);k[a>>2]=33840;return}function Rva(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;k[a>>2]=33884;if(!(i[a+8>>0]|0)){bP(b,a+16|0);c=(k[a+12>>2]|0)==0;cP(b);if(!c){ghb(k[a+12>>2]|0,0);bP(b,a+16|0);i[a+8>>0]=0;k[a+12>>2]=0;cP(b)}}Noa(a+16|0);r=b;return}function Sva(a){a=a|0;Rva(a);CAb(a);return}function Tva(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;bP(c,a+16|0);if(i[a+8>>0]|0){a=0;cP(c);r=c;return a|0}b=k[a+12>>2]|0;if(b|0)ghb(b,0);b=ahb(1502,kP(k[a+4>>2]|0)|0,a)|0;k[a+12>>2]=b;i[a+8>>0]=(b|0)!=0&1;a=(b|0)!=0;cP(c);r=c;return a|0}function Uva(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;c=k[a+4>>2]|0;Si[k[(k[c>>2]|0)+8>>2]&1023](c);bP(b,a+16|0);i[a+8>>0]=0;cP(b);r=b;return 0}function Vva(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;bP(b,a+16|0);c=(k[a+12>>2]|0)==0;cP(b);if(c){r=b;return}ghb(k[a+12>>2]|0,0);bP(b,a+16|0);i[a+8>>0]=0;k[a+12>>2]=0;cP(b);r=b;return}function Wva(a){a=a|0;var b=0;b=r;r=r+16|0;bP(b,a+16|0);a=(i[a+8>>0]|0)!=0;cP(b);r=b;return a|0}function Xva(a,b){a=a|0;b=b|0;k[a>>2]=33884;k[a+4>>2]=b;i[a+8>>0]=0;k[a+12>>2]=0;Woa(a+16|0);return}function Yva(a,b){a=a|0;b=b|0;if(b>>>0<128){b=0;return b|0}if((k[a>>2]|0)!=542327876){b=0;return b|0}if((k[a+4>>2]|0)!=124){b=0;return b|0}if((k[a+76>>2]|0)!=32){b=0;return b|0}if(k[a+80>>2]&4|0)if(b>>>0<148?(k[a+84>>2]|0)==808540228:0){b=0;return b|0}b=1;return b|0}function Zva(a,b){a=a|0;b=b|0;a:do if(b>>>0<128)a=0;else if((k[a>>2]|0)==542327876)if((k[a+4>>2]|0)==124)if((k[a+76>>2]|0)==32)if(!(k[a+80>>2]&4))a=0;else if(b>>>0<148?(k[a+84>>2]|0)==808540228:0)a=0;else{if((k[a+84>>2]|0)==808540228){a=(k[a+128>>2]|0)+-70|0;if(a>>>0>=30){a=0;break}a=(1056997375>>>(a&1073741823)&1|0)!=0;break}a=k[a+84>>2]|0;b:do if((a|0)<894720068)if((a|0)<843666497){if((a|0)<827611204)switch(a|0){case 826889281:{b=13;break b}default:{a=0;break a}}switch(a|0){case 827611204:break;default:{a=0;break a}}a=1;break a}else{if((a|0)<861165636)switch(a|0){case 843666497:{b=15;break b}default:{a=0;break a}}switch(a|0){case 861165636:break;default:{a=0;break a}}a=1;break a}else{if((a|0)<1395999554)if((a|0)<1395934018){switch(a|0){case 894720068:break;default:{a=0;break a}}a=1;break a}else{switch(a|0){case 1395934018:break;default:{a=0;break a}}a=1;break a}if((a|0)<1429488450){switch(a|0){case 1395999554:break;default:{a=0;break a}}a=1;break a}if((a|0)<1429553986)switch(a|0){case 1429488450:{b=13;break b}default:{a=0;break a}}else switch(a|0){case 1429553986:{b=15;break b}default:{a=0;break a}}}while(0);if((b|0)==13){a=1;break}else if((b|0)==15){a=1;break}}else a=0;else a=0;else a=0;while(0);return a|0}function _va(a,b,c){a=a|0;b=b|0;c=c|0;k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;k[a+12>>2]=11;$va(a,b,c)|0;return}function $va(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;if(c>>>0<128){a=0;return a|0}if((k[b>>2]|0)!=542327876){a=0;return a|0}if((k[b+4>>2]|0)!=124){a=0;return a|0}if((k[b+76>>2]|0)!=32){a=0;return a|0}a:do if(!(k[b+80>>2]&4)){d=11;f=31}else{if(c>>>0<148?(k[b+84>>2]|0)==808540228:0){a=0;return a|0}if((k[b+84>>2]|0)==808540228){switch(k[b+132>>2]|0){case 0:case 3:break;default:{a=0;return a|0}}if((k[b+140>>2]|0)>>>0>1){a=0;return a|0}do switch(k[b+128>>2]|0){case 72:case 71:case 70:{d=0;break}case 75:case 74:case 73:{d=1;break}case 78:case 77:case 76:{d=2;break}case 80:case 79:{d=3;break}case 81:{d=4;break}case 83:case 82:{d=5;break}case 84:{d=6;break}case 95:case 94:{d=7;break}case 96:{d=8;break}case 98:case 97:{d=9;break}case 99:{d=10;break}default:d=11}while(0);k[a+12>>2]=d;e=148;break}d=k[b+84>>2]|0;b:do if((d|0)<894720068)if((d|0)<843666497){if((d|0)<827611204)switch(d|0){case 826889281:{f=27;break b}default:{d=11;f=31;break a}}switch(d|0){case 827611204:break;default:{d=11;f=31;break a}}d=0;f=31;break a}else{if((d|0)<861165636)switch(d|0){case 843666497:{f=29;break b}default:{d=11;f=31;break a}}switch(d|0){case 861165636:break;default:{d=11;f=31;break a}}d=1;f=31;break a}else{if((d|0)<1395999554)if((d|0)<1395934018){switch(d|0){case 894720068:break;default:{d=11;f=31;break a}}d=2;f=31;break a}else{switch(d|0){case 1395934018:break;default:{d=11;f=31;break a}}d=4;f=31;break a}if((d|0)<1429488450){switch(d|0){case 1395999554:break;default:{d=11;f=31;break a}}d=6;f=31;break a}if((d|0)<1429553986)switch(d|0){case 1429488450:{f=27;break b}default:{d=11;f=31;break a}}else switch(d|0){case 1429553986:{f=29;break b}default:{d=11;f=31;break a}}}while(0);if((f|0)==27){d=3;f=31;break}else if((f|0)==29){d=5;f=31;break}}while(0);if((f|0)==31){k[a+12>>2]=d;e=128}if((d|0)==11){a=0;return a|0}f=k[b+28>>2]|0;a=awa(a,b+e|0,c-e|0,d,k[b+16>>2]|0,k[b+12>>2]|0,(f|0)<1?1:f)|0;return a|0}function awa(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0;p=r;r=r+32|0;k[p+16>>2]=0;o=p+16+4|0;k[o>>2]=0;k[p+16+8>>2]=0;a:do if((g|0)>0){b:do if(!d){i=f;j=0;l=0;while(1){k[p>>2]=0;k[p+4>>2]=0;k[p+8>>2]=0;k[p+12>>2]=0;k[p>>2]=e;k[p+4>>2]=i;if((e|0)>0){h=(e+3|0)/4|0;h=(h|0)>1?h:1}else h=0;if((i|0)>0){f=(i+3|0)/4|0;f=(f|0)>1?f:1}else f=0;d=ha(h<<3,f)|0;k[p+8>>2]=d;f=l;l=d+l|0;if((d|0)==0|l>>>0>c>>>0)break b;k[p+12>>2]=b+f;f=k[o>>2]|0;if((f|0)==(k[p+16+8>>2]|0))bwa(p+16|0,p);else{k[f>>2]=k[p>>2];k[f+4>>2]=k[p+4>>2];k[f+8>>2]=k[p+8>>2];k[f+12>>2]=k[p+12>>2];k[o>>2]=f+16}e=(e|0)/2|0;f=(i|0)/2|0;j=j+1|0;if((j|0)>=(g|0)){n=25;break a}else{e=(e|0)<1?1:e;i=(f|0)<1?1:f}}}else{l=0;m=0;while(1){k[p>>2]=0;k[p+4>>2]=0;k[p+8>>2]=0;k[p+12>>2]=0;k[p>>2]=e;k[p+4>>2]=f;switch(d|0){case 4:case 3:case 0:{j=8;break}case 10:case 9:case 7:case 5:case 6:case 2:case 1:{j=16;break}default:j=0}if((e|0)>0){i=(e+3|0)/4|0;i=(i|0)>1?i:1}else i=0;if((f|0)>0){h=(f+3|0)/4|0;h=(h|0)>1?h:1}else h=0;j=ha(ha(i,j)|0,h)|0;k[p+8>>2]=j;h=m;m=j+m|0;if((j|0)==0|m>>>0>c>>>0)break b;k[p+12>>2]=b+h;h=k[o>>2]|0;if((h|0)==(k[p+16+8>>2]|0))bwa(p+16|0,p);else{k[h>>2]=k[p>>2];k[h+4>>2]=k[p+4>>2];k[h+8>>2]=k[p+8>>2];k[h+12>>2]=k[p+12>>2];k[o>>2]=h+16}e=(e|0)/2|0;f=(f|0)/2|0;l=l+1|0;if((l|0)>=(g|0)){n=25;break a}else{e=(e|0)<1?1:e;f=(f|0)<1?1:f}}}while(0);h=0}else n=25;while(0);if((n|0)==25)if((a|0)==(p+16|0))h=1;else{cwa(a,k[p+16>>2]|0,k[o>>2]|0);h=1}e=k[p+16>>2]|0;if(!e){r=p;return h|0}f=k[o>>2]|0;if((f|0)!=(e|0))k[o>>2]=f+(~((f+-16-e|0)>>>4)<<4);CAb(e);r=p;return h|0}function bwa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=k[a>>2]|0;c=((k[a+4>>2]|0)-i>>4)+1|0;if(c>>>0>268435455)xzb(a);d=(k[a+8>>2]|0)-i|0;if(d>>4>>>0<134217727){c=d>>3>>>0>>0?c:d>>3;e=k[a+4>>2]|0;if(!c){h=0;f=0;d=e-i>>4;c=e}else{g=e;d=e-i>>4;j=6}}else{d=k[a+4>>2]|0;c=268435455;g=d;d=d-i>>4;j=6}if((j|0)==6){h=c;f=kBb(c<<4)|0;c=g}j=f+(d<<4)|0;k[j>>2]=k[b>>2];k[j+4>>2]=k[b+4>>2];k[j+8>>2]=k[b+8>>2];k[j+12>>2]=k[b+12>>2];b=c-i|0;ABb(j+(0-(b>>4)<<4)|0,i|0,b|0)|0;k[a>>2]=j+(0-(b>>4)<<4);k[a+4>>2]=j+16;k[a+8>>2]=f+(h<<4);if(!i)return;CAb(i);return}function cwa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=k[a+8>>2]|0;f=k[a>>2]|0;if(c-b>>4>>>0<=d-f>>4>>>0){d=(k[a+4>>2]|0)-f>>4;e=c-b>>4>>>0>d>>>0?b+(d<<4)|0:c;BBb(f|0,b|0,e-b|0)|0;if(c-b>>4>>>0<=d>>>0){d=k[a+4>>2]|0;if((d|0)==(f+(e-b>>4<<4)|0))return;k[a+4>>2]=d+(~((d+-16-(f+(e-b>>4<<4))|0)>>>4)<<4);return}if((e|0)==(c|0))return;d=b+(d<<4)|0;b=k[a+4>>2]|0;do{k[b>>2]=k[d>>2];k[b+4>>2]=k[d+4>>2];k[b+8>>2]=k[d+8>>2];k[b+12>>2]=k[d+12>>2];b=(k[a+4>>2]|0)+16|0;k[a+4>>2]=b;d=d+16|0}while((d|0)!=(c|0));return}if(f){d=k[a+4>>2]|0;if((d|0)!=(f|0))k[a+4>>2]=d+(~((d+-16-f|0)>>>4)<<4);CAb(f);k[a+8>>2]=0;k[a+4>>2]=0;k[a>>2]=0;d=0}if(c-b>>4>>>0>268435455)xzb(a);d=d-0|0;if(d>>4>>>0<134217727){d=d>>3>>>0>4>>>0?c-b>>4:d>>3;if(d>>>0>268435455)xzb(a);else e=d}else e=268435455;d=kBb(e<<4)|0;k[a+4>>2]=d;k[a>>2]=d;k[a+8>>2]=d+(e<<4);if((b|0)==(c|0))return;do{k[d>>2]=k[b>>2];k[d+4>>2]=k[b+4>>2];k[d+8>>2]=k[b+8>>2];k[d+12>>2]=k[b+12>>2];d=(k[a+4>>2]|0)+16|0;k[a+4>>2]=d;b=b+16|0}while((b|0)!=(c|0));return}function dwa(a){a=a|0;var b=0,c=0;b=k[a>>2]|0;if(!b)return;c=k[a+4>>2]|0;if((c|0)!=(b|0))k[a+4>>2]=c+(~((c+-16-b|0)>>>4)<<4);CAb(b);return}function ewa(a){a=a|0;return k[a+12>>2]|0}function fwa(a,b){a=a|0;b=b|0;var c=0;c=k[a>>2]|0;return ((k[a+4>>2]|0)-c>>4>>>0>b>>>0?c+(b<<4)|0:0)|0}function gwa(a){a=a|0;return (k[a+4>>2]|0)-(k[a>>2]|0)>>4|0}function hwa(a,b){a=a|0;b=b|0;if(!a){b=hqb(b)|0;return b|0}else{b=kqb(a,b)|0;return b|0}return 0}function iwa(a){a=a|0;return inb(a)|0}function jwa(a){a=a|0;return k[34288+(k[a+19704>>2]<<2)>>2]|0}function kwa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0.0,g=0.0,h=0,j=0,m=0,n=0,q=0,s=0,t=0,u=0;u=r;r=r+272|0;k[u+236>>2]=0;q=k[a+19736>>2]|0;s=k[a+9584>>2]|0;k[a+19860>>2]=q;b=k[a+28084>>2]|0;do if(b|0){if(!s){k[a+9584>>2]=b+-1;break}k[a+27904>>2]=1;k[a+27900>>2]=1;k[a+9584>>2]=s+-1;k[a+19784>>2]=0;b=k[a+27808>>2]|0;k[a+19788>>2]=b;if((k[a+19688>>2]|0)==3)ABb(b|0,a+9548|0,k[a+19864>>2]|0)|0;if(!(k[a+19696>>2]|0)){a=1;r=u;return a|0}q=k[a+19788>>2]|0;s=k[a+19784>>2]|0;t=((l[q>>0]<<8|l[q+1>>0])<<8|l[q+2>>0])<>>8&65535;k[a+19788>>2]=q+(s+16>>3);k[a+19784>>2]=s+16&7;k[a+27952>>2]=t;a=1;r=u;return a|0}while(0);t=k[37151]|0;c=0;a:while(1){b=k[a+27956>>2]|0;d=k[b+44>>2]|0;if(d){Si[d&1023](a);b=k[a+27956>>2]|0}b=gj[k[b+12>>2]&511](a,u+232|0)|0;if((b|0)<1)break;b:while(1){k[a+19684>>2]=2;b=k[a+27820>>2]|0;do if(b|0){d=k[u+232>>2]|0;if((b|0)==(d|0)){k[a+19684>>2]=0;break}if(!((d^b)&1575936))if(!((b&192|0)==192^(d&192|0)==192))k[a+19684>>2]=1}while(0);c:do if(!(k[a+27824>>2]|0)){b=k[u+232>>2]|0;if((b&3072|0)==3072|((b&61440|0)==61440|(b>>>0<4292870144|(b&393216|0)==0))){k[u>>2]=0;k[u+248>>2]=b;if((b&-256|0)==1229206272){n=21;break b}if(!(k[a+28068>>2]&32))if((k[a+28064>>2]|0)>1)if(!(i[a+19768>>0]|0)){k[u+8>>2]=b;Cob(t,508279,u+8|0)|0}d:do if((b|0)==1380533830){if(!(k[a+28068>>2]&32))if((k[a+28064>>2]|0)>1)if(!(i[a+19768>>0]|0))Dpb(508318,32,1,t)|0;b=gj[k[(k[a+27956>>2]|0)+12>>2]&511](a,u+248|0)|0;if((b|0)>=1){while(1){b=k[a+27956>>2]|0;if((k[u+248>>2]|0)==1684108385)break;b=gj[k[b+16>>2]&511](a,u+248|0)|0;if((b|0)<1)break d}b=gj[k[b+12>>2]&511](a,u+248|0)|0;if((b|0)>=1){b=c;n=37;break b}}}else{k[u+232>>2]=0;d=k[a+28352>>2]|0;d=d>>>0>65536?d:65536;c=c+1|0;e:do if((c|0)<(d|0)|(d|0)>-1^1){f:do if((d|0)>-1)while(1){b=gj[k[(k[a+27956>>2]|0)+16>>2]&511](a,u+248|0)|0;if((b|0)<1)break d;b=k[u+248>>2]|0;if(!((b&3072|0)==3072|((b&61440|0)==61440|(b>>>0<4292870144|(b&393216|0)==0)))){b=uwa(a,b,u)|0;if(b|0)break f}b=c+1|0;if((b|0)<(d|0))c=b;else break e}else{b=gj[k[(k[a+27956>>2]|0)+16>>2]&511](a,u+248|0)|0;if((b|0)<1)break d;while(1){b=k[u+248>>2]|0;if(!((b&3072|0)==3072|((b&61440|0)==61440|(b>>>0<4292870144|(b&393216|0)==0)))){b=uwa(a,b,u)|0;if(b|0)break f}c=c+1|0;b=gj[k[(k[a+27956>>2]|0)+16>>2]&511](a,u+248|0)|0;if((b|0)<1)break d}}while(0);if((b|0)<0){n=56;break a}else b=c}else b=c;while(0);if(!((b|0)<(d|0)|(d|0)>-1^1)){n=54;break a}k[u+232>>2]=k[u+248>>2];d=b;break c}while(0);if((b|0)<0)break a;else d=c}else d=c}else d=c;while(0);c=k[u+232>>2]|0;if(!((c&3072|0)==3072|((c&61440|0)==61440|(c>>>0<4292870144|(c&393216|0)==0)))){b=uwa(a,c,u+236|0)|0;if((b|0)<0)break a;switch(b|0){case 3:{c=d;continue a}case 10:{b=10;break a}case 2:{c=d;continue b}case 0:break;default:{n=105;break b}}c=k[u+232>>2]|0}k[u>>2]=c;k[u+232>>2]=0;e=c&-256;if((e|0)<1413564160)switch(e|0){case 1229206272:{n=70;break b}default:{}}else switch(e|0){case 1413564160:{n=66;break b}default:{}}b=k[a+28068>>2]|0;if(!(b&32))if(!(i[a+19768>>0]|0)){b=(Gi[k[(k[a+27956>>2]|0)+36>>2]&2047](a)|0)+-4|0;k[u+24>>2]=c;k[u+24+4>>2]=b;Cob(t,509450,u+24|0)|0;b=k[a+28068>>2]|0}if((e|0)==1651339264&(b&32|0)==0){Dpb(509506,32,1,t)|0;b=k[a+28068>>2]|0}if(b&128|0){n=99;break a}h=k[a+28352>>2]|0;k[a+19868>>2]=0;if(!(b&32))if(!(i[a+19768>>0]|0))Dpb(509539,26,1,t)|0;g:do if((h|0)<0){b=0;while(1){e=b+1|0;b=gj[k[(k[a+27956>>2]|0)+16>>2]&511](a,u)|0;c=k[u>>2]|0;if((b|0)<1){n=87;break a}if((c&3072|0)==3072|((c&61440|0)==61440|(c>>>0<4292870144|(c&393216|0)==0)))b=e;else{b=e;e=1;break}}}else{b=0;while(1){e=b+1|0;if((e|0)>=(h|0)){b=e;e=0;break g}b=gj[k[(k[a+27956>>2]|0)+16>>2]&511](a,u)|0;c=k[u>>2]|0;if((b|0)<1){n=87;break a}if((c&3072|0)==3072|((c&61440|0)==61440|(c>>>0<4292870144|(c&393216|0)==0)))b=e;else{b=e;e=1;break}}}while(0);k[u+232>>2]=c;if(!(k[a+28068>>2]&32))if(!(i[a+19768>>0]|0)){k[u+32>>2]=b;Cob(t,509616,u+32|0)|0}if(!e){n=96;break a}k[a+27824>>2]=0;c=d}if((n|0)==21){k[a+27820>>2]=0;b=lwa(a,b)|0;if((b|0)<0){n=56;break}if((b|0)>0){k[a+28392>>2]=k[a+28392>>2]|3;b=c;n=58}else{b=c;n=58}}else if((n|0)==37){if(!(k[a+28068>>2]&32))if((k[a+28064>>2]|0)>1)if(!(i[a+19768>>0]|0))Dpb(508351,27,1,t)|0;k[a+27820>>2]=0;k[u+232>>2]=k[u+248>>2];n=58}else if((n|0)==66){i[a+28396>>0]=c>>>24;i[a+28397>>0]=c>>>16;i[a+28398>>0]=c>>>8;i[a+28399>>0]=c;b=Ri[k[(k[a+27956>>2]|0)+8>>2]&255](a,a+28400|0,124)|0;if((b|0)<0){n=102;break}k[a+28392>>2]=k[a+28392>>2]|3;k[a+27976>>2]=k[a+27976>>2]|2;if(!(k[a+28068>>2]&32))if((k[a+28064>>2]|0)>2){Dpb(509424,25,1,t)|0;b=d;n=103}else{b=d;n=103}else{b=d;n=103}}else if((n|0)==70){k[a+27820>>2]=0;b=lwa(a,c)|0;if((b|0)<0){n=102;break}if((b|0)>0){k[a+28392>>2]=k[a+28392>>2]|3;b=d;n=103}else{b=d;n=103}}else if((n|0)==105){n=0;if(!(k[a+27824>>2]|0)){e=k[u+232>>2]|0;k[u>>2]=0;do if(k[a+27976>>2]&12|0){c=Gi[k[(k[a+27956>>2]|0)+36>>2]&2047](a)|0;b=gj[k[(k[a+27956>>2]|0)+20>>2]&511](a,k[a+19736>>2]|0)|0;if((b|0)<0){n=108;break a}b=gj[k[(k[a+27956>>2]|0)+12>>2]&511](a,u)|0;m=k[a+27956>>2]|0;j=k[m+28>>2]|0;m=(Gi[k[m+36>>2]&2047](a)|0)-c|0;if((gj[j&511](a,m)|0)<0){n=113;break a}switch(b|0){case -10:{b=-10;n=123;break a}case 0:{n=116;break a}default:{}}b=k[u>>2]|0;if(!((b&3072|0)==3072|((b&61440|0)==61440|(b>>>0<4292870144|(b&393216|0)==0))))if(!((b^e)&-128e3))break;k[a+27820>>2]=0;if((gj[k[(k[a+27956>>2]|0)+28>>2]&511](a,3)|0)<0){n=121;break a}c=d;continue a}while(0)}h=(Gi[k[(k[a+27956>>2]|0)+36>>2]&2047](a)|0)+-4|0;c=a+19872+((k[a+27816>>2]|0)*3968|0)+512|0;b=Ri[k[(k[a+27956>>2]|0)+24>>2]&255](a,c,k[a+19736>>2]|0)|0;if((b|0)<0)break;k[a+27812>>2]=k[a+27808>>2];k[a+27808>>2]=c;k[a+27816>>2]=k[a+27816>>2]&1^1;if(k[a+27824>>2]|0){b=h;n=237;break}k[a+27824>>2]=k[u+232>>2];if((k[a+19748>>2]|0)>=0){b=h;n=237;break}k[a+19760>>2]=h;if((k[a+19688>>2]|0)!=3){b=h;n=236;break}j=(k[a+19672>>2]|0)!=0;j=(k[a+19652>>2]|0)==2?(j?17:32):j?9:17;e=k[a+28068>>2]|0;if(e&16384|0){b=h;n=236;break}if((k[a+19736>>2]|0)<(j+120|0)){b=h;n=236;break}else b=2;do{if(i[c+b>>0]|0)break;b=b+1|0}while((b|0)<(j|0));if((b|0)!=(j|0)){b=h;n=236;break}switch(i[c+j>>0]|0){case 73:{if((i[c+(j+1)>>0]|0)!=110){b=h;n=236;break a}if((i[c+(j|2)>>0]|0)!=102){b=h;n=236;break a}if((i[c+(j+3)>>0]|0)!=111){b=h;n=236;break a}break}case 88:{if((i[c+(j+1)>>0]|0)!=105){b=h;n=236;break a}if((i[c+(j|2)>>0]|0)!=110){b=h;n=236;break a}if((i[c+(j+3)>>0]|0)!=103){b=h;n=236;break a}k[a+19744>>2]=1;break}default:{b=h;n=236;break a}}if(!(e&32))if((k[a+28064>>2]|0)>1){Dpb(510022,37,1,t)|0;c=k[a+27808>>2]|0}m=l[c+((j|4)+3)>>0]|0;if(!(m&1))b=(j|4)+4|0;else{b=k[a+28068>>2]|0;do if(!(b&4096)){c=l[c+((j|4)+5)>>0]<<16|l[c+((j|4)+4)>>0]<<24|l[c+((j|4)+6)>>0]<<8|l[c+((j|4)+7)>>0];c=c>>>0>932067?0:c;k[a+19840>>2]=c;if(b&64){Ewa(a,c,0,0);b=k[a+28068>>2]|0}if(!(b&32)){if((k[a+28064>>2]|0)<=2)break;k[u+88>>2]=k[a+19840>>2];Cob(t,510126,u+88|0)|0}}else if(!(b&32))if((k[a+28064>>2]|0)>2)Dpb(510060,65,1,t)|0;while(0);b=(j|4)+8|0}if(m&2){c=k[a+28068>>2]|0;do if(!(c&4096)){h=k[a+27808>>2]|0;h=l[h+(b+1)>>0]<<16|l[h+b>>0]<<24|l[h+(b+2)>>0]<<8|l[h+(b+3)>>0];e=k[a+27960>>2]|0;do if((e|0)<1)k[a+27960>>2]=h;else{if(!((c&32|0)==0&(e|0)!=(h|0)))break;f=+(e-h|0)*(1.0/+(e|0))<0.0?-(+(e-h|0)*(1.0/+(e|0))):+(e-h|0)*(1.0/+(e|0));if((k[a+28064>>2]|0)>2){k[u+96>>2]=h;p[u+96+8>>3]=f;Cob(t,510215,u+96|0)|0}if(!(f>1.0))break;Cob(t,510292,u+112|0)|0}while(0);if(k[a+28068>>2]&32|0)break;if((k[a+28064>>2]|0)<=2)break;k[u+120>>2]=h;Cob(t,510394,u+120|0)|0}else if(!(c&32)){if((k[a+28064>>2]|0)<=2)break;Dpb(510150,64,1,t)|0}while(0);b=b+4|0}if(m&4){Fwa(a,(k[a+27808>>2]|0)+b|0)|0;b=b+100|0}if(!(m&8))h=b;else{do if(!(k[a+28068>>2]&32)){if((k[a+28064>>2]|0)<=2)break;m=k[a+27808>>2]|0;k[u+128>>2]=l[m+(b+1)>>0]<<16|l[m+b>>0]<<24|l[m+(b+2)>>0]<<8|l[m+(b+3)>>0];Cob(t,510417,u+128|0)|0}while(0);h=b+4|0}b=(k[a+27808>>2]|0)+h|0;if(i[b>>0]|0){k[u>>2]=0;k[u+4>>2]=0;e=u+248|0;c=e+9|0;do{i[e>>0]=i[b>>0]|0;e=e+1|0;b=b+1|0}while((e|0)<(c|0));i[u+248+9>>0]=0;do if(!(k[a+28068>>2]&32)){if((k[a+28064>>2]|0)<=2)break;k[u+136>>2]=u+248;Cob(t,510444,u+136|0)|0}while(0);if(!(Dmb(510469,u+248|0,4)|0)){i[u+258>>0]=0;k[u+144>>2]=u+244;k[u+144+4>>2]=u+240;k[u+144+8>>2]=u+258;do if((vob(u+248+4|0,510474,u+144|0)|0)>1){b=k[u+244>>2]|0;if(b>>>0>=3)if(!((b|0)==3?(k[u+240>>2]|0)>>>0<95:0)){f=0.0;break}if(k[a+28068>>2]&32|0){f=6.0;break}if((k[a+28064>>2]|0)<=2){f=6.0;break}p[u+160>>3]=6.0;Cob(t,510482,u+160|0)|0;f=6.0}else{if(k[a+28068>>2]&32|0){f=0.0;break}if((k[a+28064>>2]|0)<=2){f=0.0;break}Dpb(510548,43,1,t)|0;f=0.0}while(0)}else f=0.0;b=l[(k[a+27808>>2]|0)+(h+9)>>0]|0;do if(!(k[a+28068>>2]&32)){if((k[a+28064>>2]|0)<=2)break;k[u+168>>2]=b>>>4;Cob(t,510592,u+168|0)|0;k[u+176>>2]=b&15;Cob(t,510612,u+176|0)|0}while(0);switch(b&15|0){case 8:case 1:{k[a+19744>>2]=0;break}case 9:case 2:{k[a+19744>>2]=2;break}default:k[a+19744>>2]=1}do if(!(k[a+28068>>2]&32)){if((k[a+28064>>2]|0)<=2)break;p[u+184>>3]=0.0;Cob(t,510637,u+184|0)|0}while(0);e=h+15|0;j=k[a+27808>>2]|0;c=i[j+e>>0]|0;h:do if(!((c&255)>>>2&7))n=210;else{switch((c&255)>>>5<<24>>24){case 1:{b=0;break}case 2:{b=1;break}default:break h}g=+(l[j+(h+16)>>0]|(c&255)<<8&256|0)*(c&2?-.10000000149011612:.10000000149011612);o[u+(b<<2)>>2]=((c&255)>>>2&7|0)==3?g+f:g;n=210}while(0);if((n|0)==210){n=0;e=h+17|0;c=i[j+e>>0]|0}h=c&255;i:do if(!(h>>>2&7))n=231;else{switch((c&255)>>>5<<24>>24){case 1:{b=0;break}case 2:{b=1;break}default:break i}g=+(l[j+(e+1)>>0]|h<<8&256|0)*(c&2?-.10000000149011612:.10000000149011612);o[u+(b<<2)>>2]=(h>>>2&7|0)==3?g+f:g;n=231}while(0);if((n|0)==231){n=0;e=e+2|0}do if(!(k[a+28068>>2]&32)){if((k[a+28064>>2]|0)<=2)break;p[u+192>>3]=+o[u>>2];Cob(t,510679,u+192|0)|0;p[u+200>>3]=+o[u+4>>2];Cob(t,510714,u+200|0)|0}while(0);if((k[a+19816>>2]|0)<1){o[a+19832>>2]=0.0;k[a+19824>>2]=k[u>>2];k[a+19816>>2]=0}if((k[a+19820>>2]|0)<1){o[a+19836>>2]=0.0;k[a+19828>>2]=k[u+4>>2];k[a+19820>>2]=0}do if((k[a+19744>>2]|0)==2){b=l[(k[a+27808>>2]|0)+(e+1)>>0]|0;k[a+27828>>2]=b;if(k[a+28068>>2]&32|0)break;if((k[a+28064>>2]|0)<=2)break;k[u+208>>2]=b;Cob(t,510754,u+208|0)|0}while(0);c=e+2|0;b=k[a+28068>>2]|0;do if(!(b&32)){if((k[a+28064>>2]|0)<=2)break;m=k[a+27808>>2]|0;j=l[m+(e+3)>>0]|0;b=j<<8&3840|l[m+(e+4)>>0];k[u+216>>2]=j>>>4|l[m+c>>0]<<4;k[u+216+4>>2]=b;Cob(t,510781,u+216|0)|0;b=k[a+28068>>2]|0}while(0);if(b&64|0){m=k[a+27808>>2]|0;j=l[m+(e+3)>>0]|0;Ewa(a,k[a+19840>>2]|0,j>>>4|l[m+c>>0]<<4,j<<8&3840|l[m+(e+4)>>0])}}b=k[a+27816>>2]|0;k[a+27808>>2]=a+19872+(b*3968|0)+512;k[a+27816>>2]=b&1^1;b=k[(k[a+27956>>2]|0)+44>>2]|0;if(b|0)Si[b&1023](a);k[a+27820>>2]=0;c=d;continue}if((n|0)==58){n=0;c=b;continue}else if((n|0)==103){n=0;c=b;continue}}switch(n|0){case 54:{if(!(k[a+28068>>2]&32)){k[u+16>>2]=1078;k[u+16+4>>2]=b;Cob(t,509340,u+16|0)|0}b=10;break}case 56:break;case 87:{k[u+232>>2]=c;if(!(k[a+28068>>2]&32))Dpb(509566,49,1,t)|0;if(!b)b=10;else n=102;break}case 96:{if(!(k[a+28068>>2]&32)){k[u+40>>2]=1159;k[u+40+4>>2]=b;Cob(t,509651,u+40|0)|0}k[a+28376>>2]=28;b=-1;n=102;break}case 99:{if(!(b&32)){k[u+48>>2]=1173;Cob(t,509778,u+48|0)|0}k[a+28376>>2]=27;b=-1;n=102;break}case 108:{if((b|0)==-1)if(!(k[a+28068>>2]&32)){k[u+56>>2]=966;Cob(t,509827,u+56|0)|0}b=(b|0)==-10?-10:-1;n=123;break}case 113:{if(!(k[a+28068>>2]&32)){k[u+64>>2]=975;Cob(t,509861,u+64|0)|0;b=-1;n=123}else{b=-1;n=123}break}case 116:{if(!(k[a+28068>>2]&32)){k[u+72>>2]=984;Cob(t,509900,u+72|0)|0}b=10;break}case 121:{if(!(k[a+28068>>2]&32)){k[u+80>>2]=996;Cob(t,509975,u+80|0)|0;b=-1;n=123}else{b=-1;n=123}break}case 236:{Gwa(a);c=k[a+27808>>2]|0;n=238;break}case 237:{n=238;break}}if((n|0)!=102)if((n|0)==123)gj[k[(k[a+27956>>2]|0)+28>>2]&511](a,4)|0;else if((n|0)==238){k[a+19784>>2]=0;k[a+19788>>2]=c;d=k[a+19856>>2]|0;k[a+19856>>2]=d+1;if(d+1|0){g=+p[a+19848>>3]*+(d|0);c=k[a+19688>>2]|0;switch(c|0){case 1:{s=k[a+19672>>2]|0;f=+(k[33904+(s*192|0)+(k[a+19700>>2]<<2)>>2]|0)*48.0e3/+(k[34288+(k[a+19704>>2]<<2)>>2]<>2]|0;f=+(k[33904+(s*192|0)+(c+-1<<6)+(k[a+19700>>2]<<2)>>2]|0)*144.0e3/+(k[34288+(k[a+19704>>2]<<2)>>2]<>3]=(f+g)/+(d+1|0)}c=(k[a+19748>>2]|0)+1|0;k[a+19748>>2]=c;d=k[a+19764>>2]|0;do if(!(d&2)){e=k[a+19840>>2]|0;if((e|0)<1|(c|0)<(e|0)){s=k[a+27920>>2]|0;if((s|0)<1|(c|0)<(s|0))break}k[a+19764>>2]=d|2;if(!(k[a+28068>>2]&32)){s=k[a+27920>>2]|0;k[u+224>>2]=c;k[u+224+4>>2]=(s|0)>0?s:e;Cob(t,510954,u+224|0)|0}}while(0);if(k[a+28084>>2]|0)if((k[a+19688>>2]|0)==3)ABb(a+9548|0,k[a+27808>>2]|0,k[a+19864>>2]|0)|0;k[a+19752>>2]=b;if(k[a+19764>>2]&1|0)if(k[a+27844>>2]|0)if((k[a+19748>>2]|0)==(k[a+27840>>2]|0))Hwa(a+27832|0,b);b=i[a+19768>>0]|0;if(b<<24>>24>0)i[a+19768>>0]=b+-1<<24>>24;b=k[(k[a+27956>>2]|0)+44>>2]|0;if(b|0)Si[b&1023](a);k[a+27904>>2]=1;k[a+27900>>2]=1;if(k[a+19696>>2]|0){q=k[a+19788>>2]|0;s=k[a+19784>>2]|0;t=((l[q>>0]<<8|l[q+1>>0])<<8|l[q+2>>0])<>>8&65535;k[a+19788>>2]=q+(s+16>>3);k[a+19784>>2]=s+16&7;k[a+27952>>2]=t}k[a+27820>>2]=k[u+232>>2];a=1;r=u;return a|0}c=k[(k[a+27956>>2]|0)+44>>2]|0;if(c|0)Si[c&1023](a);i[a+19768>>0]=0;if(!(k[a+28376>>2]|0))k[a+28376>>2]=18;k[a+19736>>2]=q;k[a+9584>>2]=s;a=b;r=u;return a|0}function lwa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0.0,h=0,m=0,n=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;I=r;r=r+384|0;if((b&255|0)==255){a=0;r=I;return a|0}c=Ri[k[(k[a+27956>>2]|0)+24>>2]&255](a,I+368|0,6)|0;if((c|0)<0){a=c;r=I;return a|0}d=i[I+368>>0]|0;if(d<<24>>24==-1){a=0;r=I;return a|0}D=i[I+368+1>>0]|0;E=i[I+368+2>>0]|0;F=i[I+368+3>>0]|0;G=i[I+368+4>>0]|0;H=i[I+368+5>>0]|0;if((F|E|G|H)<<24>>24<0){if(k[a+28068>>2]&32|0){a=0;r=I;return a|0}a=k[37151]|0;k[I>>2]=583;k[I+4>>2]=E&255;k[I+8>>2]=F&255;k[I+12>>2]=G&255;k[I+16>>2]=H&255;Cob(a,505491,I)|0;a=0;r=I;return a|0}c=k[a+28068>>2]|0;if(!(c&32))if((k[a+28064>>2]|0)>1){c=k[37151]|0;k[I+24>>2]=b&255;k[I+24+4>>2]=d&255;k[I+24+8>>2]=(F&255)<<14|(E&255)<<21|(G&255)<<7|H&255;Cob(c,505590,I+24|0)|0;c=k[a+28068>>2]|0}d=(c&8192|0)==0;if(d)if(((b&255)+-2|0)>>>0>2|(D&15|0)!=0)B=12;else{i[a+28524>>0]=b;C=hqb(((F&255)<<14|(E&255)<<21|(G&255)<<7|H&255)+1|0)|0;if(!C){if(!(c&32)){D=k[37151]|0;k[I+320>>2]=816;k[I+320+4>>2]=(F&255)<<14|(E&255)<<21|(G&255)<<7|H&255;Cob(D,508164,I+320|0)|0}a=gj[k[(k[a+27956>>2]|0)+20>>2]&511](a,(F&255)<<14|(E&255)<<21|(G&255)<<7|H&255)|0;a=(a|0)<0?a:0;r=I;return a|0}c=Ri[k[(k[a+27956>>2]|0)+24>>2]&255](a,C,(F&255)<<14|(E&255)<<21|(G&255)<<7|H&255)|0;a:do if((c|0)>0){i[C+((F&255)<<14|(E&255)<<21|(G&255)<<7|H&255)>>0]=0;do if(!(D&64))c=0;else{f=i[C>>0]|0;if((b&255|0)==3){c=l[C+1>>0]<<16|(f&255)<<24|l[C+2>>0]<<8|l[C+3>>0];break}c=i[C+1>>0]|0;d=i[C+2>>0]|0;e=i[C+3>>0]|0;if((c|f|d|e)<<24>>24>=0){c=(c&255)<<14|(f&255)<<21|(d&255)<<7|e&255;break}if(k[a+28068>>2]&32|0){c=0;break a}b=k[37151]|0;k[I+56>>2]=626;k[I+56+4>>2]=f&255;k[I+56+8>>2]=c&255;k[I+56+12>>2]=d&255;k[I+56+16>>2]=e&255;Cob(b,505798,I+56|0)|0;c=0;break a}while(0);i[I+328+4>>0]=0;y=((F&255)<<14|(E&255)<<21|(G&255)<<7|H&255)+-10|0;b:do if(c>>>0>>0){z=k[37151]|0;A=I+336+8|0;c:while(1){n=(i[a+28524>>0]|0)==2;m=n?3:4;d=0;do{x=i[C+(d+c)>>0]|0;d=d+1|0;if(!((x+-48&255)<10|(x+-65&255)<26))break b}while((d|0)<(m|0));dpb(I+328|0,C+c|0,m)|0;i[I+328+m>>0]=0;h=m+c|0;c=i[C+h>>0]|0;do if((i[a+28524>>0]|0)==2)q=l[C+h+1>>0]<<8|(c&255)<<16|l[C+h+2>>0];else{if((b&255|0)==3){q=l[C+h+1>>0]<<16|(c&255)<<24|l[C+h+2>>0]<<8|l[C+h+3>>0];break}d=i[C+h+1>>0]|0;e=i[C+h+2>>0]|0;f=i[C+h+3>>0]|0;if((d|c|e|f)<<24>>24<0){B=38;break c}q=(d&255)<<14|(c&255)<<21|(e&255)<<7|f&255}while(0);if(!(k[a+28068>>2]&32))if((k[a+28064>>2]|0)>2){k[I+88>>2]=I+328;k[I+88+4>>2]=q;Cob(z,505955,I+88|0)|0}c=h+m+q|0;if(c>>>0>((F&255)<<14|(E&255)<<21|(G&255)<<7|H&255)>>>0){B=44;break}if((l[a+28524>>0]|0)>2){f=l[C+(h+m)>>0]<<8|l[C+(h+m+1)>>0];m=h+m+2|0;c=c+2|0}else{f=0;m=h+m|0}do if(n){d=0;while(1){e=k[34324+(d<<2)>>2]|0;if(!(Dmb(I+328|0,e,3)|0)){B=50;break}d=d+1|0;if(d>>>0>=37){B=54;break}}if((B|0)==50){d=k[34472+(d<<2)>>2]|0;k[I+328>>2]=l[d>>0]|l[d+1>>0]<<8|l[d+2>>0]<<16|l[d+3>>0]<<24;if(k[a+28068>>2]&32|0){B=57;break}if((k[a+28064>>2]|0)<=2){B=57;break}k[I+104>>2]=e;k[I+104+4>>2]=d;Cob(z,506407,I+104|0)|0;B=57;break}else if((B|0)==54){B=0;if(k[a+28068>>2]&32|0)break;if((k[a+28064>>2]|0)<=2)break;x=k[I+328>>2]|0;k[I+112>>2]=x<<24>>24;k[I+112+4>>2]=x>>>8<<24>>24;k[I+112+8>>2]=x<<8>>24;Cob(z,506442,I+112|0)|0;break}}else B=57;while(0);d:do if((B|0)==57){B=0;if(f&36796|0){if(k[a+28068>>2]&32|0)break;k[I+128>>2]=701;Cob(z,506506,I+128|0)|0;break}do if(!(Dmb(506486,I+328|0,4)|0))d=0;else{if(!(Dmb(506491,I+328|0,4)|0)){d=1;break}if(!(Dmb(506496,I+328|0,4)|0)){d=2;break}d=(Dmb(506501,I+328|0,4)|0)==0;d=d?3:-2}while(0);w=(d|0)!=1&(i[I+328>>0]|0)==84?-1:d;if((w|0)==-2)break;d=C+m|0;x=(f&2|D&128|0)==0;e:do if(x){n=d;m=q}else{n=hqb(q)|0;if(!n){if(k[a+28068>>2]&32|0)break d;k[I+136>>2]=726;Cob(z,506569,I+136|0)|0;break d}i[n>>0]=i[d>>0]|0;h=m+q|0;d=m;m=1;while(1){while(1){f=d+1|0;if(f>>>0>=h>>>0)break e;e=i[C+f>>0]|0;if(e<<24>>24){d=f;break}if((i[C+d>>0]|0)==-1)d=f;else{d=f;break}}i[n+m>>0]=e;m=m+1|0}}while(0);f:do switch(w|0){case 3:case 0:{u=i[n>>0]|0;e=n+1|0;s=n+4|0;v=n;g:do if((m|0)<4){if(k[a+28068>>2]&32|0)break;k[I+144>>2]=327;k[I+144+4>>2]=m;Cob(z,506643,I+144|0)|0}else{do if((w|0)==3){d=hwa(k[a+28560>>2]|0,(k[a+28564>>2]<<5)+32|0)|0;if(!d){t=0;break}k[a+28560>>2]=d;t=k[a+28564>>2]|0;k[a+28564>>2]=t+1;mwa(d+(t<<5)+20|0);mwa(d+(t<<5)+8|0);k[d+(t<<5)>>2]=0;j[d+(t<<5)+4>>1]=0;i[d+(t<<5)+6>>0]=0;t=(k[a+28560>>2]|0)+((k[a+28564>>2]|0)+-1<<5)|0}else{d=hwa(k[a+28552>>2]|0,(k[a+28556>>2]<<5)+32|0)|0;if(!d){t=0;break}k[a+28552>>2]=d;t=k[a+28556>>2]|0;k[a+28556>>2]=t+1;mwa(d+(t<<5)+20|0);mwa(d+(t<<5)+8|0);k[d+(t<<5)>>2]=0;j[d+(t<<5)+4>>1]=0;i[d+(t<<5)+6>>0]=0;t=(k[a+28552>>2]|0)+((k[a+28556>>2]|0)+-1<<5)|0}while(0);do if(!(k[a+28068>>2]&32)){if((k[a+28064>>2]|0)<=3)break;switch(i[n>>0]|0){case 0:{d=506750;break}case 1:{d=506739;break}case 2:{d=506729;break}case 3:{d=506723;break}default:d=506714}k[I+152>>2]=d;Cob(z,506758,I+152|0)|0}while(0);if(!t){if(k[a+28068>>2]&32|0)break;k[I+160>>2]=334;Cob(z,506798,I+160|0)|0;break};i[t>>0]=i[e>>0]|0;i[t+1>>0]=i[e+1>>0]|0;i[t+2>>0]=i[e+2>>0]|0;h=t+3|0;q=k[I+328>>2]|0;i[h>>0]=q;i[h+1>>0]=q>>8;i[h+2>>0]=q>>16;i[h+3>>0]=q>>24;h=n+3|0;i[h>>0]=u;q=m+-4|0;f=k[34620+(u<<24>>24<<2)>>2]|0;h:do if((q|0)>0){if(((u<<24>>24)+-1|0)>>>0<2){e=0;d=s;while(1){if(!(i[d>>0]|0)){if(f>>>0>(q-e|0)>>>0)break h;else e=1;do{if(i[d+e>>0]|0)break;e=e+1|0}while(e>>>0>>0);d=d+f|0;if((e|0)==(f|0)){B=117;break h}}else d=d+f|0;e=d-s|0;if((e|0)>=(q|0)){B=117;break h}}}switch(u<<24>>24|0){case 3:{e=0;d=s;while(1){if(!(i[d>>0]|0))break;d=d+f|0;e=d-s|0;if((e|0)>=(q|0)){B=117;break h}}if(f>>>0>(q-e|0)>>>0)break h;d=d+f|0;B=117;break h}case 0:{e=0;d=s;while(1){if(!(i[d>>0]|0))break;d=d+f|0;e=d-s|0;if((e|0)>=(q|0)){B=117;break h}}if(f>>>0>(q-e|0)>>>0)break h;d=d+f|0;B=117;break h}default:{e=0;d=s;while(1){if(!(i[d>>0]|0)){if(f>>>0>(q-e|0)>>>0)break h;d=d+f|0;switch(u<<24>>24|0){case 0:case 3:{B=117;break h}default:{}}}else d=d+f|0;e=d-s|0;if((e|0)>=(q|0)){B=117;break}}}}}else{d=s;B=117}while(0);do if((B|0)==117){B=0;e=d;if((d|0)==0|(e-s|0)>>>0>=q>>>0)break;mwa(I+336+20|0);mwa(I+336+8|0);k[I+336>>2]=0;j[I+336+4>>1]=0;i[I+336+6>>0]=0;q=k[a+28068>>2]|0;owa(t+8|0,h,e-s+1|0,q>>>5&1^1,q&2048);if(!w)owa(I+336+8|0,h,e-s+1|0,(k[a+28068>>2]|0)>>>5&1^1,0);h=d+-1|0;i[h>>0]=u;f=m+1+(v-e)|0;v=k[a+28068>>2]|0;owa(t+20|0,h,f,v>>>5&1^1,v&2048);do if(!(k[a+28068>>2]&32)){if((k[a+28064>>2]|0)<=3)break;k[I+176>>2]=k[t+16>>2];Cob(z,507318,I+176|0)|0;k[I+184>>2]=k[t+28>>2];Cob(z,507359,I+184|0)|0}while(0);i:do if(!((k[I+336+16>>2]|0)==0|(w|0)==0^1)){d=k[I+336+8>>2]|0;do if(!(Hnb(d,507400)|0))e=0;else{if(!(Hnb(d,507404)|0)){e=0;break}if(!(Hnb(d,507412)|0)){e=0;break}if(!(Hnb(d,507422)|0)){e=0;break}if(!(Hnb(d,507432)|0)){e=1;break}if(!(Hnb(d,507442)|0)){e=1;break}if(!(Hnb(d,507457)|0))e=1;else break i}while(0);d=a+19816+(e<<2)|0;if((k[d>>2]|0)>=2)break;owa(I+336+20|0,h,f,(k[a+28068>>2]|0)>>>5&1^1,0);if(!(k[I+336+28>>2]|0))break;g=+Spb(k[I+336+20>>2]|0);o[a+19824+(e<<2)>>2]=g;do if(!(k[a+28068>>2]&32)){if((k[a+28064>>2]|0)<=2)break;p[I+192>>3]=g;Cob(z,507466,I+192|0)|0}while(0);o[a+19832+(e<<2)>>2]=0.0;k[d>>2]=1}while(0);nwa(I+336+20|0);nwa(I+336+8|0);break g}while(0);if(!(k[a+28068>>2]&32)){k[I+168>>2]=345;Cob(z,506847,I+168|0)|0}d=k[a+28556>>2]|0;if(!d)break;e=k[a+28552>>2]|0;nwa(e+(d+-1<<5)+20|0);nwa(e+(d+-1<<5)+8|0);d=k[a+28556>>2]|0;e=k[a+28552>>2]|0;if(d>>>0<=1){iqb(e);k[a+28552>>2]=0;k[a+28556>>2]=0;break}d=hwa(e,(d<<5)+-32|0)|0;if(!d)break;k[a+28552>>2]=d;k[a+28556>>2]=(k[a+28556>>2]|0)+-1}while(0);break}case 1:{s=i[n>>0]|0;q=n+1|0;t=n;j:do if((m|0)<1){if(k[a+28068>>2]&32|0)break;k[I+200>>2]=409;k[I+200+4>>2]=m;Cob(z,506643,I+200|0)|0}else{h=m+-1|0;f=k[34620+(s<<24>>24<<2)>>2]|0;k:do if((h|0)>0){if(((s<<24>>24)+-1|0)>>>0<2){e=0;d=q;while(1){if(!(i[d>>0]|0)){if(f>>>0>(h-e|0)>>>0){e=0;break k}else e=1;do{if(i[d+e>>0]|0)break;e=e+1|0}while(e>>>0>>0);d=d+f|0;if((e|0)==(f|0)){B=172;break k}}else d=d+f|0;e=d-q|0;if((e|0)>=(h|0)){B=172;break k}}}switch(s<<24>>24|0){case 3:{e=0;d=q;while(1){if(!(i[d>>0]|0))break;d=d+f|0;e=d-q|0;if((e|0)>=(h|0)){B=172;break k}}if(f>>>0>(h-e|0)>>>0){e=0;break k}d=d+f|0;B=172;break k}case 0:{e=0;d=q;while(1){if(!(i[d>>0]|0))break;d=d+f|0;e=d-q|0;if((e|0)>=(h|0)){B=172;break k}}if(f>>>0>(h-e|0)>>>0){e=0;break k}d=d+f|0;B=172;break k}default:{e=0;d=q;while(1){if(!(i[d>>0]|0)){if(f>>>0>(h-e|0)>>>0){e=0;break k}d=d+f|0;switch(s<<24>>24|0){case 0:case 3:{B=172;break k}default:{}}}else d=d+f|0;e=d-q|0;if((e|0)>=(h|0)){B=172;break}}}}}else{d=q;B=172}while(0);if((B|0)==172){B=0;e=(d-q|0)>>>0>>0?d:0}do if(!(k[a+28068>>2]&32)){if((k[a+28064>>2]|0)<=3)break;switch(s<<24>>24|0){case 0:{d=506750;break}case 1:{d=506739;break}case 2:{d=506729;break}case 3:{d=506723;break}default:d=506714}k[I+208>>2]=d;Cob(z,507488,I+208|0)|0}while(0);if(!e){if(k[a+28068>>2]&32|0)break;k[I+216>>2]=416;Cob(z,507526,I+216|0)|0;break}d=hwa(k[a+28568>>2]|0,(k[a+28572>>2]<<5)+32|0)|0;do if(d|0){k[a+28568>>2]=d;f=k[a+28572>>2]|0;k[a+28572>>2]=f+1;mwa(d+(f<<5)+20|0);mwa(d+(f<<5)+8|0);k[d+(f<<5)>>2]=0;j[d+(f<<5)+4>>1]=0;i[d+(f<<5)+6>>0]=0;d=(k[a+28572>>2]|0)+-1|0;f=k[a+28568>>2]|0;if(!(f+(d<<5)|0))break;h=k[I+328>>2]|0;i[f+(d<<5)+3>>0]=h;i[f+(d<<5)+3+1>>0]=h>>8;i[f+(d<<5)+3+2>>0]=h>>16;i[f+(d<<5)+3+3>>0]=h>>24;mwa(I+336+20|0);mwa(A);k[I+336>>2]=0;j[I+336+4>>1]=0;i[I+336+6>>0]=0;h=e;w=k[a+28068>>2]|0;owa(f+(d<<5)+8|0,n,h-q+1|0,w>>>5&1^1,w&2048);owa(A,n,h-q+1|0,(k[a+28068>>2]|0)>>>5&1^1,0);q=e+-1|0;i[q>>0]=s;h=m+1+t-h|0;w=k[a+28068>>2]|0;owa(f+(d<<5)+20|0,q,h,w>>>5&1^1,w&2048);l:do if(k[I+336+16>>2]|0){d=k[A>>2]|0;do if(!(Onb(d,507638,17)|0)){do if(!(k[a+28068>>2]&32)){if((k[a+28064>>2]|0)<=2)break;Dpb(507656,37,1,z)|0;d=k[A>>2]|0}while(0);if(!(Hnb(d,507694)|0)){e=1;f=0;break}if(!(Hnb(d,507716)|0)){e=0;f=0}else break l}else{if(Onb(d,507738,17)|0)break l;do if(!(k[a+28068>>2]&32)){if((k[a+28064>>2]|0)<=2)break;Dpb(507756,37,1,z)|0;d=k[A>>2]|0}while(0);if(!(Hnb(d,507794)|0)){e=1;f=1;break}if(!(Hnb(d,507816)|0)){e=0;f=1}else break l}while(0);d=a+19816+(f<<2)|0;if((k[d>>2]|0)>=3)break;owa(I+336+20|0,q,h,(k[a+28068>>2]|0)>>>5&1^1,0);if(!(k[I+336+28>>2]|0))break;g=+Spb(k[I+336+20>>2]|0);do if(!e){o[a+19824+(f<<2)>>2]=g;if(k[a+28068>>2]&32|0)break;if((k[a+28064>>2]|0)<=2)break;p[I+240>>3]=g;Cob(z,507857,I+240|0)|0}else{o[a+19832+(f<<2)>>2]=g;if(k[a+28068>>2]&32|0)break;if((k[a+28064>>2]|0)<=2)break;p[I+232>>3]=g;Cob(z,507838,I+232|0)|0}while(0);k[d>>2]=2}while(0);nwa(I+336+20|0);nwa(A);break j}while(0);if(k[a+28068>>2]&32|0)break;k[I+224>>2]=422;Cob(z,507586,I+224|0)|0}while(0);break}case 2:{do if(!(k[a+28068>>2]&32)){if((k[a+28064>>2]|0)<=2)break;k[I+248>>2]=n;Cob(z,507878,I+248|0)|0}while(0);do if(!(Onb(n,507910,5)|0))B=219;else{if(!(Onb(n,507916,10)|0)){B=219;break}if(!(Onb(n,507927,4)|0))B=219;else f=0}while(0);if((B|0)==219){B=0;f=1}e=a+19816+(f<<2)|0;if((k[e>>2]|0)>=4)break f;d=Fnb(n)|0;if((i[n+(d+1)>>0]|0)!=1)break f;g=+(i[n+(d+2)>>0]<<8|l[n+(d+3)>>0]|0)*.001953125;o[a+19824+(f<<2)>>2]=g;do if(!(k[a+28068>>2]&32)){if((k[a+28064>>2]|0)<=2)break;p[I+256>>3]=g;Cob(z,507466,I+256|0)|0}while(0);o[a+19832+(f<<2)>>2]=0.0;k[e>>2]=3;break}case -1:{d=hwa(k[a+28560>>2]|0,(k[a+28564>>2]<<5)+32|0)|0;if(!d)d=0;else{k[a+28560>>2]=d;w=k[a+28564>>2]|0;k[a+28564>>2]=w+1;mwa(d+(w<<5)+20|0);mwa(d+(w<<5)+8|0);k[d+(w<<5)>>2]=0;j[d+(w<<5)+4>>1]=0;i[d+(w<<5)+6>>0]=0;d=(k[a+28560>>2]|0)+((k[a+28564>>2]|0)+-1<<5)|0}do if(!(k[a+28068>>2]&32)){if((k[a+28064>>2]|0)<=3)break;switch(i[n>>0]|0){case 0:{e=506750;break}case 1:{e=506739;break}case 2:{e=506729;break}case 3:{e=506723;break}default:e=506714}k[I+264>>2]=e;Cob(z,507932,I+264|0)|0}while(0);if(!d){if(k[a+28068>>2]&32|0)break f;k[I+272>>2]=302;Cob(z,507969,I+272|0)|0;break f}w=d+3|0;v=k[I+328>>2]|0;i[w>>0]=v;i[w+1>>0]=v>>8;i[w+2>>0]=v>>16;i[w+3>>0]=v>>24;d=d+20|0;w=k[a+28068>>2]|0;owa(d,n,m,w>>>5&1^1,w&2048);if(k[a+28068>>2]&32|0)break f;if((k[a+28064>>2]|0)<=3)break f;v=k[I+328>>2]|0;w=k[d>>2]|0;k[I+280>>2]=v<<24>>24;k[I+280+4>>2]=v>>>8<<24>>24;k[I+280+8>>2]=v<<8>>24;k[I+280+12>>2]=v>>24;k[I+280+16>>2]=w;Cob(z,508015,I+280|0)|0;break}default:{if(k[a+28068>>2]&32|0)break f;k[I+304>>2]=786;k[I+304+4>>2]=w;Cob(z,508052,I+304|0)|0}}while(0);if(x)break;iqb(n)}while(0);if(c>>>0>=y>>>0)break b}if((B|0)==38){if(k[a+28068>>2]&32|0)break;k[I+80>>2]=666;k[I+80+4>>2]=I+328;Cob(z,505868,I+80|0)|0;break}else if((B|0)==44){if(k[a+28068>>2]&32|0)break;k[I+96>>2]=673;Cob(z,505989,I+96|0)|0;break}}while(0);c=1}else if((F&255)<<14|(E&255)<<21|(G&255)<<7|H&255)if((c|0)!=-10?(k[a+28068>>2]&32|0)==0:0){b=k[37151]|0;k[I+312>>2]=808;Cob(b,508100,I+312|0)|0}while(0);iqb(C)}else B=12;if((B|0)==12){do if(!(c&32)){if(d){C=k[37151]|0;k[I+40>>2]=599;k[I+40+4>>2]=b&255;k[I+40+8>>2]=D&255;Cob(C,505674,I+40|0)|0;break}if((k[a+28064>>2]|0)>2)Dpb(505630,43,1,k[37151]|0)|0}while(0);c=gj[k[(k[a+27956>>2]|0)+20>>2]&511](a,(F&255)<<14|(E&255)<<21|(G&255)<<7|H&255)|0;c=(c|0)<0?c:1}if((D&16)==0|(c|0)<1){a=c;r=I;return a|0}a=gj[k[(k[a+27956>>2]|0)+20>>2]&511](a,(F&255)<<14|(E&255)<<21|(G&255)<<7|H&255)|0;a=(a|0)<0?a:c;r=I;return a|0}function mwa(a){a=a|0;k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;return}function nwa(a){a=a|0;var b=0;b=k[a>>2]|0;if(b|0)iqb(b);k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;return}function owa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0;j=r;r=r+48|0;if(!c){r=j;return}if(e|0){if(pwa(a,c)|0){ABb(k[a>>2]|0,b|0,c|0)|0;k[a+8>>2]=c;r=j;return}if(!d){r=j;return}a=k[37151]|0;k[j>>2]=203;Cob(a,506903,j)|0;r=j;return}h=i[b>>0]|0;if((h&255)>3){if(d|0){g=k[37151]|0;k[j+8>>2]=227;k[j+8+4>>2]=h&255;Cob(g,506966,j+8|0)|0}nwa(a)}else{g=k[34620+((h&255)<<2)>>2]|0;a:do if(h<<24>>24!=2&g>>>0<(c+-1|0)>>>0){e=c+-1|0;b=b+1|0;while(1){if(i[b>>0]|0){f=b;break a}e=e+-1|0;b=b+1|0;if(e>>>0<=g>>>0){f=b;break}}}else{f=b+1|0;e=c+-1|0}while(0);b=(e>>>0)%(g>>>0)|0;if(b){if(d|0){g=k[37151]|0;k[j+16>>2]=244;k[j+16+4>>2]=e;k[j+16+8>>2]=h&255;Cob(g,507037,j+16|0)|0}e=e-b|0}vj[k[34636+((h&255)<<2)>>2]&127](a,f,e,d)}if(!((d|0)!=0&(k[a+8>>2]|0)==0)){r=j;return}a=k[37151]|0;k[j+32>>2]=215;Cob(a,507235,j+32|0)|0;r=j;return}function pwa(a,b){a=a|0;b=b|0;var c=0;c=k[a+4>>2]|0;if(!b){if(c|0){c=k[a>>2]|0;if(c|0)iqb(c)}k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;a=1;return a|0}if((c|0)==(b|0)){a=1;return a|0}c=hwa(k[a>>2]|0,b)|0;if(!c){a=0;return a|0}k[a>>2]=c;k[a+4>>2]=b;a=1;return a|0}function qwa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;if(!c)j=0;else{e=0;d=c;do{d=((l[b+e>>0]|0)>>>7&255)+d|0;e=e+1|0}while((e|0)!=(c|0));j=d}h=j+1|0;if(!(pwa(a,h)|0)){nwa(a);return}d=k[a>>2]|0;if(c){g=0;do{f=b+g|0;e=i[f>>0]|0;if(e<<24>>24>-1){i[d>>0]=e;d=d+1|0}else{i[d>>0]=(e&255)>>>6|192;i[d+1>>0]=(l[f>>0]|0)&63|128;d=d+2|0}g=g+1|0}while((g|0)!=(c|0));d=k[a>>2]|0}i[d+j>>0]=0;k[a+8>>2]=h;return}function rwa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,m=0,n=0;m=r;r=r+32|0;k[m+16>>2]=b;k[m+12>>2]=c;j=(swa(m+16|0,m+12|0)|0)==-1;h=k[m+12>>2]|0;a:do if(!(h&-2)){c=0;e=0}else{f=k[m+16>>2]|0;g=j?3:2;e=0;c=0;while(1){n=(l[f+(e+(j&1))>>0]|0)<<8;b=n|(l[f+(e+(j&1^1))>>0]|0);if((n&55296|0)==55296){if((e+3|0)>>>0>=h>>>0)break;if((i[f+(g+e)>>0]&-36)<<24>>24!=-36)break;b=4;e=e+2|0}else b=b>>>0<128?1:b>>>0<2048?2:3;c=b+c|0;e=e+2|0;if(e>>>0>=(h&-2)>>>0){e=h&-2;break a}}if(d){n=k[37151]|0;k[m>>2]=941;k[m+4>>2]=e;k[m+8>>2]=b;Cob(n,507169,m)|0}}while(0);if(!(pwa(a,c+1|0)|0)){nwa(a);r=m;return}c=k[a>>2]|0;if(e){b=0;do{f=k[m+16>>2]|0;g=l[f+(b+(j&1))>>0]|0;h=i[f+(b+(j&1^1))>>0]|0;d=g<<8|h&255;do if((g<<8&55296|0)==55296){b=b+2|0;n=(l[f+(b+(j&1^1))>>0]|0|d<<10&1047552|(l[f+(b+(j&1))>>0]|0)<<8&768)+65536|0;i[c>>0]=n>>>18|240;i[c+1>>0]=n>>>12&63|128;i[c+2>>0]=n>>>6&63|128;i[c+3>>0]=n&63|128;c=c+4|0}else{if(d>>>0<128){i[c>>0]=h;c=c+1|0;break}if(d>>>0<2048){i[c>>0]=d>>>6|192;i[c+1>>0]=h&63|128;c=c+2|0;break}else{i[c>>0]=g>>>4|224;i[c+1>>0]=d>>>6&63|128;i[c+2>>0]=h&63|128;c=c+3|0;break}}while(0);b=b+2|0}while(b>>>0>>0);c=k[a>>2]|0}i[c+((k[a+4>>2]|0)+-1)>>0]=0;k[a+8>>2]=k[a+4>>2];r=m;return}function swa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=k[b>>2]|0;if(d>>>0<2)return 0;e=k[a>>2]|0;switch(i[e>>0]|0){case -1:{c=(i[e+1>>0]|0)==-2;if(c)c=c<<31>>31;else return 0;break}case -2:{if((i[e+1>>0]|0)==-1)c=1;else return 0;break}default:return 0}k[a>>2]=e+2;k[b>>2]=d+-2;a=swa(a,b)|0;return ((a|0)==0?c:a)|0}function twa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(!(pwa(a,c+1|0)|0)){nwa(a);return}else{ABb(k[a>>2]|0,b|0,c|0)|0;i[(k[a>>2]|0)+c>>0]=0;k[a+8>>2]=c+1;return}}function uwa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=r;r=r+64|0;e=(b>>>19&2|0)==0?1:b>>>19&1^1;k[a+19672>>2]=e;k[a+19676>>2]=(b>>>19&2)>>>1^1;f=k[a+28068>>2]|0;if(!(f&128)){d=k[a+27820>>2]|0;if(!d)g=4;else if((d>>>19^b>>>19)&3|0)g=4}else g=4;do if((g|0)==4){k[a+19688>>2]=4-(b>>>17&3);if(((b>>>19&2)>>>1|0)==1){k[a+19704>>2]=(0-e&3)+(b>>>10&3);break}else{k[a+19704>>2]=(b>>>10&3)+6;break}}while(0);k[a+19696>>2]=b>>>16&1^1;k[a+19700>>2]=(b&61440)>>>12;k[a+19708>>2]=b>>>9&1;k[a+19712>>2]=b>>>8&1;k[a+19716>>2]=b>>>6&3;k[a+19720>>2]=b>>>4&3;k[a+19724>>2]=b>>>3&1;k[a+19728>>2]=b>>>2&1;k[a+19732>>2]=b&3;k[a+19776>>2]=(b&61440|0)==0&1;k[a+19652>>2]=(b>>>6&3|0)==3?1:2;a:do if(!(b&61440)){d=k[a+19780>>2]|0;if((d|0)>=0){k[a+19736>>2]=(b>>>9&1)+d;break}g=k[c>>2]|0;k[c>>2]=g+1;if((g|0)>4){if(f&32|0){a=0;r=h;return a|0}if((k[a+28064>>2]|0)<=2){a=0;r=h;return a|0}a=k[37151]|0;k[h>>2]=728;Cob(a,508379,h)|0;a=0;r=h;return a|0}b:do if(!(k[a+27976>>2]&12))if(!(f&32)){g=k[37151]|0;k[h+8>>2]=634;Cob(g,508475,h+8|0)|0;g=23}else g=23;else{d=gj[k[(k[a+27956>>2]|0)+12>>2]&511](a,h+48|0)|0;c:do if((d|0)<1)g=24;else{d=k[a+27956>>2]|0;e=4;while(1){d=gj[k[d+16>>2]&511](a,h+48|0)|0;if((d|0)<1){g=24;break c}if(!((k[a+27820>>2]^k[h+48>>2])&-66320)){d=e;g=20;break}e=e+1|0;d=k[a+27956>>2]|0;if((e|0)>=3460){g=22;break}}if((g|0)==20){gj[k[(k[a+27956>>2]|0)+28>>2]&511](a,d+1|0)|0;k[a+19736>>2]=d+-3;d=d+-3|0;break}else if((g|0)==22){gj[k[d+28>>2]&511](a,e)|0;g=23;break b}}while(0);d:do if((g|0)==24)switch(d|0){case 1:{d=k[a+19736>>2]|0;break d}case -10:{a=-10;r=h;return a|0}default:break b}while(0);d=d-(k[a+19708>>2]|0)|0;k[a+19780>>2]=d;if(k[a+28068>>2]&32|0)break a;if((k[a+28064>>2]|0)<=1)break a;g=k[37151]|0;k[h+16>>2]=d;Cob(g,508577,h+16|0)|0;break a}while(0);if((g|0)==23)d=0;if(k[a+28068>>2]&32|0){a=d;r=h;return a|0}if((k[a+28064>>2]|0)<=2){a=d;r=h;return a|0}a=k[37151]|0;k[h+24>>2]=743;Cob(a,508611,h+24|0)|0;a=d;r=h;return a|0}while(0);d=k[a+19688>>2]|0;switch(d|0){case 1:{k[a+19692>>2]=1503;if(!(k[a+19776>>2]|0))k[a+19736>>2]=((k[a+19708>>2]|0)+(((k[33904+((k[a+19672>>2]|0)*192|0)+(k[a+19700>>2]<<2)>>2]|0)*12e3|0)/(k[34288+(k[a+19704>>2]<<2)>>2]|0)|0)<<2)+-4;break}case 2:{k[a+19692>>2]=1504;if(!(k[a+19776>>2]|0))k[a+19736>>2]=(((k[33904+((k[a+19672>>2]|0)*192|0)+64+(k[a+19700>>2]<<2)>>2]|0)*144e3|0)/(k[34288+(k[a+19704>>2]<<2)>>2]|0)|0)+-4+(k[a+19708>>2]|0);break}case 3:{k[a+19692>>2]=1505;d=k[a+19672>>2]|0;e=(k[a+19652>>2]|0)==1;e=(d|0)==0?(e?17:32):e?9:17;k[a+19864>>2]=e;if(k[a+19696>>2]|0)k[a+19864>>2]=e|2;if(!(k[a+19776>>2]|0))k[a+19736>>2]=(((k[33904+(d*192|0)+128+(k[a+19700>>2]<<2)>>2]|0)*144e3|0)/(k[34288+(k[a+19704>>2]<<2)>>2]<>2]|0);break}default:{if(k[a+28068>>2]&32|0){a=0;r=h;return a|0}a=k[37151]|0;k[h+32>>2]=800;k[h+32+4>>2]=d;Cob(a,509232,h+32|0)|0;a=0;r=h;return a|0}}d=k[a+19736>>2]|0;if((d|0)<=3456){a=1;r=h;return a|0}if(k[a+28068>>2]&32|0){a=0;r=h;return a|0}g=k[37151]|0;a=d+4-(k[a+19708>>2]|0)|0;k[h+40>>2]=806;k[h+40+4>>2]=a;Cob(g,509296,h+40|0)|0;a=0;r=h;return a|0}function vwa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0.0,h=0,i=0,j=0,m=0,n=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=r;r=r+768|0;c=k[a+19652>>2]|0;w=k[a+28592>>2]|0;b=k[a+19660>>2]|0;if((k[a+19716>>2]|0)==1)i=(k[a+19720>>2]<<2)+4|0;else i=32;k[a+19656>>2]=i;v=(c|0)==1|(b|0)==3?0:b;if((c|0)==2){f=(i|0)>0;if(f){b=k[a+19788>>2]|0;d=y+256|0;e=0;while(1){u=k[a+19784>>2]|0;c=(((l[b>>0]|0)<<8|(l[b+1>>0]|0))<<8|(l[b+2>>0]|0))<>>20&15;b=b+(u+4>>3)|0;k[a+19788>>2]=b;k[a+19784>>2]=u+4&7;k[d>>2]=c;c=k[a+19784>>2]|0;u=(((l[b>>0]|0)<<8|(l[b+1>>0]|0))<<8|(l[b+2>>0]|0))<>>20&15;k[a+19788>>2]=b+(c+4>>3);k[a+19784>>2]=c+4&7;k[d+4>>2]=u;e=e+1|0;if((e|0)==(i|0))break;else{b=b+(c+4>>3)|0;d=d+8|0}}if((i|0)<32){e=a+19784|0;b=b+(c+4>>3)|0;c=y+256+(i<<1<<2)|0;x=9}else{b=b+(c+4>>3)|0;h=0}}else{e=a+19784|0;b=k[a+19788>>2]|0;c=y+256|0;x=9}if((x|0)==9){d=i;while(1){t=k[e>>2]|0;u=(((l[b>>0]|0)<<8|(l[b+1>>0]|0))<<8|(l[b+2>>0]|0))<>>20&15;b=b+(t+4>>3)|0;k[a+19788>>2]=b;k[e>>2]=t+4&7;k[c>>2]=u;d=d+1|0;if((d|0)==32){h=1;break}else c=c+4|0}}if(f){d=y+256|0;e=0;c=y;while(1){if(k[d>>2]|0){t=k[a+19784>>2]|0;u=(((l[b>>0]|0)<<8|(l[b+1>>0]|0))<<8|(l[b+2>>0]|0))<>>18&63;b=b+(t+6>>3)|0;k[a+19788>>2]=b;k[a+19784>>2]=t+6&7;k[c>>2]=u;c=c+4|0}if(k[d+4>>2]|0){t=k[a+19784>>2]|0;u=(((l[b>>0]|0)<<8|(l[b+1>>0]|0))<<8|(l[b+2>>0]|0))<>>18&63;b=b+(t+6>>3)|0;k[a+19788>>2]=b;k[a+19784>>2]=t+6&7;k[c>>2]=u;c=c+4|0}e=e+1|0;if((e|0)==(i|0))break;else d=d+8|0}d=y+256+(i<<1<<2)|0}else{d=y+256|0;c=y}if(h){e=i;while(1){if(k[d>>2]|0){s=k[a+19784>>2]|0;t=(((l[b>>0]|0)<<8|(l[b+1>>0]|0))<<8|(l[b+2>>0]|0))<>>18&63;u=b+(s+6>>3)|0;k[a+19788>>2]=u;k[a+19784>>2]=s+6&7;k[c>>2]=t;b=k[a+19784>>2]|0;t=(((l[u>>0]|0)<<8|(l[u+1>>0]|0))<<8|(l[u+2>>0]|0))<>>18&63;k[a+19788>>2]=u+(b+6>>3);k[a+19784>>2]=b+6&7;k[c+4>>2]=t;b=u+(b+6>>3)|0;c=c+8|0}e=e+1|0;if((e|0)==32){s=a+19788|0;t=a+19784|0;break}else d=d+4|0}}else{s=a+19788|0;t=a+19784|0}}else{b=k[a+19788>>2]|0;c=y+256|0;d=0;while(1){t=k[a+19784>>2]|0;u=(((l[b>>0]|0)<<8|(l[b+1>>0]|0))<<8|(l[b+2>>0]|0))<>>20&15;b=b+(t+4>>3)|0;k[a+19788>>2]=b;k[a+19784>>2]=t+4&7;k[c>>2]=u;d=d+1|0;if((d|0)==32){d=y+256|0;e=0;c=y;break}else c=c+4|0}while(1){if(k[d>>2]|0){t=k[a+19784>>2]|0;u=(((l[b>>0]|0)<<8|(l[b+1>>0]|0))<<8|(l[b+2>>0]|0))<>>18&63;b=b+(t+6>>3)|0;k[a+19788>>2]=b;k[a+19784>>2]=t+6&7;k[c>>2]=u;c=c+4|0}e=e+1|0;if((e|0)==32){s=a+19788|0;t=a+19784|0;break}else d=d+4|0}}b=0;u=0;do{if((k[a+19652>>2]|0)==2){i=k[a+19656>>2]|0;if((i|0)>0){e=y+256|0;f=0;c=y+512|0;while(1){d=k[e>>2]|0;if(d){n=k[s>>2]|0;p=k[t>>2]|0;q=((((l[n>>0]|0)<<8|(l[n+1>>0]|0))<<8|(l[n+2>>0]|0))<>>(23-d|0);k[s>>2]=n+(d+1+p>>3);k[t>>2]=d+1+p&7;k[c>>2]=q;c=c+4|0}d=k[e+4>>2]|0;if(d){n=k[s>>2]|0;p=k[t>>2]|0;q=((((l[n>>0]|0)<<8|(l[n+1>>0]|0))<<8|(l[n+2>>0]|0))<>>(23-d|0);k[s>>2]=n+(d+1+p>>3);k[t>>2]=d+1+p&7;k[c>>2]=q;c=c+4|0}f=f+1|0;if((f|0)==(i|0))break;else e=e+8|0}if((i|0)<32){e=y+256+(i<<1<<2)|0;f=i;x=39}else q=0}else{e=y+256|0;f=i;c=y+512|0;x=39}if((x|0)==39)while(1){x=0;d=k[e>>2]|0;if(d){n=k[s>>2]|0;p=k[t>>2]|0;q=((((l[n>>0]|0)<<8|(l[n+1>>0]|0))<<8|(l[n+2>>0]|0))<>>(23-d|0);k[s>>2]=n+(d+1+p>>3);k[t>>2]=d+1+p&7;k[c>>2]=q;c=c+4|0}f=f+1|0;if((f|0)==32){q=1;break}else{e=e+4|0;x=39}}if((i|0)>0){j=y+256|0;m=w;n=w+128|0;p=0;c=y+512|0;d=y;while(1){e=k[j>>2]|0;if(!e){f=c;h=d;g=0.0}else{f=c+4|0;h=d+4|0;g=+((-1<>2]|0)|0)*+o[a+12440+(e+1<<8)+(k[d>>2]<<2)>>2]}o[m>>2]=g;e=k[j+4>>2]|0;if(!e){c=f;d=h;g=0.0}else{c=f+4|0;d=h+4|0;g=+((-1<>2]|0)|0)*+o[a+12440+(e+1<<8)+(k[h>>2]<<2)>>2]}o[n>>2]=g;p=p+1|0;if((p|0)==(i|0))break;else{j=j+8|0;m=m+4|0;n=n+4|0}}e=y+256+(i<<1<<2)|0;f=w+(i<<2)|0;h=w+128+(i<<2)|0}else{e=y+256|0;f=w;h=w+128|0;c=y+512|0;d=y}if(q){j=f;f=c;while(1){c=k[e>>2]|0;if(!c){o[h>>2]=0.0;o[j>>2]=0.0;c=f}else{g=+((-1<>2]|0)|0);o[j>>2]=g*+o[a+12440+(c+1<<8)+(k[d>>2]<<2)>>2];o[h>>2]=+o[a+12440+(c+1<<8)+(k[d+4>>2]<<2)>>2]*g;c=f+4|0;d=d+8|0}i=i+1|0;if((i|0)==32)break;else{e=e+4|0;j=j+4|0;h=h+4|0;f=c}}}c=k[a+19668>>2]|0;if((c|0)<32)do{o[w+128+(c<<2)>>2]=0.0;o[w+(c<<2)>>2]=0.0;c=c+1|0}while((c|0)!=32)}else{e=y+256|0;f=0;c=y+512|0;while(1){d=k[e>>2]|0;if(d){n=k[s>>2]|0;p=k[t>>2]|0;q=((((l[n>>0]|0)<<8|(l[n+1>>0]|0))<<8|(l[n+2>>0]|0))<>>(23-d|0);k[s>>2]=n+(d+1+p>>3);k[t>>2]=d+1+p&7;k[c>>2]=q;c=c+4|0}f=f+1|0;if((f|0)==32){f=y+256|0;h=w;i=0;d=y+512|0;e=y;break}else e=e+4|0}while(1){c=k[f>>2]|0;if(!c){j=d;m=e;g=0.0}else{j=d+4|0;m=e+4|0;g=+((-1<>2]|0)|0)*+o[a+12440+(c+1<<8)+(k[e>>2]<<2)>>2]}o[h>>2]=g;i=i+1|0;if((i|0)==32)break;else{f=f+4|0;h=h+4|0;d=j;e=m}}c=k[a+19668>>2]|0;if((c|0)<32)vBb(w+(c<<2)|0,0,128-(c<<2)|0)|0}if((v|0)==-1)c=Ri[k[a+19640>>2]&255](w,w+128|0,a)|0;else c=gj[k[a+19644>>2]&511](w+(v<<7)|0,a)|0;b=c+b|0;u=u+1|0}while((u|0)!=12);r=y;return b|0}function wwa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,m=0,n=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0.0,C=0,D=0,E=0;A=r;r=r+1280|0;f=k[a+19652>>2]|0;z=k[a+28596>>2]|0;g=k[a+19660>>2]|0;b=k[a+19704>>2]|0;if((b|0)>2)b=4;else b=k[34652+(b<<7)+(2-f<<6)+(k[a+19700>>2]<<2)>>2]|0;c=k[35036+(b<<2)>>2]|0;d=k[35056+(b<<2)>>2]|0;k[a+19632>>2]=d;k[a+19664>>2]=c;if((k[a+19716>>2]|0)==1){b=(k[a+19720>>2]<<2)+4|0;k[a+19656>>2]=b;if((b|0)>(c|0)){Dpb(508696,46,1,k[37151]|0)|0;b=k[a+19664>>2]|0;k[a+19656>>2]=b;e=k[a+19652>>2]|0;i=b;y=a+19656|0;m=k[a+19632>>2]|0}else{e=f;i=c;y=a+19656|0;m=d}}else{k[a+19656>>2]=c;e=f;i=c;y=a+19656|0;b=c;m=d}x=(f|0)==1|(g|0)==3?0:g;w=e+-1|0;e=i<>2]|0;d=m;f=A+768|0;g=i;while(1){c=j[d>>1]|0;v=k[a+19784>>2]|0;w=(((l[b>>0]<<8|l[b+1>>0])<<8|l[b+2>>0])<>>(24-c|0);b=b+(v+c>>3)|0;k[a+19788>>2]=b;k[a+19784>>2]=v+c&7;k[f>>2]=w<<24>>24;g=g+-1|0;if(!g)break;else{d=d+(1<>2]|0){v=k[a+19784>>2]|0;w=l[b>>0]<>2]=w;w=(l[b+1>>0]<>>8|w)>>>6;k[a+19792>>2]=w;b=b+(v+2>>3)|0;k[a+19788>>2]=b;k[a+19784>>2]=v+2&7;k[c>>2]=w<<24>>24;c=c+4|0}d=d+-1|0;if(!d){h=27;break}else f=f+4|0}}else{if(!b){c=m;d=A+768|0}else{d=k[a+19788>>2]|0;c=m;f=A+768|0;g=b;while(1){w=j[c>>1]|0;v=k[a+19784>>2]|0;u=(((l[d>>0]<<8|l[d+1>>0])<<8|l[d+2>>0])<>>(24-w|0);t=d+(v+w>>3)|0;k[a+19788>>2]=t;k[a+19784>>2]=v+w&7;k[f>>2]=u<<24>>24;u=k[a+19784>>2]|0;v=(((l[t>>0]<<8|l[t+1>>0])<<8|l[t+2>>0])<>>(24-w|0);d=t+(u+w>>3)|0;k[a+19788>>2]=d;k[a+19784>>2]=u+w&7;k[f+4>>2]=v<<24>>24;g=g+-1|0;c=c+(1<>2]|0;f=d;d=i-b|0;while(1){b=j[c>>1]|0;v=k[a+19784>>2]|0;w=(((l[g>>0]<<8|l[g+1>>0])<<8|l[g+2>>0])<>>(24-b|0);g=g+(v+b>>3)|0;k[a+19788>>2]=g;k[a+19784>>2]=v+b&7;k[f>>2]=w<<24>>24;k[f+4>>2]=w<<24>>24;d=d+-1|0;if(!d)break;else{c=c+(1<>2]|0){u=k[a+19788>>2]|0;v=k[a+19784>>2]|0;w=l[u>>0]<>2]=w;w=(l[u+1>>0]<>>8|w)>>>6;k[a+19792>>2]=w;k[a+19788>>2]=u+(v+2>>3);k[a+19784>>2]=v+2&7;k[b>>2]=w<<24>>24;b=b+4|0}d=d+-1|0;if(!d){h=27;break}else c=c+4|0}}}if((h|0)==27)if(e|0){c=A;f=A+768|0;d=A+1024|0;while(1){a:do if(!(k[f>>2]|0))b=d;else{b=d+4|0;switch(k[d>>2]|0){case 0:{t=k[a+19788>>2]|0;u=k[a+19784>>2]|0;w=l[t>>0]<>2]=w;w=(l[t+1>>0]<>>8|w)>>>2;k[a+19792>>2]=w;k[a+19788>>2]=t+(u+6>>3);k[a+19784>>2]=u+6&7;k[c>>2]=w;w=k[a+19784>>2]|0;v=l[t+(u+6>>3)>>0]<>2]=v;v=(l[t+(u+6>>3)+1>>0]<>>8|v)>>>2;k[a+19792>>2]=v;u=t+(u+6>>3)+(w+6>>3)|0;k[a+19788>>2]=u;k[a+19784>>2]=w+6&7;k[c+4>>2]=v;v=k[a+19784>>2]|0;w=l[u>>0]<>2]=w;w=(l[u+1>>0]<>>8|w)>>>2;k[a+19792>>2]=w;k[a+19788>>2]=u+(v+6>>3);k[a+19784>>2]=v+6&7;k[c+8>>2]=w;c=c+12|0;break a}case 1:{t=k[a+19788>>2]|0;u=k[a+19784>>2]|0;v=l[t>>0]<>2]=v;v=(l[t+1>>0]<>>8|v)>>>2;k[a+19792>>2]=v;k[a+19788>>2]=t+(u+6>>3);k[a+19784>>2]=u+6&7;k[c>>2]=v;k[c+4>>2]=v;v=k[a+19784>>2]|0;w=l[t+(u+6>>3)>>0]<>2]=w;w=(l[t+(u+6>>3)+1>>0]<>>8|w)>>>2;k[a+19792>>2]=w;k[a+19788>>2]=t+(u+6>>3)+(v+6>>3);k[a+19784>>2]=v+6&7;k[c+8>>2]=w;c=c+12|0;break a}case 2:{u=k[a+19788>>2]|0;v=k[a+19784>>2]|0;w=l[u>>0]<>2]=w;w=(l[u+1>>0]<>>8|w)>>>2;k[a+19792>>2]=w;k[a+19788>>2]=u+(v+6>>3);k[a+19784>>2]=v+6&7;k[c>>2]=w;k[c+4>>2]=w;k[c+8>>2]=w;c=c+12|0;break a}default:{t=k[a+19788>>2]|0;u=k[a+19784>>2]|0;v=l[t>>0]<>2]=v;v=(l[t+1>>0]<>>8|v)>>>2;k[a+19792>>2]=v;k[a+19788>>2]=t+(u+6>>3);k[a+19784>>2]=u+6&7;k[c>>2]=v;v=k[a+19784>>2]|0;w=l[t+(u+6>>3)>>0]<>2]=w;w=(l[t+(u+6>>3)+1>>0]<>>8|w)>>>2;k[a+19792>>2]=w;k[a+19788>>2]=t+(u+6>>3)+(v+6>>3);k[a+19784>>2]=v+6&7;k[c+4>>2]=w;k[c+8>>2]=w;c=c+12|0;break a}}}while(0);f=f+4|0;e=e+-1|0;if(!e)break;else d=b}}d=m;b=0;w=0;while(1){t=w>>2;v=k[a+19652>>2]|0;u=k[a+19664>>2]|0;i=k[y>>2]|0;if((i|0)>0){c=A;e=A+768|0;p=0;do{n=j[d>>1]|0;if((v|0)>0){h=e;m=0;do{f=k[h>>2]|0;h=h+4|0;if(!f){o[z+(m<<9)+256+(p<<2)>>2]=0.0;o[z+(m<<9)+128+(p<<2)>>2]=0.0;o[z+(m<<9)+(p<<2)>>2]=0.0}else{g=j[d+(f<<2)>>1]|0;f=j[d+(f<<2)+2>>1]|0;if(f<<16>>16<0){B=+o[a+12440+(g<<8)+(k[c+(t<<2)>>2]<<2)>>2];D=k[a+19788>>2]|0;q=k[a+19784>>2]|0;s=(((l[D>>0]<<8|l[D+1>>0])<<8|l[D+2>>0])<>>(24-g|0);D=D+(q+g>>3)|0;k[a+19788>>2]=D;k[a+19784>>2]=q+g&7;o[z+(m<<9)+(p<<2)>>2]=+(s+(f<<16>>16)|0)*B;s=(((l[D>>0]<<8|l[D+1>>0])<<8|l[D+2>>0])<<(q+g&7)&16777215)>>>(24-g|0);D=D+((q+g&7)+g>>3)|0;k[a+19788>>2]=D;C=q+g+g&7;k[a+19784>>2]=C;o[z+(m<<9)+128+(p<<2)>>2]=+(s+(f<<16>>16)|0)*B;s=(((l[D>>0]<<8|l[D+1>>0])<<8|l[D+2>>0])<>>(24-g|0);k[a+19788>>2]=D+(C+g>>3);k[a+19784>>2]=q+g+g+g&7;o[z+(m<<9)+256+(p<<2)>>2]=+(s+(f<<16>>16)|0)*B}else{q=A+1024|0;s=q+36|0;do{k[q>>2]=0;q=q+4|0}while((q|0)<(s|0));k[A+1024+12>>2]=663416;k[A+1024+20>>2]=663800;k[A+1024+36>>2]=665336;D=k[c+(t<<2)>>2]|0;q=k[a+19788>>2]|0;s=k[a+19784>>2]|0;C=(((l[q>>0]<<8|l[q+1>>0])<<8|l[q+2>>0])<>>(24-g|0);k[a+19788>>2]=q+(s+g>>3);k[a+19784>>2]=s+g&7;C=(k[A+1024+(f<<16>>16<<2)>>2]|0)+(C<<2)+(C<<2)+(C<<2)|0;k[z+(m<<9)+(p<<2)>>2]=k[a+12440+(k[C>>2]<<8)+(D<<2)>>2];k[z+(m<<9)+128+(p<<2)>>2]=k[a+12440+(k[C+4>>2]<<8)+(D<<2)>>2];k[z+(m<<9)+256+(p<<2)>>2]=k[a+12440+(k[C+4+4>>2]<<8)+(D<<2)>>2]}c=c+12|0}m=m+1|0}while((m|0)!=(v|0));e=e+(v<<2)|0}p=p+1|0;d=d+(1<>1]|0;f=k[e+4>>2]|0;e=e+8|0;if(!f){o[z+768+(i<<2)>>2]=0.0;o[z+640+(i<<2)>>2]=0.0;o[z+512+(i<<2)>>2]=0.0;o[z+256+(i<<2)>>2]=0.0;o[z+128+(i<<2)>>2]=0.0;o[z+(i<<2)>>2]=0.0}else{g=j[d+(f<<2)>>1]|0;f=j[d+(f<<2)+2>>1]|0;if(f<<16>>16<0){B=+o[a+12440+(g<<8)+(k[c+(t+3<<2)>>2]<<2)>>2];E=k[a+19788>>2]|0;D=k[a+19784>>2]|0;n=(((l[E>>0]<<8|l[E+1>>0])<<8|l[E+2>>0])<>>(24-g|0);E=E+(D+g>>3)|0;k[a+19788>>2]=E;k[a+19784>>2]=D+g&7;p=z+(i<<2)|0;o[p>>2]=+(n+(f<<16>>16)|0);q=(((l[E>>0]<<8|l[E+1>>0])<<8|l[E+2>>0])<<(D+g&7)&16777215)>>>(24-g|0);E=E+((D+g&7)+g>>3)|0;k[a+19788>>2]=E;m=D+g+g&7;k[a+19784>>2]=m;s=z+128+(i<<2)|0;o[s>>2]=+(q+(f<<16>>16)|0);C=(((l[E>>0]<<8|l[E+1>>0])<<8|l[E+2>>0])<>>(24-g|0);k[a+19788>>2]=E+(m+g>>3);k[a+19784>>2]=D+g+g+g&7;D=z+256+(i<<2)|0;o[D>>2]=+(C+(f<<16>>16)|0);o[z+512+(i<<2)>>2]=+(n+(f<<16>>16)|0)*B;o[z+640+(i<<2)>>2]=+(q+(f<<16>>16)|0)*B;o[z+768+(i<<2)>>2]=+(C+(f<<16>>16)|0)*B;B=+o[a+12440+(g<<8)+(k[c+(t<<2)>>2]<<2)>>2];o[p>>2]=B*+(n+(f<<16>>16)|0);o[s>>2]=B*+(q+(f<<16>>16)|0);o[D>>2]=+(C+(f<<16>>16)|0)*B}else{q=A+1024|0;s=q+36|0;do{k[q>>2]=0;q=q+4|0}while((q|0)<(s|0));k[A+1024+12>>2]=663416;k[A+1024+20>>2]=663800;k[A+1024+36>>2]=665336;C=k[c+(t<<2)>>2]|0;E=k[c+(t+3<<2)>>2]|0;q=k[a+19788>>2]|0;s=k[a+19784>>2]|0;D=(((l[q>>0]<<8|l[q+1>>0])<<8|l[q+2>>0])<>>(24-g|0);k[a+19788>>2]=q+(s+g>>3);k[a+19784>>2]=s+g&7;D=(k[A+1024+(f<<16>>16<<2)>>2]|0)+(D<<2)+(D<<2)+(D<<2)|0;s=k[D>>2]|0;k[z+(i<<2)>>2]=k[a+12440+(s<<8)+(C<<2)>>2];k[z+512+(i<<2)>>2]=k[a+12440+(s<<8)+(E<<2)>>2];s=k[D+4>>2]|0;k[z+128+(i<<2)>>2]=k[a+12440+(s<<8)+(C<<2)>>2];k[z+640+(i<<2)>>2]=k[a+12440+(s<<8)+(E<<2)>>2];D=k[D+4+4>>2]|0;k[z+256+(i<<2)>>2]=k[a+12440+(D<<8)+(C<<2)>>2];k[z+768+(i<<2)>>2]=k[a+12440+(D<<8)+(E<<2)>>2]}c=c+24|0}i=i+1|0;if((i|0)==(u|0))break;else d=d+(1<>2]|0;c=(u|0)>(c|0)?c:u;if((v|0)>0&(c|0)<32)do{d=0;do{o[z+(d<<9)+256+(c<<2)>>2]=0.0;o[z+(d<<9)+128+(c<<2)>>2]=0.0;o[z+(d<<9)+(c<<2)>>2]=0.0;d=d+1|0}while((d|0)!=(v|0));c=c+1|0}while((c|0)<32);if((x|0)==-1){b=(Ri[k[a+19640>>2]&255](z,z+512|0,a)|0)+b|0;b=(Ri[k[a+19640>>2]&255](z+128|0,z+640|0,a)|0)+b|0;b=(Ri[k[a+19640>>2]&255](z+256|0,z+768|0,a)|0)+b|0}else{b=(gj[k[a+19644>>2]&511](z+(x<<9)|0,a)|0)+b|0;b=(gj[k[a+19644>>2]&511](z+(x<<9)+128|0,a)|0)+b|0;b=(gj[k[a+19644>>2]&511](z+(x<<9)+256|0,a)|0)+b|0}c=w+1|0;if((c|0)==12)break;d=k[a+19632>>2]|0;w=c}r=A;return b|0}function xwa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0.0,h=0.0,j=0,n=0,p=0,q=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0.0,Y=0.0;W=r;r=r+736|0;P=k[a+19652>>2]|0;U=k[a+19660>>2]|0;R=k[a+19704>>2]|0;V=(P|0)==1?1:(U|0)==-1?2:1;U=(P|0)==1?0:U;if((k[a+19716>>2]|0)==1){T=k[a+19720>>2]|0;S=T&1;T=T>>>1&1}else{S=0;T=0}I=k[a+19672>>2]|0;Q=I|0?1:2;J=(U|0)==3?4:0;j=k[35076+(I*20|0)+4>>2]|0;e=k[a+19788>>2]|0;b=k[a+19784>>2]|0;c=((((l[e>>0]|0)<<8|(l[e+1>>0]|0))<<8|(l[e+2>>0]|0))<>>(24-j|0);e=e+(b+j>>3)|0;k[a+19788>>2]=e;b=b+j&7;k[a+19784>>2]=b;k[W+48>>2]=c;d=k[a+19868>>2]|0;if(c>>>0>d>>>0){if(!(k[a+27904>>2]|0))if(!(k[a+28068>>2]&32))if((k[a+28064>>2]|0)>1){b=k[37151]|0;e=k[a+19748>>2]|0;k[W>>2]=c-d;k[W+4>>2]=e;Cob(b,508743,W)|0;b=k[a+19784>>2]|0;c=k[a+19788>>2]|0;e=k[a+19672>>2]|0;d=k[a+19868>>2]|0}else{c=e;e=I}else{c=e;e=I}else{c=e;e=I}N=b-j|0;b=c+(N>>3)|0;k[a+19788>>2]=b;k[a+19784>>2]=N&7;if(!e){i[b>>0]=d>>>1;i[(k[a+19788>>2]|0)+1>>0]=k[a+19868>>2]<<7}else i[b>>0]=d;vBb((k[a+19788>>2]|0)+2|0,0,(k[a+19864>>2]|0)+-2|0)|0;e=k[a+19788>>2]|0;b=k[a+19784>>2]|0;f=((((l[e>>0]|0)<<8|(l[e+1>>0]|0))<<8|(l[e+2>>0]|0))<>>(24-j|0);k[a+19788>>2]=e+(b+j>>3);k[a+19784>>2]=b+j&7;k[W+48>>2]=f;f=a+19864|0;d=k[a+19868>>2]|0;c=k[a+19672>>2]|0;e=e+(b+j>>3)|0;b=b+j&7}else{f=a+19864|0;c=I}M=(k[a+19736>>2]|0)+d-(k[f>>2]|0)+(k[a+19696>>2]|0?-2:0)|0;N=(c|0)==0;c=N?511:255;k[a+19868>>2]=M>>>0>c>>>0?c:M;M=(l[e>>0]|0)<>2]=M;c=k[((P|0)==1?35076+(I*20|0)+8|0:35076+(I*20|0)+12|0)>>2]|0;M=((l[e+1>>0]|0)<>>8|M)<>>8;k[a+19792>>2]=M;c=c+b|0;b=e+(c>>3)|0;k[a+19788>>2]=b;k[a+19784>>2]=c&7;k[W+48+4>>2]=M;if((P|0)>0&N){c=c&7;d=0;while(1){k[W+48+8+(d*184|0)>>2]=-1;N=(l[b>>0]|0)<>2]=N;N=((l[b+1>>0]|0)<>>8|N)>>>4;k[a+19792>>2]=N;c=c+4|0;b=b+(c>>>3)|0;k[a+19788>>2]=b;k[a+19784>>2]=c&7;k[W+48+8+(d*184|0)+92>>2]=N;d=d+1|0;if((d|0)==(P|0)){c=c&7;break}else c=c&7}}else c=c&7;a:do if((I|1|0)==1){G=k[37151]|0;H=(T|0)==0;F=0;b:while(1){if((P|0)>0){p=k[35076+(I*20|0)+16>>2]|0;n=0;while(1){e=c+12|0;N=(((l[b>>0]|0)<<8|(l[b+1>>0]|0))<<8|(l[b+2>>0]|0))<>>12&4095;d=b+(e>>3)|0;k[a+19788>>2]=d;k[a+19784>>2]=e&7;k[W+48+8+(n*184|0)+(F*92|0)+4>>2]=N;N=(((l[d>>0]|0)<<8|(l[d+1>>0]|0))<<8|(l[d+2>>0]|0))<<(e&7)>>>15&511;k[a+19788>>2]=d+(((e&7)+9|0)>>>3);b=c+5&7;k[a+19784>>2]=b;f=W+48+8+(n*184|0)+(F*92|0)+8|0;k[f>>2]=N;if(N>>>0>288){if(!(k[a+28068>>2]&32)){k[W+8>>2]=454;Cob(G,508798,W+8|0)|0;c=k[a+19788>>2]|0;b=k[a+19784>>2]|0}else c=d+(((e&7)+9|0)>>>3)|0;k[f>>2]=288}else c=d+(((e&7)+9|0)>>>3)|0;e=(l[c>>0]|0)<>2]=e;e=((l[c+1>>0]|0)<>>8;k[a+19792>>2]=e;j=b+8|0;b=c+(j>>3)|0;k[a+19788>>2]=b;k[a+19784>>2]=j&7;e=H?a+11952+(0-e<<2)+(J<<2)|0:a+11952+(0-e<<2)+(J<<2)+8|0;k[W+48+8+(n*184|0)+(F*92|0)+88>>2]=e;N=((((l[b>>0]|0)<<8|(l[b+1>>0]|0))<<8|(l[b+2>>0]|0))<<(j&7)&16777215)>>>(24-p|0);k[a+19788>>2]=b+((j&7)+p>>3);k[a+19784>>2]=j+p&7;k[W+48+8+(n*184|0)+(F*92|0)+12>>2]=N;N=(l[b+((j&7)+p>>3)>>0]|0)<<(j+p&7)&255;i[a+19796>>0]=N;b=b+((j&7)+p>>3)+(((j+p&7)+1|0)>>>3)|0;k[a+19788>>2]=b;d=j+p+1&7;k[a+19784>>2]=d;c=(l[b>>0]|0)<>2]=c;c=(l[b+1>>0]|0)<>>8|c;do if(N<<24>>24<0){k[a+19792>>2]=c>>>6;k[a+19788>>2]=b+((d+2|0)>>>3);k[a+19784>>2]=j+p+3&7;N=W+48+8+(n*184|0)+(F*92|0)+16|0;k[N>>2]=c>>>6;c=(l[b+((d+2|0)>>>3)>>0]|0)<<(j+p+3&7);i[a+19796>>0]=c;b=b+((d+2|0)>>>3)+(((j+p+3&7)+1|0)>>>3)|0;k[a+19788>>2]=b;k[a+19784>>2]=j+p+4&7;f=W+48+8+(n*184|0)+(F*92|0)+20|0;k[f>>2]=c>>>7&1;c=(l[b>>0]|0)<<(j+p+4&7)&255;k[a+19792>>2]=c;c=((l[b+1>>0]|0)<<(j+p+4&7)>>>8|c)>>>3;k[a+19792>>2]=c;b=b+(((j+p+4&7)+5|0)>>>3)|0;k[a+19788>>2]=b;k[a+19784>>2]=d;k[W+48+8+(n*184|0)+(F*92|0)+24>>2]=c;c=(l[b>>0]|0)<>2]=c;c=((l[b+1>>0]|0)<>>8|c)>>>3;k[a+19792>>2]=c;k[a+19788>>2]=b+((d+5|0)>>>3);k[a+19784>>2]=j+p+6&7;k[W+48+8+(n*184|0)+(F*92|0)+28>>2]=c;k[W+48+8+(n*184|0)+(F*92|0)+32>>2]=0;c=(l[b+((d+5|0)>>>3)>>0]|0)<<(j+p+6&7)&255;k[a+19792>>2]=c;c=((l[b+((d+5|0)>>>3)+1>>0]|0)<<(j+p+6&7)>>>8|c)>>>5;k[a+19792>>2]=c;b=b+((d+5|0)>>>3)+(((j+p+6&7)+3|0)>>>3)|0;k[a+19788>>2]=b;k[a+19784>>2]=j+p+1&7;k[W+48+8+(n*184|0)+(F*92|0)+76>>2]=e+(c<<3<<2);c=(l[b>>0]|0)<<(j+p+1&7)&255;k[a+19792>>2]=c;c=((l[b+1>>0]|0)<<(j+p+1&7)>>>8|c)>>>5;k[a+19792>>2]=c;b=b+(((j+p+1&7)+3|0)>>>3)|0;k[a+19788>>2]=b;k[a+19784>>2]=j+p+4&7;k[W+48+8+(n*184|0)+(F*92|0)+80>>2]=e+(c<<3<<2);c=(l[b>>0]|0)<<(j+p+4&7)&255;k[a+19792>>2]=c;c=((l[b+1>>0]|0)<<(j+p+4&7)>>>8|c)>>>5;k[a+19792>>2]=c;b=b+(((j+p+4&7)+3|0)>>>3)|0;k[a+19788>>2]=b;k[a+19784>>2]=j+p+7&7;k[W+48+8+(n*184|0)+(F*92|0)+84>>2]=e+(c<<3<<2);c=k[N>>2]|0;if(!c)break b;e=k[a+19672>>2]|0;d=(k[a+19676>>2]|0)==0;if((c|0)==2|(e|0)==0){if(d){k[W+48+8+(n*184|0)+(F*92|0)+56>>2]=18;k[W+48+8+(n*184|0)+(F*92|0)+60>>2]=288;c=j+p+7&7;break}}else if(d){k[W+48+8+(n*184|0)+(F*92|0)+56>>2]=27;k[W+48+8+(n*184|0)+(F*92|0)+60>>2]=288;c=j+p+7&7;break}if((c|0)==2)if(!(k[f>>2]|0))c=6;else O=34;else O=34;if((O|0)==34){O=0;c=8}k[W+48+8+(n*184|0)+(F*92|0)+56>>2]=(m[160188+(R*110|0)+(c<<1)>>1]|0)>>>1;k[W+48+8+(n*184|0)+(F*92|0)+60>>2]=(m[160188+(R*110|0)+44>>1]|0)>>>1;c=j+p+7&7}else{k[a+19792>>2]=c>>>3;k[a+19788>>2]=b+((d+5|0)>>>3);k[a+19784>>2]=j+p+6&7;k[W+48+8+(n*184|0)+(F*92|0)+24>>2]=c>>>3;c=(l[b+((d+5|0)>>>3)>>0]|0)<<(j+p+6&7)&255;k[a+19792>>2]=c;c=((l[b+((d+5|0)>>>3)+1>>0]|0)<<(j+p+6&7)>>>8|c)>>>3;k[a+19792>>2]=c;d=b+((d+5|0)>>>3)+(((j+p+6&7)+5|0)>>>3)|0;k[a+19788>>2]=d;k[a+19784>>2]=j+p+3&7;k[W+48+8+(n*184|0)+(F*92|0)+28>>2]=c;b=(l[d>>0]|0)<<(j+p+3&7)&255;k[a+19792>>2]=b;b=((l[d+1>>0]|0)<<(j+p+3&7)>>>8|b)>>>3;k[a+19792>>2]=b;d=d+(((j+p+3&7)+5|0)>>>3)|0;k[a+19788>>2]=d;k[a+19784>>2]=j+p&7;k[W+48+8+(n*184|0)+(F*92|0)+32>>2]=b;b=(l[d>>0]|0)<<(j+p&7)&255;k[a+19792>>2]=b;b=((l[d+1>>0]|0)<<(j+p&7)>>>8|b)>>>4;k[a+19792>>2]=b;d=d+(((j+p&7)+4|0)>>>3)|0;k[a+19788>>2]=d;k[a+19784>>2]=j+p+4&7;c=(l[d>>0]|0)<<(j+p+4&7)&255;k[a+19792>>2]=c;c=((l[d+1>>0]|0)<<(j+p+4&7)>>>8|c)>>>5;k[a+19792>>2]=c;k[a+19788>>2]=d+(((j+p+4&7)+3|0)>>>3);k[a+19784>>2]=j+p+7&7;k[W+48+8+(n*184|0)+(F*92|0)+56>>2]=(m[160188+(R*110|0)+(b+1<<1)>>1]|0)>>>1;if((c+(b+1)|0)>>>0>21)b=288;else b=(m[160188+(R*110|0)+(c+(b+1)+1<<1)>>1]|0)>>>1;k[W+48+8+(n*184|0)+(F*92|0)+60>>2]=b;k[W+48+8+(n*184|0)+(F*92|0)+16>>2]=0;k[W+48+8+(n*184|0)+(F*92|0)+20>>2]=0;e=k[a+19672>>2]|0;b=d+(((j+p+4&7)+3|0)>>>3)|0;c=j+p+7&7}while(0);if(!e){N=(l[b>>0]|0)<>0]=N;c=c+1|0;b=b+(c>>>3)|0;k[a+19788>>2]=b;k[a+19784>>2]=c&7;k[W+48+8+(n*184|0)+(F*92|0)+64>>2]=N>>>7&1;c=c&7}N=(l[b>>0]|0)<>0]=N;d=c+1|0;b=b+(d>>3)|0;k[a+19788>>2]=b;k[a+19784>>2]=d&7;k[W+48+8+(n*184|0)+(F*92|0)+68>>2]=N>>>7&1;N=(l[b>>0]|0)<<(d&7);i[a+19796>>0]=N;k[a+19788>>2]=b+(((d&7)+1|0)>>>3);c=c+2&7;k[a+19784>>2]=c;k[W+48+8+(n*184|0)+(F*92|0)+72>>2]=N>>>7&1;n=n+1|0;if((n|0)>=(P|0)){b=b+(((d&7)+1|0)>>>3)|0;break}else b=b+(((d&7)+1|0)>>>3)|0}}F=F+1|0;if((F|0)>=(k[35076+(I*20|0)>>2]|0))break a}b=k[a+28068>>2]|0;if(!(b&32)){b=k[37151]|0;k[W+16>>2]=479;Cob(b,508842,W+16|0)|0;b=k[a+28068>>2]|0}if(b&32|0){a=0;r=W;return a|0}a=k[37151]|0;k[W+24>>2]=1923;Cob(a,508918,W+24|0)|0;a=0;r=W;return a|0}while(0);ywa(a,k[W+48>>2]|0);K=(T|0)==0;L=(S|0)==0;N=(U|0)==3|(T|S|0)!=0;b=0;M=0;c:while(1){I=k[a+28600>>2]|0;J=k[a+28604>>2]|0;c=W+48+8+(M*92|0)|0;if(!(k[a+19672>>2]|0))d=Awa(a,W+424|0,c)|0;else d=zwa(a,W+424|0,c,0)|0;if(Bwa(a,I,W+424|0,c,R,d)|0){O=50;break}d:do if((P|0)==2){c=W+48+192+(M*92|0)|0;if(!(k[a+19672>>2]|0))d=Awa(a,W+424+156|0,c)|0;else d=zwa(a,W+424+156|0,c,S)|0;if(Bwa(a,I+2304|0,W+424+156|0,c,R,d)|0){O=58;break c}if(!K){c=k[W+48+8+(M*92|0)+52>>2]|0;H=k[W+48+192+(M*92|0)+52>>2]|0;c=H>>>0>c>>>0?H:c;if((c|0)>0){d=0;do{G=I+(d<<2)|0;D=+o[G>>2];H=I+2304+(d<<2)|0;E=+o[H>>2];o[G>>2]=E+D;o[H>>2]=D-E;d=d+1|0}while((d|0)<(c*18|0))}}e:do if(!L){H=k[a+19672>>2]|0;H=(k[W+48+192+(M*92|0)+12>>2]&H)+H|0;G=k[35388+(H<<4)+(T<<3)>>2]|0;H=k[35388+(H<<4)+(T<<3)+4>>2]|0;if((k[W+48+192+(M*92|0)+16>>2]|0)!=2){d=k[W+48+192+(M*92|0)+48>>2]|0;if((d|0)>21)break;c=m[160188+(R*110|0)+(d<<1)>>1]|0;if((d|0)<21)do{f=i[160188+(R*110|0)+46+d>>0]|0;e=k[W+424+156+(d<<2)>>2]|0;do if((e|0)==7)c=(f&255)+c|0;else{h=+o[G+(e<<2)>>2];g=+o[H+(e<<2)>>2];if(!(f<<24>>24))break;else e=f&255;while(1){F=I+(c<<2)|0;E=+o[F>>2];o[F>>2]=E*h;o[I+2304+(c<<2)>>2]=E*g;c=c+1|0;if((e|0)>1)e=e+-1|0;else break}}while(0);d=d+1|0}while((d|0)!=21);d=k[W+424+236>>2]|0;if((d|0)==7)break;h=+o[G+(d<<2)>>2];g=+o[H+(d<<2)>>2];d=l[160188+(R*110|0)+67>>0]|0;while(1){H=I+(c<<2)|0;E=+o[H>>2];o[H>>2]=E*h;o[I+2304+(c<<2)>>2]=E*g;if((d|0)>1){c=c+1|0;d=d+-1|0}else break e}}p=k[W+48+192+(M*92|0)+20>>2]|0;c=(p|0)!=0&1;F=0;do{d=k[W+48+192+(M*92|0)+36+(F<<2)>>2]|0;c=(d|0)>3?0:c;if((d|0)<12){n=F-p|0;do{e=k[W+424+156+(n+(d*3|0)<<2)>>2]|0;do if((e|0)!=7){f=i[160188+(R*110|0)+96+d>>0]|0;h=+o[G+(e<<2)>>2];g=+o[H+(e<<2)>>2];if(!(f<<24>>24))break;j=(m[160188+(R*110|0)+68+(d<<1)>>1]|0)+F|0;e=f&255;while(1){f=I+(j<<2)|0;E=+o[f>>2];o[f>>2]=E*h;o[I+2304+(j<<2)>>2]=E*g;if((e|0)>1){j=j+3|0;e=e+-1|0}else break}}while(0);d=d+1|0}while((d|0)!=12)}d=k[W+424+156+(33-p+F<<2)>>2]|0;if((d|0)!=7){h=+o[G+(d<<2)>>2];g=+o[H+(d<<2)>>2];d=(m[160188+(R*110|0)+92>>1]|0)+F|0;e=l[160188+(R*110|0)+108>>0]|0;while(1){n=I+(d<<2)|0;E=+o[n>>2];o[n>>2]=E*h;o[I+2304+(d<<2)>>2]=E*g;if((e|0)>1){d=d+3|0;e=e+-1|0}else break}}F=F+1|0}while((F|0)!=3);if(c|0){c=k[W+48+192+(M*92|0)+48>>2]|0;if((c|0)<8){d=m[160188+(R*110|0)+(c<<1)>>1]|0;do{f=i[160188+(R*110|0)+46+c>>0]|0;e=k[W+424+156+(c<<2)>>2]|0;do if((e|0)==7)d=(f&255)+d|0;else{h=+o[G+(e<<2)>>2];g=+o[H+(e<<2)>>2];if(!(f<<24>>24))break;else e=f&255;while(1){F=I+(d<<2)|0;E=+o[F>>2];o[F>>2]=E*h;o[I+2304+(d<<2)>>2]=E*g;d=d+1|0;if((e|0)>1)e=e+-1|0;else break}}while(0);c=c+1|0}while((c|0)!=8)}}}while(0);do if(N){c=W+48+192+(M*92|0)+52|0;d=k[c>>2]|0;e=W+48+8+(M*92|0)+52|0;f=k[e>>2]|0;if(d>>>0>f>>>0){k[e>>2]=d;break}else{k[c>>2]=f;break}}while(0);switch(U|0){case 3:{c=k[W+48+192+(M*92|0)+52>>2]|0;if((c|0)<=0){F=0;break d}d=0;e=I;f=I+2304|0;while(1){o[e>>2]=+o[f>>2]+ +o[e>>2];d=d+1|0;if((d|0)>=(c*18|0)){F=0;break}else{e=e+4|0;f=f+4|0}}break}case 1:{c=k[W+48+192+(M*92|0)+52>>2]|0;if((c|0)<=0){F=0;break d}d=0;e=I;f=I+2304|0;while(1){k[e>>2]=k[f>>2];d=d+1|0;if((d|0)>=(c*18|0)){F=0;break}else{e=e+4|0;f=f+4|0}}break}default:{F=0;break d}}}else F=0;while(0);do{j=W+48+8+(F*184|0)+(M*92|0)+16|0;if((k[j>>2]|0)==2){if(k[W+48+8+(F*184|0)+(M*92|0)+20>>2]|0){c=1;O=114}}else{c=(k[W+48+8+(F*184|0)+(M*92|0)+52>>2]|0)+-1|0;if(c|0)O=114}if((O|0)==114){g=+o[178627];h=+o[178635];q=+o[178628];s=+o[178636];t=+o[178629];u=+o[178637];v=+o[178630];w=+o[178638];x=+o[178631];y=+o[178639];z=+o[178632];A=+o[178640];B=+o[178633];C=+o[178641];D=+o[178634];E=+o[178642];d=I+(F*2304|0)+72|0;while(1){O=d+-4|0;X=+o[O>>2];Y=+o[d>>2];o[O>>2]=g*X-h*Y;O=d+4|0;o[d>>2]=h*X+g*Y;H=d+-8|0;Y=+o[H>>2];X=+o[O>>2];o[H>>2]=q*Y-s*X;H=d+8|0;o[O>>2]=s*Y+q*X;O=d+-12|0;X=+o[O>>2];Y=+o[H>>2];o[O>>2]=t*X-u*Y;O=d+12|0;o[H>>2]=u*X+t*Y;H=d+-16|0;Y=+o[H>>2];X=+o[O>>2];o[H>>2]=v*Y-w*X;H=d+16|0;o[O>>2]=w*Y+v*X;O=d+-20|0;X=+o[O>>2];Y=+o[H>>2];o[O>>2]=x*X-y*Y;O=d+20|0;o[H>>2]=y*X+x*Y;H=d+-24|0;Y=+o[H>>2];X=+o[O>>2];o[H>>2]=z*Y-A*X;H=d+24|0;o[O>>2]=A*Y+z*X;O=d+-28|0;X=+o[O>>2];Y=+o[H>>2];o[O>>2]=B*X-C*Y;O=d+28|0;o[H>>2]=C*X+B*Y;H=d+-32|0;Y=+o[H>>2];X=+o[O>>2];o[H>>2]=D*Y-E*X;o[O>>2]=E*Y+D*X;c=c+-1|0;if(!c)break;else d=d+72|0}}d=J+(F*2304|0)|0;O=a+9224+(F<<2)|0;e=k[O>>2]|0;c=a+8+(e*4608|0)+(F*2304|0)|0;f=a+8+((1-e|0)*4608|0)+(F*2304|0)|0;k[O>>2]=1-e;if(!(k[W+48+8+(F*184|0)+(M*92|0)+20>>2]|0))n=0;else{Cwa(I+(F*2304|0)|0,c,f,714572,d);Cwa(I+(F*2304|0)+72|0,a+8+(e*4608|0)+(F*2304|0)+72|0,a+8+((1-e|0)*4608|0)+(F*2304|0)+72|0,715180,J+(F*2304|0)+4|0);c=a+8+(e*4608|0)+(F*2304|0)+144|0;f=a+8+((1-e|0)*4608|0)+(F*2304|0)+144|0;n=2;d=J+(F*2304|0)+8|0}j=k[j>>2]|0;p=W+48+8+(F*184|0)+(M*92|0)+52|0;e=n>>>0<(k[p>>2]|0)>>>0;if((j|0)==2)if(e){e=n;do{Dwa(I+(F*2304|0)+(e*72|0)|0,c,f,714860,d);Dwa(I+(F*2304|0)+((e|1)*72|0)|0,c+72|0,f+72|0,715468,d+4|0);e=e+2|0;d=d+8|0;c=c+144|0;f=f+144|0}while(e>>>0<(k[p>>2]|0)>>>0);O=122}else{e=n;O=125}else if(e){e=n;do{Cwa(I+(F*2304|0)+(e*72|0)|0,c,f,714572+(j*144|0)|0,d);Cwa(I+(F*2304|0)+((e|1)*72|0)|0,c+72|0,f+72|0,715180+(j*144|0)|0,d+4|0);e=e+2|0;d=d+8|0;c=c+144|0;f=f+144|0}while(e>>>0<(k[p>>2]|0)>>>0);O=122}else{e=n;O=125}if((O|0)==122){O=0;if(e>>>0<32)O=125}if((O|0)==125)while(1){O=0;k[d>>2]=k[c>>2];o[f>>2]=0.0;k[d+128>>2]=k[c+4>>2];o[f+4>>2]=0.0;k[d+256>>2]=k[c+8>>2];o[f+8>>2]=0.0;k[d+384>>2]=k[c+12>>2];o[f+12>>2]=0.0;k[d+512>>2]=k[c+16>>2];o[f+16>>2]=0.0;k[d+640>>2]=k[c+20>>2];o[f+20>>2]=0.0;k[d+768>>2]=k[c+24>>2];o[f+24>>2]=0.0;k[d+896>>2]=k[c+28>>2];o[f+28>>2]=0.0;k[d+1024>>2]=k[c+32>>2];o[f+32>>2]=0.0;k[d+1152>>2]=k[c+36>>2];o[f+36>>2]=0.0;k[d+1280>>2]=k[c+40>>2];o[f+40>>2]=0.0;k[d+1408>>2]=k[c+44>>2];o[f+44>>2]=0.0;k[d+1536>>2]=k[c+48>>2];o[f+48>>2]=0.0;k[d+1664>>2]=k[c+52>>2];o[f+52>>2]=0.0;k[d+1792>>2]=k[c+56>>2];o[f+56>>2]=0.0;k[d+1920>>2]=k[c+60>>2];o[f+60>>2]=0.0;k[d+2048>>2]=k[c+64>>2];o[f+64>>2]=0.0;k[d+2176>>2]=k[c+68>>2];o[f+68>>2]=0.0;e=e+1|0;if((e|0)==32)break;else{c=c+72|0;f=f+72|0;d=d+4|0;O=125}}F=F+1|0}while((F|0)<(V|0));if((U|0)==-1){c=0;do{b=(Ri[k[a+19640>>2]&255](J+(c<<7)|0,J+2304+(c<<7)|0,a)|0)+b|0;c=c+1|0}while((c|0)!=18)}else{b=(gj[k[a+19644>>2]&511](J,a)|0)+b|0;b=(gj[k[a+19644>>2]&511](J+128|0,a)|0)+b|0;b=(gj[k[a+19644>>2]&511](J+256|0,a)|0)+b|0;b=(gj[k[a+19644>>2]&511](J+384|0,a)|0)+b|0;b=(gj[k[a+19644>>2]&511](J+512|0,a)|0)+b|0;b=(gj[k[a+19644>>2]&511](J+640|0,a)|0)+b|0;b=(gj[k[a+19644>>2]&511](J+768|0,a)|0)+b|0;b=(gj[k[a+19644>>2]&511](J+896|0,a)|0)+b|0;b=(gj[k[a+19644>>2]&511](J+1024|0,a)|0)+b|0;b=(gj[k[a+19644>>2]&511](J+1152|0,a)|0)+b|0;b=(gj[k[a+19644>>2]&511](J+1280|0,a)|0)+b|0;b=(gj[k[a+19644>>2]&511](J+1408|0,a)|0)+b|0;b=(gj[k[a+19644>>2]&511](J+1536|0,a)|0)+b|0;b=(gj[k[a+19644>>2]&511](J+1664|0,a)|0)+b|0;b=(gj[k[a+19644>>2]&511](J+1792|0,a)|0)+b|0;b=(gj[k[a+19644>>2]&511](J+1920|0,a)|0)+b|0;b=(gj[k[a+19644>>2]&511](J+2048|0,a)|0)+b|0;b=(gj[k[a+19644>>2]&511](J+2176|0,a)|0)+b|0}M=M+1|0;if((M|0)>=(Q|0)){O=128;break}}if((O|0)==50){if(k[a+28068>>2]&32|0){a=b;r=W;return a|0}if((k[a+28064>>2]|0)<=1){a=b;r=W;return a|0}a=k[37151]|0;k[W+32>>2]=1946;Cob(a,509187,W+32|0)|0;a=b;r=W;return a|0}else if((O|0)==58){if(k[a+28068>>2]&32|0){a=b;r=W;return a|0}if((k[a+28064>>2]|0)<=1){a=b;r=W;return a|0}a=k[37151]|0;k[W+40>>2]=1962;Cob(a,509187,W+40|0)|0;a=b;r=W;return a|0}else if((O|0)==128){r=W;return b|0}return 0}function ywa(a,b){a=a|0;b=b|0;var c=0;c=(k[a+27808>>2]|0)+(k[a+19864>>2]|0)+(0-b)|0;k[a+19788>>2]=c;if(!b){a=a+19784|0;k[a>>2]=0;return}ABb(c|0,(k[a+27812>>2]|0)+(k[a+19860>>2]|0)+(0-b)|0,b|0)|0;a=a+19784|0;k[a>>2]=0;return}function zwa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0;n=k[c+12>>2]|0;n=k[((d|0)==0?678648+(n<<2)|0:677624+(n>>>1<<2)|0)>>2]|0;k[c+64>>2]=n>>>15&1;if((k[c+16>>2]|0)==2)o=(k[c+20>>2]|0)==0?1:2;else o=0;j=0;d=0;m=n;do{g=m&7;h=i[508981+(o*24|0)+((n>>>12&7)<<2)+j>>0]|0;if(!g){if(h<<24>>24){vBb(b|0,0,((h&255)>>>0>1?h&255:1)<<2|0)|0;c=0;do{b=b+4|0;c=c+1|0}while((c|0)<(h&255|0))}}else{if(h<<24>>24){c=b;e=k[a+19788>>2]|0;f=0;while(1){b=k[a+19784>>2]|0;p=(l[e>>0]|0)<>2]=p;p=((l[e+1>>0]|0)<>>8|p)<>>8;k[a+19792>>2]=p;e=e+(b+g>>3)|0;k[a+19788>>2]=e;k[a+19784>>2]=b+m&7;b=c+4|0;k[c>>2]=p;f=f+1|0;if((f|0)>=(h&255|0))break;else c=b}}d=(ha(h&255,g)|0)+d|0}m=m>>>3;j=j+1|0}while((j|0)!=4);vBb(b|0,0,o<<3|4|0)|0;return d|0}function Awa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,m=0,n=0,o=0;m=k[c+12>>2]|0;j=l[509053+m>>0]|0;m=l[509069+m>>0]|0;if((k[c+16>>2]|0)==2){if(!(k[c+20>>2]|0)){h=a+19784|0;i=a+19792|0;c=k[a+19788>>2]|0;f=18;g=(m+j|0)*18|0}else{d=b;c=k[a+19788>>2]|0;e=8;while(1){h=k[a+19784>>2]|0;i=(l[c>>0]|0)<>2]=i;i=((l[c+1>>0]|0)<>>8|i)<>>8;k[a+19792>>2]=i;c=c+(h+j>>3)|0;k[a+19788>>2]=c;k[a+19784>>2]=h+j&7;k[d>>2]=i;e=e+-1|0;if(!e)break;else d=d+4|0}b=b+32|0;h=a+19784|0;i=a+19792|0;f=9;g=((m+j|0)*18|0)-j|0}e=b;d=f;while(1){o=k[h>>2]|0;n=(l[c>>0]|0)<>2]=n;n=((l[c+1>>0]|0)<>>8|n)<>>8;k[i>>2]=n;c=c+(o+j>>3)|0;k[a+19788>>2]=c;k[h>>2]=o+j&7;k[e>>2]=n;d=d+-1|0;if(!d)break;else e=e+4|0}f=b+(f<<2)|0;e=f;d=18;while(1){n=k[h>>2]|0;o=(l[c>>0]|0)<>2]=o;o=((l[c+1>>0]|0)<>>8|o)<>>8;k[i>>2]=o;c=c+(n+m>>3)|0;k[a+19788>>2]=c;k[h>>2]=n+m&7;k[e>>2]=o;d=d+-1|0;if(!d)break;else e=e+4|0}k[f+72>>2]=0;k[f+68+8>>2]=0;k[f+68+12>>2]=0;o=g;return o|0}d=k[c>>2]|0;if((d|0)<0){d=b;c=k[a+19788>>2]|0;e=11;while(1){n=k[a+19784>>2]|0;o=(l[c>>0]|0)<>2]=o;o=((l[c+1>>0]|0)<>>8|o)<>>8;k[a+19792>>2]=o;c=c+(n+j>>3)|0;k[a+19788>>2]=c;k[a+19784>>2]=n+j&7;k[d>>2]=o;e=e+-1|0;if(!e)break;else d=d+4|0}e=b+44|0;d=10;while(1){n=k[a+19784>>2]|0;o=(l[c>>0]|0)<>2]=o;o=((l[c+1>>0]|0)<>>8|o)<>>8;k[a+19792>>2]=o;c=c+(n+m>>3)|0;k[a+19788>>2]=c;k[a+19784>>2]=n+m&7;k[e>>2]=o;d=d+-1|0;if(!d)break;else e=e+4|0}k[b+84>>2]=0;o=((m+j|0)*10|0)+j|0;return o|0}if(!(d&8)){n=k[a+19788>>2]|0;c=k[a+19784>>2]|0;o=(l[n>>0]|0)<>2]=o;o=((l[n+1>>0]|0)<>>8|o)<>>8;k[a+19792>>2]=o;k[a+19788>>2]=n+(c+j>>3);k[a+19784>>2]=c+j&7;k[b>>2]=o;o=k[a+19784>>2]|0;i=(l[n+(c+j>>3)>>0]|0)<>2]=i;i=((l[n+(c+j>>3)+1>>0]|0)<>>8|i)<>>8;k[a+19792>>2]=i;c=n+(c+j>>3)+(o+j>>3)|0;k[a+19788>>2]=c;k[a+19784>>2]=o+j&7;k[b+4>>2]=i;i=k[a+19784>>2]|0;o=(l[c>>0]|0)<>2]=o;o=((l[c+1>>0]|0)<>>8|o)<>>8;k[a+19792>>2]=o;k[a+19788>>2]=c+(i+j>>3);k[a+19784>>2]=i+j&7;k[b+8>>2]=o;o=k[a+19784>>2]|0;n=(l[c+(i+j>>3)>>0]|0)<>2]=n;n=((l[c+(i+j>>3)+1>>0]|0)<>>8|n)<>>8;k[a+19792>>2]=n;i=c+(i+j>>3)+(o+j>>3)|0;k[a+19788>>2]=i;k[a+19784>>2]=o+j&7;k[b+12>>2]=n;n=k[a+19784>>2]|0;o=(l[i>>0]|0)<>2]=o;o=((l[i+1>>0]|0)<>>8|o)<>>8;k[a+19792>>2]=o;k[a+19788>>2]=i+(n+j>>3);k[a+19784>>2]=n+j&7;k[b+16>>2]=o;o=k[a+19784>>2]|0;c=(l[i+(n+j>>3)>>0]|0)<>2]=c;c=((l[i+(n+j>>3)+1>>0]|0)<>>8|c)<>>8;k[a+19792>>2]=c;k[a+19788>>2]=i+(n+j>>3)+(o+j>>3);k[a+19784>>2]=o+j&7;k[b+20>>2]=c;c=j*6|0}else c=0;if(!(d&4)){n=k[a+19788>>2]|0;h=k[a+19784>>2]|0;o=(l[n>>0]|0)<>2]=o;o=((l[n+1>>0]|0)<>>8|o)<>>8;k[a+19792>>2]=o;k[a+19788>>2]=n+(h+j>>3);k[a+19784>>2]=h+j&7;k[b+24>>2]=o;o=k[a+19784>>2]|0;i=(l[n+(h+j>>3)>>0]|0)<>2]=i;i=((l[n+(h+j>>3)+1>>0]|0)<>>8|i)<>>8;k[a+19792>>2]=i;h=n+(h+j>>3)+(o+j>>3)|0;k[a+19788>>2]=h;k[a+19784>>2]=o+j&7;k[b+28>>2]=i;i=k[a+19784>>2]|0;o=(l[h>>0]|0)<>2]=o;o=((l[h+1>>0]|0)<>>8|o)<>>8;k[a+19792>>2]=o;k[a+19788>>2]=h+(i+j>>3);k[a+19784>>2]=i+j&7;k[b+32>>2]=o;o=k[a+19784>>2]|0;n=(l[h+(i+j>>3)>>0]|0)<>2]=n;n=((l[h+(i+j>>3)+1>>0]|0)<>>8|n)<>>8;k[a+19792>>2]=n;i=h+(i+j>>3)+(o+j>>3)|0;k[a+19788>>2]=i;k[a+19784>>2]=o+j&7;k[b+36>>2]=n;n=k[a+19784>>2]|0;o=(l[i>>0]|0)<>2]=o;o=((l[i+1>>0]|0)<>>8|o)<>>8;k[a+19792>>2]=o;k[a+19788>>2]=i+(n+j>>3);k[a+19784>>2]=n+j&7;k[b+40>>2]=o;c=c+(j*5|0)|0}if(!(d&2)){n=k[a+19788>>2]|0;i=k[a+19784>>2]|0;o=(l[n>>0]|0)<>2]=o;o=((l[n+1>>0]|0)<>>8|o)<>>8;k[a+19792>>2]=o;k[a+19788>>2]=n+(i+m>>3);k[a+19784>>2]=i+m&7;k[b+44>>2]=o;o=k[a+19784>>2]|0;j=(l[n+(i+m>>3)>>0]|0)<>2]=j;j=((l[n+(i+m>>3)+1>>0]|0)<>>8|j)<>>8;k[a+19792>>2]=j;i=n+(i+m>>3)+(o+m>>3)|0;k[a+19788>>2]=i;k[a+19784>>2]=o+m&7;k[b+48>>2]=j;j=k[a+19784>>2]|0;o=(l[i>>0]|0)<>2]=o;o=((l[i+1>>0]|0)<>>8|o)<>>8;k[a+19792>>2]=o;k[a+19788>>2]=i+(j+m>>3);k[a+19784>>2]=j+m&7;k[b+52>>2]=o;o=k[a+19784>>2]|0;n=(l[i+(j+m>>3)>>0]|0)<>2]=n;n=((l[i+(j+m>>3)+1>>0]|0)<>>8|n)<>>8;k[a+19792>>2]=n;j=i+(j+m>>3)+(o+m>>3)|0;k[a+19788>>2]=j;k[a+19784>>2]=o+m&7;k[b+56>>2]=n;n=k[a+19784>>2]|0;o=(l[j>>0]|0)<>2]=o;o=((l[j+1>>0]|0)<>>8|o)<>>8;k[a+19792>>2]=o;k[a+19788>>2]=j+(n+m>>3);k[a+19784>>2]=n+m&7;k[b+60>>2]=o;c=c+(m*5|0)|0}if(!(d&1)){n=k[a+19788>>2]|0;i=k[a+19784>>2]|0;o=(l[n>>0]|0)<>2]=o;o=((l[n+1>>0]|0)<>>8|o)<>>8;k[a+19792>>2]=o;k[a+19788>>2]=n+(i+m>>3);k[a+19784>>2]=i+m&7;k[b+64>>2]=o;o=k[a+19784>>2]|0;j=(l[n+(i+m>>3)>>0]|0)<>2]=j;j=((l[n+(i+m>>3)+1>>0]|0)<>>8|j)<>>8;k[a+19792>>2]=j;i=n+(i+m>>3)+(o+m>>3)|0;k[a+19788>>2]=i;k[a+19784>>2]=o+m&7;k[b+68>>2]=j;j=k[a+19784>>2]|0;o=(l[i>>0]|0)<>2]=o;o=((l[i+1>>0]|0)<>>8|o)<>>8;k[a+19792>>2]=o;k[a+19788>>2]=i+(j+m>>3);k[a+19784>>2]=j+m&7;k[b+72>>2]=o;o=k[a+19784>>2]|0;n=(l[i+(j+m>>3)>>0]|0)<>2]=n;n=((l[i+(j+m>>3)+1>>0]|0)<>>8|n)<>>8;k[a+19792>>2]=n;j=i+(j+m>>3)+(o+m>>3)|0;k[a+19788>>2]=j;k[a+19784>>2]=o+m&7;k[b+76>>2]=n;n=k[a+19784>>2]|0;o=(l[j>>0]|0)<>2]=o;o=((l[j+1>>0]|0)<>>8|o)<>>8;k[a+19792>>2]=o;k[a+19788>>2]=j+(n+m>>3);k[a+19784>>2]=n+m&7;k[b+80>>2]=o;c=c+(m*5|0)|0}k[b+84>>2]=0;o=c;return o|0}function Bwa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,m=0,n=0,p=0,q=0,s=0,t=0,u=0.0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0.0;J=r;r=r+48|0;H=(k[d+68>>2]|0)+1|0;t=(k[d+4>>2]|0)-f|0;w=k[a+19784>>2]|0;i=k[a+19788>>2]|0;n=((((l[i>>0]|0)<<8|(l[i+1>>0]|0))<<8|(l[i+2>>0]|0))<>>(24-(0-w&7)|0);k[a+19788>>2]=i+((0-w&7)+w>>3);k[a+19784>>2]=0;G=k[d+8>>2]|0;f=k[d+56>>2]|0;g=k[d+60>>2]|0;do if((G|0)>(f|0)){k[J+32>>2]=f;if((G|0)>(g|0)){k[J+32+4>>2]=g-f;k[J+32+8>>2]=G-g;break}else{k[J+32+4>>2]=G-f;k[J+32+8>>2]=0;break}}else{k[J+32>>2]=G;k[J+32+4>>2]=0;k[J+32+8>>2]=0;f=G}while(0);if((k[d+16>>2]|0)==2){F=(k[d+20>>2]|0)==0;k[J+16+12>>2]=-1;if(F){k[J+16+8>>2]=-1;g=-1;m=680696+(e*12|0)+4|0;h=680804+(e*12|0)+4|0}else{k[J+16+8>>2]=2;g=2;m=680696+(e*12|0)|0;h=680804+(e*12|0)|0}k[J+16+4>>2]=g;k[J+16>>2]=g;E=k[h>>2]|0;q=c;i=i+((0-w&7)+w>>3)|0;v=f;s=0;D=0;x=3;m=k[m>>2]|0;p=n<<24<<8-(0-w&7);g=0;c=0-w&7;h=t-(0-w&7)|0;t=0;u=0.0;f=b;while(1){B=k[d+24+(D<<2)>>2]|0;a:do if(v){C=k[35116+(B<<3)+4>>2]|0;w=q;n=x;while(1){do if(!g){g=k[m>>2]|0;f=b+(k[m+4>>2]<<2)|0;t=k[m+8>>2]|0;q=m+16|0;n=k[m+12>>2]|0;m=w+4|0;s=k[w>>2]<>2]|0)+(s<<2)>>2];break}else{y=m;z=n;x=t;m=q;A=3;u=+o[(k[d+76+(t<<2)>>2]|0)+(s<<2)>>2];break}}else{y=w;z=s;x=n;A=t}while(0);if(c>>>0<24){s=23-c&-8;q=c+8|0;while(1){n=i+1|0;k[a+19788>>2]=n;p=(l[i>>0]|0)<<24-c|p;c=c+8|0;if(c>>>0>=24)break;else i=n}i=n;c=q+s|0;h=h+-8-s|0}n=j[C>>1]|0;if(n<<16>>16<0){n=n<<16>>16;q=C;while(1){F=q+2|0;q=(p|0)<0?F+(0-n<<1)|0:F;c=c+-1|0;p=p<<1;n=j[q>>1]|0;if(n<<16>>16>=0){q=n<<16>>16;break}else n=n<<16>>16}}else q=n<<16>>16;n=q>>4;w=q&15;switch(n|0){case 15:{t=k[35116+(B<<3)>>2]|0;if(B>>>0<16)I=32;else{k[J+16+(x<<2)>>2]=z;if(c>>>0<24){s=23-c&-8;q=c+8|0;while(1){n=i+1|0;k[a+19788>>2]=n;p=(l[i>>0]|0)<<24-c|p;c=c+8|0;if(c>>>0>=24)break;else i=n}i=n;c=q+s|0;h=h+-8-s|0}F=p<>>(32-t|0))+15<<2)>>2];o[f>>2]=u*((F|0)<0?-K:K);p=F<<1;c=c+-1-t|0}break}case 0:{o[f>>2]=0.0;break}default:I=32}if((I|0)==32){I=0;k[J+16+(x<<2)>>2]=z;K=+o[680912+(n<<2)>>2];o[f>>2]=u*((p|0)<0?-K:K);p=p<<1;c=c+-1|0}t=f+(A<<2)|0;switch(w|0){case 15:{s=k[35116+(B<<3)>>2]|0;if(B>>>0<16)I=41;else{k[J+16+(x<<2)>>2]=z;if(c>>>0<24){q=23-c&-8;n=c+8|0;while(1){f=i+1|0;k[a+19788>>2]=f;p=(l[i>>0]|0)<<24-c|p;c=c+8|0;if(c>>>0>=24)break;else i=f}i=f;c=n+q|0;h=h+-8-q|0}F=p<>>(32-s|0))+15<<2)>>2];o[t>>2]=u*((F|0)<0?-K:K);p=F<<1;c=c+-1-s|0}break}case 0:{o[t>>2]=0.0;break}default:I=41}if((I|0)==41){I=0;k[J+16+(x<<2)>>2]=z;K=+o[680912+(w<<2)>>2];o[t>>2]=u*((p|0)<0?-K:K);p=p<<1;c=c+-1|0}f=t+(A<<2)|0;v=v+-1|0;g=g+-1|0;if(!v){q=y;s=z;t=A;break a}else{w=y;s=z;n=x;t=A}}}while(0);n=D+1|0;if((n|0)==2){n=x;break}v=k[J+32+(n<<2)>>2]|0;D=n}b:do if((288-G>>1|0)!=0&(h+c|0)>0){x=q;y=s;A=288-G>>1;w=n;v=t;while(1){if(f>>>0>=(b+2324|0)>>>0)break;q=k[35372+(k[d+72>>2]<<3)+4>>2]|0;if(c>>>0<24){t=23-c&-8;s=c+8|0;n=i;while(1){i=n+1|0;k[a+19788>>2]=i;p=(l[n>>0]|0)<<24-c|p;c=c+8|0;if(c>>>0>=24)break;else n=i}c=s+t|0;h=h+-8-t|0}n=j[q>>1]|0;if(n<<16>>16<0){n=n<<16>>16;while(1){G=q+2|0;q=(p|0)<0?G+(0-n<<1)|0:G;c=c+-1|0;p=p<<1;n=j[q>>1]|0;if(n<<16>>16>=0){z=n<<16>>16;break}else n=n<<16>>16}}else z=n<<16>>16;if((c+h|0)<1){c=w;I=67;break}else{n=y;y=0}while(1){if(!(y&1)){do if(!g){g=k[m>>2]|0;f=b+(k[m+4>>2]<<2)|0;t=k[m+8>>2]|0;q=m+16|0;n=k[m+12>>2]|0;m=x+4|0;s=k[x>>2]<>2]|0)+(s<<2)>>2];break}else{x=m;w=t;m=q;v=3;u=+o[(k[d+76+(t<<2)>>2]|0)+(s<<2)>>2];break}}while(0);q=x;g=g+-1|0}else q=x;if(!(8>>>y&z))o[f>>2]=0.0;else{k[J+16+(w<<2)>>2]=n;if((c+h|0)<1)break;o[f>>2]=(p|0)<0?-u:u;p=p<<1;c=c+-1|0}f=f+(v<<2)|0;y=y+1|0;if((y|0)>=4)break;else x=q}A=A+-1|0;if(!((A|0)!=0&(h+c|0)>0)){n=w;break b}else{x=q;y=n}}if((I|0)==67){n=c;c=0-h|0;break}if(!(k[a+28068>>2]&32)){a=k[37151]|0;k[J>>2]=884;k[J+4>>2]=f;k[J+8>>2]=b+2304;Cob(a,509085,J)|0}a=2;r=J;return a|0}while(0);c:do if((n|0)<3)while(1){if((g|0)>0)while(1){o[f>>2]=0.0;o[f+12>>2]=0.0;f=f+24|0;if((g|0)>1)g=g+-1|0;else break}if(m>>>0>=E>>>0)break c;f=b+(k[m+4>>2]<<2)|0;if(!(k[m+8>>2]|0))break c;g=k[m>>2]|0;m=m+16|0}while(0);H=k[J+16>>2]|0;k[d+36>>2]=H+1;I=k[J+16+4>>2]|0;k[d+40>>2]=I+1;m=k[J+16+8>>2]|0;k[d+44>>2]=m+1;g=(k[J+16+12>>2]|0)+1|0;k[d+48>>2]=g;I=(H|0)>(I|0)?H:I;m=((I|0)>(m|0)?I:m)+1|0;k[d+52>>2]=k[((m|0)==0?a+9596+(e*92|0)+(g<<2)|0:a+10424+(e*56|0)+(m<<2)|0)>>2];m=k[a+19784>>2]|0;g=f}else{p=c;x=f;f=i+((0-w&7)+w>>3)|0;q=0;i=0;s=k[680696+(e*12|0)+8>>2]|0;m=n<<24<<8-(0-w&7);c=-1;v=0;n=0-w&7;h=t-(0-w&7)|0;t=509143+((k[d+64>>2]|0)*22|0)|0;u=0.0;g=b;while(1){D=k[d+24+(i<<2)>>2]|0;if(x){E=k[35116+(D<<3)+4>>2]|0;F=x<<1;A=g;while(1){if(!v){z=p+4|0;q=k[s+4>>2]|0;B=s+8|0;v=k[s>>2]|0;C=t+1|0;u=+o[(k[d+88>>2]|0)+((l[t>>0]|0)+(k[p>>2]|0)<>2]}else{z=p;B=s;C=t}if(n>>>0<24){t=23-n&-8;s=n+8|0;while(1){p=f+1|0;k[a+19788>>2]=p;m=(l[f>>0]|0)<<24-n|m;n=n+8|0;if(n>>>0>=24)break;else f=p}f=p;n=s+t|0;h=h+-8-t|0}p=j[E>>1]|0;if(p<<16>>16<0){p=p<<16>>16;s=E;while(1){y=s+2|0;s=(m|0)<0?y+(0-p<<1)|0:y;n=n+-1|0;m=m<<1;p=j[s>>1]|0;if(p<<16>>16>=0){s=p<<16>>16;break}else p=p<<16>>16}}else s=p<<16>>16;p=s>>4;y=s&15;switch(p|0){case 15:{t=k[35116+(D<<3)>>2]|0;if(D>>>0<16)I=97;else{if(n>>>0<24){s=23-n&-8;p=n+8|0;while(1){c=f+1|0;k[a+19788>>2]=c;m=(l[f>>0]|0)<<24-n|m;n=n+8|0;if(n>>>0>=24)break;else f=c}f=c;n=p+s|0;h=h+-8-s|0}c=m<>>(32-t|0))+15<<2)>>2];o[A>>2]=u*((c|0)<0?-K:K);m=c<<1;c=q;n=n+-1-t|0}break}case 0:{o[A>>2]=0.0;break}default:I=97}if((I|0)==97){I=0;K=+o[680912+(p<<2)>>2];o[A>>2]=u*((m|0)<0?-K:K);m=m<<1;c=q;n=n+-1|0}t=A+4|0;switch(y|0){case 15:{w=k[35116+(D<<3)>>2]|0;if(D>>>0<16)I=106;else{if(n>>>0<24){s=23-n&-8;p=n+8|0;while(1){c=f+1|0;k[a+19788>>2]=c;m=(l[f>>0]|0)<<24-n|m;n=n+8|0;if(n>>>0>=24)break;else f=c}f=c;n=p+s|0;h=h+-8-s|0}c=m<>>(32-w|0))+15<<2)>>2];o[t>>2]=u*((c|0)<0?-K:K);m=c<<1;c=q;n=n+-1-w|0}break}case 0:{o[t>>2]=0.0;break}default:I=106}if((I|0)==106){I=0;K=+o[680912+(y<<2)>>2];o[t>>2]=u*((m|0)<0?-K:K);m=m<<1;c=q;n=n+-1|0}x=x+-1|0;v=v+-1|0;if(!x){p=z;s=B;t=C;break}else{p=z;s=B;t=C;A=A+8|0}}g=g+(F<<2)|0}i=i+1|0;if((i|0)==3){i=p;p=q;q=v;break}x=k[J+32+(i<<2)>>2]|0}d:do if((288-G>>1|0)!=0&(h+n|0)>0){B=i;v=p;C=288-G>>1;A=s;y=q;while(1){p=k[35372+(k[d+72>>2]<<3)+4>>2]|0;if(n>>>0<24){s=23-n&-8;q=n+8|0;while(1){i=f+1|0;k[a+19788>>2]=i;m=(l[f>>0]|0)<<24-n|m;n=n+8|0;if(n>>>0>=24)break;else f=i}f=i;n=q+s|0;h=h+-8-s|0}i=j[p>>1]|0;if(i<<16>>16<0){i=i<<16>>16;while(1){G=p+2|0;p=(m|0)<0?G+(0-i<<1)|0:G;n=n+-1|0;m=m<<1;i=j[p>>1]|0;if(i<<16>>16>=0){z=i<<16>>16;break}else i=i<<16>>16}}else z=i<<16>>16;if((n+h|0)<1)break;if(!y){x=B+4|0;v=k[A+4>>2]|0;w=A+8|0;i=k[A>>2]|0;y=t+1|0;u=+o[(k[d+88>>2]|0)+((l[t>>0]|0)+(k[B>>2]|0)<>2]}else{x=B;w=A;i=y;y=t}i=i+-1|0;if(!(z&8))o[g>>2]=0.0;else{o[g>>2]=(m|0)<0?-u:u;m=m<<1;c=v;n=n+-1|0}p=g+4|0;if(!(z&4)){o[p>>2]=0.0;I=142}else if((n+h|0)<1){q=x;x=v;s=w;c=v;t=y;g=p}else{o[p>>2]=(m|0)<0?-u:u;m=m<<1;c=v;n=n+-1|0;I=142}do if((I|0)==142){I=0;p=g+8|0;if(!i){q=x+4|0;v=k[w+4>>2]|0;s=w+8|0;i=k[w>>2]|0;t=y+1|0;u=+o[(k[d+88>>2]|0)+((l[y>>0]|0)+(k[x>>2]|0)<>2]}else{q=x;s=w;t=y}i=i+-1|0;if(!(z&2))o[p>>2]=0.0;else{if((n+h|0)<1){x=v;c=v;g=p;break}o[p>>2]=(m|0)<0?-u:u;m=m<<1;c=v;n=n+-1|0}p=g+12|0;if(!(z&1))o[p>>2]=0.0;else{if((n+h|0)<1){x=v;c=v;g=p;break}o[p>>2]=(m|0)<0?-u:u;m=m<<1;c=v;n=n+-1|0}x=v;g=g+16|0}while(0);C=C+-1|0;if(!((C|0)!=0&(h+n|0)>0))break d;else{B=q;v=x;A=s;y=i}}n=0-h|0}while(0);m=c+1|0;k[d+48>>2]=m;k[d+52>>2]=k[a+9596+(e*92|0)+(m<<2)>>2];m=0;i=f;c=n}f=h+c|0;e=m-c|0;k[a+19788>>2]=i+(e>>3);k[a+19784>>2]=e&7;if(g>>>0<(b+2304|0)>>>0)vBb(g|0,0,b+2300+(3-g)+4&-4|0)|0;if((f|0)>16){g=k[a+19784>>2]|0;h=k[a+19788>>2]|0;c=f;while(1){g=g+16|0;h=h+(g>>3)|0;c=c+-16|0;if((c|0)<=16)break;else g=g&7}k[a+19788>>2]=h;k[a+19784>>2]=g&7;k[a+19792>>2]=g&7;f=f+-16-(f+-17&-16)|0}if((f|0)>0){b=(k[a+19784>>2]|0)+f|0;k[a+19788>>2]=(k[a+19788>>2]|0)+(b>>3);k[a+19784>>2]=b&7;k[a+19792>>2]=b&7}else if((f|0)<0){a=1;r=J;return a|0}a=0;r=J;return a|0}function Cwa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0.0,g=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0.0,K=0.0,L=0.0,M=0.0,N=0.0,O=0.0,P=0.0,Q=0.0;x=+o[a+64>>2];D=+o[a+68>>2]+x;C=+o[a+60>>2];o[a+64>>2]=x+C;q=+o[a+56>>2];r=+o[a+52>>2];o[a+56>>2]=r+q;G=+o[a+48>>2];H=+o[a+44>>2];o[a+48>>2]=H+G;n=+o[a+40>>2];p=+o[a+36>>2];o[a+40>>2]=p+n;I=+o[a+32>>2];M=+o[a+28>>2];o[a+32>>2]=M+I;N=+o[a+24>>2];O=+o[a+20>>2];o[a+24>>2]=O+N;P=+o[a+16>>2];K=+o[a+12>>2];o[a+16>>2]=K+P;l=+o[a+8>>2];m=+o[a+4>>2];o[a+8>>2]=m+l;L=+o[a>>2];o[a+4>>2]=L+m;o[a+68>>2]=D+(q+C);o[a+60>>2]=G+r+(q+C);o[a+52>>2]=n+H+(G+r);o[a+44>>2]=I+p+(n+H);o[a+36>>2]=N+M+(I+p);o[a+28>>2]=P+O+(N+M);o[a+20>>2]=l+K+(P+O);o[a+12>>2]=L+m+(l+K);B=+o[178787];j=L-(H+G)*B-(H+G)*B-(x+C+(M+I)-(K+P))*B;z=L-(H+G)*B-(H+G)*B+(x+C+(M+I)-(K+P))*B*2.0;k=+o[178788];A=+o[178789];f=+o[178790];F=+o[178791];u=L+(H+G)*B-A*(K+P+(M+I))-F*(K+P+(x+C));h=A*(K+P+(M+I))+(L+(H+G)*B)+f*(M+I-(x+C));x=L+(H+G)*B-f*(M+I-(x+C))+F*(K+P+(x+C));v=+o[178792];s=+o[178793];g=s*(p+n-(r+q))+v*(m+l+(p+n))+(O+N)*k;J=+o[178794];w=v*(m+l+(p+n))-(O+N)*k+J*(m+l+(r+q));t=s*(p+n-(r+q))-(O+N)*k-J*(m+l+(r+q));i=(D+(q+C)+(N+M+(I+p))-(l+K+(P+O)))*B;Q=L+m+(n+H+(G+r))*B;B=L+m-(n+H+(G+r))*B-(n+H+(G+r))*B;y=(i*2.0+B)*+o[301602];E=Q-(l+K+(P+O)+(N+M+(I+p)))*A-(l+K+(P+O)+(D+(q+C)))*F;A=Q+(N+M+(I+p)-(D+(q+C)))*f+(l+K+(P+O)+(N+M+(I+p)))*A;Q=(l+K+(P+O)+(D+(q+C)))*F-(N+M+(I+p)-(D+(q+C)))*f+Q;f=(I+p+(n+H)-(G+r+(q+C)))*s+(I+p+(n+H)+(L+m+(l+K)))*v+(P+O+(N+M))*k;D=(f+A)*+o[301598];f=(A-f)*+o[301606];v=(G+r+(q+C)+(L+m+(l+K)))*J-(P+O+(N+M))*k+(I+p+(n+H)+(L+m+(l+K)))*v;A=(v+Q)*+o[301601];F=(I+p+(n+H)-(L+m+(l+K))+(G+r+(q+C)))*k;v=(Q-v)*+o[301603];s=-((P+O+(N+M))*k)-(G+r+(q+C)+(L+m+(l+K)))*J+(I+p+(n+H)-(G+r+(q+C)))*s;C=+o[301599]*(B-i-F);i=+o[301605]*(F+(B-i));B=+o[301600]*(s+E);s=+o[301604]*(E-s);o[c+36>>2]=+o[d+108>>2]*(D+(g+h));o[c+32>>2]=+o[d+104>>2]*(D+(g+h));o[e+1024>>2]=+o[d+32>>2]*(g+h-D)+ +o[b+32>>2];o[e+1152>>2]=+o[d+36>>2]*(g+h-D)+ +o[b+36>>2];D=C+(j-(r+q+(p+n)-(m+l))*k);o[c+40>>2]=+o[d+112>>2]*D;o[c+28>>2]=+o[d+100>>2]*D;C=j-(r+q+(p+n)-(m+l))*k-C;o[e+896>>2]=+o[d+28>>2]*C+ +o[b+28>>2];o[e+1280>>2]=+o[d+40>>2]*C+ +o[b+40>>2];o[c+44>>2]=+o[d+116>>2]*(B+(t+u));o[c+24>>2]=+o[d+96>>2]*(B+(t+u));o[e+768>>2]=+o[d+24>>2]*(t+u-B)+ +o[b+24>>2];o[e+1408>>2]=+o[d+44>>2]*(t+u-B)+ +o[b+44>>2];o[c+48>>2]=+o[d+120>>2]*(A+(w+x));o[c+20>>2]=+o[d+92>>2]*(A+(w+x));o[e+640>>2]=+o[d+20>>2]*(w+x-A)+ +o[b+20>>2];o[e+1536>>2]=+o[d+48>>2]*(w+x-A)+ +o[b+48>>2];o[c+52>>2]=+o[d+124>>2]*(y+z);o[c+16>>2]=+o[d+88>>2]*(y+z);o[e+512>>2]=+o[d+16>>2]*(z-y)+ +o[b+16>>2];o[e+1664>>2]=+o[d+52>>2]*(z-y)+ +o[b+52>>2];o[c+56>>2]=+o[d+128>>2]*(v+(x-w));o[c+12>>2]=+o[d+84>>2]*(v+(x-w));o[e+384>>2]=+o[d+12>>2]*(x-w-v)+ +o[b+12>>2];o[e+1792>>2]=+o[d+56>>2]*(x-w-v)+ +o[b+56>>2];o[c+60>>2]=+o[d+132>>2]*(s+(u-t));o[c+8>>2]=+o[d+80>>2]*(s+(u-t));o[e+256>>2]=+o[d+8>>2]*(u-t-s)+ +o[b+8>>2];o[e+1920>>2]=+o[d+60>>2]*(u-t-s)+ +o[b+60>>2];s=i+((r+q+(p+n)-(m+l))*k+j);o[c+64>>2]=+o[d+136>>2]*s;o[c+4>>2]=+o[d+76>>2]*s;i=(r+q+(p+n)-(m+l))*k+j-i;o[e+128>>2]=+o[d+4>>2]*i+ +o[b+4>>2];o[e+2048>>2]=+o[d+64>>2]*i+ +o[b+64>>2];o[c+68>>2]=+o[d+140>>2]*(f+(h-g));o[c>>2]=+o[d+72>>2]*(f+(h-g));o[e>>2]=+o[d>>2]*(h-g-f)+ +o[b>>2];o[e+2176>>2]=+o[d+68>>2]*(h-g-f)+ +o[b+68>>2];return}function Dwa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0.0,g=0.0,h=0.0,i=0.0,j=0.0,l=0.0,m=0.0,n=0.0,p=0.0;k[e>>2]=k[b>>2];k[e+128>>2]=k[b+4>>2];k[e+256>>2]=k[b+8>>2];k[e+384>>2]=k[b+12>>2];k[e+512>>2]=k[b+16>>2];k[e+640>>2]=k[b+20>>2];f=+o[a+48>>2];h=+o[a+36>>2];i=+o[a+24>>2];m=+o[a+12>>2];j=+o[a>>2];l=f+ +o[a+60>>2]+(i+h);g=+o[178788];n=(j+m-l)*+o[301608];o[e+2048>>2]=(n+(j-(h+f)))*+o[d+40>>2]+ +o[b+64>>2];o[e+1664>>2]=+o[d+28>>2]*(n+(j-(h+f)))+ +o[b+52>>2];o[e+896>>2]=+o[d+4>>2]*(j-(h+f)-n)+ +o[b+28>>2];o[e+1280>>2]=+o[d+16>>2]*(j-(h+f)-n)+ +o[b+40>>2];n=+o[178787];p=(n*l+(j+m)+(j+m+(i+h))*g)*+o[301607];l=(n*l+(j+m)-(j+m+(i+h))*g)*+o[301609];o[e+2176>>2]=(l+(n*(h+f)+j-g*(m+i)))*+o[d+44>>2]+ +o[b+68>>2];o[e+1536>>2]=+o[d+24>>2]*(l+(n*(h+f)+j-g*(m+i)))+ +o[b+48>>2];o[e+1792>>2]=+o[d+32>>2]*(p+(n*(h+f)+j+g*(m+i)))+ +o[b+56>>2];o[e+1920>>2]=+o[d+36>>2]*(p+(n*(h+f)+j+g*(m+i)))+ +o[b+60>>2];o[e+768>>2]=+o[d>>2]*(n*(h+f)+j-g*(m+i)-l)+ +o[b+24>>2];o[e+1408>>2]=+o[d+20>>2]*(n*(h+f)+j-g*(m+i)-l)+ +o[b+44>>2];o[e+1024>>2]=+o[d+8>>2]*(n*(h+f)+j+g*(m+i)-p)+ +o[b+32>>2];o[e+1152>>2]=+o[d+12>>2]*(n*(h+f)+j+g*(m+i)-p)+ +o[b+36>>2];p=+o[a+52>>2];i=+o[a+40>>2];m=+o[a+28>>2];g=+o[a+16>>2];j=+o[a+4>>2];f=p+ +o[a+64>>2]+(m+i);h=+o[178788];n=(j+g-f)*+o[301608];o[c+16>>2]=(n+(j-(i+p)))*+o[d+40>>2];o[c+4>>2]=+o[d+28>>2]*(n+(j-(i+p)));o[e+1664>>2]=+o[e+1664>>2]+ +o[d+4>>2]*(j-(i+p)-n);o[e+2048>>2]=+o[e+2048>>2]+ +o[d+16>>2]*(j-(i+p)-n);n=+o[178787];l=(n*f+(j+g)+(j+g+(m+i))*h)*+o[301607];f=(n*f+(j+g)-(j+g+(m+i))*h)*+o[301609];o[c+20>>2]=(f+(n*(i+p)+j-h*(g+m)))*+o[d+44>>2];o[c>>2]=(f+(n*(i+p)+j-h*(g+m)))*+o[d+24>>2];o[c+8>>2]=+o[d+32>>2]*(l+(n*(i+p)+j+h*(g+m)));o[c+12>>2]=+o[d+36>>2]*(l+(n*(i+p)+j+h*(g+m)));o[e+1536>>2]=+o[e+1536>>2]+ +o[d>>2]*(n*(i+p)+j-h*(g+m)-f);o[e+2176>>2]=+o[e+2176>>2]+ +o[d+20>>2]*(n*(i+p)+j-h*(g+m)-f);o[e+1792>>2]=+o[e+1792>>2]+ +o[d+8>>2]*(n*(i+p)+j+h*(g+m)-l);o[e+1920>>2]=+o[e+1920>>2]+ +o[d+12>>2]*(n*(i+p)+j+h*(g+m)-l);k[c+48>>2]=0;k[c+48+4>>2]=0;k[c+48+8>>2]=0;k[c+48+12>>2]=0;k[c+48+16>>2]=0;k[c+48+20>>2]=0;l=+o[a+56>>2];m=+o[a+44>>2];g=+o[a+32>>2];h=+o[a+20>>2];j=+o[a+8>>2];p=l+ +o[a+68>>2]+(g+m);i=+o[178788];n=(j+h-p)*+o[301608];o[c+40>>2]=(n+(j-(m+l)))*+o[d+40>>2];o[c+28>>2]=+o[d+28>>2]*(n+(j-(m+l)));o[c+4>>2]=+o[c+4>>2]+ +o[d+4>>2]*(j-(m+l)-n);o[c+16>>2]=+o[c+16>>2]+ +o[d+16>>2]*(j-(m+l)-n);n=+o[178787];f=(n*p+(j+h)+(j+h+(g+m))*i)*+o[301607];p=(n*p+(j+h)-(j+h+(g+m))*i)*+o[301609];o[c+44>>2]=(p+(n*(m+l)+j-i*(h+g)))*+o[d+44>>2];o[c+24>>2]=(p+(n*(m+l)+j-i*(h+g)))*+o[d+24>>2];o[c+32>>2]=+o[d+32>>2]*(f+(n*(m+l)+j+i*(h+g)));o[c+36>>2]=+o[d+36>>2]*(f+(n*(m+l)+j+i*(h+g)));o[c>>2]=+o[c>>2]+ +o[d>>2]*(n*(m+l)+j-i*(h+g)-p);o[c+20>>2]=+o[c+20>>2]+ +o[d+20>>2]*(n*(m+l)+j-i*(h+g)-p);o[c+8>>2]=+o[c+8>>2]+ +o[d+8>>2]*(n*(m+l)+j+i*(h+g)-f);o[c+12>>2]=+o[c+12>>2]+ +o[d+12>>2]*(n*(m+l)+j+i*(h+g)-f);return}function Ewa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;k[a+27920>>2]=b;if((b|0)<=0){k[a+27940>>2]=0;k[a+27932>>2]=0;b=a+27936|0;k[b>>2]=0;b=a+27944|0;k[b>>2]=0;b=a+27948|0;k[b>>2]=0;return}k[a+27932>>2]=c+529;c=k[a+19688>>2]|0;if((c|0)==1)c=384;else if((c|0)==2)c=1152;else if(!(k[a+19672>>2]|0))c=k[a+19676>>2]|0?576:1152;else c=576;b=529-d+(ha(c,b)|0)|0;k[a+27940>>2]=b;b=a+27936|0;k[b>>2]=0;b=a+27944|0;k[b>>2]=0;b=a+27948|0;k[b>>2]=0;return}function Fwa(a,b){a=a|0;b=b|0;var c=0;c=k[a+19772>>2]|0;if(!c){c=hqb(100)|0;k[a+19772>>2]=c;if(!c){a=0;return a|0}}a=c+100|0;do{i[c>>0]=i[b>>0]|0;c=c+1|0;b=b+1|0}while((c|0)<(a|0));a=1;return a|0}function Gwa(a){a=a|0;var b=0,c=0.0,d=0.0,e=0,f=0;f=r;r=r+32|0;switch(k[a+28080>>2]|0){case 0:{d=-1.0;c=1.0;break}case 2:{b=(k[a+19820>>2]|0)!=-1&1;e=3;break}default:{b=0;e=3}}if((e|0)==3)if((k[a+19816+(b<<2)>>2]|0)==-1){d=-1.0;c=1.0}else{d=+o[a+19832+(b<<2)>>2];c=+o[a+19824+(b<<2)>>2];if(!(k[a+28068>>2]&32))if((k[a+28064>>2]|0)>1){e=k[37151]|0;p[f>>3]=c;Cob(e,510821,f)|0}c=+Y(10.0,+(c*.05))}c=+p[a+28344>>3]*c;if(c*d>1.0){c=1.0/d;e=k[37151]|0;k[f+8>>2]=1019;p[f+8+8>>3]=c;p[f+8+16>>3]=d;Cob(e,510851,f+8|0)|0}if(!(c!=+p[a+19808>>3]))if(!(k[a+28380>>2]|0)){r=f;return}p[a+19808>>3]=c;b=k[a+19648>>2]|0;if(!b){r=f;return}Si[b&1023](a);r=f;return}function Hwa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=k[a+16>>2]|0;c=k[a+12>>2]|0;do if((d|0)==(c|0)){f=ha(k[a+4>>2]|0,d)|0;c=k[a+20>>2]|0;if(!c)e=5;else if(Iwa(a,c+d|0)|0){d=k[a+16>>2]|0;e=5}if((e|0)==5)if(d>>>0>=2){c=k[a+4>>2]<<1;k[a+4>>2]=c;e=d>>>1;k[a+16>>2]=e;if(!e)d=0;else{c=k[a>>2]|0;e=0;do{k[c+(e<<2)>>2]=k[c+(e<<1<<2)>>2];e=e+1|0;d=k[a+16>>2]|0}while(e>>>0>>0);c=k[a+4>>2]|0}e=ha(c,d)|0;k[a+8>>2]=e}if((k[a+8>>2]|0)==(f|0)){d=k[a+16>>2]|0;c=k[a+12>>2]|0;break}else return}while(0);if(d>>>0>=c>>>0)return;k[(k[a>>2]|0)+(d<<2)>>2]=b;b=(k[a+16>>2]|0)+1|0;k[a+16>>2]=b;b=ha(k[a+4>>2]|0,b)|0;k[a+8>>2]=b;return}function Iwa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=r;r=r+16|0;c=k[a+12>>2]|0;if((c|0)==(b|0)){a=0;r=f;return a|0}if((b|0)!=0&c>>>0>b>>>0){c=k[a+16>>2]|0;if(c>>>0>b>>>0)do if(c>>>0>=2){d=k[a+4>>2]<<1;k[a+4>>2]=d;e=c>>>1;k[a+16>>2]=e;if(!e)c=0;else{d=k[a>>2]|0;e=0;do{k[d+(e<<2)>>2]=k[d+(e<<1<<2)>>2];e=e+1|0;c=k[a+16>>2]|0}while(e>>>0>>0);d=k[a+4>>2]|0}e=ha(d,c)|0;k[a+8>>2]=e}while(c>>>0>b>>>0)}c=hwa(k[a>>2]|0,b<<2)|0;if(!((b|0)==0|(c|0)!=0)){a=k[37151]|0;k[f>>2]=78;Cob(a,511047,f)|0;a=-1;r=f;return a|0}k[a>>2]=c;k[a+12>>2]=b;c=k[a+16>>2]|0;if(c>>>0>b>>>0){k[a+16>>2]=b;c=b}b=ha(c,k[a+4>>2]|0)|0;k[a+8>>2]=b;a=0;r=f;return a|0}function Jwa(a){a=a|0;var b=0,c=0.0,d=0;b=k[a+19688>>2]|0;switch(b|0){case 1:{b=k[a+19672>>2]|0;c=+(k[33904+(b*192|0)+(k[a+19700>>2]<<2)>>2]|0)*48.0e3/+(k[34288+(k[a+19704>>2]<<2)>>2]<>2]|0;c=+(k[33904+(d*192|0)+(b+-1<<6)+(k[a+19700>>2]<<2)>>2]|0)*144.0e3/+(k[34288+(k[a+19704>>2]<<2)>>2]<>2]=1;k[a+27856>>2]=0;k[a+27872>>2]=0;k[a+27864>>2]=0;k[a+27868>>2]=0;k[a+9264>>2]=0;k[a+9268>>2]=0;k[a+9276>>2]=0;k[a+9280>>2]=0;k[a+9588>>2]=0;k[a+28588>>2]=0;k[a+19772>>2]=0;c=Lwa()|0;k[a+19620>>2]=c;c=Mwa(c)|0;k[a+19624>>2]=c;k[a+19352>>2]=16384;k[a+19356>>2]=16384;k[a+19360>>2]=32768;k[a+9288>>2]=0;c=0;do{o[a+9420+(c<<2)>>2]=1.0;o[a+9292+(c<<2)>>2]=1.0;c=c+1|0}while((c|0)!=32);Nwa(a+28576|0);Owa(a);Pwa(a+27876|0);k[a+27972>>2]=0;k[a+28608>>2]=0;k[a+28612>>2]=0;k[a+27988>>2]=0;k[a+27988+4>>2]=0;k[a+27988+8>>2]=0;k[a+27988+12>>2]=0;k[a+27988+16>>2]=0;k[a+28380>>2]=1;k[a+28376>>2]=0;if(!b){p[a+28344>>3]=1.0;k[a+28068>>2]=32832;k[a+28064>>2]=0;k[a+28336>>2]=0;k[a+28072>>2]=0;k[a+28072+4>>2]=0;k[a+28072+8>>2]=0;k[a+28072+12>>2]=0;k[a+28072+16>>2]=0;k[a+28072+20>>2]=0;k[a+28352>>2]=1024;k[a+28356>>2]=1e3;k[a+28360>>2]=4;Qwa(a+28064|0)|0;k[a+28364>>2]=5;k[a+28368>>2]=4096;c=a+28356|0;b=5;d=4096}else{ABb(a+28064|0,b|0,312)|0;c=a+28356|0;b=k[a+28364>>2]|0;d=k[a+28368>>2]|0}Rwa(a+28020|0,b,d);k[a+19680>>2]=0;Swa(a);k[a+19636>>2]=0;k[a+19644>>2]=0;k[a+19648>>2]=0;hxa(a+27832|0);c=k[c>>2]|0;if((c|0)>-1){k[a+27852>>2]=0;Iwa(a+27832|0,c)|0;return}k[a+27852>>2]=0-c;if((k[a+27844>>2]|0)>>>0>=(0-c|0)>>>0)return;Iwa(a+27832|0,0-c|0)|0;return}function Lwa(){return 1}function Mwa(a){a=a|0;return ((a|2|0)==14|((a|0)==7|(a|2|0)==11)?2:1)|0}function Nwa(a){a=a|0;k[a>>2]=0;return}function Owa(a){a=a|0;var b=0;i[a+28524>>0]=0;a=a+28528|0;b=a+48|0;do{k[a>>2]=0;a=a+4|0}while((a|0)<(b|0));return}function Pwa(a){a=a|0;k[a>>2]=0;k[a+12>>2]=0;k[a+8>>2]=0;return}function Qwa(a){a=a|0;var b=0;if(!a){a=25;return a|0}if(!(k[a+4>>2]&32))if((k[a>>2]|0)>2){Dpb(511092,28,1,k[37151]|0)|0;b=0}else b=0;else b=0;do{i[a+32+(b*12|0)>>0]=1;i[a+32+(b*12|0)+1>>0]=1;i[a+32+(b*12|0)+2>>0]=1;i[a+32+(b*12|0)+3>>0]=1;i[a+32+(b*12|0)+4>>0]=1;i[a+32+(b*12|0)+5>>0]=1;i[a+32+(b*12|0)+6>>0]=1;i[a+32+(b*12|0)+7>>0]=0;i[a+32+(b*12|0)+8>>0]=1;i[a+32+(b*12|0)+9>>0]=1;i[a+32+(b*12|0)+10>>0]=1;i[a+32+(b*12|0)+11>>0]=1;b=b+1|0}while((b|0)!=10);b=0;do{i[a+152+(b*12|0)>>0]=1;i[a+152+(b*12|0)+1>>0]=1;i[a+152+(b*12|0)+2>>0]=1;i[a+152+(b*12|0)+3>>0]=1;i[a+152+(b*12|0)+4>>0]=1;i[a+152+(b*12|0)+5>>0]=1;i[a+152+(b*12|0)+6>>0]=1;i[a+152+(b*12|0)+7>>0]=0;i[a+152+(b*12|0)+8>>0]=1;i[a+152+(b*12|0)+9>>0]=1;i[a+152+(b*12|0)+10>>0]=1;i[a+152+(b*12|0)+11>>0]=1;b=b+1|0}while((b|0)!=10);b=0;return b|0}function Rwa(a,b,c){a=a|0;b=b|0;c=c|0;k[a+28>>2]=b;k[a+24>>2]=c;k[a+36>>2]=0;k[a+32>>2]=0;k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;k[a+12>>2]=0;k[a+16>>2]=0;k[a+20>>2]=0;return}function Swa(a){a=a|0;var b=0;b=k[a+28576>>2]|0;if(b|0)iqb(b);k[a+28576>>2]=0;k[a+28580>>2]=0;k[a+28584>>2]=0;Twa(a);k[a+27900>>2]=0;k[a+27904>>2]=0;k[a+28392>>2]=0;k[a+27896>>2]=0;k[a+19748>>2]=-1;k[a+19752>>2]=-1;k[a+19756>>2]=-1;k[a+19764>>2]=1;i[a+19768>>0]=0;k[a+19760>>2]=0;k[a+28388>>2]=0;k[a+27820>>2]=0;k[a+27824>>2]=0;k[a+19744>>2]=0;k[a+27828>>2]=0;k[a+19840>>2]=0;k[a+19844>>2]=-1;k[a+19736>>2]=0;k[a+19856>>2]=0;p[a+19848>>3]=0.0;k[a+19740>>2]=0;p[a+19808>>3]=-1.0;k[a+19816>>2]=-1;k[a+19820>>2]=-1;k[a+19860>>2]=0;k[a+27908>>2]=0;k[a+19824>>2]=0;k[a+19824+4>>2]=0;k[a+19824+8>>2]=0;k[a+19824+12>>2]=0;k[a+27916>>2]=0-(k[a+28360>>2]|0);k[a+27912>>2]=-1;k[a>>2]=1;k[a+4>>2]=0;k[a+27920>>2]=-1;k[a+27924>>2]=0;k[a+27924+4>>2]=0;k[a+27924+8>>2]=0;k[a+27924+12>>2]=0;k[a+27924+16>>2]=0;k[a+27924+20>>2]=0;k[a+27924+24>>2]=0;k[a+9272>>2]=1;exa(a);gxa(a+28576|0);k[a+28580>>2]=0;k[a+28584>>2]=0;k[a+9584>>2]=0;k[a+19696>>2]=0;k[a+19780>>2]=-1;return}function Twa(a){a=a|0;Uwa(a+28576|0);k[a+27956>>2]=35436;k[a+27976>>2]=0;k[a+28020>>2]=0;k[a+28020+4>>2]=0;k[a+28020+8>>2]=0;k[a+28020+12>>2]=0;k[a+28020+16>>2]=0;k[a+28020+20>>2]=0;k[a+27960>>2]=-1;return}function Uwa(a){a=a|0;var b=0;b=k[a>>2]|0;if(b|0)iqb(b);k[a>>2]=0;return}function Vwa(a){a=a|0;k[a+28376>>2]=24;return -1}function Wwa(a){a=a|0;return}function Xwa(a,b,c){a=a|0;b=b|0;c=c|0;k[a+28376>>2]=24;return -1}function Ywa(a,b){a=a|0;b=b|0;k[a+28376>>2]=24;return -1}function Zwa(a,b){a=a|0;b=b|0;k[a+28376>>2]=24;return -1}function _wa(a,b){a=a|0;b=b|0;k[a+28376>>2]=24;return -1}function $wa(a,b,c){a=a|0;b=b|0;c=c|0;k[a+28376>>2]=24;return -1}function axa(a,b){a=a|0;b=b|0;k[a+28376>>2]=24;return -1}function bxa(a,b){a=a|0;b=b|0;k[a+28376>>2]=24;return -1}function cxa(a){a=a|0;k[a+28376>>2]=24;return -1}function dxa(a){a=a|0;return}function exa(a){a=a|0;var b=0;fxa(a);i[a+28524>>0]=0;a=a+28528|0;b=a+48|0;do{k[a>>2]=0;a=a+4|0}while((a|0)<(b|0));return}function fxa(a){a=a|0;var b=0,c=0;if(k[a+28556>>2]|0){b=0;do{c=k[a+28552>>2]|0;nwa(c+(b<<5)+20|0);nwa(c+(b<<5)+8|0);b=b+1|0}while(b>>>0<(k[a+28556>>2]|0)>>>0)}iqb(k[a+28552>>2]|0);k[a+28552>>2]=0;k[a+28556>>2]=0;if(k[a+28572>>2]|0){b=0;do{c=k[a+28568>>2]|0;nwa(c+(b<<5)+20|0);nwa(c+(b<<5)+8|0);b=b+1|0}while(b>>>0<(k[a+28572>>2]|0)>>>0)}iqb(k[a+28568>>2]|0);k[a+28568>>2]=0;k[a+28572>>2]=0;if(!(k[a+28564>>2]|0)){c=k[a+28560>>2]|0;iqb(c);k[a+28560>>2]=0;k[a+28564>>2]=0;return}else b=0;do{c=k[a+28560>>2]|0;nwa(c+(b<<5)+20|0);nwa(c+(b<<5)+8|0);b=b+1|0}while(b>>>0<(k[a+28564>>2]|0)>>>0);c=k[a+28560>>2]|0;iqb(c);k[a+28560>>2]=0;k[a+28564>>2]=0;return}function gxa(a){a=a|0;var b=0;b=k[a>>2]|0;if(b|0)iqb(b);k[a>>2]=0;return}function hxa(a){a=a|0;k[a>>2]=0;k[a+4>>2]=1;k[a+8>>2]=0;k[a+8+4>>2]=0;k[a+8+8>>2]=0;k[a+8+12>>2]=0;return}function ixa(a){a=a|0;var b=0;b=k[a+28356>>2]|0;if((b|0)>-1){k[a+27852>>2]=0;a=Iwa(a+27832|0,b)|0;return a|0}k[a+27852>>2]=0-b;if((k[a+27844>>2]|0)>>>0>=(0-b|0)>>>0){a=0;return a|0}a=Iwa(a+27832|0,0-b|0)|0;return a|0}function jxa(a){a=a|0;var b=0,c=0,d=0,e=0;e=r;r=r+16|0;c=k[a+27896>>2]|0;if(!(k[a+27892>>2]|0)){b=k[a+27868>>2]|0;if(b>>>0>>0){k[a+28376>>2]=6;if(k[a+28068>>2]&32|0){a=-1;r=e;return a|0}a=k[37151]|0;k[e>>2]=184;k[e+4>>2]=b;k[e+8>>2]=c;Cob(a,511121,e)|0;a=-1;r=e;return a|0}}b=k[a+27872>>2]|0;do if(!b)d=9;else if((k[a+27868>>2]|0)==(c|0)){k[a+27868>>2]=c;k[a+27856>>2]=0;c=a+27856|0;break}else{iqb(b);k[a+27872>>2]=0;d=9;break}while(0);if((d|0)==9){k[a+27868>>2]=c;k[a+27856>>2]=0;b=hqb(c+15|0)|0;k[a+27872>>2]=b;if(!b){k[a+28376>>2]=7;a=-1;r=e;return a|0}else c=a+27856|0}d=b&15;k[c>>2]=(d|0)==0?b:b+16+(0-d)|0;k[a+27892>>2]=1;k[a+27864>>2]=0;a=0;r=e;return a|0}function kxa(a){a=a|0;var b=0,c=0,d=0,e=0;b=k[a+19620>>2]|0;switch(b|0){case 10:{b=17408;break}case 6:case 5:{e=3;break}default:if((b|0)==8)e=3;else b=0}if((e|0)==3)b=4352;c=(b>>>0<4352?4352:b)|15;b=k[a+9264>>2]|0;if(!b)e=7;else if((k[a+9268>>2]|0)==(c|0))d=a+9268|0;else{iqb(b);k[a+9264>>2]=0;e=7}do if((e|0)==7){b=hqb(c)|0;k[a+9264>>2]=b;if(!b){a=-1;return a|0}else{d=a+9268|0;break}}while(0);k[d>>2]=c;c=b&15;b=(c|0)==0?b:b+16+(0-c)|0;k[a+9232>>2]=b;k[a+9236>>2]=b+544;k[a+9240>>2]=b+1088;k[a+9244>>2]=b+1632;k[a+9248>>2]=b;k[a+9252>>2]=b+1088;k[a+9256>>2]=b+2176;k[a+9260>>2]=b+3264;b=k[a+9276>>2]|0;if(!b)e=12;else if((k[a+9280>>2]|0)==2176)c=a+9280|0;else{iqb(b);k[a+9276>>2]=0;e=12}do if((e|0)==12){b=hqb(2176)|0;k[a+9276>>2]=b;if(!b){a=-1;return a|0}else{c=a+9280|0;break}}while(0);k[c>>2]=2176;k[a+9284>>2]=b;do if(!(k[a+28588>>2]|0)){b=hqb(10559)|0;k[a+28588>>2]=b;if(!b){a=-1;return a|0}else{e=(b&63|0)==0?b:b+64+(0-(b&63))|0;k[a+28592>>2]=e;k[a+28596>>2]=e+256;k[a+28600>>2]=e+1280;k[a+28604>>2]=e+5888;break}}while(0);vBb(k[a+9264>>2]|0,0,k[d>>2]|0)|0;a=0;return a|0}function lxa(a){a=a|0;k[a+27864>>2]=0;k[a+27816>>2]=0;k[a+27808>>2]=a+23840;k[a+27812>>2]=a+23840;k[a+19868>>2]=0;vBb(k[a+9264>>2]|0,0,k[a+9268>>2]|0)|0;vBb(a+19872|0,0,7936)|0;k[a+9548>>2]=0;k[a+9548+4>>2]=0;k[a+9548+8>>2]=0;k[a+9548+12>>2]=0;k[a+9548+16>>2]=0;k[a+9548+20>>2]=0;k[a+9548+24>>2]=0;k[a+9548+28>>2]=0;j[a+9548+32>>1]=0;vBb(a+8|0,0,9224)|0;return 0}function mxa(a){a=a|0;var b=0;k[a+27864>>2]=0;k[a+27816>>2]=0;k[a+27808>>2]=a+23840;k[a+27812>>2]=a+23840;k[a+19868>>2]=0;vBb(k[a+9264>>2]|0,0,k[a+9268>>2]|0)|0;vBb(a+19872|0,0,7936)|0;k[a+9548>>2]=0;k[a+9548+4>>2]=0;k[a+9548+8>>2]=0;k[a+9548+12>>2]=0;k[a+9548+16>>2]=0;k[a+9548+20>>2]=0;k[a+9548+24>>2]=0;k[a+9548+28>>2]=0;j[a+9548+32>>1]=0;vBb(a+8|0,0,9224)|0;Swa(a);b=k[a+19772>>2]|0;if(!b){a=a+27832|0;nxa(a);return 0}iqb(b);k[a+19772>>2]=0;a=a+27832|0;nxa(a);return 0}function nxa(a){a=a|0;k[a+16>>2]=0;k[a+4>>2]=1;k[a+8>>2]=0;return}function oxa(a){a=a|0;var b=0;b=k[a+27872>>2]|0;if(b|0)iqb(b);k[a+27872>>2]=0;b=k[a+9264>>2]|0;if(b|0)iqb(b);k[a+9264>>2]=0;k[a+9268>>2]=0;b=k[a+9276>>2]|0;if(b|0)iqb(b);k[a+9276>>2]=0;k[a+9280>>2]=0;b=k[a+9588>>2]|0;if(b|0)iqb(b);k[a+9588>>2]=0;b=k[a+28588>>2]|0;if(b|0)iqb(b);b=k[a+19772>>2]|0;if(b|0){iqb(b);k[a+19772>>2]=0}pxa(a+27832|0);fxa(a);Uwa(a+28576|0);b=k[a+28612>>2]|0;if(!b){a=a+28020|0;qxa(a);return}Si[b&1023](k[a+28608>>2]|0);k[a+28608>>2]=0;a=a+28020|0;qxa(a);return}function pxa(a){a=a|0;var b=0;if(k[a+12>>2]|0){b=k[a>>2]|0;if(b|0)iqb(b)}k[a>>2]=0;k[a+4>>2]=1;k[a+8>>2]=0;k[a+8+4>>2]=0;k[a+8+8>>2]=0;k[a+8+12>>2]=0;return}function qxa(a){a=a|0;var b=0,c=0;b=k[a+36>>2]|0;if(b|0)do{c=b;b=k[b+12>>2]|0;iqb(k[c>>2]|0);iqb(c)}while((b|0)!=0);k[a+36>>2]=0;k[a+32>>2]=0;return}function rxa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0.0,f=0,g=0,h=0;k[c>>2]=0;f=k[a+27848>>2]|0;if(!f){if(!(k[a+28068>>2]&512)){k[a+27824>>2]=0;k[a+27820>>2]=0;c=0;return c|0}g=k[a+19760>>2]|0;k[c>>2]=0;d=k[a+19772>>2]|0;if(d|0){f=k[a+19840>>2]|0;if((f|0)>0)if((k[a+27960>>2]|0)>0){b=(~~(+(b|0)*100.0/+(f|0))|0)<0?0:~~(+(b|0)*100.0/+(f|0));b=(b|0)>99?99:b;k[c>>2]=~~(+(f|0)*.01*+(b|0));k[a+19764>>2]=k[a+19764>>2]&-2;i[a+19768>>0]=1;c=~~(+(l[d+b>>0]|0)*.00390625*+(k[a+27960>>2]|0));return c|0}}e=+p[a+19848>>3];if(!(e>0.0)){c=g;return c|0}k[a+19764>>2]=k[a+19764>>2]&-2;i[a+19768>>0]=1;k[c>>2]=b;c=~~(+(k[a+19760>>2]|0)+e*+(b|0));return c|0}d=k[a+27836>>2]|0;if(((b|0)/(d|0)|0)>>>0>>0){g=d;d=(b|0)/(d|0)|0}else{do if(k[a+28068>>2]&512)if((b-(ha(d,f+-1|0)|0)|0)>>>0>10){d=k[a+19760>>2]|0;k[c>>2]=0;f=k[a+19772>>2]|0;if(!f)h=9;else{g=k[a+19840>>2]|0;if((g|0)>0)if((k[a+27960>>2]|0)>0){d=(~~(+(b|0)*100.0/+(g|0))|0)<0?0:~~(+(b|0)*100.0/+(g|0));d=(d|0)>99?99:d;k[c>>2]=~~(+(g|0)*.01*+(d|0));k[a+19764>>2]=k[a+19764>>2]&-2;i[a+19768>>0]=1;d=~~(+(l[f+d>>0]|0)*.00390625*+(k[a+27960>>2]|0))}else h=9;else h=9}if((h|0)==9){e=+p[a+19848>>3];if(e>0.0){k[a+19764>>2]=k[a+19764>>2]&-2;i[a+19768>>0]=1;k[c>>2]=b;d=~~(+(k[a+19760>>2]|0)+e*+(b|0))}}if((d|0)>(k[a+19760>>2]|0)){c=d;return c|0}else{d=k[a+27836>>2]|0;f=k[a+27848>>2]|0;break}}while(0);g=d;d=f+-1|0}b=ha(g,d)|0;k[c>>2]=b;c=k[(k[a+27832>>2]|0)+(d<<2)>>2]|0;k[a+19764>>2]=k[a+19764>>2]|1;return c|0}function sxa(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+16|0;c=k[a+19680>>2]|0;switch(c|0){case 2:case 1:case 0:{c=b>>c;break}case 3:{c=txa(a,b)|0;break}default:{b=k[37151]|0;k[d>>2]=769;k[d+4>>2]=c;Cob(b,511185,d)|0;c=0}}r=d;return c|0}function txa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=k[a+19688>>2]|0;if((c|0)==1)e=384;else if((c|0)==2)e=1152;else if(!(k[a+19672>>2]|0))e=k[a+19676>>2]|0?576:1152;else e=576;if((b|0)<1){e=0;return e|0}d=k[a+19360>>2]|0;a=16384;c=0;while(1){f=(b|0)>(e|0)?e:b;a=(ha(f,d)|0)+a|0;c=((a|0)/32768|0)+c|0;b=b-f|0;if((b|0)<=0)break;else a=a-(((a|0)/32768|0)<<15)|0}return c|0}function uxa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=r;r=r+16|0;d=k[a+19680>>2]|0;switch(d|0){case 2:case 1:case 0:{c=k[a+19688>>2]|0;if((c|0)==1)c=384;else if((c|0)==2)c=1152;else if(!(k[a+19672>>2]|0))c=k[a+19676>>2]|0?576:1152;else c=576;b=ha(c>>>d,b)|0;r=e;return b|0}case 3:{b=vxa(a,b)|0;r=e;return b|0}default:{b=k[37151]|0;k[e>>2]=789;k[e+4>>2]=d;Cob(b,511185,e)|0;b=0;r=e;return b|0}}return 0}function vxa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;if((b|0)<=0){b=0;return b|0}i=k[a+19360>>2]|0;switch(k[a+19688>>2]|0){case 1:{e=0;d=16384;c=0;while(1){d=(i*384|0)+d|0;c=((d|0)/32768|0)+c|0;e=e+1|0;if((e|0)==(b|0))break;else d=d-(((d|0)/32768|0)<<15)|0}return c|0}case 2:{e=0;d=16384;c=0;while(1){d=(i*1152|0)+d|0;c=((d|0)/32768|0)+c|0;e=e+1|0;if((e|0)==(b|0))break;else d=d-(((d|0)/32768|0)<<15)|0}return c|0}default:{f=(k[a+19672>>2]|0)==0;g=0;e=16384;c=0;while(1){if(f)if(!(k[a+19676>>2]|0))d=1152;else h=10;else h=10;if((h|0)==10){h=0;d=576}d=(ha(i,d)|0)+e|0;c=((d|0)/32768|0)+c|0;g=g+1|0;if((g|0)==(b|0))break;else e=d-(((d|0)/32768|0)<<15)|0}return c|0}}return 0}function wxa(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+16|0;c=k[a+19680>>2]|0;switch(c|0){case 2:case 1:case 0:{b=k[a+19688>>2]|0;if((b|0)==1)b=384;else if((b|0)==2)b=1152;else if(!(k[a+19672>>2]|0))b=k[a+19676>>2]|0?576:1152;else b=576;c=b>>>c;r=d;return c|0}case 3:{c=xxa(a)|0;r=d;return c|0}default:{a=k[37151]|0;k[d>>2]=811;k[d+4>>2]=c;Cob(a,511185,d)|0;c=0;r=d;return c|0}}return 0}function xxa(a){a=a|0;var b=0,c=0;c=k[a+19352>>2]|0;b=k[a+19688>>2]|0;if((b|0)==1)b=384;else if((b|0)==2)b=1152;else if(!(k[a+19672>>2]|0))b=k[a+19676>>2]|0?576:1152;else b=576;return ((ha(k[a+19360>>2]|0,b)|0)+c|0)/32768|0|0}function yxa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;if((b|0)<1){h=0;return h|0}h=k[a+19360>>2]|0;switch(k[a+19688>>2]|0){case 1:{if((((h*384|0)+16384|0)/32768|0|0)>(b|0)){h=0;return h|0}else{c=b;d=((h*384|0)+16384|0)/32768|0;e=(h*384|0)+16384|0;b=0}do{c=c-d|0;b=b+1|0;e=(h*384|0)+(e-(d<<15))|0;d=(e|0)/32768|0}while((c|0)>=(d|0));return b|0}case 2:{if((((h*1152|0)+16384|0)/32768|0|0)>(b|0)){h=0;return h|0}else{c=b;d=((h*1152|0)+16384|0)/32768|0;e=(h*1152|0)+16384|0;b=0}do{c=c-d|0;b=b+1|0;e=(h*1152|0)+(e-(d<<15))|0;d=(e|0)/32768|0}while((c|0)>=(d|0));return b|0}default:{f=(k[a+19672>>2]|0)==0;e=b;b=0;d=16384;while(1){if(f)if(!(k[a+19676>>2]|0))c=1152;else g=10;else g=10;if((g|0)==10){g=0;c=576}c=(ha(h,c)|0)+d|0;if((e|0)<((c|0)/32768|0|0))break;e=e-((c|0)/32768|0)|0;b=b+1|0;d=c-(((c|0)/32768|0)<<15)|0}return b|0}}return 0}function zxa(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+32|0;b=k[a+27932>>2]|0;c=k[a+19680>>2]|0;switch(c|0){case 2:case 1:case 0:{b=b>>c;break}case 3:{b=txa(a,b)|0;break}default:{b=k[37151]|0;k[d>>2]=769;k[d+4>>2]=c;Cob(b,511185,d)|0;b=0}}k[a+27936>>2]=b;c=k[a+27940>>2]|0;b=k[a+19680>>2]|0;switch(b|0){case 2:case 1:case 0:{b=c>>b;break}case 3:{b=txa(a,c)|0;break}default:{c=k[37151]|0;k[d+8>>2]=769;k[d+8+4>>2]=b;Cob(c,511185,d+8|0)|0;b=0}}k[a+27944>>2]=b;c=k[a+27920>>2]|0;b=k[a+19688>>2]|0;if((b|0)==1)b=384;else if((b|0)==2)b=1152;else if(!(k[a+19672>>2]|0))b=k[a+19676>>2]|0?576:1152;else b=576;b=ha(b,c)|0;c=k[a+19680>>2]|0;switch(c|0){case 2:case 1:case 0:{c=b>>c;a=a+27948|0;k[a>>2]=c;r=d;return}case 3:{c=txa(a,b)|0;a=a+27948|0;k[a>>2]=c;r=d;return}default:{b=k[37151]|0;k[d+16>>2]=769;k[d+16+4>>2]=c;Cob(b,511185,d+16|0)|0;c=0;a=a+27948|0;k[a>>2]=c;r=d;return}}}function Axa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=r;r=r+16|0;d=k[a+27920>>2]|0;c=k[a+19688>>2]|0;if((c|0)==1)c=384;else if((c|0)==2)c=1152;else if(!(k[a+19672>>2]|0))c=k[a+19676>>2]|0?576:1152;else c=576;c=ha(c,d)|0;if(!((c|0)==(b|0)?1:(k[a+28068>>2]&32|0)!=0))Dpb(511322,90,1,k[37151]|0)|0;if((c|0)<=(b|0)){r=e;return}if(!(k[a+28068>>2]&32)){c=k[37151]|0;d=k[a+27940>>2]|0;k[e>>2]=873;k[e+4>>2]=b;k[e+8>>2]=d;Cob(c,511413,e)|0;c=a+27940|0}else c=a+27940|0;k[a+27920>>2]=-1;k[c>>2]=0;k[a+27932>>2]=0;k[a+27936>>2]=0;k[a+27944>>2]=0;k[a+27948>>2]=0;zxa(a);k[a+27912>>2]=-1;k[a+27928>>2]=0;r=e;return}function Bxa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=r;r=r+32|0;k[a+27908>>2]=b;do if(!(k[a+28068>>2]&64))g=41;else if((k[a+27920>>2]|0)>0){e=k[a+27936>>2]|0;d=k[a+19680>>2]|0;switch(d|0){case 2:case 1:case 0:{c=k[a+19688>>2]|0;if((c|0)==1)c=384;else if((c|0)==2)c=1152;else if(!(k[a+19672>>2]|0))c=k[a+19676>>2]|0?576:1152;else c=576;f=(e|0)/(c>>>d|0)|0;break}case 3:{f=yxa(a,e)|0;break}default:{f=k[37151]|0;k[h>>2]=831;Cob(f,511256,h)|0;f=0}}if((f|0)<(b|0))k[a+27924>>2]=0;else{k[a+27908>>2]=f;e=k[a+27936>>2]|0;d=k[a+19680>>2]|0;switch(d|0){case 2:case 1:case 0:{c=k[a+19688>>2]|0;if((c|0)==1)c=384;else if((c|0)==2)c=1152;else if(!(k[a+19672>>2]|0))c=k[a+19676>>2]|0?576:1152;else c=576;c=ha(c>>>d,f)|0;break}case 3:{c=vxa(a,f)|0;break}default:{c=k[37151]|0;k[h+8>>2]=789;k[h+8+4>>2]=d;Cob(c,511185,h+8|0)|0;c=0}}k[a+27924>>2]=e-c}d=k[a+27944>>2]|0;if((d|0)<=0){k[a+27912>>2]=-1;k[a+27928>>2]=0;break}e=k[a+19680>>2]|0;switch(e|0){case 2:case 1:case 0:{c=k[a+19688>>2]|0;if((c|0)==1)c=384;else if((c|0)==2)c=1152;else if(!(k[a+19672>>2]|0))c=k[a+19676>>2]|0?576:1152;else c=576;e=(d|0)/(c>>>e|0)|0;break}case 3:{e=yxa(a,d)|0;break}default:{e=k[37151]|0;k[h+16>>2]=831;Cob(e,511256,h+16|0)|0;e=0}}k[a+27912>>2]=e;b=k[a+27944>>2]|0;d=k[a+19680>>2]|0;switch(d|0){case 2:case 1:case 0:{c=k[a+19688>>2]|0;if((c|0)==1)c=384;else if((c|0)==2)c=1152;else if(!(k[a+19672>>2]|0))c=k[a+19676>>2]|0?576:1152;else c=576;c=ha(c>>>d,e)|0;break}case 3:{c=vxa(a,e)|0;break}default:{c=k[37151]|0;k[h+24>>2]=789;k[h+24+4>>2]=d;Cob(c,511185,h+24|0)|0;c=0}}k[a+27928>>2]=b-c}else g=41;while(0);if((g|0)==41){k[a+27928>>2]=0;k[a+27924>>2]=0;k[a+27912>>2]=-1}f=k[a+19688>>2]|0;g=k[a+28360>>2]|0;g=(f|0)==3&(g|0)<1?1:g;k[a+27916>>2]=(k[a+27908>>2]|0)-((f|0)!=3&(g|0)>2?2:g);r=h;return}function Cxa(a){a=a|0;if((k[a+19688>>2]|0)!=3)return;ywa(a,512);return}function Dxa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=r;r=r+16|0;d=k[a+19680>>2]|0;switch(d|0){case 2:case 1:case 0:{c=k[a+19688>>2]|0;if((c|0)==1)c=384;else if((c|0)==2)c=1152;else if(!(k[a+19672>>2]|0))c=k[a+19676>>2]|0?576:1152;else c=576;c=(b|0)/(c>>>d|0)|0;break}case 3:{c=yxa(a,b)|0;break}default:{c=k[37151]|0;k[f>>2]=831;Cob(c,511256,f)|0;c=0}}k[a+27908>>2]=c;d=k[a+19680>>2]|0;if((d|0)==3){Exa(a,c);c=k[a+27908>>2]|0;d=k[a+19680>>2]|0}e=k[a+19688>>2]|0;g=k[a+28360>>2]|0;g=(e|0)==3&(g|0)<1?1:g;k[a+27916>>2]=c-((e|0)!=3&(g|0)>2?2:g);switch(d|0){case 2:case 1:case 0:{if((e|0)==1)e=384;else if((e|0)==2)e=1152;else if(!(k[a+19672>>2]|0))e=k[a+19676>>2]|0?576:1152;else e=576;g=ha(e>>>d,c)|0;b=b-g|0;g=a+27924|0;k[g>>2]=b;r=f;return}case 3:{g=vxa(a,c)|0;b=b-g|0;g=a+27924|0;k[g>>2]=b;r=f;return}default:{g=k[37151]|0;k[f+8>>2]=789;k[f+8+4>>2]=d;Cob(g,511185,f+8|0)|0;g=0;b=b-g|0;g=a+27924|0;k[g>>2]=b;r=f;return}}}function Exa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if((b|0)>0){e=k[a+19360>>2]|0;switch(k[a+19688>>2]|0){case 1:{d=0;c=16384;while(1){c=c+(e*384|0)|0;d=d+1|0;if((d|0)==(b|0)){c=c-(((c|0)/32768|0)<<15)|0;break}else c=c-(((c|0)/32768|0)<<15)|0}break}case 2:{d=0;c=16384;while(1){c=c+(e*1152|0)|0;d=d+1|0;if((d|0)==(b|0)){c=c-(((c|0)/32768|0)<<15)|0;break}else c=c-(((c|0)/32768|0)<<15)|0}break}default:if(!(k[a+19672>>2]|0)){d=ha((k[a+19676>>2]|0)==0?1152:576,e)|0;e=0;c=16384;while(1){c=d+c|0;e=e+1|0;if((e|0)==(b|0)){c=c-(((c|0)/32768|0)<<15)|0;break}else c=c-(((c|0)/32768|0)<<15)|0}}else{d=0;c=16384;while(1){c=(e*576|0)+c|0;d=d+1|0;if((d|0)==(b|0)){c=c-(((c|0)/32768|0)<<15)|0;break}else c=c-(((c|0)/32768|0)<<15)|0}}}}else c=16384;k[a+19352>>2]=c;k[a+19356>>2]=c;return}function Fxa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0;l=r;r=r+64|0;d=k[a+19652>>2]|0;j=l+48+8|0;k[j>>2]=d;h=k[a+28068>>2]|0;f=(h&1024|0)==0?h>>>1&8:6;d=(h&8|0)==0?((h&7|0)==0?d:1):2;if(h&15|0)k[j>>2]=d;g=k[a+28072>>2]|0;a:do if(!g){if(!(Gxa(a,l+48|0,f,2)|0)){b=f>>>0>2?f:2;if(!(Gxa(a,l+48|0,b,(h&1024)>>>8^12)|0)){switch(k[j>>2]|0){case 2:{if(!(k[a+28068>>2]&8))k[j>>2]=1;break}case 1:{if(!(k[a+28068>>2]&7))k[j>>2]=2;break}default:{}}if(!(Gxa(a,l+48|0,f,2)|0))if(!(Gxa(a,l+48|0,b,(h&1024)>>>8^12)|0)){b=k[a+28068>>2]|0;if(!(b&32)){c=k[37151]|0;if(!(b&8))d=b&7|0?511526:1279174;else d=511533;g=jwa(a)|0;h=(jwa(a)|0)>>1;j=(jwa(a)|0)>>2;k[l+16>>2]=269;k[l+16+4>>2]=d;k[l+16+8>>2]=b&16|0?511542:1279174;k[l+16+12>>2]=g;k[l+16+16>>2]=h;k[l+16+20>>2]=j;Cob(c,511627,l+16|0)|0}k[a+28376>>2]=1;a=-1;r=l;return a|0}}}}else{k[l+48+12>>2]=g;if((g|0)==8e3)c=0;else if((g|0)==11025)c=1;else if((g|0)==12e3)c=2;else if((g|0)==16e3)c=3;else if((g|0)==22050)c=4;else if((g|0)==24e3)c=5;else if((g|0)==32e3)c=6;else if((g|0)==44100)c=7;else c=(g|0)==48e3?8:9;b:do if(f>>>0<2){b=h>>>1&8;while(1){if(i[a+28096+((d+-1|0)*120|0)+(c*12|0)+b>>0]|0)break;b=b+1|0;if((b|0)>=2)break b}k[l+48>>2]=k[35520+(b<<2)>>2];break a}while(0);e=f>>>0>2?f:2;if((g|0)==8e3)c=0;else if((g|0)==11025)c=1;else if((g|0)==12e3)c=2;else if((g|0)==16e3)c=3;else if((g|0)==22050)c=4;else if((g|0)==24e3)c=5;else if((g|0)==32e3)c=6;else if((g|0)==44100)c=7;else c=(g|0)==48e3?8:9;c:do if((e|0)<((h&1024)>>>8^12|0)){b=e;while(1){if(i[a+28096+((d+-1|0)*120|0)+(c*12|0)+b>>0]|0)break;b=b+1|0;if((b|0)>=((h&1024)>>>8^12|0))break c}k[l+48>>2]=k[35520+(b<<2)>>2];break a}while(0);switch(d|0){case 2:{if(!(h&8)){k[j>>2]=1;b=1}else b=2;break}case 1:{if(!(h&7)){k[j>>2]=2;b=2}else b=1;break}default:b=d}d=b+-1|0;if((g|0)==8e3)c=0;else if((g|0)==11025)c=1;else if((g|0)==12e3)c=2;else if((g|0)==16e3)c=3;else if((g|0)==22050)c=4;else if((g|0)==24e3)c=5;else if((g|0)==32e3)c=6;else if((g|0)==44100)c=7;else c=(g|0)==48e3?8:9;d:do if(f>>>0<2){b=h>>>1&8;while(1){if(i[a+28096+(d*120|0)+(c*12|0)+b>>0]|0)break;b=b+1|0;if((b|0)>=2)break d}k[l+48>>2]=k[35520+(b<<2)>>2];break a}while(0);if((g|0)==8e3)c=0;else if((g|0)==11025)c=1;else if((g|0)==12e3)c=2;else if((g|0)==16e3)c=3;else if((g|0)==22050)c=4;else if((g|0)==24e3)c=5;else if((g|0)==32e3)c=6;else if((g|0)==44100)c=7;else c=(g|0)==48e3?8:9;e:do if((e|0)<((h&1024)>>>8^12|0)){b=e;while(1){if(i[a+28096+(d*120|0)+(c*12|0)+b>>0]|0)break;b=b+1|0;if((b|0)>=((h&1024)>>>8^12|0))break e}k[l+48>>2]=k[35520+(b<<2)>>2];break a}while(0);if(!(h&32)){j=k[37151]|0;k[l>>2]=244;k[l+4>>2]=(h&8|0)==0?(h&7|0?511526:1279174):511533;k[l+8>>2]=h&16|0?511542:1279174;k[l+12>>2]=g;Cob(j,511549,l)|0}k[a+28376>>2]=1;a=-1;r=l;return a|0}while(0);c=k[l+48+12>>2]|0;b=k[j>>2]|0;if((c|0)==(k[a+27888>>2]|0))if((b|0)==(k[a+27884>>2]|0))if((k[l+48>>2]|0)==(k[a+27876>>2]|0)){a=0;r=l;return a|0}k[a+27888>>2]=c;k[a+27884>>2]=b;b=k[l+48>>2]|0;k[a+27876>>2]=b;if(!(b&15))if(!(b&64))if(!(b&16384))if((b|0)==512|(b&256|0)!=0)b=4;else if((b|0)==1024)b=8;else{k[a+27880>>2]=0;if(!(k[a+28068>>2]&32)){j=k[37151]|0;k[l+40>>2]=293;k[l+40+4>>2]=b;Cob(j,511717,l+40|0)|0}k[a+28376>>2]=1;a=-1;r=l;return a|0}else b=3;else b=2;else b=1;k[a+27880>>2]=b;a=1;r=l;return a|0}function Gxa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,l=0,m=0;g=jwa(a)|0;j=k[a+28076>>2]|0;k[b+12>>2]=g>>j;l=(k[b+8>>2]|0)+-1|0;if((g>>j|0)==8e3){f=0;m=11}else if((g>>j|0)==11025){f=1;m=11}else if((g>>j|0)==12e3){f=2;m=11}else if((g>>j|0)==16e3){f=3;m=11}else if((g>>j|0)==22050){f=4;m=11}else if((g>>j|0)==24e3){f=5;m=11}else if((g>>j|0)==32e3){f=6;m=11}else if((g>>j|0)==44100){f=7;m=11}else if((g>>j|0)==48e3){f=8;m=11}else{h=k[a+28072>>2]|0;if((h|0)!=0&(h|0)==(g>>j|0)){f=9;m=11}}a:do if((m|0)==11)if((c|0)<(d|0)){e=c;while(1){if(i[a+28096+(l*120|0)+(f*12|0)+e>>0]|0)break;e=e+1|0;if((e|0)>=(d|0))break a}k[b>>2]=k[35520+(e<<2)>>2];b=1;return b|0}while(0);h=(k[a+28068>>2]&32768|0)==0;if(h){b=0;return b|0}e=g>>j>>1;k[b+12>>2]=e;if((e|0)==8e3){f=0;m=26}else if((e|0)==11025){f=1;m=26}else if((e|0)==12e3){f=2;m=26}else if((e|0)==16e3){f=3;m=26}else if((e|0)==22050){f=4;m=26}else if((e|0)==24e3){f=5;m=26}else if((e|0)==32e3){f=6;m=26}else if((e|0)==44100){f=7;m=26}else if((e|0)==48e3){f=8;m=26}else{f=k[a+28072>>2]|0;if((f|0)!=0&(f|0)==(e|0)){f=9;m=26}}b:do if((m|0)==26)if((c|0)<(d|0)){e=c;while(1){if(i[a+28096+(l*120|0)+(f*12|0)+e>>0]|0)break;e=e+1|0;if((e|0)>=(d|0))break b}k[b>>2]=k[35520+(e<<2)>>2];b=1;return b|0}while(0);e=g>>j>>2;k[b+12>>2]=e;if((e|0)==8e3){f=0;m=40}else if((e|0)==11025){f=1;m=40}else if((e|0)==12e3){f=2;m=40}else if((e|0)==16e3){f=3;m=40}else if((e|0)==22050){f=4;m=40}else if((e|0)==24e3){f=5;m=40}else if((e|0)==32e3){f=6;m=40}else if((e|0)==44100){f=7;m=40}else if((e|0)==48e3){f=8;m=40}else{g=k[a+28072>>2]|0;if((g|0)!=0&(g|0)==(e|0)){f=9;m=40}}c:do if((m|0)==40)if((c|0)<(d|0)){e=c;while(1){if(i[a+28096+(l*120|0)+(f*12|0)+e>>0]|0)break;e=e+1|0;if((e|0)>=(d|0))break c}k[b>>2]=k[35520+(e<<2)>>2];b=1;return b|0}while(0);if(h){b=0;return b|0}if(k[a+28072>>2]|j|0){b=0;return b|0}e=jwa(a)|0;if((e|0)==8e3)h=0;else if((e|0)==11025)h=1;else if((e|0)==12e3)h=2;else if((e|0)==16e3)h=3;else if((e|0)==22050)h=4;else if((e|0)==24e3)h=5;else if((e|0)==32e3)h=6;else if((e|0)==44100)h=7;else if((e|0)==48e3)h=8;else{j=k[a+28072>>2]|0;if((j|0)!=0&(j|0)==(e|0))h=9;else{b=0;return b|0}}if((c|0)<(d|0))e=c;else{b=0;return b|0}d:do{f=h;while(1){f=f+1|0;if((f|0)>=9)break;if(i[a+28096+(l*120|0)+(f*12|0)+e>>0]|0){m=61;break d}}e=e+1|0}while((e|0)<(d|0));if((m|0)==61){k[b+12>>2]=k[35484+(f<<2)>>2];k[b>>2]=k[35520+(e<<2)>>2];b=1;return b|0}if((c|0)<(d|0))e=c;else{b=0;return b|0}e:while(1){f=h;while(1){g=f+-1|0;if((f|0)<=0)break;if(!(i[a+28096+(l*120|0)+(g*12|0)+e>>0]|0))f=g;else break e}e=e+1|0;if((e|0)>=(d|0)){e=0;m=68;break}}if((m|0)==68)return e|0;k[b+12>>2]=k[35484+(g<<2)>>2];k[b>>2]=k[35520+(e<<2)>>2];b=1;return b|0}function Hxa(a){a=a|0;if(!a){a=-1;return a|0}if(!(k[a+28068>>2]&32))if((k[a+28064>>2]|0)>2)Dpb(511769,29,1,k[37151]|0)|0;vBb(a+28096|0,0,240)|0;a=0;return a|0}function Ixa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(!a){a=-1;return a|0}c=Jxa(a+28064|0,b,c,d)|0;if(!c){a=0;return a|0}k[a+28376>>2]=c;a=-1;return a|0}function Jxa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;g=r;r=r+32|0;k[g>>2]=0;k[g+4>>2]=1;if(!a){a=25;r=g;return a|0}if(!(c&3)){a=2;r=g;return a|0}if(!(k[a+4>>2]&32))if((k[a>>2]|0)>2){f=k[37151]|0;k[g+8>>2]=b;k[g+8+4>>2]=c;k[g+8+8>>2]=d;Cob(f,511799,g+8|0)|0}if(!(c&2)){k[g+4>>2]=0;e=0;f=0}else if(!(c&1)){k[g>>2]=1;e=1;f=1}else{e=0;f=1}if((b|0)==8e3)c=0;else if((b|0)==11025)c=1;else if((b|0)==12e3)c=2;else if((b|0)==16e3)c=3;else if((b|0)==22050)c=4;else if((b|0)==24e3)c=5;else if((b|0)==32e3)c=6;else if((b|0)==44100)c=7;else if((b|0)==48e3)c=8;else{c=k[a+8>>2]|0;if((c|0)!=0&(c|0)==(b|0))c=9;else{a=3;r=g;return a|0}}if((e|0)==(f|0)){if((d&208|0)==208)i[a+32+(f*120|0)+(c*12|0)>>0]=1;if((d&96|0)==96)i[a+32+(f*120|0)+(c*12|0)+1>>0]=1;if((d&4480|0)==4480)i[a+32+(f*120|0)+(c*12|0)+2>>0]=1;if((d&8448|0)==8448)i[a+32+(f*120|0)+(c*12|0)+3>>0]=1;if((d&20608|0)==20608)i[a+32+(f*120|0)+(c*12|0)+4>>0]=1;if((d&24576|0)==24576)i[a+32+(f*120|0)+(c*12|0)+5>>0]=1;if(d&512|0)i[a+32+(f*120|0)+(c*12|0)+6>>0]=1;if((d&130|0)==130)i[a+32+(f*120|0)+(c*12|0)+8>>0]=1;if(d&1|0)i[a+32+(f*120|0)+(c*12|0)+9>>0]=1;if(d&4|0)i[a+32+(f*120|0)+(c*12|0)+10>>0]=1;if(!(d&8)){a=0;r=g;return a|0}i[a+32+(f*120|0)+(c*12|0)+11>>0]=1;a=0;r=g;return a|0}if((d&208|0)==208)i[a+32+((k[g>>2]|0)*120|0)+(c*12|0)>>0]=1;if((d&96|0)==96)i[a+32+((k[g>>2]|0)*120|0)+(c*12|0)+1>>0]=1;if((d&4480|0)==4480)i[a+32+((k[g>>2]|0)*120|0)+(c*12|0)+2>>0]=1;if((d&8448|0)==8448)i[a+32+((k[g>>2]|0)*120|0)+(c*12|0)+3>>0]=1;if((d&20608|0)==20608)i[a+32+((k[g>>2]|0)*120|0)+(c*12|0)+4>>0]=1;if((d&24576|0)==24576)i[a+32+((k[g>>2]|0)*120|0)+(c*12|0)+5>>0]=1;if(d&512|0)i[a+32+((k[g>>2]|0)*120|0)+(c*12|0)+6>>0]=1;if((d&130|0)==130)i[a+32+((k[g>>2]|0)*120|0)+(c*12|0)+8>>0]=1;if(d&1|0)i[a+32+((k[g>>2]|0)*120|0)+(c*12|0)+9>>0]=1;if(d&4|0)i[a+32+((k[g>>2]|0)*120|0)+(c*12|0)+10>>0]=1;if(d&8|0)i[a+32+((k[g>>2]|0)*120|0)+(c*12|0)+11>>0]=1;if((d&208|0)==208)i[a+32+((k[g+4>>2]|0)*120|0)+(c*12|0)>>0]=1;if((d&96|0)==96)i[a+32+((k[g+4>>2]|0)*120|0)+(c*12|0)+1>>0]=1;if((d&4480|0)==4480)i[a+32+((k[g+4>>2]|0)*120|0)+(c*12|0)+2>>0]=1;if((d&8448|0)==8448)i[a+32+((k[g+4>>2]|0)*120|0)+(c*12|0)+3>>0]=1;if((d&20608|0)==20608)i[a+32+((k[g+4>>2]|0)*120|0)+(c*12|0)+4>>0]=1;if((d&24576|0)==24576)i[a+32+((k[g+4>>2]|0)*120|0)+(c*12|0)+5>>0]=1;if(d&512|0)i[a+32+((k[g+4>>2]|0)*120|0)+(c*12|0)+6>>0]=1;if((d&130|0)==130)i[a+32+((k[g+4>>2]|0)*120|0)+(c*12|0)+8>>0]=1;if(d&1|0)i[a+32+((k[g+4>>2]|0)*120|0)+(c*12|0)+9>>0]=1;if(d&4|0)i[a+32+((k[g+4>>2]|0)*120|0)+(c*12|0)+10>>0]=1;if(!(d&8)){a=0;r=g;return a|0}i[a+32+((k[g+4>>2]|0)*120|0)+(c*12|0)+11>>0]=1;a=0;r=g;return a|0}function Kxa(a,b){a=a|0;b=b|0;var c=0;c=k[a+27884>>2]|0;if(!(k[a+27876>>2]&16384)){b=ha(k[a+27880>>2]|0,b)|0;b=ha(b,c)|0;return b|0}else{b=b<<2;b=ha(b,c)|0;return b|0}return 0}function Lxa(a,b){a=a|0;b=b|0;b=ha(k[a+27880>>2]|0,b)|0;return ha(b,k[a+27884>>2]|0)|0}function Mxa(a,b){a=a|0;b=b|0;return ((b|0)/(k[a+27880>>2]|0)|0|0)/(k[a+27884>>2]|0)|0|0}function Nxa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=k[a+27876>>2]|0;a:do if((b|0)<20608)switch(b|0){case 8448:{e=2;break}default:{}}else{if((b|0)>=24576)switch(b|0){case 24576:{e=2;break a}default:break a}switch(b|0){case 20608:break;default:break a}b=k[a+27856>>2]|0;if((k[a+27864>>2]|0)>>>0<4)c=b;else{d=b;do{i[b>>0]=i[d+1>>0]|0;i[b+1>>0]=i[d+2>>0]|0;i[b+2>>0]=i[d+3>>0]|0;b=b+3|0;d=d+4|0;c=k[a+27856>>2]|0}while((d+4-c|0)>>>0<=(k[a+27864>>2]|0)>>>0)}k[a+27864>>2]=b-c;e=17}while(0);if((e|0)==2){f=k[a+27856>>2]|0;c=k[a+27864>>2]|0;if(c>>>0>3){d=0;do{b=f+(d<<2)|0;c=k[b>>2]|0;do if((c|0)>-1)k[b>>2]=c^-2147483648;else if((c|0)==-2147483648){k[b>>2]=0;break}else{k[b>>2]=c^-2147483648;break}while(0);d=d+1|0;c=k[a+27864>>2]|0}while(d>>>0>>2>>>0);b=k[a+27876>>2]|0}if((b|0)==24576){if(c>>>0<4){c=f;b=f}else{d=f;b=f;do{i[b>>0]=i[d+1>>0]|0;i[b+1>>0]=i[d+2>>0]|0;i[b+2>>0]=i[d+3>>0]|0;b=b+3|0;d=d+4|0;c=k[a+27856>>2]|0}while((d+4-c|0)>>>0<=(k[a+27864>>2]|0)>>>0)}k[a+27864>>2]=b-c;e=17}}if((e|0)==17)b=k[a+27876>>2]|0;if((b|0)!=96)return;d=k[a+27856>>2]|0;b=k[a+27864>>2]|0;if(b>>>0<=1)return;c=0;do{a=d+(c<<1)|0;j[a>>1]=(m[a>>1]|0)+32768;c=c+1|0}while(c>>>0>>1>>>0);return}function Oxa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0.0,i=0.0,j=0.0,l=0.0,m=0.0,n=0.0,p=0.0,q=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0;g=r;r=r+256|0;o[g>>2]=+o[c+124>>2]+ +o[c>>2];o[g+4>>2]=+o[c+120>>2]+ +o[c+4>>2];o[g+8>>2]=+o[c+116>>2]+ +o[c+8>>2];o[g+12>>2]=+o[c+112>>2]+ +o[c+12>>2];o[g+16>>2]=+o[c+108>>2]+ +o[c+16>>2];o[g+20>>2]=+o[c+104>>2]+ +o[c+20>>2];o[g+24>>2]=+o[c+100>>2]+ +o[c+24>>2];o[g+28>>2]=+o[c+96>>2]+ +o[c+28>>2];o[g+32>>2]=+o[c+92>>2]+ +o[c+32>>2];o[g+36>>2]=+o[c+88>>2]+ +o[c+36>>2];o[g+40>>2]=+o[c+84>>2]+ +o[c+40>>2];o[g+44>>2]=+o[c+80>>2]+ +o[c+44>>2];o[g+48>>2]=+o[c+76>>2]+ +o[c+48>>2];o[g+52>>2]=+o[c+72>>2]+ +o[c+52>>2];o[g+56>>2]=+o[c+68>>2]+ +o[c+56>>2];o[g+60>>2]=+o[c+64>>2]+ +o[c+60>>2];o[g+64>>2]=(+o[c+60>>2]-+o[c+64>>2])*+o[165839];o[g+68>>2]=(+o[c+56>>2]-+o[c+68>>2])*+o[165838];o[g+72>>2]=(+o[c+52>>2]-+o[c+72>>2])*+o[165837];o[g+76>>2]=(+o[c+48>>2]-+o[c+76>>2])*+o[165836];o[g+80>>2]=(+o[c+44>>2]-+o[c+80>>2])*+o[165835];o[g+84>>2]=(+o[c+40>>2]-+o[c+84>>2])*+o[165834];o[g+88>>2]=(+o[c+36>>2]-+o[c+88>>2])*+o[165833];o[g+92>>2]=(+o[c+32>>2]-+o[c+92>>2])*+o[165832];o[g+96>>2]=(+o[c+28>>2]-+o[c+96>>2])*+o[165831];o[g+100>>2]=(+o[c+24>>2]-+o[c+100>>2])*+o[165830];o[g+104>>2]=(+o[c+20>>2]-+o[c+104>>2])*+o[165829];o[g+108>>2]=(+o[c+16>>2]-+o[c+108>>2])*+o[165828];o[g+112>>2]=(+o[c+12>>2]-+o[c+112>>2])*+o[165827];o[g+116>>2]=(+o[c+8>>2]-+o[c+116>>2])*+o[165826];o[g+120>>2]=(+o[c+4>>2]-+o[c+120>>2])*+o[165825];o[g+124>>2]=(+o[c>>2]-+o[c+124>>2])*+o[165824];o[g+128>>2]=+o[g+60>>2]+ +o[g>>2];o[g+132>>2]=+o[g+56>>2]+ +o[g+4>>2];o[g+136>>2]=+o[g+52>>2]+ +o[g+8>>2];o[g+140>>2]=+o[g+48>>2]+ +o[g+12>>2];o[g+144>>2]=+o[g+44>>2]+ +o[g+16>>2];o[g+148>>2]=+o[g+40>>2]+ +o[g+20>>2];o[g+152>>2]=+o[g+36>>2]+ +o[g+24>>2];o[g+156>>2]=+o[g+32>>2]+ +o[g+28>>2];o[g+160>>2]=(+o[g+28>>2]-+o[g+32>>2])*+o[165847];o[g+164>>2]=(+o[g+24>>2]-+o[g+36>>2])*+o[165846];o[g+168>>2]=(+o[g+20>>2]-+o[g+40>>2])*+o[165845];o[g+172>>2]=(+o[g+16>>2]-+o[g+44>>2])*+o[165844];o[g+176>>2]=(+o[g+12>>2]-+o[g+48>>2])*+o[165843];o[g+180>>2]=(+o[g+8>>2]-+o[g+52>>2])*+o[165842];o[g+184>>2]=(+o[g+4>>2]-+o[g+56>>2])*+o[165841];o[g+188>>2]=(+o[g>>2]-+o[g+60>>2])*+o[165840];o[g+192>>2]=+o[g+124>>2]+ +o[g+64>>2];o[g+196>>2]=+o[g+120>>2]+ +o[g+68>>2];o[g+200>>2]=+o[g+116>>2]+ +o[g+72>>2];o[g+204>>2]=+o[g+112>>2]+ +o[g+76>>2];o[g+208>>2]=+o[g+108>>2]+ +o[g+80>>2];o[g+212>>2]=+o[g+104>>2]+ +o[g+84>>2];o[g+216>>2]=+o[g+100>>2]+ +o[g+88>>2];o[g+220>>2]=+o[g+96>>2]+ +o[g+92>>2];o[g+224>>2]=(+o[g+96>>2]-+o[g+92>>2])*+o[165847];o[g+228>>2]=(+o[g+100>>2]-+o[g+88>>2])*+o[165846];o[g+232>>2]=(+o[g+104>>2]-+o[g+84>>2])*+o[165845];o[g+236>>2]=(+o[g+108>>2]-+o[g+80>>2])*+o[165844];o[g+240>>2]=(+o[g+112>>2]-+o[g+76>>2])*+o[165843];o[g+244>>2]=(+o[g+116>>2]-+o[g+72>>2])*+o[165842];o[g+248>>2]=(+o[g+120>>2]-+o[g+68>>2])*+o[165841];o[g+252>>2]=(+o[g+124>>2]-+o[g+64>>2])*+o[165840];c=g+128|0;d=g+160|0;e=g;f=2;while(1){o[e>>2]=+o[d+-4>>2]+ +o[c>>2];o[e+4>>2]=+o[d+-8>>2]+ +o[c+4>>2];o[e+8>>2]=+o[d+-12>>2]+ +o[c+8>>2];o[e+12>>2]=+o[d+-16>>2]+ +o[c+12>>2];o[e+16>>2]=(+o[d+-20>>2]-+o[c+16>>2])*+o[165851];o[e+20>>2]=(+o[d+-24>>2]-+o[c+20>>2])*+o[165850];o[e+24>>2]=(+o[d+-28>>2]-+o[c+24>>2])*+o[165849];o[e+28>>2]=(+o[d+-32>>2]-+o[c+28>>2])*+o[165848];o[e+32>>2]=+o[d+28>>2]+ +o[c+32>>2];o[e+36>>2]=+o[d+24>>2]+ +o[c+36>>2];o[e+40>>2]=+o[d+20>>2]+ +o[c+40>>2];o[e+44>>2]=+o[d+16>>2]+ +o[c+44>>2];o[e+48>>2]=(+o[c+48>>2]-+o[d+12>>2])*+o[165851];o[e+52>>2]=(+o[c+52>>2]-+o[d+8>>2])*+o[165850];o[e+56>>2]=(+o[c+56>>2]-+o[d+4>>2])*+o[165849];o[e+60>>2]=(+o[c+60>>2]-+o[d>>2])*+o[165848];f=f+-1|0;if(!f)break;else{c=c+64|0;d=d+64|0;e=e+64|0}}c=g;d=g+16|0;e=g+128|0;f=4;while(1){o[e>>2]=+o[d+-4>>2]+ +o[c>>2];o[e+4>>2]=+o[d+-8>>2]+ +o[c+4>>2];o[e+8>>2]=(+o[d+-12>>2]-+o[c+8>>2])*+o[165853];o[e+12>>2]=(+o[d+-16>>2]-+o[c+12>>2])*+o[165852];o[e+16>>2]=+o[d+12>>2]+ +o[c+16>>2];o[e+20>>2]=+o[d+8>>2]+ +o[c+20>>2];o[e+24>>2]=(+o[c+24>>2]-+o[d+4>>2])*+o[165853];o[e+28>>2]=(+o[c+28>>2]-+o[d>>2])*+o[165852];f=f+-1|0;if(!f)break;else{c=c+32|0;d=d+32|0;e=e+32|0}}m=+o[g+128>>2];s=+o[g+132>>2];o[g>>2]=s+m;o[g+4>>2]=+o[301597]*(m-s);s=+o[g+136>>2];m=+o[g+140>>2];o[g+8>>2]=m+s;o[g+12>>2]=+o[301597]*(m-s);s=+o[g+144>>2];m=+o[g+148>>2];o[g+16>>2]=m+s;o[g+20>>2]=+o[301597]*(s-m);m=+o[g+152>>2];s=+o[g+156>>2];o[g+24>>2]=s+m;o[g+28>>2]=+o[301597]*(s-m);m=+o[g+160>>2];s=+o[g+164>>2];o[g+32>>2]=s+m;o[g+36>>2]=+o[301597]*(m-s);s=+o[g+168>>2];m=+o[g+172>>2];o[g+40>>2]=m+s;o[g+44>>2]=+o[301597]*(m-s);s=+o[g+176>>2];m=+o[g+180>>2];o[g+48>>2]=m+s;o[g+52>>2]=+o[301597]*(s-m);m=+o[g+184>>2];s=+o[g+188>>2];o[g+56>>2]=s+m;o[g+60>>2]=+o[301597]*(s-m);m=+o[g+192>>2];s=+o[g+196>>2];o[g+64>>2]=s+m;o[g+68>>2]=+o[301597]*(m-s);s=+o[g+200>>2];m=+o[g+204>>2];o[g+72>>2]=m+s;o[g+76>>2]=+o[301597]*(m-s);s=+o[g+208>>2];m=+o[g+212>>2];o[g+80>>2]=m+s;o[g+84>>2]=+o[301597]*(s-m);m=+o[g+216>>2];s=+o[g+220>>2];o[g+88>>2]=s+m;o[g+92>>2]=+o[301597]*(s-m);m=+o[g+224>>2];s=+o[g+228>>2];o[g+96>>2]=s+m;o[g+100>>2]=+o[301597]*(m-s);s=+o[g+232>>2];m=+o[g+236>>2];o[g+104>>2]=m+s;o[g+108>>2]=+o[301597]*(m-s);s=+o[g+240>>2];m=+o[g+244>>2];o[g+112>>2]=m+s;o[g+116>>2]=+o[301597]*(s-m);m=+o[g+248>>2];s=+o[g+252>>2];o[g+120>>2]=s+m;o[g+124>>2]=+o[301597]*(s-m);o[g+8>>2]=+o[g+8>>2]+ +o[g+12>>2];o[g+24>>2]=+o[g+24>>2]+ +o[g+28>>2];o[g+40>>2]=+o[g+40>>2]+ +o[g+44>>2];o[g+56>>2]=+o[g+56>>2]+ +o[g+60>>2];o[g+72>>2]=+o[g+72>>2]+ +o[g+76>>2];o[g+88>>2]=+o[g+88>>2]+ +o[g+92>>2];o[g+104>>2]=+o[g+104>>2]+ +o[g+108>>2];m=+o[g+120>>2]+ +o[g+124>>2];s=+o[g+24>>2];o[g+16>>2]=+o[g+16>>2]+s;q=+o[g+20>>2];o[g+24>>2]=s+q;o[g+20>>2]=+o[g+28>>2]+q;q=+o[g+56>>2];s=+o[g+48>>2]+q;p=+o[g+52>>2];n=+o[g+60>>2];j=+o[g+88>>2];v=+o[g+80>>2]+j;o[g+80>>2]=v;t=+o[g+84>>2];o[g+88>>2]=j+t;o[g+84>>2]=+o[g+92>>2]+t;t=+o[g+112>>2]+m;j=+o[g+116>>2];l=+o[g+124>>2];w=+o[g+32>>2]+s;o[g+32>>2]=w;i=+o[g+40>>2];o[g+48>>2]=s+i;o[g+40>>2]=q+p+i;u=+o[g+36>>2];o[g+56>>2]=u+(q+p);o[g+36>>2]=n+p+u;u=+o[g+44>>2];o[g+52>>2]=u+(n+p);o[g+44>>2]=n+u;u=+o[g+96>>2]+t;o[g+96>>2]=u;n=+o[g+104>>2];o[g+112>>2]=t+n;o[g+104>>2]=m+j+n;h=+o[g+100>>2];o[g+120>>2]=h+(m+j);o[g+100>>2]=l+j+h;x=+o[g+108>>2];o[g+116>>2]=x+(l+j);o[g+108>>2]=l+x;k[a+1024>>2]=k[g>>2];o[a+960>>2]=u+ +o[g+64>>2];o[a+896>>2]=w;o[a+832>>2]=v+u;k[a+768>>2]=k[g+16>>2];o[a+704>>2]=t+n+ +o[g+80>>2];o[a+640>>2]=s+i;s=+o[g+72>>2];o[a+576>>2]=s+(t+n);k[a+512>>2]=k[g+8>>2];o[a+448>>2]=m+j+n+s;o[a+384>>2]=q+p+i;i=+o[g+88>>2];o[a+320>>2]=i+(m+j+n);k[a+256>>2]=k[g+24>>2];o[a+192>>2]=h+(m+j)+i;k[a+128>>2]=k[g+56>>2];i=+o[g+68>>2];o[a+64>>2]=i+(h+(m+j));f=k[g+4>>2]|0;k[a>>2]=f;k[b>>2]=f;o[b+64>>2]=l+j+h+i;k[b+128>>2]=k[g+36>>2];i=+o[g+84>>2];o[b+192>>2]=i+ +o[g+100>>2];k[b+256>>2]=k[g+20>>2];h=+o[g+116>>2];o[b+320>>2]=h+i;k[b+384>>2]=k[g+52>>2];i=+o[g+76>>2];o[b+448>>2]=i+h;k[b+512>>2]=k[g+12>>2];h=+o[g+108>>2];o[b+576>>2]=h+i;k[b+640>>2]=k[g+44>>2];i=+o[g+92>>2];o[b+704>>2]=i+h;k[b+768>>2]=k[g+28>>2];h=+o[g+124>>2];o[b+832>>2]=h+i;k[b+896>>2]=k[g+60>>2];o[b+960>>2]=h;r=g;return}function Pxa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=0;do{e=a+(d<<2)|0;o[e>>2]=+o[c+(b<<7)+(d<<2)>>2]*+o[e>>2];d=d+1|0}while((d|0)!=32);return}function Qxa(a){a=a|0;var b=0,c=0,d=0,e=0;e=r;r=r+48|0;b=k[a+27876>>2]|0;if(!(b&64))if(!(b&15))if(!(b&3584))if(!(b&16640)){if(k[a+28068>>2]&32|0){a=-1;r=e;return a|0}a=k[37151]|0;k[e>>2]=339;Cob(a,511855,e)|0;a=-1;r=e;return a|0}else d=3;else d=2;else d=1;else d=0;c=k[a+19680>>2]|0;if(c>>>0>=4){if(k[a+28068>>2]&32|0){a=-1;r=e;return a|0}a=k[37151]|0;k[e+8>>2]=359;Cob(a,511946,e+8|0)|0;a=-1;r=e;return a|0}b=k[a+19364+(c<<4)+(d<<2)>>2]|0;k[a+19636>>2]=b;k[a+19640>>2]=k[a+19428+(c<<4)+(d<<2)>>2];k[a+19644>>2]=k[((k[a+27884>>2]|0)==2?a+19492+(c<<4)+(d<<2)|0:a+19556+(c<<4)+(d<<2)|0)>>2];if((b|0)==78)b=k[a+19364>>2]|0;c=(b|0)==31|((b|0)==30|((b|0)==29|((b|0)==28|((b|0)==27|((b|0)==26|((b|0)==25|((b|0)==24|((b|0)==23|((b|0)==22|((b|0)==21|((b|0)==20|((b|0)==19|((b|0)==18|((b|0)==16|(b|0)==17))))))))))))));b=c?1:15;if(!c){if(!(k[a+28068>>2]&32)){d=k[37151]|0;k[e+16>>2]=303;Cob(d,512044,e+16|0)|0}k[a+28376>>2]=37;a=-1;r=e;return a|0}k[a+19620>>2]=b;k[a+19624>>2]=(b|2|0)==11?2:1;if(kxa(a)|0){k[a+28376>>2]=11;if(k[a+28068>>2]&32|0){a=-1;r=e;return a|0}a=k[37151]|0;k[e+24>>2]=381;Cob(a,512136,e+24|0)|0;a=-1;r=e;return a|0}if((d|0)==1)if(gya(a)|0){if(k[a+28068>>2]&32|0){a=-1;r=e;return a|0}a=k[37151]|0;k[e+32>>2]=391;Cob(a,512296,e+32|0)|0;a=-1;r=e;return a|0}iya(a,9);kya(a,118);k[a+19648>>2]=689;lya(a);a=0;r=e;return a|0}function Rxa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,l=0;l=r;r=r+128|0;g=k[c+27856>>2]|0;h=k[c+27864>>2]|0;k[c+27856>>2]=l;k[c+27864>>2]=0;e=nj[k[c+19364>>2]&127](a,b,c,0)|0;k[c+27856>>2]=g;f=0;g=g+(h+b)|0;a=l+(b<<1)|0;while(1){i[g>>0]=i[(k[c+9592>>2]|0)+(j[a>>1]>>3)>>0]|0;f=f+1|0;if((f|0)==32)break;else{g=g+2|0;a=a+4|0}}k[c+27864>>2]=h+(d|0?64:0);r=l;return e|0}function Sxa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0.0,g=0,h=0,i=0,l=0,m=0,n=0,p=0,q=0,r=0;e=(k[c+27856>>2]|0)+(k[c+27864>>2]|0)|0;if(k[c+9288>>2]|0)Pxa(a,b,c+9292|0);if(!b){h=(k[c+9272>>2]|0)+15&15;k[c+9272>>2]=h;g=c+9248|0}else{h=k[c+9272>>2]|0;g=c+9256|0;e=e+2|0}b=k[g+4>>2]|0;if(!(h&1)){Oxa((k[g>>2]|0)+(h<<2)|0,b+(h<<2)+4|0,a);n=b;h=h+1|0}else{n=k[g>>2]|0;Oxa(b+((h+1&15)<<2)|0,n+(h<<2)|0,a)}q=k[c+9284>>2]|0;p=e+64|0;m=q+(528-h<<2)|0;r=496-h|0;g=n;b=0;a=16;i=e;l=q+64+(0-h<<2)|0;while(1){f=+o[g+8>>2]*+o[l+8>>2]+ +o[g>>2]*+o[l>>2]+ +o[g+16>>2]*+o[l+16>>2]+ +o[g+24>>2]*+o[l+24>>2]+ +o[g+32>>2]*+o[l+32>>2]+ +o[g+40>>2]*+o[l+40>>2]+ +o[g+48>>2]*+o[l+48>>2]+ +o[g+56>>2]*+o[l+56>>2]-(+o[g+12>>2]*+o[l+12>>2]+ +o[g+4>>2]*+o[l+4>>2])-(+o[g+28>>2]*+o[l+28>>2]+ +o[g+20>>2]*+o[l+20>>2])-(+o[g+44>>2]*+o[l+44>>2]+ +o[g+36>>2]*+o[l+36>>2])-(+o[g+60>>2]*+o[l+60>>2]+ +o[g+52>>2]*+o[l+52>>2]);g=g+64|0;do if(f>32767.0){j[i>>1]=32767;b=b+1|0}else if(f<-32768.0){j[i>>1]=-32768;b=b+1|0;break}else{j[i>>1]=~~f;break}while(0);a=a+-1|0;if(!a)break;else{i=i+4|0;l=l+128|0}}a=n+1024|0;l=n+960|0;f=+o[n+1032>>2]*+o[q+(r<<2)+136>>2]+ +o[a>>2]*+o[m>>2]+ +o[n+1040>>2]*+o[q+(r<<2)+144>>2]+ +o[n+1048>>2]*+o[q+(r<<2)+152>>2]+ +o[n+1056>>2]*+o[q+(r<<2)+160>>2]+ +o[n+1064>>2]*+o[q+(r<<2)+168>>2]+ +o[n+1072>>2]*+o[q+(r<<2)+176>>2]+ +o[n+1080>>2]*+o[q+(r<<2)+184>>2];do if(f>32767.0){j[p>>1]=32767;b=b+1|0}else if(f<-32768.0){j[p>>1]=-32768;b=b+1|0;break}else{j[p>>1]=~~f;break}while(0);i=15;g=e+68|0;e=q+(r<<2)+(h<<1<<2)|0;while(1){f=-(+o[a+-56>>2]*+o[e+-12>>2]+ +o[a+-60>>2]*+o[e+-8>>2])-(+o[a+-48>>2]*+o[e+-20>>2]+ +o[a+-52>>2]*+o[e+-16>>2])-(+o[a+-40>>2]*+o[e+-28>>2]+ +o[a+-44>>2]*+o[e+-24>>2])-(+o[a+-32>>2]*+o[e+-36>>2]+ +o[a+-36>>2]*+o[e+-32>>2])-(+o[a+-24>>2]*+o[e+-44>>2]+ +o[a+-28>>2]*+o[e+-40>>2])-(+o[a+-16>>2]*+o[e+-52>>2]+ +o[a+-20>>2]*+o[e+-48>>2])-(+o[a+-8>>2]*+o[e+-60>>2]+ +o[a+-12>>2]*+o[e+-56>>2])-(+o[a+-4>>2]*+o[e+-64>>2]+ +o[l>>2]*+o[e+-4>>2]);do if(f>32767.0){j[g>>1]=32767;b=b+1|0}else if(f<-32768.0){j[g>>1]=-32768;b=b+1|0;break}else{j[g>>1]=~~f;break}while(0);i=i+-1|0;if(!i)break;else{a=l;l=l+-64|0;g=g+4|0;e=e+-128|0}}if(!d)return b|0;k[c+27864>>2]=(k[c+27864>>2]|0)+128;return b|0}function Txa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0.0,j=0,l=0,m=0,n=0,p=0,q=0,r=0;e=(k[c+27856>>2]|0)+(k[c+27864>>2]|0)|0;if(k[c+9288>>2]|0)Pxa(a,b,c+9292|0);if(!b){g=(k[c+9272>>2]|0)+15&15;k[c+9272>>2]=g;f=c+9248|0}else{g=k[c+9272>>2]|0;f=c+9256|0;e=e+1|0}b=k[f+4>>2]|0;if(!(g&1)){Oxa((k[f>>2]|0)+(g<<2)|0,b+(g<<2)+4|0,a);p=b;g=g+1|0}else{p=k[f>>2]|0;Oxa(b+((g+1&15)<<2)|0,p+(g<<2)|0,a)}q=k[c+9284>>2]|0;n=q+(528-g<<2)|0;r=496-g|0;a=p;b=0;j=16;l=e;m=q+64+(0-g<<2)|0;while(1){h=+o[a+8>>2]*+o[m+8>>2]+ +o[a>>2]*+o[m>>2]+ +o[a+16>>2]*+o[m+16>>2]+ +o[a+24>>2]*+o[m+24>>2]+ +o[a+32>>2]*+o[m+32>>2]+ +o[a+40>>2]*+o[m+40>>2]+ +o[a+48>>2]*+o[m+48>>2]+ +o[a+56>>2]*+o[m+56>>2]-(+o[a+12>>2]*+o[m+12>>2]+ +o[a+4>>2]*+o[m+4>>2])-(+o[a+28>>2]*+o[m+28>>2]+ +o[a+20>>2]*+o[m+20>>2])-(+o[a+44>>2]*+o[m+44>>2]+ +o[a+36>>2]*+o[m+36>>2])-(+o[a+60>>2]*+o[m+60>>2]+ +o[a+52>>2]*+o[m+52>>2]);a=a+64|0;do if(h>32767.0){b=b+1|0;f=32767}else if(h<-32768.0){b=b+1|0;f=-32768;break}else{f=~~h;break}while(0);i[l>>0]=i[(k[c+9592>>2]|0)+(f<<16>>16>>3)>>0]|0;j=j+-1|0;if(!j)break;else{l=l+2|0;m=m+128|0}}j=e+32|0;a=p+1024|0;m=p+960|0;h=+o[p+1032>>2]*+o[q+(r<<2)+136>>2]+ +o[a>>2]*+o[n>>2]+ +o[p+1040>>2]*+o[q+(r<<2)+144>>2]+ +o[p+1048>>2]*+o[q+(r<<2)+152>>2]+ +o[p+1056>>2]*+o[q+(r<<2)+160>>2]+ +o[p+1064>>2]*+o[q+(r<<2)+168>>2]+ +o[p+1072>>2]*+o[q+(r<<2)+176>>2]+ +o[p+1080>>2]*+o[q+(r<<2)+184>>2];do if(h>32767.0){b=b+1|0;f=32767}else if(h<-32768.0){b=b+1|0;f=-32768;break}else{f=~~h;break}while(0);i[j>>0]=i[(k[c+9592>>2]|0)+(f<<16>>16>>3)>>0]|0;l=15;j=e+34|0;f=q+(r<<2)+(g<<1<<2)|0;while(1){h=-(+o[a+-56>>2]*+o[f+-12>>2]+ +o[a+-60>>2]*+o[f+-8>>2])-(+o[a+-48>>2]*+o[f+-20>>2]+ +o[a+-52>>2]*+o[f+-16>>2])-(+o[a+-40>>2]*+o[f+-28>>2]+ +o[a+-44>>2]*+o[f+-24>>2])-(+o[a+-32>>2]*+o[f+-36>>2]+ +o[a+-36>>2]*+o[f+-32>>2])-(+o[a+-24>>2]*+o[f+-44>>2]+ +o[a+-28>>2]*+o[f+-40>>2])-(+o[a+-16>>2]*+o[f+-52>>2]+ +o[a+-20>>2]*+o[f+-48>>2])-(+o[a+-8>>2]*+o[f+-60>>2]+ +o[a+-12>>2]*+o[f+-56>>2])-(+o[a+-4>>2]*+o[f+-64>>2]+ +o[m>>2]*+o[f+-4>>2]);do if(h>32767.0){b=b+1|0;e=32767}else if(h<-32768.0){b=b+1|0;e=-32768;break}else{e=~~h;break}while(0);i[j>>0]=i[(k[c+9592>>2]|0)+(e<<16>>16>>3)>>0]|0;l=l+-1|0;if(!l)break;else{a=m;m=m+-64|0;j=j+2|0;f=f+-128|0}}if(!d)return b|0;k[c+27864>>2]=(k[c+27864>>2]|0)+64;return b|0}function Uxa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0;e=(k[c+27856>>2]|0)+(k[c+27864>>2]|0)|0;if(k[c+9288>>2]|0)Pxa(a,b,c+9292|0);if(!b){g=(k[c+9272>>2]|0)+15&15;k[c+9272>>2]=g;f=c+9248|0}else{g=k[c+9272>>2]|0;f=c+9256|0;e=e+4|0}b=k[f+4>>2]|0;if(!(g&1)){Oxa((k[f>>2]|0)+(g<<2)|0,b+(g<<2)+4|0,a);g=g+1|0}else{m=k[f>>2]|0;Oxa(b+((g+1&15)<<2)|0,m+(g<<2)|0,a);b=m}l=k[c+9284>>2]|0;i=e+128|0;j=l+(528-g<<2)|0;m=l+(496-g<<2)|0;f=b;a=16;h=e;l=l+64+(0-g<<2)|0;while(1){o[h>>2]=(+o[f+8>>2]*+o[l+8>>2]+ +o[f>>2]*+o[l>>2]+ +o[f+16>>2]*+o[l+16>>2]+ +o[f+24>>2]*+o[l+24>>2]+ +o[f+32>>2]*+o[l+32>>2]+ +o[f+40>>2]*+o[l+40>>2]+ +o[f+48>>2]*+o[l+48>>2]+ +o[f+56>>2]*+o[l+56>>2]-(+o[f+12>>2]*+o[l+12>>2]+ +o[f+4>>2]*+o[l+4>>2])-(+o[f+28>>2]*+o[l+28>>2]+ +o[f+20>>2]*+o[l+20>>2])-(+o[f+44>>2]*+o[l+44>>2]+ +o[f+36>>2]*+o[l+36>>2])-(+o[f+60>>2]*+o[l+60>>2]+ +o[f+52>>2]*+o[l+52>>2]))*.000030517578125;a=a+-1|0;if(!a)break;else{f=f+64|0;h=h+8|0;l=l+128|0}}h=b+1024|0;o[i>>2]=(+o[b+1032>>2]*+o[m+136>>2]+ +o[h>>2]*+o[j>>2]+ +o[b+1040>>2]*+o[m+144>>2]+ +o[b+1048>>2]*+o[m+152>>2]+ +o[b+1056>>2]*+o[m+160>>2]+ +o[b+1064>>2]*+o[m+168>>2]+ +o[b+1072>>2]*+o[m+176>>2]+ +o[b+1080>>2]*+o[m+184>>2])*.000030517578125;f=b+960|0;a=15;e=e+136|0;b=m+(g<<1<<2)|0;while(1){o[e>>2]=(-(+o[h+-56>>2]*+o[b+-12>>2]+ +o[h+-60>>2]*+o[b+-8>>2])-(+o[h+-48>>2]*+o[b+-20>>2]+ +o[h+-52>>2]*+o[b+-16>>2])-(+o[h+-40>>2]*+o[b+-28>>2]+ +o[h+-44>>2]*+o[b+-24>>2])-(+o[h+-32>>2]*+o[b+-36>>2]+ +o[h+-36>>2]*+o[b+-32>>2])-(+o[h+-24>>2]*+o[b+-44>>2]+ +o[h+-28>>2]*+o[b+-40>>2])-(+o[h+-16>>2]*+o[b+-52>>2]+ +o[h+-20>>2]*+o[b+-48>>2])-(+o[h+-8>>2]*+o[b+-60>>2]+ +o[h+-12>>2]*+o[b+-56>>2])-(+o[h+-4>>2]*+o[b+-64>>2]+ +o[f>>2]*+o[b+-4>>2]))*.000030517578125;a=a+-1|0;if(!a)break;else{h=f;f=f+-64|0;e=e+8|0;b=b+-128|0}}if(!d)return 0;k[c+27864>>2]=(k[c+27864>>2]|0)+256;return 0}function Vxa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0.0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,p=0;e=(k[c+27856>>2]|0)+(k[c+27864>>2]|0)|0;if(k[c+9288>>2]|0)Pxa(a,b,c+9292|0);if(!b){h=(k[c+9272>>2]|0)+15&15;k[c+9272>>2]=h;g=c+9248|0}else{h=k[c+9272>>2]|0;g=c+9256|0;e=e+4|0}b=k[g+4>>2]|0;if(!(h&1)){Oxa((k[g>>2]|0)+(h<<2)|0,b+(h<<2)+4|0,a);m=b;h=h+1|0}else{m=k[g>>2]|0;Oxa(b+((h+1&15)<<2)|0,m+(h<<2)|0,a)}j=k[c+9284>>2]|0;n=e+128|0;l=j+(528-h<<2)|0;p=j+(496-h<<2)|0;g=m;b=0;a=16;i=e;j=j+64+(0-h<<2)|0;while(1){f=(+o[g+8>>2]*+o[j+8>>2]+ +o[g>>2]*+o[j>>2]+ +o[g+16>>2]*+o[j+16>>2]+ +o[g+24>>2]*+o[j+24>>2]+ +o[g+32>>2]*+o[j+32>>2]+ +o[g+40>>2]*+o[j+40>>2]+ +o[g+48>>2]*+o[j+48>>2]+ +o[g+56>>2]*+o[j+56>>2]-(+o[g+12>>2]*+o[j+12>>2]+ +o[g+4>>2]*+o[j+4>>2])-(+o[g+28>>2]*+o[j+28>>2]+ +o[g+20>>2]*+o[j+20>>2])-(+o[g+44>>2]*+o[j+44>>2]+ +o[g+36>>2]*+o[j+36>>2])-(+o[g+60>>2]*+o[j+60>>2]+ +o[g+52>>2]*+o[j+52>>2]))*65536.0;g=g+64|0;do if(f>2147483647.0){k[i>>2]=2147483647;b=b+1|0}else if(f<-2147483648.0){k[i>>2]=-2147483648;b=b+1|0;break}else{k[i>>2]=~~f;break}while(0);a=a+-1|0;if(!a)break;else{i=i+8|0;j=j+128|0}}a=m+1024|0;j=m+960|0;f=(+o[m+1032>>2]*+o[p+136>>2]+ +o[a>>2]*+o[l>>2]+ +o[m+1040>>2]*+o[p+144>>2]+ +o[m+1048>>2]*+o[p+152>>2]+ +o[m+1056>>2]*+o[p+160>>2]+ +o[m+1064>>2]*+o[p+168>>2]+ +o[m+1072>>2]*+o[p+176>>2]+ +o[m+1080>>2]*+o[p+184>>2])*65536.0;do if(f>2147483647.0){k[n>>2]=2147483647;b=b+1|0}else if(f<-2147483648.0){k[n>>2]=-2147483648;b=b+1|0;break}else{k[n>>2]=~~f;break}while(0);i=15;g=e+136|0;e=p+(h<<1<<2)|0;while(1){f=(-(+o[a+-56>>2]*+o[e+-12>>2]+ +o[a+-60>>2]*+o[e+-8>>2])-(+o[a+-48>>2]*+o[e+-20>>2]+ +o[a+-52>>2]*+o[e+-16>>2])-(+o[a+-40>>2]*+o[e+-28>>2]+ +o[a+-44>>2]*+o[e+-24>>2])-(+o[a+-32>>2]*+o[e+-36>>2]+ +o[a+-36>>2]*+o[e+-32>>2])-(+o[a+-24>>2]*+o[e+-44>>2]+ +o[a+-28>>2]*+o[e+-40>>2])-(+o[a+-16>>2]*+o[e+-52>>2]+ +o[a+-20>>2]*+o[e+-48>>2])-(+o[a+-8>>2]*+o[e+-60>>2]+ +o[a+-12>>2]*+o[e+-56>>2])-(+o[a+-4>>2]*+o[e+-64>>2]+ +o[j>>2]*+o[e+-4>>2]))*65536.0;do if(f>2147483647.0){k[g>>2]=2147483647;b=b+1|0}else if(f<-2147483648.0){k[g>>2]=-2147483648;b=b+1|0;break}else{k[g>>2]=~~f;break}while(0);i=i+-1|0;if(!i)break;else{a=j;j=j+-64|0;g=g+8|0;e=e+-128|0}}if(!d)return b|0;k[c+27864>>2]=(k[c+27864>>2]|0)+256;return b|0}function Wxa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0.0,g=0,h=0,i=0,l=0,m=0,n=0,p=0,q=0,r=0;e=(k[c+27856>>2]|0)+(k[c+27864>>2]|0)|0;if(k[c+9288>>2]|0)Pxa(a,b,c+9292|0);if(!b){h=(k[c+9272>>2]|0)+15&15;k[c+9272>>2]=h;g=c+9248|0}else{h=k[c+9272>>2]|0;g=c+9256|0;e=e+2|0}b=k[g+4>>2]|0;if(!(h&1)){Oxa((k[g>>2]|0)+(h<<2)|0,b+(h<<2)+4|0,a);n=b;h=h+1|0}else{n=k[g>>2]|0;Oxa(b+((h+1&15)<<2)|0,n+(h<<2)|0,a)}q=k[c+9284>>2]|0;p=e+32|0;m=q+(528-h<<2)|0;r=464-h|0;g=n;b=0;a=8;i=e;l=q+64+(0-h<<2)|0;while(1){f=+o[g+8>>2]*+o[l+8>>2]+ +o[g>>2]*+o[l>>2]+ +o[g+16>>2]*+o[l+16>>2]+ +o[g+24>>2]*+o[l+24>>2]+ +o[g+32>>2]*+o[l+32>>2]+ +o[g+40>>2]*+o[l+40>>2]+ +o[g+48>>2]*+o[l+48>>2]+ +o[g+56>>2]*+o[l+56>>2]-(+o[g+12>>2]*+o[l+12>>2]+ +o[g+4>>2]*+o[l+4>>2])-(+o[g+28>>2]*+o[l+28>>2]+ +o[g+20>>2]*+o[l+20>>2])-(+o[g+44>>2]*+o[l+44>>2]+ +o[g+36>>2]*+o[l+36>>2])-(+o[g+60>>2]*+o[l+60>>2]+ +o[g+52>>2]*+o[l+52>>2]);do if(f>32767.0){j[i>>1]=32767;b=b+1|0}else if(f<-32768.0){j[i>>1]=-32768;b=b+1|0;break}else{j[i>>1]=~~f;break}while(0);a=a+-1|0;if(!a)break;else{g=g+128|0;i=i+4|0;l=l+256|0}}a=n+1024|0;l=n+896|0;f=+o[n+1032>>2]*+o[q+(r<<2)+264>>2]+ +o[a>>2]*+o[m>>2]+ +o[n+1040>>2]*+o[q+(r<<2)+272>>2]+ +o[n+1048>>2]*+o[q+(r<<2)+280>>2]+ +o[n+1056>>2]*+o[q+(r<<2)+288>>2]+ +o[n+1064>>2]*+o[q+(r<<2)+296>>2]+ +o[n+1072>>2]*+o[q+(r<<2)+304>>2]+ +o[n+1080>>2]*+o[q+(r<<2)+312>>2];do if(f>32767.0){j[p>>1]=32767;b=b+1|0}else if(f<-32768.0){j[p>>1]=-32768;b=b+1|0;break}else{j[p>>1]=~~f;break}while(0);i=7;g=e+36|0;e=q+(r<<2)+(h<<1<<2)|0;while(1){f=-(+o[a+-120>>2]*+o[e+-12>>2]+ +o[a+-124>>2]*+o[e+-8>>2])-(+o[a+-112>>2]*+o[e+-20>>2]+ +o[a+-116>>2]*+o[e+-16>>2])-(+o[a+-104>>2]*+o[e+-28>>2]+ +o[a+-108>>2]*+o[e+-24>>2])-(+o[a+-96>>2]*+o[e+-36>>2]+ +o[a+-100>>2]*+o[e+-32>>2])-(+o[a+-88>>2]*+o[e+-44>>2]+ +o[a+-92>>2]*+o[e+-40>>2])-(+o[a+-80>>2]*+o[e+-52>>2]+ +o[a+-84>>2]*+o[e+-48>>2])-(+o[a+-72>>2]*+o[e+-60>>2]+ +o[a+-76>>2]*+o[e+-56>>2])-(+o[a+-68>>2]*+o[e+-64>>2]+ +o[l>>2]*+o[e+-4>>2]);do if(f>32767.0){j[g>>1]=32767;b=b+1|0}else if(f<-32768.0){j[g>>1]=-32768;b=b+1|0;break}else{j[g>>1]=~~f;break}while(0);i=i+-1|0;if(!i)break;else{a=l;l=l+-128|0;g=g+4|0;e=e+-256|0}}if(!d)return b|0;k[c+27864>>2]=(k[c+27864>>2]|0)+64;return b|0}function Xxa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0.0,j=0,l=0,m=0,n=0,p=0,q=0,r=0;e=(k[c+27856>>2]|0)+(k[c+27864>>2]|0)|0;if(k[c+9288>>2]|0)Pxa(a,b,c+9292|0);if(!b){g=(k[c+9272>>2]|0)+15&15;k[c+9272>>2]=g;f=c+9248|0}else{g=k[c+9272>>2]|0;f=c+9256|0;e=e+1|0}b=k[f+4>>2]|0;if(!(g&1)){Oxa((k[f>>2]|0)+(g<<2)|0,b+(g<<2)+4|0,a);p=b;g=g+1|0}else{p=k[f>>2]|0;Oxa(b+((g+1&15)<<2)|0,p+(g<<2)|0,a)}q=k[c+9284>>2]|0;n=q+(528-g<<2)|0;r=464-g|0;a=p;b=0;j=8;l=e;m=q+64+(0-g<<2)|0;while(1){h=+o[a+8>>2]*+o[m+8>>2]+ +o[a>>2]*+o[m>>2]+ +o[a+16>>2]*+o[m+16>>2]+ +o[a+24>>2]*+o[m+24>>2]+ +o[a+32>>2]*+o[m+32>>2]+ +o[a+40>>2]*+o[m+40>>2]+ +o[a+48>>2]*+o[m+48>>2]+ +o[a+56>>2]*+o[m+56>>2]-(+o[a+12>>2]*+o[m+12>>2]+ +o[a+4>>2]*+o[m+4>>2])-(+o[a+28>>2]*+o[m+28>>2]+ +o[a+20>>2]*+o[m+20>>2])-(+o[a+44>>2]*+o[m+44>>2]+ +o[a+36>>2]*+o[m+36>>2])-(+o[a+60>>2]*+o[m+60>>2]+ +o[a+52>>2]*+o[m+52>>2]);do if(h>32767.0){b=b+1|0;f=32767}else if(h<-32768.0){b=b+1|0;f=-32768;break}else{f=~~h;break}while(0);i[l>>0]=i[(k[c+9592>>2]|0)+(f<<16>>16>>3)>>0]|0;j=j+-1|0;if(!j)break;else{a=a+128|0;l=l+2|0;m=m+256|0}}j=e+16|0;a=p+1024|0;m=p+896|0;h=+o[p+1032>>2]*+o[q+(r<<2)+264>>2]+ +o[a>>2]*+o[n>>2]+ +o[p+1040>>2]*+o[q+(r<<2)+272>>2]+ +o[p+1048>>2]*+o[q+(r<<2)+280>>2]+ +o[p+1056>>2]*+o[q+(r<<2)+288>>2]+ +o[p+1064>>2]*+o[q+(r<<2)+296>>2]+ +o[p+1072>>2]*+o[q+(r<<2)+304>>2]+ +o[p+1080>>2]*+o[q+(r<<2)+312>>2];do if(h>32767.0){b=b+1|0;f=32767}else if(h<-32768.0){b=b+1|0;f=-32768;break}else{f=~~h;break}while(0);i[j>>0]=i[(k[c+9592>>2]|0)+(f<<16>>16>>3)>>0]|0;l=7;j=e+18|0;f=q+(r<<2)+(g<<1<<2)|0;while(1){h=-(+o[a+-120>>2]*+o[f+-12>>2]+ +o[a+-124>>2]*+o[f+-8>>2])-(+o[a+-112>>2]*+o[f+-20>>2]+ +o[a+-116>>2]*+o[f+-16>>2])-(+o[a+-104>>2]*+o[f+-28>>2]+ +o[a+-108>>2]*+o[f+-24>>2])-(+o[a+-96>>2]*+o[f+-36>>2]+ +o[a+-100>>2]*+o[f+-32>>2])-(+o[a+-88>>2]*+o[f+-44>>2]+ +o[a+-92>>2]*+o[f+-40>>2])-(+o[a+-80>>2]*+o[f+-52>>2]+ +o[a+-84>>2]*+o[f+-48>>2])-(+o[a+-72>>2]*+o[f+-60>>2]+ +o[a+-76>>2]*+o[f+-56>>2])-(+o[a+-68>>2]*+o[f+-64>>2]+ +o[m>>2]*+o[f+-4>>2]);do if(h>32767.0){b=b+1|0;e=32767}else if(h<-32768.0){b=b+1|0;e=-32768;break}else{e=~~h;break}while(0);i[j>>0]=i[(k[c+9592>>2]|0)+(e<<16>>16>>3)>>0]|0;l=l+-1|0;if(!l)break;else{a=m;m=m+-128|0;j=j+2|0;f=f+-256|0}}if(!d)return b|0;k[c+27864>>2]=(k[c+27864>>2]|0)+32;return b|0}function Yxa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0;e=(k[c+27856>>2]|0)+(k[c+27864>>2]|0)|0;if(k[c+9288>>2]|0)Pxa(a,b,c+9292|0);if(!b){g=(k[c+9272>>2]|0)+15&15;k[c+9272>>2]=g;f=c+9248|0}else{g=k[c+9272>>2]|0;f=c+9256|0;e=e+4|0}b=k[f+4>>2]|0;if(!(g&1)){Oxa((k[f>>2]|0)+(g<<2)|0,b+(g<<2)+4|0,a);g=g+1|0}else{m=k[f>>2]|0;Oxa(b+((g+1&15)<<2)|0,m+(g<<2)|0,a);b=m}l=k[c+9284>>2]|0;i=e+64|0;j=l+(528-g<<2)|0;m=l+(464-g<<2)|0;f=b;a=8;h=e;l=l+64+(0-g<<2)|0;while(1){o[h>>2]=(+o[f+8>>2]*+o[l+8>>2]+ +o[f>>2]*+o[l>>2]+ +o[f+16>>2]*+o[l+16>>2]+ +o[f+24>>2]*+o[l+24>>2]+ +o[f+32>>2]*+o[l+32>>2]+ +o[f+40>>2]*+o[l+40>>2]+ +o[f+48>>2]*+o[l+48>>2]+ +o[f+56>>2]*+o[l+56>>2]-(+o[f+12>>2]*+o[l+12>>2]+ +o[f+4>>2]*+o[l+4>>2])-(+o[f+28>>2]*+o[l+28>>2]+ +o[f+20>>2]*+o[l+20>>2])-(+o[f+44>>2]*+o[l+44>>2]+ +o[f+36>>2]*+o[l+36>>2])-(+o[f+60>>2]*+o[l+60>>2]+ +o[f+52>>2]*+o[l+52>>2]))*.000030517578125;a=a+-1|0;if(!a)break;else{f=f+128|0;h=h+8|0;l=l+256|0}}h=b+1024|0;o[i>>2]=(+o[b+1032>>2]*+o[m+264>>2]+ +o[h>>2]*+o[j>>2]+ +o[b+1040>>2]*+o[m+272>>2]+ +o[b+1048>>2]*+o[m+280>>2]+ +o[b+1056>>2]*+o[m+288>>2]+ +o[b+1064>>2]*+o[m+296>>2]+ +o[b+1072>>2]*+o[m+304>>2]+ +o[b+1080>>2]*+o[m+312>>2])*.000030517578125;f=b+896|0;a=7;e=e+72|0;b=m+(g<<1<<2)|0;while(1){o[e>>2]=(-(+o[h+-120>>2]*+o[b+-12>>2]+ +o[h+-124>>2]*+o[b+-8>>2])-(+o[h+-112>>2]*+o[b+-20>>2]+ +o[h+-116>>2]*+o[b+-16>>2])-(+o[h+-104>>2]*+o[b+-28>>2]+ +o[h+-108>>2]*+o[b+-24>>2])-(+o[h+-96>>2]*+o[b+-36>>2]+ +o[h+-100>>2]*+o[b+-32>>2])-(+o[h+-88>>2]*+o[b+-44>>2]+ +o[h+-92>>2]*+o[b+-40>>2])-(+o[h+-80>>2]*+o[b+-52>>2]+ +o[h+-84>>2]*+o[b+-48>>2])-(+o[h+-72>>2]*+o[b+-60>>2]+ +o[h+-76>>2]*+o[b+-56>>2])-(+o[h+-68>>2]*+o[b+-64>>2]+ +o[f>>2]*+o[b+-4>>2]))*.000030517578125;a=a+-1|0;if(!a)break;else{h=f;f=f+-128|0;e=e+8|0;b=b+-256|0}}if(!d)return 0;k[c+27864>>2]=(k[c+27864>>2]|0)+128;return 0}function Zxa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0.0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,p=0;e=(k[c+27856>>2]|0)+(k[c+27864>>2]|0)|0;if(k[c+9288>>2]|0)Pxa(a,b,c+9292|0);if(!b){h=(k[c+9272>>2]|0)+15&15;k[c+9272>>2]=h;g=c+9248|0}else{h=k[c+9272>>2]|0;g=c+9256|0;e=e+4|0}b=k[g+4>>2]|0;if(!(h&1)){Oxa((k[g>>2]|0)+(h<<2)|0,b+(h<<2)+4|0,a);m=b;h=h+1|0}else{m=k[g>>2]|0;Oxa(b+((h+1&15)<<2)|0,m+(h<<2)|0,a)}j=k[c+9284>>2]|0;n=e+64|0;l=j+(528-h<<2)|0;p=j+(464-h<<2)|0;g=m;b=0;a=8;i=e;j=j+64+(0-h<<2)|0;while(1){f=(+o[g+8>>2]*+o[j+8>>2]+ +o[g>>2]*+o[j>>2]+ +o[g+16>>2]*+o[j+16>>2]+ +o[g+24>>2]*+o[j+24>>2]+ +o[g+32>>2]*+o[j+32>>2]+ +o[g+40>>2]*+o[j+40>>2]+ +o[g+48>>2]*+o[j+48>>2]+ +o[g+56>>2]*+o[j+56>>2]-(+o[g+12>>2]*+o[j+12>>2]+ +o[g+4>>2]*+o[j+4>>2])-(+o[g+28>>2]*+o[j+28>>2]+ +o[g+20>>2]*+o[j+20>>2])-(+o[g+44>>2]*+o[j+44>>2]+ +o[g+36>>2]*+o[j+36>>2])-(+o[g+60>>2]*+o[j+60>>2]+ +o[g+52>>2]*+o[j+52>>2]))*65536.0;do if(f>2147483647.0){k[i>>2]=2147483647;b=b+1|0}else if(f<-2147483648.0){k[i>>2]=-2147483648;b=b+1|0;break}else{k[i>>2]=~~f;break}while(0);a=a+-1|0;if(!a)break;else{g=g+128|0;i=i+8|0;j=j+256|0}}a=m+1024|0;j=m+896|0;f=(+o[m+1032>>2]*+o[p+264>>2]+ +o[a>>2]*+o[l>>2]+ +o[m+1040>>2]*+o[p+272>>2]+ +o[m+1048>>2]*+o[p+280>>2]+ +o[m+1056>>2]*+o[p+288>>2]+ +o[m+1064>>2]*+o[p+296>>2]+ +o[m+1072>>2]*+o[p+304>>2]+ +o[m+1080>>2]*+o[p+312>>2])*65536.0;do if(f>2147483647.0){k[n>>2]=2147483647;b=b+1|0}else if(f<-2147483648.0){k[n>>2]=-2147483648;b=b+1|0;break}else{k[n>>2]=~~f;break}while(0);i=7;g=e+72|0;e=p+(h<<1<<2)|0;while(1){f=(-(+o[a+-120>>2]*+o[e+-12>>2]+ +o[a+-124>>2]*+o[e+-8>>2])-(+o[a+-112>>2]*+o[e+-20>>2]+ +o[a+-116>>2]*+o[e+-16>>2])-(+o[a+-104>>2]*+o[e+-28>>2]+ +o[a+-108>>2]*+o[e+-24>>2])-(+o[a+-96>>2]*+o[e+-36>>2]+ +o[a+-100>>2]*+o[e+-32>>2])-(+o[a+-88>>2]*+o[e+-44>>2]+ +o[a+-92>>2]*+o[e+-40>>2])-(+o[a+-80>>2]*+o[e+-52>>2]+ +o[a+-84>>2]*+o[e+-48>>2])-(+o[a+-72>>2]*+o[e+-60>>2]+ +o[a+-76>>2]*+o[e+-56>>2])-(+o[a+-68>>2]*+o[e+-64>>2]+ +o[j>>2]*+o[e+-4>>2]))*65536.0;do if(f>2147483647.0){k[g>>2]=2147483647;b=b+1|0}else if(f<-2147483648.0){k[g>>2]=-2147483648;b=b+1|0;break}else{k[g>>2]=~~f;break}while(0);i=i+-1|0;if(!i)break;else{a=j;j=j+-128|0;g=g+8|0;e=e+-256|0}}if(!d)return b|0;k[c+27864>>2]=(k[c+27864>>2]|0)+128;return b|0}function _xa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0.0,g=0,h=0,i=0,l=0,m=0,n=0,p=0,q=0,r=0;e=(k[c+27856>>2]|0)+(k[c+27864>>2]|0)|0;if(k[c+9288>>2]|0)Pxa(a,b,c+9292|0);if(!b){h=(k[c+9272>>2]|0)+15&15;k[c+9272>>2]=h;g=c+9248|0}else{h=k[c+9272>>2]|0;g=c+9256|0;e=e+2|0}b=k[g+4>>2]|0;if(!(h&1)){Oxa((k[g>>2]|0)+(h<<2)|0,b+(h<<2)+4|0,a);n=b;h=h+1|0}else{n=k[g>>2]|0;Oxa(b+((h+1&15)<<2)|0,n+(h<<2)|0,a)}q=k[c+9284>>2]|0;p=e+16|0;m=q+(528-h<<2)|0;r=400-h|0;g=n;b=0;a=4;i=e;l=q+64+(0-h<<2)|0;while(1){f=+o[g+8>>2]*+o[l+8>>2]+ +o[g>>2]*+o[l>>2]+ +o[g+16>>2]*+o[l+16>>2]+ +o[g+24>>2]*+o[l+24>>2]+ +o[g+32>>2]*+o[l+32>>2]+ +o[g+40>>2]*+o[l+40>>2]+ +o[g+48>>2]*+o[l+48>>2]+ +o[g+56>>2]*+o[l+56>>2]-(+o[g+12>>2]*+o[l+12>>2]+ +o[g+4>>2]*+o[l+4>>2])-(+o[g+28>>2]*+o[l+28>>2]+ +o[g+20>>2]*+o[l+20>>2])-(+o[g+44>>2]*+o[l+44>>2]+ +o[g+36>>2]*+o[l+36>>2])-(+o[g+60>>2]*+o[l+60>>2]+ +o[g+52>>2]*+o[l+52>>2]);do if(f>32767.0){j[i>>1]=32767;b=b+1|0}else if(f<-32768.0){j[i>>1]=-32768;b=b+1|0;break}else{j[i>>1]=~~f;break}while(0);a=a+-1|0;if(!a)break;else{g=g+256|0;i=i+4|0;l=l+512|0}}a=n+1024|0;l=n+768|0;f=+o[n+1032>>2]*+o[q+(r<<2)+520>>2]+ +o[a>>2]*+o[m>>2]+ +o[n+1040>>2]*+o[q+(r<<2)+528>>2]+ +o[n+1048>>2]*+o[q+(r<<2)+536>>2]+ +o[n+1056>>2]*+o[q+(r<<2)+544>>2]+ +o[n+1064>>2]*+o[q+(r<<2)+552>>2]+ +o[n+1072>>2]*+o[q+(r<<2)+560>>2]+ +o[n+1080>>2]*+o[q+(r<<2)+568>>2];do if(f>32767.0){j[p>>1]=32767;b=b+1|0}else if(f<-32768.0){j[p>>1]=-32768;b=b+1|0;break}else{j[p>>1]=~~f;break}while(0);i=3;g=e+20|0;e=q+(r<<2)+(h<<1<<2)|0;while(1){f=-(+o[a+-248>>2]*+o[e+-12>>2]+ +o[a+-252>>2]*+o[e+-8>>2])-(+o[a+-240>>2]*+o[e+-20>>2]+ +o[a+-244>>2]*+o[e+-16>>2])-(+o[a+-232>>2]*+o[e+-28>>2]+ +o[a+-236>>2]*+o[e+-24>>2])-(+o[a+-224>>2]*+o[e+-36>>2]+ +o[a+-228>>2]*+o[e+-32>>2])-(+o[a+-216>>2]*+o[e+-44>>2]+ +o[a+-220>>2]*+o[e+-40>>2])-(+o[a+-208>>2]*+o[e+-52>>2]+ +o[a+-212>>2]*+o[e+-48>>2])-(+o[a+-200>>2]*+o[e+-60>>2]+ +o[a+-204>>2]*+o[e+-56>>2])-(+o[a+-196>>2]*+o[e+-64>>2]+ +o[l>>2]*+o[e+-4>>2]);do if(f>32767.0){j[g>>1]=32767;b=b+1|0}else if(f<-32768.0){j[g>>1]=-32768;b=b+1|0;break}else{j[g>>1]=~~f;break}while(0);i=i+-1|0;if(!i)break;else{a=l;l=l+-256|0;g=g+4|0;e=e+-512|0}}if(!d)return b|0;k[c+27864>>2]=(k[c+27864>>2]|0)+32;return b|0}function $xa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0.0,j=0,l=0,m=0,n=0,p=0,q=0,r=0;e=(k[c+27856>>2]|0)+(k[c+27864>>2]|0)|0;if(k[c+9288>>2]|0)Pxa(a,b,c+9292|0);if(!b){g=(k[c+9272>>2]|0)+15&15;k[c+9272>>2]=g;f=c+9248|0}else{g=k[c+9272>>2]|0;f=c+9256|0;e=e+1|0}b=k[f+4>>2]|0;if(!(g&1)){Oxa((k[f>>2]|0)+(g<<2)|0,b+(g<<2)+4|0,a);p=b;g=g+1|0}else{p=k[f>>2]|0;Oxa(b+((g+1&15)<<2)|0,p+(g<<2)|0,a)}q=k[c+9284>>2]|0;n=q+(528-g<<2)|0;r=400-g|0;a=p;b=0;j=4;l=e;m=q+64+(0-g<<2)|0;while(1){h=+o[a+8>>2]*+o[m+8>>2]+ +o[a>>2]*+o[m>>2]+ +o[a+16>>2]*+o[m+16>>2]+ +o[a+24>>2]*+o[m+24>>2]+ +o[a+32>>2]*+o[m+32>>2]+ +o[a+40>>2]*+o[m+40>>2]+ +o[a+48>>2]*+o[m+48>>2]+ +o[a+56>>2]*+o[m+56>>2]-(+o[a+12>>2]*+o[m+12>>2]+ +o[a+4>>2]*+o[m+4>>2])-(+o[a+28>>2]*+o[m+28>>2]+ +o[a+20>>2]*+o[m+20>>2])-(+o[a+44>>2]*+o[m+44>>2]+ +o[a+36>>2]*+o[m+36>>2])-(+o[a+60>>2]*+o[m+60>>2]+ +o[a+52>>2]*+o[m+52>>2]);do if(h>32767.0){b=b+1|0;f=32767}else if(h<-32768.0){b=b+1|0;f=-32768;break}else{f=~~h;break}while(0);i[l>>0]=i[(k[c+9592>>2]|0)+(f<<16>>16>>3)>>0]|0;j=j+-1|0;if(!j)break;else{a=a+256|0;l=l+2|0;m=m+512|0}}j=e+8|0;a=p+1024|0;m=p+768|0;h=+o[p+1032>>2]*+o[q+(r<<2)+520>>2]+ +o[a>>2]*+o[n>>2]+ +o[p+1040>>2]*+o[q+(r<<2)+528>>2]+ +o[p+1048>>2]*+o[q+(r<<2)+536>>2]+ +o[p+1056>>2]*+o[q+(r<<2)+544>>2]+ +o[p+1064>>2]*+o[q+(r<<2)+552>>2]+ +o[p+1072>>2]*+o[q+(r<<2)+560>>2]+ +o[p+1080>>2]*+o[q+(r<<2)+568>>2];do if(h>32767.0){b=b+1|0;f=32767}else if(h<-32768.0){b=b+1|0;f=-32768;break}else{f=~~h;break}while(0);i[j>>0]=i[(k[c+9592>>2]|0)+(f<<16>>16>>3)>>0]|0;l=3;j=e+10|0;f=q+(r<<2)+(g<<1<<2)|0;while(1){h=-(+o[a+-248>>2]*+o[f+-12>>2]+ +o[a+-252>>2]*+o[f+-8>>2])-(+o[a+-240>>2]*+o[f+-20>>2]+ +o[a+-244>>2]*+o[f+-16>>2])-(+o[a+-232>>2]*+o[f+-28>>2]+ +o[a+-236>>2]*+o[f+-24>>2])-(+o[a+-224>>2]*+o[f+-36>>2]+ +o[a+-228>>2]*+o[f+-32>>2])-(+o[a+-216>>2]*+o[f+-44>>2]+ +o[a+-220>>2]*+o[f+-40>>2])-(+o[a+-208>>2]*+o[f+-52>>2]+ +o[a+-212>>2]*+o[f+-48>>2])-(+o[a+-200>>2]*+o[f+-60>>2]+ +o[a+-204>>2]*+o[f+-56>>2])-(+o[a+-196>>2]*+o[f+-64>>2]+ +o[m>>2]*+o[f+-4>>2]);do if(h>32767.0){b=b+1|0;e=32767}else if(h<-32768.0){b=b+1|0;e=-32768;break}else{e=~~h;break}while(0);i[j>>0]=i[(k[c+9592>>2]|0)+(e<<16>>16>>3)>>0]|0;l=l+-1|0;if(!l)break;else{a=m;m=m+-256|0;j=j+2|0;f=f+-512|0}}if(!d)return b|0;k[c+27864>>2]=(k[c+27864>>2]|0)+16;return b|0}function aya(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0;e=(k[c+27856>>2]|0)+(k[c+27864>>2]|0)|0;if(k[c+9288>>2]|0)Pxa(a,b,c+9292|0);if(!b){g=(k[c+9272>>2]|0)+15&15;k[c+9272>>2]=g;f=c+9248|0}else{g=k[c+9272>>2]|0;f=c+9256|0;e=e+4|0}b=k[f+4>>2]|0;if(!(g&1)){Oxa((k[f>>2]|0)+(g<<2)|0,b+(g<<2)+4|0,a);g=g+1|0}else{m=k[f>>2]|0;Oxa(b+((g+1&15)<<2)|0,m+(g<<2)|0,a);b=m}l=k[c+9284>>2]|0;i=e+32|0;j=l+(528-g<<2)|0;m=l+(400-g<<2)|0;f=b;a=4;h=e;l=l+64+(0-g<<2)|0;while(1){o[h>>2]=(+o[f+8>>2]*+o[l+8>>2]+ +o[f>>2]*+o[l>>2]+ +o[f+16>>2]*+o[l+16>>2]+ +o[f+24>>2]*+o[l+24>>2]+ +o[f+32>>2]*+o[l+32>>2]+ +o[f+40>>2]*+o[l+40>>2]+ +o[f+48>>2]*+o[l+48>>2]+ +o[f+56>>2]*+o[l+56>>2]-(+o[f+12>>2]*+o[l+12>>2]+ +o[f+4>>2]*+o[l+4>>2])-(+o[f+28>>2]*+o[l+28>>2]+ +o[f+20>>2]*+o[l+20>>2])-(+o[f+44>>2]*+o[l+44>>2]+ +o[f+36>>2]*+o[l+36>>2])-(+o[f+60>>2]*+o[l+60>>2]+ +o[f+52>>2]*+o[l+52>>2]))*.000030517578125;a=a+-1|0;if(!a)break;else{f=f+256|0;h=h+8|0;l=l+512|0}}h=b+1024|0;o[i>>2]=(+o[b+1032>>2]*+o[m+520>>2]+ +o[h>>2]*+o[j>>2]+ +o[b+1040>>2]*+o[m+528>>2]+ +o[b+1048>>2]*+o[m+536>>2]+ +o[b+1056>>2]*+o[m+544>>2]+ +o[b+1064>>2]*+o[m+552>>2]+ +o[b+1072>>2]*+o[m+560>>2]+ +o[b+1080>>2]*+o[m+568>>2])*.000030517578125;f=b+768|0;a=3;e=e+40|0;b=m+(g<<1<<2)|0;while(1){o[e>>2]=(-(+o[h+-248>>2]*+o[b+-12>>2]+ +o[h+-252>>2]*+o[b+-8>>2])-(+o[h+-240>>2]*+o[b+-20>>2]+ +o[h+-244>>2]*+o[b+-16>>2])-(+o[h+-232>>2]*+o[b+-28>>2]+ +o[h+-236>>2]*+o[b+-24>>2])-(+o[h+-224>>2]*+o[b+-36>>2]+ +o[h+-228>>2]*+o[b+-32>>2])-(+o[h+-216>>2]*+o[b+-44>>2]+ +o[h+-220>>2]*+o[b+-40>>2])-(+o[h+-208>>2]*+o[b+-52>>2]+ +o[h+-212>>2]*+o[b+-48>>2])-(+o[h+-200>>2]*+o[b+-60>>2]+ +o[h+-204>>2]*+o[b+-56>>2])-(+o[h+-196>>2]*+o[b+-64>>2]+ +o[f>>2]*+o[b+-4>>2]))*.000030517578125;a=a+-1|0;if(!a)break;else{h=f;f=f+-256|0;e=e+8|0;b=b+-512|0}}if(!d)return 0;k[c+27864>>2]=(k[c+27864>>2]|0)+64;return 0}function bya(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0.0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,p=0;e=(k[c+27856>>2]|0)+(k[c+27864>>2]|0)|0;if(k[c+9288>>2]|0)Pxa(a,b,c+9292|0);if(!b){h=(k[c+9272>>2]|0)+15&15;k[c+9272>>2]=h;g=c+9248|0}else{h=k[c+9272>>2]|0;g=c+9256|0;e=e+4|0}b=k[g+4>>2]|0;if(!(h&1)){Oxa((k[g>>2]|0)+(h<<2)|0,b+(h<<2)+4|0,a);m=b;h=h+1|0}else{m=k[g>>2]|0;Oxa(b+((h+1&15)<<2)|0,m+(h<<2)|0,a)}j=k[c+9284>>2]|0;n=e+32|0;l=j+(528-h<<2)|0;p=j+(400-h<<2)|0;g=m;b=0;a=4;i=e;j=j+64+(0-h<<2)|0;while(1){f=(+o[g+8>>2]*+o[j+8>>2]+ +o[g>>2]*+o[j>>2]+ +o[g+16>>2]*+o[j+16>>2]+ +o[g+24>>2]*+o[j+24>>2]+ +o[g+32>>2]*+o[j+32>>2]+ +o[g+40>>2]*+o[j+40>>2]+ +o[g+48>>2]*+o[j+48>>2]+ +o[g+56>>2]*+o[j+56>>2]-(+o[g+12>>2]*+o[j+12>>2]+ +o[g+4>>2]*+o[j+4>>2])-(+o[g+28>>2]*+o[j+28>>2]+ +o[g+20>>2]*+o[j+20>>2])-(+o[g+44>>2]*+o[j+44>>2]+ +o[g+36>>2]*+o[j+36>>2])-(+o[g+60>>2]*+o[j+60>>2]+ +o[g+52>>2]*+o[j+52>>2]))*65536.0;do if(f>2147483647.0){k[i>>2]=2147483647;b=b+1|0}else if(f<-2147483648.0){k[i>>2]=-2147483648;b=b+1|0;break}else{k[i>>2]=~~f;break}while(0);a=a+-1|0;if(!a)break;else{g=g+256|0;i=i+8|0;j=j+512|0}}a=m+1024|0;j=m+768|0;f=(+o[m+1032>>2]*+o[p+520>>2]+ +o[a>>2]*+o[l>>2]+ +o[m+1040>>2]*+o[p+528>>2]+ +o[m+1048>>2]*+o[p+536>>2]+ +o[m+1056>>2]*+o[p+544>>2]+ +o[m+1064>>2]*+o[p+552>>2]+ +o[m+1072>>2]*+o[p+560>>2]+ +o[m+1080>>2]*+o[p+568>>2])*65536.0;do if(f>2147483647.0){k[n>>2]=2147483647;b=b+1|0}else if(f<-2147483648.0){k[n>>2]=-2147483648;b=b+1|0;break}else{k[n>>2]=~~f;break}while(0);i=3;g=e+40|0;e=p+(h<<1<<2)|0;while(1){f=(-(+o[a+-248>>2]*+o[e+-12>>2]+ +o[a+-252>>2]*+o[e+-8>>2])-(+o[a+-240>>2]*+o[e+-20>>2]+ +o[a+-244>>2]*+o[e+-16>>2])-(+o[a+-232>>2]*+o[e+-28>>2]+ +o[a+-236>>2]*+o[e+-24>>2])-(+o[a+-224>>2]*+o[e+-36>>2]+ +o[a+-228>>2]*+o[e+-32>>2])-(+o[a+-216>>2]*+o[e+-44>>2]+ +o[a+-220>>2]*+o[e+-40>>2])-(+o[a+-208>>2]*+o[e+-52>>2]+ +o[a+-212>>2]*+o[e+-48>>2])-(+o[a+-200>>2]*+o[e+-60>>2]+ +o[a+-204>>2]*+o[e+-56>>2])-(+o[a+-196>>2]*+o[e+-64>>2]+ +o[j>>2]*+o[e+-4>>2]))*65536.0;do if(f>2147483647.0){k[g>>2]=2147483647;b=b+1|0}else if(f<-2147483648.0){k[g>>2]=-2147483648;b=b+1|0;break}else{k[g>>2]=~~f;break}while(0);i=i+-1|0;if(!i)break;else{a=j;j=j+-256|0;g=g+8|0;e=e+-512|0}}if(!d)return b|0;k[c+27864>>2]=(k[c+27864>>2]|0)+64;return b|0}function cya(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0.0,l=0,m=0,n=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;e=(k[c+27856>>2]|0)+(k[c+27864>>2]|0)|0;if(k[c+9288>>2]|0)Pxa(a,b,c+9292|0);if(b|0){h=k[c+9272>>2]|0;g=c+9256|0;l=k[c+19356>>2]|0;e=e+2|0}else{h=(k[c+9272>>2]|0)+15&15;k[c+9272>>2]=h;l=k[c+19352>>2]|0;k[c+19356>>2]=l;g=c+9248|0}f=k[g+4>>2]|0;if(!(h&1)){Oxa((k[g>>2]|0)+(h<<2)|0,f+(h<<2)+4|0,a);h=h+1|0}else{w=k[g>>2]|0;Oxa(f+((h+1&15)<<2)|0,w+(h<<2)|0,a);f=w}v=k[c+9284>>2]|0;s=k[c+19360>>2]|0;t=528-h|0;u=f+1024|0;w=496-h|0;g=s+l|0;q=f;a=0;r=16;p=v+64+(0-h<<2)|0;while(1){do if((g|0)>=32768){i=+o[q+8>>2]*+o[p+8>>2]+ +o[q>>2]*+o[p>>2]+ +o[q+16>>2]*+o[p+16>>2]+ +o[q+24>>2]*+o[p+24>>2]+ +o[q+32>>2]*+o[p+32>>2]+ +o[q+40>>2]*+o[p+40>>2]+ +o[q+48>>2]*+o[p+48>>2]+ +o[q+56>>2]*+o[p+56>>2]-(+o[q+12>>2]*+o[p+12>>2]+ +o[q+4>>2]*+o[p+4>>2])-(+o[q+28>>2]*+o[p+28>>2]+ +o[q+20>>2]*+o[p+20>>2])-(+o[q+44>>2]*+o[p+44>>2]+ +o[q+36>>2]*+o[p+36>>2])-(+o[q+60>>2]*+o[p+60>>2]+ +o[q+52>>2]*+o[p+52>>2]);m=g+-32768|0;if(i>32767.0){l=a+1|0;if(i<-32768.0){a=g;g=e;while(1){j[g>>1]=32767;a=a+-32768|0;if((a|0)<=32767)break;else g=g+4|0}a=l+(m>>>15)|0;g=m-(m>>>15<<15)|0;e=e+4+(m>>>15<<1<<1)|0;break}else{a=g;g=e;while(1){j[g>>1]=32767;a=a+-32768|0;if((a|0)<=32767)break;else g=g+4|0}a=l+(m>>>15)|0;g=m-(m>>>15<<15)|0;e=e+4+(m>>>15<<1<<1)|0;break}}if(!(i<-32768.0)){l=e;while(1){j[l>>1]=~~i;g=g+-32768|0;if((g|0)<=32767)break;else l=l+4|0}g=m-(m>>>15<<15)|0;e=e+4+(m>>>15<<1<<1)|0;break}l=a+1|0;a=g;g=e;while(1){j[g>>1]=-32768;a=a+-32768|0;if((a|0)<=32767)break;else g=g+4|0}a=l+(m>>>15)|0;g=m-(m>>>15<<15)|0;e=e+4+(m>>>15<<1<<1)|0}while(0);r=r+-1|0;n=s+g|0;if(!r)break;else{g=n;q=q+64|0;p=p+128|0}}m=f+960|0;do if((n|0)>32767){i=+o[f+1032>>2]*+o[v+(w<<2)+136>>2]+ +o[u>>2]*+o[v+(t<<2)>>2]+ +o[f+1040>>2]*+o[v+(w<<2)+144>>2]+ +o[f+1048>>2]*+o[v+(w<<2)+152>>2]+ +o[f+1056>>2]*+o[v+(w<<2)+160>>2]+ +o[f+1064>>2]*+o[v+(w<<2)+168>>2]+ +o[f+1072>>2]*+o[v+(w<<2)+176>>2]+ +o[f+1080>>2]*+o[v+(w<<2)+184>>2];l=(n+-32768|0)>>>15;if(i>32767.0)if(i<-32768.0){f=a;g=e;while(1){j[g>>1]=32767;f=f+1|0;if((f|0)==(a+l+1|0))break;else g=g+4|0}a=a+l+1|0;f=n+-32768-(l<<15)|0;e=e+((l<<1)+2<<1)|0;break}else{f=a;g=e;while(1){j[g>>1]=32767;f=f+1|0;if((f|0)==(a+l+1|0))break;else g=g+4|0}a=a+l+1|0;f=n+-32768-(l<<15)|0;e=e+((l<<1)+2<<1)|0;break}if(!(i<-32768.0)){f=n;g=e;while(1){j[g>>1]=~~i;f=f+-32768|0;if((f|0)<=32767)break;else g=g+4|0}f=n+-32768-(l<<15)|0;e=e+((l<<1)+2<<1)|0;break}f=a;g=e;while(1){j[g>>1]=-32768;f=f+1|0;if((f|0)==(a+l+1|0))break;else g=g+4|0}a=a+l+1|0;f=n+-32768-(l<<15)|0;e=e+((l<<1)+2<<1)|0}else f=n;while(0);q=k[c+19360>>2]|0;l=u;p=m;n=15;g=f;m=v+(w<<2)+(h<<1<<2)|0;while(1){f=q+g|0;do if((f|0)>=32768){i=-(+o[l+-56>>2]*+o[m+-12>>2]+ +o[l+-60>>2]*+o[m+-8>>2])-(+o[l+-48>>2]*+o[m+-20>>2]+ +o[l+-52>>2]*+o[m+-16>>2])-(+o[l+-40>>2]*+o[m+-28>>2]+ +o[l+-44>>2]*+o[m+-24>>2])-(+o[l+-32>>2]*+o[m+-36>>2]+ +o[l+-36>>2]*+o[m+-32>>2])-(+o[l+-24>>2]*+o[m+-44>>2]+ +o[l+-28>>2]*+o[m+-40>>2])-(+o[l+-16>>2]*+o[m+-52>>2]+ +o[l+-20>>2]*+o[m+-48>>2])-(+o[l+-8>>2]*+o[m+-60>>2]+ +o[l+-12>>2]*+o[m+-56>>2])-(+o[l+-4>>2]*+o[m+-64>>2]+ +o[p>>2]*+o[m+-4>>2]);h=q+-32768+g|0;if(i>32767.0){g=a+1|0;if(i<-32768.0){a=e;while(1){j[a>>1]=32767;f=f+-32768|0;if((f|0)<=32767)break;else a=a+4|0}a=g+(h>>>15)|0;f=h-(h>>>15<<15)|0;e=e+4+(h>>>15<<1<<1)|0;break}else{a=e;while(1){j[a>>1]=32767;f=f+-32768|0;if((f|0)<=32767)break;else a=a+4|0}a=g+(h>>>15)|0;f=h-(h>>>15<<15)|0;e=e+4+(h>>>15<<1<<1)|0;break}}if(!(i<-32768.0)){g=e;while(1){j[g>>1]=~~i;f=f+-32768|0;if((f|0)<=32767)break;else g=g+4|0}f=h-(h>>>15<<15)|0;e=e+4+(h>>>15<<1<<1)|0;break}g=a+1|0;a=e;while(1){j[a>>1]=-32768;f=f+-32768|0;if((f|0)<=32767)break;else a=a+4|0}a=g+(h>>>15)|0;f=h-(h>>>15<<15)|0;e=e+4+(h>>>15<<1<<1)|0}while(0);n=n+-1|0;if(!n)break;else{l=p;p=p+-64|0;g=f;m=m+-128|0}}k[c+19352+(b<<2)>>2]=f;if(!d)return a|0;k[c+27864>>2]=e+(b|0?-2:0)-(k[c+27856>>2]|0);return a|0}function dya(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0.0,l=0,m=0,n=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;e=(k[c+27856>>2]|0)+(k[c+27864>>2]|0)|0;if(k[c+9288>>2]|0)Pxa(a,b,c+9292|0);if(b|0){h=k[c+9272>>2]|0;g=c+9256|0;l=k[c+19356>>2]|0;e=e+1|0}else{h=(k[c+9272>>2]|0)+15&15;k[c+9272>>2]=h;l=k[c+19352>>2]|0;k[c+19356>>2]=l;g=c+9248|0}f=k[g+4>>2]|0;if(!(h&1)){Oxa((k[g>>2]|0)+(h<<2)|0,f+(h<<2)+4|0,a);h=h+1|0}else{v=k[g>>2]|0;Oxa(f+((h+1&15)<<2)|0,v+(h<<2)|0,a);f=v}u=k[c+9284>>2]|0;t=528-h|0;m=f+1024|0;v=496-h|0;g=(k[c+19360>>2]|0)+l|0;r=f;a=0;s=16;q=u+64+(0-h<<2)|0;while(1){do if((g|0)>=32768){j=+o[r+8>>2]*+o[q+8>>2]+ +o[r>>2]*+o[q>>2]+ +o[r+16>>2]*+o[q+16>>2]+ +o[r+24>>2]*+o[q+24>>2]+ +o[r+32>>2]*+o[q+32>>2]+ +o[r+40>>2]*+o[q+40>>2]+ +o[r+48>>2]*+o[q+48>>2]+ +o[r+56>>2]*+o[q+56>>2]-(+o[r+12>>2]*+o[q+12>>2]+ +o[r+4>>2]*+o[q+4>>2])-(+o[r+28>>2]*+o[q+28>>2]+ +o[r+20>>2]*+o[q+20>>2])-(+o[r+44>>2]*+o[q+44>>2]+ +o[r+36>>2]*+o[q+36>>2])-(+o[r+60>>2]*+o[q+60>>2]+ +o[r+52>>2]*+o[q+52>>2]);n=g+-32768|0;if(j>32767.0){l=a+1|0;if(j<-32768.0){a=g;g=e;while(1){i[g>>0]=i[(k[c+9592>>2]|0)+4095>>0]|0;a=a+-32768|0;if((a|0)<=32767)break;else g=g+2|0}a=l+(n>>>15)|0;g=n-(n>>>15<<15)|0;e=e+2+(n>>>15<<1)|0;break}else{a=g;g=e;while(1){i[g>>0]=i[(k[c+9592>>2]|0)+4095>>0]|0;a=a+-32768|0;if((a|0)<=32767)break;else g=g+2|0}a=l+(n>>>15)|0;g=n-(n>>>15<<15)|0;e=e+2+(n>>>15<<1)|0;break}}if(j<-32768.0){l=a+1|0;a=g;g=e;while(1){i[g>>0]=i[(k[c+9592>>2]|0)+-4096>>0]|0;a=a+-32768|0;if((a|0)<=32767)break;else g=g+2|0}a=l+(n>>>15)|0;g=n-(n>>>15<<15)|0;e=e+2+(n>>>15<<1)|0;break}else{l=e;while(1){i[l>>0]=i[(k[c+9592>>2]|0)+(~~j<<16>>16>>3)>>0]|0;g=g+-32768|0;if((g|0)<=32767)break;else l=l+2|0}g=n-(n>>>15<<15)|0;e=e+2+(n>>>15<<1)|0;break}}while(0);s=s+-1|0;p=(k[c+19360>>2]|0)+g|0;if(!s)break;else{g=p;r=r+64|0;q=q+128|0}}n=f+960|0;do if((p|0)>32767){j=+o[f+1032>>2]*+o[u+(v<<2)+136>>2]+ +o[m>>2]*+o[u+(t<<2)>>2]+ +o[f+1040>>2]*+o[u+(v<<2)+144>>2]+ +o[f+1048>>2]*+o[u+(v<<2)+152>>2]+ +o[f+1056>>2]*+o[u+(v<<2)+160>>2]+ +o[f+1064>>2]*+o[u+(v<<2)+168>>2]+ +o[f+1072>>2]*+o[u+(v<<2)+176>>2]+ +o[f+1080>>2]*+o[u+(v<<2)+184>>2];l=(p+-32768|0)>>>15;if(j>32767.0)if(j<-32768.0){f=a;g=e;while(1){f=f+1|0;i[g>>0]=i[(k[c+9592>>2]|0)+4095>>0]|0;if((f|0)==(a+l+1|0))break;else g=g+2|0}a=a+l+1|0;f=p+-32768-(l<<15)|0;e=e+((l<<1)+2)|0;break}else{f=a;g=e;while(1){f=f+1|0;i[g>>0]=i[(k[c+9592>>2]|0)+4095>>0]|0;if((f|0)==(a+l+1|0))break;else g=g+2|0}a=a+l+1|0;f=p+-32768-(l<<15)|0;e=e+((l<<1)+2)|0;break}if(j<-32768.0){f=a;g=e;while(1){f=f+1|0;i[g>>0]=i[(k[c+9592>>2]|0)+-4096>>0]|0;if((f|0)==(a+l+1|0))break;else g=g+2|0}a=a+l+1|0;f=p+-32768-(l<<15)|0;e=e+((l<<1)+2)|0;break}else{f=p;g=e;while(1){i[g>>0]=i[(k[c+9592>>2]|0)+(~~j<<16>>16>>3)>>0]|0;f=f+-32768|0;if((f|0)<=32767)break;else g=g+2|0}f=p+-32768-(l<<15)|0;e=e+((l<<1)+2)|0;break}}else f=p;while(0);q=15;l=f;p=u+(v<<2)+(h<<1<<2)|0;while(1){g=k[c+19360>>2]|0;f=g+l|0;do if((f|0)>=32768){j=-(+o[m+-56>>2]*+o[p+-12>>2]+ +o[m+-60>>2]*+o[p+-8>>2])-(+o[m+-48>>2]*+o[p+-20>>2]+ +o[m+-52>>2]*+o[p+-16>>2])-(+o[m+-40>>2]*+o[p+-28>>2]+ +o[m+-44>>2]*+o[p+-24>>2])-(+o[m+-32>>2]*+o[p+-36>>2]+ +o[m+-36>>2]*+o[p+-32>>2])-(+o[m+-24>>2]*+o[p+-44>>2]+ +o[m+-28>>2]*+o[p+-40>>2])-(+o[m+-16>>2]*+o[p+-52>>2]+ +o[m+-20>>2]*+o[p+-48>>2])-(+o[m+-8>>2]*+o[p+-60>>2]+ +o[m+-12>>2]*+o[p+-56>>2])-(+o[m+-4>>2]*+o[p+-64>>2]+ +o[n>>2]*+o[p+-4>>2]);h=l+-32768+g|0;if(j>32767.0){g=a+1|0;if(j<-32768.0){a=e;while(1){i[a>>0]=i[(k[c+9592>>2]|0)+4095>>0]|0;f=f+-32768|0;if((f|0)<=32767)break;else a=a+2|0}a=g+(h>>>15)|0;f=h-(h>>>15<<15)|0;e=e+2+(h>>>15<<1)|0;break}else{a=e;while(1){i[a>>0]=i[(k[c+9592>>2]|0)+4095>>0]|0;f=f+-32768|0;if((f|0)<=32767)break;else a=a+2|0}a=g+(h>>>15)|0;f=h-(h>>>15<<15)|0;e=e+2+(h>>>15<<1)|0;break}}if(j<-32768.0){g=a+1|0;a=e;while(1){i[a>>0]=i[(k[c+9592>>2]|0)+-4096>>0]|0;f=f+-32768|0;if((f|0)<=32767)break;else a=a+2|0}a=g+(h>>>15)|0;f=h-(h>>>15<<15)|0;e=e+2+(h>>>15<<1)|0;break}else{g=e;while(1){i[g>>0]=i[(k[c+9592>>2]|0)+(~~j<<16>>16>>3)>>0]|0;f=f+-32768|0;if((f|0)<=32767)break;else g=g+2|0}f=h-(h>>>15<<15)|0;e=e+2+(h>>>15<<1)|0;break}}while(0);q=q+-1|0;if(!q)break;else{m=n;n=n+-64|0;l=f;p=p+-128|0}}k[c+19352+(b<<2)>>2]=f;if(!d)return a|0;k[c+27864>>2]=e+(((b|0)!=0)<<31>>31)-(k[c+27856>>2]|0);return a|0}function eya(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0.0,j=0,l=0,m=0,n=0,p=0,q=0,r=0,s=0,t=0;e=(k[c+27856>>2]|0)+(k[c+27864>>2]|0)|0;if(k[c+9288>>2]|0)Pxa(a,b,c+9292|0);if(b|0){h=k[c+9272>>2]|0;g=c+9256|0;j=k[c+19356>>2]|0;e=e+4|0}else{h=(k[c+9272>>2]|0)+15&15;k[c+9272>>2]=h;j=k[c+19352>>2]|0;k[c+19356>>2]=j;g=c+9248|0}f=k[g+4>>2]|0;if(!(h&1)){Oxa((k[g>>2]|0)+(h<<2)|0,f+(h<<2)+4|0,a);h=h+1|0}else{t=k[g>>2]|0;Oxa(f+((h+1&15)<<2)|0,t+(h<<2)|0,a);f=t}s=k[c+9284>>2]|0;p=k[c+19360>>2]|0;q=528-h|0;r=f+1024|0;t=496-h|0;a=p+j|0;m=f;n=16;l=s+64+(0-h<<2)|0;while(1){if((a|0)>=32768){i=(+o[m+8>>2]*+o[l+8>>2]+ +o[m>>2]*+o[l>>2]+ +o[m+16>>2]*+o[l+16>>2]+ +o[m+24>>2]*+o[l+24>>2]+ +o[m+32>>2]*+o[l+32>>2]+ +o[m+40>>2]*+o[l+40>>2]+ +o[m+48>>2]*+o[l+48>>2]+ +o[m+56>>2]*+o[l+56>>2]-(+o[m+12>>2]*+o[l+12>>2]+ +o[m+4>>2]*+o[l+4>>2])-(+o[m+28>>2]*+o[l+28>>2]+ +o[m+20>>2]*+o[l+20>>2])-(+o[m+44>>2]*+o[l+44>>2]+ +o[m+36>>2]*+o[l+36>>2])-(+o[m+60>>2]*+o[l+60>>2]+ +o[m+52>>2]*+o[l+52>>2]))*.000030517578125;j=a+-32768|0;g=e;while(1){o[g>>2]=i;a=a+-32768|0;if((a|0)<=32767)break;else g=g+8|0}a=j-(j>>>15<<15)|0;e=e+8+(j>>>15<<1<<2)|0}n=n+-1|0;j=p+a|0;if(!n)break;else{a=j;m=m+64|0;l=l+128|0}}g=f+960|0;if((j|0)>32767){i=(+o[f+1032>>2]*+o[s+(t<<2)+136>>2]+ +o[r>>2]*+o[s+(q<<2)>>2]+ +o[f+1040>>2]*+o[s+(t<<2)+144>>2]+ +o[f+1048>>2]*+o[s+(t<<2)+152>>2]+ +o[f+1056>>2]*+o[s+(t<<2)+160>>2]+ +o[f+1064>>2]*+o[s+(t<<2)+168>>2]+ +o[f+1072>>2]*+o[s+(t<<2)+176>>2]+ +o[f+1080>>2]*+o[s+(t<<2)+184>>2])*.000030517578125;f=j;a=e;while(1){o[a>>2]=i;f=f+-32768|0;if((f|0)<=32767)break;else a=a+8|0}f=j+-32768-((j+-32768|0)>>>15<<15)|0;e=e+(((j+-32768|0)>>>15<<1)+2<<2)|0}else f=j;m=k[c+19360>>2]|0;a=r;j=g;l=15;g=f;h=s+(t<<2)+(h<<1<<2)|0;while(1){f=m+g|0;if((f|0)>=32768){i=(-(+o[a+-56>>2]*+o[h+-12>>2]+ +o[a+-60>>2]*+o[h+-8>>2])-(+o[a+-48>>2]*+o[h+-20>>2]+ +o[a+-52>>2]*+o[h+-16>>2])-(+o[a+-40>>2]*+o[h+-28>>2]+ +o[a+-44>>2]*+o[h+-24>>2])-(+o[a+-32>>2]*+o[h+-36>>2]+ +o[a+-36>>2]*+o[h+-32>>2])-(+o[a+-24>>2]*+o[h+-44>>2]+ +o[a+-28>>2]*+o[h+-40>>2])-(+o[a+-16>>2]*+o[h+-52>>2]+ +o[a+-20>>2]*+o[h+-48>>2])-(+o[a+-8>>2]*+o[h+-60>>2]+ +o[a+-12>>2]*+o[h+-56>>2])-(+o[a+-4>>2]*+o[h+-64>>2]+ +o[j>>2]*+o[h+-4>>2]))*.000030517578125;g=m+-32768+g|0;a=e;while(1){o[a>>2]=i;f=f+-32768|0;if((f|0)<=32767)break;else a=a+8|0}f=g-(g>>>15<<15)|0;e=e+8+(g>>>15<<1<<2)|0}l=l+-1|0;if(!l)break;else{a=j;j=j+-64|0;g=f;h=h+-128|0}}k[c+19352+(b<<2)>>2]=f;if(!d)return 0;k[c+27864>>2]=e+(b|0?-4:0)-(k[c+27856>>2]|0);return 0}function fya(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0.0,j=0,l=0,m=0,n=0,p=0,q=0,r=0,s=0,t=0;e=(k[c+27856>>2]|0)+(k[c+27864>>2]|0)|0;if(k[c+9288>>2]|0)Pxa(a,b,c+9292|0);if(b|0){h=k[c+9272>>2]|0;g=c+9256|0;j=k[c+19356>>2]|0;e=e+4|0}else{h=(k[c+9272>>2]|0)+15&15;k[c+9272>>2]=h;j=k[c+19352>>2]|0;k[c+19356>>2]=j;g=c+9248|0}f=k[g+4>>2]|0;if(!(h&1)){Oxa((k[g>>2]|0)+(h<<2)|0,f+(h<<2)+4|0,a);h=h+1|0}else{t=k[g>>2]|0;Oxa(f+((h+1&15)<<2)|0,t+(h<<2)|0,a);f=t}m=k[c+9284>>2]|0;r=k[c+19360>>2]|0;s=m+(528-h<<2)|0;t=m+(496-h<<2)|0;g=r+j|0;p=f;a=0;q=16;m=m+64+(0-h<<2)|0;while(1){do if((g|0)>=32768){i=(+o[p+8>>2]*+o[m+8>>2]+ +o[p>>2]*+o[m>>2]+ +o[p+16>>2]*+o[m+16>>2]+ +o[p+24>>2]*+o[m+24>>2]+ +o[p+32>>2]*+o[m+32>>2]+ +o[p+40>>2]*+o[m+40>>2]+ +o[p+48>>2]*+o[m+48>>2]+ +o[p+56>>2]*+o[m+56>>2]-(+o[p+12>>2]*+o[m+12>>2]+ +o[p+4>>2]*+o[m+4>>2])-(+o[p+28>>2]*+o[m+28>>2]+ +o[p+20>>2]*+o[m+20>>2])-(+o[p+44>>2]*+o[m+44>>2]+ +o[p+36>>2]*+o[m+36>>2])-(+o[p+60>>2]*+o[m+60>>2]+ +o[p+52>>2]*+o[m+52>>2]))*65536.0;l=g+-32768|0;if(i>2147483647.0){j=a+1|0;if(i<-2147483648.0){a=g;g=e;while(1){k[g>>2]=2147483647;a=a+-32768|0;if((a|0)<=32767)break;else g=g+8|0}a=j+(l>>>15)|0;g=l-(l>>>15<<15)|0;e=e+8+(l>>>15<<1<<2)|0;break}else{a=g;g=e;while(1){k[g>>2]=2147483647;a=a+-32768|0;if((a|0)<=32767)break;else g=g+8|0}a=j+(l>>>15)|0;g=l-(l>>>15<<15)|0;e=e+8+(l>>>15<<1<<2)|0;break}}if(!(i<-2147483648.0)){j=e;while(1){k[j>>2]=~~i;g=g+-32768|0;if((g|0)<=32767)break;else j=j+8|0}g=l-(l>>>15<<15)|0;e=e+8+(l>>>15<<1<<2)|0;break}j=a+1|0;a=g;g=e;while(1){k[g>>2]=-2147483648;a=a+-32768|0;if((a|0)<=32767)break;else g=g+8|0}a=j+(l>>>15)|0;g=l-(l>>>15<<15)|0;e=e+8+(l>>>15<<1<<2)|0}while(0);q=q+-1|0;n=r+g|0;if(!q)break;else{g=n;p=p+64|0;m=m+128|0}}j=f+1024|0;m=f+960|0;do if((n|0)>32767){i=(+o[f+1032>>2]*+o[t+136>>2]+ +o[j>>2]*+o[s>>2]+ +o[f+1040>>2]*+o[t+144>>2]+ +o[f+1048>>2]*+o[t+152>>2]+ +o[f+1056>>2]*+o[t+160>>2]+ +o[f+1064>>2]*+o[t+168>>2]+ +o[f+1072>>2]*+o[t+176>>2]+ +o[f+1080>>2]*+o[t+184>>2])*65536.0;l=(n+-32768|0)>>>15;if(i>2147483647.0)if(i<-2147483648.0){f=a;g=e;while(1){k[g>>2]=2147483647;f=f+1|0;if((f|0)==(a+l+1|0))break;else g=g+8|0}a=a+l+1|0;f=n+-32768-(l<<15)|0;e=e+((l<<1)+2<<2)|0;break}else{f=a;g=e;while(1){k[g>>2]=2147483647;f=f+1|0;if((f|0)==(a+l+1|0))break;else g=g+8|0}a=a+l+1|0;f=n+-32768-(l<<15)|0;e=e+((l<<1)+2<<2)|0;break}if(!(i<-2147483648.0)){f=n;g=e;while(1){k[g>>2]=~~i;f=f+-32768|0;if((f|0)<=32767)break;else g=g+8|0}f=n+-32768-(l<<15)|0;e=e+((l<<1)+2<<2)|0;break}f=a;g=e;while(1){k[g>>2]=-2147483648;f=f+1|0;if((f|0)==(a+l+1|0))break;else g=g+8|0}a=a+l+1|0;f=n+-32768-(l<<15)|0;e=e+((l<<1)+2<<2)|0}else f=n;while(0);p=k[c+19360>>2]|0;n=15;g=f;l=t+(h<<1<<2)|0;while(1){f=p+g|0;do if((f|0)>=32768){i=(-(+o[j+-56>>2]*+o[l+-12>>2]+ +o[j+-60>>2]*+o[l+-8>>2])-(+o[j+-48>>2]*+o[l+-20>>2]+ +o[j+-52>>2]*+o[l+-16>>2])-(+o[j+-40>>2]*+o[l+-28>>2]+ +o[j+-44>>2]*+o[l+-24>>2])-(+o[j+-32>>2]*+o[l+-36>>2]+ +o[j+-36>>2]*+o[l+-32>>2])-(+o[j+-24>>2]*+o[l+-44>>2]+ +o[j+-28>>2]*+o[l+-40>>2])-(+o[j+-16>>2]*+o[l+-52>>2]+ +o[j+-20>>2]*+o[l+-48>>2])-(+o[j+-8>>2]*+o[l+-60>>2]+ +o[j+-12>>2]*+o[l+-56>>2])-(+o[j+-4>>2]*+o[l+-64>>2]+ +o[m>>2]*+o[l+-4>>2]))*65536.0;h=p+-32768+g|0;if(i>2147483647.0){g=a+1|0;if(i<-2147483648.0){a=e;while(1){k[a>>2]=2147483647;f=f+-32768|0;if((f|0)<=32767)break;else a=a+8|0}a=g+(h>>>15)|0;f=h-(h>>>15<<15)|0;e=e+8+(h>>>15<<1<<2)|0;break}else{a=e;while(1){k[a>>2]=2147483647;f=f+-32768|0;if((f|0)<=32767)break;else a=a+8|0}a=g+(h>>>15)|0;f=h-(h>>>15<<15)|0;e=e+8+(h>>>15<<1<<2)|0;break}}if(!(i<-2147483648.0)){g=e;while(1){k[g>>2]=~~i;f=f+-32768|0;if((f|0)<=32767)break;else g=g+8|0}f=h-(h>>>15<<15)|0;e=e+8+(h>>>15<<1<<2)|0;break}g=a+1|0;a=e;while(1){k[a>>2]=-2147483648;f=f+-32768|0;if((f|0)<=32767)break;else a=a+8|0}a=g+(h>>>15)|0;f=h-(h>>>15<<15)|0;e=e+8+(h>>>15<<1<<2)|0}while(0);n=n+-1|0;if(!n)break;else{j=m;m=m+-64|0;g=f;l=l+-128|0}}k[c+19352+(b<<2)>>2]=f;if(!d)return a|0;k[c+27864>>2]=e+(b|0?-4:0)-(k[c+27856>>2]|0);return a|0}function gya(a){a=a|0;var b=0,c=0,d=0.0,e=0,f=0;f=r;r=r+32|0;b=k[a+27876>>2]|0;do if(!(k[a+9588>>2]|0)){c=hqb(8192)|0;k[a+9588>>2]=c;if(c|0){k[a+9592>>2]=c+4096;break}k[a+28376>>2]=4;if(k[a+28068>>2]&32|0){a=-1;r=f;return a|0}a=k[37151]|0;k[f>>2]=253;Cob(a,512194,f)|0;a=-1;r=f;return a|0}while(0);switch(b|0){case 4:{c=k[37151]|0;e=-4096;do{d=+(e|0)*.062255859375;if((e|0)<0)b=127-~~(+fa(+(1.0-d))*22.902783774112294)|0;else b=255-~~(+fa(+(d+1.0))*22.902783774112294)|0;if(b>>>0>255)if(!(k[a+28068>>2]&32)){k[f+8>>2]=269;k[f+8+4>>2]=e;k[f+8+8>>2]=b;Cob(c,512257,f+8|0)|0}i[(k[a+9592>>2]|0)+e>>0]=(b|0)==0?2:b&255;e=e+1|0}while((e|0)!=4096);b=0;r=f;return b|0}case 130:{b=-4096;do{i[(k[a+9592>>2]|0)+b>>0]=b>>>5;b=b+1|0}while((b|0)!=4096);b=0;r=f;return b|0}case 1:{b=-4096;do{i[(k[a+9592>>2]|0)+b>>0]=(b>>>5)+128;b=b+1|0}while((b|0)!=4096);b=0;r=f;return b|0}default:{b=-4096;do{i[(k[a+9592>>2]|0)+b>>0]=0;b=b+1|0}while((b|0)!=4096);b=0;r=f;return b|0}}return 0}function hya(a,b){a=a|0;b=b|0;return +(+Unb(+(b+210|0)*-.25))}function iya(a,b){a=a|0;b=b|0;var c=0,d=0.0,e=0,f=0,g=0;c=-256;do{d=+jj[b&15](a,c);o[a+10928+(c+256<<2)>>2]=d;c=c+1|0}while((c|0)!=122);c=0;do{b=0;do{g=(((m[160188+(c*110|0)+(b<<1)>>1]|0)+7|0)>>>0)/18|0;e=a+9596+(c*92|0)+(b<<2)|0;k[e>>2]=g+1;f=k[a+19668>>2]|0;k[e>>2]=(g|0)<(f|0)?g+1|0:f;b=b+1|0}while((b|0)!=23);b=0;do{e=((m[160188+(c*110|0)+68+(b<<1)>>1]|0)+-1|0)/18|0;g=a+10424+(c*56|0)+(b<<2)|0;k[g>>2]=e+1;f=k[a+19668>>2]|0;k[g>>2]=(e|0)<(f|0)?e+1|0:f;b=b+1|0}while((b|0)!=14);c=c+1|0}while((c|0)!=9);return}function jya(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0,f=0.0;d=+p[3024+(c<<3)>>3];a=b;c=0;e=3;while(1){f=+Unb(+(e|0)*.3333333333333333)*d;o[a>>2]=f;c=c+1|0;if((c|0)==63)break;else{a=a+4|0;e=e+-1|0}}return b+252|0}function kya(a,b){a=a|0;b=b|0;var c=0,d=0;c=0;do{d=Ri[b&255](a,a+12440+(c<<8)|0,c)|0;o[d>>2]=0.0;c=c+1|0}while((c|0)!=27);return}function lya(a){a=a|0;var b=0.0,c=0,d=0,e=0,f=0.0,g=0;b=+p[a+19808>>3];if(b<0.0)b=+p[a+28344>>3];c=0;d=0;b=b*-.5;do{if((c|0)<528){f=+(k[35568+(d<<2)>>2]|0)*b;e=k[a+9284>>2]|0;o[e+(c<<2)>>2]=f;o[e+(c+16<<2)>>2]=f}b=((d|0)%64|0|0)==63?-b:b;c=(((d|0)%32|0|0)==31?c+-1023|0:c)+32|0;d=d+1|0}while((d|0)!=256);e=256;d=256;while(1){if((c|0)<528){f=+(k[35568+(d<<2)>>2]|0)*b;g=k[a+9284>>2]|0;o[g+(c<<2)>>2]=f;o[g+(c+16<<2)>>2]=f}b=((e|0)%64|0|0)==63?-b:b;g=e;e=e+1|0;c=(((g|0)%32|0|0)==31?c+-1023|0:c)+32|0;if((e|0)==512)break;else d=d+-1|0}return}function mya(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=r;r=r+32|0;b=nya(b)|0;ABb(a+19364|0,36596,256)|0;if(b>>>0>1)if(!(k[a+28068>>2]&32)){e=k[37151]|0;k[d>>2]=460;k[d+4>>2]=b;k[d+8>>2]=1;Cob(e,512448,d)|0;b=(k[a+19364>>2]|0)==16;k[a+19620>>2]=1;k[a+19624>>2]=1;if(!b){k[a+19368>>2]=78;k[a+19560>>2]=349;k[a+19496>>2]=350}}else c=3;else c=3;if((c|0)==3){k[a+19620>>2]=1;k[a+19624>>2]=1}if(k[a+28068>>2]&32|0){r=d;return 1}if(!(k[a+28064>>2]|0)){r=d;return 1}e=k[37151]|0;k[d+16>>2]=595012;Cob(e,512515,d+16|0)|0;r=d;return 1}function nya(a){a=a|0;if(!a)a=0;else if(!(i[a>>0]|0))a=0;else if(!(Hnb(a,512354)|0))a=0;else if(!(Hnb(a,595012)|0))a=1;else if(!(Hnb(a,512359)|0))a=2;else if(!(Hnb(a,512374)|0))a=3;else if(!(Hnb(a,512379)|0))a=4;else if(!(Hnb(a,512384)|0))a=5;else if(!(Hnb(a,512389)|0))a=6;else if(!(Hnb(a,512401)|0))a=7;else if(!(Hnb(a,512405)|0))a=8;else if(!(Hnb(a,512411)|0))a=9;else if(!(Hnb(a,512420)|0))a=10;else if(!(Hnb(a,512428)|0))a=11;else if(!(Hnb(a,512432)|0))a=12;else if(!(Hnb(a,512439)|0))a=13;else{a=(Hnb(a,512443)|0)==0;return (a?14:15)|0}return a|0}function oya(a,b,c){a=a|0;b=b|0;c=c|0;a=nj[k[c+19636>>2]&127](a,0,c,0)|0;return (nj[k[c+19636>>2]&127](b,1,c,1)|0)+a|0}function pya(a,b){a=a|0;b=b|0;var c=0;c=k[b+27856>>2]|0;a=nj[k[b+19364>>2]&127](a,0,b,1)|0;b=c+((k[b+27864>>2]|0)+-128)|0;j[b+2>>1]=j[b>>1]|0;j[b+4+2>>1]=j[b+4>>1]|0;j[b+4+4+2>>1]=j[b+4+4>>1]|0;b=b+4+4+4|0;j[b+2>>1]=j[b>>1]|0;j[b+4+2>>1]=j[b+4>>1]|0;j[b+4+4+2>>1]=j[b+4+4>>1]|0;b=b+4+4+4|0;j[b+2>>1]=j[b>>1]|0;j[b+4+2>>1]=j[b+4>>1]|0;j[b+4+4+2>>1]=j[b+4+4>>1]|0;b=b+4+4+4|0;j[b+2>>1]=j[b>>1]|0;j[b+4+2>>1]=j[b+4>>1]|0;j[b+4+4+2>>1]=j[b+4+4>>1]|0;b=b+4+4+4|0;j[b+2>>1]=j[b>>1]|0;j[b+4+2>>1]=j[b+4>>1]|0;j[b+4+4+2>>1]=j[b+4+4>>1]|0;b=b+4+4+4|0;j[b+2>>1]=j[b>>1]|0;j[b+4+2>>1]=j[b+4>>1]|0;j[b+4+4+2>>1]=j[b+4+4>>1]|0;b=b+4+4+4|0;j[b+2>>1]=j[b>>1]|0;j[b+4+2>>1]=j[b+4>>1]|0;j[b+4+4+2>>1]=j[b+4+4>>1]|0;b=b+4+4+4|0;j[b+2>>1]=j[b>>1]|0;j[b+4+2>>1]=j[b+4>>1]|0;j[b+4+4+2>>1]=j[b+4+4>>1]|0;b=b+4+4+4|0;j[b+2>>1]=j[b>>1]|0;j[b+4+2>>1]=j[b+4>>1]|0;j[b+4+4+2>>1]=j[b+4+4>>1]|0;b=b+4+4+4|0;j[b+2>>1]=j[b>>1]|0;j[b+4+2>>1]=j[b+4>>1]|0;j[b+4+4+2>>1]=j[b+4+4>>1]|0;b=b+4+4+4|0;j[b+2>>1]=j[b>>1]|0;j[b+4+2>>1]=j[b+4>>1]|0;return a|0}function qya(a,b){a=a|0;b=b|0;var c=0;c=k[b+27856>>2]|0;a=nj[k[b+19368>>2]&127](a,0,b,1)|0;b=c+((k[b+27864>>2]|0)+-64)|0;i[b+1>>0]=i[b>>0]|0;i[b+2+1>>0]=i[b+2>>0]|0;i[b+2+2+1>>0]=i[b+2+2>>0]|0;b=b+2+2+2|0;i[b+1>>0]=i[b>>0]|0;i[b+2+1>>0]=i[b+2>>0]|0;i[b+2+2+1>>0]=i[b+2+2>>0]|0;b=b+2+2+2|0;i[b+1>>0]=i[b>>0]|0;i[b+2+1>>0]=i[b+2>>0]|0;i[b+2+2+1>>0]=i[b+2+2>>0]|0;b=b+2+2+2|0;i[b+1>>0]=i[b>>0]|0;i[b+2+1>>0]=i[b+2>>0]|0;i[b+2+2+1>>0]=i[b+2+2>>0]|0;b=b+2+2+2|0;i[b+1>>0]=i[b>>0]|0;i[b+2+1>>0]=i[b+2>>0]|0;i[b+2+2+1>>0]=i[b+2+2>>0]|0;b=b+2+2+2|0;i[b+1>>0]=i[b>>0]|0;i[b+2+1>>0]=i[b+2>>0]|0;i[b+2+2+1>>0]=i[b+2+2>>0]|0;b=b+2+2+2|0;i[b+1>>0]=i[b>>0]|0;i[b+2+1>>0]=i[b+2>>0]|0;i[b+2+2+1>>0]=i[b+2+2>>0]|0;b=b+2+2+2|0;i[b+1>>0]=i[b>>0]|0;i[b+2+1>>0]=i[b+2>>0]|0;i[b+2+2+1>>0]=i[b+2+2>>0]|0;b=b+2+2+2|0;i[b+1>>0]=i[b>>0]|0;i[b+2+1>>0]=i[b+2>>0]|0;i[b+2+2+1>>0]=i[b+2+2>>0]|0;b=b+2+2+2|0;i[b+1>>0]=i[b>>0]|0;i[b+2+1>>0]=i[b+2>>0]|0;i[b+2+2+1>>0]=i[b+2+2>>0]|0;b=b+2+2+2|0;i[b+1>>0]=i[b>>0]|0;i[b+2+1>>0]=i[b+2>>0]|0;return a|0}function rya(a,b){a=a|0;b=b|0;var c=0;c=k[b+27856>>2]|0;a=nj[k[b+19372>>2]&127](a,0,b,1)|0;b=c+((k[b+27864>>2]|0)+-256)|0;k[b+4>>2]=k[b>>2];k[b+8+4>>2]=k[b+8>>2];k[b+8+8+4>>2]=k[b+8+8>>2];b=b+8+8+8|0;k[b+4>>2]=k[b>>2];k[b+8+4>>2]=k[b+8>>2];k[b+8+8+4>>2]=k[b+8+8>>2];b=b+8+8+8|0;k[b+4>>2]=k[b>>2];k[b+8+4>>2]=k[b+8>>2];k[b+8+8+4>>2]=k[b+8+8>>2];b=b+8+8+8|0;k[b+4>>2]=k[b>>2];k[b+8+4>>2]=k[b+8>>2];k[b+8+8+4>>2]=k[b+8+8>>2];b=b+8+8+8|0;k[b+4>>2]=k[b>>2];k[b+8+4>>2]=k[b+8>>2];k[b+8+8+4>>2]=k[b+8+8>>2];b=b+8+8+8|0;k[b+4>>2]=k[b>>2];k[b+8+4>>2]=k[b+8>>2];k[b+8+8+4>>2]=k[b+8+8>>2];b=b+8+8+8|0;k[b+4>>2]=k[b>>2];k[b+8+4>>2]=k[b+8>>2];k[b+8+8+4>>2]=k[b+8+8>>2];b=b+8+8+8|0;k[b+4>>2]=k[b>>2];k[b+8+4>>2]=k[b+8>>2];k[b+8+8+4>>2]=k[b+8+8>>2];b=b+8+8+8|0;k[b+4>>2]=k[b>>2];k[b+8+4>>2]=k[b+8>>2];k[b+8+8+4>>2]=k[b+8+8>>2];b=b+8+8+8|0;k[b+4>>2]=k[b>>2];k[b+8+4>>2]=k[b+8>>2];k[b+8+8+4>>2]=k[b+8+8>>2];b=b+8+8+8|0;k[b+4>>2]=k[b>>2];k[b+8+4>>2]=k[b+8>>2];return a|0}function sya(a,b){a=a|0;b=b|0;var c=0;c=k[b+27856>>2]|0;a=nj[k[b+19376>>2]&127](a,0,b,1)|0;b=c+((k[b+27864>>2]|0)+-256)|0;k[b+4>>2]=k[b>>2];k[b+8+4>>2]=k[b+8>>2];k[b+8+8+4>>2]=k[b+8+8>>2];b=b+8+8+8|0;k[b+4>>2]=k[b>>2];k[b+8+4>>2]=k[b+8>>2];k[b+8+8+4>>2]=k[b+8+8>>2];b=b+8+8+8|0;k[b+4>>2]=k[b>>2];k[b+8+4>>2]=k[b+8>>2];k[b+8+8+4>>2]=k[b+8+8>>2];b=b+8+8+8|0;k[b+4>>2]=k[b>>2];k[b+8+4>>2]=k[b+8>>2];k[b+8+8+4>>2]=k[b+8+8>>2];b=b+8+8+8|0;k[b+4>>2]=k[b>>2];k[b+8+4>>2]=k[b+8>>2];k[b+8+8+4>>2]=k[b+8+8>>2];b=b+8+8+8|0;k[b+4>>2]=k[b>>2];k[b+8+4>>2]=k[b+8>>2];k[b+8+8+4>>2]=k[b+8+8>>2];b=b+8+8+8|0;k[b+4>>2]=k[b>>2];k[b+8+4>>2]=k[b+8>>2];k[b+8+8+4>>2]=k[b+8+8>>2];b=b+8+8+8|0;k[b+4>>2]=k[b>>2];k[b+8+4>>2]=k[b+8>>2];k[b+8+8+4>>2]=k[b+8+8>>2];b=b+8+8+8|0;k[b+4>>2]=k[b>>2];k[b+8+4>>2]=k[b+8>>2];k[b+8+8+4>>2]=k[b+8+8>>2];b=b+8+8+8|0;k[b+4>>2]=k[b>>2];k[b+8+4>>2]=k[b+8>>2];k[b+8+8+4>>2]=k[b+8+8>>2];b=b+8+8+8|0;k[b+4>>2]=k[b>>2];k[b+8+4>>2]=k[b+8>>2];return a|0}function tya(a,b){a=a|0;b=b|0;var c=0;c=k[b+27856>>2]|0;a=nj[k[b+19380>>2]&127](a,0,b,1)|0;b=c+((k[b+27864>>2]|0)+-64)|0;j[b+2>>1]=j[b>>1]|0;j[b+4+2>>1]=j[b+4>>1]|0;j[b+4+4+2>>1]=j[b+4+4>>1]|0;b=b+4+4+4|0;j[b+2>>1]=j[b>>1]|0;j[b+4+2>>1]=j[b+4>>1]|0;j[b+4+4+2>>1]=j[b+4+4>>1]|0;b=b+4+4+4|0;j[b+2>>1]=j[b>>1]|0;j[b+4+2>>1]=j[b+4>>1]|0;j[b+4+4+2>>1]=j[b+4+4>>1]|0;b=b+4+4+4|0;j[b+2>>1]=j[b>>1]|0;j[b+4+2>>1]=j[b+4>>1]|0;j[b+4+4+2>>1]=j[b+4+4>>1]|0;b=b+4+4+4|0;j[b+2>>1]=j[b>>1]|0;j[b+4+2>>1]=j[b+4>>1]|0;j[b+4+4+2>>1]=j[b+4+4>>1]|0;j[b+4+4+4+2>>1]=j[b+4+4+4>>1]|0;return a|0}function uya(a,b){a=a|0;b=b|0;var c=0;c=k[b+27856>>2]|0;a=nj[k[b+19384>>2]&127](a,0,b,1)|0;b=c+((k[b+27864>>2]|0)+-32)|0;i[b+1>>0]=i[b>>0]|0;i[b+2+1>>0]=i[b+2>>0]|0;i[b+2+2+1>>0]=i[b+2+2>>0]|0;b=b+2+2+2|0;i[b+1>>0]=i[b>>0]|0;i[b+2+1>>0]=i[b+2>>0]|0;i[b+2+2+1>>0]=i[b+2+2>>0]|0;b=b+2+2+2|0;i[b+1>>0]=i[b>>0]|0;i[b+2+1>>0]=i[b+2>>0]|0;i[b+2+2+1>>0]=i[b+2+2>>0]|0;b=b+2+2+2|0;i[b+1>>0]=i[b>>0]|0;i[b+2+1>>0]=i[b+2>>0]|0;i[b+2+2+1>>0]=i[b+2+2>>0]|0;b=b+2+2+2|0;i[b+1>>0]=i[b>>0]|0;i[b+2+1>>0]=i[b+2>>0]|0;i[b+2+2+1>>0]=i[b+2+2>>0]|0;i[b+2+2+2+1>>0]=i[b+2+2+2>>0]|0;return a|0}function vya(a,b){a=a|0;b=b|0;var c=0;c=k[b+27856>>2]|0;a=nj[k[b+19388>>2]&127](a,0,b,1)|0;b=c+((k[b+27864>>2]|0)+-128)|0;k[b+4>>2]=k[b>>2];k[b+8+4>>2]=k[b+8>>2];k[b+8+8+4>>2]=k[b+8+8>>2];b=b+8+8+8|0;k[b+4>>2]=k[b>>2];k[b+8+4>>2]=k[b+8>>2];k[b+8+8+4>>2]=k[b+8+8>>2];b=b+8+8+8|0;k[b+4>>2]=k[b>>2];k[b+8+4>>2]=k[b+8>>2];k[b+8+8+4>>2]=k[b+8+8>>2];b=b+8+8+8|0;k[b+4>>2]=k[b>>2];k[b+8+4>>2]=k[b+8>>2];k[b+8+8+4>>2]=k[b+8+8>>2];b=b+8+8+8|0;k[b+4>>2]=k[b>>2];k[b+8+4>>2]=k[b+8>>2];k[b+8+8+4>>2]=k[b+8+8>>2];k[b+8+8+8+4>>2]=k[b+8+8+8>>2];return a|0}function wya(a,b){a=a|0;b=b|0;var c=0;c=k[b+27856>>2]|0;a=nj[k[b+19392>>2]&127](a,0,b,1)|0;b=c+((k[b+27864>>2]|0)+-128)|0;k[b+4>>2]=k[b>>2];k[b+8+4>>2]=k[b+8>>2];k[b+8+8+4>>2]=k[b+8+8>>2];b=b+8+8+8|0;k[b+4>>2]=k[b>>2];k[b+8+4>>2]=k[b+8>>2];k[b+8+8+4>>2]=k[b+8+8>>2];b=b+8+8+8|0;k[b+4>>2]=k[b>>2];k[b+8+4>>2]=k[b+8>>2];k[b+8+8+4>>2]=k[b+8+8>>2];b=b+8+8+8|0;k[b+4>>2]=k[b>>2];k[b+8+4>>2]=k[b+8>>2];k[b+8+8+4>>2]=k[b+8+8>>2];b=b+8+8+8|0;k[b+4>>2]=k[b>>2];k[b+8+4>>2]=k[b+8>>2];k[b+8+8+4>>2]=k[b+8+8>>2];k[b+8+8+8+4>>2]=k[b+8+8+8>>2];return a|0}function xya(a,b){a=a|0;b=b|0;var c=0;c=k[b+27856>>2]|0;a=nj[k[b+19396>>2]&127](a,0,b,1)|0;b=c+((k[b+27864>>2]|0)+-32)|0;j[b+2>>1]=j[b>>1]|0;j[b+4+2>>1]=j[b+4>>1]|0;j[b+4+4+2>>1]=j[b+4+4>>1]|0;b=b+4+4+4|0;j[b+2>>1]=j[b>>1]|0;j[b+4+2>>1]=j[b+4>>1]|0;j[b+4+4+2>>1]=j[b+4+4>>1]|0;b=b+4+4+4|0;j[b+2>>1]=j[b>>1]|0;j[b+4+2>>1]=j[b+4>>1]|0;return a|0}function yya(a,b){a=a|0;b=b|0;var c=0;c=k[b+27856>>2]|0;a=nj[k[b+19400>>2]&127](a,0,b,1)|0;b=c+((k[b+27864>>2]|0)+-16)|0;i[b+1>>0]=i[b>>0]|0;i[b+2+1>>0]=i[b+2>>0]|0;i[b+2+2+1>>0]=i[b+2+2>>0]|0;b=b+2+2+2|0;i[b+1>>0]=i[b>>0]|0;i[b+2+1>>0]=i[b+2>>0]|0;i[b+2+2+1>>0]=i[b+2+2>>0]|0;b=b+2+2+2|0;i[b+1>>0]=i[b>>0]|0;i[b+2+1>>0]=i[b+2>>0]|0;return a|0}function zya(a,b){a=a|0;b=b|0;var c=0;c=k[b+27856>>2]|0;a=nj[k[b+19404>>2]&127](a,0,b,1)|0;b=c+((k[b+27864>>2]|0)+-64)|0;k[b+4>>2]=k[b>>2];k[b+8+4>>2]=k[b+8>>2];k[b+8+8+4>>2]=k[b+8+8>>2];b=b+8+8+8|0;k[b+4>>2]=k[b>>2];k[b+8+4>>2]=k[b+8>>2];k[b+8+8+4>>2]=k[b+8+8>>2];b=b+8+8+8|0;k[b+4>>2]=k[b>>2];k[b+8+4>>2]=k[b+8>>2];return a|0}function Aya(a,b){a=a|0;b=b|0;var c=0;c=k[b+27856>>2]|0;a=nj[k[b+19408>>2]&127](a,0,b,1)|0;b=c+((k[b+27864>>2]|0)+-64)|0;k[b+4>>2]=k[b>>2];k[b+8+4>>2]=k[b+8>>2];k[b+8+8+4>>2]=k[b+8+8>>2];b=b+8+8+8|0;k[b+4>>2]=k[b>>2];k[b+8+4>>2]=k[b+8>>2];k[b+8+8+4>>2]=k[b+8+8>>2];b=b+8+8+8|0;k[b+4>>2]=k[b>>2];k[b+8+4>>2]=k[b+8>>2];return a|0}function Bya(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=k[b+27864>>2]|0;e=k[b+27856>>2]|0;f=cya(a,0,b,1)|0;b=(k[b+27864>>2]|0)-d|0;if(b>>>0<=3)return f|0;c=0;a=e+d|0;while(1){j[a+2>>1]=j[a>>1]|0;c=c+1|0;if(c>>>0>=b>>>2>>>0)break;else a=a+4|0}return f|0}function Cya(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=k[b+27864>>2]|0;c=k[b+27856>>2]|0;d=dya(a,0,b,1)|0;if(((k[b+27864>>2]|0)-f|0)>>>0<=1)return d|0;e=0;a=c+f|0;while(1){i[a+1>>0]=i[a>>0]|0;e=e+1|0;if(e>>>0>=((k[b+27864>>2]|0)-f|0)>>>1>>>0)break;else a=a+2|0}return d|0}function Dya(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=k[b+27864>>2]|0;e=k[b+27856>>2]|0;eya(a,0,b,1)|0;b=(k[b+27864>>2]|0)-d|0;if(b>>>0<=7)return 0;c=0;a=e+d|0;while(1){k[a+4>>2]=k[a>>2];c=c+1|0;if(c>>>0>=b>>>3>>>0)break;else a=a+8|0}return 0}function Eya(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=k[b+27864>>2]|0;c=k[b+27856>>2]|0;d=fya(a,0,b,1)|0;if(((k[b+27864>>2]|0)-f|0)>>>0<=7)return d|0;e=0;a=c+f|0;while(1){k[a+4>>2]=k[a>>2];e=e+1|0;if(e>>>0>=((k[b+27864>>2]|0)-f|0)>>>3>>>0)break;else a=a+8|0}return d|0}function Fya(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=r;r=r+128|0;e=k[b+27856>>2]|0;d=k[b+27864>>2]|0;k[b+27856>>2]=c;k[b+27864>>2]=0;a=nj[k[b+19364>>2]&127](a,0,b,0)|0;k[b+27856>>2]=e;j[e+d>>1]=j[c>>1]|0;j[e+d+2>>1]=j[c+4>>1]|0;j[e+d+2+2>>1]=j[c+8>>1]|0;j[e+d+2+2+2>>1]=j[c+12>>1]|0;e=e+d+2+2+2+2|0;j[e>>1]=j[c+16>>1]|0;j[e+2>>1]=j[c+20>>1]|0;j[e+2+2>>1]=j[c+24>>1]|0;j[e+2+2+2>>1]=j[c+28>>1]|0;j[e+2+2+2+2>>1]=j[c+32>>1]|0;e=e+2+2+2+2+2|0;j[e>>1]=j[c+36>>1]|0;j[e+2>>1]=j[c+40>>1]|0;j[e+2+2>>1]=j[c+44>>1]|0;j[e+2+2+2>>1]=j[c+48>>1]|0;j[e+2+2+2+2>>1]=j[c+52>>1]|0;e=e+2+2+2+2+2|0;j[e>>1]=j[c+56>>1]|0;j[e+2>>1]=j[c+60>>1]|0;j[e+2+2>>1]=j[c+64>>1]|0;j[e+2+2+2>>1]=j[c+68>>1]|0;j[e+2+2+2+2>>1]=j[c+72>>1]|0;e=e+2+2+2+2+2|0;j[e>>1]=j[c+76>>1]|0;j[e+2>>1]=j[c+80>>1]|0;j[e+2+2>>1]=j[c+84>>1]|0;j[e+2+2+2>>1]=j[c+88>>1]|0;j[e+2+2+2+2>>1]=j[c+92>>1]|0;e=e+2+2+2+2+2|0;j[e>>1]=j[c+96>>1]|0;j[e+2>>1]=j[c+100>>1]|0;j[e+2+2>>1]=j[c+104>>1]|0;j[e+2+2+2>>1]=j[c+108>>1]|0;j[e+2+2+2+2>>1]=j[c+112>>1]|0;e=e+2+2+2+2+2|0;j[e>>1]=j[c+116>>1]|0;j[e+2>>1]=j[c+120>>1]|0;j[e+2+2>>1]=j[c+124>>1]|0;k[b+27864>>2]=d+64;r=c;return a|0}function Gya(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=r;r=r+64|0;e=k[b+27856>>2]|0;d=k[b+27864>>2]|0;k[b+27856>>2]=c;k[b+27864>>2]=0;a=nj[k[b+19368>>2]&127](a,0,b,0)|0;k[b+27856>>2]=e;i[e+d>>0]=i[c>>0]|0;i[e+d+1>>0]=i[c+2>>0]|0;i[e+d+1+1>>0]=i[c+4>>0]|0;i[e+d+1+1+1>>0]=i[c+6>>0]|0;e=e+d+1+1+1+1|0;i[e>>0]=i[c+8>>0]|0;i[e+1>>0]=i[c+10>>0]|0;i[e+1+1>>0]=i[c+12>>0]|0;i[e+1+1+1>>0]=i[c+14>>0]|0;i[e+1+1+1+1>>0]=i[c+16>>0]|0;e=e+1+1+1+1+1|0;i[e>>0]=i[c+18>>0]|0;i[e+1>>0]=i[c+20>>0]|0;i[e+1+1>>0]=i[c+22>>0]|0;i[e+1+1+1>>0]=i[c+24>>0]|0;i[e+1+1+1+1>>0]=i[c+26>>0]|0;e=e+1+1+1+1+1|0;i[e>>0]=i[c+28>>0]|0;i[e+1>>0]=i[c+30>>0]|0;i[e+1+1>>0]=i[c+32>>0]|0;i[e+1+1+1>>0]=i[c+34>>0]|0;i[e+1+1+1+1>>0]=i[c+36>>0]|0;e=e+1+1+1+1+1|0;i[e>>0]=i[c+38>>0]|0;i[e+1>>0]=i[c+40>>0]|0;i[e+1+1>>0]=i[c+42>>0]|0;i[e+1+1+1>>0]=i[c+44>>0]|0;i[e+1+1+1+1>>0]=i[c+46>>0]|0;e=e+1+1+1+1+1|0;i[e>>0]=i[c+48>>0]|0;i[e+1>>0]=i[c+50>>0]|0;i[e+1+1>>0]=i[c+52>>0]|0;i[e+1+1+1>>0]=i[c+54>>0]|0;i[e+1+1+1+1>>0]=i[c+56>>0]|0;e=e+1+1+1+1+1|0;i[e>>0]=i[c+58>>0]|0;i[e+1>>0]=i[c+60>>0]|0;i[e+1+1>>0]=i[c+62>>0]|0;k[b+27864>>2]=d+32;r=c;return a|0}function Hya(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=r;r=r+256|0;e=k[b+27856>>2]|0;d=k[b+27864>>2]|0;k[b+27856>>2]=c;k[b+27864>>2]=0;a=nj[k[b+19372>>2]&127](a,0,b,0)|0;k[b+27856>>2]=e;k[e+d>>2]=k[c>>2];k[e+d+4>>2]=k[c+8>>2];k[e+d+4+4>>2]=k[c+16>>2];k[e+d+4+4+4>>2]=k[c+24>>2];e=e+d+4+4+4+4|0;k[e>>2]=k[c+32>>2];k[e+4>>2]=k[c+40>>2];k[e+4+4>>2]=k[c+48>>2];k[e+4+4+4>>2]=k[c+56>>2];k[e+4+4+4+4>>2]=k[c+64>>2];e=e+4+4+4+4+4|0;k[e>>2]=k[c+72>>2];k[e+4>>2]=k[c+80>>2];k[e+4+4>>2]=k[c+88>>2];k[e+4+4+4>>2]=k[c+96>>2];k[e+4+4+4+4>>2]=k[c+104>>2];e=e+4+4+4+4+4|0;k[e>>2]=k[c+112>>2];k[e+4>>2]=k[c+120>>2];k[e+4+4>>2]=k[c+128>>2];k[e+4+4+4>>2]=k[c+136>>2];k[e+4+4+4+4>>2]=k[c+144>>2];e=e+4+4+4+4+4|0;k[e>>2]=k[c+152>>2];k[e+4>>2]=k[c+160>>2];k[e+4+4>>2]=k[c+168>>2];k[e+4+4+4>>2]=k[c+176>>2];k[e+4+4+4+4>>2]=k[c+184>>2];e=e+4+4+4+4+4|0;k[e>>2]=k[c+192>>2];k[e+4>>2]=k[c+200>>2];k[e+4+4>>2]=k[c+208>>2];k[e+4+4+4>>2]=k[c+216>>2];k[e+4+4+4+4>>2]=k[c+224>>2];e=e+4+4+4+4+4|0;k[e>>2]=k[c+232>>2];k[e+4>>2]=k[c+240>>2];k[e+4+4>>2]=k[c+248>>2];k[b+27864>>2]=d+128;r=c;return a|0}function Iya(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=r;r=r+256|0;e=k[b+27856>>2]|0;d=k[b+27864>>2]|0;k[b+27856>>2]=c;k[b+27864>>2]=0;a=nj[k[b+19376>>2]&127](a,0,b,0)|0;k[b+27856>>2]=e;k[e+d>>2]=k[c>>2];k[e+d+4>>2]=k[c+8>>2];k[e+d+4+4>>2]=k[c+16>>2];k[e+d+4+4+4>>2]=k[c+24>>2];e=e+d+4+4+4+4|0;k[e>>2]=k[c+32>>2];k[e+4>>2]=k[c+40>>2];k[e+4+4>>2]=k[c+48>>2];k[e+4+4+4>>2]=k[c+56>>2];k[e+4+4+4+4>>2]=k[c+64>>2];e=e+4+4+4+4+4|0;k[e>>2]=k[c+72>>2];k[e+4>>2]=k[c+80>>2];k[e+4+4>>2]=k[c+88>>2];k[e+4+4+4>>2]=k[c+96>>2];k[e+4+4+4+4>>2]=k[c+104>>2];e=e+4+4+4+4+4|0;k[e>>2]=k[c+112>>2];k[e+4>>2]=k[c+120>>2];k[e+4+4>>2]=k[c+128>>2];k[e+4+4+4>>2]=k[c+136>>2];k[e+4+4+4+4>>2]=k[c+144>>2];e=e+4+4+4+4+4|0;k[e>>2]=k[c+152>>2];k[e+4>>2]=k[c+160>>2];k[e+4+4>>2]=k[c+168>>2];k[e+4+4+4>>2]=k[c+176>>2];k[e+4+4+4+4>>2]=k[c+184>>2];e=e+4+4+4+4+4|0;k[e>>2]=k[c+192>>2];k[e+4>>2]=k[c+200>>2];k[e+4+4>>2]=k[c+208>>2];k[e+4+4+4>>2]=k[c+216>>2];k[e+4+4+4+4>>2]=k[c+224>>2];e=e+4+4+4+4+4|0;k[e>>2]=k[c+232>>2];k[e+4>>2]=k[c+240>>2];k[e+4+4>>2]=k[c+248>>2];k[b+27864>>2]=d+128;r=c;return a|0}function Jya(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=r;r=r+64|0;e=k[b+27856>>2]|0;d=k[b+27864>>2]|0;k[b+27856>>2]=c;k[b+27864>>2]=0;a=nj[k[b+19380>>2]&127](a,0,b,0)|0;k[b+27856>>2]=e;j[e+d>>1]=j[c>>1]|0;j[e+d+2>>1]=j[c+4>>1]|0;j[e+d+2+2>>1]=j[c+8>>1]|0;j[e+d+2+2+2>>1]=j[c+12>>1]|0;e=e+d+2+2+2+2|0;j[e>>1]=j[c+16>>1]|0;j[e+2>>1]=j[c+20>>1]|0;j[e+2+2>>1]=j[c+24>>1]|0;j[e+2+2+2>>1]=j[c+28>>1]|0;j[e+2+2+2+2>>1]=j[c+32>>1]|0;e=e+2+2+2+2+2|0;j[e>>1]=j[c+36>>1]|0;j[e+2>>1]=j[c+40>>1]|0;j[e+2+2>>1]=j[c+44>>1]|0;j[e+2+2+2>>1]=j[c+48>>1]|0;j[e+2+2+2+2>>1]=j[c+52>>1]|0;e=e+2+2+2+2+2|0;j[e>>1]=j[c+56>>1]|0;j[e+2>>1]=j[c+60>>1]|0;k[b+27864>>2]=d+32;r=c;return a|0}function Kya(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=r;r=r+32|0;e=k[b+27856>>2]|0;d=k[b+27864>>2]|0;k[b+27856>>2]=c;k[b+27864>>2]=0;a=nj[k[b+19384>>2]&127](a,0,b,0)|0;k[b+27856>>2]=e;i[e+d>>0]=i[c>>0]|0;i[e+d+1>>0]=i[c+2>>0]|0;i[e+d+1+1>>0]=i[c+4>>0]|0;i[e+d+1+1+1>>0]=i[c+6>>0]|0;e=e+d+1+1+1+1|0;i[e>>0]=i[c+8>>0]|0;i[e+1>>0]=i[c+10>>0]|0;i[e+1+1>>0]=i[c+12>>0]|0;i[e+1+1+1>>0]=i[c+14>>0]|0;i[e+1+1+1+1>>0]=i[c+16>>0]|0;e=e+1+1+1+1+1|0;i[e>>0]=i[c+18>>0]|0;i[e+1>>0]=i[c+20>>0]|0;i[e+1+1>>0]=i[c+22>>0]|0;i[e+1+1+1>>0]=i[c+24>>0]|0;i[e+1+1+1+1>>0]=i[c+26>>0]|0;e=e+1+1+1+1+1|0;i[e>>0]=i[c+28>>0]|0;i[e+1>>0]=i[c+30>>0]|0;k[b+27864>>2]=d+16;r=c;return a|0}function Lya(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=r;r=r+128|0;e=k[b+27856>>2]|0;d=k[b+27864>>2]|0;k[b+27856>>2]=c;k[b+27864>>2]=0;a=nj[k[b+19388>>2]&127](a,0,b,0)|0;k[b+27856>>2]=e;k[e+d>>2]=k[c>>2];k[e+d+4>>2]=k[c+8>>2];k[e+d+4+4>>2]=k[c+16>>2];k[e+d+4+4+4>>2]=k[c+24>>2];e=e+d+4+4+4+4|0;k[e>>2]=k[c+32>>2];k[e+4>>2]=k[c+40>>2];k[e+4+4>>2]=k[c+48>>2];k[e+4+4+4>>2]=k[c+56>>2];k[e+4+4+4+4>>2]=k[c+64>>2];e=e+4+4+4+4+4|0;k[e>>2]=k[c+72>>2];k[e+4>>2]=k[c+80>>2];k[e+4+4>>2]=k[c+88>>2];k[e+4+4+4>>2]=k[c+96>>2];k[e+4+4+4+4>>2]=k[c+104>>2];e=e+4+4+4+4+4|0;k[e>>2]=k[c+112>>2];k[e+4>>2]=k[c+120>>2];k[b+27864>>2]=d+64;r=c;return a|0}function Mya(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=r;r=r+128|0;e=k[b+27856>>2]|0;d=k[b+27864>>2]|0;k[b+27856>>2]=c;k[b+27864>>2]=0;a=nj[k[b+19392>>2]&127](a,0,b,0)|0;k[b+27856>>2]=e;k[e+d>>2]=k[c>>2];k[e+d+4>>2]=k[c+8>>2];k[e+d+4+4>>2]=k[c+16>>2];k[e+d+4+4+4>>2]=k[c+24>>2];e=e+d+4+4+4+4|0;k[e>>2]=k[c+32>>2];k[e+4>>2]=k[c+40>>2];k[e+4+4>>2]=k[c+48>>2];k[e+4+4+4>>2]=k[c+56>>2];k[e+4+4+4+4>>2]=k[c+64>>2];e=e+4+4+4+4+4|0;k[e>>2]=k[c+72>>2];k[e+4>>2]=k[c+80>>2];k[e+4+4>>2]=k[c+88>>2];k[e+4+4+4>>2]=k[c+96>>2];k[e+4+4+4+4>>2]=k[c+104>>2];e=e+4+4+4+4+4|0;k[e>>2]=k[c+112>>2];k[e+4>>2]=k[c+120>>2];k[b+27864>>2]=d+64;r=c;return a|0}function Nya(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=r;r=r+32|0;e=k[b+27856>>2]|0;d=k[b+27864>>2]|0;k[b+27856>>2]=c;k[b+27864>>2]=0;a=nj[k[b+19396>>2]&127](a,0,b,0)|0;k[b+27856>>2]=e;j[e+d>>1]=j[c>>1]|0;j[e+d+2>>1]=j[c+4>>1]|0;j[e+d+2+2>>1]=j[c+8>>1]|0;j[e+d+2+2+2>>1]=j[c+12>>1]|0;e=e+d+2+2+2+2|0;j[e>>1]=j[c+16>>1]|0;j[e+2>>1]=j[c+20>>1]|0;j[e+2+2>>1]=j[c+24>>1]|0;j[e+2+2+2>>1]=j[c+28>>1]|0;k[b+27864>>2]=d+16;r=c;return a|0}function Oya(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=r;r=r+16|0;e=k[b+27856>>2]|0;d=k[b+27864>>2]|0;k[b+27856>>2]=c;k[b+27864>>2]=0;a=nj[k[b+19400>>2]&127](a,0,b,0)|0;k[b+27856>>2]=e;i[e+d>>0]=i[c>>0]|0;i[e+d+1>>0]=i[c+2>>0]|0;i[e+d+1+1>>0]=i[c+4>>0]|0;i[e+d+1+1+1>>0]=i[c+6>>0]|0;e=e+d+1+1+1+1|0;i[e>>0]=i[c+8>>0]|0;i[e+1>>0]=i[c+10>>0]|0;i[e+1+1>>0]=i[c+12>>0]|0;i[e+1+1+1>>0]=i[c+14>>0]|0;k[b+27864>>2]=d+8;r=c;return a|0}function Pya(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=r;r=r+64|0;e=k[b+27856>>2]|0;d=k[b+27864>>2]|0;k[b+27856>>2]=c;k[b+27864>>2]=0;a=nj[k[b+19404>>2]&127](a,0,b,0)|0;k[b+27856>>2]=e;k[e+d>>2]=k[c>>2];k[e+d+4>>2]=k[c+8>>2];k[e+d+4+4>>2]=k[c+16>>2];k[e+d+4+4+4>>2]=k[c+24>>2];e=e+d+4+4+4+4|0;k[e>>2]=k[c+32>>2];k[e+4>>2]=k[c+40>>2];k[e+4+4>>2]=k[c+48>>2];k[e+4+4+4>>2]=k[c+56>>2];k[b+27864>>2]=d+32;r=c;return a|0}function Qya(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=r;r=r+64|0;e=k[b+27856>>2]|0;d=k[b+27864>>2]|0;k[b+27856>>2]=c;k[b+27864>>2]=0;a=nj[k[b+19408>>2]&127](a,0,b,0)|0;k[b+27856>>2]=e;k[e+d>>2]=k[c>>2];k[e+d+4>>2]=k[c+8>>2];k[e+d+4+4>>2]=k[c+16>>2];k[e+d+4+4+4>>2]=k[c+24>>2];e=e+d+4+4+4+4|0;k[e>>2]=k[c+32>>2];k[e+4>>2]=k[c+40>>2];k[e+4+4>>2]=k[c+48>>2];k[e+4+4+4>>2]=k[c+56>>2];k[b+27864>>2]=d+32;r=c;return a|0}function Rya(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=r;r=r+1024|0;g=k[b+27864>>2]|0;c=k[b+27856>>2]|0;k[b+27856>>2]=h;k[b+27864>>2]=0;d=cya(a,0,b,1)|0;k[b+27856>>2]=c;e=k[b+27864>>2]|0;if(e>>>0<=3){f=e>>>1;g=f+g|0;k[b+27864>>2]=g;r=h;return d|0}f=0;a=c+g|0;c=h;while(1){j[a>>1]=j[c>>1]|0;f=f+1|0;if(f>>>0>=e>>>2>>>0)break;else{a=a+2|0;c=c+4|0}}f=e>>>1;g=f+g|0;k[b+27864>>2]=g;r=h;return d|0}function Sya(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=r;r=r+512|0;g=k[b+27864>>2]|0;c=k[b+27856>>2]|0;k[b+27856>>2]=h;k[b+27864>>2]=0;f=dya(a,0,b,1)|0;k[b+27856>>2]=c;if((k[b+27864>>2]|0)>>>0<2){e=0;g=e+g|0;k[b+27864>>2]=g;r=h;return f|0}e=0;c=c+g|0;d=h;while(1){i[c>>0]=i[d>>0]|0;e=e+1|0;a=(k[b+27864>>2]|0)>>>1;if(e>>>0>=a>>>0)break;else{c=c+1|0;d=d+2|0}}g=a+g|0;k[b+27864>>2]=g;r=h;return f|0}function Tya(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=r;r=r+2048|0;f=k[b+27864>>2]|0;c=k[b+27856>>2]|0;k[b+27856>>2]=g;k[b+27864>>2]=0;eya(a,0,b,1)|0;k[b+27856>>2]=c;d=k[b+27864>>2]|0;if(d>>>0<=7){e=d>>>1;f=e+f|0;k[b+27864>>2]=f;r=g;return 0}e=0;a=c+f|0;c=g;while(1){k[a>>2]=k[c>>2];e=e+1|0;if(e>>>0>=d>>>3>>>0)break;else{a=a+4|0;c=c+8|0}}e=d>>>1;f=e+f|0;k[b+27864>>2]=f;r=g;return 0}function Uya(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=r;r=r+2048|0;g=k[b+27864>>2]|0;c=k[b+27856>>2]|0;k[b+27856>>2]=h;k[b+27864>>2]=0;f=fya(a,0,b,1)|0;k[b+27856>>2]=c;a=k[b+27864>>2]|0;if(a>>>0<=7){e=a;e=e>>>1;g=e+g|0;k[b+27864>>2]=g;r=h;return f|0}e=0;c=c+g|0;d=h;while(1){k[c>>2]=k[d>>2];e=e+1|0;a=k[b+27864>>2]|0;if(e>>>0>=a>>>3>>>0)break;else{c=c+4|0;d=d+8|0}}e=a>>>1;g=e+g|0;k[b+27864>>2]=g;r=h;return f|0}function Vya(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=r;r=r+128|0;d=k[b+27856>>2]|0;f=k[b+27864>>2]|0;k[b+27856>>2]=g;k[b+27864>>2]=0;a=nj[k[b+19364>>2]&127](a,0,b,0)|0;k[b+27856>>2]=d;c=0;d=d+f|0;e=g;while(1){i[d>>0]=i[(k[b+9592>>2]|0)+(j[e>>1]>>3)>>0]|0;c=c+1|0;if((c|0)==32)break;else{d=d+1|0;e=e+4|0}}k[b+27864>>2]=f+32;r=g;return a|0}function Wya(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=r;r=r+128|0;d=k[b+27856>>2]|0;f=k[b+27864>>2]|0;k[b+27856>>2]=g;k[b+27864>>2]=0;a=nj[k[b+19364>>2]&127](a,0,b,0)|0;k[b+27856>>2]=d;c=0;d=d+f|0;e=g;while(1){i[d>>0]=i[(k[b+9592>>2]|0)+(j[e>>1]>>3)>>0]|0;i[d+1>>0]=i[(k[b+9592>>2]|0)+(j[e>>1]>>3)>>0]|0;c=c+1|0;if((c|0)==32)break;else{d=d+2|0;e=e+4|0}}k[b+27864>>2]=f+64;r=g;return a|0}function Xya(){return}function Yya(a,b,c){a=a|0;b=b|0;c=c|0;k[a+28>>2]=b;k[a+24>>2]=c;return}function Zya(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;if(!(_ya(a+28020|0,b,c)|0)){b=0;r=d;return b|0}if(k[a+28068>>2]&32|0){b=-1;r=d;return b|0}b=k[37151]|0;k[d>>2]=767;k[d+4>>2]=-1;Cob(b,512528,d)|0;b=-1;r=d;return b|0}function _ya(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;if((c|0)<=0){a=0;return a|0}d=k[a+4>>2]|0;while(1){if(!d)f=d;else{f=k[d+4>>2]|0;e=k[d+8>>2]|0;if((e|0)>(f|0)){e=(e-f|0)>(c|0)?c:e-f|0;ABb((k[d>>2]|0)+f|0,b|0,e|0)|0;f=k[a+4>>2]|0;k[f+4>>2]=(k[f+4>>2]|0)+e;k[a+8>>2]=(k[a+8>>2]|0)+e;c=c-e|0;b=b+e|0}else f=d}if((c|0)<=0){c=0;b=18;break}d=k[a+36>>2]|0;if(!d){e=k[a+24>>2]|0;d=hqb(16)|0;if(!d){c=-2;b=18;break}e=e>>>0>>0?c:e;k[d+8>>2]=e;e=hqb(e)|0;k[d>>2]=e;if(!e){b=11;break}k[d+4>>2]=0;k[d+12>>2]=0}else{k[a+36>>2]=k[d+12>>2];k[d+12>>2]=0;k[d+4>>2]=0;k[a+32>>2]=(k[a+32>>2]|0)+-1}if(!f){if(!(k[a>>2]|0))k[a>>2]=d}else k[f+12>>2]=d;k[a+4>>2]=d}if((b|0)==11){iqb(d);a=-2;return a|0}else if((b|0)==18)return c|0;return 0}function $ya(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=k[a+32>>2]|0;c=k[a+28>>2]|0;if(b>>>0>c>>>0){d=c;while(1){c=k[a+36>>2]|0;k[a+36>>2]=k[c+12>>2];if(!c)c=d;else{iqb(k[c>>2]|0);iqb(c);b=k[a+32>>2]|0;c=k[a+28>>2]|0}b=b+-1|0;k[a+32>>2]=b;if(b>>>0>c>>>0)d=c;else break}}if(b>>>0>=c>>>0)return;d=k[a+24>>2]|0;while(1){e=hqb(16)|0;if(!e){b=12;break}k[e+8>>2]=d;f=hqb(d)|0;k[e>>2]=f;if(!f){b=10;break}k[e+4>>2]=0;k[e+12>>2]=k[a+36>>2];k[a+36>>2]=e;b=b+1|0;k[a+32>>2]=b;if(b>>>0>=c>>>0){b=12;break}}if((b|0)==10){iqb(e);return}else if((b|0)==12)return}function aza(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=r;r=r+32|0;do if((k[a+28092>>2]|0)>0){if(!(k[a+27988>>2]|0)){e=lnb(k[a+27968>>2]|0,3,f+8|0)|0|2048;c=k[a+27968>>2]|0;k[f+16>>2]=e;lnb(c,4,f+16|0)|0;k[a+27984>>2]=119;k[a+27980>>2]=k[a+28092>>2];c=k[a+27976>>2]|32;k[a+27976>>2]=c;e=a+27976|0;b=a+27988|0;break}a=k[37151]|0;k[f>>2]=1031;Cob(a,512584,f)|0;a=-1;r=f;return a|0}else{k[a+27984>>2]=120;e=a+27976|0;b=a+27988|0;c=k[a+27976>>2]|0}while(0);b=k[b>>2]|0;k[a+28008>>2]=(b|0)==0?121:b;b=k[a+27992>>2]|0;b=(k[a+28336>>2]|0)>0?123:(b|0)==0?122:b;k[a+28012>>2]=b;if(!(c&64)){c=Ri[b&255](k[a+27968>>2]|0,0,2)|0;d=10}else{b=k[a+28e3>>2]|0;if(b|0){c=Ri[b&255](k[a+27972>>2]|0,0,2)|0;d=10}}do if((d|0)==10)if((c|0)>=0){if(!(k[e>>2]&64))b=Ri[k[a+28012>>2]&255](k[a+27968>>2]|0,-128,2)|0;else{b=k[a+28e3>>2]|0;if(!b)break;b=Ri[b&255](k[a+27972>>2]|0,-128,2)|0}if((b|0)>=0)if((Ri[k[(k[a+27956>>2]|0)+8>>2]&255](a,a+28396|0,128)|0)==128){d=(Dmb(a+28396|0,512734,3)|0)==0;c=d?c+-128|0:c;if(!(k[e>>2]&64))b=Ri[k[a+28012>>2]&255](k[a+27968>>2]|0,0,0)|0;else{b=k[a+28e3>>2]|0;if(!b)break;b=Ri[b&255](k[a+27972>>2]|0,0,0)|0}if(!((c|0)<1|(b|0)<0)){k[a+27960>>2]=c;k[a+27964>>2]=0;b=k[e>>2]|0;k[e>>2]=b|4;if(Dmb(a+28396|0,512734,3)|0){a=0;r=f;return a|0}k[e>>2]=b|6;k[a+28392>>2]=k[a+28392>>2]|1;a=0;r=f;return a|0}}}while(0);k[a+27960>>2]=-1;k[a+27964>>2]=0;b=k[a+28068>>2]|0;if(!(b&256)){a=0;r=f;return a|0}c=k[a+27956>>2]|0;do if((c|0)==36852){k[a+27956>>2]=36996;k[a+28016>>2]=35}else{if((c|0)==36900){k[a+27956>>2]=37044;k[a+28016>>2]=37;break}if(b&32|0){a=-1;r=f;return a|0}a=k[37151]|0;k[f+24>>2]=1090;Cob(a,513095,f+24|0)|0;a=-1;r=f;return a|0}while(0);k[a+28020>>2]=0;k[a+28020+4>>2]=0;k[a+28020+8>>2]=0;k[a+28020+12>>2]=0;k[a+28020+16>>2]=0;k[a+28020+20>>2]=0;k[a+27960>>2]=0;k[e>>2]=k[e>>2]|8;a=0;r=f;return a|0}function bza(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=r;r=r+144|0;k[e+136>>2]=k[a+27980>>2];k[e+136+4>>2]=0;d=e+8|0;f=d+128|0;do{k[d>>2]=0;d=d+4|0}while((d|0)<(f|0));f=k[a+27968>>2]|0;k[e+8+(f>>>5<<2)>>2]=1<<(f&31)|k[e+8+(f>>>5<<2)>>2];if((tpb(f+1|0,e+8|0,0,0,e+136|0)|0)>0){f=fqb(k[a+27968>>2]|0,b,c)|0;r=e;return f|0}if(k[a+28068>>2]&32|0){f=-1;r=e;return f|0}f=k[37151]|0;k[e>>2]=83;Cob(f,512694,e)|0;f=-1;r=e;return f|0}function cza(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(!(k[a+27976>>2]&64)){a=Ri[k[a+28008>>2]&255](k[a+27968>>2]|0,b,c)|0;return a|0}d=k[a+27996>>2]|0;if(!d){a=-1;return a|0}a=Ri[d&255](k[a+27972>>2]|0,b,c)|0;return a|0}function dza(a,b,c){a=a|0;b=b|0;c=c|0;return fqb(a,b,c)|0}function eza(a,b,c){a=a|0;b=b|0;c=c|0;return pnb(a,b,c)|0}function fza(a,b,c){a=a|0;b=b|0;c=c|0;return -1}function gza(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if((c|0)<=0){a=0;return a|0}d=0;while(1){e=Ri[k[a+27984>>2]&255](a,b+d|0,c-d|0)|0;if((e|0)<0){d=-1;e=8;break}if(!e){e=8;break}if(!(k[a+27976>>2]&8))k[a+27964>>2]=(k[a+27964>>2]|0)+e;d=e+d|0;if((d|0)>=(c|0)){e=8;break}}if((e|0)==8)return d|0;return 0}function hza(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0;m=r;r=r+64|0;if(k[a+27976>>2]&4|0){if(k[a+28068>>2]&32|0){l=-1;r=m;return l|0}l=k[37151]|0;k[m>>2]=97;Cob(l,512738,m)|0;l=-1;r=m;return l|0}if((c|0)<=0){l=0;r=m;return l|0}j=k[37151]|0;e=k[a+28584>>2]|0;d=0;a:while(1){h=c-d|0;if((e|0)<(h|0)){if((e|0)>0){e=Ri[k[a+27984>>2]&255](a,b+d|0,e)|0;if((e|0)<1){l=9;break}if(!(k[a+27976>>2]&8))k[a+27964>>2]=(k[a+27964>>2]|0)+e;d=e+d|0;e=(k[a+28584>>2]|0)-e|0;k[a+28584>>2]=e;if((e|0)<=0)l=15}else l=15;if((l|0)==15){l=0;e=Ri[k[a+27984>>2]&255](a,m+48|0,1)|0;if((e|0)<0){l=16;break}if(!e){l=39;break}if(!(k[a+27976>>2]&8))k[a+27964>>2]=(k[a+27964>>2]|0)+e;e=i[m+48>>0]|0;do if(e<<24>>24){h=hqb((e&255)<<4|1)|0;if(!h){if(!(k[a+28068>>2]&32)){k[m+32>>2]=177;k[m+32+4>>2]=(e&255)<<4;Cob(j,512943,m+32|0)|0}gj[k[(k[a+27956>>2]|0)+20>>2]&511](a,(e&255)<<4)|0;break}g=(e&255)<<4;do{f=Ri[k[a+27984>>2]&255](a,h+((e&255)<<4)+(0-g)|0,g)|0;g=g-f|0;if((f|0)<1){l=26;break a}}while((g|0)>0);g=k[a+27976>>2]|0;i[h+((e&255)<<4)>>0]=0;if(!(g&8))k[a+27964>>2]=(k[a+27964>>2]|0)+f;e=k[a+28576>>2]|0;if(e|0)iqb(e);k[a+28576>>2]=h;k[a+28392>>2]=k[a+28392>>2]|4}while(0);e=k[a+28580>>2]|0;k[a+28584>>2]=e}}else{g=b+d|0;if((h|0)>0)f=0;else{l=52;break}do{e=Ri[k[a+27984>>2]&255](a,g+f|0,h-f|0)|0;if((e|0)<0){d=h;l=47;break a}if(!e)break;if(!(k[a+27976>>2]&8))k[a+27964>>2]=(k[a+27964>>2]|0)+e;f=e+f|0}while((f|0)<(h|0));if((f|0)<0){d=h;l=47;break}if(!f){l=52;break}e=(k[a+28584>>2]|0)-f|0;k[a+28584>>2]=e;d=f+d|0}if((d|0)>=(c|0)){l=52;break}}if((l|0)==9)if(!e)l=39;else if(!(k[a+28068>>2]&32)){k[m+8>>2]=126;Cob(j,512822,m+8|0)|0;l=37}else l=37;else if((l|0)==16)if(!(k[a+28068>>2]&32)){k[m+16>>2]=145;Cob(j,512863,m+16|0)|0;l=37}else l=37;else if((l|0)==26)if(!(k[a+28068>>2]&32)){k[m+24>>2]=164;Cob(j,512903,m+24|0)|0;l=37}else l=37;else if((l|0)==47){if(k[a+28068>>2]&32|0){l=-1;r=m;return l|0}k[m+40>>2]=186;k[m+40+4>>2]=d;Cob(j,513048,m+40|0)|0;l=-1;r=m;return l|0}else if((l|0)==52){r=m;return d|0}if((l|0)==37){l=-1;r=m;return l|0}else if((l|0)==39){l=d;r=m;return l|0}return 0}function iza(a){a=a|0;var b=0,c=0,d=0,e=0;b=k[a+27976>>2]|0;if(b&1){iwa(k[a+27968>>2]|0)|0;b=k[a+27976>>2]|0}k[a+27968>>2]=0;if(b&8){b=k[a+28020>>2]|0;if(b|0)do{c=b+12|0;d=k[c>>2]|0;k[a+28020>>2]=d;e=k[a+28052>>2]|0;if(e>>>0<(k[a+28048>>2]|0)>>>0){k[c>>2]=k[a+28056>>2];k[a+28056>>2]=b;k[a+28052>>2]=e+1;b=d}else{iqb(k[b>>2]|0);iqb(b);b=k[a+28020>>2]|0}}while((b|0)!=0);$ya(a+28020|0);k[a+28020>>2]=0;k[a+28020+4>>2]=0;k[a+28020+8>>2]=0;k[a+28020+12>>2]=0;k[a+28020+16>>2]=0;k[a+28020+20>>2]=0;b=k[a+27976>>2]|0}if(!(b&64))return;b=k[a+28004>>2]|0;if(b|0)Si[b&1023](k[a+27972>>2]|0);k[a+27972>>2]=0;return}function jza(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;switch(Ri[k[(k[a+27956>>2]|0)+8>>2]&255](a,c,4)|0){case 4:{k[b>>2]=(l[c+1>>0]|0)<<16|(l[c>>0]|0)<<24|(l[c+2>>0]|0)<<8|(l[c+3>>0]|0);b=1;r=c;return b|0}case -10:{b=-10;r=c;return b|0}default:{b=0;r=c;return b|0}}return 0}function kza(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;switch(Ri[k[(k[a+27956>>2]|0)+8>>2]&255](a,c,1)|0){case 1:{k[b>>2]=l[c>>0]|0|k[b>>2]<<8;b=1;r=c;return b|0}case -10:{b=-10;r=c;return b|0}default:{b=0;r=c;return b|0}}return 0}function lza(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=r;r=r+1024|0;c=k[a+27976>>2]|0;if(c&4|0){if(!(c&64)){c=Ri[k[a+28012>>2]&255](k[a+27968>>2]|0,b,1)|0;d=6}else{c=k[a+28e3>>2]|0;if(!c)d=8;else{c=Ri[c&255](k[a+27972>>2]|0,b,1)|0;d=6}}if((d|0)==6)if((c|0)>-1)k[a+27964>>2]=c;else d=8;if((d|0)==8){k[a+28376>>2]=40;c=-1}d=(c|0)>-1?c:-1;r=e;return d|0}if((b|0)>-1){while(1){if((b|0)<=0){d=15;break}c=Ri[k[(k[a+27956>>2]|0)+8>>2]&255](a,e,(b|0)<1024?b:1024)|0;if((c|0)<0)break;if(!c){d=15;break}else b=b-c|0}if((d|0)==15)c=Gi[k[(k[a+27956>>2]|0)+36>>2]&2047](a)|0;d=c;r=e;return d|0}if(!(c&8)){k[a+28376>>2]=23;d=-1;r=e;return d|0}c=k[a+28032>>2]|0;if((c|0)<(0-b|0)){k[a+28376>>2]=23;d=-1;r=e;return d|0}else{k[a+28032>>2]=c+b;d=Gi[k[(k[a+27956>>2]|0)+36>>2]&2047](a)|0;r=e;return d|0}return 0}function mza(a,b,c){a=a|0;b=b|0;c=c|0;a=Ri[k[(k[a+27956>>2]|0)+8>>2]&255](a,b,c)|0;return ((a|0)==(c|0)?a:-10)|0}function nza(a,b){a=a|0;b=b|0;var c=0;c=(Gi[k[(k[a+27956>>2]|0)+36>>2]&2047](a)|0)-b|0;if((c|0)<0){a=-1;return a|0}a=((lza(a,0-b|0)|0)!=(c|0))<<31>>31;return a|0}function oza(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=r;r=r+16|0;if(!(k[a+27976>>2]&4))if((k[a+19748>>2]|0)>(b|0)){k[a+28376>>2]=23;e=-1;r=f;return e|0}d=rxa(a,b,f)|0;c=k[a+19748>>2]|0;if((c|0)>=(b|0)?1:(c|0)<(k[f>>2]|0)){c=d-(Gi[k[(k[a+27956>>2]|0)+36>>2]&2047](a)|0)|0;if((gj[k[(k[a+27956>>2]|0)+20>>2]&511](a,c)|0)==(d|0)){c=(k[f>>2]|0)+-1|0;k[a+19748>>2]=c;e=6}else c=-1}else e=6;a:do if((e|0)==6)if((c|0)<(b|0))while(1){if(!(kwa(a)|0)){c=0;break a}if((k[a+19748>>2]|0)>=(b|0)){c=0;break}}else c=0;while(0);e=c;r=f;return e|0}function pza(a){a=a|0;var b=0;if(!(k[a+27976>>2]&8)){a=k[a+27964>>2]|0;return a|0}else{b=(k[a+28032>>2]|0)+(k[a+28040>>2]|0)|0;k[a+27964>>2]=b;a=b;return a|0}return 0}function qza(a){a=a|0;var b=0,c=0,d=0;b=k[a+27976>>2]|0;if(b&4){if(!(b&64)){b=Ri[k[a+28012>>2]&255](k[a+27968>>2]|0,0,0)|0;d=6}else{b=k[a+28e3>>2]|0;if(!b)d=8;else{b=Ri[b&255](k[a+27972>>2]|0,0,0)|0;d=6}}if((d|0)==6)if((b|0)>-1){k[a+27964>>2]=b;c=a+27964|0}else d=8;if((d|0)==8){k[a+28376>>2]=40;c=a+27964|0;b=-1}k[c>>2]=b;k[a+28040>>2]=b;b=k[a+27976>>2]|0}if(!(b&8))return;k[a+28032>>2]=0;k[a+28036>>2]=0;k[a+27964>>2]=k[a+28040>>2];return}function rza(a){a=a|0;k[a+28020>>2]=0;k[a+28020+4>>2]=0;k[a+28020+8>>2]=0;k[a+28020+12>>2]=0;k[a+28020+16>>2]=0;k[a+28020+20>>2]=0;$ya(a+28020|0);k[a+27960>>2]=0;k[a+27964>>2]=0;k[a+27976>>2]=k[a+27976>>2]|8;return 0}function sza(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=k[a+28032>>2]|0;a:do if(((k[a+28028>>2]|0)-j|0)<(c|0)){k[a+28032>>2]=k[a+28036>>2];d=-10}else{d=k[a+28020>>2]|0;if(!d)d=0;else{e=0;while(1){i=k[d+4>>2]|0;g=e;e=i+e|0;if((e|0)>(j|0)){e=d;break}d=k[d+12>>2]|0;if(!d){d=0;break a}}if((c|0)>0){d=(i-(j-g)|0)<(c|0)?i-(j-g)|0:c;ABb(b|0,(k[e>>2]|0)+(j-g)|0,d|0)|0;h=(k[a+28032>>2]|0)+d|0;k[a+28032>>2]=h;f=k[e+12>>2]|0;if(f|0?(i-(j-g)|0)<(c|0):0)while(1){g=(k[e+4>>2]|0)+g|0;j=h-g|0;e=c-d|0;i=(k[f+4>>2]|0)-j|0;e=(e|0)>(i|0)?i:e;ABb(b+d|0,(k[f>>2]|0)+j|0,e|0)|0;d=e+d|0;h=(k[a+28032>>2]|0)+e|0;k[a+28032>>2]=h;e=k[f+12>>2]|0;if(!((d|0)<(c|0)&(e|0)!=0))break;else{j=f;f=e;e=j}}}else d=0}}while(0);return ((d|0)<0|(d|0)==(c|0)?d:-1)|0}function tza(a,b){a=a|0;b=b|0;var c=0;if((b|0)<=-1){b=-1;return b|0}c=k[a+28032>>2]|0;if(((k[a+28028>>2]|0)-c|0)<(b|0)){k[a+28032>>2]=k[a+28036>>2];b=-10;return b|0}k[a+28032>>2]=c+b;if((c+b|0)<0){b=c+b|0;return b|0}b=(k[a+28040>>2]|0)+(c+b)|0;return b|0}function uza(a,b){a=a|0;b=b|0;var c=0;do if((b|0)>-1){c=k[a+28032>>2]|0;if((c|0)<(b|0))c=-1;else{k[a+28032>>2]=c-b;c=c-b|0}}else{c=k[a+28032>>2]|0;if(((k[a+28028>>2]|0)-c|0)<(0-b|0)){k[a+28032>>2]=k[a+28036>>2];c=-10;break}k[a+28032>>2]=c-b;if((c-b|0)<0)c=c-b|0;else c=(k[a+28040>>2]|0)+(c-b)|0}while(0);return c>>31|0}function vza(a,b){a=a|0;b=b|0;return -1}function wza(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=k[a+28020>>2]|0;a:do if(!b){c=a+28040|0;b=0}else while(1){c=k[a+28032>>2]|0;d=k[b+4>>2]|0;if((c|0)<(d|0)){c=a+28040|0;break a}e=b+12|0;g=b;b=k[e>>2]|0;f=(b|0)==0;if(f)k[a+28024>>2]=0;k[a+28040>>2]=(k[a+28040>>2]|0)+d;k[a+28032>>2]=c-d;k[a+28028>>2]=(k[a+28028>>2]|0)-d;c=k[a+28052>>2]|0;if(c>>>0<(k[a+28048>>2]|0)>>>0){k[e>>2]=k[a+28056>>2];k[a+28056>>2]=g;k[a+28052>>2]=c+1}else{iqb(k[g>>2]|0);iqb(g)}if(f){c=a+28040|0;b=0;break}}while(0);k[a+28020>>2]=b;g=k[a+28032>>2]|0;k[a+28036>>2]=g;k[a+27964>>2]=(k[c>>2]|0)+g;return}function xza(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0;l=r;r=r+4128|0;d=k[a+28028>>2]|0;e=k[a+28032>>2]|0;do if((d-e|0)<(c|0)){e=c-d+e|0;while(1){if((e|0)<=0){d=15;break}d=Ri[k[a+28016>>2]&255](a,l+24|0,4096)|0;if((d|0)<0){d=5;break}if((d|0)<=0){d=12;break}f=_ya(a+28020|0,l+24|0,d)|0;if(f|0){d=9;break}if(d>>>0<4096){d=12;break}else e=e-d|0}if((d|0)==5){if(!(k[a+28068>>2]&32)){a=k[37151]|0;k[l>>2]=844;Cob(a,513160,l)|0}}else if((d|0)==9){if(!(k[a+28068>>2]&32)){a=k[37151]|0;k[l+8>>2]=851;k[l+8+4>>2]=f;Cob(a,513198,l+8|0)|0}}else if((d|0)==12)if(!(k[a+28068>>2]&32))if((k[a+28064>>2]|0)>2){Dpb(513256,22,1,k[37151]|0)|0;d=15}else d=15;else d=15;if((d|0)==15){d=k[a+28028>>2]|0;e=k[a+28032>>2]|0;j=(d-e|0)<(c|0)?d-e|0:c;break}a=-1;r=l;return a|0}else j=c;while(0);a:do if((d-e|0)<(j|0)){k[a+28032>>2]=k[a+28036>>2];d=-10}else{d=k[a+28020>>2]|0;if(!d)d=0;else{f=0;while(1){c=k[d+4>>2]|0;i=f;f=c+f|0;if((f|0)>(e|0)){h=d;break}d=k[d+12>>2]|0;if(!d){d=0;break a}}if((j|0)>0){f=e-i|0;g=(j|0)>(c-f|0);d=g?c-f|0:j;ABb(b|0,(k[h>>2]|0)+f|0,d|0)|0;f=(k[a+28032>>2]|0)+d|0;k[a+28032>>2]=f;e=k[h+12>>2]|0;if(g&(e|0)!=0){g=f;f=h;c=i;while(1){c=(k[f+4>>2]|0)+c|0;i=g-c|0;f=j-d|0;h=(k[e+4>>2]|0)-i|0;f=(f|0)>(h|0)?h:f;ABb(b+d|0,(k[e>>2]|0)+i|0,f|0)|0;d=f+d|0;g=(k[a+28032>>2]|0)+f|0;k[a+28032>>2]=g;f=k[e+12>>2]|0;if(!((d|0)<(j|0)&(f|0)!=0))break;else{i=e;e=f;f=i}}}}else d=0}}while(0);if((d|0)==(j|0)){a=j;r=l;return a|0}if(k[a+28068>>2]&32|0){a=-1;r=l;return a|0}a=k[37151]|0;k[l+16>>2]=869;Cob(a,513279,l+16|0)|0;a=-1;r=l;return a|0}function yza(a,b){a=a|0;b=b|0;Uwa(a+28576|0);k[a+27960>>2]=-1;k[a+27968>>2]=-1;k[a+27972>>2]=b;k[a+27976>>2]=64;b=k[a+28336>>2]|0;if((b|0)>0){k[a+28580>>2]=b;k[a+28584>>2]=b;b=36900}else b=36852;k[a+27956>>2]=b;return (Gi[k[b>>2]&2047](a)|0)>>31|0}function zza(){var a=0,b=0.0;a=0;do{b=.5/+Z(+(+(a|0)*.09817477042468103+.04908738521234052));o[663296+(a<<2)>>2]=b;a=a+1|0}while((a|0)!=16);o[165840]=.5024192929267883;o[165841]=.522498607635498;o[165842]=.5669440627098083;o[165843]=.6468217968940735;o[165844]=.7881546020507812;o[165845]=1.0606776475906372;o[165846]=1.722447156906128;o[165847]=5.10114860534668;o[165848]=.509795606136322;o[165849]=.601344883441925;o[165850]=.8999761939048767;o[165851]=2.562915563583374;o[165852]=.5411961078643799;o[165853]=1.3065630197525024;o[301597]=.7071067690849304;return}function Aza(){if(k[178939]|0)return 0;Bza();Fza();zza();k[178939]=1;return 0}function Bza(){var a=0,b=0,c=0,d=0,e=0;k[165854]=1;k[165855]=1;k[165856]=1;k[165857]=0;k[165858]=1;k[165859]=1;k[165860]=2;k[165861]=1;k[165862]=1;k[165863]=1;k[165864]=0;k[165865]=1;k[165866]=0;k[165867]=0;k[165868]=1;k[165869]=2;k[165870]=0;k[165871]=1;k[165872]=1;k[165873]=2;k[165874]=1;k[165875]=0;k[165876]=2;k[165877]=1;k[165878]=2;k[165879]=2;k[165880]=1;k[165881]=1;k[165882]=1;k[165883]=0;k[165884]=0;k[165885]=1;k[165886]=0;k[165887]=2;k[165888]=1;k[165889]=0;k[165890]=1;k[165891]=0;k[165892]=0;k[165893]=0;k[165894]=0;k[165895]=0;k[165896]=2;k[165897]=0;k[165898]=0;k[165899]=1;k[165900]=2;k[165901]=0;k[165902]=0;k[165903]=2;k[165904]=0;k[165905]=2;k[165906]=2;k[165907]=0;k[165908]=1;k[165909]=1;k[165910]=2;k[165911]=0;k[165912]=1;k[165913]=2;k[165914]=2;k[165915]=1;k[165916]=2;k[165917]=1;k[165918]=0;k[165919]=2;k[165920]=0;k[165921]=0;k[165922]=2;k[165923]=2;k[165924]=0;k[165925]=2;k[165926]=1;k[165927]=2;k[165928]=2;k[165929]=0;k[165930]=2;k[165931]=2;k[165932]=2;k[165933]=2;k[165934]=2;a=663800;b=0;while(1){e=k[37128+(b<<2)>>2]|0;k[a>>2]=17;k[a+4>>2]=17;k[a+8>>2]=e;k[a+12>>2]=18;k[a+16>>2]=17;k[a+20>>2]=e;k[a+24>>2]=0;k[a+28>>2]=17;k[a+32>>2]=e;k[a+36>>2]=19;k[a+40>>2]=17;k[a+44>>2]=e;k[a+48>>2]=20;k[a+52>>2]=17;k[a+56>>2]=e;k[a+60>>2]=17;k[a+64>>2]=18;k[a+68>>2]=e;k[a+72>>2]=18;k[a+76>>2]=18;k[a+80>>2]=e;k[a+84>>2]=0;k[a+88>>2]=18;k[a+92>>2]=e;k[a+96>>2]=19;k[a+100>>2]=18;k[a+104>>2]=e;k[a+108>>2]=20;k[a+112>>2]=18;k[a+116>>2]=e;k[a+120>>2]=17;k[a+124>>2]=0;k[a+128>>2]=e;k[a+132>>2]=18;k[a+136>>2]=0;k[a+140>>2]=e;k[a+144>>2]=0;k[a+148>>2]=0;k[a+152>>2]=e;k[a+156>>2]=19;k[a+160>>2]=0;k[a+164>>2]=e;k[a+168>>2]=20;k[a+172>>2]=0;k[a+176>>2]=e;k[a+180>>2]=17;k[a+184>>2]=19;k[a+188>>2]=e;k[a+192>>2]=18;k[a+196>>2]=19;k[a+200>>2]=e;k[a+204>>2]=0;k[a+208>>2]=19;k[a+212>>2]=e;k[a+216>>2]=19;k[a+220>>2]=19;k[a+224>>2]=e;k[a+228>>2]=20;k[a+232>>2]=19;k[a+236>>2]=e;k[a+240>>2]=17;k[a+244>>2]=20;k[a+248>>2]=e;k[a+252>>2]=18;k[a+256>>2]=20;k[a+260>>2]=e;k[a+264>>2]=0;k[a+268>>2]=20;k[a+272>>2]=e;k[a+276>>2]=19;k[a+280>>2]=20;k[a+284>>2]=e;k[a+288>>2]=20;k[a+292>>2]=20;k[a+296>>2]=e;b=b+1|0;if((b|0)>=5){b=665336;a=0;break}else a=a+300|0}do{e=k[37164+(a<<2)>>2]|0;c=b;d=0;while(1){b=k[37164+(d<<2)>>2]|0;k[c>>2]=21;k[c+4>>2]=b;k[c+8>>2]=e;k[c+12>>2]=1;k[c+16>>2]=b;k[c+20>>2]=e;k[c+24>>2]=22;k[c+28>>2]=b;k[c+32>>2]=e;k[c+36>>2]=23;k[c+40>>2]=b;k[c+44>>2]=e;k[c+48>>2]=0;k[c+52>>2]=b;k[c+56>>2]=e;k[c+60>>2]=24;k[c+64>>2]=b;k[c+68>>2]=e;k[c+72>>2]=25;k[c+76>>2]=b;k[c+80>>2]=e;k[c+84>>2]=2;k[c+88>>2]=b;k[c+92>>2]=e;k[c+96>>2]=26;k[c+100>>2]=b;b=c+108|0;k[c+104>>2]=e;d=d+1|0;if((d|0)>=9)break;else c=b}a=a+1|0}while((a|0)<9);return}function Cza(a){a=a|0;var b=0,c=0;b=k[a+16>>2]|0;a:{if(i[1249046]|0){c=Gi[b&2047](484285)|0;k[165145]=c;c=Gi[b&2047](479084)|0;k[164960]=c;c=Gi[b&2047](479060)|0;k[164959]=c;c=Gi[b&2047](478999)|0;k[164956]=c;c=Gi[b&2047](479018)|0;k[164957]=c;c=Gi[b&2047](479038)|0;k[164958]=c}if(i[1249047]|0){c=Gi[b&2047](484307)|0;k[165146]=c;c=Gi[b&2047](484320)|0;k[165147]=c;c=Gi[b&2047](484334)|0;k[165148]=c;c=Gi[b&2047](484354)|0;k[165149]=c;c=Gi[b&2047](484382)|0;k[165150]=c;c=Gi[b&2047](484398)|0;k[165151]=c;c=Gi[b&2047](484422)|0;k[165152]=c;c=Gi[b&2047](484438)|0;k[165153]=c}if(i[1249048]|0){c=Gi[b&2047](484454)|0;k[165154]=c;c=Gi[b&2047](484482)|0;k[165155]=c;c=Gi[b&2047](484515)|0;k[165156]=c;c=Gi[b&2047](484552)|0;k[165157]=c}if(i[1249049]|0){c=Gi[b&2047](484585)|0;k[165158]=c;c=Gi[b&2047](484610)|0;k[165159]=c}if(i[1249050]|0){c=Gi[b&2047](484637)|0;k[165160]=c}if(i[1249051]|0){c=Gi[b&2047](484658)|0;k[165161]=c}if(i[1249052]|0){c=Gi[b&2047](484694)|0;k[165162]=c;c=Gi[b&2047](484714)|0;k[165163]=c;c=Gi[b&2047](484736)|0;k[165164]=c;c=Gi[b&2047](484761)|0;k[165165]=c;c=Gi[b&2047](484783)|0;k[165166]=c;c=Gi[b&2047](484808)|0;k[165167]=c;c=Gi[b&2047](484840)|0;k[165168]=c;c=Gi[b&2047](484859)|0;k[165169]=c;c=Gi[b&2047](484880)|0;k[165170]=c;c=Gi[b&2047](484904)|0;k[165171]=c;c=Gi[b&2047](484925)|0;k[165172]=c;c=Gi[b&2047](484953)|0;k[165173]=c;c=Gi[b&2047](484979)|0;k[165174]=c;c=Gi[b&2047](485005)|0;k[165175]=c;c=Gi[b&2047](485031)|0;k[165176]=c;c=Gi[b&2047](485060)|0;k[165177]=c;c=Gi[b&2047](485101)|0;k[165178]=c}if(i[1249054]|0){c=Gi[b&2047](485121)|0;k[165179]=c}if(i[1249055]|0){c=Gi[b&2047](485145)|0;k[165180]=c}if(i[1249056]|0){c=Gi[b&2047](485168)|0;k[165181]=c;c=Gi[b&2047](485197)|0;k[165182]=c}if(i[1249057]|0){c=Gi[b&2047](485228)|0;k[165183]=c;c=Gi[b&2047](476947)|0;k[164866]=c;c=Gi[b&2047](485247)|0;k[165184]=c;c=Gi[b&2047](485272)|0;k[165185]=c;c=Gi[b&2047](485288)|0;k[165186]=c;c=Gi[b&2047](485304)|0;k[165187]=c;c=Gi[b&2047](485320)|0;k[165188]=c;c=Gi[b&2047](485336)|0;k[165189]=c;c=Gi[b&2047](485353)|0;k[165190]=c;c=Gi[b&2047](485370)|0;k[165191]=c;c=Gi[b&2047](485387)|0;k[165192]=c}if(i[1249058]|0){c=Gi[b&2047](484585)|0;k[165158]=c;c=Gi[b&2047](484610)|0;k[165159]=c;c=Gi[b&2047](485404)|0;k[165193]=c}if(i[1249059]|0){c=Gi[b&2047](485429)|0;k[165194]=c;c=Gi[b&2047](485449)|0;k[165195]=c}if(i[1249060]|0){c=Gi[b&2047](485477)|0;k[165196]=c;c=Gi[b&2047](485506)|0;k[165197]=c}if(i[1249061]|0){c=Gi[b&2047](484658)|0;k[165161]=c;c=Gi[b&2047](485537)|0;k[165198]=c}if(i[1249062]|0){c=Gi[b&2047](485574)|0;k[165199]=c;c=Gi[b&2047](485597)|0;k[165200]=c;c=Gi[b&2047](485621)|0;k[165201]=c}if(i[1249063]|0){c=Gi[b&2047](484062)|0;k[165133]=c;c=Gi[b&2047](484078)|0;k[165134]=c;c=Gi[b&2047](484097)|0;k[165135]=c;c=Gi[b&2047](484110)|0;k[165136]=c;c=Gi[b&2047](484126)|0;k[165137]=c;c=Gi[b&2047](484158)|0;k[165139]=c;c=Gi[b&2047](484196)|0;k[165141]=c}if(i[1249066]|0){c=Gi[b&2047](485640)|0;k[165202]=c}if(i[1249067]|0){c=Gi[b&2047](485664)|0;k[165203]=c}if(i[1249068]|0){c=Gi[b&2047](485690)|0;k[165204]=c}if(i[1249070]|0){c=Gi[b&2047](485711)|0;k[165205]=c}if(i[1249071]|0){c=Gi[b&2047](485730)|0;k[165206]=c;c=Gi[b&2047](485758)|0;k[165207]=c;c=Gi[b&2047](485775)|0;k[165208]=c;c=Gi[b&2047](485794)|0;k[165209]=c}if(i[1249072]|0){c=Gi[b&2047](485813)|0;k[165210]=c;c=Gi[b&2047](485835)|0;k[165211]=c;c=Gi[b&2047](485854)|0;k[165212]=c;c=Gi[b&2047](485879)|0;k[165213]=c;c=Gi[b&2047](485904)|0;k[165214]=c;c=Gi[b&2047](485929)|0;k[165215]=c;c=Gi[b&2047](485955)|0;k[165216]=c;c=Gi[b&2047](485983)|0;k[165217]=c;c=Gi[b&2047](486008)|0;k[165218]=c;c=Gi[b&2047](486039)|0;k[165219]=c;c=Gi[b&2047](486065)|0;k[165220]=c;c=Gi[b&2047](485145)|0;k[165180]=c;c=Gi[b&2047](479832)|0;k[164986]=c;c=Gi[b&2047](480008)|0;k[164994]=c;c=Gi[b&2047](479920)|0;k[164990]=c;c=Gi[b&2047](480100)|0;k[164998]=c;c=Gi[b&2047](479854)|0;k[164987]=c;c=Gi[b&2047](480031)|0;k[164995]=c;c=Gi[b&2047](479942)|0;k[164991]=c;c=Gi[b&2047](480123)|0;k[164999]=c;c=Gi[b&2047](479876)|0;k[164988]=c;c=Gi[b&2047](480054)|0;k[164996]=c;c=Gi[b&2047](479964)|0;k[164992]=c;c=Gi[b&2047](480146)|0;k[165e3]=c;c=Gi[b&2047](479898)|0;k[164989]=c;c=Gi[b&2047](480077)|0;k[164997]=c;c=Gi[b&2047](479986)|0;k[164993]=c;c=Gi[b&2047](480169)|0;k[165001]=c;c=Gi[b&2047](480192)|0;k[165002]=c;c=Gi[b&2047](480221)|0;k[165003]=c;c=Gi[b&2047](480250)|0;k[165004]=c;c=Gi[b&2047](486088)|0;k[165221]=c;c=Gi[b&2047](486110)|0;k[165222]=c;c=Gi[b&2047](480724)|0;k[165021]=c;c=Gi[b&2047](480747)|0;k[165022]=c;c=Gi[b&2047](480770)|0;k[165023]=c;c=Gi[b&2047](480793)|0;k[165024]=c;c=Gi[b&2047](480816)|0;k[165025]=c;c=Gi[b&2047](480840)|0;k[165026]=c;c=Gi[b&2047](480864)|0;k[165027]=c;c=Gi[b&2047](480888)|0;k[165028]=c;c=Gi[b&2047](480250)|0;k[165004]=c;c=Gi[b&2047](480279)|0;k[165005]=c;c=Gi[b&2047](480310)|0;k[165006]=c;c=Gi[b&2047](480341)|0;k[165007]=c;c=Gi[b&2047](480372)|0;k[165008]=c;c=Gi[b&2047](480403)|0;k[165009]=c;c=Gi[b&2047](480434)|0;k[165010]=c}if(i[1249073]|0){c=Gi[b&2047](486139)|0;k[165223]=c;c=Gi[b&2047](486161)|0;k[165224]=c}if(i[1249074]|0){c=Gi[b&2047](486180)|0;k[165225]=c}if(i[1249077]|0){c=Gi[b&2047](486203)|0;k[165226]=c}if(i[1249078]|0){c=Gi[b&2047](486224)|0;k[165227]=c}if(i[1249079]|0){c=Gi[b&2047](486245)|0;k[165228]=c}if(i[1249080]|0){c=Gi[b&2047](486274)|0;k[165229]=c;c=Gi[b&2047](486295)|0;k[165230]=c;c=Gi[b&2047](486317)|0;k[165231]=c;c=Gi[b&2047](486341)|0;k[165232]=c;c=Gi[b&2047](486366)|0;k[165233]=c;c=Gi[b&2047](486391)|0;k[165234]=c;c=Gi[b&2047](486417)|0;k[165235]=c;c=Gi[b&2047](486445)|0;k[165236]=c}if(i[1249081]|0){c=Gi[b&2047](486474)|0;k[165237]=c;c=Gi[b&2047](486489)|0;k[165238]=c}if(i[1249082]|0){c=Gi[b&2047](486474)|0;k[165237]=c}if(i[1249087]|0){c=Gi[b&2047](485711)|0;k[165205]=c}if(i[1249088]|0){c=Gi[b&2047](486274)|0;k[165229]=c;c=Gi[b&2047](486295)|0;k[165230]=c;c=Gi[b&2047](486317)|0;k[165231]=c;c=Gi[b&2047](486341)|0;k[165232]=c;c=Gi[b&2047](486509)|0;k[165239]=c;c=Gi[b&2047](486527)|0;k[165240]=c}if(i[1249091]|0){c=Gi[b&2047](486546)|0;k[165241]=c;c=Gi[b&2047](486564)|0;k[165242]=c;c=Gi[b&2047](486582)|0;k[165243]=c;c=Gi[b&2047](483594)|0;k[165118]=c;c=Gi[b&2047](483616)|0;k[165119]=c;c=Gi[b&2047](483638)|0;k[165120]=c}if(i[1249092]|0){c=Gi[b&2047](486600)|0;k[165244]=c}if(i[1249093]|0){c=Gi[b&2047](484219)|0;k[165142]=c;c=Gi[b&2047](484243)|0;k[165143]=c}if(i[1249094]|0){c=Gi[b&2047](486617)|0;k[165245]=c;c=Gi[b&2047](486645)|0;k[165246]=c;c=Gi[b&2047](486671)|0;k[165247]=c;c=Gi[b&2047](486692)|0;k[165248]=c;c=Gi[b&2047](486714)|0;k[165249]=c;c=Gi[b&2047](486734)|0;k[165250]=c;c=Gi[b&2047](486765)|0;k[165251]=c}if(i[1249095]|0){c=Gi[b&2047](486798)|0;k[165252]=c;c=Gi[b&2047](486819)|0;k[165253]=c;c=Gi[b&2047](486840)|0;k[165254]=c;c=Gi[b&2047](486861)|0;k[165255]=c;c=Gi[b&2047](486882)|0;k[165256]=c;c=Gi[b&2047](486904)|0;k[165257]=c;c=Gi[b&2047](486926)|0;k[165258]=c;c=Gi[b&2047](486948)|0;k[165259]=c;c=Gi[b&2047](486970)|0;k[165260]=c;c=Gi[b&2047](486996)|0;k[165261]=c}if(i[1249096]|0){c=Gi[b&2047](487020)|0;k[165262]=c}if(i[1249098]|0){c=Gi[b&2047](487036)|0;k[165263]=c}if(i[1249099]|0){c=Gi[b&2047](487058)|0;k[165264]=c;c=Gi[b&2047](487071)|0;k[165265]=c;c=Gi[b&2047](487085)|0;k[165266]=c;c=Gi[b&2047](487105)|0;k[165267]=c;c=Gi[b&2047](487133)|0;k[165268]=c;c=Gi[b&2047](487149)|0;k[165269]=c;c=Gi[b&2047](487173)|0;k[165270]=c;c=Gi[b&2047](487189)|0;k[165271]=c}if(i[1249100]|0){c=Gi[b&2047](487205)|0;k[165272]=c;c=Gi[b&2047](487233)|0;k[165273]=c;c=Gi[b&2047](487266)|0;k[165274]=c;c=Gi[b&2047](487303)|0;k[165275]=c}if(i[1249101]|0){c=Gi[b&2047](487336)|0;k[165276]=c;c=Gi[b&2047](487365)|0;k[165277]=c}if(i[1249102]|0){c=Gi[b&2047](487404)|0;k[165278]=c}if(i[1249103]|0){c=Gi[b&2047](487428)|0;k[165279]=c;c=Gi[b&2047](487450)|0;k[165280]=c}if(i[1249104]|0){c=Gi[b&2047](487469)|0;k[165281]=c;c=Gi[b&2047](487484)|0;k[165282]=c;c=Gi[b&2047](487501)|0;k[165283]=c}if(i[1249106]|0){c=Gi[b&2047](487524)|0;k[165284]=c}if(i[1249108]|0){c=Gi[b&2047](487550)|0;k[165285]=c}if(i[1249109]|0){c=Gi[b&2047](487572)|0;k[165286]=c}if(i[1249110]|0){c=Gi[b&2047](487593)|0;k[165287]=c;c=Gi[b&2047](487609)|0;k[165288]=c;c=Gi[b&2047](487628)|0;k[165289]=c;c=Gi[b&2047](487651)|0;k[165290]=c;c=Gi[b&2047](487677)|0;k[165291]=c;c=Gi[b&2047](487706)|0;k[165292]=c}if(i[1249111]|0){c=Gi[b&2047](487732)|0;k[165293]=c;c=Gi[b&2047](487753)|0;k[165294]=c;c=Gi[b&2047](487775)|0;k[165295]=c;c=Gi[b&2047](487799)|0;k[165296]=c;c=Gi[b&2047](487824)|0;k[165297]=c;c=Gi[b&2047](487849)|0;k[165298]=c;c=Gi[b&2047](487875)|0;k[165299]=c;c=Gi[b&2047](487903)|0;k[165300]=c}if(i[1249112]|0){c=Gi[b&2047](487932)|0;k[165301]=c;c=Gi[b&2047](487947)|0;k[165302]=c}if(i[1249115]|0){c=Gi[b&2047](487967)|0;k[165303]=c}if(i[1249116]|0){c=Gi[b&2047](487996)|0;k[165304]=c}if(i[1249117]|0){c=Gi[b&2047](488013)|0;k[165305]=c;c=Gi[b&2047](488034)|0;k[165306]=c;c=Gi[b&2047](488058)|0;k[165307]=c;c=Gi[b&2047](488079)|0;k[165308]=c}if(i[1249118]|0){c=Gi[b&2047](488098)|0;k[165309]=c;c=Gi[b&2047](488122)|0;k[165310]=c;c=Gi[b&2047](488146)|0;k[165311]=c;c=Gi[b&2047](488172)|0;k[165312]=c}if(i[1249119]|0){c=Gi[b&2047](488196)|0;k[165313]=c;c=Gi[b&2047](488218)|0;k[165314]=c;c=Gi[b&2047](488248)|0;k[165315]=c;c=Gi[b&2047](488274)|0;k[165316]=c}if(i[1249120]|0){c=Gi[b&2047](488308)|0;k[165317]=c;c=Gi[b&2047](488324)|0;k[165318]=c;c=Gi[b&2047](488340)|0;k[165319]=c;c=Gi[b&2047](488356)|0;k[165320]=c;c=Gi[b&2047](488372)|0;k[165321]=c;c=Gi[b&2047](488389)|0;k[165322]=c;c=Gi[b&2047](488406)|0;k[165323]=c;c=Gi[b&2047](488423)|0;k[165324]=c;c=Gi[b&2047](488440)|0;k[165325]=c;c=Gi[b&2047](488457)|0;k[165326]=c;c=Gi[b&2047](488474)|0;k[165327]=c;c=Gi[b&2047](488491)|0;k[165328]=c;c=Gi[b&2047](488508)|0;k[165329]=c;c=Gi[b&2047](488526)|0;k[165330]=c;c=Gi[b&2047](488544)|0;k[165331]=c;c=Gi[b&2047](488562)|0;k[165332]=c;c=Gi[b&2047](488580)|0;k[165333]=c;c=Gi[b&2047](488599)|0;k[165334]=c;c=Gi[b&2047](488619)|0;k[165335]=c;c=Gi[b&2047](488642)|0;k[165336]=c;c=Gi[b&2047](488665)|0;k[165337]=c;c=Gi[b&2047](488688)|0;k[165338]=c;c=Gi[b&2047](488711)|0;k[165339]=c;c=Gi[b&2047](488735)|0;k[165340]=c;c=Gi[b&2047](488759)|0;k[165341]=c;c=Gi[b&2047](488783)|0;k[165342]=c;c=Gi[b&2047](488807)|0;k[165343]=c;c=Gi[b&2047](488831)|0;k[165344]=c;c=Gi[b&2047](488855)|0;k[165345]=c;c=Gi[b&2047](488879)|0;k[165346]=c;c=Gi[b&2047](488903)|0;k[165347]=c;c=Gi[b&2047](488928)|0;k[165348]=c;c=Gi[b&2047](488953)|0;k[165349]=c;c=Gi[b&2047](488978)|0;k[165350]=c}if(i[1249121]|0){c=Gi[b&2047](489003)|0;k[165351]=c}if(i[1249122]|0){c=Gi[b&2047](489031)|0;k[165352]=c;c=Gi[b&2047](489060)|0;k[165353]=c}if(i[1249123]|0){c=Gi[b&2047](489091)|0;k[165354]=c;c=Gi[b&2047](489105)|0;k[165355]=c;c=Gi[b&2047](489122)|0;k[165356]=c}if(i[1249124]|0){c=Gi[b&2047](489134)|0;k[165357]=c}if(i[1249125]|0){c=Gi[b&2047](489162)|0;k[165358]=c;c=Gi[b&2047](489188)|0;k[165359]=c;c=Gi[b&2047](489216)|0;k[165360]=c;c=Gi[b&2047](489247)|0;k[165361]=c;c=Gi[b&2047](489280)|0;k[165362]=c;c=Gi[b&2047](489311)|0;k[165363]=c;c=Gi[b&2047](489332)|0;k[165364]=c;c=Gi[b&2047](489356)|0;k[165365]=c;c=Gi[b&2047](489387)|0;k[165366]=c;c=Gi[b&2047](489409)|0;k[165367]=c;c=Gi[b&2047](489429)|0;k[165368]=c}if(i[1249126]|0){c=Gi[b&2047](489460)|0;k[165369]=c}if(i[1249127]|0){c=Gi[b&2047](489482)|0;k[165370]=c;c=Gi[b&2047](489504)|0;k[165371]=c}if(i[1249128]|0){c=Gi[b&2047](489530)|0;k[165372]=c}if(i[1249129]|0){c=Gi[b&2047](489550)|0;k[165373]=c;c=Gi[b&2047](489574)|0;k[165374]=c}if(i[1249130]|0){c=Gi[b&2047](489596)|0;k[165375]=c}if(i[1249131]|0){c=Gi[b&2047](489619)|0;k[165376]=c}if(i[1249132]|0){c=Gi[b&2047](489657)|0;k[165377]=c;c=Gi[b&2047](489684)|0;k[165378]=c;c=Gi[b&2047](489713)|0;k[165379]=c}if(i[1249136]|0){c=Gi[b&2047](489740)|0;k[165380]=c}if(i[1249138]|0){c=Gi[b&2047](489773)|0;k[165381]=c}if(i[1249139]|0){c=Gi[b&2047](489798)|0;k[165382]=c;c=Gi[b&2047](489820)|0;k[165383]=c;c=Gi[b&2047](489844)|0;k[165384]=c;c=Gi[b&2047](489873)|0;k[165385]=c;c=Gi[b&2047](489902)|0;k[165386]=c}if(i[1249140]|0){c=Gi[b&2047](489936)|0;k[165387]=c;c=Gi[b&2047](489953)|0;k[165388]=c;c=Gi[b&2047](489973)|0;k[165389]=c;c=Gi[b&2047](489989)|0;k[165390]=c;c=Gi[b&2047](490004)|0;k[165391]=c;c=Gi[b&2047](490021)|0;k[165392]=c;c=Gi[b&2047](490040)|0;k[165393]=c;c=Gi[b&2047](490058)|0;k[165394]=c}if(i[1249141]|0){c=Gi[b&2047](490078)|0;k[165395]=c;c=Gi[b&2047](490102)|0;k[165396]=c}if(i[1249142]|0){c=Gi[b&2047](490132)|0;k[165397]=c;c=Gi[b&2047](490170)|0;k[165398]=c}if(i[1249143]|0){c=Gi[b&2047](490207)|0;k[165399]=c;c=Gi[b&2047](490230)|0;k[165400]=c;c=Gi[b&2047](490255)|0;k[165401]=c}if(i[1249144]|0){c=Gi[b&2047](490283)|0;k[165402]=c;c=Gi[b&2047](490300)|0;k[165403]=c;c=Gi[b&2047](490314)|0;k[165404]=c;c=Gi[b&2047](490332)|0;k[165405]=c;c=Gi[b&2047](490354)|0;k[165406]=c;c=Gi[b&2047](490370)|0;k[165407]=c;c=Gi[b&2047](490391)|0;k[165408]=c}if(i[1249145]|0){c=Gi[b&2047](490408)|0;k[165409]=c;c=Gi[b&2047](490428)|0;k[165410]=c}if(i[1249146]|0){c=Gi[b&2047](490459)|0;k[165411]=c;c=Gi[b&2047](490482)|0;k[165412]=c;c=Gi[b&2047](490508)|0;k[165413]=c;c=Gi[b&2047](490531)|0;k[165414]=c}if(i[1249147]|0){c=Gi[b&2047](490552)|0;k[165415]=c;c=Gi[b&2047](490576)|0;k[165416]=c;c=Gi[b&2047](490605)|0;k[165417]=c}if(i[1249148]|0){c=Gi[b&2047](490634)|0;k[165418]=c;c=Gi[b&2047](490660)|0;k[165419]=c;c=Gi[b&2047](490687)|0;k[165420]=c;c=Gi[b&2047](490716)|0;k[165421]=c;c=Gi[b&2047](490741)|0;k[165422]=c;c=Gi[b&2047](490766)|0;k[165423]=c;c=Gi[b&2047](490791)|0;k[165424]=c}if(i[1249150]|0){c=Gi[b&2047](490816)|0;k[165425]=c}if(i[1249151]|0){c=Gi[b&2047](490841)|0;k[165426]=c}if(i[1249152]|0){c=Gi[b&2047](490863)|0;k[165427]=c;c=Gi[b&2047](490899)|0;k[165428]=c}if(i[1249154]|0){c=Gi[b&2047](490936)|0;k[165429]=c}if(i[1249155]|0){c=Gi[b&2047](490960)|0;k[165430]=c}if(i[1249156]|0){c=Gi[b&2047](490998)|0;k[165431]=c;c=Gi[b&2047](491017)|0;k[165432]=c;c=Gi[b&2047](491039)|0;k[165433]=c}if(i[1249157]|0){c=Gi[b&2047](491059)|0;k[165434]=c;c=Gi[b&2047](491081)|0;k[165435]=c;c=Gi[b&2047](491104)|0;k[165436]=c;c=Gi[b&2047](491127)|0;k[165437]=c;c=Gi[b&2047](491147)|0;k[165438]=c;c=Gi[b&2047](491174)|0;k[165439]=c;c=Gi[b&2047](491200)|0;k[165440]=c;c=Gi[b&2047](491226)|0;k[165441]=c;c=Gi[b&2047](491250)|0;k[165442]=c;c=Gi[b&2047](491278)|0;k[165443]=c}if(i[1249158]|0){c=Gi[b&2047](491302)|0;k[165444]=c;c=Gi[b&2047](491338)|0;k[165445]=c}if(i[1249159]|0){c=Gi[b&2047](491376)|0;k[165446]=c;c=Gi[b&2047](491417)|0;k[165447]=c}if(i[1249160]|0){c=Gi[b&2047](491460)|0;k[165448]=c;c=Gi[b&2047](491481)|0;k[165449]=c;c=Gi[b&2047](491509)|0;k[165450]=c;c=Gi[b&2047](491539)|0;k[165451]=c;c=Gi[b&2047](491572)|0;k[165452]=c;c=Gi[b&2047](491591)|0;k[165453]=c;c=Gi[b&2047](491619)|0;k[165454]=c;c=Gi[b&2047](491650)|0;k[165455]=c;c=Gi[b&2047](491672)|0;k[165456]=c;c=Gi[b&2047](491695)|0;k[165457]=c;c=Gi[b&2047](491724)|0;k[165458]=c;c=Gi[b&2047](491754)|0;k[165459]=c;c=Gi[b&2047](491782)|0;k[165460]=c}if(i[1249161]|0){c=Gi[b&2047](491808)|0;k[165461]=c;c=Gi[b&2047](491828)|0;k[165462]=c}if(i[1249162]|0){c=Gi[b&2047](491845)|0;k[165463]=c;c=Gi[b&2047](491862)|0;k[165464]=c;c=Gi[b&2047](491879)|0;k[165465]=c;c=Gi[b&2047](491891)|0;k[165466]=c;c=Gi[b&2047](491908)|0;k[165467]=c;c=Gi[b&2047](491929)|0;k[165468]=c;c=Gi[b&2047](491947)|0;k[165469]=c;c=Gi[b&2047](491964)|0;k[165470]=c;c=Gi[b&2047](491988)|0;k[165471]=c;c=Gi[b&2047](492011)|0;k[165472]=c;c=Gi[b&2047](492041)|0;k[165473]=c;c=Gi[b&2047](492064)|0;k[165474]=c;c=Gi[b&2047](492087)|0;k[165475]=c;c=Gi[b&2047](492105)|0;k[165476]=c;c=Gi[b&2047](492138)|0;k[165477]=c;c=Gi[b&2047](492162)|0;k[165478]=c;c=Gi[b&2047](492185)|0;k[165479]=c}if(i[1249163]|0){c=Gi[b&2047](492205)|0;k[165480]=c;c=Gi[b&2047](492232)|0;k[165481]=c}if(i[1249164]|0){c=Gi[b&2047](492257)|0;k[165482]=c}if(i[1249165]|0){c=Gi[b&2047](492283)|0;k[165483]=c}if(i[1249166]|0){c=Gi[b&2047](492316)|0;k[165484]=c}if(i[1249167]|0){c=Gi[b&2047](492338)|0;k[165485]=c}if(i[1249168]|0){c=Gi[b&2047](492359)|0;k[165486]=c;c=Gi[b&2047](492376)|0;k[165487]=c}if(i[1249169]|0){c=Gi[b&2047](492398)|0;k[165488]=c;c=Gi[b&2047](492414)|0;k[165489]=c;c=Gi[b&2047](492430)|0;k[165490]=c}if(i[1249170]|0){c=Gi[b&2047](492447)|0;k[165491]=c}if(i[1249171]|0){c=Gi[b&2047](492463)|0;k[165492]=c;c=Gi[b&2047](492487)|0;k[165493]=c}if(i[1249172]|0){c=Gi[b&2047](492513)|0;k[165494]=c}if(i[1249173]|0){c=Gi[b&2047](492529)|0;k[165495]=c;c=Gi[b&2047](492550)|0;k[165496]=c;c=Gi[b&2047](492572)|0;k[165497]=c}if(i[1249174]|0){c=Gi[b&2047](492592)|0;k[165498]=c;c=Gi[b&2047](492609)|0;k[165499]=c;c=Gi[b&2047](492623)|0;k[165500]=c;c=Gi[b&2047](492635)|0;k[165501]=c;c=Gi[b&2047](492649)|0;k[165502]=c;c=Gi[b&2047](492664)|0;k[165503]=c;c=Gi[b&2047](492680)|0;k[165504]=c}if(i[1249175]|0){c=Gi[b&2047](492693)|0;k[165505]=c}if(i[1249176]|0){c=Gi[b&2047](492719)|0;k[165506]=c}if(i[1249177]|0){c=Gi[b&2047](485711)|0;k[165205]=c;c=Gi[b&2047](492739)|0;k[165507]=c;c=Gi[b&2047](492767)|0;k[165508]=c;c=Gi[b&2047](492798)|0;k[165509]=c}if(i[1249178]|0){c=Gi[b&2047](492821)|0;k[165510]=c}if(i[1249179]|0){c=Gi[b&2047](492856)|0;k[165511]=c}if(i[1249180]|0){c=Gi[b&2047](492899)|0;k[165512]=c;c=Gi[b&2047](485121)|0;k[165179]=c;c=Gi[b&2047](486245)|0;k[165228]=c;c=Gi[b&2047](492922)|0;k[165513]=c}if(i[1249181]|0){c=Gi[b&2047](492950)|0;k[165514]=c;c=Gi[b&2047](492979)|0;k[165515]=c;c=Gi[b&2047](493009)|0;k[165516]=c;c=Gi[b&2047](493040)|0;k[165517]=c;c=Gi[b&2047](493070)|0;k[165518]=c;c=Gi[b&2047](493101)|0;k[165519]=c;c=Gi[b&2047](493133)|0;k[165520]=c;c=Gi[b&2047](493160)|0;k[165521]=c;c=Gi[b&2047](493188)|0;k[165522]=c;c=Gi[b&2047](493217)|0;k[165523]=c;c=Gi[b&2047](493245)|0;k[165524]=c;c=Gi[b&2047](493274)|0;k[165525]=c;c=Gi[b&2047](493304)|0;k[165526]=c;c=Gi[b&2047](493336)|0;k[165527]=c;c=Gi[b&2047](493369)|0;k[165528]=c;c=Gi[b&2047](493399)|0;k[165529]=c}if(i[1249182]|0){c=Gi[b&2047](493430)|0;k[165530]=c;c=Gi[b&2047](493465)|0;k[165531]=c}if(i[1249183]|0){c=Gi[b&2047](488308)|0;k[165317]=c;c=Gi[b&2047](488324)|0;k[165318]=c;c=Gi[b&2047](488340)|0;k[165319]=c;c=Gi[b&2047](488356)|0;k[165320]=c;c=Gi[b&2047](488372)|0;k[165321]=c;c=Gi[b&2047](488389)|0;k[165322]=c;c=Gi[b&2047](488406)|0;k[165323]=c;c=Gi[b&2047](488423)|0;k[165324]=c;c=Gi[b&2047](488440)|0;k[165325]=c;c=Gi[b&2047](488457)|0;k[165326]=c;c=Gi[b&2047](488474)|0;k[165327]=c;c=Gi[b&2047](488491)|0;k[165328]=c;c=Gi[b&2047](488508)|0;k[165329]=c;c=Gi[b&2047](488526)|0;k[165330]=c;c=Gi[b&2047](488544)|0;k[165331]=c;c=Gi[b&2047](488562)|0;k[165332]=c;c=Gi[b&2047](488580)|0;k[165333]=c;c=Gi[b&2047](488619)|0;k[165335]=c;c=Gi[b&2047](488642)|0;k[165336]=c;c=Gi[b&2047](488665)|0;k[165337]=c;c=Gi[b&2047](488688)|0;k[165338]=c;c=Gi[b&2047](488711)|0;k[165339]=c;c=Gi[b&2047](488735)|0;k[165340]=c;c=Gi[b&2047](488759)|0;k[165341]=c;c=Gi[b&2047](488783)|0;k[165342]=c;c=Gi[b&2047](488807)|0;k[165343]=c;c=Gi[b&2047](488831)|0;k[165344]=c;c=Gi[b&2047](488855)|0;k[165345]=c;c=Gi[b&2047](488879)|0;k[165346]=c;c=Gi[b&2047](488903)|0;k[165347]=c;c=Gi[b&2047](488928)|0;k[165348]=c;c=Gi[b&2047](488953)|0;k[165349]=c;c=Gi[b&2047](488978)|0;k[165350]=c}if(i[1249184]|0){c=Gi[b&2047](493502)|0;k[165532]=c;c=Gi[b&2047](493515)|0;k[165533]=c;c=Gi[b&2047](493529)|0;k[165534]=c;c=Gi[b&2047](493542)|0;k[165535]=c;c=Gi[b&2047](493556)|0;k[165536]=c;c=Gi[b&2047](493569)|0;k[165537]=c;c=Gi[b&2047](493583)|0;k[165538]=c;c=Gi[b&2047](493596)|0;k[165539]=c;c=Gi[b&2047](493610)|0;k[165540]=c;c=Gi[b&2047](493622)|0;k[165541]=c;c=Gi[b&2047](493635)|0;k[165542]=c;c=Gi[b&2047](493647)|0;k[165543]=c;c=Gi[b&2047](493660)|0;k[165544]=c;c=Gi[b&2047](493675)|0;k[165545]=c;c=Gi[b&2047](493691)|0;k[165546]=c;c=Gi[b&2047](493706)|0;k[165547]=c;c=Gi[b&2047](493722)|0;k[165548]=c;c=Gi[b&2047](493737)|0;k[165549]=c;c=Gi[b&2047](493753)|0;k[165550]=c;c=Gi[b&2047](493768)|0;k[165551]=c;c=Gi[b&2047](493784)|0;k[165552]=c;c=Gi[b&2047](493804)|0;k[165553]=c;c=Gi[b&2047](493825)|0;k[165554]=c;c=Gi[b&2047](493845)|0;k[165555]=c;c=Gi[b&2047](493866)|0;k[165556]=c;c=Gi[b&2047](493886)|0;k[165557]=c;c=Gi[b&2047](493907)|0;k[165558]=c;c=Gi[b&2047](493927)|0;k[165559]=c;c=Gi[b&2047](493948)|0;k[165560]=c;c=Gi[b&2047](493962)|0;k[165561]=c;c=Gi[b&2047](493977)|0;k[165562]=c;c=Gi[b&2047](493998)|0;k[165563]=c;c=Gi[b&2047](494020)|0;k[165564]=c;c=Gi[b&2047](494038)|0;k[165565]=c;c=Gi[b&2047](494057)|0;k[165566]=c;c=Gi[b&2047](494076)|0;k[165567]=c;c=Gi[b&2047](494096)|0;k[165568]=c;c=Gi[b&2047](494115)|0;k[165569]=c;c=Gi[b&2047](494135)|0;k[165570]=c;c=Gi[b&2047](494154)|0;k[165571]=c;c=Gi[b&2047](494174)|0;k[165572]=c;c=Gi[b&2047](494193)|0;k[165573]=c;c=Gi[b&2047](494213)|0;k[165574]=c;c=Gi[b&2047](494234)|0;k[165575]=c;c=Gi[b&2047](494255)|0;k[165576]=c;c=Gi[b&2047](494276)|0;k[165577]=c}if(i[1249185]|0){c=Gi[b&2047](494297)|0;k[165578]=c}if(i[1249186]|0){c=Gi[b&2047](494321)|0;k[165579]=c}if(i[1249187]|0){c=Gi[b&2047](494351)|0;k[165580]=c;c=Gi[b&2047](494374)|0;k[165581]=c;c=Gi[b&2047](494397)|0;k[165582]=c;c=Gi[b&2047](494420)|0;k[165583]=c;c=Gi[b&2047](494443)|0;k[165584]=c;c=Gi[b&2047](494466)|0;k[165585]=c}if(i[1249188]|0){c=Gi[b&2047](494489)|0;k[165586]=c;c=Gi[b&2047](494513)|0;k[165587]=c;c=Gi[b&2047](494540)|0;k[165588]=c;c=Gi[b&2047](494561)|0;k[165589]=c;c=Gi[b&2047](494585)|0;k[165590]=c;c=Gi[b&2047](494607)|0;k[165591]=c;c=Gi[b&2047](494631)|0;k[165592]=c}if(i[1249189]|0){c=Gi[b&2047](494656)|0;k[165593]=c;c=Gi[b&2047](494686)|0;k[165594]=c;c=Gi[b&2047](494717)|0;k[165595]=c}if(i[1249190]|0){c=Gi[b&2047](494749)|0;k[165596]=c;c=Gi[b&2047](494762)|0;k[165597]=c;c=Gi[b&2047](494778)|0;k[165598]=c;c=Gi[b&2047](494789)|0;k[165599]=c;c=Gi[b&2047](494806)|0;k[165600]=c;c=Gi[b&2047](494821)|0;k[165601]=c;c=Gi[b&2047](494841)|0;k[165602]=c;c=Gi[b&2047](494859)|0;k[165603]=c;c=Gi[b&2047](494874)|0;k[165604]=c;c=Gi[b&2047](494889)|0;k[165605]=c;c=Gi[b&2047](494908)|0;k[165606]=c;c=Gi[b&2047](494924)|0;k[165607]=c;c=Gi[b&2047](494937)|0;k[165608]=c;c=Gi[b&2047](494958)|0;k[165609]=c;c=Gi[b&2047](494976)|0;k[165610]=c;c=Gi[b&2047](494996)|0;k[165611]=c;c=Gi[b&2047](495015)|0;k[165612]=c;c=Gi[b&2047](495035)|0;k[165613]=c;c=Gi[b&2047](495054)|0;k[165614]=c;c=Gi[b&2047](495072)|0;k[165615]=c;c=Gi[b&2047](495092)|0;k[165616]=c;c=Gi[b&2047](495119)|0;k[165617]=c;c=Gi[b&2047](495139)|0;k[165618]=c;c=Gi[b&2047](495161)|0;k[165619]=c;c=Gi[b&2047](495190)|0;k[165620]=c;c=Gi[b&2047](495221)|0;k[165621]=c;c=Gi[b&2047](495244)|0;k[165622]=c;c=Gi[b&2047](495262)|0;k[165623]=c;c=Gi[b&2047](495282)|0;k[165624]=c;c=Gi[b&2047](495309)|0;k[165625]=c;c=Gi[b&2047](495338)|0;k[165626]=c;c=Gi[b&2047](495361)|0;k[165627]=c;c=Gi[b&2047](495384)|0;k[165628]=c;c=Gi[b&2047](495404)|0;k[165629]=c;c=Gi[b&2047](495422)|0;k[165630]=c;c=Gi[b&2047](495443)|0;k[165631]=c;c=Gi[b&2047](495462)|0;k[165632]=c;c=Gi[b&2047](495485)|0;k[165633]=c;c=Gi[b&2047](495504)|0;k[165634]=c;c=Gi[b&2047](495526)|0;k[165635]=c;c=Gi[b&2047](495550)|0;k[165636]=c;c=Gi[b&2047](495568)|0;k[165637]=c;c=Gi[b&2047](495587)|0;k[165638]=c;c=Gi[b&2047](495606)|0;k[165639]=c;c=Gi[b&2047](495625)|0;k[165640]=c;c=Gi[b&2047](495653)|0;k[165641]=c;c=Gi[b&2047](495672)|0;k[165642]=c;c=Gi[b&2047](495691)|0;k[165643]=c;c=Gi[b&2047](495719)|0;k[165644]=c;c=Gi[b&2047](495748)|0;k[165645]=c;c=Gi[b&2047](495779)|0;k[165646]=c;c=Gi[b&2047](495817)|0;k[165647]=c;c=Gi[b&2047](495857)|0;k[165648]=c;c=Gi[b&2047](495881)|0;k[165649]=c;c=Gi[b&2047](495905)|0;k[165650]=c;c=Gi[b&2047](495935)|0;k[165651]=c;c=Gi[b&2047](495967)|0;k[165652]=c;c=Gi[b&2047](495992)|0;k[165653]=c;c=Gi[b&2047](496009)|0;k[165654]=c;c=Gi[b&2047](496024)|0;k[165655]=c;c=Gi[b&2047](496039)|0;k[165656]=c;c=Gi[b&2047](496061)|0;k[165657]=c;c=Gi[b&2047](496083)|0;k[165658]=c;c=Gi[b&2047](496103)|0;k[165659]=c}if(i[1249191]|0){c=Gi[b&2047](496123)|0;k[165660]=c}if(i[1249192]|0){c=Gi[b&2047](496139)|0;k[165661]=c;c=Gi[b&2047](496161)|0;k[165662]=c;c=Gi[b&2047](496186)|0;k[165663]=c;c=Gi[b&2047](496201)|0;k[165664]=c;c=Gi[b&2047](496217)|0;k[165665]=c;c=Gi[b&2047](496234)|0;k[165666]=c}if(i[1249193]|0){c=Gi[b&2047](496252)|0;k[165667]=c;c=Gi[b&2047](496273)|0;k[165668]=c}if(i[1249194]|0){c=Gi[b&2047](496299)|0;k[165669]=c}if(i[1249195]|0){c=Gi[b&2047](496314)|0;k[165670]=c;c=Gi[b&2047](496347)|0;k[165671]=c;c=Gi[b&2047](496385)|0;k[165672]=c}if(i[1249196]|0){c=Gi[b&2047](496408)|0;k[165673]=c;c=Gi[b&2047](496431)|0;k[165674]=c;c=Gi[b&2047](496457)|0;k[165675]=c;c=Gi[b&2047](496478)|0;k[165676]=c;c=Gi[b&2047](496506)|0;k[165677]=c;c=Gi[b&2047](496537)|0;k[165678]=c;c=Gi[b&2047](496563)|0;k[165679]=c;c=Gi[b&2047](496591)|0;k[165680]=c;c=Gi[b&2047](496624)|0;k[165681]=c;c=Gi[b&2047](496644)|0;k[165682]=c;c=Gi[b&2047](496660)|0;k[165683]=c;c=Gi[b&2047](488599)|0;k[165334]=c;c=Gi[b&2047](496677)|0;k[165684]=c;c=Gi[b&2047](496700)|0;k[165685]=c}if(i[1249197]|0){c=Gi[b&2047](496724)|0;k[165686]=c}if(i[1249199]|0){c=Gi[b&2047](496743)|0;k[165687]=c;c=Gi[b&2047](496777)|0;k[165688]=c;c=Gi[b&2047](496811)|0;k[165689]=c;c=Gi[b&2047](496841)|0;k[165690]=c;c=Gi[b&2047](496871)|0;k[165691]=c;c=Gi[b&2047](496909)|0;k[165692]=c}if(i[1249200]|0){c=Gi[b&2047](496947)|0;k[165693]=c;c=Gi[b&2047](496974)|0;k[165694]=c;c=Gi[b&2047](496999)|0;k[165695]=c;c=Gi[b&2047](497028)|0;k[165696]=c;c=Gi[b&2047](497048)|0;k[165697]=c;c=Gi[b&2047](497069)|0;k[165698]=c;c=Gi[b&2047](497088)|0;k[165699]=c;c=Gi[b&2047](497118)|0;k[165700]=c;c=Gi[b&2047](497136)|0;k[165701]=c;c=Gi[b&2047](497159)|0;k[165702]=c;c=Gi[b&2047](497180)|0;k[165703]=c;c=Gi[b&2047](497212)|0;k[165704]=c}if(i[1249201]|0){c=Gi[b&2047](497247)|0;k[165705]=c;c=Gi[b&2047](497273)|0;k[165706]=c;c=Gi[b&2047](497302)|0;k[165707]=c;c=Gi[b&2047](497328)|0;k[165708]=c;c=Gi[b&2047](497352)|0;k[165709]=c;c=Gi[b&2047](497379)|0;k[165710]=c;c=Gi[b&2047](497407)|0;k[165711]=c}if(i[1249202]|0){c=Gi[b&2047](497433)|0;k[165712]=c;c=Gi[b&2047](497447)|0;k[165713]=c;c=Gi[b&2047](497461)|0;k[165714]=c;c=Gi[b&2047](497491)|0;k[165715]=c;c=Gi[b&2047](497522)|0;k[165716]=c;c=Gi[b&2047](497541)|0;k[165717]=c;c=Gi[b&2047](497568)|0;k[165718]=c;c=Gi[b&2047](497590)|0;k[165719]=c;c=Gi[b&2047](497613)|0;k[165720]=c;c=Gi[b&2047](497634)|0;k[165721]=c}if(i[1249203]|0){c=Gi[b&2047](497657)|0;k[165722]=c;c=Gi[b&2047](497679)|0;k[165723]=c;c=Gi[b&2047](497701)|0;k[165724]=c;c=Gi[b&2047](497723)|0;k[165725]=c;c=Gi[b&2047](497745)|0;k[165726]=c;c=Gi[b&2047](497768)|0;k[165727]=c;c=Gi[b&2047](497791)|0;k[165728]=c;c=Gi[b&2047](497814)|0;k[165729]=c;c=Gi[b&2047](497837)|0;k[165730]=c;c=Gi[b&2047](497860)|0;k[165731]=c;c=Gi[b&2047](497883)|0;k[165732]=c;c=Gi[b&2047](497906)|0;k[165733]=c;c=Gi[b&2047](497929)|0;k[165734]=c;c=Gi[b&2047](497953)|0;k[165735]=c;c=Gi[b&2047](497977)|0;k[165736]=c;c=Gi[b&2047](498001)|0;k[165737]=c;c=Gi[b&2047](498025)|0;k[165738]=c;c=Gi[b&2047](498050)|0;k[165739]=c;c=Gi[b&2047](498076)|0;k[165740]=c}if(i[1249204]|0){c=Gi[b&2047](498100)|0;k[165741]=c;c=Gi[b&2047](498123)|0;k[165742]=c;c=Gi[b&2047](498140)|0;k[165743]=c;c=Gi[b&2047](498157)|0;k[165744]=c;c=Gi[b&2047](498173)|0;k[165745]=c;c=Gi[b&2047](498189)|0;k[165746]=c;c=Gi[b&2047](498208)|0;k[165747]=c;c=Gi[b&2047](498227)|0;k[165748]=c;c=Gi[b&2047](498252)|0;k[165749]=c;c=Gi[b&2047](498271)|0;k[165750]=c;c=Gi[b&2047](498294)|0;k[165751]=c;c=Gi[b&2047](498318)|0;k[165752]=c}if(i[1249205]|0){c=Gi[b&2047](498340)|0;k[165753]=c;c=Gi[b&2047](498361)|0;k[165754]=c;c=Gi[b&2047](498382)|0;k[165755]=c;c=Gi[b&2047](498403)|0;k[165756]=c;c=Gi[b&2047](498424)|0;k[165757]=c;c=Gi[b&2047](498446)|0;k[165758]=c;c=Gi[b&2047](498468)|0;k[165759]=c;c=Gi[b&2047](498490)|0;k[165760]=c;c=Gi[b&2047](498512)|0;k[165761]=c;c=Gi[b&2047](498534)|0;k[165762]=c;c=Gi[b&2047](498556)|0;k[165763]=c;c=Gi[b&2047](498578)|0;k[165764]=c;c=Gi[b&2047](498600)|0;k[165765]=c;c=Gi[b&2047](498623)|0;k[165766]=c;c=Gi[b&2047](498646)|0;k[165767]=c;c=Gi[b&2047](498669)|0;k[165768]=c;c=Gi[b&2047](498692)|0;k[165769]=c;c=Gi[b&2047](498714)|0;k[165770]=c;c=Gi[b&2047](498736)|0;k[165771]=c;c=Gi[b&2047](498759)|0;k[165772]=c;c=Gi[b&2047](498782)|0;k[165773]=c;c=Gi[b&2047](498808)|0;k[165774]=c;c=Gi[b&2047](498832)|0;k[165775]=c}if(i[1249206]|0){c=Gi[b&2047](498857)|0;k[165776]=c;c=Gi[b&2047](498879)|0;k[165777]=c;c=Gi[b&2047](498912)|0;k[165778]=c;c=Gi[b&2047](498946)|0;k[165779]=c;c=Gi[b&2047](498966)|0;k[165780]=c;c=Gi[b&2047](498988)|0;k[165781]=c;c=Gi[b&2047](499016)|0;k[165782]=c;c=Gi[b&2047](499044)|0;k[165783]=c;c=Gi[b&2047](499072)|0;k[165784]=c;c=Gi[b&2047](499089)|0;k[165785]=c;c=Gi[b&2047](499123)|0;k[165786]=c;c=Gi[b&2047](499157)|0;k[165787]=c}if(i[1249207]|0){c=Gi[b&2047](499191)|0;k[165788]=c;c=Gi[b&2047](499210)|0;k[165789]=c;c=Gi[b&2047](499231)|0;k[165790]=c;c=Gi[b&2047](499253)|0;k[165791]=c;c=Gi[b&2047](499271)|0;k[165792]=c;c=Gi[b&2047](499290)|0;k[165793]=c;c=Gi[b&2047](499310)|0;k[165794]=c;c=Gi[b&2047](499332)|0;k[165795]=c;c=Gi[b&2047](499355)|0;k[165796]=c;c=Gi[b&2047](499371)|0;k[165797]=c;c=Gi[b&2047](499383)|0;k[165798]=c;c=Gi[b&2047](499396)|0;k[165799]=c}if(i[1249208]|0){c=Gi[b&2047](499411)|0;k[165800]=c;c=Gi[b&2047](499439)|0;k[165801]=c}if(i[1249209]|0){c=Gi[b&2047](499465)|0;k[165802]=c}if(i[1249210]|0){c=Gi[b&2047](499498)|0;k[165803]=c}if(i[1249211]|0){c=Gi[b&2047](499542)|0;k[165804]=c}if(i[1249212]|0){c=Gi[b&2047](499558)|0;k[165805]=c;c=Gi[b&2047](499582)|0;k[165806]=c;c=Gi[b&2047](499611)|0;k[165807]=c;c=Gi[b&2047](499637)|0;k[165808]=c}if(i[1249213]|0){c=Gi[b&2047](499664)|0;k[165809]=c;c=Gi[b&2047](499685)|0;k[165810]=c;c=Gi[b&2047](499705)|0;k[165811]=c;c=Gi[b&2047](499731)|0;k[165812]=c;c=Gi[b&2047](499756)|0;k[165813]=c;c=Gi[b&2047](499788)|0;k[165814]=c;c=Gi[b&2047](499821)|0;k[165815]=c;c=Gi[b&2047](499845)|0;k[165816]=c}if(i[1249214]|0){c=Gi[b&2047](499872)|0;k[165817]=c;c=Gi[b&2047](499892)|0;k[165818]=c;c=Gi[b&2047](499913)|0;k[165819]=c;c=Gi[b&2047](499938)|0;k[165820]=c}if(!(i[1249215]|0)){b=1;k[a+24272>>2]=6;k[a+24276>>2]=b|0;break a}c=Gi[b&2047](499970)|0;k[165821]=c;b=Gi[b&2047](499988)|0;k[165822]=b;b=1;k[a+24272>>2]=6;k[a+24276>>2]=b|0;break a}k[a+24>>2]=b}function Dza(a){a=a|0;var b=0;a=k[a+16>>2]|0;if(i[1248953]|0){b=Gi[a&2047](457628)|0;k[163762]=b;b=Gi[a&2047](457650)|0;k[164550]=b;b=Gi[a&2047](457671)|0;k[164169]=b;b=Gi[a&2047](457694)|0;k[163876]=b;b=Gi[a&2047](457715)|0;k[163968]=b;b=Gi[a&2047](457732)|0;k[163907]=b;b=Gi[a&2047](457748)|0;k[164416]=b;b=Gi[a&2047](457762)|0;k[164207]=b;b=Gi[a&2047](457779)|0;k[164063]=b;b=Gi[a&2047](457796)|0;k[164015]=b;b=Gi[a&2047](612758)|0;k[163926]=b;b=Gi[a&2047](473829)|0;k[164734]=b;b=Gi[a&2047](473854)|0;k[164735]=b;b=Gi[a&2047](473878)|0;k[164736]=b;b=Gi[a&2047](473904)|0;k[164737]=b;b=Gi[a&2047](473928)|0;k[164738]=b;b=Gi[a&2047](473948)|0;k[164739]=b;b=Gi[a&2047](473967)|0;k[164740]=b;b=Gi[a&2047](473984)|0;k[164741]=b;b=Gi[a&2047](474004)|0;k[164742]=b;b=Gi[a&2047](474024)|0;k[164743]=b;b=Gi[a&2047](474047)|0;k[164744]=b}if(i[1248954]|0){b=Gi[a&2047](460517)|0;k[163841]=b;b=Gi[a&2047](460647)|0;k[164542]=b;b=Gi[a&2047](460598)|0;k[164378]=b;b=Gi[a&2047](460614)|0;k[164276]=b;b=Gi[a&2047](460630)|0;k[164421]=b;b=Gi[a&2047](474064)|0;k[164745]=b;b=Gi[a&2047](474092)|0;k[164746]=b;b=Gi[a&2047](474109)|0;k[164747]=b;b=Gi[a&2047](474128)|0;k[164748]=b;b=Gi[a&2047](474147)|0;k[164749]=b}if(i[1248956]|0){b=Gi[a&2047](456527)|0;k[164726]=b;b=Gi[a&2047](456561)|0;k[163734]=b;b=Gi[a&2047](456597)|0;k[163964]=b}if(i[1248957]|0){b=Gi[a&2047](474167)|0;k[164750]=b;b=Gi[a&2047](474189)|0;k[164751]=b;b=Gi[a&2047](474218)|0;k[164752]=b;b=Gi[a&2047](474249)|0;k[164753]=b;b=Gi[a&2047](474283)|0;k[164754]=b;b=Gi[a&2047](474303)|0;k[164755]=b;b=Gi[a&2047](474332)|0;k[164756]=b;b=Gi[a&2047](474364)|0;k[164757]=b;b=Gi[a&2047](474387)|0;k[164758]=b;b=Gi[a&2047](474411)|0;k[164759]=b;b=Gi[a&2047](474441)|0;k[164760]=b;b=Gi[a&2047](474472)|0;k[164761]=b;b=Gi[a&2047](474501)|0;k[164762]=b;b=Gi[a&2047](474528)|0;k[164763]=b;b=Gi[a&2047](474552)|0;k[164764]=b;b=Gi[a&2047](474577)|0;k[164765]=b}if(i[1248958]|0){b=Gi[a&2047](452770)|0;k[164043]=b;b=Gi[a&2047](452800)|0;k[163802]=b}if(i[1248959]|0){b=Gi[a&2047](457816)|0;k[164529]=b}if(i[1248960]|0){b=Gi[a&2047](474604)|0;k[164766]=b}if(i[1248961]|0){b=Gi[a&2047](456850)|0;k[164553]=b;b=Gi[a&2047](456868)|0;k[164247]=b}if(i[1248962]|0){b=Gi[a&2047](457832)|0;k[164131]=b;b=Gi[a&2047](457848)|0;k[163870]=b}if(i[1248963]|0){b=Gi[a&2047](457974)|0;k[164731]=b}if(i[1248964]|0){b=Gi[a&2047](474631)|0;k[164767]=b}if(i[1248965]|0){b=Gi[a&2047](456889)|0;k[164026]=b;b=Gi[a&2047](456907)|0;k[164496]=b}if(i[1248966]|0){b=Gi[a&2047](474647)|0;k[164768]=b}if(i[1248967]|0){b=Gi[a&2047](452214)|0;k[164706]=b}if(i[1248968]|0){b=Gi[a&2047](456933)|0;k[164044]=b}if(i[1248969]|0){b=Gi[a&2047](474677)|0;k[164769]=b;b=Gi[a&2047](474702)|0;k[164770]=b;b=Gi[a&2047](474726)|0;k[164771]=b;b=Gi[a&2047](474752)|0;k[164772]=b}if(i[1248970]|0){b=Gi[a&2047](457988)|0;k[164180]=b;b=Gi[a&2047](458015)|0;k[163868]=b;b=Gi[a&2047](458045)|0;k[163925]=b;b=Gi[a&2047](458076)|0;k[163830]=b;b=Gi[a&2047](458101)|0;k[163996]=b;b=Gi[a&2047](458127)|0;k[164104]=b;b=Gi[a&2047](458155)|0;k[164724]=b;b=Gi[a&2047](458171)|0;k[164067]=b;b=Gi[a&2047](458192)|0;k[164678]=b;b=Gi[a&2047](458210)|0;k[164435]=b;b=Gi[a&2047](458231)|0;k[163798]=b;b=Gi[a&2047](458256)|0;k[164310]=b;b=Gi[a&2047](458279)|0;k[164683]=b;b=Gi[a&2047](458305)|0;k[163917]=b;b=Gi[a&2047](458322)|0;k[164684]=b;b=Gi[a&2047](458344)|0;k[164301]=b;b=Gi[a&2047](458363)|0;k[164443]=b;b=Gi[a&2047](458393)|0;k[163731]=b;b=Gi[a&2047](458421)|0;k[164623]=b;b=Gi[a&2047](458451)|0;k[164495]=b;b=Gi[a&2047](458476)|0;k[164440]=b;b=Gi[a&2047](458500)|0;k[164614]=b;b=Gi[a&2047](458521)|0;k[164459]=b;b=Gi[a&2047](458552)|0;k[164725]=b;b=Gi[a&2047](458581)|0;k[163799]=b;b=Gi[a&2047](458607)|0;k[164685]=b;b=Gi[a&2047](458638)|0;k[164410]=b;b=Gi[a&2047](458667)|0;k[163932]=b;b=Gi[a&2047](458697)|0;k[164270]=b;b=Gi[a&2047](458726)|0;k[164392]=b;b=Gi[a&2047](458759)|0;k[164497]=b;b=Gi[a&2047](458795)|0;k[164592]=b;b=Gi[a&2047](458821)|0;k[164e3]=b;b=Gi[a&2047](458848)|0;k[164438]=b;b=Gi[a&2047](458874)|0;k[163752]=b;b=Gi[a&2047](458900)|0;k[163884]=b;b=Gi[a&2047](458923)|0;k[164333]=b;b=Gi[a&2047](458953)|0;k[164479]=b;b=Gi[a&2047](458986)|0;k[164458]=b;b=Gi[a&2047](459029)|0;k[164605]=b;b=Gi[a&2047](459051)|0;k[163957]=b;b=Gi[a&2047](459078)|0;k[164308]=b;b=Gi[a&2047](459116)|0;k[163987]=b;b=Gi[a&2047](459150)|0;k[163867]=b;b=Gi[a&2047](459167)|0;k[164536]=b;b=Gi[a&2047](459183)|0;k[163921]=b;b=Gi[a&2047](459204)|0;k[163906]=b;b=Gi[a&2047](459223)|0;k[164145]=b;b=Gi[a&2047](459242)|0;k[164570]=b;b=Gi[a&2047](459261)|0;k[163965]=b;b=Gi[a&2047](459291)|0;k[163692]=b;b=Gi[a&2047](459321)|0;k[164501]=b;b=Gi[a&2047](459341)|0;k[164287]=b;b=Gi[a&2047](459361)|0;k[164056]=b;b=Gi[a&2047](459381)|0;k[164082]=b;b=Gi[a&2047](459411)|0;k[164319]=b;b=Gi[a&2047](459441)|0;k[164441]=b;b=Gi[a&2047](459471)|0;k[164158]=b;b=Gi[a&2047](459495)|0;k[164340]=b;b=Gi[a&2047](459519)|0;k[163855]=b;b=Gi[a&2047](459543)|0;k[163688]=b;b=Gi[a&2047](459563)|0;k[163693]=b;b=Gi[a&2047](459584)|0;k[164016]=b;b=Gi[a&2047](459604)|0;k[164283]=b;b=Gi[a&2047](459626)|0;k[164162]=b;b=Gi[a&2047](459649)|0;k[164415]=b;b=Gi[a&2047](459670)|0;k[164146]=b;b=Gi[a&2047](459694)|0;k[163764]=b;b=Gi[a&2047](459712)|0;k[164051]=b;b=Gi[a&2047](459730)|0;k[163720]=b;b=Gi[a&2047](459758)|0;k[164492]=b;b=Gi[a&2047](459787)|0;k[164475]=b;b=Gi[a&2047](459816)|0;k[164286]=b;b=Gi[a&2047](459840)|0;k[163853]=b;b=Gi[a&2047](459865)|0;k[164446]=b;b=Gi[a&2047](459891)|0;k[164229]=b;b=Gi[a&2047](459915)|0;k[164241]=b;b=Gi[a&2047](459936)|0;k[163981]=b;b=Gi[a&2047](459963)|0;k[164382]=b;b=Gi[a&2047](459989)|0;k[163690]=b;b=Gi[a&2047](460016)|0;k[163975]=b;b=Gi[a&2047](460042)|0;k[164081]=b;b=Gi[a&2047](460069)|0;k[163905]=b;b=Gi[a&2047](460096)|0;k[164541]=b;b=Gi[a&2047](460122)|0;k[163858]=b;b=Gi[a&2047](460149)|0;k[163817]=b;b=Gi[a&2047](460176)|0;k[163936]=b;b=Gi[a&2047](460204)|0;k[164339]=b;b=Gi[a&2047](460223)|0;k[164001]=b;b=Gi[a&2047](460249)|0;k[164658]=b;b=Gi[a&2047](460277)|0;k[164551]=b;b=Gi[a&2047](460294)|0;k[164368]=b;b=Gi[a&2047](460319)|0;k[163886]=b;b=Gi[a&2047](460335)|0;k[163808]=b;b=Gi[a&2047](460362)|0;k[164422]=b;b=Gi[a&2047](460387)|0;k[164637]=b;b=Gi[a&2047](460415)|0;k[163753]=b}if(i[1248971]|0){b=Gi[a&2047](474776)|0;k[164773]=b;b=Gi[a&2047](474796)|0;k[164774]=b;b=Gi[a&2047](474824)|0;k[164775]=b;b=Gi[a&2047](474840)|0;k[164776]=b}if(i[1248972]|0){b=Gi[a&2047](452398)|0;k[163971]=b;b=Gi[a&2047](452423)|0;k[163759]=b;b=Gi[a&2047](452453)|0;k[164379]=b;b=Gi[a&2047](452487)|0;k[164142]=b}if(i[1248973]|0){b=Gi[a&2047](453900)|0;k[163792]=b;b=Gi[a&2047](453921)|0;k[164491]=b}if(i[1248974]|0){b=Gi[a&2047](474864)|0;k[164777]=b;b=Gi[a&2047](474889)|0;k[164778]=b}if(i[1248975]|0){b=Gi[a&2047](613136)|0;k[164612]=b;b=Gi[a&2047](613121)|0;k[164300]=b;b=Gi[a&2047](612421)|0;k[163969]=b;b=Gi[a&2047](613533)|0;k[163726]=b;b=Gi[a&2047](613269)|0;k[164506]=b}if(i[1248976]|0){b=Gi[a&2047](460441)|0;k[163730]=b}if(i[1248977]|0){b=Gi[a&2047](474916)|0;k[164779]=b}if(i[1248979]|0){b=Gi[a&2047](456952)|0;k[164218]=b;b=Gi[a&2047](456976)|0;k[164701]=b}if(i[1248980]|0){b=Gi[a&2047](611728)|0;k[163873]=b;b=Gi[a&2047](611680)|0;k[164343]=b;b=Gi[a&2047](611658)|0;k[164005]=b;b=Gi[a&2047](611639)|0;k[163745]=b;b=Gi[a&2047](613764)|0;k[163773]=b;b=Gi[a&2047](611699)|0;k[163953]=b;b=Gi[a&2047](612677)|0;k[164437]=b;b=Gi[a&2047](612533)|0;k[164271]=b;b=Gi[a&2047](612569)|0;k[163827]=b;b=Gi[a&2047](612551)|0;k[163866]=b;b=Gi[a&2047](613398)|0;k[164567]=b;b=Gi[a&2047](451997)|0;k[164057]=b;b=Gi[a&2047](612616)|0;k[163846]=b;b=Gi[a&2047](452020)|0;k[164303]=b;b=Gi[a&2047](612590)|0;k[163699]=b;b=Gi[a&2047](612639)|0;k[163847]=b;b=Gi[a&2047](613423)|0;k[164318]=b;b=Gi[a&2047](452043)|0;k[163794]=b;b=Gi[a&2047](452061)|0;k[164367]=b;b=Gi[a&2047](452094)|0;k[164013]=b}if(i[1248982]|0){b=Gi[a&2047](474942)|0;k[164780]=b;b=Gi[a&2047](474965)|0;k[164781]=b;b=Gi[a&2047](474989)|0;k[164782]=b;b=Gi[a&2047](475018)|0;k[164783]=b}if(i[1248983]|0){b=Gi[a&2047](454751)|0;k[164126]=b;b=Gi[a&2047](454770)|0;k[164557]=b;b=Gi[a&2047](454786)|0;k[163833]=b}if(i[1248984]|0){b=Gi[a&2047](460465)|0;k[164510]=b;b=Gi[a&2047](460486)|0;k[164705]=b}if(i[1248985]|0){b=Gi[a&2047](453944)|0;k[164252]=b;b=Gi[a&2047](453956)|0;k[164630]=b;b=Gi[a&2047](453968)|0;k[163784]=b;b=Gi[a&2047](453980)|0;k[164058]=b;b=Gi[a&2047](453992)|0;k[163994]=b;b=Gi[a&2047](454005)|0;k[163946]=b;b=Gi[a&2047](454018)|0;k[164691]=b;b=Gi[a&2047](454031)|0;k[164076]=b;b=Gi[a&2047](454044)|0;k[164575]=b;b=Gi[a&2047](454063)|0;k[163813]=b;b=Gi[a&2047](454082)|0;k[164105]=b;b=Gi[a&2047](454101)|0;k[164021]=b;b=Gi[a&2047](454122)|0;k[164647]=b;b=Gi[a&2047](454143)|0;k[164352]=b;b=Gi[a&2047](454164)|0;k[164322]=b;b=Gi[a&2047](454185)|0;k[164108]=b;b=Gi[a&2047](454206)|0;k[164220]=b;b=Gi[a&2047](454227)|0;k[164503]=b}if(i[1248986]|0){b=Gi[a&2047](475046)|0;k[164784]=b;b=Gi[a&2047](475063)|0;k[164785]=b;b=Gi[a&2047](475080)|0;k[164786]=b;b=Gi[a&2047](475097)|0;k[164787]=b;b=Gi[a&2047](475114)|0;k[164788]=b;b=Gi[a&2047](475132)|0;k[164789]=b;b=Gi[a&2047](475150)|0;k[164790]=b;b=Gi[a&2047](475168)|0;k[164791]=b;b=Gi[a&2047](475186)|0;k[164792]=b;b=Gi[a&2047](475204)|0;k[164793]=b;b=Gi[a&2047](475222)|0;k[164794]=b;b=Gi[a&2047](475240)|0;k[164795]=b;b=Gi[a&2047](475258)|0;k[164796]=b;b=Gi[a&2047](475277)|0;k[164797]=b;b=Gi[a&2047](475296)|0;k[164798]=b;b=Gi[a&2047](475315)|0;k[164799]=b;b=Gi[a&2047](475334)|0;k[164800]=b;b=Gi[a&2047](475354)|0;k[164801]=b;b=Gi[a&2047](475375)|0;k[164802]=b;b=Gi[a&2047](475396)|0;k[164803]=b;b=Gi[a&2047](475418)|0;k[164804]=b;b=Gi[a&2047](475442)|0;k[164805]=b;b=Gi[a&2047](475466)|0;k[164806]=b;b=Gi[a&2047](475490)|0;k[164807]=b;b=Gi[a&2047](475514)|0;k[164808]=b;b=Gi[a&2047](475539)|0;k[164809]=b;b=Gi[a&2047](475564)|0;k[164810]=b;b=Gi[a&2047](475589)|0;k[164811]=b;b=Gi[a&2047](475614)|0;k[164812]=b;b=Gi[a&2047](475639)|0;k[164813]=b;b=Gi[a&2047](475664)|0;k[164814]=b;b=Gi[a&2047](475689)|0;k[164815]=b;b=Gi[a&2047](475714)|0;k[164816]=b;b=Gi[a&2047](475740)|0;k[164817]=b;b=Gi[a&2047](475766)|0;k[164818]=b;b=Gi[a&2047](475792)|0;k[164819]=b}if(i[1248987]|0){b=Gi[a&2047](475818)|0;k[164820]=b;b=Gi[a&2047](475852)|0;k[164821]=b}if(i[1248988]|0){b=Gi[a&2047](475888)|0;k[164822]=b}if(i[1248989]|0){b=Gi[a&2047](456643)|0;k[164048]=b}if(i[1248990]|0){b=Gi[a&2047](457004)|0;k[164156]=b}if(i[1248991]|0){b=Gi[a&2047](457028)|0;k[164444]=b;b=Gi[a&2047](457052)|0;k[164171]=b;b=Gi[a&2047](457073)|0;k[163818]=b;b=Gi[a&2047](457099)|0;k[164079]=b;b=Gi[a&2047](457122)|0;k[164064]=b;b=Gi[a&2047](457146)|0;k[164091]=b}if(i[1248992]|0){b=Gi[a&2047](452120)|0;k[164586]=b;b=Gi[a&2047](452137)|0;k[164019]=b}if(i[1248993]|0){b=Gi[a&2047](457867)|0;k[164694]=b;b=Gi[a&2047](457885)|0;k[164040]=b;b=Gi[a&2047](457904)|0;k[164065]=b;b=Gi[a&2047](457919)|0;k[164561]=b;b=Gi[a&2047](457934)|0;k[164448]=b;b=Gi[a&2047](457954)|0;k[163977]=b}if(i[1248994]|0){b=Gi[a&2047](457173)|0;k[163772]=b;b=Gi[a&2047](457199)|0;k[164381]=b}if(i[1248995]|0){b=Gi[a&2047](475913)|0;k[164823]=b}if(i[1248996]|0){b=Gi[a&2047](457227)|0;k[163912]=b;b=Gi[a&2047](457251)|0;k[164489]=b;b=Gi[a&2047](457277)|0;k[164219]=b;b=Gi[a&2047](457302)|0;k[164732]=b;b=Gi[a&2047](457325)|0;k[164224]=b;b=Gi[a&2047](457354)|0;k[164527]=b}if(i[1248997]|0){b=Gi[a&2047](452517)|0;k[164299]=b}if(i[1248998]|0){b=Gi[a&2047](475943)|0;k[164824]=b;b=Gi[a&2047](475971)|0;k[164825]=b;b=Gi[a&2047](475989)|0;k[164826]=b;b=Gi[a&2047](476006)|0;k[164827]=b;b=Gi[a&2047](476034)|0;k[164828]=b;b=Gi[a&2047](476053)|0;k[164829]=b;b=Gi[a&2047](476072)|0;k[164830]=b;b=Gi[a&2047](476092)|0;k[164831]=b;b=Gi[a&2047](476111)|0;k[164832]=b;b=Gi[a&2047](476126)|0;k[164833]=b;b=Gi[a&2047](476141)|0;k[164834]=b;b=Gi[a&2047](476156)|0;k[164835]=b;b=Gi[a&2047](476176)|0;k[164836]=b;b=Gi[a&2047](476197)|0;k[164837]=b;b=Gi[a&2047](476218)|0;k[164838]=b;b=Gi[a&2047](476242)|0;k[164839]=b;b=Gi[a&2047](476262)|0;k[164840]=b;b=Gi[a&2047](476289)|0;k[164841]=b;b=Gi[a&2047](476314)|0;k[164842]=b;b=Gi[a&2047](476333)|0;k[164843]=b}if(i[1248999]|0){b=Gi[a&2047](476349)|0;k[164844]=b;b=Gi[a&2047](476383)|0;k[164845]=b;b=Gi[a&2047](476422)|0;k[164846]=b}if(i[1249e3]|0){b=Gi[a&2047](476447)|0;k[164847]=b}if(i[1249001]|0){b=Gi[a&2047](452819)|0;k[163982]=b;b=Gi[a&2047](452833)|0;k[163778]=b;b=Gi[a&2047](452850)|0;k[164558]=b;b=Gi[a&2047](452862)|0;k[163709]=b;b=Gi[a&2047](452876)|0;k[164246]=b;b=Gi[a&2047](452896)|0;k[164324]=b;b=Gi[a&2047](452917)|0;k[164248]=b;b=Gi[a&2047](452937)|0;k[164374]=b;b=Gi[a&2047](452958)|0;k[164141]=b;b=Gi[a&2047](452980)|0;k[164480]=b;b=Gi[a&2047](453003)|0;k[164540]=b;b=Gi[a&2047](453027)|0;k[163801]=b;b=Gi[a&2047](453052)|0;k[163887]=b;b=Gi[a&2047](453076)|0;k[164498]=b}if(i[1249002]|0){b=Gi[a&2047](454806)|0;k[164398]=b;b=Gi[a&2047](454825)|0;k[163811]=b;b=Gi[a&2047](454847)|0;k[164386]=b;b=Gi[a&2047](454870)|0;k[164451]=b;b=Gi[a&2047](454892)|0;k[164729]=b;b=Gi[a&2047](454917)|0;k[164191]=b;b=Gi[a&2047](454939)|0;k[164360]=b;b=Gi[a&2047](454959)|0;k[164407]=b;b=Gi[a&2047](454982)|0;k[163945]=b;b=Gi[a&2047](455001)|0;k[164338]=b;b=Gi[a&2047](455021)|0;k[163948]=b;b=Gi[a&2047](455040)|0;k[164717]=b;b=Gi[a&2047](455060)|0;k[163947]=b;b=Gi[a&2047](455079)|0;k[164242]=b;b=Gi[a&2047](455099)|0;k[164012]=b;b=Gi[a&2047](455119)|0;k[163877]=b;b=Gi[a&2047](455140)|0;k[164621]=b;b=Gi[a&2047](455159)|0;k[163881]=b;b=Gi[a&2047](455179)|0;k[164208]=b;b=Gi[a&2047](455198)|0;k[164020]=b;b=Gi[a&2047](455218)|0;k[164119]=b;b=Gi[a&2047](455237)|0;k[164053]=b;b=Gi[a&2047](455257)|0;k[164667]=b;b=Gi[a&2047](455277)|0;k[164617]=b;b=Gi[a&2047](455298)|0;k[164213]=b;b=Gi[a&2047](455317)|0;k[163955]=b;b=Gi[a&2047](455337)|0;k[164403]=b;b=Gi[a&2047](455356)|0;k[164477]=b;b=Gi[a&2047](455376)|0;k[164404]=b;b=Gi[a&2047](455395)|0;k[163736]=b;b=Gi[a&2047](455415)|0;k[163924]=b;b=Gi[a&2047](455435)|0;k[164482]=b;b=Gi[a&2047](455456)|0;k[164278]=b;b=Gi[a&2047](455475)|0;k[164122]=b;b=Gi[a&2047](455495)|0;k[164280]=b;b=Gi[a&2047](455514)|0;k[164662]=b;b=Gi[a&2047](455534)|0;k[164282]=b;b=Gi[a&2047](455553)|0;k[164471]=b;b=Gi[a&2047](455573)|0;k[164668]=b;b=Gi[a&2047](455593)|0;k[164267]=b;b=Gi[a&2047](455614)|0;k[164320]=b;b=Gi[a&2047](455640)|0;k[164062]=b;b=Gi[a&2047](455666)|0;k[163806]=b;b=Gi[a&2047](455692)|0;k[163744]=b;b=Gi[a&2047](455718)|0;k[164298]=b;b=Gi[a&2047](455744)|0;k[164022]=b;b=Gi[a&2047](455770)|0;k[164468]=b;b=Gi[a&2047](455798)|0;k[163800]=b;b=Gi[a&2047](455826)|0;k[164604]=b;b=Gi[a&2047](455854)|0;k[164589]=b;b=Gi[a&2047](455882)|0;k[164090]=b;b=Gi[a&2047](455910)|0;k[164692]=b;b=Gi[a&2047](455938)|0;k[164199]=b;b=Gi[a&2047](455966)|0;k[163797]=b;b=Gi[a&2047](455994)|0;k[164025]=b;b=Gi[a&2047](456022)|0;k[163892]=b;b=Gi[a&2047](456050)|0;k[163871]=b;b=Gi[a&2047](456078)|0;k[164120]=b;b=Gi[a&2047](456106)|0;k[163970]=b;b=Gi[a&2047](456132)|0;k[164088]=b}if(i[1249003]|0){b=Gi[a&2047](456665)|0;k[164227]=b}if(i[1249004]|0){b=Gi[a&2047](456698)|0;k[163804]=b;b=Gi[a&2047](456717)|0;k[163840]=b}if(i[1249005]|0){b=Gi[a&2047](457388)|0;k[163889]=b}if(i[1249006]|0){b=Gi[a&2047](454242)|0;k[164696]=b;b=Gi[a&2047](454273)|0;k[164428]=b;b=Gi[a&2047](454294)|0;k[164178]=b;b=Gi[a&2047](454325)|0;k[164488]=b;b=Gi[a&2047](454358)|0;k[164387]=b;b=Gi[a&2047](454384)|0;k[163700]=b;b=Gi[a&2047](454408)|0;k[164546]=b;b=Gi[a&2047](454434)|0;k[164348]=b}if(i[1249007]|0){b=Gi[a&2047](476469)|0;k[164848]=b;b=Gi[a&2047](476486)|0;k[164849]=b;b=Gi[a&2047](476509)|0;k[164850]=b;b=Gi[a&2047](476535)|0;k[164851]=b;b=Gi[a&2047](476554)|0;k[164852]=b;b=Gi[a&2047](476574)|0;k[164853]=b}if(i[1249008]|0){b=Gi[a&2047](476596)|0;k[164854]=b;b=Gi[a&2047](476622)|0;k[164855]=b;b=Gi[a&2047](476653)|0;k[164856]=b}if(i[1249009]|0){b=Gi[a&2047](476684)|0;k[164857]=b}if(i[1249010]|0){b=Gi[a&2047](452535)|0;k[163961]=b;b=Gi[a&2047](452547)|0;k[164002]=b;b=Gi[a&2047](452556)|0;k[164102]=b;b=Gi[a&2047](452569)|0;k[164531]=b;b=Gi[a&2047](452586)|0;k[164240]=b;b=Gi[a&2047](452597)|0;k[163898]=b;b=Gi[a&2047](452613)|0;k[164616]=b}if(i[1249011]|0){b=Gi[a&2047](454454)|0;k[164620]=b;b=Gi[a&2047](454472)|0;k[164071]=b}if(i[1249012]|0){b=Gi[a&2047](460863)|0;k[164664]=b}if(i[1249013]|0){b=Gi[a&2047](476707)|0;k[164858]=b}if(i[1249014]|0){b=Gi[a&2047](457416)|0;k[164723]=b}if(i[1249018]|0){b=Gi[a&2047](452689)|0;k[164106]=b;b=Gi[a&2047](452713)|0;k[164716]=b;b=Gi[a&2047](452737)|0;k[163743]=b;b=Gi[a&2047](452756)|0;k[163757]=b}if(i[1249020]|0){b=Gi[a&2047](456733)|0;k[164249]=b;b=Gi[a&2047](456748)|0;k[164681]=b;b=Gi[a&2047](456763)|0;k[164408]=b}if(i[1249021]|0){b=Gi[a&2047](457433)|0;k[164629]=b;b=Gi[a&2047](457459)|0;k[163979]=b}if(i[1249022]|0){b=Gi[a&2047](457485)|0;k[164602]=b}if(i[1249023]|0){b=Gi[a&2047](453102)|0;k[164296]=b;b=Gi[a&2047](453117)|0;k[163865]=b;b=Gi[a&2047](453138)|0;k[164712]=b}if(i[1249024]|0){b=Gi[a&2047](454491)|0;k[164709]=b;b=Gi[a&2047](454515)|0;k[164564]=b;b=Gi[a&2047](454542)|0;k[164512]=b;b=Gi[a&2047](454566)|0;k[164355]=b;b=Gi[a&2047](454588)|0;k[163795]=b;b=Gi[a&2047](454613)|0;k[164486]=b;b=Gi[a&2047](454639)|0;k[163993]=b}if(i[1249025]|0){b=Gi[a&2047](454663)|0;k[164290]=b;b=Gi[a&2047](454693)|0;k[163954]=b;b=Gi[a&2047](454713)|0;k[164054]=b;b=Gi[a&2047](454731)|0;k[164411]=b}if(i[1249026]|0){b=Gi[a&2047](456778)|0;k[163988]=b;b=Gi[a&2047](456811)|0;k[163718]=b}if(i[1249027]|0){b=Gi[a&2047](452234)|0;k[163893]=b;b=Gi[a&2047](452254)|0;k[163902]=b;b=Gi[a&2047](452276)|0;k[163839]=b;b=Gi[a&2047](452299)|0;k[164625]=b;b=Gi[a&2047](452322)|0;k[164117]=b;b=Gi[a&2047](452348)|0;k[164610]=b;b=Gi[a&2047](452376)|0;k[164394]=b;b=Gi[a&2047](451068)|0;k[164499]=b;b=Gi[a&2047](451086)|0;k[164581]=b;b=Gi[a&2047](450970)|0;k[163712]=b}if(i[1249028]|0){b=Gi[a&2047](612938)|0;k[164135]=b;b=Gi[a&2047](612917)|0;k[163962]=b;b=Gi[a&2047](612899)|0;k[164369]=b;b=Gi[a&2047](452162)|0;k[163879]=b}if(i[1249029]|0){b=Gi[a&2047](456160)|0;k[164590]=b;b=Gi[a&2047](456178)|0;k[164389]=b;b=Gi[a&2047](456196)|0;k[164728]=b;b=Gi[a&2047](456214)|0;k[163803]=b;b=Gi[a&2047](456232)|0;k[163920]=b;b=Gi[a&2047](456251)|0;k[164380]=b;b=Gi[a&2047](456270)|0;k[164502]=b;b=Gi[a&2047](456289)|0;k[163944]=b;b=Gi[a&2047](456308)|0;k[164375]=b;b=Gi[a&2047](456331)|0;k[164420]=b}if(i[1249030]|0){b=Gi[a&2047](457499)|0;k[164548]=b;b=Gi[a&2047](457518)|0;k[164172]=b;b=Gi[a&2047](457539)|0;k[164613]=b;b=Gi[a&2047](457561)|0;k[164143]=b;b=Gi[a&2047](457583)|0;k[164176]=b;b=Gi[a&2047](457605)|0;k[163927]=b}if(i[1249031]|0){b=Gi[a&2047](453160)|0;k[164031]=b;b=Gi[a&2047](453179)|0;k[164201]=b;b=Gi[a&2047](453199)|0;k[164643]=b;b=Gi[a&2047](453218)|0;k[164210]=b;b=Gi[a&2047](453238)|0;k[163919]=b;b=Gi[a&2047](453257)|0;k[164653]=b;b=Gi[a&2047](453277)|0;k[163740]=b;b=Gi[a&2047](453296)|0;k[164347]=b;b=Gi[a&2047](453316)|0;k[163758]=b;b=Gi[a&2047](453329)|0;k[164460]=b;b=Gi[a&2047](453343)|0;k[164559]=b;b=Gi[a&2047](453356)|0;k[163856]=b;b=Gi[a&2047](453370)|0;k[163733]=b;b=Gi[a&2047](453383)|0;k[164596]=b;b=Gi[a&2047](453397)|0;k[164639]=b;b=Gi[a&2047](453412)|0;k[163986]=b;b=Gi[a&2047](453428)|0;k[163789]=b;b=Gi[a&2047](453443)|0;k[164619]=b;b=Gi[a&2047](453459)|0;k[163835]=b;b=Gi[a&2047](453474)|0;k[163815]=b;b=Gi[a&2047](453490)|0;k[164009]=b;b=Gi[a&2047](453505)|0;k[164453]=b;b=Gi[a&2047](453521)|0;k[163923]=b;b=Gi[a&2047](453541)|0;k[164085]=b;b=Gi[a&2047](453562)|0;k[163796]=b;b=Gi[a&2047](453582)|0;k[164190]=b;b=Gi[a&2047](453603)|0;k[163729]=b;b=Gi[a&2047](453623)|0;k[163918]=b;b=Gi[a&2047](453644)|0;k[163820]=b;b=Gi[a&2047](453664)|0;k[163974]=b;b=Gi[a&2047](453685)|0;k[164312]=b;b=Gi[a&2047](453698)|0;k[164231]=b;b=Gi[a&2047](453712)|0;k[163963]=b;b=Gi[a&2047](453724)|0;k[163711]=b;b=Gi[a&2047](453737)|0;k[164397]=b;b=Gi[a&2047](453749)|0;k[164472]=b;b=Gi[a&2047](453762)|0;k[164041]=b;b=Gi[a&2047](453783)|0;k[164655]=b}if(i[1249032]|0){b=Gi[a&2047](456352)|0;k[164315]=b;b=Gi[a&2047](456369)|0;k[164187]=b;b=Gi[a&2047](456388)|0;k[164234]=b;b=Gi[a&2047](456408)|0;k[164068]=b;b=Gi[a&2047](456424)|0;k[164595]=b;b=Gi[a&2047](456441)|0;k[164430]=b;b=Gi[a&2047](456459)|0;k[164221]=b;b=Gi[a&2047](456478)|0;k[164152]=b;b=Gi[a&2047](456498)|0;k[164533]=b;b=Gi[a&2047](456512)|0;k[163705]=b}if(i[1249033]|0){b=Gi[a&2047](476722)|0;k[164859]=b;b=Gi[a&2047](476759)|0;k[164860]=b;b=Gi[a&2047](476798)|0;k[164861]=b}if(i[1249034]|0){b=Gi[a&2047](476847)|0;k[164862]=b;b=Gi[a&2047](476866)|0;k[164863]=b;b=Gi[a&2047](476892)|0;k[164864]=b}if(i[1249035]|0){b=Gi[a&2047](476914)|0;k[164865]=b;b=Gi[a&2047](476947)|0;k[164866]=b;b=Gi[a&2047](476973)|0;k[164867]=b;b=Gi[a&2047](477010)|0;k[164868]=b}if(i[1249036]|0){b=Gi[a&2047](477032)|0;k[164869]=b}if(i[1249037]|0){b=Gi[a&2047](477051)|0;k[164870]=b}if(i[1249039]|0){b=Gi[a&2047](477070)|0;k[164871]=b}if(i[1249040]|0){b=Gi[a&2047](477092)|0;k[164872]=b;b=Gi[a&2047](477109)|0;k[164873]=b}if(i[1249041]|0){b=Gi[a&2047](477129)|0;k[164874]=b;b=Gi[a&2047](477152)|0;k[164875]=b;b=Gi[a&2047](477173)|0;k[164876]=b}if(i[1249042]|0){b=Gi[a&2047](477193)|0;k[164877]=b;b=Gi[a&2047](477210)|0;k[164878]=b;b=Gi[a&2047](477227)|0;k[164879]=b;b=Gi[a&2047](477244)|0;k[164880]=b;b=Gi[a&2047](477261)|0;k[164881]=b;b=Gi[a&2047](477285)|0;k[164882]=b;b=Gi[a&2047](477304)|0;k[164883]=b;b=Gi[a&2047](477323)|0;k[164884]=b;b=Gi[a&2047](477341)|0;k[164885]=b;b=Gi[a&2047](477359)|0;k[164886]=b;b=Gi[a&2047](477381)|0;k[164887]=b;b=Gi[a&2047](477403)|0;k[164888]=b;b=Gi[a&2047](477422)|0;k[164889]=b;b=Gi[a&2047](477439)|0;k[164890]=b;b=Gi[a&2047](477454)|0;k[164891]=b;b=Gi[a&2047](477470)|0;k[164892]=b;b=Gi[a&2047](477495)|0;k[164893]=b;b=Gi[a&2047](477524)|0;k[164894]=b;b=Gi[a&2047](477547)|0;k[164895]=b;b=Gi[a&2047](477571)|0;k[164896]=b;b=Gi[a&2047](477594)|0;k[164897]=b;b=Gi[a&2047](477618)|0;k[164898]=b;b=Gi[a&2047](477638)|0;k[164899]=b;b=Gi[a&2047](477658)|0;k[164900]=b;b=Gi[a&2047](477681)|0;k[164901]=b;b=Gi[a&2047](477704)|0;k[164902]=b;b=Gi[a&2047](477728)|0;k[164903]=b;b=Gi[a&2047](477752)|0;k[164904]=b;b=Gi[a&2047](477779)|0;k[164905]=b;b=Gi[a&2047](477806)|0;k[164906]=b;b=Gi[a&2047](477827)|0;k[164907]=b;b=Gi[a&2047](477854)|0;k[164908]=b;b=Gi[a&2047](477881)|0;k[164909]=b;b=Gi[a&2047](477913)|0;k[164910]=b;b=Gi[a&2047](477945)|0;k[164911]=b;b=Gi[a&2047](477965)|0;k[164912]=b;b=Gi[a&2047](477988)|0;k[164913]=b;b=Gi[a&2047](478015)|0;k[164914]=b;b=Gi[a&2047](478037)|0;k[164915]=b;b=Gi[a&2047](478063)|0;k[164916]=b;b=Gi[a&2047](478081)|0;k[164917]=b;b=Gi[a&2047](478100)|0;k[164918]=b;b=Gi[a&2047](478118)|0;k[164919]=b;b=Gi[a&2047](478137)|0;k[164920]=b;b=Gi[a&2047](478155)|0;k[164921]=b;b=Gi[a&2047](478174)|0;k[164922]=b;b=Gi[a&2047](478192)|0;k[164923]=b;b=Gi[a&2047](478211)|0;k[164924]=b;b=Gi[a&2047](478229)|0;k[164925]=b;b=Gi[a&2047](478248)|0;k[164926]=b;b=Gi[a&2047](478270)|0;k[164927]=b;b=Gi[a&2047](478292)|0;k[164928]=b;b=Gi[a&2047](478314)|0;k[164929]=b;b=Gi[a&2047](478336)|0;k[164930]=b;b=Gi[a&2047](478358)|0;k[164931]=b;b=Gi[a&2047](478382)|0;k[164932]=b;b=Gi[a&2047](478407)|0;k[164933]=b;b=Gi[a&2047](478431)|0;k[164934]=b;b=Gi[a&2047](478456)|0;k[164935]=b;b=Gi[a&2047](478477)|0;k[164936]=b;b=Gi[a&2047](478498)|0;k[164937]=b;b=Gi[a&2047](478522)|0;k[164938]=b;b=Gi[a&2047](478546)|0;k[164939]=b;b=Gi[a&2047](478571)|0;k[164940]=b;b=Gi[a&2047](478596)|0;k[164941]=b;b=Gi[a&2047](478624)|0;k[164942]=b;b=Gi[a&2047](478652)|0;k[164943]=b;b=Gi[a&2047](478674)|0;k[164944]=b;b=Gi[a&2047](478702)|0;k[164945]=b;b=Gi[a&2047](478730)|0;k[164946]=b;b=Gi[a&2047](478763)|0;k[164947]=b;b=Gi[a&2047](478796)|0;k[164948]=b;b=Gi[a&2047](478817)|0;k[164949]=b;b=Gi[a&2047](478841)|0;k[164950]=b;b=Gi[a&2047](478869)|0;k[164951]=b;b=Gi[a&2047](478899)|0;k[164952]=b;b=Gi[a&2047](478930)|0;k[164953]=b;b=Gi[a&2047](478952)|0;k[164954]=b;b=Gi[a&2047](478975)|0;k[164955]=b;b=Gi[a&2047](478999)|0;k[164956]=b;b=Gi[a&2047](479018)|0;k[164957]=b;b=Gi[a&2047](479038)|0;k[164958]=b;b=Gi[a&2047](479060)|0;k[164959]=b;b=Gi[a&2047](479084)|0;k[164960]=b;b=Gi[a&2047](479108)|0;k[164961]=b;b=Gi[a&2047](479138)|0;k[164962]=b;b=Gi[a&2047](479168)|0;k[164963]=b;b=Gi[a&2047](479198)|0;k[164964]=b;b=Gi[a&2047](479231)|0;k[164965]=b;b=Gi[a&2047](479264)|0;k[164966]=b;b=Gi[a&2047](479297)|0;k[164967]=b;b=Gi[a&2047](479328)|0;k[164968]=b;b=Gi[a&2047](479359)|0;k[164969]=b;b=Gi[a&2047](479390)|0;k[164970]=b;b=Gi[a&2047](479421)|0;k[164971]=b;b=Gi[a&2047](479455)|0;k[164972]=b;b=Gi[a&2047](479489)|0;k[164973]=b;b=Gi[a&2047](479523)|0;k[164974]=b;b=Gi[a&2047](479555)|0;k[164975]=b;b=Gi[a&2047](479581)|0;k[164976]=b;b=Gi[a&2047](479607)|0;k[164977]=b;b=Gi[a&2047](479633)|0;k[164978]=b;b=Gi[a&2047](479659)|0;k[164979]=b;b=Gi[a&2047](479680)|0;k[164980]=b;b=Gi[a&2047](479704)|0;k[164981]=b;b=Gi[a&2047](479724)|0;k[164982]=b;b=Gi[a&2047](479746)|0;k[164983]=b;b=Gi[a&2047](479777)|0;k[164984]=b;b=Gi[a&2047](479805)|0;k[164985]=b;b=Gi[a&2047](479832)|0;k[164986]=b;b=Gi[a&2047](479854)|0;k[164987]=b;b=Gi[a&2047](479876)|0;k[164988]=b;b=Gi[a&2047](479898)|0;k[164989]=b;b=Gi[a&2047](479920)|0;k[164990]=b;b=Gi[a&2047](479942)|0;k[164991]=b;b=Gi[a&2047](479964)|0;k[164992]=b;b=Gi[a&2047](479986)|0;k[164993]=b;b=Gi[a&2047](480008)|0;k[164994]=b;b=Gi[a&2047](480031)|0;k[164995]=b;b=Gi[a&2047](480054)|0;k[164996]=b;b=Gi[a&2047](480077)|0;k[164997]=b;b=Gi[a&2047](480100)|0;k[164998]=b;b=Gi[a&2047](480123)|0;k[164999]=b;b=Gi[a&2047](480146)|0;k[165e3]=b;b=Gi[a&2047](480169)|0;k[165001]=b;b=Gi[a&2047](480192)|0;k[165002]=b;b=Gi[a&2047](480221)|0;k[165003]=b;b=Gi[a&2047](480250)|0;k[165004]=b;b=Gi[a&2047](480279)|0;k[165005]=b;b=Gi[a&2047](480310)|0;k[165006]=b;b=Gi[a&2047](480341)|0;k[165007]=b;b=Gi[a&2047](480372)|0;k[165008]=b;b=Gi[a&2047](480403)|0;k[165009]=b;b=Gi[a&2047](480434)|0;k[165010]=b;b=Gi[a&2047](480465)|0;k[165011]=b;b=Gi[a&2047](480484)|0;k[165012]=b;b=Gi[a&2047](480504)|0;k[165013]=b;b=Gi[a&2047](480529)|0;k[165014]=b;b=Gi[a&2047](480555)|0;k[165015]=b;b=Gi[a&2047](480583)|0;k[165016]=b;b=Gi[a&2047](480612)|0;k[165017]=b;b=Gi[a&2047](480638)|0;k[165018]=b;b=Gi[a&2047](480665)|0;k[165019]=b;b=Gi[a&2047](480694)|0;k[165020]=b;b=Gi[a&2047](480724)|0;k[165021]=b;b=Gi[a&2047](480747)|0;k[165022]=b;b=Gi[a&2047](480770)|0;k[165023]=b;b=Gi[a&2047](480793)|0;k[165024]=b;b=Gi[a&2047](480816)|0;k[165025]=b;b=Gi[a&2047](480840)|0;k[165026]=b;b=Gi[a&2047](480864)|0;k[165027]=b;b=Gi[a&2047](480888)|0;k[165028]=b;b=Gi[a&2047](480912)|0;k[165029]=b;b=Gi[a&2047](480948)|0;k[165030]=b;b=Gi[a&2047](480983)|0;k[165031]=b;b=Gi[a&2047](481019)|0;k[165032]=b;b=Gi[a&2047](481056)|0;k[165033]=b;b=Gi[a&2047](481092)|0;k[165034]=b;b=Gi[a&2047](481129)|0;k[165035]=b;b=Gi[a&2047](481167)|0;k[165036]=b;b=Gi[a&2047](481205)|0;k[165037]=b;b=Gi[a&2047](481244)|0;k[165038]=b;b=Gi[a&2047](481268)|0;k[165039]=b;b=Gi[a&2047](481293)|0;k[165040]=b;b=Gi[a&2047](481310)|0;k[165041]=b;b=Gi[a&2047](481328)|0;k[165042]=b;b=Gi[a&2047](481347)|0;k[165043]=b;b=Gi[a&2047](481371)|0;k[165044]=b;b=Gi[a&2047](481405)|0;k[165045]=b;b=Gi[a&2047](481440)|0;k[165046]=b;b=Gi[a&2047](481474)|0;k[165047]=b;b=Gi[a&2047](481509)|0;k[165048]=b;b=Gi[a&2047](481546)|0;k[165049]=b;b=Gi[a&2047](481583)|0;k[165050]=b;b=Gi[a&2047](481606)|0;k[165051]=b;b=Gi[a&2047](481633)|0;k[165052]=b;b=Gi[a&2047](481663)|0;k[165053]=b;b=Gi[a&2047](481700)|0;k[165054]=b;b=Gi[a&2047](481741)|0;k[165055]=b;b=Gi[a&2047](481790)|0;k[165056]=b;b=Gi[a&2047](481823)|0;k[165057]=b;b=Gi[a&2047](481854)|0;k[165058]=b;b=Gi[a&2047](481885)|0;k[165059]=b;b=Gi[a&2047](481916)|0;k[165060]=b;b=Gi[a&2047](481950)|0;k[165061]=b;b=Gi[a&2047](481996)|0;k[165062]=b;b=Gi[a&2047](482023)|0;k[165063]=b;b=Gi[a&2047](482051)|0;k[165064]=b;b=Gi[a&2047](482078)|0;k[165065]=b;b=Gi[a&2047](482106)|0;k[165066]=b;b=Gi[a&2047](482133)|0;k[165067]=b;b=Gi[a&2047](482164)|0;k[165068]=b;b=Gi[a&2047](482192)|0;k[165069]=b;b=Gi[a&2047](482221)|0;k[165070]=b;b=Gi[a&2047](482255)|0;k[165071]=b;b=Gi[a&2047](482288)|0;k[165072]=b;b=Gi[a&2047](482313)|0;k[165073]=b;b=Gi[a&2047](482339)|0;k[165074]=b;b=Gi[a&2047](482368)|0;k[165075]=b;b=Gi[a&2047](482396)|0;k[165076]=b;b=Gi[a&2047](482427)|0;k[165077]=b;b=Gi[a&2047](482455)|0;k[165078]=b;b=Gi[a&2047](482484)|0;k[165079]=b;b=Gi[a&2047](482515)|0;k[165080]=b;b=Gi[a&2047](482551)|0;k[165081]=b;b=Gi[a&2047](482582)|0;k[165082]=b;b=Gi[a&2047](482619)|0;k[165083]=b;b=Gi[a&2047](482654)|0;k[165084]=b;b=Gi[a&2047](482690)|0;k[165085]=b;b=Gi[a&2047](482713)|0;k[165086]=b;b=Gi[a&2047](482737)|0;k[165087]=b;b=Gi[a&2047](482766)|0;k[165088]=b;b=Gi[a&2047](482796)|0;k[165089]=b;b=Gi[a&2047](482824)|0;k[165090]=b;b=Gi[a&2047](482852)|0;k[165091]=b;b=Gi[a&2047](482882)|0;k[165092]=b;b=Gi[a&2047](482912)|0;k[165093]=b;b=Gi[a&2047](482937)|0;k[165094]=b;b=Gi[a&2047](482970)|0;k[165095]=b;b=Gi[a&2047](482994)|0;k[165096]=b;b=Gi[a&2047](483020)|0;k[165097]=b;b=Gi[a&2047](483049)|0;k[165098]=b;b=Gi[a&2047](483081)|0;k[165099]=b;b=Gi[a&2047](483117)|0;k[165100]=b;b=Gi[a&2047](483139)|0;k[165101]=b;b=Gi[a&2047](483161)|0;k[165102]=b;b=Gi[a&2047](483183)|0;k[165103]=b;b=Gi[a&2047](483205)|0;k[165104]=b;b=Gi[a&2047](483228)|0;k[165105]=b;b=Gi[a&2047](483251)|0;k[165106]=b;b=Gi[a&2047](483274)|0;k[165107]=b;b=Gi[a&2047](483297)|0;k[165108]=b;b=Gi[a&2047](483326)|0;k[165109]=b;b=Gi[a&2047](483355)|0;k[165110]=b;b=Gi[a&2047](483384)|0;k[165111]=b;b=Gi[a&2047](483415)|0;k[165112]=b;b=Gi[a&2047](483446)|0;k[165113]=b;b=Gi[a&2047](483477)|0;k[165114]=b;b=Gi[a&2047](483508)|0;k[165115]=b;b=Gi[a&2047](483539)|0;k[165116]=b;b=Gi[a&2047](483570)|0;k[165117]=b;b=Gi[a&2047](483594)|0;k[165118]=b;b=Gi[a&2047](483616)|0;k[165119]=b;b=Gi[a&2047](483638)|0;k[165120]=b;b=Gi[a&2047](483660)|0;k[165121]=b;b=Gi[a&2047](483693)|0;k[165122]=b;b=Gi[a&2047](483726)|0;k[165123]=b;b=Gi[a&2047](483759)|0;k[165124]=b;b=Gi[a&2047](483794)|0;k[165125]=b;b=Gi[a&2047](483830)|0;k[165126]=b;b=Gi[a&2047](483866)|0;k[165127]=b;b=Gi[a&2047](483902)|0;k[165128]=b;b=Gi[a&2047](483939)|0;k[165129]=b;b=Gi[a&2047](483975)|0;k[165130]=b;b=Gi[a&2047](484002)|0;k[165131]=b}if(i[1249043]|0){b=Gi[a&2047](484038)|0;k[165132]=b}if(i[1249044]|0){b=Gi[a&2047](484062)|0;k[165133]=b;b=Gi[a&2047](484078)|0;k[165134]=b;b=Gi[a&2047](484097)|0;k[165135]=b;b=Gi[a&2047](484110)|0;k[165136]=b;b=Gi[a&2047](484126)|0;k[165137]=b;b=Gi[a&2047](484140)|0;k[165138]=b;b=Gi[a&2047](484158)|0;k[165139]=b;b=Gi[a&2047](484174)|0;k[165140]=b;b=Gi[a&2047](484196)|0;k[165141]=b;b=Gi[a&2047](484219)|0;k[165142]=b;b=Gi[a&2047](484243)|0;k[165143]=b}if(i[1249045]|0){b=Gi[a&2047](484268)|0;k[165144]=b}}function Eza(a){a=a|0;var b=0;a=k[a+16>>2]|0;if(i[1248938]|0){b=Gi[a&2047](450941)|0;k[163790]=b;b=Gi[a&2047](450954)|0;k[164727]=b;b=Gi[a&2047](450970)|0;k[163712]=b;b=Gi[a&2047](450986)|0;k[163735]=b;b=Gi[a&2047](450996)|0;k[164603]=b;b=Gi[a&2047](451007)|0;k[164039]=b;b=Gi[a&2047](451020)|0;k[164554]=b;b=Gi[a&2047](451045)|0;k[164544]=b;b=Gi[a&2047](451068)|0;k[164499]=b;b=Gi[a&2047](451086)|0;k[164581]=b;b=Gi[a&2047](451103)|0;k[164165]=b;b=Gi[a&2047](451131)|0;k[163716]=b;b=Gi[a&2047](451161)|0;k[163983]=b;b=Gi[a&2047](451174)|0;k[163967]=b;b=Gi[a&2047](451199)|0;k[164571]=b;b=Gi[a&2047](451222)|0;k[164432]=b;b=Gi[a&2047](451245)|0;k[164660]=b;b=Gi[a&2047](451266)|0;k[164507]=b;b=Gi[a&2047](451288)|0;k[164238]=b;b=Gi[a&2047](451306)|0;k[164042]=b;b=Gi[a&2047](451324)|0;k[164170]=b;b=Gi[a&2047](451342)|0;k[164417]=b;b=Gi[a&2047](451360)|0;k[164425]=b;b=Gi[a&2047](451379)|0;k[164223]=b;b=Gi[a&2047](451398)|0;k[163689]=b;b=Gi[a&2047](451417)|0;k[164532]=b;b=Gi[a&2047](451436)|0;k[164556]=b;b=Gi[a&2047](451455)|0;k[164598]=b;b=Gi[a&2047](451474)|0;k[164364]=b;b=Gi[a&2047](451493)|0;k[164406]=b;b=Gi[a&2047](451512)|0;k[164707]=b;b=Gi[a&2047](451532)|0;k[164478]=b;b=Gi[a&2047](451552)|0;k[164611]=b;b=Gi[a&2047](451572)|0;k[164484]=b;b=Gi[a&2047](451592)|0;k[164523]=b;b=Gi[a&2047](451611)|0;k[164309]=b;b=Gi[a&2047](451630)|0;k[163896]=b;b=Gi[a&2047](451650)|0;k[164174]=b;b=Gi[a&2047](451670)|0;k[163929]=b;b=Gi[a&2047](451686)|0;k[164066]=b;b=Gi[a&2047](451709)|0;k[163852]=b;b=Gi[a&2047](451731)|0;k[163829]=b;b=Gi[a&2047](451744)|0;k[164597]=b;b=Gi[a&2047](451757)|0;k[164481]=b;b=Gi[a&2047](451770)|0;k[164268]=b;b=Gi[a&2047](451783)|0;k[164164]=b;b=Gi[a&2047](451797)|0;k[164149]=b;b=Gi[a&2047](451811)|0;k[164186]=b;b=Gi[a&2047](451825)|0;k[164049]=b;b=Gi[a&2047](451839)|0;k[164537]=b;b=Gi[a&2047](451857)|0;k[164316]=b;b=Gi[a&2047](451876)|0;k[164636]=b;b=Gi[a&2047](451897)|0;k[163995]=b;b=Gi[a&2047](451919)|0;k[164469]=b;b=Gi[a&2047](451935)|0;k[164730]=b;b=Gi[a&2047](451952)|0;k[163776]=b;b=Gi[a&2047](451968)|0;k[163791]=b;b=Gi[a&2047](451984)|0;k[164285]=b;b=Gi[a&2047](611728)|0;k[163873]=b;b=Gi[a&2047](611680)|0;k[164343]=b;b=Gi[a&2047](611658)|0;k[164005]=b;b=Gi[a&2047](611639)|0;k[163745]=b;b=Gi[a&2047](613764)|0;k[163773]=b;b=Gi[a&2047](611699)|0;k[163953]=b;b=Gi[a&2047](612677)|0;k[164437]=b;b=Gi[a&2047](612533)|0;k[164271]=b;b=Gi[a&2047](612569)|0;k[163827]=b;b=Gi[a&2047](612551)|0;k[163866]=b;b=Gi[a&2047](613398)|0;k[164567]=b;b=Gi[a&2047](451997)|0;k[164057]=b;b=Gi[a&2047](612616)|0;k[163846]=b;b=Gi[a&2047](452020)|0;k[164303]=b;b=Gi[a&2047](612590)|0;k[163699]=b;b=Gi[a&2047](612639)|0;k[163847]=b;b=Gi[a&2047](613423)|0;k[164318]=b;b=Gi[a&2047](452043)|0;k[163794]=b;b=Gi[a&2047](452061)|0;k[164367]=b;b=Gi[a&2047](452094)|0;k[164013]=b;b=Gi[a&2047](452120)|0;k[164586]=b;b=Gi[a&2047](452137)|0;k[164019]=b;b=Gi[a&2047](612938)|0;k[164135]=b;b=Gi[a&2047](612917)|0;k[163962]=b;b=Gi[a&2047](612899)|0;k[164369]=b;b=Gi[a&2047](452162)|0;k[163879]=b}if(i[1248939]|0){b=Gi[a&2047](613193)|0;k[164317]=b;b=Gi[a&2047](613215)|0;k[163942]=b;b=Gi[a&2047](452178)|0;k[164182]=b;b=Gi[a&2047](452190)|0;k[164442]=b;b=Gi[a&2047](452214)|0;k[164706]=b;b=Gi[a&2047](452234)|0;k[163893]=b;b=Gi[a&2047](452254)|0;k[163902]=b;b=Gi[a&2047](452276)|0;k[163839]=b;b=Gi[a&2047](452299)|0;k[164625]=b;b=Gi[a&2047](452322)|0;k[164117]=b;b=Gi[a&2047](452348)|0;k[164610]=b;b=Gi[a&2047](452376)|0;k[164394]=b;b=Gi[a&2047](451068)|0;k[164499]=b;b=Gi[a&2047](451086)|0;k[164581]=b;b=Gi[a&2047](450970)|0;k[163712]=b}if(i[1248940]|0){b=Gi[a&2047](452398)|0;k[163971]=b;b=Gi[a&2047](452423)|0;k[163759]=b;b=Gi[a&2047](452453)|0;k[164379]=b;b=Gi[a&2047](452487)|0;k[164142]=b;b=Gi[a&2047](452517)|0;k[164299]=b;b=Gi[a&2047](452535)|0;k[163961]=b;b=Gi[a&2047](452547)|0;k[164002]=b;b=Gi[a&2047](452556)|0;k[164102]=b;b=Gi[a&2047](452569)|0;k[164531]=b;b=Gi[a&2047](452586)|0;k[164240]=b;b=Gi[a&2047](452597)|0;k[163898]=b;b=Gi[a&2047](452613)|0;k[164616]=b;b=Gi[a&2047](452625)|0;k[164033]=b;b=Gi[a&2047](452643)|0;k[164236]=b;b=Gi[a&2047](452668)|0;k[164587]=b;b=Gi[a&2047](452689)|0;k[164106]=b;b=Gi[a&2047](452713)|0;k[164716]=b;b=Gi[a&2047](452737)|0;k[163743]=b;b=Gi[a&2047](452756)|0;k[163757]=b}if(i[1248941]|0){b=Gi[a&2047](452770)|0;k[164043]=b;b=Gi[a&2047](452800)|0;k[163802]=b;b=Gi[a&2047](452819)|0;k[163982]=b;b=Gi[a&2047](452833)|0;k[163778]=b;b=Gi[a&2047](452850)|0;k[164558]=b;b=Gi[a&2047](452862)|0;k[163709]=b;b=Gi[a&2047](452876)|0;k[164246]=b;b=Gi[a&2047](452896)|0;k[164324]=b;b=Gi[a&2047](452917)|0;k[164248]=b;b=Gi[a&2047](452937)|0;k[164374]=b;b=Gi[a&2047](452958)|0;k[164141]=b;b=Gi[a&2047](452980)|0;k[164480]=b;b=Gi[a&2047](453003)|0;k[164540]=b;b=Gi[a&2047](453027)|0;k[163801]=b;b=Gi[a&2047](453052)|0;k[163887]=b;b=Gi[a&2047](453076)|0;k[164498]=b;b=Gi[a&2047](453102)|0;k[164296]=b;b=Gi[a&2047](453117)|0;k[163865]=b;b=Gi[a&2047](453138)|0;k[164712]=b;b=Gi[a&2047](613171)|0;k[164560]=b;b=Gi[a&2047](453160)|0;k[164031]=b;b=Gi[a&2047](453179)|0;k[164201]=b;b=Gi[a&2047](453199)|0;k[164643]=b;b=Gi[a&2047](453218)|0;k[164210]=b;b=Gi[a&2047](453238)|0;k[163919]=b;b=Gi[a&2047](453257)|0;k[164653]=b;b=Gi[a&2047](453277)|0;k[163740]=b;b=Gi[a&2047](453296)|0;k[164347]=b;b=Gi[a&2047](453316)|0;k[163758]=b;b=Gi[a&2047](453329)|0;k[164460]=b;b=Gi[a&2047](453343)|0;k[164559]=b;b=Gi[a&2047](453356)|0;k[163856]=b;b=Gi[a&2047](453370)|0;k[163733]=b;b=Gi[a&2047](453383)|0;k[164596]=b;b=Gi[a&2047](453397)|0;k[164639]=b;b=Gi[a&2047](453412)|0;k[163986]=b;b=Gi[a&2047](453428)|0;k[163789]=b;b=Gi[a&2047](453443)|0;k[164619]=b;b=Gi[a&2047](453459)|0;k[163835]=b;b=Gi[a&2047](453474)|0;k[163815]=b;b=Gi[a&2047](453490)|0;k[164009]=b;b=Gi[a&2047](453505)|0;k[164453]=b;b=Gi[a&2047](453521)|0;k[163923]=b;b=Gi[a&2047](453541)|0;k[164085]=b;b=Gi[a&2047](453562)|0;k[163796]=b;b=Gi[a&2047](453582)|0;k[164190]=b;b=Gi[a&2047](453603)|0;k[163729]=b;b=Gi[a&2047](453623)|0;k[163918]=b;b=Gi[a&2047](453644)|0;k[163820]=b;b=Gi[a&2047](453664)|0;k[163974]=b;b=Gi[a&2047](453685)|0;k[164312]=b;b=Gi[a&2047](453698)|0;k[164231]=b;b=Gi[a&2047](453712)|0;k[163963]=b;b=Gi[a&2047](453724)|0;k[163711]=b;b=Gi[a&2047](453737)|0;k[164397]=b;b=Gi[a&2047](453749)|0;k[164472]=b;b=Gi[a&2047](453762)|0;k[164041]=b;b=Gi[a&2047](453783)|0;k[164655]=b}if(i[1248942]|0){b=Gi[a&2047](453805)|0;k[163751]=b;b=Gi[a&2047](453824)|0;k[163908]=b;b=Gi[a&2047](453841)|0;k[164524]=b;b=Gi[a&2047](453866)|0;k[164576]=b;b=Gi[a&2047](453879)|0;k[164588]=b;b=Gi[a&2047](453900)|0;k[163792]=b;b=Gi[a&2047](453921)|0;k[164491]=b;b=Gi[a&2047](453944)|0;k[164252]=b;b=Gi[a&2047](453956)|0;k[164630]=b;b=Gi[a&2047](453968)|0;k[163784]=b;b=Gi[a&2047](453980)|0;k[164058]=b;b=Gi[a&2047](453992)|0;k[163994]=b;b=Gi[a&2047](454005)|0;k[163946]=b;b=Gi[a&2047](454018)|0;k[164691]=b;b=Gi[a&2047](454031)|0;k[164076]=b;b=Gi[a&2047](454044)|0;k[164575]=b;b=Gi[a&2047](454063)|0;k[163813]=b;b=Gi[a&2047](454082)|0;k[164105]=b;b=Gi[a&2047](454101)|0;k[164021]=b;b=Gi[a&2047](454122)|0;k[164647]=b;b=Gi[a&2047](454143)|0;k[164352]=b;b=Gi[a&2047](454164)|0;k[164322]=b;b=Gi[a&2047](454185)|0;k[164108]=b;b=Gi[a&2047](454206)|0;k[164220]=b;b=Gi[a&2047](454227)|0;k[164503]=b;b=Gi[a&2047](454242)|0;k[164696]=b;b=Gi[a&2047](454273)|0;k[164428]=b;b=Gi[a&2047](454294)|0;k[164178]=b;b=Gi[a&2047](454325)|0;k[164488]=b;b=Gi[a&2047](454358)|0;k[164387]=b;b=Gi[a&2047](454384)|0;k[163700]=b;b=Gi[a&2047](454408)|0;k[164546]=b;b=Gi[a&2047](454434)|0;k[164348]=b;b=Gi[a&2047](454454)|0;k[164620]=b;b=Gi[a&2047](454472)|0;k[164071]=b;b=Gi[a&2047](454491)|0;k[164709]=b;b=Gi[a&2047](454515)|0;k[164564]=b;b=Gi[a&2047](454542)|0;k[164512]=b;b=Gi[a&2047](454566)|0;k[164355]=b;b=Gi[a&2047](454588)|0;k[163795]=b;b=Gi[a&2047](454613)|0;k[164486]=b;b=Gi[a&2047](454639)|0;k[163993]=b;b=Gi[a&2047](454663)|0;k[164290]=b;b=Gi[a&2047](454693)|0;k[163954]=b;b=Gi[a&2047](454713)|0;k[164054]=b;b=Gi[a&2047](454731)|0;k[164411]=b}if(i[1248943]|0){b=Gi[a&2047](613136)|0;k[164612]=b;b=Gi[a&2047](613121)|0;k[164300]=b;b=Gi[a&2047](612421)|0;k[163969]=b;b=Gi[a&2047](613533)|0;k[163726]=b;b=Gi[a&2047](613269)|0;k[164506]=b;b=Gi[a&2047](454751)|0;k[164126]=b;b=Gi[a&2047](454770)|0;k[164557]=b;b=Gi[a&2047](454786)|0;k[163833]=b;b=Gi[a&2047](454806)|0;k[164398]=b;b=Gi[a&2047](454825)|0;k[163811]=b;b=Gi[a&2047](454847)|0;k[164386]=b;b=Gi[a&2047](454870)|0;k[164451]=b;b=Gi[a&2047](454892)|0;k[164729]=b;b=Gi[a&2047](454917)|0;k[164191]=b;b=Gi[a&2047](454939)|0;k[164360]=b;b=Gi[a&2047](454959)|0;k[164407]=b;b=Gi[a&2047](454982)|0;k[163945]=b;b=Gi[a&2047](455001)|0;k[164338]=b;b=Gi[a&2047](455021)|0;k[163948]=b;b=Gi[a&2047](455040)|0;k[164717]=b;b=Gi[a&2047](455060)|0;k[163947]=b;b=Gi[a&2047](455079)|0;k[164242]=b;b=Gi[a&2047](455099)|0;k[164012]=b;b=Gi[a&2047](455119)|0;k[163877]=b;b=Gi[a&2047](455140)|0;k[164621]=b;b=Gi[a&2047](455159)|0;k[163881]=b;b=Gi[a&2047](455179)|0;k[164208]=b;b=Gi[a&2047](455198)|0;k[164020]=b;b=Gi[a&2047](455218)|0;k[164119]=b;b=Gi[a&2047](455237)|0;k[164053]=b;b=Gi[a&2047](455257)|0;k[164667]=b;b=Gi[a&2047](455277)|0;k[164617]=b;b=Gi[a&2047](455298)|0;k[164213]=b;b=Gi[a&2047](455317)|0;k[163955]=b;b=Gi[a&2047](455337)|0;k[164403]=b;b=Gi[a&2047](455356)|0;k[164477]=b;b=Gi[a&2047](455376)|0;k[164404]=b;b=Gi[a&2047](455395)|0;k[163736]=b;b=Gi[a&2047](455415)|0;k[163924]=b;b=Gi[a&2047](455435)|0;k[164482]=b;b=Gi[a&2047](455456)|0;k[164278]=b;b=Gi[a&2047](455475)|0;k[164122]=b;b=Gi[a&2047](455495)|0;k[164280]=b;b=Gi[a&2047](455514)|0;k[164662]=b;b=Gi[a&2047](455534)|0;k[164282]=b;b=Gi[a&2047](455553)|0;k[164471]=b;b=Gi[a&2047](455573)|0;k[164668]=b;b=Gi[a&2047](455593)|0;k[164267]=b;b=Gi[a&2047](455614)|0;k[164320]=b;b=Gi[a&2047](455640)|0;k[164062]=b;b=Gi[a&2047](455666)|0;k[163806]=b;b=Gi[a&2047](455692)|0;k[163744]=b;b=Gi[a&2047](455718)|0;k[164298]=b;b=Gi[a&2047](455744)|0;k[164022]=b;b=Gi[a&2047](455770)|0;k[164468]=b;b=Gi[a&2047](455798)|0;k[163800]=b;b=Gi[a&2047](455826)|0;k[164604]=b;b=Gi[a&2047](455854)|0;k[164589]=b;b=Gi[a&2047](455882)|0;k[164090]=b;b=Gi[a&2047](455910)|0;k[164692]=b;b=Gi[a&2047](455938)|0;k[164199]=b;b=Gi[a&2047](455966)|0;k[163797]=b;b=Gi[a&2047](455994)|0;k[164025]=b;b=Gi[a&2047](456022)|0;k[163892]=b;b=Gi[a&2047](456050)|0;k[163871]=b;b=Gi[a&2047](456078)|0;k[164120]=b;b=Gi[a&2047](456106)|0;k[163970]=b;b=Gi[a&2047](456132)|0;k[164088]=b;b=Gi[a&2047](456160)|0;k[164590]=b;b=Gi[a&2047](456178)|0;k[164389]=b;b=Gi[a&2047](456196)|0;k[164728]=b;b=Gi[a&2047](456214)|0;k[163803]=b;b=Gi[a&2047](456232)|0;k[163920]=b;b=Gi[a&2047](456251)|0;k[164380]=b;b=Gi[a&2047](456270)|0;k[164502]=b;b=Gi[a&2047](456289)|0;k[163944]=b;b=Gi[a&2047](456308)|0;k[164375]=b;b=Gi[a&2047](456331)|0;k[164420]=b;b=Gi[a&2047](456352)|0;k[164315]=b;b=Gi[a&2047](456369)|0;k[164187]=b;b=Gi[a&2047](456388)|0;k[164234]=b;b=Gi[a&2047](456408)|0;k[164068]=b;b=Gi[a&2047](456424)|0;k[164595]=b;b=Gi[a&2047](456441)|0;k[164430]=b;b=Gi[a&2047](456459)|0;k[164221]=b;b=Gi[a&2047](456478)|0;k[164152]=b;b=Gi[a&2047](456498)|0;k[164533]=b;b=Gi[a&2047](456512)|0;k[163705]=b}if(i[1248944]|0){b=Gi[a&2047](456527)|0;k[164726]=b;b=Gi[a&2047](456561)|0;k[163734]=b;b=Gi[a&2047](456597)|0;k[163964]=b;b=Gi[a&2047](456643)|0;k[164048]=b;b=Gi[a&2047](456665)|0;k[164227]=b;b=Gi[a&2047](456698)|0;k[163804]=b;b=Gi[a&2047](456717)|0;k[163840]=b;b=Gi[a&2047](456733)|0;k[164249]=b;b=Gi[a&2047](456748)|0;k[164681]=b;b=Gi[a&2047](456763)|0;k[164408]=b;b=Gi[a&2047](456778)|0;k[163988]=b;b=Gi[a&2047](456811)|0;k[163718]=b}if(i[1248945]|0){b=Gi[a&2047](456850)|0;k[164553]=b;b=Gi[a&2047](456868)|0;k[164247]=b;b=Gi[a&2047](456889)|0;k[164026]=b;b=Gi[a&2047](456907)|0;k[164496]=b;b=Gi[a&2047](456933)|0;k[164044]=b;b=Gi[a&2047](456952)|0;k[164218]=b;b=Gi[a&2047](456976)|0;k[164701]=b;b=Gi[a&2047](457004)|0;k[164156]=b;b=Gi[a&2047](457028)|0;k[164444]=b;b=Gi[a&2047](457052)|0;k[164171]=b;b=Gi[a&2047](457073)|0;k[163818]=b;b=Gi[a&2047](457099)|0;k[164079]=b;b=Gi[a&2047](457122)|0;k[164064]=b;b=Gi[a&2047](457146)|0;k[164091]=b;b=Gi[a&2047](457173)|0;k[163772]=b;b=Gi[a&2047](457199)|0;k[164381]=b;b=Gi[a&2047](457227)|0;k[163912]=b;b=Gi[a&2047](457251)|0;k[164489]=b;b=Gi[a&2047](457277)|0;k[164219]=b;b=Gi[a&2047](457302)|0;k[164732]=b;b=Gi[a&2047](457325)|0;k[164224]=b;b=Gi[a&2047](457354)|0;k[164527]=b;b=Gi[a&2047](457388)|0;k[163889]=b;b=Gi[a&2047](457416)|0;k[164723]=b;b=Gi[a&2047](457433)|0;k[164629]=b;b=Gi[a&2047](457459)|0;k[163979]=b;b=Gi[a&2047](457485)|0;k[164602]=b;b=Gi[a&2047](457499)|0;k[164548]=b;b=Gi[a&2047](457518)|0;k[164172]=b;b=Gi[a&2047](457539)|0;k[164613]=b;b=Gi[a&2047](457561)|0;k[164143]=b;b=Gi[a&2047](457583)|0;k[164176]=b;b=Gi[a&2047](457605)|0;k[163927]=b;b=Gi[a&2047](457628)|0;k[163762]=b;b=Gi[a&2047](457650)|0;k[164550]=b;b=Gi[a&2047](457671)|0;k[164169]=b;b=Gi[a&2047](457694)|0;k[163876]=b;b=Gi[a&2047](457715)|0;k[163968]=b;b=Gi[a&2047](457732)|0;k[163907]=b;b=Gi[a&2047](457748)|0;k[164416]=b;b=Gi[a&2047](457762)|0;k[164207]=b;b=Gi[a&2047](457779)|0;k[164063]=b;b=Gi[a&2047](457796)|0;k[164015]=b;b=Gi[a&2047](612758)|0;k[163926]=b;b=Gi[a&2047](612758)|0;k[163926]=b}if(i[1248946]|0){b=Gi[a&2047](457816)|0;k[164529]=b;b=Gi[a&2047](457832)|0;k[164131]=b;b=Gi[a&2047](457848)|0;k[163870]=b;b=Gi[a&2047](457867)|0;k[164694]=b;b=Gi[a&2047](457885)|0;k[164040]=b;b=Gi[a&2047](457904)|0;k[164065]=b;b=Gi[a&2047](457919)|0;k[164561]=b;b=Gi[a&2047](457934)|0;k[164448]=b;b=Gi[a&2047](457954)|0;k[163977]=b}if(i[1248947]|0){b=Gi[a&2047](457974)|0;k[164731]=b;b=Gi[a&2047](457988)|0;k[164180]=b;b=Gi[a&2047](458015)|0;k[163868]=b;b=Gi[a&2047](458045)|0;k[163925]=b;b=Gi[a&2047](458076)|0;k[163830]=b;b=Gi[a&2047](458101)|0;k[163996]=b;b=Gi[a&2047](458127)|0;k[164104]=b;b=Gi[a&2047](458155)|0;k[164724]=b;b=Gi[a&2047](458171)|0;k[164067]=b;b=Gi[a&2047](458192)|0;k[164678]=b;b=Gi[a&2047](458210)|0;k[164435]=b;b=Gi[a&2047](458231)|0;k[163798]=b;b=Gi[a&2047](458256)|0;k[164310]=b;b=Gi[a&2047](458279)|0;k[164683]=b;b=Gi[a&2047](458305)|0;k[163917]=b;b=Gi[a&2047](458322)|0;k[164684]=b;b=Gi[a&2047](458344)|0;k[164301]=b;b=Gi[a&2047](458363)|0;k[164443]=b;b=Gi[a&2047](458393)|0;k[163731]=b;b=Gi[a&2047](458421)|0;k[164623]=b;b=Gi[a&2047](458451)|0;k[164495]=b;b=Gi[a&2047](458476)|0;k[164440]=b;b=Gi[a&2047](458500)|0;k[164614]=b;b=Gi[a&2047](458521)|0;k[164459]=b;b=Gi[a&2047](458552)|0;k[164725]=b;b=Gi[a&2047](458581)|0;k[163799]=b;b=Gi[a&2047](458607)|0;k[164685]=b;b=Gi[a&2047](458638)|0;k[164410]=b;b=Gi[a&2047](458667)|0;k[163932]=b;b=Gi[a&2047](458697)|0;k[164270]=b;b=Gi[a&2047](458726)|0;k[164392]=b;b=Gi[a&2047](458759)|0;k[164497]=b;b=Gi[a&2047](458795)|0;k[164592]=b;b=Gi[a&2047](458821)|0;k[164e3]=b;b=Gi[a&2047](458848)|0;k[164438]=b;b=Gi[a&2047](458874)|0;k[163752]=b;b=Gi[a&2047](458900)|0;k[163884]=b;b=Gi[a&2047](458923)|0;k[164333]=b;b=Gi[a&2047](458953)|0;k[164479]=b;b=Gi[a&2047](458986)|0;k[164458]=b;b=Gi[a&2047](459029)|0;k[164605]=b;b=Gi[a&2047](459051)|0;k[163957]=b;b=Gi[a&2047](459078)|0;k[164308]=b;b=Gi[a&2047](459116)|0;k[163987]=b;b=Gi[a&2047](459150)|0;k[163867]=b;b=Gi[a&2047](459167)|0;k[164536]=b;b=Gi[a&2047](459183)|0;k[163921]=b;b=Gi[a&2047](459204)|0;k[163906]=b;b=Gi[a&2047](459223)|0;k[164145]=b;b=Gi[a&2047](459242)|0;k[164570]=b;b=Gi[a&2047](459261)|0;k[163965]=b;b=Gi[a&2047](459291)|0;k[163692]=b;b=Gi[a&2047](459321)|0;k[164501]=b;b=Gi[a&2047](459341)|0;k[164287]=b;b=Gi[a&2047](459361)|0;k[164056]=b;b=Gi[a&2047](459381)|0;k[164082]=b;b=Gi[a&2047](459411)|0;k[164319]=b;b=Gi[a&2047](459441)|0;k[164441]=b;b=Gi[a&2047](459471)|0;k[164158]=b;b=Gi[a&2047](459495)|0;k[164340]=b;b=Gi[a&2047](459519)|0;k[163855]=b;b=Gi[a&2047](459543)|0;k[163688]=b;b=Gi[a&2047](459563)|0;k[163693]=b;b=Gi[a&2047](459584)|0;k[164016]=b;b=Gi[a&2047](459604)|0;k[164283]=b;b=Gi[a&2047](459626)|0;k[164162]=b;b=Gi[a&2047](459649)|0;k[164415]=b;b=Gi[a&2047](459670)|0;k[164146]=b;b=Gi[a&2047](459694)|0;k[163764]=b;b=Gi[a&2047](459712)|0;k[164051]=b;b=Gi[a&2047](459730)|0;k[163720]=b;b=Gi[a&2047](459758)|0;k[164492]=b;b=Gi[a&2047](459787)|0;k[164475]=b;b=Gi[a&2047](459816)|0;k[164286]=b;b=Gi[a&2047](459840)|0;k[163853]=b;b=Gi[a&2047](459865)|0;k[164446]=b;b=Gi[a&2047](459891)|0;k[164229]=b;b=Gi[a&2047](459915)|0;k[164241]=b;b=Gi[a&2047](459936)|0;k[163981]=b;b=Gi[a&2047](459963)|0;k[164382]=b;b=Gi[a&2047](459989)|0;k[163690]=b;b=Gi[a&2047](460016)|0;k[163975]=b;b=Gi[a&2047](460042)|0;k[164081]=b;b=Gi[a&2047](460069)|0;k[163905]=b;b=Gi[a&2047](460096)|0;k[164541]=b;b=Gi[a&2047](460122)|0;k[163858]=b;b=Gi[a&2047](460149)|0;k[163817]=b;b=Gi[a&2047](460176)|0;k[163936]=b;b=Gi[a&2047](460204)|0;k[164339]=b;b=Gi[a&2047](460223)|0;k[164001]=b;b=Gi[a&2047](460249)|0;k[164658]=b;b=Gi[a&2047](460277)|0;k[164551]=b;b=Gi[a&2047](460294)|0;k[164368]=b;b=Gi[a&2047](460319)|0;k[163886]=b;b=Gi[a&2047](460335)|0;k[163808]=b;b=Gi[a&2047](460362)|0;k[164422]=b;b=Gi[a&2047](460387)|0;k[164637]=b;b=Gi[a&2047](460415)|0;k[163753]=b;b=Gi[a&2047](460441)|0;k[163730]=b;b=Gi[a&2047](460465)|0;k[164510]=b;b=Gi[a&2047](460486)|0;k[164705]=b;b=Gi[a&2047](460517)|0;k[163841]=b;b=Gi[a&2047](460542)|0;k[164255]=b;b=Gi[a&2047](460567)|0;k[164181]=b;b=Gi[a&2047](460582)|0;k[163922]=b;b=Gi[a&2047](460598)|0;k[164378]=b;b=Gi[a&2047](460614)|0;k[164276]=b;b=Gi[a&2047](460630)|0;k[164421]=b;b=Gi[a&2047](460647)|0;k[164542]=b;b=Gi[a&2047](460661)|0;k[164599]=b;b=Gi[a&2047](460673)|0;k[163721]=b;b=Gi[a&2047](460685)|0;k[163781]=b;b=Gi[a&2047](460697)|0;k[164618]=b;b=Gi[a&2047](460714)|0;k[164474]=b;b=Gi[a&2047](460732)|0;k[163939]=b;b=Gi[a&2047](460750)|0;k[163998]=b;b=Gi[a&2047](460771)|0;k[164302]=b;b=Gi[a&2047](460788)|0;k[164447]=b;b=Gi[a&2047](460812)|0;k[164609]=b;b=Gi[a&2047](460834)|0;k[164116]=b;b=Gi[a&2047](460850)|0;k[163900]=b;b=Gi[a&2047](460863)|0;k[164664]=b}if(i[1248948]|0){b=Gi[a&2047](613440)|0;k[164357]=b;b=Gi[a&2047](611214)|0;k[164292]=b;b=Gi[a&2047](612512)|0;k[164573]=b;b=Gi[a&2047](612138)|0;k[164626]=b;b=Gi[a&2047](612533)|0;k[164271]=b;b=Gi[a&2047](611680)|0;k[164343]=b;b=Gi[a&2047](611447)|0;k[163754]=b;b=Gi[a&2047](613806)|0;k[164473]=b;b=Gi[a&2047](613456)|0;k[164538]=b;b=Gi[a&2047](613496)|0;k[164424]=b;b=Gi[a&2047](613484)|0;k[164433]=b;b=Gi[a&2047](613786)|0;k[163749]=b;b=Gi[a&2047](611599)|0;k[164634]=b;b=Gi[a&2047](611612)|0;k[164582]=b;b=Gi[a&2047](613398)|0;k[164567]=b;b=Gi[a&2047](613337)|0;k[163837]=b;b=Gi[a&2047](613712)|0;k[164464]=b;b=Gi[a&2047](613269)|0;k[164506]=b;b=Gi[a&2047](613357)|0;k[163985]=b;b=Gi[a&2047](613752)|0;k[164535]=b;b=Gi[a&2047](612330)|0;k[163715]=b;b=Gi[a&2047](611356)|0;k[163747]=b;b=Gi[a&2047](611379)|0;k[164518]=b;b=Gi[a&2047](613878)|0;k[164036]=b;b=Gi[a&2047](613895)|0;k[163746]=b;b=Gi[a&2047](611115)|0;k[164434]=b;b=Gi[a&2047](611184)|0;k[163741]=b;b=Gi[a&2047](613326)|0;k[164274]=b;b=Gi[a&2047](611560)|0;k[164450]=b;b=Gi[a&2047](612569)|0;k[163827]=b;b=Gi[a&2047](612405)|0;k[163766]=b;b=Gi[a&2047](611658)|0;k[164005]=b;b=Gi[a&2047](612261)|0;k[164154]=b;b=Gi[a&2047](611339)|0;k[164226]=b;b=Gi[a&2047](613283)|0;k[164517]=b;b=Gi[a&2047](613372)|0;k[164713]=b;b=Gi[a&2047](613533)|0;k[163726]=b;b=Gi[a&2047](611244)|0;k[164212]=b;b=Gi[a&2047](613304)|0;k[164262]=b;b=Gi[a&2047](613066)|0;k[163880]=b;b=Gi[a&2047](613093)|0;k[163828]=b;b=Gi[a&2047](613106)|0;k[164155]=b;b=Gi[a&2047](613295)|0;k[163901]=b;b=Gi[a&2047](613040)|0;k[164358]=b;b=Gi[a&2047](613239)|0;k[164151]=b;b=Gi[a&2047](613248)|0;k[163952]=b;b=Gi[a&2047](612590)|0;k[163699]=b;b=Gi[a&2047](612616)|0;k[163846]=b;b=Gi[a&2047](613314)|0;k[164722]=b;b=Gi[a&2047](611547)|0;k[164426]=b;b=Gi[a&2047](613423)|0;k[164318]=b;b=Gi[a&2047](612551)|0;k[163866]=b;b=Gi[a&2047](611639)|0;k[163745]=b;b=Gi[a&2047](611325)|0;k[163991]=b;b=Gi[a&2047](612243)|0;k[164258]=b;b=Gi[a&2047](611862)|0;k[164720]=b;b=Gi[a&2047](612276)|0;k[163872]=b;b=Gi[a&2047](612223)|0;k[163978]=b;b=Gi[a&2047](611311)|0;k[164153]=b;b=Gi[a&2047](611576)|0;k[164132]=b;b=Gi[a&2047](613160)|0;k[164640]=b;b=Gi[a&2047](611299)|0;k[164644]=b;b=Gi[a&2047](612639)|0;k[163847]=b;b=Gi[a&2047](611285)|0;k[164656]=b;b=Gi[a&2047](612379)|0;k[164642]=b;b=Gi[a&2047](612462)|0;k[164130]=b;b=Gi[a&2047](611699)|0;k[163953]=b;b=Gi[a&2047](612365)|0;k[164059]=b;b=Gi[a&2047](612346)|0;k[163864]=b;b=Gi[a&2047](612421)|0;k[163969]=b;b=Gi[a&2047](612312)|0;k[164179]=b;b=Gi[a&2047](611273)|0;k[164209]=b;b=Gi[a&2047](611461)|0;k[164525]=b;b=Gi[a&2047](611481)|0;k[164239]=b;b=Gi[a&2047](611745)|0;k[164372]=b;b=Gi[a&2047](611760)|0;k[164078]=b;b=Gi[a&2047](611775)|0;k[164539]=b;b=Gi[a&2047](611796)|0;k[164251]=b;b=Gi[a&2047](611816)|0;k[164107]=b;b=Gi[a&2047](611836)|0;k[163959]=b;b=Gi[a&2047](613569)|0;k[164203]=b;b=Gi[a&2047](611628)|0;k[163742]=b;b=Gi[a&2047](613472)|0;k[163843]=b;b=Gi[a&2047](612677)|0;k[164437]=b;b=Gi[a&2047](612500)|0;k[164349]=b;b=Gi[a&2047](611728)|0;k[163873]=b;b=Gi[a&2047](612394)|0;k[163894]=b;b=Gi[a&2047](611535)|0;k[164676]=b;b=Gi[a&2047](613345)|0;k[163710]=b;b=Gi[a&2047](612448)|0;k[164202]=b;b=Gi[a&2047](611259)|0;k[164087]=b;b=Gi[a&2047](613576)|0;k[163928]=b;b=Gi[a&2047](611434)|0;k[164363]=b;b=Gi[a&2047](613136)|0;k[164612]=b;b=Gi[a&2047](613764)|0;k[163773]=b;b=Gi[a&2047](613609)|0;k[164245]=b;b=Gi[a&2047](613725)|0;k[164452]=b;b=Gi[a&2047](613121)|0;k[164300]=b;b=Gi[a&2047](612297)|0;k[164608]=b;b=Gi[a&2047](613675)|0;k[164391]=b;b=Gi[a&2047](613819)|0;k[163980]=b;b=Gi[a&2047](613384)|0;k[164672]=b;b=Gi[a&2047](613547)|0;k[163723]=b;b=Gi[a&2047](613689)|0;k[163844]=b;b=Gi[a&2047](613841)|0;k[164228]=b;b=Gi[a&2047](611405)|0;k[164671]=b;b=Gi[a&2047](613642)|0;k[164175]=b;b=Gi[a&2047](611501)|0;k[164686]=b;b=Gi[a&2047](613626)|0;k[164177]=b;b=Gi[a&2047](611518)|0;k[163857]=b;b=Gi[a&2047](611418)|0;k[164261]=b;b=Gi[a&2047](611881)|0;k[164250]=b;b=Gi[a&2047](612029)|0;k[164679]=b;b=Gi[a&2047](611929)|0;k[164257]=b;b=Gi[a&2047](611977)|0;k[164385]=b;b=Gi[a&2047](611893)|0;k[164622]=b;b=Gi[a&2047](612042)|0;k[164487]=b;b=Gi[a&2047](611941)|0;k[164006]=b;b=Gi[a&2047](611990)|0;k[164046]=b;b=Gi[a&2047](611905)|0;k[163785]=b;b=Gi[a&2047](612055)|0;k[164086]=b;b=Gi[a&2047](611953)|0;k[164259]=b;b=Gi[a&2047](612003)|0;k[164112]=b;b=Gi[a&2047](611917)|0;k[164366]=b;b=Gi[a&2047](612068)|0;k[164719]=b;b=Gi[a&2047](611965)|0;k[164356]=b;b=Gi[a&2047](612016)|0;k[163984]=b;b=Gi[a&2047](612081)|0;k[164632]=b;b=Gi[a&2047](612100)|0;k[164687]=b;b=Gi[a&2047](612119)|0;k[164718]=b;b=Gi[a&2047](611150)|0;k[164127]=b;b=Gi[a&2047](612482)|0;k[164184]=b;b=Gi[a&2047](613592)|0;k[163748]=b;b=Gi[a&2047](612151)|0;k[164047]=b;b=Gi[a&2047](613658)|0;k[164710]=b;b=Gi[a&2047](612169)|0;k[164648]=b;b=Gi[a&2047](613735)|0;k[163805]=b;b=Gi[a&2047](612187)|0;k[164110]=b;b=Gi[a&2047](613861)|0;k[164232]=b;b=Gi[a&2047](612205)|0;k[164353]=b;b=Gi[a&2047](613018)|0;k[164011]=b;b=Gi[a&2047](613701)|0;k[164163]=b}if(i[1248949]|0){b=Gi[a&2047](445094)|0;k[164314]=b;b=Gi[a&2047](612772)|0;k[164579]=b;b=Gi[a&2047](448497)|0;k[164436]=b;b=Gi[a&2047](448510)|0;k[164032]=b;b=Gi[a&2047](448526)|0;k[164167]=b;b=Gi[a&2047](448546)|0;k[164100]=b;b=Gi[a&2047](448592)|0;k[163702]=b;b=Gi[a&2047](450106)|0;k[164028]=b;b=Gi[a&2047](450119)|0;k[164230]=b;b=Gi[a&2047](450135)|0;k[164665]=b;b=Gi[a&2047](450145)|0;k[164624]=b;b=Gi[a&2047](450158)|0;k[164215]=b;b=Gi[a&2047](450169)|0;k[163882]=b;b=Gi[a&2047](450201)|0;k[163845]=b;b=Gi[a&2047](450252)|0;k[164334]=b;b=Gi[a&2047](450266)|0;k[164659]=b;b=Gi[a&2047](613915)|0;k[164115]=b;b=Gi[a&2047](450815)|0;k[164294]=b;b=Gi[a&2047](450836)|0;k[163761]=b;b=Gi[a&2047](450857)|0;k[164134]=b;b=Gi[a&2047](450878)|0;k[164574]=b;b=Gi[a&2047](450899)|0;k[163812]=b;b=Gi[a&2047](450920)|0;k[163774]=b;b=Gi[a&2047](452043)|0;k[163794]=b;b=Gi[a&2047](452061)|0;k[164367]=b;b=Gi[a&2047](452094)|0;k[164013]=b;b=Gi[a&2047](452120)|0;k[164586]=b;b=Gi[a&2047](452137)|0;k[164019]=b;b=Gi[a&2047](612938)|0;k[164135]=b;b=Gi[a&2047](612917)|0;k[163962]=b;b=Gi[a&2047](612899)|0;k[164369]=b;b=Gi[a&2047](452162)|0;k[163879]=b;b=Gi[a&2047](450970)|0;k[163712]=b;b=Gi[a&2047](451020)|0;k[164554]=b;b=Gi[a&2047](451045)|0;k[164544]=b;b=Gi[a&2047](451068)|0;k[164499]=b;b=Gi[a&2047](451086)|0;k[164581]=b;b=Gi[a&2047](451103)|0;k[164165]=b;b=Gi[a&2047](451131)|0;k[163716]=b;b=Gi[a&2047](451222)|0;k[164432]=b;b=Gi[a&2047](451245)|0;k[164660]=b;b=Gi[a&2047](451266)|0;k[164507]=b;b=Gi[a&2047](451342)|0;k[164417]=b;b=Gi[a&2047](451417)|0;k[164532]=b;b=Gi[a&2047](451493)|0;k[164406]=b;b=Gi[a&2047](451572)|0;k[164484]=b;b=Gi[a&2047](451670)|0;k[163929]=b;b=Gi[a&2047](451709)|0;k[163852]=b;b=Gi[a&2047](451731)|0;k[163829]=b;b=Gi[a&2047](451744)|0;k[164597]=b;b=Gi[a&2047](451757)|0;k[164481]=b;b=Gi[a&2047](451770)|0;k[164268]=b;b=Gi[a&2047](451783)|0;k[164164]=b;b=Gi[a&2047](451797)|0;k[164149]=b;b=Gi[a&2047](451811)|0;k[164186]=b;b=Gi[a&2047](451825)|0;k[164049]=b;b=Gi[a&2047](451919)|0;k[164469]=b;b=Gi[a&2047](451935)|0;k[164730]=b;b=Gi[a&2047](451952)|0;k[163776]=b;b=Gi[a&2047](451968)|0;k[163791]=b;b=Gi[a&2047](451984)|0;k[164285]=b;b=Gi[a&2047](452214)|0;k[164706]=b;b=Gi[a&2047](452234)|0;k[163893]=b;b=Gi[a&2047](452254)|0;k[163902]=b;b=Gi[a&2047](452299)|0;k[164625]=b;b=Gi[a&2047](452322)|0;k[164117]=b;b=Gi[a&2047](452348)|0;k[164610]=b;b=Gi[a&2047](452376)|0;k[164394]=b;b=Gi[a&2047](613193)|0;k[164317]=b;b=Gi[a&2047](613215)|0;k[163942]=b;b=Gi[a&2047](452535)|0;k[163961]=b;b=Gi[a&2047](452547)|0;k[164002]=b;b=Gi[a&2047](452556)|0;k[164102]=b;b=Gi[a&2047](452569)|0;k[164531]=b;b=Gi[a&2047](452586)|0;k[164240]=b;b=Gi[a&2047](452597)|0;k[163898]=b;b=Gi[a&2047](452613)|0;k[164616]=b;b=Gi[a&2047](452625)|0;k[164033]=b;b=Gi[a&2047](452643)|0;k[164236]=b;b=Gi[a&2047](452819)|0;k[163982]=b;b=Gi[a&2047](452833)|0;k[163778]=b;b=Gi[a&2047](452850)|0;k[164558]=b;b=Gi[a&2047](452862)|0;k[163709]=b;b=Gi[a&2047](452876)|0;k[164246]=b;b=Gi[a&2047](452896)|0;k[164324]=b;b=Gi[a&2047](452917)|0;k[164248]=b;b=Gi[a&2047](452937)|0;k[164374]=b;b=Gi[a&2047](453003)|0;k[164540]=b;b=Gi[a&2047](453052)|0;k[163887]=b;b=Gi[a&2047](613171)|0;k[164560]=b;b=Gi[a&2047](454491)|0;k[164709]=b;b=Gi[a&2047](454515)|0;k[164564]=b;b=Gi[a&2047](454542)|0;k[164512]=b;b=Gi[a&2047](454566)|0;k[164355]=b;b=Gi[a&2047](454588)|0;k[163795]=b;b=Gi[a&2047](454613)|0;k[164486]=b;b=Gi[a&2047](454751)|0;k[164126]=b;b=Gi[a&2047](454770)|0;k[164557]=b;b=Gi[a&2047](454786)|0;k[163833]=b;b=Gi[a&2047](457122)|0;k[164064]=b;b=Gi[a&2047](457146)|0;k[164091]=b;b=Gi[a&2047](456748)|0;k[164681]=b;b=Gi[a&2047](456763)|0;k[164408]=b;b=Gi[a&2047](456643)|0;k[164048]=b}if(i[1248950]|0){b=Gi[a&2047](456889)|0;k[164026]=b;b=Gi[a&2047](456907)|0;k[164496]=b;b=Gi[a&2047](453900)|0;k[163792]=b;b=Gi[a&2047](453921)|0;k[164491]=b;b=Gi[a&2047](456952)|0;k[164218]=b;b=Gi[a&2047](456976)|0;k[164701]=b;b=Gi[a&2047](457227)|0;k[163912]=b;b=Gi[a&2047](457251)|0;k[164489]=b;b=Gi[a&2047](457277)|0;k[164219]=b;b=Gi[a&2047](457302)|0;k[164732]=b;b=Gi[a&2047](457325)|0;k[164224]=b;b=Gi[a&2047](454806)|0;k[164398]=b;b=Gi[a&2047](454825)|0;k[163811]=b;b=Gi[a&2047](454847)|0;k[164386]=b;b=Gi[a&2047](454870)|0;k[164451]=b;b=Gi[a&2047](454892)|0;k[164729]=b;b=Gi[a&2047](454917)|0;k[164191]=b;b=Gi[a&2047](454939)|0;k[164360]=b;b=Gi[a&2047](454959)|0;k[164407]=b;b=Gi[a&2047](454982)|0;k[163945]=b;b=Gi[a&2047](455140)|0;k[164621]=b;b=Gi[a&2047](455298)|0;k[164213]=b;b=Gi[a&2047](455456)|0;k[164278]=b;b=Gi[a&2047](455099)|0;k[164012]=b;b=Gi[a&2047](455257)|0;k[164667]=b;b=Gi[a&2047](455415)|0;k[163924]=b;b=Gi[a&2047](455573)|0;k[164668]=b;b=Gi[a&2047](455021)|0;k[163948]=b;b=Gi[a&2047](455179)|0;k[164208]=b;b=Gi[a&2047](455337)|0;k[164403]=b;b=Gi[a&2047](455495)|0;k[164280]=b;b=Gi[a&2047](455001)|0;k[164338]=b;b=Gi[a&2047](455159)|0;k[163881]=b;b=Gi[a&2047](455317)|0;k[163955]=b;b=Gi[a&2047](455475)|0;k[164122]=b;b=Gi[a&2047](455119)|0;k[163877]=b;b=Gi[a&2047](455277)|0;k[164617]=b;b=Gi[a&2047](455435)|0;k[164482]=b;b=Gi[a&2047](455593)|0;k[164267]=b;b=Gi[a&2047](455040)|0;k[164717]=b;b=Gi[a&2047](455198)|0;k[164020]=b;b=Gi[a&2047](455356)|0;k[164477]=b;b=Gi[a&2047](455514)|0;k[164662]=b;b=Gi[a&2047](455614)|0;k[164320]=b;b=Gi[a&2047](455640)|0;k[164062]=b;b=Gi[a&2047](455666)|0;k[163806]=b;b=Gi[a&2047](455770)|0;k[164468]=b;b=Gi[a&2047](455798)|0;k[163800]=b;b=Gi[a&2047](455826)|0;k[164604]=b;b=Gi[a&2047](455854)|0;k[164589]=b;b=Gi[a&2047](455882)|0;k[164090]=b;b=Gi[a&2047](455910)|0;k[164692]=b;b=Gi[a&2047](456106)|0;k[163970]=b;b=Gi[a&2047](456132)|0;k[164088]=b;b=Gi[a&2047](456698)|0;k[163804]=b;b=Gi[a&2047](450954)|0;k[164727]=b;b=Gi[a&2047](456717)|0;k[163840]=b;b=Gi[a&2047](460441)|0;k[163730]=b;b=Gi[a&2047](457433)|0;k[164629]=b;b=Gi[a&2047](452737)|0;k[163743]=b;b=Gi[a&2047](452756)|0;k[163757]=b;b=Gi[a&2047](445159)|0;k[163972]=b;b=Gi[a&2047](445134)|0;k[164650]=b;b=Gi[a&2047](457499)|0;k[164548]=b;b=Gi[a&2047](457518)|0;k[164172]=b;b=Gi[a&2047](457539)|0;k[164613]=b;b=Gi[a&2047](457583)|0;k[164176]=b;b=Gi[a&2047](457605)|0;k[163927]=b}if(i[1248951]|0){b=Gi[a&2047](460880)|0;k[164666]=b;b=Gi[a&2047](456933)|0;k[164044]=b;b=Gi[a&2047](457628)|0;k[163762]=b;b=Gi[a&2047](457650)|0;k[164550]=b;b=Gi[a&2047](457671)|0;k[164169]=b;b=Gi[a&2047](457694)|0;k[163876]=b;b=Gi[a&2047](457715)|0;k[163968]=b;b=Gi[a&2047](457732)|0;k[163907]=b;b=Gi[a&2047](457748)|0;k[164416]=b;b=Gi[a&2047](457762)|0;k[164207]=b;b=Gi[a&2047](457779)|0;k[164063]=b;b=Gi[a&2047](457796)|0;k[164015]=b;b=Gi[a&2047](612758)|0;k[163926]=b;b=Gi[a&2047](450986)|0;k[163735]=b;b=Gi[a&2047](450996)|0;k[164603]=b;b=Gi[a&2047](453824)|0;k[163908]=b;b=Gi[a&2047](453841)|0;k[164524]=b;b=Gi[a&2047](453866)|0;k[164576]=b;b=Gi[a&2047](453879)|0;k[164588]=b;b=Gi[a&2047](450941)|0;k[163790]=b;b=Gi[a&2047](451007)|0;k[164039]=b;b=Gi[a&2047](452398)|0;k[163971]=b;b=Gi[a&2047](452423)|0;k[163759]=b;b=Gi[a&2047](452453)|0;k[164379]=b;b=Gi[a&2047](452668)|0;k[164587]=b;b=Gi[a&2047](460895)|0;k[164024]=b;b=Gi[a&2047](460517)|0;k[163841]=b;b=Gi[a&2047](460647)|0;k[164542]=b;b=Gi[a&2047](460598)|0;k[164378]=b;b=Gi[a&2047](460614)|0;k[164276]=b;b=Gi[a&2047](460630)|0;k[164421]=b;b=Gi[a&2047](453805)|0;k[163751]=b;b=Gi[a&2047](454454)|0;k[164620]=b;b=Gi[a&2047](451839)|0;k[164537]=b;b=Gi[a&2047](451857)|0;k[164316]=b;b=Gi[a&2047](451876)|0;k[164636]=b;b=Gi[a&2047](451897)|0;k[163995]=b;b=Gi[a&2047](452958)|0;k[164141]=b;b=Gi[a&2047](452980)|0;k[164480]=b;b=Gi[a&2047](453027)|0;k[163801]=b;b=Gi[a&2047](453076)|0;k[164498]=b;b=Gi[a&2047](452178)|0;k[164182]=b;b=Gi[a&2047](457416)|0;k[164723]=b;b=Gi[a&2047](457459)|0;k[163979]=b}Xsa();if(i[1248952]|0){b=Gi[a&2047](473811)|0;k[164733]=b}} +function Rdb(a,b,c,d,e,f,g,h,i,j,m){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;C=k[a+4>>2]|0;if((f+-1|0)>>>0<2){n=j&255;B=((ha(j&255,i&255)|0)>>>0)/255|0;A=((ha(j&255,h&255)|0)>>>0)/255|0;z=((ha(j&255,g&255)|0)>>>0)/255|0}else{n=j&255;B=i&255;A=h&255;z=g&255}y=n^255;if((e|0)==(c|0))switch(f|0){case 1:{i=(k[a+20>>2]|0)+((ha((k[a+16>>2]|0)/(l[C+9>>0]|0|0)|0,e)|0)<<2)|0;if((d|0)<(b|0)){h=b-d+((m|0)!=0&1)|0;i=m|0?i+(d<<2)|0:i+(d<<2)+4|0}else{h=d-b+((m|0)!=0&1)|0;i=i+(b<<2)|0}if(!h)return;j=k[C+32>>2]|0;g=k[C+28>>2]|0;n=k[124356+((g&255)<<2)>>2]|0;f=k[124356+((g>>>8&255)<<2)>>2]|0;e=k[124356+((g>>>16&255)<<2)>>2]|0;while(1){h=h+-1|0;c=k[i>>2]|0;b=((((ha(l[f+((k[C+16>>2]&c)>>>(j>>>8&255))>>0]|0,y)|0)>>>0)/255|0)+A|0)>>>(g>>>8&255)<<(j>>>8&255)|((((ha(l[n+((k[C+12>>2]&c)>>>(j&255))>>0]|0,y)|0)>>>0)/255|0)+z|0)>>>(g&255)<<(j&255);c=((((ha(l[e+((k[C+20>>2]&c)>>>(j>>>16&255))>>0]|0,y)|0)>>>0)/255|0)+B|0)>>>(g>>>16&255)<<(j>>>16&255);k[i>>2]=b|k[C+24>>2]|c;if(!h)break;else i=i+4|0}return}case 2:{i=(k[a+20>>2]|0)+((ha((k[a+16>>2]|0)/(l[C+9>>0]|0|0)|0,e)|0)<<2)|0;if((d|0)<(b|0)){h=b-d+((m|0)!=0&1)|0;i=m|0?i+(d<<2)|0:i+(d<<2)+4|0}else{h=d-b+((m|0)!=0&1)|0;i=i+(b<<2)|0}if(!h)return;j=k[C+32>>2]|0;g=k[C+28>>2]|0;n=k[124356+((g&255)<<2)>>2]|0;f=k[124356+((g>>>8&255)<<2)>>2]|0;e=k[124356+((g>>>16&255)<<2)>>2]|0;while(1){h=h+-1|0;c=k[i>>2]|0;b=(l[n+((k[C+12>>2]&c)>>>(j&255))>>0]|0)+z|0;a=(l[f+((k[C+16>>2]&c)>>>(j>>>8&255))>>0]|0)+A|0;c=(l[e+((k[C+20>>2]&c)>>>(j>>>16&255))>>0]|0)+B|0;k[i>>2]=(a>>>0>255?255:a)>>>(g>>>8&255)<<(j>>>8&255)|(b>>>0>255?255:b)>>>(g&255)<<(j&255)|k[C+24>>2]|(c>>>0>255?255:c)>>>(g>>>16&255)<<(j>>>16&255);if(!h)break;else i=i+4|0}return}case 4:{i=(k[a+20>>2]|0)+((ha((k[a+16>>2]|0)/(l[C+9>>0]|0|0)|0,e)|0)<<2)|0;if((d|0)<(b|0)){h=b-d+((m|0)!=0&1)|0;i=m|0?i+(d<<2)|0:i+(d<<2)+4|0}else{h=d-b+((m|0)!=0&1)|0;i=i+(b<<2)|0}if(!h)return;j=k[C+32>>2]|0;g=k[C+28>>2]|0;n=k[124356+((g&255)<<2)>>2]|0;f=k[124356+((g>>>8&255)<<2)>>2]|0;e=k[124356+((g>>>16&255)<<2)>>2]|0;while(1){h=h+-1|0;c=k[i>>2]|0;b=(((ha(l[f+((k[C+16>>2]&c)>>>(j>>>8&255))>>0]|0,A)|0)>>>0)/255|0)>>>(g>>>8&255)<<(j>>>8&255)|(((ha(l[n+((k[C+12>>2]&c)>>>(j&255))>>0]|0,z)|0)>>>0)/255|0)>>>(g&255)<<(j&255);c=(((ha(l[e+((k[C+20>>2]&c)>>>(j>>>16&255))>>0]|0,B)|0)>>>0)/255|0)>>>(g>>>16&255)<<(j>>>16&255);k[i>>2]=b|k[C+24>>2]|c;if(!h)break;else i=i+4|0}return}default:{i=(k[a+20>>2]|0)+((ha((k[a+16>>2]|0)/(l[C+9>>0]|0|0)|0,e)|0)<<2)|0;if((d|0)<(b|0)){h=b-d+((m|0)!=0&1)|0;i=m|0?i+(d<<2)|0:i+(d<<2)+4|0}else{h=d-b+((m|0)!=0&1)|0;i=i+(b<<2)|0}if(!h)return;c=k[C+28>>2]|0;j=k[C+32>>2]|0;g=A>>>(c>>>8&255)<<(j>>>8&255)|z>>>(c&255)<<(j&255);j=B>>>(c>>>16&255)<<(j>>>16&255);while(1){h=h+-1|0;k[i>>2]=g|k[C+24>>2]|j;if(!h)break;else i=i+4|0}return}}if((d|0)==(b|0))switch(f|0){case 1:{o=(k[a+16>>2]|0)/(l[C+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){i=i+((ha(o,e)|0)<<2)+(d<<2)|0;h=c-e+((m|0)!=0&1)|0;i=m|0?i:i+(o<<2)|0}else{h=e-c+((m|0)!=0&1)|0;i=i+((ha(o,c)|0)<<2)+(d<<2)|0}if(!h)return;j=k[C+32>>2]|0;g=k[C+28>>2]|0;n=k[124356+((g&255)<<2)>>2]|0;f=k[124356+((g>>>8&255)<<2)>>2]|0;e=k[124356+((g>>>16&255)<<2)>>2]|0;while(1){h=h+-1|0;c=k[i>>2]|0;b=((((ha(l[f+((k[C+16>>2]&c)>>>(j>>>8&255))>>0]|0,y)|0)>>>0)/255|0)+A|0)>>>(g>>>8&255)<<(j>>>8&255)|((((ha(l[n+((k[C+12>>2]&c)>>>(j&255))>>0]|0,y)|0)>>>0)/255|0)+z|0)>>>(g&255)<<(j&255);c=((((ha(l[e+((k[C+20>>2]&c)>>>(j>>>16&255))>>0]|0,y)|0)>>>0)/255|0)+B|0)>>>(g>>>16&255)<<(j>>>16&255);k[i>>2]=b|k[C+24>>2]|c;if(!h)break;else i=i+(o<<2)|0}return}case 2:{o=(k[a+16>>2]|0)/(l[C+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){i=i+((ha(o,e)|0)<<2)+(d<<2)|0;h=c-e+((m|0)!=0&1)|0;i=m|0?i:i+(o<<2)|0}else{h=e-c+((m|0)!=0&1)|0;i=i+((ha(o,c)|0)<<2)+(d<<2)|0}if(!h)return;j=k[C+32>>2]|0;g=k[C+28>>2]|0;n=k[124356+((g&255)<<2)>>2]|0;f=k[124356+((g>>>8&255)<<2)>>2]|0;e=k[124356+((g>>>16&255)<<2)>>2]|0;while(1){h=h+-1|0;c=k[i>>2]|0;b=(l[n+((k[C+12>>2]&c)>>>(j&255))>>0]|0)+z|0;a=(l[f+((k[C+16>>2]&c)>>>(j>>>8&255))>>0]|0)+A|0;c=(l[e+((k[C+20>>2]&c)>>>(j>>>16&255))>>0]|0)+B|0;k[i>>2]=(a>>>0>255?255:a)>>>(g>>>8&255)<<(j>>>8&255)|(b>>>0>255?255:b)>>>(g&255)<<(j&255)|k[C+24>>2]|(c>>>0>255?255:c)>>>(g>>>16&255)<<(j>>>16&255);if(!h)break;else i=i+(o<<2)|0}return}case 4:{o=(k[a+16>>2]|0)/(l[C+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){i=i+((ha(o,e)|0)<<2)+(d<<2)|0;h=c-e+((m|0)!=0&1)|0;i=m|0?i:i+(o<<2)|0}else{h=e-c+((m|0)!=0&1)|0;i=i+((ha(o,c)|0)<<2)+(d<<2)|0}if(!h)return;j=k[C+32>>2]|0;g=k[C+28>>2]|0;n=k[124356+((g&255)<<2)>>2]|0;f=k[124356+((g>>>8&255)<<2)>>2]|0;e=k[124356+((g>>>16&255)<<2)>>2]|0;while(1){h=h+-1|0;c=k[i>>2]|0;b=(((ha(l[f+((k[C+16>>2]&c)>>>(j>>>8&255))>>0]|0,A)|0)>>>0)/255|0)>>>(g>>>8&255)<<(j>>>8&255)|(((ha(l[n+((k[C+12>>2]&c)>>>(j&255))>>0]|0,z)|0)>>>0)/255|0)>>>(g&255)<<(j&255);c=(((ha(l[e+((k[C+20>>2]&c)>>>(j>>>16&255))>>0]|0,B)|0)>>>0)/255|0)>>>(g>>>16&255)<<(j>>>16&255);k[i>>2]=b|k[C+24>>2]|c;if(!h)break;else i=i+(o<<2)|0}return}default:{n=(k[a+16>>2]|0)/(l[C+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){i=i+((ha(n,e)|0)<<2)+(d<<2)|0;h=c-e+((m|0)!=0&1)|0;i=m|0?i:i+(n<<2)|0}else{h=e-c+((m|0)!=0&1)|0;i=i+((ha(n,c)|0)<<2)+(d<<2)|0}if(!h)return;c=k[C+28>>2]|0;j=k[C+32>>2]|0;g=A>>>(c>>>8&255)<<(j>>>8&255)|z>>>(c&255)<<(j&255);j=B>>>(c>>>16&255)<<(j>>>16&255);while(1){h=h+-1|0;k[i>>2]=g|k[C+24>>2]|j;if(!h)break;else i=i+(n<<2)|0}return}}if((((b-d|0)<0?0-(b-d)|0:b-d|0)|0)==(((c-e|0)<0?0-(c-e)|0:c-e|0)|0))switch(f|0){case 1:{h=(k[a+16>>2]|0)/(l[C+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){a=i+((ha(h,e)|0)<<2)+(d<<2)|0;h=h+((d|0)>(b|0)?-1:1)|0;i=c-e|0;o=h;h=(m|0)==0?a+(h<<2)|0:a}else{a=i+((ha(h,c)|0)<<2)+(b<<2)|0;i=e-c|0;o=h+((d|0)<(b|0)?-1:1)|0;h=a}i=i+((m|0)!=0&1)|0;if(!i)return;j=k[C+32>>2]|0;g=k[C+28>>2]|0;n=k[124356+((g&255)<<2)>>2]|0;f=k[124356+((g>>>8&255)<<2)>>2]|0;e=k[124356+((g>>>16&255)<<2)>>2]|0;while(1){i=i+-1|0;c=k[h>>2]|0;b=((((ha(l[f+((k[C+16>>2]&c)>>>(j>>>8&255))>>0]|0,y)|0)>>>0)/255|0)+A|0)>>>(g>>>8&255)<<(j>>>8&255)|((((ha(l[n+((k[C+12>>2]&c)>>>(j&255))>>0]|0,y)|0)>>>0)/255|0)+z|0)>>>(g&255)<<(j&255);c=((((ha(l[e+((k[C+20>>2]&c)>>>(j>>>16&255))>>0]|0,y)|0)>>>0)/255|0)+B|0)>>>(g>>>16&255)<<(j>>>16&255);k[h>>2]=b|k[C+24>>2]|c;if(!i)break;else h=h+(o<<2)|0}return}case 2:{h=(k[a+16>>2]|0)/(l[C+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){a=i+((ha(h,e)|0)<<2)+(d<<2)|0;h=h+((d|0)>(b|0)?-1:1)|0;i=c-e|0;o=h;h=(m|0)==0?a+(h<<2)|0:a}else{a=i+((ha(h,c)|0)<<2)+(b<<2)|0;i=e-c|0;o=h+((d|0)<(b|0)?-1:1)|0;h=a}i=i+((m|0)!=0&1)|0;if(!i)return;j=k[C+32>>2]|0;g=k[C+28>>2]|0;n=k[124356+((g&255)<<2)>>2]|0;f=k[124356+((g>>>8&255)<<2)>>2]|0;e=k[124356+((g>>>16&255)<<2)>>2]|0;while(1){i=i+-1|0;c=k[h>>2]|0;b=(l[n+((k[C+12>>2]&c)>>>(j&255))>>0]|0)+z|0;a=(l[f+((k[C+16>>2]&c)>>>(j>>>8&255))>>0]|0)+A|0;c=(l[e+((k[C+20>>2]&c)>>>(j>>>16&255))>>0]|0)+B|0;k[h>>2]=(a>>>0>255?255:a)>>>(g>>>8&255)<<(j>>>8&255)|(b>>>0>255?255:b)>>>(g&255)<<(j&255)|k[C+24>>2]|(c>>>0>255?255:c)>>>(g>>>16&255)<<(j>>>16&255);if(!i)break;else h=h+(o<<2)|0}return}case 4:{h=(k[a+16>>2]|0)/(l[C+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){a=i+((ha(h,e)|0)<<2)+(d<<2)|0;h=h+((d|0)>(b|0)?-1:1)|0;i=c-e|0;o=h;h=(m|0)==0?a+(h<<2)|0:a}else{a=i+((ha(h,c)|0)<<2)+(b<<2)|0;i=e-c|0;o=h+((d|0)<(b|0)?-1:1)|0;h=a}i=i+((m|0)!=0&1)|0;if(!i)return;j=k[C+32>>2]|0;g=k[C+28>>2]|0;n=k[124356+((g&255)<<2)>>2]|0;f=k[124356+((g>>>8&255)<<2)>>2]|0;e=k[124356+((g>>>16&255)<<2)>>2]|0;while(1){i=i+-1|0;c=k[h>>2]|0;b=(((ha(l[f+((k[C+16>>2]&c)>>>(j>>>8&255))>>0]|0,A)|0)>>>0)/255|0)>>>(g>>>8&255)<<(j>>>8&255)|(((ha(l[n+((k[C+12>>2]&c)>>>(j&255))>>0]|0,z)|0)>>>0)/255|0)>>>(g&255)<<(j&255);c=(((ha(l[e+((k[C+20>>2]&c)>>>(j>>>16&255))>>0]|0,B)|0)>>>0)/255|0)>>>(g>>>16&255)<<(j>>>16&255);k[h>>2]=b|k[C+24>>2]|c;if(!i)break;else h=h+(o<<2)|0}return}default:{j=(k[a+16>>2]|0)/(l[C+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){i=i+((ha(j,e)|0)<<2)+(d<<2)|0;b=j+((d|0)>(b|0)?-1:1)|0;h=c-e|0;n=b;i=(m|0)==0?i+(b<<2)|0:i}else{i=i+((ha(j,c)|0)<<2)+(b<<2)|0;h=e-c|0;n=j+((d|0)<(b|0)?-1:1)|0}h=h+((m|0)!=0&1)|0;if(!h)return;c=k[C+28>>2]|0;j=k[C+32>>2]|0;g=A>>>(c>>>8&255)<<(j>>>8&255)|z>>>(c&255)<<(j&255);j=B>>>(c>>>16&255)<<(j>>>16&255);while(1){h=h+-1|0;k[i>>2]=g|k[C+24>>2]|j;if(!h)break;else i=i+(n<<2)|0}return}}else switch(f|0){case 1:{i=(d-b|0)<0?0-(d-b)|0:d-b|0;h=(e-c|0)<0?0-(e-c)|0:e-c|0;if((i|0)<(h|0)){n=(i<<1)-h|0;x=i<<1;j=i-h|0;i=h;h=0;g=1}else{n=(h<<1)-i|0;x=h<<1;j=h-i|0;h=1;g=0}w=j<<1;v=(d|0)<(b|0)?0-h|0:h;u=(d|0)<(b|0)?-1:1;t=(e|0)<(c|0)?0-g|0:g;s=(e|0)<(c|0)?-1:1;r=i+((m|0)!=0&1)|0;if((r|0)<=0)return;f=k[a+20>>2]|0;e=k[C+32>>2]|0;o=k[C+28>>2]|0;d=k[124356+((o&255)<<2)>>2]|0;p=k[124356+((o>>>8&255)<<2)>>2]|0;q=k[124356+((o>>>16&255)<<2)>>2]|0;g=n;n=0;j=b;h=c;while(1){i=f+(ha(k[a+16>>2]|0,h)|0)+(j<<2)|0;c=k[i>>2]|0;b=((((ha(l[p+((k[C+16>>2]&c)>>>(e>>>8&255))>>0]|0,y)|0)>>>0)/255|0)+A|0)>>>(o>>>8&255)<<(e>>>8&255)|((((ha(l[d+((k[C+12>>2]&c)>>>(e&255))>>0]|0,y)|0)>>>0)/255|0)+z|0)>>>(o&255)<<(e&255);c=((((ha(l[q+((k[C+20>>2]&c)>>>(e>>>16&255))>>0]|0,y)|0)>>>0)/255|0)+B|0)>>>(o>>>16&255)<<(e>>>16&255);k[i>>2]=b|k[C+24>>2]|c;i=(g|0)<0;n=n+1|0;if((n|0)>=(r|0))break;else{g=(i?x:w)+g|0;j=(i?v:u)+j|0;h=h+(i?t:s)|0}}return}case 2:{i=(d-b|0)<0?0-(d-b)|0:d-b|0;h=(e-c|0)<0?0-(e-c)|0:e-c|0;if((i|0)<(h|0)){n=(i<<1)-h|0;x=i<<1;j=i-h|0;i=h;h=0;g=1}else{n=(h<<1)-i|0;x=h<<1;j=h-i|0;h=1;g=0}w=j<<1;v=(d|0)<(b|0)?0-h|0:h;u=(d|0)<(b|0)?-1:1;t=(e|0)<(c|0)?0-g|0:g;s=(e|0)<(c|0)?-1:1;r=i+((m|0)!=0&1)|0;if((r|0)<=0)return;f=k[a+20>>2]|0;e=k[C+32>>2]|0;o=k[C+28>>2]|0;d=k[124356+((o&255)<<2)>>2]|0;p=k[124356+((o>>>8&255)<<2)>>2]|0;q=k[124356+((o>>>16&255)<<2)>>2]|0;g=n;n=0;j=b;h=c;while(1){i=f+(ha(k[a+16>>2]|0,h)|0)+(j<<2)|0;c=k[i>>2]|0;b=(l[d+((k[C+12>>2]&c)>>>(e&255))>>0]|0)+z|0;m=(l[p+((k[C+16>>2]&c)>>>(e>>>8&255))>>0]|0)+A|0;c=(l[q+((k[C+20>>2]&c)>>>(e>>>16&255))>>0]|0)+B|0;k[i>>2]=(m>>>0>255?255:m)>>>(o>>>8&255)<<(e>>>8&255)|(b>>>0>255?255:b)>>>(o&255)<<(e&255)|k[C+24>>2]|(c>>>0>255?255:c)>>>(o>>>16&255)<<(e>>>16&255);i=(g|0)<0;n=n+1|0;if((n|0)>=(r|0))break;else{g=(i?x:w)+g|0;j=(i?v:u)+j|0;h=h+(i?t:s)|0}}return}case 4:{i=(d-b|0)<0?0-(d-b)|0:d-b|0;h=(e-c|0)<0?0-(e-c)|0:e-c|0;if((i|0)<(h|0)){n=(i<<1)-h|0;x=i<<1;j=i-h|0;i=h;h=0;g=1}else{n=(h<<1)-i|0;x=h<<1;j=h-i|0;h=1;g=0}w=j<<1;v=(d|0)<(b|0)?0-h|0:h;u=(d|0)<(b|0)?-1:1;t=(e|0)<(c|0)?0-g|0:g;s=(e|0)<(c|0)?-1:1;r=i+((m|0)!=0&1)|0;if((r|0)<=0)return;f=k[a+20>>2]|0;e=k[C+32>>2]|0;o=k[C+28>>2]|0;d=k[124356+((o&255)<<2)>>2]|0;p=k[124356+((o>>>8&255)<<2)>>2]|0;q=k[124356+((o>>>16&255)<<2)>>2]|0;g=n;n=0;j=b;h=c;while(1){i=f+(ha(k[a+16>>2]|0,h)|0)+(j<<2)|0;c=k[i>>2]|0;b=(((ha(l[p+((k[C+16>>2]&c)>>>(e>>>8&255))>>0]|0,A)|0)>>>0)/255|0)>>>(o>>>8&255)<<(e>>>8&255)|(((ha(l[d+((k[C+12>>2]&c)>>>(e&255))>>0]|0,z)|0)>>>0)/255|0)>>>(o&255)<<(e&255);c=(((ha(l[q+((k[C+20>>2]&c)>>>(e>>>16&255))>>0]|0,B)|0)>>>0)/255|0)>>>(o>>>16&255)<<(e>>>16&255);k[i>>2]=b|k[C+24>>2]|c;i=(g|0)<0;n=n+1|0;if((n|0)>=(r|0))break;else{g=(i?x:w)+g|0;j=(i?v:u)+j|0;h=h+(i?t:s)|0}}return}default:{i=(d-b|0)<0?0-(d-b)|0:d-b|0;h=(e-c|0)<0?0-(e-c)|0:e-c|0;if((i|0)<(h|0)){g=(i<<1)-h|0;u=i<<1;j=i-h|0;i=h;h=0;n=1}else{g=(h<<1)-i|0;u=h<<1;j=h-i|0;h=1;n=0}t=j<<1;s=(d|0)<(b|0)?0-h|0:h;r=(d|0)<(b|0)?-1:1;q=(e|0)<(c|0)?0-n|0:n;p=(e|0)<(c|0)?-1:1;d=i+((m|0)!=0&1)|0;if((d|0)<=0)return;o=k[a+20>>2]|0;n=k[C+28>>2]|0;f=k[C+32>>2]|0;e=A>>>(n>>>8&255)<<(f>>>8&255)|z>>>(n&255)<<(f&255);f=B>>>(n>>>16&255)<<(f>>>16&255);n=0;j=b;h=c;while(1){i=o+(ha(k[a+16>>2]|0,h)|0)+(j<<2)|0;k[i>>2]=e|k[C+24>>2]|f;i=(g|0)<0;n=n+1|0;if((n|0)>=(d|0))break;else{g=(i?u:t)+g|0;j=(i?s:r)+j|0;h=h+(i?q:p)|0}}return}}}function Sdb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,l=0,m=0,n=0,o=0;o=r;r=r+16|0;if(!a){c=y6a(601219,o)|0;r=o;return c|0}m=k[a+4>>2]|0;n=i[m+8>>0]|0;if((n&255)<8){c=y6a(601140,o+8|0)|0;r=o;return c|0}l=k[a+36>>2]|0;if((l|0)>(b|0)){c=0;r=o;return c|0}j=k[a+40>>2]|0;if((j|0)>(c|0)){c=0;r=o;return c|0}if(((k[a+44>>2]|0)+l|0)<=(b|0)){c=0;r=o;return c|0}if(((k[a+48>>2]|0)+j|0)<=(c|0)){c=0;r=o;return c|0}if((d+-1|0)>>>0<2){g=(((ha(h&255,g&255)|0)>>>0)/255|0)&255;f=(((ha(h&255,f&255)|0)>>>0)/255|0)&255;e=(((ha(h&255,e&255)|0)>>>0)/255|0)&255}switch(n&255|0){case 15:{if((k[m+12>>2]|0)==31744){Adb(a,b,c,d,e,f,g,h)|0;c=0;r=o;return c|0}break}case 16:{if((k[m+12>>2]|0)==63488){Bdb(a,b,c,d,e,f,g,h)|0;c=0;r=o;return c|0}break}case 32:{if((k[m+12>>2]|0)==16711680)if(!(k[m+24>>2]|0)){wdb(a,b,c,d,e,f,g,h)|0;c=0;r=o;return c|0}else{xdb(a,b,c,d,e,f,g,h)|0;c=0;r=o;return c|0}break}default:{}}if(!(k[m+24>>2]|0)){c=ydb(a,b,c,d,e,f,g,h)|0;r=o;return c|0}else{c=zdb(a,b,c,d,e,f,g,h)|0;r=o;return c|0}return 0}function Tdb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0.0,h=0,i=0,j=0;j=r;e=k[a+316>>2]|0;d=k[e>>2]|0;if(!d){d=k[e+4>>2]|0;k[e>>2]=d;if(!d){d=Scb(k[a+188>>2]|0)|0;do if(d|0){k[e+4>>2]=d;k[e>>2]=d;d=k[k[a+316>>2]>>2]|0;if(d|0){cdb(d,a+212|0)|0;d=k[k[a+316>>2]>>2]|0;if(d|0)if(!(k[a+276>>2]|0)){cdb(d,0)|0;break}else{cdb(d,a+244|0)|0;break}}}while(0);d=k[e>>2]|0}if(!d){c=-1;r=j;return c|0}}h=r;r=r+((1*(c<<4)|0)+15&-16)|0;f=k[a+212>>2]|0;if(!f)if(!(k[a+216>>2]|0)){if((c|0)>0){e=0;do{k[h+(e<<4)>>2]=~~+o[b+(e<<4)>>2];k[h+(e<<4)+4>>2]=~~+o[b+(e<<4)+4>>2];f=~~+o[b+(e<<4)+8>>2];k[h+(e<<4)+8>>2]=(f|0)>1?f:1;f=~~+o[b+(e<<4)+12>>2];k[h+(e<<4)+12>>2]=(f|0)>1?f:1;e=e+1|0}while((e|0)!=(c|0))}}else i=14;else i=14;if((i|0)==14)if((c|0)>0){g=+(k[a+216>>2]|0);e=0;do{k[h+(e<<4)>>2]=~~(+(f|0)+ +o[b+(e<<4)>>2]);k[h+(e<<4)+4>>2]=~~(g+ +o[b+(e<<4)+4>>2]);i=~~+o[b+(e<<4)+8>>2];k[h+(e<<4)+8>>2]=(i|0)>1?i:1;i=~~+o[b+(e<<4)+12>>2];k[h+(e<<4)+12>>2]=(i|0)>1?i:1;e=e+1|0}while((e|0)!=(c|0))}f=k[a+312>>2]|0;e=k[a+308>>2]|0;if(!f){c=Udb(d,h,c,sdb(k[d+4>>2]|0,e&255,(e&65535)>>>8&255,e>>>16&255,e>>>24&255)|0)|0;r=j;return c|0}else{c=Vdb(d,h,c,f,e&255,(e&65535)>>>8&255,e>>>16&255,e>>>24&255)|0;r=j;return c|0}return 0}function Udb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;g=r;r=r+16|0;if(!b)e=y6a(601185,g)|0;else if((c|0)>0){f=0;e=0;do{e=(Q7a(a,b+(f<<4)|0,d)|0)+e|0;f=f+1|0}while((f|0)!=(c|0))}else e=0;r=g;return e|0}function Vdb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,l=0,m=0,n=0,o=0,p=0;p=r;r=r+32|0;if(!a){b=y6a(601219,p)|0;r=p;return b|0}j=k[a+4>>2]|0;l=i[j+8>>0]|0;if((l&255)<8){b=y6a(601251,p+8|0)|0;r=p;return b|0}if((d+-1|0)>>>0<2){o=(((ha(h&255,g&255)|0)>>>0)/255|0)&255;f=(((ha(h&255,f&255)|0)>>>0)/255|0)&255;m=(((ha(h&255,e&255)|0)>>>0)/255|0)&255}else{o=g;m=e}switch(l&255|0){case 15:{if((k[j+12>>2]|0)==31744)j=12;else n=12;break}case 16:{if((k[j+12>>2]|0)==63488)j=13;else n=12;break}case 32:{if((k[j+12>>2]|0)==16711680)j=(k[j+24>>2]|0)==0?8:9;else n=12;break}default:n=12}if((n|0)==12)j=(k[j+24>>2]|0)==0?10:11;if((c|0)<=0){b=0;r=p;return b|0}e=0;g=0;do{if(R7a(b+(e<<4)|0,a+36|0,p+16|0)|0)g=xi[j&15](a,p+16|0,d,m,f,o,h)|0;e=e+1|0}while((e|0)!=(c|0));r=p;return g|0}function Wdb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;switch(c|0){case 1:{j=k[b+8>>2]|0;c=k[b+12>>2]|0;i=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;if(!c)return 0;h=c;c=(k[a+20>>2]|0)+((ha(k[b+4>>2]|0,i)|0)<<2)+(k[b>>2]<<2)|0;a:while(1){h=h+-1|0;switch(j&3|0){case 0:{m=(j+3|0)/4|0;y=c;c=5;break}case 3:{n=(j+3|0)/4|0;z=c;c=6;break}case 2:{o=(j+3|0)/4|0;A=c;c=7;break}case 1:{p=(j+3|0)/4|0;B=c;c=8;break}default:{c=9;break a}}while(1)if((c|0)==5){n=k[y>>2]|0;n=(((ha(n>>>8&255,g&255^255)|0)>>>0)/255|0)+(e&255)<<8|(((ha(n&255,g&255^255)|0)>>>0)/255|0)+(f&255)|(((ha(n>>>16&255,g&255^255)|0)>>>0)/255|0)+(d&255)<<16;k[y>>2]=n;n=m;z=y+4|0;c=6;continue}else if((c|0)==6){o=k[z>>2]|0;o=(((ha(o>>>8&255,g&255^255)|0)>>>0)/255|0)+(e&255)<<8|(((ha(o&255,g&255^255)|0)>>>0)/255|0)+(f&255)|(((ha(o>>>16&255,g&255^255)|0)>>>0)/255|0)+(d&255)<<16;k[z>>2]=o;o=n;A=z+4|0;c=7;continue}else if((c|0)==7){p=k[A>>2]|0;p=(((ha(p>>>8&255,g&255^255)|0)>>>0)/255|0)+(e&255)<<8|(((ha(p&255,g&255^255)|0)>>>0)/255|0)+(f&255)|(((ha(p>>>16&255,g&255^255)|0)>>>0)/255|0)+(d&255)<<16;k[A>>2]=p;p=o;B=A+4|0;c=8;continue}else if((c|0)==8){c=k[B>>2]|0;c=(((ha(c>>>8&255,g&255^255)|0)>>>0)/255|0)+(e&255)<<8|(((ha(c&255,g&255^255)|0)>>>0)/255|0)+(f&255)|(((ha(c>>>16&255,g&255^255)|0)>>>0)/255|0)+(d&255)<<16;k[B>>2]=c;c=B+4|0;if((p|0)>1){m=p+-1|0;y=c;c=5;continue}else break}if(!h){c=46;break}else c=c+(i-j<<2)|0}if((c|0)!=9)if((c|0)==46)return 0;break}case 2:{i=k[b+8>>2]|0;c=k[b+12>>2]|0;j=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;if(!c)return 0;a=(k[a+20>>2]|0)+((ha(k[b+4>>2]|0,j)|0)<<2)|0;h=c;c=a+(k[b>>2]<<2)|0;b:while(1){h=h+-1|0;switch(i&3|0){case 0:{q=(i+3|0)/4|0;C=c;c=14;break}case 3:{r=(i+3|0)/4|0;D=c;c=15;break}case 2:{s=(i+3|0)/4|0;E=c;c=16;break}case 1:{t=(i+3|0)/4|0;F=c;c=17;break}default:{c=18;break b}}while(1)if((c|0)==14){r=k[C>>2]|0;k[C>>2]=(((r>>>8&255)+(e&255)|0)>>>0>255?255:(r>>>8&255)+(e&255)|0)<<8|(((r&255)+(f&255)|0)>>>0>255?255:(r&255)+(f&255)|0)|(((r>>>16&255)+(d&255)|0)>>>0>255?255:(r>>>16&255)+(d&255)|0)<<16;r=q;D=C+4|0;c=15;continue}else if((c|0)==15){s=k[D>>2]|0;k[D>>2]=(((s>>>8&255)+(e&255)|0)>>>0>255?255:(s>>>8&255)+(e&255)|0)<<8|(((s&255)+(f&255)|0)>>>0>255?255:(s&255)+(f&255)|0)|(((s>>>16&255)+(d&255)|0)>>>0>255?255:(s>>>16&255)+(d&255)|0)<<16;s=r;E=D+4|0;c=16;continue}else if((c|0)==16){t=k[E>>2]|0;k[E>>2]=(((t>>>8&255)+(e&255)|0)>>>0>255?255:(t>>>8&255)+(e&255)|0)<<8|(((t&255)+(f&255)|0)>>>0>255?255:(t&255)+(f&255)|0)|(((t>>>16&255)+(d&255)|0)>>>0>255?255:(t>>>16&255)+(d&255)|0)<<16;t=s;F=E+4|0;c=17;continue}else if((c|0)==17){c=k[F>>2]|0;k[F>>2]=(((c>>>8&255)+(e&255)|0)>>>0>255?255:(c>>>8&255)+(e&255)|0)<<8|(((c&255)+(f&255)|0)>>>0>255?255:(c&255)+(f&255)|0)|(((c>>>16&255)+(d&255)|0)>>>0>255?255:(c>>>16&255)+(d&255)|0)<<16;c=F+4|0;if((t|0)>1){q=t+-1|0;C=c;c=14;continue}else break}if(!h){c=46;break}else c=c+(j-i<<2)|0}if((c|0)!=18)if((c|0)==46)return 0;break}case 4:{i=k[b+8>>2]|0;c=k[b+12>>2]|0;j=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;if(!c)return 0;a=(k[a+20>>2]|0)+((ha(k[b+4>>2]|0,j)|0)<<2)|0;h=c;c=a+(k[b>>2]<<2)|0;c:while(1){h=h+-1|0;switch(i&3|0){case 0:{u=(i+3|0)/4|0;G=c;c=23;break}case 3:{v=(i+3|0)/4|0;H=c;c=24;break}case 2:{w=(i+3|0)/4|0;I=c;c=25;break}case 1:{x=(i+3|0)/4|0;J=c;c=26;break}default:{c=27;break c}}while(1)if((c|0)==23){v=k[G>>2]|0;v=(((ha(v>>>8&255,e&255)|0)>>>0)/255|0)<<8|(((ha(v&255,f&255)|0)>>>0)/255|0)|(((ha(v>>>16&255,d&255)|0)>>>0)/255|0)<<16;k[G>>2]=v;v=u;H=G+4|0;c=24;continue}else if((c|0)==24){w=k[H>>2]|0;w=(((ha(w>>>8&255,e&255)|0)>>>0)/255|0)<<8|(((ha(w&255,f&255)|0)>>>0)/255|0)|(((ha(w>>>16&255,d&255)|0)>>>0)/255|0)<<16;k[H>>2]=w;w=v;I=H+4|0;c=25;continue}else if((c|0)==25){x=k[I>>2]|0;x=(((ha(x>>>8&255,e&255)|0)>>>0)/255|0)<<8|(((ha(x&255,f&255)|0)>>>0)/255|0)|(((ha(x>>>16&255,d&255)|0)>>>0)/255|0)<<16;k[I>>2]=x;x=w;J=I+4|0;c=26;continue}else if((c|0)==26){c=k[J>>2]|0;c=(((ha(c>>>8&255,e&255)|0)>>>0)/255|0)<<8|(((ha(c&255,f&255)|0)>>>0)/255|0)|(((ha(c>>>16&255,d&255)|0)>>>0)/255|0)<<16;k[J>>2]=c;c=J+4|0;if((x|0)>1){u=x+-1|0;G=c;c=23;continue}else break}if(!h){c=46;break}else c=c+(j-i<<2)|0}if((c|0)!=27)if((c|0)==46)return 0;break}default:{g=k[b+8>>2]|0;h=k[b+12>>2]|0;m=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;c=(k[a+20>>2]|0)+((ha(k[b+4>>2]|0,m)|0)<<2)|0;c=c+(k[b>>2]<<2)|0;if(!h)return 0;switch(g&3|0){case 0:{i=h+-1|0;while(1){h=(g+3|0)/4|0;while(1){k[c>>2]=(e&255)<<8|(d&255)<<16|f&255;k[c+4>>2]=(e&255)<<8|(d&255)<<16|f&255;k[c+8>>2]=(e&255)<<8|(d&255)<<16|f&255;k[c+12>>2]=(e&255)<<8|(d&255)<<16|f&255;c=c+16|0;if((h|0)>1)h=h+-1|0;else break}if(!i)break;else{i=i+-1|0;c=c+(m-g<<2)|0}}return 0}case 3:{j=h+-1|0;h=c;while(1){k[h>>2]=(e&255)<<8|(d&255)<<16|f&255;k[h+4>>2]=(e&255)<<8|(d&255)<<16|f&255;k[h+8>>2]=(e&255)<<8|(d&255)<<16|f&255;c=h+12|0;if((g+3|0)>7){i=(g+3|0)/4|0;while(1){i=i+-1|0;k[c>>2]=(e&255)<<8|(d&255)<<16|f&255;c=h;h=h+16|0;k[h>>2]=(e&255)<<8|(d&255)<<16|f&255;k[c+20>>2]=(e&255)<<8|(d&255)<<16|f&255;k[c+24>>2]=(e&255)<<8|(d&255)<<16|f&255;if((i|0)<=1){c=c+28|0;break}else c=c+28|0}}if(!j)break;else{j=j+-1|0;h=c+(m-g<<2)|0}}return 0}case 2:{j=h+-1|0;h=c;while(1){k[h>>2]=(e&255)<<8|(d&255)<<16|f&255;k[h+4>>2]=(e&255)<<8|(d&255)<<16|f&255;c=h+8|0;if((g+3|0)>7){i=(g+3|0)/4|0;while(1){i=i+-1|0;k[c>>2]=(e&255)<<8|(d&255)<<16|f&255;k[h+12>>2]=(e&255)<<8|(d&255)<<16|f&255;c=h;h=h+16|0;k[h>>2]=(e&255)<<8|(d&255)<<16|f&255;k[c+20>>2]=(e&255)<<8|(d&255)<<16|f&255;if((i|0)<=1){c=c+24|0;break}else c=c+24|0}}if(!j)break;else{j=j+-1|0;h=c+(m-g<<2)|0}}return 0}default:{j=h+-1|0;h=c;while(1){k[h>>2]=(e&255)<<8|(d&255)<<16|f&255;c=h+4|0;if((g+3|0)>7){i=(g+3|0)/4|0;while(1){i=i+-1|0;k[c>>2]=(e&255)<<8|(d&255)<<16|f&255;k[h+8>>2]=(e&255)<<8|(d&255)<<16|f&255;k[h+12>>2]=(e&255)<<8|(d&255)<<16|f&255;c=h;h=h+16|0;k[h>>2]=(e&255)<<8|(d&255)<<16|f&255;if((i|0)<=1){c=c+20|0;break}else c=c+20|0}}if(!j)break;else{j=j+-1|0;h=c+(m-g<<2)|0}}return 0}}}}return 0}function Xdb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;m=g&255^255;switch(c|0){case 1:{j=k[b+8>>2]|0;c=k[b+12>>2]|0;i=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;if(!c)return 0;h=c;c=(k[a+20>>2]|0)+((ha(k[b+4>>2]|0,i)|0)<<2)+(k[b>>2]<<2)|0;a:while(1){h=h+-1|0;switch(j&3|0){case 0:{n=(j+3|0)/4|0;z=c;c=5;break}case 3:{o=(j+3|0)/4|0;A=c;c=6;break}case 2:{p=(j+3|0)/4|0;B=c;c=7;break}case 1:{q=(j+3|0)/4|0;C=c;c=8;break}default:{c=9;break a}}while(1)if((c|0)==5){o=k[z>>2]|0;o=(((ha(o>>>24,m)|0)>>>0)/255|0)+(g&255)<<24|(((ha(o&255,m)|0)>>>0)/255|0)+(f&255)|(((ha(o>>>16&255,m)|0)>>>0)/255|0)+(d&255)<<16|(((ha(o>>>8&255,m)|0)>>>0)/255|0)+(e&255)<<8;k[z>>2]=o;o=n;A=z+4|0;c=6;continue}else if((c|0)==6){p=k[A>>2]|0;p=(((ha(p>>>24,m)|0)>>>0)/255|0)+(g&255)<<24|(((ha(p&255,m)|0)>>>0)/255|0)+(f&255)|(((ha(p>>>16&255,m)|0)>>>0)/255|0)+(d&255)<<16|(((ha(p>>>8&255,m)|0)>>>0)/255|0)+(e&255)<<8;k[A>>2]=p;p=o;B=A+4|0;c=7;continue}else if((c|0)==7){q=k[B>>2]|0;q=(((ha(q>>>24,m)|0)>>>0)/255|0)+(g&255)<<24|(((ha(q&255,m)|0)>>>0)/255|0)+(f&255)|(((ha(q>>>16&255,m)|0)>>>0)/255|0)+(d&255)<<16|(((ha(q>>>8&255,m)|0)>>>0)/255|0)+(e&255)<<8;k[B>>2]=q;q=p;C=B+4|0;c=8;continue}else if((c|0)==8){c=k[C>>2]|0;c=(((ha(c>>>24,m)|0)>>>0)/255|0)+(g&255)<<24|(((ha(c&255,m)|0)>>>0)/255|0)+(f&255)|(((ha(c>>>16&255,m)|0)>>>0)/255|0)+(d&255)<<16|(((ha(c>>>8&255,m)|0)>>>0)/255|0)+(e&255)<<8;k[C>>2]=c;c=C+4|0;if((q|0)>1){n=q+-1|0;z=c;c=5;continue}else break}if(!h){c=46;break}else c=c+(i-j<<2)|0}if((c|0)!=9)if((c|0)==46)return 0;break}case 2:{i=k[b+8>>2]|0;c=k[b+12>>2]|0;j=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;if(!c)return 0;a=(k[a+20>>2]|0)+((ha(k[b+4>>2]|0,j)|0)<<2)|0;h=c;c=a+(k[b>>2]<<2)|0;b:while(1){h=h+-1|0;switch(i&3|0){case 0:{r=(i+3|0)/4|0;D=c;c=14;break}case 3:{s=(i+3|0)/4|0;E=c;c=15;break}case 2:{t=(i+3|0)/4|0;F=c;c=16;break}case 1:{u=(i+3|0)/4|0;G=c;c=17;break}default:{c=18;break b}}while(1)if((c|0)==14){s=k[D>>2]|0;k[D>>2]=(((s&255)+(f&255)|0)>>>0>255?255:(s&255)+(f&255)|0)|s&-16777216|(((s>>>16&255)+(d&255)|0)>>>0>255?255:(s>>>16&255)+(d&255)|0)<<16|(((s>>>8&255)+(e&255)|0)>>>0>255?255:(s>>>8&255)+(e&255)|0)<<8;s=r;E=D+4|0;c=15;continue}else if((c|0)==15){t=k[E>>2]|0;k[E>>2]=(((t&255)+(f&255)|0)>>>0>255?255:(t&255)+(f&255)|0)|t&-16777216|(((t>>>16&255)+(d&255)|0)>>>0>255?255:(t>>>16&255)+(d&255)|0)<<16|(((t>>>8&255)+(e&255)|0)>>>0>255?255:(t>>>8&255)+(e&255)|0)<<8;t=s;F=E+4|0;c=16;continue}else if((c|0)==16){u=k[F>>2]|0;k[F>>2]=(((u&255)+(f&255)|0)>>>0>255?255:(u&255)+(f&255)|0)|u&-16777216|(((u>>>16&255)+(d&255)|0)>>>0>255?255:(u>>>16&255)+(d&255)|0)<<16|(((u>>>8&255)+(e&255)|0)>>>0>255?255:(u>>>8&255)+(e&255)|0)<<8;u=t;G=F+4|0;c=17;continue}else if((c|0)==17){c=k[G>>2]|0;k[G>>2]=(((c&255)+(f&255)|0)>>>0>255?255:(c&255)+(f&255)|0)|c&-16777216|(((c>>>16&255)+(d&255)|0)>>>0>255?255:(c>>>16&255)+(d&255)|0)<<16|(((c>>>8&255)+(e&255)|0)>>>0>255?255:(c>>>8&255)+(e&255)|0)<<8;c=G+4|0;if((u|0)>1){r=u+-1|0;D=c;c=14;continue}else break}if(!h){c=46;break}else c=c+(j-i<<2)|0}if((c|0)!=18)if((c|0)==46)return 0;break}case 4:{i=k[b+8>>2]|0;c=k[b+12>>2]|0;j=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;if(!c)return 0;a=(k[a+20>>2]|0)+((ha(k[b+4>>2]|0,j)|0)<<2)|0;h=c;c=a+(k[b>>2]<<2)|0;c:while(1){h=h+-1|0;switch(i&3|0){case 0:{v=(i+3|0)/4|0;H=c;c=23;break}case 3:{w=(i+3|0)/4|0;I=c;c=24;break}case 2:{x=(i+3|0)/4|0;J=c;c=25;break}case 1:{y=(i+3|0)/4|0;K=c;c=26;break}default:{c=27;break c}}while(1)if((c|0)==23){w=k[H>>2]|0;w=((ha(w&255,f&255)|0)>>>0)/255|0|w&-16777216|(((ha(w>>>16&255,d&255)|0)>>>0)/255|0)<<16|(((ha(w>>>8&255,e&255)|0)>>>0)/255|0)<<8;k[H>>2]=w;w=v;I=H+4|0;c=24;continue}else if((c|0)==24){x=k[I>>2]|0;x=((ha(x&255,f&255)|0)>>>0)/255|0|x&-16777216|(((ha(x>>>16&255,d&255)|0)>>>0)/255|0)<<16|(((ha(x>>>8&255,e&255)|0)>>>0)/255|0)<<8;k[I>>2]=x;x=w;J=I+4|0;c=25;continue}else if((c|0)==25){y=k[J>>2]|0;y=((ha(y&255,f&255)|0)>>>0)/255|0|y&-16777216|(((ha(y>>>16&255,d&255)|0)>>>0)/255|0)<<16|(((ha(y>>>8&255,e&255)|0)>>>0)/255|0)<<8;k[J>>2]=y;y=x;K=J+4|0;c=26;continue}else if((c|0)==26){c=k[K>>2]|0;c=((ha(c&255,f&255)|0)>>>0)/255|0|c&-16777216|(((ha(c>>>16&255,d&255)|0)>>>0)/255|0)<<16|(((ha(c>>>8&255,e&255)|0)>>>0)/255|0)<<8;k[K>>2]=c;c=K+4|0;if((y|0)>1){v=y+-1|0;H=c;c=23;continue}else break}if(!h){c=46;break}else c=c+(j-i<<2)|0}if((c|0)!=27)if((c|0)==46)return 0;break}default:{n=k[b+8>>2]|0;h=k[b+12>>2]|0;o=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;c=(k[a+20>>2]|0)+((ha(k[b+4>>2]|0,o)|0)<<2)|0;c=c+(k[b>>2]<<2)|0;if(!h)return 0;m=(e&255)<<8|(d&255)<<16|f&255|(g&255)<<24;switch(n&3|0){case 0:{i=h+-1|0;while(1){h=(n+3|0)/4|0;while(1){k[c>>2]=m;k[c+4>>2]=m;k[c+8>>2]=m;k[c+12>>2]=m;c=c+16|0;if((h|0)>1)h=h+-1|0;else break}if(!i)break;else{i=i+-1|0;c=c+(o-n<<2)|0}}return 0}case 3:{j=h+-1|0;h=c;while(1){k[h>>2]=m;k[h+4>>2]=m;k[h+8>>2]=m;c=h+12|0;if((n+3|0)>7){i=(n+3|0)/4|0;while(1){i=i+-1|0;k[c>>2]=m;c=h;h=h+16|0;k[h>>2]=m;k[c+20>>2]=m;k[c+24>>2]=m;if((i|0)<=1){c=c+28|0;break}else c=c+28|0}}if(!j)break;else{j=j+-1|0;h=c+(o-n<<2)|0}}return 0}case 2:{j=h+-1|0;h=c;while(1){k[h>>2]=m;k[h+4>>2]=m;c=h+8|0;if((n+3|0)>7){i=(n+3|0)/4|0;while(1){i=i+-1|0;k[c>>2]=m;k[h+12>>2]=m;c=h;h=h+16|0;k[h>>2]=m;k[c+20>>2]=m;if((i|0)<=1){c=c+24|0;break}else c=c+24|0}}if(!j)break;else{j=j+-1|0;h=c+(o-n<<2)|0}}return 0}default:{j=h+-1|0;h=c;while(1){k[h>>2]=m;c=h+4|0;if((n+3|0)>7){i=(n+3|0)/4|0;while(1){i=i+-1|0;k[c>>2]=m;k[h+8>>2]=m;k[h+12>>2]=m;c=h;h=h+16|0;k[h>>2]=m;if((i|0)<=1){c=c+20|0;break}else c=c+20|0}}if(!j)break;else{j=j+-1|0;h=c+(o-n<<2)|0}}return 0}}}}return 0}function Ydb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,jb=0,kb=0,lb=0,mb=0,nb=0,ob=0,pb=0,qb=0,rb=0,sb=0,tb=0,ub=0,vb=0,wb=0,xb=0,yb=0,zb=0,Ab=0,Bb=0,Cb=0,Db=0,Eb=0,Fb=0,Gb=0,Hb=0,Ib=0,Jb=0,Kb=0,Lb=0,Mb=0,Nb=0,Ob=0,Pb=0,Qb=0,Rb=0,Sb=0,Tb=0,Ub=0,Vb=0,Wb=0,Xb=0,Yb=0,Zb=0,_b=0,$b=0,ac=0,bc=0,cc=0,dc=0,ec=0,fc=0,gc=0,hc=0,ic=0,jc=0,kc=0,lc=0,mc=0,nc=0,oc=0,pc=0,qc=0,rc=0,sc=0,tc=0,uc=0,vc=0,wc=0,xc=0,yc=0,zc=0,Ac=0,Bc=0,Cc=0,Dc=0,Ec=0,Fc=0,Gc=0,Hc=0,Ic=0,Jc=0,Kc=0,Lc=0,Mc=0,Nc=0,Oc=0,Pc=0,Qc=0,Rc=0,Sc=0,Tc=0,Uc=0,Vc=0,Wc=0,Xc=0,Yc=0,Zc=0,_c=0,$c=0,ad=0,bd=0,cd=0,dd=0,ed=0,fd=0,gd=0,hd=0,id=0,jd=0,kd=0,ld=0,md=0,nd=0,od=0,pd=0,qd=0,rd=0,sd=0,td=0,ud=0,vd=0,wd=0,xd=0,yd=0,zd=0,Ad=0,Bd=0,Cd=0,Dd=0,Ed=0,Fd=0,Gd=0,Hd=0,Id=0,Jd=0,Kd=0,Ld=0,Md=0,Nd=0,Od=0,Pd=0,Qd=0,Rd=0,Sd=0,Td=0,Ud=0,Vd=0,Wd=0,Xd=0,Yd=0,Zd=0,_d=0,$d=0,ae=0,be=0,ce=0,de=0,ee=0,fe=0,ge=0,he=0,ie=0,je=0,ke=0,le=0,me=0,ne=0,oe=0,pe=0,qe=0,re=0,se=0,te=0,ue=0,ve=0,we=0,xe=0,ye=0,ze=0,Ae=0,Be=0,Ce=0,De=0,Ee=0,Fe=0,Ge=0,He=0,Ie=0,Je=0,Ke=0,Le=0,Me=0,Ne=0,Oe=0,Pe=0,Qe=0,Re=0,Se=0,Te=0,Ue=0,Ve=0,We=0,Xe=0,Ye=0,Ze=0,_e=0,$e=0,af=0,bf=0,cf=0,df=0,ef=0,ff=0,gf=0,hf=0,jf=0,kf=0,lf=0,mf=0,nf=0,of=0,pf=0,qf=0,rf=0,sf=0,tf=0,uf=0,vf=0,wf=0,xf=0,yf=0,zf=0,Af=0,Bf=0,Cf=0,Df=0,Ef=0,Ff=0,Gf=0,Hf=0,If=0,Jf=0,Kf=0,Lf=0,Mf=0,Nf=0,Of=0,Pf=0,Qf=0,Rf=0,Sf=0,Tf=0,Uf=0,Vf=0,Wf=0,Xf=0,Yf=0,Zf=0,_f=0,$f=0,ag=0,bg=0,cg=0,dg=0,eg=0,fg=0,gg=0,hg=0,ig=0,jg=0,kg=0,lg=0,mg=0,ng=0,og=0,pg=0,qg=0,rg=0,sg=0,tg=0,ug=0,vg=0,wg=0,xg=0,yg=0,zg=0,Ag=0,Bg=0,Cg=0,Dg=0,Eg=0,Fg=0,Gg=0,Hg=0,Ig=0,Jg=0,Kg=0,Lg=0,Mg=0,Ng=0,Og=0,Pg=0,Qg=0,Rg=0,Sg=0,Tg=0,Ug=0,Vg=0,Wg=0,Xg=0,Yg=0,Zg=0,_g=0,$g=0,ah=0,bh=0,ch=0,dh=0,eh=0,fh=0,gh=0;gh=k[a+4>>2]|0;switch(l[gh+9>>0]|0|0){case 2:{switch(c|0){case 1:{p=k[b+8>>2]|0;c=k[b+12>>2]|0;o=(k[a+16>>2]|0)/2|0;if(!c){d=0;return d|0}n=c;c=(k[a+20>>2]|0)+((ha(k[b+4>>2]|0,o)|0)<<1)+(k[b>>2]<<1)|0;a:while(1){n=n+-1|0;switch(p&3|0){case 0:{jd=k[gh+32>>2]|0;id=k[gh+28>>2]|0;$a=k[gh+12>>2]|0;ab=jd&255;bb=id&255;cb=k[124356+((id&255)<<2)>>2]|0;db=k[gh+16>>2]|0;eb=(jd&65535)>>>8&255;hb=(id&65535)>>>8&255;nb=k[124356+(((id&65535)>>>8&65535)<<2)>>2]|0;sb=k[gh+20>>2]|0;xb=jd>>>16&255;Ab=id>>>16&255;Db=k[124356+((id>>>16&255)<<2)>>2]|0;Mb=k[gh+24>>2]|0;gd=(m[gh+28>>1]|0)>>>8&255;hd=(m[gh+32>>1]|0)>>>8&255;id=id&255;jd=jd&255;lg=(p+3|0)/4|0;Jg=c;c=10;break}case 3:{fd=k[gh+32>>2]|0;ed=k[gh+28>>2]|0;_b=k[gh+12>>2]|0;bc=fd&255;fc=ed&255;pc=k[gh+16>>2]|0;qc=(fd&65535)>>>8&255;rc=(ed&65535)>>>8&255;sc=k[gh+20>>2]|0;uc=fd>>>16&255;Dc=ed>>>16&255;Wc=k[gh+24>>2]|0;cd=(m[gh+28>>1]|0)>>>8&255;dd=(m[gh+32>>1]|0)>>>8&255;ed=ed&255;fd=fd&255;mg=(p+3|0)/4|0;Kg=c;c=11;break}case 2:{ue=k[gh+32>>2]|0;ve=k[gh+28>>2]|0;Xc=k[gh+12>>2]|0;Yc=ue&255;Zc=ve&255;_c=(m[gh+28>>1]|0)>>>8&255;$c=(m[gh+32>>1]|0)>>>8&255;ad=ve&255;bd=ue&255;Id=k[gh+16>>2]|0;Td=(ue&65535)>>>8&255;se=(ve&65535)>>>8&255;te=k[gh+20>>2]|0;ue=ue>>>16&255;ve=ve>>>16&255;we=k[gh+24>>2]|0;ng=(p+3|0)/4|0;Lg=c;c=12;break}case 1:{Ee=k[gh+32>>2]|0;Fe=k[gh+28>>2]|0;xe=k[gh+12>>2]|0;ye=Ee&255;ze=Fe&255;Ae=k[gh+16>>2]|0;Be=(Ee&65535)>>>8&255;Ce=(Fe&65535)>>>8&255;De=k[gh+20>>2]|0;Ee=Ee>>>16&255;Fe=Fe>>>16&255;Ge=k[gh+24>>2]|0;og=(p+3|0)/4|0;Mg=c;c=13;break}default:{c=14;break a}}while(1)if((c|0)==10){bc=m[Jg>>1]|0;fc=ab&255;pc=eb&255;_b=xb&255;_b=(((((ha(l[nb+((db&bc)>>>pc)>>0]|0,g&255^255)|0)>>>0)/255|0)+(e&255)|0)>>>(hb&255)<>>fc)>>0]|0,g&255^255)|0)>>>0)/255|0)+(d&255)|0)>>>(bb&255)<>>_b)>>0]|0,g&255^255)|0)>>>0)/255|0)+(f&255)|0)>>>(Ab&255)<<_b)&65535;j[Jg>>1]=_b;_b=$a;bc=jd;fc=id;pc=db;qc=hd;rc=gd;sc=sb;uc=xb;Dc=Ab;Wc=Mb;cd=gd;dd=hd;ed=id;fd=jd;mg=lg;Kg=Jg+2|0;c=11;continue}else if((c|0)==11){Zc=m[Kg>>1]|0;_c=bc&255;$c=fc&255;ad=qc&255;bd=rc&255;Xc=uc&255;Yc=Dc&255;Xc=(((((ha(l[(k[124356+(bd<<2)>>2]|0)+((pc&Zc)>>>ad)>>0]|0,g&255^255)|0)>>>0)/255|0)+(e&255)|0)>>>bd<>2]|0)+((Zc&_b)>>>_c)>>0]|0,g&255^255)|0)>>>0)/255|0)+(d&255)|0)>>>$c<<_c|Wc|((((ha(l[(k[124356+(Yc<<2)>>2]|0)+((sc&Zc)>>>Xc)>>0]|0,g&255^255)|0)>>>0)/255|0)+(f&255)|0)>>>Yc<>1]=Xc;Xc=_b;Yc=fd;Zc=ed;_c=cd;$c=dd;ad=ed;bd=fd;Id=pc;Td=dd;se=cd;te=sc;ue=uc;ve=Dc;we=Wc;ng=mg;Lg=Kg+2|0;c=12;continue}else if((c|0)==12){ze=m[Lg>>1]|0;Ae=Yc&255;Be=Zc&255;Ce=Td&255;De=se&255;xe=ue&255;ye=ve&255;xe=(((((ha(l[(k[124356+(De<<2)>>2]|0)+((Id&ze)>>>Ce)>>0]|0,g&255^255)|0)>>>0)/255|0)+(e&255)|0)>>>De<>2]|0)+((ze&Xc)>>>Ae)>>0]|0,g&255^255)|0)>>>0)/255|0)+(d&255)|0)>>>Be<>2]|0)+((te&ze)>>>xe)>>0]|0,g&255^255)|0)>>>0)/255|0)+(f&255)|0)>>>ye<>1]=xe;xe=Xc;ye=bd;ze=ad;Ae=Id;Be=$c;Ce=_c;De=te;Ee=ue;Fe=ve;Ge=we;og=ng;Mg=Lg+2|0;c=13;continue}else if((c|0)==13){eh=m[Mg>>1]|0;dh=ye&255;ch=ze&255;c=k[124356+(ch<<2)>>2]|0;bh=Be&255;ah=Ce&255;a=k[124356+(ah<<2)>>2]|0;i=Ee&255;b=Fe&255;h=k[124356+(b<<2)>>2]|0;i=(((((ha(l[a+((Ae&eh)>>>bh)>>0]|0,g&255^255)|0)>>>0)/255|0)+(e&255)|0)>>>ah<>>dh)>>0]|0,g&255^255)|0)>>>0)/255|0)+(d&255)|0)>>>ch<>>i)>>0]|0,g&255^255)|0)>>>0)/255|0)+(f&255)|0)>>>b<>1]=i;i=Mg+2|0;if((og|0)>1){$a=xe;ab=ye;bb=ze;cb=c;db=Ae;eb=Be;hb=Ce;nb=a;sb=De;xb=Ee;Ab=Fe;Db=h;Mb=Ge;gd=Ce;hd=Be;id=ze;jd=ye;lg=og+-1|0;Jg=i;c=10;continue}else break}if(!n){fh=0;c=109;break}else c=i+(o-p<<1)|0}if((c|0)!=14)if((c|0)==109)return fh|0;break}case 2:{o=k[b+8>>2]|0;c=k[b+12>>2]|0;p=(k[a+16>>2]|0)/2|0;if(!c){d=0;return d|0}g=(k[a+20>>2]|0)+((ha(k[b+4>>2]|0,p)|0)<<1)|0;n=c;c=g+(k[b>>2]<<1)|0;b:while(1){n=n+-1|0;switch(o&3|0){case 0:{Qe=k[gh+32>>2]|0;Se=k[gh+28>>2]|0;sd=(m[gh+28>>1]|0)>>>8&255;td=(m[gh+32>>1]|0)>>>8&255;ud=Se&255;vd=Qe&255;He=k[gh+12>>2]|0;Ie=Qe&255;Je=Se&255;Ke=k[124356+((Se&255)<<2)>>2]|0;Le=k[gh+16>>2]|0;Me=(Qe&65535)>>>8&255;Ne=(Se&65535)>>>8&255;Oe=k[124356+(((Se&65535)>>>8&65535)<<2)>>2]|0;Pe=k[gh+20>>2]|0;Qe=Qe>>>16&255;Re=Se>>>16&255;Se=k[124356+((Se>>>16&255)<<2)>>2]|0;Te=k[gh+24>>2]|0;xg=(o+3|0)/4|0;Vg=c;c=23;break}case 3:{$e=k[gh+32>>2]|0;af=k[gh+28>>2]|0;od=(m[gh+28>>1]|0)>>>8&255;pd=(m[gh+32>>1]|0)>>>8&255;qd=af&255;rd=$e&255;Ue=k[gh+12>>2]|0;Ve=$e&255;We=af&255;Xe=k[gh+16>>2]|0;Ye=($e&65535)>>>8&255;Ze=(af&65535)>>>8&255;_e=k[gh+20>>2]|0;$e=$e>>>16&255;af=af>>>16&255;bf=k[gh+24>>2]|0;yg=(o+3|0)/4|0;Wg=c;c=24;break}case 2:{kf=k[gh+32>>2]|0;lf=k[gh+28>>2]|0;kd=(m[gh+28>>1]|0)>>>8&255;ld=(m[gh+32>>1]|0)>>>8&255;md=lf&255;nd=kf&255;cf=k[gh+12>>2]|0;df=kf&255;ef=lf&255;ff=k[gh+16>>2]|0;gf=(kf&65535)>>>8&255;hf=(lf&65535)>>>8&255;jf=k[gh+20>>2]|0;kf=kf>>>16&255;lf=lf>>>16&255;mf=k[gh+24>>2]|0;zg=(o+3|0)/4|0;Xg=c;c=25;break}case 1:{uf=k[gh+32>>2]|0;vf=k[gh+28>>2]|0;nf=k[gh+12>>2]|0;of=uf&255;pf=vf&255;qf=k[gh+16>>2]|0;rf=(uf&65535)>>>8&255;sf=(vf&65535)>>>8&255;tf=k[gh+20>>2]|0;uf=uf>>>16&255;vf=vf>>>16&255;wf=k[gh+24>>2]|0;Ag=(o+3|0)/4|0;Yg=c;c=26;break}default:{c=27;break b}}while(1)if((c|0)==23){pd=m[Vg>>1]|0;qd=Ie&255;Ue=Me&255;od=Qe&255;rd=(l[Ke+((pd&He)>>>qd)>>0]|0)+(d&255)|0;Ve=(l[Oe+((Le&pd)>>>Ue)>>0]|0)+(e&255)|0;pd=(l[Se+((Pe&pd)>>>od)>>0]|0)+(f&255)|0;j[Vg>>1]=(Ve>>>0>255?255:Ve)>>>(Ne&255)<>>0>255?255:rd)>>>(Je&255)<>>0>255?255:pd)>>>(Re&255)<>1]|0;nd=Ve&255;cf=We&255;ef=Ye&255;ff=Ze&255;kd=$e&255;ld=af&255;df=(l[(k[124356+(cf<<2)>>2]|0)+((md&Ue)>>>nd)>>0]|0)+(d&255)|0;gf=(l[(k[124356+(ff<<2)>>2]|0)+((Xe&md)>>>ef)>>0]|0)+(e&255)|0;md=(l[(k[124356+(ld<<2)>>2]|0)+((_e&md)>>>kd)>>0]|0)+(f&255)|0;j[Wg>>1]=(gf>>>0>255?255:gf)>>>ff<>>0>255?255:df)>>>cf<>>0>255?255:md)>>>ld<>1]|0;qf=df&255;rf=ef&255;tf=gf&255;uf=hf&255;nf=kf&255;of=lf&255;sf=(l[(k[124356+(rf<<2)>>2]|0)+((pf&cf)>>>qf)>>0]|0)+(d&255)|0;vf=(l[(k[124356+(uf<<2)>>2]|0)+((ff&pf)>>>tf)>>0]|0)+(e&255)|0;pf=(l[(k[124356+(of<<2)>>2]|0)+((jf&pf)>>>nf)>>0]|0)+(f&255)|0;j[Xg>>1]=(vf>>>0>255?255:vf)>>>uf<>>0>255?255:sf)>>>rf<>>0>255?255:pf)>>>of<>1]|0;eh=of&255;dh=pf&255;c=k[124356+(dh<<2)>>2]|0;bh=rf&255;ah=sf&255;a=k[124356+(ah<<2)>>2]|0;i=uf&255;b=vf&255;h=k[124356+(b<<2)>>2]|0;ch=(l[c+((g&nf)>>>eh)>>0]|0)+(d&255)|0;$g=(l[a+((qf&g)>>>bh)>>0]|0)+(e&255)|0;g=(l[h+((tf&g)>>>i)>>0]|0)+(f&255)|0;j[Yg>>1]=($g>>>0>255?255:$g)>>>ah<>>0>255?255:ch)>>>dh<>>0>255?255:g)>>>b<1){sd=sf;td=rf;ud=pf;vd=of;He=nf;Ie=of;Je=pf;Ke=c;Le=qf;Me=rf;Ne=sf;Oe=a;Pe=tf;Qe=uf;Re=vf;Se=h;Te=wf;xg=Ag+-1|0;Vg=i;c=23;continue}else break}if(!n){fh=0;c=109;break}else c=i+(p-o<<1)|0}if((c|0)!=27)if((c|0)==109)return fh|0;break}case 4:{o=k[b+8>>2]|0;c=k[b+12>>2]|0;p=(k[a+16>>2]|0)/2|0;if(!c){d=0;return d|0}g=(k[a+20>>2]|0)+((ha(k[b+4>>2]|0,p)|0)<<1)|0;n=c;c=g+(k[b>>2]<<1)|0;c:while(1){n=n+-1|0;switch(o&3|0){case 0:{Gf=k[gh+32>>2]|0;If=k[gh+28>>2]|0;Ed=(m[gh+28>>1]|0)>>>8&255;Fd=(m[gh+32>>1]|0)>>>8&255;Gd=If&255;Hd=Gf&255;xf=k[gh+12>>2]|0;yf=Gf&255;zf=If&255;Af=k[124356+((If&255)<<2)>>2]|0;Bf=k[gh+16>>2]|0;Cf=(Gf&65535)>>>8&255;Df=(If&65535)>>>8&255;Ef=k[124356+(((If&65535)>>>8&65535)<<2)>>2]|0;Ff=k[gh+20>>2]|0;Gf=Gf>>>16&255;Hf=If>>>16&255;If=k[124356+((If>>>16&255)<<2)>>2]|0;Jf=k[gh+24>>2]|0;Bg=(o+3|0)/4|0;Zg=c;c=36;break}case 3:{Rf=k[gh+32>>2]|0;Sf=k[gh+28>>2]|0;Ad=(m[gh+28>>1]|0)>>>8&255;Bd=(m[gh+32>>1]|0)>>>8&255;Cd=Sf&255;Dd=Rf&255;Kf=k[gh+12>>2]|0;Lf=Rf&255;Mf=Sf&255;Nf=k[gh+16>>2]|0;Of=(Rf&65535)>>>8&255;Pf=(Sf&65535)>>>8&255;Qf=k[gh+20>>2]|0;Rf=Rf>>>16&255;Sf=Sf>>>16&255;Tf=k[gh+24>>2]|0;Cg=(o+3|0)/4|0;_g=c;c=37;break}case 2:{$f=k[gh+32>>2]|0;ag=k[gh+28>>2]|0;wd=(m[gh+28>>1]|0)>>>8&255;xd=(m[gh+32>>1]|0)>>>8&255;yd=ag&255;zd=$f&255;Uf=k[gh+12>>2]|0;Vf=$f&255;Wf=ag&255;Xf=k[gh+16>>2]|0;Yf=($f&65535)>>>8&255;Zf=(ag&65535)>>>8&255;_f=k[gh+20>>2]|0;$f=$f>>>16&255;ag=ag>>>16&255;bg=k[gh+24>>2]|0;Dg=(o+3|0)/4|0;$g=c;c=38;break}case 1:{jg=k[gh+32>>2]|0;kg=k[gh+28>>2]|0;_a=k[gh+24>>2]|0;cg=k[gh+12>>2]|0;dg=jg&255;eg=kg&255;fg=k[gh+16>>2]|0;gg=(jg&65535)>>>8&255;hg=(kg&65535)>>>8&255;ig=k[gh+20>>2]|0;jg=jg>>>16&255;kg=kg>>>16&255;Eg=(o+3|0)/4|0;ah=c;c=39;break}default:{c=40;break c}}while(1)if((c|0)==36){Bd=m[Zg>>1]|0;Cd=yf&255;Dd=Cf&255;Ad=Gf&255;Ad=((((ha(l[Ef+((Bf&Bd)>>>Dd)>>0]|0,e&255)|0)>>>0)/255|0)>>>(Df&255)<>>Cd)>>0]|0,d&255)|0)>>>0)/255|0)>>>(zf&255)<>>Ad)>>0]|0,f&255)|0)>>>0)/255|0)>>>(Hf&255)<>1]=Ad;Ad=Ed;Bd=Fd;Cd=Gd;Dd=Hd;Kf=xf;Lf=Hd;Mf=Gd;Nf=Bf;Of=Fd;Pf=Ed;Qf=Ff;Rf=Gf;Sf=Hf;Tf=Jf;Cg=Bg;_g=Zg+2|0;c=37;continue}else if((c|0)==37){yd=m[_g>>1]|0;zd=Lf&255;Uf=Mf&255;Vf=Of&255;Wf=Pf&255;wd=Rf&255;xd=Sf&255;wd=((((ha(l[(k[124356+(Wf<<2)>>2]|0)+((Nf&yd)>>>Vf)>>0]|0,e&255)|0)>>>0)/255|0)>>>Wf<>2]|0)+((yd&Kf)>>>zd)>>0]|0,d&255)|0)>>>0)/255|0)>>>Uf<>2]|0)+((Qf&yd)>>>wd)>>0]|0,f&255)|0)>>>0)/255|0)>>>xd<>1]=wd;wd=Ad;xd=Bd;yd=Cd;zd=Dd;Uf=Kf;Vf=Dd;Wf=Cd;Xf=Nf;Yf=Bd;Zf=Ad;_f=Qf;$f=Rf;ag=Sf;bg=Tf;Dg=Cg;$g=_g+2|0;c=38;continue}else if((c|0)==38){dg=m[$g>>1]|0;eg=Vf&255;fg=Wf&255;gg=Yf&255;hg=Zf&255;_a=$f&255;cg=ag&255;_a=((((ha(l[(k[124356+(hg<<2)>>2]|0)+((Xf&dg)>>>gg)>>0]|0,e&255)|0)>>>0)/255|0)>>>hg<>2]|0)+((dg&Uf)>>>eg)>>0]|0,d&255)|0)>>>0)/255|0)>>>fg<>2]|0)+((_f&dg)>>>_a)>>0]|0,f&255)|0)>>>0)/255|0)>>>cg<<_a)&65535;j[$g>>1]=_a;_a=bg;cg=Uf;dg=zd;eg=yd;fg=Xf;gg=xd;hg=wd;ig=_f;jg=$f;kg=ag;Eg=Dg;ah=$g+2|0;c=39;continue}else if((c|0)==39){g=m[ah>>1]|0;eh=dg&255;dh=eg&255;a=k[124356+(dh<<2)>>2]|0;ch=gg&255;bh=hg&255;h=k[124356+(bh<<2)>>2]|0;c=jg&255;b=kg&255;i=k[124356+(b<<2)>>2]|0;c=((((ha(l[h+((fg&g)>>>ch)>>0]|0,e&255)|0)>>>0)/255|0)>>>bh<>>eh)>>0]|0,d&255)|0)>>>0)/255|0)>>>dh<>>c)>>0]|0,f&255)|0)>>>0)/255|0)>>>b<>1]=c;c=ah+2|0;if((Eg|0)>1){Ed=hg;Fd=gg;Gd=eg;Hd=dg;xf=cg;yf=dg;zf=eg;Af=a;Bf=fg;Cf=gg;Df=hg;Ef=h;Ff=ig;Gf=jg;Hf=kg;If=i;Jf=_a;Bg=Eg+-1|0;Zg=c;c=36;continue}else break}if(!n){fh=0;c=109;break}else c=c+(p-o<<1)|0}if((c|0)!=40)if((c|0)==109)return fh|0;break}default:{h=k[b+8>>2]|0;c=k[b+12>>2]|0;i=(k[a+16>>2]|0)/2|0;if(!c){d=0;return d|0}g=(k[a+20>>2]|0)+((ha(k[b+4>>2]|0,i)|0)<<1)|0;a=c;c=g+(k[b>>2]<<1)|0;d:while(1){a=a+-1|0;switch(h&3|0){case 0:{xa=k[gh+28>>2]|0;wa=k[gh+32>>2]|0;n=xa&255;o=wa&255;p=(xa&65535)>>>8&255;q=(wa&65535)>>>8&255;r=xa>>>16&255;s=wa>>>16&255;t=k[gh+24>>2]|0;ua=(m[gh+32>>1]|0)>>>8&255;va=(m[gh+28>>1]|0)>>>8&255;wa=wa&255;xa=xa&255;Oa=(h+3|0)/4|0;Wa=c;c=49;break}case 3:{ta=k[gh+28>>2]|0;sa=k[gh+32>>2]|0;u=ta&255;v=sa&255;w=(ta&65535)>>>8&255;x=(sa&65535)>>>8&255;y=ta>>>16&255;z=sa>>>16&255;A=k[gh+24>>2]|0;qa=(m[gh+32>>1]|0)>>>8&255;ra=(m[gh+28>>1]|0)>>>8&255;sa=sa&255;ta=ta&255;Pa=(h+3|0)/4|0;Xa=c;c=50;break}case 2:{pa=k[gh+28>>2]|0;oa=k[gh+32>>2]|0;B=pa&255;C=oa&255;D=(pa&65535)>>>8&255;E=(oa&65535)>>>8&255;F=pa>>>16&255;G=oa>>>16&255;H=k[gh+24>>2]|0;ma=(m[gh+32>>1]|0)>>>8&255;na=(m[gh+28>>1]|0)>>>8&255;oa=oa&255;pa=pa&255;Qa=(h+3|0)/4|0;Ya=c;c=51;break}case 1:{M=k[gh+28>>2]|0;N=k[gh+32>>2]|0;I=M&255;J=N&255;K=(M&65535)>>>8&255;L=(N&65535)>>>8&255;M=M>>>16&255;N=N>>>16&255;O=k[gh+24>>2]|0;Ra=(h+3|0)/4|0;Za=c;c=52;break}default:{c=53;break d}}while(1)if((c|0)==49){j[Wa>>1]=(e&255)>>>(p&255)<<(q&255)|(d&255)>>>(n&255)<<(o&255)|t|(f&255)>>>(r&255)<<(s&255);u=xa;v=wa;w=va;x=ua;y=r;z=s;A=t;qa=ua;ra=va;sa=wa;ta=xa;Pa=Oa;Xa=Wa+2|0;c=50;continue}else if((c|0)==50){j[Xa>>1]=(e&255)>>>(w&255)<<(x&255)|(d&255)>>>(u&255)<<(v&255)|A|(f&255)>>>(y&255)<<(z&255);B=ta;C=sa;D=ra;E=qa;F=y;G=z;H=A;ma=qa;na=ra;oa=sa;pa=ta;Qa=Pa;Ya=Xa+2|0;c=51;continue}else if((c|0)==51){j[Ya>>1]=(e&255)>>>(D&255)<<(E&255)|(d&255)>>>(B&255)<<(C&255)|H|(f&255)>>>(F&255)<<(G&255);I=pa;J=oa;K=na;L=ma;M=F;N=G;O=H;Ra=Qa;Za=Ya+2|0;c=52;continue}else if((c|0)==52){j[Za>>1]=(e&255)>>>(K&255)<<(L&255)|(d&255)>>>(I&255)<<(J&255)|O|(f&255)>>>(M&255)<<(N&255);c=Za+2|0;if((Ra|0)>1){n=I;o=J;p=K;q=L;r=M;s=N;t=O;ua=L;va=K;wa=J;xa=I;Oa=Ra+-1|0;Wa=c;c=49;continue}else break}if(!a){fh=0;c=109;break}else c=c+(i-h<<1)|0}if((c|0)!=53)if((c|0)==109)return fh|0}}break}case 4:{switch(c|0){case 1:{o=k[b+8>>2]|0;c=k[b+12>>2]|0;p=(k[a+16>>2]|0)/4|0;if(!c){d=0;return d|0}n=c;c=(k[a+20>>2]|0)+((ha(k[b+4>>2]|0,p)|0)<<2)+(k[b>>2]<<2)|0;e:while(1){n=n+-1|0;switch(o&3|0){case 0:{Vd=k[gh+32>>2]|0;Ud=k[gh+28>>2]|0;fb=Vd&255;gb=Ud&255;ib=k[124356+((Ud&255)<<2)>>2]|0;jb=(Vd&65535)>>>8&255;kb=(Ud&65535)>>>8&255;lb=k[124356+(((Ud&65535)>>>8&65535)<<2)>>2]|0;mb=Vd>>>16&255;ob=Ud>>>16&255;pb=k[124356+((Ud>>>16&255)<<2)>>2]|0;Rd=(m[gh+28>>1]|0)>>>8&255;Sd=(m[gh+32>>1]|0)>>>8&255;Ud=Ud&255;Vd=Vd&255;Fg=(o+3|0)/4|0;bh=c;c=63;break}case 3:{Qd=k[gh+32>>2]|0;Pd=k[gh+28>>2]|0;qb=Qd&255;rb=Pd&255;tb=(Qd&65535)>>>8&255;ub=(Pd&65535)>>>8&255;vb=Qd>>>16&255;wb=Pd>>>16&255;Nd=(m[gh+28>>1]|0)>>>8&255;Od=(m[gh+32>>1]|0)>>>8&255;Pd=Pd&255;Qd=Qd&255;Gg=(o+3|0)/4|0;ch=c;c=64;break}case 2:{Md=k[gh+32>>2]|0;Ld=k[gh+28>>2]|0;yb=Md&255;zb=Ld&255;Bb=(Md&65535)>>>8&255;Cb=(Ld&65535)>>>8&255;Eb=Md>>>16&255;Fb=Ld>>>16&255;Jd=(m[gh+28>>1]|0)>>>8&255;Kd=(m[gh+32>>1]|0)>>>8&255;Ld=Ld&255;Md=Md&255;Hg=(o+3|0)/4|0;dh=c;c=65;break}case 1:{Kb=k[gh+32>>2]|0;Lb=k[gh+28>>2]|0;Gb=Kb&255;Hb=Lb&255;Ib=(Kb&65535)>>>8&255;Jb=(Lb&65535)>>>8&255;Kb=Kb>>>16&255;Lb=Lb>>>16&255;Ig=(o+3|0)/4|0;eh=c;c=66;break}default:{c=67;break e}}while(1)if((c|0)==63){tb=k[bh>>2]|0;rb=fb&255;ub=jb&255;qb=mb&255;rb=((((ha(l[lb+((k[gh+16>>2]&tb)>>>ub)>>0]|0,g&255^255)|0)>>>0)/255|0)+(e&255)|0)>>>(kb&255)<>2]&tb)>>>rb)>>0]|0,g&255^255)|0)>>>0)/255|0)+(d&255)|0)>>>(gb&255)<>2]&tb)>>>qb)>>0]|0,g&255^255)|0)>>>0)/255|0)+(f&255)|0)>>>(ob&255)<>2]=rb|k[gh+24>>2]|qb;qb=Vd;rb=Ud;tb=Sd;ub=Rd;vb=mb;wb=ob;Nd=Rd;Od=Sd;Pd=Ud;Qd=Vd;Gg=Fg;ch=bh+4|0;c=64;continue}else if((c|0)==64){Cb=k[ch>>2]|0;zb=qb&255;Eb=rb&255;Fb=tb&255;Jd=ub&255;yb=vb&255;Bb=wb&255;zb=((((ha(l[(k[124356+(Jd<<2)>>2]|0)+((k[gh+16>>2]&Cb)>>>Fb)>>0]|0,g&255^255)|0)>>>0)/255|0)+(e&255)|0)>>>Jd<>2]|0)+((k[gh+12>>2]&Cb)>>>zb)>>0]|0,g&255^255)|0)>>>0)/255|0)+(d&255)|0)>>>Eb<>2]|0)+((k[gh+20>>2]&Cb)>>>yb)>>0]|0,g&255^255)|0)>>>0)/255|0)+(f&255)|0)>>>Bb<>2]=zb|k[gh+24>>2]|yb;yb=Qd;zb=Pd;Bb=Od;Cb=Nd;Eb=vb;Fb=wb;Jd=Nd;Kd=Od;Ld=Pd;Md=Qd;Hg=Gg;dh=ch+4|0;c=65;continue}else if((c|0)==65){Jb=k[dh>>2]|0;Hb=yb&255;Kb=zb&255;Lb=Bb&255;Ig=Cb&255;Gb=Eb&255;Ib=Fb&255;Hb=((((ha(l[(k[124356+(Ig<<2)>>2]|0)+((k[gh+16>>2]&Jb)>>>Lb)>>0]|0,g&255^255)|0)>>>0)/255|0)+(e&255)|0)>>>Ig<>2]|0)+((k[gh+12>>2]&Jb)>>>Hb)>>0]|0,g&255^255)|0)>>>0)/255|0)+(d&255)|0)>>>Kb<>2]|0)+((k[gh+20>>2]&Jb)>>>Gb)>>0]|0,g&255^255)|0)>>>0)/255|0)+(f&255)|0)>>>Ib<>2]=Hb|k[gh+24>>2]|Gb;Gb=Md;Hb=Ld;Ib=Kd;Jb=Jd;Kb=Eb;Lb=Fb;Ig=Hg;eh=dh+4|0;c=66;continue}else if((c|0)==66){$g=k[eh>>2]|0;b=Gb&255;_g=Hb&255;c=k[124356+(_g<<2)>>2]|0;Zg=Ib&255;Yg=Jb&255;a=k[124356+(Yg<<2)>>2]|0;i=Kb&255;ah=Lb&255;h=k[124356+(ah<<2)>>2]|0;b=((((ha(l[a+((k[gh+16>>2]&$g)>>>Zg)>>0]|0,g&255^255)|0)>>>0)/255|0)+(e&255)|0)>>>Yg<>2]&$g)>>>b)>>0]|0,g&255^255)|0)>>>0)/255|0)+(d&255)|0)>>>_g<>2]&$g)>>>i)>>0]|0,g&255^255)|0)>>>0)/255|0)+(f&255)|0)>>>ah<>2]=b|k[gh+24>>2]|i;i=eh+4|0;if((Ig|0)>1){fb=Gb;gb=Hb;ib=c;jb=Ib;kb=Jb;lb=a;mb=Kb;ob=Lb;pb=h;Rd=Jb;Sd=Ib;Ud=Hb;Vd=Gb;Fg=Ig+-1|0;bh=i;c=63;continue}else break}if(!n){fh=0;c=109;break}else c=i+(p-o<<2)|0}if((c|0)!=67)if((c|0)==109)return fh|0;break}case 2:{o=k[b+8>>2]|0;c=k[b+12>>2]|0;p=(k[a+16>>2]|0)/4|0;if(!c){d=0;return d|0}g=(k[a+20>>2]|0)+((ha(k[b+4>>2]|0,p)|0)<<2)|0;n=c;c=g+(k[b>>2]<<2)|0;f:while(1){n=n+-1|0;switch(o&3|0){case 0:{fe=k[gh+32>>2]|0;ee=k[gh+28>>2]|0;Nb=fe&255;Ob=ee&255;Pb=k[124356+((ee&255)<<2)>>2]|0;Qb=(fe&65535)>>>8&255;Rb=(ee&65535)>>>8&255;Sb=k[124356+(((ee&65535)>>>8&65535)<<2)>>2]|0;Tb=fe>>>16&255;Ub=ee>>>16&255;Vb=k[124356+((ee>>>16&255)<<2)>>2]|0;ce=(m[gh+28>>1]|0)>>>8&255;de=(m[gh+32>>1]|0)>>>8&255;ee=ee&255;fe=fe&255;pg=(o+3|0)/4|0;Ng=c;c=76;break}case 3:{be=k[gh+32>>2]|0;ae=k[gh+28>>2]|0;Wb=be&255;Xb=ae&255;Yb=(be&65535)>>>8&255;Zb=(ae&65535)>>>8&255;$b=be>>>16&255;ac=ae>>>16&255;_d=(m[gh+28>>1]|0)>>>8&255;$d=(m[gh+32>>1]|0)>>>8&255;ae=ae&255;be=be&255;qg=(o+3|0)/4|0;Og=c;c=77;break}case 2:{Zd=k[gh+32>>2]|0;Yd=k[gh+28>>2]|0;cc=Zd&255;dc=Yd&255;ec=(Zd&65535)>>>8&255;gc=(Yd&65535)>>>8&255;hc=Zd>>>16&255;ic=Yd>>>16&255;Wd=(m[gh+28>>1]|0)>>>8&255;Xd=(m[gh+32>>1]|0)>>>8&255;Yd=Yd&255;Zd=Zd&255;rg=(o+3|0)/4|0;Pg=c;c=78;break}case 1:{nc=k[gh+32>>2]|0;oc=k[gh+28>>2]|0;jc=nc&255;kc=oc&255;lc=(nc&65535)>>>8&255;mc=(oc&65535)>>>8&255;nc=nc>>>16&255;oc=oc>>>16&255;sg=(o+3|0)/4|0;Qg=c;c=79;break}default:{c=80;break f}}while(1)if((c|0)==76){Xb=k[Ng>>2]|0;Yb=Nb&255;$b=Qb&255;Wb=Tb&255;Zb=(l[Pb+((k[gh+12>>2]&Xb)>>>Yb)>>0]|0)+(d&255)|0;ac=(l[Sb+((k[gh+16>>2]&Xb)>>>$b)>>0]|0)+(e&255)|0;Xb=(l[Vb+((k[gh+20>>2]&Xb)>>>Wb)>>0]|0)+(f&255)|0;k[Ng>>2]=(ac>>>0>255?255:ac)>>>(Rb&255)<<$b|(Zb>>>0>255?255:Zb)>>>(Ob&255)<>2]|(Xb>>>0>255?255:Xb)>>>(Ub&255)<>2]|0;gc=Wb&255;hc=Xb&255;Wd=Yb&255;Xd=Zb&255;cc=$b&255;dc=ac&255;ic=(l[(k[124356+(hc<<2)>>2]|0)+((k[gh+12>>2]&ec)>>>gc)>>0]|0)+(d&255)|0;Yd=(l[(k[124356+(Xd<<2)>>2]|0)+((k[gh+16>>2]&ec)>>>Wd)>>0]|0)+(e&255)|0;ec=(l[(k[124356+(dc<<2)>>2]|0)+((k[gh+20>>2]&ec)>>>cc)>>0]|0)+(f&255)|0;k[Og>>2]=(Yd>>>0>255?255:Yd)>>>Xd<>>0>255?255:ic)>>>hc<>2]|(ec>>>0>255?255:ec)>>>dc<>2]|0;mc=cc&255;nc=dc&255;sg=ec&255;Qg=gc&255;jc=hc&255;kc=ic&255;oc=(l[(k[124356+(nc<<2)>>2]|0)+((k[gh+12>>2]&lc)>>>mc)>>0]|0)+(d&255)|0;c=(l[(k[124356+(Qg<<2)>>2]|0)+((k[gh+16>>2]&lc)>>>sg)>>0]|0)+(e&255)|0;lc=(l[(k[124356+(kc<<2)>>2]|0)+((k[gh+20>>2]&lc)>>>jc)>>0]|0)+(f&255)|0;k[Pg>>2]=(c>>>0>255?255:c)>>>Qg<>>0>255?255:oc)>>>nc<>2]|(lc>>>0>255?255:lc)>>>kc<>2]|0;eh=jc&255;dh=kc&255;c=k[124356+(dh<<2)>>2]|0;bh=lc&255;ah=mc&255;a=k[124356+(ah<<2)>>2]|0;i=nc&255;b=oc&255;h=k[124356+(b<<2)>>2]|0;ch=(l[c+((k[gh+12>>2]&g)>>>eh)>>0]|0)+(d&255)|0;$g=(l[a+((k[gh+16>>2]&g)>>>bh)>>0]|0)+(e&255)|0;g=(l[h+((k[gh+20>>2]&g)>>>i)>>0]|0)+(f&255)|0;k[Qg>>2]=($g>>>0>255?255:$g)>>>ah<>>0>255?255:ch)>>>dh<>2]|(g>>>0>255?255:g)>>>b<1){Nb=jc;Ob=kc;Pb=c;Qb=lc;Rb=mc;Sb=a;Tb=nc;Ub=oc;Vb=h;ce=mc;de=lc;ee=kc;fe=jc;pg=sg+-1|0;Ng=i;c=76;continue}else break}if(!n){fh=0;c=109;break}else c=i+(p-o<<2)|0}if((c|0)!=80)if((c|0)==109)return fh|0;break}case 4:{o=k[b+8>>2]|0;c=k[b+12>>2]|0;p=(k[a+16>>2]|0)/4|0;if(!c){d=0;return d|0}g=(k[a+20>>2]|0)+((ha(k[b+4>>2]|0,p)|0)<<2)|0;n=c;c=g+(k[b>>2]<<2)|0;g:while(1){n=n+-1|0;switch(o&3|0){case 0:{re=k[gh+32>>2]|0;qe=k[gh+28>>2]|0;tc=re&255;vc=qe&255;wc=k[124356+((qe&255)<<2)>>2]|0;xc=(re&65535)>>>8&255;yc=(qe&65535)>>>8&255;zc=k[124356+(((qe&65535)>>>8&65535)<<2)>>2]|0;Ac=re>>>16&255;Bc=qe>>>16&255;Cc=k[124356+((qe>>>16&255)<<2)>>2]|0;oe=(m[gh+28>>1]|0)>>>8&255;pe=(m[gh+32>>1]|0)>>>8&255;qe=qe&255;re=re&255;tg=(o+3|0)/4|0;Rg=c;c=89;break}case 3:{ne=k[gh+32>>2]|0;me=k[gh+28>>2]|0;Ec=ne&255;Fc=me&255;Gc=(ne&65535)>>>8&255;Hc=(me&65535)>>>8&255;Ic=ne>>>16&255;Jc=me>>>16&255;ke=(m[gh+28>>1]|0)>>>8&255;le=(m[gh+32>>1]|0)>>>8&255;me=me&255;ne=ne&255;ug=(o+3|0)/4|0;Sg=c;c=90;break}case 2:{je=k[gh+32>>2]|0;ie=k[gh+28>>2]|0;Kc=je&255;Lc=ie&255;Mc=(je&65535)>>>8&255;Nc=(ie&65535)>>>8&255;Oc=je>>>16&255;Pc=ie>>>16&255;ge=(m[gh+28>>1]|0)>>>8&255;he=(m[gh+32>>1]|0)>>>8&255;ie=ie&255;je=je&255;vg=(o+3|0)/4|0;Tg=c;c=91;break}case 1:{Uc=k[gh+32>>2]|0;Vc=k[gh+28>>2]|0;Qc=Uc&255;Rc=Vc&255;Sc=(Uc&65535)>>>8&255;Tc=(Vc&65535)>>>8&255;Uc=Uc>>>16&255;Vc=Vc>>>16&255;wg=(o+3|0)/4|0;Ug=c;c=92;break}default:{c=93;break g}}while(1)if((c|0)==89){Gc=k[Rg>>2]|0;Fc=tc&255;Hc=xc&255;Ec=Ac&255;Fc=(((ha(l[zc+((k[gh+16>>2]&Gc)>>>Hc)>>0]|0,e&255)|0)>>>0)/255|0)>>>(yc&255)<>2]&Gc)>>>Fc)>>0]|0,d&255)|0)>>>0)/255|0)>>>(vc&255)<>2]&Gc)>>>Ec)>>0]|0,f&255)|0)>>>0)/255|0)>>>(Bc&255)<>2]=Fc|k[gh+24>>2]|Ec;Ec=re;Fc=qe;Gc=pe;Hc=oe;Ic=Ac;Jc=Bc;ke=oe;le=pe;me=qe;ne=re;ug=tg;Sg=Rg+4|0;c=90;continue}else if((c|0)==90){Nc=k[Sg>>2]|0;Lc=Ec&255;Oc=Fc&255;Pc=Gc&255;ge=Hc&255;Kc=Ic&255;Mc=Jc&255;Lc=(((ha(l[(k[124356+(ge<<2)>>2]|0)+((k[gh+16>>2]&Nc)>>>Pc)>>0]|0,e&255)|0)>>>0)/255|0)>>>ge<>2]|0)+((k[gh+12>>2]&Nc)>>>Lc)>>0]|0,d&255)|0)>>>0)/255|0)>>>Oc<>2]|0)+((k[gh+20>>2]&Nc)>>>Kc)>>0]|0,f&255)|0)>>>0)/255|0)>>>Mc<>2]=Lc|k[gh+24>>2]|Kc;Kc=ne;Lc=me;Mc=le;Nc=ke;Oc=Ic;Pc=Jc;ge=ke;he=le;ie=me;je=ne;vg=ug;Tg=Sg+4|0;c=91;continue}else if((c|0)==91){Tc=k[Tg>>2]|0;Rc=Kc&255;Uc=Lc&255;Vc=Mc&255;wg=Nc&255;Qc=Oc&255;Sc=Pc&255;Rc=(((ha(l[(k[124356+(wg<<2)>>2]|0)+((k[gh+16>>2]&Tc)>>>Vc)>>0]|0,e&255)|0)>>>0)/255|0)>>>wg<>2]|0)+((k[gh+12>>2]&Tc)>>>Rc)>>0]|0,d&255)|0)>>>0)/255|0)>>>Uc<>2]|0)+((k[gh+20>>2]&Tc)>>>Qc)>>0]|0,f&255)|0)>>>0)/255|0)>>>Sc<>2]=Rc|k[gh+24>>2]|Qc;Qc=je;Rc=ie;Sc=he;Tc=ge;Uc=Oc;Vc=Pc;wg=vg;Ug=Tg+4|0;c=92;continue}else if((c|0)==92){eh=k[Ug>>2]|0;b=Qc&255;dh=Rc&255;c=k[124356+(dh<<2)>>2]|0;ch=Sc&255;bh=Tc&255;a=k[124356+(bh<<2)>>2]|0;i=Uc&255;g=Vc&255;h=k[124356+(g<<2)>>2]|0;b=(((ha(l[a+((k[gh+16>>2]&eh)>>>ch)>>0]|0,e&255)|0)>>>0)/255|0)>>>bh<>2]&eh)>>>b)>>0]|0,d&255)|0)>>>0)/255|0)>>>dh<>2]&eh)>>>i)>>0]|0,f&255)|0)>>>0)/255|0)>>>g<>2]=b|k[gh+24>>2]|i;i=Ug+4|0;if((wg|0)>1){tc=Qc;vc=Rc;wc=c;xc=Sc;yc=Tc;zc=a;Ac=Uc;Bc=Vc;Cc=h;oe=Tc;pe=Sc;qe=Rc;re=Qc;tg=wg+-1|0;Rg=i;c=89;continue}else break}if(!n){fh=0;c=109;break}else c=i+(p-o<<2)|0}if((c|0)!=93)if((c|0)==109)return fh|0;break}default:{h=k[b+8>>2]|0;c=k[b+12>>2]|0;i=(k[a+16>>2]|0)/4|0;if(!c){d=0;return d|0}g=(k[a+20>>2]|0)+((ha(k[b+4>>2]|0,i)|0)<<2)|0;a=c;c=g+(k[b>>2]<<2)|0;h:while(1){a=a+-1|0;switch(h&3|0){case 0:{Ja=k[gh+28>>2]|0;Ia=k[gh+32>>2]|0;P=Ja&255;Q=Ia&255;R=(Ja&65535)>>>8&255;S=(Ia&65535)>>>8&255;T=Ja>>>16&255;U=Ia>>>16&255;Ga=(m[gh+32>>1]|0)>>>8&255;Ha=(m[gh+28>>1]|0)>>>8&255;Ia=Ia&255;Ja=Ja&255;Ka=(h+3|0)/4|0;Sa=c;c=102;break}case 3:{Fa=k[gh+28>>2]|0;Ea=k[gh+32>>2]|0;V=Fa&255;W=Ea&255;X=(Fa&65535)>>>8&255;Y=(Ea&65535)>>>8&255;Z=Fa>>>16&255;_=Ea>>>16&255;Ca=(m[gh+32>>1]|0)>>>8&255;Da=(m[gh+28>>1]|0)>>>8&255;Ea=Ea&255;Fa=Fa&255;La=(h+3|0)/4|0;Ta=c;c=103;break}case 2:{Ba=k[gh+28>>2]|0;Aa=k[gh+32>>2]|0;$=Ba&255;aa=Aa&255;ba=(Ba&65535)>>>8&255;ca=(Aa&65535)>>>8&255;da=Ba>>>16&255;ea=Aa>>>16&255;ya=(m[gh+32>>1]|0)>>>8&255;za=(m[gh+28>>1]|0)>>>8&255;Aa=Aa&255;Ba=Ba&255;Ma=(h+3|0)/4|0;Ua=c;c=104;break}case 1:{ka=k[gh+28>>2]|0;la=k[gh+32>>2]|0;fa=ka&255;ga=la&255;ia=(ka&65535)>>>8&255;ja=(la&65535)>>>8&255;ka=ka>>>16&255;la=la>>>16&255;Na=(h+3|0)/4|0;Va=c;c=105;break}default:{c=106;break h}}while(1)if((c|0)==102){k[Sa>>2]=(e&255)>>>(R&255)<<(S&255)|(d&255)>>>(P&255)<<(Q&255)|k[gh+24>>2]|(f&255)>>>(T&255)<<(U&255);V=Ja;W=Ia;X=Ha;Y=Ga;Z=T;_=U;Ca=Ga;Da=Ha;Ea=Ia;Fa=Ja;La=Ka;Ta=Sa+4|0;c=103;continue}else if((c|0)==103){k[Ta>>2]=(e&255)>>>(X&255)<<(Y&255)|(d&255)>>>(V&255)<<(W&255)|k[gh+24>>2]|(f&255)>>>(Z&255)<<(_&255);$=Fa;aa=Ea;ba=Da;ca=Ca;da=Z;ea=_;ya=Ca;za=Da;Aa=Ea;Ba=Fa;Ma=La;Ua=Ta+4|0;c=104;continue}else if((c|0)==104){k[Ua>>2]=(e&255)>>>(ba&255)<<(ca&255)|(d&255)>>>($&255)<<(aa&255)|k[gh+24>>2]|(f&255)>>>(da&255)<<(ea&255);fa=Ba;ga=Aa;ia=za;ja=ya;ka=da;la=ea;Na=Ma;Va=Ua+4|0;c=105;continue}else if((c|0)==105){k[Va>>2]=(e&255)>>>(ia&255)<<(ja&255)|(d&255)>>>(fa&255)<<(ga&255)|k[gh+24>>2]|(f&255)>>>(ka&255)<<(la&255);c=Va+4|0;if((Na|0)>1){P=fa;Q=ga;R=ia;S=ja;T=ka;U=la;Ga=ja;Ha=ia;Ia=ga;Ja=fa;Ka=Na+-1|0;Sa=c;c=102;continue}else break}if(!a){fh=0;c=109;break}else c=c+(i-h<<2)|0}if((c|0)!=106)if((c|0)==109)return fh|0}}break}default:{d=x7a(4)|0;return d|0}}return 0}function Zdb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,jb=0,kb=0,lb=0,mb=0,nb=0,ob=0,pb=0,qb=0,rb=0,sb=0,tb=0,ub=0,vb=0,wb=0,xb=0,yb=0,zb=0,Ab=0,Bb=0,Cb=0,Db=0,Eb=0,Fb=0,Gb=0,Hb=0,Ib=0,Jb=0,Kb=0,Lb=0,Mb=0,Nb=0,Ob=0,Pb=0,Qb=0,Rb=0,Sb=0,Tb=0,Ub=0,Vb=0,Wb=0,Xb=0,Yb=0,Zb=0,_b=0,$b=0,ac=0,bc=0,cc=0,dc=0,ec=0,fc=0,gc=0,hc=0,ic=0,jc=0,kc=0,lc=0,mc=0,nc=0,oc=0,pc=0,qc=0,rc=0,sc=0,tc=0,uc=0,vc=0,wc=0,xc=0,yc=0,zc=0,Ac=0,Bc=0,Cc=0,Dc=0,Ec=0,Fc=0,Gc=0,Hc=0,Ic=0,Jc=0,Kc=0,Lc=0,Mc=0,Nc=0,Oc=0,Pc=0,Qc=0,Rc=0,Sc=0,Tc=0,Uc=0,Vc=0,Wc=0,Xc=0,Yc=0,Zc=0,_c=0,$c=0,ad=0,bd=0,cd=0,dd=0,ed=0,fd=0,gd=0,hd=0,id=0,jd=0,kd=0,ld=0,md=0,nd=0,od=0,pd=0,qd=0,rd=0,sd=0,td=0,ud=0,vd=0;vd=k[a+4>>2]|0;Rb=g&255^255;h=i[vd+9>>0]|0;if(h<<24>>24!=4){d=x7a(4)|0;return d|0}switch(c|0){case 1:{r=k[b+8>>2]|0;c=k[b+12>>2]|0;q=(k[a+16>>2]|0)/(h&255|0)|0;if(!c){d=0;return d|0}p=c;c=(k[a+20>>2]|0)+((ha(k[b+4>>2]|0,q)|0)<<2)+(k[b>>2]<<2)|0;a:while(1){p=p+-1|0;switch(r&3|0){case 0:{Cb=k[vd+32>>2]|0;Eb=k[vd+28>>2]|0;La=Cb&255;Ma=Eb&255;Na=k[124356+((Eb&255)<<2)>>2]|0;Wa=(m[vd+28>>1]|0)>>>8&255;Xa=(m[vd+32>>1]|0)>>>8&255;Ya=Eb&255;Za=Cb&255;ob=(Cb&65535)>>>8&255;xb=(Eb&65535)>>>8&255;yb=k[124356+(((Eb&65535)>>>8&65535)<<2)>>2]|0;zb=Cb>>>16&255;Ab=Eb>>>16&255;Bb=k[124356+((Eb>>>16&255)<<2)>>2]|0;Cb=Cb>>>24&255;Db=Eb>>>24&255;Eb=k[124356+(Eb>>>24<<2)>>2]|0;Yc=(r+3|0)/4|0;id=c;c=10;break}case 3:{Lb=k[vd+32>>2]|0;Mb=k[vd+28>>2]|0;Sa=(m[vd+28>>1]|0)>>>8&255;Ta=(m[vd+32>>1]|0)>>>8&255;Ua=Mb&255;Va=Lb&255;Fb=Lb&255;Gb=Mb&255;Hb=(Lb&65535)>>>8&255;Ib=(Mb&65535)>>>8&255;Jb=Lb>>>16&255;Kb=Mb>>>16&255;Lb=Lb>>>24&255;Mb=Mb>>>24&255;Zc=(r+3|0)/4|0;jd=c;c=11;break}case 2:{Ub=k[vd+32>>2]|0;Vb=k[vd+28>>2]|0;Oa=(m[vd+28>>1]|0)>>>8&255;Pa=(m[vd+32>>1]|0)>>>8&255;Qa=Vb&255;Ra=Ub&255;Nb=Ub&255;Ob=Vb&255;Pb=(Ub&65535)>>>8&255;Qb=(Vb&65535)>>>8&255;Sb=Ub>>>16&255;Tb=Vb>>>16&255;Ub=Ub>>>24&255;Vb=Vb>>>24&255;_c=(r+3|0)/4|0;kd=c;c=12;break}case 1:{ac=k[vd+32>>2]|0;bc=k[vd+28>>2]|0;Wb=ac&255;Xb=bc&255;Yb=(ac&65535)>>>8&255;Zb=(bc&65535)>>>8&255;_b=ac>>>16&255;$b=bc>>>16&255;ac=ac>>>24&255;bc=bc>>>24&255;$c=(r+3|0)/4|0;ld=c;c=13;break}default:{c=14;break a}}while(1)if((c|0)==10){Ta=k[id>>2]|0;Va=La&255;Fb=ob&255;Ua=zb&255;Sa=Cb&255;Sa=((((ha(l[yb+((k[vd+16>>2]&Ta)>>>Fb)>>0]|0,Rb)|0)>>>0)/255|0)+(e&255)|0)>>>(xb&255)<>2]&Ta)>>>Va)>>0]|0,Rb)|0)>>>0)/255|0)+(d&255)|0)>>>(Ma&255)<>2]&Ta)>>>Ua)>>0]|0,Rb)|0)>>>0)/255|0)+(f&255)|0)>>>(Ab&255)<>2]&Ta)>>>Sa)>>0]|0,Rb)|0)>>>0)/255|0)+(g&255)|0)>>>(Db&255)<>2]=Sa;Sa=Wa;Ta=Xa;Ua=Ya;Va=Za;Fb=Za;Gb=Ya;Hb=Xa;Ib=Wa;Jb=zb;Kb=Ab;Lb=Cb;Mb=Db;Zc=Yc;jd=id+4|0;c=11;continue}else if((c|0)==11){Qa=k[jd>>2]|0;Ob=Fb&255;Pb=Gb&255;Qb=Hb&255;Sb=Ib&255;Ra=Jb&255;Nb=Kb&255;Oa=Lb&255;Pa=Mb&255;Oa=((((ha(l[(k[124356+(Sb<<2)>>2]|0)+((k[vd+16>>2]&Qa)>>>Qb)>>0]|0,Rb)|0)>>>0)/255|0)+(e&255)|0)>>>Sb<>2]|0)+((k[vd+12>>2]&Qa)>>>Ob)>>0]|0,Rb)|0)>>>0)/255|0)+(d&255)|0)>>>Pb<>2]|0)+((k[vd+20>>2]&Qa)>>>Ra)>>0]|0,Rb)|0)>>>0)/255|0)+(f&255)|0)>>>Nb<>2]|0)+((k[vd+24>>2]&Qa)>>>Oa)>>0]|0,Rb)|0)>>>0)/255|0)+(g&255)|0)>>>Pa<>2]=Oa;Oa=Sa;Pa=Ta;Qa=Ua;Ra=Va;Nb=Va;Ob=Ua;Pb=Ta;Qb=Sa;Sb=Jb;Tb=Kb;Ub=Lb;Vb=Mb;_c=Zc;kd=jd+4|0;c=12;continue}else if((c|0)==12){Yb=k[kd>>2]|0;$b=Nb&255;ac=Ob&255;bc=Pb&255;$c=Qb&255;Zb=Sb&255;_b=Tb&255;Wb=Ub&255;Xb=Vb&255;Wb=((((ha(l[(k[124356+($c<<2)>>2]|0)+((k[vd+16>>2]&Yb)>>>bc)>>0]|0,Rb)|0)>>>0)/255|0)+(e&255)|0)>>>$c<>2]|0)+((k[vd+12>>2]&Yb)>>>$b)>>0]|0,Rb)|0)>>>0)/255|0)+(d&255)|0)>>>ac<<$b|((((ha(l[(k[124356+(_b<<2)>>2]|0)+((k[vd+20>>2]&Yb)>>>Zb)>>0]|0,Rb)|0)>>>0)/255|0)+(f&255)|0)>>>_b<>2]|0)+((k[vd+24>>2]&Yb)>>>Wb)>>0]|0,Rb)|0)>>>0)/255|0)+(g&255)|0)>>>Xb<>2]=Wb;Wb=Ra;Xb=Qa;Yb=Pa;Zb=Oa;_b=Sb;$b=Tb;ac=Ub;bc=Vb;$c=_c;ld=kd+4|0;c=13;continue}else if((c|0)==13){a=k[ld>>2]|0;rd=Wb&255;qd=Xb&255;c=k[124356+(qd<<2)>>2]|0;pd=Yb&255;od=Zb&255;h=k[124356+(od<<2)>>2]|0;td=_b&255;sd=$b&255;j=k[124356+(sd<<2)>>2]|0;o=ac&255;b=bc&255;n=k[124356+(b<<2)>>2]|0;o=((((ha(l[h+((k[vd+16>>2]&a)>>>pd)>>0]|0,Rb)|0)>>>0)/255|0)+(e&255)|0)>>>od<>2]&a)>>>rd)>>0]|0,Rb)|0)>>>0)/255|0)+(d&255)|0)>>>qd<>2]&a)>>>td)>>0]|0,Rb)|0)>>>0)/255|0)+(f&255)|0)>>>sd<>2]&a)>>>o)>>0]|0,Rb)|0)>>>0)/255|0)+(g&255)|0)>>>b<>2]=o;o=ld+4|0;if(($c|0)>1){La=Wb;Ma=Xb;Na=c;Wa=Zb;Xa=Yb;Ya=Xb;Za=Wb;ob=Yb;xb=Zb;yb=h;zb=_b;Ab=$b;Bb=j;Cb=ac;Db=bc;Eb=n;Yc=$c+-1|0;id=o;c=10;continue}else break}if(!p){ud=0;c=56;break}else c=o+(q-r<<2)|0}if((c|0)!=14)if((c|0)==56)return ud|0;break}case 2:{r=k[b+8>>2]|0;c=k[b+12>>2]|0;q=(k[a+16>>2]|0)/(h&255|0)|0;if(!c){d=0;return d|0}g=(k[a+20>>2]|0)+((ha(k[b+4>>2]|0,q)|0)<<2)|0;p=c;c=g+(k[b>>2]<<2)|0;b:while(1){p=p+-1|0;switch(r&3|0){case 0:{lc=k[vd+32>>2]|0;nc=k[vd+28>>2]|0;gb=(m[vd+28>>1]|0)>>>8&255;hb=(m[vd+32>>1]|0)>>>8&255;ib=nc&255;jb=lc&255;cc=lc&255;dc=nc&255;ec=k[124356+((nc&255)<<2)>>2]|0;fc=(lc&65535)>>>8&255;gc=(nc&65535)>>>8&255;hc=k[124356+(((nc&65535)>>>8&65535)<<2)>>2]|0;ic=lc>>>16&255;jc=nc>>>16&255;kc=k[124356+((nc>>>16&255)<<2)>>2]|0;lc=lc>>>24&255;mc=nc>>>24&255;nc=k[124356+(nc>>>24<<2)>>2]|0;ad=(r+3|0)/4|0;md=c;c=23;break}case 3:{uc=k[vd+32>>2]|0;vc=k[vd+28>>2]|0;cb=(m[vd+28>>1]|0)>>>8&255;db=(m[vd+32>>1]|0)>>>8&255;eb=vc&255;fb=uc&255;oc=uc&255;pc=vc&255;qc=(uc&65535)>>>8&255;rc=(vc&65535)>>>8&255;sc=uc>>>16&255;tc=vc>>>16&255;uc=uc>>>24&255;vc=vc>>>24&255;bd=(r+3|0)/4|0;nd=c;c=24;break}case 2:{Cc=k[vd+32>>2]|0;Dc=k[vd+28>>2]|0;_a=(m[vd+28>>1]|0)>>>8&255;$a=(m[vd+32>>1]|0)>>>8&255;ab=Dc&255;bb=Cc&255;wc=Cc&255;xc=Dc&255;yc=(Cc&65535)>>>8&255;zc=(Dc&65535)>>>8&255;Ac=Cc>>>16&255;Bc=Dc>>>16&255;Cc=Cc>>>24&255;Dc=Dc>>>24&255;cd=(r+3|0)/4|0;od=c;c=25;break}case 1:{Kc=k[vd+32>>2]|0;Lc=k[vd+28>>2]|0;Ec=Kc&255;Fc=Lc&255;Gc=(Kc&65535)>>>8&255;Hc=(Lc&65535)>>>8&255;Ic=Kc>>>16&255;Jc=Lc>>>16&255;Kc=Kc>>>24&255;Lc=Lc>>>24&255;dd=(r+3|0)/4|0;pd=c;c=26;break}default:{c=27;break b}}while(1)if((c|0)==23){db=k[md>>2]|0;oc=cc&255;qc=fc&255;eb=ic&255;cb=lc&255;pc=(l[ec+((k[vd+12>>2]&db)>>>oc)>>0]|0)+(d&255)|0;rc=(l[hc+((k[vd+16>>2]&db)>>>qc)>>0]|0)+(e&255)|0;fb=(l[kc+((k[vd+20>>2]&db)>>>eb)>>0]|0)+(f&255)|0;k[md>>2]=(rc>>>0>255?255:rc)>>>(gc&255)<>>0>255?255:pc)>>>(dc&255)<>>0>255?255:fb)>>>(jc&255)<>2]&db)>>>cb)>>0]|0)>>>(mc&255)<>2]|0;yc=oc&255;zc=pc&255;Bc=qc&255;Cc=rc&255;bb=sc&255;wc=tc&255;_a=uc&255;$a=vc&255;Ac=(l[(k[124356+(zc<<2)>>2]|0)+((k[vd+12>>2]&ab)>>>yc)>>0]|0)+(d&255)|0;Dc=(l[(k[124356+(Cc<<2)>>2]|0)+((k[vd+16>>2]&ab)>>>Bc)>>0]|0)+(e&255)|0;xc=(l[(k[124356+(wc<<2)>>2]|0)+((k[vd+20>>2]&ab)>>>bb)>>0]|0)+(f&255)|0;k[nd>>2]=(Dc>>>0>255?255:Dc)>>>Cc<>>0>255?255:Ac)>>>zc<>>0>255?255:xc)>>>wc<>2]|0)+((k[vd+24>>2]&ab)>>>_a)>>0]|0)>>>$a<<_a;_a=cb;$a=db;ab=eb;bb=fb;wc=fb;xc=eb;yc=db;zc=cb;Ac=sc;Bc=tc;Cc=uc;Dc=vc;cd=bd;od=nd+4|0;c=25;continue}else if((c|0)==25){Gc=k[od>>2]|0;Kc=wc&255;Lc=xc&255;pd=yc&255;c=zc&255;Hc=Ac&255;Ic=Bc&255;Ec=Cc&255;Fc=Dc&255;dd=(l[(k[124356+(Lc<<2)>>2]|0)+((k[vd+12>>2]&Gc)>>>Kc)>>0]|0)+(d&255)|0;g=(l[(k[124356+(c<<2)>>2]|0)+((k[vd+16>>2]&Gc)>>>pd)>>0]|0)+(e&255)|0;Jc=(l[(k[124356+(Ic<<2)>>2]|0)+((k[vd+20>>2]&Gc)>>>Hc)>>0]|0)+(f&255)|0;k[od>>2]=(g>>>0>255?255:g)>>>c<>>0>255?255:dd)>>>Lc<>>0>255?255:Jc)>>>Ic<>2]|0)+((k[vd+24>>2]&Gc)>>>Ec)>>0]|0)>>>Fc<>2]|0;rd=Ec&255;qd=Fc&255;c=k[124356+(qd<<2)>>2]|0;kd=Gc&255;jd=Hc&255;h=k[124356+(jd<<2)>>2]|0;a=Ic&255;td=Jc&255;j=k[124356+(td<<2)>>2]|0;o=Kc&255;g=Lc&255;n=k[124356+(g<<2)>>2]|0;ld=(l[c+((k[vd+12>>2]&b)>>>rd)>>0]|0)+(d&255)|0;id=(l[h+((k[vd+16>>2]&b)>>>kd)>>0]|0)+(e&255)|0;sd=(l[j+((k[vd+20>>2]&b)>>>a)>>0]|0)+(f&255)|0;k[pd>>2]=(id>>>0>255?255:id)>>>jd<>>0>255?255:ld)>>>qd<>>0>255?255:sd)>>>td<>2]&b)>>>o)>>0]|0)>>>g<1){gb=Hc;hb=Gc;ib=Fc;jb=Ec;cc=Ec;dc=Fc;ec=c;fc=Gc;gc=Hc;hc=h;ic=Ic;jc=Jc;kc=j;lc=Kc;mc=Lc;nc=n;ad=dd+-1|0;md=o;c=23;continue}else break}if(!p){ud=0;c=56;break}else c=o+(q-r<<2)|0}if((c|0)!=27)if((c|0)==56)return ud|0;break}case 4:{r=k[b+8>>2]|0;c=k[b+12>>2]|0;q=(k[a+16>>2]|0)/(h&255|0)|0;if(!c){d=0;return d|0}g=(k[a+20>>2]|0)+((ha(k[b+4>>2]|0,q)|0)<<2)|0;p=c;c=g+(k[b>>2]<<2)|0;c:while(1){p=p+-1|0;switch(r&3|0){case 0:{Vc=k[vd+32>>2]|0;Xc=k[vd+28>>2]|0;tb=(m[vd+28>>1]|0)>>>8&255;ub=(m[vd+32>>1]|0)>>>8&255;vb=Xc&255;wb=Vc&255;Mc=Vc&255;Nc=Xc&255;Oc=k[124356+((Xc&255)<<2)>>2]|0;Pc=(Vc&65535)>>>8&255;Qc=(Xc&65535)>>>8&255;Rc=k[124356+(((Xc&65535)>>>8&65535)<<2)>>2]|0;Sc=Vc>>>16&255;Tc=Xc>>>16&255;Uc=k[124356+((Xc>>>16&255)<<2)>>2]|0;Vc=Vc>>>24&255;Wc=Xc>>>24&255;Xc=k[124356+(Xc>>>24<<2)>>2]|0;ed=(r+3|0)/4|0;qd=c;c=36;break}case 3:{sb=k[vd+32>>2]|0;rb=k[vd+28>>2]|0;na=sb&255;oa=rb&255;pa=(sb&65535)>>>8&255;qa=(rb&65535)>>>8&255;ra=sb>>>16&255;sa=rb>>>16&255;ta=sb>>>24&255;ua=rb>>>24&255;pb=(m[vd+28>>1]|0)>>>8&255;qb=(m[vd+32>>1]|0)>>>8&255;rb=rb&255;sb=sb&255;fd=(r+3|0)/4|0;rd=c;c=37;break}case 2:{nb=k[vd+32>>2]|0;mb=k[vd+28>>2]|0;va=nb&255;wa=mb&255;xa=(nb&65535)>>>8&255;ya=(mb&65535)>>>8&255;za=nb>>>16&255;Aa=mb>>>16&255;Ba=nb>>>24&255;Ca=mb>>>24&255;kb=(m[vd+28>>1]|0)>>>8&255;lb=(m[vd+32>>1]|0)>>>8&255;mb=mb&255;nb=nb&255;gd=(r+3|0)/4|0;sd=c;c=38;break}case 1:{Ja=k[vd+32>>2]|0;Ka=k[vd+28>>2]|0;Da=Ja&255;Ea=Ka&255;Fa=(Ja&65535)>>>8&255;Ga=(Ka&65535)>>>8&255;Ha=Ja>>>16&255;Ia=Ka>>>16&255;Ja=Ja>>>24&255;Ka=Ka>>>24&255;hd=(r+3|0)/4|0;td=c;c=39;break}default:{c=40;break c}}while(1)if((c|0)==36){oa=k[qd>>2]|0;qa=Mc&255;ra=Pc&255;pa=Sc&255;na=Vc&255;na=(((ha(l[Rc+((k[vd+16>>2]&oa)>>>ra)>>0]|0,e&255)|0)>>>0)/255|0)>>>(Qc&255)<>2]&oa)>>>qa)>>0]|0,d&255)|0)>>>0)/255|0)>>>(Nc&255)<>2]&oa)>>>pa)>>0]|0,f&255)|0)>>>0)/255|0)>>>(Tc&255)<>2]&oa)>>>na)>>0]|0)>>>(Wc&255)<>2]=na;na=wb;oa=vb;pa=ub;qa=tb;ra=Sc;sa=Tc;ta=Vc;ua=Wc;pb=tb;qb=ub;rb=vb;sb=wb;fd=ed;rd=qd+4|0;c=37;continue}else if((c|0)==37){xa=k[rd>>2]|0;Aa=na&255;Ba=oa&255;Ca=pa&255;kb=qa&255;ya=ra&255;za=sa&255;va=ta&255;wa=ua&255;va=(((ha(l[(k[124356+(kb<<2)>>2]|0)+((k[vd+16>>2]&xa)>>>Ca)>>0]|0,e&255)|0)>>>0)/255|0)>>>kb<>2]|0)+((k[vd+12>>2]&xa)>>>Aa)>>0]|0,d&255)|0)>>>0)/255|0)>>>Ba<>2]|0)+((k[vd+20>>2]&xa)>>>ya)>>0]|0,f&255)|0)>>>0)/255|0)>>>za<>2]|0)+((k[vd+24>>2]&xa)>>>va)>>0]|0)>>>wa<>2]=va;va=sb;wa=rb;xa=qb;ya=pb;za=ra;Aa=sa;Ba=ta;Ca=ua;kb=pb;lb=qb;mb=rb;nb=sb;gd=fd;sd=rd+4|0;c=38;continue}else if((c|0)==38){Fa=k[sd>>2]|0;Ia=va&255;Ja=wa&255;Ka=xa&255;hd=ya&255;Ga=za&255;Ha=Aa&255;Da=Ba&255;Ea=Ca&255;Da=(((ha(l[(k[124356+(hd<<2)>>2]|0)+((k[vd+16>>2]&Fa)>>>Ka)>>0]|0,e&255)|0)>>>0)/255|0)>>>hd<>2]|0)+((k[vd+12>>2]&Fa)>>>Ia)>>0]|0,d&255)|0)>>>0)/255|0)>>>Ja<>2]|0)+((k[vd+20>>2]&Fa)>>>Ga)>>0]|0,f&255)|0)>>>0)/255|0)>>>Ha<>2]|0)+((k[vd+24>>2]&Fa)>>>Da)>>0]|0)>>>Ea<>2]=Da;Da=nb;Ea=mb;Fa=lb;Ga=kb;Ha=za;Ia=Aa;Ja=Ba;Ka=Ca;hd=gd;td=sd+4|0;c=39;continue}else if((c|0)==39){b=k[td>>2]|0;od=Da&255;nd=Ea&255;c=k[124356+(nd<<2)>>2]|0;md=Fa&255;ld=Ga&255;h=k[124356+(ld<<2)>>2]|0;a=Ha&255;pd=Ia&255;j=k[124356+(pd<<2)>>2]|0;o=Ja&255;g=Ka&255;n=k[124356+(g<<2)>>2]|0;o=(((ha(l[h+((k[vd+16>>2]&b)>>>md)>>0]|0,e&255)|0)>>>0)/255|0)>>>ld<>2]&b)>>>od)>>0]|0,d&255)|0)>>>0)/255|0)>>>nd<>2]&b)>>>a)>>0]|0,f&255)|0)>>>0)/255|0)>>>pd<>2]&b)>>>o)>>0]|0)>>>g<>2]=o;o=td+4|0;if((hd|0)>1){tb=Ga;ub=Fa;vb=Ea;wb=Da;Mc=Da;Nc=Ea;Oc=c;Pc=Fa;Qc=Ga;Rc=h;Sc=Ha;Tc=Ia;Uc=j;Vc=Ja;Wc=Ka;Xc=n;ed=hd+-1|0;qd=o;c=36;continue}else break}if(!p){ud=0;c=56;break}else c=o+(q-r<<2)|0}if((c|0)!=40)if((c|0)==56)return ud|0;break}default:{n=k[b+8>>2]|0;c=k[b+12>>2]|0;j=(k[a+16>>2]|0)/(h&255|0)|0;if(!c){d=0;return d|0}a=(k[a+20>>2]|0)+((ha(k[b+4>>2]|0,j)|0)<<2)|0;h=c;c=a+(k[b>>2]<<2)|0;d:while(1){h=h+-1|0;switch(n&3|0){case 0:{da=k[vd+28>>2]|0;ca=k[vd+32>>2]|0;o=da&255;p=ca&255;q=(da&65535)>>>8&255;r=(ca&65535)>>>8&255;s=da>>>16&255;t=ca>>>16&255;u=da>>>24&255;v=ca>>>24&255;aa=(m[vd+32>>1]|0)>>>8&255;ba=(m[vd+28>>1]|0)>>>8&255;ca=ca&255;da=da&255;ea=(n+3|0)/4|0;ja=c;c=49;break}case 3:{$=k[vd+28>>2]|0;_=k[vd+32>>2]|0;w=$&255;x=_&255;y=($&65535)>>>8&255;z=(_&65535)>>>8&255;A=$>>>16&255;B=_>>>16&255;C=$>>>24&255;D=_>>>24&255;Y=(m[vd+32>>1]|0)>>>8&255;Z=(m[vd+28>>1]|0)>>>8&255;_=_&255;$=$&255;fa=(n+3|0)/4|0;ka=c;c=50;break}case 2:{X=k[vd+28>>2]|0;W=k[vd+32>>2]|0;E=X&255;F=W&255;G=(X&65535)>>>8&255;H=(W&65535)>>>8&255;I=X>>>16&255;J=W>>>16&255;K=X>>>24&255;L=W>>>24&255;U=(m[vd+32>>1]|0)>>>8&255;V=(m[vd+28>>1]|0)>>>8&255;W=W&255;X=X&255;ga=(n+3|0)/4|0;la=c;c=51;break}case 1:{S=k[vd+28>>2]|0;T=k[vd+32>>2]|0;M=S&255;N=T&255;O=(S&65535)>>>8&255;P=(T&65535)>>>8&255;Q=S>>>16&255;R=T>>>16&255;S=S>>>24&255;T=T>>>24&255;ia=(n+3|0)/4|0;ma=c;c=52;break}default:{c=53;break d}}while(1)if((c|0)==49){k[ja>>2]=(e&255)>>>(q&255)<<(r&255)|(d&255)>>>(o&255)<<(p&255)|(f&255)>>>(s&255)<<(t&255)|(g&255)>>>(u&255)<<(v&255);w=da;x=ca;y=ba;z=aa;A=s;B=t;C=u;D=v;Y=aa;Z=ba;_=ca;$=da;fa=ea;ka=ja+4|0;c=50;continue}else if((c|0)==50){k[ka>>2]=(e&255)>>>(y&255)<<(z&255)|(d&255)>>>(w&255)<<(x&255)|(f&255)>>>(A&255)<<(B&255)|(g&255)>>>(C&255)<<(D&255);E=$;F=_;G=Z;H=Y;I=A;J=B;K=C;L=D;U=Y;V=Z;W=_;X=$;ga=fa;la=ka+4|0;c=51;continue}else if((c|0)==51){k[la>>2]=(e&255)>>>(G&255)<<(H&255)|(d&255)>>>(E&255)<<(F&255)|(f&255)>>>(I&255)<<(J&255)|(g&255)>>>(K&255)<<(L&255);M=X;N=W;O=V;P=U;Q=I;R=J;S=K;T=L;ia=ga;ma=la+4|0;c=52;continue}else if((c|0)==52){k[ma>>2]=(e&255)>>>(O&255)<<(P&255)|(d&255)>>>(M&255)<<(N&255)|(f&255)>>>(Q&255)<<(R&255)|(g&255)>>>(S&255)<<(T&255);c=ma+4|0;if((ia|0)>1){o=M;p=N;q=O;r=P;s=Q;t=R;u=S;v=T;aa=P;ba=O;ca=N;da=M;ea=ia+-1|0;ja=c;c=49;continue}else break}if(!h){ud=0;c=56;break}else c=c+(j-n<<2)|0}if((c|0)!=53)if((c|0)==56)return ud|0}}return 0}function _db(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0;switch(c|0){case 1:{n=k[b+8>>2]|0;c=k[b+12>>2]|0;i=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;if(!c)return 0;h=c;c=(k[a+20>>2]|0)+((ha(k[b+4>>2]|0,i)|0)<<1)+(k[b>>2]<<1)|0;a:while(1){h=h+-1|0;switch(n&3|0){case 0:{u=594694;A=(n+3|0)/4|0;M=c;c=5;break}case 3:{z=594694;B=(n+3|0)/4|0;N=c;c=6;break}case 2:{o=594694;C=(n+3|0)/4|0;O=c;c=7;break}case 1:{p=594694;D=(n+3|0)/4|0;P=c;c=8;break}default:{c=9;break a}}while(1)if((c|0)==5){z=m[M>>1]|0;z=(((((ha(l[u+(z>>>5&31)>>0]|0,g&255^255)|0)>>>0)/255|0)+(e&255)|0)>>>3<<5|((((ha(l[u+(z>>>10&31)>>0]|0,g&255^255)|0)>>>0)/255|0)+(d&255)|0)>>>3<<10|((((ha(l[u+(z&31)>>0]|0,g&255^255)|0)>>>0)/255|0)+(f&255)|0)>>>3)&65535;j[M>>1]=z;z=u;B=A;N=M+2|0;c=6;continue}else if((c|0)==6){o=m[N>>1]|0;o=(((((ha(l[z+(o>>>5&31)>>0]|0,g&255^255)|0)>>>0)/255|0)+(e&255)|0)>>>3<<5|((((ha(l[z+(o>>>10&31)>>0]|0,g&255^255)|0)>>>0)/255|0)+(d&255)|0)>>>3<<10|((((ha(l[z+(o&31)>>0]|0,g&255^255)|0)>>>0)/255|0)+(f&255)|0)>>>3)&65535;j[N>>1]=o;o=z;C=B;O=N+2|0;c=7;continue}else if((c|0)==7){p=m[O>>1]|0;p=(((((ha(l[o+(p>>>5&31)>>0]|0,g&255^255)|0)>>>0)/255|0)+(e&255)|0)>>>3<<5|((((ha(l[o+(p>>>10&31)>>0]|0,g&255^255)|0)>>>0)/255|0)+(d&255)|0)>>>3<<10|((((ha(l[o+(p&31)>>0]|0,g&255^255)|0)>>>0)/255|0)+(f&255)|0)>>>3)&65535;j[O>>1]=p;p=o;D=C;P=O+2|0;c=8;continue}else if((c|0)==8){c=m[P>>1]|0;c=(((((ha(l[p+(c>>>5&31)>>0]|0,g&255^255)|0)>>>0)/255|0)+(e&255)|0)>>>3<<5|((((ha(l[p+(c>>>10&31)>>0]|0,g&255^255)|0)>>>0)/255|0)+(d&255)|0)>>>3<<10|((((ha(l[p+(c&31)>>0]|0,g&255^255)|0)>>>0)/255|0)+(f&255)|0)>>>3)&65535;j[P>>1]=c;c=P+2|0;if((D|0)>1){u=p;A=D+-1|0;M=c;c=5;continue}else break}if(!h){c=46;break}else c=c+(i-n<<1)|0}if((c|0)!=9)if((c|0)==46)return 0;break}case 2:{i=k[b+8>>2]|0;c=k[b+12>>2]|0;n=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;if(!c)return 0;a=(k[a+20>>2]|0)+((ha(k[b+4>>2]|0,n)|0)<<1)|0;h=c;c=a+(k[b>>2]<<1)|0;b:while(1){h=h+-1|0;switch(i&3|0){case 0:{q=594694;E=(i+3|0)/4|0;Q=c;c=14;break}case 3:{r=594694;F=(i+3|0)/4|0;R=c;c=15;break}case 2:{s=594694;G=(i+3|0)/4|0;S=c;c=16;break}case 1:{t=594694;H=(i+3|0)/4|0;T=c;c=17;break}default:{c=18;break b}}while(1)if((c|0)==14){r=m[Q>>1]|0;F=(l[q+(r>>>10&31)>>0]|0)+(d&255)|0;R=(l[q+(r>>>5&31)>>0]|0)+(e&255)|0;r=(l[q+(r&31)>>0]|0)+(f&255)|0;j[Q>>1]=(R>>>0>255?255:R)>>>3<<5|(F>>>0>255?255:F)>>>3<<10|(r>>>0>255?255:r)>>>3;r=q;F=E;R=Q+2|0;c=15;continue}else if((c|0)==15){s=m[R>>1]|0;G=(l[r+(s>>>10&31)>>0]|0)+(d&255)|0;S=(l[r+(s>>>5&31)>>0]|0)+(e&255)|0;s=(l[r+(s&31)>>0]|0)+(f&255)|0;j[R>>1]=(S>>>0>255?255:S)>>>3<<5|(G>>>0>255?255:G)>>>3<<10|(s>>>0>255?255:s)>>>3;s=r;G=F;S=R+2|0;c=16;continue}else if((c|0)==16){t=m[S>>1]|0;H=(l[s+(t>>>10&31)>>0]|0)+(d&255)|0;T=(l[s+(t>>>5&31)>>0]|0)+(e&255)|0;t=(l[s+(t&31)>>0]|0)+(f&255)|0;j[S>>1]=(T>>>0>255?255:T)>>>3<<5|(H>>>0>255?255:H)>>>3<<10|(t>>>0>255?255:t)>>>3;t=s;H=G;T=S+2|0;c=17;continue}else if((c|0)==17){c=m[T>>1]|0;b=(l[t+(c>>>10&31)>>0]|0)+(d&255)|0;a=(l[t+(c>>>5&31)>>0]|0)+(e&255)|0;c=(l[t+(c&31)>>0]|0)+(f&255)|0;j[T>>1]=(a>>>0>255?255:a)>>>3<<5|(b>>>0>255?255:b)>>>3<<10|(c>>>0>255?255:c)>>>3;c=T+2|0;if((H|0)>1){q=t;E=H+-1|0;Q=c;c=14;continue}else break}if(!h){c=46;break}else c=c+(n-i<<1)|0}if((c|0)!=18)if((c|0)==46)return 0;break}case 4:{i=k[b+8>>2]|0;c=k[b+12>>2]|0;n=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;if(!c)return 0;a=(k[a+20>>2]|0)+((ha(k[b+4>>2]|0,n)|0)<<1)|0;h=c;c=a+(k[b>>2]<<1)|0;c:while(1){h=h+-1|0;switch(i&3|0){case 0:{v=594694;I=(i+3|0)/4|0;U=c;c=23;break}case 3:{w=594694;J=(i+3|0)/4|0;V=c;c=24;break}case 2:{x=594694;K=(i+3|0)/4|0;W=c;c=25;break}case 1:{y=594694;L=(i+3|0)/4|0;X=c;c=26;break}default:{c=27;break c}}while(1)if((c|0)==23){w=m[U>>1]|0;w=((((ha(l[v+(w>>>5&31)>>0]|0,e&255)|0)>>>0)/255|0)>>>3<<5|(((ha(l[v+(w>>>10&31)>>0]|0,d&255)|0)>>>0)/255|0)>>>3<<10|(((ha(l[v+(w&31)>>0]|0,f&255)|0)>>>0)/255|0)>>>3)&65535;j[U>>1]=w;w=v;J=I;V=U+2|0;c=24;continue}else if((c|0)==24){x=m[V>>1]|0;x=((((ha(l[w+(x>>>5&31)>>0]|0,e&255)|0)>>>0)/255|0)>>>3<<5|(((ha(l[w+(x>>>10&31)>>0]|0,d&255)|0)>>>0)/255|0)>>>3<<10|(((ha(l[w+(x&31)>>0]|0,f&255)|0)>>>0)/255|0)>>>3)&65535;j[V>>1]=x;x=w;K=J;W=V+2|0;c=25;continue}else if((c|0)==25){y=m[W>>1]|0;y=((((ha(l[x+(y>>>5&31)>>0]|0,e&255)|0)>>>0)/255|0)>>>3<<5|(((ha(l[x+(y>>>10&31)>>0]|0,d&255)|0)>>>0)/255|0)>>>3<<10|(((ha(l[x+(y&31)>>0]|0,f&255)|0)>>>0)/255|0)>>>3)&65535;j[W>>1]=y;y=x;L=K;X=W+2|0;c=26;continue}else if((c|0)==26){c=m[X>>1]|0;c=((((ha(l[y+(c>>>5&31)>>0]|0,e&255)|0)>>>0)/255|0)>>>3<<5|(((ha(l[y+(c>>>10&31)>>0]|0,d&255)|0)>>>0)/255|0)>>>3<<10|(((ha(l[y+(c&31)>>0]|0,f&255)|0)>>>0)/255|0)>>>3)&65535;j[X>>1]=c;c=X+2|0;if((L|0)>1){v=y;I=L+-1|0;U=c;c=23;continue}else break}if(!h){c=46;break}else c=c+(n-i<<1)|0}if((c|0)!=27)if((c|0)==46)return 0;break}default:{o=k[b+8>>2]|0;h=k[b+12>>2]|0;p=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;c=(k[a+20>>2]|0)+((ha(k[b+4>>2]|0,p)|0)<<1)|0;c=c+(k[b>>2]<<1)|0;if(!h)return 0;switch(o&3|0){case 0:{i=h+-1|0;while(1){h=(o+3|0)/4|0;while(1){j[c>>1]=(e&255)>>>3<<5|(d&255)>>>3<<10|(f&255)>>>3;j[c+2>>1]=(e&255)>>>3<<5|(d&255)>>>3<<10|(f&255)>>>3;j[c+4>>1]=(e&255)>>>3<<5|(d&255)>>>3<<10|(f&255)>>>3;j[c+6>>1]=(e&255)>>>3<<5|(d&255)>>>3<<10|(f&255)>>>3;c=c+8|0;if((h|0)>1)h=h+-1|0;else break}if(!i)break;else{i=i+-1|0;c=c+(p-o<<1)|0}}return 0}case 3:{n=h+-1|0;h=c;while(1){j[h>>1]=(e&255)>>>3<<5|(d&255)>>>3<<10|(f&255)>>>3;j[h+2>>1]=(e&255)>>>3<<5|(d&255)>>>3<<10|(f&255)>>>3;j[h+4>>1]=(e&255)>>>3<<5|(d&255)>>>3<<10|(f&255)>>>3;c=h+6|0;if((o+3|0)>7){i=(o+3|0)/4|0;while(1){i=i+-1|0;j[c>>1]=(e&255)>>>3<<5|(d&255)>>>3<<10|(f&255)>>>3;c=h;h=h+8|0;j[h>>1]=(e&255)>>>3<<5|(d&255)>>>3<<10|(f&255)>>>3;j[c+10>>1]=(e&255)>>>3<<5|(d&255)>>>3<<10|(f&255)>>>3;j[c+12>>1]=(e&255)>>>3<<5|(d&255)>>>3<<10|(f&255)>>>3;if((i|0)<=1){c=c+14|0;break}else c=c+14|0}}if(!n)break;else{n=n+-1|0;h=c+(p-o<<1)|0}}return 0}case 2:{n=h+-1|0;h=c;while(1){j[h>>1]=(e&255)>>>3<<5|(d&255)>>>3<<10|(f&255)>>>3;j[h+2>>1]=(e&255)>>>3<<5|(d&255)>>>3<<10|(f&255)>>>3;c=h+4|0;if((o+3|0)>7){i=(o+3|0)/4|0;while(1){i=i+-1|0;j[c>>1]=(e&255)>>>3<<5|(d&255)>>>3<<10|(f&255)>>>3;j[h+6>>1]=(e&255)>>>3<<5|(d&255)>>>3<<10|(f&255)>>>3;c=h;h=h+8|0;j[h>>1]=(e&255)>>>3<<5|(d&255)>>>3<<10|(f&255)>>>3;j[c+10>>1]=(e&255)>>>3<<5|(d&255)>>>3<<10|(f&255)>>>3;if((i|0)<=1){c=c+12|0;break}else c=c+12|0}}if(!n)break;else{n=n+-1|0;h=c+(p-o<<1)|0}}return 0}default:{n=h+-1|0;h=c;while(1){j[h>>1]=(e&255)>>>3<<5|(d&255)>>>3<<10|(f&255)>>>3;c=h+2|0;if((o+3|0)>7){i=(o+3|0)/4|0;while(1){i=i+-1|0;j[c>>1]=(e&255)>>>3<<5|(d&255)>>>3<<10|(f&255)>>>3;j[h+4>>1]=(e&255)>>>3<<5|(d&255)>>>3<<10|(f&255)>>>3;j[h+6>>1]=(e&255)>>>3<<5|(d&255)>>>3<<10|(f&255)>>>3;c=h;h=h+8|0;j[h>>1]=(e&255)>>>3<<5|(d&255)>>>3<<10|(f&255)>>>3;if((i|0)<=1){c=c+10|0;break}else c=c+10|0}}if(!n)break;else{n=n+-1|0;h=c+(p-o<<1)|0}}return 0}}}}return 0}function $db(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ia=0;switch(c|0){case 1:{n=k[b+8>>2]|0;c=k[b+12>>2]|0;i=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;if(!c)return 0;h=c;c=(k[a+20>>2]|0)+((ha(k[b+4>>2]|0,i)|0)<<1)+(k[b>>2]<<1)|0;a:while(1){h=h+-1|0;switch(n&3|0){case 0:{A=594694;F=594630;M=(n+3|0)/4|0;Y=c;c=5;break}case 3:{K=594694;L=594630;N=(n+3|0)/4|0;Z=c;c=6;break}case 2:{o=594694;p=594630;O=(n+3|0)/4|0;_=c;c=7;break}case 1:{q=594694;r=594630;P=(n+3|0)/4|0;$=c;c=8;break}default:{c=9;break a}}while(1)if((c|0)==5){K=m[Y>>1]|0;K=(((((ha(l[F+(K>>>5&63)>>0]|0,g&255^255)|0)>>>0)/255|0)+(e&255)|0)>>>2<<5|((((ha(l[A+(K>>>11)>>0]|0,g&255^255)|0)>>>0)/255|0)+(d&255)|0)>>>3<<11|((((ha(l[A+(K&31)>>0]|0,g&255^255)|0)>>>0)/255|0)+(f&255)|0)>>>3)&65535;j[Y>>1]=K;K=A;L=F;N=M;Z=Y+2|0;c=6;continue}else if((c|0)==6){o=m[Z>>1]|0;o=(((((ha(l[L+(o>>>5&63)>>0]|0,g&255^255)|0)>>>0)/255|0)+(e&255)|0)>>>2<<5|((((ha(l[K+(o>>>11)>>0]|0,g&255^255)|0)>>>0)/255|0)+(d&255)|0)>>>3<<11|((((ha(l[K+(o&31)>>0]|0,g&255^255)|0)>>>0)/255|0)+(f&255)|0)>>>3)&65535;j[Z>>1]=o;o=K;p=L;O=N;_=Z+2|0;c=7;continue}else if((c|0)==7){q=m[_>>1]|0;q=(((((ha(l[p+(q>>>5&63)>>0]|0,g&255^255)|0)>>>0)/255|0)+(e&255)|0)>>>2<<5|((((ha(l[o+(q>>>11)>>0]|0,g&255^255)|0)>>>0)/255|0)+(d&255)|0)>>>3<<11|((((ha(l[o+(q&31)>>0]|0,g&255^255)|0)>>>0)/255|0)+(f&255)|0)>>>3)&65535;j[_>>1]=q;q=o;r=p;P=O;$=_+2|0;c=8;continue}else if((c|0)==8){c=m[$>>1]|0;c=(((((ha(l[r+(c>>>5&63)>>0]|0,g&255^255)|0)>>>0)/255|0)+(e&255)|0)>>>2<<5|((((ha(l[q+(c>>>11)>>0]|0,g&255^255)|0)>>>0)/255|0)+(d&255)|0)>>>3<<11|((((ha(l[q+(c&31)>>0]|0,g&255^255)|0)>>>0)/255|0)+(f&255)|0)>>>3)&65535;j[$>>1]=c;c=$+2|0;if((P|0)>1){A=q;F=r;M=P+-1|0;Y=c;c=5;continue}else break}if(!h){c=46;break}else c=c+(i-n<<1)|0}if((c|0)!=9)if((c|0)==46)return 0;break}case 2:{i=k[b+8>>2]|0;c=k[b+12>>2]|0;n=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;if(!c)return 0;a=(k[a+20>>2]|0)+((ha(k[b+4>>2]|0,n)|0)<<1)|0;h=c;c=a+(k[b>>2]<<1)|0;b:while(1){h=h+-1|0;switch(i&3|0){case 0:{s=594694;t=594630;Q=(i+3|0)/4|0;aa=c;c=14;break}case 3:{u=594694;v=594630;R=(i+3|0)/4|0;ba=c;c=15;break}case 2:{w=594694;x=594630;S=(i+3|0)/4|0;ca=c;c=16;break}case 1:{y=594694;z=594630;T=(i+3|0)/4|0;da=c;c=17;break}default:{c=18;break b}}while(1)if((c|0)==14){u=m[aa>>1]|0;v=(l[s+(u>>>11)>>0]|0)+(d&255)|0;R=(l[t+(u>>>5&63)>>0]|0)+(e&255)|0;u=(l[s+(u&31)>>0]|0)+(f&255)|0;j[aa>>1]=(R>>>0>255?255:R)>>>2<<5|(v>>>0>255?255:v)>>>3<<11|(u>>>0>255?255:u)>>>3;u=s;v=t;R=Q;ba=aa+2|0;c=15;continue}else if((c|0)==15){w=m[ba>>1]|0;x=(l[u+(w>>>11)>>0]|0)+(d&255)|0;S=(l[v+(w>>>5&63)>>0]|0)+(e&255)|0;w=(l[u+(w&31)>>0]|0)+(f&255)|0;j[ba>>1]=(S>>>0>255?255:S)>>>2<<5|(x>>>0>255?255:x)>>>3<<11|(w>>>0>255?255:w)>>>3;w=u;x=v;S=R;ca=ba+2|0;c=16;continue}else if((c|0)==16){y=m[ca>>1]|0;z=(l[w+(y>>>11)>>0]|0)+(d&255)|0;T=(l[x+(y>>>5&63)>>0]|0)+(e&255)|0;y=(l[w+(y&31)>>0]|0)+(f&255)|0;j[ca>>1]=(T>>>0>255?255:T)>>>2<<5|(z>>>0>255?255:z)>>>3<<11|(y>>>0>255?255:y)>>>3;y=w;z=x;T=S;da=ca+2|0;c=17;continue}else if((c|0)==17){c=m[da>>1]|0;b=(l[y+(c>>>11)>>0]|0)+(d&255)|0;a=(l[z+(c>>>5&63)>>0]|0)+(e&255)|0;c=(l[y+(c&31)>>0]|0)+(f&255)|0;j[da>>1]=(a>>>0>255?255:a)>>>2<<5|(b>>>0>255?255:b)>>>3<<11|(c>>>0>255?255:c)>>>3;c=da+2|0;if((T|0)>1){s=y;t=z;Q=T+-1|0;aa=c;c=14;continue}else break}if(!h){c=46;break}else c=c+(n-i<<1)|0}if((c|0)!=18)if((c|0)==46)return 0;break}case 4:{i=k[b+8>>2]|0;c=k[b+12>>2]|0;n=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;if(!c)return 0;a=(k[a+20>>2]|0)+((ha(k[b+4>>2]|0,n)|0)<<1)|0;h=c;c=a+(k[b>>2]<<1)|0;c:while(1){h=h+-1|0;switch(i&3|0){case 0:{B=594694;C=594630;U=(i+3|0)/4|0;ea=c;c=23;break}case 3:{D=594694;E=594630;V=(i+3|0)/4|0;fa=c;c=24;break}case 2:{G=594694;H=594630;W=(i+3|0)/4|0;ga=c;c=25;break}case 1:{I=594694;J=594630;X=(i+3|0)/4|0;ia=c;c=26;break}default:{c=27;break c}}while(1)if((c|0)==23){D=m[ea>>1]|0;D=((((ha(l[C+(D>>>5&63)>>0]|0,e&255)|0)>>>0)/255|0)>>>2<<5|(((ha(l[B+(D>>>11)>>0]|0,d&255)|0)>>>0)/255|0)>>>3<<11|(((ha(l[B+(D&31)>>0]|0,f&255)|0)>>>0)/255|0)>>>3)&65535;j[ea>>1]=D;D=B;E=C;V=U;fa=ea+2|0;c=24;continue}else if((c|0)==24){G=m[fa>>1]|0;G=((((ha(l[E+(G>>>5&63)>>0]|0,e&255)|0)>>>0)/255|0)>>>2<<5|(((ha(l[D+(G>>>11)>>0]|0,d&255)|0)>>>0)/255|0)>>>3<<11|(((ha(l[D+(G&31)>>0]|0,f&255)|0)>>>0)/255|0)>>>3)&65535;j[fa>>1]=G;G=D;H=E;W=V;ga=fa+2|0;c=25;continue}else if((c|0)==25){I=m[ga>>1]|0;I=((((ha(l[H+(I>>>5&63)>>0]|0,e&255)|0)>>>0)/255|0)>>>2<<5|(((ha(l[G+(I>>>11)>>0]|0,d&255)|0)>>>0)/255|0)>>>3<<11|(((ha(l[G+(I&31)>>0]|0,f&255)|0)>>>0)/255|0)>>>3)&65535;j[ga>>1]=I;I=G;J=H;X=W;ia=ga+2|0;c=26;continue}else if((c|0)==26){c=m[ia>>1]|0;c=((((ha(l[J+(c>>>5&63)>>0]|0,e&255)|0)>>>0)/255|0)>>>2<<5|(((ha(l[I+(c>>>11)>>0]|0,d&255)|0)>>>0)/255|0)>>>3<<11|(((ha(l[I+(c&31)>>0]|0,f&255)|0)>>>0)/255|0)>>>3)&65535;j[ia>>1]=c;c=ia+2|0;if((X|0)>1){B=I;C=J;U=X+-1|0;ea=c;c=23;continue}else break}if(!h){c=46;break}else c=c+(n-i<<1)|0}if((c|0)!=27)if((c|0)==46)return 0;break}default:{o=k[b+8>>2]|0;h=k[b+12>>2]|0;p=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;c=(k[a+20>>2]|0)+((ha(k[b+4>>2]|0,p)|0)<<1)|0;c=c+(k[b>>2]<<1)|0;if(!h)return 0;switch(o&3|0){case 0:{i=h+-1|0;while(1){h=(o+3|0)/4|0;while(1){j[c>>1]=(e&255)>>>2<<5|(d&255)>>>3<<11|(f&255)>>>3;j[c+2>>1]=(e&255)>>>2<<5|(d&255)>>>3<<11|(f&255)>>>3;j[c+4>>1]=(e&255)>>>2<<5|(d&255)>>>3<<11|(f&255)>>>3;j[c+6>>1]=(e&255)>>>2<<5|(d&255)>>>3<<11|(f&255)>>>3;c=c+8|0;if((h|0)>1)h=h+-1|0;else break}if(!i)break;else{i=i+-1|0;c=c+(p-o<<1)|0}}return 0}case 3:{n=h+-1|0;h=c;while(1){j[h>>1]=(e&255)>>>2<<5|(d&255)>>>3<<11|(f&255)>>>3;j[h+2>>1]=(e&255)>>>2<<5|(d&255)>>>3<<11|(f&255)>>>3;j[h+4>>1]=(e&255)>>>2<<5|(d&255)>>>3<<11|(f&255)>>>3;c=h+6|0;if((o+3|0)>7){i=(o+3|0)/4|0;while(1){i=i+-1|0;j[c>>1]=(e&255)>>>2<<5|(d&255)>>>3<<11|(f&255)>>>3;c=h;h=h+8|0;j[h>>1]=(e&255)>>>2<<5|(d&255)>>>3<<11|(f&255)>>>3;j[c+10>>1]=(e&255)>>>2<<5|(d&255)>>>3<<11|(f&255)>>>3;j[c+12>>1]=(e&255)>>>2<<5|(d&255)>>>3<<11|(f&255)>>>3;if((i|0)<=1){c=c+14|0;break}else c=c+14|0}}if(!n)break;else{n=n+-1|0;h=c+(p-o<<1)|0}}return 0}case 2:{n=h+-1|0;h=c;while(1){j[h>>1]=(e&255)>>>2<<5|(d&255)>>>3<<11|(f&255)>>>3;j[h+2>>1]=(e&255)>>>2<<5|(d&255)>>>3<<11|(f&255)>>>3;c=h+4|0;if((o+3|0)>7){i=(o+3|0)/4|0;while(1){i=i+-1|0;j[c>>1]=(e&255)>>>2<<5|(d&255)>>>3<<11|(f&255)>>>3;j[h+6>>1]=(e&255)>>>2<<5|(d&255)>>>3<<11|(f&255)>>>3;c=h;h=h+8|0;j[h>>1]=(e&255)>>>2<<5|(d&255)>>>3<<11|(f&255)>>>3;j[c+10>>1]=(e&255)>>>2<<5|(d&255)>>>3<<11|(f&255)>>>3;if((i|0)<=1){c=c+12|0;break}else c=c+12|0}}if(!n)break;else{n=n+-1|0;h=c+(p-o<<1)|0}}return 0}default:{n=h+-1|0;h=c;while(1){j[h>>1]=(e&255)>>>2<<5|(d&255)>>>3<<11|(f&255)>>>3;c=h+2|0;if((o+3|0)>7){i=(o+3|0)/4|0;while(1){i=i+-1|0;j[c>>1]=(e&255)>>>2<<5|(d&255)>>>3<<11|(f&255)>>>3;j[h+4>>1]=(e&255)>>>2<<5|(d&255)>>>3<<11|(f&255)>>>3;j[h+6>>1]=(e&255)>>>2<<5|(d&255)>>>3<<11|(f&255)>>>3;c=h;h=h+8|0;j[h>>1]=(e&255)>>>2<<5|(d&255)>>>3<<11|(f&255)>>>3;if((i|0)<=1){c=c+10|0;break}else c=c+10|0}}if(!n)break;else{n=n+-1|0;h=c+(p-o<<1)|0}}return 0}}}}return 0}function aeb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;h=r;r=r+16|0;f=k[a+316>>2]|0;e=k[f>>2]|0;if(!e){e=k[f+4>>2]|0;k[f>>2]=e;if(!e){e=Scb(k[a+188>>2]|0)|0;do if(e|0){k[f+4>>2]=e;k[f>>2]=e;e=k[k[a+316>>2]>>2]|0;if(e|0){cdb(e,a+212|0)|0;e=k[k[a+316>>2]>>2]|0;if(e|0)if(!(k[a+276>>2]|0)){cdb(e,0)|0;break}else{cdb(e,a+244|0)|0;break}}}while(0);e=k[f>>2]|0}if(!e){c=-1;r=h;return c|0}else{g=k[b+68>>2]|0;b=e}}else{g=k[b+68>>2]|0;b=e}f=k[a+212>>2]|0;e=k[a+216>>2]|0;if(!(f|e)){k[h>>2]=~~+o[d>>2];k[h+4>>2]=~~+o[d+4>>2]}else{k[h>>2]=~~(+(f|0)+ +o[d>>2]);k[h+4>>2]=~~(+(e|0)+ +o[d+4>>2])}a=~~+o[d+8>>2];k[h+8>>2]=a;e=~~+o[d+12>>2];k[h+12>>2]=e;if((k[c+8>>2]|0)==(a|0))if((k[c+12>>2]|0)==(e|0)){c=beb(g,c,b,h)|0;r=h;return c|0}hdb(b,0)|0;c=ceb(g,c,b,h)|0;r=h;return c|0}function beb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0;n=r;r=r+48|0;if(!((a|0)!=0&(c|0)!=0)){a=y6a(601300,n)|0;r=n;return a|0}if(!(k[a+28>>2]|0))if(!(k[c+28>>2]|0)){if(!d){k[n+32+4>>2]=0;k[n+32>>2]=0;k[n+32+8>>2]=k[c+8>>2];k[n+32+12>>2]=k[c+12>>2];d=n+32|0}if(!b){m=k[a+12>>2]|0;j=0;g=0;e=k[a+8>>2]|0}else{e=k[b>>2]|0;f=k[b+8>>2]|0;if((e|0)<0){k[d>>2]=(k[d>>2]|0)-e;i=0;f=f+e|0}else i=e;h=(k[a+8>>2]|0)-i|0;g=k[b+4>>2]|0;e=k[b+12>>2]|0;if((g|0)<0){m=d+4|0;k[m>>2]=(k[m>>2]|0)-g;e=e+g|0;g=0}m=(k[a+12>>2]|0)-g|0;m=(m|0)<(e|0)?m:e;j=i;e=(h|0)<(f|0)?h:f}f=k[c+36>>2]|0;b=k[d>>2]|0;if((f-b|0)>0){k[d>>2]=f;h=f;i=k[c+36>>2]|0;j=f-b+j|0;e=e-(f-b)|0}else{h=b;i=f}l=h+e-i-(k[c+44>>2]|0)|0;l=e-((l|0)>0?l:0)|0;f=k[c+40>>2]|0;e=d+4|0;b=k[e>>2]|0;if((f-b|0)>0){k[e>>2]=f;h=f;i=k[c+40>>2]|0;e=m-(f-b)|0;b=f-b+g|0}else{h=b;i=f;e=m;b=g}f=h+e-i-(k[c+48>>2]|0)|0;e=e-((f|0)>0?f:0)|0;f=k[a+52>>2]|0;g=k[f+68>>2]|0;if(g&512|0){k[f+68>>2]=g&-513;h8a(f)}if(!((l|0)>0&(e|0)>0)){k[d+12>>2]=0;k[d+8>>2]=0;a=0;r=n;return a|0}k[n+16>>2]=j;k[n+16+4>>2]=b;k[d+8>>2]=l;k[n+16+8>>2]=l;k[d+12>>2]=e;k[n+16+12>>2]=e;f=k[a+52>>2]|0;do if((k[f>>2]|0)==(c|0)){e=k[(k[c+4>>2]|0)+4>>2]|0;if(e|0)if((k[f+80>>2]|0)!=(k[e+8>>2]|0)){f=27;break}e=k[(k[a+4>>2]|0)+4>>2]|0;if(!e){e=f;f=29}else if((k[f+84>>2]|0)==(k[e+8>>2]|0)){e=f;f=29}else f=27}else f=27;while(0);if((f|0)==27)if((d9a(a,c)|0)<0)d=-1;else{e=k[a+52>>2]|0;f=29}if((f|0)==29)d=nj[k[e+8>>2]&127](a,n+16|0,c,d)|0;a=d;r=n;return a|0}a=y6a(601337,n+8|0)|0;r=n;return a|0}function ceb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0.0,h=0,i=0.0,j=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,s=0.0,t=0.0,u=0.0,v=0,w=0.0,x=0.0,y=0;y=r;r=r+48|0;if(!((a|0)!=0&(c|0)!=0)){a=y6a(601377,y)|0;r=y;return a|0}if(!(k[a+28>>2]|0))if(!(k[c+28>>2]|0)){v=k[((b|0)==0?a+12|0:b+12|0)>>2]|0;h=k[((b|0)==0?a+8|0:b+8|0)>>2]|0;f=k[((d|0)==0?c+12|0:d+12|0)>>2]|0;e=k[((d|0)==0?c+8|0:d+8|0)>>2]|0;if((f|0)==(v|0)&(e|0)==(h|0)){a=beb(a,b,c,d)|0;r=y;return a|0}w=+(e|0)/+(h|0);x=+(f|0)/+(v|0);if(!d){g=0.0;i=+(e+-1|0);n=0.0;p=+(f+-1|0)}else{i=+(k[d>>2]|0);p=+(k[d+4>>2]|0);g=i;i=+(e|0)+i+-1.0;n=p;p=+(f|0)+p+-1.0}if(!b){j=g;m=i;o=0.0;l=+(h+-1|0);i=0.0;g=+(v+-1|0)}else{f=k[b>>2]|0;b=k[b+4>>2]|0;j=(f|0)<0?g-w*+(f|0):g;o=+(((f|0)>0?f:0)|0);e=k[a+8>>2]|0;if(!(+(h|0)+ +(f|0)+-1.0>=+(e|0))){m=i;l=+(h|0)+ +(f|0)+-1.0}else{m=i-w*(+(h|0)+ +(f|0)+-1.0-+(e|0)+1.0);l=+(e+-1|0)}i=+(((b|0)>0?b:0)|0);g=(b|0)<0?n-x*+(b|0):n;e=k[a+12>>2]|0;if(!(+(v|0)+ +(b|0)+-1.0>=+(e|0))){n=g;g=+(v|0)+ +(b|0)+-1.0}else{n=g;p=p-x*(+(v|0)+ +(b|0)+-1.0-+(e|0)+1.0);g=+(e+-1|0)}}u=+(k[c+36>>2]|0);j=j-u;m=m-u;t=+(k[c+40>>2]|0);n=n-t;p=p-t;if(j<0.0){q=0.0;o=o-j/w}else q=j;e=k[c+44>>2]|0;if(!(m>=+(e|0)))s=m;else{s=+(e+-1|0);l=l-(m-+(e|0)+1.0)/w}if(n<0.0){j=0.0;i=i-n/x}else j=n;e=k[c+48>>2]|0;if(!(p>=+(e|0)))m=p;else{m=+(e+-1|0);g=g-(p-+(e|0)+1.0)/x}w=q+u;x=j+t;h=~~+deb(o+.5);k[y+32>>2]=h;h=~~+deb(i+.5);k[y+32+4>>2]=h;h=~~+deb(l-o+1.5);k[y+32+8>>2]=h;b=~~+deb(g-i+1.5);k[y+32+12>>2]=b;f=~~+deb(w+.5);k[y+16>>2]=f;f=~~+deb(x+.5);k[y+16+4>>2]=f;f=~~+deb(s+u-w+1.5);k[y+16+8>>2]=f;e=~~+deb(m+t-x+1.5);k[y+16+12>>2]=e;if((f|0)<0){k[y+16+8>>2]=0;f=0}if((e|0)<0){k[y+16+12>>2]=0;e=0}if(d|0){k[d>>2]=k[y+16>>2];k[d+4>>2]=k[y+16+4>>2];k[d+8>>2]=k[y+16+8>>2];k[d+12>>2]=k[y+16+12>>2]}if((f|0)==0|(e|0)==0|(h|0)<1|(b|0)<1){a=0;r=y;return a|0}a=eeb(a,y+32|0,c,y+16|0)|0;r=y;return a|0}a=y6a(601337,y+8|0)|0;r=y;return a|0}function deb(a){a=+a;return +(+V(+a))}function eeb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=k[a+52>>2]|0;f=k[e+68>>2]|0;if(!(f&512)){k[e+68>>2]=f|512;h8a(e);f=k[a+52>>2]|0;e=f;f=k[f+68>>2]|0}do if(!(f&371)){f=k[k[a+4>>2]>>2]|0;if((f|0)==(k[k[c+4>>2]>>2]|0)){if((f|0)==0|(f&-268435456|0)==268435456)if(((f>>>24&15)+-1|0)>>>0<3)break;g=feb(a,b,c,d)|0;return g|0}}while(0);do if((k[e>>2]|0)==(c|0)){f=k[(k[c+4>>2]|0)+4>>2]|0;if(f|0)if((k[e+80>>2]|0)!=(k[f+8>>2]|0)){g=13;break}f=k[(k[a+4>>2]|0)+4>>2]|0;if(f)if((k[e+84>>2]|0)!=(k[f+8>>2]|0))g=13}else g=13;while(0);do if((g|0)==13)if((d9a(a,c)|0)<0){g=-1;return g|0}else{e=k[a+52>>2]|0;break}while(0);g=nj[k[e+8>>2]&127](a,b,c,d)|0;return g|0}function feb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;D=r;r=r+80|0;B=k[c+4>>2]|0;C=l[B+9>>0]|0;if((k[k[a+4>>2]>>2]|0)!=(k[B>>2]|0)){a=y6a(601420,D)|0;r=D;return a|0}do if(!b){k[D+56>>2]=0;k[D+56+4>>2]=0;k[D+56+8>>2]=k[a+8>>2];k[D+56+12>>2]=k[a+12>>2];b=D+56|0}else{e=k[b>>2]|0;if((e|0)>=0){f=k[b+4>>2]|0;if((f|0)>=0)if(((k[b+8>>2]|0)+e|0)<=(k[a+8>>2]|0))if(((k[b+12>>2]|0)+f|0)<=(k[a+12>>2]|0))break}a=y6a(601457,D+8|0)|0;r=D;return a|0}while(0);do if(!d){k[D+40>>2]=0;k[D+40+4>>2]=0;k[D+40+8>>2]=k[c+8>>2];k[D+40+12>>2]=k[c+12>>2];d=D+40|0}else{e=k[d>>2]|0;if((e|0)>=0){f=k[d+4>>2]|0;if((f|0)>=0)if(((k[d+8>>2]|0)+e|0)<=(k[c+8>>2]|0))if(((k[d+12>>2]|0)+f|0)<=(k[c+12>>2]|0))break}a=y6a(601487,D+16|0)|0;r=D;return a|0}while(0);if(!(k[c>>2]&2))z=0;else if((T7a(c)|0)<0){a=y6a(601522,D+24|0)|0;r=D;return a|0}else z=1;if(!(k[a>>2]&2))B=0;else if((T7a(a)|0)<0){if(z|0)U7a(c);a=y6a(601557,D+32|0)|0;r=D;return a|0}else B=1;u=k[d+12>>2]|0;v=(k[b+12>>2]<<16|0)/(u|0)|0;w=k[d+4>>2]|0;a:do if((u|0)>0){x=b+8|0;y=d+8|0;A=w;e=65536;f=k[b+4>>2]|0;g=0;while(1){p=(k[c+20>>2]|0)+(ha(k[c+16>>2]|0,A)|0)|0;p=p+(ha(k[d>>2]|0,C)|0)|0;if((e|0)>65535){t=e+-65536|0;g=(k[a+20>>2]|0)+(ha(k[a+16>>2]|0,f+(t>>>16)|0)|0)|0;e=t-(t>>>16<<16)|0;f=f+1+(t>>>16)|0;g=g+(ha(k[b>>2]|0,C)|0)|0}switch(C|0){case 1:{h=k[y>>2]|0;s=(k[x>>2]<<16|0)/(h|0)|0;if((h|0)>0){q=g;m=0;n=65536;while(1){if((n|0)>65535){n=n+-65536|0;o=q+1+(n>>>16)|0;m=i[q+(n>>>16)>>0]|0;n=n-(n>>>16<<16)|0}else o=q;i[p>>0]=m;if((h|0)>1){p=p+1|0;q=o;h=h+-1|0;n=n+s|0}else break}}break}case 2:{h=k[y>>2]|0;s=(k[x>>2]<<16|0)/(h|0)|0;if((h|0)>0){q=g;m=0;n=65536;while(1){if((n|0)>65535){n=n+-65536|0;o=q+2+(n>>>16<<1)|0;m=j[q+(n>>>16<<1)>>1]|0;n=n-(n>>>16<<16)|0}else o=q;j[p>>1]=m;if((h|0)>1){p=p+2|0;q=o;h=h+-1|0;n=n+s|0}else break}}break}case 3:{h=k[y>>2]|0;t=(k[x>>2]<<16|0)/(h|0)|0;if((h|0)>0){m=g;n=0;o=0;q=0;s=65536;while(1){if((s|0)>65535){s=s+-65536|0;q=m+((s>>>16)*3|0)|0;m=m+3+((s>>>16)*3|0)|0;n=i[q>>0]|0;o=i[q+1>>0]|0;q=i[q+2>>0]|0;s=s-(s>>>16<<16)|0}i[p>>0]=n;i[p+1>>0]=o;i[p+2>>0]=q;if((h|0)>1){p=p+3|0;h=h+-1|0;s=s+t|0}else break}}break}case 4:{h=k[y>>2]|0;s=(k[x>>2]<<16|0)/(h|0)|0;if((h|0)>0){q=g;m=0;n=65536;while(1){if((n|0)>65535){n=n+-65536|0;o=q+4+(n>>>16<<2)|0;m=k[q+(n>>>16<<2)>>2]|0;n=n-(n>>>16<<16)|0}else o=q;k[p>>2]=m;if((h|0)>1){p=p+4|0;q=o;h=h+-1|0;n=n+s|0}else break}}break}default:{}}A=A+1|0;if((A|0)>=(w+u|0))break a;else e=e+v|0}}while(0);if(z|0)U7a(c);if(!B){a=0;r=D;return a|0}U7a(a);a=0;r=D;return a|0}function geb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;f=f|0;g=g|0;var h=0,j=0,m=0.0,n=0.0,q=0,s=0,t=0,u=0,v=0,w=0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0;w=r;r=r+64|0;j=k[a+316>>2]|0;h=k[j>>2]|0;if(!h){h=k[j+4>>2]|0;k[j>>2]=h;if(!h){h=Scb(k[a+188>>2]|0)|0;do if(h|0){k[j+4>>2]=h;k[j>>2]=h;h=k[k[a+316>>2]>>2]|0;if(h|0){cdb(h,a+212|0)|0;h=k[k[a+316>>2]>>2]|0;if(h|0)if(!(k[a+276>>2]|0)){cdb(h,0)|0;break}else{cdb(h,a+244|0)|0;break}}}while(0);u=k[j>>2]|0}else u=h}else u=h;v=k[b+68>>2]|0;if(!u){f=-1;r=w;return f|0}h=k[a+212>>2]|0;j=k[a+216>>2]|0;if(!(h|j)){n=+o[d>>2];m=+o[d+4>>2]}else{n=+(h|0)+ +o[d>>2];m=+(j|0)+ +o[d+4>>2]}t=~~m;s=~~n;q=~~+o[d+8>>2];d=~~+o[d+12>>2];k[w+32+8>>2]=q;k[w+32+12>>2]=d;k[w+32>>2]=0;k[w+32+4>>2]=0;if((k[c+8>>2]|0)==(q|0))if((k[c+12>>2]|0)==(d|0))if(!(k[c>>2]|0))if(!(k[c+4>>2]|0)){j=q;b=d;h=v;a=32}else a=18;else a=18;else a=18;else a=18;if((a|0)==18){h=k[v+4>>2]|0;h=Ucb(0,q,d,l[h+8>>0]|0,k[h+12>>2]|0,k[h+16>>2]|0,k[h+20>>2]|0,k[h+24>>2]|0)|0;do if(!h){b=0;j=0}else{if(!(heb(v,w+20|0)|0)){ieb(h,1,k[w+20>>2]|0)|0;b=1}else b=0;jeb(v,w+51|0)|0;keb(v,w+16|0)|0;leb(v,w+50|0,w+49|0,w+48|0)|0;if(!(k[w+16>>2]|0))j=(i[w+50>>0]&i[w+51>>0]&i[w+49>>0]&i[w+48>>0])<<24>>24!=-1;else j=1;if(!(j&1|b)){b=1;j=ceb(v,c,h,w+32|0)|0;break}b=meb(v,k[v+4>>2]|0,k[v>>2]|0)|0;if(!b){N7a(h);b=0;j=0;break}fdb(b,-1)|0;gdb(b,0)|0;ieb(b,0,0)|0;edb(b,-1,-1,-1)|0;hdb(b,0)|0;fdb(h,i[w+51>>0]|0)|0;gdb(h,k[w+16>>2]|0)|0;edb(h,i[w+50>>0]|0,i[w+49>>0]|0,i[w+48>>0]|0)|0;j=ceb(b,c,h,w+32|0)|0;if((b|0)==(v|0))b=1;else{N7a(b);b=1}}while(0);if(!b){f=-1;r=w;return f|0}if(!j){j=k[w+32+8>>2]|0;b=k[w+32+12>>2]|0;a=32}}if((a|0)==32){neb(j,b,-e,w+28|0,w+24|0,w+8|0,w);b=(k[w+28>>2]|0)/2|0;a=(k[w+24>>2]|0)/2|0;j=C7a(601625)|0;if(!j)j=0;else if((i[j>>0]|0)==48)j=0;else j=(J8a(j,601650)|0)!=0&1;j=peb(h,-e,b,a,j,g&1,g&2,k[w+28>>2]|0,k[w+24>>2]|0,+p[w+8>>3],+p[w>>3])|0;if(!j)j=0;else{g=~~+o[f>>2];f=~~+o[f+4>>2];x=-+p[w>>3];p[w>>3]=x;e=+p[w+8>>3];D=+(g+s|0)+(+(0-g|0)*e-+(0-f|0)*x);y=+(f+t|0)+(+(0-g|0)*x+ +(0-f|0)*e);B=+(q+s-(g+s)|0)*e;A=+(g+s|0)+(B-+(0-f|0)*x);m=+(q+s-(g+s)|0)*x;n=+(f+t|0)+(m+ +(0-f|0)*e);z=+(d+t-(f+t)|0)*x;C=+(g+s|0)+(+(0-g|0)*e-z);e=e*+(d+t-(f+t)|0);x=+(f+t|0)+(+(0-g|0)*x+e);A=D>2]=~~(A>2]=~~(n>2]=k[w+28>>2];k[w+32+12>>2]=k[w+24>>2];f=beb(j,0,u,w+32|0)|0;N7a(j);j=f}}if((h|0)==(v|0)){f=j;r=w;return f|0}N7a(h);f=j;r=w;return f|0}function heb(a,b){a=a|0;b=b|0;if(!a){b=-1;return b|0}a=k[a+52>>2]|0;if(!(k[a+68>>2]&256)){b=-1;return b|0}if(!b){b=0;return b|0}k[b>>2]=k[a+72>>2];b=0;return b|0}function ieb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=r;r=r+16|0;if(!a){k[g>>2]=601587;c=y6a(608563,g)|0;r=g;return c|0}d=k[(k[a+4>>2]|0)+4>>2]|0;if(d|0)if((k[d>>2]|0)>>>0<=c>>>0){k[g+8>>2]=601595;c=y6a(608563,g+8|0)|0;r=g;return c|0}if(b&2|0){d=k[a+52>>2]|0;f=k[d+68>>2]|0;k[d+68>>2]=f|4096;if((f|4096|0)!=(f|0))h8a(d)}e=k[a+52>>2]|0;f=k[e+68>>2]|0;if(!b){d=k[(k[a+4>>2]|0)+4>>2]|0;if(d|0){i[(k[d+4>>2]|0)+(k[e+72>>2]<<2)+3>>0]=-1;c=(k[d+8>>2]|0)+1|0;k[d+8>>2]=(c|0)==0?1:c}k[e+68>>2]=f&-257;d=f&-257}else{k[e+68>>2]=f|256;k[e+72>>2]=c;d=k[(k[a+4>>2]|0)+4>>2]|0;if(!d)d=f|256;else{i[(k[d+4>>2]|0)+(c<<2)+3>>0]=0;c=(k[d+8>>2]|0)+1|0;k[d+8>>2]=(c|0)==0?1:c;d=f|256}}if((d|0)==(f|0)){c=0;r=g;return c|0}h8a(e);c=0;r=g;return c|0}function jeb(a,b){a=a|0;b=b|0;if(!a){a=-1;return a|0}if(!b){a=0;return a|0}i[b>>0]=i[(k[a+52>>2]|0)+79>>0]|0;a=0;return a|0}function keb(a,b){a=a|0;b=b|0;a:do if(!a)b=-1;else if(!b)b=0;else switch(k[(k[a+52>>2]|0)+68>>2]&112|0){case 16:{k[b>>2]=1;b=0;break a}case 32:{k[b>>2]=2;b=0;break a}case 64:{k[b>>2]=4;b=0;break a}default:{k[b>>2]=0;b=0;break a}}while(0);return b|0}function leb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(!a){a=-1;return a|0}if(b|0)i[b>>0]=i[(k[a+52>>2]|0)+76>>0]|0;if(c|0)i[c>>0]=i[(k[a+52>>2]|0)+77>>0]|0;if(!d){a=0;return a|0}i[d>>0]=i[(k[a+52>>2]|0)+78>>0]|0;a=0;return a|0}function meb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0;w=r;r=r+80|0;d=k[b+4>>2]|0;if(d|0){f=k[d>>2]|0;a:do if((f|0)>0){e=k[d+4>>2]|0;d=0;do{if((i[e+(d<<2)>>0]|0)!=-1)break a;if((i[e+(d<<2)+1>>0]|0)!=-1)break a;if((i[e+(d<<2)+2>>0]|0)!=-1)break a;d=d+1|0}while((d|0)<(f|0))}else d=0;while(0);if((d|0)==(f|0)){y6a(601599,w)|0;c=0;r=w;return c|0}}v=Ucb(0,k[a+8>>2]|0,k[a+12>>2]|0,l[b+8>>0]|0,k[b+12>>2]|0,k[b+16>>2]|0,k[b+20>>2]|0,k[b+24>>2]|0)|0;if(!v){c=0;r=w;return c|0}d=k[b+4>>2]|0;if(d|0){e=k[(k[v+4>>2]|0)+4>>2]|0;if(e|0){y7a(k[e+4>>2]|0,k[d+4>>2]|0,k[d>>2]<<2)|0;k[k[(k[v+4>>2]|0)+4>>2]>>2]=k[k[b+4>>2]>>2]}}e=k[a+52>>2]|0;u=k[e+68>>2]|0;f=k[e+76>>2]|0;k[e+76>>2]=-1;k[e+68>>2]=0;h8a(e);k[w+32>>2]=0;k[w+32+4>>2]=0;k[w+32+8>>2]=k[a+8>>2];k[w+32+12>>2]=k[a+12>>2];e=k[a+52>>2]|0;do if((k[e>>2]|0)==(v|0)){d=k[(k[v+4>>2]|0)+4>>2]|0;if(d|0)if((k[e+80>>2]|0)!=(k[d+8>>2]|0)){t=19;break}d=k[(k[a+4>>2]|0)+4>>2]|0;if(!d){d=e;t=21}else if((k[e+84>>2]|0)==(k[d+8>>2]|0)){d=e;t=21}else t=19}else t=19;while(0);if((t|0)==19)if((d9a(a,v)|0)>=0){d=k[a+52>>2]|0;t=21}if((t|0)==21)nj[k[d+8>>2]&127](a,w+32|0,v,w+32|0)|0;s=k[v+52>>2]|0;i[s+76>>0]=f;i[s+77>>0]=(f&65535)>>>8;i[s+78>>0]=f>>>16;i[s+79>>0]=f>>>24;k[s+68>>2]=u&-28945;s=k[a+52>>2]|0;i[s+76>>0]=f;i[s+77>>0]=(f&65535)>>>8;i[s+78>>0]=f>>>16;i[s+79>>0]=f>>>24;k[s+68>>2]=u;h8a(s);do if(u&256|0){d=k[a+4>>2]|0;f=k[d+4>>2]|0;if(f){d=k[b+4>>2]|0;if(d|0){e=k[f>>2]|0;if((e|0)<=(k[d>>2]|0))if(!(U6a(k[f+4>>2]|0,k[d+4>>2]|0,e<<2)|0)){d=k[(k[a+52>>2]|0)+72>>2]|0;e=k[(k[v+4>>2]|0)+4>>2]|0;if(e|0)if((k[e>>2]|0)>>>0<=d>>>0){k[w+8>>2]=601595;y6a(608563,w+8|0)|0;break}f=k[v+52>>2]|0;g=k[f+68>>2]|0;k[f+68>>2]=g|256;k[f+72>>2]=d;if(e|0){i[(k[e+4>>2]|0)+(d<<2)+3>>0]=0;s=(k[e+8>>2]|0)+1|0;k[e+8>>2]=(s|0)==0?1:s}if((g|256|0)==(g|0))break;h8a(f);break}}if(k[b+24>>2]|0)break;d=k[a+4>>2]|0}Fdb(k[(k[a+52>>2]|0)+72>>2]|0,d,w+48|0,w+66|0,w+65|0,w+64|0);d=sdb(k[v+4>>2]|0,i[w+48>>0]|0,i[w+66>>0]|0,i[w+65>>0]|0,i[w+64>>0]|0)|0;e=k[(k[v+4>>2]|0)+4>>2]|0;if(!e)t=39;else if((k[e>>2]|0)>>>0>d>>>0)t=39;else{k[w+16>>2]=601595;y6a(608563,w+16|0)|0}if((t|0)==39){f=k[v+52>>2]|0;g=k[f+68>>2]|0;k[f+68>>2]=g|256;k[f+72>>2]=d;if(e|0){i[(k[e+4>>2]|0)+(d<<2)+3>>0]=0;s=(k[e+8>>2]|0)+1|0;k[e+8>>2]=(s|0)==0?1:s}if((g|256|0)!=(g|0))h8a(f)}if(k[(k[v+52>>2]|0)+68>>2]&256|0){d=k[v+4>>2]|0;if(k[d+24>>2]|0){e=k[v+28>>2]|0;if(!e)if(!(k[v>>2]&2))e=0;else{P7a(v,1);k[v>>2]=k[v>>2]|2;e=k[v+28>>2]|0;d=k[v+4>>2]|0}e=e+1|0;k[v+28>>2]=e;switch(l[d+9>>0]|0){case 2:{o=k[d+24>>2]&65535^65535;p=o&k[(k[v+52>>2]|0)+72>>2];f=k[v+12>>2]|0;if(f){q=k[v+8>>2]|0;s=(k[v+16>>2]|0)/2|0;if(q){h=k[v+20>>2]|0;while(1){g=q;n=h;while(1){g=g+-1|0;if((m[n>>1]&o|0)==(p|0))j[n>>1]=p;if(!g)break;else n=n+2|0}f=f+-1|0;if(!f)break;else h=h+(s<<1)|0}}}break}case 4:{n=~k[d+24>>2];o=k[(k[v+52>>2]|0)+72>>2]&n;f=k[v+12>>2]|0;if(f){h=k[v+20>>2]|0;while(1){f=f+-1|0;e=k[v+8>>2]|0;if(e|0){g=h;while(1){e=e+-1|0;if((k[g>>2]&n|0)==(o|0))k[g>>2]=o;if(!e)break;else g=g+4|0}}if(!f)break;else h=h+(((k[v+16>>2]|0)/4|0)<<2)|0}e=k[v+28>>2]|0}break}default:{}}if(e){k[v+28>>2]=e+-1;if((e|0)<=1){e=k[v>>2]|0;if(e&2){k[v>>2]=e&-3;O7a(v)|0;d=k[v+4>>2]|0}}}d=k[d+4>>2]|0;do if(!d){f=k[v+52>>2]|0;d=k[f+68>>2]|0;e=f+68|0;t=74}else if(!(k[d>>2]|0)){k[w+24>>2]=601595;y6a(608563,w+24|0)|0;break}else{f=k[v+52>>2]|0;e=k[f+68>>2]|0;i[(k[d+4>>2]|0)+(k[f+72>>2]<<2)+3>>0]=-1;t=(k[d+8>>2]|0)+1|0;k[d+8>>2]=(t|0)==0?1:t;d=e;e=f+68|0;t=74;break}while(0);if((t|0)==74){s=d&-257;k[e>>2]=s;if((s|0)!=(d|0))h8a(f)}d=k[v+52>>2]|0;s=k[d+68>>2]|0;k[d+68>>2]=s&-113|16;if((s&-113|16|0)!=(s|0))h8a(d)}}}while(0);k[w+48>>2]=0;k[w+48+4>>2]=0;k[w+48+8>>2]=k[v+8>>2];k[w+48+12>>2]=k[v+12>>2];R7a(a+36|0,w+48|0,v+36|0)|0;if(!(k[(k[a+4>>2]|0)+24>>2]|0)){if(u&258|0)t=82}else if(k[b+24>>2]|u&258|0)t=82;if((t|0)==82){d=k[v+52>>2]|0;a=k[d+68>>2]|0;k[d+68>>2]=a&-113|16;if((a&-113|16|0)!=(a|0))h8a(d)}if(!(u&4096|c&2)){c=v;r=w;return c|0}d=k[v+52>>2]|0;c=k[d+68>>2]|0;k[d+68>>2]=c|4096;if((c|4096|0)==(c|0)){c=v;r=w;return c|0}h8a(d);c=v;r=w;return c|0}function neb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=+c;d=d|0;e=e|0;f=f|0;g=g|0;var h=0.0,i=0.0,j=0.0,l=0.0;l=+v7a(c*.017453292519943295);p[g>>3]=l;l=+u7a(c*.017453292519943295);p[f>>3]=l;i=+((a|0)/2|0|0)*l;l=+((b|0)/2|0|0)*l;h=+p[g>>3];j=+((a|0)/2|0|0)*h;h=+((b|0)/2|0|0)*h;c=+A7a(i+h);b=c>+A7a(i-h);c=+A7a(b?i+h:i-h);do if(c>+A7a(h-i)){c=+A7a(i+h);if(c>+A7a(i-h)){c=+A7a(i+h);break}else{c=+A7a(i-h);break}}else c=+A7a(h-i);while(0);do if(c>+A7a(-i-h)){c=+A7a(i+h);b=c>+A7a(i-h);c=+A7a(b?i+h:i-h);if(!(c>+A7a(h-i))){c=+A7a(h-i);break}c=+A7a(i+h);if(c>+A7a(i-h)){c=+A7a(i+h);break}else{c=+A7a(i-h);break}}else c=+A7a(-i-h);while(0);if((~~+oeb(c)|0)>1){c=+A7a(i+h);b=c>+A7a(i-h);c=+A7a(b?i+h:i-h);do if(c>+A7a(h-i)){c=+A7a(i+h);if(c>+A7a(i-h)){c=+A7a(i+h);break}else{c=+A7a(i-h);break}}else c=+A7a(h-i);while(0);do if(c>+A7a(-i-h)){c=+A7a(i+h);b=c>+A7a(i-h);c=+A7a(b?i+h:i-h);if(!(c>+A7a(h-i))){c=+A7a(h-i);break}c=+A7a(i+h);if(c>+A7a(i-h)){c=+A7a(i+h);break}else{c=+A7a(i-h);break}}else c=+A7a(-i-h);while(0);f=~~+oeb(c)<<1}else f=2;i=+A7a(l+j);b=i>+A7a(j-l);i=+A7a(b?l+j:j-l);do if(i>+A7a(l-j)){i=+A7a(l+j);if(i>+A7a(j-l)){c=+A7a(l+j);break}else{c=+A7a(j-l);break}}else c=+A7a(l-j);while(0);do if(c>+A7a(-j-l)){i=+A7a(l+j);b=i>+A7a(j-l);i=+A7a(b?l+j:j-l);if(!(i>+A7a(l-j))){c=+A7a(l-j);break}i=+A7a(l+j);if(i>+A7a(j-l)){c=+A7a(l+j);break}else{c=+A7a(j-l);break}}else c=+A7a(-j-l);while(0);if((~~+oeb(c)|0)<=1){b=2;k[d>>2]=f;k[e>>2]=b;return}i=+A7a(l+j);b=i>+A7a(j-l);i=+A7a(b?l+j:j-l);do if(i>+A7a(l-j)){i=+A7a(l+j);if(i>+A7a(j-l)){c=+A7a(l+j);break}else{c=+A7a(j-l);break}}else c=+A7a(l-j);while(0);do if(c>+A7a(-j-l)){i=+A7a(l+j);b=i>+A7a(j-l);i=+A7a(b?l+j:j-l);if(!(i>+A7a(l-j))){c=+A7a(l-j);break}i=+A7a(l+j);if(i>+A7a(j-l)){c=+A7a(l+j);break}else{c=+A7a(j-l);break}}else c=+A7a(-j-l);while(0);b=~~+oeb(c)<<1;k[d>>2]=f;k[e>>2]=b;return}function oeb(a){a=+a;return +(+ga(+a))}function peb(a,b,c,d,e,f,g,h,j,m,n){a=a|0;b=+b;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;m=+m;n=+n;var o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0;K=r;r=r+16|0;if(!a){a=0;r=K;return a|0}if(!(k[a>>2]&1)){o=a+4|0;t=0}else{k[K>>2]=0;heb(a,K)|0;qeb(k[K>>2]|0,k[a+4>>2]|0,K+10|0,K+9|0,K+8|0);o=a+4|0;t=1}o=k[o>>2]|0;p=i[o+8>>0]|0;switch(p<<24>>24){case 8:case 32:{if(p<<24>>24==32){s=j+2|0;m=m*65536.0;b=n*65536.0;q=a;u=8}else{b=n*65536.0;m=m*65536.0;p=0;J=Ucb(0,h,j+2|0,8,0,0,0,0)|0;I=a}break}default:{q=reb(a,Vcb(32,255,65280,16711680,-16777216)|0,k[a>>2]|0)|0;o=k[q+4>>2]|0;s=j+2|0;m=m*65536.0;b=n*65536.0;u=8}}if((u|0)==8){p=1;J=Ucb(0,h,s,32,k[o+12>>2]|0,k[o+16>>2]|0,k[o+20>>2]|0,k[o+24>>2]|0)|0;I=q}if(!J){a=0;r=K;return a|0}H=J+12|0;k[H>>2]=j;if((t|0)==1)Q7a(J,0,seb(k[J+4>>2]|0,i[K+10>>0]|0,i[K+9>>0]|0,i[K+8>>0]|0)|0)|0;if(k[I>>2]&2|0)T7a(I)|0;if(p){G=~~b;z=~~m;v=I+8|0;A=k[v>>2]|0;B=J+8|0;C=k[B>>2]|0;w=I+12|0;D=k[w>>2]|0;E=k[H>>2]|0;F=ha(65536-z|0,c)|0;x=(d<<16)-(ha(G,c)|0)|0;p=k[J+20>>2]|0;y=(k[J+16>>2]|0)-(C<<2)|0;if(!e){if((E|0)>0){e=I+20|0;c=I+16|0;o=C;j=0;while(1){h=d-j|0;u=(A-C<<15)+F+(ha(h,G)|0)|0;h=(D-E<<15)+x-(ha(h,z)|0)|0;if((o|0)>0)if(!f)if(!g){t=0;while(1){q=u>>16;s=h>>16;do if(q>>>0<(k[v>>2]|0)>>>0){if(s>>>0>=(k[w>>2]|0)>>>0)break;o=(k[e>>2]|0)+(ha(k[c>>2]|0,s)|0)+(q<<2)|0;o=l[o>>0]|l[o+1>>0]<<8|l[o+2>>0]<<16|l[o+3>>0]<<24;i[p>>0]=o;i[p+1>>0]=o>>8;i[p+2>>0]=o>>16;i[p+3>>0]=o>>24;o=k[B>>2]|0}while(0);p=p+4|0;t=t+1|0;if((t|0)>=(o|0))break;else{u=u+z|0;h=h+G|0}}}else{t=0;while(1){q=u>>16;s=h>>16;do if(q>>>0<(k[v>>2]|0)>>>0){if(s>>>0>=(k[w>>2]|0)>>>0)break;o=(k[e>>2]|0)+(ha(k[c>>2]|0,D+-1-s|0)|0)+(q<<2)|0;o=l[o>>0]|l[o+1>>0]<<8|l[o+2>>0]<<16|l[o+3>>0]<<24;i[p>>0]=o;i[p+1>>0]=o>>8;i[p+2>>0]=o>>16;i[p+3>>0]=o>>24;o=k[B>>2]|0}while(0);p=p+4|0;t=t+1|0;if((t|0)>=(o|0))break;else{u=u+z|0;h=h+G|0}}}else if(!g){t=0;while(1){q=u>>16;s=h>>16;do if(q>>>0<(k[v>>2]|0)>>>0){if(s>>>0>=(k[w>>2]|0)>>>0)break;o=(k[e>>2]|0)+(ha(k[c>>2]|0,s)|0)+(A+-1-q<<2)|0;o=l[o>>0]|l[o+1>>0]<<8|l[o+2>>0]<<16|l[o+3>>0]<<24;i[p>>0]=o;i[p+1>>0]=o>>8;i[p+2>>0]=o>>16;i[p+3>>0]=o>>24;o=k[B>>2]|0}while(0);p=p+4|0;t=t+1|0;if((t|0)>=(o|0))break;else{u=u+z|0;h=h+G|0}}}else{t=0;while(1){q=u>>16;s=h>>16;do if(q>>>0<(k[v>>2]|0)>>>0){if(s>>>0>=(k[w>>2]|0)>>>0)break;o=(k[e>>2]|0)+(ha(k[c>>2]|0,D+-1-s|0)|0)+(A+-1-q<<2)|0;o=l[o>>0]|l[o+1>>0]<<8|l[o+2>>0]<<16|l[o+3>>0]<<24;i[p>>0]=o;i[p+1>>0]=o>>8;i[p+2>>0]=o>>16;i[p+3>>0]=o>>24;o=k[B>>2]|0}while(0);p=p+4|0;t=t+1|0;if((t|0)>=(o|0))break;else{u=u+z|0;h=h+G|0}}}j=j+1|0;if((j|0)>=(k[H>>2]|0))break;else p=p+y|0}}}else if((E|0)>0){e=I+20|0;c=I+16|0;q=E;o=C;j=0;while(1){s=d-j|0;if((o|0)>0){u=(A-C<<15)+F+(ha(s,G)|0)|0;h=(D-E<<15)+x-(ha(s,z)|0)|0;t=0;while(1){q=u>>16;s=h>>16;q=f|0?A+-1-q|0:q;s=g|0?D+-1-s|0:s;if(q>>>0<(A+-1|0)>>>0&s>>>0<(D+-1|0)>>>0){Z=k[c>>2]|0;s=(k[e>>2]|0)+(ha(Z,s)|0)|0;v=i[s+(q<<2)>>0]|0;N=i[s+(q<<2)+1>>0]|0;R=i[s+(q<<2)+2>>0]|0;V=i[s+(q<<2)+3>>0]|0;s=s+(q<<2)+4|0;X=i[s>>0]|0;T=i[s+1>>0]|0;P=i[s+2>>0]|0;L=i[s+3>>0]|0;W=i[s+(((Z|0)/4|0)<<2)>>0]|0;S=i[s+(((Z|0)/4|0)<<2)+1>>0]|0;O=i[s+(((Z|0)/4|0)<<2)+2>>0]|0;q=i[s+(((Z|0)/4|0)<<2)+3>>0]|0;Z=s+(((Z|0)/4|0)<<2)+-4|0;s=i[Z>>0]|0;w=i[Z+1>>0]|0;o=i[Z+2>>0]|0;Z=i[Z+3>>0]|0;M=f|0?L:V;Q=f|0?P:R;U=f|0?T:N;Y=f|0?X:v;L=f|0?V:L;P=f|0?R:P;T=f|0?N:T;X=f|0?v:X;v=f|0?q:Z;N=f|0?O:o;R=f|0?S:w;V=f|0?W:s;q=f|0?Z:q;O=f|0?o:O;S=f|0?w:S;W=f|0?s:W;s=u&65535;w=h&65535;o=(g|0?V:Y)&255;o=((ha(((g|0?W:X)&255)-o|0,s)|0)>>>16)+o|0;V=(g|0?Y:V)&255;o=((ha((((ha(((g|0?X:W)&255)-V|0,s)|0)>>>16)+V&255)-(o&255)|0,w)|0)>>>16)+o&255;i[p>>0]=o;o=(g|0?R:U)&255;o=((ha(((g|0?S:T)&255)-o|0,s)|0)>>>16)+o|0;R=(g|0?U:R)&255;o=((ha((((ha(((g|0?T:S)&255)-R|0,s)|0)>>>16)+R&255)-(o&255)|0,w)|0)>>>16)+o&255;i[p+1>>0]=o;o=(g|0?N:Q)&255;o=((ha(((g|0?O:P)&255)-o|0,s)|0)>>>16)+o|0;N=(g|0?Q:N)&255;o=((ha((((ha(((g|0?P:O)&255)-N|0,s)|0)>>>16)+N&255)-(o&255)|0,w)|0)>>>16)+o&255;i[p+2>>0]=o;o=(g|0?v:M)&255;o=((ha(((g|0?q:L)&255)-o|0,s)|0)>>>16)+o|0;v=(g|0?M:v)&255;o=((ha((((ha(((g|0?L:q)&255)-v|0,s)|0)>>>16)+v&255)-(o&255)|0,w)|0)>>>16)+o&255;i[p+3>>0]=o;o=k[B>>2]|0}p=p+4|0;t=t+1|0;if((t|0)>=(o|0))break;else{u=u+z|0;h=h+G|0}}q=k[H>>2]|0}j=j+1|0;if((j|0)>=(q|0))break;else p=p+y|0}}k[K>>2]=0;heb(I,K)|0;ieb(J,3,k[K>>2]|0)|0}else{h=I+4|0;q=k[(k[h>>2]|0)+4>>2]|0;p=k[q>>2]|0;t=J+4|0;o=k[(k[t>>2]|0)+4>>2]|0;if((p|0)>0){s=0;do{p=(k[o+4>>2]|0)+(s<<2)|0;o=(k[q+4>>2]|0)+(s<<2)|0;o=l[o>>0]|l[o+1>>0]<<8|l[o+2>>0]<<16|l[o+3>>0]<<24;i[p>>0]=o;i[p+1>>0]=o>>8;i[p+2>>0]=o>>16;i[p+3>>0]=o>>24;s=s+1|0;q=k[(k[h>>2]|0)+4>>2]|0;p=k[q>>2]|0;o=k[(k[t>>2]|0)+4>>2]|0}while((s|0)<(p|0))}k[o>>2]=p;G=~~b;z=~~m;A=I+8|0;o=k[A>>2]|0;B=J+8|0;p=k[B>>2]|0;C=I+12|0;D=k[C>>2]|0;E=k[H>>2]|0;q=k[J+20>>2]|0;Z=J+16|0;F=(k[Z>>2]|0)-p|0;k[K>>2]=0;heb(I,K)|0;O6a(q,k[K>>2]&255,ha(k[H>>2]|0,k[Z>>2]|0)|0)|0;if((k[H>>2]|0)>0){w=(o-p<<15)+(ha(65536-z|0,c)|0)|0;x=I+20|0;y=I+16|0;v=ha(G,c)|0;p=k[B>>2]|0;o=q;c=0;while(1){h=d-c|0;u=w+(ha(h,G)|0)|0;h=(D-E<<15)+(d<<16)-((ha(h,z)|0)+v)|0;if((p|0)>0)if(!f)if(!g){t=0;while(1){q=u>>16;s=h>>16;do if(q>>>0<(k[A>>2]|0)>>>0){if(s>>>0>=(k[C>>2]|0)>>>0)break;p=(k[x>>2]|0)+(ha(k[y>>2]|0,s)|0)+q|0;i[o>>0]=i[p>>0]|0;p=k[B>>2]|0}while(0);o=o+1|0;t=t+1|0;if((t|0)>=(p|0))break;else{u=u+z|0;h=h+G|0}}}else{t=h;j=0;while(1){q=u>>16;s=t>>16;do if(q>>>0<(k[A>>2]|0)>>>0){h=k[C>>2]|0;if(s>>>0>=h>>>0)break;p=(k[x>>2]|0)+(ha(k[y>>2]|0,h+~s|0)|0)+q|0;i[o>>0]=i[p>>0]|0;p=k[B>>2]|0}while(0);o=o+1|0;j=j+1|0;if((j|0)>=(p|0))break;else{u=u+z|0;t=t+G|0}}}else if(!g){t=h;j=0;while(1){q=u>>16;s=t>>16;h=k[A>>2]|0;do if(q>>>0>>0){if(s>>>0>=(k[C>>2]|0)>>>0)break;p=(k[x>>2]|0)+(ha(k[y>>2]|0,s)|0)+(h+~q)|0;i[o>>0]=i[p>>0]|0;p=k[B>>2]|0}while(0);o=o+1|0;j=j+1|0;if((j|0)>=(p|0))break;else{u=u+z|0;t=t+G|0}}}else{j=h;e=0;while(1){q=u>>16;s=j>>16;h=k[A>>2]|0;do if(q>>>0>>0){t=k[C>>2]|0;if(s>>>0>=t>>>0)break;p=(k[x>>2]|0)+(ha(k[y>>2]|0,t+~s|0)|0)+(h+~q)|0;i[o>>0]=i[p>>0]|0;p=k[B>>2]|0}while(0);o=o+1|0;e=e+1|0;if((e|0)>=(p|0))break;else{u=u+z|0;j=j+G|0}}}c=c+1|0;if((c|0)>=(k[H>>2]|0))break;else o=o+F|0}}k[K>>2]=0;heb(I,K)|0;ieb(J,3,k[K>>2]|0)|0}jeb(a,K+7|0)|0;keb(a,K)|0;leb(a,K+6|0,K+5|0,K+4|0)|0;fdb(J,i[K+7>>0]|0)|0;gdb(J,k[K>>2]|0)|0;edb(J,i[K+6>>0]|0,i[K+5>>0]|0,i[K+4>>0]|0)|0;if(k[I>>2]&2|0)U7a(I);if((I|0)==(a|0)){Z=J;r=K;return Z|0}N7a(I);Z=J;r=K;return Z|0}function qeb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=k[b+4>>2]|0;if(!f){i[c>>0]=i[(k[124356+((l[b+28>>0]|0)<<2)>>2]|0)+((k[b+12>>2]&a)>>>(l[b+32>>0]|0))>>0]|0;i[d>>0]=i[(k[124356+((l[b+29>>0]|0)<<2)>>2]|0)+((k[b+16>>2]&a)>>>(l[b+33>>0]|0))>>0]|0;i[e>>0]=i[(k[124356+((l[b+30>>0]|0)<<2)>>2]|0)+((k[b+20>>2]&a)>>>(l[b+34>>0]|0))>>0]|0;return}if((k[f>>2]|0)>>>0>a>>>0){i[c>>0]=i[(k[f+4>>2]|0)+(a<<2)>>0]|0;i[d>>0]=i[(k[(k[b+4>>2]|0)+4>>2]|0)+(a<<2)+1>>0]|0;i[e>>0]=i[(k[(k[b+4>>2]|0)+4>>2]|0)+(a<<2)+2>>0]|0;return}else{i[e>>0]=0;i[d>>0]=0;i[c>>0]=0;return}}function reb(a,b,c){a=a|0;b=b|0;c=c|0;b=Wcb(b)|0;if(!b){a=0;return a|0}a=meb(a,b,c)|0;i8a(b);return a|0}function seb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,m=0,n=0;e=k[a+4>>2]|0;if(!e){h=k[a+28>>2]|0;i=k[a+32>>2]|0;b=(c&255)>>>(h>>>8&255)<<(i>>>8&255)|(b&255)>>>(h&255)<<(i&255)|k[a+24>>2]|(d&255)>>>(h>>>16&255)<<(i>>>16&255);return b|0}i=k[e>>2]|0;a:do if((i|0)>0){g=k[e+4>>2]|0;h=0;a=0;f=-1;while(1){m=(l[g+(h<<2)>>0]|0)-(b&255)|0;n=(l[g+(h<<2)+1>>0]|0)-(c&255)|0;j=(l[g+(h<<2)+2>>0]|0)-(d&255)|0;e=(l[g+(h<<2)+3>>0]|0)+-255|0;e=(ha(n,n)|0)+(ha(m,m)|0)+(ha(j,j)|0)+(ha(e,e)|0)|0;if(e>>>0>>0){a=h&255;if(!e)break a}else e=f;h=h+1|0;if((h|0)>=(i|0))break;else f=e}}else a=0;while(0);n=a&255;return n|0}function teb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,m=0;i=r;r=r+32|0;g=k[a+316>>2]|0;f=k[g>>2]|0;if(!f){f=k[g+4>>2]|0;k[g>>2]=f;if(!f){f=Scb(k[a+188>>2]|0)|0;do if(f|0){k[g+4>>2]=f;k[g>>2]=f;f=k[k[a+316>>2]>>2]|0;if(f|0){cdb(f,a+212|0)|0;f=k[k[a+316>>2]>>2]|0;if(f|0)if(!(k[a+276>>2]|0)){cdb(f,0)|0;break}else{cdb(f,a+244|0)|0;break}}}while(0);f=k[g>>2]|0}if(!f){d=-1;r=i;return d|0}}h=k[a+212>>2]|0;g=k[a+216>>2]|0;a=k[b>>2]|0;if(!(h|g))g=b;else{k[i+8>>2]=a+h;k[i+8+4>>2]=(k[b+4>>2]|0)+g;k[i+8+8>>2]=k[b+8>>2];k[i+8+12>>2]=k[b+12>>2];g=i+8|0;a=a+h|0}if((a|0)>=0){h=k[g+8>>2]|0;if((h+a|0)<=(k[f+8>>2]|0)){b=k[g+4>>2]|0;if((b|0)>=0){g=k[g+12>>2]|0;if((g+b|0)<=(k[f+12>>2]|0)){m=k[f+4>>2]|0;j=k[f+16>>2]|0;b=(k[f+20>>2]|0)+(ha(j,b)|0)|0;d=a9a(h,g,k[m>>2]|0,b+(ha(l[m+9>>0]|0,a)|0)|0,j,c,d,e)|0;r=i;return d|0}}}}m=y6a(601658,i)|0;r=i;return m|0}function ueb(a){a=a|0;a=k[a+188>>2]|0;if(!a)return;veb(a)|0;return}function veb(a){a=a|0;var b=0,c=0;c=r;r=r+48|0;b=k[299476]|0;if(!b){y6a(593213,c)|0;a=-1;r=c;return a|0}if(a|0)if((k[a>>2]|0)==(b+256|0)){k[c+24>>2]=0;k[c+24+4>>2]=0;k[c+24+8>>2]=k[a+24>>2];k[c+24+12>>2]=k[a+28>>2];if(!(k[a+108>>2]|0)){a=y6a(601698,c+16|0)|0;r=c;return a|0}else{a=nj[k[b+112>>2]&127](b,a,c+24|0,1)|0;r=c;return a|0}}y6a(606710,c+8|0)|0;a=-1;r=c;return a|0}function web(a,b){a=a|0;b=b|0;N7a(k[b+68>>2]|0);return}function xeb(a){a=a|0;Y7a(k[a+316>>2]|0);Y7a(a);return}function yeb(){return 1}function zeb(a){a=a|0;a=j7a(1,664)|0;if(!a){x7a(0)|0;a=0;return a|0}else{Aeb(601809,601842)|0;k[a+4>>2]=1549;k[a+8>>2]=740;k[a+24>>2]=160;k[a+180>>2]=741;k[a+28>>2]=383;k[a+36>>2]=234;k[a+48>>2]=235;k[a+104>>2]=236;k[a+88>>2]=51;k[a+108>>2]=106;k[a+112>>2]=98;k[a+116>>2]=237;k[a+140>>2]=384;k[a+144>>2]=385;k[a+148>>2]=742;k[a+152>>2]=386;k[a+156>>2]=161;k[a+164>>2]=387;k[a+168>>2]=1550;k[a+172>>2]=238;k[a+176>>2]=239;k[a+160>>2]=52;k[a+660>>2]=743;return a|0}return 0}function Aeb(a,b){a=a|0;b=b|0;return Beb(a,b,1)|0}function Beb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;if(!((a|0)!=0&(b|0)!=0)){b=0;return b|0}if(c>>>0<2&(D7a(a)|0)!=0){b=0;return b|0}d=k[299768]|0;a:do if(d|0){while(1){if(!(E7a(a,k[d>>2]|0)|0)){e=d;break}d=k[d+16>>2]|0;if(!d)break a}if((k[e+8>>2]|0)>>>0>c>>>0){b=0;return b|0}d=k[e+4>>2]|0;if(!d)f=8;else if(E7a(d,b)|0)f=8;if((f|0)==8){d=k[e+12>>2]|0;if(d|0)do{f=d;d=k[d+8>>2]|0;vj[k[f>>2]&127](k[f+4>>2]|0,a,k[e+4>>2]|0,b)}while((d|0)!=0);Y7a(k[e+4>>2]|0);b=Ceb(b)|0;k[e+4>>2]=b}k[e+8>>2]=c;b=1;return b|0}while(0);d=p7a(20)|0;if(!d){b=0;return b|0}a=Ceb(a)|0;k[d>>2]=a;b=Ceb(b)|0;k[d+4>>2]=b;k[d+8>>2]=c;k[d+12>>2]=0;k[d+16>>2]=k[299768];k[299768]=d;b=1;return b|0}function Ceb(a){a=a|0;return bob(a)|0}function Deb(a){a=a|0;var b=0,c=0;b=r;r=r+32|0;k[b>>2]=370546692;c=si(1)|0;k[b+4>>2]=c;c=si(2)|0;k[b+8>>2]=c;k[b+12>>2]=0;k[b+16>>2]=0;if((Eeb(b)|0)<0){c=-1;r=b;return c|0}O6a(b,0,20)|0;Ieb(k[a+244>>2]|0,b)|0;Jeb();c=0;r=b;return c|0}function Eeb(a){a=a|0;var b=0;b=r;r=r+80|0;O6a(b,0,68)|0;if(a|0){k[b+16>>2]=k[a>>2];k[b+16+4>>2]=k[a+4>>2];k[b+16+8>>2]=k[a+8>>2];k[b+16+12>>2]=k[a+12>>2];k[b+16+16>>2]=k[a+16>>2]}k[b+36>>2]=k[b+16>>2];k[b+36+4>>2]=k[b+16+4>>2];k[b+36+8>>2]=k[b+16+8>>2];k[b+36+12>>2]=k[b+16+12>>2];k[b+36+16>>2]=k[b+16+16>>2];a=Feb(b)|0;r=b;return a|0}function Feb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;h=r;r=r+32|0;g=k[299476]|0;g=w7a(k[g+244>>2]|0,((k[g+240>>2]|0)*68|0)+68|0)|0;if(!g){x7a(0)|0;g=-1;r=h;return g|0}b=k[299476]|0;f=k[b+240>>2]|0;k[b+240>>2]=f+1;c=g+(f*68|0)|0;d=a;e=c+68|0;do{k[c>>2]=k[d>>2];c=c+4|0;d=d+4|0}while((c|0)<(e|0));k[g+(f*68|0)+60>>2]=b;k[b+244>>2]=g;b=k[a>>2]|0;if(!b){Geb(f,h,10)|0;e=Ceb(h)|0;k[g+(f*68|0)>>2]=e;g=f;r=h;return g|0}else{e=Ceb(b)|0;k[g+(f*68|0)>>2]=e;g=f;r=h;return g|0}return 0}function Geb(a,b,c){a=a|0;b=b|0;c=c|0;return Heb(a,b,c)|0}function Heb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if((a|0)<0){i[b>>0]=45;a=0-a|0;e=b+1|0;while(1){d=e+1|0;i[e>>0]=i[601895+((a>>>0)%(c>>>0)|0)>>0]|0;a=(a>>>0)/(c>>>0)|0;if(!a)break;else e=d}i[d>>0]=0;a=Fnb(b+1|0)|0;if(!(a>>>1))return b|0;d=b+1|0;e=b+1+(a+-1)|0;a=a>>>1;while(1){a=a+-1|0;c=i[d>>0]|0;i[d>>0]=i[e>>0]|0;i[e>>0]=c;if(!a)break;else{d=d+1|0;e=e+-1|0}}return b|0}if(!a){i[b>>0]=48;a=b+1|0}else{d=a;e=b;while(1){a=e+1|0;i[e>>0]=i[601895+((d>>>0)%(c>>>0)|0)>>0]|0;d=(d>>>0)/(c>>>0)|0;if(!d)break;else e=a}}i[a>>0]=0;a=Fnb(b)|0;if(!(a>>>1))return b|0;d=b;e=b+(a+-1)|0;a=a>>>1;while(1){a=a+-1|0;c=i[d>>0]|0;i[d>>0]=i[e>>0]|0;i[e>>0]=c;if(!a)break;else{d=d+1|0;e=e+-1|0}}return b|0}function Ieb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=k[a+12>>2]|0;h=k[a+8>>2]|0;a:do if((h|0)>0){g=0;b:while(1){f=c+(g*20|0)|0;if((f|0)==(b|0)){c=0;d=20;break}d=k[b+4>>2]|0;e=k[c+(g*20|0)+4>>2]|0;do if((e|0)==(d|0)){d=k[b+8>>2]|0;e=k[c+(g*20|0)+8>>2]|0;if((e|0)!=(d|0)){d=e-d|0;break}e=k[b>>2]|0;d=k[f>>2]|0;if((d>>>8&255|0)!=(e>>>8&255|0)){d=(d>>>8&255)-(e>>>8&255)|0;break}if((d>>>16&15|0)==(e>>>16&15|0)){d=k[b+12>>2]|0;e=k[c+(g*20|0)+12>>2]|0;if((e|0)==(d|0)){c=0;d=20;break b}else{d=e-d|0;break}}else{d=(d>>>16&15)-(e>>>16&15)|0;break}}else d=e-d|0;while(0);g=g+1|0;if(!d){c=0;d=20;break}if((g|0)>=(h|0))break a}if((d|0)==20)return c|0}while(0);do if((h|0)==(k[a+4>>2]|0)){c=w7a(c,(h*20|0)+640|0)|0;if(!c){b=0;return b|0}else{k[a+12>>2]=c;k[a+4>>2]=(k[a+4>>2]|0)+32;d=a+12|0;break}}else d=a+12|0;while(0);h=c+(h*20|0)|0;k[h>>2]=k[b>>2];k[h+4>>2]=k[b+4>>2];k[h+8>>2]=k[b+8>>2];k[h+12>>2]=k[b+12>>2];k[h+16>>2]=k[b+16>>2];b=(k[a+8>>2]|0)+1|0;k[a+8>>2]=b;S6a(k[d>>2]|0,b,20,374);b=1;return b|0}function Jeb(){var a=0,b=0;a=c7a()|0;k[a>>2]=162;k[a+8>>2]=1551;k[a+16>>2]=744;k[a+20>>2]=114;k[a+4>>2]=1552;k[a+28>>2]=1553;a=j7a(1,8)|0;if(!a){x7a(0)|0;b=a;Qeb(b);return}b=j7a(1,4)|0;if(!b){x7a(0)|0;Y7a(a);b=0;Qeb(b);return}else{k[b>>2]=601931;k[a+4>>2]=b;b=a;Qeb(b);return}}function Keb(a,b,c){a=a|0;b=b|0;c=c|0;b=j7a(1,8)|0;if(!b){x7a(0)|0;a=b;return a|0}c=j7a(1,4)|0;if(!c){x7a(0)|0;Y7a(b);a=0;return a|0}else{k[c>>2]=601931;k[b+4>>2]=c;a=b;return a|0}return 0}function Leb(a){a=a|0;if(!(L7a()|0))return 0;if(a|0){a=k[a+4>>2]|0;if(a|0){a=k[a>>2]|0;if(!a)return 0;Vc(3,a|0)|0;return 0}}eh(4);return 0}function Meb(a){a=a|0;var b=0;if(!a)return;b=k[a+4>>2]|0;if(b|0)Y7a(b);Y7a(a);return}function Neb(a,b,c){a=a|0;b=b|0;c=c|0;x7a(4)|0;return}function Oeb(a){a=a|0;var b=0,c=0;do switch(a|0){case 0:{c=601931;b=13;break}case 1:{c=602204;b=13;break}case 2:{c=602199;b=13;break}case 3:{c=602189;b=13;break}case 4:{c=602180;b=13;break}case 5:{c=602168;b=13;break}case 6:{c=602156;b=13;break}case 7:{c=602146;b=13;break}case 8:{c=602136;b=13;break}case 9:{c=0;b=13;break}case 10:{c=602124;b=13;break}case 11:{c=602116;b=13;break}default:a=0}while(0);do if((b|0)==13){a=j7a(1,8)|0;if(!a){x7a(0)|0;a=0;break}b=j7a(1,4)|0;if(!b){x7a(0)|0;Y7a(a);a=0;break}else{k[b>>2]=c;k[a+4>>2]=b;break}}while(0);return a|0}function Peb(a){a=a|0;if(!a){if((Xh()|0)>-1){a=0;return a|0}}else if((Zf(0,1)|0)>-1){a=0;return a|0}a=-1;return a|0}function Qeb(a){a=a|0;var b=0;k[299501]=a;if(k[299502]|0)return;if(!a)a=0;else k[299502]=a;b=k[299479]|0;if((a|0)!=0&(k[299503]|0)!=0&(k[299496]|0)==0){if(!b)return;Gi[b&2047](a)|0;return}else{if(!b)return;Gi[b&2047](0)|0;return}}function Reb(a){a=a|0;Seb();return}function Seb(){var a=0,b=0,c=0;a=c7a()|0;b=k[a+96>>2]|0;if(b|0){c=k[b+4>>2]|0;if(c|0)Y7a(c);Y7a(b)}k[a+96>>2]=0;k[a>>2]=0;k[a+8>>2]=0;k[a+16>>2]=0;k[a+20>>2]=0;k[a+4>>2]=0;k[a+28>>2]=0;return}function Teb(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function Ueb(a){a=a|0;return}function Veb(a,b){a=a|0;b=b|0;var c=0.0,d=0,e=0.0,f=0.0,g=0.0,h=0,i=0,j=0;j=r;r=r+32|0;i=j7a(1,28)|0;if(!i){b=x7a(0)|0;r=j;return b|0}if(!(k[b+48>>2]&8192)){o[i+12>>2]=1.0;h=i+12|0;c=1.0}else{c=+Dd();o[i+12>>2]=c;h=i+12|0}c=+deb(+(k[b+24>>2]|0)*c);e=+deb(+(k[b+28>>2]|0)*+o[h>>2]);ch(~~c|0,~~e|0);vg(0,j+8|0,j|0)|0;f=+p[j+8>>3];g=+p[j>>3];k[i+16>>2]=(f!=c|g!=e)&1;if((k[b+48>>2]&32|0)==0|(f!=c|g!=e)^1)d=(f!=c|g!=e)&1;else{e=+o[h>>2];ch(~~(f*e)|0,~~(g*e)|0);V6a(b,5,~~+p[j+8>>3],~~+p[j>>3])|0;d=k[i+16>>2]|0}if(!d)if(+o[h>>2]!=1.0)Oe(0,+(+(k[b+24>>2]|0)),+(+(k[b+28>>2]|0)))|0;if(k[b+48>>2]&2|0){if(!(k[a+652>>2]|0))if((Web(0)|0)<0){b=-1;r=j;return b|0}a=Xeb(a,0)|0;k[i>>2]=a;if(!a){b=y6a(602334,j+16|0)|0;r=j;return b|0}}k[i+4>>2]=b;k[b+136>>2]=i;d7a(b);Zeb(b);cfb(i);b=0;r=j;return b|0}function Web(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+32|0;b=k[299476]|0;if(!b){a=y6a(593213,d)|0;r=d;return a|0}do if(!(k[b+364>>2]|0)){c=k[b+140>>2]|0;if(!c){a=y6a(593283,d+16|0)|0;r=d;return a|0}c=gj[c&511](b,a)|0;b=k[299476]|0;if(c){a=k[b+148>>2]|0;if(!a){a=c;r=d;return a|0}Si[a&1023](b);a=c;r=d;return a|0}}else if(a){if(!(E7a(a,b+368|0)|0)){b=k[299476]|0;break}a=y6a(602209,d+8|0)|0;r=d;return a|0}while(0);a=b+364|0;k[a>>2]=(k[a>>2]|0)+1;a=0;r=d;return a|0}function Xeb(a,b){a=a|0;b=b|0;if(Yeb(a)|0){b=0;return b|0}a=k[a+652>>2]|0;b=nj[k[a+48>>2]&127](k[a+8>>2]|0,k[a+12>>2]|0,b,0)|0;return b|0}function Yeb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=r;r=r+800|0;k[i+532>>2]=0;e=k[a+652>>2]|0;if(!e){a=-1;r=i;return a|0}k[i+536>>2]=12324;k[i+536+4>>2]=k[a+268>>2];k[i+536+8>>2]=12323;k[i+536+12>>2]=k[a+272>>2];k[i+536+16>>2]=12322;k[i+536+20>>2]=k[a+276>>2];b=k[a+280>>2]|0;if(!b)c=6;else{k[i+536+24>>2]=12321;k[i+536+28>>2]=b;c=8}b=k[a+288>>2]|0;if(b){h=c|1;k[i+536+(c<<2)>>2]=12320;k[i+536+(h<<2)>>2]=b;c=h+1|0}k[i+536+(c<<2)>>2]=12325;b=c+2|0;k[i+536+(c+1<<2)>>2]=k[a+284>>2];d=k[a+292>>2]|0;if(!d)c=b;else{k[i+536+(b<<2)>>2]=12326;k[i+536+(c+3<<2)>>2]=d;c=c+4|0}b=k[a+320>>2]|0;if(b){k[i+536+(c<<2)>>2]=12338;k[i+536+(c+1<<2)>>2]=b;c=c+2|0}b=k[a+324>>2]|0;if(b){k[i+536+(c<<2)>>2]=12337;k[i+536+(c+1<<2)>>2]=b;c=c+2|0}if(k[a+356>>2]|0){a=y6a(602239,i)|0;r=i;return a|0}k[i+536+(c<<2)>>2]=12352;if((k[a+344>>2]|0)==4){b=(k[a+332>>2]|0)>1?4:1;Gi[k[e+84>>2]&2047](12448)|0}else{Gi[k[e+84>>2]&2047](12450)|0;b=8}k[i+536+(c+1<<2)>>2]=b;k[i+536+(c+2<<2)>>2]=12344;h=k[a+652>>2]|0;h=(Ni[k[h+36>>2]&127](k[h+8>>2]|0,i+536|0,i+16|0,128,i+532|0)|0)==0;b=k[i+532>>2]|0;if(h|(b|0)==0){a=y6a(602300,i+8|0)|0;r=i;return a|0}if((b|0)>0){b=-1;h=0}else{a=0;r=i;return a|0}do{g=i+16+(h<<2)|0;c=0;f=0;do{d=k[i+536+(f<<2)>>2]|0;if((d|0)==12344)break;e=i+536+((f|1)<<2)|0;if((d+-12321|0)>>>0<6&(k[e>>2]|0)!=-1){j=k[a+652>>2]|0;nj[k[j+72>>2]&127](k[j+8>>2]|0,k[g>>2]|0,d,i+528|0)|0;c=(k[i+528>>2]|0)+c-(k[e>>2]|0)|0}f=f+2|0}while(f>>>0<63);if((b|0)==-1|(c|0)<(b|0)){k[(k[a+652>>2]|0)+12>>2]=k[g>>2];b=c}h=h+1|0}while(c|0?(h|0)<(k[i+532>>2]|0):0);b=0;r=i;return b|0}function Zeb(a){a=a|0;var b=0,c=0;b=k[299773]|0;if(!((a|0)!=0|(b|0)==0)){b=0;do{if((i[1199098+b>>0]|0)==1)_eb(0,b)|0;b=b+1|0}while((b|0)!=512);b=k[299773]|0}if(!((b|0)==0|(b|0)==(a|0))){if(k[b+48>>2]&16384){$eb(0)|0;b=k[299773]|0}V6a(b,13,0,0)|0;if((i7a(771,-1)|0)<<24>>24){b=bfb()|0;if(b|0){c=k[b+192>>2]|0;if(c|0)Si[c&1023](b)}}}k[299773]=a;if(!a)return;V6a(a,12,0,0)|0;if(!((i7a(771,-1)|0)<<24>>24))return;b=bfb()|0;if(!b)return;c=k[b+188>>2]|0;if(!c)return;Si[c&1023](b);return}function _eb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=r;r=r+64|0;if(!b){g=0;r=h;return g|0}switch(a&255|0){case 1:{g=768;break}case 0:{g=769;break}default:{g=0;r=h;return g|0}}f=i[1199098+b>>0]|0;e=a<<24>>24==0?0:f<<24>>24!=0&1;if(!(e<<24>>24?1:f<<24>>24!=a<<24>>24)){g=0;r=h;return g|0}i[1199098+b>>0]=a;f=k[1199612+(b<<2)>>2]|0;switch(f|0){case 1073742048:{d=64;break}case 1073742052:{d=128;break}case 1073742049:{d=1;break}case 1073742053:{d=2;break}case 1073742050:{d=256;break}case 1073742054:{d=512;break}case 1073742051:{d=1024;break}case 1073742055:{d=2048;break}case 1073742081:{d=16384;break}default:d=0}a:do if((g|0)==768){c=j[599548]|0;switch(f|0){case 1073741907:{j[599548]=c&65535^4096;break a}case 1073741881:{j[599548]=c&65535^8192;break a}default:{j[599548]=c&65535|d;break a}}}else{c=(m[599548]|0)&(d^65535)&65535;j[599548]=c}while(0);if((i7a(g,-1)|0)<<24>>24!=1){g=0;r=h;return g|0}k[h>>2]=g;i[h+12>>0]=a;i[h+13>>0]=e;k[h+16>>2]=b;k[h+16+4>>2]=f;j[h+16+8>>1]=c;c=k[299773]|0;if(!c)c=0;else c=k[c+4>>2]|0;k[h+8>>2]=c;g=(m7a(h)|0)>0&1;r=h;return g|0}function $eb(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+16|0;do if(!(k[299485]|0))b=x7a(4)|0;else{c=afb()|0;if(c|0)b=(k[c+48>>2]&16384|0)!=0;else b=0;if((b&1|0)==(a|0))b=0;else{if(!a){if((Gi[k[1197940>>2]&2047](0)|0)==-1){b=-1;break}k[c+48>>2]=k[c+48>>2]&-16385;b=0;break}if(!c){b=y6a(602371,d)|0;break}if((Gi[k[1197940>>2]&2047](c)|0)==-1)b=-1;else{k[c+48>>2]=k[c+48>>2]|16384;b=0}}}while(0);r=d;return b|0}function afb(){return k[299773]|0}function bfb(){return k[299476]|0}function cfb(a){a=a|0;var b=0;ge(602391,a|0,0,163)|0;cf(602391,a|0,0,164)|0;Ed(602399,a|0,0,164)|0;gh(602391,a|0,0,165)|0;ug(602391,a|0,0,165)|0;oi(602391,a|0,0,166)|0;cg(602409,a|0,0,167)|0;Zb(602409,a|0,0,167)|0;Xf(602391,a|0,0,168)|0;ei(602391,a|0,0,168)|0;He(602391,a|0,0,168)|0;ag(602391,a|0,0,168)|0;b=C7a(602438)|0;b=b|0?b:602409;wc(b|0,a|0,0,169)|0;Se(b|0,a|0,0,169)|0;zh(b|0,a|0,0,170)|0;wg(602399,a|0,0,171)|0;Id(602409,a|0,0,172)|0;Zg(a|0,0,173)|0;return}function dfb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0,f=0,g=0,h=0.0;f=r;r=r+288|0;vg(0,f+8|0,f|0)|0;a=k[c+4>>2]|0;e=+(k[a+24>>2]|0)/+p[f+8>>3];d=+(k[a+28>>2]|0)/+p[f>>3];a=(lg(f+16|0)|0)==0;a=a?k[f+16>>2]|0:0;if(!a){g=~~(e*+(k[b+60>>2]|0));b=~~(d*+(k[b+64>>2]|0));c=k[c+4>>2]|0;efb(c,0,a,g,b)|0;r=f;return 0}else{h=+p[77764]+e*+(k[b+44>>2]|0);e=+p[77765]+d*+(k[b+48>>2]|0);p[77764]=h-+(~~h|0);p[77765]=e-+(~~e|0);b=~~h;g=~~e;c=k[c+4>>2]|0;efb(c,0,a,b,g)|0;r=f;return 0}return 0}function efb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(!((a|0)==0|(c|0)!=0))if(!(f7a(a,d,e)|0)){e=0;return e|0}e=h7a(a,b,c,d,e)|0;return e|0}function ffb(a,b,c){a=a|0;b=b|0;c=c|0;b=j[b+40>>1]|0;if((b&65535)>=3){c=0;return c|0}gfb(k[c+4>>2]|0,0,(a|0)==5&1,(b&255)+1<<24>>24)|0;c=(i7a((a|0)==5&1,-1)|0)<<24>>24==1&1;return c|0}function gfb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0;o=r;r=r+64|0;g=k[299495]|0;if((d&255|0)<(k[299498]|0))n=7;else{f=w7a(k[299499]|0,(d&255)+1<<4)|0;if(!f)l=0;else{k[299499]=f;e=k[299498]|0;if((e|0)<=(d&255|0)){O6a(f+(e<<4)|0,0,16)|0;if((e|0)<(d&255|0))do{e=e+1|0;O6a((k[299499]|0)+(e<<4)|0,0,16)|0}while((e|0)!=(d&255|0))}k[299498]=(d&255)+1;n=7}}if((n|0)==7)l=(k[299499]|0)+((d&255)<<4)|0;switch(c&255|0){case 1:{e=g|1<<(d&255)+-1;m=1025;break}case 0:{e=g&~(1<<(d&255)+-1);m=1026;break}default:{a=0;r=o;return a|0}}if((a|0)!=0&c<<24>>24==1)f7a(a,k[299489]|0,k[299490]|0)|0;if((e|0)==(k[299495]|0)){a=0;r=o;return a|0}k[299495]=e;do if(!l)f=1;else{if(c<<24>>24!=1){f=i[l+12>>0]|0;break}h=n7a()|0;j=l+8|0;if(((k[j>>2]|0)-h+500|0)<1){e=l;n=21}else if((hfb((k[299489]|0)-(k[l>>2]|0)|0)|0)>1){e=l;n=21}else{g=l+4|0;if((hfb((k[299490]|0)-(k[g>>2]|0)|0)|0)>1){e=l;n=21}else{f=l+12|0;e=i[f>>0]|0;k[j>>2]=h;k[l>>2]=k[299489];k[g>>2]=k[299490];if(e<<24>>24==-1){f=-1;break}}}if((n|0)==21){f=l+12|0;i[f>>0]=0;k[j>>2]=h;k[e>>2]=k[299489];k[l+4>>2]=k[299490];e=0}n=e+1<<24>>24;i[f>>0]=n;f=n}while(0);if((i7a(m,-1)|0)<<24>>24==1){k[o>>2]=m;e=k[299488]|0;if(!e)e=0;else e=k[e+4>>2]|0;k[o+8>>2]=e;k[o+12>>2]=b;i[o+17>>0]=c;i[o+16>>0]=d;i[o+18>>0]=f;k[o+20>>2]=k[299489];k[o+24>>2]=k[299490];e=(m7a(o)|0)>0&1}else e=0;if(!((a|0)!=0&c<<24>>24==0)){a=e;r=o;return a|0}f7a(a,k[299489]|0,k[299490]|0)|0;a=e;r=o;return a|0}function hfb(a){a=a|0;return ((a|0)>-1?a:0-a|0)|0}function ifb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=r;r=r+288|0;d=k[b+60>>2]|0;b=k[b+64>>2]|0;f=lg(e+16|0)|0;if((k[e+16>>2]|0)==0|(f|0)!=0){vg(0,e+8|0,e|0)|0;f=k[c+4>>2]|0;efb(f,0,0,~~(+(d|0)*(+(k[f+24>>2]|0)/+p[e+8>>3])),~~(+(b|0)*(+(k[f+28>>2]|0)/+p[e>>3])))|0}if((a|0)!=33){f=0;d7a(f);f=i7a(512,-1)|0;f=f<<24>>24==1;f=f&1;r=e;return f|0}f=k[c+4>>2]|0;d7a(f);f=i7a(512,-1)|0;f=f<<24>>24==1;f=f&1;r=e;return f|0}function jfb(a,b,c){a=a|0;b=b|0;c=c|0;kfb(k[c+4>>2]|0,0,~~+p[b+72>>3],~~-+p[b+80>>3],0)|0;return (i7a(1027,-1)|0)<<24>>24==1|0}function kfb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;g=r;r=r+64|0;do if(a|0){f=k[299488]|0;if((f|0)!=(a|0)){if(f|0)V6a(f,11,0,0)|0;k[299488]=a;V6a(a,10,0,0)|0;f=(k[299488]|0)==0?k[299501]|0:k[299502]|0;a=k[299479]|0;if((f|0)!=0&(k[299503]|0)!=0&(k[299496]|0)==0){if(!a)break;Gi[a&2047](f)|0;break}else{if(!a)break;Gi[a&2047](0)|0;break}}}while(0);if(!(d|c)){d=0;r=g;return d|0}if((i7a(1027,-1)|0)<<24>>24!=1){d=0;r=g;return d|0}k[g>>2]=1027;f=k[299488]|0;if(!f)f=0;else f=k[f+4>>2]|0;k[g+8>>2]=f;k[g+12>>2]=b;k[g+16>>2]=c;k[g+20>>2]=d;k[g+24>>2]=e;d=(m7a(g)|0)>0&1;r=g;return d|0}function lfb(a,b,c){a=a|0;b=b|0;c=c|0;if((a|0)==12)mfb();V6a(k[c+4>>2]|0,(a|0)==13?12:13,0,0)|0;return (i7a(512,-1)|0)<<24>>24==1|0}function mfb(){var a=0;a=0;do{if((i[1199098+a>>0]|0)==1)_eb(0,a)|0;a=a+1|0}while((a|0)!=512);return}function nfb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0.0,f=0.0,g=0,h=0;h=r;r=r+16|0;if((ofb(1,0,1279174)|0)<0){b=0;r=h;return b|0}vg(0,h+8|0,h|0)|0;a:do if((k[b>>2]|0)>0){if((a|0)==24){d=0;c=0;while(1){if(k[b+20+(d*52|0)+28>>2]|0){a=k[b+20+(d*52|0)>>2]|0;qfb(1,0,a,((a|0)<0)<<31>>31,+(k[b+20+(d*52|0)+44>>2]|0)/+p[h+8>>3],+(k[b+20+(d*52|0)+48>>2]|0)/+p[h>>3],1.0)|0;if(!c)c=(i7a(1794,-1)|0)<<24>>24==1&1}d=d+1|0;if((d|0)>=(k[b>>2]|0))break a}}g=0;c=0;do{do if(k[b+20+(g*52|0)+28>>2]|0){d=k[b+20+(g*52|0)>>2]|0;e=+(k[b+20+(g*52|0)+44>>2]|0)/+p[h+8>>3];f=+(k[b+20+(g*52|0)+48>>2]|0)/+p[h>>3];if((a|0)==22){rfb(1,0,d,((d|0)<0)<<31>>31,1,e,f,1.0)|0;if(c|0)break;c=(i7a(1792,-1)|0)<<24>>24==1&1;break}else{rfb(1,0,d,((d|0)<0)<<31>>31,0,e,f,1.0)|0;if(c|0)break;c=(i7a(1793,-1)|0)<<24>>24==1&1;break}}while(0);g=g+1|0}while((g|0)<(k[b>>2]|0))}else c=0;while(0);b=c;r=h;return b|0}function ofb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=k[300415]|0;a:do if((e|0)>0){c=k[300416]|0;d=0;while(1){f=k[c+(d<<2)>>2]|0;if((k[f>>2]|0)==(a|0)?(k[f+4>>2]|0)==(b|0):0)break;d=d+1|0;if((d|0)>=(e|0))break a}if((d|0)>-1){f=d;return f|0}}else c=k[300416]|0;while(0);c=w7a(c,(e<<2)+4|0)|0;if(!c){f=x7a(0)|0;return f|0}k[300416]=c;c=k[300415]|0;d=p7a(24)|0;k[(k[300416]|0)+(c<<2)>>2]=d;if(!d){f=x7a(0)|0;return f|0}else{k[300415]=(k[300415]|0)+1;k[d>>2]=a;k[d+4>>2]=b;k[d+8>>2]=0;k[d+12>>2]=0;k[d+16>>2]=0;pfb(a,b)|0;f=c;return f|0}return 0}function pfb(a,b){a=a|0;b=b|0;var c=0,d=0;c=w7a(k[299474]|0,((k[299473]|0)*8232|0)+8232|0)|0;if(!c){c=x7a(0)|0;return c|0}else{k[299474]=c;O6a(c+((k[299473]|0)*8232|0)|0,0,8232)|0;c=k[299473]|0;d=(k[299474]|0)+(c*8232|0)|0;k[d>>2]=a;k[d+4>>2]=b;k[299473]=c+1;c=0;return c|0}return 0}function qfb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;f=+f;g=+g;var h=0.0,i=0.0,j=0,l=0,m=0,n=0,p=0;p=r;r=r+64|0;m=k[300415]|0;a:do if((m|0)>0){l=k[300416]|0;j=0;while(1){n=k[l+(j<<2)>>2]|0;if((k[n>>2]|0)==(a|0)?(k[n+4>>2]|0)==(b|0):0)break;j=j+1|0;if((j|0)>=(m|0))break a}if((j|0)>-1&(j|0)<(m|0)){if(!n){d=-1;r=p;return d|0}m=k[n+8>>2]|0;b:do if((m|0)>0){l=k[n+16>>2]|0;j=0;while(1){n=k[l+(j<<2)>>2]|0;if((k[n>>2]|0)==(c|0)?(k[n+4>>2]|0)==(d|0):0)break;j=j+1|0;if((j|0)>=(m|0))break b}if(!((j|0)>=(m|0)|(j|0)<0|(n|0)==0)){h=e-+o[n+8>>2];i=f-+o[n+12>>2];if(!(h!=0.0|i!=0.0|g-+o[n+16>>2]!=0.0)){d=0;r=p;return d|0}o[n+8>>2]=e;o[n+12>>2]=f;o[n+16>>2]=g;if((i7a(1794,-1)|0)<<24>>24!=1){d=0;r=p;return d|0}k[p>>2]=1794;k[p+8>>2]=a;k[p+8+4>>2]=b;k[p+16>>2]=c;k[p+16+4>>2]=d;o[p+24>>2]=e;o[p+28>>2]=f;o[p+32>>2]=h;o[p+36>>2]=i;o[p+40>>2]=g;d=(m7a(p)|0)>0&1;r=p;return d|0}}while(0);d=rfb(a,b,c,d,1,e,f,g)|0;r=p;return d|0}}while(0);y6a(602417,p+56|0)|0;d=-1;r=p;return d|0}function rfb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=+f;g=+g;h=+h;var i=0,j=0,l=0,m=0,n=0,p=0,q=0;q=r;r=r+64|0;l=k[300415]|0;a:do if((l|0)>0){j=k[300416]|0;i=0;while(1){n=k[j+(i<<2)>>2]|0;if((k[n>>2]|0)==(a|0)?(k[n+4>>2]|0)==(b|0):0)break;i=i+1|0;if((i|0)>=(l|0))break a}if((i|0)>-1&(i|0)<(l|0)){if(!n){p=-1;r=q;return p|0}l=k[n+8>>2]|0;b:do if((l|0)>0){j=k[n+16>>2]|0;i=0;while(1){m=k[j+(i<<2)>>2]|0;if((k[m>>2]|0)==(c|0)?(k[m+4>>2]|0)==(d|0):0)break;i=i+1|0;if((i|0)>=(l|0)){j=0;break b}}j=(i|0)>-1&(i|0)<(l|0)?m:0}else j=0;while(0);i=(j|0)!=0;if(!e){if(!i){p=0;r=q;return p|0}if((i7a(1793,-1)|0)<<24>>24==1){k[q>>2]=1793;k[q+8>>2]=a;k[q+8+4>>2]=b;k[q+16>>2]=c;k[q+16+4>>2]=d;k[q+24>>2]=k[j+8>>2];k[q+28>>2]=k[j+12>>2];o[q+32>>2]=0.0;o[q+36>>2]=0.0;o[q+40>>2]=h;i=(m7a(q)|0)>0&1}else i=0;l=k[n+8>>2]|0;if((l|0)<=0){p=i;r=q;return p|0}m=k[n+16>>2]|0;j=0;while(1){e=m+(j<<2)|0;a=k[e>>2]|0;if((k[a>>2]|0)==(c|0)?(k[a+4>>2]|0)==(d|0):0)break;j=j+1|0;if((j|0)>=(l|0)){p=35;break}}if((p|0)==35){r=q;return i|0}if((j|0)<0){p=i;r=q;return p|0}k[n+8>>2]=l+-1;k[e>>2]=k[m+(l+-1<<2)>>2];k[(k[n+16>>2]|0)+(l+-1<<2)>>2]=a;p=i;r=q;return p|0}if(i){p=0;r=q;return p|0}c:do if((l|0)==(k[n+12>>2]|0)){i=w7a(k[n+16>>2]|0,(l<<2)+4|0)|0;do if(!i)i=x7a(0)|0;else{k[n+16>>2]=i;j=p7a(24)|0;i=k[n+12>>2]|0;k[(k[n+16>>2]|0)+(i<<2)>>2]=j;j=k[n+16>>2]|0;if(!(k[j+(i<<2)>>2]|0)){i=x7a(0)|0;break}else{k[n+12>>2]=i+1;l=k[n+8>>2]|0;i=j;p=22;break c}}while(0);if((i|0)<0){p=0;r=q;return p|0}}else{i=k[n+16>>2]|0;p=22}while(0);if((p|0)==22){k[n+8>>2]=l+1;p=k[i+(l<<2)>>2]|0;k[p>>2]=c;k[p+4>>2]=d;o[p+8>>2]=f;o[p+12>>2]=g;o[p+16>>2]=h}if((i7a(1792,-1)|0)<<24>>24!=1){p=0;r=q;return p|0}k[q>>2]=1792;k[q+8>>2]=a;k[q+8+4>>2]=b;k[q+16>>2]=c;k[q+16+4>>2]=d;o[q+24>>2]=f;o[q+28>>2]=g;o[q+32>>2]=0.0;o[q+36>>2]=0.0;o[q+40>>2]=h;p=(m7a(q)|0)>0&1;r=q;return p|0}}while(0);y6a(602417,q+56|0)|0;p=-1;r=q;return p|0}function sfb(a,b,c){a=a|0;b=b|0;c=c|0;c=k[b+156>>2]|0;if(c>>>0<223){c=k[136372+(c<<2)>>2]|0;if(c|0){a:do if((k[b+64>>2]|0)==2)switch(c|0){case 225:{c=229;break a}case 224:{c=228;break a}case 226:{c=230;break a}case 227:{c=231;break a}default:break a}while(0);_eb((a|0)==2&1,c)|0}}c=(i7a((a|0)==2?768:769,-1)|0)<<24>>24==1&1;if((a|0)!=2)return c|0;if((i7a(771,-1)|0)<<24>>24==1)return ((k[b+156>>2]&-2|0)==8?c:0)|0;else return c|0;return 0}function tfb(a,b,c){a=a|0;b=b|0;c=c|0;c=r;r=r+16|0;a=k[b+152>>2]|0;do if(a>>>0<128){i[c>>0]=a;i[c+1>>0]=0}else{if(a>>>0<2048){i[c>>0]=a>>>6&31|192;i[c+1>>0]=a&63|128;i[c+2>>0]=0;break}if(a>>>0<65536){i[c>>0]=a>>>12&15|224;i[c+1>>0]=a>>>6&63|128;i[c+2>>0]=a&63|128;i[c+3>>0]=0;break}if(a>>>0<1114112){i[c>>0]=a>>>18|240;i[c+1>>0]=a>>>12&63|128;i[c+2>>0]=a>>>6&63|128;i[c+3>>0]=a&63|128;i[c+4>>0]=0;break}else{b=i7a(771,-1)|0;b=b<<24>>24==1;b=b&1;r=c;return b|0}}while(0);ufb(c)|0;b=i7a(771,-1)|0;b=b<<24>>24==1;b=b&1;r=c;return b|0}function ufb(a){a=a|0;var b=0,c=0;c=r;r=r+64|0;b=i[a>>0]|0;if((b&255)<32|b<<24>>24==127){a=0;r=c;return a|0}if((i7a(771,-1)|0)<<24>>24!=1){a=0;r=c;return a|0}k[c>>2]=771;b=k[299773]|0;if(!b)b=0;else b=k[b+4>>2]|0;k[c+8>>2]=b;vfb(c+12|0,a,32)|0;a=(m7a(c)|0)>0&1;r=c;return a|0}function vfb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=Fnb(b)|0;c=f>>>0<(c+-1|0)>>>0?f:c+-1|0;if(!c){b=0;a=a+b|0;i[a>>0]=0;return b|0}d=i[b+(c+-1)>>0]|0;a:do if((d+64&255)<53)c=c+-1|0;else if(!((d&255)>191|d<<24>>24>-1|(c+-1|0)==0)){b:do if((d&-32)<<24>>24==-64){f=2;d=c+-1|0}else{e=c+-1|0;while(1){if((d&-16)<<24>>24==-32){f=3;d=e;break b}if((d+16&255)<5){f=4;d=e;break b}e=e+-1|0;if(!e)break a;d=i[b+e>>0]|0;if((d&-32)<<24>>24==-64){f=2;d=e;break}}}while(0);c=(c-d|0)==(f|0)?c:d}while(0);ABb(a|0,b|0,c|0)|0;b=c;a=a+b|0;i[a>>0]=0;return b|0}function wfb(a,b,c){a=a|0;b=b|0;c=c|0;if(!(k[b>>2]|0)){c=(k[c+4>>2]|0)+48|0;k[c>>2]=k[c>>2]&-4098;return 0}else{b=(k[c+4>>2]|0)+48|0;a=k[b>>2]|k[c+20>>2];k[c+20>>2]=0;k[b>>2]=a|1;return 0}return 0}function xfb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0,f=0.0;b=r;r=r+16|0;a=k[c+4>>2]|0;if((k[a+48>>2]&4129|0)!=32){r=b;return 0}e=+(k[a+24>>2]|0);p[b+8>>3]=e;d=+(k[a+28>>2]|0);p[b>>3]=d;if(k[c+16>>2]|0){vg(0,b+8|0,b|0)|0;e=+p[b+8>>3];d=+p[b>>3]}f=+o[c+12>>2];ch(~~(e*f)|0,~~(d*f)|0);if(!(k[c+16>>2]|0))if(+o[c+12>>2]!=1.0)Oe(0,+(+p[b+8>>3]),+(+p[b>>3]))|0;V6a(k[c+4>>2]|0,5,~~+p[b+8>>3],~~+p[b>>3])|0;r=b;return 0}function yfb(a,b,c){a=a|0;b=b|0;c=c|0;V6a(k[c+4>>2]|0,k[b>>2]|0?2:1,0,0)|0;return 0}function zfb(a,b){a=a|0;b=b|0;Vc(5,k[b+8>>2]|0)|0;return}function Afb(a,b){a=a|0;b=b|0;var c=0.0;a=k[b+136>>2]|0;if(!a)return;c=+o[a+12>>2];ch(~~(+(k[b+24>>2]|0)*c)|0,~~(c*+(k[b+28>>2]|0))|0);if(k[a+16>>2]|0)return;if(!(+o[a+12>>2]!=1.0))return;Oe(0,+(+(k[b+24>>2]|0)),+(+(k[b+28>>2]|0)))|0;return}function Bfb(a,b){a=a|0;b=b|0;var c=0,d=0;c=k[b+136>>2]|0;if(!c)return;Cfb(c);d=k[c>>2]|0;if(d|0){Dfb(a,d);k[c>>2]=0}Y7a(k[b+136>>2]|0);k[b+136>>2]=0;return}function Cfb(a){a=a|0;ge(602391,0,0,0)|0;cf(602391,0,0,0)|0;Ed(602399,0,0,0)|0;gh(602391,0,0,0)|0;ug(602391,0,0,0)|0;oi(602391,0,0,0)|0;cg(602409,0,0,0)|0;Zb(602409,0,0,0)|0;Xf(602391,0,0,0)|0;ei(602391,0,0,0)|0;He(602391,0,0,0)|0;ag(602391,0,0,0)|0;a=C7a(602438)|0;a=a|0?a:602409;wc(a|0,0,0,0)|0;Se(a|0,0,0,0)|0;zh(a|0,0,0,0)|0;wg(602399,0,0,0)|0;Id(602409,0,0,0)|0;Zg(0,0,0)|0;return}function Dfb(a,b){a=a|0;b=b|0;a=k[a+652>>2]|0;if(!((b|0)!=0&(a|0)!=0))return;gj[k[a+52>>2]&511](k[a+8>>2]|0,b)|0;return}function Efb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+32|0;c=k[b+136>>2]|0;if(!c){r=e;return}if(!d){je()|0;r=e;return}a=k[b+48>>2]|0;k[e>>2]=(a&4097|0)==4097?1:2;do if((a&4097|0)==4097)if(!(a&8192)){k[e+4>>2]=1;break}else{k[e+4>>2]=2;break}else k[e+4>>2]=0;while(0);k[e+8>>2]=0;k[e+12>>2]=174;k[e+16>>2]=c;k[c+20>>2]=a&4097;k[c+24>>2]=(a&4097|0)==4097&1;if((gd(0,1,e|0)|0)>>>0>1)k[b+48>>2]=k[b+48>>2]&-4098;r=e;return}function Ffb(a,b,c){a=a|0;b=b|0;c=c|0;a=r;r=r+16|0;if(!(k[c+24>>2]|0)){r=a;return 0}vg(0,a+8|0,a|0)|0;V6a(k[c+4>>2]|0,5,~~+p[a+8>>3],~~+p[a>>3])|0;r=a;return 0}function Gfb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;g=r;r=r+32|0;f=(k[b+136>>2]|0)+8|0;N7a(k[f>>2]|0);c9a(374740996,g+16|0,g+12|0,g+8|0,g+4|0,g)|0;g7a(b,g+24|0,g+20|0);a=Ucb(0,k[g+24>>2]|0,k[g+20>>2]|0,k[g+16>>2]|0,k[g+12>>2]|0,k[g+8>>2]|0,k[g+4>>2]|0,k[g>>2]|0)|0;if(!a){d=-1;r=g;return d|0}k[f>>2]=a;k[c>>2]=374740996;k[d>>2]=k[a+20>>2];k[e>>2]=k[a+16>>2];d=0;r=g;return d|0}function Hfb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;d=r;r=r+16|0;a=k[(k[b+136>>2]|0)+8>>2]|0;if(!a){b=y6a(602600,d)|0;r=d;return b|0}else{te(6,k[a+8>>2]|0,k[a+12>>2]|0,k[a+20>>2]|0)|0;b=0;r=d;return b|0}return 0}function Ifb(a,b){a=a|0;b=b|0;b=(k[b+136>>2]|0)+8|0;N7a(k[b>>2]|0);k[b>>2]=0;return}function Jfb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=r;r=r+16|0;c=j7a(1,88)|0;k[a+652>>2]=c;if(!c){b=x7a(0)|0;r=e;return b|0}k[c+20>>2]=1554;k[c+24>>2]=175;k[c+28>>2]=1555;k[c+32>>2]=1556;k[c+36>>2]=107;k[c+72>>2]=99;k[c+40>>2]=100;k[c+44>>2]=388;k[c+48>>2]=101;k[c+52>>2]=389;k[c+56>>2]=102;k[c+60>>2]=390;k[c+64>>2]=391;k[c+76>>2]=1557;k[c+80>>2]=3;k[c+84>>2]=1558;c=Gi[k[c+20>>2]&2047](0)|0;d=k[a+652>>2]|0;k[d+8>>2]=c;if(!c){b=y6a(604100,e)|0;r=e;return b|0}if((Ri[k[d+24>>2]&255](c,0,0)|0)!=1){b=y6a(604126,e+8|0)|0;r=e;return b|0}k[a+364>>2]=1;if(!b){i[a+368>>0]=0;b=0;r=e;return b|0}else{z6a(a+368|0,b,255)|0;b=0;r=e;return b|0}return 0}function Kfb(a,b){a=a|0;b=b|0;var c=0,d=0;c=k[a+652>>2]|0;d=k[c+32>>2]|0;do if(d){c=Gi[d&2047](b)|0;if(!c){c=k[a+652>>2]|0;break}else{b=c;return b|0}}while(0);c=Lfb(k[c>>2]|0,b)|0;if(c|0){b=c;return b|0}if((G6a(b)|0)>>>0>=1023){b=0;return b|0}i[1276010]=95;z6a(1276011,b,1022)|0;b=Lfb(k[k[a+652>>2]>>2]|0,1276010)|0;return b|0}function Lfb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=r;r=r+16|0;c=Be(a|0,b|0)|0;if(c|0){b=c;r=d;return b|0}e=(G6a(b)|0)+2|0;c=r;r=r+((1*e|0)+15&-16)|0;i[c>>0]=95;z6a(c+1|0,b,e)|0;c=Be(a|0,c|0)|0;if(c|0){e=c;r=d;return e|0}e=cc()|0;k[d>>2]=b;k[d+4>>2]=e;y6a(604151,d)|0;e=0;r=d;return e|0}function Mfb(a){a=a|0;var b=0,c=0;b=k[a+652>>2]|0;if(!b)return;c=k[b+8>>2]|0;if(c){Gi[k[b+28>>2]&2047](c)|0;b=k[a+652>>2]|0;k[b+8>>2]=0}c=k[b+4>>2]|0;if(c){Nfb(c);b=k[a+652>>2]|0;k[b+4>>2]=0}c=k[b>>2]|0;if(c){Nfb(c);b=k[a+652>>2]|0;k[b>>2]=0}Y7a(b);k[a+652>>2]=0;return}function Nfb(a){a=a|0;if(!a)return;Gc(a|0)|0;return}function Ofb(a,b){a=a|0;b=b|0;return Pfb(a,k[k[b+136>>2]>>2]|0)|0}function Pfb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=r;r=r+96|0;c=k[a+344>>2]|0;d=k[a+332>>2]|0;e=k[a+336>>2]|0;if(!(k[a+652>>2]|0)){a=0;r=g;return a|0}if(!(k[a+348>>2]|0))f=0;else f=Qfb()|0;if((d|0)<3|(c|0)==4&(e|0)==0)if((c|4|0)==4&(k[a+340>>2]|0)==0){if((c|0)==4){k[g+36>>2]=12440;k[g+36+4>>2]=(d|0)>1?d:1;k[g+36+8>>2]=12344;Gi[k[(k[a+652>>2]|0)+84>>2]&2047](12448)|0}else{k[g+36>>2]=12344;Gi[k[(k[a+652>>2]|0)+84>>2]&2047](12450)|0}e=k[a+652>>2]|0;e=nj[k[e+40>>2]&127](k[e+8>>2]|0,k[e+12>>2]|0,f,g+36|0)|0;if(!e){y6a(604241,g+8|0)|0;a=0;r=g;return a|0}c=k[a+652>>2]|0;k[c+16>>2]=0;do if(!c)c=y6a(604270,g+16|0)|0;else{d=k[c+56>>2]|0;c=k[c+8>>2]|0;if(!b){nj[d&127](c,0,0,0)|0;a=e;r=g;return a|0}if(!(nj[d&127](c,b,b,e)|0)){c=y6a(604293,g+24|0)|0;break}else{a=e;r=g;return a|0}}while(0);if((c|0)>=0){a=e;r=g;return a|0}c=k[a+652>>2]|0;if(c|0){nj[k[c+56>>2]&127](k[c+8>>2]|0,0,0,0)|0;a=k[a+652>>2]|0;gj[k[a+44>>2]&511](k[a+8>>2]|0,e)|0}y6a(604328,g+32|0)|0;a=0;r=g;return a|0}y6a(604173,g)|0;a=0;r=g;return a|0}function Qfb(){var a=0,b=0;b=r;r=r+16|0;a=k[299476]|0;if(!a){y6a(593213,b)|0;a=0;r=b;return a|0}else{a=o8a(k[a+640>>2]|0)|0;r=b;return a|0}return 0}function Rfb(a,b,c){a=a|0;b=b|0;c=c|0;if((b|0)!=0&(c|0)!=0){b=Sfb(a,k[k[b+136>>2]>>2]|0,c)|0;return b|0}else{b=Sfb(a,0,0)|0;return b|0}return 0}function Sfb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;a=k[a+652>>2]|0;if(!a){b=y6a(604270,e)|0;r=e;return b|0}d=k[a+56>>2]|0;a=k[a+8>>2]|0;if(!((b|0)!=0&(c|0)!=0)){nj[d&127](a,0,0,0)|0;b=0;r=e;return b|0}if(nj[d&127](a,b,b,c)|0){b=0;r=e;return b|0}b=y6a(604293,e+8|0)|0;r=e;return b|0}function Tfb(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+16|0;c=k[a+652>>2]|0;if(!c){b=y6a(604363,d)|0;r=d;return b|0}if((gj[k[c+64>>2]&511](k[c+8>>2]|0,b)|0)==1){k[(k[a+652>>2]|0)+16>>2]=b;b=0;r=d;return b|0}else{b=y6a(604383,d+8|0)|0;r=d;return b|0}return 0}function Ufb(a){a=a|0;var b=0;b=r;r=r+16|0;a=k[a+652>>2]|0;if(!a){a=y6a(604363,b)|0;r=b;return a|0}else{a=k[a+16>>2]|0;r=b;return a|0}return 0}function Vfb(a,b){a=a|0;b=b|0;Wfb(a,k[k[b+136>>2]>>2]|0);return}function Wfb(a,b){a=a|0;b=b|0;a=k[a+652>>2]|0;gj[k[a+60>>2]&511](k[a+8>>2]|0,b)|0;return}function Xfb(a,b){a=a|0;b=b|0;gg(17664);Yfb(a,b);return}function Yfb(a,b){a=a|0;b=b|0;var c=0;c=k[a+652>>2]|0;if((b|0)==0|(c|0)==0)return;nj[k[c+56>>2]&127](k[c+8>>2]|0,0,0,0)|0;a=k[a+652>>2]|0;gj[k[a+44>>2]&511](k[a+8>>2]|0,b)|0;return}function Zfb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=k[b+136>>2]|0;if(!a)return;if(c|0)k[c>>2]=~~(+(k[b+24>>2]|0)*+o[a+12>>2]);if(!d)return;k[d>>2]=~~(+(k[b+28>>2]|0)*+o[a+12>>2]);return}function _fb(a){a=a|0;Y7a(a);return}function $fb(a){a=a|0;var b=0;b=r;r=r+16|0;k[a+4>>2]=103;k[a+32>>2]=745;k[a+64>>2]=1;k[a+56>>2]=1;k[a+52>>2]=1;a=si(7)|0;if(a|0){r=b;return a|0}y6a(605850,b)|0;r=b;return a|0}function agb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0.0,f=0;f=r;r=r+16|0;c=bgb(j[a+8>>1]|0)|0;a:do if(c<<16>>16){while(1){if(c<<16>>16==-32480)break;c=cgb()|0;if(!(c<<16>>16))break a}j[a+8>>1]=-32480;cgb()|0;c=p7a(20)|0;k[a+184>>2]=c;if(!c){a=x7a(0)|0;r=f;return a|0}O6a(c,0,20)|0;if((si(8)|0)<0){a=y6a(604826,f+8|0)|0;r=f;return a|0}d=si(9)|0;c=k[a+4>>2]|0;if((c|0)!=(d|0)){b=j[a+12>>1]|0;b:do if(b<<16>>16){if(+deb(+(b&65535)/+(d|0)*+(c|0))==+(b&65535)/+(d|0)*+(c|0))e=+(b&65535)/+(d|0)*+(c|0);else{c=b&65535;do{if((c|0)<=1)break b;c=c+-1|0;e=+(c|0)/+(d|0)*+(k[a+4>>2]|0)}while(!(+deb(e)==e))}b=~~+deb(e)>>>0;k[(k[a+184>>2]|0)+8>>2]=b}while(0);k[a+4>>2]=d}dgb(a+4|0);ld(10,l[a+10>>0]|0|0,m[a+12>>1]|0|0,746,a|0)|0;a=0;r=f;return a|0}while(0);a=y6a(604447,f)|0;r=f;return a|0}function bgb(a){a=a|0;k[300417]=0;if(a<<16>>16==8)a=0;else{k[300417]=1;if(a<<16>>16==-32760)a=1;else{k[300417]=2;if(a<<16>>16==-32752)a=2;else{k[300417]=3;if(a<<16>>16==-28656)a=3;else{k[300417]=4;if(a<<16>>16==16)a=4;else{k[300417]=5;if(a<<16>>16==4112)a=5;else{k[300417]=6;if(a<<16>>16==-32736)a=6;else{k[300417]=7;if(a<<16>>16==-28640)a=7;else{k[300417]=8;if(a<<16>>16==-32480)a=8;else{k[300417]=9;if(a<<16>>16==-28384)a=9;else{k[300417]=10;k[300418]=0;a=0;return a|0}}}}}}}}}}k[300418]=1;a=j[173522+(a*20|0)>>1]|0;return a|0}function cgb(){var a=0,b=0;a=k[300417]|0;b=k[300418]|0;if((a|0)==10|(b|0)==10){b=0;return b|0}k[300418]=b+1;b=j[173522+(a*20|0)+(b<<1)>>1]|0;return b|0}function dgb(a){a=a|0;var b=0;b=k[a+4>>2]|0;i[a+7>>0]=(b&65535)<<16>>16==8?-128:0;b=ha(b>>>16&255,b>>>3&31)|0;b=ha(m[a+8>>1]|0,b)|0;k[a+12>>2]=b;return}function egb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=k[a+8>>2]|0;d=(m[a+32>>1]|0)>>>3&31;if(!(k[a+136>>2]|0))return;if(k[a+144>>2]|0)return;c=k[a+184>>2]|0;if(!(k[a+28>>2]|0)){b=k[c>>2]|0;if(!b){b=k[a+16>>2]|0;k[c+4>>2]=b;b=p7a(b)|0;c=k[a+184>>2]|0;k[c>>2]=b}kj[k[a+20>>2]&255](k[a+24>>2]|0,b,k[c+4>>2]|0);b=k[a+184>>2]|0;c=k[b>>2]|0;b=k[b+4>>2]|0}else{b=k[c+8>>2]|0;if(!b){i=a+48|0;b=k[a+48>>2]|0}else{b=ha(ha(b,d)|0,j>>>16&255)|0;k[a+48>>2]=b;i=a+48|0}kj[k[a+20>>2]&255](k[a+24>>2]|0,k[a+44>>2]|0,b);fgb(a+28|0)|0;b=k[a+52>>2]|0;c=k[a+16>>2]|0;if((b|0)==(c|0))c=k[a+44>>2]|0;else{d=k[a+184>>2]|0;e=k[d>>2]|0;if(!e){c=(c>>>0>b>>>0?c:b)<<1;k[d+4>>2]=c;c=p7a(c)|0;d=k[a+184>>2]|0;k[d>>2]=c;b=k[a+52>>2]|0}else c=e;e=d+12|0;h=k[e>>2]|0;f=k[d+4>>2]|0;if((b+h|0)>>>0>f>>>0){g=k[d+16>>2]|0;if(h>>>0>g>>>0){Kcb(c,c+g|0,f-g|0)|0;d=k[a+184>>2]|0;e=(k[d+12>>2]|0)-(k[d+16>>2]|0)|0;k[d+12>>2]=e;b=k[a+52>>2]|0;c=k[d>>2]|0}else{k[e>>2]=0;e=0}k[d+16>>2]=0;d=e}else d=h;y7a(c+d|0,k[a+44>>2]|0,b)|0;d=k[a+184>>2]|0;h=(k[d+12>>2]|0)+(k[a+52>>2]|0)|0;k[d+12>>2]=h;c=k[d+16>>2]|0;b=k[a+16>>2]|0;if((h-c|0)>>>0>>0)do{kj[k[a+20>>2]&255](k[a+24>>2]|0,k[a+44>>2]|0,k[i>>2]|0);fgb(a+28|0)|0;b=k[a+184>>2]|0;d=k[b+12>>2]|0;c=k[a+52>>2]|0;e=k[b+4>>2]|0;if((c+d|0)>>>0>e>>>0){f=k[b+16>>2]|0;if(d>>>0>f>>>0){b=k[b>>2]|0;Kcb(b,b+f|0,e-f|0)|0;b=k[a+184>>2]|0;d=(k[b+12>>2]|0)-(k[b+16>>2]|0)|0;k[b+12>>2]=d;c=k[a+52>>2]|0}else{k[b+12>>2]=0;d=0}k[b+16>>2]=0}y7a((k[b>>2]|0)+d|0,k[a+44>>2]|0,c)|0;d=k[a+184>>2]|0;h=(k[d+12>>2]|0)+(k[a+52>>2]|0)|0;k[d+12>>2]=h;c=k[d+16>>2]|0;b=k[a+16>>2]|0}while((h-c|0)>>>0>>0);i=(k[d>>2]|0)+c|0;k[d+16>>2]=c+b;c=i}}if(!c)return;nc(11,c|0,((b|0)/(j>>>3&31|0)|0|0)/(l[a+10>>0]|0|0)|0|0)|0;return}function fgb(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;if(!(l[a+16>>0]|l[a+16+1>>0]<<8|l[a+16+2>>0]<<16|l[a+16+3>>0]<<24)){y6a(605225,c)|0;a=-1;r=c;return a|0}b=l[a+20>>0]|l[a+20+1>>0]<<8|l[a+20+2>>0]<<16|l[a+20+3>>0]<<24;i[a+24>>0]=b;i[a+24+1>>0]=b>>8;i[a+24+2>>0]=b>>16;i[a+24+3>>0]=b>>24;b=l[a+40>>0]|l[a+40+1>>0]<<8|l[a+40+2>>0]<<16|l[a+40+3>>0]<<24;if(!b){a=0;r=c;return a|0}i[a+80>>0]=0;i[a+80+1>>0]=0;i[a+80+2>>0]=0;i[a+80+3>>0]=0;Di[b&511](a,l[a+4>>0]|l[a+4+1>>0]<<8);a=0;r=c;return a|0}function ggb(a){a=a|0;var b=0,c=0;b=k[a+184>>2]|0;if(!b)return;c=k[b>>2]|0;if(c){Y7a(c);b=k[a+184>>2]|0;k[b>>2]=0}Y7a(b);k[a+184>>2]=0;return}function hgb(){var a=0;a=D7a(606548)|0;if(a|0)if(!(E7a(a,606296)|0)){a=1;return a|0}a=0;return a|0}function igb(a){a=a|0;a=j7a(1,664)|0;if(!a){x7a(0)|0;a=0;return a|0}else{k[a+4>>2]=1559;k[a+8>>2]=747;k[a+24>>2]=176;k[a+180>>2]=748;k[a+108>>2]=108;k[a+112>>2]=104;k[a+116>>2]=240;k[a+660>>2]=749;return a|0}return 0}function jgb(a){a=a|0;var b=0;b=r;r=r+32|0;k[b>>2]=370546692;k[b+4>>2]=1024;k[b+8>>2]=768;k[b+12>>2]=0;k[b+16>>2]=0;if((Eeb(b)|0)<0){a=-1;r=b;return a|0}O6a(b,0,20)|0;Ieb(k[a+244>>2]|0,b)|0;a=0;r=b;return a|0}function kgb(a){a=a|0;return}function lgb(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function mgb(a){a=a|0;return}function ngb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=r;r=r+32|0;N7a(ogb(b,605900)|0);c9a(370546692,f+16|0,f+12|0,f+8|0,f+4|0,f)|0;g7a(b,f+24|0,f+20|0);a=Ucb(0,k[f+24>>2]|0,k[f+20>>2]|0,k[f+16>>2]|0,k[f+12>>2]|0,k[f+8>>2]|0,k[f+4>>2]|0,k[f>>2]|0)|0;if(!a){b=-1;r=f;return b|0}pgb(b,605900,a)|0;k[c>>2]=370546692;k[d>>2]=k[a+20>>2];k[e>>2]=k[a+16>>2];b=0;r=f;return b|0}function ogb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=r;r=r+32|0;c=k[299476]|0;if(!c){y6a(593213,e)|0;d=0;r=e;return d|0}if(a|0)if((k[a>>2]|0)==(c+256|0)){if(b|0)if(i[b>>0]|0){c=k[a+132>>2]|0;if(!c){d=0;r=e;return d|0}while(1){a=k[c>>2]|0;if(a|0)if(!(E7a(a,b)|0))break;c=k[c+8>>2]|0;if(!c){c=0;d=14;break}}if((d|0)==14){r=e;return c|0}d=k[c+4>>2]|0;r=e;return d|0}k[e+16>>2]=607671;y6a(608563,e+16|0)|0;d=0;r=e;return d|0}y6a(606710,e+8|0)|0;d=0;r=e;return d|0}function pgb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=r;r=r+32|0;d=k[299476]|0;if(!d){y6a(593213,h)|0;a=0;r=h;return a|0}if(a|0)if((k[a>>2]|0)==(d+256|0)){if(b|0)if(i[b>>0]|0){d=k[a+132>>2]|0;a:do if(d|0){f=0;while(1){e=k[d>>2]|0;if(e|0)if(!(E7a(e,b)|0)){g=d;b=d;break}e=k[d+8>>2]|0;if(!e)break a;else{f=d;d=e}}e=k[b+4>>2]|0;if(c|0){k[b+4>>2]=c;a=e;r=h;return a|0}d=k[b+8>>2]|0;if(!f)k[a+132>>2]=d;else k[f+8>>2]=d;Y7a(k[g>>2]|0);Y7a(b);a=e;r=h;return a|0}while(0);if(!c){a=0;r=h;return a|0}g=p7a(12)|0;b=Ceb(b)|0;k[g>>2]=b;k[g+4>>2]=c;k[g+8>>2]=k[a+132>>2];k[a+132>>2]=g;a=0;r=h;return a|0}k[h+16>>2]=607671;y6a(608563,h+16|0)|0;a=0;r=h;return a|0}y6a(606710,h+8|0)|0;a=0;r=h;return a|0}function qgb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;d=r;r=r+144|0;a=ogb(b,605900)|0;if(!a){b=y6a(605918,d)|0;r=d;return b|0}if(!(D7a(605957)|0)){b=0;r=d;return b|0}c=rgb(b)|0;b=(k[300419]|0)+1|0;k[300419]=b;k[d+8>>2]=c;k[d+8+4>>2]=b;B6a(d+16|0,128,605985,d+8|0)|0;ygb(a,sgb(d+16|0,606212)|0,1)|0;b=0;r=d;return b|0}function rgb(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=k[299476]|0;if(!b){y6a(593213,c)|0;a=0;r=c;return a|0}if(a|0)if((k[a>>2]|0)==(b+256|0)){a=k[a+4>>2]|0;r=c;return a|0}y6a(606710,c+8|0)|0;a=0;r=c;return a|0}function sgb(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+16|0;if(a|0)if((b|0)!=0&(i[a>>0]|0)!=0)if(i[b>>0]|0){c=job(a,b)|0;if(!c){k[d+8>>2]=a;y6a(606055,d+8|0)|0;a=0;r=d;return a|0}b=p7a(36)|0;if(!b){x7a(0)|0;a=b;r=d;return a|0}else{k[b>>2]=1560;k[b+4>>2]=105;k[b+8>>2]=106;k[b+12>>2]=107;k[b+16>>2]=1561;k[b+28>>2]=c;k[b+24>>2]=1;k[b+20>>2]=2;a=b;r=d;return a|0}}y6a(606008,d)|0;a=0;r=d;return a|0}function tgb(a){a=a|0;var b=0,c=0,d=0,e=0;b=nj[k[a+4>>2]&127](a,0,0,1)|0;c=L;if((c|0)<0){c=-1;a=-1;L=c;return a|0}d=nj[k[a+4>>2]&127](a,0,0,2)|0;e=L;nj[k[a+4>>2]&127](a,b,c,0)|0;c=e;a=d;L=c;return a|0}function ugb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(!(Aob(k[a+28>>2]|0,b,d)|0))b=zpb(k[a+28>>2]|0)|0;else b=x7a(3)|0;L=((b|0)<0)<<31>>31;return b|0}function vgb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;d=Epb(b,c,d,k[a+28>>2]|0)|0;if(d|0)return d|0;if(!(rob(k[a+28>>2]|0)|0))return d|0;x7a(1)|0;return d|0}function wgb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;d=Dpb(b,c,d,k[a+28>>2]|0)|0;if(d|0)return d|0;if(!(rob(k[a+28>>2]|0)|0))return d|0;x7a(2)|0;return d|0}function xgb(a){a=a|0;var b=0;if(!a){b=0;return b|0}if(!(k[a+24>>2]|0))b=0;else if(!(mob(k[a+28>>2]|0)|0))b=0;else b=x7a(2)|0;Y7a(a);return b|0}function ygb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0;u=r;r=r+64|0;j[u+56>>1]=19778;if(!b){a=-1;r=u;return a|0}e=k[a+4>>2]|0;if(!(k[(k[a+52>>2]|0)+68>>2]&256))if(!(k[e+24>>2]|0))f=0;else g=4;else g=4;if((g|0)==4)f=1;d=i[e+8>>0]|0;do if(f|(k[e+4>>2]|0)==0){if(d<<24>>24==24)if((k[e+12>>2]|0)==16711680)if((k[e+16>>2]|0)==65280)if((k[e+20>>2]|0)==255){d=a;g=18;break}if(f)b9a(u+12|0,372645892)|0;else b9a(u+12|0,390076419)|0;d=meb(a,u+12|0,0)|0;if(!d){k[u+8>>2]=l[u+12+8>>0];y6a(606103,u+8|0)|0;break}else{g=18;break}}else if(d<<24>>24==8){d=a;g=18}else{k[u>>2]=d&255;y6a(606072,u)|0}while(0);if((g|0)==18)if(!(T7a(d)|0)){g=d+8|0;f=d+4|0;p=ha(l[(k[f>>2]|0)+9>>0]|0,k[g>>2]|0)|0;s=nj[k[b+4>>2]&127](b,0,0,1)|0;t=L;zgb();nj[k[b+12>>2]&127](b,u+56|0,2,1)|0;Agb(b,0)|0;Bgb(b,0)|0;Bgb(b,0)|0;Agb(b,0)|0;g=k[g>>2]|0;o=d+12|0;h=k[o>>2]|0;e=k[f>>2]|0;m=l[e+8>>0]|0;q=d+16|0;n=ha(k[q>>2]|0,h)|0;e=k[e+4>>2]|0;if(!e)e=0;else e=k[e>>2]|0;Agb(b,40)|0;Agb(b,g)|0;Agb(b,h)|0;Bgb(b,1)|0;Bgb(b,m)|0;Agb(b,0)|0;Agb(b,n)|0;Agb(b,0)|0;Agb(b,0)|0;Agb(b,e)|0;Agb(b,0)|0;e=k[(k[f>>2]|0)+4>>2]|0;if(e|0){g=k[e+4>>2]|0;e=k[e>>2]|0;if((e|0)>0){f=0;do{nj[k[b+12>>2]&127](b,g+(f<<2)+2|0,1,1)|0;nj[k[b+12>>2]&127](b,g+(f<<2)+1|0,1,1)|0;nj[k[b+12>>2]&127](b,g+(f<<2)|0,1,1)|0;nj[k[b+12>>2]&127](b,g+(f<<2)+3|0,1,1)|0;f=f+1|0}while((f|0)!=(e|0))}}e=nj[k[b+4>>2]&127](b,0,0,1)|0;e=EBb(e|0,L|0,s|0,t|0)|0;m=k[b+4>>2]|0;n=xBb(s|0,t|0,10,0)|0;nj[m&127](b,n,L,0)|0;if((L|0)<0)x7a(3)|0;Agb(b,e)|0;m=k[b+4>>2]|0;n=xBb(e|0,0,s|0,t|0)|0;nj[m&127](b,n,L,0)|0;if((L|0)<0)x7a(3)|0;m=d+20|0;g=k[q>>2]|0;o=ha(g,k[o>>2]|0)|0;e=(k[m>>2]|0)+o|0;h=((p|0)%4|0|0)==0?0:4-((p|0)%4|0)|0;a:do if((o|0)>0){b:do if(!h){if((nj[k[b+12>>2]&127](b,e+(0-g)|0,1,p)|0)==(p|0)){e=e+(0-g)|0;do{if(e>>>0<=(k[m>>2]|0)>>>0)break a;e=e+(0-(k[q>>2]|0))|0}while((nj[k[b+12>>2]&127](b,e,1,p)|0)==(p|0))}}else{f=(nj[k[b+12>>2]&127](b,e+(0-g)|0,1,p)|0)==(p|0);if((h|0)<=0){if(f)e=e+(0-g)|0;else break;while(1){if(e>>>0<=(k[m>>2]|0)>>>0)break a;e=e+(0-(k[q>>2]|0))|0;if((nj[k[b+12>>2]&127](b,e,1,p)|0)!=(p|0))break b}}if(f){e=e+(0-g)|0;do{i[u+12>>0]=0;f=0;do{nj[k[b+12>>2]&127](b,u+12|0,1,1)|0;f=f+1|0}while((f|0)!=(h|0));if(e>>>0<=(k[m>>2]|0)>>>0)break a;e=e+(0-(k[q>>2]|0))|0}while((nj[k[b+12>>2]&127](b,e,1,p)|0)==(p|0))}}while(0);x7a(2)|0}while(0);e=nj[k[b+4>>2]&127](b,0,0,1)|0;e=EBb(e|0,L|0,s|0,t|0)|0;p=k[b+4>>2]|0;q=xBb(s|0,t|0,2,0)|0;nj[p&127](b,q,L,0)|0;if((L|0)<0)x7a(3)|0;Agb(b,e)|0;q=k[b+4>>2]|0;t=xBb(e|0,0,s|0,t|0)|0;nj[q&127](b,t,L,0)|0;if((L|0)<0)x7a(3)|0;U7a(d);if((d|0)!=(a|0))N7a(d)}if(c|0)Gi[k[b+16>>2]&2047](b)|0;a=((E7a(A6a()|0,1279174)|0)!=0)<<31>>31;r=u;return a|0}function zgb(){k[155334]=0;return}function Agb(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c>>2]=b;b=nj[k[a+12>>2]&127](a,c,4,1)|0;r=c;return b|0}function Bgb(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;j[c>>1]=b;b=nj[k[a+12>>2]&127](a,c,2,1)|0;r=c;return b|0}function Cgb(a,b){a=a|0;b=b|0;N7a(pgb(b,605900,0)|0);return}function Dgb(a){a=a|0;Y7a(a);return}function Egb(a){a=a|0;k[a+4>>2]=108;k[a+12>>2]=750;k[a+16>>2]=751;k[a+24>>2]=1562;k[a+32>>2]=752;k[a>>2]=5;k[a+72>>2]=1;return 1}function Fgb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+16|0;d=b|0?0:c;if(!d){d=D7a(606162)|0;d=(d|0)==0?606180:d}b=D7a(606193)|0;c=p7a(16)|0;k[a+184>>2]=c;if(!c){a=x7a(0)|0;r=e;return a|0}O6a(c,0,16)|0;c=k[a+184>>2]|0;k[c+8>>2]=k[a+16>>2];if(!b)b=150;else{b=Ggb(b)|0;c=k[a+184>>2]|0}k[c+12>>2]=b;b=sgb(d,606212)|0;c=k[a+184>>2]|0;k[c>>2]=b;if(!b){if(!c){a=-1;r=e;return a|0}Y7a(k[c+4>>2]|0);d=k[a+184>>2]|0;k[d+4>>2]=0;c=k[d>>2]|0;if(c){Gi[k[c+16>>2]&2047](c)|0;d=k[a+184>>2]|0;k[d>>2]=0}Y7a(d);k[a+184>>2]=0;a=-1;r=e;return a|0}c=p7a(k[c+8>>2]|0)|0;b=k[a+184>>2]|0;k[b+4>>2]=c;if(c|0){O6a(c,l[a+11>>0]|0,k[a+16>>2]|0)|0;a=k[37151]|0;k[e>>2]=d;Cob(a,606215,e)|0;a=0;r=e;return a|0}if(!b){a=-1;r=e;return a|0}Y7a(0);d=k[a+184>>2]|0;k[d+4>>2]=0;c=k[d>>2]|0;if(c){Gi[k[c+16>>2]&2047](c)|0;d=k[a+184>>2]|0;k[d>>2]=0}Y7a(d);k[a+184>>2]=0;a=-1;r=e;return a|0}function Ggb(a){a=a|0;return Vpb(a)|0}function Hgb(a){a=a|0;t8a(k[(k[a+184>>2]|0)+12>>2]|0);return}function Igb(a){a=a|0;var b=0,c=0;b=k[a+184>>2]|0;c=k[b>>2]|0;b=nj[k[c+12>>2]&127](c,k[b+4>>2]|0,1,k[b+8>>2]|0)|0;if((b|0)==(k[(k[a+184>>2]|0)+8>>2]|0))return;Jgb(a);return}function Jgb(a){a=a|0;var b=0;b=r;r=r+64|0;if(!(k[a+136>>2]|0)){r=b;return}Si[k[1201724>>2]&1023](a);k[a+136>>2]=0;Si[k[1201728>>2]&1023](a);if((i7a(4353,-1)|0)<<24>>24!=1){r=b;return}O6a(b,0,56)|0;k[b>>2]=4353;k[b+8>>2]=k[a>>2];i[b+12>>0]=(k[a+132>>2]|0)!=0&1;m7a(b)|0;r=b;return}function Kgb(a){a=a|0;return k[(k[a+184>>2]|0)+4>>2]|0}function Lgb(a){a=a|0;var b=0,c=0;b=k[a+184>>2]|0;if(!b)return;Y7a(k[b+4>>2]|0);b=k[a+184>>2]|0;k[b+4>>2]=0;c=k[b>>2]|0;if(c){Gi[k[c+16>>2]&2047](c)|0;b=k[a+184>>2]|0;k[b>>2]=0}Y7a(b);k[a+184>>2]=0;return}function Mgb(){Ngb(0,607579,1);return}function Ngb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=r;r=r+64|0;d=G6a(b)|0;e=p7a(d+9|0)|0;do if(!a)if(!e){r=f;return}else{k[e>>2]=c;z6a(e+8|0,b,d+1|0)|0;k[e+4>>2]=k[300446];k[300446]=e;d=k[300444]|0;k[300444]=d+1;break}else if(!e){r=f;return}else{k[e>>2]=c;z6a(e+8|0,b,d+1|0)|0;k[e+4>>2]=k[300447];k[300447]=e;d=k[300445]|0;k[300445]=d+1;break}while(0);if((d|0)==-1){r=f;return}if((i7a(4352,-1)|0)<<24>>24!=1){r=f;return}O6a(f,0,56)|0;k[f>>2]=4352;k[f+8>>2]=d;i[f+12>>0]=a;m7a(f)|0;r=f;return}function Ogb(a){a=a|0;k[a+4>>2]=109;k[a+64>>2]=1;return 1}function Pgb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return 0}function Qgb(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;zgb();Rgb();b=((a>>>4&512|a)&544|0)==0?a>>>4&512|a:a>>>4&512|a|16384;if(b&16384|0){a=i[1277048]|0;do if(!(a<<24>>24))if((Sgb()|0)<0){b=-1;r=c;return b|0}else{Tgb()|0;a=i[1277048]|0;break}while(0);i[1277048]=a+1<<24>>24}if(b&1|0){a=i[1277034]|0;do if(!(a<<24>>24))if((Vgb()|0)<0){b=-1;r=c;return b|0}else{a=i[1277034]|0;break}while(0);i[1277034]=a+1<<24>>24}if(b&32|0){a=i[1277039]|0;do if(!(a<<24>>24))if((ihb(0)|0)<0){b=-1;r=c;return b|0}else{a=i[1277039]|0;break}while(0);i[1277039]=a+1<<24>>24}if(b&16|0){a=i[1277038]|0;do if(!(a<<24>>24))if((Gib(0)|0)<0){b=-1;r=c;return b|0}else{a=i[1277038]|0;break}while(0);i[1277038]=a+1<<24>>24}if(b&512|0){a=i[1277043]|0;do if(!(a<<24>>24))if((Vib()|0)<0){b=-1;r=c;return b|0}else{a=i[1277043]|0;break}while(0);i[1277043]=a+1<<24>>24}if(b&8192|0){a=i[1277047]|0;do if(!(a<<24>>24))if(($ib()|0)<0){b=-1;r=c;return b|0}else{a=i[1277047]|0;break}while(0);i[1277047]=a+1<<24>>24}if(!(b&4096)){b=0;r=c;return b|0}b=y6a(608458,c)|0;r=c;return b|0}function Rgb(){if(k[299761]|0)return;k[299761]=1;if(!(Rd(4,1199048)|0)){k[299764]=1;return}else{sf(1199060,0)|0;return}}function Sgb(){i7a(771,0)|0;i7a(770,0)|0;i7a(513,0)|0;k[31081]=1;return 0}function Tgb(){var a=0,b=0;b=r;r=r+144|0;a=C7a(606325)|0;if(!a)k[300448]=0;else{a=(Ggb(a)|0)==1;k[300448]=a&1;if(a){r=b;return 0}}ee(2,0,b|0)|0;if(!(k[b>>2]|0)){k[b>>2]=753;ee(2,b|0,0)|0}ee(15,0,b|0)|0;if(!(k[b>>2]|0)){k[b>>2]=753;ee(15,b|0,0)|0}r=b;return 0}function Ugb(a){a=a|0;Dg(a|0,753)|0;k[299769]=1;return}function Vgb(){var a=0;if(k[300489]|0){a=0;return a|0}a=Wgb()|0;k[300452]=a;if(!a){a=-1;return a|0}a=Xgb(0)|0;k[300486]=a;if(!a){Ygb(k[300452]|0);a=-1;return a|0}k[300489]=1;a=ahb(1563,606382,1201796)|0;k[300449]=a;if(!a){ehb();a=-1;return a|0}else{bhb(1201800,1)|0;a=0;return a|0}return 0}function Wgb(){var a=0,b=0;a=p7a(12)|0;if(!a){x7a(0)|0;return a|0}b=Xgb(1)|0;k[a+8>>2]=b;k[a>>2]=0;k[a+4>>2]=0;if(b|0){b=a;return b|0}Y7a(a);b=0;return b|0}function Xgb(a){a=a|0;a=r;r=r+16|0;y6a(606348,a)|0;r=a;return 0}function Ygb(a){a=a|0;if(!a)return;Y7a(a);return}function Zgb(a){a=a|0;return}function _gb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0;d=0;c=0;while(1){s8a(a+144|0);b=k[a+152>>2]|0;k[a+152>>2]=0;if(d|0){k[c+24>>2]=k[a+156>>2];k[a+156>>2]=d}u8a(a+144|0);if(b|0)do{h=b+24|0;g=b;b=k[h>>2]|0;c=k[a+164>>2]|0;do if(!c){c=0;m=11}else{f=k[g+16>>2]|0;d=c;e=0;while(1){if((f-(k[d+16>>2]|0)|0)<0){c=d;d=e;m=9;break}c=k[d+24>>2]|0;if(!c){c=0;break}else{e=d;d=c}}if((m|0)==9){m=0;if(!d){m=11;break}}k[d+24>>2]=g}while(0);if((m|0)==11){m=0;k[a+164>>2]=g}k[h>>2]=c}while((b|0)!=0);if(!(k[a+160>>2]|0))break;l=n7a()|0;b=k[a+164>>2]|0;a:do if(!b){b=-1;d=0;c=0}else{d=0;j=0;b:while(1){while(1){c=b+16|0;e=k[c>>2]|0;if((l-e|0)<0){c=j;break b}i=b+24|0;k[a+164>>2]=k[i>>2];e=b+20|0;if(k[e>>2]|0){c=b;break}g=gj[k[b+4>>2]&511](k[b+12>>2]|0,k[b+8>>2]|0)|0;if(!g){c=b;break}k[c>>2]=g+l;h=k[a+164>>2]|0;do if(!h){c=0;m=25}else{e=h;f=0;while(1){if((g+l-(k[e+16>>2]|0)|0)<0){c=e;e=f;m=23;break}c=k[e+24>>2]|0;if(!c){c=0;break}else{f=e;e=c}}if((m|0)==23){m=0;if(!e){m=25;break}}k[e+24>>2]=b;b=h}while(0);if((m|0)==25){m=0;k[a+164>>2]=b}k[i>>2]=c;if(!b){b=-1;c=j;break a}}d=(d|0)==0?c:d;if(j|0)k[j+24>>2]=c;k[e>>2]=1;b=k[a+164>>2]|0;if(!b){b=-1;break a}else j=c}b=e-l|0}while(0);l=(n7a()|0)-l|0;$gb(k[a+148>>2]|0,b>>>0>>0?0:b-l|0)|0}return 0}function $gb(a,b){a=a|0;b=b|0;a=r;r=r+16|0;b=y6a(606348,a)|0;r=a;return b|0}function ahb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=p7a(800)|0;if(!e){x7a(0)|0;e=0;return e|0}O6a(e,0,800)|0;k[e+8>>2]=-1;bhb(e+12|0,0)|0;if(b|0){d=Ceb(b)|0;k[e+792>>2]=d;if(!d){x7a(0)|0;Y7a(e);e=0;return e|0}}d=p7a(16)|0;if(!d){x7a(0)|0;b=k[e+792>>2]|0;if(b|0)Y7a(b);Y7a(e);e=0;return e|0}k[d>>2]=a;k[d+4>>2]=c;k[d+8>>2]=e;a=Xgb(0)|0;k[d+12>>2]=a;if(!a){b=k[e+792>>2]|0;if(b|0)Y7a(b);Y7a(e);Y7a(d);e=0;return e|0}if((chb(e,d)|0)>-1){dhb(k[d+12>>2]|0)|0;b=e}else{b=k[e+792>>2]|0;if(b|0)Y7a(b);Y7a(e);b=0}Y7a(d);e=b;return e|0}function bhb(a,b){a=a|0;b=b|0;var c=0;c=k[a>>2]|0;k[a>>2]=b;return c|0}function chb(a,b){a=a|0;b=b|0;b=r;r=r+16|0;a=y6a(606391,b)|0;r=b;return a|0}function dhb(a){a=a|0;var b=0;b=r;r=r+16|0;a=y6a(606348,b)|0;r=b;return a|0}function ehb(){var a=0;if(!(k[300489]|0))return;k[300489]=0;if(k[300449]|0){fhb(k[300486]|0)|0;ghb(k[300449]|0,0);k[300449]=0}k[300486]=0;a=k[300490]|0;if(a|0)do{k[300490]=k[a+24>>2];Y7a(a);a=k[300490]|0}while((a|0)!=0);if(k[300488]|0)do{a=k[300488]|0;k[300488]=k[a+24>>2];Y7a(a)}while((k[300488]|0)!=0);a=k[300451]|0;if(a|0)do{k[300451]=k[a+8>>2];Y7a(a);a=k[300451]|0}while((a|0)!=0);Ygb(k[300452]|0);k[300452]=0;return}function fhb(a){a=a|0;var b=0;b=r;r=r+16|0;a=y6a(606348,b)|0;r=b;return a|0}function ghb(a,b){a=a|0;b=b|0;if(!a)return;if(b|0)k[b>>2]=k[a+8>>2];b=k[a+792>>2]|0;if(b|0)Y7a(b);Y7a(a);return}function hhb(a){a=a|0;return}function ihb(a){a=a|0;var b=0,c=0,d=0,e=0;e=r;r=r+32|0;if(k[299476]|0)jhb();Rgb();if((Qgb(16384)|0)<0){d=-1;r=e;return d|0}if((Mhb()|0)<0){d=-1;r=e;return d|0}if((Nhb()|0)<0){d=-1;r=e;return d|0}if((Ohb()|0)<0){d=-1;r=e;return d|0}do if(!a){a=D7a(606548)|0;if(!a){if(oj[k[136364>>2]&7]()|0){a=Gi[k[136368>>2]&2047](0)|0;if(a|0){c=0;break}}if(oj[k[137288>>2]&7]()|0){a=Gi[k[137292>>2]&2047](0)|0;if(a|0){c=1;break}}d=y6a(606581,e+8|0)|0;r=e;return d|0}else d=10}else d=10;while(0);do if((d|0)==10){d=k[34089]|0;if(!(Phb(d,a,G6a(a)|0)|0))if(!(oj[k[136364>>2]&7]()|0))d=12;else{b=139376;c=0;d=15}else d=12;if((d|0)==12){c=k[34320]|0;if(!(Phb(c,a,G6a(a)|0)|0))if(oj[k[137288>>2]&7]()|0){b=139380;c=1;d=15}}if((d|0)==15){b=Gi[k[(k[b>>2]|0)+12>>2]&2047](0)|0;if(b|0){a=b;break}}k[e>>2]=a;d=y6a(606564,e)|0;r=e;return d|0}while(0);k[299476]=a;k[a>>2]=k[k[139376+(c<<2)>>2]>>2];a=k[299476]|0;k[a+260>>2]=1;k[a+364>>2]=0;k[a+624>>2]=0;if(a|0){k[a+268>>2]=3;k[a+272>>2]=3;k[a+276>>2]=2;k[a+280>>2]=0;k[a+288>>2]=0;k[a+284>>2]=16;k[a+292>>2]=0;k[a+296>>2]=1;k[a+300>>2]=0;k[a+300+4>>2]=0;k[a+300+8>>2]=0;k[a+300+12>>2]=0;k[a+300+16>>2]=0;k[a+300+20>>2]=0;k[a+300+24>>2]=0;k[a+360>>2]=1;k[a+328>>2]=-1;k[a+332>>2]=2;k[a+336>>2]=0;k[a+344>>2]=4;k[a+340>>2]=0;k[a+356>>2]=0;k[a+352>>2]=1;k[a+348>>2]=0}b=Qhb()|0;k[(k[299476]|0)+636>>2]=b;b=Qhb()|0;c=k[299476]|0;k[c+640>>2]=b;if((Gi[k[c+4>>2]&2047](c)|0)<0){jhb();d=-1;r=e;return d|0}a=k[299476]|0;if(!(k[a+240>>2]|0)){jhb();d=y6a(606607,e+16|0)|0;r=e;return d|0}do if(!(k[a+108>>2]|0))d=30;else{a=C7a(606804)|0;if(a|0)if(!(J8a(a,606649)|0))break;a=C7a(606658)|0;if(a|0)if((i[a>>0]|0)!=48){a=k[299476]|0;d=30}}while(0);if((d|0)==30){k[a+108>>2]=109;k[a+112>>2]=110;k[a+116>>2]=241}a=C7a(607477)|0;if(!a)d=33;else if(!(Ggb(a)|0))d=33;else d=37;if((d|0)==33){b=k[299476]|0;if(b|0)if(!(k[b+236>>2]|0)){k[b+236>>2]=1;a=k[b+184>>2]|0;if(!a)d=37;else{Si[a&1023](b);d=37}}else d=37}if((d|0)==37){a=k[299476]|0;if(a|0){b=k[a+200>>2]|0;if(b|0)if(Gi[b&2047](a)|0){d=0;r=e;return d|0}}}i7a(771,1)|0;i7a(770,1)|0;a=k[299476]|0;if(!a){d=0;r=e;return d|0}b=k[a+248>>2]|0;do if(b){do{if(k[b+48>>2]&512|0){c=b;d=44;break}b=k[b+144>>2]|0}while((b|0)!=0);if((d|0)==44){b=k[a+204>>2]|0;if(!b)break;Di[b&511](a,c);a=k[299476]|0}if(!a){d=0;r=e;return d|0}}while(0);b=k[a+188>>2]|0;if(!b){d=0;r=e;return d|0}Si[b&1023](a);d=0;r=e;return d|0}function jhb(){var a=0,b=0,c=0,d=0,e=0;if(!(k[299476]|0))return;khb();mhb();rhb(16384);a=k[299476]|0;if(k[a+236>>2]|0){k[a+236>>2]=0;b=k[a+184>>2]|0;if(b){Si[b&1023](a);a=k[299476]|0}}b=k[a+248>>2]|0;if(b)do{Lhb(b);a=k[299476]|0;b=k[a+248>>2]|0}while((b|0)!=0);Si[k[a+8>>2]&1023](a);a=k[299476]|0;c=k[a+240>>2]|0;b=k[a+244>>2]|0;if((c|0)>0){e=0;do{a=k[b+(e*68|0)+8>>2]|0;d=b+(e*68|0)+12|0;if(!a)a=k[d>>2]|0;else{c=k[d>>2]|0;do{a=a+-1|0;Y7a(k[c+(a*20|0)+16>>2]|0);c=k[d>>2]|0;k[c+(a*20|0)+16>>2]=0}while((a|0)!=0);a=c}Y7a(a);k[d>>2]=0;a=b+(e*68|0)+32|0;Y7a(k[a>>2]|0);k[a>>2]=0;a=b+(e*68|0)+64|0;Y7a(k[a>>2]|0);k[a>>2]=0;e=e+1|0;a=k[299476]|0;c=k[a+240>>2]|0;b=k[a+244>>2]|0}while((e|0)<(c|0))}if(b){a=a+244|0;if((c|0)>0){Y7a(k[b>>2]|0);a=k[299476]|0;if((k[a+240>>2]|0)>1){a=a+244|0;b=1;while(1){Y7a(k[(k[a>>2]|0)+(b*68|0)>>2]|0);b=b+1|0;a=k[299476]|0;if((b|0)>=(k[a+240>>2]|0)){a=a+244|0;break}else a=a+244|0}}else a=a+244|0}Y7a(k[a>>2]|0);a=k[299476]|0;k[a+244>>2]=0;k[a+240>>2]=0}Y7a(k[a+264>>2]|0);e=k[299476]|0;k[e+264>>2]=0;Si[k[e+660>>2]&1023](e);k[299476]=0;return}function khb(){var a=0,b=0;a=k[300415]|0;if(a|0)do{a=a+-1|0;b=k[(k[300416]|0)+(a<<2)>>2]|0;lhb(k[b>>2]|0,k[b+4>>2]|0)}while((a|0)!=0);Y7a(k[300416]|0);k[300416]=0;return}function lhb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=r;r=r+16|0;g=k[300415]|0;a:do if((g|0)>0){d=k[300416]|0;c=0;while(1){f=k[d+(c<<2)>>2]|0;if((k[f>>2]|0)==(a|0)?(k[f+4>>2]|0)==(b|0):0){e=c;break}c=c+1|0;if((c|0)>=(g|0)){e=-1;break}}c=0;while(1){f=k[d+(c<<2)>>2]|0;if((k[f>>2]|0)==(a|0)?(k[f+4>>2]|0)==(b|0):0)break;c=c+1|0;if((c|0)>=(g|0))break a}if((c|0)>-1&(c|0)<(g|0)){if(!f){r=h;return}if((k[f+12>>2]|0)>0){c=0;do{Y7a(k[(k[f+16>>2]|0)+(c<<2)>>2]|0);c=c+1|0}while((c|0)<(k[f+12>>2]|0))}Y7a(k[f+16>>2]|0);Y7a(f);f=(k[300415]|0)+-1|0;k[300415]=f;g=k[300416]|0;k[g+(e<<2)>>2]=k[g+(f<<2)>>2];r=h;return}}while(0);y6a(602417,h)|0;r=h;return}function mhb(){var a=0,b=0,c=0,d=0,e=0;if(k[299485]|0){a=afb()|0;if(a|0)if(k[a+48>>2]&16384|0)if((Gi[k[1197940>>2]&2047](0)|0)!=-1)k[a+48>>2]=k[a+48>>2]&-16385}nhb(0)|0;d=k[299503]|0;k[299503]=1;do if((d|0)!=1){a=(k[299488]|0)==0?k[299501]|0:k[299502]|0;b=k[299479]|0;if((a|0)!=0&(k[299496]|0)==0){if(!b)break;Gi[b&2047](a)|0;break}else{if(!b)break;Gi[b&2047](0)|0;break}}while(0);a=k[299500]|0;if(a|0)do{d=a;a=k[a>>2]|0;b=k[299501]|0;a:do if((b|0)!=(d|0)){do if((k[299502]|0)==(d|0)){if(!b)b=(k[299488]|0)==0?0:d;else k[299502]=b;c=k[299479]|0;if((b|0)!=0&(k[299503]|0)!=0&(k[299496]|0)==0){if(!c)break;Gi[c&2047](b)|0;break}else{if(!c)break;Gi[c&2047](0)|0;break}}while(0);b=k[299500]|0;if(b|0){c=0;while(1){if((b|0)==(d|0))break;c=k[b>>2]|0;if(!c)break a;else{e=b;b=c;c=e}}b=k[d>>2]|0;if(!c)k[299500]=b;else k[c>>2]=b;b=k[299481]|0;if(b|0)Si[b&1023](d)}}while(0)}while((a|0)!=0);a=k[299501]|0;if(a|0){b=k[299481]|0;if(b|0)Si[b&1023](a)}a=k[299499]|0;if(!a){O6a(1197908,0,112)|0;return}Y7a(a);O6a(1197908,0,112)|0;return}function nhb(a){a=a|0;var b=0,c=0,d=0,e=0;e=afb()|0;if((k[299496]|0)==(a|0))return 0;do if((a|0)!=0&(e|0)!=0){b=k[299488]|0;do if((b|0)!=(e|0)){if(b|0)V6a(b,11,0,0)|0;k[299488]=e;V6a(e,10,0,0)|0;b=(k[299488]|0)==0?k[299501]|0:k[299502]|0;c=k[299479]|0;if((b|0)!=0&(k[299503]|0)!=0&(k[299496]|0)==0){if(!c)break;Gi[c&2047](b)|0;break}else{if(!c)break;Gi[c&2047](0)|0;break}}while(0);c=(k[e+24>>2]|0)/2|0;d=(k[e+28>>2]|0)/2|0;b=k[299482]|0;if(b|0){kj[b&255](e,c,d);break}b=k[299487]|0;if(f7a(e,c,d)|0)h7a(e,b,0,c,d)|0}while(0);a:do if((a|0)!=0|(k[299497]|0)==0){do if(a|0){if(k[299484]|0){b=C7a(606434)|0;if(!b)break;if((i[b>>0]|0)==48)break}k[299497]=1;break a}while(0);if((a|0)!=0&(Gi[k[1197936>>2]&2047](a)|0)<0)k[299497]=1}else k[299497]=0;while(0);k[299496]=a;b=k[299488]|0;do if(b|0){ohb(b);if(!a){c=k[299488]|0;d=k[299489]|0;e=k[299490]|0;if(c|0){b=k[299482]|0;if(b|0){kj[b&255](c,d,e);break}b=k[299487]|0;if(f7a(c,d,e)|0)h7a(c,b,0,d,e)|0}}}while(0);phb(1024);b=(k[299488]|0)==0?k[299501]|0:k[299502]|0;c=k[299479]|0;if((b|0)!=0&(k[299503]|0)!=0&(k[299496]|0)==0){if(!c)return 0;Gi[c&2047](b)|0;return 0}else{if(!c)return 0;Gi[c&2047](0)|0;return 0}return 0}function ohb(a){a=a|0;var b=0,c=0,d=0,e=0;e=(c7a()|0)+76|0;d=k[a+48>>2]|0;b=k[299476]|0;c=k[b+252>>2]|0;if((d&512|0)==0?1:(k[e>>2]|d&256|0)==0)if((c|0)==(a|0)){k[b+252>>2]=0;d=0}else d=0;else{if(!((c|0)==0|(c|0)==(a|0))){k[c+48>>2]=k[c+48>>2]&-257;d=k[b+100>>2]|0;if(d){kj[d&255](b,c,0);b=k[299476]|0}}k[b+252>>2]=a;d=1}c=k[b+100>>2]|0;if(!c)return;kj[c&255](b,a,d);return}function phb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(!(k[31081]|0))return;if(k7a(k[31080]|0)|0)return;b=k[31084]|0;if(b|0)do{e=b+72|0;f=b;b=k[e>>2]|0;c=b;if((k[f>>2]|0)==(a|0)){d=k[f+68>>2]|0;if(!d)c=b;else{k[d+72>>2]=c;c=k[e>>2]|0}if(c|0)k[c+68>>2]=d;if((k[31084]|0)==(f|0))k[31084]=c;if((k[31085]|0)==(f|0))k[31085]=k[f+68>>2];k[e>>2]=k[31086];k[31086]=f;k[31082]=(k[31082]|0)+-1}}while((b|0)!=0);return}function qhb(){return}function rhb(a){a=a|0;var b=0;do if(a&8192){b=i[1277047]|0;if(!(b<<24>>24))a=a|512;else{if(b<<24>>24==1|0){shb();b=i[1277047]|0;if(!(b<<24>>24)){a=a|512;break}}i[1277047]=b+-1<<24>>24;a=a|512}}while(0);do if(a&512){a=a|16384;b=i[1277043]|0;if(b<<24>>24){if(b<<24>>24==1|0){Ehb();b=i[1277043]|0;if(!(b<<24>>24))break}i[1277043]=b+-1<<24>>24}}while(0);do if(a&16|0){b=i[1277038]|0;if(b<<24>>24){if(b<<24>>24==1|0){Ghb();b=i[1277038]|0;if(!(b<<24>>24))break}i[1277038]=b+-1<<24>>24}}while(0);do if(a&32){a=a|16384;b=i[1277039]|0;if(b<<24>>24){if(b<<24>>24==1|0){jhb();b=i[1277039]|0;if(!(b<<24>>24))break}i[1277039]=b+-1<<24>>24}}while(0);do if(a&1|0){b=i[1277034]|0;if(b<<24>>24){if(b<<24>>24==1|0){ehb();b=i[1277034]|0;if(!(b<<24>>24))break}i[1277034]=b+-1<<24>>24}}while(0);if(!(a&16384))return;a=i[1277048]|0;if(!(a<<24>>24))return;if(a<<24>>24==1|0){Ihb();Jhb();a=i[1277048]|0;if(!(a<<24>>24))return}i[1277048]=a+-1<<24>>24;return}function shb(){var a=0,b=0,c=0,d=0;a=k[300491]|0;if(a|0)do{k[a+4>>2]=0;thb(k[a>>2]|0);b=k[300491]|0;a:do if(b|0){c=0;while(1){if((b|0)==(a|0))break;c=k[b+896>>2]|0;if(!c)break a;else{d=b;b=c;c=d}}b=k[a+896>>2]|0;if(!c){k[300491]=b;break}else{k[c+896>>2]=b;break}}while(0);Y7a(a);a=k[300491]|0}while((a|0)!=0);a=k[300492]|0;if(!a){Dhb(392,0);return}do{k[300492]=k[a+24>>2];Y7a(k[a+16>>2]|0);Y7a(k[a+20>>2]|0);Y7a(a);a=k[300492]|0}while((a|0)!=0);Dhb(392,0);return}function thb(a){a=a|0;var b=0,c=0,d=0;if(!a)return;c=k[a+44>>2]|0;k[a+44>>2]=c+-1;if((c|0)>1|(k[300493]|0)==(a|0))return;k[a+40>>2]=0;b=k[300494]|0;a:do if(b|0){c=0;while(1){if((b|0)==(a|0))break;c=k[b+56>>2]|0;if(!c)break a;else{d=b;b=c;c=d}}b=k[a+56>>2]|0;if(!c){k[300494]=b;break}else{k[c+56>>2]=b;break}}while(0);Y7a(k[a+4>>2]|0);Y7a(k[a+12>>2]|0);Y7a(k[a+20>>2]|0);Y7a(k[a+28>>2]|0);Y7a(k[a+36>>2]|0);Y7a(a);return}function uhb(a){a=a|0;return}function vhb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0,p=0,q=0;q=r;r=r+64|0;switch(k[b>>2]|0){case 1536:{d=i[b+12>>0]|0;if((d&255)>19){r=q;return 1}a=k[300491]|0;if(!a){r=q;return 1}c=k[b+8>>2]|0;while(1){if((k[k[a>>2]>>2]|0)==(c|0)){m=a;f=a;break}a=k[a+896>>2]|0;if(!a){p=18;break}}if((p|0)==18){r=q;return 1}c=k[f+320+((d&255)<<2)>>2]|0;if((c|0)>-1){a=j[b+16>>1]|0;if((c&-2|0)==4)a=((a<<16>>16|0)/2|0)+16384&65535;if((i7a(1616,-1)|0)<<24>>24!=1){r=q;return 1}k[q>>2]=1616;k[q+8>>2]=k[k[m>>2]>>2];i[q+12>>0]=c;j[q+16>>1]=a;m7a(q)|0;r=q;return 1}else{c=k[f+560+((d&255)<<2)>>2]|0;if((c|0)<=-1){r=q;return 1}a=j[b+16>>1]|0;a=((a<<16>>16<0?0-(a<<16>>16)|0:a<<16>>16)|0)>16384;b=a?1617:1618;k[q>>2]=b;if((i7a(b,-1)|0)<<24>>24==1){k[q+8>>2]=k[k[m>>2]>>2];i[q+12>>0]=c;i[q+13>>0]=a&1;m7a(q)|0}r=q;return 1}}case 1540:case 1539:{d=j[b+12>>1]|0;if((d&255)>19){r=q;return 1}a=k[300491]|0;if(!a){r=q;return 1}c=k[b+8>>2]|0;while(1){if((k[k[a>>2]>>2]|0)==(c|0)){h=a;g=a;break}a=k[a+896>>2]|0;if(!a){p=18;break}}if((p|0)==18){r=q;return 1}a=k[g+480+((d&255)<<2)>>2]|0;if((a|0)<=-1){a=k[g+400+((d&255)<<2)>>2]|0;if((a|0)<=-1){r=q;return 1}if((i7a(1616,-1)|0)<<24>>24!=1){r=q;return 1}k[q>>2]=1616;k[q+8>>2]=k[k[h>>2]>>2];i[q+12>>0]=a;j[q+16>>1]=((d&65535)>>>8&255)<<24>>24?32767:0;m7a(q)|0;r=q;return 1}switch((d&65535)>>>8&65535|0){case 1:{k[q>>2]=1617;e=1617;p=27;break}case 0:{k[q>>2]=1618;e=1618;p=27;break}default:{}}if((p|0)==27)if((i7a(e,-1)|0)<<24>>24==1){k[q+8>>2]=k[k[h>>2]>>2];i[q+12>>0]=a;i[q+13>>0]=(d&65535)>>>8;m7a(q)|0}r=q;return 1}case 1538:{f=j[b+12>>1]|0;if((f&255)>3){r=q;return 1}a=k[300491]|0;if(!a){r=q;return 1}c=k[b+8>>2]|0;while(1){if((k[k[a>>2]>>2]|0)==(c|0)){n=a;o=a;break}a=k[a+896>>2]|0;if(!a){p=18;break}}if((p|0)==18){r=q;return 1}d=i[o+8+(f&255)>>0]|0;e=(f&255)<<4;c=((f&65535)>>>8&255&d^d)&255;if(c&4|0){a=k[o+640+((e|4)<<2)>>2]|0;if((a|0)!=-1){k[q>>2]=1618;if((i7a(1618,-1)|0)<<24>>24==1){k[q+8>>2]=k[k[n>>2]>>2];i[q+12>>0]=a;i[q+13>>0]=0;m7a(q)|0}}}if(c&1|0){a=k[o+640+((e|1)<<2)>>2]|0;if((a|0)!=-1){k[q>>2]=1618;if((i7a(1618,-1)|0)<<24>>24==1){k[q+8>>2]=k[k[n>>2]>>2];i[q+12>>0]=a;i[q+13>>0]=0;m7a(q)|0}}}if(c&8|0){a=k[o+640+((e|8)<<2)>>2]|0;if((a|0)!=-1){k[q>>2]=1618;if((i7a(1618,-1)|0)<<24>>24==1){k[q+8>>2]=k[k[n>>2]>>2];i[q+12>>0]=a;i[q+13>>0]=0;m7a(q)|0}}}if(c&2|0){a=k[o+640+((e|2)<<2)>>2]|0;if((a|0)!=-1){k[q>>2]=1618;if((i7a(1618,-1)|0)<<24>>24==1){k[q+8>>2]=k[k[n>>2]>>2];i[q+12>>0]=a;i[q+13>>0]=0;m7a(q)|0}}}c=(i[b+13>>0]^(f&65535)>>>8&255&d)&255;if(c&4|0){a=k[o+640+((e|4)<<2)>>2]|0;if((a|0)!=-1){k[q>>2]=1617;if((i7a(1617,-1)|0)<<24>>24==1){k[q+8>>2]=k[k[n>>2]>>2];i[q+12>>0]=a;i[q+13>>0]=1;m7a(q)|0}}}if(c&1|0){a=k[o+640+((e|1)<<2)>>2]|0;if((a|0)!=-1){k[q>>2]=1617;if((i7a(1617,-1)|0)<<24>>24==1){k[q+8>>2]=k[k[n>>2]>>2];i[q+12>>0]=a;i[q+13>>0]=1;m7a(q)|0}}}if(c&8|0){a=k[o+640+((e|8)<<2)>>2]|0;if((a|0)!=-1){k[q>>2]=1617;if((i7a(1617,-1)|0)<<24>>24==1){k[q+8>>2]=k[k[n>>2]>>2];i[q+12>>0]=a;i[q+13>>0]=1;m7a(q)|0}}}if(c&2|0){a=k[o+640+((e|2)<<2)>>2]|0;if((a|0)!=-1){k[q>>2]=1617;if((i7a(1617,-1)|0)<<24>>24==1){k[q+8>>2]=k[k[n>>2]>>2];i[q+12>>0]=a;i[q+13>>0]=1;m7a(q)|0}}}i[(l[b+12>>0]|0)+(o+8)>>0]=i[b+13>>0]|0;r=q;return 1}case 1541:{if(!(whb(k[b+8>>2]|0)|0)){r=q;return 1}k[q>>2]=1619;k[q+8>>2]=k[b+8>>2];m7a(q)|0;r=q;return 1}case 1542:{a=k[300491]|0;if(!a){r=q;return 1}c=k[b+8>>2]|0;while(1){if((k[k[a>>2]>>2]|0)==(c|0))break;a=k[a+896>>2]|0;if(!a){p=18;break}}if((p|0)==18){r=q;return 1}k[q>>2]=1620;k[q+8>>2]=c;m7a(q)|0;r=q;return 1}default:{r=q;return 1}}return 0}function whb(a){a=a|0;var b=0,c=0,d=0;c=r;r=r+16|0;xhb(c,a);b=k[300492]|0;a:do if(!b)b=0;else while(1){if(!(U6a(c,b,16)|0))break a;b=k[b+24>>2]|0;if(!b){b=0;break}}while(0);d=k[300497]|0;b=(b|0)==0&(d|0)!=0?d:b;if(b|0){d=b;r=c;return d|0}b=Ahb(a)|0;if(!b){d=0;r=c;return d|0}if(!(Chb(b,606463)|0))if(!(Chb(b,606468)|0)){d=0;r=c;return d|0}d=k[300498]|0;r=c;return d|0}function xhb(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+32|0;if((b|0)>=0)if((yhb()|0)>(b|0)){zhb(a,b);r=d;return}b=yhb()|0;k[d>>2]=b;y6a(609261,d)|0;O6a(d+8|0,0,16)|0;b=d+8|0;c=a+16|0;do{i[a>>0]=i[b>>0]|0;a=a+1|0;b=b+1|0}while((a|0)<(c|0));r=d;return}function yhb(){return k[300495]|0}function zhb(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+16|0;c=k[300496]|0;if((b|0)>0)while(1){c=k[c+1320>>2]|0;if((b|0)>1)b=b+-1|0;else break}c=k[c+4>>2]|0;O6a(d,0,16)|0;if((G6a(c)|0)>>>0>16)b=16;else b=G6a(c)|0;y7a(d,c,b)|0;c=a;b=d;a=c+16|0;do{i[c>>0]=i[b>>0]|0;c=c+1|0;b=b+1|0}while((c|0)<(a|0));r=d;return}function Ahb(a){a=a|0;var b=0;b=r;r=r+16|0;if((a|0)>=0)if((yhb()|0)>(a|0)){a=Bhb(a)|0;r=b;return a|0}a=yhb()|0;k[b>>2]=a;y6a(609261,b)|0;a=0;r=b;return a|0}function Bhb(a){a=a|0;var b=0;b=k[300496]|0;if((a|0)>0)while(1){b=k[b+1320>>2]|0;if((a|0)>1)a=a+-1|0;else break}return k[b+4>>2]|0}function Chb(a,b){a=a|0;b=b|0;return Dob(a,b)|0}function Dhb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=k[299767]|0;if(!c)return;else d=0;while(1){if((k[c>>2]|0)==(a|0))if((k[c+4>>2]|0)==(b|0)){a=c;break}d=k[c+8>>2]|0;if(!d){e=9;break}else{f=c;c=d;d=f}}if((e|0)==9)return;c=k[a+8>>2]|0;if(!d)k[299767]=c;else k[d+8>>2]=c;Y7a(a);return}function Ehb(){var a=0;a=k[300494]|0;if(a|0)do{k[a+44>>2]=1;thb(a);a=k[300494]|0}while((a|0)!=0);Fhb();rhb(16384);return}function Fhb(){var a=0,b=0;a=k[300496]|0;if(a|0)do{b=a;a=k[a+1320>>2]|0;Y7a(k[b+8>>2]|0);Y7a(k[b+4>>2]|0);Y7a(b)}while((a|0)!=0);k[300499]=0;k[300496]=0;k[300495]=0;k[300500]=0;Yh(0,0,0)|0;Jf(0,0,0)|0;return}function Ghb(){var a=0,b=0,c=0;if(!(k[300420]|0))return;a=k[300501]|0;if(a|0){Hhb(a);k[300501]=0}a=k[300502]|0;if(a|0){Hhb(a);k[300502]=0}a=k[300503]|0;if(a|0){Hhb(a);k[300503]=0}a=k[300504]|0;if(a|0){Hhb(a);k[300504]=0}a=k[300505]|0;if(a|0){Hhb(a);k[300505]=0}a=k[300506]|0;if(a|0){Hhb(a);k[300506]=0}a=k[300507]|0;if(a|0){Hhb(a);k[300507]=0}a=k[300508]|0;if(a|0){Hhb(a);k[300508]=0}a=k[300509]|0;if(a|0){Hhb(a);k[300509]=0}a=k[300510]|0;if(a|0){Hhb(a);k[300510]=0}a=k[300511]|0;if(a|0){Hhb(a);k[300511]=0}a=k[300512]|0;if(a|0){Hhb(a);k[300512]=0}a=k[300513]|0;if(a|0){Hhb(a);k[300513]=0}a=k[300514]|0;if(a|0){Hhb(a);k[300514]=0}a=k[300515]|0;if(a|0){Hhb(a);k[300515]=0}a=k[300516]|0;if(a|0){Hhb(a);k[300516]=0}a=k[300446]|0;if(a|0)do{c=a;a=k[a+4>>2]|0;b=k[c>>2]|0;if(b|0)Si[k[1201732>>2]&1023](b);Y7a(c)}while((a|0)!=0);k[300446]=0;k[300444]=0;a=k[300447]|0;if(a|0)do{c=a;a=k[a+4>>2]|0;b=k[c>>2]|0;if(b|0)Si[k[1201732>>2]&1023](b);Y7a(c)}while((a|0)!=0);k[300447]=0;k[300445]=0;rj[k[1201736>>2]&15]();Ygb(k[300441]|0);O6a(1201680,0,112)|0;O6a(1202004,0,64)|0;return}function Hhb(a){a=a|0;var b=0,c=0;k[a+136>>2]=0;k[a+140>>2]=1;b=k[a+160>>2]|0;if(b|0)ghb(b,0);b=k[a+156>>2]|0;if(b|0)Ygb(b);Y7a(k[a+152>>2]|0);if(k[a+28>>2]|0)Y7a(k[a+44>>2]|0);if(k[a+148>>2]|0){Si[k[1201720>>2]&1023](a);k[a+148>>2]=0}b=k[a+168>>2]|0;if(b|0)do{c=b;b=k[b+8200>>2]|0;Y7a(c)}while((b|0)!=0);b=k[a+176>>2]|0;if(!b){Y7a(a);return}do{c=b;b=k[b+8200>>2]|0;Y7a(c)}while((b|0)!=0);Y7a(a);return}function Ihb(){var a=0;a=r;r=r+144|0;if(k[300448]|0){r=a;return}ee(2,0,a|0)|0;if((k[a>>2]|0)==753){k[a>>2]=0;ee(2,a|0,0)|0}ee(15,0,a|0)|0;if((k[a>>2]|0)==753){k[a>>2]=0;ee(15,a|0,0)|0}r=a;return}function Jhb(){var a=0,b=0,c=0;b=r;r=r+16|0;a=C7a(606474)|0;k[31081]=0;if(a|0)if(Ggb(a)|0){k[b>>2]=k[31083];Khb(606501,b)}a=k[31084]|0;if(a|0)do{c=a;a=k[a+72>>2]|0;Y7a(c)}while((a|0)!=0);a=k[31086]|0;if(a|0)do{c=a;a=k[a+72>>2]|0;Y7a(c)}while((a|0)!=0);a=k[31087]|0;if(a|0)do{c=a;a=k[a+12>>2]|0;Y7a(c)}while((a|0)!=0);a=k[31088]|0;if(a|0)do{c=a;a=k[a+12>>2]|0;Y7a(c)}while((a|0)!=0);k[31082]=0;k[31083]=0;k[31084]=0;k[31085]=0;k[31086]=0;k[31087]=0;k[31088]=0;a=0;do{c=1198020+(a<<2)|0;Y7a(k[c>>2]|0);k[c>>2]=0;a=a+1|0}while((a|0)!=256);a=k[299767]|0;if(a|0)do{k[299767]=k[a+8>>2];Y7a(a);a=k[299767]|0}while((a|0)!=0);if(!(k[31080]|0)){r=b;return}Ygb(k[31080]|0);k[31080]=0;r=b;return}function Khb(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c>>2]=b;D6a(0,3,a,c);r=c;return}function Lhb(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+32|0;b=k[299476]|0;if(!b){y6a(593213,d)|0;r=d;return}if(a|0)if((k[a>>2]|0)==(b+256|0)){k[a+116>>2]=1;if(k[a+48>>2]&4|0){k[a+112>>2]=1;K6a(a,0)|0;b=k[299476]|0;c=k[b+64>>2]|0;if(c|0)Di[c&511](b,a);k[a+112>>2]=0;V6a(a,2,0,0)|0}if((afb()|0)==(a|0))Zeb(0);if((L7a()|0)==(a|0))d7a(0);if(k[a+48>>2]&2|0)if((k[(k[299476]|0)+628>>2]|0)==(a|0))n8a(a,0)|0;b=k[a+104>>2]|0;if(b|0){k[b>>2]=k[b>>2]&-5;N7a(b)}b=k[299476]|0;c=k[b+116>>2]|0;if(c){Di[c&511](b,a);b=k[299476]|0}c=k[b+104>>2]|0;if(c|0)Di[c&511](b,a);do if(k[a+48>>2]&2|0){c=k[299476]|0;if(!c){y6a(593213,d+16|0)|0;break}b=k[c+364>>2]|0;if((b|0)>0){k[c+364>>2]=b+-1;if((b|0)<=1){b=k[c+148>>2]|0;if(b|0)Si[b&1023](c)}}}while(0);b=L6a(a)|0;if((b|0)>-1)b=(k[(k[299476]|0)+244>>2]|0)+(b*68|0)|0;else b=0;b=b+56|0;if((k[b>>2]|0)==(a|0))k[b>>2]=0;k[a>>2]=0;Y7a(k[a+8>>2]|0);N7a(k[a+12>>2]|0);Y7a(k[a+96>>2]|0);b=k[a+132>>2]|0;if(b|0)do{k[a+132>>2]=k[b+8>>2];Y7a(k[b>>2]|0);Y7a(b);b=k[a+132>>2]|0}while((b|0)!=0);b=k[a+144>>2]|0;if(b|0)k[b+140>>2]=k[a+140>>2];c=k[a+140>>2]|0;if(!c)k[(k[299476]|0)+248>>2]=b;else k[c+144>>2]=b;Y7a(a);r=d;return}y6a(606710,d+8|0)|0;r=d;return}function Mhb(){y7a(1199612,137328,2048)|0;return 0}function Nhb(){k[299503]=1;return 0}function Ohb(){return 0}function Phb(a,b,c){a=a|0;b=b|0;c=c|0;return Onb(a,b,c)|0}function Qhb(){return (Rhb(1202068,1)|0)+1|0}function Rhb(a,b){a=a|0;b=b|0;var c=0;c=k[a>>2]|0;k[a>>2]=c+b;return c|0}function Shb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0;o=r;r=r+112|0;a=k[299476]|0;a:do if(!a){y6a(593213,o)|0;g=11}else{if(b|0)if((k[b>>2]|0)==(a+256|0)){a=k[b+132>>2]|0;if(!a){g=11;break}while(1){f=k[a>>2]|0;if(f|0)if(!(E7a(f,606687)|0))break;a=k[a+8>>2]|0;if(!a){g=11;break a}}a=k[a+4>>2]|0;if(!a){g=11;break}else break}y6a(606710,o+8|0)|0;g=11}while(0);do if((g|0)==11){f=C7a(606658)|0;b:do if(!f)g=19;else if((i[f>>0]&-2)<<24>>24==48)g=19;else if(!(J8a(f,606649)|0))g=19;else if((Thb()|0)>0){a=0;while(1){Uhb(a,o+20|0)|0;if(!(J8a(k[o+20>>2]|0,f)|0))break;a=a+1|0;if((a|0)>=(Thb()|0)){g=19;break b}}a=Vhb(b,a,0)|0;if(!a)g=19;else f=a}else g=19;while(0);c:do if((g|0)==19){d:do if((Thb()|0)>0){f=0;while(1){Uhb(f,o+20|0)|0;if(E7a(k[o+20>>2]|0,606649)|0){a=Vhb(b,f,0)|0;if(a|0)break}f=f+1|0;if((f|0)>=(Thb()|0))break d}f=a;break c}while(0);d=y6a(607016,o+16|0)|0;r=o;return d|0}while(0);a=j7a(1,20)|0;if(a|0){pgb(b,606687,a)|0;k[a>>2]=f;break}bib(f);d=x7a(0)|0;r=o;return d|0}while(0);m=a+4|0;f=k[m>>2]|0;if(f|0){cib(f);k[m>>2]=0}n=a+8|0;Y7a(k[n>>2]|0);k[n>>2]=0;if((eib(k[a>>2]|0,o+20|0)|0)<0){d=-1;r=o;return d|0}j=k[o+20+12>>2]|0;k[c>>2]=j;l=k[o+20+8>>2]|0;e:do if(!l)f=j;else{f=j;g=0;f:while(1){g:do if((f|0)==0|(f&-268435456|0)==268435456){h=f>>>24&15;if((h+-4|0)>>>0<3)switch(f>>>20&15|0){case 8:case 7:case 4:case 3:break g;default:{}}if((h+-7|0)>>>0>=5)break f;switch(f>>>20&15|0){case 5:case 6:case 2:case 3:break;default:break f}}while(0);g=g+1|0;if(g>>>0>=l>>>0){f=j;break e}f=k[o+20+12+(g<<2)>>2]|0}k[c>>2]=f}while(0);l=fib(k[a>>2]|0,f,1,k[b+24>>2]|0,k[b+28>>2]|0)|0;k[m>>2]=l;if(!l){d=-1;r=o;return d|0}f=k[c>>2]|0;h:do if((f|0)==0|(f&-268435456|0)==268435456)f=f&255;else{if((f|0)<1498831189)switch(f|0){case 844715353:{f=2;break h}default:{}}else switch(f|0){case 1498831189:{f=2;break h}default:{}}f=(f|0)==1431918169?2:1}while(0);k[a+16>>2]=f;f=(ha(k[b+24>>2]|0,f)|0)+3&-4;g=a+12|0;k[g>>2]=f;f=p7a(ha(f,k[b+28>>2]|0)|0)|0;k[n>>2]=f;if(!f){d=x7a(0)|0;r=o;return d|0}else{k[d>>2]=f;k[e>>2]=k[g>>2];Whb(k[a>>2]|0,0)|0;d=0;r=o;return d|0}return 0}function Thb(){return 2}function Uhb(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+16|0;if(a>>>0>1){k[d>>2]=1;c=y6a(609616,d)|0;r=d;return c|0}else{a=(k[139388+(a<<2)>>2]|0)+4|0;c=b+84|0;do{k[b>>2]=k[a>>2];b=b+4|0;a=a+4|0}while((b|0)<(c|0));c=0;r=d;return c|0}return 0}function Vhb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+48|0;if(!a){y6a(606710,e)|0;a=0;r=e;return a|0}if(ogb(a,606725)|0){y6a(606747,e+8|0)|0;a=0;r=e;return a|0}d=C7a(606787)|0;do if(d)if((i[d>>0]|0)==48){c=c&-5;break}else{c=c|4;break}while(0);a:do if((b|0)<0){d=C7a(606804)|0;do if(d|0){if(!(J8a(d,k[31052]|0)|0))d=124204;else if(!(J8a(d,k[34068]|0)|0))d=136268;else break;d=gj[k[d>>2]&511](a,c)|0;if(d|0)break a}while(0);if((k[31053]&c|0)==(c|0)){d=gj[k[31051]&511](a,c)|0;if(d|0)break}if((k[34069]&c|0)==(c|0)){d=gj[k[34067]&511](a,c)|0;if(d|0)break}y6a(606822,e+16|0)|0;a=0;r=e;return a|0}else if((b|0)>1){k[e+24>>2]=1;y6a(606859,e+24|0)|0;a=0;r=e;return a|0}else{d=gj[k[k[139388+(b<<2)>>2]>>2]&511](a,c)|0;if(!d)d=0;else break;r=e;return d|0}while(0);k[d>>2]=1276008;k[d+188>>2]=a;o[d+284>>2]=1.0;o[d+288>>2]=1.0;b=((H6a(a)|0)&72|0)!=0&1;k[d+192>>2]=b;pgb(a,606725,d)|0;Whb(d,0)|0;$hb(393,d);k[e+32>>2]=k[d+104>>2];aib(6,606995,e+32|0);a=d;r=e;return a|0}function Whb(a,b){a=a|0;b=b|0;var c=0,d=0;c=r;r=r+32|0;if(a|0)if((k[a>>2]|0)==1276008){a:do if(!b){k[a+212>>2]=0;k[a+216>>2]=0;b=k[a+304>>2]|0;if(b|0){if((k[b>>2]|0)==1276009){k[a+220>>2]=k[b+12>>2];k[a+224>>2]=k[b+16>>2];break}y6a(594950,c+8|0)|0;a=-1;r=c;return a|0}b=k[a+8>>2]|0;do if(!b){b=k[a+188>>2]|0;if(!b){b=y6a(594966,c+16|0)|0;break}else{g7a(b,a+220|0,a+224|0);break a}}else b=Ri[b&255](a,a+220|0,a+224|0)|0;while(0);if((b|0)<0){a=-1;r=c;return a|0}}else{d=~~+deb(+(k[b>>2]|0)*+o[a+284>>2]);k[a+212>>2]=d;d=~~+deb(+(k[b+4>>2]|0)*+o[a+288>>2]);k[a+216>>2]=d;d=~~+oeb(+(k[b+8>>2]|0)*+o[a+284>>2]);k[a+220>>2]=d;b=~~+oeb(+(k[b+12>>2]|0)*+o[a+288>>2]);k[a+224>>2]=b}while(0);d=Gi[k[a+48>>2]&2047](a)|0;r=c;return d|0}y6a(594933,c)|0;d=-1;r=c;return d|0}function Xhb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0.0,f=0.0,g=0;g=r;r=r+16|0;switch(k[b>>2]|0){case 512:{c=Yhb(k[b+8>>2]|0)|0;if((c|0)!=(k[a+188>>2]|0)){r=g;return 0}d=k[a+4>>2]|0;if(d|0)Di[d&511](a,b);switch(i[b+12>>0]|0){case 6:{d=k[a+304>>2]|0;do if(d|0){c=k[a+44>>2]|0;if(c|0)if(k[a+108>>2]&8|0){k[a+304>>2]=0;if((gj[c&511](a,0)|0)<0)break;k[a+212>>2]=k[a+228>>2];k[a+212+4>>2]=k[a+228+4>>2];k[a+212+8>>2]=k[a+228+8>>2];k[a+212+12>>2]=k[a+228+12>>2];k[a+244>>2]=k[a+260>>2];k[a+244+4>>2]=k[a+260+4>>2];k[a+244+8>>2]=k[a+260+8>>2];k[a+244+12>>2]=k[a+260+12>>2];k[a+276>>2]=k[a+280>>2];b=k[a+292+4>>2]|0;k[a+284>>2]=k[a+292>>2];k[a+284+4>>2]=b;b=k[a+208>>2]|0;k[a+196>>2]=k[a+204>>2];k[a+200>>2]=b;if((Gi[k[a+48>>2]&2047](a)|0)<0)break;Gi[k[a+52>>2]&2047](a)|0;break}x7a(4)|0}while(0);if(!(k[a+196>>2]|0)){c=k[a+8>>2]|0;if(!c)g7a(k[a+188>>2]|0,g+4|0,g);else Ri[c&255](a,g+4|0,g)|0;if(!(k[a+304>>2]|0)){k[a+212>>2]=0;k[a+216>>2]=0;k[a+220>>2]=k[g+4>>2];k[a+224>>2]=k[g>>2];Gi[k[a+48>>2]&2047](a)|0}else{k[a+228>>2]=0;k[a+232>>2]=0;k[a+236>>2]=k[g+4>>2];k[a+240>>2]=k[g>>2]}}else Zhb(a)|0;if(!d){r=g;return 0}_hb(a,d)|0;r=g;return 0}case 2:{k[a+192>>2]=1;r=g;return 0}case 1:{if((H6a(c)|0)&64|0){r=g;return 0}k[a+192>>2]=0;r=g;return 0}case 7:{k[a+192>>2]=1;r=g;return 0}case 8:case 9:{if((H6a(c)|0)&8|0){r=g;return 0}k[a+192>>2]=0;r=g;return 0}default:{r=g;return 0}}}case 1024:{c=Yhb(k[b+8>>2]|0)|0;if(!(k[a+196>>2]|0)){r=g;return 0}if((c|0)!=(k[a+188>>2]|0)){r=g;return 0}c=(k[b+24>>2]|0)-(k[a+216>>2]|0)|0;e=+o[a+284>>2];k[b+20>>2]=~~(+((k[b+20>>2]|0)-(k[a+212>>2]|0)|0)/e);f=+o[a+288>>2];k[b+24>>2]=~~(+(c|0)/f);c=k[b+28>>2]|0;if((c|0)>0)k[b+28>>2]=(~~(+(c|0)/e)|0)<1?1:~~(+(c|0)/e);else if((c|0)<0)k[b+28>>2]=(~~(+(c|0)/e)|0)>-1?-1:~~(+(c|0)/e);c=k[b+32>>2]|0;if((c|0)>0){k[b+32>>2]=(~~(+(c|0)/f)|0)<1?1:~~(+(c|0)/f);r=g;return 0}if((c|0)>=0){r=g;return 0}k[b+32>>2]=(~~(+(c|0)/f)|0)>-1?-1:~~(+(c|0)/f);r=g;return 0}case 1026:case 1025:{c=Yhb(k[b+8>>2]|0)|0;if(!(k[a+196>>2]|0)){r=g;return 0}if((c|0)!=(k[a+188>>2]|0)){r=g;return 0}d=(k[b+24>>2]|0)-(k[a+216>>2]|0)|0;k[b+20>>2]=~~(+((k[b+20>>2]|0)-(k[a+212>>2]|0)|0)/+o[a+284>>2]);k[b+24>>2]=~~(+(d|0)/+o[a+288>>2]);r=g;return 0}default:{r=g;return 0}}return 0}function Yhb(a){a=a|0;var b=0;b=k[299476]|0;if(!b){a=0;return a|0}b=k[b+248>>2]|0;if(!b){a=0;return a|0}while(1){if((k[b+4>>2]|0)==(a|0)){a=5;break}b=k[b+144>>2]|0;if(!b){b=0;a=5;break}}if((a|0)==5)return b|0;return 0}function Zhb(a){a=a|0;var b=0,c=0.0,d=0.0,e=0;e=r;r=r+64|0;k[e+60>>2]=1;k[e+56>>2]=1;if(a|0)if((k[a>>2]|0)==1276008){b=k[a+304>>2]|0;a:do if(!b){b=k[a+8>>2]|0;do if(!b){b=k[a+188>>2]|0;if(!b){b=y6a(594966,e+16|0)|0;break}else{g7a(b,e+60|0,e+56|0);break a}}else b=Ri[b&255](a,e+60|0,e+56|0)|0;while(0);if((b|0)<0){a=-1;r=e;return a|0}}else{if((k[b>>2]|0)==1276009){k[e+60>>2]=k[b+12>>2];k[e+56>>2]=k[b+16>>2];break}y6a(594950,e+8|0)|0;a=-1;r=e;return a|0}while(0);c=+(k[a+196>>2]|0)/+(k[a+200>>2]|0);d=+(k[e+60>>2]|0)/+(k[e+56>>2]|0);if((k[a>>2]|0)==1276008){o[a+284>>2]=1.0;o[a+288>>2]=1.0}else y6a(594933,e+24|0)|0;do if(+A7a(c-d)<.0001){c=+(k[e+60>>2]|0)/+(k[a+196>>2]|0);Whb(a,0)|0}else if(c>d){b=k[e+60>>2]|0;c=+(b|0)/+(k[a+196>>2]|0);k[e+40>>2]=0;k[e+40+8>>2]=b;b=~~+oeb(c*+(k[a+200>>2]|0));k[e+40+12>>2]=b;k[e+40+4>>2]=((k[e+56>>2]|0)-b|0)/2|0;Whb(a,e+40|0)|0;break}else{b=k[e+56>>2]|0;c=+(b|0)/+(k[a+200>>2]|0);k[e+40+4>>2]=0;k[e+40+12>>2]=b;b=~~+oeb(c*+(k[a+196>>2]|0));k[e+40+8>>2]=b;k[e+40>>2]=((k[e+60>>2]|0)-b|0)/2|0;Whb(a,e+40|0)|0;break}while(0);if((k[a>>2]|0)==1276008){o[a+284>>2]=c;o[a+288>>2]=c;a=0;r=e;return a|0}else{y6a(594933,e+32|0)|0;a=0;r=e;return a|0}}y6a(594933,e)|0;a=-1;r=e;return a|0}function _hb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=r;r=r+32|0;if(a|0){d=k[a+44>>2]|0;if(d|0)if(k[a+108>>2]&8|0){c=k[a+304>>2]|0;if((c|0)==(b|0)){a=0;r=e;return a|0}do if(!b){c=0;b=0}else{if((k[b>>2]|0)!=1276009){y6a(594950,e)|0;a=-1;r=e;return a|0}if((k[b+32>>2]|0)!=(a|0)){a=y6a(606902,e+8|0)|0;r=e;return a|0}if((k[b+8>>2]|0)==2){f=k[b+36>>2]|0;b=(f|0)==0?b:f;if(c|0){c=b;b=(b|0)!=0;break}k[a+228>>2]=k[a+212>>2];k[a+228+4>>2]=k[a+212+4>>2];k[a+228+8>>2]=k[a+212+8>>2];k[a+228+12>>2]=k[a+212+12>>2];k[a+260>>2]=k[a+244>>2];k[a+260+4>>2]=k[a+244+4>>2];k[a+260+8>>2]=k[a+244+8>>2];k[a+260+12>>2]=k[a+244+12>>2];k[a+280>>2]=k[a+276>>2];c=k[a+284+4>>2]|0;k[a+292>>2]=k[a+284>>2];k[a+292+4>>2]=c;k[a+204>>2]=k[a+196>>2];k[a+208>>2]=k[a+200>>2];c=b;b=(b|0)!=0;break}else{f=y6a(606945,e+16|0)|0;r=e;return f|0}}while(0);k[a+304>>2]=c;if((gj[d&511](a,c)|0)<0){f=-1;r=e;return f|0}if(b){k[a+212>>2]=0;k[a+216>>2]=0;f=k[c+12>>2]|0;k[a+220>>2]=f;b=k[c+16>>2]|0;k[a+224>>2]=b;o[a+284>>2]=1.0;o[a+288>>2]=1.0;c=f}else{k[a+212>>2]=k[a+228>>2];k[a+212+4>>2]=k[a+228+4>>2];k[a+212+8>>2]=k[a+228+8>>2];k[a+212+12>>2]=k[a+228+12>>2];k[a+244>>2]=k[a+260>>2];k[a+244+4>>2]=k[a+260+4>>2];k[a+244+8>>2]=k[a+260+8>>2];k[a+244+12>>2]=k[a+260+12>>2];k[a+276>>2]=k[a+280>>2];b=k[a+292+4>>2]|0;k[a+284>>2]=k[a+292>>2];k[a+284+4>>2]=b;b=k[a+208>>2]|0;c=k[a+204>>2]|0}k[a+196>>2]=c;k[a+200>>2]=b;if((Gi[k[a+48>>2]&2047](a)|0)<0){f=-1;r=e;return f|0}f=(Gi[k[a+52>>2]&2047](a)|0)>>31;r=e;return f|0}}f=x7a(4)|0;r=e;return f|0}function $hb(a,b){a=a|0;b=b|0;var c=0;c=p7a(12)|0;if(!c)return;k[c>>2]=a;k[c+4>>2]=b;k[c+8>>2]=0;a=k[299767]|0;if(!a){k[299767]=c;return}do{b=a+8|0;a=k[b>>2]|0}while((a|0)!=0);k[b>>2]=c;return}function aib(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;k[d>>2]=c;D6a(a,3,b,d);r=d;return}function bib(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;if(a|0)if((k[a>>2]|0)==1276008){Dhb(393,a);b=k[a+300>>2]|0;if(b|0)do{cib(b);b=k[a+300>>2]|0}while((b|0)!=0);b=k[a+188>>2]|0;if(b|0)pgb(b,606725,0)|0;k[a>>2]=0;Si[k[a+92>>2]&1023](a);r=c;return}y6a(594933,c)|0;r=c;return}function cib(a){a=a|0;var b=0,c=0,d=0,e=0;e=r;r=r+16|0;if(a|0)if((k[a>>2]|0)==1276009){d=k[a+32>>2]|0;do if((k[d+304>>2]|0)==(a|0)){if(d|0){b=k[d+44>>2]|0;if(b|0)if(k[d+108>>2]&8|0){k[d+304>>2]=0;if((gj[b&511](d,0)|0)<0)break;k[d+212>>2]=k[d+228>>2];k[d+212+4>>2]=k[d+228+4>>2];k[d+212+8>>2]=k[d+228+8>>2];k[d+212+12>>2]=k[d+228+12>>2];k[d+244>>2]=k[d+260>>2];k[d+244+4>>2]=k[d+260+4>>2];k[d+244+8>>2]=k[d+260+8>>2];k[d+244+12>>2]=k[d+260+12>>2];k[d+276>>2]=k[d+280>>2];c=k[d+292+4>>2]|0;k[d+284>>2]=k[d+292>>2];k[d+284+4>>2]=c;c=k[d+208>>2]|0;k[d+196>>2]=k[d+204>>2];k[d+200>>2]=c;if((Gi[k[d+48>>2]&2047](d)|0)<0)break;Gi[k[d+52>>2]&2047](d)|0;break}}x7a(4)|0}while(0);k[a>>2]=0;b=k[a+76>>2]|0;if(b|0)k[b+72>>2]=k[a+72>>2];c=k[a+72>>2]|0;if(!c)k[d+300>>2]=b;else k[c+76>>2]=b;b=k[a+36>>2]|0;if(b|0)cib(b);b=k[a+40>>2]|0;if(b|0)dib(b);Y7a(k[a+44>>2]|0);Di[k[d+88>>2]&511](d,a);Y7a(a);r=e;return}y6a(594950,e)|0;r=e;return}function dib(a){a=a|0;if(!a)return;Y7a(k[a+16>>2]|0);Y7a(k[a+20>>2]|0);Y7a(k[a+24>>2]|0);N7a(k[a+56>>2]|0);N7a(k[a+60>>2]|0);Y7a(a);return}function eib(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+16|0;if(a|0)if((k[a>>2]|0)==1276008){a=a+104|0;c=b+84|0;do{k[b>>2]=k[a>>2];b=b+4|0;a=a+4|0}while((b|0)<(c|0));c=0;r=d;return c|0}y6a(594933,d)|0;c=-1;r=d;return c|0}function fib(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,l=0,m=0;m=r;r=r+48|0;if(a|0)if((k[a>>2]|0)==1276008){if(!b)b=k[a+116>>2]|0;l=(b|0)==0|(b&-268435456|0)==268435456;if(l){if(!(b&255)){y6a(607060,m+8|0)|0;d=0;r=m;return d|0}if(((b>>>24&15)+-1|0)>>>0<3){y6a(607083,m+16|0)|0;d=0;r=m;return d|0}}if((d|0)<1|(e|0)<1){y6a(607121,m+24|0)|0;d=0;r=m;return d|0}g=k[a+180>>2]|0;f=k[a+184>>2]|0;if(!((g|0)!=0&(g|0)<(d|0)))if(!((f|0)!=0&(f|0)<(e|0))){j=j7a(1,80)|0;if(!j){x7a(0)|0;d=0;r=m;return d|0}k[j>>2]=1276009;k[j+4>>2]=b;k[j+8>>2]=c;k[j+12>>2]=d;k[j+16>>2]=e;k[j+28>>2]=-1;k[j+32>>2]=a;f=k[a+300>>2]|0;k[j+76>>2]=f;if(f|0)k[f+72>>2]=j;k[a+300>>2]=j;h=k[a+112>>2]|0;a:do if(h|0){f=0;while(1){if((k[a+116+(f<<2)>>2]|0)==(b|0))break;f=f+1|0;if(f>>>0>=h>>>0)break a}if((gj[k[a+12>>2]&511](a,j)|0)>=0){d=j;r=m;return d|0}cib(j);d=0;r=m;return d|0}while(0);b:do if(l){f=b>>>24&15;if((f+-4|0)>>>0<3){g=(b>>>20&15)+-3|0;if(g>>>0<6)if(!(51>>>(g&255)&1))i=31;else f=1;else i=31}else i=31;if((i|0)==31)if((f+-7|0)>>>0<5){f=(b>>>20&15)+-2|0;if(f>>>0<5)f=(27>>>(f&31)&1)!=0;else f=0}else f=0;if(!h)i=53;else if(f){g=0;while(1){f=k[a+116+(g<<2)>>2]|0;do if((f|0)==0|(f&-268435456|0)==268435456){do if(((f>>>24&15)+-4|0)>>>0<3){if(((f>>>20&15)+-3|0)>>>0>=6)break;if(51>>>((f>>>20&15)+-3&255)&1)break b}while(0);if(((f>>>24&15)+-7|0)>>>0>=5)break;if(((f>>>20&15)+-2|0)>>>0>=5)break;if(27>>>((f>>>20&15)+-2&31)&1)break b}while(0);g=g+1|0;if(g>>>0>=h>>>0){i=53;break}}}else{g=0;while(1){f=k[a+116+(g<<2)>>2]|0;c:do if((f|0)==0|(f&-268435456|0)==268435456){do if(((f>>>24&15)+-4|0)>>>0<3){if(((f>>>20&15)+-3|0)>>>0>=6)break;if(51>>>((f>>>20&15)+-3&255)&1)break c}while(0);if(((f>>>24&15)+-7|0)>>>0>=5)break b;if(((f>>>20&15)+-2|0)>>>0>=5)break b;if(!(27>>>((f>>>20&15)+-2&31)&1))break b}while(0);g=g+1|0;if(g>>>0>=h>>>0){i=53;break}}}}else if(!h)i=53;else{f=0;while(1){if((k[a+116+(f<<2)>>2]|0)==(b|0)){f=b;break b}f=f+1|0;if(f>>>0>=h>>>0){i=53;break}}}while(0);if((i|0)==53)f=k[a+116>>2]|0;g=fib(a,f,c,d,e)|0;k[j+36>>2]=g;if(!g){cib(j);d=0;r=m;return d|0}f=k[j+76>>2]|0;k[g+76>>2]=f;if(f|0)k[f+72>>2]=g;f=k[g+72>>2]|0;k[j+72>>2]=f;if(f|0)k[f+76>>2]=j;k[g+72>>2]=j;k[j+76>>2]=g;k[a+300>>2]=j;a=k[j+4>>2]|0;if(!((a|0)==0|(a&-268435456|0)==268435456)){d=gib(b,d,e)|0;k[j+40>>2]=d;if(d|0){d=j;r=m;return d|0}cib(j);d=0;r=m;return d|0}if((c|0)!=1){d=j;r=m;return d|0}d:do if(l)b=b&255;else{if((b|0)<1498831189)switch(b|0){case 844715353:{b=2;break d}default:{}}else switch(b|0){case 1498831189:{b=2;break d}default:{}}b=(b|0)==1431918169?2:1}while(0);d=(ha(b,d)|0)+3&-4;k[j+48>>2]=d;d=j7a(1,ha(d,e)|0)|0;k[j+44>>2]=d;if(d|0){d=j;r=m;return d|0}cib(j);d=0;r=m;return d|0}k[m+32>>2]=g;k[m+32+4>>2]=f;y6a(607151,m+32|0)|0;d=0;r=m;return d|0}y6a(594933,m)|0;d=0;r=m;return d|0}function gib(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0.0;h=r;r=r+16|0;a:do if((a|0)<1431918169)if((a|0)<844715353)switch(a|0){case 842094169:break a;default:{e=2;break a}}else switch(a|0){case 844715353:break a;default:{e=2;break a}}else{if((a|0)<1448433993)switch(a|0){case 1431918169:break a;default:{e=2;break a}}if((a|0)<1498831189)switch(a|0){case 1448433993:break a;default:{e=2;break a}}else switch(a|0){case 1498831189:break a;default:{e=2;break a}}}while(0);if((e|0)==2){y6a(607191,h)|0;b=0;r=h;return b|0}d=j7a(1,64)|0;if(!d){x7a(0)|0;b=0;r=h;return b|0}k[d>>2]=a;k[d+4>>2]=0;k[d+8>>2]=b;k[d+12>>2]=c;e=p7a(ha(b<<1,c)|0)|0;k[d+16>>2]=e;e=p7a(4096)|0;k[d+20>>2]=e;e=p7a(9216)|0;k[d+24>>2]=e;g=k[d+16>>2]|0;if(g|0){f=k[d+20>>2]|0;if(!((e|0)==0|(f|0)==0)){e=0;do{i=+(e+-128|0);k[f+(e<<2)>>2]=~~(i*1.4013377926421404);k[f+1024+(e<<2)>>2]=~~(i*-.7136038186157518);k[f+2048+(e<<2)>>2]=~~(i*-.34441087613293053);k[f+3072+(e<<2)>>2]=~~(i*1.7734138972809665);e=e+1|0}while((e|0)!=256);b:do if((a|0)<1431918169)if((a|0)<844715353){switch(a|0){case 842094169:{e=11;break b}default:{}}r=h;return d|0}else{switch(a|0){case 844715353:{e=12;break b}default:{}}r=h;return d|0}else{if((a|0)<1448433993){switch(a|0){case 1431918169:{e=12;break b}default:{}}r=h;return d|0}if((a|0)<1498831189){switch(a|0){case 1448433993:{e=11;break b}default:{}}r=h;return d|0}else{switch(a|0){case 1498831189:{e=12;break b}default:{}}r=h;return d|0}}while(0);if((e|0)==11){j[d+36>>1]=b;j[d+38>>1]=b>>>1&32767;j[d+40>>1]=(b&65535)>>>1;k[d+44>>2]=g;a=g+(ha(b&65535,c)|0)|0;k[d+48>>2]=a;b=a+((ha(b>>>1&32767,c)|0)/2|0)|0;k[d+52>>2]=b;b=d;r=h;return b|0}else if((e|0)==12){j[d+36>>1]=b<<1;k[d+44>>2]=g;b=d;r=h;return b|0}}}Y7a(g);Y7a(k[d+20>>2]|0);Y7a(k[d+24>>2]|0);N7a(k[d+56>>2]|0);N7a(k[d+60>>2]|0);Y7a(d);x7a(0)|0;b=0;r=h;return b|0}function hib(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=r;r=r+48|0;a=k[299476]|0;a:do if(!a)y6a(593213,f)|0;else{if(b|0)if((k[b>>2]|0)==(a+256|0)){a=k[b+132>>2]|0;if(!a)break;while(1){e=k[a>>2]|0;if(e|0)if(!(E7a(e,606687)|0))break;a=k[a+8>>2]|0;if(!a)break a}a=k[a+4>>2]|0;if(!a)break;if(!(k[a+4>>2]|0))break;if(!(iib(k[b+24>>2]|0,k[b+28>>2]|0,d,c,f+24|0)|0)){b=0;r=f;return b|0}b=k[a+12>>2]|0;c=(k[a+8>>2]|0)+(ha(b,k[f+24+4>>2]|0)|0)|0;c=c+(ha(k[a+16>>2]|0,k[f+24>>2]|0)|0)|0;if((jib(k[a+4>>2]|0,f+24|0,c,b)|0)<0){b=-1;r=f;return b|0}if((Cib(k[a>>2]|0,k[a+4>>2]|0,0,0)|0)<0){b=-1;r=f;return b|0}Eib(k[a>>2]|0);b=0;r=f;return b|0}y6a(606710,f+8|0)|0}while(0);b=y6a(607214,f+16|0)|0;r=f;return b|0}function iib(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,l=0;i=r;r=r+48|0;if((a|0)<1){k[i>>2]=607237;y6a(608563,i)|0;a=0;r=i;return a|0}if((b|0)<1){k[i+8>>2]=607243;y6a(608563,i+8|0)|0;a=0;r=i;return a|0}if(!d){k[i+16>>2]=607250;y6a(608563,i+16|0)|0;a=0;r=i;return a|0}if(!e){k[i+24>>2]=607256;y6a(608563,i+24|0)|0;a=0;r=i;return a|0}if((c|0)<1){k[i+32>>2]=607261;y6a(608563,i+32|0)|0;a=0;r=i;return a|0}else{h=0;f=b;g=0}do{l=k[d+(h<<4)+4>>2]|0;j=(k[d+(h<<4)+12>>2]|0)+l|0;f=(l|0)<0?0:(l|0)<(f|0)?l:f;g=(j|0)>(b|0)?b:(j|0)>(g|0)?j:g;h=h+1|0}while((h|0)!=(c|0));if((g|0)<=(f|0)){l=0;r=i;return l|0}k[e>>2]=0;k[e+4>>2]=f;k[e+8>>2]=a;k[e+12>>2]=g-f;l=1;r=i;return l|0}function jib(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,l=0;l=r;r=r+64|0;if(a|0)if((k[a>>2]|0)==1276009){if(!c){k[l+8>>2]=607270;a=y6a(608563,l+8|0)|0;r=l;return a|0}if(!d){k[l+16>>2]=607277;a=y6a(608563,l+16|0)|0;r=l;return a|0}if(!b){k[l+24>>2]=0;k[l+24+4>>2]=0;e=k[a+12>>2]|0;k[l+24+8>>2]=e;k[l+24+12>>2]=k[a+16>>2];i=l+24|0}else{i=b;e=k[b+8>>2]|0}g=i+8|0;if(!e){a=0;r=l;return a|0}h=i+12|0;f=k[h>>2]|0;if(!f){a=0;r=l;return a|0}b=k[a+40>>2]|0;j=k[a+36>>2]|0;if(b|0){do if((kib(b,i,c,d)|0)<0)b=-1;else{k[l+48>>2]=0;k[l+48+4>>2]=0;e=k[a+12>>2]|0;k[l+48+8>>2]=e;f=k[a+16>>2]|0;k[l+48+12>>2]=f;if((k[a+8>>2]|0)==1)if((lib(j,l+48|0,l+44|0,l+40|0)|0)<0){b=-1;break}else{nib(k[a+40>>2]|0,l+48|0,k[j+4>>2]|0,k[l+48+8>>2]|0,k[l+48+12>>2]|0,k[l+44>>2]|0,k[l+40>>2]|0)|0;Bib(j);b=0;break}b=k[j+4>>2]|0;a:do if((b|0)==0|(b&-268435456|0)==268435456)b=b&255;else{if((b|0)<1498831189)switch(b|0){case 844715353:{b=2;break a}default:{}}else switch(b|0){case 1498831189:{b=2;break a}default:{}}b=(b|0)==1431918169?2:1}while(0);e=(ha(b,e)|0)+3&-4;b=p7a(ha(e,f)|0)|0;if(!b){b=x7a(0)|0;break}else{nib(k[a+40>>2]|0,l+48|0,k[j+4>>2]|0,k[l+48+8>>2]|0,k[l+48+12>>2]|0,b,e)|0;jib(j,l+48|0,b,e)|0;Y7a(b);b=0;break}}while(0);a=b;r=l;return a|0}if(!j){j=k[a+32>>2]|0;a=Ni[k[j+28>>2]&127](j,a,i,c,d)|0;r=l;return a|0}if((k[a+8>>2]|0)==1)if((lib(j,i,l+48|0,l+44|0)|0)<0){a=-1;r=l;return a|0}else{a9a(k[g>>2]|0,k[h>>2]|0,k[a+4>>2]|0,c,d,k[j+4>>2]|0,k[l+48>>2]|0,k[l+44>>2]|0)|0;Bib(j);a=0;r=l;return a|0}b=k[j+4>>2]|0;b:do if((b|0)==0|(b&-268435456|0)==268435456)b=b&255;else{if((b|0)<1498831189)switch(b|0){case 844715353:{b=2;break b}default:{}}else switch(b|0){case 1498831189:{b=2;break b}default:{}}b=(b|0)==1431918169?2:1}while(0);e=(ha(b,e)|0)+3&-4;b=p7a(ha(e,f)|0)|0;if(!b){a=x7a(0)|0;r=l;return a|0}else{a9a(k[g>>2]|0,k[h>>2]|0,k[a+4>>2]|0,c,d,k[j+4>>2]|0,b,e)|0;jib(j,i,b,e)|0;Y7a(b);a=0;r=l;return a|0}}y6a(594950,l)|0;a=-1;r=l;return a|0}function kib(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,l=0;e=k[a>>2]|0;a:do if((e|0)<1431918169)if((e|0)<844715353){switch(e|0){case 842094169:break a;default:{}}return 0}else{switch(e|0){case 844715353:{f=15;break a}default:{}}return 0}else{if((e|0)<1448433993){switch(e|0){case 1431918169:{f=15;break a}default:{}}return 0}if((e|0)<1498831189){switch(e|0){case 1448433993:break a;default:{}}return 0}else{switch(e|0){case 1498831189:{f=15;break a}default:{}}return 0}}while(0);if((f|0)==15){f=k[b+8>>2]<<1;if((k[b+12>>2]|0)<=0)return 0;g=(k[a+44>>2]|0)+(ha(m[a+36>>1]|0,k[b+4>>2]|0)|0)|0;g=g+(k[b>>2]<<1)|0;h=0;e=c;while(1){y7a(g,e,f)|0;h=h+1|0;if((h|0)>=(k[b+12>>2]|0))break;else{g=g+(m[a+36>>1]|0)|0;e=e+d|0}}return 0}g=k[b>>2]|0;e=k[b+4>>2]|0;if(!(g|e)){f=k[b+8>>2]|0;if((f|0)==(k[a+8>>2]|0)){e=k[b+12>>2]|0;if((e|0)==(k[a+12>>2]|0)){b=ha(e,f)|0;y7a(k[a+16>>2]|0,c,((b|0)/2|0)+b|0)|0;return 0}else e=0}else e=0}i=k[b+8>>2]|0;if((k[b+12>>2]|0)<=0)return 0;e=(k[a+16>>2]|0)+(ha(k[a+8>>2]|0,e)|0)+g|0;f=0;g=c;while(1){y7a(e,g,i)|0;h=k[a+8>>2]|0;f=f+1|0;j=k[b+12>>2]|0;if((f|0)>=(j|0))break;else{e=e+h|0;g=g+d|0}}i=(k[b+8>>2]|0)/2|0;if((j|0)<=1)return 0;g=(k[a+16>>2]|0)+(ha(h,k[a+12>>2]|0)|0)|0;f=(ha((k[b+4>>2]|0)/2|0,h)|0)/2|0;f=g+(f+((k[b>>2]|0)/2|0))|0;g=0;e=c+(ha(j,d)|0)|0;while(1){y7a(f,e,i)|0;j=k[a+8>>2]|0;g=g+1|0;l=k[b+12>>2]|0;if((g|0)>=((l|0)/2|0|0))break;else{f=f+((j|0)/2|0)|0;e=e+((d|0)/2|0)|0}}h=ha(l,d)|0;e=ha(j,k[a+12>>2]|0)|0;i=(k[b+8>>2]|0)/2|0;if((l|0)<=1)return 0;f=(ha((k[b+4>>2]|0)/2|0,j)|0)/2|0;f=(k[a+16>>2]|0)+e+((e|0)/4|0)+(f+((k[b>>2]|0)/2|0))|0;g=0;e=c+h+((h|0)/4|0)|0;while(1){y7a(f,e,i)|0;g=g+1|0;if((g|0)>=((k[b+12>>2]|0)/2|0|0))break;else{f=f+((k[a+8>>2]|0)/2|0)|0;e=e+((d|0)/2|0)|0}}return 0}function lib(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;h=r;r=r+32|0;if(a|0)if((k[a>>2]|0)==1276009){if((k[a+8>>2]|0)!=1){c=y6a(607283,h+8|0)|0;r=h;return c|0}if(!b){k[h+16>>2]=0;k[h+16+4>>2]=0;k[h+16+8>>2]=k[a+12>>2];k[h+16+12>>2]=k[a+16>>2];b=h+16|0}e=k[a+40>>2]|0;if(e|0){c=mib(e,b,c,d)|0;r=h;return c|0}if(!(k[a+36>>2]|0)){g=k[a+32>>2]|0;c=Ni[k[g+36>>2]&127](g,a,b,c,d)|0;r=h;return c|0}k[a+52>>2]=k[b>>2];k[a+52+4>>2]=k[b+4>>2];k[a+52+8>>2]=k[b+8>>2];k[a+52+12>>2]=k[b+12>>2];f=k[a+48>>2]|0;g=(k[a+44>>2]|0)+(ha(f,k[b+4>>2]|0)|0)|0;e=k[b>>2]|0;b=k[a+4>>2]|0;a:do if((b|0)==0|(b&-268435456|0)==268435456)b=b&255;else{if((b|0)<1498831189)switch(b|0){case 844715353:{b=2;break a}default:{}}else switch(b|0){case 1498831189:{b=2;break a}default:{}}b=(b|0)==1431918169?2:1}while(0);a=g+(ha(b,e)|0)|0;k[c>>2]=a;k[d>>2]=f;c=0;r=h;return c|0}y6a(594950,h)|0;c=-1;r=h;return c|0}function mib(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;h=r;r=r+16|0;e=k[a>>2]|0;if((e|0)<1448433993)switch(e|0){case 842094169:{g=2;break}default:g=10}else switch(e|0){case 1448433993:{g=2;break}default:g=10}do if((g|0)==2){if(!b){e=k[a+44>>2]|0;break}if(!(k[b>>2]|0))if(!(k[b+4>>2]|0))if((k[b+8>>2]|0)==(k[a+8>>2]|0))if((k[b+12>>2]|0)==(k[a+12>>2]|0)){f=0;e=k[a+44>>2]|0;b=0;g=12;break}a=y6a(607328,h)|0;r=h;return a|0}else if((g|0)==10){e=k[a+44>>2]|0;if(b){f=k[b+4>>2]|0;b=k[b>>2]<<1;g=12}}while(0);if((g|0)==12)e=e+(ha(m[a+36>>1]|0,f)|0)+b|0;k[c>>2]=e;k[d>>2]=m[a+36>>1];a=0;r=h;return a|0}function nib(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0;q=r;r=r+64|0;a:do if((c|0)==0|(c&-268435456|0)==268435456)if(!(c&255)){a=y6a(607383,q)|0;r=q;return a|0}else o=c&255;else{b:do if((c|0)<1431918169)switch(c|0){case 844715353:break;default:{o=1;break a}}else if((c|0)<1498831189)switch(c|0){case 1431918169:break b;default:{o=1;break a}}else switch(c|0){case 1498831189:break b;default:{o=1;break a}}while(0);o=2}while(0);do if((k[a+4>>2]|0)!=(c|0)){n=(c9a(c,q+40|0,q+32|0,q+28|0,q+24|0,q+20|0)|0)==0;if(n|(k[q+40>>2]|0)<15){if((y6a(607411,q+8|0)|0)<0)h=-1;else break;r=q;return h|0}k[a+4>>2]=c;m=k[a+24>>2]|0;l=0;do{h=k[q+32>>2]|0;if(!h)h=0;else{i=0;do{i=(h&1)+i|0;h=h>>>1}while((h|0)!=0);h=i}h=l>>8-h;j=l+256|0;k[m+(j<<2)>>2]=h;h=h<<(oib(k[q+32>>2]|0)|0);k[m+(j<<2)>>2]=h;k[m+(j<<2)>>2]=k[q+20>>2]|h;h=k[q+28>>2]|0;if(!h)h=0;else{i=0;do{i=(h&1)+i|0;h=h>>>1}while((h|0)!=0);h=i}h=l>>8-h;k[m+3072+(j<<2)>>2]=h;h=h<<(oib(k[q+28>>2]|0)|0);k[m+3072+(j<<2)>>2]=h;k[m+3072+(j<<2)>>2]=k[q+20>>2]|h;h=k[q+24>>2]|0;if(!h)h=0;else{i=0;do{i=(h&1)+i|0;h=h>>>1}while((h|0)!=0);h=i}n=l>>8-h;k[m+6144+(j<<2)>>2]=n;n=n<<(oib(k[q+24>>2]|0)|0);k[m+6144+(j<<2)>>2]=n;k[m+6144+(j<<2)>>2]=k[q+20>>2]|n;l=l+1|0}while((l|0)!=256);c:do if((c|0)==0|(c&-268435456|0)==268435456){if((c&255|0)==2){h=0;p=21}}else{if((c|0)<1431918169)switch(c|0){case 844715353:{h=0;p=21;break c}default:break c}if((c|0)<1498831189)switch(c|0){case 1431918169:{h=0;p=21;break c}default:break c}else switch(c|0){case 1498831189:{h=0;p=21;break c}default:break c}}while(0);if((p|0)==21)while(1){p=0;n=h+256|0;l=k[m+(n<<2)>>2]|0;k[m+(n<<2)>>2]=l<<16|l;l=k[m+3072+(n<<2)>>2]|0;k[m+3072+(n<<2)>>2]=l<<16|l;l=k[m+6144+(n<<2)>>2]|0;k[m+6144+(n<<2)>>2]=l<<16|l;h=h+1|0;if((h|0)==256)break;else p=21}h=0;do{k[m+(h<<2)>>2]=k[m+1024>>2];n=h+512|0;k[m+(n<<2)>>2]=k[m+2044>>2];k[m+3072+(h<<2)>>2]=k[m+4096>>2];k[m+3072+(n<<2)>>2]=k[m+5116>>2];k[m+6144+(h<<2)>>2]=k[m+7168>>2];k[m+6144+(n<<2)>>2]=k[m+8188>>2];h=h+1|0}while((h|0)!=256);h=k[a>>2]|0;d:do if((h|0)<1431918169)if((h|0)<844715353)switch(h|0){case 842094169:{p=24;break d}default:break d}else switch(h|0){case 844715353:{p=31;break d}default:break d}else{if((h|0)<1448433993)switch(h|0){case 1431918169:{p=31;break d}default:break d}if((h|0)<1498831189)switch(h|0){case 1448433993:{p=24;break d}default:break d}else switch(h|0){case 1498831189:{p=31;break d}default:break d}}while(0);e:do if((p|0)==24){if((c|0)==0|(c&-268435456|0)==268435456)switch(c&255|0){case 2:{k[a+28>>2]=1;k[a+32>>2]=2;break e}case 3:{k[a+28>>2]=3;k[a+32>>2]=4;break e}case 4:{k[a+28>>2]=5;k[a+32>>2]=6;break e}default:break e}f:do if((c|0)<1431918169)switch(c|0){case 844715353:break;default:break e}else if((c|0)<1498831189)switch(c|0){case 1431918169:break f;default:break e}else switch(c|0){case 1498831189:break f;default:break e}while(0);k[a+28>>2]=1;k[a+32>>2]=2}else if((p|0)==31){if((c|0)==0|(c&-268435456|0)==268435456)switch(c&255|0){case 2:{k[a+28>>2]=7;k[a+32>>2]=8;break e}case 3:{k[a+28>>2]=9;k[a+32>>2]=10;break e}case 4:{k[a+28>>2]=11;k[a+32>>2]=12;break e}default:break e}g:do if((c|0)<1431918169)switch(c|0){case 844715353:break;default:break e}else if((c|0)<1498831189)switch(c|0){case 1431918169:break g;default:break e}else switch(c|0){case 1498831189:break g;default:break e}while(0);k[a+28>>2]=7;k[a+32>>2]=8}while(0);N7a(k[a+60>>2]|0);k[a+60>>2]=0}while(0);if(!(k[b>>2]|0))if(!(k[b+4>>2]|0)){h=k[b+8>>2]|0;if((h|0)<(k[a+8>>2]|0))p=45;else{i=k[b+12>>2]|0;if((i|0)<(k[a+12>>2]|0))p=45;else if((h|0)==(d|0)&(i|0)==(e|0)){h=f;f=0;n=0}else if((h<<1|0)==(d|0)&(i<<1|0)==(e|0)){h=f;f=1;n=0}else p=45}}else p=45;else p=45;if((p|0)==45){h=k[a+60>>2]|0;if(!h){c9a(c,q+40|0,q+32|0,q+28|0,q+24|0,q+20|0)|0;n=Tcb(f,d,e,k[q+40>>2]|0,g,k[q+32>>2]|0,k[q+28>>2]|0,k[q+24>>2]|0,k[q+20>>2]|0)|0;k[a+60>>2]=n;if(!n){i=0;h=f}else p=48}else{k[h+8>>2]=d;k[h+12>>2]=e;k[h+20>>2]=f;k[h+16>>2]=g;p=48}do if((p|0)==48){h=k[a+56>>2]|0;if(!h){c9a(c,q+40|0,q+32|0,q+28|0,q+24|0,q+20|0)|0;h=Ucb(0,k[a+8>>2]|0,k[a+12>>2]|0,k[q+40>>2]|0,k[q+32>>2]|0,k[q+28>>2]|0,k[q+24>>2]|0,k[q+20>>2]|0)|0;k[a+56>>2]=h;if(!h){i=0;h=f;break}}i=1;g=k[h+16>>2]|0;h=k[h+20>>2]|0}while(0);if(i){f=0;n=1}else{a=-1;r=q;return a|0}}i=k[a>>2]|0;h:do if((i|0)<1431918169)if((i|0)<844715353){switch(i|0){case 842094169:break;default:{p=58;break h}}e=k[a+52>>2]|0;d=k[a+48>>2]|0;c=k[a+44>>2]|0;break}else{switch(i|0){case 844715353:break;default:{p=58;break h}}c=k[a+44>>2]|0;e=c+1|0;d=c+3|0;break}else{if((i|0)<1448433993){switch(i|0){case 1431918169:break;default:{p=58;break h}}c=k[a+44>>2]|0;e=c+3|0;d=c+1|0;break}if((i|0)<1498831189){switch(i|0){case 1448433993:break;default:{p=58;break h}}e=k[a+48>>2]|0;d=k[a+52>>2]|0;c=k[a+44>>2]|0;break}else{switch(i|0){case 1498831189:break;default:{p=58;break h}}c=k[a+44>>2]|0;e=c;d=c+2|0;c=c+1|0;break}}while(0);if((p|0)==58){a=y6a(607446,q+16|0)|0;r=q;return a|0}g=(g|0)/(o|0)|0;i=k[a+8>>2]|0;j=k[a+20>>2]|0;l=k[a+24>>2]|0;m=k[a+12>>2]|0;if(!f)ej[k[a+28>>2]&15](j,l,c,d,e,h,m,i,g-i|0);else ej[k[a+32>>2]&15](j,l,c,d,e,h,m,i,g-(i<<1)|0);if(!n){a=0;r=q;return a|0};k[q+40>>2]=k[b>>2];k[q+40+4>>2]=k[b+4>>2];k[q+40+8>>2]=k[b+8>>2];k[q+40+12>>2]=k[b+12>>2];feb(k[a+56>>2]|0,q+40|0,k[a+60>>2]|0,0)|0;a=0;r=q;return a|0}function oib(a){a=a|0;if(!a){a=32;return a|0}if(!(a&1))return (oib(a>>>1)|0)+1|0;else{a=0;return a|0}return 0}function pib(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;if((g+1|0)>>>0<3|(h+1|0)>>>0<3)return;u=((h|0)/2|0)<<1;t=(g|0)/2|0;g=f;f=f+(h<<1)+(i<<1)|0;while(1){t=t+-1|0;r=f+(u<<1)|0;s=g+(u<<1)|0;n=c;o=d;p=e;e=e+((h|0)/2|0)|0;q=c+h|0;m=(h|0)/2|0;while(1){m=m+-1|0;y=l[o>>0]|0;x=(k[a+(y<<2)>>2]|0)+256|0;v=l[p>>0]|0;y=(k[a+((y|256)<<2)>>2]|0)+1024+(k[a+((v|512)<<2)>>2]|0)|0;v=(k[a+((v|768)<<2)>>2]|0)+1792|0;w=l[n>>0]|0;j[g>>1]=k[b+(w+y<<2)>>2]|k[b+(w+x<<2)>>2]|k[b+(w+v<<2)>>2];w=l[n+1>>0]|0;j[g+2>>1]=k[b+(w+y<<2)>>2]|k[b+(w+x<<2)>>2]|k[b+(w+v<<2)>>2];w=l[q>>0]|0;j[f>>1]=k[b+(w+y<<2)>>2]|k[b+(w+x<<2)>>2]|k[b+(w+v<<2)>>2];w=l[q+1>>0]|0;j[f+2>>1]=k[b+(w+y<<2)>>2]|k[b+(w+x<<2)>>2]|k[b+(w+v<<2)>>2];if(!m)break;else{n=n+2|0;o=o+1|0;p=p+1|0;q=q+2|0;g=g+4|0;f=f+4|0}}if(!t)break;else{d=d+((h|0)/2|0)|0;c=c+u+h|0;g=s+((i<<1)+h<<1)|0;f=r+((i<<1)+h<<1)|0}}return}function qib(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;t=((i|0)/2|0)+h|0;if((g+1|0)>>>0<3|(h+1|0)>>>0<3)return;u=((h|0)/2|0)<<1;s=(g|0)/2|0;g=f;f=f+(t<<1<<2)|0;while(1){s=s+-1|0;q=f+(u<<2)|0;r=g+(u<<2)|0;m=c;n=d;o=e;e=e+((h|0)/2|0)|0;p=c+h|0;j=(h|0)/2|0;while(1){j=j+-1|0;z=l[n>>0]|0;y=(k[a+(z<<2)>>2]|0)+256|0;w=l[o>>0]|0;z=(k[a+((z|256)<<2)>>2]|0)+1024+(k[a+((w|512)<<2)>>2]|0)|0;w=(k[a+((w|768)<<2)>>2]|0)+1792|0;v=l[m>>0]|0;v=k[b+(v+z<<2)>>2]|k[b+(v+y<<2)>>2]|k[b+(v+w<<2)>>2];k[g+(t<<2)>>2]=v;k[g>>2]=v;v=g+4|0;x=l[m+1>>0]|0;x=k[b+(x+z<<2)>>2]|k[b+(x+y<<2)>>2]|k[b+(x+w<<2)>>2];k[v+(t<<2)>>2]=x;k[v>>2]=x;v=l[p>>0]|0;v=k[b+(v+z<<2)>>2]|k[b+(v+y<<2)>>2]|k[b+(v+w<<2)>>2];k[f+(t<<2)>>2]=v;k[f>>2]=v;v=f+4|0;x=l[p+1>>0]|0;w=k[b+(x+z<<2)>>2]|k[b+(x+y<<2)>>2]|k[b+(x+w<<2)>>2];k[v+(t<<2)>>2]=w;k[v>>2]=w;if(!j)break;else{m=m+2|0;n=n+1|0;o=o+1|0;p=p+2|0;g=g+8|0;f=f+8|0}}if(!s)break;else{d=d+((h|0)/2|0)|0;c=c+u+h|0;g=r+((t*3|0)+((i|0)/2|0)<<2)|0;f=q+((t*3|0)+((i|0)/2|0)<<2)|0}}return}function rib(a,b,c,d,e,f,g,h,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;if((g+1|0)>>>0<3)return;t=c;u=(g|0)/2|0;s=c;c=f;g=f+(h*3|0)+(j*3|0)|0;while(1){u=u+-1|0;f=s+h|0;if((h+1|0)>>>0<3)m=t;else{r=g+(((h|0)/2|0)*6|0)|0;q=c+(((h|0)/2|0)*6|0)|0;p=e+((h|0)/2|0)|0;n=t;o=d;m=(h|0)/2|0;while(1){m=m+-1|0;y=l[o>>0]|0;x=(k[a+(y<<2)>>2]|0)+256|0;v=l[e>>0]|0;y=(k[a+((y|256)<<2)>>2]|0)+1024+(k[a+((v|512)<<2)>>2]|0)|0;v=(k[a+((v|768)<<2)>>2]|0)+1792|0;w=l[n>>0]|0;w=k[b+(w+y<<2)>>2]|k[b+(w+x<<2)>>2]|k[b+(w+v<<2)>>2];i[c>>0]=w;i[c+1>>0]=w>>>8;i[c+2>>0]=w>>>16;w=l[n+1>>0]|0;w=k[b+(w+y<<2)>>2]|k[b+(w+x<<2)>>2]|k[b+(w+v<<2)>>2];i[c+3>>0]=w;i[c+4>>0]=w>>>8;i[c+5>>0]=w>>>16;w=l[f>>0]|0;w=k[b+(w+y<<2)>>2]|k[b+(w+x<<2)>>2]|k[b+(w+v<<2)>>2];i[g>>0]=w;i[g+1>>0]=w>>>8;i[g+2>>0]=w>>>16;w=l[f+1>>0]|0;v=k[b+(w+y<<2)>>2]|k[b+(w+x<<2)>>2]|k[b+(w+v<<2)>>2];i[g+3>>0]=v;i[g+4>>0]=v>>>8;i[g+5>>0]=v>>>16;if(!m)break;else{n=n+2|0;o=o+1|0;e=e+1|0;f=f+2|0;c=c+6|0;g=g+6|0}}m=t+(((h|0)/2|0)<<1)|0;d=d+((h|0)/2|0)|0;e=p;f=s+((((h|0)/2|0)<<1)+h)|0;c=q;g=r}if(!u)break;else{t=m+h|0;s=f;c=c+(((j<<1)+h|0)*3|0)|0;g=g+(((j<<1)+h|0)*3|0)|0}}return}function sib(a,b,c,d,e,f,g,h,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;v=((h<<1)+j|0)*3|0;if((g+1|0)>>>0<3)return;t=c;u=(g|0)/2|0;s=c;c=f;g=f+(((h<<1)+j|0)*6|0)|0;while(1){u=u+-1|0;f=s+h|0;if((h+1|0)>>>0<3)m=t;else{r=g+(((h|0)/2|0)*12|0)|0;q=c+(((h|0)/2|0)*12|0)|0;p=e+((h|0)/2|0)|0;n=t;o=d;m=(h|0)/2|0;while(1){m=m+-1|0;A=l[o>>0]|0;z=(k[a+(A<<2)>>2]|0)+256|0;w=l[e>>0]|0;A=(k[a+((A|256)<<2)>>2]|0)+1024+(k[a+((w|512)<<2)>>2]|0)|0;w=(k[a+((w|768)<<2)>>2]|0)+1792|0;y=l[n>>0]|0;y=k[b+(y+A<<2)>>2]|k[b+(y+z<<2)>>2]|k[b+(y+w<<2)>>2];i[c+(v+3)>>0]=y;i[c+v>>0]=y;i[c+3>>0]=y;i[c>>0]=y;i[c+(v+4)>>0]=y>>>8;i[c+(v+1)>>0]=y>>>8;i[c+4>>0]=y>>>8;i[c+1>>0]=y>>>8;i[c+(v+5)>>0]=y>>>16;i[c+(v+2)>>0]=y>>>16;i[c+5>>0]=y>>>16;i[c+2>>0]=y>>>16;y=c+6|0;x=l[n+1>>0]|0;x=k[b+(x+A<<2)>>2]|k[b+(x+z<<2)>>2]|k[b+(x+w<<2)>>2];i[y+(v+3)>>0]=x;i[y+v>>0]=x;i[c+9>>0]=x;i[y>>0]=x;i[y+(v+4)>>0]=x>>>8;i[y+(v+1)>>0]=x>>>8;i[c+10>>0]=x>>>8;i[c+7>>0]=x>>>8;i[y+(v+5)>>0]=x>>>16;i[y+(v+2)>>0]=x>>>16;i[c+11>>0]=x>>>16;i[c+8>>0]=x>>>16;x=l[f>>0]|0;x=k[b+(x+A<<2)>>2]|k[b+(x+z<<2)>>2]|k[b+(x+w<<2)>>2];i[g+(v+3)>>0]=x;i[g+v>>0]=x;i[g+3>>0]=x;i[g>>0]=x;i[g+(v+4)>>0]=x>>>8;i[g+(v+1)>>0]=x>>>8;i[g+4>>0]=x>>>8;i[g+1>>0]=x>>>8;i[g+(v+5)>>0]=x>>>16;i[g+(v+2)>>0]=x>>>16;i[g+5>>0]=x>>>16;i[g+2>>0]=x>>>16;x=g+6|0;y=l[f+1>>0]|0;w=k[b+(y+A<<2)>>2]|k[b+(y+z<<2)>>2]|k[b+(y+w<<2)>>2];i[x+(v+3)>>0]=w;i[x+v>>0]=w;i[g+9>>0]=w;i[x>>0]=w;i[x+(v+4)>>0]=w>>>8;i[x+(v+1)>>0]=w>>>8;i[g+10>>0]=w>>>8;i[g+7>>0]=w>>>8;i[x+(v+5)>>0]=w>>>16;i[x+(v+2)>>0]=w>>>16;i[g+11>>0]=w>>>16;i[g+8>>0]=w>>>16;if(!m)break;else{n=n+2|0;o=o+1|0;e=e+1|0;f=f+2|0;c=c+12|0;g=g+12|0}}m=t+(((h|0)/2|0)<<1)|0;d=d+((h|0)/2|0)|0;e=p;f=s+((((h|0)/2|0)<<1)+h)|0;c=q;g=r}if(!u)break;else{t=m+h|0;s=f;c=c+((((h<<1)+j|0)*9|0)+(j*3|0))|0;g=g+((((h<<1)+j|0)*9|0)+(j*3|0))|0}}return}function tib(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;if((g+1|0)>>>0<3|(h+1|0)>>>0<3)return;t=((h|0)/2|0)<<1;s=(g|0)/2|0;g=f;f=f+(h<<2)+(i<<2)|0;while(1){s=s+-1|0;q=f+(t<<2)|0;r=g+(t<<2)|0;m=c;n=d;o=e;e=e+((h|0)/2|0)|0;p=c+h|0;j=(h|0)/2|0;while(1){j=j+-1|0;x=l[n>>0]|0;w=(k[a+(x<<2)>>2]|0)+256|0;u=l[o>>0]|0;x=(k[a+((x|256)<<2)>>2]|0)+1024+(k[a+((u|512)<<2)>>2]|0)|0;u=(k[a+((u|768)<<2)>>2]|0)+1792|0;v=l[m>>0]|0;k[g>>2]=k[b+(v+x<<2)>>2]|k[b+(v+w<<2)>>2]|k[b+(v+u<<2)>>2];v=l[m+1>>0]|0;k[g+4>>2]=k[b+(v+x<<2)>>2]|k[b+(v+w<<2)>>2]|k[b+(v+u<<2)>>2];v=l[p>>0]|0;k[f>>2]=k[b+(v+x<<2)>>2]|k[b+(v+w<<2)>>2]|k[b+(v+u<<2)>>2];v=l[p+1>>0]|0;k[f+4>>2]=k[b+(v+x<<2)>>2]|k[b+(v+w<<2)>>2]|k[b+(v+u<<2)>>2];if(!j)break;else{m=m+2|0;n=n+1|0;o=o+1|0;p=p+2|0;g=g+8|0;f=f+8|0}}if(!s)break;else{d=d+((h|0)/2|0)|0;c=c+t+h|0;g=r+((i<<1)+h<<2)|0;f=q+((i<<1)+h<<2)|0}}return}function uib(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;if((g+1|0)>>>0<3)return;u=(h<<1)+i+1|0;s=c;t=(g|0)/2|0;r=c;c=f;g=f+((h<<1)+i<<1<<2)|0;while(1){t=t+-1|0;f=r+h|0;if((h+1|0)>>>0<3)j=s;else{q=g+(((h|0)/2|0)<<2<<2)|0;p=c+(((h|0)/2|0)<<2<<2)|0;o=e+((h|0)/2|0)|0;m=s;n=d;j=(h|0)/2|0;while(1){j=j+-1|0;z=l[n>>0]|0;y=(k[a+(z<<2)>>2]|0)+256|0;w=l[e>>0]|0;z=(k[a+((z|256)<<2)>>2]|0)+1024+(k[a+((w|512)<<2)>>2]|0)|0;w=(k[a+((w|768)<<2)>>2]|0)+1792|0;v=l[m>>0]|0;v=k[b+(v+z<<2)>>2]|k[b+(v+y<<2)>>2]|k[b+(v+w<<2)>>2];k[c+(u<<2)>>2]=v;k[c+((h<<1)+i<<2)>>2]=v;k[c+4>>2]=v;k[c>>2]=v;v=c+8|0;x=l[m+1>>0]|0;x=k[b+(x+z<<2)>>2]|k[b+(x+y<<2)>>2]|k[b+(x+w<<2)>>2];k[v+(u<<2)>>2]=x;k[v+((h<<1)+i<<2)>>2]=x;k[c+12>>2]=x;k[v>>2]=x;v=l[f>>0]|0;v=k[b+(v+z<<2)>>2]|k[b+(v+y<<2)>>2]|k[b+(v+w<<2)>>2];k[g+(u<<2)>>2]=v;k[g+((h<<1)+i<<2)>>2]=v;k[g+4>>2]=v;k[g>>2]=v;v=g+8|0;x=l[f+1>>0]|0;w=k[b+(x+z<<2)>>2]|k[b+(x+y<<2)>>2]|k[b+(x+w<<2)>>2];k[v+(u<<2)>>2]=w;k[v+((h<<1)+i<<2)>>2]=w;k[g+12>>2]=w;k[v>>2]=w;if(!j)break;else{m=m+2|0;n=n+1|0;e=e+1|0;f=f+2|0;c=c+16|0;g=g+16|0}}j=s+(((h|0)/2|0)<<1)|0;d=d+((h|0)/2|0)|0;e=o;f=r+((((h|0)/2|0)<<1)+h)|0;c=p;g=q}if(!t)break;else{s=j+h|0;r=f;c=c+((((h<<1)+i|0)*3|0)+i<<2)|0;g=g+((((h<<1)+i|0)*3|0)+i<<2)|0}}return}function vib(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;if((g|0)==0|(h+1|0)>>>0<3)return;r=((h|0)/2|0)<<2;while(1){g=g+-1|0;q=f+(((h|0)/2|0)<<1<<1)|0;n=d;o=e;e=e+r|0;p=c;m=(h|0)/2|0;while(1){m=m+-1|0;v=l[n>>0]|0;u=(k[a+(v<<2)>>2]|0)+256|0;s=l[o>>0]|0;v=(k[a+((v|256)<<2)>>2]|0)+1024+(k[a+((s|512)<<2)>>2]|0)|0;s=(k[a+((s|768)<<2)>>2]|0)+1792|0;t=l[p>>0]|0;j[f>>1]=k[b+(t+v<<2)>>2]|k[b+(t+u<<2)>>2]|k[b+(t+s<<2)>>2];t=l[p+2>>0]|0;j[f+2>>1]=k[b+(t+v<<2)>>2]|k[b+(t+u<<2)>>2]|k[b+(t+s<<2)>>2];if(!m)break;else{n=n+4|0;o=o+4|0;p=p+4|0;f=f+4|0}}if(!g)break;else{d=d+r|0;c=c+r|0;f=q+(i<<1)|0}}return}function wib(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;if((g|0)==0|(h+1|0)>>>0<3)return;q=((h|0)/2|0)<<2;while(1){g=g+-1|0;p=f+(((h|0)/2|0)<<1<<2)|0;m=d;n=e;e=e+q|0;o=c;j=(h|0)/2|0;while(1){j=j+-1|0;v=l[m>>0]|0;u=(k[a+(v<<2)>>2]|0)+256|0;s=l[n>>0]|0;v=(k[a+((v|256)<<2)>>2]|0)+1024+(k[a+((s|512)<<2)>>2]|0)|0;s=(k[a+((s|768)<<2)>>2]|0)+1792|0;r=l[o>>0]|0;r=k[b+(r+v<<2)>>2]|k[b+(r+u<<2)>>2]|k[b+(r+s<<2)>>2];k[f+(((i|0)/2|0)+h<<2)>>2]=r;k[f>>2]=r;r=f+4|0;t=l[o+2>>0]|0;s=k[b+(t+v<<2)>>2]|k[b+(t+u<<2)>>2]|k[b+(t+s<<2)>>2];k[r+(((i|0)/2|0)+h<<2)>>2]=s;k[r>>2]=s;if(!j)break;else{m=m+4|0;n=n+4|0;o=o+4|0;f=f+8|0}}if(!g)break;else{d=d+q|0;c=c+q|0;f=p+(((i|0)/2|0)+h<<2)|0}}return}function xib(a,b,c,d,e,f,g,h,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;if((g|0)==0|(h+1|0)>>>0<3)return;r=((h|0)/2|0)<<2;while(1){g=g+-1|0;q=f+(((h|0)/2|0)*6|0)|0;n=d;o=e;e=e+r|0;p=c;m=(h|0)/2|0;while(1){m=m+-1|0;v=l[n>>0]|0;u=(k[a+(v<<2)>>2]|0)+256|0;s=l[o>>0]|0;v=(k[a+((v|256)<<2)>>2]|0)+1024+(k[a+((s|512)<<2)>>2]|0)|0;s=(k[a+((s|768)<<2)>>2]|0)+1792|0;t=l[p>>0]|0;t=k[b+(t+v<<2)>>2]|k[b+(t+u<<2)>>2]|k[b+(t+s<<2)>>2];i[f>>0]=t;i[f+1>>0]=t>>>8;i[f+2>>0]=t>>>16;t=l[p+2>>0]|0;s=k[b+(t+v<<2)>>2]|k[b+(t+u<<2)>>2]|k[b+(t+s<<2)>>2];i[f+3>>0]=s;i[f+4>>0]=s>>>8;i[f+5>>0]=s>>>16;if(!m)break;else{n=n+4|0;o=o+4|0;p=p+4|0;f=f+6|0}}if(!g)break;else{d=d+r|0;c=c+r|0;f=q+(j*3|0)|0}}return}function yib(a,b,c,d,e,f,g,h,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;if(!g)return;if((h+1|0)>>>0<3)return;r=((h|0)/2|0)<<2;while(1){g=g+-1|0;q=f+(((h|0)/2|0)*12|0)|0;n=d;o=e;e=e+r|0;p=c;m=(h|0)/2|0;while(1){m=m+-1|0;w=l[n>>0]|0;v=(k[a+(w<<2)>>2]|0)+256|0;s=l[o>>0]|0;w=(k[a+((w|256)<<2)>>2]|0)+1024+(k[a+((s|512)<<2)>>2]|0)|0;s=(k[a+((s|768)<<2)>>2]|0)+1792|0;t=l[p>>0]|0;t=k[b+(t+w<<2)>>2]|k[b+(t+v<<2)>>2]|k[b+(t+s<<2)>>2];i[f+((((h<<1)+j|0)*3|0)+3)>>0]=t;i[f+(((h<<1)+j|0)*3|0)>>0]=t;i[f+3>>0]=t;i[f>>0]=t;i[f+((((h<<1)+j|0)*3|0)+4)>>0]=t>>>8;i[f+((((h<<1)+j|0)*3|0)+1)>>0]=t>>>8;i[f+4>>0]=t>>>8;i[f+1>>0]=t>>>8;i[f+((((h<<1)+j|0)*3|0)+5)>>0]=t>>>16;i[f+((((h<<1)+j|0)*3|0)+2)>>0]=t>>>16;i[f+5>>0]=t>>>16;i[f+2>>0]=t>>>16;t=f+6|0;u=l[p+2>>0]|0;s=k[b+(u+w<<2)>>2]|k[b+(u+v<<2)>>2]|k[b+(u+s<<2)>>2];i[t+((((h<<1)+j|0)*3|0)+3)>>0]=s;i[t+(((h<<1)+j|0)*3|0)>>0]=s;i[f+9>>0]=s;i[t>>0]=s;i[t+((((h<<1)+j|0)*3|0)+4)>>0]=s>>>8;i[t+((((h<<1)+j|0)*3|0)+1)>>0]=s>>>8;i[f+10>>0]=s>>>8;i[f+7>>0]=s>>>8;i[t+((((h<<1)+j|0)*3|0)+5)>>0]=s>>>16;i[t+((((h<<1)+j|0)*3|0)+2)>>0]=s>>>16;i[f+11>>0]=s>>>16;i[f+8>>0]=s>>>16;if(!m)break;else{n=n+4|0;o=o+4|0;p=p+4|0;f=f+12|0}}if(!g)break;else{d=d+r|0;c=c+r|0;f=q+(((h<<1)+j|0)*3|0)|0}}return}function zib(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;if((g|0)==0|(h+1|0)>>>0<3)return;q=((h|0)/2|0)<<2;while(1){g=g+-1|0;p=f+(((h|0)/2|0)<<1<<2)|0;m=d;n=e;e=e+q|0;o=c;j=(h|0)/2|0;while(1){j=j+-1|0;u=l[m>>0]|0;t=(k[a+(u<<2)>>2]|0)+256|0;r=l[n>>0]|0;u=(k[a+((u|256)<<2)>>2]|0)+1024+(k[a+((r|512)<<2)>>2]|0)|0;r=(k[a+((r|768)<<2)>>2]|0)+1792|0;s=l[o>>0]|0;k[f>>2]=k[b+(s+u<<2)>>2]|k[b+(s+t<<2)>>2]|k[b+(s+r<<2)>>2];s=l[o+2>>0]|0;k[f+4>>2]=k[b+(s+u<<2)>>2]|k[b+(s+t<<2)>>2]|k[b+(s+r<<2)>>2];if(!j)break;else{m=m+4|0;n=n+4|0;o=o+4|0;f=f+8|0}}if(!g)break;else{d=d+q|0;c=c+q|0;f=p+(i<<2)|0}}return}function Aib(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;if(!g)return;if((h+1|0)>>>0<3)return;q=((h|0)/2|0)<<2;while(1){g=g+-1|0;p=f+(q<<2)|0;m=d;n=e;e=e+q|0;o=c;j=(h|0)/2|0;while(1){j=j+-1|0;v=l[m>>0]|0;u=(k[a+(v<<2)>>2]|0)+256|0;s=l[n>>0]|0;v=(k[a+((v|256)<<2)>>2]|0)+1024+(k[a+((s|512)<<2)>>2]|0)|0;s=(k[a+((s|768)<<2)>>2]|0)+1792|0;r=l[o>>0]|0;r=k[b+(r+v<<2)>>2]|k[b+(r+u<<2)>>2]|k[b+(r+s<<2)>>2];k[f+((h<<1)+i+1<<2)>>2]=r;k[f+((h<<1)+i<<2)>>2]=r;k[f+4>>2]=r;k[f>>2]=r;r=f+8|0;t=l[o+2>>0]|0;s=k[b+(t+v<<2)>>2]|k[b+(t+u<<2)>>2]|k[b+(t+s<<2)>>2];k[r+((h<<1)+i+1<<2)>>2]=s;k[r+((h<<1)+i<<2)>>2]=s;k[f+12>>2]=s;k[r>>2]=s;if(!j)break;else{m=m+4|0;n=n+4|0;o=o+4|0;f=f+16|0}}if(!g)break;else{d=d+q|0;c=c+q|0;f=p+((h<<1)+i<<2)|0}}return}function Bib(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;g=r;r=r+32|0;if(a|0)if((k[a>>2]|0)==1276009){if((k[a+8>>2]|0)!=1){r=g;return}c=k[a+36>>2]|0;if(k[a+40>>2]|0){k[g+28>>2]=0;k[g+24>>2]=0;k[g+8>>2]=0;k[g+8+4>>2]=0;k[g+8+8>>2]=k[a+12>>2];k[g+8+12>>2]=k[a+16>>2];if((lib(c,g+8|0,g+28|0,g+24|0)|0)>=0){nib(k[a+40>>2]|0,g+8|0,k[c+4>>2]|0,k[g+8+8>>2]|0,k[g+8+12>>2]|0,k[g+28>>2]|0,k[g+24>>2]|0)|0;Bib(c)}r=g;return}if(!c){f=k[a+32>>2]|0;Di[k[f+40>>2]&511](f,a);r=g;return}k[g+28>>2]=0;k[g+24>>2]=0;d=k[a+48>>2]|0;e=(k[a+44>>2]|0)+(ha(d,k[a+56>>2]|0)|0)|0;f=k[a+52>>2]|0;b=k[a+4>>2]|0;a:do if((b|0)==0|(b&-268435456|0)==268435456)b=b&255;else{if((b|0)<1498831189)switch(b|0){case 844715353:{b=2;break a}default:{}}else switch(b|0){case 1498831189:{b=2;break a}default:{}}b=(b|0)==1431918169?2:1}while(0);if((lib(c,a+52|0,g+28|0,g+24|0)|0)>=0){f=e+(ha(b,f)|0)|0;a9a(k[a+60>>2]|0,k[a+64>>2]|0,k[a+4>>2]|0,f,d,k[c+4>>2]|0,k[g+28>>2]|0,k[g+24>>2]|0)|0;Bib(c)}r=g;return}y6a(594950,g)|0;r=g;return}function Cib(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0.0,j=0.0;h=r;r=r+80|0;k[h+64>>2]=0;k[h+64+4>>2]=0;k[h+64+8>>2]=0;k[h+64+12>>2]=0;k[h+48>>2]=0;k[h+48+4>>2]=0;k[h+48+8>>2]=0;k[h+48+12>>2]=0;if(a|0)if((k[a>>2]|0)==1276008){if(b|0)if((k[b>>2]|0)==1276009){if((k[b+32>>2]|0)!=(a|0)){b=y6a(606902,h+16|0)|0;r=h;return b|0}k[h+64>>2]=0;k[h+64+4>>2]=0;k[h+64+8>>2]=k[b+12>>2];k[h+64+12>>2]=k[b+16>>2];if(!c)g=13;else{if(!(R7a(c,h+64|0,h+64|0)|0)){b=0;r=h;return b|0}if((k[a>>2]|0)==1276008)g=13;else{y6a(594933,h+24|0)|0;e=h+48+4|0;f=h+48|0}}if((g|0)==13){j=+o[a+284>>2];k[h+48>>2]=~~(+(k[a+212>>2]|0)/j);i=+o[a+288>>2];k[h+48+4>>2]=~~(+(k[a+216>>2]|0)/i);k[h+48+8>>2]=~~(+(k[a+220>>2]|0)/j);k[h+48+12>>2]=~~(+(k[a+224>>2]|0)/i);e=h+48+4|0;f=h+48|0}k[f>>2]=0;k[e>>2]=0;do if(d|0)if(!(Dib(d,h+48|0)|0)){b=0;r=h;return b|0}else{k[h+48>>2]=k[d>>2];k[h+48+4>>2]=k[d+4>>2];k[h+48+8>>2]=k[d+8>>2];k[h+48+12>>2]=k[d+12>>2];break}while(0);c=k[b+36>>2]|0;if(k[a+192>>2]|0){b=0;r=h;return b|0}i=+o[a+284>>2];o[h+32>>2]=+(k[f>>2]|0)*i;j=+o[a+288>>2];o[h+32+4>>2]=+(k[e>>2]|0)*j;o[h+32+8>>2]=+(k[h+48+8>>2]|0)*i;o[h+32+12>>2]=+(k[h+48+12>>2]|0)*j;b=nj[k[a+72>>2]&127](a,(c|0)==0?b:c,h+64|0,h+32|0)|0;r=h;return b|0}y6a(594950,h+8|0)|0;b=-1;r=h;return b|0}y6a(594933,h)|0;b=-1;r=h;return b|0}function Dib(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=r;r=r+16|0;do if(!a){k[g>>2]=594193;y6a(608563,g)|0;c=0}else{if(!b){k[g+8>>2]=594195;y6a(608563,g+8|0)|0;c=0;break}d=k[a+8>>2]|0;if((d|0)<1)c=0;else{e=k[a+12>>2]|0;if((e|0)<1)c=0;else{f=k[b+8>>2]|0;if((f|0)<1)c=0;else{c=k[b+12>>2]|0;if((c|0)<1)c=0;else{h=k[a>>2]|0;i=k[b>>2]|0;if((((f+i|0)<(d+h|0)?f+i|0:d+h|0)|0)>(((i|0)>(h|0)?i:h)|0)){i=k[a+4>>2]|0;h=k[b+4>>2]|0;c=(((c+h|0)<(e+i|0)?c+h|0:e+i|0)|0)>(((h|0)>(i|0)?h:i)|0)&1}else c=0}}}}}while(0);r=g;return c|0}function Eib(a){a=a|0;var b=0;b=r;r=r+16|0;if(a|0)if((k[a>>2]|0)==1276008){if(k[a+192>>2]|0){r=b;return}Si[k[a+84>>2]&1023](a);r=b;return}y6a(594933,b)|0;r=b;return}function Fib(a,b){a=a|0;b=b|0;b=pgb(b,606687,0)|0;if(!b)return;a=k[b+4>>2]|0;if(a|0)cib(a);a=k[b>>2]|0;if(a|0)bib(a);Y7a(k[b+8>>2]|0);Y7a(b);return}function Gib(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;f=r;r=r+16|0;if(Hib(16)|0)Ghb();O6a(1201680,0,112)|0;O6a(1202004,0,64)|0;a:do if(!a){d=D7a(607505)|0;if(!d){a=0;b=0;while(1){if((a|0)==3){a=d;c=(d|0)==0;e=14;break a}while(1){c=k[139396+(a<<2)>>2]|0;if(!(k[c+12>>2]|0))break;a=a+1|0;if((a|0)==3){a=d;c=(d|0)==0;e=14;break a}}O6a(1201680,0,112)|0;k[300420]=k[c>>2];k[300421]=k[c+4>>2];if(!(Gi[k[c+8>>2]&2047](1201688)|0)){a=a+1|0;b=1}else break}}else{a=d;e=5}}else e=5;while(0);b:do if((e|0)==5){b=0;d=0;while(1){if((b|0)==3){c=0;b=d;e=14;break b}while(1){c=k[139396+(b<<2)>>2]|0;g=k[c>>2]|0;if(!(Phb(g,a,G6a(a)|0)|0))break;b=b+1|0;if((b|0)==3){c=0;b=d;e=14;break b}}O6a(1201680,0,112)|0;k[300420]=k[c>>2];k[300421]=k[c+4>>2];if(!(Gi[k[c+8>>2]&2047](1201688)|0)){b=b+1|0;d=1}else break}}while(0);if((e|0)==14){do if(!b)if(c){y6a(607553,f+8|0)|0;break}else{k[f>>2]=a;y6a(607521,f)|0;break}while(0);O6a(1201680,0,112)|0;g=-1;r=f;return g|0}a=Wgb()|0;k[300441]=a;a=k[300422]|0;if(!a){k[300422]=6;a=6}if(!(k[300423]|0))k[300423]=111;if(!(k[300424]|0))k[300424]=754;if(!(k[300425]|0))k[300425]=755;if(!(k[300426]|0))k[300426]=756;if(!(k[300427]|0))k[300427]=1564;if(!(k[300428]|0))k[300428]=1565;if(!(k[300429]|0))k[300429]=757;if(!(k[300430]|0))k[300430]=758;if(!(k[300431]|0))k[300431]=759;if(!(k[300432]|0))k[300432]=760;if(!(k[300433]|0))k[300433]=761;if(!(k[300434]|0))k[300434]=7;rj[a&15]();g=0;r=f;return g|0}function Hib(a){a=a|0;var b=0,c=0,d=0;a=(a|0)==0?29233:a;d=ja(a|0)|0;if(d>>>0>31){d=0;return d|0}b=a;c=0;a=0;while(1){if(b&1)if(i[1277034+c>>0]|0)a=a|1<>>1}return a|0}function Iib(){Ngb(0,607579,1);if(!(k[300437]|0))return;Ngb(1,607606,2);return}function Jib(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return x7a(4)|0}function Kib(a){a=a|0;return}function Lib(a){a=a|0;return}function Mib(a){a=a|0;return}function Nib(a){a=a|0;return 0}function Oib(a){a=a|0;return 0}function Pib(a){a=a|0;return}function Qib(a){a=a|0;return}function Rib(a){a=a|0;var b=0;if(k[a+160>>2]|0){b=r8a()|0;if((b|0)==(k[a+164>>2]|0))return}return}function Sib(a){a=a|0;var b=0;if(k[a+160>>2]|0){b=r8a()|0;if((b|0)==(k[a+164>>2]|0))return}return}function Tib(a){a=a|0;return}function Uib(){return}function Vib(){var a=0;Xib(607634,53,0);if((Qgb(16384)|0)<0){a=-1;return a|0}a=Yib()|0;a=(a|0)<0?a:0;return a|0}function Wib(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;if(!d)e=3;else if((i[d>>0]|0)==49)d=1;else e=3;if((e|0)==3)d=0;k[300518]=d;return}function Xib(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0;j=r;r=r+16|0;if(a|0)if(i[a>>0]|0){if(!b){k[j+8>>2]=607676;y6a(608563,j+8|0)|0;r=j;return}d=k[299768]|0;a:do if(d|0){while(1){if(!(E7a(a,k[d>>2]|0)|0))break;d=k[d+16>>2]|0;if(!d)break a}e=k[d+12>>2]|0;if(e|0){f=0;while(1){if((k[e>>2]|0)==(b|0))if((k[e+4>>2]|0)==(c|0)){g=f;break}f=k[e+8>>2]|0;if(!f)break a;else{g=e;e=f;f=g}}f=k[e+8>>2]|0;if(!g)k[d+12>>2]=f;else k[g+8>>2]=f;Y7a(e)}}while(0);e=p7a(12)|0;if(!e){x7a(0)|0;r=j;return}k[e>>2]=b;k[e+4>>2]=c;d=k[299768]|0;b:do if(!d)h=22;else while(1){if(!(E7a(a,k[d>>2]|0)|0))break b;d=k[d+16>>2]|0;if(!d){h=22;break}}while(0);do if((h|0)==22){d=p7a(20)|0;if(d|0){h=Ceb(a)|0;k[d>>2]=h;k[d+4>>2]=0;k[d+8>>2]=0;k[d+12>>2]=0;k[d+16>>2]=k[299768];k[299768]=d;break}x7a(0)|0;Y7a(e);r=j;return}while(0);d=d+12|0;k[e+8>>2]=k[d>>2];k[d>>2]=e;d=D7a(a)|0;e=k[299768]|0;c:do if(e){while(1){if(!(E7a(a,k[e>>2]|0)|0))break;e=k[e+16>>2]|0;if(!e)break c}if(d|0)if((k[e+8>>2]|0)!=2)break;d=k[e+4>>2]|0}while(0);vj[b&127](c,a,d,d);r=j;return}k[j>>2]=607671;y6a(608563,j)|0;r=j;return}function Yib(){var a=0,b=0,c=0;c=r;r=r+1456|0;k[300495]=0;a=yf()|0;if((a|0)==-1){b=y6a(607685,c+1432|0)|0;r=c;return b|0}if((a|0)>0){b=0;do{if(!(dc(b|0,c|0)|0))Zib(0,c,0)|0;b=b+1|0}while((b|0)!=(a|0))}if(Yh(0,0,177)|0){a=k[300496]|0;if(a|0)do{b=a;a=k[a+1320>>2]|0;Y7a(k[b+8>>2]|0);Y7a(k[b+4>>2]|0);Y7a(b)}while((a|0)!=0);k[300499]=0;k[300496]=0;k[300495]=0;k[300500]=0;Yh(0,0,0)|0;Jf(0,0,0)|0;b=y6a(607708,c+1440|0)|0;r=c;return b|0}if(!(Jf(0,0,178)|0)){b=0;r=c;return b|0}a=k[300496]|0;if(a|0)do{b=a;a=k[a+1320>>2]|0;Y7a(k[b+8>>2]|0);Y7a(k[b+4>>2]|0);Y7a(b)}while((a|0)!=0);k[300499]=0;k[300496]=0;k[300495]=0;k[300500]=0;Yh(0,0,0)|0;Jf(0,0,0)|0;b=y6a(607747,c+1448|0)|0;r=c;return b|0}function Zib(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=r;r=r+64|0;c=k[b+1300>>2]|0;a:do if((c|0)>=0){a=k[300496]|0;if(a|0){while(1){if((k[a>>2]|0)==(c|0))break;a=k[a+1320>>2]|0;if(!a)break a}r=d;return 1}}while(0);c=p7a(1328)|0;do if(c|0){O6a(c,0,1328)|0;k[c>>2]=k[b+1300>>2];a=Ceb(b+1304|0)|0;k[c+4>>2]=a;if(!a){Y7a(c);break}a=Ceb(b+1368|0)|0;k[c+8>>2]=a;if(!a){Y7a(k[c+4>>2]|0);Y7a(c);break}e=k[b+8>>2]|0;k[c+24>>2]=e;a=k[b+12>>2]|0;k[c+20>>2]=a;f=k[300500]|0;k[300500]=f+1;k[c+12>>2]=f;p[c+32>>3]=+p[b>>3];if((e|0)>0){a=0;do{p[c+40+(a<<3)>>3]=+p[b+16+(a<<3)>>3];a=a+1|0}while((a|0)<(k[c+24>>2]|0));a=k[c+20>>2]|0}if((a|0)>0){a=0;do{p[c+552+(a<<3)>>3]=+p[b+528+(a<<3)>>3];k[c+1064+(a<<2)>>2]=k[b+1040+(a<<2)>>2];a=a+1|0}while((a|0)<(k[c+20>>2]|0))}a=k[300499]|0;if(!a){k[300499]=c;k[300496]=c}else{k[a+1320>>2]=c;k[300499]=c}k[300495]=(k[300495]|0)+1;k[d>>2]=1541;if((i7a(1541,-1)|0)<<24>>24==1){k[d+8>>2]=(k[300495]|0)+-1;if(0)if(!(ka(0,d|0)|0))break;m7a(d)|0}}while(0);r=d;return 1}function _ib(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=r;r=r+64|0;a=k[300496]|0;if(!a){r=e;return 1}b=k[b+1300>>2]|0;c=0;while(1){if((k[a>>2]|0)==(b|0)){b=a;break}c=k[a+1320>>2]|0;if(!c){d=17;break}else{f=a;a=c;c=f}}if((d|0)==17){r=e;return 1}a=k[b+16>>2]|0;if(a|0)k[a+40>>2]=0;a=k[b+1320>>2]|0;if(!c)k[300496]=a;else k[c+1320>>2]=a;if((b|0)==(k[300499]|0))k[300499]=c;k[300495]=(k[300495]|0)+-1;k[e>>2]=1542;do if((i7a(1542,-1)|0)<<24>>24==1){k[e+8>>2]=k[b+12>>2];if(0)if(!(ka(0,e|0)|0))break;m7a(e)|0}while(0);Y7a(k[b+4>>2]|0);Y7a(k[b+8>>2]|0);Y7a(b);r=e;return 1}function $ib(){var a=0,b=0,c=0,d=0;d=r;r=r+64|0;k[300492]=0;ajb(607789)|0;a=C7a(608433)|0;if(a|0)if(i[a>>0]|0){b=G6a(a)|0;c=p7a(b+1|0)|0;y7a(c,a,b)|0;i[c+b>>0]=0;if(c|0){a=bjb(c,10)|0;if(!a)a=c;else{b=c;do{i[a>>0]=0;ajb(b)|0;b=a+1|0;a=bjb(b,10)|0}while((a|0)!=0);a=b}ajb(a)|0}Y7a(c)}$hb(392,0);if((hjb()|0)<=0){r=d;return 0}a=0;do{if(whb(a)|0){k[d>>2]=1619;k[d+8>>2]=a;m7a(d)|0}a=a+1|0}while((a|0)<(hjb()|0));r=d;return 0}function ajb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0;o=r;r=r+160|0;if(!a){k[o+72>>2]=608039;n=y6a(608563,o+72|0)|0;r=o;return n|0}b=bjb(a,44)|0;do if(b|0){c=p7a(b-a+1|0)|0;if(!c){x7a(0)|0;break}y7a(c,a,b-a|0)|0;i[c+(b-a)>>0]=0;l=(J8a(c,608081)|0)==0;m=(J8a(c,608088)|0)==0;cjb(o+104|0,c);g=o+120|0;h=o+104|0;j=g+16|0;do{i[g>>0]=i[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(j|0));Y7a(c);g=o;h=o+120|0;j=g+16|0;do{i[g>>0]=i[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(j|0));b=bjb(a,44)|0;a:do if(!b)n=11;else{c=bjb(b+1|0,44)|0;if(!c)n=11;else{d=p7a(c-b|0)|0;if(!d){x7a(0)|0;n=11;break}y7a(d,b+1|0,c-b|0)|0;i[d+(c-b+-1)>>0]=0;b=bjb(a,44)|0;if(b|0){b=bjb(b+1|0,44)|0;if(b|0){c=Ceb(b+1|0)|0;if(c|0){b=k[300492]|0;b:do if(!b)n=25;else{while(1){if(!(U6a(o,b,16)|0)){f=b;break}b=k[b+24>>2]|0;if(!b){n=25;break b}}Y7a(k[b+16>>2]|0);k[b+16>>2]=d;Y7a(k[b+20>>2]|0);k[b+20>>2]=c;c=k[300491]|0;if(!c){n=0;r=o;return n|0}do{a=c+12|0;if(!(U6a(a,f,16)|0)){k[o+16>>2]=1621;k[o+16+8>>2]=k[k[c>>2]>>2];m7a(o+16|0)|0;d=k[b+16>>2]|0;e=k[b+20>>2]|0;g=o+136|0;h=b;j=g+16|0;do{i[g>>0]=i[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(j|0));djb(a,o+136|0,d,e)}c=k[c+896>>2]|0}while((c|0)!=0);c=1}while(0);do if((n|0)==25){b=p7a(28)|0;if(!b){Y7a(d);Y7a(c);x7a(0)|0;break a}else{g=b;h=o;j=g+16|0;do{i[g>>0]=i[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(j|0));k[b+16>>2]=d;k[b+20>>2]=c;k[b+24>>2]=k[300492];k[300492]=b;c=0;break}}while(0);if(!b){n=-1;r=o;return n|0}if(c|0){n=0;r=o;return n|0}if(l)k[300498]=b;if(!m){n=1;r=o;return n|0}k[300497]=b;n=1;r=o;return n|0}}}Y7a(d);k[o+96>>2]=a;y6a(608127,o+96|0)|0}}while(0);if((n|0)==11){k[o+88>>2]=a;y6a(608099,o+88|0)|0}n=-1;r=o;return n|0}while(0);k[o+80>>2]=a;n=y6a(608053,o+80|0)|0;r=o;return n|0}function bjb(a,b){a=a|0;b=b|0;return gob(a,b)|0}function cjb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=r;r=r+16|0;e=(G6a(b)|0)&-2;O6a(h,0,16)|0;a:do if(e|0){f=0;g=h;while(1){if((g-h|0)>=16)break a;c=i[b+f>>0]|0;do if((c+-48&255)<10)c=(c<<24>>24)+208|0;else if((c+-65&255)<6){c=(c<<24>>24)+201|0;break}else{c=(c+-97&255)<6?(c<<24>>24)+169|0:0;break}while(0);d=c<<4;c=i[b+(f|1)>>0]|0;do if((c+-48&255)<10)c=(c<<24>>24)+208|0;else if((c+-65&255)<6){c=(c<<24>>24)+201|0;break}else{c=(c+-97&255)<6?(c<<24>>24)+169|0:0;break}while(0);i[g>>0]=c|d;f=f+2|0;if(f>>>0>=e>>>0)break;else g=g+1|0}}while(0);c=h;d=a+16|0;do{i[a>>0]=i[c>>0]|0;a=a+1|0;c=c+1|0}while((a|0)<(d|0));r=h;return}function djb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;g=r;r=r+64|0;f=a;e=f+16|0;do{i[f>>0]=i[b>>0]|0;f=f+1|0;b=b+1|0}while((f|0)<(e|0));k[a+16>>2]=c;k[a+196>>2]=-1;k[a+204>>2]=-1;k[a+212>>2]=-1;k[a+220>>2]=-1;k[a+228>>2]=-1;k[a+236>>2]=-1;k[a+244>>2]=-1;k[a+252>>2]=-1;k[a+260>>2]=-1;k[a+268>>2]=-1;k[a+276>>2]=-1;k[a+284>>2]=-1;k[a+292>>2]=-1;k[a+300>>2]=-1;vBb(a+20|0,-1,172)|0;b=0;do{k[a+308+(b<<2)>>2]=-1;k[a+388+(b<<2)>>2]=-1;k[a+468+(b<<2)>>2]=-1;k[a+548+(b<<2)>>2]=-1;b=b+1|0}while((b|0)!=20);vBb(a+628|0,-1,256)|0;O6a(g+32|0,0,20)|0;O6a(g+12|0,0,20)|0;a:do if(d|0){b=1;e=0;b:while(1){c=i[d>>0]|0;c:do switch(c<<24>>24){case 0:break a;case 58:{b=0;e=0;break}default:{switch(c<<24>>24){case 32:break c;case 44:{ejb(g+32|0,g+12|0,a);O6a(g+32|0,0,20)|0;O6a(g+12|0,0,20)|0;b=1;e=0;break c}default:{}}f=e>>>0>19;if(!b){if(f){b=12;break b}i[g+12+e>>0]=c;b=0;e=e+1|0;break c}else{if(f){b=9;break b}i[g+32+e>>0]=c;e=e+1|0;break c}}}while(0);d=d+1|0}if((b|0)==9){k[g>>2]=g+32;y6a(608372,g)|0;r=g;return}else if((b|0)==12){k[g+8>>2]=g+12;y6a(608398,g+8|0)|0;r=g;return}}while(0);ejb(g+32|0,g+12|0,a);r=g;return}function ejb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=r;r=r+32|0;f=fjb(a)|0;a=gjb(a)|0;e=Ggb(b+1|0)|0;switch(i[b>>0]|0){case 97:{if((e|0)>19){k[g>>2]=e;y6a(608296,g)|0;r=g;return}if((a|0)!=-1){k[c+20+(a<<2)>>2]=e;k[c+308+(e<<2)>>2]=a;r=g;return}if((f|0)==-1){r=g;return}k[c+128+(f<<2)>>2]=e;k[c+548+(e<<2)>>2]=f;r=g;return}case 98:{if((e|0)>19){k[g+8>>2]=e;y6a(608321,g+8|0)|0;r=g;return}if((f|0)!=-1){k[c+68+(f<<2)>>2]=e;k[c+468+(e<<2)>>2]=f;r=g;return}if((a|0)==-1){r=g;return}k[c+44+(a<<2)>>2]=e;k[c+388+(e<<2)>>2]=a;r=g;return}case 104:{d=Ggb(b+1|0)|0;a=Ggb(b+3|0)|0;if((d|0)>3){k[g+16>>2]=e;y6a(608348,g+16|0)|0}if((f|0)==-1){r=g;return}k[c+188+(f<<3)>>2]=d;i[c+188+(f<<3)+4>>0]=a;k[c+628+((d<<4|a)<<2)>>2]=f;r=g;return}default:{r=g;return}}}function fjb(a){a=a|0;if(!a)a=-1;else if(!(i[a>>0]|0))a=-1;else if(!(J8a(a,608145)|0))a=0;else if(!(J8a(a,608147)|0))a=1;else if(!(J8a(a,608149)|0))a=2;else if(!(J8a(a,608151)|0))a=3;else if(!(J8a(a,608153)|0))a=4;else if(!(J8a(a,608158)|0))a=5;else if(!(J8a(a,608164)|0))a=6;else if(!(J8a(a,608170)|0))a=7;else if(!(J8a(a,608180)|0))a=8;else if(!(J8a(a,608191)|0))a=9;else if(!(J8a(a,608204)|0))a=10;else if(!(J8a(a,608218)|0))a=11;else if(!(J8a(a,608223)|0))a=12;else if(!(J8a(a,608230)|0))a=13;else{a=(J8a(a,608237)|0)==0;return (a?14:-1)|0}return a|0}function gjb(a){a=a|0;if(!a){a=-1;return a|0}if(!(i[a>>0]|0)){a=-1;return a|0}if(!(J8a(a,608245)|0)){a=0;return a|0}if(!(J8a(a,608251)|0)){a=1;return a|0}if(!(J8a(a,608257)|0)){a=2;return a|0}if(!(J8a(a,608264)|0)){a=3;return a|0}if(!(J8a(a,608271)|0)){a=4;return a|0}else{a=(J8a(a,608283)|0)==0;return (a?5:-1)|0}return 0}function hjb(){return yhb()|0}function ijb(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+16|0;b=k[299476]|0;if(!b){y6a(593213,d)|0;r=d;return}if(a|0)if((k[a>>2]|0)==(b+256|0)){if(k[a+48>>2]&64|0){r=d;return}K6a(a,0)|0;b=k[299476]|0;c=k[b+76>>2]|0;if(!c){r=d;return}Di[c&511](b,a);r=d;return}y6a(606710,d+8|0)|0;r=d;return}function jjb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=r;r=r+48|0;if(!a){k[j>>2]=608509;i=y6a(608563,j)|0;r=j;return i|0}i=afb()|0;do if(i|0){c=k[299476]|0;if(!c){y6a(593213,j+8|0)|0;h=0;break}if((k[i>>2]|0)==(c+256|0)){h=(k[i+48>>2]&16384|0)!=0;break}else{y6a(606710,j+16|0)|0;h=0;break}}else h=0;while(0);f=kjb()|0;$eb(0)|0;nhb(0)|0;g=ljb(1)|0;mfb();d=(b|0)==0?j+44|0:b;c=k[299476]|0;if(!c)e=12;else{b=k[c+228>>2]|0;if(!b)e=12;else{c=Ri[b&255](c,a,d)|0;if((c|0)==-1)e=12}}if((e|0)==12){y6a(608524,j+24|0)|0;c=-1}if(i|0){b=k[299476]|0;do if(!b)y6a(593213,j+32|0)|0;else{if((k[i>>2]|0)!=(b+256|0)){y6a(606710,j+40|0)|0;break}if(k[i+48>>2]&4|0){d=k[b+68>>2]|0;if(d|0)Di[d&511](b,i)}}while(0);if(h)$eb(1)|0}ljb(g)|0;nhb(f)|0;i=c;r=j;return i|0}function kjb(){return k[299496]|0}function ljb(a){a=a|0;var b=0,c=0,d=0;c=k[299503]|0;if((a|0)<=-1)return c|0;k[299503]=(a|0)!=0&1;if(((a|0)!=0|0)==(c|0))return c|0;b=(k[299488]|0)==0?k[299501]|0:k[299502]|0;d=k[299479]|0;if((b|0)!=0&(a|0)!=0&(k[299496]|0)==0){if(!d)return c|0;Gi[d&2047](b)|0;return c|0}else{if(!d)return c|0;Gi[d&2047](0)|0;return c|0}return 0}function mjb(a){a=a|0;i[a>>0]=2;i[a+1>>0]=0;i[a+2>>0]=4;return}function njb(){return 608552}function ojb(){var a=0;a=k[300519]|0;if(a|0)return a|0;k[300519]=1;a=1;return a|0}function pjb(){var a=0;a=bfb()|0;if(a|0)Si[k[a+180>>2]&1023](a);if(k[299511]|0)if(!(qjb(-1)|0)){wjb();return}rjb();wjb();return}function qjb(a){a=a|0;var b=0;if((a|0)==-1)b=0;else{i7a(1536,a)|0;i7a(1537,a)|0;i7a(1538,a)|0;i7a(1539,a)|0;i7a(1540,a)|0;i7a(1541,a)|0;i7a(1542,a)|0;b=a;return b|0}do{a=i7a(k[139412+(b<<2)>>2]|0,-1)|0;b=b+1|0}while(a<<24>>24!=1&b>>>0<7);b=a&255;return b|0}function rjb(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0;g=r;r=r+64|0;a=k[300494]|0;if(!a){r=g;return}do{f=a;a=k[a+56>>2]|0;k[300493]=f;sjb(f);if(k[f+48>>2]|0){b=k[f+8>>2]|0;if((b|0)>0){e=0;do{c=e&255;d=e&255;if((d|0)<(b|0))if(j[(k[f+12>>2]|0)+(d<<1)>>1]|0){if(!(k[300518]|0))Hib(32)|0;j[(k[f+12>>2]|0)+(d<<1)>>1]=0;if((i7a(1536,-1)|0)<<24>>24==1){k[g>>2]=1536;k[g+8>>2]=k[f>>2];i[g+12>>0]=c;j[g+16>>1]=0;m7a(g)|0}}e=e+1|0;b=k[f+8>>2]|0}while((e|0)<(b|0))}if((k[f+32>>2]|0)>0){d=0;do{b=d&255;k[g>>2]=1540;c=d&255;if((c|0)<(k[f+32>>2]|0))if(i[(k[f+36>>2]|0)+c>>0]|0){if(!(k[300518]|0))Hib(32)|0;i[(k[f+36>>2]|0)+c>>0]=0;if((i7a(k[g>>2]|0,-1)|0)<<24>>24==1){k[g+8>>2]=k[f>>2];i[g+12>>0]=b;i[g+13>>0]=0;m7a(g)|0}}d=d+1|0}while((d|0)<(k[f+32>>2]|0))}b=k[f+16>>2]|0;if((b|0)>0){e=0;do{c=e&255;d=e&255;if((d|0)<(b|0))if(i[(k[f+20>>2]|0)+d>>0]|0){if(!(k[300518]|0))Hib(32)|0;i[(k[f+20>>2]|0)+d>>0]=0;if((i7a(1538,-1)|0)<<24>>24==1){k[g>>2]=1538;k[g+8>>2]=k[f>>2];i[g+12>>0]=c;i[g+13>>0]=0;m7a(g)|0}}e=e+1|0;b=k[f+16>>2]|0}while((e|0)<(b|0))}k[f+48>>2]=0}k[300493]=0;if((k[f+44>>2]|0)<1)thb(f)}while((a|0)!=0);r=g;return}function sjb(a){a=a|0;var b=0.0,c=0,d=0,e=0,f=0,g=0,h=0;h=r;r=r+1440|0;g=k[a+40>>2]|0;if(!g){r=h;return}if(dc(k[g>>2]|0,h|0)|0){r=h;return}b=+p[h>>3];if(!(b==0.0))if(!(b!=+p[g+32>>3])){r=h;return}if((k[g+20>>2]|0)>0){f=0;do{e=g+1064+(f<<2)|0;a=k[e>>2]|0;c=h+1040+(f<<2)|0;d=k[c>>2]|0;if((a|0)!=(d|0)){tjb(k[g+16>>2]|0,f&255,(d|0)!=0&1)|0;a=k[c>>2]|0}p[g+552+(f<<3)>>3]=+p[h+528+(f<<3)>>3];k[e>>2]=a;f=f+1|0}while((f|0)<(k[g+20>>2]|0))}if((k[g+24>>2]|0)>0){d=0;do{c=g+40+(d<<3)|0;a=h+16+(d<<3)|0;b=+p[a>>3];if(+p[c>>3]!=b){ujb(k[g+16>>2]|0,d&255,~~(b*32767.0))|0;b=+p[a>>3]}p[c>>3]=b;d=d+1|0}while((d|0)<(k[g+24>>2]|0))}p[g+32>>3]=+p[h>>3];r=h;return}function tjb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+64|0;switch(c&255|0){case 1:{k[d>>2]=1539;break}case 0:{k[d>>2]=1540;break}default:{c=0;r=d;return c|0}}if((b&255|0)>=(k[a+32>>2]|0)){c=0;r=d;return c|0}if((i[(k[a+36>>2]|0)+(b&255)>>0]|0)==c<<24>>24){c=0;r=d;return c|0}if(!(k[300518]|0))if(Hib(32)|0)if(c<<24>>24==1&(afb()|0)==0){c=0;r=d;return c|0}i[(k[a+36>>2]|0)+(b&255)>>0]=c;if((i7a(k[d>>2]|0,-1)|0)<<24>>24!=1){c=0;r=d;return c|0}k[d+8>>2]=k[a>>2];i[d+12>>0]=b;i[d+13>>0]=c;c=(m7a(d)|0)==1&1;r=d;return c|0}function ujb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+64|0;if((b&255|0)>=(k[a+8>>2]|0)){c=0;r=d;return c|0}if((j[(k[a+12>>2]|0)+((b&255)<<1)>>1]|0)==c<<16>>16){c=0;r=d;return c|0}do if(!(k[300518]|0))if(Hib(32)|0)if(!(afb()|0)){if(c<<16>>16>0){if((j[(k[a+12>>2]|0)+((b&255)<<1)>>1]|0)>c<<16>>16)break;else b=0;r=d;return b|0}if(c<<16>>16<0)if((j[(k[a+12>>2]|0)+((b&255)<<1)>>1]|0)>=c<<16>>16){c=0;r=d;return c|0}}while(0);j[(k[a+12>>2]|0)+((b&255)<<1)>>1]=c;if((i7a(1536,-1)|0)<<24>>24!=1){c=0;r=d;return c|0}k[d>>2]=1536;k[d+8>>2]=k[a>>2];i[d+12>>0]=b;j[d+16>>1]=c;c=(m7a(d)|0)==1&1;r=d;return c|0}function vjb(){return}function wjb(){if(!(k[299769]|0))return;k[299769]=0;K7a(256)|0;return}function xjb(a){a=a|0;var b=0,c=0;a:while(1){b=bfb()|0;if(b|0)Si[k[b+180>>2]&1023](b);if(!(k[299511]|0))c=6;else if(qjb(-1)|0)c=6;if((c|0)==6){c=0;rjb()}wjb();switch(o7a(a,1,2,0,65535)|0){case 1:break a;case 0:case -1:{b=0;c=9;break a}default:{}}}if((c|0)==9)return b|0;c=1;return c|0}function yjb(a){a=a|0;var b=0,c=0;a:while(1){b=bfb()|0;if(b|0)Si[k[b+180>>2]&1023](b);if(!(k[299511]|0))c=6;else if(qjb(-1)|0)c=6;if((c|0)==6){c=0;rjb()}wjb();switch(o7a(a,1,2,0,65535)|0){case 1:break a;case -1:{b=0;c=10;break a}case 0:break;default:continue a}t8a(10)}if((c|0)==10)return b|0;c=1;return c|0}function zjb(a){a=a|0;if(a|0)k[a>>2]=512;return 1199098}function Ajb(a){a=a|0;var b=0;b=r;r=r+16|0;if(a>>>0>511){k[b>>2]=608589;y6a(608563,b)|0;a=0;r=b;return a|0}else{a=k[1199612+(a<<2)>>2]|0;r=b;return a|0}return 0}function Bjb(a){a=a|0;var b=0;b=0;while(1){if((k[1199612+(b<<2)>>2]|0)==(a|0)){a=4;break}b=b+1|0;if(b>>>0>=512){b=0;a=4;break}}if((a|0)==4)return b|0;return 0}function Cjb(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+16|0;do if(!a)if(!(k[299488]|0)){a=k[299501]|0;break}else{a=k[299502]|0;break}else{if((k[299501]|0)!=(a|0)){c=1198e3;do{c=k[c>>2]|0;b=(c|0)!=0}while(!((c|0)==(a|0)|b^1));if(!b){y6a(608598,d)|0;r=d;return}}k[299502]=a}while(0);b=k[299479]|0;if((a|0)!=0&(k[299503]|0)!=0&(k[299496]|0)==0){if(!b){r=d;return}Gi[b&2047](a)|0;r=d;return}else{if(!b){r=d;return}Gi[b&2047](0)|0;r=d;return}}function Djb(a){a=a|0;var b=0,c=0,d=0,e=0;if(!a)return;b=k[299501]|0;if((b|0)==(a|0))return;do if((k[299502]|0)==(a|0)){if(!b)b=(k[299488]|0)==0?0:a;else k[299502]=b;c=k[299479]|0;if((b|0)!=0&(k[299503]|0)!=0&(k[299496]|0)==0){if(!c)break;Gi[c&2047](b)|0;break}else{if(!c)break;Gi[c&2047](0)|0;break}}while(0);b=k[299500]|0;if(!b)return;else c=0;while(1){if((b|0)==(a|0))break;c=k[b>>2]|0;if(!c){d=20;break}else{e=b;b=c;c=e}}if((d|0)==20)return;b=k[a>>2]|0;if(!c)k[299500]=b;else k[c>>2]=b;b=k[299481]|0;if(!b)return;Si[b&1023](a);return}function Ejb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=r;r=r+32|0;if(!a){y6a(608721,f)|0;c=0;r=f;return c|0}d=k[299477]|0;if(!d){y6a(608643,f+8|0)|0;c=0;r=f;return c|0}if((c|b|0)>=0)if((k[a+8>>2]|0)>(b|0))if((k[a+12>>2]|0)>(c|0)){do if((k[k[a+4>>2]>>2]|0)==372645892)e=0;else{e=reb(a,372645892,0)|0;if(!e){c=0;r=f;return c|0}else{a=e;d=k[299477]|0;break}}while(0);a=Ri[d&255](a,b,c)|0;if(a|0){k[a>>2]=k[299500];k[299500]=a}N7a(e);c=a;r=f;return c|0}y6a(608679,f+16|0)|0;c=0;r=f;return c|0}function Fjb(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=k[299478]|0;if(!b){y6a(608748,c)|0;b=0}else{b=Gi[b&2047](a)|0;if(!b)b=0;else{k[b>>2]=k[299500];k[299500]=b}}r=c;return b|0}function Gjb(){return k[299501]|0}function Hjb(){return 0}function Ijb(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;a:do if(a|0){b=k[299475]|0;if(b|0){while(1){if((b|0)==(a|0))break;b=k[b+104>>2]|0;if(!b)break a}a=l[a>>0]|0;r=c;return a|0}}while(0);y6a(608882,c)|0;a=-1;r=c;return a|0}function Jjb(a){a=a|0;var b=0;b=r;r=r+16|0;if(!a){y6a(608923,b)|0;a=0}else a=1;r=b;return a|0}function Kjb(a){a=a|0;return 0}function Ljb(a){a=a|0;var b=0,c=0;c=r;r=r+32|0;if((Hjb()|0)<1){a=Hjb()|0;k[c>>2]=a;y6a(608794,c)|0;a=0;r=c;return a|0}if(!(Jjb(a)|0)){y6a(608955,c+8|0)|0;a=0;r=c;return a|0}if((Kjb(a)|0)<1){y6a(608985,c+16|0)|0;a=0;r=c;return a|0}b=k[299475]|0;a:do if(b|0){while(1){if(Mjb(b,a)|0)break;b=k[b+104>>2]|0;if(!b)break a}k[b+28>>2]=(k[b+28>>2]|0)+1;a=b;r=c;return a|0}while(0);b=p7a(108)|0;if(!b){x7a(0)|0;a=0;r=c;return a|0}O6a(b,0,108)|0;k[b+32>>2]=-1;if((Njb(b,a)|0)<0){Y7a(b);a=0;r=c;return a|0}else{k[b+28>>2]=(k[b+28>>2]|0)+1;k[b+104>>2]=k[299475];k[299475]=b;a=b;r=c;return a|0}return 0}function Mjb(a,b){a=a|0;b=b|0;return 0}function Njb(a,b){a=a|0;b=b|0;a=r;r=r+16|0;b=y6a(608840,a)|0;r=a;return b|0}function Ojb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=r;r=r+32|0;a:do if(a|0){b=k[299475]|0;if(b|0){while(1){if((b|0)==(a|0))break;b=k[b+104>>2]|0;if(!b)break a}e=k[a+28>>2]|0;k[a+28>>2]=e+-1;if((e|0)>1){r=f;return}b=k[a+8>>2]|0;if((b|0)>0){e=0;do{d=k[a+4>>2]|0;b:do if(k[d+(e*72|0)+68>>2]|0){c=k[299475]|0;c:do if(c|0){while(1){if((c|0)==(a|0))break;c=k[c+104>>2]|0;if(!c)break c}if((b|0)>(e|0)){Pjb(a,d+(e*72|0)|0);break b}else{y6a(609025,f+16|0)|0;break b}}while(0);y6a(608882,f+8|0)|0}while(0);e=e+1|0;b=k[a+8>>2]|0}while((e|0)<(b|0))}b=k[299475]|0;d:do if(b|0){c=0;while(1){if((b|0)==(a|0))break;c=k[b+104>>2]|0;if(!c)break d;else{e=b;b=c;c=e}}b=k[a+104>>2]|0;if(!c){k[299475]=b;break}else{k[c+104>>2]=b;break}}while(0);Y7a(a);r=f;return}}while(0);y6a(608882,f)|0;r=f;return}function Pjb(a,b){a=a|0;b=b|0;a=r;r=r+16|0;y6a(608840,a)|0;r=a;return}function Qjb(a){a=a|0;return}function Rjb(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+16|0;a:do if(a|0){c=k[299475]|0;if(c|0){while(1){if((c|0)==(a|0))break;c=k[c+104>>2]|0;if(!c)break a}if((b|0)>=0)if((k[a+8>>2]|0)>(b|0)){c=k[a+4>>2]|0;if(!(k[c+(b*72|0)+68>>2]|0)){r=d;return}Pjb(a,c+(b*72|0)|0);r=d;return}y6a(609025,d+8|0)|0;r=d;return}}while(0);y6a(608882,d)|0;r=d;return}function Sjb(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;a:do if(a|0){b=k[299475]|0;if(b|0){while(1){if((b|0)==(a|0))break;b=k[b+104>>2]|0;if(!b)break a}a=k[a+16>>2]|0;r=c;return a|0}}while(0);y6a(608882,c)|0;a=0;r=c;return a|0}function Tjb(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;a:do if(a|0){b=k[299475]|0;if(b|0){while(1){if((b|0)==(a|0))break;b=k[b+104>>2]|0;if(!b)break a}a=k[a+20>>2]|0;r=c;return a|0}}while(0);y6a(608882,c)|0;a=-1;r=c;return a|0}function Ujb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=r;r=r+32|0;a:do if(a|0){c=k[299475]|0;if(c|0){d=c;while(1){if((d|0)==(a|0))break;d=k[d+104>>2]|0;if(!d)break a}while(1){if((c|0)==(a|0)){c=9;break}c=k[c+104>>2]|0;if(!c){c=8;break}}if((c|0)==8)y6a(608882,f+8|0)|0;else if((c|0)==9)if(!((m[b>>1]|0)&k[a+16>>2])){a=y6a(609060,f+16|0)|0;r=f;return a|0}d=k[a+8>>2]|0;b:do if((d|0)>0){e=k[a+4>>2]|0;c=0;while(1){if(!(k[e+(c*72|0)+68>>2]|0))break;c=c+1|0;if((c|0)>=(d|0))break b}if(Vjb(a,e+(c*72|0)|0,b)|0){a=-1;r=f;return a|0}y7a((k[a+4>>2]|0)+(c*72|0)|0,b,68)|0;a=c;r=f;return a|0}while(0);a=y6a(609107,f+24|0)|0;r=f;return a|0}}while(0);y6a(608882,f)|0;a=-1;r=f;return a|0}function Vjb(a,b,c){a=a|0;b=b|0;c=c|0;b=r;r=r+16|0;a=y6a(608840,b)|0;r=b;return a|0}function Wjb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+32|0;a:do if(a|0){d=k[299475]|0;if(d|0){while(1){if((d|0)==(a|0))break;d=k[d+104>>2]|0;if(!d)break a}if((b|0)>=0)if((k[a+8>>2]|0)>(b|0)){d=(k[a+4>>2]|0)+(b*72|0)|0;if((j[c>>1]|0)!=(j[d>>1]|0)){a=y6a(609146,e+16|0)|0;r=e;return a|0}if((Xjb(a,d,c)|0)<0){a=-1;r=e;return a|0}y7a((k[a+4>>2]|0)+(b*72|0)|0,c,68)|0;a=0;r=e;return a|0}y6a(609025,e+8|0)|0;a=-1;r=e;return a|0}}while(0);y6a(608882,e)|0;a=-1;r=e;return a|0}function Xjb(a,b,c){a=a|0;b=b|0;c=c|0;b=r;r=r+16|0;a=y6a(608840,b)|0;r=b;return a|0}function Yjb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;a:do if(a|0){d=k[299475]|0;if(d|0){while(1){if((d|0)==(a|0))break;d=k[d+104>>2]|0;if(!d)break a}if((b|0)>=0)if((k[a+8>>2]|0)>(b|0)){c=(Zjb(a,(k[a+4>>2]|0)+(b*72|0)|0,c)|0)>>31;r=e;return c|0}y6a(609025,e+8|0)|0;c=-1;r=e;return c|0}}while(0);y6a(608882,e)|0;c=-1;r=e;return c|0}function Zjb(a,b,c){a=a|0;b=b|0;c=c|0;a=r;r=r+16|0;c=y6a(608840,a)|0;r=a;return c|0}function _jb(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+16|0;a:do if(a|0){c=k[299475]|0;if(c|0){while(1){if((c|0)==(a|0))break;c=k[c+104>>2]|0;if(!c)break a}if((b|0)>=0)if((k[a+8>>2]|0)>(b|0)){a=($jb(a,(k[a+4>>2]|0)+(b*72|0)|0)|0)>>31;r=d;return a|0}y6a(609025,d+8|0)|0;a=-1;r=d;return a|0}}while(0);y6a(608882,d)|0;a=-1;r=d;return a|0}function $jb(a,b){a=a|0;b=b|0;b=r;r=r+16|0;a=y6a(608840,b)|0;r=b;return a|0}function akb(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+32|0;a:do if(a|0){c=k[299475]|0;if(c|0){while(1){if((c|0)==(a|0))break;c=k[c+104>>2]|0;if(!c)break a}if((b|0)>=0)if((k[a+8>>2]|0)>(b|0))if(!(k[a+16>>2]&16384)){a=y6a(609187,d+16|0)|0;r=d;return a|0}else{a=bkb(a,(k[a+4>>2]|0)+(b*72|0)|0)|0;r=d;return a|0}y6a(609025,d+8|0)|0;a=-1;r=d;return a|0}}while(0);y6a(608882,d)|0;a=-1;r=d;return a|0}function bkb(a,b){a=a|0;b=b|0;b=r;r=r+16|0;a=y6a(608840,b)|0;r=b;return a|0}function ckb(a){a=a|0;return (whb(a)|0)!=0|0}function dkb(a){a=a|0;if(a>>>0>=6){a=0;return a|0}a=k[139440+(a<<2)>>2]|0;return a|0}function ekb(a){a=a|0;if(a>>>0>=15){a=0;return a|0}a=k[139468+(a<<2)>>2]|0;return a|0}function fkb(a){a=a|0;var b=0,c=0,d=0,e=0;e=r;r=r+64|0;b=k[300492]|0;if(!b){d=0;r=e;return d|0}while(1){if(!(U6a(a,b,16)|0)){d=b;break}b=k[b+24>>2]|0;if(!b){b=0;c=7;break}}if((c|0)==7){r=e;return b|0}c=e+48|0;b=a;a=c+16|0;do{i[c>>0]=i[b>>0]|0;c=c+1|0;b=b+1|0}while((c|0)<(a|0));gkb(e+48|0,e+12|0,33);a=G6a(e+12|0)|0;b=G6a(k[d+16>>2]|0)|0;b=a+3+b+(G6a(k[d+20>>2]|0)|0)|0;a=p7a(b)|0;if(!a){x7a(0)|0;d=0;r=e;return d|0}else{c=k[d+16>>2]|0;d=k[d+20>>2]|0;k[e>>2]=e+12;k[e+4>>2]=c;k[e+8>>2]=d;B6a(a,b,609252,e)|0;d=a;r=e;return d|0}return 0}function gkb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;if((b|0)==0|(c|0)<1)return;if((c+-1|0)>1){d=b;e=0;while(1){f=l[a+e>>0]|0;i[d>>0]=i[609235+(f>>>4)>>0]|0;b=d+2|0;i[d+1>>0]=i[609235+(f&15)>>0]|0;e=e+1|0;if(!(e>>>0<16?(e|0)<((c+-1|0)/2|0|0):0))break;else d=b}}i[b>>0]=0;return}function hkb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;g=r;r=r+32|0;if((a|0)>=0)if((hjb()|0)>(a|0)){b=k[300491]|0;a:do if(b|0){while(1){f=ikb(a)|0;if((f|0)==(k[k[b>>2]>>2]|0))break;b=k[b+896>>2]|0;if(!b)break a}k[b+4>>2]=(k[b+4>>2]|0)+1;f=b;r=g;return f|0}while(0);b=whb(a)|0;if(!b){k[g+8>>2]=a;y6a(609294,g+8|0)|0;f=0;r=g;return f|0}f=p7a(900)|0;if(!f){x7a(0)|0;f=0;r=g;return f|0}O6a(f,0,900)|0;e=jkb(a)|0;k[f>>2]=e;if(!e){Y7a(f);f=0;r=g;return f|0}else{c=k[b+16>>2]|0;d=k[b+20>>2]|0;e=g+16|0;a=e+16|0;do{i[e>>0]=i[b>>0]|0;e=e+1|0;b=b+1|0}while((e|0)<(a|0));djb(f+12|0,g+16|0,c,d);k[f+4>>2]=(k[f+4>>2]|0)+1;k[f+896>>2]=k[300491];k[300491]=f;sjb(k[f>>2]|0);r=g;return f|0}}f=hjb()|0;k[g>>2]=f;y6a(609261,g)|0;f=0;r=g;return f|0}function ikb(a){a=a|0;var b=0;b=k[300496]|0;if((a|0)>0)while(1){b=k[b+1320>>2]|0;if((a|0)>1)a=a+-1|0;else break}return k[b+12>>2]|0}function jkb(a){a=a|0;var b=0,c=0,d=0,e=0;e=r;r=r+16|0;if((a|0)>=0)if((yhb()|0)>(a|0)){b=k[300494]|0;a:do if(b|0){while(1){d=ikb(a)|0;if((d|0)==(k[b>>2]|0))break;b=k[b+56>>2]|0;if(!b)break a}k[b+44>>2]=(k[b+44>>2]|0)+1;d=b;r=e;return d|0}while(0);d=p7a(60)|0;if(!d){x7a(0)|0;d=0;r=e;return d|0}O6a(d,0,60)|0;if((kkb(d,a)|0)<0){Y7a(d);d=0;r=e;return d|0}b=Bhb(a)|0;if(!b)k[d+4>>2]=0;else{a=Ceb(b)|0;k[d+4>>2]=a}b=k[d+8>>2]|0;if((b|0)>0){a=p7a(b<<1)|0;k[d+12>>2]=a}b=k[d+16>>2]|0;if((b|0)>0){a=p7a(b)|0;k[d+20>>2]=a}b=k[d+24>>2]|0;if((b|0)>0){a=p7a(b<<3)|0;k[d+28>>2]=a}b=k[d+32>>2]|0;if((b|0)>0){a=p7a(b)|0;k[d+36>>2]=a}a=k[d+8>>2]|0;if((a|0)>0){if(k[d+12>>2]|0)c=25}else c=25;do if((c|0)==25){if((k[d+16>>2]|0)>0)if(!(k[d+20>>2]|0))break;if((k[d+24>>2]|0)>0)if(!(k[d+28>>2]|0))break;if((k[d+32>>2]|0)>0)if(!(k[d+36>>2]|0))break;b=k[d+12>>2]|0;if(b|0)O6a(b,0,a<<1)|0;b=k[d+20>>2]|0;if(b|0)O6a(b,0,k[d+16>>2]|0)|0;b=k[d+28>>2]|0;if(b|0)O6a(b,0,k[d+24>>2]<<3)|0;b=k[d+36>>2]|0;if(b|0)O6a(b,0,k[d+32>>2]|0)|0;k[d+52>>2]=-1;k[d+44>>2]=(k[d+44>>2]|0)+1;k[d+56>>2]=k[300494];k[300494]=d;sjb(d);r=e;return d|0}while(0);x7a(0)|0;thb(d);d=0;r=e;return d|0}d=yhb()|0;k[e>>2]=d;y6a(609261,e)|0;d=0;r=e;return d|0}function kkb(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+16|0;c=k[300496]|0;if((b|0)>0)while(1){c=k[c+1320>>2]|0;if((b|0)>1)b=b+-1|0;else break}if(!c){a=y6a(609332,d)|0;r=d;return a|0}b=c+16|0;if(!(k[b>>2]|0)){k[a>>2]=k[c+12>>2];k[a+40>>2]=c;k[b>>2]=a;k[a+16>>2]=0;k[a+24>>2]=0;k[a+32>>2]=k[c+20>>2];k[a+8>>2]=k[c+24>>2];a=0;r=d;return a|0}else{a=y6a(609347,d+8|0)|0;r=d;return a|0}return 0}function lkb(a,b){a=a|0;b=b|0;var c=0;if(!a){a=0;return a|0}c=k[a+32+(b<<2)>>2]|0;if((c|0)>-1){c=mkb(k[a>>2]|0,c)|0;if((b&-2|0)!=4){a=c;return a|0}a=((c<<16>>16|0)/2|0)+16384&65535;return a|0}else{c=k[a+56+(b<<2)>>2]|0;if((c|0)<=-1){a=0;return a|0}a=(nkb(k[a>>2]|0,c)|0)<<24>>24==0;a=a?0:32767;return a|0}return 0}function mkb(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+16|0;if(!a){y6a(608923,d)|0;a=0;r=d;return a|0}c=k[a+8>>2]|0;if((c|0)>(b|0)){a=j[(k[a+12>>2]|0)+(b<<1)>>1]|0;r=d;return a|0}else{k[d+8>>2]=c;y6a(609371,d+8|0)|0;a=0;r=d;return a|0}return 0}function nkb(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+16|0;if(!a){y6a(608923,d)|0;a=0;r=d;return a|0}c=k[a+32>>2]|0;if((c|0)>(b|0)){a=i[(k[a+36>>2]|0)+b>>0]|0;r=d;return a|0}else{k[d+8>>2]=c;y6a(609397,d+8|0)|0;a=0;r=d;return a|0}return 0}function okb(a,b){a=a|0;b=b|0;var c=0;if(!a){a=0;return a|0}c=k[a+80+(b<<2)>>2]|0;if((c|0)>-1){a=nkb(k[a>>2]|0,c)|0;return a|0}c=k[a+140+(b<<2)>>2]|0;if((c|0)>-1){a=mkb(k[a>>2]|0,c)|0;a=((a<<16>>16<0?0-(a<<16>>16)|0:a<<16>>16)|0)>16384&1;return a|0}c=k[a+200+(b<<3)>>2]|0;if((c|0)<=-1){a=0;return a|0}c=pkb(k[a>>2]|0,c)|0;a=(i[a+200+(b<<3)+4>>0]&c)<<24>>24!=0&1;return a|0}function pkb(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+16|0;if(!a){y6a(608923,d)|0;a=0;r=d;return a|0}c=k[a+16>>2]|0;if((c|0)>(b|0)){a=i[(k[a+20>>2]|0)+b>>0]|0;r=d;return a|0}else{k[d+8>>2]=c;y6a(609426,d+8|0)|0;a=0;r=d;return a|0}return 0}function qkb(a){a=a|0;var b=0;b=r;r=r+16|0;if(!a){y6a(608923,b)|0;a=0;r=b;return a|0}else{a=rkb(a)|0;r=b;return a|0}return 0}function rkb(a){a=a|0;return (k[a+40>>2]|0)!=0|0}function skb(a){a=a|0;if(!a){a=0;return a|0}a=k[a+28>>2]|0;return a|0}function tkb(a){a=a|0;if(!a){a=0;return a|0}a=k[a>>2]|0;return a|0}function ukb(a){a=a|0;var b=0,c=0,d=0;if(!a)return;c=k[a+4>>2]|0;k[a+4>>2]=c+-1;if((c|0)>1)return;thb(k[a>>2]|0);b=k[300491]|0;a:do if(b|0){c=0;while(1){if((b|0)==(a|0))break;c=k[b+896>>2]|0;if(!c)break a;else{d=b;b=c;c=d}}b=k[a+896>>2]|0;if(!c){k[300491]=b;break}else{k[c+896>>2]=b;break}}while(0);Y7a(a);return}function vkb(a){a=a|0;var b=0;if((a|0)==-1)b=0;else{i7a(1616,a)|0;i7a(1617,a)|0;i7a(1618,a)|0;i7a(1619,a)|0;i7a(1620,a)|0;i7a(1621,a)|0;b=a;return b|0}do{a=i7a(k[139532+(b<<2)>>2]|0,-1)|0;b=b+1|0}while(a<<24>>24!=1&b>>>0<6);b=a&255;return b|0}function wkb(a){a=a|0;var b=0;b=r;r=r+16|0;if(!a){y6a(608923,b)|0;a=-1;r=b;return a|0}else{a=k[a+8>>2]|0;r=b;return a|0}return 0}function xkb(a){a=a|0;var b=0;b=r;r=r+16|0;if(!a){y6a(608923,b)|0;a=-1;r=b;return a|0}else{a=k[a+16>>2]|0;r=b;return a|0}return 0}function ykb(a){a=a|0;var b=0;b=r;r=r+16|0;if(!a){y6a(608923,b)|0;a=-1;r=b;return a|0}else{a=k[a+32>>2]|0;r=b;return a|0}return 0}function zkb(a){a=a|0;var b=0;b=r;r=r+16|0;if(!a){y6a(608923,b)|0;a=-1}else a=k[a>>2]|0;r=b;return a|0}function Akb(a){a=a|0;var b=0;b=r;r=r+16|0;if(!a){y6a(608923,b)|0;a=0;r=b;return a|0}else{a=k[a+4>>2]|0;r=b;return a|0}return 0}function Bkb(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+16|0;if(!b){y6a(608923,d)|0;O6a(d,0,16)|0;b=d;c=a+16|0;do{i[a>>0]=i[b>>0]|0;a=a+1|0;b=b+1|0}while((a|0)<(c|0));r=d;return}else{Ckb(a,b);r=d;return}}function Ckb(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+16|0;b=k[b+4>>2]|0;O6a(d,0,16)|0;if((G6a(b)|0)>>>0>16)c=16;else c=G6a(b)|0;y7a(d,b,c)|0;b=a;c=d;a=b+16|0;do{i[b>>0]=i[c>>0]|0;b=b+1|0;c=c+1|0}while((b|0)<(a|0));r=d;return}function Dkb(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+16|0;k[d>>2]=0;c=(a|0)==0?d+8|0:a;a=(b|0)==0?d+4|0:b;if(!(Ekb(d,c,a)|0)){k[c>>2]=-1;k[a>>2]=-1;b=0;r=d;return b|0}else{b=k[d>>2]|0;r=d;return b|0}return 0}function Ekb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0.0,f=0,g=0;g=r;r=r+32|0;if((Sf(g|0)|0)==-1){f=0;r=g;return f|0}e=+p[g+16>>3];d=(k[g+24>>2]|0)==0;if(e!=1.0)if(d)d=1;else f=7;else if(d)d=1;else if(+p[g>>3]!=0.0)f=7;else{k[a>>2]=2;k[b>>2]=-1;k[c>>2]=-1;f=1;r=g;return f|0}if((f|0)==7)d=+p[g>>3]==0.0?4:3;k[a>>2]=d;k[b>>2]=~~+p[g+8>>3];k[c>>2]=~~(e*100.0);f=1;r=g;return f|0}function Fkb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,l=0,m=0,n=0;n=r;r=r+64|0;if(!(k[299476]|0))if((ihb(0)|0)<0){a=0;r=n;return a|0}m=(d|0)<1?1:d;l=(e|0)<1?1:e;if((m|0)>16384|(l|0)>16384){y6a(609452,n)|0;a=0;r=n;return a|0}a:do if(f&2|0){e=k[299476]|0;if(!(k[e+152>>2]|0)){y6a(593559,n+8|0)|0;a=0;r=n;return a|0}b:do if(!e)d=y6a(593213,n+16|0)|0;else{d=k[e+364>>2]|0;do if(!d){d=k[e+140>>2]|0;if(!d){d=y6a(593283,n+24|0)|0;break b}d=gj[d&511](e,0)|0;g=k[299476]|0;if(!d){e=g;d=k[g+364>>2]|0;break}e=k[g+148>>2]|0;if(!e)break b;Si[e&1023](g);break b}while(0);k[e+364>>2]=d+1;break a}while(0);if((d|0)<0){a=0;r=n;return a|0}}while(0);if(!(f&8192))i=f;else{d=C7a(609473)|0;if(!d)i=f;else{i=(Ggb(d)|0)>0;i=i?f&-8193:f}}j=j7a(1,148)|0;if(!j){x7a(0)|0;a=0;r=n;return a|0}e=k[299476]|0;k[j>>2]=e+256;h=k[e+260>>2]|0;k[e+260>>2]=h+1;k[j+4>>2]=h;k[j+16>>2]=b;k[j+20>>2]=c;k[j+24>>2]=m;k[j+28>>2]=l;if((b&-65536|0)<805240832)switch(b&-65536|0){case 536805376:{h=26;break}default:h=25}else switch(b&-65536|0){case 805240832:{h=26;break}default:h=25}c:do if((h|0)==25)if((c&-65536|0)<805240832)switch(c&-65536|0){case 536805376:{h=26;break c}default:break c}else switch(c&-65536|0){case 805240832:{h=26;break c}default:break c}while(0);if((h|0)==26){d=L6a(j)|0;e=k[299476]|0;if((d|0)>-1)g=(k[e+244>>2]|0)+(d*68|0)|0;else g=0;f=k[e+240>>2]|0;d:do if((f|0)>0){e=k[e+244>>2]|0;d=0;while(1){if((e+(d*68|0)|0)==(g|0))break d;d=d+1|0;if((d|0)>=(f|0)){d=0;break}}}else d=0;while(0);M6a(d,n+48|0)|0;if((b&-65536|0)<805240832)switch(b&-65536|0){case 536805376:{h=33;break}default:{}}else switch(b&-65536|0){case 805240832:{h=33;break}default:{}}if((h|0)==33)k[j+16>>2]=(((k[n+48+8>>2]|0)-m|0)/2|0)+(k[n+48>>2]|0);if((c&-65536|0)<805240832)switch(c&-65536|0){case 536805376:{h=35;break}default:{}}else switch(c&-65536|0){case 805240832:{h=35;break}default:{}}if((h|0)==35)k[j+20>>2]=(((k[n+48+12>>2]|0)-l|0)/2|0)+(k[n+48+4>>2]|0);e=k[299476]|0}d=i&8242|8;k[j+48>>2]=d;k[j+52>>2]=d;o[j+92>>2]=1.0;d=k[e+248>>2]|0;k[j+144>>2]=d;k[j+116>>2]=0;if(!d)d=e;else{k[d+140>>2]=j;d=k[299476]|0}k[d+248>>2]=j;e=k[d+28>>2]|0;if(e|0)if((gj[e&511](d,j)|0)<0){Lhb(j);a=0;r=n;return a|0}do if(a|0){d=k[299476]|0;if(!d){y6a(593213,n+32|0)|0;break}if((k[j>>2]|0)!=(d+256|0)){y6a(606710,n+40|0)|0;break}d=k[j+8>>2]|0;if((d|0)!=(a|0)){Y7a(d);d=Ceb(a)|0;k[j+8>>2]=d;d=k[299476]|0;e=k[d+36>>2]|0;if(e|0)Di[e&511](d,j)}}while(0);k8a(j,i);K6a(j,(k[j+48>>2]&69|0)==5&1)|0;a=j;r=n;return a|0}function Gkb(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+16|0;c=bfb()|0;if(!c){c=y6a(609500,d)|0;r=d;return c|0}a=(a|0)==0?1279174:a;b=k[c+216>>2]|0;if(!b){Y7a(k[c+264>>2]|0);b=Ceb(a)|0;k[c+264>>2]=b;c=0;r=d;return c|0}else{c=gj[b&511](c,a)|0;r=d;return c|0}return 0}function Hkb(){var a=0,b=0,c=0;c=r;r=r+16|0;a=bfb()|0;if(!a){y6a(609558,c)|0;b=Ceb(1279174)|0;r=c;return b|0}b=k[a+220>>2]|0;if(!b){b=k[a+264>>2]|0;b=Ceb(b|0?b:1279174)|0;r=c;return b|0}else{b=Gi[b&2047](a)|0;r=c;return b|0}return 0}function Ikb(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+16|0;b=Wb(a|0,2)|0;c=cc()|0;if(b|0){r=d;return b|0}k[d>>2]=a;k[d+4>>2]=c;y6a(604151,d)|0;r=d;return b|0}function Jkb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=r;r=r+32|0;d=k[299476]|0;if(!d){y6a(593213,f)|0;r=f;return}if(a|0)if((k[a>>2]|0)==(d+256|0)){if((b&-65536|0)==805240832|(c&-65536|0)==805240832){e=(b&65535|0)>(k[d+240>>2]|0)?0:b&65535;O6a(f+16|0,0,16)|0;M6a(e,f+16|0)|0;if((b&-65536|0)==805240832)d=(((k[f+16+8>>2]|0)-(k[a+24>>2]|0)|0)/2|0)+(k[f+16>>2]|0)|0;else d=b;if((c&-65536|0)==805240832)c=(((k[f+16+12>>2]|0)-(k[a+28>>2]|0)|0)/2|0)+(k[f+16+4>>2]|0)|0;e=d}else e=b;d=(e&-65536|0)==536805376;if(k[a+48>>2]&1|0){if(!d)k[a+56>>2]=e;if((c&-65536|0)==536805376){r=f;return}k[a+60>>2]=c;r=f;return}if(!d)k[a+16>>2]=e;if((c&-65536|0)!=536805376)k[a+20>>2]=c;d=k[299476]|0;b=k[d+44>>2]|0;if(b|0)Di[b&511](d,a);V6a(a,4,e,c)|0;r=f;return}y6a(606710,f+8|0)|0;r=f;return}function Kkb(){var a=0,b=0;a=k[299476]|0;if(!a)return;if(k[a+236>>2]|0)return;k[a+236>>2]=1;b=k[a+184>>2]|0;if(!b)return;Si[b&1023](a);return}function Lkb(){var a=0,b=0;a=k[299476]|0;if(!a){b=0;return b|0}b=k[a+200>>2]|0;if(!b){b=0;return b|0}b=Gi[b&2047](a)|0;return b|0}function Mkb(){var a=0,b=0,c=0,d=0;i7a(771,1)|0;i7a(770,1)|0;a=k[299476]|0;if(!a)return;b=k[a+248>>2]|0;do if(b){do{if(k[b+48>>2]&512|0){c=b;d=5;break}b=k[b+144>>2]|0}while((b|0)!=0);if((d|0)==5){b=k[a+204>>2]|0;if(!b)break;Di[b&511](a,c);a=k[299476]|0}if(!a)return}while(0);b=k[a+188>>2]|0;if(!b)return;Si[b&1023](a);return}function Nkb(){var a=0,b=0;b=r;r=r+16|0;a=k[299476]|0;if(!a){y6a(593213,b)|0;a=0;r=b;return a|0}else{a=k[a>>2]|0;r=b;return a|0}return 0}function Okb(){var a=0,b=0;b=r;r=r+16|0;a=k[299476]|0;if(!a){y6a(593213,b)|0;a=0;r=b;return a|0}else{a=k[a+240>>2]|0;r=b;return a|0}return 0}function Pkb(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+16|0;c=k[299476]|0;if(!c){y6a(593213,d)|0;a=0;r=d;return a|0}b=k[c+240>>2]|0;if((a|0)>-1&(b|0)>(a|0)){a=k[(k[c+244>>2]|0)+(a*68|0)>>2]|0;r=d;return a|0}else{k[d+8>>2]=b+-1;y6a(593593,d+8|0)|0;a=0;r=d;return a|0}return 0}function Qkb(a){a=a|0;var b=0,c=0,d=0,e=0;e=r;r=r+16|0;d=k[299476]|0;if(!d){y6a(593213,e)|0;a=-1;r=e;return a|0}b=k[d+240>>2]|0;if(!((a|0)>-1&(b|0)>(a|0))){k[e+8>>2]=b+-1;y6a(593593,e+8|0)|0;a=-1;r=e;return a|0}c=k[d+244>>2]|0;b=k[c+(a*68|0)+8>>2]|0;if(b|0){a=b;r=e;return a|0}b=k[d+20>>2]|0;if(!b){a=0;r=e;return a|0}Di[b&511](d,c+(a*68|0)|0);S6a(k[c+(a*68|0)+12>>2]|0,k[c+(a*68|0)+8>>2]|0,20,374);a=k[c+(a*68|0)+8>>2]|0;r=e;return a|0}function Rkb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=r;r=r+32|0;e=k[299476]|0;if(!e){y6a(593213,g)|0;a=-1;r=g;return a|0}d=k[e+240>>2]|0;if(!((a|0)>-1&(d|0)>(a|0))){k[g+8>>2]=d+-1;y6a(593593,g+8|0)|0;a=-1;r=g;return a|0}f=k[e+244>>2]|0;d=k[f+(a*68|0)+8>>2]|0;if((b|0)>=0){if(!d){d=k[e+20>>2]|0;if(!d)d=0;else{Di[d&511](e,f+(a*68|0)|0);S6a(k[f+(a*68|0)+12>>2]|0,k[f+(a*68|0)+8>>2]|0,20,374);d=k[f+(a*68|0)+8>>2]|0}}if((d|0)>(b|0)){if(!c){a=0;r=g;return a|0}a=(k[f+(a*68|0)+12>>2]|0)+(b*20|0)|0;k[c>>2]=k[a>>2];k[c+4>>2]=k[a+4>>2];k[c+8>>2]=k[a+8>>2];k[c+12>>2]=k[a+12>>2];k[c+16>>2]=k[a+16>>2];a=0;r=g;return a|0}}if(!d){d=k[299476]|0;e=k[d+20>>2]|0;if(!e)d=0;else{Di[e&511](d,f+(a*68|0)|0);S6a(k[f+(a*68|0)+12>>2]|0,k[f+(a*68|0)+8>>2]|0,20,374);d=k[f+(a*68|0)+8>>2]|0}}k[g+16>>2]=d+-1;a=y6a(609616,g+16|0)|0;r=g;return a|0}function Skb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=r;r=r+16|0;d=k[299476]|0;if(!d){y6a(593213,e)|0;b=-1;r=e;return b|0}c=k[d+240>>2]|0;if(!((a|0)>-1&(c|0)>(a|0))){k[e+8>>2]=c+-1;y6a(593593,e+8|0)|0;b=-1;r=e;return b|0}if(!b){b=0;r=e;return b|0}a=(k[d+244>>2]|0)+(a*68|0)+16|0;k[b>>2]=k[a>>2];k[b+4>>2]=k[a+4>>2];k[b+8>>2]=k[a+8>>2];k[b+12>>2]=k[a+12>>2];k[b+16>>2]=k[a+16>>2];b=0;r=e;return b|0}function Tkb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=r;r=r+16|0;d=k[299476]|0;if(!d){y6a(593213,e)|0;b=-1;r=e;return b|0}c=k[d+240>>2]|0;if(!((a|0)>-1&(c|0)>(a|0))){k[e+8>>2]=c+-1;y6a(593593,e+8|0)|0;b=-1;r=e;return b|0}if(!b){b=0;r=e;return b|0}a=(k[d+244>>2]|0)+(a*68|0)+36|0;k[b>>2]=k[a>>2];k[b+4>>2]=k[a+4>>2];k[b+8>>2]=k[a+8>>2];k[b+12>>2]=k[a+12>>2];k[b+16>>2]=k[a+16>>2];b=0;r=e;return b|0}function Ukb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=r;r=r+16|0;e=k[299476]|0;if(!e){y6a(593213,f)|0;b=0;r=f;return b|0}d=k[e+240>>2]|0;if((a|0)>-1&(d|0)>(a|0)){b=Q6a((k[e+244>>2]|0)+(a*68|0)|0,b,c)|0;r=f;return b|0}else{k[f+8>>2]=d+-1;y6a(593593,f+8|0)|0;b=0;r=f;return b|0}return 0}function Vkb(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+32|0;c=k[299476]|0;if(!c){y6a(593213,d)|0;a=-1;r=d;return a|0}if(a|0)if((k[a>>2]|0)==(c+256|0)){if(!b)O6a(a+72|0,0,20)|0;else{k[a+72>>2]=k[b>>2];k[a+72+4>>2]=k[b+4>>2];k[a+72+8>>2]=k[b+8>>2];k[a+72+12>>2]=k[b+12>>2];k[a+72+16>>2]=k[b+16>>2]}b=k[a+48>>2]|0;if((b&69|0)!=5|(b&4097|0)==4097){a=0;r=d;return a|0}if(!(P6a(a,d+12|0)|0)){c=L6a(a)|0;if((c|0)>-1)c=(k[(k[299476]|0)+244>>2]|0)+(c*68|0)|0;else c=0;T6a(c,d+12|0)|0}a=0;r=d;return a|0}y6a(606710,d+8|0)|0;a=-1;r=d;return a|0}function Wkb(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+16|0;c=k[299476]|0;if(!c){y6a(593213,d)|0;r=d;return}if(a|0)if((k[a>>2]|0)==(c+256|0)){c=k[a+8>>2]|0;if((c|0)==(b|0)){r=d;return}Y7a(c);c=Ceb(b|0?b:1279174)|0;k[a+8>>2]=c;c=k[299476]|0;b=k[c+36>>2]|0;if(!b){r=d;return}Di[b&511](c,a);r=d;return}y6a(606710,d+8|0)|0;r=d;return}function Xkb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=r;r=r+16|0;c=k[299476]|0;if(!c){y6a(593213,e)|0;r=e;return}if(a|0)if((k[a>>2]|0)==(c+256|0)){if(!b){r=e;return}N7a(k[a+12>>2]|0);d=reb(b,372645892,0)|0;k[a+12>>2]=d;if(!d){r=e;return}c=k[299476]|0;b=k[c+40>>2]|0;if(!b){r=e;return}kj[b&255](c,a,d);r=e;return}y6a(606710,e+8|0)|0;r=e;return}function Ykb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+32|0;d=k[299476]|0;if(!d){y6a(593213,e)|0;r=e;return}if(a|0)if((k[a>>2]|0)==(d+256|0)){if(!(k[a+48>>2]&1)){if(b|0)k[b>>2]=k[a+16>>2];if(!c){r=e;return}k[c>>2]=k[a+20>>2];r=e;return}if(b|0)k[b>>2]=0;if(c|0)k[c>>2]=0;d=L6a(a)|0;if((d|0)<=-1){r=e;return}O6a(e+16|0,0,16)|0;M6a(d,e+16|0)|0;if(b|0)k[b>>2]=k[e+16>>2];if(c|0)k[c>>2]=k[e+16+4>>2];r=e;return}y6a(606710,e+8|0)|0;r=e;return}function Zkb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=r;r=r+32|0;e=k[299476]|0;if(!e){y6a(593213,f)|0;r=f;return}if(a|0)if((k[a>>2]|0)==(e+256|0)){if((b|0)<1){k[f+16>>2]=609653;y6a(608563,f+16|0)|0;r=f;return}if((c|0)<1){k[f+24>>2]=609655;y6a(608563,f+24|0)|0;r=f;return}d=k[a+32>>2]|0;d=(d|0)!=0&(d|0)>(b|0)?d:b;b=k[a+40>>2]|0;d=(b|0)!=0&(d|0)>(b|0)?b:d;b=k[a+36>>2]|0;c=(b|0)!=0&(b|0)>(c|0)?b:c;b=k[a+44>>2]|0;c=(b|0)!=0&(c|0)>(b|0)?b:c;k[a+64>>2]=d;k[a+68>>2]=c;b=k[a+48>>2]|0;if(b&1|0){if((b&68|0)!=4|(b&4097|0)==4097){r=f;return}k[a+52>>2]=0;K6a(a,1)|0;r=f;return}k[a+24>>2]=d;k[a+28>>2]=c;b=k[e+48>>2]|0;if(b|0){Di[b&511](e,a);if((k[a+24>>2]|0)!=(d|0)){r=f;return}}if((k[a+28>>2]|0)!=(c|0)){r=f;return}k[a+108>>2]=0;V6a(a,6,d,c)|0;r=f;return}y6a(606710,f+8|0)|0;r=f;return}function _kb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=r;r=r+32|0;d=k[299476]|0;if(!d){y6a(593213,f)|0;r=f;return}if(a|0)if((k[a>>2]|0)==(d+256|0)){if((b|0)<1){k[f+16>>2]=609657;y6a(608563,f+16|0)|0;r=f;return}if((c|0)<1){k[f+24>>2]=609663;y6a(608563,f+24|0)|0;r=f;return}if(k[a+48>>2]&1|0){r=f;return}k[a+32>>2]=b;k[a+36>>2]=c;e=k[d+52>>2]|0;if(e){Di[e&511](d,a);b=k[a+32>>2]|0;c=k[a+36>>2]|0}d=k[a+24>>2]|0;e=k[a+28>>2]|0;Zkb(a,(d|0)>(b|0)?d:b,(e|0)>(c|0)?e:c);r=f;return}y6a(606710,f+8|0)|0;r=f;return}function $kb(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+16|0;b=k[299476]|0;if(!b){y6a(593213,d)|0;r=d;return}if(a|0)if((k[a>>2]|0)==(b+256|0)){if(!(k[a+48>>2]&4)){r=d;return}c=k[b+68>>2]|0;if(!c){r=d;return}Di[c&511](b,a);r=d;return}y6a(606710,d+8|0)|0;r=d;return}function alb(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+16|0;b=k[299476]|0;if(!b){y6a(593213,d)|0;r=d;return}if(a|0)if((k[a>>2]|0)==(b+256|0)){if(k[a+48>>2]&128|0){r=d;return}c=k[b+72>>2]|0;if(!c){r=d;return}Di[c&511](b,a);r=d;return}y6a(606710,d+8|0)|0;r=d;return}function blb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=r;r=r+16|0;c=k[299476]|0;if(!c){y6a(593213,e)|0;a=-1;r=e;return a|0}if(a|0)if((k[a>>2]|0)==(c+256|0)){d=k[a+48>>2]|0;if((b&4097|0)==(d&4097|0)){a=0;r=e;return a|0}k[a+48>>2]=d&-4098|b&4097;if((b&1|0)==0|(d&4|0)==0)c=0;else c=(d&64|0)==0;if(!(K6a(a,c&1)|0)){a=0;r=e;return a|0}k[a+48>>2]=k[a+48>>2]&-4098|d&4097;a=-1;r=e;return a|0}y6a(606710,e+8|0)|0;a=-1;r=e;return a|0}function clb(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=k[299476]|0;if(!b){y6a(593213,c)|0;a=0;r=c;return a|0}if(a|0)if((k[a>>2]|0)==(b+256|0)){a=(k[b+252>>2]|0)==(a|0)&1;r=c;return a|0}y6a(606710,c+8|0)|0;a=0;r=c;return a|0}function dlb(){var a=0;a=k[299476]|0;if(!a){a=1;return a|0}a=(k[a+236>>2]|0)==0&1;return a|0}function elb(){var a=0,b=0;a=k[299476]|0;if(!a)return;if(!(k[a+236>>2]|0))return;k[a+236>>2]=0;b=k[a+184>>2]|0;if(!b)return;Si[b&1023](a);return}function flb(){return (i7a(771,-1)|0)<<24>>24==1|0}function glb(){var a=0,b=0,c=0;a=k[299476]|0;a:do if(a|0){b=k[a+192>>2]|0;if(b){Si[b&1023](a);a=k[299476]|0;if(!a)break}b=k[a+248>>2]|0;if(b|0){while(1){if(k[b+48>>2]&512|0)break;b=k[b+144>>2]|0;if(!b)break a}c=k[a+208>>2]|0;if(c|0)Di[c&511](a,b)}}while(0);i7a(771,0)|0;i7a(770,0)|0;return}function hlb(a){a=a|0;var b=0,c=0;b=k[299476]|0;if(!b)return;c=k[b+196>>2]|0;if(!c)return;Di[c&511](b,a);return}function ilb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+48|0;O6a(e+12|0,0,28)|0;k[e+12>>2]=a;k[e+12+8>>2]=b;k[e+12+12>>2]=c;k[e+12+16>>2]=1;k[e+12+20>>2]=e;k[e+12+4>>2]=d;O6a(e,0,12)|0;k[e>>2]=k[e>>2]|3;k[e+8>>2]=609669;d=jjb(e+12|0,0)|0;r=e;return d|0}function jlb(){var a=0,b=0,c=0,d=0;d=p7a(20)|0;if(!d){x7a(0)|0;return d|0}b=Wgb()|0;k[d>>2]=b;b=Xgb(0)|0;k[d+12>>2]=b;b=Xgb(0)|0;k[d+16>>2]=b;k[d+8>>2]=0;k[d+4>>2]=0;a=(k[d+12>>2]|0)==0;if(!(k[d>>2]|0)){if(!a)c=6}else if(!a)if(!b)c=6;else return d|0;a=k[d>>2]|0;if(a|0)Ygb(a);Y7a(d);d=0;return d|0}function klb(a){a=a|0;var b=0;if(!a)return;b=k[a>>2]|0;if(b|0)Ygb(b);Y7a(a);return}function llb(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;if(!a){a=y6a(609672,c)|0;r=c;return a|0}b=k[a+8>>2]|0;if((k[a+4>>2]|0)>(b|0)){k[a+8>>2]=b+1;fhb(k[a+12>>2]|0)|0;dhb(k[a+16>>2]|0)|0;a=0;r=c;return a|0}else{a=0;r=c;return a|0}return 0}function mlb(a){a=a|0;var b=0,c=0,d=0,e=0;e=r;r=r+16|0;do if(!a)b=y6a(609672,e)|0;else{c=k[a+4>>2]|0;d=k[a+8>>2]|0;if((c|0)<=(d|0)){b=0;break}k[a+8>>2]=c;if((c-d|0)<=0){b=0;break}b=0;do{fhb(k[a+12>>2]|0)|0;b=b+1|0}while((b|0)!=(c-d|0));if((c-d|0)>0){b=0;do{dhb(k[a+16>>2]|0)|0;b=b+1|0}while((b|0)!=(c-d|0));b=0}else b=0}while(0);r=e;return b|0}function nlb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;if(!a){a=y6a(609672,d)|0;r=d;return a|0}k[a+4>>2]=(k[a+4>>2]|0)+1;b=k[a+12>>2]|0;if((c|0)==-1)b=dhb(b)|0;else b=$gb(b,c)|0;if((k[a+8>>2]|0)>0){if((b|0)>0)dhb(k[a+12>>2]|0)|0;fhb(k[a+16>>2]|0)|0;k[a+8>>2]=(k[a+8>>2]|0)+-1}k[a+4>>2]=(k[a+4>>2]|0)+-1;a=b;r=d;return a|0}function olb(a,b){a=a|0;b=b|0;return nlb(a,b,-1)|0}function plb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+64|0;k[e>>2]=c;k[e+4>>2]=d;k[e+12>>2]=a;k[e+16>>2]=k[b>>2];k[e+32>>2]=0;k[e+36>>2]=0;k[e+40>>2]=0;a=rlb(e,-1,610873,56)|0;if(a|0){b=a;r=e;return b|0}a=Alb(e,4)|0;if((a|0)==1){k[b>>2]=k[e+20>>2];b=zlb(e)|0;r=e;return b|0}else{zlb(e)|0;b=(a|0)==0?-5:a;r=e;return b|0}return 0}function qlb(a){a=a|0;return a+13+(a>>>12)+(a>>>14)+(a>>>25)|0}function rlb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return slb(a,b,8,15,8,0,c,d)|0}function slb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0;if(!g){a=-6;return a|0}if((h|0)!=56|(i[g>>0]|0)!=49){a=-6;return a|0}if(!a){a=-2;return a|0}k[a+24>>2]=0;h=k[a+32>>2]|0;if(!h){k[a+32>>2]=179;k[a+40>>2]=0;h=179}if(!(k[a+36>>2]|0))k[a+36>>2]=242;j=(b|0)==-1?6:b;if((d|0)<0){g=0-d|0;d=0}else{g=(d|0)>15?d+-16|0:d;d=(d|0)>15?2:1}if(f>>>0>4|(j>>>0>9|((c|0)!=8|(e+-1|0)>>>0>8|(g&-8|0)!=8))){a=-2;return a|0}g=(g|0)==8?9:g;b=Ri[h&255](k[a+40>>2]|0,1,5828)|0;if(!b){a=-4;return a|0}k[a+28>>2]=b;k[b>>2]=a;k[b+24>>2]=d;k[b+28>>2]=0;k[b+48>>2]=g;k[b+44>>2]=1<>2]=(1<>2]=e+7;k[b+76>>2]=1<>2]=(1<>2]=((e+9|0)>>>0)/3|0;h=Ri[k[a+32>>2]&255](k[a+40>>2]|0,1<>2]=h;h=Ri[k[a+32>>2]&255](k[a+40>>2]|0,k[b+44>>2]|0,2)|0;k[b+64>>2]=h;h=Ri[k[a+32>>2]&255](k[a+40>>2]|0,k[b+76>>2]|0,2)|0;k[b+68>>2]=h;k[b+5824>>2]=0;k[b+5788>>2]=1<>2]&255](k[a+40>>2]|0,1<>2]=h;g=k[b+5788>>2]|0;k[b+12>>2]=g<<2;if(k[b+56>>2]|0)if(k[b+64>>2]|0)if(!((k[b+68>>2]|0)==0|(h|0)==0)){k[b+5796>>2]=h+(g>>>1<<1);k[b+5784>>2]=h+(g*3|0);k[b+132>>2]=j;k[b+136>>2]=f;i[b+36>>0]=8;a=tlb(a)|0;return a|0}k[b+4>>2]=666;k[a+24>>2]=k[35048];h=k[a+28>>2]|0;if(!h){a=-4;return a|0}switch(k[h+4>>2]|0){case 42:case 69:case 73:case 91:case 103:case 113:case 666:break;default:{a=-4;return a|0}}g=k[h+8>>2]|0;if(g){Di[k[a+36>>2]&511](k[a+40>>2]|0,g);h=k[a+28>>2]|0}g=k[h+68>>2]|0;if(g){Di[k[a+36>>2]&511](k[a+40>>2]|0,g);h=k[a+28>>2]|0}g=k[h+64>>2]|0;if(g){Di[k[a+36>>2]&511](k[a+40>>2]|0,g);h=k[a+28>>2]|0}g=k[h+56>>2]|0;if(g){Di[k[a+36>>2]&511](k[a+40>>2]|0,g);h=k[a+28>>2]|0}Di[k[a+36>>2]&511](k[a+40>>2]|0,h);k[a+28>>2]=0;a=-4;return a|0}function tlb(a){a=a|0;var b=0,c=0;if(!a){a=-2;return a|0}c=k[a+28>>2]|0;if(!c){a=-2;return a|0}if(!(k[a+32>>2]|0)){a=-2;return a|0}if(!(k[a+36>>2]|0)){a=-2;return a|0}k[a+20>>2]=0;k[a+8>>2]=0;k[a+24>>2]=0;k[a+44>>2]=2;k[c+20>>2]=0;k[c+16>>2]=k[c+8>>2];b=k[c+24>>2]|0;if((b|0)<0){k[c+24>>2]=0-b;b=0-b|0}k[c+4>>2]=b|0?42:113;if((b|0)==2)b=Vlb(0,0,0)|0;else b=Ulb(0,0,0)|0;k[a+48>>2]=b;k[c+40>>2]=0;Ilb(c);a=k[a+28>>2]|0;k[a+60>>2]=k[a+44>>2]<<1;c=k[a+76>>2]|0;b=k[a+68>>2]|0;j[b+(c+-1<<1)>>1]=0;vBb(b|0,0,(c<<1)+-2|0)|0;c=k[a+132>>2]|0;k[a+128>>2]=m[139556+(c*12|0)+2>>1];k[a+140>>2]=m[139556+(c*12|0)>>1];k[a+144>>2]=m[139556+(c*12|0)+4>>1];k[a+124>>2]=m[139556+(c*12|0)+6>>1];k[a+108>>2]=0;k[a+92>>2]=0;k[a+116>>2]=0;k[a+5812>>2]=0;k[a+120>>2]=2;k[a+96>>2]=2;k[a+104>>2]=0;k[a+72>>2]=0;a=0;return a|0}function ulb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=(k[a+12>>2]|0)+-5|0;f=f>>>0<65535?f:65535;while(1){c=k[a+116>>2]|0;if(c>>>0<2){vlb(a);c=k[a+116>>2]|0;if(!(c|b)){c=0;d=35;break}if(!c){d=20;break}}c=(k[a+108>>2]|0)+c|0;k[a+108>>2]=c;k[a+116>>2]=0;d=k[a+92>>2]|0;if(!((c|0)!=0&c>>>0<(d+f|0)>>>0)){k[a+116>>2]=c-(d+f);k[a+108>>2]=d+f;if((d|0)>-1)c=(k[a+56>>2]|0)+d|0;else c=0;Nlb(a,c,f,0);k[a+92>>2]=k[a+108>>2];d=k[a>>2]|0;e=k[d+28>>2]|0;Llb(e);c=k[e+20>>2]|0;g=k[d+16>>2]|0;c=c>>>0>g>>>0?g:c;if(c|0){ABb(k[d+12>>2]|0,k[e+16>>2]|0,c|0)|0;k[d+12>>2]=(k[d+12>>2]|0)+c;k[e+16>>2]=(k[e+16>>2]|0)+c;k[d+20>>2]=(k[d+20>>2]|0)+c;k[d+16>>2]=(k[d+16>>2]|0)-c;g=k[e+20>>2]|0;k[e+20>>2]=g-c;if((g|0)==(c|0))k[e+16>>2]=k[e+8>>2]}if(!(k[(k[a>>2]|0)+16>>2]|0)){c=0;d=35;break}c=k[a+108>>2]|0;d=k[a+92>>2]|0}e=c-d|0;if(e>>>0<((k[a+44>>2]|0)+-262|0)>>>0)continue;if((d|0)>-1)c=(k[a+56>>2]|0)+d|0;else c=0;Nlb(a,c,e,0);k[a+92>>2]=k[a+108>>2];d=k[a>>2]|0;e=k[d+28>>2]|0;Llb(e);c=k[e+20>>2]|0;g=k[d+16>>2]|0;c=c>>>0>g>>>0?g:c;if(c|0){ABb(k[d+12>>2]|0,k[e+16>>2]|0,c|0)|0;k[d+12>>2]=(k[d+12>>2]|0)+c;k[e+16>>2]=(k[e+16>>2]|0)+c;k[d+20>>2]=(k[d+20>>2]|0)+c;k[d+16>>2]=(k[d+16>>2]|0)-c;g=k[e+20>>2]|0;k[e+20>>2]=g-c;if((g|0)==(c|0))k[e+16>>2]=k[e+8>>2]}if(!(k[(k[a>>2]|0)+16>>2]|0)){c=0;d=35;break}}if((d|0)==20){k[a+5812>>2]=0;if((b|0)==4){c=k[a+92>>2]|0;if((c|0)>-1)d=(k[a+56>>2]|0)+c|0;else d=0;Nlb(a,d,(k[a+108>>2]|0)-c|0,1);k[a+92>>2]=k[a+108>>2];d=k[a>>2]|0;e=k[d+28>>2]|0;Llb(e);c=k[e+20>>2]|0;g=k[d+16>>2]|0;c=c>>>0>g>>>0?g:c;if(c|0){ABb(k[d+12>>2]|0,k[e+16>>2]|0,c|0)|0;k[d+12>>2]=(k[d+12>>2]|0)+c;k[e+16>>2]=(k[e+16>>2]|0)+c;k[d+20>>2]=(k[d+20>>2]|0)+c;k[d+16>>2]=(k[d+16>>2]|0)-c;g=k[e+20>>2]|0;k[e+20>>2]=g-c;if((g|0)==(c|0))k[e+16>>2]=k[e+8>>2]}g=(k[(k[a>>2]|0)+16>>2]|0)==0?2:3;return g|0}c=k[a+108>>2]|0;d=k[a+92>>2]|0;if((c|0)>(d|0)){if((d|0)>-1)e=(k[a+56>>2]|0)+d|0;else e=0;Nlb(a,e,c-d|0,0);k[a+92>>2]=k[a+108>>2];d=k[a>>2]|0;e=k[d+28>>2]|0;Llb(e);c=k[e+20>>2]|0;g=k[d+16>>2]|0;c=c>>>0>g>>>0?g:c;if(c|0){ABb(k[d+12>>2]|0,k[e+16>>2]|0,c|0)|0;k[d+12>>2]=(k[d+12>>2]|0)+c;k[e+16>>2]=(k[e+16>>2]|0)+c;k[d+20>>2]=(k[d+20>>2]|0)+c;k[d+16>>2]=(k[d+16>>2]|0)-c;g=k[e+20>>2]|0;k[e+20>>2]=g-c;if((g|0)==(c|0))k[e+16>>2]=k[e+8>>2]}if(!(k[(k[a>>2]|0)+16>>2]|0)){g=0;return g|0}}g=1;return g|0}else if((d|0)==35)return c|0;return 0}function vlb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,n=0;i=k[a+44>>2]|0;b=k[a+116>>2]|0;d=i;while(1){c=k[a+108>>2]|0;e=(k[a+60>>2]|0)-b-c|0;if(c>>>0>=(i+-262+d|0)>>>0){c=k[a+56>>2]|0;ABb(c|0,c+i|0,i|0)|0;k[a+112>>2]=(k[a+112>>2]|0)-i;c=(k[a+108>>2]|0)-i|0;k[a+108>>2]=c;k[a+92>>2]=(k[a+92>>2]|0)-i;d=k[a+76>>2]|0;b=d;d=(k[a+68>>2]|0)+(d<<1)|0;do{d=d+-2|0;h=m[d>>1]|0;j[d>>1]=h>>>0>>0?0:h-i&65535;b=b+-1|0}while((b|0)!=0);b=i;d=(k[a+64>>2]|0)+(i<<1)|0;do{d=d+-2|0;h=m[d>>1]|0;j[d>>1]=h>>>0>>0?0:h-i&65535;b=b+-1|0}while((b|0)!=0);e=e+i|0}f=k[a>>2]|0;g=k[f+4>>2]|0;if(!g)break;b=k[a+116>>2]|0;d=(k[a+56>>2]|0)+c+b|0;c=g>>>0>e>>>0?e:g;if(!c)c=0;else{k[f+4>>2]=g-c;ABb(d|0,k[f>>2]|0,c|0)|0;switch(k[(k[f+28>>2]|0)+24>>2]|0){case 1:{h=Ulb(k[f+48>>2]|0,d,c)|0;k[f+48>>2]=h;break}case 2:{h=Vlb(k[f+48>>2]|0,d,c)|0;k[f+48>>2]=h;break}default:{}}k[f>>2]=(k[f>>2]|0)+c;k[f+8>>2]=(k[f+8>>2]|0)+c;b=k[a+116>>2]|0}b=b+c|0;k[a+116>>2]=b;c=k[a+5812>>2]|0;a:do if((c+b|0)>>>0>2){e=(k[a+108>>2]|0)-c|0;g=k[a+56>>2]|0;d=l[g+e>>0]|0;k[a+72>>2]=d;h=k[a+88>>2]|0;f=k[a+84>>2]|0;d=((l[g+(e+1)>>0]|0)^d<>2]=d;while(1){if(!c)break a;d=((l[g+(e+2)>>0]|0)^d<>2]=d;n=(k[a+68>>2]|0)+(d<<1)|0;j[(k[a+64>>2]|0)+((k[a+52>>2]&e)<<1)>>1]=j[n>>1]|0;j[n>>1]=e;c=c+-1|0;k[a+5812>>2]=c;if((b+c|0)>>>0<3)break;else e=e+1|0}}while(0);if(b>>>0>=262)break;if(!(k[(k[a>>2]|0)+4>>2]|0))break;d=k[a+44>>2]|0}b=k[a+5824>>2]|0;c=k[a+60>>2]|0;if(c>>>0<=b>>>0)return;d=(k[a+116>>2]|0)+(k[a+108>>2]|0)|0;if(b>>>0>>0){n=(c-d|0)>>>0>258?258:c-d|0;vBb((k[a+56>>2]|0)+d|0,0,n|0)|0;k[a+5824>>2]=n+d;return}if((d+258|0)>>>0<=b>>>0)return;n=(d+258-b|0)>>>0>(c-b|0)>>>0?c-b|0:d+258-b|0;vBb((k[a+56>>2]|0)+b|0,0,n|0)|0;k[a+5824>>2]=(k[a+5824>>2]|0)+n;return}function wlb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0,p=0,q=0,r=0;while(1){if((k[a+116>>2]|0)>>>0<262){vlb(a);c=k[a+116>>2]|0;if((b|0)==0&c>>>0<262){c=0;e=39;break}if(!c){e=24;break}if(c>>>0>2)e=6;else e=9}else e=6;if((e|0)==6){e=0;c=k[a+108>>2]|0;q=((l[(k[a+56>>2]|0)+(c+2)>>0]|0)^k[a+72>>2]<>2])&k[a+84>>2];k[a+72>>2]=q;q=(k[a+68>>2]|0)+(q<<1)|0;d=j[q>>1]|0;j[(k[a+64>>2]|0)+((k[a+52>>2]&c)<<1)>>1]=d;j[q>>1]=c;if(!(d<<16>>16))e=9;else if((c-(d&65535)|0)>>>0>((k[a+44>>2]|0)+-262|0)>>>0)e=9;else{c=xlb(a,d&65535)|0;k[a+96>>2]=c}}if((e|0)==9)c=k[a+96>>2]|0;do if(c>>>0>2){c=c+253|0;q=(k[a+108>>2]|0)-(k[a+112>>2]|0)|0;p=k[a+5792>>2]|0;j[(k[a+5796>>2]|0)+(p<<1)>>1]=q;k[a+5792>>2]=p+1;i[(k[a+5784>>2]|0)+p>>0]=c;c=a+148+((l[610598+(c&255)>>0]|0|256)+1<<2)|0;j[c>>1]=(j[c>>1]|0)+1<<16>>16;q=a+2440+((l[610086+((q+65535&65535)>>>0<256?q+65535&65535:((q+65535&65535)>>>7)+256|0)>>0]|0)<<2)|0;j[q>>1]=(j[q>>1]|0)+1<<16>>16;q=(k[a+5792>>2]|0)==((k[a+5788>>2]|0)+-1|0)&1;c=k[a+96>>2]|0;p=(k[a+116>>2]|0)-c|0;k[a+116>>2]=p;if(!(p>>>0>2?c>>>0<=(k[a+128>>2]|0)>>>0:0)){e=(k[a+108>>2]|0)+c|0;k[a+108>>2]=e;k[a+96>>2]=0;p=k[a+56>>2]|0;c=l[p+e>>0]|0;k[a+72>>2]=c;k[a+72>>2]=((l[p+(e+1)>>0]|0)^c<>2])&k[a+84>>2];c=q;break}k[a+96>>2]=c+-1;g=k[a+88>>2]|0;h=k[a+56>>2]|0;m=k[a+84>>2]|0;n=k[a+68>>2]|0;o=k[a+52>>2]|0;p=k[a+64>>2]|0;d=c+-1|0;c=k[a+108>>2]|0;f=k[a+72>>2]|0;while(1){e=c+1|0;k[a+108>>2]=e;f=((l[h+(c+3)>>0]|0)^f<>2]=f;r=n+(f<<1)|0;j[p+((o&e)<<1)>>1]=j[r>>1]|0;j[r>>1]=e;d=d+-1|0;k[a+96>>2]=d;if(!d)break;else c=e}k[a+108>>2]=c+2;e=c+2|0;c=q}else{c=i[(k[a+56>>2]|0)+(k[a+108>>2]|0)>>0]|0;e=k[a+5792>>2]|0;j[(k[a+5796>>2]|0)+(e<<1)>>1]=0;k[a+5792>>2]=e+1;i[(k[a+5784>>2]|0)+e>>0]=c;j[a+148+((c&255)<<2)>>1]=(j[a+148+((c&255)<<2)>>1]|0)+1<<16>>16;c=(k[a+5792>>2]|0)==((k[a+5788>>2]|0)+-1|0)&1;k[a+116>>2]=(k[a+116>>2]|0)+-1;e=(k[a+108>>2]|0)+1|0;k[a+108>>2]=e}while(0);if(!c)continue;c=k[a+92>>2]|0;if((c|0)>-1)d=(k[a+56>>2]|0)+c|0;else d=0;Nlb(a,d,e-c|0,0);k[a+92>>2]=k[a+108>>2];d=k[a>>2]|0;e=k[d+28>>2]|0;Llb(e);c=k[e+20>>2]|0;r=k[d+16>>2]|0;c=c>>>0>r>>>0?r:c;if(c|0){ABb(k[d+12>>2]|0,k[e+16>>2]|0,c|0)|0;k[d+12>>2]=(k[d+12>>2]|0)+c;k[e+16>>2]=(k[e+16>>2]|0)+c;k[d+20>>2]=(k[d+20>>2]|0)+c;k[d+16>>2]=(k[d+16>>2]|0)-c;r=k[e+20>>2]|0;k[e+20>>2]=r-c;if((r|0)==(c|0))k[e+16>>2]=k[e+8>>2]}if(!(k[(k[a>>2]|0)+16>>2]|0)){c=0;e=39;break}}if((e|0)==24){e=k[a+108>>2]|0;k[a+5812>>2]=e>>>0<2?e:2;if((b|0)==4){c=k[a+92>>2]|0;if((c|0)>-1)d=(k[a+56>>2]|0)+c|0;else d=0;Nlb(a,d,e-c|0,1);k[a+92>>2]=k[a+108>>2];d=k[a>>2]|0;e=k[d+28>>2]|0;Llb(e);c=k[e+20>>2]|0;r=k[d+16>>2]|0;c=c>>>0>r>>>0?r:c;if(c|0){ABb(k[d+12>>2]|0,k[e+16>>2]|0,c|0)|0;k[d+12>>2]=(k[d+12>>2]|0)+c;k[e+16>>2]=(k[e+16>>2]|0)+c;k[d+20>>2]=(k[d+20>>2]|0)+c;k[d+16>>2]=(k[d+16>>2]|0)-c;r=k[e+20>>2]|0;k[e+20>>2]=r-c;if((r|0)==(c|0))k[e+16>>2]=k[e+8>>2]}r=(k[(k[a>>2]|0)+16>>2]|0)==0?2:3;return r|0}if(k[a+5792>>2]|0){c=k[a+92>>2]|0;if((c|0)>-1)d=(k[a+56>>2]|0)+c|0;else d=0;Nlb(a,d,e-c|0,0);k[a+92>>2]=k[a+108>>2];d=k[a>>2]|0;e=k[d+28>>2]|0;Llb(e);c=k[e+20>>2]|0;r=k[d+16>>2]|0;c=c>>>0>r>>>0?r:c;if(c|0){ABb(k[d+12>>2]|0,k[e+16>>2]|0,c|0)|0;k[d+12>>2]=(k[d+12>>2]|0)+c;k[e+16>>2]=(k[e+16>>2]|0)+c;k[d+20>>2]=(k[d+20>>2]|0)+c;k[d+16>>2]=(k[d+16>>2]|0)-c;r=k[e+20>>2]|0;k[e+20>>2]=r-c;if((r|0)==(c|0))k[e+16>>2]=k[e+8>>2]}if(!(k[(k[a>>2]|0)+16>>2]|0)){r=0;return r|0}}r=1;return r|0}else if((e|0)==39)return c|0;return 0}function xlb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;l=k[a+124>>2]|0;r=k[a+56>>2]|0;t=k[a+108>>2]|0;h=k[a+120>>2]|0;o=k[a+144>>2]|0;n=(k[a+44>>2]|0)+-262|0;n=t>>>0>n>>>0?t-n|0:0;p=k[a+64>>2]|0;q=k[a+52>>2]|0;u=k[a+116>>2]|0;o=o>>>0>u>>>0?u:o;s=r+t+258+-258|0;j=b;b=h;l=h>>>0<(k[a+140>>2]|0)>>>0?l:l>>>2;d=r+t|0;e=i[r+t+h>>0]|0;h=i[r+t+(h+-1)>>0]|0;while(1){c=r+j|0;if((i[c+b>>0]|0)==e<<24>>24)if((i[c+(b+-1)>>0]|0)==h<<24>>24)if((i[c>>0]|0)==(i[d>>0]|0))if((i[c+1>>0]|0)==(i[d+1>>0]|0)){g=c+1|0;f=d+2|0;while(1){c=f+1|0;if((i[c>>0]|0)!=(i[g+2>>0]|0))break;c=f+2|0;if((i[c>>0]|0)!=(i[g+3>>0]|0))break;c=f+3|0;if((i[c>>0]|0)!=(i[g+4>>0]|0))break;c=f+4|0;if((i[c>>0]|0)!=(i[g+5>>0]|0))break;c=f+5|0;if((i[c>>0]|0)!=(i[g+6>>0]|0))break;c=f+6|0;if((i[c>>0]|0)!=(i[g+7>>0]|0))break;c=f+7|0;d=g;g=g+8|0;if((i[c>>0]|0)!=(i[g>>0]|0))break;c=f+8|0;if(!(c>>>0<(r+t+258|0)>>>0?(i[c>>0]|0)==(i[d+9>>0]|0):0))break;else f=c}c=c-(r+t+258)|0;if((c+258|0)>(b|0)){k[a+112>>2]=j;if((c+258|0)>=(o|0)){b=c+258|0;c=20;break}b=c+258|0;d=s;e=i[s+(c+258)>>0]|0;c=i[s+(c+257)>>0]|0}else{d=s;c=h}}else c=h;else c=h;else c=h;else c=h;j=m[p+((j&q)<<1)>>1]|0;if(j>>>0<=n>>>0){c=20;break}l=l+-1|0;if(!l){c=20;break}else h=c}if((c|0)==20)return (b>>>0>u>>>0?u:b)|0;return 0}function ylb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,m=0;a:while(1){c=k[a+116>>2]|0;while(1){if(c>>>0<262){vlb(a);c=k[a+116>>2]|0;if((b|0)==0&c>>>0<262){c=0;e=55;break a}if(!c){e=38;break a}if(c>>>0>2)e=8;else{k[a+120>>2]=k[a+96>>2];k[a+100>>2]=k[a+112>>2];k[a+96>>2]=2;c=2;e=16}}else e=8;do if((e|0)==8){e=0;h=k[a+108>>2]|0;d=((l[(k[a+56>>2]|0)+(h+2)>>0]|0)^k[a+72>>2]<>2])&k[a+84>>2];k[a+72>>2]=d;d=(k[a+68>>2]|0)+(d<<1)|0;c=j[d>>1]|0;j[(k[a+64>>2]|0)+((k[a+52>>2]&h)<<1)>>1]=c;j[d>>1]=h;d=k[a+96>>2]|0;k[a+120>>2]=d;k[a+100>>2]=k[a+112>>2];k[a+96>>2]=2;if(!(c<<16>>16)){c=2;e=16}else if(d>>>0<(k[a+128>>2]|0)>>>0)if(((k[a+108>>2]|0)-(c&65535)|0)>>>0>((k[a+44>>2]|0)+-262|0)>>>0){c=2;e=16}else{c=xlb(a,c&65535)|0;k[a+96>>2]=c;if(c>>>0<6){if((k[a+136>>2]|0)!=1){if((c|0)!=3){e=16;break}if(((k[a+108>>2]|0)-(k[a+112>>2]|0)|0)>>>0<=4096){c=3;e=16;break}}k[a+96>>2]=2;c=2;e=16}else e=16}else c=2}while(0);if((e|0)==16)d=k[a+120>>2]|0;if(!(d>>>0<3|c>>>0>d>>>0)){c=d;break}if(!(k[a+104>>2]|0)){k[a+104>>2]=1;k[a+108>>2]=(k[a+108>>2]|0)+1;c=(k[a+116>>2]|0)+-1|0;k[a+116>>2]=c;continue}h=i[(k[a+56>>2]|0)+((k[a+108>>2]|0)+-1)>>0]|0;g=k[a+5792>>2]|0;j[(k[a+5796>>2]|0)+(g<<1)>>1]=0;k[a+5792>>2]=g+1;i[(k[a+5784>>2]|0)+g>>0]=h;j[a+148+((h&255)<<2)>>1]=(j[a+148+((h&255)<<2)>>1]|0)+1<<16>>16;if((k[a+5792>>2]|0)==((k[a+5788>>2]|0)+-1|0)){c=k[a+92>>2]|0;if((c|0)>-1)d=(k[a+56>>2]|0)+c|0;else d=0;Nlb(a,d,(k[a+108>>2]|0)-c|0,0);k[a+92>>2]=k[a+108>>2];d=k[a>>2]|0;e=k[d+28>>2]|0;Llb(e);c=k[e+20>>2]|0;h=k[d+16>>2]|0;c=c>>>0>h>>>0?h:c;if(c|0){ABb(k[d+12>>2]|0,k[e+16>>2]|0,c|0)|0;k[d+12>>2]=(k[d+12>>2]|0)+c;k[e+16>>2]=(k[e+16>>2]|0)+c;k[d+20>>2]=(k[d+20>>2]|0)+c;k[d+16>>2]=(k[d+16>>2]|0)-c;h=k[e+20>>2]|0;k[e+20>>2]=h-c;if((h|0)==(c|0))k[e+16>>2]=k[e+8>>2]}}k[a+108>>2]=(k[a+108>>2]|0)+1;c=(k[a+116>>2]|0)+-1|0;k[a+116>>2]=c;if(!(k[(k[a>>2]|0)+16>>2]|0)){c=0;e=55;break a}}f=k[a+108>>2]|0;h=f+-3+(k[a+116>>2]|0)|0;f=f+65535-(k[a+100>>2]|0)|0;g=k[a+5792>>2]|0;j[(k[a+5796>>2]|0)+(g<<1)>>1]=f;k[a+5792>>2]=g+1;i[(k[a+5784>>2]|0)+g>>0]=c+253;g=a+148+((l[610598+(c+253&255)>>0]|0|256)+1<<2)|0;j[g>>1]=(j[g>>1]|0)+1<<16>>16;f=a+2440+((l[610086+((f+65535&65535)>>>0<256?f+65535&65535:((f+65535&65535)>>>7)+256|0)>>0]|0)<<2)|0;j[f>>1]=(j[f>>1]|0)+1<<16>>16;f=k[a+5792>>2]|0;g=(k[a+5788>>2]|0)+-1|0;d=k[a+120>>2]|0;k[a+116>>2]=1-d+(k[a+116>>2]|0);k[a+120>>2]=d+-2;e=k[a+108>>2]|0;d=d+-2|0;while(1){c=e+1|0;k[a+108>>2]=c;if(c>>>0<=h>>>0){m=((l[(k[a+56>>2]|0)+(e+3)>>0]|0)^k[a+72>>2]<>2])&k[a+84>>2];k[a+72>>2]=m;m=(k[a+68>>2]|0)+(m<<1)|0;j[(k[a+64>>2]|0)+((k[a+52>>2]&c)<<1)>>1]=j[m>>1]|0;j[m>>1]=c}d=d+-1|0;k[a+120>>2]=d;if(!d)break;else e=c}k[a+104>>2]=0;k[a+96>>2]=2;k[a+108>>2]=e+2;if((f|0)!=(g|0))continue;c=k[a+92>>2]|0;if((c|0)>-1)d=(k[a+56>>2]|0)+c|0;else d=0;Nlb(a,d,e+2-c|0,0);k[a+92>>2]=k[a+108>>2];d=k[a>>2]|0;e=k[d+28>>2]|0;Llb(e);c=k[e+20>>2]|0;m=k[d+16>>2]|0;c=c>>>0>m>>>0?m:c;if(c|0){ABb(k[d+12>>2]|0,k[e+16>>2]|0,c|0)|0;k[d+12>>2]=(k[d+12>>2]|0)+c;k[e+16>>2]=(k[e+16>>2]|0)+c;k[d+20>>2]=(k[d+20>>2]|0)+c;k[d+16>>2]=(k[d+16>>2]|0)-c;m=k[e+20>>2]|0;k[e+20>>2]=m-c;if((m|0)==(c|0))k[e+16>>2]=k[e+8>>2]}if(!(k[(k[a>>2]|0)+16>>2]|0)){c=0;e=55;break}}if((e|0)==38){if(k[a+104>>2]|0){m=i[(k[a+56>>2]|0)+((k[a+108>>2]|0)+-1)>>0]|0;h=k[a+5792>>2]|0;j[(k[a+5796>>2]|0)+(h<<1)>>1]=0;k[a+5792>>2]=h+1;i[(k[a+5784>>2]|0)+h>>0]=m;j[a+148+((m&255)<<2)>>1]=(j[a+148+((m&255)<<2)>>1]|0)+1<<16>>16;k[a+104>>2]=0}e=k[a+108>>2]|0;k[a+5812>>2]=e>>>0<2?e:2;if((b|0)==4){c=k[a+92>>2]|0;if((c|0)>-1)d=(k[a+56>>2]|0)+c|0;else d=0;Nlb(a,d,e-c|0,1);k[a+92>>2]=k[a+108>>2];d=k[a>>2]|0;e=k[d+28>>2]|0;Llb(e);c=k[e+20>>2]|0;m=k[d+16>>2]|0;c=c>>>0>m>>>0?m:c;if(c|0){ABb(k[d+12>>2]|0,k[e+16>>2]|0,c|0)|0;k[d+12>>2]=(k[d+12>>2]|0)+c;k[e+16>>2]=(k[e+16>>2]|0)+c;k[d+20>>2]=(k[d+20>>2]|0)+c;k[d+16>>2]=(k[d+16>>2]|0)-c;m=k[e+20>>2]|0;k[e+20>>2]=m-c;if((m|0)==(c|0))k[e+16>>2]=k[e+8>>2]}m=(k[(k[a>>2]|0)+16>>2]|0)==0?2:3;return m|0}if(k[a+5792>>2]|0){c=k[a+92>>2]|0;if((c|0)>-1)d=(k[a+56>>2]|0)+c|0;else d=0;Nlb(a,d,e-c|0,0);k[a+92>>2]=k[a+108>>2];d=k[a>>2]|0;e=k[d+28>>2]|0;Llb(e);c=k[e+20>>2]|0;m=k[d+16>>2]|0;c=c>>>0>m>>>0?m:c;if(c|0){ABb(k[d+12>>2]|0,k[e+16>>2]|0,c|0)|0;k[d+12>>2]=(k[d+12>>2]|0)+c;k[e+16>>2]=(k[e+16>>2]|0)+c;k[d+20>>2]=(k[d+20>>2]|0)+c;k[d+16>>2]=(k[d+16>>2]|0)-c;m=k[e+20>>2]|0;k[e+20>>2]=m-c;if((m|0)==(c|0))k[e+16>>2]=k[e+8>>2]}if(!(k[(k[a>>2]|0)+16>>2]|0)){m=0;return m|0}}m=1;return m|0}else if((e|0)==55)return c|0;return 0}function zlb(a){a=a|0;var b=0,c=0,d=0,e=0;if(!a){a=-2;return a|0}b=k[a+28>>2]|0;if(!b){a=-2;return a|0}e=k[b+4>>2]|0;switch(e|0){case 42:case 69:case 73:case 91:case 103:case 113:case 666:break;default:{a=-2;return a|0}}c=k[b+8>>2]|0;if(c){Di[k[a+36>>2]&511](k[a+40>>2]|0,c);b=k[a+28>>2]|0}c=k[b+68>>2]|0;if(c){Di[k[a+36>>2]&511](k[a+40>>2]|0,c);b=k[a+28>>2]|0}c=k[b+64>>2]|0;if(c){Di[k[a+36>>2]&511](k[a+40>>2]|0,c);b=k[a+28>>2]|0}c=k[b+56>>2]|0;if(!c){c=a+40|0;d=a+36|0}else{Di[k[a+36>>2]&511](k[a+40>>2]|0,c);c=a+40|0;d=a+36|0;b=k[a+28>>2]|0}Di[k[d>>2]&511](k[c>>2]|0,b);k[a+28>>2]=0;a=(e|0)==113?-3:0;return a|0}function Alb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0;if(!a){n=-2;return n|0}n=k[a+28>>2]|0;if(b>>>0>5|(n|0)==0){n=-2;return n|0}do if(k[a+12>>2]|0){if(!(k[a>>2]|0))if(k[a+4>>2]|0)break;c=k[n+4>>2]|0;if(!((b|0)!=4&(c|0)==666)){if(!(k[a+16>>2]|0)){k[a+24>>2]=k[35049];n=-5;return n|0}k[n>>2]=a;h=k[n+40>>2]|0;k[n+40>>2]=b;do if((c|0)==42){if((k[n+24>>2]|0)!=2){d=(k[n+48>>2]<<12)+-30720|0;if((k[n+136>>2]|0)>1)c=0;else{c=k[n+132>>2]|0;if((c|0)<2)c=0;else if((c|0)<6)c=64;else c=(c|0)==6?128:192}g=c|d;g=(k[n+108>>2]|0)==0?g:g|32;k[n+4>>2]=113;m=k[n+20>>2]|0;k[n+20>>2]=m+1;i[(k[n+8>>2]|0)+m>>0]=g>>>8;m=k[n+20>>2]|0;k[n+20>>2]=m+1;i[(k[n+8>>2]|0)+m>>0]=((g>>>0)%31|0|g)^31;if(k[n+108>>2]|0){m=k[a+48>>2]|0;g=k[n+20>>2]|0;k[n+20>>2]=g+1;i[(k[n+8>>2]|0)+g>>0]=m>>>24;g=k[n+20>>2]|0;k[n+20>>2]=g+1;i[(k[n+8>>2]|0)+g>>0]=m>>>16;g=k[a+48>>2]|0;m=k[n+20>>2]|0;k[n+20>>2]=m+1;i[(k[n+8>>2]|0)+m>>0]=g>>>8;m=k[n+20>>2]|0;k[n+20>>2]=m+1;i[(k[n+8>>2]|0)+m>>0]=g}c=Ulb(0,0,0)|0;k[a+48>>2]=c;c=k[n+4>>2]|0;m=30;break}c=Vlb(0,0,0)|0;k[a+48>>2]=c;c=k[n+20>>2]|0;k[n+20>>2]=c+1;i[(k[n+8>>2]|0)+c>>0]=31;c=k[n+20>>2]|0;k[n+20>>2]=c+1;i[(k[n+8>>2]|0)+c>>0]=-117;c=k[n+20>>2]|0;k[n+20>>2]=c+1;i[(k[n+8>>2]|0)+c>>0]=8;c=k[n+28>>2]|0;if(!c){c=k[n+20>>2]|0;k[n+20>>2]=c+1;i[(k[n+8>>2]|0)+c>>0]=0;c=k[n+20>>2]|0;k[n+20>>2]=c+1;i[(k[n+8>>2]|0)+c>>0]=0;c=k[n+20>>2]|0;k[n+20>>2]=c+1;i[(k[n+8>>2]|0)+c>>0]=0;c=k[n+20>>2]|0;k[n+20>>2]=c+1;i[(k[n+8>>2]|0)+c>>0]=0;c=k[n+20>>2]|0;k[n+20>>2]=c+1;i[(k[n+8>>2]|0)+c>>0]=0;c=k[n+132>>2]|0;if((c|0)==9)c=2;else c=((c|0)<2?1:(k[n+136>>2]|0)>1)?4:0;g=k[n+20>>2]|0;k[n+20>>2]=g+1;i[(k[n+8>>2]|0)+g>>0]=c;g=k[n+20>>2]|0;k[n+20>>2]=g+1;i[(k[n+8>>2]|0)+g>>0]=3;k[n+4>>2]=113;break}m=((k[c+44>>2]|0?2:0)|(k[c>>2]|0)!=0|((k[c+16>>2]|0)==0?0:4)|((k[c+28>>2]|0)==0?0:8)|((k[c+36>>2]|0)==0?0:16))&255;c=k[n+20>>2]|0;k[n+20>>2]=c+1;i[(k[n+8>>2]|0)+c>>0]=m;c=k[(k[n+28>>2]|0)+4>>2]&255;m=k[n+20>>2]|0;k[n+20>>2]=m+1;i[(k[n+8>>2]|0)+m>>0]=c;m=(k[(k[n+28>>2]|0)+4>>2]|0)>>>8&255;c=k[n+20>>2]|0;k[n+20>>2]=c+1;i[(k[n+8>>2]|0)+c>>0]=m;c=(k[(k[n+28>>2]|0)+4>>2]|0)>>>16&255;m=k[n+20>>2]|0;k[n+20>>2]=m+1;i[(k[n+8>>2]|0)+m>>0]=c;m=(k[(k[n+28>>2]|0)+4>>2]|0)>>>24&255;c=k[n+20>>2]|0;k[n+20>>2]=c+1;i[(k[n+8>>2]|0)+c>>0]=m;c=k[n+132>>2]|0;if((c|0)==9)c=2;else c=((c|0)<2?1:(k[n+136>>2]|0)>1)?4:0;m=k[n+20>>2]|0;k[n+20>>2]=m+1;i[(k[n+8>>2]|0)+m>>0]=c;m=k[(k[n+28>>2]|0)+12>>2]&255;c=k[n+20>>2]|0;k[n+20>>2]=c+1;i[(k[n+8>>2]|0)+c>>0]=m;c=k[n+28>>2]|0;if(k[c+16>>2]|0){c=k[c+20>>2]&255;m=k[n+20>>2]|0;k[n+20>>2]=m+1;i[(k[n+8>>2]|0)+m>>0]=c;m=(k[(k[n+28>>2]|0)+20>>2]|0)>>>8&255;c=k[n+20>>2]|0;k[n+20>>2]=c+1;i[(k[n+8>>2]|0)+c>>0]=m;c=k[n+28>>2]|0}if(k[c+44>>2]|0){m=Vlb(k[a+48>>2]|0,k[n+8>>2]|0,k[n+20>>2]|0)|0;k[a+48>>2]=m}k[n+32>>2]=0;k[n+4>>2]=69;c=n+28|0;m=32}else m=30;while(0);if((m|0)==30)if((c|0)==69){c=n+28|0;m=32}else m=53;do if((m|0)==32){d=k[c>>2]|0;if(!(k[d+16>>2]|0)){k[n+4>>2]=73;m=55;break}f=k[n+20>>2]|0;e=k[n+32>>2]|0;a:do if(e>>>0<(k[d+20>>2]&65535)>>>0){g=f;while(1){if((g|0)==(k[n+12>>2]|0)){if(g>>>0>f>>>0&(k[d+44>>2]|0)!=0){m=Vlb(k[a+48>>2]|0,(k[n+8>>2]|0)+f|0,g-f|0)|0;k[a+48>>2]=m}e=k[a+28>>2]|0;Llb(e);d=k[e+20>>2]|0;m=k[a+16>>2]|0;d=d>>>0>m>>>0?m:d;if(d|0){ABb(k[a+12>>2]|0,k[e+16>>2]|0,d|0)|0;k[a+12>>2]=(k[a+12>>2]|0)+d;k[e+16>>2]=(k[e+16>>2]|0)+d;k[a+20>>2]=(k[a+20>>2]|0)+d;k[a+16>>2]=(k[a+16>>2]|0)-d;m=k[e+20>>2]|0;k[e+20>>2]=m-d;if((m|0)==(d|0))k[e+16>>2]=k[e+8>>2]}f=k[n+20>>2]|0;if((f|0)==(k[n+12>>2]|0))break;d=k[c>>2]|0;e=k[n+32>>2]|0;g=f}e=i[(k[d+16>>2]|0)+e>>0]|0;k[n+20>>2]=g+1;i[(k[n+8>>2]|0)+g>>0]=e;e=(k[n+32>>2]|0)+1|0;k[n+32>>2]=e;d=k[c>>2]|0;if(e>>>0>=(k[d+20>>2]&65535)>>>0)break a;g=k[n+20>>2]|0}d=k[c>>2]|0}while(0);if(k[d+44>>2]|0){e=k[n+20>>2]|0;if(e>>>0>f>>>0){d=Vlb(k[a+48>>2]|0,(k[n+8>>2]|0)+f|0,e-f|0)|0;k[a+48>>2]=d;d=k[c>>2]|0}}if((k[n+32>>2]|0)==(k[d+20>>2]|0)){k[n+32>>2]=0;k[n+4>>2]=73;m=55;break}else{c=k[n+4>>2]|0;m=53;break}}while(0);if((m|0)==53)if((c|0)==73){c=n+28|0;d=k[n+28>>2]|0;m=55}else m=73;do if((m|0)==55){if(!(k[d+28>>2]|0)){k[n+4>>2]=91;m=75;break}d=k[n+20>>2]|0;e=d;while(1){if((e|0)==(k[n+12>>2]|0)){if(e>>>0>d>>>0?(k[(k[c>>2]|0)+44>>2]|0)!=0:0){m=Vlb(k[a+48>>2]|0,(k[n+8>>2]|0)+d|0,e-d|0)|0;k[a+48>>2]=m}e=k[a+28>>2]|0;Llb(e);d=k[e+20>>2]|0;m=k[a+16>>2]|0;d=d>>>0>m>>>0?m:d;if(d|0){ABb(k[a+12>>2]|0,k[e+16>>2]|0,d|0)|0;k[a+12>>2]=(k[a+12>>2]|0)+d;k[e+16>>2]=(k[e+16>>2]|0)+d;k[a+20>>2]=(k[a+20>>2]|0)+d;k[a+16>>2]=(k[a+16>>2]|0)-d;m=k[e+20>>2]|0;k[e+20>>2]=m-d;if((m|0)==(d|0))k[e+16>>2]=k[e+8>>2]}d=k[n+20>>2]|0;if((d|0)==(k[n+12>>2]|0)){f=1;break}else e=d}f=k[n+32>>2]|0;k[n+32>>2]=f+1;f=i[(k[(k[c>>2]|0)+28>>2]|0)+f>>0]|0;k[n+20>>2]=e+1;i[(k[n+8>>2]|0)+e>>0]=f;if(!(f<<24>>24)){f=f&255;break}e=k[n+20>>2]|0}if(k[(k[c>>2]|0)+44>>2]|0){e=k[n+20>>2]|0;if(e>>>0>d>>>0){m=Vlb(k[a+48>>2]|0,(k[n+8>>2]|0)+d|0,e-d|0)|0;k[a+48>>2]=m}}if(!f){k[n+32>>2]=0;k[n+4>>2]=91;m=75;break}else{c=k[n+4>>2]|0;m=73;break}}while(0);if((m|0)==73)if((c|0)==91){c=n+28|0;m=75}else m=93;do if((m|0)==75){if(!(k[(k[c>>2]|0)+36>>2]|0)){k[n+4>>2]=103;m=95;break}d=k[n+20>>2]|0;e=d;while(1){if((e|0)==(k[n+12>>2]|0)){if(e>>>0>d>>>0?(k[(k[c>>2]|0)+44>>2]|0)!=0:0){m=Vlb(k[a+48>>2]|0,(k[n+8>>2]|0)+d|0,e-d|0)|0;k[a+48>>2]=m}e=k[a+28>>2]|0;Llb(e);d=k[e+20>>2]|0;m=k[a+16>>2]|0;d=d>>>0>m>>>0?m:d;if(d|0){ABb(k[a+12>>2]|0,k[e+16>>2]|0,d|0)|0;k[a+12>>2]=(k[a+12>>2]|0)+d;k[e+16>>2]=(k[e+16>>2]|0)+d;k[a+20>>2]=(k[a+20>>2]|0)+d;k[a+16>>2]=(k[a+16>>2]|0)-d;m=k[e+20>>2]|0;k[e+20>>2]=m-d;if((m|0)==(d|0))k[e+16>>2]=k[e+8>>2]}d=k[n+20>>2]|0;if((d|0)==(k[n+12>>2]|0)){f=1;break}else e=d}f=k[n+32>>2]|0;k[n+32>>2]=f+1;f=i[(k[(k[c>>2]|0)+36>>2]|0)+f>>0]|0;k[n+20>>2]=e+1;i[(k[n+8>>2]|0)+e>>0]=f;if(!(f<<24>>24)){f=f&255;break}e=k[n+20>>2]|0}if(k[(k[c>>2]|0)+44>>2]|0){e=k[n+20>>2]|0;if(e>>>0>d>>>0){m=Vlb(k[a+48>>2]|0,(k[n+8>>2]|0)+d|0,e-d|0)|0;k[a+48>>2]=m}}if(!f){k[n+4>>2]=103;m=95;break}else{c=k[n+4>>2]|0;m=93;break}}while(0);if((m|0)==93)if((c|0)==103){c=n+28|0;m=95}do if((m|0)==95){if(!(k[(k[c>>2]|0)+44>>2]|0)){k[n+4>>2]=113;break}if(((k[n+20>>2]|0)+2|0)>>>0>(k[n+12>>2]|0)>>>0){d=k[a+28>>2]|0;Llb(d);c=k[d+20>>2]|0;m=k[a+16>>2]|0;c=c>>>0>m>>>0?m:c;if(c|0){ABb(k[a+12>>2]|0,k[d+16>>2]|0,c|0)|0;k[a+12>>2]=(k[a+12>>2]|0)+c;k[d+16>>2]=(k[d+16>>2]|0)+c;k[a+20>>2]=(k[a+20>>2]|0)+c;k[a+16>>2]=(k[a+16>>2]|0)-c;m=k[d+20>>2]|0;k[d+20>>2]=m-c;if((m|0)==(c|0))k[d+16>>2]=k[d+8>>2]}}c=k[n+20>>2]|0;if((c+2|0)>>>0<=(k[n+12>>2]|0)>>>0){g=k[a+48>>2]&255;k[n+20>>2]=c+1;i[(k[n+8>>2]|0)+c>>0]=g;g=(k[a+48>>2]|0)>>>8&255;m=k[n+20>>2]|0;k[n+20>>2]=m+1;i[(k[n+8>>2]|0)+m>>0]=g;m=Vlb(0,0,0)|0;k[a+48>>2]=m;k[n+4>>2]=113}}while(0);if(!(k[n+20>>2]|0)){if(!(k[a+4>>2]|0))if((b|0)!=4?((b<<1)-((b|0)>4?9:0)|0)<=((h<<1)-((h|0)>4?9:0)|0):0){k[a+24>>2]=k[35049];n=-5;return n|0}}else{e=k[a+28>>2]|0;Llb(e);d=k[e+20>>2]|0;c=k[a+16>>2]|0;d=d>>>0>c>>>0?c:d;if(d){ABb(k[a+12>>2]|0,k[e+16>>2]|0,d|0)|0;k[a+12>>2]=(k[a+12>>2]|0)+d;k[e+16>>2]=(k[e+16>>2]|0)+d;k[a+20>>2]=(k[a+20>>2]|0)+d;c=(k[a+16>>2]|0)-d|0;k[a+16>>2]=c;m=k[e+20>>2]|0;k[e+20>>2]=m-d;if((m|0)==(d|0))k[e+16>>2]=k[e+8>>2]}if(!c){k[n+40>>2]=-1;n=0;return n|0}}d=(k[n+4>>2]|0)==666;c=(k[a+4>>2]|0)==0;if(d)if(c)m=116;else{k[a+24>>2]=k[35049];n=-5;return n|0}else if(c)m=116;else m=117;if((m|0)==116)if(!((k[n+116>>2]|0)==0&((b|0)==0|d)))m=117;do if((m|0)==117){b:do switch(k[n+136>>2]|0){case 2:{while(1){if(!(k[n+116>>2]|0)){vlb(n);if(!(k[n+116>>2]|0))break}k[n+96>>2]=0;h=i[(k[n+56>>2]|0)+(k[n+108>>2]|0)>>0]|0;c=k[n+5792>>2]|0;j[(k[n+5796>>2]|0)+(c<<1)>>1]=0;k[n+5792>>2]=c+1;i[(k[n+5784>>2]|0)+c>>0]=h;j[n+148+((h&255)<<2)>>1]=(j[n+148+((h&255)<<2)>>1]|0)+1<<16>>16;h=(k[n+5792>>2]|0)==((k[n+5788>>2]|0)+-1|0);k[n+116>>2]=(k[n+116>>2]|0)+-1;c=(k[n+108>>2]|0)+1|0;k[n+108>>2]=c;if(!h)continue;d=k[n+92>>2]|0;if((d|0)>-1)e=(k[n+56>>2]|0)+d|0;else e=0;Nlb(n,e,c-d|0,0);k[n+92>>2]=k[n+108>>2];d=k[n>>2]|0;e=k[d+28>>2]|0;Llb(e);c=k[e+20>>2]|0;h=k[d+16>>2]|0;c=c>>>0>h>>>0?h:c;if(c|0){ABb(k[d+12>>2]|0,k[e+16>>2]|0,c|0)|0;k[d+12>>2]=(k[d+12>>2]|0)+c;k[e+16>>2]=(k[e+16>>2]|0)+c;k[d+20>>2]=(k[d+20>>2]|0)+c;k[d+16>>2]=(k[d+16>>2]|0)-c;h=k[e+20>>2]|0;k[e+20>>2]=h-c;if((h|0)==(c|0))k[e+16>>2]=k[e+8>>2]}if(!(k[(k[n>>2]|0)+16>>2]|0)){m=191;break b}}if(!b)m=191;else{k[n+5812>>2]=0;if((b|0)==4){c=k[n+92>>2]|0;if((c|0)>-1)d=(k[n+56>>2]|0)+c|0;else d=0;Nlb(n,d,(k[n+108>>2]|0)-c|0,1);k[n+92>>2]=k[n+108>>2];d=k[n>>2]|0;e=k[d+28>>2]|0;Llb(e);c=k[e+20>>2]|0;m=k[d+16>>2]|0;c=c>>>0>m>>>0?m:c;if(c|0){ABb(k[d+12>>2]|0,k[e+16>>2]|0,c|0)|0;k[d+12>>2]=(k[d+12>>2]|0)+c;k[e+16>>2]=(k[e+16>>2]|0)+c;k[d+20>>2]=(k[d+20>>2]|0)+c;k[d+16>>2]=(k[d+16>>2]|0)-c;m=k[e+20>>2]|0;k[e+20>>2]=m-c;if((m|0)==(c|0))k[e+16>>2]=k[e+8>>2]}c=(k[(k[n>>2]|0)+16>>2]|0)==0?2:3;m=188;break b}if(k[n+5792>>2]|0){c=k[n+92>>2]|0;if((c|0)>-1)d=(k[n+56>>2]|0)+c|0;else d=0;Nlb(n,d,(k[n+108>>2]|0)-c|0,0);k[n+92>>2]=k[n+108>>2];d=k[n>>2]|0;e=k[d+28>>2]|0;Llb(e);c=k[e+20>>2]|0;h=k[d+16>>2]|0;c=c>>>0>h>>>0?h:c;if(c|0){ABb(k[d+12>>2]|0,k[e+16>>2]|0,c|0)|0;k[d+12>>2]=(k[d+12>>2]|0)+c;k[e+16>>2]=(k[e+16>>2]|0)+c;k[d+20>>2]=(k[d+20>>2]|0)+c;k[d+16>>2]=(k[d+16>>2]|0)-c;h=k[e+20>>2]|0;k[e+20>>2]=h-c;if((h|0)==(c|0))k[e+16>>2]=k[e+8>>2]}if(!(k[(k[n>>2]|0)+16>>2]|0))m=191}}break}case 3:{while(1){c=k[n+116>>2]|0;if(c>>>0<259){vlb(n);c=k[n+116>>2]|0;if((b|0)==0&c>>>0<259){m=191;break b}if(!c)break;k[n+96>>2]=0;if(c>>>0>2)m=150;else{c=k[n+108>>2]|0;m=165}}else{k[n+96>>2]=0;m=150}if((m|0)==150){m=0;h=k[n+108>>2]|0;if(!h){c=0;m=165}else{g=(k[n+56>>2]|0)+h|0;f=i[g+-1>>0]|0;if(f<<24>>24==(i[g+-1+1>>0]|0)){d=g+-1+1+1|0;if(f<<24>>24==(i[d>>0]|0))if(f<<24>>24==(i[d+1>>0]|0)){e=d;while(1){d=e+2|0;if(f<<24>>24!=(i[d>>0]|0))break;d=e+3|0;if(f<<24>>24!=(i[d>>0]|0))break;d=e+4|0;if(f<<24>>24!=(i[d>>0]|0))break;d=e+5|0;if(f<<24>>24!=(i[d>>0]|0))break;d=e+6|0;if(f<<24>>24!=(i[d>>0]|0))break;d=e+7|0;if(f<<24>>24!=(i[d>>0]|0))break;d=e;e=e+8|0;if(f<<24>>24!=(i[e>>0]|0)){d=e;break}if(!((d+9|0)>>>0<(g+258|0)>>>0?f<<24>>24==(i[d+9>>0]|0):0)){d=d+9|0;break}}g=d-(g+258)+258|0;c=g>>>0>c>>>0?c:g;k[n+96>>2]=c;if(c>>>0>2){e=k[n+5792>>2]|0;j[(k[n+5796>>2]|0)+(e<<1)>>1]=1;k[n+5792>>2]=e+1;i[(k[n+5784>>2]|0)+e>>0]=c+253;c=n+148+((l[610598+(c+253&255)>>0]|256)+1<<2)|0;j[c>>1]=(j[c>>1]|0)+1<<16>>16;c=n+2440+(l[610086]<<2)|0;j[c>>1]=(j[c>>1]|0)+1<<16>>16;c=(k[n+5792>>2]|0)==((k[n+5788>>2]|0)+-1|0)&1;e=k[n+96>>2]|0;k[n+116>>2]=(k[n+116>>2]|0)-e;e=(k[n+108>>2]|0)+e|0;k[n+108>>2]=e;k[n+96>>2]=0}else{c=h;m=165}}else{c=h;m=165}else{c=h;m=165}}else{c=h;m=165}}}if((m|0)==165){m=0;c=i[(k[n+56>>2]|0)+c>>0]|0;e=k[n+5792>>2]|0;j[(k[n+5796>>2]|0)+(e<<1)>>1]=0;k[n+5792>>2]=e+1;i[(k[n+5784>>2]|0)+e>>0]=c;j[n+148+((c&255)<<2)>>1]=(j[n+148+((c&255)<<2)>>1]|0)+1<<16>>16;c=(k[n+5792>>2]|0)==((k[n+5788>>2]|0)+-1|0)&1;k[n+116>>2]=(k[n+116>>2]|0)+-1;e=(k[n+108>>2]|0)+1|0;k[n+108>>2]=e}if(!c)continue;c=k[n+92>>2]|0;if((c|0)>-1)d=(k[n+56>>2]|0)+c|0;else d=0;Nlb(n,d,e-c|0,0);k[n+92>>2]=k[n+108>>2];d=k[n>>2]|0;e=k[d+28>>2]|0;Llb(e);c=k[e+20>>2]|0;h=k[d+16>>2]|0;c=c>>>0>h>>>0?h:c;if(c|0){ABb(k[d+12>>2]|0,k[e+16>>2]|0,c|0)|0;k[d+12>>2]=(k[d+12>>2]|0)+c;k[e+16>>2]=(k[e+16>>2]|0)+c;k[d+20>>2]=(k[d+20>>2]|0)+c;k[d+16>>2]=(k[d+16>>2]|0)-c;h=k[e+20>>2]|0;k[e+20>>2]=h-c;if((h|0)==(c|0))k[e+16>>2]=k[e+8>>2]}if(!(k[(k[n>>2]|0)+16>>2]|0)){m=191;break b}}k[n+5812>>2]=0;if((b|0)==4){c=k[n+92>>2]|0;if((c|0)>-1)d=(k[n+56>>2]|0)+c|0;else d=0;Nlb(n,d,(k[n+108>>2]|0)-c|0,1);k[n+92>>2]=k[n+108>>2];d=k[n>>2]|0;e=k[d+28>>2]|0;Llb(e);c=k[e+20>>2]|0;m=k[d+16>>2]|0;c=c>>>0>m>>>0?m:c;if(c|0){ABb(k[d+12>>2]|0,k[e+16>>2]|0,c|0)|0;k[d+12>>2]=(k[d+12>>2]|0)+c;k[e+16>>2]=(k[e+16>>2]|0)+c;k[d+20>>2]=(k[d+20>>2]|0)+c;k[d+16>>2]=(k[d+16>>2]|0)-c;m=k[e+20>>2]|0;k[e+20>>2]=m-c;if((m|0)==(c|0))k[e+16>>2]=k[e+8>>2]}c=(k[(k[n>>2]|0)+16>>2]|0)==0?2:3;m=188;break b}if(k[n+5792>>2]|0){c=k[n+92>>2]|0;if((c|0)>-1)d=(k[n+56>>2]|0)+c|0;else d=0;Nlb(n,d,(k[n+108>>2]|0)-c|0,0);k[n+92>>2]=k[n+108>>2];d=k[n>>2]|0;e=k[d+28>>2]|0;Llb(e);c=k[e+20>>2]|0;h=k[d+16>>2]|0;c=c>>>0>h>>>0?h:c;if(c|0){ABb(k[d+12>>2]|0,k[e+16>>2]|0,c|0)|0;k[d+12>>2]=(k[d+12>>2]|0)+c;k[e+16>>2]=(k[e+16>>2]|0)+c;k[d+20>>2]=(k[d+20>>2]|0)+c;k[d+16>>2]=(k[d+16>>2]|0)-c;h=k[e+20>>2]|0;k[e+20>>2]=h-c;if((h|0)==(c|0))k[e+16>>2]=k[e+8>>2]}if(!(k[(k[n>>2]|0)+16>>2]|0))m=191}break}default:{c=gj[k[139556+((k[n+132>>2]|0)*12|0)+8>>2]&511](n,b)|0;m=188}}while(0);if((m|0)==188){if((c|1|0)==3)k[n+4>>2]=666;if((c|2|0)==2)m=191;else if((c|0)!=1)break}if((m|0)==191){if(k[a+16>>2]|0){n=0;return n|0}k[n+40>>2]=-1;n=0;return n|0}switch(b|0){case 1:{Mlb(n);break}case 5:break;default:{Klb(n,0,0,0);if((b|0)==3){m=k[n+76>>2]|0;h=k[n+68>>2]|0;j[h+(m+-1<<1)>>1]=0;vBb(h|0,0,(m<<1)+-2|0)|0;if(!(k[n+116>>2]|0)){k[n+108>>2]=0;k[n+92>>2]=0;k[n+5812>>2]=0}}}}e=k[a+28>>2]|0;Llb(e);d=k[e+20>>2]|0;c=k[a+16>>2]|0;d=d>>>0>c>>>0?c:d;if(d){ABb(k[a+12>>2]|0,k[e+16>>2]|0,d|0)|0;k[a+12>>2]=(k[a+12>>2]|0)+d;k[e+16>>2]=(k[e+16>>2]|0)+d;k[a+20>>2]=(k[a+20>>2]|0)+d;c=(k[a+16>>2]|0)-d|0;k[a+16>>2]=c;m=k[e+20>>2]|0;k[e+20>>2]=m-d;if((m|0)==(d|0))k[e+16>>2]=k[e+8>>2]}if(!c){k[n+40>>2]=-1;n=0;return n|0}}while(0);if((b|0)!=4){n=0;return n|0}c=k[n+24>>2]|0;if((c|0)<1){n=1;return n|0}d=k[a+48>>2]|0;if((c|0)==2){m=k[n+20>>2]|0;k[n+20>>2]=m+1;i[(k[n+8>>2]|0)+m>>0]=d;m=(k[a+48>>2]|0)>>>8&255;b=k[n+20>>2]|0;k[n+20>>2]=b+1;i[(k[n+8>>2]|0)+b>>0]=m;b=(k[a+48>>2]|0)>>>16&255;m=k[n+20>>2]|0;k[n+20>>2]=m+1;i[(k[n+8>>2]|0)+m>>0]=b;m=(k[a+48>>2]|0)>>>24&255;b=k[n+20>>2]|0;k[n+20>>2]=b+1;i[(k[n+8>>2]|0)+b>>0]=m;b=k[a+8>>2]&255;m=k[n+20>>2]|0;k[n+20>>2]=m+1;i[(k[n+8>>2]|0)+m>>0]=b;m=(k[a+8>>2]|0)>>>8&255;b=k[n+20>>2]|0;k[n+20>>2]=b+1;i[(k[n+8>>2]|0)+b>>0]=m;b=(k[a+8>>2]|0)>>>16&255;m=k[n+20>>2]|0;k[n+20>>2]=m+1;i[(k[n+8>>2]|0)+m>>0]=b;m=(k[a+8>>2]|0)>>>24&255;b=k[n+20>>2]|0;k[n+20>>2]=b+1;i[(k[n+8>>2]|0)+b>>0]=m}else{m=k[n+20>>2]|0;k[n+20>>2]=m+1;i[(k[n+8>>2]|0)+m>>0]=d>>>24;m=k[n+20>>2]|0;k[n+20>>2]=m+1;i[(k[n+8>>2]|0)+m>>0]=d>>>16;m=k[a+48>>2]|0;b=k[n+20>>2]|0;k[n+20>>2]=b+1;i[(k[n+8>>2]|0)+b>>0]=m>>>8;b=k[n+20>>2]|0;k[n+20>>2]=b+1;i[(k[n+8>>2]|0)+b>>0]=m}d=k[a+28>>2]|0;Llb(d);c=k[d+20>>2]|0;b=k[a+16>>2]|0;c=c>>>0>b>>>0?b:c;if(c|0){ABb(k[a+12>>2]|0,k[d+16>>2]|0,c|0)|0;k[a+12>>2]=(k[a+12>>2]|0)+c;k[d+16>>2]=(k[d+16>>2]|0)+c;k[a+20>>2]=(k[a+20>>2]|0)+c;k[a+16>>2]=(k[a+16>>2]|0)-c;a=k[d+20>>2]|0;k[d+20>>2]=a-c;if((a|0)==(c|0))k[d+16>>2]=k[d+8>>2]}c=k[n+24>>2]|0;if((c|0)>0)k[n+24>>2]=0-c;n=(k[n+20>>2]|0)==0&1;return n|0}}while(0);k[a+24>>2]=k[35046];n=-2;return n|0}function Blb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;if(!a){a=-2;return a|0}f=k[a+28>>2]|0;if(!f){a=-2;return a|0}if((b|0)<0){e=0-b|0;d=0}else{e=(b|0)<48?b&15:b;d=(b>>4)+1|0}if(!((e|0)==0|(e&-8|0)==8)){a=-2;return a|0}b=k[f+52>>2]|0;if(!b)g=9;else if((k[f+36>>2]|0)==(e|0))g=9;else{Di[k[a+36>>2]&511](k[a+40>>2]|0,b);k[f+52>>2]=0;c=k[a+28>>2]|0;k[f+8>>2]=d;k[f+36>>2]=e;if(!c){a=-2;return a|0}}if((g|0)==9){k[f+8>>2]=d;k[f+36>>2]=e;c=f}k[c+40>>2]=0;k[c+44>>2]=0;k[c+48>>2]=0;k[c+28>>2]=0;k[a+20>>2]=0;k[a+8>>2]=0;k[a+24>>2]=0;b=k[c+8>>2]|0;if(b|0)k[a+48>>2]=b&1;k[c>>2]=0;k[c+4>>2]=0;k[c+12>>2]=0;k[c+20>>2]=32768;k[c+32>>2]=0;k[c+56>>2]=0;k[c+60>>2]=0;a=c+1328|0;k[c+108>>2]=a;k[c+80>>2]=a;k[c+76>>2]=a;k[c+7104>>2]=1;k[c+7108>>2]=-1;a=0;return a|0}function Clb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(!c){a=-6;return a|0}if((d|0)!=56|(i[c>>0]|0)!=49){a=-6;return a|0}if(!a){a=-2;return a|0}k[a+24>>2]=0;d=k[a+32>>2]|0;if(!d){k[a+32>>2]=179;k[a+40>>2]=0;d=179}if(!(k[a+36>>2]|0))k[a+36>>2]=242;c=Ri[d&255](k[a+40>>2]|0,1,7116)|0;if(!c){a=-4;return a|0}k[a+28>>2]=c;k[c+52>>2]=0;d=Blb(a,b)|0;if(!d){a=0;return a|0}Di[k[a+36>>2]&511](k[a+40>>2]|0,c);k[a+28>>2]=0;a=d;return a|0}function Dlb(a,b,c){a=a|0;b=b|0;c=c|0;if(!b){a=-6;return a|0}if((c|0)!=56|(i[b>>0]|0)!=49){a=-6;return a|0}if(!a){a=-2;return a|0}k[a+24>>2]=0;c=k[a+32>>2]|0;if(!c){k[a+32>>2]=179;k[a+40>>2]=0;c=179}if(!(k[a+36>>2]|0))k[a+36>>2]=242;c=Ri[c&255](k[a+40>>2]|0,1,7116)|0;if(!c){a=-4;return a|0}k[a+28>>2]=c;k[c+52>>2]=0;k[c+8>>2]=1;k[c+36>>2]=15;k[c+40>>2]=0;k[c+44>>2]=0;k[c+48>>2]=0;k[c+28>>2]=0;k[a+20>>2]=0;k[a+8>>2]=0;k[a+24>>2]=0;k[a+48>>2]=1;k[c>>2]=0;k[c+4>>2]=0;k[c+12>>2]=0;k[c+20>>2]=32768;k[c+32>>2]=0;k[c+56>>2]=0;k[c+60>>2]=0;k[c+108>>2]=c+1328;k[c+80>>2]=c+1328;k[c+76>>2]=c+1328;k[c+7104>>2]=1;k[c+7108>>2]=-1;a=0;return a|0}function Elb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;J=r;r=r+16|0;if(!a){a=-2;r=J;return a|0}I=k[a+28>>2]|0;if(!I){a=-2;r=J;return a|0}h=k[a+12>>2]|0;if(!h){a=-2;r=J;return a|0}c=k[a>>2]|0;if(!c)if(k[a+4>>2]|0){a=-2;r=J;return a|0}d=k[I>>2]|0;if((d|0)==11){k[I>>2]=12;d=12}n=k[a+16>>2]|0;H=k[a+4>>2]|0;p=d;g=k[I+60>>2]|0;f=H;e=k[I+56>>2]|0;d=n;o=0;a:while(1){b:do switch(p|0){case 28:{o=1;y=282;break a}case 29:{G=h;F=d;E=g;D=f;B=e;z=c;C=n;A=-3;break a}case 30:{y=296;break a}case 0:{s=k[I+8>>2]|0;if(!s){k[I>>2]=12;q=d;break b}if(g>>>0<16){p=c;while(1){if(!f){G=h;F=d;E=g;D=0;B=e;z=p;C=n;A=o;break a}f=f+-1|0;c=p+1|0;e=(l[p>>0]<>>0<16)p=c;else{q=e;break}}}else q=e;if((q|0)==35615&(s&2|0)!=0){g=Vlb(0,0,0)|0;k[I+24>>2]=g;i[J>>0]=31;i[J+1>>0]=-117;g=Vlb(k[I+24>>2]|0,J,2)|0;k[I+24>>2]=g;k[I>>2]=1;g=0;e=0;q=d;break b}k[I+16>>2]=0;e=k[I+32>>2]|0;if(e|0)k[e+48>>2]=-1;if(s&1|0)if(!((((q<<8&65280)+(q>>>8)|0)>>>0)%31|0)){if((q&15|0)!=8){k[a+24>>2]=609728;k[I>>2]=29;e=q;q=d;break b}e=q>>>4;g=g+-4|0;p=k[I+36>>2]|0;if(!p)k[I+36>>2]=(e&15)+8;else if(((e&15)+8|0)>>>0>p>>>0){k[a+24>>2]=609755;k[I>>2]=29;q=d;break b}k[I+20>>2]=1<<(e&15)+8;g=Ulb(0,0,0)|0;k[I+24>>2]=g;k[a+48>>2]=g;k[I>>2]=q>>>12&2^11;g=0;e=0;q=d;break b}k[a+24>>2]=609705;k[I>>2]=29;e=q;q=d;break}case 1:{if(g>>>0<16){p=c;while(1){if(!f){G=h;F=d;E=g;D=0;B=e;z=p;C=n;A=o;break a}f=f+-1|0;c=p+1|0;e=(l[p>>0]<>>0<16)p=c;else break}}k[I+16>>2]=e;if((e&255|0)!=8){k[a+24>>2]=609728;k[I>>2]=29;q=d;break b}if(e&57344|0){k[a+24>>2]=609775;k[I>>2]=29;q=d;break b}g=k[I+32>>2]|0;if(g|0)k[g>>2]=e>>>8&1;if(e&512|0){i[J>>0]=e;i[J+1>>0]=e>>>8;y=Vlb(k[I+24>>2]|0,J,2)|0;k[I+24>>2]=y}k[I>>2]=2;g=0;e=0;y=47;break}case 2:{if(g>>>0<32)y=47;else y=49;break}case 3:{if(g>>>0<16){p=c;y=55}else y=57;break}case 4:{y=62;break}case 5:{y=73;break}case 6:{y=83;break}case 7:{y=96;break}case 8:{y=109;break}case 9:{if(g>>>0<32){p=c;while(1){if(!f){G=h;F=d;E=g;D=0;B=e;z=p;C=n;A=o;break a}f=f+-1|0;c=p+1|0;e=(l[p>>0]<>>0>=32)break;else p=c}}g=uBb(e|0)|0;k[I+24>>2]=g;k[a+48>>2]=g;k[I>>2]=10;g=0;e=0;y=121;break}case 10:{y=121;break}case 11:{y=124;break}case 12:{y=125;break}case 13:{x=g&7;e=e>>>x;g=g-x|0;if(g>>>0<32){p=c;while(1){if(!f){G=h;F=d;E=g;D=0;B=e;z=p;C=n;A=o;break a}f=f+-1|0;c=p+1|0;e=(l[p>>0]<>>0<32)p=c;else break}}p=e&65535;if((p|0)==(e>>>16^65535|0)){k[I+64>>2]=p;k[I>>2]=14;if((b|0)==6){g=0;e=0;y=282;break a}else{g=0;e=0;y=144;break b}}else{k[a+24>>2]=609839;k[I>>2]=29;q=d;break b}}case 14:{y=144;break}case 15:{y=145;break}case 16:{if(g>>>0<14){p=c;while(1){if(!f){G=h;F=d;E=g;D=0;B=e;z=p;C=n;A=o;break a}f=f+-1|0;c=p+1|0;e=(l[p>>0]<>>0<14)p=c;else break}}w=(e&31)+257|0;k[I+96>>2]=w;x=(e>>>5&31)+1|0;k[I+100>>2]=x;p=(e>>>10&15)+4|0;k[I+92>>2]=p;e=e>>>14;g=g+-14|0;if(w>>>0>286|x>>>0>30){k[a+24>>2]=609868;k[I>>2]=29;q=d;break b}else{k[I+104>>2]=0;k[I>>2]=17;q=0;y=155;break b}}case 17:{q=k[I+104>>2]|0;p=k[I+92>>2]|0;if(q>>>0

>>0)y=155;else{o=q;y=156}break}case 18:{s=k[I+104>>2]|0;y=166;break}case 19:{y=200;break}case 20:{y=201;break}case 21:{q=k[I+72>>2]|0;y=219;break}case 22:{y=226;break}case 23:{q=k[I+72>>2]|0;y=238;break}case 24:{y=244;break}case 25:{if(!d){d=0;y=282;break a}i[h>>0]=k[I+64>>2];k[I>>2]=20;q=d+-1|0;h=h+1|0;break}case 26:{if(k[I+8>>2]|0){if(g>>>0<32){p=c;while(1){if(!f){G=h;F=d;E=g;D=0;B=e;z=p;C=n;A=o;break a}f=f+-1|0;c=p+1|0;e=(l[p>>0]<>>0<32)p=c;else break}}q=n-d|0;k[a+20>>2]=(k[a+20>>2]|0)+q;k[I+28>>2]=(k[I+28>>2]|0)+q;if((n|0)==(d|0))n=k[I+24>>2]|0;else{n=k[I+24>>2]|0;p=h+(0-q)|0;if(!(k[I+16>>2]|0))n=Ulb(n,p,q)|0;else n=Vlb(n,p,q)|0;k[I+24>>2]=n;k[a+48>>2]=n}w=(k[I+16>>2]|0)==0;x=uBb(e|0)|0;if(((w?x:e)|0)==(n|0)){g=0;e=0;n=d}else{k[a+24>>2]=610042;k[I>>2]=29;q=d;n=d;break b}}k[I>>2]=27;y=274;break}case 27:{y=274;break}default:{c=-2;y=297;break a}}while(0);if((y|0)==47)while(1){y=0;if(!f){G=h;F=d;E=g;D=0;B=e;z=c;C=n;A=o;break a}f=f+-1|0;p=c+1|0;e=(l[c>>0]<>>0>=32){c=p;y=49;break}else{c=p;y=47}}else if((y|0)==121){if(!(k[I+12>>2]|0)){y=122;break}y=Ulb(0,0,0)|0;k[I+24>>2]=y;k[a+48>>2]=y;k[I>>2]=11;y=124}else if((y|0)==144){k[I>>2]=15;y=145}else if((y|0)==155){y=0;while(1){if(g>>>0<3){if(!f){G=h;F=d;E=g;D=0;B=e;z=c;C=n;A=o;break a}t=g+8|0;f=f+-1|0;e=(l[c>>0]<>2]=s;j[I+112+(m[175898+(q<<1)>>1]<<1)>>1]=e&7;e=e>>>3;g=t+-3|0;if(s>>>0

>>0)q=s;else{o=s;y=156;break}}}else if((y|0)==274){y=0;if(!(k[I+8>>2]|0)){y=281;break}if(!(k[I+16>>2]|0)){y=281;break}if(g>>>0<32){p=c;while(1){if(!f){G=h;F=d;E=g;D=0;B=e;z=p;C=n;A=o;break a}f=f+-1|0;c=p+1|0;e=(l[p>>0]<>>0<32)p=c;else break}}if((e|0)==(k[I+28>>2]|0)){g=0;e=0;y=281;break}k[a+24>>2]=610063;k[I>>2]=29;q=d}do if((y|0)==49){g=k[I+32>>2]|0;if(g|0)k[g+4>>2]=e;if(k[I+16>>2]&512|0){i[J>>0]=e;i[J+1>>0]=e>>>8;i[J+2>>0]=e>>>16;i[J+3>>0]=e>>>24;y=Vlb(k[I+24>>2]|0,J,4)|0;k[I+24>>2]=y}k[I>>2]=3;g=0;e=0;p=c;y=55}else if((y|0)==124)if((b+-5|0)>>>0<2){y=282;break a}else y=125;else if((y|0)==145){y=0;p=k[I+64>>2]|0;if(!p){k[I>>2]=11;q=d;break}p=p>>>0>f>>>0?f:p;p=p>>>0>d>>>0?d:p;if(!p){y=282;break a}ABb(h|0,c|0,p|0)|0;k[I+64>>2]=(k[I+64>>2]|0)-p;f=f-p|0;q=d-p|0;c=c+p|0;h=h+p|0}else if((y|0)==156){y=0;if(o>>>0<19){do{j[I+112+(m[175898+(o<<1)>>1]<<1)>>1]=0;o=o+1|0}while((o|0)!=19);k[I+104>>2]=19}k[I+108>>2]=I+1328;k[I+76>>2]=I+1328;k[I+84>>2]=7;o=Hlb(0,I+112|0,19,I+108|0,I+84|0,I+752|0)|0;if(!o){k[I+104>>2]=0;k[I>>2]=18;s=0;o=0;y=166;break}else{k[a+24>>2]=609904;k[I>>2]=29;q=d;break}}while(0);c:do if((y|0)==55)while(1){y=0;if(!f){G=h;F=d;E=g;D=0;B=e;z=p;C=n;A=o;break a}f=f+-1|0;c=p+1|0;e=(l[p>>0]<>>0>=16){y=57;break}else{p=c;y=55}}else if((y|0)==125){y=0;if(k[I+4>>2]|0){q=g&7;k[I>>2]=26;g=g-q|0;e=e>>>q;q=d;break}if(g>>>0<3){if(!f){f=0;y=282;break a}p=g+8|0;f=f+-1|0;e=(l[c>>0]<>2]=e&1;switch(e>>>1&3|0){case 0:{k[I>>2]=13;break}case 1:{k[I+76>>2]=173722;k[I+84>>2]=9;k[I+80>>2]=175770;k[I+88>>2]=5;k[I>>2]=19;if((b|0)==6){g=o;y=133;break a}break}case 2:{k[I>>2]=16;break}case 3:{k[a+24>>2]=609820;k[I>>2]=29;break}default:{y=136;break a}}g=p+-3|0;e=e>>>3;q=d}else if((y|0)==166){y=0;q=k[I+96>>2]|0;p=k[I+100>>2]|0;do if(s>>>0<(p+q|0)>>>0){x=s;w=q;d:while(1){t=(1<>2])+-1|0;s=t&e;u=k[I+76>>2]|0;q=l[u+(s<<2)+1>>0]|0;if(g>>>0>>0){q=c;while(1){if(!f){G=h;F=d;E=g;D=0;B=e;z=q;C=n;A=o;break a}f=f+-1|0;c=q+1|0;e=(l[q>>0]<>0]|0;if(g>>>0>>0)q=c;else{v=q;s=t&e;break}}}else v=q;q=j[u+(s<<2)+2>>1]|0;if((q&65535)<16){k[I+104>>2]=x+1;j[I+112+(x<<1)>>1]=q;g=g-v|0;e=e>>>v}else{switch(q<<16>>16){case 16:{s=v+2|0;if(g>>>0>>0){q=c;while(1){if(!f){G=h;F=d;E=g;D=0;B=e;z=q;C=n;A=o;break a}f=f+-1|0;c=q+1|0;e=(l[q>>0]<>>0>>0)q=c;else break}}e=e>>>v;g=g-v|0;if(!x){y=180;break d}g=g+-2|0;s=(e&3)+3|0;e=e>>>2;q=m[I+112+(x+-1<<1)>>1]|0;break}case 17:{s=v+3|0;if(g>>>0>>0){q=c;while(1){if(!f){G=h;F=d;E=g;D=0;B=e;z=q;C=n;A=o;break a}f=f+-1|0;c=q+1|0;e=(l[q>>0]<>>0>>0)q=c;else break}}e=e>>>v;g=-3-v+g|0;s=(e&7)+3|0;e=e>>>3;q=0;break}default:{s=v+7|0;if(g>>>0>>0){q=c;while(1){if(!f){G=h;F=d;E=g;D=0;B=e;z=q;C=n;A=o;break a}f=f+-1|0;c=q+1|0;e=(l[q>>0]<>>0>>0)q=c;else break}}e=e>>>v;g=-7-v+g|0;s=(e&127)+11|0;e=e>>>7;q=0}}if((x+s|0)>>>0>(p+w|0)>>>0){y=190;break}q=q&65535;p=s+-1|0;k[I+104>>2]=x+1;j[I+112+(x<<1)>>1]=q;if(p)do{x=k[I+104>>2]|0;p=p+-1|0;k[I+104>>2]=x+1;j[I+112+(x<<1)>>1]=q}while((p|0)!=0)}x=k[I+104>>2]|0;q=k[I+96>>2]|0;p=k[I+100>>2]|0;if(x>>>0>=(p+q|0)>>>0){y=192;break}else w=q}if((y|0)==180){y=0;k[a+24>>2]=609929;k[I>>2]=29;q=d;break c}else if((y|0)==190){y=0;k[a+24>>2]=609929;k[I>>2]=29;q=d;break c}else if((y|0)==192){y=0;if((k[I>>2]|0)==29){q=d;break c}else break}}while(0);if(!(j[I+624>>1]|0)){k[a+24>>2]=609955;k[I>>2]=29;q=d;break}k[I+108>>2]=I+1328;k[I+76>>2]=I+1328;k[I+84>>2]=9;o=Hlb(1,I+112|0,q,I+108|0,I+84|0,I+752|0)|0;if(o|0){k[a+24>>2]=609992;k[I>>2]=29;q=d;break}k[I+80>>2]=k[I+108>>2];k[I+88>>2]=6;o=Hlb(2,I+112+(k[I+96>>2]<<1)|0,k[I+100>>2]|0,I+108|0,I+88|0,I+752|0)|0;if(!o){k[I>>2]=19;if((b|0)==6){o=0;y=282;break a}else{o=0;y=200;break}}else{k[a+24>>2]=610020;k[I>>2]=29;q=d;break}}while(0);if((y|0)==57){g=k[I+32>>2]|0;if(g|0){k[g+8>>2]=e&255;k[g+12>>2]=e>>>8}if(k[I+16>>2]&512|0){i[J>>0]=e;i[J+1>>0]=e>>>8;y=Vlb(k[I+24>>2]|0,J,2)|0;k[I+24>>2]=y}k[I>>2]=4;g=0;e=0;y=62}else if((y|0)==200){k[I>>2]=20;y=201}do if((y|0)==62){y=0;q=k[I+16>>2]|0;if(!(q&1024)){p=k[I+32>>2]|0;if(p)k[p+16>>2]=0}else{if(g>>>0<16){p=c;while(1){if(!f){G=h;F=d;E=g;D=0;B=e;z=p;C=n;A=o;break a}f=f+-1|0;c=p+1|0;e=(l[p>>0]<>>0>=16)break;else p=c}}k[I+64>>2]=e;g=k[I+32>>2]|0;if(g|0)k[g+20>>2]=e;if(!(q&512)){g=0;e=0}else{i[J>>0]=e;i[J+1>>0]=e>>>8;g=Vlb(k[I+24>>2]|0,J,2)|0;k[I+24>>2]=g;g=0;e=0}}k[I>>2]=5;y=73}else if((y|0)==201){y=0;if(d>>>0>257&f>>>0>5){k[a+12>>2]=h;k[a+16>>2]=d;k[a>>2]=c;k[a+4>>2]=f;k[I+56>>2]=e;k[I+60>>2]=g;Wlb(a,n);h=k[a+12>>2]|0;d=k[a+16>>2]|0;c=k[a>>2]|0;f=k[a+4>>2]|0;e=k[I+56>>2]|0;g=k[I+60>>2]|0;if((k[I>>2]|0)!=11){q=d;break}k[I+7108>>2]=-1;q=d;break}k[I+7108>>2]=0;s=(1<>2])+-1|0;q=s&e;t=k[I+76>>2]|0;p=i[t+(q<<2)+1>>0]|0;if((p&255)>>>0>g>>>0){p=c;while(1){if(!f){G=h;F=d;E=g;D=0;B=e;z=p;C=n;A=o;break a}f=f+-1|0;c=p+1|0;e=(l[p>>0]<>0]|0;if((p&255)>>>0>g>>>0)p=c;else{u=p;w=p&255;q=s&e;break}}}else{u=p;w=p&255}p=i[t+(q<<2)>>0]|0;v=j[t+(q<<2)+2>>1]|0;if(p<<24>>24!=0&(p&240|0)==0){s=(1<>>w)+(v&65535)|0;q=i[t+(p<<2)+1>>0]|0;if(((q&255)+w|0)>>>0>g>>>0){p=c;while(1){if(!f){G=h;F=d;E=g;D=0;B=e;z=p;C=n;A=o;break a}f=f+-1|0;c=p+1|0;e=(l[p>>0]<>>w)+(v&65535)|0;q=i[t+(p<<2)+1>>0]|0;if(((q&255)+w|0)>>>0>g>>>0)p=c;else break}}x=j[t+(p<<2)+2>>1]|0;s=i[t+(p<<2)>>0]|0;k[I+7108>>2]=w;t=w;g=g-w|0;p=x;e=e>>>w}else{t=0;s=p;q=u;p=v}x=q&255;e=e>>>x;g=g-x|0;k[I+7108>>2]=t+x;k[I+64>>2]=p&65535;p=s&255;if(!(s<<24>>24)){k[I>>2]=25;q=d;break}if(p&32|0){k[I+7108>>2]=-1;k[I>>2]=11;q=d;break}if(!(p&64)){k[I+72>>2]=p&15;k[I>>2]=21;q=p&15;y=219;break}else{k[a+24>>2]=611047;k[I>>2]=29;q=d;break}}while(0);if((y|0)==73){p=k[I+16>>2]|0;if(p&1024){q=k[I+64>>2]|0;u=q>>>0>f>>>0?f:q;if(!u)p=q;else{s=k[I+32>>2]|0;if(s){t=k[s+16>>2]|0;if(t){p=(k[s+20>>2]|0)-q|0;y=k[s+24>>2]|0;ABb(t+p|0,c|0,((p+u|0)>>>0>y>>>0?y-p|0:u)|0)|0;p=k[I+16>>2]|0}}if(p&512|0){y=Vlb(k[I+24>>2]|0,c,u)|0;k[I+24>>2]=y}p=(k[I+64>>2]|0)-u|0;k[I+64>>2]=p;f=f-u|0;c=c+u|0}if(p){y=282;break}}k[I+64>>2]=0;k[I>>2]=6;y=83}else if((y|0)==219){y=0;if(!q)p=k[I+64>>2]|0;else{if(g>>>0>>0){p=c;while(1){if(!f){G=h;F=d;E=g;D=0;B=e;z=p;C=n;A=o;break a}f=f+-1|0;c=p+1|0;e=(l[p>>0]<>>0>>0)p=c;else break}}p=(k[I+64>>2]|0)+((1<>2]=p;k[I+7108>>2]=(k[I+7108>>2]|0)+q;g=g-q|0;e=e>>>q}k[I+7112>>2]=p;k[I>>2]=22;y=226}do if((y|0)==83){if(!(k[I+16>>2]&2048)){p=k[I+32>>2]|0;if(p)k[p+28>>2]=0}else{if(!f){f=0;y=282;break a}else p=0;while(1){t=p+1|0;u=i[c+p>>0]|0;p=k[I+32>>2]|0;if(p|0){q=k[p+28>>2]|0;if(q|0){s=k[I+64>>2]|0;if(s>>>0<(k[p+32>>2]|0)>>>0){k[I+64>>2]=s+1;i[q+s>>0]=u}}}if(u<<24>>24!=0&f>>>0>t>>>0)p=t;else break}if(k[I+16>>2]&512|0){y=Vlb(k[I+24>>2]|0,c,t)|0;k[I+24>>2]=y}f=f-t|0;c=c+t|0;if(u<<24>>24){y=282;break a}}k[I+64>>2]=0;k[I>>2]=7;y=96}else if((y|0)==226){y=0;s=(1<>2])+-1|0;q=s&e;w=k[I+80>>2]|0;p=i[w+(q<<2)+1>>0]|0;if((p&255)>>>0>g>>>0){p=c;while(1){if(!f){G=h;F=d;E=g;D=0;B=e;z=p;C=n;A=o;break a}f=f+-1|0;c=p+1|0;e=(l[p>>0]<>0]|0;if((p&255)>>>0>g>>>0)p=c;else{u=p;v=p&255;q=s&e;break}}}else{u=p;v=p&255}p=i[w+(q<<2)>>0]|0;s=j[w+(q<<2)+2>>1]|0;if(!(p&240)){t=(1<>>v)+(s&65535)|0;q=i[w+(p<<2)+1>>0]|0;if(((q&255)+v|0)>>>0>g>>>0){p=c;while(1){if(!f){G=h;F=d;E=g;D=0;B=e;z=p;C=n;A=o;break a}f=f+-1|0;c=p+1|0;e=(l[p>>0]<>>v)+(s&65535)|0;q=i[w+(p<<2)+1>>0]|0;if(((q&255)+v|0)>>>0>g>>>0)p=c;else break}}s=j[w+(p<<2)+2>>1]|0;p=i[w+(p<<2)>>0]|0;t=(k[I+7108>>2]|0)+v|0;k[I+7108>>2]=t;g=g-v|0;e=e>>>v}else{t=k[I+7108>>2]|0;q=u}x=q&255;e=e>>>x;g=g-x|0;k[I+7108>>2]=t+x;p=p&255;if(!(p&64)){k[I+68>>2]=s&65535;k[I+72>>2]=p&15;k[I>>2]=23;q=p&15;y=238;break}else{k[a+24>>2]=611025;k[I>>2]=29;q=d;break}}while(0);if((y|0)==96){if(!(k[I+16>>2]&4096)){p=k[I+32>>2]|0;if(p)k[p+36>>2]=0}else{if(!f){f=0;y=282;break}else p=0;while(1){t=p+1|0;u=i[c+p>>0]|0;p=k[I+32>>2]|0;if(p|0){q=k[p+36>>2]|0;if(q|0){s=k[I+64>>2]|0;if(s>>>0<(k[p+40>>2]|0)>>>0){k[I+64>>2]=s+1;i[q+s>>0]=u}}}if(u<<24>>24!=0&f>>>0>t>>>0)p=t;else break}if(k[I+16>>2]&512|0){y=Vlb(k[I+24>>2]|0,c,t)|0;k[I+24>>2]=y}f=f-t|0;c=c+t|0;if(u<<24>>24){y=282;break}}k[I>>2]=8;y=109}else if((y|0)==238){y=0;if(q){if(g>>>0>>0){p=c;while(1){if(!f){G=h;F=d;E=g;D=0;B=e;z=p;C=n;A=o;break a}f=f+-1|0;c=p+1|0;e=(l[p>>0]<>>0>>0)p=c;else break}}k[I+68>>2]=(k[I+68>>2]|0)+((1<>2]=(k[I+7108>>2]|0)+q;g=g-q|0;e=e>>>q}k[I>>2]=24;y=244}do if((y|0)==109){y=0;q=k[I+16>>2]|0;if(q&512){if(g>>>0<16){p=c;while(1){if(!f){G=h;F=d;E=g;D=0;B=e;z=p;C=n;A=o;break a}f=f+-1|0;c=p+1|0;e=(l[p>>0]<>>0<16)p=c;else break}}if((e|0)==(k[I+24>>2]&65535|0)){g=0;e=0}else{k[a+24>>2]=609800;k[I>>2]=29;q=d;break}}p=k[I+32>>2]|0;if(p|0){k[p+44>>2]=q>>>9&1;k[p+48>>2]=1}q=Vlb(0,0,0)|0;k[I+24>>2]=q;k[a+48>>2]=q;k[I>>2]=11;q=d}else if((y|0)==244){y=0;if(!d){d=0;y=282;break a}p=n-d|0;s=k[I+68>>2]|0;if(s>>>0>p>>>0){if((s-p|0)>>>0>(k[I+44>>2]|0)>>>0)if(k[I+7104>>2]|0){k[a+24>>2]=610995;k[I>>2]=29;q=d;break}q=k[I+48>>2]|0;if((s-p|0)>>>0>q>>>0){t=s-p-q|0;p=(k[I+52>>2]|0)+((k[I+40>>2]|0)-(s-p-q))|0}else{t=s-p|0;p=(k[I+52>>2]|0)+(q-(s-p))|0}q=k[I+64>>2]|0;u=q;q=t>>>0>q>>>0?q:t}else{q=k[I+64>>2]|0;u=q;p=h+(0-s)|0}t=q>>>0>d>>>0?d:q;k[I+64>>2]=u-t;s=t;q=h;while(1){h=q+1|0;i[q>>0]=i[p>>0]|0;s=s+-1|0;if(!s)break;else{p=p+1|0;q=h}}d=d-t|0;if(!(k[I+64>>2]|0)){k[I>>2]=20;q=d}else q=d}while(0);p=k[I>>2]|0;d=q}if((y|0)==122){k[a+12>>2]=h;k[a+16>>2]=d;k[a>>2]=c;k[a+4>>2]=f;k[I+56>>2]=e;k[I+60>>2]=g;a=2;r=J;return a|0}else if((y|0)==133){G=h;F=d;E=p+-3|0;D=f;B=e>>>3;z=c;C=n;A=g}else if((y|0)!=136)if((y|0)==281){k[I>>2]=28;G=h;F=d;E=g;D=f;B=e;z=c;C=n;A=1}else if((y|0)==282){G=h;F=d;E=g;D=f;B=e;z=c;C=n;A=o}else if((y|0)==296){a=-4;r=J;return a|0}else if((y|0)==297){r=J;return c|0}k[a+12>>2]=G;k[a+16>>2]=F;k[a>>2]=z;k[a+4>>2]=D;k[I+56>>2]=B;k[I+60>>2]=E;if(!(k[I+40>>2]|0))if((C|0)==(F|0)){g=D;f=F}else{c=k[I>>2]|0;if(c>>>0<29)if((b|0)!=4|c>>>0<26)y=287;else{g=D;f=F}else{g=D;f=F}}else y=287;do if((y|0)==287){if(!(Flb(a,G,C-F|0)|0)){g=k[a+4>>2]|0;f=k[a+16>>2]|0;break}k[I>>2]=30;a=-4;r=J;return a|0}while(0);c=C-f|0;k[a+8>>2]=H-g+(k[a+8>>2]|0);k[a+20>>2]=(k[a+20>>2]|0)+c;k[I+28>>2]=(k[I+28>>2]|0)+c;if((C|0)!=(f|0)&(k[I+8>>2]|0)!=0){d=k[I+24>>2]|0;e=(k[a+12>>2]|0)+(0-c)|0;if(!(k[I+16>>2]|0))c=Ulb(d,e,c)|0;else c=Vlb(d,e,c)|0;k[I+24>>2]=c;k[a+48>>2]=c}G=k[I>>2]|0;k[a+44>>2]=(k[I+4>>2]|0?64:0)+(k[I+60>>2]|0)+((G|0)==11?128:0)+((G|0)==19|(G|0)==14?256:0);a=(A|0)==0&((b|0)==4|(H|0)==(g|0)&(C|0)==(f|0))?-5:A;r=J;return a|0}function Flb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=k[a+28>>2]|0;d=k[e+52>>2]|0;if(!d){d=Ri[k[a+32>>2]&255](k[a+40>>2]|0,1<>2],1)|0;k[e+52>>2]=d;if(!d){c=1;return c|0}}a=k[e+40>>2]|0;if(!a){a=1<>2];k[e+40>>2]=a;k[e+48>>2]=0;k[e+44>>2]=0}if(a>>>0<=c>>>0){ABb(d|0,b+(0-a)|0,a|0)|0;k[e+48>>2]=0;k[e+44>>2]=k[e+40>>2];c=0;return c|0}f=k[e+48>>2]|0;a=a-f|0;a=a>>>0>c>>>0?c:a;ABb(d+f|0,b+(0-c)|0,a|0)|0;if((a|0)!=(c|0)){ABb(k[e+52>>2]|0,b+(0-(c-a))|0,c-a|0)|0;k[e+48>>2]=c-a;k[e+44>>2]=k[e+40>>2];f=0;return f|0}d=(k[e+48>>2]|0)+c|0;f=k[e+40>>2]|0;k[e+48>>2]=(d|0)==(f|0)?0:d;d=k[e+44>>2]|0;if(d>>>0>=f>>>0){f=0;return f|0}k[e+44>>2]=d+c;f=0;return f|0}function Glb(a){a=a|0;var b=0,c=0,d=0;if(!a){a=-2;return a|0}b=k[a+28>>2]|0;if(!b){a=-2;return a|0}c=k[a+36>>2]|0;if(!c){a=-2;return a|0}d=k[b+52>>2]|0;if(d){Di[c&511](k[a+40>>2]|0,d);c=k[a+36>>2]|0;b=k[a+28>>2]|0}Di[c&511](k[a+40>>2]|0,b);k[a+28>>2]=0;a=0;return a|0}function Hlb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,l=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;F=r;r=r+64|0;g=F+32|0;h=g+32|0;do{j[g>>1]=0;g=g+2|0}while((g|0)<(h|0));if(!c){g=k[e>>2]|0;E=5}else{g=0;do{E=F+32+(m[b+(g<<1)>>1]<<1)|0;j[E>>1]=(j[E>>1]|0)+1<<16>>16;g=g+1|0}while((g|0)!=(c|0));h=j[F+32+30>>1]|0;g=k[e>>2]|0;if(!(h<<16>>16))E=5;else{n=15;E=7}}do if((E|0)==5)if(!(j[F+32+28>>1]|0))if(!(j[F+32+26>>1]|0))if(!(j[F+32+24>>1]|0))if(!(j[F+32+22>>1]|0))if(!(j[F+32+20>>1]|0))if(!(j[F+32+18>>1]|0))if(!(j[F+32+16>>1]|0))if(!(j[F+32+14>>1]|0))if(!(j[F+32+12>>1]|0))if(!(j[F+32+10>>1]|0))if(!(j[F+32+8>>1]|0))if(!(j[F+32+6>>1]|0))if(!(j[F+32+4>>1]|0)){if(j[F+32+2>>1]|0){h=0;g=g>>>0>1?1:g;n=1;o=1;break}f=k[d>>2]|0;k[d>>2]=f+4;i[f>>0]=64;i[f+1>>0]=1;j[f+2>>1]=0;f=k[d>>2]|0;k[d>>2]=f+4;i[f>>0]=64;i[f+1>>0]=1;j[f+2>>1]=0;k[e>>2]=1;d=0;r=F;return d|0}else{h=0;n=2;E=7}else{h=0;n=3;E=7}else{h=0;n=4;E=7}else{h=0;n=5;E=7}else{h=0;n=6;E=7}else{h=0;n=7;E=7}else{h=0;n=8;E=7}else{h=0;n=9;E=7}else{h=0;n=10;E=7}else{h=0;n=11;E=7}else{h=0;n=12;E=7}else{h=0;n=13;E=7}else{h=0;n=14;E=7}while(0);a:do if((E|0)==7){g=g>>>0>n>>>0?n:g;l=1;while(1){if(j[F+32+(l<<1)>>1]|0){o=l;break a}l=l+1|0;if(l>>>0>=n>>>0){o=l;break}}}while(0);D=g>>>0>>0?o:g;l=j[F+32+2>>1]|0;if((2-(l&65535)|0)<0){d=-1;r=F;return d|0}g=(2-(l&65535)<<1)-(m[F+32+4>>1]|0)|0;if((g|0)<0){d=-1;r=F;return d|0}g=(g<<1)-(m[F+32+6>>1]|0)|0;if((g|0)<0){d=-1;r=F;return d|0}g=(g<<1)-(m[F+32+8>>1]|0)|0;if((g|0)<0){d=-1;r=F;return d|0}g=(g<<1)-(m[F+32+10>>1]|0)|0;if((g|0)<0){d=-1;r=F;return d|0}g=(g<<1)-(m[F+32+12>>1]|0)|0;if((g|0)<0){d=-1;r=F;return d|0}g=(g<<1)-(m[F+32+14>>1]|0)|0;if((g|0)<0){d=-1;r=F;return d|0}g=(g<<1)-(m[F+32+16>>1]|0)|0;if((g|0)<0){d=-1;r=F;return d|0}g=(g<<1)-(m[F+32+18>>1]|0)|0;if((g|0)<0){d=-1;r=F;return d|0}g=(g<<1)-(m[F+32+20>>1]|0)|0;if((g|0)<0){d=-1;r=F;return d|0}g=(g<<1)-(m[F+32+22>>1]|0)|0;if((g|0)<0){d=-1;r=F;return d|0}g=(g<<1)-(m[F+32+24>>1]|0)|0;if((g|0)<0){d=-1;r=F;return d|0}g=(g<<1)-(m[F+32+26>>1]|0)|0;if((g|0)<0){d=-1;r=F;return d|0}g=(g<<1)-(m[F+32+28>>1]|0)|0;if((g|0)<0){d=-1;r=F;return d|0}g=(g<<1)-(h&65535)|0;if((g|0)<0){d=-1;r=F;return d|0}if((g|0)>0)if((a|0)==0|(n|0)!=1){d=-1;r=F;return d|0}j[F+2>>1]=0;j[F+4>>1]=l;B=(m[F+32+4>>1]|0)+(l&65535)|0;j[F+6>>1]=B;C=m[F+32+6>>1]|0;j[F+8>>1]=C+B;A=m[F+32+8>>1]|0;j[F+10>>1]=A+(B+C);z=m[F+32+10>>1]|0;j[F+12>>1]=z+(B+C+A);y=m[F+32+12>>1]|0;j[F+14>>1]=y+(B+C+A+z);x=m[F+32+14>>1]|0;j[F+16>>1]=x+(B+C+A+z+y);x=B+C+A+z+y+x|0;y=m[F+32+16>>1]|0;j[F+18>>1]=y+x;z=m[F+32+18>>1]|0;j[F+20>>1]=z+(x+y);A=m[F+32+20>>1]|0;j[F+22>>1]=A+(x+y+z);C=m[F+32+22>>1]|0;j[F+24>>1]=C+(x+y+z+A);B=m[F+32+24>>1]|0;j[F+26>>1]=B+(x+y+z+A+C);B=x+y+z+A+C+B|0;C=m[F+32+26>>1]|0;j[F+28>>1]=C+B;j[F+30>>1]=(m[F+32+28>>1]|0)+(B+C);if(c|0){h=0;do{g=j[b+(h<<1)>>1]|0;if(g<<16>>16){C=j[F+((g&65535)<<1)>>1]|0;j[F+((g&65535)<<1)>>1]=C+1<<16>>16;j[f+((C&65535)<<1)>>1]=h}h=h+1|0}while((h|0)!=(c|0))}switch(a|0){case 0:{y=0;z=0;A=f;B=19;C=f;break}case 1:{if(D>>>0>9){d=1;r=F;return d|0}else{y=0;z=1;A=175486;B=256;C=175612}break}default:if((a|0)==2&D>>>0>9){d=1;r=F;return d|0}else{y=(a|0)==2;z=0;A=175936;B=-1;C=176062}}c=D;x=0;l=0;w=-1;h=k[d>>2]|0;a=0;g=1<>1]|0;do if((c&65535|0)<(B|0))q=0;else{if((c&65535|0)<=(B|0)){q=96;c=0;break}q=j[C+((c&65535)<<1)>>1]&255;c=j[A+((c&65535)<<1)>>1]|0}while(0);o=l>>>x;p=u;do{v=p;p=p-(1<>0]=q;i[h+(G<<2)+1>>0]=t;j[h+(G<<2)+2>>1]=c}while((v|0)!=(1<>>1;if(!c)l=0;else l=(c+-1&l)+c|0;v=a+1|0;q=F+32+(s<<1)|0;G=(j[q>>1]|0)+-1<<16>>16;j[q>>1]=G;if(!(G<<16>>16)){if((s|0)==(n|0))break b;c=m[b+(m[f+(v<<1)>>1]<<1)>>1]|0}else c=s;if(c>>>0<=D>>>0){s=c;a=v;continue}s=l&(1<>>0>>0){o=q;c=q-p|0;a=1<>1]|0)|0;if((a|0)<1)break c;c=c+1|0;o=c+p|0;if(o>>>0>=n>>>0)break;else a=a<<1}}else c=q-p|0;while(0);g=(1<>>0>852|y&g>>>0>592){g=1;E=45;break}x=k[d>>2]|0;i[x+(s<<2)>>0]=c;i[x+(s<<2)+1>>0]=D;j[x+(s<<2)+2>>1]=(h-x|0)>>>2;x=p;o=q;w=s;a=v}if((E|0)==45){r=F;return g|0}if(l|0){i[h+(l<<2)>>0]=64;i[h+(l<<2)+1>>0]=t;j[h+(l<<2)+2>>1]=0}k[d>>2]=(k[d>>2]|0)+(g<<2);k[e>>2]=D;G=0;r=F;return G|0}function Ilb(a){a=a|0;k[a+2840>>2]=a+148;k[a+2848>>2]=139676;k[a+2852>>2]=a+2440;k[a+2860>>2]=139696;k[a+2864>>2]=a+2684;k[a+2872>>2]=139836;j[a+5816>>1]=0;k[a+5820>>2]=0;Jlb(a);return}function Jlb(a){a=a|0;var b=0;b=0;do{j[a+148+(b<<2)>>1]=0;b=b+1|0}while((b|0)!=286);j[a+2440>>1]=0;j[a+2444>>1]=0;j[a+2448>>1]=0;j[a+2452>>1]=0;j[a+2456>>1]=0;j[a+2460>>1]=0;j[a+2464>>1]=0;j[a+2468>>1]=0;j[a+2472>>1]=0;j[a+2476>>1]=0;j[a+2480>>1]=0;j[a+2484>>1]=0;j[a+2488>>1]=0;j[a+2492>>1]=0;j[a+2496>>1]=0;j[a+2500>>1]=0;j[a+2504>>1]=0;j[a+2508>>1]=0;j[a+2512>>1]=0;j[a+2516>>1]=0;j[a+2520>>1]=0;j[a+2524>>1]=0;j[a+2528>>1]=0;j[a+2532>>1]=0;j[a+2536>>1]=0;j[a+2540>>1]=0;j[a+2544>>1]=0;j[a+2548>>1]=0;j[a+2552>>1]=0;j[a+2556>>1]=0;j[a+2684>>1]=0;j[a+2688>>1]=0;j[a+2692>>1]=0;j[a+2696>>1]=0;j[a+2700>>1]=0;j[a+2704>>1]=0;j[a+2708>>1]=0;j[a+2712>>1]=0;j[a+2716>>1]=0;j[a+2720>>1]=0;j[a+2724>>1]=0;j[a+2728>>1]=0;j[a+2732>>1]=0;j[a+2736>>1]=0;j[a+2740>>1]=0;j[a+2744>>1]=0;j[a+2748>>1]=0;j[a+2752>>1]=0;j[a+2756>>1]=0;j[a+1172>>1]=1;k[a+5804>>2]=0;k[a+5800>>2]=0;k[a+5808>>2]=0;k[a+5792>>2]=0;return}function Klb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=k[a+5820>>2]|0;e=m[a+5816>>1]|0|(d&65535)<>1]=e;if((f|0)>13){f=k[a+20>>2]|0;k[a+20>>2]=f+1;i[(k[a+8>>2]|0)+f>>0]=e;e=(m[a+5816>>1]|0)>>>8&255;f=k[a+20>>2]|0;k[a+20>>2]=f+1;i[(k[a+8>>2]|0)+f>>0]=e;f=k[a+5820>>2]|0;j[a+5816>>1]=(d&65535)>>>(16-f|0);e=(d&65535)>>>(16-f|0);d=f+-13|0}else d=f+3|0;e=e&255;k[a+5820>>2]=d;do if((d|0)>8){d=k[a+20>>2]|0;k[a+20>>2]=d+1;i[(k[a+8>>2]|0)+d>>0]=e;d=(m[a+5816>>1]|0)>>>8&255;e=k[a+20>>2]|0;k[a+20>>2]=e+1;i[(k[a+8>>2]|0)+e>>0]=d;e=a+20|0;d=a+8|0}else if((d|0)>0){d=k[a+20>>2]|0;k[a+20>>2]=d+1;i[(k[a+8>>2]|0)+d>>0]=e;e=a+20|0;d=a+8|0;break}else{e=a+20|0;d=a+8|0;break}while(0);j[a+5816>>1]=0;k[a+5820>>2]=0;a=k[e>>2]|0;k[e>>2]=a+1;i[(k[d>>2]|0)+a>>0]=c;a=k[e>>2]|0;k[e>>2]=a+1;i[(k[d>>2]|0)+a>>0]=c>>>8;a=k[e>>2]|0;k[e>>2]=a+1;i[(k[d>>2]|0)+a>>0]=c&65535^65535;a=k[e>>2]|0;k[e>>2]=a+1;i[(k[d>>2]|0)+a>>0]=(c&65535^65535)>>>8;if(!c)return;while(1){c=c+-1|0;f=i[b>>0]|0;a=k[e>>2]|0;k[e>>2]=a+1;i[(k[d>>2]|0)+a>>0]=f;if(!c)break;else b=b+1|0}return}function Llb(a){a=a|0;var b=0,c=0;b=k[a+5820>>2]|0;if((b|0)==16){b=j[a+5816>>1]&255;c=k[a+20>>2]|0;k[a+20>>2]=c+1;i[(k[a+8>>2]|0)+c>>0]=b;c=(m[a+5816>>1]|0)>>>8&255;b=k[a+20>>2]|0;k[a+20>>2]=b+1;i[(k[a+8>>2]|0)+b>>0]=c;j[a+5816>>1]=0;k[a+5820>>2]=0;return}if((b|0)<=7)return;b=j[a+5816>>1]&255;c=k[a+20>>2]|0;k[a+20>>2]=c+1;i[(k[a+8>>2]|0)+c>>0]=b;j[a+5816>>1]=(m[a+5816>>1]|0)>>>8;k[a+5820>>2]=(k[a+5820>>2]|0)+-8;return}function Mlb(a){a=a|0;var b=0,c=0;c=k[a+5820>>2]|0;b=m[a+5816>>1]|0|2<>1]=b;if((c|0)>13){c=k[a+20>>2]|0;k[a+20>>2]=c+1;i[(k[a+8>>2]|0)+c>>0]=b;b=(m[a+5816>>1]|0)>>>8&255;c=k[a+20>>2]|0;k[a+20>>2]=c+1;i[(k[a+8>>2]|0)+c>>0]=b;c=k[a+5820>>2]|0;j[a+5816>>1]=2>>>(16-c|0);b=2>>>(16-c|0);c=c+-13|0}else c=c+3|0;b=b&255;k[a+5820>>2]=c;if((c|0)>9){c=k[a+20>>2]|0;k[a+20>>2]=c+1;i[(k[a+8>>2]|0)+c>>0]=b;c=(m[a+5816>>1]|0)>>>8&255;b=k[a+20>>2]|0;k[a+20>>2]=b+1;i[(k[a+8>>2]|0)+b>>0]=c;j[a+5816>>1]=0;b=0;c=(k[a+5820>>2]|0)+-9|0}else c=c+7|0;k[a+5820>>2]=c;if((c|0)==16){c=k[a+20>>2]|0;k[a+20>>2]=c+1;i[(k[a+8>>2]|0)+c>>0]=b;b=(m[a+5816>>1]|0)>>>8&255;c=k[a+20>>2]|0;k[a+20>>2]=c+1;i[(k[a+8>>2]|0)+c>>0]=b;j[a+5816>>1]=0;k[a+5820>>2]=0;return}if((c|0)<=7)return;c=k[a+20>>2]|0;k[a+20>>2]=c+1;i[(k[a+8>>2]|0)+c>>0]=b;j[a+5816>>1]=(m[a+5816>>1]|0)>>>8;k[a+5820>>2]=(k[a+5820>>2]|0)+-8;return}function Nlb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,r=0;if((k[a+132>>2]|0)>0){h=(k[a>>2]|0)+44|0;if((k[h>>2]|0)==2){e=-201342849;f=0;while(1){if(e&1|0)if(j[a+148+(f<<2)>>1]|0){e=0;break}f=f+1|0;if((f|0)>=32){g=6;break}else e=e>>>1}a:do if((g|0)==6)if(!(j[a+184>>1]|0))if(!(j[a+188>>1]|0))if(!(j[a+200>>1]|0)){e=32;while(1){if(j[a+148+(e<<2)>>1]|0){e=1;break a}e=e+1|0;if((e|0)>=256){e=0;break}}}else e=1;else e=1;else e=1;while(0);k[h>>2]=e}Olb(a,a+2840|0);Olb(a,a+2852|0);n=k[a+2844>>2]|0;q=j[a+150>>1]|0;j[a+148+(n+1<<2)+2>>1]=-1;o=q<<16>>16==0?138:7;p=q<<16>>16==0?3:4;e=0;q=q&65535;r=-1;b:while(1){f=0;do{if((e|0)>(n|0))break b;e=e+1|0;h=j[a+148+(e<<2)+2>>1]|0;f=f+1|0;g=(q|0)==(h&65535|0)}while((f|0)<(o|0)&g);do if((f|0)<(p|0)){r=a+2684+(q<<2)|0;j[r>>1]=(m[r>>1]|0)+f}else if(!q)if((f|0)<11){j[a+2752>>1]=(j[a+2752>>1]|0)+1<<16>>16;break}else{j[a+2756>>1]=(j[a+2756>>1]|0)+1<<16>>16;break}else{if((q|0)!=(r|0)){r=a+2684+(q<<2)|0;j[r>>1]=(j[r>>1]|0)+1<<16>>16}j[a+2748>>1]=(j[a+2748>>1]|0)+1<<16>>16;break}while(0);r=q;o=h<<16>>16==0?138:g?6:7;p=h<<16>>16==0|g?3:4;q=h&65535}n=k[a+2856>>2]|0;q=j[a+2442>>1]|0;j[a+2440+(n+1<<2)+2>>1]=-1;o=q<<16>>16==0?138:7;p=q<<16>>16==0?3:4;e=0;q=q&65535;r=-1;c:while(1){f=0;do{if((e|0)>(n|0))break c;e=e+1|0;h=j[a+2440+(e<<2)+2>>1]|0;f=f+1|0;g=(q|0)==(h&65535|0)}while((f|0)<(o|0)&g);do if((f|0)<(p|0)){r=a+2684+(q<<2)|0;j[r>>1]=(m[r>>1]|0)+f}else if(!q)if((f|0)<11){j[a+2752>>1]=(j[a+2752>>1]|0)+1<<16>>16;break}else{j[a+2756>>1]=(j[a+2756>>1]|0)+1<<16>>16;break}else{if((q|0)!=(r|0)){r=a+2684+(q<<2)|0;j[r>>1]=(j[r>>1]|0)+1<<16>>16}j[a+2748>>1]=(j[a+2748>>1]|0)+1<<16>>16;break}while(0);r=q;o=h<<16>>16==0?138:g?6:7;p=h<<16>>16==0|g?3:4;q=h&65535}Olb(a,a+2864|0);if(!(j[a+2746>>1]|0))if(!(j[a+2690>>1]|0))if(!(j[a+2742>>1]|0))if(!(j[a+2694>>1]|0))if(!(j[a+2738>>1]|0))if(!(j[a+2698>>1]|0))if(!(j[a+2734>>1]|0))if(!(j[a+2702>>1]|0))if(!(j[a+2730>>1]|0))if(!(j[a+2706>>1]|0))if(!(j[a+2726>>1]|0))if(!(j[a+2710>>1]|0))if(!(j[a+2722>>1]|0))if(!(j[a+2714>>1]|0))if(!(j[a+2718>>1]|0))e=(j[a+2686>>1]|0)==0?2:3;else e=4;else e=5;else e=6;else e=7;else e=8;else e=9;else e=10;else e=11;else e=12;else e=13;else e=14;else e=15;else e=16;else e=17;else e=18;q=(e*3|0)+17+(k[a+5800>>2]|0)|0;k[a+5800>>2]=q;f=((k[a+5804>>2]|0)+10|0)>>>3;r=e;e=f>>>0>(q+10|0)>>>3>>>0?(q+10|0)>>>3:f}else{r=0;e=c+5|0;f=c+5|0}do if((b|0)!=0&(c+4|0)>>>0<=e>>>0)Klb(a,b,c,d);else{g=k[a+5820>>2]|0;if((f|0)==(e|0)?1:(k[a+136>>2]|0)==4){e=m[a+5816>>1]|(d+2&65535)<>1]=e;if((g|0)>13){c=k[a+20>>2]|0;k[a+20>>2]=c+1;i[(k[a+8>>2]|0)+c>>0]=e;c=(m[a+5816>>1]|0)>>>8&255;e=k[a+20>>2]|0;k[a+20>>2]=e+1;i[(k[a+8>>2]|0)+e>>0]=c;e=k[a+5820>>2]|0;j[a+5816>>1]=(d+2&65535)>>>(16-e|0);e=e+-13|0}else e=g+3|0;k[a+5820>>2]=e;Plb(a,176188,177340);break}e=m[a+5816>>1]|(d+4&65535)<>1]=e;if((g|0)>13){f=k[a+20>>2]|0;k[a+20>>2]=f+1;i[(k[a+8>>2]|0)+f>>0]=e;e=(m[a+5816>>1]|0)>>>8&255;f=k[a+20>>2]|0;k[a+20>>2]=f+1;i[(k[a+8>>2]|0)+f>>0]=e;f=k[a+5820>>2]|0;j[a+5816>>1]=(d+4&65535)>>>(16-f|0);e=(d+4&65535)>>>(16-f|0);f=f+-13|0}else f=g+3|0;k[a+5820>>2]=f;p=k[a+2844>>2]|0;q=k[a+2856>>2]|0;e=e&65535|(p+65280&65535)<>1]=e;if((f|0)>11){f=k[a+20>>2]|0;k[a+20>>2]=f+1;i[(k[a+8>>2]|0)+f>>0]=e;f=(m[a+5816>>1]|0)>>>8&255;e=k[a+20>>2]|0;k[a+20>>2]=e+1;i[(k[a+8>>2]|0)+e>>0]=f;e=k[a+5820>>2]|0;j[a+5816>>1]=(p+65280&65535)>>>(16-e|0);f=e+-11|0;e=(p+65280&65535)>>>(16-e|0)}else f=f+5|0;k[a+5820>>2]=f;e=(q&65535)<>1]=e;if((f|0)>11){g=k[a+20>>2]|0;k[a+20>>2]=g+1;i[(k[a+8>>2]|0)+g>>0]=e;g=(m[a+5816>>1]|0)>>>8&255;e=k[a+20>>2]|0;k[a+20>>2]=e+1;i[(k[a+8>>2]|0)+e>>0]=g;e=k[a+5820>>2]|0;j[a+5816>>1]=(q&65535)>>>(16-e|0);g=e+-11|0;e=(q&65535)>>>(16-e|0)}else g=f+5|0;k[a+5820>>2]=g;f=r+65533&65535;e=f<>1]=e;if((g|0)>12){n=k[a+20>>2]|0;k[a+20>>2]=n+1;i[(k[a+8>>2]|0)+n>>0]=e;n=(m[a+5816>>1]|0)>>>8&255;e=k[a+20>>2]|0;k[a+20>>2]=e+1;i[(k[a+8>>2]|0)+e>>0]=n;e=k[a+5820>>2]|0;j[a+5816>>1]=f>>>(16-e|0);n=a+8|0;o=a+20|0;f=f>>>(16-e|0);e=e+-12|0}else{n=a+8|0;o=a+20|0;f=e;e=g+4|0}k[a+5820>>2]=e;h=0;while(1){g=m[a+2684+(l[610854+h>>0]<<2)+2>>1]|0;f=g<>1]=f;if((e|0)>13){e=k[o>>2]|0;k[o>>2]=e+1;i[(k[n>>2]|0)+e>>0]=f;f=(m[a+5816>>1]|0)>>>8&255;e=k[o>>2]|0;k[o>>2]=e+1;i[(k[n>>2]|0)+e>>0]=f;e=k[a+5820>>2]|0;j[a+5816>>1]=g>>>(16-e|0);f=g>>>(16-e|0);e=e+-13|0}else e=e+3|0;k[a+5820>>2]=e;if((h|0)==(r|0))break;else h=h+1|0}Qlb(a,a+148|0,p);Qlb(a,a+2440|0,q);Plb(a,a+148|0,a+2440|0)}while(0);Jlb(a);if(!d)return;e=k[a+5820>>2]|0;if((e|0)>8){e=j[a+5816>>1]&255;d=k[a+20>>2]|0;k[a+20>>2]=d+1;i[(k[a+8>>2]|0)+d>>0]=e;d=(m[a+5816>>1]|0)>>>8&255;e=k[a+20>>2]|0;k[a+20>>2]=e+1;i[(k[a+8>>2]|0)+e>>0]=d;e=a+5816|0}else if((e|0)>0){d=j[a+5816>>1]&255;e=k[a+20>>2]|0;k[a+20>>2]=e+1;i[(k[a+8>>2]|0)+e>>0]=d;e=a+5816|0}else e=a+5816|0;j[e>>1]=0;k[a+5820>>2]=0;return}function Olb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0;v=r;r=r+32|0;u=k[b>>2]|0;s=k[b+8>>2]|0;f=k[s>>2]|0;s=k[s+12>>2]|0;k[a+5200>>2]=0;k[a+5204>>2]=573;if((s|0)>0){d=-1;c=0;do{if(!(j[u+(c<<2)>>1]|0))j[u+(c<<2)+2>>1]=0;else{d=(k[a+5200>>2]|0)+1|0;k[a+5200>>2]=d;k[a+2908+(d<<2)>>2]=c;i[a+5208+c>>0]=0;d=c}c=c+1|0}while((c|0)!=(s|0));c=k[a+5200>>2]|0;if((c|0)<2)e=3;else t=d}else{c=0;d=-1;e=3}if((e|0)==3)if(!f){do{q=(d|0)<2;t=d+1|0;d=q?t:d;t=q?t:0;c=c+1|0;k[a+5200>>2]=c;k[a+2908+(c<<2)>>2]=t;j[u+(t<<2)>>1]=1;i[a+5208+t>>0]=0;k[a+5800>>2]=(k[a+5800>>2]|0)+-1;c=k[a+5200>>2]|0}while((c|0)<2);t=d}else{do{q=(d|0)<2;t=d+1|0;d=q?t:d;t=q?t:0;c=c+1|0;k[a+5200>>2]=c;k[a+2908+(c<<2)>>2]=t;j[u+(t<<2)>>1]=1;i[a+5208+t>>0]=0;k[a+5800>>2]=(k[a+5800>>2]|0)+-1;k[a+5804>>2]=(k[a+5804>>2]|0)-(m[f+(t<<2)+2>>1]|0);c=k[a+5200>>2]|0}while((c|0)<2);t=d}k[b+4>>2]=t;d=c;p=(c|0)/2|0;while(1){o=k[a+2908+(p<<2)>>2]|0;e=p<<1;a:do if((e|0)>(d|0))c=p;else{c=p;while(1){do if((e|0)<(d|0)){d=e|1;f=k[a+2908+(d<<2)>>2]|0;g=j[u+(f<<2)>>1]|0;h=k[a+2908+(e<<2)>>2]|0;n=j[u+(h<<2)>>1]|0;if((g&65535)>=(n&65535)){if(g<<16>>16!=n<<16>>16){g=e;break}if((l[a+5208+f>>0]|0)>(l[a+5208+h>>0]|0)){g=e;break}}g=d}else g=e;while(0);d=j[u+(o<<2)>>1]|0;e=k[a+2908+(g<<2)>>2]|0;f=j[u+(e<<2)>>1]|0;if((d&65535)<(f&65535))break a;if(d<<16>>16==f<<16>>16)if((l[a+5208+o>>0]|0)<=(l[a+5208+e>>0]|0))break a;k[a+2908+(c<<2)>>2]=e;e=g<<1;d=k[a+5200>>2]|0;if((e|0)>(d|0)){c=g;break}else c=g}}while(0);k[a+2908+(c<<2)>>2]=o;if((p|0)<=1)break;d=k[a+5200>>2]|0;p=p+-1|0}c=k[a+5200>>2]|0;do{q=k[a+2912>>2]|0;d=c+-1|0;k[a+5200>>2]=d;o=k[a+2908+(c<<2)>>2]|0;k[a+2912>>2]=o;b:do if((c|0)<3)c=1;else{c=1;n=2;while(1){do if((n|0)<(d|0)){d=n|1;e=k[a+2908+(d<<2)>>2]|0;f=j[u+(e<<2)>>1]|0;g=k[a+2908+(n<<2)>>2]|0;h=j[u+(g<<2)>>1]|0;if((f&65535)>=(h&65535)){if(f<<16>>16!=h<<16>>16){g=n;break}if((l[a+5208+e>>0]|0)>(l[a+5208+g>>0]|0)){g=n;break}}g=d}else g=n;while(0);d=j[u+(o<<2)>>1]|0;e=k[a+2908+(g<<2)>>2]|0;f=j[u+(e<<2)>>1]|0;if((d&65535)<(f&65535))break b;if(d<<16>>16==f<<16>>16)if((l[a+5208+o>>0]|0)<=(l[a+5208+e>>0]|0))break b;k[a+2908+(c<<2)>>2]=e;n=g<<1;d=k[a+5200>>2]|0;if((n|0)>(d|0)){c=g;break}else c=g}}while(0);k[a+2908+(c<<2)>>2]=o;n=k[a+2912>>2]|0;o=(k[a+5204>>2]|0)+-1|0;k[a+5204>>2]=o;k[a+2908+(o<<2)>>2]=q;o=(k[a+5204>>2]|0)+-1|0;k[a+5204>>2]=o;k[a+2908+(o<<2)>>2]=n;o=u+(s<<2)|0;j[o>>1]=(m[u+(n<<2)>>1]|0)+(m[u+(q<<2)>>1]|0);d=i[a+5208+q>>0]|0;h=i[a+5208+n>>0]|0;p=a+5208+s|0;i[p>>0]=(((d&255)<(h&255)?h:d)&255)+1;d=s&65535;j[u+(n<<2)+2>>1]=d;j[u+(q<<2)+2>>1]=d;k[a+2912>>2]=s;d=k[a+5200>>2]|0;c:do if((d|0)<2)c=1;else{c=1;n=2;while(1){do if((n|0)<(d|0)){d=n|1;e=k[a+2908+(d<<2)>>2]|0;f=j[u+(e<<2)>>1]|0;g=k[a+2908+(n<<2)>>2]|0;h=j[u+(g<<2)>>1]|0;if((f&65535)>=(h&65535)){if(f<<16>>16!=h<<16>>16){g=n;break}if((l[a+5208+e>>0]|0)>(l[a+5208+g>>0]|0)){g=n;break}}g=d}else g=n;while(0);d=j[o>>1]|0;e=k[a+2908+(g<<2)>>2]|0;f=j[u+(e<<2)>>1]|0;if((d&65535)<(f&65535))break c;if(d<<16>>16==f<<16>>16)if((l[p>>0]|0)<=(l[a+5208+e>>0]|0))break c;k[a+2908+(c<<2)>>2]=e;n=g<<1;d=k[a+5200>>2]|0;if((n|0)>(d|0)){c=g;break}else c=g}}while(0);k[a+2908+(c<<2)>>2]=s;s=s+1|0;c=k[a+5200>>2]|0}while((c|0)>1);s=k[a+2912>>2]|0;q=(k[a+5204>>2]|0)+-1|0;k[a+5204>>2]=q;k[a+2908+(q<<2)>>2]=s;q=k[b>>2]|0;s=k[b+4>>2]|0;p=k[b+8>>2]|0;h=k[p>>2]|0;n=k[p+4>>2]|0;o=k[p+8>>2]|0;p=k[p+16>>2]|0;c=a+2876|0;d=c+32|0;do{j[c>>1]=0;c=c+2|0}while((c|0)<(d|0));c=k[a+5204>>2]|0;j[q+(k[a+2908+(c<<2)>>2]<<2)+2>>1]=0;d:do if((c+1|0)<573){if(!h){g=c+1|0;c=0;do{f=k[a+2908+(g<<2)>>2]|0;b=m[q+(m[q+(f<<2)+2>>1]<<2)+2>>1]|0;e=(b|0)<(p|0)?b+1|0:p;c=((b|0)<(p|0)^1)+c|0;j[q+(f<<2)+2>>1]=e;if((f|0)<=(s|0)){j[a+2876+(e<<1)>>1]=(j[a+2876+(e<<1)>>1]|0)+1<<16>>16;if((f|0)<(o|0))d=0;else d=k[n+(f-o<<2)>>2]|0;b=ha(m[q+(f<<2)>>1]|0,d+e|0)|0;k[a+5800>>2]=b+(k[a+5800>>2]|0)}g=g+1|0}while((g|0)!=573)}else{g=c+1|0;c=0;do{f=k[a+2908+(g<<2)>>2]|0;b=m[q+(m[q+(f<<2)+2>>1]<<2)+2>>1]|0;e=(b|0)<(p|0)?b+1|0:p;c=((b|0)<(p|0)^1)+c|0;j[q+(f<<2)+2>>1]=e;if((f|0)<=(s|0)){j[a+2876+(e<<1)>>1]=(j[a+2876+(e<<1)>>1]|0)+1<<16>>16;if((f|0)<(o|0))d=0;else d=k[n+(f-o<<2)>>2]|0;b=m[q+(f<<2)>>1]|0;e=ha(b,d+e|0)|0;k[a+5800>>2]=e+(k[a+5800>>2]|0);b=ha((m[h+(f<<2)+2>>1]|0)+d|0,b)|0;k[a+5804>>2]=b+(k[a+5804>>2]|0)}g=g+1|0}while((g|0)!=573)}if(c|0){while(1){d=p;while(1){f=d+-1|0;e=j[a+2876+(f<<1)>>1]|0;if(!(e<<16>>16))d=f;else break}j[a+2876+(f<<1)>>1]=e+-1<<16>>16;j[a+2876+(d<<1)>>1]=(m[a+2876+(d<<1)>>1]|0)+2;d=(j[a+2876+(p<<1)>>1]|0)+-1<<16>>16;j[a+2876+(p<<1)>>1]=d;if((c|0)>2)c=c+-2|0;else break}if(p|0){c=p;e=573;while(1){h=c&65535;if(d<<16>>16){g=d&65535;do{do{e=e+-1|0;d=k[a+2908+(e<<2)>>2]|0}while((d|0)>(s|0));f=m[q+(d<<2)+2>>1]|0;if((c|0)!=(f|0)){b=ha(m[q+(d<<2)>>1]|0,c-f|0)|0;k[a+5800>>2]=b+(k[a+5800>>2]|0);j[q+(d<<2)+2>>1]=h}g=g+-1|0}while((g|0)!=0)}c=c+-1|0;if(!c)break d;d=j[a+2876+(c<<1)>>1]|0}}}}while(0);c=1;d=0;do{d=(m[a+2876+(c+-1<<1)>>1]|0)+(d&65534)<<1;j[v+(c<<1)>>1]=d;c=c+1|0}while((c|0)!=16);if((t|0)<0){r=v;return}else f=0;while(1){c=j[u+(f<<2)+2>>1]|0;if(c<<16>>16){e=j[v+((c&65535)<<1)>>1]|0;j[v+((c&65535)<<1)>>1]=e+1<<16>>16;d=c&65535;e=e&65535;c=0;while(1){c=c|e&1;if((d|0)>1){d=d+-1|0;e=e>>>1;c=c<<1}else break}j[u+(f<<2)>>1]=c}if((f|0)==(t|0))break;else f=f+1|0}r=v;return}function Plb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0;if(!(k[a+5792>>2]|0)){h=a+5816|0;n=a+5820|0;g=k[a+5820>>2]|0;d=j[a+5816>>1]|0}else{p=0;do{o=j[(k[a+5796>>2]|0)+(p<<1)>>1]|0;n=l[(k[a+5784>>2]|0)+p>>0]|0;p=p+1|0;if(!(o<<16>>16)){f=m[b+(n<<2)+2>>1]|0;g=k[a+5820>>2]|0;d=m[b+(n<<2)>>1]|0;e=m[a+5816>>1]|0|d<>1]=e;if((g|0)>(16-f|0)){o=k[a+20>>2]|0;k[a+20>>2]=o+1;i[(k[a+8>>2]|0)+o>>0]=e;e=(m[a+5816>>1]|0)>>>8&255;o=k[a+20>>2]|0;k[a+20>>2]=o+1;i[(k[a+8>>2]|0)+o>>0]=e;o=k[a+5820>>2]|0;j[a+5816>>1]=d>>>(16-o|0);e=d>>>(16-o|0)&65535;d=f+-16+o|0}else{e=e&65535;d=g+f|0}k[a+5820>>2]=d}else{h=l[610598+n>>0]|0;f=m[b+((h|256)+1<<2)+2>>1]|0;g=k[a+5820>>2]|0;d=m[b+((h|256)+1<<2)>>1]|0;e=m[a+5816>>1]|0|d<>1]=e;if((g|0)>(16-f|0)){g=k[a+20>>2]|0;k[a+20>>2]=g+1;i[(k[a+8>>2]|0)+g>>0]=e;e=(m[a+5816>>1]|0)>>>8&255;g=k[a+20>>2]|0;k[a+20>>2]=g+1;i[(k[a+8>>2]|0)+g>>0]=e;g=k[a+5820>>2]|0;j[a+5816>>1]=d>>>(16-g|0);e=d>>>(16-g|0)&65535;d=f+-16+g|0}else{e=e&65535;d=g+f|0}k[a+5820>>2]=d;g=k[31980+(h<<2)>>2]|0;if((h+-8|0)>>>0<20){f=n-(k[139932+(h<<2)>>2]|0)&65535;e=f<>1]=e;if((d|0)>(16-g|0)){d=k[a+20>>2]|0;k[a+20>>2]=d+1;i[(k[a+8>>2]|0)+d>>0]=e;e=(m[a+5816>>1]|0)>>>8&255;d=k[a+20>>2]|0;k[a+20>>2]=d+1;i[(k[a+8>>2]|0)+d>>0]=e;d=k[a+5820>>2]|0;j[a+5816>>1]=f>>>(16-d|0);e=f>>>(16-d|0)&65535;d=g+-16+d|0}else{e=e&65535;d=d+g|0}k[a+5820>>2]=d}h=l[610086+(((o&65535)+-1|0)>>>0<256?(o&65535)+-1|0:(((o&65535)+-1|0)>>>7)+256|0)>>0]|0;f=m[c+(h<<2)+2>>1]|0;g=m[c+(h<<2)>>1]|0;e=e&65535|g<>1]=e;if((d|0)>(16-f|0)){d=k[a+20>>2]|0;k[a+20>>2]=d+1;i[(k[a+8>>2]|0)+d>>0]=e;d=(m[a+5816>>1]|0)>>>8&255;e=k[a+20>>2]|0;k[a+20>>2]=e+1;i[(k[a+8>>2]|0)+e>>0]=d;e=k[a+5820>>2]|0;j[a+5816>>1]=g>>>(16-e|0);d=f+-16+e|0;e=g>>>(16-e|0)&65535}else{d=d+f|0;e=e&65535}k[a+5820>>2]=d;g=k[139716+(h<<2)>>2]|0;if((h+-4|0)>>>0<26){f=(o&65535)+-1-(k[140048+(h<<2)>>2]|0)&65535;e=f<>1]=e;if((d|0)>(16-g|0)){d=k[a+20>>2]|0;k[a+20>>2]=d+1;i[(k[a+8>>2]|0)+d>>0]=e;e=(m[a+5816>>1]|0)>>>8&255;d=k[a+20>>2]|0;k[a+20>>2]=d+1;i[(k[a+8>>2]|0)+d>>0]=e;d=k[a+5820>>2]|0;j[a+5816>>1]=f>>>(16-d|0);e=f>>>(16-d|0)&65535;d=g+-16+d|0}else{e=e&65535;d=d+g|0}k[a+5820>>2]=d}}}while(p>>>0<(k[a+5792>>2]|0)>>>0);h=a+5816|0;n=a+5820|0;g=d;d=e}f=m[b+1026>>1]|0;e=m[b+1024>>1]|0;d=d&65535|e<>1]=d;if((g|0)>(16-f|0)){p=k[a+20>>2]|0;k[a+20>>2]=p+1;i[(k[a+8>>2]|0)+p>>0]=d;p=(m[h>>1]|0)>>>8&255;b=k[a+20>>2]|0;k[a+20>>2]=b+1;i[(k[a+8>>2]|0)+b>>0]=p;a=k[n>>2]|0;j[h>>1]=e>>>(16-a|0);a=f+-16+a|0;k[n>>2]=a;return}else{a=g+f|0;k[n>>2]=a;return}}function Qlb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0,n=0,o=0,p=0,q=0,r=0;r=j[b+2>>1]|0;f=r<<16>>16==0?138:7;g=r<<16>>16==0?3:4;d=0;r=r&65535;h=-1;a:while(1){e=0;while(1){if((d|0)>(c|0))break a;o=d+1|0;q=j[b+(o<<2)+2>>1]|0;l=e+1|0;p=(r|0)==(q&65535|0);if((l|0)<(f|0)&p){e=l;d=o}else{n=e;break}}do if((l|0)<(g|0)){h=a+2684+(r<<2)+2|0;n=a+2684+(r<<2)|0;d=k[a+5820>>2]|0;e=j[a+5816>>1]|0;do{g=m[h>>1]|0;f=m[n>>1]|0;e=e&65535|f<>1]=e;if((d|0)>(16-g|0)){d=k[a+20>>2]|0;k[a+20>>2]=d+1;i[(k[a+8>>2]|0)+d>>0]=e;e=(m[a+5816>>1]|0)>>>8&255;d=k[a+20>>2]|0;k[a+20>>2]=d+1;i[(k[a+8>>2]|0)+d>>0]=e;d=k[a+5820>>2]|0;j[a+5816>>1]=f>>>(16-d|0);e=f>>>(16-d|0)&65535;d=g+-16+d|0}else{e=e&65535;d=d+g|0}k[a+5820>>2]=d;l=l+-1|0}while((l|0)!=0)}else{if(r|0){if((r|0)==(h|0)){e=j[a+5816>>1]|0;h=k[a+5820>>2]|0}else{f=m[a+2684+(r<<2)+2>>1]|0;g=k[a+5820>>2]|0;d=m[a+2684+(r<<2)>>1]|0;e=m[a+5816>>1]|0|d<>1]=e;if((g|0)>(16-f|0)){l=k[a+20>>2]|0;k[a+20>>2]=l+1;i[(k[a+8>>2]|0)+l>>0]=e;e=(m[a+5816>>1]|0)>>>8&255;l=k[a+20>>2]|0;k[a+20>>2]=l+1;i[(k[a+8>>2]|0)+l>>0]=e;l=k[a+5820>>2]|0;j[a+5816>>1]=d>>>(16-l|0);e=d>>>(16-l|0)&65535;d=f+-16+l|0}else{e=e&65535;d=g+f|0}k[a+5820>>2]=d;h=d;l=n}f=m[a+2750>>1]|0;g=m[a+2748>>1]|0;d=e&65535|g<>1]=d;if((h|0)>(16-f|0)){n=k[a+20>>2]|0;k[a+20>>2]=n+1;i[(k[a+8>>2]|0)+n>>0]=d;n=(m[a+5816>>1]|0)>>>8&255;d=k[a+20>>2]|0;k[a+20>>2]=d+1;i[(k[a+8>>2]|0)+d>>0]=n;d=k[a+5820>>2]|0;j[a+5816>>1]=g>>>(16-d|0);f=f+-16+d|0;d=g>>>(16-d|0)}else f=h+f|0;k[a+5820>>2]=f;e=l+65533&65535;d=d&65535|e<>1]=d;if((f|0)>14){n=k[a+20>>2]|0;k[a+20>>2]=n+1;i[(k[a+8>>2]|0)+n>>0]=d;n=(m[a+5816>>1]|0)>>>8&255;d=k[a+20>>2]|0;k[a+20>>2]=d+1;i[(k[a+8>>2]|0)+d>>0]=n;d=k[a+5820>>2]|0;j[a+5816>>1]=e>>>(16-d|0);d=d+-14|0}else d=f+2|0;k[a+5820>>2]=d;break}if((l|0)<11){e=m[a+2754>>1]|0;f=k[a+5820>>2]|0;g=m[a+2752>>1]|0;d=m[a+5816>>1]|0|g<>1]=d;if((f|0)>(16-e|0)){l=k[a+20>>2]|0;k[a+20>>2]=l+1;i[(k[a+8>>2]|0)+l>>0]=d;l=(m[a+5816>>1]|0)>>>8&255;d=k[a+20>>2]|0;k[a+20>>2]=d+1;i[(k[a+8>>2]|0)+d>>0]=l;d=k[a+5820>>2]|0;j[a+5816>>1]=g>>>(16-d|0);e=e+-16+d|0;d=g>>>(16-d|0)}else e=f+e|0;k[a+5820>>2]=e;d=d&65535|(n+65534&65535)<>1]=d;if((e|0)>13){l=k[a+20>>2]|0;k[a+20>>2]=l+1;i[(k[a+8>>2]|0)+l>>0]=d;l=(m[a+5816>>1]|0)>>>8&255;d=k[a+20>>2]|0;k[a+20>>2]=d+1;i[(k[a+8>>2]|0)+d>>0]=l;d=k[a+5820>>2]|0;j[a+5816>>1]=(n+65534&65535)>>>(16-d|0);d=d+-13|0}else d=e+3|0;k[a+5820>>2]=d;break}else{e=m[a+2758>>1]|0;f=k[a+5820>>2]|0;g=m[a+2756>>1]|0;d=m[a+5816>>1]|0|g<>1]=d;if((f|0)>(16-e|0)){l=k[a+20>>2]|0;k[a+20>>2]=l+1;i[(k[a+8>>2]|0)+l>>0]=d;l=(m[a+5816>>1]|0)>>>8&255;d=k[a+20>>2]|0;k[a+20>>2]=d+1;i[(k[a+8>>2]|0)+d>>0]=l;d=k[a+5820>>2]|0;j[a+5816>>1]=g>>>(16-d|0);e=e+-16+d|0;d=g>>>(16-d|0)}else e=f+e|0;k[a+5820>>2]=e;d=d&65535|(n+65526&65535)<>1]=d;if((e|0)>9){l=k[a+20>>2]|0;k[a+20>>2]=l+1;i[(k[a+8>>2]|0)+l>>0]=d;l=(m[a+5816>>1]|0)>>>8&255;d=k[a+20>>2]|0;k[a+20>>2]=d+1;i[(k[a+8>>2]|0)+d>>0]=l;d=k[a+5820>>2]|0;j[a+5816>>1]=(n+65526&65535)>>>(16-d|0);d=d+-9|0}else d=e+7|0;k[a+5820>>2]=d;break}}while(0);h=r;f=q<<16>>16==0?138:p?6:7;g=q<<16>>16==0|p?3:4;d=o;r=q&65535}return}function Rlb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=r;r=r+64|0;k[f>>2]=c;k[f+4>>2]=d;k[f+12>>2]=a;k[f+16>>2]=k[b>>2];k[f+32>>2]=0;k[f+36>>2]=0;a=Dlb(f,610873,56)|0;if(a|0){e=a;r=f;return e|0}a=Elb(f,4)|0;if((a|0)==1){k[b>>2]=k[f+20>>2];e=Glb(f)|0;r=f;return e|0}Glb(f)|0;switch(a|0){case -5:{e=4;break}case 2:{e=-3;r=f;return e|0}default:{}}if((e|0)==4)if(!(k[f+4>>2]|0)){e=-3;r=f;return e|0}e=a;r=f;return e|0}function Slb(a,b,c){a=a|0;b=b|0;c=c|0;return hqb(ha(c,b)|0)|0}function Tlb(a,b){a=a|0;b=b|0;iqb(b);return}function Ulb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;if((c|0)==1){i=(l[b>>0]|0)+(a&65535)|0;i=i>>>0>65520?i+-65521|0:i;i=((i+(a>>>16)|0)>>>0>65520?i+(a>>>16)+15|0:i+(a>>>16)|0)<<16|i;return i|0}if(!b){i=1;return i|0}if(c>>>0<16){if(!c){c=a&65535;b=a>>>16}else{e=b;d=c;c=a&65535;b=a>>>16;while(1){d=d+-1|0;c=(l[e>>0]|0)+c|0;b=c+b|0;if(!d)break;else e=e+1|0}}i=((b>>>0)%65521|0)<<16|(c>>>0>65520?c+-65521|0:c);return i|0}if(c>>>0>5551){d=a&65535;e=a>>>16;while(1){h=c+-5552|0;f=b;a=347;c=e;while(1){w=(l[f>>0]|0)+d|0;v=w+(l[f+1>>0]|0)|0;u=v+(l[f+2>>0]|0)|0;t=u+(l[f+3>>0]|0)|0;s=t+(l[f+4>>0]|0)|0;r=s+(l[f+5>>0]|0)|0;q=r+(l[f+6>>0]|0)|0;p=q+(l[f+7>>0]|0)|0;o=p+(l[f+8>>0]|0)|0;n=o+(l[f+9>>0]|0)|0;m=n+(l[f+10>>0]|0)|0;k=m+(l[f+11>>0]|0)|0;j=k+(l[f+12>>0]|0)|0;e=j+(l[f+13>>0]|0)|0;g=e+(l[f+14>>0]|0)|0;d=g+(l[f+15>>0]|0)|0;g=w+c+v+u+t+s+r+q+p+o+n+m+k+j+e+g+d|0;a=a+-1|0;if(!a)break;else{f=f+16|0;c=g}}e=b+5552|0;if(h>>>0>5551){b=e;c=h;d=(d>>>0)%65521|0;e=(g>>>0)%65521|0}else{c=(d>>>0)%65521|0;b=(g>>>0)%65521|0;break}}if(h)if(h>>>0>15){d=h;i=14}else{d=h;i=17}}else{d=c;e=b;c=a&65535;b=a>>>16;i=14}if((i|0)==14){a=d+-16|0;f=e+((a&-16)+16)|0;while(1){d=d+-16|0;h=(l[e>>0]|0)+c|0;i=h+(l[e+1>>0]|0)|0;j=i+(l[e+2>>0]|0)|0;k=j+(l[e+3>>0]|0)|0;m=k+(l[e+4>>0]|0)|0;n=m+(l[e+5>>0]|0)|0;o=n+(l[e+6>>0]|0)|0;p=o+(l[e+7>>0]|0)|0;q=p+(l[e+8>>0]|0)|0;r=q+(l[e+9>>0]|0)|0;s=r+(l[e+10>>0]|0)|0;t=s+(l[e+11>>0]|0)|0;u=t+(l[e+12>>0]|0)|0;v=u+(l[e+13>>0]|0)|0;w=v+(l[e+14>>0]|0)|0;c=w+(l[e+15>>0]|0)|0;b=h+b+i+j+k+m+n+o+p+q+r+s+t+u+v+w+c|0;if(d>>>0<=15)break;else e=e+16|0}if((a|0)==(a&-16|0))i=18;else{d=a-(a&-16)|0;e=f;i=17}}if((i|0)==17)while(1){d=d+-1|0;c=(l[e>>0]|0)+c|0;b=c+b|0;if(!d){i=18;break}else{e=e+1|0;i=17}}if((i|0)==18){c=(c>>>0)%65521|0;b=(b>>>0)%65521|0}w=b<<16|c;return w|0}function Vlb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if(!b){e=0;return e|0}a:do if(!c)b=~a;else{d=b;b=~a;while(1){if(!(d&3))break;b=k[140208+(((l[d>>0]|0)^b&255)<<2)>>2]^b>>>8;c=c+-1|0;if(!c)break a;else d=d+1|0}if(c>>>0>31){a=c;e=d;while(1){b=k[e>>2]^b;b=k[142256+((b>>>8&255)<<2)>>2]^k[143280+((b&255)<<2)>>2]^k[141232+((b>>>16&255)<<2)>>2]^k[140208+(b>>>24<<2)>>2]^k[e+4>>2];b=k[142256+((b>>>8&255)<<2)>>2]^k[143280+((b&255)<<2)>>2]^k[141232+((b>>>16&255)<<2)>>2]^k[140208+(b>>>24<<2)>>2]^k[e+8>>2];b=k[142256+((b>>>8&255)<<2)>>2]^k[143280+((b&255)<<2)>>2]^k[141232+((b>>>16&255)<<2)>>2]^k[140208+(b>>>24<<2)>>2]^k[e+12>>2];b=k[142256+((b>>>8&255)<<2)>>2]^k[143280+((b&255)<<2)>>2]^k[141232+((b>>>16&255)<<2)>>2]^k[140208+(b>>>24<<2)>>2]^k[e+16>>2];b=k[142256+((b>>>8&255)<<2)>>2]^k[143280+((b&255)<<2)>>2]^k[141232+((b>>>16&255)<<2)>>2]^k[140208+(b>>>24<<2)>>2]^k[e+20>>2];b=k[142256+((b>>>8&255)<<2)>>2]^k[143280+((b&255)<<2)>>2]^k[141232+((b>>>16&255)<<2)>>2]^k[140208+(b>>>24<<2)>>2]^k[e+24>>2];b=k[142256+((b>>>8&255)<<2)>>2]^k[143280+((b&255)<<2)>>2]^k[141232+((b>>>16&255)<<2)>>2]^k[140208+(b>>>24<<2)>>2]^k[e+28>>2];b=k[142256+((b>>>8&255)<<2)>>2]^k[143280+((b&255)<<2)>>2]^k[141232+((b>>>16&255)<<2)>>2]^k[140208+(b>>>24<<2)>>2];a=a+-32|0;if(a>>>0<=31)break;else e=e+32|0}a=c+-32-(c+-32&-32)|0;d=d+((c+-32&-32)+32)|0}else a=c;if(a>>>0>3){e=a+-4|0;c=a;a=d;while(1){b=k[a>>2]^b;b=k[142256+((b>>>8&255)<<2)>>2]^k[143280+((b&255)<<2)>>2]^k[141232+((b>>>16&255)<<2)>>2]^k[140208+(b>>>24<<2)>>2];c=c+-4|0;if(c>>>0<=3)break;else a=a+4|0}c=e-(e>>>2<<2)|0;d=d+((e>>>2)+1<<2)|0}else c=a;if(c)while(1){b=k[140208+(((l[d>>0]|0)^b&255)<<2)>>2]^b>>>8;c=c+-1|0;if(!c)break;else d=d+1|0}}while(0);e=~b;return e|0}function Wlb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;z=k[a+28>>2]|0;f=(k[a>>2]|0)+-1|0;C=f+((k[a+4>>2]|0)+-5)|0;A=(k[a+12>>2]|0)+-1|0;B=k[a+16>>2]|0;r=k[z+40>>2]|0;s=k[z+44>>2]|0;t=k[z+48>>2]|0;u=k[z+76>>2]|0;v=k[z+80>>2]|0;w=(1<>2])+-1|0;x=(1<>2])+-1|0;y=(k[z+52>>2]|0)+-1|0;d=k[z+60>>2]|0;e=k[z+56>>2]|0;c=A;a:do{if(d>>>0<15){q=f+2|0;g=d+16|0;e=((l[f+1>>0]|0)<>0]|0)<>0]|0;h=j[u+(d<<2)+2>>1]|0;d=l[u+(d<<2)+1>>0]|0;e=e>>>d;d=g-d|0;do if(!(m<<24>>24)){g=h&255;D=7}else{g=m&255;while(1){if(g&16|0){m=h;break}if(g&64|0){D=55;break a}q=(e&(1<>0]|0;h=j[u+(q<<2)+2>>1]|0;q=l[u+(q<<2)+1>>0]|0;e=e>>>q;d=d-q|0;if(!(g<<24>>24)){D=6;break}else g=g&255}if((D|0)==6){g=h&255;D=7;break}if(!(g&15)){n=e;h=m&65535}else{if(d>>>0<(g&15)>>>0){f=f+1|0;h=d+8|0;e=((l[f>>0]|0)<>>(g&15);h=(e&(1<<(g&15))+-1)+(m&65535)|0}if(d>>>0<15){q=f+2|0;m=d+16|0;d=((l[f+1>>0]|0)<>0]|0)<>1]|0;p=l[v+(q<<2)+1>>0]|0;e=d>>>p;d=m-p|0;m=l[v+(q<<2)>>0]|0;if(!(m&16))do{if(m&64|0){D=52;break a}m=(e&(1<>1]|0;q=l[v+(m<<2)+1>>0]|0;e=e>>>q;d=d-q|0;m=l[v+(m<<2)>>0]|0}while((m&16|0)==0);n=g&65535;o=m&15;if(d>>>0>>0){m=f+1|0;e=((l[m>>0]|0)<>>0>>0){f=f+2|0;d=d+16|0;e=((l[f>>0]|0)<>>o;d=d-o|0;p=c;if(q>>>0<=(p-(A+(B-b))|0)>>>0){g=c+(0-q)|0;n=c;while(1){i[n+1>>0]=i[g+1>>0]|0;i[n+2>>0]=i[g+2>>0]|0;m=g+3|0;c=n+3|0;i[c>>0]=i[m>>0]|0;h=h+-3|0;if(h>>>0>2){g=m;n=c}else break}if(!h)break;i[n+4>>0]=i[g+4>>0]|0;if(h>>>0<=1){c=n+4|0;break}i[n+5>>0]=i[g+5>>0]|0;c=n+5|0;break}g=q-(p-(A+(B-b)))|0;if(g>>>0>s>>>0)if(k[z+7104>>2]|0){D=22;break a}do if(!t)if(h>>>0>g>>>0){h=h-g|0;n=y+(r-g)|0;m=c;do{n=n+1|0;m=m+1|0;i[m>>0]=i[n>>0]|0;g=g+-1|0}while((g|0)!=0);c=c+(A+(B-b))+(q-p)|0;g=c+(0-q)|0}else g=y+(r-g)|0;else{if(t>>>0>=g>>>0){if(h>>>0<=g>>>0){g=y+(t-g)|0;break}h=h-g|0;n=y+(t-g)|0;m=c;do{n=n+1|0;m=m+1|0;i[m>>0]=i[n>>0]|0;g=g+-1|0}while((g|0)!=0);c=c+(A+(B-b))+(q-p)|0;g=c+(0-q)|0;break}if(h>>>0>(g-t|0)>>>0){h=h-(g-t)|0;n=y+(t+r-g)|0;g=g-t|0;m=c;do{n=n+1|0;m=m+1|0;i[m>>0]=i[n>>0]|0;g=g+-1|0}while((g|0)!=0);o=c+(A+(B-b)-t)+(q-p)|0;if(h>>>0>t>>>0){m=y;n=t;g=o;do{m=m+1|0;g=g+1|0;i[g>>0]=i[m>>0]|0;n=n+-1|0}while((n|0)!=0);c=c+(A+(B-b))+(q-p)|0;g=c+(0-q)|0;h=h-t|0}else{g=y;c=o}}else g=y+(t+r-g)|0}while(0);if(h>>>0>2)do{i[c+1>>0]=i[g+1>>0]|0;i[c+2>>0]=i[g+2>>0]|0;g=g+3|0;c=c+3|0;i[c>>0]=i[g>>0]|0;h=h+-3|0}while(h>>>0>2);if(h){m=c+1|0;i[m>>0]=i[g+1>>0]|0;if(h>>>0>1){c=c+2|0;i[c>>0]=i[g+2>>0]|0}else c=m}}while(0);if((D|0)==7){D=0;c=c+1|0;i[c>>0]=g}}while(c>>>0<(A+(B+-257)|0)>>>0&f>>>0>>0);do if((D|0)==22){k[a+24>>2]=610995;k[z>>2]=29}else if((D|0)==52){k[a+24>>2]=611025;k[z>>2]=29}else if((D|0)==55)if(!(g&32)){k[a+24>>2]=611047;k[z>>2]=29;break}else{k[z>>2]=11;break}while(0);D=d>>>3;b=f+(0-D)|0;D=d-(D<<3)|0;k[a>>2]=b+1;k[a+12>>2]=c+1;k[a+4>>2]=C+5-b;k[a+16>>2]=A+(B+-257)+257-c;k[z+56>>2]=(1<>2]=D;return}function Xlb(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+8>>2]=a;a=hqb((Fnb(k[b+8>>2]|0)|0)+1|0)|0;k[b+4>>2]=a;Pnb(k[b+4>>2]|0,k[b+8>>2]|0)|0;a=Dob(k[b+4>>2]|0,611075)|0;k[b>>2]=a;if(k[b>>2]|0)i[k[b>>2]>>0]=0;a=Dob(k[b+4>>2]|0,611079)|0;k[b>>2]=a;if(k[b>>2]|0)i[k[b>>2]>>0]=0;a=Dob(k[b+4>>2]|0,611083)|0;k[b>>2]=a;if(k[b>>2]|0)i[k[b>>2]>>0]=0;a=Dob(k[b+4>>2]|0,611087)|0;k[b>>2]=a;if(k[b>>2]|0)i[k[b>>2]>>0]=0;do if(Wmb(k[b+4>>2]|0,611093)|0){if(!(Wmb(k[b+4>>2]|0,611131)|0)){k[b+4>>2]=611150;break}if(!(Wmb(k[b+4>>2]|0,611163)|0)){k[b+4>>2]=611184;break}if(!(Wmb(k[b+4>>2]|0,611199)|0)){k[b+4>>2]=611214;break}if(!(Wmb(k[b+4>>2]|0,611229)|0))k[b+4>>2]=611244}else k[b+4>>2]=611115;while(0);do if(Wmb(k[b+4>>2]|0,611259)|0){if(!(Wmb(k[b+4>>2]|0,611273)|0)){k[b+12>>2]=1566;break}if(!(Wmb(k[b+4>>2]|0,611285)|0)){k[b+12>>2]=244;break}if(!(Wmb(k[b+4>>2]|0,611299)|0)){k[b+12>>2]=245;break}if(!(Wmb(k[b+4>>2]|0,611311)|0)){k[b+12>>2]=246;break}if(!(Wmb(k[b+4>>2]|0,611325)|0)){k[b+12>>2]=247;break}if(!(Wmb(k[b+4>>2]|0,611339)|0)){k[b+12>>2]=248;break}if(!(Wmb(k[b+4>>2]|0,611356)|0)){k[b+12>>2]=1;break}if(!(Wmb(k[b+4>>2]|0,611379)|0)){k[b+12>>2]=13;break}if(!(Wmb(k[b+4>>2]|0,611405)|0)){k[b+12>>2]=14;break}if(!(Wmb(k[b+4>>2]|0,611418)|0)){k[b+12>>2]=15;break}if(!(Wmb(k[b+4>>2]|0,611434)|0)){k[b+12>>2]=5;break}if(!(Wmb(k[b+4>>2]|0,611447)|0)){k[b+12>>2]=249;break}if(!(Wmb(k[b+4>>2]|0,611461)|0)){k[b+12>>2]=115;break}if(!(Wmb(k[b+4>>2]|0,611481)|0)){k[b+12>>2]=116;break}if(!(Wmb(k[b+4>>2]|0,611501)|0)){k[b+12>>2]=117;break}if(!(Wmb(k[b+4>>2]|0,611518)|0)){k[b+12>>2]=118;break}if(!(Wmb(k[b+4>>2]|0,611535)|0)){k[b+12>>2]=1567;break}if(!(Wmb(k[b+4>>2]|0,611547)|0)){k[b+12>>2]=250;break}if(!(Wmb(k[b+4>>2]|0,611560)|0)){k[b+12>>2]=251;break}if(!(Wmb(k[b+4>>2]|0,611576)|0)){k[b+12>>2]=119;break}if(!(Wmb(k[b+4>>2]|0,611599)|0)){k[b+12>>2]=54;break}if(!(Wmb(k[b+4>>2]|0,611612)|0)){k[b+12>>2]=55;break}if(!(Wmb(k[b+4>>2]|0,611628)|0)){k[b+12>>2]=1568;break}if(!(Wmb(k[b+4>>2]|0,611639)|0)){k[b+12>>2]=252;break}if(!(Wmb(k[b+4>>2]|0,611658)|0)){k[b+12>>2]=253;break}if(!(Wmb(k[b+4>>2]|0,611680)|0)){k[b+12>>2]=254;break}if(!(Wmb(k[b+4>>2]|0,611699)|0)){k[b+12>>2]=120;break}if(!(Wmb(k[b+4>>2]|0,611728)|0)){k[b+12>>2]=1569;break}if(!(Wmb(k[b+4>>2]|0,611745)|0)){k[b+12>>2]=121;break}if(!(Wmb(k[b+4>>2]|0,611760)|0)){k[b+12>>2]=122;break}if(!(Wmb(k[b+4>>2]|0,611775)|0)){k[b+12>>2]=394;break}if(!(Wmb(k[b+4>>2]|0,611796)|0)){k[b+12>>2]=123;break}if(!(Wmb(k[b+4>>2]|0,611816)|0)){k[b+12>>2]=124;break}if(!(Wmb(k[b+4>>2]|0,611836)|0)){k[b+12>>2]=125;break}if(!(Wmb(k[b+4>>2]|0,611862)|0)){k[b+12>>2]=6;break}if(!(Wmb(k[b+4>>2]|0,611881)|0)){k[b+12>>2]=28;break}if(!(Wmb(k[b+4>>2]|0,611893)|0)){k[b+12>>2]=2;break}if(!(Wmb(k[b+4>>2]|0,611905)|0)){k[b+12>>2]=3;break}if(!(Wmb(k[b+4>>2]|0,611917)|0)){k[b+12>>2]=1;break}if(!(Wmb(k[b+4>>2]|0,611929)|0)){k[b+12>>2]=255;break}if(!(Wmb(k[b+4>>2]|0,611941)|0)){k[b+12>>2]=126;break}if(!(Wmb(k[b+4>>2]|0,611953)|0)){k[b+12>>2]=56;break}if(!(Wmb(k[b+4>>2]|0,611965)|0)){k[b+12>>2]=10;break}if(!(Wmb(k[b+4>>2]|0,611977)|0)){k[b+12>>2]=127;break}if(!(Wmb(k[b+4>>2]|0,611990)|0)){k[b+12>>2]=128;break}if(!(Wmb(k[b+4>>2]|0,612003)|0)){k[b+12>>2]=129;break}if(!(Wmb(k[b+4>>2]|0,612016)|0)){k[b+12>>2]=130;break}if(!(Wmb(k[b+4>>2]|0,612029)|0)){k[b+12>>2]=131;break}if(!(Wmb(k[b+4>>2]|0,612042)|0)){k[b+12>>2]=132;break}if(!(Wmb(k[b+4>>2]|0,612055)|0)){k[b+12>>2]=133;break}if(!(Wmb(k[b+4>>2]|0,612068)|0)){k[b+12>>2]=134;break}if(!(Wmb(k[b+4>>2]|0,612081)|0)){k[b+12>>2]=57;break}if(!(Wmb(k[b+4>>2]|0,612100)|0)){k[b+12>>2]=58;break}if(!(Wmb(k[b+4>>2]|0,612119)|0)){k[b+12>>2]=59;break}if(!(Wmb(k[b+4>>2]|0,612138)|0)){k[b+12>>2]=256;break}if(!(Wmb(k[b+4>>2]|0,612151)|0)){k[b+12>>2]=257;break}if(!(Wmb(k[b+4>>2]|0,612169)|0)){k[b+12>>2]=258;break}if(!(Wmb(k[b+4>>2]|0,612187)|0)){k[b+12>>2]=259;break}if(!(Wmb(k[b+4>>2]|0,612205)|0)){k[b+12>>2]=260;break}if(!(Wmb(k[b+4>>2]|0,612223)|0)){k[b+12>>2]=395;break}if(!(Wmb(k[b+4>>2]|0,612243)|0)){k[b+12>>2]=7;break}if(!(Wmb(k[b+4>>2]|0,611184)|0)){k[b+12>>2]=1570;break}if(!(Wmb(k[b+4>>2]|0,612261)|0)){k[b+12>>2]=762;break}if(!(Wmb(k[b+4>>2]|0,612276)|0)){k[b+12>>2]=60;break}if(!(Wmb(k[b+4>>2]|0,612297)|0)){k[b+12>>2]=61;break}if(!(Wmb(k[b+4>>2]|0,612312)|0)){k[b+12>>2]=62;break}if(!(Wmb(k[b+4>>2]|0,612330)|0)){k[b+12>>2]=763;break}if(!(Wmb(k[b+4>>2]|0,612346)|0)){k[b+12>>2]=63;break}if(!(Wmb(k[b+4>>2]|0,612365)|0)){k[b+12>>2]=135;break}if(!(Wmb(k[b+4>>2]|0,612379)|0)){k[b+12>>2]=136;break}if(!(Wmb(k[b+4>>2]|0,612394)|0)){k[b+12>>2]=1571;break}if(!(Wmb(k[b+4>>2]|0,611115)|0)){k[b+12>>2]=4;break}if(!(Wmb(k[b+4>>2]|0,612405)|0)){k[b+12>>2]=764;break}if(!(Wmb(k[b+4>>2]|0,611214)|0)){k[b+12>>2]=261;break}if(!(Wmb(k[b+4>>2]|0,611244)|0)){k[b+12>>2]=262;break}if(!(Wmb(k[b+4>>2]|0,612421)|0)){k[b+12>>2]=64;break}if(!(Wmb(k[b+4>>2]|0,612448)|0)){k[b+12>>2]=765;break}if(!(Wmb(k[b+4>>2]|0,612462)|0)){k[b+12>>2]=65;break}if(!(Wmb(k[b+4>>2]|0,611150)|0)){k[b+12>>2]=766;break}if(!(Wmb(k[b+4>>2]|0,612482)|0)){k[b+12>>2]=767;break}if(!(Wmb(k[b+4>>2]|0,612500)|0)){k[b+12>>2]=1572;break}if(!(Wmb(k[b+4>>2]|0,612512)|0)){k[b+12>>2]=137;break}if(!(Wmb(k[b+4>>2]|0,612533)|0)){k[b+12>>2]=263;break}if(!(Wmb(k[b+4>>2]|0,612551)|0)){k[b+12>>2]=264;break}if(!(Wmb(k[b+4>>2]|0,612569)|0)){k[b+12>>2]=265;break}if(!(Wmb(k[b+4>>2]|0,612590)|0)){k[b+12>>2]=66;break}if(!(Wmb(k[b+4>>2]|0,612616)|0)){k[b+12>>2]=11;break}if(!(Wmb(k[b+4>>2]|0,612639)|0)){k[b+12>>2]=67;break}if(!(Wmb(k[b+4>>2]|0,612677)|0)){k[b+12>>2]=1573;break}if(!(Wmb(k[b+4>>2]|0,612693)|0)){k[b+12>>2]=768;break}if(!(Wmb(k[b+4>>2]|0,612708)|0)){k[b+12>>2]=138;break}if(!(Wmb(k[b+4>>2]|0,612731)|0)){k[b+12>>2]=68;break}if(!(Wmb(k[b+4>>2]|0,612744)|0)){k[b+12>>2]=266;break}if(!(Wmb(k[b+4>>2]|0,612758)|0)){k[b+12>>2]=267;break}if(!(Wmb(k[b+4>>2]|0,612772)|0)){k[b+12>>2]=55;break}if(!(Wmb(k[b+4>>2]|0,612792)|0)){k[b+12>>2]=769;break}if(!(Wmb(k[b+4>>2]|0,612812)|0)){k[b+12>>2]=69;break}if(!(Wmb(k[b+4>>2]|0,612828)|0)){k[b+12>>2]=70;break}if(!(Wmb(k[b+4>>2]|0,612846)|0)){k[b+12>>2]=139;break}if(!(Wmb(k[b+4>>2]|0,612862)|0)){k[b+12>>2]=71;break}if(!(Wmb(k[b+4>>2]|0,612877)|0)){k[b+12>>2]=770;break}if(!(Wmb(k[b+4>>2]|0,612899)|0)){k[b+12>>2]=268;break}if(!(Wmb(k[b+4>>2]|0,612917)|0)){k[b+12>>2]=269;break}if(!(Wmb(k[b+4>>2]|0,612938)|0)){k[b+12>>2]=771;break}if(!(Wmb(k[b+4>>2]|0,612956)|0)){k[b+12>>2]=772;break}if(!(Wmb(k[b+4>>2]|0,612969)|0)){k[b+12>>2]=8;break}if(!(Wmb(k[b+4>>2]|0,612984)|0)){k[b+12>>2]=773;break}if(!(Wmb(k[b+4>>2]|0,612998)|0)){k[b+12>>2]=1;break}if(!(Wmb(k[b+4>>2]|0,613008)|0)){k[b+12>>2]=1;break}if(!(Wmb(k[b+4>>2]|0,613018)|0)){k[b+12>>2]=56;break}if(!(Wmb(k[b+4>>2]|0,613040)|0)){k[b+12>>2]=774;break}if(!(Wmb(k[b+4>>2]|0,613066)|0)){k[b+12>>2]=775;break}if(!(Wmb(k[b+4>>2]|0,613093)|0)){k[b+12>>2]=140;break}if(!(Wmb(k[b+4>>2]|0,613106)|0)){k[b+12>>2]=72;break}if(!(Wmb(k[b+4>>2]|0,613121)|0)){k[b+12>>2]=12;break}if(!(Wmb(k[b+4>>2]|0,613136)|0)){k[b+12>>2]=9;break}if(!(Wmb(k[b+4>>2]|0,613160)|0)){k[b+12>>2]=5;break}if(!(Wmb(k[b+4>>2]|0,613171)|0)){k[b+12>>2]=270;break}if(!(Wmb(k[b+4>>2]|0,613193)|0)){k[b+12>>2]=73;break}if(!(Wmb(k[b+4>>2]|0,613215)|0)){k[b+12>>2]=13;break}if(!(Wmb(k[b+4>>2]|0,613239)|0)){k[b+12>>2]=10;break}if(!(Wmb(k[b+4>>2]|0,613248)|0)){k[b+12>>2]=11;break}if(!(Wmb(k[b+4>>2]|0,613256)|0)){k[b+12>>2]=1;break}if(!(Wmb(k[b+4>>2]|0,613269)|0)){k[b+12>>2]=2;break}if(!(Wmb(k[b+4>>2]|0,613283)|0)){k[b+12>>2]=776;break}if(!(Wmb(k[b+4>>2]|0,613295)|0)){k[b+12>>2]=777;break}if(!(Wmb(k[b+4>>2]|0,613304)|0)){k[b+12>>2]=778;break}if(!(Wmb(k[b+4>>2]|0,613314)|0)){k[b+12>>2]=779;break}if(!(Wmb(k[b+4>>2]|0,613326)|0)){k[b+12>>2]=780;break}if(!(Wmb(k[b+4>>2]|0,613337)|0)){k[b+12>>2]=781;break}if(!(Wmb(k[b+4>>2]|0,613345)|0)){k[b+12>>2]=3;break}if(!(Wmb(k[b+4>>2]|0,613357)|0)){k[b+12>>2]=782;break}if(!(Wmb(k[b+4>>2]|0,613372)|0)){k[b+12>>2]=783;break}if(!(Wmb(k[b+4>>2]|0,613384)|0)){k[b+12>>2]=784;break}if(!(Wmb(k[b+4>>2]|0,613398)|0)){k[b+12>>2]=1574;break}if(!(Wmb(k[b+4>>2]|0,613423)|0)){k[b+12>>2]=785;break}if(!(Wmb(k[b+4>>2]|0,613440)|0)){k[b+12>>2]=786;break}if(!(Wmb(k[b+4>>2]|0,613456)|0)){k[b+12>>2]=787;break}if(!(Wmb(k[b+4>>2]|0,613472)|0)){k[b+12>>2]=1575;break}if(!(Wmb(k[b+4>>2]|0,613484)|0)){k[b+12>>2]=271;break}if(!(Wmb(k[b+4>>2]|0,613496)|0)){k[b+12>>2]=272;break}if(!(Wmb(k[b+4>>2]|0,613520)|0)){k[b+12>>2]=1;break}if(!(Wmb(k[b+4>>2]|0,613533)|0)){k[b+12>>2]=2;break}if(!(Wmb(k[b+4>>2]|0,613547)|0)){k[b+12>>2]=273;break}if(!(Wmb(k[b+4>>2]|0,613569)|0)){k[b+12>>2]=274;break}if(!(Wmb(k[b+4>>2]|0,613576)|0)){k[b+12>>2]=3;break}if(!(Wmb(k[b+4>>2]|0,613592)|0)){k[b+12>>2]=29;break}if(!(Wmb(k[b+4>>2]|0,613609)|0)){k[b+12>>2]=1;break}if(!(Wmb(k[b+4>>2]|0,613626)|0)){k[b+12>>2]=141;break}if(!(Wmb(k[b+4>>2]|0,613642)|0)){k[b+12>>2]=16;break}if(!(Wmb(k[b+4>>2]|0,613658)|0)){k[b+12>>2]=3;break}if(!(Wmb(k[b+4>>2]|0,613675)|0)){k[b+12>>2]=142;break}if(!(Wmb(k[b+4>>2]|0,613689)|0)){k[b+12>>2]=143;break}if(!(Wmb(k[b+4>>2]|0,613701)|0)){k[b+12>>2]=74;break}if(!(Wmb(k[b+4>>2]|0,613712)|0)){k[b+12>>2]=2;break}if(!(Wmb(k[b+4>>2]|0,613725)|0)){k[b+12>>2]=75;break}if(!(Wmb(k[b+4>>2]|0,613735)|0)){k[b+12>>2]=4;break}if(!(Wmb(k[b+4>>2]|0,613752)|0)){k[b+12>>2]=76;break}if(!(Wmb(k[b+4>>2]|0,613764)|0)){k[b+12>>2]=77;break}if(!(Wmb(k[b+4>>2]|0,613786)|0)){k[b+12>>2]=78;break}if(!(Wmb(k[b+4>>2]|0,613806)|0)){k[b+12>>2]=3;break}if(!(Wmb(k[b+4>>2]|0,613819)|0)){k[b+12>>2]=79;break}if(!(Wmb(k[b+4>>2]|0,613841)|0)){k[b+12>>2]=80;break}if(!(Wmb(k[b+4>>2]|0,613861)|0)){k[b+12>>2]=2;break}if(!(Wmb(k[b+4>>2]|0,613878)|0)){k[b+12>>2]=2;break}if(!(Wmb(k[b+4>>2]|0,613895)|0)){k[b+12>>2]=3;break}if(Wmb(k[b+4>>2]|0,613915)|0){nc(12,k[b+8>>2]|0,k[b+4>>2]|0)|0;k[b+12>>2]=0;break}else{k[b+12>>2]=275;break}}else k[b+12>>2]=243;while(0);r=b;return k[b+12>>2]|0}function Ylb(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=k[a+60>>2];a=Zlb(ph(6,b|0)|0)|0;r=b;return a|0}function Zlb(a){a=a|0;var b=0;if(a>>>0>4294963200){b=_lb()|0;k[b>>2]=0-a;a=-1}return a|0}function _lb(){var a=0;if(!(k[300520]|0))a=1202128;else{a=(Ec()|0)+64|0;a=k[a>>2]|0}return a|0}function $lb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;i=r;r=r+48|0;e=k[a+28>>2]|0;k[i+32>>2]=e;e=(k[a+20>>2]|0)-e|0;k[i+32+4>>2]=e;k[i+32+8>>2]=b;k[i+32+12>>2]=c;d=i+32|0;b=2;e=e+c|0;while(1){if(!(k[300520]|0)){k[i+16>>2]=k[a+60>>2];k[i+16+4>>2]=d;k[i+16+8>>2]=b;g=Zlb(Fb(146,i+16|0)|0)|0}else{Ne(788,a|0);k[i>>2]=k[a+60>>2];k[i+4>>2]=d;k[i+8>>2]=b;g=Zlb(Fb(146,i|0)|0)|0;kd(0)}if((e|0)==(g|0)){e=6;break}if((g|0)<0){e=8;break}e=e-g|0;f=k[d+4>>2]|0;if(g>>>0>f>>>0){h=k[a+44>>2]|0;k[a+28>>2]=h;k[a+20>>2]=h;h=k[d+12>>2]|0;g=g-f|0;d=d+8|0;b=b+-1|0}else if((b|0)==2){k[a+28>>2]=(k[a+28>>2]|0)+g;h=f;b=2}else h=f;k[d>>2]=(k[d>>2]|0)+g;k[d+4>>2]=h-g}if((e|0)==6){h=k[a+44>>2]|0;k[a+16>>2]=h+(k[a+48>>2]|0);k[a+28>>2]=h;k[a+20>>2]=h}else if((e|0)==8){k[a+16>>2]=0;k[a+28>>2]=0;k[a+20>>2]=0;k[a>>2]=k[a>>2]|32;if((b|0)==2)c=0;else c=c-(k[d+4>>2]|0)|0}r=i;return c|0}function amb(a){a=a|0;if(!(k[a+68>>2]|0))bmb(a);return}function bmb(a){a=a|0;return}function cmb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+32|0;k[d>>2]=k[a+60>>2];k[d+4>>2]=0;k[d+8>>2]=b;k[d+12>>2]=d+20;k[d+16>>2]=c;if((Zlb(Bb(140,d|0)|0)|0)<0){k[d+20>>2]=-1;a=-1}else a=k[d+20>>2]|0;r=d;return a|0}function dmb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=r;r=r+48|0;k[g+32>>2]=b;f=k[a+48>>2]|0;k[g+32+4>>2]=c-((f|0)!=0&1);k[g+32+8>>2]=k[a+44>>2];k[g+32+12>>2]=f;if(!(k[300520]|0)){k[g+16>>2]=k[a+60>>2];k[g+16+4>>2]=g+32;k[g+16+8>>2]=2;d=Zlb(Eb(145,g+16|0)|0)|0}else{Ne(789,a|0);k[g>>2]=k[a+60>>2];k[g+4>>2]=g+32;k[g+8>>2]=2;d=Zlb(Eb(145,g|0)|0)|0;kd(0)}if((d|0)<1){k[a>>2]=k[a>>2]|d&48^16;k[a+8>>2]=0;k[a+4>>2]=0}else{e=k[g+32+4>>2]|0;if(d>>>0>e>>>0){f=k[a+44>>2]|0;k[a+4>>2]=f;k[a+8>>2]=f+(d-e);if(!(k[a+48>>2]|0))d=c;else{k[a+4>>2]=f+1;i[b+(c+-1)>>0]=i[f>>0]|0;d=c}}}r=g;return d|0}function emb(a){a=a|0;if(!(k[a+68>>2]|0))bmb(a);return}function fmb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+80|0;k[a+36>>2]=94;if(!(k[a>>2]&64)){k[d>>2]=k[a+60>>2];k[d+4>>2]=21505;k[d+8>>2]=d+12;if(qi(54,d|0)|0)i[a+75>>0]=-1}c=$lb(a,b,c)|0;r=d;return c|0}function gmb(a){a=a|0;var b=0;b=(hmb(a)|0)==0;return (b?a:a|32)|0}function hmb(a){a=a|0;return (a+-65|0)>>>0<26|0}function imb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=jmb(a,b,c)|0;return a|0}function jmb(a,b,c){a=a|0;b=b|0;c=c|0;a=kmb(a,b,c,-1,-1)|0;return a|0}function kmb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=r;r=r+112|0;k[f>>2]=0;k[f+4>>2]=a;k[f+44>>2]=a;k[f+8>>2]=(a|0)<0?-1:a+2147483647|0;k[f+76>>2]=-1;lmb(f,0);d=mmb(f,c,1,d,e)|0;if(b|0)k[b>>2]=a+((k[f+4>>2]|0)+(k[f+108>>2]|0)-(k[f+8>>2]|0));r=f;return d|0}function lmb(a,b){a=a|0;b=b|0;var c=0,d=0;k[a+104>>2]=b;c=k[a+8>>2]|0;d=k[a+4>>2]|0;k[a+108>>2]=c-d;if((b|0)!=0&(c-d|0)>(b|0))k[a+100>>2]=d+b;else k[a+100>>2]=c;return}function mmb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0;a:do if(b>>>0>36){e=_lb()|0;k[e>>2]=22;e=0;d=0}else{do{f=k[a+4>>2]|0;if(f>>>0<(k[a+100>>2]|0)>>>0){k[a+4>>2]=f+1;f=l[f>>0]|0}else f=nmb(a)|0}while((qmb(f)|0)!=0);b:do switch(f|0){case 43:case 45:{g=k[a+4>>2]|0;if(g>>>0<(k[a+100>>2]|0)>>>0){k[a+4>>2]=g+1;g=l[g>>0]|0;p=((f|0)==45)<<31>>31;break b}else{g=nmb(a)|0;p=((f|0)==45)<<31>>31;break b}}default:{g=f;p=0}}while(0);do if((b|16|0)==16&(g|0)==48){f=k[a+4>>2]|0;if(f>>>0<(k[a+100>>2]|0)>>>0){k[a+4>>2]=f+1;g=l[f>>0]|0}else g=nmb(a)|0;if((g|32|0)!=120)if(!b){b=8;n=46;break}else{n=32;break}b=k[a+4>>2]|0;if(b>>>0<(k[a+100>>2]|0)>>>0){k[a+4>>2]=b+1;f=l[b>>0]|0}else f=nmb(a)|0;if((l[614032+f>>0]|0)>15){d=(k[a+100>>2]|0)==0;if(!d)k[a+4>>2]=(k[a+4>>2]|0)+-1;if(!c){lmb(a,0);e=0;d=0;break a}if(d){e=0;d=0;break a}k[a+4>>2]=(k[a+4>>2]|0)+-1;e=0;d=0;break a}else{b=16;g=f;n=46}}else{b=(b|0)==0?10:b;if((l[614032+g>>0]|0)>>>0>>0)n=32;else{if(k[a+100>>2]|0)k[a+4>>2]=(k[a+4>>2]|0)+-1;lmb(a,0);e=_lb()|0;k[e>>2]=22;e=0;d=0;break a}}while(0);if((n|0)==32)if((b|0)==10){b=g+-48|0;if(b>>>0<10){f=0;do{f=(f*10|0)+b|0;b=k[a+4>>2]|0;if(b>>>0<(k[a+100>>2]|0)>>>0){k[a+4>>2]=b+1;g=l[b>>0]|0}else g=nmb(a)|0;b=g+-48|0}while(b>>>0<10&f>>>0<429496729);c=0}else{f=0;c=0}b=g+-48|0;if(b>>>0<10){do{h=KBb(f|0,c|0,10,0)|0;j=L;m=((b|0)<0)<<31>>31;if(j>>>0>~m>>>0|(j|0)==(~m|0)&h>>>0>~b>>>0)break;f=xBb(h|0,j|0,b|0,m|0)|0;c=L;b=k[a+4>>2]|0;if(b>>>0<(k[a+100>>2]|0)>>>0){k[a+4>>2]=b+1;g=l[b>>0]|0}else g=nmb(a)|0;b=g+-48|0}while(b>>>0<10&(c>>>0<429496729|(c|0)==429496729&f>>>0<2576980378));if(b>>>0>9){g=c;b=p}else{b=10;n=72}}else{g=c;b=p}}else n=46;c:do if((n|0)==46){if(!(b+-1&b)){n=i[614288+((b*23|0)>>>5&7)>>0]|0;f=i[614032+g>>0]|0;if((f&255)>>>0>>0){c=f&255;f=0;do{f=c|f<>2]|0;if(g>>>0<(k[a+100>>2]|0)>>>0){k[a+4>>2]=g+1;g=l[g>>0]|0}else g=nmb(a)|0;h=i[614032+g>>0]|0;c=h&255}while(f>>>0<134217728&c>>>0>>0);c=0}else{h=f;c=0;f=0}j=FBb(-1,-1,n|0)|0;m=L;if((h&255)>>>0>=b>>>0|(c>>>0>m>>>0|(c|0)==(m|0)&f>>>0>j>>>0)){n=72;break}else g=c;while(1){f=DBb(f|0,g|0,n|0)|0;c=L;f=h&255|f;g=k[a+4>>2]|0;if(g>>>0<(k[a+100>>2]|0)>>>0){k[a+4>>2]=g+1;g=l[g>>0]|0}else g=nmb(a)|0;h=i[614032+g>>0]|0;if((h&255)>>>0>=b>>>0|(c>>>0>m>>>0|(c|0)==(m|0)&f>>>0>j>>>0)){n=72;break c}else g=c}}f=i[614032+g>>0]|0;if((f&255)>>>0>>0){c=f&255;f=0;while(1){h=c+(ha(f,b)|0)|0;f=k[a+4>>2]|0;if(f>>>0<(k[a+100>>2]|0)>>>0){k[a+4>>2]=f+1;g=l[f>>0]|0}else g=nmb(a)|0;f=i[614032+g>>0]|0;c=f&255;if(!(h>>>0<119304647&c>>>0>>0))break;else f=h}c=0}else{h=0;c=0}if((f&255)>>>0>>0){n=LBb(-1,-1,b|0,0)|0;o=L;while(1){if(c>>>0>o>>>0|(c|0)==(o|0)&h>>>0>n>>>0){f=h;n=72;break c}j=KBb(h|0,c|0,b|0,0)|0;m=L;f=f&255;if(m>>>0>4294967295|(m|0)==-1&j>>>0>~f>>>0){f=h;n=72;break c}h=xBb(f|0,0,j|0,m|0)|0;c=L;f=k[a+4>>2]|0;if(f>>>0<(k[a+100>>2]|0)>>>0){k[a+4>>2]=f+1;g=l[f>>0]|0}else g=nmb(a)|0;f=i[614032+g>>0]|0;if((f&255)>>>0>=b>>>0){f=h;n=72;break}}}else{f=h;n=72}}while(0);if((n|0)==72)if((l[614032+g>>0]|0)>>>0>>0){do{f=k[a+4>>2]|0;if(f>>>0<(k[a+100>>2]|0)>>>0){k[a+4>>2]=f+1;f=l[f>>0]|0}else f=nmb(a)|0}while((l[614032+f>>0]|0)>>>0>>0);g=_lb()|0;k[g>>2]=34;g=e;f=d;b=(d&1|0)==0&0==0?p:0}else{g=c;b=p}if(k[a+100>>2]|0)k[a+4>>2]=(k[a+4>>2]|0)+-1;if(!(g>>>0>>0|(g|0)==(e|0)&f>>>0>>0)){if(!((d&1|0)!=0|0!=0|(b|0)!=0)){a=_lb()|0;k[a>>2]=34;d=xBb(d|0,e|0,-1,-1)|0;e=L;break}if(g>>>0>e>>>0|(g|0)==(e|0)&f>>>0>d>>>0){a=_lb()|0;k[a>>2]=34;break}}d=((b|0)<0)<<31>>31;d=EBb(f^b|0,g^d|0,b|0,d|0)|0;e=L}while(0);L=e;return d|0}function nmb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=k[a+104>>2]|0;if(!b)f=3;else if((k[a+108>>2]|0)<(b|0))f=3;else f=4;if((f|0)==3){b=omb(a)|0;if((b|0)<0)f=4;else{d=k[a+104>>2]|0;c=k[a+8>>2]|0;if(!d){d=c;f=9}else{e=k[a+4>>2]|0;d=d-(k[a+108>>2]|0)|0;if((c-e|0)<(d|0)){d=c;f=9}else k[a+100>>2]=e+(d+-1)}if((f|0)==9){k[a+100>>2]=c;c=d}if(!c)c=k[a+4>>2]|0;else{e=k[a+4>>2]|0;k[a+108>>2]=c+1-e+(k[a+108>>2]|0);c=e}c=c+-1|0;if((l[c>>0]|0|0)!=(b|0))i[c>>0]=b}}if((f|0)==4){k[a+100>>2]=0;b=-1}return b|0}function omb(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;if(!(k[a+8>>2]|0))if(!(pmb(a)|0))b=3;else a=-1;else b=3;if((b|0)==3)if((Ri[k[a+32>>2]&255](a,c,1)|0)==1)a=l[c>>0]|0;else a=-1;r=c;return a|0}function pmb(a){a=a|0;var b=0;b=i[a+74>>0]|0;i[a+74>>0]=b+255|b;if((k[a+20>>2]|0)>>>0>(k[a+44>>2]|0)>>>0)Ri[k[a+36>>2]&255](a,0,0)|0;k[a+16>>2]=0;k[a+28>>2]=0;k[a+20>>2]=0;b=k[a>>2]|0;if(!(b&20)){b=k[a+44>>2]|0;k[a+8>>2]=b;k[a+4>>2]=b;b=0}else if(!(b&4))b=-1;else{k[a>>2]=b|32;b=-1}return b|0}function qmb(a){a=a|0;return ((a|0)==32|(a+-9|0)>>>0<5)&1|0}function rmb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=smb(a,b,c)|0;return a|0}function smb(a,b,c){a=a|0;b=b|0;c=c|0;a=kmb(a,b,c,0,-2147483648)|0;return a|0}function tmb(a,b,c){a=a|0;b=b|0;c=c|0;a=kmb(a,b,c,-1,0)|0;return a|0}function umb(a,b,c){a=a|0;b=b|0;c=c|0;a=kmb(a,b,c,-2147483648,0)|0;return a|0}function vmb(a){a=a|0;var b=0;b=(wmb(a)|0)==0;return (b?a:a&95)|0}function wmb(a){a=a|0;return (a+-97|0)>>>0<26|0}function xmb(a,b){a=+a;b=+b;var c=0;p[t>>3]=b;c=k[t+4>>2]|0;b=+W(+a);p[t>>3]=b;c=c&-2147483648|k[t+4>>2];k[t>>2]=k[t>>2];k[t+4>>2]=c;return +(+p[t>>3])}function ymb(a){a=+a;var b=0;a=+W(+a);p[t>>3]=a;b=k[t+4>>2]|0;do if(b>>>0<1072049730)if(b>>>0<1045430272)a=1.0;else{a=+zmb(a);a=a*a/((a+1.0)*2.0)+1.0}else if(b>>>0<1082535490){a=+ea(+a);a=(a+1.0/a)*.5;break}else{a=+Amb(a);break}while(0);return +a}function zmb(a){a=+a;var b=0,c=0,d=0.0,e=0.0,f=0.0,g=0,h=0;p[t>>3]=a;b=k[t+4>>2]|0;c=FBb(k[t>>2]|0,b|0,63)|0;do if((b&2147483647)>>>0>1078159481){f=+W(+a);p[t>>3]=f;g=k[t+4>>2]|0;if(!(g>>>0>2146435072|(g|0)==2146435072&(k[t>>2]|0)>>>0>0))if(!c)if(a>709.782712893384)a=a*8988465674311579538646525.0e283;else h=11;else a=-1.0}else{if((b&2147483647)>>>0<=1071001154)if((b&2147483647)>>>0<1016070144)break;else{f=0.0;g=0;h=14;break}if((b&2147483647)>>>0<1072734898)if(!c){d=a+-.6931471803691238;b=1;e=1.9082149292705877e-10;h=12;break}else{d=a+.6931471803691238;b=-1;e=-1.9082149292705877e-10;h=12;break}else h=11}while(0);if((h|0)==11){g=~~(a*1.4426950408889634+(c|0?-.5:.5));d=a-+(g|0)*.6931471803691238;b=g;e=+(g|0)*1.9082149292705877e-10;h=12}if((h|0)==12){f=d-e;a=f;f=d-f-e;g=b;h=14}a:do if((h|0)==14){e=a*.5;d=a*e;e=3.0-e*(d*(d*(d*(d*(4.008217827329362e-06-d*2.0109921818362437e-07)+-7.93650757867488e-05)+1.5873015872548146e-03)+-.03333333333333313)+1.0);e=d*((d*(d*(d*(d*(4.008217827329362e-06-d*2.0109921818362437e-07)+-7.93650757867488e-05)+1.5873015872548146e-03)+-.03333333333333313)+1.0-e)/(6.0-a*e));if(!g){a=a-(a*e-d);break}d=a*(e-f)-f-d;switch(g|0){case -1:{a=(a-d)*.5+-.5;break a}case 1:if(a<-.25){a=(d-(a+.5))*-2.0;break a}else{a=(a-d)*2.0+1.0;break a}default:{c=DBb(g+1023|0,0,52)|0;h=L;k[t>>2]=c;k[t+4>>2]=h;e=+p[t>>3];if(g>>>0>56){a=a-d+1.0;a=((g|0)==1024?a*2.0*8988465674311579538646525.0e283:e*a)+-1.0;break a}b=DBb(1023-g|0,0,52)|0;c=L;if((g|0)<20){k[t>>2]=b;k[t+4>>2]=c;a=1.0-+p[t>>3]+(a-d)}else{k[t>>2]=b;k[t+4>>2]=c;a=a-(+p[t>>3]+d)+1.0}a=e*a;break a}}}while(0);return +a}function Amb(a){a=+a;return +(+ea(+(a+-1416.0996898839683))*2247116418577894884661631.0e283*2247116418577894884661631.0e283)}function Bmb(a){a=+a;var b=0.0,c=0.0,d=0;p[t>>3]=a;c=(k[t+4>>2]|0)<0?-.5:.5;b=+W(+a);p[t>>3]=b;d=k[t+4>>2]|0;do if(d>>>0<1082535490){b=+zmb(b);if(d>>>0>=1072693248){a=c*(b+b/(b+1.0));break}if(d>>>0>=1045430272)a=c*(b*2.0-b*b/(b+1.0))}else a=c*2.0*+Amb(b);while(0);return +a}function Cmb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:do if((c|0)!=0&(a&3|0)!=0)while(1){if((i[a>>0]|0)==(b&255)<<24>>24){e=6;break a}a=a+1|0;c=c+-1|0;if(!((c|0)!=0&(a&3|0)!=0)){d=c;c=(c|0)!=0;e=5;break}}else{d=c;c=(c|0)!=0;e=5}while(0);if((e|0)==5)if(c){c=d;e=6}else c=0;b:do if((e|0)==6)if((i[a>>0]|0)!=(b&255)<<24>>24){d=ha(b&255,16843009)|0;c:do if(c>>>0>3)while(1){f=k[a>>2]^d;if((f&-2139062144^-2139062144)&f+-16843009|0)break;a=a+4|0;c=c+-4|0;if(c>>>0<=3){e=11;break c}}else e=11;while(0);if((e|0)==11)if(!c){c=0;break}while(1){if((i[a>>0]|0)==(b&255)<<24>>24)break b;a=a+1|0;c=c+-1|0;if(!c){c=0;break}}}while(0);return (c|0?a:0)|0}function Dmb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if(!c)b=0;else{d=i[a>>0]|0;a:do if(!(d<<24>>24))d=0;else while(1){c=c+-1|0;e=i[b>>0]|0;if(!(d<<24>>24==e<<24>>24&((c|0)!=0&e<<24>>24!=0)))break a;a=a+1|0;b=b+1|0;d=i[a>>0]|0;if(!(d<<24>>24)){d=0;break}}while(0);b=(d&255)-(l[b>>0]|0)|0}return b|0}function Emb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:do if(!c)c=0;else{while(1){d=i[a>>0]|0;e=i[b>>0]|0;if(d<<24>>24!=e<<24>>24)break;c=c+-1|0;if(!c){c=0;break a}else{a=a+1|0;b=b+1|0}}c=(d&255)-(e&255)|0}while(0);return c|0}function Fmb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;k[d>>2]=c;c=Gmb(a,b,d)|0;r=d;return c|0}function Gmb(a,b,c){a=a|0;b=b|0;c=c|0;return Hmb(a,2147483647,b,c)|0}function Hmb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;j=r;r=r+128|0;e=j;f=148956;g=e+112|0;do{k[e>>2]=k[f>>2];e=e+4|0;f=f+4|0}while((e|0)<(g|0));if((b+-1|0)>>>0>2147483646)if(!b){a=j+112|0;b=1;h=4}else{b=_lb()|0;k[b>>2]=75;b=-1}else h=4;if((h|0)==4){h=-2-a|0;h=b>>>0>h>>>0?h:b;k[j+48>>2]=h;k[j+20>>2]=a;k[j+44>>2]=a;b=a+h|0;k[j+16>>2]=b;k[j+28>>2]=b;b=Jmb(j,c,d)|0;if(h){h=k[j+20>>2]|0;i[h+(((h|0)==(k[j+16>>2]|0))<<31>>31)>>0]=0}}r=j;return b|0}function Imb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=k[a+20>>2]|0;d=(k[a+16>>2]|0)-e|0;d=d>>>0>c>>>0?c:d;ABb(e|0,b|0,d|0)|0;k[a+20>>2]=(k[a+20>>2]|0)+d;return c|0}function Jmb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=r;r=r+224|0;d=g+80|0;e=d+40|0;do{k[d>>2]=0;d=d+4|0}while((d|0)<(e|0));k[g+120>>2]=k[c>>2];if((Kmb(0,b,g+120|0,g,g+80|0)|0)<0)c=-1;else{if((k[a+76>>2]|0)>-1)e=Vmb(a)|0;else e=0;f=k[a>>2]|0;if((i[a+74>>0]|0)<1)k[a>>2]=f&-33;if(!(k[a+48>>2]|0)){d=k[a+44>>2]|0;k[a+44>>2]=g+136;k[a+28>>2]=g+136;k[a+20>>2]=g+136;k[a+48>>2]=80;k[a+16>>2]=g+136+80;c=Kmb(a,b,g+120|0,g,g+80|0)|0;if(d){Ri[k[a+36>>2]&255](a,0,0)|0;c=(k[a+20>>2]|0)==0?-1:c;k[a+44>>2]=d;k[a+48>>2]=0;k[a+16>>2]=0;k[a+28>>2]=0;k[a+20>>2]=0}}else c=Kmb(a,b,g+120|0,g,g+80|0)|0;d=k[a>>2]|0;k[a>>2]=d|f&32;if(e|0)bmb(a);c=(d&32|0)==0?c:-1}r=g;return c|0}function Kmb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,m=0,n=0.0,o=0,q=0.0,s=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0;N=r;r=r+624|0;I=N+536+40|0;K=N+588|0;M=N+576+12|0;J=N+588+9|0;f=0;h=0;g=0;y=b;a:while(1){do if((f|0)>-1)if((h|0)>(2147483647-f|0)){f=_lb()|0;k[f>>2]=75;f=-1;break}else{f=h+f|0;break}while(0);b=i[y>>0]|0;if(!(b<<24>>24)){H=244;break}else h=y;b:while(1){switch(b<<24>>24){case 37:{b=h;H=9;break b}case 0:{b=h;break b}default:{}}G=h+1|0;b=i[G>>0]|0;h=G}c:do if((H|0)==9)while(1){H=0;if((i[b+1>>0]|0)!=37)break c;h=h+1|0;b=b+2|0;if((i[b>>0]|0)==37)H=9;else break}while(0);x=h-y|0;if(a|0)if(!(k[a>>2]&32))Lmb(y,x,a)|0;if((h|0)!=(y|0)){h=x;y=b;continue}m=b+1|0;h=i[m>>0]|0;if(((h<<24>>24)+-48|0)>>>0<10){G=(i[b+2>>0]|0)==36;m=G?b+3|0:m;o=i[m>>0]|0;v=G?(h<<24>>24)+-48|0:-1;g=G?1:g}else{o=h;v=-1}b=o<<24>>24;d:do if((b&-32|0)==32){h=o;o=0;do{if(!(1<>24)+-32|o;m=m+1|0;h=i[m>>0]|0;b=h<<24>>24}while((b&-32|0)==32)}else{h=o;o=0}while(0);do if(h<<24>>24==42){h=m+1|0;b=(i[h>>0]|0)+-48|0;if(b>>>0<10)if((i[m+2>>0]|0)==36){k[e+(b<<2)>>2]=10;g=1;m=m+3|0;b=k[d+((i[h>>0]|0)+-48<<3)>>2]|0}else H=24;else H=24;if((H|0)==24){H=0;if(g|0){f=-1;break a}if(!a){w=o;g=0;m=h;G=0;break}g=(k[c>>2]|0)+(4-1)&~(4-1);b=k[g>>2]|0;k[c>>2]=g+4;g=0;m=h}if((b|0)<0){w=o|8192;G=0-b|0}else{w=o;G=b}}else{h=(h<<24>>24)+-48|0;if(h>>>0<10){b=0;do{b=(b*10|0)+h|0;m=m+1|0;h=(i[m>>0]|0)+-48|0}while(h>>>0<10);if((b|0)<0){f=-1;break a}else{w=o;G=b}}else{w=o;G=0}}while(0);e:do if((i[m>>0]|0)==46){b=m+1|0;o=i[b>>0]|0;if(o<<24>>24!=42){if(((o<<24>>24)+-48|0)>>>0<10){h=0;m=(o<<24>>24)+-48|0}else{s=0;break}while(1){h=(h*10|0)+m|0;b=b+1|0;m=(i[b>>0]|0)+-48|0;if(m>>>0>=10){s=h;break e}}}b=m+2|0;h=(i[b>>0]|0)+-48|0;if(h>>>0<10)if((i[m+3>>0]|0)==36){k[e+(h<<2)>>2]=10;s=k[d+((i[b>>0]|0)+-48<<3)>>2]|0;b=m+4|0;break}if(g|0){f=-1;break a}if(a|0){F=(k[c>>2]|0)+(4-1)&~(4-1);s=k[F>>2]|0;k[c>>2]=F+4}else s=0}else{s=-1;b=m}while(0);m=0;while(1){h=(i[b>>0]|0)+-65|0;if(h>>>0>57){f=-1;break a}F=b+1|0;o=i[614297+(m*58|0)+h>>0]|0;if(((o&255)+-1|0)>>>0<8){b=F;m=o&255}else{u=m;break}}if(!(o<<24>>24)){f=-1;break}h=(v|0)>-1;do if(o<<24>>24==19)if(h){f=-1;break a}else H=52;else{if(h){k[e+(v<<2)>>2]=o&255;E=d+(v<<3)|0;H=k[E+4>>2]|0;k[N>>2]=k[E>>2];k[N+4>>2]=H;H=52;break}if(!a){f=0;break a}Nmb(N,o&255,c)}while(0);if((H|0)==52){H=0;if(!a){h=x;y=F;continue}}v=i[b>>0]|0;v=(u|0)!=0&(v&15|0)==3?v&-33:v;m=w&-65537;E=(w&8192|0)==0?w:m;f:do switch(v|0){case 110:switch(u|0){case 0:{k[k[N>>2]>>2]=f;h=x;y=F;continue a}case 1:{k[k[N>>2]>>2]=f;h=x;y=F;continue a}case 2:{h=k[N>>2]|0;k[h>>2]=f;k[h+4>>2]=((f|0)<0)<<31>>31;h=x;y=F;continue a}case 3:{j[k[N>>2]>>1]=f;h=x;y=F;continue a}case 4:{i[k[N>>2]>>0]=f;h=x;y=F;continue a}case 6:{k[k[N>>2]>>2]=f;h=x;y=F;continue a}case 7:{h=k[N>>2]|0;k[h>>2]=f;k[h+4>>2]=((f|0)<0)<<31>>31;h=x;y=F;continue a}default:{h=x;y=F;continue a}}case 112:{u=E|8;s=s>>>0>8?s:8;v=120;H=64;break}case 88:case 120:{u=E;H=64;break}case 111:{h=k[N>>2]|0;m=k[N+4>>2]|0;if((h|0)==0&(m|0)==0)b=I;else{b=I;do{b=b+-1|0;i[b>>0]=h&7|48;h=FBb(h|0,m|0,3)|0;m=L}while(!((h|0)==0&(m|0)==0))}if(!(E&8)){h=E;u=0;o=614777;H=77}else{u=I-b|0;h=E;s=(s|0)>(u|0)?s:u+1|0;u=0;o=614777;H=77}break}case 105:case 100:{b=k[N>>2]|0;h=k[N+4>>2]|0;if((h|0)<0){b=EBb(0,0,b|0,h|0)|0;h=L;k[N>>2]=b;k[N+4>>2]=h;m=1;o=614777;H=76;break f}if(!(E&2048)){m=E&1;o=(E&1|0)==0?614777:614779;H=76}else{m=1;o=614778;H=76}break}case 117:{b=k[N>>2]|0;h=k[N+4>>2]|0;m=0;o=614777;H=76;break}case 99:{i[N+536+39>>0]=k[N>>2];b=N+536+39|0;v=1;x=0;w=614777;h=I;break}case 109:{h=_lb()|0;h=Pmb(k[h>>2]|0)|0;H=82;break}case 115:{h=k[N>>2]|0;h=h|0?h:616679;H=82;break}case 67:{k[N+8>>2]=k[N>>2];k[N+8+4>>2]=0;k[N>>2]=N+8;b=N+8|0;s=-1;H=86;break}case 83:{b=k[N>>2]|0;if(!s){Qmb(a,32,G,0,E);b=0;H=97}else H=86;break}case 65:case 71:case 70:case 69:case 97:case 103:case 102:case 101:{n=+p[N>>3];k[N+16>>2]=0;p[t>>3]=n;if((k[t+4>>2]|0)<0){n=-n;C=1;D=616686}else if(!(E&2048)){C=E&1;D=(E&1|0)==0?616687:616692}else{C=1;D=616689}p[t>>3]=n;B=k[t+4>>2]&2146435072;do if(B>>>0<2146435072|(B|0)==2146435072&0<0){n=+Tmb(n,N+16|0)*2.0;if(n!=0.0)k[N+16>>2]=(k[N+16>>2]|0)+-1;if((v|32|0)==97){w=(v&32|0)==0?D:D+9|0;u=C|2;b=12-s|0;do if(!(s>>>0>11|(b|0)==0)){q=8.0;do{b=b+-1|0;q=q*16.0}while((b|0)!=0);if((i[w>>0]|0)==45){n=-(q+(-n-q));break}else{n=n+q-q;break}}while(0);h=k[N+16>>2]|0;b=(h|0)<0?0-h|0:h;b=Omb(b,((b|0)<0)<<31>>31,N+576+12|0)|0;if((b|0)==(N+576+12|0)){i[N+576+11>>0]=48;b=N+576+11|0}i[b+-1>>0]=(h>>31&2)+43;o=b+-2|0;i[o>>0]=v+15;m=(s|0)<1;b=N+588|0;while(1){D=~~n;h=b+1|0;i[b>>0]=l[614761+D>>0]|v&32;n=(n-+(D|0))*16.0;do if((h-K|0)==1){if((E&8|0)==0&(m&n==0.0))break;i[h>>0]=46;h=b+2|0}while(0);if(!(n!=0.0))break;else b=h}b=(s|0)!=0&(-2-K+h|0)<(s|0)?M+2+s-o|0:M-K-o+h|0;Qmb(a,32,G,b+u|0,E);if(!(k[a>>2]&32))Lmb(w,u,a)|0;Qmb(a,48,G,b+u|0,E^65536);if(!(k[a>>2]&32))Lmb(N+588|0,h-K|0,a)|0;Qmb(a,48,b-(h-K+(M-o))|0,0,0);if(!(k[a>>2]&32))Lmb(o,M-o|0,a)|0;Qmb(a,32,G,b+u|0,E^8192);b=(b+u|0)<(G|0)?G:b+u|0;break}b=(s|0)<0?6:s;if(n!=0.0){h=(k[N+16>>2]|0)+-28|0;k[N+16>>2]=h;n=n*268435456.0}else h=k[N+16>>2]|0;B=(h|0)<0?N+24|0:N+24+288|0;h=B;while(1){A=~~n>>>0;k[h>>2]=A;m=h+4|0;n=(n-+(A>>>0))*1.0e9;if(!(n!=0.0))break;else h=m}h=k[N+16>>2]|0;if((h|0)>0){s=B;while(1){u=(h|0)>29?29:h;o=m+-4|0;do if(o>>>0>>0)o=s;else{h=0;do{A=DBb(k[o>>2]|0,0,u|0)|0;A=xBb(A|0,L|0,h|0,0)|0;h=L;z=MBb(A|0,h|0,1e9,0)|0;k[o>>2]=z;h=LBb(A|0,h|0,1e9,0)|0;o=o+-4|0}while(o>>>0>=s>>>0);if(!h){o=s;break}o=s+-4|0;k[o>>2]=h}while(0);while(1){if(m>>>0<=o>>>0)break;h=m+-4|0;if(!(k[h>>2]|0))m=h;else break}h=(k[N+16>>2]|0)-u|0;k[N+16>>2]=h;if((h|0)>0)s=o;else break}}else o=B;if((h|0)<0){do{w=0-h|0;w=(w|0)>9?9:w;do if(o>>>0>>0){h=0;u=o;while(1){s=k[u>>2]|0;k[u>>2]=(s>>>w)+h;s=ha(s&(1<>>w)|0;u=u+4|0;if(u>>>0>=m>>>0)break;else h=s}h=(k[o>>2]|0)==0?o+4|0:o;if(!s){o=h;h=m;break}k[m>>2]=s;o=h;h=m+4|0}else{o=(k[o>>2]|0)==0?o+4|0:o;h=m}while(0);m=(v|32|0)==102?B:o;m=(h-m>>2|0)>(((b+25|0)/9|0)+1|0)?m+(((b+25|0)/9|0)+1<<2)|0:h;h=(k[N+16>>2]|0)+w|0;k[N+16>>2]=h}while((h|0)<0);h=o;z=m}else{h=o;z=m}do if(h>>>0>>0){m=(B-h>>2)*9|0;s=k[h>>2]|0;if(s>>>0<10)break;else o=10;do{o=o*10|0;m=m+1|0}while(s>>>0>=o>>>0)}else m=0;while(0);o=b-((v|32|0)!=102?m:0)+(((b|0)!=0&(v|32|0)==103)<<31>>31)|0;if((o|0)<(((z-B>>2)*9|0)+-9|0)){y=B+4+(((o+9216|0)/9|0)+-1024<<2)|0;if((((o+9216|0)%9|0)+1|0)<9){s=10;u=((o+9216|0)%9|0)+1|0;while(1){o=s*10|0;u=u+1|0;if((u|0)==9)break;else s=o}}else o=10;w=k[y>>2]|0;x=(w>>>0)%(o>>>0)|0;s=(y+4|0)==(z|0);do if(s&(x|0)==0)o=y;else{q=(((w>>>0)/(o>>>0)|0)&1|0)==0?9007199254740992.0:9007199254740994.0;u=(o|0)/2|0;if(x>>>0>>0)n=.5;else n=s&(x|0)==(u|0)?1.0:1.5;do if(C){if((i[D>>0]|0)!=45)break;q=-q;n=-n}while(0);k[y>>2]=w-x;if(!(q+n!=q)){o=y;break}A=w-x+o|0;k[y>>2]=A;if(A>>>0>999999999){m=y;while(1){o=m+-4|0;k[m>>2]=0;if(o>>>0>>0){h=h+-4|0;k[h>>2]=0}A=(k[o>>2]|0)+1|0;k[o>>2]=A;if(A>>>0>999999999)m=o;else break}}else o=y;m=(B-h>>2)*9|0;u=k[h>>2]|0;if(u>>>0<10)break;else s=10;do{s=s*10|0;m=m+1|0}while(u>>>0>=s>>>0)}while(0);y=o+4|0;A=h;h=z>>>0>y>>>0?y:z}else{A=h;h=z}u=0-m|0;while(1){if(h>>>0<=A>>>0){x=0;z=h;break}o=h+-4|0;if(!(k[o>>2]|0))h=o;else{x=1;z=h;break}}do if((v|32|0)==103){if((((b|0)!=0^1)+b|0)>(m|0)&(m|0)>-5){v=v+-1|0;b=((b|0)!=0^1)+b+-1-m|0}else{v=v+-2|0;b=((b|0)!=0^1)+b+-1|0}if(E&8|0){s=E&8;break}do if(x){h=k[z+-4>>2]|0;if(!h){o=9;break}if(!((h>>>0)%10|0)){s=10;o=0}else{o=0;break}do{s=s*10|0;o=o+1|0}while(!((h>>>0)%(s>>>0)|0|0))}else o=9;while(0);h=((z-B>>2)*9|0)+-9|0;if((v|32|0)==102){s=h-o|0;s=(s|0)<0?0:s;b=(b|0)<(s|0)?b:s;s=0;break}else{s=h+m-o|0;s=(s|0)<0?0:s;b=(b|0)<(s|0)?b:s;s=0;break}}else s=E&8;while(0);w=b|s;o=(v|32|0)==102;if(o){h=(m|0)>0?m:0;v=0}else{h=(m|0)<0?u:m;h=Omb(h,((h|0)<0)<<31>>31,N+576+12|0)|0;if((M-h|0)<2)do{h=h+-1|0;i[h>>0]=48}while((M-h|0)<2);i[h+-1>>0]=(m>>31&2)+43;y=h+-2|0;i[y>>0]=v;h=M-y|0;v=y}y=C+1+b+((w|0)!=0&1)+h|0;Qmb(a,32,G,y,E);if(!(k[a>>2]&32))Lmb(D,C,a)|0;Qmb(a,48,G,y,E^65536);do if(o){o=A>>>0>B>>>0?B:A;m=o;while(1){h=Omb(k[m>>2]|0,0,J)|0;do if((m|0)==(o|0)){if((h|0)!=(J|0))break;i[N+588+8>>0]=48;h=N+588+8|0}else{if(h>>>0<=(N+588|0)>>>0)break;vBb(N+588|0,48,h-K|0)|0;do h=h+-1|0;while(h>>>0>(N+588|0)>>>0)}while(0);if(!(k[a>>2]&32))Lmb(h,J-h|0,a)|0;h=m+4|0;if(h>>>0>B>>>0)break;else m=h}do if(w|0){if(k[a>>2]&32|0)break;Lmb(616745,1,a)|0}while(0);if((b|0)>0&h>>>0>>0){m=h;while(1){h=Omb(k[m>>2]|0,0,J)|0;if(h>>>0>(N+588|0)>>>0){vBb(N+588|0,48,h-K|0)|0;do h=h+-1|0;while(h>>>0>(N+588|0)>>>0)}if(!(k[a>>2]&32))Lmb(h,(b|0)>9?9:b,a)|0;m=m+4|0;h=b+-9|0;if(!((b|0)>9&m>>>0>>0)){b=h;break}else b=h}}Qmb(a,48,b+9|0,9,0)}else{u=x?z:A+4|0;if((b|0)>-1){s=(s|0)==0;o=A;do{h=Omb(k[o>>2]|0,0,J)|0;if((h|0)==(J|0)){i[N+588+8>>0]=48;h=N+588+8|0}do if((o|0)==(A|0)){m=h+1|0;if(!(k[a>>2]&32))Lmb(h,1,a)|0;if(s&(b|0)<1){h=m;break}if(k[a>>2]&32|0){h=m;break}Lmb(616745,1,a)|0;h=m}else{if(h>>>0<=(N+588|0)>>>0)break;vBb(N+588|0,48,h+(0-K)|0)|0;do h=h+-1|0;while(h>>>0>(N+588|0)>>>0)}while(0);m=J-h|0;if(!(k[a>>2]&32))Lmb(h,(b|0)>(m|0)?m:b,a)|0;b=b-m|0;o=o+4|0}while(o>>>0>>0&(b|0)>-1)}Qmb(a,48,b+18|0,18,0);if(k[a>>2]&32|0)break;Lmb(v,M-v|0,a)|0}while(0);Qmb(a,32,G,y,E^8192);b=(y|0)<(G|0)?G:y}else{o=n!=n|0.0!=0.0;h=o?0:C;Qmb(a,32,G,h+3|0,m);b=k[a>>2]|0;if(!(b&32)){Lmb(D,h,a)|0;b=k[a>>2]|0}if(!(b&32))Lmb(o?(v&32|0?616741:616713):v&32|0?616705:616709,3,a)|0;Qmb(a,32,G,h+3|0,E^8192);b=(h+3|0)<(G|0)?G:h+3|0}while(0);h=b;y=F;continue a}default:{b=y;m=E;v=s;x=0;w=614777;h=I}}while(0);g:do if((H|0)==64){h=k[N>>2]|0;m=k[N+4>>2]|0;o=v&32;if((h|0)==0&(m|0)==0){b=I;h=u;u=0;o=614777;H=77}else{b=I;do{b=b+-1|0;i[b>>0]=l[614761+(h&15)>>0]|o;h=FBb(h|0,m|0,4)|0;m=L}while(!((h|0)==0&(m|0)==0));if((u&8|0)==0|(k[N>>2]|0)==0&(k[N+4>>2]|0)==0){h=u;u=0;o=614777;H=77}else{h=u;u=2;o=614777+(v>>4)|0;H=77}}}else if((H|0)==76){b=Omb(b,h,I)|0;h=E;u=m;H=77}else if((H|0)==82){H=0;E=Cmb(h,0,s)|0;b=h;v=(E|0)==0?s:E-h|0;x=0;w=614777;h=(E|0)==0?h+s|0:E}else if((H|0)==86){H=0;m=0;h=0;u=b;while(1){o=k[u>>2]|0;if(!o)break;h=Rmb(N+528|0,o)|0;if((h|0)<0|h>>>0>(s-m|0)>>>0)break;m=h+m|0;if(s>>>0>m>>>0)u=u+4|0;else break}if((h|0)<0){f=-1;break a}Qmb(a,32,G,m,E);if(!m){b=0;H=97}else{o=0;while(1){h=k[b>>2]|0;if(!h){b=m;H=97;break g}h=Rmb(N+528|0,h)|0;o=h+o|0;if((o|0)>(m|0)){b=m;H=97;break g}if(!(k[a>>2]&32))Lmb(N+528|0,h,a)|0;if(o>>>0>=m>>>0){b=m;H=97;break}else b=b+4|0}}}while(0);if((H|0)==97){H=0;Qmb(a,32,G,b,E^8192);h=(G|0)>(b|0)?G:b;y=F;continue}if((H|0)==77){H=0;m=(s|0)>-1?h&-65537:h;h=(k[N>>2]|0)!=0|(k[N+4>>2]|0)!=0;if((s|0)!=0|h){v=(h&1^1)+(I-b)|0;v=(s|0)>(v|0)?s:v;x=u;w=o;h=I}else{b=I;v=0;x=u;w=o;h=I}}u=h-b|0;o=(v|0)<(u|0)?u:v;s=x+o|0;h=(G|0)<(s|0)?s:G;Qmb(a,32,h,s,m);if(!(k[a>>2]&32))Lmb(w,x,a)|0;Qmb(a,48,h,s,m^65536);Qmb(a,48,o,u,0);if(!(k[a>>2]&32))Lmb(b,u,a)|0;Qmb(a,32,h,s,m^8192);y=F}h:do if((H|0)==244)if(!a)if(!g)f=0;else{f=1;while(1){g=k[e+(f<<2)>>2]|0;if(!g)break;Nmb(d+(f<<3)|0,g,c);f=f+1|0;if((f|0)>=10){f=1;break h}}if((f|0)<10)while(1){if(k[e+(f<<2)>>2]|0){f=-1;break h}f=f+1|0;if((f|0)>=10){f=1;break}}else f=1}while(0);r=N;return f|0}function Lmb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=k[c+16>>2]|0;if(!d)if(!(Mmb(c)|0)){d=k[c+16>>2]|0;e=5}else d=0;else e=5;a:do if((e|0)==5){f=k[c+20>>2]|0;if((d-f|0)>>>0>>0){d=Ri[k[c+36>>2]&255](c,a,b)|0;break}b:do if((i[c+75>>0]|0)>-1){d=b;while(1){if(!d){e=f;d=0;break b}e=d+-1|0;if((i[a+e>>0]|0)==10)break;else d=e}if((Ri[k[c+36>>2]&255](c,a,d)|0)>>>0>>0)break a;b=b-d|0;a=a+d|0;e=k[c+20>>2]|0}else{e=f;d=0}while(0);ABb(e|0,a|0,b|0)|0;k[c+20>>2]=(k[c+20>>2]|0)+b;d=d+b|0}while(0);return d|0}function Mmb(a){a=a|0;var b=0;b=i[a+74>>0]|0;i[a+74>>0]=b+255|b;b=k[a>>2]|0;if(!(b&8)){k[a+8>>2]=0;k[a+4>>2]=0;b=k[a+44>>2]|0;k[a+28>>2]=b;k[a+20>>2]=b;k[a+16>>2]=b+(k[a+48>>2]|0);b=0}else{k[a>>2]=b|32;b=-1}return b|0}function Nmb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0.0;a:do if(b>>>0<=20)do switch(b|0){case 9:{d=(k[c>>2]|0)+(4-1)&~(4-1);b=k[d>>2]|0;k[c>>2]=d+4;k[a>>2]=b;break a}case 10:{b=(k[c>>2]|0)+(4-1)&~(4-1);d=k[b>>2]|0;k[c>>2]=b+4;k[a>>2]=d;k[a+4>>2]=((d|0)<0)<<31>>31;break a}case 11:{b=(k[c>>2]|0)+(4-1)&~(4-1);d=k[b>>2]|0;k[c>>2]=b+4;k[a>>2]=d;k[a+4>>2]=0;break a}case 12:{e=(k[c>>2]|0)+(8-1)&~(8-1);b=k[e>>2]|0;d=k[e+4>>2]|0;k[c>>2]=e+8;k[a>>2]=b;k[a+4>>2]=d;break a}case 13:{d=(k[c>>2]|0)+(4-1)&~(4-1);e=k[d>>2]|0;k[c>>2]=d+4;k[a>>2]=(e&65535)<<16>>16;k[a+4>>2]=(((e&65535)<<16>>16|0)<0)<<31>>31;break a}case 14:{d=(k[c>>2]|0)+(4-1)&~(4-1);e=k[d>>2]|0;k[c>>2]=d+4;k[a>>2]=e&65535;k[a+4>>2]=0;break a}case 15:{d=(k[c>>2]|0)+(4-1)&~(4-1);e=k[d>>2]|0;k[c>>2]=d+4;k[a>>2]=(e&255)<<24>>24;k[a+4>>2]=(((e&255)<<24>>24|0)<0)<<31>>31;break a}case 16:{d=(k[c>>2]|0)+(4-1)&~(4-1);e=k[d>>2]|0;k[c>>2]=d+4;k[a>>2]=e&255;k[a+4>>2]=0;break a}case 17:{e=(k[c>>2]|0)+(8-1)&~(8-1);f=+p[e>>3];k[c>>2]=e+8;p[a>>3]=f;break a}case 18:{e=(k[c>>2]|0)+(8-1)&~(8-1);f=+p[e>>3];k[c>>2]=e+8;p[a>>3]=f;break a}default:break a}while(0);while(0);return}function Omb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(b>>>0>0|(b|0)==0&a>>>0>4294967295){while(1){d=MBb(a|0,b|0,10,0)|0;c=c+-1|0;i[c>>0]=d|48;d=LBb(a|0,b|0,10,0)|0;if(b>>>0>9|(b|0)==9&a>>>0>4294967295){a=d;b=L}else break}a=d}if(a)while(1){c=c+-1|0;i[c>>0]=(a>>>0)%10|0|48;if(a>>>0<10)break;else a=(a>>>0)/10|0}return c|0}function Pmb(a){a=a|0;var b=0,c=0;b=0;while(1){if((l[614787+b>>0]|0)==(a|0)){c=2;break}b=b+1|0;if((b|0)==87){b=87;a=614875;c=5;break}}if((c|0)==2)if(!b)a=614875;else{a=614875;c=5}if((c|0)==5)while(1){c=a;while(1){a=c+1|0;if(!(i[c>>0]|0))break;else c=a}b=b+-1|0;if(!b)break;else c=5}return a|0}function Qmb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;g=r;r=r+256|0;do if((c|0)>(d|0)&(e&73728|0)==0){vBb(g|0,b|0,((c-d|0)>>>0>256?256:c-d|0)|0)|0;e=k[a>>2]|0;if((c-d|0)>>>0>255){f=c-d|0;b=e;e=(e&32|0)==0;do{if(e){Lmb(g,256,a)|0;b=k[a>>2]|0}f=f+-256|0;e=(b&32|0)==0}while(f>>>0>255);if(e)b=c-d&255;else break}else if(!(e&32))b=c-d|0;else break;Lmb(g,b,a)|0}while(0);r=g;return}function Rmb(a,b){a=a|0;b=b|0;if(!a)a=0;else a=Smb(a,b,0)|0;return a|0}function Smb(a,b,c){a=a|0;b=b|0;c=c|0;do if(!a)a=1;else{if(b>>>0<128){i[a>>0]=b;a=1;break}if(b>>>0<2048){i[a>>0]=b>>>6|192;i[a+1>>0]=b&63|128;a=2;break}if(b>>>0<55296|(b&-8192|0)==57344){i[a>>0]=b>>>12|224;i[a+1>>0]=b>>>6&63|128;i[a+2>>0]=b&63|128;a=3;break}if((b+-65536|0)>>>0<1048576){i[a>>0]=b>>>18|240;i[a+1>>0]=b>>>12&63|128;i[a+2>>0]=b>>>6&63|128;i[a+3>>0]=b&63|128;a=4;break}else{a=_lb()|0;k[a>>2]=84;a=-1;break}}while(0);return a|0}function Tmb(a,b){a=+a;b=b|0;return +(+Umb(a,b))}function Umb(a,b){a=+a;b=b|0;var c=0,d=0,e=0;p[t>>3]=a;c=k[t>>2]|0;d=k[t+4>>2]|0;e=FBb(c|0,d|0,52)|0;switch(e&2047|0){case 0:{if(a!=0.0){a=+Umb(a*18446744073709551616.0,b);c=(k[b>>2]|0)+-64|0}else c=0;k[b>>2]=c;break}case 2047:break;default:{k[b>>2]=(e&2047)+-1022;k[t>>2]=c;k[t+4>>2]=d&-2146435073|1071644672;a=+p[t>>3]}}return +a}function Vmb(a){a=a|0;return 0}function Wmb(a,b){a=a|0;b=b|0;var c=0,d=0;d=i[a>>0]|0;c=i[b>>0]|0;if(d<<24>>24==0?1:d<<24>>24!=c<<24>>24)b=d;else{do{a=a+1|0;b=b+1|0;d=i[a>>0]|0;c=i[b>>0]|0}while(!(d<<24>>24==0?1:d<<24>>24!=c<<24>>24));b=d}return (b&255)-(c&255)|0}function Xmb(){return 149068}function Ymb(){return 149072}function Zmb(){return 150612}function _mb(a){a=a|0;return ((a+-48|0)>>>0<10|($mb(a)|0)!=0)&1|0}function $mb(a){a=a|0;return ((a|32)+-97|0)>>>0<26|0}function anb(a){a=a|0;return ((a|0)==32|(a|0)==9)&1|0}function bnb(a){a=a|0;return (a>>>0<32|(a|0)==127)&1|0}function cnb(a){a=a|0;return (a+-33|0)>>>0<94|0}function dnb(a){a=a|0;if(!(cnb(a)|0))a=0;else a=(_mb(a)|0)==0;return a&1|0}function enb(a){a=a|0;var b=0;b=a;while(1)if(!(k[b>>2]|0))break;else b=b+4|0;return b-a>>2|0}function fnb(a){a=a|0;if((a+-48|0)>>>0<10)a=1;else a=((a|32)+-97|0)>>>0<6;return a&1|0}function gnb(a,b){a=a|0;b=b|0;return Wmb(a,b)|0}function hnb(a){a=a|0;var b=0;b=inb(k[a>>2]|0)|0;iqb(a);return b|0}function inb(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;a=ph(6,b|0)|0;a=Zlb((a|0)==-4?-115:a)|0;r=b;return a|0}function jnb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=r;r=r+48|0;k[e>>2]=a;k[e+4>>2]=b;c=Hh(197,e|0)|0;if((c|0)==-9){k[e+8>>2]=a;k[e+8+4>>2]=1;if((mb(221,e+8|0)|0)<0)d=3;else{knb(e+8|0,a);k[e+40>>2]=e+8;k[e+40+4>>2]=b;c=Zlb(Jh(195,e+40|0)|0)|0}}else d=3;if((d|0)==3)c=Zlb(c)|0;r=e;return c|0}function knb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=a;d=616717;e=c+15|0;do{i[c>>0]=i[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));if(!b){i[a+14>>0]=48;i[a+15>>0]=0}else{c=14;d=b;while(1){c=c+1|0;if(d>>>0<10)break;else d=(d>>>0)/10|0}i[a+c>>0]=0;while(1){c=c+-1|0;i[a+c>>0]=(b>>>0)%10|0|48;if(b>>>0<10)break;else b=(b>>>0)/10|0}}return}function lnb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+192|0;k[e+176>>2]=c;c=(k[e+176>>2]|0)+(4-1)&~(4-1);d=k[c>>2]|0;k[e+176>>2]=c+4;d=(b|0)==4?d|32768:d;a:do switch(b|0){case 14:{k[e>>2]=a;k[e+4>>2]=14;k[e+8>>2]=d;c=Zlb(mb(221,e|0)|0)|0;break}case 9:{k[e+16>>2]=a;k[e+16+4>>2]=16;k[e+16+8>>2]=e+168;c=mb(221,e+16|0)|0;switch(c|0){case -22:{k[e+32>>2]=a;k[e+32+4>>2]=9;k[e+32+8>>2]=d;c=mb(221,e+32|0)|0;break}case 0:{c=k[e+168+4>>2]|0;c=(k[e+168>>2]|0)==2?0-c|0:c;break}default:c=Zlb(c)|0}break}case 1030:{k[e+48>>2]=a;k[e+48+4>>2]=1030;k[e+48+8>>2]=d;c=mb(221,e+48|0)|0;if((c|0)!=-22){if((c|0)>-1){k[e+64>>2]=c;k[e+64+4>>2]=2;k[e+64+8>>2]=1;mb(221,e+64|0)|0}c=Zlb(c)|0;break a}k[e+80>>2]=a;k[e+80+4>>2]=1030;k[e+80+8>>2]=0;c=mb(221,e+80|0)|0;if((c|0)==-22){k[e+104>>2]=a;k[e+104+4>>2]=0;k[e+104+8>>2]=d;c=mb(221,e+104|0)|0;if((c|0)>-1){k[e+120>>2]=c;k[e+120+4>>2]=2;k[e+120+8>>2]=1;mb(221,e+120|0)|0}c=Zlb(c)|0;break a}else{if((c|0)>-1){k[e+96>>2]=c;ph(6,e+96|0)|0}c=Zlb(-22)|0;break a}}default:if((b+-12|0)>>>0<5){k[e+136>>2]=a;k[e+136+4>>2]=b;k[e+136+8>>2]=d;c=Zlb(mb(221,e+136|0)|0)|0;break a}else{k[e+152>>2]=a;k[e+152+4>>2]=b;k[e+152+8>>2]=d;c=Zlb(mb(221,e+152|0)|0)|0;break a}}while(0);r=e;return c|0}function mnb(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=nnb(a,589824,c)|0;do if((b|0)<0)a=0;else{a=jqb(1,2072)|0;if(!a){k[c+8>>2]=b;ph(6,c+8|0)|0;a=0;break}else{k[a>>2]=b;break}}while(0);r=c;return a|0}function nnb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=r;r=r+32|0;k[d+16>>2]=c;e=(k[d+16>>2]|0)+(4-1)&~(4-1);c=k[e>>2]|0;k[d+16>>2]=e+4;k[d>>2]=a;k[d+4>>2]=b|32768;k[d+8>>2]=c;c=Zlb(qh(5,d|0)|0)|0;r=d;return c|0}function onb(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+16|0;b=k[a+8>>2]|0;do if((b|0)<(k[a+12>>2]|0))c=6;else{k[d>>2]=k[a>>2];k[d+4>>2]=a+24;k[d+8>>2]=2048;b=ob(220,d|0)|0;if((b|0)>=1){k[a+12>>2]=b;k[a+8>>2]=0;b=0;c=6;break}if((b|0)<0&(b|0)!=-2){a=_lb()|0;k[a>>2]=0-b;b=0}else b=0}while(0);if((c|0)==6){c=a+24+b|0;k[a+8>>2]=(m[c+8>>1]|0)+b;k[a+4>>2]=k[c+4>>2];b=c}r=d;return b|0}function pnb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+32|0;k[d>>2]=a;k[d+4>>2]=0;k[d+8>>2]=b;k[d+12>>2]=d+20;k[d+16>>2]=c;c=(Zlb(Bb(140,d|0)|0)|0)!=0;r=d;return (c?-1:k[d+20>>2]|0)|0}function qnb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,l=0;l=r;r=r+208|0;h=ha(c,b)|0;k[l>>2]=1;k[l+4>>2]=0;if(h|0){k[l+8+4>>2]=c;k[l+8>>2]=c;e=c;b=c;f=2;while(1){b=b+c+e|0;k[l+8+(f<<2)>>2]=b;if(b>>>0>>0){i=e;e=b;f=f+1|0;b=i}else break}if((a+h+(0-c)|0)>>>0>a>>>0){e=1;g=a;f=1;while(1){do if((e&3|0)==3){rnb(g,c,d,f,l+8|0);i=k[l+4>>2]|0;b=i<<30|(k[l>>2]|0)>>>2;k[l>>2]=b;k[l+4>>2]=i>>>2;f=f+2|0}else{b=f+-1|0;if((k[l+8+(b<<2)>>2]|0)>>>0<(a+h+(0-c)-g|0)>>>0)rnb(g,c,d,f,l+8|0);else tnb(g,c,d,l,f,0,l+8|0);if((f|0)==1){b=k[l>>2]|0;k[l+4>>2]=b>>>31|k[l+4>>2]<<1;k[l>>2]=b<<1;b=b<<1;f=0;break}if(b>>>0>31){e=k[l>>2]|0;k[l+4>>2]=e;k[l>>2]=0;b=f+-33|0;f=0}else{e=k[l+4>>2]|0;f=k[l>>2]|0}k[l+4>>2]=f>>>(32-b|0)|e<>2]=b;f=1}while(0);e=b|1;k[l>>2]=e;b=g+c|0;if(b>>>0>=(a+h+(0-c)|0)>>>0){g=f;break}else g=b}}else{b=a;g=1}tnb(b,c,d,l,g,0,l+8|0);e=k[l>>2]|0;f=k[l+4>>2]|0;if(!((g|0)==1&(e|0)==1&(f|0)==0)){a=(f|0)==0;h=b;i=g;while(1){if((i|0)<2){b=e+-1|0;do if(!b){g=32;j=28}else{if(!(b&1)){g=0;do{g=g+1|0;b=b>>>1}while(!(b&1|0))}else{if(a)b=32;else{if(!(f&1)){g=f;b=0}else{b=0;g=0;break}do{b=b+1|0;g=g>>>1}while(!(g&1|0))}g=b+32|0}if(g>>>0>31)j=28;else b=g}while(0);if((j|0)==28){j=0;k[l>>2]=f;k[l+4>>2]=0;b=g+-32|0;e=f;f=0}k[l>>2]=f<<32-b|e>>>b;k[l+4>>2]=f>>>b;h=h+(0-c)|0;b=g+i|0}else{a=e>>>30;b=i+-2|0;k[l>>2]=(e<<1&2147483646|a<<31)^3;k[l+4>>2]=(a|f<<2)>>>1;tnb(h+(0-(k[l+8+(b<<2)>>2]|0))+(0-c)|0,c,d,l,i+-1|0,1,l+8|0);i=k[l>>2]|0;k[l+4>>2]=i>>>31|k[l+4>>2]<<1;k[l>>2]=i<<1|1;h=h+(0-c)|0;tnb(h,c,d,l,b,1,l+8|0)}e=k[l>>2]|0;f=k[l+4>>2]|0;a=(f|0)==0;if((b|0)==1&(e|0)==1&a)break;else i=b}}}r=l;return}function rnb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,l=0,m=0;m=r;r=r+240|0;k[m>>2]=a;a:do if((d|0)>1){f=d;g=a;i=a;j=1;while(1){a=g+(0-b)|0;l=f+-2|0;h=a+(0-(k[e+(l<<2)>>2]|0))|0;if((gj[c&511](i,h)|0)>-1)if((gj[c&511](i,a)|0)>-1){d=j;break a}d=j+1|0;g=m+(j<<2)|0;if((gj[c&511](h,a)|0)>-1){k[g>>2]=h;a=h;f=f+-1|0}else{k[g>>2]=a;f=l}if((f|0)<=1)break a;g=a;i=k[m>>2]|0;j=d}}else d=1;while(0);snb(b,m,d);r=m;return}function snb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;f=r;r=r+256|0;a:do if((c|0)>=2){k[b+(c<<2)>>2]=f;if(a|0){d=f;while(1){e=a>>>0>256?256:a;ABb(d|0,k[b>>2]|0,e|0)|0;d=0;do{g=b+(d<<2)|0;d=d+1|0;ABb(k[g>>2]|0,k[b+(d<<2)>>2]|0,e|0)|0;k[g>>2]=(k[g>>2]|0)+e}while((d|0)!=(c|0));if((a|0)==(e|0))break a;a=a-e|0;d=k[b+(c<<2)>>2]|0}}}while(0);r=f;return}function tnb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,l=0,m=0,n=0,o=0;o=r;r=r+240|0;i=k[d>>2]|0;h=k[d+4>>2]|0;k[o>>2]=a;a:do if((h|0)!=0|(i|0)!=1){d=a+(0-(k[g+(e<<2)>>2]|0))|0;if((gj[c&511](d,a)|0)<1){d=1;n=18}else{f=(f|0)==0;m=d;j=1;l=i;while(1){if(f&(e|0)>1){d=a+(0-b)|0;f=k[g+(e+-2<<2)>>2]|0;if((gj[c&511](d,m)|0)>-1){f=e;d=j;n=19;break a}if((gj[c&511](d+(0-f)|0,m)|0)>-1){f=e;d=j;n=19;break a}}d=j+1|0;k[o+(j<<2)>>2]=m;f=l+-1|0;do if(!f){a=32;n=15}else{if(!(f&1)){a=0;do{a=a+1|0;f=f>>>1}while(!(f&1|0))}else{if(!h)f=32;else{if(!(h&1)){a=h;f=0}else{i=0;f=l;a=0;break}do{f=f+1|0;a=a>>>1}while(!(a&1|0))}a=f+32|0}if(a>>>0>31)n=15;else{i=a;f=l}}while(0);if((n|0)==15){n=0;i=a+-32|0;f=h;h=0}l=h<<32-i|f>>>i;h=h>>>i;f=a+e|0;if(!((h|0)!=0|(l|0)!=1)){a=m;n=19;break a}a=m+(0-(k[g+(f<<2)>>2]|0))|0;if((gj[c&511](a,k[o>>2]|0)|0)<1){a=m;e=f;f=0;n=18;break}else{i=m;e=f;f=1;m=a;j=d;a=i}}}}else{d=1;n=18}while(0);if((n|0)==18)if(!f){f=e;n=19}if((n|0)==19){snb(b,o,d);rnb(a,b,c,f,g)}r=o;return}function unb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0,f=0.0,g=0,h=0,j=0,m=0.0,n=0,o=0.0,p=0,q=0.0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,C=0,D=0,E=0,F=0,G=0.0;F=r;r=r+512|0;switch(b|0){case 0:{E=24;C=-149;z=4;break}case 1:{E=53;C=-1074;z=4;break}case 2:{E=53;C=-1074;z=4;break}default:d=0.0}a:do if((z|0)==4){do{b=k[a+4>>2]|0;if(b>>>0<(k[a+100>>2]|0)>>>0){k[a+4>>2]=b+1;b=l[b>>0]|0}else b=nmb(a)|0}while((qmb(b)|0)!=0);b:do switch(b|0){case 43:case 45:{e=k[a+4>>2]|0;if(e>>>0<(k[a+100>>2]|0)>>>0){k[a+4>>2]=e+1;e=l[e>>0]|0;D=1-(((b|0)==45&1)<<1)|0;break b}else{e=nmb(a)|0;D=1-(((b|0)==45&1)<<1)|0;break b}}default:{e=b;D=1}}while(0);b=0;do{if((e|32|0)!=(i[616732+b>>0]|0))break;do if(b>>>0<7){e=k[a+4>>2]|0;if(e>>>0<(k[a+100>>2]|0)>>>0){k[a+4>>2]=e+1;e=l[e>>0]|0;break}else{e=nmb(a)|0;break}}while(0);b=b+1|0}while(b>>>0<8);c:do switch(b|0){case 8:break;case 3:{z=23;break}default:{if((c|0)!=0&b>>>0>3)if((b|0)==8)break c;else{z=23;break c}d:do if(!b){b=0;do{if((e|32|0)!=(i[616741+b>>0]|0))break d;do if(b>>>0<2){e=k[a+4>>2]|0;if(e>>>0<(k[a+100>>2]|0)>>>0){k[a+4>>2]=e+1;e=l[e>>0]|0;break}else{e=nmb(a)|0;break}}while(0);b=b+1|0}while(b>>>0<3)}while(0);switch(b|0){case 3:{b=k[a+4>>2]|0;if(b>>>0<(k[a+100>>2]|0)>>>0){k[a+4>>2]=b+1;b=l[b>>0]|0}else b=nmb(a)|0;if((b|0)==40)b=1;else{if(!(k[a+100>>2]|0)){d=A;break a}k[a+4>>2]=(k[a+4>>2]|0)+-1;d=A;break a}while(1){e=k[a+4>>2]|0;if(e>>>0<(k[a+100>>2]|0)>>>0){k[a+4>>2]=e+1;e=l[e>>0]|0}else e=nmb(a)|0;if(!((e+-48|0)>>>0<10|(e+-65|0)>>>0<26))if(!((e|0)==95|(e+-97|0)>>>0<26))break;b=b+1|0}if((e|0)==41){d=A;break a}e=(k[a+100>>2]|0)==0;if(!e)k[a+4>>2]=(k[a+4>>2]|0)+-1;if(!c){E=_lb()|0;k[E>>2]=22;lmb(a,0);d=0.0;break a}if(!b){d=A;break a}while(1){b=b+-1|0;if(!e)k[a+4>>2]=(k[a+4>>2]|0)+-1;if(!b){d=A;break a}}}case 0:{do if((e|0)==48){b=k[a+4>>2]|0;if(b>>>0<(k[a+100>>2]|0)>>>0){k[a+4>>2]=b+1;b=l[b>>0]|0}else b=nmb(a)|0;if((b|32|0)!=120){if(!(k[a+100>>2]|0)){b=48;break}k[a+4>>2]=(k[a+4>>2]|0)+-1;b=48;break}b=k[a+4>>2]|0;if(b>>>0<(k[a+100>>2]|0)>>>0){k[a+4>>2]=b+1;b=l[b>>0]|0;g=0}else{b=nmb(a)|0;g=0}e:while(1){switch(b|0){case 46:{z=74;break e}case 48:break;default:{w=0;h=0;v=0;e=0;j=g;n=0;u=0;m=1.0;g=0;d=0.0;break e}}b=k[a+4>>2]|0;if(b>>>0<(k[a+100>>2]|0)>>>0){k[a+4>>2]=b+1;b=l[b>>0]|0;g=1;continue}else{b=nmb(a)|0;g=1;continue}}if((z|0)==74){b=k[a+4>>2]|0;if(b>>>0<(k[a+100>>2]|0)>>>0){k[a+4>>2]=b+1;b=l[b>>0]|0}else b=nmb(a)|0;if((b|0)==48){g=0;e=0;do{b=k[a+4>>2]|0;if(b>>>0<(k[a+100>>2]|0)>>>0){k[a+4>>2]=b+1;b=l[b>>0]|0}else b=nmb(a)|0;g=xBb(g|0,e|0,-1,-1)|0;e=L}while((b|0)==48);w=0;h=0;v=g;j=1;n=1;u=0;m=1.0;g=0;d=0.0}else{w=0;h=0;v=0;e=0;j=g;n=1;u=0;m=1.0;g=0;d=0.0}}while(1){s=b+-48|0;p=b|32;if(s>>>0<10)z=86;else{t=(b|0)==46;if(!(t|(p+-97|0)>>>0<6)){p=v;s=w;break}if(t)if(!n){t=h;e=w;s=w;n=1;p=u;f=m}else{p=v;s=w;b=46;break}else z=86}if((z|0)==86){z=0;b=(b|0)>57?p+-87|0:s;do if((w|0)<0|(w|0)==0&h>>>0<8){p=u;f=m;g=b+(g<<4)|0}else{if((w|0)<0|(w|0)==0&h>>>0<14){q=m*.0625;p=u;f=q;d=d+q*+(b|0);break}if((u|0)!=0|(b|0)==0){p=u;f=m}else{p=1;f=m;d=d+m*.5}}while(0);h=xBb(h|0,w|0,1,0)|0;t=v;s=L;j=1}b=k[a+4>>2]|0;if(b>>>0<(k[a+100>>2]|0)>>>0){k[a+4>>2]=b+1;w=s;v=t;b=l[b>>0]|0;u=p;m=f;continue}else{w=s;v=t;b=nmb(a)|0;u=p;m=f;continue}}if(!j){b=(k[a+100>>2]|0)==0;if(!b)k[a+4>>2]=(k[a+4>>2]|0)+-1;if(!c)lmb(a,0);else if(!b){b=k[a+4>>2]|0;k[a+4>>2]=b+-1;if(n|0)k[a+4>>2]=b+-2}d=+(D|0)*0.0;break a}j=(n|0)==0;n=j?h:p;j=j?s:e;if((s|0)<0|(s|0)==0&h>>>0<8){e=s;do{g=g<<4;h=xBb(h|0,e|0,1,0)|0;e=L}while((e|0)<0|(e|0)==0&h>>>0<8)}if((b|32|0)==112){e=vnb(a,c)|0;b=L;if((e|0)==0&(b|0)==-2147483648){if(!c){lmb(a,0);d=0.0;break a}if(!(k[a+100>>2]|0)){e=0;b=0}else{k[a+4>>2]=(k[a+4>>2]|0)+-1;e=0;b=0}}}else if(!(k[a+100>>2]|0)){e=0;b=0}else{k[a+4>>2]=(k[a+4>>2]|0)+-1;e=0;b=0}z=DBb(n|0,j|0,2)|0;z=xBb(z|0,L|0,-32,-1)|0;b=xBb(z|0,L|0,e|0,b|0)|0;e=L;if(!g){d=+(D|0)*0.0;break a}if((e|0)>0|(e|0)==0&b>>>0>(0-C|0)>>>0){E=_lb()|0;k[E>>2]=34;d=+(D|0)*1797693134862315708145274.0e284*1797693134862315708145274.0e284;break a}z=C+-106|0;if((e|0)<(((z|0)<0)<<31>>31|0)|(e|0)==(((z|0)<0)<<31>>31|0)&b>>>0>>0){E=_lb()|0;k[E>>2]=34;d=+(D|0)*2.2250738585072014e-308*2.2250738585072014e-308;break a}if((g|0)>-1)while(1){z=!(d>=.5);g=z&1|g<<1;d=d+(z?d:d+-1.0);b=xBb(b|0,e|0,-1,-1)|0;e=L;if((g|0)>-1)g=g^1;else{h=b;g=g^1;m=d;break}}else{h=b;m=d}b=EBb(32,0,C|0,((C|0)<0)<<31>>31|0)|0;b=xBb(h|0,e|0,b|0,L|0)|0;C=L;if(0>(C|0)|0==(C|0)&E>>>0>b>>>0)if((b|0)<0){b=0;z=127}else z=125;else{b=E;z=125}if((z|0)==125)if((b|0)<53)z=127;else{e=b;f=+(D|0);d=0.0}if((z|0)==127){d=+(D|0);e=b;f=d;d=+xnb(+wnb(1.0,84-b|0),d)}E=(g&1|0)==0&(m!=0.0&(e|0)<32);d=f*(E?0.0:m)+(d+f*+(((E&1)+g|0)>>>0))-d;if(!(d!=0.0)){E=_lb()|0;k[E>>2]=34}d=+ynb(d,h);break a}else b=e;while(0);y=C+E|0;g=0;f:while(1){switch(b|0){case 46:{z=138;break f}case 48:break;default:{e=0;s=0;p=0;break f}}b=k[a+4>>2]|0;if(b>>>0<(k[a+100>>2]|0)>>>0){k[a+4>>2]=b+1;b=l[b>>0]|0;g=1;continue}else{b=nmb(a)|0;g=1;continue}}if((z|0)==138){b=k[a+4>>2]|0;if(b>>>0<(k[a+100>>2]|0)>>>0){k[a+4>>2]=b+1;b=l[b>>0]|0}else b=nmb(a)|0;if((b|0)==48){e=0;b=0;while(1){e=xBb(e|0,b|0,-1,-1)|0;g=L;b=k[a+4>>2]|0;if(b>>>0<(k[a+100>>2]|0)>>>0){k[a+4>>2]=b+1;b=l[b>>0]|0}else b=nmb(a)|0;if((b|0)==48)b=g;else{s=g;g=1;p=1;break}}}else{e=0;s=0;p=1}}k[F>>2]=0;j=b+-48|0;h=(b|0)==46;g:do if(h|j>>>0<10){w=0;t=0;u=h;x=0;h=0;n=0;h:while(1){do if(u)if(!p){e=w;s=t;p=1}else{b=w;j=t;p=x;break h}else{u=xBb(w|0,t|0,1,0)|0;t=L;v=(b|0)!=48;if((h|0)>=125){if(!v){w=u;break}k[F+496>>2]=k[F+496>>2]|1;w=u;break}g=F+(h<<2)|0;if(x)j=b+-48+((k[g>>2]|0)*10|0)|0;k[g>>2]=j;z=x+1|0;w=u;g=1;x=(z|0)==9?0:z;h=((z|0)==9&1)+h|0;n=v?u:n}while(0);b=k[a+4>>2]|0;if(b>>>0<(k[a+100>>2]|0)>>>0){k[a+4>>2]=b+1;b=l[b>>0]|0}else b=nmb(a)|0;j=b+-48|0;u=(b|0)==46;if(!(u|j>>>0<10)){j=t;z=161;break g}}t=(g|0)!=0;g=p;z=169}else{w=0;j=0;x=0;h=0;n=0;z=161}while(0);do if((z|0)==161){v=(p|0)==0;e=v?w:e;s=v?j:s;g=(g|0)!=0;if(!((b|32|0)==101&g))if((b|0)>-1){b=w;t=g;g=x;z=169;break}else{b=w;t=g;g=x;z=171;break}g=vnb(a,c)|0;b=L;if((g|0)==0&(b|0)==-2147483648){if(!c){lmb(a,0);d=0.0;break}if(!(k[a+100>>2]|0)){g=0;b=0}else{k[a+4>>2]=(k[a+4>>2]|0)+-1;g=0;b=0}}e=xBb(g|0,b|0,e|0,s|0)|0;p=w;s=L;g=x;z=173}while(0);if((z|0)==169)if(!(k[a+100>>2]|0))z=171;else{k[a+4>>2]=(k[a+4>>2]|0)+-1;if(t){p=b;z=173}else z=172}if((z|0)==171)if(t){p=b;z=173}else z=172;do if((z|0)==172){E=_lb()|0;k[E>>2]=22;lmb(a,0);d=0.0}else if((z|0)==173){b=k[F>>2]|0;if(!b){d=+(D|0)*0.0;break}if(((j|0)<0|(j|0)==0&p>>>0<10)&((e|0)==(p|0)&(s|0)==(j|0)))if(E>>>0>30|(b>>>E|0)==0){d=+(D|0)*+(b>>>0);break}a=(C|0)/-2|0;if((s|0)>(((a|0)<0)<<31>>31|0)|(s|0)==(((a|0)<0)<<31>>31|0)&e>>>0>a>>>0){E=_lb()|0;k[E>>2]=34;d=+(D|0)*1797693134862315708145274.0e284*1797693134862315708145274.0e284;break}a=C+-106|0;if((s|0)<(((a|0)<0)<<31>>31|0)|(s|0)==(((a|0)<0)<<31>>31|0)&e>>>0>>0){E=_lb()|0;k[E>>2]=34;d=+(D|0)*2.2250738585072014e-308*2.2250738585072014e-308;break}if(g){if((g|0)<9){j=F+(h<<2)|0;b=k[j>>2]|0;do{b=b*10|0;g=g+1|0}while((g|0)!=9);k[j>>2]=b}h=h+1|0}if((n|0)<9)if((n|0)<=(e|0)&(e|0)<18){if((e|0)==9){d=+(D|0)*+((k[F>>2]|0)>>>0);break}if((e|0)<9){d=+(D|0)*+((k[F>>2]|0)>>>0)/+(k[152152+(8-e<<2)>>2]|0);break}a=E+27+(ha(e,-3)|0)|0;b=k[F>>2]|0;if((a|0)>30|(b>>>a|0)==0){d=+(D|0)*+(b>>>0)*+(k[152152+(e+-10<<2)>>2]|0);break}}b=(e|0)%9|0;if(!b){g=0;b=0}else{p=(e|0)>-1?b:b+9|0;j=k[152152+(8-p<<2)>>2]|0;if(!h){g=0;h=0}else{g=0;b=0;n=0;do{x=F+(n<<2)|0;c=k[x>>2]|0;a=((c>>>0)/(j>>>0)|0)+b|0;k[x>>2]=a;b=ha((c>>>0)%(j>>>0)|0,1e9/(j|0)|0)|0;a=(n|0)==(g|0)&(a|0)==0;n=n+1|0;e=a?e+-9|0:e;g=a?n&127:g}while((n|0)!=(h|0));if(b){k[F+(h<<2)>>2]=b;h=h+1|0}}b=0;e=9-p+e|0}i:while(1){s=(e|0)<18;t=(e|0)==18;u=F+(g<<2)|0;do{if(!s){if(!t){v=h;break i}if((k[u>>2]|0)>>>0>=9007199){e=18;v=h;break i}}n=0;j=h+127|0;while(1){p=j&127;j=DBb(k[F+(p<<2)>>2]|0,0,29)|0;j=xBb(j|0,L|0,n|0,0)|0;n=L;if(n>>>0>0|(n|0)==0&j>>>0>1e9){a=LBb(j|0,n|0,1e9,0)|0;j=MBb(j|0,n|0,1e9,0)|0;n=a}else n=0;k[F+(p<<2)>>2]=j;a=(p|0)==(g|0);h=(p|0)!=(h+127&127|0)|a?h:(j|0)==0?p:h;if(a)break;else j=p+-1|0}b=b+-29|0}while((n|0)==0);g=g+127&127;if((g|0)==(h|0)){k[F+((h+126&127)<<2)>>2]=k[F+((h+126&127)<<2)>>2]|k[F+((h+127&127)<<2)>>2];h=h+127&127}k[F+(g<<2)>>2]=n;e=e+9|0}j:while(1){h=v+1&127;u=F+((v+127&127)<<2)|0;while(1){s=(e|0)==18;t=(e|0)>27?9:1;while(1){n=g&127;p=(n|0)==(v|0);do if(p)z=219;else{j=k[F+(n<<2)>>2]|0;if(j>>>0<9007199){z=219;break}if(j>>>0>9007199)break;j=g+1&127;if((j|0)==(v|0)){z=219;break}j=k[F+(j<<2)>>2]|0;if(j>>>0<254740991){z=219;break}if(!(j>>>0>254740991|s^1)){e=n;h=v;break j}}while(0);if((z|0)==219){z=0;if(s){z=220;break j}}b=b+t|0;if((g|0)==(v|0))g=v;else break}n=g;j=0;p=g;while(1){c=F+(p<<2)|0;a=k[c>>2]|0;g=(a>>>t)+j|0;k[c>>2]=g;j=ha(a&(1<>>t)|0;g=(p|0)==(n|0)&(g|0)==0;p=p+1&127;e=g?e+-9|0:e;g=g?p:n;if((p|0)==(v|0))break;else n=g}if(!j)continue;if((h|0)!=(g|0))break;k[u>>2]=k[u>>2]|1}k[F+(v<<2)>>2]=j;v=h}if((z|0)==220)if(p){k[F+(h+-1<<2)>>2]=0;e=v}else{e=n;h=v}d=+((k[F+(e<<2)>>2]|0)>>>0);e=g+1&127;if((e|0)==(h|0)){h=g+2&127;k[F+(h+-1<<2)>>2]=0}q=+(D|0);f=q*(d*1.0e9+ +((k[F+(e<<2)>>2]|0)>>>0));s=b+53|0;n=s-C|0;p=(n|0)<(E|0);j=p?((n|0)<0?0:n):E;if((j|0)<53){G=+xnb(+wnb(1.0,105-j|0),f);m=+znb(f,+wnb(1.0,53-j|0));o=G;d=m;m=G+(f-m)}else{o=0.0;d=0.0;m=f}e=g+2&127;do if((e|0)==(h|0))f=d;else{e=k[F+(e<<2)>>2]|0;do if(e>>>0<5e8){if(!e)if((g+3&127|0)==(h|0))break;d=q*.25+d}else{if(e>>>0>5e8){d=q*.75+d;break}if((g+3&127|0)==(h|0)){d=q*.5+d;break}else{d=q*.75+d;break}}while(0);if((53-j|0)<=1){f=d;break}if(+znb(d,1.0)!=0.0){f=d;break}f=d+1.0}while(0);d=m+f-o;do if((s&2147483647|0)>(-2-y|0)){if(!(+W(+d)>=9007199254740992.0))e=p&1;else{e=p&(j|0)==(n|0)?0:p&1;b=b+1|0;d=d*.5}if((b+50|0)<=(0-y|0))if(!(f!=0.0&(e|0)!=0))break;E=_lb()|0;k[E>>2]=34}while(0);d=+ynb(d,b)}while(0);break a}default:{if(k[a+100>>2]|0)k[a+4>>2]=(k[a+4>>2]|0)+-1;E=_lb()|0;k[E>>2]=22;lmb(a,0);d=0.0;break a}}}}while(0);if((z|0)==23){e=(k[a+100>>2]|0)==0;if(!e)k[a+4>>2]=(k[a+4>>2]|0)+-1;if((c|0)!=0&b>>>0>3)do{if(!e)k[a+4>>2]=(k[a+4>>2]|0)+-1;b=b+-1|0}while(b>>>0>3)}d=+(D|0)*B}while(0);r=F;return +d}function vnb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=k[a+4>>2]|0;if(c>>>0<(k[a+100>>2]|0)>>>0){k[a+4>>2]=c+1;c=l[c>>0]|0}else c=nmb(a)|0;switch(c|0){case 43:case 45:{d=(c|0)==45&1;c=k[a+4>>2]|0;if(c>>>0<(k[a+100>>2]|0)>>>0){k[a+4>>2]=c+1;c=l[c>>0]|0}else c=nmb(a)|0;if((b|0)!=0&(c+-48|0)>>>0>9)if(!(k[a+100>>2]|0))f=d;else{k[a+4>>2]=(k[a+4>>2]|0)+-1;f=d}else f=d;break}default:f=0}if((c+-48|0)>>>0>9)if(!(k[a+100>>2]|0)){d=-2147483648;c=0}else{k[a+4>>2]=(k[a+4>>2]|0)+-1;d=-2147483648;c=0}else{d=0;do{d=c+-48+(d*10|0)|0;c=k[a+4>>2]|0;if(c>>>0<(k[a+100>>2]|0)>>>0){k[a+4>>2]=c+1;c=l[c>>0]|0}else c=nmb(a)|0}while((c+-48|0)>>>0<10&(d|0)<214748364);if((c+-48|0)>>>0<10){e=d;d=((d|0)<0)<<31>>31;while(1){b=KBb(e|0,d|0,10,0)|0;d=L;c=xBb(c|0,((c|0)<0)<<31>>31|0,-48,-1)|0;d=xBb(c|0,L|0,b|0,d|0)|0;b=L;c=k[a+4>>2]|0;if(c>>>0<(k[a+100>>2]|0)>>>0){k[a+4>>2]=c+1;c=l[c>>0]|0}else c=nmb(a)|0;if((c+-48|0)>>>0<10&((b|0)<21474836|(b|0)==21474836&d>>>0<2061584302)){e=d;d=b}else{e=d;break}}}else{e=d;b=((d|0)<0)<<31>>31}if((c+-48|0)>>>0<10)do{c=k[a+4>>2]|0;if(c>>>0<(k[a+100>>2]|0)>>>0){k[a+4>>2]=c+1;c=l[c>>0]|0}else c=nmb(a)|0}while((c+-48|0)>>>0<10);if(k[a+100>>2]|0)k[a+4>>2]=(k[a+4>>2]|0)+-1;a=(f|0)!=0;c=EBb(0,0,e|0,b|0)|0;d=a?L:b;c=a?c:e}L=d;return c|0}function wnb(a,b){a=+a;b=b|0;var c=0;if((b|0)>1023)if((b+-1023|0)>1023){b=(b+-2046|0)>1023?1023:b+-2046|0;a=a*8988465674311579538646525.0e283*8988465674311579538646525.0e283}else{b=b+-1023|0;a=a*8988465674311579538646525.0e283}else if((b|0)<-1022)if((b+1022|0)<-1022){b=(b+2044|0)<-1022?-1022:b+2044|0;a=a*2.2250738585072014e-308*2.2250738585072014e-308}else{b=b+1022|0;a=a*2.2250738585072014e-308}c=DBb(b+1023|0,0,52)|0;b=L;k[t>>2]=c;k[t+4>>2]=b;return +(a*+p[t>>3])}function xnb(a,b){a=+a;b=+b;return +(+xmb(a,b))}function ynb(a,b){a=+a;b=b|0;return +(+wnb(a,b))}function znb(a,b){a=+a;b=+b;return +(+Anb(a,b))}function Anb(a,b){a=+a;b=+b;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0.0;p[t>>3]=a;c=k[t>>2]|0;m=k[t+4>>2]|0;p[t>>3]=b;j=k[t>>2]|0;l=k[t+4>>2]|0;h=FBb(c|0,m|0,52)|0;i=FBb(j|0,l|0,52)|0;f=DBb(j|0,l|0,1)|0;g=L;a:do if((f|0)==0&(g|0)==0)n=3;else{o=+W(+b);p[t>>3]=o;e=k[t+4>>2]|0;if(e>>>0>2146435072|(e|0)==2146435072&(k[t>>2]|0)>>>0>0|(h&2047|0)==2047)n=3;else{d=DBb(c|0,m|0,1)|0;e=L;if(!(e>>>0>g>>>0|(e|0)==(g|0)&d>>>0>f>>>0))return +((d|0)==(f|0)&(e|0)==(g|0)?a*0.0:a);if(!(h&2047)){d=DBb(c|0,m|0,12)|0;e=L;if((e|0)>-1|(e|0)==-1&d>>>0>4294967295){f=d;d=0;do{d=d+-1|0;f=DBb(f|0,e|0,1)|0;e=L}while((e|0)>-1|(e|0)==-1&f>>>0>4294967295)}else d=0;c=DBb(c|0,m|0,1-d|0)|0;e=L}else{e=m&1048575|1048576;d=h&2047}if(!(i&2047)){f=DBb(j|0,l|0,12)|0;g=L;if((g|0)>-1|(g|0)==-1&f>>>0>4294967295){h=0;do{h=h+-1|0;f=DBb(f|0,g|0,1)|0;g=L}while((g|0)>-1|(g|0)==-1&f>>>0>4294967295)}else h=0;j=DBb(j|0,l|0,1-h|0)|0;l=L}else{l=l&1048575|1048576;h=i&2047}g=EBb(c|0,e|0,j|0,l|0)|0;f=L;b:do if((d|0)>(h|0)){i=(f|0)>-1|(f|0)==-1&g>>>0>4294967295;while(1){if(i)if((c|0)==(j|0)&(e|0)==(l|0))break;else{c=g;e=f}c=DBb(c|0,e|0,1)|0;e=L;d=d+-1|0;g=EBb(c|0,e|0,j|0,l|0)|0;f=L;if((d|0)>(h|0))i=(f|0)>-1|(f|0)==-1&g>>>0>4294967295;else{h=(f|0)>-1|(f|0)==-1&g>>>0>4294967295;break b}}b=a*0.0;break a}else h=(f|0)>-1|(f|0)==-1&g>>>0>4294967295;while(0);if(h)if((c|0)==(j|0)&(e|0)==(l|0)){b=a*0.0;break}else{e=f;c=g}if(e>>>0<1048576|(e|0)==1048576&c>>>0<0)do{c=DBb(c|0,e|0,1)|0;e=L;d=d+-1|0}while(e>>>0<1048576|(e|0)==1048576&c>>>0<0);if((d|0)>0){l=xBb(c|0,e|0,0,-1048576)|0;c=L;d=DBb(d|0,0,52)|0;c=c|L;d=l|d}else{d=FBb(c|0,e|0,1-d|0)|0;c=L}k[t>>2]=d;k[t+4>>2]=c|m&-2147483648;b=+p[t>>3]}}while(0);if((n|0)==3)b=a*b/(a*b);return +b}function Bnb(a){a=a|0;return 0}function Cnb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return d|0}function Dnb(a,b){a=a|0;b=b|0;return -1|0}function Enb(a){a=a|0;iqb(a);return}function Fnb(a){a=a|0;var b=0,c=0,d=0;a:do if(!(a&3)){b=a;d=4}else{c=a;b=a;while(1){if(!(i[c>>0]|0))break a;c=c+1|0;b=c;if(!(b&3)){b=c;d=4;break}}}while(0);if((d|0)==4){while(1){c=k[b>>2]|0;if(!((c&-2139062144^-2139062144)&c+-16843009))b=b+4|0;else break}if((c&255)<<24>>24)do b=b+1|0;while((i[b>>0]|0)!=0)}return b-a|0}function Gnb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;j=r;r=r+16|0;g=(d|0)==0?1202132:d;d=k[g>>2]|0;a:do if(!b)if(!d)d=0;else h=15;else{f=(a|0)==0?j:a;if(!c)d=-2;else{if(!d){d=i[b>>0]|0;if(d<<24>>24>-1){k[f>>2]=d&255;d=d<<24>>24!=0&1;break}if(((d&255)+-194|0)>>>0>50){h=15;break}d=k[148400+((d&255)+-194<<2)>>2]|0;if(c+-1|0){a=c+-1|0;b=b+1|0;h=9}}else{a=c;h=9}b:do if((h|0)==9){e=i[b>>0]|0;if((((e&255)>>>3)+-16|((e&255)>>>3)+(d>>26))>>>0>7){h=15;break a}while(1){b=b+1|0;d=(e&255)+-128|d<<6;a=a+-1|0;if((d|0)>=0)break;if(!a)break b;e=i[b>>0]|0;if((e&-64)<<24>>24!=-128){h=15;break a}}k[g>>2]=0;k[f>>2]=d;d=c-a|0;break a}while(0);k[g>>2]=d;d=-2}}while(0);if((h|0)==15){k[g>>2]=0;d=_lb()|0;k[d>>2]=84;d=-1}r=j;return d|0}function Hnb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=i[a>>0]|0;a:do if(!(c<<24>>24))a=0;else{e=c;d=c&255;while(1){c=i[b>>0]|0;if(!(c<<24>>24)){a=e;break a}if(e<<24>>24!=c<<24>>24){e=gmb(d)|0;if((e|0)!=(gmb(l[b>>0]|0)|0))break}a=a+1|0;b=b+1|0;c=i[a>>0]|0;if(!(c<<24>>24)){a=0;break a}else{e=c;d=c&255}}a=i[a>>0]|0}while(0);e=gmb(a&255)|0;return e-(gmb(l[b>>0]|0)|0)|0}function Inb(a,b){a=a|0;b=b|0;return (a+-48|0)>>>0<10|0}function Jnb(a,b){a=a|0;b=b|0;return fnb(a)|0}function Knb(){return 152184}function Lnb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(!(i[b>>0]|0))d=4;else if(!(Wmb(b,617827)|0))d=4;else if(!(Wmb(b,616747)|0))d=4;else c=0;if((d|0)==4)if(!c)c=jqb(1,4)|0;return c|0}function Mnb(a,b){a=a|0;b=b|0;return 616753}function Nnb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+16|0;k[e>>2]=d;d=Hmb(a,b,c,e)|0;r=e;return d|0}function Onb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;if(!c)b=0;else{d=i[a>>0]|0;a:do if(!(d<<24>>24))a=0;else{f=d;e=d&255;while(1){c=c+-1|0;d=i[b>>0]|0;if(!((c|0)!=0&d<<24>>24!=0)){a=f;break a}if(f<<24>>24!=d<<24>>24){f=gmb(e)|0;if((f|0)!=(gmb(l[b>>0]|0)|0))break}a=a+1|0;b=b+1|0;d=i[a>>0]|0;if(!(d<<24>>24)){a=0;break a}else{f=d;e=d&255}}a=i[a>>0]|0}while(0);f=gmb(a&255)|0;b=f-(gmb(l[b>>0]|0)|0)|0}return b|0}function Pnb(a,b){a=a|0;b=b|0;Qnb(a,b)|0;return a|0}function Qnb(a,b){a=a|0;b=b|0;var c=0,d=0;a:do if(!((b^a)&3)){if(b&3)do{d=i[b>>0]|0;i[a>>0]=d;if(!(d<<24>>24))break a;b=b+1|0;a=a+1|0}while((b&3|0)!=0);c=k[b>>2]|0;if(!((c&-2139062144^-2139062144)&c+-16843009)){d=a;while(1){b=b+4|0;a=d+4|0;k[d>>2]=c;c=k[b>>2]|0;if((c&-2139062144^-2139062144)&c+-16843009|0)break;else d=a}}c=8}else c=8;while(0);if((c|0)==8){d=i[b>>0]|0;i[a>>0]=d;if(d<<24>>24)do{b=b+1|0;a=a+1|0;d=i[b>>0]|0;i[a>>0]=d}while(d<<24>>24!=0)}return a|0}function Rnb(a){a=a|0;var b=0,c=0;b=(Ec()|0)+180|0;c=k[b>>2]|0;if(a|0)k[b>>2]=a;return c|0}function Snb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(c|0){d=a;while(1){c=c+-1|0;k[d>>2]=k[b>>2];if(!c)break;else{b=b+4|0;d=d+4|0}}}return a|0}function Tnb(a,b){a=+a;b=b|0;var c=0,d=0,e=0,f=0,g=0.0;p[t>>3]=a;e=k[t>>2]|0;f=k[t+4>>2]|0;c=FBb(e|0,f|0,52)|0;do if(((c&2047)+-1023|0)>51){p[b>>3]=a;if((e|0)==0&(f&1048575|0)==0|((c&2047)+-1023|0)!=1024){k[t>>2]=0;k[t+4>>2]=f&-2147483648;a=+p[t>>3]}}else{if((c&2047)>>>0<1023){k[b>>2]=0;k[b+4>>2]=f&-2147483648;break}c=FBb(-1,1048575,(c&2047)+-1023|0)|0;d=L;if((c&e|0)==0&(d&f|0)==0){p[b>>3]=a;k[t>>2]=0;k[t+4>>2]=f&-2147483648;a=+p[t>>3];break}else{k[t>>2]=e&~c;k[t+4>>2]=f&~d;g=+p[t>>3];k[b>>2]=e&~c;k[b+4>>2]=f&~d;a=a-g;break}}while(0);return +a}function Unb(a){a=+a;var b=0,c=0,d=0,e=0.0;p[t>>3]=a;b=k[t+4>>2]|0;do if((b&2147483647)>>>0>1083174911){c=(b|0)>-1|(b|0)==-1&(k[t>>2]|0)>>>0>4294967295;if(c&(b&2147483647)>>>0>1083179007){a=a*8988465674311579538646525.0e283;break}if((b&2147483647)>>>0>2146435071){a=-1.0/a;break}else if(!(a<=-1075.0)|c){d=9;break}else{a=0.0;break}}else if((b&2147483647)>>>0<1016070144)a=a+1.0;else d=9;while(0);if((d|0)==9){p[t>>3]=a+26388279066624.0;d=(k[t>>2]|0)+128|0;e=+p[3448+((d<<1&510)<<3)>>3];a=a-(a+26388279066624.0+-26388279066624.0)-+p[3448+((d<<1&510|1)<<3)>>3];a=+wnb(e+e*a*(a*(a*(a*(a*1.3333559164630223e-03+.009618129842126066)+.0555041086648214)+.2402265069591)+.6931471805599453),(d&-256|0)/256|0)}return +a}function Vnb(a,b){a=+a;b=b|0;return +(+wnb(a,b))}function Wnb(a){a=+a;var b=0;p[t>>3]=a;b=k[t+4>>2]|0;if(!((b&2146435072)>>>0>1126170624|(b&2146435072|0)==1126170624&0>0)){a=(b|0)<0?a+-4503599627370496.0+4503599627370496.0:a+4503599627370496.0+-4503599627370496.0;if(a==0.0)a=(b|0)<0?-0.0:0.0}return +a}function Xnb(a){a=+a;var b=0;b=(o[t>>2]=a,k[t>>2]|0);if((b&2130706432)>>>0<=1249902592){a=(b|0)<0?a+-8388608.0+8388608.0:a+8388608.0+-8388608.0;if(a==0.0)a=(b|0)<0?-0.0:0.0}return +a}function Ynb(a){a=+a;var b=0,c=0,d=0,e=0,f=0.0,g=0.0;p[t>>3]=a;b=k[t>>2]|0;c=k[t+4>>2]|0;do if((c|0)<0|c>>>0<1048576){f=+W(+a);p[t>>3]=f;if((k[t>>2]|0)==0&(k[t+4>>2]|0)==0){a=-1.0/(a*a);break}if((c|0)<0){a=(a-a)/0.0;break}else{p[t>>3]=a*18014398509481984.0;c=k[t+4>>2]|0;b=k[t>>2]|0;d=-1077;e=9;break}}else if(c>>>0<=2146435071)if((b|0)==0&0==0&(c|0)==1072693248)a=0.0;else{d=-1023;e=9}while(0);if((e|0)==9){e=c+614242|0;k[t>>2]=b;k[t+4>>2]=(e&1048575)+1072079006;g=+p[t>>3]+-1.0;a=g/(g+2.0)*(g/(g+2.0));p[t>>3]=g-g*(g*.5);c=k[t+4>>2]|0;k[t>>2]=0;k[t+4>>2]=c;f=+p[t>>3];a=g-f-g*(g*.5)+g/(g+2.0)*(g*(g*.5)+(a*a*(a*a*(a*a*.15313837699209373+.22222198432149784)+.3999999999940942)+a*(a*a*(a*a*(a*a*.14798198605116586+.1818357216161805)+.2857142874366239)+.6666666666666735)));g=+(d+(e>>>20)|0);a=g*.30102999566361177+f*.4342944818781689+(f*.4342944818781689+(g*.30102999566361177-(g*.30102999566361177+f*.4342944818781689))+(a*.4342944818781689+(g*3.694239077158931e-13+(f+a)*2.5082946711645275e-11)))}return +a}function Znb(a){a=+a;var b=0,c=0,d=0,e=0,f=0.0,g=0.0;p[t>>3]=a;b=k[t>>2]|0;c=k[t+4>>2]|0;do if((c|0)<0|c>>>0<1048576){f=+W(+a);p[t>>3]=f;if((k[t>>2]|0)==0&(k[t+4>>2]|0)==0){a=-1.0/(a*a);break}if((c|0)<0){a=(a-a)/0.0;break}else{p[t>>3]=a*18014398509481984.0;c=k[t+4>>2]|0;b=k[t>>2]|0;d=-1077;e=9;break}}else if(c>>>0<=2146435071)if((b|0)==0&0==0&(c|0)==1072693248)a=0.0;else{d=-1023;e=9}while(0);if((e|0)==9){e=c+614242|0;k[t>>2]=b;k[t+4>>2]=(e&1048575)+1072079006;g=+p[t>>3]+-1.0;a=g/(g+2.0)*(g/(g+2.0));p[t>>3]=g-g*(g*.5);c=k[t+4>>2]|0;k[t>>2]=0;k[t+4>>2]=c;f=+p[t>>3];a=g-f-g*(g*.5)+g/(g+2.0)*(g*(g*.5)+(a*a*(a*a*(a*a*.15313837699209373+.22222198432149784)+.3999999999940942)+a*(a*a*(a*a*(a*a*.14798198605116586+.1818357216161805)+.2857142874366239)+.6666666666666735)));g=+(d+(e>>>20)|0);a=g+f*1.4426950407214463+(f*1.4426950407214463+(g-(g+f*1.4426950407214463))+(a*1.4426950407214463+(f+a)*1.6751713164886512e-10))}return +a}function _nb(a){a=+a;var b=0,c=0;p[t>>3]=a;c=k[t+4>>2]|0;a=+W(+a);p[t>>3]=a;b=k[t+4>>2]|0;do if(b>>>0>1071748074)if(b>>>0>1077149696){a=1.0-0.0/a;break}else{a=1.0-2.0/(+zmb(a*2.0)+2.0);break}else{if(b>>>0>1070618798){a=+zmb(a*2.0);a=a/(a+2.0);break}if(b>>>0>1048575){a=+zmb(a*-2.0);a=-a/(a+2.0)}}while(0);return +((c|0)<0?-a:a)}function $nb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=r;r=r+32|0;k[d+16>>2]=c;e=(k[d+16>>2]|0)+(4-1)&~(4-1);c=k[e>>2]|0;k[d+16>>2]=e+4;k[d>>2]=a;k[d+4>>2]=b;k[d+8>>2]=c;c=Zlb(qi(54,d|0)|0)|0;r=d;return c|0}function aob(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c>>2]=a;k[c+4>>2]=b;a=Zlb(Jh(195,c|0)|0)|0;r=c;return a|0}function bob(a){a=a|0;var b=0,c=0;c=(Fnb(a)|0)+1|0;b=hqb(c)|0;if(!b)b=0;else ABb(b|0,a|0,c|0)|0;return b|0}function cob(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+4112|0;if(!a){b=4096;a=d+8|0;c=4}else if(!b){a=_lb()|0;k[a>>2]=22;a=0}else c=4;if((c|0)==4){k[d>>2]=a;k[d+4>>2]=b;if((Zlb(sc(183,d|0)|0)|0)<0)a=0;else if((a|0)==(d+8|0))a=bob(d+8|0)|0}r=d;return a|0}function dob(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;a=Zlb(md(122,b|0)|0)|0;r=b;return a|0}function eob(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=r;r=r+16|0;a:do if(!b)a=0;else{do if(c|0){e=(a|0)==0?f:a;a=i[b>>0]|0;if(a<<24>>24>-1){k[e>>2]=a&255;a=a<<24>>24!=0&1;break a}if(((a&255)+-194|0)>>>0<=50){d=k[148400+((a&255)+-194<<2)>>2]|0;if(c>>>0<4)if(d&-2147483648>>>((c*6|0)+-6|0)|0)break;a=l[b+1>>0]|0;if(((a>>>3)+-16|(a>>>3)+(d>>26))>>>0<=7){if((a+-128|d<<6|0)>=0){k[e>>2]=a+-128|d<<6;a=2;break a}c=l[b+2>>0]|0;if((c&192|0)==128){c=c+-128|(a+-128|d<<6)<<6;if((c|0)>=0){k[e>>2]=c;a=3;break a}a=l[b+3>>0]|0;if((a&192|0)==128){k[e>>2]=a+-128|c<<6;a=4;break a}}}}}while(0);a=_lb()|0;k[a>>2]=84;a=-1}while(0);r=f;return a|0}function fob(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;k[d>>2]=a;k[d+4>>2]=b;k[d+8>>2]=c;a=Zlb(rh(4,d|0)|0)|0;r=d;return a|0}function gob(a,b){a=a|0;b=b|0;a=hob(a,b)|0;return ((i[a>>0]|0)==(b&255)<<24>>24?a:0)|0}function hob(a,b){a=a|0;b=b|0;var c=0,d=0;a:do if(!(b&255))a=a+(Fnb(a)|0)|0;else{if(a&3)do{d=i[a>>0]|0;if(d<<24>>24==0?1:d<<24>>24==(b&255)<<24>>24)break a;a=a+1|0}while((a&3|0)!=0);d=ha(b&255,16843009)|0;c=k[a>>2]|0;b:do if(!((c&-2139062144^-2139062144)&c+-16843009))do{c=c^d;if((c&-2139062144^-2139062144)&c+-16843009|0)break b;a=a+4|0;c=k[a>>2]|0}while(!((c&-2139062144^-2139062144)&c+-16843009|0));while(0);while(1){d=i[a>>0]|0;if(d<<24>>24==0?1:d<<24>>24==(b&255)<<24>>24)break;else a=a+1|0}}while(0);return a|0}function iob(){var a=0,b=0;b=r;r=r+16|0;a=ec(20,b|0)|0;r=b;return a|0}function job(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+32|0;if(!(Cmb(616761,i[b>>0]|0,4)|0)){a=_lb()|0;k[a>>2]=22;a=0}else{c=kob(b)|0|32768;k[d>>2]=a;k[d+4>>2]=c;k[d+8>>2]=438;c=Zlb(qh(5,d|0)|0)|0;if((c|0)<0)a=0;else{a=lob(c,b)|0;if(!a){k[d+16>>2]=c;ph(6,d+16|0)|0;a=0}}}r=d;return a|0}function kob(a){a=a|0;var b=0,c=0,d=0;c=(gob(a,43)|0)==0;b=i[a>>0]|0;c=c?b<<24>>24!=114&1:2;d=(gob(a,120)|0)==0;c=d?c:c|128;a=(gob(a,101)|0)==0;a=a?c:c|524288;a=b<<24>>24==114?a:a|64;a=b<<24>>24==119?a|512:a;return (b<<24>>24==97?a|1024:a)|0}function lob(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=r;r=r+112|0;d=i[b>>0]|0;if(!(Cmb(616761,d<<24>>24,4)|0)){c=_lb()|0;k[c>>2]=22;c=0}else{c=hqb(1144)|0;if(!c)c=0;else{e=c;f=e+112|0;do{k[e>>2]=0;e=e+4|0}while((e|0)<(f|0));if(!(gob(b,43)|0))k[c>>2]=d<<24>>24==114?8:4;if(gob(b,101)|0){k[g>>2]=a;k[g+4>>2]=2;k[g+8>>2]=1;mb(221,g|0)|0;d=i[b>>0]|0}if(d<<24>>24==97){k[g+16>>2]=a;k[g+16+4>>2]=3;d=mb(221,g+16|0)|0;if(!(d&1024)){k[g+24>>2]=a;k[g+24+4>>2]=4;k[g+24+8>>2]=d|1024;mb(221,g+24|0)|0}d=k[c>>2]|128;k[c>>2]=d}else d=k[c>>2]|0;k[c+60>>2]=a;k[c+44>>2]=c+120;k[c+48>>2]=1024;i[c+75>>0]=-1;if(!(d&8)){k[g+40>>2]=a;k[g+40+4>>2]=21505;k[g+40+8>>2]=g+52;if(!(qi(54,g+40|0)|0))i[c+75>>0]=10}k[c+32>>2]=96;k[c+36>>2]=94;k[c+40>>2]=95;k[c+12>>2]=1410;if(!(k[300521]|0))k[c+76>>2]=-1;nh(1202108);d=k[300526]|0;k[c+56>>2]=d;if(d|0)k[d+52>>2]=c;k[300526]=c;ng(1202108)}}r=g;return c|0}function mob(a){a=a|0;var b=0,c=0,d=0;d=(k[a>>2]&1|0)!=0;if(!d){nh(1202108);c=k[a+52>>2]|0;if(c|0)k[c+56>>2]=k[a+56>>2];b=k[a+56>>2]|0;if(b|0)k[b+52>>2]=c;if((k[300526]|0)==(a|0))k[300526]=b;ng(1202108)}b=nob(a)|0;b=Gi[k[a+12>>2]&2047](a)|0|b;c=k[a+92>>2]|0;if(c|0)iqb(c);if(!d)iqb(a);return b|0}function nob(a){a=a|0;var b=0,c=0;do if(!a){if(!(k[37238]|0))b=0;else b=nob(k[37238]|0)|0;nh(1202108);a=k[300526]|0;if(a)do{if((k[a+76>>2]|0)>-1)c=Vmb(a)|0;else c=0;if((k[a+20>>2]|0)>>>0>(k[a+28>>2]|0)>>>0)b=oob(a)|0|b;if(c|0)bmb(a);a=k[a+56>>2]|0}while((a|0)!=0);ng(1202108)}else{if((k[a+76>>2]|0)<=-1){b=oob(a)|0;break}c=(Vmb(a)|0)==0;b=oob(a)|0;if(!c)bmb(a)}while(0);return b|0}function oob(a){a=a|0;var b=0,c=0;if((k[a+20>>2]|0)>>>0>(k[a+28>>2]|0)>>>0){Ri[k[a+36>>2]&255](a,0,0)|0;if(!(k[a+20>>2]|0))b=-1;else c=3}else c=3;if((c|0)==3){b=k[a+4>>2]|0;c=k[a+8>>2]|0;if(b>>>0>>0)Ri[k[a+40>>2]&255](a,b-c|0,1)|0;k[a+16>>2]=0;k[a+28>>2]=0;k[a+20>>2]=0;k[a+8>>2]=0;k[a+4>>2]=0;b=0}return b|0}function pob(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,m=0;if((k[c+76>>2]|0)>-1)f=Vmb(c)|0;else f=0;if((b|0)<2){g=i[c+74>>0]|0;i[c+74>>0]=g+255|g;if(f|0)bmb(c);if(!(b+-1|0))i[a>>0]=0;else a=0}else{a:do if(!(b+-1|0)){b=a;g=17}else{e=b+-1|0;b=a;while(1){d=k[c+4>>2]|0;m=(k[c+8>>2]|0)-d|0;j=Cmb(d,10,m)|0;m=(j|0)==0?m:1-d+j|0;h=m>>>0>>0;m=h?m:e;ABb(b|0,d|0,m|0)|0;d=(k[c+4>>2]|0)+m|0;k[c+4>>2]=d;b=b+m|0;e=e-m|0;if(!((j|0)==0&h)){g=17;break a}if(d>>>0<(k[c+8>>2]|0)>>>0){k[c+4>>2]=d+1;d=l[d>>0]|0}else{d=omb(c)|0;if((d|0)<0)break}e=e+-1|0;i[b>>0]=d;if(!((e|0)!=0&(d&255|0)!=10)){b=b+1|0;g=17;break a}else b=b+1|0}if((b|0)==(a|0))a=0;else if(!(k[c>>2]&16))a=0;else g=17}while(0);if((g|0)==17)if(!a)a=0;else i[b>>0]=0;if(f)bmb(c)}return a|0}function qob(a){a=a|0;var b=0;if((k[a+76>>2]|0)>-1){b=(Vmb(a)|0)==0;a=(k[a>>2]|0)>>>4&1}else a=(k[a>>2]|0)>>>4&1;return a|0}function rob(a){a=a|0;var b=0;if((k[a+76>>2]|0)>-1){b=(Vmb(a)|0)==0;a=(k[a>>2]|0)>>>5&1}else a=(k[a>>2]|0)>>>5&1;return a|0}function sob(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;k[d>>2]=c;c=tob(a,b,d)|0;r=d;return c|0}function tob(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,m=0.0,n=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=r;r=r+304|0;if((k[a+76>>2]|0)>-1)A=Vmb(a)|0;else A=0;d=i[b>>0]|0;a:do if(!(d<<24>>24))d=0;else{y=B+33+10|0;f=d;d=0;g=b;s=0;e=0;b=0;b:while(1){c:do if(!(qmb(f&255)|0)){f=(i[g>>0]|0)==37;d:do if(f){n=g+1|0;h=i[n>>0]|0;e:do switch(h<<24>>24){case 37:break d;case 42:{f=0;n=g+2|0;break}default:{if(((h&255)+-48|0)>>>0<10)if((i[g+2>>0]|0)==36){k[B+16>>2]=k[c>>2];h=(h&255)+-48|0;while(1){x=(k[B+16>>2]|0)+(4-1)&~(4-1);f=k[x>>2]|0;k[B+16>>2]=x+4;if(h>>>0>1)h=h+-1|0;else break}n=g+3|0;break e}x=(k[c>>2]|0)+(4-1)&~(4-1);f=k[x>>2]|0;k[c>>2]=x+4}}while(0);g=i[n>>0]|0;if(((g&255)+-48|0)>>>0<10){q=g&255;g=0;while(1){h=(g*10|0)+-48+q|0;n=n+1|0;g=i[n>>0]|0;q=g&255;if((q+-48|0)>>>0>=10){q=h;break}else g=h}}else q=0;if(g<<24>>24==109){n=n+1|0;h=i[n>>0]|0;x=(f|0)!=0&1;e=0;b=0}else{h=g;x=0}g=n+1|0;switch(h&255|0){case 104:{h=(i[g>>0]|0)==104;g=h?n+2|0:g;h=h?-2:-1;break}case 108:{h=(i[g>>0]|0)==108;g=h?n+2|0:g;h=h?3:1;break}case 106:{h=3;break}case 116:case 122:{h=1;break}case 76:{h=2;break}case 110:case 112:case 67:case 83:case 91:case 99:case 115:case 88:case 71:case 70:case 69:case 65:case 103:case 102:case 101:case 97:case 120:case 117:case 111:case 105:case 100:{g=n;h=0;break}default:{f=x;z=154;break b}}v=l[g>>0]|0;u=(v&47|0)==3?v|32:v;v=(v&47|0)==3?1:h;switch(u|0){case 99:{w=s;t=(q|0)<1?1:q;break}case 91:{w=s;t=q;break}case 110:{if(!f){h=s;break c}switch(v|0){case -2:{i[f>>0]=s;h=s;break c}case -1:{j[f>>1]=s;h=s;break c}case 0:{k[f>>2]=s;h=s;break c}case 1:{k[f>>2]=s;h=s;break c}case 3:{h=f;k[h>>2]=s;k[h+4>>2]=((s|0)<0)<<31>>31;h=s;break c}default:{h=s;break c}}}default:{lmb(a,0);do{h=k[a+4>>2]|0;if(h>>>0<(k[a+100>>2]|0)>>>0){k[a+4>>2]=h+1;h=l[h>>0]|0}else h=nmb(a)|0}while((qmb(h)|0)!=0);if(!(k[a+100>>2]|0))h=k[a+4>>2]|0;else{h=(k[a+4>>2]|0)+-1|0;k[a+4>>2]=h}w=(k[a+108>>2]|0)+s+h-(k[a+8>>2]|0)|0;t=q}}lmb(a,t);h=k[a+4>>2]|0;n=k[a+100>>2]|0;if(h>>>0>>0)k[a+4>>2]=h+1;else{if((nmb(a)|0)<0){f=x;z=154;break b}n=k[a+100>>2]|0}if(n|0)k[a+4>>2]=(k[a+4>>2]|0)+-1;f:do switch(u|0){case 91:case 99:case 115:{g:do if((u|16|0)==115){vBb(B+33|0,-1,257)|0;i[B+33>>0]=0;if((u|0)==115){i[B+33+33>>0]=0;i[y>>0]=0;i[y+1>>0]=0;i[y+2>>0]=0;i[y+3>>0]=0;i[y+4>>0]=0}}else{s=g+1|0;h=(i[s>>0]|0)==94;g=h?g+2|0:s;vBb(B+33|0,h&1|0,257)|0;i[B+33>>0]=0;switch(i[g>>0]|0){case 45:{i[B+33+46>>0]=h&1^1;s=(h&1^1)&255;g=g+1|0;break}case 93:{i[B+33+94>>0]=h&1^1;s=(h&1^1)&255;g=g+1|0;break}default:s=(h&1^1)&255}while(1){h=i[g>>0]|0;h:do switch(h<<24>>24){case 0:{f=x;z=154;break b}case 93:break g;case 45:{q=g+1|0;h=i[q>>0]|0;switch(h<<24>>24){case 93:case 0:{h=45;break h}default:{}}g=i[g+-1>>0]|0;if((g&255)<(h&255)){g=g&255;do{g=g+1|0;i[B+33+g>>0]=s;h=i[q>>0]|0}while((g|0)<(h&255|0));g=q}else g=q;break}default:{}}while(0);i[B+33+((h&255)+1)>>0]=s;g=g+1|0}}while(0);q=(u|0)==99?t+1|0:31;s=(x|0)!=0;i:do if((v|0)==1){if(s){b=hqb(q<<2)|0;if(!b){f=x;e=0;z=154;break b}}else b=f;k[B+8>>2]=0;k[B+8+4>>2]=0;e=0;j:while(1){n=(b|0)==0;do{k:while(1){h=k[a+4>>2]|0;if(h>>>0<(k[a+100>>2]|0)>>>0){k[a+4>>2]=h+1;h=l[h>>0]|0}else h=nmb(a)|0;if(!(i[B+33+(h+1)>>0]|0))break j;i[B+32>>0]=h;switch(Gnb(B,B+32|0,1,B+8|0)|0){case -1:{f=x;e=0;z=154;break b}case -2:break;default:break k}}if(!n){k[b+(e<<2)>>2]=k[B>>2];e=e+1|0}}while(!(s&(e|0)==(q|0)));e=q<<1|1;h=kqb(b,e<<2)|0;if(!h){f=x;e=0;z=154;break b}else{n=q;q=e;b=h;e=n}}if(!(uob(B+8|0)|0)){f=x;e=0;z=154;break b}else{n=e;e=0}}else{if(s){e=hqb(q)|0;if(!e){f=x;e=0;b=0;z=154;break b}else h=0;while(1){do{b=k[a+4>>2]|0;if(b>>>0<(k[a+100>>2]|0)>>>0){k[a+4>>2]=b+1;b=l[b>>0]|0}else b=nmb(a)|0;if(!(i[B+33+(b+1)>>0]|0)){n=h;b=0;break i}i[e+h>>0]=b;h=h+1|0}while((h|0)!=(q|0));b=q<<1|1;h=kqb(e,b)|0;if(!h){f=x;b=0;z=154;break b}else{n=q;q=b;e=h;h=n}}}if(!f){e=n;while(1){b=k[a+4>>2]|0;if(b>>>0>>0){k[a+4>>2]=b+1;b=l[b>>0]|0}else b=nmb(a)|0;if(!(i[B+33+(b+1)>>0]|0)){n=0;e=0;b=0;break i}e=k[a+100>>2]|0}}else{e=0;while(1){b=k[a+4>>2]|0;if(b>>>0>>0){k[a+4>>2]=b+1;b=l[b>>0]|0}else b=nmb(a)|0;if(!(i[B+33+(b+1)>>0]|0)){n=e;e=f;b=0;break i}i[f+e>>0]=b;n=k[a+100>>2]|0;e=e+1|0}}}while(0);if(!(k[a+100>>2]|0))h=k[a+4>>2]|0;else{h=(k[a+4>>2]|0)+-1|0;k[a+4>>2]=h}h=h-(k[a+8>>2]|0)+(k[a+108>>2]|0)|0;if(!h){f=x;break b}if(!((h|0)==(t|0)|(u|0)==99^1)){f=x;break b}do if(s)if((v|0)==1){k[f>>2]=b;break}else{k[f>>2]=e;break}while(0);if((u|0)!=99){if(b|0)k[b+(n<<2)>>2]=0;if(!e){e=0;break f}i[e+n>>0]=0}break}case 120:case 88:case 112:{h=16;z=136;break}case 111:{h=8;z=136;break}case 117:case 100:{h=10;z=136;break}case 105:{h=0;z=136;break}case 71:case 103:case 70:case 102:case 69:case 101:case 65:case 97:{m=+unb(a,v,0);if((k[a+108>>2]|0)==((k[a+8>>2]|0)-(k[a+4>>2]|0)|0)){f=x;break b}if(f)switch(v|0){case 0:{o[f>>2]=m;break f}case 1:{p[f>>3]=m;break f}case 2:{p[f>>3]=m;break f}default:break f}break}default:{}}while(0);l:do if((z|0)==136){z=0;h=mmb(a,h,0,-1,-1)|0;if((k[a+108>>2]|0)==((k[a+8>>2]|0)-(k[a+4>>2]|0)|0)){f=x;break b}if((f|0)!=0&(u|0)==112){k[f>>2]=h;break}if(f)switch(v|0){case -2:{i[f>>0]=h;break l}case -1:{j[f>>1]=h;break l}case 0:{k[f>>2]=h;break l}case 1:{k[f>>2]=h;break l}case 3:{x=f;k[x>>2]=h;k[x+4>>2]=L;break l}default:break l}}while(0);d=((f|0)!=0&1)+d|0;h=(k[a+108>>2]|0)+w+(k[a+4>>2]|0)-(k[a+8>>2]|0)|0;break c}while(0);g=g+(f&1)|0;lmb(a,0);f=k[a+4>>2]|0;if(f>>>0<(k[a+100>>2]|0)>>>0){k[a+4>>2]=f+1;f=l[f>>0]|0}else f=nmb(a)|0;if((f|0)!=(l[g>>0]|0)){z=22;break b}h=s+1|0}else{while(1){f=g+1|0;if(!(qmb(l[f>>0]|0)|0))break;else g=f}lmb(a,0);do{f=k[a+4>>2]|0;if(f>>>0<(k[a+100>>2]|0)>>>0){k[a+4>>2]=f+1;f=l[f>>0]|0}else f=nmb(a)|0}while((qmb(f)|0)!=0);if(!(k[a+100>>2]|0))f=k[a+4>>2]|0;else{f=(k[a+4>>2]|0)+-1|0;k[a+4>>2]=f}h=(k[a+108>>2]|0)+s+f-(k[a+8>>2]|0)|0}while(0);g=g+1|0;f=i[g>>0]|0;if(!(f<<24>>24))break a;else s=h}if((z|0)==22){if(k[a+100>>2]|0)k[a+4>>2]=(k[a+4>>2]|0)+-1;if((d|0)!=0|(f|0)>-1)break;else{d=0;z=155}}else if((z|0)==154)if(!d){d=f;z=155}if((z|0)==155){f=d;d=-1}if(f){iqb(e);iqb(b)}}while(0);if(A|0)bmb(a);r=B;return d|0}function uob(a){a=a|0;if(!a)a=1;else a=(k[a>>2]|0)==0;return a&1|0}function vob(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;k[d>>2]=c;c=wob(a,b,d)|0;r=d;return c|0}function wob(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=r;r=r+112|0;d=e;f=d+112|0;do{k[d>>2]=0;d=d+4|0}while((d|0)<(f|0));k[e+32>>2]=180;k[e+44>>2]=a;k[e+76>>2]=-1;k[e+84>>2]=a;f=tob(e,b,c)|0;r=e;return f|0}function xob(a,b,c){a=a|0;b=b|0;c=c|0;return yob(a,b,c)|0}function yob(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=k[a+84>>2]|0;d=Cmb(e,0,c+256|0)|0;d=(d|0)==0?c+256|0:d-e|0;c=d>>>0>>0?d:c;ABb(b|0,e|0,c|0)|0;k[a+4>>2]=e+c;k[a+8>>2]=e+d;k[a+84>>2]=e+d;return c|0}function zob(a,b,c){a=a|0;b=b|0;c=c|0;return Aob(a,b,c)|0}function Aob(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((k[a+76>>2]|0)>-1){d=(Vmb(a)|0)==0;b=Bob(a,b,c)|0;if(!d)bmb(a)}else b=Bob(a,b,c)|0;return b|0}function Bob(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((c|0)==1)b=b-(k[a+8>>2]|0)+(k[a+4>>2]|0)|0;if((k[a+20>>2]|0)>>>0>(k[a+28>>2]|0)>>>0){Ri[k[a+36>>2]&255](a,0,0)|0;if(!(k[a+20>>2]|0))b=-1;else d=5}else d=5;if((d|0)==5){k[a+16>>2]=0;k[a+28>>2]=0;k[a+20>>2]=0;if((Ri[k[a+40>>2]&255](a,b,c)|0)<0)b=-1;else{k[a+8>>2]=0;k[a+4>>2]=0;k[a>>2]=k[a>>2]&-17;b=0}}return b|0}function Cob(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;k[d>>2]=c;c=Jmb(a,b,d)|0;r=d;return c|0}function Dob(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,s=0;s=r;r=r+1056|0;m=i[b>>0]|0;do if(m<<24>>24){p=gob(a,m<<24>>24)|0;if(!p)a=0;else{j=i[b+1>>0]|0;if(!(j<<24>>24))a=p;else{e=i[p+1>>0]|0;if(!(e<<24>>24))a=0;else{h=i[b+2>>0]|0;if(!(h<<24>>24)){c=p+1|0;a=e;d=l[p>>0]<<8|e&255;while(1){d=d&65535;if((d|0)==(j&255|(m&255)<<8|0))break;c=c+1|0;e=i[c>>0]|0;if(!(e<<24>>24)){a=0;break}else{a=e;d=e&255|d<<8}}a=a<<24>>24?c+-1|0:0;break}a=i[p+2>>0]|0;if(!(a<<24>>24))a=0;else{f=i[b+3>>0]|0;if(!(f<<24>>24)){d=(a&255)<<8|(e&255)<<16|l[p>>0]<<24;if((d|0)==((j&255)<<16|(m&255)<<24|(h&255)<<8|0))c=p+2|0;else{c=p+2|0;do{c=c+1|0;a=i[c>>0]|0;d=(a&255|d)<<8}while(!(a<<24>>24==0?1:(d|0)==((j&255)<<16|(m&255)<<24|(h&255)<<8|0)))}a=a<<24>>24?c+-2|0:0;break}d=i[p+3>>0]|0;if(!(d<<24>>24))a=0;else{if(!(i[b+4>>0]|0)){a=(a&255)<<8|(e&255)<<16|d&255|l[p>>0]<<24;if((a|0)==((j&255)<<16|(m&255)<<24|(h&255)<<8|f&255|0)){c=p+3|0;a=d}else{c=p+3|0;d=a;do{c=c+1|0;a=i[c>>0]|0;d=a&255|d<<8}while(!(a<<24>>24==0?1:(d|0)==((j&255)<<16|(m&255)<<24|(h&255)<<8|f&255|0)))}a=a<<24>>24?c+-3|0:0;break};k[s+1024>>2]=0;k[s+1024+4>>2]=0;k[s+1024+8>>2]=0;k[s+1024+12>>2]=0;k[s+1024+16>>2]=0;k[s+1024+20>>2]=0;k[s+1024+24>>2]=0;k[s+1024+28>>2]=0;a=m;c=0;while(1){if(!(i[p+c>>0]|0)){a=0;break}q=s+1024+(((a&255)>>>5&255)<<2)|0;k[q>>2]=k[q>>2]|1<<(a&31);q=c+1|0;k[s+((a&255)<<2)>>2]=q;a=i[b+q>>0]|0;if(!(a<<24>>24)){g=23;break}else c=q}a:do if((g|0)==23){b:do if(q>>>0>1){a=1;j=-1;d=0;c:while(1){f=1;while(1){e=d;d:while(1){d=1;while(1){g=i[b+(d+j)>>0]|0;h=i[b+a>>0]|0;if(g<<24>>24!=h<<24>>24){d=a;break d}if((d|0)==(f|0))break;d=d+1|0;a=d+e|0;if(a>>>0>=q>>>0){g=j;break c}}e=e+f|0;a=e+1|0;if(a>>>0>=q>>>0){g=j;break c}}f=d-j|0;if((g&255)<=(h&255))break;if((d+1|0)>>>0>>0)a=d+1|0;else{g=j;break c}}a=e+2|0;if(a>>>0>=q>>>0){g=e;f=1;break}else{j=e;d=e+1|0}}a=1;n=-1;d=0;while(1){e=a;a=1;while(1){h=d;e:while(1){d=e;e=1;while(1){j=i[b+(e+n)>>0]|0;m=i[b+d>>0]|0;if(j<<24>>24!=m<<24>>24){e=h;break e}if((e|0)==(a|0))break;e=e+1|0;d=e+h|0;if(d>>>0>=q>>>0){e=n;d=f;break b}}h=h+a|0;e=h+1|0;if(e>>>0>=q>>>0){e=n;d=f;break b}}a=d-n|0;if((j&255)>=(m&255))break;if((d+1|0)>>>0>>0)e=d+1|0;else{e=n;d=f;break b}}a=e+2|0;if(a>>>0>=q>>>0){d=f;a=1;break}else{n=e;d=e+1|0}}}else{g=-1;e=-1;d=1;a=1}while(0);n=(e+1|0)>>>0>(g+1|0)>>>0;a=n?a:d;n=n?e:g;if(!(Emb(b,b+a|0,n+1|0)|0)){o=q-a|0;m=a}else{o=0;m=(n>>>0>(q-n+-1|0)>>>0?n:q-n+-1|0)+1|0}h=(o|0)!=0;j=q-m|0;a=p;g=0;f=p;f:while(1){d=a;do if((f-d|0)>>>0>>0){e=Cmb(f,0,q|63)|0;if(!e){e=f+(q|63)|0;break}else if((e-d|0)>>>0>>0){a=0;break a}else break}else e=f;while(0);d=i[a+c>>0]|0;if(!(1<<(d&31)&k[s+1024+(((d&255)>>>5&255)<<2)>>2])){a=a+q|0;g=0;f=e;continue}d=k[s+((d&255)<<2)>>2]|0;if((q|0)!=(d|0)){a=a+(h&(g|0)!=0&(q-d|0)>>>0>>0?j:q-d|0)|0;g=0;f=e;continue}d=(n+1|0)>>>0>g>>>0?n+1|0:g;f=i[b+d>>0]|0;g:do if(!(f<<24>>24))d=n+1|0;else{while(1){if(f<<24>>24!=(i[a+d>>0]|0))break;d=d+1|0;f=i[b+d>>0]|0;if(!(f<<24>>24)){d=n+1|0;break g}}a=a+(d-n)|0;g=0;f=e;continue f}while(0);do{if(d>>>0<=g>>>0)break a;d=d+-1|0}while((i[b+d>>0]|0)==(i[a+d>>0]|0));a=a+m|0;g=o;f=e}}while(0)}}}}}}while(0);r=s;return a|0}function Eob(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c>>2]=a;k[c+4>>2]=b;a=Zlb(Ih(196,c|0)|0)|0;r=c;return a|0}function Fob(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c>>2]=a;k[c+4>>2]=b;a=Zlb(Wd(33,c|0)|0)|0;r=c;return a|0}function Gob(a,b){a=a|0;b=b|0;return Hob(a,b,(Fnb(a)|0)+1|0)|0}function Hob(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c;do{if(!d){c=0;break}d=d+-1|0;c=a+d|0}while((i[c>>0]|0)!=(b&255)<<24>>24);return c|0}function Iob(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+4304|0;do if(!a){a=_lb()|0;k[a>>2]=22;a=0}else{k[d>>2]=a;k[d+4>>2]=2656256;c=Zlb(qh(5,d|0)|0)|0;if((c|0)<0)a=0;else{knb(d+4272|0,c);a=Job(d+4272|0,d+176|0,4095)|0;if((a|0)>=0){i[d+176+a>>0]=0;jnb(c,d+96|0)|0;a=aob(d+176|0,d+20|0)|0;if((a|0)>=0){if((k[d+96>>2]|0)==(k[d+20>>2]|0))if((k[d+96+72>>2]|0)==(k[d+20+72>>2]|0)){k[d+8>>2]=c;ph(6,d+8|0)|0;if(!b){a=bob(d+176|0)|0;break}else{a=Pnb(b,d+176|0)|0;break}}if(!a){b=_lb()|0;k[b>>2]=40}}}k[d+16>>2]=c;ph(6,d+16|0)|0;a=0}}while(0);r=d;return a|0}function Job(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;k[d>>2]=a;k[d+4>>2]=b;k[d+8>>2]=c;a=Zlb(Qg(85,d|0)|0)|0;r=d;return a|0}function Kob(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=r;r=r+96|0;k[e+64>>2]=a;k[e+64+4>>2]=b;k[e+64+8>>2]=c;k[e+64+12>>2]=0;k[e+64+16>>2]=0;k[e+64+20>>2]=0;k[e>>2]=1;k[e+4>>2]=e+64;d=Zlb(yh(102,e|0)|0)|0;a:do if((d|0)<0){f=_lb()|0;switch(k[f>>2]|0){case 93:case 22:break;default:break a}if(b&526336){k[e+40>>2]=a;k[e+40+4>>2]=b&-526337;k[e+40+8>>2]=c;k[e+40+12>>2]=0;k[e+40+16>>2]=0;k[e+40+20>>2]=0;k[e+8>>2]=1;k[e+8+4>>2]=e+40;d=Zlb(yh(102,e+8|0)|0)|0;if((d|0)>=0){if(b&524288|0){k[e+16>>2]=1;lnb(d,2,e+16|0)|0}if(b&2048){f=lnb(d,3,e+24|0)|0|2048;k[e+32>>2]=f;lnb(d,4,e+32|0)|0}}}}while(0);r=e;return d|0}function Lob(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+32|0;k[d+8>>2]=a;k[d+8+4>>2]=b;k[d+8+8>>2]=c;k[d+8+12>>2]=0;k[d+8+16>>2]=0;k[d+8+20>>2]=0;k[d>>2]=3;k[d+4>>2]=d+8;c=Zlb(yh(102,d|0)|0)|0;r=d;return c|0}function Mob(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Nob(a,b,c,d,0,0)|0}function Nob(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+32|0;k[g+8>>2]=a;k[g+8+4>>2]=b;k[g+8+8>>2]=c;k[g+8+12>>2]=d;k[g+8+16>>2]=e;k[g+8+20>>2]=f;k[g>>2]=11;k[g+4>>2]=g+8;c=Zlb(yh(102,g|0)|0)|0;r=g;return c|0}function Oob(a,b,c){a=a|0;b=b|0;c=c|0;return Gnb(0,a,b,c|0?c:1202136)|0}function Pob(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,l=0,m=0;l=r;r=r+1040|0;g=k[b>>2]|0;k[l>>2]=g;d=a|0?d:256;f=a|0?a:l+8|0;a:do if((d|0)!=0&(g|0)!=0){i=d;j=g;d=0;while(1){g=c>>>2;h=g>>>0>=i>>>0;if(!(c>>>0>131|h)){g=j;break a}g=h?i:g;c=c-g|0;g=Qob(f,l,g,e)|0;if((g|0)==-1)break;m=(f|0)==(l+8|0);j=m?0:g;h=i-j|0;f=m?f:f+(g<<2)|0;d=g+d|0;g=k[l>>2]|0;if((i|0)!=(j|0)&(g|0)!=0){i=h;j=g}else{i=h;break a}}i=0;g=k[l>>2]|0;d=-1}else{i=d;d=0}while(0);b:do if(g)if((i|0)!=0&(c|0)!=0){h=g;while(1){g=Gnb(f,h,c,e)|0;if((g+2|0)>>>0<3)break;h=(k[l>>2]|0)+g|0;k[l>>2]=h;i=i+-1|0;d=d+1|0;if(!((i|0)!=0&(c|0)!=(g|0)))break b;else{c=c-g|0;f=f+4|0}}switch(g|0){case -1:{d=-1;break b}case 0:{k[l>>2]=0;break b}default:{k[e>>2]=0;break b}}}while(0);if(a|0)k[b>>2]=k[l>>2];r=l;return d|0}function Qob(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;e=k[b>>2]|0;if(!d)j=5;else{g=k[d>>2]|0;if(!g)j=5;else if(!a){d=c;h=e;j=16}else{k[d>>2]=0;f=a;d=c;h=g;j=37}}if((j|0)==5)if(!a){d=c;j=7}else{f=a;d=c;j=6}a:while(1)if((j|0)==6){if(!d){j=26;break}while(1){g=i[e>>0]|0;do if(((g&255)+-1|0)>>>0<127)if(d>>>0>4&(e&3|0)==0){h=e;while(1){g=k[h>>2]|0;if((g+-16843009|g)&-2139062144|0){e=h;j=32;break}k[f>>2]=g&255;k[f+4>>2]=l[h+1>>0];k[f+8>>2]=l[h+2>>0];e=h+4|0;g=f+16|0;k[f+12>>2]=l[h+3>>0];d=d+-4|0;if(d>>>0>4){f=g;h=e}else{j=31;break}}if((j|0)==31){f=g;g=i[e>>0]|0;break}else if((j|0)==32){g=g&255;break}}while(0);g=g&255;if((g+-1|0)>>>0>=127)break;e=e+1|0;k[f>>2]=g;d=d+-1|0;if(!d){j=26;break a}else f=f+4|0}if((g+-194|0)>>>0>50){j=48;break}h=k[148400+(g+-194<<2)>>2]|0;e=e+1|0;j=37;continue}else if((j|0)==7){f=i[e>>0]|0;if(((f&255)+-1|0)>>>0<127)if(!(e&3)){f=k[e>>2]|0;if(!((f+-16843009|f)&-2139062144)){do{e=e+4|0;d=d+-4|0;f=k[e>>2]|0}while(((f+-16843009|f)&-2139062144|0)==0);f=f&255}else f=f&255}f=f&255;if((f+-1|0)>>>0<127){d=d+-1|0;e=e+1|0;j=7;continue}if((f+-194|0)>>>0>50){f=a;j=48;break}g=k[148400+(f+-194<<2)>>2]|0;h=e+1|0;j=16;continue}else if((j|0)==16){j=(l[h>>0]|0)>>>3;if((j+-16|j+(g>>26))>>>0>7){j=17;break}e=h+1|0;if(g&33554432){if((i[e>>0]&-64)<<24>>24!=-128){j=20;break}e=h+2|0;if(g&524288){if((i[e>>0]&-64)<<24>>24!=-128){j=23;break}e=h+3|0}}d=d+-1|0;j=7;continue}else if((j|0)==37){g=l[e>>0]|0;if(((g>>>3)+-16|(g>>>3)+(h>>26))>>>0>7){j=38;break}a=e+1|0;j=g+-128|h<<6;if((j|0)<0){h=l[a>>0]|0;if((h&192|0)!=128){j=41;break}g=e+2|0;if((h+-128|j<<6|0)<0){g=l[g>>0]|0;if((g&192|0)!=128){j=44;break}h=g+-128|(h+-128|j<<6)<<6;e=e+3|0}else{h=h+-128|j<<6;e=g}}else{h=j;e=a}k[f>>2]=h;f=f+4|0;d=d+-1|0;j=6;continue}if((j|0)==17){f=a;e=h+-1|0;j=47}else if((j|0)==20){f=a;e=h+-1|0;j=47}else if((j|0)==23){f=a;e=h+-1|0;j=47}else if((j|0)==26)k[b>>2]=e;else if((j|0)==38){g=h;e=e+-1|0;j=47}else if((j|0)==41){d=f;c=e+-1|0;j=52}else if((j|0)==44){d=f;c=e+-1|0;j=52}if((j|0)==47)if(!g)j=48;else{d=f;c=e;j=52}if((j|0)==48)if(!(i[e>>0]|0)){if(f|0){k[f>>2]=0;k[b>>2]=0}c=c-d|0}else{d=f;c=e;j=52}if((j|0)==52){j=_lb()|0;k[j>>2]=84;if(!d)c=-1;else{k[b>>2]=c;c=-1}}return c|0}function Rob(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,l=0;j=r;r=r+272|0;f=k[b>>2]|0;k[j>>2]=f;e=a|0?d:256;d=a|0?a:j+8|0;a:do if((e|0)!=0&(f|0)!=0){h=e;e=0;i=d;while(1){d=c>>>0>=h>>>0;if(!(d|c>>>0>32)){d=i;break a}f=d?h:c;c=c-f|0;f=Sob(i,j,f,0)|0;if((f|0)==-1){d=i;break}d=(i|0)==(j+8|0);l=d?0:f;g=h-l|0;d=d?i:i+f|0;e=f+e|0;f=k[j>>2]|0;if((h|0)!=(l|0)&(f|0)!=0){h=g;i=d}else{h=g;break a}}h=0;f=k[j>>2]|0;e=-1}else{h=e;e=0}while(0);b:do if(f)if((h|0)!=0&(c|0)!=0){g=f;while(1){f=Smb(d,k[g>>2]|0,0)|0;if((f+1|0)>>>0<2)break;g=(k[j>>2]|0)+4|0;k[j>>2]=g;c=c+-1|0;e=e+1|0;if(!((h|0)!=(f|0)&(c|0)!=0))break b;else{h=h-f|0;d=d+f|0}}if(!f)k[j>>2]=0;else e=-1}while(0);if(a|0)k[b>>2]=k[j>>2];r=j;return e|0}function Sob(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;g=r;r=r+16|0;a:do if(!a){a=k[b>>2]|0;d=k[a>>2]|0;if(!d)c=0;else{c=0;do{if(d>>>0>127){d=Smb(g,d,0)|0;if((d|0)==-1){c=-1;break a}}else d=1;c=d+c|0;a=a+4|0;d=k[a>>2]|0}while((d|0)!=0)}}else{b:do if(c>>>0>3){d=c;e=k[b>>2]|0;while(1){f=k[e>>2]|0;if((f+-1|0)>>>0>126){if(!f)break;f=Smb(a,f,0)|0;if((f|0)==-1){c=-1;break a}a=a+f|0;d=d-f|0}else{i[a>>0]=f;a=a+1|0;d=d+-1|0;e=k[b>>2]|0}e=e+4|0;k[b>>2]=e;if(d>>>0<=3)break b}i[a>>0]=0;k[b>>2]=0;c=c-d|0;break a}else d=c;while(0);if(d){e=k[b>>2]|0;while(1){f=k[e>>2]|0;if((f+-1|0)>>>0>126){if(!f){e=19;break}f=Smb(g,f,0)|0;if((f|0)==-1){c=-1;break a}if(d>>>0>>0){e=22;break}Smb(a,k[e>>2]|0,0)|0;a=a+f|0;d=d-f|0}else{i[a>>0]=f;a=a+1|0;d=d+-1|0;e=k[b>>2]|0}e=e+4|0;k[b>>2]=e;if(!d)break a}if((e|0)==19){i[a>>0]=0;k[b>>2]=0;c=c-d|0;break}else if((e|0)==22){c=c-d|0;break}}}while(0);r=g;return c|0}function Tob(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0;l=r;r=r+80|0;d=l+8|0;e=d+64|0;do{k[d>>2]=0;d=d+4|0}while((d|0)<(e|0));a:do if((b|0)==10)h=16;else{d=0;f=c;b:while(1){g=tmb(f,l,0)|0;k[l+8+(d<<2)>>2]=g;g=k[l>>2]|0;if((g|0)==(f|0)){h=5;break}e=i[g>>0]|0;switch(e<<24>>24){case 46:case 0:break;default:{h=5;break b}}if(((i[f>>0]|0)+-48|0)>>>0>=10){h=5;break}if(!(e<<24>>24))break;d=d+1|0;if((d|0)<4)f=g+1|0;else break}if((h|0)==5)if((b|0)==2){d=-1;break}else{h=16;break}switch(d|0){case 4:{d=-1;break a}case 0:{e=k[l+8>>2]|0;k[l+8+4>>2]=e&16777215;k[l+8>>2]=e>>>24;d=l+8+4|0;e=e&16777215;h=12;break}case 1:{d=l+8+4|0;e=k[l+8+4>>2]|0;h=12;break}case 2:{d=l+8+8|0;e=k[l+8+8>>2]|0;h=13;break}default:{}}if((h|0)==12){c=e&65535;k[l+8+8>>2]=c;k[d>>2]=e>>>16;d=l+8+8|0;e=c;h=13}if((h|0)==13){k[l+8+12>>2]=e&255;k[d>>2]=e>>>8}j[a>>1]=2;d=k[l+8>>2]|0;if(d>>>0>255)d=-1;else{i[a+4>>0]=d;d=k[l+8+4>>2]|0;if(d>>>0>255)d=-1;else{i[a+5>>0]=d;d=k[l+8+8>>2]|0;if(d>>>0>255)d=-1;else{i[a+6>>0]=d;d=k[l+8+12>>2]|0;if(d>>>0>255)d=-1;else{i[a+7>>0]=d;d=0}}}}}while(0);if((h|0)==16){j[a>>1]=10;d=((Uob(10,c,a+8|0)|0)<1)<<31>>31}r=l;return d|0}function Uob(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0,n=0;n=r;r=r+16|0;a:do switch(a|0){case 2:{g=0;while(1){f=i[b>>0]|0;if(((f<<24>>24)+-48|0)>>>0>=10){a=0;break a}a=i[b+1>>0]|0;if((a+-48|0)>>>0<10){d=i[b+2>>0]|0;if((d+-48|0)>>>0<10){e=3;a=(((((f<<24>>24)+-48|0)*10|0)+-48+a|0)*10|0)+-48+d|0}else{e=2;a=(((f<<24>>24)+-48|0)*10|0)+-48+a|0}if((a|0)>255|f<<24>>24==48){a=0;break a}else d=e}else{d=1;a=(f<<24>>24)+-48|0}i[c+g>>0]=a;a=i[b+d>>0]|0;if((g|0)==3&a<<24>>24==0){a=1;break a}if(a<<24>>24!=46){a=0;break a}g=g+1|0;if((g|0)>=4){a=0;break}else b=b+(d+1)|0}break}case 10:{a=i[b>>0]|0;if(a<<24>>24==58)if((i[b+1>>0]|0)==58){b=b+1|0;a=58;e=-1;d=0}else{a=0;break a}else{e=-1;d=0}b:while(1){h=(e|0)<0;if(h&a<<24>>24==58){j[n+((d&7)<<1)>>1]=0;b=b+1|0;a=i[b>>0]|0;if(!(a<<24>>24)){e=d;f=0;break}if((d|0)==7){a=0;break a}else e=d}else{f=0;g=0;while(1){a=a<<24>>24;if((a+-48|0)>>>0<10)a=a+-48|0;else if(((a|32)+-97|0)>>>0<6&((a|32)+-87|0)>-1)a=(a|32)+-87|0;else{a=g;l=18;break}g=a+(g<<4)|0;f=f+1|0;if((f|0)>=4){a=g;break}a=i[b+f>>0]|0}if((l|0)==18){l=0;if(!f){a=0;break a}}j[n+((d&7)<<1)>>1]=a;a=i[b+f>>0]|0;if(!(a<<24>>24))if((d|0)==7|(e|0)>-1){f=0;break}if((d|0)==7){a=0;break a}switch(a<<24>>24){case 46:{a=e;l=23;break b}case 58:break;default:{a=0;break a}}a=b+(f+1)|0;b=a;a=i[a>>0]|0}d=d+1|0}if((l|0)==23){if((d|0)<6&h){a=0;break a}e=a;d=d+1|0;f=1}if((e|0)>-1){a=n+(e<<1)|0;BBb(a+14+(0-d<<1)|0,a|0,d+1-e<<1|0)|0;if((7-d|0)>0){vBb(a|0,0,14-(d<<1)|0)|0;a=c;d=0}else{a=c;d=0}}else{a=c;d=0}while(1){l=n+(d<<1)|0;i[a>>0]=(m[l>>1]|0)>>>8;i[a+1>>0]=j[l>>1];d=d+1|0;if((d|0)==8)break;else a=a+2|0}if(f|0)if((Uob(2,b,c+12|0)|0)<1){a=0;break a}a=1;break}default:{a=_lb()|0;k[a>>2]=97;a=-1}}while(0);r=n;return a|0}function Vob(a){a=a|0;return ((a&65535)<<8|(a&65535)>>>8)&65535|0}function Wob(a){a=a|0;return uBb(a|0)|0}function Xob(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=r;r=r+32|0;k[f+8>>2]=a;k[f+8+4>>2]=b;k[f+8+8>>2]=c;k[f+8+12>>2]=d;k[f+8+16>>2]=e;k[f+8+20>>2]=0;k[f>>2]=14;k[f+4>>2]=f+8;d=Zlb(yh(102,f|0)|0)|0;r=f;return d|0}function Yob(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+32|0;k[d+8>>2]=a;k[d+8+4>>2]=b;k[d+8+8>>2]=c;k[d+8+12>>2]=0;k[d+8+16>>2]=0;k[d+8+20>>2]=0;k[d>>2]=2;k[d+4>>2]=d+8;c=Zlb(yh(102,d|0)|0)|0;r=d;return c|0}function Zob(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+32|0;k[g+8>>2]=a;k[g+8+4>>2]=b;k[g+8+8>>2]=c;k[g+8+12>>2]=d;k[g+8+16>>2]=e;k[g+8+20>>2]=f;k[g>>2]=12;k[g+4>>2]=g+8;c=Zlb(yh(102,g|0)|0)|0;r=g;return c|0}function _ob(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+32|0;k[d+8>>2]=a;k[d+8+4>>2]=b;k[d+8+8>>2]=c;k[d+8+12>>2]=0;k[d+8+16>>2]=0;k[d+8+20>>2]=0;k[d>>2]=5;k[d+4>>2]=d+8;c=Zlb(yh(102,d|0)|0)|0;r=d;return c|0}function $ob(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+32|0;k[d+8>>2]=a;k[d+8+4>>2]=b;k[d+8+8>>2]=c;k[d+8+12>>2]=0;k[d+8+16>>2]=0;k[d+8+20>>2]=0;k[d>>2]=7;k[d+4>>2]=d+8;c=Zlb(yh(102,d|0)|0)|0;r=d;return c|0}function apb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+32|0;k[d+8>>2]=a;k[d+8+4>>2]=b;k[d+8+8>>2]=c;k[d+8+12>>2]=0;k[d+8+16>>2]=0;k[d+8+20>>2]=0;k[d>>2]=6;k[d+4>>2]=d+8;c=Zlb(yh(102,d|0)|0)|0;r=d;return c|0}function bpb(){return 1202124}function cpb(a){a=a|0;var b=0,c=0;a:do if(!(a+-1|0))a=616765;else{c=a+-1|0;a=616765;do{if(!(i[a>>0]|0))break a;b=a+1|0;while(1){a=b+1|0;if(!(i[b>>0]|0))break;else b=a}c=c+-1|0}while((c|0)!=0)}while(0);return (i[a>>0]|0?a:a+1|0)|0}function dpb(a,b,c){a=a|0;b=b|0;c=c|0;epb(a,b,c)|0;return a|0}function epb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;do if(!((b^a)&3)){a:do if((c|0)!=0&(b&3|0)!=0){d=c;while(1){c=i[b>>0]|0;i[a>>0]=c;if(!(c<<24>>24))break a;c=d+-1|0;b=b+1|0;a=a+1|0;if((c|0)!=0&(b&3|0)!=0)d=c;else{d=c;c=(c|0)!=0;e=5;break}}}else{d=c;c=(c|0)!=0;e=5}while(0);if((e|0)==5)if(!c){d=0;break}if(i[b>>0]|0){b:do if(d>>>0>3)do{c=k[b>>2]|0;if((c&-2139062144^-2139062144)&c+-16843009|0)break b;k[a>>2]=c;d=d+-4|0;b=b+4|0;a=a+4|0}while(d>>>0>3);while(0);e=11}}else{d=c;e=11}while(0);c:do if((e|0)==11)if(!d)d=0;else while(1){e=i[b>>0]|0;i[a>>0]=e;if(!(e<<24>>24))break c;d=d+-1|0;a=a+1|0;if(!d){d=0;break}else b=b+1|0}while(0);vBb(a|0,0,d|0)|0;return a|0}function fpb(a){a=a|0;return uBb(a|0)|0}function gpb(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;if((Tob(c,2,a)|0)<0)a=0;else{k[b>>2]=k[c+4>>2];a=1}r=c;return a|0}function hpb(a){a=a|0;var b=0;b=r;r=r+16|0;a=k[a>>2]|0;k[b>>2]=a&255;k[b+4>>2]=a>>>8&255;k[b+8>>2]=a>>>16&255;k[b+12>>2]=a>>>24;Nnb(1279138,16,616849,b)|0;r=b;return 1279138}function ipb(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+32|0;k[c+8>>2]=a;k[c+8+4>>2]=b;k[c+8+8>>2]=0;k[c+8+8+4>>2]=0;k[c+8+8+8>>2]=0;k[c+8+8+12>>2]=0;k[c>>2]=4;k[c+4>>2]=c+8;a=Zlb(yh(102,c|0)|0)|0;r=c;return a|0}function jpb(a){a=a|0;return ((a&65535)<<8|(a&65535)>>>8)&65535|0}function kpb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Zob(a,b,c,d,0,0)|0}function lpb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+32|0;k[d+8>>2]=a;k[d+8+4>>2]=b;k[d+8+8>>2]=c;k[d+8+12>>2]=0;k[d+8+16>>2]=0;k[d+8+20>>2]=0;k[d>>2]=17;k[d+4>>2]=d+8;b=Zlb(yh(102,d|0)|0)|0;r=d;return b|0}function mpb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+32|0;k[d+8>>2]=a;k[d+8+4>>2]=b;k[d+8+8>>2]=c;k[d+8+12>>2]=0;k[d+8+16>>2]=0;k[d+8+20>>2]=0;k[d>>2]=16;k[d+4>>2]=d+8;b=Zlb(yh(102,d|0)|0)|0;r=d;return b|0}function npb(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+32|0;k[c+8>>2]=a;k[c+8+4>>2]=b;k[c+8+8>>2]=0;k[c+8+8+4>>2]=0;k[c+8+8+8>>2]=0;k[c+8+8+12>>2]=0;k[c>>2]=13;k[c+4>>2]=c+8;b=Zlb(yh(102,c|0)|0)|0;r=c;return b|0}function opb(a){a=a|0;k[155532]=a+-1;k[155533]=0;return}function ppb(){var a=0,b=0;b=KBb(k[155532]|0,k[155533]|0,1284865837,1481765933)|0;b=xBb(b|0,L|0,1,0)|0;a=L;k[155532]=b;k[155533]=a;a=FBb(b|0,a|0,33)|0;return a|0}function qpb(a){a=a|0;nh(1202140);rpb(a);ng(1202140);return}function rpb(a){a=a|0;var b=0,c=0,d=0;if(!31)k[38061]=a;else{k[38092]=31==31|31==7?3:1;k[300537]=0;if(31>0){b=0;c=0;do{d=KBb(a|0,b|0,1284865837,1481765933)|0;a=xBb(d|0,L|0,1,0)|0;b=L;k[152244+(c<<2)>>2]=b;c=c+1|0}while((c|0)<31);a=152244}else a=152244;k[a>>2]=k[a>>2]|1}return}function spb(){var a=0,b=0,c=0;nh(1202140);if(!31){a=(ha(k[38061]|0,1103515245)|0)+12345&2147483647;k[38061]=a}else{b=k[300537]|0;c=k[38092]|0;a=(k[152244+(c<<2)>>2]|0)+(k[152244+(b<<2)>>2]|0)|0;k[152244+(c<<2)>>2]=a;k[38092]=(c+1|0)==31?0:c+1|0;k[300537]=(b+1|0)==31?0:b+1|0;a=a>>>1}ng(1202140);return a|0}function tpb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=r;r=r+32|0;k[f>>2]=a;k[f+4>>2]=b;k[f+8>>2]=c;k[f+12>>2]=d;k[f+16>>2]=e;c=Zlb(Db(142,f|0)|0)|0;r=f;return c|0}function upb(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c>>2]=a;k[c+4>>2]=b;a=Zlb(_d(39,c|0)|0)|0;r=c;return a|0}function vpb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=r;r=r+16|0;i[e>>0]=b;c=k[a+16>>2]|0;if(!c)if(!(Mmb(a)|0)){c=k[a+16>>2]|0;d=4}else c=-1;else d=4;do if((d|0)==4){d=k[a+20>>2]|0;if(d>>>0>>0)if((b&255|0)!=(i[a+75>>0]|0)){k[a+20>>2]=d+1;i[d>>0]=b;c=b&255;break}if((Ri[k[a+36>>2]&255](a,e,1)|0)==1)c=l[e>>0]|0;else c=-1}while(0);r=e;return c|0}function wpb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=r;r=r+16|0;e=hqb(240)|0;do if(!e)d=-1;else{k[f>>2]=k[c>>2];d=Hmb(e,240,b,f)|0;if(d>>>0<240){b=kqb(e,d+1|0)|0;k[a>>2]=b|0?b:e;break}iqb(e);if((d|0)<0)d=-1;else{e=hqb(d+1|0)|0;k[a>>2]=e;if(!e)d=-1;else d=Hmb(e,d+1|0,b,c)|0}}while(0);r=f;return d|0}function xpb(a){a=a|0;var b=0;if((k[a+76>>2]|0)>-1){b=(Vmb(a)|0)==0;k[a>>2]=k[a>>2]&-49;if(!b)bmb(a)}else k[a>>2]=k[a>>2]&-49;return}function ypb(a,b){a=a|0;b=b|0;var c=0,d=0;do if((a|0)==-1)a=-1;else{if((k[b+76>>2]|0)>-1)d=Vmb(b)|0;else d=0;if(!(k[b+8>>2]|0)){if(!(pmb(b)|0))c=6}else c=6;if((c|0)==6){c=k[b+4>>2]|0;if(c>>>0>((k[b+44>>2]|0)+-8|0)>>>0){k[b+4>>2]=c+-1;i[c+-1>>0]=a;k[b>>2]=k[b>>2]&-17;if(!d)break;bmb(b);break}}if(!d)a=-1;else{bmb(b);a=-1}}while(0);return a|0}function zpb(a){a=a|0;var b=0;if((k[a+76>>2]|0)>-1){b=(Vmb(a)|0)==0;a=Apb(a)|0}else a=Apb(a)|0;return a|0}function Apb(a){a=a|0;var b=0;if(!(k[a>>2]&128))b=1;else b=(k[a+20>>2]|0)>>>0>(k[a+28>>2]|0)>>>0?2:1;b=Ri[k[a+40>>2]&255](a,0,b)|0;if((b|0)>=0)b=b-(k[a+8>>2]|0)+(k[a+4>>2]|0)+(k[a+20>>2]|0)-(k[a+28>>2]|0)|0;return b|0}function Bpb(a,b){a=a|0;b=b|0;var c=0,d=0;if((k[b+76>>2]|0)<0)d=3;else if(!(Vmb(b)|0))d=3;else{if((i[b+75>>0]|0)==(a|0))d=10;else{c=k[b+20>>2]|0;if(c>>>0<(k[b+16>>2]|0)>>>0){k[b+20>>2]=c+1;i[c>>0]=a;c=a&255}else d=10}if((d|0)==10)c=vpb(b,a)|0;bmb(b)}do if((d|0)==3){if((i[b+75>>0]|0)!=(a|0)){c=k[b+20>>2]|0;if(c>>>0<(k[b+16>>2]|0)>>>0){k[b+20>>2]=c+1;i[c>>0]=a;c=a&255;break}}c=vpb(b,a)|0}while(0);return c|0}function Cpb(a,b){a=a|0;b=b|0;return (Dpb(a,Fnb(a)|0,1,b)|0)+-1|0}function Dpb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=ha(c,b)|0;if((k[d+76>>2]|0)>-1){f=(Vmb(d)|0)==0;a=Lmb(a,e,d)|0;if(!f)bmb(d)}else a=Lmb(a,e,d)|0;if((a|0)!=(e|0))c=(a>>>0)/(b>>>0)|0;return c|0}function Epb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;g=ha(c,b)|0;if((k[d+76>>2]|0)>-1)h=Vmb(d)|0;else h=0;e=i[d+74>>0]|0;i[d+74>>0]=e+255|e;e=k[d+4>>2]|0;f=(k[d+8>>2]|0)-e|0;if((f|0)>0){f=f>>>0>>0?f:g;ABb(a|0,e|0,f|0)|0;k[d+4>>2]=e+f;a=a+f|0;e=g-f|0}else e=g;a:do if(!e)j=13;else{f=e;while(1){if(pmb(d)|0){c=f;break}e=Ri[k[d+32>>2]&255](d,a,f)|0;if((e+1|0)>>>0<2){c=f;break}if((f|0)==(e|0)){j=13;break a}else{a=a+e|0;f=f-e|0}}if(h|0)bmb(d);c=((g-c|0)>>>0)/(b>>>0)|0}while(0);if((j|0)==13)if(h)bmb(d);return c|0}function Fpb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=r;r=r+32|0;e=kob(b)|0;if((k[c+76>>2]|0)>-1)f=Vmb(c)|0;else f=0;nob(c)|0;do if(!a){if(e&524288|0){k[g>>2]=k[c+60>>2];k[g+4>>2]=2;k[g+8>>2]=1;mb(221,g|0)|0}k[g+16>>2]=k[c+60>>2];k[g+16+4>>2]=4;k[g+16+8>>2]=e&-524481;if((Zlb(mb(221,g+16|0)|0)|0)<0)a=15;else a=12}else{a=job(a,b)|0;if(!a)a=15;else{b=k[a+60>>2]|0;d=k[c+60>>2]|0;if((b|0)==(d|0))k[a+60>>2]=-1;else if((Gpb(b,d,e&524288)|0)<0){mob(a)|0;a=15;break}k[c>>2]=k[c>>2]&1|k[a>>2];k[c+32>>2]=k[a+32>>2];k[c+36>>2]=k[a+36>>2];k[c+40>>2]=k[a+40>>2];k[c+12>>2]=k[a+12>>2];mob(a)|0;a=12}}while(0);if((a|0)==12){if(f)bmb(c)}else if((a|0)==15){mob(c)|0;c=0}r=g;return c|0}function Gpb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+48|0;a:do if((a|0)==(b|0))d=Zlb(-22)|0;else{b:do if(c&524288|0){c:while(1){k[e>>2]=a;k[e+4>>2]=b;k[e+8>>2]=c;d=bf(330,e|0)|0;switch(d|0){case -38:break b;case -16:break;default:break c}}d=Zlb(d)|0;break a}while(0);do{k[e+16>>2]=a;k[e+16+4>>2]=b;d=Qc(63,e+16|0)|0}while((d|0)==-16);if(c&524288|0){k[e+24>>2]=b;k[e+24+4>>2]=2;k[e+24+8>>2]=1;mb(221,e+24|0)|0}d=Zlb(d)|0}while(0);r=e;return d|0}function Hpb(a){a=a|0;return zpb(a)|0}function Ipb(a){a=a|0;var b=0,c=0;if((k[a+76>>2]|0)<0)c=3;else if(!(Vmb(a)|0))c=3;else{b=k[a+4>>2]|0;if(b>>>0<(k[a+8>>2]|0)>>>0){k[a+4>>2]=b+1;b=l[b>>0]|0}else b=omb(a)|0}do if((c|0)==3){b=k[a+4>>2]|0;if(b>>>0<(k[a+8>>2]|0)>>>0){k[a+4>>2]=b+1;b=l[b>>0]|0;break}else{b=omb(a)|0;break}}while(0);return b|0}function Jpb(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c>>2]=b;b=Jmb(k[37209]|0,a,c)|0;r=c;return b|0}function Kpb(a){a=a|0;return Bpb(a,k[37209]|0)|0}function Lpb(a){a=a|0;var b=0,c=0;b=k[37209]|0;if((k[b+76>>2]|0)>-1)c=Vmb(b)|0;else c=0;do if((Cpb(a,b)|0)<0)a=1;else{if((i[b+75>>0]|0)!=10){a=k[b+20>>2]|0;if(a>>>0<(k[b+16>>2]|0)>>>0){k[b+20>>2]=a+1;i[a>>0]=10;a=0;break}}a=(vpb(b,10)|0)<0}while(0);if(c|0)bmb(b);return a<<31>>31|0}function Mpb(a){a=a|0;var b=0,c=0,d=0;c=r;r=r+16|0;k[c>>2]=a;b=Zlb(ih(10,c|0)|0)|0;if(!b)b=0;else{d=_lb()|0;if((k[d>>2]|0)==21){k[c+8>>2]=a;b=Zlb(_f(40,c+8|0)|0)|0}}r=c;return b|0}function Npb(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c>>2]=a;k[c+4>>2]=b;a=Zlb($d(38,c|0)|0)|0;r=c;return a|0}function Opb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;i[a+75>>0]=-1;switch(c|0){case 2:{k[a+48>>2]=0;break}case 1:{i[a+75>>0]=10;break}default:{}}k[a>>2]=k[a>>2]|64;return 0}function Ppb(){var a=0,b=0,c=0,d=0,e=0;e=r;r=r+48|0;c=0;while(1){a=Qpb(e+20|0)|0;if(!a){a=0;break}k[e>>2]=a;k[e+4>>2]=32962;k[e+8>>2]=384;b=Zlb(qh(5,e|0)|0)|0;c=c+1|0;if((b|0)>-1){d=5;break}if((c|0)>=100){a=0;break}}if((d|0)==5){d=lob(b,616878)|0;k[e+16>>2]=a;ih(10,e+16|0)|0;a=d}r=e;return a|0}function Qpb(a){a=a|0;var b=0,c=0,d=0,e=0;c=r;r=r+64|0;k[c+40>>2]=a;if(!a)k[c+40>>2]=1279154;k[c>>2]=616861;k[c+4>>2]=7;if(!(Wd(33,c|0)|0)){b=0;while(1){k[c+8>>2]=0;k[c+8+4>>2]=c+48;k[c+8+8>>2]=0;Xc(265,c+8|0)|0;a=k[c+40>>2]|0;d=k[c+48+4>>2]^c+40^a;e=k[300538]|0;k[300538]=e+1;k[c+24>>2]=e;k[c+24+4>>2]=d;Nnb(a,20,616866,c+24|0)|0;k[c+32>>2]=k[c+40>>2];k[c+32+4>>2]=0;if(Wd(33,c+32|0)|0){a=b;break}a=b+1|0;if((b|0)<100)b=a;else break}a=(a|0)>99?0:k[c+40>>2]|0}else a=0;r=c;return a|0}function Rpb(a,b){a=a|0;b=b|0;return Jmb(k[37209]|0,a,b)|0}function Spb(a){a=a|0;return +(+Tpb(a,0))}function Tpb(a,b){a=a|0;b=b|0;return +(+Upb(a,b,1))}function Upb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0,f=0,g=0;g=r;r=r+112|0;e=g;f=e+112|0;do{k[e>>2]=0;e=e+4|0}while((e|0)<(f|0));k[g+4>>2]=a;k[g+8>>2]=-1;k[g+44>>2]=a;k[g+76>>2]=-1;lmb(g,0);d=+unb(g,c,1);c=(k[g+4>>2]|0)-(k[g+8>>2]|0)+(k[g+108>>2]|0)|0;if(b|0)k[b>>2]=c|0?a+c|0:a;r=g;return +d}function Vpb(a){a=a|0;var b=0,c=0,d=0,e=0;while(1){d=a+1|0;if(!(qmb(i[a>>0]|0)|0))break;else a=d}b=i[a>>0]|0;switch(b<<24>>24|0){case 45:{c=1;e=5;break}case 43:{c=0;e=5;break}default:c=0}if((e|0)==5){a=d;b=i[d>>0]|0}b=(b<<24>>24)+-48|0;if(b>>>0<10){d=a;a=0;do{d=d+1|0;a=(a*10|0)-b|0;b=(i[d>>0]|0)+-48|0}while(b>>>0<10)}else a=0;return (c|0?a:0-a|0)|0}function Wpb(a){a=a|0;var b=0,c=0,d=0,e=0;while(1){d=a+1|0;if(!(qmb(i[a>>0]|0)|0))break;else a=d}b=i[a>>0]|0;switch(b<<24>>24|0){case 45:{c=1;e=5;break}case 43:{c=0;e=5;break}default:c=0}if((e|0)==5){a=d;b=i[d>>0]|0}b=(b<<24>>24)+-48|0;if(b>>>0<10){d=a;a=0;do{d=d+1|0;a=(a*10|0)-b|0;b=(i[d>>0]|0)+-48|0}while(b>>>0<10)}else a=0;return (c|0?a:0-a|0)|0}function Xpb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=r;r=r+32|0;c=i[b>>0]|0;if(!(c<<24>>24))d=3;else if(!(i[b+1>>0]|0))d=3;else{k[e>>2]=0;k[e+4>>2]=0;k[e+8>>2]=0;k[e+12>>2]=0;k[e+16>>2]=0;k[e+20>>2]=0;k[e+24>>2]=0;k[e+28>>2]=0;do{f=e+(((c&255)>>>5&255)<<2)|0;k[f>>2]=k[f>>2]|1<<(c&31);b=b+1|0;c=i[b>>0]|0}while(c<<24>>24!=0);b=i[a>>0]|0;a:do if(!(b<<24>>24))c=a;else{c=a;do{if(k[e+(((b&255)>>>5&255)<<2)>>2]&1<<(b&31)|0)break a;c=c+1|0;b=i[c>>0]|0}while(b<<24>>24!=0)}while(0);c=c-a|0}if((d|0)==3)c=(hob(a,c<<24>>24)|0)-a|0;r=e;return c|0}function Ypb(a,b,c){a=a|0;b=b|0;c=c|0;return +(+Upb(a,b,2))}function Zpb(a,b){a=a|0;b=b|0;Pnb(a+(Fnb(a)|0)|0,b)|0;return a|0}function _pb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=a+(Fnb(a)|0)|0;a:do if(c)while(1){e=i[b>>0]|0;if(!(e<<24>>24))break a;c=c+-1|0;f=d+1|0;i[d>>0]=e;if(!c){d=f;break}else{b=b+1|0;d=f}}while(0);i[d>>0]=0;return a|0}function $pb(a,b){a=a|0;b=b|0;a=a+(Xpb(a,b)|0)|0;return (i[a>>0]|0?a:0)|0}function aqb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(c|0){d=a;while(1){c=c+-1|0;k[d>>2]=b;if(!c)break;else d=d+4|0}}return a|0}function bqb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(a-b>>2>>>0>>0){if(c|0)do{c=c+-1|0;k[a+(c<<2)>>2]=k[b+(c<<2)>>2]}while((c|0)!=0)}else if(c|0){d=a;while(1){c=c+-1|0;k[d>>2]=k[b>>2];if(!c)break;else{b=b+4|0;d=d+4|0}}}return a|0}function cqb(){var a=0,b=0;b=r;r=r+16|0;a=Lh(199,b|0)|0;r=b;return a|0}function dqb(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;a=Zlb(gf(118,b|0)|0)|0;r=b;return a|0}function eqb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=r;r=r+400|0;if(!(dob(d)|0)){c=b>>>0>65?65:b;a:do if(!c)b=0;else{b=0;do{e=i[d+65+b>>0]|0;i[a+b>>0]=e;if(!(e<<24>>24))break a;b=b+1|0}while(b>>>0>>0)}while(0);if((b|0)==(c|0)){i[a+(c+-1)>>0]=0;b=0}else b=0}else b=-1;r=d;return b|0}function fqb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;k[d>>2]=a;k[d+4>>2]=b;k[d+8>>2]=c;a=Zlb(mh(3,d|0)|0)|0;r=d;return a|0}function gqb(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;k[b+4>>2]=0;a=(Ub(b|0,b|0)|0)==0;r=b;return (a?0:k[b>>2]|0)|0}function hqb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;do if(a>>>0<245){n=a>>>0<11?16:a+11&-8;f=k[300539]|0;if(f>>>(n>>>3)&3|0){a=1202196+((f>>>(n>>>3)&1^1)+(n>>>3)<<1<<2)|0;b=k[a+8>>2]|0;c=k[b+8>>2]|0;do if((a|0)==(c|0))k[300539]=f&~(1<<(f>>>(n>>>3)&1^1)+(n>>>3));else{if(c>>>0<(k[300543]|0)>>>0)Zh();if((k[c+12>>2]|0)==(b|0)){k[c+12>>2]=a;k[a+8>>2]=c;break}else Zh()}while(0);x=(f>>>(n>>>3)&1^1)+(n>>>3)<<3;k[b+4>>2]=x|3;k[b+x+4>>2]=k[b+x+4>>2]|1;x=b+8|0;return x|0}b=k[300541]|0;if(n>>>0>b>>>0){if(f>>>(n>>>3)|0){a=f>>>(n>>>3)<<(n>>>3)&(2<<(n>>>3)|0-(2<<(n>>>3)));e=((a&0-a)+-1|0)>>>(((a&0-a)+-1|0)>>>12&16);d=e>>>(e>>>5&8)>>>(e>>>(e>>>5&8)>>>2&4);d=(e>>>5&8|((a&0-a)+-1|0)>>>12&16|e>>>(e>>>5&8)>>>2&4|d>>>1&2|d>>>(d>>>1&2)>>>1&1)+(d>>>(d>>>1&2)>>>(d>>>(d>>>1&2)>>>1&1))|0;e=k[1202196+(d<<1<<2)+8>>2]|0;a=k[e+8>>2]|0;do if((1202196+(d<<1<<2)|0)==(a|0)){k[300539]=f&~(1<>>0<(k[300543]|0)>>>0)Zh();if((k[a+12>>2]|0)==(e|0)){k[a+12>>2]=1202196+(d<<1<<2);k[1202196+(d<<1<<2)+8>>2]=a;g=k[300541]|0;break}else Zh()}while(0);k[e+4>>2]=n|3;k[e+n+4>>2]=(d<<3)-n|1;k[e+n+((d<<3)-n)>>2]=(d<<3)-n;if(g|0){c=k[300544]|0;b=g>>>3;a=k[300539]|0;if(!(a&1<>2]|0;if(a>>>0<(k[300543]|0)>>>0)Zh();else{h=1202196+(b<<1<<2)+8|0;i=a}}k[h>>2]=c;k[i+12>>2]=c;k[c+8>>2]=i;k[c+12>>2]=1202196+(b<<1<<2)}k[300541]=(d<<3)-n;k[300544]=e+n;x=e+8|0;return x|0}a=k[300540]|0;if(a){c=((a&0-a)+-1|0)>>>(((a&0-a)+-1|0)>>>12&16);d=c>>>(c>>>5&8)>>>(c>>>(c>>>5&8)>>>2&4);d=k[1202460+((c>>>5&8|((a&0-a)+-1|0)>>>12&16|c>>>(c>>>5&8)>>>2&4|d>>>1&2|d>>>(d>>>1&2)>>>1&1)+(d>>>(d>>>1&2)>>>(d>>>(d>>>1&2)>>>1&1))<<2)>>2]|0;c=(k[d+4>>2]&-8)-n|0;b=d;while(1){a=k[b+16>>2]|0;if(!a){a=k[b+20>>2]|0;if(!a){h=c;break}}b=(k[a+4>>2]&-8)-n|0;x=b>>>0>>0;c=x?b:c;b=a;d=x?a:d}f=k[300543]|0;if(d>>>0>>0)Zh();if(d>>>0>=(d+n|0)>>>0)Zh();g=k[d+24>>2]|0;a=k[d+12>>2]|0;do if((a|0)==(d|0)){a=k[d+20>>2]|0;if(!a){a=k[d+16>>2]|0;if(!a){j=0;break}else b=d+16|0}else b=d+20|0;while(1){c=a+20|0;e=k[c>>2]|0;if(e|0){a=e;b=c;continue}c=a+16|0;e=k[c>>2]|0;if(!e)break;else{a=e;b=c}}if(b>>>0>>0)Zh();else{k[b>>2]=0;j=a;break}}else{b=k[d+8>>2]|0;if(b>>>0>>0)Zh();if((k[b+12>>2]|0)!=(d|0))Zh();if((k[a+8>>2]|0)==(d|0)){k[b+12>>2]=a;k[a+8>>2]=b;j=a;break}else Zh()}while(0);do if(g|0){a=k[d+28>>2]|0;if((d|0)==(k[1202460+(a<<2)>>2]|0)){k[1202460+(a<<2)>>2]=j;if(!j){k[300540]=k[300540]&~(1<>>0<(k[300543]|0)>>>0)Zh();if((k[g+16>>2]|0)==(d|0))k[g+16>>2]=j;else k[g+20>>2]=j;if(!j)break}b=k[300543]|0;if(j>>>0>>0)Zh();k[j+24>>2]=g;a=k[d+16>>2]|0;do if(a|0)if(a>>>0>>0)Zh();else{k[j+16>>2]=a;k[a+24>>2]=j;break}while(0);a=k[d+20>>2]|0;if(a|0)if(a>>>0<(k[300543]|0)>>>0)Zh();else{k[j+20>>2]=a;k[a+24>>2]=j;break}}while(0);if(h>>>0<16){k[d+4>>2]=h+n|3;k[d+(h+n)+4>>2]=k[d+(h+n)+4>>2]|1}else{k[d+4>>2]=n|3;k[d+n+4>>2]=h|1;k[d+n+h>>2]=h;b=k[300541]|0;if(b|0){c=k[300544]|0;a=k[300539]|0;if(!(a&1<<(b>>>3))){k[300539]=a|1<<(b>>>3);l=1202196+(b>>>3<<1<<2)+8|0;m=1202196+(b>>>3<<1<<2)|0}else{a=k[1202196+(b>>>3<<1<<2)+8>>2]|0;if(a>>>0<(k[300543]|0)>>>0)Zh();else{l=1202196+(b>>>3<<1<<2)+8|0;m=a}}k[l>>2]=c;k[m+12>>2]=c;k[c+8>>2]=m;k[c+12>>2]=1202196+(b>>>3<<1<<2)}k[300541]=h;k[300544]=d+n}x=d+8|0;return x|0}}}else if(a>>>0>4294967231)n=-1;else{n=a+11&-8;h=k[300540]|0;if(h){if(!((a+11|0)>>>8))g=0;else if(n>>>0>16777215)g=31;else{g=(a+11|0)>>>8<<((((a+11|0)>>>8)+1048320|0)>>>16&8);g=14-((g+520192|0)>>>16&4|(((a+11|0)>>>8)+1048320|0)>>>16&8|((g<<((g+520192|0)>>>16&4))+245760|0)>>>16&2)+(g<<((g+520192|0)>>>16&4)<<(((g<<((g+520192|0)>>>16&4))+245760|0)>>>16&2)>>>15)|0;g=n>>>(g+7|0)&1|g<<1}b=k[1202460+(g<<2)>>2]|0;a:do if(!b){c=0-n|0;a=0;b=0;r=86}else{c=0-n|0;a=0;e=n<<((g|0)==31?0:25-(g>>>1)|0);f=b;b=0;while(1){d=k[f+4>>2]&-8;if((d-n|0)>>>0>>0)if((d|0)==(n|0)){c=d-n|0;a=f;b=f;r=90;break a}else{c=d-n|0;b=f}d=k[f+20>>2]|0;f=k[f+16+(e>>>31<<2)>>2]|0;a=(d|0)==0|(d|0)==(f|0)?a:d;d=(f|0)==0;if(d){r=86;break}else e=e<<(d&1^1)}}while(0);if((r|0)==86){if((a|0)==0&(b|0)==0){a=2<>>(l>>>12&16)>>>(l>>>(l>>>12&16)>>>5&8);a=m>>>(m>>>2&4)>>>(m>>>(m>>>2&4)>>>1&2);a=k[1202460+((l>>>(l>>>12&16)>>>5&8|l>>>12&16|m>>>2&4|m>>>(m>>>2&4)>>>1&2|a>>>1&1)+(a>>>(a>>>1&1))<<2)>>2]|0}if(!a){h=c;i=b}else r=90}if((r|0)==90)while(1){r=0;m=(k[a+4>>2]&-8)-n|0;d=m>>>0>>0;c=d?m:c;b=d?a:b;d=k[a+16>>2]|0;if(d|0){a=d;r=90;continue}a=k[a+20>>2]|0;if(!a){h=c;i=b;break}else r=90}if(i)if(h>>>0<((k[300541]|0)-n|0)>>>0){e=k[300543]|0;if(i>>>0>>0)Zh();g=i+n|0;if(i>>>0>=g>>>0)Zh();f=k[i+24>>2]|0;a=k[i+12>>2]|0;do if((a|0)==(i|0)){b=i+20|0;a=k[b>>2]|0;if(!a){b=i+16|0;a=k[b>>2]|0;if(!a){o=0;break}}while(1){c=a+20|0;d=k[c>>2]|0;if(d|0){a=d;b=c;continue}c=a+16|0;d=k[c>>2]|0;if(!d)break;else{a=d;b=c}}if(b>>>0>>0)Zh();else{k[b>>2]=0;o=a;break}}else{b=k[i+8>>2]|0;if(b>>>0>>0)Zh();if((k[b+12>>2]|0)!=(i|0))Zh();if((k[a+8>>2]|0)==(i|0)){k[b+12>>2]=a;k[a+8>>2]=b;o=a;break}else Zh()}while(0);do if(f|0){a=k[i+28>>2]|0;if((i|0)==(k[1202460+(a<<2)>>2]|0)){k[1202460+(a<<2)>>2]=o;if(!o){k[300540]=k[300540]&~(1<>>0<(k[300543]|0)>>>0)Zh();if((k[f+16>>2]|0)==(i|0))k[f+16>>2]=o;else k[f+20>>2]=o;if(!o)break}b=k[300543]|0;if(o>>>0>>0)Zh();k[o+24>>2]=f;a=k[i+16>>2]|0;do if(a|0)if(a>>>0>>0)Zh();else{k[o+16>>2]=a;k[a+24>>2]=o;break}while(0);a=k[i+20>>2]|0;if(a|0)if(a>>>0<(k[300543]|0)>>>0)Zh();else{k[o+20>>2]=a;k[a+24>>2]=o;break}}while(0);do if(h>>>0<16){x=h+n|0;k[i+4>>2]=x|3;x=i+x+4|0;k[x>>2]=k[x>>2]|1}else{k[i+4>>2]=n|3;k[g+4>>2]=h|1;k[g+h>>2]=h;b=h>>>3;if(h>>>0<256){a=k[300539]|0;if(!(a&1<>2]|0;if(a>>>0<(k[300543]|0)>>>0)Zh();else{p=1202196+(b<<1<<2)+8|0;q=a}}k[p>>2]=g;k[q+12>>2]=g;k[g+8>>2]=q;k[g+12>>2]=1202196+(b<<1<<2);break}a=h>>>8;if(!a)c=0;else if(h>>>0>16777215)c=31;else{c=a<<((a+1048320|0)>>>16&8)<<(((a<<((a+1048320|0)>>>16&8))+520192|0)>>>16&4);c=14-(((a<<((a+1048320|0)>>>16&8))+520192|0)>>>16&4|(a+1048320|0)>>>16&8|(c+245760|0)>>>16&2)+(c<<((c+245760|0)>>>16&2)>>>15)|0;c=h>>>(c+7|0)&1|c<<1}d=1202460+(c<<2)|0;k[g+28>>2]=c;k[g+16+4>>2]=0;k[g+16>>2]=0;a=k[300540]|0;b=1<>2]=g;k[g+24>>2]=d;k[g+12>>2]=g;k[g+8>>2]=g;break}c=h<<((c|0)==31?0:25-(c>>>1)|0);b=k[d>>2]|0;while(1){if((k[b+4>>2]&-8|0)==(h|0)){r=148;break}d=b+16+(c>>>31<<2)|0;a=k[d>>2]|0;if(!a){r=145;break}else{c=c<<1;b=a}}if((r|0)==145)if(d>>>0<(k[300543]|0)>>>0)Zh();else{k[d>>2]=g;k[g+24>>2]=b;k[g+12>>2]=g;k[g+8>>2]=g;break}else if((r|0)==148){a=k[b+8>>2]|0;x=k[300543]|0;if(a>>>0>=x>>>0&b>>>0>=x>>>0){k[a+12>>2]=g;k[b+8>>2]=g;k[g+8>>2]=a;k[g+12>>2]=b;k[g+24>>2]=0;break}else Zh()}}while(0);x=i+8|0;return x|0}}}while(0);c=k[300541]|0;if(c>>>0>=n>>>0){a=c-n|0;b=k[300544]|0;if(a>>>0>15){x=b+n|0;k[300544]=x;k[300541]=a;k[x+4>>2]=a|1;k[x+a>>2]=a;k[b+4>>2]=n|3}else{k[300541]=0;k[300544]=0;k[b+4>>2]=c|3;k[b+c+4>>2]=k[b+c+4>>2]|1}x=b+8|0;return x|0}a=k[300542]|0;if(a>>>0>n>>>0){v=a-n|0;k[300542]=v;x=k[300545]|0;w=x+n|0;k[300545]=w;k[w+4>>2]=v|1;k[x+4>>2]=n|3;x=x+8|0;return x|0}do if(!(k[300657]|0)){a=Ke(30)|0;if(!(a+-1&a)){k[300659]=a;k[300658]=a;k[300660]=-1;k[300661]=-1;k[300662]=0;k[300650]=0;q=(th(0)|0)&-16^1431655768;k[300657]=q;break}else Zh()}while(0);f=n+48|0;d=k[300659]|0;g=n+47|0;h=d+g&0-d;if(h>>>0<=n>>>0){x=0;return x|0}a=k[300649]|0;if(a|0){q=k[300647]|0;if((q+h|0)>>>0<=q>>>0|(q+h|0)>>>0>a>>>0){x=0;return x|0}}b:do if(!(k[300650]&4)){a=k[300545]|0;c:do if(!a)r=173;else{c=1202604;while(1){b=k[c>>2]|0;if(b>>>0<=a>>>0){e=c+4|0;if((b+(k[e>>2]|0)|0)>>>0>a>>>0)break}c=k[c+8>>2]|0;if(!c){r=173;break c}}a=d+g-(k[300542]|0)&0-d;if(a>>>0<2147483647){b=Fg(a|0)|0;if((b|0)==((k[c>>2]|0)+(k[e>>2]|0)|0)){if((b|0)!=(-1|0)){e=b;g=a;r=193;break b}}else{e=b;r=183}}}while(0);do if((r|0)==173){e=Fg(0)|0;if((e|0)!=(-1|0)){a=k[300658]|0;if(!(a+-1&e))a=h;else a=h-e+(a+-1+e&0-a)|0;b=k[300647]|0;c=b+a|0;if(a>>>0>n>>>0&a>>>0<2147483647){d=k[300649]|0;if(d|0)if(c>>>0<=b>>>0|c>>>0>d>>>0)break;b=Fg(a|0)|0;if((b|0)==(e|0)){g=a;r=193;break b}else{e=b;r=183}}}}while(0);d:do if((r|0)==183){c=0-a|0;do if(f>>>0>a>>>0&(a>>>0<2147483647&(e|0)!=(-1|0))){b=k[300659]|0;b=g-a+b&0-b;if(b>>>0<2147483647)if((Fg(b|0)|0)==(-1|0)){Fg(c|0)|0;break d}else{a=b+a|0;break}}while(0);if((e|0)!=(-1|0)){g=a;r=193;break b}}while(0);k[300650]=k[300650]|4;r=190}else r=190;while(0);if((r|0)==190)if(h>>>0<2147483647){a=Fg(h|0)|0;b=Fg(0)|0;if(a>>>0>>0&((a|0)!=(-1|0)&(b|0)!=(-1|0)))if((b-a|0)>>>0>(n+40|0)>>>0){e=a;g=b-a|0;r=193}}if((r|0)==193){a=(k[300647]|0)+g|0;k[300647]=a;if(a>>>0>(k[300648]|0)>>>0)k[300648]=a;j=k[300545]|0;do if(!j){x=k[300543]|0;if((x|0)==0|e>>>0>>0)k[300543]=e;k[300651]=e;k[300652]=g;k[300654]=0;k[300548]=k[300657];k[300547]=-1;a=0;do{x=1202196+(a<<1<<2)|0;k[x+12>>2]=x;k[x+8>>2]=x;a=a+1|0}while((a|0)!=32);x=e+8|0;x=(x&7|0)==0?0:0-x&7;w=e+x|0;x=g+-40-x|0;k[300545]=w;k[300542]=x;k[w+4>>2]=x|1;k[w+x+4>>2]=40;k[300546]=k[300661]}else{a=1202604;do{b=k[a>>2]|0;c=a+4|0;d=k[c>>2]|0;if((e|0)==(b+d|0)){r=203;break}a=k[a+8>>2]|0}while((a|0)!=0);if((r|0)==203)if(!(k[a+12>>2]&8))if(j>>>0>>0&j>>>0>=b>>>0){k[c>>2]=d+g;w=(j+8&7|0)==0?0:0-(j+8)&7;x=g-w+(k[300542]|0)|0;k[300545]=j+w;k[300542]=x;k[j+w+4>>2]=x|1;k[j+w+x+4>>2]=40;k[300546]=k[300661];break}a=k[300543]|0;if(e>>>0>>0){k[300543]=e;i=e}else i=a;c=e+g|0;a=1202604;while(1){if((k[a>>2]|0)==(c|0)){b=a;r=211;break}a=k[a+8>>2]|0;if(!a){c=1202604;break}}if((r|0)==211)if(!(k[a+12>>2]&8)){k[b>>2]=e;k[a+4>>2]=(k[a+4>>2]|0)+g;m=e+8|0;m=e+((m&7|0)==0?0:0-m&7)|0;a=c+((c+8&7|0)==0?0:0-(c+8)&7)|0;l=m+n|0;h=a-m-n|0;k[m+4>>2]=n|3;do if((a|0)==(j|0)){x=(k[300542]|0)+h|0;k[300542]=x;k[300545]=l;k[l+4>>2]=x|1}else{if((a|0)==(k[300544]|0)){x=(k[300541]|0)+h|0;k[300541]=x;k[300544]=l;k[l+4>>2]=x|1;k[l+x>>2]=x;break}g=k[a+4>>2]|0;if((g&3|0)==1){e:do if(g>>>0<256){b=k[a+8>>2]|0;c=k[a+12>>2]|0;do if((b|0)!=(1202196+(g>>>3<<1<<2)|0)){if(b>>>0>>0)Zh();if((k[b+12>>2]|0)==(a|0))break;Zh()}while(0);if((c|0)==(b|0)){k[300539]=k[300539]&~(1<<(g>>>3));break}do if((c|0)==(1202196+(g>>>3<<1<<2)|0))s=c+8|0;else{if(c>>>0>>0)Zh();if((k[c+8>>2]|0)==(a|0)){s=c+8|0;break}Zh()}while(0);k[b+12>>2]=c;k[s>>2]=b}else{f=k[a+24>>2]|0;b=k[a+12>>2]|0;do if((b|0)==(a|0)){b=k[a+16+4>>2]|0;if(!b){b=k[a+16>>2]|0;if(!b){v=0;break}else c=a+16|0}else c=a+16+4|0;while(1){d=b+20|0;e=k[d>>2]|0;if(e|0){b=e;c=d;continue}d=b+16|0;e=k[d>>2]|0;if(!e)break;else{b=e;c=d}}if(c>>>0>>0)Zh();else{k[c>>2]=0;v=b;break}}else{c=k[a+8>>2]|0;if(c>>>0>>0)Zh();if((k[c+12>>2]|0)!=(a|0))Zh();if((k[b+8>>2]|0)==(a|0)){k[c+12>>2]=b;k[b+8>>2]=c;v=b;break}else Zh()}while(0);if(!f)break;b=k[a+28>>2]|0;do if((a|0)==(k[1202460+(b<<2)>>2]|0)){k[1202460+(b<<2)>>2]=v;if(v|0)break;k[300540]=k[300540]&~(1<>>0<(k[300543]|0)>>>0)Zh();if((k[f+16>>2]|0)==(a|0))k[f+16>>2]=v;else k[f+20>>2]=v;if(!v)break e}while(0);c=k[300543]|0;if(v>>>0>>0)Zh();k[v+24>>2]=f;b=k[a+16>>2]|0;do if(b|0)if(b>>>0>>0)Zh();else{k[v+16>>2]=b;k[b+24>>2]=v;break}while(0);b=k[a+16+4>>2]|0;if(!b)break;if(b>>>0<(k[300543]|0)>>>0)Zh();else{k[v+20>>2]=b;k[b+24>>2]=v;break}}while(0);a=a+(g&-8)|0;e=(g&-8)+h|0}else e=h;b=a+4|0;k[b>>2]=k[b>>2]&-2;k[l+4>>2]=e|1;k[l+e>>2]=e;b=e>>>3;if(e>>>0<256){a=k[300539]|0;do if(!(a&1<>2]|0;if(a>>>0>=(k[300543]|0)>>>0){w=1202196+(b<<1<<2)+8|0;x=a;break}Zh()}while(0);k[w>>2]=l;k[x+12>>2]=l;k[l+8>>2]=x;k[l+12>>2]=1202196+(b<<1<<2);break}a=e>>>8;do if(!a)c=0;else{if(e>>>0>16777215){c=31;break}c=a<<((a+1048320|0)>>>16&8)<<(((a<<((a+1048320|0)>>>16&8))+520192|0)>>>16&4);c=14-(((a<<((a+1048320|0)>>>16&8))+520192|0)>>>16&4|(a+1048320|0)>>>16&8|(c+245760|0)>>>16&2)+(c<<((c+245760|0)>>>16&2)>>>15)|0;c=e>>>(c+7|0)&1|c<<1}while(0);d=1202460+(c<<2)|0;k[l+28>>2]=c;k[l+16+4>>2]=0;k[l+16>>2]=0;a=k[300540]|0;b=1<>2]=l;k[l+24>>2]=d;k[l+12>>2]=l;k[l+8>>2]=l;break}c=e<<((c|0)==31?0:25-(c>>>1)|0);b=k[d>>2]|0;while(1){if((k[b+4>>2]&-8|0)==(e|0)){r=281;break}d=b+16+(c>>>31<<2)|0;a=k[d>>2]|0;if(!a){r=278;break}else{c=c<<1;b=a}}if((r|0)==278)if(d>>>0<(k[300543]|0)>>>0)Zh();else{k[d>>2]=l;k[l+24>>2]=b;k[l+12>>2]=l;k[l+8>>2]=l;break}else if((r|0)==281){a=k[b+8>>2]|0;x=k[300543]|0;if(a>>>0>=x>>>0&b>>>0>=x>>>0){k[a+12>>2]=l;k[b+8>>2]=l;k[l+8>>2]=a;k[l+12>>2]=b;k[l+24>>2]=0;break}else Zh()}}while(0);x=m+8|0;return x|0}else c=1202604;while(1){a=k[c>>2]|0;if(a>>>0<=j>>>0){b=a+(k[c+4>>2]|0)|0;if(b>>>0>j>>>0)break}c=k[c+8>>2]|0}f=b+-47+((b+-47+8&7|0)==0?0:0-(b+-47+8)&7)|0;f=f>>>0<(j+16|0)>>>0?j:f;a=e+8|0;a=(a&7|0)==0?0:0-a&7;x=e+a|0;a=g+-40-a|0;k[300545]=x;k[300542]=a;k[x+4>>2]=a|1;k[x+a+4>>2]=40;k[300546]=k[300661];k[f+4>>2]=27;k[f+8>>2]=k[300651];k[f+8+4>>2]=k[300652];k[f+8+8>>2]=k[300653];k[f+8+12>>2]=k[300654];k[300651]=e;k[300652]=g;k[300654]=0;k[300653]=f+8;a=f+24|0;do{a=a+4|0;k[a>>2]=7}while((a+4|0)>>>0>>0);if((f|0)!=(j|0)){k[f+4>>2]=k[f+4>>2]&-2;k[j+4>>2]=f-j|1;k[f>>2]=f-j;if((f-j|0)>>>0<256){b=1202196+((f-j|0)>>>3<<1<<2)|0;a=k[300539]|0;if(!(a&1<<((f-j|0)>>>3))){k[300539]=a|1<<((f-j|0)>>>3);t=b+8|0;u=b}else{a=k[b+8>>2]|0;if(a>>>0<(k[300543]|0)>>>0)Zh();else{t=b+8|0;u=a}}k[t>>2]=j;k[u+12>>2]=j;k[j+8>>2]=u;k[j+12>>2]=b;break}if(!((f-j|0)>>>8))c=0;else if((f-j|0)>>>0>16777215)c=31;else{c=(f-j|0)>>>8<<((((f-j|0)>>>8)+1048320|0)>>>16&8);c=14-((c+520192|0)>>>16&4|(((f-j|0)>>>8)+1048320|0)>>>16&8|((c<<((c+520192|0)>>>16&4))+245760|0)>>>16&2)+(c<<((c+520192|0)>>>16&4)<<(((c<<((c+520192|0)>>>16&4))+245760|0)>>>16&2)>>>15)|0;c=(f-j|0)>>>(c+7|0)&1|c<<1}d=1202460+(c<<2)|0;k[j+28>>2]=c;k[j+20>>2]=0;k[j+16>>2]=0;a=k[300540]|0;b=1<>2]=j;k[j+24>>2]=d;k[j+12>>2]=j;k[j+8>>2]=j;break}c=f-j<<((c|0)==31?0:25-(c>>>1)|0);b=k[d>>2]|0;while(1){if((k[b+4>>2]&-8|0)==(f-j|0)){r=307;break}d=b+16+(c>>>31<<2)|0;a=k[d>>2]|0;if(!a){r=304;break}else{c=c<<1;b=a}}if((r|0)==304)if(d>>>0<(k[300543]|0)>>>0)Zh();else{k[d>>2]=j;k[j+24>>2]=b;k[j+12>>2]=j;k[j+8>>2]=j;break}else if((r|0)==307){a=k[b+8>>2]|0;x=k[300543]|0;if(a>>>0>=x>>>0&b>>>0>=x>>>0){k[a+12>>2]=j;k[b+8>>2]=j;k[j+8>>2]=a;k[j+12>>2]=b;k[j+24>>2]=0;break}else Zh()}}}while(0);a=k[300542]|0;if(a>>>0>n>>>0){v=a-n|0;k[300542]=v;x=k[300545]|0;w=x+n|0;k[300545]=w;k[w+4>>2]=v|1;k[x+4>>2]=n|3;x=x+8|0;return x|0}}x=_lb()|0;k[x>>2]=12;x=0;return x|0}function iqb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0;if(!a)return;g=k[300543]|0;if((a+-8|0)>>>0>>0)Zh();b=k[a+-4>>2]|0;if((b&3|0)==1)Zh();n=a+-8+(b&-8)|0;do if(!(b&1)){d=k[a+-8>>2]|0;if(!(b&3))return;j=a+-8+(0-d)|0;i=d+(b&-8)|0;if(j>>>0>>0)Zh();if((j|0)==(k[300544]|0)){a=k[n+4>>2]|0;if((a&3|0)!=3){q=j;e=i;break}k[300541]=i;k[n+4>>2]=a&-2;k[j+4>>2]=i|1;k[j+i>>2]=i;return}if(d>>>0<256){a=k[j+8>>2]|0;b=k[j+12>>2]|0;if((a|0)!=(1202196+(d>>>3<<1<<2)|0)){if(a>>>0>>0)Zh();if((k[a+12>>2]|0)!=(j|0))Zh()}if((b|0)==(a|0)){k[300539]=k[300539]&~(1<<(d>>>3));q=j;e=i;break}if((b|0)==(1202196+(d>>>3<<1<<2)|0))c=b+8|0;else{if(b>>>0>>0)Zh();if((k[b+8>>2]|0)==(j|0))c=b+8|0;else Zh()}k[a+12>>2]=b;k[c>>2]=a;q=j;e=i;break}f=k[j+24>>2]|0;a=k[j+12>>2]|0;do if((a|0)==(j|0)){a=k[j+16+4>>2]|0;if(!a){a=k[j+16>>2]|0;if(!a){h=0;break}else b=j+16|0}else b=j+16+4|0;while(1){c=a+20|0;d=k[c>>2]|0;if(d|0){a=d;b=c;continue}c=a+16|0;d=k[c>>2]|0;if(!d)break;else{a=d;b=c}}if(b>>>0>>0)Zh();else{k[b>>2]=0;h=a;break}}else{b=k[j+8>>2]|0;if(b>>>0>>0)Zh();if((k[b+12>>2]|0)!=(j|0))Zh();if((k[a+8>>2]|0)==(j|0)){k[b+12>>2]=a;k[a+8>>2]=b;h=a;break}else Zh()}while(0);if(!f){q=j;e=i}else{a=k[j+28>>2]|0;if((j|0)==(k[1202460+(a<<2)>>2]|0)){k[1202460+(a<<2)>>2]=h;if(!h){k[300540]=k[300540]&~(1<>>0<(k[300543]|0)>>>0)Zh();if((k[f+16>>2]|0)==(j|0))k[f+16>>2]=h;else k[f+20>>2]=h;if(!h){q=j;e=i;break}}b=k[300543]|0;if(h>>>0>>0)Zh();k[h+24>>2]=f;a=k[j+16>>2]|0;do if(a|0)if(a>>>0>>0)Zh();else{k[h+16>>2]=a;k[a+24>>2]=h;break}while(0);a=k[j+16+4>>2]|0;if(!a){q=j;e=i}else if(a>>>0<(k[300543]|0)>>>0)Zh();else{k[h+20>>2]=a;k[a+24>>2]=h;q=j;e=i;break}}}else{q=a+-8|0;e=b&-8}while(0);if(q>>>0>=n>>>0)Zh();c=k[n+4>>2]|0;if(!(c&1))Zh();if(!(c&2)){if((n|0)==(k[300545]|0)){p=(k[300542]|0)+e|0;k[300542]=p;k[300545]=q;k[q+4>>2]=p|1;if((q|0)!=(k[300544]|0))return;k[300544]=0;k[300541]=0;return}if((n|0)==(k[300544]|0)){p=(k[300541]|0)+e|0;k[300541]=p;k[300544]=q;k[q+4>>2]=p|1;k[q+p>>2]=p;return}e=(c&-8)+e|0;do if(c>>>0<256){a=k[n+8>>2]|0;b=k[n+12>>2]|0;if((a|0)!=(1202196+(c>>>3<<1<<2)|0)){if(a>>>0<(k[300543]|0)>>>0)Zh();if((k[a+12>>2]|0)!=(n|0))Zh()}if((b|0)==(a|0)){k[300539]=k[300539]&~(1<<(c>>>3));break}if((b|0)==(1202196+(c>>>3<<1<<2)|0))l=b+8|0;else{if(b>>>0<(k[300543]|0)>>>0)Zh();if((k[b+8>>2]|0)==(n|0))l=b+8|0;else Zh()}k[a+12>>2]=b;k[l>>2]=a}else{f=k[n+24>>2]|0;a=k[n+12>>2]|0;do if((a|0)==(n|0)){a=k[n+16+4>>2]|0;if(!a){a=k[n+16>>2]|0;if(!a){m=0;break}else b=n+16|0}else b=n+16+4|0;while(1){c=a+20|0;d=k[c>>2]|0;if(d|0){a=d;b=c;continue}c=a+16|0;d=k[c>>2]|0;if(!d)break;else{a=d;b=c}}if(b>>>0<(k[300543]|0)>>>0)Zh();else{k[b>>2]=0;m=a;break}}else{b=k[n+8>>2]|0;if(b>>>0<(k[300543]|0)>>>0)Zh();if((k[b+12>>2]|0)!=(n|0))Zh();if((k[a+8>>2]|0)==(n|0)){k[b+12>>2]=a;k[a+8>>2]=b;m=a;break}else Zh()}while(0);if(f|0){a=k[n+28>>2]|0;if((n|0)==(k[1202460+(a<<2)>>2]|0)){k[1202460+(a<<2)>>2]=m;if(!m){k[300540]=k[300540]&~(1<>>0<(k[300543]|0)>>>0)Zh();if((k[f+16>>2]|0)==(n|0))k[f+16>>2]=m;else k[f+20>>2]=m;if(!m)break}b=k[300543]|0;if(m>>>0>>0)Zh();k[m+24>>2]=f;a=k[n+16>>2]|0;do if(a|0)if(a>>>0>>0)Zh();else{k[m+16>>2]=a;k[a+24>>2]=m;break}while(0);a=k[n+16+4>>2]|0;if(a|0)if(a>>>0<(k[300543]|0)>>>0)Zh();else{k[m+20>>2]=a;k[a+24>>2]=m;break}}}while(0);k[q+4>>2]=e|1;k[q+e>>2]=e;if((q|0)==(k[300544]|0)){k[300541]=e;return}}else{k[n+4>>2]=c&-2;k[q+4>>2]=e|1;k[q+e>>2]=e}b=e>>>3;if(e>>>0<256){a=k[300539]|0;if(!(a&1<>2]|0;if(a>>>0<(k[300543]|0)>>>0)Zh();else{o=1202196+(b<<1<<2)+8|0;p=a}}k[o>>2]=q;k[p+12>>2]=q;k[q+8>>2]=p;k[q+12>>2]=1202196+(b<<1<<2);return}a=e>>>8;if(!a)c=0;else if(e>>>0>16777215)c=31;else{c=a<<((a+1048320|0)>>>16&8)<<(((a<<((a+1048320|0)>>>16&8))+520192|0)>>>16&4);c=14-(((a<<((a+1048320|0)>>>16&8))+520192|0)>>>16&4|(a+1048320|0)>>>16&8|(c+245760|0)>>>16&2)+(c<<((c+245760|0)>>>16&2)>>>15)|0;c=e>>>(c+7|0)&1|c<<1}d=1202460+(c<<2)|0;k[q+28>>2]=c;k[q+20>>2]=0;k[q+16>>2]=0;a=k[300540]|0;b=1<>2]=q;k[q+24>>2]=d;k[q+12>>2]=q;k[q+8>>2]=q}else{c=e<<((c|0)==31?0:25-(c>>>1)|0);b=k[d>>2]|0;while(1){if((k[b+4>>2]&-8|0)==(e|0)){a=130;break}d=b+16+(c>>>31<<2)|0;a=k[d>>2]|0;if(!a){a=127;break}else{c=c<<1;b=a}}if((a|0)==127)if(d>>>0<(k[300543]|0)>>>0)Zh();else{k[d>>2]=q;k[q+24>>2]=b;k[q+12>>2]=q;k[q+8>>2]=q;break}else if((a|0)==130){a=k[b+8>>2]|0;p=k[300543]|0;if(a>>>0>=p>>>0&b>>>0>=p>>>0){k[a+12>>2]=q;k[b+8>>2]=q;k[q+8>>2]=a;k[q+12>>2]=b;k[q+24>>2]=0;break}else Zh()}}while(0);q=(k[300547]|0)+-1|0;k[300547]=q;if(!q)a=1202612;else return;while(1){a=k[a>>2]|0;if(!a)break;else a=a+8|0}k[300547]=-1;return}function jqb(a,b){a=a|0;b=b|0;var c=0;if(!a)c=0;else{c=ha(b,a)|0;if((b|a)>>>0>65535)c=((c>>>0)/(a>>>0)|0|0)==(b|0)?c:-1}b=hqb(c)|0;if(!b)return b|0;if(!(k[b+-4>>2]&3))return b|0;vBb(b|0,0,c|0)|0;return b|0}function kqb(a,b){a=a|0;b=b|0;var c=0,d=0;if(!a){a=hqb(b)|0;return a|0}if(b>>>0>4294967231){a=_lb()|0;k[a>>2]=12;a=0;return a|0}c=lqb(a+-8|0,b>>>0<11?16:b+11&-8)|0;if(c|0){a=c+8|0;return a|0}c=hqb(b)|0;if(!c){a=0;return a|0}d=k[a+-4>>2]|0;d=(d&-8)-((d&3|0)==0?8:4)|0;ABb(c|0,a|0,(d>>>0>>0?d:b)|0)|0;iqb(a);a=c;return a|0}function lqb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0;n=k[a+4>>2]|0;j=a+(n&-8)|0;h=k[300543]|0;if(!((n&3|0)!=1&a>>>0>=h>>>0&a>>>0>>0))Zh();m=k[j+4>>2]|0;if(!(m&1))Zh();if(!(n&3)){if(b>>>0<256){a=0;return a|0}if((n&-8)>>>0>=(b+4|0)>>>0)if(((n&-8)-b|0)>>>0<=k[300659]<<1>>>0)return a|0;a=0;return a|0}if((n&-8)>>>0>=b>>>0){if(((n&-8)-b|0)>>>0<=15)return a|0;k[a+4>>2]=n&1|b|2;k[a+b+4>>2]=(n&-8)-b|3;k[a+b+((n&-8)-b)+4>>2]=k[a+b+((n&-8)-b)+4>>2]|1;mqb(a+b|0,(n&-8)-b|0);return a|0}if((j|0)==(k[300545]|0)){c=(k[300542]|0)+(n&-8)|0;if(c>>>0<=b>>>0){a=0;return a|0}k[a+4>>2]=n&1|b|2;k[a+b+4>>2]=c-b|1;k[300545]=a+b;k[300542]=c-b;return a|0}if((j|0)==(k[300544]|0)){c=(k[300541]|0)+(n&-8)|0;if(c>>>0>>0){a=0;return a|0}if((c-b|0)>>>0>15){k[a+4>>2]=n&1|b|2;k[a+b+4>>2]=c-b|1;k[a+b+(c-b)>>2]=c-b;k[a+b+(c-b)+4>>2]=k[a+b+(c-b)+4>>2]&-2;d=a+b|0;c=c-b|0}else{k[a+4>>2]=n&1|c|2;k[a+c+4>>2]=k[a+c+4>>2]|1;d=0;c=0}k[300541]=c;k[300544]=d;return a|0}if(m&2|0){a=0;return a|0}if(((m&-8)+(n&-8)|0)>>>0>>0){a=0;return a|0}l=(m&-8)+(n&-8)-b|0;do if(m>>>0<256){c=k[j+8>>2]|0;d=k[j+12>>2]|0;if((c|0)!=(1202196+(m>>>3<<1<<2)|0)){if(c>>>0>>0)Zh();if((k[c+12>>2]|0)!=(j|0))Zh()}if((d|0)==(c|0)){k[300539]=k[300539]&~(1<<(m>>>3));break}if((d|0)==(1202196+(m>>>3<<1<<2)|0))e=d+8|0;else{if(d>>>0>>0)Zh();if((k[d+8>>2]|0)==(j|0))e=d+8|0;else Zh()}k[c+12>>2]=d;k[e>>2]=c}else{g=k[j+24>>2]|0;c=k[j+12>>2]|0;do if((c|0)==(j|0)){c=k[j+16+4>>2]|0;if(!c){c=k[j+16>>2]|0;if(!c){i=0;break}else d=j+16|0}else d=j+16+4|0;while(1){e=c+20|0;f=k[e>>2]|0;if(f|0){c=f;d=e;continue}e=c+16|0;f=k[e>>2]|0;if(!f)break;else{c=f;d=e}}if(d>>>0>>0)Zh();else{k[d>>2]=0;i=c;break}}else{d=k[j+8>>2]|0;if(d>>>0>>0)Zh();if((k[d+12>>2]|0)!=(j|0))Zh();if((k[c+8>>2]|0)==(j|0)){k[d+12>>2]=c;k[c+8>>2]=d;i=c;break}else Zh()}while(0);if(g|0){c=k[j+28>>2]|0;if((j|0)==(k[1202460+(c<<2)>>2]|0)){k[1202460+(c<<2)>>2]=i;if(!i){k[300540]=k[300540]&~(1<>>0<(k[300543]|0)>>>0)Zh();if((k[g+16>>2]|0)==(j|0))k[g+16>>2]=i;else k[g+20>>2]=i;if(!i)break}d=k[300543]|0;if(i>>>0>>0)Zh();k[i+24>>2]=g;c=k[j+16>>2]|0;do if(c|0)if(c>>>0>>0)Zh();else{k[i+16>>2]=c;k[c+24>>2]=i;break}while(0);c=k[j+16+4>>2]|0;if(c|0)if(c>>>0<(k[300543]|0)>>>0)Zh();else{k[i+20>>2]=c;k[c+24>>2]=i;break}}}while(0);if(l>>>0<16){k[a+4>>2]=(m&-8)+(n&-8)|n&1|2;k[a+((m&-8)+(n&-8))+4>>2]=k[a+((m&-8)+(n&-8))+4>>2]|1;return a|0}else{k[a+4>>2]=n&1|b|2;k[a+b+4>>2]=l|3;k[a+b+l+4>>2]=k[a+b+l+4>>2]|1;mqb(a+b|0,l);return a|0}return 0}function mqb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0;c=k[a+4>>2]|0;do if(!(c&1)){l=k[a>>2]|0;if(!(c&3))return;i=k[300543]|0;if((a+(0-l)|0)>>>0>>0)Zh();if((a+(0-l)|0)==(k[300544]|0)){c=k[a+b+4>>2]|0;if((c&3|0)!=3){q=a+(0-l)|0;g=l+b|0;break}k[300541]=l+b;k[a+b+4>>2]=c&-2;k[a+(0-l)+4>>2]=l+b|1;k[a+(0-l)+(l+b)>>2]=l+b;return}if(l>>>0<256){c=k[a+(0-l)+8>>2]|0;d=k[a+(0-l)+12>>2]|0;if((c|0)!=(1202196+(l>>>3<<1<<2)|0)){if(c>>>0>>0)Zh();if((k[c+12>>2]|0)!=(a+(0-l)|0))Zh()}if((d|0)==(c|0)){k[300539]=k[300539]&~(1<<(l>>>3));q=a+(0-l)|0;g=l+b|0;break}if((d|0)==(1202196+(l>>>3<<1<<2)|0))e=d+8|0;else{if(d>>>0>>0)Zh();if((k[d+8>>2]|0)==(a+(0-l)|0))e=d+8|0;else Zh()}k[c+12>>2]=d;k[e>>2]=c;q=a+(0-l)|0;g=l+b|0;break}h=k[a+(0-l)+24>>2]|0;c=k[a+(0-l)+12>>2]|0;do if((c|0)==(a+(0-l)|0)){d=a+(0-l)+16|0;c=k[d+4>>2]|0;if(!c){c=k[d>>2]|0;if(!c){j=0;break}}else d=d+4|0;while(1){e=c+20|0;f=k[e>>2]|0;if(f|0){c=f;d=e;continue}e=c+16|0;f=k[e>>2]|0;if(!f)break;else{c=f;d=e}}if(d>>>0>>0)Zh();else{k[d>>2]=0;j=c;break}}else{d=k[a+(0-l)+8>>2]|0;if(d>>>0>>0)Zh();if((k[d+12>>2]|0)!=(a+(0-l)|0))Zh();if((k[c+8>>2]|0)==(a+(0-l)|0)){k[d+12>>2]=c;k[c+8>>2]=d;j=c;break}else Zh()}while(0);if(!h){q=a+(0-l)|0;g=l+b|0}else{c=k[a+(0-l)+28>>2]|0;if((a+(0-l)|0)==(k[1202460+(c<<2)>>2]|0)){k[1202460+(c<<2)>>2]=j;if(!j){k[300540]=k[300540]&~(1<>>0<(k[300543]|0)>>>0)Zh();if((k[h+16>>2]|0)==(a+(0-l)|0))k[h+16>>2]=j;else k[h+20>>2]=j;if(!j){q=a+(0-l)|0;g=l+b|0;break}}d=k[300543]|0;if(j>>>0>>0)Zh();k[j+24>>2]=h;c=k[a+(0-l)+16>>2]|0;do if(c|0)if(c>>>0>>0)Zh();else{k[j+16>>2]=c;k[c+24>>2]=j;break}while(0);c=k[a+(0-l)+16+4>>2]|0;if(!c){q=a+(0-l)|0;g=l+b|0}else if(c>>>0<(k[300543]|0)>>>0)Zh();else{k[j+20>>2]=c;k[c+24>>2]=j;q=a+(0-l)|0;g=l+b|0;break}}}else{q=a;g=b}while(0);i=k[300543]|0;if((a+b|0)>>>0>>0)Zh();e=k[a+b+4>>2]|0;if(!(e&2)){if((a+b|0)==(k[300545]|0)){p=(k[300542]|0)+g|0;k[300542]=p;k[300545]=q;k[q+4>>2]=p|1;if((q|0)!=(k[300544]|0))return;k[300544]=0;k[300541]=0;return}if((a+b|0)==(k[300544]|0)){p=(k[300541]|0)+g|0;k[300541]=p;k[300544]=q;k[q+4>>2]=p|1;k[q+p>>2]=p;return}g=(e&-8)+g|0;do if(e>>>0<256){c=k[a+b+8>>2]|0;d=k[a+b+12>>2]|0;if((c|0)!=(1202196+(e>>>3<<1<<2)|0)){if(c>>>0>>0)Zh();if((k[c+12>>2]|0)!=(a+b|0))Zh()}if((d|0)==(c|0)){k[300539]=k[300539]&~(1<<(e>>>3));break}if((d|0)==(1202196+(e>>>3<<1<<2)|0))m=d+8|0;else{if(d>>>0>>0)Zh();if((k[d+8>>2]|0)==(a+b|0))m=d+8|0;else Zh()}k[c+12>>2]=d;k[m>>2]=c}else{h=k[a+b+24>>2]|0;c=k[a+b+12>>2]|0;do if((c|0)==(a+b|0)){c=k[a+b+16+4>>2]|0;if(!c){c=k[a+b+16>>2]|0;if(!c){n=0;break}else d=a+b+16|0}else d=a+b+16+4|0;while(1){e=c+20|0;f=k[e>>2]|0;if(f|0){c=f;d=e;continue}e=c+16|0;f=k[e>>2]|0;if(!f)break;else{c=f;d=e}}if(d>>>0>>0)Zh();else{k[d>>2]=0;n=c;break}}else{d=k[a+b+8>>2]|0;if(d>>>0>>0)Zh();if((k[d+12>>2]|0)!=(a+b|0))Zh();if((k[c+8>>2]|0)==(a+b|0)){k[d+12>>2]=c;k[c+8>>2]=d;n=c;break}else Zh()}while(0);if(h|0){c=k[a+b+28>>2]|0;if((a+b|0)==(k[1202460+(c<<2)>>2]|0)){k[1202460+(c<<2)>>2]=n;if(!n){k[300540]=k[300540]&~(1<>>0<(k[300543]|0)>>>0)Zh();if((k[h+16>>2]|0)==(a+b|0))k[h+16>>2]=n;else k[h+20>>2]=n;if(!n)break}d=k[300543]|0;if(n>>>0>>0)Zh();k[n+24>>2]=h;c=k[a+b+16>>2]|0;do if(c|0)if(c>>>0>>0)Zh();else{k[n+16>>2]=c;k[c+24>>2]=n;break}while(0);c=k[a+b+16+4>>2]|0;if(c|0)if(c>>>0<(k[300543]|0)>>>0)Zh();else{k[n+20>>2]=c;k[c+24>>2]=n;break}}}while(0);k[q+4>>2]=g|1;k[q+g>>2]=g;if((q|0)==(k[300544]|0)){k[300541]=g;return}}else{k[a+b+4>>2]=e&-2;k[q+4>>2]=g|1;k[q+g>>2]=g}d=g>>>3;if(g>>>0<256){c=k[300539]|0;if(!(c&1<>2]|0;if(c>>>0<(k[300543]|0)>>>0)Zh();else{o=1202196+(d<<1<<2)+8|0;p=c}}k[o>>2]=q;k[p+12>>2]=q;k[q+8>>2]=p;k[q+12>>2]=1202196+(d<<1<<2);return}c=g>>>8;if(!c)e=0;else if(g>>>0>16777215)e=31;else{e=c<<((c+1048320|0)>>>16&8)<<(((c<<((c+1048320|0)>>>16&8))+520192|0)>>>16&4);e=14-(((c<<((c+1048320|0)>>>16&8))+520192|0)>>>16&4|(c+1048320|0)>>>16&8|(e+245760|0)>>>16&2)+(e<<((e+245760|0)>>>16&2)>>>15)|0;e=g>>>(e+7|0)&1|e<<1}f=1202460+(e<<2)|0;k[q+28>>2]=e;k[q+20>>2]=0;k[q+16>>2]=0;c=k[300540]|0;d=1<>2]=q;k[q+24>>2]=f;k[q+12>>2]=q;k[q+8>>2]=q;return}e=g<<((e|0)==31?0:25-(e>>>1)|0);d=k[f>>2]|0;while(1){if((k[d+4>>2]&-8|0)==(g|0)){c=127;break}f=d+16+(e>>>31<<2)|0;c=k[f>>2]|0;if(!c){c=124;break}else{e=e<<1;d=c}}if((c|0)==124){if(f>>>0<(k[300543]|0)>>>0)Zh();k[f>>2]=q;k[q+24>>2]=d;k[q+12>>2]=q;k[q+8>>2]=q;return}else if((c|0)==127){c=k[d+8>>2]|0;p=k[300543]|0;if(!(c>>>0>=p>>>0&d>>>0>=p>>>0))Zh();k[c+12>>2]=q;k[d+8>>2]=q;k[q+8>>2]=c;k[q+12>>2]=d;k[q+24>>2]=0;return}}function nqb(){oqb(0);return}function oqb(a){a=a|0;var b=0,c=0,d=0;c=k[37180]|0;pqb(1203332,c,1203388);k[300663]=153168;k[300665]=153188;k[300664]=0;Fsb(1202660,1203332);k[300683]=0;k[300684]=-1;b=k[37209]|0;wqb(1203436,b,1203396);k[300685]=153248;k[300686]=153268;Fsb(1202744,1203436);k[300704]=0;k[300705]=-1;a=k[37151]|0;wqb(1203484,a,1203404);k[300706]=153248;k[300707]=153268;Fsb(1202828,1203484);k[300725]=0;k[300726]=-1;d=k[1202824+(k[(k[300706]|0)+-12>>2]|0)+24>>2]|0;k[300727]=153248;k[300728]=153268;Fsb(1202912,d);k[300746]=0;k[300747]=-1;k[1202652+(k[(k[300663]|0)+-12>>2]|0)+72>>2]=1202740;d=1202824+(k[(k[300706]|0)+-12>>2]|0)+4|0;k[d>>2]=k[d>>2]|8192;k[1202824+(k[(k[300706]|0)+-12>>2]|0)+72>>2]=1202740;Cqb(1203532,c,1203412);k[300748]=153208;k[300750]=153228;k[300749]=0;Fsb(1203e3,1203532);k[300768]=0;k[300769]=-1;Jqb(1203588,b,1203420);k[300770]=153288;k[300771]=153308;Fsb(1203084,1203588);k[300789]=0;k[300790]=-1;Jqb(1203636,a,1203428);k[300791]=153288;k[300792]=153308;Fsb(1203168,1203636);k[300810]=0;k[300811]=-1;a=k[1203164+(k[(k[300791]|0)+-12>>2]|0)+24>>2]|0;k[300812]=153288;k[300813]=153308;Fsb(1203252,a);k[300831]=0;k[300832]=-1;k[1202992+(k[(k[300748]|0)+-12>>2]|0)+72>>2]=1203080;a=1203164+(k[(k[300791]|0)+-12>>2]|0)+4|0;k[a>>2]=k[a>>2]|8192;k[1203164+(k[(k[300791]|0)+-12>>2]|0)+72>>2]=1203080;return}function pqb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;Hsb(a);k[a>>2]=152380;k[a+32>>2]=b;k[a+40>>2]=c;k[a+48>>2]=-1;i[a+52>>0]=0;oAb(d+4|0,a+4|0);k[d>>2]=k[d+4>>2];rqb(a,d);pAb(d);r=d;return}function qqb(a){a=a|0;Irb(a);CAb(a);return}function rqb(a,b){a=a|0;b=b|0;b=gtb(b,1205492)|0;k[a+36>>2]=b;b=Gi[k[(k[b>>2]|0)+24>>2]&2047](b)|0;k[a+44>>2]=b;b=k[a+36>>2]|0;b=(Gi[k[(k[b>>2]|0)+28>>2]&2047](b)|0)&1;i[a+53>>0]=b;return}function sqb(a){a=a|0;return tqb(a,0)|0}function tqb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0;h=r;r=r+32|0;if(!(i[a+52>>0]|0)){c=k[a+44>>2]|0;c=(c|0)>1?c:1;e=0;while(1){if((e|0)>=(c|0)){g=8;break}d=Ipb(k[a+32>>2]|0)|0;if((d|0)==-1){c=-1;break}i[h+16+e>>0]=d;e=e+1|0}if((g|0)==8){do if(!(i[a+53>>0]|0)){a:while(1){j=k[a+40>>2]|0;d=k[j>>2]|0;e=k[j+4>>2]|0;m=k[a+36>>2]|0;f=h+16+c|0;switch(sj[k[(k[m>>2]|0)+16>>2]&31](m,j,h+16|0,f,h+4|0,h+8|0,h+8+1|0,h)|0){case 3:{g=15;break a}case 2:{g=17;break a}case 1:break;default:break a}m=k[a+40>>2]|0;k[m>>2]=d;k[m+4>>2]=e;if((c|0)==8){g=17;break}d=Ipb(k[a+32>>2]|0)|0;if((d|0)==-1){g=17;break}i[f>>0]=d;c=c+1|0}if((g|0)==15)i[h+8>>0]=i[h+16>>0]|0;else if((g|0)==17){c=-1;break}g=18}else{i[h+8>>0]=i[h+16>>0]|0;g=18}while(0);b:do if((g|0)==18){if(b){c=i[h+8>>0]|0;k[a+48>>2]=c&255}else{while(1){if((c|0)<=0)break;c=c+-1|0;if((ypb(l[h+16+c>>0]|0,k[a+32>>2]|0)|0)==-1){c=-1;break b}}c=i[h+8>>0]|0}c=c&255}while(0)}}else{c=k[a+48>>2]|0;if(b){k[a+48>>2]=-1;i[a+52>>0]=0}}r=h;return c|0}function uqb(a){a=a|0;return tqb(a,1)|0}function vqb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=r;r=r+32|0;c=(i[a+52>>0]|0)!=0;a:do if((b|0)==-1)if(c)b=-1;else{b=k[a+48>>2]|0;i[a+52>>0]=(b|0)!=-1&1}else{do if(c){i[e+8>>0]=k[a+48>>2];d=k[a+36>>2]|0;switch(sj[k[(k[d>>2]|0)+12>>2]&31](d,k[a+40>>2]|0,e+8|0,e+8+1|0,e,e+16|0,e+16+8|0,e+4|0)|0){case 1:case 2:{b=-1;break a}case 3:{i[e+16>>0]=k[a+48>>2];k[e+4>>2]=e+16+1;break}default:{}}while(1){c=k[e+4>>2]|0;if(c>>>0<=(e+16|0)>>>0){d=13;break}k[e+4>>2]=c+-1;if((ypb(i[c+-1>>0]|0,k[a+32>>2]|0)|0)==-1){d=12;break}}if((d|0)==12){b=-1;break a}else if((d|0)==13){c=a+48|0;break}}else c=a+48|0;while(0);k[c>>2]=b;i[a+52>>0]=1}while(0);r=e;return b|0}function wqb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;Hsb(a);k[a>>2]=152444;k[a+32>>2]=b;oAb(d+4|0,a+4|0);k[d>>2]=k[d+4>>2];b=gtb(d,1205492)|0;pAb(d);k[a+36>>2]=b;k[a+40>>2]=c;c=(Gi[k[(k[b>>2]|0)+28>>2]&2047](b)|0)&1;i[a+44>>0]=c;r=d;return}function xqb(a){a=a|0;Irb(a);CAb(a);return}function yqb(a,b){a=a|0;b=b|0;Gi[k[(k[a>>2]|0)+24>>2]&2047](a)|0;b=gtb(b,1205492)|0;k[a+36>>2]=b;b=(Gi[k[(k[b>>2]|0)+28>>2]&2047](b)|0)&1;i[a+44>>0]=b;return}function zqb(a){a=a|0;var b=0,c=0,d=0,e=0;d=r;r=r+16|0;a:while(1){b=k[a+36>>2]|0;b=Ni[k[(k[b>>2]|0)+20>>2]&127](b,k[a+40>>2]|0,d+8|0,d+8+8|0,d)|0;e=(k[d>>2]|0)-(d+8)|0;if((Dpb(d+8|0,1,e,k[a+32>>2]|0)|0)!=(e|0)){b=-1;break}switch(b|0){case 1:break;case 2:{b=-1;break a}default:{c=4;break a}}}if((c|0)==4)b=((nob(k[a+32>>2]|0)|0)!=0)<<31>>31;r=d;return b|0}function Aqb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:do if(!(i[a+44>>0]|0)){d=b;b=0;while(1){if((b|0)>=(c|0))break a;if((gj[k[(k[a>>2]|0)+52>>2]&511](a,l[d>>0]|0)|0)==-1)break a;d=d+1|0;b=b+1|0}}else b=Dpb(b,1,c,k[a+32>>2]|0)|0;while(0);return b|0}function Bqb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=r;r=r+32|0;do if((b|0)==-1)e=14;else{i[f+8>>0]=b;if(i[a+44>>0]|0)if((Dpb(f+8|0,1,1,k[a+32>>2]|0)|0)==1){e=14;break}else{c=-1;break}k[f+4>>2]=f+16;d=f+8|0;while(1){c=k[a+36>>2]|0;c=sj[k[(k[c>>2]|0)+12>>2]&31](c,k[a+40>>2]|0,d,f+8+1|0,f,f+16|0,f+16+8|0,f+4|0)|0;if((k[f>>2]|0)==(d|0)){e=13;break}if((c|0)==3){e=7;break}if((c|1|0)!=1){e=13;break}e=(k[f+4>>2]|0)-(f+16)|0;if((Dpb(f+16|0,1,e,k[a+32>>2]|0)|0)!=(e|0)){e=13;break}if((c|0)==1)d=k[f>>2]|0;else{e=12;break}}if((e|0)==7)if((Dpb(d,1,1,k[a+32>>2]|0)|0)==1)e=12;else e=13;if((e|0)==12){e=14;break}else if((e|0)==13){c=-1;break}}while(0);if((e|0)==14)c=(b|0)==-1?0:b;r=f;return c|0}function Cqb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;Isb(a);k[a>>2]=152508;k[a+32>>2]=b;k[a+40>>2]=c;k[a+48>>2]=-1;i[a+52>>0]=0;oAb(d+4|0,a+4|0);k[d>>2]=k[d+4>>2];Eqb(a,d);pAb(d);r=d;return}function Dqb(a){a=a|0;Wrb(a);CAb(a);return}function Eqb(a,b){a=a|0;b=b|0;b=gtb(b,1205500)|0;k[a+36>>2]=b;b=Gi[k[(k[b>>2]|0)+24>>2]&2047](b)|0;k[a+44>>2]=b;b=k[a+36>>2]|0;b=(Gi[k[(k[b>>2]|0)+28>>2]&2047](b)|0)&1;i[a+53>>0]=b;return}function Fqb(a){a=a|0;return Gqb(a,0)|0}function Gqb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0;h=r;r=r+32|0;if(!(i[a+52>>0]|0)){c=k[a+44>>2]|0;c=(c|0)>1?c:1;e=0;while(1){if((e|0)>=(c|0)){g=8;break}d=Ipb(k[a+32>>2]|0)|0;if((d|0)==-1){c=-1;break}i[h+16+e>>0]=d;e=e+1|0}if((g|0)==8){do if(!(i[a+53>>0]|0)){a:while(1){j=k[a+40>>2]|0;d=k[j>>2]|0;e=k[j+4>>2]|0;l=k[a+36>>2]|0;f=h+16+c|0;switch(sj[k[(k[l>>2]|0)+16>>2]&31](l,j,h+16|0,f,h+4|0,h+8|0,h+8+4|0,h)|0){case 3:{g=15;break a}case 2:{g=17;break a}case 1:break;default:break a}l=k[a+40>>2]|0;k[l>>2]=d;k[l+4>>2]=e;if((c|0)==8){g=17;break}d=Ipb(k[a+32>>2]|0)|0;if((d|0)==-1){g=17;break}i[f>>0]=d;c=c+1|0}if((g|0)==15)k[h+8>>2]=i[h+16>>0];else if((g|0)==17){c=-1;break}g=18}else{k[h+8>>2]=i[h+16>>0];g=18}while(0);b:do if((g|0)==18){if(b){c=k[h+8>>2]|0;k[a+48>>2]=c;break}while(1){if((c|0)<=0)break;c=c+-1|0;if((ypb(i[h+16+c>>0]|0,k[a+32>>2]|0)|0)==-1){c=-1;break b}}c=k[h+8>>2]|0}while(0)}}else{c=k[a+48>>2]|0;if(b){k[a+48>>2]=-1;i[a+52>>0]=0}}r=h;return c|0}function Hqb(a){a=a|0;return Gqb(a,1)|0}function Iqb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=r;r=r+32|0;c=(i[a+52>>0]|0)!=0;a:do if((b|0)==-1)if(c)b=-1;else{b=k[a+48>>2]|0;i[a+52>>0]=(b|0)!=-1&1}else{do if(c){k[e+4>>2]=k[a+48>>2];d=k[a+36>>2]|0;switch(sj[k[(k[d>>2]|0)+12>>2]&31](d,k[a+40>>2]|0,e+4|0,e+4+4|0,e,e+16|0,e+16+8|0,e+8|0)|0){case 1:case 2:{b=-1;break a}case 3:{i[e+16>>0]=k[a+48>>2];k[e+8>>2]=e+16+1;break}default:{}}while(1){c=k[e+8>>2]|0;if(c>>>0<=(e+16|0)>>>0){d=13;break}k[e+8>>2]=c+-1;if((ypb(i[c+-1>>0]|0,k[a+32>>2]|0)|0)==-1){d=12;break}}if((d|0)==12){b=-1;break a}else if((d|0)==13){c=a+48|0;break}}else c=a+48|0;while(0);k[c>>2]=b;i[a+52>>0]=1}while(0);r=e;return b|0}function Jqb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;Isb(a);k[a>>2]=152572;k[a+32>>2]=b;oAb(d+4|0,a+4|0);k[d>>2]=k[d+4>>2];b=gtb(d,1205500)|0;pAb(d);k[a+36>>2]=b;k[a+40>>2]=c;c=(Gi[k[(k[b>>2]|0)+28>>2]&2047](b)|0)&1;i[a+44>>0]=c;r=d;return}function Kqb(a){a=a|0;Wrb(a);CAb(a);return}function Lqb(a,b){a=a|0;b=b|0;Gi[k[(k[a>>2]|0)+24>>2]&2047](a)|0;b=gtb(b,1205500)|0;k[a+36>>2]=b;b=(Gi[k[(k[b>>2]|0)+28>>2]&2047](b)|0)&1;i[a+44>>0]=b;return}function Mqb(a){a=a|0;var b=0,c=0,d=0,e=0;d=r;r=r+16|0;a:while(1){b=k[a+36>>2]|0;b=Ni[k[(k[b>>2]|0)+20>>2]&127](b,k[a+40>>2]|0,d+8|0,d+8+8|0,d)|0;e=(k[d>>2]|0)-(d+8)|0;if((Dpb(d+8|0,1,e,k[a+32>>2]|0)|0)!=(e|0)){b=-1;break}switch(b|0){case 1:break;case 2:{b=-1;break a}default:{c=4;break a}}}if((c|0)==4)b=((nob(k[a+32>>2]|0)|0)!=0)<<31>>31;r=d;return b|0}function Nqb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:do if(!(i[a+44>>0]|0)){d=b;b=0;while(1){if((b|0)>=(c|0))break a;if((gj[k[(k[a>>2]|0)+52>>2]&511](a,k[d>>2]|0)|0)==-1)break a;d=d+4|0;b=b+1|0}}else b=Dpb(b,4,c,k[a+32>>2]|0)|0;while(0);return b|0} +function A2a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;k[a+2988>>2]=b;e=k[b+28>>2]|0;k[a+4>>2]=k[b+44>>2];k[a+8>>2]=k[b+48>>2];k[a+12>>2]=k[b+1616>>2];k[a+16>>2]=k[b+1620>>2];d=k[b+24>>2]|0;c=(d|0)==2|(d|0)==4?(d|1|0)==3|2:(d|1|0)==3&1;c=(d|0)==1?c:c|4;k[a+2980>>2]=((i[(k[(k[b+36>>2]|0)+212>>2]|0)+20>>0]|0)==0?12:4)|e;k[a+2984>>2]=(d|0)==2?c|8:c;return 0}function B2a(a,b,c){a=a|0;b=b|0;c=c|0;return s2a(a,b,c)|0}function C2a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,m=0,n=0,o=0,p=0;p=r;r=r+6992|0;c=k[k[a+4>>2]>>2]|0;vBb(p+64|0,0,3e3)|0;k[p+64>>2]=c;c=p;f=c+60|0;do{k[c>>2]=0;c=c+4|0}while((c|0)<(f|0));k[p+8>>2]=p+64;f=k[b+4>>2]|0;c=k[f+88>>2]|0;if(!c){o=36;d=p+4|0;e=p;k[e>>2]=0;k[d>>2]=0;k[p+8>>2]=0;b2a(p+64|0);r=p;return o|0};k[p+6936>>2]=0;k[p+6936+4>>2]=0;k[p+6936+8>>2]=0;k[p+6936+12>>2]=0;k[p+6936+16>>2]=0;k[p+6936>>2]=f;k[p+6936+4>>2]=k[c+16>>2];k[p+6936+12>>2]=0;k[p+6936+8>>2]=k[c+20>>2];k[p+6936+16>>2]=0;k[p+6936+20>>2]=e>>>16&15;k[p+6936+24>>2]=0;k[p>>2]=f;c=k[f+116>>2]|0;k[p+4>>2]=c;do if(!c){c=D2a(f,p+4|0,a)|0;if(!c){b=k[p+4>>2]|0;k[f+116>>2]=b;k[f+120>>2]=703;break}else{o=c;d=p+4|0;e=p;k[e>>2]=0;k[d>>2]=0;k[p+8>>2]=0;b2a(p+64|0);r=p;return o|0}}else b=c;while(0);k[p+6976>>2]=0;a:do if((k[b+4>>2]|0)>>>0>d>>>0){g=l[(k[b+8>>2]|0)+d>>0]&127;f=k[60920+(g<<2)>>2]|0;a=k[60900+(k[f+4>>2]<<2)>>2]|0;g=b+16+(g<<2)|0;c=k[g>>2]|0;do if(!c){h=k[(k[b>>2]|0)+100>>2]|0;m=UTa(h,k[a+4>>2]|0,p+6976|0)|0;c=k[p+6976>>2]|0;if(c|0)break a;k[m>>2]=f;k[m+36>>2]=b;c=k[a+8>>2]|0;if(c|0){n=gj[c&511](m,k[b>>2]|0)|0;k[p+6976>>2]=n;if(n|0){c=k[a+16>>2]|0;if(c|0)Si[c&1023](m);YTa(h,m);c=k[p+6976>>2]|0;if(!c){c=0;break}else{f=p+4|0;b=p}k[b>>2]=0;k[f>>2]=0;k[p+8>>2]=0;b2a(p+64|0);r=p;return c|0}}k[g>>2]=m;c=m;o=15}else o=15;while(0);f=k[60900+(k[(k[c>>2]|0)+4>>2]<<2)>>2]|0;k[p+12>>2]=c;b=k[f+12>>2]|0;if(!b){n=c+4|0;k[n>>2]=k[p+6936>>2];k[n+4>>2]=k[p+6936+4>>2];k[n+8>>2]=k[p+6936+8>>2];k[n+12>>2]=k[p+6936+12>>2];k[n+16>>2]=k[p+6936+16>>2];k[n+20>>2]=k[p+6936+20>>2];k[n+24>>2]=k[p+6936+24>>2]}else Di[b&511](c,p+6936|0);f=k[f+20>>2]|0;if(f|0){c=gj[f&511](k[p+8>>2]|0,c)|0;if(c|0){o=c;d=p+4|0;e=p;k[e>>2]=0;k[d>>2]=0;k[p+8>>2]=0;b2a(p+64|0);r=p;return o|0}}c=k[p>>2]|0;m=k[p+12>>2]|0;b=k[p+8>>2]|0;n=k[c+84>>2]|0;f=k[n+156>>2]|0;h=k[f>>2]|0;c=cSa(c,d,e&-10246|10241)|0;if(c|0){o=c;d=p+4|0;e=p;k[e>>2]=0;k[d>>2]=0;k[p+8>>2]=0;b2a(p+64|0);r=p;return o|0}e=i[f+8>>0]|0;i[p+16>>0]=e;if(e<<24>>24){k[p+20>>2]=k[f+12>>2];k[p+20+4>>2]=k[f+12+4>>2];k[p+20+8>>2]=k[f+12+8>>2];k[p+20+12>>2]=k[f+12+12>>2];e=k[f+28+4>>2]|0;k[p+36>>2]=k[f+28>>2];k[p+36+4>>2]=e;k[p+6976>>2]=k[p+20>>2];k[p+6976+4>>2]=k[p+20+4>>2];k[p+6976+8>>2]=k[p+20+8>>2];k[p+6976+12>>2]=k[p+20+12>>2];if(!(W2a(p+6976|0)|0))WSa(p+36|0,p+6976|0)}do if((k[n+72>>2]|0)==1869968492){if(i[p+16>>0]|0)VSa(n+108|0,k[p+36>>2]|0,k[p+40>>2]|0);k[p+44>>2]=k[b+8>>2];k[p+48>>2]=k[b+16>>2];e=U2a(k[n+40>>2]|0,k[b+4>>2]|0)|0;k[p+52>>2]=(k[b+8>>2]|0)+e;k[p+56>>2]=k[b+16>>2];if(!(j[n+110>>1]|0))f=0;else{c=k[(k[60900+(k[(k[m>>2]|0)+4>>2]<<2)>>2]|0)+24>>2]|0;if(c|0)Ri[c&255](b,h+20|0,m)|0;if((k[p+6936+20>>2]|0)==1){g=k[p+44>>2]|0;f=k[p+52>>2]|0;a=g+32+(k[b+2992>>2]|0)&-64;k[p+44>>2]=a;e=f+32+(k[b+2996>>2]|0)&-64;k[p+52>>2]=e;k[n+144>>2]=a-g;k[n+148>>2]=e-f;f=0;break}c=k[b+64>>2]|0;f=k[b+56>>2]|0;if((f|0)>1)if(!(k[b+2980>>2]&4)){g=(k[p+52>>2]|0)-(k[c+(f*48|0)+-48+4>>2]|0)|0;b=k[c+4>>2]|0;e=k[c+8>>2]|0;c=k[c+(f*48|0)+-48+8>>2]|0;f=(b|0)<24?e-b+-8|0:e-b|0;a=(g|0)<24?c+g+8|0:c+g|0;k[p+44>>2]=f+32&-64;k[p+52>>2]=a+32&-64;if((b|0)>0&(f+32&-64|0)>=(e|0)){k[p+44>>2]=(f+32&-64)+-64;b=(f+32&-64)+-64|0}else b=f+32&-64;if((g|0)>0&(a+32&-64|0)<=(c|0)){k[p+52>>2]=(a+32&-64)+64;c=(a+32&-64)+64|0}else c=a+32&-64;k[n+144>>2]=b-f;k[n+148>>2]=c-a;f=0;break}e=k[p+44>>2]|0;f=k[p+52>>2]|0;k[p+44>>2]=e+32&-64;k[p+52>>2]=f+32&-64;k[n+144>>2]=(e+32&-64)-e;k[n+148>>2]=(f+32&-64)-f;f=0}}else f=7;while(0);e=(k[n+48>>2]|0)-(k[n+36>>2]|0)|0;g=U2a((k[n+44>>2]|0)-(k[n+32>>2]|0)|0,k[m+8>>2]|0)|0;k[p+6968>>2]=g;e=U2a(e,k[m+12>>2]|0)|0;k[p+6968+4>>2]=e;if(i[p+16>>0]|0){XSa(h+20|0,p+20|0);WSa(p+6968|0,p+20|0)}c=k[p+44>>2]|0;if(c|0)VSa(h+20|0,0-c|0,0);USa(h+20|0,p+6976|0);h=k[p+6976>>2]&-64;k[p+6976>>2]=h;g=k[p+6976+4>>2]&-64;k[p+6976+4>>2]=g;a=(k[p+6976+8>>2]|0)+63&-64;k[p+6976+8>>2]=a;e=(k[p+6976+12>>2]|0)+63&-64;k[p+6976+12>>2]=e;k[n+24>>2]=a-h;k[n+28>>2]=e-g;k[n+32>>2]=h;k[n+36>>2]=e;k[n+44>>2]=(k[p+6968>>2]|0)+h&-64;k[n+48>>2]=(k[p+6968+4>>2]|0)+e&-64;do if((k[p+6936+20>>2]|0)==1)o=54;else{if(!(k[(k[n+4>>2]|0)+8>>2]&4)){c=k[p+4>>2]|0;if((k[c+4>>2]|0)>>>0<=d>>>0){o=54;break}if((i[(k[c+8>>2]|0)+d>>0]|0)>-1){o=54;break}if(!(i[m+32>>0]|0)){o=54;break}}c=U2a(k[n+40>>2]|0,k[m+8>>2]|0)|0;k[n+40>>2]=c;k[n+144>>2]=0;k[n+148>>2]=0;c=n+40|0}while(0);if((o|0)==54)if(!(k[n+40>>2]|0))c=n+40|0;else{k[n+40>>2]=(k[p+52>>2]|0)-(k[p+44>>2]|0);c=n+40|0}o=U2a(k[n+52>>2]|0,k[m+12>>2]|0)|0;k[n+52>>2]=o;k[c>>2]=(k[c>>2]|0)+32&-64;k[n+52>>2]=o+32&-64;k[n+72>>2]=1869968492;o=f;d=p+4|0;e=p;k[e>>2]=0;k[d>>2]=0;k[p+8>>2]=0;b2a(p+64|0);r=p;return o|0}else{k[p+6976>>2]=6;c=6}while(0);o=c;d=p+4|0;e=p;k[e>>2]=0;k[d>>2]=0;k[p+8>>2]=0;b2a(p+64|0);r=p;return o|0}function D2a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0;n=r;r=r+16|0;m=UTa(k[a+100>>2]|0,(k[a+16>>2]|0)+216|0,n)|0;d=k[n>>2]|0;if(d|0){a=d;k[b>>2]=m;r=n;return a|0}k[m>>2]=a;h=k[a+16>>2]|0;k[m+4>>2]=h;k[m+8>>2]=m+216;k[m+212>>2]=c;j=k[a+92>>2]|0;vBb(m+216|0,127,h|0)|0;if(!(BSa(a,1970170211)|0)){c=59460;d=0;while(1){e=k[(k[60496+(k[c+8>>2]<<2)>>2]|0)+4>>2]|0;if(e|0)if((k[c+16>>2]|0)==10){c=k[e>>2]|0;if(c|0){h=d&255;g=e;do{e=eSa(a,c)|0;k[n+4>>2]=e;if(e|0)if(e>>>0<(k[m+4>>2]|0)>>>0)if((i[m+216+e>>0]|0)==127)i[m+216+e>>0]=h;f=g+4|0;c=ESa(a,c,n+4|0)|0;e=k[n+4>>2]|0;a:do if(e|0)do{if(c>>>0>(k[f>>2]|0)>>>0)break a;if(e>>>0<(k[m+4>>2]|0)>>>0){e=m+216+e|0;if((i[e>>0]|0)==127)i[e>>0]=h}c=ESa(a,c,n+4|0)|0;e=k[n+4>>2]|0}while((e|0)!=0);while(0);g=g+8|0;c=k[g>>2]|0}while((c|0)!=0)}}d=d+1|0;if((d|0)==49){c=48;break}else c=k[60920+(d<<2)>>2]|0}do{d=eSa(a,c)|0;if(d|0)if(d>>>0<(k[m+4>>2]|0)>>>0)i[m+216+d>>0]=l[m+216+d>>0]|128;c=c+1|0}while((c|0)!=58)}if((k[(k[m+212>>2]|0)+12>>2]|0)!=127){d=k[m+4>>2]|0;if((d|0)>0){f=0;do{c=m+216+f|0;e=l[c>>0]|0;if((e&127|0)==127){i[c>>0]=e&128;i[c>>0]=k[(k[m+212>>2]|0)+12>>2]|e&128;d=k[m+4>>2]|0}f=f+1|0}while((f|0)<(d|0))}}CSa(a,j)|0;k[n>>2]=0;k[m+12>>2]=0;a=k[n>>2]|0;k[b>>2]=m;r=n;return a|0}function E2a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(!a)return;d=k[(k[a>>2]|0)+100>>2]|0;f=0;do{e=a+16+(f<<2)|0;b=k[e>>2]|0;if(b|0){c=k[(k[60900+(k[(k[60920+(f<<2)>>2]|0)+4>>2]<<2)>>2]|0)+16>>2]|0;if(c){Si[c&1023](b);b=k[e>>2]|0}YTa(d,b);k[e>>2]=0}f=f+1|0}while((f|0)!=49);k[a+4>>2]=0;k[a+8>>2]=0;k[a>>2]=0;YTa(d,a);return}function F2a(a){a=a|0;k[a+12>>2]=48;k[a+16>>2]=5;i[a+20>>0]=0;return 0}function G2a(a){a=a|0;return}function H2a(a,b){a=a|0;b=b|0;return URa(61172,b)|0}function I2a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if(!(Wmb(b,592820)|0)){d=k[c>>2]|0;c=59460;b=0;while(1){if((k[c+8>>2]|0)==(d|0))if((k[c+16>>2]|0)==10){d=5;break}b=b+1|0;if((b|0)==49){b=6;d=19;break}else c=k[60920+(b<<2)>>2]|0}if((d|0)==5){k[a+12>>2]=b;r=e;return 0}else if((d|0)==19){r=e;return b|0}}if(!(Wmb(b,592836)|0)){k[a+16>>2]=k[c>>2];a=0;r=e;return a|0}if(Wmb(b,592851)|0){if(Wmb(b,592869)|0){a=12;r=e;return a|0}i[a+20>>0]=i[c>>0]|0;a=0;r=e;return a|0}d=k[c>>2]|0;do if(!d)b=35;else{b=k[d+116>>2]|0;k[e>>2]=b;if(!b){b=D2a(d,e,a)|0;if(b|0)break;b=k[e>>2]|0;k[d+116>>2]=b;k[d+120>>2]=703}k[b+12>>2]=k[c+4>>2];a=0;r=e;return a|0}while(0);a=b;r=e;return a|0}function J2a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=r;r=r+16|0;d=k[a+12>>2]|0;e=k[a+16>>2]|0;f=i[a+20>>0]|0;if(!(Wmb(b,592877)|0)){e=k[c>>2]|0;do if(!e)d=35;else{d=k[e+116>>2]|0;k[g>>2]=d;if(!d){d=D2a(e,g,a)|0;if(d|0)break;d=k[g>>2]|0;k[e+116>>2]=d;k[e+120>>2]=703}k[c+4>>2]=k[d+8>>2];c=0;r=g;return c|0}while(0);c=d;r=g;return c|0}if(!(Wmb(b,592820)|0)){k[c>>2]=k[(k[60920+(d<<2)>>2]|0)+8>>2];c=0;r=g;return c|0}if(!(Wmb(b,592836)|0)){k[c>>2]=e;c=0;r=g;return c|0}if(Wmb(b,592851)|0){if(Wmb(b,592869)|0){c=12;r=g;return c|0}i[c>>0]=f;c=0;r=g;return c|0}e=k[c>>2]|0;do if(!e)d=35;else{d=k[e+116>>2]|0;k[g>>2]=d;if(!d){d=D2a(e,g,a)|0;if(d|0)break;d=k[g>>2]|0;k[e+116>>2]=d;k[e+120>>2]=703}k[c+4>>2]=k[d+12>>2];c=0;r=g;return c|0}while(0);c=d;r=g;return c|0}function K2a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;if(!a){d=35;return d|0}if(!d){d=6;return d|0}if((k[a+16>>2]|0)>>>0<=b>>>0){d=16;return d|0}e=k[(k[(k[a+96>>2]|0)+12>>2]|0)+84>>2]|0;do if(e|0)if((c&3|0)!=0|(c&983040|0)==65536){e=Ni[e&127](a,b,1,c,d)|0;if(e|0){if((e&255|0)==7)break;return e|0}if(c&1|0){d=0;return d|0}e=k[a+88>>2]|0;if(!e){d=36;return d|0}c=S2a(k[d>>2]|0,k[((c&16|0)==0?e+16|0:e+20|0)>>2]|0,64)|0;k[d>>2]=c;d=0;return d|0}while(0);d=L2a(a,b,1,c,d)|0;return d|0}function L2a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;if(!a){e=35;return e|0}if(!e){e=6;return e|0}g=k[a+16>>2]|0;if((c+b|0)>>>0>g>>>0|((c+b|0)>>>0>>0|g>>>0<=b>>>0)){e=16;return e|0}if(!c){e=0;return e|0}f=k[(k[(k[a+96>>2]|0)+12>>2]|0)+84>>2]|0;do if(f|0)if((d&3|0)!=0|(d&983040|0)==65536){f=Ni[f&127](a,b,c,d,e)|0;if(f|0){if((f&255|0)==7)break;return f|0}if(d&1|0){e=0;return e|0}f=k[a+88>>2]|0;if(!f){e=36;return e|0}g=k[((d&16|0)==0?f+16|0:f+20|0)>>2]|0;f=0;do{d=e+(f<<2)|0;b=S2a(k[d>>2]|0,g,64)|0;k[d>>2]=b;f=f+1|0}while((f|0)!=(c|0));f=0;return f|0}while(0);if(d&536870912|0){e=7;return e|0}if(!(d&16)){g=0;while(1){f=cSa(a,g+b|0,d|256)|0;if(f|0){g=19;break}k[e+(g<<2)>>2]=k[(k[a+84>>2]|0)+64>>2]<<10;g=g+1|0;if(g>>>0>=c>>>0){f=0;g=19;break}}if((g|0)==19)return f|0}else{g=0;while(1){f=cSa(a,g+b|0,d|256)|0;if(f|0){g=19;break}k[e+(g<<2)>>2]=k[(k[a+84>>2]|0)+68>>2]<<10;g=g+1|0;if(g>>>0>=c>>>0){f=0;g=19;break}}if((g|0)==19)return f|0}return 0}function M2a(a){a=a|0;if(!a)return;k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;k[a+12>>2]=0;k[a+16>>2]=0;k[a+20>>2]=0;return}function N2a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0;l=r;r=r+16|0;k[l>>2]=0;if(!a){j=33;r=l;return j|0}if(!((b|0)!=0&(c|0)!=0)){j=6;r=l;return j|0}if((b|0)==(c|0)){j=0;r=l;return j|0}h=k[b+8>>2]|0;i=k[c+8>>2]|0;if(!(k[b+12>>2]|0)){k[c>>2]=k[b>>2];k[c+4>>2]=k[b+4>>2];k[c+8>>2]=k[b+8>>2];k[c+12>>2]=k[b+12>>2];k[c+16>>2]=k[b+16>>2];k[c+20>>2]=k[b+20>>2];if((h>>31|1|0)==(i>>31|1|0)){j=0;r=l;return j|0}k[c+8>>2]=0-(k[c+8>>2]|0);j=0;r=l;return j|0}a=k[a>>2]|0;j=(h|0)<0?0-h|0:h;f=ha(k[b>>2]|0,j)|0;d=k[c+12>>2]|0;if(!d){g=VTa(a,f,l)|0;k[c+12>>2]=g}else{e=ha(k[c>>2]|0,(i|0)<0?0-i|0:i)|0;if((e|0)==(f|0))g=d;else{g=XTa(a,1,e,f,d,l)|0;k[c+12>>2]=g}}do if(!(k[l>>2]|0)){k[c>>2]=k[b>>2];k[c+4>>2]=k[b+4>>2];k[c+8>>2]=k[b+8>>2];k[c+12>>2]=k[b+12>>2];k[c+16>>2]=k[b+16>>2];k[c+20>>2]=k[b+20>>2];k[c+12>>2]=g;d=k[b+12>>2]|0;if((h>>31|1|0)==(i>>31|1|0)){ABb(g|0,d|0,f|0)|0;break}a=k[c>>2]|0;if(a|0){e=a;a=g+(ha(a+-1|0,j)|0)|0;while(1){ABb(a|0,d|0,j|0)|0;e=e+-1|0;if(!e)break;else{d=d+j|0;a=a+(0-j)|0}}}}while(0);j=k[l>>2]|0;r=l;return j|0}function O2a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,m=0,n=0,o=0,p=0;o=r;r=r+16|0;k[o>>2]=0;if(!a){c=33;r=o;return c|0}if(!((b|0)!=0&(c|0)!=0)){c=6;r=o;return c|0}h=k[a>>2]|0;if(((l[b+18>>0]|0)+-1|0)>>>0<7){a=k[c+8>>2]|0;g=ha((a|0)<0?0-a|0:a,k[c>>2]|0)|0;i[c+18>>0]=2;f=k[b>>2]|0;k[c>>2]=f;k[c+4>>2]=k[b+4>>2];e=k[b+4>>2]|0;if((d|0)>0)d=((e|0)%(d|0)|0|0)==0?0:d-((e|0)%(d|0)|0)|0;else d=0;e=e+d|0;if((e|0)>0)if(f>>>0>(4294967295/(e>>>0)|0)>>>0){c=6;r=o;return c|0}d=ha(f,e)|0;do if(d>>>0>g>>>0){a=XTa(h,1,g,d,k[c+12>>2]|0,o)|0;k[c+12>>2]=a;a=k[o>>2]|0;if(!a){a=k[c+8>>2]|0;break}else{c=a;r=o;return c|0}}while(0);k[c+8>>2]=(a|0)<0?0-e|0:e}else k[o>>2]=6;a=k[b+12>>2]|0;d=k[c+12>>2]|0;g=k[b+8>>2]|0;if((g|0)<0)e=a+(ha((k[b>>2]|0)+-1|0,0-g|0)|0)|0;else e=a;a=k[c+8>>2]|0;if((a|0)<0)d=d+(ha((k[c>>2]|0)+-1|0,0-a|0)|0)|0;switch(l[b+18>>0]|0|0){case 1:{j[c+16>>1]=2;a=k[b>>2]|0;if(a|0)while(1){m=k[b+4>>2]|0;if(!(m>>>3)){f=m;g=e;h=d}else{f=m>>>3;g=e;h=d;while(1){n=i[g>>0]|0;i[h>>0]=(n&255)>>>7;i[h+1>>0]=(n&255)>>>6&1;i[h+2>>0]=(n&255)>>>5&1;i[h+3>>0]=(n&255)>>>4&1;i[h+4>>0]=(n&255)>>>3&1;i[h+5>>0]=(n&255)>>>2&1;i[h+6>>0]=(n&255)>>>1&1;i[h+7>>0]=n&1;f=f+-1|0;if(!f)break;else{g=g+1|0;h=h+8|0}}f=k[b+4>>2]|0;g=e+(m>>>3)|0;h=d+(m>>>3<<3)|0}f=f&7;if(f|0){g=l[g>>0]|0;while(1){i[h>>0]=g>>>7&1;f=f+-1|0;if(!f)break;else{h=h+1|0;g=g<<1}}}a=a+-1|0;if(!a)break;else{e=e+(k[b+8>>2]|0)|0;d=d+(k[c+8>>2]|0)|0}}break}case 6:case 5:case 2:{f=k[b+4>>2]|0;j[c+16>>1]=256;a=k[b>>2]|0;if(a|0)while(1){ABb(d|0,e|0,f|0)|0;a=a+-1|0;if(!a)break;else{e=e+(k[b+8>>2]|0)|0;d=d+(k[c+8>>2]|0)|0}}break}case 3:{j[c+16>>1]=4;a=k[b>>2]|0;if(a|0)while(1){n=k[b+4>>2]|0;if(!(n>>>2)){f=n;g=e;h=d}else{h=d+(n>>>2<<2)|0;f=n>>>2;g=e;m=d;while(1){p=i[g>>0]|0;i[m>>0]=(p&255)>>>6;i[m+1>>0]=(p&255)>>>4&3;i[m+2>>0]=(p&255)>>>2&3;i[m+3>>0]=p&3;f=f+-1|0;if(!f)break;else{g=g+1|0;m=m+4|0}}f=k[b+4>>2]|0;g=e+(n>>>2)|0}f=f&3;if(f|0){g=l[g>>0]|0;while(1){i[h>>0]=g>>>6&3;f=f+-1|0;if(!f)break;else{h=h+1|0;g=g<<2}}}a=a+-1|0;if(!a)break;else{e=e+(k[b+8>>2]|0)|0;d=d+(k[c+8>>2]|0)|0}}break}case 4:{j[c+16>>1]=16;a=k[b>>2]|0;if(a|0)while(1){n=k[b+4>>2]|0;if(!(n>>>1)){h=n;g=e;f=d}else{f=d+(n>>>1<<1)|0;g=n>>>1;h=e;m=d;while(1){p=i[h>>0]|0;i[m>>0]=(p&255)>>>4;i[m+1>>0]=p&15;g=g+-1|0;if(!g)break;else{h=h+1|0;m=m+2|0}}h=k[b+4>>2]|0;g=e+(n>>>1)|0}if(h&1|0)i[f>>0]=(l[g>>0]|0)>>>4;a=a+-1|0;if(!a)break;else{e=e+(k[b+8>>2]|0)|0;d=d+(k[c+8>>2]|0)|0}}break}case 7:{j[c+16>>1]=256;f=k[b>>2]|0;if(f|0){h=a;m=f;while(1){a=k[b+4>>2]|0;if(!a){a=g;f=h}else{g=e;h=d;while(1){f=i[g+3>>0]|0;if(!(f<<24>>24))f=0;else{n=l[g>>0]|0;n=ha(n*4732|0,n)|0;p=l[g+1>>0]|0;n=(ha(p*46871|0,p)|0)+n|0;p=l[g+2>>0]|0;f=(f&255)-(((n+(ha(p*13933|0,p)|0)|0)>>>16>>>0)/((f&255)>>>0)|0)&255}i[h>>0]=f;a=a+-1|0;if(!a)break;else{g=g+4|0;h=h+1|0}}a=k[b+8>>2]|0;f=k[c+8>>2]|0}m=m+-1|0;if(!m)break;else{h=f;g=a;e=e+a|0;d=d+f|0}}}break}default:{}}p=k[o>>2]|0;r=o;return p|0}function P2a(a,b){a=a|0;b=b|0;if(!a){a=33;return a|0}if(!b){a=6;return a|0}YTa(k[a>>2]|0,k[b+12>>2]|0);k[b>>2]=0;k[b+4>>2]=0;k[b+8>>2]=0;k[b+12>>2]=0;k[b+16>>2]=0;k[b+20>>2]=0;a=0;return a|0}function Q2a(a){a=a|0;if((a|0)>-1){a=a+32768&-65536;return a|0}else{a=0-(32768-a&-65536)|0;return a|0}return 0}function R2a(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c>>2]=a;k[c+4>>2]=b;b=TTa(c)|0;r=c;return b|0}function S2a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;if((a|0)==0|(b|0)==(c|0)){g=a;return g|0}e=(a|0)<0?0-a|0:a;d=(b|0)<0?0-b|0:b;g=(b|0)<0?0-(a>>31|1)|0:a>>31|1;f=(c|0)<0?0-c|0:c;g=(c|0)<0?0-g|0:g;do if(!f)a=2147483647;else{if((d+e|0)>>>0<=(129894-(f>>>17)|0)>>>0){a=(((f>>>1)+(ha(d,e)|0)|0)>>>0)/(f>>>0)|0;break}a=ha(d&65535,e>>>16)|0;b=(ha(d>>>16,e&65535)|0)+a|0;c=(b<<16)+(ha(d&65535,e&65535)|0)|0;b=(b>>>16)+(ha(d>>>16,e>>>16)|0)+((b>>>0>>0&1)<<16)+(c>>>0>>0&1)+((c+(f>>>1)|0)>>>0>>0&1)|0;if(!b){a=((c+(f>>>1)|0)>>>0)/(f>>>0)|0;break}if(b>>>0>>0){i=ja(b|0)|0;h=(((c+(f>>>1)|0)>>>(32-i|0)|b<>>0)/(f>>>0)|0;d=c+(f>>>1)<>>1)|0)>>>(32-i|0)|b<>>31;a=(b>>>0>>0|a<<1)^1;e=e+-1|0;if(!e)break;else{d=d<<1;b=b-(b>>>0>>0?0:f)|0}}}else a=2147483647}while(0);i=(g|0)<0?0-a|0:a;return i|0}function T2a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;if((a|0)==0|(b|0)==(c|0)){g=a;return g|0}e=(a|0)<0?0-a|0:a;d=(b|0)<0?0-b|0:b;g=(b|0)<0?0-(a>>31|1)|0:a>>31|1;f=(c|0)<0?0-c|0:c;g=(c|0)<0?0-g|0:g;do if(!f)a=2147483647;else{if((d+e|0)>>>0<131072){a=((ha(d,e)|0)>>>0)/(f>>>0)|0;break}a=ha(d&65535,e>>>16)|0;b=(ha(d>>>16,e&65535)|0)+a|0;c=(b<<16)+(ha(d&65535,e&65535)|0)|0;b=(b>>>16)+(ha(d>>>16,e>>>16)|0)+((b>>>0>>0&1)<<16)+(c>>>0>>0&1)|0;if(!b){a=(c>>>0)/(f>>>0)|0;break}if(b>>>0>>0){h=ja(b|0)|0;d=c<>>(32-h|0)|b<>>0)/(f>>>0)|0;b=(c>>>(32-h|0)|b<>>(32-h|0)|b<>>0)/(f>>>0)|0,f)|0)|0;while(1){b=b<<1|d>>>31;a=(b>>>0>>0|a<<1)^1;e=e+-1|0;if(!e)break;else{d=d<<1;b=b-(b>>>0>>0?0:f)|0}}}else a=2147483647}while(0);h=(g|0)<0?0-a|0:a;return h|0}function U2a(a,b){a=a|0;b=b|0;var c=0,d=0;if((a|0)==0|(b|0)==65536){b=a;return b|0}d=(a|0)<0?0-a|0:a;c=(b|0)<0?0-b|0:b;if(((c>>>8)+d|0)>>>0<8191)c=((ha(c,d)|0)+32768|0)>>>16;else c=(ha(c>>>16,d&65535)|0)+(ha(d>>>16,c)|0)+(((ha(c&65535,d&65535)|0)+32768|0)>>>16)|0;b=(((b|0)<0?0-(a>>31|1)|0:a>>31)|0)<0?0-c|0:c;return b|0}function V2a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=(a|0)<0?0-a|0:a;g=(b|0)<0?0-(a>>31|1)|0:a>>31;d=(b|0)<0?0-b|0:b;do if(!d)a=2147483647;else{if(c>>>0<=(d>>>17^65535)>>>0){a=(((d>>>1)+(c<<16)|0)>>>0)/(d>>>0)|0;break}b=(((d>>>1)+(c<<16)|0)>>>0>>0&1)+(c>>>16)|0;if(b>>>0>>0){i=ja(b|0)|0;h=((((d>>>1)+(c<<16)|0)>>>(32-i|0)|b<>>0)/(d>>>0)|0;e=(d>>>1)+(c<<16)<>>1)+(c<<16)|0)>>>(32-i|0)|b<>>31;a=(b>>>0>>0|a<<1)^1;f=f+-1|0;if(!f)break;else{e=e<<1;b=b-(b>>>0>>0?0:d)|0}}}else a=2147483647}while(0);return ((g|0)<0?0-a|0:a)|0}function W2a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0;if(!a){a=6;return a|0}m=k[a>>2]|0;i=k[a+12>>2]|0;if((m|0)==0|(i|0)==65536)d=m;else{c=(m|0)<0?0-m|0:m;b=(i|0)<0?0-i|0:i;if(((b>>>8)+c|0)>>>0<8191)b=((ha(b,c)|0)+32768|0)>>>16;else b=(ha(b>>>16,c&65535)|0)+(ha(c>>>16,b)|0)+(((ha(b&65535,c&65535)|0)+32768|0)>>>16)|0;d=(((i|0)<0?0-(m>>31|1)|0:m>>31)|0)<0?0-b|0:b}e=k[a+4>>2]|0;h=k[a+8>>2]|0;if((e|0)==0|(h|0)==65536)b=e;else{c=(e|0)<0?0-e|0:e;b=(h|0)<0?0-h|0:h;if(((b>>>8)+c|0)>>>0<8191)b=((ha(b,c)|0)+32768|0)>>>16;else b=(ha(b>>>16,c&65535)|0)+(ha(c>>>16,b)|0)+(((ha(b&65535,c&65535)|0)+32768|0)>>>16)|0;b=(((h|0)<0?0-(e>>31|1)|0:e>>31)|0)<0?0-b|0:b}j=d-b|0;if((d|0)==(b|0)){a=6;return a|0}d=(e|0)<0?0-e|0:e;g=(j|0)<0?0-(e>>31|1)|0:e>>31;l=(j|0)<0?0-j|0:j;do if(!l)b=2147483647;else{if(d>>>0<=(l>>>17^65535)>>>0){b=(((d<<16)+(l>>>1)|0)>>>0)/(l>>>0)|0;break}c=(((d<<16)+(l>>>1)|0)>>>0>>0&1)+(d>>>16)|0;if(c>>>0>>0){o=ja(c|0)|0;n=((((d<<16)+(l>>>1)|0)>>>(32-o|0)|c<>>0)/(l>>>0)|0;e=(d<<16)+(l>>>1)<>>1)|0)>>>(32-o|0)|c<>>31;b=(c>>>0>>0|b<<1)^1;f=f+-1|0;if(!f)break;else{e=e<<1;c=c-(c>>>0>>0?0:l)|0}}}else b=2147483647}while(0);k[a+4>>2]=0-((g|0)<0?0-b|0:b);d=(h|0)<0?0-h|0:h;g=(j|0)<0?0-(h>>31|1)|0:h>>31;do if(!l)b=2147483647;else{if(d>>>0<=(l>>>17^65535)>>>0){b=(((d<<16)+(l>>>1)|0)>>>0)/(l>>>0)|0;break}c=(((d<<16)+(l>>>1)|0)>>>0>>0&1)+(d>>>16)|0;if(c>>>0>>0){n=ja(c|0)|0;o=((((d<<16)+(l>>>1)|0)>>>(32-n|0)|c<>>0)/(l>>>0)|0;e=(d<<16)+(l>>>1)<>>1)|0)>>>(32-n|0)|c<>>31;b=(c>>>0>>0|b<<1)^1;f=f+-1|0;if(!f)break;else{e=e<<1;c=c-(c>>>0>>0?0:l)|0}}}else b=2147483647}while(0);k[a+8>>2]=0-((g|0)<0?0-b|0:b);d=(i|0)<0?0-i|0:i;g=(j|0)<0?0-(i>>31|1)|0:i>>31;do if(!l)b=2147483647;else{if(d>>>0<=(l>>>17^65535)>>>0){b=(((d<<16)+(l>>>1)|0)>>>0)/(l>>>0)|0;break}c=(((d<<16)+(l>>>1)|0)>>>0>>0&1)+(d>>>16)|0;if(c>>>0>>0){n=ja(c|0)|0;o=((((d<<16)+(l>>>1)|0)>>>(32-n|0)|c<>>0)/(l>>>0)|0;e=(d<<16)+(l>>>1)<>>1)|0)>>>(32-n|0)|c<>>31;b=(c>>>0>>0|b<<1)^1;f=f+-1|0;if(!f)break;else{e=e<<1;c=c-(c>>>0>>0?0:l)|0}}}else b=2147483647}while(0);k[a>>2]=(g|0)<0?0-b|0:b;d=(m|0)<0?0-m|0:m;g=(j|0)<0?0-(m>>31|1)|0:m>>31;do if(!l)b=2147483647;else{if(d>>>0<=(l>>>17^65535)>>>0){b=(((d<<16)+(l>>>1)|0)>>>0)/(l>>>0)|0;break}c=(((d<<16)+(l>>>1)|0)>>>0>>0&1)+(d>>>16)|0;if(c>>>0>>0){n=ja(c|0)|0;o=((((d<<16)+(l>>>1)|0)>>>(32-n|0)|c<>>0)/(l>>>0)|0;e=(d<<16)+(l>>>1)<>>1)|0)>>>(32-n|0)|c<>>31;b=(c>>>0>>0|b<<1)^1;f=f+-1|0;if(!f)break;else{e=e<<1;c=c-(c>>>0>>0?0:l)|0}}}else b=2147483647}while(0);k[a+12>>2]=(g|0)<0?0-b|0:b;o=0;return o|0}function X2a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0;if(!((a|0)!=0&(b|0)!=0))return;d=k[a>>2]|0;j=k[b>>2]|0;e=S2a(d,j,c<<16)|0;i=k[a+4>>2]|0;l=k[b+8>>2]|0;e=(S2a(i,l,c<<16)|0)+e|0;f=k[b+4>>2]|0;d=S2a(d,f,c<<16)|0;g=k[b+12>>2]|0;d=(S2a(i,g,c<<16)|0)+d|0;i=k[a+8>>2]|0;j=S2a(i,j,c<<16)|0;h=k[a+12>>2]|0;a=(S2a(h,l,c<<16)|0)+j|0;f=S2a(i,f,c<<16)|0;c=(S2a(h,g,c<<16)|0)+f|0;k[b>>2]=e;k[b+4>>2]=d;k[b+8>>2]=a;k[b+12>>2]=c;return}function Y2a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;if(!((a|0)!=0&(b|0)!=0))return;e=k[a>>2]|0;d=S2a(e,k[b>>2]|0,c<<16)|0;f=k[a+4>>2]|0;d=(S2a(f,k[b+4>>2]|0,c<<16)|0)+d|0;e=S2a(e,k[b+8>>2]|0,c<<16)|0;c=(S2a(f,k[b+12>>2]|0,c<<16)|0)+e|0;k[a>>2]=d;k[a+4>>2]=c;return}function Z2a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;if(!b)return ((a|0)>-1?d:0-d|0)|0;if(!a){f=(b|0)>-1?0-c|0:c;return f|0}if(!d){f=(c|0)>-1?b:0-b|0;return f|0}if(!c){f=(d|0)>-1?0-a|0:a;return f|0}e=ha(d&65535,a>>>16)|0;g=(ha(d>>>16,a&65535)|0)+e|0;f=(g<<16)+(ha(d&65535,a&65535)|0)|0;d=(g>>>16)+(ha(d>>>16,a>>>16)|0)+((g>>>0>>0&1)<<16)+(f>>>0>>0&1)|0;g=ha(c&65535,b>>>16)|0;a=(ha(c>>>16,b&65535)|0)+g|0;e=(a<<16)+(ha(c&65535,b&65535)|0)|0;a=(a>>>16)+(ha(c>>>16,b>>>16)|0)+((a>>>0>>0&1)<<16)+(e>>>0>>0&1)|0;if(d>>>0>a>>>0){g=1;return g|0}if(d>>>0>>0){g=-1;return g|0}if(f>>>0>e>>>0){g=1;return g|0}g=(f>>>0>>0)<<31>>31;return g|0}function _2a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;e=(a|0)<0?0-a|0:a;f=(b|0)<0?0-b|0:b;if((e|0)>(f|0))h=(f*3>>3)+e|0;else h=(e*3>>3)+f|0;e=(c|0)<0?0-c|0:c;f=(d|0)<0?0-d|0:d;if((e|0)>(f|0))g=(f*3>>3)+e|0;else g=(e*3>>3)+f|0;f=(c+a|0)<0?0-(c+a)|0:c+a|0;e=(d+b|0)<0?0-(d+b)|0:d+b|0;if((f|0)>(e|0)){d=(e*3>>3)+f|0;b=g+h|0;b=b-d|0;d=d>>4;d=(b|0)<(d|0);d=d&1;return d|0}else{d=(f*3>>3)+e|0;b=g+h|0;b=b-d|0;d=d>>4;d=(b|0)<(d|0);d=d&1;return d|0}return 0}function $2a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=r;r=r+16|0;c=UTa(a,96,e)|0;d=k[e>>2]|0;if(d|0){r=e;return d|0}k[c>>2]=a;k[b>>2]=c;r=e;return d|0}function a3a(a){a=a|0;var b=0,c=0;j[a+22>>1]=0;j[a+20>>1]=0;k[a+48>>2]=0;c=a+56|0;a=a+20|0;b=c+36|0;do{k[c>>2]=k[a>>2];c=c+4|0;a=a+4|0}while((c|0)<(b|0));return}function b3a(a){a=a|0;var b=0,c=0,d=0,e=0;if(!a)return;b=k[a>>2]|0;YTa(b,k[a+24>>2]|0);k[a+24>>2]=0;YTa(b,k[a+28>>2]|0);k[a+28>>2]=0;YTa(b,k[a+32>>2]|0);k[a+32>>2]=0;YTa(b,k[a+40>>2]|0);k[a+40>>2]=0;YTa(b,k[a+52>>2]|0);k[a+52>>2]=0;k[a+44>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;k[a+12>>2]=0;j[a+22>>1]=0;j[a+20>>1]=0;k[a+48>>2]=0;c=a+56|0;d=a+20|0;e=c+36|0;do{k[c>>2]=k[d>>2];c=c+4|0;d=d+4|0}while((c|0)<(e|0));YTa(b,a);return}function c3a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=r;r=r+16|0;b=WTa(k[a>>2]|0,8,0,k[a+4>>2]<<1,0,d)|0;k[a+40>>2]=b;c=k[d>>2]|0;if(c|0){r=d;return c|0}i[a+16>>0]=1;f=b+(k[a+4>>2]<<3)|0;k[a+44>>2]=f;e=j[a+22>>1]|0;k[a+60>>2]=(k[a+24>>2]|0)+(e<<3);k[a+64>>2]=(k[a+28>>2]|0)+e;e=k[a+20>>2]|0;k[a+68>>2]=(k[a+32>>2]|0)+(e<<16>>16<<1);k[a+76>>2]=b+(e>>16<<3);k[a+80>>2]=f+(e>>16<<3);r=d;return c|0}function d3a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0;l=r;r=r+16|0;g=k[a>>2]|0;k[l>>2]=0;e=(j[a+22>>1]|0)+b+(j[a+58>>1]|0)|0;b=k[a+4>>2]|0;do if(e>>>0>b>>>0){if((e+7&-8)>>>0>32767){a=10;r=l;return a|0}f=WTa(g,8,b,e+7&-8,k[a+24>>2]|0,l)|0;k[a+24>>2]=f;if(!(k[l>>2]|0)){f=WTa(g,1,b,e+7&-8,k[a+28>>2]|0,l)|0;k[a+28>>2]=f;if(!(k[l>>2]|0)){if(i[a+16>>0]|0){d=WTa(g,8,b<<1,(e+7&-8)<<1,k[a+40>>2]|0,l)|0;k[a+40>>2]=d;if(k[l>>2]|0)break;BBb(d+((e+7&-8)<<3)|0,d+(b<<3)|0,b<<3|0)|0;k[a+44>>2]=(k[a+40>>2]|0)+((e+7&-8)<<3)}k[a+4>>2]=e+7&-8;f=1;h=9}}}else{f=0;h=9}while(0);do if((h|0)==9){b=k[a+8>>2]|0;d=k[a+20>>2]|0;e=(d<<16>>16)+c+(j[a+56>>1]|0)|0;if(e>>>0>b>>>0){if((e+3&-4)>>>0>32767){a=10;r=l;return a|0}b=WTa(g,2,b,e+3&-4,k[a+32>>2]|0,l)|0;k[a+32>>2]=b;if(k[l>>2]|0)break;k[a+8>>2]=e+3&-4;e=j[a+22>>1]|0;d=k[a+20>>2]|0;h=15}else if(f<<24>>24){e=d>>>16&65535;b=k[a+32>>2]|0;h=15}if((h|0)==15){h=e<<16>>16;k[a+60>>2]=(k[a+24>>2]|0)+(h<<3);k[a+64>>2]=(k[a+28>>2]|0)+h;k[a+68>>2]=b+(d<<16>>16<<1);if(i[a+16>>0]|0){h=d>>16;k[a+76>>2]=(k[a+40>>2]|0)+(h<<3);k[a+80>>2]=(k[a+44>>2]|0)+(h<<3)}}if(!(k[l>>2]|0)){a=0;r=l;return a|0}}while(0);e=k[a>>2]|0;YTa(e,k[a+24>>2]|0);k[a+24>>2]=0;YTa(e,k[a+28>>2]|0);k[a+28>>2]=0;YTa(e,k[a+32>>2]|0);k[a+32>>2]=0;YTa(e,k[a+40>>2]|0);k[a+40>>2]=0;YTa(e,k[a+52>>2]|0);k[a+52>>2]=0;k[a+44>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;k[a+12>>2]=0;j[a+22>>1]=0;j[a+20>>1]=0;k[a+48>>2]=0;e=a+56|0;b=a+20|0;d=e+36|0;do{k[e>>2]=k[b>>2];e=e+4|0;b=b+4|0}while((e|0)<(d|0));a=k[l>>2]|0;r=l;return a|0}function e3a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=r;r=r+16|0;c=k[a>>2]|0;k[e>>2]=0;d=(k[a+48>>2]|0)+b+(k[a+84>>2]|0)|0;b=k[a+12>>2]|0;if(d>>>0<=b>>>0){a=0;r=e;return a|0}b=WTa(c,32,b,d+1&-2,k[a+52>>2]|0,e)|0;k[a+52>>2]=b;c=k[e>>2]|0;if(c|0){a=c;r=e;return a|0}k[a+12>>2]=d+1&-2;k[a+88>>2]=b+(k[a+48>>2]<<5);a=0;r=e;return a|0}function f3a(a){a=a|0;var b=0,c=0;j[a+58>>1]=0;j[a+56>>1]=0;k[a+84>>2]=0;b=j[a+22>>1]|0;k[a+60>>2]=(k[a+24>>2]|0)+(b<<3);k[a+64>>2]=(k[a+28>>2]|0)+b;b=k[a+20>>2]|0;k[a+68>>2]=(k[a+32>>2]|0)+(b<<16>>16<<1);if(!(i[a+16>>0]|0)){c=a+52|0;c=k[c>>2]|0;b=a+48|0;b=k[b>>2]|0;b=c+(b<<5)|0;a=a+88|0;k[a>>2]=b;return}k[a+76>>2]=(k[a+40>>2]|0)+(b>>16<<3);k[a+80>>2]=(k[a+44>>2]|0)+(b>>16<<3);c=a+52|0;c=k[c>>2]|0;b=a+48|0;b=k[b>>2]|0;b=c+(b<<5)|0;c=a+88|0;k[c>>2]=b;return}function g3a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(!a)return;d=k[a+56>>2]|0;e=j[a+22>>1]|0;j[a+22>>1]=(d>>>16)+e;b=k[a+20>>2]|0;j[a+20>>1]=d+b;f=(k[a+48>>2]|0)+(k[a+84>>2]|0)|0;k[a+48>>2]=f;if((d&65535)<<16>>16>0){b=k[a+68>>2]|0;c=0;do{g=b+(c<<1)|0;j[g>>1]=(m[g>>1]|0)+e;c=c+1|0}while((c|0)!=(d<<16>>16|0));c=a+68|0;b=j[a+22>>1]|0}else{c=a+68|0;b=b>>>16&65535}j[a+58>>1]=0;j[a+56>>1]=0;k[a+84>>2]=0;b=b<<16>>16;k[a+60>>2]=(k[a+24>>2]|0)+(b<<3);k[a+64>>2]=(k[a+28>>2]|0)+b;b=k[a+20>>2]|0;k[c>>2]=(k[a+32>>2]|0)+(b<<16>>16<<1);if(i[a+16>>0]|0){k[a+76>>2]=(k[a+40>>2]|0)+(b>>16<<3);k[a+80>>2]=(k[a+44>>2]|0)+(b>>16<<3)}k[a+88>>2]=(k[a+52>>2]|0)+(f<<5);return}function h3a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=r;r=r+16|0;if(!((a|0)!=0&(b|0)!=0)){k[g>>2]=40;f=k[g>>2]|0;r=g;return f|0}f=k[b+28>>2]|0;e=i3a(b)|0;k[g>>2]=e;if(e|0){f=k[g>>2]|0;r=g;return f|0}c=a;d=c+40|0;do{k[c>>2]=0;c=c+4|0}while((c|0)<(d|0));k[a+28>>2]=f;e=VTa(f,8276,g)|0;do if(!(k[g>>2]|0)){k[e+4>>2]=a;k[e>>2]=b;k[e+8>>2]=k[a+28>>2];k[e+8272>>2]=e+8264;k[e+8268>>2]=e+8264;k[e+8264>>2]=0;c=i3a(b)|0;if(!c){d=rTa(b)|0;k[e+68>>2]=d;k[e+44>>2]=149;k[e+48>>2]=226;k[e+52>>2]=k[b+28>>2];k[e+16>>2]=0;k[e+12>>2]=e+4168;if(!(l3a(e+12|0,-15)|0))if(!(k[e+12>>2]|0))c=3;else{k[g>>2]=0;k[a+12>>2]=e;break}else c=3}k[g>>2]=c;YTa(f,e);f=k[g>>2]|0;r=g;return f|0}while(0);c=k[b+8>>2]|0;if(!(pTa(b,(k[b+4>>2]|0)+-4|0)|0)){d=ITa(b,g+4|0)|0;d=k[g+4>>2]|0?0:d;pTa(b,c)|0;if((d+-1|0)>>>0<40959){c=UTa(f,d,g)|0;do if(!(k[g>>2]|0)){if((q3a(e,0,c,d)|0)!=(d|0)){q3a(e,0,0,0)|0;YTa(f,c);break}o3a(e+12|0)|0;k[e+44>>2]=0;k[e+48>>2]=0;k[e+52>>2]=0;k[e+24>>2]=0;k[e+28>>2]=0;k[e>>2]=0;k[e+4>>2]=0;k[e+8>>2]=0;k[e+12>>2]=0;k[e+16>>2]=0;YTa(f,e);k[a+12>>2]=0;k[a+4>>2]=d;k[a+8>>2]=0;k[a>>2]=c;k[a+20>>2]=0;k[a+24>>2]=704;f=k[g>>2]|0;r=g;return f|0}while(0);k[g>>2]=0}}k[a+4>>2]=2147483647;k[a+8>>2]=0;k[a>>2]=0;k[a+20>>2]=88;k[a+24>>2]=704;f=k[g>>2]|0;r=g;return f|0}function i3a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0;m=r;r=r+16|0;b=pTa(a,0)|0;k[m>>2]=b;if(b|0){a=b;r=m;return a|0}b=sTa(a,m+4|0,4)|0;k[m>>2]=b;if(b|0){a=b;r=m;return a|0}if((i[m+4>>0]|0)==31)if((i[m+4+1>>0]|0)==-117)if((i[m+4+2>>0]|0)==8){d=m+4+3|0;if((l[d>>0]|0)<=31){c=qTa(a,6)|0;k[m>>2]=c;b=i[d>>0]|0;do if(b&4){b=GTa(a,m)|0;c=k[m>>2]|0;if(c|0){a=c;r=m;return a|0}b=qTa(a,b&65535)|0;k[m>>2]=b;if(!b){b=i[d>>0]|0;c=0;break}else{a=b;r=m;return a|0}}while(0);do if(!(b&8)){e=b;f=c}else{a:while(1){c=ETa(a,m)|0;b=k[m>>2]|0;switch(((b|0)==0?(c<<24>>24==0?3:0):2)|0){case 0:break;case 3:{c=14;break a}default:{g=b;c=20;break a}}}if((c|0)==14){e=i[d>>0]|0;f=b;break}else if((c|0)==20){r=m;return g|0}}while(0);do if(!(e&16)){h=e;j=f}else{b:while(1){f=ETa(a,m)|0;b=k[m>>2]|0;switch(((b|0)==0?(f<<24>>24==0?5:0):2)|0){case 0:break;case 5:{c=17;break b}default:{g=b;c=20;break b}}}if((c|0)==17){h=i[d>>0]|0;j=b;break}else if((c|0)==20){r=m;return g|0}}while(0);if(!(h&2)){a=j;r=m;return a|0}a=qTa(a,2)|0;k[m>>2]=a;r=m;return a|0}}k[m>>2]=3;a=3;r=m;return a|0}function j3a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;c=UTa(a,ha(c,b)|0,d)|0;r=d;return c|0}function k3a(a,b){a=a|0;b=b|0;YTa(a,b);return}function l3a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;if(!a){a=-2;return a|0}k[a+24>>2]=0;c=k[a+32>>2]|0;if(!c){k[a+32>>2]=150;k[a+40>>2]=0;c=150}if(!(k[a+36>>2]|0))k[a+36>>2]=227;c=Ri[c&255](k[a+40>>2]|0,1,24)|0;k[a+28>>2]=c;if(!c){a=-4;return a|0}k[c+20>>2]=0;e=(b|0)<0?0-b|0:b;k[c+12>>2]=b>>>31;if((e&-8|0)!=8){o3a(a)|0;a=-2;return a|0}k[c+16>>2]=e;c=(b|0)<0?0:151;f=Ri[k[a+32>>2]&255](k[a+40>>2]|0,1,64)|0;if(!f)k[(k[a+28>>2]|0)+20>>2]=0;else{d=Ri[k[a+32>>2]&255](k[a+40>>2]|0,8,1440)|0;k[f+36>>2]=d;do if(!d)Di[k[a+36>>2]&511](k[a+40>>2]|0,f);else{d=Ri[k[a+32>>2]&255](k[a+40>>2]|0,1,1<>2]=d;if(!d){Di[k[a+36>>2]&511](k[a+40>>2]|0,k[f+36>>2]|0);Di[k[a+36>>2]&511](k[a+40>>2]|0,f);break}k[f+44>>2]=d+(1<>2]=c;k[f>>2]=0;k[f+28>>2]=0;k[f+32>>2]=0;k[f+52>>2]=d;k[f+48>>2]=d;if((b|0)>=0){b=Ri[c&255](0,0,0)|0;k[f+60>>2]=b;k[a+48>>2]=b}c=k[a+28>>2]|0;k[c+20>>2]=f;if(!c){a=0;return a|0}k[a+20>>2]=0;k[a+8>>2]=0;k[a+24>>2]=0;k[c>>2]=k[c+12>>2]|0?7:0;c=k[f>>2]|0;if((c&-2|0)==4){Di[k[a+36>>2]&511](k[a+40>>2]|0,k[f+12>>2]|0);c=k[f>>2]|0}if((c|0)==6)Di[k[a+36>>2]&511](k[a+40>>2]|0,k[f+4>>2]|0);k[f>>2]=0;k[f+28>>2]=0;k[f+32>>2]=0;c=k[f+40>>2]|0;k[f+52>>2]=c;k[f+48>>2]=c;c=k[f+56>>2]|0;if(!c){a=0;return a|0}b=Ri[c&255](0,0,0)|0;k[f+60>>2]=b;k[a+48>>2]=b;a=0;return a|0}while(0);k[(k[a+28>>2]|0)+20>>2]=0}o3a(a)|0;a=-4;return a|0}function m3a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;c=UTa(a,ha(c,b)|0,d)|0;r=d;return c|0}function n3a(a,b){a=a|0;b=b|0;YTa(a,b);return}function o3a(a){a=a|0;var b=0,c=0,d=0;if(!a){a=-2;return a|0}b=k[a+28>>2]|0;if(!b){a=-2;return a|0}c=k[a+36>>2]|0;if(!c){a=-2;return a|0}d=k[b+20>>2]|0;if(!d)d=a+40|0;else{b=k[d>>2]|0;if((b&-2|0)==4){Di[c&511](k[a+40>>2]|0,k[d+12>>2]|0);b=k[d>>2]|0}if((b|0)==6)Di[k[a+36>>2]&511](k[a+40>>2]|0,k[d+4>>2]|0);k[d>>2]=0;k[d+28>>2]=0;k[d+32>>2]=0;b=k[d+40>>2]|0;k[d+52>>2]=b;k[d+48>>2]=b;c=k[d+56>>2]|0;if(c){b=Ri[c&255](0,0,0)|0;k[d+60>>2]=b;k[a+48>>2]=b;b=k[d+40>>2]|0}Di[k[a+36>>2]&511](k[a+40>>2]|0,b);Di[k[a+36>>2]&511](k[a+40>>2]|0,k[d+36>>2]|0);Di[k[a+36>>2]&511](k[a+40>>2]|0,d);d=a+40|0;c=k[a+36>>2]|0;b=k[a+28>>2]|0}Di[c&511](k[d>>2]|0,b);k[a+28>>2]=0;a=0;return a|0}function p3a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;if(!b){j=1;return j|0}if(!c){c=a&65535;b=a>>>16}else{d=b;f=a&65535;b=a>>>16;while(1){j=c>>>0<5552?c:5552;i=c;c=c-j|0;if((j|0)>15){g=(i>>>0<5552?i:5552)+-16&-16;h=d+16|0;e=d;d=j;a=f;while(1){y=(l[e>>0]|0)+a|0;x=y+(l[e+1>>0]|0)|0;w=x+(l[e+2>>0]|0)|0;v=w+(l[e+3>>0]|0)|0;u=v+(l[e+4>>0]|0)|0;t=u+(l[e+5>>0]|0)|0;s=t+(l[e+6>>0]|0)|0;r=s+(l[e+7>>0]|0)|0;q=r+(l[e+8>>0]|0)|0;p=q+(l[e+9>>0]|0)|0;o=p+(l[e+10>>0]|0)|0;n=o+(l[e+11>>0]|0)|0;m=n+(l[e+12>>0]|0)|0;k=m+(l[e+13>>0]|0)|0;f=k+(l[e+14>>0]|0)|0;a=f+(l[e+15>>0]|0)|0;b=y+b+x+w+v+u+t+s+r+q+p+o+n+m+k+f+a|0;d=d+-16|0;if((d|0)>15)e=e+16|0;else break}g=h+g|0}else{g=d;d=i;a=f}if(!d)d=g;else{e=g;f=d;while(1){a=(l[e>>0]|0)+a|0;b=a+b|0;f=f+-1|0;if(!f)break;else e=e+1|0}d=g+d|0}a=(a>>>0)%65521|0;b=(b>>>0)%65521|0;if((i|0)==(j|0)){c=a;break}else f=a}}y=b<<16|c;return y|0}function q3a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;g=k[a+8264>>2]|0;if(g>>>0>b>>>0){if(pTa(k[a>>2]|0,k[a+68>>2]|0)|0){a=0;return a|0}g=k[a+40>>2]|0;if(g|0){k[a+32>>2]=0;k[a+20>>2]=0;k[a+36>>2]=0;k[g>>2]=k[g+12>>2]|0?7:0;h=k[g+20>>2]|0;g=k[h>>2]|0;if((g&-2|0)==4){Di[k[a+48>>2]&511](k[a+52>>2]|0,k[h+12>>2]|0);g=k[h>>2]|0}if((g|0)==6)Di[k[a+48>>2]&511](k[a+52>>2]|0,k[h+4>>2]|0);k[h>>2]=0;k[h+28>>2]=0;k[h+32>>2]=0;g=k[h+40>>2]|0;k[h+52>>2]=g;k[h+48>>2]=g;g=k[h+56>>2]|0;if(g|0){o=Ri[g&255](0,0,0)|0;k[h+60>>2]=o;k[a+60>>2]=o}}k[a+16>>2]=0;k[a+12>>2]=a+72;k[a+28>>2]=0;k[a+24>>2]=a+4168;k[a+8272>>2]=a+8264;k[a+8268>>2]=a+8264;k[a+8264>>2]=0;g=0}do if(g>>>0>>0){j=b-g|0;b=k[a+8272>>2]|0;i=k[a+8268>>2]|0;h=(b-i|0)>>>0>>0?b-i|0:j;k[a+8268>>2]=i+h;k[a+8264>>2]=h+g;a:do if((h|0)==(j|0)){q=i+h|0;p=b}else{b:while(1){j=j-h|0;k[a+8268>>2]=a+4168;k[a+24>>2]=a+4168;k[a+28>>2]=4096;c:while(1){if(!(k[a+16>>2]|0)){b=k[a>>2]|0;g=k[b+20>>2]|0;if(!g){h=k[b+8>>2]|0;g=(k[b+4>>2]|0)-h|0;g=g>>>0>4096?4096:g;if(!g){e=0;g=43;break b}ABb(a+72|0,(k[b>>2]|0)+h|0,g|0)|0;h=b+8|0}else{g=nj[g&127](b,k[b+8>>2]|0,a+72|0,4096)|0;if(!g){e=0;g=43;break b}else h=b+8|0}k[h>>2]=(k[h>>2]|0)+g;k[a+12>>2]=a+72;k[a+16>>2]=g}switch(r3a(a+12|0,0)|0){case 1:{g=23;break c}case 0:break;default:{e=0;g=43;break b}}if(!(k[a+28>>2]|0)){g=24;break}}if((g|0)==23){e=k[a+24>>2]|0;k[a+8272>>2]=e;g=k[a+8268>>2]|0;if((e|0)==(g|0)){e=0;g=43;break}else l=g}else if((g|0)==24){e=k[a+8272>>2]|0;l=k[a+8268>>2]|0}h=e-l|0;h=h>>>0>>0?h:j;g=l+h|0;k[a+8268>>2]=g;k[a+8264>>2]=h+(k[a+8264>>2]|0);if((j|0)==(h|0)){q=g;p=e;break a}}if((g|0)==43)return e|0}while(0);if(!d){a=0;return a|0}else{l=a+8272|0;m=a+8268|0;n=a+8268|0;o=a+8272|0;e=p;g=q}}else if(!d){a=0;return a|0}else{l=a+8272|0;m=a+8268|0;n=a+8268|0;o=a+8272|0;e=k[a+8272>>2]|0;g=k[a+8268>>2]|0;break}while(0);e=e-g|0;e=e>>>0>>0?e:d;ABb(c|0,g|0,e|0)|0;k[m>>2]=(k[m>>2]|0)+e;k[a+8264>>2]=(k[a+8264>>2]|0)+e;if((e|0)==(d|0)){a=d;return a|0}j=d-e|0;i=c+e|0;d:while(1){k[m>>2]=a+4168;k[a+24>>2]=a+4168;k[a+28>>2]=4096;e:while(1){if(!(k[a+16>>2]|0)){b=k[a>>2]|0;g=k[b+20>>2]|0;if(!g){h=k[b+8>>2]|0;g=(k[b+4>>2]|0)-h|0;g=g>>>0>4096?4096:g;if(!g){g=43;break d}ABb(a+72|0,(k[b>>2]|0)+h|0,g|0)|0;h=b+8|0}else{g=nj[g&127](b,k[b+8>>2]|0,a+72|0,4096)|0;if(!g){g=43;break d}else h=b+8|0}k[h>>2]=(k[h>>2]|0)+g;k[a+12>>2]=a+72;k[a+16>>2]=g}switch(r3a(a+12|0,0)|0){case 1:{g=40;break e}case 0:break;default:{g=43;break d}}if(!(k[a+28>>2]|0)){g=41;break}}if((g|0)==40){f=k[a+24>>2]|0;k[o>>2]=f;g=k[m>>2]|0;if((f|0)==(g|0)){g=43;break}else r=g}else if((g|0)==41){f=k[l>>2]|0;r=k[n>>2]|0}g=f-r|0;g=g>>>0>>0?g:j;ABb(i|0,r|0,g|0)|0;e=g+e|0;k[m>>2]=(k[m>>2]|0)+g;k[a+8264>>2]=(k[a+8264>>2]|0)+g;if((j|0)==(g|0)){g=43;break}else{j=j-g|0;i=i+g|0}}if((g|0)==43)return e|0;return 0}function r3a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,jb=0,kb=0,lb=0,mb=0,nb=0,ob=0,pb=0,qb=0,rb=0,sb=0,tb=0,ub=0,vb=0,wb=0,xb=0,yb=0,zb=0,Ab=0,Bb=0,Cb=0,Db=0,Eb=0,Fb=0,Gb=0,Hb=0,Ib=0,Jb=0,Kb=0,Lb=0,Mb=0,Nb=0,Ob=0,Pb=0,Qb=0,Rb=0,Sb=0,Tb=0,Ub=0,Vb=0,Wb=0,Xb=0,Yb=0,Zb=0,_b=0,$b=0,ac=0,bc=0,cc=0,dc=0,ec=0,fc=0,gc=0,hc=0,ic=0,jc=0,kc=0,lc=0,mc=0,nc=0,oc=0,pc=0,qc=0,rc=0,sc=0,tc=0,uc=0,vc=0,wc=0,xc=0,yc=0,zc=0,Ac=0,Bc=0,Cc=0,Dc=0,Ec=0,Fc=0,Gc=0,Hc=0,Ic=0,Jc=0,Kc=0,Lc=0,Mc=0,Nc=0,Oc=0,Pc=0,Qc=0,Rc=0,Sc=0,Tc=0,Uc=0,Vc=0,Wc=0,Xc=0,Yc=0,Zc=0,_c=0,$c=0,ad=0,bd=0,cd=0,dd=0,ed=0,fd=0,gd=0,hd=0,id=0,jd=0,kd=0,ld=0,md=0,nd=0,od=0,pd=0,qd=0,rd=0,sd=0,td=0,ud=0,vd=0,wd=0,xd=0;xd=r;r=r+5648|0;if(!a){a=-2;r=xd;return a|0}c=k[a+28>>2]|0;if(!c){a=-2;r=xd;return a|0}if(!(k[a>>2]|0)){a=-2;r=xd;return a|0}F=(b|0)==4?-5:0;b=-5;a:while(1){e=c+4|0;f=c+16|0;g=c+4|0;b:while(1){c:do switch(k[c>>2]|0){case 2:{fa=c;ma=c;hd=b;D=22;break a}case 3:{ga=c;na=c;id=b;D=25;break a}case 4:{ha=c;oa=c;jd=b;D=28;break a}case 5:{ia=c;pa=c;kd=b;D=31;break a}case 6:{ja=c;qa=c;D=34;break a}case 12:{O=1;D=272;break a}case 13:{D=273;break a}case 7:{ld=b;D=35;break b}case 8:{Ka=c;ud=b;D=262;break b}case 9:{md=b;D=9;break b}case 10:{nd=b;D=8;break b}case 11:{od=b;D=7;break b}case 0:{d=k[a+4>>2]|0;if(!d){O=b;D=272;break a}k[a+4>>2]=d+-1;k[a+8>>2]=(k[a+8>>2]|0)+1;b=k[a>>2]|0;k[a>>2]=b+1;b=l[b>>0]|0;k[e>>2]=b;if((b&15|0)!=8){k[c>>2]=13;k[a+24>>2]=609728;k[e>>2]=5;b=F;continue b}if(((b>>>4)+8|0)>>>0>(k[f>>2]|0)>>>0){k[c>>2]=13;k[a+24>>2]=609755;k[e>>2]=5;b=F;continue b}else{k[c>>2]=1;b=F;break c}}case 1:break;default:{L=-2;D=274;break a}}while(0);wa=k[a+4>>2]|0;if(!wa){O=b;D=272;break a}k[a+4>>2]=wa+-1;k[a+8>>2]=(k[a+8>>2]|0)+1;b=k[a>>2]|0;k[a>>2]=b+1;b=l[b>>0]|0;if(((k[g>>2]<<8|b)>>>0)%31|0|0){k[c>>2]=13;k[a+24>>2]=609705;k[g>>2]=5;b=F;continue}if(b&32|0){ka=c;ra=c;D=21;break a}k[c>>2]=7;b=F}do{b=1;if(b){b=0;if((D|0)==7){D=0;Na=k[a+4>>2]|0;Pa=c;pd=od}else if((D|0)==8){La=k[a+4>>2]|0;Ma=c;vd=nd;D=266}else if((D|0)==9){G=k[a+4>>2]|0;H=c;I=md;D=264}else if((D|0)==35)b=1}if(b)if(1){D=0;B=k[c+20>>2]|0;b=k[B+52>>2]|0;c=k[B+48>>2]|0;if(b>>>0>>0){z=B+44|0;A=B+44|0;c=c+~b|0}else{z=B+44|0;A=B+44|0;c=(k[B+44>>2]|0)-b|0}v=0;w=ld;x=k[B+32>>2]|0;y=k[B+28>>2]|0;t=k[a+4>>2]|0;u=k[a>>2]|0;d:while(1){e=w;g=x;f=y;d=c;h=t;j=u;m=b;e:while(1){f:while(1){p=e;n=k[B>>2]|0;e=d;s=h;q=j;h=m;while(1){switch(n|0){case 7:{W=p;$a=g;zb=f;$b=s;wc=q;fd=h;D=244;break d}case 8:{ab=g;Ab=f;ac=s;xc=q;gd=h;D=247;break d}case 9:{Ua=g;sb=f;Wb=s;qc=q;Sc=h;D=248;break d}case 3:{R=p;Ra=g;pb=f;Tb=s;nc=q;Pc=h;D=43;break e}case 4:{S=p;Sa=g;qb=f;Ub=s;oc=q;Qc=h;D=91;break e}case 5:{T=p;Ta=g;rb=f;Vb=s;pc=q;Rc=h;D=110;break e}case 6:{V=p;Z=v;_a=g;yb=f;_b=s;vc=q;Wc=h;break e}case 0:{P=p;Ob=e;Rb=s;lc=q;Nc=h;break f}case 1:{Q=p;Pb=e;Sb=s;mc=q;Oc=h;D=44;break f}case 2:break;default:{Qa=g;ob=f;Qb=s;kc=q;Mc=h;D=249;break d}}if(!s){U=p;Va=g;tb=f;rc=q;Tc=h;D=66;break d}do if(!e){if((h|0)==(k[z>>2]|0)){e=k[B+48>>2]|0;d=k[B+40>>2]|0;if((e|0)==(d|0))d=h;else{e=d>>>0>>0?e+-1|0:h;if((e|0)!=(d|0)){e=e-d|0;break}}}else d=h;k[B+52>>2]=d;E=s3a(B,a,p)|0;d=k[B+52>>2]|0;h=k[B+48>>2]|0;if(d>>>0>>0){e=k[z>>2]|0;m=h+~d|0}else{m=k[A>>2]|0;e=m;m=m-d|0}if((d|0)==(e|0)){j=k[B+40>>2]|0;if((h|0)==(j|0))e=m;else{e=(j>>>0>>0?h+-1|0:d)-j|0;d=j}}else e=m;if(!e){Wa=g;ub=f;Xb=s;sc=q;ed=d;D=78;break d}}else d=h;while(0);p=k[B+4>>2]|0;p=p>>>0>s>>>0?s:p;p=p>>>0>e>>>0?e:p;ABb(d|0,q|0,p|0)|0;j=q+p|0;h=s-p|0;m=d+p|0;d=e-p|0;s=k[B+4>>2]|0;k[B+4>>2]=s-p;if((s|0)!=(p|0)){e=0;continue f}n=k[B+24>>2]|0?7:0;k[B>>2]=n;p=0;e=d;s=h;q=j;h=m}}if((D|0)==44){D=0;if(f>>>0<32){h=Q;e=g;g=f;d=Sb;f=mc;while(1){if(!d){X=h;cb=e;Cb=g;zc=f;D=58;break d}d=d+-1|0;j=f+1|0;e=(l[f>>0]|0)<>>0<32){h=0;g=f;f=j}else{m=0;h=d;break}}}else{m=Q;e=g;h=Sb;j=mc}d=e>>>16;if((d^65535|0)!=(e&65535|0)){bb=e;Bb=f;bc=h;yc=j;D=60;break d}k[B+4>>2]=d^65535;if((d|0)==65535)d=k[B+24>>2]|0?7:0;else d=2;k[B>>2]=d;e=m;g=0;f=0;d=Pb;m=Oc;continue}if(f>>>0<3){if(!Rb){Xa=g;vb=f;D=47;break d}e=0;g=(l[lc>>0]|0)<>2]=g&1;switch(g>>>1&3|0){case 3:{Ya=g;wb=f;Yb=h;tc=j;D=55;break d}case 0:{f=f+-3|0;k[B>>2]=1;g=g>>>3>>>(f&7);f=f-(f&7)|0;d=Ob;m=Nc;continue e}case 1:{d=Ri[k[a+32>>2]&255](k[a+40>>2]|0,1,28)|0;if(!d){Za=g;xb=f;Zb=h;uc=j;D=53;break d}k[d>>2]=0;i[d+16>>0]=9;i[d+17>>0]=5;k[d+20>>2]=61196;k[d+24>>2]=65292;k[B+4>>2]=d;k[B>>2]=6;g=g>>>3;f=f+-3|0;d=Ob;m=Nc;continue e}case 2:{k[B>>2]=3;g=g>>>3;f=f+-3|0;d=Ob;m=Nc;continue e}default:{D=40;break a}}}k[xd+48>>2]=a;k[xd+96>>2]=M;k[xd+104>>2]=N;k[xd+120>>2]=v;k[xd+168>>2]=R;k[xd+176>>2]=S;k[xd+184>>2]=T;k[xd+208>>2]=w;k[xd+256>>2]=V;k[xd+392>>2]=Y;k[xd+400>>2]=Z;k[xd+448>>2]=_;k[xd+464>>2]=$;k[xd+552>>2]=aa;k[xd+576>>2]=ba;k[xd+584>>2]=ca;k[xd+592>>2]=da;k[xd+600>>2]=ea;k[xd+768>>2]=z;k[xd+776>>2]=A;k[xd+824>>2]=B;k[xd+1256>>2]=xa;k[xd+2248>>2]=Ea;k[xd+2256>>2]=Fa;k[xd+2264>>2]=Ga;k[xd+2272>>2]=Ha;k[xd+2280>>2]=Ia;k[xd+2664>>2]=Ra;k[xd+2672>>2]=Sa;k[xd+2680>>2]=Ta;k[xd+2720>>2]=x;k[xd+2760>>2]=_a;k[xd+2872>>2]=db;k[xd+2880>>2]=eb;k[xd+2896>>2]=fb;k[xd+2920>>2]=gb;k[xd+2928>>2]=hb;k[xd+2936>>2]=ib;k[xd+2944>>2]=jb;k[xd+2952>>2]=kb;k[xd+2984>>2]=lb;k[xd+3096>>2]=mb;k[xd+3120>>2]=nb;k[xd+3232>>2]=pb;k[xd+3240>>2]=qb;k[xd+3248>>2]=rb;k[xd+3288>>2]=y;k[xd+3328>>2]=yb;k[xd+3440>>2]=Db;k[xd+3448>>2]=Eb;k[xd+3464>>2]=Fb;k[xd+3488>>2]=Gb;k[xd+3496>>2]=Hb;k[xd+3504>>2]=Ib;k[xd+3512>>2]=Jb;k[xd+3520>>2]=Kb;k[xd+3552>>2]=Lb;k[xd+3672>>2]=Mb;k[xd+3704>>2]=Nb;k[xd+3776>>2]=c;k[xd+3936>>2]=Tb;k[xd+3944>>2]=Ub;k[xd+3952>>2]=Vb;k[xd+3984>>2]=t;k[xd+4040>>2]=_b;k[xd+4128>>2]=cc;k[xd+4136>>2]=dc;k[xd+4176>>2]=ec;k[xd+4184>>2]=fc;k[xd+4192>>2]=gc;k[xd+4200>>2]=hc;k[xd+4208>>2]=ic;k[xd+4344>>2]=jc;k[xd+4432>>2]=nc;k[xd+4440>>2]=oc;k[xd+4448>>2]=pc;k[xd+4488>>2]=u;k[xd+4544>>2]=vc;k[xd+4656>>2]=Ac;k[xd+4664>>2]=Bc;k[xd+4680>>2]=Cc;k[xd+4712>>2]=Dc;k[xd+4720>>2]=Ec;k[xd+4728>>2]=Fc;k[xd+4736>>2]=Gc;k[xd+4744>>2]=Hc;k[xd+4776>>2]=Ic;k[xd+4896>>2]=Jc;k[xd+4920>>2]=Kc;k[xd+4936>>2]=Lc;k[xd+5064>>2]=Pc;k[xd+5072>>2]=Qc;k[xd+5080>>2]=Rc;k[xd+5112>>2]=Uc;k[xd+5120>>2]=Vc;k[xd+5128>>2]=Wc;k[xd+5144>>2]=Xc;k[xd+5152>>2]=Yc;k[xd+5160>>2]=Zc;k[xd+5176>>2]=_c;k[xd+5184>>2]=$c;k[xd+5192>>2]=ad;k[xd+5200>>2]=bd;k[xd+5208>>2]=cd;k[xd+5224>>2]=dd;k[xd+5240>>2]=b;k[xd+5560>>2]=wd;k[xd+5584>>2]=D;k[xd+5600>>2]=0;k[xd+5604>>2]=0;J9a(xd);M=k[xd+96>>2]|0;N=k[xd+104>>2]|0;v=k[xd+120>>2]|0;w=k[xd+208>>2]|0;V=k[xd+256>>2]|0;Y=k[xd+392>>2]|0;Z=k[xd+400>>2]|0;_=k[xd+448>>2]|0;$=k[xd+464>>2]|0;aa=k[xd+552>>2]|0;ba=k[xd+576>>2]|0;ca=k[xd+584>>2]|0;da=k[xd+592>>2]|0;ea=k[xd+600>>2]|0;xa=k[xd+1256>>2]|0;Ea=k[xd+2248>>2]|0;Fa=k[xd+2256>>2]|0;Ga=k[xd+2264>>2]|0;Ha=k[xd+2272>>2]|0;Ia=k[xd+2280>>2]|0;x=k[xd+2720>>2]|0;_a=k[xd+2760>>2]|0;db=k[xd+2872>>2]|0;eb=k[xd+2880>>2]|0;fb=k[xd+2896>>2]|0;gb=k[xd+2920>>2]|0;hb=k[xd+2928>>2]|0;ib=k[xd+2936>>2]|0;jb=k[xd+2944>>2]|0;kb=k[xd+2952>>2]|0;lb=k[xd+2984>>2]|0;mb=k[xd+3096>>2]|0;nb=k[xd+3120>>2]|0;y=k[xd+3288>>2]|0;yb=k[xd+3328>>2]|0;Db=k[xd+3440>>2]|0;Eb=k[xd+3448>>2]|0;Fb=k[xd+3464>>2]|0;Gb=k[xd+3488>>2]|0;Hb=k[xd+3496>>2]|0;Ib=k[xd+3504>>2]|0;Jb=k[xd+3512>>2]|0;Kb=k[xd+3520>>2]|0;Lb=k[xd+3552>>2]|0;Mb=k[xd+3672>>2]|0;Nb=k[xd+3704>>2]|0;c=k[xd+3776>>2]|0;t=k[xd+3984>>2]|0;_b=k[xd+4040>>2]|0;cc=k[xd+4128>>2]|0;dc=k[xd+4136>>2]|0;ec=k[xd+4176>>2]|0;fc=k[xd+4184>>2]|0;gc=k[xd+4192>>2]|0;hc=k[xd+4200>>2]|0;ic=k[xd+4208>>2]|0;jc=k[xd+4344>>2]|0;u=k[xd+4488>>2]|0;vc=k[xd+4544>>2]|0;Ac=k[xd+4656>>2]|0;Bc=k[xd+4664>>2]|0;Cc=k[xd+4680>>2]|0;Dc=k[xd+4712>>2]|0;Ec=k[xd+4720>>2]|0;Fc=k[xd+4728>>2]|0;Gc=k[xd+4736>>2]|0;Hc=k[xd+4744>>2]|0;Ic=k[xd+4776>>2]|0;Jc=k[xd+4896>>2]|0;Kc=k[xd+4920>>2]|0;Lc=k[xd+4936>>2]|0;Uc=k[xd+5112>>2]|0;Vc=k[xd+5120>>2]|0;Wc=k[xd+5128>>2]|0;Xc=k[xd+5144>>2]|0;Yc=k[xd+5152>>2]|0;Zc=k[xd+5160>>2]|0;_c=k[xd+5176>>2]|0;$c=k[xd+5184>>2]|0;ad=k[xd+5192>>2]|0;bd=k[xd+5200>>2]|0;cd=k[xd+5208>>2]|0;dd=k[xd+5224>>2]|0;b=k[xd+5240>>2]|0;wd=k[xd+5560>>2]|0;D=k[xd+5584>>2]|0;J=k[xd+5600>>2]|0;C=k[xd+5604>>2]|0;K=+o[xd+5604>>2];k[xd+5600>>2]=0;k[xd+5604>>2]=0;if((J|0)==1)break;if((J|0)==2)switch(C|0){case 14:break d}}switch(D|0){case 47:{D=0;k[B+32>>2]=Xa;k[B+28>>2]=vb;k[a+4>>2]=0;k[a+8>>2]=lc-(k[a>>2]|0)+(k[a+8>>2]|0);k[a>>2]=lc;k[B+52>>2]=Nc;$=s3a(B,a,P)|0;break}case 53:{D=0;k[B+4>>2]=0;k[B+32>>2]=Za;k[B+28>>2]=xb;k[a+4>>2]=Zb;k[a+8>>2]=uc-(k[a>>2]|0)+(k[a+8>>2]|0);k[a>>2]=uc;k[B+52>>2]=Nc;$=s3a(B,a,-4)|0;break}case 55:{D=0;k[B>>2]=9;k[a+24>>2]=609820;k[B+32>>2]=Ya>>>3;k[B+28>>2]=wb+-3;k[a+4>>2]=Yb;k[a+8>>2]=tc-(k[a>>2]|0)+(k[a+8>>2]|0);k[a>>2]=tc;k[B+52>>2]=Nc;$=s3a(B,a,-3)|0;break}case 58:{D=0;k[B+32>>2]=cb;k[B+28>>2]=Cb;k[a+4>>2]=0;k[a+8>>2]=zc-(k[a>>2]|0)+(k[a+8>>2]|0);k[a>>2]=zc;k[B+52>>2]=Oc;$=s3a(B,a,X)|0;break}case 60:{D=0;k[B>>2]=9;k[a+24>>2]=609839;k[B+32>>2]=bb;k[B+28>>2]=Bb;k[a+4>>2]=bc;k[a+8>>2]=yc-(k[a>>2]|0)+(k[a+8>>2]|0);k[a>>2]=yc;k[B+52>>2]=Oc;$=s3a(B,a,-3)|0;break}case 66:{D=0;k[B+32>>2]=Va;k[B+28>>2]=tb;k[a+4>>2]=0;k[a+8>>2]=rc-(k[a>>2]|0)+(k[a+8>>2]|0);k[a>>2]=rc;k[B+52>>2]=Tc;$=s3a(B,a,U)|0;break}case 78:{D=0;k[B+32>>2]=Wa;k[B+28>>2]=ub;k[a+4>>2]=Xb;k[a+8>>2]=sc-(k[a>>2]|0)+(k[a+8>>2]|0);k[a>>2]=sc;k[B+52>>2]=ed;$=s3a(B,a,E)|0;break}case 83:{D=0;k[B+32>>2]=fb;k[B+28>>2]=Fb;k[a+4>>2]=0;k[a+8>>2]=Cc-(k[a>>2]|0)+(k[a+8>>2]|0);k[a>>2]=Cc;k[B+52>>2]=Pc;$=s3a(B,a,Y)|0;break}case 86:{D=0;k[B>>2]=9;k[a+24>>2]=609868;k[B+32>>2]=db;k[B+28>>2]=Db;k[a+4>>2]=cc;k[a+8>>2]=Ac-(k[a>>2]|0)+(k[a+8>>2]|0);k[a>>2]=Ac;k[B+52>>2]=Uc;$=s3a(B,a,-3)|0;break}case 88:{D=0;k[B+32>>2]=eb;k[B+28>>2]=Eb;k[a+4>>2]=dc;k[a+8>>2]=Bc-(k[a>>2]|0)+(k[a+8>>2]|0);k[a>>2]=Bc;k[B+52>>2]=Vc;$=s3a(B,a,-4)|0;break}case 96:{D=0;k[B+32>>2]=lb;k[B+28>>2]=Lb;k[a+4>>2]=0;k[a+8>>2]=Ic-(k[a>>2]|0)+(k[a+8>>2]|0);k[a>>2]=Ic;k[B+52>>2]=dd;$=s3a(B,a,_)|0;break}case 101:{N=-4;ib=gb;Ib=Gb;gc=ec;Fc=Dc;ad=_c;D=108;break}case 104:{xa=ea;kb=hb;Kb=Hb;ic=fc;Hc=Ec;cd=$c;wd=592937;D=105;break}case 116:{D=0;k[B+32>>2]=mb;k[B+28>>2]=Mb;k[a+4>>2]=0;k[a+8>>2]=Jc-(k[a>>2]|0)+(k[a+8>>2]|0);k[a>>2]=Jc;k[B+52>>2]=Xc;$=s3a(B,a,aa)|0;break}case 123:{D=0;k[B+32>>2]=nb;k[B+28>>2]=Nb;k[a+4>>2]=0;k[a+8>>2]=Lc-(k[a>>2]|0)+(k[a+8>>2]|0);k[a>>2]=Lc;k[B+52>>2]=Yc;$=s3a(B,a,ba)|0;break}case 126:{D=0;Di[k[a+36>>2]&511](k[a+40>>2]|0,k[B+12>>2]|0);k[B>>2]=9;k[a+24>>2]=609929;k[B+32>>2]=ca;k[B+28>>2]=da;k[a+4>>2]=jc;k[a+8>>2]=Kc-(k[a>>2]|0)+(k[a+8>>2]|0);k[a>>2]=Kc;k[B+52>>2]=Zc;$=s3a(B,a,-3)|0;break}case 237:{D=0;$=s3a(B,a,M)|0;break}case 243:{k[B>>2]=7;W=0;$a=Ga;zb=Ha;$b=Fa;wc=Ea;fd=Ia;D=244;break}case 248:{D=0;k[B+32>>2]=Ua;k[B+28>>2]=sb;k[a+4>>2]=Wb;k[a+8>>2]=qc-(k[a>>2]|0)+(k[a+8>>2]|0);k[a>>2]=qc;k[B+52>>2]=Sc;$=s3a(B,a,-3)|0;break}case 249:{D=0;k[B+32>>2]=Qa;k[B+28>>2]=ob;k[a+4>>2]=Qb;k[a+8>>2]=kc-(k[a>>2]|0)+(k[a+8>>2]|0);k[a>>2]=kc;k[B+52>>2]=Mc;$=s3a(B,a,-2)|0;break}}do if((D|0)==105){k[a+24>>2]=wd;Di[k[a+36>>2]&511](k[a+40>>2]|0,xa);jb=kb;Jb=Kb;hc=ic;Gc=Hc;bd=cd;D=107}else if((D|0)==244){D=0;k[B+52>>2]=fd;c=s3a(B,a,W)|0;b=k[B+52>>2]|0;if((k[B+48>>2]|0)==(b|0)){k[B>>2]=8;ab=$a;Ab=zb;ac=$b;xc=wc;gd=b;D=247;break}else{k[B+32>>2]=$a;k[B+28>>2]=zb;k[a+4>>2]=$b;k[a+8>>2]=wc-(k[a>>2]|0)+(k[a+8>>2]|0);k[a>>2]=wc;$=s3a(B,a,c)|0;break}}while(0);if((D|0)==107){Di[k[a+36>>2]&511](k[a+40>>2]|0,k[B+12>>2]|0);k[B>>2]=9;N=-3;ib=jb;Ib=Jb;gc=hc;Fc=Gc;ad=bd;D=108}else if((D|0)==247){D=0;k[B+32>>2]=ab;k[B+28>>2]=Ab;k[a+4>>2]=ac;k[a+8>>2]=xc-(k[a>>2]|0)+(k[a+8>>2]|0);k[a>>2]=xc;k[B+52>>2]=gd;$=s3a(B,a,1)|0}if((D|0)==108){k[B+32>>2]=ib;k[B+28>>2]=Ib;k[a+4>>2]=gc;k[a+8>>2]=Fc-(k[a>>2]|0)+(k[a+8>>2]|0);k[a>>2]=Fc;k[B+52>>2]=ad;$=s3a(B,a,N)|0}switch($|0){case 0:{L=F;D=274;break a}case -3:{c=k[a+28>>2]|0;k[c>>2]=13;k[c+4>>2]=0;b=-3;continue a}default:{}}if(($|0)!=1){L=$;D=274;break a}c=k[a+28>>2]|0;b=k[c+20>>2]|0;k[c+4>>2]=k[b+60>>2];c=k[b>>2]|0;if((c&-2|0)==4){Di[k[a+36>>2]&511](k[a+40>>2]|0,k[b+12>>2]|0);c=k[b>>2]|0}if((c|0)==6)Di[k[a+36>>2]&511](k[a+40>>2]|0,k[b+4>>2]|0);k[b>>2]=0;k[b+28>>2]=0;k[b+32>>2]=0;c=k[b+40>>2]|0;k[b+52>>2]=c;k[b+48>>2]=c;c=k[b+56>>2]|0;if(c|0){D=Ri[c&255](0,0,0)|0;k[b+60>>2]=D;k[a+48>>2]=D}c=k[a+28>>2]|0;if(!(k[c+12>>2]|0)){k[c>>2]=8;Ka=c;ud=F;D=262;break}else{k[c>>2]=12;b=F;continue a}}}while(0);if((D|0)==262){c=k[a+4>>2]|0;if(!c){L=ud;D=274;break}k[a+4>>2]=c+-1;k[a+8>>2]=(k[a+8>>2]|0)+1;G=k[a>>2]|0;k[a>>2]=G+1;k[Ka+8>>2]=(l[G>>0]|0)<<24;k[Ka>>2]=9;G=c+-1|0;H=Ka;I=F;D=264}if((D|0)==264){if(!G){L=I;D=274;break}La=G+-1|0;k[a+4>>2]=La;k[a+8>>2]=(k[a+8>>2]|0)+1;vd=k[a>>2]|0;k[a>>2]=vd+1;Ma=H+8|0;k[Ma>>2]=(k[Ma>>2]|0)+((l[vd>>0]|0)<<16);k[H>>2]=10;Ma=H;vd=F;D=266}if((D|0)==266){if(!La){L=vd;D=274;break}Na=La+-1|0;k[a+4>>2]=Na;k[a+8>>2]=(k[a+8>>2]|0)+1;pd=k[a>>2]|0;k[a>>2]=pd+1;Pa=Ma+8|0;k[Pa>>2]=(k[Pa>>2]|0)+((l[pd>>0]|0)<<8);k[Ma>>2]=11;Pa=Ma;pd=F}if(!Na){L=pd;D=274;break}k[a+4>>2]=Na+-1;k[a+8>>2]=(k[a+8>>2]|0)+1;D=k[a>>2]|0;k[a>>2]=D+1;c=Pa+8|0;D=(k[c>>2]|0)+(l[D>>0]|0)|0;k[c>>2]=D;c=Pa+4|0;if((k[c>>2]|0)==(D|0)){la=Pa;D=271;break}k[Pa>>2]=13;k[a+24>>2]=610042;k[c>>2]=5;c=Pa;b=F}switch(D|0){case 21:{k[ka>>2]=2;va=ra;ya=wa+-1|0;za=ka;qd=F;D=23;break}case 22:{va=ma;ya=k[a+4>>2]|0;za=fa;qd=hd;D=23;break}case 25:{ua=na;Aa=k[a+4>>2]|0;Ba=ga;rd=id;D=26;break}case 28:{ta=oa;Ca=k[a+4>>2]|0;Da=ha;sd=jd;D=29;break}case 31:{sa=pa;Ja=k[a+4>>2]|0;Oa=ia;td=kd;break}case 34:{k[ja>>2]=13;k[a+24>>2]=610879;k[qa+4>>2]=0;a=-2;r=xd;return a|0}case 40:break;case 271:{k[la>>2]=12;a=1;r=xd;return a|0}case 272:{a=O;r=xd;return a|0}case 273:{a=-3;r=xd;return a|0}case 274:{r=xd;return L|0}}do if((D|0)==23)if(!ya){a=qd;r=xd;return a|0}else{Aa=ya+-1|0;k[a+4>>2]=Aa;k[a+8>>2]=(k[a+8>>2]|0)+1;ua=k[a>>2]|0;k[a>>2]=ua+1;k[va+8>>2]=(l[ua>>0]|0)<<24;k[za>>2]=3;ua=va;Ba=za;rd=F;D=26;break}while(0);do if((D|0)==26)if(!Aa){a=rd;r=xd;return a|0}else{Ca=Aa+-1|0;k[a+4>>2]=Ca;k[a+8>>2]=(k[a+8>>2]|0)+1;Da=k[a>>2]|0;k[a>>2]=Da+1;ta=ua+8|0;k[ta>>2]=(k[ta>>2]|0)+((l[Da>>0]|0)<<16);k[Ba>>2]=4;ta=ua;Da=Ba;sd=F;D=29;break}while(0);do if((D|0)==29)if(!Ca){a=sd;r=xd;return a|0}else{Ja=Ca+-1|0;k[a+4>>2]=Ja;k[a+8>>2]=(k[a+8>>2]|0)+1;Oa=k[a>>2]|0;k[a>>2]=Oa+1;sa=ta+8|0;k[sa>>2]=(k[sa>>2]|0)+((l[Oa>>0]|0)<<8);k[Da>>2]=5;sa=ta;Oa=Da;td=F;break}while(0);if(!Ja){a=td;r=xd;return a|0}k[a+4>>2]=Ja+-1;k[a+8>>2]=(k[a+8>>2]|0)+1;wd=k[a>>2]|0;k[a>>2]=wd+1;vd=sa+8|0;wd=(k[vd>>2]|0)+(l[wd>>0]|0)|0;k[vd>>2]=wd;k[a+48>>2]=wd;k[Oa>>2]=6;a=2;r=xd;return a|0}function s3a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;i=k[b+12>>2]|0;e=k[a+48>>2]|0;d=k[a+52>>2]|0;if(e>>>0>d>>>0)d=k[a+44>>2]|0;h=d-e|0;d=k[b+16>>2]|0;h=h>>>0>d>>>0?d:h;g=(c|0)==-5&(h|0)!=0?0:c;k[b+16>>2]=d-h;k[b+20>>2]=h+(k[b+20>>2]|0);d=k[a+56>>2]|0;if(d|0){f=Ri[d&255](k[a+60>>2]|0,e,h)|0;k[a+60>>2]=f;k[b+48>>2]=f}ABb(i|0,e|0,h|0)|0;if((e+h|0)!=(k[a+44>>2]|0)){f=i+h|0;i=e+h|0;k[b+12>>2]=f;k[a+48>>2]=i;return g|0}f=k[a+40>>2]|0;d=k[a+52>>2]|0;if((d|0)==(e+h|0)){k[a+52>>2]=f;c=f;d=f}else c=f;d=d-c|0;c=k[b+16>>2]|0;d=d>>>0>c>>>0?c:d;k[b+16>>2]=c-d;k[b+20>>2]=(k[b+20>>2]|0)+d;c=k[a+56>>2]|0;if(c|0){e=Ri[c&255](k[a+60>>2]|0,f,d)|0;k[a+60>>2]=e;k[b+48>>2]=e}ABb(i+h|0,f|0,d|0)|0;g=(g|0)==-5&(d|0)!=0?0:g;h=i+h+d|0;i=f+d|0;k[b+12>>2]=h;k[a+48>>2]=i;return g|0}function t3a(a,b,c,d,e,f,g,h,j,l){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;H=r;r=r+192|0;m=H+128|0;n=m+64|0;do{k[m>>2]=0;m=m+4|0}while((m|0)<(n|0));m=b;n=a;while(1){G=H+128+(k[n>>2]<<2)|0;k[G>>2]=(k[G>>2]|0)+1;m=m+-1|0;if(!m)break;else n=n+4|0}if((k[H+128>>2]|0)==(b|0)){k[f>>2]=0;k[g>>2]=0;l=0;r=H;return l|0}m=k[g>>2]|0;n=(k[H+128+4>>2]|0)==0;do if(n)if(!(k[H+128+8>>2]|0))if(!(k[H+128+12>>2]|0))if(!(k[H+128+16>>2]|0))if(!(k[H+128+20>>2]|0))if(!(k[H+128+24>>2]|0))if(!(k[H+128+28>>2]|0))if(!(k[H+128+32>>2]|0))if(!(k[H+128+36>>2]|0))if(!(k[H+128+40>>2]|0))if(!(k[H+128+44>>2]|0))if(!(k[H+128+48>>2]|0))if(!(k[H+128+52>>2]|0))if(!(k[H+128+56>>2]|0))if(!(k[H+128+60>>2]|0)){m=m>>>0<16?16:m;p=16;q=9;break}else{o=15;m=m>>>0<15?15:m;n=15;q=10;break}else{o=14;q=7}else{o=13;q=7}else{o=12;q=7}else{o=11;q=7}else{o=10;q=7}else{o=9;q=7}else{o=8;q=7}else{o=7;q=7}else{o=6;q=7}else{o=5;q=7}else{o=4;q=7}else{o=3;q=7}else{o=2;q=7}else{o=1;q=7}while(0);if((q|0)==7){m=m>>>0>>0?o:m;if(!(k[H+128+60>>2]|0)){p=o;q=9}else{n=m>>>0>15?15:m;k[g>>2]=n;g=15;p=o;m=1<>2]|0))if(!(k[H+128+52>>2]|0))if(!(k[H+128+48>>2]|0))if(!(k[H+128+44>>2]|0))if(!(k[H+128+40>>2]|0))if(!(k[H+128+36>>2]|0))if(!(k[H+128+32>>2]|0))if(!(k[H+128+28>>2]|0))if(!(k[H+128+24>>2]|0))if(!(k[H+128+20>>2]|0))if(!(k[H+128+16>>2]|0))if(!(k[H+128+12>>2]|0))if(!(k[H+128+8>>2]|0)){o=n&1^1;n=p;q=10;break}else o=2;else o=3;else o=4;else o=5;else o=6;else o=7;else o=8;else o=9;else o=10;else o=11;else o=12;else o=13;else o=14;n=m>>>0>o>>>0?o:m;k[g>>2]=n;m=1<>>0>>0){g=o;q=12}else{G=n;F=o;s=p}}while(0);a:do if((q|0)==10){G=m>>>0>o>>>0?o:m;k[g>>2]=G;F=o;s=n;m=1<>2]|0)|0;if((m|0)<0){m=-3;break}o=o+1|0;if(o>>>0>=g>>>0){G=n;F=g;s=p;m=m<<1;break a}else m=m<<1}r=H;return m|0}while(0);n=H+128+(F<<2)|0;E=k[n>>2]|0;if((m-E|0)<0){l=-3;r=H;return l|0}k[n>>2]=m;k[H+4>>2]=0;n=F+-1|0;if(!n){g=0;o=a}else{o=0;g=H+128+4|0;p=H+8|0;while(1){o=(k[g>>2]|0)+o|0;k[p>>2]=o;n=n+-1|0;if(!n){g=0;o=a;break}else{g=g+4|0;p=p+4|0}}}while(1){n=k[o>>2]|0;if(n|0){D=k[H+(n<<2)>>2]|0;k[H+(n<<2)>>2]=D+1;k[l+(D<<2)>>2]=g}g=g+1|0;if(g>>>0>=b>>>0)break;else o=o+4|0}C=k[H+(F<<2)>>2]|0;k[H>>2]=0;k[H+64>>2]=0;b:do if(s>>>0<=F>>>0){D=G&255;b=-1;t=0;B=s;a=l;s=0;p=0;o=0-G|0;q=0;c:while(1){z=H+128+(B<<2)|0;n=k[z>>2]|0;if(!n){n=b;g=q}else{A=1<(o|0)){v=p;while(1){p=n;u=g;while(1){n=p+1|0;t=F-o|0;t=t>>>0>G>>>0?G:t;g=B-o|0;e:do if(1<>>0>y>>>0&g>>>0>>0)if((g+1|0)>>>0>>0){q=g+1|0;g=(1<>2]|0;if(a>>>0<=s>>>0)break e;g=q+1|0;if(g>>>0>=t>>>0){q=g;break}else{q=g;g=a-s|0}}}else q=g+1|0;else q=g;while(0);t=1<>2]|0;if((b+t|0)>>>0>1440){m=-3;break c}k[H+64+(n<<2)>>2]=h+(b<<3);k[j>>2]=b+t;if(n|0){g=o;o=u;break}k[f>>2]=h+(b<<3);n=o+G|0;if((B|0)>(n|0)){u=o;o=n;p=0}else{n=0;s=h+(b<<3)|0;p=v;q=t;break d}}k[H+(n<<2)>>2]=x;a=x>>>o;p=k[H+64+(p<<2)>>2]|0;i[p+(a<<3)>>0]=q;i[p+(a<<3)+1>>0]=D;k[p+(a<<3)+4>>2]=(h+(b<<3)-p>>3)-a;o=g+G|0;if((B|0)<=(o|0)){s=h+(b<<3)|0;p=(h+(b<<3)-p>>3)-a|0;o=g;q=t;break}else v=(h+(b<<3)-p>>3)-a|0}}else o=g;while(0);y=y+-1|0;b=B-o|0;do if(w>>>0<(l+(C<<2)|0)>>>0){g=k[w>>2]|0;if(g>>>0>>0){u=w+4|0;a=g>>>0<256?0:96;v=g;break}else{u=w+4|0;a=(k[e+(g-c<<2)>>2]|0)+80&255;v=k[d+(g-c<<2)>>2]|0;break}}else{u=w;a=-64;v=p}while(0);g=x>>>o;if(g>>>0>>0){do{w=s+(g<<3)|0;i[w>>0]=a;i[w+1>>0]=b;k[s+(g<<3)+4>>2]=v;g=g+(1<>>0>>0);g=x;p=A}else{g=x;p=A}while(1){t=p^g;if(!(p&g))break;else{g=t;p=p>>>1}}if(((1<>2]|0))do{n=n+-1|0;o=o-G|0}while(((1<>2]|0));if(!y){a=u;p=v;g=q;break}else{x=t;w=u;p=v;g=o}}}if((B|0)<(F|0)){b=n;B=B+1|0;q=g}else break b}r=H;return m|0}while(0);l=(F|0)!=1&(m|0)!=(E|0)?-5:0;r=H;return l|0}function u3a(a){a=a|0;var b=0,c=0;b=k[a+12>>2]|0;if(!b)return;c=k[a+28>>2]|0;o3a(b+12|0)|0;k[b+44>>2]=0;k[b+48>>2]=0;k[b+52>>2]=0;k[b+24>>2]=0;k[b+28>>2]=0;k[b>>2]=0;k[b+4>>2]=0;k[b+8>>2]=0;k[b+12>>2]=0;k[b+16>>2]=0;YTa(c,b);k[a+12>>2]=0;return}function v3a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return q3a(k[a+12>>2]|0,b,c,d)|0}function w3a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=r;r=r+64|0;if(!((b|0)!=0&((a|0)!=0&(c|0)!=0))){c=6;r=f;return c|0}k[f>>2]=d;k[f+4>>2]=e;k[f+12>>2]=b;k[f+16>>2]=k[c>>2];k[f+32>>2]=149;k[f+36>>2]=226;k[f+40>>2]=a;if(l3a(f,15)|0){c=6;r=f;return c|0}b=r3a(f,4)|0;a:do if((b|0)==1){k[c>>2]=k[f+20>>2];d=k[f+28>>2]|0;if(d|0){e=k[f+36>>2]|0;if(e|0){a=k[d+20>>2]|0;if(a){d=k[a>>2]|0;if((d&-2|0)==4){Di[e&511](k[f+40>>2]|0,k[a+12>>2]|0);d=k[a>>2]|0}if((d|0)==6)Di[k[f+36>>2]&511](k[f+40>>2]|0,k[a+4>>2]|0);k[a>>2]=0;k[a+28>>2]=0;k[a+32>>2]=0;d=k[a+40>>2]|0;k[a+52>>2]=d;k[a+48>>2]=d;e=k[a+56>>2]|0;if(e){d=Ri[e&255](0,0,0)|0;k[a+60>>2]=d;k[f+48>>2]=d;d=k[a+40>>2]|0}Di[k[f+36>>2]&511](k[f+40>>2]|0,d);Di[k[f+36>>2]&511](k[f+40>>2]|0,k[a+36>>2]|0);Di[k[f+36>>2]&511](k[f+40>>2]|0,a);e=k[f+36>>2]|0;d=k[f+28>>2]|0}Di[e&511](k[f+40>>2]|0,d);k[f+28>>2]=0}}}else{d=k[f+28>>2]|0;if(d|0){e=k[f+36>>2]|0;if(e|0){a=k[d+20>>2]|0;if(a){d=k[a>>2]|0;if((d&-2|0)==4){Di[e&511](k[f+40>>2]|0,k[a+12>>2]|0);d=k[a>>2]|0}if((d|0)==6)Di[k[f+36>>2]&511](k[f+40>>2]|0,k[a+4>>2]|0);k[a>>2]=0;k[a+28>>2]=0;k[a+32>>2]=0;d=k[a+40>>2]|0;k[a+52>>2]=d;k[a+48>>2]=d;e=k[a+56>>2]|0;if(e){d=Ri[e&255](0,0,0)|0;k[a+60>>2]=d;k[f+48>>2]=d;d=k[a+40>>2]|0}Di[k[f+36>>2]&511](k[f+40>>2]|0,d);Di[k[f+36>>2]&511](k[f+40>>2]|0,k[a+36>>2]|0);Di[k[f+36>>2]&511](k[f+40>>2]|0,a);e=k[f+36>>2]|0;d=k[f+28>>2]|0}Di[e&511](k[f+40>>2]|0,d);k[f+28>>2]=0}}switch(((b|0)==0?-5:b)|0){case -5:{c=10;r=f;return c|0}case -3:{c=8;r=f;return c|0}case -4:{c=64;r=f;return c|0}default:break a}}while(0);c=0;r=f;return c|0}function x3a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=r;r=r+16|0;if(!((a|0)!=0&(b|0)!=0)){k[f>>2]=40;a=40;r=f;return a|0}e=k[b+28>>2]|0;c=pTa(b,0)|0;if(!c){c=sTa(b,f+4|0,2)|0;if(!c)if((i[f+4>>0]|0)==31)if((i[f+4+1>>0]|0)==-99){k[f>>2]=0;c=a;d=c+40|0;do{k[c>>2]=0;c=c+4|0}while((c|0)<(d|0));k[a+28>>2]=e;d=UTa(e,4292,f)|0;c=k[f>>2]|0;do if(!c){k[d+4>>2]=a;k[d>>2]=b;k[d+8>>2]=k[a+28>>2];k[d+4288>>2]=d+4280;k[d+4284>>2]=d+4280;k[d+4280>>2]=0;c=pTa(b,0)|0;if(!c){c=sTa(b,f+4|0,2)|0;if(!c)if((i[f+4>>0]|0)==31?(i[f+4+1>>0]|0)==-99:0){vBb(d+12|0,0,164)|0;k[d+176>>2]=b;k[d+180>>2]=k[b+28>>2];k[d+88>>2]=0;k[d+92>>2]=0;k[d+96>>2]=0;k[d+100>>2]=d+112;k[d+108>>2]=64;k[d+16>>2]=0;k[d+36>>2]=0;k[d+40>>2]=0;i[d+44>>0]=0;k[d+48>>2]=0;k[d+104>>2]=0;k[d+64>>2]=9;k[d+12>>2]=0;k[f>>2]=0;k[a+12>>2]=d;c=0;break}else c=3}k[f>>2]=c;YTa(e,d);a=k[f>>2]|0;r=f;return a|0}while(0);k[a+4>>2]=2147483647;k[a+8>>2]=0;k[a>>2]=0;k[a+20>>2]=89;k[a+24>>2]=705;a=c;r=f;return a|0}else c=3;else c=3}k[f>>2]=c;a=c;r=f;return a|0}function y3a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,l=0;j=k[a+12>>2]|0;a=k[j+4280>>2]|0;do if(a>>>0>b>>>0){e=k[j+4284>>2]|0;if((a-b|0)>>>0<=(e-(j+184)|0)>>>0){k[j+4284>>2]=e+(0-(a-b));k[j+4280>>2]=b;f=12;break}if(!(pTa(k[j>>2]|0,0)|0)){k[j+16>>2]=0;k[j+36>>2]=0;k[j+40>>2]=0;i[j+44>>0]=0;k[j+48>>2]=0;k[j+104>>2]=0;k[j+64>>2]=9;k[j+12>>2]=0;k[j+4288>>2]=j+4280;k[j+4284>>2]=j+4280;k[j+4280>>2]=0;a=0;f=6;break}else{c=0;return c|0}}else f=6;while(0);if((f|0)==6)if(a>>>0>>0){b=b-a|0;h=k[j+4284>>2]|0;e=(k[j+4288>>2]|0)-h|0;e=e>>>0>>0?e:b;k[j+4284>>2]=h+e;k[j+4280>>2]=e+a;a:do if((b|0)!=(e|0)){e=b-e|0;while(1){a=e>>>0<4096?e:4096;if((z3a(j+12|0,0,a)|0)>>>0>>0){a=0;break}k[j+4280>>2]=(k[j+4280>>2]|0)+a;if((e|0)==(a|0))break a;else e=e-a|0}return a|0}while(0);if(!d){c=0;return c|0}else{g=j+4288|0;h=j+4284|0;e=j+4284|0;a=j+4288|0}}else f=12;do if((f|0)==12)if(!d){c=0;return c|0}else{g=j+4288|0;h=j+4284|0;e=j+4284|0;a=j+4288|0;break}while(0);f=k[a>>2]|0;b=k[e>>2]|0;a=0;while(1){e=f-b|0;e=e>>>0>>0?e:d;ABb(c+a|0,b|0,e|0)|0;a=e+a|0;k[h>>2]=(k[h>>2]|0)+e;k[j+4280>>2]=(k[j+4280>>2]|0)+e;if((d|0)==(e|0)){f=17;break}k[h>>2]=j+184;l=z3a(j+12|0,j+184|0,4096)|0;b=k[h>>2]|0;f=b+l|0;k[g>>2]=f;if(!l){f=17;break}else d=d-e|0}if((f|0)==17)return a|0;return 0}function z3a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0,p=0,q=0,s=0;s=r;r=r+16|0;g=k[a+68>>2]|0;f=k[a+64>>2]|0;d=k[a+72>>2]|0;if(!c){b=d;q=g;p=f;c=0;k[a+64>>2]=p;k[a+68>>2]=q;k[a+72>>2]=b;r=s;return c|0}a:do switch(k[a>>2]|0){case 0:{if(!(pTa(k[a+164>>2]|0,2)|0))if((uTa(k[a+164>>2]|0,s,1)|0)==1){e=l[s>>0]|0;k[a+40>>2]=e&31;k[a+44>>2]=e&128;k[a+48>>2]=(1<<(e&31))+-256;if((e&31)>>>0<=16){k[a+52>>2]=9;k[a+56>>2]=e>>>7;k[a+60>>2]=(e&31)>>>0>9?256:(1<<(e&31))+-255|0;e=A3a(a)|0;if(e>>>0>255)d=0;else{if(b|0)i[b>>0]=e;if(c>>>0>=2){k[a>>2]=1;d=0;g=e;f=e;q=1;p=12;break a}b=0;q=e;p=e;c=1;k[a+64>>2]=p;k[a+68>>2]=q;k[a+72>>2]=b;r=s;return c|0}}}e=0;p=68;break}case 1:{q=0;p=12;break}case 2:{h=a+92|0;m=a+88|0;o=d;n=g;e=0;p=54;break}default:{b=d;q=g;p=f;c=0;k[a+64>>2]=p;k[a+68>>2]=q;k[a+72>>2]=b;r=s;return c|0}}while(0);b:while(1)if((p|0)==12){e=A3a(a)|0;if((e|0)<0){e=q;p=68;continue}while(1){if((e|0)!=256){p=19;break}if(!(k[a+44>>2]|0)){d=256;e=g;p=20;break}k[a+56>>2]=0;i[a+32>>0]=1;e=A3a(a)|0;if((e|0)<0){g=0;f=0;e=q;p=68;continue b}else{g=0;f=0}}if((p|0)==19){p=0;if(e>>>0>255){d=e;e=g;p=20}else{d=e;g=e}}c:do if((p|0)==20){p=0;g=d+-256|0;h=k[a+56>>2]|0;if(g>>>0>>0)g=d;else{if(g>>>0>h>>>0){g=e;e=q;p=68;continue b}g=k[a+92>>2]|0;m=k[a+96>>2]|0;do if(g>>>0>>0)h=k[a+88>>2]|0;else{n=k[a+168>>2]|0;g=k[a+88>>2]|0;if((g|0)==(a+100|0)){k[a+88>>2]=0;g=0;h=0}else h=m;if((m+4+(m>>>1)|0)>>>0>65536){if((h|0)!=65536){m=65536;p=28}}else{m=m+4+(m>>>1)|0;p=28}if((p|0)==28){p=0;h=WTa(n,1,h,m,g,s)|0;k[a+88>>2]=h;if(!(k[s>>2]|0)){k[a+96>>2]=m;g=k[a+92>>2]|0;break}}g=e;e=q;p=68;continue b}while(0);k[a+92>>2]=g+1;i[h+g>>0]=e;if(f>>>0>255)g=f;else{g=f;break}}h=k[a+76>>2]|0;while(1){if(!h){g=e;e=q;p=68;continue b}h=k[a+92>>2]|0;m=k[a+96>>2]|0;if(h>>>0>>0){m=h;h=k[a+88>>2]|0}else{o=k[a+168>>2]|0;h=k[a+88>>2]|0;if((h|0)==(a+100|0)){k[a+88>>2]=0;h=0;n=0}else n=m;if((m+4+(m>>>1)|0)>>>0>65536)if((n|0)==65536)break;else m=65536;else m=m+4+(m>>>1)|0;h=WTa(o,1,n,m,h,s)|0;k[a+88>>2]=h;if(k[s>>2]|0)break;k[a+96>>2]=m;m=k[a+92>>2]|0}g=g+-256|0;o=i[(k[a+80>>2]|0)+g>>0]|0;k[a+92>>2]=m+1;i[h+m>>0]=o;h=k[a+76>>2]|0;g=j[h+(g<<1)>>1]|0;if((g&65535)<=255){g=g&65535;break c}else g=g&65535}g=e;e=q;p=68;continue b}while(0);e=k[a+92>>2]|0;h=k[a+96>>2]|0;do if(e>>>0>>0){m=a+88|0;h=e;e=k[a+88>>2]|0}else{n=k[a+168>>2]|0;e=k[a+88>>2]|0;if((e|0)==(a+100|0)){k[a+88>>2]=0;e=0;m=0}else m=h;if((h+4+(h>>>1)|0)>>>0>65536){if((m|0)!=65536){h=65536;p=50}}else{h=h+4+(h>>>1)|0;p=50}if((p|0)==50){e=WTa(n,1,m,h,e,s)|0;k[a+88>>2]=e;if(!(k[s>>2]|0)){k[a+96>>2]=h;m=a+88|0;h=k[a+92>>2]|0;break}}e=q;p=68;continue b}while(0);k[a+92>>2]=h+1;i[e+h>>0]=g;k[a>>2]=2;h=a+92|0;o=d;n=g;e=q;p=54;continue}else if((p|0)==54){d:do if(!b){d=k[h>>2]|0;while(1){if(!d)break d;d=d+-1|0;k[h>>2]=d;e=e+1|0;if((e|0)==(c|0)){d=o;g=n;e=c;p=69;break b}}}else while(1){d=k[h>>2]|0;if(!d)break d;k[h>>2]=d+-1;i[b+e>>0]=i[(k[m>>2]|0)+(d+-1)>>0]|0;e=e+1|0;if((e|0)==(c|0)){d=o;g=n;e=c;p=69;break b}}while(0);d=k[a+56>>2]|0;if(d>>>0<(k[a+48>>2]|0)>>>0){h=k[a+84>>2]|0;do if(d>>>0>>0){g=a+76|0;h=a+80|0}else{g=(h|0)==0?512:(h>>>2)+h|0;d=WTa(k[a+168>>2]|0,3,h,g,k[a+76>>2]|0,s)|0;k[a+76>>2]=d;if(!(k[s>>2]|0)){k[a+80>>2]=d+(g<<1);BBb(d+(g<<1)|0,d+(h<<1)|0,h|0)|0;k[a+84>>2]=g;g=a+76|0;h=a+80|0;d=k[a+56>>2]|0;break}else{d=o;g=n;p=68;continue b}}while(0);j[(k[g>>2]|0)+(d<<1)>>1]=f;i[(k[h>>2]|0)+d>>0]=n;k[a+56>>2]=(k[a+56>>2]|0)+1}k[a>>2]=1;d=o;g=n;f=o;q=e;p=12;continue}else if((p|0)==68){k[a>>2]=3;p=69;break}if((p|0)==69){k[a+64>>2]=f;k[a+68>>2]=g;k[a+72>>2]=d;r=s;return e|0}return 0}function A3a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=k[a+52>>2]|0;c=k[a+24>>2]|0;d=(i[a+32>>0]|0)==0;if(d)if(c>>>0<(k[a+28>>2]|0)>>>0){if((k[a+56>>2]|0)>>>0>=(k[a+60>>2]|0)>>>0)e=4}else e=4;else e=4;if((e|0)==4){if((k[a+56>>2]|0)>>>0>=(k[a+60>>2]|0)>>>0){k[a+52>>2]=b+1;if((b+1|0)>>>0<(k[a+40>>2]|0)>>>0)c=(1<>2]|0)+1|0;k[a+60>>2]=c;b=b+1|0}if(!d){k[a+52>>2]=9;k[a+60>>2]=256;i[a+32>>0]=0;b=9}if(k[a+4>>2]|0){f=-1;return f|0}f=uTa(k[a+164>>2]|0,a+8|0,b)|0;k[a+36>>2]=(k[a+36>>2]|0)+f;e=k[a+52>>2]|0;k[a+4>>2]=f>>>0>>0&1;k[a+24>>2]=0;k[a+28>>2]=(f<<3|1)-e;if(!f){f=-1;return f|0}else c=0}k[a+24>>2]=c+b;f=(c>>>3)+(a+8)|0;a=c&7;c=(l[f>>0]|0)>>>a;b=b-(8-a)|0;if(b>>>0>7){b=b+-8|0;d=8-a+8|0;e=f+2|0;c=l[f+1>>0]<<8-a|c}else{d=8-a|0;e=f+1|0}if(!b){f=c;return f|0}f=(l[e>>0]&(1<>2]|0;if(!b)return;d=k[a+28>>2]|0;e=k[b+180>>2]|0;k[b+16>>2]=0;k[b+36>>2]=0;k[b+40>>2]=0;i[b+44>>0]=0;k[b+48>>2]=0;k[b+104>>2]=0;k[b+64>>2]=9;k[b+12>>2]=0;c=k[b+100>>2]|0;if((c|0)!=(b+112|0)){YTa(e,c);k[b+100>>2]=0}YTa(e,k[b+88>>2]|0);vBb(b|0,0,184)|0;YTa(d,b);k[a+12>>2]=0;return}function C3a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=k[a+28>>2]|0;a=hqb(96)|0;g=$5a(b,8)|0;k[a>>2]=g;d=$5a(b,16)|0;k[a+4>>2]=d;e=$5a(b,16)|0;k[a+8>>2]=e;c=$5a(b,6)|0;k[a+12>>2]=c;c=$5a(b,8)|0;k[a+16>>2]=c;c=$5a(b,4)|0;k[a+20>>2]=c+1;a:do if((g|0)<1){if(!a){g=0;return g|0}}else if((d|0)>=1)if(!((c|0)<0|(e|0)<1)){if((c|0)<=-1){g=a;return g|0}d=0;do{c=$5a(b,8)|0;k[a+24+(d<<2)>>2]=c;if((c|0)<0)break a;if((c|0)>=(k[f+24>>2]|0))break a;c=k[f+1824+(c<<2)>>2]|0;if(!(k[c+12>>2]|0))break a;d=d+1|0;if((k[c>>2]|0)<1)break a}while((d|0)<(k[a+20>>2]|0));return a|0}while(0);iqb(a);g=0;return g|0}function D3a(a,b){a=a|0;b=b|0;a=jqb(1,32)|0;k[a+4>>2]=k[b>>2];k[a>>2]=k[b+8>>2];k[a+20>>2]=b;b=jqb(2,4)|0;k[a+8>>2]=b;return a|0}function E3a(a){a=a|0;if(a|0)iqb(a);return}function F3a(a){a=a|0;var b=0,c=0;if(!a)return;b=k[a+8>>2]|0;if(b|0){c=k[b>>2]|0;if(c){iqb(c);b=k[a+8>>2]|0}c=k[b+4>>2]|0;if(c){iqb(c);b=k[a+8>>2]|0}iqb(b)}iqb(a);return}function G3a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0.0,f=0,g=0,h=0.0,i=0;d=k[b+20>>2]|0;c=$5a(a+4|0,k[d+12>>2]|0)|0;if((c|0)<=0){g=0;return g|0}h=+(k[d+16>>2]|0)*(+(c|0)/+((1<>2])+-1|0));c=$5a(a+4|0,H3a(k[d+20>>2]|0)|0)|0;if((c|0)==-1){g=0;return g|0}if((c|0)>=(k[d+20>>2]|0)){g=0;return g|0}f=(k[(k[(k[(k[a+64>>2]|0)+4>>2]|0)+28>>2]|0)+2848>>2]|0)+((k[d+24+(c<<2)>>2]|0)*56|0)|0;g=I3a(a,((k[f>>2]|0)+(k[b+4>>2]|0)<<2)+4|0)|0;if((J3a(f,g,a+4|0,k[b+4>>2]|0)|0)==-1){g=0;return g|0}a=k[b+4>>2]|0;if((a|0)>0){d=0;e=0.0;while(1){a:do if((d|0)<(a|0)){b=k[f>>2]|0;c=d;d=0;while(1){if((d|0)>=(b|0))break a;i=g+(c<<2)|0;o[i>>2]=e+ +o[i>>2];c=c+1|0;if((c|0)<(a|0))d=d+1|0;else break}}else c=d;while(0);if((c|0)<(a|0)){d=c;e=+o[g+(c+-1<<2)>>2]}else break}}o[g+(a<<2)>>2]=h;i=g;return i|0}function H3a(a){a=a|0;var b=0;if(!a)a=0;else{b=a;a=0;do{b=b>>>1;a=a+1|0}while((b|0)!=0)}return a|0}function I3a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=k[a+72>>2]|0;d=k[a+68>>2]|0;if((c+(b+7&-8)|0)<=(k[a+76>>2]|0)){d=d+c|0;b=c+(b+7&-8)|0;k[a+72>>2]=b;return d|0}if(d|0){e=hqb(8)|0;k[a+80>>2]=(k[a+80>>2]|0)+c;k[e+4>>2]=k[a+84>>2];k[e>>2]=d;k[a+84>>2]=e}k[a+76>>2]=b+7&-8;e=hqb(b+7&-8)|0;k[a+68>>2]=e;k[a+72>>2]=0;d=0;e=e+d|0;b=d+(b+7&-8)|0;k[a+72>>2]=b;return e|0}function J3a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;if((k[a+8>>2]|0)<=0){if((d|0)<=0){d=0;return d|0}vBb(b|0,0,d<<2|0)|0;d=0;return d|0}if((d|0)<=0){d=0;return d|0}e=0;while(1){f=K3a(a,c)|0;if((f|0)==-1){e=-1;f=11;break}i=k[a>>2]|0;h=(k[a+16>>2]|0)+((ha(i,f)|0)<<2)|0;a:do if((e|0)<(d|0)){f=e;g=0;while(1){if((g|0)>=(i|0)){e=f;break a}e=f+1|0;k[b+(f<<2)>>2]=k[h+(g<<2)>>2];if((e|0)<(d|0)){f=e;g=g+1|0}else break}}while(0);if((e|0)>=(d|0)){e=0;f=11;break}}if((f|0)==11)return e|0;return 0}function K3a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0;f=k[a+40>>2]|0;c=Z5a(b,k[a+36>>2]|0)|0;do if((c|0)>-1){c=k[(k[a+32>>2]|0)+(c<<2)>>2]|0;if((c|0)<0){j=(k[a+8>>2]|0)-(c&32767)|0;d=c>>>15&32767;break}_5a(b,i[(k[a+28>>2]|0)+(c+-1)>>0]|0);b=c+-1|0;return b|0}else{j=k[a+8>>2]|0;d=0}while(0);c=Z5a(b,f)|0;if((c|0)<0&(f|0)>1){c=f;do{c=c+-1|0;e=Z5a(b,c)|0}while((e|0)<0&(c|0)>1);g=(e|0)<0;f=c}else{g=(c|0)<0;e=c}if(g){b=-1;return b|0}g=uBb(e|0)|0;g=(g>>>4&252645135|g<<4&-252645136)>>>2&858993459|(g>>>4&252645135|g<<4&-252645136)<<2&-858993460;c=j-d|0;if((c|0)>1){h=k[a+20>>2]|0;e=j;do{j=c>>1;l=(k[h+(j+d<<2)>>2]|0)>>>0>(g>>>1&1431655765|g<<1&-1431655766)>>>0;d=(l?0:j)+d|0;e=e-(l?j:0)|0;c=e-d|0}while((c|0)>1)}c=i[(k[a+28>>2]|0)+d>>0]|0;if((c|0)>(f|0)){_5a(b,f);l=-1;return l|0}else{_5a(b,c);l=d;return l|0}return 0}function L3a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0.0,f=0,g=0.0,h=0,i=0,j=0,l=0,m=0,n=0.0;j=k[b+20>>2]|0;l=k[a+28>>2]|0;f=(k[b+8>>2]|0)+(l<<2)|0;if(!(k[f>>2]|0)){i=k[(k[(k[(k[a+64>>2]|0)+4>>2]|0)+28>>2]|0)+(l<<2)>>2]|0;a=k[b>>2]|0;e=+(k[j+4>>2]|0)*.5;h=hqb((((i|0)/2|0)<<2)+4|0)|0;k[f>>2]=h;a:do if((i|0)>1){e=+(a|0)/(e*9.999999747378752e-05+(+ca(+(e*7.399999885819852e-04))*13.100000381469727+ +ca(+(e*e*1.8499999754340024e-08))*2.240000009536743));g=+(k[j+4>>2]|0)*.5/+((i|0)/2|0|0);h=k[(k[b+8>>2]|0)+(l<<2)>>2]|0;f=a;a=0;while(1){n=g*+(a|0);m=~~+V(+(e*(+ca(+(n*7.399999885819852e-04))*13.100000381469727+ +ca(+(n*n*1.8499999754340024e-08))*2.240000009536743+n*9.999999747378752e-05)));k[h+(a<<2)>>2]=(m|0)<(f|0)?m:f+-1|0;a=a+1|0;if((a|0)>=((i|0)/2|0|0))break a;f=k[b>>2]|0}}else a=0;while(0);k[(k[(k[b+8>>2]|0)+(l<<2)>>2]|0)+(a<<2)>>2]=-1;k[b+12+(l<<2)>>2]=(i|0)/2|0}if(!c){vBb(d|0,0,k[b+12+(l<<2)>>2]<<2|0)|0;m=0;return m|0}else{m=k[b+4>>2]|0;M3a(d,k[(k[b+8>>2]|0)+(l<<2)>>2]|0,k[b+12+(l<<2)>>2]|0,k[b>>2]|0,c,m,+o[c+(m<<2)>>2],+(k[j+16>>2]|0));m=1;return m|0}return 0}function M3a(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=+g;h=+h;var i=0,j=0.0,l=0.0,m=0.0,n=0,p=0.0,q=0;if((f|0)>0){i=0;do{q=e+(i<<2)|0;p=+Z(+(+o[q>>2]))*2.0;o[q>>2]=p;i=i+1|0}while((i|0)!=(f|0))}if((c|0)<=0)return;if((f|0)<=1){i=0;do{n=k[b+(i<<2)>>2]|0;j=+Z(+(3.141592653589793/+(d|0)*+(n|0)))*2.0;if((f|0)==1){p=(j-+o[e>>2])*.5;l=4.0-j*j;j=p*p}else{l=2.0-j;j=(j+2.0)*.5*.5}j=+ea(+((g/+X(+(j+l*.5*.5))-h)*.1151292473077774));q=a+(i<<2)|0;o[q>>2]=+o[q>>2]*j;i=i+1|0;if((k[b+(i<<2)>>2]|0)==(n|0))do{q=a+(i<<2)|0;o[q>>2]=j*+o[q>>2];i=i+1|0}while((k[b+(i<<2)>>2]|0)==(n|0))}while((i|0)<(c|0));return}i=0;do{q=k[b+(i<<2)>>2]|0;p=+Z(+(3.141592653589793/+(d|0)*+(q|0)))*2.0;n=1;l=.5;j=.5;while(1){j=j*(p-+o[e+(n+-1<<2)>>2]);m=l*(p-+o[e+(n<<2)>>2]);n=n+2|0;if((n|0)>=(f|0))break;else l=m}if(((f+-2&-2)+3|0)==(f|0)){j=j*(p-+o[e+((f+-2|1)+1<<2)>>2]);l=4.0-p*p;j=j*j}else{l=2.0-p;j=j*((p+2.0)*j)}j=+ea(+((g/+X(+(j+m*(m*l)))-h)*.1151292473077774));n=a+(i<<2)|0;o[n>>2]=+o[n>>2]*j;i=i+1|0;if((k[b+(i<<2)>>2]|0)==(q|0))do{n=a+(i<<2)|0;o[n>>2]=j*+o[n>>2];i=i+1|0}while((k[b+(i<<2)>>2]|0)==(q|0))}while((i|0)<(c|0));return}function N3a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=k[a+840>>2]|0;W5a(b,k[a>>2]|0,5);if((k[a>>2]|0)>0){d=0;c=-1;do{f=a+4+(d<<2)|0;W5a(b,k[f>>2]|0,4);f=k[f>>2]|0;c=(c|0)<(f|0)?f:c;d=d+1|0}while((d|0)<(k[a>>2]|0));if((c|0)>=0){e=0;while(1){W5a(b,(k[a+128+(e<<2)>>2]|0)+-1|0,3);d=a+192+(e<<2)|0;W5a(b,k[d>>2]|0,2);if(!(k[d>>2]|0)){f=0;h=8}else{W5a(b,k[a+256+(e<<2)>>2]|0,8);if((k[d>>2]|0)!=31){f=0;h=8}}if((h|0)==8)while(1){h=0;W5a(b,(k[a+320+(e<<5)+(f<<2)>>2]|0)+1|0,8);f=f+1|0;if((f|0)>=(1<>2]|0))break;else h=8}if((e|0)==(c|0))break;else e=e+1|0}}}W5a(b,(k[a+832>>2]|0)+-1|0,2);W5a(b,H3a(g+-1|0)|0,4);g=H3a(g+-1|0)|0;c=k[a>>2]|0;if((c|0)<=0)return;e=0;f=0;d=0;do{e=(k[a+128+(k[a+4+(f<<2)>>2]<<2)>>2]|0)+e|0;if((d|0)<(e|0)){c=d;do{W5a(b,k[a+836+(c+2<<2)>>2]|0,g);c=c+1|0}while((c|0)!=(e|0));c=k[a>>2]|0;d=e}f=f+1|0}while((f|0)<(c|0));return}function O3a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=r;r=r+272|0;g=k[a+28>>2]|0;i=jqb(1,1120)|0;f=$5a(b,5)|0;k[i>>2]=f;a:do if((f|0)>0){d=0;c=-1;do{a=$5a(b,4)|0;k[i+4+(d<<2)>>2]=a;if((a|0)<0)break a;c=(c|0)<(a|0)?a:c;d=d+1|0}while((d|0)<(k[i>>2]|0));if((c|0)<0)h=18;else{f=0;while(1){a=($5a(b,3)|0)+1|0;k[i+128+(f<<2)>>2]=a;a=$5a(b,2)|0;e=i+192+(f<<2)|0;k[e>>2]=a;if((a|0)<0)break a;if(!a)a=k[i+256+(f<<2)>>2]|0;else{a=$5a(b,8)|0;k[i+256+(f<<2)>>2]=a}if((a|0)<0)break a;if((a|0)>=(k[g+24>>2]|0))break a;if((k[e>>2]|0)!=31){d=0;do{a=$5a(b,8)|0;k[i+320+(f<<5)+(d<<2)>>2]=a+-1;if((a|0)<0)break a;d=d+1|0;if((a|0)>(k[g+24>>2]|0))break a}while((d|0)<(1<>2]|0))}if((f|0)<(c|0))f=f+1|0;else{h=18;break}}}}else h=18;while(0);b:do if((h|0)==18){f=($5a(b,2)|0)+1|0;k[i+832>>2]=f;f=$5a(b,4)|0;if((f|0)>=0){a=k[i>>2]|0;if((a|0)>0){c=0;e=0;d=0;while(1){c=(k[i+128+(k[i+4+(e<<2)>>2]<<2)>>2]|0)+c|0;if((c|0)>63)break b;if((d|0)<(c|0)){a=d;while(1){h=$5a(b,f)|0;k[i+836+(a+2<<2)>>2]=h;if(!((h|0)>-1&(h|0)<(1<>2]|0}e=e+1|0;if((e|0)>=(a|0)){e=i+836|0;a=1<>2]=0;k[i+840>>2]=a;d=c+2|0;if((c|0)>-2){a=0;do{k[j+(a<<2)>>2]=e+(a<<2);a=a+1|0}while((a|0)<(d|0))}qnb(j,d,4,368);c:do if((d|0)>1){a=k[k[j>>2]>>2]|0;c=1;while(1){b=a;a=k[k[j+(c<<2)>>2]>>2]|0;c=c+1|0;if((b|0)==(a|0))break;if((c|0)>=(d|0))break c}if(!i)a=0;else break b;r=j;return a|0}while(0);r=j;return i|0}}while(0);iqb(i);i=0;r=j;return i|0}function P3a(a,b){a=a|0;b=b|0;return (k[k[a>>2]>>2]|0)-(k[k[b>>2]>>2]|0)|0}function Q3a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0;p=r;r=r+272|0;o=jqb(1,1312)|0;k[o+1296>>2]=b;k[o+1288>>2]=k[b+840>>2];c=k[b>>2]|0;if((c|0)>0){d=0;a=0;do{a=(k[b+128+(k[b+4+(d<<2)>>2]<<2)>>2]|0)+a|0;d=d+1|0}while((d|0)<(c|0));k[o+1284>>2]=a+2;if((a|0)>-2){d=a+2|0;c=a;e=7}else qnb(p,a+2|0,4,368)}else{k[o+1284>>2]=2;d=2;c=0;e=7}if((e|0)==7){a=0;do{k[p+(a<<2)>>2]=b+836+(a<<2);a=a+1|0}while((a|0)<(d|0));qnb(p,d,4,368);a=0;do{k[o+260+(a<<2)>>2]=(k[p+(a<<2)>>2]|0)-(b+836)>>2;a=a+1|0}while((a|0)<(d|0));a=0;do{k[o+520+(k[o+260+(a<<2)>>2]<<2)>>2]=a;a=a+1|0}while((a|0)<(d|0));a=0;do{k[o+(a<<2)>>2]=k[b+836+(k[o+260+(a<<2)>>2]<<2)>>2];a=a+1|0}while((a|0)<(d|0));a=c}switch(k[b+832>>2]|0){case 1:{k[o+1292>>2]=256;break}case 2:{k[o+1292>>2]=128;break}case 3:{k[o+1292>>2]=86;break}case 4:{k[o+1292>>2]=64;break}default:{}}if((a|0)<=0){r=p;return o|0}i=0;j=2;while(1){f=k[b+836+(i+2<<2)>>2]|0;d=1;h=k[o+1288>>2]|0;l=0;c=0;m=0;while(1){g=k[b+836+(l<<2)>>2]|0;n=(g|0)>(m|0)&(g|0)<(f|0);c=n?l:c;e=(g|0)<(h|0)&(g|0)>(f|0);d=e?l:d;l=l+1|0;if((l|0)==(j|0))break;else{h=e?g:h;m=n?g:m}}k[o+1032+(i<<2)>>2]=c;k[o+780+(i<<2)>>2]=d;i=i+1|0;if((i|0)==(a|0))break;else j=j+1|0}r=p;return o|0}function R3a(a){a=a|0;if(a|0)iqb(a);return}function S3a(a){a=a|0;if(a|0)iqb(a);return}function T3a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0;n=k[b+1296>>2]|0;j=k[(k[(k[(k[a+64>>2]|0)+4>>2]|0)+28>>2]|0)+2848>>2]|0;if(($5a(a+4|0,1)|0)!=1){b=0;return b|0}c=I3a(a,k[b+1284>>2]<<2)|0;m=$5a(a+4|0,H3a((k[b+1292>>2]|0)+-1|0)|0)|0;k[c>>2]=m;m=$5a(a+4|0,H3a((k[b+1292>>2]|0)+-1|0)|0)|0;k[c+4>>2]=m;a:do if((k[n>>2]|0)>0){l=0;m=2;b:while(1){g=k[n+4+(l<<2)>>2]|0;h=k[n+128+(g<<2)>>2]|0;i=k[n+192+(g<<2)>>2]|0;if(!i)d=0;else{d=U3a(j+((k[n+256+(g<<2)>>2]|0)*56|0)|0,a+4|0)|0;if((d|0)==-1){c=0;d=25;break}}if((h|0)>0){f=0;do{e=k[n+320+(g<<5)+((d&(1<>2]|0;d=d>>i;if((e|0)>-1){e=U3a(j+(e*56|0)|0,a+4|0)|0;k[c+(f+m<<2)>>2]=e;if((e|0)==-1){c=0;d=25;break b}}else k[c+(f+m<<2)>>2]=0;f=f+1|0}while((f|0)<(h|0))}l=l+1|0;if((l|0)>=(k[n>>2]|0))break a;else m=h+m|0}if((d|0)==25)return c|0}while(0);if((k[b+1284>>2]|0)<=2){b=c;return b|0}i=2;do{g=i+-2|0;f=k[b+1032+(g<<2)>>2]|0;d=k[n+836+(f<<2)>>2]|0;e=k[b+780+(g<<2)>>2]|0;f=k[c+(f<<2)>>2]&32767;h=(k[c+(e<<2)>>2]&32767)-f|0;d=(ha((h|0)>-1?h:0-h|0,(k[n+836+(i<<2)>>2]|0)-d|0)|0)/((k[n+836+(e<<2)>>2]|0)-d|0)|0;f=((h|0)<0?0-d|0:d)+f|0;d=(k[b+1292>>2]|0)-f|0;h=c+(i<<2)|0;e=k[h>>2]|0;if(!e)k[h>>2]=f|32768;else{do if((e|0)<(((d|0)<(f|0)?d:f)<<1|0))if(!(e&1)){d=e>>1;break}else{d=0-(e+1>>1)|0;break}else if((d|0)>(f|0)){d=e-f|0;break}else{d=~(e-d);break}while(0);k[h>>2]=d+f&32767;a=c+(k[b+1032+(g<<2)>>2]<<2)|0;k[a>>2]=k[a>>2]&32767;a=c+(k[b+780+(g<<2)>>2]<<2)|0;k[a>>2]=k[a>>2]&32767}i=i+1|0}while((i|0)<(k[b+1284>>2]|0));return c|0}function U3a(a,b){a=a|0;b=b|0;if((k[a+8>>2]|0)<=0){a=-1;return a|0}b=K3a(a,b)|0;if((b|0)<=-1){a=-1;return a|0}a=k[(k[a+24>>2]|0)+(b<<2)>>2]|0;return a|0}function V3a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0.0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,p=0,q=0,r=0,s=0,t=0,u=0;t=k[b+1296>>2]|0;u=(k[(k[(k[(k[a+64>>2]|0)+4>>2]|0)+28>>2]|0)+(k[a+28>>2]<<2)>>2]|0)/2|0;if(!c){vBb(d|0,0,u<<2|0)|0;d=0;return d|0}q=k[t+832>>2]|0;e=ha(q,k[c>>2]|0)|0;e=(e|0)<0?0:(e|0)>255?255:e;r=k[b+1284>>2]|0;if((r|0)>1){a=0;s=1;m=0;while(1){g=k[b+260+(s<<2)>>2]|0;h=k[c+(g<<2)>>2]|0;if((h&32767|0)==(h|0)){n=k[t+836+(g<<2)>>2]|0;p=ha(q,h)|0;p=(p|0)<0?0:(p|0)>255?255:p;h=p-e|0;i=n-m|0;j=ha((h|0)/(i|0)|0,i)|0;j=((h|0)>-1?h:0-h|0)-((j|0)>-1?j:0-j|0)|0;l=(u|0)>(n|0)?n:u;if((l|0)>(m|0)){g=d+(m<<2)|0;o[g>>2]=+o[98688+(e<<2)>>2]*+o[g>>2]}a=m+1|0;if((a|0)<(l|0)){g=0;while(1){g=g+j|0;e=e+((h|0)/(i|0)|0)+((g|0)<(i|0)?0:h>>31|1)|0;m=d+(a<<2)|0;o[m>>2]=+o[98688+(e<<2)>>2]*+o[m>>2];a=a+1|0;if((a|0)>=(l|0)){a=n;g=n;e=p;break}else g=g-((g|0)<(i|0)?0:i)|0}}else{a=n;g=n;e=p}}else g=m;s=s+1|0;if((s|0)>=(r|0))break;else m=g}}else a=0;if((a|0)>=(u|0)){d=1;return d|0}f=+o[98688+(e<<2)>>2];do{c=d+(a<<2)|0;o[c>>2]=f*+o[c>>2];a=a+1|0}while((a|0)!=(u|0));a=1;return a|0}function W3a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;if((k[b>>2]|0)>1){W5a(c,1,1);W5a(c,(k[b>>2]|0)+-1|0,4)}else W5a(c,0,1);if((k[b+1156>>2]|0)>0){W5a(c,1,1);W5a(c,(k[b+1156>>2]|0)+-1|0,8);if((k[b+1156>>2]|0)>0){d=0;do{f=k[b+1160+(d<<2)>>2]|0;W5a(c,f,H3a((k[a+4>>2]|0)+-1|0)|0);f=k[b+2184+(d<<2)>>2]|0;W5a(c,f,H3a((k[a+4>>2]|0)+-1|0)|0);d=d+1|0}while((d|0)<(k[b+1156>>2]|0))}}else W5a(c,0,1);W5a(c,0,2);d=k[b>>2]|0;if((d|0)>1){if((k[a+4>>2]|0)>0){d=0;do{W5a(c,k[b+4+(d<<2)>>2]|0,4);d=d+1|0}while((d|0)<(k[a+4>>2]|0));d=k[b>>2]|0;e=13}}else e=13;if((e|0)==13)if((d|0)<=0)return;d=0;do{W5a(c,0,8);W5a(c,k[b+1028+(d<<2)>>2]|0,8);W5a(c,k[b+1092+(d<<2)>>2]|0,8);d=d+1|0}while((d|0)<(k[b>>2]|0));return}function X3a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=jqb(1,3208)|0;h=k[a+28>>2]|0;vBb(c|0,0,3208)|0;a:do if((k[a+4>>2]|0)<1)i=24;else{d=$5a(b,1)|0;if((d|0)<0)i=24;else{if(!d)k[c>>2]=1;else{g=$5a(b,4)|0;k[c>>2]=g+1;if((g|0)<0)break}d=$5a(b,1)|0;if((d|0)>=0){if(d|0){g=$5a(b,8)|0;k[c+1156>>2]=g+1;if((g|0)<0)break;d=k[a+4>>2]|0;g=0;do{e=$5a(b,H3a(d+-1|0)|0)|0;k[c+1160+(g<<2)>>2]=e;f=$5a(b,H3a((k[a+4>>2]|0)+-1|0)|0)|0;k[c+2184+(g<<2)>>2]=f;if((e|0)==(f|0)|(f|e|0)<0)break a;d=k[a+4>>2]|0;g=g+1|0;if(!((e|0)<(d|0)&(f|0)<(d|0)))break a}while((g|0)<(k[c+1156>>2]|0))}if(!($5a(b,2)|0)){d=k[c>>2]|0;if((d|0)>1){if((k[a+4>>2]|0)>0){e=0;while(1){g=$5a(b,4)|0;k[c+4+(e<<2)>>2]=g;d=k[c>>2]|0;e=e+1|0;if((g|0)<0|(g|0)>=(d|0))break a;if((e|0)>=(k[a+4>>2]|0)){i=17;break}}}}else i=17;if((i|0)==17)if((d|0)<=0){i=c;return i|0}d=0;do{$5a(b,8)|0;a=$5a(b,8)|0;k[c+1028+(d<<2)>>2]=a;if((a|0)<0?1:(a|0)>=(k[h+16>>2]|0))break a;a=$5a(b,8)|0;k[c+1092+(d<<2)>>2]=a;d=d+1|0;if((a|0)<0?1:(a|0)>=(k[h+20>>2]|0))break a}while((d|0)<(k[c>>2]|0));return c|0}}}}while(0);if((i|0)==24)if(!c){i=0;return i|0}iqb(c);i=0;return i|0}function Y3a(a){a=a|0;if(a|0)iqb(a);return}function Z3a(a){a=a|0;var b=0,c=0.0,d=0.0,e=0,f=0.0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,p=0,q=0.0,s=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0.0;H=r;F=k[a+64>>2]|0;A=k[F+4>>2]|0;E=k[A+28>>2]|0;F=k[F+104>>2]|0;G=k[a+104>>2]|0;u=k[a+36>>2]|0;x=k[A+4>>2]<<2;w=r;r=r+((1*x|0)+15&-16)|0;x=I3a(a,x)|0;y=I3a(a,k[A+4>>2]<<2)|0;z=I3a(a,k[A+4>>2]<<2)|0;c=+o[G+4>>2];s=k[A+4>>2]|0;v=r;r=r+((1*(s<<2)|0)+15&-16)|0;B=k[a+28>>2]|0;C=k[E+544+(B<<2)>>2]|0;D=(k[F+56>>2]|0)+((k[G+8>>2]|0)*52|0)+((B|0?2:0)*52|0)|0;k[a+40>>2]=B;a:do if((s|0)>0){i=((u|0)/2|0)<<2;q=+W(+(4.0/+(u|0)));q=+((o[t>>2]=q,k[t>>2]|0)>>>0)*7.177114298428933e-07+-764.6162109375+.345;if((u+-1|0)>1)h=0;else{b=0;while(1){s=k[(k[a>>2]|0)+(b<<2)>>2]|0;n=I3a(a,i)|0;k[y+(b<<2)>>2]=n;n=I3a(a,i)|0;p=x+(b<<2)|0;k[p>>2]=n;_3a(s,F+4|0,E,k[a+24>>2]|0,k[a+28>>2]|0,k[a+32>>2]|0);$3a(k[k[F+12+(k[a+28>>2]<<2)>>2]>>2]|0,s,k[p>>2]|0);b4a(F+20+((k[a+28>>2]|0)*12|0)|0,s);f=q+(+((k[s>>2]&2147483647)>>>0)*7.177114298428933e-07+-764.6162109375)+.345;o[s>>2]=f;f=f>0.0?0.0:f;o[v+(b<<2)>>2]=f;c=f>c?f:c;b=b+1|0;if((b|0)>=(k[A+4>>2]|0)){b=i;s=(u|0)/2|0;break a}}}do{b=k[(k[a>>2]|0)+(h<<2)>>2]|0;e=I3a(a,i)|0;k[y+(h<<2)>>2]=e;e=I3a(a,i)|0;g=x+(h<<2)|0;k[g>>2]=e;_3a(b,F+4|0,E,k[a+24>>2]|0,k[a+28>>2]|0,k[a+32>>2]|0);$3a(k[k[F+12+(k[a+28>>2]<<2)>>2]>>2]|0,b,k[g>>2]|0);b4a(F+20+((k[a+28>>2]|0)*12|0)|0,b);f=q+(+((k[b>>2]&2147483647)>>>0)*7.177114298428933e-07+-764.6162109375)+.345;o[b>>2]=f;g=v+(h<<2)|0;o[g>>2]=f;e=1;while(1){I=+o[b+(e<<2)>>2];s=e+1|0;d=+o[b+(s<<2)>>2];d=+W(+(I*I+d*d));d=q+(+((o[t>>2]=d,k[t>>2]|0)>>>0)*7.177114298428933e-07+-764.6162109375)*.5+.345;o[b+(s>>1<<2)>>2]=d;if(d>f)o[g>>2]=d;else d=f;e=e+2|0;if((e|0)>=(u+-1|0))break;else f=d}if(d>0.0){o[g>>2]=0.0;d=0.0}c=d>c?d:c;h=h+1|0}while((h|0)<(k[A+4>>2]|0));b=i;s=(u|0)/2|0}else{b=((u|0)/2|0)<<2;s=(u|0)/2|0}while(0);p=I3a(a,b)|0;n=I3a(a,b)|0;b=k[A+4>>2]|0;b:do if((b|0)>0){m=0;while(1){g=k[C+4+(m<<2)>>2]|0;h=k[x+(m<<2)>>2]|0;i=k[(k[a>>2]|0)+(m<<2)>>2]|0;j=i+(s<<2)|0;k[a+40>>2]=B;b=I3a(a,60)|0;l=z+(m<<2)|0;k[l>>2]=b;e=b+60|0;do{k[b>>2]=0;b=b+4|0}while((b|0)<(e|0));if((u|0)>1){b=0;do{o[j+(b<<2)>>2]=+((k[h+(b<<2)>>2]&2147483647)>>>0)*7.177114298428933e-07+-764.6162109375+.345;b=b+1|0}while((b|0)<(s|0))}f4a(D,j,p);h4a(D,i,n,c,+o[v+(m<<2)>>2]);j4a(D,p,n,1,i,h,j);b=k[C+1028+(g<<2)>>2]|0;if((k[E+800+(b<<2)>>2]|0)!=1){b=-1;break}e=k4a(a,k[(k[F+48>>2]|0)+(b<<2)>>2]|0,j,i)|0;k[(k[l>>2]|0)+28>>2]=e;if(m4a(a)|0)if(k[(k[l>>2]|0)+28>>2]|0){j4a(D,p,n,2,i,h,j);e=k4a(a,k[(k[F+48>>2]|0)+(k[C+1028+(g<<2)>>2]<<2)>>2]|0,j,i)|0;k[(k[l>>2]|0)+56>>2]=e;j4a(D,p,n,0,i,h,j);j=k4a(a,k[(k[F+48>>2]|0)+(k[C+1028+(g<<2)>>2]<<2)>>2]|0,j,i)|0;k[k[l>>2]>>2]=j;j=k[l>>2]|0;j=n4a(a,k[(k[F+48>>2]|0)+(k[C+1028+(g<<2)>>2]<<2)>>2]|0,k[j>>2]|0,k[j+28>>2]|0,9362)|0;k[(k[l>>2]|0)+4>>2]=j;j=k[l>>2]|0;j=n4a(a,k[(k[F+48>>2]|0)+(k[C+1028+(g<<2)>>2]<<2)>>2]|0,k[j>>2]|0,k[j+28>>2]|0,18724)|0;k[(k[l>>2]|0)+8>>2]=j;j=k[l>>2]|0;j=n4a(a,k[(k[F+48>>2]|0)+(k[C+1028+(g<<2)>>2]<<2)>>2]|0,k[j>>2]|0,k[j+28>>2]|0,28086)|0;k[(k[l>>2]|0)+12>>2]=j;j=k[l>>2]|0;j=n4a(a,k[(k[F+48>>2]|0)+(k[C+1028+(g<<2)>>2]<<2)>>2]|0,k[j>>2]|0,k[j+28>>2]|0,37449)|0;k[(k[l>>2]|0)+16>>2]=j;j=k[l>>2]|0;j=n4a(a,k[(k[F+48>>2]|0)+(k[C+1028+(g<<2)>>2]<<2)>>2]|0,k[j>>2]|0,k[j+28>>2]|0,46811)|0;k[(k[l>>2]|0)+20>>2]=j;j=k[l>>2]|0;j=n4a(a,k[(k[F+48>>2]|0)+(k[C+1028+(g<<2)>>2]<<2)>>2]|0,k[j>>2]|0,k[j+28>>2]|0,56173)|0;k[(k[l>>2]|0)+24>>2]=j;j=k[l>>2]|0;j=n4a(a,k[(k[F+48>>2]|0)+(k[C+1028+(g<<2)>>2]<<2)>>2]|0,k[j+28>>2]|0,k[j+56>>2]|0,9362)|0;k[(k[l>>2]|0)+32>>2]=j;j=k[l>>2]|0;j=n4a(a,k[(k[F+48>>2]|0)+(k[C+1028+(g<<2)>>2]<<2)>>2]|0,k[j+28>>2]|0,k[j+56>>2]|0,18724)|0;k[(k[l>>2]|0)+36>>2]=j;j=k[l>>2]|0;j=n4a(a,k[(k[F+48>>2]|0)+(k[C+1028+(g<<2)>>2]<<2)>>2]|0,k[j+28>>2]|0,k[j+56>>2]|0,28086)|0;k[(k[l>>2]|0)+40>>2]=j;j=k[l>>2]|0;j=n4a(a,k[(k[F+48>>2]|0)+(k[C+1028+(g<<2)>>2]<<2)>>2]|0,k[j+28>>2]|0,k[j+56>>2]|0,37449)|0;k[(k[l>>2]|0)+44>>2]=j;j=k[l>>2]|0;j=n4a(a,k[(k[F+48>>2]|0)+(k[C+1028+(g<<2)>>2]<<2)>>2]|0,k[j+28>>2]|0,k[j+56>>2]|0,46811)|0;k[(k[l>>2]|0)+48>>2]=j;j=k[l>>2]|0;j=n4a(a,k[(k[F+48>>2]|0)+(k[C+1028+(g<<2)>>2]<<2)>>2]|0,k[j+28>>2]|0,k[j+56>>2]|0,56173)|0;k[(k[l>>2]|0)+52>>2]=j}m=m+1|0;b=k[A+4>>2]|0;if((m|0)>=(b|0)){s=F+48|0;break b}}r=H;return b|0}else s=F+48|0;while(0);o[G+4>>2]=c;p=b<<2;l=r;r=r+((1*p|0)+15&-16)|0;m=r;r=r+((1*p|0)+15&-16)|0;p=(m4a(a)|0)!=0;p=p?0:7;while(1){n=k[G+12+(p<<2)>>2]|0;W5a(n,0,1);W5a(n,B,k[F+44>>2]|0);if(k[a+28>>2]|0){W5a(n,k[a+24>>2]|0,1);W5a(n,k[a+32>>2]|0,1)}b=k[A+4>>2]|0;if((b|0)>0){e=0;do{b=o4a(n,a,k[(k[s>>2]|0)+(k[C+1028+(k[C+4+(e<<2)>>2]<<2)>>2]<<2)>>2]|0,k[(k[z+(e<<2)>>2]|0)+(p<<2)>>2]|0,k[y+(e<<2)>>2]|0)|0;k[w+(e<<2)>>2]=b;e=e+1|0;b=k[A+4>>2]|0}while((e|0)<(b|0))}q4a(p,E+2868|0,D,C,x,y,w,k[E+3240+((k[a+28>>2]|0)*60|0)+(p<<2)>>2]|0,b);if((k[C>>2]|0)>0){j=0;do{i=k[C+1092+(j<<2)>>2]|0;b=k[A+4>>2]|0;if((b|0)>0){e=0;g=0;do{if((k[C+4+(g<<2)>>2]|0)==(j|0)){k[m+(e<<2)>>2]=(k[w+(g<<2)>>2]|0)!=0&1;k[l+(e<<2)>>2]=k[y+(g<<2)>>2];b=k[A+4>>2]|0;e=e+1|0}g=g+1|0}while((g|0)<(b|0));b=e}else b=0;h=Ni[k[(k[99712+(k[E+1312+(i<<2)>>2]<<2)>>2]|0)+20>>2]&127](a,k[(k[F+52>>2]|0)+(i<<2)>>2]|0,l,m,b)|0;e=k[A+4>>2]|0;if((e|0)>0){b=0;g=0;do{if((k[C+4+(g<<2)>>2]|0)==(j|0)){k[l+(b<<2)>>2]=k[y+(g<<2)>>2];b=b+1|0}g=g+1|0}while((g|0)<(e|0))}else b=0;sj[k[(k[99712+(k[E+1312+(i<<2)>>2]<<2)>>2]|0)+24>>2]&31](n,a,k[(k[F+52>>2]|0)+(i<<2)>>2]|0,l,m,b,h,j)|0;j=j+1|0}while((j|0)<(k[C>>2]|0))}v=(m4a(a)|0)!=0;if((p|0)<((v?14:7)|0))p=p+1|0;else{b=0;break}}r=H;return b|0}function _3a(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;d=e|0?d:0;g=e|0?f:0;h=k[66016+(k[b+(d<<2)>>2]<<2)>>2]|0;i=k[66016+(k[b+(g<<2)>>2]<<2)>>2]|0;j=k[c+(e<<2)>>2]|0;b=k[c+(d<<2)>>2]|0;g=k[c+(g<<2)>>2]|0;f=((j|0)/4|0)-((b|0)/4|0)|0;d=((j|0)/2|0)+((j|0)/4|0)+((g|0)/-4|0)|0;if((f|0)>0){vBb(a|0,0,((j|0)/4|0)-((b|0)/4|0)<<2|0)|0;c=f}else c=0;if((c|0)<(f+((b|0)/2|0)|0)){e=((j|0)/4|0)+((b|0)/2|0)-c-((b|0)/4|0)|0;f=c;b=0;while(1){c=a+(f<<2)|0;o[c>>2]=+o[h+(b<<2)>>2]*+o[c>>2];b=b+1|0;if((b|0)==(e|0))break;else f=f+1|0}}if((g|0)>1){f=d;b=(g|0)/2|0;do{b=b+-1|0;h=a+(f<<2)|0;o[h>>2]=+o[i+(b<<2)>>2]*+o[h>>2];f=f+1|0}while((f|0)<(d+((g|0)/2|0)|0));d=f}if((j|0)<=(d|0))return;vBb(a+(d<<2)|0,0,j-d<<2|0)|0;return}function $3a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,p=0,q=0.0,s=0.0,t=0,u=0.0,v=0.0,w=0.0,x=0.0;p=r;n=k[a>>2]|0;d=r;r=r+((1*(n<<2)|0)+15&-16)|0;m=k[a+8>>2]|0;if((n>>3|0)>0){e=m+(n>>1<<2)|0;f=0;g=b+(n>>1<<2)+(n>>2<<2)|0;h=b+(n>>1<<2)+(n>>2<<2)+4|0;while(1){j=g;g=g+-16|0;l=e;e=e+-8|0;q=+o[j+-8>>2]+ +o[h>>2];s=+o[g>>2]+ +o[h+8>>2];o[d+(n>>1<<2)+(f<<2)>>2]=s*+o[l+-4>>2]+q*+o[e>>2];o[d+(n>>1<<2)+((f|1)<<2)>>2]=s*+o[e>>2]-q*+o[l+-4>>2];f=f+2|0;if((f|0)>=(n>>3|0))break;else h=h+16|0}g=m+((n>>1)+-2-(((n>>3)+-1|0)>>>1<<1)<<2)|0;f=(((n>>3)+-1|0)>>>1<<1)+2|0;e=b+((n>>2)+(n>>1)+-4-(((n>>3)+-1|0)>>>1<<2)<<2)|0}else{g=m+(n>>1<<2)|0;f=0;e=b+(n>>1<<2)+(n>>2<<2)|0}if((f|0)<((n>>1)-(n>>3)|0)){l=((n>>1)+-1-f-(n>>3)|0)>>>1;j=f+(l<<1)|0;i=g;h=b+4|0;while(1){t=i;i=i+-8|0;s=+o[e+-8>>2]-+o[h>>2];e=e+-16|0;q=+o[e>>2]-+o[h+8>>2];o[d+(n>>1<<2)+(f<<2)>>2]=q*+o[t+-4>>2]+s*+o[i>>2];o[d+(n>>1<<2)+((f|1)<<2)>>2]=q*+o[i>>2]-s*+o[t+-4>>2];f=f+2|0;if((f|0)>=((n>>1)-(n>>3)|0))break;else h=h+16|0}g=g+(-2-(l<<1)<<2)|0;f=j+2|0;e=b+((l<<2)+5<<2)|0}else e=b+4|0;if((f|0)<(n>>1|0)){h=g;g=f;f=b+(n<<2)|0;while(1){t=h;h=h+-8|0;s=-+o[f+-8>>2]-+o[e>>2];f=f+-16|0;q=-+o[f>>2]-+o[e+8>>2];o[d+(n>>1<<2)+(g<<2)>>2]=q*+o[t+-4>>2]+s*+o[h>>2];o[d+(n>>1<<2)+((g|1)<<2)>>2]=q*+o[h>>2]-s*+o[t+-4>>2];g=g+2|0;if((g|0)>=(n>>1|0))break;else e=e+16|0}}a4a(k[a+4>>2]|0,m,d+(n>>1<<2)|0,n>>1);g=k[a>>2]|0;h=k[a+8>>2]|0;e=h+(g<<2)|0;f=k[a+12>>2]|0;i=d;j=d+(g>>1<<2)|0;while(1){b=d+(g>>1<<2)+(k[f>>2]<<2)|0;t=d+(g>>1<<2)+(k[f+4>>2]<<2)|0;u=+o[b+4>>2];s=+o[t+4>>2];v=+o[b>>2];w=+o[t>>2];q=+o[e>>2];x=+o[e+4>>2];t=j;j=j+-16|0;o[i>>2]=(u+s)*.5+((v+w)*q+(u-s)*x);o[t+-8>>2]=(u+s)*.5-((v+w)*q+(u-s)*x);o[i+4>>2]=(v-w)*.5+((v+w)*x-(u-s)*q);o[t+-4>>2]=(v+w)*x-(u-s)*q-(v-w)*.5;b=d+(g>>1<<2)+(k[f+8>>2]<<2)|0;m=d+(g>>1<<2)+(k[f+12>>2]<<2)|0;w=+o[b+4>>2];v=+o[m+4>>2];q=+o[b>>2];s=+o[m>>2];u=+o[e+8>>2];x=+o[e+12>>2];o[i+8>>2]=(w+v)*.5+((q+s)*u+(w-v)*x);o[j>>2]=(w+v)*.5-((q+s)*u+(w-v)*x);o[i+12>>2]=(q-s)*.5+((q+s)*x-(w-v)*u);o[t+-12>>2]=(q+s)*x-(w-v)*u-(q-s)*.5;i=i+16|0;if(i>>>0>=j>>>0)break;else{e=e+16|0;f=f+16|0}}if((n>>2|0)<=0){r=p;return}f=h+(n>>1<<2)|0;g=0;e=c+(n>>1<<2)|0;while(1){e=e+-4|0;t=d+4|0;m=f+4|0;o[c+(g<<2)>>2]=+o[a+16>>2]*(+o[d>>2]*+o[f>>2]+ +o[t>>2]*+o[m>>2]);o[e>>2]=+o[a+16>>2]*(+o[d>>2]*+o[m>>2]-+o[t>>2]*+o[f>>2]);g=g+1|0;if((g|0)==(n>>2|0))break;else{f=f+8|0;d=d+8|0}}r=p;return}function a4a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0.0,p=0.0,q=0.0,r=0.0,s=0,t=0,u=0,v=0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0.0,K=0.0,L=0.0,M=0.0,N=0.0,O=0.0,P=0.0,Q=0.0,R=0.0,S=0.0,T=0.0,U=0.0,V=0.0;if((a|0)>6){e=b;f=c+(d<<2)|0;g=c+(d>>1<<2)+-32|0;while(1){l=f;f=f+-32|0;n=+o[l+-8>>2];m=g+24|0;p=+o[m>>2];q=+o[l+-4>>2];j=g+28|0;r=q-+o[j>>2];o[l+-8>>2]=n+p;o[l+-4>>2]=q+ +o[j>>2];i=e+4|0;o[m>>2]=r*+o[i>>2]+(n-p)*+o[e>>2];o[j>>2]=r*+o[e>>2]-(n-p)*+o[i>>2];p=+o[l+-16>>2];j=g+16|0;n=+o[j>>2];r=+o[l+-12>>2];i=g+20|0;q=r-+o[i>>2];o[l+-16>>2]=p+n;o[l+-12>>2]=r+ +o[i>>2];m=e+20|0;k=e+16|0;o[j>>2]=q*+o[m>>2]+(p-n)*+o[k>>2];o[i>>2]=q*+o[k>>2]-(p-n)*+o[m>>2];n=+o[l+-24>>2];i=g+8|0;p=+o[i>>2];q=+o[l+-20>>2];m=g+12|0;r=q-+o[m>>2];o[l+-24>>2]=n+p;o[l+-20>>2]=q+ +o[m>>2];k=e+36|0;j=e+32|0;o[i>>2]=r*+o[k>>2]+(n-p)*+o[j>>2];o[m>>2]=r*+o[j>>2]-(n-p)*+o[k>>2];p=+o[f>>2];n=+o[g>>2];r=+o[l+-28>>2];m=g+4|0;q=r-+o[m>>2];o[f>>2]=p+n;o[l+-28>>2]=r+ +o[m>>2];l=e+52|0;k=e+48|0;o[g>>2]=q*+o[l>>2]+(p-n)*+o[k>>2];o[m>>2]=q*+o[k>>2]-(p-n)*+o[l>>2];g=g+-32|0;if(g>>>0>>0)break;else e=e+64|0}}if((a+-6|0)>1){k=1;do{g=1<>k;i=4<>1<<2)+-32|0;while(1){t=f;f=f+-32|0;r=+o[t+-8>>2];v=m+24|0;q=+o[v>>2];p=+o[t+-4>>2];s=m+28|0;n=p-+o[s>>2];o[t+-8>>2]=r+q;o[t+-4>>2]=p+ +o[s>>2];u=e+4|0;o[v>>2]=n*+o[u>>2]+(r-q)*+o[e>>2];o[s>>2]=n*+o[e>>2]-(r-q)*+o[u>>2];e=e+(i<<2)|0;q=+o[t+-16>>2];s=m+16|0;r=+o[s>>2];n=+o[t+-12>>2];u=m+20|0;p=n-+o[u>>2];o[t+-16>>2]=q+r;o[t+-12>>2]=n+ +o[u>>2];o[s>>2]=p*+o[e+4>>2]+(q-r)*+o[e>>2];o[u>>2]=p*+o[e>>2]-(q-r)*+o[e+4>>2];r=+o[t+-24>>2];u=m+8|0;q=+o[u>>2];p=+o[t+-20>>2];s=m+12|0;n=p-+o[s>>2];o[t+-24>>2]=r+q;o[t+-20>>2]=p+ +o[s>>2];o[u>>2]=n*+o[e+(i<<2)+4>>2]+(r-q)*+o[e+(i<<2)>>2];o[s>>2]=n*+o[e+(i<<2)>>2]-(r-q)*+o[e+(i<<2)+4>>2];e=e+(i<<2)+(i<<2)|0;q=+o[f>>2];r=+o[m>>2];n=+o[t+-28>>2];s=m+4|0;p=n-+o[s>>2];o[f>>2]=q+r;o[t+-28>>2]=n+ +o[s>>2];o[m>>2]=p*+o[e+4>>2]+(q-r)*+o[e>>2];o[s>>2]=p*+o[e>>2]-(q-r)*+o[e+4>>2];m=m+-32|0;if(m>>>0>>0)break;else e=e+(i<<2)|0}l=l+1|0}while((l|0)<(g|0))}k=k+1|0}while((k|0)!=(a+-6|0))}if((d|0)>0)e=0;else return;do{v=c+(e<<2)|0;L=+o[v+120>>2];F=+o[v+56>>2];N=+o[v+124>>2];O=+o[v+60>>2];o[v+120>>2]=L+F;o[v+124>>2]=N+O;o[v+56>>2]=L-F;o[v+60>>2]=N-O;O=+o[v+112>>2];N=+o[v+48>>2];F=+o[v+116>>2];L=+o[v+52>>2];o[v+112>>2]=O+N;o[v+116>>2]=F+L;o[v+48>>2]=(O-N)*.9238795042037964-(F-L)*.3826834261417389;o[v+52>>2]=(O-N)*.3826834261417389+(F-L)*.9238795042037964;L=+o[v+104>>2];F=+o[v+40>>2];N=+o[v+108>>2];O=+o[v+44>>2];o[v+104>>2]=L+F;o[v+108>>2]=N+O;o[v+40>>2]=(L-F-(N-O))*.7071067690849304;o[v+44>>2]=(L-F+(N-O))*.7071067690849304;O=+o[v+96>>2];N=+o[v+32>>2];F=+o[v+100>>2];L=+o[v+36>>2];o[v+96>>2]=O+N;o[v+100>>2]=F+L;H=+o[v+88>>2];B=+o[v+24>>2];P=+o[v+28>>2];M=+o[v+92>>2];o[v+88>>2]=H+B;o[v+92>>2]=P+M;o[v+28>>2]=H-B;y=+o[v+16>>2];I=+o[v+80>>2];K=+o[v+20>>2];x=+o[v+84>>2];o[v+80>>2]=y+I;o[v+84>>2]=K+x;q=+o[v+8>>2];E=+o[v+72>>2];J=+o[v+12>>2];r=+o[v+76>>2];o[v+72>>2]=q+E;o[v+76>>2]=J+r;D=+o[v>>2];C=+o[v+64>>2];w=+o[v+4>>2];n=+o[v+68>>2];o[v+64>>2]=D+C;o[v+68>>2]=w+n;S=(w-n)*.9238795042037964-(D-C)*.3826834261417389-((O-N)*.9238795042037964+(F-L)*.3826834261417389);R=(D-C)*.9238795042037964+(w-n)*.3826834261417389-((O-N)*.3826834261417389-(F-L)*.9238795042037964);A=(O-N)*.3826834261417389-(F-L)*.9238795042037964+((D-C)*.9238795042037964+(w-n)*.3826834261417389);L=(O-N)*.9238795042037964+(F-L)*.3826834261417389+((w-n)*.9238795042037964-(D-C)*.3826834261417389);F=+o[v+44>>2];N=+o[v+40>>2];O=+o[v+48>>2];p=+o[v+52>>2];U=(O-((y-I)*.3826834261417389+(K-x)*.9238795042037964)-(p-((K-x)*.3826834261417389-(y-I)*.9238795042037964)))*.7071067690849304;z=(O-((y-I)*.3826834261417389+(K-x)*.9238795042037964)+(p-((K-x)*.3826834261417389-(y-I)*.9238795042037964)))*.7071067690849304;Q=+o[v+56>>2];G=+o[v+60>>2];V=(J-r-(q-E))*.7071067690849304-F+(Q-(P-M));T=Q-(P-M)-((J-r-(q-E))*.7071067690849304-F);o[v+24>>2]=V+((S+R)*.7071067690849304+U);o[v+16>>2]=V-((S+R)*.7071067690849304+U);V=G-(H-B)-(N-(q-E+(J-r))*.7071067690849304);o[v>>2]=T+(z-(S-R)*.7071067690849304);o[v+8>>2]=T-(z-(S-R)*.7071067690849304);T=N-(q-E+(J-r))*.7071067690849304+(G-(H-B));o[v+12>>2]=U-(S+R)*.7071067690849304+V;o[v+4>>2]=V-(U-(S+R)*.7071067690849304);o[v+28>>2]=(S-R)*.7071067690849304+z+T;o[v+20>>2]=T-((S-R)*.7071067690849304+z);z=(q-E+(J-r))*.7071067690849304+N+(Q+(P-M));N=Q+(P-M)-((q-E+(J-r))*.7071067690849304+N);M=A+((y-I)*.3826834261417389+(K-x)*.9238795042037964+O);A=(y-I)*.3826834261417389+(K-x)*.9238795042037964+O-A;o[v+56>>2]=M+z;o[v+48>>2]=z-M;M=(K-x)*.3826834261417389-(y-I)*.9238795042037964+p-L;z=G+(H-B)-((J-r-(q-E))*.7071067690849304+F);o[v+32>>2]=M+N;o[v+40>>2]=N-M;p=L+((K-x)*.3826834261417389-(y-I)*.9238795042037964+p);B=(J-r-(q-E))*.7071067690849304+F+(G+(H-B));o[v+44>>2]=A+z;o[v+36>>2]=z-A;o[v+60>>2]=p+B;o[v+52>>2]=B-p;p=+o[v+100>>2];B=+o[v+96>>2];A=+o[v+76>>2];z=+o[v+108>>2];H=+o[v+104>>2];G=+o[v+72>>2];F=+o[v+112>>2];E=+o[v+80>>2];q=+o[v+116>>2];r=+o[v+84>>2];J=+o[v+120>>2];I=+o[v+88>>2];y=+o[v+124>>2];x=+o[v+92>>2];K=(w+n-p+(D+C-B))*.7071067690849304+(F-E-(q-r))*.7071067690849304;L=(F-E-(q-r))*.7071067690849304-(w+n-p+(D+C-B))*.7071067690849304;o[v+88>>2]=A-z+(J-I)+K;o[v+80>>2]=A-z+(J-I)-K;K=(F-E+(q-r))*.7071067690849304-(w+n-p-(D+C-B))*.7071067690849304;o[v+64>>2]=J-I-(A-z)+K;o[v+72>>2]=J-I-(A-z)-K;K=(w+n-p-(D+C-B))*.7071067690849304+(F-E+(q-r))*.7071067690849304;o[v+76>>2]=L+(y-x-(H-G));o[v+68>>2]=y-x-(H-G)-L;o[v+92>>2]=K+(H-G+(y-x));o[v+84>>2]=H-G+(y-x)-K;o[v+120>>2]=D+C+B+(F+E)+(H+G+(J+I));o[v+112>>2]=H+G+(J+I)-(D+C+B+(F+E));o[v+96>>2]=q+r-(w+n+p)+(J+I-(H+G));o[v+104>>2]=J+I-(H+G)-(q+r-(w+n+p));o[v+108>>2]=F+E-(D+C+B)+(y+x-(A+z));o[v+100>>2]=y+x-(A+z)-(F+E-(D+C+B));o[v+124>>2]=w+n+p+(q+r)+(A+z+(y+x));o[v+116>>2]=A+z+(y+x)-(w+n+p+(q+r));e=e+32|0}while((e|0)<(d|0));return}function b4a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0;n=k[a>>2]|0;if((n|0)==1)return;o=k[a+4>>2]|0;h=k[a+8>>2]|0;i=k[h+4>>2]|0;if((i|0)<=0)return;j=n;l=0;m=n;f=1;while(1){c=k[h+(i+1-l<<2)>>2]|0;g=(n|0)/(m|0)|0;m=(m|0)/(c|0)|0;d=ha(g,m)|0;j=j-(ha(g,c+-1|0)|0)|0;a=1-f|0;a:do switch(c|0){case 4:{c=j+g|0;d=o+(n<<2)+(j<<2)+-4|0;if(!a){c4a(g,m,b,o,d,o+(n<<2)+(c<<2)+-4|0,o+(n<<2)+(c+g<<2)+-4|0);a=0;break a}else{c4a(g,m,o,b,d,o+(n<<2)+(c<<2)+-4|0,o+(n<<2)+(c+g<<2)+-4|0);break a}}case 2:{c=o+(n<<2)+(j<<2)+-4|0;if(!a){d4a(g,m,b,o,c);a=0;break a}else{d4a(g,m,o,b,c);break a}}default:{e=o+(n<<2)+(j<<2)+-4|0;if(!(((g|0)==1?f:a)|0)){e4a(g,c,m,d,b,b,b,o,o,e);a=1;break a}else{e4a(g,c,m,d,o,o,o,b,b,e);a=0;break a}}}while(0);l=l+1|0;if((l|0)==(i|0))break;else f=a}if((n|0)>0&(a|0)!=1)a=0;else return;do{k[b+(a<<2)>>2]=k[o+(a<<2)>>2];a=a+1|0}while((a|0)!=(n|0));return}function c4a(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,q=0,r=0,s=0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0,I=0;n=ha(b,a)|0;if((b|0)>0){h=0;i=n;j=n*3|0;k=0;l=n<<1;while(1){p=c+(i<<2)|0;q=c+(j<<2)|0;t=+o[p>>2]+ +o[q>>2];s=c+(k<<2)|0;r=c+(l<<2)|0;u=+o[s>>2]+ +o[r>>2];m=k<<2;o[d+(m<<2)>>2]=t+u;o[d+((a<<2)+-1+m<<2)>>2]=u-t;o[d+(m+(a<<1)+-1<<2)>>2]=+o[s>>2]-+o[r>>2];o[d+(m+(a<<1)<<2)>>2]=+o[q>>2]-+o[p>>2];h=h+1|0;if((h|0)==(b|0))break;else{i=i+a|0;j=j+a|0;k=k+a|0;l=l+a|0}}}if((a|0)<2)return;if((a|0)!=2){if((b|0)>0){i=0;j=0;while(1){m=j<<2;h=2;k=j;l=m;m=m+(a<<1)|0;do{q=k;k=k+2|0;r=l;l=l+2|0;s=m;m=m+-2|0;p=k+n|0;I=h+-2|0;F=+o[e+(I<<2)>>2];D=+o[c+(p+-1<<2)>>2];H=h+-1|0;C=+o[e+(H<<2)>>2];E=+o[c+(p<<2)>>2];x=+o[f+(I<<2)>>2];v=+o[c+(p+n+-1<<2)>>2];t=+o[f+(H<<2)>>2];w=+o[c+(p+n<<2)>>2];B=+o[g+(I<<2)>>2];z=+o[c+(p+n+n+-1<<2)>>2];y=+o[g+(H<<2)>>2];A=+o[c+(p+n+n<<2)>>2];u=+o[c+(k<<2)>>2];G=+o[c+(q+1<<2)>>2];o[d+((r|1)<<2)>>2]=F*D+C*E+(B*z+y*A)+(x*v+t*w+G);o[d+(l<<2)>>2]=x*w-v*t+u+(F*E-D*C+(B*A-z*y));o[d+(s+-3<<2)>>2]=G-(x*v+t*w)-(F*E-D*C-(B*A-z*y));o[d+(m<<2)>>2]=B*z+y*A-(F*D+C*E)-(u-(x*w-v*t));s=l+(a<<1)|0;o[d+(s+-1<<2)>>2]=F*E-D*C-(B*A-z*y)+(G-(x*v+t*w));o[d+(s<<2)>>2]=u-(x*w-v*t)+(B*z+y*A-(F*D+C*E));s=m+(a<<1)|0;o[d+(s+-1<<2)>>2]=x*v+t*w+G-(F*D+C*E+(B*z+y*A));o[d+(s<<2)>>2]=F*E-D*C+(B*A-z*y)-(x*w-v*t+u);h=h+2|0}while((h|0)<(a|0));i=i+1|0;if((i|0)==(b|0))break;else j=j+a|0}}if(a&1|0)return}if((b|0)<=0)return;h=0;i=a+-1+n|0;j=a+-1+n+(n<<1)|0;k=a;l=a;while(1){F=+o[c+(i<<2)>>2];G=+o[c+(j<<2)>>2];H=c+(l+-1<<2)|0;o[d+(k+-1<<2)>>2]=+o[H>>2]+(F-G)*.7071067690849304;I=k+(a<<1)|0;o[d+(I+-1<<2)>>2]=+o[H>>2]-(F-G)*.7071067690849304;H=c+(i+n<<2)|0;o[d+(k<<2)>>2]=(F+G)*-.7071067690849304-+o[H>>2];o[d+(I<<2)>>2]=(F+G)*-.7071067690849304+ +o[H>>2];h=h+1|0;if((h|0)==(b|0))break;else{i=i+a|0;j=j+a|0;k=k+(a<<2)|0;l=l+a|0}}return}function d4a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,p=0,q=0,r=0.0,s=0.0,t=0.0,u=0.0,v=0,w=0,x=0;p=ha(b,a)|0;if((b|0)>0){f=0;g=0;h=p;while(1){l=c+(g<<2)|0;m=c+(h<<2)|0;n=g<<1;o[d+(n<<2)>>2]=+o[l>>2]+ +o[m>>2];o[d+((a<<1)+-1+n<<2)>>2]=+o[l>>2]-+o[m>>2];f=f+1|0;if((f|0)==(b|0))break;else{g=g+a|0;h=h+a|0}}}if((a|0)<2)return;if((a|0)!=2){if((b|0)>0){g=0;h=0;i=p;while(1){n=h<<1;f=2;j=i;l=n+(a<<1)|0;m=h;do{x=j;j=j+2|0;q=l;l=l+-2|0;v=m;m=m+2|0;w=n;n=n+2|0;u=+o[e+(f+-2<<2)>>2];t=+o[c+(x+1<<2)>>2];s=+o[e+(f+-1<<2)>>2];r=+o[c+(j<<2)>>2];x=c+(m<<2)|0;o[d+(n<<2)>>2]=+o[x>>2]+(u*r-t*s);o[d+(l<<2)>>2]=u*r-t*s-+o[x>>2];o[d+((w|1)<<2)>>2]=u*t+s*r+ +o[c+(v+1<<2)>>2];o[d+(q+-3<<2)>>2]=+o[c+(v+1<<2)>>2]-(u*t+s*r);f=f+2|0}while((f|0)<(a|0));g=g+1|0;if((g|0)==(b|0))break;else{h=h+a|0;i=i+a|0}}}if(((a|0)%2|0|0)==1)return}if((b|0)<=0)return;h=0;i=a;f=p+(a+-1)|0;g=a+-1|0;while(1){o[d+(i<<2)>>2]=-+o[c+(f<<2)>>2];k[d+(i+-1<<2)>>2]=k[c+(g<<2)>>2];h=h+1|0;if((h|0)==(b|0))break;else{i=i+(a<<1)|0;f=f+a|0;g=g+a|0}}return}function e4a(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var l=0,m=0,n=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0.0,x=0.0,y=0.0,z=0.0,A=0,B=0.0,C=0.0,D=0,E=0,F=0,G=0,H=0.0;B=+Z(+(6.2831854820251465/+(b|0)));C=+_(+(6.2831854820251465/+(b|0)));D=ha(c,a)|0;E=ha(b,a)|0;do if((a|0)!=1){if((d|0)>0){l=0;do{k[i+(l<<2)>>2]=k[g+(l<<2)>>2];l=l+1|0}while((l|0)!=(d|0))}if((b|0)>1&(c|0)>0){l=1;n=0;do{n=n+D|0;m=0;p=n;while(1){k[h+(p<<2)>>2]=k[f+(p<<2)>>2];m=m+1|0;if((m|0)==(c|0))break;else p=p+a|0}l=l+1|0}while((l|0)!=(b|0))}if((a+-1>>1|0)>(c|0)){if((b|0)>1){p=0-a|0;q=1;s=0;do{s=s+D|0;p=p+a|0;if((c|0)>0){l=p+-1|0;if((a|0)>2){r=0;t=s-a|0;do{t=t+a|0;m=2;n=l;u=t;do{G=n;n=n+2|0;A=u+1|0;u=u+2|0;v=j+(n<<2)|0;F=f+(u<<2)|0;o[h+(A<<2)>>2]=+o[j+(G+1<<2)>>2]*+o[f+(A<<2)>>2]+ +o[v>>2]*+o[F>>2];o[h+(u<<2)>>2]=+o[j+(G+1<<2)>>2]*+o[F>>2]-+o[v>>2]*+o[f+(A<<2)>>2];m=m+2|0}while((m|0)<(a|0));r=r+1|0}while((r|0)!=(c|0))}}q=q+1|0}while((q|0)!=(b|0))}}else if((b|0)>1){q=0-a|0;r=1;t=0;do{q=q+a|0;t=t+D|0;if(!((a|0)<3|(c|0)<1)){m=2;n=q+-1|0;u=t;do{p=n;n=n+2|0;u=u+2|0;l=j+(n<<2)|0;s=0;v=u;while(1){G=v+-1|0;F=f+(v<<2)|0;o[h+(G<<2)>>2]=+o[j+(p+1<<2)>>2]*+o[f+(G<<2)>>2]+ +o[l>>2]*+o[F>>2];o[h+(v<<2)>>2]=+o[j+(p+1<<2)>>2]*+o[F>>2]-+o[l>>2]*+o[f+(G<<2)>>2];s=s+1|0;if((s|0)==(c|0))break;else v=v+a|0}m=m+2|0}while((m|0)<(a|0))}r=r+1|0}while((r|0)!=(b|0))}l=ha(D,b)|0;if((a+-1>>1|0)<(c|0)){if((b+1>>1|0)<=1)break;t=1;u=0;do{u=u+D|0;l=l-D|0;if(!((a|0)<3|(c|0)<1)){m=2;p=u;q=l;do{p=p+2|0;q=q+2|0;n=0;r=p-a|0;s=q-a|0;do{r=r+a|0;s=s+a|0;G=r+-1|0;F=s+-1|0;o[f+(G<<2)>>2]=+o[h+(G<<2)>>2]+ +o[h+(F<<2)>>2];j=h+(r<<2)|0;A=h+(s<<2)|0;o[f+(F<<2)>>2]=+o[j>>2]-+o[A>>2];o[f+(r<<2)>>2]=+o[j>>2]+ +o[A>>2];o[f+(s<<2)>>2]=+o[h+(F<<2)>>2]-+o[h+(G<<2)>>2];n=n+1|0}while((n|0)!=(c|0));m=m+2|0}while((m|0)<(a|0))}t=t+1|0}while((t|0)!=(b+1>>1|0))}else{if((b+1>>1|0)<=1)break;t=1;u=0;do{u=u+D|0;l=l-D|0;if(!((c|0)<1|(a|0)<3)){n=0;p=u;q=l;while(1){m=2;r=p;s=q;do{G=r;r=r+2|0;F=s+1|0;s=s+2|0;o[f+(G+1<<2)>>2]=+o[h+(G+1<<2)>>2]+ +o[h+(F<<2)>>2];j=h+(r<<2)|0;A=h+(s<<2)|0;o[f+(F<<2)>>2]=+o[j>>2]-+o[A>>2];o[f+(r<<2)>>2]=+o[j>>2]+ +o[A>>2];o[f+(s<<2)>>2]=+o[h+(F<<2)>>2]-+o[h+(G+1<<2)>>2];m=m+2|0}while((m|0)<(a|0));n=n+1|0;if((n|0)==(c|0))break;else{p=p+a|0;q=q+a|0}}}t=t+1|0}while((t|0)!=(b+1>>1|0))}}while(0);if((d|0)>0){l=0;do{k[g+(l<<2)>>2]=k[i+(l<<2)>>2];l=l+1|0}while((l|0)!=(d|0))}s=ha(d,b)|0;A=(b+1>>1|0)>1;do if(A){if((c|0)>0){l=1;n=0;p=s;do{n=n+D|0;p=p-D|0;m=0;q=n-a|0;r=p-a|0;do{q=q+a|0;r=r+a|0;G=h+(q<<2)|0;F=h+(r<<2)|0;o[f+(q<<2)>>2]=+o[G>>2]+ +o[F>>2];o[f+(r<<2)>>2]=+o[F>>2]-+o[G>>2];m=m+1|0}while((m|0)!=(c|0));l=l+1|0}while((l|0)!=(b+1>>1|0));if(!A)break}v=ha(b+-1|0,d)|0;y=0.0;z=1.0;j=1;f=0;do{f=f+d|0;s=s-d|0;x=z;z=B*z-C*y;y=B*y+C*x;if((d|0)>0){l=0;m=f;n=s;p=v;q=d;while(1){o[i+(m<<2)>>2]=+o[g+(l<<2)>>2]+z*+o[g+(q<<2)>>2];o[i+(n<<2)>>2]=y*+o[g+(p<<2)>>2];l=l+1|0;if((l|0)==(d|0))break;else{m=m+1|0;n=n+1|0;p=p+1|0;q=q+1|0}}}if(!((b+1>>1|0)<3|(d|0)>0^1)){w=y;x=z;m=2;n=d;p=v;do{n=n+d|0;p=p-d|0;H=x;x=z*x-y*w;w=z*w+y*H;l=0;q=f;r=s;t=n;u=p;while(1){G=i+(q<<2)|0;o[G>>2]=+o[G>>2]+x*+o[g+(t<<2)>>2];G=i+(r<<2)|0;o[G>>2]=+o[G>>2]+w*+o[g+(u<<2)>>2];l=l+1|0;if((l|0)==(d|0))break;else{q=q+1|0;r=r+1|0;t=t+1|0;u=u+1|0}}m=m+1|0}while((m|0)!=(b+1>>1|0))}j=j+1|0}while((j|0)!=(b+1>>1|0));if(A&(d|0)>0){m=1;n=0;do{n=n+d|0;l=0;p=n;while(1){G=i+(l<<2)|0;o[G>>2]=+o[g+(p<<2)>>2]+ +o[G>>2];l=l+1|0;if((l|0)==(d|0))break;else p=p+1|0}m=m+1|0}while((m|0)!=(b+1>>1|0))}}while(0);if((a|0)<(c|0)){if((a|0)>0&(c|0)>0){l=0;do{m=0;n=l;p=l;while(1){k[e+(p<<2)>>2]=k[h+(n<<2)>>2];m=m+1|0;if((m|0)==(c|0))break;else{n=n+a|0;p=p+E|0}}l=l+1|0}while((l|0)!=(a|0))}}else if((c|0)>0&(a|0)>0){m=0;n=0;p=0;while(1){l=0;q=n;r=p;while(1){k[e+(r<<2)>>2]=k[h+(q<<2)>>2];l=l+1|0;if((l|0)==(a|0))break;else{q=q+1|0;r=r+1|0}}m=m+1|0;if((m|0)==(c|0))break;else{n=n+a|0;p=p+E|0}}}g=ha(D,b)|0;if(A&(c|0)>0){l=1;n=0;p=0;q=g;do{n=n+(a<<1)|0;p=p+D|0;q=q-D|0;m=0;r=n;s=p;t=q;while(1){k[e+(r+-1<<2)>>2]=k[h+(s<<2)>>2];k[e+(r<<2)>>2]=k[h+(t<<2)>>2];m=m+1|0;if((m|0)==(c|0))break;else{r=r+E|0;s=s+a|0;t=t+a|0}}l=l+1|0}while((l|0)!=(b+1>>1|0))}if((a|0)==1)return;if((a+-1>>1|0)>=(c|0)){if(!A)return;t=1;u=0-a|0;v=0;j=0;n=g;do{u=u+(a<<1)|0;v=v+(a<<1)|0;j=j+D|0;n=n-D|0;if(!((c|0)<1|(a|0)<3)){m=0;p=u;q=v;r=j;s=n;while(1){l=2;do{F=l+r|0;d=l+s|0;i=l+q|0;o[e+(i+-1<<2)>>2]=+o[h+(F+-1<<2)>>2]+ +o[h+(d+-1<<2)>>2];G=a-l+p|0;o[e+(G+-1<<2)>>2]=+o[h+(F+-1<<2)>>2]-+o[h+(d+-1<<2)>>2];o[e+(i<<2)>>2]=+o[h+(F<<2)>>2]+ +o[h+(d<<2)>>2];o[e+(G<<2)>>2]=+o[h+(d<<2)>>2]-+o[h+(F<<2)>>2];l=l+2|0}while((l|0)<(a|0));m=m+1|0;if((m|0)==(c|0))break;else{p=p+E|0;q=q+E|0;r=r+a|0;s=s+a|0}}}t=t+1|0}while((t|0)!=(b+1>>1|0));return}if(!A)return;u=1;v=0-a|0;j=0;f=0;p=g;do{v=v+(a<<1)|0;j=j+(a<<1)|0;f=f+D|0;p=p-D|0;if((a|0)>2){l=v+a|0;if((c|0)>0){m=2;do{n=0;q=l-m|0;r=m+j|0;s=m+f|0;t=m+p|0;while(1){F=h+(s+-1<<2)|0;G=h+(t+-1<<2)|0;o[e+(r+-1<<2)>>2]=+o[F>>2]+ +o[G>>2];o[e+(q+-1<<2)>>2]=+o[F>>2]-+o[G>>2];G=h+(s<<2)|0;F=h+(t<<2)|0;o[e+(r<<2)>>2]=+o[G>>2]+ +o[F>>2];o[e+(q<<2)>>2]=+o[F>>2]-+o[G>>2];n=n+1|0;if((n|0)==(c|0))break;else{q=q+E|0;r=r+E|0;s=s+a|0;t=t+a|0}}m=m+2|0}while((m|0)<(a|0))}}u=u+1|0}while((u|0)!=(b+1>>1|0));return}function f4a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;g=r;e=k[a>>2]|0;f=r;r=r+((1*(e<<2)|0)+15&-16)|0;g4a(e,k[a+24>>2]|0,b,c,140.0,-1);if((e|0)>0){d=0;do{o[f+(d<<2)>>2]=+o[b+(d<<2)>>2]-+o[c+(d<<2)>>2];d=d+1|0}while((d|0)!=(e|0))}g4a(e,k[a+24>>2]|0,f,c,0.0,k[(k[a+4>>2]|0)+128>>2]|0);if((e|0)>0)d=0;else{r=g;return}do{h=f+(d<<2)|0;o[h>>2]=+o[b+(d<<2)>>2]-+o[h>>2];d=d+1|0}while((d|0)!=(e|0));if((e|0)<=0){r=g;return}d=k[a+4>>2]|0;b=0;do{h=c+(b<<2)|0;a=~~(+o[h>>2]+.5);a=(a|0)>39?39:a;o[h>>2]=+o[f+(b<<2)>>2]+ +o[d+336+(((a|0)<0?0:a)<<2)>>2];b=b+1|0}while((b|0)!=(e|0));r=g;return}function g4a(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;f=f|0;var g=0.0,h=0.0,i=0,j=0.0,l=0.0,m=0.0,n=0.0,p=0,q=0,s=0.0,t=0.0,u=0,v=0,w=0,x=0,y=0,z=0;z=r;u=r;r=r+((1*(a<<2)|0)+15&-16)|0;v=r;r=r+((1*(a<<2)|0)+15&-16)|0;w=r;r=r+((1*(a<<2)|0)+15&-16)|0;x=r;r=r+((1*(a<<2)|0)+15&-16)|0;y=r;r=r+((1*(a<<2)|0)+15&-16)|0;h=+o[c>>2]+e;h=h<1.0?1.0:h;g=h*h*.5+0.0;o[u>>2]=g;o[v>>2]=g;o[w>>2]=0.0;o[x>>2]=h*(h*h*.5)+0.0;o[y>>2]=0.0;if((a|0)>1){i=1;n=g;j=g;l=0.0;m=0.0;g=h*(h*h*.5)+0.0;h=1.0;while(1){s=+o[c+(i<<2)>>2]+e;s=s<1.0?1.0:s;n=n+s*s;t=h*(s*s);j=j+t;l=l+h*t;g=g+s*(s*s);m=m+s*t;o[u+(i<<2)>>2]=n;o[v+(i<<2)>>2]=j;o[w+(i<<2)>>2]=l;o[x+(i<<2)>>2]=g;o[y+(i<<2)>>2]=m;i=i+1|0;if((i|0)==(a|0))break;else h=h+1.0}}c=k[b>>2]|0;if((c>>16|0)>-1){t=0.0;l=0.0;j=1.0;p=0;g=0.0}else{i=c;q=c>>16;c=0;g=0.0;while(1){i=i&65535;p=0-q|0;m=+o[u+(i<<2)>>2]+ +o[u+(p<<2)>>2];n=+o[v+(i<<2)>>2]-+o[v+(p<<2)>>2];s=+o[w+(i<<2)>>2]+ +o[w+(p<<2)>>2];h=+o[x+(i<<2)>>2]+ +o[x+(p<<2)>>2];j=+o[y+(i<<2)>>2]-+o[y+(p<<2)>>2];t=(s*h-n*j+g*(m*j-n*h))/(m*s-n*n);o[d+(c<<2)>>2]=(t<0.0?0.0:t)-e;p=c+1|0;g=g+1.0;c=k[b+(p<<2)>>2]|0;q=c>>16;if((q|0)>-1){t=s*h-n*j;l=m*j-n*h;j=m*s-n*n;break}else{i=c;c=p}}}i=c&65535;if((i|0)<(a|0)){do{q=c>>16;s=+o[u+(i<<2)>>2]-+o[u+(q<<2)>>2];m=+o[v+(i<<2)>>2]-+o[v+(q<<2)>>2];n=+o[w+(i<<2)>>2]-+o[w+(q<<2)>>2];h=+o[x+(i<<2)>>2]-+o[x+(q<<2)>>2];j=+o[y+(i<<2)>>2]-+o[y+(q<<2)>>2];t=(n*h-m*j+g*(s*j-m*h))/(s*n-m*m);o[d+(p<<2)>>2]=(t<0.0?0.0:t)-e;p=p+1|0;g=g+1.0;c=k[b+(p<<2)>>2]|0;i=c&65535}while((i|0)<(a|0));t=n*h-m*j;l=s*j-m*h;j=s*n-m*m;c=p}else c=p;if((c|0)<(a|0))while(1){s=(t+l*g)/j;o[d+(c<<2)>>2]=(s<0.0?0.0:s)-e;c=c+1|0;if((c|0)==(a|0))break;else g=g+1.0}if((f|0)<1){r=z;return}if((((f|0)/2|0)-f|0)>-1){h=t;c=0;g=0.0}else{i=(f|0)/2|0;c=((f|0)/2|0)-f|0;p=0;g=0.0;while(1){c=0-c|0;m=+o[u+(i<<2)>>2]+ +o[u+(c<<2)>>2];n=+o[v+(i<<2)>>2]-+o[v+(c<<2)>>2];s=+o[w+(i<<2)>>2]+ +o[w+(c<<2)>>2];l=+o[x+(i<<2)>>2]+ +o[x+(c<<2)>>2];j=+o[y+(i<<2)>>2]-+o[y+(c<<2)>>2];h=(s*l-n*j+g*(m*j-n*l))/(m*s-n*n)-e;c=d+(p<<2)|0;if(h<+o[c>>2])o[c>>2]=h;p=p+1|0;g=g+1.0;c=p+((f|0)/2|0)|0;if((p|0)==(f-((f|0)/2|0)|0)){h=s*l-n*j;l=m*j-n*l;j=m*s-n*n;c=f-((f|0)/2|0)|0;break}else{i=c;c=c-f|0}}}i=c+((f|0)/2|0)|0;if((i|0)<(a|0))while(1){b=i-f|0;m=+o[u+(i<<2)>>2]-+o[u+(b<<2)>>2];n=+o[v+(i<<2)>>2]-+o[v+(b<<2)>>2];s=+o[w+(i<<2)>>2]-+o[w+(b<<2)>>2];l=+o[x+(i<<2)>>2]-+o[x+(b<<2)>>2];j=+o[y+(i<<2)>>2]-+o[y+(b<<2)>>2];h=(s*l-n*j+g*(m*j-n*l))/(m*s-n*n)-e;i=d+(c<<2)|0;if(h<+o[i>>2])o[i>>2]=h;c=c+1|0;g=g+1.0;if((c|0)==(a-((f|0)/2|0)|0)){t=s*l-n*j;l=m*j-n*l;j=m*s-n*n;c=a-((f|0)/2|0)|0;break}else i=c+((f|0)/2|0)|0}else t=h;if((c|0)<(a|0))i=c;else{r=z;return}while(1){h=(t+l*g)/j-e;c=d+(i<<2)|0;if(h<+o[c>>2])o[c>>2]=h;i=i+1|0;if((i|0)==(a|0))break;else g=g+1.0}r=z;return}function h4a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=+d;e=+e;var f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,p=0,q=0.0,s=0,t=0,u=0,v=0,w=0,x=0;x=r;u=k[a>>2]|0;g=k[a+40>>2]|0;w=r;r=r+((1*(g<<2)|0)+15&-16)|0;h=k[a+4>>2]|0;e=+o[h+4>>2]+e;if((g|0)>0){f=0;do{o[w+(f<<2)>>2]=-9999.0;f=f+1|0}while((f|0)<(g|0))}q=+o[h+8>>2];e=e0){f=k[a+16>>2]|0;g=0;do{o[c+(g<<2)>>2]=e+ +o[f+(g<<2)>>2];g=g+1|0}while((g|0)!=(u|0));t=k[a+8>>2]|0;q=+o[h+496>>2]-d;if((u|0)>0){s=k[a+20>>2]|0;f=0;while(1){h=k[s+(f<<2)>>2]|0;g=f;d=+o[b+(f<<2)>>2];a:while(1)while(1){f=g+1|0;if((f|0)>=(u|0)){p=0;break a}if((k[s+(f<<2)>>2]|0)!=(h|0)){p=1;break a}e=+o[b+(f<<2)>>2];if(e>d){g=f;d=e;continue a}else g=f}if(d+6.0>+o[c+(g<<2)>>2]){m=h>>k[a+32>>2];m=(m|0)>16?16:m;i=k[a+40>>2]|0;j=k[a+36>>2]|0;l=~~((q+d+-30.0)*.10000000149011612);l=(l|0)<0?0:l;l=k[(k[t+(((m|0)<0?0:m)<<2)>>2]|0)+(((l|0)>7?7:l)<<2)>>2]|0;m=~~+o[l+4>>2];e=+o[l>>2];if((~~e|0)<(m|0)){n=~~e;h=~~(+(j|0)*(e+-16.0)+ +((k[s+(g<<2)>>2]|0)-(k[a+28>>2]|0)|0)-+(j>>1|0));do{if((h|0)>0){e=d+ +o[l+8+(n<<2)>>2];g=w+(h<<2)|0;if(+o[g>>2]>2]=e}h=h+j|0;n=n+1|0}while((n|0)<(m|0)&(h|0)<(i|0))}}if(!p){p=a+20|0;f=a+36|0;break}}}else v=7}else v=7;if((v|0)==7){p=a+20|0;f=a+36|0}h=k[f>>2]|0;i4a(w,h,k[a+40>>2]|0);s=k[a>>2]|0;b:do if((s|0)>1){l=k[p>>2]|0;v=k[l>>2]|0;m=k[a+28>>2]|0;n=(k[a+4>>2]|0)+32|0;f=1;i=v;g=0;h=v-(h>>1)-m|0;while(1){e=+o[w+(h<<2)>>2];i=((k[l+(f<<2)>>2]|0)+i>>1)-m|0;q=+o[n>>2];e=e>q?q:e;c:do if((h|0)<(i|0)){f=h;d=e;while(1){f=f+1|0;d:do if(d==-9999.0){h=f;e=+o[w+(f<<2)>>2]}else while(1){e=+o[w+(f<<2)>>2];if(e>-9999.0&e>2]|0;do{if((k[j+(g<<2)>>2]|0)>(i|0))break e;f=c+(g<<2)|0;if(+o[f>>2]>2]=e;g=g+1|0}while((g|0)<(s|0))}while(0);f=g+1|0;if((f|0)>=(s|0))break b;i=k[l+(g<<2)>>2]|0}}else g=0;while(0);e=+o[w+((k[a+40>>2]|0)+-1<<2)>>2];if((g|0)>=(s|0)){r=x;return}do{f=c+(g<<2)|0;if(+o[f>>2]>2]=e;g=g+1|0}while((g|0)!=(s|0));r=x;return}function i4a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0.0,g=0,h=0,i=0.0,j=0,l=0,m=0,n=0,p=0,q=0;q=r;n=r;r=r+((1*(c<<2)|0)+15&-16)|0;p=r;r=r+((1*(c<<2)|0)+15&-16)|0;if((c|0)>0){h=0;d=0}else{r=q;return}while(1){do if((d|0)<2){k[n+(d<<2)>>2]=h;k[p+(d<<2)>>2]=k[a+(h<<2)>>2]}else{i=+o[a+(h<<2)>>2];while(1){e=d+-1|0;f=+o[p+(e<<2)>>2];if(i1?(h|0)<((k[n+(e<<2)>>2]|0)+b|0):0)){m=12;break}g=d+-2|0;if(!(f<=+o[p+(g<<2)>>2])){m=12;break}if((h|0)<((k[n+(g<<2)>>2]|0)+b|0))d=e;else{m=12;break}}if((m|0)==8){m=0;k[n+(d<<2)>>2]=h;o[p+(d<<2)>>2]=i;break}else if((m|0)==12){m=0;k[n+(d<<2)>>2]=h;o[p+(d<<2)>>2]=i;break}}while(0);l=d+1|0;h=h+1|0;if((h|0)==(c|0))break;else d=l}if((d|0)<=-1){r=q;return}j=0;g=0;while(1){if((j|0)<(d|0)){e=j+1|0;if(+o[p+(e<<2)>>2]>+o[p+(j<<2)>>2])e=k[n+(e<<2)>>2]|0;else m=17}else m=17;if((m|0)==17){m=0;e=b+1+(k[n+(j<<2)>>2]|0)|0}e=(e|0)>(c|0)?c:e;if((g|0)<(e|0)){h=k[p+(j<<2)>>2]|0;do{k[a+(g<<2)>>2]=h;g=g+1|0}while((g|0)<(e|0))}else e=g;j=j+1|0;if((j|0)==(l|0))break;else g=e}r=q;return}function j4a(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0.0,i=0.0,j=0,l=0,m=0,n=0.0,p=0.0;j=k[a>>2]|0;m=k[a+4>>2]|0;n=+o[m+12+(d<<2)>>2];if((j|0)<=0)return;l=k[(k[a+12>>2]|0)+(d<<2)>>2]|0;i=+o[a+48>>2];if((d|0)==1)a=0;else{a=0;do{i=+o[b+(a<<2)>>2]+ +o[l+(a<<2)>>2];h=+o[m+108>>2];i=i>h?h:i;h=n+ +o[c+(a<<2)>>2];o[e+(a<<2)>>2]=i>2]+ +o[l+(a<<2)>>2];p=+o[m+108>>2];h=h>p?p:h;p=n+ +o[c+(a<<2)>>2];o[e+(a<<2)>>2]=h>2];if(h>-17.200000762939453)if(1.0-i*((h+17.200000762939453)*.005)<0.0)h=9.999999747378752e-05;else h=1.0-i*((h+17.200000762939453)*.005);else h=1.0-i*((h+17.200000762939453)*.0003);d=f+(a<<2)|0;o[d>>2]=h*+o[d>>2];a=a+1|0}while((a|0)!=(j|0));return}function k4a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0.0,l=0.0,m=0,n=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0.0;K=r;r=r+4912|0;I=k[b+1296>>2]|0;F=k[b+1288>>2]|0;J=k[b+1284>>2]|0;if((J|0)>0){f=0;do{k[K+1064+(f<<2)>>2]=-200;f=f+1|0}while((f|0)!=(J|0));if((J|0)>0){f=0;do{k[K+804+(f<<2)>>2]=-200;f=f+1|0}while((f|0)!=(J|0));if((J|0)>0){vBb(K+544|0,0,J<<2|0)|0;f=0;do{k[K+284+(f<<2)>>2]=1;f=f+1|0}while((f|0)!=(J|0));if((J|0)>0){vBb(K+24|0,-1,J<<2|0)|0;if((J|0)<=1){b=0;r=K;return b|0}D=k[b>>2]|0;E=0;f=0;do{C=E;E=E+1|0;i=D;D=k[b+(E<<2)>>2]|0;g=K+1328+(C*56|0)|0;h=g+56|0;do{k[g>>2]=0;g=g+4|0}while((g|0)<(h|0));k[K+1328+(C*56|0)>>2]=i;k[K+1328+(C*56|0)+4>>2]=D;B=(D|0)<(F|0)?D:F+-1|0;if((B|0)<(i|0)){w=0;v=0;u=0;t=0;s=0;q=0;p=0;n=0;m=0;i=0;h=0;g=0}else{w=0;v=0;u=0;t=0;s=0;q=0;p=0;n=0;m=0;A=0;h=0;g=0;while(1){j=+o[d+(i<<2)>>2];x=(~~(j*7.314285755157471+1023.5)|0)>1023;y=(~~(j*7.314285755157471+1023.5)|0)<0;z=x?1023:y?0:~~(j*7.314285755157471+1023.5);do if(z)if(!(+o[c+(i<<2)>>2]+ +o[I+1112>>2]>=j)){t=(ha(i,i)|0)+t|0;L=ha(~~(j*7.314285755157471+1023.5),~~(j*7.314285755157471+1023.5))|0;v=v+1|0;q=i+q|0;n=(ha(z,i)|0)+n|0;A=(x?1046529:y?0:L)+A|0;g=z+g|0;break}else{u=(ha(i,i)|0)+u|0;L=ha(~~(j*7.314285755157471+1023.5),~~(j*7.314285755157471+1023.5))|0;w=w+1|0;s=i+s|0;p=(ha(z,i)|0)+p|0;m=(x?1046529:y?0:L)+m|0;h=z+h|0;break}while(0);if((i|0)<(B|0))i=i+1|0;else{i=A;break}}}k[K+1328+(C*56|0)+8>>2]=s;k[K+1328+(C*56|0)+12>>2]=h;k[K+1328+(C*56|0)+16>>2]=u;k[K+1328+(C*56|0)+20>>2]=m;k[K+1328+(C*56|0)+24>>2]=p;k[K+1328+(C*56|0)+28>>2]=w;k[K+1328+(C*56|0)+32>>2]=q;k[K+1328+(C*56|0)+36>>2]=g;k[K+1328+(C*56|0)+40>>2]=t;k[K+1328+(C*56|0)+44>>2]=i;k[K+1328+(C*56|0)+48>>2]=n;k[K+1328+(C*56|0)+52>>2]=v;f=w+f|0}while((E|0)!=(J+-1|0))}else G=9}else G=9}else G=9}else G=9;if((G|0)==9){if(J|0){L=0;r=K;return L|0}g=K+1328|0;h=g+56|0;do{k[g>>2]=0;g=g+4|0}while((g|0)<(h|0));k[K+1328+4>>2]=F;if((F|0)<1){f=0;v=0;u=0;t=0;s=0;q=0;p=0;n=0;m=0;i=0;h=0;g=0}else{z=0;f=0;v=0;u=0;t=0;s=0;q=0;p=0;n=0;m=0;i=0;h=0;g=0;do{j=+o[d+(z<<2)>>2];w=(~~(j*7.314285755157471+1023.5)|0)>1023;x=(~~(j*7.314285755157471+1023.5)|0)<0;y=w?1023:x?0:~~(j*7.314285755157471+1023.5);do if(y)if(!(+o[c+(z<<2)>>2]+ +o[I+1112>>2]>=j)){t=(ha(z,z)|0)+t|0;L=ha(~~(j*7.314285755157471+1023.5),~~(j*7.314285755157471+1023.5))|0;v=v+1|0;q=z+q|0;n=(ha(y,z)|0)+n|0;i=(w?1046529:x?0:L)+i|0;g=y+g|0;break}else{u=(ha(z,z)|0)+u|0;L=ha(~~(j*7.314285755157471+1023.5),~~(j*7.314285755157471+1023.5))|0;f=f+1|0;s=z+s|0;p=(ha(y,z)|0)+p|0;m=(w?1046529:x?0:L)+m|0;h=y+h|0;break}while(0);z=z+1|0}while((z|0)!=(F|0))}k[K+1328+8>>2]=s;k[K+1328+12>>2]=h;k[K+1328+16>>2]=u;k[K+1328+20>>2]=m;k[K+1328+24>>2]=p;k[K+1328+28>>2]=f;k[K+1328+32>>2]=q;k[K+1328+36>>2]=g;k[K+1328+40>>2]=t;k[K+1328+44>>2]=i;k[K+1328+48>>2]=n;k[K+1328+52>>2]=v}if(!f){L=0;r=K;return L|0}k[K+20>>2]=-200;k[K+16>>2]=-200;l4a(K+1328|0,J+-1|0,K+20|0,K+16|0,I)|0;f=k[K+20>>2]|0;k[K+1064>>2]=f;k[K+804>>2]=f;L=k[K+16>>2]|0;k[K+804+4>>2]=L;k[K+1064+4>>2]=L;do if((J|0)>2){B=2;a:while(1){y=k[b+520+(B<<2)>>2]|0;A=k[K+544+(y<<2)>>2]|0;z=k[K+284+(y<<2)>>2]|0;b:do if((k[K+24+(A<<2)>>2]|0)!=(z|0)){w=k[b+520+(A<<2)>>2]|0;x=k[b+520+(z<<2)>>2]|0;k[K+24+(A<<2)>>2]=z;s=k[I+836+(A<<2)>>2]|0;t=k[I+836+(z<<2)>>2]|0;f=k[K+1064+(A<<2)>>2]|0;g=k[K+804+(A<<2)>>2]|0;if((f|0)<0)v=g;else if((g|0)<0)v=f;else v=g+f>>1;f=k[K+1064+(z<<2)>>2]|0;g=k[K+804+(z<<2)>>2]|0;if((f|0)<0)u=g;else if((g|0)<0)u=f;else u=g+f>>1;if((v|0)==-1|(u|0)==-1){G=38;break a}p=u-v|0;j=+o[d+(s<<2)>>2];f=(~~(j*7.314285755157471+1023.5)|0)>1023?1023:(~~(j*7.314285755157471+1023.5)|0)<0?0:~~(j*7.314285755157471+1023.5);q=ha((p|0)/(t-s|0)|0,t-s|0)|0;q=((p|0)>-1?p:0-p|0)-((q|0)>-1?q:0-q|0)|0;g=v-f|0;g=ha(g,g)|0;l=+o[I+1112>>2];if(!(+o[c+(s<<2)>>2]+l>=j))G=42;else{j=+(v|0);if(!(j+ +o[I+1096>>2]<+(f|0)))if(!(j-+o[I+1100>>2]>+(f|0)))G=42}c:do if((G|0)==42){G=0;if((s+1|0)<(t|0)){m=s+1|0;n=0;f=1;i=v;do{h=n+q|0;n=h-((h|0)<(t-s|0)?0:t-s|0)|0;i=i+((p|0)/(t-s|0)|0)+((h|0)<(t-s|0)?0:p>>31|1)|0;j=+o[d+(m<<2)>>2];h=(~~(j*7.314285755157471+1023.5)|0)>1023?1023:(~~(j*7.314285755157471+1023.5)|0)<0?0:~~(j*7.314285755157471+1023.5);L=i-h|0;g=(ha(L,L)|0)+g|0;f=f+1|0;if(h|0?l+ +o[c+(m<<2)>>2]>=j:0){j=+(i|0);if(j+ +o[I+1096>>2]<+(h|0))break c;if(j-+o[I+1100>>2]>+(h|0))break c}m=m+1|0}while((m|0)<(t|0))}else f=1;M=+o[I+1096>>2];j=+(f|0);l=+o[I+1104>>2];if(!(M*M/j>l)){M=+o[I+1100>>2];if(!(M*M/j>l))if(+((g|0)/(f|0)|0|0)>l)break}k[K+1064+(B<<2)>>2]=-200;k[K+804+(B<<2)>>2]=-200;break b}while(0);k[K+12>>2]=-200;k[K+8>>2]=-200;k[K+4>>2]=-200;k[K>>2]=-200;g=l4a(K+1328+(w*56|0)|0,y-w|0,K+12|0,K+8|0,I)|0;f=l4a(K+1328+(y*56|0)|0,x-y|0,K+4|0,K,I)|0;if(g|0){k[K+12>>2]=v;k[K+8>>2]=k[K+4>>2]}if(!f)G=55;else{k[K+4>>2]=k[K+8>>2];k[K>>2]=u;if(g|0){k[K+1064+(B<<2)>>2]=-200;k[K+804+(B<<2)>>2]=-200}else G=55}d:do if((G|0)==55){G=0;f=k[K+12>>2]|0;k[K+804+(A<<2)>>2]=f;if(!A)k[K+1064>>2]=f;f=k[K+8>>2]|0;k[K+1064+(B<<2)>>2]=f;g=k[K+4>>2]|0;k[K+804+(B<<2)>>2]=g;h=k[K>>2]|0;k[K+1064+(z<<2)>>2]=h;if((z|0)==1)k[K+804+4>>2]=h;if((g&f|0)>-1){e:do if((y|0)>0){g=y;do{h=g;g=g+-1|0;f=K+284+(g<<2)|0;if((k[f>>2]|0)!=(z|0))break e;k[f>>2]=B}while((h|0)>1)}while(0);if((y+1|0)<(J|0)){g=y+1|0;do{f=K+544+(g<<2)|0;if((k[f>>2]|0)!=(A|0))break d;k[f>>2]=B;g=g+1|0}while((g|0)<(J|0))}}}while(0)}while(0);B=B+1|0;if((B|0)>=(J|0)){G=69;break}}if((G|0)==38)vh(1);else if((G|0)==69){e=k[K+1064>>2]|0;H=k[K+804>>2]|0;break}}else{e=f;H=f}while(0);i=I3a(a,J<<2)|0;if((e|0)<0)e=H;else if((H|0)>=0)e=H+e>>1;k[i>>2]=e;e=k[K+1064+4>>2]|0;f=k[K+804+4>>2]|0;if((e|0)<0)e=f;else if((f|0)>=0)e=f+e>>1;k[i+4>>2]=e;if((J|0)>2){h=2;do{L=h+-2|0;g=k[b+1032+(L<<2)>>2]|0;L=k[b+780+(L<<2)>>2]|0;e=k[I+836+(g<<2)>>2]|0;g=k[i+(g<<2)>>2]&32767;f=(k[i+(L<<2)>>2]&32767)-g|0;e=(ha((f|0)>-1?f:0-f|0,(k[I+836+(h<<2)>>2]|0)-e|0)|0)/((k[I+836+(L<<2)>>2]|0)-e|0)|0;g=((f|0)<0?0-e|0:e)+g|0;e=k[K+1064+(h<<2)>>2]|0;f=k[K+804+(h<<2)>>2]|0;if((e|0)<0)e=f;else if((f|0)>=0)e=f+e>>1;k[i+(h<<2)>>2]=(e|0)<0|(g|0)==(e|0)?g|32768:e;h=h+1|0}while((h|0)!=(J|0))}L=i;r=K;return L|0}function l4a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0.0,g=0.0,h=0.0,i=0.0,j=0.0,l=0.0,m=0,n=0,p=0,q=0;m=k[a>>2]|0;n=k[a+((b+-1|0)*56|0)+4>>2]|0;if((b|0)>0){l=+o[e+1108>>2];f=0.0;e=0;j=0.0;i=0.0;h=0.0;g=0.0;do{q=k[a+(e*56|0)+52>>2]|0;p=k[a+(e*56|0)+28>>2]|0;i=i+(+(k[a+(e*56|0)+32>>2]|0)+ +(k[a+(e*56|0)+8>>2]|0)*(l*+(p+q|0)/+(p+1|0)+1.0));g=g+(+(k[a+(e*56|0)+36>>2]|0)+ +(k[a+(e*56|0)+12>>2]|0)*(l*+(p+q|0)/+(p+1|0)+1.0));j=j+(+(k[a+(e*56|0)+40>>2]|0)+(l*+(p+q|0)/+(p+1|0)+1.0)*+(k[a+(e*56|0)+16>>2]|0));h=h+(+(k[a+(e*56|0)+48>>2]|0)+(l*+(p+q|0)/+(p+1|0)+1.0)*+(k[a+(e*56|0)+24>>2]|0));f=f+(+(q|0)+ +(p|0)*(l*+(p+q|0)/+(p+1|0)+1.0));e=e+1|0}while((e|0)!=(b|0))}else{f=0.0;j=0.0;i=0.0;h=0.0;g=0.0}e=k[c>>2]|0;if((e|0)>-1){f=f+1.0;j=+(ha(m,m)|0)+j;i=+(m|0)+i;h=h+ +(ha(e,m)|0);g=g+ +(e|0)}e=k[d>>2]|0;if((e|0)>-1){l=f+1.0;j=+(ha(n,n)|0)+j;i=+(n|0)+i;h=h+ +(ha(e,n)|0);g=g+ +(e|0)}else l=f;f=l*j-i*i;if(!(f>0.0)){k[c>>2]=0;k[d>>2]=0;q=1;return q|0}j=(j*g-h*i)/f;l=(l*h-g*i)/f;e=~~+Wnb(j+ +(m|0)*l);k[c>>2]=e;e=~~+Wnb(j+ +(n|0)*l);k[d>>2]=e;a=k[c>>2]|0;if((a|0)>1023){k[c>>2]=1023;e=k[d>>2]|0;a=1023}if((e|0)>1023){k[d>>2]=1023;a=k[c>>2]|0;e=1023}if((a|0)<0){k[c>>2]=0;e=k[d>>2]|0}if((e|0)>=0){q=0;return q|0}k[d>>2]=0;q=0;return q|0}function m4a(a){a=a|0;return (k[(k[(k[a+64>>2]|0)+104>>2]|0)+80>>2]|0)!=0|0}function n4a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;i=k[b+1284>>2]|0;if(!((c|0)!=0&(d|0)!=0)){e=0;return e|0}b=I3a(a,i<<2)|0;if((i|0)<=0){e=b;return e|0}h=0;do{j=c+(h<<2)|0;f=ha(k[j>>2]&32767,65536-e|0)|0;a=d+(h<<2)|0;f=f+32768+(ha(k[a>>2]&32767,e)|0)>>16;g=b+(h<<2)|0;k[g>>2]=f;if(k[j>>2]&32768|0)if(k[a>>2]&32768|0)k[g>>2]=f|32768;h=h+1|0}while((h|0)!=(i|0));return b|0}function o4a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0;u=r;r=r+336|0;t=k[c+1296>>2]|0;n=k[c+1284>>2]|0;s=k[(k[(k[b+64>>2]|0)+4>>2]|0)+28>>2]|0;q=k[s+2848>>2]|0;if(!d){W5a(a,0,1);vBb(e|0,0,((k[b+36>>2]|0)/2|0)<<2|0)|0;b=0;r=u;return b|0}a:do if((n|0)>0){h=0;while(1){f=d+(h<<2)|0;g=k[f>>2]|0;switch(k[t+832>>2]|0){case 1:{i=(g&32767)>>>2;break}case 2:{i=(g&32767)>>>3;break}case 3:{i=((g&32767)>>>0)/12|0;break}case 4:{i=(g&32767)>>>4;break}default:i=g&32767}k[f>>2]=g&32768|i;h=h+1|0;if((h|0)==(n|0))break a}}while(0);g=k[d>>2]|0;k[u+64>>2]=g;f=k[d+4>>2]|0;k[u+64+4>>2]=f;if((n|0)>2){m=2;do{j=m+-2|0;i=k[c+1032+(j<<2)>>2]|0;j=k[c+780+(j<<2)>>2]|0;g=k[t+836+(i<<2)>>2]|0;l=k[d+(i<<2)>>2]&32767;f=(k[d+(j<<2)>>2]&32767)-l|0;g=(ha((f|0)>-1?f:0-f|0,(k[t+836+(m<<2)>>2]|0)-g|0)|0)/((k[t+836+(j<<2)>>2]|0)-g|0)|0;g=((f|0)<0?0-g|0:g)+l|0;f=d+(m<<2)|0;h=k[f>>2]|0;if((h&32768|0)!=0|(h|0)==(g|0)){k[f>>2]=g|32768;k[u+64+(m<<2)>>2]=0}else{f=(k[c+1292>>2]|0)-g|0;f=(f|0)<(g|0)?f:g;do if((h-g|0)<0)if((h-g|0)<(0-f|0)){f=f+~(h-g)|0;break}else{f=~(h-g<<1);break}else if((f|0)>(h-g|0)){f=h-g<<1;break}else{f=f+(h-g)|0;break}while(0);k[u+64+(m<<2)>>2]=f;k[d+(i<<2)>>2]=l;k[d+(j<<2)>>2]=k[d+(j<<2)>>2]&32767}m=m+1|0}while((m|0)!=(n|0));g=k[u+64>>2]|0;f=k[u+64+4>>2]|0}W5a(a,1,1);k[c+1308>>2]=(k[c+1308>>2]|0)+1;p=(H3a((k[c+1292>>2]|0)+-1|0)|0)<<1;k[c+1304>>2]=(k[c+1304>>2]|0)+p;W5a(a,g,H3a((k[c+1292>>2]|0)+-1|0)|0);W5a(a,f,H3a((k[c+1292>>2]|0)+-1|0)|0);if((k[t>>2]|0)>0){o=0;p=2;while(1){m=k[t+4+(o<<2)>>2]|0;n=k[t+128+(m<<2)>>2]|0;l=k[t+192+(m<<2)>>2]|0;k[u+32>>2]=0;k[u+32+4>>2]=0;k[u+32+8>>2]=0;k[u+32+12>>2]=0;k[u+32+16>>2]=0;k[u+32+20>>2]=0;k[u+32+24>>2]=0;k[u+32+28>>2]=0;if(l|0){k[u>>2]=0;k[u+4>>2]=0;k[u+8>>2]=0;k[u+12>>2]=0;k[u+16>>2]=0;k[u+20>>2]=0;k[u+24>>2]=0;k[u+28>>2]=0;if((l|0)!=31){g=0;do{f=k[t+320+(m<<5)+(g<<2)>>2]|0;if((f|0)<0)f=1;else f=k[(k[s+1824+(f<<2)>>2]|0)+4>>2]|0;k[u+(g<<2)>>2]=f;g=g+1|0}while((g|0)<(1<0){if((l|0)==31){g=0;f=0;h=0;while(1){f=k[u+32+(h<<2)>>2]<>2]|0;h=0;while(1){if((g|0)<(k[u+(h<<2)>>2]|0)){g=h;h=31;break}h=h+1|0;if((h|0)>=(1<>2]=g;else if((h|0)==32)g=k[u+32+(j<<2)>>2]|0;f=g<>2]|0)*56|0)|0,f,a)|0;k[c+1300>>2]=(k[c+1300>>2]|0)+l}if((n|0)>0){h=0;do{f=k[t+320+(m<<5)+(k[u+32+(h<<2)>>2]<<2)>>2]|0;if((f|0)>-1){g=k[u+64+(h+p<<2)>>2]|0;if((g|0)<(k[q+(f*56|0)+4>>2]|0)){l=p4a(q+(f*56|0)|0,g,a)|0;k[c+1304>>2]=(k[c+1304>>2]|0)+l}}h=h+1|0}while((h|0)!=(n|0))}o=o+1|0;if((o|0)>=(k[t>>2]|0))break;else p=n+p|0}}g=ha(k[t+832>>2]|0,k[d>>2]|0)|0;q=(k[s+(k[b+28>>2]<<2)>>2]|0)/2|0;if((k[c+1284>>2]|0)>1){f=0;a=1;o=0;while(1){i=k[c+260+(a<<2)>>2]|0;h=k[d+(i<<2)>>2]|0;if((h&32767|0)==(h|0)){p=ha(k[t+832>>2]|0,h)|0;n=k[t+836+(i<<2)>>2]|0;i=p-g|0;j=n-o|0;l=ha((i|0)/(j|0)|0,j)|0;l=((i|0)>-1?i:0-i|0)-((l|0)>-1?l:0-l|0)|0;m=(q|0)>(n|0)?n:q;if((m|0)>(o|0))k[e+(o<<2)>>2]=g;f=o+1|0;if((f|0)<(m|0)){h=0;while(1){h=h+l|0;g=g+((i|0)/(j|0)|0)+((h|0)<(j|0)?0:i>>31|1)|0;k[e+(f<<2)>>2]=g;f=f+1|0;if((f|0)>=(m|0)){f=n;h=n;g=p;break}else h=h-((h|0)<(j|0)?0:j)|0}}else{f=n;h=n;g=p}}else h=o;a=a+1|0;if((a|0)>=(k[c+1284>>2]|0))break;else o=h}}else f=0;if((f|0)>=((k[b+36>>2]|0)/2|0|0)){b=1;r=u;return b|0}do{k[e+(f<<2)>>2]=g;f=f+1|0}while((f|0)<((k[b+36>>2]|0)/2|0|0));f=1;r=u;return f|0}function p4a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((b|0)<0){a=0;return a|0}d=k[a+12>>2]|0;if((k[d+4>>2]|0)<=(b|0)){a=0;return a|0}W5a(c,k[(k[a+20>>2]|0)+(b<<2)>>2]|0,i[(k[d+8>>2]|0)+b>>0]|0);a=i[(k[(k[a+12>>2]|0)+8>>2]|0)+b>>0]|0;return a|0}function q4a(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,l=0,m=0,n=0,q=0.0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0.0,J=0,K=0.0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0.0,V=0.0;T=r;Q=k[c>>2]|0;j=k[c+4>>2]|0;if(!(k[j+500>>2]|0))R=16;else R=k[j+508>>2]|0;J=k[b+132+((k[j>>2]|0)*60|0)+(a<<2)>>2]|0;K=+p[3304+(k[b+252+(a<<2)>>2]<<3)>>3];L=r;r=r+((1*(i<<2)|0)+15&-16)|0;M=r;r=r+((1*(i<<2)|0)+15&-16)|0;N=r;r=r+((1*(i<<2)|0)+15&-16)|0;O=r;r=r+((1*(i<<2)|0)+15&-16)|0;P=r;r=r+((1*(i<<2)|0)+15&-16)|0;I=+p[((Q|0)>1e3?3376:3304)+(k[b+312+(a<<2)>>2]<<3)>>3];H=ha(i<<2,R)|0;j=r;r=r+((1*H|0)+15&-16)|0;k[L>>2]=j;a=r;r=r+((1*H|0)+15&-16)|0;k[M>>2]=a;b=r;r=r+((1*H|0)+15&-16)|0;k[N>>2]=b;l=r;r=r+((1*H|0)+15&-16)|0;k[O>>2]=l;if((i|0)>1){k[L+4>>2]=j+(R<<2);k[M+4>>2]=a+(R<<2);k[N+4>>2]=b+(R<<2);k[O+4>>2]=l+(R<<2);if((i|0)!=2){j=2;do{D=k[M>>2]|0;E=k[N>>2]|0;F=k[O>>2]|0;G=ha(j,R)|0;k[L+(j<<2)>>2]=(k[L>>2]|0)+(G<<2);k[M+(j<<2)>>2]=D+(G<<2);k[N+(j<<2)>>2]=E+(G<<2);k[O+(j<<2)>>2]=F+(G<<2);j=j+1|0}while((j|0)!=(i|0))}}j=k[d+1156>>2]|0;if((Q|0)>0){F=k[O>>2]|0;G=0;do{E=Q-G|0;E=(R|0)>(E|0)?E:R;ABb(P|0,g|0,i<<2|0)|0;vBb(F|0,0,H|0)|0;if((i|0)>0){s=J-G|0;u=0;do{t=(k[f+(u<<2)>>2]|0)+(G<<2)|0;if(!(k[P+(u<<2)>>2]|0)){if((E|0)>0){j=k[N+(u<<2)>>2]|0;a=k[L+(u<<2)>>2]|0;b=k[M+(u<<2)>>2]|0;l=k[O+(u<<2)>>2]|0;m=0;do{o[j+(m<<2)>>2]=1.000000013351432e-10;o[a+(m<<2)>>2]=0.0;o[b+(m<<2)>>2]=0.0;k[l+(m<<2)>>2]=0;k[t+(m<<2)>>2]=0;m=m+1|0}while((m|0)<(E|0))}}else{n=k[N+(u<<2)>>2]|0;if((E|0)>0){j=0;do{k[n+(j<<2)>>2]=k[98688+(k[t+(j<<2)>>2]<<2)>>2];j=j+1|0}while((j|0)<(E|0));j=e+(u<<2)|0;a=(k[j>>2]|0)+(G<<2)|0;b=k[O+(u<<2)>>2]|0;if((E|0)>0){l=0;do{q=+W(+(+o[a+(l<<2)>>2]));k[b+(l<<2)>>2]=!(q/+o[n+(l<<2)>>2]<((l|0)>=(s|0)?I:K))&1;l=l+1|0}while((l|0)!=(E|0));if((E|0)>0){b=k[j>>2]|0;a=k[L+(u<<2)>>2]|0;j=k[M+(u<<2)>>2]|0;m=0;do{D=b+(m+G<<2)|0;q=+o[D>>2];l=a+(m<<2)|0;o[l>>2]=q*q;o[j+(m<<2)>>2]=q*q;if(+o[D>>2]<0.0)o[l>>2]=-+o[l>>2];D=n+(m<<2)|0;q=+o[D>>2];o[D>>2]=q*q;m=m+1|0}while((m|0)<(E|0))}else S=21}else S=21}else S=21;if((S|0)==21){S=0;a=k[L+(u<<2)>>2]|0;j=k[M+(u<<2)>>2]|0}+r4a(k[c+4>>2]|0,J,a,j,n,0,G,E,t)}u=u+1|0}while((u|0)!=(i|0))}j=k[d+1156>>2]|0;if((j|0)>0){C=h-G|0;D=J-G|0;B=0;do{a=k[d+1160+(B<<2)>>2]|0;b=k[d+2184+(B<<2)>>2]|0;n=(k[f+(a<<2)>>2]|0)+(G<<2)|0;s=(k[f+(b<<2)>>2]|0)+(G<<2)|0;t=k[L+(a<<2)>>2]|0;u=k[L+(b<<2)>>2]|0;v=k[M+(a<<2)>>2]|0;w=k[M+(b<<2)>>2]|0;x=k[N+(a<<2)>>2]|0;y=k[N+(b<<2)>>2]|0;z=k[O+(a<<2)>>2]|0;A=k[O+(b<<2)>>2]|0;if(!(k[P+(a<<2)>>2]|0)){if(k[P+(b<<2)>>2]|0)S=31}else S=31;if((S|0)==31){S=0;k[P+(b<<2)>>2]=1;k[P+(a<<2)>>2]=1;if((E|0)>0){m=0;do{do if((m|0)<(C|0)){j=z+(m<<2)|0;b=A+(m<<2)|0;if(!(k[j>>2]|0))if(!(k[b>>2]|0)){do if((m|0)<(D|0)){j=u+(m<<2)|0;l=t+(m<<2)|0;q=+o[j>>2]+ +o[l>>2];o[l>>2]=q;q=+W(+q);o[v+(m<<2)>>2]=q}else{a=t+(m<<2)|0;V=+o[a>>2];j=u+(m<<2)|0;U=+o[j>>2];q=+W(+V)+ +W(+U);o[v+(m<<2)>>2]=q;if(V+U<0.0){o[a>>2]=-q;break}else{o[a>>2]=q;break}}while(0);o[w+(m<<2)>>2]=0.0;o[j>>2]=0.0;k[b>>2]=1;k[s+(m<<2)>>2]=0;break}l=t+(m<<2)|0;V=+W(+(+o[l>>2]));V=V+ +W(+(+o[u+(m<<2)>>2]));o[l>>2]=V;l=v+(m<<2)|0;o[l>>2]=+o[l>>2]+ +o[w+(m<<2)>>2];k[b>>2]=1;k[j>>2]=1;b=n+(m<<2)|0;j=k[b>>2]|0;l=s+(m<<2)|0;a=k[l>>2]|0;if((((j|0)>-1?j:0-j|0)|0)>(((a|0)>-1?a:0-a|0)|0)){j=(j|0)>0?j-a|0:a-j|0;k[l>>2]=j;a=k[b>>2]|0}else{k[l>>2]=(a|0)>0?j-a|0:a-j|0;k[b>>2]=a;j=k[l>>2]|0}if((j|0)>=(((a|0)>-1?a:0-a|0)<<1|0)){k[l>>2]=0-j;k[b>>2]=0-(k[b>>2]|0)}}while(0);l=x+(m<<2)|0;b=y+(m<<2)|0;V=+o[l>>2]+ +o[b>>2];o[b>>2]=V;o[l>>2]=V;m=m+1|0}while((m|0)<(E|0))}+r4a(k[c+4>>2]|0,J,t,v,x,z,G,E,n);j=k[d+1156>>2]|0}B=B+1|0}while((B|0)<(j|0))}G=G+R|0}while((Q|0)>(G|0))}if((j|0)>0)l=0;else{r=T;return}do{a=g+(k[d+1160+(l<<2)>>2]<<2)|0;b=d+2184+(l<<2)|0;if(!(k[a>>2]|0)){if(k[g+(k[b>>2]<<2)>>2]|0)S=52}else S=52;if((S|0)==52){S=0;k[a>>2]=1;k[g+(k[b>>2]<<2)>>2]=1;j=k[d+1156>>2]|0}l=l+1|0}while((l|0)<(j|0));r=T;return}function r4a(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0.0,l=0,m=0.0,n=0,q=0,s=0.0,u=0,v=0,w=0,x=0;w=r;v=r;r=r+((1*(h<<2)|0)+15&-16)|0;if(!(k[a+500>>2]|0))l=h;else l=(k[a+504>>2]|0)-g|0;n=(l|0)>(h|0)?h:l;a:do if((n|0)>0){if(!f){l=0;while(1){u=+o[c+(l<<2)>>2]<0.0;s=+Wnb(+X(+(+o[d+(l<<2)>>2]/+o[e+(l<<2)>>2])));k[i+(l<<2)>>2]=~~(u?-s:s);l=l+1|0;if((l|0)>=(n|0))break a}}else l=0;do{do if(!(k[f+(l<<2)>>2]|0)){u=+o[c+(l<<2)>>2]<0.0;j=+Wnb(+X(+(+o[d+(l<<2)>>2]/+o[e+(l<<2)>>2])));if(u){k[i+(l<<2)>>2]=~~-j;break}else{k[i+(l<<2)>>2]=~~j;break}}while(0);l=l+1|0}while((l|0)<(n|0))}else n=0;while(0);if((n|0)>=(h|0)){s=0.0;r=w;return +s}if(!f){j=0.0;l=0;u=n;do{n=d+(u<<2)|0;q=e+(u<<2)|0;m=+o[n>>2]/+o[q>>2];if(m<.25){k[v+(l<<2)>>2]=n;j=j+m;l=l+1|0}else{b=+o[c+(u<<2)>>2]<0.0;s=+Wnb(+X(+m));b=~~(b?-s:s);k[i+(u<<2)>>2]=b;s=+(ha(b,b)|0);o[n>>2]=+o[q>>2]*s}u=u+1|0}while((u|0)!=(h|0));u=l}else{j=0.0;u=0;do{do if(!(k[f+(n<<2)>>2]|0)){l=d+(n<<2)|0;q=e+(n<<2)|0;m=+o[l>>2]/+o[q>>2];if(!(m<.25)|(n|0)<(b-g|0)){x=+o[c+(n<<2)>>2]<0.0;s=+Wnb(+X(+m));x=~~(x?-s:s);k[i+(n<<2)>>2]=x;s=+(ha(x,x)|0);o[l>>2]=+o[q>>2]*s;break}else{k[v+(u<<2)>>2]=l;j=j+m;u=u+1|0;break}}while(0);n=n+1|0}while((n|0)!=(h|0))}if(!u){s=j;r=w;return +s}qnb(v,u,4,369);if((u|0)<=0){s=j;r=w;return +s}s=+p[a+512>>3];q=0;do{n=k[v+(q<<2)>>2]|0;if(!(j>=s)){l=0;m=0.0}else{j=j+-1.0;l=~~(k[t>>2]=k[c+(n-d>>2<<2)>>2]&-2147483648|1065353216,+o[t>>2]);m=+o[e+(n-d>>2<<2)>>2]}k[i+(n-d>>2<<2)>>2]=l;o[n>>2]=m;q=q+1|0}while((q|0)!=(u|0));r=w;return +j}function s4a(a,b){a=a|0;b=b|0;var c=0.0,d=0.0;d=+o[k[a>>2]>>2];c=+o[k[b>>2]>>2];return (dc&1)|0}function t4a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=jqb(1,2840)|0;f=k[a+28>>2]|0;a=$5a(b,24)|0;k[g>>2]=a;a=$5a(b,24)|0;k[g+4>>2]=a;a=($5a(b,24)|0)+1|0;k[g+8>>2]=a;a=$5a(b,6)|0;k[g+12>>2]=a+1;e=$5a(b,8)|0;k[g+20>>2]=e;a:do if((e|0)<0)h=25;else{if((a|0)>-1){d=0;e=0;do{a=$5a(b,3)|0;c=$5a(b,1)|0;if((c|0)<0){h=25;break a}if(c){c=$5a(b,5)|0;if(!(c>>31&2))a=((c|0)<0?0:c<<3)|a;else{h=25;break a}}k[g+24+(e<<2)>>2]=a;if(!a)a=0;else{c=0;do{c=(a&1)+c|0;a=a>>>1}while((a|0)!=0);a=c}d=a+d|0;e=e+1|0}while((e|0)<(k[g+12>>2]|0));if((d|0)>0){c=0;while(1){a=$5a(b,8)|0;if((a|0)<0)break a;k[g+280+(c<<2)>>2]=a;c=c+1|0;if((c|0)>=(d|0)){a=(d|0)>0;break}}}else a=0}else{a=0;d=0}e=k[g+20>>2]|0;b=k[f+24>>2]|0;if((e|0)<(b|0)){if(a){c=0;do{a=k[g+280+(c<<2)>>2]|0;if((a|0)>=(b|0))break a;c=c+1|0;if(!(k[(k[f+1824+(a<<2)>>2]|0)+12>>2]|0))break a}while((c|0)<(d|0))}a=k[f+1824+(e<<2)>>2]|0;d=k[a+4>>2]|0;a=k[a>>2]|0;if((a|0)>=1){e=k[g+12>>2]|0;c=1;while(1){c=ha(e,c)|0;if((c|0)>(d|0))break a;if((a|0)>1)a=a+-1|0;else break}k[g+16>>2]=c;h=g;return h|0}}}while(0);if((h|0)==25)if(!g){h=0;return h|0}iqb(g);h=0;return h|0}function u4a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0;n=jqb(1,44)|0;i=k[(k[a+4>>2]|0)+28>>2]|0;k[n>>2]=b;j=k[b+12>>2]|0;k[n+4>>2]=j;m=k[i+2848>>2]|0;k[n+12>>2]=m;m=m+((k[b+20>>2]|0)*56|0)|0;k[n+16>>2]=m;m=k[m>>2]|0;h=jqb(j,4)|0;k[n+20>>2]=h;if((j|0)>0){a=0;l=0;e=0;do{c=b+24+(l<<2)|0;g=H3a(k[c>>2]|0)|0;if(g){e=(g|0)>(e|0)?g:e;f=jqb(g,4)|0;k[h+(l<<2)>>2]=f;if((g|0)>0){d=k[c>>2]|0;f=h+(l<<2)|0;c=0;do{if(d&1<>2]|0)+(c<<2)>>2]=(k[i+2848>>2]|0)+((k[b+280+(a<<2)>>2]|0)*56|0);a=a+1|0}c=c+1|0}while((c|0)!=(g|0))}}l=l+1|0}while((l|0)<(j|0))}else e=0;k[n+24>>2]=1;if((m|0)>0){c=k[n+4>>2]|0;a=1;d=0;do{a=ha(a,c)|0;d=d+1|0}while((d|0)!=(m|0));k[n+24>>2]=a;j=a}else j=1;k[n+8>>2]=e;i=hqb(j<<2)|0;k[n+28>>2]=i;if((j|0)<=0)return n|0;if((m|0)<=0){a=0;do{b=hqb(m<<2)|0;k[i+(a<<2)>>2]=b;a=a+1|0}while((a|0)<(j|0));return n|0}c=k[n+4>>2]|0;d=k[n+28>>2]|0;f=0;do{e=hqb(m<<2)|0;k[i+(f<<2)>>2]=e;e=k[d+(f<<2)>>2]|0;a=j;g=0;h=f;do{a=(a|0)/(c|0)|0;b=(h|0)/(a|0)|0;h=h-(ha(b,a)|0)|0;k[e+(g<<2)>>2]=b;g=g+1|0}while((g|0)!=(m|0));f=f+1|0}while((f|0)<(j|0));return n|0}function v4a(a){a=a|0;if(a|0)iqb(a);return}function w4a(a){a=a|0;var b=0,c=0,d=0;if(!a)return;b=k[a+4>>2]|0;if((b|0)>0){d=0;do{c=k[(k[a+20>>2]|0)+(d<<2)>>2]|0;if(c){iqb(c);b=k[a+4>>2]|0}d=d+1|0}while((d|0)<(b|0))}iqb(k[a+20>>2]|0);if((k[a+24>>2]|0)>0){b=0;do{iqb(k[(k[a+28>>2]|0)+(b<<2)>>2]|0);b=b+1|0}while((b|0)<(k[a+24>>2]|0))}iqb(k[a+28>>2]|0);iqb(a);return}function x4a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;if((e|0)>0){g=0;f=0}else return 0;do{if(k[d+(g<<2)>>2]|0){k[c+(f<<2)>>2]=k[c+(g<<2)>>2];f=f+1|0}g=g+1|0}while((g|0)!=(e|0));if(!f)return 0;z4a(a,b,c,f,90);return 0}function y4a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;j=r;if((k[a+8>>2]|0)<=0){d=0;r=j;return d|0}h=k[a>>2]|0;i=r;r=r+((1*(((d|0)/(h|0)|0)<<2)|0)+15&-16)|0;a:do if(((d|0)/(h|0)|0|0)>0){g=0;while(1){f=K3a(a,c)|0;if((f|0)==-1){e=-1;break}e=k[a>>2]|0;f=(k[a+16>>2]|0)+((ha(e,f)|0)<<2)|0;k[i+(g<<2)>>2]=f;g=g+1|0;if((g|0)>=((d|0)/(h|0)|0|0))break a}r=j;return e|0}else e=h;while(0);if((e|0)<1|((d|0)/(h|0)|0|0)>0^1){d=0;r=j;return d|0}else{f=0;a=0}while(1){c=0;do{g=b+(c+a<<2)|0;o[g>>2]=+o[(k[i+(c<<2)>>2]|0)+(f<<2)>>2]+ +o[g>>2];c=c+1|0}while((c|0)!=((d|0)/(h|0)|0|0));f=f+1|0;if((f|0)>=(e|0)){e=0;break}else a=a+((d|0)/(h|0)|0)|0}r=j;return e|0}function z4a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0;w=r;q=k[b>>2]|0;u=k[q+8>>2]|0;v=k[k[b+16>>2]>>2]|0;s=k[a+36>>2]>>1;t=k[q+4>>2]|0;s=((t|0)<(s|0)?t:s)-(k[q>>2]|0)|0;if((s|0)<=0){r=w;return}t=r;r=r+((1*(d<<2)|0)+15&-16)|0;if((d|0)>0){f=0;do{p=I3a(a,((v+-1+((s|0)/(u|0)|0)|0)/(v|0)|0)<<2)|0;k[t+(f<<2)>>2]=p;f=f+1|0}while((f|0)!=(d|0))}f=k[b+8>>2]|0;if((f|0)<=0){r=w;return}p=0;a:while(1){if(((s|0)/(u|0)|0|0)>0){m=1<>2]|0,a+4|0)|0;if((g|0)==-1){f=26;break a}if((g|0)>=(k[q+16>>2]|0)){f=26;break a}l=k[(k[b+28>>2]|0)+(g<<2)>>2]|0;k[(k[t+(h<<2)>>2]|0)+(o<<2)>>2]=l;h=h+1|0;if(!l){f=26;break a}}while((h|0)<(d|0))}do if((v|0)>0?(f|0)<((s|0)/(u|0)|0|0):0){if((d|0)>0)l=0;else{l=f-((s|0)/(u|0)|0)|0;f=f-(l>>>0<(0-v|0)>>>0?0-v|0:l)|0;break}do{i=ha(f,u)|0;j=0;do{h=(k[q>>2]|0)+i|0;g=k[(k[(k[t+(j<<2)>>2]|0)+(o<<2)>>2]|0)+(l<<2)>>2]|0;if(k[q+24+(g<<2)>>2]&m|0){g=k[(k[(k[b+20>>2]|0)+(g<<2)>>2]|0)+(p<<2)>>2]|0;if(g|0)if((nj[e&127](g,(k[c+(j<<2)>>2]|0)+(h<<2)|0,a+4|0,u)|0)==-1){f=26;break a}}j=j+1|0}while((j|0)<(d|0));l=l+1|0;f=f+1|0}while((l|0)<(v|0)?(f|0)<((s|0)/(u|0)|0|0):0)}while(0);if((f|0)<((s|0)/(u|0)|0|0))o=o+1|0;else break}f=k[b+8>>2]|0}p=p+1|0;if((p|0)>=(f|0)){f=26;break}}if((f|0)==26){r=w;return}}function A4a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;W5a(b,k[a>>2]|0,24);W5a(b,k[a+4>>2]|0,24);W5a(b,(k[a+8>>2]|0)+-1|0,24);W5a(b,(k[a+12>>2]|0)+-1|0,6);W5a(b,k[a+20>>2]|0,8);if((k[a+12>>2]|0)<=0)return;d=0;f=0;do{c=a+24+(f<<2)|0;g=(H3a(k[c>>2]|0)|0)>3;e=k[c>>2]|0;if(g){W5a(b,e,3);W5a(b,1,1);W5a(b,k[c>>2]>>3,5)}else W5a(b,e,4);c=k[c>>2]|0;if(!c)c=0;else{e=0;do{e=(c&1)+e|0;c=c>>>1}while((c|0)!=0);c=e}d=c+d|0;f=f+1|0}while((f|0)<(k[a+12>>2]|0));if((d|0)<=0)return;c=0;do{W5a(b,k[a+280+(c<<2)>>2]|0,8);c=c+1|0}while((c|0)!=(d|0));return}function B4a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;if((e|0)>0){g=0;f=0}else{b=0;return b|0}do{if(k[d+(g<<2)>>2]|0){k[c+(f<<2)>>2]=k[c+(g<<2)>>2];f=f+1|0}g=g+1|0}while((g|0)!=(e|0));if(!f){b=0;return b|0}m=k[b>>2]|0;n=k[m+8>>2]|0;o=k[m+12>>2]|0;p=((k[m+4>>2]|0)-(k[m>>2]|0)|0)/(n|0)|0;q=I3a(a,f<<2)|0;if((f|0)>0){e=0;do{l=I3a(a,p<<2)|0;k[q+(e<<2)>>2]=l;vBb(l|0,0,p<<2|0)|0;e=e+1|0}while((e|0)!=(f|0))}if((p|0)>0){l=0;do{i=ha(l,n)|0;i=(k[m>>2]|0)+i|0;a:do if((f|0)>0){if((n|0)<=0){if((o|0)>1)g=0;else{e=0;while(1){k[(k[q+(e<<2)>>2]|0)+(l<<2)>>2]=0;e=e+1|0;if((e|0)==(f|0))break a}}while(1){e=0;do{if((k[m+2328+(e<<2)>>2]|0)>=0){j=k[m+2584+(e<<2)>>2]|0;if((j|0)<0?1:(~~(100.0/+(n|0)*0.0)|0)<(j|0))break}e=e+1|0}while((e|0)<(o+-1|0));k[(k[q+(g<<2)>>2]|0)+(l<<2)>>2]=e;g=g+1|0;if((g|0)==(f|0))break a}}if((o|0)>1)j=0;else{e=0;while(1){k[(k[q+(e<<2)>>2]|0)+(l<<2)>>2]=0;e=e+1|0;if((e|0)==(f|0))break a}}do{d=k[c+(j<<2)>>2]|0;g=0;a=0;e=0;while(1){r=k[d+(i+a<<2)>>2]|0;r=(r|0)>-1?r:0-r|0;h=(r|0)>(e|0)?r:e;g=r+g|0;a=a+1|0;if((a|0)==(n|0))break;else e=h}e=0;do{if((h|0)<=(k[m+2328+(e<<2)>>2]|0)){r=k[m+2584+(e<<2)>>2]|0;if((r|0)<0?1:(~~(100.0/+(n|0)*+(g|0))|0)<(r|0))break}e=e+1|0}while((e|0)<(o+-1|0));k[(k[q+(j<<2)>>2]|0)+(l<<2)>>2]=e;j=j+1|0}while((j|0)!=(f|0))}while(0);l=l+1|0}while((l|0)!=(p|0))}k[b+40>>2]=(k[b+40>>2]|0)+1;r=q;return r|0}function C4a(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;if((f|0)>0){b=0;h=0}else return 0;do{if(k[e+(b<<2)>>2]|0){k[d+(h<<2)>>2]=k[d+(b<<2)>>2];h=h+1|0}b=b+1|0}while((b|0)!=(f|0));if(!h)return 0;D4a(a,c,d,h,g);return 0}function D4a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0;N=r;r=r+1088|0;I=k[b>>2]|0;K=k[I+8>>2]|0;L=k[I+12>>2]|0;M=k[k[b+16>>2]>>2]|0;J=((k[I+4>>2]|0)-(k[I>>2]|0)|0)/(K|0)|0;vBb(N+512|0,0,512)|0;vBb(N|0,0,512)|0;f=k[b+8>>2]|0;if((f|0)<=0){r=N;return}H=0;do{if((J|0)>0){F=(H|0)==0;G=1<1)m=0;else{j=0;while(1){g=k[(k[e+(j<<2)>>2]|0)+(f<<2)>>2]|0;h=k[b+16>>2]|0;if((g|0)<(k[h+4>>2]|0)){E=p4a(h,g,a)|0;k[b+36>>2]=(k[b+36>>2]|0)+E}j=j+1|0;if((j|0)==(d|0))break a}}do{j=k[e+(m<<2)>>2]|0;l=1;h=k[j+(f<<2)>>2]|0;do{h=ha(h,L)|0;g=l+f|0;if((g|0)<(J|0))h=(k[j+(g<<2)>>2]|0)+h|0;l=l+1|0}while((l|0)!=(M|0));g=k[b+16>>2]|0;if((h|0)<(k[g+4>>2]|0)){E=p4a(g,h,a)|0;k[b+36>>2]=(k[b+36>>2]|0)+E}m=m+1|0}while((m|0)!=(d|0))}while(0);if((M|0)>0&(f|0)<(J|0)){E=0;do{C=ha(f,K)|0;C=(k[I>>2]|0)+C|0;if((d|0)>0){D=0;do{B=e+(D<<2)|0;h=k[B>>2]|0;g=k[h+(f<<2)>>2]|0;if(F)k[N+(g<<2)>>2]=(k[N+(g<<2)>>2]|0)+K;if(k[I+24+(g<<2)>>2]&G|0){y=k[(k[(k[b+20>>2]|0)+(g<<2)>>2]|0)+(H<<2)>>2]|0;if(y|0){z=(k[c+(D<<2)>>2]|0)+(C<<2)|0;A=k[y>>2]|0;if(((K|0)/(A|0)|0|0)>0){x=A;g=0;h=0;while(1){j=z+((ha(h,A)|0)<<2)|0;q=k[y+48>>2]|0;v=k[y+52>>2]|0;s=k[y+44>>2]|0;k[N+1056>>2]=0;k[N+1056+4>>2]=0;k[N+1056+8>>2]=0;k[N+1056+12>>2]=0;k[N+1056+16>>2]=0;k[N+1056+20>>2]=0;k[N+1056+24>>2]=0;k[N+1056+28>>2]=0;w=(x|0)>0;do if((v|0)==1){if(!w){l=0;break}ABb(N+1056|0,j|0,x<<2|0)|0;n=0;l=0;o=x;do{o=o+-1|0;m=(k[j+(o<<2)>>2]|0)-q|0;if((m|0)<(s>>1|0))m=((s>>1)-m<<1)+-1|0;else m=m-(s>>1)<<1;l=ha(l,s)|0;l=((m|0)<0?0:(m|0)>=(s|0)?s+-1|0:m)+l|0;n=n+1|0}while((n|0)!=(x|0))}else{if(!w){l=0;break}o=0;l=0;p=x;do{p=p+-1|0;n=((v>>1)-q+(k[j+(p<<2)>>2]|0)|0)/(v|0)|0;if((n|0)<(s>>1|0))m=((s>>1)-n<<1)+-1|0;else m=n-(s>>1)<<1;l=ha(l,s)|0;l=((m|0)<0?0:(m|0)>=(s|0)?s+-1|0:m)+l|0;u=(ha(n,v)|0)+q|0;k[N+1056+(p<<2)>>2]=u;o=o+1|0}while((o|0)!=(x|0))}while(0);u=k[(k[y+12>>2]|0)+8>>2]|0;if((i[u+l>>0]|0)<1){k[N+1024>>2]=0;k[N+1024+4>>2]=0;k[N+1024+8>>2]=0;k[N+1024+12>>2]=0;k[N+1024+16>>2]=0;k[N+1024+20>>2]=0;k[N+1024+24>>2]=0;k[N+1024+28>>2]=0;s=(ha(s+-1|0,v)|0)+q|0;t=k[y+4>>2]|0;b:do if((t|0)>0){if(w){o=-1;q=0}else{m=-1;q=0;while(1){do if((i[u+q>>0]|0)>0){if(!((m|0)==-1|(m|0)>0)){p=m;break};k[N+1056>>2]=k[N+1024>>2];k[N+1056+4>>2]=k[N+1024+4>>2];k[N+1056+8>>2]=k[N+1024+8>>2];k[N+1056+12>>2]=k[N+1024+12>>2];k[N+1056+16>>2]=k[N+1024+16>>2];k[N+1056+20>>2]=k[N+1024+20>>2];k[N+1056+24>>2]=k[N+1024+24>>2];k[N+1056+28>>2]=k[N+1024+28>>2];p=0;l=q}else p=m;while(0);m=k[N+1024>>2]|0;if((m|0)<(s|0))n=N+1024|0;else{m=N+1024|0;o=0;while(1){o=o+1|0;k[m>>2]=0;n=N+1024+(o<<2)|0;m=k[n>>2]|0;if((m|0)<(s|0))break;else m=n}}if((m|0)>-1){m=m+v|0;k[n>>2]=m}k[n>>2]=0-m;q=q+1|0;if((q|0)==(t|0))break b;else m=p}}while(1){do if((i[u+q>>0]|0)>0){n=0;m=0;do{p=(k[N+1024+(n<<2)>>2]|0)-(k[j+(n<<2)>>2]|0)|0;m=(ha(p,p)|0)+m|0;n=n+1|0}while((n|0)!=(x|0));if(!((o|0)==-1|(m|0)<(o|0))){p=o;break};k[N+1056>>2]=k[N+1024>>2];k[N+1056+4>>2]=k[N+1024+4>>2];k[N+1056+8>>2]=k[N+1024+8>>2];k[N+1056+12>>2]=k[N+1024+12>>2];k[N+1056+16>>2]=k[N+1024+16>>2];k[N+1056+20>>2]=k[N+1024+20>>2];k[N+1056+24>>2]=k[N+1024+24>>2];k[N+1056+28>>2]=k[N+1024+28>>2];p=m;l=q}else p=o;while(0);m=k[N+1024>>2]|0;if((m|0)<(s|0))n=N+1024|0;else{m=N+1024|0;o=0;while(1){o=o+1|0;k[m>>2]=0;n=N+1024+(o<<2)|0;m=k[n>>2]|0;if((m|0)<(s|0))break;else m=n}}if((m|0)>-1){m=m+v|0;k[n>>2]=m}k[n>>2]=0-m;q=q+1|0;if((q|0)==(t|0))break;else o=p}}while(0);m=l}else m=l;if(w&(m|0)>-1){l=0;while(1){k[j>>2]=(k[j>>2]|0)-(k[N+1056+(l<<2)>>2]|0);l=l+1|0;if((l|0)==(x|0))break;else j=j+4|0}}g=(p4a(y,m,a)|0)+g|0;h=h+1|0;if((h|0)==((K|0)/(A|0)|0|0))break;x=k[y>>2]|0}h=k[B>>2]|0}else g=0;k[b+32>>2]=(k[b+32>>2]|0)+g;B=N+512+(k[h+(f<<2)>>2]<<2)|0;k[B>>2]=(k[B>>2]|0)+g}}D=D+1|0}while((D|0)!=(d|0))}E=E+1|0;f=f+1|0}while((E|0)<(M|0)&(f|0)<(J|0))}}while((f|0)<(J|0));f=k[b+8>>2]|0}H=H+1|0}while((H|0)<(f|0));r=N;return}function E4a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;if((e|0)>0){g=0;f=0}else return 0;do{if(k[d+(g<<2)>>2]|0){k[c+(f<<2)>>2]=k[c+(g<<2)>>2];f=f+1|0}g=g+1|0}while((g|0)!=(e|0));if(!f)return 0;z4a(a,b,c,f,91);return 0}function F4a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;if((k[a+8>>2]|0)<=0){d=0;return d|0}if((k[a>>2]|0)>8){if((d|0)<=0){d=0;return d|0}e=0;while(1){f=K3a(a,c)|0;if((f|0)==-1){e=-1;h=28;break}i=k[a>>2]|0;h=(k[a+16>>2]|0)+((ha(i,f)|0)<<2)|0;if((i|0)>0){f=e;g=0;while(1){e=f+1|0;f=b+(f<<2)|0;o[f>>2]=+o[h+(g<<2)>>2]+ +o[f>>2];g=g+1|0;if((g|0)>=(i|0))break;else f=e}}if((e|0)>=(d|0)){e=0;h=28;break}}if((h|0)==28)return e|0}if((d|0)>0)g=0;else{d=0;return d|0}a:while(1){b:while(1){e=K3a(a,c)|0;if((e|0)==-1){e=-1;h=28;break a}f=k[a+16>>2]|0;switch(k[a>>2]|0){case 8:{h=20;break b}case 7:{h=21;break b}case 6:{h=22;break b}case 5:{h=23;break b}case 4:{h=24;break b}case 3:{h=25;break b}case 2:{h=26;break b}case 1:{h=27;break b}default:{}}}if((h|0)==20){j=b+(g<<2)|0;o[j>>2]=+o[f+(e<<3<<2)>>2]+ +o[j>>2];j=f+(e<<3<<2)|0;s=g+1|0;z=1;h=10}else if((h|0)==21){j=f+(e*7<<2)|0;s=g;z=0;h=10}else if((h|0)==22){l=f+(e*6<<2)|0;t=g;A=0;h=11}else if((h|0)==23){m=f+(e*5<<2)|0;u=g;B=0;h=12}else if((h|0)==24){n=f+(e<<2<<2)|0;v=g;C=0;h=13}else if((h|0)==25){p=f+(e*3<<2)|0;w=g;D=0;h=14}else if((h|0)==26){q=f+(e<<1<<2)|0;x=g;E=0;h=15}else if((h|0)==27){h=0;r=f+(e<<2)|0;y=g;F=0}if((h|0)==10){l=b+(s<<2)|0;o[l>>2]=+o[j+(z<<2)>>2]+ +o[l>>2];l=j;t=s+1|0;A=z+1|0;h=11}if((h|0)==11){m=b+(t<<2)|0;o[m>>2]=+o[l+(A<<2)>>2]+ +o[m>>2];m=l;u=t+1|0;B=A+1|0;h=12}if((h|0)==12){n=b+(u<<2)|0;o[n>>2]=+o[m+(B<<2)>>2]+ +o[n>>2];n=m;v=u+1|0;C=B+1|0;h=13}if((h|0)==13){p=b+(v<<2)|0;o[p>>2]=+o[n+(C<<2)>>2]+ +o[p>>2];p=n;w=v+1|0;D=C+1|0;h=14}if((h|0)==14){q=b+(w<<2)|0;o[q>>2]=+o[p+(D<<2)>>2]+ +o[q>>2];q=p;x=w+1|0;E=D+1|0;h=15}if((h|0)==15){r=b+(x<<2)|0;o[r>>2]=+o[q+(E<<2)>>2]+ +o[r>>2];r=q;y=x+1|0;F=E+1|0}g=y+1|0;i=b+(y<<2)|0;o[i>>2]=+o[r+(F<<2)>>2]+ +o[i>>2];if((g|0)>=(d|0)){e=0;h=28;break}}if((h|0)==28)return e|0;return 0}function G4a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;if((e|0)>0){g=0;f=0}else{b=0;return b|0}do{f=((k[d+(g<<2)>>2]|0)!=0&1)+f|0;g=g+1|0}while((g|0)!=(e|0));if(!f){b=0;return b|0}s=k[b>>2]|0;n=k[s+8>>2]|0;p=k[s+12>>2]|0;q=((k[s+4>>2]|0)-(k[s>>2]|0)|0)/(n|0)|0;r=I3a(a,4)|0;o=I3a(a,q<<2)|0;k[r>>2]=o;vBb(o|0,0,q<<2|0)|0;a:do if((q|0)>0){o=k[r>>2]|0;if((n|0)<=0){if((p|0)>1)g=0;else{vBb(o|0,0,q<<2|0)|0;break}while(1){f=0;do{if((k[s+2328+(f<<2)>>2]|0)>=0)if((k[s+2584+(f<<2)>>2]|0)>=0)break;f=f+1|0}while((f|0)<(p+-1|0));k[o+(g<<2)>>2]=f;g=g+1|0;if((g|0)==(q|0))break a}}g=(k[s>>2]|0)/(e|0)|0;if((e|0)>1)f=0;else{f=0;while(1){h=k[c>>2]|0;i=0;d=0;while(1){a=k[h+(g<<2)>>2]|0;a=(a|0)>-1?a:0-a|0;a=(a|0)>(d|0)?a:d;g=g+1|0;i=i+e|0;if((i|0)>=(n|0))break;else d=a}b:do if((p|0)>1){d=0;do{if((a|0)<=(k[s+2328+(d<<2)>>2]|0))if((k[s+2584+(d<<2)>>2]|0)>=0)break b;d=d+1|0}while((d|0)<(p+-1|0))}else d=0;while(0);k[o+(f<<2)>>2]=d;f=f+1|0;if((f|0)==(q|0))break a}}do{l=k[c>>2]|0;d=0;m=0;i=0;while(1){h=k[l+(g<<2)>>2]|0;h=(h|0)>-1?h:0-h|0;a=1;while(1){j=k[(k[c+(a<<2)>>2]|0)+(g<<2)>>2]|0;j=(j|0)>-1?j:0-j|0;j=(j|0)>(d|0)?j:d;a=a+1|0;if((a|0)==(e|0))break;else d=j}a=(h|0)>(i|0)?h:i;g=g+1|0;m=m+e|0;if((m|0)>=(n|0))break;else{d=j;i=a}}c:do if((p|0)>1){d=0;do{if((a|0)<=(k[s+2328+(d<<2)>>2]|0))if((j|0)<=(k[s+2584+(d<<2)>>2]|0))break c;d=d+1|0}while((d|0)<(p+-1|0))}else d=0;while(0);k[o+(f<<2)>>2]=d;f=f+1|0}while((f|0)!=(q|0))}while(0);k[b+40>>2]=(k[b+40>>2]|0)+1;b=r;return b|0}function H4a(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,l=0,m=0,n=0,o=0,p=0;p=r;r=r+16|0;o=k[b+36>>2]|0;m=I3a(b,ha(f<<2,(o|0)/2|0)|0)|0;k[p>>2]=m;if((f|0)<=0){r=p;return 0}if((o|0)>1){n=0;h=0;do{i=k[d+(n<<2)>>2]|0;b=(k[e+(n<<2)>>2]|0)!=0&1;j=0;l=n;while(1){k[m+(l<<2)>>2]=k[i+(j<<2)>>2];j=j+1|0;if((j|0)>=((o|0)/2|0|0))break;else l=l+f|0}h=b+h|0;n=n+1|0}while((n|0)!=(f|0))}else{b=0;h=0;do{h=((k[e+(b<<2)>>2]|0)!=0&1)+h|0;b=b+1|0}while((b|0)!=(f|0))}if(!h){r=p;return 0}D4a(a,c,p,1,g);r=p;return 0}function I4a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;m=k[b>>2]|0;o=k[m+8>>2]|0;q=k[k[b+16>>2]>>2]|0;n=(ha(k[a+36>>2]|0,e)|0)>>1;p=k[m+4>>2]|0;n=((p|0)<(n|0)?p:n)-(k[m>>2]|0)|0;if((n|0)<=0)return 0;p=I3a(a,((q+-1+((n|0)/(o|0)|0)|0)/(q|0)|0)<<2)|0;a:do if((e|0)>0){f=0;do{if(k[d+(f<<2)>>2]|0)break a;f=f+1|0}while((f|0)<(e|0))}else f=0;while(0);if((f|0)==(e|0))return 0;if((k[b+8>>2]|0)<=0)return 0;l=0;b:while(1){c:do if(((n|0)/(o|0)|0|0)>0){j=1<0?(f|0)<((n|0)/(o|0)|0|0):0){h=p+(i<<2)|0;g=0;do{d=k[(k[h>>2]|0)+(g<<2)>>2]|0;if(k[m+24+(d<<2)>>2]&j|0){d=k[(k[(k[b+20>>2]|0)+(d<<2)>>2]|0)+(l<<2)>>2]|0;if(d|0){r=ha(f,o)|0;if((J4a(d,c,(k[m>>2]|0)+r|0,e,a+4|0,o)|0)==-1){f=28;break b}}}g=g+1|0;f=f+1|0}while((g|0)<(q|0)?(f|0)<((n|0)/(o|0)|0|0):0)}if((f|0)<((n|0)/(o|0)|0|0))i=i+1|0;else break c}}while(1){d=U3a(k[b+16>>2]|0,a+4|0)|0;if((d|0)==-1){f=28;break b}if((d|0)>=(k[m+16>>2]|0)){f=28;break b}d=k[(k[b+28>>2]|0)+(d<<2)>>2]|0;h=p+(i<<2)|0;k[h>>2]=d;if(!d){f=28;break b}d:do if((q|0)>0?(f|0)<((n|0)/(o|0)|0|0):0){g=0;while(1){d=k[d+(g<<2)>>2]|0;if(k[m+24+(d<<2)>>2]&j|0){d=k[k[(k[b+20>>2]|0)+(d<<2)>>2]>>2]|0;if(d|0){r=ha(f,o)|0;if((J4a(d,c,(k[m>>2]|0)+r|0,e,a+4|0,o)|0)==-1){f=28;break b}}}g=g+1|0;f=f+1|0;if(!((g|0)<(q|0)?(f|0)<((n|0)/(o|0)|0|0):0))break d;d=k[h>>2]|0}}while(0);if((f|0)<((n|0)/(o|0)|0|0))i=i+1|0;else break}}while(0);l=l+1|0;if((l|0)>=(k[b+8>>2]|0)){f=28;break}}if((f|0)==28)return 0;return 0}function J4a(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,l=0,m=0;if((k[a+8>>2]|0)<=0){c=0;return c|0}if(((c|0)/(d|0)|0|0)>=((f+c|0)/(d|0)|0|0)){c=0;return c|0}i=0;g=(c|0)/(d|0)|0;while(1){h=K3a(a,e)|0;if((h|0)==-1){g=-1;h=8;break}l=k[a>>2]|0;j=(k[a+16>>2]|0)+((ha(l,h)|0)<<2)|0;if((l|0)>0){h=i;i=0;do{m=h+1|0;h=(k[b+(h<<2)>>2]|0)+(g<<2)|0;o[h>>2]=+o[j+(i<<2)>>2]+ +o[h>>2];g=((m|0)==(d|0)&1)+g|0;h=(m|0)==(d|0)?0:m;i=i+1|0}while((i|0)<(l|0))}else h=i;if((g|0)<((f+c|0)/(d|0)|0|0))i=h;else{g=0;h=8;break}}if((h|0)==8)return g|0;return 0}function K4a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0.0,i=0.0,j=0,l=0,m=0,n=0,p=0,q=0,s=0,t=0,u=0,v=0;v=r;u=k[a+64>>2]|0;t=k[u+4>>2]|0;s=k[t+28>>2]|0;u=k[u+104>>2]|0;p=k[s+(k[a+28>>2]<<2)>>2]|0;k[a+36>>2]=p;c=k[t+4>>2]|0;l=r;r=r+((1*(c<<2)|0)+15&-16)|0;m=r;r=r+((1*(c<<2)|0)+15&-16)|0;n=r;r=r+((1*(c<<2)|0)+15&-16)|0;q=r;r=r+((1*(c<<2)|0)+15&-16)|0;if((c|0)>0){d=0;do{c=k[b+1028+(k[b+4+(d<<2)>>2]<<2)>>2]|0;c=gj[k[(k[99820+(k[s+800+(c<<2)>>2]<<2)>>2]|0)+20>>2]&511](a,k[(k[u+48>>2]|0)+(c<<2)>>2]|0)|0;k[q+(d<<2)>>2]=c;k[n+(d<<2)>>2]=(c|0)!=0&1;vBb(k[(k[a>>2]|0)+(d<<2)>>2]|0,0,p<<1&2147483646|0)|0;d=d+1|0;c=k[t+4>>2]|0}while((d|0)<(c|0));d=c}else d=c;c=k[b+1156>>2]|0;if((c|0)>0){g=0;do{e=n+(k[b+1160+(g<<2)>>2]<<2)|0;f=k[b+2184+(g<<2)>>2]|0;if(!(k[e>>2]|0)){if(k[n+(f<<2)>>2]|0)j=10}else j=10;if((j|0)==10){j=0;k[e>>2]=1;k[n+(f<<2)>>2]=1}g=g+1|0}while((g|0)<(c|0))}if((k[b>>2]|0)>0){c=0;while(1){if((d|0)>0){e=d;d=0;f=0;do{if((k[b+4+(f<<2)>>2]|0)==(c|0)){k[m+(d<<2)>>2]=(k[n+(f<<2)>>2]|0)!=0&1;k[l+(d<<2)>>2]=k[(k[a>>2]|0)+(f<<2)>>2];e=k[t+4>>2]|0;d=d+1|0}f=f+1|0}while((f|0)<(e|0))}else d=0;j=k[b+1092+(c<<2)>>2]|0;Ni[k[(k[99712+(k[s+1312+(j<<2)>>2]<<2)>>2]|0)+28>>2]&127](a,k[(k[u+52>>2]|0)+(j<<2)>>2]|0,l,m,d)|0;c=c+1|0;if((c|0)>=(k[b>>2]|0))break;d=k[t+4>>2]|0}c=k[b+1156>>2]|0}if((c|0)>0){m=k[a>>2]|0;if((p|0)>1)do{j=c;c=c+-1|0;d=k[m+(k[b+1160+(c<<2)>>2]<<2)>>2]|0;e=k[m+(k[b+2184+(c<<2)>>2]<<2)>>2]|0;l=0;do{f=d+(l<<2)|0;h=+o[f>>2];g=e+(l<<2)|0;i=+o[g>>2];do if(h>0.0)if(i>0.0){o[g>>2]=h-i;break}else{o[g>>2]=h;o[f>>2]=h+i;break}else if(i>0.0){o[g>>2]=h+i;break}else{o[g>>2]=h;o[f>>2]=h-i;break}while(0);l=l+1|0}while((l|0)<((p|0)/2|0|0))}while((j|0)>1)}if((k[t+4>>2]|0)<=0){r=v;return 0}d=0;do{c=k[b+1028+(k[b+4+(d<<2)>>2]<<2)>>2]|0;nj[k[(k[99820+(k[s+800+(c<<2)>>2]<<2)>>2]|0)+24>>2]&127](a,k[(k[u+48>>2]|0)+(c<<2)>>2]|0,k[q+(d<<2)>>2]|0,k[(k[a>>2]|0)+(d<<2)>>2]|0)|0;d=d+1|0;c=k[t+4>>2]|0}while((d|0)<(c|0));if((c|0)<=0){r=v;return 0}c=0;do{b=k[(k[a>>2]|0)+(c<<2)>>2]|0;L4a(k[k[u+12+(k[a+28>>2]<<2)>>2]>>2]|0,b,b);c=c+1|0}while((c|0)<(k[t+4>>2]|0));r=v;return 0}function L4a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0;j=k[a>>2]|0;i=c+(j>>1<<2)+(j>>2<<2)|0;g=k[a+8>>2]|0;d=g+(j>>2<<2)|0;e=b+(j>>1<<2)+-28|0;f=i;while(1){h=f;f=f+-16|0;m=e+8|0;n=d+12|0;l=d+8|0;o[f>>2]=-(+o[m>>2]*+o[n>>2])-+o[e>>2]*+o[l>>2];o[h+-12>>2]=+o[e>>2]*+o[n>>2]-+o[m>>2]*+o[l>>2];l=e+24|0;m=d+4|0;n=e+16|0;o[h+-8>>2]=-(+o[l>>2]*+o[m>>2])-+o[n>>2]*+o[d>>2];o[h+-4>>2]=+o[n>>2]*+o[m>>2]-+o[l>>2]*+o[d>>2];e=e+-32|0;if(e>>>0>>0)break;else d=d+16|0}d=g+(j>>2<<2)|0;e=b+(j>>1<<2)+-32|0;f=i;while(1){h=e+16|0;n=d+-4|0;m=e+24|0;l=d+-8|0;o[f>>2]=+o[h>>2]*+o[n>>2]+ +o[m>>2]*+o[l>>2];o[f+4>>2]=+o[h>>2]*+o[l>>2]-+o[m>>2]*+o[n>>2];n=d+-12|0;d=d+-16|0;m=e+8|0;o[f+8>>2]=+o[e>>2]*+o[n>>2]+ +o[m>>2]*+o[d>>2];o[f+12>>2]=+o[e>>2]*+o[d>>2]-+o[m>>2]*+o[n>>2];e=e+-32|0;if(e>>>0>>0)break;else f=f+16|0}a4a(k[a+4>>2]|0,g,c+(j>>1<<2)|0,j>>1);b=k[a>>2]|0;h=k[a+8>>2]|0;g=h+(b<<2)|0;d=k[a+12>>2]|0;e=c;f=c+(b>>1<<2)|0;while(1){l=c+(b>>1<<2)+(k[d>>2]<<2)|0;n=c+(b>>1<<2)+(k[d+4>>2]<<2)|0;r=+o[l+4>>2];p=+o[n+4>>2];s=+o[l>>2];t=+o[n>>2];q=+o[g>>2];u=+o[g+4>>2];n=f;f=f+-16|0;o[e>>2]=(r+p)*.5+((s+t)*q+(r-p)*u);o[n+-8>>2]=(r+p)*.5-((s+t)*q+(r-p)*u);o[e+4>>2]=(s-t)*.5+((s+t)*u-(r-p)*q);o[n+-4>>2]=(s+t)*u-(r-p)*q-(s-t)*.5;l=c+(b>>1<<2)+(k[d+8>>2]<<2)|0;m=c+(b>>1<<2)+(k[d+12>>2]<<2)|0;t=+o[l+4>>2];s=+o[m+4>>2];q=+o[l>>2];p=+o[m>>2];r=+o[g+8>>2];u=+o[g+12>>2];o[e+8>>2]=(t+s)*.5+((q+p)*r+(t-s)*u);o[f>>2]=(t+s)*.5-((q+p)*r+(t-s)*u);o[e+12>>2]=(q-p)*.5+((q+p)*u-(t-s)*r);o[n+-12>>2]=(q+p)*u-(t-s)*r-(q-p)*.5;e=e+16|0;if(e>>>0>=f>>>0)break;else{g=g+16|0;d=d+16|0}}d=h+(j>>1<<2)|0;e=c;f=i;g=i;while(1){m=d+4|0;l=e+4|0;o[f+-4>>2]=+o[e>>2]*+o[m>>2]-+o[l>>2]*+o[d>>2];o[g>>2]=-(+o[e>>2]*+o[d>>2]+ +o[l>>2]*+o[m>>2]);m=e+8|0;l=d+12|0;a=e+12|0;n=d+8|0;o[f+-8>>2]=+o[m>>2]*+o[l>>2]-+o[a>>2]*+o[n>>2];o[g+4>>2]=-(+o[m>>2]*+o[n>>2]+ +o[a>>2]*+o[l>>2]);l=e+16|0;a=d+20|0;n=e+20|0;m=d+16|0;o[f+-12>>2]=+o[l>>2]*+o[a>>2]-+o[n>>2]*+o[m>>2];f=f+-16|0;o[g+8>>2]=-(+o[l>>2]*+o[m>>2]+ +o[n>>2]*+o[a>>2]);a=e+24|0;n=d+28|0;m=e+28|0;l=d+24|0;o[f>>2]=+o[a>>2]*+o[n>>2]-+o[m>>2]*+o[l>>2];o[g+12>>2]=-(+o[a>>2]*+o[l>>2]+ +o[m>>2]*+o[n>>2]);e=e+32|0;if(e>>>0>=f>>>0)break;else{d=d+32|0;g=g+16|0}}d=i;e=c+(j>>2<<2)|0;f=c+(j>>2<<2)|0;do{n=e;e=e+-16|0;u=+o[d+-4>>2];o[n+-4>>2]=u;o[f>>2]=-u;u=+o[d+-8>>2];o[n+-8>>2]=u;o[f+4>>2]=-u;u=+o[d+-12>>2];d=d+-16|0;o[n+-12>>2]=u;o[f+8>>2]=-u;u=+o[d>>2];o[e>>2]=u;o[f+12>>2]=-u;f=f+16|0}while(f>>>0>>0);e=i;d=i;while(1){n=d;d=d+-16|0;k[d>>2]=k[e+12>>2];k[n+-12>>2]=k[e+8>>2];k[n+-8>>2]=k[e+4>>2];k[n+-4>>2]=k[e>>2];if(d>>>0<=(c+(j>>1<<2)|0)>>>0)break;else e=e+16|0}return}function M4a(a){a=a|0;var b=0;b=a+48|0;do{k[a>>2]=0;a=a+4|0}while((a|0)<(b|0));return}function N4a(a,b){a=a|0;b=b|0;var c=0,d=0;c=b;d=c+112|0;do{k[c>>2]=0;c=c+4|0}while((c|0)<(d|0));k[b+64>>2]=a;k[b+76>>2]=0;k[b+68>>2]=0;if(!(k[a>>2]|0))return 0;c=jqb(1,72)|0;k[b+104>>2]=c;o[c+4>>2]=-9999.0;a=0;while(1)if((a|0)==7){k[c+40>>2]=b+4;V5a(b+4|0);a=8;continue}else{d=jqb(1,20)|0;k[c+12+(a<<2)>>2]=d;V5a(d);a=a+1|0;if((a|0)==15)break;else continue}return 0}function O4a(a){a=a|0;var b=0,c=0;b=k[a+84>>2]|0;if(b|0)do{c=b;b=k[b+4>>2]|0;iqb(k[c>>2]|0);iqb(c)}while((b|0)!=0);b=k[a+80>>2]|0;if(!b){c=a+72|0;k[c>>2]=0;k[a+84>>2]=0;return}c=kqb(k[a+68>>2]|0,(k[a+76>>2]|0)+b|0)|0;k[a+68>>2]=c;k[a+76>>2]=(k[a+76>>2]|0)+(k[a+80>>2]|0);k[a+80>>2]=0;c=a+72|0;k[c>>2]=0;k[a+84>>2]=0;return}function P4a(a){a=a|0;var b=0,c=0,d=0;d=k[a+104>>2]|0;b=k[a+84>>2]|0;if(b|0)do{c=b;b=k[b+4>>2]|0;iqb(k[c>>2]|0);iqb(c)}while((b|0)!=0);c=k[a+80>>2]|0;b=k[a+68>>2]|0;if(c){b=kqb(b,(k[a+76>>2]|0)+c|0)|0;k[a+68>>2]=b;k[a+76>>2]=(k[a+76>>2]|0)+(k[a+80>>2]|0);k[a+80>>2]=0}k[a+72>>2]=0;k[a+84>>2]=0;if(b|0)iqb(b);if(!d){b=a+112|0;do{k[a>>2]=0;a=a+4|0}while((a|0)<(b|0));return 0}else c=0;while(1){b=d+12+(c<<2)|0;X5a(k[b>>2]|0);if((c|0)==7){c=8;continue}iqb(k[b>>2]|0);c=c+1|0;if((c|0)==15)break}iqb(d);b=a+112|0;do{k[a>>2]=0;a=a+4|0}while((a|0)<(b|0));return 0}function Q4a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=k[b+28>>2]|0;if(!i){a=1;return a|0}if((k[i+8>>2]|0)<1){a=1;return a|0}d=k[i>>2]|0;if((d|0)<64){a=1;return a|0}if((k[i+4>>2]|0)<(d|0)){a=1;return a|0}f=k[i+3656>>2]|0;d=a;e=d+112|0;do{k[d>>2]=0;d=d+4|0}while((d|0)<(e|0));h=jqb(1,136)|0;k[a+104>>2]=h;k[a+4>>2]=b;j=H3a((k[i+8>>2]|0)+-1|0)|0;k[h+44>>2]=j;j=jqb(1,4)|0;k[h+12>>2]=j;d=jqb(1,4)|0;k[h+16>>2]=d;e=jqb(1,20)|0;k[j>>2]=e;j=jqb(1,20)|0;k[d>>2]=j;R4a(e,k[i>>2]>>f);R4a(k[k[h+16>>2]>>2]|0,k[i+4>>2]>>f);f=(H3a(k[i>>2]|0)|0)+-7|0;k[h+4>>2]=f;f=(H3a(k[i+4>>2]|0)|0)+-7|0;k[h+8>>2]=f;a:do if(!c){if(!(k[i+2848>>2]|0)){d=jqb(k[i+24>>2]|0,56)|0;k[i+2848>>2]=d;d=k[i+24>>2]|0;if((d|0)>0){c=0;while(1){e=i+1824+(c<<2)|0;f=k[e>>2]|0;if(!f)break;if(X4a((k[i+2848>>2]|0)+(c*56|0)|0,f)|0){g=20;break}_4a(k[e>>2]|0);k[e>>2]=0;c=c+1|0;d=k[i+24>>2]|0;if((c|0)>=(d|0))break a}if((g|0)==20)d=k[i+24>>2]|0;if((d|0)>0){c=0;do{e=i+1824+(c<<2)|0;f=k[e>>2]|0;if(f){_4a(f);k[e>>2]=0;d=k[i+24>>2]|0}c=c+1|0}while((c|0)<(d|0))}$4a(a);j=-1;return j|0}}}else{S4a(h+20|0,k[i>>2]|0);S4a(h+32|0,k[i+4>>2]|0);if(!(k[i+2848>>2]|0)){d=jqb(k[i+24>>2]|0,56)|0;k[i+2848>>2]=d;if((k[i+24>>2]|0)>0){T4a(d,k[i+1824>>2]|0)|0;if((k[i+24>>2]|0)>1){d=1;do{T4a((k[i+2848>>2]|0)+(d*56|0)|0,k[i+1824+(d<<2)>>2]|0)|0;d=d+1|0}while((d|0)<(k[i+24>>2]|0))}}}d=jqb(k[i+28>>2]|0,52)|0;k[h+56>>2]=d;b:do if((k[i+28>>2]|0)>0){e=0;while(1){j=k[i+2852+(e<<2)>>2]|0;V4a(d+(e*52|0)|0,j,i+2868|0,(k[i+(k[j>>2]<<2)>>2]|0)/2|0,k[b+8>>2]|0);e=e+1|0;if((e|0)>=(k[i+28>>2]|0))break b;d=k[h+56>>2]|0}}while(0);k[a>>2]=1}while(0);f=k[i+4>>2]|0;k[a+16>>2]=f;e=k[b+4>>2]|0;d=hqb(e<<2)|0;k[a+8>>2]=d;j=hqb(e<<2)|0;k[a+12>>2]=j;if((e|0)>0){j=jqb(f,4)|0;k[d>>2]=j;if((e|0)>1){d=1;do{j=k[a+8>>2]|0;b=jqb(f,4)|0;k[j+(d<<2)>>2]=b;d=d+1|0}while((d|0)<(e|0))}}k[a+36>>2]=0;k[a+40>>2]=0;j=(k[i+4>>2]|0)/2|0;k[a+48>>2]=j;k[a+20>>2]=j;j=jqb(k[i+16>>2]|0,4)|0;k[h+48>>2]=j;j=jqb(k[i+20>>2]|0,4)|0;k[h+52>>2]=j;if((k[i+16>>2]|0)>0){d=0;do{j=gj[k[(k[99820+(k[i+800+(d<<2)>>2]<<2)>>2]|0)+8>>2]&511](a,k[i+1056+(d<<2)>>2]|0)|0;k[(k[h+48>>2]|0)+(d<<2)>>2]=j;d=d+1|0}while((d|0)<(k[i+16>>2]|0))}if((k[i+20>>2]|0)>0)d=0;else{j=0;return j|0}do{j=gj[k[(k[99712+(k[i+1312+(d<<2)>>2]<<2)>>2]|0)+8>>2]&511](a,k[i+1568+(d<<2)>>2]|0)|0;k[(k[h+52>>2]|0)+(d<<2)>>2]=j;d=d+1|0}while((d|0)<(k[i+20>>2]|0));d=0;return d|0}function R4a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0.0,j=0.0;h=hqb(((b|0)/4|0)<<2)|0;d=hqb(((b|0)/4|0)+b<<2)|0;g=~~+Wnb(+fa(+(+(b|0)))/.6931471805599453);k[a+4>>2]=g;k[a>>2]=b;k[a+8>>2]=d;k[a+12>>2]=h;if((b|0)<=3){i=4.0/+(b|0);b=a+16|0;o[b>>2]=i;return}c=0;do{i=3.141592653589793/+(b|0)*+(c<<2|0);j=+Z(+i);f=c<<1;o[d+(f<<2)>>2]=j;i=-+_(+i);o[d+((f|1)<<2)>>2]=i;i=+Z(+(3.141592653589793/+(b<<1|0)*+(f|1|0)));o[d+(f+(b>>1)<<2)>>2]=i;i=+_(+(3.141592653589793/+(b<<1|0)*+(f|1|0)));o[d+(f+(b>>1)+1<<2)>>2]=i;c=c+1|0}while((c|0)<((b|0)/4|0|0));if((b|0)<=7){j=4.0/+(b|0);b=a+16|0;o[b>>2]=j;return}c=0;do{j=3.141592653589793/+(b|0)*+(c<<2|2|0);i=+Z(+j)*.5;f=(c<<1)+b|0;o[d+(f<<2)>>2]=i;j=+_(+j)*-.5;o[d+(f+1<<2)>>2]=j;c=c+1|0}while((c|0)<((b|0)/8|0|0));if((b|0)>7)e=0;else{j=4.0/+(b|0);b=a+16|0;o[b>>2]=j;return}do{d=1<>f}while((d|0)!=0);f=e<<1;k[h+(f<<2)>>2]=((1<>2]=c;e=e+1|0}while((e|0)<((b|0)/8|0|0));j=4.0/+(b|0);b=a+16|0;o[b>>2]=j;return}function S4a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0.0,i=0.0,j=0,l=0,m=0,n=0,p=0,q=0,r=0,s=0,t=0,u=0.0,v=0.0;k[a>>2]=b;s=jqb(b*3|0,4)|0;k[a+4>>2]=s;t=jqb(32,4)|0;k[a+8>>2]=t;if((b|0)==1)return;e=-1;a=0;d=b;c=0;a:while(1){j=e+1|0;if((j|0)<4)l=k[99832+(j<<2)>>2]|0;else l=c+2|0;if((l|0)==2)f=d;else{c=d;while(1){d=c;c=(c|0)/(l|0)|0;if((d|0)!=(ha(c,l)|0)){e=j;c=l;continue a}d=a+1|0;k[t+(a+2<<2)>>2]=l;if((c|0)==1){m=15;break a}else a=d}}while(1){d=a+1|0;g=f;f=(f|0)/2|0;if((g|0)!=(f<<1|0)){e=j;d=g;c=l;continue a}k[t+(a+2<<2)>>2]=2;c=(a|0)==0;if(!c){if((a|0)>=1){e=1;do{r=d-e|0;k[t+(r+2<<2)>>2]=k[t+(r+1<<2)>>2];e=e+1|0}while((e|0)!=(d|0))}k[t+8>>2]=2}if((g&-2|0)==2){r=a;break a}else a=d}}if((m|0)==15){c=(a|0)==0;r=a}k[t>>2]=b;k[t+4>>2]=d;if((r|0)>0&(c^1)){a=0;p=0;q=1}else return;do{c=k[t+(p+2<<2)>>2]|0;m=q;q=ha(c,q)|0;d=(b|0)/(q|0)|0;do if((c|0)>1){e=ha(d,c+-1|0)|0;if((d|0)>2){j=a;l=0;n=0}else{a=e+a|0;break}while(1){n=n+m|0;h=6.2831854820251465/+(b|0)*+(n|0);i=0.0;f=j;g=2;while(1){i=i+1.0;u=h*i;v=+Z(+u);o[s+(b<<2)+(f<<2)>>2]=v;u=+_(+u);o[s+(b<<2)+(f+1<<2)>>2]=u;g=g+2|0;if((g|0)>=(d|0))break;else f=f+2|0}l=l+1|0;if((l|0)==(c+-1|0))break;else j=j+d|0}a=e+a|0}while(0);p=p+1|0}while((p|0)!=(r|0));return}function T4a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=a;d=c+56|0;do{k[c>>2]=0;c=c+4|0}while((c|0)<(d|0));k[a+12>>2]=b;f=k[b+4>>2]|0;k[a+4>>2]=f;k[a+8>>2]=f;k[a>>2]=k[b>>2];f=U4a(k[b+8>>2]|0,f,0)|0;k[a+20>>2]=f;f=k[b+4>>2]|0;g=k[b>>2]|0;if((g|0)<=0)while(1){}c=~~+V(+(+Y(+(+(f|0)),+(1.0/+(g|0)))));while(1){h=c+1|0;d=1;e=1;i=0;do{d=ha(d,c)|0;e=ha(e,h)|0;i=i+1|0}while((i|0)!=(g|0));if((e|0)>(f|0)&(d|0)<=(f|0))break;c=((d|0)>(f|0)?-1:1)+c|0}k[a+44>>2]=c;i=k[b+16>>2]|0;i=~~+Xnb(+Vnb((i|0)<0?-+(i&2097151|0):+(i&2097151|0),(i>>>21&1023)+-788|0));k[a+48>>2]=i;b=k[b+20>>2]|0;b=~~+Xnb(+Vnb((b|0)<0?-+(b&2097151|0):+(b&2097151|0),(b>>>21&1023)+-788|0));k[a+52>>2]=b;return 0}function U4a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0;p=r;r=r+144|0;d=hqb((c|0?c:b)<<2)|0;vBb(p|0,0,132)|0;do if((b|0)>0){f=0;n=0;a:while(1){m=i[a+n>>0]|0;b:do if(m<<24>>24>0){j=k[p+(m<<24>>24<<2)>>2]|0;if(!(m<<24>>24>31|(j>>>(m<<24>>24)|0)==0)){o=15;break a}e=f+1|0;k[d+(f<<2)>>2]=j;c:do if(!(j&1)){g=j;h=p+(m<<24>>24<<2)|0;l=m<<24>>24;while(1){k[h>>2]=g+1;f=l+-1|0;if((l|0)<=1)break c;g=k[p+(f<<2)>>2]|0;if(g&1|0){g=p+(f<<2)|0;o=7;break}else{h=p+(f<<2)|0;l=f}}}else{g=p+(m<<24>>24<<2)|0;f=m<<24>>24;o=7}while(0);do if((o|0)==7){o=0;if((f|0)==1){k[p+4>>2]=(k[p+4>>2]|0)+1;break}else{k[g>>2]=k[p+(f+-1<<2)>>2]<<1;break}}while(0);if(((m<<24>>24)+1|0)<33){g=m<<24>>24;h=(m<<24>>24)+1|0;while(1){f=p+(h<<2)|0;m=j;j=k[f>>2]|0;if((j>>>1|0)!=(m|0))break b;k[f>>2]=k[p+(g<<2)>>2]<<1;f=h+1|0;if((f|0)>=33)break;else{g=h;h=f}}}}else e=f+((c|0)==0&1)|0;while(0);n=n+1|0;if((n|0)>=(b|0)){o=17;break}else f=e}if((o|0)==15){iqb(d);b=0;r=p;return b|0}else if((o|0)==17){if((e|0)!=1){e=1;o=28;break}if((k[p+8>>2]|0)==2)break;else{e=1;o=28;break}}}else{e=1;o=28}while(0);d:do if((o|0)==28){while(1){if(k[p+(e<<2)>>2]&-1>>>(32-e|0)|0)break;e=e+1|0;if((e|0)>=33)break d;else o=28}iqb(d);b=0;r=p;return b|0}while(0);if((b|0)<=0){b=d;r=p;return b|0}if(c|0){e=0;l=0}else{l=0;do{f=i[a+l>>0]|0;j=d+(l<<2)|0;if(f<<24>>24>0){g=k[j>>2]|0;h=0;e=0;do{e=g>>>h&1|e<<1;h=h+1|0}while((h|0)<(f<<24>>24|0))}else e=0;l=l+1|0;k[j>>2]=e}while((l|0)!=(b|0));r=p;return d|0}do{j=i[a+l>>0]|0;if(j<<24>>24>0){g=k[d+(e<<2)>>2]|0;h=0;f=0;do{f=g>>>h&1|f<<1;h=h+1|0}while((h|0)<(j<<24>>24|0))}else f=0;if(j<<24>>24){k[d+(e<<2)>>2]=f;e=e+1|0}l=l+1|0}while((l|0)!=(b|0));r=p;return d|0}function V4a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0.0,l=0.0,m=0,n=0;f=a;g=f+48|0;do{k[f>>2]=0;f=f+4|0}while((f|0)<(g|0));m=k[c>>2]|0;k[a+36>>2]=m;n=~~(+Wnb(+fa(+(+(m|0)*8.0))/.6931471805599453)+-1.0);k[a+32>>2]=n;m=~~((+fa(+(+(e|0)*.25*.5/+(d|0)))*1.4426950216293335+-5.965784072875977)*+(1<>2]=m;n=1-m+~~((+fa(+((+(d|0)+.25)*+(e|0)*.5/+(d|0)))*1.4426950216293335+-5.965784072875977)*+(1<>2]=n;n=hqb(d<<2)|0;k[a+16>>2]=n;n=hqb(d<<2)|0;k[a+20>>2]=n;n=hqb(d<<2)|0;k[a+24>>2]=n;k[a+4>>2]=b;k[a>>2]=d;k[a+44>>2]=e;o[a+48>>2]=1.0;do if((e|0)<26e3)o[a+48>>2]=0.0;else{if((e|0)<38e3){o[a+48>>2]=.9399999976158142;break}if((e|0)>46e3)o[a+48>>2]=1.274999976158142}while(0);f=0;c=0;a:while(1){g=(c|0)>=(d|0);while(1){if((f|0)>=87)break a;h=f+1|0;i=~~+Wnb(+(d|0)*(+ea(+((+(h|0)*.125+-2.0+5.965784072875977)*.6931470036506653))*2.0)/+(e|0));if((i|0)<=(c|0)|g)f=h;else break}l=+o[99848+(f<<2)>>2];j=(+o[99848+(h<<2)>>2]-l)/+(i-c|0);f=k[a+16>>2]|0;while(1){o[f+(c<<2)>>2]=l+100.0;c=c+1|0;if((c|0)<(i|0)&(c|0)<(d|0))l=j+l;else{f=h;continue a}}}if((c|0)<(d|0)){f=k[a+16>>2]|0;do{k[f+(c<<2)>>2]=k[f+(c+-1<<2)>>2];c=c+1|0}while((c|0)!=(d|0))}if((d|0)>0){i=k[b+120>>2]|0;m=k[a+24>>2]|0;c=1;n=0;f=-99;do{h=ha((e|0)/(d<<1|0)|0,n)|0;l=+ca(+(+(h|0)*7.399999885819852e-04))*13.100000381469727+ +ca(+(+(ha(h,h)|0)*1.8499999754340024e-08))*2.240000009536743+ +(h|0)*9.999999747378752e-05;b:do if((i+f|0)<(n|0)){j=l-+o[b+112>>2];do{h=ha(f,(e|0)/(d<<1|0)|0)|0;if(!(+(h|0)*9.999999747378752e-05+(+ca(+(+(h|0)*7.399999885819852e-04))*13.100000381469727+ +ca(+(+(ha(h,h)|0)*1.8499999754340024e-08))*2.240000009536743)>2]|0)+f|0)<(n|0))}while(0);c:do if((c|0)<=(d|0)){h=(k[b+124>>2]|0)+n|0;g=c;while(1){if((g|0)>=(h|0)){c=ha(g,(e|0)/(d<<1|0)|0)|0;j=+(c|0)*9.999999747378752e-05+(+ca(+(+(c|0)*7.399999885819852e-04))*13.100000381469727+ +ca(+(+(ha(c,c)|0)*1.8499999754340024e-08))*2.240000009536743);if(!(j>2])){c=g;break c}}c=g+1|0;if((g|0)<(d|0))g=c;else break}}while(0);k[m+(n<<2)>>2]=(f<<16)+-65537+c;n=n+1|0}while((n|0)!=(d|0));if((d|0)>0){c=k[a+20>>2]|0;f=0;do{l=+fa(+(+(e|0)*((+(f|0)+.25)*.5)/+(d|0)))*1.4426950216293335+-5.965784072875977;k[c+(f<<2)>>2]=~~(l*+(1<<(k[a+32>>2]|0)+1|0)+.5);f=f+1|0}while((f|0)!=(d|0))}}c=W4a(b+36|0,+(e|0)*.5/+(d|0),d,+o[b+24>>2],+o[b+28>>2])|0;k[a+8>>2]=c;c=hqb(12)|0;k[a+12>>2]=c;b=hqb(d<<2)|0;k[c>>2]=b;b=hqb(d<<2)|0;k[c+4>>2]=b;b=hqb(d<<2)|0;k[c+8>>2]=b;if((d|0)<=0)return;i=k[a+4>>2]|0;g=k[c>>2]|0;h=k[c+4>>2]|0;c=k[c+8>>2]|0;f=0;do{l=(+fa(+(+(e|0)*(+(f|0)+.5)/(+(d|0)*2.0)))*1.4426950216293335+-5.965784072875977)*2.0;l=l<0.0?0.0:l;l=l>=16.0?16.0:l;j=1.0-(l-+(~~l|0));o[g+(f<<2)>>2]=j*+o[i+132+(~~l<<2)>>2]+(l-+(~~l|0))*+o[i+132+(~~l+1<<2)>>2];o[h+(f<<2)>>2]=j*+o[i+200+(~~l<<2)>>2]+(l-+(~~l|0))*+o[i+200+(~~l+1<<2)>>2];o[c+(f<<2)>>2]=j*+o[i+268+(~~l<<2)>>2]+(l-+(~~l|0))*+o[i+268+(~~l+1<<2)>>2];f=f+1|0}while((f|0)!=(d|0));return}function W4a(a,b,c,d,e){a=a|0;b=+b;c=c|0;d=+d;e=+e;var f=0,g=0,h=0.0,i=0.0,j=0,l=0,m=0,n=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0;x=r;r=r+32480|0;v=r;r=r+((1*(c<<2)|0)+15&-16)|0;w=hqb(68)|0;vBb(x+1792|0,0,30464)|0;m=0;do{g=m<<2;j=0;do{f=j+g|0;if((f|0)<88)i=+o[99848+(f<<2)>>2];else i=-30.0;if((f+1|0)<88){h=+o[99848+(f+1<<2)>>2];if(!(i>h))h=i}else if(i>-30.0)h=-30.0;else h=i;if((f+2|0)<88){i=+o[99848+(f+2<<2)>>2];if(!(h>i))i=h}else if(h>-30.0)i=-30.0;else i=h;if((f+3|0)<88){h=+o[99848+(f+3<<2)>>2];if(!(i>h))h=i}else if(i>-30.0)h=-30.0;else h=i;o[x+32256+(j<<2)>>2]=h;j=j+1|0}while((j|0)!=56);u=100200+(m*1344|0)|0;ABb(x+1792+(m*1792|0)+448|0,u|0,224)|0;ABb(x+1792+(m*1792|0)+672|0,100200+(m*1344|0)+224|0,224)|0;ABb(x+1792+(m*1792|0)+896|0,100200+(m*1344|0)+448|0,224)|0;ABb(x+1792+(m*1792|0)+1120|0,100200+(m*1344|0)+672|0,224)|0;ABb(x+1792+(m*1792|0)+1344|0,100200+(m*1344|0)+896|0,224)|0;ABb(x+1792+(m*1792|0)+1568|0,100200+(m*1344|0)+1120|0,224)|0;ABb(x+1792+(m*1792|0)|0,u|0,224)|0;ABb(x+1792+(m*1792|0)+224|0,u|0,224)|0;if(d>0.0){g=0;do{if(d<0.0){f=0;do{u=16-f|0;i=+(((u|0)>-1?u:0-u|0)|0)*e+d;i=i<0.0?0.0:i;u=x+1792+(m*1792|0)+(g*224|0)+(f<<2)|0;o[u>>2]=(i>0.0?0.0:i)+ +o[u>>2];f=f+1|0}while((f|0)!=56)}else{f=0;do{u=16-f|0;i=+(((u|0)>-1?u:0-u|0)|0)*e+d;u=x+1792+(m*1792|0)+(g*224|0)+(f<<2)|0;o[u>>2]=(i<0.0?0.0:i)+ +o[u>>2];f=f+1|0}while((f|0)!=56)}g=g+1|0}while((g|0)!=8)}else{g=0;do{if(d<0.0){f=0;do{u=16-f|0;i=+(((u|0)>-1?u:0-u|0)|0)*e+d;u=x+1792+(m*1792|0)+(g*224|0)+(f<<2)|0;o[u>>2]=(i>0.0?0.0:i)+ +o[u>>2];f=f+1|0}while((f|0)!=56)}else{f=0;do{t=16-f|0;u=x+1792+(m*1792|0)+(g*224|0)+(f<<2)|0;o[u>>2]=+(((t|0)>-1?t:0-t|0)|0)*e+d+ +o[u>>2];f=f+1|0}while((f|0)!=56)}g=g+1|0}while((g|0)!=8)}i=+o[a+(m<<2)>>2]+100.0;j=0;do{h=i-+(((j|0)<2?2:j)|0)*10.0+-30.0;f=0;do{u=x+1792+(m*1792|0)+(j*224|0)+(f<<2)|0;o[u>>2]=h+ +o[u>>2];f=f+1|0}while((f|0)!=56);ABb(x+(j*224|0)|0,x+32256|0,224)|0;h=100.0-+(j|0)*10.0+-30.0;f=0;do{u=x+(j*224|0)+(f<<2)|0;o[u>>2]=h+ +o[u>>2];f=f+1|0}while((f|0)!=56);g=0;do{h=+o[x+1792+(m*1792|0)+(j*224|0)+(g<<2)>>2];f=x+(j*224|0)+(g<<2)|0;if(h>+o[f>>2])o[f>>2]=h;g=g+1|0}while((g|0)!=56);j=j+1|0}while((j|0)!=8);l=1;do{f=l+-1|0;j=0;do{h=+o[x+(f*224|0)+(j<<2)>>2];g=x+(l*224|0)+(j<<2)|0;if(h<+o[g>>2])o[g>>2]=h;j=j+1|0}while((j|0)!=56);g=0;do{h=+o[x+(l*224|0)+(g<<2)>>2];f=x+1792+(m*1792|0)+(l*224|0)+(g<<2)|0;if(h<+o[f>>2])o[f>>2]=h;g=g+1|0}while((g|0)!=56);l=l+1|0}while((l|0)!=8);m=m+1|0}while((m|0)!=17);s=0;do{p=hqb(32)|0;k[w+(s<<2)>>2]=p;d=+(s|0)*.5;n=~~+V(+(+ea(+((d+5.965784072875977)*.6931470036506653))/b));t=~~+ga(+((+fa(+(+(n|0)*b+1.0))*1.4426950216293335+-5.965784072875977)*2.0));n=~~+V(+((+fa(+(+(n+1|0)*b))*1.4426950216293335+-5.965784072875977)*2.0));t=(t|0)>(s|0)?s:t;t=(t|0)<0?0:t;n=(n|0)>16?16:n;s=s+1|0;q=(s|0)<17;u=0;do{a=hqb(232)|0;m=p+(u<<2)|0;k[m>>2]=a;if((c|0)>0){f=0;do{o[v+(f<<2)>>2]=999.0;f=f+1|0}while((f|0)!=(c|0))}if((t|0)<=(n|0)){a=t;while(1){i=+(a|0)*.5;l=0;f=0;do{e=i+ +(l|0)*.125;g=~~(+ea(+((e+-2.0625+5.965784072875977)*.6931470036506653))/b);j=~~(+ea(+((e+-1.9375+5.965784072875977)*.6931470036506653))/b+1.0);g=(g|0)<0?0:g;g=(g|0)>(c|0)?c:g;f=(g|0)<(f|0)?g:f;j=(j|0)<0?0:j;j=(j|0)>(c|0)?c:j;if((f|0)<(j|0)&(f|0)<(c|0)){h=+o[x+1792+(a*1792|0)+(u*224|0)+(l<<2)>>2];do{g=v+(f<<2)|0;if(+o[g>>2]>h)o[g>>2]=h;f=f+1|0}while((f|0)<(j|0)&(f|0)<(c|0))}l=l+1|0}while((l|0)!=56);if((f|0)<(c|0)){h=+o[x+1792+(a*1792|0)+(u*224|0)+220>>2];do{g=v+(f<<2)|0;if(+o[g>>2]>h)o[g>>2]=h;f=f+1|0}while((f|0)!=(c|0))}if((a|0)<(n|0))a=a+1|0;else break}}if(q){l=0;f=0;do{e=d+ +(l|0)*.125;a=~~(+ea(+((e+-2.0625+5.965784072875977)*.6931470036506653))/b);j=~~(+ea(+((e+-1.9375+5.965784072875977)*.6931470036506653))/b+1.0);a=(a|0)<0?0:a;a=(a|0)>(c|0)?c:a;f=(a|0)<(f|0)?a:f;j=(j|0)<0?0:j;j=(j|0)>(c|0)?c:j;if((f|0)<(j|0)&(f|0)<(c|0)){h=+o[x+1792+(s*1792|0)+(u*224|0)+(l<<2)>>2];do{g=v+(f<<2)|0;if(+o[g>>2]>h)o[g>>2]=h;f=f+1|0}while((f|0)<(j|0)&(f|0)<(c|0))}l=l+1|0}while((l|0)!=56);if((f|0)<(c|0)){h=+o[x+1792+(s*1792|0)+(u*224|0)+220>>2];do{g=v+(f<<2)|0;if(+o[g>>2]>h)o[g>>2]=h;f=f+1|0}while((f|0)!=(c|0))}}f=p+(u<<2)|0;g=p+(u<<2)|0;j=p+(u<<2)|0;a=0;do{l=~~(+ea(+((d+ +(a|0)*.125+-2.0+5.965784072875977)*.6931470036506653))/b);do if((l|0)<0)o[(k[f>>2]|0)+(a+2<<2)>>2]=-999.0;else if((l|0)<(c|0)){k[(k[g>>2]|0)+(a+2<<2)>>2]=k[v+(l<<2)>>2];break}else{o[(k[j>>2]|0)+(a+2<<2)>>2]=-999.0;break}while(0);a=a+1|0}while((a|0)!=56);f=k[m>>2]|0;do if(+o[f+8>>2]>-200.0)h=0.0;else if(+o[f+12>>2]>-200.0)h=1.0;else if(+o[f+16>>2]>-200.0)h=2.0;else if(+o[f+20>>2]>-200.0)h=3.0;else if(+o[f+24>>2]>-200.0)h=4.0;else if(+o[f+28>>2]>-200.0)h=5.0;else if(+o[f+32>>2]>-200.0)h=6.0;else if(+o[f+36>>2]>-200.0)h=7.0;else if(+o[f+40>>2]>-200.0)h=8.0;else if(+o[f+44>>2]>-200.0)h=9.0;else if(+o[f+48>>2]>-200.0)h=10.0;else if(+o[f+52>>2]>-200.0)h=11.0;else if(+o[f+56>>2]>-200.0)h=12.0;else if(+o[f+60>>2]>-200.0)h=13.0;else{if(+o[f+64>>2]>-200.0){h=14.0;break}if(+o[f+68>>2]>-200.0){h=15.0;break}h=16.0}while(0);o[f>>2]=h;g=k[m>>2]|0;f=55;do{if(+o[g+(f+2<<2)>>2]>-200.0)break;f=f+-1|0}while((f|0)>17);o[g+4>>2]=+(f|0);u=u+1|0}while((u|0)!=8)}while((s|0)!=17);r=x;return w|0}function X4a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0;o=r;c=a;d=c+56|0;do{k[c>>2]=0;c=c+4|0}while((c|0)<(d|0));f=k[b+4>>2]|0;if((f|0)>0){d=k[b+8>>2]|0;e=0;c=0;do{c=((i[d+e>>0]|0)>0&1)+c|0;e=e+1|0}while((e|0)<(f|0))}else c=0;k[a+4>>2]=f;k[a+8>>2]=c;k[a>>2]=k[b>>2];if((c|0)<=0){a=0;r=o;return a|0}g=U4a(k[b+8>>2]|0,f,c)|0;h=c<<2;e=r;r=r+((1*h|0)+15&-16)|0;if(!g){c=k[a+16>>2]|0;if(c|0)iqb(c);c=k[a+20>>2]|0;if(c|0)iqb(c);c=k[a+24>>2]|0;if(c|0)iqb(c);c=k[a+28>>2]|0;if(c|0)iqb(c);c=k[a+32>>2]|0;if(c|0)iqb(c);c=a;d=c+56|0;do{k[c>>2]=0;c=c+4|0}while((c|0)<(d|0));a=-1;r=o;return a|0}else d=0;do{n=g+(d<<2)|0;m=uBb(k[n>>2]|0)|0;m=(m>>>4&252645135|m<<4&-252645136)>>>2&858993459|(m>>>4&252645135|m<<4&-252645136)<<2&-858993460;k[n>>2]=m>>>1&1431655765|m<<1&-1431655766;k[e+(d<<2)>>2]=n;d=d+1|0}while((d|0)!=(c|0));qnb(e,c,4,370);j=r;r=r+((1*h|0)+15&-16)|0;f=hqb(h)|0;k[a+20>>2]=f;d=0;do{k[j+((k[e+(d<<2)>>2]|0)-g>>2<<2)>>2]=d;d=d+1|0}while((d|0)!=(c|0));d=0;do{k[f+(k[j+(d<<2)>>2]<<2)>>2]=k[g+(d<<2)>>2];d=d+1|0}while((d|0)!=(c|0));iqb(g);e=Z4a(b,c,j)|0;k[a+16>>2]=e;e=hqb(h)|0;k[a+24>>2]=e;g=k[b+4>>2]|0;if((g|0)>0){d=k[b+8>>2]|0;f=0;c=0;do{if((i[d+f>>0]|0)>0){k[e+(k[j+(c<<2)>>2]<<2)>>2]=f;c=c+1|0}f=f+1|0}while((f|0)<(g|0))}else c=0;n=hqb(c)|0;k[a+28>>2]=n;k[a+40>>2]=0;if((g|0)>0){d=0;f=k[b+8>>2]|0;h=0;g=0;while(1){e=i[f+h>>0]|0;if(e<<24>>24>0){c=g+1|0;i[(k[a+28>>2]|0)+(k[j+(g<<2)>>2]|0)>>0]=e;f=k[b+8>>2]|0;d=i[f+h>>0]|0;e=k[a+40>>2]|0;if((d|0)>(e|0))k[a+40>>2]=d;else d=e}else c=g;h=h+1|0;if((h|0)>=(k[b+4>>2]|0))break;else g=c}if((c|0)==1)if((d|0)==1){k[a+36>>2]=1;n=jqb(2,4)|0;k[a+32>>2]=n;k[n+4>>2]=1;k[n>>2]=1;a=0;r=o;return a|0}else n=1;else n=c}else n=0;c=k[a+8>>2]|0;if(!c)c=-4;else{d=0;while(1){c=c>>>1;if(!c){c=d;break}else d=d+1|0}c=c+-3|0}m=(c|0)<5?5:c;m=(m|0)>8?8:m;k[a+36>>2]=m;j=jqb(1<>2]=j;if((n|0)>0){c=m;b=0;do{g=(k[a+28>>2]|0)+b|0;d=i[g>>0]|0;if((c|0)>=(d|0)){h=uBb(k[(k[a+20>>2]|0)+(b<<2)>>2]|0)|0;h=(h>>>4&252645135|h<<4&-252645136)>>>2&858993459|(h>>>4&252645135|h<<4&-252645136)<<2&-858993460;if((c-d|0)!=31){f=b+1|0;e=0;do{k[j+((h>>>1&1431655765|h<<1&-1431655766|e<>2]=f;e=e+1|0;c=k[a+36>>2]|0;d=i[g>>0]|0}while((e|0)<(1<>2]|0;f=0;d=0;e=0;while(1){h=d<<32-c;j=uBb(h|0)|0;j=(j>>>4&252645135|j<<4&-252645136)>>>2&858993459|(j>>>4&252645135|j<<4&-252645136)<<2&-858993460;if(!(k[l+((j>>>1&1431655765|j<<1&-1431655766)<<2)>>2]|0)){while(1){c=e+1|0;if((c|0)>=(n|0))break;if((k[(k[a+20>>2]|0)+(c<<2)>>2]|0)>>>0>h>>>0)break;else e=c}a:do if((n|0)>(f|0)){g=k[a+20>>2]|0;c=f;do{if(h>>>0<(k[g+(c<<2)>>2]&b)>>>0)break a;c=c+1|0}while((n|0)>(c|0))}else c=f;while(0);f=n-c|0;k[(k[a+32>>2]|0)+((j>>>1&1431655765|j<<1&-1431655766)<<2)>>2]=(e>>>0>32767?32767:e)<<15|(f>>>0>32767?32767:f)|-2147483648;f=c}d=d+1|0;if((d|0)>=(1<>2]|0}r=o;return c|0}function Y4a(a,b){a=a|0;b=b|0;a=k[k[a>>2]>>2]|0;b=k[k[b>>2]>>2]|0;return (a>>>0>b>>>0&1)-(a>>>0>>0&1)|0}function Z4a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0.0,j=0,l=0,m=0,n=0.0,p=0,q=0,r=0,s=0.0,t=0.0,u=0;d=k[a+12>>2]|0;if((d+-1|0)>>>0>=2){c=0;return c|0}u=k[a+16>>2]|0;s=+Vnb((u|0)<0?-+(u&2097151|0):+(u&2097151|0),(u>>>21&1023)+-788|0);u=k[a+20>>2]|0;t=+Vnb((u|0)<0?-+(u&2097151|0):+(u&2097151|0),(u>>>21&1023)+-788|0);u=k[a>>2]|0;b=jqb(ha(u,b)|0,4)|0;switch(d|0){case 1:{q=k[a+4>>2]|0;if((u|0)<=0)while(1){}j=~~+V(+(+Y(+(+(q|0)),+(1.0/+(u|0)))));while(1){f=j+1|0;d=1;e=1;g=0;do{d=ha(d,j)|0;e=ha(e,f)|0;g=g+1|0}while((g|0)!=(u|0));if((e|0)>(q|0)&(d|0)<=(q|0))break;j=((d|0)>(q|0)?-1:1)+j|0}if((q|0)<=0){c=b;return c|0}d=0;p=0;do{if(!c){g=k[a+32>>2]|0;l=ha(u,d)|0;if(!(k[a+28>>2]|0)){e=1;f=0;do{n=s+t*+W(+(+(k[g+((((p|0)/(e|0)|0|0)%(j|0)|0)<<2)>>2]|0)))+0.0;o[b+(l+f<<2)>>2]=n;e=ha(e,j)|0;f=f+1|0}while((f|0)<(u|0));r=21}else{e=1;f=0;h=0.0;do{h=h+(s+t*+W(+(+(k[g+((((p|0)/(e|0)|0|0)%(j|0)|0)<<2)>>2]|0))));o[b+(l+f<<2)>>2]=h;e=ha(e,j)|0;f=f+1|0}while((f|0)<(u|0));r=21}}else if(i[(k[a+8>>2]|0)+p>>0]|0){e=k[a+32>>2]|0;f=(k[a+28>>2]|0)==0;g=ha(k[c+(d<<2)>>2]|0,u)|0;l=1;m=0;n=0.0;while(1){h=n+(s+t*+W(+(+(k[e+((((p|0)/(l|0)|0|0)%(j|0)|0)<<2)>>2]|0))));o[b+(g+m<<2)>>2]=h;l=ha(l,j)|0;m=m+1|0;if((m|0)>=(u|0)){r=21;break}else n=f?n:h}}if((r|0)==21){r=0;d=d+1|0}p=p+1|0}while((p|0)<(q|0));return b|0}case 2:{l=k[a+4>>2]|0;if((l|0)<=0){c=b;return c|0}d=0;m=0;do{if(c|0){if(i[(k[a+8>>2]|0)+m>>0]|0)r=25}else r=25;if((r|0)==25){r=0;if((u|0)>0){j=k[a+32>>2]|0;e=(k[a+28>>2]|0)==0;if(c|0){f=ha(u,m)|0;g=ha(k[c+(d<<2)>>2]|0,u)|0;if(e){e=0;do{n=s+t*+W(+(+(k[j+(f+e<<2)>>2]|0)))+0.0;o[b+(g+e<<2)>>2]=n;e=e+1|0}while((e|0)<(u|0))}else{e=0;h=0.0;do{h=h+(s+t*+W(+(+(k[j+(f+e<<2)>>2]|0))));o[b+(g+e<<2)>>2]=h;e=e+1|0}while((e|0)<(u|0))}}else{f=ha(u,m)|0;g=ha(u,d)|0;if(e){e=0;do{n=s+t*+W(+(+(k[j+(f+e<<2)>>2]|0)))+0.0;o[b+(g+e<<2)>>2]=n;e=e+1|0}while((e|0)<(u|0))}else{e=0;h=0.0;do{h=h+(s+t*+W(+(+(k[j+(f+e<<2)>>2]|0))));o[b+(g+e<<2)>>2]=h;e=e+1|0}while((e|0)<(u|0))}}}d=d+1|0}m=m+1|0}while((m|0)<(l|0));return b|0}default:{c=b;return c|0}}return 0}function _4a(a){a=a|0;var b=0;if(!(k[a+36>>2]|0))return;b=k[a+32>>2]|0;if(b|0)iqb(b);b=k[a+8>>2]|0;if(b|0)iqb(b);iqb(a);return}function $4a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(!a)return;f=k[a+4>>2]|0;if(f|0)e=k[f+28>>2]|0;else e=0;g=k[a+104>>2]|0;if(g|0){b=k[g>>2]|0;if(b|0){a5a(b);iqb(k[g>>2]|0)}b=k[g+12>>2]|0;if(b|0){b5a(k[b>>2]|0);iqb(k[k[g+12>>2]>>2]|0);iqb(k[g+12>>2]|0)}b=k[g+16>>2]|0;if(b|0){b5a(k[b>>2]|0);iqb(k[k[g+16>>2]>>2]|0);iqb(k[g+16>>2]|0)}b=k[g+48>>2]|0;if(b|0){if(e){c=e+16|0;if((k[c>>2]|0)>0){d=e+800|0;Si[k[(k[99820+(k[d>>2]<<2)>>2]|0)+16>>2]&1023](k[b>>2]|0);if((k[c>>2]|0)>1){b=1;do{Si[k[(k[99820+(k[d+(b<<2)>>2]<<2)>>2]|0)+16>>2]&1023](k[(k[g+48>>2]|0)+(b<<2)>>2]|0);b=b+1|0}while((b|0)<(k[c>>2]|0))}b=k[g+48>>2]|0}}iqb(b)}b=k[g+52>>2]|0;if(b|0){if(e){c=e+20|0;if((k[c>>2]|0)>0){d=e+1312|0;Si[k[(k[99712+(k[d>>2]<<2)>>2]|0)+16>>2]&1023](k[b>>2]|0);if((k[c>>2]|0)>1){b=1;do{Si[k[(k[99712+(k[d+(b<<2)>>2]<<2)>>2]|0)+16>>2]&1023](k[(k[g+52>>2]|0)+(b<<2)>>2]|0);b=b+1|0}while((b|0)<(k[c>>2]|0))}b=k[g+52>>2]|0}}iqb(b)}b=k[g+56>>2]|0;if(b|0){if(e){c=e+28|0;if((k[c>>2]|0)>0){c5a(b);if((k[c>>2]|0)>1){b=1;do{c5a((k[g+56>>2]|0)+(b*52|0)|0);b=b+1|0}while((b|0)<(k[c>>2]|0))}b=k[g+56>>2]|0}}iqb(b)}b=k[g+60>>2]|0;if(b|0)d5a(b);M4a(g+80|0);e5a(g+20|0);e5a(g+32|0)}b=k[a+8>>2]|0;if(b|0){if(f|0){c=k[f+4>>2]|0;if((c|0)>0){d=0;while(1){b=k[b+(d<<2)>>2]|0;if(b){iqb(b);c=k[f+4>>2]|0}d=d+1|0;if((d|0)>=(c|0))break;b=k[a+8>>2]|0}b=k[a+8>>2]|0}}iqb(b);b=k[a+12>>2]|0;if(b|0)iqb(b)}if(g|0){b=k[g+64>>2]|0;if(b|0)iqb(b);b=k[g+68>>2]|0;if(b|0)iqb(b);b=k[g+72>>2]|0;if(b|0)iqb(b);iqb(g)}b=a+112|0;do{k[a>>2]=0;a=a+4|0}while((a|0)<(b|0));return}function a5a(a){a=a|0;b5a(a+16|0);iqb(k[a+48>>2]|0);iqb(k[a+64>>2]|0);iqb(k[a+80>>2]|0);iqb(k[a+96>>2]|0);iqb(k[a+112>>2]|0);iqb(k[a+128>>2]|0);iqb(k[a+144>>2]|0);iqb(k[a+36>>2]|0);iqb(k[a+152>>2]|0);iqb(k[a+160>>2]|0);vBb(a|0,0,180)|0;return}function b5a(a){a=a|0;var b=0;if(!a)return;b=k[a+8>>2]|0;if(b|0)iqb(b);b=k[a+12>>2]|0;if(b|0)iqb(b);k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;k[a+12>>2]=0;k[a+16>>2]=0;return}function c5a(a){a=a|0;var b=0,c=0;if(!a)return;b=k[a+16>>2]|0;if(b|0)iqb(b);b=k[a+20>>2]|0;if(b|0)iqb(b);b=k[a+24>>2]|0;if(b|0)iqb(b);b=k[a+8>>2]|0;if(b|0){c=0;while(1){iqb(k[k[b+(c<<2)>>2]>>2]|0);iqb(k[(k[(k[a+8>>2]|0)+(c<<2)>>2]|0)+4>>2]|0);iqb(k[(k[(k[a+8>>2]|0)+(c<<2)>>2]|0)+8>>2]|0);iqb(k[(k[(k[a+8>>2]|0)+(c<<2)>>2]|0)+12>>2]|0);iqb(k[(k[(k[a+8>>2]|0)+(c<<2)>>2]|0)+16>>2]|0);iqb(k[(k[(k[a+8>>2]|0)+(c<<2)>>2]|0)+20>>2]|0);iqb(k[(k[(k[a+8>>2]|0)+(c<<2)>>2]|0)+24>>2]|0);iqb(k[(k[(k[a+8>>2]|0)+(c<<2)>>2]|0)+28>>2]|0);iqb(k[(k[a+8>>2]|0)+(c<<2)>>2]|0);c=c+1|0;if((c|0)==17)break;b=k[a+8>>2]|0}iqb(k[a+8>>2]|0)}b=k[a+12>>2]|0;if(b|0){iqb(k[b>>2]|0);iqb(k[(k[a+12>>2]|0)+4>>2]|0);iqb(k[(k[a+12>>2]|0)+8>>2]|0);iqb(k[a+12>>2]|0)}b=a;c=b+52|0;do{k[b>>2]=0;b=b+4|0}while((b|0)<(c|0));return}function d5a(a){a=a|0;if(!a)return;iqb(a);return}function e5a(a){a=a|0;var b=0;if(!a)return;b=k[a+4>>2]|0;if(b|0)iqb(b);b=k[a+8>>2]|0;if(b|0)iqb(b);k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;return}function f5a(a){a=a|0;var b=0,c=0,d=0;b=k[a+4>>2]|0;c=k[a+104>>2]|0;if((b|0)==0|(c|0)==0){a=-1;return a|0}b=k[b+28>>2]|0;if(!b){a=-1;return a|0}d=k[b+3656>>2]|0;b=k[b+4>>2]>>d+1;k[a+48>>2]=b;k[a+20>>2]=b>>d;k[a+24>>2]=-1;k[a+56>>2]=-1;k[a+56+4>>2]=-1;k[a+56+8>>2]=-1;k[a+56+12>>2]=-1;k[a+32>>2]=0;k[c+128>>2]=-1;k[c+128+4>>2]=-1;a=0;return a|0}function g5a(a,b){a=a|0;b=b|0;var c=0,d=0;if(Q4a(a,b,0)|0){$4a(a);a=1;return a|0}b=k[a+4>>2]|0;c=k[a+104>>2]|0;if((b|0)==0|(c|0)==0){a=0;return a|0}b=k[b+28>>2]|0;if(!b){a=0;return a|0}d=k[b+3656>>2]|0;b=k[b+4>>2]>>d+1;k[a+48>>2]=b;k[a+20>>2]=b>>d;k[a+24>>2]=-1;k[a+56>>2]=-1;k[a+56+4>>2]=-1;k[a+56+8>>2]=-1;k[a+56+12>>2]=-1;k[a+32>>2]=0;k[c+128>>2]=-1;k[c+128+4>>2]=-1;a=0;return a|0}function h5a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;s=k[a+4>>2]|0;u=k[s+28>>2]|0;t=k[a+104>>2]|0;v=k[u+3656>>2]|0;if(!b){b=-131;return b|0}h=k[a+20>>2]|0;c=k[a+24>>2]|0;if(!((h|0)<=(c|0)|(c|0)==-1)){b=-131;return b|0}j=k[a+40>>2]|0;k[a+36>>2]=j;l=k[b+28>>2]|0;k[a+40>>2]=l;k[a+44>>2]=-1;d=k[a+64>>2]|0;e=k[a+64+4>>2]|0;if((d|0)==-1&(e|0)==-1){e=k[b+56>>2]|0;d=k[b+56+4>>2]|0;i=6}else{f=xBb(d|0,e|0,1,0)|0;d=L;e=k[b+56>>2]|0;g=k[b+56+4>>2]|0;if((f|0)==(e|0)&(d|0)==(g|0))e=f;else{d=g;i=6}}if((i|0)==6){k[a+56>>2]=-1;k[a+56+4>>2]=-1;k[t+128>>2]=-1;k[t+128+4>>2]=-1}k[a+64>>2]=e;k[a+64+4>>2]=d;if(!(k[b>>2]|0))g=c;else{m=k[u+(l<<2)>>2]>>v+1;n=k[u>>2]>>v+1;p=k[u+4>>2]>>v+1;d=k[b+88>>2]|0;d=xBb(k[a+72>>2]|0,k[a+72+4>>2]|0,d|0,((d|0)<0)<<31>>31|0)|0;k[a+72>>2]=d;k[a+72+4>>2]=L;d=k[b+92>>2]|0;d=xBb(k[a+80>>2]|0,k[a+80+4>>2]|0,d|0,((d|0)<0)<<31>>31|0)|0;k[a+80>>2]=d;k[a+80+4>>2]=L;d=k[b+96>>2]|0;d=xBb(k[a+88>>2]|0,k[a+88+4>>2]|0,d|0,((d|0)<0)<<31>>31|0)|0;k[a+88>>2]=d;k[a+88+4>>2]=L;d=k[b+100>>2]|0;d=xBb(k[a+96>>2]|0,k[a+96+4>>2]|0,d|0,((d|0)<0)<<31>>31|0)|0;k[a+96>>2]=d;k[a+96+4>>2]=L;d=k[a+48>>2]|0;q=(d|0)==0?p:0;r=(d|0)==0?0:p;if((k[s+4>>2]|0)>0){i=((p|0)/2|0)+((n|0)/2|0)|0;e=j;d=l;c=0;while(1){g=(d|0)!=0;a:do if(!e){h=i5a((k[t+4>>2]|0)-v|0)|0;f=k[(k[a+8>>2]|0)+(c<<2)>>2]|0;d=k[(k[b>>2]|0)+(c<<2)>>2]|0;if(!g){if((n|0)>0)e=0;else break;while(1){l=f+(q<<2)+(e<<2)|0;o[l>>2]=+o[l>>2]*+o[h+(n+-1-e<<2)>>2]+ +o[d+(e<<2)>>2]*+o[h+(e<<2)>>2];e=e+1|0;if((e|0)==(n|0))break a}}g=d+(((p|0)/2|0)<<2)+(0-((n|0)/2|0)<<2)|0;if((n|0)>0){e=0;do{l=f+(q<<2)+(e<<2)|0;o[l>>2]=+o[l>>2]*+o[h+(n+-1-e<<2)>>2]+ +o[g+(e<<2)>>2]*+o[h+(e<<2)>>2];e=e+1|0}while((e|0)!=(n|0));e=n}else e=0;if((e|0)<(i|0))do{k[f+(q<<2)+(e<<2)>>2]=k[g+(e<<2)>>2];e=e+1|0}while((e|0)<(i|0))}else if(g){e=i5a((k[t+8>>2]|0)-v|0)|0;f=k[(k[a+8>>2]|0)+(c<<2)>>2]|0;d=k[(k[b>>2]|0)+(c<<2)>>2]|0;if((p|0)>0)g=0;else break;do{l=f+(q<<2)+(g<<2)|0;o[l>>2]=+o[l>>2]*+o[e+(p+-1-g<<2)>>2]+ +o[d+(g<<2)>>2]*+o[e+(g<<2)>>2];g=g+1|0}while((g|0)!=(p|0))}else{e=i5a((k[t+4>>2]|0)-v|0)|0;f=k[(k[a+8>>2]|0)+(c<<2)>>2]|0;d=k[(k[b>>2]|0)+(c<<2)>>2]|0;if((n|0)>0)g=0;else break;do{l=f+(q<<2)+(((p|0)/2|0)<<2)+(((n|0)/-2|0)<<2)+(g<<2)|0;o[l>>2]=+o[l>>2]*+o[e+(n+-1-g<<2)>>2]+ +o[d+(g<<2)>>2]*+o[e+(g<<2)>>2];g=g+1|0}while((g|0)!=(n|0))}while(0);f=f+(r<<2)|0;d=d+(m<<2)|0;if((m|0)>0){e=0;do{k[f+(e<<2)>>2]=k[d+(e<<2)>>2];e=e+1|0}while((e|0)!=(m|0))}c=c+1|0;if((c|0)>=(k[s+4>>2]|0))break;e=k[a+36>>2]|0;d=k[a+40>>2]|0}d=k[a+48>>2]|0;c=k[a+24>>2]|0}k[a+48>>2]=(d|0)==0?p:0;if((c|0)==-1){k[a+24>>2]=r;d=r;c=r}else{k[a+24>>2]=q;d=q;c=(((k[u+(k[a+40>>2]<<2)>>2]|0)/4|0)+((k[u+(k[a+36>>2]<<2)>>2]|0)/4|0)>>v)+q|0}k[a+20>>2]=c;h=c;g=d}c=k[t+128>>2]|0;d=k[t+128+4>>2]|0;if((c|0)==-1&(d|0)==-1){e=0;f=0}else{e=((k[u+(k[a+40>>2]<<2)>>2]|0)/4|0)+((k[u+(k[a+36>>2]<<2)>>2]|0)/4|0)|0;e=xBb(e|0,((e|0)<0)<<31>>31|0,c|0,d|0)|0;f=L}k[t+128>>2]=e;k[t+128+4>>2]=f;c=k[a+56>>2]|0;d=k[a+56+4>>2]|0;do if((c|0)==-1&(d|0)==-1){c=k[b+48>>2]|0;d=k[b+48+4>>2]|0;if(!((c|0)==-1&(d|0)==-1)){k[a+56>>2]=c;k[a+56+4>>2]=d;if((f|0)>(d|0)|(f|0)==(d|0)&e>>>0>c>>>0){c=EBb(e|0,f|0,c|0,d|0)|0;c=(c|0)<0?0:c;if(!(k[b+44>>2]|0)){v=g+(c>>v)|0;k[a+24>>2]=(v|0)>(h|0)?h:v;break}else{u=h-g<>2]=h-(((c|0)>(u|0)?u:c)>>v);break}}}}else{e=((k[u+(k[a+40>>2]<<2)>>2]|0)/4|0)+((k[u+(k[a+36>>2]<<2)>>2]|0)/4|0)|0;c=xBb(e|0,((e|0)<0)<<31>>31|0,c|0,d|0)|0;d=L;k[a+56>>2]=c;k[a+56+4>>2]=d;e=k[b+48>>2]|0;f=k[b+48+4>>2]|0;if(!((e|0)==-1&(f|0)==-1|(c|0)==(e|0)&(d|0)==(f|0))){if((d|0)>(f|0)|(d|0)==(f|0)&c>>>0>e>>>0){c=EBb(c|0,d|0,e|0,f|0)|0;if(c|0)if(k[b+44>>2]|0){u=h-g<(u|0)?u:c;k[a+20>>2]=h-(((u|0)<0?0:u)>>v)}}k[a+56>>2]=e;k[a+56+4>>2]=f}}while(0);if(!(k[b+44>>2]|0)){b=0;return b|0}k[a+32>>2]=1;b=0;return b|0}function i5a(a){a=a|0;return k[66016+(a<<2)>>2]|0}function j5a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=k[a+24>>2]|0;if((e|0)<=-1){b=0;return b|0}f=k[a+20>>2]|0;if((f|0)<=(e|0)){b=0;return b|0}if(b|0){c=k[(k[a+4>>2]|0)+4>>2]|0;if((c|0)>0){d=0;do{k[(k[a+12>>2]|0)+(d<<2)>>2]=(k[(k[a+8>>2]|0)+(d<<2)>>2]|0)+(e<<2);d=d+1|0}while((d|0)<(c|0));c=a+12|0}else c=a+12|0;k[b>>2]=k[c>>2]}b=f-e|0;return b|0}function k5a(a,b){a=a|0;b=b|0;var c=0;c=k[a+24>>2]|0;if(b|0)if((c+b|0)>(k[a+20>>2]|0)){a=-131;return a|0}k[a+24>>2]=c+b;a=0;return a|0}function l5a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;g=k[a+4>>2]|0;e=k[a>>2]|0;if((e|0)<=0)while(1){}a=~~+V(+(+Y(+(+(g|0)),+(1.0/+(e|0)))));while(1){d=a+1|0;b=1;c=1;f=0;do{b=ha(b,a)|0;c=ha(c,d)|0;f=f+1|0}while((f|0)<(e|0));if((b|0)<=(g|0)&(c|0)>(g|0))break;a=((b|0)>(g|0)?-1:1)+a|0}return a|0}function m5a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;h=jqb(1,40)|0;k[h+36>>2]=1;a:do if(($5a(a,24)|0)==5653314){g=$5a(a,16)|0;k[h>>2]=g;g=$5a(a,24)|0;k[h+4>>2]=g;if((g|0)!=-1){g=H3a(k[h>>2]|0)|0;if(((H3a(k[h+4>>2]|0)|0)+g|0)<=24){b:do switch($5a(a,1)|0){case 0:{b=($5a(a,1)|0)!=0;if(((ha(b?1:5,k[h+4>>2]|0)|0)+7>>3|0)>((k[a+16>>2]|0)-(a6a(a)|0)|0))break a;c=k[h+4>>2]|0;g=hqb(c)|0;k[h+8>>2]=g;if(!b){if((c|0)>0)c=0;else break b;while(1){b=$5a(a,5)|0;if((b|0)==-1)break a;i[(k[h+8>>2]|0)+c>>0]=b+1;c=c+1|0;if((c|0)>=(k[h+4>>2]|0))break b}}if((c|0)>0){c=0;do{if(!($5a(a,1)|0))i[(k[h+8>>2]|0)+c>>0]=0;else{b=$5a(a,5)|0;if((b|0)==-1)break a;i[(k[h+8>>2]|0)+c>>0]=b+1}c=c+1|0}while((c|0)<(k[h+4>>2]|0))}break}case 1:{c=($5a(a,5)|0)+1|0;if(!c)break a;b=k[h+4>>2]|0;g=hqb(b)|0;k[h+8>>2]=g;if((b|0)>0){d=0;while(1){g=$5a(a,H3a(b-d|0)|0)|0;if((c|0)>32|(g|0)==-1)break a;b=k[h+4>>2]|0;if((g|0)>(b-d|0))break a;if((g|0)>0){if((g+-1>>c+-1|0)>1)break a;b=c&255;e=d;f=0;while(1){i[(k[h+8>>2]|0)+e>>0]=b;f=f+1|0;if((f|0)==(g|0))break;else e=e+1|0}b=k[h+4>>2]|0;d=g+d|0}if((b|0)>(d|0))c=c+1|0;else break}}break}default:break a}while(0);g=$5a(a,4)|0;k[h+12>>2]=g;switch(g|0){case 2:case 1:break;case 0:return h|0;default:break a}g=$5a(a,32)|0;k[h+16>>2]=g;g=$5a(a,32)|0;k[h+20>>2]=g;g=($5a(a,4)|0)+1|0;k[h+24>>2]=g;g=$5a(a,1)|0;k[h+28>>2]=g;if((g|0)!=-1){switch(k[h+12>>2]|0){case 1:{if(!(k[h>>2]|0))d=0;else d=l5a(h)|0;break}case 2:{d=ha(k[h>>2]|0,k[h+4>>2]|0)|0;break}default:d=0}f=(ha(k[h+24>>2]|0,d)|0)+7>>3;g=k[a+16>>2]|0;if((f|0)<=(g-(a6a(a)|0)|0)){b=hqb(d<<2)|0;k[h+32>>2]=b;if((d|0)>0){c=0;do{g=$5a(a,k[h+24>>2]|0)|0;b=k[h+32>>2]|0;k[b+(c<<2)>>2]=g;c=c+1|0}while((c|0)!=(d|0))}if(!d)return h|0;if((k[b+(d+-1<<2)>>2]|0)!=-1)return h|0}}}}}while(0);_4a(h);h=0;return h|0}function n5a(a){a=a|0;k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;k[a+12>>2]=0;return}function o5a(a){a=a|0;var b=0,c=0,d=0;if(!a)return;b=k[a>>2]|0;if(b|0){c=k[a+8>>2]|0;if((c|0)>0){d=0;while(1){b=k[b+(d<<2)>>2]|0;if(b){iqb(b);c=k[a+8>>2]|0}d=d+1|0;if((d|0)>=(c|0))break;b=k[a>>2]|0}b=k[a>>2]|0}iqb(b)}b=k[a+4>>2]|0;if(b|0)iqb(b);b=k[a+12>>2]|0;if(b|0)iqb(b);k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;k[a+12>>2]=0;return}function p5a(a,b){a=a|0;b=b|0;a=k[a+28>>2]|0;if(!a){b=-1;return b|0}b=k[a+(b<<2)>>2]|0;return b|0}function q5a(a){a=a|0;var b=0;k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;k[a+12>>2]=0;k[a+16>>2]=0;k[a+20>>2]=0;k[a+24>>2]=0;b=jqb(1,3664)|0;k[a+28>>2]=b;return}function r5a(a){a=a|0;var b=0,c=0,d=0,e=0;e=k[a+28>>2]|0;if(!e){k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;k[a+12>>2]=0;k[a+16>>2]=0;k[a+20>>2]=0;k[a+24>>2]=0;k[a+28>>2]=0;return}b=k[e+8>>2]|0;if((b|0)>0){d=0;do{c=k[e+32+(d<<2)>>2]|0;if(c){iqb(c);b=k[e+8>>2]|0}d=d+1|0}while((d|0)<(b|0))}b=k[e+12>>2]|0;if((b|0)>0){d=0;do{c=k[e+544+(d<<2)>>2]|0;if(c){Si[k[(k[99828+(k[e+288+(d<<2)>>2]<<2)>>2]|0)+8>>2]&1023](c);b=k[e+12>>2]|0}d=d+1|0}while((d|0)<(b|0))}b=k[e+16>>2]|0;if((b|0)>0){d=0;do{c=k[e+1056+(d<<2)>>2]|0;if(c){Si[k[(k[99820+(k[e+800+(d<<2)>>2]<<2)>>2]|0)+12>>2]&1023](c);b=k[e+16>>2]|0}d=d+1|0}while((d|0)<(b|0))}b=k[e+20>>2]|0;if((b|0)>0){d=0;do{c=k[e+1568+(d<<2)>>2]|0;if(c){Si[k[(k[99712+(k[e+1312+(d<<2)>>2]<<2)>>2]|0)+12>>2]&1023](c);b=k[e+20>>2]|0}d=d+1|0}while((d|0)<(b|0))}if((k[e+24>>2]|0)>0){c=0;do{b=k[e+1824+(c<<2)>>2]|0;if(b|0)_4a(b);b=k[e+2848>>2]|0;if(b|0)s5a(b+(c*56|0)|0);c=c+1|0}while((c|0)<(k[e+24>>2]|0))}b=k[e+2848>>2]|0;if(b|0)iqb(b);if((k[e+28>>2]|0)>0){b=0;do{t5a(k[e+2852+(b<<2)>>2]|0);b=b+1|0}while((b|0)<(k[e+28>>2]|0))}iqb(e);k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;k[a+12>>2]=0;k[a+16>>2]=0;k[a+20>>2]=0;k[a+24>>2]=0;k[a+28>>2]=0;return}function s5a(a){a=a|0;var b=0;b=k[a+16>>2]|0;if(b|0)iqb(b);b=k[a+20>>2]|0;if(b|0)iqb(b);b=k[a+24>>2]|0;if(b|0)iqb(b);b=k[a+28>>2]|0;if(b|0)iqb(b);b=k[a+32>>2]|0;if(b|0)iqb(b);b=a;a=b+56|0;do{k[b>>2]=0;b=b+4|0}while((b|0)<(a|0));return}function t5a(a){a=a|0;if(a|0)iqb(a);return}function u5a(a){a=a|0;var b=0;b=r;r=r+32|0;if(!a){a=0;r=b;return a|0}Y5a(b,k[a>>2]|0,k[a+4>>2]|0);if(!(k[a+8>>2]|0)){a=0;r=b;return a|0}if(($5a(b,8)|0)!=1){a=0;r=b;return a|0};i[b+20>>0]=0;i[b+20+1>>0]=0;i[b+20+2>>0]=0;i[b+20+3>>0]=0;i[b+20+4>>0]=0;a=($5a(b,8)|0)&255;i[b+20>>0]=a;a=($5a(b,8)|0)&255;i[b+20+1>>0]=a;a=($5a(b,8)|0)&255;i[b+20+2>>0]=a;a=($5a(b,8)|0)&255;i[b+20+3>>0]=a;a=($5a(b,8)|0)&255;i[b+20+4>>0]=a;a=($5a(b,8)|0)&255;i[b+20+5>>0]=a;a=(Emb(b+20|0,593126,6)|0)==0&1;r=b;return a|0}function v5a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=r;r=r+32|0;if(!c){b=-133;r=h;return b|0}Y5a(h,k[c>>2]|0,k[c+4>>2]|0);d=$5a(h,8)|0;i[h+20>>0]=0;i[h+20+1>>0]=0;i[h+20+2>>0]=0;i[h+20+3>>0]=0;i[h+20+4>>0]=0;f=($5a(h,8)|0)&255;i[h+20>>0]=f;f=($5a(h,8)|0)&255;i[h+20+1>>0]=f;f=($5a(h,8)|0)&255;i[h+20+2>>0]=f;f=($5a(h,8)|0)&255;i[h+20+3>>0]=f;f=($5a(h,8)|0)&255;i[h+20+4>>0]=f;f=($5a(h,8)|0)&255;i[h+20+5>>0]=f;a:do if(!(Emb(h+20|0,593126,6)|0))switch(d|0){case 1:{if(!(k[c+8>>2]|0)){d=-133;break a}if(k[a+8>>2]|0){d=-133;break a}d=k[a+28>>2]|0;if(!d){d=-129;break a}b=$5a(h,32)|0;k[a>>2]=b;if(b|0){d=-134;break a}c=$5a(h,8)|0;k[a+4>>2]=c;c=$5a(h,32)|0;k[a+8>>2]=c;c=$5a(h,32)|0;k[a+12>>2]=c;c=$5a(h,32)|0;k[a+16>>2]=c;c=$5a(h,32)|0;k[a+20>>2]=c;c=1<<($5a(h,4)|0);k[d>>2]=c;c=1<<($5a(h,4)|0);k[d+4>>2]=c;if((k[a+8>>2]|0)>=1)if((k[a+4>>2]|0)>=1){b=k[d>>2]|0;if(!((c|0)>8192|((b|0)<64|(c|0)<(b|0))))if(($5a(h,1)|0)==1){d=0;break a}}r5a(a);d=-133;break a}case 3:{if(!(k[a+8>>2]|0)){d=-133;break a}if(k[b+12>>2]|0){d=-133;break a}d=$5a(h,32)|0;b:do if((d|0)<0)g=30;else if((d|0)>((k[h+16>>2]|0)+-8|0))g=30;else{c=jqb(d+1|0,1)|0;k[b+12>>2]=c;if(d|0)while(1){d=d+-1|0;a=($5a(h,8)|0)&255;i[c>>0]=a;if(!d)break;else c=c+1|0}d=$5a(h,32)|0;if((d|0)>=0){a=k[h+16>>2]|0;if((d|0)<=(a-(a6a(h)|0)>>2|0)){k[b+8>>2]=d;a=jqb(d+1|0,4)|0;k[b>>2]=a;a=jqb(d+1|0,4)|0;k[b+4>>2]=a;if((d|0)>0){e=0;do{d=$5a(h,32)|0;if((d|0)<0){f=b;break b}a=k[h+16>>2]|0;if((d|0)>(a-(a6a(h)|0)|0)){g=30;break b}k[(k[b+4>>2]|0)+(e<<2)>>2]=d;a=jqb(d+1|0,1)|0;k[(k[b>>2]|0)+(e<<2)>>2]=a;if(d|0){c=k[(k[b>>2]|0)+(e<<2)>>2]|0;while(1){d=d+-1|0;a=($5a(h,8)|0)&255;i[c>>0]=a;if(!d)break;else c=c+1|0}}e=e+1|0}while((e|0)<(k[b+8>>2]|0))}if(($5a(h,1)|0)==1){d=0;break a}else{f=b;break}}}if(!b){d=-133;break a}else g=30}while(0);if((g|0)==30)f=b;d=k[f>>2]|0;if(d|0){c=k[b+8>>2]|0;if((c|0)>0){e=0;while(1){d=k[d+(e<<2)>>2]|0;if(d){iqb(d);c=k[b+8>>2]|0}e=e+1|0;if((e|0)>=(c|0))break;d=k[f>>2]|0}d=k[b>>2]|0}iqb(d)}d=k[b+4>>2]|0;if(d|0)iqb(d);d=k[b+12>>2]|0;if(d|0)iqb(d);k[b>>2]=0;k[b+4>>2]=0;k[b+8>>2]=0;k[b+12>>2]=0;d=-133;break a}case 5:{if(!(k[a+8>>2]|0)){d=-133;break a}if(!(k[b+12>>2]|0)){d=-133;break a}f=k[a+28>>2]|0;if(!f){d=-129;break a}if((k[f+24>>2]|0)>0){d=-133;break a}b=$5a(h,8)|0;k[f+24>>2]=b+1;c:do if((b|0)>=0){d=0;do{b=m5a(h)|0;k[f+1824+(d<<2)>>2]=b;d=d+1|0;if(!b)break c}while((d|0)<(k[f+24>>2]|0));d=$5a(h,6)|0;if((d|0)>=0){c=0;while(1){if($5a(h,16)|0)break c;if((c|0)<(d|0))c=c+1|0;else break}b=$5a(h,6)|0;k[f+16>>2]=b+1;if((b|0)>=0){c=0;do{d=$5a(h,16)|0;k[f+800+(c<<2)>>2]=d;if(d>>>0>1)break c;b=gj[k[(k[99820+(d<<2)>>2]|0)+4>>2]&511](a,h)|0;k[f+1056+(c<<2)>>2]=b;c=c+1|0;if(!b)break c}while((c|0)<(k[f+16>>2]|0));b=$5a(h,6)|0;k[f+20>>2]=b+1;if((b|0)>=0){c=0;do{d=$5a(h,16)|0;k[f+1312+(c<<2)>>2]=d;if(d>>>0>2)break c;b=gj[k[(k[99712+(d<<2)>>2]|0)+4>>2]&511](a,h)|0;k[f+1568+(c<<2)>>2]=b;c=c+1|0;if(!b)break c}while((c|0)<(k[f+20>>2]|0));b=$5a(h,6)|0;k[f+12>>2]=b+1;if((b|0)>=0){d=0;do{b=$5a(h,16)|0;k[f+288+(d<<2)>>2]=b;if(b|0)break c;b=gj[k[(k[24957]|0)+4>>2]&511](a,h)|0;k[f+544+(d<<2)>>2]=b;d=d+1|0;if(!b)break c}while((d|0)<(k[f+12>>2]|0));b=$5a(h,6)|0;k[f+8>>2]=b+1;if((b|0)>=0){e=0;do{d=jqb(1,16)|0;c=f+32+(e<<2)|0;k[c>>2]=d;d=$5a(h,1)|0;k[k[c>>2]>>2]=d;d=$5a(h,16)|0;k[(k[c>>2]|0)+4>>2]=d;d=$5a(h,16)|0;k[(k[c>>2]|0)+8>>2]=d;d=$5a(h,8)|0;c=k[c>>2]|0;k[c+12>>2]=d;if((k[c+4>>2]|0)>0)break c;if((k[c+8>>2]|0)>0)break c;e=e+1|0;if((d|0)<0?1:(d|0)>=(k[f+12>>2]|0))break c}while((e|0)<(k[f+8>>2]|0));if(($5a(h,1)|0)==1){d=0;break a}}}}}}}while(0);r5a(a);d=-133;break a}default:{d=-133;break a}}else d=-132;while(0);b=d;r=h;return b|0}function w5a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(a|0){c=k[a+64>>2]|0;if(!c){d=0;e=0;f=0;i=0;h=0}else{d=k[c+104>>2]|0;c=k[c+4>>2]|0;if(!c){e=1;f=0;i=0;h=0}else{e=1;f=1;i=k[c+28>>2]|0;h=c}}}else{d=0;e=0;f=0;i=0;h=0}g=a|0?a+4|0:0;if(!((a|0)!=0&((i|0)!=0&(f&(e&(d|0)!=0))))){a=-136;return a|0}O4a(a);Y5a(g,k[b>>2]|0,k[b+4>>2]|0);if($5a(g,1)|0){a=-135;return a|0}c=$5a(g,k[d+44>>2]|0)|0;if((c|0)==-1){a=-136;return a|0}k[a+40>>2]=c;e=i+32+(c<<2)|0;c=k[e>>2]|0;if(!c){a=-136;return a|0}f=k[c>>2]|0;k[a+28>>2]=f;do if(!f){k[a+24>>2]=0;k[a+32>>2]=0;c=0}else{f=$5a(g,1)|0;k[a+24>>2]=f;g=$5a(g,1)|0;k[a+32>>2]=g;if((g|0)==-1){a=-136;return a|0}else{c=k[a+28>>2]|0;break}}while(0);g=k[b+16+4>>2]|0;k[a+48>>2]=k[b+16>>2];k[a+48+4>>2]=g;g=k[b+24+4>>2]|0;k[a+56>>2]=k[b+24>>2];k[a+56+4>>2]=g;k[a+44>>2]=k[b+12>>2];k[a+36>>2]=k[i+(c<<2)>>2];c=h+4|0;b=I3a(a,k[c>>2]<<2)|0;k[a>>2]=b;if((k[c>>2]|0)>0){d=0;do{b=I3a(a,k[a+36>>2]<<2)|0;k[(k[a>>2]|0)+(d<<2)>>2]=b;d=d+1|0}while((d|0)<(k[c>>2]|0))}b=k[(k[e>>2]|0)+12>>2]|0;a=gj[k[(k[99828+(k[i+288+(b<<2)>>2]<<2)>>2]|0)+16>>2]&511](a,k[i+544+(b<<2)>>2]|0)|0;return a|0}function x5a(a,b){a=a|0;b=b|0;var c=0,d=0;d=k[a+64>>2]|0;c=k[d+104>>2]|0;d=k[(k[d+4>>2]|0)+28>>2]|0;O4a(a);Y5a(a+4|0,k[b>>2]|0,k[b+4>>2]|0);if($5a(a+4|0,1)|0){a=-135;return a|0}c=$5a(a+4|0,k[c+44>>2]|0)|0;if((c|0)==-1){a=-136;return a|0}k[a+40>>2]=c;c=k[d+32+(c<<2)>>2]|0;if(!c){a=-136;return a|0}d=k[c>>2]|0;k[a+28>>2]=d;if(!d){k[a+24>>2]=0;k[a+32>>2]=0}else{d=$5a(a+4|0,1)|0;k[a+24>>2]=d;d=$5a(a+4|0,1)|0;k[a+32>>2]=d;if((d|0)==-1){a=-136;return a|0}}d=k[b+16+4>>2]|0;k[a+48>>2]=k[b+16>>2];k[a+48+4>>2]=d;d=k[b+24+4>>2]|0;k[a+56>>2]=k[b+24>>2];k[a+56+4>>2]=d;k[a+44>>2]=k[b+12>>2];k[a+36>>2]=0;k[a>>2]=0;a=0;return a|0}function y5a(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+32|0;c=k[a+28>>2]|0;if(!c)a=-129;else if((k[c+8>>2]|0)<1)a=-129;else{Y5a(d,k[b>>2]|0,k[b+4>>2]|0);if(!($5a(d,1)|0)){a=$5a(d,H3a((k[c+8>>2]|0)+-1|0)|0)|0;if((a|0)==-1)a=-136;else{a=k[c+32+(a<<2)>>2]|0;if(!a)a=-136;else a=k[c+(k[a>>2]<<2)>>2]|0}}else a=-135}r=d;return a|0}function z5a(a){a=a|0;return k[(k[a+28>>2]|0)+3656>>2]|0}function A5a(a){a=a|0;var b=0,c=0;if(!a)return 0;P4a(a+592|0)|0;$4a(a+480|0);h6a(a+120|0)|0;b=k[a+72>>2]|0;if(b|0){c=k[a+52>>2]|0;if(c|0){if((c|0)>0){c=0;do{r5a(b+(c<<5)|0);o5a((k[a+76>>2]|0)+(c<<4)|0);c=c+1|0;b=k[a+72>>2]|0}while((c|0)<(k[a+52>>2]|0))}iqb(b);iqb(k[a+76>>2]|0)}}b=k[a+60>>2]|0;if(b|0)iqb(b);b=k[a+68>>2]|0;if(b|0)iqb(b);b=k[a+64>>2]|0;if(b|0)iqb(b);b=k[a+56>>2]|0;if(b|0)iqb(b);l6a(a+24|0)|0;b=k[a>>2]|0;if(b|0){c=k[a+712>>2]|0;if(c|0)Gi[c&2047](b)|0}vBb(a|0,0,720)|0;return 0}function B5a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=r;r=r+16|0;k[f>>2]=k[e>>2];k[f+4>>2]=k[e+4>>2];k[f+8>>2]=k[e+8>>2];k[f+12>>2]=k[e+12>>2];e=C5a(a,b,c,d,f)|0;if(e|0){b=e;r=f;return b|0}b=F5a(b)|0;r=f;return b|0}function C5a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;g=r;r=r+16|0;if(!a)f=-1;else{f=k[e+4>>2]|0;if(!f)f=-1;else f=nj[f&127](a,0,0,1)|0}k[g+4>>2]=0;k[g>>2]=0;vBb(b|0,0,704)|0;k[b>>2]=a;k[b+704>>2]=k[e>>2];k[b+704+4>>2]=k[e+4>>2];k[b+704+8>>2]=k[e+8>>2];k[b+704+12>>2]=k[e+12>>2];k6a(b+24|0)|0;if(c|0){ABb(m6a(b+24|0,d)|0,c|0,d|0)|0;n6a(b+24|0,d)|0}if((f|0)!=-1)k[b+4>>2]=1;k[b+52>>2]=1;e=jqb(1,32)|0;k[b+72>>2]=e;e=jqb(1,16)|0;k[b+76>>2]=e;g6a(b+120|0,-1)|0;e=D5a(b,k[b+72>>2]|0,k[b+76>>2]|0,g+4|0,g,0)|0;if((e|0)<0){k[b>>2]=0;A5a(b)|0;f=k[g+4>>2]|0}else{d=k[g>>2]|0;c=jqb(d+2|0,4)|0;k[b+64>>2]=c;f=k[b+456>>2]|0;k[b+92>>2]=f;k[c>>2]=f;k[c+4>>2]=d;f=k[g+4>>2]|0;ABb(c+8|0,f|0,d<<2|0)|0;d=jqb(1,8)|0;k[b+56>>2]=d;c=jqb(1,8)|0;k[b+60>>2]=c;k[d>>2]=0;k[d+4>>2]=0;d=k[b+8+4>>2]|0;k[c>>2]=k[b+8>>2];k[c+4>>2]=d;k[b+88>>2]=1}if(!f){r=g;return e|0}iqb(f);r=g;return e|0}function D5a(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,l=0,m=0;m=r;r=r+48|0;if(!f){l=E5a(a,m+32|0,65536,0)|0;f=L;if((l|0)==-128&(f|0)==-1){b=-128;r=m;return b|0}if((f|0)<0){b=-132;r=m;return b|0}else l=m+32|0}else l=f;q5a(b);n5a(c);k[a+88>>2]=2;a:do if(!(c6a(l)|0))j=34;else{b:do if(!d)while(1){if((k[a+88>>2]|0)<3){t6a(a+120|0,f6a(l)|0)|0;q6a(a+120|0,l)|0;if((u6a(a+120|0,m)|0)>0)if(u5a(m)|0){k[a+88>>2]=3;if(v5a(b,c,m)|0){f=-133;break a}}}e=E5a(a,l,65536,0)|0;f=L;if((e|0)==-128&(f|0)==-1){f=-128;break a}if((f|0)<0){f=-132;break a}if((k[a+88>>2]|0)==3){e=k[a+456>>2]|0;if((e|0)==(f6a(l)|0))break b}if(!(c6a(l)|0)){j=34;break a}}else{c:while(1){g=k[d>>2]|0;f=k[e>>2]|0;h=f6a(l)|0;if(!((g|0)==0|(f|0)==0))while(1){f=f+-1|0;if((k[g>>2]|0)==(h|0))break c;if(!f)break;else g=g+4|0}i=f6a(l)|0;h=(k[e>>2]|0)+1|0;k[e>>2]=h;f=k[d>>2]|0;if(!f){g=hqb(4)|0;k[d>>2]=g;f=h}else{g=kqb(f,h<<2)|0;k[d>>2]=g;f=k[e>>2]|0}k[g+(f+-1<<2)>>2]=i;if((k[a+88>>2]|0)<3){t6a(a+120|0,f6a(l)|0)|0;q6a(a+120|0,l)|0;if((u6a(a+120|0,m)|0)>0)if(u5a(m)|0){k[a+88>>2]=3;if(v5a(b,c,m)|0){f=-133;break a}}}i=E5a(a,l,65536,0)|0;f=L;if((i|0)==-128&(f|0)==-1){f=-128;break a}if((f|0)<0){f=-132;break a}if((k[a+88>>2]|0)==3){i=k[a+456>>2]|0;if((i|0)==(f6a(l)|0))break b}if(!(c6a(l)|0)){j=34;break a}}f=k[d>>2]|0;if(f|0)iqb(f);k[d>>2]=0;k[e>>2]=0;f=-133;break a}while(0);q6a(a+120|0,l)|0;j=34}while(0);d:do if((j|0)==34)if((k[a+88>>2]|0)==3){g=0;f=0;e:while(1){h=f;f:while(1){i=(h|0)<2;if(!i){f=0;j=48;break e}switch(u6a(a+120|0,m)|0){case -1:{f=-133;break d}case 0:{f=h;break f}default:{}}f=v5a(b,c,m)|0;if(!f)h=((f|0)==0&1)+h|0;else break d}g:while(1){do{E5a(a,l,65536,0)|0;if((L|0)<0){f=-133;break d}j=k[a+456>>2]|0;if((j|0)==(f6a(l)|0))break g}while(!(c6a(l)|0));if(!g)g=1;else{f=-133;break d}}q6a(a+120|0,l)|0;if(!i){f=0;j=48;break}}if((j|0)==48){r=m;return f|0}}else f=-132;while(0);r5a(b);o5a(c);k[a+88>>2]=2;b=f;r=m;return b|0}function E5a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;a:do if((d|0)>0|(d|0)==0&c>>>0>0){e=xBb(k[a+8>>2]|0,k[a+8+4>>2]|0,c|0,d|0)|0;f=L;if(!((f|0)>0|(f|0)==0&e>>>0>0))if((e|0)==0&(f|0)==0){d=a+24|0;h=16;break}else{e=a+24|0;f=a+704|0;g=a;h=15;break}g=k[a+8+4>>2]|0;if(!((g|0)<(f|0)|((g|0)==(f|0)?(k[a+8>>2]|0)>>>0>>0:0))){a=-1;h=-1;L=a;return h|0}while(1){c=o6a(a+24|0,b)|0;if((c|0)<0){g=EBb(k[a+8>>2]|0,k[a+8+4>>2]|0,c|0,((c|0)<0)<<31>>31|0)|0;k[a+8>>2]=g;k[a+8+4>>2]=L}else{if(c|0){h=29;break a}if((e|0)==0&(f|0)==0){c=-1;d=-1;h=30;break}d=_lb()|0;k[d>>2]=0;if(!(k[a+704>>2]|0))break a;if(!(k[a>>2]|0)){c=-1;d=-2;h=30;break}c=m6a(a+24|0,2048)|0;c=nj[k[a+704>>2]&127](c,1,2048,k[a>>2]|0)|0;if((c|0)<=0){h=25;break a}n6a(a+24|0,c)|0}g=k[a+8+4>>2]|0;if(!((g|0)<(f|0)|((g|0)==(f|0)?(k[a+8>>2]|0)>>>0>>0:0))){c=-1;d=-1;h=30;break}}if((h|0)==30){L=c;return d|0}}else if((c|0)==0&(d|0)==0){d=a+24|0;h=16}else{e=a+24|0;f=a+704|0;g=a;h=15}while(0);b:do if((h|0)==15){while(1){c=o6a(e,b)|0;if((c|0)<0){d=EBb(k[a+8>>2]|0,k[a+8+4>>2]|0,c|0,((c|0)<0)<<31>>31|0)|0;k[a+8>>2]=d;k[a+8+4>>2]=L;continue}if(c|0){h=29;break b}d=_lb()|0;k[d>>2]=0;if(!(k[f>>2]|0))break b;if(!(k[g>>2]|0)){c=-1;d=-2;break}c=m6a(e,2048)|0;c=nj[k[f>>2]&127](c,1,2048,k[g>>2]|0)|0;if((c|0)<=0){h=25;break b}n6a(e,c)|0}L=c;return d|0}else if((h|0)==16){c=o6a(d,b)|0;if((c|0)<0)do{c=EBb(k[a+8>>2]|0,k[a+8+4>>2]|0,c|0,((c|0)<0)<<31>>31|0)|0;k[a+8>>2]=c;k[a+8+4>>2]=L;c=o6a(d,b)|0}while((c|0)<0);if(!c){a=-1;h=-1;L=a;return h|0}else h=29}while(0);if((h|0)==29){h=k[a+8>>2]|0;b=k[a+8+4>>2]|0;g=xBb(h|0,b|0,c|0,((c|0)<0)<<31>>31|0)|0;k[a+8>>2]=g;k[a+8+4>>2]=L;a=b;L=a;return h|0}if((h|0)==25)if(!c)if(!(k[d>>2]|0)){a=-1;h=-2;L=a;return h|0}a=-1;h=-128;L=a;return h|0}function F5a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0;j=r;r=r+16|0;if((k[a+88>>2]|0)!=1){i=-131;r=j;return i|0}k[a+88>>2]=2;if(!(k[a+4>>2]|0)){k[a+88>>2]=3;i=0;r=j;return i|0}e=k[a+60>>2]|0;d=k[e>>2]|0;e=k[e+4>>2]|0;k[j>>2]=-1;k[j+4>>2]=-1;f=k[a+456>>2]|0;k[j+8>>2]=f;g=G5a(a,k[a+72>>2]|0)|0;h=L;b=k[a+708>>2]|0;do if(!b)i=5;else if(!(k[a+716>>2]|0))i=5;else{nj[b&127](k[a>>2]|0,0,0,2)|0;b=Gi[k[a+716>>2]&2047](k[a>>2]|0)|0;k[a+16>>2]=b;k[a+16+4>>2]=((b|0)<0)<<31>>31;k[a+8>>2]=b;k[a+8+4>>2]=((b|0)<0)<<31>>31;if((b|0)==-1){b=-131;c=a;i=11}else{c=k[a+64>>2]|0;b=H5a(a,b,((b|0)<0)<<31>>31,c+8|0,k[c+4>>2]|0,j+8|0,j)|0;c=L;if((c|0)>=0){l=k[a+64>>2]|0;if((I5a(a,0,0,d,e,b,c,k[j>>2]|0,k[j+4>>2]|0,k[j+8>>2]|0,l+8|0,k[l+4>>2]|0,0)|0)<0){b=-128;c=a;i=11;break}b=k[a+56>>2]|0;k[b>>2]=0;k[b+4>>2]=0;k[k[a+64>>2]>>2]=f;b=k[a+60>>2]|0;k[b>>2]=d;k[b+4>>2]=e;b=k[a+68>>2]|0;k[b>>2]=g;k[b+4>>2]=h;h=EBb(k[b+8>>2]|0,k[b+8+4>>2]|0,g|0,h|0)|0;l=L;k[b+8>>2]=(l|0)<0?0:h;k[b+8+4>>2]=(l|0)<0?0:l;b=J5a(a,d,e)|0}if(!b){l=0;r=j;return l|0}else c=a}}while(0);if((i|0)==5){k[a+8>>2]=-1;k[a+8+4>>2]=-1;k[a+8+8>>2]=-1;k[a+8+12>>2]=-1;b=-131;c=a;i=11}k[c>>2]=0;A5a(a)|0;l=b;r=j;return l|0}function G5a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=r;r=r+48|0;g=k[a+456>>2]|0;E5a(a,h+32|0,-1,-1)|0;a:do if((L|0)<0){c=0;d=0}else{d=0;c=0;e=-1;while(1){if(c6a(h+32|0)|0)break a;if((f6a(h+32|0)|0)==(g|0)){q6a(a+120|0,h+32|0)|0;b:while(1){f=e;while(1){e=u6a(a+120|0,h)|0;if(!e){e=f;break b}while(1){if((e|0)>0){e=y5a(b,h)|0;if((e|0)>-1)break}e=u6a(a+120|0,h)|0;if(!e){e=f;break b}}if((f|0)==-1)f=e;else break}f=xBb(e+f>>2|0,((e+f>>2|0)<0)<<31>>31|0,d|0,c|0)|0;d=f;c=L}f=e6a(h+32|0)|0;if(!((f|0)==-1&(L|0)==-1))break}E5a(a,h+32|0,-1,-1)|0;if((L|0)<0)break a}b=e6a(h+32|0)|0;d=EBb(b|0,L|0,d|0,c|0)|0;c=L}while(0);b=(c|0)<0;L=b?0:c;r=h;return (b?0:d)|0}function H5a(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;K=r;r=r+16|0;a:do if((d|0)==0|(e|0)==0){l=-1;m=-1;i=b;h=c;n=-1;b:while(1){while(1){t=xBb(i|0,h|0,-65536,-1)|0;h=L;t=(h|0)<0?0:t;h=(h|0)<0?0:h;i=k[a>>2]|0;if(!i){y=-1;z=-129;h=35;break b}if((k[a+8>>2]|0)==(t|0)?(k[a+8+4>>2]|0)==(h|0):0){j=h;i=t}else{j=k[a+708>>2]|0;if(!j){y=-1;z=-128;h=35;break b}if((nj[j&127](i,t,h,0)|0)==-1){y=-1;z=-128;h=35;break b}k[a+8>>2]=t;k[a+8+4>>2]=h;r6a(a+24|0)|0;j=k[a+8+4>>2]|0;i=k[a+8>>2]|0}if((j|0)<(c|0)|(j|0)==(c|0)&i>>>0>>0)break;else i=t}p=-1;s=-1;while(1){o=EBb(b|0,c|0,i|0,j|0)|0;o=E5a(a,K,o,L)|0;q=L;if((o|0)==-128&(q|0)==-1){y=-1;z=-128;h=35;break b}if((q|0)<0){j=p;i=s;break}n=f6a(K)|0;l=e6a(K)|0;m=L;if((n|0)==(k[f>>2]|0)){k[g>>2]=l;k[g+4>>2]=m}i=k[a+8>>2]|0;j=k[a+8+4>>2]|0;if(!((j|0)<(c|0)|(j|0)==(c|0)&i>>>0>>0)){j=o;i=q;break}else{p=o;s=q}}if((j|0)==-1&(i|0)==-1)i=t;else{F=l;G=m;H=j;I=i;J=n;break a}}if((h|0)==35){L=y;r=K;return z|0}}else{o=-1;p=-1;l=-1;m=-1;i=b;h=c;n=-1;c:while(1){while(1){v=xBb(i|0,h|0,-65536,-1)|0;h=L;v=(h|0)<0?0:v;h=(h|0)<0?0:h;j=k[a>>2]|0;if(!j){y=-1;z=-129;h=35;break c}if((k[a+8>>2]|0)==(v|0)?(k[a+8+4>>2]|0)==(h|0):0){j=h;i=v}else{i=k[a+708>>2]|0;if(!i){y=-1;z=-128;h=35;break c}if((nj[i&127](j,v,h,0)|0)==-1){y=-1;z=-128;h=35;break c}k[a+8>>2]=v;k[a+8+4>>2]=h;r6a(a+24|0)|0;j=k[a+8+4>>2]|0;i=k[a+8>>2]|0}if((j|0)<(c|0)|(j|0)==(c|0)&i>>>0>>0)break;else i=v}q=-1;s=-1;while(1){t=EBb(b|0,c|0,i|0,j|0)|0;t=E5a(a,K,t,L)|0;u=L;if((t|0)==-128&(u|0)==-1){y=-1;z=-128;h=35;break c}if((u|0)<0){j=q;i=s;break}n=f6a(K)|0;o=e6a(K)|0;p=L;if((n|0)==(k[f>>2]|0)){k[g>>2]=o;k[g+4>>2]=p;l=t;m=u}i=d;j=e;while(1){j=j+-1|0;if((k[i>>2]|0)==(n|0))break;if(!j){l=-1;m=-1;break}else i=i+4|0}i=k[a+8>>2]|0;j=k[a+8+4>>2]|0;if(!((j|0)<(c|0)|(j|0)==(c|0)&i>>>0>>0)){j=t;i=u;break}else{q=t;s=u}}if((j|0)==-1&(i|0)==-1)i=v;else{w=m;x=l;A=j;B=i;C=o;D=p;E=n;h=33;break}}if((h|0)==33){if((w|0)>-1|(w|0)==-1&x>>>0>4294967295){y=w;z=x}else{F=C;G=D;H=A;I=B;J=E;break}L=y;r=K;return z|0}else if((h|0)==35){L=y;r=K;return z|0}}while(0);k[f>>2]=J;k[g>>2]=F;k[g+4>>2]=G;J=I;f=H;L=J;r=K;return f|0}function I5a(a,b,c,d,e,f,g,h,i,j,l,m,n){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;l=l|0;m=m|0;n=n|0;var o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=r;r=r+112|0;k[A+8>>2]=h;k[A+8+4>>2]=i;k[A+96>>2]=j;k[A>>2]=-1;k[A+4>>2]=-1;y=k[a+456>>2]|0;a:do if((l|0)==0|(m|0)==0)z=13;else{o=l;p=m;while(1){p=p+-1|0;if((k[o>>2]|0)==(j|0))break;if(!p){z=13;break a}else o=o+4|0}if((y|0)!=(j|0)){o=f;p=g;while(1){k[A+96>>2]=y;o=H5a(a,o,p,l,m,A+96|0,A+8|0)|0;if((k[A+96>>2]|0)==(y|0))break;else p=L}}k[a+52>>2]=n+1;o=k[a+56>>2]|0;if(o|0)iqb(o);o=k[a+64>>2]|0;if(o|0)iqb(o);o=k[a+60>>2]|0;if(o|0)iqb(o);j=k[a+52>>2]|0;i=hqb((j<<3)+8|0)|0;k[a+56>>2]=i;j=kqb(k[a+72>>2]|0,j<<5)|0;k[a+72>>2]=j;j=kqb(k[a+76>>2]|0,k[a+52>>2]<<4)|0;k[a+76>>2]=j;j=k[a+52>>2]|0;i=hqb(j<<2)|0;k[a+64>>2]=i;i=hqb(j<<3)|0;k[a+60>>2]=i;j=hqb(j<<4)|0;k[a+68>>2]=j;a=k[a+56>>2]|0;k[a+(n+1<<3)>>2]=f;k[a+(n+1<<3)+4>>2]=g;k[a+(n<<3)>>2]=b;k[a+(n<<3)+4>>2]=c;a=k[A+8+4>>2]|0;k[j+((n<<1|1)<<3)>>2]=(a|0)<0?0:k[A+8>>2]|0;k[j+((n<<1|1)<<3)+4>>2]=(a|0)<0?0:a}while(0);if((z|0)==13){k[A+76>>2]=0;k[A+72>>2]=0;k[A+16>>2]=y+1;b:do if((g|0)>(e|0)|(g|0)==(e|0)&f>>>0>d>>>0){o=e;b=f;c=g;p=f;e=g;while(1){if((l|0)==0|(m|0)==0)break;c:while(1){x=EBb(p|0,e|0,d|0,o|0)|0;w=L;if((w|0)<0|(w|0)==0&x>>>0<65536){w=d;x=o}else{w=xBb(p|0,e|0,d|0,o|0)|0;w=IBb(w|0,L|0,2,0)|0;x=L}q=k[a>>2]|0;if(!q){p=0;o=-129;break b}if(!((k[a+8>>2]|0)==(w|0)?(k[a+8+4>>2]|0)==(x|0):0)){s=k[a+708>>2]|0;if(!s){p=0;o=-128;break b}if((nj[s&127](q,w,x,0)|0)==-1){p=0;o=-128;break b}k[a+8>>2]=w;k[a+8+4>>2]=x;r6a(a+24|0)|0}u=E5a(a,A+80|0,-1,-1)|0;v=L;if((u|0)==-128&(v|0)==-1){p=0;o=-128;break b}if((v|0)>=0){t=f6a(A+80|0)|0;q=l;s=m;while(1){s=s+-1|0;if((k[q>>2]|0)==(t|0))break c;if(!s)break;else q=q+4|0}}b=(v|0)>-1|(v|0)==-1&u>>>0>4294967295?u:b;c=(v|0)>-1|(v|0)==-1&u>>>0>4294967295?v:c;if((x|0)>(o|0)|(x|0)==(o|0)&w>>>0>d>>>0){p=w;e=x}else{s=b;q=c;z=28;break b}}d=k[a+8>>2]|0;o=k[a+8+4>>2]|0;if(!((e|0)>(o|0)|(e|0)==(o|0)&p>>>0>d>>>0)){s=b;q=c;z=28;break b}}while(1){x=EBb(p|0,e|0,d|0,o|0)|0;w=L;if((w|0)<0|(w|0)==0&x>>>0<65536){q=d;s=o}else{q=xBb(p|0,e|0,d|0,o|0)|0;q=IBb(q|0,L|0,2,0)|0;s=L}p=k[a>>2]|0;if(!p){p=0;o=-129;break b}if(!((k[a+8>>2]|0)==(q|0)?(k[a+8+4>>2]|0)==(s|0):0)){e=k[a+708>>2]|0;if(!e){p=0;o=-128;break b}if((nj[e&127](p,q,s,0)|0)==-1){p=0;o=-128;break b}k[a+8>>2]=q;k[a+8+4>>2]=s;r6a(a+24|0)|0}p=E5a(a,A+80|0,-1,-1)|0;e=L;if((p|0)==-128&(e|0)==-1){p=0;o=-128;break b}b=(e|0)>-1|(e|0)==-1&p>>>0>4294967295?p:b;c=(e|0)>-1|(e|0)==-1&p>>>0>4294967295?e:c;if((s|0)>(o|0)|(s|0)==(o|0)&q>>>0>d>>>0){p=q;e=s}else{s=b;q=c;z=28;break}}}else{s=f;q=g;z=28}while(0);do if((z|0)==28){o=s;p=q;while(1){k[A+16>>2]=y;o=H5a(a,o,p,l,m,A+16|0,A)|0;if((k[A+16>>2]|0)==(y|0))break;else p=L}o=k[a>>2]|0;if(!o){p=0;o=-129}else{if(!((k[a+8>>2]|0)==(s|0)?(k[a+8+4>>2]|0)==(q|0):0)){p=k[a+708>>2]|0;if(!p){p=0;o=-128;break}if((nj[p&127](o,s,q,0)|0)==-1){p=0;o=-128;break}k[a+8>>2]=s;k[a+8+4>>2]=q;r6a(a+24|0)|0}o=D5a(a,A+40|0,A+24|0,A+76|0,A+72|0,0)|0;if(!o){p=k[a+456>>2]|0;d=k[a+8>>2]|0;e=k[a+8+4>>2]|0;b=G5a(a,A+40|0)|0;c=L;o=I5a(a,s,q,k[a+8>>2]|0,k[a+8+4>>2]|0,f,g,h,i,j,k[A+76>>2]|0,k[A+72>>2]|0,n+1|0)|0;if(!o){o=k[A+76>>2]|0;if(o|0)iqb(o);o=(k[a+56>>2]|0)+(n+1<<3)|0;k[o>>2]=s;k[o+4>>2]=q;k[(k[a+64>>2]|0)+(n+1<<2)>>2]=p;o=(k[a+60>>2]|0)+(n+1<<3)|0;k[o>>2]=d;k[o+4>>2]=e;o=(k[a+72>>2]|0)+(n+1<<5)|0;k[o>>2]=k[A+40>>2];k[o+4>>2]=k[A+40+4>>2];k[o+8>>2]=k[A+40+8>>2];k[o+12>>2]=k[A+40+12>>2];k[o+16>>2]=k[A+40+16>>2];k[o+20>>2]=k[A+40+20>>2];k[o+24>>2]=k[A+40+24>>2];k[o+28>>2]=k[A+40+28>>2];o=(k[a+76>>2]|0)+(n+1<<4)|0;k[o>>2]=k[A+24>>2];k[o+4>>2]=k[A+24+4>>2];k[o+8>>2]=k[A+24+8>>2];k[o+12>>2]=k[A+24+12>>2];o=k[A+4>>2]|0;p=k[a+68>>2]|0;k[p+((n<<1|1)<<3)>>2]=k[A>>2];k[p+((n<<1|1)<<3)+4>>2]=o;k[p+((n<<1)+2<<3)>>2]=b;k[p+((n<<1)+2<<3)+4>>2]=c;a=EBb(k[p+((n<<1)+3<<3)>>2]|0,k[p+((n<<1)+3<<3)+4>>2]|0,b|0,c|0)|0;o=L;k[p+((n<<1)+3<<3)>>2]=(o|0)<0?0:a;k[p+((n<<1)+3<<3)+4>>2]=(o|0)<0?0:o;p=1;o=0}else p=0}else p=0}}while(0);if(!p){a=o;r=A;return a|0}}a=0;r=A;return a|0}function J5a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0;o=r;r=r+416|0;d=k[a+88>>2]|0;if((d|0)<2){n=-131;r=o;return n|0}if(!(k[a+4>>2]|0)){n=-138;r=o;return n|0}if((c|0)<0){n=-131;r=o;return n|0}m=k[a+16+4>>2]|0;if((m|0)<(c|0)|((m|0)==(c|0)?(k[a+16>>2]|0)>>>0>>0:0)){n=-131;r=o;return n|0}do if((d|0)>2){d=k[a+96>>2]|0;e=k[a+56>>2]|0;m=k[e+(d<<3)+4>>2]|0;if(!((m|0)>(c|0)|((m|0)==(c|0)?(k[e+(d<<3)>>2]|0)>>>0>b>>>0:0))){m=k[e+(d+1<<3)+4>>2]|0;if((m|0)>(c|0)|((m|0)==(c|0)?(k[e+(d+1<<3)>>2]|0)>>>0>b>>>0:0))break}$4a(a+480|0);P4a(a+592|0)|0;k[a+88>>2]=2}while(0);k[a+80>>2]=-1;k[a+80+4>>2]=-1;t6a(a+120|0,k[a+92>>2]|0)|0;f5a(a+480|0)|0;d=k[a>>2]|0;do if(d|0){if(!((k[a+8>>2]|0)==(b|0)?(k[a+8+4>>2]|0)==(c|0):0)){e=k[a+708>>2]|0;if(!e)break;if((nj[e&127](d,b,c,0)|0)==-1)break;k[a+8>>2]=b;k[a+8+4>>2]=c;r6a(a+24|0)|0}g6a(o+32|0,k[a+92>>2]|0)|0;s6a(o+32|0)|0;b=0;d=0;m=0;e=0;a:while(1){l=(m|0)==0;b:do if(l){g=e;while(1){while(1){if((k[a+88>>2]|0)>2)if((u6a(o+32|0,o)|0)>0){e=k[a+96>>2]|0;c=k[a+72>>2]|0;if(k[c+(e<<5)+28>>2]|0)break b;u6a(a+120|0,0)|0}h=E5a(a,o+392|0,-1,-1)|0;i=L;if((i|0)<0){n=46;break a}if((k[a+88>>2]|0)>2){j=k[a+92>>2]|0;if((j|0)!=(f6a(o+392|0)|0))if(c6a(o+392|0)|0){$4a(a+480|0);P4a(a+592|0)|0;k[a+88>>2]=2;h6a(o+32|0)|0}if((k[a+88>>2]|0)>=3)break}j=f6a(o+392|0)|0;f=k[a+52>>2]|0;c:do if((f|0)>0){c=k[a+64>>2]|0;e=0;do{if((k[c+(e<<2)>>2]|0)==(j|0))break c;e=e+1|0}while((e|0)<(f|0))}else e=0;while(0);if((e|0)!=(f|0)){d=e;n=48;break}}if((n|0)==48){n=0;k[a+96>>2]=d;k[a+92>>2]=j;t6a(a+120|0,j)|0;t6a(o+32|0,j)|0;k[a+88>>2]=3;d=(k[a+60>>2]|0)+(d<<3)|0;j=k[d+4>>2]|0;d=((i|0)<(j|0)|((i|0)==(j|0)?h>>>0<=(k[d>>2]|0)>>>0:0))&1}q6a(a+120|0,o+392|0)|0;q6a(o+32|0,o+392|0)|0;e=d6a(o+392|0)|0;if(l)g=e;else{f=e;n=32;break}}}else{f=e;n=32}while(0);if((n|0)==32){n=0;if((k[a+88>>2]|0)<=2){n=47;break}if((u6a(o+32|0,o)|0)<=0){n=47;break}e=k[a+96>>2]|0;c=k[a+72>>2]|0;if(!(k[c+(e<<5)+28>>2]|0)){n=45;break}else g=f}e=y5a(c+(e<<5)|0,o)|0;do if((e|0)<0){u6a(a+120|0,0)|0;e=0}else{if(!((g|0)==0|(d|0)!=0)){u6a(a+120|0,0)|0;break}if(!l)b=(e+m>>2)+b|0}while(0);c=k[o+16>>2]|0;f=k[o+16+4>>2]|0;if((c|0)==-1&(f|0)==-1){m=e;e=g}else{n=42;break}}if((n|0)==42){g=k[a+96>>2]|0;h=k[a+68>>2]|0;e=EBb(c|0,f|0,k[h+(g<<1<<3)>>2]|0,k[h+(g<<1<<3)+4>>2]|0)|0;d=L;e=(d|0)<0?0:e;d=(d|0)<0?0:d;if((g|0)>0){c=0;do{m=h+((c<<1|1)<<3)|0;e=xBb(k[m>>2]|0,k[m+4>>2]|0,e|0,d|0)|0;d=L;c=c+1|0}while((c|0)!=(g|0))}l=EBb(e|0,d|0,b|0,((b|0)<0)<<31>>31|0)|0;m=L;k[a+80>>2]=(m|0)<0?0:l;k[a+80+4>>2]=(m|0)<0?0:m}else if((n|0)==45){u6a(a+120|0,0)|0;n=47}else if((n|0)==46){m=K5a(a,-1)|0;k[a+80>>2]=m;k[a+80+4>>2]=L}if((n|0)==47){k[a+80>>2]=-1;k[a+80+4>>2]=-1}h6a(o+32|0)|0;k[a+104>>2]=0;k[a+104+4>>2]=0;k[a+104+8>>2]=0;k[a+104+12>>2]=0;n=0;r=o;return n|0}while(0);k[a+80>>2]=-1;k[a+80+4>>2]=-1;h6a(o+32|0)|0;$4a(a+480|0);P4a(a+592|0)|0;k[a+88>>2]=2;n=-137;r=o;return n|0}function K5a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;do if((k[a+88>>2]|0)<2){c=-1;b=-131}else if(!(k[a+4>>2]|0)){c=-1;b=-131}else{e=k[a+52>>2]|0;if((e|0)>(b|0)){if((b|0)>=0){b=(k[a+68>>2]|0)+((b<<1|1)<<3)|0;c=k[b+4>>2]|0;b=k[b>>2]|0;break}if((e|0)>0){b=0;c=0;d=0;do{f=K5a(a,d)|0;b=xBb(f|0,L|0,b|0,c|0)|0;c=L;d=d+1|0}while((d|0)<(e|0))}else{c=0;b=0}}else{c=-1;b=-131}}while(0);L=c;return b|0}function L5a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,q=0,s=0,t=0,u=0;t=r;r=r+48|0;d=M5a(a,b,c)|0;if((d|0)<0){a=d;r=t;return a|0}d=k[a+88>>2]|0;if((d|0)>3){j=a+592|0;s=a+480|0;l=a+4|0;m=a+104|0;n=a+104|0;o=a+72|0}else{if((d|0)<3){a=-129;r=t;return a|0}d=k[a+72>>2]|0;if(!(k[a+4>>2]|0)){if(g5a(a+480|0,d)|0){a=-137;r=t;return a|0}}else if(g5a(a+480|0,d+(k[a+96>>2]<<5)|0)|0){a=-137;r=t;return a|0}N4a(a+480|0,a+592|0)|0;k[a+88>>2]=4;k[a+104>>2]=0;k[a+104+4>>2]=0;k[a+104+8>>2]=0;k[a+104+12>>2]=0;j=a+592|0;s=a+480|0;l=a+4|0;m=a+104|0;n=a+104|0;o=a+72|0}d=0;a:while(1){e=v6a(a+120|0,t)|0;b:do if((e|0)>0)q=11;else{while(1){if((e|0)<0&(e|0)!=-3)break a;E5a(a,t+32|0,-1,-1)|0;if((L|0)<0)break a;if(!(c6a(t+32|0)|0)){if((k[a+88>>2]|0)>=3)break}else{$4a(s);P4a(j)|0;k[a+88>>2]=2}h=f6a(t+32|0)|0;g=k[a+52>>2]|0;c:do if((g|0)>0){f=k[a+64>>2]|0;e=0;do{if((k[f+(e<<2)>>2]|0)==(h|0))break c;e=e+1|0}while((e|0)<(g|0))}else e=0;while(0);if((e|0)!=(g|0)){d=e;q=30;break}e=v6a(a+120|0,t)|0;if((e|0)>0){q=11;break b}}if((q|0)==30){q=0;k[a+96>>2]=d;k[a+88>>2]=3;d=f6a(t+32|0)|0;k[a+92>>2]=d;t6a(a+120|0,h)|0;d=k[a+88>>2]|0;if((d|0)>3)d=0;else{if((d|0)<3){d=-129;q=36;break a}d=k[o>>2]|0;if(!(k[l>>2]|0)){if(g5a(s,d)|0){d=-137;q=36;break a}}else if(g5a(s,d+(k[a+96>>2]<<5)|0)|0){d=-137;q=36;break a}N4a(s,j)|0;k[a+88>>2]=4;k[n>>2]=0;k[n+4>>2]=0;k[n+8>>2]=0;k[n+12>>2]=0;d=0}}q6a(a+120|0,t+32|0)|0}while(0);do if((q|0)==11){q=0;i=y5a((k[o>>2]|0)+(k[a+96>>2]<<5)|0,t)|0;if((i|0)<0){u6a(a+120|0,0)|0;break}if(!d){d=k[a+80>>2]|0;e=k[a+80+4>>2]|0}else{d=i+d>>2;d=xBb(k[a+80>>2]|0,k[a+80+4>>2]|0,d|0,((d|0)<0)<<31>>31|0)|0;e=L;k[a+80>>2]=d;k[a+80+4>>2]=e}h=(p5a(k[o>>2]|0,1)|0)+i>>2;h=xBb(h|0,((h|0)<0)<<31>>31|0,d|0,e|0)|0;g=L;if(!((g|0)<(c|0)|(g|0)==(c|0)&h>>>0>>0))break a;u6a(a+120|0,0)|0;x5a(j,t)|0;h5a(s,j)|0;d=k[t+16>>2]|0;e=k[t+16+4>>2]|0;if((e|0)>-1|(e|0)==-1&d>>>0>4294967295){g=k[a+96>>2]|0;h=k[a+68>>2]|0;d=EBb(d|0,e|0,k[h+(g<<1<<3)>>2]|0,k[h+(g<<1<<3)+4>>2]|0)|0;e=L;d=(e|0)<0?0:d;e=(e|0)<0?0:e;k[a+80>>2]=d;k[a+80+4>>2]=e;if((g|0)>0){f=0;do{u=h+((f<<1|1)<<3)|0;d=xBb(d|0,e|0,k[u>>2]|0,k[u+4>>2]|0)|0;e=L;k[a+80>>2]=d;k[a+80+4>>2]=e;f=f+1|0}while((f|0)<(g|0));d=i}else d=i}else d=i}while(0)}if((q|0)==36){u=d;r=t;return u|0}p[m>>3]=0.0;p[a+112>>3]=0.0;f=z5a(k[o>>2]|0)|0;d=k[a+80>>2]|0;e=k[a+80+4>>2]|0;g=GBb(b|0,c|0,f|0)|0;g=DBb(g|0,L|0,f|0)|0;h=L;if(!((e|0)<(h|0)|(e|0)==(h|0)&d>>>0>>0)){u=0;r=t;return u|0}do{u=EBb(b|0,c|0,d|0,e|0)|0;u=GBb(u|0,L|0,f|0)|0;o=L;q=j5a(s,0)|0;q=(((q|0)<0)<<31>>31|0)>(o|0)|(((q|0)<0)<<31>>31|0)==(o|0)&q>>>0>u>>>0?u:q;k5a(s,q)|0;d=xBb(q<>31|0,k[a+80>>2]|0,k[a+80+4>>2]|0)|0;e=L;k[a+80>>2]=d;k[a+80+4>>2]=e;do if((((q|0)<0)<<31>>31|0)<(o|0)|(((q|0)<0)<<31>>31|0)==(o|0)&q>>>0>>0)if((N5a(a,1)|0)<1){d=K5a(a,-1)|0;e=L;k[a+80>>2]=d;k[a+80+4>>2]=e;break}else{e=k[a+80+4>>2]|0;d=k[a+80>>2]|0;break}while(0)}while((e|0)<(h|0)|(e|0)==(h|0)&d>>>0>>0);d=0;r=t;return d|0}function M5a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0.0;F=r;r=r+64|0;d=K5a(a,-1)|0;e=L;if((k[a+88>>2]|0)<2){a=-131;r=F;return a|0}if(!(k[a+4>>2]|0)){a=-138;r=F;return a|0}if((c|0)<0|((e|0)<(c|0)|(e|0)==(c|0)&d>>>0>>0)){a=-131;r=F;return a|0}g=k[a+52>>2]|0;while(1){j=g+-1|0;if((g|0)<=0){E=6;break}f=k[a+68>>2]|0;h=k[f+((j<<1|1)<<3)>>2]|0;i=k[f+((j<<1|1)<<3)+4>>2]|0;d=EBb(d|0,e|0,h|0,i|0)|0;e=L;if((e|0)>(c|0)|(e|0)==(c|0)&d>>>0>b>>>0)g=j;else{l=j<<1;D=d;C=e;d=g;B=j;break}}if((E|0)==6){i=k[a+68>>2]|0;l=j<<1;f=i;h=k[i+((j<<1|1)<<3)>>2]|0;i=k[i+((j<<1|1)<<3)+4>>2]|0;D=d;C=e;d=g;B=j}o=(k[a+56>>2]|0)+(d<<3)|0;j=k[o>>2]|0;o=k[o+4>>2]|0;n=(k[a+60>>2]|0)+(B<<3)|0;g=k[n>>2]|0;n=k[n+4>>2]|0;l=f+(l<<3)|0;m=k[l>>2]|0;l=k[l+4>>2]|0;f=xBb(h|0,i|0,m|0,l|0)|0;h=L;z=EBb(b|0,c|0,D|0,C|0)|0;z=xBb(m|0,l|0,z|0,L|0)|0;A=L;do if((g|0)==(j|0)&(n|0)==(o|0)){d=k[a>>2]|0;if(!d){d=-129;E=102}else{if(!((k[a+8>>2]|0)==(j|0)?(k[a+8+4>>2]|0)==(o|0):0)){e=k[a+708>>2]|0;if(!e){d=-128;E=102;break}if((nj[e&127](d,j,o,0)|0)==-1){d=-128;E=102;break}k[a+8>>2]=j;k[a+8+4>>2]=o;r6a(a+24|0)|0}d=E5a(a,F+48|0,1,0)|0;if((L|0)<0)E=102;else{i=1;E=15}}}else{i=0;d=0;E=15}while(0);a:do if((E|0)==15){b:do if((o|0)>(n|0)|(o|0)==(n|0)&j>>>0>g>>>0){y=f;x=h;e=-1;f=-1;p=m;h=n;d=o;c:while(1){o=j;n=d;q=l;d:while(1){d=EBb(o|0,n|0,g|0,h|0)|0;j=L;if((j|0)<0|(j|0)==0&d>>>0<65536){j=g;m=h}else{v=EBb(z|0,A|0,p|0,q|0)|0;G=(+(d>>>0)+4294967296.0*+(j|0))*(+(v>>>0)+4294967296.0*+(L|0));v=EBb(y|0,x|0,p|0,q|0)|0;G=G/(+(v>>>0)+4294967296.0*+(L|0));v=+W(G)>=1.0?(G>0.0?~~+ia(+V(G/4294967296.0),4294967295.0)>>>0:~~+ga((G-+(~~G>>>0))/4294967296.0)>>>0):0;m=xBb(g|0,h|0,-65536,-1)|0;v=xBb(m|0,L|0,~~G>>>0|0,v|0)|0;m=L;w=xBb(g|0,h|0,65536,0)|0;u=L;j=(m|0)<(u|0)|(m|0)==(u|0)&v>>>0>>0?g:v;m=(m|0)<(u|0)|(m|0)==(u|0)&v>>>0>>0?h:m}d=k[a>>2]|0;if(!d){d=-129;E=102;break a}if(!((k[a+8>>2]|0)==(j|0)?(k[a+8+4>>2]|0)==(m|0):0)){l=k[a+708>>2]|0;if(!l){d=-128;E=102;break a}if((nj[l&127](d,j,m,0)|0)==-1){d=-128;E=102;break a}k[a+8>>2]=j;k[a+8+4>>2]=m;r6a(a+24|0)|0}e:do if((n|0)>(h|0)|(n|0)==(h|0)&o>>>0>g>>>0){v=o;w=f;u=q;while(1){d=EBb(v|0,n|0,k[a+8>>2]|0,k[a+8+4>>2]|0)|0;d=E5a(a,F+48|0,d,L)|0;f=L;if((d|0)==-128&(f|0)==-1){d=-128;E=102;break a}do if((f|0)<0){f=xBb(g|0,h|0,1,0)|0;l=L;if(!((m|0)>(l|0)|(m|0)==(l|0)&j>>>0>f>>>0)){f=w;E=30;break c}if((j|0)==0&(m|0)==0){E=33;break c}j=xBb(j|0,m|0,-65536,-1)|0;m=L;d=(m|0)>(h|0)|(m|0)==(h|0)&j>>>0>g>>>0;j=d?j:f;m=d?m:l;d=k[a>>2]|0;if(!d){d=-129;E=102;break a}if((k[a+8>>2]|0)==(j|0)?(k[a+8+4>>2]|0)==(m|0):0){q=n;s=v;f=w;l=p;o=u;d=0;break}f=k[a+708>>2]|0;if(!f){d=-128;E=102;break a}if((nj[f&127](d,j,m,0)|0)==-1){d=-128;E=102;break a}k[a+8>>2]=j;k[a+8+4>>2]=m;r6a(a+24|0)|0;q=n;s=v;f=w;l=p;o=u;d=0}else{t=f6a(F+48|0)|0;if((t|0)!=(k[(k[a+64>>2]|0)+(B<<2)>>2]|0)){q=n;s=v;f=w;l=p;o=u;i=1;break}t=e6a(F+48|0)|0;o=L;if((t|0)==-1&(o|0)==-1){q=n;s=v;f=w;l=p;o=u;i=1;break}if((A|0)>(o|0)|(A|0)==(o|0)&z>>>0>t>>>0){i=k[a+8>>2]|0;e=k[a+8+4>>2]|0;w=EBb(z|0,A|0,t|0,o|0)|0;u=L;if((u|0)>0|(u|0)==0&w>>>0>44100){h=e;m=v;g=i;e=d;l=t;j=o;i=1;break e}else{h=e;q=n;g=i;s=v;j=i;m=e;e=d;l=t;i=1;break}}i=xBb(g|0,h|0,1,0)|0;l=L;if(!((m|0)>(l|0)|(m|0)==(l|0)&j>>>0>i>>>0)){f=w;E=46;break c}if(!((v|0)==(k[a+8>>2]|0)?(n|0)==(k[a+8+4>>2]|0):0)){i=p;l=u;f=w;break d}j=xBb(j|0,m|0,-65536,-1)|0;m=L;t=(m|0)>(h|0)|(m|0)==(h|0)&j>>>0>g>>>0;j=t?j:i;m=t?m:l;l=k[a>>2]|0;if(!l){d=-129;E=102;break a}if((v|0)==(j|0)&(n|0)==(m|0)){q=f;s=d;j=v;m=n;f=w;l=p;o=u;i=1;d=0;break}i=k[a+708>>2]|0;if(!i){d=-128;E=102;break a}if((nj[i&127](l,j,m,0)|0)==-1){d=-128;E=102;break a}k[a+8>>2]=j;k[a+8+4>>2]=m;r6a(a+24|0)|0;q=f;s=d;f=w;l=p;o=u;i=1;d=0}while(0);if((h|0)<(q|0)|(h|0)==(q|0)&g>>>0>>0){v=s;n=q;w=f;p=l;u=o}else{n=q;m=s;j=o;break}}}else{m=o;l=p;j=q;d=0}while(0);if((n|0)>(h|0)|(n|0)==(h|0)&m>>>0>g>>>0){o=m;p=l;q=j}else{o=e;e=i;break c}}if((m|0)>(h|0)|(m|0)==(h|0)&j>>>0>g>>>0){y=t;x=o;p=i;d=m;i=1}else{E=54;break}}if((E|0)==30){o=e;e=i}else if((E|0)==33){E=102;break a}else if((E|0)==46){o=e;e=1}else if((E|0)==54){o=e;e=1}if((o|0)==-1&(f|0)==-1){f=h;E=56}else{d=k[a>>2]|0;f:do if(!d){d=-129;E=68}else{if(!((k[a+8>>2]|0)==(o|0)?(k[a+8+4>>2]|0)==(f|0):0)){e=k[a+708>>2]|0;if(!e){d=-128;E=68;break}if((nj[e&127](d,o,f,0)|0)==-1){d=-128;E=68;break}k[a+8>>2]=o;k[a+8+4>>2]=f;r6a(a+24|0)|0}k[a+80>>2]=-1;k[a+80+4>>2]=-1;d=E5a(a,F+32|0,-1,-1)|0;if((L|0)<0)break;if((B|0)==(k[a+96>>2]|0)){f5a(a+480|0)|0;n=a+92|0;d=k[a+92>>2]|0}else{$4a(a+480|0);P4a(a+592|0)|0;k[a+96>>2]=B;d=k[(k[a+64>>2]|0)+(B<<2)>>2]|0;k[a+92>>2]=d;k[a+88>>2]=3;n=a+92|0}t6a(a+120|0,d)|0;q6a(a+120|0,F+32|0)|0;g:while(1){d=v6a(a+120|0,F)|0;if(!d){A=(k[a+60>>2]|0)+(B<<3)|0;z=k[A+4>>2]|0;if((f|0)>(z|0)|((f|0)==(z|0)?o>>>0>(k[A>>2]|0)>>>0:0)){m=f;l=o;while(1){i=l;j=m;do{A=xBb(i|0,j|0,-65536,-1)|0;d=L;i=(d|0)<0?0:A;j=(d|0)<0?0:d;d=k[a>>2]|0;if(!d){d=-129;break f}if((k[a+8>>2]|0)==(i|0)?(k[a+8+4>>2]|0)==(j|0):0){e=-1;d=-1}else{e=k[a+708>>2]|0;if(!e){d=-128;break f}if((nj[e&127](d,i,j,0)|0)==-1){d=-128;break f}k[a+8>>2]=i;k[a+8+4>>2]=j;r6a(a+24|0)|0;e=-1;d=-1}while(1){g=k[a+8>>2]|0;h=k[a+8+4>>2]|0;if(!((m|0)>(h|0)|(m|0)==(h|0)&l>>>0>g>>>0))break;k[F+32>>2]=0;k[F+32+4>>2]=0;k[F+32+8>>2]=0;k[F+32+12>>2]=0;g=EBb(l|0,m|0,g|0,h|0)|0;g=E5a(a,F+32|0,g,L)|0;h=L;if((g|0)==-128&(h|0)==-1){d=-128;break f}if((h|0)<0)break;else{e=g;d=h}}}while((e|0)==-1&(d|0)==-1);if(!(k[F+32+4>>2]|0)){g=k[a>>2]|0;if(!g){d=-129;break f}if(!((k[a+8>>2]|0)==(e|0)?(k[a+8+4>>2]|0)==(d|0):0)){h=k[a+708>>2]|0;if(!h){d=-128;break f}if((nj[h&127](g,e,d,0)|0)==-1){d=-128;break f}k[a+8>>2]=e;k[a+8+4>>2]=d;r6a(a+24|0)|0}E5a(a,F+32|0,65536,0)|0;if((L|0)<0){d=-129;break f}}A=f6a(F+32|0)|0;if((A|0)==(k[n>>2]|0)){A=e6a(F+32|0)|0;z=L;if((z|0)>-1|(z|0)==-1&A>>>0>4294967295)break g;if(!(b6a(F+32|0)|0))break g}A=(k[a+60>>2]|0)+(B<<3)|0;z=k[A+4>>2]|0;if((d|0)>(z|0)|((d|0)==(z|0)?e>>>0>(k[A>>2]|0)>>>0:0)){m=d;l=e}else break}}else d=f}else d=((d|0)<0)<<31>>31;if((d|0)<0){d=-136;break f}d=k[F+16>>2]|0;e=k[F+16+4>>2]|0;if(!((d|0)==-1&(e|0)==-1)){E=101;break}u6a(a+120|0,0)|0}if((E|0)==101){B=(k[a+68>>2]|0)+(k[a+96>>2]<<1<<3)|0;d=EBb(d|0,e|0,k[B>>2]|0,k[B+4>>2]|0)|0;e=L;e=xBb(((e|0)<0?0:d)|0,((e|0)<0?0:e)|0,D|0,C|0)|0;d=L;k[a+80>>2]=e;k[a+80+4>>2]=d;break b}a=J5a(a,e,d)|0;r=F;return a|0}while(0);if((E|0)==68){k[a+80>>2]=-1;k[a+80+4>>2]=-1}break a}}else{f=n;e=i;E=56}while(0);if((E|0)==56){if(!e){E=102;break}A=(k[a+60>>2]|0)+(B<<3)|0;if(!((g|0)==(k[A>>2]|0)?(f|0)==(k[A+4>>2]|0):0)){E=102;break}A=f6a(F+48|0)|0;if((A|0)!=(k[(k[a+64>>2]|0)+(B<<2)>>2]|0)){E=102;break}k[a+80>>2]=D;k[a+80+4>>2]=C;if((B|0)==(k[a+96>>2]|0)){f5a(a+480|0)|0;d=k[a+92>>2]|0}else{$4a(a+480|0);P4a(a+592|0)|0;k[a+96>>2]=B;d=k[(k[a+64>>2]|0)+(B<<2)>>2]|0;k[a+92>>2]=d;k[a+88>>2]=3}t6a(a+120|0,d)|0;q6a(a+120|0,F+48|0)|0;d=k[a+80+4>>2]|0;e=k[a+80>>2]|0}if((d|0)>(c|0)|(d|0)==(c|0)&e>>>0>b>>>0)d=-129;else{D=K5a(a,-1)|0;C=L;if((C|0)<(c|0)|(C|0)==(c|0)&D>>>0>>0)d=-129;else{k[a+104>>2]=0;k[a+104+4>>2]=0;k[a+104+8>>2]=0;k[a+104+12>>2]=0;a=0;r=F;return a|0}}}while(0);k[a+80>>2]=-1;k[a+80+4>>2]=-1;$4a(a+480|0);P4a(a+592|0)|0;k[a+88>>2]=2;a=d;r=F;return a|0}function N5a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0.0;h=r;r=r+48|0;a:while(1){c=k[a+88>>2]|0;switch(c|0){case 3:{c=k[a+72>>2]|0;if(!(k[a+4>>2]|0)){if(g5a(a+480|0,c)|0){c=-137;g=43;break a}}else if(g5a(a+480|0,c+(k[a+96>>2]<<5)|0)|0){c=-137;g=43;break a}N4a(a+480|0,a+592|0)|0;k[a+88>>2]=4;k[a+104>>2]=0;k[a+104+4>>2]=0;k[a+104+8>>2]=0;k[a+104+12>>2]=0;g=7;break}case 4:{g=7;break}default:{}}if((g|0)==7){g=0;f=z5a(k[a+72>>2]|0)|0;c=u6a(a+120|0,h)|0;if((c|0)==-1){c=-3;break}while(1){if((c|0)<=0)break;c=k[h+16>>2]|0;d=k[h+16+4>>2]|0;if(!(w5a(a+592|0,h)|0)){g=11;break a}c=u6a(a+120|0,h)|0;if((c|0)==-1){c=-3;break a}}c=k[a+88>>2]|0}do if((c|0)>1){while(1){E5a(a,h+32|0,-1,-1)|0;if((L|0)<0){c=-2;g=43;break a}p[a+104>>3]=+p[a+104>>3]+ +(k[h+32+4>>2]<<3|0);c=k[a+88>>2]|0;if((c|0)!=4)break;f=k[a+92>>2]|0;if((f|0)==(f6a(h+32|0)|0)){g=31;break}if(c6a(h+32|0)|0){g=28;break}}if((g|0)==28){if(!b){c=-2;g=43;break a}$4a(a+480|0);P4a(a+592|0)|0;k[a+88>>2]=2;if(k[a+4>>2]|0){g=34;break}r5a(k[a+72>>2]|0);o5a(k[a+76>>2]|0);g=31}if((g|0)==31){g=0;c=k[a+88>>2]|0;if((c|0)==4)break}if((c|0)<3)g=33}else g=33;while(0);if((g|0)==33){g=0;if(!(k[a+4>>2]|0)){c=D5a(a,k[a+72>>2]|0,k[a+76>>2]|0,0,0,h+32|0)|0;if(c|0){g=43;break}k[a+92>>2]=k[a+456>>2];k[a+96>>2]=(k[a+96>>2]|0)+1}else g=34}if((g|0)==34){g=0;e=f6a(h+32|0)|0;f=k[a+52>>2]|0;b:do if((f|0)>0){d=k[a+64>>2]|0;c=0;do{if((k[d+(c<<2)>>2]|0)==(e|0))break b;c=c+1|0}while((c|0)<(f|0))}else c=0;while(0);if((c|0)==(f|0))continue;k[a+92>>2]=e;k[a+96>>2]=c;t6a(a+120|0,e)|0;k[a+88>>2]=3}q6a(a+120|0,h+32|0)|0}if((g|0)==11)if(!(j5a(a+480|0,0)|0)){h5a(a+480|0,a+592|0)|0;i=+((j5a(a+480|0,0)|0)<>3]=+p[a+112>>3]+i;p[a+104>>3]=+p[a+104>>3]+ +(k[h+4>>2]<<3|0);if((c|0)==-1&(d|0)==-1)c=1;else if(!(k[h+12>>2]|0)){if(!(k[a+4>>2]|0))e=0;else{e=k[a+96>>2]|0;if((e|0)>0){g=(k[a+68>>2]|0)+(e<<1<<3)|0;c=EBb(c|0,d|0,k[g>>2]|0,k[g+4>>2]|0)|0;d=L}}b=(d|0)<0;g=(j5a(a+480|0,0)|0)<>31|0)|0;c=L;if((e|0)>0){b=k[a+68>>2]|0;f=0;do{g=b+((f<<1|1)<<3)|0;d=xBb(k[g>>2]|0,k[g+4>>2]|0,d|0,c|0)|0;c=L;f=f+1|0}while((f|0)!=(e|0))}k[a+80>>2]=d;k[a+80+4>>2]=c;c=1}else c=1}else c=-129;else if((g|0)==43){r=h;return c|0}a=c;r=h;return a|0}function O5a(a){a=a|0;return k[a+4>>2]|0}function P5a(a,b){a=a|0;b=b|0;var c=0.0,d=0;if((k[a+88>>2]|0)<2){c=-131.0;return +c}if(!(k[a+4>>2]|0)){c=-131.0;return +c}d=k[a+52>>2]|0;if((d|0)<=(b|0)){c=-131.0;return +c}if((b|0)>=0){d=(k[a+68>>2]|0)+((b<<1|1)<<3)|0;c=(+((k[d>>2]|0)>>>0)+4294967296.0*+(k[d+4>>2]|0))/+(k[(k[a+72>>2]|0)+(b<<5)+8>>2]|0);return +c}if((d|0)>0){c=0.0;b=0}else{c=0.0;return +c}do{c=c+ +P5a(a,b);b=b+1|0}while((b|0)<(d|0));return +c}function Q5a(a,b){a=a|0;b=+b;var c=0.0,d=0,e=0,f=0,g=0.0,h=0,i=0;if((k[a+88>>2]|0)<2){a=-131;return a|0}if(!(k[a+4>>2]|0)){a=-138;return a|0}if(b<0.0){a=-131;return a|0}h=k[a+52>>2]|0;a:do if((h|0)>0){d=0;f=0;e=0;g=0.0;while(1){c=g+ +P5a(a,e);if(c>b){c=g;break a}i=(k[a+68>>2]|0)+((e<<1|1)<<3)|0;d=xBb(k[i>>2]|0,k[i+4>>2]|0,d|0,f|0)|0;f=L;e=e+1|0;if((e|0)<(h|0))g=c;else break}}else{d=0;f=0;e=0;c=0.0}while(0);if((e|0)==(h|0)){i=-131;return i|0}b=+(d>>>0)+4294967296.0*+(f|0)+(b-c)*+(k[(k[a+72>>2]|0)+(e<<5)+8>>2]|0);i=L5a(a,~~b>>>0,+W(b)>=1.0?(b>0.0?~~+ia(+V(b/4294967296.0),4294967295.0)>>>0:~~+ga((b-+(~~b>>>0))/4294967296.0)>>>0):0)|0;return i|0}function R5a(a,b){a=a|0;b=b|0;if(!(k[a+4>>2]|0)){a=k[a+72>>2]|0;return a|0}if((b|0)<0){b=k[a+72>>2]|0;if((k[a+88>>2]|0)<=2){a=b;return a|0}a=b+(k[a+96>>2]<<5)|0;return a|0}else{if((k[a+52>>2]|0)<=(b|0)){a=0;return a|0}a=(k[a+72>>2]|0)+(b<<5)|0;return a|0}return 0}function S5a(a,b){a=a|0;b=b|0;if(!(k[a+4>>2]|0)){a=k[a+76>>2]|0;return a|0}if((b|0)<0){b=k[a+76>>2]|0;if((k[a+88>>2]|0)<=2){a=b;return a|0}a=b+(k[a+96>>2]<<4)|0;return a|0}else{if((k[a+52>>2]|0)<=(b|0)){a=0;return a|0}a=(k[a+76>>2]|0)+(b<<4)|0;return a|0}return 0}function T5a(a,b,c,d,e,f,g,h,l){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;l=l|0;var m=0,n=0,p=0,q=0,s=0,t=0,u=0;u=r;r=r+16|0;m=k[a+88>>2]|0;if((m|0)<2){a=-131;r=u;return a|0}while(1){if((m|0)==4){p=j5a(a+480|0,u)|0;if(p|0){n=8;break}}m=N5a(a,1)|0;if((m|0)==-2){m=0;n=41;break}if((m|0)<1){n=41;break}m=k[a+88>>2]|0}if((n|0)==8){if((p|0)<=0){a=p;r=u;return a|0}if(!(k[a+4>>2]|0))m=k[a+72>>2]|0;else{m=k[a+72>>2]|0;if((k[a+88>>2]|0)>2)m=m+(k[a+96>>2]<<5)|0}s=k[m+4>>2]|0;t=ha(s,e)|0;q=(p|0)>((c|0)/(t|0)|0|0)?(c|0)/(t|0)|0:p;if((q|0)<1){a=-131;r=u;return a|0}if(h|0)vj[h&127](k[u>>2]|0,s,q,l);a:do if((e|0)==1){h=f|0?0:128;if((q|0)>0&(s|0)>0){m=b;c=0;while(1){n=m;p=0;while(1){b=~~+V(+(+o[(k[(k[u>>2]|0)+(p<<2)>>2]|0)+(c<<2)>>2]*128.0+.5));i[n>>0]=((b|0)>127?127:(b|0)<-128?-128:b)+h;p=p+1|0;if((p|0)==(s|0))break;else n=n+1|0}c=c+1|0;if((c|0)>=(q|0))break;else m=m+s|0}}}else{l=f|0?0:32768;if(d|0){if(!((q|0)>0&(s|0)>0))break;m=b;c=0;while(1){n=m;p=0;while(1){b=~~+V(+(+o[(k[(k[u>>2]|0)+(p<<2)>>2]|0)+(c<<2)>>2]*32768.0+.5));b=((b|0)>32767?32767:(b|0)<-32768?-32768:b)+l|0;i[n>>0]=b>>>8;i[n+1>>0]=b;p=p+1|0;if((p|0)==(s|0))break;else n=n+2|0}c=c+1|0;if((c|0)>=(q|0))break a;else m=m+(s<<1)|0}}if(f|0){if((s|0)<=0)break;m=k[u>>2]|0;if((q|0)>0)c=0;else break;do{n=k[m+(c<<2)>>2]|0;p=b+(c<<1)|0;h=0;while(1){f=~~+V(+(+o[n+(h<<2)>>2]*32768.0+.5));j[p>>1]=(f|0)>32767?32767:((f|0)<-32768?-32768:f)&65535;h=h+1|0;if((h|0)>=(q|0))break;else p=p+(s<<1)|0}c=c+1|0}while((c|0)!=(s|0))}else{if((s|0)<=0)break;m=k[u>>2]|0;if((q|0)>0)c=0;else break;do{n=k[m+(c<<2)>>2]|0;p=b+(c<<1)|0;h=0;while(1){f=~~+V(+(+o[n+(h<<2)>>2]*32768.0+.5));j[p>>1]=((f|0)>32767?32767:(f|0)<-32768?-32768:f)+l;h=h+1|0;if((h|0)>=(q|0))break;else p=p+(s<<1)|0}c=c+1|0}while((c|0)!=(s|0))}}while(0);k5a(a+480|0,q)|0;s=q<<(z5a(k[a+72>>2]|0)|0);s=xBb(s|0,((s|0)<0)<<31>>31|0,k[a+80>>2]|0,k[a+80+4>>2]|0)|0;k[a+80>>2]=s;k[a+80+4>>2]=L;if(g|0)k[g>>2]=k[a+96>>2];a=ha(q,t)|0;r=u;return a|0}else if((n|0)==41){r=u;return m|0}return 0}function U5a(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;return T5a(a,b,c,d,e,f,g,0,0)|0}function V5a(a){a=a|0;var b=0;k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;k[a+12>>2]=0;b=hqb(256)|0;k[a+8>>2]=b;k[a+12>>2]=b;i[b>>0]=0;k[a+16>>2]=256;return}function W5a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;do if(c>>>0<=32){e=k[a+16>>2]|0;d=k[a+12>>2]|0;if((k[a>>2]|0)>=(e+-4|0)){if(!d)return;if((e|0)>2147483391)break;d=kqb(k[a+8>>2]|0,e+256|0)|0;if(!d)break;k[a+8>>2]=d;k[a+16>>2]=(k[a+16>>2]|0)+256;d=d+(k[a>>2]|0)|0;k[a+12>>2]=d}e=k[123048+(c<<2)>>2]&b;b=k[a+4>>2]|0;i[d>>0]=l[d>>0]|0|e<7){i[(k[a+12>>2]|0)+1>>0]=e>>>(8-(k[a+4>>2]|0)|0);if((b+c|0)>15){i[(k[a+12>>2]|0)+2>>0]=e>>>(16-(k[a+4>>2]|0)|0);if((b+c|0)>23){i[(k[a+12>>2]|0)+3>>0]=e>>>(24-(k[a+4>>2]|0)|0);if((b+c|0)>31){d=k[a+4>>2]|0;if(!d){i[(k[a+12>>2]|0)+4>>0]=0;break}else{i[(k[a+12>>2]|0)+4>>0]=e>>>(32-d|0);break}}}}}while(0);k[a>>2]=(k[a>>2]|0)+((b+c|0)/8|0);k[a+12>>2]=(k[a+12>>2]|0)+((b+c|0)/8|0);k[a+4>>2]=b+c&7;return}while(0);d=k[a+8>>2]|0;if(d|0)iqb(d);k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;k[a+12>>2]=0;k[a+16>>2]=0;return}function X5a(a){a=a|0;var b=0;b=k[a+8>>2]|0;if(b|0)iqb(b);k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;k[a+12>>2]=0;k[a+16>>2]=0;return}function Y5a(a,b,c){a=a|0;b=b|0;c=c|0;k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;k[a+12>>2]=0;k[a+12>>2]=b;k[a+8>>2]=b;k[a+16>>2]=c;return}function Z5a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;if(b>>>0>32){f=-1;return f|0}f=k[123048+(b<<2)>>2]|0;e=k[a+4>>2]|0;c=k[a>>2]|0;d=k[a+16>>2]|0;if((c|0)>=(d+-4|0)){if((c|0)>(d-(e+b+7>>3)|0)){f=-1;return f|0}if(!(e+b|0)){f=0;return f|0}}d=k[a+12>>2]|0;c=(l[d>>0]|0)>>>e;if((e+b|0)>8){c=(l[d+1>>0]|0)<<8-e|c;if((e+b|0)>16){c=(l[d+2>>0]|0)<<16-e|c;if((e+b|0)>24){c=(l[d+3>>0]|0)<<24-e|c;if(!((e+b|0)<33|(e|0)==0))c=(l[d+4>>0]|0)<<32-e|c}}}f=c&f;return f|0}function _5a(a,b){a=a|0;b=b|0;var c=0,d=0;b=(k[a+4>>2]|0)+b|0;c=k[a>>2]|0;d=k[a+16>>2]|0;if((c|0)>(d-(b+7>>3)|0)){k[a+12>>2]=0;k[a>>2]=d;d=1;k[a+4>>2]=d;return}else{k[a+12>>2]=(k[a+12>>2]|0)+((b|0)/8|0);k[a>>2]=c+((b|0)/8|0);d=b&7;k[a+4>>2]=d;return}}function $5a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;do if(b>>>0>32){d=a;e=a+4|0;c=k[a+16>>2]|0}else{e=k[123048+(b<<2)>>2]|0;f=k[a+4>>2]|0;g=k[a>>2]|0;c=k[a+16>>2]|0;if((g|0)>=(c+-4|0)){if((g|0)>(c-(f+b+7>>3)|0)){d=a;e=a+4|0;break}if(!(f+b|0)){a=0;return a|0}}d=k[a+12>>2]|0;c=(l[d>>0]|0)>>>f;if((f+b|0)>8){c=(l[d+1>>0]|0)<<8-f|c;if((f+b|0)>16){c=(l[d+2>>0]|0)<<16-f|c;if((f+b|0)>24){c=(l[d+3>>0]|0)<<24-f|c;if(!((f+b|0)<33|(f|0)==0))c=(l[d+4>>0]|0)<<32-f|c}}}k[a+12>>2]=d+((f+b|0)/8|0);k[a>>2]=g+((f+b|0)/8|0);k[a+4>>2]=f+b&7;a=c&e;return a|0}while(0);k[a+12>>2]=0;k[d>>2]=c;k[e>>2]=1;a=-1;return a|0}function a6a(a){a=a|0;return (((k[a+4>>2]|0)+7|0)/8|0)+(k[a>>2]|0)|0}function b6a(a){a=a|0;return (l[(k[a>>2]|0)+5>>0]|0)&1|0}function c6a(a){a=a|0;return (l[(k[a>>2]|0)+5>>0]|0)&2|0}function d6a(a){a=a|0;return (l[(k[a>>2]|0)+5>>0]|0)&4|0}function e6a(a){a=a|0;var b=0;a=k[a>>2]|0;b=DBb(l[a+13>>0]|0|0,0,8)|0;b=DBb(b|(l[a+12>>0]|0)|0,L|0,8)|0;b=DBb(b|(l[a+11>>0]|0)|0,L|0,8)|0;b=DBb(b|(l[a+10>>0]|0)|0,L|0,8)|0;b=DBb(b|(l[a+9>>0]|0)|0,L|0,8)|0;b=DBb(b|(l[a+8>>0]|0)|0,L|0,8)|0;b=DBb(b|(l[a+7>>0]|0)|0,L|0,8)|0;return b|(l[a+6>>0]|0)|0}function f6a(a){a=a|0;a=k[a>>2]|0;return (l[a+15>>0]|0)<<8|(l[a+14>>0]|0)|(l[a+16>>0]|0)<<16|(l[a+17>>0]|0)<<24|0}function g6a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if(!a){a=-1;return a|0}vBb(a|0,0,360)|0;k[a+4>>2]=16384;k[a+24>>2]=1024;d=hqb(16384)|0;k[a>>2]=d;c=hqb(4096)|0;k[a+16>>2]=c;e=hqb(8192)|0;k[a+20>>2]=e;do if(d){if((e|0)==0|(c|0)==0){iqb(d);c=k[a+16>>2]|0;break}k[a+336>>2]=b;a=0;return a|0}while(0);if(c|0)iqb(c);c=k[a+20>>2]|0;if(c|0)iqb(c);vBb(a|0,0,360)|0;a=-1;return a|0}function h6a(a){a=a|0;var b=0;if(!a)return 0;b=k[a>>2]|0;if(b|0)iqb(b);b=k[a+16>>2]|0;if(b|0)iqb(b);b=k[a+20>>2]|0;if(b|0)iqb(b);vBb(a|0,0,360)|0;return 0}function i6a(a){a=a|0;if(!a)return -1;else return ((k[a>>2]|0)==0)<<31>>31|0;return 0}function j6a(a,b){a=a|0;b=b|0;var c=0;c=k[a+24>>2]|0;if((c-b|0)>(k[a+28>>2]|0)){a=0;return a|0}if((c|0)>(2147483647-b|0)){c=k[a>>2]|0;if(c|0)iqb(c);c=k[a+16>>2]|0;if(c|0)iqb(c);c=k[a+20>>2]|0;if(c|0)iqb(c);vBb(a|0,0,360)|0;a=-1;return a|0}b=(c+b|0)<2147483615?c+b+32|0:c+b|0;c=kqb(k[a+16>>2]|0,b<<2)|0;if(!c){c=k[a>>2]|0;if(c|0)iqb(c);c=k[a+16>>2]|0;if(c|0)iqb(c);c=k[a+20>>2]|0;if(c|0)iqb(c);vBb(a|0,0,360)|0;a=-1;return a|0}k[a+16>>2]=c;c=kqb(k[a+20>>2]|0,b<<3)|0;if(c|0){k[a+20>>2]=c;k[a+24>>2]=b;a=0;return a|0}c=k[a>>2]|0;if(c|0)iqb(c);c=k[a+16>>2]|0;if(c|0)iqb(c);c=k[a+20>>2]|0;if(c|0)iqb(c);vBb(a|0,0,360)|0;a=-1;return a|0}function k6a(a){a=a|0;if(!a)return 0;k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;k[a+12>>2]=0;k[a+16>>2]=0;k[a+20>>2]=0;k[a+24>>2]=0;return 0}function l6a(a){a=a|0;var b=0;if(!a)return 0;b=k[a>>2]|0;if(b|0)iqb(b);k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;k[a+12>>2]=0;k[a+16>>2]=0;k[a+20>>2]=0;k[a+24>>2]=0;return 0}function m6a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=k[a+4>>2]|0;if((c|0)<=-1){a=0;return a|0}d=k[a+12>>2]|0;if(!d)d=c;else{e=(k[a+8>>2]|0)-d|0;k[a+8>>2]=e;if((e|0)>0){c=k[a>>2]|0;BBb(c|0,c+d|0,e|0)|0;c=k[a+4>>2]|0}k[a+12>>2]=0;d=c}c=k[a+8>>2]|0;do if((d-c|0)<(b|0)){d=k[a>>2]|0;if(!d)d=hqb(b+4096+c|0)|0;else d=kqb(d,b+4096+c|0)|0;if(d|0){k[a>>2]=d;k[a+4>>2]=b+4096+c;c=k[a+8>>2]|0;break}c=k[a>>2]|0;if(c|0)iqb(c);k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;k[a+12>>2]=0;k[a+16>>2]=0;k[a+20>>2]=0;k[a+24>>2]=0;a=0;return a|0}else d=k[a>>2]|0;while(0);a=d+c|0;return a|0}function n6a(a,b){a=a|0;b=b|0;var c=0;c=k[a+4>>2]|0;if((c|0)<=-1){a=-1;return a|0}b=(k[a+8>>2]|0)+b|0;if((b|0)>(c|0)){a=-1;return a|0}k[a+8>>2]=b;a=0;return a|0}function o6a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0;m=r;r=r+16|0;h=k[a+12>>2]|0;j=(k[a>>2]|0)+h|0;h=(k[a+8>>2]|0)-h|0;if((k[a+4>>2]|0)<=-1){a=0;r=m;return a|0}c=k[a+20>>2]|0;do if(!c){if((h|0)<27){a=0;r=m;return a|0}if(Emb(j,593133,4)|0){c=a+24|0;break}c=i[j+26>>0]|0;if((h|0)<((c&255)+27|0)){a=0;r=m;return a|0}if(c<<24>>24){d=k[a+24>>2]|0;e=0;do{d=d+(l[j+(e+27)>>0]|0)|0;k[a+24>>2]=d;e=e+1|0}while((e|0)<(l[j+26>>0]|0|0))}k[a+20>>2]=(c&255)+27;c=(c&255)+27|0;d=11}else d=11;while(0);do if((d|0)==11){if((c+(k[a+24>>2]|0)|0)>(h|0)){a=0;r=m;return a|0}g=l[j+22>>0]|l[j+22+1>>0]<<8|l[j+22+2>>0]<<16|l[j+22+3>>0]<<24;k[m>>2]=g;i[j+22>>0]=0;i[j+22+1>>0]=0;i[j+22+2>>0]=0;i[j+22+3>>0]=0;e=k[a+20>>2]|0;f=k[a+24>>2]|0;i[j+22>>0]=0;i[j+22+1>>0]=0;i[j+22+2>>0]=0;i[j+22+3>>0]=0;if((e|0)>0){c=0;d=0;do{c=k[123180+(((l[j+d>>0]|0)^c>>>24)<<2)>>2]^c<<8;d=d+1|0}while((d|0)!=(e|0))}else c=0;if((f|0)>0){d=0;do{c=k[123180+(((l[j+e+d>>0]|0)^c>>>24)<<2)>>2]^c<<8;d=d+1|0}while((d|0)!=(f|0))}i[j+22>>0]=c;i[j+23>>0]=c>>>8;i[j+24>>0]=c>>>16;i[j+25>>0]=c>>>24;if(Emb(m,j+22|0,4)|0){i[j+22>>0]=g;i[j+22+1>>0]=g>>8;i[j+22+2>>0]=g>>16;i[j+22+3>>0]=g>>24;c=a+24|0;break}e=k[a+12>>2]|0;c=(k[a>>2]|0)+e|0;if(!b){c=k[a+24>>2]|0;d=k[a+20>>2]|0}else{k[b>>2]=c;d=k[a+20>>2]|0;k[b+4>>2]=d;k[b+8>>2]=c+d;c=k[a+24>>2]|0;k[b+12>>2]=c}k[a+16>>2]=0;j=c+d|0;k[a+12>>2]=e+j;k[a+20>>2]=0;k[a+24>>2]=0;a=j;r=m;return a|0}while(0);k[a+20>>2]=0;k[c>>2]=0;c=Cmb(j+1|0,79,h+-1|0)|0;if(!c){c=k[a>>2]|0;d=c;c=c+(k[a+8>>2]|0)|0}else d=k[a>>2]|0;b=c;k[a+12>>2]=b-d;a=j-b|0;r=m;return a|0}function p6a(a,b){a=a|0;b=b|0;var c=0;a:do if((k[a+4>>2]|0)>-1){do{c=o6a(a,b)|0;if((c|0)>0){c=1;break a}if(!c){c=0;break a}}while((k[a+16>>2]|0)!=0);k[a+16>>2]=1;c=-1}else c=0;while(0);return c|0}function q6a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;o=k[b>>2]|0;j=k[b+8>>2]|0;c=k[b+12>>2]|0;g=i[o+4>>0]|0;r=l[o+5>>0]|0;q=DBb(l[o+13>>0]|0|0,0,8)|0;q=DBb(q|(l[o+12>>0]|0)|0,L|0,8)|0;q=DBb(q|(l[o+11>>0]|0)|0,L|0,8)|0;q=DBb(q|(l[o+10>>0]|0)|0,L|0,8)|0;q=DBb(q|(l[o+9>>0]|0)|0,L|0,8)|0;q=DBb(q|(l[o+8>>0]|0)|0,L|0,8)|0;q=DBb(q|(l[o+7>>0]|0)|0,L|0,8)|0;p=L;q=q|(l[o+6>>0]|0);h=(l[o+15>>0]|0)<<8|(l[o+14>>0]|0)|(l[o+16>>0]|0)<<16|(l[o+17>>0]|0)<<24;s=(l[o+19>>0]|0)<<8|(l[o+18>>0]|0)|(l[o+20>>0]|0)<<16|(l[o+21>>0]|0)<<24;n=i[o+26>>0]|0;if(!a){a=-1;return a|0}e=k[a>>2]|0;if(!e){a=-1;return a|0}f=k[a+36>>2]|0;b=k[a+12>>2]|0;if(b|0){d=k[a+8>>2]|0;k[a+8>>2]=d-b;if((d|0)!=(b|0))BBb(e|0,e+b|0,d-b|0)|0;k[a+12>>2]=0}if(f|0){b=k[a+28>>2]|0;if((b|0)==(f|0))b=f;else{m=k[a+16>>2]|0;BBb(m|0,m+(f<<2)|0,b-f<<2|0)|0;b=k[a+20>>2]|0;BBb(b|0,b+(f<<3)|0,(k[a+28>>2]|0)-f<<3|0)|0;b=k[a+28>>2]|0}k[a+28>>2]=b-f;k[a+32>>2]=(k[a+32>>2]|0)-f;k[a+36>>2]=0}if(g<<24>>24?1:(h|0)!=(k[a+336>>2]|0)){a=-1;return a|0}if(j6a(a,(n&255)+1|0)|0){a=-1;return a|0}d=k[a+340>>2]|0;if((s|0)!=(d|0)){e=k[a+32>>2]|0;f=k[a+28>>2]|0;if((e|0)<(f|0)){g=k[a+16>>2]|0;b=k[a+8>>2]|0;h=e;do{b=b-(k[g+(h<<2)>>2]&255)|0;h=h+1|0}while((h|0)<(f|0));k[a+8>>2]=b}k[a+28>>2]=e;if((d|0)!=-1){k[a+28>>2]=e+1;k[(k[a+16>>2]|0)+(e<<2)>>2]=1024;k[a+32>>2]=e+1}}a:do if(!(r&1)){b=j;g=r&2;h=0}else{b=k[a+28>>2]|0;if((b|0)>=1)if((k[(k[a+16>>2]|0)+(b+-1<<2)>>2]|0)!=1024){b=j;g=r&2;h=0;break}if(!(n<<24>>24)){b=j;g=0;h=0}else{b=j;d=0;while(1){m=i[o+(d+27)>>0]|0;b=b+(m&255)|0;c=c-(m&255)|0;d=(m<<24>>24==-1^1)+d|0;if(m<<24>>24!=-1){g=0;h=d;break a}if((d+1|0)<(n&255|0))d=d+1|0;else{g=0;h=d+1|0;break}}}}while(0);if(c|0){d=k[a+4>>2]|0;f=k[a+8>>2]|0;do if((d-c|0)>(f|0)){e=k[a>>2]|0;d=f}else{if((d|0)>(2147483647-c|0)){b=k[a>>2]|0;if(b|0)iqb(b);b=k[a+16>>2]|0;if(b|0)iqb(b);b=k[a+20>>2]|0;if(b|0)iqb(b);vBb(a|0,0,360)|0;a=-1;return a|0}d=d+c|0;d=(d|0)<2147482623?d+1024|0:d;e=kqb(k[a>>2]|0,d)|0;if(e|0){k[a+4>>2]=d;k[a>>2]=e;d=k[a+8>>2]|0;break}b=k[a>>2]|0;if(b|0)iqb(b);b=k[a+16>>2]|0;if(b|0)iqb(b);b=k[a+20>>2]|0;if(b|0)iqb(b);vBb(a|0,0,360)|0;a=-1;return a|0}while(0);ABb(e+d|0,b|0,c|0)|0;k[a+8>>2]=(k[a+8>>2]|0)+c}if((h|0)<(n&255|0)){j=k[a+16>>2]|0;m=k[a+20>>2]|0;c=k[a+28>>2]|0;f=g;g=-1;d=h;b:while(1){while(1){e=i[o+(d+27)>>0]|0;b=j+(c<<2)|0;k[b>>2]=e&255;h=m+(c<<3)|0;k[h>>2]=-1;k[h+4>>2]=-1;if(f|0)k[b>>2]=e&255|256;b=c;c=c+1|0;k[a+28>>2]=c;d=d+1|0;if(e<<24>>24!=-1)break;if((d|0)>=(n&255|0)){b=g;break b}else f=0}k[a+32>>2]=c;if((d|0)<(n&255|0)){f=0;g=b}else break}if((b|0)!=-1){o=(k[a+20>>2]|0)+(b<<3)|0;k[o>>2]=q;k[o+4>>2]=p}}if(r&4|0){k[a+328>>2]=1;b=k[a+28>>2]|0;if((b|0)>0){r=(k[a+16>>2]|0)+(b+-1<<2)|0;k[r>>2]=k[r>>2]|512}}k[a+340>>2]=s+1;a=0;return a|0}function r6a(a){a=a|0;if((k[a+4>>2]|0)<=-1){a=-1;return a|0}k[a+8>>2]=0;k[a+8+4>>2]=0;k[a+8+8>>2]=0;k[a+8+12>>2]=0;k[a+8+16>>2]=0;a=0;return a|0}function s6a(a){a=a|0;if(!a){a=-1;return a|0}if(!(k[a>>2]|0)){a=-1;return a|0}k[a+8>>2]=0;k[a+12>>2]=0;k[a+28>>2]=0;k[a+32>>2]=0;k[a+36>>2]=0;k[a+324>>2]=0;k[a+328>>2]=0;k[a+332>>2]=0;k[a+340>>2]=-1;k[a+344>>2]=0;k[a+344+4>>2]=0;k[a+344+8>>2]=0;k[a+344+12>>2]=0;a=0;return a|0}function t6a(a,b){a=a|0;b=b|0;if(!a){b=-1;return b|0}if(!(k[a>>2]|0)){b=-1;return b|0}k[a+8>>2]=0;k[a+12>>2]=0;k[a+28>>2]=0;k[a+32>>2]=0;k[a+36>>2]=0;k[a+324>>2]=0;k[a+328>>2]=0;k[a+332>>2]=0;k[a+340>>2]=-1;k[a+344>>2]=0;k[a+344+4>>2]=0;k[a+344+8>>2]=0;k[a+344+12>>2]=0;k[a+336>>2]=b;b=0;return b|0}function u6a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!a){a=0;return a|0}g=k[a>>2]|0;if(!g){a=0;return a|0}d=k[a+36>>2]|0;if((k[a+32>>2]|0)<=(d|0)){a=0;return a|0}f=k[a+16>>2]|0;i=k[f+(d<<2)>>2]|0;if(i&1024|0){k[a+36>>2]=d+1;b=xBb(k[a+344>>2]|0,k[a+344+4>>2]|0,1,0)|0;k[a+344>>2]=b;k[a+344+4>>2]=L;a=-1;return a|0}if((i&255|0)==255){c=255;e=i&512;do{d=d+1|0;j=k[f+(d<<2)>>2]|0;e=(j&512|0)==0?e:512;c=(j&255)+c|0}while((j&255|0)==255);j=c;c=e;h=d}else{j=i&255;c=i&512;h=d}if(!b){c=a+344|0;d=a+12|0;e=k[a+12>>2]|0;f=k[a+344>>2]|0;g=k[a+344+4>>2]|0}else{k[b+12>>2]=c;k[b+8>>2]=i&256;e=k[a+12>>2]|0;k[b>>2]=g+e;f=k[a+344>>2]|0;g=k[a+344+4>>2]|0;k[b+24>>2]=f;k[b+24+4>>2]=g;d=(k[a+20>>2]|0)+(h<<3)|0;c=k[d+4>>2]|0;k[b+16>>2]=k[d>>2];k[b+16+4>>2]=c;k[b+4>>2]=j;c=a+344|0;d=a+12|0}k[d>>2]=e+j;k[a+36>>2]=h+1;b=xBb(f|0,g|0,1,0)|0;a=c;k[a>>2]=b;k[a+4>>2]=L;a=1;return a|0}function v6a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(!a){a=0;return a|0}g=k[a>>2]|0;if(!g){a=0;return a|0}c=k[a+36>>2]|0;if((k[a+32>>2]|0)<=(c|0)){a=0;return a|0}f=k[a+16>>2]|0;h=k[f+(c<<2)>>2]|0;if(h&1024|0){k[a+36>>2]=c+1;b=xBb(k[a+344>>2]|0,k[a+344+4>>2]|0,1,0)|0;k[a+344>>2]=b;k[a+344+4>>2]=L;a=-1;return a|0}if(!b){a=1;return a|0}if((h&255|0)==255){d=255;e=h&512;do{c=c+1|0;i=k[f+(c<<2)>>2]|0;e=(i&512|0)==0?e:512;d=(i&255)+d|0}while((i&255|0)==255)}else{d=h&255;e=h&512}k[b+12>>2]=e;k[b+8>>2]=h&256;k[b>>2]=g+(k[a+12>>2]|0);i=k[a+344+4>>2]|0;k[b+24>>2]=k[a+344>>2];k[b+24+4>>2]=i;a=(k[a+20>>2]|0)+(c<<3)|0;i=k[a+4>>2]|0;k[b+16>>2]=k[a>>2];k[b+16+4>>2]=i;k[b+4>>2]=d;i=1;return i|0}function w6a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0;m=r;r=r+496|0;k[m+464>>2]=0;k[m+460>>2]=0;k[m+456>>2]=0;x6a(21,m+464|0)|0;x6a(17,m+460|0)|0;x6a(18,m+456|0)|0;h=H6a(a)|0;if(((h&2|0)==0?1:(k[m+464>>2]|0)!=4)|(k[m+460>>2]|0)!=2|(k[m+456>>2]|0)!=0){I6a(21,4)|0;I6a(17,2)|0;I6a(18,0)|0;if((J6a(a,h|2)|0)>=0){l=1;g=3}}else{l=0;g=3}if((g|0)==3){c=j7a(1,320)|0;do if(!c)x7a(0)|0;else{j=j7a(1,308)|0;if(!j){m8a(c);x7a(0)|0;break}d=c+104|0;e=124208;f=d+84|0;do{k[d>>2]=k[e>>2];d=d+4|0;e=e+4|0}while((d|0)<(f|0));k[c+108>>2]=10;k[c+316>>2]=j;k[c+188>>2]=a;d=B8a(a)|0;k[j>>2]=d;if(!d){m8a(c);break}if((n8a(a,d)|0)<0){m8a(c);break}f=C8a(613440)|0;k[j+16>>2]=f;do if(!f){d=A6a()|0;k[m>>2]=613440;k[m+4>>2]=d;d=y6a(595302,m)|0;g=119}else{f=C8a(611214)|0;k[j+20>>2]=f;if(!f){d=A6a()|0;k[m+8>>2]=611214;k[m+8+4>>2]=d;d=y6a(595302,m+8|0)|0;g=119;break}f=C8a(612512)|0;k[j+24>>2]=f;if(!f){d=A6a()|0;k[m+16>>2]=612512;k[m+16+4>>2]=d;d=y6a(595302,m+16|0)|0;g=119;break}f=C8a(611447)|0;k[j+28>>2]=f;if(!f){d=A6a()|0;k[m+24>>2]=611447;k[m+24+4>>2]=d;d=y6a(595302,m+24|0)|0;g=119;break}f=C8a(613786)|0;k[j+32>>2]=f;if(!f){d=A6a()|0;k[m+32>>2]=613786;k[m+32+4>>2]=d;d=y6a(595302,m+32|0)|0;g=119;break}f=C8a(613337)|0;k[j+36>>2]=f;if(!f){d=A6a()|0;k[m+40>>2]=613337;k[m+40+4>>2]=d;d=y6a(595302,m+40|0)|0;g=119;break}f=C8a(613712)|0;k[j+40>>2]=f;if(!f){d=A6a()|0;k[m+48>>2]=613712;k[m+48+4>>2]=d;d=y6a(595302,m+48|0)|0;g=119;break}f=C8a(612330)|0;k[j+44>>2]=f;if(!f){d=A6a()|0;k[m+56>>2]=612330;k[m+56+4>>2]=d;d=y6a(595302,m+56|0)|0;g=119;break}f=C8a(611115)|0;k[j+48>>2]=f;if(!f){d=A6a()|0;k[m+64>>2]=611115;k[m+64+4>>2]=d;d=y6a(595302,m+64|0)|0;g=119;break}f=C8a(611184)|0;k[j+52>>2]=f;if(!f){d=A6a()|0;k[m+72>>2]=611184;k[m+72+4>>2]=d;d=y6a(595302,m+72|0)|0;g=119;break}f=C8a(612405)|0;k[j+56>>2]=f;if(!f){d=A6a()|0;k[m+80>>2]=612405;k[m+80+4>>2]=d;d=y6a(595302,m+80|0)|0;g=119;break}f=C8a(612261)|0;k[j+60>>2]=f;if(!f){d=A6a()|0;k[m+88>>2]=612261;k[m+88+4>>2]=d;d=y6a(595302,m+88|0)|0;g=119;break}f=C8a(611339)|0;k[j+64>>2]=f;if(!f){d=A6a()|0;k[m+96>>2]=611339;k[m+96+4>>2]=d;d=y6a(595302,m+96|0)|0;g=119;break}f=C8a(613304)|0;k[j+68>>2]=f;if(!f){d=A6a()|0;k[m+104>>2]=613304;k[m+104+4>>2]=d;d=y6a(595302,m+104|0)|0;g=119;break}f=C8a(613066)|0;k[j+72>>2]=f;if(!f){d=A6a()|0;k[m+112>>2]=613066;k[m+112+4>>2]=d;d=y6a(595302,m+112|0)|0;g=119;break}f=C8a(613093)|0;k[j+76>>2]=f;if(!f){d=A6a()|0;k[m+120>>2]=613093;k[m+120+4>>2]=d;d=y6a(595302,m+120|0)|0;g=119;break}f=C8a(613295)|0;k[j+80>>2]=f;if(!f){d=A6a()|0;k[m+128>>2]=613295;k[m+128+4>>2]=d;d=y6a(595302,m+128|0)|0;g=119;break}f=C8a(613040)|0;k[j+84>>2]=f;if(!f){d=A6a()|0;k[m+136>>2]=613040;k[m+136+4>>2]=d;d=y6a(595302,m+136|0)|0;g=119;break}f=C8a(613239)|0;k[j+88>>2]=f;if(!f){d=A6a()|0;k[m+144>>2]=613239;k[m+144+4>>2]=d;d=y6a(595302,m+144|0)|0;g=119;break}f=C8a(612551)|0;k[j+92>>2]=f;if(!f){d=A6a()|0;k[m+152>>2]=612551;k[m+152+4>>2]=d;d=y6a(595302,m+152|0)|0;g=119;break}f=C8a(611325)|0;k[j+96>>2]=f;if(!f){d=A6a()|0;k[m+160>>2]=611325;k[m+160+4>>2]=d;d=y6a(595302,m+160|0)|0;g=119;break}f=C8a(611311)|0;k[j+100>>2]=f;if(!f){d=A6a()|0;k[m+168>>2]=611311;k[m+168+4>>2]=d;d=y6a(595302,m+168|0)|0;g=119;break}f=C8a(611273)|0;k[j+104>>2]=f;if(!f){d=A6a()|0;k[m+176>>2]=611273;k[m+176+4>>2]=d;d=y6a(595302,m+176|0)|0;g=119;break}f=C8a(613160)|0;k[j+108>>2]=f;if(!f){d=A6a()|0;k[m+184>>2]=613160;k[m+184+4>>2]=d;d=y6a(595302,m+184|0)|0;g=119;break}f=C8a(611285)|0;k[j+112>>2]=f;if(!f){d=A6a()|0;k[m+192>>2]=611285;k[m+192+4>>2]=d;d=y6a(595302,m+192|0)|0;g=119;break}f=C8a(612379)|0;k[j+116>>2]=f;if(!f){d=A6a()|0;k[m+200>>2]=612379;k[m+200+4>>2]=d;d=y6a(595302,m+200|0)|0;g=119;break}f=C8a(612346)|0;k[j+120>>2]=f;if(!f){d=A6a()|0;k[m+208>>2]=612346;k[m+208+4>>2]=d;d=y6a(595302,m+208|0)|0;g=119;break}f=C8a(612365)|0;k[j+124>>2]=f;if(!f){d=A6a()|0;k[m+216>>2]=612365;k[m+216+4>>2]=d;d=y6a(595302,m+216|0)|0;g=119;break}f=C8a(611775)|0;k[j+128>>2]=f;if(!f){d=A6a()|0;k[m+224>>2]=611775;k[m+224+4>>2]=d;d=y6a(595302,m+224|0)|0;g=119;break}f=C8a(612448)|0;k[j+132>>2]=f;if(!f){d=A6a()|0;k[m+232>>2]=612448;k[m+232+4>>2]=d;d=y6a(595302,m+232|0)|0;g=119;break}f=C8a(611259)|0;k[j+136>>2]=f;if(!f){d=A6a()|0;k[m+240>>2]=611259;k[m+240+4>>2]=d;d=y6a(595302,m+240|0)|0;g=119;break}f=C8a(611434)|0;k[j+140>>2]=f;if(!f){d=A6a()|0;k[m+248>>2]=611434;k[m+248+4>>2]=d;d=y6a(595302,m+248|0)|0;g=119;break}f=C8a(613725)|0;k[j+144>>2]=f;if(!f){d=A6a()|0;k[m+256>>2]=613725;k[m+256+4>>2]=d;d=y6a(595302,m+256|0)|0;g=119;break}f=C8a(613121)|0;k[j+148>>2]=f;if(!f){d=A6a()|0;k[m+264>>2]=613121;k[m+264+4>>2]=d;d=y6a(595302,m+264|0)|0;g=119;break}f=C8a(612297)|0;k[j+152>>2]=f;if(!f){d=A6a()|0;k[m+272>>2]=612297;k[m+272+4>>2]=d;d=y6a(595302,m+272|0)|0;g=119;break}f=C8a(611405)|0;k[j+156>>2]=f;if(!f){d=A6a()|0;k[m+280>>2]=611405;k[m+280+4>>2]=d;d=y6a(595302,m+280|0)|0;g=119;break}f=C8a(613626)|0;k[j+160>>2]=f;if(!f){d=A6a()|0;k[m+288>>2]=613626;k[m+288+4>>2]=d;d=y6a(595302,m+288|0)|0;g=119;break}f=C8a(611418)|0;k[j+164>>2]=f;if(!f){d=A6a()|0;k[m+296>>2]=611418;k[m+296+4>>2]=d;d=y6a(595302,m+296|0)|0;g=119;break}f=C8a(611929)|0;k[j+168>>2]=f;if(!f){d=A6a()|0;k[m+304>>2]=611929;k[m+304+4>>2]=d;d=y6a(595302,m+304|0)|0;g=119;break}f=C8a(611917)|0;k[j+172>>2]=f;if(!f){d=A6a()|0;k[m+312>>2]=611917;k[m+312+4>>2]=d;d=y6a(595302,m+312|0)|0;g=119;break}f=C8a(612119)|0;k[j+176>>2]=f;if(!f){d=A6a()|0;k[m+320>>2]=612119;k[m+320+4>>2]=d;d=y6a(595302,m+320|0)|0;g=119;break}f=C8a(611150)|0;k[j+180>>2]=f;if(!f){d=A6a()|0;k[m+328>>2]=611150;k[m+328+4>>2]=d;d=y6a(595302,m+328|0)|0;g=119;break}f=C8a(613018)|0;k[j+184>>2]=f;if(!f){d=A6a()|0;k[m+336>>2]=613018;k[m+336+4>>2]=d;d=y6a(595302,m+336|0)|0;g=119;break}f=C8a(613701)|0;k[j+188>>2]=f;if(!f){d=A6a()|0;k[m+344>>2]=613701;k[m+344+4>>2]=d;d=y6a(595302,m+344|0)|0;g=119;break}f=C8a(612533)|0;k[j+192>>2]=f;if(!f){d=A6a()|0;k[m+352>>2]=612533;k[m+352+4>>2]=d;d=y6a(595302,m+352|0)|0;g=119;break}f=C8a(612616)|0;k[j+196>>2]=f;if(!f){d=A6a()|0;k[m+360>>2]=612616;k[m+360+4>>2]=d;d=y6a(595302,m+360|0)|0;g=119;break}f=C8a(613398)|0;k[j+200>>2]=f;if(!f){d=A6a()|0;k[m+368>>2]=613398;k[m+368+4>>2]=d;d=y6a(595302,m+368|0)|0;g=119;break}f=C8a(612569)|0;k[j+204>>2]=f;if(!f){d=A6a()|0;k[m+376>>2]=612569;k[m+376+4>>2]=d;d=y6a(595302,m+376|0)|0;g=119;break}f=C8a(612223)|0;k[j+208>>2]=f;if(!f){d=A6a()|0;k[m+384>>2]=612223;k[m+384+4>>2]=d;d=y6a(595302,m+384|0)|0;g=119;break}f=C8a(612462)|0;k[j+212>>2]=f;if(!f){d=A6a()|0;k[m+392>>2]=612462;k[m+392+4>>2]=d;d=y6a(595302,m+392|0)|0;g=119;break}f=C8a(611547)|0;k[j+216>>2]=f;if(!f){d=A6a()|0;k[m+400>>2]=611547;k[m+400+4>>2]=d;d=y6a(595302,m+400|0)|0;g=119;break}f=C8a(612138)|0;k[j+220>>2]=f;if(!f){d=A6a()|0;k[m+408>>2]=612138;k[m+408+4>>2]=d;d=y6a(595302,m+408|0)|0;g=119;break}f=C8a(611599)|0;k[j+224>>2]=f;if(!f){d=A6a()|0;k[m+416>>2]=611599;k[m+416+4>>2]=d;d=y6a(595302,m+416|0)|0;g=119;break}f=C8a(611612)|0;k[j+228>>2]=f;if(f|0)break;d=A6a()|0;k[m+424>>2]=611612;k[m+424+4>>2]=d;d=y6a(595302,m+424|0)|0;g=119}while(0);if((g|0)==119)if((d|0)<0){m8a(c);break}if(!(b&4))D8a(0)|0;else D8a(1)|0;if((E8a()|0)>0)k[c+108>>2]=k[c+108>>2]|4;if(!(x6a(20,m+468|0)|0))if(k[m+468>>2]&1|0)k[j+4>>2]=1;k[m+468>>2]=0;Di[k[j+112>>2]&511](3379,m+468|0);k[c+180>>2]=k[m+468>>2];k[m+468>>2]=0;Di[k[j+112>>2]&511](3379,m+468|0);k[c+184>>2]=k[m+468>>2];Di[k[j+112>>2]&511](36345,m+476|0);Di[k[j+100>>2]&511](36346,m+480|0);d=k[m+476>>2]|0;if(i[m+480>>0]|0){k[m+476>>2]=d+1;d=d+1|0}d=j7a(d,4)|0;k[j+244>>2]=d;if(!d){m8a(c);x7a(0)|0;break}k[j+240>>2]=k[m+476>>2];Di[k[j+112>>2]&511](36344,d);if(i[m+480>>0]|0)k[(k[j+244>>2]|0)+((k[m+476>>2]|0)+-1<<2)>>2]=-1;k[j+232>>2]=0;Di[k[j+112>>2]&511](36006,m+472|0);k[j+236>>2]=k[m+472>>2];k[c+4>>2]=228;k[c+8>>2]=152;k[c+12>>2]=371;k[c+28>>2]=93;k[c+32>>2]=2;k[c+36>>2]=94;k[c+40>>2]=229;k[c+44>>2]=372;k[c+48>>2]=1543;k[c+52>>2]=1544;k[c+56>>2]=1545;k[c+60>>2]=153;k[c+64>>2]=154;k[c+68>>2]=155;k[c+72>>2]=92;k[c+76>>2]=1;k[c+80>>2]=95;k[c+84>>2]=706;k[c+88>>2]=230;k[c+92>>2]=707;k[c+96>>2]=93;k[c+100>>2]=373;e=k[c+112>>2]|0;k[c+112>>2]=e+1;k[c+116+(e<<2)>>2]=842094169;e=k[c+112>>2]|0;k[c+112>>2]=e+1;k[c+116+(e<<2)>>2]=1448433993;e=k[c+112>>2]|0;k[c+112>>2]=e+1;k[c+116+(e<<2)>>2]=842094158;e=k[c+112>>2]|0;k[c+112>>2]=e+1;k[c+116+(e<<2)>>2]=825382478;e=k[c+316>>2]|0;d=k[e>>2]|0;if((k[299771]|0)==(d|0))y8a(c)|0;else{k[e+268>>2]=0;if((n8a(k[c+188>>2]|0,d)|0)>=0){k[299771]=k[e>>2];y8a(c)|0;d=k[c+316>>2]|0;if(k[d+4>>2]|0)do{}while((oj[k[d+108>>2]&7]()|0)!=0)}}k[e+8>>2]=-1;k[e+12>>2]=0;Si[k[e+16>>2]&1023](33984);Di[k[e+136>>2]&511](3333,1);Di[k[e+136>>2]&511](3317,1);b=k[e+272>>2]|0;pj[k[e+40>>2]&3](+(b&255)*.003921568859368563,+((b&65535)>>>8&255)*.003921568859368563,+(b>>>16&255)*.003921568859368563,+(b>>>24&255)*.003921568859368563);Si[k[e+84>>2]&1023](0);Si[k[e+72>>2]&1023](1);b=k[c+316>>2]|0;if(!(k[b+4>>2]|0)){a=c;r=m;return a|0}d=oj[k[b+108>>2]&7]()|0;if(!d){a=c;r=m;return a|0}else f=1279174;do{f=(i[f>>0]|0)==0?595012:f;switch(d|0){case 1280:{e=595083;break}case 1281:{e=595066;break}case 1282:{e=595045;break}case 1285:{e=595028;break}default:e=595020}k[m+432>>2]=f;k[m+432+4>>2]=595125;k[m+432+8>>2]=1944;k[m+432+12>>2]=600604;k[m+432+16>>2]=e;k[m+432+20>>2]=d;y6a(595099,m+432|0)|0;d=oj[k[b+108>>2]&7]()|0}while((d|0)!=0);r=m;return c|0}while(0);if(!l){a=0;r=m;return a|0}}I6a(21,k[m+464>>2]|0)|0;I6a(17,k[m+460>>2]|0)|0;I6a(18,k[m+456>>2]|0)|0;J6a(a,h)|0;a=0;r=m;return a|0}function x6a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=r;r=r+112|0;k[b>>2]=0;do switch(a|0){case 0:{d=3410;break}case 2:{d=3412;break}case 1:{d=3411;break}case 3:{d=3413;break}case 5:{k[b>>2]=k[(k[299476]|0)+296>>2];b=0;r=e;return b|0}case 6:{d=3414;break}case 7:{d=3415;break}case 12:case 11:case 10:case 9:case 8:{k[b>>2]=0;b=0;r=e;return b|0}case 13:{d=32936;break}case 14:{d=32937;break}case 24:{d=33531;break}case 4:{k[e+104>>2]=0;k[e+100>>2]=0;k[e+96>>2]=0;k[e+92>>2]=0;if((x6a(0,e+104|0)|0)<0)a=-1;else if((x6a(1,e+100|0)|0)<0)a=-1;else if((x6a(2,e+96|0)|0)<0)a=-1;else if((x6a(3,e+92|0)|0)<0)a=-1;else{k[b>>2]=(k[e+100>>2]|0)+(k[e+104>>2]|0)+(k[e+96>>2]|0)+(k[e+92>>2]|0);a=0}b=a;r=e;return b|0}case 15:{k[b>>2]=(k[(k[299476]|0)+328>>2]|0)!=0&1;b=0;r=e;return b|0}case 16:{k[b>>2]=k[(k[299476]|0)+360>>2];b=0;r=e;return b|0}case 17:{k[b>>2]=k[(k[299476]|0)+332>>2];b=0;r=e;return b|0}case 18:{k[b>>2]=k[(k[299476]|0)+336>>2];b=0;r=e;return b|0}case 19:{k[b>>2]=(k[(k[299476]|0)+344>>2]|0)==4&1;b=0;r=e;return b|0}case 20:{k[b>>2]=k[(k[299476]|0)+340>>2];b=0;r=e;return b|0}case 21:{k[b>>2]=k[(k[299476]|0)+344>>2];b=0;r=e;return b|0}case 22:{k[b>>2]=k[(k[299476]|0)+348>>2];b=0;r=e;return b|0}case 23:{k[b>>2]=k[(k[299476]|0)+356>>2];b=0;r=e;return b|0}default:{b=y6a(593138,e)|0;r=e;return b|0}}while(0);a=k[299476]|0;do if(!a)y6a(593213,e+8|0)|0;else{c=k[a+144>>2]|0;if(!c){y6a(593283,e+24|0)|0;break}if(!(k[a+364>>2]|0)){y6a(593254,e+16|0)|0;break}a=gj[c&511](a,611285)|0;if(a|0){Di[a&511](d,b);a=k[299476]|0;do if(!a)y6a(593213,e+40|0)|0;else{c=k[a+144>>2]|0;if(!c){y6a(593283,e+56|0)|0;break}if(!(k[a+364>>2]|0)){y6a(593254,e+48|0)|0;break}a=gj[c&511](a,613160)|0;if(a|0){a=oj[a&7]()|0;switch(a|0){case 1280:{b=y6a(593414,e+72|0)|0;r=e;return b|0}case 1281:{b=y6a(593444,e+80|0)|0;r=e;return b|0}case 0:{b=0;r=e;return b|0}default:{k[e+88>>2]=a;b=y6a(593475,e+88|0)|0;r=e;return b|0}}}}while(0);b=y6a(593369,e+64|0)|0;r=e;return b|0}}while(0);b=y6a(593321,e+32|0)|0;r=e;return b|0}function y6a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0.0;e=r;r=r+32|0;if(!a){r=e;return -1}k[155334]=1;z6a(621340,a,128)|0;k[e+8>>2]=b;k[155367]=0;c=i[a>>0]|0;a:do if(c<<24>>24){b=a;a=0;do{b=b+1|0;if(c<<24>>24==37){while(1){d=i[b>>0]|0;if(d<<24>>24==46){b=b+1|0;continue}else{c=b+1|0;if((d+-48&255)<10){b=c;continue}else break}}switch(d<<24>>24|0){case 0:break;case 88:case 120:case 111:case 117:case 100:case 105:case 99:{d=(k[e+8>>2]|0)+(4-1)&~(4-1);b=k[d>>2]|0;k[e+8>>2]=d+4;d=a+1|0;k[155367]=d;k[621472+(a<<7)>>2]=b;b=c;a=d;break}case 102:{d=(k[e+8>>2]|0)+(8-1)&~(8-1);f=+p[d>>3];k[e+8>>2]=d+8;d=a+1|0;k[155367]=d;p[621472+(a<<7)>>3]=f;b=c;a=d;break}case 112:{d=(k[e+8>>2]|0)+(4-1)&~(4-1);b=k[d>>2]|0;k[e+8>>2]=d+4;d=a+1|0;k[155367]=d;k[621472+(a<<7)>>2]=b;b=c;a=d;break}case 115:{d=(k[e+8>>2]|0)+(4-1)&~(4-1);b=k[d>>2]|0;k[e+8>>2]=d+4;z6a(621472+(a<<7)|0,(b|0)==0?616679:b,128)|0;a=(k[155367]|0)+1|0;k[155367]=a;b=c;break}default:b=c}if((a|0)>4)break a}c=i[b>>0]|0}while(c<<24>>24!=0)}while(0);A6a()|0;k[e>>2]=1274984;C6a(1,593163,e);r=e;return -1}function z6a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Fnb(b)|0;if(!c)return d|0;c=d>>>0<(c+-1|0)>>>0?d:c+-1|0;ABb(a|0,b|0,c|0)|0;i[a+c>>0]=0;return d|0}function A6a(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0;j=r;r=r+64|0;i[1274984]=0;if(!(k[155334]|0)){r=j;return 1274984}a=i[621340]|0;a:do if(!(a<<24>>24)){b=1023;a=1274984}else{b=1023;e=a;g=0;c=621340;a=1274984;while(1){d=a;while(1){if(e<<24>>24==37){a=d;break}c=c+1|0;a=d+1|0;i[d>>0]=e;d=b+-1|0;e=i[c>>0]|0;if(!((b|0)>1&e<<24>>24!=0)){b=d;break a}else{b=d;d=a}}i[j+32>>0]=37;c=c+1|0;e=j+32+1|0;while(1){f=i[c>>0]|0;if(f<<24>>24!=46){if(f<<24>>24<=47){d=e;h=12;break}if(f<<24>>24>=58){d=e;h=11;break}}c=c+1|0;d=e+1|0;i[e>>0]=f;if(e>>>0<(j+32+30|0)>>>0)e=d;else break}if((h|0)==11){h=0;i[d>>0]=f;c=c+1|0;e=d;d=d+1|0}else if((h|0)==12){h=0;i[d>>0]=f;c=c+1|0;e=d;d=d+1|0}i[d>>0]=0;switch(i[e>>0]|0){case 37:{i[a>>0]=37;b=b+-1|0;d=g;a=a+1|0;break}case 88:case 120:case 111:case 117:case 100:case 105:case 99:{d=g+1|0;k[j>>2]=k[621472+(g<<7)>>2];e=B6a(a,b,j+32|0,j)|0;if((e|0)>0){b=b-e|0;a=a+e|0}break}case 102:{d=g+1|0;p[j+8>>3]=+p[621472+(g<<7)>>3];e=B6a(a,b,j+32|0,j+8|0)|0;if((e|0)>0){b=b-e|0;a=a+e|0}break}case 112:{d=g+1|0;k[j+16>>2]=k[621472+(g<<7)>>2];e=B6a(a,b,j+32|0,j+16|0)|0;if((e|0)>0){b=b-e|0;a=a+e|0}break}case 115:{d=g+1|0;k[j+24>>2]=621472+(g<<7);e=B6a(a,b,j+32|0,j+24|0)|0;if((e|0)>0){b=b-e|0;a=a+e|0}break}default:d=g}e=i[c>>0]|0;if(!((b|0)>0&e<<24>>24!=0))break a;else g=d}}while(0);i[((b|0)<0?a+(b+-1)|0:a)>>0]=0;r=j;return 1274984}function B6a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+16|0;k[e>>2]=d;d=Hmb(a,b,(c|0)==0?1279174:c,e)|0;r=e;return d|0}function C6a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;k[d>>2]=c;D6a(a,2,b,d);r=d;return}function D6a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;g=r;if(!50){r=g;return}if((b|0)<0|b>>>0>6){r=g;return}a:do if(!0)f=7;else{e=0;while(1){if((k[e>>2]|0)==(a|0))break;e=k[e+8>>2]|0;if(!e){f=7;break a}}e=k[e+4>>2]|0}while(0);b:do if((f|0)==7)switch(a|0){case 8:{e=1;break b}case 0:{e=3;break b}case 2:{e=4;break b}default:{e=6;break b}}while(0);if(e>>>0>b>>>0){r=g;return}f=r;r=r+4096|0;F6a(f,4096,c,d)|0;e=G6a(f)|0;if(e|0)if((i[f+(e+-1)>>0]|0)==10){i[f+(e+-1)>>0]=0;if(e+-1|0)if((i[f+(e+-2)>>0]|0)==13)i[f+(e+-2)>>0]=0}E6a(0,a,b,f);r=g;return}function E6a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=r;r=r+16|0;b=k[37151]|0;k[a>>2]=k[124292+(c<<2)>>2];k[a+4>>2]=d;Cob(b,593205,a)|0;r=a;return}function F6a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Hmb(a,b,(c|0)==0?1279174:c,d)|0}function G6a(a){a=a|0;return Fnb(a)|0}function H6a(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=k[299476]|0;if(!b){y6a(593213,c)|0;a=0;r=c;return a|0}if(a|0)if((k[a>>2]|0)==(b+256|0)){a=k[a+48>>2]|0;r=c;return a|0}y6a(606710,c+8|0)|0;a=0;r=c;return a|0}function I6a(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+32|0;c=k[299476]|0;a:do if(!c)c=y6a(593213,d)|0;else do switch(a|0){case 0:{k[c+268>>2]=b;c=0;break a}case 1:{k[c+272>>2]=b;c=0;break a}case 2:{k[c+276>>2]=b;c=0;break a}case 3:{k[c+280>>2]=b;c=0;break a}case 5:{k[c+296>>2]=b;c=0;break a}case 4:{k[c+288>>2]=b;c=0;break a}case 6:{k[c+284>>2]=b;c=0;break a}case 7:{k[c+292>>2]=b;c=0;break a}case 8:{k[c+300>>2]=b;c=0;break a}case 9:{k[c+304>>2]=b;c=0;break a}case 10:{k[c+308>>2]=b;c=0;break a}case 11:{k[c+312>>2]=b;c=0;break a}case 12:{k[c+316>>2]=b;c=0;break a}case 13:{k[c+320>>2]=b;c=0;break a}case 14:{k[c+324>>2]=b;c=0;break a}case 15:{k[c+328>>2]=b;c=0;break a}case 16:{k[c+360>>2]=b;c=0;break a}case 17:{k[c+332>>2]=b;c=0;break a}case 18:{k[c+336>>2]=b;c=0;break a}case 19:if(!b){k[c+344>>2]=0;c=0;break a}else{k[c+344>>2]=4;c=0;break a}case 20:if(b>>>0>15){k[d+8>>2]=b;c=y6a(593494,d+8|0)|0;break a}else{k[c+340>>2]=b;c=0;break a}case 21:switch(b|0){case 0:case 1:case 2:case 4:{k[c+344>>2]=b;c=0;break a}default:{k[d+16>>2]=b;c=y6a(593525,d+16|0)|0;break a}}case 22:{k[c+348>>2]=b;c=0;break a}case 23:{k[c+356>>2]=b;c=0;break a}case 24:{k[c+352>>2]=b;c=0;break a}default:{c=y6a(593138,d+24|0)|0;break a}}while(0);while(0);r=d;return c|0}function J6a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=r;r=r+64|0;c=k[299476]|0;if(b&2|0)if(!(k[c+152>>2]|0)){a=y6a(593559,f)|0;r=f;return a|0}d=k[a+48>>2]|0;e=(d&2048|0)==0?b&-2049:b|2048;do if(!c)y6a(593213,f+8|0)|0;else{if((k[a>>2]|0)!=(c+256|0)){y6a(606710,f+16|0)|0;break}if(d&4|0){k[a+112>>2]=1;K6a(a,0)|0;b=k[299476]|0;c=k[b+64>>2]|0;if(c|0)Di[c&511](b,a);k[a+112>>2]=0;V6a(a,2,0,0)|0}}while(0);b=k[a+104>>2]|0;if(b|0){k[b>>2]=k[b>>2]&-5;N7a(b);k[a+104>>2]=0}b=k[299476]|0;c=k[b+116>>2]|0;if(c){Di[c&511](b,a);b=k[299476]|0}c=k[b+104>>2]|0;if((e&2048|0)==0&(c|0)!=0)Di[c&511](b,a);a:do if((k[a+48>>2]&2|0)==(e&2|0))d=0;else{c=k[299476]|0;if(!(e&2)){if(!c){y6a(593213,f+40|0)|0;d=0;break}b=k[c+364>>2]|0;if((b|0)<=0){d=0;break}k[c+364>>2]=b+-1;if((b|0)>1){d=0;break}b=k[c+148>>2]|0;if(!b){d=0;break}Si[b&1023](c);d=0;break}b:do if(!c)b=y6a(593213,f+24|0)|0;else{b=k[c+364>>2]|0;do if(!b){b=k[c+140>>2]|0;if(!b){b=y6a(593283,f+32|0)|0;break b}b=gj[b&511](c,0)|0;d=k[299476]|0;if(!b){c=d;b=k[d+364>>2]|0;break}c=k[d+148>>2]|0;if(!c)break b;Si[c&1023](d);break b}while(0);k[c+364>>2]=b+1;d=1;break a}while(0);if((b|0)<0){a=-1;r=f;return a|0}else d=1}while(0);k[a+48>>2]=e&8242|8;k[a+52>>2]=e&8242|8;k[a+116>>2]=0;b=k[299476]|0;c=k[b+28>>2]|0;if((e&2048|0)==0&(c|0)!=0)if((gj[c&511](b,a)|0)<0){if(!d){a=-1;r=f;return a|0}c=k[299476]|0;if(!c)y6a(593213,f+48|0)|0;else{b=k[c+364>>2]|0;if((b|0)>0){k[c+364>>2]=b+-1;if((b|0)<=1){b=k[c+148>>2]|0;if(b|0)Si[b&1023](c)}}}k[a+48>>2]=k[a+48>>2]&-3;a=-1;r=f;return a|0}if(e&2048|0)k[a+48>>2]=k[a+48>>2]|2048;b=k[299476]|0;c=k[b+36>>2]|0;if(c)if(k[a+8>>2]|0){Di[c&511](b,a);b=k[299476]|0}c=k[b+40>>2]|0;if(c|0){d=k[a+12>>2]|0;if(d|0)kj[c&255](b,a,d)}if(k[a+124>>2]|0)gj[k[(k[299476]|0)+232>>2]&511](a,1)|0;k8a(a,e);a=0;r=f;return a|0}function K6a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0;l=r;r=r+112|0;c=k[299476]|0;if(!c){y6a(593213,l)|0;a=-1;r=l;return a|0}if(a|0)if((k[a>>2]|0)==(c+256|0)){if((b|0)!=0&(k[a+112>>2]|0)!=0){a=0;r=l;return a|0}c=L6a(a)|0;if((c|0)>-1)i=(k[(k[299476]|0)+244>>2]|0)+(c*68|0)|0;else i=0;j=i+56|0;do if(b|0){e=k[j>>2]|0;if(!((e|0)==0|(e|0)==(a|0))){c=k[299476]|0;if(!c){y6a(593213,l+16|0)|0;break}if((k[e>>2]|0)!=(c+256|0)){y6a(606710,l+24|0)|0;break}if(!(k[e+48>>2]&64)){K6a(e,0)|0;c=k[299476]|0;d=k[c+76>>2]|0;if(d|0)Di[d&511](c,e)}}}while(0);if(((k[j>>2]|0)==(a|0)|0)==(b|0))if(!((k[a+48>>2]^k[a+52>>2])&4097)){a=0;r=l;return a|0}c=k[(k[299476]|0)+248>>2]|0;a:do if(c|0){b:do if(!b){d=c;while(1){if((d|0)!=(a|0))if((k[d+48>>2]&69|0)==5){c=L6a(d)|0;if((c|0)>-1)c=(k[(k[299476]|0)+244>>2]|0)+(c*68|0)|0;else c=0;if((c|0)==(i|0)){O6a(l+44|0,0,20)|0;if(!(P6a(d,l+44|0)|0))break b}}d=k[d+144>>2]|0;if(!d)break a}}else{d=c;while(1){if((d|0)==(a|0))h=35;else if((k[d+48>>2]&69|0)==5){c=L6a(d)|0;if((c|0)>-1)c=(k[(k[299476]|0)+244>>2]|0)+(c*68|0)|0;else c=0;if((c|0)==(i|0))h=35}if((h|0)==35){h=0;O6a(l+44|0,0,20)|0;if(!(P6a(d,l+44|0)|0))break b}d=k[d+144>>2]|0;if(!d)break a}}while(0);f=d+24|0;if((k[f>>2]|0)==(k[l+44+4>>2]|0))g=(k[d+28>>2]|0)!=(k[l+44+8>>2]|0)&1;else g=1;c:do if((k[a+48>>2]&4097|0)==4097){c=i+16|0;k[l+84>>2]=k[c>>2];k[l+84+4>>2]=k[c+4>>2];k[l+84+8>>2]=k[c+8>>2];k[l+84+12>>2]=k[c+12>>2];k[l+84+16>>2]=k[c+16>>2];c=i+36|0;k[l+64>>2]=k[c>>2];k[l+64+4>>2]=k[c+4>>2];k[l+64+8>>2]=k[c+8>>2];k[l+64+12>>2]=k[c+12>>2];k[l+64+16>>2]=k[c+16>>2];do if(U6a(l+84|0,l+64|0,20)|0){e=k[299476]|0;b=k[e+24>>2]|0;if(!b)if((y6a(593796,l+32|0)|0)<0){c=-1;break c}else{h=47;break c}if((Ri[b&255](e,i,l+84|0)|0)<0){c=-1;break c}else{k[c>>2]=k[l+84>>2];k[c+4>>2]=k[l+84+4>>2];k[c+8>>2]=k[l+84+8>>2];k[c+12>>2]=k[l+84+12>>2];k[c+16>>2]=k[l+84+16>>2];break}}while(0);h=47}else if((T6a(i,l+44|0)|0)<0)c=-1;else h=47;while(0);if((h|0)==47){c=k[299476]|0;e=k[c+88>>2]|0;if(e|0)vj[e&127](c,d,i,1);k[j>>2]=d;if(!g){k[d+108>>2]=0;V6a(d,6,k[f>>2]|0,k[d+28>>2]|0)|0}else V6a(d,5,k[l+44+4>>2]|0,k[l+44+8>>2]|0)|0;if((L7a()|0)==(d|0)){M7a(l+84|0,l+64|0)|0;e7a(d,k[l+84>>2]|0,k[l+64>>2]|0)}k[a+52>>2]=k[a+48>>2];c=0}a=c;r=l;return a|0}while(0);c=i+16|0;k[l+84>>2]=k[c>>2];k[l+84+4>>2]=k[c+4>>2];k[l+84+8>>2]=k[c+8>>2];k[l+84+12>>2]=k[c+12>>2];k[l+84+16>>2]=k[c+16>>2];c=i+36|0;k[l+64>>2]=k[c>>2];k[l+64+4>>2]=k[c+4>>2];k[l+64+8>>2]=k[c+8>>2];k[l+64+12>>2]=k[c+12>>2];k[l+64+16>>2]=k[c+16>>2];do if(U6a(l+84|0,l+64|0,20)|0){d=k[299476]|0;e=k[d+24>>2]|0;if(!e){y6a(593796,l+40|0)|0;break}if((Ri[e&255](d,i,l+84|0)|0)>=0){k[c>>2]=k[l+84>>2];k[c+4>>2]=k[l+84+4>>2];k[c+8>>2]=k[l+84+8>>2];k[c+12>>2]=k[l+84+12>>2];k[c+16>>2]=k[l+84+16>>2]}}while(0);c=k[299476]|0;d=k[c+88>>2]|0;if(d|0)vj[d&127](c,a,i,0);k[j>>2]=0;k[a+108>>2]=0;V6a(a,6,k[a+24>>2]|0,k[a+28>>2]|0)|0;if((L7a()|0)==(a|0)){M7a(l+84|0,l+64|0)|0;e7a(a,k[l+84>>2]|0,k[l+64>>2]|0)}k[a+52>>2]=k[a+48>>2];a=0;r=l;return a|0}y6a(606710,l+8|0)|0;a=-1;r=l;return a|0}function L6a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;h=r;r=r+48|0;b=k[299476]|0;if(!b){y6a(593213,h)|0;g=-1;r=h;return g|0}if(a|0)if((k[a>>2]|0)==(b+256|0)){f=k[a+16>>2]|0;if((f&-65536|0)<805240832)switch(f&-65536|0){case 536805376:{g=7;break}default:{}}else switch(f&-65536|0){case 805240832:{g=7;break}default:{}}if((g|0)==7){g=(f&65535|0)>=(k[b+240>>2]|0)?0:f&65535;r=h;return g|0}d=k[a+20>>2]|0;if((d&-65536|0)<805240832)switch(d&-65536|0){case 536805376:{g=11;break}default:{}}else switch(d&-65536|0){case 805240832:{g=11;break}default:{}}if((g|0)==11){g=(d&65535|0)>=(k[b+240>>2]|0)?0:d&65535;r=h;return g|0}e=k[b+240>>2]|0;a:do if((e|0)>0){c=k[b+244>>2]|0;b=0;while(1){if((k[c+(b*68|0)+56>>2]|0)==(a|0))break;b=b+1|0;if((b|0)>=(e|0))break a}r=h;return b|0}while(0);k[h+40>>2]=((k[a+24>>2]|0)/2|0)+f;k[h+40+4>>2]=((k[a+28>>2]|0)/2|0)+d;if((e|0)>0){b=-1;e=2147483647;f=0;while(1){M6a(f,h+24|0)|0;if(N6a(h+40|0,1,h+24|0,0)|0){b=f;g=20;break}c=(k[h+40>>2]|0)-(k[h+24>>2]|0)+((k[h+24+8>>2]|0)/-2|0)|0;d=(k[h+40+4>>2]|0)-(k[h+24+4>>2]|0)+((k[h+24+12>>2]|0)/-2|0)|0;c=(ha(d,d)|0)+(ha(c,c)|0)|0;d=(c|0)<(e|0);b=d?f:b;f=f+1|0;if((f|0)>=(k[(k[299476]|0)+240>>2]|0))break;else e=d?c:e}if((g|0)==20){r=h;return b|0}if((b|0)>=0){g=b;r=h;return g|0}}else b=-1;y6a(593647,h+16|0)|0;g=b;r=h;return g|0}y6a(606710,h+8|0)|0;g=-1;r=h;return g|0}function M6a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=r;r=r+16|0;d=k[299476]|0;if(!d){y6a(593213,f)|0;b=-1;r=f;return b|0}c=k[d+240>>2]|0;if(!((a|0)>-1&(c|0)>(a|0))){k[f+8>>2]=c+-1;y6a(593593,f+8|0)|0;b=-1;r=f;return b|0}if(!b){b=0;r=f;return b|0}e=k[d+244>>2]|0;c=k[d+12>>2]|0;if(c|0)if(!(Ri[c&255](d,e+(a*68|0)|0,b)|0)){b=0;r=f;return b|0}if(!a){k[b>>2]=0;k[b+4>>2]=0;c=b+8|0}else{M6a(a+-1|0,b)|0;k[b>>2]=(k[b>>2]|0)+(k[b+8>>2]|0);c=b+8|0}k[c>>2]=k[e+(a*68|0)+40>>2];k[b+12>>2]=k[e+(a*68|0)+44>>2];b=0;r=f;return b|0}function N6a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0;q=r;r=r+16|0;if(!a){k[q>>2]=593634;y6a(608563,q)|0;d=0;r=q;return d|0}if((b|0)<1){k[q+8>>2]=593641;y6a(608563,q+8|0)|0;d=0;r=q;return d|0}if(!c){if(!d){d=1;r=q;return d|0}c=k[a>>2]|0;h=k[a+4>>2]|0;if((b|0)>1){i=1;f=c;g=h;e=c;c=h;do{o=k[a+(i<<3)>>2]|0;p=k[a+(i<<3)+4>>2]|0;n=(o|0)<(e|0);f=n?f:(o|0)>(f|0)?o:f;e=n?o:e;o=(p|0)<(c|0);g=o?g:(p|0)>(g|0)?p:g;c=o?p:c;i=i+1|0}while((i|0)!=(b|0));i=19}else{f=c;g=h;e=c;c=h}}else{n=k[c>>2]|0;o=k[c+4>>2]|0;p=k[c+8>>2]|0;m=k[c+12>>2]|0;if((p|0)<1|(m|0)<1){d=0;r=q;return d|0}if(!d){c=0;while(1){l=k[a+(c<<3)>>2]|0;d=k[a+(c<<3)+4>>2]|0;if((d|0)<(m+o|0)&(((l|0)>=(p+n|0)|(l|0)<(n|0)|(d|0)<(o|0))^1)){c=1;i=21;break}c=c+1|0;if((c|0)>=(b|0)){c=0;i=21;break}}if((i|0)==21){r=q;return c|0}}else{h=0;l=0;f=0;g=0;e=0;j=0}while(1){i=k[a+(l<<3)>>2]|0;c=k[a+(l<<3)+4>>2]|0;if((c|0)<(m+o|0)&(((i|0)>=(p+n|0)|(i|0)<(n|0)|(c|0)<(o|0))^1))if(!h){h=1;f=i;g=c;e=i}else{s=(i|0)<(e|0);f=s?f:(i|0)>(f|0)?i:f;e=s?i:e;if((c|0)>=(j|0)){g=(c|0)>(g|0)?c:g;c=j}}else c=j;l=l+1|0;if((l|0)==(b|0))break;else j=c}if(!h){s=0;r=q;return s|0}else i=19}if((i|0)==19)if(!d){s=1;r=q;return s|0}k[d>>2]=e;k[d+4>>2]=c;k[d+8>>2]=f+1-e;k[d+12>>2]=g+1-c;s=1;r=q;return s|0}function O6a(a,b,c){a=a|0;b=b|0;c=c|0;vBb(a|0,b&255|0,c|0)|0;return a|0}function P6a(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+48|0;c=k[299476]|0;if(!c){y6a(593213,d)|0;b=-1;r=d;return b|0}if(a|0)if((k[a>>2]|0)==(c+256|0)){if(!b){k[d+16>>2]=593674;b=y6a(608563,d+16|0)|0;r=d;return b|0}k[d+28>>2]=k[a+72>>2];k[d+28+4>>2]=k[a+72+4>>2];k[d+28+8>>2]=k[a+72+8>>2];k[d+28+12>>2]=k[a+72+12>>2];k[d+28+16>>2]=k[a+72+16>>2];if(!(k[d+28+4>>2]|0))k[d+28+4>>2]=k[a+64>>2];if(!(k[d+28+8>>2]|0))k[d+28+8>>2]=k[a+68>>2];c=L6a(a)|0;if((c|0)>-1)c=(k[(k[299476]|0)+244>>2]|0)+(c*68|0)|0;else c=0;if((k[a+48>>2]&4097|0)==4097){a=c+16|0;k[d+28>>2]=k[a>>2];k[d+28+4>>2]=k[a+4>>2];k[d+28+8>>2]=k[a+8>>2];k[d+28+12>>2]=k[a+12>>2];k[d+28+16>>2]=k[a+16>>2]}else{c=L6a(a)|0;if((c|0)>-1)c=(k[(k[299476]|0)+244>>2]|0)+(c*68|0)|0;else c=0;if(!(Q6a(c,d+28|0,d+28|0)|0)){b=y6a(593726,d+24|0)|0;r=d;return b|0}};k[b>>2]=k[d+28>>2];k[b+4>>2]=k[d+28+4>>2];k[b+8>>2]=k[d+28+8>>2];k[b+12>>2]=k[d+28+12>>2];k[b+16>>2]=k[d+28+16>>2];b=0;r=d;return b|0}y6a(606710,d+8|0)|0;b=-1;r=d;return b|0}function Q6a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0;p=r;r=r+16|0;if(!((b|0)!=0&(c|0)!=0)){y6a(593679,p)|0;c=0;r=p;return c|0}d=k[b>>2]|0;if(!d)d=k[a+16>>2]|0;e=k[b+12>>2]|0;if(!e)e=k[a+28>>2]|0;m=d>>>8&255;f=k[a+8>>2]|0;n=0;h=0;while(1){if(!f){f=k[299476]|0;g=k[f+20>>2]|0;if(!g)f=0;else{Di[g&511](f,a);S6a(k[a+12>>2]|0,k[a+8>>2]|0,20,374);f=k[a+8>>2]|0}}if((n|0)>=(f|0))break;l=k[a+12>>2]|0;g=l+(n*20|0)|0;i=k[l+(n*20|0)+4>>2]|0;if(i|0)if((i|0)<(k[b+4>>2]|0))break;j=k[l+(n*20|0)+8>>2]|0;if(!j)o=18;else if((j|0)<(k[b+8>>2]|0))if(!i)g=h;else if((i|0)==(k[b+4>>2]|0))break;else g=h;else o=18;do if((o|0)==18){o=0;if(h)if((i|0)>=(k[h+4>>2]|0))if((j|0)>=(k[h+8>>2]|0)){i=k[g>>2]|0;if((i|0)==(k[h>>2]|0)){l=k[l+(n*20|0)+12>>2]|0;g=((l|0)<(e|0)?1:(l|0)==(k[h+12>>2]|0))?h:g;break}if((i|0)!=(d|0)){if((i>>>8&255)>>>0>>0){g=h;break}if((i^d)&251658240|0){g=h;break}}}}while(0);n=n+1|0;h=g}if(!h){c=0;r=p;return c|0}d=k[h>>2]|0;if(!d)d=k[b>>2]|0;k[c>>2]=d;e=k[h+4>>2]|0;if(!e)o=34;else{f=k[h+8>>2]|0;if(!f)o=34;else{k[c+4>>2]=e;k[c+8>>2]=f;g=e}}if((o|0)==34){g=k[b+4>>2]|0;k[c+4>>2]=g;f=k[b+8>>2]|0;k[c+8>>2]=f}e=k[h+12>>2]|0;if(!e)e=k[b+12>>2]|0;k[c+12>>2]=e;k[c+16>>2]=k[h+16>>2];if(!d)k[c>>2]=370546692;if(!g)k[c+4>>2]=640;if(f|0){r=p;return c|0}k[c+8>>2]=480;r=p;return c|0}function R6a(a,b){a=a|0;b=b|0;var c=0,d=0;if((a|0)==(b|0)){b=0;return b|0}c=k[a+4>>2]|0;d=k[b+4>>2]|0;if((d|0)!=(c|0)){b=d-c|0;return b|0}d=k[a+8>>2]|0;c=k[b+8>>2]|0;if((c|0)!=(d|0)){b=c-d|0;return b|0}c=k[a>>2]|0;d=k[b>>2]|0;if((d>>>8&255|0)!=(c>>>8&255|0)){b=(d>>>8&255)-(c>>>8&255)|0;return b|0}if((d>>>16&15|0)==(c>>>16&15|0)){a=k[a+12>>2]|0;b=k[b+12>>2]|0;return ((b|0)==(a|0)?0:b-a|0)|0}b=(d>>>16&15)-(c>>>16&15)|0;return b|0}function S6a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qnb(a,b,c,d);return}function T6a(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+64|0;if(!b){k[d+32>>2]=k[a+16>>2];k[d+32+4>>2]=k[a+16+4>>2];k[d+32+8>>2]=k[a+16+8>>2];k[d+32+12>>2]=k[a+16+12>>2];k[d+32+16>>2]=k[a+16+16>>2]}else{k[d+32>>2]=k[b>>2];k[d+32+4>>2]=k[b+4>>2];k[d+32+8>>2]=k[b+8>>2];k[d+32+12>>2]=k[b+12>>2];k[d+32+16>>2]=k[b+16>>2];if(!(k[d+32>>2]|0))k[d+32>>2]=k[a+36>>2];if(!(k[d+32+4>>2]|0))k[d+32+4>>2]=k[a+40>>2];if(!(k[d+32+8>>2]|0))k[d+32+8>>2]=k[a+44>>2];if(!(k[d+32+12>>2]|0))k[d+32+12>>2]=k[a+48>>2];if(!(Q6a(a,d+32|0,d+32|0)|0)){a=k[d+32+8>>2]|0;k[d>>2]=k[d+32+4>>2];k[d+4>>2]=a;a=y6a(593759,d)|0;r=d;return a|0}}k[d+12>>2]=k[a+36>>2];k[d+12+4>>2]=k[a+36+4>>2];k[d+12+8>>2]=k[a+36+8>>2];k[d+12+12>>2]=k[a+36+12>>2];k[d+12+16>>2]=k[a+36+16>>2];if(!(U6a(d+32|0,d+12|0,20)|0)){a=0;r=d;return a|0}b=k[299476]|0;c=k[b+24>>2]|0;if(!c){a=y6a(593796,d+8|0)|0;r=d;return a|0}if((Ri[c&255](b,a,d+32|0)|0)<0){a=-1;r=d;return a|0};k[a+36>>2]=k[d+32>>2];k[a+36+4>>2]=k[d+32+4>>2];k[a+36+8>>2]=k[d+32+8>>2];k[a+36+12>>2]=k[d+32+12>>2];k[a+36+16>>2]=k[d+32+16>>2];a=0;r=d;return a|0}function U6a(a,b,c){a=a|0;b=b|0;c=c|0;return Emb(a,b,c)|0}function V6a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=r;r=r+64|0;if(!a){b=0;r=f;return b|0}a:do switch(b&255|0){case 1:{e=k[a+48>>2]|0;if(!(e&4)){k[a+48>>2]=e&-13|4;W6a(a);break a}else{b=0;r=f;return b|0}}case 2:{e=k[a+48>>2]|0;if(!(e&4)){b=0;r=f;return b|0}else{k[a+48>>2]=e&-13|8;X6a(a);break a}}case 4:{if((c&-65536|0)==536805376|(d&-65536|0)==536805376){b=0;r=f;return b|0}if(!(k[a+48>>2]&1)){k[a+56>>2]=c;k[a+60>>2]=d}if((k[a+16>>2]|0)==(c|0))if((k[a+20>>2]|0)==(d|0)){b=0;r=f;return b|0}k[a+16>>2]=c;k[a+20>>2]=d;break}case 5:{if(!(k[a+48>>2]&1)){k[a+64>>2]=c;k[a+68>>2]=d}if((k[a+24>>2]|0)==(c|0))if((k[a+28>>2]|0)==(d|0)){b=0;r=f;return b|0}k[a+24>>2]=c;k[a+28>>2]=d;Y6a(a);break}case 7:{e=k[a+48>>2]|0;if(!(e&64)){k[a+48>>2]=e&-193|64;Z6a(a);break a}else{b=0;r=f;return b|0}}case 8:{e=k[a+48>>2]|0;if(!(e&128)){k[a+48>>2]=e&-193|128;break a}else{b=0;r=f;return b|0}}case 9:{e=k[a+48>>2]|0;if(!(e&192)){b=0;r=f;return b|0}else{k[a+48>>2]=e&-193;_6a(a);break a}}case 10:{e=k[a+48>>2]|0;if(!(e&1024)){k[a+48>>2]=e|1024;$6a(a);break a}else{b=0;r=f;return b|0}}case 11:{e=k[a+48>>2]|0;if(!(e&1024)){b=0;r=f;return b|0}else{k[a+48>>2]=e&-1025;break a}}case 12:{e=k[a+48>>2]|0;if(!(e&512)){k[a+48>>2]=e|512;b7a(a);break a}else{b=0;r=f;return b|0}}case 13:{e=k[a+48>>2]|0;if(!(e&512)){b=0;r=f;return b|0}else{k[a+48>>2]=e&-513;B7a(a);break a}}default:{}}while(0);if((i7a(512,-1)|0)<<24>>24==1){k[f>>2]=512;i[f+12>>0]=b;k[f+16>>2]=c;k[f+20>>2]=d;k[f+8>>2]=k[a+4>>2];switch(b<<24>>24){case 5:{G7a(375,f);break}case 6:{G7a(376,f);break}case 4:{G7a(377,f);break}default:{}}e=(m7a(f)|0)>0&1}else e=0;if(b<<24>>24!=14){b=e;r=f;return b|0}if(k[a+140>>2]|0){b=e;r=f;return b|0}if(k[a+144>>2]|0){b=e;r=f;return b|0}J7a()|0;b=e;r=f;return b|0}function W6a(a){a=a|0;if((k[a+48>>2]&69|0)!=5)return;K6a(a,1)|0;return}function X6a(a){a=a|0;K6a(a,0)|0;return}function Y6a(a){a=a|0;k[a+108>>2]=0;V6a(a,6,k[a+24>>2]|0,k[a+28>>2]|0)|0;return}function Z6a(a){a=a|0;K6a(a,0)|0;return}function _6a(a){a=a|0;if((k[a+48>>2]&69|0)!=5)return;K6a(a,1)|0;return}function $6a(a){a=a|0;var b=0,c=0;b=k[299476]|0;c=k[b+120>>2]|0;if(!c)return;Di[c&511](b,a);return}function a7a(a){a=a|0;return}function b7a(a){a=a|0;var b=0,c=0,d=0,e=0;b=c7a()|0;c=k[a+96>>2]|0;if(c|0){d=k[299476]|0;e=k[d+92>>2]|0;if(e|0)Ri[e&255](d,a,c)|0}if(b|0)if(k[b+76>>2]|0){d7a(a);e7a(a,(k[a+24>>2]|0)/2|0,(k[a+28>>2]|0)/2|0)}e=(c7a()|0)+76|0;d=k[a+48>>2]|0;b=k[299476]|0;c=k[b+252>>2]|0;if((d&512|0)==0?1:(d&256|k[e>>2]|0)==0)if((c|0)==(a|0)){k[b+252>>2]=0;d=0}else d=0;else{if(!((c|0)==0|(c|0)==(a|0))){k[c+48>>2]=k[c+48>>2]&-257;d=k[b+100>>2]|0;if(d){kj[d&255](b,c,0);b=k[299476]|0}}k[b+252>>2]=a;d=1}c=k[b+100>>2]|0;if(!c)return;kj[c&255](b,a,d);return}function c7a(){return 1197908}function d7a(a){a=a|0;var b=0,c=0;b=k[299488]|0;if((b|0)==(a|0))return;if(b|0)V6a(b,11,0,0)|0;k[299488]=a;if(!a)c=6;else{V6a(a,10,0,0)|0;if(!(k[299488]|0))c=6;else b=1198008}if((c|0)==6)b=1198004;b=k[b>>2]|0;a=k[299479]|0;if((b|0)!=0&(k[299503]|0)!=0&(k[299496]|0)==0){if(!a)return;Gi[a&2047](b)|0;return}else{if(!a)return;Gi[a&2047](0)|0;return}}function e7a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=(a|0)==0?k[299488]|0:a;if(!d)return;a=k[299482]|0;if(a|0){kj[a&255](d,b,c);return}a=k[299487]|0;if(!(f7a(d,b,c)|0))return;h7a(d,a,0,b,c)|0;return}function f7a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=r;r=r+16|0;if(a|0)if(!(k[a+48>>2]&16384)){g7a(a,f+4|0,f);if(!(((c|b|0)>-1?(k[f+4>>2]|0)>(b|0):0)&(k[f>>2]|0)>(c|0))){if((k[299488]|0)!=(a|0)){c=0;r=f;return c|0}h7a(a,k[299487]|0,0,b,c)|0;d=k[299488]|0;if(!d){c=0;r=f;return c|0}V6a(d,11,0,0)|0;k[299488]=0;d=k[299501]|0;e=k[299479]|0;if((d|0)!=0&(k[299503]|0)!=0&(k[299496]|0)==0){if(!e){c=0;r=f;return c|0}Gi[e&2047](d)|0;c=0;r=f;return c|0}else{if(!e){c=0;r=f;return c|0}Gi[e&2047](0)|0;c=0;r=f;return c|0}}}d=k[299488]|0;if((d|0)==(a|0)){c=1;r=f;return c|0}if(d|0)V6a(d,11,0,0)|0;k[299488]=a;if(!a)e=16;else{V6a(a,10,0,0)|0;if(!(k[299488]|0))e=16;else d=1198008}if((e|0)==16)d=1198004;d=k[d>>2]|0;e=k[299479]|0;if((d|0)!=0&(k[299503]|0)!=0&(k[299496]|0)==0){if(e|0)Gi[e&2047](d)|0}else if(e|0)Gi[e&2047](0)|0;h7a(a,k[299487]|0,0,b,c)|0;c=1;r=f;return c|0}function g7a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;d=k[299476]|0;if(!d){y6a(593213,e)|0;r=e;return}if(a|0)if((k[a>>2]|0)==(d+256|0)){if(b|0)k[b>>2]=k[a+24>>2];if(!c){r=e;return}k[c>>2]=k[a+28>>2];r=e;return}y6a(606710,e+8|0)|0;r=e;return}function h7a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,l=0;l=r;r=r+64|0;if(k[299497]|0){k[l>>2]=0;k[l+56>>2]=0;g7a(a,l,l+56|0);h=(k[l>>2]|0)/2|0;k[l>>2]=h;i=(k[l+56>>2]|0)/2|0;k[l+56>>2]=i;if((h|0)==(d|0)&(i|0)==(e|0)){k[299493]=d;k[299494]=e;c=0;r=l;return c|0}g=(a|0)==0?k[299488]|0:a;do if(g|0){f=k[299482]|0;if(f|0){kj[f&255](g,h,i);break}f=k[299487]|0;if(f7a(g,h,i)|0)h7a(g,f,0,h,i)|0}while(0)}g=k[299493]|0;if(c|0){f=(k[299494]|0)+e|0;j=g+d|0}else{f=e;j=d;d=d-g|0;e=e-(k[299494]|0)|0}if(!(e|d)){c=0;r=l;return c|0}g=k[299496]|0;if(!g){k[299489]=j;h=f}else{k[299489]=(k[299489]|0)+d;h=(k[299490]|0)+e|0}k[299490]=h;if(a)if(!(k[a+48>>2]&16384)){k[l>>2]=0;k[l+56>>2]=0;g7a(k[299488]|0,l,l+56|0);h=k[l>>2]|0;k[l>>2]=h+-1;i=k[l+56>>2]|0;k[l+56>>2]=i+-1;g=k[299489]|0;if((g|0)>=(h|0)){k[299489]=h+-1;g=h+-1|0}if((g|0)<0)k[299489]=0;g=k[299490]|0;if((g|0)>=(i|0)){k[299490]=i+-1;g=i+-1|0}if((g|0)<0)k[299490]=0;g=k[299496]|0}k[299491]=(k[299491]|0)+d;k[299492]=(k[299492]|0)+e;if((k[299503]|0)!=0&(g|0)==0){g=k[299480]|0;if(g|0){h=k[299502]|0;if(h|0)Si[g&1023](h)}}if((i7a(1024,-1)|0)<<24>>24==1){k[l>>2]=1024;g=k[299488]|0;if(!g)g=0;else g=k[g+4>>2]|0;k[l+8>>2]=g;k[l+12>>2]=b;k[l+16>>2]=k[299495];k[l+20>>2]=k[299489];k[l+24>>2]=k[299490];k[l+28>>2]=d;k[l+32>>2]=e;g=(m7a(l)|0)>0&1}else g=0;if(c|0){k[299493]=k[299489];f=k[299490]|0}else k[299493]=j;k[299494]=f;c=g;r=l;return c|0}function i7a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=k[1198020+((a>>>8&255)<<2)>>2]|0;if(!c)d=3;else if(!(k[c+((a>>>5&7)<<2)>>2]&1<<(a&31)))d=3;else g=0;if((d|0)==3)g=1;if((g&255|0)==(b|0))return g|0;switch(b|0){case 0:{if(!c){c=j7a(1,32)|0;k[1198020+((a>>>8&255)<<2)>>2]=c;if(!c)return g|0}f=c+((a>>>5&7)<<2)|0;k[f>>2]=k[f>>2]|1<<(a&31);if(!(k[31081]|0))return g|0;if(k7a(k[31080]|0)|0)return g|0;c=k[31084]|0;if(c|0)do{d=c+72|0;f=c;c=k[d>>2]|0;b=c;if((k[f>>2]|0)==(a|0)){e=k[f+68>>2]|0;if(!e)b=c;else{k[e+72>>2]=b;b=k[d>>2]|0}if(b|0)k[b+68>>2]=e;if((k[31084]|0)==(f|0))k[31084]=b;if((k[31085]|0)==(f|0))k[31085]=k[f+68>>2];k[d>>2]=k[31086];k[31086]=f;k[31082]=(k[31082]|0)+-1}}while((c|0)!=0);return g|0}case 1:{k[c+((a>>>5&7)<<2)>>2]=k[c+((a>>>5&7)<<2)>>2]&~(1<<(a&31));return g|0}default:return g|0}return 0}function j7a(a,b){a=a|0;b=b|0;return jqb(a,b)|0}function k7a(a){a=a|0;return 0}function l7a(a){a=a|0;return 0}function m7a(a){a=a|0;var b=0;b=n7a()|0;k[a+4>>2]=b;if(0)if(!(ka(0,a|0)|0)){a=0;return a|0}b=k[299767]|0;if(b|0)do{gj[k[b>>2]&511](k[b+4>>2]|0,a)|0;b=k[b+8>>2]|0}while((b|0)!=0);if((o7a(a,1,0,0,0)|0)<1){a=-1;return a|0}q7a(a);a=1;return a|0}function n7a(){var a=0,b=0;b=r;r=r+16|0;do if(!(k[299761]|0)){k[299761]=1;if(!(Rd(4,1199048)|0)){k[299764]=1;break}else{sf(1199060,0)|0;a=5;break}}else a=5;while(0);if((a|0)==5)if(!(k[299764]|0)){sf(b|0,0)|0;a=(((k[b+4>>2]|0)-(k[299766]|0)|0)/1e3|0)+(((k[b>>2]|0)-(k[299765]|0)|0)*1e3|0)|0;r=b;return a|0}Rd(4,b|0)|0;a=(((k[b+4>>2]|0)-(k[299763]|0)|0)/1e6|0)+(((k[b>>2]|0)-(k[299762]|0)|0)*1e3|0)|0;r=b;return a|0}function o7a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0;o=r;r=r+80|0;if(!(k[31081]|0)){if(!c){d=-1;r=o;return d|0}y6a(593847,o+56|0)|0;d=-1;r=o;return d|0}f=k[31080]|0;if(f|0)if(k7a(f)|0){d=y6a(593915,o+72|0)|0;r=o;return d|0}if(!c)if((b|0)>0){c=0;f=0;do{h=a+(c*56|0)|0;do if((k[31082]|0)>65534){k[o+64>>2]=k[31082];y6a(593883,o+64|0)|0;g=0}else{g=k[31086]|0;if(!g){g=p7a(80)|0;if(!g){g=0;break}}else k[31086]=k[g+72>>2];i=g;j=h;l=i+56|0;do{k[i>>2]=k[j>>2];i=i+4|0;j=j+4|0}while((i|0)<(l|0));if((k[h>>2]|0)==513){d=g+56|0;e=k[a+(c*56|0)+8>>2]|0;k[d>>2]=k[e>>2];k[d+4>>2]=k[e+4>>2];k[d+8>>2]=k[e+8>>2];k[g+8>>2]=d}h=k[31085]|0;if(!h){k[31084]=g;k[31085]=g;k[g+68>>2]=0}else{k[h+72>>2]=g;k[g+68>>2]=h;k[31085]=g}k[g+72>>2]=0;k[31082]=(k[31082]|0)+1;if((k[31082]|0)>(k[31083]|0)){k[31083]=k[31082];g=1}else g=1}while(0);f=g+f|0;c=c+1|0}while((c|0)!=(b|0))}else f=0;else{m=(a|0)==0?1:b;n=(a|0)==0?o:a;f=k[31087]|0;if(f|0){h=k[31088]|0;while(1){l=f+12|0;g=k[l>>2]|0;k[l>>2]=h;if(!g)break;else{h=f;f=g}}k[31088]=f}k[31087]=0;g=k[31084]|0;a:do if((c|0)==2&((a|0)==0^1))if((m|0)>0){f=0;do{h=g;while(1){if(!h)break a;a=h+72|0;g=k[a>>2]|0;l=k[h>>2]|0;if(l>>>0>>0|l>>>0>e>>>0)h=g;else{c=h;b=h;break}}i=n+(f*56|0)|0;j=b;l=i+56|0;do{k[i>>2]=k[j>>2];i=i+4|0;j=j+4|0}while((i|0)<(l|0));if((k[c>>2]|0)==513){h=k[31088]|0;if(!h)h=p7a(16)|0;else k[31088]=k[h+12>>2];l=k[b+8>>2]|0;k[h>>2]=k[l>>2];k[h+4>>2]=k[l+4>>2];k[h+8>>2]=k[l+8>>2];k[h+12>>2]=k[31087];k[31087]=h;k[n+(f*56|0)+8>>2]=h}f=f+1|0;h=k[b+68>>2]|0;if(h|0)k[h+72>>2]=k[a>>2];c=k[a>>2]|0;if(c|0)k[c+68>>2]=h;if((k[31084]|0)==(b|0))k[31084]=c;if((k[31085]|0)==(b|0))k[31085]=k[b+68>>2];k[a>>2]=k[31086];k[31086]=b;k[31082]=(k[31082]|0)+-1}while((f|0)<(m|0))}else f=0;else if((m|0)>0){h=0;f=0;do{c=g;while(1){if(!c)break a;g=k[c+72>>2]|0;l=k[c>>2]|0;if(l>>>0>>0|l>>>0>e>>>0)c=g;else{b=c;a=c;break}}i=n+(f*56|0)|0;j=a;l=i+56|0;do{k[i>>2]=k[j>>2];i=i+4|0;j=j+4|0}while((i|0)<(l|0));if((k[b>>2]|0)==513){c=k[31088]|0;if(!c){c=p7a(16)|0;h=k[31087]|0}else k[31088]=k[c+12>>2];l=k[a+8>>2]|0;k[c>>2]=k[l>>2];k[c+4>>2]=k[l+4>>2];k[c+8>>2]=k[l+8>>2];k[c+12>>2]=h;k[31087]=c;k[n+(f*56|0)+8>>2]=c;h=c}f=f+1|0}while((f|0)<(m|0))}else f=0;while(0)}d=f;r=o;return d|0}function p7a(a){a=a|0;return hqb(a)|0}function q7a(a){a=a|0;var b=0,c=0,d=0,e=0.0,f=0,g=0.0,h=0,i=0.0,l=0.0,n=0,p=0.0,q=0.0,s=0.0,t=0.0,u=0,v=0.0,w=0.0,x=0.0,y=0,z=0,A=0,B=0.0;A=r;r=r+1040|0;h=k[a>>2]|0;if((h+-1792|0)>>>0>=3){r=A;return}b=k[a+8>>2]|0;c=k[a+8+4>>2]|0;d=k[299473]|0;if((d|0)<=0){r=A;return}z=k[299474]|0;f=0;while(1){y=z+(f*8232|0)|0;if((k[y>>2]|0)==(b|0)?(k[y+4>>2]|0)==(c|0):0)break;f=f+1|0;if((f|0)>=(d|0)){u=52;break}}if((u|0)==52){r=A;return}if(!y){r=A;return}w=+o[a+24>>2];x=+o[a+28>>2];switch(h|0){case 1793:{j[z+(f*8232|0)+8216>>1]=(j[z+(f*8232|0)+8216>>1]|0)+-1<<16>>16;do if(!(k[z+(f*8232|0)+8228>>2]|0)){O6a(A,0,512)|0;r7a(z+(f*8232|0)+16|0,A);if((k[z+(f*8232|0)+8220>>2]|0)<=0)break;e=1.0e4;b=-1;h=0;do{d=(k[z+(f*8232|0)+8224>>2]|0)+(h*516|0)|0;i=+z7a(A,d,-.185407355427742);g=+z7a(A,d,.185407355427742);a:do if(+A7a(-1.5707963267948966)>.03490658503988659){c=i.03490658503988659)){i=g;g=p;break a}else{B=l;t=g;g=p;l=i;p=B;i=t}}i=+z7a(A,d,l*.38196601100000005+q*.618033989);if(+A7a(q-l)>.03490658503988659){c=i>2]|0));if((b|0)>-1){u=k[(k[z+(f*8232|0)+8224>>2]|0)+(b*516|0)+512>>2]|0;k[A>>2]=2048;n=k[y+4>>2]|0;k[A+8>>2]=k[y>>2];k[A+8+4>>2]=n;k[A+32>>2]=k[z+(f*8232|0)+8>>2];k[A+36>>2]=k[z+(f*8232|0)+12>>2];k[A+16>>2]=u;k[A+16+4>>2]=0;o[A+28>>2]=e;k[A+24>>2]=(m[z+(f*8232|0)+8216>>1]|0)+1;m7a(A)|0}}else{k[z+(f*8232|0)+8228>>2]=0;r7a(z+(f*8232|0)+16|0,A+520|0);do if(!0){b=k[z+(f*8232|0)+8220>>2]|0;d=w7a(k[z+(f*8232|0)+8224>>2]|0,(b*516|0)+516|0)|0;if(!d){b=x7a(0)|0;break}k[z+(f*8232|0)+8224>>2]=d;y7a(d+(b*516|0)|0,A+520|0,512)|0;c=5381;h=0;do{c=(((~~+o[d+(b*516|0)+(h<<3)>>2]>>>0)+(c*33|0)|0)*33|0)+(~~+o[d+(b*516|0)+(h<<3)+4>>2]>>>0)|0;h=h+1|0}while((h|0)!=64);k[d+(b*516|0)+512>>2]=c;k[z+(f*8232|0)+8220>>2]=(k[z+(f*8232|0)+8220>>2]|0)+1}else{b=k[299473]|0;b:do if(!b){b=y6a(593964,A+512|0)|0;u=20}else if((b|0)>0){n=0;while(1){c=k[299474]|0;h=c+(n*8232|0)+8220|0;b=k[h>>2]|0;c=c+(n*8232|0)+8224|0;a=w7a(k[c>>2]|0,(b*516|0)+516|0)|0;if(!a)b=x7a(0)|0;else{k[c>>2]=a;y7a(a+(b*516|0)|0,A+520|0,512)|0;c=5381;d=0;do{c=(((~~+o[a+(b*516|0)+(d<<3)>>2]>>>0)+(c*33|0)|0)*33|0)+(~~+o[a+(b*516|0)+(d<<3)+4>>2]>>>0)|0;d=d+1|0}while((d|0)!=64);k[a+(b*516|0)+512>>2]=c;k[h>>2]=(k[h>>2]|0)+1}n=n+1|0;if((b|0)<0){b=-1;u=20;break b}c=k[299473]|0;if((n|0)>=(c|0)){h=c;break}}}else{b=-1;u=20}while(0);if((u|0)==20)h=k[299473]|0;if((h|0)>0){c=k[299474]|0;d=0;do{k[c+(d*8232|0)+8228>>2]=0;d=d+1|0}while((d|0)<(h|0))}}while(0);d=k[y>>2]|0;c=k[y+4>>2]|0;if((b|0)>-1){y=k[(k[z+(f*8232|0)+8224>>2]|0)+(b*516|0)+512>>2]|0;k[A>>2]=2049;k[A+8>>2]=d;k[A+8+4>>2]=c;k[A+16>>2]=y;k[A+16+4>>2]=0;m7a(A)|0;break}else{k[A>>2]=2049;k[A+8>>2]=d;k[A+8+4>>2]=c;k[A+16>>2]=-1;k[A+16+4>>2]=-1;m7a(A)|0;break}}while(0);b=j[z+(f*8232|0)+8216>>1]|0;if(b<<16>>16){o[z+(f*8232|0)+8>>2]=(+((b&65535)+1|0)*+o[z+(f*8232|0)+8>>2]-w)/+(b&65535);o[z+(f*8232|0)+12>>2]=(+o[z+(f*8232|0)+12>>2]*+((b&65535)+1|0)-x)/+(b&65535)}r=A;return}case 1794:{l=+o[a+32>>2];i=+o[a+36>>2];b=k[z+(f*8232|0)+20>>2]|0;if((b|0)<1024){k[z+(f*8232|0)+24+(b<<3)>>2]=k[z+(f*8232|0)+8>>2];k[z+(f*8232|0)+24+(b<<3)+4>>2]=k[z+(f*8232|0)+12>>2];b=k[z+(f*8232|0)+20>>2]|0;v=+o[z+(f*8232|0)+24+(b<<3)>>2]-+o[z+(f*8232|0)+24+(b+-1<<3)>>2];B=+o[z+(f*8232|0)+24+(b<<3)+4>>2]-+o[z+(f*8232|0)+24+(b+-1<<3)+4>>2];B=+s7a(v*v+B*B);o[z+(f*8232|0)+16>>2]=+o[z+(f*8232|0)+16>>2]+B;k[z+(f*8232|0)+20>>2]=(k[z+(f*8232|0)+20>>2]|0)+1;b=z+(f*8232|0)+12|0}else b=z+(f*8232|0)+12|0;e=+o[z+(f*8232|0)+8>>2];g=+o[b>>2];u=j[z+(f*8232|0)+8216>>1]|0;o[z+(f*8232|0)+8>>2]=e+l/+(u&65535);o[b>>2]=g+i/+(u&65535);if((u&65535)<=1){r=A;return}B=+s7a((w-l-e)*(w-l-e)+(x-i-g)*(x-i-g));s=w-+o[z+(f*8232|0)+8>>2];t=x-+o[b>>2];v=+s7a(s*s+t*t);x=+t7a((w-l-e)/B*(t/v)-(x-i-g)/B*(s/v),(w-l-e)/B*(s/v)+(x-i-g)/B*(t/v));k[A>>2]=2050;u=k[y+4>>2]|0;k[A+8>>2]=k[y>>2];k[A+8+4>>2]=u;k[A+24>>2]=k[z+(f*8232|0)+8>>2];k[A+28>>2]=k[b>>2];o[A+16>>2]=B==0.0?0.0:x;o[A+20>>2]=B==0.0?0.0:v-B;j[A+32>>1]=j[z+(f*8232|0)+8216>>1]|0;m7a(A)|0;r=A;return}case 1792:{y=(j[z+(f*8232|0)+8216>>1]|0)+1<<16>>16;j[z+(f*8232|0)+8216>>1]=y;o[z+(f*8232|0)+8>>2]=(w+ +o[z+(f*8232|0)+8>>2]*+((y&65535)+-1|0))/+(y&65535);o[z+(f*8232|0)+12>>2]=(x+ +o[z+(f*8232|0)+12>>2]*+((y&65535)+-1|0))/+(y&65535);o[z+(f*8232|0)+16>>2]=0.0;o[z+(f*8232|0)+24>>2]=w;o[z+(f*8232|0)+28>>2]=x;k[z+(f*8232|0)+20>>2]=1;r=A;return}default:{r=A;return}}}function r7a(a,b){a=a|0;b=b|0;var c=0,d=0.0,e=0,f=0.0,g=0.0,h=0.0,i=0.0,j=0.0,l=0.0,m=0,n=0,p=0,q=0,s=0.0,t=0.0,u=0.0;q=r;r=r+16|0;d=+o[a>>2];c=k[a+4>>2]|0;if(!(d<=0.0))e=4;else if((c|0)>1){e=1;do{c=e+-1|0;j=+o[a+8+(e<<3)>>2]-+o[a+8+(c<<3)>>2];l=+o[a+8+(e<<3)+4>>2]-+o[a+8+(c<<3)+4>>2];d=d+ +s7a(j*j+l*l);e=e+1|0;c=k[a+4>>2]|0}while((e|0)<(c|0));e=4}else c=0;if((e|0)==4){j=d/63.0;if((c|0)>1){f=0.0;g=0.0;h=j;p=1;c=0;while(1){e=p+-1|0;m=a+8+(p<<3)|0;d=+o[a+8+(e<<3)>>2]-+o[m>>2];n=a+8+(p<<3)+4|0;i=+o[a+8+(e<<3)+4>>2]-+o[n>>2];i=+s7a(d*d+i*i);d=i+h;if(d>j)do{l=+o[a+8+(e<<3)>>2];s=(j-h)/i;l=l+s*(+o[m>>2]-l);o[b+(c<<3)>>2]=l;d=+o[a+8+(e<<3)+4>>2];d=d+s*(+o[n>>2]-d);o[b+(c<<3)+4>>2]=d;f=f+l;g=g+d;c=c+1|0;h=h-j;d=i+h}while(d>j);p=p+1|0;e=k[a+4>>2]|0;if((p|0)>=(e|0)){l=f;j=g;break}else h=d}if((c|0)>=63){c=k[a+8+(e+-1<<3)+4>>2]|0;k[b+504>>2]=k[a+8+(e+-1<<3)>>2];k[b+504+4>>2]=c;i=+t7a(j*.015625-+o[b+4>>2],l*.015625-+o[b>>2]);c=0;g=l*.015625;d=l*.015625;h=j*.015625;f=j*.015625;do{a=b+(c<<3)|0;p=b+(c<<3)+4|0;s=+o[p>>2];t=+o[a>>2]-l*.015625;u=t*+u7a(i);u=l*.015625+(u-(s-j*.015625)*+v7a(i));o[a>>2]=u;t=t*+v7a(i);s=j*.015625+(t+(s-j*.015625)*+u7a(i));o[p>>2]=s;t=+o[a>>2];d=tg?t:g;f=sh?s:h;c=c+1|0}while((c|0)!=64);c=0;do{a=b+(c<<3)|0;o[a>>2]=(+o[a>>2]-l*.015625)*256.0/(g-d);a=b+(c<<3)+4|0;o[a>>2]=(+o[a>>2]-j*.015625)*256.0/(h-f);c=c+1|0}while((c|0)!=64);r=q;return}}else c=0}k[q>>2]=c;y6a(593941,q)|0;r=q;return}function s7a(a){a=+a;return +(+X(+a))}function t7a(a,b){a=+a;b=+b;return +(+da(+a,+b))}function u7a(a){a=+a;return +(+Z(+a))}function v7a(a){a=+a;return +(+_(+a))}function w7a(a,b){a=a|0;b=b|0;return kqb(a,b)|0}function x7a(a){a=a|0;var b=0;b=r;r=r+48|0;switch(a|0){case 0:{y6a(594e3,b)|0;break}case 1:{y6a(594014,b+8|0)|0;break}case 2:{y6a(594044,b+16|0)|0;break}case 3:{y6a(594072,b+24|0)|0;break}case 4:{y6a(594100,b+32|0)|0;break}default:y6a(594132,b+40|0)|0}r=b;return -1}function y7a(a,b,c){a=a|0;b=b|0;c=c|0;ABb(a|0,b|0,c|0)|0;return a|0}function z7a(a,b,c){a=a|0;b=b|0;c=+c;var d=0.0,e=0,f=0.0,g=0.0,h=0.0,i=0,j=0;d=0.0;e=0;do{j=a+(e<<3)|0;h=+o[j>>2];h=h*+u7a(c);i=a+(e<<3)+4|0;g=+o[i>>2];g=h-g*+v7a(c);h=+o[j>>2];h=h*+v7a(c);f=+o[i>>2];f=h+f*+u7a(c);g=g-+o[b+(e<<3)>>2];f=f-+o[b+(e<<3)+4>>2];d=d+ +s7a(g*g+f*f);e=e+1|0}while((e|0)!=64);return +(d*.015625)}function A7a(a){a=+a;return +(+W(+a))}function B7a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;e=r;r=r+16|0;if(k[a+96>>2]|0){b=k[299476]|0;c=k[b+92>>2]|0;if(c|0)Ri[c&255](b,a,k[a+100>>2]|0)|0}d=(c7a()|0)+76|0;f=k[a+48>>2]|0;b=k[299476]|0;c=k[b+252>>2]|0;if((f&512|0)==0?1:(f&256|k[d>>2]|0)==0)if((c|0)==(a|0)){k[b+252>>2]=0;d=0}else d=0;else{if(!((c|0)==0|(c|0)==(a|0))){k[c+48>>2]=k[c+48>>2]&-257;d=k[b+100>>2]|0;if(d){kj[d&255](b,c,0);b=k[299476]|0}}k[b+252>>2]=a;d=1}c=k[b+100>>2]|0;if(c|0)kj[c&255](b,a,d);if(!(k[a+48>>2]&1)){r=e;return}if(k[a+116>>2]|0){r=e;return}b=C7a(601809)|0;if(b|0)if((i[b>>0]|0)==48){r=e;return}b=k[299476]|0;if(!b){y6a(593213,e)|0;r=e;return}if((k[a>>2]|0)!=(b+256|0)){y6a(606710,e+8|0)|0;r=e;return}if(k[a+48>>2]&64|0){r=e;return}K6a(a,0)|0;b=k[299476]|0;c=k[b+76>>2]|0;if(!c){r=e;return}Di[c&511](b,a);r=e;return}function C7a(a){a=a|0;var b=0,c=0,d=0;b=D7a(a)|0;c=k[299768]|0;if(!c){d=b;return d|0}while(1){if(!(E7a(a,k[c>>2]|0)|0))break;c=k[c+16>>2]|0;if(!c){d=7;break}}if((d|0)==7)return b|0;if(b|0)if((k[c+8>>2]|0)!=2){d=b;return d|0}d=k[c+4>>2]|0;return d|0}function D7a(a){a=a|0;if(!a)a=0;else if(!(G6a(a)|0))a=0;else a=If(a|0)|0;return a|0}function E7a(a,b){a=a|0;b=b|0;return Wmb(a,b)|0}function F7a(a,b){a=a|0;b=b|0;if((k[b>>2]|0)==512)if((i[b+12>>0]|0)==5)if((k[b+8>>2]|0)==(k[a+8>>2]|0)){a=0;return a|0}a=1;return a|0}function G7a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=k[31080]|0;if(!c)return;if(k7a(c)|0)return;c=k[31084]|0;if(c|0)do{f=c+72|0;g=c;c=k[f>>2]|0;if(!(gj[a&511](b,g)|0)){d=k[g+68>>2]|0;if(d|0)k[d+72>>2]=k[f>>2];e=k[f>>2]|0;if(e|0)k[e+68>>2]=d;if((k[31084]|0)==(g|0))k[31084]=e;if((k[31085]|0)==(g|0))k[31085]=k[g+68>>2];k[f>>2]=k[31086];k[31086]=g;k[31082]=(k[31082]|0)+-1}}while((c|0)!=0);return}function H7a(a,b){a=a|0;b=b|0;if((k[b>>2]|0)==512)if((i[b+12>>0]|0)==6)if((k[b+8>>2]|0)==(k[a+8>>2]|0)){a=0;return a|0}a=1;return a|0}function I7a(a,b){a=a|0;b=b|0;if((k[b>>2]|0)==512)if((i[b+12>>0]|0)==4)if((k[b+8>>2]|0)==(k[a+8>>2]|0)){a=0;return a|0}a=1;return a|0}function J7a(){k[299769]=0;return K7a(256)|0}function K7a(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+64|0;b=k[1198020+((a>>>8&255)<<2)>>2]|0;if(b|0)if(k[b+((a>>>5&7)<<2)>>2]&1<<(a&31)|0){c=0;r=d;return c|0}k[d>>2]=a;a=n7a()|0;k[d+4>>2]=a;if(!0)c=5;else if(!(ka(0,d|0)|0))b=0;else c=5;if((c|0)==5){b=k[299767]|0;if(b|0)do{gj[k[b>>2]&511](k[b+4>>2]|0,d)|0;b=k[b+8>>2]|0}while((b|0)!=0);if((o7a(d,1,0,0,0)|0)<1)b=0;else{q7a(d);b=1}}c=b;r=d;return c|0}function L7a(){return k[299488]|0}function M7a(a,b){a=a|0;b=b|0;if(a|0)k[a>>2]=k[299489];if(b|0)k[b>>2]=k[299490];return k[299495]|0}function N7a(a){a=a|0;var b=0,c=0;if(!a)return;b=k[a>>2]|0;if(b&4|0)return;c=k[a+56>>2]|0;k[a+56>>2]=c+-1;if((c|0)>1)return;c=k[a+28>>2]|0;if((c|0)>0){while(1){b=c+-1|0;k[a+28>>2]=b;if((c|0)<=1){c=k[a>>2]|0;if(c&2){k[a>>2]=c&-3;O7a(a)|0;b=k[a+28>>2]|0}}if((b|0)>0)c=b;else break}b=k[a>>2]|0}if(b&2|0)P7a(a,0);b=k[a+4>>2]|0;if(b|0){if((g8a(b,0)|0)>=0)h8a(k[a+52>>2]|0);i8a(k[a+4>>2]|0);k[a+4>>2]=0}b=k[a+52>>2]|0;if(b|0){j8a(b);k[a+52>>2]=0}if(!(k[a>>2]&1))Y7a(k[a+20>>2]|0);Y7a(a);return}function O7a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;if(k[a>>2]&2|0)P7a(a,1);b=k[a+4>>2]|0;e=j[b+8>>1]|0;if((e&255)<8){a=-1;return a|0}if(!(k[a+20>>2]|0)){a=-1;return a|0}c=k[a+52>>2]|0;d=k[c+68>>2]|0;if(!((d&272|0)!=0&(d&1|0)==0)){a=-1;return a|0}do if(!(d&2))if(!(d&608)){b=k[b+24>>2]|0;break}else{a=-1;return a|0}else{b=k[b+24>>2]|0;if(d&608|b){a=-1;return a|0}}while(0);if((d&16|0)==0|(b|0)==0){if(!(k[c+4>>2]|0)){a=-1;return a|0}y=(e&65535)>>>8&65535;switch(y|0){case 1:{b=(ha((k[a+12>>2]|0)*3|0,((k[a+8>>2]|0)/2|0)+1|0)|0)+2|0;break}case 3:case 2:{b=k[a+8>>2]|0;b=(ha((ha(b,y)|0)+2+(((b|0)/255|0)<<1)|0,k[a+12>>2]|0)|0)+2|0;break}case 4:{b=k[a+8>>2]|0;b=(ha((((b|0)/65535|0)+b<<2)+4|0,k[a+12>>2]|0)|0)+4|0;break}default:b=0}z=p7a(b)|0;do if(!z)if((x7a(0)|0)<0){a=-1;return a|0}else{b=k[a+52>>2]|0;break}else{x=(e&65535)>>>8<<16>>16==4;q=x?65535:255;r=~k[(k[a+4>>2]|0)+24>>2];s=k[(k[a+52>>2]|0)+72>>2]&r;t=k[124392+(y+-1<<2)>>2]|0;u=k[a+8>>2]|0;v=k[a+12>>2]|0;if((v|0)>0){c=z;b=z;w=k[a+20>>2]|0;d=0;while(1){p=0;g=0;while(1){a:do if((g|0)<(u|0)){e=g;do{o=w+(ha(e,y)|0)|0;if(((Gi[t&2047](o)|0)&r|0)!=(s|0))break a;e=e+1|0}while((e|0)<(u|0))}else e=g;while(0);b:do if((e|0)<(u|0)){f=e;while(1){o=w+(ha(f,y)|0)|0;if(((Gi[t&2047](o)|0)&r|0)==(s|0)){o=1;break b}f=f+1|0;if((f|0)>=(u|0)){o=0;break}}}else{o=0;f=e}while(0);g=e-g|0;p=(g|0)==(u|0)?1:p;n=f-e|0;if((g|0)>(q|0))if(x)do{j[c>>1]=q;j[c+2>>1]=0;c=c+4|0;g=g-q|0}while((g|0)>(q|0));else do{i[c>>0]=-1;i[c+1>>0]=0;c=c+2|0;g=g-q|0}while((g|0)>(q|0));m=(n|0)<(q|0)?n:q;if(x){j[c>>1]=g;j[c+2>>1]=m;c=c+4|0}else{i[c>>0]=g;i[c+1>>0]=m;c=c+2|0}h=ha(m,y)|0;y7a(c,w+(ha(e,y)|0)|0,h)|0;c=c+h|0;h=m+e|0;if((n|0)!=(m|0))if(x){m=n-m|0;while(1){g=(m|0)<(q|0)?m:q;j[c>>1]=0;j[c+2>>1]=g;c=c+4|0;e=ha(g,y)|0;y7a(c,w+(ha(h,y)|0)|0,e)|0;if((m|0)==(g|0)){c=c+e|0;break}else{c=c+e|0;m=m-g|0;h=g+h|0}}}else{m=n-m|0;while(1){g=(m|0)<(q|0)?m:q;i[c>>0]=0;i[c+1>>0]=g;c=c+2|0;e=ha(g,y)|0;y7a(c,w+(ha(h,y)|0)|0,e)|0;if((m|0)==(g|0)){c=c+e|0;break}else{c=c+e|0;m=m-g|0;h=g+h|0}}}b=(p|0)==0?c:b;if(!o)break;else g=f}d=d+1|0;if((d|0)==(v|0))break;else w=w+(k[a+16>>2]|0)|0}}else b=z;if(x){j[b>>1]=0;j[b+2>>1]=0;b=b+4|0}else{i[b>>0]=0;i[b+1>>0]=0;b=b+2|0}if(!(k[a>>2]&1)){Y7a(k[a+20>>2]|0);k[a+20>>2]=0}y=w7a(z,b-z|0)|0;b=k[a+52>>2]|0;k[b+12>>2]=(y|0)==0?z:y}while(0);k[b+8>>2]=94;z=b+68|0;k[z>>2]=k[z>>2]|8192}else{b=k[c>>2]|0;if(!b){a=-1;return a|0}w=k[b+4>>2]|0;if((e&255)<<24>>24!=32){a=-1;return a|0}b=k[w+12>>2]|0;c=k[w+16>>2]|0;d=k[w+20>>2]|0;c:do switch(l[w+9>>0]|0){case 2:{if((c|b|d|0)<65535){switch(c|b|d|0){case 32767:break;default:{a=-1;return a|0}}if((b|0)==992|(c|0)==992|(d|0)==992)b=97;else{a=-1;return a|0}}else{switch(c|b|d|0){case 65535:break;default:{a=-1;return a|0}}if((b|0)==2016|(c|0)==2016|(d|0)==2016)b=96;else{a=-1;return a|0}}u=98;c=(ha(((k[a+8>>2]|0)*6|0)+8|0,k[a+12>>2]|0)|0)+2|0;break}case 4:if((c|b|d|0)==16777215){u=99;b=99;c=ha(k[a+12>>2]<<3,(k[a+8>>2]|0)+1|0)|0|4;break c}else{a=-1;return a|0}default:{a=-1;return a|0}}while(0);v=p7a(c+28|0)|0;do if(!v)if((x7a(0)|0)<0){a=-1;return a|0}else{b=k[a+52>>2]|0;break}else{c=i[w+9>>0]|0;i[v>>0]=c;k[v+4>>2]=k[w+12>>2];k[v+8>>2]=k[w+16>>2];k[v+12>>2]=k[w+20>>2];k[v+16>>2]=k[w+24>>2];r=k[w+28>>2]|0;i[v+20>>0]=r;i[v+21>>0]=(r&65535)>>>8;i[v+22>>0]=r>>>16;i[v+23>>0]=r>>>24;r=k[w+32>>2]|0;i[v+24>>0]=r;i[v+25>>0]=(r&65535)>>>8;i[v+26>>0]=r>>>16;i[v+27>>0]=r>>>24;r=k[a+12>>2]|0;s=k[a+8>>2]|0;t=k[a+4>>2]|0;if((r|0)>0){c=v+28|0;p=v+28|0;q=k[a+20>>2]|0;d=0;while(1){n=0;m=0;while(1){d:do if((m|0)<(s|0)){f=k[t+24>>2]|0;g=l[t+35>>0]|0;e=m;do{if(((k[q+(e<<2)>>2]&f)>>>g|0)==255)break d;e=e+1|0}while((e|0)<(s|0))}else e=m;while(0);e:do if((e|0)<(s|0)){f=k[t+24>>2]|0;g=l[t+35>>0]|0;h=e;while(1){if(((k[q+(h<<2)>>2]&f)>>>g|0)!=255){o=1;break e}h=h+1|0;if((h|0)>=(s|0)){o=0;break}}}else{o=0;h=e}while(0);f=e-m|0;n=(f|0)==(s|0)?1:n;g=h-e|0;if((f|0)>255)do{if((i[w+9>>0]|0)==4){j[c>>1]=255;j[c+2>>1]=0;c=c+4|0}else{i[c>>0]=-1;i[c+1>>0]=0;c=c+2|0}f=f+-255|0}while((f|0)>255);m=(g|0)<255?g:255;if((i[w+9>>0]|0)==4){j[c>>1]=f;j[c+2>>1]=m;c=c+4|0}else{i[c>>0]=f;i[c+1>>0]=m;c=c+2|0}c=c+(Ni[u&127](c,q+(e<<2)|0,m,t,w)|0)|0;if((g|0)!=(m|0)){g=g-m|0;f=m+e|0;while(1){e=(g|0)<255?g:255;if((i[w+9>>0]|0)==4){j[c>>1]=0;j[c+2>>1]=e;c=c+4|0}else{i[c>>0]=0;i[c+1>>0]=e;c=c+2|0}c=c+(Ni[u&127](c,q+(f<<2)|0,e,t,w)|0)|0;if((g|0)==(e|0))break;else{g=g-e|0;f=e+f|0}}}if(o)m=h;else break}c=c+(c&2)|0;m=0;while(1){f:do if((m|0)<(s|0)){f=k[t+24>>2]|0;g=l[t+35>>0]|0;e=m;do{if((((k[q+(e<<2)>>2]&f)>>>g)+-1|0)>>>0<=253)break f;e=e+1|0}while((e|0)<(s|0))}else e=m;while(0);g:do if((e|0)<(s|0)){f=k[t+24>>2]|0;g=l[t+35>>0]|0;h=e;while(1){if((((k[q+(h<<2)>>2]&f)>>>g)+-1|0)>>>0>=254){o=1;break g}h=h+1|0;if((h|0)>=(s|0)){o=0;break}}}else{o=0;h=e}while(0);f=e-m|0;n=(f|0)==(s|0)&n;g=h-e|0;if((f|0)>65535)do{j[c>>1]=-1;j[c+2>>1]=0;c=c+4|0;f=f+-65535|0}while((f|0)>65535);m=(g|0)<65535?g:65535;j[c>>1]=f;j[c+2>>1]=m;c=c+4|0;c=c+(Ni[b&127](c,q+(e<<2)|0,m,t,w)|0)|0;if((g|0)!=(m|0)){g=g-m|0;f=m+e|0;while(1){e=(g|0)<65535?g:65535;j[c>>1]=0;j[c+2>>1]=e;c=c+4|0;c=c+(Ni[b&127](c,q+(f<<2)|0,e,t,w)|0)|0;if((g|0)==(e|0))break;else{g=g-e|0;f=e+f|0}}}e=(n|0)==0?c:p;if(!o)break;else{p=e;m=h}}d=d+1|0;if((d|0)==(r|0))break;else{p=e;q=q+(k[a+16>>2]>>2<<2)|0}}c=i[w+9>>0]|0;b=e}else b=v+28|0;if(c<<24>>24==4){j[b>>1]=0;j[b+2>>1]=0;b=b+4|0}else{i[b>>0]=0;i[b+1>>0]=0;b=b+2|0}if(!(k[a>>2]&1)){Y7a(k[a+20>>2]|0);k[a+20>>2]=0}z=w7a(v,b-v|0)|0;b=k[a+52>>2]|0;k[b+12>>2]=(z|0)==0?v:z}while(0);k[b+8>>2]=95;z=b+68|0;k[z>>2]=k[z>>2]|16384}k[a>>2]=k[a>>2]|2;a=0;return a|0}function P7a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0;q=r;r=r+16|0;c=k[a>>2]|0;if(!(c&2)){r=q;return}k[a>>2]=c&-3;a:do if((b|0)!=0&(c&1|0)==0){c=k[a+52>>2]|0;if(k[c+68>>2]&8192|0){p=p7a(ha(k[a+16>>2]|0,k[a+12>>2]|0)|0)|0;k[a+20>>2]=p;if(p|0){Q7a(a,0,k[(k[a+52>>2]|0)+72>>2]|0)|0;k[q+4>>2]=0;k[q>>2]=0;k[q+8>>2]=k[a+8>>2];k[q+12>>2]=k[a+12>>2];S7a(a,q,a,q)|0;break}k[a>>2]=k[a>>2]|2;r=q;return}p=k[a+4>>2]|0;g=k[c+12>>2]|0;h=k[a+8>>2]|0;b=(i[g>>0]|0)==2;n=b?100:101;o=b?102:101;c=p7a(ha(k[a+16>>2]|0,k[a+12>>2]|0)|0)|0;k[a+20>>2]=c;if(!c){k[a>>2]=k[a>>2]|2;r=q;return}O6a(c,0,ha(k[a+16>>2]|0,k[a+12>>2]|0)|0)|0;c=k[a+20>>2]|0;if(b)b=g+28|0;else{b=g+28|0;while(1){d=0;while(1){e=j[b+2>>1]|0;f=b+4|0;b=(m[b>>1]|0)+d|0;if(!(e<<16>>16))if(!b)break a;else{d=b;b=f}else{d=b+(e&65535)|0;b=f+(Ni[n&127](c+(b<<2)|0,f,e&65535,g,p)|0)|0}if((d|0)>=(h|0)){d=0;break}}do{e=(m[b>>1]|0)+d|0;f=j[b+2>>1]|0;b=b+4|0;if(!(f<<16>>16))d=e;else{d=e+(f&65535)|0;b=b+(Ni[o&127](c+(e<<2)|0,b,f&65535,g,p)|0)|0}}while((d|0)<(h|0));c=c+(k[a+16>>2]>>2<<2)|0}}while(1){d=0;do{e=i[b+1>>0]|0;f=b+2|0;b=(l[b>>0]|0)+d|0;if(!(e<<24>>24))if(!b)break a;else{d=b;b=f}else{d=b+(e&255)|0;b=f+(Ni[n&127](c+(b<<2)|0,f,e&255,g,p)|0)|0}}while((d|0)<(h|0));d=0;b=b+(b&2)|0;do{e=(m[b>>1]|0)+d|0;f=j[b+2>>1]|0;b=b+4|0;if(!(f<<16>>16))d=e;else{d=e+(f&65535)|0;b=b+(Ni[o&127](c+(e<<2)|0,b,f&65535,g,p)|0)|0}}while((d|0)<(h|0));c=c+(k[a+16>>2]>>2<<2)|0}}while(0);p=k[a+52>>2]|0;k[p+68>>2]=k[p+68>>2]&-24577;Y7a(k[p+12>>2]|0);k[(k[a+52>>2]|0)+12>>2]=0;r=q;return}function Q7a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;O=r;r=r+48|0;if(!a){c=y6a(601219,O)|0;r=O;return c|0}if((l[(k[a+4>>2]|0)+8>>0]|0)<8){c=y6a(594150,O+8|0)|0;r=O;return c|0}if(!b){if((k[a+44>>2]|0)<1){c=0;r=O;return c|0}if((k[a+48>>2]|0)<1){c=0;r=O;return c|0}else h=a+36|0}else if(!(R7a(b,a+36|0,O+24|0)|0)){c=0;r=O;return c|0}else h=O+24|0;b=k[a+20>>2]|0;if(!b){c=y6a(594204,O+16|0)|0;r=O;return c|0}N=k[a+16>>2]|0;d=b+(ha(N,k[h+4>>2]|0)|0)|0;e=l[(k[a+4>>2]|0)+9>>0]|0;a=d+(ha(e,k[h>>2]|0)|0)|0;switch(e|0){case 1:{d=(c<<8|c)<<16|(c<<8|c);e=k[h+8>>2]|0;b=k[h+12>>2]|0;if(!b){c=0;r=O;return c|0}if((e|0)>3){f=a;g=b+-1|0}else switch(e&3|0){case 3:{b=b+-1|0;while(1){M=a+(e&-4)|0;i[M>>0]=c;i[M+1>>0]=c;i[M+1+1>>0]=c;if(!b){M=0;break}else{a=a+N|0;b=b+-1|0}}r=O;return M|0}case 2:{b=b+-1|0;while(1){M=a+(e&-4)|0;i[M>>0]=c;i[M+1>>0]=c;if(!b){M=0;break}else{a=a+N|0;b=b+-1|0}}r=O;return M|0}case 1:{b=b+-1|0;while(1){i[a+(e&-4)>>0]=c;if(!b){M=0;break}else{a=a+N|0;b=b+-1|0}}r=O;return M|0}case 0:{c=0;r=O;return c|0}default:{}}a:while(1){switch(f&3|0){case 1:{i[f>>0]=c;v=e+-1|0;y=f+1|0;L=20;break}case 2:{v=e;y=f;L=20;break}case 3:{w=e;z=f;L=21;break}default:{x=e;A=f}}if((L|0)==20){i[y>>0]=c;w=v+-1|0;z=y+1|0;L=21}if((L|0)==21){L=0;i[z>>0]=c;x=w+-1|0;A=z+1|0}b=x>>2;if(b|0){switch(b&3|0){case 0:{m=(b+3|0)>>>2;q=A;L=24;break}case 3:{n=(b+3|0)>>>2;s=A;L=25;break}case 2:{o=(b+3|0)>>>2;t=A;L=26;break}case 1:{p=(b+3|0)>>>2;u=A;L=27;break}default:{L=34;break a}}while(1)if((L|0)==24){k[q>>2]=d;n=m;s=q+4|0;L=25;continue}else if((L|0)==25){k[s>>2]=d;o=n;t=s+4|0;L=26;continue}else if((L|0)==26){k[t>>2]=d;p=o;u=t+4|0;L=27;continue}else if((L|0)==27){L=0;k[u>>2]=d;b=p+-1|0;if(!b)break;else{m=b;q=u+4|0;L=24;continue}}}b=x&3;b:do if(b|0){a=A+(x&-4)|0;switch(b|0){case 3:{i[a>>0]=c;B=a+1|0;L=31;break}case 2:{B=a;L=31;break}case 1:{C=a;break}default:break b}if((L|0)==31){L=0;i[B>>0]=c;C=B+1|0}i[C>>0]=c}while(0);if(!g){M=0;L=75;break}else{f=f+N|0;g=g+-1|0}}if((L|0)!=34)if((L|0)==75){r=O;return M|0}break}case 2:{g=k[h+8>>2]|0;b=k[h+12>>2]|0;if(!b){c=0;r=O;return c|0}if((g|0)>1)d=b+-1|0;else{if(!(g&1)){c=0;r=O;return c|0}else b=b+-1|0;while(1){j[a+(g+-1<<1)>>1]=c;if(!b){M=0;break}else{a=a+N|0;b=b+-1|0}}r=O;return M|0}c:while(1){if(!(a&2)){e=g;f=a}else{j[a>>1]=c;e=g+-1|0;f=a+2|0}b=e>>1;if(b|0){switch(b&3|0){case 0:{D=(b+3|0)>>>2;H=f;L=43;break}case 3:{E=(b+3|0)>>>2;I=f;L=44;break}case 2:{F=(b+3|0)>>>2;J=f;L=45;break}case 1:{G=(b+3|0)>>>2;K=f;L=46;break}default:{L=50;break c}}while(1)if((L|0)==43){k[H>>2]=c<<16|c;E=D;I=H+4|0;L=44;continue}else if((L|0)==44){k[I>>2]=c<<16|c;F=E;J=I+4|0;L=45;continue}else if((L|0)==45){k[J>>2]=c<<16|c;G=F;K=J+4|0;L=46;continue}else if((L|0)==46){k[K>>2]=c<<16|c;b=G+-1|0;if(!b)break;else{D=b;H=K+4|0;L=43;continue}}}if(e&1|0)j[f+(e+-1<<1)>>1]=c;if(!d){M=0;L=75;break}else{a=a+N|0;d=d+-1|0}}if((L|0)!=50)if((L|0)==75){r=O;return M|0}break}case 3:{f=k[h+8>>2]|0;b=k[h+12>>2]|0;if((f|0)==0|(b|0)==0){c=0;r=O;return c|0}while(1){d=f;e=a;while(1){d=d+-1|0;i[e>>0]=c;i[e+1>>0]=c>>>8;i[e+2>>0]=c>>>16;if(!d)break;else e=e+3|0}b=b+-1|0;if(!b){M=0;break}else a=a+N|0}r=O;return M|0}case 4:{f=k[h+8>>2]|0;b=k[h+12>>2]|0;if(!b){c=0;r=O;return c|0}if(!f){c=0;r=O;return c|0}switch(f&3|0){case 0:{while(1){d=(f+3|0)>>>2;e=a;while(1){k[e>>2]=c;k[e+4>>2]=c;k[e+8>>2]=c;k[e+12>>2]=c;d=d+-1|0;if(!d)break;else e=e+16|0}b=b+-1|0;if(!b){M=0;break}else a=a+N|0}r=O;return M|0}case 3:{if(!(((f+3|0)>>>2)+-1|0)){while(1){k[a>>2]=c;k[a+4>>2]=c;k[a+8>>2]=c;b=b+-1|0;if(!b){M=0;break}else a=a+N|0}r=O;return M|0}while(1){k[a>>2]=c;k[a+4>>2]=c;k[a+8>>2]=c;d=((f+3|0)>>>2)+-1|0;e=a;do{M=e;e=e+16|0;k[M+12>>2]=c;k[e>>2]=c;k[M+20>>2]=c;k[M+24>>2]=c;d=d+-1|0}while((d|0)!=0);b=b+-1|0;if(!b){M=0;break}else a=a+N|0}r=O;return M|0}case 1:{while(1){k[a>>2]=c;if(((f+3|0)>>>2)+-1|0){d=((f+3|0)>>>2)+-1|0;e=a;do{k[e+4>>2]=c;k[e+8>>2]=c;k[e+12>>2]=c;e=e+16|0;k[e>>2]=c;d=d+-1|0}while((d|0)!=0)}b=b+-1|0;if(!b){M=0;break}else a=a+N|0}r=O;return M|0}default:{while(1){k[a>>2]=c;k[a+4>>2]=c;if(((f+3|0)>>>2)+-1|0){d=((f+3|0)>>>2)+-1|0;e=a;do{k[e+8>>2]=c;M=e;e=e+16|0;k[M+12>>2]=c;k[e>>2]=c;k[M+20>>2]=c;d=d+-1|0}while((d|0)!=0)}b=b+-1|0;if(!b){M=0;break}else a=a+N|0}r=O;return M|0}}}default:{c=0;r=O;return c|0}}return 0}function R7a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0;h=r;r=r+32|0;if(!a){k[h>>2]=594193;y6a(608563,h)|0;c=0;r=h;return c|0}if(!b){k[h+8>>2]=594195;y6a(608563,h+8|0)|0;c=0;r=h;return c|0}if(!c){k[h+16>>2]=594197;y6a(608563,h+16|0)|0;c=0;r=h;return c|0}f=k[a+8>>2]|0;if((f|0)>=1){g=k[a+12>>2]|0;if((g|0)>=1){d=k[b+8>>2]|0;if((d|0)>=1){e=k[b+12>>2]|0;if((e|0)>=1){j=k[a>>2]|0;l=k[b>>2]|0;i=(l|0)>(j|0)?l:j;k[c>>2]=i;f=((d+l|0)<(f+j|0)?d+l|0:f+j|0)-i|0;k[c+8>>2]=f;a=k[a+4>>2]|0;d=k[b+4>>2]|0;b=(d|0)>(a|0)?d:a;k[c+4>>2]=b;b=((e+d|0)<(g+a|0)?e+d|0:g+a|0)-b|0;k[c+12>>2]=b;c=((f|0)<1|(b|0)<1)&1^1;r=h;return c|0}}}}k[c+8>>2]=0;k[c+12>>2]=0;l=0;r=h;return l|0}function S7a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;A=k[a+8>>2]|0;if(k[c>>2]&2|0)if((T7a(c)|0)<0){c=-1;return c|0}x=k[c+16>>2]|0;h=(k[c+20>>2]|0)+(ha(x,k[d+4>>2]|0)|0)|0;s=k[a+4>>2]|0;p=l[s+9>>0]|0;h=h+(ha(p,k[d>>2]|0)|0)|0;n=k[a+52>>2]|0;e=k[n+12>>2]|0;d=k[b+4>>2]|0;a:do if(!d)o=29;else switch(p|0){case 1:{g=d;while(1){d=0;do{d=(l[e>>0]|0)+d|0;f=i[e+1>>0]|0;e=e+2|0;if(!(f<<24>>24)){if(!d)break a}else{d=d+(f&255)|0;e=e+(f&255)|0}}while((d|0)!=(A|0));g=g+-1|0;if(!g){o=29;break}}break}case 2:{g=d;while(1){d=0;do{d=(l[e>>0]|0)+d|0;f=i[e+1>>0]|0;e=e+2|0;if(!(f<<24>>24)){if(!d)break a}else{d=d+(f&255)|0;e=e+((f&255)<<1)|0}}while((d|0)!=(A|0));g=g+-1|0;if(!g){o=29;break}}break}case 3:{g=d;while(1){d=0;do{d=(l[e>>0]|0)+d|0;f=i[e+1>>0]|0;e=e+2|0;if(!(f<<24>>24)){if(!d)break a}else{d=d+(f&255)|0;e=e+((f&255)*3|0)|0}}while((d|0)!=(A|0));g=g+-1|0;if(!g){o=29;break}}break}case 4:{g=d;while(1){d=0;do{d=(m[e>>1]|0)+d|0;f=j[e+2>>1]|0;e=e+4|0;if(!(f<<16>>16)){if(!d)break a}else{d=d+(f&65535)|0;e=e+((f&65535)<<2)|0}}while((d|0)!=(A|0));g=g+-1|0;if(!g){o=29;break}}break}default:{o=29;break a}}while(0);b:do if((o|0)==29){y=i[n+79>>0]|0;z=k[b>>2]|0;if(!z)if((k[b+8>>2]|0)==(k[a+8>>2]|0)){if(y<<24>>24==-1)switch(p|0){case 1:{d=k[b+12>>2]|0;while(1){f=0;do{f=(l[e>>0]|0)+f|0;g=i[e+1>>0]|0;e=e+2|0;if(!(g<<24>>24)){if(!f)break b}else{y7a(h+f|0,e,g&255)|0;f=f+(g&255)|0;e=e+(g&255)|0}}while((f|0)!=(A|0));d=d+-1|0;if(!d)break b;else h=h+(k[c+16>>2]|0)|0}}case 2:{d=k[b+12>>2]|0;while(1){f=0;do{f=(l[e>>0]|0)+f|0;g=i[e+1>>0]|0;e=e+2|0;if(!(g<<24>>24)){if(!f)break b}else{y7a(h+(f<<1)|0,e,(g&255)<<1)|0;f=f+(g&255)|0;e=e+((g&255)<<1)|0}}while((f|0)!=(A|0));d=d+-1|0;if(!d)break b;else h=h+(k[c+16>>2]|0)|0}}case 3:{d=k[b+12>>2]|0;while(1){f=0;do{f=(l[e>>0]|0)+f|0;g=i[e+1>>0]|0;e=e+2|0;if(!(g<<24>>24)){if(!f)break b}else{y7a(h+(f*3|0)|0,e,(g&255)*3|0)|0;f=f+(g&255)|0;e=e+((g&255)*3|0)|0}}while((f|0)!=(A|0));d=d+-1|0;if(!d)break b;else h=h+(k[c+16>>2]|0)|0}}case 4:{d=k[b+12>>2]|0;while(1){f=0;do{f=(m[e>>1]|0)+f|0;g=j[e+2>>1]|0;e=e+4|0;if(!(g<<16>>16)){if(!f)break b}else{y7a(h+(f<<2)|0,e,(g&65535)<<2)|0;f=f+(g&65535)|0;e=e+((g&65535)<<2)|0}}while((f|0)!=(A|0));d=d+-1|0;if(!d)break b;else h=h+(k[c+16>>2]|0)|0}}default:break b}switch(p|0){case 4:{d=k[s+12>>2]|0;f=k[s+16>>2]|0;g=k[s+20>>2]|0;if((f|d|g|0)==16777215)if((d|0)==65280|(f|0)==65280|(g|0)==65280){d=k[b+12>>2]|0;if(y<<24>>24==-128){p=h;while(1){f=0;do{f=(m[e>>1]|0)+f|0;o=j[e+2>>1]|0;e=e+4|0;if(!(o<<16>>16)){if(!f)break b}else{g=p+(f<<2)|0;h=0;n=e;while(1){y=k[n>>2]|0;z=k[g>>2]|0;k[g>>2]=(((z&16711422)+(y&16711422)|0)>>>1)+(y&65793&z);h=h+1|0;if((h|0)==(o&65535|0))break;else{g=g+4|0;n=n+4|0}}f=f+(o&65535)|0;e=e+((o&65535)<<2)|0}}while((f|0)!=(A|0));d=d+-1|0;if(!d)break b;else p=p+(k[c+16>>2]|0)|0}}else{p=h;while(1){f=0;do{f=(m[e>>1]|0)+f|0;o=j[e+2>>1]|0;e=e+4|0;if(!(o<<16>>16)){if(!f)break b}else{g=p+(f<<2)|0;h=0;n=e;while(1){x=k[n>>2]|0;z=k[g>>2]|0;z=((ha((x&16711935)-(z&16711935)|0,y&255)|0)>>>8)+(z&16711935)&16711935|((ha((x&65280)-(z&65280)|0,y&255)|0)>>>8)+(z&65280)&65280;k[g>>2]=z;h=h+1|0;if((h|0)==(o&65535|0))break;else{g=g+4|0;n=n+4|0}}f=f+(o&65535)|0;e=e+((o&65535)<<2)|0}}while((f|0)!=(A|0));d=d+-1|0;if(!d)break b;else p=p+(k[c+16>>2]|0)|0}}}p=h;d=k[b+12>>2]|0;while(1){f=0;do{f=(m[e>>1]|0)+f|0;o=j[e+2>>1]|0;e=e+4|0;if(!(o<<16>>16)){if(!f)break b}else{g=p+(f<<2)|0;h=0;n=e;while(1){u=k[n>>2]|0;v=k[g>>2]|0;B=k[s+12>>2]|0;z=k[s+32>>2]|0;w=k[s+28>>2]|0;C=k[124356+((w&255)<<2)>>2]|0;q=k[s+16>>2]|0;a=k[124356+((w>>>8&255)<<2)>>2]|0;t=k[s+20>>2]|0;r=k[124356+((w>>>16&255)<<2)>>2]|0;b=l[C+((B&v)>>>(z&255))>>0]|0;x=l[a+((q&v)>>>(z>>>8&255))>>0]|0;v=l[r+((t&v)>>>(z>>>16&255))>>0]|0;b=(((ha((l[C+((B&u)>>>(z&255))>>0]|0)-b|0,y&255)|0)>>>8)+b|0)>>>(w&255)<<(z&255);x=(((ha((l[a+((q&u)>>>(z>>>8&255))>>0]|0)-x|0,y&255)|0)>>>8)+x|0)>>>(w>>>8&255)<<(z>>>8&255);z=(((ha((l[r+((t&u)>>>(z>>>16&255))>>0]|0)-v|0,y&255)|0)>>>8)+v|0)>>>(w>>>16&255)<<(z>>>16&255);k[g>>2]=b|k[s+24>>2]|x|z;h=h+1|0;if((h|0)==(o&65535|0))break;else{g=g+4|0;n=n+4|0}}f=f+(o&65535)|0;e=e+((o&65535)<<2)|0}}while((f|0)!=(A|0));d=d+-1|0;if(!d)break b;else p=p+(k[c+16>>2]|0)|0}}case 2:{a=k[s+12>>2]|0;q=k[s+16>>2]|0;r=k[s+20>>2]|0;c:do if((q|a|r|0)<65535){switch(q|a|r|0){case 32767:break;default:break c}if((a|0)==992|(q|0)==992|(r|0)==992){d=k[b+12>>2]|0;if(y<<24>>24==-128)r=h;else{p=h;while(1){f=0;do{f=(l[e>>0]|0)+f|0;o=i[e+1>>0]|0;e=e+2|0;if(!(o<<24>>24)){if(!f)break b}else{g=p+(f<<1)|0;h=0;n=e;while(1){B=m[n>>1]|0;C=m[g>>1]|0;C=((ha(((B<<16|B)&65043487)-((C<<16|C)&65043487)|0,(y&255)>>>3)|0)>>>5)+((C<<16|C)&65043487)&65043487;j[g>>1]=C>>>16|C;h=h+1|0;if((h|0)==(o&255|0))break;else{g=g+2|0;n=n+2|0}}f=f+(o&255)|0;e=e+((o&255)<<1)|0}}while((f|0)!=(A|0));d=d+-1|0;if(!d)break b;else p=p+x|0}}while(1){f=0;do{f=(l[e>>0]|0)+f|0;a=i[e+1>>0]|0;q=e+2|0;if(!(a<<24>>24))if(!f)break b;else e=q;else{g=r+(f<<1)|0;do if(!((g^q)&3)){if(!(q&3)){h=a&255;e=q}else{h=j[q>>1]|0;C=j[g>>1]|0;j[g>>1]=(((C&64478)+(h&64478)|0)>>>1)+(C&h&1057);g=g+2|0;h=(a&255)+-1|0;e=e+4|0}if(h>>>0>1){o=h+-2|0;n=g+4|0;p=e+4|0;while(1){B=k[e>>2]|0;C=k[g>>2]|0;k[g>>2]=(C>>>1&2112847343)+(B>>>1&2112847343)+(B&69272609&C);h=h+-2|0;if(h>>>0<=1)break;else{g=g+4|0;e=e+4|0}}g=n+((o&-2)<<1)|0;h=o-(o&-2)|0;e=p+((o&-2)<<1)|0}if(!h)break;C=j[e>>1]|0;B=j[g>>1]|0;j[g>>1]=(((B&64478)+(C&64478)|0)>>>1)+(B&C&1057)}else{e=a&255;h=q;while(1){e=e+-1|0;C=j[h>>1]|0;B=j[g>>1]|0;j[g>>1]=(((B&64478)+(C&64478)|0)>>>1)+(B&C&1057);if(!e)break;else{g=g+2|0;h=h+2|0}}}while(0);f=f+(a&255)|0;e=q+((a&255)<<1)|0}}while((f|0)!=(A|0));d=d+-1|0;if(!d)break b;else r=r+(k[c+16>>2]|0)|0}}}else{switch(q|a|r|0){case 65535:break;default:break c}if((a|0)==2016|(q|0)==2016|(r|0)==2016){d=k[b+12>>2]|0;if(y<<24>>24==-128)r=h;else{p=h;while(1){f=0;do{f=(l[e>>0]|0)+f|0;o=i[e+1>>0]|0;e=e+2|0;if(!(o<<24>>24)){if(!f)break b}else{g=p+(f<<1)|0;h=0;n=e;while(1){B=m[n>>1]|0;C=m[g>>1]|0;C=((ha(((B<<16|B)&132184095)-((C<<16|C)&132184095)|0,(y&255)>>>3)|0)>>>5)+((C<<16|C)&132184095)&132184095;j[g>>1]=C>>>16|C;h=h+1|0;if((h|0)==(o&255|0))break;else{g=g+2|0;n=n+2|0}}f=f+(o&255)|0;e=e+((o&255)<<1)|0}}while((f|0)!=(A|0));d=d+-1|0;if(!d)break b;else p=p+x|0}}while(1){f=0;do{f=(l[e>>0]|0)+f|0;a=i[e+1>>0]|0;q=e+2|0;if(!(a<<24>>24))if(!f)break b;else e=q;else{g=r+(f<<1)|0;do if(!((g^q)&3)){if(!(q&3)){h=a&255;e=q}else{h=j[q>>1]|0;C=j[g>>1]|0;j[g>>1]=(((C&63454)+(h&63454)|0)>>>1)+(C&h&2081);g=g+2|0;h=(a&255)+-1|0;e=e+4|0}if(h>>>0>1){o=h+-2|0;n=g+4|0;p=e+4|0;while(1){B=k[e>>2]|0;C=k[g>>2]|0;k[g>>2]=(C>>>1&2079292399)+(B>>>1&2079292399)+(B&136382497&C);h=h+-2|0;if(h>>>0<=1)break;else{g=g+4|0;e=e+4|0}}g=n+((o&-2)<<1)|0;h=o-(o&-2)|0;e=p+((o&-2)<<1)|0}if(!h)break;C=j[e>>1]|0;B=j[g>>1]|0;j[g>>1]=(((B&63454)+(C&63454)|0)>>>1)+(B&C&2081)}else{e=a&255;h=q;while(1){e=e+-1|0;C=j[h>>1]|0;B=j[g>>1]|0;j[g>>1]=(((B&63454)+(C&63454)|0)>>>1)+(B&C&2081);if(!e)break;else{g=g+2|0;h=h+2|0}}}while(0);f=f+(a&255)|0;e=q+((a&255)<<1)|0}}while((f|0)!=(A|0));d=d+-1|0;if(!d)break b;else r=r+(k[c+16>>2]|0)|0}}}while(0);p=h;d=k[b+12>>2]|0;while(1){f=0;do{f=(l[e>>0]|0)+f|0;o=i[e+1>>0]|0;e=e+2|0;if(!(o<<24>>24)){if(!f)break b}else{g=p+(f<<1)|0;h=0;n=e;while(1){w=m[n>>1]|0;b=m[g>>1]|0;C=k[s+32>>2]|0;x=k[s+28>>2]|0;t=k[124356+((x&255)<<2)>>2]|0;u=k[124356+((x>>>8&255)<<2)>>2]|0;v=k[124356+((x>>>16&255)<<2)>>2]|0;z=l[t+((b&a)>>>(C&255))>>0]|0;B=l[u+((q&b)>>>(C>>>8&255))>>0]|0;b=l[v+((r&b)>>>(C>>>16&255))>>0]|0;z=(((ha((l[t+((a&w)>>>(C&255))>>0]|0)-z|0,y&255)|0)>>>8)+z|0)>>>(x&255)<<(C&255);B=(((ha((l[u+((q&w)>>>(C>>>8&255))>>0]|0)-B|0,y&255)|0)>>>8)+B|0)>>>(x>>>8&255)<<(C>>>8&255);C=(((ha((l[v+((r&w)>>>(C>>>16&255))>>0]|0)-b|0,y&255)|0)>>>8)+b|0)>>>(x>>>16&255)<<(C>>>16&255);j[g>>1]=z|k[s+24>>2]|B|C;h=h+1|0;if((h|0)==(o&255|0))break;else{g=g+2|0;n=n+2|0}}f=f+(o&255)|0;e=e+((o&255)<<1)|0}}while((f|0)!=(A|0));d=d+-1|0;if(!d)break b;else p=p+(k[c+16>>2]|0)|0}}case 3:{p=h;d=k[b+12>>2]|0;while(1){f=0;do{f=(l[e>>0]|0)+f|0;o=i[e+1>>0]|0;e=e+2|0;if(!(o<<24>>24)){if(!f)break b}else{g=p+(f*3|0)|0;h=0;n=e;while(1){u=(l[n+1>>0]|0)<<8|(l[n+2>>0]|0)<<16|(l[n>>0]|0);C=g+2|0;z=g+1|0;v=(l[z>>0]|0)<<8|(l[C>>0]|0)<<16|(l[g>>0]|0);D=k[s+12>>2]|0;B=k[s+32>>2]|0;w=k[s+28>>2]|0;E=k[124356+((w&255)<<2)>>2]|0;q=k[s+16>>2]|0;a=k[124356+((w>>>8&255)<<2)>>2]|0;t=k[s+20>>2]|0;r=k[124356+((w>>>16&255)<<2)>>2]|0;b=l[E+((v&D)>>>(B&255))>>0]|0;x=l[a+((q&v)>>>(B>>>8&255))>>0]|0;v=l[r+((t&v)>>>(B>>>16&255))>>0]|0;b=(((ha((l[E+((D&u)>>>(B&255))>>0]|0)-b|0,y&255)|0)>>>8)+b|0)>>>(w&255)<<(B&255);x=(((ha((l[a+((q&u)>>>(B>>>8&255))>>0]|0)-x|0,y&255)|0)>>>8)+x|0)>>>(w>>>8&255)<<(B>>>8&255);B=(((ha((l[r+((t&u)>>>(B>>>16&255))>>0]|0)-v|0,y&255)|0)>>>8)+v|0)>>>(w>>>16&255)<<(B>>>16&255);B=b|k[s+24>>2]|x|B;i[g>>0]=B;i[z>>0]=B>>>8;i[C>>0]=B>>>16;h=h+1|0;if((h|0)==(o&255|0))break;else{g=g+3|0;n=n+3|0}}f=f+(o&255)|0;e=e+((o&255)*3|0)|0}}while((f|0)!=(A|0));d=d+-1|0;if(!d)break b;else p=p+(k[c+16>>2]|0)|0}}default:break b}}w=k[c+4>>2]|0;d=l[w+9>>0]|0;if(y<<24>>24==-1)switch(d|0){case 1:{p=(k[b+8>>2]|0)+z|0;o=h+(0-z)|0;d=k[b+12>>2]|0;while(1){f=0;do{f=(l[e>>0]|0)+f|0;n=i[e+1>>0]|0;e=e+2|0;if(!(n<<24>>24)){if(!f)break b}else{do if((f|0)<(p|0)){if((z-f|0)>0)if(((n&255)-(z-f)|0)<1)break;else{g=(n&255)-(z-f)|0;h=z-f|0}else{g=n&255;h=0}E=h+f|0;y7a(o+E|0,e+h|0,(g|0)>(p-E|0)?p-E|0:g)|0}while(0);e=e+(n&255)|0;f=f+(n&255)|0}}while((f|0)!=(A|0));d=d+-1|0;if(!d)break b;else o=o+(k[c+16>>2]|0)|0}}case 2:{p=(k[b+8>>2]|0)+z|0;o=h+(0-(z<<1))|0;d=k[b+12>>2]|0;while(1){f=0;do{f=(l[e>>0]|0)+f|0;n=i[e+1>>0]|0;e=e+2|0;if(!(n<<24>>24)){if(!f)break b}else{do if((f|0)<(p|0)){if((z-f|0)>0)if(((n&255)-(z-f)|0)<1)break;else{g=(n&255)-(z-f)|0;h=z-f|0}else{g=n&255;h=0}E=h+f|0;y7a(o+(E<<1)|0,e+(h<<1)|0,((g|0)>(p-E|0)?p-E|0:g)<<1)|0}while(0);e=e+((n&255)<<1)|0;f=f+(n&255)|0}}while((f|0)!=(A|0));d=d+-1|0;if(!d)break b;else o=o+(k[c+16>>2]|0)|0}}case 3:{p=(k[b+8>>2]|0)+z|0;o=h+(ha(z,-3)|0)|0;d=k[b+12>>2]|0;while(1){f=0;do{f=(l[e>>0]|0)+f|0;n=i[e+1>>0]|0;e=e+2|0;if(!(n<<24>>24)){if(!f)break b}else{do if((f|0)<(p|0)){if((z-f|0)>0)if(((n&255)-(z-f)|0)<1)break;else{g=(n&255)-(z-f)|0;h=z-f|0}else{g=n&255;h=0}E=h+f|0;y7a(o+(E*3|0)|0,e+(h*3|0)|0,((g|0)>(p-E|0)?p-E|0:g)*3|0)|0}while(0);e=e+((n&255)*3|0)|0;f=f+(n&255)|0}}while((f|0)!=(A|0));d=d+-1|0;if(!d)break b;else o=o+(k[c+16>>2]|0)|0}}case 4:{p=(k[b+8>>2]|0)+z|0;o=h+(0-(z<<2))|0;d=k[b+12>>2]|0;while(1){f=0;do{f=(m[e>>1]|0)+f|0;n=j[e+2>>1]|0;e=e+4|0;if(!(n<<16>>16)){if(!f)break b}else{do if((f|0)<(p|0)){if((z-f|0)>0)if(((n&65535)-(z-f)|0)<1)break;else{g=(n&65535)-(z-f)|0;h=z-f|0}else{g=n&65535;h=0}E=h+f|0;y7a(o+(E<<2)|0,e+(h<<2)|0,((g|0)>(p-E|0)?p-E|0:g)<<2)|0}while(0);e=e+((n&65535)<<2)|0;f=f+(n&65535)|0}}while((f|0)!=(A|0));d=d+-1|0;if(!d)break b;else o=o+(k[c+16>>2]|0)|0}}default:break b}switch(d|0){case 4:{d=k[w+12>>2]|0;f=k[w+16>>2]|0;g=k[w+20>>2]|0;if((f|d|g|0)==16777215)if((d|0)==65280|(f|0)==65280|(g|0)==65280){d=k[b+12>>2]|0;r=(k[b+8>>2]|0)+z|0;if(y<<24>>24==-128){q=h+(0-(z<<2))|0;while(1){f=0;do{f=(m[e>>1]|0)+f|0;a=j[e+2>>1]|0;e=e+4|0;if(!(a<<16>>16)){if(!f)break b}else{do if((f|0)<(r|0)){if((z-f|0)>0)if(((a&65535)-(z-f)|0)<1)break;else{g=(a&65535)-(z-f)|0;p=z-f|0}else{g=a&65535;p=0}h=p+f|0;o=(g|0)>(r-h|0)?r-h|0:g;if((o|0)>0){h=q+(h<<2)|0;n=0;g=e+(p<<2)|0;while(1){D=k[g>>2]|0;E=k[h>>2]|0;k[h>>2]=(((E&16711422)+(D&16711422)|0)>>>1)+(D&65793&E);n=n+1|0;if((n|0)>=(o|0))break;else{h=h+4|0;g=g+4|0}}}}while(0);e=e+((a&65535)<<2)|0;f=f+(a&65535)|0}}while((f|0)!=(A|0));d=d+-1|0;if(!d)break b;else q=q+(k[c+16>>2]|0)|0}}else{q=h+(0-(z<<2))|0;while(1){f=0;do{f=(m[e>>1]|0)+f|0;a=j[e+2>>1]|0;e=e+4|0;if(!(a<<16>>16)){if(!f)break b}else{do if((f|0)<(r|0)){if((z-f|0)>0)if(((a&65535)-(z-f)|0)<1)break;else{g=(a&65535)-(z-f)|0;p=z-f|0}else{g=a&65535;p=0}h=p+f|0;o=(g|0)>(r-h|0)?r-h|0:g;if((o|0)>0){h=q+(h<<2)|0;n=0;g=e+(p<<2)|0;while(1){D=k[g>>2]|0;E=k[h>>2]|0;E=((ha((D&16711935)-(E&16711935)|0,y&255)|0)>>>8)+(E&16711935)&16711935|((ha((D&65280)-(E&65280)|0,y&255)|0)>>>8)+(E&65280)&65280;k[h>>2]=E;n=n+1|0;if((n|0)>=(o|0))break;else{h=h+4|0;g=g+4|0}}}}while(0);e=e+((a&65535)<<2)|0;f=f+(a&65535)|0}}while((f|0)!=(A|0));d=d+-1|0;if(!d)break b;else q=q+(k[c+16>>2]|0)|0}}}r=(k[b+8>>2]|0)+z|0;q=h+(0-(z<<2))|0;d=k[b+12>>2]|0;while(1){f=0;do{f=(m[e>>1]|0)+f|0;a=j[e+2>>1]|0;e=e+4|0;if(!(a<<16>>16)){if(!f)break b}else{do if((f|0)<(r|0)){if((z-f|0)>0)if(((a&65535)-(z-f)|0)<1)break;else{g=(a&65535)-(z-f)|0;p=z-f|0}else{g=a&65535;p=0}h=p+f|0;o=(g|0)>(r-h|0)?r-h|0:g;if((o|0)>0){h=q+(h<<2)|0;n=0;g=e+(p<<2)|0;while(1){b=k[g>>2]|0;x=k[h>>2]|0;p=k[w+12>>2]|0;E=k[w+32>>2]|0;B=k[w+28>>2]|0;F=k[124356+((B&255)<<2)>>2]|0;t=k[w+16>>2]|0;s=k[124356+((B>>>8&255)<<2)>>2]|0;v=k[w+20>>2]|0;u=k[124356+((B>>>16&255)<<2)>>2]|0;C=l[F+((p&x)>>>(E&255))>>0]|0;D=l[s+((t&x)>>>(E>>>8&255))>>0]|0;x=l[u+((v&x)>>>(E>>>16&255))>>0]|0;C=(((ha((l[F+((p&b)>>>(E&255))>>0]|0)-C|0,y&255)|0)>>>8)+C|0)>>>(B&255)<<(E&255);D=(((ha((l[s+((t&b)>>>(E>>>8&255))>>0]|0)-D|0,y&255)|0)>>>8)+D|0)>>>(B>>>8&255)<<(E>>>8&255);E=(((ha((l[u+((v&b)>>>(E>>>16&255))>>0]|0)-x|0,y&255)|0)>>>8)+x|0)>>>(B>>>16&255)<<(E>>>16&255);k[h>>2]=C|k[w+24>>2]|D|E;n=n+1|0;if((n|0)>=(o|0))break;else{h=h+4|0;g=g+4|0}}}}while(0);e=e+((a&65535)<<2)|0;f=f+(a&65535)|0}}while((f|0)!=(A|0));d=d+-1|0;if(!d)break;else q=q+(k[c+16>>2]|0)|0}break}case 2:{s=k[w+12>>2]|0;t=k[w+16>>2]|0;u=k[w+20>>2]|0;d:do if((t|s|u|0)<65535){switch(t|s|u|0){case 32767:break;default:break d}if((s|0)==992|(t|0)==992|(u|0)==992){d=k[b+12>>2]|0;s=(k[b+8>>2]|0)+z|0;if(y<<24>>24==-128)r=h+(0-(z<<1))|0;else{q=h+(0-(z<<1))|0;while(1){f=0;do{f=(l[e>>0]|0)+f|0;a=i[e+1>>0]|0;e=e+2|0;if(!(a<<24>>24)){if(!f)break b}else{do if((f|0)<(s|0)){if((z-f|0)>0)if(((a&255)-(z-f)|0)<1)break;else{g=(a&255)-(z-f)|0;p=z-f|0}else{g=a&255;p=0}h=p+f|0;o=(g|0)>(s-h|0)?s-h|0:g;if((o|0)>0){h=q+(h<<1)|0;n=0;g=e+(p<<1)|0;while(1){E=m[g>>1]|0;F=m[h>>1]|0;F=((ha(((E<<16|E)&65043487)-((F<<16|F)&65043487)|0,(y&255)>>>3)|0)>>>5)+((F<<16|F)&65043487)&65043487;j[h>>1]=F>>>16|F;n=n+1|0;if((n|0)>=(o|0))break;else{h=h+2|0;g=g+2|0}}}}while(0);e=e+((a&255)<<1)|0;f=f+(a&255)|0}}while((f|0)!=(A|0));d=d+-1|0;if(!d)break b;else q=q+x|0}}while(1){f=0;do{f=(l[e>>0]|0)+f|0;q=i[e+1>>0]|0;e=e+2|0;if(!(q<<24>>24)){if(!f)break b}else{e:do if((f|0)<(s|0)){if((z-f|0)>0)if(((q&255)-(z-f)|0)<1)break;else{g=(q&255)-(z-f)|0;h=z-f|0}else{g=q&255;h=0}F=h+f|0;n=(g|0)>(s-F|0)?s-F|0:g;h=e+(h<<1)|0;g=r+(F<<1)|0;if((g^h)&3|0){if(!n)break;while(1){n=n+-1|0;F=j[h>>1]|0;E=j[g>>1]|0;j[g>>1]=(((E&64478)+(F&64478)|0)>>>1)+(E&F&1057);if(!n)break e;else{g=g+2|0;h=h+2|0}}}if(h&3){F=j[h>>1]|0;E=j[g>>1]|0;j[g>>1]=(((E&64478)+(F&64478)|0)>>>1)+(E&F&1057);g=g+2|0;n=n+-1|0;h=h+2|0}if(n>>>0>1){a=n+-2|0;p=g+4|0;o=h;while(1){E=k[o>>2]|0;F=k[g>>2]|0;k[g>>2]=(E&69272609&F)+(E>>>1&2112847343)+(F>>>1&2112847343);n=n+-2|0;if(n>>>0<=1)break;else{g=g+4|0;o=o+4|0}}g=p+((a&-2)<<1)|0;n=a-(a&-2)|0;h=h+4+((a&-2)<<1)|0}if(!n)break;F=j[h>>1]|0;E=j[g>>1]|0;j[g>>1]=(((E&64478)+(F&64478)|0)>>>1)+(E&F&1057)}while(0);e=e+((q&255)<<1)|0;f=f+(q&255)|0}}while((f|0)!=(A|0));d=d+-1|0;if(!d)break b;else r=r+(k[c+16>>2]|0)|0}}}else{switch(t|s|u|0){case 65535:break;default:break d}if((s|0)==2016|(t|0)==2016|(u|0)==2016){d=k[b+12>>2]|0;s=(k[b+8>>2]|0)+z|0;if(y<<24>>24==-128)r=h+(0-(z<<1))|0;else{q=h+(0-(z<<1))|0;while(1){f=0;do{f=(l[e>>0]|0)+f|0;a=i[e+1>>0]|0;e=e+2|0;if(!(a<<24>>24)){if(!f)break b}else{do if((f|0)<(s|0)){if((z-f|0)>0)if(((a&255)-(z-f)|0)<1)break;else{g=(a&255)-(z-f)|0;p=z-f|0}else{g=a&255;p=0}h=p+f|0;o=(g|0)>(s-h|0)?s-h|0:g;if((o|0)>0){h=q+(h<<1)|0;n=0;g=e+(p<<1)|0;while(1){E=m[g>>1]|0;F=m[h>>1]|0;F=((ha(((E<<16|E)&132184095)-((F<<16|F)&132184095)|0,(y&255)>>>3)|0)>>>5)+((F<<16|F)&132184095)&132184095;j[h>>1]=F>>>16|F;n=n+1|0;if((n|0)>=(o|0))break;else{h=h+2|0;g=g+2|0}}}}while(0);e=e+((a&255)<<1)|0;f=f+(a&255)|0}}while((f|0)!=(A|0));d=d+-1|0;if(!d)break b;else q=q+x|0}}while(1){f=0;do{f=(l[e>>0]|0)+f|0;q=i[e+1>>0]|0;e=e+2|0;if(!(q<<24>>24)){if(!f)break b}else{f:do if((f|0)<(s|0)){if((z-f|0)>0)if(((q&255)-(z-f)|0)<1)break;else{g=(q&255)-(z-f)|0;h=z-f|0}else{g=q&255;h=0}F=h+f|0;n=(g|0)>(s-F|0)?s-F|0:g;h=e+(h<<1)|0;g=r+(F<<1)|0;if((g^h)&3|0){if(!n)break;while(1){n=n+-1|0;F=j[h>>1]|0;E=j[g>>1]|0;j[g>>1]=(((E&63454)+(F&63454)|0)>>>1)+(E&F&2081);if(!n)break f;else{g=g+2|0;h=h+2|0}}}if(h&3){F=j[h>>1]|0;E=j[g>>1]|0;j[g>>1]=(((E&63454)+(F&63454)|0)>>>1)+(E&F&2081);g=g+2|0;n=n+-1|0;h=h+2|0}if(n>>>0>1){a=n+-2|0;p=g+4|0;o=h;while(1){E=k[o>>2]|0;F=k[g>>2]|0;k[g>>2]=(E&136382497&F)+(E>>>1&2079292399)+(F>>>1&2079292399);n=n+-2|0;if(n>>>0<=1)break;else{g=g+4|0;o=o+4|0}}g=p+((a&-2)<<1)|0;n=a-(a&-2)|0;h=h+4+((a&-2)<<1)|0}if(!n)break;F=j[h>>1]|0;E=j[g>>1]|0;j[g>>1]=(((E&63454)+(F&63454)|0)>>>1)+(E&F&2081)}while(0);e=e+((q&255)<<1)|0;f=f+(q&255)|0}}while((f|0)!=(A|0));d=d+-1|0;if(!d)break b;else r=r+(k[c+16>>2]|0)|0}}}while(0);v=(k[b+8>>2]|0)+z|0;r=h+(0-(z<<1))|0;d=k[b+12>>2]|0;while(1){f=0;do{f=(l[e>>0]|0)+f|0;q=i[e+1>>0]|0;e=e+2|0;if(!(q<<24>>24)){if(!f)break b}else{do if((f|0)<(v|0)){if((z-f|0)>0)if(((q&255)-(z-f)|0)<1)break;else{g=(q&255)-(z-f)|0;a=z-f|0}else{g=q&255;a=0}h=a+f|0;o=(g|0)>(v-h|0)?v-h|0:g;if((o|0)>0){p=k[w+24>>2]|0;h=r+(h<<1)|0;n=0;g=e+(a<<1)|0;while(1){C=m[g>>1]|0;D=m[h>>1]|0;F=k[w+32>>2]|0;E=k[w+28>>2]|0;H=k[124356+((E&255)<<2)>>2]|0;a=k[124356+((E>>>8&255)<<2)>>2]|0;B=k[124356+((E>>>16&255)<<2)>>2]|0;G=l[H+((D&s)>>>(F&255))>>0]|0;b=l[a+((D&t)>>>(F>>>8&255))>>0]|0;D=l[B+((D&u)>>>(F>>>16&255))>>0]|0;F=((((ha((l[H+((C&s)>>>(F&255))>>0]|0)-G|0,y&255)|0)>>>8)+G|0)>>>(E&255)<<(F&255)|p|(((ha((l[a+((C&t)>>>(F>>>8&255))>>0]|0)-b|0,y&255)|0)>>>8)+b|0)>>>(E>>>8&255)<<(F>>>8&255)|(((ha((l[B+((C&u)>>>(F>>>16&255))>>0]|0)-D|0,y&255)|0)>>>8)+D|0)>>>(E>>>16&255)<<(F>>>16&255))&65535;j[h>>1]=F;n=n+1|0;if((n|0)>=(o|0))break;else{h=h+2|0;g=g+2|0}}}}while(0);e=e+((q&255)<<1)|0;f=f+(q&255)|0}}while((f|0)!=(A|0));d=d+-1|0;if(!d)break;else r=r+x|0}break}case 3:{r=(k[b+8>>2]|0)+z|0;q=h+(ha(z,-3)|0)|0;d=k[b+12>>2]|0;while(1){f=0;do{f=(l[e>>0]|0)+f|0;a=i[e+1>>0]|0;e=e+2|0;if(!(a<<24>>24)){if(!f)break b}else{do if((f|0)<(r|0)){if((z-f|0)>0)if(((a&255)-(z-f)|0)<1)break;else{g=(a&255)-(z-f)|0;p=z-f|0}else{g=a&255;p=0}h=p+f|0;o=(g|0)>(r-h|0)?r-h|0:g;if((o|0)>0){h=q+(h*3|0)|0;n=0;g=e+(p*3|0)|0;while(1){x=(l[g+1>>0]|0)<<8|(l[g+2>>0]|0)<<16|(l[g>>0]|0);H=h+2|0;F=h+1|0;B=(l[F>>0]|0)<<8|(l[H>>0]|0)<<16|(l[h>>0]|0);s=k[w+12>>2]|0;G=k[w+32>>2]|0;C=k[w+28>>2]|0;p=k[124356+((C&255)<<2)>>2]|0;u=k[w+16>>2]|0;t=k[124356+((C>>>8&255)<<2)>>2]|0;b=k[w+20>>2]|0;v=k[124356+((C>>>16&255)<<2)>>2]|0;D=l[p+((B&s)>>>(G&255))>>0]|0;E=l[t+((u&B)>>>(G>>>8&255))>>0]|0;B=l[v+((b&B)>>>(G>>>16&255))>>0]|0;D=(((ha((l[p+((s&x)>>>(G&255))>>0]|0)-D|0,y&255)|0)>>>8)+D|0)>>>(C&255)<<(G&255);E=(((ha((l[t+((u&x)>>>(G>>>8&255))>>0]|0)-E|0,y&255)|0)>>>8)+E|0)>>>(C>>>8&255)<<(G>>>8&255);G=(((ha((l[v+((b&x)>>>(G>>>16&255))>>0]|0)-B|0,y&255)|0)>>>8)+B|0)>>>(C>>>16&255)<<(G>>>16&255);G=D|k[w+24>>2]|E|G;i[h>>0]=G;i[F>>0]=G>>>8;i[H>>0]=G>>>16;n=n+1|0;if((n|0)>=(o|0))break;else{h=h+3|0;g=g+3|0}}}}while(0);e=e+((a&255)*3|0)|0;f=f+(a&255)|0}}while((f|0)!=(A|0));d=d+-1|0;if(!d)break;else q=q+(k[c+16>>2]|0)|0}break}default:break b}}while(0);if(!(k[c>>2]&2)){H=0;return H|0}U7a(c);H=0;return H|0}function T7a(a){a=a|0;var b=0;b=k[a+28>>2]|0;if(!b)if(!(k[a>>2]&2))b=0;else{P7a(a,1);k[a>>2]=k[a>>2]|2;b=k[a+28>>2]|0}k[a+28>>2]=b+1;return 0}function U7a(a){a=a|0;var b=0;b=k[a+28>>2]|0;if(!b)return;k[a+28>>2]=b+-1;if((b|0)>1)return;b=k[a>>2]|0;if(!(b&2))return;k[a>>2]=b&-3;O7a(a)|0;return}function V7a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,n=0,o=0,p=0;if((c|0)<=0){d=c<<1;return d|0}h=k[d+24>>2]|0;i=k[d+20>>2]|0;j=k[124356+((i&255)<<2)>>2]|0;n=k[124356+((i>>>8&255)<<2)>>2]|0;i=k[124356+((i>>>16&255)<<2)>>2]|0;o=k[e+28>>2]|0;p=k[e+32>>2]|0;g=(k[e+24>>2]|0?255:0)>>>(o>>>24)<<(p>>>24);f=0;e=b;while(1){b=m[e>>1]|0;k[a>>2]=(l[n+((k[d+8>>2]&b)>>>(h>>>8&255))>>0]|0)>>>(o>>>8&255)<<(p>>>8&255)|(l[j+((b&k[d+4>>2])>>>(h&255))>>0]|0)>>>(o&255)<<(p&255)|(l[i+((k[d+12>>2]&b)>>>(h>>>16&255))>>0]|0)>>>(o>>>16&255)<<(p>>>16&255)|g;f=f+1|0;if((f|0)==(c|0))break;else{a=a+4|0;e=e+2|0}}d=c<<1;return d|0}function W7a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,m=0,n=0;if((c|0)<=0){d=c<<2;return d|0}h=k[d+24>>2]|0;i=k[d+20>>2]|0;j=k[124356+((i&255)<<2)>>2]|0;m=k[124356+((i>>>8&255)<<2)>>2]|0;i=k[124356+((i>>>16&255)<<2)>>2]|0;n=k[e+28>>2]|0;g=k[e+32>>2]|0;f=0;e=b;while(1){b=k[e>>2]|0;k[a>>2]=(l[m+((k[d+8>>2]&b)>>>(h>>>8&255))>>0]|0)>>>(n>>>8&255)<<(g>>>8&255)|(l[j+((k[d+4>>2]&b)>>>(h&255))>>0]|0)>>>(n&255)<<(g&255)|(l[i+((k[d+12>>2]&b)>>>(h>>>16&255))>>0]|0)>>>(n>>>16&255)<<(g>>>16&255)|b>>>24>>>(n>>>24)<<(g>>>24);f=f+1|0;if((f|0)==(c|0))break;else{a=a+4|0;e=e+4|0}}d=c<<2;return d|0}function X7a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,m=0,n=0;if((c|0)<=0){d=c<<2;return d|0}h=k[d+24>>2]|0;i=k[d+20>>2]|0;j=k[124356+((i&255)<<2)>>2]|0;m=k[124356+((i>>>8&255)<<2)>>2]|0;i=k[124356+((i>>>16&255)<<2)>>2]|0;n=k[e+28>>2]|0;g=k[e+32>>2]|0;f=0;e=b;while(1){b=k[e>>2]|0;k[a>>2]=(l[m+((k[d+8>>2]&(b&-993|b>>>16))>>>(h>>>8&255))>>0]|0)>>>(n>>>8&255)<<(g>>>8&255)|(l[j+(((b&-993|b>>>16)&k[d+4>>2])>>>(h&255))>>0]|0)>>>(n&255)<<(g&255)|(l[i+((k[d+12>>2]&(b&-993|b>>>16))>>>(h>>>16&255))>>0]|0)>>>(n>>>16&255)<<(g>>>16&255)|(b>>>2&248)>>>(n>>>24)<<(g>>>24);f=f+1|0;if((f|0)==(c|0))break;else{a=a+4|0;e=e+4|0}}d=c<<2;return d|0}function Y7a(a){a=a|0;iqb(a);return}function Z7a(a){a=a|0;return l[a>>0]|0|0}function _7a(a){a=a|0;return m[a>>1]|0|0}function $7a(a){a=a|0;return (l[a+1>>0]|0)<<8|(l[a>>0]|0)|(l[a+2>>0]|0)<<16|0}function a8a(a){a=a|0;return k[a>>2]|0}function b8a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,l=0;if((c|0)<=0){d=c<<2;return d|0}i=k[d+32>>2]|0;g=k[e+28>>2]|0;h=k[e+32>>2]|0;f=0;while(1){l=k[b>>2]|0;j=(k[d+16>>2]&l)>>>(i>>>8&255)>>>(g>>>8&255)<<(h>>>8&255)|(k[d+12>>2]&l)>>>(i&255)>>>(g&255)<<(h&255)|k[e+24>>2]|(k[d+20>>2]&l)>>>(i>>>16&255)>>>(g>>>16&255)<<(h>>>16&255);k[a>>2]=j&63519|(k[d+24>>2]&l)>>>(i>>>24)<<2&2016|j<<16&132120576;f=f+1|0;if((f|0)==(c|0))break;else{b=b+4|0;a=a+4|0}}l=c<<2;return l|0}function c8a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,l=0;if((c|0)<=0){d=c<<2;return d|0}i=k[d+32>>2]|0;g=k[e+28>>2]|0;h=k[e+32>>2]|0;f=0;while(1){l=k[b>>2]|0;j=(k[d+16>>2]&l)>>>(i>>>8&255)>>>(g>>>8&255)<<(h>>>8&255)|(k[d+12>>2]&l)>>>(i&255)>>>(g&255)<<(h&255)|k[e+24>>2]|(k[d+20>>2]&l)>>>(i>>>16&255)>>>(g>>>16&255)<<(h>>>16&255);k[a>>2]=j&64543|(k[d+24>>2]&l)>>>(i>>>24)<<2&992|j<<16&65011712;f=f+1|0;if((f|0)==(c|0))break;else{b=b+4|0;a=a+4|0}}l=c<<2;return l|0}function d8a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;if((c|0)<=0){d=c<<2;return d|0}i=k[d+32>>2]|0;h=k[e+28>>2]|0;g=k[e+32>>2]|0;f=b;e=a;b=0;while(1){a=k[f>>2]|0;k[e>>2]=(k[d+12>>2]&a)>>>(i&255)>>>(h&255)<<(g&255)|(k[d+24>>2]&a)>>>(i>>>24)<<24|(k[d+16>>2]&a)>>>(i>>>8&255)>>>(h>>>8&255)<<(g>>>8&255)|(k[d+20>>2]&a)>>>(i>>>16&255)>>>(h>>>16&255)<<(g>>>16&255);b=b+1|0;if((b|0)==(c|0))break;else{f=f+4|0;e=e+4|0}}d=c<<2;return d|0}function e8a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,m=0,n=0,o=0,p=0,q=0,r=0;if((c|0)<=0){c=c<<1;return c|0}n=k[d+12>>2]|0;p=k[d+32>>2]|0;h=k[d+28>>2]|0;q=k[124356+((h&255)<<2)>>2]|0;r=k[d+16>>2]|0;o=k[124356+((h>>>8&255)<<2)>>2]|0;g=k[d+20>>2]|0;h=k[124356+((h>>>16&255)<<2)>>2]|0;i=k[e+28>>2]|0;m=k[e+32>>2]|0;f=k[e+24>>2]|0;d=a;e=0;while(1){a=k[b>>2]|0;j[d>>1]=(l[o+((r&a)>>>(p>>>8&255))>>0]|0)>>>(i>>>8&255)<<(m>>>8&255)|(l[q+((n&a)>>>(p&255))>>0]|0)>>>(i&255)<<(m&255)|f|(l[h+((g&a)>>>(p>>>16&255))>>0]|0)>>>(i>>>16&255)<<(m>>>16&255);e=e+1|0;if((e|0)==(c|0))break;else{b=b+4|0;d=d+2|0}}c=c<<1;return c|0}function f8a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;s=k[a+8>>2]|0;o=k[c+4>>2]|0;if(k[c>>2]&2|0)if((T7a(c)|0)<0){c=-1;return c|0}p=(k[c+20>>2]|0)+(ha(k[c+16>>2]|0,k[d+4>>2]|0)|0)|0;n=i[o+9>>0]|0;p=p+(ha(n&255,k[d>>2]|0)|0)|0;e=(k[(k[a+52>>2]|0)+12>>2]|0)+28|0;d=k[b+4>>2]|0;a:do if(!d)h=20;else{if(n<<24>>24!=2){g=d<<1;while(1){d=0;do{d=(m[e>>1]|0)+d|0;f=j[e+2>>1]|0;e=e+4|0;if(!(f<<16>>16)){if(!d)break a}else{d=d+(f&65535)|0;e=e+((f&65535)<<2)|0}}while((d|0)<(s|0));g=g+-1|0;if(!g){h=20;break a}}}while(1){f=0;do{f=(l[e>>0]|0)+f|0;g=i[e+1>>0]|0;e=e+2|0;if(!(g<<24>>24)){if(!f)break a}else{f=f+(g&255)|0;e=e+((g&255)<<1)|0}}while((f|0)<(s|0));g=0;f=e+(e&2)|0;while(1){r=m[f+2>>1]|0;e=f+((r<<2)+4)|0;g=(m[f>>1]|0)+g+r|0;if((g|0)>=(s|0))break;else f=e}d=d+-1|0;if(!d){h=20;break}}}while(0);b:do if((h|0)==20){r=k[b>>2]|0;if(!r)if((k[b+8>>2]|0)==(k[a+8>>2]|0)){switch(n&255|0){case 2:break;case 4:{d=k[b+12>>2]|0;while(1){f=0;do{f=(m[e>>1]|0)+f|0;g=j[e+2>>1]|0;e=e+4|0;if(!(g<<16>>16)){if(!f)break b}else{y7a(p+(f<<2)|0,e,(g&65535)<<2)|0;f=f+(g&65535)|0;e=e+((g&65535)<<2)|0}}while((f|0)<(s|0));f=0;do{f=(m[e>>1]|0)+f|0;o=j[e+2>>1]|0;e=e+4|0;if(o<<16>>16){g=p+(f<<2)|0;h=0;n=e;while(1){b=k[n>>2]|0;r=k[g>>2]|0;r=((ha((b&65280)-(r&65280)|0,b>>>24)|0)>>>8)+(r&65280)&65280|((ha((b&16711935)-(r&16711935)|0,b>>>24)|0)>>>8)+(r&16711935)&16711935|-16777216;k[g>>2]=r;h=h+1|0;if((h|0)==(o&65535|0))break;else{g=g+4|0;n=n+4|0}}f=f+(o&65535)|0;e=e+((o&65535)<<2)|0}}while((f|0)<(s|0));d=d+-1|0;if(!d)break b;else p=p+(k[c+16>>2]|0)|0}}default:break b}if((k[o+16>>2]|0)!=2016)if((k[o+12>>2]|0)!=2016)if((k[o+20>>2]|0)!=2016){d=k[b+12>>2]|0;while(1){f=0;do{f=(l[e>>0]|0)+f|0;g=i[e+1>>0]|0;e=e+2|0;if(!(g<<24>>24)){if(!f)break b}else{y7a(p+(f<<1)|0,e,(g&255)<<1)|0;f=f+(g&255)|0;e=e+((g&255)<<1)|0}}while((f|0)<(s|0));f=0;e=e+(e&2)|0;do{f=(m[e>>1]|0)+f|0;o=j[e+2>>1]|0;e=e+4|0;if(o<<16>>16){g=p+(f<<1)|0;h=0;n=e;while(1){b=k[n>>2]|0;r=m[g>>1]|0;r=((ha((b&65043487)-((r<<16|r)&65043487)|0,b>>>5&31)|0)>>>5)+((r<<16|r)&65043487)&65043487;j[g>>1]=r>>>16|r;h=h+1|0;if((h|0)==(o&65535|0))break;else{g=g+2|0;n=n+4|0}}f=f+(o&65535)|0;e=e+((o&65535)<<2)|0}}while((f|0)<(s|0));d=d+-1|0;if(!d)break b;else p=p+(k[c+16>>2]|0)|0}}d=k[b+12>>2]|0;while(1){f=0;do{f=(l[e>>0]|0)+f|0;g=i[e+1>>0]|0;e=e+2|0;if(!(g<<24>>24)){if(!f)break b}else{y7a(p+(f<<1)|0,e,(g&255)<<1)|0;f=f+(g&255)|0;e=e+((g&255)<<1)|0}}while((f|0)<(s|0));f=0;e=e+(e&2)|0;do{f=(m[e>>1]|0)+f|0;o=j[e+2>>1]|0;e=e+4|0;if(o<<16>>16){g=p+(f<<1)|0;h=0;n=e;while(1){b=k[n>>2]|0;r=m[g>>1]|0;r=((ha((b&132184095)-((r<<16|r)&132184095)|0,b>>>5&31)|0)>>>5)+((r<<16|r)&132184095)&132184095;j[g>>1]=r>>>16|r;h=h+1|0;if((h|0)==(o&65535|0))break;else{g=g+2|0;n=n+4|0}}f=f+(o&65535)|0;e=e+((o&65535)<<2)|0}}while((f|0)<(s|0));d=d+-1|0;if(!d)break b;else p=p+(k[c+16>>2]|0)|0}}d=k[c+4>>2]|0;switch(l[d+9>>0]|0|0){case 2:break;case 4:{q=(k[b+8>>2]|0)+r|0;a=p+(0-(r<<2))|0;d=k[b+12>>2]|0;while(1){f=0;do{f=(m[e>>1]|0)+f|0;n=j[e+2>>1]|0;e=e+4|0;if(!(n<<16>>16)){if(!f)break b}else{g=(r-f|0)>0?r:f;h=(n&65535)-((r-f|0)>0?r-f|0:0)|0;h=(h|0)>(q-g|0)?q-g|0:h;if((h|0)>0)y7a(a+(g<<2)|0,e+(g-f<<2)|0,h<<2)|0;e=e+((n&65535)<<2)|0;f=f+(n&65535)|0}}while((f|0)<(s|0));f=0;do{f=(m[e>>1]|0)+f|0;p=j[e+2>>1]|0;e=e+4|0;if(p<<16>>16){g=(r-f|0)>0?r:f;n=(p&65535)-((r-f|0)>0?r-f|0:0)|0;n=(n|0)>(q-g|0)?q-g|0:n;if((n|0)>0){h=a+(g<<2)|0;o=0;do{u=k[e+(g-f<<2)+(o<<2)>>2]|0;b=h+(o<<2)|0;t=k[b>>2]|0;t=((ha((u&16711935)-(t&16711935)|0,u>>>24)|0)>>>8)+(t&16711935)&16711935|((ha((u&65280)-(t&65280)|0,u>>>24)|0)>>>8)+(t&65280)&65280|-16777216;k[b>>2]=t;o=o+1|0}while((o|0)<(n|0))}e=e+((p&65535)<<2)|0;f=f+(p&65535)|0}}while((f|0)<(s|0));d=d+-1|0;if(!d)break b;else a=a+(k[c+16>>2]|0)|0}}default:break b}if((k[d+16>>2]|0)!=2016)if((k[d+12>>2]|0)!=2016)if((k[d+20>>2]|0)!=2016){q=(k[b+8>>2]|0)+r|0;a=p+(0-(r<<1))|0;d=k[b+12>>2]|0;while(1){f=0;do{f=(l[e>>0]|0)+f|0;n=i[e+1>>0]|0;e=e+2|0;if(!(n<<24>>24)){if(!f)break b}else{h=(n&255)-((r-f|0)>0?r-f|0:0)|0;g=(r-f|0)>0?r:f;h=(h|0)>(q-g|0)?q-g|0:h;if((h|0)>0)y7a(a+(g<<1)|0,e+(g-f<<1)|0,h<<1)|0;e=e+((n&255)<<1)|0;f=f+(n&255)|0}}while((f|0)<(s|0));e=e+(e&2)|0;f=0;do{f=(m[e>>1]|0)+f|0;p=j[e+2>>1]|0;e=e+4|0;if(p<<16>>16){n=(p&65535)-((r-f|0)>0?r-f|0:0)|0;g=(r-f|0)>0?r:f;n=(n|0)>(q-g|0)?q-g|0:n;if((n|0)>0){h=a+(g<<1)|0;o=0;do{b=k[e+(g-f<<2)+(o<<2)>>2]|0;u=h+(o<<1)|0;t=m[u>>1]|0;t=((ha((b&65043487)-((t<<16|t)&65043487)|0,b>>>5&31)|0)>>>5)+((t<<16|t)&65043487)&65043487;j[u>>1]=t>>>16|t;o=o+1|0}while((o|0)<(n|0))}e=e+((p&65535)<<2)|0;f=f+(p&65535)|0}}while((f|0)<(s|0));d=d+-1|0;if(!d)break b;else a=a+(k[c+16>>2]|0)|0}}q=(k[b+8>>2]|0)+r|0;a=p+(0-(r<<1))|0;d=k[b+12>>2]|0;while(1){f=0;do{f=(l[e>>0]|0)+f|0;n=i[e+1>>0]|0;e=e+2|0;if(!(n<<24>>24)){if(!f)break b}else{h=(n&255)-((r-f|0)>0?r-f|0:0)|0;g=(r-f|0)>0?r:f;h=(h|0)>(q-g|0)?q-g|0:h;if((h|0)>0)y7a(a+(g<<1)|0,e+(g-f<<1)|0,h<<1)|0;e=e+((n&255)<<1)|0;f=f+(n&255)|0}}while((f|0)<(s|0));e=e+(e&2)|0;f=0;do{f=(m[e>>1]|0)+f|0;p=j[e+2>>1]|0;e=e+4|0;if(p<<16>>16){n=(p&65535)-((r-f|0)>0?r-f|0:0)|0;g=(r-f|0)>0?r:f;n=(n|0)>(q-g|0)?q-g|0:n;if((n|0)>0){h=a+(g<<1)|0;o=0;do{b=k[e+(g-f<<2)+(o<<2)>>2]|0;u=h+(o<<1)|0;t=m[u>>1]|0;t=((ha((b&132184095)-((t<<16|t)&132184095)|0,b>>>5&31)|0)>>>5)+((t<<16|t)&132184095)&132184095;j[u>>1]=t>>>16|t;o=o+1|0}while((o|0)<(n|0))}e=e+((p&65535)<<2)|0;f=f+(p&65535)|0}}while((f|0)<(s|0));d=d+-1|0;if(!d)break;else a=a+(k[c+16>>2]|0)|0}}while(0);if(!(k[c>>2]&2)){u=0;return u|0}U7a(c);u=0;return u|0}function g8a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=r;r=r+16|0;if(!a){b=y6a(594757,d)|0;r=d;return b|0}if(b|0)if((k[b>>2]|0)!=(1<<(l[a+8>>0]|0)|0)){b=y6a(594804,d+8|0)|0;r=d;return b|0}c=k[a+4>>2]|0;if((c|0)==(b|0)){b=0;r=d;return b|0}if(c|0){e=k[c+12>>2]|0;k[c+12>>2]=e+-1;if((e|0)<=1){Y7a(k[c+4>>2]|0);Y7a(c)}}k[a+4>>2]=b;if(!b){e=0;r=d;return e|0}k[b+12>>2]=(k[b+12>>2]|0)+1;e=0;r=d;return e|0}function h8a(a){a=a|0;var b=0,c=0;if(!a)return;b=k[a>>2]|0;if(b|0){c=k[b+56>>2]|0;k[b+56>>2]=c+-1;if((c|0)<2)N7a(b)}k[a>>2]=0;k[a+84>>2]=0;k[a+80>>2]=0;Y7a(k[a+64>>2]|0);k[a+64>>2]=0;return}function i8a(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+16|0;if(!a){k[d>>2]=594879;y6a(608563,d)|0;r=d;return}c=k[a+36>>2]|0;k[a+36>>2]=c+-1;if((c|0)>1){r=d;return}b=k[299770]|0;a:do if((b|0)==(a|0))k[299770]=k[a+40>>2];else if(b|0){do{c=b+40|0;b=k[c>>2]|0;if(!b)break a}while((b|0)!=(a|0));k[c>>2]=k[a+40>>2]}while(0);b=k[a+4>>2]|0;if(b|0){c=k[b+12>>2]|0;k[b+12>>2]=c+-1;if((c|0)<=1){Y7a(k[b+4>>2]|0);Y7a(b)}}Y7a(a);r=d;return}function j8a(a){a=a|0;var b=0,c=0;if(!a)return;b=k[a>>2]|0;if(b|0){c=k[b+56>>2]|0;k[b+56>>2]=c+-1;if((c|0)<2)N7a(b)}k[a>>2]=0;k[a+84>>2]=0;k[a+80>>2]=0;Y7a(k[a+64>>2]|0);k[a+64>>2]=0;Y7a(a);return}function k8a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=r;r=r+64|0;k[a+56>>2]=k[a+16>>2];k[a+60>>2]=k[a+20>>2];k[a+64>>2]=k[a+24>>2];k[a+68>>2]=k[a+28>>2];do if(b&128|0){c=k[299476]|0;if(!c){y6a(593213,e)|0;break}if((k[a>>2]|0)!=(c+256|0)){y6a(606710,e+8|0)|0;break}if(!(k[a+48>>2]&128)){d=k[c+72>>2]|0;if(d|0)Di[d&511](c,a)}}while(0);do if(b&64|0){c=k[299476]|0;if(!c){y6a(593213,e+16|0)|0;break}if((k[a>>2]|0)!=(c+256|0)){y6a(606710,e+24|0)|0;break}if(!(k[a+48>>2]&64)){K6a(a,0)|0;c=k[299476]|0;d=k[c+76>>2]|0;if(d|0)Di[d&511](c,a)}}while(0);do if(b&1|0){c=k[299476]|0;if(!c){y6a(593213,e+32|0)|0;break}if((k[a>>2]|0)!=(c+256|0)){y6a(606710,e+40|0)|0;break}c=k[a+48>>2]|0;if((b&4097|0)!=(c&4097|0)){k[a+48>>2]=c&-4098|b&4097;if(K6a(a,(c&68|0)==4&1)|0)k[a+48>>2]=k[a+48>>2]&-4098|c&4097}}while(0);if(b&256|0)l8a(a,1);if(b&8|0){r=e;return}c=k[299476]|0;if(!c){y6a(593213,e+48|0)|0;r=e;return}if(a|0)if((k[a>>2]|0)==(c+256|0)){if(k[a+48>>2]&4|0){r=e;return}d=k[c+60>>2]|0;if(d|0)Di[d&511](c,a);V6a(a,1,0,0)|0;r=e;return}y6a(606710,e+56|0)|0;r=e;return}function l8a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=r;r=r+16|0;c=k[299476]|0;if(!c){y6a(593213,e)|0;r=e;return}if(a|0)if((k[a>>2]|0)==(c+256|0)){c=k[a+48>>2]|0;if(!((b|0)!=0^(c&256|0)!=0)){r=e;return}k[a+48>>2]=b|0?c|256:c&-257;d=(c7a()|0)+76|0;f=k[a+48>>2]|0;c=k[299476]|0;b=k[c+252>>2]|0;if((f&512|0)==0?1:(f&256|k[d>>2]|0)==0)if((b|0)==(a|0)){k[c+252>>2]=0;d=0}else d=0;else{if(!((b|0)==0|(b|0)==(a|0))){k[b+48>>2]=k[b+48>>2]&-257;d=k[c+100>>2]|0;if(d){kj[d&255](c,b,0);c=k[299476]|0}}k[c+252>>2]=a;d=1}b=k[c+100>>2]|0;if(!b){r=e;return}kj[b&255](c,a,d);r=e;return}y6a(606710,e+8|0)|0;r=e;return}function m8a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;h=r;r=r+32|0;g=k[a+316>>2]|0;if(!g){Y7a(a);r=h;return}b=k[g>>2]|0;if((k[299771]|0)==(b|0)){b=g;c=5}else{k[g+268>>2]=0;if((n8a(k[a+188>>2]|0,b)|0)>=0){k[299771]=k[g>>2];y8a(a)|0;b=k[a+316>>2]|0;c=5}}if((c|0)==5)if(k[b+4>>2]|0){b=b+108|0;do{}while((oj[k[b>>2]&7]()|0)!=0)}b=k[g+252>>2]|0;if(b|0)do{Si[k[g+60>>2]&1023](k[b>>2]|0);f=b;b=k[b+24>>2]|0;Y7a(f)}while((b|0)!=0);b=k[g+260>>2]|0;if(b|0)do{Si[k[g+56>>2]&1023](k[b>>2]|0);f=b;b=k[b+156>>2]|0;Y7a(f)}while((b|0)!=0);b=k[g>>2]|0;if(b|0){c=k[g+232>>2]|0;if(c){do{f=c;c=k[c+12>>2]|0;Di[k[g+204>>2]&511](1,f+8|0);f=k[a+316>>2]|0;a:do if(k[f+4>>2]|0){b=oj[k[f+108>>2]&7]()|0;if(b|0){e=1279174;while(1){e=(i[e>>0]|0)==0?595012:e;switch(b|0){case 1280:{d=595083;break}case 1281:{d=595066;break}case 1282:{d=595045;break}case 1285:{d=595028;break}default:d=595020}k[h>>2]=e;k[h+4>>2]=595125;k[h+8>>2]=464;k[h+12>>2]=595259;k[h+16>>2]=d;k[h+20>>2]=b;y6a(595099,h)|0;b=oj[k[f+108>>2]&7]()|0;if(!b)break a}}}while(0);Y7a(k[g+232>>2]|0);k[g+232>>2]=c}while((c|0)!=0);b=k[g>>2]|0}A8a(b)}Y7a(k[g+244>>2]|0);Y7a(g);Y7a(a);r=h;return}function n8a(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+48|0;c=k[299476]|0;if(!c){y6a(593213,d)|0;c=0}else c=o8a(k[c+636>>2]|0)|0;if((c|0)==(a|0)){c=k[299476]|0;if(!c){y6a(593213,d+8|0)|0;c=0}else c=o8a(k[c+640>>2]|0)|0;if((c|0)==(b|0)){b=0;r=d;return b|0}}c=k[299476]|0;do if(!b)a=0;else{if(!c){y6a(593213,d+16|0)|0;b=-1;r=d;return b|0}if(a|0)if((k[a>>2]|0)==(c+256|0)){if(k[a+48>>2]&2|0)break;b=y6a(594886,d+32|0)|0;r=d;return b|0}y6a(606710,d+24|0)|0;b=-1;r=d;return b|0}while(0);c=Ri[k[c+156>>2]&255](c,a,b)|0;if(c|0){b=c;r=d;return b|0}c=k[299476]|0;k[c+628>>2]=a;k[c+632>>2]=b;v8a(k[c+636>>2]|0,a,0)|0;v8a(k[(k[299476]|0)+640>>2]|0,b,0)|0;b=0;r=d;return b|0}function o8a(a){a=a|0;var b=0;b=p8a()|0;if((a|0)==0|(b|0)==0){a=0;return a|0}if((k[b>>2]|0)>>>0>>0){a=0;return a|0}a=k[b+4+(a+-1<<3)>>2]|0;return a|0}function p8a(){return q8a()|0}function q8a(){var a=0,b=0,c=0,d=0;d=r;r=r+16|0;b=r8a()|0;k[d>>2]=0;s8a(d);u8a(d);a=k[299772]|0;if(!a){c=0;r=d;return c|0}while(1){if((k[a>>2]|0)==(b|0))break;a=k[a+8>>2]|0;if(!a){a=0;c=5;break}}if((c|0)==5){r=d;return a|0}c=k[a+4>>2]|0;r=d;return c|0}function r8a(){return 0}function s8a(a){a=a|0;var b=0;b=k[a>>2]|0;k[a>>2]=1;if(!b)return;do{t8a(0);b=k[a>>2]|0;k[a>>2]=1}while((b|0)!=0);return}function t8a(a){a=a|0;var b=0,c=0,d=0;c=r;r=r+16|0;k[c+8>>2]=(a>>>0)/1e3|0;k[c+8+4>>2]=((a>>>0)%1e3|0)*1e6;b=_lb()|0;k[b>>2]=0;k[c>>2]=(a>>>0)/1e3|0;k[c+4>>2]=((a>>>0)%1e3|0)*1e6;if(!(Ub(c|0,c+8|0)|0)){r=c;return}while(1){if((k[b>>2]|0)!=4){b=4;break}d=k[c+8>>2]|0;a=k[c+8+4>>2]|0;k[b>>2]=0;k[c>>2]=d;k[c+4>>2]=a;if(!(Ub(c|0,c+8|0)|0)){b=4;break}}if((b|0)==4){r=c;return}}function u8a(a){a=a|0;k[a>>2]=0;return}function v8a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=r;r=r+16|0;if(!a){k[g>>2]=594930;b=y6a(608563,g)|0;r=g;return b|0}e=p8a()|0;if(!e){d=0;f=5}else{d=k[e>>2]|0;if(d>>>0>>0)f=5;else d=e}if((f|0)==5){e=w7a(e,(a<<3)+36|0)|0;if(!e){b=x7a(0)|0;r=g;return b|0}k[e>>2]=a+4;if(d>>>0<(a+4|0)>>>0)do{k[e+4+(d<<3)>>2]=0;k[e+4+(d<<3)+4>>2]=0;d=d+1|0}while((d|0)!=(a+4|0));if(!(w8a(e)|0))d=e;else{b=-1;r=g;return b|0}}k[d+4+(a+-1<<3)>>2]=b;k[d+4+(a+-1<<3)+4>>2]=c;b=0;r=g;return b|0}function w8a(a){a=a|0;return x8a(a)|0}function x8a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=r8a()|0;b=k[299772]|0;a:do if(!b)e=10;else{c=0;while(1){if((k[b>>2]|0)==(d|0)){d=b;break}c=k[b+8>>2]|0;if(!c){e=10;break a}else{f=b;b=c;c=f}}if(a|0){k[d+4>>2]=a;break}b=k[d+8>>2]|0;if(!c)k[299772]=b;else k[c+8>>2]=b;Y7a(d)}while(0);do if((e|0)==10){b=p7a(12)|0;if(b|0){k[b>>2]=d;k[b+4>>2]=a;k[b+8>>2]=k[299772];k[299772]=b;break}f=x7a(0)|0;return f|0}while(0);f=0;return f|0}function y8a(a){a=a|0;var b=0,c=0,d=0,e=0;e=r;r=r+96|0;b=k[a+316>>2]|0;if((k[299771]|0)!=(k[b>>2]|0)){a=0;r=e;return a|0}if(!(k[a+304>>2]|0)){z8a(a,e+32|0,e+24|0)|0;d=k[a+224>>2]|0;vj[k[b+188>>2]&127](k[a+212>>2]|0,(k[e+24>>2]|0)-(k[a+216>>2]|0)-d|0,k[a+220>>2]|0,d)}else vj[k[b+188>>2]&127](k[a+212>>2]|0,k[a+216>>2]|0,k[a+220>>2]|0,k[a+224>>2]|0);if(k[b+268>>2]|0){b=k[a+316>>2]|0;c=k[a+220>>2]|0;if(c|0){d=k[a+224>>2]|0;if(d|0){o[e+32>>2]=2.0/+(c|0);k[e+32+4>>2]=0;k[e+32+4+4>>2]=0;k[e+32+4+8>>2]=0;k[e+32+4+12>>2]=0;c=(k[a+304>>2]|0)==0;o[e+32+20>>2]=(c?-2.0:2.0)/+(d|0);d=e+32+24|0;k[d>>2]=0;k[d+4>>2]=0;k[d+8>>2]=0;k[d+12>>2]=0;k[d+16>>2]=0;k[d+20>>2]=0;o[e+32+48>>2]=-1.0;o[e+32+52>>2]=c?1.0:-1.0;o[e+32+56>>2]=0.0;o[e+32+60>>2]=1.0;if(U6a((k[b+268>>2]|0)+88|0,e+32|0,64)|0){vj[k[b+176>>2]&127](k[(k[b+268>>2]|0)+16>>2]|0,1,0,e+32|0);y7a((k[b+268>>2]|0)+88|0,e+32|0,64)|0}}}}a=k[a+316>>2]|0;if(!(k[a+4>>2]|0)){a=0;r=e;return a|0}b=oj[k[a+108>>2]&7]()|0;if(!b){a=0;r=e;return a|0}else d=1279174;while(1){d=(i[d>>0]|0)==0?595012:d;switch(b|0){case 1280:{c=595083;break}case 1281:{c=595066;break}case 1282:{c=595045;break}case 1285:{c=595028;break}default:c=595020}k[e>>2]=d;k[e+4>>2]=595125;k[e+8>>2]=399;k[e+12>>2]=595218;k[e+16>>2]=c;k[e+20>>2]=b;y6a(595099,e)|0;b=oj[k[a+108>>2]&7]()|0;if(!b){b=-1;break}}r=e;return b|0}function z8a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=r;r=r+32|0;do if(!a)e=3;else if((k[a>>2]|0)==1276008){d=k[a+304>>2]|0;if(!d){d=k[a+8>>2]|0;if(d|0){d=Ri[d&255](a,b,c)|0;break}d=k[a+188>>2]|0;if(!d){d=y6a(594966,f+16|0)|0;break}else{g7a(d,b,c);d=0;break}}if((k[d>>2]|0)!=1276009){y6a(594950,f+8|0)|0;d=-1;break}if(b|0)k[b>>2]=k[d+12>>2];if(!c)d=0;else{k[c>>2]=k[d+16>>2];d=0}}else e=3;while(0);if((e|0)==3){y6a(594933,f)|0;d=-1}r=f;return d|0}function A8a(a){a=a|0;var b=0;b=k[299476]|0;if(!((a|0)!=0&(b|0)!=0))return;if((o8a(k[b+640>>2]|0)|0)==(a|0))n8a(0,0)|0;b=k[299476]|0;Di[k[b+176>>2]&511](b,a);return}function B8a(a){a=a|0;var b=0,c=0,d=0;c=r;r=r+32|0;b=k[299476]|0;if(!b){y6a(593213,c)|0;a=0;r=c;return a|0}if(a|0)if((k[a>>2]|0)==(b+256|0)){if(!(k[a+48>>2]&2)){y6a(594886,c+16|0)|0;a=0;r=c;return a|0}b=gj[k[b+152>>2]&511](b,a)|0;if(!b){a=0;r=c;return a|0}d=k[299476]|0;k[d+628>>2]=a;k[d+632>>2]=b;v8a(k[d+636>>2]|0,a,0)|0;v8a(k[(k[299476]|0)+640>>2]|0,b,0)|0;a=b;r=c;return a|0}y6a(606710,c+8|0)|0;d=0;r=c;return d|0}function C8a(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+32|0;b=k[299476]|0;if(!b){y6a(593213,d)|0;a=0;r=d;return a|0}c=k[b+144>>2]|0;if(!c){y6a(593283,d+16|0)|0;a=0;r=d;return a|0}if(!(k[b+364>>2]|0)){y6a(593254,d+8|0)|0;a=0;r=d;return a|0}else{a=gj[c&511](b,a)|0;r=d;return a|0}return 0}function D8a(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+32|0;b=k[299476]|0;if(!b){a=y6a(593213,d)|0;r=d;return a|0}if(!(o8a(k[b+640>>2]|0)|0)){a=y6a(595339,d+8|0)|0;r=d;return a|0}c=k[299476]|0;b=k[c+164>>2]|0;if(!b){a=y6a(595379,d+16|0)|0;r=d;return a|0}else{a=gj[b&511](c,a)|0;r=d;return a|0}return 0}function E8a(){var a=0,b=0;a=k[299476]|0;if(!a){b=0;return b|0}if(!(o8a(k[a+640>>2]|0)|0)){b=0;return b|0}a=k[299476]|0;b=k[a+168>>2]|0;if(!b){b=0;return b|0}b=Gi[b&2047](a)|0;return b|0}function F8a(a,b){a=a|0;b=b|0;switch(i[b+12>>0]|0){case 2:case 1:case 6:{k[299771]=0;return}case 7:{rj[k[(k[a+316>>2]|0)+88>>2]&15]();return}default:return}}function G8a(a,b,c){a=a|0;b=b|0;c=c|0;H8a(k[a+188>>2]|0,b,c);return 0}function H8a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=r;r=r+16|0;d=k[299476]|0;if(!d){y6a(593213,f)|0;r=f;return}if(a|0)if((k[a>>2]|0)==(d+256|0)){e=k[d+160>>2]|0;if(e|0){vj[e&127](d,a,b,c);r=f;return}if(b|0)k[b>>2]=k[a+24>>2];if(!c){r=f;return}k[c>>2]=k[a+28>>2];r=f;return}y6a(606710,f+8|0)|0;r=f;return}function I8a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0;n=r;r=r+224|0;j=k[a+316>>2]|0;c=k[j>>2]|0;if((k[299771]|0)==(c|0)){c=j;m=4}else{k[j+268>>2]=0;if((n8a(k[a+188>>2]|0,c)|0)>=0){k[299771]=k[j>>2];y8a(a)|0;c=k[a+316>>2]|0;m=4}}if((m|0)==4)if(k[c+4>>2]|0){c=c+108|0;do{}while((oj[k[c>>2]&7]()|0)!=0)}c=k[b+4>>2]|0;a:do if((c|0)<825382478)if((c|0)<374740996)if((c|0)<372645892)switch(c|0){case 370546692:{h=6408;break a}default:{m=9;break a}}else switch(c|0){case 372645892:{h=6408;break a}default:{m=9;break a}}else if((c|0)<376840196)switch(c|0){case 374740996:{h=6408;break a}default:{m=9;break a}}else switch(c|0){case 376840196:{h=6408;break a}default:{m=9;break a}}else{b:do if((c|0)<842094169)if((c|0)<842094158)switch(c|0){case 825382478:break b;default:{m=9;break a}}else switch(c|0){case 842094158:break b;default:{m=9;break a}}else if((c|0)<1448433993)switch(c|0){case 842094169:break b;default:{m=9;break a}}else switch(c|0){case 1448433993:break b;default:{m=9;break a}}while(0);h=6409}while(0);if((m|0)==9){m=y6a(595422,n)|0;r=n;return m|0}l=j7a(1,44)|0;if(!l){m=x7a(0)|0;r=n;return m|0}k[l>>2]=0;k[l+4>>2]=3553;k[l+8>>2]=h;k[l+12>>2]=5121;c=k[b+4>>2]|0;k[l+24>>2]=((c|0)==1448433993|(c|0)==842094169)&1;k[l+28>>2]=((c|0)==842094158|(c|0)==825382478)&1;k[l+36>>2]=0;k[l+32>>2]=0;c=C7a(601625)|0;if(!c)g=9728;else if((i[c>>0]|0)==48)g=9728;else{g=(J8a(c,601650)|0)==0;g=g?9728:9729}if((k[b+8>>2]|0)==1){d=k[b+12>>2]|0;c=k[b+4>>2]|0;c:do if((c|0)==0|(c&-268435456|0)==268435456)c=c&255;else{if((c|0)<1498831189)switch(c|0){case 844715353:{c=2;break c}default:{}}else switch(c|0){case 1498831189:{c=2;break c}default:{}}c=(c|0)==1431918169?2:1}while(0);d=ha(c,d)|0;k[l+20>>2]=d;d=ha(k[b+16>>2]|0,d)|0;if(!(k[l+24>>2]|0))c=d;else c=((d|0)/2|0)+d|0;if(k[l+28>>2]|0)c=((d|0)/2|0)+c|0;f=j7a(1,c)|0;k[l+16>>2]=f;if(!f){Y7a(l);m=x7a(0)|0;r=n;return m|0}}f=k[a+316>>2]|0;d:do if(k[f+4>>2]|0){c=oj[k[f+108>>2]&7]()|0;if(c|0){e=1279174;while(1){e=(i[e>>0]|0)==0?595012:e;switch(c|0){case 1280:{d=595083;break}case 1281:{d=595066;break}case 1282:{d=595045;break}case 1285:{d=595028;break}default:d=595020}k[n+8>>2]=e;k[n+8+4>>2]=595125;k[n+8+8>>2]=574;k[n+8+12>>2]=595451;k[n+8+16>>2]=d;k[n+8+20>>2]=c;y6a(595099,n+8|0)|0;c=oj[k[f+108>>2]&7]()|0;if(!c)break d}}}while(0);if(k[l+24>>2]|0){Di[k[j+96>>2]&511](1,l+32|0);e=k[a+316>>2]|0;if(k[e+4>>2]|0){d=oj[k[e+108>>2]&7]()|0;if(d|0){while(1){switch(d|0){case 1280:{c=595083;break}case 1281:{c=595066;break}case 1282:{c=595045;break}case 1285:{c=595028;break}default:c=595020}k[n+32>>2]=595506;k[n+32+4>>2]=595125;k[n+32+8>>2]=578;k[n+32+12>>2]=595451;k[n+32+16>>2]=c;k[n+32+20>>2]=d;y6a(595099,n+32|0)|0;d=oj[k[e+108>>2]&7]()|0;if(!d){c=-1;break}}r=n;return c|0}}Si[k[j+16>>2]&1023](33986);Di[k[j+28>>2]&511](k[l+4>>2]|0,k[l+32>>2]|0);kj[k[j+160>>2]&255](k[l+4>>2]|0,10241,g);kj[k[j+160>>2]&255](k[l+4>>2]|0,10240,g);kj[k[j+160>>2]&255](k[l+4>>2]|0,10242,33071);kj[k[j+160>>2]&255](k[l+4>>2]|0,10243,33071);ej[k[j+156>>2]&15](k[l+4>>2]|0,0,h,(k[b+12>>2]|0)/2|0,(k[b+16>>2]|0)/2|0,0,h,5121,0);Di[k[j+96>>2]&511](1,l+36|0);e=k[a+316>>2]|0;if(k[e+4>>2]|0){d=oj[k[e+108>>2]&7]()|0;if(d|0){while(1){switch(d|0){case 1280:{c=595083;break}case 1281:{c=595066;break}case 1282:{c=595045;break}case 1285:{c=595028;break}default:c=595020}k[n+56>>2]=595506;k[n+56+4>>2]=595125;k[n+56+8>>2]=590;k[n+56+12>>2]=595451;k[n+56+16>>2]=c;k[n+56+20>>2]=d;y6a(595099,n+56|0)|0;d=oj[k[e+108>>2]&7]()|0;if(!d){c=-1;break}}r=n;return c|0}}Si[k[j+16>>2]&1023](33985);Di[k[j+28>>2]&511](k[l+4>>2]|0,k[l+36>>2]|0);kj[k[j+160>>2]&255](k[l+4>>2]|0,10241,g);kj[k[j+160>>2]&255](k[l+4>>2]|0,10240,g);kj[k[j+160>>2]&255](k[l+4>>2]|0,10242,33071);kj[k[j+160>>2]&255](k[l+4>>2]|0,10243,33071);ej[k[j+156>>2]&15](k[l+4>>2]|0,0,h,(k[b+12>>2]|0)/2|0,(k[b+16>>2]|0)/2|0,0,h,5121,0);e=k[a+316>>2]|0;if(k[e+4>>2]|0){d=oj[k[e+108>>2]&7]()|0;if(d|0){while(1){switch(d|0){case 1280:{c=595083;break}case 1281:{c=595066;break}case 1282:{c=595045;break}case 1285:{c=595028;break}default:c=595020}k[n+80>>2]=595521;k[n+80+4>>2]=595125;k[n+80+8>>2]=600;k[n+80+12>>2]=595451;k[n+80+16>>2]=c;k[n+80+20>>2]=d;y6a(595099,n+80|0)|0;d=oj[k[e+108>>2]&7]()|0;if(!d){c=-1;break}}r=n;return c|0}}}if(k[l+28>>2]|0){Di[k[j+96>>2]&511](1,l+36|0);e=k[a+316>>2]|0;if(k[e+4>>2]|0){d=oj[k[e+108>>2]&7]()|0;if(d|0){while(1){switch(d|0){case 1280:{c=595083;break}case 1281:{c=595066;break}case 1282:{c=595045;break}case 1285:{c=595028;break}default:c=595020}k[n+104>>2]=595506;k[n+104+4>>2]=595125;k[n+104+8>>2]=607;k[n+104+12>>2]=595451;k[n+104+16>>2]=c;k[n+104+20>>2]=d;y6a(595099,n+104|0)|0;d=oj[k[e+108>>2]&7]()|0;if(!d){c=-1;break}}r=n;return c|0}}Si[k[j+16>>2]&1023](33985);Di[k[j+28>>2]&511](k[l+4>>2]|0,k[l+36>>2]|0);kj[k[j+160>>2]&255](k[l+4>>2]|0,10241,g);kj[k[j+160>>2]&255](k[l+4>>2]|0,10240,g);kj[k[j+160>>2]&255](k[l+4>>2]|0,10242,33071);kj[k[j+160>>2]&255](k[l+4>>2]|0,10243,33071);ej[k[j+156>>2]&15](k[l+4>>2]|0,0,6410,(k[b+12>>2]|0)/2|0,(k[b+16>>2]|0)/2|0,0,6410,5121,0);e=k[a+316>>2]|0;if(k[e+4>>2]|0){d=oj[k[e+108>>2]&7]()|0;if(d|0){while(1){switch(d|0){case 1280:{c=595083;break}case 1281:{c=595066;break}case 1282:{c=595045;break}case 1285:{c=595028;break}default:c=595020}k[n+128>>2]=595521;k[n+128+4>>2]=595125;k[n+128+8>>2]=617;k[n+128+12>>2]=595451;k[n+128+16>>2]=c;k[n+128+20>>2]=d;y6a(595099,n+128|0)|0;d=oj[k[e+108>>2]&7]()|0;if(!d){c=-1;break}}r=n;return c|0}}}Di[k[j+96>>2]&511](1,l);e=k[a+316>>2]|0;if(k[e+4>>2]|0){d=oj[k[e+108>>2]&7]()|0;if(d|0){while(1){switch(d|0){case 1280:{c=595083;break}case 1281:{c=595066;break}case 1282:{c=595045;break}case 1285:{c=595028;break}default:c=595020}k[n+152>>2]=595506;k[n+152+4>>2]=595125;k[n+152+8>>2]=623;k[n+152+12>>2]=595451;k[n+152+16>>2]=c;k[n+152+20>>2]=d;y6a(595099,n+152|0)|0;d=oj[k[e+108>>2]&7]()|0;if(!d){c=-1;break}}r=n;return c|0}}k[b+68>>2]=l;Si[k[j+16>>2]&1023](33984);Di[k[j+28>>2]&511](k[l+4>>2]|0,k[l>>2]|0);kj[k[j+160>>2]&255](k[l+4>>2]|0,10241,g);kj[k[j+160>>2]&255](k[l+4>>2]|0,10240,g);kj[k[j+160>>2]&255](k[l+4>>2]|0,10242,33071);kj[k[j+160>>2]&255](k[l+4>>2]|0,10243,33071);ej[k[j+156>>2]&15](k[l+4>>2]|0,0,h,k[b+12>>2]|0,k[b+16>>2]|0,0,h,5121,0);e=k[a+316>>2]|0;if(k[e+4>>2]|0){d=oj[k[e+108>>2]&7]()|0;if(d|0){while(1){switch(d|0){case 1280:{c=595083;break}case 1281:{c=595066;break}case 1282:{c=595045;break}case 1285:{c=595028;break}default:c=595020}k[n+176>>2]=595521;k[n+176+4>>2]=595125;k[n+176+8>>2]=634;k[n+176+12>>2]=595451;k[n+176+16>>2]=c;k[n+176+20>>2]=d;y6a(595099,n+176|0)|0;d=oj[k[e+108>>2]&7]()|0;if(!d){c=-1;break}}r=n;return c|0}}if((k[b+8>>2]|0)==2){e=k[a+316>>2]|0;f=k[b+12>>2]|0;d=k[b+16>>2]|0;c=k[e+232>>2]|0;e:do if(!c)m=97;else while(1){if((k[c>>2]|0)==(f|0))if((k[c+4>>2]|0)==(d|0))break e;c=k[c+12>>2]|0;if(!c){m=97;break}}while(0);if((m|0)==97){c=p7a(16)|0;k[c>>2]=f;k[c+4>>2]=d;Di[k[e+92>>2]&511](1,c+8|0);k[c+12>>2]=k[e+232>>2];k[e+232>>2]=c}k[l+40>>2]=c}else k[l+40>>2]=0;f=k[a+316>>2]|0;if(!(k[f+4>>2]|0)){m=0;r=n;return m|0}c=oj[k[f+108>>2]&7]()|0;if(!c){m=0;r=n;return m|0}else e=1279174;while(1){e=(i[e>>0]|0)==0?595012:e;switch(c|0){case 1280:{d=595083;break}case 1281:{d=595066;break}case 1282:{d=595045;break}case 1285:{d=595028;break}default:d=595020}k[n+200>>2]=e;k[n+200+4>>2]=595125;k[n+200+8>>2]=644;k[n+200+12>>2]=595451;k[n+200+16>>2]=d;k[n+200+20>>2]=c;y6a(595099,n+200|0)|0;c=oj[k[f+108>>2]&7]()|0;if(!c){c=-1;break}}r=n;return c|0}function J8a(a,b){a=a|0;b=b|0;return Hnb(a,b)|0}function K8a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0;w=r;r=r+32|0;v=k[a+316>>2]|0;u=k[b+68>>2]|0;f=k[v>>2]|0;if((k[299771]|0)==(f|0)){f=v;t=4}else{k[v+268>>2]=0;if((n8a(k[a+188>>2]|0,f)|0)>=0){k[299771]=k[v>>2];y8a(a)|0;f=k[a+316>>2]|0;t=4}}if((t|0)==4)if(k[f+4>>2]|0){f=f+108|0;do{}while((oj[k[f>>2]&7]()|0)!=0)}if((k[c+8>>2]|0)<1){a=0;r=w;return a|0}if((k[c+12>>2]|0)<1){a=0;r=w;return a|0}Di[k[v+28>>2]&511](k[u+4>>2]|0,k[u>>2]|0);l=k[u+4>>2]|0;m=k[c>>2]|0;n=k[c+4>>2]|0;o=k[c+8>>2]|0;p=k[c+12>>2]|0;q=k[u+8>>2]|0;s=k[u+12>>2]|0;f=k[b+4>>2]|0;a:do if((f|0)==0|(f&-268435456|0)==268435456)f=f&255;else{if((f|0)<1498831189)switch(f|0){case 844715353:{f=2;break a}default:{}}else switch(f|0){case 1498831189:{f=2;break a}default:{}}f=(f|0)==1431918169?2:1}while(0);i=ha(f,o)|0;do if((i|0)==(e|0)){g=0;f=d;t=18}else{j=p7a(ha(i,p)|0)|0;if(!j){x7a(0)|0;break}if((p|0)>0){f=d;g=j;h=0;while(1){y7a(g,f,i)|0;h=h+1|0;if((h|0)==(p|0)){g=j;f=j;t=18;break}else{f=f+e|0;g=g+i|0}}}else{g=j;f=j;t=18}}while(0);if((t|0)==18){ej[k[v+164>>2]&15](l,0,m,n,o,p,q,s,f);if(g|0)Y7a(g)}do if(k[u+24>>2]|0){q=d+(ha(k[c+12>>2]|0,e)|0)|0;d=k[v+28>>2]|0;f=k[u+4>>2]|0;if((k[b+4>>2]|0)==842094169)Di[d&511](f,k[u+32>>2]|0);else Di[d&511](f,k[u+36>>2]|0);i=k[u+4>>2]|0;j=(k[c>>2]|0)/2|0;l=(k[c+4>>2]|0)/2|0;m=(k[c+8>>2]|0)/2|0;n=k[c+12>>2]|0;o=k[u+8>>2]|0;p=k[u+12>>2]|0;do if((m|0)==((e|0)/2|0|0)){f=0;d=q;t=29}else{h=p7a(ha((n|0)/2|0,m)|0)|0;if(!h){x7a(0)|0;break}if((n|0)>1){d=q;f=h;g=0;while(1){y7a(f,d,m)|0;g=g+1|0;if((g|0)==((n|0)/2|0|0)){f=h;d=h;t=29;break}else{d=d+((e|0)/2|0)|0;f=f+m|0}}}else{f=h;d=h;t=29}}while(0);if((t|0)==29){ej[k[v+164>>2]&15](i,0,j,l,m,(n|0)/2|0,o,p,d);if(f|0)Y7a(f)}d=q+((ha(k[c+12>>2]|0,e)|0)/4|0)|0;f=k[v+28>>2]|0;g=k[u+4>>2]|0;if((k[b+4>>2]|0)==842094169)Di[f&511](g,k[u+36>>2]|0);else Di[f&511](g,k[u+32>>2]|0);j=k[u+4>>2]|0;l=(k[c>>2]|0)/2|0;m=(k[c+4>>2]|0)/2|0;n=(k[c+8>>2]|0)/2|0;o=k[c+12>>2]|0;p=k[u+8>>2]|0;q=k[u+12>>2]|0;if((n|0)==((e|0)/2|0|0)){g=0;f=d}else{i=p7a(ha((o|0)/2|0,n)|0)|0;if(!i){x7a(0)|0;break}if((o|0)>1){f=d;g=i;h=0;while(1){y7a(g,f,n)|0;h=h+1|0;if((h|0)==((o|0)/2|0|0)){g=i;f=i;break}else{f=f+((e|0)/2|0)|0;g=g+n|0}}}else{g=i;f=i}}ej[k[v+164>>2]&15](j,0,l,m,n,(o|0)/2|0,p,q,f);if(g)Y7a(g)}while(0);do if(k[u+28>>2]|0){d=d+(ha(k[c+12>>2]|0,e)|0)|0;Di[k[v+28>>2]&511](k[u+4>>2]|0,k[u+36>>2]|0);j=k[u+4>>2]|0;l=(k[c>>2]|0)/2|0;m=(k[c+4>>2]|0)/2|0;n=(k[c+8>>2]|0)/2|0;i=k[c+12>>2]|0;if((n<<1|0)==(e|0))f=0;else{h=p7a(ha(n<<1,(i|0)/2|0)|0)|0;if(!h){x7a(0)|0;break}if((i|0)>1){f=h;g=0;while(1){y7a(f,d,n<<1)|0;g=g+1|0;if((g|0)==((i|0)/2|0|0)){f=h;d=h;break}else{d=d+e|0;f=f+(n<<1)|0}}}else{f=h;d=h}}ej[k[v+164>>2]&15](j,0,l,m,n,(i|0)/2|0,6410,5121,d);if(f|0)Y7a(f)}while(0);g=k[a+316>>2]|0;if(!(k[g+4>>2]|0)){a=0;r=w;return a|0}d=oj[k[g+108>>2]&7]()|0;if(!d){a=0;r=w;return a|0}while(1){switch(d|0){case 1280:{f=595083;break}case 1281:{f=595066;break}case 1282:{f=595045;break}case 1285:{f=595028;break}default:f=595020}k[w>>2]=595536;k[w+4>>2]=595125;k[w+8>>2]=753;k[w+12>>2]=595554;k[w+16>>2]=f;k[w+20>>2]=d;y6a(595099,w)|0;d=oj[k[g+108>>2]&7]()|0;if(!d){d=-1;break}}r=w;return d|0}function L8a(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0;x=r;r=r+32|0;w=k[a+316>>2]|0;v=k[b+68>>2]|0;b=k[w>>2]|0;if((k[299771]|0)==(b|0)){b=w;u=4}else{k[w+268>>2]=0;if((n8a(k[a+188>>2]|0,b)|0)>=0){k[299771]=k[w>>2];y8a(a)|0;b=k[a+316>>2]|0;u=4}}if((u|0)==4)if(k[b+4>>2]|0){b=b+108|0;do{}while((oj[k[b>>2]&7]()|0)!=0)}if((k[c+8>>2]|0)<1){a=0;r=x;return a|0}if((k[c+12>>2]|0)<1){a=0;r=x;return a|0}Di[k[w+28>>2]&511](k[v+4>>2]|0,k[v+32>>2]|0);m=k[v+4>>2]|0;n=(k[c>>2]|0)/2|0;o=(k[c+4>>2]|0)/2|0;p=(k[c+8>>2]|0)/2|0;q=k[c+12>>2]|0;s=k[v+8>>2]|0;t=k[v+12>>2]|0;do if((p|0)==(i|0)){j=0;b=h;u=14}else{l=p7a(ha((q|0)/2|0,p)|0)|0;if(!l){x7a(0)|0;break}if((q|0)>1){b=h;j=l;h=0;while(1){y7a(j,b,p)|0;h=h+1|0;if((h|0)==((q|0)/2|0|0)){j=l;b=l;u=14;break}else{b=b+i|0;j=j+p|0}}}else{j=l;b=l;u=14}}while(0);if((u|0)==14){ej[k[w+164>>2]&15](m,0,n,o,p,(q|0)/2|0,s,t,b);if(j|0)Y7a(j)}Di[k[w+28>>2]&511](k[v+4>>2]|0,k[v+36>>2]|0);m=k[v+4>>2]|0;n=(k[c>>2]|0)/2|0;o=(k[c+4>>2]|0)/2|0;p=(k[c+8>>2]|0)/2|0;q=k[c+12>>2]|0;s=k[v+8>>2]|0;t=k[v+12>>2]|0;do if((p|0)==(g|0)){j=0;b=f;u=21}else{l=p7a(ha((q|0)/2|0,p)|0)|0;if(!l){x7a(0)|0;break}if((q|0)>1){b=f;j=l;h=0;while(1){y7a(j,b,p)|0;h=h+1|0;if((h|0)==((q|0)/2|0|0)){j=l;b=l;u=21;break}else{b=b+g|0;j=j+p|0}}}else{j=l;b=l;u=21}}while(0);if((u|0)==21){ej[k[w+164>>2]&15](m,0,n,o,p,(q|0)/2|0,s,t,b);if(j|0)Y7a(j)}Di[k[w+28>>2]&511](k[v+4>>2]|0,k[v>>2]|0);p=k[v+4>>2]|0;q=k[c>>2]|0;s=k[c+4>>2]|0;t=k[c+8>>2]|0;n=k[c+12>>2]|0;o=k[v+8>>2]|0;m=k[v+12>>2]|0;do if((t|0)==(e|0)){j=0;b=d;u=28}else{l=p7a(ha(n,t)|0)|0;if(!l){x7a(0)|0;break}if((n|0)>0){b=d;j=l;h=0;while(1){y7a(j,b,t)|0;h=h+1|0;if((h|0)==(n|0)){j=l;b=l;u=28;break}else{b=b+e|0;j=j+t|0}}}else{j=l;b=l;u=28}}while(0);if((u|0)==28){ej[k[w+164>>2]&15](p,0,q,s,t,n,o,m,b);if(j|0)Y7a(j)}h=k[a+316>>2]|0;if(!(k[h+4>>2]|0)){a=0;r=x;return a|0}b=oj[k[h+108>>2]&7]()|0;if(!b){a=0;r=x;return a|0}while(1){switch(b|0){case 1280:{j=595083;break}case 1281:{j=595066;break}case 1282:{j=595045;break}case 1285:{j=595028;break}default:j=595020}k[x>>2]=595536;k[x+4>>2]=595125;k[x+8>>2]=803;k[x+12>>2]=595646;k[x+16>>2]=j;k[x+20>>2]=b;y6a(595099,x)|0;b=oj[k[h+108>>2]&7]()|0;if(!b){b=-1;break}}r=x;return b|0}function M8a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;g=k[b+68>>2]|0;f=k[g+20>>2]|0;g=(k[g+16>>2]|0)+(ha(k[c+4>>2]|0,f)|0)|0;c=k[c>>2]|0;a=k[b+4>>2]|0;a:do if((a|0)==0|(a&-268435456|0)==268435456)a=a&255;else{if((a|0)<1498831189)switch(a|0){case 844715353:{a=2;break a}default:{}}else switch(a|0){case 1498831189:{a=2;break a}default:{}}a=(a|0)==1431918169?2:1}while(0);g=g+(ha(a,c)|0)|0;k[d>>2]=g;k[e>>2]=f;return 0}function N8a(a,b){a=a|0;b=b|0;var c=0,d=0;c=r;r=r+16|0;d=k[b+68>>2]|0;k[c>>2]=0;k[c+4>>2]=0;k[c+8>>2]=k[b+12>>2];k[c+12>>2]=k[b+16>>2];K8a(a,b,c,k[d+16>>2]|0,k[d+20>>2]|0)|0;r=c;return}function O8a(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;a=k[a+316>>2]|0;if(!b){Di[k[a+192>>2]&511](36160,k[a+236>>2]|0);b=0;r=c;return b|0}b=k[b+68>>2]|0;Di[k[a+192>>2]&511](36160,k[(k[b+40>>2]|0)+8>>2]|0);Bi[k[a+196>>2]&15](36160,36064,k[b+4>>2]|0,k[b>>2]|0,0);if((Gi[k[a+200>>2]&2047](36160)|0)==36053){b=0;r=c;return b|0}b=y6a(595782,c)|0;r=c;return b|0}function P8a(a){a=a|0;var b=0,c=0,d=0;c=r;r=r+16|0;b=k[a+316>>2]|0;if((k[299771]|0)!=(k[b>>2]|0)){r=c;return 0}if(!(k[a+276>>2]|0)){Si[k[b+68>>2]&1023](3089);r=c;return 0}Si[k[b+80>>2]&1023](3089);if(!(k[a+304>>2]|0)){z8a(a,c+4|0,c)|0;d=k[a+256>>2]|0;vj[k[b+144>>2]&127]((k[a+244>>2]|0)+(k[a+212>>2]|0)|0,(k[c>>2]|0)-(k[a+216>>2]|0)-(k[a+248>>2]|0)-d|0,k[a+252>>2]|0,d);r=c;return 0}else{vj[k[b+144>>2]&127]((k[a+244>>2]|0)+(k[a+212>>2]|0)|0,(k[a+248>>2]|0)+(k[a+216>>2]|0)|0,k[a+252>>2]|0,k[a+256>>2]|0);r=c;return 0}return 0}function Q8a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;e=k[a+316>>2]|0;b=k[e>>2]|0;if((k[299771]|0)==(b|0)){b=e;f=4}else{k[e+268>>2]=0;if((n8a(k[a+188>>2]|0,b)|0)>=0){k[299771]=k[e>>2];y8a(a)|0;b=k[a+316>>2]|0;f=4}}if((f|0)==4)if(k[b+4>>2]|0){b=b+108|0;do{}while((oj[k[b>>2]&7]()|0)!=0)}d=k[a+308>>2]|0;if((uBb(k[e+272>>2]|0)|0)==(((d&65535)>>>8&65535)<<16|d<<24|d>>>16<<8&65280|d>>>24|0)){f=e+36|0;f=k[f>>2]|0;Si[f&1023](16384);return 0}b=k[a+304>>2]|0;a:do if(!b)f=10;else{b=k[b+4>>2]|0;if((b|0)<372645892)switch(b|0){case 370546692:{b=d&255;c=d>>>16&255;break a}default:{f=10;break a}}else switch(b|0){case 372645892:{b=d&255;c=d>>>16&255;break a}default:{f=10;break a}}}while(0);if((f|0)==10){b=i[a+310>>0]|0;c=d&255}pj[k[e+40>>2]&3](+(c&255)*.003921568859368563,+((d&65535)>>>8&255)*.003921568859368563,+(b&255)*.003921568859368563,+(d>>>24&255)*.003921568859368563);f=k[a+308>>2]|0;i[e+272>>0]=f;i[e+273>>0]=(f&65535)>>>8;i[e+274>>0]=f>>>16;i[e+275>>0]=f>>>24;f=e+36|0;f=k[f>>2]|0;Si[f&1023](16384);return 0}function R8a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0.0;g=r;e=k[a+316>>2]|0;if((S8a(a)|0)<0){c=-1;r=g;return c|0}f=r;r=r+((1*(c<<3)|0)+15&-16)|0;if((c|0)>0){d=0;do{i=+o[b+(d<<3)+4>>2]+.5;h=d<<1;o[f+(h<<2)>>2]=+o[b+(d<<3)>>2]+.5;o[f+((h|1)<<2)>>2]=i;d=d+1|0}while((d|0)!=(c|0))}b=k[a+316>>2]|0;d=k[b+276>>2]|0;if(!d){Di[k[b+216>>2]&511](1,b+276|0);d=k[b+276>>2]|0}Di[k[b+220>>2]&511](34962,d);if((k[b+292>>2]|0)>>>0>>0){vj[k[b+224>>2]&127](34962,c<<3,f,35040);k[b+292>>2]=c<<3}else vj[k[b+228>>2]&127](34962,0,c<<3,f);Ti[k[b+184>>2]&63](0,2,5126,0,0,0);kj[k[e+76>>2]&255](0,0,c);h=0;r=g;return h|0}function S8a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;g=k[a+316>>2]|0;c=k[a+312>>2]|0;b=k[g>>2]|0;if((k[299771]|0)==(b|0)){b=g;f=4}else{k[g+268>>2]=0;if((n8a(k[a+188>>2]|0,b)|0)>=0){k[299771]=k[g>>2];y8a(a)|0;b=k[a+316>>2]|0;f=4}}if((f|0)==4)if(k[b+4>>2]|0){b=b+108|0;do{}while((oj[k[b>>2]&7]()|0)!=0)}if((k[g+8>>2]|0)!=(c|0)){switch(c|0){case 4:{Si[k[g+80>>2]&1023](3042);vj[k[g+32>>2]&127](0,768,0,1);break}case 1:{Si[k[g+80>>2]&1023](3042);vj[k[g+32>>2]&127](770,771,1,771);break}case 2:{Si[k[g+80>>2]&1023](3042);vj[k[g+32>>2]&127](770,1,0,1);break}default:Si[k[g+68>>2]&1023](3042)}k[g+8>>2]=c}if(k[g+12>>2]|0){Si[k[g+72>>2]&1023](1);k[g+12>>2]=0}if((T8a(a,0,c)|0)<0){g=-1;return g|0}d=i[a+309>>0]|0;e=i[a+311>>0]|0;b=k[a+304>>2]|0;a:do if(!b)f=20;else{b=k[b+4>>2]|0;if((b|0)<372645892)switch(b|0){case 370546692:break;default:{f=20;break a}}else switch(b|0){case 372645892:break;default:{f=20;break a}}b=a+308|0;c=a+310|0}while(0);if((f|0)==20){b=a+310|0;c=a+308|0}a=i[b>>0]|0;c=i[c>>0]|0;b=k[g+268>>2]|0;if((uBb(k[b+80>>2]|0)|0)==(e&255|(d&255)<<16|(a&255)<<8|(c&255)<<24|0)){g=0;return g|0}$i[k[g+172>>2]&3](k[b+28>>2]|0,+(c&255)*.003921568859368563,+(d&255)*.003921568859368563,+(a&255)*.003921568859368563,+(e&255)*.003921568859368563);i[b+80>>0]=c;i[b+81>>0]=d;i[b+82>>0]=a;i[b+83>>0]=e;g=0;return g|0}function T8a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=r;r=r+80|0;i=k[a+316>>2]|0;switch(b|0){case 0:{b=1;f=9;break}case 1:{b=2;f=9;break}case 2:{b=3;f=9;break}case 3:{b=5;f=9;break}case 4:{b=4;f=9;break}case 5:{b=6;f=9;break}case 6:{b=7;f=9;break}case 7:{b=8;f=9;break}default:{}}if((f|0)==9){g=U8a(a,0,c)|0;if(g|0){d=U8a(a,b,c)|0;a:do if(!d)f=0;else{b=k[i+268>>2]|0;if(b|0)if((k[b+8>>2]|0)==(g|0))if((k[b+12>>2]|0)==(d|0)){i=0;r=j;return i|0}h=k[a+316>>2]|0;b=k[h+260>>2]|0;b:do if(!b)f=24;else{e=b;while(1){if((k[e+8>>2]|0)==(g|0))if((k[e+12>>2]|0)==(d|0))break;e=k[e+156>>2]|0;if(!e){f=24;break b}}if((b|0)==(e|0))break;c=k[e+156>>2]|0;if(c|0)k[c+152>>2]=k[e+152>>2];d=k[e+152>>2]|0;if(d|0)k[d+156>>2]=c;k[e+152>>2]=0;k[e+156>>2]=b;k[b+152>>2]=e;k[h+260>>2]=e;b=e;f=49}while(0);c:do if((f|0)==24){b=j7a(1,160)|0;do if(!b)x7a(0)|0;else{k[b+8>>2]=g;k[b+12>>2]=d;k[b+4>>2]=c;f=oj[k[h+48>>2]&7]()|0;k[b>>2]=f;Di[k[h+20>>2]&511](f,k[g>>2]|0);Di[k[h+20>>2]&511](k[b>>2]|0,k[d>>2]|0);kj[k[h+24>>2]&255](k[b>>2]|0,0,599752);kj[k[h+24>>2]&255](k[b>>2]|0,1,599763);kj[k[h+24>>2]&255](k[b>>2]|0,2,599774);kj[k[h+24>>2]&255](k[b>>2]|0,3,599782);Si[k[h+132>>2]&1023](k[b>>2]|0);kj[k[h+116>>2]&255](k[b>>2]|0,35714,j+8|0);if(!(k[j+8>>2]|0)){Si[k[h+56>>2]&1023](k[b>>2]|0);Y7a(b);y6a(599791,j)|0;break}c=gj[k[h+128>>2]&511](k[b>>2]|0,599821)|0;k[b+16>>2]=c;c=gj[k[h+128>>2]&511](k[b>>2]|0,599834)|0;k[b+36>>2]=c;c=gj[k[h+128>>2]&511](k[b>>2]|0,599846)|0;k[b+32>>2]=c;c=gj[k[h+128>>2]&511](k[b>>2]|0,599858)|0;k[b+20>>2]=c;c=gj[k[h+128>>2]&511](k[b>>2]|0,599868)|0;k[b+24>>2]=c;c=gj[k[h+128>>2]&511](k[b>>2]|0,599881)|0;k[b+28>>2]=c;k[b+80>>2]=-1;k[b+80+4>>2]=-1;Si[k[h+180>>2]&1023](k[b>>2]|0);Di[k[h+168>>2]&511](k[b+36>>2]|0,2);Di[k[h+168>>2]&511](k[b+32>>2]|0,1);Di[k[h+168>>2]&511](k[b+20>>2]|0,0);vj[k[h+176>>2]&127](k[b+16>>2]|0,1,0,b+88|0);$i[k[h+172>>2]&3](k[b+24>>2]|0,1.0,1.0,1.0,1.0);$i[k[h+172>>2]&3](k[b+28>>2]|0,1.0,1.0,1.0,1.0);c=k[h+260>>2]|0;if(!c)k[h+264>>2]=b;else{k[b+156>>2]=c;k[c+152>>2]=b}k[h+260>>2]=b;f=k[h+256>>2]|0;k[h+256>>2]=f+1;k[g+12>>2]=(k[g+12>>2]|0)+1;k[d+12>>2]=(k[d+12>>2]|0)+1;if((f|0)<=7){f=49;break c}c=k[h+264>>2]|0;f=k[c+8>>2]|0;g=k[f+12>>2]|0;k[f+12>>2]=g+-1;if((g|0)<2){c=k[a+316>>2]|0;d=k[f+24>>2]|0;if(d|0)k[d+20>>2]=k[f+20>>2];e=k[f+20>>2]|0;if(e|0)k[e+24>>2]=d;if((k[c+252>>2]|0)==(f|0))k[c+252>>2]=k[f+24>>2];k[c+248>>2]=(k[c+248>>2]|0)+-1;Si[k[c+60>>2]&1023](k[f>>2]|0);Y7a(f);c=k[h+264>>2]|0}f=k[c+12>>2]|0;g=k[f+12>>2]|0;k[f+12>>2]=g+-1;if((g|0)<2){c=k[a+316>>2]|0;d=k[f+24>>2]|0;if(d|0)k[d+20>>2]=k[f+20>>2];e=k[f+20>>2]|0;if(e|0)k[e+24>>2]=d;if((k[c+252>>2]|0)==(f|0))k[c+252>>2]=k[f+24>>2];k[c+248>>2]=(k[c+248>>2]|0)+-1;Si[k[c+60>>2]&1023](k[f>>2]|0);Y7a(f);c=k[h+264>>2]|0}Si[k[h+56>>2]&1023](k[c>>2]|0);f=k[(k[h+264>>2]|0)+152>>2]|0;k[h+264>>2]=f;Y7a(k[f+156>>2]|0);k[(k[h+264>>2]|0)+156>>2]=0;k[h+256>>2]=(k[h+256>>2]|0)+-1;f=49;break c}while(0);f=d;break a}while(0);Si[k[i+180>>2]&1023](k[b>>2]|0);k[i+268>>2]=b;b=k[a+316>>2]|0;c=k[a+220>>2]|0;if(c|0){d=k[a+224>>2]|0;if(d|0){o[j+8>>2]=2.0/+(c|0);k[j+8+4>>2]=0;k[j+8+4+4>>2]=0;k[j+8+4+8>>2]=0;k[j+8+4+12>>2]=0;i=(k[a+304>>2]|0)==0;o[j+8+20>>2]=(i?-2.0:2.0)/+(d|0);a=j+8+24|0;k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;k[a+12>>2]=0;k[a+16>>2]=0;k[a+20>>2]=0;o[j+8+48>>2]=-1.0;o[j+8+52>>2]=i?1.0:-1.0;o[j+8+56>>2]=0.0;o[j+8+60>>2]=1.0;if(U6a((k[b+268>>2]|0)+88|0,j+8|0,64)|0){vj[k[b+176>>2]&127](k[(k[b+268>>2]|0)+16>>2]|0,1,0,j+8|0);y7a((k[b+268>>2]|0)+88|0,j+8|0,64)|0}}}i=0;r=j;return i|0}while(0);if((k[g+12>>2]|0)<1){b=k[a+316>>2]|0;c=k[g+24>>2]|0;if(c|0)k[c+20>>2]=k[g+20>>2];d=k[g+20>>2]|0;if(d|0)k[d+24>>2]=c;if((k[b+252>>2]|0)==(g|0))k[b+252>>2]=k[g+24>>2];k[b+248>>2]=(k[b+248>>2]|0)+-1;Si[k[b+60>>2]&1023](k[g>>2]|0);Y7a(g)}if(f|0)if((k[f+12>>2]|0)<1){c=k[a+316>>2]|0;d=f+24|0;e=k[d>>2]|0;b=f+20|0;if(e|0)k[e+20>>2]=k[b>>2];b=k[b>>2]|0;if(b|0)k[b+24>>2]=e;if((k[c+252>>2]|0)==(f|0))k[c+252>>2]=k[d>>2];k[c+248>>2]=(k[c+248>>2]|0)+-1;Si[k[c+60>>2]&1023](k[f>>2]|0);Y7a(f)}}}k[i+268>>2]=0;i=-1;r=j;return i|0}function U8a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0;m=r;r=r+48|0;l=k[a+316>>2]|0;k[m+32>>2]=0;g=V8a(b,c)|0;if(!g){y6a(599575,m)|0;l=0;r=m;return l|0}h=k[g>>2]|0;if((h|0)>0){i=k[l+240>>2]|0;if((i|0)>0){j=0;do{e=k[g+4+(j<<2)>>2]|0;if(!e)e=0;else{c=k[e+4>>2]|0;d=k[l+244>>2]|0;f=0;do{a=(c|0)==(k[d+(f<<2)>>2]|0)?e:0;f=f+1|0}while((a|0)==0&(f|0)<(i|0));e=a}j=j+1|0;a=(e|0)==0}while(a&(j|0)<(h|0));if(!a){a=k[l+252>>2]|0;a:do if(a|0){while(1){if((k[a+8>>2]|0)==(e|0))break;a=k[a+24>>2]|0;if(!a)break a}r=m;return a|0}while(0);d=j7a(1,28)|0;if(!d){x7a(0)|0;l=0;r=m;return l|0}k[d+4>>2]=b;k[d+8>>2]=e;a=Gi[k[l+52>>2]&2047](k[e>>2]|0)|0;k[d>>2]=a;c=k[e+4>>2]|0;if((c|0)==-1){vj[k[l+152>>2]&127](a,1,e+12|0,0);Si[k[l+44>>2]&1023](k[d>>2]|0);kj[k[l+124>>2]&255](k[d>>2]|0,35713,m+32|0);if(!(k[m+32>>2]|0)){k[m+28>>2]=0;kj[k[l+124>>2]&255](k[d>>2]|0,35716,m+28|0);a=k[m+28>>2]|0;if((a|0)>0){b=r;r=r+((1*a|0)+15&-16)|0;vj[k[l+120>>2]&127](k[d>>2]|0,a,m+28|0,b);k[m+16>>2]=b;y6a(599696,m+16|0)|0}else y6a(599726,m+24|0)|0;Si[k[l+60>>2]&1023](k[d>>2]|0);Y7a(d);l=0;r=m;return l|0}}else{Bi[k[l+148>>2]&15](1,d,c,k[e+12>>2]|0,k[e+8>>2]|0);k[m+32>>2]=1}a=k[l+252>>2]|0;if(a|0){k[d+24>>2]=a;k[a+20>>2]=d}k[l+252>>2]=d;k[l+248>>2]=(k[l+248>>2]|0)+1;l=d;r=m;return l|0}}}y6a(599634,m+8|0)|0;l=0;r=m;return l|0}function V8a(a,b){a=a|0;b=b|0;a:do switch(a|0){case 0:{b=124896;break}case 1:switch(b|0){case 0:{b=124932;break a}case 1:{b=124876;break a}case 2:{b=124856;break a}case 4:{b=124820;break a}default:{b=0;break a}}case 2:switch(b|0){case 0:{b=124952;break a}case 1:{b=124800;break a}case 2:{b=124780;break a}case 4:{b=124744;break a}default:{b=0;break a}}case 3:switch(b|0){case 0:{b=124972;break a}case 1:{b=124724;break a}case 2:{b=124704;break a}case 4:{b=124668;break a}default:{b=0;break a}}case 5:switch(b|0){case 0:{b=124992;break a}case 1:{b=124648;break a}case 2:{b=124628;break a}case 4:{b=124592;break a}default:{b=0;break a}}case 4:switch(b|0){case 0:{b=125012;break a}case 1:{b=124572;break a}case 2:{b=124552;break a}case 4:{b=124516;break a}default:{b=0;break a}}case 6:{b=124480;break}case 7:{b=124444;break}case 8:{b=124408;break}default:b=0}while(0);return b|0}function W8a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0.0;j=r;r=r+32|0;g=k[a+316>>2]|0;if((S8a(a)|0)<0){h=-1;r=j;return h|0}f=r;r=r+((1*(c<<3)|0)+15&-16)|0;if((c|0)>0){d=0;do{l=+o[b+(d<<3)+4>>2]+.5;e=d<<1;o[f+(e<<2)>>2]=+o[b+(d<<3)>>2]+.5;o[f+((e|1)<<2)>>2]=l;d=d+1|0}while((d|0)!=(c|0))}e=k[a+316>>2]|0;d=k[e+276>>2]|0;if(!d){Di[k[e+216>>2]&511](1,e+276|0);d=k[e+276>>2]|0}Di[k[e+220>>2]&511](34962,d);if((k[e+292>>2]|0)>>>0>>0){vj[k[e+224>>2]&127](34962,c<<3,f,35040);k[e+292>>2]=c<<3}else vj[k[e+228>>2]&127](34962,0,c<<3,f);Ti[k[e+184>>2]&63](0,2,5126,0,0,0);kj[k[g+76>>2]&255](3,0,c);if((c|0)==2){d=1;h=12}else if(+o[b>>2]!=+o[b+(c+-1<<3)>>2]){d=c+-1|0;h=12}else if(+o[b+4>>2]!=+o[b+(c+-1<<3)+4>>2]){d=c+-1|0;h=12}if((h|0)==12)kj[k[g+76>>2]&255](0,d,1);c=k[a+316>>2]|0;if(!(k[c+4>>2]|0)){h=0;r=j;return h|0}d=oj[k[c+108>>2]&7]()|0;if(!d){h=0;r=j;return h|0}else f=1279174;while(1){f=(i[f>>0]|0)==0?595012:f;switch(d|0){case 1280:{e=595083;break}case 1281:{e=595066;break}case 1282:{e=595045;break}case 1285:{e=595028;break}default:e=595020}k[j>>2]=f;k[j+4>>2]=595125;k[j+8>>2]=1506;k[j+12>>2]=599889;k[j+16>>2]=e;k[j+20>>2]=d;y6a(595099,j)|0;d=oj[k[c+108>>2]&7]()|0;if(!d){d=-1;break}}r=j;return d|0}function X8a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0.0,l=0.0,m=0.0,n=0.0;h=r;r=r+64|0;e=k[a+316>>2]|0;if((S8a(a)|0)<0){a=-1;r=h;return a|0}if((c|0)>0){g=0;do{m=+o[b+(g<<4)>>2];l=m+ +o[b+(g<<4)+8>>2];n=+o[b+(g<<4)+4>>2];j=n+ +o[b+(g<<4)+12>>2];o[h+24>>2]=m;o[h+24+4>>2]=n;o[h+24+8>>2]=l;o[h+24+12>>2]=n;o[h+24+16>>2]=m;o[h+24+20>>2]=j;o[h+24+24>>2]=l;o[h+24+28>>2]=j;f=k[a+316>>2]|0;d=k[f+276>>2]|0;if(!d){Di[k[f+216>>2]&511](1,f+276|0);d=k[f+276>>2]|0}Di[k[f+220>>2]&511](34962,d);if((k[f+292>>2]|0)>>>0<32){vj[k[f+224>>2]&127](34962,32,h+24|0,35040);k[f+292>>2]=32}else vj[k[f+228>>2]&127](34962,0,32,h+24|0);Ti[k[f+184>>2]&63](0,2,5126,0,0,0);kj[k[e+76>>2]&255](5,0,4);g=g+1|0}while((g|0)!=(c|0))}c=k[a+316>>2]|0;if(!(k[c+4>>2]|0)){a=0;r=h;return a|0}d=oj[k[c+108>>2]&7]()|0;if(!d){a=0;r=h;return a|0}else f=1279174;while(1){f=(i[f>>0]|0)==0?595012:f;switch(d|0){case 1280:{e=595083;break}case 1281:{e=595066;break}case 1282:{e=595045;break}case 1285:{e=595028;break}default:e=595020}k[h>>2]=f;k[h+4>>2]=595125;k[h+8>>2]=1541;k[h+12>>2]=599956;k[h+16>>2]=e;k[h+20>>2]=d;y6a(595099,h)|0;d=oj[k[c+108>>2]&7]()|0;if(!d){d=-1;break}}r=h;return d|0}function Y8a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0.0,l=0.0,m=0.0;h=r;r=r+96|0;g=k[a+316>>2]|0;e=k[g>>2]|0;if((k[299771]|0)==(e|0)){e=g;f=4}else{k[g+268>>2]=0;if((n8a(k[a+188>>2]|0,e)|0)>=0){k[299771]=k[g>>2];y8a(a)|0;e=k[a+316>>2]|0;f=4}}if((f|0)==4)if(k[e+4>>2]|0){e=e+108|0;do{}while((oj[k[e>>2]&7]()|0)!=0)}if((Z8a(a,b)|0)<0){a=-1;r=h;return a|0}e=k[d>>2]|0;k[h+56>>2]=e;f=k[d+4>>2]|0;k[h+56+4>>2]=f;l=(k[t>>2]=e,+o[t>>2])+ +o[d+8>>2];o[h+56+8>>2]=l;k[h+56+12>>2]=f;k[h+56+16>>2]=e;j=(k[t>>2]=f,+o[t>>2])+ +o[d+12>>2];o[h+56+20>>2]=j;o[h+56+24>>2]=l;o[h+56+28>>2]=j;f=k[a+316>>2]|0;e=k[f+276>>2]|0;if(!e){Di[k[f+216>>2]&511](1,f+276|0);e=k[f+276>>2]|0}Di[k[f+220>>2]&511](34962,e);if((k[f+292>>2]|0)>>>0<32){vj[k[f+224>>2]&127](34962,32,h+56|0,35040);k[f+292>>2]=32}else vj[k[f+228>>2]&127](34962,0,32,h+56|0);Ti[k[f+184>>2]&63](0,2,5126,0,0,0);e=k[c>>2]|0;m=+(k[b+12>>2]|0);o[h+24>>2]=+(e|0)/m;f=k[c+4>>2]|0;l=+(k[b+16>>2]|0);o[h+24+4>>2]=+(f|0)/l;j=+((k[c+8>>2]|0)+e|0)/m;o[h+24+8>>2]=j;o[h+24+12>>2]=+(f|0)/l;o[h+24+16>>2]=+(e|0)/m;l=+((k[c+12>>2]|0)+f|0)/l;o[h+24+20>>2]=l;o[h+24+24>>2]=j;o[h+24+28>>2]=l;f=k[a+316>>2]|0;e=k[f+280>>2]|0;if(!e){Di[k[f+216>>2]&511](1,f+280|0);e=k[f+280>>2]|0}Di[k[f+220>>2]&511](34962,e);if((k[f+296>>2]|0)>>>0<32){vj[k[f+224>>2]&127](34962,32,h+24|0,35040);k[f+296>>2]=32}else vj[k[f+228>>2]&127](34962,0,32,h+24|0);Ti[k[f+184>>2]&63](1,2,5126,0,0,0);kj[k[g+76>>2]&255](5,0,4);c=k[a+316>>2]|0;if(!(k[c+4>>2]|0)){a=0;r=h;return a|0}e=oj[k[c+108>>2]&7]()|0;if(!e){a=0;r=h;return a|0}else d=1279174;while(1){d=(i[d>>0]|0)==0?595012:d;switch(e|0){case 1280:{f=595083;break}case 1281:{f=595066;break}case 1282:{f=595045;break}case 1285:{f=595028;break}default:f=595020}k[h>>2]=d;k[h+4>>2]=595125;k[h+8>>2]=1743;k[h+12>>2]=600049;k[h+16>>2]=f;k[h+20>>2]=e;y6a(595099,h)|0;e=oj[k[c+108>>2]&7]()|0;if(!e){e=-1;break}}r=h;return e|0}function Z8a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0;m=r;r=r+16|0;j=k[a+316>>2]|0;e=k[b+68>>2]|0;l=k[b+24>>2]|0;c=k[a+304>>2]|0;a:do if(!c){c=k[b+4>>2]|0;b:do if((c|0)<825382478){if((c|0)<374740996){if((c|0)>=372645892)switch(c|0){case 372645892:{c=2;break a}default:break b}switch(c|0){case 370546692:break;default:break b}c=3;break a}if((c|0)<376840196){switch(c|0){case 374740996:break;default:break b}c=4;break a}else{switch(c|0){case 376840196:break;default:break b}c=1;break a}}else{if((c|0)>=842094169){if((c|0)<1448433993)switch(c|0){case 842094169:break;default:break b}else switch(c|0){case 1448433993:break;default:break b}c=5;break a}if((c|0)<842094158){switch(c|0){case 825382478:break;default:break b}c=7;break a}else{switch(c|0){case 842094158:break;default:break b}c=6;break a}}while(0);l=y6a(600022,m+8|0)|0;r=m;return l|0}else{c=k[c+4>>2]|0;d=k[b+4>>2]|0;if((c|0)==(d|0))c=1;else{c:do if((d|0)<825382478)if((d|0)<374740996){if((d|0)>=372645892){switch(d|0){case 372645892:break;default:break c}if((c|0)<376840196)switch(c|0){case 374740996:break;default:{c=1;break a}}else switch(c|0){case 376840196:break;default:{c=1;break a}}c=2;break a}switch(d|0){case 370546692:break;default:break c}if((c|0)<374740996){switch(c|0){case 372645892:break;default:{c=1;break a}}c=4;break a}if((c|0)<376840196){switch(c|0){case 374740996:break;default:{c=1;break a}}c=2;break a}else{switch(c|0){case 376840196:break;default:{c=1;break a}}c=2;break a}}else{if((d|0)>=376840196){switch(d|0){case 376840196:break;default:break c}if((c|0)<372645892)switch(c|0){case 370546692:break;default:{c=1;break a}}else switch(c|0){case 372645892:break;default:{c=1;break a}}c=2;break a}switch(d|0){case 374740996:break;default:break c}if((c|0)<372645892){switch(c|0){case 370546692:break;default:{c=1;break a}}c=2;break a}if((c|0)<376840196){switch(c|0){case 372645892:break;default:{c=1;break a}}c=3;break a}else{switch(c|0){case 376840196:break;default:{c=1;break a}}c=4;break a}}else{if((d|0)>=842094169)if((d|0)<1448433993)switch(d|0){case 842094169:{c=5;break a}default:break c}else switch(d|0){case 1448433993:{c=5;break a}default:break c}if((d|0)<842094158){switch(d|0){case 825382478:break;default:break c}c=7;break a}else{switch(d|0){case 842094158:break;default:break c}c=6;break a}}while(0);l=y6a(600022,m)|0;r=m;return l|0}}while(0);if((T8a(a,c,l)|0)<0){l=-1;r=m;return l|0}if(k[e+24>>2]|0){Si[k[j+16>>2]&1023](33986);Di[k[j+28>>2]&511](k[e+4>>2]|0,k[e+32>>2]|0);Si[k[j+16>>2]&1023](33985);Di[k[j+28>>2]&511](k[e+4>>2]|0,k[e+36>>2]|0);Si[k[j+16>>2]&1023](33984)}if(!(k[e+28>>2]|0)){c=e+4|0;d=j+28|0}else{Si[k[j+16>>2]&1023](33985);Di[k[j+28>>2]&511](k[e+4>>2]|0,k[e+36>>2]|0);Si[k[j+16>>2]&1023](33984);c=e+4|0;d=j+28|0}Di[k[d>>2]&511](k[c>>2]|0,k[e>>2]|0);f=i[b+29>>0]|0;g=i[b+31>>0]|0;c=k[a+304>>2]|0;d:do if(!c)h=36;else{c=k[c+4>>2]|0;if((c|0)<372645892)switch(c|0){case 370546692:break;default:{h=36;break d}}else switch(c|0){case 372645892:break;default:{h=36;break d}}c=b+28|0;d=b+30|0}while(0);if((h|0)==36){c=b+30|0;d=b+28|0}e=i[c>>0]|0;d=i[d>>0]|0;c=k[j+268>>2]|0;if((uBb(k[c+84>>2]|0)|0)!=(g&255|(f&255)<<16|(e&255)<<8|(d&255)<<24|0)){$i[k[j+172>>2]&3](k[c+24>>2]|0,+(d&255)*.003921568859368563,+(f&255)*.003921568859368563,+(e&255)*.003921568859368563,+(g&255)*.003921568859368563);i[c+84>>0]=d;i[c+85>>0]=f;i[c+86>>0]=e;i[c+87>>0]=g}if((k[j+8>>2]|0)!=(l|0)){switch(l|0){case 4:{Si[k[j+80>>2]&1023](3042);vj[k[j+32>>2]&127](0,768,0,1);break}case 1:{Si[k[j+80>>2]&1023](3042);vj[k[j+32>>2]&127](770,771,1,771);break}case 2:{Si[k[j+80>>2]&1023](3042);vj[k[j+32>>2]&127](770,1,0,1);break}default:Si[k[j+68>>2]&1023](3042)}k[j+8>>2]=l}if((k[j+12>>2]|0)==1){l=0;r=m;return l|0}Si[k[j+84>>2]&1023](1);k[j+12>>2]=1;l=0;r=m;return l|0}function _8a(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;f=f|0;g=g|0;var h=0,j=0,l=0.0,m=0.0,n=0.0,p=0,q=0;q=r;r=r+144|0;p=k[a+316>>2]|0;h=k[p>>2]|0;if((k[299771]|0)==(h|0)){h=p;j=4}else{k[p+268>>2]=0;if((n8a(k[a+188>>2]|0,h)|0)>=0){k[299771]=k[p>>2];y8a(a)|0;h=k[a+316>>2]|0;j=4}}if((j|0)==4)if(k[h+4>>2]|0){h=h+108|0;do{}while((oj[k[h>>2]&7]()|0)!=0)}if((Z8a(a,b)|0)<0){a=-1;r=q;return a|0}Si[k[p+84>>2]&1023](3);Si[k[p+84>>2]&1023](2);o[q+24+12>>2]=360.0-e;o[q+24+8>>2]=360.0-e;o[q+24+4>>2]=360.0-e;o[q+24>>2]=360.0-e;m=+o[d>>2];n=+o[f>>2]+m;o[q+40+24>>2]=n;o[q+40+16>>2]=n;o[q+40+8>>2]=n;o[q+40>>2]=n;n=+o[d+4>>2];l=+o[f+4>>2]+n;o[q+40+28>>2]=l;o[q+40+20>>2]=l;o[q+40+12>>2]=l;o[q+40+4>>2]=l;o[q+104>>2]=m;o[q+104+4>>2]=n;l=m+ +o[d+8>>2];o[q+104+8>>2]=l;o[q+104+12>>2]=n;o[q+104+16>>2]=m;e=n+ +o[d+12>>2];o[q+104+20>>2]=e;o[q+104+24>>2]=l;o[q+104+28>>2]=e;if(g&1|0){o[q+104+16>>2]=l;o[q+104>>2]=l;o[q+104+24>>2]=m;o[q+104+8>>2]=m}if(g&2|0){o[q+104+12>>2]=e;o[q+104+4>>2]=e;o[q+104+28>>2]=n;o[q+104+20>>2]=n}j=k[a+316>>2]|0;h=k[j+284>>2]|0;if(!h){Di[k[j+216>>2]&511](1,j+284|0);h=k[j+284>>2]|0}Di[k[j+220>>2]&511](34962,h);if((k[j+300>>2]|0)>>>0<16){vj[k[j+224>>2]&127](34962,16,q+24|0,35040);k[j+300>>2]=16}else vj[k[j+228>>2]&127](34962,0,16,q+24|0);Ti[k[j+184>>2]&63](2,1,5126,0,0,0);j=k[a+316>>2]|0;h=k[j+288>>2]|0;if(!h){Di[k[j+216>>2]&511](1,j+288|0);h=k[j+288>>2]|0}Di[k[j+220>>2]&511](34962,h);if((k[j+304>>2]|0)>>>0<32){vj[k[j+224>>2]&127](34962,32,q+40|0,35040);k[j+304>>2]=32}else vj[k[j+228>>2]&127](34962,0,32,q+40|0);Ti[k[j+184>>2]&63](3,2,5126,0,0,0);j=k[a+316>>2]|0;h=k[j+276>>2]|0;if(!h){Di[k[j+216>>2]&511](1,j+276|0);h=k[j+276>>2]|0}Di[k[j+220>>2]&511](34962,h);if((k[j+292>>2]|0)>>>0<32){vj[k[j+224>>2]&127](34962,32,q+104|0,35040);k[j+292>>2]=32}else vj[k[j+228>>2]&127](34962,0,32,q+104|0);Ti[k[j+184>>2]&63](0,2,5126,0,0,0);h=k[c>>2]|0;l=+(k[b+12>>2]|0);o[q+72>>2]=+(h|0)/l;j=k[c+4>>2]|0;n=+(k[b+16>>2]|0);o[q+72+4>>2]=+(j|0)/n;m=+((k[c+8>>2]|0)+h|0)/l;o[q+72+8>>2]=m;o[q+72+12>>2]=+(j|0)/n;o[q+72+16>>2]=+(h|0)/l;n=+((k[c+12>>2]|0)+j|0)/n;o[q+72+20>>2]=n;o[q+72+24>>2]=m;o[q+72+28>>2]=n;j=k[a+316>>2]|0;h=k[j+280>>2]|0;if(!h){Di[k[j+216>>2]&511](1,j+280|0);h=k[j+280>>2]|0}Di[k[j+220>>2]&511](34962,h);if((k[j+296>>2]|0)>>>0<32){vj[k[j+224>>2]&127](34962,32,q+72|0,35040);k[j+296>>2]=32}else vj[k[j+228>>2]&127](34962,0,32,q+72|0);Ti[k[j+184>>2]&63](1,2,5126,0,0,0);kj[k[p+76>>2]&255](5,0,4);Si[k[p+72>>2]&1023](3);Si[k[p+72>>2]&1023](2);d=k[a+316>>2]|0;if(!(k[d+4>>2]|0)){a=0;r=q;return a|0}h=oj[k[d+108>>2]&7]()|0;if(!h){a=0;r=q;return a|0}else f=1279174;while(1){f=(i[f>>0]|0)==0?595012:f;switch(h|0){case 1280:{j=595083;break}case 1281:{j=595066;break}case 1282:{j=595045;break}case 1285:{j=595028;break}default:j=595020}k[q>>2]=f;k[q+4>>2]=595125;k[q+8>>2]=1812;k[q+12>>2]=600138;k[q+16>>2]=j;k[q+20>>2]=h;y6a(595099,q)|0;h=oj[k[d+108>>2]&7]()|0;if(!h){h=-1;break}}r=q;return h|0}function $8a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,l=0,m=0;m=r;r=r+32|0;h=k[a+316>>2]|0;f=k[h>>2]|0;if((k[299771]|0)==(f|0)){f=h;g=4}else{k[h+268>>2]=0;if((n8a(k[a+188>>2]|0,f)|0)>=0){k[299771]=k[h>>2];y8a(a)|0;f=k[a+316>>2]|0;g=4}}if((g|0)==4)if(k[f+4>>2]|0){f=f+108|0;do{}while((oj[k[f>>2]&7]()|0)!=0)}j=k[b+8>>2]<<2;l=p7a(ha(k[b+12>>2]|0,j)|0)|0;if(!l){d=x7a(0)|0;r=m;return d|0}z8a(a,m+28|0,m+24|0)|0;i=k[b+12>>2]|0;cj[k[h+140>>2]&7](k[b>>2]|0,(k[m+24>>2]|0)-(k[b+4>>2]|0)-i|0,k[b+8>>2]|0,i,6408,5121,l);h=k[a+316>>2]|0;if(k[h+4>>2]|0){g=oj[k[h+108>>2]&7]()|0;if(g|0){while(1){switch(g|0){case 1280:{f=595083;break}case 1281:{f=595066;break}case 1282:{f=595045;break}case 1285:{f=595028;break}default:f=595020}k[m>>2]=600287;k[m+4>>2]=595125;k[m+8>>2]=1839;k[m+12>>2]=600302;k[m+16>>2]=f;k[m+20>>2]=g;y6a(595099,m)|0;g=oj[k[h+108>>2]&7]()|0;if(!g){f=-1;break}}r=m;return f|0}}g=k[b+8>>2]|0;f=k[b+12>>2]|0;h=r;r=r+((1*(g<<2)|0)+15&-16)|0;if((f+1|0)>>>0>=3){a=l;i=(f|0)/2|0;f=l+(ha(f+-1|0,j)|0)|0;while(1){i=i+-1|0;y7a(h,a,g<<2)|0;y7a(a,f,g<<2)|0;y7a(f,h,g<<2)|0;if(!i)break;else{a=a+j|0;f=f+(0-j)|0}}g=k[b+8>>2]|0;f=k[b+12>>2]|0}d=a9a(g,f,376840196,l,j,c,d,e)|0;Y7a(l);r=m;return d|0}function a9a(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,l=0,m=0,n=0;n=r;r=r+448|0;if(!g){k[n>>2]=600384;e=y6a(608563,n)|0;r=n;return e|0}if(!h){k[n+8>>2]=600388;e=y6a(608563,n+8|0)|0;r=n;return e|0}if((c|0)!=(f|0)){if((c|0)==0|(c&-268435456|0)==268435456)if(((c>>>24&15)+-1|0)>>>0<3){y6a(600426,n+24|0)|0;e=-1;r=n;return e|0}if((b9a(n+276|0,c)|0)<0){e=-1;r=n;return e|0}O6a(n+380|0,0,60)|0;k[n+380>>2]=1;k[n+380+4>>2]=n+276;k[n+380+20>>2]=d;k[n+380+8>>2]=a;k[n+380+12>>2]=b;k[n+380+16>>2]=e;O6a(n+144|0,0,88)|0;k[n+144+76>>2]=-1;k[n+380+52>>2]=n+144;k[n+380+56>>2]=1;if((f|0)==0|(f&-268435456|0)==268435456)if(((f>>>24&15)+-1|0)>>>0<3){y6a(600426,n+32|0)|0;e=-1;r=n;return e|0}if((b9a(n+232|0,f)|0)<0){e=-1;r=n;return e|0}O6a(n+320|0,0,60)|0;k[n+320>>2]=1;k[n+320+4>>2]=n+232;k[n+320+20>>2]=g;k[n+320+8>>2]=a;k[n+320+12>>2]=b;k[n+320+16>>2]=h;O6a(n+56|0,0,88)|0;k[n+56+76>>2]=-1;k[n+320+52>>2]=n+56;k[n+320+56>>2]=1;k[n+40>>2]=0;k[n+40+4>>2]=0;k[n+40+8>>2]=a;k[n+40+12>>2]=b;f=k[n+380+52>>2]|0;do if((k[f>>2]|0)==(n+320|0)){d=k[(k[n+320+4>>2]|0)+4>>2]|0;if(d|0)if((k[f+80>>2]|0)!=(k[d+8>>2]|0)){i=35;break}d=k[(k[n+380+4>>2]|0)+4>>2]|0;if(d)if((k[f+84>>2]|0)!=(k[d+8>>2]|0))i=35}else i=35;while(0);do if((i|0)==35)if((d9a(n+380|0,n+320|0)|0)<0){e=-1;r=n;return e|0}else{f=k[n+380+52>>2]|0;break}while(0);e=nj[k[f+8>>2]&127](n+380|0,n+40|0,n+320|0,n+40|0)|0;r=n;return e|0}a:do if((c|0)==0|(c&-268435456|0)==268435456)f=c&255;else{b:do if((c|0)<844715353)if((c|0)<842094158)switch(c|0){case 825382478:{i=8;break b}default:break b}else switch(c|0){case 842094158:case 842094169:{i=8;break b}default:break b}else if((c|0)<1448433993)if((c|0)<1431918169)switch(c|0){case 844715353:{f=2;break a}default:break b}else switch(c|0){case 1431918169:{f=2;break a}default:break b}else if((c|0)<1498831189)switch(c|0){case 1448433993:{i=8;break b}default:break b}else switch(c|0){case 1498831189:{f=2;break a}default:break b}while(0);if((i|0)==8){f=1;break}e=y6a(600398,n+16|0)|0;r=n;return e|0}while(0);m=ha(f,a)|0;if(b){i=ha(h,b)|0;l=ha(e,b)|0;f=g;a=d;j=b;while(1){j=j+-1|0;y7a(f,a,m)|0;if(!j)break;else{f=f+h|0;a=a+e|0}}g=g+i|0;d=d+l|0}if((c|0)<842094169){c:do if((c|0)<842094158){switch(c|0){case 825382478:break c;default:f=0}r=n;return f|0}else{switch(c|0){case 842094158:break c;default:f=0}r=n;return f|0}while(0);if((b+1|0)>>>0<3){e=0;r=n;return e|0}f=(b|0)/2|0;while(1){f=f+-1|0;y7a(g,d,m)|0;if(!f){f=0;break}else{d=d+e|0;g=g+h|0}}r=n;return f|0}else{d:do if((c|0)<1448433993){switch(c|0){case 842094169:break d;default:f=0}r=n;return f|0}else{switch(c|0){case 1448433993:break d;default:f=0}r=n;return f|0}while(0);if((b+1|0)>>>0<3){e=0;r=n;return e|0}f=((b|0)/2|0)<<1;while(1){f=f+-1|0;y7a(g,d,(m|0)/2|0)|0;if(!f){f=0;break}else{g=g+((h|0)/2|0)|0;d=d+((e|0)/2|0)|0}}r=n;return f|0}return 0}function b9a(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+32|0;if(!(c9a(b,d+16|0,d+12|0,d+8|0,d+4|0,d)|0)){a=-1;r=d;return a|0}O6a(a,0,44)|0;k[a>>2]=b;b=k[d+16>>2]|0;i[a+8>>0]=b;i[a+9>>0]=(b+7|0)/8|0;b=k[d+12>>2]|0;k[a+12>>2]=b;i[a+32>>0]=0;i[a+28>>0]=8;if(b|0){if(!(b&1)){c=0;do{c=c+1<<24>>24;b=b>>>1}while((b&1|0)==0);i[a+32>>0]=c;c=b}else c=b;if(c&1|0){b=8;do{b=b+-1<<24>>24;c=c>>>1}while((c&1|0)!=0);i[a+28>>0]=b}}b=k[d+8>>2]|0;k[a+16>>2]=b;i[a+33>>0]=0;i[a+29>>0]=8;if(b|0){if(!(b&1)){c=0;do{c=c+1<<24>>24;b=b>>>1}while((b&1|0)==0);i[a+33>>0]=c}if(b&1|0){c=8;do{c=c+-1<<24>>24;b=b>>>1}while((b&1|0)!=0);i[a+29>>0]=c}}b=k[d+4>>2]|0;k[a+20>>2]=b;i[a+34>>0]=0;i[a+30>>0]=8;if(b|0){if(!(b&1)){c=0;do{c=c+1<<24>>24;b=b>>>1}while((b&1|0)==0);i[a+34>>0]=c}if(b&1|0){c=8;do{c=c+-1<<24>>24;b=b>>>1}while((b&1|0)!=0);i[a+30>>0]=c}}b=k[d>>2]|0;k[a+24>>2]=b;i[a+35>>0]=0;i[a+31>>0]=8;if(b|0){if(!(b&1)){c=0;do{c=c+1<<24>>24;b=b>>>1}while((b&1|0)==0);i[a+35>>0]=c}if(b&1|0){c=8;do{c=c+-1<<24>>24;b=b>>>1}while((b&1|0)!=0);i[a+31>>0]=c}}k[a+4>>2]=0;k[a+36>>2]=1;k[a+40>>2]=0;a=0;r=d;return a|0}function c9a(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;j=r;r=r+32|0;if(!((a|0)==0|(a&-268435456|0)==268435456)){y6a(600462,j)|0;a=0;r=j;return a|0}k[b>>2]=(a&255)>>>0<3?a>>>8&255:a<<3&2040;k[f>>2]=0;k[e>>2]=0;k[d>>2]=0;k[c>>2]=0;a:do if((a|0)<390076419){switch(a|0){case 386930691:break;default:break a}k[c>>2]=255;k[d>>2]=65280;k[e>>2]=16711680;a=1;r=j;return a|0}else{switch(a|0){case 390076419:break;default:break a}k[c>>2]=16711680;k[d>>2]=65280;k[e>>2]=255;a=1;r=j;return a|0}while(0);if(((a>>>24&15)+-4|0)>>>0>=3){a=1;r=j;return a|0}switch(a>>>16&15|0){case 1:{b=0;g=224;h=28;i=3;break}case 2:{b=61440;g=3840;h=240;i=15;break}case 3:{b=32768;g=31744;h=992;i=31;break}case 4:{b=63488;g=1984;h=62;i=1;break}case 5:{b=0;g=63488;h=2016;i=31;break}case 6:{b=-16777216;g=16711680;h=65280;i=255;break}case 7:{b=-1073741824;g=1072693248;h=1047552;i=1023;break}case 8:{b=-4194304;g=4190208;h=4092;i=3;break}default:{y6a(600652,j+8|0)|0;a=0;r=j;return a|0}}switch(a>>>20&15|0){case 1:{k[c>>2]=g;k[d>>2]=h;k[e>>2]=i;a=1;r=j;return a|0}case 2:{k[c>>2]=b;k[d>>2]=g;k[e>>2]=h;a=1;r=j;return a|0}case 3:{k[f>>2]=b;k[c>>2]=g;k[d>>2]=h;k[e>>2]=i;a=1;r=j;return a|0}case 4:{k[c>>2]=b;k[d>>2]=g;k[e>>2]=h;k[f>>2]=i;a=1;r=j;return a|0}case 5:{k[e>>2]=g;k[d>>2]=h;k[c>>2]=i;a=1;r=j;return a|0}case 6:{k[e>>2]=b;k[d>>2]=g;k[c>>2]=h;a=1;r=j;return a|0}case 8:{k[e>>2]=b;k[d>>2]=g;k[c>>2]=h;k[f>>2]=i;a=1;r=j;return a|0}case 7:{k[f>>2]=b;k[e>>2]=g;k[d>>2]=h;k[c>>2]=i;a=1;r=j;return a|0}default:{y6a(600652,j+16|0)|0;a=0;r=j;return a|0}}return 0}function d9a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0;t=r;r=r+1040|0;s=k[a+52>>2]|0;if(k[a>>2]&2|0)P7a(a,1);if(s|0){c=k[s>>2]|0;if(c|0){q=k[c+56>>2]|0;k[c+56>>2]=q+-1;if((q|0)<2)N7a(c)}k[s>>2]=0;k[s+84>>2]=0;k[s+80>>2]=0;Y7a(k[s+64>>2]|0);k[s+64>>2]=0}k[s+4>>2]=0;q=k[a+4>>2]|0;p=k[b+4>>2]|0;c=k[q>>2]|0;do if((c|0)==0|(c&-268435456|0)==268435456)if(((c>>>24&15)+-1|0)>>>0<3){c=k[p>>2]|0;if((c|0)==0|(c&-268435456|0)==268435456)if(((c>>>24&15)+-1|0)>>>0<3){o=e9a(k[q+4>>2]|0,k[p+4>>2]|0,s+4|0)|0;k[s+64>>2]=o;if((o|0)==0&(k[s+4>>2]|0)==0){a=-1;r=t;return a|0}if((i[q+8>>0]|0)==(i[p+8>>0]|0)){c=35;break}k[s+4>>2]=0;c=35;break}e=k[(k[a+52>>2]|0)+76>>2]|0;d=k[q+4>>2]|0;c=i[p+9>>0]|0;c=c<<24>>24==3?4:c&255;f=p7a(ha(c,k[d>>2]|0)|0)|0;if(!f){x7a(0)|0;k[s+64>>2]=0;a=-1;r=t;return a|0}if((k[d>>2]|0)<=0){k[s+64>>2]=f;c=35;break}o=0;do{n=k[d+4>>2]|0;g=((ha(l[n+(o<<2)>>0]|0,e&255)|0)>>>0)/255|0;h=((ha(l[n+(o<<2)+1>>0]|0,e>>>8&255)|0)>>>0)/255|0;m=((ha(l[n+(o<<2)+2>>0]|0,e>>>16&255)|0)>>>0)/255|0;n=((ha(l[n+(o<<2)+3>>0]|0,e>>>24)|0)>>>0)/255|0;switch(l[p+9>>0]|0){case 1:{w=k[p+28>>2]|0;v=k[p+32>>2]|0;u=f+(ha(o,c)|0)|0;i[u>>0]=(n&255)>>>(w>>>24)<<(v>>>24)|(g&255)>>>(w&255)<<(v&255)|(h&255)>>>(w>>>8&255)<<(v>>>8&255)|(m&255)>>>(w>>>16&255)<<(v>>>16&255);break}case 2:{u=k[p+28>>2]|0;v=k[p+32>>2]|0;w=f+(ha(o,c)|0)|0;j[w>>1]=(n&255)>>>(u>>>24)<<(v>>>24)|(g&255)>>>(u&255)<<(v&255)|(h&255)>>>(u>>>8&255)<<(v>>>8&255)|(m&255)>>>(u>>>16&255)<<(v>>>16&255);break}case 3:{w=f+(ha(o,c)|0)|0;i[w+((l[p+32>>0]|0)>>>3&255)>>0]=g;i[w+((l[p+33>>0]|0)>>>3&255)>>0]=h;i[w+((l[p+34>>0]|0)>>>3&255)>>0]=m;break}case 4:{u=k[p+28>>2]|0;v=k[p+32>>2]|0;w=f+(ha(o,c)|0)|0;k[w>>2]=(n&255)>>>(u>>>24)<<(v>>>24)|(g&255)>>>(u&255)<<(v&255)|(h&255)>>>(u>>>8&255)<<(v>>>8&255)|(m&255)>>>(u>>>16&255)<<(v>>>16&255);break}default:{}}o=o+1|0}while((o|0)<(k[d>>2]|0));k[s+64>>2]=f;c=36}else c=27;else c=27;while(0);do if((c|0)==27){c=k[p>>2]|0;if((c|0)==0|(c&-268435456|0)==268435456)if(((c>>>24&15)+-1|0)>>>0<3){c=k[p+4>>2]|0;k[t>>2]=256;d=0;do{w=d&224;i[t+16+(d<<2)>>0]=w>>>6|w|w>>>3;w=d<<3&224;i[t+16+(d<<2)+1>>0]=w>>>6|w|w>>>3;w=d&3;i[t+16+(d<<2)+2>>0]=(w<<2|w)<<4|(w<<2|w);i[t+16+(d<<2)+3>>0]=-1;d=d+1|0}while((d|0)!=256);k[t+4>>2]=t+16;w=e9a(t,c,s+4|0)|0;k[s+64>>2]=w;if((w|0)==0&(k[s+4>>2]|0)==0){w=-1;r=t;return w|0}else{k[s+4>>2]=0;c=36;break}}if((q|0)==(p|0)){k[s+4>>2]=1;c=35}else c=35}while(0);if((c|0)==35){k[s>>2]=b;c=37}else if((c|0)==36){k[s>>2]=b;if(b|0)c=37}if((c|0)==37)k[b+56>>2]=(k[b+56>>2]|0)+1;c=k[p+4>>2]|0;if(!c)c=0;else c=k[c+8>>2]|0;k[s+80>>2]=c;c=k[q+4>>2]|0;if(!c)c=0;else c=k[c+8>>2]|0;k[s+84>>2]=c;w=f9a(a)|0;r=t;return w|0}function e9a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;if(c|0){d=k[a>>2]|0;do if((d|0)<=(k[b>>2]|0)){if((a|0)!=(b|0))if(U6a(k[a+4>>2]|0,k[b+4>>2]|0,d<<2)|0)break;k[c>>2]=1;a=0;return a|0}while(0);k[c>>2]=0}d=p7a(k[a>>2]|0)|0;if(!d){x7a(0)|0;a=0;return a|0}if((k[a>>2]|0)<=0){a=d;return a|0}q=0;do{c=k[a+4>>2]|0;j=k[b>>2]|0;a:do if((j|0)>0){m=k[b+4>>2]|0;n=l[c+(q<<2)>>0]|0;o=l[c+(q<<2)+1>>0]|0;p=l[c+(q<<2)+2>>0]|0;g=l[c+(q<<2)+3>>0]|0;h=0;c=0;f=-1;while(1){s=(l[m+(h<<2)>>0]|0)-n|0;t=(l[m+(h<<2)+1>>0]|0)-o|0;r=(l[m+(h<<2)+2>>0]|0)-p|0;e=(l[m+(h<<2)+3>>0]|0)-g|0;e=(ha(t,t)|0)+(ha(s,s)|0)+(ha(r,r)|0)+(ha(e,e)|0)|0;if(e>>>0>>0){c=h&255;if(!e)break a}else e=f;h=h+1|0;if((h|0)>=(j|0))break;else f=e}}else c=0;while(0);i[d+q>>0]=c;q=q+1|0}while((q|0)<(k[a>>2]|0));return d|0}function f9a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0;l=r;r=r+16|0;i=k[a+52>>2]|0;h=k[i>>2]|0;if(k[a>>2]&2|0)P7a(a,1);k[i+8>>2]=96;k[i+56>>2]=k[a+4>>2];k[i+28>>2]=k[a+16>>2];k[i+60>>2]=k[h+4>>2];k[i+48>>2]=k[h+16>>2];if(k[i+68>>2]&4096|0)if(!(O7a(a)|0)){i=0;r=l;return i|0}if(!(k[i+4>>2]|0))e=7;else if(!(k[i+68>>2]&-4097))b=708;else e=7;a:do if((e|0)==7){b=k[a+4>>2]|0;c=j[b+8>>1]|0;if((c&255)<8){d=k[b>>2]|0;if((d|0)==0|(d&-268435456|0)==268435456)if(((d>>>24&15)+-1|0)>>>0<3)b=h9a(a)|0;else e=11;else e=11}else e=11;do if((e|0)==11){if((c&-256)<<16>>16==256){b=k[b>>2]|0;if((b|0)==0|(b&-268435456|0)==268435456)if(((b>>>24&15)+-1|0)>>>0<3){b=s9a(a)|0;break}}if(!(k[i+68>>2]&16)){b=S9a(a)|0;break}else{b=D9a(a)|0;break}}while(0);if(!b){e=k[k[a+4>>2]>>2]|0;f=k[k[h+4>>2]>>2]|0;g=k[i+68>>2]|0;do if((k[33431]|0)==-1){b=D7a(600501)|0;k[33431]=0;if(b|0){k[l>>2]=133724;mab(b,600523,l)|0;break}if($9a()|0)k[33431]=k[33431]|1;if(nab()|0)k[33431]=k[33431]|2;if(oab()|0)k[33431]=k[33431]|4;if(pab()|0)k[33431]=k[33431]|8;if(qab()|0)k[33431]=k[33431]|16}while(0);if(470){c=k[33431]|0;b=470;d=0;do{if((k[133728+(d*20|0)>>2]|0)==(e|0))if((k[133728+(d*20|0)+4>>2]|0)==(f|0))if((k[133728+(d*20|0)+8>>2]&(g&883)|0)==(g&883|0)){m=k[133728+(d*20|0)+12>>2]|0;if((m&c|0)==(m|0))break a}d=d+1|0;b=k[133728+(d*20|0)+16>>2]|0}while((b|0)!=0)}c=k[k[a+4>>2]>>2]|0;b=k[k[h+4>>2]>>2]|0;if((c|0)==0|(c&-268435456|0)==268435456)if(((c>>>24&15)+-1|0)>>>0>=3)if((b|0)==0|(b&-268435456|0)==268435456)if(((b>>>24&15)+-1|0)>>>0>=3){b=709;break}k[i+12>>2]=0;h8a(i);m=y6a(600526,l+8|0)|0;r=l;return m|0}}while(0);k[i+12>>2]=b;m=0;r=l;return m|0}function g9a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,m=0,n=0;if(!(k[c>>2]&2)){h=0;f=1}else{f=(T7a(c)|0)>>>31^1;h=f}if(!(k[a>>2]&2)){e=0;g=5}else if((T7a(a)|0)<0){f=-1;e=0}else{e=1;g=5}if((g|0)==5)if(!f)f=-1;else if(!b)f=0;else{f=k[b+8>>2]|0;if((f|0)<1)f=0;else{g=k[b+12>>2]|0;if((g|0)<1)f=0;else{i=k[a+52>>2]|0;m=k[a+16>>2]|0;n=(k[a+20>>2]|0)+(ha(k[b+4>>2]&65535,m)|0)|0;j=l[(k[i+56>>2]|0)+9>>0]|0;b=n+(ha(j,k[b>>2]&65535)|0)|0;k[i+16>>2]=b;k[i+20>>2]=f;k[i+24>>2]=g;k[i+28>>2]=m;g=m-(ha(j,f)|0)|0;k[i+32>>2]=g;g=k[c+16>>2]|0;f=(k[c+20>>2]|0)+(ha(k[d+4>>2]&65535,g)|0)|0;b=l[(k[i+60>>2]|0)+9>>0]|0;f=f+(ha(b,k[d>>2]&65535)|0)|0;k[i+36>>2]=f;f=k[d+8>>2]|0;k[i+40>>2]=f;k[i+44>>2]=k[d+12>>2];k[i+48>>2]=g;f=g-(ha(b,f)|0)|0;k[i+52>>2]=f;Si[k[i+12>>2]&1023](i+16|0);f=0}}}if(h|0)U7a(c);if(!e)return f|0;U7a(a);return f|0}function h9a(a){a=a|0;var b=0;if((i[(k[a+4>>2]|0)+8>>0]|0)!=1){a=0;return a|0}b=k[a+52>>2]|0;a=j[(k[(k[b>>2]|0)+4>>2]|0)+8>>1]|0;a=(a&255)<8?0:(a&65535)>>>8&65535;switch(k[b+68>>2]&-28673|0){case 0:{b=k[125032+(a<<2)>>2]|0;return b|0}case 256:{b=k[125052+(a<<2)>>2]|0;return b|0}case 18:{b=a>>>0>1?710:0;return b|0}case 274:{b=a>>>0>1?711:0;return b|0}default:{b=0;return b|0}}return 0}function i9a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0;j=k[a+24>>2]|0;c=k[a+28>>2]|0;b=k[a>>2]|0;d=k[a+20>>2]|0;l=k[a+36>>2]|0;g=k[a+48>>2]|0;h=(k[a+16>>2]|0)+(j-((j+7|0)/8|0))|0;if(!g){if((c|0)!=0&(j|0)>0)f=c+-1|0;else return;while(1){a=0;c=0;e=d;while(1){if(!(c&7)){a=i[b>>0]|0;b=b+1|0}i[e>>0]=(a&255)>>>7;c=c+1|0;if((c|0)==(j|0))break;else{a=(a&255)<<1&255;e=e+1|0}}if(!f)break;else{f=f+-1|0;d=d+j+l|0;b=b+h|0}}return}else{if((c|0)!=0&(j|0)>0)f=c+-1|0;else return;while(1){a=0;c=0;e=d;while(1){if(!(c&7)){a=i[b>>0]|0;b=b+1|0}i[e>>0]=i[g+((a&255)>>>7&255)>>0]|0;c=c+1|0;if((c|0)==(j|0))break;else{a=(a&255)<<1&255;e=e+1|0}}if(!f)break;else{f=f+-1|0;d=d+j+l|0;b=b+h|0}}return}}function j9a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,l=0,m=0;g=k[a+24>>2]|0;b=k[a+28>>2]|0;m=(k[a+36>>2]|0)/2|0;h=k[a+48>>2]|0;l=((g+7|0)/-8|0)+g+(k[a+16>>2]|0)|0;if(!((b|0)!=0&(g|0)>0))return;f=k[a+20>>2]|0;a=k[a>>2]|0;while(1){b=b+-1|0;c=0;d=0;e=f;while(1){if(!(d&7)){c=i[a>>0]|0;a=a+1|0}j[e>>1]=j[h+(((c&255)>>>7&255)<<1)>>1]|0;d=d+1|0;if((d|0)==(g|0))break;else{c=(c&255)<<1&255;e=e+2|0}}if(!b)break;else{f=f+(g<<1)+(m<<1)|0;a=a+l|0}}return}function k9a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0;g=k[a+24>>2]|0;b=k[a+28>>2]|0;j=k[a+36>>2]|0;l=k[a+48>>2]|0;h=((g+7|0)/-8|0)+g+(k[a+16>>2]|0)|0;if(!((b|0)!=0&(g|0)>0))return;f=k[a+20>>2]|0;a=k[a>>2]|0;while(1){b=b+-1|0;c=0;d=0;e=f;while(1){if(!(d&7)){c=i[a>>0]|0;a=a+1|0}m=((c&255)>>>7&255)<<2;i[e>>0]=i[l+m>>0]|0;i[e+1>>0]=i[l+(m|1)>>0]|0;i[e+2>>0]=i[l+((m|1)+1)>>0]|0;d=d+1|0;if((d|0)==(g|0))break;else{c=(c&255)<<1&255;e=e+3|0}}if(!b)break;else{f=f+(g*3|0)+j|0;a=a+h|0}}return}function l9a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0;g=k[a+24>>2]|0;b=k[a+28>>2]|0;l=(k[a+36>>2]|0)/4|0;h=k[a+48>>2]|0;j=((g+7|0)/-8|0)+g+(k[a+16>>2]|0)|0;if(!((b|0)!=0&(g|0)>0))return;f=k[a+20>>2]|0;a=k[a>>2]|0;while(1){b=b+-1|0;c=0;d=0;e=f;while(1){if(!(d&7)){c=i[a>>0]|0;a=a+1|0}k[e>>2]=k[h+(((c&255)>>>7&255)<<2)>>2];d=d+1|0;if((d|0)==(g|0))break;else{c=(c&255)<<1&255;e=e+4|0}}if(!b)break;else{f=f+(g<<2)+(l<<2)|0;a=a+j|0}}return}function m9a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0;l=k[a+24>>2]|0;c=k[a+28>>2]|0;b=k[a>>2]|0;d=k[a+20>>2]|0;m=k[a+36>>2]|0;n=k[a+56>>2]|0;h=k[a+48>>2]|0;j=(k[a+16>>2]|0)+(l-((l+7|0)/8|0))|0;if(!h){if((c|0)!=0&(l|0)>0)g=c+-1|0;else return;while(1){a=0;e=0;f=d;while(1){if(!(e&7)){c=i[b>>0]|0;b=b+1|0}else c=a;a=(c&255)>>>7;if((a&255|0)!=(n|0))i[f>>0]=a;e=e+1|0;if((e|0)==(l|0))break;else{a=(c&255)<<1&255;f=f+1|0}}if(!g)break;else{g=g+-1|0;d=d+l+m|0;b=b+j|0}}return}else{if((c|0)!=0&(l|0)>0)g=c+-1|0;else return;while(1){a=0;e=0;f=d;while(1){if(!(e&7)){c=i[b>>0]|0;b=b+1|0}else c=a;a=(c&255)>>>7&255;if((a|0)!=(n|0))i[f>>0]=i[h+a>>0]|0;e=e+1|0;if((e|0)==(l|0))break;else{a=(c&255)<<1&255;f=f+1|0}}if(!g)break;else{g=g+-1|0;d=d+l+m|0;b=b+j|0}}return}}function n9a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0;h=k[a+24>>2]|0;b=k[a+28>>2]|0;o=k[a+56>>2]|0;l=k[a+48>>2]|0;m=((h+7|0)/-8|0)+h+(k[a+16>>2]|0)|0;n=(k[a+36>>2]|0)/2|0;if(!((b|0)!=0&(h|0)>0))return;g=k[a+20>>2]|0;a=k[a>>2]|0;while(1){b=b+-1|0;c=0;e=0;f=g;while(1){if(!(e&7)){d=i[a>>0]|0;a=a+1|0}else d=c;c=(d&255)>>>7&255;if((c|0)!=(o|0))j[f>>1]=j[l+(c<<1)>>1]|0;e=e+1|0;if((e|0)==(h|0))break;else{c=(d&255)<<1&255;f=f+2|0}}if(!b)break;else{g=g+(h<<1)+(n<<1)|0;a=a+m|0}}return}function o9a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0;h=k[a+24>>2]|0;b=k[a+28>>2]|0;m=k[a+36>>2]|0;n=k[a+56>>2]|0;j=k[a+48>>2]|0;l=((h+7|0)/-8|0)+h+(k[a+16>>2]|0)|0;if(!((b|0)!=0&(h|0)>0))return;g=k[a+20>>2]|0;a=k[a>>2]|0;while(1){b=b+-1|0;c=0;e=0;f=g;while(1){if(!(e&7)){d=i[a>>0]|0;a=a+1|0}else d=c;c=(d&255)>>>7&255;if((c|0)!=(n|0))y7a(f,j+(c<<2)|0,3)|0;e=e+1|0;if((e|0)==(h|0))break;else{c=(d&255)<<1&255;f=f+3|0}}if(!b)break;else{g=g+(h*3|0)+m|0;a=a+l|0}}return}function p9a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0;h=k[a+24>>2]|0;b=k[a+28>>2]|0;n=k[a+56>>2]|0;j=k[a+48>>2]|0;l=((h+7|0)/-8|0)+h+(k[a+16>>2]|0)|0;m=(k[a+36>>2]|0)/4|0;if(!((b|0)!=0&(h|0)>0))return;g=k[a+20>>2]|0;a=k[a>>2]|0;while(1){b=b+-1|0;c=0;e=0;f=g;while(1){if(!(e&7)){d=i[a>>0]|0;a=a+1|0}else d=c;c=(d&255)>>>7&255;if((c|0)!=(n|0))k[f>>2]=k[j+(c<<2)>>2];e=e+1|0;if((e|0)==(h|0))break;else{c=(d&255)<<1&255;f=f+4|0}}if(!b)break;else{g=g+(h<<2)+(m<<2)|0;a=a+l|0}}return}function q9a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;s=k[a+24>>2]|0;b=k[a+28>>2]|0;z=k[a+36>>2]|0;t=k[(k[(k[a+40>>2]|0)+4>>2]|0)+4>>2]|0;u=k[a+44>>2]|0;v=l[a+63>>0]|0;w=l[u+9>>0]|0;x=((s+7|0)/-8|0)+s+(k[a+16>>2]|0)|0;if(!b)return;y=ha(s,w)|0;c=k[a+20>>2]|0;a=k[a>>2]|0;while(1){b=b+-1|0;if((s|0)>0){d=0;q=0;r=c;while(1){if(!(q&7)){d=i[a>>0]|0;a=a+1|0}p=d&255;o=(d&255)>>>7&255;d=l[t+(o<<2)>>0]|0;n=l[t+(o<<2)+1>>0]|0;o=l[t+(o<<2)+2>>0]|0;switch(w|0){case 1:{A=l[r>>0]|0;h=k[u+32>>2]|0;B=k[u+28>>2]|0;e=i[(k[124356+(B>>>24<<2)>>2]|0)+((k[u+24>>2]&A)>>>(h>>>24))>>0]|0;f=i[(k[124356+((B>>>16&255)<<2)>>2]|0)+((k[u+20>>2]&A)>>>(h>>>16&255))>>0]|0;g=i[(k[124356+((B>>>8&255)<<2)>>2]|0)+((k[u+16>>2]&A)>>>(h>>>8&255))>>0]|0;h=i[(k[124356+((B&255)<<2)>>2]|0)+((A&k[u+12>>2])>>>(h&255))>>0]|0;break}case 2:{B=m[r>>1]|0;h=k[u+32>>2]|0;A=k[u+28>>2]|0;e=i[(k[124356+(A>>>24<<2)>>2]|0)+((k[u+24>>2]&B)>>>(h>>>24))>>0]|0;f=i[(k[124356+((A>>>16&255)<<2)>>2]|0)+((k[u+20>>2]&B)>>>(h>>>16&255))>>0]|0;g=i[(k[124356+((A>>>8&255)<<2)>>2]|0)+((k[u+16>>2]&B)>>>(h>>>8&255))>>0]|0;h=i[(k[124356+((A&255)<<2)>>2]|0)+((B&k[u+12>>2])>>>(h&255))>>0]|0;break}case 3:{h=k[u+32>>2]|0;e=-1;f=i[r+(h>>>19&31)>>0]|0;g=i[r+(h>>>11&31)>>0]|0;h=i[r+(h>>>3&31)>>0]|0;break}case 4:{B=k[r>>2]|0;h=k[u+32>>2]|0;A=k[u+28>>2]|0;e=i[(k[124356+(A>>>24<<2)>>2]|0)+((k[u+24>>2]&B)>>>(h>>>24))>>0]|0;f=i[(k[124356+((A>>>16&255)<<2)>>2]|0)+((k[u+20>>2]&B)>>>(h>>>16&255))>>0]|0;g=i[(k[124356+((A>>>8&255)<<2)>>2]|0)+((k[u+16>>2]&B)>>>(h>>>8&255))>>0]|0;h=i[(k[124356+((A&255)<<2)>>2]|0)+((k[u+12>>2]&B)>>>(h&255))>>0]|0;break}default:{e=0;f=0;g=0;h=0}}e=e&255;B=f&255;f=g&255;g=h&255;g=(((ha(d-g|0,v)|0)>>>0)/255|0)+g|0;f=(((ha(n-f|0,v)|0)>>>0)/255|0)+f|0;d=(((ha(o-B|0,v)|0)>>>0)/255|0)+B|0;e=e+v-(((ha(e,v)|0)>>>0)/255|0)|0;switch(w|0){case 1:{A=k[u+28>>2]|0;B=k[u+32>>2]|0;i[r>>0]=f>>>(A>>>8&255)<<(B>>>8&255)|g>>>(A&255)<<(B&255)|d>>>(A>>>16&255)<<(B>>>16&255)|e>>>(A>>>24)<<(B>>>24);break}case 2:{A=k[u+28>>2]|0;B=k[u+32>>2]|0;j[r>>1]=f>>>(A>>>8&255)<<(B>>>8&255)|g>>>(A&255)<<(B&255)|d>>>(A>>>16&255)<<(B>>>16&255)|e>>>(A>>>24)<<(B>>>24);break}case 3:{i[r+((l[u+32>>0]|0)>>>3&255)>>0]=g;i[r+((l[u+33>>0]|0)>>>3&255)>>0]=f;i[r+((l[u+34>>0]|0)>>>3&255)>>0]=d;break}case 4:{A=k[u+28>>2]|0;B=k[u+32>>2]|0;k[r>>2]=f>>>(A>>>8&255)<<(B>>>8&255)|g>>>(A&255)<<(B&255)|d>>>(A>>>16&255)<<(B>>>16&255)|e>>>(A>>>24)<<(B>>>24);break}default:{}}q=q+1|0;if((q|0)==(s|0))break;else{d=p<<1&255;r=r+w|0}}c=c+y|0}if(!b)break;else{c=c+z|0;a=a+x|0}}return}function r9a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;s=k[a+24>>2]|0;b=k[a+28>>2]|0;A=k[a+36>>2]|0;t=k[a+44>>2]|0;u=k[(k[(k[a+40>>2]|0)+4>>2]|0)+4>>2]|0;v=l[a+63>>0]|0;w=k[a+56>>2]|0;x=l[t+9>>0]|0;y=((s+7|0)/-8|0)+s+(k[a+16>>2]|0)|0;if(!b)return;z=ha(s,x)|0;c=k[a+20>>2]|0;a=k[a>>2]|0;while(1){b=b+-1|0;if((s|0)>0){d=0;q=0;r=c;while(1){if(!(q&7)){d=i[a>>0]|0;a=a+1|0}p=d&255;d=(d&255)>>>7&255;a:do if((d|0)!=(w|0)){h=l[u+(d<<2)>>0]|0;n=l[u+(d<<2)+1>>0]|0;o=l[u+(d<<2)+2>>0]|0;switch(x|0){case 1:{B=l[r>>0]|0;g=k[t+32>>2]|0;C=k[t+28>>2]|0;d=i[(k[124356+(C>>>24<<2)>>2]|0)+((k[t+24>>2]&B)>>>(g>>>24))>>0]|0;e=i[(k[124356+((C>>>16&255)<<2)>>2]|0)+((k[t+20>>2]&B)>>>(g>>>16&255))>>0]|0;f=i[(k[124356+((C>>>8&255)<<2)>>2]|0)+((k[t+16>>2]&B)>>>(g>>>8&255))>>0]|0;g=i[(k[124356+((C&255)<<2)>>2]|0)+((B&k[t+12>>2])>>>(g&255))>>0]|0;break}case 2:{C=m[r>>1]|0;g=k[t+32>>2]|0;B=k[t+28>>2]|0;d=i[(k[124356+(B>>>24<<2)>>2]|0)+((k[t+24>>2]&C)>>>(g>>>24))>>0]|0;e=i[(k[124356+((B>>>16&255)<<2)>>2]|0)+((k[t+20>>2]&C)>>>(g>>>16&255))>>0]|0;f=i[(k[124356+((B>>>8&255)<<2)>>2]|0)+((k[t+16>>2]&C)>>>(g>>>8&255))>>0]|0;g=i[(k[124356+((B&255)<<2)>>2]|0)+((C&k[t+12>>2])>>>(g&255))>>0]|0;break}case 3:{g=k[t+32>>2]|0;d=-1;e=i[r+(g>>>19&31)>>0]|0;f=i[r+(g>>>11&31)>>0]|0;g=i[r+(g>>>3&31)>>0]|0;break}case 4:{C=k[r>>2]|0;g=k[t+32>>2]|0;B=k[t+28>>2]|0;d=i[(k[124356+(B>>>24<<2)>>2]|0)+((k[t+24>>2]&C)>>>(g>>>24))>>0]|0;e=i[(k[124356+((B>>>16&255)<<2)>>2]|0)+((k[t+20>>2]&C)>>>(g>>>16&255))>>0]|0;f=i[(k[124356+((B>>>8&255)<<2)>>2]|0)+((k[t+16>>2]&C)>>>(g>>>8&255))>>0]|0;g=i[(k[124356+((B&255)<<2)>>2]|0)+((k[t+12>>2]&C)>>>(g&255))>>0]|0;break}default:{d=0;e=0;f=0;g=0}}C=d&255;d=e&255;f=f&255;g=g&255;g=(((ha(h-g|0,v)|0)>>>0)/255|0)+g|0;f=(((ha(n-f|0,v)|0)>>>0)/255|0)+f|0;d=(((ha(o-d|0,v)|0)>>>0)/255|0)+d|0;e=C+v-(((ha(C,v)|0)>>>0)/255|0)|0;switch(x|0){case 1:{B=k[t+28>>2]|0;C=k[t+32>>2]|0;i[r>>0]=f>>>(B>>>8&255)<<(C>>>8&255)|g>>>(B&255)<<(C&255)|d>>>(B>>>16&255)<<(C>>>16&255)|e>>>(B>>>24)<<(C>>>24);break a}case 2:{B=k[t+28>>2]|0;C=k[t+32>>2]|0;j[r>>1]=f>>>(B>>>8&255)<<(C>>>8&255)|g>>>(B&255)<<(C&255)|d>>>(B>>>16&255)<<(C>>>16&255)|e>>>(B>>>24)<<(C>>>24);break a}case 3:{i[r+((l[t+32>>0]|0)>>>3&255)>>0]=g;i[r+((l[t+33>>0]|0)>>>3&255)>>0]=f;i[r+((l[t+34>>0]|0)>>>3&255)>>0]=d;break a}case 4:{B=k[t+28>>2]|0;C=k[t+32>>2]|0;k[r>>2]=f>>>(B>>>8&255)<<(C>>>8&255)|g>>>(B&255)<<(C&255)|d>>>(B>>>16&255)<<(C>>>16&255)|e>>>(B>>>24)<<(C>>>24);break a}default:break a}}while(0);q=q+1|0;if((q|0)==(s|0))break;else{d=p<<1&255;r=r+x|0}}c=c+z|0}if(!b)break;else{c=c+A|0;a=a+y|0}}return}function s9a(a){a=a|0;var b=0;b=k[a+52>>2]|0;a=j[(k[(k[b>>2]|0)+4>>2]|0)+8>>1]|0;a=(a&255)<8?0:(a&65535)>>>8&65535;switch(k[b+68>>2]&-28673|0){case 0:{b=k[125072+(a<<2)>>2]|0;return b|0}case 256:{b=k[125092+(a<<2)>>2]|0;return b|0}case 18:{b=a>>>0>1?712:0;return b|0}case 274:{b=a>>>0>1?713:0;return b|0}default:{b=0;return b|0}}return 0}function t9a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0;j=k[a+24>>2]|0;b=k[a+28>>2]|0;d=k[a>>2]|0;n=k[a+16>>2]|0;c=k[a+20>>2]|0;m=k[a+36>>2]|0;h=k[a+48>>2]|0;if(!b)return;switch(j&7|0){case 0:{e=b+-1|0;a=c;b=d;while(1){c=(j+7|0)/8|0;while(1){i[a>>0]=i[h+(l[b>>0]|0)>>0]|0;i[a+1>>0]=i[h+(l[b+1>>0]|0)>>0]|0;i[a+2>>0]=i[h+(l[b+2>>0]|0)>>0]|0;i[a+3>>0]=i[h+(l[b+3>>0]|0)>>0]|0;i[a+4>>0]=i[h+(l[b+4>>0]|0)>>0]|0;i[a+5>>0]=i[h+(l[b+5>>0]|0)>>0]|0;i[a+6>>0]=i[h+(l[b+6>>0]|0)>>0]|0;i[a+7>>0]=i[h+(l[b+7>>0]|0)>>0]|0;a=a+8|0;b=b+8|0;if((c|0)>1)c=c+-1|0;else break}if(!e)break;else{e=e+-1|0;a=a+m|0;b=b+n|0}}return}case 7:{f=b+-1|0;a=c;b=d;while(1){e=(j+7|0)/8|0;while(1){i[a>>0]=i[h+(l[b>>0]|0)>>0]|0;i[a+1>>0]=i[h+(l[b+1>>0]|0)>>0]|0;i[a+2>>0]=i[h+(l[b+2>>0]|0)>>0]|0;i[a+3>>0]=i[h+(l[b+3>>0]|0)>>0]|0;i[a+4>>0]=i[h+(l[b+4>>0]|0)>>0]|0;i[a+5>>0]=i[h+(l[b+5>>0]|0)>>0]|0;i[a+6>>0]=i[h+(l[b+6>>0]|0)>>0]|0;c=a+7|0;d=b+7|0;if((e|0)<=1)break;i[c>>0]=i[h+(l[d>>0]|0)>>0]|0;a=a+8|0;e=e+-1|0;b=b+8|0}if(!f)break;else{f=f+-1|0;a=c+m|0;b=d+n|0}}return}default:{g=b+-1|0;a=c;b=d;a:while(1){switch(j&7|0){case 1:{e=(j+7|0)/8|0;d=b;f=17;break}case 2:{c=(j+7|0)/8|0;f=16;break}case 6:{c=(j+7|0)/8|0;f=12;break}case 5:{c=(j+7|0)/8|0;f=13;break}case 4:{c=(j+7|0)/8|0;f=14;break}case 3:{c=(j+7|0)/8|0;f=15;break}default:{f=18;break a}}while(1)if((f|0)==12){i[a>>0]=i[h+(l[b>>0]|0)>>0]|0;a=a+1|0;b=b+1|0;f=13;continue}else if((f|0)==13){i[a>>0]=i[h+(l[b>>0]|0)>>0]|0;a=a+1|0;b=b+1|0;f=14;continue}else if((f|0)==14){i[a>>0]=i[h+(l[b>>0]|0)>>0]|0;a=a+1|0;b=b+1|0;f=15;continue}else if((f|0)==15){i[a>>0]=i[h+(l[b>>0]|0)>>0]|0;a=a+1|0;b=b+1|0;f=16;continue}else if((f|0)==16){i[a>>0]=i[h+(l[b>>0]|0)>>0]|0;a=a+1|0;e=c;d=b+1|0;f=17;continue}else if((f|0)==17){i[a>>0]=i[h+(l[d>>0]|0)>>0]|0;b=a+1|0;c=d+1|0;if((e|0)<=1)break;i[b>>0]=i[h+(l[c>>0]|0)>>0]|0;i[a+2>>0]=i[h+(l[d+2>>0]|0)>>0]|0;a=a+3|0;c=e+-1|0;b=d+3|0;f=12;continue}if(!g){f=20;break}else{g=g+-1|0;a=b+m|0;b=c+n|0}}if((f|0)!=18)if((f|0)==20)return}}}function u9a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,m=0,n=0;i=k[a+24>>2]|0;b=k[a+28>>2]|0;d=k[a>>2]|0;n=k[a+16>>2]|0;c=k[a+20>>2]|0;m=k[a+36>>2]|0;h=k[a+48>>2]|0;if(!b)return;if(!(i&7)){e=b+-1|0;a=c;b=d;while(1){d=(i+7|0)/8|0;while(1){j[a>>1]=j[h+((l[b>>0]|0)<<1)>>1]|0;j[a+2>>1]=j[h+((l[b+1>>0]|0)<<1)>>1]|0;j[a+4>>1]=j[h+((l[b+2>>0]|0)<<1)>>1]|0;j[a+6>>1]=j[h+((l[b+3>>0]|0)<<1)>>1]|0;j[a+8>>1]=j[h+((l[b+4>>0]|0)<<1)>>1]|0;j[a+10>>1]=j[h+((l[b+5>>0]|0)<<1)>>1]|0;j[a+12>>1]=j[h+((l[b+6>>0]|0)<<1)>>1]|0;c=b+8|0;j[a+14>>1]=j[h+((l[b+7>>0]|0)<<1)>>1]|0;a=a+16|0;if((d|0)>1){d=d+-1|0;b=c}else break}if(!e)break;else{e=e+-1|0;a=a+m|0;b=c+n|0}}return}else{g=b+-1|0;a=c;b=d}a:while(1){switch(i&7|0){case 1:{e=(i+7|0)/8|0;d=b;f=14;break}case 7:{c=(i+7|0)/8|0;f=8;break}case 6:{c=(i+7|0)/8|0;f=9;break}case 5:{c=(i+7|0)/8|0;f=10;break}case 4:{c=(i+7|0)/8|0;f=11;break}case 3:{c=(i+7|0)/8|0;f=12;break}case 2:{c=(i+7|0)/8|0;f=13;break}default:{f=15;break a}}while(1)if((f|0)==8){j[a>>1]=j[h+((l[b>>0]|0)<<1)>>1]|0;a=a+2|0;b=b+1|0;f=9;continue}else if((f|0)==9){j[a>>1]=j[h+((l[b>>0]|0)<<1)>>1]|0;a=a+2|0;b=b+1|0;f=10;continue}else if((f|0)==10){j[a>>1]=j[h+((l[b>>0]|0)<<1)>>1]|0;a=a+2|0;b=b+1|0;f=11;continue}else if((f|0)==11){j[a>>1]=j[h+((l[b>>0]|0)<<1)>>1]|0;a=a+2|0;b=b+1|0;f=12;continue}else if((f|0)==12){j[a>>1]=j[h+((l[b>>0]|0)<<1)>>1]|0;a=a+2|0;b=b+1|0;f=13;continue}else if((f|0)==13){j[a>>1]=j[h+((l[b>>0]|0)<<1)>>1]|0;a=a+2|0;e=c;d=b+1|0;f=14;continue}else if((f|0)==14){c=d+1|0;j[a>>1]=j[h+((l[d>>0]|0)<<1)>>1]|0;b=a+2|0;if((e|0)<=1)break;j[b>>1]=j[h+((l[c>>0]|0)<<1)>>1]|0;a=a+4|0;c=e+-1|0;b=d+2|0;f=8;continue}if(!g){f=17;break}else{g=g+-1|0;a=b+m|0;b=c+n|0}}if((f|0)!=15)if((f|0)==17)return}function v9a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0;f=k[a+24>>2]|0;b=k[a+28>>2]|0;g=k[a+16>>2]|0;h=k[a+36>>2]|0;j=k[a+48>>2]|0;if(!b)return;c=k[a+20>>2]|0;a=k[a>>2]|0;a:while(1){b=b+-1|0;switch(f&7|0){case 0:{d=(f+7|0)/8|0;e=4;break}case 7:{d=(f+7|0)/8|0;e=5;break}case 6:{d=(f+7|0)/8|0;e=6;break}case 5:{d=(f+7|0)/8|0;e=7;break}case 4:{d=(f+7|0)/8|0;e=8;break}case 3:{d=(f+7|0)/8|0;e=9;break}case 2:{d=(f+7|0)/8|0;e=10;break}case 1:{d=(f+7|0)/8|0;e=11;break}default:{e=12;break a}}while(1)if((e|0)==4){m=(l[a>>0]|0)<<2;i[c>>0]=i[j+m>>0]|0;i[c+1>>0]=i[j+(m|1)>>0]|0;i[c+2>>0]=i[j+((m|1)+1)>>0]|0;c=c+3|0;a=a+1|0;e=5;continue}else if((e|0)==5){m=(l[a>>0]|0)<<2;i[c>>0]=i[j+m>>0]|0;i[c+1>>0]=i[j+(m|1)>>0]|0;i[c+2>>0]=i[j+((m|1)+1)>>0]|0;c=c+3|0;a=a+1|0;e=6;continue}else if((e|0)==6){m=(l[a>>0]|0)<<2;i[c>>0]=i[j+m>>0]|0;i[c+1>>0]=i[j+(m|1)>>0]|0;i[c+2>>0]=i[j+((m|1)+1)>>0]|0;c=c+3|0;a=a+1|0;e=7;continue}else if((e|0)==7){m=(l[a>>0]|0)<<2;i[c>>0]=i[j+m>>0]|0;i[c+1>>0]=i[j+(m|1)>>0]|0;i[c+2>>0]=i[j+((m|1)+1)>>0]|0;c=c+3|0;a=a+1|0;e=8;continue}else if((e|0)==8){m=(l[a>>0]|0)<<2;i[c>>0]=i[j+m>>0]|0;i[c+1>>0]=i[j+(m|1)>>0]|0;i[c+2>>0]=i[j+((m|1)+1)>>0]|0;c=c+3|0;a=a+1|0;e=9;continue}else if((e|0)==9){m=(l[a>>0]|0)<<2;i[c>>0]=i[j+m>>0]|0;i[c+1>>0]=i[j+(m|1)>>0]|0;i[c+2>>0]=i[j+((m|1)+1)>>0]|0;c=c+3|0;a=a+1|0;e=10;continue}else if((e|0)==10){m=(l[a>>0]|0)<<2;i[c>>0]=i[j+m>>0]|0;i[c+1>>0]=i[j+(m|1)>>0]|0;i[c+2>>0]=i[j+((m|1)+1)>>0]|0;c=c+3|0;a=a+1|0;e=11;continue}else if((e|0)==11){m=(l[a>>0]|0)<<2;i[c>>0]=i[j+m>>0]|0;i[c+1>>0]=i[j+(m|1)>>0]|0;i[c+2>>0]=i[j+((m|1)+1)>>0]|0;a=a+1|0;c=c+3|0;if((d|0)>1){d=d+-1|0;e=4;continue}else break}if(!b){e=14;break}else{c=c+h|0;a=a+g|0}}if((e|0)!=12)if((e|0)==14)return}function w9a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,m=0;i=k[a+24>>2]|0;b=k[a+28>>2]|0;d=k[a>>2]|0;m=k[a+16>>2]|0;c=k[a+20>>2]|0;j=(k[a+36>>2]|0)/4|0;h=k[a+48>>2]|0;if(!b)return;if(!(i&7)){f=b+-1|0;a=c;b=d;while(1){e=(i+7|0)/8|0;while(1){k[a>>2]=k[h+((l[b>>0]|0)<<2)>>2];k[a+4>>2]=k[h+((l[b+1>>0]|0)<<2)>>2];k[a+8>>2]=k[h+((l[b+2>>0]|0)<<2)>>2];k[a+12>>2]=k[h+((l[b+3>>0]|0)<<2)>>2];k[a+16>>2]=k[h+((l[b+4>>0]|0)<<2)>>2];k[a+20>>2]=k[h+((l[b+5>>0]|0)<<2)>>2];k[a+24>>2]=k[h+((l[b+6>>0]|0)<<2)>>2];d=b+8|0;c=a+32|0;k[a+28>>2]=k[h+((l[b+7>>0]|0)<<2)>>2];if((e|0)>1){a=c;e=e+-1|0;b=d}else break}if(!f)break;else{f=f+-1|0;a=c+(j<<2)|0;b=d+m|0}}return}else{g=b+-1|0;a=c;b=d}a:while(1){switch(i&7|0){case 1:{e=(i+7|0)/8|0;d=b;f=14;break}case 7:{c=(i+7|0)/8|0;f=8;break}case 6:{c=(i+7|0)/8|0;f=9;break}case 5:{c=(i+7|0)/8|0;f=10;break}case 4:{c=(i+7|0)/8|0;f=11;break}case 3:{c=(i+7|0)/8|0;f=12;break}case 2:{c=(i+7|0)/8|0;f=13;break}default:{f=15;break a}}while(1)if((f|0)==8){k[a>>2]=k[h+((l[b>>0]|0)<<2)>>2];a=a+4|0;b=b+1|0;f=9;continue}else if((f|0)==9){k[a>>2]=k[h+((l[b>>0]|0)<<2)>>2];a=a+4|0;b=b+1|0;f=10;continue}else if((f|0)==10){k[a>>2]=k[h+((l[b>>0]|0)<<2)>>2];a=a+4|0;b=b+1|0;f=11;continue}else if((f|0)==11){k[a>>2]=k[h+((l[b>>0]|0)<<2)>>2];a=a+4|0;b=b+1|0;f=12;continue}else if((f|0)==12){k[a>>2]=k[h+((l[b>>0]|0)<<2)>>2];a=a+4|0;b=b+1|0;f=13;continue}else if((f|0)==13){k[a>>2]=k[h+((l[b>>0]|0)<<2)>>2];a=a+4|0;e=c;d=b+1|0;f=14;continue}else if((f|0)==14){c=d+1|0;b=a+4|0;k[a>>2]=k[h+((l[d>>0]|0)<<2)>>2];if((e|0)<=1)break;k[b>>2]=k[h+((l[c>>0]|0)<<2)>>2];a=a+8|0;c=e+-1|0;b=d+2|0;f=8;continue}if(!g){f=17;break}else{g=g+-1|0;a=b+(j<<2)|0;b=c+m|0}}if((f|0)!=15)if((f|0)==17)return}function x9a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0;Z=k[a+24>>2]|0;d=k[a+28>>2]|0;c=k[a>>2]|0;$=k[a+16>>2]|0;b=k[a+20>>2]|0;_=k[a+36>>2]|0;X=k[a+48>>2]|0;Y=k[a+56>>2]|0;if(!X){if(!d)return;if(!(Z&7)){e=d+-1|0;while(1){a=b;d=(Z+7|0)/8|0;while(1){b=i[c>>0]|0;if((b&255|0)!=(Y|0))i[a>>0]=b;b=i[c+1>>0]|0;if((b&255|0)!=(Y|0))i[a+1>>0]=b;b=i[c+2>>0]|0;if((b&255|0)!=(Y|0))i[a+2>>0]=b;b=i[c+3>>0]|0;if((b&255|0)!=(Y|0))i[a+3>>0]=b;b=i[c+4>>0]|0;if((b&255|0)!=(Y|0))i[a+4>>0]=b;b=i[c+5>>0]|0;if((b&255|0)!=(Y|0))i[a+5>>0]=b;b=i[c+6>>0]|0;if((b&255|0)!=(Y|0))i[a+6>>0]=b;b=i[c+7>>0]|0;if((b&255|0)!=(Y|0))i[a+7>>0]=b;b=a+8|0;c=c+8|0;if((d|0)>1){a=b;d=d+-1|0}else break}if(!e)break;else{e=e+-1|0;b=b+_|0;c=c+$|0}}return}else d=d+-1|0;a:while(1){switch(Z&7|0){case 1:{n=b;I=(Z+7|0)/8|0;P=c;b=93;break}case 7:{e=b;C=(Z+7|0)/8|0;J=c;b=75;break}case 6:{f=b;D=(Z+7|0)/8|0;K=c;b=78;break}case 5:{g=b;E=(Z+7|0)/8|0;L=c;b=81;break}case 4:{h=b;F=(Z+7|0)/8|0;M=c;b=84;break}case 3:{j=b;G=(Z+7|0)/8|0;N=c;b=87;break}case 2:{m=b;H=(Z+7|0)/8|0;O=c;b=90;break}default:{b=96;break a}}while(1)if((b|0)==75){b=i[J>>0]|0;if((b&255|0)!=(Y|0))i[e>>0]=b;f=e+1|0;D=C;K=J+1|0;b=78;continue}else if((b|0)==78){b=i[K>>0]|0;if((b&255|0)!=(Y|0))i[f>>0]=b;g=f+1|0;E=D;L=K+1|0;b=81;continue}else if((b|0)==81){b=i[L>>0]|0;if((b&255|0)!=(Y|0))i[g>>0]=b;h=g+1|0;F=E;M=L+1|0;b=84;continue}else if((b|0)==84){b=i[M>>0]|0;if((b&255|0)!=(Y|0))i[h>>0]=b;j=h+1|0;G=F;N=M+1|0;b=87;continue}else if((b|0)==87){b=i[N>>0]|0;if((b&255|0)!=(Y|0))i[j>>0]=b;m=j+1|0;H=G;O=N+1|0;b=90;continue}else if((b|0)==90){b=i[O>>0]|0;if((b&255|0)!=(Y|0))i[m>>0]=b;n=m+1|0;I=H;P=O+1|0;b=93;continue}else if((b|0)==93){b=i[P>>0]|0;if((b&255|0)!=(Y|0))i[n>>0]=b;a=n+1|0;c=P+1|0;if((I|0)<=1)break;b=i[c>>0]|0;if((b&255|0)!=(Y|0))i[a>>0]=b;e=n+2|0;C=I+-1|0;J=P+2|0;b=75;continue}if(!d){b=98;break}else{d=d+-1|0;b=a+_|0;c=c+$|0}}if((b|0)!=96)if((b|0)==98)return}else{if(!d)return;if(!(Z&7)){e=d+-1|0;while(1){d=(Z+7|0)/8|0;while(1){a=l[c>>0]|0;if((a|0)!=(Y|0))i[b>>0]=i[X+a>>0]|0;a=l[c+1>>0]|0;if((a|0)!=(Y|0))i[b+1>>0]=i[X+a>>0]|0;a=l[c+2>>0]|0;if((a|0)!=(Y|0))i[b+2>>0]=i[X+a>>0]|0;a=l[c+3>>0]|0;if((a|0)!=(Y|0))i[b+3>>0]=i[X+a>>0]|0;a=l[c+4>>0]|0;if((a|0)!=(Y|0))i[b+4>>0]=i[X+a>>0]|0;a=l[c+5>>0]|0;if((a|0)!=(Y|0))i[b+5>>0]=i[X+a>>0]|0;a=l[c+6>>0]|0;if((a|0)!=(Y|0))i[b+6>>0]=i[X+a>>0]|0;a=l[c+7>>0]|0;if((a|0)!=(Y|0))i[b+7>>0]=i[X+a>>0]|0;b=b+8|0;c=c+8|0;if((d|0)>1)d=d+-1|0;else break}if(!e)break;else{e=e+-1|0;b=b+_|0;c=c+$|0}}return}else d=d+-1|0;b:while(1){switch(Z&7|0){case 1:{u=b;B=(Z+7|0)/8|0;W=c;b=66;break}case 7:{o=b;v=(Z+7|0)/8|0;Q=c;b=48;break}case 6:{p=b;w=(Z+7|0)/8|0;R=c;b=51;break}case 5:{q=b;x=(Z+7|0)/8|0;S=c;b=54;break}case 4:{r=b;y=(Z+7|0)/8|0;T=c;b=57;break}case 3:{s=b;z=(Z+7|0)/8|0;U=c;b=60;break}case 2:{t=b;A=(Z+7|0)/8|0;V=c;b=63;break}default:{b=69;break b}}while(1)if((b|0)==48){b=l[Q>>0]|0;if((b|0)!=(Y|0))i[o>>0]=i[X+b>>0]|0;p=o+1|0;w=v;R=Q+1|0;b=51;continue}else if((b|0)==51){b=l[R>>0]|0;if((b|0)!=(Y|0))i[p>>0]=i[X+b>>0]|0;q=p+1|0;x=w;S=R+1|0;b=54;continue}else if((b|0)==54){b=l[S>>0]|0;if((b|0)!=(Y|0))i[q>>0]=i[X+b>>0]|0;r=q+1|0;y=x;T=S+1|0;b=57;continue}else if((b|0)==57){b=l[T>>0]|0;if((b|0)!=(Y|0))i[r>>0]=i[X+b>>0]|0;s=r+1|0;z=y;U=T+1|0;b=60;continue}else if((b|0)==60){b=l[U>>0]|0;if((b|0)!=(Y|0))i[s>>0]=i[X+b>>0]|0;t=s+1|0;A=z;V=U+1|0;b=63;continue}else if((b|0)==63){b=l[V>>0]|0;if((b|0)!=(Y|0))i[t>>0]=i[X+b>>0]|0;u=t+1|0;B=A;W=V+1|0;b=66;continue}else if((b|0)==66){b=l[W>>0]|0;if((b|0)!=(Y|0))i[u>>0]=i[X+b>>0]|0;a=u+1|0;c=W+1|0;if((B|0)<=1)break;b=l[c>>0]|0;if((b|0)!=(Y|0))i[a>>0]=i[X+b>>0]|0;o=u+2|0;v=B+-1|0;Q=W+2|0;b=48;continue}if(!d){b=98;break}else{d=d+-1|0;b=a+_|0;c=c+$|0}}if((b|0)!=69)if((b|0)==98)return}}function y9a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,m=0,n=0,o=0;i=k[a+24>>2]|0;b=k[a+28>>2]|0;d=k[a>>2]|0;o=k[a+16>>2]|0;c=k[a+20>>2]|0;m=k[a+48>>2]|0;n=k[a+56>>2]|0;h=(k[a+36>>2]|0)/2|0;if(!b)return;if(!(i&7)){e=b+-1|0;a=c;b=d;while(1){d=(i+7|0)/8|0;c=b;while(1){b=l[c>>0]|0;if((b|0)!=(n|0))j[a>>1]=j[m+(b<<1)>>1]|0;b=l[c+1>>0]|0;if((b|0)!=(n|0))j[a+2>>1]=j[m+(b<<1)>>1]|0;b=l[c+2>>0]|0;if((b|0)!=(n|0))j[a+4>>1]=j[m+(b<<1)>>1]|0;b=l[c+3>>0]|0;if((b|0)!=(n|0))j[a+6>>1]=j[m+(b<<1)>>1]|0;b=l[c+4>>0]|0;if((b|0)!=(n|0))j[a+8>>1]=j[m+(b<<1)>>1]|0;b=l[c+5>>0]|0;if((b|0)!=(n|0))j[a+10>>1]=j[m+(b<<1)>>1]|0;b=l[c+6>>0]|0;if((b|0)!=(n|0))j[a+12>>1]=j[m+(b<<1)>>1]|0;b=l[c+7>>0]|0;if((b|0)!=(n|0))j[a+14>>1]=j[m+(b<<1)>>1]|0;b=c+8|0;a=a+16|0;if((d|0)>1){d=d+-1|0;c=b}else break}if(!e)break;else{e=e+-1|0;a=a+(h<<1)|0;b=b+o|0}}return}else{g=b+-1|0;a=c}a:while(1){switch(i&7|0){case 1:{e=a;f=(i+7|0)/8|0;a=44;break}case 7:{b=a;c=(i+7|0)/8|0;a=26;break}case 6:{b=a;c=(i+7|0)/8|0;a=29;break}case 5:{b=a;c=(i+7|0)/8|0;a=32;break}case 4:{b=a;c=(i+7|0)/8|0;a=35;break}case 3:{b=a;c=(i+7|0)/8|0;a=38;break}case 2:{b=a;c=(i+7|0)/8|0;a=41;break}default:{a=47;break a}}while(1)if((a|0)==26){a=l[d>>0]|0;if((a|0)!=(n|0))j[b>>1]=j[m+(a<<1)>>1]|0;b=b+2|0;d=d+1|0;a=29;continue}else if((a|0)==29){a=l[d>>0]|0;if((a|0)!=(n|0))j[b>>1]=j[m+(a<<1)>>1]|0;b=b+2|0;d=d+1|0;a=32;continue}else if((a|0)==32){a=l[d>>0]|0;if((a|0)!=(n|0))j[b>>1]=j[m+(a<<1)>>1]|0;b=b+2|0;d=d+1|0;a=35;continue}else if((a|0)==35){a=l[d>>0]|0;if((a|0)!=(n|0))j[b>>1]=j[m+(a<<1)>>1]|0;b=b+2|0;d=d+1|0;a=38;continue}else if((a|0)==38){a=l[d>>0]|0;if((a|0)!=(n|0))j[b>>1]=j[m+(a<<1)>>1]|0;b=b+2|0;d=d+1|0;a=41;continue}else if((a|0)==41){a=l[d>>0]|0;if((a|0)!=(n|0))j[b>>1]=j[m+(a<<1)>>1]|0;e=b+2|0;f=c;d=d+1|0;a=44;continue}else if((a|0)==44){a=l[d>>0]|0;if((a|0)!=(n|0))j[e>>1]=j[m+(a<<1)>>1]|0;b=d+1|0;c=e+2|0;if((f|0)<=1)break;a=l[b>>0]|0;if((a|0)!=(n|0))j[c>>1]=j[m+(a<<1)>>1]|0;b=e+4|0;c=f+-1|0;d=d+2|0;a=26;continue}if(!g){a=49;break}else{g=g+-1|0;a=c+(h<<1)|0;d=b+o|0}}if((a|0)!=47)if((a|0)==49)return}function z9a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0;f=k[a+24>>2]|0;b=k[a+28>>2]|0;h=k[a+16>>2]|0;j=k[a+36>>2]|0;m=k[a+48>>2]|0;g=k[a+56>>2]|0;if(!b)return;c=k[a+20>>2]|0;d=k[a>>2]|0;a:while(1){b=b+-1|0;switch(f&7|0){case 0:{e=(f+7|0)/8|0;a=4;break}case 7:{e=(f+7|0)/8|0;a=7;break}case 6:{e=(f+7|0)/8|0;a=10;break}case 5:{e=(f+7|0)/8|0;a=13;break}case 4:{e=(f+7|0)/8|0;a=16;break}case 3:{e=(f+7|0)/8|0;a=19;break}case 2:{e=(f+7|0)/8|0;a=22;break}case 1:{e=(f+7|0)/8|0;a=25;break}default:{a=28;break a}}while(1)if((a|0)==4){a=l[d>>0]|0;if((a|0)!=(g|0)){i[c>>0]=i[m+(a<<2)>>0]|0;i[c+1>>0]=i[m+(a<<2|1)>>0]|0;i[c+2>>0]=i[m+((a<<2|1)+1)>>0]|0}c=c+3|0;d=d+1|0;a=7;continue}else if((a|0)==7){a=l[d>>0]|0;if((a|0)!=(g|0)){i[c>>0]=i[m+(a<<2)>>0]|0;i[c+1>>0]=i[m+(a<<2|1)>>0]|0;i[c+2>>0]=i[m+((a<<2|1)+1)>>0]|0}c=c+3|0;d=d+1|0;a=10;continue}else if((a|0)==10){a=l[d>>0]|0;if((a|0)!=(g|0)){i[c>>0]=i[m+(a<<2)>>0]|0;i[c+1>>0]=i[m+(a<<2|1)>>0]|0;i[c+2>>0]=i[m+((a<<2|1)+1)>>0]|0}c=c+3|0;d=d+1|0;a=13;continue}else if((a|0)==13){a=l[d>>0]|0;if((a|0)!=(g|0)){i[c>>0]=i[m+(a<<2)>>0]|0;i[c+1>>0]=i[m+(a<<2|1)>>0]|0;i[c+2>>0]=i[m+((a<<2|1)+1)>>0]|0}c=c+3|0;d=d+1|0;a=16;continue}else if((a|0)==16){a=l[d>>0]|0;if((a|0)!=(g|0)){i[c>>0]=i[m+(a<<2)>>0]|0;i[c+1>>0]=i[m+(a<<2|1)>>0]|0;i[c+2>>0]=i[m+((a<<2|1)+1)>>0]|0}c=c+3|0;d=d+1|0;a=19;continue}else if((a|0)==19){a=l[d>>0]|0;if((a|0)!=(g|0)){i[c>>0]=i[m+(a<<2)>>0]|0;i[c+1>>0]=i[m+(a<<2|1)>>0]|0;i[c+2>>0]=i[m+((a<<2|1)+1)>>0]|0}c=c+3|0;d=d+1|0;a=22;continue}else if((a|0)==22){a=l[d>>0]|0;if((a|0)!=(g|0)){i[c>>0]=i[m+(a<<2)>>0]|0;i[c+1>>0]=i[m+(a<<2|1)>>0]|0;i[c+2>>0]=i[m+((a<<2|1)+1)>>0]|0}c=c+3|0;d=d+1|0;a=25;continue}else if((a|0)==25){a=l[d>>0]|0;if((a|0)!=(g|0)){i[c>>0]=i[m+(a<<2)>>0]|0;i[c+1>>0]=i[m+(a<<2|1)>>0]|0;i[c+2>>0]=i[m+((a<<2|1)+1)>>0]|0}d=d+1|0;c=c+3|0;if((e|0)>1){e=e+-1|0;a=4;continue}else break}if(!b){a=30;break}else{c=c+j|0;d=d+h|0}}if((a|0)!=28)if((a|0)==30)return}function A9a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,m=0,n=0;i=k[a+24>>2]|0;b=k[a+28>>2]|0;d=k[a>>2]|0;n=k[a+16>>2]|0;c=k[a+20>>2]|0;j=k[a+48>>2]|0;m=k[a+56>>2]|0;h=(k[a+36>>2]|0)/4|0;if(!b)return;if(!(i&7)){e=b+-1|0;a=c;b=d;while(1){d=(i+7|0)/8|0;c=b;while(1){b=l[c>>0]|0;if((b|0)!=(m|0))k[a>>2]=k[j+(b<<2)>>2];b=l[c+1>>0]|0;if((b|0)!=(m|0))k[a+4>>2]=k[j+(b<<2)>>2];b=l[c+2>>0]|0;if((b|0)!=(m|0))k[a+8>>2]=k[j+(b<<2)>>2];b=l[c+3>>0]|0;if((b|0)!=(m|0))k[a+12>>2]=k[j+(b<<2)>>2];b=l[c+4>>0]|0;if((b|0)!=(m|0))k[a+16>>2]=k[j+(b<<2)>>2];b=l[c+5>>0]|0;if((b|0)!=(m|0))k[a+20>>2]=k[j+(b<<2)>>2];b=l[c+6>>0]|0;if((b|0)!=(m|0))k[a+24>>2]=k[j+(b<<2)>>2];b=l[c+7>>0]|0;if((b|0)!=(m|0))k[a+28>>2]=k[j+(b<<2)>>2];b=c+8|0;a=a+32|0;if((d|0)>1){d=d+-1|0;c=b}else break}if(!e)break;else{e=e+-1|0;a=a+(h<<2)|0;b=b+n|0}}return}else{g=b+-1|0;a=c}a:while(1){switch(i&7|0){case 1:{e=a;f=(i+7|0)/8|0;a=44;break}case 7:{b=a;c=(i+7|0)/8|0;a=26;break}case 6:{b=a;c=(i+7|0)/8|0;a=29;break}case 5:{b=a;c=(i+7|0)/8|0;a=32;break}case 4:{b=a;c=(i+7|0)/8|0;a=35;break}case 3:{b=a;c=(i+7|0)/8|0;a=38;break}case 2:{b=a;c=(i+7|0)/8|0;a=41;break}default:{a=47;break a}}while(1)if((a|0)==26){a=l[d>>0]|0;if((a|0)!=(m|0))k[b>>2]=k[j+(a<<2)>>2];b=b+4|0;d=d+1|0;a=29;continue}else if((a|0)==29){a=l[d>>0]|0;if((a|0)!=(m|0))k[b>>2]=k[j+(a<<2)>>2];b=b+4|0;d=d+1|0;a=32;continue}else if((a|0)==32){a=l[d>>0]|0;if((a|0)!=(m|0))k[b>>2]=k[j+(a<<2)>>2];b=b+4|0;d=d+1|0;a=35;continue}else if((a|0)==35){a=l[d>>0]|0;if((a|0)!=(m|0))k[b>>2]=k[j+(a<<2)>>2];b=b+4|0;d=d+1|0;a=38;continue}else if((a|0)==38){a=l[d>>0]|0;if((a|0)!=(m|0))k[b>>2]=k[j+(a<<2)>>2];b=b+4|0;d=d+1|0;a=41;continue}else if((a|0)==41){a=l[d>>0]|0;if((a|0)!=(m|0))k[b>>2]=k[j+(a<<2)>>2];e=b+4|0;f=c;d=d+1|0;a=44;continue}else if((a|0)==44){a=l[d>>0]|0;if((a|0)!=(m|0))k[e>>2]=k[j+(a<<2)>>2];b=d+1|0;c=e+4|0;if((f|0)<=1)break;a=l[b>>0]|0;if((a|0)!=(m|0))k[c>>2]=k[j+(a<<2)>>2];b=e+8|0;c=f+-1|0;d=d+2|0;a=26;continue}if(!g){a=49;break}else{g=g+-1|0;a=c+(h<<2)|0;d=b+n|0}}if((a|0)!=47)if((a|0)==49)return}function B9a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;q=k[a+24>>2]|0;b=k[a+28>>2]|0;u=k[a+16>>2]|0;v=k[a+36>>2]|0;w=k[a+44>>2]|0;r=k[(k[(k[a+40>>2]|0)+4>>2]|0)+4>>2]|0;s=l[a+63>>0]|0;t=l[w+9>>0]|0;if(!b)return;c=k[a+20>>2]|0;a=k[a>>2]|0;a:while(1){b=b+-1|0;switch(q&3|0){case 0:{p=(q+3|0)/4|0;d=4;break}case 3:{p=(q+3|0)/4|0;d=15;break}case 2:{p=(q+3|0)/4|0;d=26;break}case 1:{p=(q+3|0)/4|0;d=37;break}default:{d=48;break a}}while(1)if((d|0)==4){o=l[a>>0]|0;d=l[r+(o<<2)>>0]|0;n=l[r+(o<<2)+1>>0]|0;o=l[r+(o<<2)+2>>0]|0;switch(t|0){case 1:{x=l[c>>0]|0;h=k[w+32>>2]|0;y=k[w+28>>2]|0;e=i[(k[124356+(y>>>24<<2)>>2]|0)+((k[w+24>>2]&x)>>>(h>>>24))>>0]|0;f=i[(k[124356+((y>>>16&255)<<2)>>2]|0)+((k[w+20>>2]&x)>>>(h>>>16&255))>>0]|0;g=i[(k[124356+((y>>>8&255)<<2)>>2]|0)+((k[w+16>>2]&x)>>>(h>>>8&255))>>0]|0;h=i[(k[124356+((y&255)<<2)>>2]|0)+((x&k[w+12>>2])>>>(h&255))>>0]|0;break}case 2:{y=m[c>>1]|0;h=k[w+32>>2]|0;x=k[w+28>>2]|0;e=i[(k[124356+(x>>>24<<2)>>2]|0)+((k[w+24>>2]&y)>>>(h>>>24))>>0]|0;f=i[(k[124356+((x>>>16&255)<<2)>>2]|0)+((k[w+20>>2]&y)>>>(h>>>16&255))>>0]|0;g=i[(k[124356+((x>>>8&255)<<2)>>2]|0)+((k[w+16>>2]&y)>>>(h>>>8&255))>>0]|0;h=i[(k[124356+((x&255)<<2)>>2]|0)+((y&k[w+12>>2])>>>(h&255))>>0]|0;break}case 3:{h=k[w+32>>2]|0;e=-1;f=i[c+(h>>>19&31)>>0]|0;g=i[c+(h>>>11&31)>>0]|0;h=i[c+(h>>>3&31)>>0]|0;break}case 4:{y=k[c>>2]|0;h=k[w+32>>2]|0;x=k[w+28>>2]|0;e=i[(k[124356+(x>>>24<<2)>>2]|0)+((k[w+24>>2]&y)>>>(h>>>24))>>0]|0;f=i[(k[124356+((x>>>16&255)<<2)>>2]|0)+((k[w+20>>2]&y)>>>(h>>>16&255))>>0]|0;g=i[(k[124356+((x>>>8&255)<<2)>>2]|0)+((k[w+16>>2]&y)>>>(h>>>8&255))>>0]|0;h=i[(k[124356+((x&255)<<2)>>2]|0)+((k[w+12>>2]&y)>>>(h&255))>>0]|0;break}default:{e=0;f=0;g=0;h=0}}h=h&255;x=g&255;y=f&255;e=e&255;g=(((ha(d-h|0,s)|0)>>>0)/255|0)+h|0;f=(((ha(n-x|0,s)|0)>>>0)/255|0)+x|0;d=(((ha(o-y|0,s)|0)>>>0)/255|0)+y|0;e=e+s-(((ha(e,s)|0)>>>0)/255|0)|0;switch(t|0){case 1:{x=k[w+28>>2]|0;y=k[w+32>>2]|0;i[c>>0]=f>>>(x>>>8&255)<<(y>>>8&255)|g>>>(x&255)<<(y&255)|d>>>(x>>>16&255)<<(y>>>16&255)|e>>>(x>>>24)<<(y>>>24);break}case 2:{x=k[w+28>>2]|0;y=k[w+32>>2]|0;j[c>>1]=f>>>(x>>>8&255)<<(y>>>8&255)|g>>>(x&255)<<(y&255)|d>>>(x>>>16&255)<<(y>>>16&255)|e>>>(x>>>24)<<(y>>>24);break}case 3:{i[c+((l[w+32>>0]|0)>>>3&255)>>0]=g;i[c+((l[w+33>>0]|0)>>>3&255)>>0]=f;i[c+((l[w+34>>0]|0)>>>3&255)>>0]=d;break}case 4:{x=k[w+28>>2]|0;y=k[w+32>>2]|0;k[c>>2]=f>>>(x>>>8&255)<<(y>>>8&255)|g>>>(x&255)<<(y&255)|d>>>(x>>>16&255)<<(y>>>16&255)|e>>>(x>>>24)<<(y>>>24);break}default:{}}c=c+t|0;a=a+1|0;d=15;continue}else if((d|0)==15){o=l[a>>0]|0;d=l[r+(o<<2)>>0]|0;n=l[r+(o<<2)+1>>0]|0;o=l[r+(o<<2)+2>>0]|0;switch(t|0){case 1:{y=l[c>>0]|0;h=k[w+32>>2]|0;x=k[w+28>>2]|0;e=i[(k[124356+(x>>>24<<2)>>2]|0)+((k[w+24>>2]&y)>>>(h>>>24))>>0]|0;f=i[(k[124356+((x>>>16&255)<<2)>>2]|0)+((k[w+20>>2]&y)>>>(h>>>16&255))>>0]|0;g=i[(k[124356+((x>>>8&255)<<2)>>2]|0)+((k[w+16>>2]&y)>>>(h>>>8&255))>>0]|0;h=i[(k[124356+((x&255)<<2)>>2]|0)+((y&k[w+12>>2])>>>(h&255))>>0]|0;break}case 2:{y=m[c>>1]|0;h=k[w+32>>2]|0;x=k[w+28>>2]|0;e=i[(k[124356+(x>>>24<<2)>>2]|0)+((k[w+24>>2]&y)>>>(h>>>24))>>0]|0;f=i[(k[124356+((x>>>16&255)<<2)>>2]|0)+((k[w+20>>2]&y)>>>(h>>>16&255))>>0]|0;g=i[(k[124356+((x>>>8&255)<<2)>>2]|0)+((k[w+16>>2]&y)>>>(h>>>8&255))>>0]|0;h=i[(k[124356+((x&255)<<2)>>2]|0)+((y&k[w+12>>2])>>>(h&255))>>0]|0;break}case 3:{h=k[w+32>>2]|0;e=-1;f=i[c+(h>>>19&31)>>0]|0;g=i[c+(h>>>11&31)>>0]|0;h=i[c+(h>>>3&31)>>0]|0;break}case 4:{y=k[c>>2]|0;h=k[w+32>>2]|0;x=k[w+28>>2]|0;e=i[(k[124356+(x>>>24<<2)>>2]|0)+((k[w+24>>2]&y)>>>(h>>>24))>>0]|0;f=i[(k[124356+((x>>>16&255)<<2)>>2]|0)+((k[w+20>>2]&y)>>>(h>>>16&255))>>0]|0;g=i[(k[124356+((x>>>8&255)<<2)>>2]|0)+((k[w+16>>2]&y)>>>(h>>>8&255))>>0]|0;h=i[(k[124356+((x&255)<<2)>>2]|0)+((k[w+12>>2]&y)>>>(h&255))>>0]|0;break}default:{e=0;f=0;g=0;h=0}}h=h&255;x=g&255;y=f&255;e=e&255;g=(((ha(d-h|0,s)|0)>>>0)/255|0)+h|0;f=(((ha(n-x|0,s)|0)>>>0)/255|0)+x|0;d=(((ha(o-y|0,s)|0)>>>0)/255|0)+y|0;e=e+s-(((ha(e,s)|0)>>>0)/255|0)|0;switch(t|0){case 1:{x=k[w+28>>2]|0;y=k[w+32>>2]|0;i[c>>0]=f>>>(x>>>8&255)<<(y>>>8&255)|g>>>(x&255)<<(y&255)|d>>>(x>>>16&255)<<(y>>>16&255)|e>>>(x>>>24)<<(y>>>24);break}case 2:{x=k[w+28>>2]|0;y=k[w+32>>2]|0;j[c>>1]=f>>>(x>>>8&255)<<(y>>>8&255)|g>>>(x&255)<<(y&255)|d>>>(x>>>16&255)<<(y>>>16&255)|e>>>(x>>>24)<<(y>>>24);break}case 3:{i[c+((l[w+32>>0]|0)>>>3&255)>>0]=g;i[c+((l[w+33>>0]|0)>>>3&255)>>0]=f;i[c+((l[w+34>>0]|0)>>>3&255)>>0]=d;break}case 4:{x=k[w+28>>2]|0;y=k[w+32>>2]|0;k[c>>2]=f>>>(x>>>8&255)<<(y>>>8&255)|g>>>(x&255)<<(y&255)|d>>>(x>>>16&255)<<(y>>>16&255)|e>>>(x>>>24)<<(y>>>24);break}default:{}}c=c+t|0;a=a+1|0;d=26;continue}else if((d|0)==26){o=l[a>>0]|0;d=l[r+(o<<2)>>0]|0;n=l[r+(o<<2)+1>>0]|0;o=l[r+(o<<2)+2>>0]|0;switch(t|0){case 1:{y=l[c>>0]|0;h=k[w+32>>2]|0;x=k[w+28>>2]|0;e=i[(k[124356+(x>>>24<<2)>>2]|0)+((k[w+24>>2]&y)>>>(h>>>24))>>0]|0;f=i[(k[124356+((x>>>16&255)<<2)>>2]|0)+((k[w+20>>2]&y)>>>(h>>>16&255))>>0]|0;g=i[(k[124356+((x>>>8&255)<<2)>>2]|0)+((k[w+16>>2]&y)>>>(h>>>8&255))>>0]|0;h=i[(k[124356+((x&255)<<2)>>2]|0)+((y&k[w+12>>2])>>>(h&255))>>0]|0;break}case 2:{y=m[c>>1]|0;h=k[w+32>>2]|0;x=k[w+28>>2]|0;e=i[(k[124356+(x>>>24<<2)>>2]|0)+((k[w+24>>2]&y)>>>(h>>>24))>>0]|0;f=i[(k[124356+((x>>>16&255)<<2)>>2]|0)+((k[w+20>>2]&y)>>>(h>>>16&255))>>0]|0;g=i[(k[124356+((x>>>8&255)<<2)>>2]|0)+((k[w+16>>2]&y)>>>(h>>>8&255))>>0]|0;h=i[(k[124356+((x&255)<<2)>>2]|0)+((y&k[w+12>>2])>>>(h&255))>>0]|0;break}case 3:{h=k[w+32>>2]|0;e=-1;f=i[c+(h>>>19&31)>>0]|0;g=i[c+(h>>>11&31)>>0]|0;h=i[c+(h>>>3&31)>>0]|0;break}case 4:{y=k[c>>2]|0;h=k[w+32>>2]|0;x=k[w+28>>2]|0;e=i[(k[124356+(x>>>24<<2)>>2]|0)+((k[w+24>>2]&y)>>>(h>>>24))>>0]|0;f=i[(k[124356+((x>>>16&255)<<2)>>2]|0)+((k[w+20>>2]&y)>>>(h>>>16&255))>>0]|0;g=i[(k[124356+((x>>>8&255)<<2)>>2]|0)+((k[w+16>>2]&y)>>>(h>>>8&255))>>0]|0;h=i[(k[124356+((x&255)<<2)>>2]|0)+((k[w+12>>2]&y)>>>(h&255))>>0]|0;break}default:{e=0;f=0;g=0;h=0}}h=h&255;x=g&255;y=f&255;e=e&255;g=(((ha(d-h|0,s)|0)>>>0)/255|0)+h|0;f=(((ha(n-x|0,s)|0)>>>0)/255|0)+x|0;d=(((ha(o-y|0,s)|0)>>>0)/255|0)+y|0;e=e+s-(((ha(e,s)|0)>>>0)/255|0)|0;switch(t|0){case 1:{x=k[w+28>>2]|0;y=k[w+32>>2]|0;i[c>>0]=f>>>(x>>>8&255)<<(y>>>8&255)|g>>>(x&255)<<(y&255)|d>>>(x>>>16&255)<<(y>>>16&255)|e>>>(x>>>24)<<(y>>>24);break}case 2:{x=k[w+28>>2]|0;y=k[w+32>>2]|0;j[c>>1]=f>>>(x>>>8&255)<<(y>>>8&255)|g>>>(x&255)<<(y&255)|d>>>(x>>>16&255)<<(y>>>16&255)|e>>>(x>>>24)<<(y>>>24);break}case 3:{i[c+((l[w+32>>0]|0)>>>3&255)>>0]=g;i[c+((l[w+33>>0]|0)>>>3&255)>>0]=f;i[c+((l[w+34>>0]|0)>>>3&255)>>0]=d;break}case 4:{x=k[w+28>>2]|0;y=k[w+32>>2]|0;k[c>>2]=f>>>(x>>>8&255)<<(y>>>8&255)|g>>>(x&255)<<(y&255)|d>>>(x>>>16&255)<<(y>>>16&255)|e>>>(x>>>24)<<(y>>>24);break}default:{}}c=c+t|0;a=a+1|0;d=37;continue}else if((d|0)==37){o=l[a>>0]|0;d=l[r+(o<<2)>>0]|0;n=l[r+(o<<2)+1>>0]|0;o=l[r+(o<<2)+2>>0]|0;switch(t|0){case 1:{y=l[c>>0]|0;h=k[w+32>>2]|0;x=k[w+28>>2]|0;e=i[(k[124356+(x>>>24<<2)>>2]|0)+((k[w+24>>2]&y)>>>(h>>>24))>>0]|0;f=i[(k[124356+((x>>>16&255)<<2)>>2]|0)+((k[w+20>>2]&y)>>>(h>>>16&255))>>0]|0;g=i[(k[124356+((x>>>8&255)<<2)>>2]|0)+((k[w+16>>2]&y)>>>(h>>>8&255))>>0]|0;h=i[(k[124356+((x&255)<<2)>>2]|0)+((y&k[w+12>>2])>>>(h&255))>>0]|0;break}case 2:{y=m[c>>1]|0;h=k[w+32>>2]|0;x=k[w+28>>2]|0;e=i[(k[124356+(x>>>24<<2)>>2]|0)+((k[w+24>>2]&y)>>>(h>>>24))>>0]|0;f=i[(k[124356+((x>>>16&255)<<2)>>2]|0)+((k[w+20>>2]&y)>>>(h>>>16&255))>>0]|0;g=i[(k[124356+((x>>>8&255)<<2)>>2]|0)+((k[w+16>>2]&y)>>>(h>>>8&255))>>0]|0;h=i[(k[124356+((x&255)<<2)>>2]|0)+((y&k[w+12>>2])>>>(h&255))>>0]|0;break}case 3:{h=k[w+32>>2]|0;e=-1;f=i[c+(h>>>19&31)>>0]|0;g=i[c+(h>>>11&31)>>0]|0;h=i[c+(h>>>3&31)>>0]|0;break}case 4:{y=k[c>>2]|0;h=k[w+32>>2]|0;x=k[w+28>>2]|0;e=i[(k[124356+(x>>>24<<2)>>2]|0)+((k[w+24>>2]&y)>>>(h>>>24))>>0]|0;f=i[(k[124356+((x>>>16&255)<<2)>>2]|0)+((k[w+20>>2]&y)>>>(h>>>16&255))>>0]|0;g=i[(k[124356+((x>>>8&255)<<2)>>2]|0)+((k[w+16>>2]&y)>>>(h>>>8&255))>>0]|0;h=i[(k[124356+((x&255)<<2)>>2]|0)+((k[w+12>>2]&y)>>>(h&255))>>0]|0;break}default:{e=0;f=0;g=0;h=0}}h=h&255;x=g&255;y=f&255;e=e&255;g=(((ha(d-h|0,s)|0)>>>0)/255|0)+h|0;f=(((ha(n-x|0,s)|0)>>>0)/255|0)+x|0;d=(((ha(o-y|0,s)|0)>>>0)/255|0)+y|0;e=e+s-(((ha(e,s)|0)>>>0)/255|0)|0;switch(t|0){case 1:{x=k[w+28>>2]|0;y=k[w+32>>2]|0;i[c>>0]=f>>>(x>>>8&255)<<(y>>>8&255)|g>>>(x&255)<<(y&255)|d>>>(x>>>16&255)<<(y>>>16&255)|e>>>(x>>>24)<<(y>>>24);break}case 2:{x=k[w+28>>2]|0;y=k[w+32>>2]|0;j[c>>1]=f>>>(x>>>8&255)<<(y>>>8&255)|g>>>(x&255)<<(y&255)|d>>>(x>>>16&255)<<(y>>>16&255)|e>>>(x>>>24)<<(y>>>24);break}case 3:{i[c+((l[w+32>>0]|0)>>>3&255)>>0]=g;i[c+((l[w+33>>0]|0)>>>3&255)>>0]=f;i[c+((l[w+34>>0]|0)>>>3&255)>>0]=d;break}case 4:{x=k[w+28>>2]|0;y=k[w+32>>2]|0;k[c>>2]=f>>>(x>>>8&255)<<(y>>>8&255)|g>>>(x&255)<<(y&255)|d>>>(x>>>16&255)<<(y>>>16&255)|e>>>(x>>>24)<<(y>>>24);break}default:{}}a=a+1|0;c=c+t|0;if((p|0)>1){p=p+-1|0;d=4;continue}else break}if(!b){d=50;break}else{c=c+v|0;a=a+u|0}}if((d|0)!=48)if((d|0)==50)return}function C9a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;q=k[a+24>>2]|0;b=k[a+28>>2]|0;v=k[a+16>>2]|0;w=k[a+36>>2]|0;x=k[a+44>>2]|0;r=k[(k[(k[a+40>>2]|0)+4>>2]|0)+4>>2]|0;s=k[a+56>>2]|0;t=l[a+63>>0]|0;u=l[x+9>>0]|0;if(!b)return;c=k[a+20>>2]|0;o=k[a>>2]|0;a:while(1){b=b+-1|0;switch(q&7|0){case 0:{p=(q+7|0)/8|0;a=4;break}case 7:{p=(q+7|0)/8|0;a=16;break}case 6:{p=(q+7|0)/8|0;a=28;break}case 5:{p=(q+7|0)/8|0;a=40;break}case 4:{p=(q+7|0)/8|0;a=52;break}case 3:{p=(q+7|0)/8|0;a=64;break}case 2:{p=(q+7|0)/8|0;a=76;break}case 1:{p=(q+7|0)/8|0;a=88;break}default:{a=100;break a}}while(1)if((a|0)==4){a=l[o>>0]|0;b:do if((a|0)!=(s|0)){g=l[r+(a<<2)>>0]|0;h=l[r+(a<<2)+1>>0]|0;n=l[r+(a<<2)+2>>0]|0;switch(u|0){case 1:{y=l[c>>0]|0;f=k[x+32>>2]|0;z=k[x+28>>2]|0;a=i[(k[124356+(z>>>24<<2)>>2]|0)+((k[x+24>>2]&y)>>>(f>>>24))>>0]|0;d=i[(k[124356+((z>>>16&255)<<2)>>2]|0)+((k[x+20>>2]&y)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((z>>>8&255)<<2)>>2]|0)+((k[x+16>>2]&y)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((z&255)<<2)>>2]|0)+((y&k[x+12>>2])>>>(f&255))>>0]|0;break}case 2:{z=m[c>>1]|0;f=k[x+32>>2]|0;y=k[x+28>>2]|0;a=i[(k[124356+(y>>>24<<2)>>2]|0)+((k[x+24>>2]&z)>>>(f>>>24))>>0]|0;d=i[(k[124356+((y>>>16&255)<<2)>>2]|0)+((k[x+20>>2]&z)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((y>>>8&255)<<2)>>2]|0)+((k[x+16>>2]&z)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((y&255)<<2)>>2]|0)+((z&k[x+12>>2])>>>(f&255))>>0]|0;break}case 3:{f=k[x+32>>2]|0;a=-1;d=i[c+(f>>>19&31)>>0]|0;e=i[c+(f>>>11&31)>>0]|0;f=i[c+(f>>>3&31)>>0]|0;break}case 4:{z=k[c>>2]|0;f=k[x+32>>2]|0;y=k[x+28>>2]|0;a=i[(k[124356+(y>>>24<<2)>>2]|0)+((k[x+24>>2]&z)>>>(f>>>24))>>0]|0;d=i[(k[124356+((y>>>16&255)<<2)>>2]|0)+((k[x+20>>2]&z)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((y>>>8&255)<<2)>>2]|0)+((k[x+16>>2]&z)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((y&255)<<2)>>2]|0)+((k[x+12>>2]&z)>>>(f&255))>>0]|0;break}default:{a=0;d=0;e=0;f=0}}f=f&255;e=e&255;z=d&255;d=a&255;f=(((ha(g-f|0,t)|0)>>>0)/255|0)+f|0;e=(((ha(h-e|0,t)|0)>>>0)/255|0)+e|0;a=(((ha(n-z|0,t)|0)>>>0)/255|0)+z|0;d=d+t-(((ha(d,t)|0)>>>0)/255|0)|0;switch(u|0){case 1:{y=k[x+28>>2]|0;z=k[x+32>>2]|0;i[c>>0]=e>>>(y>>>8&255)<<(z>>>8&255)|f>>>(y&255)<<(z&255)|a>>>(y>>>16&255)<<(z>>>16&255)|d>>>(y>>>24)<<(z>>>24);break b}case 2:{y=k[x+28>>2]|0;z=k[x+32>>2]|0;j[c>>1]=e>>>(y>>>8&255)<<(z>>>8&255)|f>>>(y&255)<<(z&255)|a>>>(y>>>16&255)<<(z>>>16&255)|d>>>(y>>>24)<<(z>>>24);break b}case 3:{i[c+((l[x+32>>0]|0)>>>3&255)>>0]=f;i[c+((l[x+33>>0]|0)>>>3&255)>>0]=e;i[c+((l[x+34>>0]|0)>>>3&255)>>0]=a;break b}case 4:{y=k[x+28>>2]|0;z=k[x+32>>2]|0;k[c>>2]=e>>>(y>>>8&255)<<(z>>>8&255)|f>>>(y&255)<<(z&255)|a>>>(y>>>16&255)<<(z>>>16&255)|d>>>(y>>>24)<<(z>>>24);break b}default:break b}}while(0);c=c+u|0;o=o+1|0;a=16;continue}else if((a|0)==16){a=l[o>>0]|0;c:do if((a|0)!=(s|0)){g=l[r+(a<<2)>>0]|0;h=l[r+(a<<2)+1>>0]|0;n=l[r+(a<<2)+2>>0]|0;switch(u|0){case 1:{z=l[c>>0]|0;f=k[x+32>>2]|0;y=k[x+28>>2]|0;a=i[(k[124356+(y>>>24<<2)>>2]|0)+((k[x+24>>2]&z)>>>(f>>>24))>>0]|0;d=i[(k[124356+((y>>>16&255)<<2)>>2]|0)+((k[x+20>>2]&z)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((y>>>8&255)<<2)>>2]|0)+((k[x+16>>2]&z)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((y&255)<<2)>>2]|0)+((z&k[x+12>>2])>>>(f&255))>>0]|0;break}case 2:{z=m[c>>1]|0;f=k[x+32>>2]|0;y=k[x+28>>2]|0;a=i[(k[124356+(y>>>24<<2)>>2]|0)+((k[x+24>>2]&z)>>>(f>>>24))>>0]|0;d=i[(k[124356+((y>>>16&255)<<2)>>2]|0)+((k[x+20>>2]&z)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((y>>>8&255)<<2)>>2]|0)+((k[x+16>>2]&z)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((y&255)<<2)>>2]|0)+((z&k[x+12>>2])>>>(f&255))>>0]|0;break}case 3:{f=k[x+32>>2]|0;a=-1;d=i[c+(f>>>19&31)>>0]|0;e=i[c+(f>>>11&31)>>0]|0;f=i[c+(f>>>3&31)>>0]|0;break}case 4:{z=k[c>>2]|0;f=k[x+32>>2]|0;y=k[x+28>>2]|0;a=i[(k[124356+(y>>>24<<2)>>2]|0)+((k[x+24>>2]&z)>>>(f>>>24))>>0]|0;d=i[(k[124356+((y>>>16&255)<<2)>>2]|0)+((k[x+20>>2]&z)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((y>>>8&255)<<2)>>2]|0)+((k[x+16>>2]&z)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((y&255)<<2)>>2]|0)+((k[x+12>>2]&z)>>>(f&255))>>0]|0;break}default:{a=0;d=0;e=0;f=0}}f=f&255;e=e&255;z=d&255;d=a&255;f=(((ha(g-f|0,t)|0)>>>0)/255|0)+f|0;e=(((ha(h-e|0,t)|0)>>>0)/255|0)+e|0;a=(((ha(n-z|0,t)|0)>>>0)/255|0)+z|0;d=d+t-(((ha(d,t)|0)>>>0)/255|0)|0;switch(u|0){case 1:{y=k[x+28>>2]|0;z=k[x+32>>2]|0;i[c>>0]=e>>>(y>>>8&255)<<(z>>>8&255)|f>>>(y&255)<<(z&255)|a>>>(y>>>16&255)<<(z>>>16&255)|d>>>(y>>>24)<<(z>>>24);break c}case 2:{y=k[x+28>>2]|0;z=k[x+32>>2]|0;j[c>>1]=e>>>(y>>>8&255)<<(z>>>8&255)|f>>>(y&255)<<(z&255)|a>>>(y>>>16&255)<<(z>>>16&255)|d>>>(y>>>24)<<(z>>>24);break c}case 3:{i[c+((l[x+32>>0]|0)>>>3&255)>>0]=f;i[c+((l[x+33>>0]|0)>>>3&255)>>0]=e;i[c+((l[x+34>>0]|0)>>>3&255)>>0]=a;break c}case 4:{y=k[x+28>>2]|0;z=k[x+32>>2]|0;k[c>>2]=e>>>(y>>>8&255)<<(z>>>8&255)|f>>>(y&255)<<(z&255)|a>>>(y>>>16&255)<<(z>>>16&255)|d>>>(y>>>24)<<(z>>>24);break c}default:break c}}while(0);c=c+u|0;o=o+1|0;a=28;continue}else if((a|0)==28){a=l[o>>0]|0;d:do if((a|0)!=(s|0)){g=l[r+(a<<2)>>0]|0;h=l[r+(a<<2)+1>>0]|0;n=l[r+(a<<2)+2>>0]|0;switch(u|0){case 1:{z=l[c>>0]|0;f=k[x+32>>2]|0;y=k[x+28>>2]|0;a=i[(k[124356+(y>>>24<<2)>>2]|0)+((k[x+24>>2]&z)>>>(f>>>24))>>0]|0;d=i[(k[124356+((y>>>16&255)<<2)>>2]|0)+((k[x+20>>2]&z)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((y>>>8&255)<<2)>>2]|0)+((k[x+16>>2]&z)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((y&255)<<2)>>2]|0)+((z&k[x+12>>2])>>>(f&255))>>0]|0;break}case 2:{z=m[c>>1]|0;f=k[x+32>>2]|0;y=k[x+28>>2]|0;a=i[(k[124356+(y>>>24<<2)>>2]|0)+((k[x+24>>2]&z)>>>(f>>>24))>>0]|0;d=i[(k[124356+((y>>>16&255)<<2)>>2]|0)+((k[x+20>>2]&z)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((y>>>8&255)<<2)>>2]|0)+((k[x+16>>2]&z)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((y&255)<<2)>>2]|0)+((z&k[x+12>>2])>>>(f&255))>>0]|0;break}case 3:{f=k[x+32>>2]|0;a=-1;d=i[c+(f>>>19&31)>>0]|0;e=i[c+(f>>>11&31)>>0]|0;f=i[c+(f>>>3&31)>>0]|0;break}case 4:{z=k[c>>2]|0;f=k[x+32>>2]|0;y=k[x+28>>2]|0;a=i[(k[124356+(y>>>24<<2)>>2]|0)+((k[x+24>>2]&z)>>>(f>>>24))>>0]|0;d=i[(k[124356+((y>>>16&255)<<2)>>2]|0)+((k[x+20>>2]&z)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((y>>>8&255)<<2)>>2]|0)+((k[x+16>>2]&z)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((y&255)<<2)>>2]|0)+((k[x+12>>2]&z)>>>(f&255))>>0]|0;break}default:{a=0;d=0;e=0;f=0}}f=f&255;e=e&255;z=d&255;d=a&255;f=(((ha(g-f|0,t)|0)>>>0)/255|0)+f|0;e=(((ha(h-e|0,t)|0)>>>0)/255|0)+e|0;a=(((ha(n-z|0,t)|0)>>>0)/255|0)+z|0;d=d+t-(((ha(d,t)|0)>>>0)/255|0)|0;switch(u|0){case 1:{y=k[x+28>>2]|0;z=k[x+32>>2]|0;i[c>>0]=e>>>(y>>>8&255)<<(z>>>8&255)|f>>>(y&255)<<(z&255)|a>>>(y>>>16&255)<<(z>>>16&255)|d>>>(y>>>24)<<(z>>>24);break d}case 2:{y=k[x+28>>2]|0;z=k[x+32>>2]|0;j[c>>1]=e>>>(y>>>8&255)<<(z>>>8&255)|f>>>(y&255)<<(z&255)|a>>>(y>>>16&255)<<(z>>>16&255)|d>>>(y>>>24)<<(z>>>24);break d}case 3:{i[c+((l[x+32>>0]|0)>>>3&255)>>0]=f;i[c+((l[x+33>>0]|0)>>>3&255)>>0]=e;i[c+((l[x+34>>0]|0)>>>3&255)>>0]=a;break d}case 4:{y=k[x+28>>2]|0;z=k[x+32>>2]|0;k[c>>2]=e>>>(y>>>8&255)<<(z>>>8&255)|f>>>(y&255)<<(z&255)|a>>>(y>>>16&255)<<(z>>>16&255)|d>>>(y>>>24)<<(z>>>24);break d}default:break d}}while(0);c=c+u|0;o=o+1|0;a=40;continue}else if((a|0)==40){a=l[o>>0]|0;e:do if((a|0)!=(s|0)){g=l[r+(a<<2)>>0]|0;h=l[r+(a<<2)+1>>0]|0;n=l[r+(a<<2)+2>>0]|0;switch(u|0){case 1:{z=l[c>>0]|0;f=k[x+32>>2]|0;y=k[x+28>>2]|0;a=i[(k[124356+(y>>>24<<2)>>2]|0)+((k[x+24>>2]&z)>>>(f>>>24))>>0]|0;d=i[(k[124356+((y>>>16&255)<<2)>>2]|0)+((k[x+20>>2]&z)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((y>>>8&255)<<2)>>2]|0)+((k[x+16>>2]&z)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((y&255)<<2)>>2]|0)+((z&k[x+12>>2])>>>(f&255))>>0]|0;break}case 2:{z=m[c>>1]|0;f=k[x+32>>2]|0;y=k[x+28>>2]|0;a=i[(k[124356+(y>>>24<<2)>>2]|0)+((k[x+24>>2]&z)>>>(f>>>24))>>0]|0;d=i[(k[124356+((y>>>16&255)<<2)>>2]|0)+((k[x+20>>2]&z)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((y>>>8&255)<<2)>>2]|0)+((k[x+16>>2]&z)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((y&255)<<2)>>2]|0)+((z&k[x+12>>2])>>>(f&255))>>0]|0;break}case 3:{f=k[x+32>>2]|0;a=-1;d=i[c+(f>>>19&31)>>0]|0;e=i[c+(f>>>11&31)>>0]|0;f=i[c+(f>>>3&31)>>0]|0;break}case 4:{z=k[c>>2]|0;f=k[x+32>>2]|0;y=k[x+28>>2]|0;a=i[(k[124356+(y>>>24<<2)>>2]|0)+((k[x+24>>2]&z)>>>(f>>>24))>>0]|0;d=i[(k[124356+((y>>>16&255)<<2)>>2]|0)+((k[x+20>>2]&z)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((y>>>8&255)<<2)>>2]|0)+((k[x+16>>2]&z)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((y&255)<<2)>>2]|0)+((k[x+12>>2]&z)>>>(f&255))>>0]|0;break}default:{a=0;d=0;e=0;f=0}}f=f&255;e=e&255;z=d&255;d=a&255;f=(((ha(g-f|0,t)|0)>>>0)/255|0)+f|0;e=(((ha(h-e|0,t)|0)>>>0)/255|0)+e|0;a=(((ha(n-z|0,t)|0)>>>0)/255|0)+z|0;d=d+t-(((ha(d,t)|0)>>>0)/255|0)|0;switch(u|0){case 1:{y=k[x+28>>2]|0;z=k[x+32>>2]|0;i[c>>0]=e>>>(y>>>8&255)<<(z>>>8&255)|f>>>(y&255)<<(z&255)|a>>>(y>>>16&255)<<(z>>>16&255)|d>>>(y>>>24)<<(z>>>24);break e}case 2:{y=k[x+28>>2]|0;z=k[x+32>>2]|0;j[c>>1]=e>>>(y>>>8&255)<<(z>>>8&255)|f>>>(y&255)<<(z&255)|a>>>(y>>>16&255)<<(z>>>16&255)|d>>>(y>>>24)<<(z>>>24);break e}case 3:{i[c+((l[x+32>>0]|0)>>>3&255)>>0]=f;i[c+((l[x+33>>0]|0)>>>3&255)>>0]=e;i[c+((l[x+34>>0]|0)>>>3&255)>>0]=a;break e}case 4:{y=k[x+28>>2]|0;z=k[x+32>>2]|0;k[c>>2]=e>>>(y>>>8&255)<<(z>>>8&255)|f>>>(y&255)<<(z&255)|a>>>(y>>>16&255)<<(z>>>16&255)|d>>>(y>>>24)<<(z>>>24);break e}default:break e}}while(0);c=c+u|0;o=o+1|0;a=52;continue}else if((a|0)==52){a=l[o>>0]|0;f:do if((a|0)!=(s|0)){g=l[r+(a<<2)>>0]|0;h=l[r+(a<<2)+1>>0]|0;n=l[r+(a<<2)+2>>0]|0;switch(u|0){case 1:{z=l[c>>0]|0;f=k[x+32>>2]|0;y=k[x+28>>2]|0;a=i[(k[124356+(y>>>24<<2)>>2]|0)+((k[x+24>>2]&z)>>>(f>>>24))>>0]|0;d=i[(k[124356+((y>>>16&255)<<2)>>2]|0)+((k[x+20>>2]&z)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((y>>>8&255)<<2)>>2]|0)+((k[x+16>>2]&z)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((y&255)<<2)>>2]|0)+((z&k[x+12>>2])>>>(f&255))>>0]|0;break}case 2:{z=m[c>>1]|0;f=k[x+32>>2]|0;y=k[x+28>>2]|0;a=i[(k[124356+(y>>>24<<2)>>2]|0)+((k[x+24>>2]&z)>>>(f>>>24))>>0]|0;d=i[(k[124356+((y>>>16&255)<<2)>>2]|0)+((k[x+20>>2]&z)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((y>>>8&255)<<2)>>2]|0)+((k[x+16>>2]&z)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((y&255)<<2)>>2]|0)+((z&k[x+12>>2])>>>(f&255))>>0]|0;break}case 3:{f=k[x+32>>2]|0;a=-1;d=i[c+(f>>>19&31)>>0]|0;e=i[c+(f>>>11&31)>>0]|0;f=i[c+(f>>>3&31)>>0]|0;break}case 4:{z=k[c>>2]|0;f=k[x+32>>2]|0;y=k[x+28>>2]|0;a=i[(k[124356+(y>>>24<<2)>>2]|0)+((k[x+24>>2]&z)>>>(f>>>24))>>0]|0;d=i[(k[124356+((y>>>16&255)<<2)>>2]|0)+((k[x+20>>2]&z)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((y>>>8&255)<<2)>>2]|0)+((k[x+16>>2]&z)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((y&255)<<2)>>2]|0)+((k[x+12>>2]&z)>>>(f&255))>>0]|0;break}default:{a=0;d=0;e=0;f=0}}f=f&255;e=e&255;z=d&255;d=a&255;f=(((ha(g-f|0,t)|0)>>>0)/255|0)+f|0;e=(((ha(h-e|0,t)|0)>>>0)/255|0)+e|0;a=(((ha(n-z|0,t)|0)>>>0)/255|0)+z|0;d=d+t-(((ha(d,t)|0)>>>0)/255|0)|0;switch(u|0){case 1:{y=k[x+28>>2]|0;z=k[x+32>>2]|0;i[c>>0]=e>>>(y>>>8&255)<<(z>>>8&255)|f>>>(y&255)<<(z&255)|a>>>(y>>>16&255)<<(z>>>16&255)|d>>>(y>>>24)<<(z>>>24);break f}case 2:{y=k[x+28>>2]|0;z=k[x+32>>2]|0;j[c>>1]=e>>>(y>>>8&255)<<(z>>>8&255)|f>>>(y&255)<<(z&255)|a>>>(y>>>16&255)<<(z>>>16&255)|d>>>(y>>>24)<<(z>>>24);break f}case 3:{i[c+((l[x+32>>0]|0)>>>3&255)>>0]=f;i[c+((l[x+33>>0]|0)>>>3&255)>>0]=e;i[c+((l[x+34>>0]|0)>>>3&255)>>0]=a;break f}case 4:{y=k[x+28>>2]|0;z=k[x+32>>2]|0;k[c>>2]=e>>>(y>>>8&255)<<(z>>>8&255)|f>>>(y&255)<<(z&255)|a>>>(y>>>16&255)<<(z>>>16&255)|d>>>(y>>>24)<<(z>>>24);break f}default:break f}}while(0);c=c+u|0;o=o+1|0;a=64;continue}else if((a|0)==64){a=l[o>>0]|0;g:do if((a|0)!=(s|0)){g=l[r+(a<<2)>>0]|0;h=l[r+(a<<2)+1>>0]|0;n=l[r+(a<<2)+2>>0]|0;switch(u|0){case 1:{z=l[c>>0]|0;f=k[x+32>>2]|0;y=k[x+28>>2]|0;a=i[(k[124356+(y>>>24<<2)>>2]|0)+((k[x+24>>2]&z)>>>(f>>>24))>>0]|0;d=i[(k[124356+((y>>>16&255)<<2)>>2]|0)+((k[x+20>>2]&z)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((y>>>8&255)<<2)>>2]|0)+((k[x+16>>2]&z)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((y&255)<<2)>>2]|0)+((z&k[x+12>>2])>>>(f&255))>>0]|0;break}case 2:{z=m[c>>1]|0;f=k[x+32>>2]|0;y=k[x+28>>2]|0;a=i[(k[124356+(y>>>24<<2)>>2]|0)+((k[x+24>>2]&z)>>>(f>>>24))>>0]|0;d=i[(k[124356+((y>>>16&255)<<2)>>2]|0)+((k[x+20>>2]&z)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((y>>>8&255)<<2)>>2]|0)+((k[x+16>>2]&z)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((y&255)<<2)>>2]|0)+((z&k[x+12>>2])>>>(f&255))>>0]|0;break}case 3:{f=k[x+32>>2]|0;a=-1;d=i[c+(f>>>19&31)>>0]|0;e=i[c+(f>>>11&31)>>0]|0;f=i[c+(f>>>3&31)>>0]|0;break}case 4:{z=k[c>>2]|0;f=k[x+32>>2]|0;y=k[x+28>>2]|0;a=i[(k[124356+(y>>>24<<2)>>2]|0)+((k[x+24>>2]&z)>>>(f>>>24))>>0]|0;d=i[(k[124356+((y>>>16&255)<<2)>>2]|0)+((k[x+20>>2]&z)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((y>>>8&255)<<2)>>2]|0)+((k[x+16>>2]&z)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((y&255)<<2)>>2]|0)+((k[x+12>>2]&z)>>>(f&255))>>0]|0;break}default:{a=0;d=0;e=0;f=0}}f=f&255;e=e&255;z=d&255;d=a&255;f=(((ha(g-f|0,t)|0)>>>0)/255|0)+f|0;e=(((ha(h-e|0,t)|0)>>>0)/255|0)+e|0;a=(((ha(n-z|0,t)|0)>>>0)/255|0)+z|0;d=d+t-(((ha(d,t)|0)>>>0)/255|0)|0;switch(u|0){case 1:{y=k[x+28>>2]|0;z=k[x+32>>2]|0;i[c>>0]=e>>>(y>>>8&255)<<(z>>>8&255)|f>>>(y&255)<<(z&255)|a>>>(y>>>16&255)<<(z>>>16&255)|d>>>(y>>>24)<<(z>>>24);break g}case 2:{y=k[x+28>>2]|0;z=k[x+32>>2]|0;j[c>>1]=e>>>(y>>>8&255)<<(z>>>8&255)|f>>>(y&255)<<(z&255)|a>>>(y>>>16&255)<<(z>>>16&255)|d>>>(y>>>24)<<(z>>>24);break g}case 3:{i[c+((l[x+32>>0]|0)>>>3&255)>>0]=f;i[c+((l[x+33>>0]|0)>>>3&255)>>0]=e;i[c+((l[x+34>>0]|0)>>>3&255)>>0]=a;break g}case 4:{y=k[x+28>>2]|0;z=k[x+32>>2]|0;k[c>>2]=e>>>(y>>>8&255)<<(z>>>8&255)|f>>>(y&255)<<(z&255)|a>>>(y>>>16&255)<<(z>>>16&255)|d>>>(y>>>24)<<(z>>>24);break g}default:break g}}while(0);c=c+u|0;o=o+1|0;a=76;continue}else if((a|0)==76){a=l[o>>0]|0;h:do if((a|0)!=(s|0)){g=l[r+(a<<2)>>0]|0;h=l[r+(a<<2)+1>>0]|0;n=l[r+(a<<2)+2>>0]|0;switch(u|0){case 1:{z=l[c>>0]|0;f=k[x+32>>2]|0;y=k[x+28>>2]|0;a=i[(k[124356+(y>>>24<<2)>>2]|0)+((k[x+24>>2]&z)>>>(f>>>24))>>0]|0;d=i[(k[124356+((y>>>16&255)<<2)>>2]|0)+((k[x+20>>2]&z)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((y>>>8&255)<<2)>>2]|0)+((k[x+16>>2]&z)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((y&255)<<2)>>2]|0)+((z&k[x+12>>2])>>>(f&255))>>0]|0;break}case 2:{z=m[c>>1]|0;f=k[x+32>>2]|0;y=k[x+28>>2]|0;a=i[(k[124356+(y>>>24<<2)>>2]|0)+((k[x+24>>2]&z)>>>(f>>>24))>>0]|0;d=i[(k[124356+((y>>>16&255)<<2)>>2]|0)+((k[x+20>>2]&z)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((y>>>8&255)<<2)>>2]|0)+((k[x+16>>2]&z)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((y&255)<<2)>>2]|0)+((z&k[x+12>>2])>>>(f&255))>>0]|0;break}case 3:{f=k[x+32>>2]|0;a=-1;d=i[c+(f>>>19&31)>>0]|0;e=i[c+(f>>>11&31)>>0]|0;f=i[c+(f>>>3&31)>>0]|0;break}case 4:{z=k[c>>2]|0;f=k[x+32>>2]|0;y=k[x+28>>2]|0;a=i[(k[124356+(y>>>24<<2)>>2]|0)+((k[x+24>>2]&z)>>>(f>>>24))>>0]|0;d=i[(k[124356+((y>>>16&255)<<2)>>2]|0)+((k[x+20>>2]&z)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((y>>>8&255)<<2)>>2]|0)+((k[x+16>>2]&z)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((y&255)<<2)>>2]|0)+((k[x+12>>2]&z)>>>(f&255))>>0]|0;break}default:{a=0;d=0;e=0;f=0}}f=f&255;e=e&255;z=d&255;d=a&255;f=(((ha(g-f|0,t)|0)>>>0)/255|0)+f|0;e=(((ha(h-e|0,t)|0)>>>0)/255|0)+e|0;a=(((ha(n-z|0,t)|0)>>>0)/255|0)+z|0;d=d+t-(((ha(d,t)|0)>>>0)/255|0)|0;switch(u|0){case 1:{y=k[x+28>>2]|0;z=k[x+32>>2]|0;i[c>>0]=e>>>(y>>>8&255)<<(z>>>8&255)|f>>>(y&255)<<(z&255)|a>>>(y>>>16&255)<<(z>>>16&255)|d>>>(y>>>24)<<(z>>>24);break h}case 2:{y=k[x+28>>2]|0;z=k[x+32>>2]|0;j[c>>1]=e>>>(y>>>8&255)<<(z>>>8&255)|f>>>(y&255)<<(z&255)|a>>>(y>>>16&255)<<(z>>>16&255)|d>>>(y>>>24)<<(z>>>24);break h}case 3:{i[c+((l[x+32>>0]|0)>>>3&255)>>0]=f;i[c+((l[x+33>>0]|0)>>>3&255)>>0]=e;i[c+((l[x+34>>0]|0)>>>3&255)>>0]=a;break h}case 4:{y=k[x+28>>2]|0;z=k[x+32>>2]|0;k[c>>2]=e>>>(y>>>8&255)<<(z>>>8&255)|f>>>(y&255)<<(z&255)|a>>>(y>>>16&255)<<(z>>>16&255)|d>>>(y>>>24)<<(z>>>24);break h}default:break h}}while(0);c=c+u|0;o=o+1|0;a=88;continue}else if((a|0)==88){a=l[o>>0]|0;i:do if((a|0)!=(s|0)){g=l[r+(a<<2)>>0]|0;h=l[r+(a<<2)+1>>0]|0;n=l[r+(a<<2)+2>>0]|0;switch(u|0){case 1:{z=l[c>>0]|0;f=k[x+32>>2]|0;y=k[x+28>>2]|0;a=i[(k[124356+(y>>>24<<2)>>2]|0)+((k[x+24>>2]&z)>>>(f>>>24))>>0]|0;d=i[(k[124356+((y>>>16&255)<<2)>>2]|0)+((k[x+20>>2]&z)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((y>>>8&255)<<2)>>2]|0)+((k[x+16>>2]&z)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((y&255)<<2)>>2]|0)+((z&k[x+12>>2])>>>(f&255))>>0]|0;break}case 2:{z=m[c>>1]|0;f=k[x+32>>2]|0;y=k[x+28>>2]|0;a=i[(k[124356+(y>>>24<<2)>>2]|0)+((k[x+24>>2]&z)>>>(f>>>24))>>0]|0;d=i[(k[124356+((y>>>16&255)<<2)>>2]|0)+((k[x+20>>2]&z)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((y>>>8&255)<<2)>>2]|0)+((k[x+16>>2]&z)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((y&255)<<2)>>2]|0)+((z&k[x+12>>2])>>>(f&255))>>0]|0;break}case 3:{f=k[x+32>>2]|0;a=-1;d=i[c+(f>>>19&31)>>0]|0;e=i[c+(f>>>11&31)>>0]|0;f=i[c+(f>>>3&31)>>0]|0;break}case 4:{z=k[c>>2]|0;f=k[x+32>>2]|0;y=k[x+28>>2]|0;a=i[(k[124356+(y>>>24<<2)>>2]|0)+((k[x+24>>2]&z)>>>(f>>>24))>>0]|0;d=i[(k[124356+((y>>>16&255)<<2)>>2]|0)+((k[x+20>>2]&z)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((y>>>8&255)<<2)>>2]|0)+((k[x+16>>2]&z)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((y&255)<<2)>>2]|0)+((k[x+12>>2]&z)>>>(f&255))>>0]|0;break}default:{a=0;d=0;e=0;f=0}}f=f&255;e=e&255;z=d&255;d=a&255;f=(((ha(g-f|0,t)|0)>>>0)/255|0)+f|0;e=(((ha(h-e|0,t)|0)>>>0)/255|0)+e|0;a=(((ha(n-z|0,t)|0)>>>0)/255|0)+z|0;d=d+t-(((ha(d,t)|0)>>>0)/255|0)|0;switch(u|0){case 1:{y=k[x+28>>2]|0;z=k[x+32>>2]|0;i[c>>0]=e>>>(y>>>8&255)<<(z>>>8&255)|f>>>(y&255)<<(z&255)|a>>>(y>>>16&255)<<(z>>>16&255)|d>>>(y>>>24)<<(z>>>24);break i}case 2:{y=k[x+28>>2]|0;z=k[x+32>>2]|0;j[c>>1]=e>>>(y>>>8&255)<<(z>>>8&255)|f>>>(y&255)<<(z&255)|a>>>(y>>>16&255)<<(z>>>16&255)|d>>>(y>>>24)<<(z>>>24);break i}case 3:{i[c+((l[x+32>>0]|0)>>>3&255)>>0]=f;i[c+((l[x+33>>0]|0)>>>3&255)>>0]=e;i[c+((l[x+34>>0]|0)>>>3&255)>>0]=a;break i}case 4:{y=k[x+28>>2]|0;z=k[x+32>>2]|0;k[c>>2]=e>>>(y>>>8&255)<<(z>>>8&255)|f>>>(y&255)<<(z&255)|a>>>(y>>>16&255)<<(z>>>16&255)|d>>>(y>>>24)<<(z>>>24);break i}default:break i}}while(0);a=o+1|0;c=c+u|0;if((p|0)>1){p=p+-1|0;o=a;a=4;continue}else break}if(!b){a=102;break}else{c=c+w|0;o=a+v|0}}if((a|0)!=100)if((a|0)==102)return}function D9a(a){a=a|0;var b=0,c=0,d=0,e=0;e=k[a+4>>2]|0;a=k[a+52>>2]|0;d=k[(k[a>>2]|0)+4>>2]|0;switch(k[a+68>>2]&-28673|0){case 16:switch(l[d+9>>0]|0){case 2:{if((i[e+9>>0]|0)!=4){e=715;return e|0}if((k[e+24>>2]|0)!=-16777216){e=715;return e|0}if((k[e+16>>2]|0)!=65280){e=715;return e|0}if((k[e+12>>2]|0)==255){if((k[d+12>>2]|0)!=31)b=8}else b=8;if((b|0)==8){if((k[e+20>>2]|0)!=255){e=715;return e|0}if((k[d+20>>2]|0)!=31){e=715;return e|0}}e=k[d+16>>2]|0;e=(e|0)==2016?716:(e|0)==992?714:715;return e|0}case 4:{if((k[e+12>>2]|0)==(k[d+12>>2]|0))if((k[e+16>>2]|0)==(k[d+16>>2]|0))if((k[e+20>>2]|0)==(k[d+20>>2]|0))if((i[e+9>>0]|0)==4)if((k[e+24>>2]|0)==-16777216){e=723;return e|0}e=715;return e|0}case 1:{e=722;return e|0}default:{e=715;return e|0}}case 18:{if(k[e+24>>2]|0){e=0;return e|0}switch(l[d+9>>0]|0){case 2:{if(!(k[a+4>>2]|0)){e=718;return e|0}e=k[d+16>>2]|0;e=(e|0)==2016?719:(e|0)==992?717:718;return e|0}case 4:{a=k[e+12>>2]|0;if((a|0)==(k[d+12>>2]|0)){b=k[e+16>>2]|0;if((b|0)==(k[d+16>>2]|0)){c=k[e+20>>2]|0;if((c|0)==(k[d+20>>2]|0))if((i[e+9>>0]|0)==4)if((b|a|c|0)==16777215){e=725;return e|0}}}e=718;return e|0}case 1:{e=724;return e|0}default:{e=718;return e|0}}}case 274:{if(k[e+24>>2]|0){e=0;return e|0}e=(i[d+9>>0]|0)==1?720:721;return e|0}default:{e=0;return e|0}}return 0}function E9a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=k[a+24>>2]|0;b=k[a+28>>2]|0;g=k[a+16>>2]>>2;h=k[a+36>>2]>>1;if(!b)return;c=k[a+20>>2]|0;d=k[a>>2]|0;a:while(1){b=b+-1|0;switch(f&3|0){case 0:{e=(f+3|0)/4|0;a=4;break}case 3:{e=(f+3|0)/4|0;a=8;break}case 2:{e=(f+3|0)/4|0;a=12;break}case 1:{e=(f+3|0)/4|0;a=16;break}default:{a=20;break a}}while(1)if((a|0)==4){a=k[d>>2]|0;switch(a>>>27|0){case 0:break;case 31:{j[c>>1]=a>>>9&31744|a>>>6&992|a>>>3&31;break}default:{i=m[c>>1]|0;a=((ha((a<<10&65011712|a>>>9&31744|a>>>3&31)-((i<<16|i)&65043487)|0,a>>>27)|0)>>>5)+((i<<16|i)&65043487)&65043487;j[c>>1]=a>>>16|a}}c=c+2|0;d=d+4|0;a=8;continue}else if((a|0)==8){a=k[d>>2]|0;switch(a>>>27|0){case 0:break;case 31:{j[c>>1]=a>>>9&31744|a>>>6&992|a>>>3&31;break}default:{i=m[c>>1]|0;i=((ha((a<<10&65011712|a>>>9&31744|a>>>3&31)-((i<<16|i)&65043487)|0,a>>>27)|0)>>>5)+((i<<16|i)&65043487)&65043487;j[c>>1]=i>>>16|i}}c=c+2|0;d=d+4|0;a=12;continue}else if((a|0)==12){a=k[d>>2]|0;switch(a>>>27|0){case 0:break;case 31:{j[c>>1]=a>>>9&31744|a>>>6&992|a>>>3&31;break}default:{i=m[c>>1]|0;i=((ha((a<<10&65011712|a>>>9&31744|a>>>3&31)-((i<<16|i)&65043487)|0,a>>>27)|0)>>>5)+((i<<16|i)&65043487)&65043487;j[c>>1]=i>>>16|i}}c=c+2|0;d=d+4|0;a=16;continue}else if((a|0)==16){a=k[d>>2]|0;switch(a>>>27|0){case 0:break;case 31:{j[c>>1]=a>>>9&31744|a>>>6&992|a>>>3&31;break}default:{i=m[c>>1]|0;i=((ha((a<<10&65011712|a>>>9&31744|a>>>3&31)-((i<<16|i)&65043487)|0,a>>>27)|0)>>>5)+((i<<16|i)&65043487)&65043487;j[c>>1]=i>>>16|i}}d=d+4|0;c=c+2|0;if((e|0)>1){e=e+-1|0;a=4;continue}else break}if(!b){a=22;break}else{c=c+(h<<1)|0;d=d+(g<<2)|0}}if((a|0)!=20)if((a|0)==22)return}function F9a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;s=k[a+24>>2]|0;b=k[a+28>>2]|0;w=k[a+16>>2]|0;x=k[a+36>>2]|0;y=k[a+40>>2]|0;t=k[a+44>>2]|0;u=l[y+9>>0]|0;v=l[t+9>>0]|0;if(!b)return;c=k[a+20>>2]|0;a=k[a>>2]|0;a:while(1){b=b+-1|0;switch(s&3|0){case 0:{q=(s+3|0)/4|0;r=4;break}case 3:{q=(s+3|0)/4|0;r=21;break}case 2:{q=(s+3|0)/4|0;p=a;r=38;break}case 1:{q=(s+3|0)/4|0;p=a;r=55;break}default:{r=72;break a}}while(1)if((r|0)==4){r=0;switch(u|0){case 1:{r=l[a>>0]|0;g=k[y+32>>2]|0;p=k[y+28>>2]|0;d=(k[124356+(p>>>24<<2)>>2]|0)+((k[y+24>>2]&r)>>>(g>>>24))|0;e=(k[124356+((p>>>16&255)<<2)>>2]|0)+((k[y+20>>2]&r)>>>(g>>>16&255))|0;f=(k[124356+((p>>>8&255)<<2)>>2]|0)+((k[y+16>>2]&r)>>>(g>>>8&255))|0;g=(k[124356+((p&255)<<2)>>2]|0)+((r&k[y+12>>2])>>>(g&255))|0;r=9;break}case 2:{r=m[a>>1]|0;g=k[y+32>>2]|0;p=k[y+28>>2]|0;d=(k[124356+(p>>>24<<2)>>2]|0)+((k[y+24>>2]&r)>>>(g>>>24))|0;e=(k[124356+((p>>>16&255)<<2)>>2]|0)+((k[y+20>>2]&r)>>>(g>>>16&255))|0;f=(k[124356+((p>>>8&255)<<2)>>2]|0)+((k[y+16>>2]&r)>>>(g>>>8&255))|0;g=(k[124356+((p&255)<<2)>>2]|0)+((r&k[y+12>>2])>>>(g&255))|0;r=9;break}case 3:{h=k[y+32>>2]|0;p=255;o=l[a+(h>>>19&31)>>0]|0;n=l[a+(h>>>11&31)>>0]|0;h=l[a+(h>>>3&31)>>0]|0;r=10;break}case 4:{r=k[a>>2]|0;g=k[y+32>>2]|0;p=k[y+28>>2]|0;d=(k[124356+(p>>>24<<2)>>2]|0)+((k[y+24>>2]&r)>>>(g>>>24))|0;e=(k[124356+((p>>>16&255)<<2)>>2]|0)+((k[y+20>>2]&r)>>>(g>>>16&255))|0;f=(k[124356+((p>>>8&255)<<2)>>2]|0)+((k[y+16>>2]&r)>>>(g>>>8&255))|0;g=(k[124356+((p&255)<<2)>>2]|0)+((k[y+12>>2]&r)>>>(g&255))|0;r=9;break}default:{}}if((r|0)==9){r=0;d=i[d>>0]|0;if(d<<24>>24){p=d&255;o=l[e>>0]|0;n=l[f>>0]|0;h=l[g>>0]|0;r=10}}b:do if((r|0)==10){switch(v|0){case 1:{r=l[c>>0]|0;g=k[t+32>>2]|0;z=k[t+28>>2]|0;d=i[(k[124356+(z>>>24<<2)>>2]|0)+((k[t+24>>2]&r)>>>(g>>>24))>>0]|0;e=i[(k[124356+((z>>>16&255)<<2)>>2]|0)+((k[t+20>>2]&r)>>>(g>>>16&255))>>0]|0;f=i[(k[124356+((z>>>8&255)<<2)>>2]|0)+((k[t+16>>2]&r)>>>(g>>>8&255))>>0]|0;g=i[(k[124356+((z&255)<<2)>>2]|0)+((r&k[t+12>>2])>>>(g&255))>>0]|0;break}case 2:{z=m[c>>1]|0;g=k[t+32>>2]|0;r=k[t+28>>2]|0;d=i[(k[124356+(r>>>24<<2)>>2]|0)+((k[t+24>>2]&z)>>>(g>>>24))>>0]|0;e=i[(k[124356+((r>>>16&255)<<2)>>2]|0)+((k[t+20>>2]&z)>>>(g>>>16&255))>>0]|0;f=i[(k[124356+((r>>>8&255)<<2)>>2]|0)+((k[t+16>>2]&z)>>>(g>>>8&255))>>0]|0;g=i[(k[124356+((r&255)<<2)>>2]|0)+((z&k[t+12>>2])>>>(g&255))>>0]|0;break}case 3:{g=k[t+32>>2]|0;d=-1;e=i[c+(g>>>19&31)>>0]|0;f=i[c+(g>>>11&31)>>0]|0;g=i[c+(g>>>3&31)>>0]|0;break}case 4:{z=k[c>>2]|0;g=k[t+32>>2]|0;r=k[t+28>>2]|0;d=i[(k[124356+(r>>>24<<2)>>2]|0)+((k[t+24>>2]&z)>>>(g>>>24))>>0]|0;e=i[(k[124356+((r>>>16&255)<<2)>>2]|0)+((k[t+20>>2]&z)>>>(g>>>16&255))>>0]|0;f=i[(k[124356+((r>>>8&255)<<2)>>2]|0)+((k[t+16>>2]&z)>>>(g>>>8&255))>>0]|0;g=i[(k[124356+((r&255)<<2)>>2]|0)+((k[t+12>>2]&z)>>>(g&255))>>0]|0;break}default:{d=0;e=0;f=0;g=0}}g=g&255;f=f&255;e=e&255;d=d&255;g=(((ha(h-g|0,p)|0)>>>0)/255|0)+g|0;f=(((ha(n-f|0,p)|0)>>>0)/255|0)+f|0;e=(((ha(o-e|0,p)|0)>>>0)/255|0)+e|0;d=d+p-(((ha(d,p)|0)>>>0)/255|0)|0;switch(v|0){case 1:{r=k[t+28>>2]|0;z=k[t+32>>2]|0;i[c>>0]=f>>>(r>>>8&255)<<(z>>>8&255)|g>>>(r&255)<<(z&255)|e>>>(r>>>16&255)<<(z>>>16&255)|d>>>(r>>>24)<<(z>>>24);break b}case 2:{r=k[t+28>>2]|0;z=k[t+32>>2]|0;j[c>>1]=f>>>(r>>>8&255)<<(z>>>8&255)|g>>>(r&255)<<(z&255)|e>>>(r>>>16&255)<<(z>>>16&255)|d>>>(r>>>24)<<(z>>>24);break b}case 3:{i[c+((l[t+32>>0]|0)>>>3&255)>>0]=g;i[c+((l[t+33>>0]|0)>>>3&255)>>0]=f;i[c+((l[t+34>>0]|0)>>>3&255)>>0]=e;break b}case 4:{r=k[t+28>>2]|0;z=k[t+32>>2]|0;k[c>>2]=f>>>(r>>>8&255)<<(z>>>8&255)|g>>>(r&255)<<(z&255)|e>>>(r>>>16&255)<<(z>>>16&255)|d>>>(r>>>24)<<(z>>>24);break b}default:break b}}while(0);c=c+v|0;a=a+u|0;r=21;continue}else if((r|0)==21){r=0;switch(u|0){case 1:{r=l[a>>0]|0;g=k[y+32>>2]|0;z=k[y+28>>2]|0;d=(k[124356+(z>>>24<<2)>>2]|0)+((k[y+24>>2]&r)>>>(g>>>24))|0;e=(k[124356+((z>>>16&255)<<2)>>2]|0)+((k[y+20>>2]&r)>>>(g>>>16&255))|0;f=(k[124356+((z>>>8&255)<<2)>>2]|0)+((k[y+16>>2]&r)>>>(g>>>8&255))|0;g=(k[124356+((z&255)<<2)>>2]|0)+((r&k[y+12>>2])>>>(g&255))|0;r=26;break}case 2:{r=m[a>>1]|0;g=k[y+32>>2]|0;z=k[y+28>>2]|0;d=(k[124356+(z>>>24<<2)>>2]|0)+((k[y+24>>2]&r)>>>(g>>>24))|0;e=(k[124356+((z>>>16&255)<<2)>>2]|0)+((k[y+20>>2]&r)>>>(g>>>16&255))|0;f=(k[124356+((z>>>8&255)<<2)>>2]|0)+((k[y+16>>2]&r)>>>(g>>>8&255))|0;g=(k[124356+((z&255)<<2)>>2]|0)+((r&k[y+12>>2])>>>(g&255))|0;r=26;break}case 3:{h=k[y+32>>2]|0;p=255;o=l[a+(h>>>19&31)>>0]|0;n=l[a+(h>>>11&31)>>0]|0;h=l[a+(h>>>3&31)>>0]|0;r=27;break}case 4:{r=k[a>>2]|0;g=k[y+32>>2]|0;z=k[y+28>>2]|0;d=(k[124356+(z>>>24<<2)>>2]|0)+((k[y+24>>2]&r)>>>(g>>>24))|0;e=(k[124356+((z>>>16&255)<<2)>>2]|0)+((k[y+20>>2]&r)>>>(g>>>16&255))|0;f=(k[124356+((z>>>8&255)<<2)>>2]|0)+((k[y+16>>2]&r)>>>(g>>>8&255))|0;g=(k[124356+((z&255)<<2)>>2]|0)+((k[y+12>>2]&r)>>>(g&255))|0;r=26;break}default:{}}if((r|0)==26){r=0;d=i[d>>0]|0;if(d<<24>>24){p=d&255;o=l[e>>0]|0;n=l[f>>0]|0;h=l[g>>0]|0;r=27}}c:do if((r|0)==27){switch(v|0){case 1:{z=l[c>>0]|0;g=k[t+32>>2]|0;r=k[t+28>>2]|0;d=i[(k[124356+(r>>>24<<2)>>2]|0)+((k[t+24>>2]&z)>>>(g>>>24))>>0]|0;e=i[(k[124356+((r>>>16&255)<<2)>>2]|0)+((k[t+20>>2]&z)>>>(g>>>16&255))>>0]|0;f=i[(k[124356+((r>>>8&255)<<2)>>2]|0)+((k[t+16>>2]&z)>>>(g>>>8&255))>>0]|0;g=i[(k[124356+((r&255)<<2)>>2]|0)+((z&k[t+12>>2])>>>(g&255))>>0]|0;break}case 2:{z=m[c>>1]|0;g=k[t+32>>2]|0;r=k[t+28>>2]|0;d=i[(k[124356+(r>>>24<<2)>>2]|0)+((k[t+24>>2]&z)>>>(g>>>24))>>0]|0;e=i[(k[124356+((r>>>16&255)<<2)>>2]|0)+((k[t+20>>2]&z)>>>(g>>>16&255))>>0]|0;f=i[(k[124356+((r>>>8&255)<<2)>>2]|0)+((k[t+16>>2]&z)>>>(g>>>8&255))>>0]|0;g=i[(k[124356+((r&255)<<2)>>2]|0)+((z&k[t+12>>2])>>>(g&255))>>0]|0;break}case 3:{g=k[t+32>>2]|0;d=-1;e=i[c+(g>>>19&31)>>0]|0;f=i[c+(g>>>11&31)>>0]|0;g=i[c+(g>>>3&31)>>0]|0;break}case 4:{z=k[c>>2]|0;g=k[t+32>>2]|0;r=k[t+28>>2]|0;d=i[(k[124356+(r>>>24<<2)>>2]|0)+((k[t+24>>2]&z)>>>(g>>>24))>>0]|0;e=i[(k[124356+((r>>>16&255)<<2)>>2]|0)+((k[t+20>>2]&z)>>>(g>>>16&255))>>0]|0;f=i[(k[124356+((r>>>8&255)<<2)>>2]|0)+((k[t+16>>2]&z)>>>(g>>>8&255))>>0]|0;g=i[(k[124356+((r&255)<<2)>>2]|0)+((k[t+12>>2]&z)>>>(g&255))>>0]|0;break}default:{d=0;e=0;f=0;g=0}}g=g&255;f=f&255;e=e&255;d=d&255;g=(((ha(h-g|0,p)|0)>>>0)/255|0)+g|0;f=(((ha(n-f|0,p)|0)>>>0)/255|0)+f|0;e=(((ha(o-e|0,p)|0)>>>0)/255|0)+e|0;d=d+p-(((ha(d,p)|0)>>>0)/255|0)|0;switch(v|0){case 1:{r=k[t+28>>2]|0;z=k[t+32>>2]|0;i[c>>0]=f>>>(r>>>8&255)<<(z>>>8&255)|g>>>(r&255)<<(z&255)|e>>>(r>>>16&255)<<(z>>>16&255)|d>>>(r>>>24)<<(z>>>24);break c}case 2:{r=k[t+28>>2]|0;z=k[t+32>>2]|0;j[c>>1]=f>>>(r>>>8&255)<<(z>>>8&255)|g>>>(r&255)<<(z&255)|e>>>(r>>>16&255)<<(z>>>16&255)|d>>>(r>>>24)<<(z>>>24);break c}case 3:{i[c+((l[t+32>>0]|0)>>>3&255)>>0]=g;i[c+((l[t+33>>0]|0)>>>3&255)>>0]=f;i[c+((l[t+34>>0]|0)>>>3&255)>>0]=e;break c}case 4:{r=k[t+28>>2]|0;z=k[t+32>>2]|0;k[c>>2]=f>>>(r>>>8&255)<<(z>>>8&255)|g>>>(r&255)<<(z&255)|e>>>(r>>>16&255)<<(z>>>16&255)|d>>>(r>>>24)<<(z>>>24);break c}default:break c}}while(0);c=c+v|0;p=a+u|0;r=38;continue}else if((r|0)==38){r=0;switch(u|0){case 1:{r=l[p>>0]|0;f=k[y+32>>2]|0;z=k[y+28>>2]|0;a=(k[124356+(z>>>24<<2)>>2]|0)+((k[y+24>>2]&r)>>>(f>>>24))|0;d=(k[124356+((z>>>16&255)<<2)>>2]|0)+((k[y+20>>2]&r)>>>(f>>>16&255))|0;e=(k[124356+((z>>>8&255)<<2)>>2]|0)+((k[y+16>>2]&r)>>>(f>>>8&255))|0;f=(k[124356+((z&255)<<2)>>2]|0)+((r&k[y+12>>2])>>>(f&255))|0;r=43;break}case 2:{r=m[p>>1]|0;f=k[y+32>>2]|0;z=k[y+28>>2]|0;a=(k[124356+(z>>>24<<2)>>2]|0)+((k[y+24>>2]&r)>>>(f>>>24))|0;d=(k[124356+((z>>>16&255)<<2)>>2]|0)+((k[y+20>>2]&r)>>>(f>>>16&255))|0;e=(k[124356+((z>>>8&255)<<2)>>2]|0)+((k[y+16>>2]&r)>>>(f>>>8&255))|0;f=(k[124356+((z&255)<<2)>>2]|0)+((r&k[y+12>>2])>>>(f&255))|0;r=43;break}case 3:{g=k[y+32>>2]|0;o=255;n=l[p+(g>>>19&31)>>0]|0;h=l[p+(g>>>11&31)>>0]|0;g=l[p+(g>>>3&31)>>0]|0;r=44;break}case 4:{r=k[p>>2]|0;f=k[y+32>>2]|0;z=k[y+28>>2]|0;a=(k[124356+(z>>>24<<2)>>2]|0)+((k[y+24>>2]&r)>>>(f>>>24))|0;d=(k[124356+((z>>>16&255)<<2)>>2]|0)+((k[y+20>>2]&r)>>>(f>>>16&255))|0;e=(k[124356+((z>>>8&255)<<2)>>2]|0)+((k[y+16>>2]&r)>>>(f>>>8&255))|0;f=(k[124356+((z&255)<<2)>>2]|0)+((k[y+12>>2]&r)>>>(f&255))|0;r=43;break}default:{}}if((r|0)==43){r=0;a=i[a>>0]|0;if(a<<24>>24){o=a&255;n=l[d>>0]|0;h=l[e>>0]|0;g=l[f>>0]|0;r=44}}d:do if((r|0)==44){switch(v|0){case 1:{z=l[c>>0]|0;f=k[t+32>>2]|0;r=k[t+28>>2]|0;a=i[(k[124356+(r>>>24<<2)>>2]|0)+((k[t+24>>2]&z)>>>(f>>>24))>>0]|0;d=i[(k[124356+((r>>>16&255)<<2)>>2]|0)+((k[t+20>>2]&z)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((r>>>8&255)<<2)>>2]|0)+((k[t+16>>2]&z)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((r&255)<<2)>>2]|0)+((z&k[t+12>>2])>>>(f&255))>>0]|0;break}case 2:{z=m[c>>1]|0;f=k[t+32>>2]|0;r=k[t+28>>2]|0;a=i[(k[124356+(r>>>24<<2)>>2]|0)+((k[t+24>>2]&z)>>>(f>>>24))>>0]|0;d=i[(k[124356+((r>>>16&255)<<2)>>2]|0)+((k[t+20>>2]&z)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((r>>>8&255)<<2)>>2]|0)+((k[t+16>>2]&z)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((r&255)<<2)>>2]|0)+((z&k[t+12>>2])>>>(f&255))>>0]|0;break}case 3:{f=k[t+32>>2]|0;a=-1;d=i[c+(f>>>19&31)>>0]|0;e=i[c+(f>>>11&31)>>0]|0;f=i[c+(f>>>3&31)>>0]|0;break}case 4:{z=k[c>>2]|0;f=k[t+32>>2]|0;r=k[t+28>>2]|0;a=i[(k[124356+(r>>>24<<2)>>2]|0)+((k[t+24>>2]&z)>>>(f>>>24))>>0]|0;d=i[(k[124356+((r>>>16&255)<<2)>>2]|0)+((k[t+20>>2]&z)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((r>>>8&255)<<2)>>2]|0)+((k[t+16>>2]&z)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((r&255)<<2)>>2]|0)+((k[t+12>>2]&z)>>>(f&255))>>0]|0;break}default:{a=0;d=0;e=0;f=0}}f=f&255;e=e&255;d=d&255;a=a&255;f=(((ha(g-f|0,o)|0)>>>0)/255|0)+f|0;e=(((ha(h-e|0,o)|0)>>>0)/255|0)+e|0;d=(((ha(n-d|0,o)|0)>>>0)/255|0)+d|0;a=a+o-(((ha(a,o)|0)>>>0)/255|0)|0;switch(v|0){case 1:{r=k[t+28>>2]|0;z=k[t+32>>2]|0;i[c>>0]=e>>>(r>>>8&255)<<(z>>>8&255)|f>>>(r&255)<<(z&255)|d>>>(r>>>16&255)<<(z>>>16&255)|a>>>(r>>>24)<<(z>>>24);break d}case 2:{r=k[t+28>>2]|0;z=k[t+32>>2]|0;j[c>>1]=e>>>(r>>>8&255)<<(z>>>8&255)|f>>>(r&255)<<(z&255)|d>>>(r>>>16&255)<<(z>>>16&255)|a>>>(r>>>24)<<(z>>>24);break d}case 3:{i[c+((l[t+32>>0]|0)>>>3&255)>>0]=f;i[c+((l[t+33>>0]|0)>>>3&255)>>0]=e;i[c+((l[t+34>>0]|0)>>>3&255)>>0]=d;break d}case 4:{r=k[t+28>>2]|0;z=k[t+32>>2]|0;k[c>>2]=e>>>(r>>>8&255)<<(z>>>8&255)|f>>>(r&255)<<(z&255)|d>>>(r>>>16&255)<<(z>>>16&255)|a>>>(r>>>24)<<(z>>>24);break d}default:break d}}while(0);c=c+v|0;p=p+u|0;r=55;continue}else if((r|0)==55){r=0;switch(u|0){case 1:{r=l[p>>0]|0;f=k[y+32>>2]|0;z=k[y+28>>2]|0;a=(k[124356+(z>>>24<<2)>>2]|0)+((k[y+24>>2]&r)>>>(f>>>24))|0;d=(k[124356+((z>>>16&255)<<2)>>2]|0)+((k[y+20>>2]&r)>>>(f>>>16&255))|0;e=(k[124356+((z>>>8&255)<<2)>>2]|0)+((k[y+16>>2]&r)>>>(f>>>8&255))|0;f=(k[124356+((z&255)<<2)>>2]|0)+((r&k[y+12>>2])>>>(f&255))|0;r=60;break}case 2:{r=m[p>>1]|0;f=k[y+32>>2]|0;z=k[y+28>>2]|0;a=(k[124356+(z>>>24<<2)>>2]|0)+((k[y+24>>2]&r)>>>(f>>>24))|0;d=(k[124356+((z>>>16&255)<<2)>>2]|0)+((k[y+20>>2]&r)>>>(f>>>16&255))|0;e=(k[124356+((z>>>8&255)<<2)>>2]|0)+((k[y+16>>2]&r)>>>(f>>>8&255))|0;f=(k[124356+((z&255)<<2)>>2]|0)+((r&k[y+12>>2])>>>(f&255))|0;r=60;break}case 3:{g=k[y+32>>2]|0;o=255;n=l[p+(g>>>19&31)>>0]|0;h=l[p+(g>>>11&31)>>0]|0;g=l[p+(g>>>3&31)>>0]|0;r=61;break}case 4:{r=k[p>>2]|0;f=k[y+32>>2]|0;z=k[y+28>>2]|0;a=(k[124356+(z>>>24<<2)>>2]|0)+((k[y+24>>2]&r)>>>(f>>>24))|0;d=(k[124356+((z>>>16&255)<<2)>>2]|0)+((k[y+20>>2]&r)>>>(f>>>16&255))|0;e=(k[124356+((z>>>8&255)<<2)>>2]|0)+((k[y+16>>2]&r)>>>(f>>>8&255))|0;f=(k[124356+((z&255)<<2)>>2]|0)+((k[y+12>>2]&r)>>>(f&255))|0;r=60;break}default:{}}if((r|0)==60){r=0;a=i[a>>0]|0;if(a<<24>>24){o=a&255;n=l[d>>0]|0;h=l[e>>0]|0;g=l[f>>0]|0;r=61}}e:do if((r|0)==61){switch(v|0){case 1:{z=l[c>>0]|0;f=k[t+32>>2]|0;r=k[t+28>>2]|0;a=i[(k[124356+(r>>>24<<2)>>2]|0)+((k[t+24>>2]&z)>>>(f>>>24))>>0]|0;d=i[(k[124356+((r>>>16&255)<<2)>>2]|0)+((k[t+20>>2]&z)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((r>>>8&255)<<2)>>2]|0)+((k[t+16>>2]&z)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((r&255)<<2)>>2]|0)+((z&k[t+12>>2])>>>(f&255))>>0]|0;break}case 2:{z=m[c>>1]|0;f=k[t+32>>2]|0;r=k[t+28>>2]|0;a=i[(k[124356+(r>>>24<<2)>>2]|0)+((k[t+24>>2]&z)>>>(f>>>24))>>0]|0;d=i[(k[124356+((r>>>16&255)<<2)>>2]|0)+((k[t+20>>2]&z)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((r>>>8&255)<<2)>>2]|0)+((k[t+16>>2]&z)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((r&255)<<2)>>2]|0)+((z&k[t+12>>2])>>>(f&255))>>0]|0;break}case 3:{f=k[t+32>>2]|0;a=-1;d=i[c+(f>>>19&31)>>0]|0;e=i[c+(f>>>11&31)>>0]|0;f=i[c+(f>>>3&31)>>0]|0;break}case 4:{z=k[c>>2]|0;f=k[t+32>>2]|0;r=k[t+28>>2]|0;a=i[(k[124356+(r>>>24<<2)>>2]|0)+((k[t+24>>2]&z)>>>(f>>>24))>>0]|0;d=i[(k[124356+((r>>>16&255)<<2)>>2]|0)+((k[t+20>>2]&z)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((r>>>8&255)<<2)>>2]|0)+((k[t+16>>2]&z)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((r&255)<<2)>>2]|0)+((k[t+12>>2]&z)>>>(f&255))>>0]|0;break}default:{a=0;d=0;e=0;f=0}}f=f&255;e=e&255;d=d&255;a=a&255;f=(((ha(g-f|0,o)|0)>>>0)/255|0)+f|0;e=(((ha(h-e|0,o)|0)>>>0)/255|0)+e|0;d=(((ha(n-d|0,o)|0)>>>0)/255|0)+d|0;a=a+o-(((ha(a,o)|0)>>>0)/255|0)|0;switch(v|0){case 1:{r=k[t+28>>2]|0;z=k[t+32>>2]|0;i[c>>0]=e>>>(r>>>8&255)<<(z>>>8&255)|f>>>(r&255)<<(z&255)|d>>>(r>>>16&255)<<(z>>>16&255)|a>>>(r>>>24)<<(z>>>24);break e}case 2:{r=k[t+28>>2]|0;z=k[t+32>>2]|0;j[c>>1]=e>>>(r>>>8&255)<<(z>>>8&255)|f>>>(r&255)<<(z&255)|d>>>(r>>>16&255)<<(z>>>16&255)|a>>>(r>>>24)<<(z>>>24);break e}case 3:{i[c+((l[t+32>>0]|0)>>>3&255)>>0]=f;i[c+((l[t+33>>0]|0)>>>3&255)>>0]=e;i[c+((l[t+34>>0]|0)>>>3&255)>>0]=d;break e}case 4:{r=k[t+28>>2]|0;z=k[t+32>>2]|0;k[c>>2]=e>>>(r>>>8&255)<<(z>>>8&255)|f>>>(r&255)<<(z&255)|d>>>(r>>>16&255)<<(z>>>16&255)|a>>>(r>>>24)<<(z>>>24);break e}default:break e}}while(0);a=p+u|0;c=c+v|0;if((q|0)>1){q=q+-1|0;r=4;continue}else break}if(!b){r=74;break}else{c=c+x|0;a=a+w|0}}if((r|0)!=72)if((r|0)==74)return}function G9a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=k[a+24>>2]|0;b=k[a+28>>2]|0;g=k[a+16>>2]>>2;h=k[a+36>>2]>>1;if(!b)return;c=k[a+20>>2]|0;d=k[a>>2]|0;a:while(1){b=b+-1|0;switch(f&3|0){case 0:{e=(f+3|0)/4|0;a=4;break}case 3:{e=(f+3|0)/4|0;a=8;break}case 2:{e=(f+3|0)/4|0;a=12;break}case 1:{e=(f+3|0)/4|0;a=16;break}default:{a=20;break a}}while(1)if((a|0)==4){a=k[d>>2]|0;switch(a>>>27|0){case 0:break;case 31:{j[c>>1]=a>>>8&63488|a>>>5&2016|a>>>3&31;break}default:{i=m[c>>1]|0;a=((ha((a<<11&132120576|a>>>8&63488|a>>>3&31)-((i<<16|i)&132184095)|0,a>>>27)|0)>>>5)+((i<<16|i)&132184095)&132184095;j[c>>1]=a>>>16|a}}c=c+2|0;d=d+4|0;a=8;continue}else if((a|0)==8){a=k[d>>2]|0;switch(a>>>27|0){case 0:break;case 31:{j[c>>1]=a>>>8&63488|a>>>5&2016|a>>>3&31;break}default:{i=m[c>>1]|0;i=((ha((a<<11&132120576|a>>>8&63488|a>>>3&31)-((i<<16|i)&132184095)|0,a>>>27)|0)>>>5)+((i<<16|i)&132184095)&132184095;j[c>>1]=i>>>16|i}}c=c+2|0;d=d+4|0;a=12;continue}else if((a|0)==12){a=k[d>>2]|0;switch(a>>>27|0){case 0:break;case 31:{j[c>>1]=a>>>8&63488|a>>>5&2016|a>>>3&31;break}default:{i=m[c>>1]|0;i=((ha((a<<11&132120576|a>>>8&63488|a>>>3&31)-((i<<16|i)&132184095)|0,a>>>27)|0)>>>5)+((i<<16|i)&132184095)&132184095;j[c>>1]=i>>>16|i}}c=c+2|0;d=d+4|0;a=16;continue}else if((a|0)==16){a=k[d>>2]|0;switch(a>>>27|0){case 0:break;case 31:{j[c>>1]=a>>>8&63488|a>>>5&2016|a>>>3&31;break}default:{i=m[c>>1]|0;i=((ha((a<<11&132120576|a>>>8&63488|a>>>3&31)-((i<<16|i)&132184095)|0,a>>>27)|0)>>>5)+((i<<16|i)&132184095)&132184095;j[c>>1]=i>>>16|i}}d=d+4|0;c=c+2|0;if((e|0)>1){e=e+-1|0;a=4;continue}else break}if(!b){a=22;break}else{c=c+(h<<1)|0;d=d+(g<<2)|0}}if((a|0)!=20)if((a|0)==22)return}function H9a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,l=0,n=0,o=0;l=i[a+63>>0]|0;if(l<<24>>24==-128){I9a(a,-1058);return}o=k[a+24>>2]|0;b=k[a+28>>2]|0;d=k[a>>2]|0;n=k[a+16>>2]>>1;c=k[a+20>>2]|0;h=k[a+36>>2]>>1;if(!b)return;if(!(o&3)){e=b+-1|0;a=c;b=d;while(1){d=(o+3|0)/4|0;while(1){g=m[b>>1]|0;c=m[a>>1]|0;c=((ha(((g<<16|g)&65043487)-((c<<16|c)&65043487)|0,(l&255)>>>3)|0)>>>5)+((c<<16|c)&65043487)&65043487;g=a+2|0;j[a>>1]=c>>>16|c;c=m[b+2>>1]|0;f=m[g>>1]|0;f=((ha(((c<<16|c)&65043487)-((f<<16|f)&65043487)|0,(l&255)>>>3)|0)>>>5)+((f<<16|f)&65043487)&65043487;c=a+4|0;j[g>>1]=f>>>16|f;g=m[b+4>>1]|0;f=m[c>>1]|0;f=((ha(((g<<16|g)&65043487)-((f<<16|f)&65043487)|0,(l&255)>>>3)|0)>>>5)+((f<<16|f)&65043487)&65043487;g=a+6|0;j[c>>1]=f>>>16|f;c=b+8|0;b=m[b+6>>1]|0;f=m[g>>1]|0;f=((ha(((b<<16|b)&65043487)-((f<<16|f)&65043487)|0,(l&255)>>>3)|0)>>>5)+((f<<16|f)&65043487)&65043487;a=a+8|0;j[g>>1]=f>>>16|f;if((d|0)>1){d=d+-1|0;b=c}else break}if(!e)break;else{e=e+-1|0;a=a+(h<<1)|0;b=c+(n<<1)|0}}return}else{g=b+-1|0;a=c;b=d}a:while(1){switch(o&3|0){case 1:{e=(o+3|0)/4|0;d=b;f=12;break}case 3:{c=(o+3|0)/4|0;f=10;break}case 2:{c=(o+3|0)/4|0;f=11;break}default:{f=13;break a}}while(1)if((f|0)==10){d=m[b>>1]|0;e=m[a>>1]|0;e=((ha(((d<<16|d)&65043487)-((e<<16|e)&65043487)|0,(l&255)>>>3)|0)>>>5)+((e<<16|e)&65043487)&65043487;j[a>>1]=e>>>16|e;a=a+2|0;b=b+2|0;f=11;continue}else if((f|0)==11){d=m[b>>1]|0;e=m[a>>1]|0;e=((ha(((d<<16|d)&65043487)-((e<<16|e)&65043487)|0,(l&255)>>>3)|0)>>>5)+((e<<16|e)&65043487)&65043487;j[a>>1]=e>>>16|e;a=a+2|0;e=c;d=b+2|0;f=12;continue}else if((f|0)==12){c=d+2|0;b=m[d>>1]|0;f=m[a>>1]|0;f=((ha(((b<<16|b)&65043487)-((f<<16|f)&65043487)|0,(l&255)>>>3)|0)>>>5)+((f<<16|f)&65043487)&65043487;b=a+2|0;j[a>>1]=f>>>16|f;if((e|0)<=1)break;f=m[c>>1]|0;c=m[b>>1]|0;c=((ha(((f<<16|f)&65043487)-((c<<16|c)&65043487)|0,(l&255)>>>3)|0)>>>5)+((c<<16|c)&65043487)&65043487;j[b>>1]=c>>>16|c;a=a+4|0;c=e+-1|0;b=d+4|0;f=10;continue}if(!g){f=15;break}else{g=g+-1|0;a=b+(h<<1)|0;b=c+(n<<1)|0}}if((f|0)!=13)if((f|0)==15)return}function I9a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0;m=k[a+24>>2]|0;c=k[a+28>>2]|0;o=k[a+16>>2]>>1;p=k[a+36>>2]>>1;if(!c)return;n=(b&65535)<<16|b&65535;d=k[a+20>>2]|0;a=k[a>>2]|0;while(1){c=c+-1|0;e=a;f=d;if(!((e^f)&2)){if(!(e&2))e=m;else{e=j[d>>1]|0;l=j[a>>1]|0;j[d>>1]=(((l&b&65535)+(e&b&65535)|0)>>>1)+(l&e&65535&(b&65535^65535));d=d+2|0;a=a+2|0;e=m+-1|0}if((e|0)>1){h=e+-2|0;f=d+4|0;g=a+4|0;while(1){i=k[a>>2]|0;l=k[d>>2]|0;k[d>>2]=((l&n)>>>1)+((i&n)>>>1)+(i&~n&l);e=e+-2|0;if((e|0)<=1)break;else{d=d+4|0;a=a+4|0}}d=f+((h&-2)<<1)|0;a=g+((h&-2)<<1)|0;e=h-(h&-2)|0}if(e){l=j[d>>1]|0;i=j[a>>1]|0;j[d>>1]=(((i&b&65535)+(l&b&65535)|0)>>>1)+(i&l&65535&(b&65535^65535));d=d+2|0;a=a+2|0}a=a+(o<<1)|0}else{if(!(f&2))e=m;else{e=j[d>>1]|0;l=j[a>>1]|0;j[d>>1]=(((l&b&65535)+(e&b&65535)|0)>>>1)+(l&e&65535&(b&65535^65535));d=d+2|0;a=a+2|0;e=m+-1|0}g=a+2|0;f=k[a+-2>>2]|0;if((e|0)>1){l=e+-2|0;i=a+6|0;h=d+4|0;while(1){a=k[g>>2]|0;q=k[d>>2]|0;f=a<<16|f>>>16;k[d>>2]=((f&n)>>>1)+((q&n)>>>1)+(q&~n&f);e=e+-2|0;if((e|0)<=1)break;else{d=d+4|0;f=a;g=g+4|0}}d=h+((l&-2)<<1)|0;f=a;a=i+((l&-2)<<1)|0;e=l-(l&-2)|0}else a=g;if(e){q=j[d>>1]|0;l=f>>>16;j[d>>1]=(((q&b&65535)+(l&(b&65535))|0)>>>1)+(l&(b&65535^65535)&(q&65535));d=d+2|0;a=a+2|0}a=a+(o+-1<<1)|0}if(!c)break;else d=d+(p<<1)|0}return}function J9a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,jb=0,kb=0,lb=0,mb=0,nb=0,ob=0,pb=0,qb=0,rb=0,sb=0,tb=0,ub=0,vb=0,wb=0,xb=0,yb=0,zb=0,Ab=0,Bb=0,Cb=0,Db=0,Eb=0,Fb=0,Gb=0,Hb=0,Ib=0,Jb=0,Kb=0,Lb=0,Mb=0,Nb=0,Ob=0,Pb=0,Qb=0,Rb=0,Sb=0,Tb=0,Ub=0,Vb=0,Wb=0,Xb=0,Yb=0,Zb=0,_b=0,$b=0,ac=0,bc=0,cc=0,dc=0,ec=0,fc=0,gc=0,hc=0,ic=0,jc=0,kc=0,lc=0,mc=0,nc=0,oc=0,pc=0,qc=0,rc=0,sc=0,tc=0,uc=0,vc=0,wc=0,xc=0,yc=0,zc=0,Ac=0,Bc=0,Cc=0,Dc=0,Ec=0,Fc=0,Gc=0,Hc=0,Ic=0,Jc=0,Kc=0,Lc=0,Mc=0,Nc=0,Oc=0,Pc=0,Qc=0,Rc=0,Sc=0,Tc=0,Uc=0,Vc=0,Wc=0,Xc=0,Yc=0,Zc=0,_c=0,$c=0,ad=0,bd=0,cd=0;xb=k[a+48>>2]|0;zb=k[a+96>>2]|0;Ab=k[a+104>>2]|0;Bb=k[a+120>>2]|0;r=k[a+168>>2]|0;z=k[a+176>>2]|0;t=k[a+184>>2]|0;Cb=k[a+208>>2]|0;Db=k[a+256>>2]|0;Eb=k[a+392>>2]|0;Fb=k[a+400>>2]|0;Gb=k[a+448>>2]|0;Hb=k[a+464>>2]|0;Ib=k[a+552>>2]|0;Jb=k[a+576>>2]|0;Kb=k[a+584>>2]|0;Lb=k[a+592>>2]|0;Mb=k[a+600>>2]|0;va=k[a+768>>2]|0;yb=k[a+776>>2]|0;Nb=k[a+824>>2]|0;Ob=k[a+1256>>2]|0;Pb=k[a+2248>>2]|0;Qb=k[a+2256>>2]|0;Rb=k[a+2264>>2]|0;Sb=k[a+2272>>2]|0;Tb=k[a+2280>>2]|0;o=k[a+2664>>2]|0;A=k[a+2672>>2]|0;u=k[a+2680>>2]|0;Ub=k[a+2720>>2]|0;Vb=k[a+2760>>2]|0;Wb=k[a+2872>>2]|0;Xb=k[a+2880>>2]|0;Yb=k[a+2896>>2]|0;Zb=k[a+2920>>2]|0;_b=k[a+2928>>2]|0;$b=k[a+2936>>2]|0;ac=k[a+2944>>2]|0;bc=k[a+2952>>2]|0;cc=k[a+2984>>2]|0;dc=k[a+3096>>2]|0;ec=k[a+3120>>2]|0;q=k[a+3232>>2]|0;B=k[a+3240>>2]|0;v=k[a+3248>>2]|0;fc=k[a+3288>>2]|0;gc=k[a+3328>>2]|0;hc=k[a+3440>>2]|0;ic=k[a+3448>>2]|0;jc=k[a+3464>>2]|0;kc=k[a+3488>>2]|0;lc=k[a+3496>>2]|0;mc=k[a+3504>>2]|0;nc=k[a+3512>>2]|0;oc=k[a+3520>>2]|0;pc=k[a+3552>>2]|0;qc=k[a+3672>>2]|0;rc=k[a+3704>>2]|0;sc=k[a+3776>>2]|0;G=k[a+3936>>2]|0;C=k[a+3944>>2]|0;w=k[a+3952>>2]|0;tc=k[a+3984>>2]|0;uc=k[a+4040>>2]|0;vc=k[a+4128>>2]|0;wc=k[a+4136>>2]|0;xc=k[a+4176>>2]|0;yc=k[a+4184>>2]|0;zc=k[a+4192>>2]|0;Ac=k[a+4200>>2]|0;Bc=k[a+4208>>2]|0;Cc=k[a+4344>>2]|0;p=k[a+4432>>2]|0;D=k[a+4440>>2]|0;x=k[a+4448>>2]|0;Dc=k[a+4488>>2]|0;Ec=k[a+4544>>2]|0;Fc=k[a+4656>>2]|0;Gc=k[a+4664>>2]|0;Hc=k[a+4680>>2]|0;Ic=k[a+4712>>2]|0;Jc=k[a+4720>>2]|0;Kc=k[a+4728>>2]|0;Lc=k[a+4736>>2]|0;Mc=k[a+4744>>2]|0;Nc=k[a+4776>>2]|0;Oc=k[a+4896>>2]|0;Pc=k[a+4920>>2]|0;Qc=k[a+4936>>2]|0;s=k[a+5064>>2]|0;E=k[a+5072>>2]|0;y=k[a+5080>>2]|0;Rc=k[a+5112>>2]|0;Sc=k[a+5120>>2]|0;Tc=k[a+5128>>2]|0;Uc=k[a+5144>>2]|0;Vc=k[a+5152>>2]|0;Wc=k[a+5160>>2]|0;Xc=k[a+5176>>2]|0;Yc=k[a+5184>>2]|0;Zc=k[a+5192>>2]|0;_c=k[a+5200>>2]|0;$c=k[a+5208>>2]|0;ad=k[a+5224>>2]|0;bd=k[a+5240>>2]|0;cd=k[a+5560>>2]|0;Q=k[a+5584>>2]|0;a:{if((Q|0)==43){if(q>>>0<14){m=G;while(1){if(!m){Eb=r;Yb=o;jc=q;Hc=p;Q=83;k[a+5600>>2]=2;k[a+5604>>2]=14;break a}m=m+-1|0;j=p+1|0;o=(l[p>>0]|0)<>>0<14){r=0;q=p;p=j}else{r=0;t=p;break}}}else{t=q;m=G;j=p}k[Nb+4>>2]=o&16383;p=o&31;if(p>>>0>29){Wb=o;hc=t;vc=m;Fc=j;Rc=s;Q=86;k[a+5600>>2]=1;break a}q=o>>>5&31;if(q>>>0>29){Wb=o;hc=t;vc=m;Fc=j;Rc=s;Q=86;k[a+5600>>2]=1;break a}Q=Ri[k[xb+32>>2]&255](k[xb+40>>2]|0,p+258+q|0,4)|0;k[Nb+12>>2]=Q;if(!Q){Xb=o;ic=t;wc=m;Gc=j;Sc=s;Q=88;k[a+5600>>2]=1;break a}k[Nb+8>>2]=0;k[Nb>>2]=4;F=r;H=0;I=o>>>14;J=t+-14|0;K=s;Q=90}else if((Q|0)==91){o=k[Nb+8>>2]|0;if(o>>>0<(((k[Nb+4>>2]|0)>>>10)+4|0)>>>0){F=z;H=o;I=A;J=B;m=C;j=D;K=E;Q=90}else{n=z;b=o;g=A;h=B;N=C;L=D;M=E;Q=92}}else if((Q|0)==110){O=t;P=k[Nb+8>>2]|0;c=u;f=v;d=w;e=x;R=y;Q=111}if((Q|0)==90){n=F;b=H;g=I;h=J;while(1){if(h>>>0<3){if(!m){Gb=n;cc=g;pc=h;Nc=j;ad=K;Q=96;k[a+5600>>2]=2;k[a+5604>>2]=14;break a}n=0;g=(l[j>>0]|0)<>2]=b+1;k[(k[Nb+12>>2]|0)+(k[65548+(b<<2)>>2]<<2)>>2]=g&7;g=g>>>3;h=h+-3|0;b=k[Nb+8>>2]|0;if(b>>>0>=(((k[Nb+4>>2]|0)>>>10)+4|0)>>>0){N=m;L=j;M=K;Q=92;break}}}if((Q|0)==92){if(b>>>0<19){c=k[Nb+12>>2]|0;do{k[Nb+8>>2]=b+1;k[c+(k[65548+(b<<2)>>2]<<2)>>2]=0;b=k[Nb+8>>2]|0}while(b>>>0<19)}k[Nb+16>>2]=7;b=k[Nb+12>>2]|0;c=k[Nb+36>>2]|0;k[a+16>>2]=0;d=Ri[k[xb+32>>2]&255](k[xb+40>>2]|0,19,4)|0;if(!d){Zb=g;kc=h;xc=N;Ic=L;Xc=M;Q=101;k[a+5600>>2]=1;break a}b=t3a(b,19,19,0,0,Nb+20|0,Nb+16|0,c,a+16|0,d)|0;switch(b|0){case -5:{Mb=d;_b=g;lc=h;yc=N;Jc=L;Yc=M;Q=104;k[a+5600>>2]=2;k[a+5604>>2]=14;break a}case -3:{Ob=d;bc=g;oc=h;Bc=N;Mc=L;$c=M;cd=592897;Q=105;k[a+5600>>2]=2;k[a+5604>>2]=14;break a}default:{}}if(!(k[Nb+16>>2]|0)){Mb=d;_b=g;lc=h;yc=N;Jc=L;Yc=M;Q=104;k[a+5600>>2]=1;break a}Di[k[xb+36>>2]&511](k[xb+40>>2]|0,d);switch(b|0){case -3:{ac=g;nc=h;Ac=N;Lc=L;_c=M;Q=107;k[a+5600>>2]=2;k[a+5604>>2]=14;break a}case 0:break;default:{Ab=b;$b=g;mc=h;zc=N;Kc=L;Zc=M;Q=108;k[a+5600>>2]=2;k[a+5604>>2]=14;break a}}k[Nb+8>>2]=0;k[Nb>>2]=5;O=n;P=0;c=g;f=h;d=N;e=L;R=M;Q=111}if((Q|0)==111){Q=0;b=k[Nb+4>>2]|0;if(P>>>0<((b&31)+258+(b>>>5&31)|0)>>>0){g=O;m=P;while(1){j=k[Nb+16>>2]|0;if(f>>>0>>0)while(1){if(!d){Ib=g;dc=c;qc=f;Oc=e;Uc=R;Q=116;k[a+5600>>2]=2;k[a+5604>>2]=14;break a}d=d+-1|0;h=e+1|0;c=(l[e>>0]|0)<>>0>>0){g=0;f=e;e=h}else{g=0;f=e;e=h;break}}P=k[Nb+20>>2]|0;p=k[65624+(j<<2)>>2]&c;j=l[P+(p<<3)+1>>0]|0;p=k[P+(p<<3)+4>>2]|0;if(p>>>0<16){k[Nb+8>>2]=m+1;P=k[Nb+12>>2]|0;k[P+(m<<2)>>2]=p;h=g;m=k[Nb+8>>2]|0;g=P;c=c>>>j;f=f-j|0}else{r=(p|0)==18?7:p+-14|0;q=(p|0)==18?11:3;if(f>>>0<(r+j|0)>>>0){h=g;g=e;while(1){if(!d){Jb=h;ec=c;rc=f;Qc=g;Vc=R;Q=123;k[a+5600>>2]=2;k[a+5604>>2]=14;break a}d=d+-1|0;e=g+1|0;c=(l[g>>0]|0)<>>0<(r+j|0)>>>0){h=0;g=e}else{o=0;break}}}else o=g;n=c>>>j;h=k[65624+(r<<2)>>2]&n;j=f-j-r|0;if((h+q+m|0)>>>0>((b&31)+258+(b>>>5&31)|0)>>>0){Kb=n>>>r;Lb=j;Cc=d;Pc=e;Wc=R;Q=126;k[a+5600>>2]=2;k[a+5604>>2]=14;break a}if((m|0)==0&(p|0)==16){Kb=n>>>r;Lb=j;Cc=d;Pc=e;Wc=R;Q=126;k[a+5600>>2]=2;k[a+5604>>2]=14;break a}if((p|0)==16){b=k[Nb+12>>2]|0;g=b;b=k[b+(m+-1<<2)>>2]|0}else{g=k[Nb+12>>2]|0;b=0}c=m;f=h+q|0;while(1){k[g+(c<<2)>>2]=b;f=f+-1|0;if(!f)break;else c=c+1|0}m=q+m+h|0;k[Nb+8>>2]=m;h=o;c=n>>>r;f=j}b=k[Nb+4>>2]|0;if(m>>>0<((b&31)+258+(b>>>5&31)|0)>>>0)g=h;else{o=h;j=g;n=c;m=f;h=d;break}}}else{o=O;j=k[Nb+12>>2]|0;n=c;m=f;h=d}k[Nb+20>>2]=0;k[a+12>>2]=9;k[a+8>>2]=6;g=b&31;b=(b>>>5&31)+1|0;c=k[Nb+36>>2]|0;k[a+16>>2]=0;d=Ri[k[xb+32>>2]&255](k[xb+40>>2]|0,288,4)|0;b:do if(!d){Y=-4;Q=150}else{c:do switch(t3a(j,g+257|0,257,65692,65816,a+4|0,a+12|0,c,a+16|0,d)|0){case 0:{f=k[a+12>>2]|0;if(!f)Q=138;else{switch(t3a(j+(g+257<<2)|0,b,0,32332,32212,a,a+8|0,c,a+16|0,d)|0){case 0:{b=k[a+8>>2]|0;if((g|0)!=0&(b|0)==0)Q=144;else{Di[k[xb+36>>2]&511](k[xb+40>>2]|0,d);Z=f;_=b;break c}break}case -3:{k[xb+24>>2]=593039;X=-3;break}case -5:{k[xb+24>>2]=593068;X=-3;break}case -4:{X=-4;break}default:Q=144}if((Q|0)==144){k[xb+24>>2]=593093;X=-3}Di[k[xb+36>>2]&511](k[xb+40>>2]|0,d);S=X;Q=147}break}case -3:{k[xb+24>>2]=592973;W=-3;Q=139;break}case -4:{W=-4;Q=139;break}default:Q=138}while(0);if((Q|0)==138){k[xb+24>>2]=593008;W=-3;Q=139}if((Q|0)==139){Di[k[xb+36>>2]&511](k[xb+40>>2]|0,d);S=W;Q=147}d:do if((Q|0)==147){Q=0;switch(S|0){case 0:{Z=k[a+12>>2]|0;_=k[a+8>>2]|0;break d}case -3:{Di[k[xb+36>>2]&511](k[xb+40>>2]|0,k[Nb+12>>2]|0);k[Nb>>2]=9;Y=-3;Q=150;break b}default:{Y=-4;Q=150;break b}}}while(0);b=k[a+4>>2]|0;c=k[a>>2]|0;d=Ri[k[xb+32>>2]&255](k[xb+40>>2]|0,1,28)|0;if(!d){k[Nb+32>>2]=n;k[Nb+28>>2]=m;k[xb+4>>2]=h;k[xb+8>>2]=e-(k[xb>>2]|0)+(k[xb+8>>2]|0);k[xb>>2]=e;k[Nb+52>>2]=R;T=-4;U=0;V=s3a(Nb,xb,-4)|0;break}else{k[d>>2]=0;i[d+16>>0]=Z;i[d+17>>0]=_;k[d+20>>2]=b;k[d+24>>2]=c;k[Nb+4>>2]=d;T=o;U=1;V=Bb;break}}while(0);if((Q|0)==150){Q=0;k[Nb+32>>2]=n;k[Nb+28>>2]=m;k[xb+4>>2]=h;k[xb+8>>2]=e-(k[xb>>2]|0)+(k[xb+8>>2]|0);k[xb>>2]=e;k[Nb+52>>2]=R;T=Y;U=0;V=s3a(Nb,xb,Y)|0}if(!U){Hb=V;k[a+5600>>2]=1;break a}Di[k[xb+36>>2]&511](k[xb+40>>2]|0,k[Nb+12>>2]|0);k[Nb>>2]=6;Db=T;Fb=V;Vb=n;gc=m;uc=h;Ec=e;Tc=R}k[Nb+32>>2]=Vb;k[Nb+28>>2]=gc;k[xb+4>>2]=uc;k[xb+8>>2]=Ec-(k[xb>>2]|0)+(k[xb+8>>2]|0);k[xb>>2]=Ec;k[Nb+52>>2]=Tc;t=k[Nb+4>>2]|0;b=k[Nb+48>>2]|0;if(Tc>>>0>>0)b=b+~Tc|0;else b=(k[yb>>2]|0)-Tc|0;h=Db;p=k[t>>2]|0;q=Vb;r=gc;c=b;m=uc;j=Ec;s=Tc;e:while(1){switch(p|0){case 7:{mb=h;pb=q;rb=r;tb=m;lb=j;nb=s;Q=230;break e}case 8:{qb=q;sb=r;ub=m;vb=j;wb=s;Q=233;break e}case 9:{ya=q;Ga=r;Oa=m;Ua=j;cb=s;Q=234;break e}case 0:{wa=l[t+16>>0]|0;k[t+12>>2]=wa;k[t+8>>2]=k[t+20>>2];k[t>>2]=1;Q=165;break}case 1:{wa=k[t+12>>2]|0;Q=165;break}case 2:{o=k[t+8>>2]|0;if(r>>>0>>0){g=h;d=q;f=r;b=m;e=j;while(1){if(!b){sa=g;Ba=d;Ja=f;Ya=e;eb=s;Q=181;break e}b=b+-1|0;n=e+1|0;d=(l[e>>0]|0)<>>0>>0){g=0;f=e;e=n}else{f=0;g=n;break}}}else{f=h;d=q;e=r;b=m;g=j}k[t+4>>2]=(k[t+4>>2]|0)+(k[65624+(o<<2)>>2]&d);ja=l[t+17>>0]|0;k[t+12>>2]=ja;k[t+8>>2]=k[t+24>>2];k[t>>2]=3;ha=f;fa=d>>>o;da=e-o|0;ba=b;$=g;Q=183;break}case 3:{ha=h;ja=k[t+12>>2]|0;fa=q;da=r;ba=m;$=j;Q=183;break}case 4:{o=k[t+8>>2]|0;if(r>>>0>>0){g=h;d=q;f=r;b=m;e=j;while(1){if(!b){ua=g;Da=d;La=f;$a=e;db=s;Q=195;break e}b=b+-1|0;n=e+1|0;d=(l[e>>0]|0)<>>0>>0){g=0;f=e;e=n}else{f=0;g=n;break}}}else{f=h;d=q;e=r;b=m;g=j}ka=(k[t+12>>2]|0)+(k[65624+(o<<2)>>2]&d)|0;k[t+12>>2]=ka;k[t>>2]=5;ia=f;ga=d>>>o;ea=e-o|0;ca=b;aa=g;Q=197;break}case 5:{ia=h;ka=k[t+12>>2]|0;ga=q;ea=r;ca=m;aa=j;Q=197;break}case 6:{do if(!c){if((s|0)==(k[va>>2]|0)){c=k[Nb+48>>2]|0;b=k[Nb+40>>2]|0;if((c|0)==(b|0))b=s;else{c=b>>>0>>0?c+-1|0:s;if((c|0)!=(b|0)){c=c-b|0;break}}}else b=s;k[Nb+52>>2]=b;qa=s3a(Nb,xb,h)|0;b=k[Nb+52>>2]|0;e=k[Nb+48>>2]|0;if(b>>>0>>0){c=e+~b|0;d=k[va>>2]|0}else{d=k[yb>>2]|0;c=d-b|0}if((b|0)==(d|0)){d=k[Nb+40>>2]|0;if((e|0)!=(d|0)){c=(d>>>0>>0?e+-1|0:b)-d|0;b=d}}if(!c){za=q;Ha=r;Pa=m;Va=j;kb=b;Q=228;break e}}else b=s;while(0);i[b>>0]=k[t+8>>2];k[t>>2]=0;h=0;p=0;c=c+-1|0;s=b+1|0;continue e}default:{xa=q;Fa=r;Na=m;Ta=j;bb=s;Q=235;break e}}if((Q|0)==165){if(r>>>0>>0){b=q;f=r;d=m;e=j;while(1){if(!d){ra=h;Aa=b;Ia=f;Xa=e;hb=s;Q=168;break e}d=d+-1|0;g=e+1|0;b=(l[e>>0]|0)<>>0>>0){h=0;f=e;e=g}else{h=0;j=g;break}}}else{b=q;e=r;d=m}f=k[t+8>>2]|0;g=k[65624+(wa<<2)>>2]&b;la=l[f+(g<<3)+1>>0]|0;na=b>>>la;la=e-la|0;b=i[f+(g<<3)>>0]|0;if(!(b<<24>>24)){k[t+8>>2]=k[f+(g<<3)+4>>2];k[t>>2]=6;Z=s;_=c;p=6;q=na;r=la;m=d;s=Z;c=_;continue}if(b&16|0){k[t+8>>2]=b&15;k[t+4>>2]=k[f+(g<<3)+4>>2];k[t>>2]=2;Z=s;_=c;p=2;q=na;r=la;m=d;s=Z;c=_;continue}if(!(b&64)){k[t+12>>2]=b&255;k[t+8>>2]=f+(g<<3)+(k[f+(g<<3)+4>>2]<<3);Z=s;_=c;p=1;q=na;r=la;m=d;s=Z;c=_;continue}if(!(b&32)){Qa=d;Wa=j;ib=s;Q=177;break}k[t>>2]=7;Z=s;_=c;p=7;q=na;r=la;m=d;s=Z;c=_;continue}else if((Q|0)==183){if(da>>>0>>0){g=ha;d=fa;f=da;b=ba;e=$;while(1){if(!b){ta=g;Ca=d;Ka=f;_a=e;fb=s;Q=186;break e}b=b+-1|0;j=e+1|0;d=(l[e>>0]|0)<>>0>>0){g=0;f=e;e=j}else{h=0;m=b;break}}}else{h=ha;d=fa;e=da;m=ba;j=$}f=k[t+8>>2]|0;g=k[65624+(ja<<2)>>2]&d;ma=l[f+(g<<3)+1>>0]|0;oa=d>>>ma;ma=e-ma|0;b=l[f+(g<<3)>>0]|0;if(b&16|0){k[t+8>>2]=b&15;k[t+12>>2]=k[f+(g<<3)+4>>2];k[t>>2]=4;Z=s;_=c;p=4;q=oa;r=ma;s=Z;c=_;continue}if(b&64|0){Ra=m;Za=j;gb=s;Q=191;break}k[t+12>>2]=b;k[t+8>>2]=f+(g<<3)+(k[f+(g<<3)+4>>2]<<3);Z=s;_=c;p=3;q=oa;r=ma;s=Z;c=_;continue}else if((Q|0)==197){b=s+(0-ka)|0;d=k[Nb+40>>2]|0;if(b>>>0>>0){e=(k[yb>>2]|0)-d|0;do b=b+e|0;while(b>>>0>>0)}if(!(k[t+4>>2]|0)){b=ia;d=s}else{f=ia;g=b;d=s;while(1){do if(!c){if((d|0)==(k[va>>2]|0)){c=k[Nb+48>>2]|0;b=k[Nb+40>>2]|0;if((c|0)==(b|0))b=d;else{c=b>>>0>>0?c+-1|0:d;if((c|0)!=(b|0)){c=c-b|0;break}}}else b=d;k[Nb+52>>2]=b;pa=s3a(Nb,xb,f)|0;b=k[Nb+52>>2]|0;d=k[Nb+48>>2]|0;if(b>>>0>>0){c=k[va>>2]|0;f=d+~b|0}else{f=k[yb>>2]|0;c=f;f=f-b|0}do if((b|0)==(c|0)){e=k[Nb+40>>2]|0;if((d|0)==(e|0)){c=f;break}c=(e>>>0>>0?d+-1|0:b)-e|0;b=e}else c=f;while(0);if(!c){Ea=ga;Ma=ea;Sa=ca;ab=aa;jb=b;Q=212;break e}}else b=d;while(0);d=g+1|0;e=b+1|0;i[b>>0]=i[g>>0]|0;c=c+-1|0;if((d|0)==(k[va>>2]|0))b=k[Nb+40>>2]|0;else b=d;_=(k[t+4>>2]|0)+-1|0;k[t+4>>2]=_;if(!_){b=0;d=e;break}else{f=0;g=b;d=e}}}k[t>>2]=0;h=b;p=0;q=ga;r=ea;m=ca;j=aa;s=d;continue}}switch(Q|0){case 168:{Q=0;k[Nb+32>>2]=Aa;k[Nb+28>>2]=Ia;k[xb+4>>2]=0;k[xb+8>>2]=Xa-(k[xb>>2]|0)+(k[xb+8>>2]|0);k[xb>>2]=Xa;k[Nb+52>>2]=hb;ob=s3a(Nb,xb,ra)|0;break}case 177:{Q=0;k[t>>2]=9;k[xb+24>>2]=611047;k[Nb+32>>2]=na;k[Nb+28>>2]=la;k[xb+4>>2]=Qa;k[xb+8>>2]=Wa-(k[xb>>2]|0)+(k[xb+8>>2]|0);k[xb>>2]=Wa;k[Nb+52>>2]=ib;ob=s3a(Nb,xb,-3)|0;break}case 181:{Q=0;k[Nb+32>>2]=Ba;k[Nb+28>>2]=Ja;k[xb+4>>2]=0;k[xb+8>>2]=Ya-(k[xb>>2]|0)+(k[xb+8>>2]|0);k[xb>>2]=Ya;k[Nb+52>>2]=eb;ob=s3a(Nb,xb,sa)|0;break}case 186:{Q=0;k[Nb+32>>2]=Ca;k[Nb+28>>2]=Ka;k[xb+4>>2]=0;k[xb+8>>2]=_a-(k[xb>>2]|0)+(k[xb+8>>2]|0);k[xb>>2]=_a;k[Nb+52>>2]=fb;ob=s3a(Nb,xb,ta)|0;break}case 191:{Q=0;k[t>>2]=9;k[xb+24>>2]=611025;k[Nb+32>>2]=oa;k[Nb+28>>2]=ma;k[xb+4>>2]=Ra;k[xb+8>>2]=Za-(k[xb>>2]|0)+(k[xb+8>>2]|0);k[xb>>2]=Za;k[Nb+52>>2]=gb;ob=s3a(Nb,xb,-3)|0;break}case 195:{Q=0;k[Nb+32>>2]=Da;k[Nb+28>>2]=La;k[xb+4>>2]=0;k[xb+8>>2]=$a-(k[xb>>2]|0)+(k[xb+8>>2]|0);k[xb>>2]=$a;k[Nb+52>>2]=db;ob=s3a(Nb,xb,ua)|0;break}case 212:{Q=0;k[Nb+32>>2]=Ea;k[Nb+28>>2]=Ma;k[xb+4>>2]=Sa;k[xb+8>>2]=ab-(k[xb>>2]|0)+(k[xb+8>>2]|0);k[xb>>2]=ab;k[Nb+52>>2]=jb;ob=s3a(Nb,xb,pa)|0;break}case 228:{Q=0;k[Nb+32>>2]=za;k[Nb+28>>2]=Ha;k[xb+4>>2]=Pa;k[xb+8>>2]=Va-(k[xb>>2]|0)+(k[xb+8>>2]|0);k[xb>>2]=Va;k[Nb+52>>2]=kb;ob=s3a(Nb,xb,qa)|0;break}case 230:{Q=0;e=rb>>>0>7?rb+-8|0:rb;d=rb>>>0>7?lb+-1|0:lb;k[Nb+52>>2]=nb;b=s3a(Nb,xb,mb)|0;c=k[Nb+52>>2]|0;if((k[Nb+48>>2]|0)==(c|0)){k[t>>2]=8;qb=pb;sb=e;ub=tb+(rb>>>0>7&1)|0;vb=d;wb=c;Q=233;break}else{k[Nb+32>>2]=pb;k[Nb+28>>2]=e;k[xb+4>>2]=tb+(rb>>>0>7&1);k[xb+8>>2]=d-(k[xb>>2]|0)+(k[xb+8>>2]|0);k[xb>>2]=d;ob=s3a(Nb,xb,b)|0;break}}case 234:{Q=0;k[Nb+32>>2]=ya;k[Nb+28>>2]=Ga;k[xb+4>>2]=Oa;k[xb+8>>2]=Ua-(k[xb>>2]|0)+(k[xb+8>>2]|0);k[xb>>2]=Ua;k[Nb+52>>2]=cb;ob=s3a(Nb,xb,-3)|0;break}case 235:{Q=0;k[Nb+32>>2]=xa;k[Nb+28>>2]=Fa;k[xb+4>>2]=Na;k[xb+8>>2]=Ta-(k[xb>>2]|0)+(k[xb+8>>2]|0);k[xb>>2]=Ta;k[Nb+52>>2]=bb;ob=s3a(Nb,xb,-2)|0;break}}if((Q|0)==233){Q=0;k[Nb+32>>2]=qb;k[Nb+28>>2]=sb;k[xb+4>>2]=ub;k[xb+8>>2]=vb-(k[xb>>2]|0)+(k[xb+8>>2]|0);k[xb>>2]=vb;k[Nb+52>>2]=wb;ob=s3a(Nb,xb,1)|0}if((ob|0)!=1){zb=ob;Q=237;k[a+5600>>2]=1;break a}Di[k[xb+36>>2]&511](k[xb+40>>2]|0,k[Nb+4>>2]|0);Pb=k[xb>>2]|0;Qb=k[xb+4>>2]|0;Rb=k[Nb+32>>2]|0;Sb=k[Nb+28>>2]|0;Tb=k[Nb+52>>2]|0;b=k[Nb+48>>2]|0;if(Tb>>>0>>0)b=b+~Tb|0;else b=(k[yb>>2]|0)-Tb|0;if(k[Nb+24>>2]|0){Q=243;k[a+5600>>2]=1;break a}k[Nb>>2]=0;Bb=Fb;Cb=0;Ub=Rb;fc=Sb;sc=b;tc=Qb;Dc=Pb;bd=Tb}k[a+96>>2]=zb;k[a+104>>2]=Ab;k[a+120>>2]=Bb;k[a+208>>2]=Cb;k[a+256>>2]=Db;k[a+392>>2]=Eb;k[a+400>>2]=Fb;k[a+448>>2]=Gb;k[a+464>>2]=Hb;k[a+552>>2]=Ib;k[a+576>>2]=Jb;k[a+584>>2]=Kb;k[a+592>>2]=Lb;k[a+600>>2]=Mb;k[a+1256>>2]=Ob;k[a+2248>>2]=Pb;k[a+2256>>2]=Qb;k[a+2264>>2]=Rb;k[a+2272>>2]=Sb;k[a+2280>>2]=Tb;k[a+2720>>2]=Ub;k[a+2760>>2]=Vb;k[a+2872>>2]=Wb;k[a+2880>>2]=Xb;k[a+2896>>2]=Yb;k[a+2920>>2]=Zb;k[a+2928>>2]=_b;k[a+2936>>2]=$b;k[a+2944>>2]=ac;k[a+2952>>2]=bc;k[a+2984>>2]=cc;k[a+3096>>2]=dc;k[a+3120>>2]=ec;k[a+3288>>2]=fc;k[a+3328>>2]=gc;k[a+3440>>2]=hc;k[a+3448>>2]=ic;k[a+3464>>2]=jc;k[a+3488>>2]=kc;k[a+3496>>2]=lc;k[a+3504>>2]=mc;k[a+3512>>2]=nc;k[a+3520>>2]=oc;k[a+3552>>2]=pc;k[a+3672>>2]=qc;k[a+3704>>2]=rc;k[a+3776>>2]=sc;k[a+3984>>2]=tc;k[a+4040>>2]=uc;k[a+4128>>2]=vc;k[a+4136>>2]=wc;k[a+4176>>2]=xc;k[a+4184>>2]=yc;k[a+4192>>2]=zc;k[a+4200>>2]=Ac;k[a+4208>>2]=Bc;k[a+4344>>2]=Cc;k[a+4488>>2]=Dc;k[a+4544>>2]=Ec;k[a+4656>>2]=Fc;k[a+4664>>2]=Gc;k[a+4680>>2]=Hc;k[a+4712>>2]=Ic;k[a+4720>>2]=Jc;k[a+4728>>2]=Kc;k[a+4736>>2]=Lc;k[a+4744>>2]=Mc;k[a+4776>>2]=Nc;k[a+4896>>2]=Oc;k[a+4920>>2]=Pc;k[a+4936>>2]=Qc;k[a+5112>>2]=Rc;k[a+5120>>2]=Sc;k[a+5128>>2]=Tc;k[a+5144>>2]=Uc;k[a+5152>>2]=Vc;k[a+5160>>2]=Wc;k[a+5176>>2]=Xc;k[a+5184>>2]=Yc;k[a+5192>>2]=Zc;k[a+5200>>2]=_c;k[a+5208>>2]=$c;k[a+5224>>2]=ad;k[a+5240>>2]=bd;k[a+5560>>2]=cd;k[a+5584>>2]=Q} +function ONa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0;f=k[a>>2]|0;g=k[a+4>>2]|0;f=(k[a+36>>2]&64|0)==0?f:f+g|0;d=k[a+8>>2]|0;e=k[a+48>>2]|0;do{h=d>>16;j=i[f+(h+g)>>0]|0;j=(ha((i[f+(g+1+h)>>0]|0)-j|0,d>>>8&255)|0)+(j<<8)|0;e=(k[a+24>>2]|0)+e|0;j=ha(j,e>>12)|0;k[b>>2]=j+(k[b>>2]|0);h=b+4|0;k[h>>2]=j+(k[h>>2]|0);b=b+8|0;d=(k[a+12>>2]|0)+d|0}while(b>>>0>>0);k[a+4>>2]=(k[a+4>>2]|0)+(d>>16);k[a+8>>2]=d&65535;k[a+48>>2]=e;k[a+52>>2]=e;k[a+16>>2]=e>>12;k[a+20>>2]=e>>12;return}function PNa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;f=k[a+4>>2]|0;d=(k[a>>2]|0)+(f<<1)|0;f=(k[a+36>>2]&64|0)==0?d:d+(f<<1)|0;d=k[a+8>>2]|0;e=k[a+48>>2]|0;do{g=d>>16;h=j[f+(g<<1)>>1]|0;h=((ha((j[f+(g+1<<1)>>1]|0)-h|0,d>>>8&255)|0)>>8)+h|0;e=(k[a+24>>2]|0)+e|0;h=ha(h,e>>12)|0;k[b>>2]=h+(k[b>>2]|0);g=b+4|0;k[g>>2]=h+(k[g>>2]|0);b=b+8|0;d=(k[a+12>>2]|0)+d|0}while(b>>>0>>0);k[a+4>>2]=(k[a+4>>2]|0)+(d>>16);k[a+8>>2]=d&65535;k[a+48>>2]=e;k[a+52>>2]=e;k[a+16>>2]=e>>12;k[a+20>>2]=e>>12;return}function QNa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0;b=k[182125]|0;if(b&128){b=k[196031]|0;c=k[196030]|0;d=k[196033]|0;e=k[196032]|0;f=736708;g=728516;h=a;while(1){l=(k[938280+(e<<2)>>2]|0)+(k[784680+(d<<2)>>2]|0)+(k[1055736+(b<<2)>>2]|0)+(k[1138440+(c<<2)>>2]|0)|0;j=k[196034]|0;o=k[784424+(j<<2)>>2]|0;k[784424+(j<<2)>>2]=l>>1;k[196034]=j+1&31;j=k[196035]|0;i=(k[196036]|0)-(k[784168+(j<<2)>>2]|0)|0;k[784168+(j<<2)>>2]=(l|0)/128|0;k[196036]=i+((l|0)/128|0);l=o-(i+((l|0)/128|0))|0;k[196035]=j+1&63;j=k[f>>2]|0;i=k[f+4>>2]|0;o=i+j>>k[196029];k[g>>2]=l+j+(k[g>>2]|0);j=g+4|0;k[j>>2]=i+l+(k[j>>2]|0);j=k[196031]|0;k[1055736+(j<<2)>>2]=o+(l>>2);i=k[196030]|0;k[1138440+(i<<2)>>2]=o+(l>>2);m=k[196037]|0;n=(o+(l>>2)+(l>>4)>>1)-(k[1195028+(m<<2)>>2]|0)+(k[196038]|0)|0;k[196038]=n;k[1195028+(m<<2)>>2]=o+(l>>2)+(l>>4)>>1;k[196037]=m+1&7;m=k[196033]|0;k[784680+(m<<2)>>2]=n>>2;l=k[196032]|0;k[938280+(l<<2)>>2]=n>>2;d=(m+1|0)>=(k[196028]|0)?0:m+1|0;k[196033]=d;e=(l+1|0)>=(k[196039]|0)?0:l+1|0;k[196032]=e;b=(j+1|0)>=(k[196040]|0)?0:j+1|0;k[196031]=b;c=(i+1|0)>=(k[196041]|0)?0:i+1|0;k[196030]=c;h=h+-1|0;if(!h)break;else{f=f+8|0;g=g+8|0}}b=k[182125]|0}if(b&64){c=k[186232]|0;if(a){e=k[186229]|0;b=728516;d=a;while(1){o=b+4|0;l=ha((k[b>>2]|0)+31+(k[o>>2]|0)>>7,k[196027]|0)|0;j=k[186234]|0;m=(k[186233]|0)-(k[745196+(j<<2)>>2]|0)|0;k[745196+(j<<2)>>2]=l;k[186233]=m+l;k[186234]=j+1&3;j=745708+(e<<2)|0;n=k[j>>2]|0;k[j>>2]=m+l;j=k[186230]|0;l=k[745452+(j<<2)>>2]|0;k[745452+(j<<2)>>2]=n;k[186230]=j+1&31;j=744940+(c<<2)|0;m=(k[186231]|0)-(k[j>>2]|0)|0;k[j>>2]=(n|0)/64|0;k[186231]=m+((n|0)/64|0);c=c+1&63;k[b>>2]=l-(m+((n|0)/64|0))+(k[b>>2]|0);k[o>>2]=(k[o>>2]|0)-(l-(m+((n|0)/64|0)));o=(k[186229]|0)+1|0;e=(o|0)>=(k[186228]|0)?0:o;k[186229]=e;d=d+-1|0;if(!d)break;else b=b+8|0}b=k[182125]|0}k[186232]=c}if(b&32){f=(k[9755]|0)+1|0;c=k[298767]|0;if(a){e=k[298766]|0;b=728516;d=a;while(1){m=1195076+(c<<2)|0;n=(k[298768]|0)-(k[m>>2]|0)|0;k[298768]=n;o=b+4|0;l=(k[o>>2]|0)+(k[b>>2]|0)|0;k[m>>2]=(l>>31&(1<>f;n=((l>>31&(1<>f)+n|0;k[298768]=n;l=1195332+(e<<2)|0;m=k[l>>2]|0;k[l>>2]=k[b>>2];k[b>>2]=n+m;m=1195332+((k[298766]|0)+1<<2)|0;n=k[m>>2]|0;k[m>>2]=k[o>>2];k[o>>2]=(k[298768]|0)+n;o=k[298765]|0;e=(k[298766]|0)+2&o;k[298766]=e;c=o&c+1;d=d+-1|0;if(!d)break;else b=b+8|0}b=k[182125]|0}k[298767]=c}if(!(b&2))return;c=k[186227]|0;b=k[186226]|0;if(a){f=c;d=728516;while(1){c=k[d>>2]>>1;k[d>>2]=c+f;o=d+4|0;e=k[o>>2]>>1;k[o>>2]=e+b;a=a+-1|0;if(!a){b=e;break}else{f=c;b=e;d=d+8|0}}}k[186227]=c;k[186226]=b;return}function RNa(a,b){a=a|0;b=b|0;var c=0,d=0;if(!b)return;else c=0;do{d=c<<1;k[a+(c<<2)>>2]=(k[a+((d|1)<<2)>>2]|0)+(k[a+(d<<2)>>2]|0)>>1;c=c+1|0}while((c|0)!=(b|0));return}function SNa(a,b,c){a=a|0;b=b|0;c=c|0;return}function TNa(a){a=a|0;k[a+59680>>2]=0;k[a+59660>>2]=0;k[a+59664>>2]=0;k[a+59668>>2]=0;k[a+59684>>2]=0;k[a+59688>>2]=0;k[a+59792>>2]=0;k[a+59800>>2]=0;k[a+59796>>2]=0;k[a+59756>>2]=128;k[a+59752>>2]=128;k[a+59740>>2]=128;k[a+59764>>2]=32;k[a+59768>>2]=32767;k[a+59772>>2]=0;vBb(a|0,0,51904)|0;vBb(a+53344|0,-1,256)|0;vBb(a+51904|0,0,960)|0;vBb(a+59804|0,0,7680)|0;vBb(a+58496|0,0,1152)|0;return}function UNa(a){a=a|0;VNa(a)|0;return}function VNa(a){a=a|0;var b=0,c=0,d=0,e=0;d=0;do{b=a+51904+(d<<2)|0;c=k[b>>2]|0;if(c|0){oBb(c);k[b>>2]=0}d=d+1|0}while((d|0)!=240);k[a+59792>>2]=0;b=k[a+59800>>2]|0;if(b|0){oBb(b);k[a+59800>>2]=0}b=k[a+59796>>2]|0;if(!b)d=1;else{oBb(b);k[a+59796>>2]=0;d=1}do{b=a+33280+(d<<6)+20|0;c=k[b>>2]|0;if(c|0){iqb(c+-16|0);k[b>>2]=0}d=d+1|0}while((d|0)!=240);d=0;do{b=a+48640+(d<<2)|0;c=k[b>>2]|0;if(c|0){CAb(c);k[b>>2]=0}d=d+1|0}while((d|0)!=240);e=0;do{b=a+58496+(e*144|0)+8|0;if(k[b>>2]|0){c=a+58496+(e*144|0)+12|0;d=k[c>>2]|0;if(d|0){k[b>>2]=0;oBb(d);k[c>>2]=0}}k[a+58496+(e*144|0)+4>>2]=0;b=a+58496+(e*144|0)|0;c=k[b>>2]|0;if(c|0){Gi[k[(k[c>>2]|0)+12>>2]&2047](c)|0;k[b>>2]=0}e=e+1|0}while((e|0)!=8);k[a+59680>>2]=0;k[a+59688>>2]=0;k[a+59684>>2]=0;k[a+59664>>2]=0;return 1}function WNa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,n=0;n=r;r=r+16|0;k[n+4>>2]=b;k[n>>2]=c;k[a+59680>>2]=0;k[a+59660>>2]=0;k[a+59664>>2]=0;k[a+59668>>2]=0;k[a+59684>>2]=0;k[a+59688>>2]=0;k[a+59756>>2]=128;k[a+59752>>2]=128;k[a+59740>>2]=128;k[a+59656>>2]=256;k[a+59744>>2]=256;k[a+59760>>2]=0;k[a+59648>>2]=6;k[a+59652>>2]=125;k[a+59700>>2]=0;k[a+59704>>2]=0;k[a+59716>>2]=0;k[a+59716+4>>2]=0;k[a+59716+8>>2]=0;k[a+59716+12>>2]=0;k[a+59716+16>>2]=0;k[a+59716+20>>2]=0;k[a+59764>>2]=16;k[a+59768>>2]=32767;k[a+59748>>2]=48;vBb(a|0,0,49600)|0;k[a+59788>>2]=0;k[a+59788+4>>2]=0;k[a+59788+8>>2]=0;k[a+59788+12>>2]=0;vBb(a+53344|0,-1,256)|0;vBb(a+51904|0,0,960)|0;vBb(a+59804|0,0,7680)|0;vBb(a+58496|0,0,1152)|0;XNa(a);c=0;do{j[a+52864+(c<<1)>>1]=64;c=c+1|0}while((c|0)!=240);c=0;do{k[a+49600+(c*36|0)>>2]=128;k[a+49600+(c*36|0)+4>>2]=64;k[a+49600+(c*36|0)+8>>2]=0;i[a+49600+(c*36|0)+16>>0]=0;c=c+1|0}while((c|0)!=64);if(!b)d=0;else{c=YNa(n+4|0,n)|0;do if(!(_Na(a,k[n+4>>2]|0,k[n>>2]|0)|0))if(!(mOa(a,k[n+4>>2]|0,k[n>>2]|0)|0))if(!(nOa(a,k[n+4>>2]|0,k[n>>2]|0)|0))if(!(qOa(a,k[n+4>>2]|0,k[n>>2]|0)|0))if(!(sOa(a,k[n+4>>2]|0,k[n>>2]|0)|0))if(!(fPa(a,k[n+4>>2]|0,k[n>>2]|0)|0))if(!(kPa(a,k[n+4>>2]|0,k[n>>2]|0)|0))if(!(mPa(a,k[n+4>>2]|0,k[n>>2]|0)|0))if(!(nPa(a,k[n+4>>2]|0,k[n>>2]|0)|0))if(!(qPa(a,k[n+4>>2]|0,k[n>>2]|0)|0))if(!(rPa(a,k[n+4>>2]|0,k[n>>2]|0)|0))if(!(uPa(a,k[n+4>>2]|0,k[n>>2]|0)|0))if(!(wPa(a,k[n+4>>2]|0,k[n>>2]|0)|0))if(!(xPa(a,k[n+4>>2]|0,k[n>>2]|0)|0))if(!(yPa(a,k[n+4>>2]|0,k[n>>2]|0)|0))if(!(APa(a,k[n+4>>2]|0,k[n>>2]|0)|0))if(!(BPa(a,k[n+4>>2]|0,k[n>>2]|0)|0)){if(CPa(a,k[n+4>>2]|0,k[n>>2]|0)|0)break;if(DPa(a,k[n+4>>2]|0,k[n>>2]|0)|0)break;if(EPa(a,k[n+4>>2]|0,k[n>>2]|0)|0)break;if(FPa(a,k[n+4>>2]|0,k[n>>2]|0)|0)break;if(HPa(a,k[n+4>>2]|0,k[n>>2]|0)|0)break;if(JPa(a,k[n+4>>2]|0,k[n>>2]|0)|0)break;if(KPa(a,k[n+4>>2]|0,k[n>>2]|0)|0)break;if(GPa(a,k[n+4>>2]|0,k[n>>2]|0)|0)break;k[a+59680>>2]=0}while(0);if(c){iqb(k[n+4>>2]|0);k[n+4>>2]=0;d=0}else d=0}do{i[a+59804+(d<<5)+31>>0]=0;b=31;while(1){c=b+-1|0;i[a+59804+(d<<5)+b>>0]=0;if((b|0)<=0)break;if((i[a+59804+(d<<5)+c>>0]|0)<33)b=c;else break}if((b|0)>0)while(1){b=a+59804+(d<<5)+c|0;if((l[b>>0]|0)<32)i[b>>0]=32;if((c|0)>0)c=c+-1|0;else break}d=d+1|0}while((d|0)!=240);e=0;do{d=a+49600+(e*36|0)+4|0;if((k[d>>2]|0)>>>0>64)k[d>>2]=64;b=a+49600+(e*36|0)|0;c=k[b>>2]|0;if(c>>>0>256){k[b>>2]=128;c=128}k[a+(e<<8)+120>>2]=c;k[a+(e<<8)+168>>2]=k[d>>2];k[a+(e<<8)+36>>2]=k[a+49600+(e*36|0)+8>>2];k[a+(e<<8)+116>>2]=256;i[a+(e<<8)+238>>0]=127;e=e+1|0}while((e|0)!=64);f=0;g=a+33280|0;while(1){if(!(k[g+20>>2]|0)){k[g>>2]=0;k[g+4>>2]=0;k[g+8>>2]=0;k[g+12>>2]=0;k[g+16>>2]=0;c=0;h=58}else{e=g+8|0;b=k[e>>2]|0;c=k[g>>2]|0;if(b>>>0>c>>>0){k[e>>2]=c;b=c}d=g+4|0;if(((k[d>>2]|0)+3|0)>>>0>=b>>>0){k[d>>2]=0;k[e>>2]=0;b=0}e=g+16|0;d=k[e>>2]|0;if(d>>>0>c>>>0)k[e>>2]=c;else c=d;d=g+12|0;if(((k[d>>2]|0)+3|0)>>>0>=c>>>0){k[d>>2]=0;k[e>>2]=0;c=0}if(!b)h=58}if((h|0)==58){h=0;e=g+34|0;j[e>>1]=m[e>>1]&65533}if(!c){e=g+34|0;j[e>>1]=m[e>>1]&65527}c=g+32|0;if((m[c>>1]|0)>64)j[c>>1]=64;f=f+1|0;if((f|0)==240)break;else g=g+64|0}c=k[a+59688>>2]|0;a:do if(c|0)do{if(k[a+48640+(c<<2)>>2]|0)break a;c=c+-1|0;k[a+59688>>2]=c}while((c|0)!=0);while(0);if((k[a+59748>>2]|0)>>>0<32)k[a+59748>>2]=32;c=k[a+59652>>2]|0;if(c>>>0<32){k[a+59652>>2]=125;c=125}b=k[a+59648>>2]|0;if(!b){k[a+59648>>2]=6;b=6}k[a+59708>>2]=b;k[a+59712>>2]=c;k[a+59744>>2]=k[a+59656>>2];k[a+59732>>2]=0;k[a+59728>>2]=0;k[a+59724>>2]=0;k[a+59676>>2]=0;k[a+59692>>2]=b;k[a+59716>>2]=0;k[a+59720>>2]=0;c=k[a+59736>>2]|0;if(c>>>0>255)h=75;else if((l[a+53344+c>>0]|0)>239)h=75;if((h|0)==75)k[a+59736>>2]=0;if(0){b=0;do{c=a+58496+(b*144|0)|0;if(!(k[a+58496+(b*144|0)+16>>2]|0)){if(k[a+58496+(b*144|0)+20>>2]|0)h=79}else h=79;if((h|0)==79){h=0;ka(c|0)|0;c=k[c>>2]|0;if(c|0)Si[k[(k[c>>2]|0)+20>>2]&1023](c)}b=b+1|0}while((b|0)!=8)}if(!(k[a+59680>>2]|0)){a=0;r=n;return a|0}c=(k[a+59664>>2]<<3)+16|0;c=c>>>0>100?100:c;if((k[a+59748>>2]|0)>>>0<=c>>>0){a=1;r=n;return a|0}k[a+59748>>2]=c;a=1;r=n;return a|0}function XNa(a){a=a|0;var b=0;b=r;r=r+128|0;vBb(a+53600|0,0,4896)|0;i[a+53600>>0]=i[521535]|0;i[a+53600+1>>0]=i[521536]|0;i[a+53600+2>>0]=i[521537]|0;i[a+53632>>0]=i[521538]|0;i[a+53632+1>>0]=i[521539]|0;i[a+53632+2>>0]=i[521540]|0;i[a+53696>>0]=i[521541]|0;i[a+53696+1>>0]=i[521542]|0;i[a+53696+2>>0]=i[521543]|0;i[a+53696+3>>0]=i[521544]|0;i[a+53696+4>>0]=i[521545]|0;i[a+53696+5>>0]=i[521546]|0;i[a+53696+6>>0]=i[521547]|0;i[a+53728>>0]=i[521548]|0;i[a+53728+1>>0]=i[521549]|0;i[a+53728+2>>0]=i[521550]|0;i[a+53728+3>>0]=i[521551]|0;i[a+53728+4>>0]=i[521552]|0;i[a+53728+5>>0]=i[521553]|0;i[a+53728+6>>0]=i[521554]|0;i[a+53856>>0]=i[521555]|0;i[a+53856+1>>0]=i[521556]|0;i[a+53856+2>>0]=i[521557]|0;i[a+53856+3>>0]=i[521558]|0;i[a+53856+4>>0]=i[521559]|0;i[a+53888>>0]=70;i[a+53888+1>>0]=48;i[a+53888+2>>0]=70;i[a+53888+3>>0]=48;i[a+53888+4>>0]=48;i[a+53888+4+1>>0]=48;i[a+53888+4+2>>0]=122;i[a+53888+4+3>>0]=0;k[b>>2]=0;Fmb(a+54400|0,521560,b)|0;k[b+8>>2]=8;Fmb(a+54432|0,521560,b+8|0)|0;k[b+16>>2]=16;Fmb(a+54464|0,521560,b+16|0)|0;k[b+24>>2]=24;Fmb(a+54496|0,521560,b+24|0)|0;k[b+32>>2]=32;Fmb(a+54528|0,521560,b+32|0)|0;k[b+40>>2]=40;Fmb(a+54560|0,521560,b+40|0)|0;k[b+48>>2]=48;Fmb(a+54592|0,521560,b+48|0)|0;k[b+56>>2]=56;Fmb(a+54624|0,521560,b+56|0)|0;k[b+64>>2]=64;Fmb(a+54656|0,521560,b+64|0)|0;k[b+72>>2]=72;Fmb(a+54688|0,521560,b+72|0)|0;k[b+80>>2]=80;Fmb(a+54720|0,521560,b+80|0)|0;k[b+88>>2]=88;Fmb(a+54752|0,521560,b+88|0)|0;k[b+96>>2]=96;Fmb(a+54784|0,521560,b+96|0)|0;k[b+104>>2]=104;Fmb(a+54816|0,521560,b+104|0)|0;k[b+112>>2]=112;Fmb(a+54848|0,521560,b+112|0)|0;k[b+120>>2]=120;Fmb(a+54880|0,521560,b+120|0)|0;r=b;return}function YNa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;F=k[b>>2]|0;G=k[a>>2]|0;if(!(F>>>0<256|(G|0)==0))if((k[G>>2]|0)==808603728){c=l[G+(F+-3)>>0]<<8|l[G+(F+-4)>>0]<<16|l[G+(F+-2)>>0];if(!(c>>>0>F<<4>>>0|(c+-512|0)>>>0>4193792)){d=hqb(c+31&33554416)|0;if(d|0){vBb(d|0,0,c+31&33554416|0)|0;ZNa(G+4|0,F+-4|0,d,c);k[a>>2]=d;k[b>>2]=c;H=1;return H|0}}}if(!(F>>>0>255&(G|0)!=0)){H=0;return H|0}if((k[G>>2]|0)!=1129474426){H=0;return H|0}if((k[G+4>>2]|0)!=1634291279){H=0;return H|0}if((m[G+8>>1]|0)<14){H=0;return H|0}c=j[G+12>>1]|0;if(!(c<<16>>16)){H=0;return H|0}E=k[G+14>>2]|0;if((E+-16|0)>>>0>134217712){H=0;return H|0}d=k[G+18>>2]|0;if(d>>>0>=F>>>0){H=0;return H|0}if((d+((c&65535)<<2)|0)>>>0>F>>>0){H=0;return H|0}A=hqb(E+31&-16)|0;if(!A){H=0;return H|0}vBb(A|0,0,E+31&-16|0)|0;B=G+(k[G+18>>2]|0)|0;a:do if(j[G+12>>1]|0){D=0;do{C=k[B+(D<<2)>>2]|0;f=G+(C+20)|0;if((C+20|0)>>>0>=F>>>0)break a;c=j[G+(C+12)>>1]|0;g=((c&65535)<<3)+(C+20)|0;if(g>>>0>=F>>>0)break a;d=m[G+(C+14)>>1]|0;b:do if(!(d&1)){if(c<<16>>16){h=0;while(1){c=k[f>>2]|0;if(c>>>0>E>>>0)break b;d=f+4|0;e=k[d>>2]|0;if((e+c|0)>>>0>E>>>0)break b;ABb(A+c|0,G+g|0,e|0)|0;h=h+1|0;if(h>>>0>=(m[G+(C+12)>>1]|0)>>>0)break;else{g=(k[d>>2]|0)+g|0;f=f+8|0}}}}else{e=k[f>>2]|0;o=m[G+(C+18)>>1]|0;c=G+((m[G+(C+16)>>1]|0)+g)|0;z=G+((k[G+(C+4)>>2]|0)+g)|0;if(!(d&4)){d=0;n=0;h=G+(C+24)|0;p=0;y=0;while(1){x=k[h>>2]|0;w=0;while(1){if(y>>>0>=(m[G+(C+12)>>1]|0)>>>0)break b;t=o+1|0;if(!t)h=0;else{if(n>>>0<24){s=23-n&-8;h=c;r=n;do{if(h>>>0>>0){v=h+1|0;q=l[h>>0]|0;c=v;h=v}else q=0;d=q<>>0<24);n=n+8+s|0}h=d&(1<>>t}u=k[45116+(o<<2)>>2]|0;do if(h>>>0>>0)H=106;else{v=k[45148+(o<<2)>>2]|0;if((o&-2|0)==6)q=0;else{if(n>>>0<24){t=23-n&-8;q=c;s=n;do{if(q>>>0>>0){I=q+1|0;r=l[q>>0]|0;c=I;q=I}else r=0;d=r<>>0<24);n=n+8+t|0}q=d&(1<>>v}h=(h-u<>>0<24){s=23-n&-8;h=c;r=n;do{if(h>>>0>>0){I=h+1|0;q=l[h>>0]|0;c=I;h=I}else q=0;d=q<>>0<24);n=n+8+s|0}q=d&7;d=d>>>3;h=n+-3|0;if((q|0)!=7){n=h;h=q|248;H=106;break}if(h>>>0<24){s=26-n&-8;q=c;do{if(q>>>0>>0){I=q+1|0;r=l[q>>0]|0;c=I;q=I}else r=0;d=r<>>0<24);h=n+5+s|0}if(!(d&1)){n=h+-1|0;d=d>>>1;h=255;H=107}else break b}while(0);if((H|0)==106){H=0;if(h>>>0<256)H=107;else q=w}if((H|0)==107){H=0;q=l[G+(h+g)>>0]|0;v=(j[G+(C+14)>>1]&2)==0;I=q+p|0;i[A+(e+w)>>0]=v?q:I;q=w+1|0;p=v?p:I}if(q>>>0>>0)w=q;else{e=n;break}}I=y+1|0;n=e;e=k[f+(I<<3)>>2]|0;h=f+(I<<3)+4|0;y=I}}else{d=0;p=0;g=G+(C+24)|0;h=o;n=0;x=0}while(1){w=A+e|0;v=(k[g>>2]|0)>>>1;g=p;u=0;while(1){if(x>>>0>=(m[G+(C+12)>>1]|0)>>>0)break b;r=h+1|0;if(!r)e=0;else{if(g>>>0<24){q=23-g&-8;e=c;p=g;do{if(e>>>0>>0){I=e+1|0;o=l[e>>0]|0;c=I;e=I}else o=0;d=o<>>0<24);g=g+8+q|0}e=d&(1<>>r}s=k[44988+(h<<2)>>2]|0;do if(e>>>0>>0)H=60;else{t=k[45052+(h<<2)>>2]|0;if((h+-7|0)>>>0<9)o=0;else{if(g>>>0<24){r=23-g&-8;o=c;q=g;do{if(o>>>0>>0){I=o+1|0;p=l[o>>0]|0;c=I;o=I}else p=0;d=p<>>0<24);g=g+8+r|0}o=d&(1<>>t}o=(e-s<>>0<24){q=23-g&-8;e=c;p=g;do{if(e>>>0>>0){I=e+1|0;o=l[e>>0]|0;c=I;e=I}else o=0;d=o<>>0<24);g=g+8+q|0}o=d&15;d=d>>>4;e=g+-4|0;if((o|0)!=15){g=e;e=o|65520;H=60;break}if(e>>>0<24){q=27-g&-8;o=c;do{if(o>>>0>>0){I=o+1|0;p=l[o>>0]|0;c=I;o=I}else p=0;d=p<>>0<24);e=g+4+q|0}if(!(d&1)){d=d>>>1;g=e+-1|0;e=65535;H=62}else break b}while(0);do if((H|0)==60){H=0;if(e>>>0>=65536){e=g;p=u;break}if(e&1|0){H=62;break}o=e>>>1;H=64}while(0);if((H|0)==62){o=0-((e+1|0)>>>1)|0;H=64}if((H|0)==64){H=0;e=m[G+(C+14)>>1]|0;if(!(e&2))e=(e&512|0)==0?o^32768:o;else{n=o+n|0;e=n}j[w+(u<<1)>>1]=e;e=g;p=u+1|0}if(p>>>0>>0){g=e;u=p}else break}I=x+1|0;p=e;e=k[f+(I<<3)>>2]|0;g=f+(I<<3)+4|0;x=I}}while(0);D=D+1|0}while(D>>>0<(m[G+12>>1]|0)>>>0)}while(0);k[a>>2]=A;k[b>>2]=E;I=1;return I|0}function ZNa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,m=0,n=0,o=0;h=i[a+(b+-1)>>0]|0;if(!(h<<24>>24)){f=0;b=a+(b+-4)|0;e=0}else{e=0;f=0;b=a+(b+-4)|0;g=0;do{if(!f){b=(b|0)==(a|0)?b:b+-1|0;e=l[b>>0]|0;f=8}e=e>>>1;f=f+-1|0;g=g+1|0}while((g|0)!=(h&255|0))}if(!d)return;else j=d;a:while(1){if(!f){b=(b|0)==(a|0)?b:b+-1|0;e=l[b>>0]|0;f=8}g=e>>>1;f=f+-1|0;if(!(e&1)){k=1;while(1){if(k>>>0>=j>>>0)break;if(!f){b=(b|0)==(a|0)?b:b+-1|0;f=l[b>>0]|0;h=f;f=f>>>1;e=7}else{e=f+-1|0;if(!e){b=(b|0)==(a|0)?b:b+-1|0;h=g;f=l[b>>0]|0;e=8}else{h=g;f=g>>>1}}o=f&1|h<<1&2;g=f>>>1;f=e+-1|0;e=o+k|0;if((o|0)==3)k=e;else{k=e;break}}if(!k)e=j;else{n=0;o=j;do{if(!f){b=(b|0)==(a|0)?b:b+-1|0;h=l[b>>0]|0;f=h;h=h>>>1;g=7}else{e=f+-1|0;if(!e){b=(b|0)==(a|0)?b:b+-1|0;f=g;h=l[b>>0]|0;g=8}else{f=g;h=g>>>1;g=e}}e=h&1|f<<1&2;do if((g|0)==1){b=(b|0)==(a|0)?b:b+-1|0;f=l[b>>0]|0;e=f&1|e<<1;g=6;f=f>>>1;m=50}else{e=h>>>1&1|e<<1;if((g|0)==2){f=(b|0)==(a|0)?b:b+-1|0;b=f;g=7;f=l[f>>0]|0;m=50;break}e=h>>>2&1|e<<1;f=g+-3|0;if(!f){b=(b|0)==(a|0)?b:b+-1|0;f=l[b>>0]|0;e=f&1|e<<1;g=6;f=f>>>1;m=55}else{h=h>>>3;m=53}}while(0);if((m|0)==50){e=f&1|e<<1;h=f>>>1;f=g;m=53}do if((m|0)==53){m=0;e=h&1|e<<1;if((f|0)==1){f=(b|0)==(a|0)?b:b+-1|0;b=f;g=7;f=l[f>>0]|0;m=55;break}e=h>>>1&1|e<<1;g=f+-2|0;if(!g){b=(b|0)==(a|0)?b:b+-1|0;h=l[b>>0]|0;e=h&1|e<<1;h=h>>>1;f=7}else{h=h>>>2;m=58}}while(0);if((m|0)==55){e=f&1|e<<1;h=f>>>1;m=58}if((m|0)==58){e=h&1|e<<1;f=g+-1|0;if(!f){b=(b|0)==(a|0)?b:b+-1|0;h=l[b>>0]|0;f=8}else h=h>>>1}g=h>>>1;f=f+-1|0;o=o+-1|0;i[c+o>>0]=h&1|e<<1;n=n+1|0}while((n|0)!=(k|0));e=j-k|0}if(!e){m=42;break}else j=e}if(!f){b=(b|0)==(a|0)?b:b+-1|0;g=l[b>>0]|0;f=g;g=g>>>1;h=7}else{e=f+-1|0;if(!e){b=(b|0)==(a|0)?b:b+-1|0;f=g;g=l[b>>0]|0;h=8}else{f=g;g=g>>>1;h=e}}m=g&1|f<<1&2;e=g>>>1;f=h+-1|0;k=i[a+m>>0]|0;b:do if((m+1|0)==4){if(!f){g=(b|0)==(a|0)?b:b+-1|0;b=g;g=l[g>>0]|0;f=8}else g=e;e=g>>>1;f=f+-1|0;k=g&1|0?k&255:7;if(!k)k=0;else{h=0;g=0;do{if(!f){e=(b|0)==(a|0)?b:b+-1|0;f=8;b=e;e=l[e>>0]|0}g=e&1|g<<1;e=e>>>1;f=f+-1|0;h=h+1|0}while((h|0)!=(k|0));k=g}n=4;while(1){if(n>>>0>=j>>>0){m=n;break b}if(!f){b=(b|0)==(a|0)?b:b+-1|0;h=l[b>>0]|0;m=h;h=h>>>1;f=7}else{f=f+-1|0;if(!f){b=(b|0)==(a|0)?b:b+-1|0;m=e;h=l[b>>0]|0;f=8}else{m=e;h=e>>>1}}e=f+-1|0;if(!e){b=(b|0)==(a|0)?b:b+-1|0;f=l[b>>0]|0;g=8}else{f=h>>>1;g=e}o=f&1|(h&1|m<<1&2)<<1;e=f>>>1;f=g+-1|0;g=o+n|0;if((o|0)==7)n=g;else{m=g;break}}}else if(!(k<<24>>24)){m=m+1|0;k=0}else{h=0;g=0;do{if(!f){b=(b|0)==(a|0)?b:b+-1|0;e=l[b>>0]|0;f=8}g=e&1|g<<1;e=e>>>1;f=f+-1|0;h=h+1|0}while((h|0)!=(k&255|0));m=m+1|0;k=g}while(0);g=0;while(1){h=j+k|0;if(h>>>0>>0)h=l[c+h>>0]|0;else h=0;j=j+-1|0;i[c+j>>0]=h;g=g+1|0;if(!j){m=42;break a}if(g>>>0>m>>>0)continue a}}if((m|0)==42)return}function _Na(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;J=r;r=r+1312|0;k[a+59664>>2]=0;if((b|0)==0|c>>>0<512){a=0;r=J;return a|0}if(Onb(b,527172,15)|0){a=0;r=J;return a|0}F=a+59804|0;D=b+17|0;E=F+20|0;do{i[F>>0]=i[D>>0]|0;F=F+1|0;D=D+1|0}while((F|0)<(E|0));q=l[b+60>>0]|l[b+60+1>>0]<<8|l[b+60+2>>0]<<16|l[b+60+3>>0]<<24;p=l[b+64>>0]|l[b+64+1>>0]<<8;d=l[b+66>>0]|l[b+66+1>>0]<<8;e=l[b+68>>0]|l[b+68+1>>0]<<8;g=l[b+70>>0]|l[b+70+1>>0]<<8;f=l[b+72>>0]|l[b+72+1>>0]<<8;h=l[b+74>>0]|l[b+74+1>>0]<<8;n=l[b+76>>0]|l[b+76+1>>0]<<8;o=l[b+78>>0]|l[b+78+1>>0]<<8;if(!(p<<16>>16)){a=0;r=J;return a|0}if((p&65535)>256|(e+-1&65535)>63){a=0;r=J;return a|0}k[a+59680>>2]=4;k[a+59764>>2]=27;k[a+59768>>2]=54784;k[a+59664>>2]=e&65535;if((d&65535)<(p&65535))k[a+59736>>2]=d&65535;I=(f&65535)>239?239:f&65535;k[a+59688>>2]=I;k[a+59684>>2]=0;if(h&1|0)k[a+59660>>2]=k[a+59660>>2]|16;if(h&4096|0)k[a+59660>>2]=k[a+59660>>2]|32768;if((o+-32&65535)<224)k[a+59652>>2]=o&65535;if((n+-1&65535)<39)k[a+59648>>2]=n&65535;ABb(a+53344|0,b+80|0,p&65535|0)|0;vBb(J+1024|0,0,256)|0;u=(g&65535)>256?256:g&65535;if(u>>>0>240){e=0;do{d=l[a+53344+e>>0]|0;if(d>>>0>>0)i[J+1024+d>>0]=1;e=e+1|0}while((e|0)!=(p&65535|0));e=0;d=0;do{if(i[J+1024+e>>0]|0){i[J+768+e>>0]=d;d=d+1|0}e=e+1|0}while((e|0)!=256);e=0;do{if(!(i[J+1024+e>>0]|0)){i[J+768+e>>0]=d>>>0<240?d&255:-2;d=d+1|0}e=e+1|0}while((e|0)!=256);d=0;do{H=a+53344+d|0;i[H>>0]=i[J+768+(l[H>>0]|0)>>0]|0;d=d+1|0}while((d|0)!=(p&65535|0))}else{d=0;do{i[J+768+d>>0]=d;d=d+1|0}while((d|0)!=256)}vBb(J+1024|0,0,256)|0;if((q+68|0)>>>0>=c>>>0){a=1;r=J;return a|0}a:do if(!u)d=q+60|0;else{d=q+60|0;t=0;while(1){f=i[J+768+t>>0]|0;e=d;while(1){H=k[b+e>>2]|0;d=H+e|0;if((e+4|0)>>>0>>0&(H>>>0>255|d>>>0>=c>>>0))e=e+1|0;else break}s=j[b+(e+5)>>1]|0;s=(s+-1&65535)>255?64:s;q=j[b+(e+7)>>1]|0;if((d+4|0)>>>0>c>>>0){d=1;v=214;break}if(((q&65535)+d+4|0)>>>0>c>>>0){d=1;v=214;break}if((f&255)<240){j[a+52864+((f&255)<<1)>>1]=s;e=$Na(s&65535,k[a+59664>>2]|0)|0;k[a+51904+((f&255)<<2)>>2]=e;if(!e){d=1;v=214;break}if(q<<16>>16)v=37}else{e=0;v=37}if((v|0)==37){v=0;if(!(s<<16>>16))d=(q&65535)+d|0;else{g=0;p=0;while(1){f=k[a+59664>>2]|0;b:do if(!f)f=g;else{o=0;h=g;while(1){g=h>>>0<(q&65535)>>>0;do if((e|0)!=0&g){f=h+1|0;n=i[b+(h+d)>>0]|0;do if(!(n&128)){i[e>>0]=n;i[e+1>>0]=i[b+(f+d)>>0]|0;H=l[b+(d+2+h)>>0]|0;i[e+3>>0]=i[b+(d+3+h)>>0]|0;i[e+5>>0]=i[b+(d+4+h)>>0]|0;n=h+5|0;h=H}else{if(n&1){i[e>>0]=i[b+(f+d)>>0]|0;f=h+2|0}if(n&2){i[e+1>>0]=i[b+(f+d)>>0]|0;f=f+1|0}if(!(n&4)){g=f;h=0}else{g=f+1|0;h=l[b+(f+d)>>0]|0}if(!(n&8))f=g;else{i[e+3>>0]=i[b+(g+d)>>0]|0;f=g+1|0}if(!(n&16)){n=f;break}i[e+5>>0]=i[b+(f+d)>>0]|0;n=f+1|0}while(0);f=i[e>>0]|0;c:do switch(f<<24>>24){case 97:{i[e>>0]=-1;break}case 0:break;default:{if((f&255)>=97)break c;i[e>>0]=(f&255)+12}}while(0);if((i[e+5>>0]|i[e+3>>0])<<24>>24)aOa(a,e);f=e+1|0;g=i[f>>0]|0;switch(g<<24>>24){case -1:{i[f>>0]=0;break}case 0:break;default:i[J+1024+(g&255)>>0]=1}d:do if((h+-16|0)>>>0<65){i[e+2>>0]=1;i[e+4>>0]=h+240}else{if(h>>>0<=95)break;f=h&15;g=e+4|0;i[g>>0]=f;do switch(h&240|0){case 96:{i[e+2>>0]=4;break d}case 112:{i[e+2>>0]=3;break d}case 128:{i[e+2>>0]=6;break d}case 144:{i[e+2>>0]=5;break d}case 160:{i[e+2>>0]=7;break d}case 176:{i[e+2>>0]=8;break d}case 192:{i[e+2>>0]=2;i[g>>0]=f<<2|2;break d}case 208:{i[e+2>>0]=9;break d}case 224:{i[e+2>>0]=10;break d}case 240:{i[e+2>>0]=11;break d}default:break d}while(0)}while(0);f=k[a+59664>>2]|0;g=n;e=e+6|0}else{if(!g){f=h;break b}g=l[b+(h+d)>>0]|0;if(!(g&128)){g=h+5|0;break}else{g=h+1+(g&1)+(g>>>1&1)+(g>>>2&1)+(g>>>3&1)+(g>>>4&1)|0;break}}while(0);o=o+1|0;if(o>>>0>=f>>>0){f=g;break}else h=g}}while(0);p=p+1|0;if((p|0)==(s&65535|0)){d=(q&65535)+d|0;break}else g=f}}}t=t+1|0;if(t>>>0>=u>>>0)break a}if((v|0)==214){r=J;return d|0}}while(0);e:do if((d+4|0)>>>0>>0){e=d;while(1){if((k[b+e>>2]|0)>>>0<768){d=e;break e}d=e+1|0;if((e+5|0)>>>0>>0)e=d;else break}}while(0);vBb(J+528|0,0,240)|0;f:do if(I){H=1;e=0;g:while(1){f=d+29|0;if(f>>>0>=c>>>0)break;g=b+d|0;g=l[g>>0]|l[g+1>>0]<<8|l[g+2>>0]<<16|l[g+3>>0]<<24;v=g+d|0;if(v>>>0>c>>>0)break;F=kBb(632)|0;u=a+48640+(H<<2)|0;k[u>>2]=F;vBb(F|0,0,632)|0;F=F+585|0;D=b+(d+4)|0;E=F+22|0;do{i[F>>0]=i[D>>0]|0;F=F+1|0;D=D+1|0}while((F|0)<(E|0));G=i[b+(d+27)>>0]|0;if(!(G<<24>>24))d=(g|0)==0?f:v;else{if((d+234|0)>>>0>c>>>0)break;ABb(J+256|0,b+f|0,234)|0;F=J;E=F+128|0;do{k[F>>2]=0;F=F+4|0}while((F|0)<(E|0));if((G&255)>32)break;q=k[a+59684>>2]|0;s=H>>>0>1;h=q;t=0;while(1){p=t+1|0;f=p+h|0;h:do if(f>>>0>239){i:do if(h|0){j:do if(!t){f=h;while(1){if(!(k[a+33280+(f<<6)+20>>2]|0))break j;f=f+-1|0;if(!f)break i}}else{f=h;while(1){k:do if(!(k[a+33280+(f<<6)+20>>2]|0)){g=0;while(1){if((k[J+(g<<2)>>2]|0)==(f|0))break k;g=g+1|0;if(g>>>0>=t>>>0)break j}}while(0);f=f+-1|0;if(!f)break i}}while(0);if(s)n=1;else break h;while(1){g=k[a+48640+(n<<2)>>2]|0;if(g|0){o=0;do{h=g+300+o|0;if((l[h>>0]|0)==(f|0))i[h>>0]=0;o=o+1|0}while((o|0)!=128)}n=n+1|0;if((n|0)==(H|0))break h}}while(0);if(!e){e=bOa(a,J+528|0)|0;e=e|0?e:65535}if((e|0)<65535)switch(e|0){case 0:{f=0;break h}default:{}}else switch(e|0){case 65535:{f=0;break h}default:{}}f=k[a+59684>>2]|0;if(!f){f=0;break}while(1){g=J+528+f|0;if(!(i[g>>0]|0))break;f=f+-1|0;if(!f){f=0;break h}}e=e+-1|0;i[g>>0]=1;cOa(a,f)|0;if(t|0){h=0;do{g=J+(h<<2)|0;if((k[g>>2]|0)==(f|0))k[g>>2]=0;h=h+1|0}while((h|0)!=(t|0))}if(s){n=1;do{g=k[a+48640+(n<<2)>>2]|0;if(g|0){o=0;do{h=g+300+o|0;if((l[h>>0]|0)==(f|0))i[h>>0]=0;o=o+1|0}while((o|0)!=128)}n=n+1|0}while((n|0)!=(H|0))}F=a+33280+(f<<6)|0;E=F+64|0;do{k[F>>2]=0;F=F+4|0}while((F|0)<(E|0))}while(0);g=q>>>0>>0?f:q;k[J+(t<<2)>>2]=f;if((p|0)==(G&255|0))break;h=k[a+59684>>2]|0;t=p;q=g}k[a+59684>>2]=g;p=k[u>>2]|0;i[p+580>>0]=i[b+(d+26)>>0]|0;k[p>>2]=m[J+256+210>>1];j[p+10>>1]=128;i[p+584>>0]=60;d=j[J+256+204>>1]|0;if(d&1)k[p+4>>2]=k[p+4>>2]|1;if(d&2)k[p+4>>2]=k[p+4>>2]|2;if(d&4)k[p+4>>2]=k[p+4>>2]|4;if((d&65535)>>>8&1)k[p+4>>2]=k[p+4>>2]|8;if((d&65535)>>>8&2)k[p+4>>2]=k[p+4>>2]|16;if((d&65535)>>>8&4)k[p+4>>2]=k[p+4>>2]|32;g=k[J+256+196>>2]|0;d=(m[J+256+196>>1]|0)>>>8&255;if((g&255)>12){i[J+256+196>>0]=12;f=12}else f=g&255;if(((g&65535)>>>8&255)>12){i[J+256+197>>0]=12;d=12}i[p+556>>0]=f;if(!(f<<24>>24))k[p+4>>2]=k[p+4>>2]&-2;if(!(d<<24>>24))k[p+4>>2]=k[p+4>>2]&-9;i[p+557>>0]=d;i[p+562>>0]=g>>>16;i[p+561>>0]=g>>>16;if((g>>>16&255)>11)k[p+4>>2]=k[p+4>>2]&-3;i[p+559>>0]=g>>>24;d=j[J+256+200>>1]|0;f=k[J+256+200>>2]|0;F=(f&255)>11?0:f&255;i[p+560>>0]=F;if((g>>>24&255)>=(F&255))k[p+4>>2]=k[p+4>>2]&-5;i[p+566>>0]=(f&65535)>>>8;i[p+565>>0]=(f&65535)>>>8;if(((d&65535)>>>8&255)>11)k[p+4>>2]=k[p+4>>2]&-17;i[p+563>>0]=f>>>16;F=(f>>>24&255)>11?0:f>>>24&255;i[p+564>>0]=F;if((f>>>16&255)>=(F&255))k[p+4>>2]=k[p+4>>2]&-33;j[p+8>>1]=64;o=0;while(1){F=o<<1;d=p+12+(o<<1)|0;j[d>>1]=j[J+256+100+(F<<1)>>1]|0;i[p+204+o>>0]=j[J+256+100+((F|1)<<1)>>1];n=p+76+(o<<1)|0;j[n>>1]=j[J+256+148+(F<<1)>>1]|0;i[p+236+o>>0]=j[J+256+148+((F|1)<<1)>>1];if(!o){o=1;continue}f=j[d>>1]|0;h=o+-1|0;g=j[p+12+(h<<1)>>1]|0;do if((f&65535)<(g&65535)){j[d>>1]=g&65280|f&255;if((g&65280|f&255)>>>0>=(g&65535)>>>0)break;j[d>>1]=(g&65280|f&255)+256}while(0);f=j[n>>1]|0;d=j[p+76+(h<<1)>>1]|0;do if((f&65535)<(d&65535)){j[n>>1]=d&65280|f&255;if((d&65280|f&255)>>>0>=(d&65535)>>>0)break;j[n>>1]=(d&65280|f&255)+256}while(0);o=o+1|0;if((o|0)==12){g=0;break}}do{d=g+12|0;i[p+428+d>>0]=g+13;f=i[J+256+4+g>>0]|0;g=g+1|0;if((f&255)<(G&255))i[p+300+d>>0]=k[J+((f&255)<<2)>>2]}while((g|0)!=96);A=k[J+256>>2]|0;B=j[J+256+206>>1]|0;C=j[J+256+208>>1]|0;f=v;z=0;while(1){if((f+40|0)>>>0>c>>>0)break g;d=A+f|0;if(d>>>0>c>>>0)break g;t=b+f|0;t=l[t>>0]|l[t+1>>0]<<8|l[t+2>>0]<<16|l[t+3>>0]<<24;g=b+(f+4)|0;g=l[g>>0]|l[g+1>>0]<<8|l[g+2>>0]<<16|l[g+3>>0]<<24;h=b+(f+8)|0;h=l[h>>0]|l[h+1>>0]<<8|l[h+2>>0]<<16|l[h+3>>0]<<24;u=i[b+(f+12)>>0]|0;v=i[b+(f+13)>>0]|0;o=i[b+(f+14)>>0]|0;w=i[b+(f+15)>>0]|0;x=i[b+(f+16)>>0]|0;y=i[b+(f+17)>>0]|0;F=J+1280|0;D=b+(f+18)|0;E=F+22|0;do{i[F>>0]=i[D>>0]|0;F=F+1|0;D=D+1|0}while((F|0)<(E|0));p=J+496+z|0;i[p>>0]=((o&32)>>>2|2)+((o&16)>>>3);q=J+128+(z<<2)|0;k[q>>2]=t;s=k[J+(z<<2)>>2]|0;if(s|0){if(!(o&16))f=t;else{f=t>>>1;g=g>>>1;h=h>>>1}if(o&32){f=f>>>1;g=g>>>1;h=h>>>1}n=f>>>0>16e6?16e6:f;f=g>>>0>>0?o:o&252;h=h+g|0;h=h>>>0>n>>>0?n:h;if(!h)f=f&252;F=a+59804+(s<<5)|0;D=J+1280|0;E=F+22|0;do{i[F>>0]=i[D>>0]|0;F=F+1|0;D=D+1|0}while((F|0)<(E|0));i[a+59804+(s<<5)+22>>0]=0;k[a+33280+(s<<6)>>2]=n;k[a+33280+(s<<6)+4>>2]=g;k[a+33280+(s<<6)+8>>2]=h;if(g>>>0>=h>>>0){k[a+33280+(s<<6)+8>>2]=0;k[a+33280+(s<<6)+4>>2]=0}f=f&255;if(f&3|0)j[a+33280+(s<<6)+34>>1]=m[a+33280+(s<<6)+34>>1]|2;if(f&2|0)j[a+33280+(s<<6)+34>>1]=m[a+33280+(s<<6)+34>>1]|4;j[a+33280+(s<<6)+30>>1]=(u&255)<<2>>>0>256?256:(u&255)<<2&65535;j[a+33280+(s<<6)+32>>1]=64;if(y<<24>>24==-83&(f&48|0)==0){i[p>>0]=3;k[q>>2]=((t+1|0)>>>1)+16}i[a+33280+(s<<6)+37>>0]=v;i[a+33280+(s<<6)+36>>0]=x;j[a+33280+(s<<6)+28>>1]=w&255;j[a+33280+(s<<6)+34>>1]=m[a+33280+(s<<6)+34>>1]|32;i[a+33280+(s<<6)+38>>0]=B;i[a+33280+(s<<6)+39>>0]=(B&65535)>>>8;i[a+33280+(s<<6)+40>>0]=C;i[a+33280+(s<<6)+41>>0]=(C&65535)>>>8;F=a+33280+(s<<6)+42|0;D=J+1280|0;E=F+22|0;do{i[F>>0]=i[D>>0]|0;F=F+1|0;D=D+1|0}while((F|0)<(E|0));i[a+33280+(s<<6)+63>>0]=0}z=z+1|0;if(z>>>0>=(G&255)>>>0){h=0;break}else f=d}do{g=k[J+(h<<2)>>2]|0;f=k[J+128+(h<<2)>>2]|0;do if(g|0){if(!(d>>>0>>0&(f|0)!=0))break;dOa(a,a+33280+(g<<6)|0,l[J+496+h>>0]|0,b+d|0,c-d|0)|0}while(0);d=f+d|0;h=h+1|0}while(d>>>0>>0&h>>>0<(G&255)>>>0)}H=H+1|0;if(H>>>0>I>>>0)break f}a=1;r=J;return a|0}while(0);e=d+8|0;if(e>>>0>>0)if((k[b+d>>2]|0)==1954047348){d=k[b+(d+4)>>2]|0;if(d>>>0<16384&(d+e|0)>>>0<=c>>>0){I=mBb(d+1|0)|0;k[a+59796>>2]=I;ABb(I|0,b+e|0,d|0)|0;i[I+d>>0]=0;e=d+e|0}}else e=d;else e=d;d=e+8|0;if(d>>>0>>0)if((k[b+e>>2]|0)==1229211981){if((k[b+(e+4)>>2]|0)==4896){ABb(a+53600|0,b+d|0,4896)|0;k[a+59660>>2]=k[a+59660>>2]|1}}else d=e;else d=e;e=d+8|0;if(e>>>0>>0)if((k[b+d>>2]|0)==1296125520){d=k[b+(d+4)>>2]|0;if((d+-32|0)>>>0<7649&(d+e|0)>>>0<=c>>>0){I=mBb(d)|0;k[a+59800>>2]=I;k[a+59792>>2]=d>>>5;ABb(I|0,b+e|0,d|0)|0;e=d+e|0}}else e=d;else e=d;d=e+8|0;do if(d>>>0>>0)if((k[b+e>>2]|0)==1296125507){e=k[b+(e+4)>>2]|0;if(!(e>>>0<1281&(e+d|0)>>>0<=c>>>0))break;if(e>>>0>19)f=0;else{d=e+d|0;break}do{F=a+49600+(f*36|0)+16|0;D=b+((f*20|0)+d)|0;E=F+20|0;do{i[F>>0]=i[D>>0]|0;F=F+1|0;D=D+1|0}while((F|0)<(E|0));i[a+49600+(f*36|0)+35>>0]=0;f=f+1|0}while(f>>>0<((e>>>0)/20|0)>>>0);d=e+d|0}else d=e;else d=e;while(0);if((d+8|0)>>>0>=c>>>0){a=1;r=J;return a|0}lOa(a,b+d|0,c-d|0)|0;a=1;r=J;return a|0}function $Na(a,b){a=a|0;b=b|0;b=ha(b,a)|0;a=mBb(b>>>0>715827882?-1:b*6|0)|0;vBb(a|0,0,b*6|0)|0;return a|0}function aOa(a,b){a=a|0;b=b|0;var c=0,d=0;d=i[b+5>>0]|0;do switch(l[b+3>>0]|0|0){case 0:{a=d<<24>>24!=0&1;c=d&255;break}case 1:{a=2;c=d&255;break}case 2:{a=3;c=d&255;break}case 3:{a=4;c=d&255;break}case 4:{a=5;c=d&255;break}case 5:{a=6;c=(d&240|0)==0?d&255:d&240;break}case 6:{a=7;c=(d&240|0)==0?d&255:d&240;break}case 7:{a=8;c=d&255;break}case 8:{a=9;c=d&255;break}case 9:{a=10;c=d&255;break}case 10:{a=11;c=(d&240|0)==0?d&255:d&240;break}case 11:{a=12;c=d&255;break}case 12:{a=13;c=d&255;break}case 13:{a=14;c=(((d&255)>>>4)*10|0)+(d&15)|0;break}case 14:{a=19;c=d&255;break}case 15:{c=(d&255)>>>0<=(k[a+59680>>2]&1048580|0?31:32)>>>0?16:17;if(d<<24>>24==-1){a=(k[a+59684>>2]|0)==15?0:c;c=d&255}else{a=c;c=d&255}break}case 16:{a=23;c=d&255;break}case 17:{a=24;c=(d&240|0)==0?d&255:d&240;break}case 20:{a=25;c=d&255;break}case 21:{a=30;c=d&255;break}case 22:{a=21;c=d&255;break}case 23:{a=22;c=d&255;break}case 25:{a=29;c=(d&240|0)==0?d&255:d&240;break}case 27:{a=15;c=d&255;break}case 29:{a=18;c=d&255;break}case 33:{a=28;c=d&255;break}case 34:{a=27;c=d&255;break}case 35:{a=31;c=d&255;break}default:{a=0;c=d&255}}while(0);i[b+3>>0]=a;i[b+5>>0]=c;return}function bOa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0;if(!b){a=0;return a|0}if(!(k[a+59688>>2]|0)){a=0;return a|0}vBb(b|0,0,240)|0;j=0;do{c=k[a+51904+(j<<2)>>2]|0;if(c|0){h=ha(m[a+52864+(j<<1)>>1]|0,k[a+59664>>2]|0)|0;if(h|0){l=0;while(1){g=i[c>>0]|0;do if(g<<24>>24)if((g&255)<121){d=i[c+1>>0]|0;if((d+-1&255)<239){d=k[a+48640+((d&255)<<2)>>2]|0;if(!d)break;d=i[(g&255)+-1+(d+300)>>0]|0;if((d&255)>=240)break;i[b+(d&255)>>0]=1;break}e=k[a+59688>>2]|0;if(e|0){f=1;do{d=k[a+48640+(f<<2)>>2]|0;if(d|0){d=i[d+300+((g&255)+-1)>>0]|0;if((d&255)<240)i[b+(d&255)>>0]=1}f=f+1|0}while(f>>>0<=e>>>0)}}while(0);l=l+1|0;if((l|0)==(h|0))break;else c=c+6|0}}}j=j+1|0}while((j|0)!=240);d=k[a+59684>>2]|0;if(!d){a=0;return a|0}else{e=1;c=0}do{if(!(i[b+e>>0]|0))c=((k[a+33280+(e<<6)+20>>2]|0)!=0&1)+c|0;e=e+1|0}while(e>>>0<=d>>>0);return c|0}function cOa(a,b){a=a|0;b=b|0;var c=0,d=0;if((b+-1|0)>>>0>238){a=0;return a|0}d=k[a+33280+(b<<6)+20>>2]|0;if(!d){a=1;return a|0}k[a+33280+(b<<6)+20>>2]=0;k[a+33280+(b<<6)>>2]=0;j[a+33280+(b<<6)+34>>1]=(m[a+33280+(b<<6)+34>>1]|0)&65534;c=0;do{b=a+(c<<8)+96|0;if((k[b>>2]|0)==(d|0)){k[a+(c<<8)+32>>2]=0;k[a+(c<<8)+4>>2]=0;k[a+(c<<8)>>2]=0;k[b>>2]=0}c=c+1|0}while((c|0)!=128);iqb(d+-16|0);a=1;return a|0}function dOa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0;u=r;r=r+16|0;f=k[b>>2]|0;if(!b){b=0;r=u;return b|0}if(!((d|0)!=0&(f|0)>3)){b=0;r=u;return b|0}if(f>>>0>16e6){k[b>>2]=16e6;s=16e6}else s=f;j[b+34>>1]=(c&8)<<3|(m[b+34>>1]&65470|c>>>2&1);t=hqb((f+6<<(c>>>2&1)<<((c&8)>>>3))+39&-8)|0;if(!t){k[b+20>>2]=0;k[b>>2]=0;b=0;r=u;return b|0}vBb(t|0,0,(f+6<<(c>>>2&1)<<((c&8)>>>3))+39&-8|0)|0;k[b+20>>2]=t+16;a:do switch(c|0){case 1:{if(s>>>0>e>>>0){k[b>>2]=e;f=e}else f=s;if(!f){f=0;p=86}else{g=0;do{i[t+(g+16)>>0]=(l[d+g>>0]|0)+128;g=g+1|0}while((g|0)!=(f|0));p=86}break}case 2:{if(s>>>0>e>>>0){f=s;p=86}else if(!s){f=0;p=86}else{g=0;h=0;f=t+16|0;while(1){g=(i[d+h>>0]|0)+g|0;i[f>>0]=g;h=h+1|0;if((h|0)==(s|0)){f=s;p=86;break}else f=f+1|0}}break}case 3:{f=(s+1|0)>>>1;if(f>>>0>(e+-16|0)>>>0)p=86;else{g=a+67484|0;h=d;n=g+16|0;do{i[g>>0]=i[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(n|0));if(f|0){g=0;h=0;n=k[b+20>>2]|0;while(1){t=l[d+(h+16)>>0]|0;c=(l[(t&15)+(a+67484)>>0]|0)+g|0;i[n>>0]=c;g=(c&255)+(l[(t>>>4)+(a+67484)>>0]|0)|0;i[n+1>>0]=g;h=h+1|0;if((h|0)==(f|0))break;else n=n+2|0}}f=f+16|0;p=86}break}case 4:{f=s<<1;if(f>>>0>e>>>0)p=86;else if(!f){f=0;p=86}else{n=0;o=0;h=d;g=t+16|0;while(1){n=(j[h>>1]|0)+n|0;j[g>>1]=n;o=o+2|0;if(o>>>0>=f>>>0){p=86;break}else{h=h+2|0;g=g+2|0}}}break}case 5:{f=s<<1;if(f>>>0>e>>>0)p=86;else{ABb(t+16|0,d|0,f|0)|0;p=86}break}case 7:{c=s<<1;e=c>>>0>e>>>0?e&-2:c;if(e>>>0>1){f=0;do{c=m[d+f>>1]|0;j[t+(f+16)>>1]=c>>>8|c<<8;f=f+2|0}while(f>>>0>>0)}break}case 6:{f=s<<1;if(f>>>0>e>>>0)p=86;else if(!f){f=0;p=86}else{n=0;h=t+16|0;g=d;while(1){j[h>>1]=(m[g>>1]|0)+32768;n=n+2|0;if(n>>>0>=f>>>0){p=86;break}else{h=h+2|0;g=g+2|0}}}break}case 15:{f=s<<1;g=s<<2;if(g>>>0>e>>>0)p=86;else if(!f){f=g;p=86}else{h=0;do{s=m[d+h>>1]|0;c=h<<1;j[t+(c+16)>>1]=s>>>8|s<<8;s=m[d+(h+f)>>1]|0;j[t+((c|2)+16)>>1]=s>>>8|s<<8;h=h+2|0}while(h>>>0>>0);f=g;p=86}break}case 19:case 23:{if(e>>>0>3){f=iOa(t+16|0,d,d+e|0,s<<(c>>>2&1))|0;p=86}break}case 32:case 36:{if(e>>>0>3){k[u+4>>2]=k[d>>2];k[u>>2]=32;k[u+8>>2]=d+4;if(s){n=0;o=0;f=0;do{if((c|0)==36)f=(hOa(u+4|0,u,u+8|0,8)|0)&255;h=(hOa(u+4|0,u,u+8|0,1)|0)&255;if(!((hOa(u+4|0,u,u+8|0,1)|0)<<16>>16)){g=8;while(1)if(!((hOa(u+4|0,u,u+8|0,1)|0)<<16>>16))g=(g&255)+16|0;else break;g=((hOa(u+4|0,u,u+8|0,4)|0)&65535)+g&255}else g=(hOa(u+4|0,u,u+8|0,3)|0)&255;if(h<<24>>24)g=(g&255^255)&255;n=(g&255)+(n&255)|0;g=n&255;if((c|0)==36){d=o<<1;i[t+(d+16)>>0]=f;i[t+((d|1)+16)>>0]=g}else i[t+(o+16)>>0]=g;o=o+1|0}while(o>>>0<(k[b>>2]|0)>>>0)}}break}case 8:case 10:{g=0;p=36;break}case 9:{g=-128;p=36;break}case 22:case 18:case 20:case 16:{if(e>>>0>=4)if((c&-3|0)==16){eOa(t+16|0,s,d,e,(c|0)==18);break a}else{fOa(t+16|0,s,d,e,(c|0)==22);break a}break}case 73:case 72:{n=(c|0)==73?-128:0;g=s<<1>>>0>e>>>0?e>>>1:s;if(g|0){h=0;f=d;while(1){d=h<<1;i[t+(d+16)>>0]=(l[f>>0]|0)+n;i[t+((d|1)+16)>>0]=(l[f+1>>0]|0)+n;h=h+1|0;if((h|0)==(g|0))break;else f=f+2|0}}f=g<<1;p=86;break}case 78:case 77:{n=(c|0)==78?-32768:0;g=s<<2>>>0>e>>>0?e>>>2:s;if(g|0){h=0;f=d;while(1){d=h<<1;j[t+16+(d<<1)>>1]=(m[f>>1]|0)+n;j[t+16+((d|1)<<1)>>1]=(m[f+2>>1]|0)+n;h=h+1|0;if((h|0)==(g|0))break;else f=f+4|0}}f=g<<2;p=86;break}case 21:case 17:{if(e>>>0>9){q=(k[d+4>>2]|0)+9|0;e=q>>>0>e>>>0?e:q;gOa(d+9|0,e+-9|0,t+16|0,s<<(c>>>2&1),i[d+8>>0]|0)}else{f=9;p=86}break}case 37:{f=s<<1;if(f>>>0>e>>>0)p=86;else if(!f){f=0;p=86}else{h=s<<1;n=0;o=0;g=t+16|0;while(1){n=(i[d+o>>0]|0)+(n<<24>>24)|0;i[g>>0]=n;o=o+1|0;if((o|0)==(h|0)){p=86;break}else g=g+1|0}}break}case 14:{g=-32768;p=43;break}case 13:case 12:{g=0;p=43;break}default:{if(s>>>0>e>>>0){k[b>>2]=e;f=e}else f=s;ABb(t+16|0,d|0,f|0)|0;p=86}}while(0);if((p|0)==36){f=s<<1;if(f>>>0>e>>>0){f=s;p=86}else if(!s)p=86;else{p=g;q=0;o=d;while(1){h=(l[o>>0]|0)+p|0;d=q<<1;i[t+(d+16)>>0]=h;n=(l[o+s>>0]|0)+g|0;i[t+((d|1)+16)>>0]=n;if((c|0)==10){h=h<<24>>24;g=n<<24>>24}else h=p;q=q+1|0;if((q|0)==(s|0)){p=86;break}else{p=h;o=o+1|0}}}}else if((p|0)==43){f=s<<2;if(f>>>0>e>>>0){f=s;p=86}else if(!s)p=86;else{p=g;q=0;o=d;while(1){h=(m[o>>1]|0)+p|0;d=q<<1;j[t+16+(d<<1)>>1]=h;n=(m[o+(s<<1)>>1]|0)+g|0;j[t+16+((d|1)<<1)>>1]=n;if((c|0)==12){h=h<<16>>16;g=n<<16>>16}else h=p;q=q+1|0;if((q|0)==(s|0)){p=86;break}else{p=h;o=o+2|0}}}}if((p|0)==86)if(f>>>0>e>>>0){e=k[b+20>>2]|0;if(!e){b=0;r=u;return b|0}k[b>>2]=0;iqb(e+-16|0);k[b+20>>2]=0;b=0;r=u;return b|0}else e=f;kOa(a,b);b=e;r=u;return b|0}function eOa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;if(!b)return;n=0;g=0;h=0;j=0;k=0;m=c;f=0;a:while(1){p=(f|0)==0;s=p?32768:f;r=s>>>0>b>>>0?b:s;n=p?0:n;g=p?0:g;h=p?9:h;j=p?0:j;k=p?0:k;q=0;m=p?m+2|0:m;while(1){p=h<<24>>24;if(h<<24>>24>0){o=p;f=0;do{if(!g){n=l[m>>0]|0;g=8;m=m+1|0}f=n<<31|f>>>1;n=n>>>1;g=g+-1|0;o=o+-1|0}while((o|0)!=0)}else f=0;f=f>>>(32-p|0);p=h&255;do if((h&255)<7)if((1<>0]|0;o=h;h=h>>>1;f=7;m=m+1|0}else{f=g+-1|0;if(!f){o=n;h=l[m>>0]|0;f=8;m=m+1|0}else{o=n;h=n>>>1}}f=f+-1|0;if(!f){f=8;g=l[m>>0]|0;m=m+1|0}else g=h>>>1;h=(g<<31|(h<<31|o<<30&1073741824)>>>1)>>>29;n=g>>>1;g=f+-1|0;h=((h+1|0)>>>0

>>0?h+1|0:h+2|0)&255;f=q}else{f=f&65535;t=22}else{if((h&255)<9){if((f&65535)>>>0>((255>>>(9-p|0))+65532&65535)>>>0)if((f&65535)>>>0<=((255>>>(9-p|0))+4&65535)>>>0){h=((f-((255>>>(9-p|0))+65532)&255)>>>0>=p>>>0&1)+(f-((255>>>(9-p|0))+65532))&255;f=q;break}}else{if((h&255)>9){f=j;t=24;break}if((f&65280)>>>0>255){h=f+1&255;f=q;break}}if((h&255)<8){f=f&65535;t=22}else t=23}while(0);if((t|0)==22){f=f<<(8-p&255)<<24>>24>>(8-p&255);t=23}if((t|0)==23){f=f+(j&255)|0;k=f+(k&255)&255;i[a+q>>0]=e?k:f&255;f=f&255;t=24}if((t|0)==24){t=0;j=f;f=q+1|0}if(m>>>0>=(c+(d+1)|0)>>>0){t=28;break a}if(f>>>0>>0)q=f;else{f=n;break}}if((b|0)==(r|0)){t=28;break}else{b=b-r|0;n=f;a=a+r|0;f=s-r|0}}if((t|0)==28)return}function fOa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;if(!b)return;n=0;g=0;h=0;i=c;f=0;k=0;m=0;a:while(1){p=(f|0)==0;s=p?16384:f;r=s>>>0>b>>>0?b:s;n=p?0:n;g=p?0:g;h=p?17:h;q=0;i=p?i+2|0:i;k=p?0:k;m=p?0:m;while(1){p=h<<24>>24;if(h<<24>>24>0){o=p;f=0;do{if(!g){n=l[i>>0]|0;g=8;i=i+1|0}f=n<<31|f>>>1;n=n>>>1;g=g+-1|0;o=o+-1|0}while((o|0)!=0)}else f=0;f=f>>>(32-p|0);o=h&255;do if((h&255)<7)if((1<>0]|0;g=n;n=n>>>1;h=7;i=i+1|0}else{f=g+-1|0;if(!f){g=n;n=l[i>>0]|0;h=8;i=i+1|0}else{g=n;n=n>>>1;h=f}}f=n<<31|g<<30&1073741824;if((h|0)==1){h=l[i>>0]|0;f=h<<31|f>>>1;h=h>>>1;g=7;i=i+1|0}else{f=n>>>1<<31|f>>>1;g=h+-2|0;if(!g){h=l[i>>0]|0;g=8;i=i+1|0}else h=n>>>2}f=(h<<31|f>>>1)>>>28;n=h>>>1;g=g+-1|0;h=((f+1|0)>>>0>>0?f+1|0:f+2|0)&255;f=q}else t=21;else{if((h&255)<17){if(f>>>0>((65535>>>(17-o|0))+65528&65535)>>>0)if(f>>>0<=((65535>>>(17-o|0))+8&65535)>>>0){h=((f-((65535>>>(17-o|0))+65528&65535)&255)>>>0>=o>>>0&1)+(f-((65535>>>(17-o|0))+65528&65535))&255;f=q;break}}else{if((h&255)>17){t=23;break}if(f>>>0>65535){h=f+1&255;f=q;break}}if((h&255)<16)t=21;else t=22}while(0);if((t|0)==21){f=f<<(16-o&255)<<16>>16>>(16-o&255);t=22}if((t|0)==22){k=f+(k&65535)|0;m=k+(m&65535)&65535;j[a+(q<<1)>>1]=e?m:k&65535;k=k&65535;t=23}if((t|0)==23){t=0;f=q+1|0}if(i>>>0>=(c+(d+1)|0)>>>0){t=27;break a}if(f>>>0>>0)q=f;else{f=n;break}}if((b|0)!=(r|0)&i>>>0<(c+d|0)>>>0){b=b-r|0;n=f;a=a+(r<<1)|0;f=s-r|0}else{t=27;break}}if((t|0)==27)return}function gOa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,m=0,n=0;m=mBb(d)|0;if((d|0)!=0&(b|0)!=0){k=0;f=0;while(1){h=k+1|0;g=i[a+k>>0]|0;a:do if(g<<24>>24==e<<24>>24){j=k+2|0;g=i[a+h>>0]|0;if(!(g<<24>>24)){i[m+f>>0]=e;h=j;f=f+1|0;break}h=k+3|0;k=i[a+j>>0]|0;j=f;while(1){if(!(g<<24>>24)){f=j;break a}f=j+1|0;i[m+j>>0]=k;if(f>>>0>>0){g=g+-1<<24>>24;j=f}else break}}else{i[m+f>>0]=g;f=f+1|0}while(0);if(f>>>0>>0&h>>>0>>0)k=h;else break}}if(!d){oBb(m);return}else{g=128;f=0;h=0;e=m}while(1){b=l[e>>0]|0;k=0;j=0;do{n=g&b;g=(g<<8|g)>>>1&255;a=h+1|0;h=c+h|0;i[h>>0]=l[h>>0]|0|(n<<8|n)>>>(j-k&7);j=(a>>>0>>0^1)+j|0;h=a>>>0>>0?a:0;k=k+1|0}while((k|0)!=8);f=f+1|0;if((f|0)==(d|0))break;else{g=(g<<8|g)>>>j&255;e=e+1|0}}if(!d){oBb(m);return}else{f=0;g=0}do{n=c+f|0;a=i[n>>0]|0;g=(g<<24>>24)-((a<<24>>24==-128|(a&128|0)==0?a&255:0-(a&127)|0)<<24>>24)|0;i[n>>0]=g;f=f+1|0}while((f|0)!=(d|0));oBb(m);return}function hOa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=k[a>>2]|0;k[a>>2]=e>>>(d<<24>>24);f=(k[b>>2]|0)-(d<<24>>24)|0;k[b>>2]=f;if(f>>>0>=25)return e&(1<<(d<<24>>24))+65535&65535|0;g=k[c>>2]|0;k[c>>2]=g+1;k[a>>2]=k[a>>2]|(l[g>>0]|0)<>2]=(k[b>>2]|0)+8;return e&(1<<(d<<24>>24))+65535&65535|0}function iOa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0;p=r;r=r+1312|0;vBb(p|0,0,1304)|0;k[p>>2]=b;k[p+4>>2]=c;jOa(p);if(!d){d=k[p>>2]|0;a=b;a=d-a|0;r=p;return a|0}e=k[p+12>>2]|0;j=0;n=0;o=0;while(1){if(!e){c=k[p>>2]|0;if(c>>>0<(k[p+4>>2]|0)>>>0){k[p>>2]=c+1;c=l[c>>0]|0}else c=0;k[p+8>>2]=c;e=7}else{c=k[p+8>>2]|0;e=e+-1|0}k[p+12>>2]=e;m=(c&1|0)==0;g=c>>>1;k[p+8>>2]=g;h=0;c=j;do{if(!e){e=k[p>>2]|0;if(e>>>0<(k[p+4>>2]|0)>>>0){k[p>>2]=e+1;f=l[e>>0]|0}else f=0;k[p+8>>2]=f;e=7}else{e=e+-1|0;f=g}k[p+12>>2]=e;g=f>>>1;k[p+8>>2]=g;j=(f&1|0)==0?p+24+(h*5|0)|0:p+24+(h*5|0)+2|0;j=l[j>>0]|l[j+1>>0]<<8;h=j<<16>>16;if((j&65535)>255)break;c=i[p+24+(h*5|0)+4>>0]|0;if((e|0)==0?(k[p>>2]|0)>>>0>=(k[p+4>>2]|0)>>>0:0){e=0;break}j=p+24+(h*5|0)|0;if((l[j>>0]|l[j+1>>0]<<8)<<16>>16<=-1)break;j=p+24+(h*5|0)+2|0}while((l[j>>0]|l[j+1>>0]<<8)<<16>>16>-1);if(!m)c=(c&255^255)&255;f=c&255;i[a+n>>0]=n|0?f+o&255:0;n=n+1|0;if((n|0)==(d|0))break;else{j=c;o=f+(o&255)|0}}d=k[p>>2]|0;a=b;a=d-a|0;r=p;return a|0}function jOa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=l[a+20>>0]|l[a+20+1>>0]<<8|l[a+20+2>>0]<<16|l[a+20+3>>0]<<24;if(b>>>0>255)return;while(1){f=7;d=l[a+12>>0]|l[a+12+1>>0]<<8|l[a+12+2>>0]<<16|l[a+12+3>>0]<<24;g=1;e=0;while(1){f=f+-1|0;if(!d){c=l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24;if(c>>>0<(l[a+4>>0]|l[a+4+1>>0]<<8|l[a+4+2>>0]<<16|l[a+4+3>>0]<<24)>>>0){i[a>>0]=c+1;i[a+1>>0]=c+1>>8;i[a+2>>0]=c+1>>16;i[a+3>>0]=c+1>>24;c=l[c>>0]|0}else c=0;i[a+8>>0]=c;i[a+8+1>>0]=c>>8;i[a+8+2>>0]=c>>16;i[a+8+3>>0]=c>>24;d=7}else{c=l[a+8>>0]|l[a+8+1>>0]<<8|l[a+8+2>>0]<<16|l[a+8+3>>0]<<24;d=d+-1|0}i[a+12>>0]=d;i[a+12+1>>0]=d>>8;i[a+12+2>>0]=d>>16;i[a+12+3>>0]=d>>24;e=((c&1|0)==0?0:g)|e;c=c>>>1;i[a+8>>0]=c;i[a+8+1>>0]=c>>8;i[a+8+2>>0]=c>>16;i[a+8+3>>0]=c>>24;if(!f)break;else g=(g&255)<<1&255}i[a+24+(b*5|0)+4>>0]=e;b=l[a+12>>0]|l[a+12+1>>0]<<8|l[a+12+2>>0]<<16|l[a+12+3>>0]<<24;if(!b){b=l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24;if(b>>>0<(l[a+4>>0]|l[a+4+1>>0]<<8|l[a+4+2>>0]<<16|l[a+4+3>>0]<<24)>>>0){i[a>>0]=b+1;i[a+1>>0]=b+1>>8;i[a+2>>0]=b+1>>16;i[a+3>>0]=b+1>>24;b=l[b>>0]|0}else b=0;i[a+12>>0]=7;i[a+12+1>>0]=0;i[a+12+2>>0]=0;i[a+12+3>>0]=0;e=b>>>1;i[a+8>>0]=e;i[a+8+1>>0]=e>>8;i[a+8+2>>0]=e>>16;i[a+8+3>>0]=e>>24;c=(b&1|0)==0;d=7;h=15}else{c=l[a+8>>0]|l[a+8+1>>0]<<8|l[a+8+2>>0]<<16|l[a+8+3>>0]<<24;i[a+12>>0]=b+-1;i[a+12+1>>0]=b+-1>>8;i[a+12+2>>0]=b+-1>>16;i[a+12+3>>0]=b+-1>>24;i[a+8>>0]=c>>>1;i[a+8+1>>0]=c>>>1>>8;i[a+8+2>>0]=c>>>1>>16;i[a+8+3>>0]=c>>>1>>24;if(!(b+-1|0)){b=l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24;if(b>>>0<(l[a+4>>0]|l[a+4+1>>0]<<8|l[a+4+2>>0]<<16|l[a+4+3>>0]<<24)>>>0){i[a>>0]=b+1;i[a+1>>0]=b+1>>8;i[a+2>>0]=b+1>>16;i[a+3>>0]=b+1>>24;b=l[b>>0]|0}else b=0;i[a+8>>0]=b;i[a+8+1>>0]=b>>8;i[a+8+2>>0]=b>>16;i[a+8+3>>0]=b>>24;e=(c&1|0)==0;c=7}else{e=c>>>1;c=(c&1|0)==0;d=b+-1|0;h=15}}if((h|0)==15){h=0;b=e;e=c;c=d+-1|0}i[a+12>>0]=c;i[a+12+1>>0]=c>>8;i[a+12+2>>0]=c>>16;i[a+12+3>>0]=c>>24;d=b>>>1;i[a+8>>0]=d;i[a+8+1>>0]=d>>8;i[a+8+2>>0]=d>>16;i[a+8+3>>0]=d>>24;d=l[a+16>>0]|l[a+16+1>>0]<<8|l[a+16+2>>0]<<16|l[a+16+3>>0]<<24;if(d>>>0>255){h=26;break}c=(l[a+20>>0]|l[a+20+1>>0]<<8|l[a+20+2>>0]<<16|l[a+20+3>>0]<<24)+1|0;i[a+20>>0]=c;i[a+20+1>>0]=c>>8;i[a+20+2>>0]=c>>16;i[a+20+3>>0]=c>>24;i[a+16>>0]=c;i[a+16+1>>0]=c>>8;i[a+16+2>>0]=c>>16;i[a+16+3>>0]=c>>24;if(e){i[a+24+(d*5|0)>>0]=-1;i[a+24+(d*5|0)+1>>0]=-1>>8}else{i[a+24+(d*5|0)>>0]=c;i[a+24+(d*5|0)+1>>0]=(c&65535)>>8;jOa(a)}c=l[a+20>>0]|l[a+20+1>>0]<<8|l[a+20+2>>0]<<16|l[a+20+3>>0]<<24;i[a+16>>0]=c;i[a+16+1>>0]=c>>8;i[a+16+2>>0]=c>>16;i[a+16+3>>0]=c>>24;if(!(b&1)){h=25;break}i[a+24+(d*5|0)+2>>0]=c;i[a+24+(d*5|0)+2+1>>0]=(c&65535)>>8;b=l[a+20>>0]|l[a+20+1>>0]<<8|l[a+20+2>>0]<<16|l[a+20+3>>0]<<24;if(b>>>0>255){h=26;break}}if((h|0)==25){i[a+24+(d*5|0)+2>>0]=-1;i[a+24+(d*5|0)+2+1>>0]=-1>>8;return}else if((h|0)==26)return}function kOa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,l=0,n=0,o=0,p=0;p=k[b+20>>2]|0;if(!p)return;c=k[b>>2]|0;if(c>>>0>16e6){k[b>>2]=16e6;c=16e6}d=k[b+8>>2]|0;if(d>>>0>c>>>0){k[b+8>>2]=c;d=c}e=k[b+4>>2]|0;o=c+2|0;if(e>>>0>o>>>0){k[b+4>>2]=o;e=o}if((e+2|0)>>>0>>0){n=b+34|0;l=j[b+34>>1]|0;f=e}else{k[b+8>>2]=0;k[b+4>>2]=0;l=(m[b+34>>1]|0)&65533;j[b+34>>1]=l;n=b+34|0;d=0;f=0}e=l&65535;if(e&1|0){if(!(e&64)){j[p+(c<<1)>>1]=0;j[p+(c+1<<1)>>1]=0;j[p+(o<<1)>>1]=0;j[p+(c+3<<1)>>1]=0;j[p+(c+4<<1)>>1]=0}else{b=c<<1;j[p+(b<<1)>>1]=0;j[p+(b+2<<1)>>1]=0;j[p+(b+4<<1)>>1]=0;j[p+(b+6<<1)>>1]=0;j[p+((b|1)<<1)>>1]=0;j[p+(b+3<<1)>>1]=0;j[p+(b+5<<1)>>1]=0;j[p+(b+7<<1)>>1]=0}if((j[n>>1]&70)!=2)return;e=d+3|0;if(e>>>0>>0)if(!(k[a+59680>>2]&2))return;j[p+(d<<1)>>1]=j[p+(f<<1)>>1]|0;j[p+(d+1<<1)>>1]=j[p+(f+1<<1)>>1]|0;j[p+(d+2<<1)>>1]=j[p+(f+2<<1)>>1]|0;j[p+(e<<1)>>1]=j[p+(f+3<<1)>>1]|0;j[p+(d+4<<1)>>1]=j[p+(f+4<<1)>>1]|0;return}do if(c>>>0>256)if((e&64|0)==0?(k[a+59680>>2]&3|0)!=0:0){e=c+-1|0;h=i[p+e>>0]|0;f=0;while(1){if((e|0)<=0){g=f;break}f=e+-1|0;g=i[p+f>>0]|0;if(g<<24>>24==h<<24>>24){e=f;f=g<<24>>24}else{g=g<<24>>24;break}}f=g-(h<<24>>24)|0;if(!(l&2))if((f+8|0)>>>0>16&(e|0)<(c|0))d=g;else{d=l;break}else if((f+8|0)>>>0>16&(e|0)>(d|0)&(e|0)<(c|0))d=g;else{d=l;break}do{if(!(e&7)){d=(((d|0)>0)<<31>>31)+d|0;d=(d>>>31)+d|0}i[p+e>>0]=d;e=e+1|0}while((e|0)<(k[b>>2]|0));d=j[n>>1]|0}else d=l;else d=l;while(0);if(!(d&64)){i[p+c>>0]=0;i[p+(c+1)>>0]=0;i[p+o>>0]=0;i[p+(c+3)>>0]=0;i[p+(c+4)>>0]=0}else{o=c<<1;i[p+o>>0]=0;i[p+(o+2)>>0]=0;i[p+(o+4)>>0]=0;i[p+(o+6)>>0]=0;i[p+(o|1)>>0]=0;i[p+(o+3)>>0]=0;i[p+(o+5)>>0]=0;i[p+(o+7)>>0]=0}if((j[n>>1]&70)!=2)return;c=k[b+8>>2]|0;if((c+3|0)>>>0<(k[b>>2]|0)>>>0)if(!(k[a+59680>>2]&3))return;i[p+c>>0]=i[p+(k[b+4>>2]|0)>>0]|0;i[p+((k[b+8>>2]|0)+1)>>0]=i[p+((k[b+4>>2]|0)+1)>>0]|0;i[p+((k[b+8>>2]|0)+2)>>0]=i[p+((k[b+4>>2]|0)+2)>>0]|0;i[p+((k[b+8>>2]|0)+3)>>0]=i[p+((k[b+4>>2]|0)+3)>>0]|0;i[p+((k[b+8>>2]|0)+4)>>0]=i[p+((k[b+4>>2]|0)+4)>>0]|0;return}function lOa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0;if(c>>>0<=8){a=0;return a|0}m=8;d=0;while(1){n=k[b+(d+4)>>2]|0;if(n>>>0>(c+-8-d|0)>>>0){e=16;break}e=k[b+d>>2]|0;if((e|0)==1481001027){f=0;do{e=f<<2;if(e>>>0>>0)k[a+49600+(f*36|0)+12>>2]=k[b+(e+m)>>2];f=f+1|0}while((f|0)!=64)}else{if((e&255)<<24>>24!=70){e=16;break}if((i[b+(d+1)>>0]|0)!=88){e=16;break}g=i[b+(d+2)>>0]|0;if((g&255)<48){e=16;break}h=i[b+(d+3)>>0]|0;if((h&255)<48){e=16;break}if(n>>>0>131?(((g&255)*10|0)+-528+(h&255)|0)>>>0<8:0){j=k[b+(d+136)>>2]|0;l=a+58496+((((g&255)*10|0)+-528+(h&255)|0)*144|0)+16|0;e=b+m|0;f=l+128|0;do{k[l>>2]=k[e>>2];l=l+4|0;e=e+4|0}while((l|0)<(f|0));if((j+-1|0)>>>0<(n+-132|0)>>>0){m=mBb(j)|0;k[a+58496+((((g&255)*10|0)+-528+(h&255)|0)*144|0)+12>>2]=m;k[a+58496+((((g&255)*10|0)+-528+(h&255)|0)*144|0)+8>>2]=j;ABb(m|0,b+(d+140)|0,j|0)|0}}}d=d+8+n|0;m=d+8|0;if(m>>>0>=c>>>0){e=16;break}}if((e|0)==16)return d|0;return 0}function mOa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;E=r;r=r+2096|0;if((b|0)==0|c>>>0<241){a=0;r=E;return a|0}q=E+1512|0;s=b;t=q+96|0;do{i[q>>0]=i[s>>0]|0;q=q+1|0;s=s+1|0}while((q|0)<(t|0));if((l[E+1512+44>>0]|l[E+1512+44+1>>0]<<8|l[E+1512+44+2>>0]<<16|l[E+1512+44+3>>0]<<24|0)==1297236819){k[a+59680>>2]=2;vBb(a+59804|0,0,7680)|0;q=a+59804|0;s=E+1512|0;t=q+28|0;do{i[q>>0]=i[s>>0]|0;q=q+1|0;s=s+1|0}while((q|0)<(t|0));g=i[E+1512+49>>0]|0;g=g<<24>>24==0?6:g&255;k[a+59648>>2]=g>>>0>31?31:g;g=i[E+1512+50>>0]|0;g=(g&255)<40?40:g&255;k[a+59652>>2]=g>>>0>240?240:g;g=i[E+1512+48>>0]|0;k[a+59656>>2]=g<<24>>24==0|(g&255)<<2>>>0>256?256:(g&255)<<2;k[a+59748>>2]=l[E+1512+51>>0]&127;k[a+59664>>2]=4;g=0;do{d=a+49600+(g*36|0)|0;k[d>>2]=128;k[a+49600+(g*36|0)+4>>2]=64;e=a+49600+(g*36|0)+8|0;k[e>>2]=256;f=i[E+1512+64+g>>0]|0;g=g+1|0;if(f<<24>>24!=-1){k[a+59664>>2]=g;k[d>>2]=(f&255)<<4&128|64;k[e>>2]=0}}while((g|0)!=32);if((k[a+59664>>2]|0)>>>0<4)k[a+59664>>2]=4;if(((l[E+1512+40>>0]|l[E+1512+40+1>>0]<<8)&65535)<4896)h=11;else if((l[E+1512+38>>0]|l[E+1512+38+1>>0]<<8)&64)h=11;if((h|0)==11)k[a+59660>>2]=k[a+59660>>2]|2;d=l[E+1512+32>>0]|l[E+1512+32+1>>0]<<8;d=d<<16>>16==0?1:d&65535;d=d>>>0>256?256:d;if(!d)d=96;else{ABb(a+53344|0,b+96|0,d|0)|0;if(!(d&1))d=d+96|0;else d=(i[b+(d+96)>>0]|0)==-1?d+97|0:d+96|0}C=(l[E+1512+34>>0]|l[E+1512+34+1>>0]<<8)&65535;D=C>>>0>239?239:C;k[a+59684>>2]=D;B=l[E+1512+36>>0]|l[E+1512+36+1>>0]<<8;vBb(E+1e3|0,0,512)|0;if(((B&65535)+C|0)>>>0>256)d=0;else{if((B&65535)+C|0){ABb(E+1e3|0,b+d|0,(B&65535)+C<<1|0)|0;d=((B&65535)+C<<1)+d|0;if((i[E+1512+53>>0]|0)==-4){f=0;do{e=l[b+(d+f)>>0]|0;if(e&32|0)k[a+49600+(f*36|0)>>2]=e<<4&240|8;f=f+1|0}while((f|0)!=32)}}if(!(k[a+59664>>2]|0))d=1;else{vBb(E+40|0,0,960)|0;if(D|0){A=1;do{e=A+-1|0;d=j[E+1e3+(e<<1)>>1]|0;if(!(d<<16>>16==0|(((d&65535)<<4)+80|0)>>>0>c>>>0)){f=i[b+((d&65535)<<4)>>0]|0;y=i[b+((d&65535)<<4|13)>>0]|0;z=l[b+((d&65535)<<4|14)>>0]|l[b+((d&65535)<<4|14)+1>>0]<<8;g=l[b+(((d&65535)<<4)+16)>>0]|l[b+(((d&65535)<<4)+16)+1>>0]<<8|l[b+(((d&65535)<<4)+16)+2>>0]<<16|l[b+(((d&65535)<<4)+16)+3>>0]<<24;h=l[b+(((d&65535)<<4)+20)>>0]|l[b+(((d&65535)<<4)+20)+1>>0]<<8|l[b+(((d&65535)<<4)+20)+2>>0]<<16|l[b+(((d&65535)<<4)+20)+3>>0]<<24;u=l[b+(((d&65535)<<4)+24)>>0]|l[b+(((d&65535)<<4)+24)+1>>0]<<8|l[b+(((d&65535)<<4)+24)+2>>0]<<16|l[b+(((d&65535)<<4)+24)+3>>0]<<24;v=i[b+(((d&65535)<<4)+28)>>0]|0;n=i[b+(((d&65535)<<4)+30)>>0]|0;w=i[b+(((d&65535)<<4)+31)>>0]|0;x=l[b+(((d&65535)<<4)+32)>>0]|l[b+(((d&65535)<<4)+32)+1>>0]<<8|l[b+(((d&65535)<<4)+32)+2>>0]<<16|l[b+(((d&65535)<<4)+32)+3>>0]<<24;q=E;s=b+(((d&65535)<<4)+36)|0;t=q+40|0;do{i[q>>0]=i[s>>0]|0;q=q+1|0;s=s+1|0}while((q|0)<(t|0));o=i[b+(((d&65535)<<4)+78)>>0]|0;p=i[b+(((d&65535)<<4)+79)>>0]|0;BBb(a+33280+(A<<6)+42|0,b+((d&65535)<<4|1)|0,12)|0;i[E+1848+e>>0]=w;i[E+1608+e>>0]=n;q=a+59804+(A<<5)|0;s=E+12|0;t=q+28|0;do{i[q>>0]=i[s>>0]|0;q=q+1|0;s=s+1|0}while((q|0)<(t|0));i[a+59804+(A<<5)+28>>0]=0;if(f<<24>>24==1&o<<24>>24==82&p<<24>>24==83){g=g>>>0>16e6?16e6:g>>>0<4?0:g;k[a+33280+(A<<6)>>2]=g;n=h>>>0>(g+-1|0)>>>0?g+-1|0:h>>>0<4?0:h;o=a+33280+(A<<6)+4|0;k[o>>2]=n;g=u>>>0>g>>>0?g:u>>>0<4?0:u;h=a+33280+(A<<6)+8|0;k[h>>2]=g;j[a+33280+(A<<6)+30>>1]=(v&255)>64?256:(v&255)<<2&65535;j[a+33280+(A<<6)+32>>1]=64;if(w&1){w=a+33280+(A<<6)+34|0;j[w>>1]=m[w>>1]|2}f=x|0?x:8363;k[a+33280+(A<<6)+24>>2]=f>>>0<1024?1024:f;f=E+40+(A<<2)|0;k[f>>2]=(z&65535)<<4|(y&255)<<20;if(((z&65535)<<4|(y&255)<<20)>>>0>c>>>0)k[f>>2]=0;else if((z&65535)<<4|(y&255)<<20|0){d=(z&65535)<<4|(y&255)<<20;while(1){if((d|0)==(k[E+40+(e<<2)>>2]|0)){k[f>>2]=0;d=0}if((e|0)>0)e=e+-1|0;else break}}if(g>>>0<=n>>>0|(g-n|0)>>>0<8){k[h>>2]=0;k[o>>2]=0}j[a+33280+(A<<6)+28>>1]=128}}A=A+1|0}while(A>>>0<=D>>>0)}if(B<<16>>16){o=(B&65535)<240?B&65535:240;t=0;do{p=m[E+1e3+(t+C<<1)>>1]<<4;a:do if((p+64|0)>>>0<=c>>>0){q=j[b+p>>1]|0;j[a+52864+(t<<1)>>1]=64;if(q<<16>>16)if(((q&65535)+(p|2)|0)>>>0<=(c+-6|0)>>>0){s=$Na(64,k[a+59664>>2]|0)|0;k[a+51904+(t<<2)>>2]=s;if(s|0){d=0;e=0;while(1){while(1){if(d>>>0>=(q&65535)>>>0)break a;g=d+1|0;h=i[b+(d+(p|2))>>0]|0;if(!(h<<24>>24))break;f=k[a+59664>>2]|0;do if((h&31)>>>0>>0){n=(ha(f,e)|0)+(h&31)|0;if(!(h&32))d=g;else{f=i[b+(g+(p|2))>>0]|0;i[s+(n*6|0)>>0]=f;do if((f&255)<240)i[s+(n*6|0)>>0]=(f&15)+13+(((f&255)>>>4)*12|0);else{if(f<<24>>24!=-1)break;i[s+(n*6|0)>>0]=0}while(0);i[s+(n*6|0)+1>>0]=i[b+((p|2)+2+d)>>0]|0;d=d+3|0}if(!(h&64))g=d;else{g=i[b+(d+(p|2))>>0]|0;i[s+(n*6|0)+2>>0]=g<<24>>24<0&(g&255)<193?2:1;i[s+(n*6|0)+4>>0]=g<<24>>24<0&(g&255)<193?(g&255)+128|0:(g&255)>64?64:g&255;g=d+1|0}if(!(h&128)){d=g;break}f=i[b+(g+(p|2))>>0]|0;i[s+(n*6|0)+3>>0]=f;d=g+2|0;g=i[b+((p|3)+g)>>0]|0;i[s+(n*6|0)+5>>0]=g;if(!(f<<24>>24))break;do switch(f&255|0){case 1:{h=16;f=g&255;break}case 2:{h=12;f=g&255;break}case 3:{h=14;f=(((g&255)>>>4)*10|0)+(g&15)|0;break}case 4:{h=11;f=g&255;break}case 5:{h=3;f=g&255;break}case 6:{h=2;f=g&255;break}case 7:{h=4;f=g&255;break}case 8:{h=5;f=g&255;break}case 9:{h=18;f=g&255;break}case 10:{h=1;f=g&255;break}case 11:{h=7;f=g&255;break}case 12:{h=6;f=g&255;break}case 13:{h=21;f=g&255;break}case 14:{h=22;f=g&255;break}case 15:{h=10;f=g&255;break}case 16:{h=29;f=g&255;break}case 17:{h=15;f=g&255;break}case 18:{h=8;f=g&255;break}case 19:{h=20;f=g&255;break}case 20:{h=17;f=g&255;break}case 21:{h=26;f=g&255;break}case 22:{h=23;f=g&255;break}case 23:{h=24;f=g&255;break}case 24:{h=9;f=g&255;break}case 25:{h=27;f=g&255;break}case 26:{h=31;f=g&255;break}default:{h=0;f=g&255}}while(0);i[s+(n*6|0)+3>>0]=h;i[s+(n*6|0)+5>>0]=f}else{d=((h&32|0)==0?g:d+3|0)+((h&255)>>>6&1)|0;d=(h&128|0)==0?d:d+2|0}while(0);if(d>>>0>=(q&65535)>>>0)break a}e=e+1|0;if(e>>>0>63)break;else d=g}}}}while(0);t=t+1|0}while((t|0)!=(o|0))}if(D|0){o=(l[E+1512+42>>0]|l[E+1512+42+1>>0]<<8)<<16>>16!=1;d=o?6:5;n=1;do{e=a+33280+(n<<6)|0;if(k[e>>2]|0){f=k[E+40+(n<<2)>>2]|0;if(f|0){g=n+-1|0;h=i[E+1848+g>>0]|0;if(f>>>0>>0)dOa(a,e,(i[E+1608+g>>0]|0)==4?3:(h&2)<<2|((h&4)==0?o&1:d),b+f|0,c-f|0)|0}}n=n+1|0}while(n>>>0<=D>>>0)}k[a+59764>>2]=64;k[a+59768>>2]=32767;if(!((l[E+1512+38>>0]|l[E+1512+38+1>>0]<<8)&16))d=1;else{k[a+59660>>2]=k[a+59660>>2]|65536;d=1}}}}else d=0;a=d;r=E;return a|0}function nOa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;G=r;r=r+3568|0;if((b|0)==0|c>>>0<192){a=0;r=G;return a|0}ABb(G|0,b|0,192)|0;if((k[G>>2]|0)==1297108297){d=j[G+34>>1]|0;if((d&65535)>239)d=0;else{F=k[G+36>>2]|0;if(!((F&65535)<<16>>16))d=0;else if((F&65535)>239)d=0;else{u=k[G+32>>2]|0;if(!((u&65535)<<16>>16))d=0;else if(((u&65535)+192+((F&65535)+(d&65535)+(F>>>16)<<2)|0)>>>0>c>>>0)d=0;else{k[a+59680>>2]=32;t=j[G+44>>1]|0;g=k[G+44>>2]|0;if(g&8)k[a+59660>>2]=k[a+59660>>2]|16;if(g&16)k[a+59660>>2]=k[a+59660>>2]|4;if(g&32)k[a+59660>>2]=k[a+59660>>2]|8;if(g&128)k[a+59660>>2]=k[a+59660>>2]|1;if(g&4096)k[a+59660>>2]=k[a+59660>>2]|32768;D=a+59804|0;B=G+4|0;E=D+26|0;do{i[D>>0]=i[B>>0]|0;D=D+1|0;B=B+1|0}while((D|0)<(E|0));i[a+59830>>0]=0;d=k[G+48>>2]|0;e=(m[G+48>>1]|0)>>>8&65535;if((d&255)<<24>>24)k[a+59656>>2]=(d<<1&510)>>>0>256?256:d<<1&510;if((d>>>16&255)<<24>>24)k[a+59648>>2]=d>>>16&255;if(d>>>24|0)k[a+59652>>2]=d>>>24;k[a+59748>>2]=e&127;f=0;do{d=i[G+64+f>>0]|0;do if(d<<24>>24!=-1){k[a+49600+(f*36|0)+4>>2]=l[G+128+f>>0];e=a+49600+(f*36|0)|0;k[e>>2]=128;if(d<<24>>24<0){E=a+49600+(f*36|0)+8|0;k[E>>2]=k[E>>2]|256}if((d&127)>>>0<65){k[e>>2]=(d&127)<<2;break}if((d&127|0)!=100)break;E=a+49600+(f*36|0)+8|0;k[E>>2]=k[E>>2]|2048}while(0);f=f+1|0}while((f|0)!=64);if((k[a+59664>>2]|0)>>>0<4)k[a+59664>>2]=4;do if(g&65536|0){d=j[G+54>>1]|0;if(d<<16>>16){if((d&65535)>>>0>c>>>0)break;e=k[G+56>>2]|0;if(e>>>0>=(c-(d&65535)|0)>>>0)break;E=mBb((d&65535)+1|0)|0;k[a+59796>>2]=E;ABb(E|0,b+e|0,d&65535|0)|0;i[E+(d&65535)>>0]=0}}while(0);ABb(a+53344|0,b+192|0,((u&65535)>>>0>256?256:u&65535)|0)|0;vBb(G+2112|0,0,960)|0;ABb(G+2112|0,b+((u&65535)+192)|0,((u>>>16&65535)>240?960:u>>>16<<2)|0)|0;vBb(G+1152|0,0,960)|0;ABb(G+1152|0,b+((u>>>16<<2)+((u&65535)+192))|0,((F&65535)>240?960:(F&65535)<<2)|0)|0;d=((F&65535)<<2)+((u>>>16<<2)+((u&65535)+192))|0;vBb(G+192|0,0,960)|0;ABb(G+192|0,b+d|0,((F>>>16&65535)>240?960:F>>>16<<2)|0)|0;e=(F>>>16<<2)+d+2|0;if(e>>>0>>0){E=((m[b+((F>>>16<<2)+d)>>1]|0)<<3)+e|0;e=E>>>0>>0?E:e}else e=(F>>>16<<2)+d|0;do if(!(k[a+59660>>2]&1))d=e;else{d=e+4896|0;if(d>>>0>=c>>>0){d=e;break}ABb(a+53600|0,b+e|0,4896)|0}while(0);e=d+8|0;do if(e>>>0>>0){if((k[b+d>>2]|0)!=1296125520){e=d;break}d=k[b+(d+4)>>2]|0;if(!((d+-32|0)>>>0<7649&(d+e|0)>>>0<=c>>>0))break;E=mBb(d)|0;k[a+59800>>2]=E;k[a+59792>>2]=d>>>5;ABb(E|0,b+e|0,d|0)|0;e=d+e|0}else e=d;while(0);k[a+59664>>2]=4;d=e+8|0;do if(d>>>0>>0){if((k[b+e>>2]|0)!=1296125507){d=e;break}e=k[b+(e+4)>>2]|0;if(!(e>>>0<1281&(e+d|0)>>>0<=c>>>0))break;if(e>>>0>99){k[a+59664>>2]=(e>>>0)/20|0;f=0}else if(e>>>0>19)f=0;else{d=e+d|0;break}do{D=a+49600+(f*36|0)+16|0;B=b+((f*20|0)+d)|0;E=D+20|0;do{i[D>>0]=i[B>>0]|0;D=D+1|0;B=B+1|0}while((D|0)<(E|0));i[a+49600+(f*36|0)+35>>0]=0;f=f+1|0}while(f>>>0<((e>>>0)/20|0)>>>0);d=e+d|0}else d=e;while(0);if((d+8|0)>>>0>>0)lOa(a,b+d|0,c-d|0)|0;if(!((F>>>16|0)==0&F>>>0<15794176)){q=F>>>0<15728640?F>>>16:240;s=0;do{D=G+3496|0;E=D+64|0;do{i[D>>0]=0;D=D+1|0}while((D|0)<(E|0));n=k[G+192+(s<<2)>>2]|0;a:do if((n|0)!=0&n>>>0<(c+-4|0)>>>0){o=m[b+n>>1]|0;p=j[b+(n+2)>>1]|0;if((p+-4&65535)>252)break;if((o+8|0)>>>0>c>>>0|n>>>0>(c-(o+8)|0)>>>0)break;if(!(p<<16>>16))break;else{e=0;d=0}do{g=e;while(1){if(g>>>0>=o>>>0)break a;e=g+1|0;f=i[b+(g+(n+8))>>0]|0;if(!(f<<24>>24))break;h=(f&127|0)==0?0:(f&255)+63&63;if(!(f&128))f=i[G+3496+h>>0]|0;else{if(e>>>0>=o>>>0)break a;f=i[b+(e+(n+8))>>0]|0;i[G+3496+h>>0]=f;e=g+2|0}do if(f&15){if(h>>>0<(k[a+59664>>2]|0)>>>0)break;k[a+59664>>2]=h+1}while(0);g=(f&1)+e+((f&255)>>>1&1)+((f&255)>>>2&1)|0;g=(f&8)==0?g:g+2|0;if(g>>>0>=o>>>0)break a}d=d+1|0}while(d>>>0<(p&65535)>>>0)}while(0);s=s+1|0}while((s|0)!=(q|0))}do if(!(t&4))k[a+59688>>2]=0;else{d=u>>>16>>>0>239?239:u>>>16;k[a+59688>>2]=d;if(!d)break;g=m[G+42>>1]|0;e=0;do{f=k[G+2112+(e<<2)>>2]|0;if((f|0)!=0&f>>>0<(c+-554|0)>>>0){d=kBb(632)|0;e=e+1|0;k[a+48640+(e<<2)>>2]=d;vBb(d|0,0,632)|0;oOa(0,b+f|0,d,g)|0;d=k[a+59688>>2]|0}else e=e+1|0}while(e>>>0>>0)}while(0);k[a+59684>>2]=F&65535;C=(m[G+42>>1]|0)>532;d=0;do{f=k[G+1152+(d<<2)>>2]|0;if((f+-1|0)>>>0<(c+-80|0)>>>0){e=l[b+f>>0]|l[b+f+1>>0]<<8|l[b+f+2>>0]<<16|l[b+f+3>>0]<<24;D=G+3100|0;B=b+(f+4)|0;E=D+12|0;do{i[D>>0]=i[B>>0]|0;D=D+1|0;B=B+1|0}while((D|0)<(E|0));o=i[b+(f+17)>>0]|0;t=i[b+(f+18)>>0]|0;p=i[b+(f+19)>>0]|0;D=G+3072|0;B=b+(f+20)|0;E=D+26|0;do{i[D>>0]=i[B>>0]|0;D=D+1|0;B=B+1|0}while((D|0)<(E|0));u=i[b+(f+46)>>0]|0;s=i[b+(f+47)>>0]|0;v=l[b+(f+48)>>0]|l[b+(f+48)+1>>0]<<8|l[b+(f+48)+2>>0]<<16|l[b+(f+48)+3>>0]<<24;q=l[b+(f+60)>>0]|l[b+(f+60)+1>>0]<<8|l[b+(f+60)+2>>0]<<16|l[b+(f+60)+3>>0]<<24;A=l[b+(f+72)>>0]|l[b+(f+72)+1>>0]<<8|l[b+(f+72)+2>>0]<<16|l[b+(f+72)+3>>0]<<24;w=i[b+(f+76)>>0]|0;x=i[b+(f+77)>>0]|0;y=i[b+(f+78)>>0]|0;z=i[b+(f+79)>>0]|0;do if((e|0)==1397771593){g=l[b+(f+68)>>0]|l[b+(f+68)+1>>0]<<8|l[b+(f+68)+2>>0]<<16|l[b+(f+68)+3>>0]<<24;h=l[b+(f+64)>>0]|l[b+(f+64)+1>>0]<<8|l[b+(f+64)+2>>0]<<16|l[b+(f+64)+3>>0]<<24;n=l[b+(f+56)>>0]|l[b+(f+56)+1>>0]<<8|l[b+(f+56)+2>>0]<<16|l[b+(f+56)+3>>0]<<24;e=l[b+(f+52)>>0]|l[b+(f+52)+1>>0]<<8|l[b+(f+52)+2>>0]<<16|l[b+(f+52)+3>>0]<<24;d=d+1|0;D=a+33280+(d<<6)+42|0;B=G+3100|0;E=D+12|0;do{i[D>>0]=i[B>>0]|0;D=D+1|0;B=B+1|0}while((D|0)<(E|0));j[a+33280+(d<<6)+34>>1]=0;k[a+33280+(d<<6)>>2]=0;k[a+33280+(d<<6)+4>>2]=e;k[a+33280+(d<<6)+8>>2]=n;k[a+33280+(d<<6)+12>>2]=h;k[a+33280+(d<<6)+16>>2]=g;k[a+33280+(d<<6)+24>>2]=q>>>0<256?256:(q|0)==0?8363:q;j[a+33280+(d<<6)+30>>1]=(p&255)<<2>>>0>256?256:(p&255)<<2&65535;j[a+33280+(d<<6)+32>>1]=(o&255)>64?64:o&255;if(!(t&16))e=0;else{j[a+33280+(d<<6)+34>>1]=2;e=2}if(t&32){e=(e&65535|8)&65535;j[a+33280+(d<<6)+34>>1]=e}if(t&64){e=(e&65535|4)&65535;j[a+33280+(d<<6)+34>>1]=e}if(t&128){e=(e&65535|16)&65535;j[a+33280+(d<<6)+34>>1]=e}j[a+33280+(d<<6)+28>>1]=((s&255)<<2&508)>>>0>256?256:(s&255)<<2&508;if(s&128){e=(e&65535|32)&65535;j[a+33280+(d<<6)+34>>1]=e}i[a+33280+(d<<6)+38>>0]=i[521223+(z&7)>>0]|0;i[a+33280+(d<<6)+41>>0]=w;i[a+33280+(d<<6)+40>>0]=x&127;i[a+33280+(d<<6)+39>>0]=((y&255)+3|0)>>>2;if((v|0)==0|(A>>>0>=c>>>0|(A|0)==0))break;k[a+33280+(d<<6)>>2]=v>>>0>16e6?16e6:v;do if(!(t&2)){if(u<<24>>24==-1){e=3;break}if(!(t&8)){e=u&1^1|(t&255)<<1&8;break}e=(u&4|0)!=0&C?18:16}else{j[a+33280+(d<<6)+34>>1]=e&65535|1;if(!(t&8)){e=(u&1^1)+5|(t&255)<<1&8;break}e=(u&4|0)!=0&C?22:20}while(0);dOa(a,a+33280+(d<<6)|0,e,b+A|0,c-A|0)|0}else d=d+1|0;while(0);D=a+59804+(d<<5)|0;B=G+3072|0;E=D+26|0;do{i[D>>0]=i[B>>0]|0;D=D+1|0;B=B+1|0}while((D|0)<(E|0))}else d=d+1|0}while(d>>>0<(F&65535)>>>0);if((F>>>16|0)==0&F>>>0<15794176)d=0;else{q=F>>>0<15728640?F>>>16:240;v=0;while(1){s=k[G+192+(v<<2)>>2]|0;b:do if((s|0)!=0&s>>>0<(c+-4|0)>>>0){t=j[b+s>>1]|0;u=j[b+(s+2)>>1]|0;if((u+-4&65535)>252)break;if(((t&65535)+8|0)>>>0>c>>>0?1:s>>>0>(c-((t&65535)+8)|0)>>>0)break;j[a+52864+(v<<1)>>1]=u;e=$Na(u&65535,k[a+59664>>2]|0)|0;k[a+51904+(v<<2)>>2]=e;if(!e)break;vBb(G+3112|0,0,384)|0;D=G+3496|0;E=D+64|0;do{i[D>>0]=0;D=D+1|0}while((D|0)<(E|0));if(!(t<<16>>16!=0&u<<16>>16!=0))break;d=0;f=0;while(1){while(1){h=d+1|0;g=i[b+(d+(s+8))>>0]|0;if(!(g<<24>>24))break;p=(g&127|0)==0?0:(g&255)+63&63;if(!(g&128)){o=G+3496+p|0;g=i[G+3496+p>>0]|0;n=h}else{if(h>>>0>=(t&65535)>>>0)break b;g=i[b+(h+(s+8))>>0]|0;i[G+3496+p>>0]=g;o=G+3496+p|0;n=d+2|0}do if(!(g&16))d=g;else{if(p>>>0>=(k[a+59664>>2]|0)>>>0){d=g;break}i[e+(p*6|0)>>0]=i[G+3112+(p*6|0)>>0]|0;d=i[o>>0]|0}while(0);do if(d&32){if(p>>>0>=(k[a+59664>>2]|0)>>>0)break;i[e+(p*6|0)+1>>0]=i[G+3112+(p*6|0)+1>>0]|0;d=i[o>>0]|0}while(0);do if(d&64){if(p>>>0>=(k[a+59664>>2]|0)>>>0)break;i[e+(p*6|0)+2>>0]=i[G+3112+(p*6|0)+2>>0]|0;i[e+(p*6|0)+4>>0]=i[G+3112+(p*6|0)+4>>0]|0;d=i[o>>0]|0}while(0);do if(d<<24>>24<0){if(p>>>0>=(k[a+59664>>2]|0)>>>0)break;i[e+(p*6|0)+3>>0]=i[G+3112+(p*6|0)+3>>0]|0;i[e+(p*6|0)+5>>0]=i[G+3112+(p*6|0)+5>>0]|0;d=i[o>>0]|0}while(0);do if(!(d&1))h=n;else{if(n>>>0>=(t&65535)>>>0)break b;h=n+1|0;g=i[b+(n+(s+8))>>0]|0;if(p>>>0>=(k[a+59664>>2]|0)>>>0)break;i[e+(p*6|0)>>0]=((g&255)>>>7&255^1)+(g&255);i[G+3112+(p*6|0)>>0]=((g&255)>>>7&255^1)+(g&255);d=i[o>>0]|0}while(0);do if(!(d&2))g=h;else{if(h>>>0>=(t&65535)>>>0)break b;g=h+1|0;if(p>>>0>=(k[a+59664>>2]|0)>>>0)break;d=i[b+(h+(s+8))>>0]|0;i[e+(p*6|0)+1>>0]=d;i[G+3112+(p*6|0)+1>>0]=d;d=i[o>>0]|0}while(0);do if(!(d&4))h=g;else{if(g>>>0>=(t&65535)>>>0)break b;h=g+1|0;n=i[b+(g+(s+8))>>0]|0;if(p>>>0>=(k[a+59664>>2]|0)>>>0)break;do if((n&255)<65){i[e+(p*6|0)+2>>0]=1;i[e+(p*6|0)+4>>0]=n;g=1;d=n}else{if(n<<24>>24<0&(n&255)<193){i[e+(p*6|0)+2>>0]=2;i[e+(p*6|0)+4>>0]=(n&255)+128;g=2;d=(n&255)+128&255;break}if((n&255)<75){i[e+(p*6|0)+2>>0]=5;i[e+(p*6|0)+4>>0]=(n&255)+191;g=5;d=(n&255)+191&255;break}if((n&255)<85){i[e+(p*6|0)+2>>0]=6;i[e+(p*6|0)+4>>0]=(n&255)+181;g=6;d=(n&255)+181&255;break}if((n&255)<95){i[e+(p*6|0)+2>>0]=3;i[e+(p*6|0)+4>>0]=(n&255)+171;g=3;d=(n&255)+171&255;break}if((n&255)<105){i[e+(p*6|0)+2>>0]=4;i[e+(p*6|0)+4>>0]=(n&255)+161;g=4;d=(n&255)+161&255;break}if((n&255)<115){i[e+(p*6|0)+2>>0]=13;i[e+(p*6|0)+4>>0]=(n&255)+151;g=13;d=(n&255)+151&255;break}if((n&255)<125){i[e+(p*6|0)+2>>0]=12;i[e+(p*6|0)+4>>0]=(n&255)+141;g=12;d=(n&255)+141&255;break}if((n+63&255)<10){i[e+(p*6|0)+2>>0]=11;i[e+(p*6|0)+4>>0]=(n&255)+63;g=11;d=(n&255)+63&255;break}d=e+(p*6|0)+2|0;if((n+53&255)<10){i[d>>0]=7;i[e+(p*6|0)+4>>0]=(n&255)+53;g=7;d=(n&255)+53&255;break}else{g=i[d>>0]|0;d=i[e+(p*6|0)+4>>0]|0;break}}while(0);i[G+3112+(p*6|0)+2>>0]=g;i[G+3112+(p*6|0)+4>>0]=d;d=i[o>>0]|0}while(0);do if(!(d&8))d=h;else{if(h>>>0>((t&65535)+-2|0)>>>0)break b;g=i[b+(h+(s+8))>>0]|0;d=h+2|0;if(!(g<<24>>24?p>>>0<(k[a+59664>>2]|0)>>>0:0))break;D=i[b+(s+9+h)>>0]|0;E=e+(p*6|0)+3|0;i[E>>0]=g;F=e+(p*6|0)+5|0;i[F>>0]=D;pOa(a,e+(p*6|0)|0,1);i[G+3112+(p*6|0)+3>>0]=i[E>>0]|0;i[G+3112+(p*6|0)+5>>0]=i[F>>0]|0}while(0);if(d>>>0>=(t&65535)>>>0)break b}f=f+1|0;if(h>>>0<(t&65535)>>>0&f>>>0<(u&65535)>>>0){d=h;e=e+((k[a+59664>>2]|0)*6|0)|0}else break}}else{j[a+52864+(v<<1)>>1]=64;F=$Na(64,k[a+59664>>2]|0)|0;k[a+51904+(v<<2)>>2]=F}while(0);v=v+1|0;if((v|0)==(q|0)){d=0;break}}}do{if(d>>>0>=(k[a+59664>>2]|0)>>>0){k[a+49600+(d*36|0)+4>>2]=64;b=a+49600+(d*36|0)+8|0;k[b>>2]=k[b>>2]&-257}d=d+1|0}while((d|0)!=64);k[a+59764>>2]=8;k[a+59768>>2]=61440;d=1}}}}else d=0;a=d;r=G;return a|0}function oOa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;a=c+585|0;e=b+32|0;f=a+26|0;do{i[a>>0]=i[e>>0]|0;a=a+1|0;e=e+1|0}while((a|0)<(f|0));a=c+617|0;e=b+4|0;f=a+12|0;do{i[a>>0]=i[e>>0]|0;a=a+1|0;e=e+1|0}while((a|0)<(f|0));if(d>>>0<512){k[c>>2]=((l[b+24>>0]|l[b+24+1>>0]<<8)&65535)<<6;j[c+8>>1]=64;f=0;do{e=f<<1;a=i[b+(e+64)>>0]|0;e=i[b+((e|1)+64)>>0]|0;if((e&255)<240)i[c+300+f>>0]=e;if(a<<24>>24>-1)i[c+428+f>>0]=(a&255)+1;else if((a&255)>253)i[c+428+f>>0]=a;f=f+1|0}while((f|0)!=120);a=i[b+17>>0]|0;if(a&1)k[c+4>>2]=k[c+4>>2]|1;if(a&2)k[c+4>>2]=k[c+4>>2]|4;if(a&4)k[c+4>>2]=k[c+4>>2]|2;i[c+559>>0]=i[b+18>>0]|0;i[c+560>>0]=i[b+19>>0]|0;i[c+561>>0]=i[b+20>>0]|0;i[c+562>>0]=i[b+21>>0]|0;i[c+556>>0]=25;a=0;do{e=a<<1;d=i[b+(e+504)>>0]|0;j[c+12+(a<<1)>>1]=d&255;if(d<<24>>24==-1){g=18;break}i[c+204+a>>0]=i[b+((e|1)+504)>>0]|0;a=a+1|0}while(a>>>0<25);if((g|0)==18)i[c+556>>0]=a;i[c+571>>0]=i[b+26>>0]|0;i[c+572>>0]=i[b+27>>0]|0;j[c+10>>1]=128;a=c+559|0}else{i[c+580>>0]=i[b+61>>0]|0;i[c+581>>0]=i[b+60>>0]|0;j[c+578>>1]=l[b+62>>0]|l[b+62+1>>0]<<8;k[c>>2]=((l[b+20>>0]|l[b+20+1>>0]<<8)&65535)<<5;f=i[b+24>>0]|0;j[c+8>>1]=(f&255)>129?64:(f&255)>>>1&255;f=0;do{a=f<<1;e=i[b+(a+64)>>0]|0;a=i[b+((a|1)+64)>>0]|0;if((a&255)<240)i[c+300+f>>0]=a;if(e<<24>>24>-1)i[c+428+f>>0]=(e&255)+1;else if((e&255)>253)i[c+428+f>>0]=e;f=f+1|0}while((f|0)!=120);a=i[b+304>>0]|0;if(a&1)k[c+4>>2]=k[c+4>>2]|1;if(a&2)k[c+4>>2]=k[c+4>>2]|4;if(a&4)k[c+4>>2]=k[c+4>>2]|2;if(a&8)k[c+4>>2]=k[c+4>>2]|2048;a=i[b+305>>0]|0;i[c+556>>0]=(a&255)>25?25:a;i[c+559>>0]=i[b+306>>0]|0;i[c+560>>0]=i[b+307>>0]|0;i[c+561>>0]=i[b+308>>0]|0;i[c+562>>0]=i[b+309>>0]|0;a=i[b+386>>0]|0;if(a&1)k[c+4>>2]=k[c+4>>2]|8;if(a&2)k[c+4>>2]=k[c+4>>2]|32;if(a&4)k[c+4>>2]=k[c+4>>2]|16;if(a&8)k[c+4>>2]=k[c+4>>2]|4096;a=i[b+387>>0]|0;i[c+557>>0]=(a&255)>25?25:a;i[c+563>>0]=i[b+388>>0]|0;i[c+564>>0]=i[b+389>>0]|0;i[c+565>>0]=i[b+390>>0]|0;i[c+566>>0]=i[b+391>>0]|0;a=i[b+468>>0]|0;if(a&1)k[c+4>>2]=k[c+4>>2]|64;if(a&2)k[c+4>>2]=k[c+4>>2]|256;if(a&4)k[c+4>>2]=k[c+4>>2]|128;if(a&8)k[c+4>>2]=k[c+4>>2]|8192;if(a<<24>>24<0)k[c+4>>2]=k[c+4>>2]|1024;a=i[b+469>>0]|0;i[c+558>>0]=(a&255)>25?25:a;i[c+567>>0]=i[b+470>>0]|0;i[c+568>>0]=i[b+471>>0]|0;i[c+569>>0]=i[b+472>>0]|0;i[c+570>>0]=i[b+473>>0]|0;a=0;do{d=a*3|0;i[c+204+a>>0]=i[b+(d+310)>>0]|0;j[c+12+(a<<1)>>1]=(l[b+(d+312)>>0]|0)<<8|(l[b+(d+311)>>0]|0);i[c+236+a>>0]=(l[b+(d+392)>>0]|0)+32;j[c+76+(a<<1)>>1]=(l[b+(d+394)>>0]|0)<<8|(l[b+(d+393)>>0]|0);i[c+268+a>>0]=(l[b+(d+474)>>0]|0)+32;j[c+140+(a<<1)>>1]=(l[b+(d+476)>>0]|0)<<8|(l[b+(d+475)>>0]|0);a=a+1|0}while((a|0)!=25);i[c+571>>0]=i[b+17>>0]|0;i[c+572>>0]=i[b+18>>0]|0;i[c+573>>0]=i[b+19>>0]|0;i[c+583>>0]=i[b+22>>0]|0;i[c+584>>0]=i[b+23>>0]|0;i[c+576>>0]=i[b+58>>0]|0;i[c+577>>0]=i[b+59>>0]|0;i[c+575>>0]=i[b+26>>0]|0;i[c+574>>0]=i[b+27>>0]|0;b=i[b+25>>0]|0;j[c+10>>1]=((b&255)<<2&508)>>>0>256?128:(b&255)<<2&508;if(b<<24>>24>-1){k[c+4>>2]=k[c+4>>2]|512;a=c+559|0}else a=c+559|0}if((l[a>>0]|0)>24)g=61;else if((l[c+560>>0]|0)>24)g=61;if((g|0)==61)k[c+4>>2]=k[c+4>>2]&-5;if((l[c+561>>0]|0)<=24)if((l[c+562>>0]|0)<=24)return 1;k[c+4>>2]=k[c+4>>2]&-3;return 1}function pOa(a,b,c){a=a|0;b=b|0;c=c|0;a=l[b+5>>0]|0;do switch(l[b+3>>0]|0|0){case 1:{c=16;break}case 2:{c=12;break}case 3:{if(c)c=14;else{c=14;a=((a>>>4)*10|0)+(a&15)|0}break}case 4:{c=11;break}case 5:{c=3;break}case 6:{c=2;break}case 7:{c=4;break}case 8:{c=5;break}case 9:{c=18;break}case 10:{c=1;break}case 11:{c=7;break}case 12:{c=6;break}case 13:{c=21;break}case 14:{c=22;break}case 15:{c=10;break}case 16:{c=29;break}case 17:{c=15;break}case 18:{c=8;break}case 19:{c=20;break}case 20:{c=17;break}case 21:{c=26;break}case 22:{c=23;break}case 23:{c=24;break}case 24:{c=9;break}case 25:{c=27;break}case 26:{c=31;break}default:c=0}while(0);i[b+3>>0]=c;i[b+5>>0]=a;return}function qOa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0,p=0,q=0,r=0;if((b|0)==0|c>>>0<12){a=0;return a|0}if((l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24|0)!=1179011410){a=0;return a|0}if((l[b+8>>0]|l[b+8+1>>0]<<8|l[b+8+2>>0]<<16|l[b+8+3>>0]<<24|0)!=1163280727){a=0;return a|0}if((l[b+12>>0]|l[b+12+1>>0]<<8|l[b+12+2>>0]<<16|l[b+12+3>>0]<<24|0)!=544501094){a=0;return a|0}d=l[b+16>>0]|l[b+16+1>>0]<<8|l[b+16+2>>0]<<16|l[b+16+3>>0]<<24;if((d+28|0)>>>0>=c>>>0){a=0;return a|0}switch((l[b+20>>0]|l[b+20+1>>0]<<8)<<16>>16){case -2:case 1:break;default:{a=0;return a|0}}if(((l[b+22>>0]|l[b+22+1>>0]<<8)+-1&65535)>3){a=0;return a|0}if(!(l[b+24>>0]|l[b+24+1>>0]<<8|l[b+24+2>>0]<<16|l[b+24+3>>0]<<24)){a=0;return a|0}q=l[b+34>>0]|l[b+34+1>>0]<<8;if((q+-8&65535)>24|(q&7)!=0){a=0;return a|0}else d=d+20|0;while(1){q=b+d|0;if((l[q>>0]|l[q+1>>0]<<8|l[q+2>>0]<<16|l[q+3>>0]<<24|0)==1635017060){r=d;break}q=b+(d+4)|0;d=d+8+(l[q>>0]|l[q+1>>0]<<8|l[q+2>>0]<<16|l[q+3>>0]<<24)|0;if((d+8|0)>>>0>=c>>>0){e=0;f=37;break}}if((f|0)==37)return e|0;k[a+59680>>2]=1024;k[a+59684>>2]=0;k[a+59688>>2]=0;k[a+59664>>2]=4;k[a+59648>>2]=8;k[a+59652>>2]=125;k[a+59660>>2]=k[a+59660>>2]|16;i[a+53344>>0]=0;i[a+53345>>0]=-1;j[a+52866>>1]=64;j[a+52864>>1]=64;q=$Na(64,4)|0;k[a+51904>>2]=q;if(!q){a=1;return a|0}q=$Na(64,4)|0;k[a+51908>>2]=q;if(!q){a=1;return a|0}d=l[b+22>>0]|l[b+22+1>>0]<<8;n=l[b+34>>0]|l[b+34+1>>0]<<8;o=(ha(n&65535,d&65535)|0)>>>3;h=l[b+(r+4)>>0]|l[b+(r+4)+1>>0]<<8|l[b+(r+4)+2>>0]<<16|l[b+(r+4)+3>>0]<<24;p=((h>>>0>(c+-8-r|0)>>>0?c+-8-r|0:h)>>>0)/(o>>>0)|0;q=p>>>0>16e6?16e6:p;if(!q){a=1;return a|0}f=((q*50|0)>>>0)/((l[b+24>>0]|l[b+24+1>>0]<<8|l[b+24+2>>0]<<16|l[b+24+3>>0]<<24)>>>0)|0;e=(((f+64|0)>>>0)/63|0)>>>0<4?4:((f+64|0)>>>0)/63|0;if(e>>>0>31){d=1;do{i[a+53344+d>>0]=1;d=d+1|0;i[a+53344+d>>0]=-1;e=d<<6}while(d>>>0<255?(((e+f|0)>>>0)/(e>>>0)|0)>>>0>31:0);g=l[b+22>>0]|l[b+22+1>>0]<<8;d=((e+f|0)>>>0)/(e>>>0)|0}else{g=d;d=e}k[a+59648>>2]=d;k[a+49600>>2]=0;k[a+49604>>2]=64;k[a+49608>>2]=0;k[a+49636>>2]=256;k[a+49640>>2]=64;k[a+49644>>2]=0;k[a+49672>>2]=0;k[a+49676>>2]=64;k[a+49680>>2]=0;k[a+49708>>2]=256;k[a+49712>>2]=64;k[a+49716>>2]=0;m=k[a+51904>>2]|0;i[m+3>>0]=16;i[m+5>>0]=d;i[m>>0]=61;i[m+1>>0]=1;i[m+6>>0]=61;i[m+7>>0]=1;d=g&65535;k[a+59684>>2]=d;if(!(g<<16>>16)){a=1;return a|0}c=(~((r+7-c|0)>>>0>~h>>>0?r+7-c|0:~h)>>>0)/(o>>>0)|0;c=c>>>0<16e6?c:16e6;e=61;g=0;while(1){h=g+1|0;i[m+(g*6|0)>>0]=e;i[m+(g*6|0)+1>>0]=h;k[a+33280+(h<<6)>>2]=q;k[a+33280+(h<<6)+24>>2]=l[b+24>>0]|l[b+24+1>>0]<<8|l[b+24+2>>0]<<16|l[b+24+3>>0]<<24;j[a+33280+(h<<6)+30>>1]=256;j[a+33280+(h<<6)+28>>1]=128;j[a+33280+(h<<6)+32>>1]=64;j[a+33280+(h<<6)+34>>1]=((l[b+34>>0]|l[b+34+1>>0]<<8)&65535)>15|32;a:do if(d>>>0>1)switch(g|0){case 0:{j[a+33280+(h<<6)+28>>1]=0;break a}case 1:{j[a+33280+(h<<6)+28>>1]=256;break a}case 2:{j[a+33280+(h<<6)+28>>1]=(d|0)==3?128:64;i[m+15>>0]=20;i[m+17>>0]=-111;break a}case 3:{j[a+33280+(h<<6)+28>>1]=192;i[m+21>>0]=20;i[m+23>>0]=-111;break a}default:{j[a+33280+(h<<6)+28>>1]=128;break a}}while(0);f=rOa((p<<((n&65535)>15&1))+8|0)|0;k[a+33280+(h<<6)+20>>2]=f;if(!f){e=1;f=37;break}d=l[b+34>>0]|l[b+34+1>>0]<<8;if((d&65535)>15){e=0;d=b+(r+6+((d&65535)>>>3)+(ha((d&65535)>>>3,g)|0))|0;while(1){j[f+(e<<1)>>1]=j[d>>1]|0;e=e+1|0;if((e|0)==(c|0))break;else d=d+o|0}g=j[f+(q+-1<<1)>>1]|0;j[f+(q<<1)>>1]=g;j[f+(q+1<<1)>>1]=g}else{e=0;d=b+(r+8+g)|0;while(1){i[f+e>>0]=(l[d>>0]|0)+128;e=e+1|0;if((e|0)==(c|0))break;else d=d+o|0}g=i[f+(q+-1)>>0]|0;i[f+q>>0]=g;i[f+(q+1)>>0]=g}d=k[a+59684>>2]|0;if(h>>>0>=d>>>0){e=1;f=37;break}e=i[m>>0]|0;g=h}if((f|0)==37)return e|0;return 0}function rOa(a){a=a|0;var b=0;b=hqb(a+39&-8)|0;if(b|0)vBb(b|0,0,a+39&-8|0)|0;return ((b|0)==0?0:b+16|0)|0}function sOa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0;m=0;n=r;r=r+16352|0;if(!(tOa(0,b,c)|0)){m=0;r=n;return m|0}j=jqb(1,428)|0;if(!j){m=0;r=n;return m|0}i[j+28>>0]=0;i[j+28+1>>0]=0;i[j+28+2>>0]=0;i[j+28+3>>0]=0;i[j+24>>0]=0;i[j+24+1>>0]=0;i[j+24+2>>0]=0;i[j+24+3>>0]=0;i[j+36>>0]=0;i[j+356>>0]=0;i[j+356+1>>0]=0;i[j+356+2>>0]=0;i[j+356+3>>0]=0;f=j;g=f+20|0;do{i[f>>0]=0;f=f+1|0}while((f|0)<(g|0));e=If(521571)|0;if(!e){qpb(th(0)|0);g=~~(+(spb()|0)*4.656612873077393e-06)+1|0;i[j+12>>0]=g;i[j+12+1>>0]=g>>8;i[j+12+2>>0]=g>>16;i[j+12+3>>0]=g>>24;k[n+8>>2]=g;Fmb(n+1040|0,521592,n+8|0)|0;sg(521571,n+1040|0,1)|0}else{d=i[e>>0]|0;if(((d<<24>>24)+-48|0)>>>0<10){g=Vpb(e)|0;i[j+12>>0]=g;i[j+12+1>>0]=g>>8;i[j+12+2>>0]=g>>16;i[j+12+3>>0]=g>>24}if(d<<24>>24==45){g=Vpb(e+1|0)|0;i[j+12>>0]=g+-1;i[j+12+1>>0]=g+-1>>8;i[j+12+2>>0]=g+-1>>16;i[j+12+3>>0]=g+-1>>24;k[n>>2]=g+1;Fmb(n+1040|0,521592,n)|0;sg(521571,n+1040|0,1)|0}}k[n+656>>2]=b;k[n+656+4>>2]=c;k[n+656+8>>2]=0;if(k[298897]|0)do gqb(1)|0;while((k[298897]|0)!=0);k[298897]=1;uOa();vOa();k[a+59652>>2]=0;k[298898]=0;k[298899]=0;i[j+20>>0]=6;i[j+20+1>>0]=0;i[j+20+2>>0]=0;i[j+20+3>>0]=0;k[298900]=2;k[298901]=1;i[j+360>>0]=120;i[j+360+1>>0]=0;i[j+360+2>>0]=0;i[j+360+3>>0]=0;i[j+368>>0]=120;i[j+368+1>>0]=0;i[j+368+2>>0]=0;i[j+368+3>>0]=0;i[j+364>>0]=25;i[j+364+1>>0]=0;i[j+364+2>>0]=0;i[j+364+3>>0]=0;i[j+372>>0]=33;i[j+372+1>>0]=0;i[j+372+2>>0]=0;i[j+372+3>>0]=0;k[n+652>>2]=0;k[n+644>>2]=0;k[n+640>>2]=0;k[n+636>>2]=1;k[n+632>>2]=1;i[j+376>>0]=0;i[j+376+1>>0]=0;i[j+376+2>>0]=0;i[j+376+3>>0]=0;i[j+380>>0]=0;i[j+380+1>>0]=0;i[j+380+2>>0]=0;i[j+380+3>>0]=0;i[j+384>>0]=1;i[j+384+1>>0]=0;i[j+384+2>>0]=0;i[j+384+3>>0]=0;i[j+388>>0]=0;i[j+388+1>>0]=0;i[j+388+2>>0]=0;i[j+388+3>>0]=0;f=j+412|0;g=f+16|0;do{i[f>>0]=0;f=f+1|0}while((f|0)<(g|0));i[j+392>>0]=71;i[j+392+1>>0]=0;i[j+392+2>>0]=0;i[j+392+3>>0]=0;i[j+396>>0]=45;i[j+396+1>>0]=0;i[j+396+2>>0]=0;i[j+396+3>>0]=0;i[j+400>>0]=33;i[j+400+1>>0]=0;i[j+400+2>>0]=0;i[j+400+3>>0]=0;i[j+404>>0]=80;i[j+404+1>>0]=0;i[j+404+2>>0]=0;i[j+404+3>>0]=0;i[j+408>>0]=80;i[j+408+1>>0]=0;i[j+408+2>>0]=0;i[j+408+3>>0]=0;wOa(j,521827);wOa(j,521867);wOa(j,521879);wOa(j,521890);wOa(j,521902);wOa(j,521921);wOa(j,521940);wOa(j,521955);wOa(j,521969);wOa(j,521981);k[298902]=0;yOa(1279174,3,45180);yOa(522159,3,45192);yOa(522161,4,45204);yOa(522163,4,45220);yOa(522166,4,45236);yOa(522171,4,45252);yOa(522174,4,45268);yOa(522176,4,45284);yOa(522179,3,45300);yOa(522183,3,45312);yOa(522185,4,45324);yOa(522190,4,45324);yOa(522193,3,45340);yOa(522197,4,45352);yOa(522202,5,45368);yOa(522204,5,45388);yOa(522207,5,45408);yOa(522212,5,45428);yOa(522215,6,45448);yOa(522218,5,45472);yOa(522223,3,45492);yOa(522227,3,45504);yOa(522232,4,45516);yOa(522237,4,45532);yOa(522243,4,45548);yOa(522249,5,45564);yOa(522255,2,45584);yOa(522257,6,45592);i[n+678>>0]=-1;i[n+678+1>>0]=0;i[n+678+2>>0]=-1;i[n+678+3>>0]=0;i[n+678+4>>0]=-1;i[n+678+5>>0]=0;i[n+678+6>>0]=-1;i[n+678+7>>0]=0;i[n+678+8>>0]=-1;i[n+678+9>>0]=0;i[n+678+10>>0]=-1;i[n+678+11>>0]=0;i[n+678+12>>0]=-1;i[n+678+13>>0]=0;i[n+678+14>>0]=-1;i[n+678+15>>0]=0;i[n+678+16>>0]=-1;i[n+678+17>>0]=0;i[n+678+18>>0]=-1;i[n+678+19>>0]=0;i[n+678+20>>0]=-1;i[n+678+21>>0]=0;i[n+678+22>>0]=-1;i[n+678+23>>0]=0;i[n+678+24>>0]=-1;i[n+678+25>>0]=0;i[n+678+26>>0]=-1;i[n+678+27>>0]=0;i[n+678+28>>0]=-1;i[n+678+29>>0]=0;i[n+678+30>>0]=-1;i[n+678+31>>0]=0;i[n+678+32>>0]=-1;i[n+678+33>>0]=0;i[n+678+34>>0]=-1;i[n+678+35>>0]=0;i[n+678+36>>0]=-1;i[n+678+37>>0]=0;i[n+678+38>>0]=-1;i[n+678+39>>0]=0;i[n+678+40>>0]=-1;i[n+678+41>>0]=0;i[n+678+42>>0]=-1;i[n+678+43>>0]=0;i[n+678+44>>0]=-1;i[n+678+45>>0]=0;i[n+678+46>>0]=-1;i[n+678+47>>0]=0;i[n+678+48>>0]=-1;i[n+678+49>>0]=0;i[n+678+50>>0]=-1;i[n+678+51>>0]=0;i[(n+678+52|0)>>0]=-1;i[(n+678+53|0)>>0]=0;i[j+32>>0]=127;i[j+33>>0]=125;i[j+34>>0]=110;i[j+35>>0]=1;d=1279174;while(1)if(!(qmb(i[d>>0]|0)|0))break;else d=d+1|0;e=i[d>>0]|0;if(e<<24>>24){if(((e<<24>>24)+-48|0)>>>0<10){b=e<<24>>24;e=0;c=0;do{e=b+-48+(e*10|0)|0;c=c+1|0;b=i[d+c>>0]|0}while((b+-48|0)>>>0<10);e=(c|0)==0?1:e;if((e|0)<0){e=0;d=d+c|0}else{e=(e|0)>127?127:e;d=d+c|0}}else e=1;i[j+32>>0]=e}while(1)if(!(qmb(i[d>>0]|0)|0))break;else d=d+1|0;e=i[d>>0]|0;if(e<<24>>24){if(((e<<24>>24)+-48|0)>>>0<10){b=e<<24>>24;e=0;c=0;do{e=b+-48+(e*10|0)|0;c=c+1|0;b=i[d+c>>0]|0}while((b+-48|0)>>>0<10);e=(c|0)==0?1:e;if((e|0)<0){e=0;d=d+c|0}else{e=(e|0)>127?127:e;d=d+c|0}}else e=1;i[j+33>>0]=e}while(1)if(!(qmb(i[d>>0]|0)|0))break;else d=d+1|0;e=i[d>>0]|0;if(e<<24>>24){if(((e<<24>>24)+-48|0)>>>0<10){b=e<<24>>24;e=0;c=0;do{e=b+-48+(e*10|0)|0;c=c+1|0;b=i[d+c>>0]|0}while((b+-48|0)>>>0<10);e=(c|0)==0?1:e;if((e|0)<0){e=0;d=d+c|0}else{e=(e|0)>127?127:e;d=d+c|0}}else e=1;i[j+34>>0]=e}while(1)if(!(qmb(i[d>>0]|0)|0))break;else d=d+1|0;e=i[d>>0]|0;if(!(e<<24>>24))d=i[j+35>>0]|0;else{if(((e<<24>>24)+-48|0)>>>0<10){b=e<<24>>24;e=0;c=0;do{e=b+-48+(e*10|0)|0;c=c+1|0;b=i[d+c>>0]|0}while((b+-48|0)>>>0<10);d=(c|0)==0?1:e;if((d|0)<0)d=0;else d=(d|0)>127?127:d}else d=1;d=d&255;i[j+35>>0]=d}if(!(d<<24>>24)){i[j+35>>0]=1;d=1279174}else d=1279174;while(1)if(!(qmb(i[d>>0]|0)|0))break;else d=d+1|0;e=l[j+28>>0]|l[j+28+1>>0]<<8|l[j+28+2>>0]<<16|l[j+28+3>>0]<<24;if(e|0)iqb(e);if(!(i[d>>0]|0))d=0;else d=bob(d)|0;i[j+28>>0]=d;i[j+28+1>>0]=d>>8;i[j+28+2>>0]=d>>16;i[j+28+3>>0]=d>>24;k[n+648>>2]=0;k[n+600>>2]=n+656;k[n+656+8>>2]=0;if(!(l[j+12>>0]|l[j+12+1>>0]<<8|l[j+12+2>>0]<<16|l[j+12+3>>0]<<24)){c=0;d=0}else{k[n+656+8>>2]=0;d=zOa(j,n+656|0)|0;if(!d){c=0;d=0}else{e=0;do{while(1)if(!(qmb(i[d>>0]|0)|0))break;else d=d+1|0;e=((Dmb(d,522304,2)|0)==0&1)+e|0;d=zOa(j,n+656|0)|0}while((d|0)!=0);if(!e){c=0;d=0}else{c=4;d=((l[j+12>>0]|l[j+12+1>>0]<<8|l[j+12+2>>0]<<16|l[j+12+3>>0]<<24)+-1|0)%(e|0)|0}}k[n+656+8>>2]=0}R=k[37151]|0;Q=0;P=0;O=0;N=0;M=0;L=0;I=0;H=0;G=0;F=0;E=0;D=1;B=1;A=c;z=0;y=0;x=120;w=0;v=1;u=0;t=0;s=0;q=0;p=0;e=1;c=0;b=0;k[n+1312>>2]=a;k[n+1360>>2]=h;k[n+2816>>2]=j;k[n+3896>>2]=R;k[n+9672>>2]=Q;k[n+9680>>2]=P;k[n+9688>>2]=O;k[n+9696>>2]=N;k[n+11080>>2]=M;k[n+11152>>2]=L;k[n+11232>>2]=I;k[n+11304>>2]=H;k[n+11352>>2]=G;k[n+11480>>2]=F;k[n+11536>>2]=E;k[n+11616>>2]=D;k[n+11768>>2]=B;k[n+11912>>2]=A;k[n+11992>>2]=z;k[n+12088>>2]=y;k[n+12192>>2]=x;k[n+12272>>2]=w;k[n+12328>>2]=v;k[n+12392>>2]=d;k[n+12400>>2]=u;k[n+12504>>2]=t;k[n+12536>>2]=s;k[n+12616>>2]=q;k[n+14128>>2]=p;k[n+14184>>2]=e;k[n+14352>>2]=c;k[n+15696>>2]=b;k[n+15952>>2]=f;k[n+15968>>2]=g;k[n+16016>>2]=m;k[n+16112>>2]=0;k[n+16116>>2]=0;oQa(n);J=k[n+16112>>2]|0;C=k[n+16116>>2]|0;K=+o[n+16116>>2];k[n+16112>>2]=0;k[n+16116>>2]=0;if((J|0)==6)return C|0;return 0|0;return 0}function tOa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;g=r;r=r+128|0;if((c|0)<=0){h=0;r=g;return h|0}a=0;e=0;a:while(1){do if((a|0)>-1&(a|0)<(c|0)){f=i[b+a>>0]|0;d=a+1|0;if((d|0)<(c|0)&f<<24>>24==13)if((i[b+d>>0]|0)==10){i[g+e>>0]=10;d=a+2|0;a=e}else h=7;else h=7;if((h|0)==7){h=0;if(f<<24>>24==-1){a=d;h=11;break}i[g+e>>0]=f;if(f<<24>>24==10)a=e;else{e=e+1|0;if((e|0)<127){a=d;continue a}else a=e}}i[g+a>>0]=0;e=d}else h=11;while(0);if((h|0)==11){h=0;i[g+e>>0]=0;e=a}a=i[g>>0]|0;if(!(a<<24>>24)){if((e|0)<120){a=0;h=24;break}}else{if(!(($mb(a<<24>>24)|0)!=0|((a<<24>>24)+-48|0)>>>0<10))if(!(qmb(a<<24>>24)|0))switch(a<<24>>24){case 37:case 58:break;default:{a=0;h=24;break a}}d=i[g+1>>0]|0;if(!(($mb(d<<24>>24)|0)!=0|((d<<24>>24)+-48|0)>>>0<10))if(!(qmb(d<<24>>24)|0))switch(d<<24>>24){case 37:case 58:break;default:{a=0;h=24;break a}}if(a<<24>>24==75&d<<24>>24==58){a=i[g+2>>0]|0;if($mb(a)|0){a=1;h=24;break}if(qmb(a)|0){a=1;h=24;break}}}if((e|0)>-1&(e|0)<(c|0)){a=e;e=0}else{a=0;h=24;break}}if((h|0)==24){r=g;return a|0}return 0}function uOa(){vBb(1249217,0,191)|0;vBb(1249408,0,191)|0;return}function vOa(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0;p=r;r=r+24848|0;vBb(p+16|0,0,20480)|0;a=1249599;b=521597;c=a+38|0;do{i[a>>0]=i[b>>0]|0;a=a+1|0;b=b+1|0}while((a|0)<(c|0));a=1249727;b=521635;c=a+39|0;do{i[a>>0]=i[b>>0]|0;a=a+1|0;b=b+1|0}while((a|0)<(c|0));a=If(521674)|0;if(a|0){Pnb(1249727,a)|0;Pnb(1249599,a)|0;a=1249727+(Fnb(1249727)|0)|0;b=521692;c=a+14|0;do{i[a>>0]=i[b>>0]|0;a=a+1|0;b=b+1|0}while((a|0)<(c|0));a=1249599+(Fnb(1249599)|0)|0;b=521706;c=a+13|0;do{i[a>>0]=i[b>>0]|0;a=a+1|0;b=b+1|0}while((a|0)<(c|0))}dpb(p+16|0,1249727,4096)|0;a=0;do{i[1249855+(a<<7)>>0]=0;a=a+1|0}while((a|0)!=191);m=k[37151]|0;a=1;n=0;while(1){b=p+16+(n<<12)|0;do if(i[b>>0]|0){l=job(b,524439)|0;if(!l){if(((Fnb(b)|0)+77|0)>>>0<=255){k[p>>2]=b;Fmb(p+24592|0,521719,p)|0;k[p+8>>2]=p+24592;Cob(m,521797,p+8|0)|0}break}pob(p+20496|0,4096,l)|0;if(!(qob(l)|0)){j=0;do{b=i[p+20496>>0]|0;if((b+-48|0)>>>0<10){b=p+20496|0;o=15}else if(anb(b)|0)if(((i[p+20496+1>>0]|0)+-48|0)>>>0<10){b=p+20496|0;o=15}a:do if((o|0)==15){while(1){o=0;if(!(qmb(i[b>>0]|0)|0))break;else{b=b+1|0;o=15}}d=Vpb(b)|0;while(1){c=i[b>>0]|0;if(((c<<24>>24)+-48|0)>>>0<10)b=b+1|0;else break}if(qmb(c<<24>>24)|0)do b=b+1|0;while((qmb(i[b>>0]|0)|0)!=0);if(d>>>0<=190){c=i[b>>0]|0;switch(c<<24>>24){case 0:case 35:break a;default:{}}if(!j){e=0;g=1249855+(d<<7)|0}else if((d|0)<25){e=0;g=1266239}else{e=0;g=1249855+(((d+104|0)<191?d+103|0:190)<<7)|0}while(1){h=(qmb(c<<24>>24)|0)==0;c=i[b>>0]|0;if(!h){d=c;c=g;break}if(!((e|0)<128&c<<24>>24!=35)){d=c;c=g;break}e=e+1|0;b=b+1|0;f=g+1|0;i[g>>0]=c;c=i[b>>0]|0;if(!(c<<24>>24)){d=0;c=f;break}else g=f}if(!(anb(d<<24>>24)|0))b=c;else if((e|0)<128&(i[b+1>>0]|0)!=35){d=c+1|0;i[c>>0]=58;if(!(qmb(i[b>>0]|0)|0))b=d;else{e=e+1|0;while(1){while(1)if(!(qmb(i[b>>0]|0)|0))break;else b=b+1|0;c=i[b>>0]|0;b:do if(c<<24>>24==35){h=35;c=e}else{if(!(c<<24>>24)){h=0;c=e;break}while(1){if(!((e|0)<128&(qmb(c<<24>>24)|0)==0)){c=e;break}f=e+1|0;e=b+1|0;g=d+1|0;i[d>>0]=i[b>>0]|0;c=i[e>>0]|0;if(!(c<<24>>24)){h=0;b=e;c=f;d=g;break b}else{b=e;e=f;d=g}}h=i[b>>0]|0}while(0);if(qmb(h<<24>>24)|0){i[d>>0]=32;c=c+1|0;d=d+1|0}if(!(qmb(i[b>>0]|0)|0)){b=d;break}else e=c}}}else b=c;i[b>>0]=0}}while(0);h=(Dmb(p+20496|0,521812,7)|0)==0;j=h?1:j;if((a|0)<5&(Dmb(p+20496|0,521820,6)|0)==0){b=p+20496+7|0;while(1)if(!(qmb(i[b>>0]|0)|0))break;else b=b+1|0;d=0;e=p+16+(a<<12)|0;c:while(1){c=i[b>>0]|0;switch(c<<24>>24){case 35:case 0:{b=e;break c}default:{}}if(!((d|0)<128&(qmb(c<<24>>24)|0)==0)){b=e;break}i[e>>0]=i[b>>0]|0;b=b+1|0;d=d+1|0;e=e+1|0}i[b>>0]=0;a=a+1|0}pob(p+20496|0,4096,l)|0}while(!(qob(l)|0))}mob(l)|0}while(0);n=n+1|0;if((n|0)==5){d=0;a=0;c=1249855;break}}while(1){b=1249855+(d<<7)|0;if(!(i[b>>0]|0)){if((b|0)==(c|0))b=0;else{Pnb(b,c)|0;b=i[b>>0]|0}a=(b<<24>>24==0&1)+a|0;b=c}d=d+1|0;if((d|0)==191)break;else c=b}if(!a){r=p;return}else a=190;d:while(1){while(1){c=1249855+(a<<7)|0;if(i[c>>0]|0)break;if((c|0)!=(b|0))Pnb(c,b)|0;if((a|0)>0)a=a+-1|0;else{o=66;break d}}if((a|0)>0){a=a+-1|0;b=c}else{o=66;break}}if((o|0)==66){r=p;return}}function wOa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=r;r=r+512|0;xOa(g+256|0,g,b);if((Fnb(g+256|0)|0)>>>0>1){r=g;return}if(!(Cmb(521841,vmb(i[g+256>>0]|0)|0,20)|0)){r=g;return}b=gob(g+256|0,33)|0;if(b|0)do{i[b>>0]=43;b=gob(g+256|0,33)|0}while((b|0)!=0);if(Wmb(g+256|0,521861)|0){f=jqb(1,66)|0;e=bob(g+256|0)|0;i[f+4>>0]=e;i[f+4+1>>0]=e>>8;i[f+4+2>>0]=e>>16;i[f+4+3>>0]=e>>24;e=bob(g)|0;i[f+8>>0]=e;i[f+8+1>>0]=e>>8;i[f+8+2>>0]=e>>16;i[f+8+3>>0]=e>>24;i[f+12>>0]=0;i[f+12+1>>0]=0;i[f+12+2>>0]=0;i[f+12+3>>0]=0;e=l[a+4>>0]|l[a+4+1>>0]<<8|l[a+4+2>>0]<<16|l[a+4+3>>0]<<24;i[f>>0]=e;i[f+1>>0]=e>>8;i[f+2>>0]=e>>16;i[f+3>>0]=e>>24;i[a+4>>0]=f;i[a+4+1>>0]=f>>8;i[a+4+2>>0]=f>>16;i[a+4+3>>0]=f>>24;r=g;return}b=l[a+4>>0]|l[a+4+1>>0]<<8|l[a+4+2>>0]<<16|l[a+4+3>>0]<<24;if(!b){r=g;return}e=i[g+256>>0]|0;d=0;c=b;while(1){b=c+4|0;if((i[(l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24)>>0]|0)==e<<24>>24)break;b=l[c>>0]|l[c+1>>0]<<8|l[c+2>>0]<<16|l[c+3>>0]<<24;if(!b){f=15;break}else{d=c;c=b}}if((f|0)==15){r=g;return}b=l[c>>0]|l[c+1>>0]<<8|l[c+2>>0]<<16|l[c+3>>0]<<24;if(!d){i[a+4>>0]=b;i[a+4+1>>0]=b>>8;i[a+4+2>>0]=b>>16;i[a+4+3>>0]=b>>24}else{i[d>>0]=b;i[d+1>>0]=b>>8;i[d+2>>0]=b>>16;i[d+3>>0]=b>>24}iqb(c);r=g;return}function xOa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=i[c>>0]|0;a:do if(!(d<<24>>24))f=0;else while(1){if(!(qmb(d<<24>>24)|0)){f=0;break a}c=c+1|0;d=i[c>>0]|0;if(!(d<<24>>24)){f=0;break}}while(0);while(1){e=i[c>>0]|0;if(!(e<<24>>24)){d=f;break}c=c+1|0;if(e<<24>>24==61){d=f;break}d=f+1|0;i[a+f>>0]=e;if(d>>>0<255)f=d;else break}while(1){if(!d){d=0;break}e=d+-1|0;if(!(qmb(i[a+e>>0]|0)|0))break;else d=e}i[a+d>>0]=0;d=i[c>>0]|0;b:do if(!(d<<24>>24))f=0;else while(1){if(!(qmb(d<<24>>24)|0)){f=0;break b}c=c+1|0;d=i[c>>0]|0;if(!(d<<24>>24)){f=0;break}}while(0);while(1){e=i[c>>0]|0;if(!(e<<24>>24)){d=f;break}d=f+1|0;i[b+f>>0]=e;if(d>>>0<255){c=c+1|0;f=d}else break}while(1){if(!d){d=0;c=17;break}c=d+-1|0;if(!(qmb(i[b+c>>0]|0)|0)){c=17;break}else d=c}if((c|0)==17){i[b+d>>0]=0;return}}function yOa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=r;r=r+304|0;d=Fnb(a)|0;if(d>>>0>7){if((d+50|0)>>>0<=255){k[g>>2]=a;Fmb(g+48|0,521992,g)|0;c=k[37151]|0;k[g+8>>2]=g+48;Cob(c,522043,g+8|0)|0}r=g;return}if((b|0)>6){if((d+54|0)>>>0<=255){k[g+16>>2]=a;Fmb(g+48|0,522058,g+16|0)|0;c=k[37151]|0;k[g+24>>2]=g+48;Cob(c,522043,g+24|0)|0}r=g;return}d=k[298902]|0;if((d|0)>0){e=0;do{if(!(Wmb(a,1274303+(e<<3)|0)|0)){f=11;break}e=e+1|0}while((e|0)<(d|0));if((f|0)==11){k[1195612+(e<<2)>>2]=b;if((b|0)>0)d=0;else{r=g;return}do{k[1195932+(e*24|0)+(d<<2)>>2]=k[c+(d<<2)>>2];d=d+1|0}while((d|0)!=(b|0));r=g;return}if((d|0)>79){if(((Fnb(a)|0)+45|0)>>>0<=255){k[g+32>>2]=a;Fmb(g+48|0,522113,g+32|0)|0;c=k[37151]|0;k[g+40>>2]=g+48;Cob(c,522043,g+40|0)|0}r=g;return}}Pnb(1274303+(d<<3)|0,a)|0;d=k[298902]|0;k[1195612+(d<<2)>>2]=b;if((b|0)>0){e=0;do{k[1195932+(d*24|0)+(e<<2)>>2]=k[c+(e<<2)>>2];e=e+1|0}while((e|0)!=(b|0))}k[298902]=d+1;r=g;return}function zOa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;c=l[a+16>>0]|l[a+16+1>>0]<<8|l[a+16+2>>0]<<16|l[a+16+3>>0]<<24;if(!c){i[a+16>>0]=64;i[a+16+1>>0]=0;i[a+16+2>>0]=0;i[a+16+3>>0]=0;m=jqb(64,1)|0;i[a+24>>0]=m;i[a+24+1>>0]=m>>8;i[a+24+2>>0]=m>>16;i[a+24+3>>0]=m>>24;r=a+24|0;c=64}else{r=a+24|0;m=l[a+24>>0]|l[a+24+1>>0]<<8|l[a+24+2>>0]<<16|l[a+24+3>>0]<<24}d=l[b+8>>0]|l[b+8+1>>0]<<8|l[b+8+2>>0]<<16|l[b+8+3>>0]<<24;if((d|0)<0){s=0;return s|0}if((d|0)>=(l[b+4>>0]|l[b+4+1>>0]<<8|l[b+4+2>>0]<<16|l[b+4+3>>0]<<24|0)){s=0;return s|0}k=c+-2|0;a:do if(!k)c=0;else{c=0;b:while(1){if((d|0)<0)s=13;else{e=l[b+4>>0]|l[b+4+1>>0]<<8|l[b+4+2>>0]<<16|l[b+4+3>>0]<<24;if((d|0)<(e|0)){f=l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24;h=i[f+d>>0]|0;g=d+1|0;i[b+8>>0]=g;i[b+8+1>>0]=g>>8;i[b+8+2>>0]=g>>16;i[b+8+3>>0]=g>>24;if((g|0)<(e|0)&h<<24>>24==13)if((i[f+g>>0]|0)==10){s=12;break}j=m+c|0;i[j>>0]=h;switch(h<<24>>24|0){case 10:break a;case 13:break b;default:{}}}else s=13}if((s|0)==13){s=0;i[m+c>>0]=-1}c=c+1|0;if(c>>>0>=k>>>0)break a;d=l[b+8>>0]|l[b+8+1>>0]<<8|l[b+8+2>>0]<<16|l[b+8+3>>0]<<24}if((s|0)==12){i[b+8>>0]=d+2;i[b+8+1>>0]=d+2>>8;i[b+8+2>>0]=d+2>>16;i[b+8+3>>0]=d+2>>24;i[m+c>>0]=10;break}g=l[b+8>>0]|l[b+8+1>>0]<<8|l[b+8+2>>0]<<16|l[b+8+3>>0]<<24;do if((g|0)<0)s=21;else{d=l[b+4>>0]|l[b+4+1>>0]<<8|l[b+4+2>>0]<<16|l[b+4+3>>0]<<24;if((g|0)<(d|0)){e=l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24;f=i[e+g>>0]|0;i[b+8>>0]=g+1;i[b+8+1>>0]=g+1>>8;i[b+8+2>>0]=g+1>>16;i[b+8+3>>0]=g+1>>24;if((g+1|0)<(d|0)&f<<24>>24==13)if((i[e+(g+1)>>0]|0)==10){i[b+8>>0]=g+2;i[b+8+1>>0]=g+2>>8;i[b+8+2>>0]=g+2>>16;i[b+8+3>>0]=g+2>>24;break}if(f<<24>>24!=10)s=21}else s=21}while(0);if((s|0)==21){i[b+8>>0]=g;i[b+8+1>>0]=g>>8;i[b+8+2>>0]=g>>16;i[b+8+3>>0]=g>>24}i[j>>0]=10}while(0);if((c|0)==(k|0)){i[m+k>>0]=0;if(!m){s=0;return s|0}}else i[m+(((i[m+c>>0]|0)==10&1)+c)>>0]=0;d=l[r>>0]|l[r+1>>0]<<8|l[r+2>>0]<<16|l[r+3>>0]<<24;c=Fnb(d)|0;e=l[a+16>>0]|l[a+16+1>>0]<<8|l[a+16+2>>0]<<16|l[a+16+3>>0]<<24;if((c|0)>(e+-3|0))do{d=kqb(d,e<<1)|0;i[r>>0]=d;i[r+1>>0]=d>>8;i[r+2>>0]=d>>16;i[r+3>>0]=d>>24;n=l[a+16>>0]|l[a+16+1>>0]<<8|l[a+16+2>>0]<<16|l[a+16+3>>0]<<24;if((i[d+(c+-1)>>0]|0)!=10){e=l[b+8>>0]|l[b+8+1>>0]<<8|l[b+8+2>>0]<<16|l[b+8+3>>0]<<24;if((e|0)>=0){m=l[b+4>>0]|l[b+4+1>>0]<<8|l[b+4+2>>0]<<16|l[b+4+3>>0]<<24;if((e|0)<(m|0)){c:do if(!(n+-2|0))e=0;else{f=e;e=0;d:while(1){if((f|0)>-1&(f|0)<(m|0)){h=l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24;g=i[h+f>>0]|0;j=f+1|0;i[b+8>>0]=j;i[b+8+1>>0]=j>>8;i[b+8+2>>0]=j>>16;i[b+8+3>>0]=j>>24;if((j|0)<(m|0)&g<<24>>24==13)if((i[h+j>>0]|0)==10){s=37;break}k=d+(e+c)|0;i[k>>0]=g;switch(g<<24>>24|0){case 10:break c;case 13:break d;default:f=j}}else i[d+(e+c)>>0]=-1;e=e+1|0;if(e>>>0>=(n+-2|0)>>>0)break c}if((s|0)==37){s=0;i[b+8>>0]=f+2;i[b+8+1>>0]=f+2>>8;i[b+8+2>>0]=f+2>>16;i[b+8+3>>0]=f+2>>24;i[d+(e+c)>>0]=10;break}do if((f|0)<-1|(j|0)<(m|0)^1)s=45;else{g=i[h+j>>0]|0;i[b+8>>0]=f+2;i[b+8+1>>0]=f+2>>8;i[b+8+2>>0]=f+2>>16;i[b+8+3>>0]=f+2>>24;if((f+2|0)<(m|0)&g<<24>>24==13)if((i[h+(f+2)>>0]|0)==10){i[b+8>>0]=f+3;i[b+8+1>>0]=f+3>>8;i[b+8+2>>0]=f+3>>16;i[b+8+3>>0]=f+3>>24;break}if(g<<24>>24!=10)s=45}while(0);if((s|0)==45){s=0;i[b+8>>0]=j;i[b+8+1>>0]=j>>8;i[b+8+2>>0]=j>>16;i[b+8+3>>0]=j>>24}i[k>>0]=10}while(0);if((e|0)==(n+-2|0))e=n+-2|0;else e=((i[d+(e+c)>>0]|0)==10&1)+e|0;i[d+(e+c)>>0]=0}}}e=n<<1;i[a+16>>0]=e;i[a+16+1>>0]=e>>8;i[a+16+2>>0]=e>>16;i[a+16+3>>0]=e>>24;c=Fnb(d)|0}while((c|0)>(e+-3|0));i[d+(c+-1)>>0]=0;c=l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24;if(c|0)do{b=c+12|0;b=l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24;o=c+4|0;p=l[o>>0]|l[o+1>>0]<<8|l[o+2>>0]<<16|l[o+3>>0]<<24;e:do if(!b){q=c+8|0;AOa(a,p,l[q>>0]|l[q+1>>0]<<8|l[q+2>>0]<<16|l[q+3>>0]<<24)}else{q=c+8|0;e=p;d=0;while(1){n=hqb((Fnb(e)|0)+1|0)|0;Pnb(n,e)|0;i[n+(b-p)>>0]=i[522260+d>>0]|0;e=l[q>>0]|l[q+1>>0]<<8|l[q+2>>0]<<16|l[q+3>>0]<<24;j=Fnb(e)|0;m=hqb(j<<1|1)|0;f:do if((j|0)>0){k=d+-110|0;g=e;f=0;h=m;while(1){g=i[g+f>>0]|0;do if(g<<24>>24>103)if(!(wmb(g<<24>>24)|0))s=63;else{e=h+1|0;i[h>>0]=i[522275+(k+(g<<24>>24)+7)>>0]|0;if((k+(g<<24>>24)|0)<0){i[e>>0]=44;e=h+2|0;break}if((k+(g<<24>>24)|0)>13){i[e>>0]=39;e=h+2|0}}else s=63;while(0);if((s|0)==63){s=0;i[h>>0]=g;e=h+1|0}f=f+1|0;if((f|0)==(j|0))break f;g=l[q>>0]|l[q+1>>0]<<8|l[q+2>>0]<<16|l[q+3>>0]<<24;h=e}}else e=m;while(0);i[e>>0]=0;AOa(a,n,m);iqb(m);iqb(n);d=d+1|0;if((d|0)==14)break e;e=l[o>>0]|l[o+1>>0]<<8|l[o+2>>0]<<16|l[o+3>>0]<<24}}while(0);c=l[c>>0]|l[c+1>>0]<<8|l[c+2>>0]<<16|l[c+3>>0]<<24}while((c|0)!=0);s=l[r>>0]|l[r+1>>0]<<8|l[r+2>>0]<<16|l[r+3>>0]<<24;return s|0}function AOa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0;h=Fnb(b)|0;j=Fnb(c)|0;if((h|0)<1|(j|0)<1)return;if(Dob(c,b)|0)return;e=l[a+24>>0]|l[a+24+1>>0]<<8|l[a+24+2>>0]<<16|l[a+24+3>>0]<<24;d=Dob(e,b)|0;if(!d)return;if((j|0)<=(h|0)){do{g=j-h+(Fnb(e)|0)|0;f=l[a+16>>0]|l[a+16+1>>0]<<8|l[a+16+2>>0]<<16|l[a+16+3>>0]<<24;if((g|0)>=(f|0)){d=kqb(e,f<<1)|0;i[a+24>>0]=d;i[a+24+1>>0]=d>>8;i[a+24+2>>0]=d>>16;i[a+24+3>>0]=d>>24;g=(l[a+16>>0]|l[a+16+1>>0]<<8|l[a+16+2>>0]<<16|l[a+16+3>>0]<<24)<<1;i[a+16>>0]=g;i[a+16+1>>0]=g>>8;i[a+16+2>>0]=g>>16;i[a+16+3>>0]=g>>24;d=Dob(d,b)|0}Pnb(d,c)|0;Zpb(d,d+h|0)|0;e=l[a+24>>0]|l[a+24+1>>0]<<8|l[a+24+2>>0]<<16|l[a+24+3>>0]<<24;d=Dob(e,b)|0}while((d|0)!=0);return}do{g=Fnb(e)|0;f=l[a+16>>0]|l[a+16+1>>0]<<8|l[a+16+2>>0]<<16|l[a+16+3>>0]<<24;if((j-h+g|0)>=(f|0)){d=kqb(e,f<<1)|0;i[a+24>>0]=d;i[a+24+1>>0]=d>>8;i[a+24+2>>0]=d>>16;i[a+24+3>>0]=d>>24;e=(l[a+16>>0]|l[a+16+1>>0]<<8|l[a+16+2>>0]<<16|l[a+16+3>>0]<<24)<<1;i[a+16>>0]=e;i[a+16+1>>0]=e>>8;i[a+16+2>>0]=e>>16;i[a+16+3>>0]=e>>24;e=d;d=Dob(d,b)|0}e=e+g|0;if(e>>>0>d>>>0)do{i[e+(j-h)>>0]=i[e>>0]|0;e=e+-1|0}while(e>>>0>d>>>0);e=i[c>>0]|0;if(e<<24>>24){f=c;while(1){i[d>>0]=e;f=f+1|0;e=i[f>>0]|0;if(!(e<<24>>24))break;else d=d+1|0}}e=l[a+24>>0]|l[a+24+1>>0]<<8|l[a+24+2>>0]<<16|l[a+24+3>>0]<<24;d=Dob(e,b)|0}while((d|0)!=0);return}function BOa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0;n=r;r=r+32|0;while(1){e=i[b>>0]|0;if(e<<24>>24==32)b=b+1|0;else{d=1;f=0;break}}a:while(1){switch(e<<24>>24){case 37:case 93:case 0:{d=f;break a}default:{}}if(qmb(e<<24>>24)|0){d=f;break}i[n+f>>0]=i[b>>0]|0;f=b+1|0;e=d+1|0;if(e>>>0>=21){b=f;break}j=d;b=f;d=e;e=i[f>>0]|0;f=j}i[n+d>>0]=0;if(c|0)d=0;else d=COa(b)|0;b=l[a+8>>0]|l[a+8+1>>0]<<8|l[a+8+2>>0]<<16|l[a+8+3>>0]<<24;if(!b){m=0;h=1;b=0;j=d;g=0}else{h=0;j=1;f=0;g=0;while(1){e=i[b+36>>0]|0;if(!(e<<24>>24))f=(f|0)==0?b:f;else if(!(Onb(b+44|0,n,20)|0)){if((l[b+37>>0]|0|0)==(c|0)){m=31;break}d=b+20|0;d=l[d>>0]|l[d+1>>0]<<8|l[d+2>>0]<<16|l[d+3>>0]<<24;h=b+24|0;k[299463]=l[h>>0]|l[h+1>>0]<<8|l[h+2>>0]<<16|l[h+3>>0]<<24;h=l[b+40>>0]|0;j=l[b+42>>0]|0;g=e&255}e=l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24;if(!e){e=h;h=j;j=d;break}else b=e}if((m|0)==31){r=n;return b|0}if(!f)m=e;else{if(c|0){e=e&255;d=h&255;b=g}else{b=(k[298898]|0)+1|0;k[298898]=b;e=0;d=1}i[f+36>>0]=b;i[f+42>>0]=d;i[f+40>>0]=e;i[f+37>>0]=c;i[f+38>>0]=c;dpb(f+44|0,n,20)|0;i[f+64>>0]=0;i[f+39>>0]=0;i[f+20>>0]=j;i[f+20+1>>0]=j>>8;i[f+20+2>>0]=j>>16;i[f+20+3>>0]=j>>24;c=k[299463]|0;i[f+24>>0]=c;i[f+24+1>>0]=c>>8;i[f+24+2>>0]=c>>16;i[f+24+3>>0]=c>>24;i[f+41>>0]=i[(l[a+8>>0]|l[a+8+1>>0]<<8|l[a+8+2>>0]<<16|l[a+8+3>>0]<<24)+41>>0]|0;i[f+16>>0]=0;i[f+16+1>>0]=0;i[f+16+2>>0]=0;i[f+16+3>>0]=0;i[f+43>>0]=0;c=f;r=n;return c|0}}d=k[298898]|0;if(!c){k[298898]=d+1;d=d+1|0}f=jqb(1,66)|0;i[f>>0]=0;i[f+1>>0]=0;i[f+2>>0]=0;i[f+3>>0]=0;i[f+36>>0]=d;i[f+37>>0]=c;i[f+38>>0]=c;i[f+42>>0]=1;dpb(f+44|0,n,20)|0;i[f+64>>0]=0;i[f+39>>0]=0;i[f+40>>0]=0;d=f+4|0;e=d+20|0;do{i[d>>0]=0;d=d+1|0}while((d|0)<(e|0));d=l[a+8>>0]|l[a+8+1>>0]<<8|l[a+8+2>>0]<<16|l[a+8+3>>0]<<24;if(!d)d=120;else d=i[d+41>>0]|0;i[f+41>>0]=d;i[f+28>>0]=0;i[f+28+1>>0]=0;i[f+28+2>>0]=0;i[f+28+3>>0]=0;i[f+32>>0]=0;i[f+32+1>>0]=0;i[f+32+2>>0]=0;i[f+32+3>>0]=0;i[f+43>>0]=0;if(c|0){i[f+36>>0]=g;i[f+42>>0]=h;i[f+40>>0]=m}i[f+20>>0]=j;i[f+20+1>>0]=j>>8;i[f+20+2>>0]=j>>16;i[f+20+3>>0]=j>>24;c=k[299463]|0;i[f+24>>0]=c;i[f+24+1>>0]=c>>8;i[f+24+2>>0]=c>>16;i[f+24+3>>0]=c>>24;if(!b){i[a+8>>0]=f;i[a+8+1>>0]=f>>8;i[a+8+2>>0]=f>>16;i[a+8+3>>0]=f>>24;c=f;r=n;return c|0}else{i[b>>0]=f;i[b+1>>0]=f>>8;i[b+2>>0]=f>>16;i[b+3>>0]=f>>24;c=f;r=n;return c|0}return 0}function COa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0;k[299463]=99;e=99;l=594195;c=1279174;d=0;a:while(1){switch(i[a>>0]|0){case 93:case 0:{a=d;break a}default:{}}if(!(Onb(a,522307,2)|0)){g=a+2|0;j=(i[g>>0]|0)==45;h=j?3:2;g=j?a+3|0:g;j=j?-1:1;b=i[g>>0]|0;if((b+-48|0)>>>0<10){e=0;f=0;do{e=b+-48+(e*10|0)|0;f=f+1|0;b=i[g+f>>0]|0}while((b+-48|0)>>>0<10);b=f}else{e=0;b=0}d=(ha((b|0)==0?1:e,j)|0)+d|0;k[299463]=0;a=a+(b+h)|0;b=0}else b=e;if(!(Onb(a,522310,7)|0)){g=a+7|0;h=(i[g>>0]|0)==45;j=h?8:7;g=h?a+8|0:g;b=i[g>>0]|0;if((b+-48|0)>>>0<10){e=0;f=0;do{e=b+-48+(e*10|0)|0;f=f+1|0;b=i[g+f>>0]|0}while((b+-48|0)>>>0<10);b=f}else{e=0;b=0}d=(ha(h?-12:12,(b|0)==0?1:e)|0)+d|0;k[299463]=0;a=a+(b+j)|0;b=0}if(!(Onb(a,522318,10)|0)){g=a+10|0;j=(i[g>>0]|0)==45;h=j?11:10;g=j?a+11|0:g;j=j?-1:1;b=i[g>>0]|0;if((b+-48|0)>>>0<10){e=0;f=0;do{e=b+-48+(e*10|0)|0;f=f+1|0;b=i[g+f>>0]|0}while((b+-48|0)>>>0<10);b=f}else{e=0;b=0}d=(ha((b|0)==0?1:e,j)|0)+d|0;k[299463]=0;a=a+(b+h)|0;b=0}if(!(Onb(a,522310,7)|0)){g=a+7|0;h=(i[g>>0]|0)==45;j=h?8:7;g=h?a+8|0:g;b=i[g>>0]|0;if((b+-48|0)>>>0<10){e=0;f=0;do{e=b+-48+(e*10|0)|0;f=f+1|0;b=i[g+f>>0]|0}while((b+-48|0)>>>0<10);b=f}else{e=0;b=0}d=(ha(h?-12:12,(b|0)==0?1:e)|0)+d|0;k[299463]=0;a=a+(b+j)|0;b=0}if(!(Onb(a,522329,2)|0)){c=a+2|0;a=c;b:while(1){switch(i[a>>0]|0){case 93:case 32:case 0:break b;default:{}}a=a+1|0}k[299463]=0;b=0}if(!(Onb(a,522332,7)|0)){c=a+7|0;a=c;c:while(1){switch(i[a>>0]|0){case 93:case 32:case 0:break c;default:{}}a=a+1|0}k[299463]=0;e=0}else e=b;j=(Onb(a,522340,5)|0)==0;a=j?a+5|0:a;d:do if(!(Onb(a,522346,6)|0)){switch(i[a+6>>0]|0){case 49:{a=a+7|0;b=522353;break}case 50:{a=a+7|0;b=594195;break}case 51:{a=a+7|0;b=522355;break}case 52:{a=a+7|0;b=522357;break}case 53:{a=a+7|0;b=617827;break}default:{a=a+6|0;b=594195}}k[299463]=0;e=0}else{if(!(Onb(a,522359,4)|0)){switch(i[a+4>>0]|0){case 49:{a=a+5|0;b=617827;break}case 50:{a=a+5|0;b=522367;break}case 51:{a=a+5|0;b=522370;break}case 52:{a=a+5|0;b=522364;break}case 53:{a=a+5|0;b=522373;break}default:{a=a+4|0;b=522364}}if((e|0)!=99)break;k[299463]=-2;e=-2;break}if(!(Onb(a,522377,5)|0)){switch(i[a+5>>0]|0){case 49:{a=a+6|0;b=522355;break}case 50:{a=a+6|0;b=522357;break}case 51:{a=a+6|0;b=617827;break}case 52:{a=a+6|0;b=522367;break}case 53:{a=a+6|0;b=522370;break}default:{a=a+5|0;b=522367}}if((e|0)!=99)break;k[299463]=1;e=1;break}if(!(Onb(a,522383,4)|0)){switch(i[a+4>>0]|0){case 49:{a=a+5|0;b=522355;break}case 50:{a=a+5|0;b=522357;break}case 51:{a=a+5|0;b=617827;break}case 52:{a=a+5|0;b=522367;break}case 53:{a=a+5|0;b=522370;break}default:{a=a+4|0;b=617827}}if((e|0)!=99)break;k[299463]=1;e=1;break}else{b=i[a>>0]|0;if(!(b<<24>>24==0|(Cmb(522388,b<<24>>24,3)|0)==0))if((i[a+1>>0]|0)==56){switch(b<<24>>24|0){case 43:{d=d+12|0;break}case 45:{d=d+-12|0;break}default:{}}e=(Onb(a+2|0,522391,2)|0)==0;k[299463]=0;a=e?a+4|0:a+2|0;e=0;b=l;break}while(1){switch(b<<24>>24){case 93:case 32:case 0:{b=l;break d}default:{}}b=a+1|0;a=b;b=i[b>>0]|0}}}while(0);a=a+1|0;l=b}b=i[c>>0]|0;if(b<<24>>24){switch(b<<24>>24|0){case 94:{f=2;d=i[c+1>>0]|0;break}case 95:{f=2;d=i[c+1>>0]|0;break}case 61:{f=2;d=i[c+1>>0]|0;break}default:{f=1;d=b<<24>>24}}b=0;do{if((d|0)==(i[522394+b>>0]|0))break;b=b+1|0}while((b|0)<25);h=(b|0)>12;g=h?5:4;e:while(1){d=i[c+f>>0]|0;switch(d<<24>>24){case 39:case 44:break;default:break e}f=f+1|0;g=(d<<24>>24==44?-1:1)+g|0}j=h?b+-12|0:b;b=i[l>>0]|0;switch(b|0){case 94:{f=2;b=i[l+1>>0]|0;break}case 95:{f=2;b=i[l+1>>0]|0;break}case 61:{f=2;b=i[l+1>>0]|0;break}default:f=1}c=0;do{if((b|0)==(i[522394+c>>0]|0))break;c=c+1|0}while((c|0)<25);h=(c|0)>12;b=h?5:4;f:while(1){d=i[l+f>>0]|0;switch(d<<24>>24){case 39:case 44:break;default:break f}f=f+1|0;b=(d<<24>>24==44?-1:1)+b|0}a=j+a+(g*12|0)-(h?c+-12|0:c)+(ha(b,-12)|0)|0}if((e|0)!=99)return a|0;k[299463]=0;return a|0}function DOa(a,b){a=a|0;b=b|0;var c=0,d=0;if(!(l[a+12>>0]|l[a+12+1>>0]<<8|l[a+12+2>>0]<<16|l[a+12+3>>0]<<24)){d=k[298899]|0;c=jqb(1,16)|0;i[c>>0]=0;i[c+1>>0]=0;i[c+2>>0]=0;i[c+3>>0]=0;i[c+4>>0]=d;i[c+4+1>>0]=d>>8;i[c+4+2>>0]=d>>16;i[c+4+3>>0]=d>>24;i[c+8>>0]=1;i[c+9>>0]=66;i[c+10>>0]=0;i[c+10+1>>0]=0;i[c+10+2>>0]=0;i[c+10+3>>0]=0;i[c+14>>0]=i[1274943]|0;i[c+15>>0]=0;i[a+12>>0]=c;i[a+12+1>>0]=c>>8;i[a+12+2>>0]=c>>16;i[a+12+3>>0]=c>>24;DOa(a,c)}c=l[a+8>>0]|l[a+8+1>>0]<<8|l[a+8+2>>0]<<16|l[a+8+3>>0]<<24;if(!c){i[a+4>>0]=b;i[a+4+1>>0]=b>>8;i[a+4+2>>0]=b>>16;i[a+4+3>>0]=b>>24;i[a+8>>0]=b;i[a+8+1>>0]=b>>8;i[a+8+2>>0]=b>>16;i[a+8+3>>0]=b>>24;return}else{i[c>>0]=b;i[c+1>>0]=b>>8;i[c+2>>0]=b>>16;i[c+3>>0]=b>>24;i[a+8>>0]=b;i[a+8+1>>0]=b>>8;i[a+8+2>>0]=b>>16;i[a+8+3>>0]=b>>24;return}}function EOa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=r;r=r+16|0;c=0;while(1){d=a+c|0;e=c+1|0;if(!(qmb(i[d>>0]|0)|0)){g=c;break}else c=e}c=i[d>>0]|0;if(c<<24>>24==40){c=(EOa(a+e|0,b)|0)+g|0;a:while(1){switch(i[a+c>>0]|0){case 0:case 41:break a;default:{}}c=c+1|0}r=h;return c|0}if(((c<<24>>24)+-48|0)>>>0<10){e=c<<24>>24;d=0;c=0;do{d=e+-48+(d*10|0)|0;c=c+1|0;e=i[a+(c+g)>>0]|0}while((e+-48|0)>>>0<10)}else{d=0;c=0}f=(c|0)==0;c=c+g|0;while(1){e=a+c|0;if(!(qmb(i[e>>0]|0)|0))break;else c=c+1|0}d=f?1:d;if((i[e>>0]|0)==43)do{c=c+1|0;c=c+(EOa(a+c|0,h)|0)|0;e=k[h>>2]|0;while(1){f=a+c|0;if(!(qmb(i[f>>0]|0)|0))break;else c=c+1|0}d=e+d|0}while((i[f>>0]|0)==43);k[b>>2]=d;b=c;r=h;return b|0}function FOa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0;o=r;r=r+304|0;c=k[a>>2]|0;if(c|0)iqb(c);k[a>>2]=0;if(!b){r=o;return}else d=0;a:while(1){c=i[b+d>>0]|0;switch(c<<24>>24){case 37:case 0:{h=0;c=0;break a}default:{}}if(!(Cmb(522452,c<<24>>24,41)|0)){n=6;break}else d=d+1|0}if((n|0)==6){if(((Fnb(b)|0)+47|0)>>>0<=255){k[o>>2]=b;Fmb(o+48|0,522493,o)|0;b=k[37151]|0;k[o+8>>2]=o+48;Cob(b,522043,o+8|0)|0}r=o;return}b:while(1){e=b+h|0;d=i[e>>0]|0;switch(d<<24>>24){case 37:case 0:break b;default:{}}c=((hmb(d<<24>>24)|0)!=0&1)+c|0;d=i[e>>0]|0;if((d+-48|0)>>>0<10){e=0;f=0;while(1){e=d+-48+(e*10|0)|0;g=f+1|0;d=i[b+(g+h)>>0]|0;if((d+-48|0)>>>0>=10){d=f;break}else f=g}m=(g|0)==0?1:e;m=(m|0)==0?1:m;l=ha(m,c)|0;d=d+h|0;c=(i[b+(h+-1)>>0]|0)==41?l:c+-1+m|0}else d=h;h=d+1|0}m=jqb(c+1|0,1)|0;j=0;c=0;c:while(1){e=b+j|0;d=i[e>>0]|0;switch(d<<24>>24){case 37:case 0:break c;default:{}}if(((d<<24>>24)+-48|0)>>>0<10)n=18;else{l=(hmb(d<<24>>24)|0)!=0;d=i[e>>0]|0;if(l|(d&-2)<<24>>24==40)n=18;else d=j}do if((n|0)==18){n=0;if(d<<24>>24==41)e=c;else{e=d<<24>>24;if((e+-48|0)>>>0<10){f=0;d=0}else{i[m+c>>0]=d;d=j;c=c+1|0;break}while(1){f=e+-48+(f*10|0)|0;h=d+1|0;e=i[b+(h+j)>>0]|0;if((e+-48|0)>>>0>=10)break;else d=h}g=d+j|0;f=(h|0)==0?1:f;if((f|0)<=1){d=g;break}d=f;e=c;while(1){d=d+-1|0;i[m+e>>0]=i[m+(e+-1)>>0]|0;if((d|0)<=1)break;else e=e+1|0}d=g;c=f+-1+c|0;break}while(1){if((e|0)<=0){n=26;break c}d=e+-1|0;if((i[m+d>>0]|0)==40)break;else e=d}if((c|0)>(e|0)){d=e;do{i[m+(d+-1)>>0]=i[m+d>>0]|0;d=d+1|0}while((d|0)!=(c|0))}l=c+-1|0;g=j+1|0;d=i[b+g>>0]|0;if((d+-48|0)>>>0<10){h=0;f=0;do{h=d+-48+(h*10|0)|0;f=f+1|0;d=i[b+(f+g)>>0]|0}while((d+-48|0)>>>0<10);d=f+j|0;if((f|0)!=0&(h|0)>1&(l-e|0)>-1){j=c-e|0;j=(j|0)>1?j:1;c=l;do{h=h+-1|0;f=c;g=0;while(1){i[m+f>>0]=i[m+(f-(l-e+1))>>0]|0;g=g+1|0;if((g|0)>=(l-e+1|0))break;else f=f+1|0}c=j+c|0}while((h|0)>1)}else c=l}else{d=j;c=l}}while(0);j=d+1|0}if((n|0)==26)if(((Fnb(b)|0)+52|0)>>>0<=255){k[o+16>>2]=b;Fmb(o+48|0,522541,o+16|0)|0;n=k[37151]|0;k[o+24>>2]=o+48;Cob(n,522043,o+24|0)|0}i[m+c>>0]=0;if((c|0)>0){e=k[37151]|0;f=0;do{if((i[m+f>>0]|0)==40){if(((Fnb(b)|0)+51|0)>>>0<=255){k[o+32>>2]=b;Fmb(o+48|0,522594,o+32|0)|0;k[o+40>>2]=o+48;Cob(e,522043,o+40|0)|0}if((f|0)<(c|0)){d=f;do{n=d;d=d+1|0;i[m+n>>0]=i[m+d>>0]|0}while((d|0)!=(c|0))}c=c+-1|0}f=f+1|0}while((f|0)<(c|0))}k[a>>2]=m;r=o;return}function GOa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0;t=r;r=r+272|0;c=i[a>>0]|0;if(!(c<<24>>24)){e=120;c=4;d=1;s=16}else{e=120;h=0;f=1;d=0;m=0;p=0;q=a;j=0;a:while(1){g=c<<24>>24;b:do if(!h){if(c<<24>>24==93){c=p;break a}switch(g|0){case 61:{n=e;l=0;o=f;c=q;g=j;break b}case 34:{n=e;l=1;o=f;c=q;g=j;break b}case 47:{n=e;l=0;o=f;m=e;p=p+1|0;c=q;g=1;break b}default:{if((g+-48|0)>>>0>=10){n=e;l=0;o=f;c=q;g=j;break b}if(!j){e=g;c=0;g=0;while(1){c=e+-48+(c*10|0)|0;h=g+1|0;e=i[q+h>>0]|0;if((e+-48|0)>>>0>=10)break;else g=h}n=(h|0)==0?1:c;l=0;o=f;c=q+g|0;g=0;break b}else{c=0;h=0;while(1){c=g+-48+(c*10|0)|0;j=h+1|0;g=i[q+j>>0]|0;if((g+-48|0)>>>0>=10)break;else h=j}c=(j|0)==0?1:c;n=e;l=0;o=ha(c,f)|0;d=(ha(c,d)|0)+(ha(m,f)|0)|0;c=q+h|0;g=0;break b}}}}else{n=e;l=c<<24>>24==34?0:h;o=f;c=q;g=j}while(0);q=c+1|0;c=i[q>>0]|0;if(!(c<<24>>24)){e=n;f=o;c=p;break}else{e=n;h=l;f=o;j=g}}c=(c|0)==0;d=c?1:d;c=c?4:f;if(!c){h=0;f=d;c=120}else s=16}if((s|0)==16){h=c;f=d;c=(ha(e<<2,d)|0)/(c|0)|0}d=(c|0)<1?120:c;e=k[298901]|0;j=b|0?k[298900]|0:f;k[298900]=1;c=1;while(1){g=(d|0)/(c|0)|0;if((g|0)>255)c=c+1|0;else{f=c;break}}h=b|0?e:h;k[298901]=f;c=1;while(1){d=c+1|0;if((ha(d,g)|0)<256)c=d;else break}k[298900]=c;e=ha(c,g)|0;if((e*3|0)<512){k[298900]=c*3;k[298901]=f<<1;c=c*3|0;d=f<<1;e=(e*3|0)/2|0}else d=f;if(!b){a=e;r=t;return a|0}if((j|0)==(c|0)&(h|0)==(d|0)){a=e;r=t;return a|0}c=(ha(ha(e,j)|0,d)|0)/(ha(c,h)|0)|0;if((c+-32|0)>>>0<224){k[298900]=j;k[298901]=h;a=c;r=t;return a|0}if(((Fnb(a)|0)+58|0)>>>0<=255){k[t>>2]=a;Fmb(t+16|0,522649,t)|0;a=k[37151]|0;k[t+8>>2]=t+16;Cob(a,522043,t+8|0)|0}a=e;r=t;return a|0}function HOa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0;f=r;r=r+288|0;k[f>>2]=0;k[f+4>>2]=0;while(1)if(!(qmb(i[a>>0]|0)|0)){e=a;break}else a=a+1|0;b=e;a=0;a:while(1){c=i[b>>0]|0;switch(c<<24>>24){case 93:case 0:break a;default:{}}if(qmb(c<<24>>24)|0){while(1)if(!(qmb(i[b>>0]|0)|0))break;else b=b+1|0;if(Onb(b,522729,3)|0)if(Onb(b,522733,3)|0)break}i[f+a>>0]=i[b>>0]|0;a=a+1|0;if((a|0)<8)b=b+1|0;else break}i[f+a>>0]=0;if(!(Wmb(f,522737)|0))d=12;else if(!(Wmb(f,522740)|0))d=12;if((d|0)==12){i[f>>0]=i[522743]|0;i[f+1>>0]=i[522744]|0;i[f+2>>0]=i[522745]|0}d=(Hnb(f+1|0,522746)|0)==0;c=(Hnb(f+2|0,522746)|0)==0;b=(Hnb(f+1|0,522752)|0)==0;g=(Hnb(f+2|0,522752)|0)==0;g=g|(Hnb(f+1|0,522729)|0)==0;h=(Hnb(f+2|0,522729)|0)==0;j=(Hnb(f+1|0,522733)|0)==0;l=(Hnb(f+2|0,522733)|0)==0;a=l?2:j?1:h?3:g?2:b?1:c?3:d?2:a;if((a|0)<6){vBb(f+a|0,32,6-a|0)|0;a=f+6|0}else a=f+a|0;i[a>>0]=0;b=45616;a=0;while(1){b=k[b>>2]|0;if(!(Onb(b+10|0,f,6)|0)){d=21;break}if(!(Onb(b+16|0,f,6)|0)){d=21;break}if(!(Onb(b+22|0,f,6)|0)){d=21;break}if(!(Onb(b+28|0,f,6)|0)){d=21;break}if(!(Onb(b+34|0,f,6)|0)){d=21;break}if(!(Onb(b+40|0,f,6)|0)){d=21;break}a=a+1|0;if((a|0)==15){d=18;break}else b=45616+(a<<2)|0}if((d|0)==18){if(((Fnb(e)|0)+33|0)>>>0<=255){k[f+8>>2]=e;Fmb(f+24|0,523553,f+8|0)|0;l=k[37151]|0;k[f+16>>2]=f+24;Cob(l,522043,f+16|0)|0}l=7;r=f;return l|0}else if((d|0)==21){r=f;return a|0}return 0}function IOa(a,b){a=a|0;b=b|0;var c=0,d=0;while(1)if(!(qmb(i[a>>0]|0)|0))break;else a=a+1|0;if(!(Dmb(a,523809,2)|0)){if(qmb(i[a+2>>0]|0)|0){d=2;return d|0}if(!(i[a+2>>0]|0)){d=2;return d|0}}if(!(Dmb(a,523812,3)|0)){if(qmb(i[a+3>>0]|0)|0){d=1;return d|0}if(!(i[a+3>>0]|0)){d=1;return d|0}}c=i[a>>0]|0;a:do if(!(c<<24>>24))a=b+36|0;else{d=a;a=b+36|0;do{if(qmb(c<<24>>24)|0)break a;c=i[d>>0]|0;if(!(Cmb(523816,c<<24>>24,23)|0))break a;b=a+1|0;i[a>>0]=c;c=d;d=d+1|0;if(((i[c>>0]|0)+-48|0)>>>0<10)a=b;else if(((i[d>>0]|0)+-48|0)>>>0<10)a=b;else{i[b>>0]=49;a=a+2|0}c=i[d>>0]|0}while(c<<24>>24!=0)}while(0);i[a>>0]=0;d=0;return d|0}function JOa(a){a=a|0;var b=0,c=0,d=0,e=0;b=0;while(1){c=1249408+b|0;d=i[c>>0]|0;if(!(d<<24>>24))break;b=b+1|0;if((d&255|0)==(a|0)){e=6;break}}if((e|0)==6)return b|0;if((b|0)>=191){e=1;return e|0}i[c>>0]=a;e=b+1|0;return e|0}function KOa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;L=r;r=r+592|0;if(!a){r=L;return}d=l[a+8>>0]|l[a+8+1>>0]<<8|l[a+8+2>>0]<<16|l[a+8+3>>0]<<24;if(!d){r=L;return}if(!(l[d+12>>0]|l[d+12+1>>0]<<8|l[d+12+2>>0]<<16|l[d+12+3>>0]<<24)){r=L;return}j[L+328>>1]=65;e=l[d+12>>0]|l[d+12+1>>0]<<8|l[d+12+2>>0]<<16|l[d+12+3>>0]<<24;f=l[e+4>>0]|l[e+4+1>>0]<<8|l[e+4+2>>0]<<16|l[e+4+3>>0]<<24;k[L>>2]=f;k[L+216>>2]=-1;k[L+108>>2]=1;a:do if(!e){e=1;d=0}else{t=d;s=e;e=1;h=1;G=-1;H=-1;p=0;F=0;I=0;J=-1;b:while(1){c:do if((i[s+8>>0]|0)==1)switch(l[s+9>>0]|0){case 80:{q=s+4|0;q=l[q>>0]|l[q+1>>0]<<8|l[q+2>>0]<<16|l[q+3>>0]<<24;if(q>>>0<=f>>>0){n=G;o=H;d=F;g=I;m=J;break c}if((F|0)<26){d=F+1|0;k[L+(d<<2)>>2]=q}else d=F;if((e|0)<255){i[L+328+e>>0]=d+65;e=e+1|0}k[L+216+(d<<2)>>2]=-1;k[L+108+(d<<2)>>2]=d+1;n=G;o=H;g=I;m=J;f=q;break c}case 76:{h=1;n=G;o=H;p=F;d=F;g=I;m=J;break c}case 86:{n=s+10|0;k[L+216+(F<<2)>>2]=l[n>>0]|l[n+1>>0]<<8|l[n+2>>0]<<16|l[n+3>>0]<<24;n=G;o=H;d=F;g=I;m=J;break c}case 74:{E=L+328+e|0;switch(l[s+13>>0]|0){case 1:{d=1;K=17;break}case 0:{d=0;K=17;break}case 5:{d=1;g=0;m=I;break}case 4:{d=0;g=0;m=I;break}case 3:{d=1;K=20;break}case 2:{d=0;K=20;break}default:{d=0;g=0;m=0}}if((K|0)==17){K=0;h=h+1|0;g=1;m=p}else if((K|0)==20){K=0;g=0;m=0}if((k[L+216+(F<<2)>>2]|0)!=-1)k[L+108+(F<<2)>>2]=m;if((F|0)<26){D=s+4|0;k[L+(F+1<<2)>>2]=l[D>>0]|l[D+1>>0]<<8|l[D+2>>0]<<16|l[D+3>>0]<<24}d:do if((m|0)<=(F|0)){q=(g|0)==0;g=0;do{o=1<>2]&o)K=33}else{g=n;n=(n|0)==0&1;K=33}if((K|0)==33){K=0;if(n){n=m;break}}if((m|0)<(F|0))m=m+1|0;else break d}if((e|0)<255){i[L+328+e>>0]=n+65;e=e+1|0}m=k[L+108+(n<<2)>>2]|0;h=((m|0)!=(n+1|0)&1)+h|0}while((m|0)<=(F|0))}while(0);if(!((F|0)<25&(d|0)!=0&(e|0)<254)){n=G;o=H;d=F;g=I;m=J;break c}D=s+4|0;k[L+(F+1<<2)>>2]=l[D>>0]|l[D+1>>0]<<8|l[D+2>>0]<<16|l[D+3>>0]<<24;D=L+328+e|0;i[D>>0]=0;q=t+8|0;q=(l[q>>0]|l[q+1>>0]<<8|l[q+2>>0]<<16|l[q+3>>0]<<24)+4|0;q=l[q>>0]|l[q+1>>0]<<8|l[q+2>>0]<<16|l[q+3>>0]<<24;d=l[t>>0]|l[t+1>>0]<<8|l[t+2>>0]<<16|l[t+3>>0]<<24;if(d){o=d;do{n=o+8|0;d=l[n>>0]|l[n+1>>0]<<8|l[n+2>>0]<<16|l[n+3>>0]<<24;if(!d){f=jqb(1,16)|0;i[f>>0]=0;i[f+1>>0]=0;i[f+2>>0]=0;i[f+3>>0]=0;i[f+4>>0]=q;i[f+4+1>>0]=q>>8;i[f+4+2>>0]=q>>16;i[f+4+3>>0]=q>>24;i[f+8>>0]=1;i[f+9>>0]=83;i[f+10>>0]=0;i[f+10+1>>0]=0;i[f+10+2>>0]=0;i[f+10+3>>0]=0;i[f+14>>0]=i[1274943]|0;i[f+15>>0]=0;DOa(o,f);f=l[n>>0]|l[n+1>>0]<<8|l[n+2>>0]<<16|l[n+3>>0]<<24}else f=d;g=f+4|0;g=l[g>>0]|l[g+1>>0]<<8|l[g+2>>0]<<16|l[g+3>>0]<<24;if(g>>>0>q>>>0){m=o+4|0;d=l[m>>0]|l[m+1>>0]<<8|l[m+2>>0]<<16|l[m+3>>0]<<24;do if(!d)K=50;else{g=0;while(1){C=d+4|0;if((l[C>>0]|l[C+1>>0]<<8|l[C+2>>0]<<16|l[C+3>>0]<<24)>>>0>q>>>0){d=g;K=47;break}g=l[d>>0]|l[d+1>>0]<<8|l[d+2>>0]<<16|l[d+3>>0]<<24;if(!g){f=0;break}else{C=d;d=g;g=C}}if((K|0)==47){K=0;if(!d){K=50;break}f=l[d>>0]|l[d+1>>0]<<8|l[d+2>>0]<<16|l[d+3>>0]<<24}i[n>>0]=d;i[n+1>>0]=d>>8;i[n+2>>0]=d>>16;i[n+3>>0]=d>>24;i[d>>0]=0;i[d+1>>0]=0;i[d+2>>0]=0;i[d+3>>0]=0}while(0);if((K|0)==50){K=0;i[m>>0]=0;i[m+1>>0]=0;i[m+2>>0]=0;i[m+3>>0]=0;i[n>>0]=0;i[n+1>>0]=0;i[n+2>>0]=0;i[n+3>>0]=0;d=0}if(f){d=f;do{C=d;d=l[d>>0]|l[d+1>>0]<<8|l[d+2>>0]<<16|l[d+3>>0]<<24;iqb(C)}while((d|0)!=0);d=l[n>>0]|l[n+1>>0]<<8|l[n+2>>0]<<16|l[n+3>>0]<<24}g=d+4|0;g=l[g>>0]|l[g+1>>0]<<8|l[g+2>>0]<<16|l[g+3>>0]<<24}else d=f;f=d+4|0;e:do if(g>>>0>>0){do if(d|0){if((g|0)==(q|0))break e;if((i[d+8>>0]|0)!=1)break;if((i[d+9>>0]|0)!=83)break;i[f>>0]=q;i[f+1>>0]=q>>8;i[f+2>>0]=q>>16;i[f+3>>0]=q>>24;break e}while(0);C=jqb(1,16)|0;i[C>>0]=0;i[C+1>>0]=0;i[C+2>>0]=0;i[C+3>>0]=0;i[C+4>>0]=q;i[C+4+1>>0]=q>>8;i[C+4+2>>0]=q>>16;i[C+4+3>>0]=q>>24;i[C+8>>0]=1;i[C+9>>0]=83;i[C+10>>0]=0;i[C+10+1>>0]=0;i[C+10+2>>0]=0;i[C+10+3>>0]=0;i[C+14>>0]=i[1274943]|0;i[C+15>>0]=0;DOa(o,C)}while(0);o=l[o>>0]|l[o+1>>0]<<8|l[o+2>>0]<<16|l[o+3>>0]<<24}while((o|0)!=0);t=l[a+8>>0]|l[a+8+1>>0]<<8|l[a+8+2>>0]<<16|l[a+8+3>>0]<<24}do{y=t+8|0;n=l[y>>0]|l[y+1>>0]<<8|l[y+2>>0]<<16|l[y+3>>0]<<24;B=t+32|0;if((l[B>>0]|l[B+1>>0]<<8|l[B+2>>0]<<16|l[B+3>>0]<<24|0)==-2)A=t+28|0;else{i[B>>0]=-2;i[B+1>>0]=-2>>8;i[B+2>>0]=-2>>16;i[B+3>>0]=-2>>24;C=l[n+4>>0]|l[n+4+1>>0]<<8|l[n+4+2>>0]<<16|l[n+4+3>>0]<<24;A=t+28|0;i[A>>0]=C;i[A+1>>0]=C>>8;i[A+2>>0]=C>>16;i[A+3>>0]=C>>24}C=t+39|0;i[C>>0]=0;z=t+4|0;g=n;f=127;f:do{d=i[E>>0]|0;if(!((f|0)>5&d<<24>>24!=0))break b;o=g+4|0;o=l[o>>0]|l[o+1>>0]<<8|l[o+2>>0]<<16|l[o+3>>0]<<24;x=E;do{w=d<<24>>24;u=k[L+(w+-65<<2)>>2]|0;w=k[L+(w+-64<<2)>>2]|0;v=o-u|0;o=l[z>>0]|l[z+1>>0]<<8|l[z+2>>0]<<16|l[z+3>>0]<<24;g:do if(!o)f=g;else{d=g;m=g;s=g;f=g;while(1){q=o+4|0;g=l[q>>0]|l[q+1>>0]<<8|l[q+2>>0]<<16|l[q+3>>0]<<24;if(g>>>0>w>>>0){g=s;break g}h:do if(g>>>0>>0)g=s;else{g=o+8|0;if((i[g>>0]|0)==1)switch(i[o+9>>0]|0){case 67:case 83:break;default:{g=s;break h}}if((o|0)==(d|0)){g=s;break}d=jqb(1,16)|0;i[d>>0]=0;i[d+1>>0]=0;i[d+2>>0]=0;i[d+3>>0]=0;f=l[q>>0]|l[q+1>>0]<<8|l[q+2>>0]<<16|l[q+3>>0]<<24;i[d+8>>0]=i[g>>0]|0;i[d+9>>0]=i[o+9>>0]|0;g=o+10|0;g=l[g>>0]|l[g+1>>0]<<8|l[g+2>>0]<<16|l[g+3>>0]<<24;i[d+10>>0]=g;i[d+10+1>>0]=g>>8;i[d+10+2>>0]=g>>16;i[d+10+3>>0]=g>>24;i[d+4>>0]=f+v;i[d+4+1>>0]=f+v>>8;i[d+4+2>>0]=f+v>>16;i[d+4+3>>0]=f+v>>24;i[d+14>>0]=42;i[m>>0]=d;i[m+1>>0]=d>>8;i[m+2>>0]=d>>16;i[m+3>>0]=d>>24;i[y>>0]=d;i[y+1>>0]=d>>8;i[y+2>>0]=d>>16;i[y+3>>0]=d>>24;g=d;f=d;m=d}while(0);o=l[o>>0]|l[o+1>>0]<<8|l[o+2>>0]<<16|l[o+3>>0]<<24;if(!o)break;else s=g}}while(0);do if(!f)K=85;else{d=f+4|0;if((l[d>>0]|l[d+1>>0]<<8|l[d+2>>0]<<16|l[d+3>>0]<<24|0)==(v+w|0))break;if((i[f+8>>0]|0)!=1){K=85;break}if((i[f+9>>0]|0)!=83){K=85;break}i[d>>0]=v+w;i[d+1>>0]=v+w>>8;i[d+2>>0]=v+w>>16;i[d+3>>0]=v+w>>24}while(0);if((K|0)==85){K=0;g=jqb(1,16)|0;i[g>>0]=0;i[g+1>>0]=0;i[g+2>>0]=0;i[g+3>>0]=0;i[g+4>>0]=v+w;i[g+4+1>>0]=v+w>>8;i[g+4+2>>0]=v+w>>16;i[g+4+3>>0]=v+w>>24;i[g+8>>0]=1;i[g+9>>0]=83;i[g+10>>0]=0;i[g+10+1>>0]=0;i[g+10+2>>0]=0;i[g+10+3>>0]=0;i[g+14>>0]=i[1274943]|0;i[g+15>>0]=0;DOa(t,g);g=l[y>>0]|l[y+1>>0]<<8|l[y+2>>0]<<16|l[y+3>>0]<<24}o=g+4|0;o=l[o>>0]|l[o+1>>0]<<8|l[o+2>>0]<<16|l[o+3>>0]<<24;if(i[C>>0]|0)break f;d=l[B>>0]|l[B+1>>0]<<8|l[B+2>>0]<<16|l[B+3>>0]<<24;do if(!d)f=127;else{f=l[A>>0]|l[A+1>>0]<<8|l[A+2>>0]<<16|l[A+3>>0]<<24;if(o>>>0>>0){f=127;break}f=(((o-f|0)>>>0)/192|0)*15|0;f=(d|0)>-2&f>>>0>6143?15:(f>>>0)/384|0;f=((d|0)>0?f:0-f|0)+127|0;f=(f|0)<2?2:f;f=(f|0)>127?127:f}while(0);x=x+1|0;d=i[x>>0]|0;m=(f|0)>5}while(m&d<<24>>24!=0)}while(m);if(n|0)do{if((l[n+8>>0]|0)>=2){f=n+4|0;f=l[f>>0]|l[f+1>>0]<<8|l[f+2>>0]<<16|l[f+3>>0]<<24;o=n+11|0;d=l[o>>0]|0;do if(!(i[C>>0]|0)){g=l[B>>0]|l[B+1>>0]<<8|l[B+2>>0]<<16|l[B+3>>0]<<24;if(!g)break;m=l[A>>0]|l[A+1>>0]<<8|l[A+2>>0]<<16|l[A+3>>0]<<24;if(f>>>0>>0)break;z=((g|0)>-2?((((f-m|0)>>>0)/192|0)*15|0)>>>0>6143:0)?15:(((((f-m|0)>>>0)/192|0)*15|0)>>>0)/384|0;d=((g|0)>0?z:0-z|0)+d|0;d=(d|0)<2?2:d;d=(d|0)>127?127:d}else d=0;while(0);i[o>>0]=d}n=l[n>>0]|l[n+1>>0]<<8|l[n+2>>0]<<16|l[n+3>>0]<<24}while((n|0)!=0);t=l[t>>0]|l[t+1>>0]<<8|l[t+2>>0]<<16|l[t+3>>0]<<24}while((t|0)!=0);s=l[a+8>>0]|l[a+8+1>>0]<<8|l[a+8+2>>0]<<16|l[a+8+3>>0]<<24;f=(l[s+8>>0]|l[s+8+1>>0]<<8|l[s+8+2>>0]<<16|l[s+8+3>>0]<<24)+4|0;f=l[f>>0]|l[f+1>>0]<<8|l[f+2>>0]<<16|l[f+3>>0]<<24;i[D>>0]=F+66;d=F+2|0;k[L+(d<<2)>>2]=f;i[L+328+(e+1)>>0]=F+67;t=s;s=l[s+8>>0]|l[s+8+1>>0]<<8|l[s+8+2>>0]<<16|l[s+8+3>>0]<<24;e=e+2|0;n=G;o=H;g=I;m=J;break c}case 88:{n=G;o=H;d=F;g=I;m=F;break c}case 79:{n=F;o=H;d=F;g=I;m=J;break c}case 70:{n=G;o=F;d=F;g=I;m=J;break c}case 36:{n=G;o=H;d=F;g=F;m=J;break c}default:{n=G;o=H;d=F;g=I;m=J;break c}}else{n=G;o=H;d=F;g=I;m=J}while(0);i[s+14>>0]=d+97;s=l[s>>0]|l[s+1>>0]<<8|l[s+2>>0]<<16|l[s+3>>0]<<24;if(!s)break a;else{G=n;H=o;F=d;I=g;J=m}}while(1){}}while(0);K=e+-1|0;p=(((d|0)>0)<<31>>31)+d|0;i[L+328+K>>0]=0;if((K|0)>1){d=i[L+328+1>>0]|0;if(d<<24>>24){n=1;do{e=d<<24>>24;d=i[L+328+(n+-1)>>0]|0;if((e|0)!=(d+1|0)){m=k[L+(d+-64<<2)>>2]|0;h=k[L+(e+-65<<2)>>2]|0;if(h>>>0>m>>>0){d=l[a+8>>0]|l[a+8+1>>0]<<8|l[a+8+2>>0]<<16|l[a+8+3>>0]<<24;if(d|0)do{i:do if(i[d+36>>0]|0){e=d+4|0;e=l[e>>0]|l[e+1>>0]<<8|l[e+2>>0]<<16|l[e+3>>0]<<24;if(e|0){f=0;while(1){K=e+4|0;if((l[K>>0]|l[K+1>>0]<<8|l[K+2>>0]<<16|l[K+3>>0]<<24)>>>0>=m>>>0)break;f=(i[e+8>>0]|0)==1?f:e;e=l[e>>0]|l[e+1>>0]<<8|l[e+2>>0]<<16|l[e+3>>0]<<24;if(!e){e=0;break}}if(f|0)if(!((e|0)==0|(i[f+15>>0]|0)==0)){while(1){g=e+4|0;g=l[g>>0]|l[g+1>>0]<<8|l[g+2>>0]<<16|l[g+3>>0]<<24;if(g>>>0>=h>>>0)break;e=l[e>>0]|l[e+1>>0]<<8|l[e+2>>0]<<16|l[e+3>>0]<<24;if(!e)break i}if((g|0)==(h|0)){while(1){g=(i[e+8>>0]|0)==1?0:e;e=l[e>>0]|l[e+1>>0]<<8|l[e+2>>0]<<16|l[e+3>>0]<<24;if(!((e|0)!=0&(g|0)==0))break;K=e+4|0;if((l[K>>0]|l[K+1>>0]<<8|l[K+2>>0]<<16|l[K+3>>0]<<24|0)!=(h|0))break i}if(g|0){e=i[g+8>>0]|0;if(!(e<<24>>24))break;K=(l[f+8>>0]|0)-(e&255)|0;if((((K|0)>-1?K:0-K|0)|0)>=3)break;i[g+8>>0]=1;i[g+9>>0]=72;i[g+10>>0]=0;i[g+10+1>>0]=0;i[g+10+2>>0]=0;i[g+10+3>>0]=0}}}}}while(0);d=l[d>>0]|l[d+1>>0]<<8|l[d+2>>0]<<16|l[d+3>>0]<<24}while((d|0)!=0)}}n=n+1|0;d=i[L+328+n>>0]|0}while(d<<24>>24!=0)}}o=(l[a+8>>0]|l[a+8+1>>0]<<8|l[a+8+2>>0]<<16|l[a+8+3>>0]<<24)+8|0;o=(l[o>>0]|l[o+1>>0]<<8|l[o+2>>0]<<16|l[o+3>>0]<<24)+4|0;o=l[o>>0]|l[o+1>>0]<<8|l[o+2>>0]<<16|l[o+3>>0]<<24;k[L+(p+1<<2)>>2]=o;if((p|0)>=0){m=k[L>>2]|0;n=0;do{g=l[a+20>>0]|l[a+20+1>>0]<<8|l[a+20+2>>0]<<16|l[a+20+3>>0]<<24;d=l[a+8>>0]|l[a+8+1>>0]<<8|l[a+8+2>>0]<<16|l[a+8+3>>0]<<24;if(!d)d=0;else{e=l[d+4>>0]|l[d+4+1>>0]<<8|l[d+4+2>>0]<<16|l[d+4+3>>0]<<24;if(!e)d=0;else{d=0;do{f=e+4|0;f=l[f>>0]|l[f+1>>0]<<8|l[f+2>>0]<<16|l[f+3>>0]<<24;if(f>>>0>m>>>0)break;if((i[e+8>>0]|0)==1)if((i[e+9>>0]|0)==80){f=f+d|0;if((f>>>0)%((g*12288|0)>>>0)|0)d=d+(g*12288|0)-(((f+(g*12288|0)|0)>>>0)%((g*12288|0)>>>0)|0)|0}e=l[e>>0]|l[e+1>>0]<<8|l[e+2>>0]<<16|l[e+3>>0]<<24}while((e|0)!=0);d=(((d+m|0)>>>0)/192|0)>>>6}}i[c+(n<<1)>>0]=(d>>>0)/(g>>>0)|0;h=n;n=n+1|0;m=k[L+(n<<2)>>2]|0;g=l[a+20>>0]|l[a+20+1>>0]<<8|l[a+20+2>>0]<<16|l[a+20+3>>0]<<24;d=l[a+8>>0]|l[a+8+1>>0]<<8|l[a+8+2>>0]<<16|l[a+8+3>>0]<<24;if(!d)d=0;else{e=l[d+4>>0]|l[d+4+1>>0]<<8|l[d+4+2>>0]<<16|l[d+4+3>>0]<<24;if(!e)d=0;else{d=0;do{f=e+4|0;f=l[f>>0]|l[f+1>>0]<<8|l[f+2>>0]<<16|l[f+3>>0]<<24;if(f>>>0>m>>>0)break;if((i[e+8>>0]|0)==1)if((i[e+9>>0]|0)==80){f=f+d|0;if((f>>>0)%((g*12288|0)>>>0)|0)d=d+(g*12288|0)-(((f+(g*12288|0)|0)>>>0)%((g*12288|0)>>>0)|0)|0}e=l[e>>0]|l[e+1>>0]<<8|l[e+2>>0]<<16|l[e+3>>0]<<24}while((e|0)!=0);d=(((d+m|0)>>>0)/192|0)>>>6}}i[c+(h<<1)+1>>0]=(d>>>0)/(g>>>0)|0}while((n|0)!=(p+1|0))}g=(l[a+20>>0]|l[a+20+1>>0]<<8|l[a+20+2>>0]<<16|l[a+20+3>>0]<<24)*12288|0;d=l[a+8>>0]|l[a+8+1>>0]<<8|l[a+8+2>>0]<<16|l[a+8+3>>0]<<24;if(!d)d=0;else{e=l[d+4>>0]|l[d+4+1>>0]<<8|l[d+4+2>>0]<<16|l[d+4+3>>0]<<24;if(!e)d=0;else{d=0;do{f=e+4|0;f=l[f>>0]|l[f+1>>0]<<8|l[f+2>>0]<<16|l[f+3>>0]<<24;if(f>>>0>o>>>0)break;if((i[e+8>>0]|0)==1)if((i[e+9>>0]|0)==80){f=f+d|0;if((f>>>0)%(g>>>0)|0)d=d+g-(((f+g|0)>>>0)%(g>>>0)|0)|0}e=l[e>>0]|l[e+1>>0]<<8|l[e+2>>0]<<16|l[e+3>>0]<<24}while((e|0)!=0);d=d+o|0}}if((d>>>0)%(g>>>0)|0|0)i[c+(p<<1)+1>>0]=(i[c+(p<<1)+1>>0]|0)+1<<24>>24;FOa(b,L+328|0);r=L;return}function LOa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;e=k[c>>2]|0;if(!e){k[299464]=128;e=jqb(128,1)|0;k[c>>2]=e}if(b){f=i[b>>0]|0;if(f<<24>>24){g=f;h=b;f=0;do{g=(g<<24>>24)+-65|0;b=i[a+(g<<1)>>0]|0;if((b&255)<(l[a+(g<<1)+1>>0]|0)){b=b&255;do{if((d|0)==(k[299464]|0)){g=d<<1;k[299464]=g;e=kqb(e,g)|0;k[c>>2]=e}i[e+d>>0]=b;d=d+1|0;f=f+1|0;b=b+1|0}while((b|0)<(l[a+((i[h>>0]|0)+-65<<1)+1>>0]|0))}h=h+1|0;g=i[h>>0]|0}while(g<<24>>24!=0);if(f){a=d;return a|0}}}f=i[a+52>>0]|0;if((f&255)>=(l[a+53>>0]|0)){a=d;return a|0}f=f&255;do{if((d|0)==(k[299464]|0)){h=d<<1;k[299464]=h;e=kqb(e,h)|0;k[c>>2]=e}i[e+d>>0]=f;d=d+1|0;f=f+1|0}while((f|0)<(l[a+53>>0]|0));return d|0}function MOa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0;p=r;r=r+320|0;if(!(Dmb(b,524016,8)|0))if(qmb(i[b+8>>0]|0)|0){d=b+8|0;while(1)if(!(qmb(i[d>>0]|0)|0))break;else d=d+1|0;e=i[d>>0]|0;if((e+-48|0)>>>0<10){f=0;g=0;do{f=e+-48+(f*10|0)|0;g=g+1|0;e=i[d+g>>0]|0}while((e+-48|0)>>>0<10);d=(g|0)==0?1:f;if((d|0)<1)d=1;else d=(d|0)>128?128:d}else d=1;n=d+1|0;i[a+372>>0]=n;i[a+372+1>>0]=n>>8;i[a+372+2>>0]=n>>16;i[a+372+3>>0]=n>>24}if(!(Dmb(b,524025,7)|0))if(qmb(i[b+7>>0]|0)|0){d=b+7|0;while(1)if(!(qmb(i[d>>0]|0)|0))break;else d=d+1|0;e=i[d>>0]|0;if((e+-48|0)>>>0<10){f=0;g=0;do{f=e+-48+(f*10|0)|0;g=g+1|0;e=i[d+g>>0]|0}while((e+-48|0)>>>0<10);d=(g|0)==0?1:f;if((d|0)<0)d=0;else d=(d|0)>127?127:d}else d=1;i[a+368>>0]=d;i[a+368+1>>0]=d>>8;i[a+368+2>>0]=d>>16;i[a+368+3>>0]=d>>24}if(!(Dmb(b,524033,4)|0))if(qmb(i[b+4>>0]|0)|0){i[a+32>>0]=127;i[a+33>>0]=125;i[a+34>>0]=110;i[a+35>>0]=1;d=b+4|0;while(1)if(!(qmb(i[d>>0]|0)|0))break;else d=d+1|0;e=i[d>>0]|0;if(e<<24>>24){if(((e<<24>>24)+-48|0)>>>0<10){g=e<<24>>24;e=0;f=0;do{e=g+-48+(e*10|0)|0;f=f+1|0;g=i[d+f>>0]|0}while((g+-48|0)>>>0<10);e=(f|0)==0?1:e;if((e|0)<0){e=0;d=d+f|0}else{e=(e|0)>127?127:e;d=d+f|0}}else e=1;i[a+32>>0]=e}while(1)if(!(qmb(i[d>>0]|0)|0))break;else d=d+1|0;e=i[d>>0]|0;if(e<<24>>24){if(((e<<24>>24)+-48|0)>>>0<10){g=e<<24>>24;e=0;f=0;do{e=g+-48+(e*10|0)|0;f=f+1|0;g=i[d+f>>0]|0}while((g+-48|0)>>>0<10);e=(f|0)==0?1:e;if((e|0)<0){e=0;d=d+f|0}else{e=(e|0)>127?127:e;d=d+f|0}}else e=1;i[a+33>>0]=e}while(1)if(!(qmb(i[d>>0]|0)|0))break;else d=d+1|0;e=i[d>>0]|0;if(e<<24>>24){if(((e<<24>>24)+-48|0)>>>0<10){g=e<<24>>24;e=0;f=0;do{e=g+-48+(e*10|0)|0;f=f+1|0;g=i[d+f>>0]|0}while((g+-48|0)>>>0<10);e=(f|0)==0?1:e;if((e|0)<0){e=0;d=d+f|0}else{e=(e|0)>127?127:e;d=d+f|0}}else e=1;i[a+34>>0]=e}while(1)if(!(qmb(i[d>>0]|0)|0))break;else d=d+1|0;e=i[d>>0]|0;if(!(e<<24>>24))d=i[a+35>>0]|0;else{if(((e<<24>>24)+-48|0)>>>0<10){g=e<<24>>24;e=0;f=0;do{e=g+-48+(e*10|0)|0;f=f+1|0;g=i[d+f>>0]|0}while((g+-48|0)>>>0<10);d=(f|0)==0?1:e;if((d|0)<0)d=0;else d=(d|0)>127?127:d}else d=1;d=d&255;i[a+35>>0]=d}if(!(d<<24>>24))i[a+35>>0]=1}if(!(Dmb(b,524038,10)|0))if(qmb(i[b+10>>0]|0)|0){d=b+4|0;while(1)if(!(qmb(i[d>>0]|0)|0))break;else d=d+1|0;e=l[a+28>>0]|l[a+28+1>>0]<<8|l[a+28+2>>0]<<16|l[a+28+3>>0]<<24;if(e|0)iqb(e);if(!(i[d>>0]|0))d=0;else d=bob(d)|0;i[a+28>>0]=d;i[a+28+1>>0]=d>>8;i[a+28+2>>0]=d>>16;i[a+28+3>>0]=d>>24}if(!(Dmb(b,524049,9)|0))if(qmb(i[b+9>>0]|0)|0){e=i[b+9>>0]|0;a:do if(!(e<<24>>24)){d=b+9|0;e=0}else{d=b+9|0;while(1){if(!(qmb(e<<24>>24)|0))break;d=d+1|0;e=i[d>>0]|0;if(!(e<<24>>24)){e=0;break a}}e=i[d>>0]|0;switch(e<<24>>24){case 0:case 32:{e=0;break a}default:{}}i[p+40>>0]=e;e=i[d+1>>0]|0;switch(e<<24>>24){case 0:case 32:{d=d+1|0;e=1;break a}default:{}}i[p+40+1>>0]=e;e=i[d+2>>0]|0;switch(e<<24>>24){case 0:case 32:{d=d+2|0;e=2;break a}default:{}}i[p+40+2>>0]=e;e=i[d+3>>0]|0;switch(e<<24>>24){case 0:case 32:{d=d+3|0;e=3;break a}default:{}}i[p+40+3>>0]=e;e=i[d+4>>0]|0;switch(e<<24>>24){case 0:case 32:{d=d+4|0;e=4;break a}default:{}}i[p+40+4>>0]=e;e=i[d+5>>0]|0;switch(e<<24>>24){case 0:case 32:{d=d+5|0;e=5;break a}default:{}}i[p+40+5>>0]=e;e=i[d+6>>0]|0;switch(e<<24>>24){case 0:case 32:{d=d+6|0;e=6;break a}default:{}}i[p+40+6>>0]=e;e=i[d+7>>0]|0;switch(e<<24>>24){case 0:case 32:{d=d+7|0;e=7;break a}default:{}}i[p+40+7>>0]=e;e=i[d+8>>0]|0;switch(e<<24>>24){case 0:case 32:{d=d+8|0;e=8;break a}default:{}}i[p+40+8>>0]=e;e=i[d+9>>0]|0;switch(e<<24>>24){case 0:case 32:{d=d+9|0;e=9;break a}default:{}}i[p+40+9>>0]=e;e=i[d+10>>0]|0;switch(e<<24>>24){case 0:case 32:{d=d+10|0;e=10;break a}default:{}}i[p+40+10>>0]=e;e=i[d+11>>0]|0;switch(e<<24>>24){case 0:case 32:{d=d+11|0;e=11;break a}default:{}}i[p+40+11>>0]=e;e=i[d+12>>0]|0;switch(e<<24>>24){case 0:case 32:{d=d+12|0;e=12;break a}default:{}}i[p+40+12>>0]=e;e=i[d+13>>0]|0;switch(e<<24>>24){case 0:case 32:{d=d+13|0;e=13;break a}default:{}}i[p+40+13>>0]=e;e=i[d+14>>0]|0;switch(e<<24>>24){case 0:case 32:{d=d+14|0;e=14;break a}default:{}}i[p+40+14>>0]=e;e=i[d+15>>0]|0;switch(e<<24>>24){case 0:case 32:{d=d+15|0;e=15;break a}default:{}}i[p+40+15>>0]=e;e=i[d+16>>0]|0;switch(e<<24>>24){case 0:case 32:{d=d+16|0;e=16;break a}default:{}}i[p+40+16>>0]=e;e=i[d+17>>0]|0;switch(e<<24>>24){case 0:case 32:{d=d+17|0;e=17;break a}default:{}}i[p+40+17>>0]=e;e=i[d+18>>0]|0;switch(e<<24>>24){case 0:case 32:{d=d+18|0;e=18;break a}default:{}}i[p+40+18>>0]=e;d=d+19|0;e=19}while(0);i[p+40+e>>0]=0;if((i[d>>0]|0)==32){b:do if(!(qmb(32)|0))d=0;else{e=d;d=0;do{f=i[e>>0]|0;c:do if(!(f<<24>>24)){j=e;e=0}else{while(1){if(!(qmb(f<<24>>24)|0))break;e=e+1|0;f=i[e>>0]|0;if(!(f<<24>>24)){j=e;e=0;break c}}j=e;e=i[e>>0]|0}while(0);h=p+16+(d<<2)|0;e=e<<24>>24;if((e+-48|0)>>>0<10){f=0;g=0;do{f=e+-48+(f*10|0)|0;g=g+1|0;e=i[j+g>>0]|0}while((e+-48|0)>>>0<10);e=g}else{f=0;e=0}k[h>>2]=(e|0)==0?1:f;e=j+e|0;d=d+1|0;if((d|0)>=7)break b}while((qmb(i[e>>0]|0)|0)!=0)}while(0);yOa(p+40|0,d,p+16|0)}else if(((Fnb(d)|0)+45|0)>>>0<=255){k[p>>2]=d;Fmb(p+64|0,524059,p)|0;n=k[37151]|0;k[p+8>>2]=p+64;Cob(n,522043,p+8|0)|0}}if(!(Dmb(b,524105,9)|0))if(qmb(i[b+9>>0]|0)|0){d=b+9|0;while(1)if(!(qmb(i[d>>0]|0)|0))break;else d=d+1|0;e=i[d>>0]|0;if((e+-48|0)>>>0<10){f=0;g=0;do{f=e+-48+(f*10|0)|0;g=g+1|0;e=i[d+g>>0]|0}while((e+-48|0)>>>0<10);d=(g|0)==0?1:f;if((d|0)<1)d=1;else d=(d|0)>128?128:d}else d=1;n=d+1|0;i[a+364>>0]=n;i[a+364+1>>0]=n>>8;i[a+364+2>>0]=n>>16;i[a+364+3>>0]=n>>24}if(!(Dmb(b,524115,8)|0))if(qmb(i[b+8>>0]|0)|0){d=b+8|0;while(1)if(!(qmb(i[d>>0]|0)|0))break;else d=d+1|0;e=i[d>>0]|0;if((e+-48|0)>>>0<10){f=0;g=0;do{f=e+-48+(f*10|0)|0;g=g+1|0;e=i[d+g>>0]|0}while((e+-48|0)>>>0<10);d=(g|0)==0?1:f;if((d|0)<0)d=0;else d=(d|0)>127?127:d}else d=1;i[a+360>>0]=d;i[a+360+1>>0]=d>>8;i[a+360+2>>0]=d>>16;i[a+360+3>>0]=d>>24}do if(!(Dmb(b,524124,5)|0))if(qmb(i[b+5>>0]|0)|0){d=b+5|0;while(1)if(!(qmb(i[d>>0]|0)|0))break;else d=d+1|0;e=i[d>>0]|0;if((e+-48|0)>>>0<10){f=0;g=0;do{f=e+-48+(f*10|0)|0;g=g+1|0;e=i[d+g>>0]|0}while((e+-48|0)>>>0<10);e=g}else{f=0;e=0}n=(e|0)==0?1:f;k[a+392>>2]=(n|0)>-1&(n+1|0)<129?n+1|0:71;d=d+e|0;while(1)if(!(qmb(i[d>>0]|0)|0))break;else d=d+1|0;e=i[d>>0]|0;if((e+-48|0)>>>0<10){f=0;g=0;do{f=e+-48+(f*10|0)|0;g=g+1|0;e=i[d+g>>0]|0}while((e+-48|0)>>>0<10);e=(g|0)==0?1:f;d=d+g|0;e=(e+-1|0)>>>0<126?e:45}else e=1;k[a+396>>2]=e;while(1)if(!(qmb(i[d>>0]|0)|0))break;else d=d+1|0;e=i[d>>0]|0;if((e+-48|0)>>>0<10){f=0;g=0;do{f=e+-48+(f*10|0)|0;g=g+1|0;e=i[d+g>>0]|0}while((e+-48|0)>>>0<10);e=(g|0)==0?1:f;if((e+-1|0)>>>0<126){f=a+400|0;d=d+g|0;o=110}else{k[a+400>>2]=33;d=d+g|0}}else{e=1;f=a+400|0;o=110}if((o|0)==110)k[f>>2]=e;while(1)if(!(qmb(i[d>>0]|0)|0))break;else d=d+1|0;e=i[d>>0]|0;if((e+-48|0)>>>0<10){f=0;g=0;do{f=e+-48+(f*10|0)|0;g=g+1|0;e=i[d+g>>0]|0}while((e+-48|0)>>>0<10);e=(g|0)==0?1:f;d=d+g|0;e=(e+-1|0)>>>0<126?e:80}else e=1;k[a+404>>2]=e;while(1)if(!(qmb(i[d>>0]|0)|0))break;else d=d+1|0;e=i[d>>0]|0;if((e+-48|0)>>>0<10){f=0;g=0;do{f=e+-48+(f*10|0)|0;g=g+1|0;e=i[d+g>>0]|0}while((e+-48|0)>>>0<10);d=(g|0)==0?1:f;if((d+-1|0)>>>0<126)e=a+408|0;else{k[a+408>>2]=80;break}}else{d=1;e=a+408|0}k[e>>2]=d}while(0);do if(!(Dmb(b,524130,8)|0)){d=i[b+8>>0]|0;if(!(d<<24>>24==0?1:d<<24>>24==c<<24>>24))if(!(qmb(d<<24>>24)|0))break;i[a+388>>0]=0;i[a+388+1>>0]=0;i[a+388+2>>0]=0;i[a+388+3>>0]=0}while(0);do if(!(Dmb(b,524139,7)|0)){d=i[b+7>>0]|0;if(!(d<<24>>24==0?1:d<<24>>24==c<<24>>24))if(!(qmb(d<<24>>24)|0))break;i[a+388>>0]=1;i[a+388+1>>0]=0;i[a+388+2>>0]=0;i[a+388+3>>0]=0}while(0);n=l[a+380>>0]|l[a+380+1>>0]<<8|l[a+380+2>>0]<<16|l[a+380+3>>0]<<24;d:do if(!(Dmb(b,524147,4)|0))if(qmb(i[b+4>>0]|0)|0){d=b+4|0;while(1)if(!(qmb(i[d>>0]|0)|0))break;else d=d+1|0;if(!(Dmb(d,523809,2)|0))if(!(qmb(i[d+2>>0]|0)|0))if(!(i[d+2>>0]|0))d=1;else o=138;else d=1;else o=138;do if((o|0)==138){if(!(Dmb(d,523812,3)|0)){if(qmb(i[d+3>>0]|0)|0){d=0;break}if(!(i[d+3>>0]|0)){d=0;break}}e=i[d>>0]|0;if(!(e<<24>>24))i[a+116>>0]=0;else{g=0;j=a+116|0;while(1){if(qmb(e<<24>>24)|0){m=g;e=j;break}e=i[d>>0]|0;if(!(Cmb(524152,e<<24>>24,13)|0)){m=g;e=j;break}f=j+1|0;i[j>>0]=e;h=d+1|0;if(((i[d>>0]|0)+-48|0)>>>0>=10){if(((i[h>>0]|0)+-48|0)>>>0<10)d=f;else{i[f>>0]=49;d=j+2|0}g=g+1|0;f=d}e=i[h>>0]|0;if(!(e<<24>>24)){d=h;m=g;e=f;break}else{d=h;j=f}}i[e>>0]=0;if((m|0)>0){h=0;do{if((i[(h<<1)+(a+116)>>0]|0)==100){while(1)if(!(qmb(i[d>>0]|0)|0))break;else d=d+1|0;e=i[d>>0]|0;do if((e+-48|0)>>>0<10){f=0;g=0;do{f=e+-48+(f*10|0)|0;g=g+1|0;e=i[d+g>>0]|0}while((e+-48|0)>>>0<10);d=d+g|0;e=(g|0)==0?1:f}else{if(qmb(e)|0){e=0;break}do d=d+1|0;while((qmb(i[d>>0]|0)|0)==0);e=0}while(0);i[a+196+h>>0]=e+1}else i[a+196+h>>0]=0;h=h+1|0}while((h|0)!=(m|0));h=0;do{if((i[(h<<1)+(a+116)>>0]|0)==100){while(1)if(!(qmb(i[d>>0]|0)|0))break;else d=d+1|0;e=i[d>>0]|0;do if((e+-48|0)>>>0<10){f=0;g=0;do{f=e+-48+(f*10|0)|0;g=g+1|0;e=i[d+g>>0]|0}while((e+-48|0)>>>0<10);d=d+g|0;e=(g|0)==0?1:f}else{if(qmb(e)|0){e=0;break}do d=d+1|0;while((qmb(i[d>>0]|0)|0)==0);e=0}while(0);i[a+276+h>>0]=e}else i[a+276+h>>0]=0;h=h+1|0}while((h|0)!=(m|0))}}i[a+380>>0]=n;i[a+380+1>>0]=n>>8;i[a+380+2>>0]=n>>16;i[a+380+3>>0]=n>>24;break d}while(0);i[a+380>>0]=d;i[a+380+1>>0]=d>>8;i[a+380+2>>0]=d>>16;i[a+380+3>>0]=d>>24}while(0);do if(!(Dmb(b,524165,7)|0)){d=i[b+7>>0]|0;if(!(d<<24>>24==0?1:d<<24>>24==c<<24>>24))if(!(qmb(d<<24>>24)|0))break;i[a+380>>0]=0;i[a+380+1>>0]=0;i[a+380+2>>0]=0;i[a+380+3>>0]=0}while(0);do if(!(Dmb(b,524173,6)|0)){d=i[b+6>>0]|0;if(!(d<<24>>24==0?1:d<<24>>24==c<<24>>24))if(!(qmb(d<<24>>24)|0)){o=181;break}i[a+380>>0]=1;i[a+380+1>>0]=0;i[a+380+2>>0]=0;i[a+380+3>>0]=0;e=1}else o=181;while(0);if((o|0)==181)e=l[a+380>>0]|l[a+380+1>>0]<<8|l[a+380+2>>0]<<16|l[a+380+3>>0]<<24;do if((n|0)!=(e|0)){d=l[a+420>>0]|l[a+420+1>>0]<<8|l[a+420+2>>0]<<16|l[a+420+3>>0]<<24;if(!e)o=186;else if(!d){d=l[a+8>>0]|l[a+8+1>>0]<<8|l[a+8+2>>0]<<16|l[a+8+3>>0]<<24;i[a+420>>0]=d;i[a+420+1>>0]=d>>8;i[a+420+2>>0]=d>>16;i[a+420+3>>0]=d>>24;o=186}if((o|0)==186)if(!d)break;f=l[a+424>>0]|l[a+424+1>>0]<<8|l[a+424+2>>0]<<16|l[a+424+3>>0]<<24;d=BOa(a,d+44|0,8)|0;e=l[d+8>>0]|l[d+8+1>>0]<<8|l[d+8+2>>0]<<16|l[d+8+3>>0]<<24;do if(!e)o=192;else if((l[e+4>>0]|l[e+4+1>>0]<<8|l[e+4+2>>0]<<16|l[e+4+3>>0]<<24|0)!=(f|0))if((i[e+8>>0]|0)==1){if((i[e+9>>0]|0)!=83){o=192;break}i[e+4>>0]=f;i[e+4+1>>0]=f>>8;i[e+4+2>>0]=f>>16;i[e+4+3>>0]=f>>24}else o=192;while(0);if((o|0)==192){n=jqb(1,16)|0;i[n>>0]=0;i[n+1>>0]=0;i[n+2>>0]=0;i[n+3>>0]=0;i[n+4>>0]=f;i[n+4+1>>0]=f>>8;i[n+4+2>>0]=f>>16;i[n+4+3>>0]=f>>24;i[n+8>>0]=1;i[n+9>>0]=83;i[n+10>>0]=0;i[n+10+1>>0]=0;i[n+10+2>>0]=0;i[n+10+3>>0]=0;i[n+14>>0]=i[1274943]|0;i[n+15>>0]=0;DOa(d,n)}if(l[a+420>>0]|l[a+420+1>>0]<<8|l[a+420+2>>0]<<16|l[a+420+3>>0]<<24|0)if(!(l[a+380>>0]|l[a+380+1>>0]<<8|l[a+380+2>>0]<<16|l[a+380+3>>0]<<24)){i[a+420>>0]=0;i[a+420+1>>0]=0;i[a+420+2>>0]=0;i[a+420+3>>0]=0}}while(0);e=l[a+384>>0]|l[a+384+1>>0]<<8|l[a+384+2>>0]<<16|l[a+384+3>>0]<<24;do if(!(Dmb(b,524180,6)|0)){d=i[b+6>>0]|0;if(!(d<<24>>24==0?1:d<<24>>24==c<<24>>24))if(!(qmb(d<<24>>24)|0))break;d=IOa(b+6|0,a)|0;i[a+384>>0]=d;i[a+384+1>>0]=d>>8;i[a+384+2>>0]=d>>16;i[a+384+3>>0]=d>>24;if(!d){i[a+384>>0]=e;i[a+384+1>>0]=e>>8;i[a+384+2>>0]=e>>16;i[a+384+3>>0]=e>>24;break}else{i[a+384>>0]=d+-1;i[a+384+1>>0]=d+-1>>8;i[a+384+2>>0]=d+-1>>16;i[a+384+3>>0]=d+-1>>24;break}}while(0);do if(!(Dmb(b,524187,9)|0)){d=i[b+9>>0]|0;if(!(d<<24>>24==0?1:d<<24>>24==c<<24>>24))if(!(qmb(d<<24>>24)|0))break;i[a+384>>0]=0;i[a+384+1>>0]=0;i[a+384+2>>0]=0;i[a+384+3>>0]=0}while(0);do if(!(Dmb(b,524197,8)|0)){d=i[b+8>>0]|0;if(!(d<<24>>24==0?1:d<<24>>24==c<<24>>24))if(!(qmb(d<<24>>24)|0))break;i[a+384>>0]=1;i[a+384+1>>0]=0;i[a+384+2>>0]=0;i[a+384+3>>0]=0}while(0);if((e|0)!=(l[a+384>>0]|l[a+384+1>>0]<<8|l[a+384+2>>0]<<16|l[a+384+3>>0]<<24|0)){d=l[a+416>>0]|l[a+416+1>>0]<<8|l[a+416+2>>0]<<16|l[a+416+3>>0]<<24;if(d|0){e=l[a+424>>0]|l[a+424+1>>0]<<8|l[a+424+2>>0]<<16|l[a+424+3>>0]<<24;h=1;do{f=BOa(a,d+44|0,h)|0;g=l[f+8>>0]|l[f+8+1>>0]<<8|l[f+8+2>>0]<<16|l[f+8+3>>0]<<24;do if(!g)o=218;else{if((l[g+4>>0]|l[g+4+1>>0]<<8|l[g+4+2>>0]<<16|l[g+4+3>>0]<<24|0)==(e|0))break;if((i[g+8>>0]|0)!=1){o=218;break}if((i[g+9>>0]|0)!=83){o=218;break}i[g+4>>0]=e;i[g+4+1>>0]=e>>8;i[g+4+2>>0]=e>>16;i[g+4+3>>0]=e>>24}while(0);if((o|0)==218){o=0;n=jqb(1,16)|0;i[n>>0]=0;i[n+1>>0]=0;i[n+2>>0]=0;i[n+3>>0]=0;i[n+4>>0]=e;i[n+4+1>>0]=e>>8;i[n+4+2>>0]=e>>16;i[n+4+3>>0]=e>>24;i[n+8>>0]=1;i[n+9>>0]=83;i[n+10>>0]=0;i[n+10+1>>0]=0;i[n+10+2>>0]=0;i[n+10+3>>0]=0;i[n+14>>0]=i[1274943]|0;i[n+15>>0]=0;DOa(f,n)}h=h+1|0}while((h|0)!=8)}}do if(!(Dmb(b,524206,7)|0)){if(!(qmb(i[b+7>>0]|0)|0))break;d=l[a+412>>0]|l[a+412+1>>0]<<8|l[a+412+2>>0]<<16|l[a+412+3>>0]<<24;if(!d){d=BOa(a,1279174,0)|0;n=l[a+376>>0]|l[a+376+1>>0]<<8|l[a+376+2>>0]<<16|l[a+376+3>>0]<<24;i[d+20>>0]=n;i[d+20+1>>0]=n>>8;i[d+20+2>>0]=n>>16;i[d+20+3>>0]=n>>24;i[a+412>>0]=d;i[a+412+1>>0]=d>>8;i[a+412+2>>0]=d>>16;i[a+412+3>>0]=d>>24;if(!d)h=1;else o=225}else{i[a+412>>0]=d;i[a+412+1>>0]=d>>8;i[a+412+2>>0]=d>>16;i[a+412+3>>0]=d>>24;o=225}if((o|0)==225)h=l[d+36>>0]|0;e=i[b+8>>0]|0;e:do if(!(e<<24>>24)){g=b+8|0;d=0}else{d=b+8|0;while(1){if(!(qmb(e<<24>>24)|0))break;d=d+1|0;e=i[d>>0]|0;if(!(e<<24>>24)){g=d;d=0;break e}}g=d;d=i[d>>0]|0}while(0);d=d<<24>>24;if((d+-48|0)>>>0<10){e=0;f=0}else break;do{e=d+-48+(e*10|0)|0;f=f+1|0;d=i[g+f>>0]|0}while((d+-48|0)>>>0<10);e=(f|0)==0?1:e;if(!((h+-1|0)>>>0<32&(e+-1|0)>>>0<16))break;d=l[a+8>>0]|l[a+8+1>>0]<<8|l[a+8+2>>0]<<16|l[a+8+3>>0]<<24;if(!d)break;do{do if((l[d+36>>0]|0)==(h|0)){if(((i[d+37>>0]|0)+-1&255)<=9)break;i[d+40>>0]=e}while(0);d=l[d>>0]|l[d+1>>0]<<8|l[d+2>>0]<<16|l[d+3>>0]<<24}while((d|0)!=0)}while(0);do if(!(Dmb(b,524214,7)|0)){if(!(qmb(i[b+7>>0]|0)|0))break;d=l[a+412>>0]|l[a+412+1>>0]<<8|l[a+412+2>>0]<<16|l[a+412+3>>0]<<24;if(!d){d=BOa(a,1279174,0)|0;n=l[a+376>>0]|l[a+376+1>>0]<<8|l[a+376+2>>0]<<16|l[a+376+3>>0]<<24;i[d+20>>0]=n;i[d+20+1>>0]=n>>8;i[d+20+2>>0]=n>>16;i[d+20+3>>0]=n>>24;i[a+412>>0]=d;i[a+412+1>>0]=d>>8;i[a+412+2>>0]=d>>16;i[a+412+3>>0]=d>>24;if(!d)m=1;else o=244}else{i[a+412>>0]=d;i[a+412+1>>0]=d>>8;i[a+412+2>>0]=d>>16;i[a+412+3>>0]=d>>24;o=244}if((o|0)==244)m=l[d+36>>0]|0;e=i[b+8>>0]|0;f:do if(!(e<<24>>24)){j=b+8|0;d=0}else{d=b+8|0;while(1){if(!(qmb(e<<24>>24)|0))break;d=d+1|0;e=i[d>>0]|0;if(!(e<<24>>24)){j=d;d=0;break f}}j=d;d=i[d>>0]|0}while(0);d=d<<24>>24;if((d+-48|0)>>>0<10){e=0;f=0}else break;while(1){g=d+-48+(e*10|0)|0;f=f+1|0;h=j+f|0;e=i[h>>0]|0;d=e<<24>>24;if((d+-48|0)>>>0>=10)break;else e=g}f=(f|0)==0?1:g;g:do if(!(e<<24>>24))d=0;else{d=h;while(1){if(!(qmb(e<<24>>24)|0))break;d=d+1|0;e=i[d>>0]|0;if(!(e<<24>>24)){h=d;d=0;break g}}h=d;d=i[d>>0]|0}while(0);d=d<<24>>24;if((d+-48|0)>>>0<10){e=0;g=0;do{e=d+-48+(e*10|0)|0;g=g+1|0;d=i[h+g>>0]|0}while((d+-48|0)>>>0<10);e=(g|0)==0?1:e}else{e=f;f=m}if(!(e>>>0<128&(f+-1|0)>>>0<32))break;d=l[a+8>>0]|l[a+8+1>>0]<<8|l[a+8+2>>0]<<16|l[a+8+3>>0]<<24;if(!d)break;e=e+1&255;do{do if((l[d+36>>0]|0)==(f|0)){if(((i[d+37>>0]|0)+-1&255)<=9)break;i[d+42>>0]=e}while(0);d=l[d>>0]|l[d+1>>0]<<8|l[d+2>>0]<<16|l[d+3>>0]<<24}while((d|0)!=0)}while(0);do if(!(Dmb(b,524222,5)|0)){if(!(qmb(i[b+5>>0]|0)|0))break;d=l[a+412>>0]|l[a+412+1>>0]<<8|l[a+412+2>>0]<<16|l[a+412+3>>0]<<24;if(!d){d=BOa(a,1279174,0)|0;o=l[a+376>>0]|l[a+376+1>>0]<<8|l[a+376+2>>0]<<16|l[a+376+3>>0]<<24;i[d+20>>0]=o;i[d+20+1>>0]=o>>8;i[d+20+2>>0]=o>>16;i[d+20+3>>0]=o>>24}i[a+412>>0]=d;i[a+412+1>>0]=d>>8;i[a+412+2>>0]=d>>16;i[a+412+3>>0]=d>>24;e=i[b+6>>0]|0;h:do if(!(e<<24>>24))f=b+6|0;else{f=b+6|0;do{if(!(qmb(e<<24>>24)|0))break h;f=f+1|0;e=i[f>>0]|0}while(e<<24>>24!=0)}while(0);i:do if(Dmb(f,524228,11)|0){if(!(Dmb(f,524240,4)|0))break;d=BOa(a,f,0)|0;e=i[f>>0]|0;if(!(e<<24>>24))break;while(1){if(qmb(e<<24>>24)|0)break;f=f+1|0;e=i[f>>0]|0;if(!(e<<24>>24))break i}e=i[f>>0]|0;if(!(e<<24>>24))break;do{if(!(qmb(e<<24>>24)|0))break i;f=f+1|0;e=i[f>>0]|0}while(e<<24>>24!=0)}while(0);n=(d|0)!=0;if(n)o=l[d+36>>0]|0;else o=1;j:do if(!(Dmb(f,524228,11)|0)){e=i[f+11>>0]|0;if((e+-48|0)>>>0<10){g=0;h=0}else{h=0;break}while(1){g=e+-48+(g*10|0)|0;j=h+1|0;h=f+(h+12)|0;m=i[h>>0]|0;e=m<<24>>24;if((e+-48|0)>>>0>=10)break;else h=j}g=(j|0)==0?1:g;k:do if(!(m<<24>>24))f=h;else{f=h;e=m;do{if(!(qmb(e<<24>>24)|0))break k;f=f+1|0;e=i[f>>0]|0}while(e<<24>>24!=0)}while(0);if(Dmb(f,524245,5)|0){h=g;break}if(((i[f+5>>0]|0)+-48|0)>>>0>=10){h=g;break}e=i[f>>0]|0;if(!(e<<24>>24)){h=g;break}while(1){if(qmb(e<<24>>24)|0)break;f=f+1|0;e=i[f>>0]|0;if(!(e<<24>>24)){h=g;break j}}e=i[f>>0]|0;if(!(e<<24>>24)){h=g;break}while(1){if(!(qmb(e<<24>>24)|0)){h=g;break j}f=f+1|0;e=i[f>>0]|0;if(!(e<<24>>24)){h=g;break}}}else h=0;while(0);do if(n){e=l[a+8>>0]|l[a+8+1>>0]<<8|l[a+8+2>>0]<<16|l[a+8+3>>0]<<24;if(!e)break;g=i[d+36>>0]|0;do{if((i[e+36>>0]|0)==g<<24>>24)i[e+39>>0]=0;e=l[e>>0]|l[e+1>>0]<<8|l[e+2>>0]<<16|l[e+3>>0]<<24}while((e|0)!=0)}while(0);l:do if(!(Dmb(f,524240,4)|0)){e=i[f+4>>0]|0;switch(e<<24>>24){case 37:case 0:{if(!n)break l;break}default:if(!(n&(qmb(e<<24>>24)|0)!=0))break l}f=l[a+8>>0]|l[a+8+1>>0]<<8|l[a+8+2>>0]<<16|l[a+8+3>>0]<<24;if(!f)break;e=i[d+36>>0]|0;d=f;do{if((i[d+36>>0]|0)==e<<24>>24)i[d+39>>0]=1;d=l[d>>0]|l[d+1>>0]<<8|l[d+2>>0]<<16|l[d+3>>0]<<24}while((d|0)!=0)}while(0);if(!((o+-1|0)>>>0<32&(h+-1|0)>>>0<128))break;d=l[a+8>>0]|l[a+8+1>>0]<<8|l[a+8+2>>0]<<16|l[a+8+3>>0]<<24;if(!d)break;e=h&255;do{do if((l[d+36>>0]|0)==(o|0)){if(((i[d+37>>0]|0)+-1&255)<=9)break;i[d+42>>0]=e}while(0);d=l[d>>0]|l[d+1>>0]<<8|l[d+2>>0]<<16|l[d+3>>0]<<24}while((d|0)!=0)}while(0);if(Dmb(b,524251,6)|0){r=p;return}d=i[b+6>>0]|0;do if(!(d<<24>>24==0?1:d<<24>>24==c<<24>>24)){if(qmb(d<<24>>24)|0)break;r=p;return}while(0);d=l[a+412>>0]|l[a+412+1>>0]<<8|l[a+412+2>>0]<<16|l[a+412+3>>0]<<24;if(!d){f=BOa(a,1279174,0)|0;c=l[a+376>>0]|l[a+376+1>>0]<<8|l[a+376+2>>0]<<16|l[a+376+3>>0]<<24;i[f+20>>0]=c;i[f+20+1>>0]=c>>8;i[f+20+2>>0]=c>>16;i[f+20+3>>0]=c>>24}else f=d;i[a+412>>0]=f;i[a+412+1>>0]=f>>8;i[a+412+2>>0]=f>>16;i[a+412+3>>0]=f>>24;e=i[b+6>>0]|0;m:do if(!(e<<24>>24))d=b+6|0;else{d=b+6|0;do{if(!(qmb(e<<24>>24)|0))break m;d=d+1|0;e=i[d>>0]|0}while(e<<24>>24!=0)}while(0);b=(Dmb(d,523812,3)|0)!=0&1;i[f+43>>0]=b;r=p;return}function NOa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;j=r;r=r+16|0;if((c|0)>11){e=((((10-c|0)>-13?10-c|0:-13)+c+1|0)>>>0)/12|0;c=c+-11+(ha(e,-12)|0)|0}else{c=c+1|0;e=-1}if((c|0)<0){h=((((c|0)>-12?c+11|0:-1)-c|0)>>>0)/12|0;c=c+(h*12|0)+12|0;e=e+-1-h|0}h=c+23&255;i[j>>0]=h;f=(e|0)<0?0:e&255;i[j+1>>0]=f;g=(JOa(l[a+42>>0]|0)|0)&255;i[j+2>>0]=g;if(!(i[a+39>>0]|0)){c=l[a+32>>0]|l[a+32+1>>0]<<8|l[a+32+2>>0]<<16|l[a+32+3>>0]<<24;if(!c)c=d;else{e=l[a+28>>0]|l[a+28+1>>0]<<8|l[a+28+2>>0]<<16|l[a+28+3>>0]<<24;if(e>>>0>b>>>0)c=d;else{e=((c|0)>-2?((((b-e|0)>>>0)/192|0)*15|0)>>>0>6143:0)?15:(((((b-e|0)>>>0)/192|0)*15|0)>>>0)/384|0;c=((c|0)>0?e:0-e|0)+d|0;c=(c|0)<2?2:c;c=(c|0)>127?127:c}}}else c=0;c=c&255;i[j+3>>0]=c;i[j+4>>0]=0;i[j+5>>0]=0;e=l[a+8>>0]|l[a+8+1>>0]<<8|l[a+8+2>>0]<<16|l[a+8+3>>0]<<24;if(e|0)if((l[e+4>>0]|l[e+4+1>>0]<<8|l[e+4+2>>0]<<16|l[e+4+3>>0]<<24|0)==(b|0))if(!(i[e+8>>0]|0))if(!(i[e+9>>0]|0)){i[e+8>>0]=h;i[(l[a+8>>0]|l[a+8+1>>0]<<8|l[a+8+2>>0]<<16|l[a+8+3>>0]<<24)+9>>0]=f;i[(l[a+8>>0]|l[a+8+1>>0]<<8|l[a+8+2>>0]<<16|l[a+8+3>>0]<<24)+10>>0]=g;i[(l[a+8>>0]|l[a+8+1>>0]<<8|l[a+8+2>>0]<<16|l[a+8+3>>0]<<24)+11>>0]=c;i[(l[a+8>>0]|l[a+8+1>>0]<<8|l[a+8+2>>0]<<16|l[a+8+3>>0]<<24)+12>>0]=0;i[(l[a+8>>0]|l[a+8+1>>0]<<8|l[a+8+2>>0]<<16|l[a+8+3>>0]<<24)+13>>0]=0;r=j;return}d=jqb(1,16)|0;i[d>>0]=0;i[d+1>>0]=0;i[d+2>>0]=0;i[d+3>>0]=0;i[d+4>>0]=b;i[d+4+1>>0]=b>>8;i[d+4+2>>0]=b>>16;i[d+4+3>>0]=b>>24;i[d+8>>0]=i[j>>0]|0;i[d+8+1>>0]=i[j+1>>0]|0;i[d+8+2>>0]=i[j+2>>0]|0;i[d+8+3>>0]=i[j+3>>0]|0;i[d+8+4>>0]=i[j+4>>0]|0;i[d+8+5>>0]=i[j+5>>0]|0;i[d+14>>0]=i[1274943]|0;i[d+15>>0]=0;DOa(a,d);r=j;return}function OOa(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0;v=r;r=r+288|0;o=l[a+412>>0]|l[a+412+1>>0]<<8|l[a+412+2>>0]<<16|l[a+412+3>>0]<<24;a:do switch(b|0){case 94:{b=i[c>>0]|0;if(b<<24>>24==94){m=120;j=2;t=i[c+1>>0]|0;break a}else{m=94;j=1;t=b<<24>>24;break a}}case 95:{b=i[c>>0]|0;if(b<<24>>24==95){m=98;j=2;t=i[c+1>>0]|0;break a}else{m=95;j=1;t=b<<24>>24;break a}}case 61:{m=61;j=1;t=i[c>>0]|0;break}default:{m=b;j=0;t=b}}while(0);b=0;while(1){if((t|0)==(i[e+b>>0]|0)){s=b;break}b=b+1|0;if((b|0)>=51){s=b;break}}b:do if(!j){b=(s|0)>24?s+-25|0:s;u=23}else{b=0;while(1){if((t|0)==(i[522394+b>>0]|0))break;b=b+1|0;if((b|0)>=25){u=29;break b}}switch(m|0){case 120:{b=b+1|0;u=17;break}case 94:{u=17;break}case 98:{b=b+-1|0;u=19;break}case 95:{u=19;break}default:{}}if((u|0)==17)b=b+1|0;else if((u|0)==19)b=b+-1|0;if((s|0)<25)i[e+s>>0]=32;i[e+b>>0]=t;u=23}while(0);if((u|0)==23)if((b|0)<25){b=(l[o+20>>0]|l[o+20+1>>0]<<8|l[o+20+2>>0]<<16|l[o+20+3>>0]<<24)+b|0;if((b|0)>12){m=b+-12+(ha(((b+-13|0)>>>0)/12|0,-12)|0)|0;b=(((b+-13|0)>>>0)/12|0)+4|0}else{m=b;b=3}if((m|0)<0){q=((((m|0)>-12?m+11|0:-1)-m|0)>>>0)/12|0;m=m+(q*12|0)+12|0;b=b+-1-q|0}n=m+23&255;i[v+12>>0]=n;m=b}else u=29;if((u|0)==29){i[v+12>>0]=0;n=0;m=3}b=i[c+j>>0]|0;c:do if(b<<24>>24)do{if(!(Cmb(524541,b<<24>>24,3)|0))break c;m=(b<<24>>24==44?-1:1)+m|0;j=j+1|0;i[o+24>>0]=0;i[o+24+1>>0]=0;i[o+24+2>>0]=0;i[o+24+3>>0]=0;b=i[c+j>>0]|0}while(b<<24>>24!=0);while(0);b=l[o+24>>0]|l[o+24+1>>0]<<8|l[o+24+2>>0]<<16|l[o+24+3>>0]<<24;if(b|0){q=(l[o+20>>0]|l[o+20+1>>0]<<8|l[o+20+2>>0]<<16|l[o+20+3>>0]<<24)+(b*12|0)|0;i[o+20>>0]=q;i[o+20+1>>0]=q>>8;i[o+20+2>>0]=q>>16;i[o+20+3>>0]=q>>24}q=b+m|0;i[o+24>>0]=0;i[o+24+1>>0]=0;i[o+24+2>>0]=0;i[o+24+3>>0]=0;q=(q|0)<0?0:q;q=(q|0)>9?9:q;i[v+12+1>>0]=q;p=(JOa(l[o+42>>0]|0)|0)&255;i[v+12+2>>0]=p;if(!(i[o+39>>0]|0)){m=l[o+32>>0]|l[o+32+1>>0]<<8|l[o+32+2>>0]<<16|l[o+32+3>>0]<<24;if(!m)b=f;else{b=l[o+28>>0]|l[o+28+1>>0]<<8|l[o+28+2>>0]<<16|l[o+28+3>>0]<<24;if(b>>>0>d>>>0)b=f;else{b=((m|0)>-2?((((d-b|0)>>>0)/192|0)*15|0)>>>0>6143:0)?15:(((((d-b|0)>>>0)/192|0)*15|0)>>>0)/384|0;b=((m|0)>0?b:0-b|0)+f|0;b=(b|0)<2?2:b;b=(b|0)>127?127:b}}}else b=0;i[v+12+3>>0]=b;i[v+12+4>>0]=g;i[v+12+5>>0]=h;p=n<<24>>24;f=l[a+412>>0]|l[a+412+1>>0]<<8|l[a+412+2>>0]<<16|l[a+412+3>>0]<<24;g=i[f+36>>0]|0;h=i[f+37>>0]|0;o=l[a+8>>0]|l[a+8+1>>0]<<8|l[a+8+2>>0]<<16|l[a+8+3>>0]<<24;d:do if(o){b=o;do{if((i[b+36>>0]|0)==g<<24>>24){m=b+16|0;m=l[m>>0]|l[m+1>>0]<<8|l[m+2>>0]<<16|l[m+3>>0]<<24;if(m|0)if((l[m+4>>0]|l[m+4+1>>0]<<8|l[m+4+2>>0]<<16|l[m+4+3>>0]<<24)>>>0>>0)if((l[m+9>>0]|0)==(q|0)){m=(l[m+8>>0]|0)-p|0;if((((m|0)>-1?m:0-m|0)|0)<3){u=45;break}}}b=l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24}while((b|0)!=0);if((u|0)==45){if((i[b+37>>0]|0)!=h<<24>>24)i[b+38>>0]=h;i[a+412>>0]=b;i[a+412+1>>0]=b>>8;i[a+412+2>>0]=b>>16;i[a+412+3>>0]=b>>24;f=b;break}m=i[f+38>>0]|0;if(h<<24>>24!=m<<24>>24){b=o;while(1){if((i[b+36>>0]|0)==g<<24>>24)if((i[b+37>>0]|0)==m<<24>>24)break;b=l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24;if(!b)break d}i[b+38>>0]=h;i[a+412>>0]=b;i[a+412+1>>0]=b>>8;i[a+412+2>>0]=b>>16;i[a+412+3>>0]=b>>24;f=b}}while(0);g=f+16|0;b=l[g>>0]|l[g+1>>0]<<8|l[g+2>>0]<<16|l[g+3>>0]<<24;if(b|0){b=l[b+8>>0]|0;do if((b|0)==(p|0))b=q&255;else if((((b-p|0)>-1?b-p|0:0-(b-p)|0)|0)<3){p=f+20|0;p=l[p>>0]|l[p+1>>0]<<8|l[p+2>>0]<<16|l[p+3>>0]<<24;h=((b+-23-p|0)>0?b+-23|0:p)+34-b|0;m=h-((h>>>0)%12|0)+b+-23-p+((h-((h>>>0)%12|0)+b+-23-p|0)<12?~(h-((h>>>0)%12|0)+b+-23-p):-13)+12|0;m=h-((h>>>0)%12|0)+b+-23-p+(((m>>>0)%12|0)-m)|0;if(!(hmb(t)|0))u=59;else if((i[e+(m+12)>>0]|0)!=32)u=59;if((u|0)==59){if(!(wmb(t)|0)){b=q&255;break}if((i[e+m>>0]|0)!=32){b=q&255;break}}i[e+s>>0]=32;b=t&255;if(!(hmb(t)|0))i[e+(m+12)>>0]=b;else i[e+m>>0]=b;n=i[(l[g>>0]|l[g+1>>0]<<8|l[g+2>>0]<<16|l[g+3>>0]<<24)+8>>0]|0;i[v+12>>0]=n;b=i[(l[g>>0]|l[g+1>>0]<<8|l[g+2>>0]<<16|l[g+3>>0]<<24)+9>>0]|0;i[v+12+1>>0]=b}else b=q&255;while(0);o=l[g>>0]|l[g+1>>0]<<8|l[g+2>>0]<<16|l[g+3>>0]<<24;if(o|0){m=i[o+8>>0]|0;if((m&255|0)==(n<<24>>24|0))if((l[o+9>>0]|0)==(b<<24>>24|0)){b=o;while(1){if(!(m<<24>>24)){m=b+9|0;if(!(i[m>>0]|0)){u=70;break}}b=l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24;if(!b)break;m=i[b+8>>0]|0}if((u|0)==70){i[b+8>>0]=1;i[m>>0]=72;i[b+10>>0]=0;i[b+10+1>>0]=0;i[b+10+2>>0]=0;i[b+10+3>>0]=0}i[o+15>>0]=1;m=j;e:while(1){b=i[c+m>>0]|0;if(((b<<24>>24)+-48|0)>>>0>=10)switch(b<<24>>24){case 45:{u=89;break e}case 47:break;default:break e}m=m+1|0}if((u|0)==89){r=v;return j|0}i[g>>0]=0;i[g+1>>0]=0;i[g+2>>0]=0;i[g+3>>0]=0;u=j;r=v;return u|0}}}i[g>>0]=0;i[g+1>>0]=0;i[g+2>>0]=0;i[g+3>>0]=0;b=f+8|0;m=l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24;if(!m)u=83;else if((l[m+4>>0]|l[m+4+1>>0]<<8|l[m+4+2>>0]<<16|l[m+4+3>>0]<<24|0)==(d|0))if(!(i[m+8>>0]|0))if(!(i[m+9>>0]|0)){i[m+8>>0]=i[v+12>>0]|0;i[(l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24)+9>>0]=i[v+12+1>>0]|0;i[(l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24)+10>>0]=i[v+12+2>>0]|0;i[(l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24)+11>>0]=i[v+12+3>>0]|0;i[(l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24)+12>>0]=i[v+12+4>>0]|0;i[(l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24)+13>>0]=i[v+12+5>>0]|0}else u=83;else u=83;else u=83;if((u|0)==83){u=jqb(1,16)|0;i[u>>0]=0;i[u+1>>0]=0;i[u+2>>0]=0;i[u+3>>0]=0;i[u+4>>0]=d;i[u+4+1>>0]=d>>8;i[u+4+2>>0]=d>>16;i[u+4+3>>0]=d>>24;i[u+8>>0]=i[v+12>>0]|0;i[u+8+1>>0]=i[v+12+1>>0]|0;i[u+8+2>>0]=i[v+12+2>>0]|0;i[u+8+3>>0]=i[v+12+3>>0]|0;i[u+8+4>>0]=i[v+12+4>>0]|0;i[u+8+5>>0]=i[v+12+5>>0]|0;i[u+14>>0]=i[1274943]|0;i[u+15>>0]=0;DOa(f,u)}if((j|0)<=0){u=j;r=v;return u|0}b=j+-1|0;if((i[c+b>>0]|0)!=34){u=j;r=v;return u|0}j=l[a+24>>0]|l[a+24+1>>0]<<8|l[a+24+2>>0]<<16|l[a+24+3>>0]<<24;if(((Fnb(j)|0)+36|0)>>>0<=255){k[v>>2]=j;Fmb(v+24|0,524544,v)|0;u=k[37151]|0;k[v+8>>2]=v+24;Cob(u,522043,v+8|0)|0}u=b;r=v;return u|0}function POa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;h=l[a+416>>0]|l[a+416+1>>0]<<8|l[a+416+2>>0]<<16|l[a+416+3>>0]<<24;e=l[h+4>>0]|l[h+4+1>>0]<<8|l[h+4+2>>0]<<16|l[h+4+3>>0]<<24;if(!e)return;else d=0;do{if((i[e+8>>0]|0)==1)d=(i[e+9>>0]|0)==67?e:d;e=l[e>>0]|l[e+1>>0]<<8|l[e+2>>0]<<16|l[e+3>>0]<<24}while((e|0)!=0);if(!d)return;q=l[d+10>>0]|0;e=i[a+36>>0]|0;if(!(e<<24>>24))f=0;else{f=0;g=a+36|0;do{p=(e<<24>>24)+-48|0;f=(p>>>0<10?p:0)+f|0;g=g+1|0;e=i[g>>0]|0}while(e<<24>>24!=0)}p=l[a+356>>0]|l[a+356+1>>0]<<8|l[a+356+2>>0]<<16|l[a+356+3>>0]<<24;o=(BOa(a,h+44|0,1)|0)+8|0;o=l[o>>0]|l[o+1>>0]<<8|l[o+2>>0]<<16|l[o+3>>0]<<24;o=((o|0)==0?d:o)+4|0;o=l[o>>0]|l[o+1>>0]<<8|l[o+2>>0]<<16|l[o+3>>0]<<24;n=(BOa(a,(l[a+416>>0]|l[a+416+1>>0]<<8|l[a+416+2>>0]<<16|l[a+416+3>>0]<<24)+44|0,2)|0)+8|0;n=l[n>>0]|l[n+1>>0]<<8|l[n+2>>0]<<16|l[n+3>>0]<<24;n=((n|0)==0?d:n)+4|0;n=l[n>>0]|l[n+1>>0]<<8|l[n+2>>0]<<16|l[n+3>>0]<<24;o=n>>>0>o>>>0?n:o;n=(BOa(a,(l[a+416>>0]|l[a+416+1>>0]<<8|l[a+416+2>>0]<<16|l[a+416+3>>0]<<24)+44|0,3)|0)+8|0;n=l[n>>0]|l[n+1>>0]<<8|l[n+2>>0]<<16|l[n+3>>0]<<24;n=((n|0)==0?d:n)+4|0;n=l[n>>0]|l[n+1>>0]<<8|l[n+2>>0]<<16|l[n+3>>0]<<24;o=n>>>0>o>>>0?n:o;n=(BOa(a,(l[a+416>>0]|l[a+416+1>>0]<<8|l[a+416+2>>0]<<16|l[a+416+3>>0]<<24)+44|0,4)|0)+8|0;n=l[n>>0]|l[n+1>>0]<<8|l[n+2>>0]<<16|l[n+3>>0]<<24;n=((n|0)==0?d:n)+4|0;n=l[n>>0]|l[n+1>>0]<<8|l[n+2>>0]<<16|l[n+3>>0]<<24;o=n>>>0>o>>>0?n:o;n=(BOa(a,(l[a+416>>0]|l[a+416+1>>0]<<8|l[a+416+2>>0]<<16|l[a+416+3>>0]<<24)+44|0,5)|0)+8|0;n=l[n>>0]|l[n+1>>0]<<8|l[n+2>>0]<<16|l[n+3>>0]<<24;n=((n|0)==0?d:n)+4|0;n=l[n>>0]|l[n+1>>0]<<8|l[n+2>>0]<<16|l[n+3>>0]<<24;o=n>>>0>o>>>0?n:o;n=(BOa(a,(l[a+416>>0]|l[a+416+1>>0]<<8|l[a+416+2>>0]<<16|l[a+416+3>>0]<<24)+44|0,6)|0)+8|0;n=l[n>>0]|l[n+1>>0]<<8|l[n+2>>0]<<16|l[n+3>>0]<<24;n=((n|0)==0?d:n)+4|0;n=l[n>>0]|l[n+1>>0]<<8|l[n+2>>0]<<16|l[n+3>>0]<<24;o=n>>>0>o>>>0?n:o;n=(BOa(a,(l[a+416>>0]|l[a+416+1>>0]<<8|l[a+416+2>>0]<<16|l[a+416+3>>0]<<24)+44|0,7)|0)+8|0;n=l[n>>0]|l[n+1>>0]<<8|l[n+2>>0]<<16|l[n+3>>0]<<24;n=((n|0)==0?d:n)+4|0;n=l[n>>0]|l[n+1>>0]<<8|l[n+2>>0]<<16|l[n+3>>0]<<24;o=n>>>0>o>>>0?n:o;if(o>>>0>b>>>0)return;if(o>>>0>>0){e=l[a+356>>0]|l[a+356+1>>0]<<8|l[a+356+2>>0]<<16|l[a+356+3>>0]<<24;e=e-(((c-o|0)>>>0)%(e>>>0)|0)|0}else e=((o-c|0)>>>0)%((l[a+356>>0]|l[a+356+1>>0]<<8|l[a+356+2>>0]<<16|l[a+356+3>>0]<<24)>>>0)|0;h=ha(p,f)|0;g=(ha(e,f)|0)+h|0;n=Fnb(a+36|0)|0;if(g>>>0>h>>>0){e=0;do{g=g-(ha((i[(e<<1|1)+(a+36)>>0]|0)+-48|0,p)|0)|0;e=e+1|0;e=(e|0)==(n|0)?0:e}while(g>>>0>h>>>0)}else e=0;m=ha(b-o|0,f)|0;g=0;a:while(1){h=g>>>0>>0;b:while(1){if(!h)break a;c=e<<1;j=i[a+36+c>>0]|0;e=e+1|0;e=(e|0)==(n|0)?0:e;switch(j|0){case 98:{b=18;break b}case 99:{b=19;break b}case 102:{b=24;break b}case 74:case 73:case 72:case 71:case 106:case 105:case 104:case 103:{b=25;break b}case 122:{b=28;break b}default:{}}}if((b|0)==18){b=0;h=(i[(c|1)+(a+36)>>0]|0)+-48|0;c=BOa(a,(l[a+416>>0]|l[a+416+1>>0]<<8|l[a+416+2>>0]<<16|l[a+416+3>>0]<<24)+44|0,2)|0;i[c+42>>0]=l[a+372>>0]|l[a+372+1>>0]<<8|l[a+372+2>>0]<<16|l[a+372+3>>0]<<24;NOa(c,((g>>>0)/(f>>>0)|0)+o|0,(k[1195932+(q*24|0)>>2]|0)+47+(l[d+11>>0]|0)|0,i[c+39>>0]|0?0:l[a+368>>0]|l[a+368+1>>0]<<8|l[a+368+2>>0]<<16|l[a+368+3>>0]<<24);s=((((ha(h,p)|0)+g|0)>>>0)/(f>>>0)|0)+o|0;r=(JOa(l[c+42>>0]|0)|0)&255;j=jqb(1,16)|0;i[j>>0]=0;i[j+1>>0]=0;i[j+2>>0]=0;i[j+3>>0]=0;i[j+4>>0]=s;i[j+4+1>>0]=s>>8;i[j+4+2>>0]=s>>16;i[j+4+3>>0]=s>>24;i[j+8>>0]=0;i[j+9>>0]=0;i[j+10>>0]=r;i[j+11>>0]=0;i[j+12>>0]=0;i[j+13>>0]=0;i[j+14>>0]=i[1274943]|0;i[j+15>>0]=0;DOa(c,j)}else if((b|0)==19){b=0;h=(i[(c|1)+(a+36)>>0]|0)+-48|0}else if((b|0)==24){s=(i[(c|1)+(a+36)>>0]|0)+-48|0;j=BOa(a,(l[a+416>>0]|l[a+416+1>>0]<<8|l[a+416+2>>0]<<16|l[a+416+3>>0]<<24)+44|0,2)|0;i[j+42>>0]=l[a+372>>0]|l[a+372+1>>0]<<8|l[a+372+2>>0]<<16|l[a+372+3>>0]<<24;NOa(j,((g>>>0)/(f>>>0)|0)+o|0,(l[d+12>>0]|0)+35|0,i[j+39>>0]|0?0:l[a+368>>0]|l[a+368+1>>0]<<8|l[a+368+2>>0]<<16|l[a+368+3>>0]<<24);s=(ha(s,p)|0)+g|0;c=((s>>>0)/(f>>>0)|0)+o|0;b=(JOa(l[j+42>>0]|0)|0)&255;r=jqb(1,16)|0;i[r>>0]=0;i[r+1>>0]=0;i[r+2>>0]=0;i[r+3>>0]=0;i[r+4>>0]=c;i[r+4+1>>0]=c>>8;i[r+4+2>>0]=c>>16;i[r+4+3>>0]=c>>24;i[r+8>>0]=0;i[r+9>>0]=0;i[r+10>>0]=b;i[r+11>>0]=0;i[r+12>>0]=0;i[r+13>>0]=0;i[r+14>>0]=i[1274943]|0;i[r+15>>0]=0;DOa(j,r);g=s;continue}else if((b|0)==25){h=(i[(c|1)+(a+36)>>0]|0)+-48|0;c=vmb(j)|0;if((c+-71|0)<(k[1195612+(q<<2)>>2]|0)){b=BOa(a,(l[a+416>>0]|l[a+416+1>>0]<<8|l[a+416+2>>0]<<16|l[a+416+3>>0]<<24)+44|0,c+-68|0)|0;i[b+42>>0]=l[a+364>>0]|l[a+364+1>>0]<<8|l[a+364+2>>0]<<16|l[a+364+3>>0]<<24;r=(l[d+11>>0]|0)+(k[1195932+(q*24|0)+(c+-71<<2)>>2]|0)|0;s=(hmb(j)|0)==0;s=r+(s?24:12)|0;NOa(b,((g>>>0)/(f>>>0)|0)+o|0,s+23|0,i[b+39>>0]|0?0:l[a+360>>0]|l[a+360+1>>0]<<8|l[a+360+2>>0]<<16|l[a+360+3>>0]<<24);g=(ha(h,p)|0)+g|0;if(!s)continue;j=((g>>>0)/(f>>>0)|0)+o|0;r=(JOa(l[b+42>>0]|0)|0)&255;s=jqb(1,16)|0;i[s>>0]=0;i[s+1>>0]=0;i[s+2>>0]=0;i[s+3>>0]=0;i[s+4>>0]=j;i[s+4+1>>0]=j>>8;i[s+4+2>>0]=j>>16;i[s+4+3>>0]=j>>24;i[s+8>>0]=0;i[s+9>>0]=0;i[s+10>>0]=r;i[s+11>>0]=0;i[s+12>>0]=0;i[s+13>>0]=0;i[s+14>>0]=i[1274943]|0;i[s+15>>0]=0;DOa(b,s);continue}else b=29}else if((b|0)==28){h=(i[(c|1)+(a+36)>>0]|0)+-48|0;b=29}if((b|0)==29){g=(ha(h,p)|0)+g|0;continue}if((k[1195612+(q<<2)>>2]|0)<=1){g=(ha(h,p)|0)+g|0;continue}b=((g>>>0)/(f>>>0)|0)+o|0;g=(ha(h,p)|0)+g|0;c=((g>>>0)/(f>>>0)|0)+o|0;h=1;while(1){r=BOa(a,(l[a+416>>0]|l[a+416+1>>0]<<8|l[a+416+2>>0]<<16|l[a+416+3>>0]<<24)+44|0,h+2|0)|0;i[r+42>>0]=l[a+364>>0]|l[a+364+1>>0]<<8|l[a+364+2>>0]<<16|l[a+364+3>>0]<<24;NOa(r,b,(k[1195932+(q*24|0)+(h<<2)>>2]|0)+47+(l[d+11>>0]|0)|0,i[r+39>>0]|0?0:l[a+360>>0]|l[a+360+1>>0]<<8|l[a+360+2>>0]<<16|l[a+360+3>>0]<<24);j=(JOa(l[r+42>>0]|0)|0)&255;s=jqb(1,16)|0;i[s>>0]=0;i[s+1>>0]=0;i[s+2>>0]=0;i[s+3>>0]=0;i[s+4>>0]=c;i[s+4+1>>0]=c>>8;i[s+4+2>>0]=c>>16;i[s+4+3>>0]=c>>24;i[s+8>>0]=0;i[s+9>>0]=0;i[s+10>>0]=j;i[s+11>>0]=0;i[s+12>>0]=0;i[s+13>>0]=0;i[s+14>>0]=i[1274943]|0;i[s+15>>0]=0;DOa(r,s);h=h+1|0;if((h|0)>=(k[1195612+(q<<2)>>2]|0))continue a}}return}function QOa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,m=0,n=0;d=i[a+116>>0]|0;if(!(d<<24>>24))e=0;else{e=0;f=a+116|0;do{k=(d<<24>>24)+-48|0;e=(k>>>0<10?k:0)+e|0;f=f+1|0;d=i[f>>0]|0}while(d<<24>>24!=0)}j=l[a+356>>0]|l[a+356+1>>0]<<8|l[a+356+2>>0]<<16|l[a+356+3>>0]<<24;k=BOa(a,(l[a+420>>0]|l[a+420+1>>0]<<8|l[a+420+2>>0]<<16|l[a+420+3>>0]<<24)+44|0,8)|0;d=l[k+8>>0]|l[k+8+1>>0]<<8|l[k+8+2>>0]<<16|l[k+8+3>>0]<<24;if(!d)h=c;else h=l[d+4>>0]|l[d+4+1>>0]<<8|l[d+4+2>>0]<<16|l[d+4+3>>0]<<24;if(h>>>0>b>>>0)return;if(h>>>0>>0){d=l[a+356>>0]|l[a+356+1>>0]<<8|l[a+356+2>>0]<<16|l[a+356+3>>0]<<24;d=d-(((c-h|0)>>>0)%(d>>>0)|0)|0}else d=((h-c|0)>>>0)%((l[a+356>>0]|l[a+356+1>>0]<<8|l[a+356+2>>0]<<16|l[a+356+3>>0]<<24)>>>0)|0;c=ha(j,e)|0;f=(ha(d,e)|0)+c|0;g=(Fnb(a+116|0)|0)>>>1;if(f>>>0>c>>>0){d=0;do{f=f-(ha((i[(d<<1|1)+(a+116)>>0]|0)+-48|0,j)|0)|0;d=d+1|0;d=(d|0)==(g|0)?0:d}while(f>>>0>c>>>0)}else d=0;b=ha(b-h|0,e)|0;if(!b)return;f=0;while(1){m=d<<1;c=(i[(m|1)+(a+116)>>0]|0)+-48|0;if((i[a+116+m>>0]|0)==100){n=a+196+d|0;m=(ROa((i[n>>0]|0)+-1|0)|0)&255;i[k+42>>0]=m;n=SOa(i[n>>0]|0)|0;NOa(k,((f>>>0)/(e>>>0)|0)+h|0,n,i[k+39>>0]|0?0:i[a+276+d>>0]|0);f=(ha(c,j)|0)+f|0;n=((f>>>0)/(e>>>0)|0)+h|0;c=(JOa(l[k+42>>0]|0)|0)&255;m=jqb(1,16)|0;i[m>>0]=0;i[m+1>>0]=0;i[m+2>>0]=0;i[m+3>>0]=0;i[m+4>>0]=n;i[m+4+1>>0]=n>>8;i[m+4+2>>0]=n>>16;i[m+4+3>>0]=n>>24;i[m+8>>0]=0;i[m+9>>0]=0;i[m+10>>0]=c;i[m+11>>0]=0;i[m+12>>0]=0;i[m+13>>0]=0;i[m+14>>0]=i[1274943]|0;i[m+15>>0]=0;DOa(k,m)}else f=(ha(c,j)|0)+f|0;d=d+1|0;if(f>>>0>>0)d=(d|0)==(g|0)?0:d;else break}return}function ROa(a){a=a|0;if((a|0)<25){a=129;return a|0}a=(a+104|0)<191?a+104|0:191;return a|0}function SOa(a){a=a|0;var b=0;if((a|0)<25)b=128;else b=(a+104|0)<191?a+103|0:190;b=gob(1249855+(b<<7)|0,58)|0;if(!b)return a|0;b=Dob(b+1|0,524622)|0;if(!b)return a|0;a=Vpb((gob(b,61)|0)+1|0)|0;return a|0}function TOa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=(Dmb(c,524862,2)|0)==0;e=(Dmb(c,524865,2)|0)==0;g=(Dmb(c,524868,3)|0)==0;d=g?100:e?90:d?75:0;e=i[c>>0]|0;if(e<<24>>24==112){c=c+1|0;d=60;while(1){d=d+-15|0;e=c+1|0;if((i[c>>0]|0)==112)c=e;else break}c=e;e=i[e>>0]|0;d=(d|0)<1?1:d}if(e<<24>>24==102){d=105;do{c=c+1|0;d=d+15|0}while((i[c>>0]|0)==102);d=(d|0)>135?127:d;if((d|0)>127)d=125;else f=8}else f=8;if((f|0)==8)if(!d){g=b+41|0;g=i[g>>0]|0;g=g&255;return g|0}c=d&255;i[b+41>>0]=c;if((l[a+8>>0]|l[a+8+1>>0]<<8|l[a+8+2>>0]<<16|l[a+8+3>>0]<<24|0)==(b|0))d=b;else{g=b+41|0;g=i[g>>0]|0;g=g&255;return g|0}do{if(((i[d+37>>0]|0)+-1&255)>9)i[d+41>>0]=c;d=l[d>>0]|l[d+1>>0]<<8|l[d+2>>0]<<16|l[d+3>>0]<<24}while((d|0)!=0);d=b+41|0;g=i[d>>0]|0;g=g&255;return g|0}function UOa(a){a=a|0;var b=0,c=0,d=0;if(!a)return;b=l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24;if(b|0)do{d=b;b=l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24;c=l[d+4>>0]|l[d+4+1>>0]<<8|l[d+4+2>>0]<<16|l[d+4+3>>0]<<24;if(c|0)iqb(c);c=l[d+8>>0]|l[d+8+1>>0]<<8|l[d+8+2>>0]<<16|l[d+8+3>>0]<<24;if(c|0)iqb(c);iqb(d)}while((b|0)!=0);b=l[a+4>>0]|l[a+4+1>>0]<<8|l[a+4+2>>0]<<16|l[a+4+3>>0]<<24;if(b|0)do{d=b;b=l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24;c=l[d+4>>0]|l[d+4+1>>0]<<8|l[d+4+2>>0]<<16|l[d+4+3>>0]<<24;if(c|0)iqb(c);c=l[d+8>>0]|l[d+8+1>>0]<<8|l[d+8+2>>0]<<16|l[d+8+3>>0]<<24;if(c|0)iqb(c);iqb(d)}while((b|0)!=0);i[a>>0]=0;i[a+1>>0]=0;i[a+2>>0]=0;i[a+3>>0]=0;i[a+4>>0]=0;i[a+4+1>>0]=0;i[a+4+2>>0]=0;i[a+4+3>>0]=0;return}function VOa(a){a=a|0;if((a|0)>=191){a=1;return a|0}a=l[1249408+(a+-1)>>0]|0;return a|0}function WOa(a){a=a|0;var b=0;b=r;r=r+16|0;if((a+-1|0)>>>0>190){k[b>>2]=a;Fmb(1274944,525116,b)|0;a=1274944;r=b;return a|0}else{a=1249855+(a+-1<<7)|0;r=b;return a|0}return 0}function XOa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;E=(d|0)>240?240:d;d=l[c+8>>0]|l[c+8+1>>0]<<8|l[c+8+2>>0]<<16|l[c+8+3>>0]<<24;if(d|0)do{C=d+4|0;C=l[C>>0]|l[C+1>>0]<<8|l[C+2>>0]<<16|l[C+3>>0]<<24;D=d+12|0;i[D>>0]=C;i[D+1>>0]=C>>8;i[D+2>>0]=C>>16;i[D+3>>0]=C>>24;d=l[d>>0]|l[d+1>>0]<<8|l[d+2>>0]<<16|l[d+3>>0]<<24}while((d|0)!=0);if((E|0)<=0){F=0;return F|0}d=0;f=0;a:while(1){D=$Na(64,e)|0;B=a+(d<<2)|0;k[B>>2]=D;if(!D){d=0;F=75;break}j[b+(d<<1)>>1]=64;C=d<<6;D=0;do{z=l[c+20>>0]|l[c+20+1>>0]<<8|l[c+20+2>>0]<<16|l[c+20+3>>0]<<24;A=ha((D+C|0)*192|0,z)|0;o=l[c+8>>0]|l[c+8+1>>0]<<8|l[c+8+2>>0]<<16|l[c+8+3>>0]<<24;r=l[o+12>>0]|l[o+12+1>>0]<<8|l[o+12+2>>0]<<16|l[o+12+3>>0]<<24;b:do if(!r){h=0;g=0}else{g=r;while(1){if((i[g+8>>0]|0)==1)if((i[g+9>>0]&-5)<<24>>24==80)break;g=l[g>>0]|l[g+1>>0]<<8|l[g+2>>0]<<16|l[g+3>>0]<<24;if(!g){h=0;g=0;break b}}h=l[g+4>>0]|l[g+4+1>>0]<<8|l[g+4+2>>0]<<16|l[g+4+3>>0]<<24;if(h>>>0<(A+(z*192|0)|0)>>>0){m=g;n=0;g=0;while(1){c:do if(h>>>0>=A>>>0)switch(l[m+9>>0]|0){case 84:{g=m+10|0;g=l[g>>0]|l[g+1>>0]<<8|l[g+2>>0]<<16|l[g+3>>0]<<24;break c}case 80:{n=1;break c}default:break c}while(0);h=l[m>>0]|l[m+1>>0]<<8|l[m+2>>0]<<16|l[m+3>>0]<<24;if(!h){h=n;break b}while(1){if((i[h+8>>0]|0)==1)if((i[h+9>>0]&-5)<<24>>24==80){m=h;break}h=l[h>>0]|l[h+1>>0]<<8|l[h+2>>0]<<16|l[h+3>>0]<<24;if(!h){h=n;break b}}h=l[m+4>>0]|l[m+4+1>>0]<<8|l[m+4+2>>0]<<16|l[m+4+3>>0]<<24;if(h>>>0>=(A+(z*192|0)|0)>>>0){h=n;break}}}else{h=0;g=0}}while(0);d:do if(o){y=ha(D,e)|0;x=0;m=o;while(1){t=m+12|0;e:do if(!r){r=0;t=0;p=0;q=0;o=0}else{n=r;while(1){if((i[n+8>>0]|0)!=1)break;n=l[n>>0]|l[n+1>>0]<<8|l[n+2>>0]<<16|l[n+3>>0]<<24;if(!n){t=0;p=0;q=0;o=0;break e}}if((l[n+4>>0]|l[n+4+1>>0]<<8|l[n+4+2>>0]<<16|l[n+4+3>>0]<<24)>>>0>>0)do{n=l[n>>0]|l[n+1>>0]<<8|l[n+2>>0]<<16|l[n+3>>0]<<24;if(!n){t=0;p=0;q=0;o=0;break e}while(1){if((i[n+8>>0]|0)!=1)break;n=l[n>>0]|l[n+1>>0]<<8|l[n+2>>0]<<16|l[n+3>>0]<<24;if(!n){t=0;p=0;q=0;o=0;break e}}}while((l[n+4>>0]|l[n+4+1>>0]<<8|l[n+4+2>>0]<<16|l[n+4+3>>0]<<24)>>>0>>0);w=n+4|0;if((l[w>>0]|l[w+1>>0]<<8|l[w+2>>0]<<16|l[w+3>>0]<<24)>>>0<(A+(z*192|0)|0)>>>0){r=n;p=0;q=n;o=0;while(1){i[t>>0]=r;i[t+1>>0]=r>>8;i[t+2>>0]=r>>16;i[t+3>>0]=r>>24;o=o+1|0;w=(i[r+11>>0]|0)==0;s=w?p:(p|0)==0?r:p;q=w?q:r;p=l[r>>0]|l[r+1>>0]<<8|l[r+2>>0]<<16|l[r+3>>0]<<24;if(!p){t=n;p=s;break e}while(1){if((i[p+8>>0]|0)!=1)break;p=l[p>>0]|l[p+1>>0]<<8|l[p+2>>0]<<16|l[p+3>>0]<<24;if(!p){t=n;p=s;break e}}if((l[p+4>>0]|l[p+4+1>>0]<<8|l[p+4+2>>0]<<16|l[p+4+3>>0]<<24)>>>0<(A+(z*192|0)|0)>>>0){r=p;p=s}else{t=n;p=s;break}}}else{t=n;p=0;q=n;o=0}}while(0);v=x+y|0;w=k[B>>2]|0;i[w+(v*6|0)+5>>0]=0;i[w+(v*6|0)+3>>0]=0;u=1<>0]=5;i[w+(v*6|0)+5>>0]=0;i[w+(v*6|0)+1>>0]=0;i[w+(v*6|0)>>0]=0;i[w+(v*6|0)+2>>0]=0;i[w+(v*6|0)+4>>0]=0;F=66}else{f=f&~u;do if((o|0)==1)F=40;else if((p|0)!=0&(p|0)!=(q|0)){if((i[m+40>>0]|0)==10){n=((l[q+9>>0]|0)*12|0)+(l[q+8>>0]|0)|0;o=(SOa(n)|0)+23|0;p=o&255;n=(JOa(ROa(n)|0)|0)&255}else{o=YOa(((l[p+9>>0]|0)*12|0)+(l[p+8>>0]|0)|0)|0;n=i[q+10>>0]|0;p=YOa(((l[q+9>>0]|0)*12|0)+(l[q+8>>0]|0)|0)|0}u=(l[q+11>>0]|0)>>>1;i[w+(v*6|0)+1>>0]=n;i[w+(v*6|0)>>0]=o;i[w+(v*6|0)+2>>0]=1;i[w+(v*6|0)+4>>0]=(u&255)>64?64:u;n=o&255;o=(p|0)>(n|0);n=o?p-n|0:n-p|0;i[w+(v*6|0)+5>>0]=n;if((n&240)>>>0>=16){i[w+(v*6|0)+3>>0]=o?2:3;n=n&255;break}if(!((n&255)<<24>>24)){i[w+(v*6|0)+3>>0]=15;n=q+4|0;n=((((l[n>>0]|l[n+1>>0]<<8|l[n+2>>0]<<16|l[n+3>>0]<<24)-A|0)>>>0)/192|0)&255;i[w+(v*6|0)+5>>0]=n;break}else{i[w+(v*6|0)+3>>0]=28;n=(n|(o?16:32))&255;i[w+(v*6|0)+5>>0]=n;break}}else F=40;while(0);if((F|0)==40){F=0;q=(p|0)==0?t:p;n=((l[q+9>>0]|0)*12|0)+(l[q+8>>0]|0)|0;if((i[m+40>>0]|0)==10){s=(SOa(n)|0)+23|0;t=(JOa(ROa(n)|0)|0)&255;n=s}else{n=YOa(n)|0;t=i[q+10>>0]|0}s=n&255;o=i[q+11>>0]|0;f:do if(!(o<<24>>24)){n=i[w+(v*6|0)+5>>0]|0;o=(o&255)>>>1}else{p=i[q+12>>0]|0;if(p<<24>>24==3)n=(((o&255)/40|0)&255)+((o&255)>>>1&255)&255;else n=(o&255)>>>1;o=(n&255)>64?64:n;if(!(i[r+11>>0]|0)){n=r+4|0;n=(l[n>>0]|l[n+1>>0]<<8|l[n+2>>0]<<16|l[n+3>>0]<<24)-A|0;i[w+(v*6|0)+3>>0]=20;i[w+(v*6|0)+5>>0]=n|192;n=(n|192)&255;break}switch(p&255|0){case 1:{i[w+(v*6|0)+3>>0]=5;i[w+(v*6|0)+5>>0]=-62;n=-62;f=f|u;break f}case 2:{i[w+(v*6|0)+3>>0]=28;n=(l[w+(v*6|0)+5>>0]|(i[q+13>>0]|0?18:34))&255;i[w+(v*6|0)+5>>0]=n;break f}default:{n=(((l[q+4>>0]|l[q+4+1>>0]<<8|l[q+4+2>>0]<<16|l[q+4+3>>0]<<24)-A|0)>>>0)/192|0;i[w+(v*6|0)+5>>0]=n;if(!((n&255)<<24>>24)){n=0;break f}i[w+(v*6|0)+3>>0]=20;i[w+(v*6|0)+5>>0]=n|208;n=(n|208)&255;break f}}}while(0);i[w+(v*6|0)+1>>0]=t;i[w+(v*6|0)>>0]=s;i[w+(v*6|0)+2>>0]=1;i[w+(v*6|0)+4>>0]=o}if(!(n<<24>>24))F=66}do if((F|0)==66){F=0;if(!(i[w+(v*6|0)+3>>0]|0)){if(g|0){i[w+(v*6|0)+3>>0]=17;i[w+(v*6|0)+5>>0]=g;g=0;break}if(!h){h=0;g=0}else{i[w+(v*6|0)+3>>0]=14;h=0;g=0}}}while(0);m=l[m>>0]|l[m+1>>0]<<8|l[m+2>>0]<<16|l[m+3>>0]<<24;if(!m)break d;r=l[m+12>>0]|l[m+12+1>>0]<<8|l[m+12+2>>0]<<16|l[m+12+3>>0]<<24;x=x+1|0}}while(0);D=D+1|0;if(g|h|0){d=1;F=75;break a}}while((D|0)<64);d=d+1|0;if((d|0)>=(E|0)){d=0;F=75;break}}if((F|0)==75)return d|0;return 0}function YOa(a){a=a|0;return a+13|0}function ZOa(a){a=a|0;if(!a)return;oBb(a);return}function _Oa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0;v=r;r=r+560|0;if(!(i[1249408]|0))i[1249408]=1;b=(Fnb(1249408)|0)+1|0;k[a+59684>>2]=b;c=(Fnb(1249408)|0)+1|0;k[a+59688>>2]=c;if(c>>>0>1){f=v+456+8|0;g=1;do{e=kBb(632)|0;k[a+48640+(g<<2)>>2]=e;vBb(e|0,0,632)|0;if((g|0)<191)b=l[1249408+(g+-1)>>0]|0;else b=1;c=v+200|0;h=c+32|0;do{i[c>>0]=0;c=c+1|0}while((c|0)<(h|0));d=b+-1|0;c=(i[1249855+(d<<7)>>0]|0)==47;b=c?1249855+(d<<7)+1|0:1249855+(d<<7)|0;t=(Gob(b,58)|0)==0;c=c?1279174:1249599;if(t){k[v+16>>2]=c;k[v+16+4>>2]=47;k[v+16+8>>2]=b;Fmb(v+72|0,525182,v+16|0)|0}else{k[v>>2]=c;k[v+4>>2]=47;k[v+8>>2]=b;Fmb(v+72|0,525170,v)|0;t=Gob(v+72|0,58)|0;i[t>>0]=i[525177]|0;i[t+1>>0]=i[525178]|0;i[t+2>>0]=i[525179]|0;i[t+3>>0]=i[525180]|0;i[t+4>>0]=i[525181]|0}b=job(v+72|0,524439)|0;if(!b)u=17;else{zob(b,0,2)|0;t=Hpb(b)|0;zob(b,0,0)|0;$Oa(b,v+456|0);mob(b)|0;if((l[f>>0]|l[f+1>>0]<<8|l[f+2>>0]<<16|l[f+3>>0]<<24)>>>0>t>>>0)u=17;else aPa(v+456|0,e,g)}if((u|0)==17){u=0;i[v+456+55>>0]=101;i[v+456+12>>0]=0;i[v+456+12+1>>0]=0;i[v+456+12+2>>0]=0;i[v+456+12+3>>0]=0;i[v+456+16>>0]=48;i[v+456+16+1>>0]=117;i[v+456+16+2>>0]=0;i[v+456+16+3>>0]=0;i[f>>0]=48;i[f+1>>0]=117;i[f+2>>0]=0;i[f+3>>0]=0;i[v+456+37>>0]=63;i[v+456+38>>0]=63;i[v+456+39>>0]=63;i[v+456+40>>0]=-56;i[v+456+41>>0]=63;i[v+456+42>>0]=63;i[v+456+43>>0]=-10;i[v+456+44>>0]=-10;i[v+456+45>>0]=-10;i[v+456+46>>0]=0;i[v+456+47>>0]=0;i[v+456+48>>0]=0;dpb(v+456+64|0,1249855+(d<<7)|0,32)|0;aPa(v+456|0,e,g)}if(!(i[v+456+64>>0]|0))dpb(v+200|0,1249855+(d<<7)|0,32)|0;else dpb(v+200|0,v+456+64|0,32)|0;i[v+200+31>>0]=0;c=e+585|0;h=c+32|0;do{i[c>>0]=0;c=c+1|0}while((c|0)<(h|0));Pnb(e+585|0,v+200|0)|0;dpb(v+200|0,1249855+(d<<7)|0,12)|0;i[v+200+11>>0]=0;c=e+617|0;h=c+12|0;do{i[c>>0]=0;c=c+1|0}while((c|0)<(h|0));Pnb(e+617|0,v+200|0)|0;g=g+1|0;c=k[a+59688>>2]|0}while(g>>>0>>0);b=k[a+59684>>2]|0}if(b>>>0<=1){b=kBb(632)|0;h=a+48640|0;k[h>>2]=b;c=c+-1|0;c=h+(c<<2)|0;c=k[c>>2]|0;ABb(b|0,c|0,632)|0;b=b+585|0;c=b;h=c+32|0;do{i[c>>0]=0;c=c+1|0}while((c|0)<(h|0));dpb(b,525210,32)|0;b=k[a+59684>>2]|0;b=b+-1|0;b=a+33280+(b<<6)|0;c=a+33280|0;h=c+64|0;do{k[c>>2]=k[b>>2];c=c+4|0;b=b+4|0}while((c|0)<(h|0));r=v;return 1}q=v+456+8|0;t=1;do{s=a+33280+(t<<6)|0;p=t+-1|0;if((t|0)<191)n=l[1249408+p>>0]|0;else n=1;o=n+-1|0;k[v+32>>2]=p;k[v+32+4>>2]=1249855+(o<<7);Fmb(v+200|0,525200,v+32|0)|0;i[v+200+31>>0]=0;b=a+59804+(t<<5)|0;c=b;h=c+32|0;do{i[c>>0]=0;c=c+1|0}while((c|0)<(h|0));Pnb(b,v+200|0)|0;j[a+33280+(t<<6)+32>>1]=64;j[a+33280+(t<<6)+28>>1]=128;g=a+33280+(t<<6)+34|0;j[g>>1]=1;c=(i[1249855+(o<<7)>>0]|0)==47;b=c?1249855+(o<<7)+1|0:1249855+(o<<7)|0;h=(Gob(b,58)|0)==0;c=c?1279174:1249599;if(h){k[v+56>>2]=c;k[v+56+4>>2]=47;k[v+56+8>>2]=b;Fmb(v+72|0,525182,v+56|0)|0}else{k[v+40>>2]=c;k[v+40+4>>2]=47;k[v+40+8>>2]=b;Fmb(v+72|0,525170,v+40|0)|0;h=Gob(v+72|0,58)|0;i[h>>0]=i[525177]|0;i[h+1>>0]=i[525178]|0;i[h+2>>0]=i[525179]|0;i[h+3>>0]=i[525180]|0;i[h+4>>0]=i[525181]|0}b=job(v+72|0,524439)|0;if(!b)u=55;else{zob(b,0,2)|0;f=Hpb(b)|0;zob(b,0,0)|0;$Oa(b,v+456|0);mob(b)|0;h=l[q>>0]|l[q+1>>0]<<8|l[q+2>>0]<<16|l[q+3>>0]<<24;if(h>>>0>f>>>0)u=55;else{k[a+33280+(t<<6)+24>>2]=~~(+((l[v+456+20>>0]|l[v+456+20+1>>0]<<8)&65535)*52325.100000000006/(+((l[v+456+30>>0]|l[v+456+30+1>>0]<<8|l[v+456+30+2>>0]<<16|l[v+456+30+3>>0]<<24)>>>0)*.4)+.5)>>>0;k[s>>2]=h;c=l[v+456+12>>0]|l[v+456+12+1>>0]<<8|l[v+456+12+2>>0]<<16|l[v+456+12+3>>0]<<24;d=a+33280+(t<<6)+4|0;k[d>>2]=c;e=l[v+456+16>>0]|l[v+456+16+1>>0]<<8|l[v+456+16+2>>0]<<16|l[v+456+16+3>>0]<<24;b=a+33280+(t<<6)+8|0;k[b>>2]=e;j[a+33280+(t<<6)+30>>1]=256;f=i[v+456+55>>0]|0;if(f&1){k[s>>2]=h>>>1;k[d>>2]=c>>>1;k[b>>2]=e>>>1}b=j[g>>1]|0;if(!(f&4))b=(b&65535)>>>1&255;else{j[g>>1]=b&65535|(f&8)<<1|2;if(!(f&32))b=((b&65535|(f&8)<<1|2)&65535)>>>1&255;else{j[g>>1]=b&65535|(f&8)<<1|10;b=((b&65535|(f&8)<<1|10)&65535)>>>1&255}}i[1249217+p>>0]=b&1;if(!(f&1))e=hqb(h<<1)|0;else e=hqb(h)|0;if(e|0){if(!(f&1)){if(n>>>0<192){bPa(o,e,h);u=50}else{c=k[45740+(((n+-192|0)%3|0)<<2)>>2]|0;if((h|0)>0){b=0;do{u=~~(+Xi[c&63](b)*120.0)<<24>>24;j[e+(b<<1)>>1]=u;b=b+1|0}while((b|0)!=(h|0));u=50}}if((u|0)==50){u=0;if((h|0)>0){b=e+(h<<1)|0;c=e+h|0;d=0;do{c=c+-1|0;b=b+-2|0;j[b>>1]=i[c>>0]<<8;d=d+1|0}while((d|0)!=(h|0))}}dOa(a,s,((i[v+456+55>>0]&2)>>>1)+5|0,e,(l[q>>0]|l[q+1>>0]<<8|l[q+2>>0]<<16|l[q+3>>0]<<24)<<1)|0}else{if(n>>>0<192)bPa(o,e,h>>>1<<1);else{b=k[45740+(((n+-192|0)%3|0)<<2)>>2]|0;if(h>>>1|0){c=0;do{p=~~(+Xi[b&63](c)*32.0e3);j[e+(c<<1)>>1]=p;c=c+1|0}while((c|0)!=(h>>>1|0))}}dOa(a,s,((i[v+456+55>>0]&2)>>>1)+5|0,e,l[q>>0]|l[q+1>>0]<<8|l[q+2>>0]<<16|l[q+3>>0]<<24)|0}iqb(e)}}}if((u|0)==55){u=0;k[a+33280+(t<<6)+24>>2]=8363;k[s>>2]=3e4;k[a+33280+(t<<6)+4>>2]=0;k[a+33280+(t<<6)+8>>2]=3e4;j[a+33280+(t<<6)+30>>1]=256;j[g>>1]=m[g>>1]|3;e=hqb(6e4)|0;if(e|0){b=t+190|0;if((b|0)<191)bPa(b,e,3e4);else{b=k[45740+(((p|0)%3|0)<<2)>>2]|0;c=0;do{p=~~(+Xi[b&63](c)*120.0)<<24>>24;j[e+(c<<1)>>1]=p;c=c+1|0}while((c|0)!=3e4)}b=e+6e4|0;c=e+3e4|0;d=0;do{c=c+-1|0;b=b+-2|0;j[b>>1]=i[c>>0]<<8;d=d+1|0}while((d|0)!=3e4);dOa(a,s,5,e,k[s>>2]<<1)|0;iqb(e)}}t=t+1|0}while(t>>>0<(k[a+59684>>2]|0)>>>0);c=k[a+59688>>2]|0;b=kBb(632)|0;h=a+48640|0;k[h>>2]=b;c=c+-1|0;c=h+(c<<2)|0;c=k[c>>2]|0;ABb(b|0,c|0,632)|0;b=b+585|0;c=b;h=c+32|0;do{i[c>>0]=0;c=c+1|0}while((c|0)<(h|0));dpb(b,525210,32)|0;b=k[a+59684>>2]|0;b=b+-1|0;b=a+33280+(b<<6)|0;c=a+33280|0;h=c+64|0;do{k[c>>2]=k[b>>2];c=c+4|0;b=b+4|0}while((c|0)<(h|0));r=v;return 1}function $Oa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0;j=r;r=r+48|0;zob(a,192,0)|0;Epb(j,47,1,a)|0;d=i[j+6>>0]|0;if((d&255)>1){f=523251e3;c=0;h=0;while(1){k=Hpb(a)|0;Epb(b,96,1,a)|0;g=l[b+30>>0]|l[b+30+1>>0]<<8|l[b+30+2>>0]<<16|l[b+30+3>>0]<<24;g=g>>>0>523251?g+-523251|0:523251-g<<1;e=g>>>0>>0;c=e?k:c;zob(a,l[b+8>>0]|l[b+8+1>>0]<<8|l[b+8+2>>0]<<16|l[b+8+3>>0]<<24,1)|0;h=h+1|0;if((h|0)>=(d&255|0))break;else f=e?g:f}zob(a,c,0)|0}Epb(b,96,1,a)|0;dpb(b+64|0,j+7|0,36)|0;c=l[b+8>>0]|l[b+8+1>>0]<<8|l[b+8+2>>0]<<16|l[b+8+3>>0]<<24;if((l[b+12>>0]|l[b+12+1>>0]<<8|l[b+12+2>>0]<<16|l[b+12+3>>0]<<24)>>>0>=c>>>0){i[b+12>>0]=0;i[b+12+1>>0]=0;i[b+12+2>>0]=0;i[b+12+3>>0]=0;i[b+16>>0]=0;i[b+16+1>>0]=0;i[b+16+2>>0]=0;i[b+16+3>>0]=0;i[b+55>>0]=(l[b+55>>0]|0)&251;r=j;return}if((l[b+16>>0]|l[b+16+1>>0]<<8|l[b+16+2>>0]<<16|l[b+16+3>>0]<<24)>>>0<=c>>>0){r=j;return}i[b+16>>0]=c;i[b+16+1>>0]=c>>8;i[b+16+2>>0]=c>>16;i[b+16+3>>0]=c>>24;r=j;return}function aPa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0;w=r;r=r+48|0;i[b+580>>0]=0;k[b>>2]=0;j[b+10>>1]=128;i[b+584>>0]=60;k[b+4>>2]=0;n=i[a+55>>0]|0;k[b+4>>2]=((n&32)>>>4|(n&255)>>>6&1)&255;if(n&4)if((l[a+12>>0]|l[a+12+1>>0]<<8|l[a+12+2>>0]<<16|l[a+12+3>>0]<<24|0)!=(l[a+16>>0]|l[a+16+1>>0]<<8|l[a+16+2>>0]<<16|l[a+16+3>>0]<<24|0))k[b+4>>2]=((n&32)>>>4|(n&255)>>>6&1)&255|4;i[b+556>>0]=6;i[b+557>>0]=0;i[b+561>>0]=1;i[b+562>>0]=1;i[b+559>>0]=1;i[b+560>>0]=2;i[b+563>>0]=0;i[b+563+1>>0]=0;i[b+563+2>>0]=0;i[b+563+3>>0]=0;j[b+8>>1]=64;k[w+24>>2]=0;k[w>>2]=64;q=w+24+4|0;k[q>>2]=0;k[w+4>>2]=64;s=w+24+8|0;k[s>>2]=0;k[w+8>>2]=64;t=w+24+12|0;k[t>>2]=0;k[w+12>>2]=64;u=w+24+16|0;k[u>>2]=0;k[w+16>>2]=64;v=w+24+20|0;k[v>>2]=0;k[w+20>>2]=64;if(!(Emb(a+37|0,525193,6)|0)){d=0;h=0}else if((l[a+48>>0]|0)>99){d=0;h=0}else if(!(n&32)){d=0;h=0}else{o=l[a+8>>0]|l[a+8+1>>0]<<8|l[a+8+2>>0]<<16|l[a+8+3>>0]<<24;if(!o){d=0;h=0}else{p=0;m=0;while(1){d=l[a+43+p>>0]|0;k[w+(p<<2)>>2]=d;e=l[a+37+p>>0]|0;if(!p)h=0;else h=l[p+-1+(a+43)>>0]|0;f=(ha(e>>>6,-3)|0)+3|0;if(!(e&63))d=0;else{g=d-h|0;if((d|0)==(h|0))d=0;else d=(((g|0)<0?0-g|0:g)<>2]=d;d=d+m|0;p=p+1|0;if((p|0)==6)break;else m=d}n=o>>(n&1);if(!d){d=0;h=0}else{e=k[w+24>>2]|0;if((d|0)>(n|0)){e=(ha(e,n)|0)/(d|0)|0;k[w+24>>2]=e;p=(ha(k[q>>2]|0,n)|0)/(d|0)|0;k[q>>2]=p;f=(ha(k[s>>2]|0,n)|0)/(d|0)|0;k[s>>2]=f;g=(ha(k[t>>2]|0,n)|0)/(d|0)|0;k[t>>2]=g;h=(ha(k[u>>2]|0,n)|0)/(d|0)|0;k[u>>2]=h;m=(ha(k[v>>2]|0,n)|0)/(d|0)|0;k[v>>2]=m;d=p}else{d=k[q>>2]|0;f=k[s>>2]|0;g=k[t>>2]|0;h=k[u>>2]|0;m=k[v>>2]|0}d=e+d|0;k[q>>2]=d;d=d+f|0;k[s>>2]=d;d=d+g|0;k[t>>2]=d;d=d+h|0;k[u>>2]=d;k[v>>2]=d+m;d=0;while(1){h=w+24+(d<<2)|0;f=(e<<8|0)/(n|0)|0;k[h>>2]=f+1;do if((d|0)>0){g=d+-1|0;e=k[w+24+(g<<2)>>2]|0;if((f|0)<(e|0))if((k[w+(d<<2)>>2]|0)==(k[w+(g<<2)>>2]|0)){k[h>>2]=e;break}else{k[h>>2]=e+1;e=e+1|0;break}else e=f+1|0}else e=f+1|0;while(0);if((e|0)>256)k[h>>2]=256;d=d+1|0;if((d|0)==6)break;e=k[w+24+(d<<2)>>2]|0}k[w+20>>2]=0;d=0;h=0}}}while(1){v=k[w+(h<<2)>>2]|0;d=(v|0)==64?d:1;e=b+12+(h<<1)|0;j[e>>1]=k[w+24+(h<<2)>>2];i[b+204+h>>0]=v;j[b+76+(h<<1)>>1]=0;i[b+236+h>>0]=0;if(!h){h=1;continue}f=j[e>>1]|0;g=j[b+12+(h+-1<<1)>>1]|0;if((f&65535)<(g&65535)){j[e>>1]=g&65280|f&255;if((g&65280|f&255)>>>0<(g&65535)>>>0)j[e>>1]=(g&65280|f&255)+256}h=h+1|0;if((h|0)==6)break}if(!d)i[b+556>>0]=0;d=0;do{v=d;d=d+1|0;i[b+428+v>>0]=d;i[b+300+v>>0]=c}while((d|0)!=128);r=w;return}function bPa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=r;r=r+256|0;do if(!(k[299465]|0)){e=(i[1249855+(a<<7)>>0]|0)==47;d=e?1249855+(a<<7)+1|0:1249855+(a<<7)|0;a=Gob(d,58)|0;e=e?1279174:1249599;if(!a){k[f+16>>2]=e;k[f+16+4>>2]=47;k[f+16+8>>2]=d;Fmb(f+128|0,525182,f+16|0)|0;a=0}else{k[f>>2]=e;k[f+4>>2]=47;k[f+8>>2]=d;Fmb(f+128|0,525170,f)|0;e=Gob(f+128|0,58)|0;i[e>>0]=i[525177]|0;i[e+1>>0]=i[525178]|0;i[e+2>>0]=i[525179]|0;i[e+3>>0]=i[525180]|0;i[e+4>>0]=i[525181]|0}k[299466]=a;a=job(f+128|0,524439)|0;k[299467]=a;if(!a){r=f;return}else{$Oa(a,f+32|0);k[299468]=l[f+32+8>>0]|l[f+32+8+1>>0]<<8|l[f+32+8+2>>0]<<16|l[f+32+8+3>>0]<<24;break}}while(0);Epb(b,c,1,k[299467]|0)|0;a=k[299466]|0;do if(a|0){a=Dob(a,525206)|0;if(a|0){e=Vpb((gob(a,61)|0)+1|0)|0;if((e|0)!=100){a=l[f+32+55>>0]|0;if(!(a&1))if(!(a&2)){if((c|0)>0){d=0;a=b}else break;while(1){b=(ha(i[a>>0]|0,e)|0)/100|0;b=(b|0)<-128?-128:b;i[a>>0]=(b|0)>127?127:b&255;d=d+1|0;if((d|0)==(c|0))break;else a=a+1|0}}else{if((c|0)>0){d=0;a=b}else break;while(1){b=(ha((l[a>>0]|0)+-128|0,e)|0)/100|0;b=(b|0)<-128?-128:b;i[a>>0]=(b|0)>127?-1:b+128&255;d=d+1|0;if((d|0)==(c|0))break;else a=a+1|0}}else if(!(a&2)){if((c>>1|0)>0){d=0;a=b}else break;while(1){b=(ha(j[a>>1]|0,e)|0)/100|0;b=(b|0)<-32768?-32768:b;j[a>>1]=(b|0)>32767?32767:b&65535;d=d+1|0;if((d|0)==(c>>1|0))break;else a=a+2|0}}else{if((c>>1|0)>0){d=0;a=b}else break;while(1){b=(ha((m[a>>1]|0)+-32768|0,e)|0)/100|0;b=(b|0)<-32768?-32768:b;j[a>>1]=(b|0)>32767?-1:b+32768&65535;d=d+1|0;if((d|0)==(c>>1|0))break;else a=a+2|0}}}}}while(0);c=(k[299465]|0)+c|0;k[299465]=c;if((c|0)<(k[299468]|0)){r=f;return}k[299465]=0;mob(k[299467]|0)|0;k[299467]=0;r=f;return}function cPa(a){a=a|0;return +(+_(+(+(a|0)*.39312243461608887)))}function dPa(a){a=a|0;var b=0.0;b=+_(+(+(a|0)*.39312243461608887))*30.0;return +(b>.9900000095367432?.9900000095367432:b<-.9900000095367432?-.9900000095367432:b)}function ePa(a){a=a|0;var b=0.0;if(+(a|0)*.39312243461608887>6.2831854820251465){b=+(a|0)*.39312243461608887;do b=b+-6.2831854820251465;while(b>6.2831854820251465)}else b=+(a|0)*.39312243461608887;a=b>3.1415927410125732;b=(a?3.1415927410125732-b:b)*.31830987334251404*(a?-2.0:2.0);if(b>.8999999761581421){b=1.0-b;return +b}if(!(b<-.8999999761581421))return +b;b=b+1.0;return +b}function fPa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0;S=0;W=r;r=r+5488|0;if(k[299469]|0)do gqb(1)|0;while((k[299469]|0)!=0);k[299469]=1;k[W+976>>2]=l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24;i[W+976+4>>0]=0;if(!(Wmb(W+976|0,525230)|0))if((l[b+5>>0]<<16|l[b+4>>0]<<24|l[b+6>>0]<<8|l[b+7>>0]|0)==6){V=jqb(1,60)|0;if(!V){k[299469]=0;V=0;r=W;return V|0}k[V+4>>2]=0;k[V+52>>2]=0;k[V+16>>2]=0;k[V>>2]=W+960;k[W+960>>2]=b;k[W+960+4>>2]=c;k[W+960+8>>2]=0;T=If(525235)|0;k[V+16>>2]=T;T=If(525247)|0;k[V+20>>2]=T;uOa();vOa();T=k[V>>2]|0;k[T+8>>2]=8;s=k[T>>2]|0;n=i[s+8>>0]|0;p=i[s+9>>0]|0;k[T+8>>2]=10;k[V+32>>2]=((n&255)<<8|p&255)<<16>>16;c=i[s+10>>0]|0;b=i[s+11>>0]|0;k[T+8>>2]=12;k[V+40>>2]=((c&255)<<8|b&255)<<16>>16;q=i[s+12>>0]|0;s=i[s+13>>0]|0;k[T+8>>2]=14;k[V+36>>2]=((q&255)<<8|s&255)<<16>>16;if(!(((n&255)<<8|p&255)<<16>>16)){k[V+40>>2]=1;m=1}else m=((c&255)<<8|b&255)<<16>>16;if(!(((q&255)<<8|s&255)&32768)){k[V+44>>2]=((q&255)<<8|s&255)<<16>>16;T=V+44|0;c=((q&255)<<8|s&255)<<16>>16}else{c=ha(((q&255)<<8|s&255)<<16>>16>>>8&127,((q&255)<<8|s&255)&255)|0;k[V+44>>2]=c;T=V+44|0}c=c<<2;k[T>>2]=c;k[V+48>>2]=122;k[a+59652>>2]=0;k[V+12>>2]=0;k[V+24>>2]=6;b=If(525261)|0;if(!b)j=6;else{e=i[b>>0]|0;if(e<<24>>24==48|((e&255)+-48|0)>>>0>9)j=6;else if(!(i[b+1>>0]|0)){c=ha(c,(e&255)+-48|0)|0;k[V+24>>2]=(e&255)+-48;k[T>>2]=(c|0)/6|0;c=(c|0)/6|0;j=(e&255)+-48|0}else j=6}x=((ha(c,j)|0)>>>4>>>0)/(j>>>0)|0;k[V+28>>2]=x;g=j*255|0;if((x*10|0)<(g|0)){b=1;do{b=b+1|0;e=ha(b,c)|0;f=((ha(e,j)|0)>>>4>>>0)/(j>>>0)|0}while((f*10|0)<(g|0));k[T>>2]=e;k[V+28>>2]=f;x=b}else x=1;k[V+8>>2]=0;vBb(W+704|0,0,256)|0;i[a+59804>>0]=0;if(!(k[V+20>>2]|0)){z=0;h=0;Q=64;R=64;H=0}else{k[W>>2]=((n&255)<<8|p&255)<<16>>16;k[W+4>>2]=((q&255)<<8|s&255)<<16>>16;k[W+8>>2]=m;Jpb(525273,W)|0;c=k[V+20>>2]|0;if((x|0)>1&(c|0)!=0){t=k[V+28>>2]|0;k[W+16>>2]=x;k[W+16+4>>2]=t;Jpb(525330,W+16|0)|0;t=0;u=64;v=64;w=0;S=24}else{z=c;h=0;Q=64;R=64;H=0}}while(1){if((S|0)==24){S=0;z=k[V+20>>2]|0;h=t;Q=u;R=v;H=w}c=(z|0)!=0;if(H>>>0>=(k[V+40>>2]|0)>>>0)break;if(c){k[W+24>>2]=H+1;Jpb(525410,W+24|0)|0}b=k[V>>2]|0;w=(k[b>>2]|0)+(k[b+8>>2]|0)|0;k[W+704>>2]=l[w>>0]|l[w+1>>0]<<8|l[w+2>>0]<<16|l[w+3>>0]<<24;k[b+8>>2]=(k[b+8>>2]|0)+4;i[W+704+4>>0]=0;if(Wmb(W+704|0,525428)|0){S=29;break}e=k[b+8>>2]|0;f=k[b>>2]|0;n=i[f+e>>0]|0;p=i[f+(e+1)>>0]|0;q=i[f+(e+2)>>0]|0;s=i[f+(e+3)>>0]|0;k[b+8>>2]=e+4;if(H|0)if((k[V+32>>2]|0)==1){k[V+12>>2]=0;c=k[V+4>>2]|0;if(c|0)do{i[c+25>>0]=-1;k[c+12>>2]=k[c+4>>2];k[c+20>>2]=0;c=k[c>>2]|0}while((c|0)!=0)}a:{v=1;if(v){v=0;if(((p&255)<<16|(n&255)<<24|(q&255)<<8|s&255|0)>0){u=k[37151]|0;t=b;m=e+4|0;g=f;j=h;c=(p&255)<<16|(n&255)<<24|(q&255)<<8|s&255;b=Q;e=R;f=0;while(1){p=t+8|0;q=m;s=0;w=0;k[W+1296>>2]=a;k[W+1440>>2]=t;k[W+1448>>2]=y;k[W+1504>>2]=p;k[W+1520>>2]=m;k[W+2208>>2]=u;k[W+2216>>2]=g;k[W+2224>>2]=q;k[W+2464>>2]=V;k[W+3896>>2]=s;k[W+3960>>2]=x;k[W+4256>>2]=w;k[W+4384>>2]=A;k[W+4392>>2]=j;k[W+4416>>2]=B;k[W+4456>>2]=c;k[W+4640>>2]=D;k[W+4648>>2]=b;k[W+4688>>2]=E;k[W+4720>>2]=F;k[W+4728>>2]=e;k[W+4760>>2]=G;k[W+4768>>2]=f;k[W+4824>>2]=H;k[W+5408>>2]=S;k[W+5440>>2]=0;k[W+5444>>2]=0;pQa(W);t=k[W+1440>>2]|0;y=k[W+1448>>2]|0;m=k[W+1520>>2]|0;g=k[W+2216>>2]|0;A=k[W+4384>>2]|0;j=k[W+4392>>2]|0;B=k[W+4416>>2]|0;c=k[W+4456>>2]|0;D=k[W+4640>>2]|0;b=k[W+4648>>2]|0;E=k[W+4688>>2]|0;F=k[W+4720>>2]|0;e=k[W+4728>>2]|0;G=k[W+4760>>2]|0;f=k[W+4768>>2]|0;S=k[W+5408>>2]|0;J=k[W+5440>>2]|0;C=k[W+5444>>2]|0;K=+o[W+5444>>2];k[W+5440>>2]=0;k[W+5444>>2]=0;if((J|0)==1)break;if((J|0)==2)switch(C|0){case 12:break a}}k[W+408>>2]=526217;Fmb(W+1016|0,526036,W+408|0)|0;k[W+416>>2]=W+1016;Cob(u,525472,W+416|0)|0;k[(k[V>>2]|0)+8>>2]=y;A=B;D=E;F=G}else v=1}if(v)if(1){A=h;D=Q;F=R}}t=A;u=D;v=F;w=H+1|0;S=24}if((S|0)==29){if(((Fnb(W+704|0)|0)+38|0)>>>0<=255){k[W+32>>2]=W+704;Fmb(W+1016|0,525433,W+32|0)|0;V=k[37151]|0;k[W+40>>2]=W+1016;Cob(V,525472,W+40|0)|0}k[299469]=0;V=0;r=W;return V|0}if(c)Lpb(526220)|0;c=k[V+4>>2]|0;do if(!c){N=2147483647;S=269}else{b=2147483647;e=0;g=c;do{e=1<>0]|e;f=k[g+4>>2]|0;if(f){while(1){if(i[f+8>>0]|0)if(i[f+10>>0]|0){L=f;S=262;break}f=k[f>>2]|0;if(!f){I=2147483647;break}}if((S|0)==262){S=0;I=k[L+4>>2]|0}b=I>>>0>>0?I:b}g=k[g>>2]|0}while((g|0)!=0);if(!(e&1023)){N=b;S=269}else if((e&3840|0)==1024){k[V+52>>2]=10;M=11;O=b;break}else{k[V+52>>2]=9;M=10;O=b;break}}while(0);if((S|0)==269){k[V+52>>2]=15;M=16;O=N}if(k[V+20>>2]|0){k[W+424>>2]=M;Jpb(526251,W+424|0)|0;c=k[V+4>>2]|0}k[V+12>>2]=0;w=k[V+28>>2]|0;if(!c){c=0;b=0}else{x=k[37151]|0;do{u=c+24|0;b:do if((l[u>>0]|0)==(k[V+52>>2]|0)){s=c+4|0;b=k[s>>2]|0;c:do if(b|0){m=0;f=0;e=0;n=0;q=127;while(1){p=b+4|0;j=k[p>>2]|0;j=j>>>0>>0?0:j-O|0;k[p>>2]=j;g=b+8|0;do if((i[g>>0]|0)==1){g=b+10|0;if(i[g>>0]|0){n=b+9|0;f=l[n>>0]|0;N=(JOa(ROa(f)|0)|0)&255;i[b+11>>0]=N;N=(SOa(f)|0)&255;i[n>>0]=N;n=((ha(l[g>>0]|0,q)|0)/128|0)&255;i[g>>0]=(q|0)!=0&n<<24>>24==0?1:n;n=k[p>>2]|0;g=q;break}e=n+w|0;if(e>>>0<=j>>>0){m=b;e=j;g=q;break}g=k[b>>2]|0;if(!g)g=2147483647;else g=k[g+4>>2]|0;if((e+w|0)>>>0>>0){k[p>>2]=e;m=b;g=q;break}if(e>>>0>>0){k[p>>2]=e+-1;m=b;e=e+-1|0;g=q;break}else{e=g+-1|0;k[p>>2]=e;m=b;g=q;break}}else{if((i[b+12>>0]|0)!=7){g=q;break}j=i[b+13>>0]|0;if(!(n>>>0>e>>>0&j<<24>>24==0)){g=j&255;break}i[g>>0]=1;i[b+10>>0]=0;m=(SOa(f)|0)&255;i[b+9>>0]=m;m=b;e=k[p>>2]|0;g=j&255}while(0);b=k[b>>2]|0;if(!b){g=m;b=n;break}else q=g}if(b>>>0>e>>>0){k[W+432>>2]=b;k[W+432+4>>2]=e;k[W+432+8>>2]=f;Fmb(W+976|0,526326,W+432|0)|0;if(((Fnb(W+976|0)|0)+33|0)>>>0<=255){k[W+448>>2]=W+976;Fmb(W+1016|0,526344,W+448|0)|0;k[W+456>>2]=W+1016;Cob(x,525472,W+456|0)|0}}if(!g)break;b=k[g>>2]|0;if(!b)break;do{N=b;b=k[b>>2]|0;iqb(N)}while((b|0)!=0);k[g>>2]=0;k[c+8>>2]=g;b=k[s>>2]|0;s=c+12|0;k[s>>2]=b;j=k[g+4>>2]|0;if(!b)break;m=c+27|0;n=c+25|0;p=c+26|0;q=c+20|0;do{e=b+4|0;if((k[e>>2]|0)>>>0>j>>>0)break c;k[s>>2]=b;if(i[b+8>>0]|0){g=b+10|0;if(!(i[g>>0]|0))f=-1;else f=i[b+9>>0]|0;i[n>>0]=f;i[p>>0]=i[g>>0]|0;k[q>>2]=k[e>>2]}if((i[b+12>>0]|0)==8)i[m>>0]=i[b+13>>0]|0;b=k[b>>2]|0}while((b|0)!=0)}while(0)}else{v=c+4|0;b=k[v>>2]|0;if(b|0){m=0;p=0;f=0;q=0;n=0;t=127;while(1){s=b+4|0;e=k[s>>2]|0;e=e>>>0>>0?0:e-O|0;k[s>>2]=e;g=b+8|0;d:do if((i[g>>0]|0)==1){if(!m)j=JOa(1)|0;else j=m;i[b+11>>0]=j;f=l[b+9>>0]|0;e=b+10|0;g=i[e>>0]|0;if(g<<24>>24){m=((ha(g&255,t)|0)/128|0)&255;i[e>>0]=(t|0)!=0&m<<24>>24==0?1:m;m=j;e=q;n=k[s>>2]|0;g=t;break}e=n+w|0;g=k[s>>2]|0;if(e>>>0<=g>>>0){m=j;p=b;e=g;g=t;break}g=k[b>>2]|0;if(!g)g=2147483647;else g=k[g+4>>2]|0;if((e+w|0)>>>0>>0){k[s>>2]=e;m=j;p=b;g=t;break}if(e>>>0>>0){k[s>>2]=e+-1;m=j;p=b;e=e+-1|0;g=t;break}else{e=g+-1|0;k[s>>2]=e;m=j;p=b;g=t;break}}else{switch(i[b+12>>0]|0){case 8:{m=l[b+13>>0]|0;e=q;g=t;break d}case 7:break;default:{e=q;g=t;break d}}j=i[b+13>>0]|0;if(!(n>>>0>q>>>0&j<<24>>24==0)){e=q;g=j&255;break}i[g>>0]=1;i[b+10>>0]=0;i[b+9>>0]=f;p=b;g=j&255}while(0);b=k[b>>2]|0;if(!b){g=p;b=n;break}else{q=e;t=g}}if(b>>>0>e>>>0){k[W+464>>2]=(l[u>>0]|0)+1;k[W+464+4>>2]=b;k[W+464+8>>2]=e;k[W+464+12>>2]=f;Fmb(W+976|0,526378,W+464|0)|0;if(((Fnb(W+976|0)|0)+35|0)>>>0<=255){k[W+480>>2]=W+976;Fmb(W+1016|0,526408,W+480|0)|0;k[W+488>>2]=W+1016;Cob(x,525472,W+488|0)|0}}if(!g)break;b=k[g>>2]|0;if(!b)break;do{N=b;b=k[b>>2]|0;iqb(N)}while((b|0)!=0);k[g>>2]=0;k[c+8>>2]=g;b=k[v>>2]|0;s=c+12|0;k[s>>2]=b;j=k[g+4>>2]|0;if(!b)break;m=c+27|0;n=c+25|0;p=c+26|0;q=c+20|0;do{e=b+4|0;if((k[e>>2]|0)>>>0>j>>>0)break b;k[s>>2]=b;if(i[b+8>>0]|0){g=b+10|0;if(!(i[g>>0]|0))f=-1;else f=i[b+9>>0]|0;i[n>>0]=f;i[p>>0]=i[g>>0]|0;k[q>>2]=k[e>>2]}if((i[b+12>>0]|0)==8)i[m>>0]=i[b+13>>0]|0;b=k[b>>2]|0}while((b|0)!=0)}}while(0);b=k[c+8>>2]|0;if(b|0){b=k[b+4>>2]|0;if(b>>>0>(k[V+12>>2]|0)>>>0)k[V+12>>2]=b}c=k[c>>2]|0}while((c|0)!=0);c=k[V+12>>2]|0;b=k[V+4>>2]|0}N=c+(k[T>>2]>>2)|0;k[V+12>>2]=N;O=jqb(1,16)|0;k[O>>2]=0;k[O+4>>2]=N;i[O+8>>0]=0;i[O+8+1>>0]=0;i[O+8+2>>0]=0;i[O+8+3>>0]=0;i[O+8+4>>0]=0;i[O+8+5>>0]=0;i[O+12>>0]=3;gPa(b,O);if(!(k[V+16>>2]|0))S=365;else{k[W+496>>2]=k[V+12>>2];Jpb(526444,W+496|0)|0;k[W+504>>2]=k[V+24>>2];Jpb(526462,W+504|0)|0;k[W+512>>2]=k[V+28>>2];Jpb(526479,W+512|0)|0;k[W+520>>2]=k[V+32>>2];Jpb(526496,W+520|0)|0;k[W+528>>2]=k[V+36>>2];Jpb(526513,W+528|0)|0;k[W+536>>2]=k[V+40>>2];Jpb(526530,W+536|0)|0;k[W+544>>2]=k[T>>2];Jpb(526547,W+544|0)|0;k[W+552>>2]=k[V+48>>2];Jpb(526564,W+552|0)|0;k[W+560>>2]=k[V+52>>2];Jpb(526581,W+560|0)|0;k[W+568>>2]=k[V+56>>2];Jpb(526598,W+568|0)|0;c=k[V+4>>2]|0;if(!c){d=0;P=0}else{e=0;b=c;while(1){e=e+1|0;M=(l[b+24>>0]|0)+1|0;N=l[b+25>>0]|0;O=k[b+16>>2]|0;S=l[b+26>>0]|0;c=l[b+27>>0]|0;k[W+576>>2]=e;k[W+576+4>>2]=M;k[W+576+8>>2]=N;k[W+576+12>>2]=O;k[W+576+16>>2]=S;k[W+576+20>>2]=c;Jpb(526616,W+576|0)|0;c=k[b+4>>2]|0;e:do if(c|0)while(1){L=k[c+4>>2]|0;M=i[c+8>>0]|0?526674:526679;N=l[c+9>>0]|0;O=l[c+10>>0]|0;S=l[c+11>>0]|0;k[W+600>>2]=e;k[W+600+4>>2]=L;k[W+600+8>>2]=M;k[W+600+12>>2]=N;k[W+600+16>>2]=O;k[W+600+20>>2]=S;Jpb(526684,W+600|0)|0;switch(l[c+12>>0]|0){case 3:{Lpb(526709)|0;break}case 5:{Lpb(526715)|0;break}case 8:{k[W+624>>2]=l[c+13>>0];Jpb(526722,W+624|0)|0;break}case 7:{k[W+632>>2]=l[c+13>>0];Jpb(526731,W+632|0)|0;break}case 6:{k[W+640>>2]=l[c+13>>0];Jpb(526743,W+640|0)|0;break}case 1:{k[W+648>>2]=l[c+13>>0];Jpb(526756,W+648|0)|0;break}case 2:{k[W+656>>2]=l[c+13>>0];Jpb(526770,W+656|0)|0;break}case 4:{k[W+664>>2]=l[c+13>>0];Jpb(526782,W+664|0)|0;break}default:Kpb(10)|0}c=k[c>>2]|0;if(!c)break e}while(0);b=k[b>>2]|0;if(!b){S=365;break}}}}if((S|0)==365){b=k[V+4>>2]|0;if(!b){d=0;P=0}else{d=0;c=b;do{d=1<>0]|d;c=k[c>>2]|0}while((c|0)!=0);P=b}}m=(d>>>1&1)+(d&1)+(d>>>2&1)+(d>>>3&1)+(d>>>4&1)+(d>>>5&1)+(d>>>6&1)+(d>>>7&1)+(d>>>8&1)+(d>>>9&1)+(d>>>10&1)+(d>>>11&1)+(d>>>12&1)+(d>>>13&1)+(d>>>14&1)+(d>>>15&1)|0;if((R|0)<49&(Q|0)>79|(P|0)==0)c=P;else{c=P;f=P;do{e=i[f+24>>0]|0;if(!c)c=0;else{d=0;do{d=1<>0]|d;c=k[c>>2]|0}while((c|0)!=0);c=d}if(!(e<<24>>24))d=0;else{b=0;d=0;do{d=((1<>2]=(((d<<7)+(m<<6)|0)/(m|0)|0)&127;f=k[f>>2]|0;c=k[V+4>>2]|0}while((f|0)!=0)}if(!c)j=0;else{d=0;do{d=d+1|0;c=k[c>>2]|0}while((c|0)!=0);j=d}d=k[a+59652>>2]|0;if(!d){d=k[V+48>>2]|0;k[a+59652>>2]=d}if(!h)h=k[V+48>>2]|0;do if((h|0)==255){U=d;S=395}else{if(k[V+20>>2]|0){k[W+672>>2]=h;Jpb(526791,W+672|0)|0}if((h|0)<1)break;b=k[T>>2]|0;R=(ha(b,h)|0)/255|0;k[T>>2]=R;e=k[V+24>>2]|0;R=((ha(e,R)|0)>>>4>>>0)/(e>>>0)|0;k[V+28>>2]=R;do if((R|0)<(e|0)){d=h;while(1){c=d+1|0;g=(ha(c,b)|0)/255|0;f=((ha(g,e)|0)>>>4>>>0)/(e>>>0)|0;if((f|0)<(e|0))d=c;else break}k[T>>2]=g;k[V+28>>2]=f;if(!((d|0)>=(h|0)&(k[V+20>>2]|0)!=0))break;k[W+680>>2]=h;k[W+680+4>>2]=(h<<1)-c;k[W+680+8>>2]=f;Jpb(526818,W+680|0)|0}else c=h;while(0);d=k[V+4>>2]|0;do if(d|0){d=k[d+4>>2]|0;if(!d)break;do{if((i[d+12>>0]|0)==4){R=d+13|0;i[R>>0]=((l[R>>0]|0)*255|0)/(c|0)|0}d=k[d>>2]|0}while((d|0)!=0)}while(0);if((h|0)<=0)break;U=k[a+59652>>2]|0;S=395}while(0);if((S|0)==395)k[a+59652>>2]=((U*255|0)>>>0)/(h>>>0)|0;e=k[V+12>>2]|0;b=k[V+24>>2]|0;d=k[T>>2]|0;f=((((((ha(e<<4,b)|0)>>>0)/(d>>>0)|0)>>>0)/(b>>>0)|0)>>>6)+1|0;if(!(k[V+20>>2]|0))c=b;else{k[W+696>>2]=f;k[W+696+4>>2]=b;Jpb(526891,W+696|0)|0;c=k[V+24>>2]|0}k[a+59680>>2]=65536;k[a+59648>>2]=c;k[a+59664>>2]=j;k[a+59660>>2]=16;k[a+59764>>2]=112;k[a+59768>>2]=13696;e=((((((ha(e,b)|0)<<4>>>0)/(d>>>0)|0)>>>0)/(b>>>0)|0)>>>6)+1|0;d=0;do{i[a+53344+d>>0]=d;d=d+1|0}while((d|0)!=(e|0));if(!(_Oa(a)|0)){k[299469]=0;V=0;r=W;return V|0}if(iPa(a+51904|0,a+52864|0,V,f,k[a+59664>>2]|0)|0){k[a+59664>>2]=(k[a+59664>>2]|0)+1;d=k[V+4>>2]|0;U=i[d+24>>0]|0;b=jqb(1,28)|0;k[b>>2]=0;i[b+25>>0]=-1;i[b+27>>0]=1;i[b+24>>0]=U;k[b+4>>2]=0;k[b+8>>2]=0;k[b+12>>2]=0;k[b+20>>2]=0;if(!d)c=120;else c=i[d+26>>0]|0;i[b+26>>0]=c;k[b+16>>2]=64;k[V+8>>2]=b;while(1){c=k[d>>2]|0;if(!c)break;else d=c}k[d>>2]=b;d=jqb(1,16)|0;k[d>>2]=0;k[d+4>>2]=k[V+12>>2];i[d+8>>0]=0;i[d+8+1>>0]=0;i[d+8+2>>0]=0;i[d+8+3>>0]=0;i[d+8+4>>0]=0;i[d+8+5>>0]=0;i[d+12>>0]=5;gPa(b,d);d=0;do{U=a+51904+(d<<2)|0;ZOa(k[U>>2]|0);k[U>>2]=0;d=d+1|0}while((d|0)!=(e|0));iPa(a+51904|0,a+52864|0,V,f,k[a+59664>>2]|0)|0}c=k[V+4>>2]|0;do if(c|0){d=0;b=c;while(1){U=(((ha((k[b+16>>2]|0)*160|0,((m|0)/2|0)<<1|1)|0)>>7)+((((m|0)/2|0)<<1|1)*48|0)|0)/(((m|0)/2|0)<<1|1|0)|0;k[a+49600+(d*36|0)>>2]=U;k[a+49600+(d*36|0)+4>>2]=64;b=k[b>>2]|0;if(!b)break;else d=d+1|0}if(!c)break;do{b=c;c=k[c>>2]|0;d=k[b+4>>2]|0;if(d|0)do{a=d;d=k[d>>2]|0;iqb(a)}while((d|0)!=0);k[b+4>>2]=0}while((c|0)!=0)}while(0);iqb(V);if(k[V+20>>2]|0)Lpb(526929)|0;k[299469]=0;V=1;r=W;return V|0}k[299469]=0;V=0;r=W;return V|0}function gPa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=k[a+12>>2]|0;do if(!c)g=15;else{if((k[c+4>>2]|0)>>>0>(k[b+4>>2]|0)>>>0){c=k[a+4>>2]|0;if(!c){g=15;break}}e=0;while(1){f=c+4|0;if((k[f>>2]|0)>>>0>(k[b+4>>2]|0)>>>0){d=c;g=13;break}k[a+12>>2]=c;if(i[c+8>>0]|0){e=c+10|0;if(!(i[e>>0]|0))d=-1;else d=i[c+9>>0]|0;i[a+25>>0]=d;i[a+26>>0]=i[e>>0]|0;k[a+20>>2]=k[f>>2]}if((i[c+12>>0]|0)==8)i[a+27>>0]=i[c+13>>0]|0;d=k[c>>2]|0;if(!d){d=0;break}else{e=c;c=d}}if((g|0)==13)if(!e){g=15;break}else c=e;k[c>>2]=b;k[b>>2]=d;c=d}while(0);if((g|0)==15){c=k[a+4>>2]|0;k[b>>2]=c;k[a+4>>2]=b}if(!c)k[a+8>>2]=b;k[a+12>>2]=b;if(i[b+8>>0]|0){if(!(i[b+10>>0]|0))c=-1;else c=i[b+9>>0]|0;i[a+25>>0]=c;i[a+26>>0]=i[b+10>>0]|0;k[a+20>>2]=k[b+4>>2]}if((i[b+12>>0]|0)!=8)return;i[a+27>>0]=i[b+13>>0]|0;return}function hPa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;j=k[a+28>>2]|0;d=k[a+4>>2]|0;if(!d){h=0;g=1;d=0;f=0}else{h=0;g=1;x=0;m=0;w=0;f=0;while(1){u=k[a+12>>2]|0;v=d+12|0;e=k[v>>2]|0;a:do if(e|0){if((k[e+4>>2]|0)>>>0>u>>>0){e=k[d+4>>2]|0;if(!e)break}q=d+27|0;r=d+25|0;s=d+26|0;t=d+20|0;do{o=e+4|0;if((k[o>>2]|0)>>>0>u>>>0)break a;k[v>>2]=e;if(i[e+8>>0]|0){p=e+10|0;if(!(i[p>>0]|0))n=-1;else n=i[e+9>>0]|0;i[r>>0]=n;i[s>>0]=i[p>>0]|0;k[t>>2]=k[o>>2]}if((i[e+12>>0]|0)==8)i[q>>0]=i[e+13>>0]|0;e=k[e>>2]|0}while((e|0)!=0)}while(0);if((l[d+24>>0]|0)==(b|0)){e=i[d+25>>0]|0;if((e&255|0)==(c|0)){y=49;break}if(e<<24>>24==-1)e=(k[a+12>>2]|0)>>>0>((k[d+20>>2]|0)+j|0)>>>0?d:w;else{e=w;f=l[d+26>>0]|0}h=k[d+16>>2]|0;g=l[d+27>>0]|0;m=m+1|0}else e=w;n=k[d>>2]|0;if(!n){n=x;break}else{x=x+1|0;d=n;w=e}}if((y|0)==49)return d|0;if(e|0){i[e+25>>0]=c;c=e;return c|0}if((m|0)>16)y=26;else if((m|0)>0&(n|0)>57)y=26;if((y|0)==26){e=k[a+4>>2]|0;if(e|0){m=e;e=0;do{if((l[m+24>>0]|0)==(b|0)){w=k[a+12>>2]|0;x=k[(k[m+12>>2]|0)+4>>2]|0;y=w>>>0>(x+j|0)>>>0;j=y?w-x|0:j;e=y?m:e}m=k[m>>2]|0}while((m|0)!=0);if(e|0){i[e+25>>0]=c;c=e;return c|0}}}if((n|0)>57){n=k[a+4>>2]|0;if(n){j=0;m=n;e=0;do{if((l[m+24>>0]|0)==(b|0)){w=k[a+12>>2]|0;x=k[(k[m+12>>2]|0)+4>>2]|0;y=w>>>0<(x+j|0)>>>0;j=y?j:w-x|0;e=y?e:m}m=k[m>>2]|0}while((m|0)!=0);if(e|0){i[e+25>>0]=c;c=e;return c|0}if(n){o=k[a+12>>2]|0;p=0;e=0;while(1){j=k[(k[n+12>>2]|0)+4>>2]|0;m=o>>>0<(j+p|0)>>>0;e=m?e:n;n=k[n>>2]|0;if(!n)break;else p=m?p:o-j|0}if(e){i[e+25>>0]=c;i[e+24>>0]=b;c=e;return c|0}}}}}e=jqb(1,28)|0;k[e>>2]=0;i[e+25>>0]=c;i[e+27>>0]=1;i[e+24>>0]=b;k[e+4>>2]=0;k[e+8>>2]=0;k[e+12>>2]=0;k[e+20>>2]=0;i[e+27>>0]=g;i[e+26>>0]=f;k[e+16>>2]=h;if(!d){k[a+4>>2]=e;c=e;return c|0}else{k[d>>2]=e;c=e;return c|0}return 0}function iPa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;B=(d|0)>240?240:d;d=k[c+4>>2]|0;if(d|0)do{k[d+12>>2]=k[d+4>>2];d=k[d>>2]|0}while((d|0)!=0);if((B|0)<=0){C=0;return C|0}z=0;a:while(1){A=$Na(64,e)|0;x=a+(z<<2)|0;k[x>>2]=A;if(!A){d=0;C=82;break}j[b+(z<<1)>>1]=64;y=z<<6;A=0;do{v=k[c+24>>2]|0;w=ha(v,A+y|0)|0;v=((ha(w,k[c+44>>2]|0)|0)>>>4>>>0)/(v>>>0)|0;w=(k[c+28>>2]|0)+v|0;n=k[c+4>>2]|0;m=k[n+12>>2]|0;b:do if(!m){f=0;d=0}else{d=m;while(1){if(((i[d+12>>0]|0)+-3&255)<2)break;d=k[d>>2]|0;if(!d){f=0;d=0;break b}}f=k[d+4>>2]|0;if(f>>>0>>0){h=f;g=d;f=0;d=0;do{c:do if(h>>>0>=v>>>0)switch(l[g+12>>0]|0){case 4:{d=l[g+13>>0]|0;break c}case 3:{f=1;break c}default:break c}while(0);g=k[g>>2]|0;if(!g)break b;while(1){if(((i[g+12>>0]|0)+-3&255)<2)break;g=k[g>>2]|0;if(!g)break b}h=k[g+4>>2]|0}while(h>>>0>>0)}else{f=0;d=0}}while(0);d:do if(n){u=ha(A,e)|0;h=m;t=0;g=n;while(1){r=t+u|0;s=k[x>>2]|0;i[s+(r*6|0)+5>>0]=0;i[s+(r*6|0)+3>>0]=0;q=g+12|0;o=(h|0)==0;e:do if(o)C=55;else{m=h;do{if(i[m+12>>0]|0){C=24;break}m=k[m>>2]|0}while((m|0)!=0);f:do if((C|0)==24){C=0;n=k[m+4>>2]|0;if(n>>>0>>0)do{g:do if(n>>>0>=v>>>0)switch(l[m+12>>0]|0){case 6:{i[s+(r*6|0)+5>>0]=i[m+13>>0]|0;i[s+(r*6|0)+3>>0]=11;break g}case 2:{i[s+(r*6|0)+5>>0]=l[m+13>>0]|16;i[s+(r*6|0)+3>>0]=28;break g}case 1:{i[s+(r*6|0)+5>>0]=l[m+13>>0]|32;i[s+(r*6|0)+3>>0]=28;break g}default:break g}while(0);m=k[m>>2]|0;if(!m)break f;while(1){if(i[m+12>>0]|0)break;m=k[m>>2]|0;if(!m)break f}n=k[m+4>>2]|0}while(n>>>0>>0)}while(0);if(o)C=55;else{while(1){if(i[h+8>>0]|0){if(i[h+10>>0]|0)break;if(jPa(l[h+11>>0]|0)|0)break}h=k[h>>2]|0;if(!h){C=55;break e}}if((k[h+4>>2]|0)>>>0>>0)do{k[q>>2]=h;h=k[h>>2]|0;if(!h){C=55;break e}while(1){if(i[h+8>>0]|0){if(i[h+10>>0]|0)break;if(jPa(l[h+11>>0]|0)|0)break}h=k[h>>2]|0;if(!h){C=55;break e}}}while((k[h+4>>2]|0)>>>0>>0);h:do if((k[h+4>>2]|0)>>>0>>0){n=h;o=0;p=h;m=0;while(1){k[q>>2]=n;m=m+1|0;D=(i[n+10>>0]|0)==0;o=D?o:(o|0)==0?n:o;p=D?p:n;n=k[n>>2]|0;if(!n){n=o;break h}while(1){if(i[n+8>>0]|0){if(i[n+10>>0]|0)break;if(jPa(l[n+11>>0]|0)|0)break}n=k[n>>2]|0;if(!n){n=o;break h}}if((k[n+4>>2]|0)>>>0>=w>>>0){n=o;break}}}else{n=0;p=h;m=0}while(0);switch(m|0){case 0:{C=55;break e}case 1:break;default:if((n|0)!=0&(n|0)!=(p|0)){h=YOa(l[n+9>>0]|0)|0;m=YOa(l[p+9>>0]|0)|0;n=(l[p+10>>0]|0)>>>1;i[s+(r*6|0)+1>>0]=i[p+11>>0]|0;i[s+(r*6|0)>>0]=h;i[s+(r*6|0)+2>>0]=1;i[s+(r*6|0)+4>>0]=(n&255)>64?64:n;n=(m|0)>(h&255|0)?m-(h&255)|0:(h&255)-m|0;i[s+(r*6|0)+5>>0]=n;if((n&240)>>>0>=16){i[s+(r*6|0)+3>>0]=(m|0)>(h&255|0)?2:3;h=n&255;break e}if(!((n&255)<<24>>24)){i[s+(r*6|0)+3>>0]=15;h=(((ha(k[c+24>>2]<<4,(k[p+4>>2]|0)-v|0)|0)>>>0)/((k[c+44>>2]|0)>>>0)|0)&255;i[s+(r*6|0)+5>>0]=h;break e}else{i[s+(r*6|0)+3>>0]=28;h=(n|((m|0)>(h&255|0)?16:32))&255;i[s+(r*6|0)+5>>0]=h;break e}}}m=(n|0)==0?h:n;h=k[q>>2]|0;o=(YOa(l[m+9>>0]|0)|0)&255;p=i[m+11>>0]|0;n=i[m+10>>0]|0;do if(!(n<<24>>24)){h=((ha(k[c+24>>2]<<4,(k[m+4>>2]|0)-v|0)|0)>>>0)/((k[c+44>>2]|0)>>>0)|0;i[s+(r*6|0)+5>>0]=h;if(!((h&255)<<24>>24)){i[s+(r*6|0)+5>>0]=0;i[s+(r*6|0)+3>>0]=25;h=0;m=0;break}else{i[s+(r*6|0)+3>>0]=20;i[s+(r*6|0)+5>>0]=h|192;h=(h|192)&255;m=0;break}}else if(!(i[h+10>>0]|0)){h=((ha(k[c+24>>2]<<4,(k[h+4>>2]|0)-v|0)|0)>>>0)/((k[c+44>>2]|0)>>>0)|0;i[s+(r*6|0)+5>>0]=h;if(!((h&255)<<24>>24)){h=0;m=(n&255)>>>1;break}i[s+(r*6|0)+3>>0]=20;i[s+(r*6|0)+5>>0]=h|192;h=(h|192)&255;m=(n&255)>>>1;break}else{h=((ha(k[c+24>>2]<<4,(k[m+4>>2]|0)-v|0)|0)>>>0)/((k[c+44>>2]|0)>>>0)|0;i[s+(r*6|0)+5>>0]=h;if(!((h&255)<<24>>24)){h=0;m=(n&255)>>>1;break}i[s+(r*6|0)+3>>0]=20;i[s+(r*6|0)+5>>0]=h|208;h=(h|208)&255;m=(n&255)>>>1;break}while(0);i[s+(r*6|0)+1>>0]=p;i[s+(r*6|0)>>0]=o;i[s+(r*6|0)+2>>0]=1;i[s+(r*6|0)+4>>0]=m}}while(0);if((C|0)==55){C=0;h=i[s+(r*6|0)+5>>0]|0}do if(!(h<<24>>24))if(!(i[s+(r*6|0)+3>>0]|0)){if(d|0){i[s+(r*6|0)+3>>0]=17;i[s+(r*6|0)+5>>0]=d;d=0;break}if(!f){f=0;d=0}else{i[s+(r*6|0)+3>>0]=14;f=0;d=0}}while(0);g=k[g>>2]|0;if(!g)break d;h=k[g+12>>2]|0;t=t+1|0}}while(0);A=A+1|0;if(d|f|0){d=1;C=82;break a}}while((A|0)<64);z=z+1|0;if((z|0)>=(B|0)){d=0;C=82;break}}if((C|0)==82)return d|0;return 0}function jPa(a){a=a|0;if((a|0)>=191){a=1;return a|0}a=l[1249217+(a+-1)>>0]|0;return a|0}function kPa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0;v=r;r=r+368|0;if(c>>>0>=129){ABb(v+231|0,b|0,129)|0;if(!(Wmb(v+231|0,526934)|0))if(!(Wmb(v+231+12|0,526946)|0)){u=jqb(1,20)|0;if(!u){a=0;r=v;return a|0}k[v+40>>2]=b;k[v+40+4>>2]=c;s=v+40+8|0;k[s>>2]=0;k[v+40+12>>2]=0;if(k[299470]|0)do gqb(1)|0;while((k[299470]|0)!=0);k[299470]=1;if((c|0)>129){k[s>>2]=129;d=129}else{k[v+40+12>>2]=1;d=0}t=c-d|0;t=(t|0)<63?t:63;ABb(v+231|0,b+d|0,t|0)|0;k[s>>2]=t+d;dpb(u,v+231+2|0,16)|0;i[u+15>>0]=0;d=k[v+40+4>>2]|0;if((d|0)>129){k[s>>2]=129;c=129}else{k[v+40+12>>2]=1;c=k[s>>2]|0}t=d-c|0;t=(t|0)<63?t:63;q=k[v+40>>2]|0;ABb(v+231|0,q+c|0,t|0)|0;t=t+c|0;k[s>>2]=t;d=(d-t|0)<47?d-t|0:47;ABb(v+184|0,q+t|0,d|0)|0;k[s>>2]=d+t;dpb(v+184+7|0,v+231+2|0,40)|0;d=l[v+184+6>>0]|0;i[u+16>>0]=d;i[u+16+1>>0]=d>>8;i[u+16+2>>0]=d>>16;i[u+16+3>>0]=d>>24;if(!(i[u>>0]|0)){k[v+8>>2]=d;Fmb(v+88|0,526984,v+8|0)|0}else{k[v>>2]=u;k[v+4>>2]=d;Fmb(v+88|0,526956,v)|0}if((Fnb(v+88|0)|0)>>>0>31)i[v+88+31>>0]=0;Pnb(a+59804|0,v+88|0)|0;k[a+59652>>2]=60;d=l[u+16>>0]|l[u+16+1>>0]<<8|l[u+16+2>>0]<<16|l[u+16+3>>0]<<24;q=((d<<4)+112&48|0)==0?(d<<4)+112|0:(d<<4)+176|0;k[a+59680>>2]=33554432;k[a+59688>>2]=d+1;k[a+59684>>2]=d+1;k[a+59648>>2]=6;k[a+59664>>2]=d;k[a+59660>>2]=16;k[a+59764>>2]=112;k[a+59768>>2]=13696;if((q|0)>63){d=0;do{i[a+53344+d>>0]=d;d=d+1|0}while((d|0)<((q|0)/64|0|0));d=k[a+59688>>2]|0}else d=d+1|0;if((d|0)>1){c=1;do{d=kBb(632)|0;vBb(d|0,0,632)|0;k[a+48640+(c<<2)>>2]=d;ABb(v+152|0,u|0,(Fnb(u)|0)+1|0)|0;i[v+152+31>>0]=0;b=d+585|0;e=b+32|0;do{i[b>>0]=0;b=b+1|0}while((b|0)<(e|0));Pnb(d+585|0,v+152|0)|0;i[v+152+11>>0]=0;b=d+617|0;e=b+12|0;do{i[b>>0]=0;b=b+1|0}while((b|0)<(e|0));Pnb(d+617|0,v+152|0)|0;lPa(v+40|0,v+231|0,c);aPa(v+231|0,d,c);c=c+1|0;d=k[a+59688>>2]|0}while((c|0)<(d|0))}if((k[a+59684>>2]|0)>1){n=v+231+8|0;p=1;do{o=a+33280+(p<<6)|0;j[a+33280+(p<<6)+32>>1]=64;j[a+33280+(p<<6)+28>>1]=128;h=a+33280+(p<<6)+34|0;j[h>>1]=1;lPa(v+40|0,v+231|0,p);k[a+33280+(p<<6)+24>>2]=~~(+((l[v+231+20>>0]|l[v+231+20+1>>0]<<8)&65535)*52325.100000000006/(+((l[v+231+30>>0]|l[v+231+30+1>>0]<<8|l[v+231+30+2>>0]<<16|l[v+231+30+3>>0]<<24)>>>0)*.4)+.5)>>>0;d=l[n>>0]|l[n+1>>0]<<8|l[n+2>>0]<<16|l[n+3>>0]<<24;k[o>>2]=d;c=l[v+231+12>>0]|l[v+231+12+1>>0]<<8|l[v+231+12+2>>0]<<16|l[v+231+12+3>>0]<<24;b=a+33280+(p<<6)+4|0;k[b>>2]=c;e=l[v+231+16>>0]|l[v+231+16+1>>0]<<8|l[v+231+16+2>>0]<<16|l[v+231+16+3>>0]<<24;f=a+33280+(p<<6)+8|0;k[f>>2]=e;j[a+33280+(p<<6)+30>>1]=256;g=i[v+231+55>>0]|0;if(g&1){k[o>>2]=d>>>1;k[b>>2]=c>>>1;k[f>>2]=e>>>1}if(g&4){d=(g&8)<<1|m[h>>1];j[h>>1]=d|2;if(g&32)j[h>>1]=d|10}b=v+56|0;e=b+32|0;do{i[b>>0]=0;b=b+1|0}while((b|0)<(e|0));do if(!(i[v+231>>0]|0))if(!(i[u>>0]|0)){k[v+32>>2]=p;Fmb(v+56|0,527013,v+32|0)|0;break}else{k[v+24>>2]=p;k[v+24+4>>2]=u;Fmb(v+56|0,525200,v+24|0)|0;break}else{k[v+16>>2]=p;k[v+16+4>>2]=v+231;Fmb(v+56|0,525200,v+16|0)|0}while(0);i[v+56+31>>0]=0;d=a+59804+(p<<5)|0;b=d;e=b+32|0;do{i[b>>0]=0;b=b+1|0}while((b|0)<(e|0));Pnb(d,v+56|0)|0;d=i[v+231+55>>0]|0;c=l[n>>0]|l[n+1>>0]<<8|l[n+2>>0]<<16|l[n+3>>0]<<24;if(!(d&1))e=hqb(c<<1)|0;else e=hqb(c)|0;if(e|0){h=k[s>>2]|0;t=(k[v+40+4>>2]|0)-h|0;t=(t|0)<(c|0)?t:c;ABb(e|0,(k[v+40>>2]|0)+h|0,t|0)|0;k[s>>2]=h+t;if(!(d&1)){if((c|0)>0){b=e+(c<<1)|0;f=e+c|0;g=0;do{f=f+-1|0;b=b+-2|0;j[b>>1]=i[f>>0]<<8;g=g+1|0}while((g|0)!=(c|0))}dOa(a,o,((d&2)>>>1)+5|0,e,c<<1)|0}else dOa(a,o,((d&255)>>>1&1)+5|0,e,c)|0;iqb(e)}p=p+1|0}while((p|0)<(k[a+59684>>2]|0));d=k[a+59688>>2]|0}c=kBb(632)|0;k[a+48640>>2]=c;ABb(c|0,k[a+48640+(d+-1<<2)>>2]|0,632)|0;b=c+585|0;e=b+32|0;do{i[b>>0]=0;b=b+1|0}while((b|0)<(e|0));if(!(i[u>>0]|0))dpb(c+585|0,527034,32)|0;else dpb(c+585|0,u,32)|0;b=a+33280|0;d=a+33280+((k[a+59684>>2]|0)+-1<<6)|0;e=b+64|0;do{k[b>>2]=k[d>>2];b=b+4|0;d=d+4|0}while((b|0)<(e|0));s=((q|0)/64|0|0)>240?240:(q|0)/64|0;t=l[u+16>>0]|l[u+16+1>>0]<<8|l[u+16+2>>0]<<16|l[u+16+3>>0]<<24;a:do if((s|0)>0){d=t;c=0;do{q=$Na(64,d)|0;o=a+51904+(c<<2)|0;k[o>>2]=q;if(!q)break a;j[a+52864+(c<<1)>>1]=64;p=c<<6;d=l[u+16>>0]|l[u+16+1>>0]<<8|l[u+16+2>>0]<<16|l[u+16+3>>0]<<24;q=0;do{n=q+p|0;b:do if((d|0)>0){if((q|0)<63)h=0;else{g=0;while(1){b=n-(g<<4)|0;e=(ha(d,q)|0)+g|0;f=k[o>>2]|0;i[f+(e*6|0)+5>>0]=0;i[f+(e*6|0)+3>>0]=0;do if((b|0)>-1){d=(t<<4)+112-(d+3-g<<4&48)|0;if((n|0)>=(d|0)){if((n|0)!=(d|0))break;i[f+(e*6|0)+5>>0]=0;i[f+(e*6|0)+3>>0]=25;i[f+(e*6|0)+2>>0]=1;i[f+(e*6|0)+4>>0]=0;break}d=i[527052+((b|0)%64|0)>>0]|0;if(!($mb(d)|0))break;do switch(d|0){case 67:{d=61;break}case 68:{d=63;break}case 69:{d=65;break}case 70:{d=66;break}case 71:{d=68;break}case 65:{d=70;break}case 66:{d=72;break}case 99:{d=73;break}case 100:{d=75;break}case 101:{d=77;break}case 102:{d=78;break}case 103:{d=80;break}case 97:{d=82;break}case 98:{d=84;break}default:d=13}while(0);i[f+(e*6|0)+1>>0]=g+1;i[f+(e*6|0)>>0]=d;i[f+(e*6|0)+2>>0]=1;i[f+(e*6|0)+4>>0]=(((b|0)%64|0)&15|0)==0?44:40}while(0);g=g+1|0;d=l[u+16>>0]|l[u+16+1>>0]<<8|l[u+16+2>>0]<<16|l[u+16+3>>0]<<24;if((g|0)>=(d|0))break b}}do{e=n-(h<<4)|0;f=(ha(d,q)|0)+h|0;g=k[o>>2]|0;i[g+(f*6|0)+5>>0]=0;i[g+(f*6|0)+3>>0]=0;do if((e|0)>-1){b=(t<<4)+112-(d+3-h<<4&48)|0;if((n|0)>=(b|0)){if((n|0)!=(b|0))break;i[g+(f*6|0)+5>>0]=0;i[g+(f*6|0)+3>>0]=25;i[g+(f*6|0)+2>>0]=1;i[g+(f*6|0)+4>>0]=0;break}d=i[527052+((e|0)%64|0)>>0]|0;if($mb(d)|0){do switch(d|0){case 67:{d=61;break}case 68:{d=63;break}case 69:{d=65;break}case 70:{d=66;break}case 71:{d=68;break}case 65:{d=70;break}case 66:{d=72;break}case 99:{d=73;break}case 100:{d=75;break}case 101:{d=77;break}case 102:{d=78;break}case 103:{d=80;break}case 97:{d=82;break}case 98:{d=84;break}default:d=13}while(0);i[g+(f*6|0)+1>>0]=h+1;i[g+(f*6|0)>>0]=d;i[g+(f*6|0)+2>>0]=1;i[g+(f*6|0)+4>>0]=(((e|0)%64|0)&15|0)==0?44:40}if(!((h|0)==0&(n|0)==(b+-1|0)))break;i[g+(f*6|0)+3>>0]=14}while(0);h=h+1|0;d=l[u+16>>0]|l[u+16+1>>0]<<8|l[u+16+2>>0]<<16|l[u+16+3>>0]<<24}while((h|0)<(d|0))}while(0);q=q+1|0}while((q|0)!=64);c=c+1|0}while((c|0)<(s|0))}while(0);if((k[a+59664>>2]|0)>0){d=0;do{k[a+49600+(d*36|0)>>2]=(((d+2|0)%5|0)<<5)+48;k[a+49600+(d*36|0)+4>>2]=64;d=d+1|0}while((d|0)<(k[a+59664>>2]|0))}k[299470]=0;iqb(u);a=1;r=v;return a|0}}a=0;r=v;return a|0}function lPa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,m=0,n=0;n=r;r=r+112|0;d=l[a+4>>0]|l[a+4+1>>0]<<8|l[a+4+2>>0]<<16|l[a+4+3>>0]<<24;if((d|0)>129){i[a+8>>0]=129;i[a+8+1>>0]=0;i[a+8+2>>0]=0;i[a+8+3>>0]=0;e=129}else{i[a+12>>0]=1;i[a+12+1>>0]=0;i[a+12+2>>0]=0;i[a+12+3>>0]=0;e=l[a+8>>0]|l[a+8+1>>0]<<8|l[a+8+2>>0]<<16|l[a+8+3>>0]<<24}m=d-e|0;m=(m|0)<63?m:63;j=l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24;ABb(n+47|0,j+e|0,m|0)|0;m=m+e|0;i[a+8>>0]=m;i[a+8+1>>0]=m>>8;i[a+8+2>>0]=m>>16;i[a+8+3>>0]=m>>24;k=(d-m|0)<47?d-m|0:47;ABb(n|0,j+m|0,k|0)|0;i[a+8>>0]=k+m;i[a+8+1>>0]=k+m>>8;i[a+8+2>>0]=k+m>>16;i[a+8+3>>0]=k+m>>24;dpb(n+7|0,n+47+2|0,40)|0;m=i[n+6>>0]|0;a:do if((m&255)>1)if(!c){e=l[a+4>>0]|l[a+4+1>>0]<<8|l[a+4+2>>0]<<16|l[a+4+3>>0]<<24;h=523251e3;c=0;k=0;d=l[a+8>>0]|l[a+8+1>>0]<<8|l[a+8+2>>0]<<16|l[a+8+3>>0]<<24;while(1){f=e-d|0;f=(f|0)<96?f:96;ABb(b|0,(l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24)+d|0,f|0)|0;f=(l[a+8>>0]|l[a+8+1>>0]<<8|l[a+8+2>>0]<<16|l[a+8+3>>0]<<24)+f|0;i[a+8>>0]=f;i[a+8+1>>0]=f>>8;i[a+8+2>>0]=f>>16;i[a+8+3>>0]=f>>24;j=l[b+30>>0]|l[b+30+1>>0]<<8|l[b+30+2>>0]<<16|l[b+30+3>>0]<<24;j=j>>>0>523251?j+-523251|0:523251-j<<1;g=j>>>0>>0;c=g?d:c;d=(l[b+8>>0]|l[b+8+1>>0]<<8|l[b+8+2>>0]<<16|l[b+8+3>>0]<<24)+f|0;e=l[a+4>>0]|l[a+4+1>>0]<<8|l[a+4+2>>0]<<16|l[a+4+3>>0]<<24;if((d|0)<(e|0)){i[a+8>>0]=d;i[a+8+1>>0]=d>>8;i[a+8+2>>0]=d>>16;i[a+8+3>>0]=d>>24}else{i[a+12>>0]=1;i[a+12+1>>0]=0;i[a+12+2>>0]=0;i[a+12+3>>0]=0;d=f}k=k+1|0;if((k|0)>=(m&255|0))break;else h=g?j:h}if((c|0)<(e|0)){i[a+8>>0]=c;i[a+8+1>>0]=c>>8;i[a+8+2>>0]=c>>16;i[a+8+3>>0]=c>>24;break}else{i[a+12>>0]=1;i[a+12+1>>0]=0;i[a+12+2>>0]=0;i[a+12+3>>0]=0;break}}else{d=(m&255|0)<(c|0)?m&255:c;if((d|0)<=1)break;e=l[a+4>>0]|l[a+4+1>>0]<<8|l[a+4+2>>0]<<16|l[a+4+3>>0]<<24;c=l[a+8>>0]|l[a+8+1>>0]<<8|l[a+8+2>>0]<<16|l[a+8+3>>0]<<24;f=1;while(1){m=e-c|0;m=(m|0)<96?m:96;ABb(b|0,(l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24)+c|0,m|0)|0;m=(l[a+8>>0]|l[a+8+1>>0]<<8|l[a+8+2>>0]<<16|l[a+8+3>>0]<<24)+m|0;i[a+8>>0]=m;i[a+8+1>>0]=m>>8;i[a+8+2>>0]=m>>16;i[a+8+3>>0]=m>>24;c=m+(l[b+8>>0]|l[b+8+1>>0]<<8|l[b+8+2>>0]<<16|l[b+8+3>>0]<<24)|0;e=l[a+4>>0]|l[a+4+1>>0]<<8|l[a+4+2>>0]<<16|l[a+4+3>>0]<<24;if((c|0)>=(e|0)){g=11;break}i[a+8>>0]=c;i[a+8+1>>0]=c>>8;i[a+8+2>>0]=c>>16;i[a+8+3>>0]=c>>24;f=f+1|0;if(l[a+12>>0]|l[a+12+1>>0]<<8|l[a+12+2>>0]<<16|l[a+12+3>>0]<<24|0)break;if((f|0)>=(d|0))break a}if((g|0)==11){i[a+12>>0]=1;i[a+12+1>>0]=0;i[a+12+2>>0]=0;i[a+12+3>>0]=0}i[b+8>>0]=0;i[b+8+1>>0]=0;i[b+8+2>>0]=0;i[b+8+3>>0]=0;r=n;return}while(0);m=l[a+8>>0]|l[a+8+1>>0]<<8|l[a+8+2>>0]<<16|l[a+8+3>>0]<<24;d=(l[a+4>>0]|l[a+4+1>>0]<<8|l[a+4+2>>0]<<16|l[a+4+3>>0]<<24)-m|0;d=(d|0)<96?d:96;ABb(b|0,(l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24)+m|0,d|0)|0;d=(l[a+8>>0]|l[a+8+1>>0]<<8|l[a+8+2>>0]<<16|l[a+8+3>>0]<<24)+d|0;i[a+8>>0]=d;i[a+8+1>>0]=d>>8;i[a+8+2>>0]=d>>16;i[a+8+3>>0]=d>>24;d=l[b+8>>0]|l[b+8+1>>0]<<8|l[b+8+2>>0]<<16|l[b+8+3>>0]<<24;if((l[b+12>>0]|l[b+12+1>>0]<<8|l[b+12+2>>0]<<16|l[b+12+3>>0]<<24)>>>0>=d>>>0){i[b+12>>0]=0;i[b+12+1>>0]=0;i[b+12+2>>0]=0;i[b+12+3>>0]=0;i[b+16>>0]=0;i[b+16+1>>0]=0;i[b+16+2>>0]=0;i[b+16+3>>0]=0;i[b+55>>0]=(l[b+55>>0]|0)&251;r=n;return}if((l[b+16>>0]|l[b+16+1>>0]<<8|l[b+16+2>>0]<<16|l[b+16+3>>0]<<24)>>>0<=d>>>0){r=n;return}i[b+16>>0]=d;i[b+16+1>>0]=d>>8;i[b+16+2>>0]=d>>16;i[b+16+3>>0]=d>>24;r=n;return}function mPa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0;if((b|0)==0|c>>>0<1168){a=0;return a|0}if((i[b+29>>0]|0)!=2){a=0;return a|0}if((i[b+28>>0]|0)!=26){a=0;return a|0}if(Onb(b+20|0,527117,8)|0)if(Onb(b+20|0,527126,8)|0){a=0;return a|0}f=a+59804|0;g=b;h=f+20|0;do{i[f>>0]=i[g>>0]|0;f=f+1|0;g=g+1|0}while((f|0)<(h|0));k[a+59680>>2]=256;k[a+59684>>2]=31;k[a+59664>>2]=4;k[a+59688>>2]=0;k[a+59764>>2]=64;k[a+59768>>2]=32767;f=(l[b+32>>0]|0)>>>4;k[a+59648>>2]=(f|0)==0?1:f;k[a+59652>>2]=125;f=l[b+34>>0]<<2;k[a+59656>>2]=f>>>0>256?256:f;f=a+53344|0;g=b+1040|0;h=f+128|0;do{i[f>>0]=i[g>>0]|0;f=f+1|0;g=g+1|0}while((f|0)<(h|0));k[a+49608>>2]=0;k[a+49604>>2]=64;k[a+49600>>2]=192;k[a+49644>>2]=0;k[a+49640>>2]=64;k[a+49636>>2]=64;k[a+49680>>2]=0;k[a+49676>>2]=64;k[a+49672>>2]=192;k[a+49716>>2]=0;k[a+49712>>2]=64;k[a+49708>>2]=64;d=0;do{e=d;d=d+1|0;f=a+33280+(d<<6)+42|0;g=b+48+(e<<5)|0;h=f+13|0;do{i[f>>0]=i[g>>0]|0;f=f+1|0;g=g+1|0}while((f|0)<(h|0));f=a+59804+(d<<5)|0;g=b+48+(e<<5)|0;h=f+12|0;do{i[f>>0]=i[g>>0]|0;f=f+1|0;g=g+1|0}while((f|0)<(h|0));k[a+33280+(d<<6)+24>>2]=(l[b+48+(e<<5)+24>>0]|l[b+48+(e<<5)+24+1>>0]<<8)&65535;j[a+33280+(d<<6)+32>>1]=64;p=l[b+48+(e<<5)+22>>0]<<2;p=p>>>0>256?256:p&65535;j[a+33280+(d<<6)+30>>1]=p;q=l[b+48+(e<<5)+16>>0]|l[b+48+(e<<5)+16+1>>0]<<8;k[a+33280+(d<<6)>>2]=(q&65535)<4|p<<16>>16==0?0:q&65535;q=l[b+48+(e<<5)+18>>0]|l[b+48+(e<<5)+18+1>>0]<<8;k[a+33280+(d<<6)+4>>2]=q&65535;p=l[b+48+(e<<5)+20>>0]|l[b+48+(e<<5)+20+1>>0]<<8;k[a+33280+(d<<6)+8>>2]=p&65535;if(!(p<<16>>16==-1|(p&65535)<=(q&65535))){q=a+33280+(d<<6)+34|0;j[q>>1]=m[q>>1]|2}}while((d|0)!=31);e=0;do{d=a+53344+e|0;if((l[d>>0]|0)>98)i[d>>0]=-1;e=e+1|0}while((e|0)!=256);p=i[b+33>>0]|0;a:do if(!(p<<24>>24)){d=1168;g=1}else{f=1168;q=0;while(1){d=f+1024|0;if(d>>>0>c>>>0){d=1;e=45;break}j[a+52864+(q<<1)>>1]=64;e=$Na(64,k[a+59664>>2]|0)|0;k[a+51904+(q<<2)>>2]=e;if(!e){d=1;e=45;break}o=0;n=b+f|0;while(1){f=i[n>>0]|0;g=l[n+1>>0]|0;h=l[n+2>>0]|0;if(g>>>3|0)i[e+1>>0]=g>>>3;if((f&-3)<<24>>24==-4)i[e>>0]=-2;else if((f&255)<252)i[e>>0]=(f&15)+37+(((f&255)>>>4)*12|0);if(((h>>>1)+(g&7)|0)>>>0<65){i[e+2>>0]=1;i[e+4>>0]=(h>>>1)+(g&7)}f=i[n+3>>0]|0;g=e+5|0;i[g>>0]=f;do switch(h&15|0){case 1:{i[e+3>>0]=16;i[g>>0]=(f&255)>>>4;break}case 2:{i[e+3>>0]=12;break}case 3:{i[e+3>>0]=14;i[g>>0]=(f&240)*10|f&15;break}case 4:{i[e+3>>0]=11;break}case 5:{i[e+3>>0]=3;break}case 6:{i[e+3>>0]=2;break}case 7:{i[e+3>>0]=4;break}case 8:{i[e+3>>0]=5;break}case 9:{i[e+3>>0]=18;break}case 10:{i[e+3>>0]=1;break}case 11:{i[e+3>>0]=7;break}case 12:{i[e+3>>0]=6;break}default:{i[g>>0]=0;i[e+3>>0]=0}}while(0);o=o+1|0;if((o|0)==256)break;else{e=e+6|0;n=n+4|0}}q=q+1|0;if(q>>>0>=(p&255)>>>0){g=1;break a}else f=d}if((e|0)==45)return d|0}while(0);do{f=a+33280+(g<<6)|0;d=d+15&-16;e=k[f>>2]|0;if(e){q=b+48+(g+-1<<5)+14|0;q=((l[q>>0]|l[q+1>>0]<<8)&65535)<<4;d=q>>>0<1168|(q+e|0)>>>0>c>>>0?d:q;if(d>>>0>>0)d=(dOa(a,f,0,b+d|0,c-d|0)|0)+d|0}g=g+1|0}while((g|0)!=32);d=1;return d|0}function nPa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;if((b|0)==0|c>>>0<512){a=0;return a|0}z=l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24;if((z&16777215|0)!=4476237){a=0;return a|0}d=l[b+8>>0]|l[b+8+1>>0]<<8|l[b+8+2>>0]<<16|l[b+8+3>>0]<<24;if(!d){a=0;return a|0}y=uBb(d|0)|0;if(!(y>>>0>>0&(y+788|0)>>>0>>0)){a=0;return a|0}if((z>>24&-4|0)!=48){a=0;return a|0}k[a+59680>>2]=8;k[a+59748>>2]=32;w=l[b+16>>0]|l[b+16+1>>0]<<8|l[b+16+2>>0]<<16|l[b+16+3>>0]<<24;x=uBb(w|0)|0;t=uBb(l[b+24>>0]|l[b+24+1>>0]<<8|l[b+24+2>>0]<<16|l[b+24+3>>0]<<24|0)|0;u=l[b+32>>0]|l[b+32+1>>0]<<8|l[b+32+2>>0]<<16|l[b+32+3>>0]<<24;s=uBb(u|0)|0;s=(u|0)!=0&s>>>0<(c+-80|0)>>>0?b+s|0:0;u=(l[b+(y+504)>>0]|l[b+(y+504)+1>>0]<<8)&65535;k[a+59664>>2]=4;d=i[b+(y+787)>>0]|0;k[a+59684>>2]=(d&255)>63?63:d&255;k[a+59652>>2]=125;d=(l[b+(y+764)>>0]|l[b+(y+764)+1>>0]<<8)&65535;d=d<<8&65280|d>>>8|0?d<<8&65280|d>>>8:125;e=l[b+(y+768)>>0]|0;do if(!(e&32))if(d>>>0<11?(i[b+(y+767)>>0]&64)!=0:0){d=l[527135+(d+-1)>>0]|0;break}else{d=SLa(d,3579545,948652)|0;break}else d=(ha(d,(e&31)+1|0)|0)>>>2;while(0);e=i[b+(y+769)>>0]|0;e=e<<24>>24==0?6:e&255;k[a+59648>>2]=e;d=d>>>0<33?33:d;if(d>>>0>255){if(d>>>0>260&e>>>0>3){while(1){f=e+-1|0;d=((ha(f,d)|0)>>>0)/(e>>>0)|0;if(d>>>0>260&f>>>0>3)e=f;else break}k[a+59648>>2]=f}d=d>>>0>255?255:d}k[a+59652>>2]=d;if(k[a+59684>>2]|0){g=0;do{h=g;g=g+1|0;f=(l[b+y+(h<<3)>>0]|l[b+y+(h<<3)+1>>0]<<8)&65535;k[a+33280+(g<<6)+4>>2]=(f<<8&65280|f>>>8)<<1;d=(l[b+y+(h<<3)+2>>0]|l[b+y+(h<<3)+2+1>>0]<<8)&65535;k[a+33280+(g<<6)+8>>2]=((d<<8&65280|d>>>8)<<1)+((f<<8&65280|f>>>8)<<1);v=l[b+y+(h<<3)+6>>0]<<2&65535;e=a+33280+(g<<6)+30|0;j[e>>1]=v;j[a+33280+(g<<6)+32>>1]=64;if((v&65535)>256)j[e>>1]=256;v=(ha(i[b+y+(h<<3)+7>>0]|0,-12)|0)&255;i[a+33280+(g<<6)+36>>0]=v;j[a+33280+(g<<6)+28>>1]=128;if(((d<<8&65280|d>>>8)<<1)+((f<<8&65280|f>>>8)<<1)|0){v=a+33280+(g<<6)+34|0;j[v>>1]=m[v>>1]|2}}while(g>>>0<(k[a+59684>>2]|0)>>>0)}if(!(i[b+(y+767)>>0]&32))k[a+59660>>2]=k[a+59660>>2]|2;do if((z>>24|0)<50){q=((l[b+(y+506)>>0]|l[b+(y+506)+1>>0]<<8)&65535)>>>8;ABb(a+53344|0,b+(y+508)|0,(q|0?q:1)|0)|0;q=i[b+(y+766)>>0]|0}else{d=(l[b+(y+520)>>0]|l[b+(y+520)+1>>0]<<8)&65535;if(((d<<8&65280|d>>>8)+-4|0)>>>0<29)k[a+59664>>2]=d<<8&65280|d>>>8;p=l[b+(y+508)>>0]|l[b+(y+508)+1>>0]<<8|l[b+(y+508)+2>>0]<<16|l[b+(y+508)+3>>0]<<24;q=uBb(p|0)|0;d=(l[b+(y+506)>>0]|l[b+(y+506)+1>>0]<<8)&65535;v=l[b+(y+512)>>0]|l[b+(y+512)+1>>0]<<8|l[b+(y+512)+2>>0]<<16|l[b+(y+512)+3>>0]<<24;f=uBb(v|0)|0;d=f>>>0<(c+-2|0)>>>0&((v|0)!=0&(d<<8&65280|d>>>8|0)!=0)?d<<8&65280|d>>>8:1;if(!d){d=i[b+(y+766)>>0]|0;e=0}else{r=0;e=0;do{if((f|0)!=0&f>>>0<(c+-2|0)>>>0){g=l[b+(f+1)>>0]|0;f=f+2|0}else{d=0;g=0}do if((p|0)!=0&q>>>0>>0&g<<2>>>0<(c-q|0)>>>0){v=k[b+q+(g<<2)>>2]|0;o=uBb(v|0)|0;if((v|0)!=0&o>>>0<(c+-1066|0)>>>0){if(!(i[a+59804>>0]|0)){g=a+59804|0;h=b+o|0;n=g+31|0;do{i[g>>0]=i[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(n|0))}h=(l[b+(o+40)>>0]|l[b+(o+40)+1>>0]<<8)&65535;if((h<<8&65280|h>>>8|0)==0?1:(h<<8&65280|h>>>8)>>>0>=(c+-42-o|0)>>>1>>>0)break;n=0;do{g=b+(o+42)+(n<<1)|0;g=((l[g>>0]|l[g+1>>0]<<8)&65535)>>>8;if(e>>>0<255?g>>>0<(u<<8&65280|u>>>8)>>>0:0){i[a+53344+e>>0]=g;e=e+1|0}n=n+1|0}while((n|0)!=(h<<8&65280|h>>>8|0))}}while(0);r=r+1|0}while(r>>>0>>0);d=i[b+(y+766)>>0]|0;if(e>>>0>=256){q=d;break}}vBb(a+53344+e|0,-1,256-e|0)|0;q=d}while(0);if(s|0){if((k[a+59664>>2]|0)==4)if(i[b+(y+767)>>0]&64){if(!(i[s+36>>0]|0))d=4;else{k[a+59664>>2]=3;d=3}if(i[s+37>>0]|0){d=d+-1|0;k[a+59664>>2]=d}if(i[s+38>>0]|0){d=d+-1|0;k[a+59664>>2]=d}if(i[s+39>>0]|0)k[a+59664>>2]=d+-1}r=l[s+12>>0]|l[s+12+1>>0]<<8|l[s+12+2>>0]<<16|l[s+12+3>>0]<<24;d=uBb(r|0)|0;v=l[s+16>>0]|l[s+16+1>>0]<<8|l[s+16+2>>0]<<16|l[s+16+3>>0]<<24;e=uBb(v|0)|0;if((r|0)!=0&(v|0)!=0)if(!((e+d|0)>>>0<=d>>>0|(e+d|0)>>>0>c>>>0)){v=mBb(e+1|0)|0;k[a+59796>>2]=v;ABb(v|0,b+d|0,e|0)|0;i[v+e>>0]=0}r=l[s+44>>0]|l[s+44+1>>0]<<8|l[s+44+2>>0]<<16|l[s+44+3>>0]<<24;d=uBb(r|0)|0;v=l[s+48>>0]|l[s+48+1>>0]<<8|l[s+48+2>>0]<<16|l[s+48+3>>0]<<24;e=uBb(v|0)|0;if((r|0)!=0&(v|0)!=0)if(!((e+d|0)>>>0<=d>>>0|(e+d|0)>>>0>c>>>0)){ABb(a+59804|0,b+d|0,(e>>>0>31?31:e)|0)|0;i[a+59835>>0]=0}v=l[s+20>>0]|l[s+20+1>>0]<<8|l[s+20+2>>0]<<16|l[s+20+3>>0]<<24;e=uBb(v|0)|0;if(v|0){f=(l[s+24>>0]|l[s+24+1>>0]<<8)&65535;g=(l[s+26>>0]|l[s+26+1>>0]<<8)&65535;if((g<<8&65280|g>>>8)>>>0<256){v=ha(g<<8&65280|g>>>8,f<<8&65280|f>>>8)|0;if(v>>>0>>0&e>>>0<(c-v|0)>>>0){d=(g<<8&65280|g>>>8)>>>0>32?32:g<<8&65280|g>>>8;if(f<<8&65280|f>>>8|0){h=0;do{n=h;h=h+1|0;if(n>>>0<(k[a+59684>>2]|0)>>>0){dpb(a+59804+(h<<5)|0,b+((ha(n,g<<8&65280|g>>>8)|0)+e)|0,d)|0;i[a+59804+(h<<5)+31>>0]=0}}while((h|0)!=(f<<8&65280|f>>>8|0))}}}}v=l[s+68>>0]|l[s+68+1>>0]<<8|l[s+68+2>>0]<<16|l[s+68+3>>0]<<24;p=uBb(v|0)|0;if((v|0)!=0&p>>>0>>0){d=k[a+59664>>2]|0;if(d<<2>>>0<(c-p|0)>>>0)if(d|0){o=0;do{v=k[b+p+(o<<2)>>2]|0;f=uBb(v|0)|0;do if(v){a:do if(f>>>0<(c+-8|0)>>>0){n=0;e=0;while(1){g=k[b+f>>2]|0;if(!g){f=n;break a}g=uBb(g|0)|0;h=uBb(k[b+(f+4)>>2]|0)|0;b:do if((g|0)<2){switch(g|0){case -2147483647:break;default:{g=n;break b}}g=n;e=h}else{switch(g|0){case 2:break;default:{g=n;break b}}g=h}while(0);f=f+8|0;if(f>>>0>=(c+-8|0)>>>0){f=g;break}else n=g}}else{f=0;e=0}while(0);v=f>>>0>20?20:f;if(!((e|0)!=0&v>>>0>>0&e>>>0<(c-v|0)>>>0))break;dpb(a+49600+(o*36|0)+16|0,b+e|0,20)|0;i[a+49600+(o*36|0)+35>>0]=0;d=k[a+59664>>2]|0}while(0);o=o+1|0}while(o>>>0>>0)}}}d=k[a+59684>>2]|0;if(t>>>0>(c-(d<<2)|0)>>>0){a=1;return a|0}if(d|0){n=0;do{e=k[b+t+(n<<2)>>2]|0;if(e){h=uBb(e|0)|0;if(h>>>0>>0&(h+21|0)>>>0>>0){d=uBb(l[b+h>>0]|l[b+h+1>>0]<<8|l[b+h+2>>0]<<16|l[b+h+3>>0]<<24|0)|0;d=d>>>0>16e6|(h+6+d|0)>>>0>c>>>0?0:d;f=(l[b+(h+4)>>0]|l[b+(h+4)+1>>0]<<8)&65535;if(!(f>>>8&128)){if(!(f>>>8&16))e=f>>>10&8;else{e=a+33280+(n+1<<6)+34|0;j[e>>1]=m[e>>1]|1;e=f>>>10&8|7;d=d>>>1}g=h+6|0;d=d>>>(f>>>13&1)}else{g=(f>>>10&8|6)+(h+6)|0;e=0}v=a+33280+(n+1<<6)|0;k[v>>2]=d;dOa(a,v,e,b+g|0,c+-6-h|0)|0;d=k[a+59684>>2]|0}}n=n+1|0}while(n>>>0>>0)}v=(u<<8&65280|u>>>8)>>>0>240?240:u<<8&65280|u>>>8;if(!w){a=1;return a|0}if(x>>>0>(c-(v<<2)|0)>>>0){a=1;return a|0}t=q+((z>>24|0)==51?24:48)|0;c:do if(v|0){u=0;do{w=k[b+x+(u<<2)>>2]|0;n=uBb(w|0)|0;d:do if((w|0)!=0&n>>>0>>0&n>>>0<(c+-8|0)>>>0){if((z>>24|0)==48){s=(l[b+(n+1)>>0]|0)+1|0;d=i[b+n>>0]|0;if(!(d<<24>>24))r=k[a+59664>>2]|0;else r=d&255;w=$Na(s,k[a+59664>>2]|0)|0;d=a+51904+(u<<2)|0;k[d>>2]=w;if(!w)break;j[a+52864+(u<<1)>>1]=s;if(((ha(s*3|0,r)|0)+n|0)>>>0>(c+-2|0)>>>0)break c;if(!r)break;q=r*3|0;e=k[d>>2]|0;p=b+(n+2)|0;d=0;while(1){n=p;o=0;while(1){if(o>>>0<(k[a+59664>>2]|0)>>>0){g=i[n>>0]|0;h=n+1|0;f=(l[h>>0]|0)>>>4;if(g&128)f=(f&255|16)&255;if(g&64)f=(f&255|32)&255;if(g&63|0)i[e>>0]=(g&63)+t;i[e+1>>0]=f;i[e+3>>0]=l[h>>0]&15;i[e+5>>0]=i[n+2>>0]|0;oPa(e,b+y|0);e=e+6|0}o=o+1|0;if((o|0)==(r|0))break;else n=n+3|0}d=d+1|0;if((d|0)==(s|0))break d;else p=p+q|0}}s=(((l[b+(n+2)>>0]|l[b+(n+2)+1>>0]<<8)&65535)>>>8)+1|0;d=((l[b+n>>0]|l[b+n+1>>0]<<8)&65535)>>>8;if(!d)d=k[a+59664>>2]|0;w=$Na(s,k[a+59664>>2]|0)|0;h=a+51904+(u<<2)|0;k[h>>2]=w;if(!w)break;j[a+52864+(u<<1)>>1]=s;w=l[b+(n+4)>>0]|l[b+(n+4)+1>>0]<<8|l[b+(n+4)+2>>0]<<16|l[b+(n+4)+3>>0]<<24;f=uBb(w|0)|0;do if((w|0)!=0&f>>>0<(c+-36|0)>>>0){e=l[b+(f+4)>>0]|l[b+(f+4)+1>>0]<<8|l[b+(f+4)+2>>0]<<16|l[b+(f+4)+3>>0]<<24;do if(e|0){g=l[b+(f+8)>>0]|l[b+(f+8)+1>>0]<<8|l[b+(f+8)+2>>0]<<16|l[b+(f+8)+3>>0]<<24;if(!g)break;e=uBb(e|0)|0;if(e>>>0>=c>>>0)break;if((uBb(g|0)|0)>>>0>=(e+c|0)>>>0)break;pPa(a,u,b+e|0)|0}while(0);e=l[b+(f+16)>>0]|l[b+(f+16)+1>>0]<<8|l[b+(f+16)+2>>0]<<16|l[b+(f+16)+3>>0]<<24;if(!e){e=0;break}e=uBb(e|0)|0;if(e>>>0>=(c+-4|0)>>>0){e=0;break}w=k[b+e>>2]|0;e=uBb(w|0)|0;if(!w){e=0;break}w=e>>>0>(c-(ha(d,s)|0)|0)>>>0;e=w?0:b+e|0}else e=0;while(0);if(((ha(s<<2,d)|0)+n|0)>>>0>(c+-8|0)>>>0)break c;q=(d|0)==0;r=d<<2;f=k[h>>2]|0;g=b+(n+8)|0;p=0;while(1){if(!q){if(!e){n=g;o=0;while(1){if(o>>>0<(k[a+59664>>2]|0)>>>0){h=i[n>>0]|0;if((h+-1&255)<132){w=((h&255)+t|0)<1?1:(h&255)+t|0;i[f>>0]=(w|0)>120?120:w&255}i[f+1>>0]=i[n+1>>0]|0;i[f+3>>0]=i[n+2>>0]|0;i[f+5>>0]=i[n+3>>0]|0;oPa(f,b+y|0);f=f+6|0}o=o+1|0;if((o|0)==(d|0))break;else n=n+4|0}}else{n=g;o=0;while(1){if(o>>>0<(k[a+59664>>2]|0)>>>0){h=i[n>>0]|0;if((h+-1&255)<132){w=((h&255)+t|0)<1?1:(h&255)+t|0;i[f>>0]=(w|0)>120?120:w&255}i[f+1>>0]=i[n+1>>0]|0;i[f+3>>0]=i[n+2>>0]|0;i[f+5>>0]=i[n+3>>0]|0;i[f+4>>0]=i[e+o>>0]|0;oPa(f,b+y|0);f=f+6|0}o=o+1|0;if((o|0)==(d|0))break;else n=n+4|0}}g=g+r|0}p=p+1|0;if((p|0)==(s|0))break;else e=(e|0)==0?0:e+d|0}}while(0);u=u+1|0}while(u>>>0>>0)}while(0);if(!(k[a+59664>>2]|0)){a=1;return a|0}else d=0;do{k[a+49600+(d*36|0)>>2]=((d&3)+-1|0)>>>0<2?192:64;k[a+49600+(d*36|0)+4>>2]=64;d=d+1|0}while(d>>>0<(k[a+59664>>2]|0)>>>0);d=1;return d|0}function oPa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=i[a+5>>0]|0;a:do switch(l[a+3>>0]|0|0){case 0:{c=d<<24>>24!=0&1;b=d&255;break}case 1:{c=2;b=d&255;break}case 2:{c=3;b=d&255;break}case 3:{c=4;b=d&255;break}case 4:{c=5;b=d&255;break}case 5:{c=6;b=d&255;break}case 6:{c=7;b=d&255;break}case 7:{c=8;b=d&255;break}case 10:{b=(d&240|0)==0?d&255:d&240;c=b|0?11:0;break}case 11:{c=12;b=d&255;break}case 12:if(!(i[b+767>>0]&16)){if((d&255)>=154){c=0;b=d&255;break a}c=13;b=((((d&15)>>>0)%10|0)+(((d&255)>>>4)*10|0)|0)>>>0>64?64:(((d&15)>>>0)%10|0)+(((d&255)>>>4)*10|0)|0;break a}else{if(d<<24>>24<=-1){c=0;b=d&255;break a}c=13;b=((d&255)+1|0)>>>1;break a}case 9:{c=(d&255)<32?16:17;b=d&255;break}case 13:{b=(d&240|0)==0?d&255:d&240;c=b|0?11:0;break}case 15:{if(!(d<<24>>24)){c=14;b=d&255}else{if((d&255)<241){if(!(i[b+767>>0]&64))if((d&255)<11){c=16;b=d&255;e=26}else if(!(i[b+768>>0]&32)){c=15;b=SLa(d&255,3579545,948652)|0;e=26}else{c=15;b=d&255;e=26}else if((d&255)>10)b=99;else{c=15;b=l[527135+((d&255)+-1)>>0]|0;e=26}if((e|0)==26)if(b>>>0<=10)break a;b=b>>>0<33?33:b;c=17;b=b>>>0>240?240:b;break a}do switch(d&255|0){case 241:{c=19;b=147;break a}case 242:{c=19;b=211;break a}case 243:{c=19;b=146;break a}case 244:{c=19;b=210;break a}case 245:{c=19;b=212;break a}case 248:{c=19;b=0;break a}case 249:{c=19;b=1;break a}case 253:{c=4;b=255;break a}case 254:{c=16;b=0;break a}case 255:{c=19;b=192;break a}default:{c=0;b=0;break a}}while(0)}break}case 17:{c=19;b=(d&255)>15?31:d&255|16;break}case 18:{c=19;b=(d&255)>15?47:d&255|32;break}case 20:{c=5;b=d&255;break}case 21:{c=19;b=d&15|80;break}case 22:{c=19;b=(d&255)>15?111:d&255|96;break}case 24:{c=19;b=(d&255)>15?207:d&255|192;break}case 25:{c=10;b=d&255;break}case 26:{c=19;b=(d&255)>15?175:d&255|160;break}case 27:{c=19;b=(d&255)>15?191:d&255|176;break}case 29:{c=14;b=d&255;break}case 30:{c=19;b=(d&255)>15?239:d&255|224;break}case 31:{c=15;b=d&15;break}case 46:{c=19;b=(((d&255)+16|0)>>>1&112)>>>0>15?143:((d&255)+16|0)>>>1|128;break}default:{c=0;b=0}}while(0);i[a+3>>0]=c;i[a+5>>0]=b;return}function pPa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=r;r=r+32|0;e=h;f=e+32|0;do{i[e>>0]=0;e=e+1|0}while((e|0)<(f|0));if(b>>>0>239){b=0;r=h;return b|0}if(c|0)dpb(h,c,32)|0;i[h+31>>0]=0;f=k[a+59800>>2]|0;if(!f){k[a+59792>>2]=0;e=0;g=7}else{d=k[a+59792>>2]|0;if(d>>>0>b>>>0)d=f;else{e=d;g=7}}if((g|0)==7){if(!(i[c>>0]|0)){b=1;r=h;return b|0}d=mBb(b+1<<5)|0;vBb(d|0,0,b+1<<5|0)|0;if(f|0){ABb(d|0,f|0,e<<5|0)|0;oBb(f);k[a+59800>>2]=0}k[a+59800>>2]=d;k[a+59792>>2]=b+1}e=d+(b<<5)|0;d=h;f=e+32|0;do{i[e>>0]=i[d>>0]|0;e=e+1|0;d=d+1|0}while((e|0)<(f|0));b=1;r=h;return b|0}function qPa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;if((b|0)==0|c>>>0<256){a=0;return a|0}if(Dmb(b,527145,3)|0){a=0;return a|0}d=i[b+33>>0]|0;if((d&255)>32){a=0;return a|0}if(((i[b+30>>0]|0)+-1&255)>238){a=0;return a|0}if(d<<24>>24==0?1:(l[b+24>>0]|l[b+24+1>>0]<<8)<<16>>16==0){a=0;return a|0}if(((i[b+26>>0]|0)+-1&255)>239){a=0;return a|0}dpb(a+59804|0,b+4|0,20)|0;i[a+59824>>0]=0;d=i[b+30>>0]|0;if((((d&255)*37|0)+258+(((l[b+24>>0]|l[b+24+1>>0]<<8)&65535)*192|0)+(l[b+26>>0]<<6)+((l[b+28>>0]|l[b+28+1>>0]<<8)&65535)|0)>>>0>=c>>>0){a=0;return a|0}k[a+59680>>2]=16;k[a+59684>>2]=d&255;e=l[b+33>>0]|0;k[a+59664>>2]=e;if(!(d<<24>>24))f=66;else{d=66;p=1;do{dpb(a+59804+(p<<5)|0,b+d|0,22)|0;i[a+59804+(p<<5)+22>>0]=0;j[a+33280+(p<<6)+30>>1]=l[b+(d+35)>>0]<<2;j[a+33280+(p<<6)+32>>1]=64;g=b+(d+22)|0;g=l[g>>0]|l[g+1>>0]<<8|l[g+2>>0]<<16|l[g+3>>0]<<24;if((g+-5|0)>>>0<15999996){h=a+33280+(p<<6)|0;k[h>>2]=g;e=b+(d+26)|0;e=l[e>>0]|l[e+1>>0]<<8|l[e+2>>0]<<16|l[e+3>>0]<<24;n=a+33280+(p<<6)+4|0;k[n>>2]=e;f=b+(d+30)|0;f=l[f>>0]|l[f+1>>0]<<8|l[f+2>>0]<<16|l[f+3>>0]<<24;o=a+33280+(p<<6)+8|0;f=f>>>0>g>>>0?g:f;k[o>>2]=f;if((e+4|0)>>>0>>0)if(!f)f=0;else{t=a+33280+(p<<6)+34|0;j[t>>1]=m[t>>1]|2}else{k[o>>2]=0;k[n>>2]=0;e=0;f=0}i[a+33280+(p<<6)+37>>0]=i[b+(d+34)>>0]<<4;if(i[b+(d+36)>>0]&1){t=a+33280+(p<<6)+34|0;j[t>>1]=m[t>>1]|1;k[h>>2]=g>>>1;k[n>>2]=e>>>1;k[o>>2]=f>>>1}j[a+33280+(p<<6)+28>>1]=128}d=d+37|0;p=p+1|0}while(p>>>0<=(k[a+59684>>2]|0)>>>0);e=k[a+59664>>2]|0;f=d}if(e|0){d=0;do{k[a+49600+(d*36|0)>>2]=l[b+(d+34)>>0]<<4&240|8;k[a+49600+(d*36|0)+4>>2]=64;d=d+1|0}while(d>>>0<(k[a+59664>>2]|0)>>>0)}ABb(a+53344|0,b+f|0,(l[b+27>>0]|0)+1|0)|0;t=(((l[b+24>>0]|l[b+24+1>>0]<<8)&65535)*192|0)+(f+128)|0;q=f+-64|0;r=b+t|0;s=0;while(1){j[a+52864+(s<<1)>>1]=64;p=$Na(64,k[a+59664>>2]|0)|0;o=a+51904+(s<<2)|0;k[o>>2]=p;if(!p){u=23;break}else p=0;do{e=j[r+(p<<1)>>1]|0;if(e<<16>>16)if((e&65535)<=((l[b+24>>0]|l[b+24+1>>0]<<8)&65535)){d=k[a+59664>>2]|0;if(p>>>0>>0){h=0;n=(k[o>>2]|0)+(p*6|0)|0;g=b+(q+((e&65535)*192|0))|0;while(1){e=i[g>>0]|0;if(e&252){i[n>>0]=((e&255)>>>2)+37;e=i[g>>0]|0}f=g+1|0;i[n+1>>0]=(e&255)<<4&48|(l[f>>0]|0)>>>4;f=l[f>>0]&15;e=l[g+2>>0]|0;if((f|0)==10)e=(e&240|0)==0?e&15:e&240;i[n+3>>0]=f;i[n+5>>0]=e;if(!(e|f))e=d;else{aOa(a,n);e=k[a+59664>>2]|0}h=h+1|0;if((h|0)==64)break;else{d=e;n=n+(e*6|0)|0;g=g+3|0}}}}p=p+1|0}while((p|0)!=32);s=s+1|0;d=i[b+26>>0]|0;if(s>>>0>(d&255)>>>0)break;else r=r+64|0}if((u|0)==23)d=i[b+26>>0]|0;g=t+64+((d&255)<<6)|0;d=l[b+28>>0]|l[b+28+1>>0]<<8;if(!(d<<16>>16))d=0;else if((g+(d&65535)|0)>>>0>>0){e=mBb((d&65535)+1|0)|0;k[a+59796>>2]=e;ABb(e|0,b+g|0,d&65535|0)|0;i[e+(d&65535)>>0]=0;f=0;while(1){e=e+f|0;f=f+1|0;if(!(i[e>>0]|0))i[e>>0]=(f>>>0)%40|0|0?32:13;if((f|0)==(d&65535|0))break;e=k[a+59796>>2]|0}d=l[b+28>>0]|l[b+28+1>>0]<<8}d=(d&65535)+g|0;if(d>>>0>>0&(k[a+59684>>2]|0)!=0){e=1;do{d=(dOa(a,a+33280+(e<<6)|0,j[a+33280+(e<<6)+34>>1]&1?6:1,b+d|0,c-d|0)|0)+d|0;e=e+1|0}while(d>>>0>>0?e>>>0<=(k[a+59684>>2]|0)>>>0:0)}k[a+59764>>2]=64;k[a+59768>>2]=32767;a=1;return a|0}function rPa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;F=r;r=r+16080|0;if((b|0)==0|c>>>0<1024){E=0;r=F;return E|0}if((k[b>>2]|0)!=1279544644){E=0;r=F;return E|0}if((l[b+4>>0]&240)>>>0>16){E=0;r=F;return E|0}vBb(F|0,0,15360)|0;vBb(F+15840|0,0,240)|0;vBb(F+15600|0,0,240)|0;vBb(F+15360|0,0,240)|0;k[a+59688>>2]=0;k[a+59684>>2]=0;a:do if(c>>>0>11){d=11;B=5;C=0;D=0;g=0;h=0;n=0;o=0;p=0;while(1){f=k[b+(B+2)>>2]|0;t=B;B=f+d|0;if(B>>>0>c>>>0){e=C;f=D;E=7;break}b:do switch(m[b+t>>1]|0){case 20041:{f=a+59804|0;d=b+d|0;e=f+32|0;do{i[f>>0]=i[d>>0]|0;f=f+1|0;d=d+1|0}while((f|0)<(e|0));e=j[b+(t+58)>>1]|0;k[a+59736>>2]=m[b+(t+60)>>1];k[a+59656>>2]=l[b+(t+62)>>0];k[a+59652>>2]=l[b+(t+64)>>0];k[a+59648>>2]=l[b+(t+63)>>0];k[a+59664>>2]=4;d=0;do{k[a+49600+(d*36|0)+4>>2]=64;A=b+(t+65+d)|0;k[a+49600+(d*36|0)>>2]=l[A>>0]<<1&254;if((i[A>>0]|0)<0){A=a+49600+(d*36|0)+8|0;k[A>>2]=k[A>>2]|256;d=d+1|0}else{d=d+1|0;k[a+59664>>2]=d}}while((d|0)!=32);if(!(e<<16>>16)){f=C;s=D}else{d=(e&65535^-256)>>>0>4294967039?e&65535:256;e=0;do{i[a+53344+e>>0]=i[b+(t+97+e)>>0]|0;e=e+1|0}while((e|0)!=(d|0));f=C;s=D}break}case 17741:{if(!f){f=C;s=D}else{e=k[a+59796>>2]|0;if(e|0)oBb(e);s=mBb(f)|0;k[a+59796>>2]=s;ABb(s|0,b+d|0,f|0)|0;i[s+(f+-1)>>0]=0;f=C;s=D}break}case 16720:{q=l[b+d>>0]|0;q=q>>>0>240?240:q;if((q|0)!=0&(t+25|0)>>>0>>0){g=t+25|0;e=t+7|0;f=0;while(1){d=i[b+e>>0]|0;if((d&255)>32){f=C;s=D;g=q;break b}j[a+52864+(f<<1)>>1]=(l[b+(e+1)>>0]|0)+1;if((k[a+59664>>2]|0)>>>0<(d&255)>>>0)k[a+59664>>2]=d&255;e=e+18+((d&255)<<1)|0;if(d<<24>>24)ABb(F+(f<<5<<1)|0,b+g|0,((d&255)>1?(d&255)<<1:2)|0)|0;f=f+1|0;g=e+18|0;if(!(f>>>0>>0&g>>>0>>0)){f=C;s=D;g=q;break}}}else{f=C;s=D;g=q}break}case 21076:{if(!C){f=t+8|0;s=D;h=m[b+d>>1]|0}else{f=C;s=D}break}case 18761:{A=i[b+d>>0]|0;c:do if(A<<24>>24){y=t+7|0;z=0;while(1){w=i[b+y>>0]|0;if((w+-1&255)>=239)break c;if((k[a+59688>>2]|0)>>>0<(w&255)>>>0)k[a+59688>>2]=w&255;if(!(k[a+48640+((w&255)<<2)>>2]|0)){x=kBb(632)|0;k[a+48640+((w&255)<<2)>>2]=x;vBb(x|0,0,632)|0;f=x+585|0;d=b+(y+2)|0;e=f+32|0;do{i[f>>0]=i[d>>0]|0;f=f+1|0;d=d+1|0}while((f|0)<(e|0));j[x+8>>1]=64;i[x+584>>0]=60;u=b+(y+1)|0;if(!(i[u>>0]|0))d=0;else{t=y+34|0;v=0;e=12;do{s=t+(v*14|0)|0;d=i[b+(s+1)>>0]|0;if(e>>>0<120&e>>>0<((d&255)+12|0)>>>0){q=e;while(1){e=q+1|0;i[x+(q+428)>>0]=e;f=i[b+s>>0]|0;if((f&255)<240){i[x+(q+300)>>0]=f;j[a+33280+((f&255)<<6)+30>>1]=l[b+(s+2)>>0]|0;j[a+33280+((f&255)<<6)+28>>1]=l[b+(s+4)>>0]<<1;i[a+33280+((f&255)<<6)+38>>0]=i[b+(s+11)>>0]|0;i[a+33280+((f&255)<<6)+39>>0]=i[b+(s+10)>>0]|0;i[a+33280+((f&255)<<6)+40>>0]=i[b+(s+9)>>0]|0;i[a+33280+((f&255)<<6)+41>>0]=i[b+(s+8)>>0]|0;d=i[b+(s+1)>>0]|0}q=l[b+(s+7)>>0]<<8|l[b+(s+6)>>0];k[x>>2]=(q|0)==65535?0:q;if(e>>>0<120&e>>>0<((d&255)+12|0)>>>0)q=e;else break}}d=i[b+(s+3)>>0]|0;if(d<<24>>24<0){k[x+4>>2]=k[x+4>>2]|1;i[F+15600+(w&255)>>0]=(d&63)+1}d=i[b+(s+5)>>0]|0;if(d<<24>>24<0){k[x+4>>2]=k[x+4>>2]|8;i[F+15360+(w&255)>>0]=(d&63)+1}v=v+1|0;d=i[u>>0]|0}while(v>>>0<(d&255)>>>0)}}else d=i[b+(y+1)>>0]|0;z=z+1|0;if(z>>>0>=(A&255)>>>0)break;else y=y+34+((d&255)*14|0)|0}}while(0);d=k[a+59688>>2]|0;if(!d){f=C;s=D}else{f=1;do{e=a+48640+(f<<2)|0;if(!(k[e>>2]|0)){d=kBb(632)|0;k[e>>2]=d;vBb(d|0,0,632)|0;d=k[a+59688>>2]|0}f=f+1|0}while(f>>>0<=d>>>0);f=C;s=D}break}case 17750:{e=i[b+d>>0]|0;if(!(e<<24>>24)){f=C;s=D;n=e&255}else if((d+1+((e&255)<<5)|0)>>>0>c>>>0){f=C;s=D;n=e&255}else{f=C;s=D;n=e&255;p=b+(t+7)|0}break}case 17744:{e=i[b+d>>0]|0;if(!(e<<24>>24)){f=C;s=e&255}else if((d+1+((e&255)<<5)|0)>>>0>c>>>0){f=C;s=e&255}else{f=C;s=e&255;o=b+(t+7)|0}break}case 16723:{if(!(k[a+59684>>2]|0)){f=C;s=D}else{s=1;do{f=a+33280+(s<<6)|0;do if(k[f>>2]|0)if(!(k[a+33280+(s<<6)+20>>2]|0)){e=i[F+15840+s>>0]|0;if(d>>>0>>0&e<<24>>24!=3){q=j[a+33280+(s<<6)+34>>1]&1;if(!(e<<24>>24)){d=(dOa(a,f,q<<16>>16?5:0,b+d|0,c-d|0)|0)+d|0;break}e=k[b+d>>2]|0;d=d+4|0;if(e>>>0>>0)if(e>>>0<=(c-d|0)>>>0&e>>>0>4)dOa(a,f,(q&65535)<<2|32,b+d|0,e)|0;d=e+d|0}}while(0);s=s+1|0}while(s>>>0<=(k[a+59684>>2]|0)>>>0);f=C;s=D}break}case 21321:{w=i[b+d>>0]|0;if(!(w<<24>>24)){f=C;s=D}else{u=t+7|0;v=0;while(1){t=i[b+u>>0]|0;if((t+-1&255)<239){if((k[a+59684>>2]|0)>>>0<(t&255)>>>0)k[a+59684>>2]=t&255;f=a+59804+((t&255)<<5)|0;d=b+(u+1)|0;e=f+32|0;do{i[f>>0]=i[d>>0]|0;f=f+1|0;d=d+1|0}while((f|0)<(e|0));f=b+(u+33)|0;q=l[f>>0]|l[f+1>>0]<<8|l[f+2>>0]<<16|l[f+3>>0]<<24;f=l[f+4>>0]|l[f+4+1>>0]<<8|l[f+4+2>>0]<<16|l[f+4+3>>0]<<24;e=a+33280+((t&255)<<6)+42|0;i[e>>0]=q;i[e+1>>0]=q>>8;i[e+2>>0]=q>>16;i[e+3>>0]=q>>24;e=a+33280+((t&255)<<6)+42+4|0;i[e>>0]=f;i[e+1>>0]=f>>8;i[e+2>>0]=f>>16;i[e+3>>0]=f>>24;k[a+33280+((t&255)<<6)+24>>2]=k[b+(u+41)>>2];e=k[b+(u+45)>>2]|0;k[a+33280+((t&255)<<6)>>2]=e;f=k[b+(u+49)>>2]|0;k[a+33280+((t&255)<<6)+4>>2]=f;q=(k[b+(u+53)>>2]|0)+f|0;k[a+33280+((t&255)<<6)+8>>2]=q;if(q>>>0>f>>>0)j[a+33280+((t&255)<<6)+34>>1]=m[a+33280+((t&255)<<6)+34>>1]|2;j[a+33280+((t&255)<<6)+32>>1]=64;s=b+(u+58)|0;d=i[s>>0]|0;if(d&1){j[a+33280+((t&255)<<6)+34>>1]=m[a+33280+((t&255)<<6)+34>>1]|1;k[a+33280+((t&255)<<6)>>2]=e>>>1;k[a+33280+((t&255)<<6)+4>>2]=f>>>1;k[a+33280+((t&255)<<6)+8>>2]=q>>>1;d=i[s>>0]|0}if(d&2){j[a+33280+((t&255)<<6)+34>>1]=m[a+33280+((t&255)<<6)+34>>1]|4;d=i[s>>0]|0}i[F+15840+(t&255)>>0]=(d&255)>>>2&3}v=v+1|0;if((v|0)==(w&255|0)){f=C;s=D;break}else u=u+59|0}}break}default:{f=C;s=D}}while(0);d=B+6|0;if(d>>>0>=c>>>0){e=f;w=s;break}else{C=f;D=s}}if((E|0)==7)if((d|0)==11){E=0;r=F;return E|0}else w=f;if((g|0)!=0&(e|0)!=0){d=k[a+59664>>2]|0;if((h|0)!=0&(d|0)!=0){v=b+e|0;u=0;do{t=a+52864+(u<<1)|0;b=$Na(m[t>>1]|0,d)|0;q=a+51904+(u<<2)|0;k[q>>2]=b;if(!b)break a;d=k[a+59664>>2]|0;if(!d)d=0;else{s=u<<5;f=0;do{e=j[F+(f+s<<1)>>1]|0;if(e<<16>>16)if((e&65535)>>>0<=h>>>0){sPa((k[q>>2]|0)+(f*6|0)|0,d,m[t>>1]|0,e&65535,v);d=k[a+59664>>2]|0}f=f+1|0}while(f>>>0>>0)}u=u+1|0}while(u>>>0>>0)}}}else{w=0;n=0;o=0;p=0}while(0);if(k[a+59688>>2]|0){v=(p|0)!=0&(n|0)!=0;x=(o|0)!=0&(w|0)!=0;u=1;do{t=k[a+48640+(u<<2)>>2]|0;if(t|0){if(v){h=i[F+15600+u>>0]|0;if(h<<24>>24){q=0;s=p;while(1){if(((l[s>>0]|0)+1|0)==(h&255|0)){i[t+556>>0]=15;d=0;f=1;while(1){if(d>>>0>=15)break;e=d<<1;g=s+(e|1)|0;if(!d)e=0;else f=(l[g>>0]|0)+(f&65535)&65535;j[t+12+(d<<1)>>1]=f;i[t+204+d>>0]=i[s+(e+2)>>0]|0;d=d+1|0;if(!(i[g>>0]|0)){E=109;break}}if((E|0)==109){E=0;i[t+556>>0]=d}e=s+31|0;d=l[e>>0]&15;i[t+562>>0]=d;i[t+561>>0]=d;d=i[e>>0]|0;if(d&16){k[t+4>>2]=k[t+4>>2]|2;d=i[e>>0]|0}if(d&32)k[t+4>>2]=k[t+4>>2]|4;b=s+32|0;i[t+559>>0]=l[b>>0]&15;i[t+560>>0]=(l[b>>0]|0)>>>4}q=q+1|0;if((q|0)==(n|0))break;else s=s+33|0}}}if(x){h=i[F+15360+u>>0]|0;if(h<<24>>24){q=0;s=o;while(1){if(((l[s>>0]|0)+1|0)==(h&255|0)){i[t+557>>0]=15;d=0;f=1;while(1){if(d>>>0>=15)break;e=d<<1;g=s+(e|1)|0;if(!d)e=0;else f=(l[g>>0]|0)+(f&65535)&65535;j[t+76+(d<<1)>>1]=f;i[t+236+d>>0]=i[s+(e+2)>>0]|0;d=d+1|0;if(!(i[g>>0]|0)){E=125;break}}if((E|0)==125){E=0;i[t+557>>0]=d}e=s+31|0;d=i[e>>0]|0;if(d&16){k[t+4>>2]=k[t+4>>2]|16;d=i[e>>0]|0}if(d&32)k[t+4>>2]=k[t+4>>2]|32;b=s+32|0;i[t+563>>0]=l[b>>0]&15;i[t+564>>0]=(l[b>>0]|0)>>>4}q=q+1|0;if((q|0)==(w|0))break;else s=s+33|0}}}}u=u+1|0}while(u>>>0<=(k[a+59688>>2]|0)>>>0)}k[a+59660>>2]=k[a+59660>>2]|16;k[a+59680>>2]=16384;E=1;r=F;return E|0}function sPa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,n=0,o=0,p=0,q=0,s=0;s=r;r=r+16|0;f=m[e>>1]|0;if(d>>>0>1){g=1;do{e=e+(f+2)|0;f=m[e>>1]|0;g=g+1|0}while((g|0)!=(d|0))}i[s>>0]=0;i[s+1>>0]=0;i[s+2>>0]=0;i[s+3>>0]=0;i[s+4>>0]=0;i[s+5>>0]=0;if(!((c|0)!=0&(f|0)!=0)){r=s;return}q=a;h=0;g=0;while(1){o=h+1|0;d=h+2|0;p=l[e+d>>0]|0;switch(p&3|0){case 1:{n=g+1|0;n=g-(n>>>0>>0?c:n)|0;n=n>>>0>~(p>>>2)>>>0?n:~(p>>>2);d=ha(n,0-b|0)|0;h=0;j=q;k=g;while(1){if(k|0){p=j+((0-b|0)*6|0)|0;i[j>>0]=i[p>>0]|0;i[j+1>>0]=i[p+1>>0]|0;i[j+2>>0]=i[p+2>>0]|0;i[j+3>>0]=i[p+3>>0]|0;i[j+4>>0]=i[p+4>>0]|0;i[j+5>>0]=i[p+5>>0]|0}h=h+1|0;if((h|0)==(0-n|0))break;else{j=j+(b*6|0)|0;k=k+1|0}}h=q+(d*6|0)|0;d=o;g=g-n|0;break}case 2:{if(p>>>2>>>0>>0){p=a+((ha(p>>>2,b)|0)*6|0)|0;i[q>>0]=i[p>>0]|0;i[q+1>>0]=i[p+1>>0]|0;i[q+2>>0]=i[p+2>>0]|0;i[q+3>>0]=i[p+3>>0]|0;i[q+4>>0]=i[p+4>>0]|0;i[q+5>>0]=i[p+5>>0]|0}h=q+(b*6|0)|0;d=o;g=g+1|0;break}case 3:{if(!(p>>>2&1)){k=0;d=o}else k=l[e+(h+3)>>0]|0;h=k&255;i[s>>0]=h;if(!(p>>>2&2))j=0;else{j=l[e+(d+2)>>0]|0;d=d+1|0}i[s+1>>0]=j;i[s+2>>0]=0;i[s+2+1>>0]=0;i[s+2+2>>0]=0;i[s+2+3>>0]=0;if((h+-1&255)<=106)i[s>>0]=k+12;if(!(p>>>2&4))o=0;else{o=l[e+(d+2)>>0]|0;d=d+1|0}if(!(p>>>2&8))h=0;else{h=l[e+(d+2)>>0]|0;d=d+1|0}n=h&15;k=h&240;if(!(p>>>2&16))j=0;else{j=l[e+(d+2)>>0]|0;d=d+1|0}if(!(p>>>2&32))h=0;else{h=l[e+(d+2)>>0]|0;d=d+1|0}if((n|0)==14)if((k|0)!=0|(j&240|0)!=240)n=14;else{n=239;k=0;j=h|j<<8&3840;h=0}if(o|0){i[s+2>>0]=1;i[s+4>>0]=(o+1|0)>>>2}tPa(s,n,j);switch(i[s+3>>0]|0){case 14:case 17:case 16:break;default:tPa(s,k,h)}i[q>>0]=i[s>>0]|0;i[q+1>>0]=i[s+1>>0]|0;i[q+2>>0]=i[s+2>>0]|0;i[q+3>>0]=i[s+3>>0]|0;i[q+4>>0]=i[s+4>>0]|0;i[q+5>>0]=i[s+5>>0]|0;h=q+(b*6|0)|0;g=g+1|0;break}default:{h=q+((ha((p>>>2)+1|0,b)|0)*6|0)|0;d=o;g=(p>>>2)+1+g|0}}if(g>>>0>>0&d>>>0>>0){q=h;h=d}else break}r=s;return}function tPa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:do switch(b|0){case 1:{d=2;b=c;break}case 2:{d=3;b=c;break}case 3:{d=4;b=c;break}case 4:{d=5;b=c;break}case 5:{d=1;b=c;break}case 7:{d=c>>>0<32?16:17;b=c;break}case 8:{d=9;b=c<<1;break}case 11:{d=12;b=c;break}case 12:{d=23;b=c;break}case 13:{d=14;b=((c>>>4)*10|0)+(c&15)|0;break}case 14:do switch(c&240|0){case 16:{if(c&15|0){d=29;b=(c&15|0)==0?c:c|240;break a}return}case 32:if(!(c&15))return;else{d=29;b=c<<4|15;break a}case 48:{d=20;b=c&15|16;break a}case 64:{d=20;b=c&15|48;break a}case 96:{d=20;b=c&15|176;break a}case 112:{d=20;b=c&15|64;break a}case 144:{d=15;b=c&15;break a}case 160:{d=24;b=c<<4&240;break a}case 176:{d=24;b=c&15;break a}case 240:{d=20;b=c>>>8&15|160;break a}case 0:return;default:{d=20;b=c;break a}}while(0);case 15:{d=16;b=c;break}case 16:switch(c&240|0){case 240:{d=11;b=c<<4|15;break a}case 224:return;default:{d=11;b=c>>>2;break a}}case 32:if((c&240|0)==224)return;else{d=11;b=(c&240|0)==240?c:c>>>2;break a}case 48:{d=15;b=c;break}case 64:{d=8;b=c;break}case 80:{d=18;b=c;break}case 239:{d=10;b=c>>>0>255?255:c;break}default:return}while(0);i[a+3>>0]=d;i[a+5>>0]=b;return}function uPa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;if((b|0)==0|c>>>0<133){A=0;return A|0}d=l[b+76>>0]|l[b+76+1>>0]<<8;if(!(d<<16>>16)){A=0;return A|0}if((l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24|0)!=810369604){A=0;return A|0}if(!((l[b+72>>0]|l[b+72+1>>0]<<8)<<16>>16)){A=0;return A|0}if((l[b+78>>0]|l[b+78+1>>0]<<8|l[b+78+2>>0]<<16|l[b+78+3>>0]<<24|0)!=1196314451){A=0;return A|0}if((l[b+8>>0]|l[b+8+1>>0]<<8|l[b+8+2>>0]<<16|l[b+8+3>>0]<<24|0)!=1162690894){A=0;return A|0}if((l[b+12>>0]|l[b+12+1>>0]<<8|l[b+12+2>>0]<<16|l[b+12+3>>0]<<24|0)!=738197504){A=0;return A|0}if((l[b+60>>0]|l[b+60+1>>0]<<8|l[b+60+2>>0]<<16|l[b+60+3>>0]<<24|0)!=1330007625){A=0;return A|0}if((l[b+64>>0]|l[b+64+1>>0]<<8|l[b+64+2>>0]<<16|l[b+64+3>>0]<<24|0)!=167772160){A=0;return A|0}e=(l[b+130>>0]|l[b+130+1>>0]<<8)&65535;g=(e<<8&65280|e>>>8)<<1;if((g+156|0)>>>0>=c>>>0){A=0;return A|0}h=(l[b+68>>0]|l[b+68+1>>0]<<8)&65535;o=(l[b+70>>0]|l[b+70+1>>0]<<8)&65535;n=(l[b+74>>0]|l[b+74+1>>0]<<8)&65535;k[a+59680>>2]=524288;f=((d&65535)<<8&65280|(d&65535)>>>8)>>>0<4?4:(d&65535)<<8&65280|(d&65535)>>>8;k[a+59664>>2]=f>>>0>64?64:f;f=a+59804|0;s=i[b+16>>0]|0?b+16|0:b+86|0;t=f+31|0;do{i[f>>0]=i[s>>0]|0;f=f+1|0;s=s+1|0}while((f|0)<(t|0));i[a+59835>>0]=0;if(e<<8&65280|e>>>8|0){d=0;do{i[a+53344+d>>0]=i[b+((d<<1)+133)>>0]|0;z=d;d=d+1|0}while(z>>>0<254?d>>>0<(e<<8&65280|e>>>8)>>>0:0)}if((g+142|0)>>>0>=c>>>0){A=1;return A|0}f=g+142|0;e=g+132|0;g=h<<8&65280|h>>>8;z=n<<8&65280|n>>>8;d=o<<8&65280|o>>>8;a:while(1){u=g;b:while(1){c:while(1){q=e;d:while(1){y=uBb(k[b+(q+4)>>2]|0)|0;g=q+8|0;h=q;q=y+g|0;if(y>>>0>c>>>0|q>>>0>c>>>0){d=1;A=96;break a}e=k[b+h>>2]|0;e:do if((e|0)<1414807888)if((e|0)<1414745673)switch(e|0){case 1280331091:{e=q;break d}default:break e}else switch(e|0){case 1414745673:{e=q;break c}default:break e}else{if((e|0)<1447970134)switch(e|0){case 1414807888:{e=q;break b}default:break e}switch(e|0){case 1447970134:break;default:break e}p=i[b+(h+9)>>0]|0;if(!(p<<24>>24))break;else o=0;do{n=f;f=f+136|0;if(f>>>0>q>>>0)break e;e=(l[b+n>>0]|l[b+n+1>>0]<<8)&65535;do if(((e<<8&65280|e>>>8)+-1|0)>>>0<239){h=k[a+48640+((e<<8&65280|e>>>8)<<2)>>2]|0;if(!h)break;e=i[b+(n+3)>>0]|0;if(!(e<<24>>24))break;g=i[b+(n+2)>>0]|0;if(g&1)k[h+4>>2]=k[h+4>>2]|1;if(g&2)k[h+4>>2]=k[h+4>>2]|2;if(g&4)k[h+4>>2]=k[h+4>>2]|4;y=((e&255)+1&255)>>>0>32?32:(e&255)+1&255;i[h+556>>0]=y;i[h+559>>0]=i[b+(n+5)>>0]|0;i[h+560>>0]=i[b+(n+6)>>0]|0;x=i[b+(n+4)>>0]|0;i[h+562>>0]=x;i[h+561>>0]=x;if(!(y<<24>>24))break;e=0;do{y=e<<1;x=(l[b+(n+8)+(y<<1)>>0]|l[b+(n+8)+(y<<1)+1>>0]<<8)&65535;j[h+12+(e<<1)>>1]=x>>>8|x<<8;i[h+204+e>>0]=((l[b+(n+8)+((y|1)<<1)>>0]|l[b+(n+8)+((y|1)<<1)+1>>0]<<8)&65535)>>>8;e=e+1|0}while(e>>>0<(l[h+556>>0]|0)>>>0)}while(0);o=o+1|0}while(o>>>0<(p&255)>>>0)}while(0);f=q+10|0;if(f>>>0>=c>>>0){d=1;A=96;break a}}d=d>>>0>239?239:d;k[a+59684>>2]=d;f:do if((d|0)!=0&(h+18|0)>>>0>>0){p=1;do{n=b+g|0;h=g+8|0;f=b+(g+4)|0;f=uBb(l[f>>0]|l[f+1>>0]<<8|l[f+2>>0]<<16|l[f+3>>0]<<24|0)|0;n=l[n>>0]|l[n+1>>0]<<8|l[n+2>>0]<<16|l[n+3>>0]<<24;o=a+33280+(p<<6)|0;k[o>>2]=f;if(n&33554432){y=a+33280+(p<<6)+34|0;j[y>>1]=m[y>>1]|1;f=f<<1}g=f+h|0;if(f>>>0>c>>>0|g>>>0>e>>>0)break f;if(n&50331648|0)dOa(a,o,j[a+33280+(p<<6)+34>>1]&1?7:0,b+h|0,f)|0;p=p+1|0}while(p>>>0<=d>>>0&(g+10|0)>>>0>>0)}while(0);if((e+10|0)>>>0>>0)f=e+10|0;else{d=1;A=96;break a}}u=u>>>0>239?239:u;g:do if(u|0){r=0;do{p=g;g=g+50|0;if(g>>>0>e>>>0)break g;h=kBb(632)|0;n=(l[b+(p+30)>>0]|l[b+(p+30)+1>>0]<<8)&65535;o=((n<<8&65280|n>>>8)+-1|0)>>>0<239;q=o?a+33280+((n<<8&65280|n>>>8)<<6)|0:0;vBb(h|0,0,632)|0;f=h+585|0;s=b+p|0;t=f+30|0;do{i[f>>0]=i[s>>0]|0;f=f+1|0;s=s+1|0}while((f|0)<(t|0));if(o){f=a+59804+((n<<8&65280|n>>>8)<<5)|0;s=b+p|0;t=f+30|0;do{i[f>>0]=i[s>>0]|0;f=f+1|0;s=s+1|0}while((f|0)<(t|0));i[a+59804+((n<<8&65280|n>>>8)<<5)+30>>0]=0}r=r+1|0;k[a+48640+(r<<2)>>2]=h;k[h>>2]=1024;j[h+8>>1]=64;y=(l[b+(p+46)>>0]|l[b+(p+46)+1>>0]<<8)&65535;j[h+10>>1]=y>>>8|y<<8;if((y<<8&65280)>>>0<256?((y>>>8|y<<8)&65535)<<16>>16!=0:0)k[h+4>>2]=512;else j[h+10>>1]=128;i[h+584>>0]=60;f=0;do{i[h+(f+300)>>0]=n>>>8;y=f;f=f+1|0;i[h+(y+428)>>0]=f}while((f|0)!=120);do if(o){h=((l[b+(p+48)>>0]|l[b+(p+48)+1>>0]<<8)&65535)>>>8;f=(l[b+(p+32)>>0]|l[b+(p+32)+1>>0]<<8)&65535;j[q+30>>1]=(((f>>>8|f<<8)<<2&65532)>>>0>256?1:((f>>>8|f<<8)<<2&65535)<<16>>16==0)?256:(f>>>8|f<<8)<<2&65535;j[q+32>>1]=64;f=uBb(l[b+(p+34)>>0]|l[b+(p+34)+1>>0]<<8|l[b+(p+34)+2>>0]<<16|l[b+(p+34)+3>>0]<<24|0)|0;k[q+24>>2]=f;f=vPa(f)|0;i[q+36>>0]=f>>>7;i[q+37>>0]=f&127;f=l[b+(p+42)>>0]|l[b+(p+42)+1>>0]<<8|l[b+(p+42)+2>>0]<<16|l[b+(p+42)+3>>0]<<24;if((h&3|0)==0|(f|0)==0)break;y=uBb(l[b+(p+38)>>0]|l[b+(p+38)+1>>0]<<8|l[b+(p+38)+2>>0]<<16|l[b+(p+38)+3>>0]<<24|0)|0;k[q+4>>2]=y;f=(uBb(f|0)|0)+y|0;k[q+8>>2]=f;f=m[q+34>>1]|0;j[q+34>>1]=f&65529|2;if(!(h&2))break;j[q+34>>1]=f|6}while(0);k[a+59688>>2]=r}while(r>>>0>>0)}while(0);if((e+10|0)>>>0>>0)f=e+10|0;else{d=1;A=96;break a}}z=z>>>0>240?240:z;h:do if(!((z|0)==0|(h+16|0)>>>0>e>>>0)){y=0;do{w=b+(g+2)|0;w=uBb(l[w>>0]|l[w+1>>0]<<8|l[w+2>>0]<<16|l[w+3>>0]<<24|0)|0;x=g+6|0;f=g;g=x+w|0;if(w>>>0>e>>>0|g>>>0>e>>>0)break h;v=(l[b+f>>0]|l[b+f+1>>0]<<8)&65535;i:do if(((v<<8&65280|v>>>8)+-4|0)>>>0<253){f=$Na(v<<8&65280|v>>>8,k[a+59664>>2]|0)|0;if(f|0){j[a+52864+(y<<1)>>1]=v<<8&65280|v>>>8;k[a+51904+(y<<2)>>2]=f;if(w>>>0>3){o=3;h=0;n=0}else break;while(1){while(1){p=h+1|0;t=i[b+(h+x)>>0]|0;if(!(t<<24>>24))break;h=h+2|0;s=l[b+(p+x)>>0]|0;do if(((t&255)+-1|0)>>>0<(k[a+59664>>2]|0)>>>0){if(s&1|0){h=i[b+(h+x)>>0]|0;do if(h<<24>>24==31)h=255;else{if((h+-1&255)>=253){h=h&255;break}h=(h&15)+13+(((h&255)>>>4)*12|0)|0}while(0);i[f+(((t&255)+-1|0)*6|0)>>0]=h;h=o}if(s&2){i[f+(((t&255)+-1|0)*6|0)+1>>0]=i[b+(h+x)>>0]|0;h=h+1|0}if(!(s&60))break;if(!(s&4))o=255;else{o=l[b+(h+x)>>0]|0;h=h+1|0}if(!(s&8)){r=h;p=0}else{r=h+1|0;p=l[b+(h+x)>>0]|0}if(!(s&16))q=255;else{q=l[b+(r+x)>>0]|0;r=r+1|0}if(!(s&32)){h=r;r=0}else{h=r+1|0;r=l[b+(r+x)>>0]|0}do if((o|0)==12){i[f+(((t&255)+-1|0)*6|0)+2>>0]=1;i[f+(((t&255)+-1|0)*6|0)+4>>0]=p;o=q;A=83}else{if((q|0)==12){i[f+(((t&255)+-1|0)*6|0)+2>>0]=1;i[f+(((t&255)+-1|0)*6|0)+4>>0]=r;q=255}if(o>>>0>19){o=q;A=83;break}if(o>>>0>15&q>>>0<16){o=q;A=83}}while(0);if((A|0)==83){A=0;if(o>>>0<20)p=r;else break}i[f+(((t&255)+-1|0)*6|0)+3>>0]=o;i[f+(((t&255)+-1|0)*6|0)+5>>0]=p;aOa(a,f+(((t&255)+-1|0)*6|0)|0)}else h=(s>>>2&1)+(s>>>1&1)+(s>>>3&1)+(s>>>4&1)+(s>>>5&1)+(s&1|0?o:h)|0;while(0);o=h+3|0;if(o>>>0>=w>>>0)break i}n=n+1|0;if((h+4|0)>>>0>>0?n>>>0<(v<<8&65280|v>>>8)>>>0:0){o=h+4|0;h=p;f=f+((k[a+59664>>2]|0)*6|0)|0}else break}}}while(0);y=y+1|0}while(!(y>>>0>=z>>>0|(g+8|0)>>>0>e>>>0))}while(0);if((e+10|0)>>>0>>0){f=e+10|0;g=u}else{d=1;A=96;break}}if((A|0)==96)return d|0;return 0}function vPa(a){a=a|0;return ~~(+fa(+(+(a>>>0)*1.1957431543704412e-04))*2215.9795828054475)|0}function wPa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;if((b|0)==0|c>>>0<498){a=0;return a|0}d=j[b>>1]|0;a:do if(d<<16>>16<26217){switch(d<<16>>16){case 20042:break a;default:d=0}return d|0}else{switch(d<<16>>16){case 26217:break a;default:d=0}return d|0}while(0);f=i[b+110>>0]|0;if(!(f<<24>>24)){a=0;return a|0}if((f&255)>64){a=0;return a|0}if((i[b+112>>0]|0)<0){a=0;return a|0}d=i[b+111>>0]|0;if(d+-1<<24>>24<<24>>24<0){a=0;return a|0}if((((f&255)*25|0)+497+((d&255)*1536|0)|0)>>>0>c>>>0){a=0;return a|0}else{d=((f&255)*25|0)+497+((d&255)*1536|0)|0;e=0}do{d=(l[b+497+(e*25|0)+15>>0]<<16|l[b+497+(e*25|0)+16>>0]<<24|l[b+497+(e*25|0)+14>>0]<<8|l[b+497+(e*25|0)+13>>0])+d|0;e=e+1|0}while(e>>>0<(f&255)>>>0);if(d>>>0>c>>>0){a=0;return a|0}k[a+59680>>2]=64;k[a+59660>>2]=k[a+59660>>2]|16;k[a+59764>>2]=112;k[a+59768>>2]=13696;k[a+59652>>2]=125;k[a+59648>>2]=6;k[a+59664>>2]=8;f=a+59804|0;g=b+2|0;h=f+16|0;do{i[f>>0]=i[g>>0]|0;f=f+1|0;g=g+1|0}while((f|0)<(h|0));v=i[b+110>>0]|0;k[a+59684>>2]=v&255;if(v<<24>>24){d=1;e=b+497|0;while(1){s=l[e+15>>0]<<16|l[e+16>>0]<<24|l[e+14>>0]<<8|l[e+13>>0];u=l[e+19>>0]<<16|l[e+20>>0]<<24|l[e+18>>0]<<8|l[e+17>>0];t=l[e+23>>0]<<16|l[e+24>>0]<<24|l[e+22>>0]<<8|l[e+21>>0];s=s>>>0>16e6?16e6:s;t=(u|0)!=0|t>>>0<=s>>>0?t:0;t=t>>>0>s>>>0?s:t;v=(u+4|0)>>>0>>0?t:0;k[a+33280+(d<<6)>>2]=s;k[a+33280+(d<<6)+4>>2]=(u+4|0)>>>0>>0?u:0;k[a+33280+(d<<6)+8>>2]=v;if(v|0){v=a+33280+(d<<6)+34|0;j[v>>1]=m[v>>1]|2}f=a+59804+(d<<5)|0;g=e;h=f+13|0;do{i[f>>0]=i[g>>0]|0;f=f+1|0;g=g+1|0}while((f|0)<(h|0));j[a+33280+(d<<6)+30>>1]=256;j[a+33280+(d<<6)+32>>1]=64;j[a+33280+(d<<6)+28>>1]=128;d=d+1|0;if(d>>>0>(k[a+59684>>2]|0)>>>0)break;else e=e+25|0}}d=mBb(109)|0;k[a+59796>>2]=d;f=d;g=b+2|0;h=f+108|0;do{i[f>>0]=i[g>>0]|0;f=f+1|0;g=g+1|0}while((f|0)<(h|0));i[d+108>>0]=0;f=a+53344|0;g=b+113|0;h=f+128|0;do{i[f>>0]=i[g>>0]|0;f=f+1|0;g=g+1|0}while((f|0)<(h|0));d=l[b+112>>0]|0;k[a+59736>>2]=d;v=i[b+111>>0]|0;k[a+59736>>2]=(l[a+53344+d>>0]|0)<(v&255)?d:0;k[a+49600>>2]=208;k[a+49604>>2]=64;k[a+49636>>2]=48;k[a+49640>>2]=64;k[a+49672>>2]=208;k[a+49676>>2]=64;k[a+49708>>2]=48;k[a+49712>>2]=64;k[a+49744>>2]=208;k[a+49748>>2]=64;k[a+49780>>2]=48;k[a+49784>>2]=64;k[a+49816>>2]=208;k[a+49820>>2]=64;k[a+49852>>2]=48;k[a+49856>>2]=64;d=((l[b+110>>0]|0)*25|0)+497|0;b:do if(v<<24>>24){v=$Na(64,8)|0;k[a+51904>>2]=v;if(v){e=a+51904|0;v=0;do{j[a+52864+(v<<1)>>1]=64;t=b+(v+369)|0;u=b+(v+241)|0;q=k[e>>2]|0;r=b+d|0;s=0;do{if((s|0)!=63&(s|0)==(l[t>>0]|0)){i[q+3>>0]=14;i[q+5>>0]=0;i[q+9>>0]=14;i[q+11>>0]=0;i[q+15>>0]=14;i[q+17>>0]=0;i[q+21>>0]=14;i[q+23>>0]=0;i[q+27>>0]=14;i[q+29>>0]=0;i[q+33>>0]=14;i[q+35>>0]=0;i[q+39>>0]=14;i[q+41>>0]=0;i[q+45>>0]=14;i[q+47>>0]=0}n=q;g=q;o=0;p=r;r=r+24|0;while(1){e=i[p>>0]|0;f=l[p+1>>0]|0;if((e&255)<254){i[n>>0]=((e&255)>>>2)+37;i[n+1>>0]=((e&255)<<4&48|f>>>4)+1;e=i[p>>0]|0}if(e<<24>>24!=-1){i[n+2>>0]=1;i[n+4>>0]=f<<2&60|2}e=i[p+2>>0]|0;c:do if(e<<24>>24!=-1){f=e&15;d:do switch((e&255)>>>4|0){case 0:{h=2;e=f;break}case 1:{h=3;e=f;break}case 2:{h=4;e=f;break}case 3:{h=19;e=f|80;break}case 4:{h=5;e=f|64;break}case 5:{if(!f)break c;else{h=16;g=0;e=f+2|0}break}case 6:{switch(f|0){case 0:{h=29;e=254;break d}case 1:break;default:break c}h=29;e=239;break}default:break c}while(0);i[n+3>>0]=h;i[n+5>>0]=e}while(0);o=o+1|0;if((o|0)==8)break;else{n=n+6|0;p=p+3|0}}q=q+48|0;e:do if((s|0)==0&(g|0)!=0){do if(!(i[g+3>>0]|0)){e=g+3|0;f=0}else if(!(i[g+9>>0]|0)){e=g+9|0;f=1}else{if(!(i[g+15>>0]|0)){e=g+15|0;f=2;break}if(!(i[g+21>>0]|0)){e=g+21|0;f=3;break}if(!(i[g+27>>0]|0)){e=g+27|0;f=4;break}if(!(i[g+33>>0]|0)){e=g+33|0;f=5;break}if(!(i[g+39>>0]|0)){e=g+39|0;f=6;break}if(!(i[g+45>>0]|0)){e=g+45|0;f=7}else break e}while(0);i[e>>0]=16;i[g+(f*6|0)+5>>0]=(l[u>>0]|0)+2}while(0);s=s+1|0}while((s|0)!=64);d=d+1536|0;v=v+1|0;if(v>>>0>=(l[b+111>>0]|0)>>>0)break b;u=$Na(64,k[a+59664>>2]|0)|0;e=a+51904+(v<<2)|0;k[e>>2]=u}while((u|0)!=0)}}while(0);e=k[a+59684>>2]|0;if(!e){a=1;return a|0}else h=1;while(1){f=a+33280+(h<<6)|0;g=k[f>>2]|0;if(d>>>0>=c>>>0){d=1;e=47;break}if(g>>>0>4){dOa(a,f,1,b+d|0,c-d|0)|0;e=k[a+59684>>2]|0}h=h+1|0;if(h>>>0>e>>>0){d=1;e=47;break}else d=g+d|0}if((e|0)==47)return d|0;return 0}function xPa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0;w=r;r=r+16|0;if((b|0)==0|c>>>0<1024){a=0;r=w;return a|0}if((l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24|0)!=-28163770){a=0;r=w;return a|0}if((i[b+44>>0]|0)!=13){a=0;r=w;return a|0}if((i[b+45>>0]|0)!=10){a=0;r=w;return a|0}if((i[b+46>>0]|0)!=26){a=0;r=w;return a|0}m=(l[b+47>>0]|l[b+47+1>>0]<<8)&65535;n=l[b+96>>0]|l[b+96+1>>0]<<8;if(m>>>0>=c>>>0){a=0;r=w;return a|0}if(((n&65535)+869|0)>>>0>=c>>>0){a=0;r=w;return a|0}k[a+59680>>2]=512;k[a+59664>>2]=16;k[a+59688>>2]=0;k[a+59684>>2]=0;k[a+59748>>2]=32;k[a+59648>>2]=l[b+75>>0];k[a+59652>>2]=80;k[a+59656>>2]=256;f=a+59804|0;g=b+4|0;h=f+32|0;do{i[f>>0]=i[g>>0]|0;f=f+1|0;g=g+1|0}while((f|0)<(h|0));d=0;do{k[a+49600+(d*36|0)+8>>2]=0;k[a+49600+(d*36|0)>>2]=l[b+(d+76)>>0]<<4&240|8;k[a+49600+(d*36|0)+4>>2]=64;d=d+1|0}while((d|0)!=16);if(!(n<<16>>16))f=98;else{f=(n&65535)>>>0>(c+-98|0)>>>0?c+-98|0:n&65535;t=mBb(f+1|0)|0;k[a+59796>>2]=t;ABb(t|0,b+98|0,f|0)|0;i[t+f>>0]=0;f=(n&65535)+98|0}if((c-f|0)>>>0<771){a=1;r=w;return a|0}h=f+771|0;if(h>>>0>=c>>>0){a=1;r=w;return a|0}d=b+(f+257)|0;g=0;do{if(g>>>0>(l[d>>0]|0)>>>0)e=255;else e=l[b+(g+f)>>0]|0;i[a+53344+g>>0]=e;g=g+1|0}while((g|0)!=256);k[a+59736>>2]=l[b+(f+258)>>0];if((h+(m-((n&65535)+869))|0)>>>0>=c>>>0){a=1;r=w;return a|0}t=b+(f+259)|0;g=h+(m-((n&65535)+869))|0;s=0;a:while(1){e=j[t+(s<<1)>>1]|0;b:do if(!(e<<16>>16))d=g;else{d=(e&65535)+g|0;if(!(s>>>0>239|(e&65535)<2)){if(d>>>0>=c>>>0){u=1;d=61;break a}if(((e&65535)+-2|0)>>>6){q=((e&65535)+-2|0)>>>0>16447?256:((e&65535)+-2|0)>>>6;q=q>>>0<16?16:q;j[a+52864+(s<<1)>>1]=q;f=$Na(q,k[a+59664>>2]|0)|0;k[a+51904+(s<<2)>>2]=f;if(!f){u=1;d=61;break a}p=g+2|0;n=q<<6>>>0>((e&65535)+-2|0)>>>0?(e&65535)+-2|0:q<<6;if(n){o=0;e=l[b+g>>0]|0;while(1){g=i[b+(o+p)>>0]|0;h=i[b+((o|2)+p)>>0]|0;m=i[b+((o|3)+p)>>0]|0;if(g<<24>>24){i[f+1>>0]=(l[b+((o|1)+p)>>0]|0)+1;i[f>>0]=(g&255)+36}if(h&15|0){i[f+2>>0]=1;i[f+4>>0]=(h&15)<<2>>>0<5?0:(h&15)<<2&255}c:do switch(m&240|0){case 16:{i[f+3>>0]=2;i[f+5>>0]=m&15;break}case 32:{i[f+3>>0]=3;i[f+5>>0]=m&15;break}case 48:{i[f+3>>0]=4;i[f+5>>0]=(m&255)<<2&60;break}case 64:{i[f+3>>0]=15;i[f+5>>0]=(6/(((m&15)+1|0)>>>0)|0)+1;break}case 80:{i[f+3>>0]=5;i[f+5>>0]=m&15;break}case 96:{i[f+3>>0]=5;i[f+5>>0]=(m&255)<<4;break}case 112:{i[f+3>>0]=11;i[f+5>>0]=(m&255)<<4;break}case 128:{i[f+3>>0]=11;i[f+5>>0]=m&15;break}case 160:{i[f+2>>0]=1;i[f+4>>0]=((m&255)<<2&60)+4;break}case 176:{i[f+3>>0]=9;i[f+5>>0]=(m&255)<<4;break}case 240:{i[f+3>>0]=16;i[f+5>>0]=m&15;break}default:{if(!e){e=0;break c}m=e+1|0;if((m|0)==(q+-1|0)|(m|0)!=(o>>>6|0))break c;i[f+3>>0]=14;e=0}}while(0);o=o+4|0;if(o>>>0>=n>>>0)break b;else f=f+6|0}}}}}while(0);s=s+1|0;if(s>>>0>=256){v=d;d=48;break}else g=d}if((d|0)==48){if((v+8|0)>>>0>=c>>>0){a=1;r=w;return a|0}d=l[b+v+4>>0]|l[b+v+4+1>>0]<<8|l[b+v+4+2>>0]<<16|l[b+v+4+3>>0]<<24;k[w>>2]=l[b+v>>0]|l[b+v+1>>0]<<8|l[b+v+2>>0]<<16|l[b+v+3>>0]<<24;k[w+4>>2]=d;d=v+8|0;e=0;q=a+33344|0;while(1){if(!(l[w+(e>>>3)>>0]&1<<(e&7)))e=e+1|0;else{p=d+48|0;if(p>>>0>c>>>0){u=1;d=61;break}e=e+1|0;k[a+59684>>2]=e;f=a+59804+(e<<5)|0;g=b+d|0;h=f+32|0;do{i[f>>0]=i[g>>0]|0;f=f+1|0;g=g+1|0}while((f|0)<(h|0));o=b+(d+32)|0;o=l[o>>0]|l[o+1>>0]<<8|l[o+2>>0]<<16|l[o+3>>0]<<24;k[q>>2]=o;g=b+(d+38)|0;g=l[g>>0]|l[g+1>>0]<<8|l[g+2>>0]<<16|l[g+3>>0]<<24;h=q+4|0;k[h>>2]=g;f=b+(d+42)|0;f=l[f>>0]|l[f+1>>0]<<8|l[f+2>>0]<<16|l[f+3>>0]<<24;m=q+8|0;k[m>>2]=f;i[q+37>>0]=0;k[q+24>>2]=16726;j[q+32>>1]=64;j[q+30>>1]=l[b+(d+37)>>0]<<4;n=q+34|0;j[n>>1]=0;if((d+52|0)>>>0>>0&o>>>0>3){if(!(i[b+(d+46)>>0]&1))g=0;else{j[n>>1]=1;k[q>>2]=o>>>1;k[h>>2]=g>>>1;k[m>>2]=f>>>1;f=f>>>1;g=1}if(f>>>0>4?(i[b+(d+47)>>0]&8)!=0:0){d=(g&65535|2)&65535;j[n>>1]=d}else d=g;dOa(a,q,d&1?5:0,b+p|0,c-p|0)|0}d=o+p|0}if(e>>>0<64)q=q+64|0;else{u=1;d=61;break}}if((d|0)==61){r=w;return u|0}}else if((d|0)==61){r=w;return u|0}return 0}function yPa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;if((b|0)==0|c>>>0<1024){a=0;return a|0}if((i[b+8>>0]|0)==1)if(!(Dmb(b,527149,7)|0)){h=l[b+11>>0]|l[b+11+1>>0]<<8;if(h<<16>>16){g=l[b+13>>0]|l[b+13+1>>0]<<8;if(g<<16>>16){n=i[b+10>>0]|0;if(n<<24>>24)if(!((g&65535)>256|((h&65535)>240|(n&255)>239))){g=((l[b+16>>0]|l[b+16+1>>0]<<8)&65535)+18|0;if((((n&255)*17|0)+256+g|0)>>>0>=c>>>0){a=0;return a|0}k[a+59680>>2]=4096;k[a+59688>>2]=0;p=(l[b+9>>0]&31)+1|0;k[a+59664>>2]=p;k[a+59684>>2]=n&255;n=g;o=1;while(1){y=b+n|0;y=l[y>>0]|l[y+1>>0]<<8|l[y+2>>0]<<16|l[y+3>>0]<<24;k[a+33280+(o<<6)>>2]=y;z=b+(n+4)|0;z=l[z>>0]|l[z+1>>0]<<8|l[z+2>>0]<<16|l[z+3>>0]<<24;k[a+33280+(o<<6)+4>>2]=z;A=b+(n+8)|0;A=l[A>>0]|l[A+1>>0]<<8|l[A+2>>0]<<16|l[A+3>>0]<<24;k[a+33280+(o<<6)+8>>2]=A;j[a+33280+(o<<6)+32>>1]=64;j[a+33280+(o<<6)+30>>1]=l[b+(n+15)>>0]<<1;g=b+(n+13)|0;k[a+33280+(o<<6)+24>>2]=(l[g>>0]|l[g+1>>0]<<8)&65535;g=l[b+(n+12)>>0]|0;j[a+33280+(o<<6)+28>>1]=(g&240)>>>0<128?(g&240)+16|0:g&240;i[a+33280+(o<<6)+37>>0]=g<<4;g=(l[b+(n+16)>>0]|0)>>>7;if(A>>>0>y>>>0|(z+4|0)>>>0>A>>>0)g=g&255;else g=(g&255|2)&65535;j[a+33280+(o<<6)+34>>1]=g;o=o+1|0;h=n+17|0;g=k[a+59684>>2]|0;if(o>>>0>g>>>0){o=n;break}else n=h}n=l[b+h>>0]|0;if((n+(o+18)+1|0)>>>0>=c>>>0){a=1;return a|0}h=n>>>0>31?31:n;if(h|0)ABb(a+59804|0,b+(o+18)|0,h|0)|0;i[a+59804+h>>0]=0;do if(!g){t=p;d=n+(o+18)|0;h=19}else{h=n+(o+18)|0;n=1;while(1){if((h+32|0)>>>0>=c>>>0){q=1;h=86;break}s=h+1|0;r=l[b+h>>0]|0;h=r>>>0>31?31:r;if(h){ABb(a+59804+(n<<5)|0,b+s|0,h|0)|0;g=k[a+59684>>2]|0}n=n+1|0;if(n>>>0>g>>>0){h=18;break}else h=r+s|0}if((h|0)==18){g=k[a+59664>>2]|0;if(!g){e=r+s|0;break}else{t=g;d=r+s|0;h=19;break}}else if((h|0)==86)return q|0}while(0);a:do if((h|0)==19){e=0;while(1){if((d+32|0)>>>0>=c>>>0){q=1;break}d=d+1+(l[b+d>>0]|0)|0;e=e+1|0;if(e>>>0>=t>>>0){e=d;break a}}return q|0}while(0);d=l[b+11>>0]|l[b+11+1>>0]<<8;A=mBb((d&65535)<<5)|0;k[a+59800>>2]=A;k[a+59792>>2]=d&65535;vBb(A|0,0,(d&65535)<<5|0)|0;b:do if(!(d<<16>>16))d=e;else{d=d&65535;n=0;while(1){if((e+32|0)>>>0>=c>>>0){q=1;break}h=e+1|0;g=l[b+e>>0]|0;e=g>>>0>31?31:g;if(e){ABb((k[a+59800>>2]|0)+(n<<5)|0,b+h|0,e|0)|0;d=k[a+59792>>2]|0}n=n+1|0;if(n>>>0>=d>>>0){d=g+h|0;break b}else e=g+h|0}return q|0}while(0);e=j[b+d>>1]|0;d=d+2|0;if(((e&65535)+d|0)>>>0>=c>>>0){a=1;return a|0}if(e<<16>>16){A=mBb((e&65535)+1|0)|0;k[a+59796>>2]=A;vBb(A|0,0,(e&65535)+1|0)|0;ABb(A|0,b+d|0,e&65535|0)|0;d=(e&65535)+d|0}if((l[b+13>>0]|l[b+13+1>>0]<<8)<<16>>16){e=0;do{i[a+53344+e>>0]=j[b+d>>1];e=e+1|0;d=d+2|0}while(e>>>0<((l[b+13>>0]|l[b+13+1>>0]<<8)&65535)>>>0)}c:do if(!((l[b+11>>0]|l[b+11+1>>0]<<8)<<16>>16))f=d;else{A=0;while(1){x=d+4|0;if(x>>>0>=c>>>0){q=1;h=86;break}y=k[b+d>>2]|0;if(y>>>0>=c>>>0){q=1;h=86;break}if((y+x|0)>>>0>c>>>0){q=1;h=86;break}z=a+52864+(A<<1)|0;j[z>>1]=64;e=$Na(64,k[a+59664>>2]|0)|0;if(!e){q=1;h=86;break}k[a+51904+(A<<2)>>2]=e;w=d+5|0;d=0;v=0;d:while(1){do{g=d+2|0;if(!(g>>>0>>0?v>>>0<(m[z>>1]|0)>>>0:0))break d;h=i[b+(d+x)>>0]|0;n=i[b+(w+d)>>0]|0;u=h&63;do if(!(h&64)){o=d+3|0;g=i[b+(g+x)>>0]|0;if(u>>>0<(k[a+59664>>2]|0)>>>0){if(n&127|0)i[e+(u*6|0)>>0]=(n&127)+25;i[e+(u*6|0)+1>>0]=g}if(n<<24>>24>=0){d=o;break}h=(h&255|64)&255;n=i[b+(o+x)>>0]|0;d=d+4|0}else d=g;while(0);t=h&255;e:do if(t&64){o=e+(u*6|0)|0;p=e+(u*6|0)+3|0;q=e+(u*6|0)+5|0;r=e+(u*6|0)+2|0;s=e+(u*6|0)+4|0;while(1){n=n&255;f:do if(!(n&64)){g=d+1|0;d=i[b+(d+x)>>0]|0;if(u>>>0>=(k[a+59664>>2]|0)>>>0)break;switch(n&63|0){case 12:{i[r>>0]=1;i[s>>0]=(d&255)>>>1;break f}case 14:{if(i[p>>0]|0)break f;g:do switch(d&240|0){case 0:{if(!(d&8)){h=0;d=0;break g}h=20;d=d&7|144;break}case 16:{h=2;d=d&255|240;break}case 32:{h=3;d=d&255|240;break}case 48:{h=20;d=d&15|16;break}case 64:{h=20;d=d&15|48;break}case 80:{h=20;d=d&15|32;break}case 96:{h=20;d=d&15|176;break}case 112:{h=20;d=d&15|64;break}case 144:{h=15;d=d&15;break}case 160:{if(!(d&15)){h=0;d=0;break g}h=11;d=(d&255)<<4|15;break}case 176:{h=(d&15|0)==0?0:11;d=(d&15|0)==0?0:d&255|240;break}default:{h=20;d=d&255}}while(0);i[p>>0]=h;i[q>>0]=d;break f}default:{i[p>>0]=n&63;i[q>>0]=d;aOa(a,o);break f}}}else{if(u>>>0>=(k[a+59664>>2]|0)>>>0){g=d;break}i[r>>0]=1;i[s>>0]=n&63;g=d}while(0);if(!(n&128)){d=g;break e}d=g+1|0;if(d>>>0>y>>>0)break;else n=i[b+(g+x)>>0]|0}}while(0)}while((t&128|0)==0);e=e+((k[a+59664>>2]|0)*6|0)|0;v=v+1|0}A=A+1|0;if(A>>>0>=((l[b+11>>0]|l[b+11+1>>0]<<8)&65535)>>>0){f=y+x|0;break c}else d=y+x|0}if((h|0)==86)return q|0}while(0);d=k[a+59684>>2]|0;if(!d){a=1;return a|0}else g=1;while(1){e=a+33280+(g<<6)|0;if(!(k[e>>2]|0))e=f;else{if(f>>>0>=(c+-9|0)>>>0){q=1;h=86;break}e=(dOa(a,e,(j[a+33280+(g<<6)+34>>1]&1)<<2|17,b+f|0,c-f|0)|0)+f|0;d=k[a+59684>>2]|0}g=g+1|0;if(g>>>0>d>>>0){q=1;h=86;break}else f=e}if((h|0)==86)return q|0}}}}a=zPa(a,b,c)|0;return a|0}function zPa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=r;r=r+288|0;if((l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24|0)!=1750289729){a=0;r=B;return a|0}if((l[b+4>>0]|l[b+4+1>>0]<<8)<<16>>16!=29284){a=0;r=B;return a|0}if((i[b+6>>0]|0)!=26){a=0;r=B;return a|0}A=i[b+7>>0]|0;if((A&255)>30){a=0;r=B;return a|0}if(((l[b+((A&255)+8)>>0]|l[b+((A&255)+8)+1>>0]<<8)&-256)<<16>>16!=512){a=0;r=B;return a|0}d=i[b+((A&255)+10)>>0]|0;if((d+-1&255)>238){a=0;r=B;return a|0}if(!((l[b+((A&255)+11)>>0]|l[b+((A&255)+11)+1>>0]<<8)<<16>>16)){a=0;r=B;return a|0}if(!((l[b+((A&255)+13)>>0]|l[b+((A&255)+13)+1>>0]<<8)<<16>>16)){a=0;r=B;return a|0}if(A<<24>>24){ABb(a+59804|0,b+8|0,A&255|0)|0;i[(l[b+7>>0]|0)+(a+59804)>>0]=0;d=i[b+((A&255)+10)>>0]|0}k[a+59680>>2]=4096;k[a+59664>>2]=32;k[a+59652>>2]=((l[b+((A&255)+15)>>0]|l[b+((A&255)+15)+1>>0]<<8)&65535)>>>8;k[a+59648>>2]=l[b+((A&255)+17)>>0];k[a+59688>>2]=d&255;k[a+59684>>2]=0;if((l[b+((A&255)+21)>>0]|l[b+((A&255)+21)+1>>0]<<8)&64)k[a+59660>>2]=k[a+59660>>2]|16;a:do if(!(d<<24>>24))d=(A&255)+23|0;else{d=(A&255)+23|0;t=1;while(1){h=i[b+d>>0]|0;g=d+1|0;s=g+(h&255)|0;if((s+1145|0)>>>0>=c>>>0){u=1;break}n=i[b+(s+125)>>0]|0;p=((n&255)*3|0)+s+((l[b+(((n&255)*3|0)+s+130)>>0]|0)*3|0)|0;p=p+((l[b+(p+135)>>0]|0)*3|0)|0;q=kBb(632)|0;d=B+32|0;f=d+16|0;do{i[d>>0]=0;d=d+1|0}while((d|0)<(f|0));vBb(q|0,0,632)|0;o=i[b+s>>0]|0;b:do if(o<<24>>24){d=k[a+59684>>2]|0;f=0;do{d=d+1|0;if(d>>>0>239)break b;k[a+59684>>2]=d;i[B+32+f>>0]=d;f=f+1|0}while(!(f>>>0>15|f>>>0>=(o&255)>>>0))}while(0);j[q+8>>1]=64;j[q+10>>1]=128;i[q+584>>0]=60;k[a+48640+(t<<2)>>2]=q;if(h<<24>>24){z=(h&255)>31?31:h&255;ABb(q+585|0,b+g|0,z|0)|0;i[q+(z+585)>>0]=0}d=0;do{z=d;d=d+1|0;i[q+(z+428)>>0]=d;i[q+(z+300)>>0]=i[B+32+(l[b+(s+1+z)>>0]&15)>>0]|0}while((d|0)!=120);z=(n&255)>16?16:n;i[q+556>>0]=z;y=i[b+(s+122)>>0]|0;i[q+562>>0]=y;i[q+561>>0]=y;i[q+559>>0]=i[b+(s+123)>>0]|0;i[q+560>>0]=i[b+(s+124)>>0]|0;if(z<<24>>24){d=0;f=0;do{z=d*3|0;i[q+(d+204)>>0]=(l[b+(s+128+z)>>0]|0)>>>1&63;f=(l[b+(s+127+z)>>0]<<8&256|l[b+(z+(s+126))>>0])+f|0;j[q+12+(d<<1)>>1]=f;d=d+1|0}while(d>>>0<(l[q+556>>0]|0)>>>0)}k[q>>2]=(l[b+(p+138)>>0]<<8&3840|l[b+(p+137)>>0])<<3;d=l[b+(p+139)>>0]|0;if(d&1|0)k[q+4>>2]=k[q+4>>2]|4;if(d&2|0)k[q+4>>2]=k[q+4>>2]|2;if(d&4|0)k[q+4>>2]=k[q+4>>2]|1;if(!(o<<24>>24))d=p+141|0;else{g=p+141|0;o=0;while(1){do if(o>>>0<16){d=i[B+32+o>>0]|0;if(!(d<<24>>24)){n=0;break}n=a+33280+((d&255)<<6)|0}else n=0;while(0);f=i[b+g>>0]|0;h=(n|0)!=0;if(h&(f+-1&255)<22){d=g+1|0;ABb(a+59804+(l[B+32+o>>0]<<5)|0,b+d|0,f&255|0)|0}else d=g+1|0;f=d+(f&255)|0;do if(h){j[n+32>>1]=64;j[n+28>>1]=128;k[n>>2]=l[b+f>>0]|l[b+f+1>>0]<<8|l[b+f+2>>0]<<16|l[b+f+3>>0]<<24;k[n+4>>2]=l[b+(f+4)>>0]|l[b+(f+4)+1>>0]<<8|l[b+(f+4)+2>>0]<<16|l[b+(f+4)+3>>0]<<24;k[n+8>>2]=l[b+(f+8)>>0]|l[b+(f+8)+1>>0]<<8|l[b+(f+8)+2>>0]<<16|l[b+(f+8)+3>>0]<<24;k[n+24>>2]=(l[b+(f+15)>>0]|l[b+(f+15)+1>>0]<<8)&65535;i[n+36>>0]=i[b+(f+17)>>0]|0;j[n+30>>1]=(l[b+(f+18)>>0]|0)>>>1&255;d=i[b+(f+19)>>0]|0;i[B+48+(l[B+32+o>>0]|0)>>0]=d;if(d&4){z=n+34|0;j[z>>1]=m[z>>1]|1}if(d&8){z=n+34|0;j[z>>1]=m[z>>1]|2}if(!(d&16))break;z=n+34|0;j[z>>1]=m[z>>1]|4}while(0);o=o+1|0;if(o>>>0>=(l[b+s>>0]|0)>>>0){d=f+20|0;break}else g=f+20|0}}t=t+1|0;if(t>>>0>(k[a+59688>>2]|0)>>>0)break a}r=B;return u|0}while(0);if((d+256|0)>>>0>=c>>>0){a=1;r=B;return a|0}f=i[b+d>>0]|0;if(!(f<<24>>24))d=d+1|0;else{z=mBb((f&255)+1|0)|0;k[a+59796>>2]=z;d=d+1|0;ABb(z|0,b+d|0,f&255|0)|0;i[z+(f&255)>>0]=0}d=d+(f&255)|0;f=b+d|0;g=0;while(1){f=i[f>>0]|0;if((f+-1&255)<19){d=d+1|0;ABb(a+49600+(g*36|0)+16|0,b+d|0,f&255|0)|0}else d=d+1|0;d=d+(f&255)|0;g=g+1|0;if(((f&255|256)+d|0)>>>0>=c>>>0){u=1;w=97;break}if(g>>>0>=32)break;else f=b+d|0}if((w|0)==97){r=B;return u|0}d=(k[b+d>>2]|0)+d|0;if((d+256|0)>>>0>>0)h=0;else{a=1;r=B;return a|0}while(1){f=a+53344+h|0;i[f>>0]=-1;g=d+2|0;if(g>>>0>=c>>>0){u=1;w=97;break}if(h>>>0<((l[b+((A&255)+13)>>0]|l[b+((A&255)+13)+1>>0]<<8)&65535)>>>0){i[f>>0]=i[b+d>>0]|0;d=g}h=h+1|0;if(h>>>0>=256){v=d;break}}if((w|0)==97){r=B;return u|0}c:do if(!((l[b+((A&255)+11)>>0]|l[b+((A&255)+11)+1>>0]<<8)<<16>>16))e=v;else{d=v;z=0;d:while(1){if((d+8|0)>>>0>=c>>>0){u=1;w=97;break}v=k[b+d>>2]|0;w=d+4|0;x=(l[b+w>>0]|0)+1|0;y=d+6|0;f=i[b+y>>0]|0;e:do if(z>>>0<240){if(!(v>>>0<(c-w|0)>>>0&x>>>0>7))break;if((f+-1&255)<31){ABb(B|0,b+(d+7)|0,f&255|0)|0;i[B+(f&255)>>0]=0;pPa(a,z,B)|0}j[a+52864+(z<<1)>>1]=x;d=$Na(x,k[a+59664>>2]|0)|0;u=a+51904+(z<<2)|0;k[u>>2]=d;if(!d){u=1;w=97;break d}if(((f&255)+3|0)>>>0>>0){o=(f&255)+3|0;f=0}else break;while(1){h=ha(k[a+59664>>2]|0,f)|0;g=o+1|0;t=l[b+(o+w)>>0]|0;do if(!(t&64)){n=l[b+(g+w)>>0]|0;if(!(n&127))h=(t&31)+h|0;else{i[d+(((t&31)+h|0)*6|0)>>0]=(n&127)>>>0>1?(n&127)+255&255:-1;h=(t&31)+h|0}g=o+3|0;s=d+(h*6|0)|0;i[d+(h*6|0)+1>>0]=i[b+(y+o)>>0]|0;if(!(n&128))break;o=d+(h*6|0)+2|0;p=d+(h*6|0)+4|0;q=d+(h*6|0)+3|0;n=d+(h*6|0)+5|0;do{d=g+1|0;h=l[b+(g+w)>>0]|0;do if(!(h&64)){g=g+2|0;d=i[b+(d+w)>>0]|0;if((h&63|0)==12){i[o>>0]=1;i[p>>0]=(d&255)>>>1;break}if((h&63)>>>0>=16)break;i[q>>0]=h&63;i[n>>0]=d;aOa(a,s)}else{i[o>>0]=1;i[p>>0]=h&63;g=d}while(0)}while((h&128|0)!=0)}while(0);f=(t>>>7)+f|0;if(!(g>>>0>>0&f>>>0>>0))break e;d=k[u>>2]|0;o=g}}while(0);z=z+1|0;if(z>>>0>=((l[b+((A&255)+11)>>0]|l[b+((A&255)+11)+1>>0]<<8)&65535)>>>0){e=v+w|0;break c}else d=v+w|0}if((w|0)==97){r=B;return u|0}}while(0);d=k[a+59684>>2]|0;if(!d){a=1;r=B;return a|0}else g=1;while(1){f=a+33280+(g<<6)|0;if(k[f>>2]|0){if(e>>>0>=(c+-9|0)>>>0){u=1;w=97;break}d=j[a+33280+(g<<6)+34>>1]&1;if(!(i[B+48+g>>0]&3))d=d<<16>>16?5:0;else d=(d&65535)<<2|17;e=(dOa(a,f,d,b+e|0,c-e|0)|0)+e|0;d=k[a+59684>>2]|0}g=g+1|0;if(g>>>0>d>>>0){u=1;w=97;break}}if((w|0)==97){r=B;return u|0}return 0}function APa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0;if((b|0)==0|c>>>0<1024){a=0;return a|0}if((k[b>>2]|0)!=1096043343){a=0;return a|0}if((k[b+4>>2]|0)!=1196314451){a=0;return a|0}if((k[b+8>>2]|0)!=1146047811){a=0;return a|0}if(i[b+16>>0]|0){a=0;return a|0}if(i[b+18>>0]|0){a=0;return a|0}if(i[b+20>>0]|0){a=0;return a|0}if(i[b+22>>0]|0){a=0;return a|0}if((k[b+12>>2]|0)!=134217728){a=0;return a|0}if((k[b+24>>2]|0)!=1347240275){a=0;return a|0}k[a+59680>>2]=32768;h=(l[b+17>>0]|0)+4+(l[b+19>>0]|0)+(l[b+21>>0]|0)+(l[b+23>>0]|0)|0;k[a+59664>>2]=h>>>0>128?128:h;h=uBb(k[b+28>>2]|0)|0;k[a+59684>>2]=h>>>0>7679?239:h>>>5;a:do if(!(h>>>5)){e=c>>>0<33;d=32}else{e=c>>>0<33;d=32;n=1;while(1){if(e){d=1;break}if(n>>>0<240){e=a+59804+(n<<5)|0;f=b+d|0;g=e+20|0;do{i[e>>0]=i[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));e=a+33280+(n<<6)+34|0;j[e>>1]=0;p=uBb(k[b+(d|20)>>2]&-16777217|0)|0;k[a+33280+(n<<6)>>2]=p;p=m[b+(d|24)>>1]|0;k[a+33280+(n<<6)+4>>2]=p<<8&65280|p>>>8;o=m[b+(d|26)>>1]|0;k[a+33280+(n<<6)+8>>2]=(o<<8&65280|o>>>8)+(p<<8&65280|p>>>8);if(((p<<8&65280|p>>>8)+2|0)>>>0<((o<<8&65280|o>>>8)+(p<<8&65280|p>>>8)|0)>>>0)j[e>>1]=2;j[a+33280+(n<<6)+32>>1]=64;j[a+33280+(n<<6)+30>>1]=l[b+(d|29)>>0]<<2;k[a+33280+(n<<6)+24>>2]=8363}d=d+32|0;n=n+1|0;if(n>>>0>h>>>5>>>0){e=d>>>0>=c>>>0;break a}else e=d>>>0>=c>>>0}return d|0}while(0);if(e){a=1;return a|0}if((k[b+d>>2]|0)==1162170451){k[a+59648>>2]=l[b+(d|9)>>0];d=d+8+(uBb(k[b+(d|4)>>2]|0)|0)|0}if(d>>>0>=c>>>0){a=1;return a|0}if((k[b+d>>2]|0)==1313164371)d=d+8+(uBb(k[b+(d+4)>>2]|0)|0)|0;if(d>>>0>=c>>>0){a=1;return a|0}if((k[b+d>>2]|0)==1313164368){f=l[b+(d+9)>>0]|0;d=d+8+(uBb(k[b+(d+4)>>2]|0)|0)|0}else f=0;if(d>>>0>=c>>>0){a=1;return a|0}if((k[b+d>>2]|0)==1414807888){b:do if(f|0){e=d+10|0;g=0;do{i[a+53344+g>>0]=i[b+(e+g)>>0]|0;g=g+1|0}while((g|0)!=(f|0));if(f>>>0<=1)break;do{f=f+-1|0;e=a+53344+f|0;if(i[e>>0]|0)break b;i[e>>0]=-1}while(f>>>0>1)}while(0);d=d+8+(uBb(k[b+(d+4)>>2]|0)|0)|0}e=d+10|0;c:do if(e>>>0>>0){p=0;d:while(1){if((k[b+d>>2]|0)!=1146045008)break c;f=i[b+(d+9)>>0]|0;f=f<<24>>24?f&255:64;e:do if(p>>>0<240){g=$Na(f,k[a+59664>>2]|0)|0;k[a+51904+(p<<2)>>2]=g;if(!g){d=1;break d}j[a+52864+(p<<1)>>1]=f;o=ha(k[a+59664>>2]|0,f)|0;if(!o)break;else n=0;while(1){h=e;e=e+4|0;if(e>>>0>c>>>0)break e;f=i[b+h>>0]|0;if(f<<24>>24){i[g>>0]=(f&255)+48;i[g+1>>0]=(l[b+(h+1)>>0]|0)+1}q=l[b+(h+2)>>0]|0;f=i[b+(h+3)>>0]|0;h=g+5|0;i[h>>0]=f;f:do switch(q|0){case 31:{if((f&255)<65){i[g+3>>0]=13;break f}if((f&255)<81){i[g+3>>0]=11;i[h>>0]=(f&15)<<24>>24==0?15:f&15;break f}if((f&255)<97){i[g+3>>0]=11;i[h>>0]=((f&255)<<4&255)<<24>>24==0?-16:(f&255)<<4&255;break f}if((f&255)<113){i[g+3>>0]=19;i[h>>0]=(f&15|0)==0?-65:(f&15|176)&255;break f}if((f&255)>=129)break f;i[g+3>>0]=19;i[h>>0]=(f&15|0)==0?-81:(f&15|160)&255;break}case 30:case 17:case 1:{if(!(f<<24>>24))break f;i[g+3>>0]=2;break}case 21:case 13:case 2:{if(!(f<<24>>24))break f;i[g+3>>0]=3;break}case 12:case 11:case 10:{i[g+3>>0]=1;break}case 15:{i[g+3>>0]=19;i[h>>0]=f&15;break}case 25:{i[g+3>>0]=12;break}case 28:{i[g+3>>0]=16;break}default:{}}while(0);n=n+1|0;if(n>>>0>=o>>>0)break e;else g=g+6|0}}while(0);d=d+8+(uBb(k[b+(d+4)>>2]|0)|0)|0;e=d+10|0;if(e>>>0>=c>>>0)break c;else p=p+1|0}return d|0}while(0);if((d+10|0)>>>0>=c>>>0){q=1;return q|0}f=1;while(1){if((k[b+d>>2]|0)!=1146045011){d=1;e=72;break}if(f>>>0<240){e=d+8|0;dOa(a,a+33280+(f<<6)|0,0,b+e|0,c+-8-d|0)|0}else e=d+8|0;d=e+(uBb(k[b+(d+4)>>2]|0)|0)|0;if((d+10|0)>>>0>=c>>>0){d=1;e=72;break}else f=f+1|0}if((e|0)==72)return d|0;return 0}function BPa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0;w=r;r=r+608|0;if((b|0)==0|c>>>0<608){a=0;r=w;return a|0}ABb(w|0,b|0,608)|0;a:do if((l[w+44>>0]|l[w+44+1>>0]<<8|l[w+44+2>>0]<<16|l[w+44+3>>0]<<24|0)==1179472976){f=l[w+38>>0]|l[w+38+1>>0]<<8;if((f+-1&65535)>31)d=0;else{d=l[w+32>>0]|l[w+32+1>>0]<<8;if((d+-1&65535)>255)d=0;else{e=l[w+34>>0]|l[w+34+1>>0]<<8;if(!(e<<16>>16))d=0;else if((e&65535)>255)d=0;else{v=l[w+36>>0]|l[w+36+1>>0]<<8;if((v+-1&65535)>127)d=0;else if((((e&65535)*80|0)+608|0)<(c|0)){g=a+59804|0;h=w;n=g+28|0;do{i[g>>0]=i[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(n|0));i[a+59832>>0]=0;k[a+59680>>2]=262144;k[a+59664>>2]=f&65535;k[a+59684>>2]=(e&65535)>>>0>239?239:e&65535;ABb(a+53344|0,w+96|0,((d&65535)>>>0>255?255:d&65535)|0)|0;if(k[a+59664>>2]|0){d=0;do{k[a+49600+(d*36|0)+4>>2]=64;k[a+49600+(d*36|0)>>2]=(l[w+64+d>>0]|0)<<4&240|4;d=d+1|0}while(d>>>0<(k[a+59664>>2]|0)>>>0)}if(k[a+59684>>2]|0){t=608;u=0;while(1){u=u+1|0;s=a+33280+(u<<6)|0;d=b+t|0;dpb(a+59804+(u<<5)|0,b+(t+50)|0,28)|0;g=a+33280+(u<<6)+42|0;h=b+(t|1)|0;n=g+12|0;do{i[g>>0]=i[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(n|0));i[a+33280+(u<<6)+54>>0]=0;j[a+33280+(u<<6)+32>>1]=64;j[a+33280+(u<<6)+28>>1]=128;j[a+33280+(u<<6)+30>>1]=(l[b+(t|13)>>0]|0)<<2;p=b+(t|14)|0;k[a+33280+(u<<6)+24>>2]=((l[p>>0]|l[p+1>>0]<<8)&65535)<<1;p=a+33280+(u<<6)+34|0;j[p>>1]=0;f=i[d>>0]|0;if((f&3)==1){d=(m[b+(t+24)>>1]|0)<<16|(m[b+(t+22)>>1]|0);k[s>>2]=d;g=(m[b+(t+28)>>1]|0)<<16|(m[b+(t+26)>>1]|0);h=a+33280+(u<<6)+4|0;k[h>>2]=g;n=(m[b+(t+32)>>1]|0)<<16|(m[b+(t+30)>>1]|0);o=a+33280+(u<<6)+8|0;k[o>>2]=n;q=(m[b+(t+20)>>1]|0)<<16|(m[b+(t+18)>>1]|0);if(!(f&4))e=0;else{j[p>>1]=2;e=2}if(f&8){e=(e&65535|4)&65535;j[p>>1]=e}if(!(f&16))e=2;else{j[p>>1]=e&65535|1;k[s>>2]=d>>>1;k[h>>2]=g>>>1;k[o>>2]=n>>>1;d=d>>>1;e=37}if(q>>>0>>0&((q|0)!=0&(d|0)!=0))dOa(a,s,e,b+q|0,c-q|0)|0}if(u>>>0>=(k[a+59684>>2]|0)>>>0)break;else t=t+80|0}}if(!(v<<16>>16))d=1;else{p=0;while(1){d=w+352+(p<<1)|0;d=l[d>>0]|l[d+1>>0]<<8;b:do if(d<<16>>16!=0&(d&65535)<<4>>>0>>0){j[a+52864+(p<<1)>>1]=64;e=$Na(64,k[a+59664>>2]|0)|0;k[a+51904+(p<<2)>>2]=e;if(!e){d=1;break a}else{d=(d&65535)<<4;f=0}while(1){while(1){h=d+1|0;o=i[b+d>>0]|0;if(h>>>0>=c>>>0)break b;if(!(o<<24>>24))break;if(!(o&32))g=h;else{g=d+3|0;if(g>>>0>c>>>0)break b;i[e+((o&31)*6|0)>>0]=i[b+h>>0]|0;i[e+((o&31)*6|0)+1>>0]=i[b+(d+2)>>0]|0}c:do if(!(o&64))d=g;else{d=g+2|0;if(d>>>0>c>>>0)break b;h=i[b+g>>0]|0;n=e+((o&31)*6|0)+3|0;i[n>>0]=h;u=i[b+(g+1)>>0]|0;i[e+((o&31)*6|0)+5>>0]=u;if(h<<24>>24==14&(u&-16)<<24>>24==-128){i[n>>0]=20;break}if((h&255)<16){aOa(a,e+((o&31)*6|0)|0);break}switch(h&255|0){case 16:{i[n>>0]=23;break c}case 17:{i[n>>0]=15;break c}case 18:{i[n>>0]=26;break c}default:{i[n>>0]=0;break c}}}while(0);if(o&128){if(d>>>0>=c>>>0)break b;i[e+((o&31)*6|0)+2>>0]=1;i[e+((o&31)*6|0)+4>>0]=i[b+d>>0]|0;d=d+1|0}if(d>>>0>=c>>>0)break b}f=f+1|0;if(f>>>0<64&h>>>0>>0){d=h;e=e+((k[a+59664>>2]|0)*6|0)|0}else break}}while(0);p=p+1|0;if(p>>>0>=(v&65535)>>>0){d=1;break}}}}else d=0}}}}else d=0;while(0);a=d;r=w;return a|0}function CPa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;if((b|0)==0|c>>>0<256){a=0;return a|0}if(Dmb(b,527157,14)|0){a=0;return a|0}k[a+59680>>2]=128;k[a+59648>>2]=6;k[a+59652>>2]=125;h=a+59804|0;n=b+15|0;o=h+31|0;do{i[h>>0]=i[n>>0]|0;h=h+1|0;n=n+1|0}while((h|0)<(o|0));i[a+59835>>0]=0;f=i[b+47>>0]|0;if(!(f<<24>>24))e=48;else if((((f&255)<<5)+48|0)>>>0>>0){d=mBb(((f&255)<<5|1)+(f&255)|0)|0;k[a+59796>>2]=d;g=0;do{e=g*33|0;h=d+e|0;n=b+((g<<5)+48)|0;o=h+32|0;do{i[h>>0]=i[n>>0]|0;h=h+1|0;n=n+1|0}while((h|0)<(o|0));i[(k[a+59796>>2]|0)+(e+32)>>0]=13;g=g+1|0;d=k[a+59796>>2]|0}while(g>>>0<(l[b+47>>0]|0)>>>0);i[d+((f&255)<<5)>>0]=0;e=((f&255)<<5)+48|0}else e=48;if(e>>>0>=c>>>0){a=1;return a|0}d=e+1|0;q=i[b+e>>0]|0;f=(q&255)>239?239:q&255;k[a+59684>>2]=f;r=(i[b+14>>0]|0)>51?66:64;if((e+259+(ha(r,q&255)|0)|0)>>>0>c>>>0){a=1;return a|0}if(q<<24>>24){p=e+(ha(r,((q&255)+1|0)>>>0>2?q&255:1)|0)|0;e=1;while(1){if(e>>>0<=f>>>0){h=a+59804+(e<<5)|0;n=b+d|0;o=h+32|0;do{i[h>>0]=i[n>>0]|0;h=h+1|0;n=n+1|0}while((h|0)<(o|0));i[a+59804+(e<<5)+31>>0]=0;h=a+33280+(e<<6)+42|0;n=b+(d+32)|0;o=h+12|0;do{i[h>>0]=i[n>>0]|0;h=h+1|0;n=n+1|0}while((h|0)<(o|0));g=b+(d+44)|0;g=l[g>>0]|l[g+1>>0]<<8|l[g+2>>0]<<16|l[g+3>>0]<<24;h=a+33280+(e<<6)+4|0;k[h>>2]=g;n=b+(d+48)|0;n=l[n>>0]|l[n+1>>0]<<8|l[n+2>>0]<<16|l[n+3>>0]<<24;o=a+33280+(e<<6)+8|0;k[o>>2]=n;C=b+(d+56)|0;f=b+(d+52)|0;k[a+33280+(e<<6)>>2]=(l[C>>0]|l[C+1>>0]<<8|l[C+2>>0]<<16|l[C+3>>0]<<24)-(l[f>>0]|l[f+1>>0]<<8|l[f+2>>0]<<16|l[f+3>>0]<<24);j[a+33280+(e<<6)+30>>1]=l[b+(d+60)>>0]|0;j[a+33280+(e<<6)+32>>1]=64;f=a+33280+(e<<6)+24|0;k[f>>2]=8363;if((i[b+14>>0]|0)>51){C=b+(d+62)|0;k[f>>2]=(l[C>>0]|l[C+1>>0]<<8)&65535}f=i[b+(d+61)>>0]|0;if(f&8){C=a+33280+(e<<6)+34|0;j[C>>1]=m[C>>1]|2}if(f&16){C=a+33280+(e<<6)+34|0;j[C>>1]=m[C>>1]|4}if(f&4){C=a+33280+(e<<6)+34|0;j[C>>1]=m[C>>1]|1;k[h>>2]=g>>>1;k[o>>2]=n>>>1}}e=e+1|0;if(e>>>0>(q&255)>>>0)break;f=k[a+59684>>2]|0;d=d+r|0}d=p+1|0}ABb(a+53344|0,b+d|0,256)|0;f=(l[b+(d+256)>>0]|0)+1|0;k[a+59664>>2]=f;C=(l[b+(d+257)>>0]|0)+1|0;e=d+258|0;k[a+59664>>2]=f>>>0>32?32:f;f=0;do{k[a+49600+(f*36|0)+4>>2]=64;k[a+49600+(f*36|0)>>2]=f<<7&128^192;f=f+1|0;d=k[a+59664>>2]|0}while(f>>>0>>0);if((i[b+14>>0]|0)>50){if((d+e|0)>>>0>c>>>0){a=1;return a|0}if(d){f=0;while(1){d=e+1|0;B=l[b+e>>0]<<4|8;k[a+49600+(f*36|0)>>2]=B>>>0>256?256:B;f=f+1|0;if(f>>>0>=(k[a+59664>>2]|0)>>>0){e=d;break}else e=d}}}d=0;do{if(d>>>0<240){j[a+52864+(d<<1)>>1]=64;B=$Na(64,k[a+59664>>2]|0)|0;k[a+51904+(d<<2)>>2]=B}d=d+1|0}while((d|0)!=(C|0));d=k[a+59664>>2]|0;a:do if(d){f=0;b:while(1){B=0;do{if(B>>>0<240){v=k[a+51904+(B<<2)>>2]|0;v=(v|0)==0?0:v+(f*6|0)|0;o=0}else{v=0;o=0}while(1){if((e+6|0)>>>0>c>>>0){d=1;break b}h=e+1|0;g=i[b+e>>0]|0;if(g<<24>>24==-4){n=e+3|0;r=l[b+(e+2)>>0]|0;q=l[b+h>>0]|0}else{n=h;r=g&255;q=1}A=i[b+n>>0]|0;h=l[b+(n+1)>>0]|0;g=l[b+(n+2)>>0]|0;e=n+4|0;n=l[b+(n+3)>>0]|0;switch(h&15|0){case 12:{p=12;g=g>>>2;break}case 11:{p=0;g=0;break}default:p=h&15}switch(h>>>4|0){case 12:{h=12;n=n>>>2;break}case 11:{h=0;n=0;break}default:h=h>>>4}c:do if(o>>>0<64&(q|0)!=0){s=(p|g|0)==0;y=(h|0)==12;z=n&255;x=(h|n|0)==0;w=h&255;u=(p|0)==12;t=g&255;n=p&255;p=r+36&255;q=0-q|0;g=o+-64|0;g=o-(g>>>0>>0?q:g)|0;if(!r){h=v;while(1){if(!h)h=0;else{i[h+1>>0]=A;do if(!s)if(u){i[h+2>>0]=1;i[h+4>>0]=t;break}else{i[h+3>>0]=n;i[h+5>>0]=t;aOa(a,h);break}while(0);do if(y){i[h+2>>0]=1;i[h+4>>0]=z}else{if(x)break;d=h+3|0;if(i[d>>0]|0)break;i[d>>0]=w;i[h+5>>0]=z;aOa(a,h)}while(0);v=k[a+59664>>2]|0;d=v;h=h+(v*6|0)|0}o=o+1|0;if((o|0)==(g|0))break c}}if(s){h=v;while(1){if(!h)h=0;else{i[h+1>>0]=A;i[h>>0]=p;do if(y){i[h+2>>0]=1;i[h+4>>0]=z;n=d}else{if(x){n=d;break}n=h+3|0;if(i[n>>0]|0){n=d;break}i[n>>0]=w;i[h+5>>0]=z;aOa(a,h);n=k[a+59664>>2]|0}while(0);d=n;h=h+(n*6|0)|0}o=o+1|0;if((o|0)==(g|0))break c}}else h=v;do{if(!h)h=0;else{i[h+1>>0]=A;i[h>>0]=p;if(u){i[h+2>>0]=1;i[h+4>>0]=t}else{i[h+3>>0]=n;i[h+5>>0]=t;aOa(a,h)}do if(y){i[h+2>>0]=1;i[h+4>>0]=z}else{if(x)break;d=h+3|0;if(i[d>>0]|0)break;i[d>>0]=w;i[h+5>>0]=z;aOa(a,h)}while(0);v=k[a+59664>>2]|0;d=v;h=h+(v*6|0)|0}o=o+1|0}while((o|0)!=(g|0))}else{h=v;g=o}while(0);if(g>>>0<64){v=h;o=g}else break}B=B+1|0}while(B>>>0>>0);f=f+1|0;if(f>>>0>=d>>>0)break a}return d|0}while(0);d=k[a+59684>>2]|0;if(!d){a=1;return a|0}else g=1;while(1){f=a+33280+(g<<6)|0;if(k[f>>2]|0){if(e>>>0>=c>>>0){d=1;e=89;break}e=(dOa(a,f,j[a+33280+(g<<6)+34>>1]&1?5:0,b+e|0,c-e|0)|0)+e|0;d=k[a+59684>>2]|0}g=g+1|0;if(g>>>0>d>>>0){d=1;e=89;break}}if((e|0)==89)return d|0;return 0}function DPa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;L=r;r=r+272|0;if((b|0)==0|c>>>0<1024){a=0;r=L;return a|0}if((l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24|0)!=1179468868){a=0;r=L;return a|0}if(((i[b+4>>0]|0)+-1&255)>14){a=0;r=L;return a|0}e=a+59804|0;d=b+13|0;g=e+30|0;do{i[e>>0]=i[d>>0]|0;e=e+1|0;d=d+1|0}while((e|0)<(g|0));i[a+59834>>0]=0;k[a+59680>>2]=131072;k[a+59664>>2]=0;if(c>>>0>73){d=b+66|0;e=66;a:while(1){d=k[d>>2]|0;b:while(1){if((d|0)<1229999443){K=146;break}if((d|0)<1414807888){K=150;break}if((d|0)>=1431389523){K=157;break}switch(d|0){case 1414807888:break;default:{K=139;break b}}if(!(k[a+59664>>2]|0)){K=30;break}}c:do if((K|0)==30){K=0;f=e+11|0;I=b+(e+4)|0;d=l[I>>0]|l[I+1>>0]<<8|l[I+2>>0]<<16|l[I+3>>0]<<24;if(d>>>0>=c>>>0)break a;J=e+8|0;if((J+d|0)>>>0>c>>>0)break a;H=(l[b+J>>0]|l[b+J+1>>0]<<8)&65535;H=H>>>0>240?240:H;d=i[b+(e+10)>>0]|0;k[a+59664>>2]=d&255;e=i[b+f>>0]|0;if((d&255)<(e&255)){k[a+59664>>2]=e&255;d=e&255}else d=d&255;if(d>>>0>32)k[a+59664>>2]=32;else if(d>>>0<4)k[a+59664>>2]=4;d:do if(H|0){G=0;do{F=l[b+f>>0]|0;F=F>>>0>32?32:F;E=b+(f+2)|0;E=(l[E>>0]|l[E+1>>0]<<8)&65535;E=E>>>0>256?256:E;E=E>>>0<16?16:E;h=f+8|0;e=b+(f+4)|0;d=l[e>>0]|l[e+1>>0]<<8|l[e+2>>0]<<16|l[e+3>>0]<<24;if(d>>>0>=c>>>0)break d;if((f+12+d|0)>>>0>=c>>>0)break d;j[a+52864+(G<<1)>>1]=E;D=$Na(E,k[a+59664>>2]|0)|0;if(!D)break a;k[a+51904+(G<<2)>>2]=D;d=f;f=(l[e>>0]|l[e+1>>0]<<8|l[e+2>>0]<<16|l[e+3>>0]<<24)+h|0;d=i[b+(d+1)>>0]|0;e=L;g=e+32|0;do{i[e>>0]=0;e=e+1|0}while((e|0)<(g|0));if(E|0){e=0;m=(d&240|0)==0?8:(d&255)>>>4;C=0;n=125;o=(d&255)>15;p=1;while(1){B=ha(k[a+59664>>2]|0,C)|0;e:do if(!e){d=h+1|0;g=l[b+h>>0]|0;if(d>>>0>>0&(g&128|0)!=0){e=h+2|0;d=l[b+d>>0]|0}else{e=d;d=0}if((g&127|0)!=0&e>>>0>>0){h=e+1|0;e=i[b+e>>0]|0}else{h=e;e=0}switch(g&127|0){case 1:{z=d;A=m;y=e&255;o=1;p=0;break e}case 2:{z=d;A=m;y=e&255;o=1;p=1;break e}case 3:{z=d;A=(e&255)>>>4;y=n;o=(p|0)!=0;break e}default:{z=d;A=m;y=n;break e}}}else{z=e+-1|0;A=m;y=n}while(0);f:do if(F){x=0;do{e=L+x|0;d=i[e>>0]|0;if(!(d<<24>>24)){d=h+1|0;v=l[b+h>>0]|0;if(v&128){i[e>>0]=i[b+d>>0]|0;d=h+2|0}if(!(v&64))w=0;else{w=i[b+d>>0]|0;d=d+1|0}do if(!(v&32))h=0;else{e=d+1|0;d=i[b+d>>0]|0;if((d+2&255)<3){h=d;d=e;break}if(!(d&127)){h=0;d=e;break}h=(d&127)+24&255;d=e}while(0);if(!(v&16)){t=0;u=0}else{t=1;u=((l[b+d>>0]|0)+3|0)>>>2&255;d=d+1|0}g:do if(!(v&8)){m=0;e=0}else{g=d+2|0;e=i[b+(d+1)>>0]|0;switch(l[b+d>>0]|0){case 1:{h=h<<24>>24==0?-2:h;m=0;e=0;d=g;break g}case 4:{if(!(e&224)){m=0;e=0;d=g;break g}m=20;e=((e&255)>>>5|208)&255;d=g;break g}case 5:{m=(e&255)<32?0:15;e=(e&255)<32?0:(e&255)>>>5;d=g;break g}case 6:{m=10;d=g;break g}default:{m=0;e=0;d=g;break g}}}while(0);h:do if(!(v&4)){s=h;q=e}else{n=d+2|0;g=i[b+(d+1)>>0]|0;switch(l[b+d>>0]|0){case 1:{if(!(g&240)){s=h;q=e;d=n;break h}s=h;m=20;q=((g&255)>>>4|32)&255;d=n;break h}case 2:{if(!(g&224)){s=h;q=e;d=n;break h}s=h;m=20;q=((g&255)>>>5|208)&255;d=n;break h}case 3:{s=h;m=g<<24>>24==0?m:1;q=g<<24>>24==0?e:g;d=n;break h}case 4:{s=h;m=2;q=(g&255)>223?-33:g;d=n;break h}case 5:{s=h;m=3;q=(g&255)>223?-33:g;d=n;break h}case 6:{s=h;m=4;q=g;d=n;break h}case 8:{s=h;m=5;q=g;d=n;break h}case 12:if(!(g&224)){s=h<<24>>24==0?-2:h;q=e;d=n;break h}else{s=h;m=20;q=((g&255)>>>5|192)&255;d=n;break h}default:{s=h;q=e;d=n;break h}}}while(0);i:do if(!(v&2)){n=t;g=u;e=q;h=d}else{h=d+2|0;e=i[b+(d+1)>>0]|0;switch(l[b+d>>0]|0){case 1:{if(e<<24>>24==-1){n=t;g=u;e=q;break i}n=t;m=11;g=u;e=((e&255)+3|0)>>>0>63?-16:((e&255)+3|0)>>>2<<4&255;break i}case 2:{if(e<<24>>24==-1){n=t;g=u;e=q;break i}n=t;m=11;g=u;e=((e&255)+3|0)>>>0>63?15:((e&255)+3|0)>>>2&255;break i}case 7:{if(t<<24>>24){n=t;m=9;g=u;break i}n=2;g=((e&255)+3|0)>>>2&255;e=q;break i}case 8:{n=t;m=29;g=u;e=((e&255)+3|0)>>>0>63?-16:((e&255)+3|0)>>>2<<4&255;break i}case 9:{n=t;m=29;g=u;e=((e&255)+3|0)>>>0>63?15:((e&255)+3|0)>>>2&255;break i}default:{n=t;g=u;e=q;break i}}}while(0);if(x>>>0<(k[a+59664>>2]|0)>>>0){v=x+B|0;i[D+(v*6|0)>>0]=s;i[D+(v*6|0)+1>>0]=w;i[D+(v*6|0)+2>>0]=n;i[D+(v*6|0)+3>>0]=m;i[D+(v*6|0)+4>>0]=g;i[D+(v*6|0)+5>>0]=e}if(h>>>0>f>>>0)break f}else i[e>>0]=d+-1<<24>>24;x=x+1|0}while(x>>>0>>0)}while(0);j:do if(o){d=ha(A,y)|0;d=(A|0)!=0&(p|0)!=0?d:(y*15|0)+15|0;g=30;do{e=ha(g,d)|0;if(e>>>0<4824)break;if(g>>>0<6&e>>>0<6144)break;g=g+-1|0}while(g>>>0>1);m=k[a+59664>>2]|0;if(!m)break;n=0;e=(e>>>0)/24|0;while(1){d=n+B|0;do if(!(i[D+(d*6|0)+3>>0]|0)){if(g|0){i[D+(d*6|0)+3>>0]=16;i[D+(d*6|0)+5>>0]=g;d=e;g=0;break}if((e+-32|0)>>>0>=224)break j;i[D+(d*6|0)+3>>0]=17;i[D+(d*6|0)+5>>0]=e;d=0;g=0}else d=e;while(0);n=n+1|0;if(n>>>0>=m>>>0)break;else e=d}}while(0);C=C+1|0;if(!(h>>>0>>0&C>>>0>>0))break;else{e=z;m=A;n=y;o=0}}}G=G+1|0}while((f+8|0)>>>0>>0&G>>>0>>0)}while(0);e=J+(l[I>>0]|l[I+1>>0]<<8|l[I+2>>0]<<16|l[I+3>>0]<<24)|0}else if((K|0)==146){K=0;if((d|0)>=1162104389){if((d|0)<1196641603)switch(d|0){case 1162104389:break a;default:{K=139;break c}}switch(d|0){case 1196641603:break;default:{K=139;break c}}h=e+1|0;K=9;break}switch(d|0){case 1146113363:break;default:{K=139;break c}}e=e+8|0;d=k[a+59684>>2]|0;if(d){g=1;h=0;while(1){h=h+1|0;f=e+4|0;if(f>>>0>=c>>>0)break c;e=k[b+e>>2]|0;e=e>>>0>(c-f|0)>>>0?c-f|0:e;if(e){d=j[a+33280+(g<<6)+34>>1]&1;if(!(i[L+32+h>>0]&4))d=d<<16>>16?5:0;else d=(d&65535)<<2|19;dOa(a,a+33280+(g<<6)|0,d,b+f|0,e)|0;d=k[a+59684>>2]|0}g=g+1|0;if(g>>>0>d>>>0){e=e+f|0;break}else e=e+f|0}}}else if((K|0)==150){K=0;if((d|0)>=1330007625)switch(d|0){case 1330007625:{h=e;K=9;break c}default:{K=139;break c}}switch(d|0){case 1229999443:break;default:{K=139;break c}}o=b+(e+4)|0;d=l[o>>0]|l[o+1>>0]<<8|l[o+2>>0]<<16|l[o+3>>0]<<24;p=e+8|0;k:do if(d>>>0<=(c-e|0)>>>0){J=i[b+p>>0]|0;J=(J&255)>239?239:J&255;k[a+59684>>2]=J;if(J){g=e+9|0;f=i[b+g>>0]|0;i[L+32+1>>0]=0;if((e+26+(f&255)|0)>>>0<=(p+d|0)>>>0){h=f;f=f&255;n=L+32+1|0;e=g;m=1;while(1){if(!(h<<24>>24))d=e+1|0;else{J=f>>>0>31?31:f;d=e+1|0;ABb(a+59804+(m<<5)|0,b+d|0,J|0)|0;i[a+59804+(m<<5)+J>>0]=0}d=d+f|0;e=l[b+d>>0]|l[b+d+1>>0]<<8|l[b+d+2>>0]<<16|l[b+d+3>>0]<<24;f=a+33280+(m<<6)|0;k[f>>2]=e;k[a+33280+(m<<6)+4>>2]=l[b+(d+4)>>0]|l[b+(d+4)+1>>0]<<8|l[b+(d+4)+2>>0]<<16|l[b+(d+4)+3>>0]<<24;k[a+33280+(m<<6)+8>>2]=l[b+(d+8)>>0]|l[b+(d+8)+1>>0]<<8|l[b+(d+8)+2>>0]<<16|l[b+(d+8)+3>>0]<<24;k[a+33280+(m<<6)+24>>2]=(l[b+(d+12)>>0]|l[b+(d+12)+1>>0]<<8)&65535;j[a+33280+(m<<6)+32>>1]=64;g=i[b+(d+14)>>0]|0;j[a+33280+(m<<6)+30>>1]=g<<24>>24==0?256:(g&255)+1&65535;g=i[b+(d+15)>>0]|0;h=a+33280+(m<<6)+34|0;j[h>>1]=(g&255)>>>1&1;if((g&255)>>>1&1)k[f>>2]=e>>>1;if(g&1)j[h>>1]=(g&255)>>>1&1|2;i[n>>0]=g;m=m+1|0;if(m>>>0>(k[a+59684>>2]|0)>>>0)break;e=((l[b+4>>0]|0)<8?22:30)+d|0;d=l[o>>0]|l[o+1>>0]<<8|l[o+2>>0]<<16|l[o+3>>0]<<24;h=i[b+e>>0]|0;f=h&255;n=L+32+m|0;i[n>>0]=0;if((e+17+f|0)>>>0>(p+d|0)>>>0)break k}d=l[o>>0]|l[o+1>>0]<<8|l[o+2>>0]<<16|l[o+3>>0]<<24}}}while(0);e=p+d|0}else if((K|0)==157){K=0;switch(d|0){case 1431389523:break;default:{K=139;break c}}h=b+(e+4)|0;d=l[h>>0]|l[h+1>>0]<<8|l[h+2>>0]<<16|l[h+3>>0]<<24;if(d>>>0>=c>>>0)break a;m=e+12|0;if((m+d|0)>>>0>c>>>0)break a;f=d>>>0>509?255:d>>>1;g=e+8|0;e=(l[b+g>>0]|l[b+g+1>>0]<<8)&65535;if(e>>>0>>0)k[a+59736>>2]=e;if(f){d=0;do{J=b+m+(d<<1)|0;i[a+53344+d>>0]=l[J>>0]|l[J+1>>0]<<8;d=d+1|0}while((d|0)!=(f|0));d=l[h>>0]|l[h+1>>0]<<8|l[h+2>>0]<<16|l[h+3>>0]<<24}e=g+d|0}while(0);if((K|0)==9){f=b+(e+4)|0;d=l[f>>0]|l[f+1>>0]<<8|l[f+2>>0]<<16|l[f+3>>0]<<24;if(d>>>0>c>>>0)break;g=h+8|0;if((g+d|0)>>>0>c>>>0)break;if(d>>>0>7)if(!(k[a+59796>>2]|0)){e=mBb(d)|0;k[a+59796>>2]=e;e=0;do{if(((e>>>0)%40|0|0)==39)i[(k[a+59796>>2]|0)+e>>0]=13;else{K=i[b+(g+e)>>0]|0;i[(k[a+59796>>2]|0)+e>>0]=K<<24>>24<32?32:K}e=e+1|0;d=(l[f>>0]|l[f+1>>0]<<8|l[f+2>>0]<<16|l[f+3>>0]<<24)+-1|0}while(e>>>0>>0);i[(k[a+59796>>2]|0)+d>>0]=0;d=l[f>>0]|l[f+1>>0]<<8|l[f+2>>0]<<16|l[f+3>>0]<<24}e=h+7+d|0}else if((K|0)==139)e=e+4|0;if((e+7|0)>>>0>>0)d=b+e|0;else break}if(k[a+59664>>2]|0){a=1;r=L;return a|0}}if(!(k[a+59684>>2]|0)){k[a+59680>>2]=0;a=0;r=L;return a|0}else{k[a+59664>>2]=4;a=1;r=L;return a|0}return 0}function EPa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0,p=0,q=0;if((b|0)==0|c>>>0<1024){a=0;return a|0}if((l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24|0)!=1179011410){a=0;return a|0}q=l[b+4>>0]|l[b+4+1>>0]<<8|l[b+4+2>>0]<<16|l[b+4+3>>0]<<24;if(q>>>0<1024|(q+8|0)>>>0>c>>>0){a=0;return a|0}if((l[b+8>>0]|l[b+8+1>>0]<<8|l[b+8+2>>0]<<16|l[b+8+3>>0]<<24|0)!=1179472708){a=0;return a|0}if((l[b+12>>0]|l[b+12+1>>0]<<8|l[b+12+2>>0]<<16|l[b+12+3>>0]<<24|0)!=1196314451){a=0;return a|0}g=l[b+16>>0]|l[b+16+1>>0]<<8|l[b+16+2>>0]<<16|l[b+16+3>>0]<<24;if(g>>>0>c>>>0){a=0;return a|0}k[a+59680>>2]=8192;e=l[b+62>>0]|l[b+62+1>>0]<<8;e=(e&65535)<4?4:e&65535;k[a+59664>>2]=e>>>0>16?16:e;e=l[b+58>>0]|l[b+58+1>>0]<<8;k[a+59684>>2]=(e&65535)>239?239:e&65535;k[a+59648>>2]=l[b+66>>0];k[a+59652>>2]=l[b+67>>0];e=i[b+64>>0]|0;k[a+59656>>2]=e<<24>>24==0|(e&255)<<2>>>0>256?256:(e&255)<<2;k[a+59748>>2]=(l[b+65>>0]|0)&127;e=0;do{if(e>>>0<((l[b+56>>0]|l[b+56+1>>0]<<8)&65535)>>>0)d=l[b+(e+84)>>0]|0;else d=255;i[a+53344+e>>0]=d;e=e+1|0}while((e|0)!=256);f=0;do{d=a+49600+(f*36|0)|0;k[d>>2]=128;e=i[b+(f+68)>>0]|0;if((e&255)<129)k[d>>2]=(e&255)<<1;f=f+1|0}while((f|0)!=16);h=a+59804|0;m=b+20|0;n=h+28|0;do{i[h>>0]=i[m>>0]|0;h=h+1|0;m=m+1|0}while((h|0)<(n|0));if((g+20|0)>>>0<(c+-8|0)>>>0){d=g+20|0;e=0;q=1}else{a=1;return a|0}a:while(1){while(1){f=b+d|0;f=l[f>>0]|l[f+1>>0]<<8|l[f+2>>0]<<16|l[f+3>>0]<<24;if((f|0)!=1414807888)break;g=d+8|0;p=b+(d+4)|0;f=d;d=(l[p>>0]|l[p+1>>0]<<8|l[p+2>>0]<<16|l[p+3>>0]<<24)+g|0;if(d>>>0>=c>>>0){d=1;e=48;break a}h=$Na(64,k[a+59664>>2]|0)|0;if(!h){d=1;e=48;break a}j[a+52864+(e<<1)>>1]=64;k[a+51904+(e<<2)>>2]=h;b:do if((f+10|0)>>>0<=d>>>0){f=f+10|0;m=0;while(1){n=f;f=g;while(1){g=f+1|0;o=i[b+f>>0]|0;if(!(o<<24>>24))break;p=((o&15)>>>0)%((k[a+59664>>2]|0)>>>0)|0;if(o&128){f=i[b+g>>0]|0;if(!(f<<24>>24))g=n;else{i[h+(p*6|0)>>0]=(f&255)<109?(f&255)+12|0:f&255;g=n}}if(o&64){i[h+(p*6|0)+1>>0]=i[b+g>>0]|0;g=g+1|0}if(o&32){i[h+(p*6|0)+2>>0]=1;i[h+(p*6|0)+4>>0]=i[b+g>>0]|0;g=g+1|0}do if(o&16){n=l[b+g>>0]|0;o=g+2|0;f=l[b+(g+1)>>0]|0;c:do switch(n|0){case 8:switch(f&240|0){case 0:{g=8;f=f<<4;break c}case 16:{g=10;f=f<<4&240;break c}case 32:{g=14;f=f&15|160;break c}case 48:{g=14;f=f&15|16;break c}case 64:{g=14;f=f&15|32;break c}default:{g=0;break c}}case 18:case 17:{g=n&15;break}case 19:{g=33;f=145;break}default:g=(n&240|0)==32?9:0}while(0);i[h+(p*6|0)+3>>0]=g;i[h+(p*6|0)+5>>0]=f;if(!g){g=o;break}aOa(a,h+(p*6|0)|0);g=o}while(0);n=g+2|0;if(n>>>0>d>>>0)break b;else f=g}m=m+1|0;if((f+3|0)>>>0>d>>>0|m>>>0>63)break;else{f=f+3|0;h=h+((k[a+59664>>2]|0)*6|0)|0}}}while(0);if(d>>>0>=(c+-8|0)>>>0){d=1;e=48;break a}else e=e+1|0}if(!((f|0)==1414745673?q>>>0<=(k[a+59684>>2]|0)>>>0:0)){d=1;e=48;break}f=l[b+(d+4)>>0]|l[b+(d+4)+1>>0]<<8|l[b+(d+4)+2>>0]<<16|l[b+(d+4)+3>>0]<<24;if((f+d|0)>>>0>=(c+-8|0)>>>0){d=1;e=48;break}h=a+59804+(q<<5)|0;m=b+(d+44)|0;n=h+28|0;do{i[h>>0]=i[m>>0]|0;h=h+1|0;m=m+1|0}while((h|0)<(n|0));g=a+33280+(q<<6)|0;h=a+33280+(q<<6)+42|0;m=b+(d+8)|0;n=h+13|0;do{i[h>>0]=i[m>>0]|0;h=h+1|0;m=m+1|0}while((h|0)<(n|0));j[a+33280+(q<<6)+32>>1]=64;k[a+33280+(q<<6)+24>>2]=(l[b+(d+40)>>0]|l[b+(d+40)+1>>0]<<8)&65535;p=i[b+(d+21)>>0]|0;j[a+33280+(q<<6)+34>>1]=(p&1)<<1;k[g>>2]=l[b+(d+24)>>0]|l[b+(d+24)+1>>0]<<8|l[b+(d+24)+2>>0]<<16|l[b+(d+24)+3>>0]<<24;k[a+33280+(q<<6)+4>>2]=l[b+(d+28)>>0]|l[b+(d+28)+1>>0]<<8|l[b+(d+28)+2>>0]<<16|l[b+(d+28)+3>>0]<<24;k[a+33280+(q<<6)+8>>2]=l[b+(d+32)>>0]|l[b+(d+32)+1>>0]<<8|l[b+(d+32)+2>>0]<<16|l[b+(d+32)+3>>0]<<24;o=(l[b+(d+23)>>0]|0)<<2;j[a+33280+(q<<6)+30>>1]=o>>>0>256?256:o&65535;dOa(a,g,((p&255)>>>1&1^1)&255,b+(d+72)|0,c-(d+72)|0)|0;if((d+8+f|0)>>>0<(c+-8|0)>>>0){d=d+8+f|0;q=q+1|0}else{d=1;e=48;break}}if((e|0)==48)return d|0;return 0}function FPa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;if((b|0)==0|c>>>0<2048){a=0;return a|0}if((k[b+32>>2]|0)>>>0>=c>>>0){a=0;return a|0}f=k[b+24>>2]|0;if(f>>>0>(c+-16|0)>>>0|f>>>0<(c+-512|0)>>>0){a=0;return a|0}else d=64;a:while(1){f=b+d|0;e=k[f>>2]|0;if((e|0)<1297236819)switch(e|0){case 1297108297:{e=5;break a}default:{}}else switch(e|0){case 1297236819:{e=6;break a}default:{}}if(!(Onb(f,527172,15)|0)){e=8;break}if(d>>>0>1080&(e|0)==776678989){e=10;break}d=d+1|0;if(d>>>0>=1280){d=0;e=12;break}}if((e|0)==5){a=nOa(a,f,c-d|0)|0;return a|0}else if((e|0)==6){a=mOa(a,b+(d+-44)|0,c-(d+-44)|0)|0;return a|0}else if((e|0)==8){a=_Na(a,f,c-d|0)|0;return a|0}else if((e|0)==10){a=GPa(a,b+(d+-1080)|0,c-(d+-1080)|0)|0;return a|0}else if((e|0)==12)return d|0;return 0}function GPa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;if((b|0)==0|c>>>0<1536){a=0;return a|0}k[a+59684>>2]=31;k[a+59664>>2]=4;e=l[b+1080>>0]|l[b+1080+1>>0]<<8|l[b+1080+2>>0]<<16|l[b+1080+3>>0]<<24;d=e&16777215|e>>>24<<24;a:do if((d|0)<777268814){if((d|0)<558573133)switch(d|0){case 558571853:{t=3;break a}default:{t=5;break a}}if((d|0)<776678989)switch(d|0){case 558573133:{t=3;break a}default:{t=5;break a}}else switch(d|0){case 776678989:{t=3;break a}default:{t=5;break a}}}else{if((d|0)<825771075)switch(d|0){case 777268814:{t=3;break a}default:{t=5;break a}}if((d|0)<1096043343)switch(d|0){case 825771075:break;default:{t=5;break a}}else switch(d|0){case 1096043343:break;default:{t=5;break a}}k[a+59664>>2]=8;p=20;d=0;r=1;e=0}while(0);b:do if((t|0)==3){k[a+59664>>2]=4;p=20;d=0;r=1;e=0}else if((t|0)==5){c:do if((e&255)<<24>>24==70){if((e>>>8&255)<<24>>24==76&(e>>>16&255)<<24>>24==84&((e>>>24&255)+-52&255)<6){k[a+59664>>2]=(e>>24)+-48;p=20;d=0;r=1;e=0;break b}}else{if((e>>>24&255)<<24>>24==78&((e>>>16&255)<<24>>24==72&(((e&255)+-50&255)<8&(e>>>8&255)<<24>>24==67))){k[a+59664>>2]=(e<<24>>24)+-48;p=20;d=0;r=1;e=0;break b}switch((e&255)<<24>>24){case 49:{if(!((e>>>24&255)<<24>>24==72&((e>>>16&255)<<24>>24==67&((e>>>8&255)+-48&255)<10)))break c;k[a+59664>>2]=(e>>>8<<24>>24)+-38;p=20;d=0;r=1;e=0;break b}case 50:{if(!((e>>>24&255)<<24>>24==72&((e>>>16&255)<<24>>24==67&((e>>>8&255)+-48&255)<10)))break c;k[a+59664>>2]=(e>>>8<<24>>24)+-28;p=20;d=0;r=1;e=0;break b}case 51:{if(!((e>>>24&255)<<24>>24==72&((e>>>16&255)<<24>>24==67&((e>>>8&255)+-48&255)<3)))break c;k[a+59664>>2]=(e>>>8<<24>>24)+-18;p=20;d=0;r=1;e=0;break b}case 84:{if(!((e>>>8&255)<<24>>24==68&(e>>>16&255)<<24>>24==90&((e>>>24&255)+-52&255)<6))break c;k[a+59664>>2]=(e>>24)+-48;p=20;d=0;r=1;e=0;break b}default:break c}}while(0);switch(d|0){case 1313027633:{k[a+59664>>2]=16;p=20;d=0;r=1;e=0;break b}case 1313026611:{k[a+59664>>2]=32;p=20;d=0;r=1;e=0;break b}default:{k[a+59684>>2]=15;p=20;d=0;r=1;e=0;break b}}}while(0);while(1){f=a+59804+(r<<5)|0;g=b+p|0;h=f+22|0;do{i[f>>0]=i[g>>0]|0;f=f+1|0;g=g+1|0}while((f|0)<(h|0));i[a+59804+(r<<5)+22>>0]=0;n=a+33280+(r<<6)+34|0;j[n>>1]=0;m=b+(p+22)|0;m=(l[m>>0]|l[m+1>>0]<<8)&65535;h=a+33280+(r<<6)|0;k[h>>2]=(m<<8&65280|m>>>8)<<1;s=((m<<8&65280|m>>>8)<<1)+d|0;i[a+33280+(r<<6)+37>>0]=l[b+(p+24)>>0]<<4;q=l[b+(p+25)>>0]<<2;d=a+33280+(r<<6)+30|0;j[d>>1]=q;if(q>>>0>256){j[d>>1]=256;o=e+1|0}else o=e;j[a+33280+(r<<6)+32>>1]=64;j[a+33280+(r<<6)+28>>1]=128;d=b+(p+26)|0;d=(l[d>>0]|l[d+1>>0]<<8)&65535;e=(d<<8&65280|d>>>8)<<1;f=b+(p+28)|0;f=(l[f>>0]|l[f+1>>0]<<8)&65535;if((f<<8&65280|f>>>8)<<1>>>0>2)e=((((f<<8&65280|f>>>8)<<1)+e|0)>>>0<=(m<<8&65280|m>>>8)<<1>>>0?1:(((f<<8&65280|f>>>8)<<1)+(d<<8&65280|d>>>8)|0)>>>0>(m<<8&65280|m>>>8)<<1>>>0)?e:d<<8&65280|d>>>8;g=a+33280+(r<<6)+4|0;k[g>>2]=e;d=e+((f<<8&65280|f>>>8)<<1)|0;f=a+33280+(r<<6)+8|0;k[f>>2]=d;do if((m<<8&65280|m>>>8)<<1>>>0<4)k[h>>2]=0;else{if(e>>>0>=(m<<8&65280|m>>>8)<<1>>>0){k[g>>2]=((m<<8&65280|m>>>8)<<1)+-1;e=((m<<8&65280|m>>>8)<<1)+-1|0}if(d>>>0>(m<<8&65280|m>>>8)<<1>>>0){k[f>>2]=(m<<8&65280|m>>>8)<<1;d=(m<<8&65280|m>>>8)<<1}if(d>>>0>>0|d>>>0<9|(d-e|0)>>>0<5){k[g>>2]=0;k[f>>2]=0;break}if(d>>>0>e>>>0)j[n>>1]=2}while(0);q=p+30|0;r=r+1|0;d=k[a+59684>>2]|0;if(r>>>0>d>>>0)break;else{p=q;d=s;e=o}}if(s>>>0>c<<2>>>0&(d|0)==15){a=0;return a|0}e=(d|0)==15?p+160|0:p+164|0;vBb(a+53344|0,0,256)|0;f=a+53344|0;g=b+(p+32)|0;h=f+128|0;do{i[f>>0]=i[g>>0]|0;f=f+1|0;g=g+1|0}while((f|0)<(h|0));d=i[b+q>>0]|0;d:do if(d+-1<<24>>24<<24>>24<0){f=128;while(1){if(f>>>0<=1)break d;d=f+-1|0;if(!(i[a+53344+d>>0]|0))f=d;else break}}else f=d&255;while(0);m=0;d=0;g=0;h=0;while(1){r=i[a+53344+m>>0]|0;u=r<<24>>24<0|d>>>0>(r&255)>>>0;n=u?d:(r&255)+1|0;g=u?g:m>>>0>>0?(r&255)+1|0:g;h=(r&255)>>>0>>0?h:(r&255)+1|0;m=m+1|0;if((m|0)==128)break;else d=n}if(f>>>0<256)vBb(a+53344+f|0,-1,256-f|0)|0;u=i[b+(q|1)>>0]|0;u=(u&255)>119?0:u&255;k[a+59736>>2]=(u+1|0)>>>0<(f+-1|0)>>>0?u:0;if(!n){u=0;return u|0}if((k[b+(p+160)>>2]|0)==776678989)if(((n<<11)+(e+s)|0)==(c|0))k[a+59664>>2]=8;if((n|0)==(g|0))t=53;else{d=k[a+59664>>2]|0;if(((ha(n<<8,d)|0)+(e+s)|0)==(c|0))t=53;else{q=((ha(g<<8,d)|0)+(e+s)|0)==(c|0);d=q?o:o+8|0;q=q?g:n}}if((t|0)==53)if(h>>>0>n>>>0){q=((ha(h<<8,k[a+59664>>2]|0)|0)+(e+s)|0)==(c|0);d=o;q=q?h:n}else{d=o;q=n}if((k[a+59684>>2]|0)==15?((e+s|0)>>>0<1536|(e+s|0)>>>0>c>>>0?d+8|0:d)>>>0>15:0){u=0;return u|0}k[a+59680>>2]=1;k[a+59648>>2]=6;k[a+59652>>2]=125;k[a+59764>>2]=56;k[a+59768>>2]=13696;f=a+59804|0;g=b;h=f+20|0;do{i[f>>0]=i[g>>0]|0;f=f+1|0;g=g+1|0}while((f|0)<(h|0));if(!(k[a+59664>>2]|0))d=0;else{f=0;do{k[a+49600+(f*36|0)+4>>2]=64;d=((f&3)+-1|0)>>>0<2;k[a+49600+(f*36|0)>>2]=(k[182125]&524288|0)==0?(d?192:64):d?256:0;f=f+1|0;d=k[a+59664>>2]|0}while(f>>>0>>0)}e:do if(q){p=0;do{if(p>>>0<240){u=$Na(64,d)|0;f=a+51904+(p<<2)|0;k[f>>2]=u;if(!u)break e;j[a+52864+(p<<1)>>1]=64;d=k[a+59664>>2]|0;if(((d<<8)+e|0)>>>0>=c>>>0)break e;if(d<<6|0){o=d<<6;m=k[f>>2]|0;n=b+e|0;while(1){d=i[n+2>>0]|0;f=i[n+3>>0]|0;g=l[n>>0]|0;h=g<<8&3840|l[n+1>>0];if((h|0)<4095)switch(h|0){case 0:break;default:t=66}else switch(h|0){case 4095:break;default:t=66}if((t|0)==66){t=0;u=(uMa(a,h<<2)|0)&255;i[m>>0]=u}i[m+1>>0]=(d&255)>>>4|g&16;i[m+3>>0]=d&15;i[m+5>>0]=f;if((d&15|f)<<24>>24)aOa(a,m);o=o+-1|0;if(!o)break;else{m=m+6|0;n=n+4|0}}}}d=k[a+59664>>2]|0;e=(d<<8)+e|0;p=p+1|0}while(p>>>0>>0)}while(0);f:do if(!(k[a+59684>>2]|0))d=0;else{d=0;m=1;do{f=a+33280+(m<<6)|0;if(k[f>>2]|0){g=b+e|0;h=e+5|0;if(h>>>0>=c>>>0)break f;u=(Onb(g,527188,5)|0)==0;e=u?h:e;f=dOa(a,f,u?3:0,u?b+h|0:g,c-e|0)|0;if(f){d=d+1|0;e=e+f|0}}m=m+1|0}while(m>>>0<=(k[a+59684>>2]|0)>>>0)}while(0);u=(d|0)!=0;return u|0}function HPa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0;w=r;r=r+1920|0;if((b|0)==0|c>>>0<2048){a=0;r=w;return a|0}if(c>>>0>4096&(Dmb(b,527194,25)|0)==0){s=i[b+35>>0]|0;e=i[b+36>>0]|0;if(!((s+-1&255)<240&e<<24>>24!=0)){a=0;r=w;return a|0}if((((s&255)<<11|294)+2368|0)>>>0>=c>>>0){a=0;r=w;return a|0}k[a+59680>>2]=2097152;k[a+59664>>2]=8;k[a+59688>>2]=0;k[a+59684>>2]=31;k[a+59652>>2]=125;k[a+59648>>2]=6;f=0;do{if(f>>>0<(e&255)>>>0)d=l[b+(f+38)>>0]|0;else d=255;i[a+53344+f>>0]=d;f=f+1|0}while((f|0)!=256);g=294;h=0;while(1){n=h;h=h+1|0;o=a+59804+(h<<5)|0;p=b+g|0;q=o+22|0;do{i[o>>0]=i[p>>0]|0;o=o+1|0;p=p+1|0}while((o|0)<(q|0));i[a+59804+(h<<5)+21>>0]=0;i[a+33280+(h<<6)+37>>0]=l[b+(g+22)>>0]<<4;d=i[b+(g+23)>>0]|0;e=a+33280+(h<<6)+30|0;j[e>>1]=d&255;j[a+33280+(h<<6)+32>>1]=64;if((d&255)>64){j[e>>1]=64;d=64}else d=d&255;j[e>>1]=(d&65535)<<2;d=k[b+(g+25)>>2]|0;k[a+33280+(h<<6)>>2]=d;u=k[b+(g+29)>>2]|0;e=a+33280+(h<<6)+4|0;k[e>>2]=u;v=(k[b+(g+33)>>2]|0)+u|0;f=a+33280+(h<<6)+8|0;k[f>>2]=v;if(v>>>0<=u>>>0|v>>>0>d>>>0){k[f>>2]=0;k[e>>2]=0}else j[a+33280+(h<<6)+34>>1]=2;if(n>>>0>31&(d|0)!=0)k[a+59684>>2]=h;if((h|0)==64)break;else g=g+37|0}a:do if(!(s<<24>>24)){f=2662;d=0}else{d=2662;n=0;while(1){e=$Na(64,k[a+59664>>2]|0)|0;if(!e){f=d;d=0;break a}k[a+51904+(n<<2)>>2]=e;j[a+52864+(n<<1)>>1]=64;h=0;g=b+d|0;while(1){i[e>>0]=0;f=i[g>>0]|0;if(f<<24>>24)i[e>>0]=(f&255)+13;i[e+1>>0]=i[g+1>>0]|0;v=i[g+2>>0]|0;f=e+3|0;i[f>>0]=v;i[e+5>>0]=i[g+3>>0]|0;if((v&255)>15)i[f>>0]=0;aOa(a,e);h=h+1|0;if((h|0)==512)break;else{e=e+6|0;g=g+4|0}}d=d+2048|0;n=n+1|0;if(n>>>0>=(s&255)>>>0){f=d;d=0;break}}}while(0);b:while(1){e=k[a+59684>>2]|0;do{if(d>>>0>=e>>>0){d=1;v=98;break b}d=d+1|0}while((k[a+33280+(d<<6)>>2]|0)==0);if(f>>>0>c>>>0){d=0;v=98;break}f=(dOa(a,a+33280+(d<<6)|0,0,b+f|0,c-f|0)|0)+f|0}if((v|0)==98){r=w;return d|0}}if((i[b>>0]|0)==65)if((i[b+1>>0]|0)==77)if((i[b+2>>0]|0)==70)if(((i[b+3>>0]|0)+-10&255)>4)d=0;else if(!((l[b+38>>0]|l[b+38+1>>0]<<8)<<16>>16))d=0;else if(((i[b+37>>0]|0)+-1&255)>239)d=0;else if(((i[b+36>>0]|0)+-1&255)>239)d=0;else if(((i[b+40>>0]|0)+-4&255)>28)d=0;else{o=a+59804|0;p=b+4|0;q=o+31|0;do{i[o>>0]=i[p>>0]|0;o=o+1|0;p=p+1|0}while((o|0)<(q|0));i[a+59835>>0]=0;k[a+59680>>2]=2048;k[a+59664>>2]=l[b+40>>0];k[a+59684>>2]=l[b+36>>0];k[a+59688>>2]=0;d=i[b+3>>0]|0;if((d&255)>10){g=(d&255)>12?32:16;f=0;do{e=(i[b+(f+41)>>0]<<1)+128|0;e=(e|0)<0?0:e;if((e|0)>256){e=a+49600+(f*36|0)+8|0;k[e>>2]=k[e>>2]|2048;e=128}k[a+49600+(f*36|0)>>2]=e;f=f+1|0}while(f>>>0>>0);e=g+41|0}else{k[a+49600>>2]=i[b+41>>0]&1?48:208;k[a+49636>>2]=i[b+42>>0]&1?48:208;k[a+49672>>2]=i[b+43>>0]&1?48:208;k[a+49708>>2]=i[b+44>>0]&1?48:208;k[a+49744>>2]=i[b+45>>0]&1?48:208;k[a+49780>>2]=i[b+46>>0]&1?48:208;k[a+49816>>2]=i[b+47>>0]&1?48:208;k[a+49852>>2]=i[b+48>>0]&1?48:208;k[a+49888>>2]=i[b+49>>0]&1?48:208;k[a+49924>>2]=i[b+50>>0]&1?48:208;k[a+49960>>2]=i[b+51>>0]&1?48:208;k[a+49996>>2]=i[b+52>>0]&1?48:208;k[a+50032>>2]=i[b+53>>0]&1?48:208;k[a+50068>>2]=i[b+54>>0]&1?48:208;k[a+50104>>2]=i[b+55>>0]&1?48:208;k[a+50140>>2]=i[b+56>>0]&1?48:208;d=i[b+3>>0]|0;e=57}k[a+59652>>2]=125;k[a+59648>>2]=6;if((d&255)>12){d=i[b+e>>0]|0;if((d&255)>31)k[a+59652>>2]=d&255;d=i[b+(e+1)>>0]|0;if((d&255)<33)k[a+59648>>2]=d&255;d=e+2|0;f=0}else{d=e;f=0}do{e=a+53344+f|0;i[e>>0]=-1;if(f>>>0<(l[b+37>>0]|0)>>>0){i[e>>0]=f;e=a+52864+(f<<1)|0;j[e>>1]=64;if((l[b+3>>0]|0)>13){j[e>>1]=j[b+d>>1]|0;d=d+2|0}k[w+960+(f<<2)>>2]=b+d;d=(k[a+59664>>2]<<1)+d|0}f=f+1|0}while((f|0)!=256);e=d;d=k[a+59684>>2]|0;if(((d*65|0)+e|0)>>>0>c>>>0)d=1;else{c:do if(!d)u=0;else{d=0;f=0;while(1){s=e;while(1){t=d;d=d+1|0;n=b+s|0;e=s+57|0;o=a+59804+(d<<5)|0;p=b+(s+1)|0;q=o+32|0;do{i[o>>0]=i[p>>0]|0;o=o+1|0;p=p+1|0}while((o|0)<(q|0));i[a+59804+(d<<5)+31>>0]=0;o=a+33280+(d<<6)+42|0;p=b+(s+33)|0;q=o+13|0;do{i[o>>0]=i[p>>0]|0;o=o+1|0;p=p+1|0}while((o|0)<(q|0));i[a+33280+(d<<6)+54>>0]=0;o=b+(s+50)|0;o=l[o>>0]|l[o+1>>0]<<8|l[o+2>>0]<<16|l[o+3>>0]<<24;k[a+33280+(d<<6)>>2]=o;u=b+(s+54)|0;k[a+33280+(d<<6)+24>>2]=(l[u>>0]|l[u+1>>0]<<8)&65535;j[a+33280+(d<<6)+32>>1]=64;j[a+33280+(d<<6)+30>>1]=l[b+(s+56)>>0]<<2;if((l[b+3>>0]|0)>10){h=k[b+e>>2]|0;k[a+33280+(d<<6)+4>>2]=h;g=k[b+(s+61)>>2]|0;e=s+65|0}else{h=m[b+e>>1]|0;k[a+33280+(d<<6)+4>>2]=h;g=o;e=s+59|0}k[a+33280+(d<<6)+8>>2]=g;k[w+(t<<2)>>2]=0;if(i[n>>0]|0){n=b+(s+46)|0;n=l[n>>0]|l[n+1>>0]<<8|l[n+2>>0]<<16|l[n+3>>0]<<24;if(n>>>0<(c+-1|0)>>>0)break}if(d>>>0>=(k[a+59684>>2]|0)>>>0){u=f;break c}else s=e}k[w+(t<<2)>>2]=n;f=n>>>0>f>>>0?n:f;if(!(g>>>0<=(h+2|0)>>>0|g>>>0>o>>>0))j[a+33280+(d<<6)+34>>1]=m[a+33280+(d<<6)+34>>1]|2;if(d>>>0>=(k[a+59684>>2]|0)>>>0){u=f;break}}}while(0);t=b+e|0;g=l[b+38>>0]|l[b+38+1>>0]<<8;d=((g&65535)<<1)+e|0;if(!(g<<16>>16))e=0;else{f=0;e=0;do{s=m[t+(f<<1)>>1]|0;e=e>>>0>>0?s:e;f=f+1|0}while(f>>>0<(g&65535)>>>0)}s=mBb(e>>>0>1073741823?-1:e<<2)|0;k[s>>2]=0;if(e){g=0;do{do if(d>>>0<=(c+-3|0)>>>0){f=b+d|0;d=d+3+((l[b+(d+2)>>0]<<16|m[f>>1])*3|0)|0;if(d>>>0>c>>>0)break;k[s+(g<<2)>>2]=f}while(0);g=g+1|0}while((g|0)!=(e|0))}d:do if(i[b+37>>0]|0){f=k[a+59664>>2]|0;q=0;do{p=a+52864+(q<<1)|0;n=$Na(m[p>>1]|0,f)|0;if(!n)break d;k[a+51904+(q<<2)>>2]=n;f=k[a+59664>>2]|0;if(!f)f=0;else{o=k[w+960+(q<<2)>>2]|0;h=0;do{g=j[o+(h<<1)>>1]|0;do if(g<<16>>16){if((g&65535)>((l[b+38>>0]|l[b+38+1>>0]<<8)&65535))break;g=j[t+((g&65535)+-1<<1)>>1]|0;if(!(g<<16>>16))break;if(((g&65535)+-1|0)>>>0>=e>>>0)break;g=k[s+((g&65535)+-1<<2)>>2]|0;if(!g)break;IPa(n+(h*6|0)|0,g,m[p>>1]|0,f);f=k[a+59664>>2]|0}while(0);h=h+1|0}while(h>>>0>>0)}q=q+1|0}while(q>>>0<(l[b+37>>0]|0)>>>0)}while(0);oBb(s);if(d>>>0>>0&(u|0)!=0){h=1;do{e=k[a+59684>>2]|0;g=0;while(1){if(g>>>0>=e>>>0)break;f=g+1|0;if((h|0)==(k[w+(g<<2)>>2]|0)){v=95;break}else g=f}if((v|0)==95){v=0;d=(dOa(a,a+33280+(f<<6)|0,1,b+d|0,c-d|0)|0)+d|0}h=h+1|0}while(d>>>0>>0&h>>>0<=u>>>0);d=1}else d=1}}else d=0;else d=0;else d=0;a=d;r=w;return a|0}function IPa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,n=0;e=l[b+2>>0]<<16|m[b>>1];if(!e)return;else f=0;while(1){j=b;b=b+3|0;e=e+-1|0;g=l[b>>0]|0;h=i[j+4>>0]|0;j=i[j+5>>0]|0;if(g>>>0>=c>>>0){n=42;break}k=ha(g,d)|0;a:do if((h&255)<127){i[a+(k*6|0)>>0]=(h&255)+1;if(!(i[a+(k*6|0)+1>>0]|0))i[a+(k*6|0)+1>>0]=f;i[a+(k*6|0)+2>>0]=1;i[a+(k*6|0)+4>>0]=j}else switch(h<<24>>24){case 127:{if(!(((j<<24>>24)+g|0)>-1?((j<<24>>24)+g|0)<(c|0):0))break a;j=a+((ha((j<<24>>24)+g|0,d)|0)*6|0)|0;i[a+(k*6|0)>>0]=i[j>>0]|0;i[a+(k*6|0)+1>>0]=i[j+1>>0]|0;i[a+(k*6|0)+2>>0]=i[j+2>>0]|0;i[a+(k*6|0)+3>>0]=i[j+3>>0]|0;i[a+(k*6|0)+4>>0]=i[j+4>>0]|0;i[a+(k*6|0)+5>>0]=i[j+5>>0]|0;break a}case -128:{i[a+(k*6|0)+1>>0]=(j&255)+1;f=(j&255)+1&255;break a}case -125:{i[a+(k*6|0)+2>>0]=1;i[a+(k*6|0)+4>>0]=j;break a}default:{b:do switch(h&127|0){case 1:{h=16;g=j&255;break}case 2:{g=11;n=15;break}case 10:{g=10;n=15;break}case 11:{g=11;n=16;break}case 4:{if(!(j&128)){h=3;g=j&255}else{h=2;g=0-(j&255)&127}break}case 6:{h=4;g=j&255;break}case 7:{h=18;g=j&255;break}case 8:{h=1;g=j&255;break}case 9:{h=5;g=j&255;break}case 12:{h=14;g=j&255;break}case 13:{h=12;g=j&255;break}case 15:{h=15;g=j&255;break}case 16:{h=10;g=j&255;break}case 17:{if(!(j<<24>>24))break a;if(!(j&128)){h=11;g=(j&255)<<4&240|15;break b}else{h=11;g=0-(j&255)&15|240;break b}}case 22:case 18:{if(!(j<<24>>24))break a;g=(h&127|0)==22?224:240;if(!(j&128)){h=(j&255)>>>7^3;g=g|j&255;break b}else{h=(j&255)>>>7^3;g=g|0-(j&255)&15;break b}}case 19:{h=20;g=j&15|208;break}case 20:{h=20;g=j&15|192;break}case 21:{h=17;g=j&255;break}case 23:{if(!(i[a+(k*6|0)+3>>0]|0))break a;if(i[a+(k*6|0)+2>>0]|0)break a;i[a+(k*6|0)+2>>0]=2;i[a+(k*6|0)+4>>0]=((j&255)+64|0)>>>1&63;break a}default:break a}while(0);if((n|0)==15){g=(g|0)==10?6:g;n=16}if((n|0)==16){n=0;h=(g|0)==11?7:g;g=(j&128|0)==0?(j&255)<<4&240:0-(j&255)&15}i[a+(k*6|0)+3>>0]=h;i[a+(k*6|0)+5>>0]=g;break a}}while(0);if(!e){n=42;break}}if((n|0)==42)return}function JPa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0;v=r;r=r+1200|0;if(c>>>0<256){a=0;r=v;return a|0}if((l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24|0)!=541938512){a=0;r=v;return a|0}if(((l[b+4>>0]|l[b+4+1>>0]<<8|l[b+4+2>>0]<<16|l[b+4+3>>0]<<24)+12|0)>>>0>c>>>0){a=0;r=v;return a|0}if((l[b+8>>0]|l[b+8+1>>0]<<8|l[b+8+2>>0]<<16|l[b+8+3>>0]<<24|0)!=1162627398){a=0;r=v;return a|0}k[a+59680>>2]=4194304;k[a+59664>>2]=16;k[a+59684>>2]=0;k[a+49600>>2]=64;k[a+49636>>2]=192;k[a+49672>>2]=192;k[a+49708>>2]=64;k[a+49744>>2]=64;k[a+49780>>2]=192;k[a+49816>>2]=192;k[a+49852>>2]=64;k[a+49888>>2]=64;k[a+49924>>2]=192;k[a+49960>>2]=192;k[a+49996>>2]=64;k[a+50032>>2]=64;k[a+50068>>2]=192;k[a+50104>>2]=192;k[a+50140>>2]=64;q=20;s=12;d=0;e=0;while(1){f=b+s|0;p=b+(s+4)|0;n=l[p>>0]|l[p+1>>0]<<8|l[p+2>>0]<<16|l[p+3>>0]<<24;if(n>>>0>=(c+-8|0)>>>0){f=d;u=e;break}if((s+8+n|0)>>>0>c>>>0){f=d;u=e;break}o=b+q|0;a:do if(n){f=l[f>>0]|l[f+1>>0]<<8|l[f+2>>0]<<16|l[f+3>>0]<<24;if((f|0)<1280592212){if((f|0)>=1196314451){switch(f|0){case 1196314451:break;default:break a}d=(d|0)!=0|n>>>0<19?d:s;break}switch(f|0){case 1146045008:break;default:break a}if(!(e>>>0<240&n>>>0>11))break;k[v+(e<<2)>>2]=s;e=e+1|0;break}if((f|0)<1347244868){switch(f|0){case 1280592212:break;default:break a}m=(i[o>>0]|0)==0;u=m?n+-1|0:n;ABb(a+59804|0,(m?b+(s+9)|0:o)|0,(u>>>0>31?31:u)|0)|0;i[a+59835>>0]=0;break}switch(f|0){case 1347244868:break;default:break a}if(n>>>0>95){m=(k[a+59684>>2]|0)+1|0;if(m>>>0<240){k[a+59684>>2]=m;f=a+59804+(m<<5)|0;g=b+(s+21)|0;h=f+31|0;do{i[f>>0]=i[g>>0]|0;f=f+1|0;g=g+1|0}while((f|0)<(h|0));f=k[a+59684>>2]|0;i[a+59804+(f<<5)+31>>0]=0;i[v+960+(f+-1)>>0]=f;j[a+33280+(m<<6)+32>>1]=64;f=b+(s+81)|0;k[a+33280+(m<<6)+24>>2]=l[f>>0]|l[f+1>>0]<<8|l[f+2>>0]<<16|l[f+3>>0]<<24;f=b+(s+62)|0;f=l[f>>0]|l[f+1>>0]<<8|l[f+2>>0]<<16|l[f+3>>0]<<24;k[a+33280+(m<<6)>>2]=f;g=b+(s+66)|0;g=l[g>>0]|l[g+1>>0]<<8|l[g+2>>0]<<16|l[g+3>>0]<<24;k[a+33280+(m<<6)+4>>2]=g;u=b+(s+70)|0;k[a+33280+(m<<6)+8>>2]=l[u>>0]|l[u+1>>0]<<8|l[u+2>>0]<<16|l[u+3>>0]<<24;j[a+33280+(m<<6)+28>>1]=128;j[a+33280+(m<<6)+30>>1]=(l[b+(s+76)>>0]<<1)+2;j[a+33280+(m<<6)+34>>1]=(i[o>>0]|0)<0?2:0;if(g|0)k[a+33280+(m<<6)+4>>2]=g+-1;if((n+-96|0)>>>0>3&f>>>0>3){dOa(a,a+33280+(m<<6)|0,2,b+(s+104)|0,n+-96|0)|0;break}else{k[a+33280+(m<<6)>>2]=0;break}}}}while(0);s=(l[p>>0]|l[p+1>>0]<<8|l[p+2>>0]<<16|l[p+3>>0]<<24)+q|0;q=s+8|0;if(q>>>0>=c>>>0){f=d;u=e;break}}if(!f){a=1;r=v;return a|0}d=i[b+(f+18)>>0]|0;if((d+-2&255)>30){a=1;r=v;return a|0}k[a+59664>>2]=d&255;q=f+8+(k[b+(f+4)>>2]|0)|0;d=f+27|0;b:do if(d>>>0>>0){c=(u|0)==0;f=f+19|0;do{p=b+(f+4)|0;e=l[p>>0]|l[p+1>>0]<<8|l[p+2>>0]<<16|l[p+3>>0]<<24;if(e>>>0>q>>>0|(e+d|0)>>>0>q>>>0)break b;s=b+f|0;if(e>>>0>31?(l[s>>0]|l[s+1>>0]<<8|l[s+2>>0]<<16|l[s+3>>0]<<24|0)==1212960847:0){c:do if((e+-3|0)>>>0>5){n=d+-4|0;o=d+-2|0;d:do if(c){g=e+-3|0;while(1){h=g+-5|0;f=i[b+(n+g)>>0]|0;if((f+-1&255)<16){g=b+(o+g)|0;if(((i[g>>0]|0)+-65&255)<127)break d}if(h>>>0>5)g=h;else break c}}else{m=e+-3|0;while(1){h=m+-5|0;f=k[b+(h+d)>>2]|0;g=0;while(1){s=b+((k[v+(g<<2)>>2]|0)+12)|0;g=g+1|0;if((f|0)==(l[s>>0]|l[s+1>>0]<<8|l[s+2>>0]<<16|l[s+3>>0]<<24|0))break;if(g>>>0>=u>>>0){t=32;break}}if((t|0)==32){t=0;f=i[b+(n+m)>>0]|0;if((f+-1&255)<16){g=b+(o+m)|0;if(((i[g>>0]|0)+-65&255)<127)break d}}if(h>>>0>5)m=h;else break c}}while(0);k[a+59648>>2]=f&255;k[a+59652>>2]=l[g>>0]}else h=e+-3|0;while(0);f=h+5|0;e:do if(f>>>0>>0){g=0;while(1){if(c)break;f:while(1){h=k[b+(h+d)>>2]|0;m=0;do{s=b+((k[v+(m<<2)>>2]|0)+12)|0;if((h|0)==(l[s>>0]|l[s+1>>0]<<8|l[s+2>>0]<<16|l[s+3>>0]<<24|0)){h=f;f=m;break f}m=m+1|0}while(m>>>0>>0);h=f+5|0;if(h>>>0>>0){s=f;f=h;h=s}else break e}i[a+53344+g>>0]=f;g=g+1|0;if((h+5|0)>>>0>>0&g>>>0<256)f=h+5|0;else break e}do f=f+5|0;while(f>>>0>>0)}while(0);e=l[p>>0]|l[p+1>>0]<<8|l[p+2>>0]<<16|l[p+3>>0]<<24}f=e+d|0;d=f+8|0}while(d>>>0>>0)}while(0);if(!u){a=1;r=v;return a|0}else s=0;while(1){c=k[v+(s<<2)>>2]|0;q=(k[b+(c+4)>>2]|0)+-12|0;t=l[b+(c+16)>>0]|l[b+(c+16)+1>>0]<<8;d=l[b+(c+8)>>0]|l[b+(c+8)+1>>0]<<8|l[b+(c+8)+2>>0]<<16|l[b+(c+8)+3>>0]<<24;q=q>>>0>d>>>0?d:q;t=(t+-64&65535)>192?64:t&65535;j[a+52864+(s<<1)>>1]=t;d=$Na(t,k[a+59664>>2]|0)|0;k[a+51904+(s<<2)>>2]=d;if(!d){d=1;t=82;break}g:do if(t|0){g=0;f=0;p=0;while(1){e=f+1|0;if(e>>>0>>0)o=g;else break g;while(1){n=l[b+(f+(c+20))>>0]|0;m=f+2|0;g=l[b+(e+(c+20))>>0]|0;if(!((n&240|0)!=16|g>>>0>o>>>0)){h=f+3|0;if(h>>>0>>0)if(!(i[b+(m+(c+20))>>0]&15)){e=k[a+59664>>2]|0;if((l[b+(h+(c+20))>>0]|0)>>>0>>0){f=m;break}}}if(m>>>0>=q>>>0)break g;e=k[a+59664>>2]|0;if(!(n&240)){f=m;break}o=g>>>0>>0?g:0;do if(!(n&64))e=m;else{g=f+3|0;if(g>>>0>=q>>>0){e=m;break}e=i[b+(m+(c+20))>>0]|0;if(e<<24>>24>0)e=(e&15)+13+(((e&255)>>>4)*12|0)|0;else e=e&255;i[d+(o*6|0)+1>>0]=i[v+960+(l[b+(g+(c+20))>>0]|0)>>0]|0;i[d+(o*6|0)>>0]=e;e=f+4|0}while(0);if((n&32|0)!=0&e>>>0>>0){i[d+(o*6|0)+2>>0]=1;i[d+(o*6|0)+4>>0]=(l[b+(e+(c+20))>>0]|0)>>>1;e=e+1|0}do if(!(n&16))f=e;else{g=e+1|0;if(g>>>0>=q>>>0){f=e;break}f=e+2|0;g=l[b+(g+(c+20))>>0]|0;switch(l[b+(e+(c+20))>>0]|0){case 1:{h=11;e=g|15;break}case 4:{h=11;e=g>>>4|240;break}case 12:{h=2;e=(g+1|0)>>>1;break}case 14:{h=3;e=(g+1|0)>>>1;break}case 51:{h=12;e=g;break}case 52:{h=14;e=g;break}case 61:{h=16;e=g;break}case 62:{h=17;e=g;break}default:{h=0;e=0}}i[d+(o*6|0)+3>>0]=h;i[d+(o*6|0)+5>>0]=e}while(0);e=f+1|0;if(e>>>0>=q>>>0)break g}p=p+1|0;if(p>>>0>=t>>>0)break;else d=d+(e*6|0)|0}}while(0);s=s+1|0;if(s>>>0>=u>>>0){d=1;t=82;break}}if((t|0)==82){r=v;return d|0}return 0}function KPa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0;U=r;r=r+2096|0;if((b|0)==0|c>>>0<382){a=0;r=U;return a|0}if((l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24|0)!=808604749){a=0;r=U;return a|0}if(((l[b+8>>0]|l[b+8+1>>0]<<8)&-256)<<16>>16!=512){a=0;r=U;return a|0}f=l[b+112>>0]|l[b+112+1>>0]<<8;if((f+-4&65535)>60){a=0;r=U;return a|0}k[a+59680>>2]=1048576;k[a+59664>>2]=f&65535;k[a+59736>>2]=(l[b+108>>0]|l[b+108+1>>0]<<8)&65535;k[a+59648>>2]=l[b+116>>0];k[a+59652>>2]=125;f=l[b+114>>0]|l[b+114+1>>0]<<8;if((f+-101&65535)<4899)k[a+59652>>2]=110250/((f&65535)>>>0)|0;g=0;do{if(g>>>0<((l[b+106>>0]|l[b+106+1>>0]<<8)&65535)>>>0)f=l[b+(g+126)>>0]|0;else f=255;i[a+53344+g>>0]=f;g=g+1|0}while((g|0)!=256);q=a+59804|0;s=b+42|0;t=q+31|0;do{i[q>>0]=i[s>>0]|0;q=q+1|0;s=s+1|0}while((q|0)<(t|0));i[a+59835>>0]=0;f=j[b+382>>1]|0;x=(f&65535)>1?b+384|0:0;if(((f&65535)+384|0)>>>0>=(c+-12|0)>>>0){a=1;r=U;return a|0}g=(k[b+((f&65535)+384)>>2]|0)==0?(f&65535)+388|0:(f&65535)+384|0;g=(k[b+g>>2]|0)==0?g+4|0:g;f=g+4+(k[b+g>>2]|0)|0;if(f>>>0>=c>>>0){a=1;r=U;return a|0}a:do if((g+12|0)>>>0>>0){o=g+12|0;h=g+4|0;while(1){g=k[b+(h+4)>>2]|0;n=h;h=g+o|0;if(h>>>0>c>>>0){Q=1;break}if(g>>>0>3?(k[b+n>>2]|0)==4674381:0)if(!(k[a+59796>>2]|0)){O=g>>>0>32e3?32e3:g;N=mBb(O)|0;k[a+59796>>2]=N;ABb(N|0,b+(n+9)|0,O+-1|0)|0;i[N+(O+-1)>>0]=0}o=h+8|0;if(o>>>0>=f>>>0)break a}r=U;return Q|0}while(0);g=l[b+110>>0]|l[b+110+1>>0]<<8;b:do if(!(g<<16>>16))g=0;else{w=0;c:while(1){d:do if(f>>>0<(c+-6|0)>>>0){u=b+(f+2)|0;u=(l[u>>0]|l[u+1>>0]<<8|l[u+2>>0]<<16|l[u+3>>0]<<24)+1&-2;v=f+6|0;if((u+v|0)>>>0>c>>>0){f=v;break b}t=b+f|0;t=l[t>>0]|l[t+1>>0]<<8;if(w>>>0<240&(t+-1&65535)<256){j[a+52864+(w<<1)>>1]=t;s=$Na(t&65535,k[a+59664>>2]|0)|0;k[a+51904+(w<<2)>>2]=s;if(!s){Q=1;break c}if(!((l[b+118>>0]|l[b+118+1>>0]<<8|l[b+118+2>>0]<<16|l[b+118+3>>0]<<24)&1)){if(u>>>0<=7){f=u+v|0;break}n=u;f=s;g=0;h=b+v|0;while(1){if(g>>>0>=(ha(k[a+59664>>2]|0,t&65535)|0)>>>0){f=u+v|0;break d}LPa(a,f,h);n=n+-7|0;if(n>>>0<=7){f=u+v|0;break d}else{f=f+6|0;g=g+1|0;h=h+7|0}}}q=f+8|0;f=0;o=0;g=0;while(1){if(o>>>0>=u>>>0){f=u+v|0;break d}n=o+1|0;h=i[b+(o+v)>>0]|0;if(h<<24>>24==-1){p=l[b+(q+o)>>0]|0;h=o+3|0;o=l[b+(n+v)>>0]|0}else{p=h&255;h=n;o=0}if(p&127){n=(ha(k[a+59664>>2]|0,g)|0)+f|0;i[U+2076>>0]=0;i[U+2076+1>>0]=0;i[U+2076+2>>0]=0;i[U+2076+3>>0]=0;i[U+2076+4>>0]=0;i[U+2076+5>>0]=0;i[U+2076+6>>0]=0;if(p&1){i[U+2076>>0]=i[b+(h+v)>>0]|0;h=h+1|0}if(p&2){i[U+2076+1>>0]=i[b+(h+v)>>0]|0;h=h+1|0}if(p&4){i[U+2076+2>>0]=i[b+(h+v)>>0]|0;h=h+1|0}if(p&8){i[U+2076+3>>0]=i[b+(h+v)>>0]|0;h=h+1|0}if(p&16){i[U+2076+4>>0]=i[b+(h+v)>>0]|0;h=h+1|0}if(p&32){i[U+2076+5>>0]=i[b+(h+v)>>0]|0;h=h+1|0}if(p&64){i[U+2076+6>>0]=i[b+(h+v)>>0]|0;h=h+1|0}LPa(a,s+(n*6|0)|0,U+2076|0)}g=g+1+o|0;if(g>>>0>=(t&65535)>>>0)do{g=g-(t&65535)|0;f=f+1|0}while(g>>>0>=(t&65535)>>>0);if(f>>>0<(k[a+59664>>2]|0)>>>0)o=h;else{f=u+v|0;break}}}else f=u+v|0}while(0);w=w+1|0;g=l[b+110>>0]|l[b+110+1>>0]<<8;if(w>>>0>=(g&65535)>>>0)break b}r=U;return Q|0}while(0);e:do if(x|0){n=l[x>>0]|l[x+1>>0]<<8;if(n<<16>>16){h=0;while(1){if(f>>>0>(c+-2|0)>>>0){Q=1;break}f=(m[b+f>>1]<<5|2)+f|0;h=h+1|0;if(h>>>0>=(n&65535)>>>0)break e}r=U;return Q|0}}while(0);h=l[b+118>>0]|l[b+118+1>>0]<<8|l[b+118+2>>0]<<16|l[b+118+3>>0]<<24;f:do if(h&2){O=(k[a+59664>>2]|0)+(h>>>4&1)|0;h=ha((x|0)!=0&(h&8|0)!=0?O+8|0:O,g&65535)|0;if(h){g=0;while(1){if((f+12|0)>>>0>=c>>>0){Q=1;break}O=b+f|0;f=(((l[b+8>>0]|l[b+8+1>>0]<<8)&65535)<514?4:8)+f|0;O=l[O>>0]|l[O+1>>0]<<8|l[O+2>>0]<<16|l[O+3>>0]<<24;f=(O&1|0)==0?f:f+260|0;f=(O&2|0)==0?f:f+260|0;f=(O&4|0)==0?f:f+260|0;f=(O&8|0)==0?f:f+260|0;f=(O&16|0)==0?f:f+260|0;f=(O&32|0)==0?f:f+260|0;f=(O&64|0)==0?f:f+260|0;f=(O&128|0)==0?f:f+260|0;f=(O&256|0)==0?f:f+260|0;f=(O&512|0)==0?f:f+260|0;f=(O&1024|0)==0?f:f+260|0;f=(O&2048|0)==0?f:f+260|0;f=(O&4096|0)==0?f:f+260|0;f=(O&8192|0)==0?f:f+260|0;g=g+1|0;if(g>>>0>=h>>>0)break f}r=U;return Q|0}}while(0);vBb(U+1056|0,0,1020)|0;O=(l[b+122>>0]|l[b+122+1>>0]<<8)&65535;k[a+59688>>2]=O>>>0>239?239:O;O=1;while(1){N=f+36|0;if(N>>>0>c>>>0){Q=1;S=148;break}n=b+f|0;if(O>>>0>(k[a+59688>>2]|0)>>>0)h=0;else{h=kBb(632)|0;k[a+48640+(O<<2)>>2]=h;vBb(h|0,0,632)|0;q=h+585|0;s=n;t=q+32|0;do{i[q>>0]=i[s>>0]|0;q=q+1|0;s=s+1|0}while((q|0)<(t|0));j[h+8>>1]=64;j[h+10>>1]=128;g=0;do{M=g;g=g+1|0;i[h+(M+428)>>0]=g}while((g|0)!=120)}M=b+(f+32)|0;g=l[M>>0]|l[M+1>>0]<<8|l[M+2>>0]<<16|l[M+3>>0]<<24;if((c+-40|0)>>>0>>0|(g|0)<1|g>>>0>(c+-40-f|0)>>>0)f=N;else{k[U+1056+(O+-1<<2)>>2]=n;if(!h)f=g;else{L=b+(f+138)|0;k[h>>2]=(l[L>>0]|l[L+1>>0]<<8)&65535;L=b+(f+140)|0;L=(l[L>>0]|l[L+1>>0]<<8)&65535;i[h+571>>0]=L&3;i[h+572>>0]=L>>>8&3;i[h+573>>0]=L>>>12&3;do if(((l[b+8>>0]|l[b+8+1>>0]<<8)&65535)<514){o=b+(f+144)|0;k[U+16>>2]=o;k[U+16+4>>2]=b+(f+152);k[U+16+12>>2]=0;k[U+16+8>>2]=0;k[U>>2]=b+(f+160);k[U+4>>2]=b+(f+224);k[U+12>>2]=0;k[U+8>>2]=0}else{g=f+148|0;n=b+(f+144)|0;n=(l[n>>0]|l[n+1>>0]<<8)&65535;if(!(n&1)){k[U+16>>2]=0;k[U>>2]=0;o=0;f=g}else{k[U+16>>2]=b+g;k[U>>2]=b+(f+156);o=b+g|0;f=f+220|0}if(!(n&2)){k[U+16+4>>2]=0;k[U+4>>2]=0}else{k[U+16+4>>2]=b+f;k[U+4>>2]=b+(f+8);f=f+72|0}if(!(n&4)){k[U+16+8>>2]=0;k[U+8>>2]=0}else{k[U+16+8>>2]=b+f;k[U+8>>2]=b+(f+8);f=f+72|0}if(!(n&8)){k[U+16+12>>2]=0;k[U+12>>2]=0;break}else{k[U+16+12>>2]=b+f;k[U+12>>2]=b+(f+8);break}}while(0);q=h+558|0;s=h+570|0;t=h+569|0;u=h+567|0;v=h+568|0;w=h+140|0;x=h+268|0;y=h+4|0;z=h+556|0;A=h+562|0;B=h+561|0;C=h+559|0;D=h+560|0;E=h+12|0;F=h+204|0;G=h+557|0;H=h+566|0;I=h+565|0;J=h+563|0;K=h+564|0;L=h+76|0;p=h+236|0;f=0;while(1){do if(o|0){switch(f|0){case 0:{g=i[o>>0]|0;if(g&1)k[y>>2]=k[y>>2]|1;if(g&2)k[y>>2]=k[y>>2]|2;if(g&4)k[y>>2]=k[y>>2]|4;n=i[o+1>>0]|0;i[z>>0]=(n&255)>16?16:n;n=i[o+2>>0]|0;i[A>>0]=n;i[B>>0]=n;i[C>>0]=i[o+3>>0]|0;i[D>>0]=i[o+4>>0]|0;n=F;o=E;break}case 1:{g=i[o>>0]|0;if(g&1)k[y>>2]=k[y>>2]|8;if(g&2)k[y>>2]=k[y>>2]|16;if(g&4)k[y>>2]=k[y>>2]|32;n=i[o+1>>0]|0;i[G>>0]=(n&255)>16?16:n;n=i[o+2>>0]|0;i[H>>0]=n;i[I>>0]=n;i[J>>0]=i[o+3>>0]|0;i[K>>0]=i[o+4>>0]|0;n=p;o=L;break}default:{g=i[o>>0]|0;if(g&1)k[y>>2]=k[y>>2]|((f|0)==3?1088:64);if(g&2)k[y>>2]=k[y>>2]|128;if(g&4)k[y>>2]=k[y>>2]|256;n=i[o+1>>0]|0;i[q>>0]=(n&255)>16?16:n;n=i[o+2>>0]|0;i[s>>0]=n;i[t>>0]=n;i[u>>0]=i[o+3>>0]|0;i[v>>0]=i[o+4>>0]|0;n=x;o=w}}g=k[U+(f<<2)>>2]|0;if(!g)break;else h=0;do{V=h<<1;j[o+(h<<1)>>1]=j[g+(V<<1)>>1]|0;i[n+h>>0]=j[g+((V|1)<<1)>>1];h=h+1|0}while((h|0)!=16)}while(0);f=f+1|0;if((f|0)==4)break;o=k[U+16+(f<<2)>>2]|0}f=l[M>>0]|l[M+1>>0]<<8|l[M+2>>0]<<16|l[M+3>>0]<<24}f=N+f|0;f=((l[b+8>>0]|l[b+8+1>>0]<<8)&65535)>513?f+4|0:f}O=O+1|0;if(O>>>0>=256){P=f;break}}if((S|0)==148){r=U;return Q|0}vBb(U+32|0,0,1024)|0;o=(l[b+124>>0]|l[b+124+1>>0]<<8)&65535;k[a+59684>>2]=o>>>0>239?239:o;o=P;p=1;while(1){f=o+36|0;if(f>>>0>c>>>0){Q=1;S=148;break}g=b+o|0;n=p>>>0<240;if(n){q=a+59804+(p<<5)|0;s=g;t=q+32|0;do{i[q>>0]=i[s>>0]|0;q=q+1|0;s=s+1|0}while((q|0)<(t|0))}h=b+(o+32)|0;if(l[h>>0]|l[h+1>>0]<<8|l[h+2>>0]<<16|l[h+3>>0]<<24){k[U+32+(p+-1<<2)>>2]=g;g:do if(n){g=a+33280+(p<<6)|0;j[a+33280+(p<<6)+32>>1]=64;O=b+(o+56)|0;j[a+33280+(p<<6)+30>>1]=((l[O>>0]|l[O+1>>0]<<8)&65535)>>>7;O=i[b+(o+58)>>0]|0;j[a+33280+(p<<6)+28>>1]=O<<24>>24==-128?128:(O&255^128)&65535;k[g>>2]=l[b+f>>0]|l[b+f+1>>0]<<8|l[b+f+2>>0]<<16|l[b+f+3>>0]<<24;O=b+(o+40)|0;V=a+33280+(p<<6)+24|0;k[V>>2]=l[O>>0]|l[O+1>>0]<<8|l[O+2>>0]<<16|l[O+3>>0]<<24;O=b+(o+48)|0;k[a+33280+(p<<6)+4>>2]=l[O>>0]|l[O+1>>0]<<8|l[O+2>>0]<<16|l[O+3>>0]<<24;O=b+(o+52)|0;k[a+33280+(p<<6)+8>>2]=l[O>>0]|l[O+1>>0]<<8|l[O+2>>0]<<16|l[O+3>>0]<<24;MPa(g);O=a+33280+(p<<6)+36|0;P=-207-(l[b+(o+59)>>0]|0)+(l[O>>0]|0)|0;i[O>>0]=P;P=NPa(P<<24>>24,i[a+33280+(p<<6)+37>>0]|0)|0;k[V>>2]=P;if((i[b+(o+44)>>0]|0)==2){V=a+33280+(p<<6)+34|0;j[V>>1]=m[V>>1]|1;k[g>>2]=(k[g>>2]|0)>>>1}if((i[b+(o+45)>>0]|0)==2)k[g>>2]=(k[g>>2]|0)>>>1;switch(i[b+(o+47)>>0]|0){case 1:{V=a+33280+(p<<6)+34|0;j[V>>1]=m[V>>1]|2;break g}case 2:{V=a+33280+(p<<6)+34|0;j[V>>1]=m[V>>1]|6;break g}default:break g}}while(0);f=f+(l[h>>0]|l[h+1>>0]<<8|l[h+2>>0]<<16|l[h+3>>0]<<24)|0}p=p+1|0;if(p>>>0>=257){e=f;R=0;break}else o=f}if((S|0)==148){r=U;return Q|0}h:while(1){o=k[U+1056+(R<<2)>>2]|0;i:do if(o){if((e+8|0)>>>0>c>>>0){Q=1;S=148;break h}if(R>>>0<(k[a+59688>>2]|0)>>>0)p=k[a+48640+(R+1<<2)>>2]|0;else p=0;g=l[o+36>>0]|l[o+36+1>>0]<<8;if(g<<16>>16){if(!p){f=0;while(1){e=e+8|0;f=f+1|0;if(f>>>0>=(g&65535)>>>0)break i}}else n=0;do{f=b+e|0;h=0;do{do if((l[o+38+h>>0]|0)==(n|0)){g=(l[f>>0]|0)+1|0;i[h+12+(p+300)>>0]=g;if(g>>>0>(k[a+59684>>2]|0)>>>0)break;i[a+33280+(g<<6)+38>>0]=i[o+134>>0]|0;i[a+33280+(g<<6)+39>>0]=i[o+135>>0]|0;i[a+33280+(g<<6)+40>>0]=i[o+136>>0]|0;i[a+33280+(g<<6)+41>>0]=i[o+137>>0]|0}while(0);h=h+1|0}while((h|0)!=96);e=e+8|0;n=n+1|0}while(n>>>0<((l[o+36>>0]|l[o+36+1>>0]<<8)&65535)>>>0)}}while(0);R=R+1|0;if(R>>>0>=255){d=e;T=0;break}}if((S|0)==148){r=U;return Q|0}while(1){if(T>>>0<(k[a+59684>>2]|0)>>>0){e=k[U+32+(T<<2)>>2]|0;if(e){f=T+1|0;if(!(i[e+46>>0]&5)){if(k[a+33280+(f<<6)>>2]|0)d=(dOa(a,a+33280+(f<<6)|0,((j[a+33280+(f<<6)+34>>1]&1)<<1)+((i[e+45>>0]|0)==2?10:2)|0,b+d|0,c-d|0)|0)+d|0}else if((d+4|0)>>>0>>0)d=d+16+(k[b+d>>2]|0)|0;if((d+4|0)>>>0>=c>>>0){Q=1;S=148;break}}}T=T+1|0;if(T>>>0>=256){Q=1;S=148;break}}if((S|0)==148){r=U;return Q|0}return 0}function LPa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;i[b>>0]=0;d=i[c>>0]|0;if(d<<24>>24){if((d&255)>96)d=-1;else d=(d&255)+12&255;i[b>>0]=d}i[b+1>>0]=i[c+1>>0]|0;d=i[c+2>>0]|0;a:do if((d+-16&255)<129){i[b+2>>0]=1;i[b+4>>0]=((d&255)+496|0)>>>1}else switch((d&-16)<<24>>24){case -96:{i[b+2>>0]=4;i[b+4>>0]=d&15;break a}case -80:{i[b+2>>0]=3;i[b+4>>0]=d&15;break a}case -64:{i[b+2>>0]=6;i[b+4>>0]=d&15;break a}default:if((d&-16)<<24>>24==-48){i[b+2>>0]=5;i[b+4>>0]=d&15;break a}else{i[b+2>>0]=0;i[b+4>>0]=0;break a}}while(0);i[b+3>>0]=0;i[b+5>>0]=0;if(i[c+4>>0]|0)return;d=i[c+5>>0]|0;if(!(d<<24>>24))if(!(i[c+6>>0]|0))return;i[b+3>>0]=i[c+6>>0]|0;i[b+5>>0]=d;aOa(a,b);return}function MPa(a){a=a|0;var b=0,c=0;b=~~(+fa(+(+((k[a+24>>2]|0)>>>0)*1.1957431543704412e-04))*2215.9795828054475);c=(((b&127)>>>0>80&1)+(b>>7)|0)>127?127:((b&127)>>>0>80&1)+(b>>7)|0;i[a+36>>0]=(c|0)<-127?-127:c&255;i[a+37>>0]=(b&127)>>>0>80?b|128:b&127;return}function NPa(a,b){a=a|0;b=b|0;return ~~(+Unb(+((a<<7)+b|0)*6.510416666666666e-04)*8363.0)>>>0|0}function OPa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=k[182125]|0;e=d?f|131072:f&-131073;d=(e|0)==(f|0)&((k[9751]|0)==(a|0)&(k[9752]|0)==(b|0)&(k[9750]|0)==(c|0))^1;k[9750]=c;k[182125]=e;k[9751]=a;k[9752]=b;ULa(d)|0;return 1}function PPa(a,b){a=a|0;b=b|0;if(b>>>0<2){a=0;return a|0}k[9749]=b;k[9748]=a;a=1;return a|0}function QPa(a){a=a|0;var b=0;b=k[182125]&-1049;switch(a|0){case 0:{b=b|8;break}case 1:break;case 2:{b=b|16;break}case 3:{b=b|1040;break}default:{a=0;return a|0}}k[182125]=b;a=1;return a|0}function RPa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;b=(b|0)==0?1:b;b=b>>>0>512?512:b;d=k[a+59740>>2]|0;if(!((b|0)!=0&b>>>0>>0)){k[a+59740>>2]=b;return 1}if((k[182125]&4|0)==0|c^1){k[a+59740>>2]=b;return 1}c=((ha(k[9753]|0,d)|0)>>>0)/(b>>>0)|0;k[9753]=c>>>0>512?512:c;k[a+59740>>2]=b;return 1}function SPa(a){a=a|0;var b=0,c=0,d=0;d=0;b=0;while(1){c=i[a+53344+d>>0]|0;if(c<<24>>24==-1){c=6;break}if((c&255)<240)b=(m[a+52864+((c&255)<<1)>>1]|0)+b|0;d=d+1|0;if(d>>>0>=256){c=6;break}}if((c|0)==6)return b|0;return 0}function TPa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=0;do{i[a+(c<<8)+215>>0]=0;i[a+(c<<8)+214>>0]=0;i[a+(c<<8)+212>>0]=0;k[a+(c<<8)+144>>2]=0;k[a+(c<<8)+140>>2]=0;k[a+(c<<8)+136>>2]=0;i[a+(c<<8)+216>>0]=0;i[a+(c<<8)+245>>0]=0;i[a+(c<<8)+244>>0]=0;k[a+(c<<8)+124>>2]=0;g=a+(c<<8)+36|0;k[g>>2]=k[g>>2]|1536;i[a+(c<<8)+242>>0]=0;c=c+1|0}while((c|0)!=128);if(!b){d=0;do{k[a+(d<<8)+128>>2]=0;k[a+(d<<8)+32>>2]=0;k[a+(d<<8)+4>>2]=0;k[a+(d<<8)+40>>2]=0;k[a+(d<<8)+44>>2]=0;k[a+(d<<8)+88>>2]=0;k[a+(d<<8)+84>>2]=0;k[a+(d<<8)+96>>2]=0;k[a+(d<<8)+144>>2]=0;k[a+(d<<8)+140>>2]=0;i[a+(d<<8)+238>>0]=127;i[a+(d<<8)+239>>0]=0;g=a+(d<<8)+16|0;k[a+(d<<8)+100>>2]=0;k[a+(d<<8)+104>>2]=0;k[g>>2]=0;k[g+4>>2]=0;k[g+8>>2]=0;k[g+12>>2]=0;k[a+(d<<8)+116>>2]=256;if(d>>>0<64){k[a+(d<<8)+36>>2]=k[a+49600+(d*36|0)+8>>2];k[a+(d<<8)+120>>2]=k[a+49600+(d*36|0)>>2];c=k[a+49600+(d*36|0)+4>>2]|0}else{k[a+(d<<8)+36>>2]=0;k[a+(d<<8)+120>>2]=128;c=64}k[a+(d<<8)+168>>2]=c;d=d+1|0}while((d|0)!=128);k[a+59744>>2]=k[a+59656>>2];k[a+59708>>2]=k[a+59648>>2];k[a+59712>>2]=k[a+59652>>2]}k[a+59660>>2]=k[a+59660>>2]&-3873;e=0;a:while(1){d=i[a+53344+e>>0]|0;switch(d<<24>>24){case -1:{c=0;b=0;break a}case -2:break;default:if((d&255)<240){c=m[a+52864+((d&255)<<1)>>1]|0;if(b>>>0>>0){f=15;break a}b=b-c|0}}e=e+1|0;if(e>>>0>=256){c=0;b=0;break}}b:do if((f|0)==15)if(b>>>0<(m[a+52864+((d&255)<<1)>>1]|0)>>>0)if(!b){c=e;b=0}else{f=k[a+51904+((d&255)<<2)>>2]|0;if(!f)c=e;else{g=k[a+59664>>2]|0;while(1){if(g|0){c=0;d=ha(g,b)|0;while(1){if(i[f+(d*6|0)>>0]|0){c=e;break b}c=c+1|0;if(c>>>0>=g>>>0)break;else d=d+1|0}}b=b+-1|0;if(!b){c=e;break}}}}else{c=0;b=0}while(0);k[a+59732>>2]=c;k[a+59716>>2]=b;k[a+59692>>2]=k[a+59708>>2];k[a+59676>>2]=0;k[a+59700>>2]=0;k[a+59704>>2]=0;return}function UPa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;E=r;r=r+1152|0;h=k[a+59648>>2]|0;g=k[a+59652>>2]|0;f=k[a+59656>>2]|0;d=E+1024|0;e=d+128|0;do{i[d>>0]=0;d=d+1|0}while((d|0)<(e|0));d=E+896|0;e=d+128|0;do{i[d>>0]=0;d=d+1|0}while((d|0)<(e|0));d=E+768|0;e=d+128|0;do{i[d>>0]=255;d=d+1|0}while((d|0)<(e|0));vBb(E|0,0,512)|0;d=E+640|0;e=d+128|0;do{i[d>>0]=0;d=d+1|0}while((d|0)<(e|0));d=E+512|0;e=d+128|0;do{i[d>>0]=64;d=d+1|0}while((d|0)<(e|0));D=k[a+59664>>2]|0;if(D|0){d=0;do{i[E+512+d>>0]=k[a+49600+(d*36|0)+4>>2];d=d+1|0}while(d>>>0>>0)}A=k[a+59716>>2]|0;B=k[a+59732>>2]|0;t=D;d=0;n=0;o=0;e=0;a:while(1){j=i[a+53344+n>>0]|0;b:do if((j&255)>239){if(n>>>0>255|j<<24>>24==-1)break a;while(1){n=n+1|0;if(n>>>0<256){j=i[a+53344+n>>0]|0;if((j&255)>239)j=j&255;else{j=j&255;break b}}else j=255;if(n>>>0>255|(j|0)==255)break a}}else j=j&255;while(0);s=k[a+51904+(j<<2)>>2]|0;if(!s)break;y=m[a+52864+(j<<1)>>1]|0;p=o>>>0>>0?o:0;z=n+1|0;q=(p+1|0)>>>0>>0?n:z;o=(p+1|0)>>>0>>0?p+1|0:0;if(!((p|0)!=0|(t|0)==0)){j=0;do{k[E+(j<<2)>>2]=d;j=j+1|0}while(j>>>0>>0)}if(!c){if(n>>>0>B>>>0){C=15;break}if(!((n|0)!=(B|0)|p>>>0>>0)){C=15;break}}if(!t){p=0;n=q;j=0}else{y=0;x=q;w=o;j=0;u=s+((ha(D,p)|0)*6|0)|0;v=a;while(1){o=k[u>>2]|0;c:do if(!o){s=x;o=w}else{s=i[u+3>>0]|0;q=i[u+5>>0]|0;p=i[u+1>>0]|0;if(p<<24>>24){i[E+1024+y>>0]=p;i[E+896+y>>0]=0;i[E+768+y>>0]=-1}if(((o&255)+-1&255)<120)i[E+896+y>>0]=o;if((i[u+2>>0]|0)==1)i[E+768+y>>0]=i[u+4>>0]|0;d:do if(!(s<<24>>24)){t=h;h=q&255}else{e:do switch(s&255|0){case 12:{if((q&255)>>>0<=n>>>0)break a;if(!b){s=q&255;o=0;break c}i[v+245>>0]=0;i[v+244>>0]=0;s=q&255;o=0;break c}case 14:{if(!b){s=z;o=q&255;break c}i[v+245>>0]=0;i[v+244>>0]=0;s=z;o=q&255;break c}case 16:{if(!(q<<24>>24)){t=h;h=q&255;break d}if((q&255)>=33)if(!(q<<24>>24>-1?(k[a+59680>>2]|0)!=1:0)){t=h;h=q&255;break d}t=q&255;h=q&255;break d}case 17:{do if(b)if(!(k[a+59680>>2]&34))p=q&255;else{o=v+235|0;if(!(q<<24>>24)){p=l[o>>0]|0;break}else{i[o>>0]=q;p=q&255;break}}else p=q&255;while(0);if(p>>>0>31){t=h;g=p;h=p;break d}o=p&15;if((p&240|0)==16){g=o+g|0;t=h;g=g>>>0>255?255:g;h=p;break d}else{g=g-o|0;t=h;g=g>>>0<32?32:g;h=p;break d}}case 20:switch(q&240|0){case 96:{t=h;j=q&15;h=q&255;break d}case 176:{q=q&15|96;break e}default:{q=q&255;break e}}case 19:{q=q&255;break}default:{t=h;h=q&255;break d}}while(0);switch(q&240|0){case 224:{t=h;j=ha(q&15,h)|0;h=q;break d}case 96:break;default:{t=h;h=q;break d}}o=q&15;p=E+(y<<2)|0;if(!o){k[p>>2]=d;t=h;h=q;break}else{d=(ha(d-(k[p>>2]|0)|0,o)|0)+d|0;t=h;h=q;break}}while(0);if(b)switch(s&255|0){case 3:case 2:{if(!h){h=t;s=x;o=w;break c}i[v+220>>0]=h;h=t;s=x;o=w;break c}case 4:{if(!h){h=t;s=x;o=w;break c}k[v+184>>2]=h<<2;h=t;s=x;o=w;break c}case 10:{if(!h){h=t;s=x;o=w;break c}i[v+236>>0]=h;h=t;s=x;o=w;break c}case 7:case 6:case 11:{if(!h){h=t;s=x;o=w;break c}i[v+218>>0]=h;h=t;s=x;o=w;break c}case 13:{i[E+768+y>>0]=h;h=t;s=x;o=w;break c}case 23:{f=h<<((k[a+59680>>2]|0)>>>5&1^1);f=f>>>0>128?256:f<<1;h=t;s=x;o=w;break c}case 24:{e=(h|0)==0?e:h;do if((e&15|0)!=15|(e&240|0)==0){if(!((e&240|0)!=240|(e&15|0)==0)){f=f-((e&15)<<((k[a+59680>>2]|0)==32?1:2))|0;break}if(!(e&240)){f=f-(ha((e&15)<<((k[a+59680>>2]|0)==32?1:2),t)|0)|0;break}else{f=(ha(e>>>4<<((k[a+59680>>2]|0)==32?1:2),t)|0)+f|0;break}}else f=(e>>>4<<((k[a+59680>>2]|0)!=32&1)<<1)+f|0;while(0);f=(f|0)<0?0:f;f=(f|0)>256?256:f;h=t;s=x;o=w;break c}case 21:{if(h>>>0>=65){h=t;s=x;o=w;break c}i[E+512+y>>0]=h;h=t;s=x;o=w;break c}case 22:{if(!h)h=l[E+640+y>>0]|0;else i[E+640+y>>0]=h;i[v+223>>0]=h;q=h&15;s=h&240;do if((q|0)!=15|(s|0)==0){h=E+512+y|0;o=i[h>>0]|0;if(!((s|0)!=240|(q|0)==0)){p=h;h=(o&255)>>>0>q>>>0?(o&255)-q|0:0;break}if(!q){p=h;h=(o&255)+(ha(s>>>4,t)|0)|0;break}else{s=ha(q,t)|0;p=h;h=(o&255)>>>0>s>>>0?(o&255)-s|0:0;break}}else{s=E+512+y|0;p=s;h=(l[s>>0]|0)+(h>>>4)|0}while(0);i[p>>0]=h>>>0>64?64:h&255;h=t;s=x;o=w;break c}default:{h=t;s=x;o=w;break c}}else{h=t;s=x;o=w}}while(0);y=y+1|0;if(y>>>0>=D>>>0){p=D;n=s;break}else{x=s;w=o;u=u+6|0;v=v+256|0}}}t=p;d=((((j+h|0)*2500|0)>>>0)/(g>>>0)|0)+d|0}do if((C|0)==15)if(b){k[a+59708>>2]=h;k[a+59712>>2]=g;break}else{a=d;a=a+500|0;a=(a>>>0)/1e3|0;r=E;return a|0}while(0);if(b^1|c){a=d;a=a+500|0;a=(a>>>0)/1e3|0;r=E;return a|0}k[a+59744>>2]=f;k[a+59760>>2]=e;if(!D){a=d;a=a+500|0;a=(a>>>0)/1e3|0;r=E;return a|0}else g=0;do{k[a+(g<<8)+168>>2]=l[E+512+g>>0];e=i[E+896+g>>0]|0;if(e<<24>>24)i[a+(g<<8)+214>>0]=e;e=i[E+1024+g>>0]|0;if(e<<24>>24)i[a+(g<<8)+215>>0]=e;f=E+768+g|0;e=i[f>>0]|0;if(e<<24>>24!=-1){if((e&255)>64){i[f>>0]=64;e=64}k[a+(g<<8)+116>>2]=(e&255)<<2}g=g+1|0}while(g>>>0>>0);a=d+500|0;a=(a>>>0)/1e3|0;r=E;return a|0}function VPa(a,b){a=a|0;b=b|0;a=a>>>0>100?100:a;k[9757]=a>>>0>99?0:4-((a>>>0)/20|0)|0;a=b>>>0<40?40:b;k[9758]=a>>>0>250?250:a;return 1}function WPa(a,b){a=a|0;b=b|0;a=a>>>0>100?100:a;k[9755]=a>>>0>99?4:8-((a>>>0)/20|0)|0;k[9756]=b>>>0>29?26-((b>>>0)/5|0)|0:21;return 1}function XPa(a,b){a=a|0;b=b|0;a=((a<<4>>>0)/100|0)>>>0>16?16:(a<<4>>>0)/100|0;k[9759]=(a|0)==0?1:a;a=b>>>0<4?4:b;k[9760]=a>>>0>50?50:a;return 1}function YPa(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=k[182125]&-507;a=a?h|64:h;a=b?a|8:a;a=c?a|128:a;d=d?a|16:a;d=e?d|32:d;d=f?d|2:d;k[182125]=g?d|256:d;ULa(0)|0;return 1}function ZPa(a){a=a|0;var b=0;b=k[9761]|0;if(b&4){VPa(k[9768]|0,k[9769]|0)|0;b=k[9761]|0}if(!(b&8))WPa(0,0)|0;else WPa(k[9770]|0,k[9771]|0)|0;if(k[9761]&16|0)XPa(k[9772]|0,k[9773]|0)|0;if(a){OPa(k[9764]|0,k[9763]|0,k[9762]|0,0)|0;PPa(k[9766]|0,k[9767]|0)|0;a=ha(k[9762]|0,(k[9763]|0)/8|0)|0;k[186225]=a}a=k[9761]|0;YPa((a&16|0)!=0,(a&1|0)==0,(a&4|0)!=0,1,(a&8|0)!=0,(a&2|0)!=0,0)|0;QPa(k[9765]|0)|0;return}function _Pa(a,b){a=a|0;b=b|0;var c=0;c=kBb(67500)|0;TNa(c);ZPa(1);if(WNa(c,a,b)|0){b=k[9774]|0;k[c+59772>>2]=b;k[c+59776>>2]=b;b=c;return b|0}else{UNa(c);CAb(c);b=0;return b|0}return 0}function $Pa(a){a=a|0;VNa(a)|0;if(!a)return;UNa(a);CAb(a);return}function aQa(a,b,c){a=a|0;b=b|0;c=c|0;c=XLa(a,b,c)|0;return ha(k[186225]|0,c)|0}function bQa(a){a=a|0;return (UPa(a,0,1)|0)*1e3|0}function cQa(a,b){a=a|0;b=b|0;RPa(a,b,0)|0;return}function dQa(a,b){a=a|0;b=b|0;var c=0;c=(UPa(a,0,1)|0)*1e3|0;TPa(a,~~(+(((c|0)<(b|0)?c:b)|0)*(+(SPa(a)|0)/+(c|0))));return}function eQa(a){a=a|0;var b=0,c=0;c=39044;b=c+56|0;do{k[c>>2]=k[a>>2];c=c+4|0;a=a+4|0}while((c|0)<(b|0));ZPa(0);return}function fQa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;g=r;r=r+32|0;if(!d){b=-20;r=g;return b|0}if(!a){b=-1;r=g;return b|0}xRa(g,k[d>>2]|0,k[d+4>>2]|0);e=yRa(g,8)|0;if(!(e&128))if(!(k[a+4>>2]|0))f=7;else if(!(k[b+12>>2]|0))f=7;else if(!(k[c>>2]|0))f=7;else e=0;else f=7;a:do if((f|0)==7){f=(yRa(g,8)|0)&255;i[g+20>>0]=f;f=(yRa(g,8)|0)&255;i[g+20+1>>0]=f;f=(yRa(g,8)|0)&255;i[g+20+2>>0]=f;f=(yRa(g,8)|0)&255;i[g+20+3>>0]=f;f=(yRa(g,8)|0)&255;i[g+20+4>>0]=f;f=(yRa(g,8)|0)&255;i[g+20+5>>0]=f;if(!(Emb(g+20|0,527219,6)|0))switch(e|0){case 128:{if(!(k[d+8>>2]|0)){e=-20;break a}if(k[a+4>>2]|0){e=-20;break a}e=(yRa(g,8)|0)&255;i[a>>0]=e;e=(yRa(g,8)|0)&255;i[a+1>>0]=e;e=(yRa(g,8)|0)&255;i[a+2>>0]=e;e=i[a>>0]|0;do if((e&255)>3)e=-22;else{if(e<<24>>24==3)if((l[a+1>>0]|0)>2){e=-22;break}c=(yRa(g,16)|0)<<4;k[a+4>>2]=c;c=(yRa(g,16)|0)<<4;k[a+8>>2]=c;c=yRa(g,24)|0;k[a+12>>2]=c;c=yRa(g,24)|0;k[a+16>>2]=c;c=yRa(g,8)|0;k[a+20>>2]=c;c=yRa(g,8)|0;k[a+24>>2]=c;c=yRa(g,32)|0;k[a+28>>2]=c;c=yRa(g,32)|0;k[a+32>>2]=c;e=k[a+4>>2]|0;if(!e)e=-20;else{f=k[a+8>>2]|0;if(!f)e=-20;else if(((k[a+20>>2]|0)+(k[a+12>>2]|0)|0)>>>0>e>>>0)e=-20;else{e=k[a+16>>2]|0;d=k[a+24>>2]|0;if((d+e|0)>>>0>f>>>0)e=-20;else if((c|0)==0|(k[a+28>>2]|0)==0)e=-20;else{k[a+24>>2]=f-e-d;b=yRa(g,24)|0;k[a+36>>2]=b;b=yRa(g,24)|0;k[a+40>>2]=b;b=yRa(g,8)|0;k[a+44>>2]=b;b=yRa(g,24)|0;k[a+52>>2]=b;b=yRa(g,6)|0;k[a+56>>2]=b;b=yRa(g,5)|0;k[a+60>>2]=b;b=yRa(g,2)|0;k[a+48>>2]=b;if((b|0)==1)e=-20;else if(!(yRa(g,3)|0)){e=(ARa(g)|0)>>31&-20;if((e|0)>=0){e=3;break a}}else e=-20}}}}while(0);ZQa(a);break a}case 129:{if(!b){e=-1;break a}if(!(k[a+4>>2]|0)){e=-20;break a}if(k[b+12>>2]|0){e=-20;break a}c=yRa(g,8)|0;a=yRa(g,8)|0;c=a<<8|c|(yRa(g,8)|0)<<16|(yRa(g,8)|0)<<24;b:do if((c|0)<0)e=-20;else if((c|0)>(ARa(g)|0))e=-20;else{e=hqb(c+1|0)|0;k[b+12>>2]=e;if(!e)e=-1;else{if(c){d=c;while(1){d=d+-1|0;a=(yRa(g,8)|0)&255;i[e>>0]=a;if(!d)break;else e=e+1|0}e=k[b+12>>2]|0}i[e+c>>0]=0;a=yRa(g,8)|0;f=yRa(g,8)|0;e=yRa(g,8)|0;e=f<<8|a|e<<16|(yRa(g,8)|0)<<24;k[b+8>>2]=e;if(e>>>0<=536870911)if((e<<2|0)<=(ARa(g)|0)){a=k[b+8>>2]|0;f=hqb(a<<2)|0;k[b+4>>2]=f;f=hqb(a<<2)|0;k[b>>2]=f;c:do if((a|0)>0){e=0;while(1){a=yRa(g,8)|0;c=yRa(g,8)|0;f=yRa(g,8)|0;f=c<<8|a|f<<16|(yRa(g,8)|0)<<24;if((f|0)<0){f=38;break}if((f|0)>(ARa(g)|0)){f=38;break}k[(k[b+4>>2]|0)+(e<<2)>>2]=f;d=hqb(f+1|0)|0;k[(k[b>>2]|0)+(e<<2)>>2]=d;d=k[(k[b>>2]|0)+(e<<2)>>2]|0;if(!d){f=40;break}if(f){c=f;while(1){c=c+-1|0;a=(yRa(g,8)|0)&255;i[d>>0]=a;if(!c)break;else d=d+1|0}d=k[(k[b>>2]|0)+(e<<2)>>2]|0}i[d+f>>0]=0;e=e+1|0;if((e|0)>=(k[b+8>>2]|0))break c}if((f|0)==38){k[b+8>>2]=e;e=-20;break b}else if((f|0)==40){k[b+8>>2]=e;e=-1;break b}}while(0);e=(ARa(g)|0)>>31&-20;if((e|0)<0)break;else{e=2;break a}}k[b+8>>2]=0;e=-20}}while(0);$Qa(b);break a}case 130:{if((b|0)==0|(c|0)==0){e=-1;break a}if(!(k[a+4>>2]|0)){e=-20;break a}if(!(k[b+12>>2]|0)){e=-20;break a}if(k[c>>2]|0){e=-20;break a}d=jqb(1,712)|0;if(!d){e=-1;break a}e=AQa(g,d+320|0)|0;if((e|0)>=0){e=MQa(g,d)|0;if((e|0)>=0){k[c>>2]=d;e=1;break a}}BQa(d+320|0);WQa(d);iqb(d);break a}default:{e=-20;break a}}else e=-21}while(0);b=e;r=g;return b|0}function gQa(a){a=a|0;if(!a)return;BQa(a+320|0);WQa(a);iqb(a);return}function hQa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0;if((a|0)==0|(b|0)==0){d=0;return d|0}d=hqb(54032)|0;do if(d|0)if((kRa(d,a,3)|0)>=0){if((UQa(d+51576|0,b)|0)<0){pRa(d);break}c=hqb((k[d+216>>2]|0)*129|0)|0;k[d+53432>>2]=c;if(!c){WQa(d+51576|0);pRa(d);break}else a=0;do{k[d+800+(a*24|0)>>2]=d+2336+(a*768|0);k[d+800+(a*24|0)+4>>2]=d+2336+(a*768|0)+128;k[d+800+(a*24|0)+8>>2]=d+2336+(a*768|0)+256;k[d+800+(a*24|0)+12>>2]=d+2336+(a*768|0)+384;k[d+800+(a*24|0)+16>>2]=d+2336+(a*768|0)+512;k[d+800+(a*24|0)+20>>2]=d+2336+(a*768|0)+640;a=a+1|0}while((a|0)!=64);gRa(d+800|0,d+53448|0,b+320|0);a=0;do{e=k[d+800+(a<<2)>>2]|0;j=k[d+808+(a<<2)>>2]|0;h=k[d+816+(a<<2)>>2]|0;c=k[d+824+(a<<2)>>2]|0;g=k[d+832+(a<<2)>>2]|0;f=k[d+840+(a<<2)>>2]|0;k[d+53704+(a<<2)>>2]=0-((m[j+34>>1]|0)+(m[j+24>>1]|0)+(m[j+36>>1]|0)+(m[j+48>>1]|0)+(m[h+24>>1]|0)+(m[h+34>>1]|0)+(m[h+36>>1]|0)+(m[h+48>>1]|0)+(m[g+24>>1]|0)+(m[g+34>>1]|0)+(m[g+36>>1]|0)+(m[g+48>>1]|0)+(m[f+24>>1]|0)+(m[f+34>>1]|0)+(m[f+36>>1]|0)+(m[f+48>>1]|0)+((m[e+34>>1]|0)+(m[e+24>>1]|0)+(m[e+36>>1]|0)+(m[e+48>>1]|0)+(m[c+24>>1]|0)+(m[c+34>>1]|0)+(m[c+36>>1]|0)+(m[c+48>>1]|0)<<1)>>11);a=a+1|0}while((a|0)!=64);c=d+51488|0;a=b+576|0;b=c+64|0;do{i[c>>0]=i[a>>0]|0;c=c+1|0;a=a+1|0}while((c|0)<(b|0));k[d+53444>>2]=0;k[d+53960>>2]=0;k[d+53964>>2]=0;k[d+53968>>2]=0;k[d+54024>>2]=0;k[d+54028>>2]=0;k[d+776>>2]=0;k[d+776+4>>2]=0;j=d;return j|0}while(0);iqb(d);j=0;return j|0}function iQa(a){a=a|0;if(!a)return;iqb(k[a+53968>>2]|0);iqb(k[a+53964>>2]|0);iqb(k[a+53960>>2]|0);iqb(k[a+53432>>2]|0);WQa(a+51576|0);pRa(a);iqb(a);return}function jQa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;switch(b|0){case 1:{if((a|0)==0|(c|0)==0){a=-1;return a|0}if((d|0)!=4){a=-10;return a|0}k[c>>2]=7;a=0;return a|0}case 3:{if((a|0)==0|(c|0)==0){a=-1;return a|0}if((d|0)!=4){a=-10;return a|0}d=k[c>>2]|0;if(d>>>0>7){a=-10;return a|0}k[a+53444>>2]=d;a=0;return a|0}case 5:{if((a|0)==0|(c|0)==0){a=-1;return a|0}if((d|0)!=8){a=-10;return a|0}b=k[c>>2]|0;d=k[c+4>>2]|0;if((d|0)<0){a=-10;return a|0}k[a+784>>2]=b;k[a+784+4>>2]=d;f=k[a+60>>2]|0;e=EBb(GBb(b|0,d|0,f|0)|0,L|0,l[a+793>>0]|0|0,0)|0;c=L;k[a+768>>2]=e;k[a+768+4>>2]=c;c=xBb((1<>31&d|0,e|0,c|0)|0;k[a+776>>2]=c;k[a+776+4>>2]=L;a=0;return a|0}case 7:{if((a|0)==0|(c|0)==0){f=-1;return f|0}if((d|0)!=8){f=-10;return f|0}k[a+54024>>2]=k[c>>2];k[a+54028>>2]=k[c+4>>2];f=0;return f|0}default:{f=-23;return f|0}}return 0}function kQa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;A=k[a+2816>>2]|0;w=k[a+4144>>2]|0;x=k[a+4152>>2]|0;y=k[a+4160>>2]|0;z=k[a+4168>>2]|0;v=k[a+11104>>2]|0;u=k[a+11208>>2]|0;s=k[a+11280>>2]|0;r=k[a+11328>>2]|0;q=k[a+11424>>2]|0;p=k[a+11592>>2]|0;o=k[a+11640>>2]|0;n=k[a+11888>>2]|0;B=k[a+11968>>2]|0;C=k[a+12064>>2]|0;c=k[a+12136>>2]|0;g=k[a+12240>>2]|0;f=k[a+12456>>2]|0;e=k[a+12480>>2]|0;E=k[a+12560>>2]|0;F=k[a+12640>>2]|0;D=k[a+14544>>2]|0;G=k[a+16016>>2]|0;a:{do if(!(Dmb(D,524684,4)|0)){if((i[D+4>>0]|0)!=e<<24>>24)break;b=l[A+412>>0]|l[A+412+1>>0]<<8|l[A+412+2>>0]<<16|l[A+412+3>>0]<<24;if(!b){b=BOa(A,1279174,0)|0;t=l[A+376>>0]|l[A+376+1>>0]<<8|l[A+376+2>>0]<<16|l[A+376+3>>0]<<24;i[b+20>>0]=t;i[b+20+1>>0]=t>>8;i[b+20+2>>0]=t>>16;i[b+20+3>>0]=t>>24}i[A+412>>0]=b;i[A+412+1>>0]=b>>8;i[A+412+2>>0]=b>>16;i[A+412+3>>0]=b>>24;do if(!c){m=l[A+424>>0]|l[A+424+1>>0]<<8|l[A+424+2>>0]<<16|l[A+424+3>>0]<<24;t=jqb(1,16)|0;i[t>>0]=0;i[t+1>>0]=0;i[t+2>>0]=0;i[t+3>>0]=0;i[t+4>>0]=m;i[t+4+1>>0]=m>>8;i[t+4+2>>0]=m>>16;i[t+4+3>>0]=m>>24;i[t+8>>0]=1;i[t+9>>0]=80;i[t+10>>0]=0;i[t+10+1>>0]=0;i[t+10+2>>0]=0;i[t+10+3>>0]=0;i[t+14>>0]=i[1274943]|0;i[t+15>>0]=0;DOa(b,t);t=l[A+412>>0]|l[A+412+1>>0]<<8|l[A+412+2>>0]<<16|l[A+412+3>>0]<<24;m=l[A+424>>0]|l[A+424+1>>0]<<8|l[A+424+2>>0]<<16|l[A+424+3>>0]<<24;A=jqb(1,16)|0;i[A>>0]=0;i[A+1>>0]=0;i[A+2>>0]=0;i[A+3>>0]=0;i[A+4>>0]=m;i[A+4+1>>0]=m>>8;i[A+4+2>>0]=m>>16;i[A+4+3>>0]=m>>24;i[A+8>>0]=1;i[A+9>>0]=79;i[A+10>>0]=0;i[A+10+1>>0]=0;i[A+10+2>>0]=0;i[A+10+3>>0]=0;i[A+14>>0]=i[1274943]|0;i[A+15>>0]=0;DOa(t,A)}else{if((c|0)<=0)break;m=l[A+424>>0]|l[A+424+1>>0]<<8|l[A+424+2>>0]<<16|l[A+424+3>>0]<<24;t=jqb(1,16)|0;i[t>>0]=0;i[t+1>>0]=0;i[t+2>>0]=0;i[t+3>>0]=0;i[t+4>>0]=m;i[t+4+1>>0]=m>>8;i[t+4+2>>0]=m>>16;i[t+4+3>>0]=m>>24;i[t+8>>0]=1;i[t+9>>0]=80;i[t+10>>0]=0;i[t+10+1>>0]=0;i[t+10+2>>0]=0;i[t+10+3>>0]=0;i[t+14>>0]=i[1274943]|0;i[t+15>>0]=0;DOa(b,t);t=l[A+412>>0]|l[A+412+1>>0]<<8|l[A+412+2>>0]<<16|l[A+412+3>>0]<<24;m=l[A+424>>0]|l[A+424+1>>0]<<8|l[A+424+2>>0]<<16|l[A+424+3>>0]<<24;A=jqb(1,16)|0;i[A>>0]=0;i[A+1>>0]=0;i[A+2>>0]=0;i[A+3>>0]=0;i[A+4>>0]=m;i[A+4+1>>0]=m>>8;i[A+4+2>>0]=m>>16;i[A+4+3>>0]=m>>24;i[A+8>>0]=1;i[A+9>>0]=88;i[A+10>>0]=0;i[A+10+1>>0]=0;i[A+10+2>>0]=0;i[A+10+3>>0]=0;i[A+14>>0]=i[1274943]|0;i[A+15>>0]=0;DOa(t,A)}while(0);m=B;h=C;j=0;d=E;c=F;b=D+5|0;k[a+16080>>2]=2;k[a+16084>>2]=30;break a}while(0);do if(!(Dmb(D,524689,8)|0)){if((i[D+8>>0]|0)!=e<<24>>24)break;v=1;m=B;h=C;j=0;d=E;c=F;b=D+9|0;k[a+16080>>2]=2;k[a+16084>>2]=30;break a}while(0);do if(!(Dmb(D,524698,10)|0)){if((i[D+10>>0]|0)!=e<<24>>24)break;b=l[A+412>>0]|l[A+412+1>>0]<<8|l[A+412+2>>0]<<16|l[A+412+3>>0]<<24;if(!b){b=BOa(A,1279174,0)|0;t=l[A+376>>0]|l[A+376+1>>0]<<8|l[A+376+2>>0]<<16|l[A+376+3>>0]<<24;i[b+20>>0]=t;i[b+20+1>>0]=t>>8;i[b+20+2>>0]=t>>16;i[b+20+3>>0]=t>>24}i[A+412>>0]=b;i[A+412+1>>0]=b>>8;i[A+412+2>>0]=b>>16;i[A+412+3>>0]=b>>24;d=l[A+424>>0]|l[A+424+1>>0]<<8|l[A+424+2>>0]<<16|l[A+424+3>>0]<<24;b=l[A+8>>0]|l[A+8+1>>0]<<8|l[A+8+2>>0]<<16|l[A+8+3>>0]<<24;if(b|0)do{c=b+28|0;i[c>>0]=d;i[c+1>>0]=d>>8;i[c+2>>0]=d>>16;i[c+3>>0]=d>>24;c=b+32|0;if((l[c>>0]|l[c+1>>0]<<8|l[c+2>>0]<<16|l[c+3>>0]<<24|0)>-2){i[c>>0]=1;i[c+1>>0]=0;i[c+2>>0]=0;i[c+3>>0]=0}b=l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24}while((b|0)!=0);m=B;h=C;j=0;d=E;c=F;b=D+11|0;k[a+16080>>2]=2;k[a+16084>>2]=30;break a}while(0);do if(!(Dmb(D,524709,10)|0)){if((i[D+10>>0]|0)!=e<<24>>24)break;b=l[A+412>>0]|l[A+412+1>>0]<<8|l[A+412+2>>0]<<16|l[A+412+3>>0]<<24;if(!b){b=BOa(A,1279174,0)|0;t=l[A+376>>0]|l[A+376+1>>0]<<8|l[A+376+2>>0]<<16|l[A+376+3>>0]<<24;i[b+20>>0]=t;i[b+20+1>>0]=t>>8;i[b+20+2>>0]=t>>16;i[b+20+3>>0]=t>>24}i[A+412>>0]=b;i[A+412+1>>0]=b>>8;i[A+412+2>>0]=b>>16;i[A+412+3>>0]=b>>24;b=l[A+8>>0]|l[A+8+1>>0]<<8|l[A+8+2>>0]<<16|l[A+8+3>>0]<<24;if(b|0)do{c=b+32|0;if((l[c>>0]|l[c+1>>0]<<8|l[c+2>>0]<<16|l[c+3>>0]<<24|0)>-2){i[c>>0]=0;i[c+1>>0]=0;i[c+2>>0]=0;i[c+3>>0]=0}b=l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24}while((b|0)!=0);m=B;h=C;j=0;d=E;c=F;b=D+11|0;k[a+16080>>2]=2;k[a+16084>>2]=30;break a}while(0);do if(!(Dmb(D,524720,2)|0)){if((i[D+2>>0]|0)!=e<<24>>24)break;b=l[A+412>>0]|l[A+412+1>>0]<<8|l[A+412+2>>0]<<16|l[A+412+3>>0]<<24;if(!b){b=BOa(A,1279174,0)|0;t=l[A+376>>0]|l[A+376+1>>0]<<8|l[A+376+2>>0]<<16|l[A+376+3>>0]<<24;i[b+20>>0]=t;i[b+20+1>>0]=t>>8;i[b+20+2>>0]=t>>16;i[b+20+3>>0]=t>>24}i[A+412>>0]=b;i[A+412+1>>0]=b>>8;i[A+412+2>>0]=b>>16;i[A+412+3>>0]=b>>24;d=l[A+424>>0]|l[A+424+1>>0]<<8|l[A+424+2>>0]<<16|l[A+424+3>>0]<<24;b=l[A+8>>0]|l[A+8+1>>0]<<8|l[A+8+2>>0]<<16|l[A+8+3>>0]<<24;if(b|0)do{c=b+28|0;i[c>>0]=d;i[c+1>>0]=d>>8;i[c+2>>0]=d>>16;i[c+3>>0]=d>>24;c=b+32|0;if((l[c>>0]|l[c+1>>0]<<8|l[c+2>>0]<<16|l[c+3>>0]<<24|0)>-2){i[c>>0]=1;i[c+1>>0]=0;i[c+2>>0]=0;i[c+3>>0]=0}b=l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24}while((b|0)!=0);m=B;h=C;j=0;d=E;c=F;b=D+3|0;k[a+16080>>2]=2;k[a+16084>>2]=30;break a}while(0);do if(!(Dmb(D,524723,2)|0)){if((i[D+2>>0]|0)!=e<<24>>24)break;b=l[A+412>>0]|l[A+412+1>>0]<<8|l[A+412+2>>0]<<16|l[A+412+3>>0]<<24;if(!b){b=BOa(A,1279174,0)|0;t=l[A+376>>0]|l[A+376+1>>0]<<8|l[A+376+2>>0]<<16|l[A+376+3>>0]<<24;i[b+20>>0]=t;i[b+20+1>>0]=t>>8;i[b+20+2>>0]=t>>16;i[b+20+3>>0]=t>>24}i[A+412>>0]=b;i[A+412+1>>0]=b>>8;i[A+412+2>>0]=b>>16;i[A+412+3>>0]=b>>24;b=l[A+8>>0]|l[A+8+1>>0]<<8|l[A+8+2>>0]<<16|l[A+8+3>>0]<<24;if(b|0)do{c=b+32|0;if((l[c>>0]|l[c+1>>0]<<8|l[c+2>>0]<<16|l[c+3>>0]<<24|0)>-2){i[c>>0]=0;i[c+1>>0]=0;i[c+2>>0]=0;i[c+3>>0]=0}b=l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24}while((b|0)!=0);m=B;h=C;j=0;d=E;c=F;b=D+3|0;k[a+16080>>2]=2;k[a+16084>>2]=30;break a}while(0);do if(!(Dmb(D,524726,11)|0)){if((i[D+11>>0]|0)!=e<<24>>24)break;b=l[A+412>>0]|l[A+412+1>>0]<<8|l[A+412+2>>0]<<16|l[A+412+3>>0]<<24;if(!b){b=BOa(A,1279174,0)|0;t=l[A+376>>0]|l[A+376+1>>0]<<8|l[A+376+2>>0]<<16|l[A+376+3>>0]<<24;i[b+20>>0]=t;i[b+20+1>>0]=t>>8;i[b+20+2>>0]=t>>16;i[b+20+3>>0]=t>>24}i[A+412>>0]=b;i[A+412+1>>0]=b>>8;i[A+412+2>>0]=b>>16;i[A+412+3>>0]=b>>24;d=l[A+424>>0]|l[A+424+1>>0]<<8|l[A+424+2>>0]<<16|l[A+424+3>>0]<<24;b=l[A+8>>0]|l[A+8+1>>0]<<8|l[A+8+2>>0]<<16|l[A+8+3>>0]<<24;if(b|0)do{c=b+28|0;i[c>>0]=d;i[c+1>>0]=d>>8;i[c+2>>0]=d>>16;i[c+3>>0]=d>>24;c=b+32|0;if((l[c>>0]|l[c+1>>0]<<8|l[c+2>>0]<<16|l[c+3>>0]<<24|0)>-2){i[c>>0]=-1;i[c+1>>0]=-1>>8;i[c+2>>0]=-1>>16;i[c+3>>0]=-1>>24}b=l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24}while((b|0)!=0);m=B;h=C;j=0;d=E;c=F;b=D+12|0;k[a+16080>>2]=2;k[a+16084>>2]=30;break a}while(0);do if(!(Dmb(D,524738,11)|0)){if((i[D+11>>0]|0)!=e<<24>>24)break;b=l[A+412>>0]|l[A+412+1>>0]<<8|l[A+412+2>>0]<<16|l[A+412+3>>0]<<24;if(!b){b=BOa(A,1279174,0)|0;t=l[A+376>>0]|l[A+376+1>>0]<<8|l[A+376+2>>0]<<16|l[A+376+3>>0]<<24;i[b+20>>0]=t;i[b+20+1>>0]=t>>8;i[b+20+2>>0]=t>>16;i[b+20+3>>0]=t>>24}i[A+412>>0]=b;i[A+412+1>>0]=b>>8;i[A+412+2>>0]=b>>16;i[A+412+3>>0]=b>>24;b=l[A+8>>0]|l[A+8+1>>0]<<8|l[A+8+2>>0]<<16|l[A+8+3>>0]<<24;if(b|0)do{c=b+32|0;if((l[c>>0]|l[c+1>>0]<<8|l[c+2>>0]<<16|l[c+3>>0]<<24|0)>-2){i[c>>0]=0;i[c+1>>0]=0;i[c+2>>0]=0;i[c+3>>0]=0}b=l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24}while((b|0)!=0);m=B;h=C;j=0;d=E;c=F;b=D+12|0;k[a+16080>>2]=2;k[a+16084>>2]=30;break a}while(0);do if(!(Dmb(D,524750,2)|0)){if((i[D+2>>0]|0)!=e<<24>>24)break;b=l[A+412>>0]|l[A+412+1>>0]<<8|l[A+412+2>>0]<<16|l[A+412+3>>0]<<24;if(!b){b=BOa(A,1279174,0)|0;t=l[A+376>>0]|l[A+376+1>>0]<<8|l[A+376+2>>0]<<16|l[A+376+3>>0]<<24;i[b+20>>0]=t;i[b+20+1>>0]=t>>8;i[b+20+2>>0]=t>>16;i[b+20+3>>0]=t>>24}i[A+412>>0]=b;i[A+412+1>>0]=b>>8;i[A+412+2>>0]=b>>16;i[A+412+3>>0]=b>>24;d=l[A+424>>0]|l[A+424+1>>0]<<8|l[A+424+2>>0]<<16|l[A+424+3>>0]<<24;b=l[A+8>>0]|l[A+8+1>>0]<<8|l[A+8+2>>0]<<16|l[A+8+3>>0]<<24;if(b|0)do{c=b+28|0;i[c>>0]=d;i[c+1>>0]=d>>8;i[c+2>>0]=d>>16;i[c+3>>0]=d>>24;c=b+32|0;if((l[c>>0]|l[c+1>>0]<<8|l[c+2>>0]<<16|l[c+3>>0]<<24|0)>-2){i[c>>0]=-1;i[c+1>>0]=-1>>8;i[c+2>>0]=-1>>16;i[c+3>>0]=-1>>24}b=l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24}while((b|0)!=0);m=B;h=C;j=0;d=E;c=F;b=D+3|0;k[a+16080>>2]=2;k[a+16084>>2]=30;break a}while(0);do if(!(Dmb(D,524753,2)|0)){if((i[D+2>>0]|0)!=e<<24>>24)break;b=l[A+412>>0]|l[A+412+1>>0]<<8|l[A+412+2>>0]<<16|l[A+412+3>>0]<<24;if(!b){b=BOa(A,1279174,0)|0;t=l[A+376>>0]|l[A+376+1>>0]<<8|l[A+376+2>>0]<<16|l[A+376+3>>0]<<24;i[b+20>>0]=t;i[b+20+1>>0]=t>>8;i[b+20+2>>0]=t>>16;i[b+20+3>>0]=t>>24}i[A+412>>0]=b;i[A+412+1>>0]=b>>8;i[A+412+2>>0]=b>>16;i[A+412+3>>0]=b>>24;b=l[A+8>>0]|l[A+8+1>>0]<<8|l[A+8+2>>0]<<16|l[A+8+3>>0]<<24;if(b|0)do{c=b+32|0;if((l[c>>0]|l[c+1>>0]<<8|l[c+2>>0]<<16|l[c+3>>0]<<24|0)>-2){i[c>>0]=0;i[c+1>>0]=0;i[c+2>>0]=0;i[c+3>>0]=0}b=l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24}while((b|0)!=0);m=B;h=C;j=0;d=E;c=F;b=D+3|0;k[a+16080>>2]=2;k[a+16084>>2]=30;break a}while(0);do if(!(Dmb(D,524756,5)|0)){if((i[D+5>>0]|0)!=e<<24>>24)break;u=2;s=1;m=B;h=C;j=0;d=E;c=F;b=D+6|0;k[a+16080>>2]=2;k[a+16084>>2]=30;break a}while(0);do if(!(Dmb(D,524762,7)|0)){if((i[D+7>>0]|0)!=e<<24>>24)break;u=2;s=0;m=B;h=C;j=0;d=E;c=F;b=D+8|0;k[a+16080>>2]=2;k[a+16084>>2]=30;break a}while(0);do if(!(Dmb(D,524770,5)|0)){if((i[D+5>>0]|0)!=e<<24>>24)break;u=1;s=0;m=B;h=C;j=0;d=E;c=F;b=D+6|0;k[a+16080>>2]=2;k[a+16084>>2]=30;break a}while(0);do if(!(Dmb(D,524776,6)|0)){if((i[D+6>>0]|0)!=e<<24>>24)break;u=1;s=255;m=B;h=C;j=0;d=E;c=F;b=D+7|0;k[a+16080>>2]=2;k[a+16084>>2]=30;break a}while(0);do if(!(Dmb(D,524783,6)|0)){if((i[D+6>>0]|0)!=e<<24>>24)break;u=0;s=0;m=B;h=C;j=0;d=E;c=F;b=D+7|0;k[a+16080>>2]=2;k[a+16084>>2]=30;break a}while(0);do if(!(Dmb(D,524790,6)|0)){if((i[D+6>>0]|0)!=e<<24>>24)break;u=3;s=0;m=B;h=C;j=0;d=E;c=F;b=D+7|0;k[a+16080>>2]=2;k[a+16084>>2]=30;break a}while(0);do if(!(Dmb(D,524797,8)|0)){if((i[D+8>>0]|0)!=e<<24>>24)break;u=3;s=0;m=B;h=C;j=0;d=E;c=F;b=D+9|0;k[a+16080>>2]=2;k[a+16084>>2]=30;break a}while(0);b=i[D>>0]|0;do if(b<<24>>24==62){if((i[D+1>>0]|0)!=e<<24>>24)break;u=3;s=0;m=B;h=C;j=0;d=E;c=F;b=D+2|0;k[a+16080>>2]=2;k[a+16084>>2]=30;break a}while(0);do if(!(Dmb(D,524806,7)|0)){if((i[D+7>>0]|0)!=e<<24>>24)break;r=1;m=B;h=C;j=0;d=E;c=F;b=D+8|0;k[a+16080>>2]=2;k[a+16084>>2]=30;break a}while(0);do if(!(Dmb(D,524814,4)|0)){if((i[D+4>>0]|0)!=e<<24>>24)break;b=l[A+412>>0]|l[A+412+1>>0]<<8|l[A+412+2>>0]<<16|l[A+412+3>>0]<<24;if(!b){b=BOa(A,1279174,0)|0;t=l[A+376>>0]|l[A+376+1>>0]<<8|l[A+376+2>>0]<<16|l[A+376+3>>0]<<24;i[b+20>>0]=t;i[b+20+1>>0]=t>>8;i[b+20+2>>0]=t>>16;i[b+20+3>>0]=t>>24}i[A+412>>0]=b;i[A+412+1>>0]=b>>8;i[A+412+2>>0]=b>>16;i[A+412+3>>0]=b>>24;j=l[A+424>>0]|l[A+424+1>>0]<<8|l[A+424+2>>0]<<16|l[A+424+3>>0]<<24;h=jqb(1,16)|0;i[h>>0]=0;i[h+1>>0]=0;i[h+2>>0]=0;i[h+3>>0]=0;i[h+4>>0]=j;i[h+4+1>>0]=j>>8;i[h+4+2>>0]=j>>16;i[h+4+3>>0]=j>>24;i[h+8>>0]=1;i[h+9>>0]=80;i[h+10>>0]=0;i[h+10+1>>0]=0;i[h+10+2>>0]=0;i[h+10+3>>0]=0;i[h+14>>0]=i[1274943]|0;i[h+15>>0]=0;DOa(b,h);h=l[A+412>>0]|l[A+412+1>>0]<<8|l[A+412+2>>0]<<16|l[A+412+3>>0]<<24;j=l[A+424>>0]|l[A+424+1>>0]<<8|l[A+424+2>>0]<<16|l[A+424+3>>0]<<24;m=jqb(1,16)|0;i[m>>0]=0;i[m+1>>0]=0;i[m+2>>0]=0;i[m+3>>0]=0;i[m+4>>0]=j;i[m+4+1>>0]=j>>8;i[m+4+2>>0]=j>>16;i[m+4+3>>0]=j>>24;i[m+8>>0]=1;i[m+9>>0]=70;i[m+10>>0]=0;i[m+10+1>>0]=0;i[m+10+2>>0]=0;i[m+10+3>>0]=0;i[m+14>>0]=i[1274943]|0;i[m+15>>0]=0;DOa(h,m);m=B;h=C;j=0;d=E;c=F;b=D+5|0;k[a+16080>>2]=2;k[a+16084>>2]=30;break a}while(0);do if(!(Dmb(D,524819,5)|0)){if((i[D+5>>0]|0)!=e<<24>>24)break;b=l[A+412>>0]|l[A+412+1>>0]<<8|l[A+412+2>>0]<<16|l[A+412+3>>0]<<24;if(!b){b=BOa(A,1279174,0)|0;t=l[A+376>>0]|l[A+376+1>>0]<<8|l[A+376+2>>0]<<16|l[A+376+3>>0]<<24;i[b+20>>0]=t;i[b+20+1>>0]=t>>8;i[b+20+2>>0]=t>>16;i[b+20+3>>0]=t>>24}i[A+412>>0]=b;i[A+412+1>>0]=b>>8;i[A+412+2>>0]=b>>16;i[A+412+3>>0]=b>>24;j=l[A+424>>0]|l[A+424+1>>0]<<8|l[A+424+2>>0]<<16|l[A+424+3>>0]<<24;h=jqb(1,16)|0;i[h>>0]=0;i[h+1>>0]=0;i[h+2>>0]=0;i[h+3>>0]=0;i[h+4>>0]=j;i[h+4+1>>0]=j>>8;i[h+4+2>>0]=j>>16;i[h+4+3>>0]=j>>24;i[h+8>>0]=1;i[h+9>>0]=80;i[h+10>>0]=0;i[h+10+1>>0]=0;i[h+10+2>>0]=0;i[h+10+3>>0]=0;i[h+14>>0]=i[1274943]|0;i[h+15>>0]=0;DOa(b,h);h=l[A+412>>0]|l[A+412+1>>0]<<8|l[A+412+2>>0]<<16|l[A+412+3>>0]<<24;j=l[A+424>>0]|l[A+424+1>>0]<<8|l[A+424+2>>0]<<16|l[A+424+3>>0]<<24;m=jqb(1,16)|0;i[m>>0]=0;i[m+1>>0]=0;i[m+2>>0]=0;i[m+3>>0]=0;i[m+4>>0]=j;i[m+4+1>>0]=j>>8;i[m+4+2>>0]=j>>16;i[m+4+3>>0]=j>>24;i[m+8>>0]=1;i[m+9>>0]=36;i[m+10>>0]=0;i[m+10+1>>0]=0;i[m+10+2>>0]=0;i[m+10+3>>0]=0;i[m+14>>0]=i[1274943]|0;i[m+15>>0]=0;DOa(h,m);m=B;h=C;j=0;d=E;c=F;b=D+6|0;k[a+16080>>2]=2;k[a+16084>>2]=30;break a}while(0);do if(!(Dmb(D,524825,6)|0)){if((i[D+6>>0]|0)!=e<<24>>24)break;b=l[A+412>>0]|l[A+412+1>>0]<<8|l[A+412+2>>0]<<16|l[A+412+3>>0]<<24;if(!b){b=BOa(A,1279174,0)|0;t=l[A+376>>0]|l[A+376+1>>0]<<8|l[A+376+2>>0]<<16|l[A+376+3>>0]<<24;i[b+20>>0]=t;i[b+20+1>>0]=t>>8;i[b+20+2>>0]=t>>16;i[b+20+3>>0]=t>>24}i[A+412>>0]=b;i[A+412+1>>0]=b>>8;i[A+412+2>>0]=b>>16;i[A+412+3>>0]=b>>24;j=l[A+424>>0]|l[A+424+1>>0]<<8|l[A+424+2>>0]<<16|l[A+424+3>>0]<<24;h=jqb(1,16)|0;i[h>>0]=0;i[h+1>>0]=0;i[h+2>>0]=0;i[h+3>>0]=0;i[h+4>>0]=j;i[h+4+1>>0]=j>>8;i[h+4+2>>0]=j>>16;i[h+4+3>>0]=j>>24;i[h+8>>0]=1;i[h+9>>0]=80;i[h+10>>0]=0;i[h+10+1>>0]=0;i[h+10+2>>0]=0;i[h+10+3>>0]=0;i[h+14>>0]=i[1274943]|0;i[h+15>>0]=0;DOa(b,h);h=l[A+412>>0]|l[A+412+1>>0]<<8|l[A+412+2>>0]<<16|l[A+412+3>>0]<<24;j=l[A+424>>0]|l[A+424+1>>0]<<8|l[A+424+2>>0]<<16|l[A+424+3>>0]<<24;m=jqb(1,16)|0;i[m>>0]=0;i[m+1>>0]=0;i[m+2>>0]=0;i[m+3>>0]=0;i[m+4>>0]=j;i[m+4+1>>0]=j>>8;i[m+4+2>>0]=j>>16;i[m+4+3>>0]=j>>24;i[m+8>>0]=1;i[m+9>>0]=88;i[m+10>>0]=0;i[m+10+1>>0]=0;i[m+10+2>>0]=0;i[m+10+3>>0]=0;i[m+14>>0]=i[1274943]|0;i[m+15>>0]=0;DOa(h,m);m=B;h=C;j=0;d=E;c=F;b=D+7|0;k[a+16080>>2]=2;k[a+16084>>2]=30;break a}while(0);do if(!(Dmb(D,524832,4)|0)){if((i[D+4>>0]|0)!=e<<24>>24)break;b=l[A+412>>0]|l[A+412+1>>0]<<8|l[A+412+2>>0]<<16|l[A+412+3>>0]<<24;if(!b){b=BOa(A,1279174,0)|0;t=l[A+376>>0]|l[A+376+1>>0]<<8|l[A+376+2>>0]<<16|l[A+376+3>>0]<<24;i[b+20>>0]=t;i[b+20+1>>0]=t>>8;i[b+20+2>>0]=t>>16;i[b+20+3>>0]=t>>24}i[A+412>>0]=b;i[A+412+1>>0]=b>>8;i[A+412+2>>0]=b>>16;i[A+412+3>>0]=b>>24;j=b+32|0;m=l[A+424>>0]|l[A+424+1>>0]<<8|l[A+424+2>>0]<<16|l[A+424+3>>0]<<24;j=(l[j>>0]|l[j+1>>0]<<8|l[j+2>>0]<<16|l[j+3>>0]<<24|0)==-2?3:2;h=jqb(1,16)|0;i[h>>0]=0;i[h+1>>0]=0;i[h+2>>0]=0;i[h+3>>0]=0;i[h+4>>0]=m;i[h+4+1>>0]=m>>8;i[h+4+2>>0]=m>>16;i[h+4+3>>0]=m>>24;i[h+8>>0]=1;i[h+9>>0]=74;i[h+10>>0]=0;i[h+11>>0]=0;i[h+12>>0]=0;i[h+13>>0]=j;i[h+14>>0]=i[1274943]|0;i[h+15>>0]=0;DOa(b,h);h=l[A+412>>0]|l[A+412+1>>0]<<8|l[A+412+2>>0]<<16|l[A+412+3>>0]<<24;j=l[A+424>>0]|l[A+424+1>>0]<<8|l[A+424+2>>0]<<16|l[A+424+3>>0]<<24;m=jqb(1,16)|0;i[m>>0]=0;i[m+1>>0]=0;i[m+2>>0]=0;i[m+3>>0]=0;i[m+4>>0]=j;i[m+4+1>>0]=j>>8;i[m+4+2>>0]=j>>16;i[m+4+3>>0]=j>>24;i[m+8>>0]=1;i[m+9>>0]=80;i[m+10>>0]=0;i[m+10+1>>0]=0;i[m+10+2>>0]=0;i[m+10+3>>0]=0;i[m+14>>0]=i[1274943]|0;i[m+15>>0]=0;DOa(h,m);m=B;h=C;j=0;d=E;c=F;b=D+5|0;k[a+16080>>2]=2;k[a+16084>>2]=30;break a}while(0);do if(!(Dmb(D,524837,4)|0)){if((i[D+4>>0]|0)!=e<<24>>24)break;b=l[A+412>>0]|l[A+412+1>>0]<<8|l[A+412+2>>0]<<16|l[A+412+3>>0]<<24;if(!b){b=BOa(A,1279174,0)|0;t=l[A+376>>0]|l[A+376+1>>0]<<8|l[A+376+2>>0]<<16|l[A+376+3>>0]<<24;i[b+20>>0]=t;i[b+20+1>>0]=t>>8;i[b+20+2>>0]=t>>16;i[b+20+3>>0]=t>>24}i[A+412>>0]=b;i[A+412+1>>0]=b>>8;i[A+412+2>>0]=b>>16;i[A+412+3>>0]=b>>24;j=b+32|0;m=l[A+424>>0]|l[A+424+1>>0]<<8|l[A+424+2>>0]<<16|l[A+424+3>>0]<<24;j=(l[j>>0]|l[j+1>>0]<<8|l[j+2>>0]<<16|l[j+3>>0]<<24|0)==-2?5:4;h=jqb(1,16)|0;i[h>>0]=0;i[h+1>>0]=0;i[h+2>>0]=0;i[h+3>>0]=0;i[h+4>>0]=m;i[h+4+1>>0]=m>>8;i[h+4+2>>0]=m>>16;i[h+4+3>>0]=m>>24;i[h+8>>0]=1;i[h+9>>0]=74;i[h+10>>0]=0;i[h+11>>0]=0;i[h+12>>0]=0;i[h+13>>0]=j;i[h+14>>0]=i[1274943]|0;i[h+15>>0]=0;DOa(b,h);h=l[A+412>>0]|l[A+412+1>>0]<<8|l[A+412+2>>0]<<16|l[A+412+3>>0]<<24;j=l[A+424>>0]|l[A+424+1>>0]<<8|l[A+424+2>>0]<<16|l[A+424+3>>0]<<24;m=jqb(1,16)|0;i[m>>0]=0;i[m+1>>0]=0;i[m+2>>0]=0;i[m+3>>0]=0;i[m+4>>0]=j;i[m+4+1>>0]=j>>8;i[m+4+2>>0]=j>>16;i[m+4+3>>0]=j>>24;i[m+8>>0]=1;i[m+9>>0]=80;i[m+10>>0]=0;i[m+10+1>>0]=0;i[m+10+2>>0]=0;i[m+10+3>>0]=0;i[m+14>>0]=i[1274943]|0;i[m+15>>0]=0;DOa(h,m);m=B;h=C;j=0;d=E;c=F;b=D+5|0;k[a+16080>>2]=2;k[a+16084>>2]=30;break a}while(0);do if(!(Dmb(D,524842,6)|0)){if((i[D+6>>0]|0)!=e<<24>>24)break;b=l[A+412>>0]|l[A+412+1>>0]<<8|l[A+412+2>>0]<<16|l[A+412+3>>0]<<24;if(!b){b=BOa(A,1279174,0)|0;t=l[A+376>>0]|l[A+376+1>>0]<<8|l[A+376+2>>0]<<16|l[A+376+3>>0]<<24;i[b+20>>0]=t;i[b+20+1>>0]=t>>8;i[b+20+2>>0]=t>>16;i[b+20+3>>0]=t>>24}i[A+412>>0]=b;i[A+412+1>>0]=b>>8;i[A+412+2>>0]=b>>16;i[A+412+3>>0]=b>>24;j=b+32|0;m=l[A+424>>0]|l[A+424+1>>0]<<8|l[A+424+2>>0]<<16|l[A+424+3>>0]<<24;j=(l[j>>0]|l[j+1>>0]<<8|l[j+2>>0]<<16|l[j+3>>0]<<24|0)==-2?3:2;h=jqb(1,16)|0;i[h>>0]=0;i[h+1>>0]=0;i[h+2>>0]=0;i[h+3>>0]=0;i[h+4>>0]=m;i[h+4+1>>0]=m>>8;i[h+4+2>>0]=m>>16;i[h+4+3>>0]=m>>24;i[h+8>>0]=1;i[h+9>>0]=74;i[h+10>>0]=0;i[h+11>>0]=0;i[h+12>>0]=0;i[h+13>>0]=j;i[h+14>>0]=i[1274943]|0;i[h+15>>0]=0;DOa(b,h);h=l[A+412>>0]|l[A+412+1>>0]<<8|l[A+412+2>>0]<<16|l[A+412+3>>0]<<24;j=l[A+424>>0]|l[A+424+1>>0]<<8|l[A+424+2>>0]<<16|l[A+424+3>>0]<<24;m=jqb(1,16)|0;i[m>>0]=0;i[m+1>>0]=0;i[m+2>>0]=0;i[m+3>>0]=0;i[m+4>>0]=j;i[m+4+1>>0]=j>>8;i[m+4+2>>0]=j>>16;i[m+4+3>>0]=j>>24;i[m+8>>0]=1;i[m+9>>0]=80;i[m+10>>0]=0;i[m+10+1>>0]=0;i[m+10+2>>0]=0;i[m+10+3>>0]=0;i[m+14>>0]=i[1274943]|0;i[m+15>>0]=0;DOa(h,m);m=B;h=C;j=0;d=E;c=F;b=D+7|0;k[a+16080>>2]=2;k[a+16084>>2]=30;break a}while(0);do if(!(Dmb(D,524849,6)|0)){if((i[D+6>>0]|0)!=e<<24>>24)break;b=l[A+412>>0]|l[A+412+1>>0]<<8|l[A+412+2>>0]<<16|l[A+412+3>>0]<<24;if(!b){b=BOa(A,1279174,0)|0;t=l[A+376>>0]|l[A+376+1>>0]<<8|l[A+376+2>>0]<<16|l[A+376+3>>0]<<24;i[b+20>>0]=t;i[b+20+1>>0]=t>>8;i[b+20+2>>0]=t>>16;i[b+20+3>>0]=t>>24}i[A+412>>0]=b;i[A+412+1>>0]=b>>8;i[A+412+2>>0]=b>>16;i[A+412+3>>0]=b>>24;j=b+32|0;m=l[A+424>>0]|l[A+424+1>>0]<<8|l[A+424+2>>0]<<16|l[A+424+3>>0]<<24;j=(l[j>>0]|l[j+1>>0]<<8|l[j+2>>0]<<16|l[j+3>>0]<<24|0)==-2?3:2;h=jqb(1,16)|0;i[h>>0]=0;i[h+1>>0]=0;i[h+2>>0]=0;i[h+3>>0]=0;i[h+4>>0]=m;i[h+4+1>>0]=m>>8;i[h+4+2>>0]=m>>16;i[h+4+3>>0]=m>>24;i[h+8>>0]=1;i[h+9>>0]=74;i[h+10>>0]=0;i[h+11>>0]=0;i[h+12>>0]=0;i[h+13>>0]=j;i[h+14>>0]=i[1274943]|0;i[h+15>>0]=0;DOa(b,h);h=l[A+412>>0]|l[A+412+1>>0]<<8|l[A+412+2>>0]<<16|l[A+412+3>>0]<<24;j=l[A+424>>0]|l[A+424+1>>0]<<8|l[A+424+2>>0]<<16|l[A+424+3>>0]<<24;m=jqb(1,16)|0;i[m>>0]=0;i[m+1>>0]=0;i[m+2>>0]=0;i[m+3>>0]=0;i[m+4>>0]=j;i[m+4+1>>0]=j>>8;i[m+4+2>>0]=j>>16;i[m+4+3>>0]=j>>24;i[m+8>>0]=1;i[m+9>>0]=80;i[m+10>>0]=0;i[m+10+1>>0]=0;i[m+10+2>>0]=0;i[m+10+3>>0]=0;i[m+14>>0]=i[1274943]|0;i[m+15>>0]=0;DOa(h,m);m=B;h=C;j=0;d=E;c=F;b=D+7|0;k[a+16080>>2]=2;k[a+16084>>2]=30;break a}while(0);if(e<<24>>24!=33){b=l[A+412>>0]|l[A+412+1>>0]<<8|l[A+412+2>>0]<<16|l[A+412+3>>0]<<24;if(!b){b=BOa(A,1279174,0)|0;t=l[A+376>>0]|l[A+376+1>>0]<<8|l[A+376+2>>0]<<16|l[A+376+3>>0]<<24;i[b+20>>0]=t;i[b+20+1>>0]=t>>8;i[b+20+2>>0]=t>>16;i[b+20+3>>0]=t>>24}i[A+412>>0]=b;i[A+412+1>>0]=b>>8;i[A+412+2>>0]=b>>16;i[A+412+3>>0]=b>>24;g=TOa(A,b,D)|0;b=D;while(1){t=b+1|0;e=i[b>>0]|0;switch(e<<24>>24){case 43:case 0:{m=B;h=C;j=0;d=E;c=F;b=t;k[a+16080>>2]=2;k[a+16084>>2]=30;break a}default:b=t}}}if(!(b<<24>>24)){m=B;h=C;j=0;e=33;d=E;c=F;b=D;k[a+16080>>2]=2;k[a+16084>>2]=30;break a}else{d=D;e=0}while(1){c=b<<24>>24;if(Cmb(524856,c,6)|0){j=b;t=e;break}if(qmb(c)|0){h=d;m=e;G=967;break}e=e+1|0;d=D+e|0;b=i[d>>0]|0;if(!(b<<24>>24)){m=B;h=C;j=0;e=33;d=E;c=F;b=D;k[a+16080>>2]=2;k[a+16084>>2]=30;break a}}if((G|0)==967){G=0;j=i[h>>0]|0;t=m}if(j<<24>>24!=33){m=B;h=C;j=0;e=33;d=E;c=F;b=D;k[a+16080>>2]=2;k[a+16084>>2]=30;break a}b=l[A+412>>0]|l[A+412+1>>0]<<8|l[A+412+2>>0]<<16|l[A+412+3>>0]<<24;if(!b){b=BOa(A,1279174,0)|0;m=l[A+376>>0]|l[A+376+1>>0]<<8|l[A+376+2>>0]<<16|l[A+376+3>>0]<<24;i[b+20>>0]=m;i[b+20+1>>0]=m>>8;i[b+20+2>>0]=m>>16;i[b+20+3>>0]=m>>24}i[A+412>>0]=b;i[A+412+1>>0]=b>>8;i[A+412+2>>0]=b>>16;i[A+412+3>>0]=b>>24;m=B;h=C;j=0;g=TOa(A,b,D)|0;e=33;d=E;c=F;b=D+(t+1)|0;k[a+16080>>2]=1;break a}k[a+9776>>2]=z;k[a+9784>>2]=y;k[a+9792>>2]=x;k[a+9800>>2]=w;k[a+11112>>2]=v;k[a+11216>>2]=u;k[a+11288>>2]=s;k[a+11336>>2]=r;k[a+11376>>2]=q;k[a+11600>>2]=p;k[a+11680>>2]=o;k[a+11816>>2]=n;k[a+11976>>2]=m;k[a+12072>>2]=h;k[a+12176>>2]=j;k[a+12248>>2]=g;k[a+12464>>2]=f;k[a+12488>>2]=e;k[a+12600>>2]=d;k[a+12680>>2]=c;k[a+14952>>2]=b;k[a+16016>>2]=G}function lQa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0;S=k[a+2816>>2]|0;L=k[a+3896>>2]|0;R=k[a+4144>>2]|0;Z=k[a+4152>>2]|0;_=k[a+4160>>2]|0;Q=k[a+4168>>2]|0;m=k[a+9776>>2]|0;D=k[a+9784>>2]|0;h=k[a+9792>>2]|0;o=k[a+9800>>2]|0;P=k[a+11104>>2]|0;z=k[a+11112>>2]|0;$=k[a+11208>>2]|0;A=k[a+11216>>2]|0;aa=k[a+11280>>2]|0;B=k[a+11288>>2]|0;U=k[a+11328>>2]|0;C=k[a+11336>>2]|0;g=k[a+11376>>2]|0;T=k[a+11424>>2]|0;d=k[a+11528>>2]|0;V=k[a+11592>>2]|0;y=k[a+11600>>2]|0;K=k[a+11640>>2]|0;x=k[a+11680>>2]|0;v=k[a+11816>>2]|0;M=k[a+11888>>2]|0;ba=k[a+11968>>2]|0;u=k[a+11976>>2]|0;Y=k[a+12064>>2]|0;t=k[a+12072>>2]|0;e=k[a+12176>>2]|0;X=k[a+12240>>2]|0;s=k[a+12248>>2]|0;W=k[a+12456>>2]|0;r=k[a+12464>>2]|0;J=k[a+12480>>2]|0;f=k[a+12488>>2]|0;N=k[a+12560>>2]|0;q=k[a+12600>>2]|0;O=k[a+12640>>2]|0;p=k[a+12680>>2]|0;b=k[a+14544>>2]|0;c=k[a+14952>>2]|0;ca=k[a+16016>>2]|0;da=k[a+16056>>2]|0;I=k[a+16064>>2]|0;a:{if(da){da=0;switch(I|0){case 91:{j=i[b>>0]|0;n=1;if(n){n=0;if(j<<24>>24==124){m=Q;D=_;h=Z;o=R;z=P;A=$;B=aa;C=U;g=T;y=V;x=K;v=M;u=ba;t=Y;e=0;s=X;r=W;f=J;q=N;p=O;c=b}else n=1}if(n)if(1){if(!(Dmb(b,522723,2)|0)){d=2;while(1){c=b+d|0;if(!(qmb(i[c>>0]|0)|0))break;else d=d+1|0}X=BOa(S,c,0)|0;i[S+412>>0]=X;i[S+412+1>>0]=X>>8;i[S+412+2>>0]=X>>16;i[S+412+3>>0]=X>>24;b:while(1){switch(i[b>>0]|0){case 93:case 0:break b;default:{}}b=b+1|0}d=k[45680+(V<<2)>>2]|0;k[a+216>>2]=d;k[a+216+4>>2]=d;Fmb(a+732|0,523795,a+216|0)|0;d=l[S+412>>0]|l[S+412+1>>0]<<8|l[S+412+2>>0]<<16|l[S+412+3>>0]<<24;c=l[d+8>>0]|l[d+8+1>>0]<<8|l[d+8+2>>0]<<16|l[d+8+3>>0]<<24;if(!c)c=0;else c=l[c+4>>0]|l[c+4+1>>0]<<8|l[c+4+2>>0]<<16|l[c+4+3>>0]<<24;r=k[298899]|0;r=c>>>0>>0?r:c;i[S+424>>0]=r;i[S+424+1>>0]=r>>8;i[S+424+2>>0]=r>>16;i[S+424+3>>0]=r>>24;v=(i[d+43>>0]|0)==0;m=0;D=_;h=Z;o=R;z=P;A=$;B=aa;C=U;g=0;y=V;x=v&1;v=v?M:0;u=ba;t=Y;e=0;s=l[d+41>>0]|0;f=J;q=N;p=O;c=b;k[a+16088>>2]=2;k[a+16092>>2]=35;break a}if(!(Dmb(b,522726,2)|0)){b=b+2|0;d=HOa(b)|0;V=k[45680+(d<<2)>>2]|0;k[a+224>>2]=V;k[a+224+4>>2]=V;Fmb(a+732|0,523795,a+224|0)|0;while(1)if(!(qmb(i[b>>0]|0)|0))break;else b=b+1|0;c=i[b>>0]|0;c:do if(c<<24>>24)do{if(qmb(c<<24>>24)|0)break c;if((i[b>>0]|0)==93)break c;b=b+1|0;c=i[b>>0]|0}while(c<<24>>24!=0);while(0);while(1)if(!(qmb(i[b>>0]|0)|0))break;else b=b+1|0;V=COa(b)|0;i[S+376>>0]=V;i[S+376+1>>0]=V>>8;i[S+376+2>>0]=V>>16;i[S+376+3>>0]=V>>24;while(1){switch(i[b>>0]|0){case 93:case 0:{m=Q;D=_;h=Z;o=R;z=P;A=$;B=aa;C=U;g=T;y=d;x=K;v=M;u=ba;t=Y;e=0;s=X;r=W;f=J;q=N;p=O;c=b;k[a+16088>>2]=2;k[a+16092>>2]=35;break a}default:{}}b=b+1|0}}if(!(Dmb(b,522432,2)|0)){c=b+2|0;do if(!(Dmb(c,522435,4)|0)){k[a+636>>2]=1;k[a+632>>2]=1}else{if(!(Dmb(c,522440,2)|0)){k[a+636>>2]=2;k[a+632>>2]=2;break}if((i[c>>0]|0)==67){k[a+636>>2]=4;k[a+632>>2]=4;break}else{L=b+((EOa(c,a+636|0)|0)+2)|0;k[a+232>>2]=a+632;vob(L,522443,a+232|0)|0;break}}while(0);d:while(1){switch(i[b>>0]|0){case 93:case 0:break d;default:{}}b=b+1|0}c=k[a+632>>2]|0;if(!c)c=0;else{L=ha(ha((k[a+636>>2]|0)*3072|0,l[S+20>>0]|l[S+20+1>>0]<<8|l[S+20+2>>0]<<16|l[S+20+3>>0]<<24)|0,k[298900]|0)|0;c=(L|0)/(ha(k[298901]|0,c)|0)|0}i[S+356>>0]=c;i[S+356+1>>0]=c>>8;i[S+356+2>>0]=c>>16;i[S+356+3>>0]=c>>24;m=Q;D=_;h=Z;o=R;z=P;A=$;B=aa;C=U;g=T;y=V;x=K;v=M;u=ba;t=Y;e=0;s=X;r=W;f=J;q=N;p=O;c=b;k[a+16088>>2]=2;k[a+16092>>2]=35;break a}if(!(Dmb(b,522449,2)|0)){e:do if(k[a+652>>2]|0){c=l[S+8>>0]|l[S+8+1>>0]<<8|l[S+8+2>>0]<<16|l[S+8+3>>0]<<24;do if(!c){e=0;c=l[S+20>>0]|l[S+20+1>>0]<<8|l[S+20+2>>0]<<16|l[S+20+3>>0]<<24}else{g=l[S+424>>0]|l[S+424+1>>0]<<8|l[S+424+2>>0]<<16|l[S+424+3>>0]<<24;d=jqb(1,16)|0;i[d>>0]=0;i[d+1>>0]=0;i[d+2>>0]=0;i[d+3>>0]=0;i[d+4>>0]=g;i[d+4+1>>0]=g>>8;i[d+4+2>>0]=g>>16;i[d+4+3>>0]=g>>24;i[d+8>>0]=1;i[d+9>>0]=80;i[d+10>>0]=0;i[d+10+1>>0]=0;i[d+10+2>>0]=0;i[d+10+3>>0]=0;i[d+14>>0]=i[1274943]|0;i[d+15>>0]=0;DOa(c,d);d=l[S+8>>0]|l[S+8+1>>0]<<8|l[S+8+2>>0]<<16|l[S+8+3>>0]<<24;g=l[S+424>>0]|l[S+424+1>>0]<<8|l[S+424+2>>0]<<16|l[S+424+3>>0]<<24;c=l[S+20>>0]|l[S+20+1>>0]<<8|l[S+20+2>>0]<<16|l[S+20+3>>0]<<24;if(!d){e=0;break}e=l[d+4>>0]|l[d+4+1>>0]<<8|l[d+4+2>>0]<<16|l[d+4+3>>0]<<24;if(!e){e=0;break}else d=0;do{f=e+4|0;f=l[f>>0]|l[f+1>>0]<<8|l[f+2>>0]<<16|l[f+3>>0]<<24;if(f>>>0>g>>>0)break;do if((i[e+8>>0]|0)==1){if((i[e+9>>0]|0)!=80)break;f=f+d|0;if(!((f>>>0)%((c*12288|0)>>>0)|0))break;d=d+(c*12288|0)-(((f+(c*12288|0)|0)>>>0)%((c*12288|0)>>>0)|0)|0}while(0);e=l[e>>0]|l[e+1>>0]<<8|l[e+2>>0]<<16|l[e+3>>0]<<24}while((e|0)!=0);e=(((d+g|0)>>>0)/192|0)>>>6}while(0);d=i[1274943]|0;e=((e>>>0)/(c>>>0)|0)&255;if(d<<24>>24==32)i[(a+678+53|0)>>0]=e;else i[a+678+((d<<24>>24)+-65<<1)+1>>0]=e;while(1){c=b+2|0;if(!(qmb(i[c>>0]|0)|0)){d=i[c>>0]|0;if(d<<24>>24!=46)break}b=b+1|0}do if(!(hmb(d<<24>>24)|0))i[1274943]=32;else{c=i[c>>0]|0;i[1274943]=c;if(c<<24>>24==32)break;i[a+678+((c<<24>>24)+-65<<1)>>0]=e;break e}while(0);i[(a+678+52|0)>>0]=e}while(0);while(1){switch(i[b>>0]|0){case 93:case 0:{m=Q;D=_;h=Z;o=R;z=P;A=$;B=aa;C=U;g=T;y=V;x=K;v=M;u=ba;t=Y;e=0;s=X;r=W;f=J;q=N;p=O;c=b;k[a+16088>>2]=2;k[a+16092>>2]=35;break a}default:{}}b=b+1|0}}if(!(Dmb(b,522646,2)|0)){d=GOa(b+2|0,1)|0;f:while(1){switch(i[b>>0]|0){case 93:case 0:break f;default:{}}b=b+1|0}c=l[S+8>>0]|l[S+8+1>>0]<<8|l[S+8+2>>0]<<16|l[S+8+3>>0]<<24;if(!c){m=Q;D=_;h=Z;o=R;z=P;A=$;B=aa;C=U;g=T;y=V;x=K;v=M;u=ba;t=d;e=0;s=X;r=W;f=J;q=N;p=O;c=b;k[a+16088>>2]=2;k[a+16092>>2]=35;break a}D=l[S+424>>0]|l[S+424+1>>0]<<8|l[S+424+2>>0]<<16|l[S+424+3>>0]<<24;m=jqb(1,16)|0;i[m>>0]=0;i[m+1>>0]=0;i[m+2>>0]=0;i[m+3>>0]=0;i[m+4>>0]=D;i[m+4+1>>0]=D>>8;i[m+4+2>>0]=D>>16;i[m+4+3>>0]=D>>24;i[m+8>>0]=1;i[m+9>>0]=84;i[m+14>>0]=i[1274943]|0;i[m+15>>0]=0;i[m+10>>0]=d;i[m+10+1>>0]=d>>8;i[m+10+2>>0]=d>>16;i[m+10+3>>0]=d>>24;DOa(c,m);m=Q;D=_;h=Z;o=R;z=P;A=$;B=aa;C=U;g=T;y=V;x=K;v=M;u=ba;t=d;e=0;s=X;r=W;f=J;q=N;p=O;c=b;k[a+16088>>2]=2;k[a+16092>>2]=35;break a}g:do if(!(Dmb(b,524388,2)|0)){c=b+2|0;while(1)if(!(qmb(i[c>>0]|0)|0))break;else c=c+1|0;do if(!(Dmb(c,524011,4)|0)){e=i[c+4>>0]|0;if(e<<24>>24==61)c=c+4|0;else if(!(qmb(e<<24>>24)|0)){f=K;g=M;break}else c=c+4|0;while(1)if(!(qmb(i[c>>0]|0)|0))break;else c=c+1|0;if((i[c>>0]|0)==61)do c=c+1|0;while((qmb(i[c>>0]|0)|0)!=0);MOa(S,c,93);e=l[S+412>>0]|l[S+412+1>>0]<<8|l[S+412+2>>0]<<16|l[S+412+3>>0]<<24;if(!e)e=K;else e=(i[e+43>>0]|0)==0&1;f=e;g=(e|0)==0?0:M}else{f=K;g=M}while(0);while(1){e=i[c>>0]|0;switch(e<<24>>24){case 93:case 0:{x=f;v=g;break g}default:{}}c=c+1|0}}else{e=j;x=K;v=M;c=b}while(0);do if(e<<24>>24){if((i[c+1>>0]|0)==58){b=e;while(1){switch(b<<24>>24){case 93:case 0:{m=Q;D=_;h=Z;o=R;z=P;A=$;B=aa;C=U;g=T;y=V;u=ba;t=Y;e=0;s=X;r=W;f=J;q=N;p=O;k[a+16088>>2]=2;k[a+16092>>2]=35;break a}default:{}}S=c+1|0;b=i[S>>0]|0;c=S}}if(!(Cmb(524523,e<<24>>24,18)|0))break;b=l[S+412>>0]|l[S+412+1>>0]<<8|l[S+412+2>>0]<<16|l[S+412+3>>0]<<24;if(!b){b=BOa(S,1279174,0)|0;M=l[S+376>>0]|l[S+376+1>>0]<<8|l[S+376+2>>0]<<16|l[S+376+3>>0]<<24;i[b+20>>0]=M;i[b+20+1>>0]=M>>8;i[b+20+2>>0]=M>>16;i[b+20+3>>0]=M>>24}i[S+412>>0]=b;i[S+412+1>>0]=b>>8;i[S+412+2>>0]=b>>16;i[S+412+3>>0]=b>>24;e=i[b+36>>0]|0;b=l[S+8>>0]|l[S+8+1>>0]<<8|l[S+8+2>>0]<<16|l[S+8+3>>0]<<24;if(b|0)do{if((i[b+36>>0]|0)==e<<24>>24)i[b+38>>0]=i[b+37>>0]|0;b=l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24}while((b|0)!=0);b=k[a+632>>2]|0;if(!b)b=0;else{M=ha((l[S+20>>0]|l[S+20+1>>0]<<8|l[S+20+2>>0]<<16|l[S+20+3>>0]<<24)*3072|0,k[298900]|0)|0;b=(M|0)/(ha(k[298901]|0,b)|0)|0}e=(((l[S+424>>0]|l[S+424+1>>0]<<8|l[S+424+2>>0]<<16|l[S+424+3>>0]<<24)-W|0)>>>0)/(b>>>0)|0;f=l[S+28>>0]|l[S+28+1>>0]<<8|l[S+28+2>>0]<<16|l[S+28+3>>0]<<24;h:do if(!f){if((e|0)%(l[S+35>>0]|0)|0|0){b=l[S+34>>0]|0;break}if(!e){b=l[S+32>>0]|0;break}else{b=l[S+33>>0]|0;break}}else{b=l[S+34>>0]|0;if((Fnb(f)|0)<=(e|0)){b=((b*9|0)>>>0)/10|0;break}switch(i[f+e>>0]|0){case 102:{b=l[S+32>>0]|0;break h}case 109:{b=l[S+33>>0]|0;break h}case 112:break h;default:{b=((b*9|0)>>>0)/10|0;break h}}}while(0);s=(ha(b,X)|0)/128|0;t=0;f=N;g=O;u=0;o=0;r=0;i:while(1){e=c+1|0;b=i[c>>0]|0;switch(b<<24>>24){case 93:case 0:{q=f;p=g;n=u;break i}default:{}}p=BOa(S,(l[S+412>>0]|l[S+412+1>>0]<<8|l[S+412+2>>0]<<16|l[S+412+3>>0]<<24)+44|0,t|0?t+10|0:0)|0;i[S+412>>0]=p;i[S+412+1>>0]=p>>8;i[S+412+2>>0]=p>>16;i[S+412+3>>0]=p>>24;p=(OOa(S,b<<24>>24,e,l[S+424>>0]|l[S+424+1>>0]<<8|l[S+424+2>>0]<<16|l[S+424+3>>0]<<24,a+732|0,s,$,aa)|0)+1|0;b=i[c+p>>0]|0;if((b+-48|0)>>>0<10){e=0;h=0;do{e=b+-48+(e*10|0)|0;h=h+1|0;b=i[c+(h+p)>>0]|0}while((b+-48|0)>>>0<10);b=e}else{b=0;h=0}q=(h|0)==0?1:b;b=i[c+(h+p)>>0]|0;if(b<<24>>24==47){e=1;b=h;while(1){e=e<<1;h=b+1|0;b=i[c+(h+p)>>0]|0;if(b<<24>>24==47)b=h;else break}}else e=1;b=b<<24>>24;if((b+-48|0)>>>0<10){j=0;m=0;do{j=b+-48+(j*10|0)|0;m=m+1|0;n=m+h|0;b=i[c+(n+p)>>0]|0}while((b+-48|0)>>>0<10);b=(m|0)==0?1:j;e=(e|0)/2|0;h=n}else b=1;j=ha(e,b)|0;b=h+p|0;e=c+b|0;do if((i[e>>0]|0)==45){c=c+(b+1)|0;b=l[S+412>>0]|l[S+412+1>>0]<<8|l[S+412+2>>0]<<16|l[S+412+3>>0]<<24;e=l[b+8>>0]|l[b+8+1>>0]<<8|l[b+8+2>>0]<<16|l[b+8+3>>0]<<24;if(!e)break;if((i[e+8>>0]|0)==1)break;i[b+16>>0]=e;i[b+16+1>>0]=e>>8;i[b+16+2>>0]=e>>16;i[b+16+3>>0]=e>>24}else c=e;while(0);if((t|0)<8){k[a+568+(t<<2)>>2]=q;k[a+536+(t<<2)>>2]=j;if(!t){H=j;w=q;E=j;F=q;G=r}else ca=538}else ca=538;do if((ca|0)==538){ca=0;if((g|0)==(q|0)&(f|0)==(j|0)){H=f;w=g;E=u;F=o;G=r;break}j:do if((ha(j,g)|0)<(ha(q,f)|0)){b=l[S+412>>0]|l[S+412+1>>0]<<8|l[S+412+2>>0]<<16|l[S+412+3>>0]<<24;g=i[b+36>>0]|0;e=l[S+8>>0]|l[S+8+1>>0]<<8|l[S+8+2>>0]<<16|l[S+8+3>>0]<<24;if(!e){f=j;g=q;break}while(1){do if((e|0)!=(b|0)){if((i[e+36>>0]|0)!=g<<24>>24)break;b=e+16|0;if(!(l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24))break;f=l[S+24>>0]|l[S+24+1>>0]<<8|l[S+24+2>>0]<<16|l[S+24+3>>0]<<24;if(((Fnb(f)|0)+40|0)>>>0<=255){k[a+240>>2]=f;Fmb(a+784|0,524581,a+240|0)|0;k[a+248>>2]=a+784;Cob(L,522043,a+248|0)|0}i[b>>0]=0;i[b+1>>0]=0;i[b+2>>0]=0;i[b+3>>0]=0}while(0);e=l[e>>0]|l[e+1>>0]<<8|l[e+2>>0]<<16|l[e+3>>0]<<24;if(!e){f=j;g=q;break j}b=l[S+412>>0]|l[S+412+1>>0]<<8|l[S+412+2>>0]<<16|l[S+412+3>>0]<<24}}while(0);do if((ha(g,j)|0)>(ha(f,q)|0)){b=l[S+412>>0]|l[S+412+1>>0]<<8|l[S+412+2>>0]<<16|l[S+412+3>>0]<<24;if(!(l[b+16>>0]|l[b+16+1>>0]<<8|l[b+16+2>>0]<<16|l[b+16+3>>0]<<24))break;e=l[S+24>>0]|l[S+24+1>>0]<<8|l[S+24+2>>0]<<16|l[S+24+3>>0]<<24;if(((Fnb(e)|0)+40|0)>>>0<=255){k[a+256>>2]=e;Fmb(a+784|0,524581,a+256|0)|0;k[a+264>>2]=a+784;Cob(L,522043,a+264|0)|0;b=l[S+412>>0]|l[S+412+1>>0]<<8|l[S+412+2>>0]<<16|l[S+412+3>>0]<<24}O=b+16|0;i[O>>0]=0;i[O+1>>0]=0;i[O+2>>0]=0;i[O+3>>0]=0}while(0);F=(ha(j,o)|0)>(ha(q,u)|0);H=f;w=g;E=F?j:u;F=F?q:o;G=1}while(0);t=t+1|0;f=H;g=w;u=E;o=F;r=G}b=i[e>>0]|0;if(((b<<24>>24)+-48|0)>>>0<10){f=b<<24>>24;e=0;b=0;while(1){e=f+-48+(e*10|0)|0;g=b+1|0;b=i[c+(b+2)>>0]|0;f=b<<24>>24;if((f+-48|0)>>>0>=10)break;else b=g}}else{e=0;g=0}m=(g|0)==0?1:e;if(b<<24>>24==47){b=1;e=g;while(1){f=b<<1;g=e+1|0;b=i[c+(e+2)>>0]|0;if(b<<24>>24==47){b=f;e=g}else break}}else f=1;b=b<<24>>24;if((b+-48|0)>>>0<10){e=0;h=0;do{e=b+-48+(e*10|0)|0;h=h+1|0;j=h+g|0;b=i[c+(j+1)>>0]|0}while((b+-48|0)>>>0<10);e=(h|0)==0?1:e;f=(f|0)/2|0;b=j}else{e=1;b=g}h=ha(f,e)|0;O=c+(b+1)|0;w=i[O>>0]|0;c=w<<24>>24==45?c+(b+2)|0:O;do if(P|0){b=ha(h,n)|0;b=ha(b,k[a+640>>2]|0)|0;if(!b)b=0;else{P=ha(ha(ha(ha(o*3072|0,m)|0,k[a+644>>2]|0)|0,l[S+20>>0]|l[S+20+1>>0]<<8|l[S+20+2>>0]<<16|l[S+20+3>>0]<<24)|0,k[298900]|0)|0;b=(P|0)/(ha(k[298901]|0,b)|0)|0}b=(b>>>0)/(t>>>0)|0;P=(l[S+20>>0]|l[S+20+1>>0]<<8|l[S+20+2>>0]<<16|l[S+20+3>>0]<<24)*192|0;b=b>>>0>P>>>0?P:b;if((t|0)<=1)break;e=l[S+412>>0]|l[S+412+1>>0]<<8|l[S+412+2>>0]<<16|l[S+412+3>>0]<<24;g=1;do{e=BOa(S,e+44|0,g+10|0)|0;i[S+412>>0]=e;i[S+412+1>>0]=e>>8;i[S+412+2>>0]=e>>16;i[S+412+3>>0]=e>>24;f=e+8|0;f=l[f>>0]|l[f+1>>0]<<8|l[f+2>>0]<<16|l[f+3>>0]<<24;if(f|0){P=(l[S+424>>0]|l[S+424+1>>0]<<8|l[S+424+2>>0]<<16|l[S+424+3>>0]<<24)+(ha(g,b)|0)|0;i[f+4>>0]=P;i[f+4+1>>0]=P>>8;i[f+4+2>>0]=P>>16;i[f+4+3>>0]=P>>24}g=g+1|0}while((g|0)!=(t|0))}while(0);e=ha(m,p)|0;b=ha(h,q)|0;if(!R)o=0;else{o=R+-1|0;e=ha(e,Z)|0;b=ha(b,_)|0}while(1)if(!(qmb(i[c>>0]|0)|0))break;else c=c+1|0;switch(Q|0){case 60:{d=0;e=e*3|0;b=b<<1;break}case 62:{d=0;b=b<<1;break}default:{}}k:do switch(i[c>>0]|0){case 62:{d=1;b=b<<1;e=e*3|0;m=62;break}case 60:{d=1;b=b<<1;m=60;break}default:{if(!((e|0)==1&(d|0)!=0)){d=0;m=0;break k}m=(b|0)==1;d=0;b=m?2:b;e=m?3:1;m=m?62:0}}while(0);c=c+d|0;b=ha(k[a+640>>2]|0,b)|0;if(!b)b=0;else{R=ha(ha(ha(e*3072|0,k[a+644>>2]|0)|0,l[S+20>>0]|l[S+20+1>>0]<<8|l[S+20+2>>0]<<16|l[S+20+3>>0]<<24)|0,k[298900]|0)|0;b=(R|0)/(ha(k[298901]|0,b)|0)|0}b=b<<((U|0)!=0&1);if(b>>>0>T>>>0){n=0;j=b-T|0}else{j=(l[S+20>>0]|l[S+20+1>>0]<<8|l[S+20+2>>0]<<16|l[S+20+3>>0]<<24)*192|0;n=T-b+j|0}U=(l[S+424>>0]|l[S+424+1>>0]<<8|l[S+424+2>>0]<<16|l[S+424+3>>0]<<24)+j|0;i[S+424>>0]=U;i[S+424+1>>0]=U>>8;i[S+424+2>>0]=U>>16;i[S+424+3>>0]=U>>24;if((t|0)>0){h=ha(j,q)|0;f=t;do{g=f;f=f+-1|0;e=BOa(S,(l[S+412>>0]|l[S+412+1>>0]<<8|l[S+412+2>>0]<<16|l[S+412+3>>0]<<24)+44|0,f|0?g+9|0:0)|0;i[S+412>>0]=e;i[S+412+1>>0]=e>>8;i[S+412+2>>0]=e>>16;i[S+412+3>>0]=e>>24;do if((r|0)!=0&(g|0)<9){b=k[a+568+(f<<2)>>2]|0;d=k[a+536+(f<<2)>>2]|0;if((b|0)==(p|0)&(d|0)==(q|0)){ca=593;break}R=(l[S+424>>0]|l[S+424+1>>0]<<8|l[S+424+2>>0]<<16|l[S+424+3>>0]<<24)-j+(((ha(h,b)|0)>>>0)/((ha(d,p)|0)>>>0)|0)|0;T=(JOa(l[e+42>>0]|0)|0)&255;U=jqb(1,16)|0;i[U>>0]=0;i[U+1>>0]=0;i[U+2>>0]=0;i[U+3>>0]=0;i[U+4>>0]=R;i[U+4+1>>0]=R>>8;i[U+4+2>>0]=R>>16;i[U+4+3>>0]=R>>24;i[U+8>>0]=0;i[U+9>>0]=0;i[U+10>>0]=T;i[U+11>>0]=0;i[U+12>>0]=0;i[U+13>>0]=0;i[U+14>>0]=i[1274943]|0;i[U+15>>0]=0;DOa(e,U)}else ca=593;while(0);do if((ca|0)==593){ca=0;do if(w<<24>>24==45){b=l[e+8>>0]|l[e+8+1>>0]<<8|l[e+8+2>>0]<<16|l[e+8+3>>0]<<24;if(!b)break;if((i[b+8>>0]|0)==1)break;i[e+16>>0]=b;i[e+16+1>>0]=b>>8;i[e+16+2>>0]=b>>16;i[e+16+3>>0]=b>>24}while(0);b=l[S+424>>0]|l[S+424+1>>0]<<8|l[S+424+2>>0]<<16|l[S+424+3>>0]<<24;d=i[e+42>>0]|0;if(j>>>0>((l[S+20>>0]|l[S+20+1>>0]<<8|l[S+20+2>>0]<<16|l[S+20+3>>0]<<24)*192|0)>>>0){R=b-v|0;T=(JOa(d&255)|0)&255;U=jqb(1,16)|0;i[U>>0]=0;i[U+1>>0]=0;i[U+2>>0]=0;i[U+3>>0]=0;i[U+4>>0]=R;i[U+4+1>>0]=R>>8;i[U+4+2>>0]=R>>16;i[U+4+3>>0]=R>>24;i[U+8>>0]=0;i[U+9>>0]=0;i[U+10>>0]=T;i[U+11>>0]=0;i[U+12>>0]=0;i[U+13>>0]=0;i[U+14>>0]=i[1274943]|0;i[U+15>>0]=0;DOa(e,U);break}else{T=(JOa(d&255)|0)&255;U=jqb(1,16)|0;i[U>>0]=0;i[U+1>>0]=0;i[U+2>>0]=0;i[U+3>>0]=0;i[U+4>>0]=b;i[U+4+1>>0]=b>>8;i[U+4+2>>0]=b>>16;i[U+4+3>>0]=b>>24;i[U+8>>0]=0;i[U+9>>0]=0;i[U+10>>0]=T;i[U+11>>0]=0;i[U+12>>0]=0;i[U+13>>0]=0;i[U+14>>0]=i[1274943]|0;i[U+15>>0]=0;DOa(e,U);break}}while(0)}while((g|0)>1)}do if(l[S+384>>0]|l[S+384+1>>0]<<8|l[S+384+2>>0]<<16|l[S+384+3>>0]<<24|0){if((l[S+412>>0]|l[S+412+1>>0]<<8|l[S+412+2>>0]<<16|l[S+412+3>>0]<<24|0)!=(l[S+416>>0]|l[S+416+1>>0]<<8|l[S+416+2>>0]<<16|l[S+416+3>>0]<<24|0))break;POa(S,l[S+424>>0]|l[S+424+1>>0]<<8|l[S+424+2>>0]<<16|l[S+424+3>>0]<<24,W)}while(0);do if(l[S+380>>0]|l[S+380+1>>0]<<8|l[S+380+2>>0]<<16|l[S+380+3>>0]<<24|0){if((l[S+412>>0]|l[S+412+1>>0]<<8|l[S+412+2>>0]<<16|l[S+412+3>>0]<<24|0)!=(l[S+420>>0]|l[S+420+1>>0]<<8|l[S+420+2>>0]<<16|l[S+420+3>>0]<<24|0))break;QOa(S,l[S+424>>0]|l[S+424+1>>0]<<8|l[S+424+2>>0]<<16|l[S+424+3>>0]<<24,W)}while(0);D=_;h=Z;z=0;A=(aa|0)==255?$:0;B=aa;C=0;g=n;y=V;u=ba;t=Y;e=0;s=X;r=W;f=w;k[a+16088>>2]=2;k[a+16092>>2]=35;break a}while(0);if(((e<<24>>24)+-48|0)>>>0>=10){m=Q;D=_;h=Z;o=R;z=P;A=$;B=aa;C=U;g=T;y=V;u=ba;t=Y;e=0;s=X;r=W;f=J;q=N;p=O;k[a+16088>>2]=2;k[a+16092>>2]=35;break a}d=l[S+412>>0]|l[S+412+1>>0]<<8|l[S+412+2>>0]<<16|l[S+412+3>>0]<<24;if(!d){d=BOa(S,1279174,0)|0;H=l[S+376>>0]|l[S+376+1>>0]<<8|l[S+376+2>>0]<<16|l[S+376+3>>0]<<24;i[d+20>>0]=H;i[d+20+1>>0]=H>>8;i[d+20+2>>0]=H>>16;i[d+20+3>>0]=H>>24}i[S+412>>0]=d;i[S+412+1>>0]=d>>8;i[S+412+2>>0]=d>>16;i[S+412+3>>0]=d>>24;G=l[S+424>>0]|l[S+424+1>>0]<<8|l[S+424+2>>0]<<16|l[S+424+3>>0]<<24;H=jqb(1,16)|0;i[H>>0]=0;i[H+1>>0]=0;i[H+2>>0]=0;i[H+3>>0]=0;i[H+4>>0]=G;i[H+4+1>>0]=G>>8;i[H+4+2>>0]=G>>16;i[H+4+3>>0]=G>>24;i[H+8>>0]=1;i[H+9>>0]=80;i[H+10>>0]=0;i[H+10+1>>0]=0;i[H+10+2>>0]=0;i[H+10+3>>0]=0;i[H+14>>0]=i[1274943]|0;i[H+15>>0]=0;DOa(d,H);d=i[c>>0]|0;if((d+-48|0)>>>0<10){f=0;e=0;do{f=d+-48+(f*10|0)|0;e=e+1|0;d=i[c+e>>0]|0}while((d+-48|0)>>>0<10);d=f}else{d=0;e=0}f=(e|0)==0?1:d;c=c+e|0;H=l[S+412>>0]|l[S+412+1>>0]<<8|l[S+412+2>>0]<<16|l[S+412+3>>0]<<24;G=l[S+424>>0]|l[S+424+1>>0]<<8|l[S+424+2>>0]<<16|l[S+424+3>>0]<<24;d=jqb(1,16)|0;i[d>>0]=0;i[d+1>>0]=0;i[d+2>>0]=0;i[d+3>>0]=0;i[d+4>>0]=G;i[d+4+1>>0]=G>>8;i[d+4+2>>0]=G>>16;i[d+4+3>>0]=G>>24;i[d+8>>0]=1;i[d+9>>0]=86;i[d+14>>0]=i[1274943]|0;i[d+15>>0]=0;i[d+10>>0]=1<>0]=1<>8;i[d+10+2>>0]=1<>16;i[d+10+3>>0]=1<>24;DOa(H,d);d=i[c>>0]|0;if((d&-2)<<24>>24!=44){m=Q;D=_;h=Z;o=R;z=P;A=$;B=aa;C=U;g=T;y=V;u=ba;t=Y;e=0;s=X;r=W;f=J;q=N;p=O;k[a+16088>>2]=2;k[a+16092>>2]=35;break a}do{e=i[c+1>>0]|0;do if(d<<24>>24==44){if((e+-48|0)>>>0<10){f=0;g=0;while(1){f=e+-48+(f*10|0)|0;d=g+1|0;e=i[c+(g+2)>>0]|0;if((e+-48|0)>>>0>=10){e=f;break}else g=d}}else{e=0;d=0}f=(d|0)==0?1:e;H=(l[S+412>>0]|l[S+412+1>>0]<<8|l[S+412+2>>0]<<16|l[S+412+3>>0]<<24)+8|0;H=(l[H>>0]|l[H+1>>0]<<8|l[H+2>>0]<<16|l[H+3>>0]<<24)+10|0;G=l[H>>0]|l[H+1>>0]<<8|l[H+2>>0]<<16|l[H+3>>0]<<24|1<>0]=G;i[H+1>>0]=G>>8;i[H+2>>0]=G>>16;i[H+3>>0]=G>>24}else{if((e+-48|0)>>>0<10){g=0;h=0;while(1){g=e+-48+(g*10|0)|0;d=h+1|0;e=i[c+(h+2)>>0]|0;if((e+-48|0)>>>0>=10){e=g;break}else h=d}}else{e=0;d=0}g=(d|0)==0?1:e;if((f|0)>=(g|0))break;h=(l[S+412>>0]|l[S+412+1>>0]<<8|l[S+412+2>>0]<<16|l[S+412+3>>0]<<24)+8|0;h=(l[h>>0]|l[h+1>>0]<<8|l[h+2>>0]<<16|l[h+3>>0]<<24)+10|0;e=l[h>>0]|l[h+1>>0]<<8|l[h+2>>0]<<16|l[h+3>>0]<<24;do{f=f+1|0;e=e|1<>0]=e;i[h+1>>0]=e>>8;i[h+2>>0]=e>>16;i[h+3>>0]=e>>24;f=g}while(0);c=c+(d+1)|0;d=i[c>>0]|0}while((d&-2)<<24>>24==44);m=Q;D=_;h=Z;o=R;z=P;A=$;B=aa;C=U;g=T;y=V;u=ba;t=Y;e=0;s=X;r=W;f=J;q=N;p=O}break}default:da=1}}if(da){da=0;switch(I|0){case 40:{c=i[b>>0]|0;if((c+-48|0)>>>0<10){d=c;c=0;f=0;while(1){e=d+-48+(c*10|0)|0;g=f+1|0;c=b+g|0;h=i[c>>0]|0;d=h<<24>>24;if((d+-48|0)>>>0>=10)break;else{c=e;f=g}}j=(g|0)==0?1:e;switch(j|0){case 8:case 4:case 2:{e=3;break}case 6:case 3:{e=2;break}default:e=(k[a+640>>2]|0)==8?3:2}if(h<<24>>24!=58){m=Q;D=j;h=e;o=j;z=P;A=$;B=aa;C=U;g=T;y=V;x=K;v=M;u=ba;t=Y;e=0;s=X;r=W;f=J;q=N;p=O;k[a+16088>>2]=2;k[a+16092>>2]=35;break a}c=b+(f+2)|0;d=i[c>>0]|0;if(((d<<24>>24)+-48|0)>>>0<10){e=d<<24>>24;c=0;d=0;while(1){g=e+-48+(c*10|0)|0;h=d+1|0;c=b+(h+(f+2))|0;d=i[c>>0]|0;e=d<<24>>24;if((e+-48|0)>>>0>=10)break;else{c=g;d=h}}n=h+(f+2)|0;h=(h|0)==0?1:g}else{n=f+2|0;h=e}if(d<<24>>24!=58){m=Q;D=j;o=j;z=P;A=$;B=aa;C=U;g=T;y=V;x=K;v=M;u=ba;t=Y;e=0;s=X;r=W;f=J;q=N;p=O;k[a+16088>>2]=2;k[a+16092>>2]=35;break a}f=n+1|0;c=b+f|0;d=i[c>>0]|0;if((d+-48|0)>>>0<10){c=0;e=0}else{m=Q;D=j;o=j;z=P;A=$;B=aa;C=U;g=T;y=V;x=K;v=M;u=ba;t=Y;e=0;s=X;r=W;f=J;q=N;p=O;k[a+16088>>2]=2;k[a+16092>>2]=35;break a}while(1){c=d+-48+(c*10|0)|0;g=e+1|0;d=i[b+(g+f)>>0]|0;if((d+-48|0)>>>0>=10){d=e;break}else e=g}m=Q;D=j;o=(g|0)==0?1:c;z=P;A=$;B=aa;C=U;g=T;y=V;x=K;v=M;u=ba;t=Y;e=0;s=X;r=W;f=J;q=N;p=O;c=b+(n+2+d)|0}else{m=Q;D=_;h=Z;o=R;z=P;A=$;B=aa;C=U;g=T;y=V;x=K;v=0;u=ba;t=Y;e=0;s=X;r=W;f=J;q=N;p=O;c=b}break}case 41:{m=Q;D=_;h=Z;o=R;z=P;A=$;B=aa;C=U;g=T;y=V;x=K;v=K;u=ba;t=Y;e=0;s=X;r=W;f=J;q=N;p=O;c=b;break}default:da=1}}if(da){da=0;switch(I|0){case 123:{c=l[S+412>>0]|l[S+412+1>>0]<<8|l[S+412+2>>0]<<16|l[S+412+3>>0]<<24;if(!c){c=BOa(S,1279174,0)|0;H=l[S+376>>0]|l[S+376+1>>0]<<8|l[S+376+2>>0]<<16|l[S+376+3>>0]<<24;i[c+20>>0]=H;i[c+20+1>>0]=H>>8;i[c+20+2>>0]=H>>16;i[c+20+3>>0]=H>>24}i[S+412>>0]=c;i[S+412+1>>0]=c>>8;i[S+412+2>>0]=c>>16;i[S+412+3>>0]=c>>24;d=i[c+36>>0]|0;c=l[S+8>>0]|l[S+8+1>>0]<<8|l[S+8+2>>0]<<16|l[S+8+3>>0]<<24;if(c|0)do{if((i[c+36>>0]|0)==d<<24>>24)i[c+38>>0]=i[c+37>>0]|0;c=l[c>>0]|l[c+1>>0]<<8|l[c+2>>0]<<16|l[c+3>>0]<<24}while((c|0)!=0);c=k[a+632>>2]|0;if(!c)c=0;else{H=ha((l[S+20>>0]|l[S+20+1>>0]<<8|l[S+20+2>>0]<<16|l[S+20+3>>0]<<24)*3072|0,k[298900]|0)|0;c=(H|0)/(ha(k[298901]|0,c)|0)|0}d=(((l[S+424>>0]|l[S+424+1>>0]<<8|l[S+424+2>>0]<<16|l[S+424+3>>0]<<24)-W|0)>>>0)/(c>>>0)|0;e=l[S+28>>0]|l[S+28+1>>0]<<8|l[S+28+2>>0]<<16|l[S+28+3>>0]<<24;l:do if(!e){if((d|0)%(l[S+35>>0]|0)|0|0){c=l[S+34>>0]|0;break}if(!d){c=l[S+32>>0]|0;break}else{c=l[S+33>>0]|0;break}}else{c=l[S+34>>0]|0;if((Fnb(e)|0)<=(d|0)){c=((c*9|0)>>>0)/10|0;break}switch(i[e+d>>0]|0){case 102:{c=l[S+32>>0]|0;break l}case 109:{c=l[S+33>>0]|0;break l}case 112:break l;default:{c=((c*9|0)>>>0)/10|0;break l}}}while(0);p=(ha(c,X)|0)/128|0;q=0;o=b;m:while(1){c=o+1|0;j=i[o>>0]|0;switch(j<<24>>24){case 125:case 0:{g=q;break m}default:{}}m=(OOa(S,j<<24>>24,c,(l[S+424>>0]|l[S+424+1>>0]<<8|l[S+424+2>>0]<<16|l[S+424+3>>0]<<24)+q|0,a+732|0,p,0,0)|0)+1|0;c=i[o+m>>0]|0;if((c+-48|0)>>>0<10){d=0;e=0;do{d=c+-48+(d*10|0)|0;e=e+1|0;c=i[o+(e+m)>>0]|0}while((c+-48|0)>>>0<10)}else{d=0;e=0}n=(e|0)==0;c=i[o+(e+m)>>0]|0;if(c<<24>>24==47){c=1;while(1){f=c<<1;e=e+1|0;c=i[o+(e+m)>>0]|0;if(c<<24>>24==47)c=f;else break}}else f=1;c=c<<24>>24;if((c+-48|0)>>>0<10){g=0;h=0;do{g=c+-48+(g*10|0)|0;h=h+1|0;j=h+e|0;c=i[o+(j+m)>>0]|0}while((c+-48|0)>>>0<10);h=(h|0)==0?1:g;g=(f|0)/2|0;e=j}else{h=1;g=f}c=e+m|0;e=o+c|0;do if((i[e>>0]|0)==45){e=o+(c+1)|0;c=l[S+412>>0]|l[S+412+1>>0]<<8|l[S+412+2>>0]<<16|l[S+412+3>>0]<<24;f=l[c+8>>0]|l[c+8+1>>0]<<8|l[c+8+2>>0]<<16|l[c+8+3>>0]<<24;if((i[f+8>>0]|0)==1)break;i[c+16>>0]=f;i[c+16+1>>0]=f>>8;i[c+16+2>>0]=f>>16;i[c+16+3>>0]=f>>24}while(0);c=ha(ha(h<<2,g)|0,k[a+640>>2]|0)|0;if(!c)c=0;else{H=ha(ha(ha(n?3072:d*3072|0,k[a+644>>2]|0)|0,l[S+20>>0]|l[S+20+1>>0]<<8|l[S+20+2>>0]<<16|l[S+20+3>>0]<<24)|0,k[298900]|0)|0;c=(H|0)/(ha(k[298901]|0,c)|0)|0}o=c+q|0;G=l[S+412>>0]|l[S+412+1>>0]<<8|l[S+412+2>>0]<<16|l[S+412+3>>0]<<24;E=(l[S+424>>0]|l[S+424+1>>0]<<8|l[S+424+2>>0]<<16|l[S+424+3>>0]<<24)+o|0;F=(JOa(l[G+42>>0]|0)|0)&255;H=jqb(1,16)|0;i[H>>0]=0;i[H+1>>0]=0;i[H+2>>0]=0;i[H+3>>0]=0;i[H+4>>0]=E;i[H+4+1>>0]=E>>8;i[H+4+2>>0]=E>>16;i[H+4+3>>0]=E>>24;i[H+8>>0]=0;i[H+9>>0]=0;i[H+10>>0]=F;i[H+11>>0]=0;i[H+12>>0]=0;i[H+13>>0]=0;i[H+14>>0]=i[1274943]|0;i[H+15>>0]=0;DOa(G,H);q=o;o=e}d=(l[S+424>>0]|l[S+424+1>>0]<<8|l[S+424+2>>0]<<16|l[S+424+3>>0]<<24)+g|0;i[S+424>>0]=d;i[S+424+1>>0]=d>>8;i[S+424+2>>0]=d>>16;i[S+424+3>>0]=d>>24;e=l[S+412>>0]|l[S+412+1>>0]<<8|l[S+412+2>>0]<<16|l[S+412+3>>0]<<24;f=l[e+8>>0]|l[e+8+1>>0]<<8|l[e+8+2>>0]<<16|l[e+8+3>>0]<<24;do if(!f)ca=678;else{if((l[f+4>>0]|l[f+4+1>>0]<<8|l[f+4+2>>0]<<16|l[f+4+3>>0]<<24|0)==(d|0))break;if((i[f+8>>0]|0)!=1){ca=678;break}if((i[f+9>>0]|0)!=83){ca=678;break}i[f+4>>0]=d;i[f+4+1>>0]=d>>8;i[f+4+2>>0]=d>>16;i[f+4+3>>0]=d>>24}while(0);if((ca|0)==678){ca=0;H=jqb(1,16)|0;i[H>>0]=0;i[H+1>>0]=0;i[H+2>>0]=0;i[H+3>>0]=0;i[H+4>>0]=d;i[H+4+1>>0]=d>>8;i[H+4+2>>0]=d>>16;i[H+4+3>>0]=d>>24;i[H+8>>0]=1;i[H+9>>0]=83;i[H+10>>0]=0;i[H+10+1>>0]=0;i[H+10+2>>0]=0;i[H+10+3>>0]=0;i[H+14>>0]=i[1274943]|0;i[H+15>>0]=0;DOa(e,H)}do if(l[S+384>>0]|l[S+384+1>>0]<<8|l[S+384+2>>0]<<16|l[S+384+3>>0]<<24|0){if((l[S+412>>0]|l[S+412+1>>0]<<8|l[S+412+2>>0]<<16|l[S+412+3>>0]<<24|0)!=(l[S+416>>0]|l[S+416+1>>0]<<8|l[S+416+2>>0]<<16|l[S+416+3>>0]<<24|0))break;POa(S,l[S+424>>0]|l[S+424+1>>0]<<8|l[S+424+2>>0]<<16|l[S+424+3>>0]<<24,W)}while(0);if(!(l[S+380>>0]|l[S+380+1>>0]<<8|l[S+380+2>>0]<<16|l[S+380+3>>0]<<24)){m=Q;D=_;h=Z;o=R;z=P;A=$;B=aa;C=U;y=V;x=K;v=M;u=ba;t=Y;e=0;s=X;r=W;f=j;q=N;p=O;k[a+16088>>2]=2;k[a+16092>>2]=35;break a}if((l[S+412>>0]|l[S+412+1>>0]<<8|l[S+412+2>>0]<<16|l[S+412+3>>0]<<24|0)!=(l[S+420>>0]|l[S+420+1>>0]<<8|l[S+420+2>>0]<<16|l[S+420+3>>0]<<24|0)){m=Q;D=_;h=Z;o=R;z=P;A=$;B=aa;C=U;y=V;x=K;v=M;u=ba;t=Y;e=0;s=X;r=W;f=j;q=N;p=O;k[a+16088>>2]=2;k[a+16092>>2]=35;break a}QOa(S,l[S+424>>0]|l[S+424+1>>0]<<8|l[S+424+2>>0]<<16|l[S+424+3>>0]<<24,W);m=Q;D=_;h=Z;o=R;z=P;A=$;B=aa;C=U;y=V;x=K;v=M;u=ba;t=Y;e=0;s=X;r=W;f=j;q=N;p=O;break}default:da=1}}if(da){da=0;switch(I|0){case 124:{do if(l[S+384>>0]|l[S+384+1>>0]<<8|l[S+384+2>>0]<<16|l[S+384+3>>0]<<24|0){c=l[S+412>>0]|l[S+412+1>>0]<<8|l[S+412+2>>0]<<16|l[S+412+3>>0]<<24;if(!c)break;if((c|0)!=(l[S+416>>0]|l[S+416+1>>0]<<8|l[S+416+2>>0]<<16|l[S+416+3>>0]<<24|0))break;POa(S,l[S+424>>0]|l[S+424+1>>0]<<8|l[S+424+2>>0]<<16|l[S+424+3>>0]<<24,W)}while(0);do if(l[S+380>>0]|l[S+380+1>>0]<<8|l[S+380+2>>0]<<16|l[S+380+3>>0]<<24|0){if((l[S+412>>0]|l[S+412+1>>0]<<8|l[S+412+2>>0]<<16|l[S+412+3>>0]<<24|0)!=(l[S+420>>0]|l[S+420+1>>0]<<8|l[S+420+2>>0]<<16|l[S+420+3>>0]<<24|0))break;QOa(S,l[S+424>>0]|l[S+424+1>>0]<<8|l[S+424+2>>0]<<16|l[S+424+3>>0]<<24,W)}while(0);r=k[45680+(V<<2)>>2]|0;k[a+272>>2]=r;k[a+272+4>>2]=r;Fmb(a+732|0,523795,a+272|0)|0;r=l[S+424>>0]|l[S+424+1>>0]<<8|l[S+424+2>>0]<<16|l[S+424+3>>0]<<24;c=l[S+412>>0]|l[S+412+1>>0]<<8|l[S+412+2>>0]<<16|l[S+412+3>>0]<<24;do if(!c)c=0;else{if(!(i[c+37>>0]|0))break;c=BOa(S,c+44|0,0)|0;i[S+412>>0]=c;i[S+412+1>>0]=c>>8;i[S+412+2>>0]=c>>16;i[S+412+3>>0]=c>>24}while(0);d=i[b>>0]|0;if(((d<<24>>24)+-48|0)>>>0>=10){if(d<<24>>24!=58){m=Q;D=_;h=Z;o=R;z=P;A=$;B=aa;C=U;g=T;y=V;x=K;v=M;u=ba;t=Y;e=0;s=X;f=J;q=N;p=O;c=b;k[a+16088>>2]=2;k[a+16092>>2]=35;break a}if(!c){c=BOa(S,1279174,0)|0;W=l[S+376>>0]|l[S+376+1>>0]<<8|l[S+376+2>>0]<<16|l[S+376+3>>0]<<24;i[c+20>>0]=W;i[c+20+1>>0]=W>>8;i[c+20+2>>0]=W>>16;i[c+20+3>>0]=W>>24}i[S+412>>0]=c;i[S+412+1>>0]=c>>8;i[S+412+2>>0]=c>>16;i[S+412+3>>0]=c>>24;h=l[S+424>>0]|l[S+424+1>>0]<<8|l[S+424+2>>0]<<16|l[S+424+3>>0]<<24;D=jqb(1,16)|0;i[D>>0]=0;i[D+1>>0]=0;i[D+2>>0]=0;i[D+3>>0]=0;i[D+4>>0]=h;i[D+4+1>>0]=h>>8;i[D+4+2>>0]=h>>16;i[D+4+3>>0]=h>>24;i[D+8>>0]=1;i[D+9>>0]=80;i[D+10>>0]=0;i[D+10+1>>0]=0;i[D+10+2>>0]=0;i[D+10+3>>0]=0;i[D+14>>0]=i[1274943]|0;i[D+15>>0]=0;DOa(c,D);D=l[S+412>>0]|l[S+412+1>>0]<<8|l[S+412+2>>0]<<16|l[S+412+3>>0]<<24;h=l[S+424>>0]|l[S+424+1>>0]<<8|l[S+424+2>>0]<<16|l[S+424+3>>0]<<24;m=jqb(1,16)|0;i[m>>0]=0;i[m+1>>0]=0;i[m+2>>0]=0;i[m+3>>0]=0;i[m+4>>0]=h;i[m+4+1>>0]=h>>8;i[m+4+2>>0]=h>>16;i[m+4+3>>0]=h>>24;i[m+8>>0]=1;i[m+9>>0]=76;i[m+10>>0]=0;i[m+10+1>>0]=0;i[m+10+2>>0]=0;i[m+10+3>>0]=0;i[m+14>>0]=i[1274943]|0;i[m+15>>0]=0;DOa(D,m);m=Q;D=_;h=Z;o=R;z=P;A=$;B=aa;C=U;g=T;y=V;x=K;v=M;u=ba;t=Y;e=0;s=X;f=J;q=N;p=O;c=b+1|0;k[a+16088>>2]=2;k[a+16092>>2]=35;break a}if(!c){c=BOa(S,1279174,0)|0;H=l[S+376>>0]|l[S+376+1>>0]<<8|l[S+376+2>>0]<<16|l[S+376+3>>0]<<24;i[c+20>>0]=H;i[c+20+1>>0]=H>>8;i[c+20+2>>0]=H>>16;i[c+20+3>>0]=H>>24}i[S+412>>0]=c;i[S+412+1>>0]=c>>8;i[S+412+2>>0]=c>>16;i[S+412+3>>0]=c>>24;G=l[S+424>>0]|l[S+424+1>>0]<<8|l[S+424+2>>0]<<16|l[S+424+3>>0]<<24;H=jqb(1,16)|0;i[H>>0]=0;i[H+1>>0]=0;i[H+2>>0]=0;i[H+3>>0]=0;i[H+4>>0]=G;i[H+4+1>>0]=G>>8;i[H+4+2>>0]=G>>16;i[H+4+3>>0]=G>>24;i[H+8>>0]=1;i[H+9>>0]=80;i[H+10>>0]=0;i[H+10+1>>0]=0;i[H+10+2>>0]=0;i[H+10+3>>0]=0;i[H+14>>0]=i[1274943]|0;i[H+15>>0]=0;DOa(c,H);c=i[b>>0]|0;if((c+-48|0)>>>0<10){e=0;d=0;do{e=c+-48+(e*10|0)|0;d=d+1|0;c=i[b+d>>0]|0}while((c+-48|0)>>>0<10);c=e}else{c=0;d=0}e=(d|0)==0?1:c;c=b+d|0;H=l[S+412>>0]|l[S+412+1>>0]<<8|l[S+412+2>>0]<<16|l[S+412+3>>0]<<24;G=l[S+424>>0]|l[S+424+1>>0]<<8|l[S+424+2>>0]<<16|l[S+424+3>>0]<<24;d=jqb(1,16)|0;i[d>>0]=0;i[d+1>>0]=0;i[d+2>>0]=0;i[d+3>>0]=0;i[d+4>>0]=G;i[d+4+1>>0]=G>>8;i[d+4+2>>0]=G>>16;i[d+4+3>>0]=G>>24;i[d+8>>0]=1;i[d+9>>0]=86;i[d+14>>0]=i[1274943]|0;i[d+15>>0]=0;i[d+10>>0]=1<>0]=1<>8;i[d+10+2>>0]=1<>16;i[d+10+3>>0]=1<>24;DOa(H,d);d=i[c>>0]|0;if((d&-2)<<24>>24==44)j=e;else{m=Q;D=_;h=Z;o=R;z=P;A=$;B=aa;C=U;g=T;y=V;x=K;v=M;u=ba;t=Y;e=0;s=X;f=J;q=N;p=O;k[a+16088>>2]=2;k[a+16092>>2]=35;break a}while(1){e=i[c+1>>0]|0;do if(d<<24>>24==44){if((e+-48|0)>>>0<10){f=0;g=0;while(1){f=e+-48+(f*10|0)|0;d=g+1|0;e=i[c+(g+2)>>0]|0;if((e+-48|0)>>>0>=10){e=f;break}else g=d}}else{e=0;d=0}e=(d|0)==0?1:e;H=(l[S+412>>0]|l[S+412+1>>0]<<8|l[S+412+2>>0]<<16|l[S+412+3>>0]<<24)+8|0;H=(l[H>>0]|l[H+1>>0]<<8|l[H+2>>0]<<16|l[H+3>>0]<<24)+10|0;G=l[H>>0]|l[H+1>>0]<<8|l[H+2>>0]<<16|l[H+3>>0]<<24|1<>0]=G;i[H+1>>0]=G>>8;i[H+2>>0]=G>>16;i[H+3>>0]=G>>24}else{if((e+-48|0)>>>0<10){f=0;g=0;while(1){f=e+-48+(f*10|0)|0;d=g+1|0;e=i[c+(g+2)>>0]|0;if((e+-48|0)>>>0>=10){e=f;break}else g=d}}else{e=0;d=0}g=(d|0)==0?1:e;if((j|0)>=(g|0)){e=j;break}h=(l[S+412>>0]|l[S+412+1>>0]<<8|l[S+412+2>>0]<<16|l[S+412+3>>0]<<24)+8|0;h=(l[h>>0]|l[h+1>>0]<<8|l[h+2>>0]<<16|l[h+3>>0]<<24)+10|0;f=j;e=l[h>>0]|l[h+1>>0]<<8|l[h+2>>0]<<16|l[h+3>>0]<<24;do{f=f+1|0;e=e|1<>0]=e;i[h+1>>0]=e>>8;i[h+2>>0]=e>>16;i[h+3>>0]=e>>24;e=g}while(0);c=c+(d+1)|0;d=i[c>>0]|0;if((d&-2)<<24>>24!=44){m=Q;D=_;h=Z;o=R;z=P;A=$;B=aa;C=U;g=T;y=V;x=K;v=M;u=ba;t=Y;e=0;s=X;f=J;q=N;p=O;break}else j=e}break}default:da=1}}if(da){da=0;switch(I|0){case 38:{i[S+424>>0]=W;i[S+424+1>>0]=W>>8;i[S+424+2>>0]=W>>16;i[S+424+3>>0]=W>>24;c=l[S+412>>0]|l[S+412+1>>0]<<8|l[S+412+2>>0]<<16|l[S+412+3>>0]<<24;if(!c){c=BOa(S,1279174,0)|0;H=l[S+376>>0]|l[S+376+1>>0]<<8|l[S+376+2>>0]<<16|l[S+376+3>>0]<<24;i[c+20>>0]=H;i[c+20+1>>0]=H>>8;i[c+20+2>>0]=H>>16;i[c+20+3>>0]=H>>24}i[S+412>>0]=c;i[S+412+1>>0]=c>>8;i[S+412+2>>0]=c>>16;i[S+412+3>>0]=c>>24;m=i[c+37>>0]|0;m=BOa(S,c+44|0,m<<24>>24?(m&255)+1|0:11)|0;i[S+412>>0]=m;i[S+412+1>>0]=m>>8;i[S+412+2>>0]=m>>16;i[S+412+3>>0]=m>>24;m=Q;D=_;h=Z;o=R;z=P;A=$;B=aa;C=U;g=T;y=V;x=K;v=M;u=ba;t=Y;e=0;s=X;r=W;f=J;q=N;p=O;c=b;break}case 93:{m=Q;D=_;h=Z;o=R;z=P;A=$;B=aa;C=U;g=T;y=V;x=K;v=M;u=ba;t=Y;e=0;s=X;r=W;f=J;q=N;p=O;c=b;break}case 58:{c=l[S+412>>0]|l[S+412+1>>0]<<8|l[S+412+2>>0]<<16|l[S+412+3>>0]<<24;if(!c){c=BOa(S,1279174,0)|0;H=l[S+376>>0]|l[S+376+1>>0]<<8|l[S+376+2>>0]<<16|l[S+376+3>>0]<<24;i[c+20>>0]=H;i[c+20+1>>0]=H>>8;i[c+20+2>>0]=H>>16;i[c+20+3>>0]=H>>24}i[S+412>>0]=c;i[S+412+1>>0]=c>>8;i[S+412+2>>0]=c>>16;i[S+412+3>>0]=c>>24;F=c+32|0;H=l[S+424>>0]|l[S+424+1>>0]<<8|l[S+424+2>>0]<<16|l[S+424+3>>0]<<24;F=(l[F>>0]|l[F+1>>0]<<8|l[F+2>>0]<<16|l[F+3>>0]<<24|0)==-2&1;G=jqb(1,16)|0;i[G>>0]=0;i[G+1>>0]=0;i[G+2>>0]=0;i[G+3>>0]=0;i[G+4>>0]=H;i[G+4+1>>0]=H>>8;i[G+4+2>>0]=H>>16;i[G+4+3>>0]=H>>24;i[G+8>>0]=1;i[G+9>>0]=74;i[G+10>>0]=0;i[G+11>>0]=0;i[G+12>>0]=0;i[G+13>>0]=F;i[G+14>>0]=i[1274943]|0;i[G+15>>0]=0;DOa(c,G);G=l[S+412>>0]|l[S+412+1>>0]<<8|l[S+412+2>>0]<<16|l[S+412+3>>0]<<24;F=l[S+424>>0]|l[S+424+1>>0]<<8|l[S+424+2>>0]<<16|l[S+424+3>>0]<<24;H=jqb(1,16)|0;i[H>>0]=0;i[H+1>>0]=0;i[H+2>>0]=0;i[H+3>>0]=0;i[H+4>>0]=F;i[H+4+1>>0]=F>>8;i[H+4+2>>0]=F>>16;i[H+4+3>>0]=F>>24;i[H+8>>0]=1;i[H+9>>0]=80;i[H+10>>0]=0;i[H+10+1>>0]=0;i[H+10+2>>0]=0;i[H+10+3>>0]=0;i[H+14>>0]=i[1274943]|0;i[H+15>>0]=0;DOa(G,H);if((i[b>>0]|0)!=58){m=Q;D=_;h=Z;o=R;z=P;A=$;B=aa;C=U;g=T;y=V;x=K;v=M;u=ba;t=Y;e=0;s=X;r=W;f=J;q=N;p=O;c=b;k[a+16088>>2]=2;k[a+16092>>2]=35;break a}D=l[S+412>>0]|l[S+412+1>>0]<<8|l[S+412+2>>0]<<16|l[S+412+3>>0]<<24;h=l[S+424>>0]|l[S+424+1>>0]<<8|l[S+424+2>>0]<<16|l[S+424+3>>0]<<24;m=jqb(1,16)|0;i[m>>0]=0;i[m+1>>0]=0;i[m+2>>0]=0;i[m+3>>0]=0;i[m+4>>0]=h;i[m+4+1>>0]=h>>8;i[m+4+2>>0]=h>>16;i[m+4+3>>0]=h>>24;i[m+8>>0]=1;i[m+9>>0]=76;i[m+10>>0]=0;i[m+10+1>>0]=0;i[m+10+2>>0]=0;i[m+10+3>>0]=0;i[m+14>>0]=i[1274943]|0;i[m+15>>0]=0;DOa(D,m);m=Q;D=_;h=Z;o=R;z=P;A=$;B=aa;C=U;g=T;y=V;x=K;v=M;u=ba;t=Y;e=0;s=X;r=W;f=J;q=N;p=O;c=b+1|0;break}default:da=1}}if(da){da=0;switch(I|0){case 34:{J=i[b>>0]|0;do if(!((Cmb(524627,J,6)|0)!=0|(J+-48|0)>>>0<10)){c=l[S+412>>0]|l[S+412+1>>0]<<8|l[S+412+2>>0]<<16|l[S+412+3>>0]<<24;if(!c){c=BOa(S,1279174,0)|0;J=l[S+376>>0]|l[S+376+1>>0]<<8|l[S+376+2>>0]<<16|l[S+376+3>>0]<<24;i[c+20>>0]=J;i[c+20+1>>0]=J>>8;i[c+20+2>>0]=J>>16;i[c+20+3>>0]=J>>24}i[S+412>>0]=c;i[S+412+1>>0]=c>>8;i[S+412+2>>0]=c>>16;i[S+412+3>>0]=c>>24;d=l[S+416>>0]|l[S+416+1>>0]<<8|l[S+416+2>>0]<<16|l[S+416+3>>0]<<24;if(!d){d=BOa(S,c+44|0,0)|0;i[S+416>>0]=d;i[S+416+1>>0]=d>>8;i[S+416+2>>0]=d>>16;i[S+416+3>>0]=d>>24;c=l[S+412>>0]|l[S+412+1>>0]<<8|l[S+412+2>>0]<<16|l[S+412+3>>0]<<24}if((c|0)!=(d|0))break;j=l[S+424>>0]|l[S+424+1>>0]<<8|l[S+424+2>>0]<<16|l[S+424+3>>0]<<24;e=(i[b>>0]|0)==40?b+1|0:b;c=i[e>>0]|0;do if(c<<24>>24==32)c=0;else{if(c<<24>>24==67){c=1;break}if(c<<24>>24==68){c=3;break}if(c<<24>>24==69){c=5;break}if(c<<24>>24==70){c=6;break}if(c<<24>>24==71){c=8;break}if(c<<24>>24==65){c=10;break}if(c<<24>>24==66){c=12;break}if(c<<24>>24==99){c=13;break}if(c<<24>>24==100){c=15;break}if(c<<24>>24==101){c=17;break}if(c<<24>>24==102){c=18;break}if(c<<24>>24==103){c=20;break}if(c<<24>>24==97){c=22;break}c=c<<24>>24==98?24:0}while(0);switch(i[e+1>>0]|0){case 98:{g=e+2|0;c=c+-1<<24>>24;break}case 35:{g=e+2|0;c=c+1<<24>>24;break}default:g=e+1|0}e=i[g>>0]|0;n:do switch(e<<24>>24){case 32:case 41:case 40:case 47:case 34:case 0:{f=0;break}default:{i[a+1040>>0]=e;e=i[g+1>>0]|0;switch(e<<24>>24){case 32:case 41:case 40:case 47:case 34:case 0:{f=1;break n}default:{}}i[a+1040+1>>0]=e;e=i[g+2>>0]|0;switch(e<<24>>24){case 32:case 41:case 40:case 47:case 34:case 0:{f=2;break n}default:{}}i[a+1040+2>>0]=e;e=i[g+3>>0]|0;switch(e<<24>>24){case 32:case 41:case 40:case 47:case 34:case 0:{f=3;break n}default:{}}i[a+1040+3>>0]=e;e=i[g+4>>0]|0;switch(e<<24>>24){case 32:case 41:case 40:case 47:case 34:case 0:{f=4;break n}default:{}}i[a+1040+4>>0]=e;e=i[g+5>>0]|0;switch(e<<24>>24){case 32:case 41:case 40:case 47:case 34:case 0:{f=5;break n}default:{}}i[a+1040+5>>0]=e;e=i[g+6>>0]|0;switch(e<<24>>24){case 32:case 41:case 40:case 47:case 34:case 0:{f=6;break n}default:{}}i[a+1040+6>>0]=e;e=i[g+7>>0]|0;f=7}}while(0);i[a+1040+f>>0]=0;o:do if(e<<24>>24==47){e=i[g+(f+1)>>0]|0;do if(e<<24>>24==32)e=0;else{if(e<<24>>24==67){e=1;break}if(e<<24>>24==68){e=3;break}if(e<<24>>24==69){e=5;break}if(e<<24>>24==70){e=6;break}if(e<<24>>24==71){e=8;break}if(e<<24>>24==65){e=10;break}if(e<<24>>24==66){e=12;break}if(e<<24>>24==99){e=13;break}if(e<<24>>24==100){e=15;break}if(e<<24>>24==101){e=17;break}if(e<<24>>24==102){e=18;break}if(e<<24>>24==103){e=20;break}if(e<<24>>24==97){e=22;break}e=e<<24>>24==98?24:c}while(0);switch(i[g+(f+2)>>0]|0){case 98:{e=e+-1<<24>>24;break o}case 35:{e=e+1<<24>>24;break o}default:break o}}else e=c;while(0);h=k[298902]|0;p:do if((h|0)>0){f=0;while(1){if(!(Wmb(a+1040|0,1274303+(f<<3)|0)|0))break;f=f+1|0;if((f|0)>=(h|0)){g=0;break p}}g=f&255}else{g=0;f=0}while(0);if((f|0)==(h|0)){if(((Fnb(a+1040|0)|0)+34|0)>>>0<=255){k[a+280>>2]=a+1040;Fmb(a+784|0,524633,a+280|0)|0;k[a+288>>2]=a+784;Cob(L,522043,a+288|0)|0}}else{L=jqb(1,16)|0;i[L>>0]=0;i[L+1>>0]=0;i[L+2>>0]=0;i[L+3>>0]=0;i[L+4>>0]=j;i[L+4+1>>0]=j>>8;i[L+4+2>>0]=j>>16;i[L+4+3>>0]=j>>24;i[L+8>>0]=1;i[L+9>>0]=67;i[L+10>>0]=g;i[L+11>>0]=c;i[L+12>>0]=e;i[L+13>>0]=0;i[L+14>>0]=i[1274943]|0;i[L+15>>0]=0;DOa(d,L)}}while(0);c=b+1|0;d=i[b>>0]|0;if(d<<24>>24==34|d<<24>>24!=0^1){f=d;b=d<<24>>24!=0;e=0}else{j=0;while(1){do if(!(Onb(c,524668,4)|0)){f=l[S+8>>0]|l[S+8+1>>0]<<8|l[S+8+2>>0]<<16|l[S+8+3>>0]<<24;if(!f)break;g=l[f+32>>0]|l[f+32+1>>0]<<8|l[f+32+2>>0]<<16|l[f+32+3>>0]<<24;if((g|0)<=-2)break;h=l[S+424>>0]|l[S+424+1>>0]<<8|l[S+424+2>>0]<<16|l[S+424+3>>0]<<24;e=g;d=f;while(1){L=d+28|0;i[L>>0]=h;i[L+1>>0]=h>>8;i[L+2>>0]=h>>16;i[L+3>>0]=h>>24;if((e|0)>-2){L=d+32|0;i[L>>0]=-2;i[L+1>>0]=-2>>8;i[L+2>>0]=-2>>16;i[L+3>>0]=-2>>24}d=l[d>>0]|l[d+1>>0]<<8|l[d+2>>0]<<16|l[d+3>>0]<<24;if(!d)break;e=l[d+32>>0]|l[d+32+1>>0]<<8|l[d+32+2>>0]<<16|l[d+32+3>>0]<<24}d=l[f+8>>0]|l[f+8+1>>0]<<8|l[f+8+2>>0]<<16|l[f+8+3>>0]<<24;if(!((g|0)!=-2&(d|0)!=0))break;if((l[d+4>>0]|l[d+4+1>>0]<<8|l[d+4+2>>0]<<16|l[d+4+3>>0]<<24)>>>0>>0)break;d=l[f+4>>0]|l[f+4+1>>0]<<8|l[f+4+2>>0]<<16|l[f+4+3>>0]<<24;if(!d)break;do{q:do if((i[d+8>>0]|0)==1){if((i[d+9>>0]|0)!=74)break;L=d+4|0;if((l[L>>0]|l[L+1>>0]<<8|l[L+2>>0]<<16|l[L+3>>0]<<24)>>>0>>0)break;e=d+13|0;switch(l[e>>0]|0){case 1:case 0:{i[e>>0]=1;break q}case 3:case 2:{i[e>>0]=3;break q}case 5:case 4:{i[e>>0]=5;break q}default:break q}}while(0);d=l[d>>0]|l[d+1>>0]<<8|l[d+2>>0]<<16|l[d+3>>0]<<24}while((d|0)!=0)}while(0);if(!(Onb(c,524673,7)|0)){c=l[S+412>>0]|l[S+412+1>>0]<<8|l[S+412+2>>0]<<16|l[S+412+3>>0]<<24;if(!c){c=BOa(S,1279174,0)|0;L=l[S+376>>0]|l[S+376+1>>0]<<8|l[S+376+2>>0]<<16|l[S+376+3>>0]<<24;i[c+20>>0]=L;i[c+20+1>>0]=L>>8;i[c+20+2>>0]=L>>16;i[c+20+3>>0]=L>>24}i[S+412>>0]=c;i[S+412+1>>0]=c>>8;i[S+412+2>>0]=c>>16;i[S+412+3>>0]=c>>24;f=l[S+424>>0]|l[S+424+1>>0]<<8|l[S+424+2>>0]<<16|l[S+424+3>>0]<<24;e=jqb(1,16)|0;i[e>>0]=0;i[e+1>>0]=0;i[e+2>>0]=0;i[e+3>>0]=0;i[e+4>>0]=f;i[e+4+1>>0]=f>>8;i[e+4+2>>0]=f>>16;i[e+4+3>>0]=f>>24;i[e+8>>0]=1;i[e+9>>0]=80;i[e+10>>0]=0;i[e+10+1>>0]=0;i[e+10+2>>0]=0;i[e+10+3>>0]=0;i[e+14>>0]=i[1274943]|0;i[e+15>>0]=0;DOa(c,e);e=l[S+412>>0]|l[S+412+1>>0]<<8|l[S+412+2>>0]<<16|l[S+412+3>>0]<<24;f=l[S+424>>0]|l[S+424+1>>0]<<8|l[S+424+2>>0]<<16|l[S+424+3>>0]<<24;d=jqb(1,16)|0;i[d>>0]=0;i[d+1>>0]=0;i[d+2>>0]=0;i[d+3>>0]=0;i[d+4>>0]=f;i[d+4+1>>0]=f>>8;i[d+4+2>>0]=f>>16;i[d+4+3>>0]=f>>24;i[d+8>>0]=1;i[d+9>>0]=88;i[d+10>>0]=0;i[d+10+1>>0]=0;i[d+10+2>>0]=0;i[d+10+3>>0]=0;i[d+14>>0]=i[1274943]|0;i[d+15>>0]=0;DOa(e,d);d=10;e=-1;f=b+8|0}else{e=(qmb(i[c>>0]|0)|0)==0;d=3;e=e?0:j;f=c}do if(!(Onb(f,524681,2)|0)){b=b+d|0;if(!(qmb(i[b>>0]|0)|0))if((i[b>>0]|0)!=34)break;e=1}while(0);c=f+1|0;b=i[f>>0]|0;if(b<<24>>24==34|b<<24>>24!=0^1){f=b;b=b<<24>>24!=0;break}else{j=e;b=f}}}m=Q;D=_;h=Z;o=R;z=P;A=$;B=aa;C=U;g=T;y=V;x=K;v=M;u=b?ba:5;t=Y;s=X;r=W;q=N;p=O;break}default:da=1}}}k[a+9776>>2]=m;k[a+9784>>2]=D;k[a+9792>>2]=h;k[a+9800>>2]=o;k[a+11112>>2]=z;k[a+11216>>2]=A;k[a+11288>>2]=B;k[a+11336>>2]=C;k[a+11376>>2]=g;k[a+11600>>2]=y;k[a+11680>>2]=x;k[a+11816>>2]=v;k[a+11976>>2]=u;k[a+12072>>2]=t;k[a+12176>>2]=e;k[a+12248>>2]=s;k[a+12464>>2]=r;k[a+12488>>2]=f;k[a+12600>>2]=q;k[a+12680>>2]=p;k[a+14952>>2]=c;k[a+16016>>2]=ca;k[a+16056>>2]=da}function mQa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,jb=0,kb=0,lb=0,mb=0,nb=0,ob=0,pb=0,qb=0,rb=0,sb=0,tb=0,ub=0,vb=0;N=k[a+1312>>2]|0;Y=k[a+2456>>2]|0;Z=k[a+2504>>2]|0;_=k[a+2512>>2]|0;$=k[a+2568>>2]|0;aa=k[a+2576>>2]|0;ba=k[a+2584>>2]|0;ca=k[a+2592>>2]|0;da=k[a+2600>>2]|0;ea=k[a+2608>>2]|0;fa=k[a+2816>>2]|0;S=k[a+3128>>2]|0;U=k[a+3896>>2]|0;s=k[a+4512>>2]|0;ga=k[a+9720>>2]|0;ia=k[a+9728>>2]|0;I=k[a+9736>>2]|0;ja=k[a+10656>>2]|0;ka=k[a+11088>>2]|0;la=k[a+11096>>2]|0;ma=k[a+11160>>2]|0;na=k[a+11176>>2]|0;J=k[a+11184>>2]|0;oa=k[a+11192>>2]|0;pa=k[a+11240>>2]|0;qa=k[a+11256>>2]|0;K=k[a+11264>>2]|0;ra=k[a+11272>>2]|0;sa=k[a+11312>>2]|0;ta=k[a+11320>>2]|0;ua=k[a+11360>>2]|0;va=k[a+11392>>2]|0;H=k[a+11408>>2]|0;wa=k[a+11416>>2]|0;xa=k[a+11496>>2]|0;ya=k[a+11512>>2]|0;G=k[a+11520>>2]|0;za=k[a+11528>>2]|0;Aa=k[a+11544>>2]|0;Ba=k[a+11560>>2]|0;F=k[a+11576>>2]|0;Ca=k[a+11584>>2]|0;Da=k[a+11624>>2]|0;Ea=k[a+11656>>2]|0;E=k[a+11704>>2]|0;Fa=k[a+11760>>2]|0;Ga=k[a+11776>>2]|0;Ha=k[a+11808>>2]|0;C=k[a+11840>>2]|0;Ia=k[a+11880>>2]|0;Ja=k[a+11920>>2]|0;Ka=k[a+11944>>2]|0;L=k[a+11952>>2]|0;D=k[a+11960>>2]|0;La=k[a+12e3>>2]|0;Ma=k[a+12024>>2]|0;c=k[a+12048>>2]|0;Na=k[a+12056>>2]|0;Oa=k[a+12096>>2]|0;Pa=k[a+12112>>2]|0;z=k[a+12120>>2]|0;Qa=k[a+12128>>2]|0;Ra=k[a+12200>>2]|0;Sa=k[a+12216>>2]|0;A=k[a+12224>>2]|0;Ta=k[a+12232>>2]|0;Ua=k[a+12280>>2]|0;Va=k[a+12296>>2]|0;h=k[a+12304>>2]|0;B=k[a+12312>>2]|0;Wa=k[a+12320>>2]|0;Xa=k[a+12336>>2]|0;Ya=k[a+12360>>2]|0;y=k[a+12368>>2]|0;Za=k[a+12376>>2]|0;_a=k[a+12408>>2]|0;$a=k[a+12424>>2]|0;v=k[a+12440>>2]|0;ab=k[a+12448>>2]|0;bb=k[a+12512>>2]|0;cb=k[a+12520>>2]|0;db=k[a+12544>>2]|0;eb=k[a+12552>>2]|0;fb=k[a+12624>>2]|0;gb=k[a+12632>>2]|0;hb=k[a+14136>>2]|0;ib=k[a+14152>>2]|0;w=k[a+14160>>2]|0;jb=k[a+14168>>2]|0;kb=k[a+14192>>2]|0;lb=k[a+14208>>2]|0;mb=k[a+14232>>2]|0;nb=k[a+14360>>2]|0;ob=k[a+14384>>2]|0;M=k[a+14392>>2]|0;x=k[a+14400>>2]|0;pb=k[a+14408>>2]|0;j=k[a+14448>>2]|0;qb=k[a+14520>>2]|0;p=k[a+14960>>2]|0;b=k[a+14976>>2]|0;rb=k[a+15712>>2]|0;sb=k[a+15728>>2]|0;q=k[a+15736>>2]|0;tb=k[a+15760>>2]|0;ub=k[a+15952>>2]|0;vb=k[a+15968>>2]|0;W=k[a+16016>>2]|0;a:{do{o=1;if(o){o=0;if((W|0)==43){W=0;if(!(Dmb(j,522304,2)|0)){ub=N+59804|0;vb=ub+32|0;do{i[ub>>0]=0;ub=ub+1|0}while((ub|0)<(vb|0));b=j+2|0;while(1)if(!(qmb(i[b>>0]|0)|0))break;else b=b+1|0;g=Vpb(b)|0;i[fa+388>>0]=0;i[fa+388+1>>0]=0;i[fa+388+2>>0]=0;i[fa+388+3>>0]=0;i[fa+392>>0]=71;i[fa+392+1>>0]=0;i[fa+392+2>>0]=0;i[fa+392+3>>0]=0;i[fa+396>>0]=45;i[fa+396+1>>0]=0;i[fa+396+2>>0]=0;i[fa+396+3>>0]=0;i[fa+400>>0]=33;i[fa+400+1>>0]=0;i[fa+400+2>>0]=0;i[fa+400+3>>0]=0;i[fa+404>>0]=80;i[fa+404+1>>0]=0;i[fa+404+2>>0]=0;i[fa+404+3>>0]=0;i[fa+408>>0]=80;i[fa+408+1>>0]=0;i[fa+408+2>>0]=0;i[fa+408+3>>0]=0;c=l[fa+8>>0]|l[fa+8+1>>0]<<8|l[fa+8+2>>0]<<16|l[fa+8+3>>0]<<24;if(c|0)do{i[c+36>>0]=0;K=c+12|0;i[K>>0]=0;i[K+1>>0]=0;i[K+2>>0]=0;i[K+3>>0]=0;c=l[c>>0]|l[c+1>>0]<<8|l[c+2>>0]<<16|l[c+3>>0]<<24}while((c|0)!=0);i[fa+412>>0]=0;i[fa+412+1>>0]=0;i[fa+412+2>>0]=0;i[fa+412+3>>0]=0;i[fa+416>>0]=0;i[fa+416+1>>0]=0;i[fa+416+2>>0]=0;i[fa+416+3>>0]=0;i[fa+420>>0]=0;i[fa+420+1>>0]=0;i[fa+420+2>>0]=0;i[fa+420+3>>0]=0;k[298898]=0;c=k[a+652>>2]|0;if(c|0)iqb(c);k[a+652>>2]=0;i[fa+376>>0]=0;i[fa+376+1>>0]=0;i[fa+376+2>>0]=0;i[fa+376+3>>0]=0;i[fa+384>>0]=1;i[fa+384+1>>0]=0;i[fa+384+2>>0]=0;i[fa+384+3>>0]=0;i[fa+380>>0]=0;i[fa+380+1>>0]=0;i[fa+380+2>>0]=0;i[fa+380+3>>0]=0;k[298899]=l[fa+424>>0]|l[fa+424+1>>0]<<8|l[fa+424+2>>0]<<16|l[fa+424+3>>0]<<24;i[fa+32>>0]=127;i[fa+33>>0]=125;i[fa+34>>0]=110;i[fa+35>>0]=1;c=1279174;while(1)if(!(qmb(i[c>>0]|0)|0))break;else c=c+1|0;d=i[c>>0]|0;if(d<<24>>24){do if(((d<<24>>24)+-48|0)>>>0<10){f=d<<24>>24;d=0;e=0;do{d=f+-48+(d*10|0)|0;e=e+1|0;f=i[c+e>>0]|0}while((f+-48|0)>>>0<10);d=(e|0)==0?1:d;if((d|0)<0){d=0;c=c+e|0;break}d=(d|0)>127?127:d;c=c+e|0}else d=1;while(0);i[fa+32>>0]=d}while(1)if(!(qmb(i[c>>0]|0)|0))break;else c=c+1|0;d=i[c>>0]|0;if(d<<24>>24){do if(((d<<24>>24)+-48|0)>>>0<10){f=d<<24>>24;d=0;e=0;do{d=f+-48+(d*10|0)|0;e=e+1|0;f=i[c+e>>0]|0}while((f+-48|0)>>>0<10);d=(e|0)==0?1:d;if((d|0)<0){d=0;c=c+e|0;break}d=(d|0)>127?127:d;c=c+e|0}else d=1;while(0);i[fa+33>>0]=d}while(1)if(!(qmb(i[c>>0]|0)|0))break;else c=c+1|0;d=i[c>>0]|0;if(d<<24>>24){do if(((d<<24>>24)+-48|0)>>>0<10){f=d<<24>>24;d=0;e=0;do{d=f+-48+(d*10|0)|0;e=e+1|0;f=i[c+e>>0]|0}while((f+-48|0)>>>0<10);d=(e|0)==0?1:d;if((d|0)<0){d=0;c=c+e|0;break}d=(d|0)>127?127:d;c=c+e|0}else d=1;while(0);i[fa+34>>0]=d}while(1)if(!(qmb(i[c>>0]|0)|0))break;else c=c+1|0;d=i[c>>0]|0;if(!(d<<24>>24))c=i[fa+35>>0]|0;else{do if(((d<<24>>24)+-48|0)>>>0<10){f=d<<24>>24;d=0;e=0;do{d=f+-48+(d*10|0)|0;e=e+1|0;f=i[c+e>>0]|0}while((f+-48|0)>>>0<10);c=(e|0)==0?1:d;if((c|0)<0){c=0;break}c=(c|0)>127?127:c}else c=1;while(0);c=c&255;i[fa+35>>0]=c}if(!(c<<24>>24)){i[fa+35>>0]=1;c=1279174}else c=1279174;while(1)if(!(qmb(i[c>>0]|0)|0))break;else c=c+1|0;d=l[fa+28>>0]|l[fa+28+1>>0]<<8|l[fa+28+2>>0]<<16|l[fa+28+3>>0]<<24;if(d|0)iqb(d);if(!(i[c>>0]|0))c=0;else c=bob(c)|0;i[fa+28>>0]=c;i[fa+28+1>>0]=c>>8;i[fa+28+2>>0]=c>>16;i[fa+28+3>>0]=c>>24;i[fa+36>>0]=0;I=ia;J=na;K=qa;H=0;G=0;F=Ba;E=1;C=Ha;D=2;c=Ma;z=Pa;A=Sa;B=h;y=g;v=$a;w=0;x=ob;q=sb}else{I=ia;J=na;K=qa;H=va;G=ya;F=Ba;E=Ea;C=Ha;D=Ka;c=Ma;z=Pa;A=Sa;B=h;y=Ya;v=$a;w=ib;x=ob;b=j;q=sb}}else o=1}if(o){o=0;if((W|0)==88){W=0;if(!(Dmb(j,522420,2)|0)){k[a+16>>2]=a+644;k[a+16+4>>2]=a+640;vob(j+2|0,522423,a+16|0)|0;I=ia;J=na;K=qa;H=va;G=ya;F=Ba;E=Ea;C=Ha;D=2;c=Ma;z=Pa;A=Sa;B=Va;y=Ya;v=$a;w=ib;x=ob;b=j;q=sb;break}if(!(Dmb(j,522432,2)|0)){if(!(Dmb(j+2|0,522435,4)|0)){k[a+636>>2]=1;k[a+632>>2]=1;I=ia;J=na;K=qa;H=va;G=ya;F=Ba;E=Ea;C=Ha;D=2;c=Ma;z=Pa;A=Sa;B=Va;y=Ya;v=$a;w=ib;x=ob;b=j;q=sb;break}if(!(Dmb(j+2|0,522440,2)|0)){k[a+636>>2]=2;k[a+632>>2]=2;I=ia;J=na;K=qa;H=va;G=ya;F=Ba;E=Ea;C=Ha;D=2;c=Ma;z=Pa;A=Sa;B=Va;y=Ya;v=$a;w=ib;x=ob;b=j;q=sb;break}if((i[j+2>>0]|0)==67){k[a+636>>2]=4;k[a+632>>2]=4;I=ia;J=na;K=qa;H=va;G=ya;F=Ba;E=Ea;C=Ha;D=2;c=Ma;z=Pa;A=Sa;B=Va;y=Ya;v=$a;w=ib;x=ob;b=j;q=sb;break}else{I=j+((EOa(j+2|0,a+636|0)|0)+2)|0;k[a+24>>2]=a+632;vob(I,522443,a+24|0)|0;I=ia;J=na;K=qa;H=va;G=ya;F=Ba;E=Ea;C=Ha;D=2;c=Ma;z=Pa;A=Sa;B=Va;y=Ya;v=$a;w=ib;x=ob;b=j;q=sb;break}}if(!(Dmb(j,522449,2)|0)){FOa(a+652|0,j+2|0);I=ia;J=na;K=qa;H=va;G=ya;F=Ba;E=Ea;C=Ha;D=2;c=Ma;z=Pa;A=Sa;B=Va;y=Ya;v=$a;w=ib;x=ob;b=j;q=sb;break}if(!(Dmb(j,522646,2)|0)){c=GOa(j+2|0,0)|0;b=l[fa+8>>0]|l[fa+8+1>>0]<<8|l[fa+8+2>>0]<<16|l[fa+8+3>>0]<<24;if(b|0){K=l[fa+424>>0]|l[fa+424+1>>0]<<8|l[fa+424+2>>0]<<16|l[fa+424+3>>0]<<24;L=jqb(1,16)|0;i[L>>0]=0;i[L+1>>0]=0;i[L+2>>0]=0;i[L+3>>0]=0;i[L+4>>0]=K;i[L+4+1>>0]=K>>8;i[L+4+2>>0]=K>>16;i[L+4+3>>0]=K>>24;i[L+8>>0]=1;i[L+9>>0]=80;i[L+10>>0]=0;i[L+10+1>>0]=0;i[L+10+2>>0]=0;i[L+10+3>>0]=0;i[L+14>>0]=i[1274943]|0;i[L+15>>0]=0;DOa(b,L);L=l[fa+8>>0]|l[fa+8+1>>0]<<8|l[fa+8+2>>0]<<16|l[fa+8+3>>0]<<24;K=l[fa+424>>0]|l[fa+424+1>>0]<<8|l[fa+424+2>>0]<<16|l[fa+424+3>>0]<<24;M=jqb(1,16)|0;i[M>>0]=0;i[M+1>>0]=0;i[M+2>>0]=0;i[M+3>>0]=0;i[M+4>>0]=K;i[M+4+1>>0]=K>>8;i[M+4+2>>0]=K>>16;i[M+4+3>>0]=K>>24;i[M+8>>0]=1;i[M+9>>0]=84;i[M+14>>0]=i[1274943]|0;i[M+15>>0]=0;i[M+10>>0]=c;i[M+10+1>>0]=c>>8;i[M+10+2>>0]=c>>16;i[M+10+3>>0]=c>>24;DOa(L,M)}if(k[N+59652>>2]|0){I=ia;J=na;K=qa;H=va;G=ya;F=Ba;E=Ea;C=Ha;D=2;z=Pa;A=Sa;B=Va;y=Ya;v=$a;w=1;x=ob;b=j;q=sb;break}k[N+59652>>2]=c;I=ia;J=na;K=qa;H=va;G=ya;F=Ba;E=Ea;C=Ha;D=2;z=Pa;A=Sa;B=Va;y=Ya;v=$a;w=1;x=ob;b=j;q=sb;break}if(!(Dmb(j,522708,2)|0)){b=gob(j,37)|0;if(b|0)i[b>>0]=0;b=(Fnb(j)|0)+-1|0;if(!(qmb(i[j+b>>0]|0)|0))b=2;else{c=j+b|0;do{i[c>>0]=0;b=b+-1|0;c=j+b|0}while((qmb(i[c>>0]|0)|0)!=0);b=2}while(1){d=j+b|0;if(!(qmb(i[d>>0]|0)|0))break;else b=b+1|0}Pnb(a+1040|0,N+59804|0)|0;c=Fnb(a+1040|0)|0;if(((Fnb(d)|0)+c|0)>>>0>199)i[j+(b+199-c)>>0]=0;if(i[a+1040>>0]|0){M=a+1040+(Fnb(a+1040|0)|0)|0;i[M>>0]=32;i[M+1>>0]=0}Zpb(a+1040|0,d)|0;if((Fnb(a+1040|0)|0)>>>0>31)i[a+1040+31>>0]=0;Pnb(N+59804|0,a+1040|0)|0;I=ia;J=na;K=qa;H=va;G=ya;F=Ba;E=Ea;C=Ha;D=2;c=Ma;z=Pa;A=Sa;B=Va;y=Ya;v=$a;w=ib;x=ob;b=j;q=sb;break}if(!(Dmb(j,522711,2)|0)){b=j+2|0;while(1)if(!(qmb(i[b>>0]|0)|0))break;else b=b+1|0;if(!(Dmb(b,522714,8)|0)){if(qmb(i[b+8>>0]|0)|0){I=ia;J=na;K=qa;H=va;G=1;F=Ba;E=Ea;C=Ha;D=2;c=Ma;z=Pa;A=Sa;B=Va;y=Ya;v=$a;w=ib;x=ob;q=sb;break}if(!(i[b+8>>0]|0)){I=ia;J=na;K=qa;H=va;G=1;F=Ba;E=Ea;C=Ha;D=2;c=Ma;z=Pa;A=Sa;B=Va;y=Ya;v=$a;w=ib;x=ob;q=sb;break}}I=ia;J=na;K=qa;H=va;G=0;F=Ba;E=Ea;C=Ha;D=2;c=Ma;z=Pa;A=Sa;B=Va;y=Ya;v=$a;w=ib;x=ob;q=sb;break}if(!(Dmb(j,522723,2)|0)){c=2;while(1){b=j+c|0;if((i[b>>0]|0)==32)c=c+1|0;else break}A=BOa(fa,b,0)|0;i[fa+412>>0]=A;i[fa+412+1>>0]=A>>8;i[fa+412+2>>0]=A>>16;i[fa+412+3>>0]=A>>24;C=(i[A+43>>0]|0)==0;I=ia;J=na;K=qa;H=va;G=ya;F=Ba;E=C&1;C=C?Ha:0;D=2;c=Ma;z=Pa;A=l[A+41>>0]|0;B=Va;y=Ya;v=$a;w=ib;x=ob;b=j;q=sb;break}if(Dmb(j,522726,2)|0){I=ia;J=na;K=qa;H=va;G=ya;F=Ba;E=Ea;C=Ha;D=(i[j>>0]|0)==0?1:2;c=Ma;z=Pa;A=Sa;B=Va;y=Ya;v=$a;w=ib;x=ob;b=j;q=sb;break}n=HOa(j+2|0)|0;b=k[45680+(n<<2)>>2]|0;k[a+32>>2]=b;k[a+32+4>>2]=b;Fmb(a+732|0,523795,a+32|0)|0;b=j+2|0;while(1)if(!(qmb(i[b>>0]|0)|0))break;else b=b+1|0;c=i[b>>0]|0;b:do if(c<<24>>24)do{if(qmb(c<<24>>24)|0)break b;if((i[b>>0]|0)==93)break b;b=b+1|0;c=i[b>>0]|0}while(c<<24>>24!=0);while(0);while(1)if(!(qmb(i[b>>0]|0)|0))break;else b=b+1|0;c=COa(b)|0;i[fa+376>>0]=c;i[fa+376+1>>0]=c>>8;i[fa+376+2>>0]=c>>16;i[fa+376+3>>0]=c>>24;i[b>>0]=37;c=k[a+644>>2]|0;if(!c){c=k[a+632>>2]|0;if(!c){k[a+636>>2]=1;k[a+632>>2]=1;d=1;c=1}else d=k[a+636>>2]|0;d=((d*100|0)/(c|0)|0|0)>74?8:16;k[a+640>>2]=d;k[a+644>>2]=1;c=1}else d=k[a+640>>2]|0;m=(c|0)==1&(d|0)==8?ya:0;i[1274943]=32;i[fa+416>>0]=0;i[fa+416+1>>0]=0;i[fa+416+2>>0]=0;i[fa+416+3>>0]=0;i[fa+420>>0]=0;i[fa+420+1>>0]=0;i[fa+420+2>>0]=0;i[fa+420+3>>0]=0;c:do if(!(i[fa+36>>0]|0)){c=k[a+636>>2]|0;d=k[a+632>>2]|0;switch((c<<4)+d|0){case 34:case 68:case 36:{IOa(523800,fa)|0;break c}case 50:case 100:{IOa(523839,fa)|0;break c}case 56:case 52:{IOa(523852,fa)|0;break c}case 104:{IOa(523859,fa)|0;break c}case 152:{IOa(523866,fa)|0;break c}case 200:{IOa(523876,fa)|0;break c}default:{if(!((c|0)%3|0))IOa(523889,fa)|0;else IOa(523917,fa)|0;if((d|0)==8){i[(c<<1)+(fa+36)>>0]=0;break c}else{i[(c<<2)+(fa+36)>>0]=0;break c}}}}while(0);c=k[a+632>>2]|0;if(!c)c=0;else{K=ha(ha((k[a+636>>2]|0)*3072|0,l[fa+20>>0]|l[fa+20+1>>0]<<8|l[fa+20+2>>0]<<16|l[fa+20+3>>0]<<24)|0,k[298900]|0)|0;c=(K|0)/(ha(k[298901]|0,c)|0)|0}i[fa+356>>0]=c;i[fa+356+1>>0]=c>>8;i[fa+356+2>>0]=c>>16;i[fa+356+3>>0]=c>>24;do if((Ma|0)==0|(ib|0)!=0)c=Ma;else{k[298900]=2;k[298901]=1;c=l[fa+8>>0]|l[fa+8+1>>0]<<8|l[fa+8+2>>0]<<16|l[fa+8+3>>0]<<24;if(c|0){I=l[fa+424>>0]|l[fa+424+1>>0]<<8|l[fa+424+2>>0]<<16|l[fa+424+3>>0]<<24;J=jqb(1,16)|0;i[J>>0]=0;i[J+1>>0]=0;i[J+2>>0]=0;i[J+3>>0]=0;i[J+4>>0]=I;i[J+4+1>>0]=I>>8;i[J+4+2>>0]=I>>16;i[J+4+3>>0]=I>>24;i[J+8>>0]=1;i[J+9>>0]=80;i[J+10>>0]=0;i[J+10+1>>0]=0;i[J+10+2>>0]=0;i[J+10+3>>0]=0;i[J+14>>0]=i[1274943]|0;i[J+15>>0]=0;DOa(c,J);J=l[fa+8>>0]|l[fa+8+1>>0]<<8|l[fa+8+2>>0]<<16|l[fa+8+3>>0]<<24;I=l[fa+424>>0]|l[fa+424+1>>0]<<8|l[fa+424+2>>0]<<16|l[fa+424+3>>0]<<24;K=jqb(1,16)|0;i[K>>0]=0;i[K+1>>0]=0;i[K+2>>0]=0;i[K+3>>0]=0;i[K+4>>0]=I;i[K+4+1>>0]=I>>8;i[K+4+2>>0]=I>>16;i[K+4+3>>0]=I>>24;i[K+8>>0]=1;i[K+9>>0]=84;i[K+14>>0]=i[1274943]|0;i[K+15>>0]=0;i[K+10>>0]=240;i[K+10+1>>0]=0;i[K+10+2>>0]=0;i[K+10+3>>0]=0;DOa(J,K)}if(k[N+59652>>2]|0){c=0;break}k[N+59652>>2]=240;c=0}while(0);i[a+678>>0]=-1;i[a+678+1>>0]=0;i[a+678+2>>0]=-1;i[a+678+3>>0]=0;i[a+678+4>>0]=-1;i[a+678+5>>0]=0;i[a+678+6>>0]=-1;i[a+678+7>>0]=0;i[a+678+8>>0]=-1;i[a+678+9>>0]=0;i[a+678+10>>0]=-1;i[a+678+11>>0]=0;i[a+678+12>>0]=-1;i[a+678+13>>0]=0;i[a+678+14>>0]=-1;i[a+678+15>>0]=0;i[a+678+16>>0]=-1;i[a+678+17>>0]=0;i[a+678+18>>0]=-1;i[a+678+19>>0]=0;i[a+678+20>>0]=-1;i[a+678+21>>0]=0;i[a+678+22>>0]=-1;i[a+678+23>>0]=0;i[a+678+24>>0]=-1;i[a+678+25>>0]=0;i[a+678+26>>0]=-1;i[a+678+27>>0]=0;i[a+678+28>>0]=-1;i[a+678+29>>0]=0;i[a+678+30>>0]=-1;i[a+678+31>>0]=0;i[a+678+32>>0]=-1;i[a+678+33>>0]=0;i[a+678+34>>0]=-1;i[a+678+35>>0]=0;i[a+678+36>>0]=-1;i[a+678+37>>0]=0;i[a+678+38>>0]=-1;i[a+678+39>>0]=0;i[a+678+40>>0]=-1;i[a+678+41>>0]=0;i[a+678+42>>0]=-1;i[a+678+43>>0]=0;i[a+678+44>>0]=-1;i[a+678+45>>0]=0;i[a+678+46>>0]=-1;i[a+678+47>>0]=0;i[a+678+48>>0]=-1;i[a+678+49>>0]=0;i[a+678+50>>0]=-1;i[a+678+51>>0]=0;i[(a+678+52|0)>>0]=-1;i[(a+678+53|0)>>0]=0;j=l[fa+424>>0]|l[fa+424+1>>0]<<8|l[fa+424+2>>0]<<16|l[fa+424+3>>0]<<24;h=l[fa+20>>0]|l[fa+20+1>>0]<<8|l[fa+20+2>>0]<<16|l[fa+20+3>>0]<<24;d=l[fa+8>>0]|l[fa+8+1>>0]<<8|l[fa+8+2>>0]<<16|l[fa+8+3>>0]<<24;if(!d){i[(a+678+52|0)>>0]=0;i[(a+678+53|0)>>0]=0;I=0;J=0;K=0;H=0;G=m;F=n;E=Ea;C=Ea;D=3;z=0;A=Sa;B=Va;y=Ya;v=$a;w=ib;x=ob;q=0;break}f=l[d+4>>0]|l[d+4+1>>0]<<8|l[d+4+2>>0]<<16|l[d+4+3>>0]<<24;if(!f){i[(a+678+52|0)>>0]=0;i[(a+678+53|0)>>0]=0}else{e=0;do{g=f+4|0;g=l[g>>0]|l[g+1>>0]<<8|l[g+2>>0]<<16|l[g+3>>0]<<24;if(g>>>0>j>>>0)break;do if((i[f+8>>0]|0)==1){if((i[f+9>>0]|0)!=80)break;g=g+e|0;if(!((g>>>0)%((h*12288|0)>>>0)|0))break;e=e+(h*12288|0)-(((g+(h*12288|0)|0)>>>0)%((h*12288|0)>>>0)|0)|0}while(0);f=l[f>>0]|l[f+1>>0]<<8|l[f+2>>0]<<16|l[f+3>>0]<<24}while((f|0)!=0);i[(a+678+52|0)>>0]=((((e+j|0)>>>0)/192|0)>>>6>>>0)/(h>>>0)|0;i[(a+678+53|0)>>0]=0;if(!d){I=0;J=0;K=0;H=0;G=m;F=n;E=Ea;C=Ea;D=3;z=0;A=Sa;B=Va;y=Ya;v=$a;w=ib;x=ob;q=0;break}}do{K=d+28|0;i[K>>0]=j;i[K+1>>0]=j>>8;i[K+2>>0]=j>>16;i[K+3>>0]=j>>24;K=d+32|0;i[K>>0]=0;i[K+1>>0]=0;i[K+2>>0]=0;i[K+3>>0]=0;d=l[d>>0]|l[d+1>>0]<<8|l[d+2>>0]<<16|l[d+3>>0]<<24}while((d|0)!=0);I=0;J=0;K=0;H=0;G=m;F=n;E=Ea;C=Ea;D=3;z=0;A=Sa;B=Va;y=Ya;v=$a;w=ib;x=ob;q=0}else o=1}if(o)if((W|0)==218)if(1){W=0;if(!(Dmb(p,522723,2)|0)){c=2;while(1){b=p+c|0;if((i[b>>0]|0)==32)c=c+1|0;else break}c=BOa(fa,b,0)|0;i[fa+412>>0]=c;i[fa+412+1>>0]=c>>8;i[fa+412+2>>0]=c>>16;i[fa+412+3>>0]=c>>24;c=k[45680+(Ba<<2)>>2]|0;k[a+56>>2]=c;k[a+56+4>>2]=c;Fmb(a+732|0,523795,a+56|0)|0;c=l[fa+412>>0]|l[fa+412+1>>0]<<8|l[fa+412+2>>0]<<16|l[fa+412+3>>0]<<24;b=l[c+8>>0]|l[c+8+1>>0]<<8|l[c+8+2>>0]<<16|l[c+8+3>>0]<<24;if(!b)b=0;else b=l[b+4>>0]|l[b+4+1>>0]<<8|l[b+4+2>>0]<<16|l[b+4+3>>0]<<24;o=k[298899]|0;o=b>>>0>>0?o:b;i[fa+424>>0]=o;i[fa+424+1>>0]=o>>8;i[fa+424+2>>0]=o>>16;i[fa+424+3>>0]=o>>24;n=(i[c+43>>0]|0)==0;i[p>>0]=37;h=0;j=0;m=n&1;n=n?Ha:0}else{h=ia;j=va;m=Ea;n=Ha;o=$a}if(!(Dmb(p,522726,2)|0)){b=p+2|0;d=HOa(b)|0;K=k[45680+(d<<2)>>2]|0;k[a+64>>2]=K;k[a+64+4>>2]=K;Fmb(a+732|0,523795,a+64|0)|0;while(1)if(!(qmb(i[b>>0]|0)|0))break;else b=b+1|0;c=i[b>>0]|0;d:do if(c<<24>>24)do{if(qmb(c<<24>>24)|0)break d;if((i[b>>0]|0)==93)break d;b=b+1|0;c=i[b>>0]|0}while(c<<24>>24!=0);while(0);while(1)if(!(qmb(i[b>>0]|0)|0))break;else b=b+1|0;g=COa(b)|0;i[fa+376>>0]=g;i[fa+376+1>>0]=g>>8;i[fa+376+2>>0]=g>>16;i[fa+376+3>>0]=g>>24;i[b>>0]=37;g=d}else{g=Ba;b=p}if(!(Dmb(b,522420,2)|0)){k[a+72>>2]=a+644;k[a+72+4>>2]=a+640;vob(b+2|0,522423,a+72|0)|0;i[b>>0]=37}if(!(Dmb(b,522432,2)|0)){c=b+2|0;do if(!(Dmb(c,522435,4)|0)){k[a+636>>2]=1;k[a+632>>2]=1;t=1;u=1;W=243}else{if(!(Dmb(c,522440,2)|0)){k[a+636>>2]=2;k[a+632>>2]=2;t=2;u=2;W=243;break}if((i[c>>0]|0)==67){k[a+636>>2]=4;k[a+632>>2]=4;t=4;u=4;W=243;break}c=b+((EOa(c,a+636|0)|0)+2)|0;k[a+80>>2]=a+632;vob(c,522443,a+80|0)|0;c=k[a+632>>2]|0;if(!c){r=0;break}t=k[a+636>>2]|0;u=c;W=243}while(0);if((W|0)==243){W=0;r=ha((l[fa+20>>0]|l[fa+20+1>>0]<<8|l[fa+20+2>>0]<<16|l[fa+20+3>>0]<<24)*3072|0,t)|0;r=ha(r,k[298900]|0)|0;r=(r|0)/(ha(k[298901]|0,u)|0)|0}i[fa+356>>0]=r;i[fa+356+1>>0]=r>>8;i[fa+356+2>>0]=r>>16;i[fa+356+3>>0]=r>>24;i[b>>0]=37}if(!(Dmb(b,522646,2)|0)){d=GOa(b+2|0,s)|0;c=l[fa+8>>0]|l[fa+8+1>>0]<<8|l[fa+8+2>>0]<<16|l[fa+8+3>>0]<<24;if(!c){c=BOa(fa,1279174,0)|0;K=l[fa+376>>0]|l[fa+376+1>>0]<<8|l[fa+376+2>>0]<<16|l[fa+376+3>>0]<<24;i[c+20>>0]=K;i[c+20+1>>0]=K>>8;i[c+20+2>>0]=K>>16;i[c+20+3>>0]=K>>24;i[fa+412>>0]=c;i[fa+412+1>>0]=c>>8;i[fa+412+2>>0]=c>>16;i[fa+412+3>>0]=c>>24;i[c+36>>0]=0;c=l[fa+8>>0]|l[fa+8+1>>0]<<8|l[fa+8+2>>0]<<16|l[fa+8+3>>0]<<24}J=l[fa+424>>0]|l[fa+424+1>>0]<<8|l[fa+424+2>>0]<<16|l[fa+424+3>>0]<<24;K=jqb(1,16)|0;i[K>>0]=0;i[K+1>>0]=0;i[K+2>>0]=0;i[K+3>>0]=0;i[K+4>>0]=J;i[K+4+1>>0]=J>>8;i[K+4+2>>0]=J>>16;i[K+4+3>>0]=J>>24;i[K+8>>0]=1;i[K+9>>0]=84;i[K+14>>0]=i[1274943]|0;i[K+15>>0]=0;i[K+10>>0]=d;i[K+10+1>>0]=d>>8;i[K+10+2>>0]=d>>16;i[K+10+3>>0]=d>>24;DOa(c,K);i[b>>0]=37}else d=Ma;if(Dmb(b,522708,2)|0){I=h;J=na;K=qa;H=j;G=ya;F=g;E=m;C=n;D=L;c=d;z=Pa;A=Sa;B=Va;y=Ya;v=o;w=ib;x=M;q=sb;break}c=gob(b,37)|0;if(c|0)i[c>>0]=0;e=(Fnb(b)|0)+-1|0;c=b+e|0;if(!(qmb(i[c>>0]|0)|0))c=2;else{do{i[c>>0]=0;e=e+-1|0;c=b+e|0}while((qmb(i[c>>0]|0)|0)!=0);c=2}while(1){f=b+c|0;if(!(qmb(i[f>>0]|0)|0))break;else c=c+1|0}Pnb(a+1040|0,N+59804|0)|0;e=Fnb(a+1040|0)|0;if(((Fnb(f)|0)+e|0)>>>0>198)i[b+(c+198-e)>>0]=0;if(i[a+1040>>0]|0){K=a+1040+(Fnb(a+1040|0)|0)|0;i[K>>0]=32;i[K+1>>0]=0}Zpb(a+1040|0,f)|0;if((Fnb(a+1040|0)|0)>>>0>31)i[a+1040+31>>0]=0;Pnb(N+59804|0,a+1040|0)|0;i[b>>0]=37;I=h;J=na;K=qa;H=j;G=ya;F=g;E=m;C=n;D=L;c=d;z=Pa;A=Sa;B=Va;y=Ya;v=o;w=ib;x=M;q=sb}}while(0);if(!(Dmb(b,523974,2)|0)){do if((D|0)==4){e=E;d=C}else{f=k[ja>>2]|0;N=b+((Fnb(b)|0)+-1)|0;e:do if((i[N>>0]|0)==92){d=0;e=b;f:while(1){g=bob(e)|0;if(d|0)iqb(d);d=zOa(fa,f)|0;if(!d){P=g;W=269;break}while(1){e=i[d>>0]|0;g:do if(e<<24>>24)do{if(!(qmb(e<<24>>24)|0))break g;d=d+1|0;e=i[d>>0]|0}while(e<<24>>24!=0);while(0);if(Dmb(d,524008,2)|0)break;e=d+2|0;d=i[e>>0]|0;h:do if(d<<24>>24)do{if(!(qmb(d<<24>>24)|0))break h;e=e+1|0;d=i[e>>0]|0}while(d<<24>>24!=0);while(0);do if(!(Dmb(e,524011,4)|0)){d=i[e+4>>0]|0;if(d<<24>>24!=61)if(!(qmb(d<<24>>24)|0))break;d=e+5|0;e=i[d>>0]|0;i:do if(e<<24>>24){while(1){if(!(qmb(e<<24>>24)|0))break;d=d+1|0;e=i[d>>0]|0;if(!(e<<24>>24))break i}if((i[d>>0]|0)!=61)break;do{d=d+1|0;e=i[d>>0]|0;if(!(e<<24>>24))break i}while((qmb(e<<24>>24)|0)!=0)}while(0);MOa(fa,d,37)}while(0);d=zOa(fa,f)|0;if(!d){P=g;W=269;break f}}e=Fnb(g)|0;e=hqb((Fnb(d)|0)+e|0)|0;if(!e){W=290;break}N=g+((Fnb(g)|0)+-1)|0;i[N>>0]=0;Pnb(e,g)|0;Zpb(e,d)|0;iqb(g);N=e+((Fnb(e)|0)+-1)|0;if((i[N>>0]|0)!=92){O=e;break e}else d=e}if((W|0)==269){W=0;if(((Fnb(P)|0)+30|0)>>>0<=255){k[a+88>>2]=P;Fmb(a+784|0,523977,a+88|0)|0;k[a+96>>2]=a+784;Cob(U,522043,a+96|0)|0}O=P;break}else if((W|0)==290){W=0;if(((Fnb(g)|0)+22|0)>>>0<=255){k[a+104>>2]=g;Fmb(a+784|0,524258,a+104|0)|0;k[a+112>>2]=a+784;Cob(U,522043,a+112|0)|0}O=g;break}}else O=b;while(0);xOa(a+784|0,a+1040|0,O+2|0);P=jqb(1,66)|0;N=bob(a+784|0)|0;i[P+4>>0]=N;i[P+4+1>>0]=N>>8;i[P+4+2>>0]=N>>16;i[P+4+3>>0]=N>>24;N=Gob(N,110)|0;i[P+12>>0]=N;i[P+12+1>>0]=N>>8;i[P+12+2>>0]=N>>16;i[P+12+3>>0]=N>>24;N=bob(a+1040|0)|0;i[P+8>>0]=N;i[P+8+1>>0]=N>>8;i[P+8+2>>0]=N>>16;i[P+8+3>>0]=N>>24;N=l[fa>>0]|l[fa+1>>0]<<8|l[fa+2>>0]<<16|l[fa+3>>0]<<24;i[P>>0]=N;i[P+1>>0]=N>>8;i[P+2>>0]=N>>16;i[P+3>>0]=N>>24;i[fa>>0]=P;i[fa+1>>0]=P>>8;i[fa+2>>0]=P>>16;i[fa+3>>0]=P>>24;if((O|0)==(b|0)){e=E;d=C;break}iqb(O);d=l[fa+412>>0]|l[fa+412+1>>0]<<8|l[fa+412+2>>0]<<16|l[fa+412+3>>0]<<24;if(!d)d=E;else d=(i[d+43>>0]|0)==0&1;e=d;d=(d|0)==0?0:C}while(0);i[b>>0]=37;o=d}else{e=E;o=C}if(!(Dmb(b,524281,2)|0)){wOa(fa,b+2|0);i[b>>0]=37}if(!(Dmb(b,524284,2)|0))i[b>>0]=37;if(!(Dmb(b,524287,2)|0))i[b>>0]=37;if(!(Dmb(b,524290,2)|0)){if(((Fnb(b)|0)+45|0)>>>0<=255){k[a+120>>2]=b;Fmb(a+784|0,524293,a+120|0)|0;k[a+128>>2]=a+784;Cob(U,522043,a+128|0)|0}i[b>>0]=37}if(!(Dmb(b,524339,2)|0)){if(((Fnb(b)|0)+45|0)>>>0<=255){k[a+136>>2]=b;Fmb(a+784|0,524342,a+136|0)|0;k[a+144>>2]=a+784;Cob(U,522043,a+144|0)|0}i[b>>0]=37}n=(D|0)!=4;if(n&(Dmb(b,524388,2)|0)==0){i[b>>0]=37;i[b+1>>0]=37}do if(!(Dmb(b,524008,2)|0)){d=b+2|0;f=i[d>>0]|0;j:do if(f<<24>>24)do{if(!(qmb(f<<24>>24)|0))break j;d=d+1|0;f=i[d>>0]|0}while(f<<24>>24!=0);while(0);k:do if(!(Dmb(d,524391,11)|0)){if(!(qmb(i[d+11>>0]|0)|0)){g=lb;break}else f=12;while(1){m=d+f|0;if(!(qmb(i[m>>0]|0)|0))break;else f=f+1|0}if(!(i[m>>0]|0)){if(((Fnb(d)|0)+42|0)>>>0<=255){k[a+184>>2]=d;Fmb(a+784|0,524480,a+184|0)|0;k[a+192>>2]=a+784;Cob(U,522043,a+192|0)|0}g=lb;break}f=lb+1|0;if((f|0)==8){if(((Fnb(m)|0)+35|0)>>>0<=255){k[a+152>>2]=m;Fmb(a+784|0,524403,a+152|0)|0;k[a+160>>2]=a+784;Cob(U,522043,a+160|0)|0}g=lb;break}g=job(m,524439)|0;do if(g|0){zob(g,0,2)|0;h=Hpb(g)|0;j=hqb(h+12|0)|0;if(!j)break;zob(g,0,0)|0;Epb(j+12|0,1,h,g)|0;mob(g)|0;i[j>>0]=j+12;i[j+1>>0]=j+12>>8;i[j+2>>0]=j+12>>16;i[j+3>>0]=j+12>>24;i[j+4>>0]=h;i[j+4+1>>0]=h>>8;i[j+4+2>>0]=h>>16;i[j+4+3>>0]=h>>24;i[j+8>>0]=0;i[j+8+1>>0]=0;i[j+8+2>>0]=0;i[j+8+3>>0]=0;k[a+600+(f<<2)>>2]=j;g=f;break k}while(0);k[a+600+(f<<2)>>2]=0;if(((Fnb(m)|0)+38|0)>>>0<=255){k[a+168>>2]=m;Fmb(a+784|0,524441,a+168|0)|0;k[a+176>>2]=a+784;Cob(U,522043,a+176|0)|0}g=lb}else g=lb;while(0);do if(!(Dmb(d,524011,4)|0)){f=i[d+4>>0]|0;if(f<<24>>24==61){if(!n){f=e;e=o;break}}else if(!(n&(qmb(f<<24>>24)|0)!=0)){f=e;e=o;break}d=d+5|0;f=i[d>>0]|0;l:do if(f<<24>>24){while(1){if(!(qmb(f<<24>>24)|0))break;d=d+1|0;f=i[d>>0]|0;if(!(f<<24>>24))break l}if((i[d>>0]|0)!=61)break;do{d=d+1|0;f=i[d>>0]|0;if(!(f<<24>>24))break l}while((qmb(f<<24>>24)|0)!=0)}while(0);MOa(fa,d,37);f=l[fa+412>>0]|l[fa+412+1>>0]<<8|l[fa+412+2>>0]<<16|l[fa+412+3>>0]<<24;if(f)e=(i[f+43>>0]|0)==0&1;f=e;e=(e|0)==0?0:o}else{f=e;e=o}while(0);if(!(i[d>>0]|0)){n=f;o=e;m=g;break}i[d>>0]=37;n=f;o=e;m=g}else{n=e;m=lb;d=b}while(0);if((D|0)==3){do if((i[d>>0]|0)==80){if((i[d+1>>0]|0)!=58)break;m:do if(k[a+652>>2]|0){e=l[fa+8>>0]|l[fa+8+1>>0]<<8|l[fa+8+2>>0]<<16|l[fa+8+3>>0]<<24;if(!e){e=BOa(fa,1279174,0)|0;S=l[fa+376>>0]|l[fa+376+1>>0]<<8|l[fa+376+2>>0]<<16|l[fa+376+3>>0]<<24;i[e+20>>0]=S;i[e+20+1>>0]=S>>8;i[e+20+2>>0]=S>>16;i[e+20+3>>0]=S>>24;i[fa+412>>0]=e;i[fa+412+1>>0]=e>>8;i[fa+412+2>>0]=e>>16;i[fa+412+3>>0]=e>>24;i[e+36>>0]=0;e=l[fa+8>>0]|l[fa+8+1>>0]<<8|l[fa+8+2>>0]<<16|l[fa+8+3>>0]<<24;if(!e){R=0;Q=0}else{T=e;W=358}}else{T=e;W=358}if((W|0)==358){W=0;e=T+8|0;e=l[e>>0]|l[e+1>>0]<<8|l[e+2>>0]<<16|l[e+3>>0]<<24;if(!e)e=0;else e=l[e+4>>0]|l[e+4+1>>0]<<8|l[e+4+2>>0]<<16|l[e+4+3>>0]<<24;Q=k[298899]|0;R=T;Q=e>>>0>>0?Q:e}i[fa+424>>0]=Q;i[fa+424+1>>0]=Q>>8;i[fa+424+2>>0]=Q>>16;i[fa+424+3>>0]=Q>>24;h=jqb(1,16)|0;i[h>>0]=0;i[h+1>>0]=0;i[h+2>>0]=0;i[h+3>>0]=0;i[h+4>>0]=Q;i[h+4+1>>0]=Q>>8;i[h+4+2>>0]=Q>>16;i[h+4+3>>0]=Q>>24;i[h+8>>0]=1;i[h+9>>0]=80;i[h+10>>0]=0;i[h+10+1>>0]=0;i[h+10+2>>0]=0;i[h+10+3>>0]=0;i[h+14>>0]=i[1274943]|0;i[h+15>>0]=0;DOa(R,h);h=l[fa+424>>0]|l[fa+424+1>>0]<<8|l[fa+424+2>>0]<<16|l[fa+424+3>>0]<<24;j=l[fa+20>>0]|l[fa+20+1>>0]<<8|l[fa+20+2>>0]<<16|l[fa+20+3>>0]<<24;e=l[fa+8>>0]|l[fa+8+1>>0]<<8|l[fa+8+2>>0]<<16|l[fa+8+3>>0]<<24;do if(!e)e=0;else{f=l[e+4>>0]|l[e+4+1>>0]<<8|l[e+4+2>>0]<<16|l[e+4+3>>0]<<24;if(!f){e=0;break}else e=0;do{g=f+4|0;g=l[g>>0]|l[g+1>>0]<<8|l[g+2>>0]<<16|l[g+3>>0]<<24;if(g>>>0>h>>>0)break;do if((i[f+8>>0]|0)==1){if((i[f+9>>0]|0)!=80)break;g=g+e|0;if(!((g>>>0)%((j*12288|0)>>>0)|0))break;e=e+(j*12288|0)-(((g+(j*12288|0)|0)>>>0)%((j*12288|0)>>>0)|0)|0}while(0);f=l[f>>0]|l[f+1>>0]<<8|l[f+2>>0]<<16|l[f+3>>0]<<24}while((f|0)!=0);e=(((e+h|0)>>>0)/192|0)>>>6}while(0);f=(e>>>0)/(j>>>0)|0;e=i[1274943]|0;n:do if(e<<24>>24==32){i[(a+678+53|0)>>0]=f;e=k[a+652>>2]|0;if(!e)break;else f=0;do{if((l[a+678+(f<<1)>>0]|0)<(l[a+678+(f<<1)+1>>0]|0))break n;f=f+1|0}while(f>>>0<26);if((f|0)!=26)break;if(((Fnb(e)|0)+27|0)>>>0<=255){k[a+200>>2]=e;Fmb(a+784|0,523946,a+200|0)|0;k[a+208>>2]=a+784;Cob(U,522043,a+208|0)|0;e=k[a+652>>2]|0}if(e|0)iqb(e);k[a+652>>2]=0;f=26}else i[a+678+((e<<24>>24)+-65<<1)+1>>0]=f;while(0);o:while(1){e=d+2|0;g=i[e>>0]|0;switch(g<<24>>24){case 32:case 46:break;default:break o}d=d+1|0}do if(!(hmb(g<<24>>24)|0)){i[1274943]=32;e=f&255}else{g=i[e>>0]|0;i[1274943]=g;e=f&255;if(g<<24>>24==32)break;i[a+678+((g<<24>>24)+-65<<1)>>0]=e;break m}while(0);i[(a+678+52|0)>>0]=e}while(0);i[d>>0]=37}while(0);do if(q|0?1:(l[fa+388>>0]|l[fa+388+1>>0]<<8|l[fa+388+2>>0]<<16|l[fa+388+3>>0]<<24|0)==0){V=q;W=393}else{e=l[fa+8>>0]|l[fa+8+1>>0]<<8|l[fa+8+2>>0]<<16|l[fa+8+3>>0]<<24;if(!e){X=0;break}V=BOa(fa,e+44|0,9)|0;i[V+42>>0]=l[fa+392>>0]|l[fa+392+1>>0]<<8|l[fa+392+2>>0]<<16|l[fa+392+3>>0]<<24;NOa(V,l[fa+424>>0]|l[fa+424+1>>0]<<8|l[fa+424+2>>0]<<16|l[fa+424+3>>0]<<24,l[fa+396>>0]|l[fa+396+1>>0]<<8|l[fa+396+2>>0]<<16|l[fa+396+3>>0]<<24,l[fa+404>>0]|l[fa+404+1>>0]<<8|l[fa+404+2>>0]<<16|l[fa+404+3>>0]<<24);V=BOa(fa,V+44|0,10)|0;i[V+42>>0]=l[fa+392>>0]|l[fa+392+1>>0]<<8|l[fa+392+2>>0]<<16|l[fa+392+3>>0]<<24;NOa(V,l[fa+424>>0]|l[fa+424+1>>0]<<8|l[fa+424+2>>0]<<16|l[fa+424+3>>0]<<24,l[fa+400>>0]|l[fa+400+1>>0]<<8|l[fa+400+2>>0]<<16|l[fa+400+3>>0]<<24,l[fa+408>>0]|l[fa+408+1>>0]<<8|l[fa+408+2>>0]<<16|l[fa+408+3>>0]<<24);W=393}while(0);do if((W|0)==393){W=0;if(!V){X=0;break}if(l[fa+388>>0]|l[fa+388+1>>0]<<8|l[fa+388+2>>0]<<16|l[fa+388+3>>0]<<24|0){X=V;break}V=BOa(fa,V+44|0,9)|0;X=l[fa+424>>0]|l[fa+424+1>>0]<<8|l[fa+424+2>>0]<<16|l[fa+424+3>>0]<<24;U=(JOa(l[V+42>>0]|0)|0)&255;T=jqb(1,16)|0;i[T>>0]=0;i[T+1>>0]=0;i[T+2>>0]=0;i[T+3>>0]=0;i[T+4>>0]=X;i[T+4+1>>0]=X>>8;i[T+4+2>>0]=X>>16;i[T+4+3>>0]=X>>24;i[T+8>>0]=0;i[T+9>>0]=0;i[T+10>>0]=U;i[T+11>>0]=0;i[T+12>>0]=0;i[T+13>>0]=0;i[T+14>>0]=i[1274943]|0;i[T+15>>0]=0;DOa(V,T);V=BOa(fa,V+44|0,10)|0;T=l[fa+424>>0]|l[fa+424+1>>0]<<8|l[fa+424+2>>0]<<16|l[fa+424+3>>0]<<24;U=(JOa(l[V+42>>0]|0)|0)&255;X=jqb(1,16)|0;i[X>>0]=0;i[X+1>>0]=0;i[X+2>>0]=0;i[X+3>>0]=0;i[X+4>>0]=T;i[X+4+1>>0]=T>>8;i[X+4+2>>0]=T>>16;i[X+4+3>>0]=T>>24;i[X+8>>0]=0;i[X+9>>0]=0;i[X+10>>0]=U;i[X+11>>0]=0;i[X+12>>0]=0;i[X+13>>0]=0;i[X+14>>0]=i[1274943]|0;i[X+15>>0]=0;DOa(V,X);X=0}while(0);p:do if(!(l[fa+380>>0]|l[fa+380+1>>0]<<8|l[fa+380+2>>0]<<16|l[fa+380+3>>0]<<24))W=405;else{if(l[fa+420>>0]|l[fa+420+1>>0]<<8|l[fa+420+2>>0]<<16|l[fa+420+3>>0]<<24|0)break;e=l[fa+8>>0]|l[fa+8+1>>0]<<8|l[fa+8+2>>0]<<16|l[fa+8+3>>0]<<24;i[fa+420>>0]=e;i[fa+420+1>>0]=e>>8;i[fa+420+2>>0]=e>>16;i[fa+420+3>>0]=e>>24;if(!e)break;g=l[fa+424>>0]|l[fa+424+1>>0]<<8|l[fa+424+2>>0]<<16|l[fa+424+3>>0]<<24;e=BOa(fa,e+44|0,8)|0;f=l[e+8>>0]|l[e+8+1>>0]<<8|l[e+8+2>>0]<<16|l[e+8+3>>0]<<24;do if(f|0){if((l[f+4>>0]|l[f+4+1>>0]<<8|l[f+4+2>>0]<<16|l[f+4+3>>0]<<24|0)==(g|0)){W=405;break p}if((i[f+8>>0]|0)!=1)break;if((i[f+9>>0]|0)!=83)break;i[f+4>>0]=g;i[f+4+1>>0]=g>>8;i[f+4+2>>0]=g>>16;i[f+4+3>>0]=g>>24;W=405;break p}while(0);W=jqb(1,16)|0;i[W>>0]=0;i[W+1>>0]=0;i[W+2>>0]=0;i[W+3>>0]=0;i[W+4>>0]=g;i[W+4+1>>0]=g>>8;i[W+4+2>>0]=g>>16;i[W+4+3>>0]=g>>24;i[W+8>>0]=1;i[W+9>>0]=83;i[W+10>>0]=0;i[W+10+1>>0]=0;i[W+10+2>>0]=0;i[W+10+3>>0]=0;i[W+14>>0]=i[1274943]|0;i[W+15>>0]=0;DOa(e,W);W=405}while(0);do if((W|0)==405){W=0;if(!(l[fa+420>>0]|l[fa+420+1>>0]<<8|l[fa+420+2>>0]<<16|l[fa+420+3>>0]<<24))break;if(l[fa+380>>0]|l[fa+380+1>>0]<<8|l[fa+380+2>>0]<<16|l[fa+380+3>>0]<<24|0)break;i[fa+420>>0]=0;i[fa+420+1>>0]=0;i[fa+420+2>>0]=0;i[fa+420+3>>0]=0}while(0);S=i[d>>0]|0;switch(S<<24>>24){case 37:case 0:{e=X;break}default:{Y=I;oa=J;ra=K;wa=H;za=G;Ca=F;Fa=n;Ia=o;Na=c;Qa=z;Ta=A;Wa=B;Za=y;ab=v;jb=w;mb=m;pb=x;qb=d;tb=X;k[a+16096>>2]=2;k[a+16100>>2]=16;break a}}}else e=q;d=a+600+(m<<2)|0;ga=zOa(fa,k[d>>2]|0)|0;if(!ga){Z=I;_=d;$=aa;ba=ca;da=ea;ka=la;ma=J;pa=K;sa=ta;ua=H;xa=G;Aa=F;Da=n;Ga=o;Ja=D;La=c;Oa=z;Ra=A;Ua=B;Xa=y;_a=v;bb=cb;db=eb;fb=gb;hb=w;kb=m;nb=x;rb=e;k[a+16096>>2]=2;k[a+16100>>2]=17;break a}else{ia=I;ja=d;na=J;qa=K;va=H;ya=G;Ba=F;Ea=n;Ha=o;Ka=D;Ma=c;Pa=z;Sa=A;Va=B;Ya=y;$a=v;ib=w;lb=m;ob=x;sb=e}}k[a+2456>>2]=Y;k[a+2504>>2]=Z;k[a+2512>>2]=_;k[a+2568>>2]=$;k[a+2584>>2]=ba;k[a+2600>>2]=da;k[a+3128>>2]=S;k[a+9720>>2]=ga;k[a+9728>>2]=ia;k[a+9736>>2]=I;k[a+10656>>2]=ja;k[a+11088>>2]=ka;k[a+11160>>2]=ma;k[a+11176>>2]=na;k[a+11184>>2]=J;k[a+11192>>2]=oa;k[a+11240>>2]=pa;k[a+11256>>2]=qa;k[a+11264>>2]=K;k[a+11272>>2]=ra;k[a+11312>>2]=sa;k[a+11360>>2]=ua;k[a+11392>>2]=va;k[a+11408>>2]=H;k[a+11416>>2]=wa;k[a+11496>>2]=xa;k[a+11512>>2]=ya;k[a+11520>>2]=G;k[a+11528>>2]=za;k[a+11544>>2]=Aa;k[a+11560>>2]=Ba;k[a+11576>>2]=F;k[a+11584>>2]=Ca;k[a+11624>>2]=Da;k[a+11656>>2]=Ea;k[a+11704>>2]=E;k[a+11760>>2]=Fa;k[a+11776>>2]=Ga;k[a+11808>>2]=Ha;k[a+11840>>2]=C;k[a+11880>>2]=Ia;k[a+11920>>2]=Ja;k[a+11944>>2]=Ka;k[a+11960>>2]=D;k[a+12e3>>2]=La;k[a+12024>>2]=Ma;k[a+12048>>2]=c;k[a+12056>>2]=Na;k[a+12096>>2]=Oa;k[a+12112>>2]=Pa;k[a+12120>>2]=z;k[a+12128>>2]=Qa;k[a+12200>>2]=Ra;k[a+12216>>2]=Sa;k[a+12224>>2]=A;k[a+12232>>2]=Ta;k[a+12280>>2]=Ua;k[a+12296>>2]=Va;k[a+12312>>2]=B;k[a+12320>>2]=Wa;k[a+12336>>2]=Xa;k[a+12360>>2]=Ya;k[a+12368>>2]=y;k[a+12376>>2]=Za;k[a+12408>>2]=_a;k[a+12424>>2]=$a;k[a+12440>>2]=v;k[a+12448>>2]=ab;k[a+12512>>2]=bb;k[a+12544>>2]=db;k[a+12624>>2]=fb;k[a+14136>>2]=hb;k[a+14152>>2]=ib;k[a+14160>>2]=w;k[a+14168>>2]=jb;k[a+14192>>2]=kb;k[a+14208>>2]=lb;k[a+14232>>2]=mb;k[a+14360>>2]=nb;k[a+14384>>2]=ob;k[a+14400>>2]=x;k[a+14408>>2]=pb;k[a+14520>>2]=qb;k[a+14976>>2]=b;k[a+15712>>2]=rb;k[a+15728>>2]=sb;k[a+15736>>2]=q;k[a+15760>>2]=tb;k[a+15952>>2]=ub;k[a+15968>>2]=vb;k[a+16016>>2]=W}function nQa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0;M=k[a+2472>>2]|0;N=k[a+2480>>2]|0;O=k[a+2488>>2]|0;P=k[a+2496>>2]|0;L=k[a+2816>>2]|0;h=k[a+3136>>2]|0;e=k[a+3144>>2]|0;j=k[a+3896>>2]|0;Q=k[a+4144>>2]|0;R=k[a+4152>>2]|0;S=k[a+4160>>2]|0;T=k[a+4168>>2]|0;U=k[a+11104>>2]|0;V=k[a+11120>>2]|0;W=k[a+11208>>2]|0;X=k[a+11224>>2]|0;Y=k[a+11280>>2]|0;Z=k[a+11296>>2]|0;_=k[a+11328>>2]|0;$=k[a+11344>>2]|0;aa=k[a+11384>>2]|0;ba=k[a+11424>>2]|0;d=k[a+11528>>2]|0;ca=k[a+11592>>2]|0;da=k[a+11608>>2]|0;ea=k[a+11640>>2]|0;fa=k[a+11688>>2]|0;ga=k[a+11824>>2]|0;ia=k[a+11888>>2]|0;ja=k[a+11968>>2]|0;ka=k[a+11984>>2]|0;la=k[a+12064>>2]|0;ma=k[a+12080>>2]|0;na=k[a+12136>>2]|0;oa=k[a+12184>>2]|0;pa=k[a+12240>>2]|0;qa=k[a+12256>>2]|0;ra=k[a+12456>>2]|0;sa=k[a+12472>>2]|0;ta=k[a+12496>>2]|0;ua=k[a+12528>>2]|0;va=k[a+12560>>2]|0;wa=k[a+12608>>2]|0;xa=k[a+12640>>2]|0;ya=k[a+12688>>2]|0;za=k[a+14528>>2]|0;Aa=k[a+15128>>2]|0;Ba=k[a+16016>>2]|0;a:{b:do if(!Aa)if(!($mb(e<<24>>24)|0)){H=e;G=h;I=0}else{if((i[h>>0]|0)==58){H=e;G=h;I=0;break}c=l[L+4>>0]|l[L+4+1>>0]<<8|l[L+4+2>>0]<<16|l[L+4+3>>0]<<24;if(!c){H=e;G=h;I=0;break}while(1){I=c+4|0;if(e<<24>>24==(i[(l[I>>0]|l[I+1>>0]<<8|l[I+2>>0]<<16|l[I+3>>0]<<24)>>0]|0))break;c=l[c>>0]|l[c+1>>0]<<8|l[c+2>>0]<<16|l[c+3>>0]<<24;if(!c){H=e;G=h;I=0;break b}}G=l[c+8>>0]|l[c+8+1>>0]<<8|l[c+8+2>>0]<<16|l[c+8+3>>0]<<24;I=i[G>>0]|0;H=I;G=I<<24>>24==0?G:G+1|0;I=h}else{H=e;G=h;I=Aa}while(0);h=H<<24>>24;c:do{c=1;e=h|0;if(c){c=0;switch(e|0){case 37:{b=G;while(1)if(!(i[b>>0]|0)){f=T;E=S;F=R;m=Q;D=U;z=W;A=Y;B=_;g=ba;n=ca;p=ea;q=ia;r=ja;s=la;t=0;u=pa;v=ra;w=H;x=va;y=xa;break}else b=b+1|0;break}default:c=1}}k[a+2816>>2]=L;k[a+3896>>2]=j;k[a+4144>>2]=Q;k[a+4152>>2]=R;k[a+4160>>2]=S;k[a+4168>>2]=T;k[a+9776>>2]=f;k[a+9784>>2]=E;k[a+9792>>2]=F;k[a+9800>>2]=m;k[a+11104>>2]=U;k[a+11112>>2]=D;k[a+11208>>2]=W;k[a+11216>>2]=z;k[a+11280>>2]=Y;k[a+11288>>2]=A;k[a+11328>>2]=_;k[a+11336>>2]=B;k[a+11376>>2]=g;k[a+11424>>2]=ba;k[a+11528>>2]=d;k[a+11592>>2]=ca;k[a+11600>>2]=n;k[a+11640>>2]=ea;k[a+11680>>2]=p;k[a+11816>>2]=q;k[a+11888>>2]=ia;k[a+11968>>2]=ja;k[a+11976>>2]=r;k[a+12064>>2]=la;k[a+12072>>2]=s;k[a+12176>>2]=t;k[a+12240>>2]=pa;k[a+12248>>2]=u;k[a+12456>>2]=ra;k[a+12464>>2]=v;k[a+12480>>2]=H;k[a+12488>>2]=w;k[a+12560>>2]=va;k[a+12600>>2]=x;k[a+12640>>2]=xa;k[a+12680>>2]=y;k[a+14544>>2]=G;k[a+14952>>2]=b;k[a+16016>>2]=Ba;k[a+16056>>2]=c;k[a+16064>>2]=e;k[a+16088>>2]=0;k[a+16092>>2]=0;lQa(a);f=k[a+9776>>2]|0;E=k[a+9784>>2]|0;F=k[a+9792>>2]|0;m=k[a+9800>>2]|0;D=k[a+11112>>2]|0;z=k[a+11216>>2]|0;A=k[a+11288>>2]|0;B=k[a+11336>>2]|0;g=k[a+11376>>2]|0;n=k[a+11600>>2]|0;p=k[a+11680>>2]|0;q=k[a+11816>>2]|0;r=k[a+11976>>2]|0;s=k[a+12072>>2]|0;t=k[a+12176>>2]|0;u=k[a+12248>>2]|0;v=k[a+12464>>2]|0;w=k[a+12488>>2]|0;x=k[a+12600>>2]|0;y=k[a+12680>>2]|0;b=k[a+14952>>2]|0;Ba=k[a+16016>>2]|0;c=k[a+16056>>2]|0;J=k[a+16088>>2]|0;C=k[a+16092>>2]|0;K=+o[a+16092>>2];k[a+16088>>2]=0;k[a+16092>>2]=0;if((J|0)==1)break;if((J|0)==2)switch(C|0){case 35:break c}if(c){c=0;switch(e|0){case 92:{b=G;while(1)if(!(i[b>>0]|0)){f=T;E=S;F=R;m=Q;D=U;z=W;A=Y;B=_;g=ba;n=ca;p=ea;q=ia;r=ja;s=la;t=na;u=pa;v=ra;w=92;x=va;y=xa;break}else b=b+1|0;break}case 43:case 33:{k[a+2816>>2]=L;k[a+4144>>2]=Q;k[a+4152>>2]=R;k[a+4160>>2]=S;k[a+4168>>2]=T;k[a+9776>>2]=f;k[a+9784>>2]=E;k[a+9792>>2]=F;k[a+9800>>2]=m;k[a+11104>>2]=U;k[a+11112>>2]=D;k[a+11208>>2]=W;k[a+11216>>2]=z;k[a+11280>>2]=Y;k[a+11288>>2]=A;k[a+11328>>2]=_;k[a+11336>>2]=B;k[a+11376>>2]=g;k[a+11424>>2]=ba;k[a+11592>>2]=ca;k[a+11600>>2]=n;k[a+11640>>2]=ea;k[a+11680>>2]=p;k[a+11816>>2]=q;k[a+11888>>2]=ia;k[a+11968>>2]=ja;k[a+11976>>2]=r;k[a+12064>>2]=la;k[a+12072>>2]=s;k[a+12136>>2]=na;k[a+12176>>2]=t;k[a+12240>>2]=pa;k[a+12248>>2]=u;k[a+12456>>2]=ra;k[a+12464>>2]=v;k[a+12480>>2]=H;k[a+12488>>2]=w;k[a+12560>>2]=va;k[a+12600>>2]=x;k[a+12640>>2]=xa;k[a+12680>>2]=y;k[a+14544>>2]=G;k[a+14952>>2]=b;k[a+16016>>2]=Ba;k[a+16080>>2]=0;k[a+16084>>2]=0;kQa(a);f=k[a+9776>>2]|0;E=k[a+9784>>2]|0;F=k[a+9792>>2]|0;m=k[a+9800>>2]|0;D=k[a+11112>>2]|0;z=k[a+11216>>2]|0;A=k[a+11288>>2]|0;B=k[a+11336>>2]|0;g=k[a+11376>>2]|0;n=k[a+11600>>2]|0;p=k[a+11680>>2]|0;q=k[a+11816>>2]|0;r=k[a+11976>>2]|0;s=k[a+12072>>2]|0;t=k[a+12176>>2]|0;u=k[a+12248>>2]|0;v=k[a+12464>>2]|0;w=k[a+12488>>2]|0;x=k[a+12600>>2]|0;y=k[a+12680>>2]|0;b=k[a+14952>>2]|0;Ba=k[a+16016>>2]|0;J=k[a+16080>>2]|0;C=k[a+16084>>2]|0;K=+o[a+16084>>2];k[a+16080>>2]=0;k[a+16084>>2]=0;if((J|0)==1)break;if((J|0)==2)switch(C|0){case 30:break c}}default:c=1}}if(c){c=0;switch(e|0){case 46:case 96:{f=T;E=S;F=R;m=Q;D=U;z=W;A=Y;B=_;g=ba;n=ca;p=ea;q=ia;r=ja;s=la;t=na;u=pa;v=ra;w=H;x=va;y=xa;b=G;break}default:c=1}}if(c)switch(e|0){default:{if(Cmb(524872,h,19)|0){b=l[L+412>>0]|l[L+412+1>>0]<<8|l[L+412+2>>0]<<16|l[L+412+3>>0]<<24;if(!b){b=BOa(L,1279174,0)|0;F=l[L+376>>0]|l[L+376+1>>0]<<8|l[L+376+2>>0]<<16|l[L+376+3>>0]<<24;i[b+20>>0]=F;i[b+20+1>>0]=F>>8;i[b+20+2>>0]=F>>16;i[b+20+3>>0]=F>>24}i[L+412>>0]=b;i[L+412+1>>0]=b>>8;i[L+412+2>>0]=b>>16;i[L+412+3>>0]=b>>24;c=i[b+36>>0]|0;b=l[L+8>>0]|l[L+8+1>>0]<<8|l[L+8+2>>0]<<16|l[L+8+3>>0]<<24;if(b|0)do{if((i[b+36>>0]|0)==c<<24>>24)i[b+38>>0]=i[b+37>>0]|0;b=l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24}while((b|0)!=0);f=l[L+424>>0]|l[L+424+1>>0]<<8|l[L+424+2>>0]<<16|l[L+424+3>>0]<<24;b=k[a+632>>2]|0;if(!b)b=0;else{F=ha((l[L+20>>0]|l[L+20+1>>0]<<8|l[L+20+2>>0]<<16|l[L+20+3>>0]<<24)*3072|0,k[298900]|0)|0;b=(F|0)/(ha(k[298901]|0,b)|0)|0}c=((f-ra|0)>>>0)/(b>>>0)|0;e=l[L+28>>0]|l[L+28+1>>0]<<8|l[L+28+2>>0]<<16|l[L+28+3>>0]<<24;d:do if(!e){if((c|0)%(l[L+35>>0]|0)|0|0){b=l[L+34>>0]|0;break}if(!c){b=l[L+32>>0]|0;break}else{b=l[L+33>>0]|0;break}}else{b=l[L+34>>0]|0;if((Fnb(e)|0)<=(c|0)){b=((b*9|0)>>>0)/10|0;break}switch(i[e+c>>0]|0){case 102:{b=l[L+32>>0]|0;break d}case 109:{b=l[L+33>>0]|0;break d}case 112:break d;default:{b=((b*9|0)>>>0)/10|0;break d}}}while(0);m=OOa(L,h,G,f,a+732|0,(ha(b,pa)|0)/128|0,W,Y)|0;z=(Y|0)==255?W:0;b=i[G+m>>0]|0;if((b+-48|0)>>>0<10){c=0;e=0;do{c=b+-48+(c*10|0)|0;e=e+1|0;b=i[G+(e+m)>>0]|0}while((b+-48|0)>>>0<10);b=c}else{b=0;e=0}j=(e|0)==0?1:b;b=i[G+(e+m)>>0]|0;if(b<<24>>24==47){c=1;b=e;while(1){c=c<<1;e=b+1|0;b=i[G+(e+m)>>0]|0;if(b<<24>>24==47)b=e;else break}}else c=1;b=b<<24>>24;if((b+-48|0)>>>0<10){f=0;g=0;do{f=b+-48+(f*10|0)|0;g=g+1|0;h=g+e|0;b=i[G+(h+m)>>0]|0}while((b+-48|0)>>>0<10);b=(g|0)==0?1:f;c=(c|0)/2|0;e=h}else b=1;f=ha(c,b)|0;c=e+m|0;b=G+c|0;do if((i[b>>0]|0)==45){b=G+(c+1)|0;c=l[L+412>>0]|l[L+412+1>>0]<<8|l[L+412+2>>0]<<16|l[L+412+3>>0]<<24;e=l[c+8>>0]|l[c+8+1>>0]<<8|l[c+8+2>>0]<<16|l[c+8+3>>0]<<24;if(!e)break;if((i[e+8>>0]|0)==1)break;i[c+16>>0]=e;i[c+16+1>>0]=e>>8;i[c+16+2>>0]=e>>16;i[c+16+3>>0]=e>>24}while(0);if(!Q){m=0;e=j;c=f}else{m=Q+-1|0;e=ha(j,R)|0;c=ha(f,S)|0}while(1)if(!(qmb(i[b>>0]|0)|0))break;else b=b+1|0;switch(T|0){case 60:{d=0;e=e*3|0;c=c<<1;break}case 62:{d=0;c=c<<1;break}default:{}}e:do switch(i[b>>0]|0){case 62:{d=1;c=c<<1;e=e*3|0;h=62;break}case 60:{d=1;c=c<<1;h=60;break}default:{if(!((e|0)==1&(d|0)!=0)){d=0;h=0;break e}h=(c|0)==1;d=0;c=h?2:c;e=h?3:1;h=h?62:0}}while(0);b=b+d|0;c=ha(k[a+640>>2]|0,c)|0;if(!c)c=0;else{G=ha(ha(ha(e*3072|0,k[a+644>>2]|0)|0,l[L+20>>0]|l[L+20+1>>0]<<8|l[L+20+2>>0]<<16|l[L+20+3>>0]<<24)|0,k[298900]|0)|0;c=(G|0)/(ha(k[298901]|0,c)|0)|0}c=c<<((_|0)!=0&1);if(c>>>0>ba>>>0){g=l[L+20>>0]|l[L+20+1>>0]<<8|l[L+20+2>>0]<<16|l[L+20+3>>0]<<24;j=0;f=c-ba|0}else{f=l[L+20>>0]|l[L+20+1>>0]<<8|l[L+20+2>>0]<<16|l[L+20+3>>0]<<24;g=f;j=ba-c+(f*192|0)|0;f=f*192|0}c=(l[L+424>>0]|l[L+424+1>>0]<<8|l[L+424+2>>0]<<16|l[L+424+3>>0]<<24)+f|0;i[L+424>>0]=c;i[L+424+1>>0]=c>>8;i[L+424+2>>0]=c>>16;i[L+424+3>>0]=c>>24;d=l[L+412>>0]|l[L+412+1>>0]<<8|l[L+412+2>>0]<<16|l[L+412+3>>0]<<24;e=i[d+42>>0]|0;if(f>>>0>(g*192|0)>>>0){E=c-ia+(ua<<24>>24==46?0-(f>>>1)|0:0)|0;F=(JOa(e&255)|0)&255;G=jqb(1,16)|0;i[G>>0]=0;i[G+1>>0]=0;i[G+2>>0]=0;i[G+3>>0]=0;i[G+4>>0]=E;i[G+4+1>>0]=E>>8;i[G+4+2>>0]=E>>16;i[G+4+3>>0]=E>>24;i[G+8>>0]=0;i[G+9>>0]=0;i[G+10>>0]=F;i[G+11>>0]=0;i[G+12>>0]=0;i[G+13>>0]=0;i[G+14>>0]=i[1274943]|0;i[G+15>>0]=0;DOa(d,G)}else{F=(JOa(e&255)|0)&255;G=jqb(1,16)|0;i[G>>0]=0;i[G+1>>0]=0;i[G+2>>0]=0;i[G+3>>0]=0;i[G+4>>0]=c;i[G+4+1>>0]=c>>8;i[G+4+2>>0]=c>>16;i[G+4+3>>0]=c>>24;i[G+8>>0]=0;i[G+9>>0]=0;i[G+10>>0]=F;i[G+11>>0]=0;i[G+12>>0]=0;i[G+13>>0]=0;i[G+14>>0]=i[1274943]|0;i[G+15>>0]=0;DOa(d,G)}c=l[L+412>>0]|l[L+412+1>>0]<<8|l[L+412+2>>0]<<16|l[L+412+3>>0]<<24;d=l[L+424>>0]|l[L+424+1>>0]<<8|l[L+424+2>>0]<<16|l[L+424+3>>0]<<24;e=l[c+8>>0]|l[c+8+1>>0]<<8|l[c+8+2>>0]<<16|l[c+8+3>>0]<<24;do if(!e)Ba=1033;else{if((l[e+4>>0]|l[e+4+1>>0]<<8|l[e+4+2>>0]<<16|l[e+4+3>>0]<<24|0)==(d|0))break;if((i[e+8>>0]|0)!=1){Ba=1033;break}if((i[e+9>>0]|0)!=83){Ba=1033;break}i[e+4>>0]=d;i[e+4+1>>0]=d>>8;i[e+4+2>>0]=d>>16;i[e+4+3>>0]=d>>24}while(0);if((Ba|0)==1033){Ba=0;G=jqb(1,16)|0;i[G>>0]=0;i[G+1>>0]=0;i[G+2>>0]=0;i[G+3>>0]=0;i[G+4>>0]=d;i[G+4+1>>0]=d>>8;i[G+4+2>>0]=d>>16;i[G+4+3>>0]=d>>24;i[G+8>>0]=1;i[G+9>>0]=83;i[G+10>>0]=0;i[G+10+1>>0]=0;i[G+10+2>>0]=0;i[G+10+3>>0]=0;i[G+14>>0]=i[1274943]|0;i[G+15>>0]=0;DOa(c,G)}do if(l[L+384>>0]|l[L+384+1>>0]<<8|l[L+384+2>>0]<<16|l[L+384+3>>0]<<24|0){if((l[L+412>>0]|l[L+412+1>>0]<<8|l[L+412+2>>0]<<16|l[L+412+3>>0]<<24|0)!=(l[L+416>>0]|l[L+416+1>>0]<<8|l[L+416+2>>0]<<16|l[L+416+3>>0]<<24|0))break;POa(L,l[L+424>>0]|l[L+424+1>>0]<<8|l[L+424+2>>0]<<16|l[L+424+3>>0]<<24,ra)}while(0);if(!(l[L+380>>0]|l[L+380+1>>0]<<8|l[L+380+2>>0]<<16|l[L+380+3>>0]<<24)){f=h;E=S;F=R;D=0;A=Y;B=0;g=j;n=ca;p=ea;q=ia;r=ja;s=la;t=na;u=pa;v=ra;w=H;x=va;y=xa;break c}if((l[L+412>>0]|l[L+412+1>>0]<<8|l[L+412+2>>0]<<16|l[L+412+3>>0]<<24|0)!=(l[L+420>>0]|l[L+420+1>>0]<<8|l[L+420+2>>0]<<16|l[L+420+3>>0]<<24|0)){f=h;E=S;F=R;D=0;A=Y;B=0;g=j;n=ca;p=ea;q=ia;r=ja;s=la;t=na;u=pa;v=ra;w=H;x=va;y=xa;break c}QOa(L,l[L+424>>0]|l[L+424+1>>0]<<8|l[L+424+2>>0]<<16|l[L+424+3>>0]<<24,ra);f=h;E=S;F=R;D=0;A=Y;B=0;g=j;n=ca;p=ea;q=ia;r=ja;s=la;t=na;u=pa;v=ra;w=H;x=va;y=xa;break c}if(!(Cmb(524891,h,3)|0)){if(!(Cmb(524894,h,2)|0)){if(!($mb(h)|0)){f=T;E=S;F=R;m=Q;D=U;z=W;A=Y;B=_;g=ba;n=ca;p=ea;q=ia;r=ja;s=la;t=na;u=pa;v=ra;w=H;x=va;y=xa;b=G;break c}if((i[G>>0]|0)==58)b=G;else{f=T;E=S;F=R;m=Q;D=U;z=W;A=Y;B=_;g=ba;n=ca;p=ea;q=ia;r=ja;s=la;t=na;u=pa;v=ra;w=H;x=va;y=xa;b=G;break c}while(1){b=b+1|0;if(!(i[b>>0]|0)){f=T;E=S;F=R;m=Q;D=U;z=W;A=Y;B=_;g=ba;n=ca;p=ea;q=ia;r=ja;s=la;t=na;u=pa;v=ra;w=H;x=va;y=xa;break c}}}b=l[L+412>>0]|l[L+412+1>>0]<<8|l[L+412+2>>0]<<16|l[L+412+3>>0]<<24;if(!b){b=BOa(L,1279174,0)|0;F=l[L+376>>0]|l[L+376+1>>0]<<8|l[L+376+2>>0]<<16|l[L+376+3>>0]<<24;i[b+20>>0]=F;i[b+20+1>>0]=F>>8;i[b+20+2>>0]=F>>16;i[b+20+3>>0]=F>>24}i[L+412>>0]=b;i[L+412+1>>0]=b>>8;i[L+412+2>>0]=b>>16;i[L+412+3>>0]=b>>24;c=i[b+36>>0]|0;b=l[L+8>>0]|l[L+8+1>>0]<<8|l[L+8+2>>0]<<16|l[L+8+3>>0]<<24;if(b|0)do{if((i[b+36>>0]|0)==c<<24>>24){F=b+16|0;i[F>>0]=0;i[F+1>>0]=0;i[F+2>>0]=0;i[F+3>>0]=0}b=l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24}while((b|0)!=0);b=i[G>>0]|0;if(((b<<24>>24)+-48|0)>>>0<10){d=b<<24>>24;b=0;c=0;while(1){e=d+-48+(b*10|0)|0;c=c+1|0;b=i[G+c>>0]|0;d=b<<24>>24;if((d+-48|0)>>>0>=10)break;else b=e}}else{e=0;c=0}j=(c|0)==0;if(b<<24>>24==47){b=1;while(1){d=b<<1;c=c+1|0;b=i[G+c>>0]|0;if(b<<24>>24==47)b=d;else break}}else d=1;b=b<<24>>24;if((b+-48|0)>>>0<10){f=0;g=0;do{f=b+-48+(f*10|0)|0;g=g+1|0;h=g+c|0;b=i[G+h>>0]|0}while((b+-48|0)>>>0<10);b=(g|0)==0?1:f;d=(d|0)/2|0;c=h}else b=1;F=ha(d,b)|0;b=G+c|0;c=ha(F,k[a+632>>2]|0)|0;if(!c)c=0;else{G=ha(ha(ha(j?3072:e*3072|0,k[a+636>>2]|0)|0,l[L+20>>0]|l[L+20+1>>0]<<8|l[L+20+2>>0]<<16|l[L+20+3>>0]<<24)|0,k[298900]|0)|0;c=(G|0)/(ha(k[298901]|0,c)|0)|0}c=c<<((_|0)!=0&1);if(c>>>0>ba>>>0){g=0;c=c-ba|0}else{G=(l[L+20>>0]|l[L+20+1>>0]<<8|l[L+20+2>>0]<<16|l[L+20+3>>0]<<24)*192|0;g=ba-c+G|0;c=G}c=(l[L+424>>0]|l[L+424+1>>0]<<8|l[L+424+2>>0]<<16|l[L+424+3>>0]<<24)+c|0;i[L+424>>0]=c;i[L+424+1>>0]=c>>8;i[L+424+2>>0]=c>>16;i[L+424+3>>0]=c>>24;c=k[45680+(ca<<2)>>2]|0;k[a+296>>2]=c;k[a+296+4>>2]=c;Fmb(a+732|0,523795,a+296|0)|0;c=l[L+412>>0]|l[L+412+1>>0]<<8|l[L+412+2>>0]<<16|l[L+412+3>>0]<<24;d=l[L+424>>0]|l[L+424+1>>0]<<8|l[L+424+2>>0]<<16|l[L+424+3>>0]<<24;e=l[c+8>>0]|l[c+8+1>>0]<<8|l[c+8+2>>0]<<16|l[c+8+3>>0]<<24;do if(!e)Ba=1107;else{if((l[e+4>>0]|l[e+4+1>>0]<<8|l[e+4+2>>0]<<16|l[e+4+3>>0]<<24|0)==(d|0))break;if((i[e+8>>0]|0)!=1){Ba=1107;break}if((i[e+9>>0]|0)!=83){Ba=1107;break}i[e+4>>0]=d;i[e+4+1>>0]=d>>8;i[e+4+2>>0]=d>>16;i[e+4+3>>0]=d>>24}while(0);if((Ba|0)==1107){Ba=0;G=jqb(1,16)|0;i[G>>0]=0;i[G+1>>0]=0;i[G+2>>0]=0;i[G+3>>0]=0;i[G+4>>0]=d;i[G+4+1>>0]=d>>8;i[G+4+2>>0]=d>>16;i[G+4+3>>0]=d>>24;i[G+8>>0]=1;i[G+9>>0]=83;i[G+10>>0]=0;i[G+10+1>>0]=0;i[G+10+2>>0]=0;i[G+10+3>>0]=0;i[G+14>>0]=i[1274943]|0;i[G+15>>0]=0;DOa(c,G)}do if(l[L+384>>0]|l[L+384+1>>0]<<8|l[L+384+2>>0]<<16|l[L+384+3>>0]<<24|0){if((l[L+412>>0]|l[L+412+1>>0]<<8|l[L+412+2>>0]<<16|l[L+412+3>>0]<<24|0)!=(l[L+416>>0]|l[L+416+1>>0]<<8|l[L+416+2>>0]<<16|l[L+416+3>>0]<<24|0))break;POa(L,l[L+424>>0]|l[L+424+1>>0]<<8|l[L+424+2>>0]<<16|l[L+424+3>>0]<<24,ra)}while(0);if(!(l[L+380>>0]|l[L+380+1>>0]<<8|l[L+380+2>>0]<<16|l[L+380+3>>0]<<24)){f=T;E=S;F=R;m=Q;D=0;z=W;A=Y;B=0;n=ca;p=ea;q=ia;r=ja;s=la;t=na;u=pa;v=ra;w=H;x=va;y=xa;break c}if((l[L+412>>0]|l[L+412+1>>0]<<8|l[L+412+2>>0]<<16|l[L+412+3>>0]<<24|0)!=(l[L+420>>0]|l[L+420+1>>0]<<8|l[L+420+2>>0]<<16|l[L+420+3>>0]<<24|0)){f=T;E=S;F=R;m=Q;D=0;z=W;A=Y;B=0;n=ca;p=ea;q=ia;r=ja;s=la;t=na;u=pa;v=ra;w=H;x=va;y=xa;break c}QOa(L,l[L+424>>0]|l[L+424+1>>0]<<8|l[L+424+2>>0]<<16|l[L+424+3>>0]<<24,ra);f=T;E=S;F=R;m=Q;D=0;z=W;A=Y;B=0;n=ca;p=ea;q=ia;r=ja;s=la;t=na;u=pa;v=ra;w=H;x=va;y=xa;break c}b=l[L+412>>0]|l[L+412+1>>0]<<8|l[L+412+2>>0]<<16|l[L+412+3>>0]<<24;if(!b){b=BOa(L,1279174,0)|0;F=l[L+376>>0]|l[L+376+1>>0]<<8|l[L+376+2>>0]<<16|l[L+376+3>>0]<<24;i[b+20>>0]=F;i[b+20+1>>0]=F>>8;i[b+20+2>>0]=F>>16;i[b+20+3>>0]=F>>24}i[L+412>>0]=b;i[L+412+1>>0]=b>>8;i[L+412+2>>0]=b>>16;i[L+412+3>>0]=b>>24;c=i[b+36>>0]|0;b=l[L+8>>0]|l[L+8+1>>0]<<8|l[L+8+2>>0]<<16|l[L+8+3>>0]<<24;if(b|0)do{if((i[b+36>>0]|0)==c<<24>>24){F=b+16|0;i[F>>0]=0;i[F+1>>0]=0;i[F+2>>0]=0;i[F+3>>0]=0}b=l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24}while((b|0)!=0);b=i[G>>0]|0;if(((b<<24>>24)+-48|0)>>>0<10){e=b<<24>>24;c=0;b=0;while(1){c=e+-48+(c*10|0)|0;f=b+1|0;b=i[G+f>>0]|0;e=b<<24>>24;if((e+-48|0)>>>0>=10)break;else b=f}}else{c=0;f=0}e=(f|0)==0?1:c;if(b<<24>>24==47){c=1;b=f;while(1){c=c<<1;f=b+1|0;b=i[G+f>>0]|0;if(b<<24>>24==47)b=f;else break}}else c=1;b=b<<24>>24;if((b+-48|0)>>>0<10){g=0;h=0;do{g=b+-48+(g*10|0)|0;h=h+1|0;j=h+f|0;b=i[G+j>>0]|0}while((b+-48|0)>>>0<10);b=(h|0)==0?1:g;c=(c|0)/2|0;f=j}else b=1;c=ha(c,b)|0;if(!Q)h=0;else{h=Q+-1|0;e=ha(e,R)|0;c=ha(c,S)|0}b=G+f|0;while(1)if(!(qmb(i[b>>0]|0)|0))break;else b=b+1|0;switch(T|0){case 60:{d=0;e=e*3|0;c=c<<1;break}case 62:{d=0;c=c<<1;break}default:{}}f:do switch(i[b>>0]|0){case 62:{d=1;c=c<<1;e=e*3|0;f=62;break}case 60:{d=1;c=c<<1;f=60;break}default:{if(!((e|0)==1&(d|0)!=0)){d=0;f=0;break f}f=(c|0)==1;d=0;c=f?2:c;e=f?3:1;f=f?62:0}}while(0);b=b+d|0;c=ha(k[a+640>>2]|0,c)|0;if(!c)c=0;else{G=ha(ha(ha(e*3072|0,k[a+644>>2]|0)|0,l[L+20>>0]|l[L+20+1>>0]<<8|l[L+20+2>>0]<<16|l[L+20+3>>0]<<24)|0,k[298900]|0)|0;c=(G|0)/(ha(k[298901]|0,c)|0)|0}c=c<<((_|0)!=0&1);if(c>>>0>ba>>>0){g=0;c=c-ba|0}else{G=(l[L+20>>0]|l[L+20+1>>0]<<8|l[L+20+2>>0]<<16|l[L+20+3>>0]<<24)*192|0;g=ba-c+G|0;c=G}c=(l[L+424>>0]|l[L+424+1>>0]<<8|l[L+424+2>>0]<<16|l[L+424+3>>0]<<24)+c|0;i[L+424>>0]=c;i[L+424+1>>0]=c>>8;i[L+424+2>>0]=c>>16;i[L+424+3>>0]=c>>24;d=l[L+412>>0]|l[L+412+1>>0]<<8|l[L+412+2>>0]<<16|l[L+412+3>>0]<<24;e=l[d+8>>0]|l[d+8+1>>0]<<8|l[d+8+2>>0]<<16|l[d+8+3>>0]<<24;do if(!e)Ba=1076;else{if((l[e+4>>0]|l[e+4+1>>0]<<8|l[e+4+2>>0]<<16|l[e+4+3>>0]<<24|0)==(c|0))break;if((i[e+8>>0]|0)!=1){Ba=1076;break}if((i[e+9>>0]|0)!=83){Ba=1076;break}i[e+4>>0]=c;i[e+4+1>>0]=c>>8;i[e+4+2>>0]=c>>16;i[e+4+3>>0]=c>>24}while(0);if((Ba|0)==1076){Ba=0;G=jqb(1,16)|0;i[G>>0]=0;i[G+1>>0]=0;i[G+2>>0]=0;i[G+3>>0]=0;i[G+4>>0]=c;i[G+4+1>>0]=c>>8;i[G+4+2>>0]=c>>16;i[G+4+3>>0]=c>>24;i[G+8>>0]=1;i[G+9>>0]=83;i[G+10>>0]=0;i[G+10+1>>0]=0;i[G+10+2>>0]=0;i[G+10+3>>0]=0;i[G+14>>0]=i[1274943]|0;i[G+15>>0]=0;DOa(d,G)}do if(l[L+384>>0]|l[L+384+1>>0]<<8|l[L+384+2>>0]<<16|l[L+384+3>>0]<<24|0){if((l[L+412>>0]|l[L+412+1>>0]<<8|l[L+412+2>>0]<<16|l[L+412+3>>0]<<24|0)!=(l[L+416>>0]|l[L+416+1>>0]<<8|l[L+416+2>>0]<<16|l[L+416+3>>0]<<24|0))break;POa(L,l[L+424>>0]|l[L+424+1>>0]<<8|l[L+424+2>>0]<<16|l[L+424+3>>0]<<24,ra)}while(0);if(!(l[L+380>>0]|l[L+380+1>>0]<<8|l[L+380+2>>0]<<16|l[L+380+3>>0]<<24)){E=S;F=R;m=h;D=0;z=W;A=Y;B=0;n=ca;p=ea;q=ia;r=ja;s=la;t=na;u=pa;v=ra;w=H;x=va;y=xa;break c}if((l[L+412>>0]|l[L+412+1>>0]<<8|l[L+412+2>>0]<<16|l[L+412+3>>0]<<24|0)!=(l[L+420>>0]|l[L+420+1>>0]<<8|l[L+420+2>>0]<<16|l[L+420+3>>0]<<24|0)){E=S;F=R;m=h;D=0;z=W;A=Y;B=0;n=ca;p=ea;q=ia;r=ja;s=la;t=na;u=pa;v=ra;w=H;x=va;y=xa;break c}QOa(L,l[L+424>>0]|l[L+424+1>>0]<<8|l[L+424+2>>0]<<16|l[L+424+3>>0]<<24,ra);E=S;F=R;m=h;D=0;z=W;A=Y;B=0;n=ca;p=ea;q=ia;r=ja;s=la;t=na;u=pa;v=ra;w=H;x=va;y=xa}}}while(0);if(!I)c=0;else{c=(i[b>>0]|0)==0;b=c?I:b;c=c?0:I}e=i[b>>0]|0;if(!(e<<24>>24)){M=f;N=E;O=F;P=m;V=D;X=z;Z=A;$=B;aa=g;da=n;fa=p;ga=q;ka=r;ma=s;oa=t;qa=u;sa=v;ta=w;wa=x;ya=y;k[a+16104>>2]=1;break a}else{Q=m;R=F;S=E;T=f;U=D;W=z;Y=A;_=B;ba=g;ca=n;ea=p;ia=q;ja=r;la=s;na=t;pa=u;ra=v;ua=w;va=x;xa=y;za=b;Aa=c}}k[a+2472>>2]=M;k[a+2480>>2]=N;k[a+2488>>2]=O;k[a+2496>>2]=P;k[a+3144>>2]=e;k[a+4144>>2]=Q;k[a+4152>>2]=R;k[a+4160>>2]=S;k[a+4168>>2]=T;k[a+11104>>2]=U;k[a+11120>>2]=V;k[a+11208>>2]=W;k[a+11224>>2]=X;k[a+11280>>2]=Y;k[a+11296>>2]=Z;k[a+11328>>2]=_;k[a+11344>>2]=$;k[a+11384>>2]=aa;k[a+11424>>2]=ba;k[a+11592>>2]=ca;k[a+11608>>2]=da;k[a+11640>>2]=ea;k[a+11688>>2]=fa;k[a+11824>>2]=ga;k[a+11888>>2]=ia;k[a+11968>>2]=ja;k[a+11984>>2]=ka;k[a+12064>>2]=la;k[a+12080>>2]=ma;k[a+12136>>2]=na;k[a+12184>>2]=oa;k[a+12240>>2]=pa;k[a+12256>>2]=qa;k[a+12456>>2]=ra;k[a+12472>>2]=sa;k[a+12496>>2]=ta;k[a+12528>>2]=ua;k[a+12560>>2]=va;k[a+12608>>2]=wa;k[a+12640>>2]=xa;k[a+12688>>2]=ya;k[a+14528>>2]=za;k[a+15128>>2]=Aa;k[a+16016>>2]=Ba}function oQa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,jb=0,kb=0,lb=0,mb=0,nb=0,ob=0,pb=0,qb=0,rb=0,sb=0,tb=0,ub=0,vb=0,wb=0,xb=0,yb=0,zb=0,Ab=0,Bb=0,Cb=0,Db=0,Eb=0,Fb=0,Gb=0,Hb=0,Ib=0,Jb=0,Kb=0,Lb=0,Mb=0,Nb=0,Ob=0,Pb=0,Qb=0,Rb=0,Sb=0,Tb=0,Ub=0,Vb=0,Wb=0,Xb=0,Yb=0,Zb=0,_b=0,$b=0,ac=0,bc=0,cc=0,dc=0,ec=0,fc=0,gc=0,hc=0,ic=0,jc=0,kc=0,lc=0,mc=0,nc=0,oc=0,pc=0,qc=0;Ob=k[a+1312>>2]|0;Pb=k[a+2816>>2]|0;Ib=k[a+3896>>2]|0;Qb=k[a+9672>>2]|0;Rb=k[a+9680>>2]|0;Sb=k[a+9688>>2]|0;Tb=k[a+9696>>2]|0;Ub=k[a+11080>>2]|0;Vb=k[a+11152>>2]|0;Wb=k[a+11232>>2]|0;Xb=k[a+11304>>2]|0;Yb=k[a+11352>>2]|0;Zb=k[a+11480>>2]|0;_b=k[a+11536>>2]|0;$b=k[a+11616>>2]|0;ac=k[a+11768>>2]|0;bc=k[a+11912>>2]|0;cc=k[a+11992>>2]|0;dc=k[a+12088>>2]|0;ec=k[a+12192>>2]|0;fc=k[a+12272>>2]|0;gc=k[a+12328>>2]|0;kb=k[a+12392>>2]|0;hc=k[a+12400>>2]|0;ic=k[a+12504>>2]|0;jc=k[a+12536>>2]|0;kc=k[a+12616>>2]|0;lc=k[a+14128>>2]|0;mc=k[a+14184>>2]|0;nc=k[a+14352>>2]|0;oc=k[a+15696>>2]|0;pc=k[a+15952>>2]|0;qc=k[a+15968>>2]|0;Mb=k[a+16016>>2]|0;a:{while(1){f=mc+-1|0;e=zOa(Pb,k[a+600+(f<<2)>>2]|0)|0;b:{b=1;if(b){b=0;if(!e){ea=Tb;fa=a+600+(f<<2)|0;ga=Sb;ia=Rb;ja=Qb;oa=Ub;qa=Vb;ua=Wb;ya=Xb;Aa=Yb;Ea=Zb;Ha=_b;La=$b;Pa=ac;d=bc;Hb=cc;Ya=dc;ab=ec;eb=fc;c=gc;lb=hc;qb=ic;rb=jc;tb=kc;vb=lc;yb=f;h=nc;Eb=oc}else b=1}if(b)if(1){m=Tb;B=Sb;E=Rb;F=Qb;n=a+600+(f<<2)|0;y=Ub;p=Vb;q=Wb;j=Xb;s=Yb;t=Zb;u=_b;v=$b;w=ac;x=bc;z=cc;A=dc;D=ec;G=fc;H=gc;I=hc;_=ic;g=jc;b=kc;L=lc;M=nc;N=oc;while(1){Z=_<<24>>24==92&1;Y=m;X=n;W=p;V=q;U=v;Q=L;P=M;c:while(1){m=e;while(1){n=m+1|0;if(!(qmb(i[m>>0]|0)|0)){O=m;break}else m=n}L=1;M=x|0;if(L){L=0;switch(M|0){case 4:{if(!(Dmb(O,522304,2)|0)){m=G+1|0;if((G|0)==(kb|0)){fb=m;Mb=43}else{ma=Y;ra=W;va=V;Ca=s;Fa=t;Ia=u;Na=U;Ra=w;Ta=4;Va=z;Za=A;bb=D;gb=m;ib=H;mb=I;wb=Q;Ab=P;Db=O;Fb=N}}else{fb=G;Mb=43}break}case 1:{fb=G;Mb=43;break}case 0:{if(!(i[O>>0]|0)){ma=Y;ra=W;va=V;Ca=s;Fa=t;Ia=u;Na=U;Ra=w;Ta=0;Va=z;Za=A;bb=D;gb=G;ib=H;mb=I;wb=Q;Ab=P;Db=O;Fb=N}else if((i[n>>0]|0)==58){m=k[a+652>>2]|0;if(m|0)iqb(m);k[a+652>>2]=0;i[Pb+36>>0]=0;d:do if(l[Pb+380>>0]|l[Pb+380+1>>0]<<8|l[Pb+380+2>>0]<<16|l[Pb+380+3>>0]<<24|0){m=l[Pb+420>>0]|l[Pb+420+1>>0]<<8|l[Pb+420+2>>0]<<16|l[Pb+420+3>>0]<<24;if(!m)break;p=l[Pb+424>>0]|l[Pb+424+1>>0]<<8|l[Pb+424+2>>0]<<16|l[Pb+424+3>>0]<<24;m=BOa(Pb,m+44|0,8)|0;n=l[m+8>>0]|l[m+8+1>>0]<<8|l[m+8+2>>0]<<16|l[m+8+3>>0]<<24;do if(n|0){if((l[n+4>>0]|l[n+4+1>>0]<<8|l[n+4+2>>0]<<16|l[n+4+3>>0]<<24|0)==(p|0))break d;if((i[n+8>>0]|0)!=1)break;if((i[n+9>>0]|0)!=83)break;i[n+4>>0]=p;i[n+4+1>>0]=p>>8;i[n+4+2>>0]=p>>16;i[n+4+3>>0]=p>>24;break d}while(0);v=jqb(1,16)|0;i[v>>0]=0;i[v+1>>0]=0;i[v+2>>0]=0;i[v+3>>0]=0;i[v+4>>0]=p;i[v+4+1>>0]=p>>8;i[v+4+2>>0]=p>>16;i[v+4+3>>0]=p>>24;i[v+8>>0]=1;i[v+9>>0]=83;i[v+10>>0]=0;i[v+10+1>>0]=0;i[v+10+2>>0]=0;i[v+10+3>>0]=0;i[v+14>>0]=i[1274943]|0;i[v+15>>0]=0;DOa(m,v)}while(0);m=l[Pb+416>>0]|l[Pb+416+1>>0]<<8|l[Pb+416+2>>0]<<16|l[Pb+416+3>>0]<<24;do if(m|0){if(l[Pb+384>>0]|l[Pb+384+1>>0]<<8|l[Pb+384+2>>0]<<16|l[Pb+384+3>>0]<<24|0)break;n=l[Pb+424>>0]|l[Pb+424+1>>0]<<8|l[Pb+424+2>>0]<<16|l[Pb+424+3>>0]<<24;v=1;do{p=BOa(Pb,m+44|0,v)|0;q=l[p+8>>0]|l[p+8+1>>0]<<8|l[p+8+2>>0]<<16|l[p+8+3>>0]<<24;do if(!q)Mb=85;else{if((l[q+4>>0]|l[q+4+1>>0]<<8|l[q+4+2>>0]<<16|l[q+4+3>>0]<<24|0)==(n|0))break;if((i[q+8>>0]|0)!=1){Mb=85;break}if((i[q+9>>0]|0)!=83){Mb=85;break}i[q+4>>0]=n;i[q+4+1>>0]=n>>8;i[q+4+2>>0]=n>>16;i[q+4+3>>0]=n>>24}while(0);if((Mb|0)==85){Mb=0;q=jqb(1,16)|0;i[q>>0]=0;i[q+1>>0]=0;i[q+2>>0]=0;i[q+3>>0]=0;i[q+4>>0]=n;i[q+4+1>>0]=n>>8;i[q+4+2>>0]=n>>16;i[q+4+3>>0]=n>>24;i[q+8>>0]=1;i[q+9>>0]=83;i[q+10>>0]=0;i[q+10+1>>0]=0;i[q+10+2>>0]=0;i[q+10+3>>0]=0;i[q+14>>0]=i[1274943]|0;i[q+15>>0]=0;DOa(p,q)}v=v+1|0}while((v|0)!=8)}while(0);i[Pb+384>>0]=1;i[Pb+384+1>>0]=0;i[Pb+384+2>>0]=0;i[Pb+384+3>>0]=0;i[Pb+380>>0]=0;i[Pb+380+1>>0]=0;i[Pb+380+2>>0]=0;i[Pb+380+3>>0]=0;Mb=88}else{ma=Y;ra=W;va=V;Ca=s;Fa=t;Ia=u;Na=U;Ra=w;Ta=0;Va=z;Za=A;bb=D;gb=G;ib=H;mb=I;wb=Q;Ab=P;Db=O;Fb=N}break}case 2:{Mb=88;break}case 5:{n=O;while(1){m=i[n>>0]|0;if(m<<24>>24!=34&(m<<24>>24==0^1))n=n+1|0;else break}if(!(m<<24>>24)){ma=Y;ra=W;va=V;Ca=s;Fa=t;Ia=u;Na=U;Ra=w;Ta=5;Va=z;Za=A;bb=D;gb=G;ib=H;mb=I;wb=Q;Ab=P;Db=n;Fb=N}else{R=3;S=P;T=n;Mb=218}break}default:L=1}}if(L)switch(M|0){case 3:{if(!(i[O>>0]|0)){m=l[Pb+8>>0]|l[Pb+8+1>>0]<<8|l[Pb+8+2>>0]<<16|l[Pb+8+3>>0]<<24;if(!m){R=3;S=P;T=O;Mb=218}else{M=l[Pb+12>>0]|l[Pb+12+1>>0]<<8|l[Pb+12+2>>0]<<16|l[Pb+12+3>>0]<<24|0?4:1;i[Pb+424>>0]=0;i[Pb+424+1>>0]=0;i[Pb+424+2>>0]=0;i[Pb+424+3>>0]=0;p=0;q=m;while(1){n=q+8|0;n=l[n>>0]|l[n+1>>0]<<8|l[n+2>>0]<<16|l[n+3>>0]<<24;do if(!n)n=p;else{n=l[n+4>>0]|l[n+4+1>>0]<<8|l[n+4+2>>0]<<16|l[n+4+3>>0]<<24;if(n>>>0<=p>>>0){n=p;break}i[Pb+424>>0]=n;i[Pb+424+1>>0]=n>>8;i[Pb+424+2>>0]=n>>16;i[Pb+424+3>>0]=n>>24}while(0);q=l[q>>0]|l[q+1>>0]<<8|l[q+2>>0]<<16|l[q+3>>0]<<24;if(!q)break;else p=n}while(1){T=(JOa(l[m+42>>0]|0)|0)&255;Mb=jqb(1,16)|0;i[Mb>>0]=0;i[Mb+1>>0]=0;i[Mb+2>>0]=0;i[Mb+3>>0]=0;i[Mb+4>>0]=n;i[Mb+4+1>>0]=n>>8;i[Mb+4+2>>0]=n>>16;i[Mb+4+3>>0]=n>>24;i[Mb+8>>0]=0;i[Mb+9>>0]=0;i[Mb+10>>0]=T;i[Mb+11>>0]=0;i[Mb+12>>0]=0;i[Mb+13>>0]=0;i[Mb+14>>0]=i[1274943]|0;i[Mb+15>>0]=0;DOa(m,Mb);m=l[m>>0]|l[m+1>>0]<<8|l[m+2>>0]<<16|l[m+3>>0]<<24;if(!m)break;n=l[Pb+424>>0]|l[Pb+424+1>>0]<<8|l[Pb+424+2>>0]<<16|l[Pb+424+3>>0]<<24}L=l[Pb+8>>0]|l[Pb+8+1>>0]<<8|l[Pb+8+2>>0]<<16|l[Pb+8+3>>0]<<24;q=l[Pb+424>>0]|l[Pb+424+1>>0]<<8|l[Pb+424+2>>0]<<16|l[Pb+424+3>>0]<<24;v=jqb(1,16)|0;i[v>>0]=0;i[v+1>>0]=0;i[v+2>>0]=0;i[v+3>>0]=0;i[v+4>>0]=q;i[v+4+1>>0]=q>>8;i[v+4+2>>0]=q>>16;i[v+4+3>>0]=q>>24;i[v+8>>0]=1;i[v+9>>0]=80;i[v+10>>0]=0;i[v+10+1>>0]=0;i[v+10+2>>0]=0;i[v+10+3>>0]=0;i[v+14>>0]=i[1274943]|0;i[v+15>>0]=0;DOa(L,v);v=l[Pb+424>>0]|l[Pb+424+1>>0]<<8|l[Pb+424+2>>0]<<16|l[Pb+424+3>>0]<<24;L=l[Pb+20>>0]|l[Pb+20+1>>0]<<8|l[Pb+20+2>>0]<<16|l[Pb+20+3>>0]<<24;q=l[Pb+8>>0]|l[Pb+8+1>>0]<<8|l[Pb+8+2>>0]<<16|l[Pb+8+3>>0]<<24;do if(!q){p=0;m=0}else{n=l[q+4>>0]|l[q+4+1>>0]<<8|l[q+4+2>>0]<<16|l[q+4+3>>0]<<24;if(!n)m=0;else{m=0;do{p=n+4|0;p=l[p>>0]|l[p+1>>0]<<8|l[p+2>>0]<<16|l[p+3>>0]<<24;if(p>>>0>v>>>0)break;do if((i[n+8>>0]|0)==1){if((i[n+9>>0]|0)!=80)break;p=p+m|0;if(!((p>>>0)%((L*12288|0)>>>0)|0))break;m=m+(L*12288|0)-(((p+(L*12288|0)|0)>>>0)%((L*12288|0)>>>0)|0)|0}while(0);n=l[n>>0]|l[n+1>>0]<<8|l[n+2>>0]<<16|l[n+3>>0]<<24}while((n|0)!=0);m=((((m+v|0)>>>0)/192|0)>>>6>>>0)/(L>>>0)|0;if(!q){p=0;break}}p=l[q+4>>0]|l[q+4+1>>0]<<8|l[q+4+2>>0]<<16|l[q+4+3>>0]<<24;if(!p){p=0;break}else n=0;do{q=p+4|0;q=l[q>>0]|l[q+1>>0]<<8|l[q+2>>0]<<16|l[q+3>>0]<<24;if(q>>>0>v>>>0)break;do if((i[p+8>>0]|0)==1){if((i[p+9>>0]|0)!=80)break;q=q+n|0;if(!((q>>>0)%((L*12288|0)>>>0)|0))break;n=n+(L*12288|0)-(((q+(L*12288|0)|0)>>>0)%((L*12288|0)>>>0)|0)|0}while(0);p=l[p>>0]|l[p+1>>0]<<8|l[p+2>>0]<<16|l[p+3>>0]<<24}while((p|0)!=0);p=n+v|0}while(0);n=i[1274943]|0;m=(((p>>>0)%((L*12288|0)>>>0)|0|0)!=0&1)+m&255;e:do if(n<<24>>24==32){i[(a+678+53|0)>>0]=m;m=k[a+652>>2]|0;if(!m){Mb=216;break}else n=0;do{if((l[a+678+(n<<1)>>0]|0)<(l[a+678+(n<<1)+1>>0]|0)){ka=m;Mb=215;break e}n=n+1|0}while(n>>>0<26);if((n|0)!=26){ka=m;Mb=215;break}if(((Fnb(m)|0)+27|0)>>>0<=255){k[a+40>>2]=m;Fmb(a+784|0,523946,a+40|0)|0;k[a+48>>2]=a+784;Cob(Ib,522043,a+48|0)|0;m=k[a+652>>2]|0}if(m|0)iqb(m);k[a+652>>2]=0;Mb=216}else{i[a+678+((n<<24>>24)+-65<<1)+1>>0]=m;ka=k[a+652>>2]|0;Mb=215}while(0);if((Mb|0)==215){Mb=0;if(!ka)Mb=216;else na=ka}if((Mb|0)==216){KOa(Pb,a+652|0,a+678|0);na=k[a+652>>2]|0}R=M;S=LOa(a+678|0,na,a+648|0,P)|0;T=O;Mb=218}}else{R=3;S=P;T=O;Mb=218}break}default:{ma=Y;ra=W;va=V;Ca=s;Fa=t;Ia=u;Na=U;Ra=w;Ta=x;Va=z;Za=A;bb=D;gb=G;ib=H;mb=I;wb=Q;Ab=P;Db=O;Fb=N}}k[a+1312>>2]=Ob;k[a+2456>>2]=$;k[a+2504>>2]=ea;k[a+2512>>2]=fa;k[a+2568>>2]=ga;k[a+2576>>2]=B;k[a+2584>>2]=ia;k[a+2592>>2]=E;k[a+2600>>2]=ja;k[a+2608>>2]=F;k[a+2816>>2]=Pb;k[a+3128>>2]=la;k[a+3896>>2]=Ib;k[a+4512>>2]=Z;k[a+9720>>2]=e;k[a+9728>>2]=Y;k[a+9736>>2]=ma;k[a+10656>>2]=X;k[a+11088>>2]=oa;k[a+11096>>2]=y;k[a+11160>>2]=qa;k[a+11176>>2]=W;k[a+11184>>2]=ra;k[a+11192>>2]=sa;k[a+11240>>2]=ua;k[a+11256>>2]=V;k[a+11264>>2]=va;k[a+11272>>2]=wa;k[a+11312>>2]=ya;k[a+11320>>2]=j;k[a+11360>>2]=Aa;k[a+11392>>2]=s;k[a+11408>>2]=Ca;k[a+11416>>2]=Da;k[a+11496>>2]=Ea;k[a+11512>>2]=t;k[a+11520>>2]=Fa;k[a+11528>>2]=Ga;k[a+11544>>2]=Ha;k[a+11560>>2]=u;k[a+11576>>2]=Ia;k[a+11584>>2]=Ja;k[a+11624>>2]=La;k[a+11656>>2]=U;k[a+11704>>2]=Na;k[a+11760>>2]=Oa;k[a+11776>>2]=Pa;k[a+11808>>2]=w;k[a+11840>>2]=Ra;k[a+11880>>2]=Sa;k[a+11920>>2]=d;k[a+11944>>2]=x;k[a+11952>>2]=R;k[a+11960>>2]=Ta;k[a+12e3>>2]=Hb;k[a+12024>>2]=z;k[a+12048>>2]=Va;k[a+12056>>2]=Wa;k[a+12096>>2]=Ya;k[a+12112>>2]=A;k[a+12120>>2]=Za;k[a+12128>>2]=_a;k[a+12200>>2]=ab;k[a+12216>>2]=D;k[a+12224>>2]=bb;k[a+12232>>2]=cb;k[a+12280>>2]=eb;k[a+12296>>2]=G;k[a+12304>>2]=fb;k[a+12312>>2]=gb;k[a+12320>>2]=hb;k[a+12336>>2]=c;k[a+12360>>2]=H;k[a+12368>>2]=ib;k[a+12376>>2]=jb;k[a+12408>>2]=lb;k[a+12424>>2]=I;k[a+12440>>2]=mb;k[a+12448>>2]=nb;k[a+12512>>2]=qb;k[a+12520>>2]=_;k[a+12544>>2]=rb;k[a+12552>>2]=g;k[a+12624>>2]=tb;k[a+12632>>2]=b;k[a+14136>>2]=vb;k[a+14152>>2]=Q;k[a+14160>>2]=wb;k[a+14168>>2]=xb;k[a+14192>>2]=yb;k[a+14208>>2]=f;k[a+14232>>2]=zb;k[a+14360>>2]=h;k[a+14384>>2]=P;k[a+14392>>2]=S;k[a+14400>>2]=Ab;k[a+14408>>2]=Bb;k[a+14448>>2]=O;k[a+14520>>2]=Cb;k[a+14960>>2]=T;k[a+14976>>2]=Db;k[a+15712>>2]=Eb;k[a+15728>>2]=N;k[a+15736>>2]=Fb;k[a+15760>>2]=Gb;k[a+15952>>2]=pc;k[a+15968>>2]=qc;k[a+16016>>2]=Mb;k[a+16096>>2]=0;k[a+16100>>2]=0;mQa(a);$=k[a+2456>>2]|0;ea=k[a+2504>>2]|0;fa=k[a+2512>>2]|0;ga=k[a+2568>>2]|0;ia=k[a+2584>>2]|0;ja=k[a+2600>>2]|0;la=k[a+3128>>2]|0;e=k[a+9720>>2]|0;Y=k[a+9728>>2]|0;ma=k[a+9736>>2]|0;X=k[a+10656>>2]|0;oa=k[a+11088>>2]|0;qa=k[a+11160>>2]|0;W=k[a+11176>>2]|0;ra=k[a+11184>>2]|0;sa=k[a+11192>>2]|0;ua=k[a+11240>>2]|0;V=k[a+11256>>2]|0;va=k[a+11264>>2]|0;wa=k[a+11272>>2]|0;ya=k[a+11312>>2]|0;Aa=k[a+11360>>2]|0;s=k[a+11392>>2]|0;Ca=k[a+11408>>2]|0;Da=k[a+11416>>2]|0;Ea=k[a+11496>>2]|0;t=k[a+11512>>2]|0;Fa=k[a+11520>>2]|0;Ga=k[a+11528>>2]|0;Ha=k[a+11544>>2]|0;u=k[a+11560>>2]|0;Ia=k[a+11576>>2]|0;Ja=k[a+11584>>2]|0;La=k[a+11624>>2]|0;U=k[a+11656>>2]|0;Na=k[a+11704>>2]|0;Oa=k[a+11760>>2]|0;Pa=k[a+11776>>2]|0;w=k[a+11808>>2]|0;Ra=k[a+11840>>2]|0;Sa=k[a+11880>>2]|0;d=k[a+11920>>2]|0;x=k[a+11944>>2]|0;Ta=k[a+11960>>2]|0;Hb=k[a+12e3>>2]|0;z=k[a+12024>>2]|0;Va=k[a+12048>>2]|0;Wa=k[a+12056>>2]|0;Ya=k[a+12096>>2]|0;A=k[a+12112>>2]|0;Za=k[a+12120>>2]|0;_a=k[a+12128>>2]|0;ab=k[a+12200>>2]|0;D=k[a+12216>>2]|0;bb=k[a+12224>>2]|0;cb=k[a+12232>>2]|0;eb=k[a+12280>>2]|0;G=k[a+12296>>2]|0;gb=k[a+12312>>2]|0;hb=k[a+12320>>2]|0;c=k[a+12336>>2]|0;H=k[a+12360>>2]|0;ib=k[a+12368>>2]|0;jb=k[a+12376>>2]|0;lb=k[a+12408>>2]|0;I=k[a+12424>>2]|0;mb=k[a+12440>>2]|0;nb=k[a+12448>>2]|0;qb=k[a+12512>>2]|0;rb=k[a+12544>>2]|0;tb=k[a+12624>>2]|0;vb=k[a+14136>>2]|0;Q=k[a+14152>>2]|0;wb=k[a+14160>>2]|0;xb=k[a+14168>>2]|0;yb=k[a+14192>>2]|0;f=k[a+14208>>2]|0;zb=k[a+14232>>2]|0;h=k[a+14360>>2]|0;P=k[a+14384>>2]|0;Ab=k[a+14400>>2]|0;Bb=k[a+14408>>2]|0;Cb=k[a+14520>>2]|0;Db=k[a+14976>>2]|0;Eb=k[a+15712>>2]|0;N=k[a+15728>>2]|0;Fb=k[a+15736>>2]|0;Gb=k[a+15760>>2]|0;pc=k[a+15952>>2]|0;qc=k[a+15968>>2]|0;Mb=k[a+16016>>2]|0;J=k[a+16096>>2]|0;C=k[a+16100>>2]|0;K=+o[a+16100>>2];k[a+16096>>2]=0;k[a+16100>>2]=0;if((J|0)==1)break;if((J|0)==2)switch(C|0){case 16:break c;case 17:break b}}G=la;D=$;z=sa;A=wa;m=Da;n=Ja;p=Oa;q=Sa;s=3;t=Wa;u=_a;v=cb;w=nb;x=32;e=Cb;f=0;while(1){_=e+1|0;k[a+2472>>2]=aa;k[a+2480>>2]=ba;k[a+2488>>2]=ca;k[a+2496>>2]=da;k[a+2816>>2]=Pb;k[a+3136>>2]=_;k[a+3144>>2]=G;k[a+3896>>2]=Ib;k[a+4144>>2]=F;k[a+4152>>2]=E;k[a+4160>>2]=B;k[a+4168>>2]=D;k[a+11104>>2]=y;k[a+11120>>2]=pa;k[a+11208>>2]=z;k[a+11224>>2]=ta;k[a+11280>>2]=A;k[a+11296>>2]=xa;k[a+11328>>2]=j;k[a+11344>>2]=za;k[a+11384>>2]=Ba;k[a+11424>>2]=m;k[a+11528>>2]=Ga;k[a+11592>>2]=n;k[a+11608>>2]=Ka;k[a+11640>>2]=p;k[a+11688>>2]=Ma;k[a+11824>>2]=Qa;k[a+11888>>2]=q;k[a+11968>>2]=s;k[a+11984>>2]=Ua;k[a+12064>>2]=t;k[a+12080>>2]=Xa;k[a+12136>>2]=u;k[a+12184>>2]=$a;k[a+12240>>2]=v;k[a+12256>>2]=db;k[a+12456>>2]=w;k[a+12472>>2]=ob;k[a+12496>>2]=pb;k[a+12528>>2]=x;k[a+12560>>2]=g;k[a+12608>>2]=sb;k[a+12640>>2]=b;k[a+12688>>2]=ub;k[a+14528>>2]=e;k[a+15128>>2]=f;k[a+16016>>2]=Mb;k[a+16104>>2]=0;k[a+16108>>2]=0;nQa(a);aa=k[a+2472>>2]|0;ba=k[a+2480>>2]|0;ca=k[a+2488>>2]|0;da=k[a+2496>>2]|0;G=k[a+3144>>2]|0;F=k[a+4144>>2]|0;E=k[a+4152>>2]|0;B=k[a+4160>>2]|0;D=k[a+4168>>2]|0;y=k[a+11104>>2]|0;pa=k[a+11120>>2]|0;z=k[a+11208>>2]|0;ta=k[a+11224>>2]|0;A=k[a+11280>>2]|0;xa=k[a+11296>>2]|0;j=k[a+11328>>2]|0;za=k[a+11344>>2]|0;Ba=k[a+11384>>2]|0;m=k[a+11424>>2]|0;n=k[a+11592>>2]|0;Ka=k[a+11608>>2]|0;p=k[a+11640>>2]|0;Ma=k[a+11688>>2]|0;Qa=k[a+11824>>2]|0;q=k[a+11888>>2]|0;s=k[a+11968>>2]|0;Ua=k[a+11984>>2]|0;t=k[a+12064>>2]|0;Xa=k[a+12080>>2]|0;u=k[a+12136>>2]|0;$a=k[a+12184>>2]|0;v=k[a+12240>>2]|0;db=k[a+12256>>2]|0;w=k[a+12456>>2]|0;ob=k[a+12472>>2]|0;pb=k[a+12496>>2]|0;x=k[a+12528>>2]|0;g=k[a+12560>>2]|0;sb=k[a+12608>>2]|0;b=k[a+12640>>2]|0;ub=k[a+12688>>2]|0;e=k[a+14528>>2]|0;f=k[a+15128>>2]|0;Mb=k[a+16016>>2]|0;J=k[a+16104>>2]|0;C=k[a+16108>>2]|0;K=+o[a+16108>>2];k[a+16104>>2]=0;k[a+16108>>2]=0;if((J|0)==1)break}e=zOa(Pb,k[a+600+(zb<<2)>>2]|0)|0;if(!e){ea=aa;fa=a+600+(zb<<2)|0;ga=ba;ia=ca;ja=da;oa=pa;qa=ta;ua=xa;ya=za;Aa=Ba;Ea=Ga;Ha=Ka;La=Ma;Pa=Qa;d=Ua;Hb=Xa;Ya=$a;ab=db;eb=hb;c=jb;lb=ob;qb=pb;rb=sb;tb=ub;vb=xb;yb=zb;h=Bb;Eb=Gb;break}else{m=aa;B=ba;E=ca;F=da;n=a+600+(zb<<2)|0;y=pa;p=ta;q=xa;j=za;s=Ba;t=Ga;u=Ka;v=Ma;w=Qa;x=Ua;z=Xa;A=$a;D=db;G=hb;H=jb;I=ob;_=pb;g=sb;b=ub;L=xb;f=zb;M=Bb;N=Gb}}}}if(!yb){s=Hb;break}iqb(k[fa>>2]|0);if((yb|0)>0){Qb=ja;Rb=ia;Sb=ga;Tb=ea;Ub=oa;Vb=qa;Wb=ua;Xb=ya;Yb=Aa;Zb=Ea;_b=Ha;$b=La;ac=Pa;bc=d;cc=Hb;dc=Ya;ec=ab;fc=eb;gc=c;hc=lb;ic=qb;jc=rb;kc=tb;lc=vb;mc=yb;nc=h;oc=Eb}else{s=Hb;break}}UOa(Pb);b=l[Pb+8>>0]|l[Pb+8+1>>0]<<8|l[Pb+8+2>>0]<<16|l[Pb+8+3>>0]<<24;if(!b){k[a+304>>2]=c;Fmb(a+668|0,600523,a+304|0)|0;if(((Fnb(a+668|0)|0)+20|0)>>>0<=255){k[a+312>>2]=a+668;Fmb(a+784|0,524896,a+312|0)|0;k[a+320>>2]=a+784;Cob(Ib,522043,a+320|0)|0}b=l[Pb+8>>0]|l[Pb+8+1>>0]<<8|l[Pb+8+2>>0]<<16|l[Pb+8+3>>0]<<24;if(!b){b=BOa(Pb,1279174,0)|0;Hb=l[Pb+376>>0]|l[Pb+376+1>>0]<<8|l[Pb+376+2>>0]<<16|l[Pb+376+3>>0]<<24;i[b+20>>0]=Hb;i[b+20+1>>0]=Hb>>8;i[b+20+2>>0]=Hb>>16;i[b+20+3>>0]=Hb>>24}i[Pb+8>>0]=b;i[Pb+8+1>>0]=b>>8;i[Pb+8+2>>0]=b>>16;i[Pb+8+3>>0]=b>>24}if((d|0)==3){i[Pb+424>>0]=0;i[Pb+424+1>>0]=0;i[Pb+424+2>>0]=0;i[Pb+424+3>>0]=0;f=(b|0)==0;if(f){b=0;c=0}else{d=0;e=b;while(1){c=e+8|0;c=l[c>>0]|l[c+1>>0]<<8|l[c+2>>0]<<16|l[c+3>>0]<<24;do if(!c)c=d;else{c=l[c+4>>0]|l[c+4+1>>0]<<8|l[c+4+2>>0]<<16|l[c+4+3>>0]<<24;if(c>>>0<=d>>>0){c=d;break}i[Pb+424>>0]=c;i[Pb+424+1>>0]=c>>8;i[Pb+424+2>>0]=c>>16;i[Pb+424+3>>0]=c>>24}while(0);e=l[e>>0]|l[e+1>>0]<<8|l[e+2>>0]<<16|l[e+3>>0]<<24;if(!e)break;else d=c}if(f){b=c;c=0}else{while(1){Hb=(JOa(l[b+42>>0]|0)|0)&255;Mb=jqb(1,16)|0;i[Mb>>0]=0;i[Mb+1>>0]=0;i[Mb+2>>0]=0;i[Mb+3>>0]=0;i[Mb+4>>0]=c;i[Mb+4+1>>0]=c>>8;i[Mb+4+2>>0]=c>>16;i[Mb+4+3>>0]=c>>24;i[Mb+8>>0]=0;i[Mb+9>>0]=0;i[Mb+10>>0]=Hb;i[Mb+11>>0]=0;i[Mb+12>>0]=0;i[Mb+13>>0]=0;i[Mb+14>>0]=i[1274943]|0;i[Mb+15>>0]=0;DOa(b,Mb);b=l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24;if(!b)break;c=l[Pb+424>>0]|l[Pb+424+1>>0]<<8|l[Pb+424+2>>0]<<16|l[Pb+424+3>>0]<<24}b=l[Pb+424>>0]|l[Pb+424+1>>0]<<8|l[Pb+424+2>>0]<<16|l[Pb+424+3>>0]<<24;c=l[Pb+8>>0]|l[Pb+8+1>>0]<<8|l[Pb+8+2>>0]<<16|l[Pb+8+3>>0]<<24}}f=jqb(1,16)|0;i[f>>0]=0;i[f+1>>0]=0;i[f+2>>0]=0;i[f+3>>0]=0;i[f+4>>0]=b;i[f+4+1>>0]=b>>8;i[f+4+2>>0]=b>>16;i[f+4+3>>0]=b>>24;i[f+8>>0]=1;i[f+9>>0]=80;i[f+10>>0]=0;i[f+10+1>>0]=0;i[f+10+2>>0]=0;i[f+10+3>>0]=0;i[f+14>>0]=i[1274943]|0;i[f+15>>0]=0;DOa(c,f);f=l[Pb+424>>0]|l[Pb+424+1>>0]<<8|l[Pb+424+2>>0]<<16|l[Pb+424+3>>0]<<24;g=l[Pb+20>>0]|l[Pb+20+1>>0]<<8|l[Pb+20+2>>0]<<16|l[Pb+20+3>>0]<<24;e=l[Pb+8>>0]|l[Pb+8+1>>0]<<8|l[Pb+8+2>>0]<<16|l[Pb+8+3>>0]<<24;do if(!e){d=0;b=0}else{c=l[e+4>>0]|l[e+4+1>>0]<<8|l[e+4+2>>0]<<16|l[e+4+3>>0]<<24;if(!c)b=0;else{b=0;do{d=c+4|0;d=l[d>>0]|l[d+1>>0]<<8|l[d+2>>0]<<16|l[d+3>>0]<<24;if(d>>>0>f>>>0)break;do if((i[c+8>>0]|0)==1){if((i[c+9>>0]|0)!=80)break;d=d+b|0;if(!((d>>>0)%((g*12288|0)>>>0)|0))break;b=b+(g*12288|0)-(((d+(g*12288|0)|0)>>>0)%((g*12288|0)>>>0)|0)|0}while(0);c=l[c>>0]|l[c+1>>0]<<8|l[c+2>>0]<<16|l[c+3>>0]<<24}while((c|0)!=0);b=((((b+f|0)>>>0)/192|0)>>>6>>>0)/(g>>>0)|0;if(!e){d=0;break}}d=l[e+4>>0]|l[e+4+1>>0]<<8|l[e+4+2>>0]<<16|l[e+4+3>>0]<<24;if(!d)d=0;else{c=0;do{e=d+4|0;e=l[e>>0]|l[e+1>>0]<<8|l[e+2>>0]<<16|l[e+3>>0]<<24;if(e>>>0>f>>>0)break;do if((i[d+8>>0]|0)==1){if((i[d+9>>0]|0)!=80)break;e=e+c|0;if(!((e>>>0)%((g*12288|0)>>>0)|0))break;c=c+(g*12288|0)-(((e+(g*12288|0)|0)>>>0)%((g*12288|0)>>>0)|0)|0}while(0);d=l[d>>0]|l[d+1>>0]<<8|l[d+2>>0]<<16|l[d+3>>0]<<24}while((d|0)!=0);d=c+f|0}}while(0);c=i[1274943]|0;b=(((d>>>0)%((g*12288|0)>>>0)|0|0)!=0&1)+b&255;f:do if(c<<24>>24==32){i[(a+678+53|0)>>0]=b;b=k[a+652>>2]|0;if(!b)Mb=1167;else{c=0;do{if((l[a+678+(c<<1)>>0]|0)<(l[a+678+(c<<1)+1>>0]|0)){Jb=b;Mb=1166;break f}c=c+1|0}while(c>>>0<26);if((c|0)!=26){Jb=b;Mb=1166;break}if(((Fnb(b)|0)+27|0)>>>0<=255){k[a+328>>2]=b;Fmb(a+784|0,523946,a+328|0)|0;k[a+336>>2]=a+784;Cob(Ib,522043,a+336|0)|0;b=k[a+652>>2]|0}if(b|0)iqb(b);k[a+652>>2]=0;Mb=1167}}else{i[a+678+((c<<24>>24)+-65<<1)+1>>0]=b;Jb=k[a+652>>2]|0;Mb=1166}while(0);if((Mb|0)==1166)if(!Jb)Mb=1167;else Kb=Jb;if((Mb|0)==1167){KOa(Pb,a+652|0,a+678|0);Kb=k[a+652>>2]|0}q=LOa(a+678|0,Kb,a+648|0,h)|0;b=l[Pb+8>>0]|l[Pb+8+1>>0]<<8|l[Pb+8+2>>0]<<16|l[Pb+8+3>>0]<<24}else q=h;if(!b)Mb=1220;else{p=0;n=b;g:while(1){h=n+4|0;b=l[h>>0]|l[h+1>>0]<<8|l[h+2>>0]<<16|l[h+3>>0]<<24;if(!b)Mb=1188;else{j=n+8|0;m=0;e=-3;g=0;while(1){c=b+4|0;f=m;m=l[c>>0]|l[c+1>>0]<<8|l[c+2>>0]<<16|l[c+3>>0]<<24;d=m<<3|4;i[c>>0]=d;i[c+1>>0]=d>>8;i[c+2>>0]=d>>16;i[c+3>>0]=d>>24;h:do if((i[b+8>>0]|0)==1){d=d+e|0;i[c>>0]=d;i[c+1>>0]=d>>8;i[c+2>>0]=d>>16;i[c+3>>0]=d>>24;d=e+1|0;d=(d|0)==0?-1:d;d=(d|0)==4?3:d;c=b+9|0;if((n|0)==(l[Pb+8>>0]|l[Pb+8+1>>0]<<8|l[Pb+8+2>>0]<<16|l[Pb+8+3>>0]<<24|0))c=i[c>>0]|0;else{i[c>>0]=72;c=72}switch(c&255|0){case 83:case 72:break;default:{c=d;d=b;break h}}c=l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24;if(!g){i[h>>0]=c;i[h+1>>0]=c>>8;i[h+2>>0]=c>>16;i[h+3>>0]=c>>24;if(!c){i[j>>0]=0;i[j+1>>0]=0;i[j+2>>0]=0;i[j+3>>0]=0}iqb(b);c=d;d=0;b=h;break}else{i[g>>0]=c;i[g+1>>0]=c>>8;i[g+2>>0]=c>>16;i[g+3>>0]=c>>24;if(!c){i[j>>0]=g;i[j+1>>0]=g>>8;i[j+2>>0]=g>>16;i[j+3>>0]=g>>24}iqb(b);c=d;d=g;b=g;break}}else{c=1;d=b}while(0);e=m>>>0>f>>>0?-3:c;b=l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24;if(!b)break;else g=d}if(!(l[h>>0]|l[h+1>>0]<<8|l[h+2>>0]<<16|l[h+3>>0]<<24))Mb=1188;else Lb=n}do if((Mb|0)==1188){Mb=0;b=l[n>>0]|l[n+1>>0]<<8|l[n+2>>0]<<16|l[n+3>>0]<<24;if(p|0){i[p>>0]=b;i[p+1>>0]=b>>8;i[p+2>>0]=b>>16;i[p+3>>0]=b>>24;iqb(n);Lb=p;break}if(!b)break g;i[Pb+8>>0]=b;i[Pb+8+1>>0]=b>>8;i[Pb+8+2>>0]=b>>16;i[Pb+8+3>>0]=b>>24;iqb(n);Lb=l[Pb+8>>0]|l[Pb+8+1>>0]<<8|l[Pb+8+2>>0]<<16|l[Pb+8+3>>0]<<24}while(0);n=l[Lb>>0]|l[Lb+1>>0]<<8|l[Lb+2>>0]<<16|l[Lb+3>>0]<<24;if(!n)break;else p=Lb}j=l[Pb+8>>0]|l[Pb+8+1>>0]<<8|l[Pb+8+2>>0]<<16|l[Pb+8+3>>0]<<24;b=l[j>>0]|l[j+1>>0]<<8|l[j+2>>0]<<16|l[j+3>>0]<<24;if(!b)b=j;else{do{c=l[j+4>>0]|l[j+4+1>>0]<<8|l[j+4+2>>0]<<16|l[j+4+3>>0]<<24;if(c|0){h=b+4|0;do{d=c+8|0;i:do if((i[d>>0]|0)==1){e=c+9|0;switch(l[e>>0]|0){case 83:case 84:case 72:case 67:break i;default:{}}g=jqb(1,16)|0;i[g>>0]=0;i[g+1>>0]=0;i[g+2>>0]=0;i[g+3>>0]=0;f=c+4|0;Lb=l[f>>0]|l[f+1>>0]<<8|l[f+2>>0]<<16|l[f+3>>0]<<24;i[g+4>>0]=Lb;i[g+4+1>>0]=Lb>>8;i[g+4+2>>0]=Lb>>16;i[g+4+3>>0]=Lb>>24;i[g+8>>0]=i[d>>0]|0;i[g+9>>0]=i[e>>0]|0;e=c+10|0;e=l[e>>0]|l[e+1>>0]<<8|l[e+2>>0]<<16|l[e+3>>0]<<24;i[g+10>>0]=e;i[g+10+1>>0]=e>>8;i[g+10+2>>0]=e>>16;i[g+10+3>>0]=e>>24;i[g+14>>0]=i[c+14>>0]|0;f=l[f>>0]|l[f+1>>0]<<8|l[f+2>>0]<<16|l[f+3>>0]<<24;e=l[h>>0]|l[h+1>>0]<<8|l[h+2>>0]<<16|l[h+3>>0]<<24;do if(!e)d=0;else{d=e;while(1){Lb=e+4|0;if((l[Lb>>0]|l[Lb+1>>0]<<8|l[Lb+2>>0]<<16|l[Lb+3>>0]<<24)>>>0>f>>>0)break;d=l[e>>0]|l[e+1>>0]<<8|l[e+2>>0]<<16|l[e+3>>0]<<24;if(!d){d=e;break}else{Lb=e;e=d;d=Lb}}Lb=d+4|0;if((l[Lb>>0]|l[Lb+1>>0]<<8|l[Lb+2>>0]<<16|l[Lb+3>>0]<<24)>>>0>f>>>0)break;Lb=l[d>>0]|l[d+1>>0]<<8|l[d+2>>0]<<16|l[d+3>>0]<<24;i[g>>0]=Lb;i[g+1>>0]=Lb>>8;i[g+2>>0]=Lb>>16;i[g+3>>0]=Lb>>24;i[d>>0]=g;i[d+1>>0]=g>>8;i[d+2>>0]=g>>16;i[d+3>>0]=g>>24;break i}while(0);i[g>>0]=d;i[g+1>>0]=d>>8;i[g+2>>0]=d>>16;i[g+3>>0]=d>>24;i[h>>0]=g;i[h+1>>0]=g>>8;i[h+2>>0]=g>>16;i[h+3>>0]=g>>24}while(0);c=l[c>>0]|l[c+1>>0]<<8|l[c+2>>0]<<16|l[c+3>>0]<<24}while((c|0)!=0)}b=l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24}while((b|0)!=0);b=l[Pb+8>>0]|l[Pb+8+1>>0]<<8|l[Pb+8+2>>0]<<16|l[Pb+8+3>>0]<<24}g=l[Pb+20>>0]|l[Pb+20+1>>0]<<8|l[Pb+20+2>>0]<<16|l[Pb+20+3>>0]<<24;if(!b)Mb=1220;else{h=ha(g,-192)|0;do{e=b+4|0;c=l[e>>0]|l[e+1>>0]<<8|l[e+2>>0]<<16|l[e+3>>0]<<24;do if(c|0){d=0;do{Lb=c+4|0;Kb=d;d=(l[Lb>>0]|l[Lb+1>>0]<<8|l[Lb+2>>0]<<16|l[Lb+3>>0]<<24)>>>3;Kb=d-Kb|0;i[Lb>>0]=Kb;i[Lb+1>>0]=Kb>>8;i[Lb+2>>0]=Kb>>16;i[Lb+3>>0]=Kb>>24;c=l[c>>0]|l[c+1>>0]<<8|l[c+2>>0]<<16|l[c+3>>0]<<24}while((c|0)!=0);c=l[e>>0]|l[e+1>>0]<<8|l[e+2>>0]<<16|l[e+3>>0]<<24;if(!c)break;else d=0;do{f=c+4|0;d=(l[f>>0]|l[f+1>>0]<<8|l[f+2>>0]<<16|l[f+3>>0]<<24)+d|0;i[f>>0]=d;i[f+1>>0]=d>>8;i[f+2>>0]=d>>16;i[f+3>>0]=d>>24;do if((i[c+8>>0]|0)==1){e=c+9|0;if((i[e>>0]|0)!=80)break;if(!((d>>>0)%((g*12288|0)>>>0)|0)){i[e>>0]=72;break}else{i[f>>0]=d+h;i[f+1>>0]=d+h>>8;i[f+2>>0]=d+h>>16;i[f+3>>0]=d+h>>24;d=d+(g*12288|0)-(((d+(g*12288|0)|0)>>>0)%((g*12288|0)>>>0)|0)|0;break}}while(0);c=l[c>>0]|l[c+1>>0]<<8|l[c+2>>0]<<16|l[c+3>>0]<<24}while((c|0)!=0)}while(0);b=l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24}while((b|0)!=0);b=l[Pb+8>>0]|l[Pb+8+1>>0]<<8|l[Pb+8+2>>0]<<16|l[Pb+8+3>>0]<<24;i[Pb+424>>0]=0;i[Pb+424+1>>0]=0;i[Pb+424+2>>0]=0;i[Pb+424+3>>0]=0;if(b|0){c=0;d=b;while(1){b=d+8|0;b=l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24;do if(!b)b=c;else{b=l[b+4>>0]|l[b+4+1>>0]<<8|l[b+4+2>>0]<<16|l[b+4+3>>0]<<24;if(b>>>0<=c>>>0){b=c;break}i[Pb+424>>0]=b;i[Pb+424+1>>0]=b>>8;i[Pb+424+2>>0]=b>>16;i[Pb+424+3>>0]=b>>24}while(0);d=l[d>>0]|l[d+1>>0]<<8|l[d+2>>0]<<16|l[d+3>>0]<<24;if(!d)break;else c=b}}}}if((Mb|0)==1220){i[Pb+424>>0]=0;i[Pb+424+1>>0]=0;i[Pb+424+2>>0]=0;i[Pb+424+3>>0]=0}p=If(524917)|0;if(p|0){k[a+344>>2]=k[a+652>>2];Jpb(524934,a+344|0)|0;b=0;do{if((l[a+678+(b<<1)+1>>0]|0)>=(l[a+678+(b<<1)>>0]|0)){k[a+352>>2]=b+65;Jpb(524940,a+352|0)|0}b=b+1|0}while((b|0)!=26);if((l[(a+678+53|0)>>0]|0)>=(l[(a+678+52|0)>>0]|0))Jpb(524946,a+360|0)|0;Kpb(10)|0;c=0;do{b=i[a+678+(c<<1)>>0]|0;if((l[a+678+(c<<1)+1>>0]|0)>=(b&255)){k[a+368>>2]=b&255;Jpb(524950,a+368|0)|0}c=c+1|0}while((c|0)!=27);Kpb(10)|0;c=0;do{b=i[a+678+(c<<1)+1>>0]|0;if((b&255)>=(l[a+678+(c<<1)>>0]|0)){k[a+376>>2]=b&255;Jpb(524950,a+376|0)|0}c=c+1|0}while((c|0)!=27);Kpb(10)|0;b=(q|0)>0;do if(b){c=0;do{k[a+384>>2]=c;Jpb(524950,a+384|0)|0;c=c+1|0}while((c|0)!=(q|0));Kpb(10)|0;if(!b)break;b=k[a+648>>2]|0;c=0;do{k[a+392>>2]=l[b+c>>0];Jpb(524950,a+392|0)|0;c=c+1|0}while((c|0)!=(q|0))}else Kpb(10)|0;while(0);Kpb(10)|0;b=l[Pb+8>>0]|l[Pb+8+1>>0]<<8|l[Pb+8+2>>0]<<16|l[Pb+8+3>>0]<<24;if(b|0)do{j=b+36|0;m=b+37|0;Lb=l[m>>0]|0;c=l[b+40>>0]|0;n=b+44|0;k[a+400>>2]=l[j>>0];k[a+400+4>>2]=Lb;k[a+400+8>>2]=c;k[a+400+12>>2]=n;Jpb(524955,a+400|0)|0;c=b+4|0;c=l[c>>0]|l[c+1>>0]<<8|l[c+2>>0]<<16|l[c+3>>0]<<24;if(c|0){d=(Wmb(p,524979)|0)!=0&1;do{e=c+4|0;e=l[e>>0]|l[e+1>>0]<<8|l[e+2>>0]<<16|l[e+3>>0]<<24;f=l[Pb+20>>0]|l[Pb+20+1>>0]<<8|l[Pb+20+2>>0]<<16|l[Pb+20+3>>0]<<24;g=(e>>>0)%((f*12288|0)>>>0)|0|0?32:45;i[a+344>>0]=g;h=c+8|0;do if((i[h>>0]|0)==1){Kb=l[c+14>>0]|0;Lb=l[j>>0]|0;d=l[m>>0]|0;k[a+416>>2]=(((e>>>0)/192|0|0)/(f|0)|0|0)/64|0;k[a+416+4>>2]=(((e>>>0)/192|0|0)/(f|0)|0|0)%64|0;k[a+416+8>>2]=((e>>>0)/192|0|0)%(f|0)|0;k[a+416+12>>2]=g&255;k[a+416+16>>2]=Kb;k[a+416+20>>2]=Lb;k[a+416+24>>2]=d;k[a+416+28>>2]=n;Jpb(524987,a+416|0)|0;e=c+9|0;d=i[e>>0]|0;if(d<<24>>24==67){f=c+11|0;i[a+344>>0]=i[525015+(l[f>>0]|0)>>0]|0;Lb=i[525042+(l[f>>0]|0)>>0]|0;i[a+344+1>>0]=Lb;i[a+344+2>>0]=0;if(qmb(Lb<<24>>24)|0)i[a+344+1>>0]=0;d=1274303+(l[c+10>>0]<<3)|0;k[a+448>>2]=i[e>>0];k[a+448+4>>2]=a+344;k[a+448+8>>2]=d;Jpb(525069,a+448|0)|0;d=c+12|0;e=i[d>>0]|0;if(e<<24>>24!=(i[f>>0]|0)){i[a+344>>0]=i[525015+(e&255)>>0]|0;i[a+344+1>>0]=i[525042+(l[d>>0]|0)>>0]|0;i[a+344+2>>0]=0;k[a+464>>2]=a+344;Jpb(525089,a+464|0)|0}Kpb(10)|0}else{Lb=c+10|0;Lb=l[Lb>>0]|l[Lb+1>>0]<<8|l[Lb+2>>0]<<16|l[Lb+3>>0]<<24;k[a+472>>2]=d<<24>>24;k[a+472+4>>2]=c;k[a+472+8>>2]=Lb;Jpb(525093,a+472|0)|0}d=(Wmb(p,524979)|0)!=0&1}else{if(!d){d=0;break}Jb=l[c+14>>0]|0;Kb=l[j>>0]|0;Lb=l[m>>0]|0;k[a+488>>2]=(((e>>>0)/192|0|0)/(f|0)|0|0)/64|0;k[a+488+4>>2]=(((e>>>0)/192|0|0)/(f|0)|0|0)%64|0;k[a+488+8>>2]=((e>>>0)/192|0|0)%(f|0)|0;k[a+488+12>>2]=g&255;k[a+488+16>>2]=Jb;k[a+488+20>>2]=Kb;k[a+488+24>>2]=Lb;k[a+488+28>>2]=n;Jpb(524987,a+488|0)|0;e=i[h>>0]|0;if(!(e<<24>>24)){i[a+344>>0]=i[525113]|0;i[a+344+1>>0]=i[525114]|0;i[a+344+2>>0]=i[525115]|0}else{i[a+344>>0]=i[525015+((e&255)+-23)>>0]|0;i[a+344+1>>0]=i[525042+((l[h>>0]|0)+-23)>>0]|0;i[a+344+2>>0]=0}Jb=l[c+9>>0]|0;Kb=WOa(VOa(l[c+10>>0]|0)|0)|0;Lb=l[c+11>>0]|0;k[a+520>>2]=a+344;k[a+520+4>>2]=Jb;k[a+520+8>>2]=Kb;k[a+520+12>>2]=Lb;Jpb(525130,a+520|0)|0;Lb=(Wmb(p,525166)|0)==0;d=Lb?d:0}while(0);c=l[c>>0]|l[c+1>>0]<<8|l[c+2>>0]<<16|l[c+3>>0]<<24}while((c|0)!=0)}b=l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24}while((b|0)!=0)}if(!(k[Ob+59652>>2]|0))k[Ob+59652>>2]=(s|0)==0?240:s;k[Ob+59680>>2]=16777216;c=l[Pb+20>>0]|l[Pb+20+1>>0]<<8|l[Pb+20+2>>0]<<16|l[Pb+20+3>>0]<<24;e=(((((l[Pb+424>>0]|l[Pb+424+1>>0]<<8|l[Pb+424+2>>0]<<16|l[Pb+424+3>>0]<<24)>>>0)/192|0)>>>0)/(c>>>0)|0)>>>6;f=(e+1|0)>>>0>240?240:e+1|0;k[Ob+59648>>2]=c;c=l[Pb+8>>0]|l[Pb+8+1>>0]<<8|l[Pb+8+2>>0]<<16|l[Pb+8+3>>0]<<24;if(!c)b=0;else{b=0;do{b=b+1|0;c=l[c>>0]|l[c+1>>0]<<8|l[c+2>>0]<<16|l[c+3>>0]<<24}while((c|0)!=0)}k[Ob+59664>>2]=b;k[Ob+59660>>2]=16;k[Ob+59764>>2]=112;k[Ob+59768>>2]=13696;d=k[a+648>>2]|0;if(q|0){b=(0-q|0)>>>0>4294967040?q:256;c=0;do{i[Ob+53344+c>>0]=i[d+c>>0]|0;c=c+1|0}while((c|0)!=(b|0))}iqb(d);if(XOa(Ob+51904|0,Ob+52864|0,Pb,f,k[Ob+59664>>2]|0)|0){k[Ob+59664>>2]=(k[Ob+59664>>2]|0)+1;b=BOa(Pb,1279174,99)|0;i[Pb+412>>0]=b;i[Pb+412+1>>0]=b>>8;i[Pb+412+2>>0]=b>>16;i[Pb+412+3>>0]=b>>24;c=l[Pb+424>>0]|l[Pb+424+1>>0]<<8|l[Pb+424+2>>0]<<16|l[Pb+424+3>>0]<<24;d=l[b+8>>0]|l[b+8+1>>0]<<8|l[b+8+2>>0]<<16|l[b+8+3>>0]<<24;do if(!d)Mb=1281;else{if((l[d+4>>0]|l[d+4+1>>0]<<8|l[d+4+2>>0]<<16|l[d+4+3>>0]<<24|0)==(c|0))break;if((i[d+8>>0]|0)!=1){Mb=1281;break}if((i[d+9>>0]|0)!=83){Mb=1281;break}i[d+4>>0]=c;i[d+4+1>>0]=c>>8;i[d+4+2>>0]=c>>16;i[d+4+3>>0]=c>>24}while(0);if((Mb|0)==1281){Lb=jqb(1,16)|0;i[Lb>>0]=0;i[Lb+1>>0]=0;i[Lb+2>>0]=0;i[Lb+3>>0]=0;i[Lb+4>>0]=c;i[Lb+4+1>>0]=c>>8;i[Lb+4+2>>0]=c>>16;i[Lb+4+3>>0]=c>>24;i[Lb+8>>0]=1;i[Lb+9>>0]=83;i[Lb+10>>0]=0;i[Lb+10+1>>0]=0;i[Lb+10+2>>0]=0;i[Lb+10+3>>0]=0;i[Lb+14>>0]=i[1274943]|0;i[Lb+15>>0]=0;DOa(b,Lb)}b=(-2-e^-16)>>>0<240?e+1|0:240;c=0;do{Lb=Ob+51904+(c<<2)|0;ZOa(k[Lb>>2]|0);k[Lb>>2]=0;c=c+1|0}while((c|0)!=(b|0));XOa(Ob+51904|0,Ob+52864|0,Pb,f,k[Ob+59664>>2]|0)|0}if(!(_Oa(Ob)|0)){k[298897]=0;b=0;r=a;k[a+16112>>2]=6;k[a+16116>>2]=b|0;break a}b=k[Ob+59664>>2]|0;if(b>>>0>64){k[Ob+59664>>2]=64;Nb=0;Mb=1290}else if(b|0){Nb=0;Mb=1290}if((Mb|0)==1290)do{Mb=0;k[Ob+49600+(Nb*36|0)>>2]=((((Nb+2|0)>>>0)%5|0)<<5)+48;k[Ob+49600+(Nb*36|0)+4>>2]=64;Nb=Nb+1|0}while(Nb>>>0<(k[Ob+59664>>2]|0)>>>0);k[298897]=0;b=k[a+652>>2]|0;if(b|0)iqb(b);k[a+652>>2]=0;UOa(Pb);b=l[Pb+8>>0]|l[Pb+8+1>>0]<<8|l[Pb+8+2>>0]<<16|l[Pb+8+3>>0]<<24;if(b|0)do{d=b;b=l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24;c=l[d+4>>0]|l[d+4+1>>0]<<8|l[d+4+2>>0]<<16|l[d+4+3>>0]<<24;if(c|0)do{Ob=c;c=l[c>>0]|l[c+1>>0]<<8|l[c+2>>0]<<16|l[c+3>>0]<<24;iqb(Ob)}while((c|0)!=0);i[d+4>>0]=0;i[d+4+1>>0]=0;i[d+4+2>>0]=0;i[d+4+3>>0]=0}while((b|0)!=0);i[Pb+8>>0]=0;i[Pb+8+1>>0]=0;i[Pb+8+2>>0]=0;i[Pb+8+3>>0]=0;b=l[Pb+24>>0]|l[Pb+24+1>>0]<<8|l[Pb+24+2>>0]<<16|l[Pb+24+3>>0]<<24;if(b|0)iqb(b);b=l[Pb+28>>0]|l[Pb+28+1>>0]<<8|l[Pb+28+2>>0]<<16|l[Pb+28+3>>0]<<24;if(b|0)iqb(b);iqb(Pb);b=1;r=a;k[a+16112>>2]=6;k[a+16116>>2]=b|0;break a}k[a+1360>>2]=b;k[a+9672>>2]=Qb;k[a+9680>>2]=Rb;k[a+9688>>2]=Sb;k[a+9696>>2]=Tb;k[a+11080>>2]=Ub;k[a+11152>>2]=Vb;k[a+11232>>2]=Wb;k[a+11304>>2]=Xb;k[a+11352>>2]=Yb;k[a+11480>>2]=Zb;k[a+11536>>2]=_b;k[a+11616>>2]=$b;k[a+11768>>2]=ac;k[a+11912>>2]=bc;k[a+11992>>2]=cc;k[a+12088>>2]=dc;k[a+12192>>2]=ec;k[a+12272>>2]=fc;k[a+12328>>2]=gc;k[a+12400>>2]=hc;k[a+12504>>2]=ic;k[a+12536>>2]=jc;k[a+12616>>2]=kc;k[a+14128>>2]=lc;k[a+14184>>2]=mc;k[a+14352>>2]=nc;k[a+15696>>2]=oc;k[a+15952>>2]=pc;k[a+15968>>2]=qc;k[a+16016>>2]=Mb}function pQa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0;x=k[a+1296>>2]|0;F=k[a+1440>>2]|0;G=k[a+1448>>2]|0;y=k[a+1504>>2]|0;H=k[a+1520>>2]|0;I=k[a+2208>>2]|0;J=k[a+2216>>2]|0;K=k[a+2224>>2]|0;L=k[a+2464>>2]|0;N=k[a+3896>>2]|0;f=k[a+3960>>2]|0;O=k[a+4256>>2]|0;Q=k[a+4384>>2]|0;R=k[a+4392>>2]|0;T=k[a+4416>>2]|0;V=k[a+4456>>2]|0;X=k[a+4640>>2]|0;Y=k[a+4648>>2]|0;_=k[a+4688>>2]|0;aa=k[a+4720>>2]|0;ba=k[a+4728>>2]|0;da=k[a+4760>>2]|0;ea=k[a+4768>>2]|0;C=k[a+4824>>2]|0;g=k[a+5408>>2]|0;a:{while(1){E=i[J+K>>0]|0;c=K+1|0;k[y>>2]=c;b=O+1|0;B=E&127|N<<7;if((b|0)<4&(E&128|0)!=0){K=c;N=B;O=b}else{d=K;break}}k[L+56>>2]=B;b=V-b|0;c=i[J+c>>0]|0;k[y>>2]=d+2;b:do if(!(c&128)){e=d+2|0;D=c;b=b+-1|0;E=ea}else{switch(c&255|0){case 254:case 253:case 252:case 251:case 250:case 249:case 248:case 247:case 246:case 245:case 244:case 241:{e=d+2|0;D=c;b=b+-1|0;E=c;break b}default:{}}D=i[J+(d+2)>>0]|0;k[y>>2]=d+3;e=d+3|0;b=b+-2|0;E=c}while(0);z=ha(B,f)|0;z=(k[L+12>>2]|0)+z|0;k[L+12>>2]=z;A=E&255;c:{v=1;w=A&240|0;if(v){v=0;switch(w|0){case 128:{r=i[J+e>>0]|0;k[y>>2]=e+1;t=b+-1|0;s=D&255;c=k[L+4>>2]|0;d:do if(c|0){q=z;while(1){p=c+12|0;d=k[p>>2]|0;e:do if(d|0){if((k[d+4>>2]|0)>>>0>q>>>0){d=k[c+4>>2]|0;if(!d)break}j=c+27|0;m=c+25|0;n=c+26|0;o=c+20|0;do{g=d+4|0;if((k[g>>2]|0)>>>0>q>>>0)break e;k[p>>2]=d;if(i[d+8>>0]|0){h=d+10|0;if(!(i[h>>0]|0))f=-1;else f=i[d+9>>0]|0;i[m>>0]=f;i[n>>0]=i[h>>0]|0;k[o>>2]=k[g>>2]}if((i[d+12>>0]|0)==8)i[j>>0]=i[d+13>>0]|0;d=k[d>>2]|0}while((d|0)!=0)}while(0);if((l[c+24>>0]|0)==(A&15|0)){d=c+25|0;if((i[d>>0]|0)==D<<24>>24)break}c=k[c>>2]|0;if(!c)break d;q=k[L+12>>2]|0}u=jqb(1,16)|0;k[u>>2]=0;k[u+4>>2]=k[L+12>>2];i[u+8>>0]=0;i[u+8+1>>0]=0;i[u+8+2>>0]=0;i[u+8+3>>0]=0;i[u+8+4>>0]=0;i[u+8+5>>0]=0;i[u+8>>0]=1;i[u+9>>0]=i[d>>0]|0;i[u+11>>0]=i[c+27>>0]|0;gPa(c,u)}while(0);if(!(k[L+16>>2]|0)){n=D;m=R;j=Y;h=ba;g=248;break c}n=k[L+12>>2]|0;k[a+48>>2]=C;k[a+48+4>>2]=n;k[a+48+8>>2]=(A&15)+1;k[a+48+12>>2]=s;k[a+48+16>>2]=r&255;Jpb(525487,a+48|0)|0;n=D;m=R;j=Y;h=ba;g=248;break}case 144:{c=i[J+e>>0]|0;k[y>>2]=e+1;t=b+-1|0;r=D&255;if(c<<24>>24){z=hPa(L,A&15,r)|0;B=jqb(1,16)|0;k[B>>2]=0;k[B+4>>2]=k[L+12>>2];i[B+8>>0]=0;i[B+8+1>>0]=0;i[B+8+2>>0]=0;i[B+8+3>>0]=0;i[B+8+4>>0]=0;i[B+8+5>>0]=0;i[B+8>>0]=1;i[B+9>>0]=D;i[B+11>>0]=i[z+27>>0]|0;i[B+10>>0]=c;gPa(z,B);if(!(k[L+16>>2]|0)){n=D;m=R;j=Y;h=ba;g=248;break c}n=k[L+12>>2]|0;k[a+72>>2]=C;k[a+72+4>>2]=n;k[a+72+8>>2]=(A&15)+1;k[a+72+12>>2]=r;k[a+72+16>>2]=c&255;Jpb(525534,a+72|0)|0;n=D;m=R;j=Y;h=ba;g=248;break c}c=k[L+4>>2]|0;f:do if(c|0){q=z;while(1){p=c+12|0;d=k[p>>2]|0;g:do if(d|0){if((k[d+4>>2]|0)>>>0>q>>>0){d=k[c+4>>2]|0;if(!d)break}j=c+27|0;m=c+25|0;n=c+26|0;o=c+20|0;do{g=d+4|0;if((k[g>>2]|0)>>>0>q>>>0)break g;k[p>>2]=d;if(i[d+8>>0]|0){h=d+10|0;if(!(i[h>>0]|0))f=-1;else f=i[d+9>>0]|0;i[m>>0]=f;i[n>>0]=i[h>>0]|0;k[o>>2]=k[g>>2]}if((i[d+12>>0]|0)==8)i[j>>0]=i[d+13>>0]|0;d=k[d>>2]|0}while((d|0)!=0)}while(0);if((l[c+24>>0]|0)==(A&15|0)){d=c+25|0;if((i[d>>0]|0)==D<<24>>24)break}c=k[c>>2]|0;if(!c)break f;q=k[L+12>>2]|0}u=jqb(1,16)|0;k[u>>2]=0;k[u+4>>2]=k[L+12>>2];i[u+8>>0]=0;i[u+8+1>>0]=0;i[u+8+2>>0]=0;i[u+8+3>>0]=0;i[u+8+4>>0]=0;i[u+8+5>>0]=0;i[u+8>>0]=1;i[u+9>>0]=i[d>>0]|0;i[u+11>>0]=i[c+27>>0]|0;gPa(c,u)}while(0);if(!(k[L+16>>2]|0)){n=D;m=R;j=Y;h=ba;g=248;break c}n=k[L+12>>2]|0;k[a+96>>2]=C;k[a+96+4>>2]=n;k[a+96+8>>2]=(A&15)+1;k[a+96+12>>2]=r;Jpb(525575,a+96|0)|0;n=D;m=R;j=Y;h=ba;g=248;break}case 160:{c=i[J+e>>0]|0;k[y>>2]=e+1;d=b+-1|0;if(!(k[L+16>>2]|0)){n=D;m=R;t=d;j=Y;h=ba;g=248;break c}k[a+112>>2]=C;k[a+112+4>>2]=z;k[a+112+8>>2]=(A&15)+1;k[a+112+12>>2]=D&255;k[a+112+16>>2]=c&255;Jpb(525609,a+112|0)|0;n=D;m=R;t=d;j=Y;h=ba;g=248;break}default:v=1}}if(v){v=0;switch(w|0){case 176:{s=i[J+e>>0]|0;k[y>>2]=e+1;t=b+-1|0;u=D&255;h:do switch(u|0){case 1:{c=k[L+4>>2]|0;if(!c){c=Y;d=ba;break h}if(!(s<<24>>24))while(1){do if((l[c+24>>0]|0)==(A&15|0)){p=k[L+12>>2]|0;q=c+12|0;d=k[q>>2]|0;i:do if(d|0){if((k[d+4>>2]|0)>>>0>p>>>0){d=k[c+4>>2]|0;if(!d)break}j=c+27|0;m=c+25|0;n=c+26|0;o=c+20|0;do{g=d+4|0;if((k[g>>2]|0)>>>0>p>>>0)break i;k[q>>2]=d;if(i[d+8>>0]|0){h=d+10|0;if(!(i[h>>0]|0))f=-1;else f=i[d+9>>0]|0;i[m>>0]=f;i[n>>0]=i[h>>0]|0;k[o>>2]=k[g>>2]}if((i[d+12>>0]|0)==8)i[j>>0]=i[d+13>>0]|0;d=k[d>>2]|0}while((d|0)!=0)}while(0);if((i[c+25>>0]|0)==-1)break;r=jqb(1,16)|0;k[r>>2]=0;k[r+4>>2]=k[L+12>>2];i[r+8>>0]=0;i[r+8+1>>0]=0;i[r+8+2>>0]=0;i[r+8+3>>0]=0;i[r+12>>0]=6;i[r+13>>0]=0;gPa(c,r)}while(0);c=k[c>>2]|0;if(!c){c=Y;d=ba;break h}}r=(s&255)>63?((128-(s&255)+3|0)>>>0<7?-15:((128-(s&255)|0)/4|0|240)&255):((s&255)+3|0)>>>0<7?31:(((s&255)>>>2&255)<<4|15)&255;while(1){do if((l[c+24>>0]|0)==(A&15|0)){p=k[L+12>>2]|0;q=c+12|0;d=k[q>>2]|0;j:do if(d|0){if((k[d+4>>2]|0)>>>0>p>>>0){d=k[c+4>>2]|0;if(!d)break}j=c+27|0;m=c+25|0;n=c+26|0;o=c+20|0;do{g=d+4|0;if((k[g>>2]|0)>>>0>p>>>0)break j;k[q>>2]=d;if(i[d+8>>0]|0){h=d+10|0;if(!(i[h>>0]|0))f=-1;else f=i[d+9>>0]|0;i[m>>0]=f;i[n>>0]=i[h>>0]|0;k[o>>2]=k[g>>2]}if((i[d+12>>0]|0)==8)i[j>>0]=i[d+13>>0]|0;d=k[d>>2]|0}while((d|0)!=0)}while(0);if((i[c+25>>0]|0)==-1)break;q=jqb(1,16)|0;k[q>>2]=0;k[q+4>>2]=k[L+12>>2];i[q+8>>0]=0;i[q+8+1>>0]=0;i[q+8+2>>0]=0;i[q+8+3>>0]=0;i[q+8+4>>0]=0;i[q+12>>0]=6;i[q+13>>0]=r;gPa(c,q)}while(0);c=k[c>>2]|0;if(!c){c=Y;d=ba;break}}break}case 7:{c=k[L+4>>2]|0;if(!c){c=Y;d=ba;break h}do{if((l[c+24>>0]|0)==(A&15|0)){r=jqb(1,16)|0;k[r>>2]=0;k[r+4>>2]=k[L+12>>2];i[r+8>>0]=0;i[r+8+1>>0]=0;i[r+8+2>>0]=0;i[r+8+3>>0]=0;i[r+12>>0]=7;i[r+13>>0]=s;gPa(c,r)}c=k[c>>2]|0}while((c|0)!=0);c=Y;d=ba;break}case 10:{g=(s&255|0)<(ba|0)?s&255:ba;f=(s&255|0)>(Y|0)?s&255:Y;d=k[L+4>>2]|0;if(d|0){c=0;do{if((l[d+24>>0]|0)==(A&15|0)){k[d+16>>2]=s&255;c=c+1|0}d=k[d>>2]|0}while((d|0)!=0);if(c|0){c=f;d=g;break h}}c=(hPa(L,A&15,255)|0)+16|0;k[c>>2]=s&255;c=f;d=g;break}case 123:{if(s<<24>>24){c=Y;d=ba;break h}if(k[L+16>>2]|0){k[a+136>>2]=z;k[a+136+4>>2]=(A&15)+1;Jpb(525665,a+136|0)|0}c=k[L+4>>2]|0;if(!c){c=Y;d=ba;break h}while(1){do if((l[c+24>>0]|0)==(A&15|0)){p=k[L+12>>2]|0;q=c+12|0;d=k[q>>2]|0;k:do if(d|0){if((k[d+4>>2]|0)>>>0>p>>>0){d=k[c+4>>2]|0;if(!d)break}j=c+27|0;m=c+25|0;n=c+26|0;o=c+20|0;do{g=d+4|0;if((k[g>>2]|0)>>>0>p>>>0)break k;k[q>>2]=d;if(i[d+8>>0]|0){h=d+10|0;if(!(i[h>>0]|0))f=-1;else f=i[d+9>>0]|0;i[m>>0]=f;i[n>>0]=i[h>>0]|0;k[o>>2]=k[g>>2]}if((i[d+12>>0]|0)==8)i[j>>0]=i[d+13>>0]|0;d=k[d>>2]|0}while((d|0)!=0)}while(0);d=c+25|0;if((i[d>>0]|0)==-1)break;r=jqb(1,16)|0;k[r>>2]=0;k[r+4>>2]=k[L+12>>2];i[r+8>>0]=0;i[r+8+1>>0]=0;i[r+8+2>>0]=0;i[r+8+3>>0]=0;i[r+8+4>>0]=0;i[r+8+5>>0]=0;i[r+8>>0]=1;i[r+9>>0]=i[d>>0]|0;i[r+11>>0]=i[c+27>>0]|0;gPa(c,r)}while(0);c=k[c>>2]|0;if(!c){c=Y;d=ba;break}}break}default:{c=Y;d=ba}}while(0);if(!(k[L+16>>2]|0)){n=D;m=R;j=c;h=d;g=248;break c}n=k[L+12>>2]|0;k[a+144>>2]=C;k[a+144+4>>2]=n;k[a+144+8>>2]=(A&15)+1;k[a+144+12>>2]=u;k[a+144+16>>2]=s&255;Jpb(525687,a+144|0)|0;n=D;m=R;j=c;h=d;g=248;break}case 192:{f=D&255;d=k[L+4>>2]|0;if(!d)g=162;else{c=0;do{if((l[d+24>>0]|0)==(A&15|0)){u=jqb(1,16)|0;k[u>>2]=0;k[u+4>>2]=k[L+12>>2];i[u+8>>0]=0;i[u+8+1>>0]=0;i[u+8+2>>0]=0;i[u+8+3>>0]=0;i[u+8+4>>0]=0;i[u+8+5>>0]=0;i[u+12>>0]=8;t=(JOa(f+1|0)|0)&255;i[u+13>>0]=t;gPa(d,u);c=c+1|0}d=k[d>>2]|0}while((d|0)!=0);if(!c)g=162}if((g|0)==162){t=hPa(L,A&15,255)|0;u=jqb(1,16)|0;k[u>>2]=0;k[u+4>>2]=k[L+12>>2];i[u+8>>0]=0;i[u+8+1>>0]=0;i[u+8+2>>0]=0;i[u+8+3>>0]=0;i[u+12>>0]=8;s=(JOa(f+1|0)|0)&255;i[u+13>>0]=s;gPa(t,u)}if(!(k[L+16>>2]|0)){n=D;m=R;t=b;j=Y;h=ba;g=248;break c}n=k[L+12>>2]|0;k[a+168>>2]=C;k[a+168+4>>2]=n;k[a+168+8>>2]=(A&15)+1;k[a+168+12>>2]=f;Jpb(525734,a+168|0)|0;n=D;m=R;t=b;j=Y;h=ba;g=248;break}case 208:{if(!(k[L+16>>2]|0)){n=D;m=R;t=b;j=Y;h=ba;g=248;break c}k[a+184>>2]=C;k[a+184+4>>2]=z;k[a+184+8>>2]=(A&15)+1;k[a+184+12>>2]=D&255;Jpb(525770,a+184|0)|0;n=D;m=R;t=b;j=Y;h=ba;g=248;break}default:v=1}}if(v)switch(w|0){case 224:{c=i[J+e>>0]|0;k[y>>2]=e+1;u=b+-1|0;if(!(k[L+16>>2]|0)){t=(c&255)<<7&16256|D&127;s=t;t=t+-8192|0}else{t=(c&255)<<7&16256|D&127;k[a+200>>2]=C;k[a+200+4>>2]=z;k[a+200+8>>2]=(A&15)+1;k[a+200+12>>2]=t+-8192;Jpb(525812,a+200|0)|0;s=t;t=t+-8192|0}c=k[L+4>>2]|0;if(c|0){q=s>>>0<8192;r=q?1:2;q=q?((8192-s|0)>>>10)+1&255:(t|0)==0?0:(t>>>10)+1&255;b=0;do{do if((l[c+24>>0]|0)==(A&15|0)){b=b+1|0;o=k[L+12>>2]|0;p=c+12|0;d=k[p>>2]|0;l:do if(d|0){if((k[d+4>>2]|0)>>>0>o>>>0){d=k[c+4>>2]|0;if(!d)break}h=c+27|0;j=c+25|0;m=c+26|0;n=c+20|0;do{f=d+4|0;if((k[f>>2]|0)>>>0>o>>>0)break l;k[p>>2]=d;if(i[d+8>>0]|0){g=d+10|0;if(!(i[g>>0]|0))e=-1;else e=i[d+9>>0]|0;i[j>>0]=e;i[m>>0]=i[g>>0]|0;k[n>>2]=k[f>>2]}if((i[d+12>>0]|0)==8)i[h>>0]=i[d+13>>0]|0;d=k[d>>2]|0}while((d|0)!=0)}while(0);if((i[c+25>>0]|0)==-1)break;C=jqb(1,16)|0;k[C>>2]=0;k[C+4>>2]=k[L+12>>2];i[C+8>>0]=0;i[C+8+1>>0]=0;i[C+8+2>>0]=0;i[C+8+3>>0]=0;i[C+8+4>>0]=0;i[C+8+5>>0]=0;i[C+12>>0]=r;i[C+13>>0]=q;gPa(c,C)}while(0);c=k[c>>2]|0}while((c|0)!=0);if(b|0){n=D;m=R;t=u;j=Y;h=ba;g=248;break c}}c=hPa(L,A&15,255)|0;d=jqb(1,16)|0;k[d>>2]=0;k[d+4>>2]=k[L+12>>2];i[d+8>>0]=0;i[d+8+1>>0]=0;i[d+8+2>>0]=0;i[d+8+3>>0]=0;i[d+8+4>>0]=0;i[d+8+5>>0]=0;if(s>>>0<8192){i[d+12>>0]=1;i[d+13>>0]=((8192-s|0)>>>10)+1}else{i[d+12>>0]=2;if(!t)b=0;else b=(t>>>10)+1&255;i[d+13>>0]=b}gPa(c,d);n=D;m=R;t=u;j=Y;h=ba;g=248;break}case 240:switch(A|0){case 240:{if(k[L+16>>2]|0){k[a+216>>2]=C;k[a+216+4>>2]=z;k[a+216+8>>2]=D&255;Jpb(525852,a+216|0)|0}if(D<<24>>24!=-9)do{D=k[L>>2]|0;C=k[D+8>>2]|0;c=i[(k[D>>2]|0)+C>>0]|0;k[D+8>>2]=C+1;b=b+-1|0;if(k[L+16>>2]|0){k[a+232>>2]=c&255;Jpb(525876,a+232|0)|0}}while(c<<24>>24!=-9);if(!(k[L+16>>2]|0)){n=-9;m=R;t=b;j=Y;h=ba;g=248;break c}Kpb(10)|0;n=-9;m=R;t=b;j=Y;h=ba;g=248;break c}case 242:{c=i[J+e>>0]|0;k[y>>2]=e+1;b=b+-1|0;if(!(k[L+16>>2]|0)){n=D;m=R;t=b;j=Y;h=ba;g=248;break c}k[a+240>>2]=C;k[a+240+4>>2]=z;k[a+240+8>>2]=((c&255)<<7&16256|D&127)+-8192;Jpb(525882,a+240|0)|0;n=D;m=R;t=b;j=Y;h=ba;g=248;break c}case 247:{d=0;c=0;while(1){A=i[J+e>>0]|0;e=e+1|0;k[y>>2]=e;f=c+1|0;g=A&127|d<<7;if(!((f|0)<4&(A&128|0)!=0))break;else{d=g;c=f}}k[L+56>>2]=g;c=b-f|0;if(k[L+16>>2]|0){k[a+256>>2]=C;k[a+256+4>>2]=z;k[a+256+8>>2]=g;Jpb(525918,a+256|0)|0}if((g|0)>0){b=b+-2-f|0;d=g;while(1){C=k[L>>2]|0;A=k[C+8>>2]|0;c=i[(k[C>>2]|0)+A>>0]|0;k[C+8>>2]=A+1;if(k[L+16>>2]|0){k[a+272>>2]=c&255;Jpb(525876,a+272|0)|0}if((d|0)>1)d=d+-1|0;else break}b=b-g+2|0}else b=c;k[L+56>>2]=B;n=D;m=R;t=b;j=Y;h=ba;g=248;break c}case 255:{d=0;c=0;do{A=i[J+e>>0]|0;e=e+1|0;k[y>>2]=e;c=c+1|0;d=A&127|d<<7}while((c|0)<4&(A&128|0)!=0);k[L+56>>2]=d;b=b-c|0;c=(d|0)>31?31:d;if(c){ABb(a+704|0,J+e|0,c|0)|0;k[y>>2]=(k[y>>2]|0)+c;b=b-c|0}i[a+704+c>>0]=0;if((d|0)>31){c=(-2-d+32|0)>-2?-2-d+32|0:-2;k[y>>2]=d+3+(k[y>>2]|0)+c+-32;c=b+-3-d-c+32|0}else c=b;k[L+56>>2]=B;b=D&255;switch(b|0){case 3:{if(k[L+16>>2]|0){k[a+280>>2]=C;k[a+280+4>>2]=z;k[a+280+8>>2]=a+704;Jpb(525949,a+280|0)|0}if(i[x+59804>>0]|0){n=D;m=R;t=c;j=Y;h=ba;g=248;break c}Pnb(x+59804|0,a+704|0)|0;n=D;m=R;t=c;j=Y;h=ba;g=248;break c}case 81:{b=k[a+704>>2]|0;if(b&65280|b<<16&16711680|b>>>16&255|0)k[L+48>>2]=6e7/((b&65280|b<<16&16711680|b>>>16&255)>>>0)|0;if(k[L+16>>2]|0){B=k[L+48>>2]|0;k[a+296>>2]=C;k[a+296+4>>2]=z;k[a+296+8>>2]=B;Jpb(525978,a+296|0)|0}if(!(k[x+59652>>2]|0)){b=k[L+48>>2]|0;k[x+59652>>2]=b}else{b=k[L+4>>2]|0;if(!b){hPa(L,0,255)|0;b=k[L+4>>2]|0}B=k[L+48>>2]|0;C=jqb(1,16)|0;k[C>>2]=0;k[C+4>>2]=k[L+12>>2];i[C+8>>0]=0;i[C+8+1>>0]=0;i[C+8+2>>0]=0;i[C+8+3>>0]=0;i[C+12>>0]=4;i[C+13>>0]=B;gPa(b,C);b=k[L+48>>2]|0}n=D;m=(b|0)>(R|0)?b:R;t=c;j=Y;h=ba;g=248;break c}case 47:{if(k[L+16>>2]|0){k[a+312>>2]=C;k[a+312+4>>2]=z;Jpb(526003,a+312|0)|0}if((c|0)<=0){M=D;S=R;Z=Y;ca=ba;g=249;break c}k[a+320>>2]=c;Fmb(a+704|0,526032,a+320|0)|0;if(((Fnb(a+704|0)|0)+54|0)>>>0<=255){k[a+328>>2]=a+704;Fmb(a+1016|0,526036,a+328|0)|0;k[a+336>>2]=a+1016;Cob(I,525472,a+336|0)|0}M=D;S=R;Z=Y;ca=ba;g=249;break c}default:{if(!(k[L+16>>2]|0)){n=D;m=R;t=c;j=Y;h=ba;g=248;break c}k[a+344>>2]=C;k[a+344+4>>2]=z;k[a+344+8>>2]=b;Jpb(526091,a+344|0)|0;n=D;m=R;t=c;j=Y;h=ba;g=248;break c}}}default:{if(!(k[L+16>>2]|0)){n=D;m=R;t=b;j=Y;h=ba;g=248;break c}k[a+360>>2]=C;k[a+360+4>>2]=z;k[a+360+8>>2]=D&255;Jpb(526119,a+360|0)|0;n=D;m=R;t=b;j=Y;h=ba;g=248;break c}}default:{if(!(k[L+16>>2]|0)){n=D;m=R;t=b;j=Y;h=ba;g=248;break c}k[a+376>>2]=C;k[a+376+4>>2]=z;k[a+376+8>>2]=A;k[a+376+12>>2]=D&255;Jpb(526149,a+376|0)|0;n=D;m=R;t=b;j=Y;h=ba;g=248}}}if((g|0)==248){g=0;if((t|0)<1){M=n;S=m;Z=j;ca=h;g=249}else{P=m;U=t;W=j;$=h}}if((g|0)==249){g=0;if(E<<24>>24==-1&M<<24>>24==47){Q=S;X=Z;aa=ca;k[a+5440>>2]=2;k[a+5444>>2]=12;break a}$=k[L>>2]|0;G=k[$+8>>2]|0;W=(k[$>>2]|0)+G|0;k[a+704>>2]=l[W>>0]|l[W+1>>0]<<8|l[W+2>>0]<<16|l[W+3>>0]<<24;k[$+8>>2]=(k[$+8>>2]|0)+4;i[a+704+4>>0]=0;if(!(Wmb(a+704|0,525428)|0)){T=S;_=Z;da=ca;k[a+5440>>2]=1;break a}k[a+392>>2]=526205;Fmb(a+1016|0,526036,a+392|0)|0;k[a+400>>2]=a+1016;Cob(I,525472,a+400|0)|0;k[(k[L>>2]|0)+8>>2]=G;P=S;U=2147483647;W=Z;$=ca}J=k[L>>2]|0;F=J;H=k[J+8>>2]|0;J=k[J>>2]|0;R=P;V=U;Y=W;ba=$;ea=E}k[a+1440>>2]=F;k[a+1448>>2]=G;k[a+1520>>2]=H;k[a+2216>>2]=J;k[a+2224>>2]=K;k[a+3896>>2]=N;k[a+4256>>2]=O;k[a+4384>>2]=Q;k[a+4392>>2]=R;k[a+4416>>2]=T;k[a+4456>>2]=V;k[a+4640>>2]=X;k[a+4648>>2]=Y;k[a+4688>>2]=_;k[a+4720>>2]=aa;k[a+4728>>2]=ba;k[a+4760>>2]=da;k[a+4768>>2]=ea;k[a+5408>>2]=g} +function oXa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,s=0;s=r;r=r+80|0;p=k[a>>2]|0;q=k[a+8>>2]|0;if(!q){q=6;r=s;return q|0}g=k[a+4>>2]|0;c=k[g+12>>2]|0;a:do if((c|0)>1)f=k[g+8>>2]|0;else{b=k[g>>2]|0;d=k[g+8>>2]|0;b:do if((c|0)<=0){c:do if(b>>>0>>0){d:while(1){n=b;b=b+1|0;k[g>>2]=b;switch(l[n>>0]|0){case 26:break c;case 10:case 13:{o=8;break d}case 59:{o=9;break d}case 9:case 32:break;default:break b}if(b>>>0>=d>>>0)break c}if((o|0)==8){k[g+12>>2]=2;f=d;break a}else if((o|0)==9){k[g+12>>2]=1;break b}}while(0);k[g+12>>2]=3;f=d;break a}while(0);e:while(1){if(b>>>0>=d>>>0){o=14;break}c=b+1|0;k[g>>2]=c;switch(l[b>>0]|0){case 26:{o=14;break e}case 10:case 13:{o=13;break e}default:b=c}}if((o|0)==13){k[g+12>>2]=2;f=d;break}else if((o|0)==14){k[g+12>>2]=3;f=d;break}}while(0);k[g+12>>2]=0;b=k[g>>2]|0;f:do if(b>>>0>>0){g:while(1){c=b+1|0;k[g>>2]=c;switch(l[b>>0]|0){case 26:break f;case 59:{o=20;break g}case 9:case 32:if(c>>>0>>0){b=c;continue g}else break f;case 10:case 13:{k[g+12>>2]=2;b=c;break}default:{e=c;d=c;h:while(1){if(e>>>0>=f>>>0){o=26;break}d=e+1|0;k[g>>2]=d;switch(l[e>>0]|0){case 26:{e=d;o=26;break h}case 9:case 32:{c=0;e=d;break h}case 10:case 13:{o=24;break h}case 59:{o=25;break h}default:e=d}}if((o|0)==24){o=0;k[g+12>>2]=2;c=2;e=d}else if((o|0)==25){o=0;k[g+12>>2]=1;c=1;e=d}else if((o|0)==26){o=0;k[g+12>>2]=3;c=3}if(b|0){o=30;break g}if((c|0)==2)b=e;else{b=2;o=285;break g}}}k[g+12>>2]=0;if(b>>>0>=f>>>0)break f}if((o|0)==20){k[g+12>>2]=1;q=2;r=s;return q|0}else if((o|0)==30){if((d+~b|0)!=16){q=2;r=s;return q|0}if(Dmb(b,530001,16)|0){q=2;r=s;return q|0}e=c;b=160;m=g;i:while(1){c=m+12|0;j:do if((e|0)>1)j=k[m+8>>2]|0;else{d=k[m>>2]|0;f=k[m+8>>2]|0;k:do if((e|0)<=0){l:do if(d>>>0>>0){m:while(1){n=d;d=d+1|0;k[m>>2]=d;switch(l[n>>0]|0){case 26:break l;case 10:case 13:{o=39;break m}case 59:{o=40;break m}case 9:case 32:break;default:break k}if(d>>>0>=f>>>0)break l}if((o|0)==39){o=0;k[c>>2]=2;j=f;break j}else if((o|0)==40){k[c>>2]=1;break k}}while(0);k[c>>2]=3;j=f;break j}while(0);n:while(1){if(d>>>0>=f>>>0){o=45;break}e=d+1|0;k[m>>2]=e;switch(l[d>>0]|0){case 26:{o=45;break n}case 10:case 13:{o=44;break n}default:d=e}}if((o|0)==44){o=0;k[c>>2]=2;j=f;break}else if((o|0)==45){o=0;k[c>>2]=3;j=f;break}}while(0);k[c>>2]=0;d=k[m>>2]|0;if(d>>>0>=j>>>0){o=52;break}o:while(1){e=d+1|0;k[m>>2]=e;switch(l[d>>0]|0){case 59:{o=51;break i}case 26:{o=52;break i}case 9:case 32:if(e>>>0>>0){d=e;continue o}else{o=52;break i}case 10:case 13:{k[c>>2]=2;d=e;break}default:{f=e;p:while(1){if(e>>>0>=j>>>0){o=57;break}g=e+1|0;k[m>>2]=g;switch(l[e>>0]|0){case 26:{e=g;f=g;o=57;break p}case 9:case 32:{h=0;e=g;f=g;break p}case 10:case 13:{o=55;break p}case 59:{o=56;break p}default:{f=g;e=g}}}if((o|0)==55){o=0;k[c>>2]=2;h=2;e=g;f=g}else if((o|0)==56){o=0;k[c>>2]=1;h=1;e=g;f=g}else if((o|0)==57){o=0;k[c>>2]=3;h=3}if(d|0)break o;if((h|0)==2)d=e;else break i}}k[c>>2]=0;if(d>>>0>=j>>>0){o=52;break i}}g=i[d>>0]|0;c=0;q:do{e=k[52308+(c<<2)>>2]|0;r:do if((i[e>>0]|0)==g<<24>>24)while(1){if(!(Dmb(e,d,f+~d|0)|0)){o=67;break q}c=c+1|0;if((c|0)>=74)break r;e=k[52308+(c<<2)>>2]|0;if((i[e>>0]|0)!=g<<24>>24)break q}while(0);c=c+1|0}while((c|0)<74);s:do if((o|0)==67){o=0;switch(c|0){case 49:{b=m;o=145;break i}case 20:{o=282;break i}case 40:{k[s+32>>2]=3;if((pXa(a,s+32|0,1)|0)!=1){o=69;break i}switch(k[s+32+4>>2]|0){case 0:case 2:break s;default:{b=7;o=281;break i}}}case 30:{k[s>>2]=4;if((pXa(a,s,1)|0)!=1){o=281;break i}i[q>>0]=i[s+4>>0]|0;break s}case 26:{k[s>>2]=2;k[s+8>>2]=2;k[s+16>>2]=2;k[s+24>>2]=2;if((pXa(a,s,4)|0)!=4){o=281;break i}k[q+4>>2]=k[s+4>>2];k[q+8>>2]=k[s+12>>2];k[q+12>>2]=k[s+20>>2];k[q+16>>2]=k[s+28>>2];break s}case 0:{k[s>>2]=2;if((pXa(a,s,1)|0)!=1){o=281;break i}k[q+20>>2]=k[s+4>>2];break s}case 14:{k[s>>2]=2;if((pXa(a,s,1)|0)!=1){o=281;break i}k[q+24>>2]=k[s+4>>2];break s}case 45:{k[s+32>>2]=3;if((pXa(a,s+32|0,1)|0)!=1){o=283;break i}b=k[s+32+4>>2]|0;h=k[a+4>>2]|0;c=k[h+12>>2]|0;if((b|0)>0)while(1){g=b;b=b+-1|0;t:do if((c|0)>1){c=k[h>>2]|0;f=k[h+8>>2]|0}else{d=k[h>>2]|0;e=k[h+8>>2]|0;u:do if((c|0)>0)c=d;else{v:do if(d>>>0>>0){w:while(1){c=d+1|0;k[h>>2]=c;switch(l[d>>0]|0){case 26:break v;case 10:case 13:{o=88;break w}case 59:{o=89;break w}case 9:case 32:break;default:break u}if(c>>>0>>0)d=c;else break v}if((o|0)==88){o=0;k[h+12>>2]=2;f=e;break t}else if((o|0)==89){k[h+12>>2]=1;break u}}else c=d;while(0);k[h+12>>2]=3;f=e;break t}while(0);x:while(1){if(c>>>0>=e>>>0){o=94;break}d=c+1|0;k[h>>2]=d;switch(l[c>>0]|0){case 26:{c=d;o=94;break x}case 10:case 13:{o=93;break x}default:c=d}}if((o|0)==93){o=0;k[h+12>>2]=2;c=d;f=e;break}else if((o|0)==94){o=0;k[h+12>>2]=3;f=e;break}}while(0);k[h+12>>2]=0;if(c>>>0>>0)e=c;else{b=h+12|0;o=100;break i}y:while(1){c=e+1|0;k[h>>2]=c;switch(l[e>>0]|0){case 59:{o=99;break i}case 26:{b=h+12|0;o=100;break i}case 9:case 32:if(c>>>0>>0){e=c;continue y}else{b=h+12|0;o=100;break i}case 10:case 13:{k[h+12>>2]=2;break}default:{z:while(1){if(c>>>0>=f>>>0){d=c;o=105;break}d=c+1|0;k[h>>2]=d;switch(l[c>>0]|0){case 26:{o=105;break z}case 9:case 32:{c=0;break z}case 10:case 13:{o=103;break z}case 59:{o=104;break z}default:c=d}}if((o|0)==103){o=0;k[h+12>>2]=2;c=2}else if((o|0)==104){o=0;k[h+12>>2]=1;c=1}else if((o|0)==105){o=0;k[h+12>>2]=3;c=3}if(e|0)break y;if((c|0)==2)c=d;else{o=144;break i}}}k[h+12>>2]=0;if(c>>>0>>0)e=c;else{b=h+12|0;o=100;break i}}if((g|0)<=1)break}A:while(1){B:do if((c|0)>1){b=k[h>>2]|0;f=k[h+8>>2]|0}else{b=k[h>>2]|0;d=k[h+8>>2]|0;C:do if((c|0)<=0){D:do if(b>>>0>>0){E:while(1){c=b+1|0;k[h>>2]=c;switch(l[b>>0]|0){case 26:{b=c;break D}case 10:case 13:{o=115;break E}case 59:{o=116;break E}case 9:case 32:break;default:{b=c;break C}}if(c>>>0>>0)b=c;else{b=c;break D}}if((o|0)==115){o=0;k[h+12>>2]=2;b=c;f=d;break B}else if((o|0)==116){k[h+12>>2]=1;b=c;break C}}while(0);k[h+12>>2]=3;f=d;break B}while(0);F:while(1){if(b>>>0>=d>>>0){o=121;break}c=b+1|0;k[h>>2]=c;switch(l[b>>0]|0){case 26:{b=c;o=121;break F}case 10:case 13:{o=120;break F}default:b=c}}if((o|0)==120){o=0;k[h+12>>2]=2;b=c;f=d;break}else if((o|0)==121){o=0;k[h+12>>2]=3;f=d;break}}while(0);k[h+12>>2]=0;if(b>>>0>=f>>>0){b=h+12|0;o=128;break i}G:while(1){c=b+1|0;k[h>>2]=c;switch(l[b>>0]|0){case 59:{o=127;break i}case 26:{b=h+12|0;o=128;break i}case 9:case 32:if(c>>>0>>0){b=c;continue G}else{b=h+12|0;o=128;break i}case 10:case 13:{k[h+12>>2]=2;b=c;break}default:{d=c;H:while(1){if(d>>>0>=f>>>0){e=c;o=133;break}e=d+1|0;k[h>>2]=e;switch(l[d>>0]|0){case 26:{d=e;o=133;break H}case 9:case 32:{c=0;d=e;break H}case 10:case 13:{o=131;break H}case 59:{o=132;break H}default:{d=e;c=e}}}if((o|0)==131){o=0;k[h+12>>2]=2;c=2;d=e}else if((o|0)==132){o=0;k[h+12>>2]=1;c=1;d=e}else if((o|0)==133){o=0;k[h+12>>2]=3;c=3}if(b|0){g=e;break G}if((c|0)==2)b=d;else{o=144;break i}}}k[h+12>>2]=0;if(b>>>0>=f>>>0){b=h+12|0;o=128;break i}}f=i[b>>0]|0;d=0;I:while(1){e=k[52308+(d<<2)>>2]|0;J:do if((i[e>>0]|0)==f<<24>>24)while(1){if(!(Dmb(e,b,g+~b|0)|0)){b=d;break I}d=d+1|0;if((d|0)>=74)break J;e=k[52308+(d<<2)>>2]|0;if((i[e>>0]|0)!=f<<24>>24)continue A}while(0);d=d+1|0;if((d|0)>=74)continue A}switch(b|0){case 17:case 20:{b=0;break s}default:{}}}}default:break s}}while(0);m=k[a+4>>2]|0;e=k[m+12>>2]|0}K:do if((o|0)==51)k[c>>2]=1;else if((o|0)==52)k[c>>2]=3;else if((o|0)==69)o=281;else if((o|0)==99){k[h+12>>2]=1;o=144}else if((o|0)==100){k[b>>2]=3;o=144}else if((o|0)==127){k[h+12>>2]=1;o=144}else if((o|0)==128){k[b>>2]=3;o=144}else if((o|0)==145){d=h;j=b;L:while(1){b=j+12|0;m=j+8|0;n=j+8|0;M:while(1){N:do if((d|0)>1){h=j;c=k[j>>2]|0;g=k[m>>2]|0}else{c=k[j>>2]|0;e=k[n>>2]|0;O:do if((d|0)<=0){P:do if(c>>>0>>0){Q:while(1){d=c+1|0;k[j>>2]=d;switch(l[c>>0]|0){case 26:{c=d;break P}case 10:case 13:{o=153;break Q}case 59:{o=154;break Q}case 9:case 32:break;default:{c=d;break O}}if(d>>>0>>0)c=d;else{c=d;break P}}if((o|0)==153){o=0;k[b>>2]=2;h=j;c=d;g=e;break N}else if((o|0)==154){k[b>>2]=1;c=d;break O}}while(0);k[b>>2]=3;h=j;g=e;break N}while(0);R:while(1){if(c>>>0>=e>>>0){o=159;break}d=c+1|0;k[j>>2]=d;switch(l[c>>0]|0){case 26:{c=d;o=159;break R}case 10:case 13:{o=158;break R}default:c=d}}if((o|0)==158){o=0;k[b>>2]=2;h=j;c=d;g=e;break}else if((o|0)==159){o=0;k[b>>2]=3;h=j;g=e;break}}while(0);k[b>>2]=0;if(c>>>0>=g>>>0){o=166;break L}S:while(1){d=c+1|0;k[h>>2]=d;switch(l[c>>0]|0){case 59:{o=165;break L}case 26:{o=166;break L}case 9:case 32:if(d>>>0>>0){c=d;continue S}else{o=166;break L}case 10:case 13:{k[b>>2]=2;c=d;break}default:{e=d;T:while(1){if(e>>>0>=g>>>0){f=d;o=171;break}f=e+1|0;k[h>>2]=f;switch(l[e>>0]|0){case 26:{e=f;o=171;break T}case 9:case 32:{d=0;e=f;break T}case 10:case 13:{o=169;break T}case 59:{o=170;break T}default:{e=f;d=f}}}if((o|0)==169){o=0;k[b>>2]=2;d=2;e=f}else if((o|0)==170){o=0;k[b>>2]=1;d=1;e=f}else if((o|0)==171){o=0;k[b>>2]=3;d=3}if(c|0){h=f;break S}if((d|0)==2)c=e;else{b=160;o=281;break K}}}k[b>>2]=0;if(c>>>0>=g>>>0){o=166;break L}}g=i[c>>0]|0;e=0;while(1){f=k[52308+(e<<2)>>2]|0;U:do if((i[f>>0]|0)==g<<24>>24)while(1){if(!(Dmb(f,c,h+~c|0)|0)){b=e;break M}e=e+1|0;if((e|0)>=74)break U;f=k[52308+(e<<2)>>2]|0;if((i[f>>0]|0)!=g<<24>>24)continue M}while(0);e=e+1|0;if((e|0)>=74)continue M}}switch(b|0){case 20:case 21:{o=282;break K}case 53:{n=k[a+8>>2]|0;k[s+32>>2]=3;if((pXa(a,s+32|0,1)|0)!=1){o=183;break L}b=k[s+32+4>>2]|0;if((b|0)<0){b=160;o=281;break K}k[n+32>>2]=b;if(!b)m=n+28|0;else{b=WTa(k[a>>2]|0,20,0,b,0,s+32|0)|0;k[n+28>>2]=b;b=k[s+32>>2]|0;if(!b)m=n+28|0;else{o=281;break K}}b=-1;V:while(1){j=k[a+4>>2]|0;d=k[j+12>>2]|0;W:do if((d|0)>1){h=j;c=k[j>>2]|0;g=k[j+8>>2]|0}else{c=k[j>>2]|0;e=k[j+8>>2]|0;X:do if((d|0)<=0){Y:do if(c>>>0>>0){Z:while(1){d=c+1|0;k[j>>2]=d;switch(l[c>>0]|0){case 26:{c=d;break Y}case 10:case 13:{o=195;break Z}case 59:{o=196;break Z}case 9:case 32:break;default:{c=d;break X}}if(d>>>0>>0)c=d;else{c=d;break Y}}if((o|0)==195){o=0;k[j+12>>2]=2;h=j;c=d;g=e;break W}else if((o|0)==196){k[j+12>>2]=1;c=d;break X}}while(0);k[j+12>>2]=3;h=j;g=e;break W}while(0);_:while(1){if(c>>>0>=e>>>0){o=201;break}d=c+1|0;k[j>>2]=d;switch(l[c>>0]|0){case 26:{c=d;o=201;break _}case 10:case 13:{o=200;break _}default:c=d}}if((o|0)==200){o=0;k[j+12>>2]=2;h=j;c=d;g=e;break}else if((o|0)==201){o=0;k[j+12>>2]=3;h=j;g=e;break}}while(0);k[j+12>>2]=0;if(c>>>0>=g>>>0){b=j+12|0;o=208;break L}$:while(1){d=c+1|0;k[h>>2]=d;switch(l[c>>0]|0){case 59:{o=207;break L}case 26:{b=j+12|0;o=208;break L}case 9:case 32:if(d>>>0>>0){c=d;continue $}else{b=j+12|0;o=208;break L}case 10:case 13:{k[j+12>>2]=2;c=d;break}default:{e=d;aa:while(1){if(e>>>0>=g>>>0){f=d;o=213;break}f=e+1|0;k[h>>2]=f;switch(l[e>>0]|0){case 26:{e=f;o=213;break aa}case 9:case 32:{d=0;e=f;break aa}case 10:case 13:{o=211;break aa}case 59:{o=212;break aa}default:{e=f;d=f}}}if((o|0)==211){o=0;k[j+12>>2]=2;d=2;e=f}else if((o|0)==212){o=0;k[j+12>>2]=1;d=1;e=f}else if((o|0)==213){o=0;k[j+12>>2]=3;d=3}if(c|0){h=f;break $}if((d|0)==2)c=e;else{b=160;o=281;break K}}}k[j+12>>2]=0;if(c>>>0>=g>>>0){b=j+12|0;o=208;break L}}g=i[c>>0]|0;e=0;ba:do{f=k[52308+(e<<2)>>2]|0;ca:do if((i[f>>0]|0)==g<<24>>24)while(1){if(!(Dmb(f,c,h+~c|0)|0)){c=e;o=223;break ba}e=e+1|0;if((e|0)>=74)break ca;f=k[52308+(e<<2)>>2]|0;if((i[f>>0]|0)!=g<<24>>24)break ba}while(0);e=e+1|0}while((e|0)<74);if((o|0)==223){o=0;switch(c|0){case 20:case 21:case 23:break V;case 56:break;default:{o=227;break L}}b=b+1|0;if((b|0)>=(k[n+32>>2]|0)){o=227;break L}c=k[m>>2]|0;k[s+32>>2]=3;k[s+32+8>>2]=2;k[s+32+16>>2]=2;k[s+32+24>>2]=2;k[s+32+32>>2]=2;if((pXa(a,s+32|0,5)|0)!=5){o=227;break L}k[c+(b*20|0)>>2]=k[s+32+4>>2];k[c+(b*20|0)+4>>2]=k[s+32+12>>2];k[c+(b*20|0)+8>>2]=k[s+32+20>>2];k[c+(b*20|0)+12>>2]=k[s+32+28>>2];k[c+(b*20|0)+16>>2]=k[s+32+36>>2]}}k[n+32>>2]=b+1;continue L}case 51:case 50:break;default:{b=160;o=281;break K}}n=k[a+8>>2]|0;k[s+32>>2]=3;if((pXa(a,s+32|0,1)|0)!=1){o=231;break}b=k[s+32+4>>2]|0;if((b|0)<0){b=160;o=281;break K}k[n+40>>2]=b;if(!b)m=n+36|0;else{b=WTa(k[a>>2]|0,16,0,b,0,s+32|0)|0;k[n+36>>2]=b;b=k[s+32>>2]|0;if(!b)m=n+36|0;else{o=281;break K}}b=0;da:while(1){j=k[a+4>>2]|0;d=k[j+12>>2]|0;ea:while(1){fa:do if((d|0)>1){c=k[j>>2]|0;g=k[j+8>>2]|0}else{c=k[j>>2]|0;e=k[j+8>>2]|0;ga:do if((d|0)<=0){ha:do if(c>>>0>>0){ia:while(1){d=c+1|0;k[j>>2]=d;switch(l[c>>0]|0){case 26:{c=d;break ha}case 10:case 13:{o=244;break ia}case 59:{o=245;break ia}case 9:case 32:break;default:{c=d;break ga}}if(d>>>0>>0)c=d;else{c=d;break ha}}if((o|0)==244){o=0;k[j+12>>2]=2;c=d;g=e;break fa}else if((o|0)==245){k[j+12>>2]=1;c=d;break ga}}while(0);k[j+12>>2]=3;g=e;break fa}while(0);ja:while(1){if(c>>>0>=e>>>0){o=250;break}d=c+1|0;k[j>>2]=d;switch(l[c>>0]|0){case 26:{c=d;o=250;break ja}case 10:case 13:{o=249;break ja}default:c=d}}if((o|0)==249){o=0;k[j+12>>2]=2;c=d;g=e;break}else if((o|0)==250){o=0;k[j+12>>2]=3;g=e;break}}while(0);k[j+12>>2]=0;if(c>>>0>=g>>>0){b=j+12|0;o=257;break L}ka:while(1){d=c+1|0;k[j>>2]=d;switch(l[c>>0]|0){case 59:{o=256;break L}case 26:{b=j+12|0;o=257;break L}case 9:case 32:if(d>>>0>>0){c=d;continue ka}else{b=j+12|0;o=257;break L}case 10:case 13:{k[j+12>>2]=2;c=d;break}default:{e=d;la:while(1){if(e>>>0>=g>>>0){f=d;o=262;break}f=e+1|0;k[j>>2]=f;switch(l[e>>0]|0){case 26:{e=f;o=262;break la}case 9:case 32:{d=0;e=f;break la}case 10:case 13:{o=260;break la}case 59:{o=261;break la}default:{e=f;d=f}}}if((o|0)==260){o=0;k[j+12>>2]=2;d=2;e=f}else if((o|0)==261){o=0;k[j+12>>2]=1;d=1;e=f}else if((o|0)==262){o=0;k[j+12>>2]=3;d=3}if(c|0){h=f;break ka}if((d|0)==2)c=e;else{b=160;o=281;break K}}}k[j+12>>2]=0;if(c>>>0>=g>>>0){b=j+12|0;o=257;break L}}g=i[c>>0]|0;e=0;while(1){f=k[52308+(e<<2)>>2]|0;ma:do if((i[f>>0]|0)==g<<24>>24)while(1){if(!(Dmb(f,c,h+~c|0)|0))break ea;e=e+1|0;if((e|0)>=74)break ma;f=k[52308+(e<<2)>>2]|0;if((i[f>>0]|0)!=g<<24>>24)continue ea}while(0);e=e+1|0;if((e|0)>=74)continue ea}}switch(e|0){case 20:case 21:case 22:break da;case 37:case 36:case 34:break;default:{b=160;o=281;break K}}if((b|0)>=(k[n+40>>2]|0)){o=278;break L}f=k[m>>2]|0;k[s+32>>2]=5;k[s+32+8>>2]=5;k[s+32+16>>2]=3;k[s+32+24>>2]=3;d=pXa(a,s+32|0,4)|0;if((d|0)<3){o=278;break L}k[f+(b<<4)>>2]=k[s+32+4>>2];k[f+(b<<4)+4>>2]=k[s+32+12>>2];c=k[s+32+20>>2]|0;if((e|0)==37){d=c;c=0}else d=(e|0)==34&(d|0)==4?k[s+32+28>>2]|0:0;k[f+(b<<4)+8>>2]=c;k[f+(b<<4)+12>>2]=d;b=b+1|0}k[n+40>>2]=b;qnb(k[m>>2]|0,b,16,357);j=k[a+4>>2]|0;d=k[j+12>>2]|0}switch(o|0){case 165:{k[b>>2]=1;b=160;o=281;break K}case 166:{k[b>>2]=3;b=160;o=281;break K}case 183:{b=160;o=281;break K}case 207:{k[j+12>>2]=1;b=160;o=281;break K}case 208:{k[b>>2]=3;b=160;o=281;break K}case 227:{b=160;o=281;break K}case 231:{b=160;o=281;break K}case 256:{k[j+12>>2]=1;b=160;o=281;break K}case 257:{k[b>>2]=3;b=160;o=281;break K}case 278:{b=160;o=281;break K}}}while(0);if((o|0)==144){q=160;r=s;return q|0}else if((o|0)!=281)if((o|0)==282){q=0;r=s;return q|0}YTa(p,k[q+28>>2]|0);k[q+28>>2]=0;k[q+32>>2]=0;YTa(p,k[q+36>>2]|0);k[q+36>>2]=0;k[q+40>>2]=0;i[q>>0]=0;q=b;r=s;return q|0}else if((o|0)==285){r=s;return b|0}}while(0);k[g+12>>2]=3;q=2;r=s;return q|0}function pXa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,s=0;s=r;r=r+16|0;p=k[a+4>>2]|0;if((c+-1|0)>>>0>=5){q=0;r=s;return q|0}d=0;a:while(1){m=k[b+(d<<3)>>2]|0;f=k[p+12>>2]|0;if(!m){b:do if((f|0)>0)q=11;else{e=k[p>>2]|0;g=k[p+8>>2]|0;if(e>>>0>=g>>>0){q=10;break a}c:while(1){o=e;e=e+1|0;k[p>>2]=e;switch(l[o>>0]|0){case 10:case 13:{q=8;break a}case 26:{q=10;break a}case 59:break c;case 9:case 32:break;default:{q=11;break b}}if(e>>>0>=g>>>0){q=10;break a}}k[p+12>>2]=1}while(0);if((q|0)==11){q=0;if((f|0)>1)break;e=k[p>>2]|0;g=k[p+8>>2]|0}j=e+-1|0;h=e;f=e;d:while(1){if(f>>>0>=g>>>0){e=h;f=3;break}e=f+1|0;k[p>>2]=e;switch(l[f>>0]|0){case 26:{f=3;break d}case 10:case 13:{q=30;break d}default:{h=e;f=e}}}if((q|0)==30){q=0;f=2}k[p+12>>2]=f;k[s+4>>2]=j}else{if((f|0)>0)break;e=k[p>>2]|0;h=k[p+8>>2]|0;if(e>>>0>=h>>>0){q=23;break}e:while(1){j=e;e=e+1|0;k[p>>2]=e;switch(l[j>>0]|0){case 10:case 13:{q=21;break a}case 59:{q=22;break a}case 26:{q=23;break a}case 9:case 32:break;default:{f=e;break e}}if(e>>>0>=h>>>0){q=23;break a}}e=f;f:while(1){if(f>>>0>=h>>>0){q=28;break}g=f+1|0;k[p>>2]=g;switch(l[f>>0]|0){case 26:{e=g;q=28;break f}case 9:case 32:{e=g;break f}case 10:case 13:{q=26;break f}case 59:{q=27;break f}default:{e=g;f=g}}}if((q|0)==26){q=0;k[p+12>>2]=2;e=g}else if((q|0)==27){q=0;k[p+12>>2]=1;e=g}else if((q|0)==28){q=0;k[p+12>>2]=3}k[s+4>>2]=j;if(!j){q=74;break}}g=e-j|0;g:do switch(m|0){case 1:case 0:{e=VTa(k[a>>2]|0,g,s)|0;f=b+(d<<3)+4|0;k[f>>2]=e;if(!(k[s>>2]|0)){ABb(e|0,j|0,g+-1|0)|0;i[(k[f>>2]|0)+(g+-1)>>0]=0}break}case 2:{o=RWa(s+4|0,j+(g+-1)|0,0)|0;k[b+(d<<3)+4>>2]=o;break}case 3:{o=j+(g+-1)|0;h:do if((g|0)<2)e=0;else{e=i[j>>0]|0;switch(e<<24>>24){case 43:case 45:{if((g+-1|0)==1){e=0;break h}else{g=j+1|0;n=e<<24>>24==45&1}break}default:{g=j;n=0}}i:do if(g>>>0>>0){h=0;m=0;while(1){e=i[g>>0]|0;switch(e<<24>>24){case 0:case 12:case 9:case 10:case 13:case 32:{e=h;f=m;h=g;break i}default:{}}if(e<<24>>24<0){e=h;f=m;h=g;break i}f=i[529873+(e&127)>>0]|0;if(((e&127)+-48|0)>>>0>=10){e=h;f=m;h=g;break i}if((m|0)>214748364){e=1;f=m}else if((m|0)==214748364&f<<24>>24>7){e=1;f=214748364}else{e=h;f=(f<<24>>24)+(m*10|0)|0}g=g+1|0;if(g>>>0>>0){h=e;m=f}else{h=g;break i}}}else{e=0;f=0;h=g}while(0);e=e<<24>>24==0?f:2147483647;e=n<<24>>24==0?e:0-e|0;f=h;if((h|0)==(j|0))e=0;else{if(h>>>0>>0)if((i[h>>0]|0)==35){n=h+1|0;if(n>>>0>=o>>>0|(e+-2|0)>>>0>34){e=0;break}g=i[n>>0]|0;switch(g<<24>>24){case 43:case 45:{f=h+2|0;if((f|0)==(o|0)){e=0;break h}else m=g<<24>>24==45&1;break}default:{f=n;m=0}}j:do if(f>>>0>>0){h=0;j=0;while(1){g=i[f>>0]|0;switch(g<<24>>24){case 0:case 12:case 9:case 10:case 13:case 32:{g=h;e=j;break j}default:{}}if(g<<24>>24<0){g=h;e=j;break j}g=i[529873+(g&127)>>0]|0;if(!(g<<24>>24>-1&(g<<24>>24|0)<(e|0))){g=h;e=j;break j}if((j|0)>(2147483647/(e|0)|0|0))h=1;else if((j|0)==(2147483647/(e|0)|0|0)?(g<<24>>24|0)>((2147483647%(e|0)|0)<<24>>24|0):0){h=1;j=2147483647/(e|0)|0}else j=(g<<24>>24)+(ha(j,e)|0)|0;f=f+1|0;if(f>>>0>=o>>>0){g=h;e=j;break j}}}else{g=0;e=0}while(0);e=g<<24>>24==0?e:2147483647;if((f|0)==(n|0)){e=0;break}else e=m<<24>>24==0?e:0-e|0}k[s+4>>2]=f}}while(0);k[b+(d<<3)+4>>2]=e;break}case 4:{if((g+-1|0)==4)e=(Dmb(j,619791,4)|0)==0;else e=0;i[b+(d<<3)+4>>0]=e&1;break}case 5:{e=k[a+12>>2]|0;if(!e){k[b+(d<<3)+4>>2]=0;break g}else{o=Ri[e&255](j,g+-1|0,k[a+16>>2]|0)|0;k[b+(d<<3)+4>>2]=o;break g}}default:{}}while(0);d=d+1|0;if((d|0)>=(c|0)){q=74;break}}if((q|0)==8)k[p+12>>2]=2;else if((q|0)==10)k[p+12>>2]=3;else if((q|0)==21)k[p+12>>2]=2;else if((q|0)==22)k[p+12>>2]=1;else if((q|0)==23)k[p+12>>2]=3;else if((q|0)==74){r=s;return d|0}k[s+4>>2]=0;q=d;r=s;return q|0}function qXa(a,b){a=a|0;b=b|0;a=k[a>>2]<<16|k[a+4>>2];b=k[b>>2]<<16|k[b+4>>2];return (a>>>0>b>>>0?1:(a>>>0>>0)<<31>>31)|0}function rXa(a,b){a=a|0;b=b|0;var c=0;c=k[a>>2]|0;b=k[c+484>>2]|0;k[a+24>>2]=k[c+416>>2];k[a+28>>2]=k[c+420>>2];k[a+20>>2]=k[b+20>>2];k[a+16>>2]=k[b+24>>2];return 0}function sXa(a){a=a|0;k[a+16>>2]=0;k[a+16+4>>2]=0;k[a+16+8>>2]=0;k[a+16+12>>2]=0;return}function tXa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if(b>>>0>=256){e=0;return e|0}e=Gi[k[a+20>>2]&2047](m[(k[a+16>>2]|0)+(b<<1)>>1]|0)|0;d=k[a+24>>2]|0;if(!d){e=0;return e|0}a=k[a+28>>2]|0;b=0;while(1){c=k[a+(b<<2)>>2]|0;if(c|0)if((i[c>>0]|0)==(i[e>>0]|0))if(!(Wmb(c,e)|0)){a=8;break}b=b+1|0;if(b>>>0>=d>>>0){b=0;a=8;break}}if((a|0)==8)return b|0;return 0}function uXa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=(k[b>>2]|0)+1|0;if(c>>>0>=256){h=0;a=0;k[b>>2]=h;return a|0}a:while(1){e=Gi[k[a+20>>2]&2047](m[(k[a+16>>2]|0)+(c<<1)>>1]|0)|0;f=k[a+24>>2]|0;b:do if(f|0){g=k[a+28>>2]|0;d=0;while(1){h=k[g+(d<<2)>>2]|0;if(h|0)if((i[h>>0]|0)==(i[e>>0]|0))if(!(Wmb(h,e)|0))break;d=d+1|0;if(d>>>0>=f>>>0)break b}if(d|0){e=11;break a}}while(0);c=c+1|0;if(c>>>0>=256){c=0;d=0;e=11;break}}if((e|0)==11){k[b>>2]=c;return d|0}return 0}function vXa(a,b){a=a|0;b=b|0;var c=0;c=k[a>>2]|0;b=k[c+484>>2]|0;k[a+24>>2]=k[c+416>>2];k[a+28>>2]=k[c+420>>2];k[a+20>>2]=k[b+20>>2];k[a+16>>2]=k[b+28>>2];return 0}function wXa(a,b){a=a|0;b=b|0;var c=0;b=k[a>>2]|0;c=k[b+376>>2]|0;k[a+16>>2]=c;k[a+20>>2]=(k[b+380>>2]|0)-c;k[a+24>>2]=k[b+384>>2];return 0}function xXa(a){a=a|0;k[a+24>>2]=0;k[a+16>>2]=0;k[a+20>>2]=0;return}function yXa(a,b){a=a|0;b=b|0;var c=0;c=k[a+16>>2]|0;if(c>>>0>b>>>0){a=0;return a|0}if(((k[a+20>>2]|0)+c|0)>>>0<=b>>>0){a=0;return a|0}a=m[(k[a+24>>2]|0)+(b<<1)>>1]|0;return a|0}function zXa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=(k[b>>2]|0)+1|0;e=k[a+16>>2]|0;c=c>>>0>>0?e:c;e=(k[a+20>>2]|0)+e|0;a:do if(c>>>0>>0){d=k[a+24>>2]|0;while(1){a=j[d+(c<<1)>>1]|0;if(a<<16>>16)break a;c=c+1|0;if(c>>>0>=e>>>0){c=0;a=0;break}}}else{c=0;a=0}while(0);k[b>>2]=c;return a&65535|0}function AXa(a,b){a=a|0;b=b|0;b=k[a>>2]|0;return Ei[k[(k[b+484>>2]|0)+4>>2]&63](k[b+100>>2]|0,a,k[b+416>>2]|0,358,0,b)|0}function BXa(a,b){a=a|0;b=b|0;return k[(k[a+420>>2]|0)+(b<<2)>>2]|0}function CXa(a){a=a|0;YTa(k[(k[a>>2]|0)+100>>2]|0,k[a+20>>2]|0);k[a+20>>2]=0;k[a+16>>2]=0;return}function DXa(a,b){a=a|0;b=b|0;return gj[k[(k[(k[a>>2]|0)+484>>2]|0)+8>>2]&511](a,b)|0}function EXa(a,b){a=a|0;b=b|0;return gj[k[(k[(k[a>>2]|0)+484>>2]|0)+12>>2]&511](a,b)|0}function FXa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;if((b|0)<=0)return;e=0;d=c&65535;while(1){f=a+e|0;c=l[f>>0]|0;i[f>>0]=c^d>>>8;e=e+1|0;if((e|0)==(b|0))break;else d=((c+d|0)*52845|0)+22719&65535}return}function GXa(a){a=a|0;return a+100|0}function HXa(a){a=a|0;return a+112|0}function IXa(a){a=a|0;return a+140|0}function JXa(a){a=a|0;var b=0,c=0,d=0;b=k[a+8>>2]|0;c=a+12|0;d=c+88|0;do{k[c>>2]=0;c=c+4|0}while((c|0)<(d|0));k[a+12>>2]=b;k[a+100>>2]=134;k[a+104>>2]=9;k[a+108>>2]=694;c=a+112|0;d=c+20|0;do{i[c>>0]=0;c=c+1|0}while((c|0)<(d|0));k[a+116>>2]=695;k[a+120>>2]=359;k[a+124>>2]=105;k[a+128>>2]=106;k[a+132>>2]=224;k[a+136>>2]=85;k[a+112>>2]=a+12;k[a+140>>2]=0;k[a+140+4>>2]=0;k[a+140+8>>2]=0;k[a+140+12>>2]=0;k[a+140+16>>2]=0;k[a+144>>2]=696;k[a+148>>2]=359;k[a+152>>2]=40;k[a+156>>2]=41;k[a+160>>2]=107;k[a+164>>2]=85;k[a+140>>2]=a+12;return 0}function KXa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;i=r;r=r+16|0;h=UTa(a,2496,i)|0;d=k[i>>2]|0;if(d|0){b=d;k[c>>2]=h;r=i;return b|0}k[h>>2]=a;d=k[b+120>>2]|0;k[h+212>>2]=d&65535;g=j[b+124>>1]|0;if((g&255)<<24>>24){a=g&255;e=b+128|0;f=h+224|0;while(1){k[f>>2]=j[e>>1];a=a+-1|0;if(!a)break;else{e=e+2|0;f=f+12|0}}}k[h+208>>2]=(g&255)+1;k[h+8>>2]=d>>>16;if((g&65535)>>>8<<16>>16){d=(g&65535)>>>8&65535;a=b+154|0;e=h+20|0;while(1){k[e>>2]=j[a>>1];d=d+-1|0;if(!d)break;else{a=a+2|0;e=e+12|0}}}k[h+4>>2]=((g&65535)>>>8&65535)+1;e=j[b+8>>1]|0;LXa(h+412|0,e&255,b+12|0,(e&65535)>>>8&65535,b+40|0,k[b+116>>2]|0,0);e=j[b+10>>1]|0;LXa(h+412|0,e&255,b+60|0,(e&65535)>>>8&65535,b+88|0,k[b+116>>2]|0,1);e=k[b+8>>2]|0;if(!((e&255)<<24>>24))d=1;else{d=1;a=0;do{g=(m[b+12+((a|1)<<1)>>1]|0)-(m[b+12+(a<<1)>>1]|0)|0;d=(g<<16>>16|0)>(d<<16>>16|0)?g&65535:d;a=a+2|0}while(a>>>0<(e&255)>>>0)}if((e&65535)>>>8<<16>>16){a=0;do{g=(m[b+40+((a|1)<<1)>>1]|0)-(m[b+40+(a<<1)>>1]|0)|0;d=(g<<16>>16|0)>(d<<16>>16|0)?g&65535:d;a=a+2|0}while(a>>>0<((e&65535)>>>8&65535)>>>0)}if((e>>>16&255)<<24>>24){a=0;do{g=(m[b+60+((a|1)<<1)>>1]|0)-(m[b+60+(a<<1)>>1]|0)|0;d=(g<<16>>16|0)>(d<<16>>16|0)?g&65535:d;a=a+2|0}while(a>>>0<(e>>>16&255)>>>0)}if(e>>>24){a=0;do{g=(m[b+88+((a|1)<<1)>>1]|0)-(m[b+88+(a<<1)>>1]|0)|0;d=(g<<16>>16|0)>(d<<16>>16|0)?g&65535:d;a=a+2|0}while(a>>>0>>24>>>0)}g=V2a(1e3,d<<16>>16)|0;f=k[b+108>>2]|0;k[h+2476>>2]=(f|0)<(g|0)?f:g;k[h+2480>>2]=k[b+112>>2];k[h+2488>>2]=k[b+116>>2];k[h+200>>2]=0;k[h+204>>2]=0;k[h+404>>2]=0;k[h+408>>2]=0;b=k[i>>2]|0;k[c>>2]=h;r=i;return b|0}function LXa(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=(g|0)==0?a+516|0:a+1548|0;q=(g|0)==0?a:a+1032|0;k[q>>2]=0;k[r>>2]=0;if(b>>>0>1){g=0;o=0;a=0;while(1){if(a){l=j[c>>1]|0;h=q;a=o;n=(j[c+2>>1]|0)-l|0;m=1}else{l=j[c+2>>1]|0;h=r;a=g;n=(j[c>>1]|0)-l|0;m=0}h=h+4|0;a:do if(!a)p=16;else{while(1){i=k[h>>2]|0;if((l|0)<(i|0)){p=7;break}if((l|0)==(i|0))break;a=a+-1|0;h=h+32|0;if(!a){p=16;break a}}if((p|0)==7)while(1){p=h+(a<<5)|0;a=a+-1|0;i=h+(a<<5)|0;k[p>>2]=k[i>>2];k[p+4>>2]=k[i+4>>2];k[p+8>>2]=k[i+8>>2];k[p+12>>2]=k[i+12>>2];k[p+16>>2]=k[i+16>>2];k[p+20>>2]=k[i+20>>2];k[p+24>>2]=k[i+24>>2];k[p+28>>2]=k[i+28>>2];if(!a){p=16;break a}}a=k[h+4>>2]|0;if((n|0)<0){if((n|0)>=(a|0)){a=o;break}k[h+4>>2]=n;a=o;break}else{if((n|0)<=(a|0)){a=o;break}k[h+4>>2]=n;a=o;break}}while(0);do if((p|0)==16){p=0;k[h>>2]=l;k[h+4>>2]=n;if(!(m<<24>>24)){g=g+1|0;a=o;break}else{a=o+1|0;break}}while(0);b=b+-2|0;if(b>>>0<=1){m=a;break}else{c=c+4|0;o=a;a=1}}}else{g=0;m=0}k[q>>2]=m;k[r>>2]=g;if(d>>>0>1)while(1){h=j[e+2>>1]|0;i=(j[e>>1]|0)-h|0;b:do if(!g){a=r+4|0;p=33}else{a=g;c=r+4|0;while(1){b=k[c>>2]|0;if((h|0)<(b|0)){p=24;break}if((h|0)==(b|0))break;a=a+-1|0;c=c+32|0;if(!a){a=c;p=33;break b}}if((p|0)==24)while(1){p=c+(a<<5)|0;a=a+-1|0;o=c+(a<<5)|0;k[p>>2]=k[o>>2];k[p+4>>2]=k[o+4>>2];k[p+8>>2]=k[o+8>>2];k[p+12>>2]=k[o+12>>2];k[p+16>>2]=k[o+16>>2];k[p+20>>2]=k[o+20>>2];k[p+24>>2]=k[o+24>>2];k[p+28>>2]=k[o+28>>2];if(!a){a=c;p=33;break b}}a=k[c+4>>2]|0;if((i|0)<0){if((i|0)>=(a|0))break;k[c+4>>2]=i;break}else{if((i|0)<=(a|0))break;k[c+4>>2]=i;break}}while(0);if((p|0)==33){p=0;k[a>>2]=h;k[a+4>>2]=i;g=g+1|0}d=d+-2|0;if(d>>>0<=1){l=g;break}else e=e+4|0}else l=g;k[q>>2]=m;k[r>>2]=l;d=(m|0)==0;if(!d){h=m;i=q+4|0;while(1){if(h>>>0>1){a=k[i>>2]|0;g=(k[i+32>>2]|0)-a|0;c=i+4|0;b=k[c>>2]|0;if((b|0)>(g|0))k[c>>2]=g;else g=b}else{a=k[i>>2]|0;g=k[i+4>>2]|0}k[i+12>>2]=a;k[i+8>>2]=g+a;h=h+-1|0;if(!h)break;else i=i+32|0}}e=(l|0)==0;if(!e){b=l;i=r+4|0;while(1){h=k[i>>2]|0;if(b>>>0>1){g=h-(k[i+32>>2]|0)|0;a=i+4|0;c=k[a>>2]|0;if((c|0)<(g|0))k[a>>2]=g;else g=c}else g=k[i+4>>2]|0;k[i+8>>2]=h;k[i+12>>2]=g+h;b=b+-1|0;if(!b)break;else i=i+32|0}}if(!d){k[q+16>>2]=(k[q+16>>2]|0)-f;c=m+-1|0;a=k[q+12>>2]|0;if(!c)g=q+4|0;else{g=q+-28+(m<<3<<2)|0;d=q+4|0;while(1){b=d+44|0;h=k[b>>2]|0;i=h-a|0;if((i|0)<(f<<1|0)){q=((i|0)/2|0)+a|0;k[b>>2]=q;k[d+8>>2]=q}else{k[d+8>>2]=a+f;k[b>>2]=h-f}c=c+-1|0;a=k[d+40>>2]|0;if(!c)break;else d=d+32|0}}k[g+8>>2]=a+f}if(e)return;k[r+16>>2]=(k[r+16>>2]|0)-f;c=l+-1|0;a=k[r+12>>2]|0;if(!c)g=r+4|0;else{g=r+-28+(l<<3<<2)|0;d=r+4|0;while(1){i=d+44|0;h=k[i>>2]|0;b=h-a|0;if((b|0)<(f<<1|0)){a=((b|0)/2|0)+a|0;b=a}else{b=a+f|0;a=h-f|0}k[i>>2]=a;k[d+8>>2]=b;c=c+-1|0;a=k[d+40>>2]|0;if(!c)break;else d=d+32|0}}k[g+8>>2]=a+f;return}function MXa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;if((k[a+200>>2]|0)==(b|0)){if((k[a+204>>2]|0)!=(d|0))f=3}else f=3;if((f|0)==3){k[a+200>>2]=b;k[a+204>>2]=d;d=k[a+4>>2]|0;if(d|0){f=U2a(k[a+8>>2]|0,b)|0;k[a+12>>2]=f;k[a+16>>2]=f+32&-64;if(d+-1|0){d=d+-1|0;f=a+20|0;while(1){g=U2a(k[f>>2]|0,b)|0;h=k[a+12>>2]|0;g=(((g-h|0)<0?0-(g-h)|0:g-h|0)|0)<128?h:g;k[f+4>>2]=g;k[f+8>>2]=g+32&-64;d=d+-1|0;if(!d)break;else f=f+12|0}}}}if((k[a+404>>2]|0)==(c|0))if((k[a+408>>2]|0)==(e|0))return;k[a+404>>2]=c;k[a+408>>2]=e;d=k[a+208>>2]|0;if(d|0){h=U2a(k[a+212>>2]|0,c)|0;k[a+216>>2]=h;k[a+220>>2]=h+32&-64;if(d+-1|0){d=d+-1|0;f=a+224|0;while(1){h=U2a(k[f>>2]|0,c)|0;g=k[a+216>>2]|0;h=(((h-g|0)<0?0-(h-g)|0:h-g|0)|0)<128?g:h;k[f+4>>2]=h;k[f+8>>2]=h+32&-64;d=d+-1|0;if(!d)break;else f=f+12|0}}}d=k[a+2476>>2]|0;if((c|0)>34359737)d=((d<<3|0)/125|0|0)>(c|0);else d=(c*125|0)<(d<<3|0);i[a+2492>>0]=d&1;d=k[a+2480>>2]|0;a:do if((d|0)>0){f=d;while(1){if((U2a(f,c)|0)<=32){d=f;break a}d=f+-1|0;if((f|0)>1)f=d;else break}}while(0);k[a+2484>>2]=d;b=0;do{switch(b|0){case 0:{f=a+412|0;break}case 1:{f=a+928|0;break}case 2:{f=a+1444|0;break}default:f=a+1960|0}d=k[f>>2]|0;if(d|0){f=f+4|0;while(1){g=(U2a(k[f+8>>2]|0,c)|0)+e|0;k[f+28>>2]=g;g=(U2a(k[f+12>>2]|0,c)|0)+e|0;k[f+24>>2]=g;g=(U2a(k[f>>2]|0,c)|0)+e|0;h=f+16|0;k[h>>2]=g;g=U2a(k[f+4>>2]|0,c)|0;k[f+20>>2]=g;k[h>>2]=(k[h>>2]|0)+32&-64;d=d+-1|0;if(!d)break;else f=f+32|0}}b=b+1|0}while((b|0)!=4);d=k[a+412>>2]|0;if(d|0){e=a+416|0;while(1){f=k[a+1444>>2]|0;b:do if(f|0){b=a+1448|0;while(1){h=(k[e>>2]|0)-(k[b>>2]|0)|0;if((U2a((h|0)<0?0-h|0:h,c)|0)<64){f=b;break}f=f+-1|0;if(!f)break b;else b=b+32|0}k[e+28>>2]=k[f+28>>2];k[e+24>>2]=k[f+24>>2];k[e+16>>2]=k[f+16>>2];k[e+20>>2]=k[f+20>>2]}while(0);d=d+-1|0;if(!d)break;else e=e+32|0}}d=k[a+928>>2]|0;if(!d)return;e=a+932|0;while(1){f=k[a+1960>>2]|0;c:do if(f|0){b=a+1964|0;while(1){h=(k[e>>2]|0)-(k[b>>2]|0)|0;if((U2a((h|0)<0?0-h|0:h,c)|0)<64){f=b;break}f=f+-1|0;if(!f)break c;else b=b+32|0}k[e+28>>2]=k[f+28>>2];k[e+24>>2]=k[f+24>>2];k[e+16>>2]=k[f+16>>2];k[e+20>>2]=k[f+20>>2]}while(0);d=d+-1|0;if(!d)break;else e=e+32|0}return}function NXa(a){a=a|0;var b=0;if(!a)return;b=k[a>>2]|0;k[a+4>>2]=0;k[a+208>>2]=0;k[a+412>>2]=0;k[a+928>>2]=0;k[a+1444>>2]=0;k[a+1960>>2]=0;YTa(b,a);return}function OXa(a){a=a|0;k[a+4>>2]=0;k[a+12>>2]=1;k[a+16>>2]=0;k[a+28>>2]=0;k[a+40>>2]=0;k[a+52>>2]=0;k[a+64>>2]=0;k[a+76>>2]=0;return}function PXa(a,b){a=a|0;b=b|0;var c=0,d=0;c=k[a+4>>2]|0;if(c|0){a=c;return a|0}c=k[a>>2]|0;d=QXa(a+16|0,b,c)|0;if(d|0){a=d;return a|0}a=QXa(a+52|0,b,c)|0;return a|0}function QXa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0;p=r;r=r+16|0;d=k[a+12>>2]|0;if(d|0)k[(k[a+20>>2]|0)+(d<<4)+-16+12>>2]=b;b=k[a+24>>2]|0;if((b|0)<=1){o=0;r=p;return o|0}d=b;n=b;a:while(1){b=n+-2|0;n=n+-1|0;b:do if((b|0)>-1){m=k[a+32>>2]|0;h=k[m+(n<<4)+8>>2]|0;j=k[m+(n<<4)>>2]|0;c:while(1){f=k[m+(b<<4)+8>>2]|0;e=k[m+(b<<4)>>2]|0;e=j>>>0>>0?j:e;if(e>>>0>7){g=h;do{if((i[f>>0]&i[g>>0])<<24>>24)break c;g=g+1|0;f=f+1|0;e=e+-8|0}while(e>>>0>7)}else g=h;if(e|0)if(i[f>>0]&i[g>>0]&255&~(255>>>e)|0)break;if((b|0)>0)b=b+-1|0;else break b}g=b>>>0>n>>>0;h=g?b:n;g=g?n:b;if(g>>>0>>0&h>>>0>>0){e=k[m+(g<<4)>>2]|0;f=k[m+(h<<4)>>2]|0;if(f|0){if(f>>>0>e>>>0){d=((k[m+(g<<4)+4>>2]|0)+7|0)>>>3;k[p>>2]=0;if((f+7|0)>>>3>>>0>d>>>0){d=WTa(c,1,d,((f+7|0)>>>3)+7&1073741816,k[m+(g<<4)+8>>2]|0,p)|0;k[m+(g<<4)+8>>2]=d;d=k[p>>2]|0;if(d|0)break a;k[m+(g<<4)+4>>2]=(((f+7|0)>>>3)+7&1073741816)<<3;b=m+(g<<4)+8|0}else b=m+(g<<4)+8|0;d=e;do{if((k[m+(g<<4)>>2]|0)>>>0>d>>>0){j=(k[b>>2]|0)+(d>>>3)|0;i[j>>0]=(l[j>>0]|0)&(128>>>(d&7)^255)}d=d+1|0}while((d|0)!=(f|0));d=(f+7|0)>>>3}else d=(f+7|0)>>>3;if(d|0){e=k[m+(h<<4)+8>>2]|0;b=k[m+(g<<4)+8>>2]|0;while(1){i[b>>0]=i[e>>0]|i[b>>0];d=d+-1|0;if(!d)break;else{e=e+1|0;b=b+1|0}}}}k[m+(h<<4)>>2]=0;k[m+(h<<4)+12>>2]=0;d=k[a+24>>2]|0;if((d+~h|0)>0){k[p>>2]=k[m+(h<<4)>>2];k[p+4>>2]=k[m+(h<<4)+4>>2];k[p+8>>2]=k[m+(h<<4)+8>>2];k[p+12>>2]=k[m+(h<<4)+12>>2];BBb(m+(h<<4)|0,m+(h<<4)+16|0,d+~h<<4|0)|0;d=m+(h<<4)+(d+~h<<4)|0;k[d>>2]=k[p>>2];k[d+4>>2]=k[p+4>>2];k[d+8>>2]=k[p+8>>2];k[d+12>>2]=k[p+12>>2];d=k[a+24>>2]|0}d=d+-1|0;k[a+24>>2]=d}}while(0);if((n|0)<=1){d=0;o=33;break}}if((o|0)==33){r=p;return d|0}o=d;r=p;return o|0}function RXa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Q2a(k[c>>2]|0)|0;c=Q2a(k[c+4>>2]|0)|0;if(k[a+4>>2]|0)return;c=SXa(a+16+((b>>>0>1?(b|0)!=0&1:b)*36|0)|0,d>>16,c>>16,k[a>>2]|0,0)|0;if(!c)return;k[a+4>>2]=c;return}function SXa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,m=0,n=0,o=0;o=r;r=r+16|0;if((c|0)<0){m=0;b=((c|0)==-21?-21:0)+b|0;j=(c|0)==-21?3:1}else{m=c;j=0}if(e|0)k[e>>2]=-1;h=k[a>>2]|0;c=k[a+8>>2]|0;a:do if(!h){g=0;n=9}else{f=c;g=0;while(1){if((k[f>>2]|0)==(b|0))if((k[f+4>>2]|0)==(m|0)){j=g;break a}g=g+1|0;if(g>>>0>>0)f=f+12|0;else{n=9;break}}}while(0);if((n|0)==9){f=k[a+4>>2]|0;if((h+1|0)>>>0>=f>>>0){k[o>>2]=0;do if(f>>>0<(h+1|0)>>>0){c=WTa(d,12,f,h+8&-8,c,o)|0;k[a+8>>2]=c;f=k[o>>2]|0;if(!f){k[a+4>>2]=h+8&-8;break}e=f;r=o;return e|0}while(0)}f=c+((h+1|0)*12|0)+-12|0;k[a>>2]=h+1;k[f>>2]=b;k[f+4>>2]=m;k[f+8>>2]=j;j=g}b=k[a+12>>2]|0;if(!b){do if(!(k[a+16>>2]|0)){k[o>>2]=0;b=WTa(d,16,0,8,k[a+20>>2]|0,o)|0;k[a+20>>2]=b;c=k[o>>2]|0;if(!c){k[a+16>>2]=8;break}e=c;r=o;return e|0}else b=k[a+20>>2]|0;while(0);k[b>>2]=0;k[b+12>>2]=0;k[a+12>>2]=1;n=24}else{b=(k[a+20>>2]|0)+(b<<4)+-16|0;if((k[b>>2]|0)>>>0<=j>>>0)n=24}if((n|0)==24){f=j+1|0;g=b+4|0;c=((k[g>>2]|0)+7|0)>>>3;h=(j+8|0)>>>3;k[o>>2]=0;do if(h>>>0>c>>>0){n=b+8|0;c=WTa(d,1,c,h+7&1073741816,k[n>>2]|0,o)|0;k[n>>2]=c;c=k[o>>2]|0;if(!c){k[g>>2]=(h+7&1073741816)<<3;break}e=c;r=o;return e|0}while(0);k[b>>2]=f}d=(k[b+8>>2]|0)+(j>>>3)|0;i[d>>0]=l[d>>0]|0|128>>>(j&7);if(!e){e=0;r=o;return e|0}k[e>>2]=j;e=0;r=o;return e|0}function TXa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0;p=r;r=r+16|0;if(k[a+4>>2]|0){r=p;return}o=k[a>>2]|0;g=b>>>0>1?(b|0)!=0&1:b;a:do if((k[a+12>>2]|0)==1){b=(Q2a(k[c>>2]|0)|0)>>16;b=SXa(a+16+(g*36|0)|0,b,(Q2a(k[c+4>>2]|0)|0)>>16,o,p)|0;if(!b){b=(Q2a(k[c+8>>2]|0)|0)>>16;b=SXa(a+16+(g*36|0)|0,b,(Q2a(k[c+12>>2]|0)|0)>>16,o,p+4|0)|0;if(!b){b=(Q2a(k[c+16>>2]|0)|0)>>16;b=SXa(a+16+(g*36|0)|0,b,(Q2a(k[c+20>>2]|0)|0)>>16,o,p+8|0)|0;if(!b){h=k[p>>2]|0;j=k[p+4>>2]|0;m=k[p+8>>2]|0;f=k[a+16+(g*36|0)+24>>2]|0;b:do if(!f)n=13;else{e=f;c=k[a+16+(g*36|0)+32>>2]|0;while(1){b=c;d=k[b>>2]|0;if(d>>>0>h>>>0)if((l[(k[b+8>>2]|0)+(h>>3)>>0]|0)&128>>>(h&7)|0)break b;if(d>>>0>j>>>0)if((l[(k[b+8>>2]|0)+(j>>3)>>0]|0)&128>>>(j&7)|0)break b;if(d>>>0>m>>>0)if((l[(k[b+8>>2]|0)+(m>>3)>>0]|0)&128>>>(m&7)|0)break b;e=e+-1|0;if(!e){n=13;break}else c=b+16|0}}while(0);if((n|0)==13){b=k[a+16+(g*36|0)+28>>2]|0;do if((f+1|0)>>>0>b>>>0){k[p+12>>2]=0;c=WTa(o,16,b,f+8&-8,k[a+16+(g*36|0)+32>>2]|0,p+12|0)|0;k[a+16+(g*36|0)+32>>2]=c;b=k[p+12>>2]|0;if(!b){k[a+16+(g*36|0)+28>>2]=f+8&-8;b=c;break}else break a}else b=k[a+16+(g*36|0)+32>>2]|0;while(0);c=b+(f+1<<4)+-16|0;k[c>>2]=0;k[c+12>>2]=0;k[a+16+(g*36|0)+24>>2]=f+1}if((h|0)>-1){d=c;if((k[d>>2]|0)>>>0<=h>>>0){b=((k[d+4>>2]|0)+7|0)>>>3;k[p+12>>2]=0;do if((h+8|0)>>>3>>>0>b>>>0){b=WTa(o,1,b,((h+8|0)>>>3)+7&1073741816,k[d+8>>2]|0,p+12|0)|0;k[d+8>>2]=b;b=k[p+12>>2]|0;if(!b){k[d+4>>2]=(((h+8|0)>>>3)+7&1073741816)<<3;break}else break a}while(0);k[d>>2]=h+1}g=(k[d+8>>2]|0)+(h>>>3)|0;i[g>>0]=l[g>>0]|0|128>>>(h&7)}if((j|0)>-1){if((k[c>>2]|0)>>>0<=j>>>0){b=((k[c+4>>2]|0)+7|0)>>>3;k[p+12>>2]=0;do if((j+8|0)>>>3>>>0>b>>>0){b=WTa(o,1,b,((j+8|0)>>>3)+7&1073741816,k[c+8>>2]|0,p+12|0)|0;k[c+8>>2]=b;b=k[p+12>>2]|0;if(!b){k[c+4>>2]=(((j+8|0)>>>3)+7&1073741816)<<3;break}else break a}while(0);k[c>>2]=j+1}h=(k[c+8>>2]|0)+(j>>>3)|0;i[h>>0]=l[h>>0]|0|128>>>(j&7);if((m|0)>-1){e=c;d=c;n=37}}else if((m|0)>-1){d=c;e=d;n=37}if((n|0)==37){if((k[d>>2]|0)>>>0<=m>>>0){c=e+4|0;b=((k[c>>2]|0)+7|0)>>>3;k[p+12>>2]=0;do if((m+8|0)>>>3>>>0>b>>>0){n=e+8|0;b=WTa(o,1,b,((m+8|0)>>>3)+7&1073741816,k[n>>2]|0,p+12|0)|0;k[n>>2]=b;b=k[p+12>>2]|0;if(!b){k[c>>2]=(((m+8|0)>>>3)+7&1073741816)<<3;break}else break a}while(0);k[d>>2]=m+1}a=(k[e+8>>2]|0)+(m>>>3)|0;i[a>>0]=l[a>>0]|0|128>>>(m&7)}r=p;return}}}}else b=6;while(0);k[a+4>>2]=b;r=p;return}function UXa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=r;r=r+16|0;if(k[a+4>>2]|0){r=g;return}f=k[a>>2]|0;a:do if((k[a+12>>2]|0)==1){e=k[a+28>>2]|0;if(e|0)k[(k[a+36>>2]|0)+(e<<4)+-16+12>>2]=b;c=k[a+32>>2]|0;do if((e+1|0)>>>0>c>>>0){k[g>>2]=0;d=WTa(f,16,c,e+8&-8,k[a+36>>2]|0,g)|0;k[a+36>>2]=d;c=k[g>>2]|0;if(!c){k[a+32>>2]=e+8&-8;c=d;break}else break a}else c=k[a+36>>2]|0;while(0);d=c+(e+1<<4)+-16|0;k[d>>2]=0;k[d+12>>2]=0;k[a+28>>2]=e+1;e=k[a+64>>2]|0;if(e|0)k[(k[a+72>>2]|0)+(e<<4)+-16+12>>2]=b;c=k[a+68>>2]|0;do if((e+1|0)>>>0>c>>>0){k[g>>2]=0;d=WTa(f,16,c,e+8&-8,k[a+72>>2]|0,g)|0;k[a+72>>2]=d;c=k[g>>2]|0;if(!c){k[a+68>>2]=e+8&-8;c=d;break}else break a}else c=k[a+72>>2]|0;while(0);f=c+(e+1<<4)+-16|0;k[f>>2]=0;k[f+12>>2]=0;k[a+64>>2]=e+1;r=g;return}else c=6;while(0);k[a+4>>2]=c;r=g;return}function VXa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=r;r=r+208|0;if(!(j[b+2>>1]|0)){c=0;r=B;return c|0}g=k[b>>2]|0;if(!((g&65535)<<16>>16)){c=0;r=B;return c|0}e=B;f=e+128|0;do{k[e>>2]=0;e=e+4|0}while((e|0)<(f|0));y=k[c>>2]|0;k[B+16>>2]=y;f=WTa(y,40,0,g>>16,0,B+136|0)|0;k[B+8>>2]=f;f=k[B+136>>2]|0;if(!f){e=WTa(y,8,0,j[b>>1]|0,0,B+136|0)|0;k[B+12>>2]=e;f=k[B+136>>2]|0;if(!f){s=j[b+2>>1]|0;k[B>>2]=s<<16>>16;p=j[b>>1]|0;k[B+4>>2]=p<<16>>16;v=k[B+8>>2]|0;if(p<<16>>16){q=k[b+12>>2]|0;m=0;o=0;while(1){f=j[q+(o<<1)>>1]|0;n=m;m=f+1|0;g=m-n|0;k[e>>2]=v+(n*40|0);k[e+4>>2]=g;if((m|0)!=(n|0)){k[v+(n*40|0)>>2]=v+(m*40|0)+-40;k[v+(n*40|0)+8>>2]=e;if(g>>>0>1){h=v+(n*40|0)|0;do{z=h;h=h+40|0;k[z+4>>2]=h;k[h>>2]=z;k[z+48>>2]=e;g=g+-1|0}while(g>>>0>1)}else f=n;k[v+(f*40|0)+4>>2]=v+(n*40|0)}o=o+1|0;if(o>>>0>=p<<16>>16>>>0)break;else e=e+8|0}}u=k[b+4>>2]|0;if(!(s<<16>>16)){k[B+20>>2]=b;k[B+24>>2]=c}else{s=0;t=v;while(1){e=((k[t>>2]|0)-v|0)/40|0;h=((k[t+4>>2]|0)-v|0)/40|0;if(!(i[(k[b+8>>2]|0)+s>>0]&1))k[t+12>>2]=1;g=k[u+(s<<3)>>2]|0;q=g-(k[u+(e<<3)>>2]|0)|0;m=k[u+(s<<3)+4>>2]|0;p=m-(k[u+(e<<3)+4>>2]|0)|0;e=(q|0)<0?0-q|0:q;f=(p|0)<0?0-p|0:p;if((f*12|0)<(e|0))o=q>>31&-4|2;else if((e*12|0)<(f|0))o=(p>>31&2)+-1|0;else o=4;i[t+20>>0]=o;n=(k[u+(h<<3)>>2]|0)-g|0;h=(k[u+(h<<3)+4>>2]|0)-m|0;e=(n|0)<0?0-n|0:n;f=(h|0)<0?0-h|0:h;if((f*12|0)<(e|0))f=n>>31&-4|2;else if((e*12|0)<(f|0))f=(h>>31&2)+-1|0;else f=4;i[t+21>>0]=f;g=t+12|0;e=k[g>>2]|0;do if(!(e&1)){if((o|0)==(f|0)){if((o|0)==4){if(!(_2a(q,p,n,h)|0))break;e=k[g>>2]|0}k[g>>2]=e|2}}else k[g>>2]=e|2;while(0);s=s+1|0;g=k[B>>2]|0;if(s>>>0>=g>>>0)break;else t=t+40|0}f=k[B+8>>2]|0;e=k[b+4>>2]|0;k[B+20>>2]=b;k[B+24>>2]=c;if(g|0)while(1){k[f+16>>2]=0;k[f+24>>2]=0;k[f+28>>2]=k[e>>2];k[f+32>>2]=k[e+4>>2];g=g+-1|0;if(!g)break;else{f=f+40|0;e=e+8|0}}}if(k[B+4>>2]|0){x=0;do{e=k[B+12>>2]|0;a:do if((k[e+(x<<3)+4>>2]|0)>>>0>=4){b=k[e+(x<<3)>>2]|0;e=b;do{e=k[e+4>>2]|0;if((e|0)==(b|0))break a;p=k[e+28>>2]|0;q=k[b+28>>2]|0;s=k[e+32>>2]|0;u=k[b+32>>2]|0}while((p|0)==(q|0)&(s|0)==(u|0));f=k[b>>2]|0;if((f|0)!=(b|0)){g=q;h=u;m=b;while(1){n=f+28|0;t=k[n>>2]|0;v=g-t|0;o=f+32|0;z=k[o>>2]|0;w=h-z|0;if(!((g|0)==(t|0)&(h|0)==(z|0))){t=Z2a(p-q|0,s-u|0,v,w)|0;if(t|0)break}g=k[f>>2]|0;if((g|0)==(b|0))break a;m=f;f=g;g=k[n>>2]|0;h=k[o>>2]|0}u=w;g=m;while(1){h=e;f=0;while(1){e=k[h+4>>2]|0;f=(e|0)==(m|0)?1:f;n=k[e+28>>2]|0;o=k[h+28>>2]|0;p=k[e+32>>2]|0;q=k[h+32>>2]|0;if((n|0)==(o|0)&(p|0)==(q|0)){h=e;continue}s=Z2a(v,u,n-o|0,p-q|0)|0;if(!s)h=e;else break}if((s^t|0)<0){do{z=g+12|0;k[z>>2]=k[z>>2]|4;g=k[g+4>>2]|0}while((g|0)!=(h|0));k[h+12>>2]=k[h+12>>2]|4}if(!f){v=n-o|0;u=p-q|0;t=s;g=h}else break}}}while(0);x=x+1|0}while(x>>>0<(k[B+4>>2]|0)>>>0)}e=WXa(B+28|0,a+16|0,a+28|0,y)|0;k[B+136>>2]=e;if(!e){f=WXa(B+68|0,a+52|0,a+64|0,y)|0;if(!f){z=k[B+24>>2]|0;a=k[z+200>>2]|0;z=k[z+404>>2]|0;e=U2a(k[c+416>>2]|0,z)|0;if((e+32&-64|0)==0|(e|0)==(e+32&-64|0))y=1;else{f=S2a(z,e+32&-64,e)|0;if((e+32&-64|0)<(e|0))e=a-((a|0)/50|0)|0;else e=a;MXa(k[B+24>>2]|0,e,f,0,0);y=0}i[B+120>>0]=1;i[B+121>>0]=1;i[B+122>>0]=(d|1|0)==3&1;i[B+123>>0]=((d|0)==2|(d|0)==4)&1;i[B+124>>0]=(d|0)!=1&1;x=0;while(1){t=k[B>>2]|0;u=k[B+8>>2]|0;e=k[(k[B+20>>2]|0)+4>>2]|0;if(t|0)if(!x){f=t;g=u;while(1){k[g+16>>2]=0;k[g+24>>2]=0;k[g+28>>2]=k[e>>2];k[g+32>>2]=k[e+4>>2];f=f+-1|0;if(!f)break;else{g=g+40|0;e=e+8|0}}}else{f=t;g=u;while(1){k[g+16>>2]=0;k[g+24>>2]=0;k[g+28>>2]=k[e+4>>2];k[g+32>>2]=k[e>>2];f=f+-1|0;if(!f)break;else{g=g+40|0;e=e+8|0}}}q=k[B+4>>2]|0;b:do if(!q)e=0;else{s=k[B+12>>2]|0;e=0;while(1){g=k[s+(e<<3)>>2]|0;c:do if(k[s+(e<<3)+4>>2]|0){f=g;do{f=k[f>>2]|0;if((f|0)==(g|0)){A=95;break b}}while((k[f+28>>2]|0)==(k[g+28>>2]|0));p=k[f+4>>2]|0;o=p;while(1){n=o+28|0;g=o;do{g=k[g+4>>2]|0;if((g|0)==(p|0))break c;h=k[g+28>>2]|0;m=k[n>>2]|0}while((h|0)==(m|0));if((k[f+28>>2]|0)<(m|0)){if((h|0)<(m|0)){f=o;A=80}}else if((h|0)>(m|0)){f=o;A=80}if((A|0)==80)while(1){A=0;d=f+16|0;k[d>>2]=k[d>>2]|64;f=k[f+4>>2]|0;if((f|0)==(g|0))break;else A=80}f=k[g>>2]|0;o=g}}while(0);e=e+1|0;if(e>>>0>=q>>>0){e=0;break}}}while(0);d:while(1){if((A|0)==95){A=0;e=e+1|0}if(e>>>0>=t>>>0)break;h=u+(e*40|0)|0;m=u+(e*40|0)+16|0;n=k[m>>2]|0;if(!(n&64)){A=95;continue}f=u+(e*40|0)+32|0;g=h;while(1){g=k[g>>2]|0;if((g|0)==(h|0)){A=95;continue d}o=k[g+32>>2]|0;p=k[f>>2]|0;if((o|0)!=(p|0))break}g=h;while(1){g=k[g+4>>2]|0;if((g|0)==(h|0)){A=95;continue d}f=k[g+32>>2]|0;if((f|0)!=(p|0))break}if((o|0)<(p|0)&(f|0)>(p|0)){k[m>>2]=n|128;A=95;continue}if(!((o|0)>(p|0)&(f|0)<(p|0))){A=95;continue}k[m>>2]=n|256;A=95}u=B+28+(x*40|0)|0;g=k[B+24>>2]|0;e=k[u>>2]|0;if(e){f=k[B+28+(x*40|0)+8>>2]|0;while(1){XXa(f,g,x,B);e=e+-1|0;if(!e)break;else f=f+28|0}g=k[B+24>>2]|0}s=B+28+(x*40|0)+32|0;m=k[s>>2]|0;h=k[m+8>>2]|0;m=k[m>>2]|0;w=(x|0)==0;t=w?1:2;q=V2a(32,k[g+4+(x*204|0)+196>>2]|0)|0;q=(q|0)>30?30:q;e:do if(m>>>0>1){g=k[B>>2]|0;if(!g){v=1;m=0}else{o=k[h+12>>2]|0;f=B+28+(x*40|0)+4|0;e=B+28+(x*40|0)+12|0;p=g;o=o>>>0>g>>>0?g:o;g=m;while(1){n=h+16|0;m=k[h+28>>2]|0;m=m>>>0

>>0?m:p;if(m>>>0>o>>>0){A=(k[B+8>>2]|0)+(o*40|0)|0;YXa(u,k[n>>2]|0,k[h+24>>2]|0);ZXa(k[f>>2]|0,k[e>>2]|0,A,m-o|0,q,t)}g=g+-1|0;if(g>>>0<=1){A=109;break e}h=n;p=k[B>>2]|0;o=m}}}else if((m|0)==1){f=B+28+(x*40|0)+4|0;e=B+28+(x*40|0)+12|0;A=109}else A=110;while(0);if((A|0)==109){d=k[B>>2]|0;b=k[B+8>>2]|0;v=k[(k[s>>2]|0)+8>>2]|0;YXa(u,k[v>>2]|0,k[v+8>>2]|0);ZXa(k[f>>2]|0,k[e>>2]|0,b,d,q,t);A=110}if((A|0)==110){A=0;m=k[B>>2]|0;if(!m){v=1;m=0}else{g=m;h=k[B+8>>2]|0;while(1){do if(k[h+24>>2]|0){e=h+16|0;f=k[e>>2]|0;if(f&16|0)break;k[e>>2]=f|16}while(0);g=g+-1|0;if(!g){v=(m|0)==0;break}else h=h+40|0}}}f:do if((x|0)==1)if(v)e=0;else{e=k[B+8>>2]|0;t=m;u=e;while(1){f=j[u+20>>1]|0;switch((f&255)<<24>>24){case -2:case 2:{A=122;break}default:switch(((f&65535)>>>8&255)<<24>>24){case -2:case 2:{A=122;break}default:{}}}g:do if((A|0)==122){A=0;q=u+16|0;f=k[q>>2]|0;if(f&16|0)break;s=k[u+28>>2]|0;g=k[c+412>>2]|0;h:do if(g){o=k[c+2488>>2]|0;p=u+36|0;n=c+416|0;while(1){h=s-(k[n+12>>2]|0)|0;if((h|0)<(0-o|0))break h;do if((s|0)<=((k[n+8>>2]|0)+o|0)){if(!(i[c+2492>>0]|0))if((h|0)>(k[c+2484>>2]|0))break;k[p>>2]=k[n+24>>2];f=f|48;k[q>>2]=f}while(0);g=g+-1|0;if(!g)break;else n=n+32|0}}while(0);g=k[c+928>>2]|0;if(!g)break;o=k[c+2488>>2]|0;p=u+36|0;n=c+932+(g<<5)|0;do{h=(k[n+-24>>2]|0)-s|0;if((h|0)<(0-o|0))break g;do if((s|0)>=((k[n+-20>>2]|0)-o|0)){if(!(i[c+2492>>0]|0))if((h|0)>=(k[c+2484>>2]|0))break;k[p>>2]=k[n+-4>>2];f=f|48;k[q>>2]=f}while(0);n=n+-32|0;g=g+-1|0}while((g|0)!=0)}while(0);t=t+-1|0;if(!t){A=140;break f}else u=u+40|0}}else{e=k[B+8>>2]|0;A=140}while(0);if((A|0)==140){A=0;q=k[(k[B+24>>2]|0)+4+(x*204|0)+196>>2]|0;if(v)e=0;else{while(1){g=k[e+24>>2]|0;if(g|0){p=e+16|0;f=k[p>>2]|0;do if(!(f&512)){if(f&1024|0){k[e+36>>2]=(k[g+12>>2]|0)+(k[g+8>>2]|0);break}h=(k[e+28>>2]|0)-(k[g>>2]|0)|0;if((h|0)<1){d=k[g+8>>2]|0;d=(U2a(h,q)|0)+d|0;k[e+36>>2]=d;break}n=k[g+4>>2]|0;o=k[g+8>>2]|0;f=k[g+12>>2]|0;if((h|0)<(n|0)){d=(S2a(h,f,n)|0)+o|0;k[e+36>>2]=d;break}else{d=f+o+(U2a(h-n|0,q)|0)|0;k[e+36>>2]=d;break}}else k[e+36>>2]=k[g+8>>2];while(0);k[p>>2]=k[p>>2]|32}m=m+-1|0;if(!m)break;else e=e+40|0}e=k[B>>2]|0}}t=k[(k[B+24>>2]|0)+4+(x*204|0)+196>>2]|0;u=k[B+16>>2]|0;p=k[B+8>>2]|0;v=p+(e*40|0)|0;do if((e|0)>0){e=0;f=p;do{e=((k[f+16>>2]|0)>>>4&1)+e|0;f=f+40|0}while(f>>>0>>0);if(e|0){if(e>>>0<17)e=B+136|0;else{e=WTa(u,4,0,e,0,B+128|0)|0;if(k[B+128>>2]|0)break}f=0;o=p;do{if(k[o+16>>2]&16){g=e+(f<<2)|0;i:do if((f|0)>0){n=k[o+28>>2]|0;while(1){h=g+-4|0;m=k[h>>2]|0;if((k[m+28>>2]|0)<=(n|0))break i;k[g>>2]=m;if(h>>>0>e>>>0)g=h;else{g=h;break}}}while(0);k[g>>2]=o;f=f+1|0}o=o+40|0}while(o>>>0>>0);s=e+(f+-1<<2)|0;do{q=p+16|0;g=k[q>>2]|0;do if(!(g&16)){h=p+12|0;m=k[h>>2]|0;if(m&2|0){n=j[p+20>>1]|0;if((n&255)<<24>>24==4)break;if((n&255)<<24>>24!=((n&65535)>>>8&255)<<24>>24)break;if(!(m&4|g&64))break;k[h>>2]=m&-3}o=k[p+28>>2]|0;do if(!f)A=178;else{g=0;do{if((k[(k[e+(g<<2)>>2]|0)+28>>2]|0)>(o|0)){A=177;break}g=g+1|0}while(g>>>0>>0);if((A|0)==177){A=0;if(!g){A=178;break}}n=k[e+(g+-1<<2)>>2]|0;g=f;while(1){if(!g){g=0;break}h=g+-1|0;if((k[(k[e+(h<<2)>>2]|0)+28>>2]|0)<(o|0))break;else g=h}if((g|0)==(f|0)){b=k[s>>2]|0;d=k[b+36>>2]|0;d=(U2a(o-(k[b+28>>2]|0)|0,t)|0)+d|0;k[p+36>>2]=d;break}g=k[e+(g<<2)>>2]|0;h=k[n+28>>2]|0;if((o|0)==(h|0)){k[p+36>>2]=k[n+36>>2];break}m=k[g+28>>2]|0;g=k[g+36>>2]|0;if((o|0)==(m|0)){k[p+36>>2]=g;break}else{d=k[n+36>>2]|0;d=(S2a(o-h|0,g-d|0,m-h|0)|0)+d|0;k[p+36>>2]=d;break}}while(0);if((A|0)==178){A=0;b=k[e>>2]|0;d=k[b+36>>2]|0;d=(U2a(o-(k[b+28>>2]|0)|0,t)|0)+d|0;k[p+36>>2]=d}k[q>>2]=k[q>>2]|32}while(0);p=p+40|0}while(p>>>0>>0);if((e|0)==(B+136|0))break;YTa(u,e)}}while(0);f=k[B+4>>2]|0;e=k[B+24>>2]|0;v=k[e+4+(x*204|0)+196>>2]|0;if(f|0){b=k[B+12>>2]|0;e=k[e+4+(x*204|0)+200>>2]|0;while(1){n=k[b>>2]|0;o=k[b+4>>2]|0;j:do if((o|0)>0){h=0;g=0;m=n;do{if(k[m+16>>2]&32){h=(h|0)==0?m:h;g=g+1|0}m=m+40|0}while(m>>>0<(n+(o*40|0)|0)>>>0);u=h;if(g>>>0<2){if((g|0)==1){e=k[u+36>>2]|0;e=e-(U2a(k[u+28>>2]|0,v)|0)|0}g=n;while(1){if((g|0)!=(u|0)){d=(U2a(k[g+28>>2]|0,v)|0)+e|0;k[g+36>>2]=d}g=g+40|0;if(g>>>0>=(n+(o*40|0)|0)>>>0)break j}}g=k[u+4>>2]|0;if((g|0)==(u|0))break;else{q=u+4|0;m=u}while(1){if(!(k[g+16>>2]&32)){h=g;do h=k[h+4>>2]|0;while((k[h+16>>2]&32|0)==0);o=k[m+28>>2]|0;p=k[h+28>>2]|0;n=k[h+36>>2]|0;m=k[m+36>>2]|0;if((o|0)>(p|0)){t=n;m=m-n|0;s=p;p=o-p|0}else{t=m;m=n-m|0;s=o;p=p-o|0}if((p|0)>0){o=V2a(m,p)|0;g=k[q>>2]|0}else o=65536;n=m+t|0;do{m=(k[g+28>>2]|0)-s|0;do if((m|0)<1)m=(U2a(m,v)|0)+t|0;else if((m|0)<(p|0)){m=(U2a(m,o)|0)+t|0;break}else{m=n+(U2a(m-p|0,v)|0)|0;break}while(0);k[g+36>>2]=m;g=k[g+4>>2]|0}while((g|0)!=(h|0));if((h|0)==(u|0))break j}else h=g;q=h+4|0;g=k[q>>2]|0;if((g|0)==(u|0))break;else m=h}}while(0);f=f+-1|0;if(!f)break;else b=b+8|0}}f=k[B+8>>2]|0;m=k[B+20>>2]|0;h=k[m+4>>2]|0;m=k[m+8>>2]|0;e=k[B>>2]|0;if(e|0){n=w?32:64;if(w){g=0;while(1){k[h+(g<<3)>>2]=k[f+36>>2];if(k[f+16>>2]&16){e=m+g|0;i[e>>0]=l[e>>0]|n;e=k[B>>2]|0}g=g+1|0;if(g>>>0>=e>>>0)break;else f=f+40|0}}else{g=0;while(1){k[h+(g<<3)+4>>2]=k[f+36>>2];if(k[f+16>>2]&16){e=m+g|0;i[e>>0]=l[e>>0]|n;e=k[B>>2]|0}g=g+1|0;if(g>>>0>=e>>>0)break;else f=f+40|0}}}if(!y)MXa(k[B+24>>2]|0,a,z,0,0);x=x+1|0;if((x|0)==2){e=B+12|0;h=B;m=B+4|0;g=B+12|0;f=0;break}}}else{e=B+12|0;h=B;m=B+4|0;g=B+12|0}}else{f=e;g=B+12|0;e=B+12|0;A=56}}else{g=B+12|0;e=B+12|0;A=56}}else{g=B+12|0;e=B+12|0;A=56}if((A|0)==56){h=B;m=B+4|0}c=k[B+16>>2]|0;YTa(c,k[B+92>>2]|0);k[B+92>>2]=0;k[B+88>>2]=0;k[B+96>>2]=0;YTa(c,k[B+80>>2]|0);k[B+80>>2]=0;YTa(c,k[B+76>>2]|0);k[B+76>>2]=0;k[B+72>>2]=0;k[B+68>>2]=0;k[B+84>>2]=0;YTa(c,k[B+52>>2]|0);k[B+52>>2]=0;k[B+48>>2]=0;k[B+56>>2]=0;YTa(c,k[B+40>>2]|0);k[B+40>>2]=0;YTa(c,k[B+36>>2]|0);k[B+36>>2]=0;k[B+32>>2]=0;k[B+28>>2]=0;k[B+44>>2]=0;YTa(c,k[B+8>>2]|0);k[B+8>>2]=0;YTa(c,k[e>>2]|0);k[g>>2]=0;k[h>>2]=0;k[m>>2]=0;k[B+16>>2]=0;c=f;r=B;return c|0}function WXa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0;w=r;r=r+16|0;v=k[b>>2]|0;u=WTa(d,4,0,v<<1,0,w)|0;k[a+12>>2]=u;if(k[w>>2]|0){a=k[w>>2]|0;r=w;return a|0}u=WTa(d,28,0,v,0,w)|0;k[a+8>>2]=u;if(k[w>>2]|0){a=k[w>>2]|0;r=w;return a|0}u=WTa(d,16,0,v<<1|1,0,w)|0;k[a+24>>2]=u;if(k[w>>2]|0){a=k[w>>2]|0;r=w;return a|0}k[a>>2]=v;k[a+16>>2]=(k[a+12>>2]|0)+(v<<2);k[a+4>>2]=0;k[a+20>>2]=0;k[a+28>>2]=0;if(v|0){e=v;d=k[b+8>>2]|0;b=k[a+8>>2]|0;while(1){k[b>>2]=k[d>>2];k[b+4>>2]=k[d+4>>2];k[b+16>>2]=k[d+8>>2];e=e+-1|0;if(!e)break;else{d=d+12|0;b=b+28|0}}}if(!c)d=0;else{e=k[c+8>>2]|0;b=k[c>>2]|0;k[a+32>>2]=c;if(!b)d=0;else{d=0;while(1){u=k[e>>2]|0;if(u){g=k[e+8>>2]|0;t=0;c=0;f=0;while(1){if(!c){s=g+1|0;c=128;f=l[g>>0]|0}else s=g;if(c&f){i=k[a+8>>2]|0;q=i+(t*28|0)|0;if(v>>>0>t>>>0){g=i+(t*28|0)+16|0;h=k[g>>2]|0;if(!(h&4)){k[g>>2]=h|4;o=k[a+16>>2]|0;p=i+(t*28|0)+20|0;k[p>>2]=0;a:do if(d|0){n=k[q>>2]|0;g=(k[i+(t*28|0)+4>>2]|0)+n|0;j=d;m=o;while(1){h=k[m>>2]|0;i=k[h>>2]|0;if((g|0)>=(i|0))if(((k[h+4>>2]|0)+i|0)>=(n|0))break;j=j+-1|0;if(!j)break a;else m=m+4|0}k[p>>2]=h}while(0);if(d>>>0>>0){p=d+1|0;k[a+4>>2]=p;k[o+(d<<2)>>2]=q;d=p}}}}t=t+1|0;if((t|0)==(u|0))break;else{g=s;c=c>>1}}}b=b+-1|0;if(!b)break;else e=e+16|0}}}if((d|0)!=(v|0)&(v|0)!=0)n=0;else{a=k[w>>2]|0;r=w;return a|0}do{c=k[a+8>>2]|0;m=c+(n*28|0)|0;if(v>>>0>n>>>0){b=c+(n*28|0)+16|0;e=k[b>>2]|0;if(!(e&4)){k[b>>2]=e|4;i=k[a+16>>2]|0;j=c+(n*28|0)+20|0;k[j>>2]=0;b:do if(d|0){h=k[m>>2]|0;b=(k[c+(n*28|0)+4>>2]|0)+h|0;f=d;g=i;while(1){e=k[g>>2]|0;c=k[e>>2]|0;if((b|0)>=(c|0))if(((k[e+4>>2]|0)+c|0)>=(h|0))break;f=f+-1|0;if(!f)break b;else g=g+4|0}k[j>>2]=e}while(0);if(d>>>0>>0){u=d+1|0;k[a+4>>2]=u;k[i+(d<<2)>>2]=m;d=u}}}n=n+1|0}while((n|0)!=(v|0));a=k[w>>2]|0;r=w;return a|0}function XXa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;q=k[b+4+(c*204|0)+196>>2]|0;if(k[a+16>>2]&8|0)return;r=k[b+4+(c*204|0)+200>>2]|0;r=(U2a(k[a>>2]|0,q)|0)+r|0;s=U2a(k[a+4>>2]|0,q)|0;a:do switch(c|0){case 0:{e=k[d+120>>2]|0;if(!((e&255)<<24>>24))t=7;else{k[a+12>>2]=s;f=a+12|0;m=(e&16711680|0)!=0;n=0;g=0;t=28}break}case 1:{if(!(i[d+121>>0]|0))t=7;else{p=(i[d+123>>0]|0)!=0;k[a+12>>2]=s;n=k[a>>2]|0;g=(k[a+4>>2]|0)+n|0;o=i[b+2492>>0]|0;e=k[b+412>>2]|0;b:do if(!e){h=2;m=0;g=0}else{h=k[b+2488>>2]|0;f=b+416|0;while(1){j=g-(k[f+12>>2]|0)|0;if((j|0)<(0-h|0)){h=2;m=0;g=0;break b}if(((k[f+8>>2]|0)+h|0)>=(g|0)){e=f;break}e=e+-1|0;if(!e){h=2;m=0;g=0;break b}else f=f+32|0}if(!(o<<24>>24))if((j|0)>(k[b+2484>>2]|0)){h=2;m=0;g=0;break}h=3;m=1;g=k[e+16>>2]|0}while(0);f=k[b+928>>2]|0;c:do if(!f){h=m;e=0}else{j=k[b+2488>>2]|0;e=b+932+(f<<5)|0;while(1){l=(k[e+-24>>2]|0)-n|0;if((l|0)<(0-j|0)){h=m;e=0;break c}f=f+-1|0;if(((k[e+-20>>2]|0)-j|0)<=(n|0))break;if(!f){h=m;e=0;break c}else e=e+-32|0}if(!(o<<24>>24))if((l|0)>=(k[b+2484>>2]|0)){h=m;e=0;break}e=k[e+-16>>2]|0}while(0);switch(h|0){case 1:{k[a+8>>2]=g-s;if(!p)break a;h=a+8|0;f=a+12|0;e=(s|0)<64?64:s+32&-64;t=50;break a}case 2:{k[a+8>>2]=e;if(!p)break a;f=a+12|0;e=(s|0)<64?64:s+32&-64;t=51;break a}case 3:{k[a+8>>2]=e;k[a+12>>2]=g-e;break a}default:{f=a+12|0;m=p;n=h;t=28;break a}}}break}default:{k[a+12>>2]=s;f=a+12|0;m=0;n=0;g=0;t=28}}while(0);if((t|0)==7){k[a+8>>2]=r;k[a+12>>2]=s;k[a+16>>2]=k[a+16>>2]|8;return}d:do if((t|0)==28){e=k[a+20>>2]|0;if(!e)l=r;else{if(!(k[e+16>>2]&8))XXa(e,b,c,d);r=k[e+8>>2]|0;l=k[e+12>>2]>>1;l=r-(s>>1)+l+(U2a((k[a>>2]|0)-((k[e+4>>2]>>1)+(k[e>>2]|0))+(k[a+4>>2]>>1)|0,q)|0)|0}k[a+8>>2]=l;k[f>>2]=s;do if(!(i[d+124>>0]|0)){h=s;e=l}else{if((s|0)<65){if((s|0)>31){h=64;e=l+(s>>1)&-64;break}e=l+32&-64;if((s|0)<=0){h=s;break}d=l+s|0;c=e-l|0;b=(d+32&-64)-d|0;h=s;e=(((c|0)<0?0-c|0:c)|0)>(((b|0)<0?0-b|0:b)|0)?d+32&-64:e;break}e=k[b+4+(c*204|0)+8>>2]|0;if((((s-e|0)<0?0-(s-e)|0:s-e|0)|0)<40)if((e|0)<48){e=48;j=48;h=0}else t=40;else{e=s;t=40}if((t|0)==40){if((e|0)>=192){h=e+32&-64;e=l;break}j=e&63;h=e&-64;if(j>>>0<10){h=e;e=l;break}if(j>>>0<32){h=h|10;e=l;break}}h=j>>>0<54?h|54:e;e=l}while(0);d=e+32|0;s=(d&-64)-e|0;d=(d+h&-64)-e-h|0;k[a+8>>2]=((((s|0)<0?0-s|0:s)|0)>(((d|0)<0?0-d|0:d)|0)?d:s)+e;k[f>>2]=h;if(m){e=(h|0)<64?64:h+32&-64;switch(n|0){case 3:break d;case 1:{h=a+8|0;t=50;break d}case 2:{t=51;break d}default:{}}s=(k[a+8>>2]|0)+(e>>1)|0;k[a+8>>2]=((e&64|0)==0?s+32&-64:s&-64|32)-(e>>1);k[f>>2]=e}}while(0);if((t|0)==50){k[h>>2]=g-e;k[f>>2]=e}else if((t|0)==51)k[f>>2]=e;k[a+16>>2]=k[a+16>>2]|8;return}function YXa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,m=0;m=k[a>>2]|0;if(m|0){d=m;e=k[a+8>>2]|0;while(1){j=e+16|0;k[j>>2]=k[j>>2]&-5;k[e+24>>2]=-1;d=d+-1|0;if(!d)break;else e=e+28|0}}if(!b){k[a+4>>2]=0;return}d=0;j=0;e=0;f=0;while(1){if(!e){i=c+1|0;e=128;f=l[c>>0]|0}else i=c;if(e&f){g=k[a+8>>2]|0;c=g+(j*28|0)|0;g=g+(j*28|0)+16|0;h=k[g>>2]|0;if(!(h&4)){k[g>>2]=h|4;if(d>>>0>>0){k[(k[a+12>>2]|0)+(d<<2)>>2]=c;d=d+1|0}}}j=j+1|0;if((j|0)==(b|0))break;else{c=i;e=e>>1}}k[a+4>>2]=d;e=k[a+12>>2]|0;if((d|0)>1)i=1;else return;do{c=k[e+(i<<2)>>2]|0;f=k[c>>2]|0;j=i;do{b=j;j=j+-1|0;g=e+(j<<2)|0;h=k[g>>2]|0;if((k[h>>2]|0)<(f|0))break;k[e+(b<<2)>>2]=h;k[g>>2]=c}while((b|0)>1);i=i+1|0}while((i|0)!=(d|0));return}function ZXa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0;if(!d)return;n=(f|0)==2?128:256;o=(f|0)==2?256:128;while(1){m=k[c+28>>2]|0;i=c+16|0;l=k[i>>2]|0;a:do if(!(l&16)){g=j[c+20>>1]|0;if(((g&65535)<<24>>24|0)==(f|0)?1:((g&65535)<<24>>24|0)==(0-f|0)){g=(g&65535)<<24>>24;p=6}else if((((g&65535)>>>8&65535)<<24>>24|0)==(f|0)?1:(((g&65535)>>>8&65535)<<24>>24|0)==(0-f|0)){g=((g&65535)>>>8&65535)<<24>>24;p=6}if((p|0)==6){p=0;if(g|0)if((g|0)==(f|0)){if(!a)break;else h=0;while(1){g=k[b+(h<<2)>>2]|0;q=m-(k[g>>2]|0)|0;h=h+1|0;if((q|0)<(e|0)&(0-q|0)<(e|0))break;if(h>>>0>=a>>>0)break a}k[i>>2]=l|528;k[c+24>>2]=g;break}else{if((g|0)!=(0-f|0)|(a|0)==0)break;else h=0;while(1){g=k[b+(h<<2)>>2]|0;q=m-(k[g>>2]|0)-(k[g+4>>2]|0)|0;h=h+1|0;if((q|0)<(e|0)&(0-q|0)<(e|0))break;if(h>>>0>=a>>>0)break a}k[i>>2]=l|1040;k[c+24>>2]=g;break}}if(l&64|0){b:do if(!(l&n)){if(!((l&o|0)==0|(a|0)==0)){h=0;while(1){g=k[b+(h<<2)>>2]|0;q=m-(k[g>>2]|0)-(k[g+4>>2]|0)|0;h=h+1|0;if((q|0)<(e|0)&(0-q|0)<(e|0))break;if(h>>>0>=a>>>0)break b}k[c+24>>2]=g;k[i>>2]=l|1040}}else{if(!a)break a;else h=0;while(1){g=k[b+(h<<2)>>2]|0;q=m-(k[g>>2]|0)|0;h=h+1|0;if((q|0)<(e|0)&(0-q|0)<(e|0))break;if(h>>>0>=a>>>0)break b}k[c+24>>2]=g;k[i>>2]=l|528}while(0);g=c+24|0;if(!((k[g>>2]|0)!=0|(a|0)==0)){l=0;while(1){h=k[b+(l<<2)>>2]|0;i=k[h>>2]|0;if((m|0)>=(i|0))if((m|0)<=((k[h+4>>2]|0)+i|0))break;l=l+1|0;if(l>>>0>=a>>>0)break a}k[g>>2]=h}}}while(0);d=d+-1|0;if(!d)break;else c=c+40|0}return}function _Xa(a){a=a|0;k[a+4>>2]=0;k[a+12>>2]=2;k[a+16>>2]=0;k[a+28>>2]=0;k[a+40>>2]=0;k[a+52>>2]=0;k[a+64>>2]=0;k[a+76>>2]=0;return}function $Xa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;j=r;r=r+128|0;if((c|0)<=0){r=j;return}i=a+16+((b>>>0>1?(b|0)!=0&1:b)*36|0)|0;b=0;do{h=(c|0)>16?16:c;a:do if((h|0)>0){e=0;do{b=(k[d+(e<<2)>>2]|0)+b|0;g=(Q2a(b)|0)>>16;k[j+(e<<2)>>2]=g;e=e+1|0}while((e|0)<(h<<1|0));if((h|0)>0){e=0;do{g=j+((e|1)<<2)|0;k[g>>2]=(k[g>>2]|0)-(k[j+(e<<2)>>2]|0);e=e+2|0}while((e|0)<(h<<1|0));if((k[a+4>>2]|0)==0&(h|0)>0){e=h;f=j;while(1){g=SXa(i,k[f>>2]|0,k[f+4>>2]|0,k[a>>2]|0,0)|0;if(g|0)break;if((e|0)>1){e=e+-1|0;f=f+8|0}else break a}k[a+4>>2]=g}}}while(0);c=c-h|0}while((c|0)>0);r=j;return}function aYa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;if(k[a+4>>2]|0)return;f=k[a>>2]|0;e=k[a+16>>2]|0;g=k[a+52>>2]|0;if((g+e|0)!=(c|0))return;e=bYa(a+16|0,d,g,e,b,f)|0;if(!e){e=bYa(a+52|0,d,0,g,b,f)|0;if(!e)return}k[a+4>>2]=e;return}function bYa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,m=0,n=0;n=r;r=r+16|0;m=k[a+12>>2]|0;if(m|0)k[(k[a+20>>2]|0)+(m<<4)+-16+12>>2]=e;g=k[a+16>>2]|0;do if((m+1|0)>>>0>g>>>0){k[n>>2]=0;h=WTa(f,16,g,m+8&-8,k[a+20>>2]|0,n)|0;k[a+20>>2]=h;e=k[n>>2]|0;if(!e){k[a+16>>2]=m+8&-8;e=h;j=h;g=m+8&-8;break}c=e;r=n;return c|0}else{h=k[a+20>>2]|0;e=h;j=h}while(0);j=j+(m+1<<4)+-16|0;k[j>>2]=0;k[j+12>>2]=0;k[a+12>>2]=m+1;if(!(m+1|0)){do if(!g){k[n>>2]=0;e=WTa(f,16,0,8,h,n)|0;k[a+20>>2]=e;g=k[n>>2]|0;if(!g){k[a+16>>2]=8;break}c=g;r=n;return c|0}while(0);k[e>>2]=0;k[e+12>>2]=0;k[a+12>>2]=1}else e=e+(m+1<<4)+-16|0;h=e+4|0;g=((k[h>>2]|0)+7|0)>>>3;k[n>>2]=0;do if((d+7|0)>>>3>>>0>g>>>0){j=e+8|0;g=WTa(f,1,g,((d+7|0)>>>3)+7&1073741816,k[j>>2]|0,n)|0;k[j>>2]=g;g=k[n>>2]|0;if(!g){k[h>>2]=(((d+7|0)>>>3)+7&1073741816)<<3;g=j;break}c=g;r=n;return c|0}else g=e+8|0;while(0);k[e>>2]=d;if(!d){c=0;r=n;return c|0}m=b+(c>>>3)|0;e=128>>>(c&7);j=128;h=k[g>>2]|0;while(1){i[h>>0]=(((l[m>>0]|0)&e|0)==0?0:j)|(l[h>>0]|0)&(j^255);e=e>>1;g=j>>1;d=d+-1|0;if(!d){e=0;break}else{m=(e|0)==0?m+1|0:m;e=(e|0)==0?128:e;j=(g|0)==0?128:g;h=(g|0)==0?h+1|0:h}}r=n;return e|0}function cYa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;if(k[a+4>>2]|0)return;d=k[a>>2]|0;e=k[a+16>>2]|0;f=k[a+52>>2]|0;if((f+e|0)!=(b|0))return;b=bYa(a+16|0,c,0,e,0,d)|0;if(!b){b=bYa(a+52|0,c,e,f,0,d)|0;if(!b)return}k[a+4>>2]=b;return}function dYa(a){a=a|0;var b=0;k[a+112>>2]=0;k[a+140>>2]=0;b=k[a+12>>2]|0;eYa(a+28|0,b);eYa(a+64|0,b);k[a+16>>2]=0;k[a+12>>2]=0;return}function eYa(a,b){a=a|0;b=b|0;var c=0,d=0;d=k[a+28>>2]|0;c=k[a+32>>2]|0;if(d){while(1){YTa(b,k[c+8>>2]|0);k[c>>2]=0;k[c+4>>2]=0;k[c+8>>2]=0;k[c+12>>2]=0;d=d+-1|0;if(!d)break;else c=c+16|0}c=k[a+32>>2]|0}YTa(b,c);k[a+32>>2]=0;k[a+24>>2]=0;k[a+28>>2]=0;d=k[a+16>>2]|0;c=k[a+20>>2]|0;if(d){while(1){YTa(b,k[c+8>>2]|0);k[c>>2]=0;k[c+4>>2]=0;k[c+8>>2]=0;k[c+12>>2]=0;d=d+-1|0;if(!d)break;else c=c+16|0}c=k[a+20>>2]|0}YTa(b,c);k[a+20>>2]=0;k[a+12>>2]=0;k[a+16>>2]=0;YTa(b,k[a+8>>2]|0);k[a+8>>2]=0;k[a>>2]=0;k[a+4>>2]=0;return}function fYa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=i[a>>0]|0;a:do if(c<<24>>24==117){e=i[a+1>>0]|0;b:do if(e<<24>>24==110)if((i[a+2>>0]|0)==105){b=l[a+3>>0]|0;if((b+-48|0)>>>0>9){b=(b+-65|0)>>>0>5?16:b+-55|0;if(b>>>0>15)break}else b=b+-48|0;d=l[a+4>>0]|0;if((d+-48|0)>>>0>9){d=(d+-65|0)>>>0>5?16:d+-55|0;if(d>>>0>15)break;else d=d+(b<<4)|0}else d=d+-48+(b<<4)|0;b=l[a+5>>0]|0;if((b+-48|0)>>>0>9){b=(b+-65|0)>>>0>5?16:b+-55|0;if(b>>>0>15)break;else d=b+(d<<4)|0}else d=b+-48+(d<<4)|0;b=l[a+6>>0]|0;if((b+-48|0)>>>0>9){b=(b+-65|0)>>>0>5?16:b+-55|0;if(b>>>0>15)break;else b=b+(d<<4)|0}else b=b+-48+(d<<4)|0;switch(i[a+7>>0]|0){case 46:break;case 0:{f=b;return f|0}default:break b}f=b|-2147483648;return f|0}while(0);if(((e&255)+-48|0)>>>0>9){b=((e&255)+-65|0)>>>0>5?16:(e&255)+-55|0;if(b>>>0>15){b=a;break}}else b=(e&255)+-48|0;d=l[a+2>>0]|0;if((d+-48|0)>>>0>9){d=(d+-65|0)>>>0>5?16:d+-55|0;if(d>>>0>15){b=a;break}else d=d+(b<<4)|0}else d=d+-48+(b<<4)|0;b=l[a+3>>0]|0;if((b+-48|0)>>>0>9){b=(b+-65|0)>>>0>5?16:b+-55|0;if(b>>>0>15){b=a;break}else d=b+(d<<4)|0}else d=b+-48+(d<<4)|0;b=l[a+4>>0]|0;if((b+-48|0)>>>0>9){b=(b+-65|0)>>>0>5?16:b+-55|0;if(b>>>0>15){b=a;break}else d=b+(d<<4)|0}else d=b+-48+(d<<4)|0;b=l[a+5>>0]|0;if((b+-48|0)>>>0>9){b=(b+-65|0)>>>0>5?16:b+-55|0;if(b>>>0>15){e=a+5|0;b=d}else{d=b+(d<<4)|0;f=32}}else{d=b+-48+(d<<4)|0;f=32}do if((f|0)==32){b=l[a+6>>0]|0;if((b+-48|0)>>>0>9){b=(b+-65|0)>>>0>5?16:b+-55|0;if(b>>>0>15){e=a+6|0;b=d;break}else b=b+(d<<4)|0}else b=b+-48+(d<<4)|0;e=a+7|0}while(0);switch(i[e>>0]|0){case 46:break;case 0:{f=b;return f|0}default:{b=a;break a}}f=b|-2147483648;return f|0}else b=a;while(0);c:while(1){switch(c<<24>>24){case 0:break c;case 46:{if(b>>>0>a>>>0){f=17;break c}break}default:{}}e=b+1|0;c=i[e>>0]|0;b=e}if((f|0)==17)if(!b)b=0;else{f=gYa(a,b)|0|-2147483648;return f|0}f=gYa(a,b)|0;return f|0}function gYa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,m=0,n=0;if(!((a|0)!=0&a>>>0>>0)){n=0;return n|0}e=i[a>>0]|0;h=52;j=0;while(1){g=h+j>>1;f=530531+(l[530533+(g<<1)>>0]<<8|l[530533+(g<<1)+1>>0])|0;d=i[f>>0]|0;if((d&127|0)==(e|0))break;j=(d&127|0)<(e|0)?g+1|0:j;h=(d&127|0)<(e|0)?h:g;if((j|0)>=(h|0)){c=0;k=16;break}}if((k|0)==16)return c|0;a:do if((a+1|0)>>>0>>0){j=a+1|0;b:while(1){h=i[j>>0]|0;j=j+1|0;c=f+1|0;e=i[c>>0]|0;c:do if(d<<24>>24<0)if((h|0)==(e&127|0))d=e;else{c=0;k=16;break b}else{if(!(e&127)){c=0;k=16;break b}g=e&127;e=f+((e&255)>>>6|1)+1|0;while(1){c=530531+(l[e>>0]<<8|l[e+1>>0])|0;d=i[c>>0]|0;if((h|0)==(d&127|0))break c;if((g|0)>1){g=g+-1|0;e=e+2|0}else{c=0;k=16;break b}}}while(0);if(j>>>0>=b>>>0){m=d;n=c;break a}else f=c}if((k|0)==16)return c|0}else{m=d;n=f}while(0);if(m<<24>>24<=-1){n=0;return n|0}if((i[n+1>>0]|0)>=0){n=0;return n|0}n=l[n+2>>0]<<8|l[n+3>>0];return n|0}function hYa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,l=0,m=0,n=0;n=r;r=r+96|0;g=n+40|0;h=g+40|0;do{k[g>>2]=0;g=g+4|0}while((g|0)<(h|0));k[b+16>>2]=0;k[b+20>>2]=0;g=WTa(a,8,0,c+10|0,0,n+80|0)|0;k[b+20>>2]=g;h=k[n+80>>2]|0;if(h|0){b=h;r=n;return b|0}if(c){l=0;do{j=gj[d&511](f,l)|0;if(j){if(!(Wmb(586528,j)|0)){i=0;m=6}else if(!(Wmb(586534,j)|0)){i=1;m=6}else if(!(Wmb(586540,j)|0)){i=2;m=6}else if(!(Wmb(586549,j)|0)){i=3;m=6}else if(!(Wmb(586556,j)|0)){i=4;m=6}else if(!(Wmb(586563,j)|0)){i=5;m=6}else if(!(Wmb(586566,j)|0)){i=6;m=6}else if(!(Wmb(586581,j)|0)){i=7;m=6}else if(!(Wmb(586587,j)|0)){i=8;m=6}else if(!(Wmb(586600,j)|0)){i=9;m=6}if((m|0)==6){m=0;h=n+40+(i<<2)|0;if(!(k[h>>2]|0)){k[h>>2]=1;k[n+(i<<2)>>2]=l}}h=fYa(j)|0;if(h&2147483647){if((h|0)==916){i=0;m=19}else if((h|0)==937){i=1;m=19}else if((h|0)==8725){i=2;m=19}else if((h|0)==173){i=3;m=19}else if((h|0)==713){i=4;m=19}else if((h|0)==956){i=5;m=19}else if((h|0)==8729){i=6;m=19}else if((h|0)==160){i=7;m=19}else if((h|0)==538){i=8;m=19}else if((h|0)==539){i=9;m=19}if((m|0)==19){m=0;k[n+40+(i<<2)>>2]=2}k[g>>2]=h;k[g+4>>2]=l;g=g+8|0}if(e)Di[e&511](f,j)}l=l+1|0}while((l|0)!=(c|0));if((k[n+40>>2]|0)==1){k[g>>2]=916;k[g+4>>2]=k[n>>2];g=g+8|0}}if((k[n+40+4>>2]|0)==1){k[g>>2]=937;k[g+4>>2]=k[n+4>>2];g=g+8|0}if((k[n+40+8>>2]|0)==1){k[g>>2]=8725;k[g+4>>2]=k[n+8>>2];g=g+8|0}if((k[n+40+12>>2]|0)==1){k[g>>2]=173;k[g+4>>2]=k[n+12>>2];g=g+8|0}if((k[n+40+16>>2]|0)==1){k[g>>2]=713;k[g+4>>2]=k[n+16>>2];g=g+8|0}if((k[n+40+20>>2]|0)==1){k[g>>2]=956;k[g+4>>2]=k[n+20>>2];g=g+8|0}if((k[n+40+24>>2]|0)==1){k[g>>2]=8729;k[g+4>>2]=k[n+24>>2];g=g+8|0}if((k[n+40+28>>2]|0)==1){k[g>>2]=160;k[g+4>>2]=k[n+28>>2];g=g+8|0}if((k[n+40+32>>2]|0)==1){k[g>>2]=538;k[g+4>>2]=k[n+32>>2];g=g+8|0}if((k[n+40+36>>2]|0)==1){k[g>>2]=539;k[g+4>>2]=k[n+36>>2];h=g+8|0}else h=g;g=k[b+20>>2]|0;h=h-g>>3;if(!h){YTa(a,g);k[b+20>>2]=0;g=k[n+80>>2]|0;if(!g){k[n+80>>2]=163;g=163}}else{if(h>>>0>>1>>>0){g=WTa(a,8,c,h,g,n+80|0)|0;k[b+20>>2]=g;k[n+80>>2]=0}qnb(g,h,8,360);g=k[n+80>>2]|0}k[b+16>>2]=h;b=g;r=n;return b|0}function iYa(a,b){a=a|0;b=b|0;var c=0;c=k[a>>2]|0;a=k[b>>2]|0;if((c&2147483647|0)==(a&2147483647|0)){if(c>>>0>a>>>0){b=1;return b|0}b=(c>>>0>>0)<<31>>31;return b|0}else{if((c&2147483647)>>>0>(a&2147483647)>>>0){b=1;return b|0}b=((c&2147483647)>>>0<(a&2147483647)>>>0)<<31>>31;return b|0}return 0}function jYa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=k[a+20>>2]|0;a=c+(k[a+16>>2]<<3)+-8|0;if(c>>>0>a>>>0){b=0;return b|0}else{f=a;a=0}do{d=c+(f-c>>4<<3)|0;e=k[d>>2]|0;if((e|0)==(b|0)){a=d;break}a=(e&2147483647|0)==(b|0)?d:a;if((c|0)==(f|0))break;f=(e&2147483647)>>>0>>0?f:d+-8|0;c=(e&2147483647)>>>0>>0?d+8|0:c}while(c>>>0<=f>>>0);if(!a){b=0;return b|0}b=k[a+4>>2]|0;return b|0}function kYa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0;d=(k[b>>2]|0)+1|0;l=k[a+16>>2]|0;do if(!l)c=0;else{i=k[a+20>>2]|0;h=l;e=0;c=0;while(1){j=((h-e|0)>>>1)+e|0;g=k[i+(j<<3)>>2]|0;if((g|0)==(d|0)){e=4;break}if((g&2147483647|0)==(d|0))c=k[i+(j<<3)+4>>2]|0;f=(g&2147483647)>>>0>>0?j+1|0:e;h=(g&2147483647)>>>0>>0?h:j;if(h>>>0<=f>>>0){e=8;break}else e=f}if((e|0)==4){l=d;a=k[i+(j<<3)+4>>2]|0;k[b>>2]=l;return a|0}else if((e|0)==8){if(!c){c=f;break}k[b>>2]=d;return c|0}}while(0);if(c>>>0>=l>>>0){l=0;a=0;k[b>>2]=l;return a|0}a=k[a+20>>2]|0;l=k[a+(c<<3)>>2]&2147483647;a=k[a+(c<<3)+4>>2]|0;k[b>>2]=l;return a|0}function lYa(a){a=a|0;return 586613+(j[170500+((a>>>0>257?0:a)<<1)>>1]|0)|0}function mYa(a){a=a|0;if(a>>>0>390){a=0;return a|0}a=586613+(j[171016+(a<<1)>>1]|0)|0;return a|0}function nYa(a,b){a=a|0;b=b|0;return URa(52960,b)|0}function oYa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=r;r=r+16|0;k[b>>2]=0;c=UTa(a,4,e)|0;d=k[e>>2]|0;if(d|0){r=e;return d|0}k[c>>2]=a;k[b>>2]=c;r=e;return d|0}function pYa(a,b,c){a=a|0;b=b|0;c=c|0;return}function qYa(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function rYa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=r;r=r+17408|0;e=k[b+4>>2]|0;f=k[b>>2]|0;if(!a){b=96;r=g;return b|0}if(!e){b=20;r=g;return b|0}c=j[e+2>>1]|0;if(!(c<<16>>16)){b=0;r=g;return b|0}d=j[e>>1]|0;if(d<<16>>16<1){b=0;r=g;return b|0}a=k[e+12>>2]|0;if(!a){b=20;r=g;return b|0}if(!(k[e+4>>2]|0)){b=20;r=g;return b|0}if((c<<16>>16|0)!=((j[a+((d<<16>>16)+-1<<1)>>1]|0)+1|0)){b=20;r=g;return b|0}if(k[b+8>>2]&3|0){b=19;r=g;return b|0}if(!f){b=20;r=g;return b|0}if(!(k[f+4>>2]|0)){b=0;r=g;return b|0}if(!(k[f>>2]|0)){b=0;r=g;return b|0}if(!(k[f+12>>2]|0)){b=20;r=g;return b|0}a=g+16384+128|0;k[a>>2]=k[e>>2];k[a+4>>2]=k[e+4>>2];k[a+8>>2]=k[e+8>>2];k[a+12>>2]=k[e+12>>2];k[a+16>>2]=k[e+16>>2];a=g+16384+104|0;k[a>>2]=k[f>>2];k[a+4>>2]=k[f+4>>2];k[a+8>>2]=k[f+8>>2];k[a+12>>2]=k[f+12>>2];k[a+16>>2]=k[f+16>>2];k[a+20>>2]=k[f+20>>2];k[g+16384+28>>2]=g;k[g+16384+32>>2]=g+16384;a=k[g+16384+144>>2]|0;b=(a&256|0)==0?6:12;k[g+16384>>2]=b;k[g+16384+16>>2]=(a&256|0)==0?32:256;k[g+16384+20>>2]=(a&256|0)==0?2:30;k[g+16384+4>>2]=1<>2]=1<>>1;k[g+16384+12>>2]=b+-6;k[g+16384+24>>2]=b+-6;if(!(a&8)){i[g+16384+176>>0]=(a&16)>>>2;if(!(a&32))i[g+16384+176>>0]=(a&16)>>>2&255|1}else i[g+16384+176>>0]=2;i[g+16384+177>>0]=a>>>9&1^1;k[g+16384+160>>2]=108;k[g+16384+164>>2]=51;k[g+16384+168>>2]=52;k[g+16384+172>>2]=697;k[g+16384+1020>>2]=0;j[g+16384+956>>1]=0;j[g+16384+958>>1]=(k[g+16384+104>>2]|0)+65535;j[g+16384+56>>1]=k[g+16384+108>>2];k[g+16384+60>>2]=k[g+16384+116>>2];a=wYa(g+16384|0,0)|0;if(a|0){b=a;r=g;return b|0}if(i[g+16384+177>>0]|0)if((i[g+16384+176>>0]|0)!=2){k[g+16384+160>>2]=109;k[g+16384+164>>2]=53;k[g+16384+168>>2]=54;k[g+16384+172>>2]=698;k[g+16384+1020>>2]=0;j[g+16384+956>>1]=0;j[g+16384+958>>1]=(k[g+16384+108>>2]|0)+65535;a=wYa(g+16384|0,1)|0;if(a|0){b=a;r=g;return b|0}}b=0;r=g;return b|0}function sYa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=k[a+112>>2]|0;j[a+156>>1]=0-d;c=ha(j[b>>1]|0,0-d|0)|0;k[a+148>>2]=c;if((d|0)<=0)return;b=(ha((k[a+104>>2]|0)+-1|0,d)|0)+c|0;k[a+148>>2]=b;return}function tYa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,n=0;g=k[a+4>>2]|0;h=k[a>>2]|0;if((j[e+12>>1]&7)==2)n=3;else if((d-c-g|0)>(k[a+20>>2]|0))n=3;else b=(c+-1+g&0-g)>>h;if((n|0)==3)b=(0-g&d)>>h;if((b|0)<=-1)return;f=m[a+56>>1]|0;if(((c+-1+g&0-g)>>h|0)>=(f|0))return;e=((c+-1+g&0-g)>>h|0)<0?0:(c+-1+g&0-g)>>h;h=(b|0)<(f|0)?b:f+-1|0;g=k[a+60>>2]|0;b=k[a+148>>2]|0;f=g+b+(e<<13>>16)|0;if(((h<<13>>16)-(e<<13>>16)|0)<=0){i[f>>0]=l[f>>0]|0|(127>>>(h&7)^255)&255>>>(e&7);return}i[f>>0]=l[f>>0]|0|255>>>(e&7);if(((h<<13>>16)-(e<<13>>16)|0)>1){vBb(g+(b+(e<<13>>16)+1)|0,-1,(h<<13>>16)+-1-(e<<13>>16)|0)|0;f=g+(b+(h<<13>>16)+-1)|0}a=f+1|0;i[a>>0]=l[a>>0]|0|127>>>(h&7)^255;return}function uYa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,n=0,o=0;h=k[a+4>>2]|0;g=c+-1+h&0-h;o=0-h&d;if((g|0)>(o|0)){n=j[e+12>>1]|0;if((g|0)!=(o+h|0))return;switch(n&7|0){case 0:{n=o;break}case 4:{n=(k[a+8>>2]|0)+((c+-1+d|0)/2|0)&0-h;break}case 5:case 1:{if((k[e+28>>2]|0)==(f|0))if((k[e+16>>2]|0)<1){if(!(n&16))return;if((d-c|0)<(k[a+8>>2]|0))return}if((k[f+28>>2]|0)==(e|0))if((k[e+20>>2]|0)==(b<<16>>16|0)){if(!(n&32))return;if((d-c|0)<(k[a+8>>2]|0))return}if((n&7|0)==1)n=o;else n=(k[a+8>>2]|0)+((c+-1+d|0)/2|0)&0-h;break}default:return}h=k[a>>2]|0;if((n|0)<0)n=g;else n=(n>>h|0)<(m[a+56>>1]|0|0)?n:o;g=((n|0)==(g|0)?o:g)>>h;if((g|0)>-1)if((g|0)<(m[a+56>>1]|0|0))if(!((l[(k[a+60>>2]|0)+((k[a+148>>2]|0)+(g<<13>>16))>>0]|0)&128>>>(g&7)))g=n;else return;else g=n;else g=n}else h=k[a>>2]|0;g=g>>h;if((g|0)<=-1)return;if((g|0)>=(m[a+56>>1]|0|0))return;a=(k[a+60>>2]|0)+((k[a+148>>2]|0)+(g<<13>>16))|0;i[a>>0]=l[a>>0]|0|128>>>(g&7);return}function vYa(a){a=a|0;k[a+148>>2]=(k[a+148>>2]|0)+(j[a+156>>1]|0);return}function wYa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=r;r=r+16|0;c=k[a+1020>>2]|0;if((c|0)<=-1){a=0;r=y;return a|0}a:while(1){d=k[a+4>>2]|0;w=ha(j[a+956+(c<<2)+2>>1]|0,d)|0;k[a+80>>2]=w;d=ha(j[a+956+(c<<2)>>1]|0,d)|0;k[a+76>>2]=d;d=k[a+28>>2]|0;k[a+40>>2]=d;k[a+44>>2]=0;k[a+92>>2]=0;i[a+87>>0]=0;i[a+86>>0]=0;c=(k[a+32>>2]|0)+-32|0;k[a+36>>2]=c;k[a+48>>2]=0;k[a+88>>2]=d;k[d+8>>2]=d;j[a+84>>1]=0;b:do if((j[a+128>>1]|0)>0){o=k[a+140>>2]|0;c=k[a+8>>2]|0;u=0;q=0;while(1){k[a+100>>2]=0;k[a+96>>2]=0;p=k[a+132>>2]|0;f=m[o+(u<<1)>>1]|0;o=q&65535;d=k[a+24>>2]|0;e=(k[p+(o<<3)>>2]<>2]<>2]<>2]<>24?n:e;n=b<<24>>24?e:n;e=b<<24>>24?d:h;d=b<<24>>24?h:d;h=k[a+136>>2]|0;c=i[h+o>>0]|0;if(c&4){i[a+176>>0]=(c&255)>>>5;c=i[h+o>>0]|0}switch(c&3|0){case 2:{x=35;break a}case 0:{if((i[h+f>>0]&3)==1)c=p+(f<<3)+-8|0;else{c=p+(f<<3)|0;e=(e+g|0)/2|0;d=(d+n|0)/2|0}t=c;f=p+(o<<3)+-8|0;c=h+o+-1|0;s=e;q=d;break}default:{t=p+(f<<3)|0;f=p+(o<<3)|0;c=h+o|0;s=g;q=n}}k[a+68>>2]=s;k[a+72>>2]=q;c:do if(f>>>0>>0){p=c;d:while(1){e=f+8|0;g=p+1|0;e:do switch(l[g>>0]&3|0){case 1:{p=k[a+24>>2]|0;w=k[a+8>>2]|0;v=(k[e>>2]<>2]<>24?w:v,b<<24>>24?v:w)|0)<<24>>24))c=g;else{x=91;break b}break}case 0:{w=k[a+24>>2]|0;c=k[a+8>>2]|0;d=(k[e>>2]<>2]<>24){f=e;n=d;while(1){if(f>>>0>=t>>>0){d=c;c=n;break d}e=f+8|0;h=g+1|0;w=k[a+24>>2]|0;d=k[a+8>>2]|0;g=(k[e>>2]<>2]<>0]&3|0){case 1:{f=(zYa(a,c,n,d,g)|0)<<24>>24==0;f=f?7:12;d=n;break}case 0:{w=(zYa(a,c,n,(d+c|0)/2|0,(g+n|0)/2|0)|0)<<24>>24==0;f=w?15:12;c=w?d:c;d=w?g:n;break}default:{x=35;break a}}switch(f|0){case 6:{x=35;break a}case 12:{x=91;break b}case 7:{c=h;break e}case 15:{f=e;g=h;n=d;break}default:break c}}}else{h=e;while(1){if(h>>>0>=t>>>0)break d;e=h+8|0;n=g+1|0;w=k[a+24>>2]|0;g=k[a+8>>2]|0;f=(k[e>>2]<>2]<>0]&3|0){case 1:{h=(zYa(a,d,c,f,g)|0)<<24>>24==0;h=h?7:12;break}case 0:{w=(zYa(a,d,c,(f+d|0)/2|0,(g+c|0)/2|0)|0)<<24>>24==0;h=w?15:12;d=w?f:d;c=w?g:c;break}default:{x=35;break a}}switch(h|0){case 6:{x=35;break a}case 12:{x=91;break b}case 7:{c=n;break e}case 15:{h=e;g=n;break}default:break c}}}}default:{if((f+16|0)>>>0>t>>>0){x=35;break a}if((i[p+2>>0]&3)!=2){x=35;break a}e=f+24|0;n=k[a+24>>2]|0;o=k[a+8>>2]|0;g=(k[f+8>>2]<>2]<>2]<>2]<>24?d:g;d=b<<24>>24?g:d;g=b<<24>>24?h:w;h=b<<24>>24?w:h;if(e>>>0>t>>>0){c=(CYa(a,c,d,g,h,s,q)|0)<<24>>24==0;c=c?18:12}else{v=(k[e>>2]<>2]<>24?w:v,b<<24>>24?v:w)|0)<<24>>24==0;c=c?7:12}switch(c|0){case 6:{x=35;break a}case 12:{x=91;break b}case 7:{c=p+3|0;break}default:break c}}}while(0);if(e>>>0>>0){f=e;p=c}else{x=34;break c}}if((zYa(a,d,c,s,q)|0)<<24>>24){x=91;break b}}else x=34;while(0);if((x|0)==34){x=0;if((xYa(a,s,q)|0)<<24>>24){x=91;break b}}o=k[a+140>>2]|0;q=(m[o+(u<<1)>>1]|0)+1|0;e=k[a+72>>2]|0;f=k[a+4>>2]|0;if(!(f+-1&e))if((e|0)>=(k[a+76>>2]|0))if((e|0)<=(k[a+80>>2]|0)){c=k[a+96>>2]|0;if(c|0)if(!((j[(k[a+88>>2]|0)+12>>1]^j[c+12>>1])&8))k[a+40>>2]=(k[a+40>>2]|0)+-4}h=k[a+88>>2]|0;d=k[a+40>>2]|0;g=k[h+8>>2]|0;if((d|0)==(g|0))x=45;else if(!(j[h+12>>1]&8))x=45;else{c=k[a+8>>2]|0;n=c;c=(f+-1&e|0)>=(c|0)}if((x|0)==45){x=0;c=k[a+8>>2]|0;n=c;c=((e+-1+f&0-f)-e|0)>=(c|0)}if((d-g|0)<0){x=47;break a}if((d-g|0)>0){k[h+16>>2]=d-g>>2;do if(c){c=m[h+12>>1]|0;if(!(c&8)){j[h+12>>1]=c|32;break}else{j[h+12>>1]=c|16;break}}while(0);k[a+88>>2]=d;k[a+40>>2]=d+32;k[d+16>>2]=0;k[d+8>>2]=d+32;k[h+28>>2]=d;j[a+84>>1]=(j[a+84>>1]|0)+1<<16>>16;d=d+32|0}c=k[a+36>>2]|0;if(d>>>0>=c>>>0){x=55;break}i[a+87>>0]=0;e=k[a+96>>2]|0;if(e|0)k[h+28>>2]=e;u=u+1|0;if((u|0)>=(j[a+128>>1]|0))break;else c=n}if((x|0)==55){k[a+44>>2]=98;x=92;break}f=j[a+84>>1]|0;e=k[a+92>>2]|0;if((f&65535)>1&(e|0)!=0)if(!(f<<16>>16))x=90;else{w=k[a+32>>2]|0;u=d;h=e;while(1){n=k[h+16>>2]|0;if((f&65535)>1){v=(k[h+8>>2]|0)+(n<<2)|0;k[h+4>>2]=v}else{k[h+4>>2]=0;v=0}g=h+20|0;o=k[g>>2]|0;if(!(j[h+12>>1]&8)){k[g>>2]=o-n+1;p=h+8|0;k[p>>2]=(k[p>>2]|0)+(n+-1<<2);p=o-n+1|0}else{p=o;o=n+-1+o|0}q=k[a+48>>2]|0;n=q;while(1){h=n+-1|0;if((n|0)<=0){g=p;x=74;break}g=k[w+(0-q<<2)+(h<<2)>>2]|0;if((g|0)>(p|0))n=h;else{x=71;break}}if((x|0)==71)if((g|0)<(p|0)){k[w+(0-q<<2)+(h<<2)>>2]=p;if((n|0)>1){n=n+-2|0;while(1){x=w+(0-q<<2)+(n<<2)|0;h=k[x>>2]|0;k[x>>2]=g;if((n|0)>0){n=n+-1|0;g=h}else{g=h;x=75;break}}}else{h=n+-2|0;x=74}}else{g=p;x=74}if((x|0)==74){x=0;if((h|0)<0)x=75;else t=q}if((x|0)==75){c=c+-4|0;k[a+36>>2]=c;if(c>>>0<=u>>>0){x=77;break}k[a+48>>2]=q+1;k[w+(~q<<2)>>2]=g;t=q+1|0}g=o+1|0;s=k[a+32>>2]|0;q=s+(0-t<<2)|0;n=t;while(1){p=n+-1|0;if((n|0)<=0){h=p;x=84;break}h=k[q+(p<<2)>>2]|0;if((h|0)>(g|0))n=p;else{x=81;break}}if((x|0)==81)if((h|0)>(o|0)){h=p;x=84}else{k[q+(p<<2)>>2]=g;if((n|0)>1){n=n+-2|0;while(1){x=q+(n<<2)|0;g=k[x>>2]|0;k[x>>2]=h;if((n|0)>0){n=n+-1|0;h=g}else{x=85;break}}}else{g=h;h=n+-2|0;x=84}}if((x|0)==84){x=0;if((h|0)<0)x=85;else g=u}if((x|0)==85){c=c+-4|0;k[a+36>>2]=c;if(c>>>0<=d>>>0){x=87;break}k[a+48>>2]=t+1;k[s+(~t<<2)>>2]=g;g=d}f=f+-1<<16>>16;if(!(f<<16>>16)){x=90;break b}else{u=g;h=v}}if((x|0)==77){k[a+44>>2]=98;x=92;break}else if((x|0)==87){k[a+44>>2]=98;x=92;break}}else x=89}else x=89;while(0);if((x|0)==89){k[a+92>>2]=0;e=0;x=90}if((x|0)==90){x=0;if(d>>>0>>0){if(e|0){k[y+8>>2]=0;k[y+4>>2]=0;k[y>>2]=0;f=k[a>>2]|0;g=k[a+76>>2]>>f&65535;j[y+12>>1]=g;f=k[a+80>>2]>>f&65535;j[y+14>>1]=f;do{h=e+4|0;n=e;e=k[h>>2]|0;c=k[n+20>>2]|0;d=c+65535+(k[n+16>>2]|0)|0;if((f<<16>>16|0)>(c<<16>>16|0)){j[y+14>>1]=c;f=c&65535}if((g<<16>>16|0)<(d<<16>>16|0)){j[y+12>>1]=d;g=d&65535}k[n>>2]=0;c=k[y+8>>2]|0;f:do if(!c){d=y+8|0;c=0}else{d=y+8|0;while(1){if((k[c>>2]|0)>0)break f;d=c+4|0;c=k[d>>2]|0;if(!c){c=0;break}}}while(0);k[h>>2]=c;k[d>>2]=n}while((e|0)!=0);if(!(k[a+48>>2]|0)){x=106;break}kj[k[a+160>>2]&255](a,y+14|0,y+12|0);d=k[y+8>>2]|0;c=j[y+14>>1]|0;if(d|0)do{k[d+24>>2]=(k[d+20>>2]|0)-(c<<16>>16);d=k[d+4>>2]|0}while((d|0)!=0);d=k[a+48>>2]|0;if((d|0)>0)if((k[(k[a+32>>2]|0)+(0-d<<2)>>2]|0)==(c<<16>>16|0)){k[a+48>>2]=d+-1;d=d+-1|0;e=0}else{e=0;x=113}else e=0;g:while(1){if((x|0)==113){x=0;d=k[a+48>>2]|0}if((d|0)<=0)break;f=k[y+8>>2]|0;if(f|0){p=e<<16>>16;do{n=f+4|0;o=f;f=k[n>>2]|0;w=k[o+24>>2]|0;k[o+24>>2]=w-p;do if((w|0)==(p|0)){e=y+8|0;while(1){g=k[e>>2]|0;if(!g)break;if((g|0)==(o|0)){x=121;break}else e=g+4|0}if((x|0)==121){x=0;k[e>>2]=k[g+4>>2]}h=k[o>>2]|0;if(!(j[o+12>>1]&8)){e=k[y>>2]|0;h:do if(!e){g=y;e=0}else{g=y;while(1){if((h|0)<(k[e>>2]|0))break h;g=e+4|0;e=k[g>>2]|0;if(!e){e=0;break}}}while(0);k[n>>2]=e;k[g>>2]=o;break}else{e=k[y+4>>2]|0;i:do if(!e){g=y+4|0;e=0}else{g=y+4|0;while(1){if((h|0)<(k[e>>2]|0))break i;g=e+4|0;e=k[g>>2]|0;if(!e){e=0;break}}}while(0);k[n>>2]=e;k[g>>2]=o;break}}while(0)}while((f|0)!=0)}f=k[y+4>>2]|0;if(f|0){e=f;do{w=e+8|0;v=k[w>>2]|0;k[e>>2]=k[v>>2];k[w>>2]=v+(((j[e+12>>1]&8)>>>2)+-1<<2);w=e+16|0;k[w>>2]=(k[w>>2]|0)+-1;e=k[e+4>>2]|0}while((e|0)!=0);g=k[f+4>>2]|0;if(g|0){e=f;h=f+4|0;f=y+4|0;do{if((k[e>>2]|0)>(k[g>>2]|0)){k[f>>2]=g;f=g+4|0;k[h>>2]=k[f>>2];k[f>>2]=e;e=k[y+4>>2]|0;f=y+4|0}else{e=g;f=h}h=e+4|0;g=k[h>>2]|0}while((g|0)!=0)}}f=k[y>>2]|0;if(!f)e=0;else{e=f;do{w=e+8|0;v=k[w>>2]|0;k[e>>2]=k[v>>2];k[w>>2]=v+(((j[e+12>>1]&8)>>>2)+-1<<2);w=e+16|0;k[w>>2]=(k[w>>2]|0)+-1;e=k[e+4>>2]|0}while((e|0)!=0);g=k[f+4>>2]|0;if(!g)e=f;else{e=f;h=f;n=f+4|0;f=y;do{if((k[h>>2]|0)>(k[g>>2]|0)){k[f>>2]=g;e=g+4|0;k[n>>2]=k[e>>2];k[e>>2]=h;h=k[y>>2]|0;e=h;f=y}else{h=g;f=n}n=h+4|0;g=k[n>>2]|0}while((g|0)!=0)}}k[a+48>>2]=d+-1;p=k[(k[a+32>>2]|0)+(0-d<<2)>>2]<<16>>16;q=p-(c&65535)|0;j:do if((c<<16>>16|0)<(p|0))k:while(1){d=k[y+4>>2]|0;do if(d|0){f=d;g=0;while(1){o=k[f>>2]|0;n=k[e>>2]|0;h=(o|0)>(n|0)?n:o;n=(o|0)>(n|0)?o:n;o=k[a+4>>2]|0;do if((n-h|0)>(o|0)|(h&0-o|0)==(h|0)|(o+-1+n&0-o|0)==(n|0))x=151;else{if(!((h&0-o|0)>(o+-1+n&0-o|0)?1:(o+-1+n&0-o|0)==((h&0-o)+o|0))){x=151;break}if((j[f+12>>1]&7)==2)break;k[f>>2]=h;k[e>>2]=n;k[f+24>>2]=1;g=g+1<<16>>16}while(0);if((x|0)==151){x=0;Ti[k[a+164>>2]&63](a,c,h,n,f,e)}f=k[f+4>>2]|0;if(!f){e=g;break}e=k[e+4>>2]|0}if(e<<16>>16<1)break;else{g=d;e=y}while(1){f=k[e>>2]|0;e=g+24|0;if(k[e>>2]|0){k[e>>2]=0;Ti[k[a+168>>2]&63](a,c,k[g>>2]|0,k[f>>2]|0,g,f)}g=k[g+4>>2]|0;if(!g)break;else e=f+4|0}}while(0);Si[k[a+172>>2]&1023](a);c=c+1<<16>>16;if((c<<16>>16|0)>=(p|0))break j;do if(d|0){e=d;do{w=e+8|0;v=k[w>>2]|0;k[e>>2]=k[v>>2];k[w>>2]=v+(((j[e+12>>1]&8)>>>2)+-1<<2);w=e+16|0;k[w>>2]=(k[w>>2]|0)+-1;e=k[e+4>>2]|0}while((e|0)!=0);e=k[d+4>>2]|0;if(!e)break;else{g=d;h=d+4|0;d=y+4|0}while(1){if((k[g>>2]|0)>(k[e>>2]|0)){k[d>>2]=e;d=e+4|0;k[h>>2]=k[d>>2];k[d>>2]=g;d=k[y+4>>2]|0;f=y+4|0}else{d=e;f=h}h=d+4|0;e=k[h>>2]|0;if(!e)break;else{g=d;d=f}}}while(0);e=k[y>>2]|0;if(!e){e=0;continue}else d=e;do{w=d+8|0;v=k[w>>2]|0;k[d>>2]=k[v>>2];k[w>>2]=v+(((j[d+12>>1]&8)>>>2)+-1<<2);w=d+16|0;k[w>>2]=(k[w>>2]|0)+-1;d=k[d+4>>2]|0}while((d|0)!=0);d=k[e+4>>2]|0;if(!d)continue;else{o=e;n=e;f=e+4|0;e=y}while(1){if((k[n>>2]|0)>(k[d>>2]|0)){k[e>>2]=d;d=d+4|0;k[f>>2]=k[d>>2];k[d>>2]=n;d=k[y>>2]|0;e=d;h=y}else{e=o;h=f}f=d+4|0;g=k[f>>2]|0;if(!g)continue k;else{o=e;n=d;d=g;e=h}}}else d=k[y+4>>2]|0;while(0);if(d|0)do{f=d;d=k[d+4>>2]|0;l:do if(!(k[f+16>>2]|0)){e=y+4|0;while(1){g=k[e>>2]|0;if(!g)break l;if((g|0)==(f|0))break;else e=g+4|0}k[e>>2]=k[g+4>>2]}while(0)}while((d|0)!=0);d=k[y>>2]|0;if(!d){e=q;x=113;continue}while(1){f=k[d+4>>2]|0;m:do if(!(k[d+16>>2]|0)){e=y;while(1){g=k[e>>2]|0;if(!g)break m;if((g|0)==(d|0)){d=e;break}else e=g+4|0}k[d>>2]=k[g+4>>2]}while(0);if(!f){e=q;x=113;continue g}else d=f}}if(c<<16>>16<=(j[y+12>>1]|0))do{Si[k[a+172>>2]&1023](a);c=c+1<<16>>16}while(c<<16>>16<=(j[y+12>>1]|0))}c=(k[a+1020>>2]|0)+-1|0}else x=91}if((x|0)==91)if((k[a+44>>2]|0)==98)x=92;else{c=1;x=187;break}if((x|0)==92){x=0;k[a+44>>2]=0;c=k[a+1020>>2]|0;d=j[a+956+(c<<2)+2>>1]|0;e=j[a+956+(c<<2)>>1]|0;if((c|0)>6?1:(((d<<16>>16)+e|0)/2|0|0)<(e|0)){x=93;break}j[a+956+(c+1<<2)>>1]=((d<<16>>16)+e|0)/2|0;j[a+956+((k[a+1020>>2]|0)+1<<2)+2>>1]=d;j[a+956+(k[a+1020>>2]<<2)+2>>1]=(((d<<16>>16)+e|0)/2|0)+65535;c=(k[a+1020>>2]|0)+1|0}k[a+1020>>2]=c;if((c|0)<=-1){c=0;x=187;break}}if((x|0)==35){k[a+44>>2]=20;a=1;r=y;return a|0}else if((x|0)==47){k[a+44>>2]=99;a=1;r=y;return a|0}else if((x|0)==93){k[a+1020>>2]=0;k[a+44>>2]=20;a=20;r=y;return a|0}else if((x|0)==106){k[a+44>>2]=20;a=20;r=y;return a|0}else if((x|0)==187){r=y;return c|0}return 0}function xYa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:do switch(k[a+100>>2]|0){case 0:{d=k[a+72>>2]|0;if((d|0)<(c|0)){e=k[a+4>>2]|0;e=((d+-1+e&0-e)-d|0)<(k[a+8>>2]|0);if(!(k[a+92>>2]|0)){d=k[a+40>>2]|0;k[a+88>>2]=d;k[a+92>>2]=d;k[a+40>>2]=d+32;d=d+32|0}else d=k[a+40>>2]|0;if(d>>>0>=(k[a+36>>2]|0)>>>0){k[a+44>>2]=98;c=1;return c|0}f=k[a+88>>2]|0;k[f+20>>2]=0;k[f+16>>2]=0;k[f+8>>2]=d;k[f+4>>2]=0;k[f+28>>2]=0;j[f+12>>1]=l[a+176>>0]|(e?8:40);if(!(k[a+96>>2]|0))k[a+96>>2]=f;k[a+100>>2]=1;i[a+86>>0]=1;i[a+87>>0]=0;f=61;break a}if((d|0)>(c|0)){e=((k[a+4>>2]|0)+-1&d|0)<(k[a+8>>2]|0);if(!(k[a+92>>2]|0)){d=k[a+40>>2]|0;k[a+88>>2]=d;k[a+92>>2]=d;k[a+40>>2]=d+32;d=d+32|0}else d=k[a+40>>2]|0;if(d>>>0>=(k[a+36>>2]|0)>>>0){k[a+44>>2]=98;c=1;return c|0}f=k[a+88>>2]|0;k[f+20>>2]=0;k[f+16>>2]=0;k[f+8>>2]=d;k[f+4>>2]=0;k[f+28>>2]=0;d=i[a+176>>0]|0;if(e)d=d&255;else d=(d&255|16)&65535;j[f+12>>1]=d;if(!(k[a+96>>2]|0))k[a+96>>2]=f;k[a+100>>2]=2;i[a+86>>0]=1;i[a+87>>0]=0;f=62}else f=60;break}case 1:{d=k[a+72>>2]|0;if((d|0)>(c|0)){h=((k[a+4>>2]|0)+-1&d|0)<(k[a+8>>2]|0);f=k[a+40>>2]|0;g=k[a+88>>2]|0;d=f-(k[g+8>>2]|0)|0;if((d|0)<0){k[a+44>>2]=99;c=1;return c|0}if((d|0)>0){k[g+16>>2]=d>>2;do if(!h){d=m[g+12>>1]|0;if(!(d&8)){j[g+12>>1]=d|32;break}else{j[g+12>>1]=d|16;break}}while(0);k[a+88>>2]=f;k[a+40>>2]=f+32;k[f+16>>2]=0;k[f+8>>2]=f+32;k[g+28>>2]=f;j[a+84>>1]=(j[a+84>>1]|0)+1<<16>>16;d=f+32|0;e=f+32|0}else{d=f;e=f;f=g}g=k[a+36>>2]|0;if(d>>>0>=g>>>0){k[a+44>>2]=98;c=1;return c|0}i[a+87>>0]=0;if(!(k[a+92>>2]|0)){k[a+88>>2]=e;k[a+92>>2]=e;d=e+32|0;k[a+40>>2]=d}else e=f;if(d>>>0>=g>>>0){k[a+44>>2]=98;c=1;return c|0}k[e+20>>2]=0;k[e+16>>2]=0;k[e+8>>2]=d;k[e+4>>2]=0;k[e+28>>2]=0;d=i[a+176>>0]|0;if(h)d=d&255;else d=(d&255|16)&65535;j[e+12>>1]=d;if(!(k[a+96>>2]|0))k[a+96>>2]=e;k[a+100>>2]=2;i[a+86>>0]=1;i[a+87>>0]=0;f=62}else f=61;break}case 2:{d=k[a+72>>2]|0;if((d|0)<(c|0)){h=k[a+4>>2]|0;h=((d+-1+h&0-h)-d|0)<(k[a+8>>2]|0);f=k[a+40>>2]|0;g=k[a+88>>2]|0;d=f-(k[g+8>>2]|0)|0;if((d|0)<0){k[a+44>>2]=99;c=1;return c|0}if((d|0)>0){k[g+16>>2]=d>>2;do if(!h){d=m[g+12>>1]|0;if(!(d&8)){j[g+12>>1]=d|32;break}else{j[g+12>>1]=d|16;break}}while(0);k[a+88>>2]=f;k[a+40>>2]=f+32;k[f+16>>2]=0;k[f+8>>2]=f+32;k[g+28>>2]=f;j[a+84>>1]=(j[a+84>>1]|0)+1<<16>>16;e=f+32|0;d=f+32|0}else{e=f;d=f;f=g}g=k[a+36>>2]|0;if(e>>>0>=g>>>0){k[a+44>>2]=98;c=1;return c|0}i[a+87>>0]=0;if(!(k[a+92>>2]|0)){k[a+88>>2]=d;k[a+92>>2]=d;e=d+32|0;k[a+40>>2]=e}else d=f;if(e>>>0>=g>>>0){k[a+44>>2]=98;c=1;return c|0}k[d+20>>2]=0;k[d+16>>2]=0;k[d+8>>2]=e;k[d+4>>2]=0;k[d+28>>2]=0;j[d+12>>1]=l[a+176>>0]|(h?8:40);if(!(k[a+96>>2]|0))k[a+96>>2]=d;k[a+100>>2]=1;i[a+86>>0]=1;i[a+87>>0]=0;f=61}else f=62;break}default:f=60}while(0);if((f|0)==60){e=a+72|0;d=a+68|0}else if((f|0)==61)if(!((yYa(a,k[a+68>>2]|0,k[a+72>>2]|0,b,c,k[a+76>>2]|0,k[a+80>>2]|0)|0)<<24>>24)){e=a+72|0;d=a+68|0}else{c=1;return c|0}else if((f|0)==62){h=i[a+86>>0]|0;d=yYa(a,k[a+68>>2]|0,0-(k[a+72>>2]|0)|0,b,0-c|0,0-(k[a+80>>2]|0)|0,0-(k[a+76>>2]|0)|0)|0;if(h<<24>>24)if(!(i[a+86>>0]|0)){h=(k[a+88>>2]|0)+20|0;k[h>>2]=0-(k[h>>2]|0)}if(!(d<<24>>24)){e=a+72|0;d=a+68|0}else{c=1;return c|0}}k[d>>2]=b;k[e>>2]=c;c=0;return c|0}function yYa(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,l=0,m=0;if((e-c|0)<1|(e|0)<(f|0)|(c|0)>(g|0)){a=0;return a|0}if((f|0)>(c|0)){l=(S2a(d-b|0,f-c|0,e-c|0)|0)+b|0;j=k[a>>2]|0;h=j;f=f>>j;j=0}else{f=k[a>>2]|0;l=b;h=f;f=c>>f;j=(k[a+4>>2]|0)+-1&c}if((e|0)>(g|0))m=0;else{m=(k[a+4>>2]|0)+-1&e;g=e}h=g>>h;do if((j|0)>0)if((f|0)==(h|0)){a=0;return a|0}else{l=(S2a(d-b|0,(k[a+4>>2]|0)-j|0,e-c|0)|0)+l|0;g=a+87|0;f=f+1|0;break}else if(!(i[a+87>>0]|0))g=a+87|0;else{k[a+40>>2]=(k[a+40>>2]|0)+-4;i[a+87>>0]=0;g=a+87|0}while(0);i[g>>0]=(m|0)==0&1;if(i[a+86>>0]|0){k[(k[a+88>>2]|0)+20>>2]=f;i[a+86>>0]=0}g=h-f|0;if(((k[a+40>>2]|0)+(g+1<<2)|0)>>>0>=(k[a+36>>2]|0)>>>0){k[a+44>>2]=98;a=1;return a|0}f=k[a+4>>2]|0;if((d-b|0)>0){m=T2a(f,d-b|0,e-c|0)|0;f=ha(k[a+4>>2]|0,d-b|0)|0;b=1;d=m}else{m=0-(T2a(f,0-(d-b)|0,e-c|0)|0)|0;f=ha(k[a+4>>2]|0,0-(d-b)|0)|0;b=-1;d=m}m=(f|0)%(e-c|0)|0;f=k[a+40>>2]|0;if((g|0)>-1){h=0-(e-c)|0;j=g+1|0;while(1){g=f+4|0;k[f>>2]=l;f=h+m|0;if((j|0)>1){l=l+d+((f|0)>-1?b:0)|0;h=f-((f|0)>-1?e-c|0:0)|0;j=j+-1|0;f=g}else{f=g;break}}}k[a+40>>2]=f;a=0;return a|0}function zYa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,l=0,n=0,o=0,p=0,q=0,r=0;k[a+52>>2]=a+180;k[a+196>>2]=k[a+68>>2];r=k[a+72>>2]|0;k[a+200>>2]=r;k[a+188>>2]=b;k[a+192>>2]=c;k[a+180>>2]=d;k[a+184>>2]=e;f=a+180|0;a:while(1){o=f+20|0;p=f+12|0;q=f+4|0;n=(r|0)>(e|0);do if((c|0)<((n?e:r)|0)|(c|0)>((n?r:e)|0)){q=f+16|0;n=k[q>>2]|0;k[f+32>>2]=n;g=f+8|0;l=k[g>>2]|0;k[f+24>>2]=(l+n|0)/2|0;h=(d+l|0)/2|0;k[g>>2]=h;k[q>>2]=(h+((l+n|0)/2|0)|0)/2|0;k[f+36>>2]=r;r=(c+r|0)/2|0;k[f+28>>2]=r;q=(e+c|0)/2|0;k[p>>2]=q;k[o>>2]=(q+r|0)/2|0;k[a+52>>2]=f+16}else{if((r|0)==(e|0)){k[a+52>>2]=f+-16;break}n=(r|0)<(e|0);l=n?1:2;f=k[a+100>>2]|0;if((f|0)!=(l|0)){b=k[a+4>>2]|0;if(n)h=((r+-1+b&0-b)-r|0)>=(k[a+8>>2]|0);else h=(b+-1&r|0)>=(k[a+8>>2]|0);if(f|0){b=k[a+40>>2]|0;g=k[a+88>>2]|0;f=b-(k[g+8>>2]|0)|0;if((f|0)<0){b=12;break a}if((f|0)>0){k[g+16>>2]=f>>2;do if(h){f=m[g+12>>1]|0;if(!(f&8)){j[g+12>>1]=f|32;break}else{j[g+12>>1]=f|16;break}}while(0);k[a+88>>2]=b;k[a+40>>2]=b+32;k[b+16>>2]=0;k[b+8>>2]=b+32;k[g+28>>2]=b;j[a+84>>1]=(j[a+84>>1]|0)+1<<16>>16;b=b+32|0}if(b>>>0>=(k[a+36>>2]|0)>>>0){b=20;break a}i[a+87>>0]=0}if(!(k[a+92>>2]|0)){b=k[a+40>>2]|0;k[a+88>>2]=b;k[a+92>>2]=b;k[a+40>>2]=b+32;b=b+32|0}else b=k[a+40>>2]|0;if(b>>>0>=(k[a+36>>2]|0)>>>0){b=26;break a}f=k[a+88>>2]|0;k[f+20>>2]=0;k[f+16>>2]=0;k[f+8>>2]=b;k[f+4>>2]=0;k[f+28>>2]=0;b=i[a+176>>0]|0;j[f+12>>1]=b&255;if(n){j[f+12>>1]=b&255|8;if(h)j[f+12>>1]=b&255|40}else if(h)j[f+12>>1]=b&255|16;if(!(k[a+96>>2]|0))k[a+96>>2]=f;k[a+100>>2]=l;i[a+86>>0]=1;i[a+87>>0]=0}b=k[a+76>>2]|0;f=k[a+80>>2]|0;if(n)if(!((BYa(a,2,699,b,f)|0)<<24>>24))break;else{e=1;b=44;break a}k[q>>2]=0-e;k[p>>2]=0-c;k[o>>2]=0-r;r=i[a+86>>0]|0;b=BYa(a,2,699,0-f|0,0-b|0)|0;if(r<<24>>24)if(!(i[a+86>>0]|0)){r=(k[a+88>>2]|0)+20|0;k[r>>2]=0-(k[r>>2]|0)}k[q>>2]=0-(k[q>>2]|0);if(b<<24>>24){e=1;b=44;break a}}while(0);b=k[a+52>>2]|0;if(b>>>0<(a+180|0)>>>0){b=43;break}f=b;r=k[b+20>>2]|0;e=k[b+4>>2]|0;c=k[b+12>>2]|0;d=k[b>>2]|0}if((b|0)==12){k[a+44>>2]=99;a=1;return a|0}else if((b|0)==20){k[a+44>>2]=98;a=1;return a|0}else if((b|0)==26){k[a+44>>2]=98;a=1;return a|0}else if((b|0)==43){k[a+68>>2]=d;k[a+72>>2]=e;a=0;return a|0}else if((b|0)==44)return e|0;return 0}function AYa(a){a=a|0;var b=0,c=0,d=0;b=k[a+16>>2]|0;k[a+32>>2]=b;c=k[a+8>>2]|0;k[a+24>>2]=(c+b|0)/2|0;d=((k[a>>2]|0)+c|0)/2|0;k[a+8>>2]=d;k[a+16>>2]=(d+((c+b|0)/2|0)|0)/2|0;b=k[a+20>>2]|0;k[a+36>>2]=b;c=k[a+12>>2]|0;k[a+28>>2]=(c+b|0)/2|0;d=((k[a+4>>2]|0)+c|0)/2|0;k[a+12>>2]=d;k[a+20>>2]=(d+((c+b|0)/2|0)|0)/2|0;return}function BYa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,l=0,m=0;m=k[a+52>>2]|0;j=k[m+(b<<3)+4>>2]|0;g=k[m+4>>2]|0;f=k[a+40>>2]|0;a:do if(!((j|0)>(e|0)|(g|0)<(d|0))){h=k[a+4>>2]|0;l=(g&0-h|0)>(e|0)?e:g&0-h;if((j|0)<(d|0)){e=d;g=d}else if(!(j&65535&h+65535)){if(i[a+87>>0]|0){i[a+87>>0]=0;f=f+-4|0}k[f>>2]=k[m+(b<<3)>>2];e=h+(j+-1+h&0-h)|0;g=j+-1+h&0-h;f=f+4|0}else{e=j+-1+h&0-h;g=j+-1+h&0-h}if(i[a+86>>0]|0){k[(k[a+88>>2]|0)+20>>2]=g>>k[a>>2];i[a+86>>0]=0}if((l|0)>=(e|0)){if((f+(l-e>>k[a>>2]<<2)+4|0)>>>0>=(k[a+36>>2]|0)>>>0){k[a+40>>2]=f;k[a+44>>2]=98;a=1;return a|0}g=m;do{while(1){i[a+87>>0]=0;h=k[g+4>>2]|0;if((h|0)<=(e|0)){j=19;break}d=k[g+(b<<3)+4>>2]|0;if((h-d|0)<(k[a+16>>2]|0)){j=16;break}Si[c&1023](g);g=g+(b<<3)|0;if(g>>>0>>0)break a}if((j|0)==16){j=k[g+(b<<3)>>2]|0;j=((ha((k[g>>2]|0)-j|0,e-d|0)|0)/(h-d|0)|0)+j|0;k[f>>2]=j;e=(k[a+4>>2]|0)+e|0;f=f+4|0}else if((j|0)==19)if((h|0)==(e|0)){i[a+87>>0]=1;k[f>>2]=k[g>>2];e=(k[a+4>>2]|0)+e|0;f=f+4|0}g=g+(0-b<<3)|0}while(!((e|0)>(l|0)|g>>>0>>0))}}while(0);k[a+40>>2]=f;k[a+52>>2]=(k[a+52>>2]|0)+(0-b<<3);a=0;return a|0}function CYa(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,l=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;k[a+52>>2]=a+180;k[a+204>>2]=k[a+68>>2];t=k[a+72>>2]|0;k[a+208>>2]=t;k[a+196>>2]=b;k[a+200>>2]=c;k[a+188>>2]=d;k[a+192>>2]=e;k[a+180>>2]=f;k[a+184>>2]=g;d=a+180|0;a:while(1){o=d+28|0;p=d+20|0;q=d+12|0;s=d+4|0;r=(t|0)<=(g|0);n=(c|0)>(e|0);do if(((n?e:c)|0)<((r?t:g)|0)?1:((n?c:e)|0)>((r?g:t)|0)){s=d+24|0;r=k[s>>2]|0;k[d+48>>2]=r;u=d+8|0;b=d+16|0;l=k[b>>2]|0;h=(k[u>>2]|0)+1|0;n=f+h>>1;k[u>>2]=n;k[d+40>>2]=r+1+l>>1;k[b>>2]=(h+l>>1)+1+n>>1;r=(h+l>>1)+1+(r+1+l>>1)>>1;k[d+32>>2]=r;k[s>>2]=((h+l>>1)+1+n>>1)+1+r>>1;k[d+52>>2]=t;s=e+1|0;r=g+s>>1;k[q>>2]=r;t=t+1+c>>1;k[d+44>>2]=t;s=(s+c>>1)+1|0;k[p>>2]=s+r>>1;k[d+36>>2]=s+t>>1;k[o>>2]=(s+r>>1)+1+(s+t>>1)>>1;k[a+52>>2]=d+24}else{if((t|0)==(g|0)){k[a+52>>2]=d+-24;break}n=r?1:2;d=k[a+100>>2]|0;if((d|0)!=(n|0)){b=k[a+4>>2]|0;if(r)l=((t+-1+b&0-b)-t|0)>=(k[a+8>>2]|0);else l=(b+-1&t|0)>=(k[a+8>>2]|0);if(d|0){b=k[a+40>>2]|0;h=k[a+88>>2]|0;d=b-(k[h+8>>2]|0)|0;if((d|0)<0){b=12;break a}if((d|0)>0){k[h+16>>2]=d>>2;do if(l){d=m[h+12>>1]|0;if(!(d&8)){j[h+12>>1]=d|32;break}else{j[h+12>>1]=d|16;break}}while(0);k[a+88>>2]=b;k[a+40>>2]=b+32;k[b+16>>2]=0;k[b+8>>2]=b+32;k[h+28>>2]=b;j[a+84>>1]=(j[a+84>>1]|0)+1<<16>>16;b=b+32|0}if(b>>>0>=(k[a+36>>2]|0)>>>0){b=20;break a}i[a+87>>0]=0}if(!(k[a+92>>2]|0)){b=k[a+40>>2]|0;k[a+88>>2]=b;k[a+92>>2]=b;k[a+40>>2]=b+32;b=b+32|0}else b=k[a+40>>2]|0;if(b>>>0>=(k[a+36>>2]|0)>>>0){b=26;break a}d=k[a+88>>2]|0;k[d+20>>2]=0;k[d+16>>2]=0;k[d+8>>2]=b;k[d+4>>2]=0;k[d+28>>2]=0;b=i[a+176>>0]|0;j[d+12>>1]=b&255;if(r){j[d+12>>1]=b&255|8;if(l)j[d+12>>1]=b&255|40}else if(l)j[d+12>>1]=b&255|16;if(!(k[a+96>>2]|0))k[a+96>>2]=d;k[a+100>>2]=n;i[a+86>>0]=1;i[a+87>>0]=0}b=k[a+76>>2]|0;d=k[a+80>>2]|0;if(r)if(!((BYa(a,3,700,b,d)|0)<<24>>24))break;else{g=1;b=44;break a}k[s>>2]=0-g;k[q>>2]=0-e;k[p>>2]=0-c;k[o>>2]=0-t;u=i[a+86>>0]|0;b=BYa(a,3,700,0-d|0,0-b|0)|0;if(u<<24>>24)if(!(i[a+86>>0]|0)){u=(k[a+88>>2]|0)+20|0;k[u>>2]=0-(k[u>>2]|0)}k[s>>2]=0-(k[s>>2]|0);if(b<<24>>24){g=1;b=44;break a}}while(0);b=k[a+52>>2]|0;if(b>>>0<(a+180|0)>>>0){b=43;break}d=b;t=k[b+28>>2]|0;g=k[b+4>>2]|0;c=k[b+20>>2]|0;e=k[b+12>>2]|0;f=k[b>>2]|0}if((b|0)==12){k[a+44>>2]=99;u=1;return u|0}else if((b|0)==20){k[a+44>>2]=98;u=1;return u|0}else if((b|0)==26){k[a+44>>2]=98;u=1;return u|0}else if((b|0)==43){k[a+68>>2]=f;k[a+72>>2]=g;u=0;return u|0}else if((b|0)==44)return g|0;return 0}function DYa(a){a=a|0;var b=0,c=0,d=0,e=0;b=k[a+24>>2]|0;k[a+48>>2]=b;e=k[a+16>>2]|0;c=(k[a+8>>2]|0)+1|0;d=c+(k[a>>2]|0)>>1;k[a+8>>2]=d;k[a+40>>2]=e+1+b>>1;k[a+16>>2]=(c+e>>1)+1+d>>1;b=(c+e>>1)+1+(e+1+b>>1)>>1;k[a+32>>2]=b;k[a+24>>2]=((c+e>>1)+1+d>>1)+1+b>>1;b=k[a+28>>2]|0;k[a+52>>2]=b;d=k[a+20>>2]|0;e=(k[a+12>>2]|0)+1|0;c=e+(k[a+4>>2]|0)>>1;k[a+12>>2]=c;k[a+44>>2]=d+1+b>>1;k[a+20>>2]=(e+d>>1)+1+c>>1;b=(e+d>>1)+1+(d+1+b>>1)>>1;k[a+36>>2]=b;k[a+28>>2]=((e+d>>1)+1+c>>1)+1+b>>1;return}function EYa(a,b,c){a=a|0;b=b|0;c=c|0;return}function FYa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;e=k[a+4>>2]|0;if((d-c|0)>=(e|0))return;if((c+-1+e&0-e|0)!=(0-e&d|0))return;e=(c+-1+e&0-e)>>k[a>>2];if((e|0)<=-1)return;f=k[a+104>>2]|0;if(e>>>0>=f>>>0)return;c=k[a+112>>2]|0;a=(k[a+60>>2]|0)+(b<<16>>16>>3)+(ha(c,0-e|0)|0)|0;d=a+(ha(c,f+-1|0)|0)|0;a=(c|0)>0?d:a;i[a>>0]=l[a>>0]|0|128>>>(b&7);return}function GYa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,m=0,n=0;h=k[a+4>>2]|0;g=c+-1+h&0-h;n=0-h&d;if((g|0)>(n|0)){m=j[e+12>>1]|0;if((g|0)!=(n+h|0))return;switch(m&7|0){case 0:{m=n;break}case 4:{m=(k[a+8>>2]|0)+((c+-1+d|0)/2|0)&0-h;break}case 5:case 1:{if((k[e+28>>2]|0)==(f|0))if((k[e+16>>2]|0)<1){if(!(m&16))return;if((d-c|0)<(k[a+8>>2]|0))return}if((k[f+28>>2]|0)==(e|0))if((k[e+20>>2]|0)==(b<<16>>16|0)){if(!(m&32))return;if((d-c|0)<(k[a+8>>2]|0))return}if((m&7|0)==1)m=n;else m=(k[a+8>>2]|0)+((c+-1+d|0)/2|0)&0-h;break}default:return}h=k[a>>2]|0;if((m|0)<0)f=g;else f=m>>h>>>0<(k[a+104>>2]|0)>>>0?m:n;e=((f|0)==(g|0)?n:g)>>h;m=k[a+112>>2]|0;g=(k[a+60>>2]|0)+(b<<16>>16>>3)+(ha(e,0-m|0)|0)|0;if((m|0)>0)g=g+(ha((k[a+104>>2]|0)+-1|0,m)|0)|0;if((e|0)>-1)if(e>>>0<(k[a+104>>2]|0)>>>0)if(!((l[g>>0]|0)&128>>>(b&7)))g=f;else return;else g=f;else g=f}else h=k[a>>2]|0;g=g>>h;if((g|0)<=-1)return;h=k[a+104>>2]|0;if(g>>>0>=h>>>0)return;d=k[a+112>>2]|0;a=(k[a+60>>2]|0)+(b<<16>>16>>3)+(ha(d,0-g|0)|0)|0;n=a+(ha(d,h+-1|0)|0)|0;a=(d|0)>0?n:a;i[a>>0]=l[a>>0]|0|128>>>(b&7);return}function HYa(a){a=a|0;return}function IYa(a){a=a|0;YTa(k[a>>2]|0,a);return}function JYa(a){a=a|0;var b=0;b=k[a+4>>2]|0;kj[k[(k[(k[a+12>>2]|0)+56>>2]|0)+8>>2]&255](k[a+52>>2]|0,k[b+164>>2]|0,k[b+168>>2]|0);return 0}function KYa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,l=0,m=0;m=r;r=r+80|0;if((k[b+72>>2]|0)!=(k[a+16>>2]|0)){k[m+64>>2]=6;b=6;r=m;return b|0}if((c|0)!=2){b=19;r=m;return b|0}if(d|0)VSa(b+108|0,k[d>>2]|0,k[d+4>>2]|0);USa(b+108|0,m+48|0);c=k[m+48>>2]|0;e=k[m+48+4>>2]|0;d=k[m+48+8>>2]|0;f=k[m+48+12>>2]|0;if(!((d+32&-64)-(c+32&-64)>>6)){l=c&-64;g=(d+63&-64)-(c&-64)>>6}else{l=c+32&-64;g=(d+32&-64)-(c+32&-64)>>6}d=(f+32&-64)-(e+32&-64)>>6;if(!d){j=f+63&-64;h=e&-64;d=(f+63&-64)-(e&-64)>>6}else{j=f+32&-64;h=e+32&-64}if((d|g)>>>0>65535){k[m+64>>2]=6;b=6;r=m;return b|0}c=k[a+8>>2]|0;if(k[(k[b+156>>2]|0)+4>>2]&1|0){YTa(c,k[b+88>>2]|0);k[b+88>>2]=0;f=(k[b+156>>2]|0)+4|0;k[f>>2]=k[f>>2]&-2}f=(g+15|0)>>>4<<1;i[b+94>>0]=1;k[b+80>>2]=g;k[b+76>>2]=d;k[b+84>>2]=f;c=WTa(c,d,0,f,0,m+64|0)|0;k[b+88>>2]=c;c=k[m+64>>2]|0;if(c|0){b=c;r=m;return b|0}c=(k[b+156>>2]|0)+4|0;k[c>>2]=k[c>>2]|1;VSa(b+108|0,0-l|0,0-h|0);k[m>>2]=b+76;k[m+4>>2]=b+108;k[m+8>>2]=0;c=gj[k[a+56>>2]&511](k[a+52>>2]|0,m)|0;k[m+64>>2]=c;VSa(b+108|0,l,h);c=k[m+64>>2]|0;if(c|0){b=c;r=m;return b|0}k[b+72>>2]=1651078259;k[b+100>>2]=l>>6;k[b+104>>2]=j>>6;b=0;r=m;return b|0}function LYa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if((k[b+72>>2]|0)!=(k[a+16>>2]|0)){b=6;return b|0}if(c|0)XSa(b+108|0,c);if(!d){b=0;return b|0}VSa(b+108|0,k[d>>2]|0,k[d+4>>2]|0);b=0;return b|0}function MYa(a,b,c){a=a|0;b=b|0;c=c|0;k[c>>2]=0;k[c+4>>2]=0;k[c+8>>2]=0;k[c+12>>2]=0;if((k[b+72>>2]|0)!=(k[a+16>>2]|0))return;USa(b+108|0,c);return}function NYa(a,b,c){a=a|0;b=b|0;c=c|0;return Ri[k[(k[(k[a+12>>2]|0)+56>>2]|0)+12>>2]&255](k[a+52>>2]|0,b,c)|0}function OYa(a,b){a=a|0;b=b|0;k[a+16>>2]=b;return 0}function PYa(a,b){a=a|0;b=b|0;if(b>>>0>=256){a=0;return a|0}a=l[(k[a+16>>2]|0)+(b+6)>>0]|0;return a|0}function QYa(a,b){a=a|0;b=b|0;var c=0,d=0;d=(k[a+16>>2]|0)+6|0;a=k[b>>2]|0;c=0;while(1){a=a+1|0;if(a>>>0>=256){a=0;break}c=i[d+a>>0]|0;if(!(c<<24>>24))c=c&255;else{c=c&255;break}}k[b>>2]=a;return c|0}function RYa(a,b){a=a|0;b=b|0;var c=0;if((a+4|0)>>>0>(k[b+160>>2]|0)>>>0)WRa(b,8);c=(l[a+2>>0]|0)<<8|(l[a+3>>0]|0);if(c>>>0<262?1:(a+c|0)>>>0>(k[b+160>>2]|0)>>>0)WRa(b,8);if(!(k[b+164>>2]|0))return 0;c=0;a=a+6|0;while(1){if((l[a>>0]|0)>>>0>=(k[b+172>>2]|0)>>>0){a=8;break}c=c+1|0;if((c|0)==256){a=10;break}else a=a+1|0}if((a|0)==8)WRa(b,16);else if((a|0)==10)return 0;return 0}function SYa(a,b){a=a|0;b=b|0;a=k[a+16>>2]|0;k[b+4>>2]=0;k[b>>2]=(l[a+4>>0]|0)<<8|(l[a+5>>0]|0);return 0}function TYa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a=k[a+16>>2]|0;if(b>>>0>=65536){b=0;return b|0}if(!(b>>>8))if(!((l[a+6+(b<<1&510)>>0]|0)<<8|(l[a+6+(b<<1&510)+1>>0]|0)))e=a+518|0;else{b=0;return b|0}else{c=(l[a+6+(b>>>8<<1)+1>>0]|0)&248|(l[a+6+(b>>>8<<1)>>0]|0)<<8;if(!c){b=0;return b|0}else e=a+518+c|0}c=e+6|0;d=(l[c>>0]|0)<<8|(l[e+7>>0]|0);a=(b&255)-((l[e>>0]|0)<<8|(l[e+1>>0]|0))|0;if(!(d|0?a>>>0<((l[e+2>>0]|0)<<8|(l[e+3>>0]|0))>>>0:0)){b=0;return b|0}a=(l[c+(d+(a<<1))>>0]|0)<<8|(l[c+(d+(a<<1))+1>>0]|0);if(!a){b=0;return b|0}b=a+((l[e+4>>0]|0)<<8|(l[e+5>>0]|0))&65535;return b|0}function UYa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,m=0;j=k[a+16>>2]|0;a=(k[b>>2]|0)+1|0;if(a>>>0>=65536){m=0;j=0;k[b>>2]=j;return m|0}a:while(1){c=a>>>8;if(!c){i=j+6+(a<<1&510)|0;if(!((l[i>>0]|0)<<8|(l[i+1>>0]|0))){c=j+518|0;m=6}}else{c=(l[j+6+(c<<1)+1>>0]|0)&248|(l[j+6+(c<<1)>>0]|0)<<8;if(c){c=j+518+c|0;m=6}}if((m|0)==6){m=0;e=(l[c>>0]|0)<<8|(l[c+1>>0]|0);h=(l[c+2>>0]|0)<<8|(l[c+3>>0]|0);g=c+6|0;i=(l[c+4>>0]|0)<<8|(l[c+5>>0]|0);f=(l[g>>0]|0)<<8|(l[c+7>>0]|0);c=a&255;if(f){d=c>>>0>>0?0:c-e|0;a=(c>>>0>>0?e:c)+(a&-256)|0;if(d>>>0>>0){e=g+(f+(d<<1))|0;do{c=(l[e>>0]|0)<<8|(l[e+1>>0]|0);e=e+2|0;if(c|0)if(c+i&65535|0){c=c+i&65535;m=13;break a}d=d+1|0;a=a+1|0}while(d>>>0>>0)}}}a=a+256&-256;if(a>>>0>=65536){c=0;a=0;m=13;break}}if((m|0)==13){k[b>>2]=a;return c|0}return 0}function VYa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,m=0,n=0,o=0;if((a+4|0)>>>0>(k[b+160>>2]|0)>>>0)WRa(b,8);o=(l[a+2>>0]|0)<<8|(l[a+3>>0]|0);if(o>>>0<518?1:(a+o|0)>>>0>(k[b+160>>2]|0)>>>0)WRa(b,8);d=0;e=0;f=a+6|0;while(1){c=l[f+1>>0]|0;if(!((c&7|0)==0?1:(k[b+164>>2]|0)>>>0<2)){g=7;break}n=((l[f>>0]|0)<<8|c)>>>3;n=n>>>0>d>>>0?n:d;e=e+1|0;if((e|0)==256)break;else{d=n;f=f+2|0}}if((g|0)==7)WRa(b,8);if((a+518+((n<<3)+8)|0)>>>0>(k[b+160>>2]|0)>>>0)WRa(b,8);m=0;g=a+518|0;a:while(1){h=g;d=(l[g>>0]|0)<<8|(l[g+1>>0]|0);i=(l[g+2>>0]|0)<<8|(l[g+3>>0]|0);j=(l[g+4>>0]|0)<<8|(l[g+5>>0]|0);c=g+8|0;e=g+6|0;f=(l[e>>0]|0)<<8|(l[g+7>>0]|0);if(i){if((k[b+164>>2]|0)>>>0>1)if(d>>>0>255|(i+d|0)>>>0>256){g=15;break}if(f){if((e+f|0)>>>0<(a+518+((n<<3)+8)|0)>>>0){g=19;break}if((e+f+(i<<1)|0)>>>0>(a+o|0)>>>0){g=19;break}if(k[b+164>>2]|0){g=g+10|0;d=((c+(i<<1)|0)>>>0>g>>>0?c+(i<<1)|0:g)+-9+(0-h)&-2;f=c;do{e=(l[f>>0]|0)<<8|(l[f+1>>0]|0);f=f+2|0;if(e|0)if((e+j&65535)>>>0>=(k[b+172>>2]|0)>>>0){g=24;break a}}while(f>>>0<(c+(i<<1)|0)>>>0);c=g+d|0}}}m=m+1|0;if(m>>>0>n>>>0){g=28;break}else g=c}if((g|0)==15)WRa(b,8);else if((g|0)==19)WRa(b,9);else if((g|0)==24)WRa(b,16);else if((g|0)==28)return 0;return 0}function WYa(a,b){a=a|0;b=b|0;a=k[a+16>>2]|0;k[b+4>>2]=2;k[b>>2]=(l[a+4>>0]|0)<<8|(l[a+5>>0]|0);return 0}function XYa(a,b){a=a|0;b=b|0;k[a+16>>2]=b;k[a+32>>2]=((l[b+6>>0]|0)<<8|(l[b+7>>0]|0))>>>1;k[a+24>>2]=-1;k[a+28>>2]=0;return 0}function YYa(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c>>2]=b;do if(b>>>0>65535)b=0;else if(!(k[a+20>>2]&1)){b=_Ya(a,c,0)|0;break}else{b=ZYa(a,c,0)|0;break}while(0);r=c;return b|0}function ZYa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,m=0,n=0,o=0,p=0;n=k[a+16>>2]|0;o=(l[n+7>>0]|0)&254|(l[n+6>>0]|0)<<8;if(!(o>>>1)){p=0;return p|0}e=(k[b>>2]|0)+(c<<24>>24==0^1)|0;if(e>>>0>=65536){p=0;return p|0}while(1){j=0;d=n+14|0;m=n+16+o|0;a:while(1){g=(l[d>>0]|0)<<8|(l[d+1>>0]|0);h=(l[m>>0]|0)<<8|(l[m+1>>0]|0);if(e>>>0>g>>>0|e>>>0>>0)d=d+2|0;else{i=m+o|0;d=((l[i>>0]|0)<<8|(l[i+1>>0]|0))<<16>>16;f=(l[i+o>>0]|0)<<8|(l[i+o+1>>0]|0);if((g|0)==65535&(j>>>0>=((o>>>1)+-1|0)>>>0&(h|0)==65535)){g=k[a>>2]|0;if(!f){p=11;break}g=(i+o+f+2|0)>>>0>((k[g+500>>2]|0)+(k[g+504>>2]|0)|0)>>>0;d=g?1:d;f=g?0:f}if((f|0)<65535){p=19;break}switch(f|0){case 65535:{d=i+o|0;break}default:{g=i+o|0;p=9;break a}}}m=m+2|0;j=j+1|0;if(j>>>0>=o>>>1>>>0){d=0;break}}if((p|0)==19)switch(f|0){case 0:{p=11;break}default:{g=i+o|0;p=9}}if((p|0)==9){p=0;f=g+(f+(e-h<<1))|0;f=(l[f>>0]|0)<<8|(l[f+1>>0]|0);if(!f)d=0;else d=f+d&65535}else if((p|0)==11){p=0;d=d+e&65535}if(c<<24>>24==0|(d|0)!=0)break;e=e+1|0;if(e>>>0>=65536){d=0;p=18;break}}if((p|0)==18)return d|0;if(!(c<<24>>24!=0&(d|0)!=0)){p=d;return p|0}k[b>>2]=e;p=d;return p|0}function _Ya(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;v=k[a+16>>2]|0;w=(l[v+7>>0]|0)&254|(l[v+6>>0]|0)<<8;if(!w){b=0;return b|0}e=(k[b>>2]|0)+(c<<24>>24!=0&1)|0;d=65535;g=w>>>1;h=w>>>1;i=0;a:while(1){f=h;while(1){if(i>>>0>=g>>>0){g=d;d=0;break a}f=(g+i|0)>>>1;h=v+14+(f<<1)|0;u=(l[h>>0]|0)<<8|(l[h+1>>0]|0);d=(l[h+(w+2)>>0]|0)<<8|(l[h+(w+2)+1>>0]|0);if(e>>>0>=d>>>0)break;else{d=u;g=f}}if(e>>>0<=u>>>0){j=8;break}d=u;h=f;i=f+1|0}do if((j|0)==8){m=h+(w+2)+w|0;s=((l[m>>0]|0)<<8|(l[m+1>>0]|0))<<16>>16;t=(l[m+w>>0]|0)<<8|(l[m+w+1>>0]|0);if((u|0)==65535&(f>>>0>=((w>>>1)+-1|0)>>>0&(d|0)==65535)){g=k[a>>2]|0;if(!t){i=s;h=0}else{h=(m+w+t+2|0)>>>0>((k[g+500>>2]|0)+(k[g+504>>2]|0)|0)>>>0;i=h?1:s;h=h?0:t}}else{i=s;h=t}g=(h|0)==65535;if(!(k[a+20>>2]&2))if(g){g=u;d=0;break}else{j=u;g=m+w|0}else{g=g?f+1|0:f;b:do if(!f){p=u;j=0;q=g;g=m+w|0;o=d}else{p=u;q=f;r=g;g=m+w|0;o=d;while(1){j=q;q=q+-1|0;m=v+14+(q<<1)|0;n=(l[m>>0]|0)<<8|(l[m+1>>0]|0);if(e>>>0>n>>>0){q=r;break b}o=(l[m+(w+2)>>0]|0)<<8|(l[m+(w+2)+1>>0]|0);m=m+(w+2)+w|0;i=((l[m>>0]|0)<<8|(l[m+1>>0]|0))<<16>>16;h=(l[m+w>>0]|0)<<8|(l[m+w+1>>0]|0);g=(h|0)==65535?r:q;if(!q){p=n;j=0;q=g;g=m+w|0;break}else{p=n;r=g;g=m+w|0}}}while(0);if((q|0)==(f+1|0)){n=(j|0)==(f|0);g=n?p:u;if((f+1|0)>>>0>=w>>>1>>>0){d=0;break}i=n?i:s;j=f+1|0;m=f;h=n?h:t;o=n?o:d;while(1){n=v+14+(j<<1)|0;d=(l[n+(w+2)>>0]|0)<<8|(l[n+(w+2)+1>>0]|0);if(e>>>0>>0){p=g;g=n+(w+2)|0;d=o;break}g=(l[n>>0]|0)<<8|(l[n+1>>0]|0);n=n+(w+2)+w|0;i=((l[n>>0]|0)<<8|(l[n+1>>0]|0))<<16>>16;h=(l[n+w>>0]|0)<<8|(l[n+w+1>>0]|0);m=(h|0)==65535?m:j;j=j+1|0;if(j>>>0>>1>>>0)o=d;else{p=g;g=n+w|0;break}}j=j+-1|0;if((m|0)==(f|0)){g=p;d=0;f=j;break}else{n=p;f=m}}else{n=p;f=q;d=o}if((f|0)==(j|0))j=n;else{d=v+14+(f<<1)|0;g=d+(w+2)+w|0;i=((l[g>>0]|0)<<8|(l[g+1>>0]|0))<<16>>16;j=(l[d>>0]|0)<<8|(l[d+1>>0]|0);h=(l[g+w>>0]|0)<<8|(l[g+w+1>>0]|0);g=g+w|0;d=(l[d+(w+2)>>0]|0)<<8|(l[d+(w+2)+1>>0]|0)}}if(!h){g=j;d=i+e&65535;break}d=g+((e-d<<1)+h)|0;d=(l[d>>0]|0)<<8|(l[d+1>>0]|0);if(!d){g=j;d=0}else{g=j;d=d+i&65535}}while(0);if(!(c<<24>>24)){b=d;return b|0}if(e>>>0>g>>>0){f=f+1|0;if((f|0)==(w>>>1|0)){b=0;return b|0}}if($Ya(a,f)|0){if(!d){b=0;return b|0}k[b>>2]=e;b=d;return b|0}k[a+24>>2]=e;do if(!d){k[a+24>>2]=e;aZa(a);d=k[a+28>>2]|0;if(!d){b=0;return b|0}else{e=k[a+24>>2]|0;break}}else k[a+28>>2]=d;while(0);k[b>>2]=e;b=d;return b|0}function $Ya(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=k[a+32>>2]|0;if(g>>>0<=b>>>0){h=-1;return h|0}e=(k[a+16>>2]|0)+14|0;while(1){f=e+(b<<1)|0;d=(l[f>>0]|0)<<8|(l[f+1>>0]|0);k[a+44>>2]=d;i=(l[f+((g<<1)+2)>>0]|0)<<8|(l[f+((g<<1)+2)+1>>0]|0);k[a+40>>2]=i;f=f+((g<<1)+2)+(g<<1)|0;k[a+48>>2]=((l[f>>0]|0)<<8|(l[f+1>>0]|0))<<16>>16;c=(l[f+(g<<1)>>0]|0)<<8|(l[f+(g<<1)+1>>0]|0);if(b>>>0>=(g+-1|0)>>>0&(i|0)==65535&(d|0)==65535){d=k[a>>2]|0;if(!c){d=f+(g<<1)|0;c=0;break}if((f+(g<<1)+c+2|0)>>>0>((k[d+500>>2]|0)+(k[d+504>>2]|0)|0)>>>0){h=6;break}}if((c|0)!=65535){d=f+(g<<1)|0;break}b=b+1|0;if(b>>>0>=g>>>0){b=-1;h=10;break}}if((h|0)==6){k[a+48>>2]=1;d=f+(g<<1)|0;c=0}else if((h|0)==10)return b|0;k[a+52>>2]=c|0?d+c|0:0;k[a+36>>2]=b;i=0;return i|0}function aZa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=k[a+24>>2]|0;a:do if(b>>>0<=65534){d=k[a+40>>2]|0;e=d;d=(b+1|0)>>>0>>0?d:b+1|0;b:while(1){c=k[a+52>>2]|0;f=k[a+44>>2]|0;g=k[a+48>>2]|0;c:do if(d>>>0>f>>>0)b=d;else{if(!c){b=d;while(1){c=b+g&65535;if(c|0){d=11;break b}b=b+1|0;if(b>>>0>f>>>0)break c}}b=d;c=c+(d-e<<1)|0;do{e=(l[c>>0]|0)<<8|(l[c+1>>0]|0);c=c+2|0;if(e|0)if(e+g&65535|0){d=9;break b}b=b+1|0}while(b>>>0<=f>>>0)}while(0);if(($Ya(a,(k[a+36>>2]|0)+1|0)|0)<0)break a;d=k[a+40>>2]|0;e=d;d=b>>>0>>0?d:b}if((d|0)==9){k[a+24>>2]=b;k[a+28>>2]=e+g&65535;return}else if((d|0)==11){k[a+24>>2]=b;k[a+28>>2]=c;return}}while(0);k[a+24>>2]=-1;k[a+28>>2]=0;return}function bZa(a,b){a=a|0;b=b|0;var c=0;c=k[b>>2]|0;if(c>>>0>65534){b=0;return b|0}if(k[a+20>>2]&1|0){b=ZYa(a,b,1)|0;return b|0}if((c|0)!=(k[a+24>>2]|0)){b=_Ya(a,b,1)|0;return b|0}aZa(a);c=k[a+28>>2]|0;if(!c){b=0;return b|0}k[b>>2]=k[a+24>>2];b=c;return b|0}function cZa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;if((a+4|0)>>>0>(k[b+160>>2]|0)>>>0)WRa(b,8);c=(l[a+2>>0]|0)<<8|(l[a+3>>0]|0);do if((a+c|0)>>>0>(k[b+160>>2]|0)>>>0)if(!(k[b+164>>2]|0)){f=(k[b+160>>2]|0)-a|0;break}else WRa(b,8);else f=c;while(0);if(f>>>0<16)WRa(b,8);t=l[a+7>>0]|0;u=(l[a+6>>0]|0)<<8|t;if(!((t&1|0)==0?1:(k[b+164>>2]|0)>>>0<2))WRa(b,8);if(f>>>0<((u>>>1<<3)+16|0)>>>0)WRa(b,8);if((k[b+164>>2]|0)>>>0>1){t=i[a+9>>0]|0;c=(l[a+8>>0]|0)<<8|t&255;d=(l[a+10>>0]|0)<<8|(l[a+11>>0]|0);s=i[a+13>>0]|0;e=(l[a+12>>0]|0)<<8|s&255;if((s|t)&1)WRa(b,8);if(!((c>>>1|0)==(1<>>1>>>0<=u>>>1>>>0&c>>>1<<1>>>0>=u>>>1>>>0&((e>>>1)+(c>>>1)|0)==(u>>>1|0))))WRa(b,8)}t=a+16+(u>>>1<<1)+(u>>>1<<1)|0;if((k[b+164>>2]|0)>>>0>1)if(((l[a+14+((u>>>1<<1)+-2)>>0]|0)<<8|(l[a+14+((u>>>1<<1)+-2)+1>>0]|0)|0)!=65535)WRa(b,8);if(!(u>>>1)){v=0;return v|0}m=a+f|0;c=0;n=0;o=0;p=0;q=t;r=a+14|0;s=t+(u>>>1<<1)|0;j=a+16+(u>>>1<<1)|0;a:while(1){h=j;j=j+2|0;e=o;o=(l[h>>0]|0)<<8|(l[h+1>>0]|0);h=r;r=r+2|0;d=n;n=(l[h>>0]|0)<<8|(l[h+1>>0]|0);h=(l[q>>0]|0)<<8|(l[q+1>>0]|0);q=q+2|0;g=s;s=s+2|0;a=(l[g>>0]|0)<<8|(l[g+1>>0]|0);if(n>>>0>>0){v=24;break}do if((p|0)!=0&o>>>0<=d>>>0){if(k[b+164>>2]|0){v=27;break a}if(e>>>0>o>>>0|d>>>0>n>>>0){c=c|1;break}else{c=c|2;break}}while(0);b:do if((a|0)<65535)switch(a|0){case 0:break;default:v=32}else{switch(a|0){case 65535:break;default:{v=32;break b}}if((k[b+164>>2]|0)>>>0>1){v=47;break a}if(!((p|0)==((u>>>1)+-1|0)&(o|0)==65535&(n|0)==65535)){v=47;break a}}while(0);if((v|0)==32){v=0;if(!(k[b+164>>2]|0)){if(!((p|0)==((u>>>1)+-1|0)&(o|0)==65535&(n|0)==65535)){if((g+a|0)>>>0<(t+(u>>>1<<1)+(u>>>1<<1)|0)>>>0){v=39;break}if((g+a+((n-o<<1)+2)|0)>>>0>(k[b+160>>2]|0)>>>0){v=39;break}}}else{if((g+a|0)>>>0<(t+(u>>>1<<1)+(u>>>1<<1)|0)>>>0){v=35;break}if((g+a+((n-o<<1)+2)|0)>>>0>m>>>0){v=35;break}}if((k[b+164>>2]|0)!=0&n>>>0>o>>>0){f=o;e=g+a|0;do{d=(l[e>>0]|0)<<8|(l[e+1>>0]|0);e=e+2|0;if(d|0)if((d+h&65535)>>>0>=(k[b+172>>2]|0)>>>0){v=43;break a}f=f+1|0}while((f|0)!=(n|0))}}p=p+1|0;if((p|0)==(u>>>1|0)){v=49;break}}if((v|0)==24)WRa(b,8);else if((v|0)==27)WRa(b,8);else if((v|0)==35)WRa(b,8);else if((v|0)==39)WRa(b,8);else if((v|0)==43)WRa(b,16);else if((v|0)==47)WRa(b,8);else if((v|0)==49)return c|0;return 0}function dZa(a,b){a=a|0;b=b|0;a=k[a+16>>2]|0;k[b+4>>2]=4;k[b>>2]=(l[a+4>>0]|0)<<8|(l[a+5>>0]|0);return 0}function eZa(a,b){a=a|0;b=b|0;var c=0;c=k[a+16>>2]|0;a=b-((l[c+6>>0]|0)<<8|(l[c+7>>0]|0))|0;if(a>>>0>=((l[c+8>>0]|0)<<8|(l[c+9>>0]|0))>>>0){b=0;return b|0}b=(l[c+10+(a<<1)>>0]|0)<<8|(l[c+10+(a<<1)+1>>0]|0);return b|0}function fZa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=k[a+16>>2]|0;a=(k[b>>2]|0)+1|0;e=(l[d+6>>0]|0)<<8|(l[d+7>>0]|0);g=(l[d+8>>0]|0)<<8|(l[d+9>>0]|0);if(a>>>0>65535){g=0;f=0;k[b>>2]=f;return g|0}c=a>>>0>>0?e:a;if((c-e|0)>>>0>=g>>>0){g=0;f=0;k[b>>2]=f;return g|0}a=c;f=c-e|0;c=d+10+(c-e<<1)|0;while(1){d=(l[c>>0]|0)<<8|(l[c+1>>0]|0);if(d|0){c=6;break}f=f+1|0;if(f>>>0>=g>>>0){d=0;a=0;c=6;break}else{a=a+1|0;c=c+2|0}}if((c|0)==6){k[b>>2]=a;return d|0}return 0}function gZa(a,b){a=a|0;b=b|0;var c=0,d=0;if((a+10|0)>>>0>(k[b+160>>2]|0)>>>0)WRa(b,8);c=(l[a+2>>0]|0)<<8|(l[a+3>>0]|0);d=(l[a+8>>0]|0)<<8|(l[a+9>>0]|0);if((a+c|0)>>>0>(k[b+160>>2]|0)>>>0)WRa(b,8);if(c>>>0<((d<<1)+10|0)>>>0)WRa(b,8);if((k[b+164>>2]|0)==0|(d|0)==0)return 0;c=a+10|0;while(1){if(((l[c>>0]|0)<<8|(l[c+1>>0]|0))>>>0>=(k[b+172>>2]|0)>>>0){c=9;break}d=d+-1|0;if(!d){c=11;break}else c=c+2|0}if((c|0)==9)WRa(b,16);else if((c|0)==11)return 0;return 0}function hZa(a,b){a=a|0;b=b|0;a=k[a+16>>2]|0;k[b+4>>2]=6;k[b>>2]=(l[a+4>>0]|0)<<8|(l[a+5>>0]|0);return 0}function iZa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=k[a+16>>2]|0;a=(l[c+8205>>0]|0)<<16|(l[c+8204>>0]|0)<<24|(l[c+8206>>0]|0)<<8|(l[c+8207>>0]|0);if(!a){b=0;return b|0}c=c+8208|0;while(1){e=(l[c+1>>0]|0)<<16|(l[c>>0]|0)<<24|(l[c+2>>0]|0)<<8|(l[c+3>>0]|0);if(e>>>0>b>>>0){a=0;d=7;break}a=a+-1|0;if(((l[c+5>>0]|0)<<16|(l[c+4>>0]|0)<<24|(l[c+6>>0]|0)<<8|(l[c+7>>0]|0))>>>0>=b>>>0){d=6;break}if(!a){a=0;d=7;break}else c=c+12|0}if((d|0)==6){b=b-e+((l[c+9>>0]|0)<<16|(l[c+8>>0]|0)<<24|(l[c+10>>0]|0)<<8|(l[c+11>>0]|0))|0;return b|0}else if((d|0)==7)return a|0;return 0}function jZa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=k[a+16>>2]|0;a=(l[c+8205>>0]|0)<<16|(l[c+8204>>0]|0)<<24|(l[c+8206>>0]|0)<<8|(l[c+8207>>0]|0);if(!a){f=0;e=0;k[b>>2]=e;return f|0}f=(k[b>>2]|0)+1|0;e=c+8208|0;while(1){c=(l[e+1>>0]|0)<<16|(l[e>>0]|0)<<24|(l[e+2>>0]|0)<<8|(l[e+3>>0]|0);d=e;e=e+12|0;f=f>>>0>>0?c:f;if(f>>>0<=((l[d+5>>0]|0)<<16|(l[d+4>>0]|0)<<24|(l[d+6>>0]|0)<<8|(l[d+7>>0]|0))>>>0){c=((l[d+9>>0]|0)<<16|(l[d+8>>0]|0)<<24|(l[d+10>>0]|0)<<8|(l[d+11>>0]|0))+(f-c)|0;if(c|0){d=c;a=f;c=6;break}}a=a+-1|0;if(!a){d=0;a=0;c=6;break}}if((c|0)==6){k[b>>2]=a;return d|0}return 0}function kZa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,m=0,n=0;if((a+8208|0)>>>0>(k[b+160>>2]|0)>>>0)WRa(b,8);m=(l[a+5>>0]|0)<<16|(l[a+4>>0]|0)<<24|(l[a+6>>0]|0)<<8|(l[a+7>>0]|0);if(m>>>0<8208?1:m>>>0>((k[b+160>>2]|0)-a|0)>>>0)WRa(b,8);h=(l[a+8205>>0]|0)<<16|(l[a+8204>>0]|0)<<24|(l[a+8206>>0]|0)<<8|(l[a+8207>>0]|0);if(h>>>0>((((k[b+160>>2]|0)-(a+8208)|0)>>>0)/12|0)>>>0)WRa(b,8);if(!h)return 0;i=0;j=0;m=a+8208|0;a:while(1){e=(l[m+1>>0]|0)<<16|(l[m>>0]|0)<<24;c=e|(l[m+2>>0]|0)<<8|(l[m+3>>0]|0);f=(l[m+5>>0]|0)<<16|(l[m+4>>0]|0)<<24;d=i;i=f|(l[m+6>>0]|0)<<8|(l[m+7>>0]|0);g=m;m=m+12|0;if(i>>>0>>0){c=10;break}if(!((j|0)==0|c>>>0>d>>>0)){c=12;break}do if(k[b+164>>2]|0){d=i-c|0;n=k[b+172>>2]|0;if(!(n>>>0>=d>>>0?((l[g+9>>0]|0)<<16|(l[g+8>>0]|0)<<24|(l[g+10>>0]|0)<<8|(l[g+11>>0]|0))>>>0<(n-d|0)>>>0:0)){c=15;break a}if(!e){if(f|0){c=24;break a}if(!(d+1|0))break;else d=d+1|0;while(1){if((l[a+12+(c>>>3&8191)>>0]|0)&128>>>(c&7)|0){c=27;break a}d=d+-1|0;if(!d)break;else c=c+1|0}}else{if(!(d+1|0))break;else d=d+1|0;while(1){if(!((l[a+12+(c>>>19)>>0]|0)&128>>>(c>>>16&7))){c=19;break a}if(!((l[a+12+(c>>>3&8191)>>0]|0)&128>>>(c&7))){c=21;break a}d=d+-1|0;if(!d)break;else c=c+1|0}}}while(0);j=j+1|0;if((j|0)==(h|0)){c=30;break}}if((c|0)==10)WRa(b,8);else if((c|0)==12)WRa(b,8);else if((c|0)==15)WRa(b,16);else if((c|0)==19)WRa(b,8);else if((c|0)==21)WRa(b,8);else if((c|0)==24)WRa(b,8);else if((c|0)==27)WRa(b,8);else if((c|0)==30)return 0;return 0}function lZa(a,b){a=a|0;b=b|0;a=k[a+16>>2]|0;k[b+4>>2]=8;k[b>>2]=(l[a+9>>0]|0)<<16|(l[a+8>>0]|0)<<24|(l[a+10>>0]|0)<<8|(l[a+11>>0]|0);return 0}function mZa(a,b){a=a|0;b=b|0;var c=0;c=k[a+16>>2]|0;a=b-((l[c+13>>0]|0)<<16|(l[c+12>>0]|0)<<24|(l[c+14>>0]|0)<<8|(l[c+15>>0]|0))|0;if(a>>>0>=((l[c+17>>0]|0)<<16|(l[c+16>>0]|0)<<24|(l[c+18>>0]|0)<<8|(l[c+19>>0]|0))>>>0){b=0;return b|0}b=(l[c+20+(a<<1)>>0]|0)<<8|(l[c+20+(a<<1)+1>>0]|0);return b|0}function nZa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=k[a+16>>2]|0;a=(k[b>>2]|0)+1|0;e=(l[c+13>>0]|0)<<16|(l[c+12>>0]|0)<<24|(l[c+14>>0]|0)<<8|(l[c+15>>0]|0);f=(l[c+17>>0]|0)<<16|(l[c+16>>0]|0)<<24|(l[c+18>>0]|0)<<8|(l[c+19>>0]|0);a=a>>>0>>0?e:a;if((a-e|0)>>>0>=f>>>0){f=a;g=0;k[b>>2]=f;return g|0}d=a;g=a-e|0;c=c+20+(a-e<<1)|0;while(1){a=(l[c>>0]|0)<<8|(l[c+1>>0]|0);if(a|0){c=5;break}a=d+1|0;g=g+1|0;if(g>>>0>=f>>>0){d=a;a=0;c=5;break}else{d=a;c=c+2|0}}if((c|0)==5){k[b>>2]=d;return a|0}return 0}function oZa(a,b){a=a|0;b=b|0;var c=0,d=0;if((a+20|0)>>>0>(k[b+160>>2]|0)>>>0)WRa(b,8);c=(l[a+5>>0]|0)<<16|(l[a+4>>0]|0)<<24|(l[a+6>>0]|0)<<8|(l[a+7>>0]|0);d=(l[a+17>>0]|0)<<16|(l[a+16>>0]|0)<<24|(l[a+18>>0]|0)<<8|(l[a+19>>0]|0);if(c>>>0<20?1:c>>>0>((k[b+160>>2]|0)-a|0)>>>0)WRa(b,8);if((c+-20|0)>>>1>>>0>>0)WRa(b,8);if((k[b+164>>2]|0)==0|(d|0)==0)return 0;c=a+20|0;while(1){if(((l[c>>0]|0)<<8|(l[c+1>>0]|0))>>>0>=(k[b+172>>2]|0)>>>0){c=9;break}d=d+-1|0;if(!d){c=11;break}else c=c+2|0}if((c|0)==9)WRa(b,16);else if((c|0)==11)return 0;return 0}function pZa(a,b){a=a|0;b=b|0;a=k[a+16>>2]|0;k[b+4>>2]=10;k[b>>2]=(l[a+9>>0]|0)<<16|(l[a+8>>0]|0)<<24|(l[a+10>>0]|0)<<8|(l[a+11>>0]|0);return 0}function qZa(a,b){a=a|0;b=b|0;k[a+16>>2]=b;k[a+40>>2]=(l[b+13>>0]|0)<<16|(l[b+12>>0]|0)<<24|(l[b+14>>0]|0)<<8|(l[b+15>>0]|0);i[a+24>>0]=0;return 0}function rZa(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c>>2]=b;a=sZa(a,c,0)|0;r=c;return a|0}function sZa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0;h=k[a+16>>2]|0;p=l[h+13>>0]<<16|l[h+12>>0]<<24|l[h+14>>0]<<8|l[h+15>>0];if(!p){b=0;return b|0}e=(k[b>>2]|0)+(c<<24>>24!=0&1)|0;n=p;d=0;a:while(1){while(1){f=(d+n|0)>>>1;j=h+16+(f*12|0)+4+-4|0;j=l[j+1>>0]<<16|l[j>>0]<<24|l[j+2>>0]<<8|l[j+3>>0];m=h+16+(f*12|0)+4+4|0;g=l[m+-4+1>>0]<<16|l[m+-4>>0]<<24|l[m+-4+2>>0]<<8|l[m+-4+3>>0];if(e>>>0>>0)break;if(e>>>0<=g>>>0){o=8;break a}d=f+1|0;if(d>>>0>=n>>>0){d=0;break a}}if(d>>>0>>0)n=f;else{d=0;break}}if((o|0)==8)d=e-j+(l[m+1>>0]<<16|l[m>>0]<<24|l[m+2>>0]<<8|l[m+3>>0])|0;if(!(c<<24>>24)){b=d;return b|0}if(e>>>0>g>>>0){f=f+1|0;if((f|0)==(p|0)){b=0;return b|0}}i[a+24>>0]=1;k[a+28>>2]=e;k[a+36>>2]=f;do if(!d){tZa(a);if(!(i[a+24>>0]|0)){b=0;return b|0}d=k[a+32>>2]|0;if(!d){b=0;return b|0}else{e=k[a+28>>2]|0;break}}else k[a+32>>2]=d;while(0);k[b>>2]=e;b=d;return b|0}function tZa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0;b=k[a+28>>2]|0;a:do if((b|0)!=-1){c=k[a+36>>2]|0;j=k[a+40>>2]|0;if(c>>>0>>0){h=(k[a+16>>2]|0)+16|0;b=b+1|0;b:while(1){f=h+(c*12|0)+4|0;g=(l[f+-4+1>>0]|0)<<16|(l[f+-4>>0]|0)<<24|(l[f+-4+2>>0]|0)<<8|(l[f+-4+3>>0]|0);e=(l[f+4+-4+1>>0]|0)<<16|(l[f+4+-4>>0]|0)<<24|(l[f+4+-4+2>>0]|0)<<8|(l[f+4+-4+3>>0]|0);f=(l[f+4+1>>0]|0)<<16|(l[f+4>>0]|0)<<24|(l[f+4+2>>0]|0)<<8|(l[f+4+3>>0]|0);b=b>>>0>>0?g:b;if(b>>>0<=e>>>0)do{d=b+f|0;if((d|0)!=(g|0))break b;b=b+1|0}while(b>>>0<=e>>>0);c=c+1|0;if(c>>>0>=j>>>0)break a}k[a+28>>2]=b;k[a+32>>2]=d-g;k[a+36>>2]=c;return}}while(0);i[a+24>>0]=0;return}function uZa(a,b){a=a|0;b=b|0;var c=0;c=k[a+28>>2]|0;if((c|0)==-1){b=0;return b|0}if(i[a+24>>0]|0)if((c|0)==(k[b>>2]|0)){tZa(a);if(!(i[a+24>>0]|0)){b=0;return b|0}c=k[a+32>>2]|0;if(!c){b=0;return b|0}k[b>>2]=k[a+28>>2];b=c;return b|0}b=sZa(a,b,1)|0;return b|0}function vZa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;if((a+16|0)>>>0>(k[b+160>>2]|0)>>>0)WRa(b,8);c=(l[a+5>>0]|0)<<16|(l[a+4>>0]|0)<<24|(l[a+6>>0]|0)<<8|(l[a+7>>0]|0);h=(l[a+13>>0]|0)<<16|(l[a+12>>0]|0)<<24|(l[a+14>>0]|0)<<8|(l[a+15>>0]|0);if(c>>>0<16?1:c>>>0>((k[b+160>>2]|0)-a|0)>>>0)WRa(b,8);if((((c+-16|0)>>>0)/12|0)>>>0>>0)WRa(b,8);if(!h)return 0;f=0;g=0;d=a+16|0;while(1){c=(l[d+1>>0]|0)<<16|(l[d>>0]|0)<<24|(l[d+2>>0]|0)<<8|(l[d+3>>0]|0);a=f;f=(l[d+5>>0]|0)<<16|(l[d+4>>0]|0)<<24|(l[d+6>>0]|0)<<8|(l[d+7>>0]|0);e=d;d=d+12|0;if(f>>>0>>0){c=9;break}if(!((g|0)==0|c>>>0>a>>>0)){c=11;break}if(k[b+164>>2]|0){a=f-c|0;c=k[b+172>>2]|0;if(!(c>>>0>=a>>>0?((l[e+9>>0]|0)<<16|(l[e+8>>0]|0)<<24|(l[e+10>>0]|0)<<8|(l[e+11>>0]|0))>>>0<(c-a|0)>>>0:0)){c=14;break}}g=g+1|0;if((g|0)==(h|0)){c=16;break}}if((c|0)==9)WRa(b,8);else if((c|0)==11)WRa(b,8);else if((c|0)==14)WRa(b,16);else if((c|0)==16)return 0;return 0}function wZa(a,b){a=a|0;b=b|0;a=k[a+16>>2]|0;k[b+4>>2]=12;k[b>>2]=(l[a+9>>0]|0)<<16|(l[a+8>>0]|0)<<24|(l[a+10>>0]|0)<<8|(l[a+11>>0]|0);return 0}function xZa(a,b){a=a|0;b=b|0;k[a+16>>2]=b;k[a+40>>2]=(l[b+13>>0]|0)<<16|(l[b+12>>0]|0)<<24|(l[b+14>>0]|0)<<8|(l[b+15>>0]|0);i[a+24>>0]=0;return 0}function yZa(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c>>2]=b;a=zZa(a,c,0)|0;r=c;return a|0}function zZa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0;h=k[a+16>>2]|0;o=l[h+13>>0]<<16|l[h+12>>0]<<24|l[h+14>>0]<<8|l[h+15>>0];if(!o){b=0;return b|0}e=(k[b>>2]|0)+(c<<24>>24!=0&1)|0;m=o;d=0;a:while(1){while(1){f=(d+m|0)>>>1;p=h+16+(f*12|0)+4+-4|0;j=h+16+(f*12|0)+4+4|0;g=l[j+-4+1>>0]<<16|l[j+-4>>0]<<24|l[j+-4+2>>0]<<8|l[j+-4+3>>0];if(e>>>0<(l[p+1>>0]<<16|l[p>>0]<<24|l[p+2>>0]<<8|l[p+3>>0])>>>0)break;if(e>>>0<=g>>>0){n=8;break a}d=f+1|0;if(d>>>0>=m>>>0){d=0;break a}}if(d>>>0>>0)m=f;else{d=0;break}}if((n|0)==8)d=l[j+1>>0]<<16|l[j>>0]<<24|l[j+2>>0]<<8|l[j+3>>0];if(!(c<<24>>24)){p=d;return p|0}if(e>>>0>g>>>0){f=f+1|0;if((f|0)==(o|0)){p=0;return p|0}}i[a+24>>0]=1;k[a+28>>2]=e;k[a+36>>2]=f;do if(!d){AZa(a);if(!(i[a+24>>0]|0)){p=0;return p|0}d=k[a+32>>2]|0;if(!d){p=0;return p|0}else{e=k[a+28>>2]|0;break}}else k[a+32>>2]=d;while(0);k[b>>2]=e;p=d;return p|0}function AZa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=k[a+28>>2]|0;a:do if((c|0)!=-1){b=k[a+36>>2]|0;e=k[a+40>>2]|0;if(b>>>0>>0){d=(k[a+16>>2]|0)+16|0;c=c+1|0;while(1){g=d+(b*12|0)+4|0;h=(l[g+-4+1>>0]|0)<<16|(l[g+-4>>0]|0)<<24|(l[g+-4+2>>0]|0)<<8|(l[g+-4+3>>0]|0);f=(l[g+4+1>>0]|0)<<16|(l[g+4>>0]|0)<<24|(l[g+4+2>>0]|0)<<8|(l[g+4+3>>0]|0);c=c>>>0>>0?h:c;if(!((f|0)==0?1:c>>>0>((l[g+4+-4+1>>0]|0)<<16|(l[g+4+-4>>0]|0)<<24|(l[g+4+-4+2>>0]|0)<<8|(l[g+4+-4+3>>0]|0))>>>0))break;b=b+1|0;if(b>>>0>=e>>>0)break a}k[a+28>>2]=c;k[a+32>>2]=f;k[a+36>>2]=b;return}}while(0);i[a+24>>0]=0;return}function BZa(a,b){a=a|0;b=b|0;var c=0;c=k[a+28>>2]|0;if((c|0)==-1){b=0;return b|0}if(i[a+24>>0]|0)if((c|0)==(k[b>>2]|0)){AZa(a);if(!(i[a+24>>0]|0)){b=0;return b|0}c=k[a+32>>2]|0;if(!c){b=0;return b|0}k[b>>2]=k[a+28>>2];b=c;return b|0}b=zZa(a,b,1)|0;return b|0}function CZa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;if((a+16|0)>>>0>(k[b+160>>2]|0)>>>0)WRa(b,8);c=(l[a+5>>0]|0)<<16|(l[a+4>>0]|0)<<24|(l[a+6>>0]|0)<<8|(l[a+7>>0]|0);h=(l[a+13>>0]|0)<<16|(l[a+12>>0]|0)<<24|(l[a+14>>0]|0)<<8|(l[a+15>>0]|0);if(c>>>0<16?1:c>>>0>((k[b+160>>2]|0)-a|0)>>>0)WRa(b,8);if((((c+-16|0)>>>0)/12|0)>>>0>>0)WRa(b,8);if(!h)return 0;f=0;g=0;d=a+16|0;while(1){c=(l[d+1>>0]|0)<<16|(l[d>>0]|0)<<24|(l[d+2>>0]|0)<<8|(l[d+3>>0]|0);a=f;f=(l[d+5>>0]|0)<<16|(l[d+4>>0]|0)<<24|(l[d+6>>0]|0)<<8|(l[d+7>>0]|0);e=d;d=d+12|0;if(c>>>0>f>>>0){c=9;break}if(!((g|0)==0|c>>>0>a>>>0)){c=11;break}if(k[b+164>>2]|0)if(((l[e+9>>0]|0)<<16|(l[e+8>>0]|0)<<24|(l[e+10>>0]|0)<<8|(l[e+11>>0]|0))>>>0>=(k[b+172>>2]|0)>>>0){c=14;break}g=g+1|0;if((g|0)==(h|0)){c=16;break}}if((c|0)==9)WRa(b,8);else if((c|0)==11)WRa(b,8);else if((c|0)==14)WRa(b,16);else if((c|0)==16)return 0;return 0}function DZa(a,b){a=a|0;b=b|0;a=k[a+16>>2]|0;k[b+4>>2]=13;k[b>>2]=(l[a+9>>0]|0)<<16|(l[a+8>>0]|0)<<24|(l[a+10>>0]|0)<<8|(l[a+11>>0]|0);return 0}function EZa(a,b){a=a|0;b=b|0;k[a+16>>2]=b;k[a+24>>2]=(l[b+7>>0]|0)<<16|(l[b+6>>0]|0)<<24|(l[b+8>>0]|0)<<8|(l[b+9>>0]|0);k[a+28>>2]=0;k[a+32>>2]=0;return 0}function FZa(a){a=a|0;var b=0,c=0;b=k[a+36>>2]|0;k[a+28>>2]=0;if(!b)return;c=k[a+32>>2]|0;if(!c)return;YTa(b,c);k[a+32>>2]=0;return}function GZa(a,b){a=a|0;b=b|0;return 0}function HZa(a,b){a=a|0;b=b|0;k[b>>2]=0;return 0}function IZa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,m=0,n=0;j=k[a+16>>2]|0;g=(l[j+7>>0]|0)<<16|(l[j+6>>0]|0)<<24|(l[j+8>>0]|0)<<8|(l[j+9>>0]|0);a=0;a:while(1)while(1){if(a>>>0>=g>>>0){m=0;h=21;break a}e=(a+g|0)>>>1;f=j+10+(e*11|0)+3+-3|0;f=(l[f+1>>0]|0)<<8|(l[f>>0]|0)<<16|(l[f+2>>0]|0);if(f>>>0>d>>>0){g=e;continue a}if(f>>>0>>0)a=e+1|0;else{i=j+10+(e*11|0)+3|0;break a}}if((h|0)==21)return m|0;d=(l[i+1>>0]|0)<<16|(l[i>>0]|0)<<24|(l[i+2>>0]|0)<<8|(l[i+3>>0]|0);h=(l[i+5>>0]|0)<<16|(l[i+4>>0]|0)<<24|(l[i+6>>0]|0)<<8|(l[i+7>>0]|0);b:do if(d|0){a=(l[j+d+1>>0]|0)<<16|(l[j+d>>0]|0)<<24|(l[j+d+2>>0]|0)<<8|(l[j+d+3>>0]|0);f=0;while(1){while(1){if(f>>>0>=a>>>0)break b;g=(a+f|0)>>>1;e=j+d+4+(g<<2)+3+-3|0;e=(l[e+1>>0]|0)<<8|(l[e>>0]|0)<<16|(l[e+2>>0]|0);if(e>>>0>c>>>0)a=g;else break}if(((l[j+d+4+(g<<2)+3>>0]|0)+e|0)>>>0>>0)f=g+1|0;else break}c=gj[k[(k[b+12>>2]|0)+12>>2]&511](b,c)|0;return c|0}while(0);if(!h){c=0;return c|0}a=(l[j+h+1>>0]|0)<<16|(l[j+h>>0]|0)<<24|(l[j+h+2>>0]|0)<<8|(l[j+h+3>>0]|0);if(!a){c=0;return c|0}else e=0;c:while(1){while(1){g=(e+a|0)>>>1;f=j+h+4+(g*5|0)+3+-3|0;f=(l[f+1>>0]|0)<<8|(l[f>>0]|0)<<16|(l[f+2>>0]|0);if(f>>>0>c>>>0)break;if(f>>>0>=c>>>0){n=j+h+4+(g*5|0)+3|0;h=20;break c}e=g+1|0;if(e>>>0>=a>>>0){m=0;h=21;break c}}if(e>>>0>>0)a=g;else{m=0;h=21;break}}if((h|0)==20){c=(l[n>>0]|0)<<8|(l[n+1>>0]|0);return c|0}else if((h|0)==21)return m|0;return 0}function JZa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=k[a+16>>2]|0;f=(l[h+7>>0]|0)<<16|(l[h+6>>0]|0)<<24|(l[h+8>>0]|0)<<8|(l[h+9>>0]|0);a=0;a:while(1)while(1){if(a>>>0>=f>>>0){a=-1;g=21;break a}d=(a+f|0)>>>1;e=h+10+(d*11|0)+3+-3|0;e=(l[e+1>>0]|0)<<8|(l[e>>0]|0)<<16|(l[e+2>>0]|0);if(e>>>0>c>>>0){f=d;continue a}if(e>>>0>>0)a=d+1|0;else{a=h+10+(d*11|0)+3|0;break a}}if((g|0)==21)return a|0;c=(l[a+1>>0]|0)<<16|(l[a>>0]|0)<<24|(l[a+2>>0]|0)<<8|(l[a+3>>0]|0);g=(l[a+5>>0]|0)<<16|(l[a+4>>0]|0)<<24|(l[a+6>>0]|0)<<8|(l[a+7>>0]|0);b:do if(c|0){a=(l[h+c+1>>0]|0)<<16|(l[h+c>>0]|0)<<24|(l[h+c+2>>0]|0)<<8|(l[h+c+3>>0]|0);e=0;while(1){while(1){if(e>>>0>=a>>>0)break b;f=(a+e|0)>>>1;d=h+c+4+(f<<2)+3+-3|0;d=(l[d+1>>0]|0)<<8|(l[d>>0]|0)<<16|(l[d+2>>0]|0);if(d>>>0>b>>>0)a=f;else break}if(((l[h+c+4+(f<<2)+3>>0]|0)+d|0)>>>0>>0)e=f+1|0;else{a=1;break}}return a|0}while(0);c:do if(g|0){a=(l[h+g+1>>0]|0)<<16|(l[h+g>>0]|0)<<24|(l[h+g+2>>0]|0)<<8|(l[h+g+3>>0]|0);if(a|0){d=0;d:while(1){while(1){f=(d+a|0)>>>1;e=h+g+4+(f*5|0)+3+-3|0;e=(l[e+1>>0]|0)<<8|(l[e>>0]|0)<<16|(l[e+2>>0]|0);if(e>>>0>b>>>0)break;if(e>>>0>=b>>>0){a=h+g+4+(f*5|0)+3|0;break d}d=f+1|0;if(d>>>0>=a>>>0)break c}if(d>>>0>>0)a=f;else break c}if((l[a>>0]|0)<<8|(l[a+1>>0]|0)|0){b=0;return b|0}}}while(0);b=-1;return b|0}function KZa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=r;r=r+16|0;c=k[a+24>>2]|0;e=k[a+16>>2]|0;d=k[a+28>>2]|0;k[f>>2]=0;do if(d>>>0<(c+1|0)>>>0){k[a+36>>2]=b;d=WTa(b,4,d,c+1|0,k[a+32>>2]|0,f)|0;k[a+32>>2]=d;if(!(k[f>>2]|0)){k[a+28>>2]=c+1;break}e=0;r=f;return e|0}else d=k[a+32>>2]|0;while(0);if(!c)c=0;else{a=0;b=e+10|0;while(1){k[d+(a<<2)>>2]=(l[b+1>>0]|0)<<8|(l[b>>0]|0)<<16|(l[b+2>>0]|0);a=a+1|0;if((a|0)==(c|0))break;else b=b+11|0}}k[d+(c<<2)>>2]=0;e=d;r=f;return e|0}function LZa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,m=0,n=0,o=0,p=0,q=0;q=r;r=r+16|0;e=k[a+24>>2]|0;f=k[a+16>>2]|0;d=k[a+28>>2]|0;k[q>>2]=0;do if(d>>>0<(e+1|0)>>>0){k[a+36>>2]=b;d=WTa(b,4,d,e+1|0,k[a+32>>2]|0,q)|0;k[a+32>>2]=d;if(!(k[q>>2]|0)){k[a+28>>2]=e+1;p=d;break}a=0;r=q;return a|0}else p=k[a+32>>2]|0;while(0);if(!e)d=p;else{o=f+10|0;d=p;do{n=(l[o+1>>0]|0)<<8|(l[o>>0]|0)<<16|(l[o+2>>0]|0);b=(l[o+4>>0]|0)<<16|(l[o+3>>0]|0)<<24|(l[o+5>>0]|0)<<8|(l[o+6>>0]|0);j=(l[o+8>>0]|0)<<16|(l[o+7>>0]|0)<<24|(l[o+9>>0]|0)<<8|(l[o+10>>0]|0);o=o+11|0;a:do if(!b)m=14;else{h=(k[a+16>>2]|0)+b|0;b=(l[h+1>>0]|0)<<16|(l[h>>0]|0)<<24|(l[h+2>>0]|0)<<8|(l[h+3>>0]|0);g=0;while(1){while(1){if(g>>>0>=b>>>0){m=14;break a}i=(b+g|0)>>>1;f=h+4+(i<<2)+3+-3|0;f=(l[f+1>>0]|0)<<8|(l[f>>0]|0)<<16|(l[f+2>>0]|0);if(f>>>0>c>>>0)b=i;else break}if(((l[h+4+(i<<2)+3>>0]|0)+f|0)>>>0>>0)g=i+1|0;else{m=22;break}}}while(0);b:do if((m|0)==14){m=0;if(j){i=(k[a+16>>2]|0)+j|0;b=(l[i+1>>0]|0)<<16|(l[i>>0]|0)<<24|(l[i+2>>0]|0)<<8|(l[i+3>>0]|0);if(b){f=0;c:while(1){while(1){h=(f+b|0)>>>1;g=i+4+(h*5|0)+3+-3|0;g=(l[g+1>>0]|0)<<8|(l[g>>0]|0)<<16|(l[g+2>>0]|0);if(g>>>0>c>>>0)break;if(g>>>0>=c>>>0){b=i+4+(h*5|0)+3|0;break c}f=h+1|0;if(f>>>0>=b>>>0)break b}if(f>>>0>>0)b=h;else break b}if((l[b>>0]|0)<<8|(l[b+1>>0]|0))m=22}}}while(0);if((m|0)==22){k[d>>2]=n;d=d+4|0}e=e+-1|0}while((e|0)!=0)}k[d>>2]=0;a=p;r=q;return a|0}function MZa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,m=0,n=0,o=0,p=0,q=0;q=r;r=r+16|0;i=k[a+16>>2]|0;g=(l[i+7>>0]|0)<<16|(l[i+6>>0]|0)<<24|(l[i+8>>0]|0)<<8|(l[i+9>>0]|0);d=0;a:while(1)while(1){if(d>>>0>=g>>>0){d=0;h=60;break a}e=(d+g|0)>>>1;f=i+10+(e*11|0)+3+-3|0;f=(l[f+1>>0]|0)<<8|(l[f>>0]|0)<<16|(l[f+2>>0]|0);if(f>>>0>c>>>0){g=e;continue a}if(f>>>0>>0)d=e+1|0;else{d=i+10+(e*11|0)+3|0;break a}}if((h|0)==60){r=q;return d|0}g=(l[d+1>>0]|0)<<16|(l[d>>0]|0)<<24|(l[d+2>>0]|0)<<8|(l[d+3>>0]|0);c=(l[d+5>>0]|0)<<16|(l[d+4>>0]|0)<<24|(l[d+6>>0]|0)<<8|(l[d+7>>0]|0);if(!(c|g)){p=0;r=q;return p|0}if(!g){d=(l[i+c+1>>0]|0)<<16|(l[i+c>>0]|0)<<24|(l[i+c+2>>0]|0)<<8|(l[i+c+3>>0]|0);e=k[a+28>>2]|0;k[q>>2]=0;do if(e>>>0<(d+1|0)>>>0){k[a+36>>2]=b;e=WTa(b,4,e,d+1|0,k[a+32>>2]|0,q)|0;k[a+32>>2]=e;if(!(k[q>>2]|0)){k[a+28>>2]=d+1;g=e;break}p=0;r=q;return p|0}else g=k[a+32>>2]|0;while(0);if(!d)d=0;else{e=i+c+4|0;f=0;while(1){k[g+(f<<2)>>2]=(l[e+1>>0]|0)<<8|(l[e>>0]|0)<<16|(l[e+2>>0]|0);f=f+1|0;if((f|0)==(d|0))break;else e=e+5|0}}k[g+(d<<2)>>2]=0;p=g;r=q;return p|0}if(!c){p=NZa(a,i+g|0,b)|0;r=q;return p|0}o=i+c+4+-4|0;o=(l[o+1>>0]|0)<<16|(l[o>>0]|0)<<24|(l[o+2>>0]|0)<<8|(l[o+3>>0]|0);p=(l[i+g+1>>0]|0)<<16|(l[i+g>>0]|0)<<24|(l[i+g+2>>0]|0)<<8|(l[i+g+3>>0]|0);if(!p)d=0;else{e=i+g+7|0;f=p;d=0;while(1){d=d+1+(l[e>>0]|0)|0;f=f+-1|0;if(!f)break;else e=e+4|0}}if(!o){p=NZa(a,i+g|0,b)|0;r=q;return p|0}if(!d){d=k[a+28>>2]|0;k[q>>2]=0;do if(d>>>0<(o+1|0)>>>0){k[a+36>>2]=b;d=WTa(b,4,d,o+1|0,k[a+32>>2]|0,q)|0;k[a+32>>2]=d;if(!(k[q>>2]|0)){k[a+28>>2]=o+1;f=d;break}p=0;r=q;return p|0}else f=k[a+32>>2]|0;while(0);d=i+c+4|0;e=0;while(1){k[f+(e<<2)>>2]=(l[d+1>>0]|0)<<8|(l[d>>0]|0)<<16|(l[d+2>>0]|0);e=e+1|0;if((e|0)==(o|0))break;else d=d+5|0}k[f+(o<<2)>>2]=0;p=f;r=q;return p|0}e=o+1+d|0;d=k[a+28>>2]|0;k[q>>2]=0;do if(d>>>0>>0){k[a+36>>2]=b;d=WTa(b,4,d,e,k[a+32>>2]|0,q)|0;k[a+32>>2]=d;if(!(k[q>>2]|0)){k[a+28>>2]=e;n=d;break}p=0;r=q;return p|0}else n=k[a+32>>2]|0;while(0);f=i+g+4+3|0;m=i+c+4+3+-3|0;e=l[f>>0]|0;b=1;h=f+1|0;f=(l[f+-3+1>>0]|0)<<8|(l[f+-3>>0]|0)<<16|(l[f+-3+2>>0]|0);d=0;a=1;m=(l[m+1>>0]|0)<<8|(l[m>>0]|0)<<16|(l[m+2>>0]|0);c=i+c+4+3+2|0;b:while(1){if(m>>>0>(e+f|0)>>>0){j=h;i=f;while(1){f=d;g=0;while(1){d=f+1|0;k[n+(f<<2)>>2]=g+i;g=g+1|0;if(g>>>0>e>>>0)break;else f=d}b=b+1|0;if(b>>>0>p>>>0){g=e;h=j;e=m;break b}f=(l[j+1>>0]|0)<<8|(l[j>>0]|0)<<16|(l[j+2>>0]|0);h=j+4|0;e=l[j+3>>0]|0;if(m>>>0>(e+f|0)>>>0){j=h;i=f}else break}}if(m>>>0>>0){k[n+(d<<2)>>2]=m;d=d+1|0}a=a+1|0;if(a>>>0>o>>>0){g=e;i=f;e=m;break}m=(l[c+1>>0]|0)<<8|(l[c>>0]|0)<<16|(l[c+2>>0]|0);c=c+5|0}if(a>>>0>o>>>0){if(b>>>0<=p>>>0){e=d;f=0;while(1){d=e+1|0;k[n+(e<<2)>>2]=f+i;f=f+1|0;if(f>>>0>g>>>0)break;else e=d}if(b>>>0

>>0)while(1){e=(l[h+1>>0]|0)<<8|(l[h>>0]|0)<<16|(l[h+2>>0]|0);f=l[h+3>>0]|0;g=d;c=0;while(1){k[n+(g<<2)>>2]=c+e;if((c|0)==(f|0))break;else{g=g+1|0;c=c+1|0}}d=d+1+f|0;b=b+1|0;if((b|0)==(p|0))break;else h=h+4|0}}}else{k[n+(d<<2)>>2]=e;e=d+1|0;if(a>>>0>>0){g=d+o+1|0;f=a;d=c;while(1){k[n+(e<<2)>>2]=(l[d+1>>0]|0)<<8|(l[d>>0]|0)<<16|(l[d+2>>0]|0);f=f+1|0;if((f|0)==(o|0))break;else{e=e+1|0;d=d+5|0}}d=g-a|0}else d=e}k[n+(d<<2)>>2]=0;p=n;r=q;return p|0}function NZa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0;j=OZa(b)|0;d=i[b>>0]|0;e=i[b+1>>0]|0;f=i[b+2>>0]|0;g=i[b+3>>0]|0;if(PZa(a,j+1|0,c)|0){j=0;return j|0}j=k[a+32>>2]|0;if(!((e&255)<<16|(d&255)<<24|(f&255)<<8|g&255))a=j;else{h=b;f=(e&255)<<16|(d&255)<<24|(f&255)<<8|g&255;a=j;do{e=h;h=h+4|0;c=l[e+7>>0]|0;b=c+1|0;d=a;e=(l[e+5>>0]|0)<<8|(l[h>>0]|0)<<16|(l[e+6>>0]|0);while(1){k[d>>2]=e;b=b+-1|0;if(!b)break;else{d=d+4|0;e=e+1|0}}a=a+4+(c<<2)|0;f=f+-1|0}while((f|0)!=0)}k[a>>2]=0;return j|0}function OZa(a){a=a|0;var b=0,c=0;b=(l[a+1>>0]|0)<<16|(l[a>>0]|0)<<24|(l[a+2>>0]|0)<<8|(l[a+3>>0]|0);if(!b){c=0;return c|0}c=a+7|0;a=0;while(1){a=a+1+(l[c>>0]|0)|0;b=b+-1|0;if(!b)break;else c=c+4|0}return a|0}function PZa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;d=k[a+28>>2]|0;k[e>>2]=0;if(d>>>0>=b>>>0){b=0;r=e;return b|0}k[a+36>>2]=c;d=WTa(c,4,d,b,k[a+32>>2]|0,e)|0;k[a+32>>2]=d;d=k[e>>2]|0;if(d|0){b=d;r=e;return b|0}k[a+28>>2]=b;b=0;r=e;return b|0}function QZa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,m=0,n=0,o=0,p=0;if((a+10|0)>>>0>(k[b+160>>2]|0)>>>0)WRa(b,8);j=(l[a+3>>0]|0)<<16|(l[a+2>>0]|0)<<24|(l[a+4>>0]|0)<<8|(l[a+5>>0]|0);m=(l[a+7>>0]|0)<<16|(l[a+6>>0]|0)<<24|(l[a+8>>0]|0)<<8|(l[a+9>>0]|0);if(j>>>0<10?1:j>>>0>((k[b+160>>2]|0)-a|0)>>>0)WRa(b,8);if((((j+-10|0)>>>0)/11|0)>>>0>>0)WRa(b,8);if(!m)return 0;n=1;o=0;p=a+10|0;a:while(1){c=(l[p+1>>0]|0)<<8|(l[p>>0]|0)<<16|(l[p+2>>0]|0);d=(l[p+4>>0]|0)<<16|(l[p+3>>0]|0)<<24|(l[p+5>>0]|0)<<8|(l[p+6>>0]|0);i=(l[p+8>>0]|0)<<16|(l[p+7>>0]|0)<<24|(l[p+9>>0]|0)<<8|(l[p+10>>0]|0);p=p+11|0;if(!(d>>>0>>0&i>>>0>>0)){c=9;break}if(c>>>0>>0){c=11;break}n=c+1|0;if(d|0){h=a+d+4+-4|0;h=(l[h+1>>0]|0)<<16|(l[h>>0]|0)<<24|(l[h+2>>0]|0)<<8|(l[h+3>>0]|0);if(h>>>0>((k[b+160>>2]|0)-(a+d+4)|0)>>>2>>>0){c=14;break}if(h|0){e=a+d+4|0;f=0;g=0;while(1){c=(l[e+1>>0]|0)<<8|(l[e>>0]|0)<<16|(l[e+2>>0]|0);d=c+(l[e+3>>0]|0)|0;if(d>>>0>1114111){c=17;break a}if(c>>>0>>0){c=19;break a}f=f+1|0;if((f|0)==(h|0))break;else{e=e+4|0;g=d+1|0}}}}if(i|0){f=a+i+4+-4|0;f=(l[f+1>>0]|0)<<16|(l[f>>0]|0)<<24|(l[f+2>>0]|0)<<8|(l[f+3>>0]|0);if(f>>>0>((k[b+160>>2]|0)-(a+i+4)|0)>>>2>>>0){c=23;break}if(f|0){g=0;h=0;d=a+i+4|0;do{c=(l[d+1>>0]|0)<<8|(l[d>>0]|0)<<16|(l[d+2>>0]|0);e=d;d=d+5|0;if(c>>>0>1114111){c=26;break a}if(c>>>0>>0){c=28;break a}h=c+1|0;if(k[b+164>>2]|0)if(((l[e+3>>0]|0)<<8|(l[e+4>>0]|0))>>>0>=(k[b+172>>2]|0)>>>0){c=31;break a}g=g+1|0}while((g|0)!=(f|0))}}o=o+1|0;if((o|0)==(m|0)){c=34;break}}switch(c|0){case 9:{WRa(b,8);break}case 11:{WRa(b,8);break}case 14:{WRa(b,8);break}case 17:{WRa(b,8);break}case 19:{WRa(b,8);break}case 23:{WRa(b,8);break}case 26:{WRa(b,8);break}case 28:{WRa(b,8);break}case 31:{WRa(b,16);break}case 34:return 0}return 0}function RZa(a,b){a=a|0;b=b|0;k[b+4>>2]=14;k[b>>2]=-1;return 0}function SZa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;g=j[a+152>>1]|0;e=k[a+156>>2]|0;if(!(g<<16>>16)){h=142;return h|0}else a=e;while(1){if((k[a>>2]|0)==(b|0)){f=k[a+12>>2]|0;if(f|0)break}a=a+16|0;if(a>>>0>=(e+((g&65535)<<4)|0)>>>0){a=142;h=8;break}}if((h|0)==8)return a|0;if(d|0)k[d>>2]=f;h=pTa(c,k[a+8>>2]|0)|0;return h|0}function TZa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,l=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;D=r;r=r+64|0;d=k[b+532>>2]|0;do if(!d){d=KSa(k[(k[b+96>>2]|0)+4>>2]|0,590464)|0;if(!d){b=11;r=D;return b|0}else{k[b+532>>2]=d;k[b+508>>2]=k[d>>2];C=d;break}}else C=d;while(0);A=LSa(k[b+96>>2]|0,591657)|0;k[b+536>>2]=A;A=k[a+28>>2]|0;k[b+132>>2]=0;k[b+136>>2]=0;k[b+140>>2]=0;f=rTa(a)|0;g=ITa(a,D)|0;d=k[D>>2]|0;a:do if(!d){x=D+8+4|0;y=D+8+8|0;z=D+8+12|0;e=a;d=g;b:while(1){if((d|0)<1953658213){B=85;break}if((d|0)<1954115633){B=91;break}if((d|0)<2001684038){B=97;break}switch(d|0){case 2001684038:break;default:{d=2;break a}}d=pTa(e,f)|0;k[D>>2]=d;if(d|0)break a;v=e+28|0;w=k[v>>2]|0;k[D+52>>2]=0;d=KTa(e,172310,D+8|0)|0;k[D+52>>2]=d;if(d|0){B=65;break}d=k[x>>2]|0;if((d|0)<2001684038)switch(d|0){case 1953784678:{d=8;B=65;break b}default:{}}else switch(d|0){case 2001684038:{d=8;B=65;break b}default:{}}d=k[y>>2]|0;if((d|0)!=(k[e+4>>2]|0)){d=8;B=65;break}f=j[z>>1]|0;if(!(f<<16>>16)){d=8;B=65;break}if((((f&65535)*20|0)+44|0)>>>0>=d>>>0){d=8;B=65;break}g=k[D+8+16>>2]|0;if(!(((f&65535)<<4|12)>>>0>>0&(g&3|0)==0)){d=8;B=65;break}d=k[D+8+28>>2]|0;if(!(k[D+8+24>>2]|0)){if(k[D+8+32>>2]|d|0){d=8;B=65;break}}else if(d|0?(k[D+8+32>>2]|0)==0:0){d=8;B=65;break}if(!(k[D+8+36>>2]|0?1:(k[D+8+40>>2]|0)==0)){d=8;B=65;break}u=UTa(w,g,D+52|0)|0;c:do if(!(k[D+52>>2]|0)){t=UTa(w,40,D+52|0)|0;if(!(k[D+52>>2]|0)){g=j[z>>1]|0;if(!(g<<16>>16))d=0;else{d=0;f=g&65535;do{f=f>>>1;d=d+1|0}while((f|0)!=0)}d=d+-1|0;i[u>>0]=(k[x>>2]|0)>>>24;i[u+1>>0]=(k[x>>2]|0)>>>16;i[u+2>>0]=(k[x>>2]|0)>>>8;i[u+3>>0]=k[x>>2];i[u+4>>0]=(m[z>>1]|0)>>>8;i[u+5>>0]=j[z>>1];i[u+6>>0]=16<>>8;i[u+7>>0]=16<>0]=d>>>8;i[u+9>>0]=d;i[u+10>>0]=(((g&65535)<<4)-(16<>>8;i[u+11>>0]=((g&65535)<<4)-(16<>1]|0,0,D+52|0)|0;if(k[D+52>>2]|0){f=0;e=t;break}f=WTa(w,4,0,m[z>>1]|0,0,D+52|0)|0;if(k[D+52>>2]|0){e=t;break}s=wTa(e,(m[z>>1]|0)*20|0)|0;k[D+52>>2]=s;if(s|0){e=t;break}d:do if(j[z>>1]|0){a=0;h=0;while(1){g=d+(a*24|0)|0;s=CTa(e)|0;k[g>>2]=s;s=CTa(e)|0;k[d+(a*24|0)+4>>2]=s;s=CTa(e)|0;k[d+(a*24|0)+8>>2]=s;s=CTa(e)|0;k[d+(a*24|0)+12>>2]=s;s=CTa(e)|0;k[d+(a*24|0)+16>>2]=s;s=h;h=k[g>>2]|0;if(h>>>0<=s>>>0)break;k[f+(a<<2)>>2]=g;a=a+1|0;if((a|0)>=(m[z>>1]|0))break d}yTa(e);k[D+52>>2]=8;e=t;break c}while(0);yTa(e);qnb(f,m[z>>1]|0,4,361);s=j[z>>1]|0;e:do if(!(s<<16>>16)){h=(s&65535)<<4|12;g=((s&65535)*20|0)+44|0}else{o=k[y>>2]|0;p=k[D+8+16>>2]|0;q=0;a=(s&65535)<<4|12;g=((s&65535)*20|0)+44|0;while(1){h=k[f+(q<<2)>>2]|0;if((k[h+4>>2]|0)!=(g|0))break;l=k[h+8>>2]|0;if(o>>>0>>0|g>>>0>(o-l|0)>>>0)break;n=k[h+12>>2]|0;if(l>>>0>n>>>0|(p>>>0>>0|a>>>0>(p-n|0)>>>0))break;k[h+20>>2]=a;g=(l+3&-4)+g|0;a=(n+3&-4)+a|0;q=q+1|0;if((q|0)>=(s&65535|0)){h=a;break e}}k[D+52>>2]=8;e=t;break c}while(0);a=k[D+8+24>>2]|0;do if(a){if((a|0)==(g|0)){g=(k[D+8+28>>2]|0)+g|0;if(g>>>0<=(k[y>>2]|0)>>>0)break}k[D+52>>2]=8;e=t;break c}while(0);a=k[D+8+36>>2]|0;do if(!a)a=k[y>>2]|0;else{if((a|0)==(g+3&-4|0)){g=(k[D+8+40>>2]|0)+a|0;a=k[y>>2]|0;if(g>>>0<=a>>>0)break}k[D+52>>2]=8;e=t;break c}while(0);if(!((g|0)==(a|0)?(h|0)==(k[D+8+16>>2]|0):0)){k[D+52>>2]=8;e=t;break}do if(!(s<<16>>16))e=h;else{o=e+32|0;p=0;q=u+12|0;while(1){g=d+(p*24|0)|0;i[q>>0]=(k[g>>2]|0)>>>24;i[q+1>>0]=(k[g>>2]|0)>>>16;i[q+2>>0]=(k[g>>2]|0)>>>8;i[q+3>>0]=k[g>>2];g=d+(p*24|0)+16|0;i[q+4>>0]=(k[g>>2]|0)>>>24;i[q+5>>0]=(k[g>>2]|0)>>>16;i[q+6>>0]=(k[g>>2]|0)>>>8;i[q+7>>0]=k[g>>2];g=d+(p*24|0)+20|0;i[q+8>>0]=(k[g>>2]|0)>>>24;i[q+9>>0]=(k[g>>2]|0)>>>16;i[q+10>>0]=(k[g>>2]|0)>>>8;i[q+11>>0]=k[g>>2];a=d+(p*24|0)+12|0;i[q+12>>0]=(k[a>>2]|0)>>>24;i[q+13>>0]=(k[a>>2]|0)>>>16;i[q+14>>0]=(k[a>>2]|0)>>>8;i[q+15>>0]=k[a>>2];q=q+16|0;s=pTa(e,k[d+(p*24|0)+4>>2]|0)|0;k[D+52>>2]=s;if(s|0){e=t;break c}h=d+(p*24|0)+8|0;s=wTa(e,k[h>>2]|0)|0;k[D+52>>2]=s;if(s|0){e=t;break c}l=k[h>>2]|0;n=k[a>>2]|0;if((l|0)==(n|0))ABb(u+(k[g>>2]|0)|0,k[o>>2]|0,l|0)|0;else{k[D+4>>2]=n;s=w3a(w,u+(k[g>>2]|0)|0,D+4|0,k[o>>2]|0,k[h>>2]|0)|0;k[D+52>>2]=s;if(s|0)break;if((k[D+4>>2]|0)!=(k[a>>2]|0)){B=55;break}}yTa(e);g=(k[a>>2]|0)+(k[g>>2]|0)|0;if(g&3|0)do{i[u+g>>0]=0;g=g+1|0}while((g&3|0)!=0);p=p+1|0;if((p|0)>=(m[z>>1]|0)){B=61;break}}if((B|0)==55){B=0;k[D+52>>2]=8}else if((B|0)==61){B=0;e=k[D+8+16>>2]|0;break}e=t;break c}while(0);nTa(t,u,e);k[t+28>>2]=k[v>>2];k[t+24>>2]=701;YRa(k[b+104>>2]|0,(k[b+8>>2]|0)>>>10&1);k[b+104>>2]=t;k[b+8>>2]=k[b+8>>2]&-1025;e=t}else{f=0;e=t;d=0}}else{f=0;e=0;d=0}while(0);YTa(w,d);YTa(w,f);if(!(k[D+52>>2]|0))k[D>>2]=0;else{YTa(w,u);oTa(e);YTa(w,e);d=k[D+52>>2]|0;k[D>>2]=d;if(d|0)break a}e=k[b+104>>2]|0;f=rTa(e)|0;g=ITa(e,D)|0;d=k[D>>2]|0;if(!d)d=g;else break a}f:do if((B|0)==65){k[D>>2]=d;break a}else if((B|0)==85){if((d|0)<131072)switch(d|0){case 65536:break f;default:{d=2;break a}}if((d|0)<1330926671)switch(d|0){case 131072:break f;default:{d=2;break a}}else switch(d|0){case 1330926671:break f;default:{d=2;break a}}}else if((B|0)==91)if((d|0)<1953784678)switch(d|0){case 1953658213:break f;default:{d=2;break a}}else switch(d|0){case 1953784678:break f;default:{d=2;break a}}else if((B|0)==97)switch(d|0){case 1954115633:break;default:{d=2;break a}}while(0);k[b+132>>2]=1953784678;if((d|0)==1953784678){d=KTa(e,172370,b+132|0)|0;k[D>>2]=d;if(d|0)break;d=k[b+140>>2]|0;if(!d){d=8;break}if(d>>>0>(k[e+4>>2]|0)>>>5>>>0){d=10;break}d=WTa(A,4,0,d,0,D)|0;k[b+144>>2]=d;d=k[D>>2]|0;if(d|0)break;d=wTa(e,k[b+140>>2]<<2)|0;k[D>>2]=d;if(d|0)break;if((k[b+140>>2]|0)>0){d=0;do{B=CTa(e)|0;k[(k[b+144>>2]|0)+(d<<2)>>2]=B;d=d+1|0}while((d|0)<(k[b+140>>2]|0))}yTa(e);d=k[D>>2]|0;if(d|0){b=d;r=D;return b|0}}else{k[b+136>>2]=65536;k[b+140>>2]=1;e=UTa(A,4,D)|0;k[b+144>>2]=e;d=k[D>>2]|0;if(d|0)break;k[e>>2]=f}f=k[b+104>>2]|0;e=(c|0)<0?0:c;if((e|0)>=(k[b+140>>2]|0)){b=6;r=D;return b|0}d=pTa(f,k[(k[b+144>>2]|0)+(e<<2)>>2]|0)|0;if(d|0){b=d;r=D;return b|0}d=gj[k[C+88>>2]&511](b,f)|0;if(d|0){b=d;r=D;return b|0}k[b>>2]=k[b+140>>2];k[b+4>>2]=e;b=0;r=D;return b|0}while(0);b=d;r=D;return b|0}function UZa(a,b){a=a|0;b=b|0;a=k[(k[a>>2]|0)+4>>2]|0;b=k[(k[b>>2]|0)+4>>2]|0;return (a>>>0>b>>>0?1:(a>>>0>>0)<<31>>31)|0}function VZa(a){a=a|0;YTa(k[a+28>>2]|0,k[a>>2]|0);k[a+4>>2]=0;k[a>>2]=0;k[a+24>>2]=0;return}function WZa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,l=0,n=0,o=0;o=r;r=r+32|0;n=k[b+532>>2]|0;if((d|0)>0){g=0;c=0;f=0;do{h=k[e+(g<<3)>>2]|0;f=(h|0)==1768386662?f:(h|0)==1768386675?1:f;c=(h|0)==1768386662?1:c;g=g+1|0}while((g|0)!=(d|0));d=c;e=f}else{d=0;e=0}a:do if(!(k[(k[b+128>>2]|0)+48>>2]|0)){f=j[b+152>>1]|0;g=k[b+156>>2]|0;b:do if(!(f<<16>>16))c=0;else{c=g;do{if((k[c>>2]|0)==1735162214)if(k[c+12>>2]|0){c=1;break a}c=c+16|0}while(c>>>0<(g+((f&65535)<<4)|0)>>>0);if(!(f<<16>>16))c=0;else{c=g;while(1){if((k[c>>2]|0)==1128678944)if(k[c+12>>2]|0)break b;c=c+16|0;if(c>>>0>=(g+((f&65535)<<4)|0)>>>0){c=0;break}}}}while(0);c=(c|0)!=0}else c=1;while(0);f=(nj[k[b+508>>2]&127](b,1935829368,a,0)|0)==0;g=f?0:c&1;if(!(g<<24>>24)){c=k[n+68>>2]|0;if(!c){c=0;l=16}else{c=gj[c&511](b,a)|0;k[o+28>>2]=c;if(f|(c|0)==0^1){c=(c|0)==0;l=16}else c=(c|0)==0}}else{c=0;l=16}if((l|0)==16){f=gj[k[n+24>>2]&511](b,a)|0;k[o+28>>2]=f;if(f){b=f;r=o;return b|0}}if(!(j[b+178>>1]|0)){k[o+28>>2]=8;b=8;r=o;return b|0}gj[k[n+36>>2]&511](b,a)|0;gj[k[n+32>>2]&511](b,a)|0;gj[k[n+48>>2]&511](b,a)|0;h=gj[k[n+44>>2]&511](b,a)|0;k[o+28>>2]=h;if(c)f=g;else{c=Ri[k[n+28>>2]&255](b,a,0)|0;k[o+28>>2]=c;do if(!c){c=Ri[k[n+92>>2]&255](b,a,0)|0;k[o+28>>2]=c;if((c&255|0)!=142){if(!c){f=g;break}r=o;return c|0}k[o+28>>2]=147;c=k[(k[b+128>>2]|0)+48>>2]|0;if(!c){b=147;r=o;return b|0}if(!(k[(k[c>>2]|0)+8>>2]|0)){b=147;r=o;return b|0}else{j[b+250>>1]=0;k[o+28>>2]=0;f=g;break}}else{if((c&255|0)!=142){b=c;r=o;return b|0}if((k[b+148>>2]|0)==1953658213){k[o+28>>2]=0;f=0;break}k[o+28>>2]=143;c=k[(k[b+128>>2]|0)+48>>2]|0;if(!c){b=143;r=o;return b|0}if(!(k[(k[c>>2]|0)+8>>2]|0)){b=143;r=o;return b|0}else{j[b+250>>1]=0;k[o+28>>2]=0;f=g;break}}while(0);c=Ri[k[n+28>>2]&255](b,a,1)|0;k[o+28>>2]=c;if(!c){c=Ri[k[n+92>>2]&255](b,a,1)|0;k[o+28>>2]=c;if(!c)i[b+292>>0]=1;else l=35}else l=35;if((l|0)==35)if(!((c|0)==0|(c&255|0)==142)){b=c;r=o;return b|0}g=gj[k[n+40>>2]&511](b,a)|0;k[o+28>>2]=g;if(g)j[b+364>>1]=-1}c=k[n+96>>2]|0;do if(c|0){c=gj[c&511](b,a)|0;k[o+28>>2]=c;if(c|0)if((c&255|0)==142){k[o+28>>2]=0;break}else{b=c;r=o;return b|0}}while(0);c=gj[k[n+64>>2]&511](b,a)|0;k[o+28>>2]=c;do if(c|0)if((c&255|0)==142){k[b+548>>2]=0;break}else{b=c;r=o;return b|0}while(0);gj[k[n+60>>2]&511](b,a)|0;a=gj[k[n+56>>2]&511](b,a)|0;k[o+28>>2]=a;k[b+16>>2]=m[b+264>>1];k[b+20>>2]=0;k[b+24>>2]=0;if((j[b+364>>1]|0)==-1)l=55;else if(!(j[b+428>>1]&256))l=55;else{do if(!(d<<24>>24)){c=XZa(b,16,b+20|0)|0;k[o+28>>2]=c;if(!c)if(!(k[b+20>>2]|0)){l=50;break}else break;else{b=c;r=o;return b|0}}else l=50;while(0);if((l|0)==50){c=XZa(b,1,b+20|0)|0;k[o+28>>2]=c;if(c|0){b=c;r=o;return b|0}}if(!(e<<24>>24)){c=XZa(b,17,b+24|0)|0;k[o+28>>2]=c;if(c|0){b=c;r=o;return b|0}}if(!(k[b+24>>2]|0)){c=XZa(b,2,b+24|0)|0;k[o+28>>2]=c;if(c|0){b=c;r=o;return b|0}}}if((l|0)==55){c=XZa(b,21,b+20|0)|0;k[o+28>>2]=c;if(c|0){b=c;r=o;return b|0}c=k[b+20>>2]|0;do if(!(d<<24>>24!=0|(c|0)!=0)){c=XZa(b,16,b+20|0)|0;k[o+28>>2]=c;if(!c){c=k[b+20>>2]|0;break}else{b=c;r=o;return b|0}}while(0);if(!c){c=XZa(b,1,b+20|0)|0;k[o+28>>2]=c;if(c|0){b=c;r=o;return b|0}}c=XZa(b,22,b+24|0)|0;k[o+28>>2]=c;if(c|0){b=c;r=o;return b|0}c=k[b+24>>2]|0;do if(!(e<<24>>24!=0|(c|0)!=0)){c=XZa(b,17,b+24|0)|0;k[o+28>>2]=c;if(!c){c=k[b+24>>2]|0;break}else{b=c;r=o;return b|0}}while(0);if(!c){c=XZa(b,2,b+24|0)|0;k[o+28>>2]=c;if(c|0){b=c;r=o;return b|0}}}c=k[b+8>>2]|0;e=f<<24>>24==1;c=((k[b+732>>2]&-2|0)==2?c|16384:c)|e&1;if(!h)c=(k[b+468>>2]|0)==196608?c|24:c|536;else c=c|24;c=(k[b+480>>2]|0)==0?c:c|4;c=(i[b+292>>0]|0)==0?c:c|32;c=(k[b+752>>2]|0)==0?c:c|64;g=j[b+152>>1]|0;d=k[b+156>>2]|0;c:do if(g<<16>>16){f=d;while(1){if((k[f>>2]|0)==1735162214)if(k[f+12>>2]|0){f=d;break}f=f+16|0;if(f>>>0>=(d+((g&65535)<<4)|0)>>>0)break c}while(1){if((k[f>>2]|0)==1719034226)if(k[f+12>>2]|0){f=d;break}f=f+16|0;if(f>>>0>=(d+((g&65535)<<4)|0)>>>0)break c}while(1){if((k[f>>2]|0)==1735811442)if(k[f+12>>2]|0)break;f=f+16|0;if(f>>>0>=(d+((g&65535)<<4)|0)>>>0){f=0;break}}c=(f|0)==0?c:c|256}while(0);k[b+8>>2]=c;if(e)if((j[b+364>>1]|0)==-1)l=83;else{c=j[b+428>>1]|0;c=(c&65535)>>>4&2|((c&512|0)==0?c&1:1)}else l=83;if((l|0)==83){c=j[b+204>>1]|0;c=(c&65535)>>>1&1|(c&1)<<1}k[b+12>>2]=c;_Za(b);f=k[b+36>>2]|0;if((f|0)>0){g=k[b+40>>2]|0;e=0;do{d=k[g+(e<<2)>>2]|0;c=k[d+8>>2]|0;d:do if((c&65535)<<16>>16==2){c=53720;l=87}else{switch(c&65535|0){case 0:{c=53732;l=87;break d}case 1:if(!((c>>>16&65535)<<16>>16)){c=53744;l=87;break d}else{c=0;break d}case 3:break;default:{c=0;break d}}if(!((c>>>16&65535)<<16>>16)){c=53756;l=87}else if((c>>>16&65535)<<16>>16==10){c=53768;l=87}else if((c>>>16&65535)<<16>>16==1){c=53780;l=87}else if((c>>>16&65535)<<16>>16==2){c=53792;l=87}else{if((c>>>16&65535)<<16>>16==3){c=53804;l=87;break}if((c>>>16&65535)<<16>>16==4){c=53816;l=87;break}if((c>>>16&65535)<<16>>16==5){c=53828;l=87;break}if((c>>>16&65535)<<16>>16==6){c=53840;l=87}else c=0}}while(0);if((l|0)==87){l=0;c=k[c+8>>2]|0}k[d+4>>2]=c;e=e+1|0}while((e|0)<(f|0))}a=k[b+736>>2]|0;e:do if(!a)c=k[b+8>>2]|0;else{g=k[(k[b+104>>2]|0)+28>>2]|0;f=j[b+178>>1]|0;c=j[b+366>>1]|0;if(!(f<<16>>16))l=103;else if((j[b+364>>1]|0)==-1)l=103;else d=c;if((l|0)==103){d=1;f=1}g=WTa(g,16,0,a,0,o+28|0)|0;k[b+32>>2]=g;c=k[o+28>>2]|0;f:do if(!c){e=d<<16>>16;h=f&65535;d=(f&65535)>>>1&65535;c=Ri[k[n+108>>2]&255](b,0,o)|0;k[o+28>>2]=c;if(!c){f=g;g=0;while(1){j[f+(g<<4)>>1]=(k[o+20>>2]|0)>>>6;l=k[o>>2]|0;c=(((ha(l&65535,e)|0)+d|0)/(h|0)|0)&65535;j[f+(g<<4)+2>>1]=c;k[f+(g<<4)+8>>2]=(l&65535)<<6;k[f+(g<<4)+12>>2]=l>>>16<<6;k[f+(g<<4)+4>>2]=l>>>16<<6;g=g+1|0;if(g>>>0>=a>>>0)break;f=k[b+32>>2]|0;c=Ri[k[n+108>>2]&255](b,g,o)|0;k[o+28>>2]=c;if(c|0)break f}c=k[b+8>>2]|2;k[b+8>>2]=c;k[b+28>>2]=a;break e}}while(0);b=c;r=o;return b|0}while(0);if(!(c&3)){c=c|1;k[b+8>>2]=c}if(!(c&1)){b=0;r=o;return b|0}c=k[b+196>>2]|0;k[b+52>>2]=c<<16>>16;k[b+56>>2]=c>>16;c=k[b+200>>2]|0;k[b+60>>2]=c<<16>>16;k[b+64>>2]=c>>16;j[b+68>>1]=j[b+178>>1]|0;c=k[b+220>>2]|0;j[b+70>>1]=c;j[b+72>>1]=c>>>16;g=k[b+224>>2]|0;j[b+74>>1]=c-(c>>>16)+g;do if(!(((c|c>>>16)&65535)<<16>>16))if((j[b+364>>1]|0)==-1)c=c-(c>>>16)+g|0;else{c=j[b+434>>1]|0;f=k[b+436>>2]|0;if(!((c|f&65535)<<16>>16)){c=k[b+440>>2]|0;j[b+70>>1]=c;j[b+72>>1]=0-(c>>>16);j[b+74>>1]=(c&65535)+(c>>>16);c=(c&65535)+(c>>>16)|0;break}else{j[b+70>>1]=c;j[b+72>>1]=f;j[b+74>>1]=(c&65535)-(f&65535)+(f>>>16);c=(c&65535)-(f&65535)+(f>>>16)|0;break}}else c=c-(c>>>16)+g|0;while(0);j[b+76>>1]=g>>>16;if(!(i[b+292>>0]|0))c=c<<16>>16;else c=m[b+306>>1]|0;j[b+78>>1]=c;n=k[b+476>>2]|0;j[b+80>>1]=n-((n>>16|0)/2|0);j[b+82>>1]=n>>>16;b=0;r=o;return b|0}function XZa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,l=0,n=0,o=0,p=0,q=0,s=0;s=r;r=r+16|0;q=k[a+100>>2]|0;k[s>>2]=0;l=j[a+340>>1]|0;if(!(l<<16>>16)){q=0;k[c>>2]=q;c=k[s>>2]|0;r=s;return c|0}f=-1;d=-1;g=-1;i=-1;n=0;e=0;o=k[a+356>>2]|0;while(1){a:do if((j[o+6>>1]|0)==b<<16>>16)if(j[o+8>>1]|0){h=k[o>>2]|0;switch(h&65535|0){case 2:case 0:{g=n;break a}case 1:{if(!(j[o+4>>1]|0)){f=n;break a}d=(h>>>16|0)==0?n:d;break a}case 3:{if((i|0)!=-1)if((j[o+4>>1]&1023)!=9)break a;switch(h>>>16|0){case 10:case 1:case 0:break;default:break a}i=n;e=(j[o+4>>1]&1023)==9&1;break a}default:break a}}while(0);n=n+1|0;if(n>>>0>=(l&65535)>>>0)break;else o=o+20|0}d=(f|0)>-1?f:d;b:do if((i|0)>-1)if((d|0)<0|e<<24>>24!=0){d=k[a+356>>2]|0;switch(m[d+(i*20|0)+2>>1]|0){case 10:case 0:case 1:{h=362;g=d+(i*20|0)|0;break b}default:d=0}k[c>>2]=d;c=k[s>>2]|0;r=s;return c|0}else p=17;else p=17;while(0);do if((p|0)==17){if((d|0)>-1){h=363;g=(k[a+356>>2]|0)+(d*20|0)|0;break}if((g|0)>-1){h=362;g=(k[a+356>>2]|0)+(g*20|0)|0;break}else{q=0;k[c>>2]=q;c=k[s>>2]|0;r=s;return c|0}}while(0);if(!g){q=0;k[c>>2]=q;c=k[s>>2]|0;r=s;return c|0}f=g+16|0;do if(!(k[f>>2]|0)){d=k[a+360>>2]|0;e=g+8|0;a=WTa(q,1,0,m[e>>1]|0,0,s)|0;k[f>>2]=a;if(!(k[s>>2]|0)){a=pTa(d,k[g+12>>2]|0)|0;k[s>>2]=a;if(!a){a=sTa(d,k[f>>2]|0,m[e>>1]|0)|0;k[s>>2]=a;if(!a)break}}YTa(q,k[f>>2]|0);k[f>>2]=0;j[e>>1]=0;q=0;k[c>>2]=q;c=k[s>>2]|0;r=s;return c|0}while(0);q=gj[h&511](g,q)|0;k[c>>2]=q;c=k[s>>2]|0;r=s;return c|0}function YZa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=r;r=r+16|0;c=k[a+16>>2]|0;d=j[a+8>>1]|0;e=WTa(b,1,0,(d&65535)+1|0,0,f)|0;if(k[f>>2]|0){e=0;r=f;return e|0}a:do if(!(d<<16>>16))a=0;else{a=0;while(1){b=i[c>>0]|0;if(!(b<<24>>24))break a;i[e+a>>0]=(b&255)<32|b<<24>>24<0?63:b;a=a+1|0;if(a>>>0<(d&65535)>>>0)c=c+1|0;else break}}while(0);i[e+a>>0]=0;r=f;return e|0}function ZZa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=r;r=r+16|0;c=k[a+16>>2]|0;f=(m[a+8>>1]|0)>>>1;e=WTa(b,1,0,(f&65535)+1|0,0,g)|0;if(k[g>>2]|0){f=0;r=g;return f|0}a:do if(!(f<<16>>16))a=0;else{a=0;while(1){b=i[c+1>>0]|0;d=(l[c>>0]|0)<<8|b&255;if(!d)break a;i[e+a>>0]=(d+-32|0)>>>0>95?63:b;a=a+1|0;if(a>>>0<(f&65535)>>>0)c=c+2|0;else break}}while(0);i[e+a>>0]=0;f=e;r=g;return f|0}function _Za(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,n=0;n=r;r=r+224|0;h=4;g=hqb(40)|0;k[g>>2]=0;e=k[a+500>>2]|0;f=e+(k[a+504>>2]|0)|0;k[n+212>>2]=e;if(!(k[n+212>>2]|0)){iqb(g|0);r=n;return}if(((k[n+212>>2]|0)+4|0)>>>0>f>>>0){iqb(g|0);r=n;return}k[n+212>>2]=(k[n+212>>2]|0)+2;if(l[(k[n+212>>2]|0)+-1>>0]|0|(l[(k[n+212>>2]|0)+-2>>0]|0)<<8|0){iqb(g|0);r=n;return}k[n+212>>2]=(k[n+212>>2]|0)+2;k[n+216>>2]=l[(k[n+212>>2]|0)+-1>>0]|0|(l[(k[n+212>>2]|0)+-2>>0]|0)<<8;if(!(k[n+216>>2]|0)){iqb(g|0);r=n;return}while(1){if(((k[n+212>>2]|0)+8|0)>>>0>f>>>0){i=26;break}k[n+212>>2]=(k[n+212>>2]|0)+2;j[n+200+8>>1]=l[(k[n+212>>2]|0)+-1>>0]|0|(l[(k[n+212>>2]|0)+-2>>0]|0)<<8;k[n+212>>2]=(k[n+212>>2]|0)+2;j[n+200+10>>1]=l[(k[n+212>>2]|0)+-1>>0]|0|(l[(k[n+212>>2]|0)+-2>>0]|0)<<8;k[n+200>>2]=a;k[n+200+4>>2]=0;k[n+212>>2]=(k[n+212>>2]|0)+4;b=(l[(k[n+212>>2]|0)+-3>>0]|0)<<16|(l[(k[n+212>>2]|0)+-4>>0]|0)<<24|(l[(k[n+212>>2]|0)+-2>>0]|0)<<8|(l[(k[n+212>>2]|0)+-1>>0]|0);if(b|0)if(b>>>0<=((k[a+504>>2]|0)+-2|0)>>>0){k[n+196>>2]=e+b;k[n+192>>2]=l[(k[n+196>>2]|0)+1>>0]|0|(l[k[n+196>>2]>>0]|0)<<8;k[n+188>>2]=53680;a:do if(k[k[n+188>>2]>>2]|0){while(1){k[n+184>>2]=k[k[n+188>>2]>>2];if((k[(k[n+184>>2]|0)+40>>2]|0)==(k[n+192>>2]|0))break;k[n+188>>2]=(k[n+188>>2]|0)+4;if(!(k[k[n+188>>2]>>2]|0))break a}k[n+4>>2]=0;w=0;kb(42,n+8|0,k[n+196>>2]|0,f|0,0);b=w;w=0;if((b|0)!=0&(x|0)!=0){c=zBb(k[b>>2]|0,g|0,h|0)|0;if(!c)Bg(b|0,x|0);L=x}else c=-1;if((c|0)==1)b=L;else{k[n+8+172>>2]=m[a+264>>1];g=yBb(n+8|0,1,g|0,h|0)|0;h=L;w=0;b=w;w=0;if((b|0)!=0&(x|0)!=0){c=zBb(k[b>>2]|0,g|0,h|0)|0;if(!c)Bg(b|0,x|0);L=x}else c=-1;if((c|0)==1)b=L;else b=0}while(1){if(!b){w=0;b=Xa(k[(k[n+184>>2]|0)+44>>2]|0,k[n+196>>2]|0,n+8|0)|0;c=w;w=0;if((c|0)!=0&(x|0)!=0){d=zBb(k[c>>2]|0,g|0,h|0)|0;if(!d)Bg(c|0,x|0);L=x}else d=-1;if((d|0)==1){b=L;continue}k[n+4>>2]=b}if(k[n+8+168>>2]|0)break;w=0;b=cb(86,k[n+184>>2]|0,k[n+196>>2]|0,n+200|0,n|0)|0;c=w;w=0;if((c|0)!=0&(x|0)!=0){d=zBb(k[c>>2]|0,g|0,h|0)|0;if(!d)Bg(c|0,x|0);L=x}else d=-1;if((d|0)==1)b=L;else{i=19;break}}if((i|0)==19){i=0;if(!b)k[(k[n>>2]|0)+20>>2]=k[n+4>>2]}}while(0)}k[n+216>>2]=(k[n+216>>2]|0)+-1;if(!(k[n+216>>2]|0)){i=26;break}}if((i|0)==26){iqb(g|0);r=n;return}}function $Za(a){a=a|0;var b=0,c=0,d=0;if(!a)return;c=k[a+100>>2]|0;d=k[a+532>>2]|0;if(d|0){b=k[d+80>>2]|0;if(b|0)Si[b&1023](a);b=k[d+100>>2]|0;if(b|0)Si[b&1023](a)}if(i[a+780>>0]|0){if(k[a+760>>2]|0)xTa(k[a+104>>2]|0,a+760|0);k[a+764>>2]=0;k[a+768>>2]=0;k[a+772>>2]=0}xTa(k[a+104>>2]|0,a+740|0);k[a+744>>2]=0;k[a+744+4>>2]=0;k[a+744+8>>2]=0;k[a+744+12>>2]=0;YTa(c,k[a+144>>2]|0);k[a+144>>2]=0;k[a+140>>2]=0;YTa(c,k[a+156>>2]|0);k[a+156>>2]=0;j[a+152>>1]=0;xTa(k[a+104>>2]|0,a+500|0);k[a+504>>2]=0;b=k[a+104>>2]|0;xTa(b,a+680|0);xTa(b,a+688|0);k[a+684>>2]=0;k[a+692>>2]=0;if(i[a+292>>0]|0){YTa(c,k[a+332>>2]|0);k[a+332>>2]=0;YTa(c,k[a+336>>2]|0);k[a+336>>2]=0;i[a+292>>0]=0}YTa(c,k[a+544>>2]|0);k[a+544>>2]=0;j[a+542>>1]=0;if(d|0)Si[k[d+52>>2]&1023](a);YTa(c,k[a+20>>2]|0);k[a+20>>2]=0;YTa(c,k[a+24>>2]|0);k[a+24>>2]=0;YTa(c,k[a+32>>2]|0);k[a+32>>2]=0;k[a+28>>2]=0;YTa(c,k[a+664>>2]|0);k[a+664>>2]=0;k[a+532>>2]=0;return}function a_a(a,b){a=a|0;b=b|0;return URa(53852,b)|0}function b_a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;do if(!b)g=k[(k[a+104>>2]|0)+4>>2]|0;else{h=j[a+152>>1]|0;i=k[a+156>>2]|0;if(!(h<<16>>16)){a=142;return a|0}else f=i;while(1){if((k[f>>2]|0)==(b|0)){g=k[f+12>>2]|0;if(g|0){h=6;break}}f=f+16|0;if(f>>>0>=(i+((h&65535)<<4)|0)>>>0){f=142;h=12;break}}if((h|0)==6){c=(k[f+8>>2]|0)+c|0;break}else if((h|0)==12)return f|0}while(0);if(!e)f=g;else{f=k[e>>2]|0;if(!f){k[e>>2]=g;a=0;return a|0}}a=tTa(k[a+104>>2]|0,c,d,f)|0;return a|0}function c_a(a,b){a=a|0;b=b|0;switch(b|0){case 0:{a=a+160|0;break}case 3:{a=a+216|0;break}case 4:{a=i[a+292>>0]|0?a+296|0:0;break}case 2:{a=(j[a+364>>1]|0)==-1?0:a+364|0;break}case 5:{a=a+468|0;break}case 1:{a=a+260|0;break}case 6:{a=k[a+548>>2]|0?a+548|0:0;break}default:a=0}return a|0}function d_a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;if(!((d|0)!=0&(e|0)!=0)){e=6;return e|0}f=m[a+152>>1]|0;do if(c)if(f>>>0>b>>>0){f=k[a+156>>2]|0;k[c>>2]=k[f+(b<<4)>>2];k[d>>2]=k[f+(b<<4)+8>>2];f=k[f+(b<<4)+12>>2]|0;break}else{e=142;return e|0}while(0);k[e>>2]=f;e=0;return e|0}function e_a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,l=0;h=r;r=r+16|0;b=k[a+664>>2]|0;if(b|0){a=b;r=h;return a|0}d=j[a+340>>1]|0;do if(!(d<<16>>16))b=0;else{e=k[a+356>>2]|0;b=-1;c=-1;f=0;while(1){a:do if((j[e+(f*20|0)+6>>1]|0)==6)if(j[e+(f*20|0)+8>>1]|0)switch(j[e+(f*20|0)>>1]|0){case 3:{if((j[e+(f*20|0)+2>>1]|0)!=1)break a;c=(j[e+(f*20|0)+4>>1]|0)==1033?f:c;break a}case 1:{if(j[e+(f*20|0)+2>>1]|0)break a;b=(j[e+(f*20|0)+4>>1]|0)==0?f:b;break a}default:break a}while(0);f=f+1|0;if((f|0)>=(d&65535|0)){g=b;f=c;break}}if((f|0)==-1){if((g|0)==-1){b=0;break}c=k[a+100>>2]|0;d=k[a+356>>2]|0;e=m[d+(g*20|0)+8>>1]|0;k[h>>2]=0;b=UTa(c,e+1|0,h)|0;do if(!(k[h>>2]|0)){f=k[a+360>>2]|0;l=pTa(f,k[d+(g*20|0)+12>>2]|0)|0;k[h>>2]=l;if(!l){l=sTa(f,b,e)|0;k[h>>2]=l;if(!l){i[b+e>>0]=0;break}}k[d+(g*20|0)+12>>2]=0;j[d+(g*20|0)+8>>1]=0;YTa(c,k[d+(g*20|0)+16>>2]|0);k[d+(g*20|0)+16>>2]=0;YTa(c,b);b=0}while(0);break}c=k[a+100>>2]|0;d=k[a+356>>2]|0;e=j[d+(f*20|0)+8>>1]|0;k[h>>2]=0;b=UTa(c,(e&65535)+1|0,h)|0;do if(!(k[h>>2]|0)){g=k[a+360>>2]|0;l=pTa(g,k[d+(f*20|0)+12>>2]|0)|0;k[h>>2]=l;if(!l){l=wTa(g,m[d+(f*20|0)+8>>1]|0)|0;k[h>>2]=l;if(!l){if(!((e&65535)>>>1<<16>>16))c=b;else{e=(e&65535)>>>1&65535;f=k[g+32>>2]|0;c=b;while(1){if(!(i[f>>0]|0)){d=i[f+1>>0]|0;if(d<<24>>24>31){i[c>>0]=d;c=c+1|0}}e=e+-1|0;if(!e)break;else f=f+2|0}}i[c>>0]=0;yTa(g);break}}YTa(c,b);j[d+(f*20|0)+8>>1]=0;k[d+(f*20|0)+12>>2]=0;YTa(c,k[d+(f*20|0)+16>>2]|0);k[d+(f*20|0)+16>>2]=0;b=0}while(0)}while(0);k[a+664>>2]=b;l=b;r=h;return l|0}function f_a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+16|0;a=g_a(a,b,e)|0;if(a|0){r=e;return a|0}_Ta(c,k[e>>2]|0,d)|0;r=e;return a|0}function g_a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if(!a){a=35;return a|0}if((m[a+264>>1]|0)>>>0<=b>>>0){a=16;return a|0}e=k[a+536>>2]|0;if(!e){a=7;return a|0}d=Gi[k[e+16>>2]&2047](0)|0;k[c>>2]=d;d=k[a+468>>2]|0;if((d|0)<131072){switch(d|0){case 65536:break;default:{a=0;return a|0}}if(b>>>0>=258){a=0;return a|0}a=Gi[k[e+16>>2]&2047](b)|0;k[c>>2]=a;a=0;return a|0}if((d|0)>=163840){switch(d|0){case 163840:break;default:{a=0;return a|0}}if(!(i[a+612>>0]|0))if(h_a(a)|0){a=0;return a|0}if((m[a+616>>1]|0)>>>0<=b>>>0){a=0;return a|0}a=Gi[k[e+16>>2]&2047]((i[(k[a+620>>2]|0)+b>>0]|0)+b|0)|0;k[c>>2]=a;a=0;return a|0}switch(d|0){case 131072:break;default:{a=0;return a|0}}if(!(i[a+612>>0]|0))if(h_a(a)|0){a=0;return a|0}if((m[a+616>>1]|0)>>>0<=b>>>0){a=0;return a|0}d=j[(k[a+620>>2]|0)+(b<<1)>>1]|0;if((d&65535)<258){a=Gi[k[e+16>>2]&2047](d&65535)|0;k[c>>2]=a;a=0;return a|0}else{k[c>>2]=k[(k[a+624>>2]|0)+((d&65535)+-258<<2)>>2];a=0;return a|0}return 0}function h_a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,l=0,n=0,o=0,p=0,q=0,s=0,t=0;t=r;r=r+16|0;s=k[a+104>>2]|0;b=nj[k[a+508>>2]&127](a,1886352244,s,t)|0;if(b|0){a=b;r=t;return a|0}l=rTa(s)|0;l=(k[t>>2]|0)+l|0;b=k[a+468>>2]|0;c=qTa(s,32)|0;if(c|0){a=c;r=t;return a|0}a:do if((b|0)<163840){switch(b|0){case 131072:break;default:{b=3;break a}}p=k[s+28>>2]|0;n=FTa(s,t+4|0)|0;b=k[t+4>>2]|0;b:do if(!b){if((n&65535)>(m[a+264>>1]|0)){k[t+4>>2]=3;b=3;break}o=WTa(p,2,0,n&65535,0,t+4|0)|0;c:do if(!(k[t+4>>2]|0)){h=wTa(s,(n&65535)<<1)|0;k[t+4>>2]=h;if(!h){if(!(n<<16>>16)){yTa(s);h=0}else{b=0;do{h=ATa(s)|0;j[o+(b<<1)>>1]=h;b=b+1|0}while((b|0)!=(n&65535|0));yTa(s);d=0;b=0;do{c=j[o+(d<<1)>>1]|0;if((c&65535)>257)b=((c&65535)+-257|0)>(b&65535|0)?(c&65535)+-257&65535:b;d=d+1|0}while((d|0)!=(n&65535|0));h=b}g=h&65535;b=WTa(p,4,0,g,0,t+4|0)|0;if(!(k[t+4>>2]|0)){d:do if(h<<16>>16){c=0;while(1){if((rTa(s)|0)>>>0>=l>>>0){q=19;break}d=(ETa(s,t+4|0)|0)&255;if(k[t+4>>2]|0){c=0;break}if(l>>>0>>0)q=24;else if((rTa(s)|0)>>>0>(l-d|0)>>>0)q=24;if((q|0)==24){q=0;d=l-(rTa(s)|0)|0;d=(d|0)<0?0:d}e=WTa(p,1,0,d+1|0,0,t+4|0)|0;f=b+(c<<2)|0;k[f>>2]=e;if(k[t+4>>2]|0){c=0;break}e=sTa(s,e,d)|0;k[t+4>>2]=e;if(e|0){c=0;break}i[(k[f>>2]|0)+d>>0]=0;c=c+1|0;if(c>>>0>=g>>>0)break d}e:do if((q|0)==19){if((c&65535)>=(h&65535))break d;d=c&65535;while(1){c=WTa(p,1,0,1,0,t+4|0)|0;k[b+(d<<2)>>2]=c;if(k[t+4>>2]|0){c=0;break e}i[c>>0]=0;d=d+1|0;if(d>>>0>=g>>>0)break d}}while(0);while(1){s=b+(c<<2)|0;YTa(p,k[s>>2]|0);k[s>>2]=0;c=c+1|0;if((c&65535)<<16>>16==h<<16>>16)break c}}while(0);j[a+616>>1]=n;j[a+618>>1]=h;k[a+620>>2]=o;k[a+624>>2]=b;b=0;break b}}else b=0}else b=0;while(0);YTa(p,b);YTa(p,o);b=k[t+4>>2]|0}while(0)}else{switch(b|0){case 163840:break;default:{b=3;break a}}d=k[s+28>>2]|0;e=FTa(s,t+4|0)|0;b=k[t+4>>2]|0;f:do if(!b){if((e&65535)>258?1:(e&65535)>(m[a+264>>1]|0)){k[t+4>>2]=3;b=3;break}c=WTa(d,1,0,e&65535,0,t+4|0)|0;g:do if(!(k[t+4>>2]|0)){s=sTa(s,c,e&65535)|0;k[t+4>>2]=s;if(!s){h:do if(e<<16>>16){b=0;while(1){if(((i[c+b>>0]|0)+b|0)>>>0>(e&65535)>>>0)break;b=b+1|0;if((b|0)>=(e&65535|0))break h}k[t+4>>2]=3;break g}while(0);j[a+616>>1]=e;k[a+620>>2]=c;b=0;break f}}while(0);YTa(d,c);b=k[t+4>>2]|0}while(0)}while(0);i[a+612>>0]=1;a=b;r=t;return a|0}function i_a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=r;r=r+16|0;d=k[a+16>>2]|0;if((d|0)<=0){b=0;r=e;return b|0}c=0;while(1){if(!(g_a(a,c,e)|0))if(!(Wmb(b,k[e>>2]|0)|0)){d=7;break}c=c+1|0;if(c>>>0>=d>>>0){c=0;d=7;break}}if((d|0)==7){r=e;return c|0}return 0}function j_a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;d=k_a(a,590332,e)|0;if(!d){d=k_a(a,590349,e+8|0)|0;if(!d)if((k[e>>2]|0)==1)if((k[e+8>>2]|0)==1){k[b>>2]=k[e+8+4>>2];k[c>>2]=k[e+4>>2];d=0}else d=6;else d=6}r=e;return d|0}function k_a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;q=k[a+88>>2]|0;k[c>>2]=0;do if(!(i[a+780>>0]|0)){p=k[a+104>>2]|0;k[a+760>>2]=0;k[a+760+4>>2]=0;k[a+760+8>>2]=0;k[a+760+12>>2]=0;k[a+760+16>>2]=0;k[a+760+20>>2]=0;f=j[a+152>>1]|0;h=k[a+156>>2]|0;if(!(f<<16>>16)){b=8;return b|0}else d=h;while(1){if((k[d>>2]|0)==1111770656){n=k[d+12>>2]|0;if(n|0){e=d;break}}d=d+16|0;if(d>>>0>=(h+((f&65535)<<4)|0)>>>0){s=8;r=34;break}}if((r|0)==34)return s|0;if(n>>>0<8|(pTa(p,k[e+8>>2]|0)|0)!=0){b=8;return b|0}if(vTa(p,n,a+760|0)|0){b=8;return b|0}d=k[a+760>>2]|0;k[a+764>>2]=d+n;f=l[d+2>>0]<<8|l[d+3>>0];o=l[d+5>>0]<<16|l[d+4>>0]<<24|l[d+6>>0]<<8|l[d+7>>0];if(!(o>>>0<8?1:(l[d>>0]<<8|l[d+1>>0]|0)!=1))if(!((o+1|0)>>>0>n>>>0|(o+-8|0)>>>2>>>0>>0)){k[a+776>>2]=f;k[a+768>>2]=d+o;k[a+772>>2]=n-o;if(!f)e=d+8+(f<<2)|0;else{h=f;n=d+8|0;e=d+8+(f<<2)|0;while(1){e=e+((l[n+2>>0]<<8|l[n+3>>0])*10|0)|0;h=h+-1|0;if(!h)break;else n=n+4|0}}if(e>>>0<=(d+o|0)>>>0){i[a+780>>0]=1;break}}xTa(p,a+760|0);k[a+760>>2]=0;k[a+760+4>>2]=0;k[a+760+8>>2]=0;k[a+760+12>>2]=0;k[a+760+16>>2]=0;k[a+760+20>>2]=0;b=8;return b|0}else{d=k[a+760>>2]|0;f=k[a+776>>2]|0}while(0);d=d+8|0;if((b|0)==0|(q|0)==0){b=6;return b|0}p=Fnb(b)|0;if(!((f|0)!=0&(p|0)!=0)){b=6;return b|0}e=m[q+14>>1]|0;n=f;o=d;d=d+(f<<2)|0;while(1){h=l[o+2>>0]<<8|l[o+3>>0];if((l[o>>0]<<8|l[o+1>>0]|0)==(e|0)){g=d;break}n=n+-1|0;if(!n){s=6;r=34;break}else{o=o+4|0;d=d+(h*10|0)|0}}if((r|0)==34)return s|0;if(!h){b=6;return b|0}a:while(1){d=l[g+5>>0]|0;b:do if(d&16|0){e=l[g+1>>0]<<16|l[g>>0]<<24|l[g+2>>0]<<8|l[g+3>>0];t=l[g+7>>0]<<16|l[g+6>>0]<<24|l[g+8>>0]<<8|l[g+9>>0];f=k[a+772>>2]|0;if(f>>>0>e>>>0)if(p>>>0<(f-e|0)>>>0){u=k[a+768>>2]|0;if(!(Dmb(b,u+e|0,f-e|0)|0)){switch(d&15|0){case 2:{r=31;break a}case 3:{r=32;break a}case 1:case 0:break;default:break b}if(t>>>0>>0)if(Cmb(u+t|0,0,f)|0){r=30;break a}}}}while(0);h=h+-1|0;if(!h){s=6;r=34;break}else g=g+10|0}if((r|0)==30){k[c>>2]=1;k[c+4>>2]=u+t;b=0;return b|0}else if((r|0)==31){k[c>>2]=2;k[c+4>>2]=t;b=0;return b|0}else if((r|0)==32){k[c>>2]=3;k[c+4>>2]=t;b=0;return b|0}else if((r|0)==34)return s|0;return 0}function l_a(a,b){a=a|0;b=b|0;return gj[k[(k[a+12>>2]|0)+48>>2]&511](a,b)|0}function m_a(a,b){a=a|0;b=b|0;var c=0;c=nj[k[a+508>>2]&127](a,1751474532,b,0)|0;if(c|0){b=c;return b|0}b=KTa(b,172386,a+160|0)|0;return b|0}function n_a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=k[a+508>>2]|0;do if(!(c<<24>>24)){d=nj[d&127](a,1751672161,b,0)|0;if(!d){c=a+216|0;break}else{b=d;return b|0}}else{d=nj[d&127](a,1986553185,b,0)|0;if(!d)c=a+296|0;else{b=d;return b|0}}while(0);d=KTa(b,172470,c)|0;if(d|0){b=d;return b|0}k[c+36>>2]=0;k[c+40>>2]=0;b=0;return b|0}function o_a(a,b){a=a|0;b=b|0;var c=0;c=nj[k[a+508>>2]&127](a,1668112752,b,a+504|0)|0;if(c|0){a=c;return a|0}c=vTa(b,k[a+504>>2]|0,a+500|0)|0;if(!c){a=0;return a|0}k[a+504>>2]=0;a=c;return a|0}function p_a(a,b){a=a|0;b=b|0;var c=0,d=0;c=nj[k[a+508>>2]&127](a,1835104368,b,0)|0;if(c|0){a=c;return a|0}c=KTa(b,172546,a+260|0)|0;if(c|0){a=c;return a|0}c=a+266|0;d=c+26|0;do{j[c>>1]=0;c=c+2|0}while((c|0)<(d|0));if((k[a+260>>2]|0)<=65535){a=0;return a|0}c=KTa(b,172562,a+260|0)|0;if(c|0){a=c;return a|0}if((m[a+280>>1]|0)<64)j[a+280>>1]=64;if((m[a+276>>1]|0)>65531)j[a+276>>1]=-5;if((m[a+290>>1]|0)<=100){a=0;return a|0}j[a+290>>1]=100;a=0;return a|0}function q_a(a,b){a=a|0;b=b|0;var c=0;c=nj[k[a+508>>2]&127](a,1330851634,b,0)|0;if(c|0){b=c;return b|0}c=KTa(b,172622,a+364|0)|0;if(c|0){b=c;return b|0}k[a+444>>2]=0;k[a+444+4>>2]=0;k[a+444+8>>2]=0;k[a+444+12>>2]=0;k[a+444+16>>2]=0;j[a+464>>1]=-1;if(!(j[a+364>>1]|0)){b=0;return b|0}c=KTa(b,172798,a+364|0)|0;if(c|0){b=c;return b|0}if((m[a+364>>1]|0)<=1){b=0;return b|0}c=KTa(b,172814,a+364|0)|0;if(c|0){b=c;return b|0}if((m[a+364>>1]|0)<=4){b=0;return b|0}b=KTa(b,172842,a+364|0)|0;return b|0}function r_a(a,b){a=a|0;b=b|0;var c=0;c=nj[k[a+508>>2]&127](a,1886352244,b,0)|0;if(c|0){b=c;return b|0}b=KTa(b,172858,a+468|0)|0;return b|0}function s_a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0;n=r;r=r+16|0;d=k[b+28>>2]|0;k[a+360>>2]=b;c=nj[k[a+508>>2]&127](a,1851878757,b,n)|0;k[n+4>>2]=c;if(c|0){b=c;r=n;return b|0}m=rTa(b)|0;c=KTa(b,172902,a+344|0)|0;k[n+4>>2]=c;if(c|0){b=c;r=n;return b|0}i=k[a+348>>2]|0;l=(k[n>>2]|0)+m|0;if((m+6+(i*12|0)|0)>>>0>l>>>0){k[n+4>>2]=145;b=145;r=n;return b|0}k[a+348>>2]=0;c=WTa(d,20,0,i,0,n+4|0)|0;k[a+356>>2]=c;c=k[n+4>>2]|0;if(c|0){b=c;r=n;return b|0}c=wTa(b,i*12|0)|0;k[n+4>>2]=c;if(c|0){b=c;r=n;return b|0}c=k[a+356>>2]|0;if(!i)d=c;else{h=i;do{g=KTa(b,172922,c)|0;k[n+4>>2]=g;do if(!g){d=c+8|0;e=j[d>>1]|0;if(e<<16>>16){f=c+12|0;g=(k[a+352>>2]|0)+m+(k[f>>2]|0)|0;k[f>>2]=g;if(g>>>0>=(m+6+(i*12|0)|0)>>>0)if(((e&65535)+g|0)>>>0<=l>>>0){c=c+20|0;break}k[f>>2]=0;j[d>>1]=0}}while(0);h=h+-1|0}while((h|0)!=0);d=k[a+356>>2]|0}k[a+348>>2]=(c-d|0)/20|0;yTa(b);j[a+340>>1]=k[a+348>>2];b=k[n+4>>2]|0;r=n;return b|0}function t_a(a){a=a|0;var b=0,c=0,d=0,e=0;d=k[(k[a+96>>2]|0)+8>>2]|0;b=k[a+356>>2]|0;c=k[a+348>>2]|0;if(!b){k[a+348>>2]=0;d=a+344|0;j[d>>1]=0;a=a+352|0;k[a>>2]=0;return}if(c){while(1){e=b+16|0;YTa(d,k[e>>2]|0);k[e>>2]=0;j[b+8>>1]=0;c=c+-1|0;if(!c)break;else b=b+20|0}b=k[a+356>>2]|0}YTa(d,b);k[a+356>>2]=0;k[a+348>>2]=0;e=a+344|0;j[e>>1]=0;e=a+352|0;k[e>>2]=0;return}function u_a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,m=0,n=0,o=0,p=0;p=r;r=r+16|0;c=nj[k[a+508>>2]&127](a,1801810542,b,p)|0;if(c|0){a=c;r=p;return a|0}c=k[p>>2]|0;if(c>>>0<4){a=142;r=p;return a|0}c=vTa(b,c,a+740|0)|0;if(c|0){a=c;r=p;return a|0}n=k[p>>2]|0;k[a+744>>2]=n;m=k[a+740>>2]|0;j=(l[m+2>>0]|0)<<8|(l[m+3>>0]|0);j=j>>>0>32?32:j;a:do if(!j){d=0;b=0;c=0}else{d=0;b=0;c=0;o=m+4|0;do{i=1<>>0>(m+n|0)>>>0)break a;e=(l[o+2>>0]|0)<<8|(l[o+3>>0]|0);if(e>>>0<15)break a;g=o+e|0;h=o;o=g>>>0>(m+n|0)>>>0?m+n|0:g;b:do if(!((h+14|0)>>>0>(m+n|0)>>>0?1:((l[h+4>>0]|0)<<8|(l[h+5>>0]|0)&247|0)!=1)){e=(l[f>>0]|0)<<8|(l[h+7>>0]|0);g=o-(h+14)|0;e=(g|0)<(e*6|0)?(g|0)/6|0:e;d=i|d;if(e){g=(l[h+15>>0]|0)<<16|(l[h+14>>0]|0)<<24|(l[h+16>>0]|0)<<8|(l[h+17>>0]|0);f=h+20|0;while(1){e=e+-1|0;if(!e)break;h=g;g=(l[f+1>>0]|0)<<16|(l[f>>0]|0)<<24|(l[f+2>>0]|0)<<8|(l[f+3>>0]|0);if(g>>>0<=h>>>0)break b;else f=f+6|0}c=i|c}}while(0);b=b+1|0}while(b>>>0>>0)}while(0);k[a+748>>2]=b;k[a+752>>2]=d;k[a+756>>2]=c;a=0;r=p;return a|0}function v_a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=r;r=r+16|0;d=k[b+28>>2]|0;c=nj[k[a+508>>2]&127](a,1734439792,b,0)|0;k[f>>2]=c;if(c|0){b=c;r=f;return b|0}c=wTa(b,4)|0;k[f>>2]=c;if(c|0){b=c;r=f;return b|0}e=ATa(b)|0;j[a+540>>1]=e;e=ATa(b)|0;j[a+542>>1]=e;yTa(b);e=k[a+540>>2]|0;if((e&65535)>1){j[a+542>>1]=0;k[f>>2]=8;b=8;r=f;return b|0}c=WTa(d,4,0,e>>>16,0,f)|0;k[a+544>>2]=c;c=k[f>>2]|0;if(c|0){b=c;r=f;return b|0}c=wTa(b,e>>>16<<2)|0;k[f>>2]=c;if(c|0){b=c;r=f;return b|0}c=k[a+544>>2]|0;if(e>>>16|0){d=0;do{a=ATa(b)|0;j[c+(d<<2)>>1]=a;a=ATa(b)|0;j[c+(d<<2)+2>>1]=a;d=d+1|0}while((d|0)!=(e>>>16|0))}yTa(b);b=k[f>>2]|0;r=f;return b|0}function w_a(a,b){a=a|0;b=b|0;var c=0;c=nj[k[a+508>>2]&127](a,1346587732,b,0)|0;if(c|0){b=c;return b|0}b=KTa(b,172950,a+548|0)|0;return b|0}function x_a(a,b){a=a|0;b=b|0;var c=0;c=nj[k[a+508>>2]&127](a,1651008868,b,0)|0;if(c|0){b=c;return b|0}b=KTa(b,172386,a+160|0)|0;return b|0}function y_a(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,m=0,n=0,o=0;o=r;r=r+80|0;switch(k[a+732>>2]|0){case 2:case 1:{m=k[a+104>>2]|0;if(!(nj[k[a+508>>2]&127](a,1128416340,m,o+48|0)|0))n=5;else if(!(nj[k[a+508>>2]&127](a,1161970772,m,o+48|0)|0))n=5;else{h=nj[k[a+508>>2]&127](a,1650745716,m,o+48|0)|0;if(!h)n=5}if((n|0)==5){k[o>>2]=a;k[o+4>>2]=m;k[o+8>>2]=(k[a+84>>2]|0)+76;k[o+12>>2]=g;i[o+16>>0]=0;i[o+17>>0]=0;h=rTa(m)|0;k[o+20>>2]=h;k[o+24>>2]=k[o+48>>2];h=k[a+724>>2]|0;k[o+36>>2]=h;m=k[a+728>>2]|0;k[o+40>>2]=h+m;if(((b*48|8)+47|0)>>>0>m>>>0)h=3;else{g=h+8+(b*48|0)+4+-4|0;g=l[g+1>>0]<<16|l[g>>0]<<24|l[g+2>>0]<<8|l[g+3>>0];k[o+28>>2]=g;n=h+8+(b*48|0)+4+4+4|0;h=l[n+-4+1>>0]<<16|l[n+-4>>0]<<24|l[n+-4+2>>0]<<8|l[n+-4+3>>0];k[o+32>>2]=h;i[o+18>>0]=i[n+34>>0]|0;if(m>>>0>>0)h=3;else if(h>>>0>(m-g|0)>>>3>>>0)h=3;else{h=z_a(o,c,0,0)|0;if(h|d&1048576|0){a=h;r=o;return a|0}if((i[f+18>>0]|0)!=7){a=h;r=o;return a|0}h=k[k[a+84>>2]>>2]|0;M2a(o+48|0);m=O2a(h,f,o+48|0,1)|0;if(!m){i[f+18>>0]=i[o+48+18>>0]|0;k[f+8>>2]=k[o+48+8>>2];j[f+16>>1]=j[o+48+16>>1]|0;_Ra(k[a+84>>2]|0,k[o+48+12>>2]|0);a=(k[(k[a+84>>2]|0)+156>>2]|0)+4|0;k[a>>2]=k[a>>2]|1}else P2a(h,o+48|0)|0;a=m;r=o;return a|0}}}a=h;r=o;return a|0}case 3:{j[g+2>>1]=0;j[g>>1]=0;f=(k[a+724>>2]|0)+8+(b<<2)+4+-4|0;f=l[f+1>>0]<<16|l[f>>0]<<24|l[f+2>>0]<<8|l[f+3>>0];h=nj[k[a+508>>2]&127](a,1935829368,e,o+48|0)|0;a:do if(!h){d=rTa(e)|0;if((k[a+16>>2]|0)>>>0>>0)h=6;else{h=c;b=0;b:while(1){m=k[o+48>>2]|0;if(m>>>0<=f>>>0){h=3;break a}h=h<<2;if((m-f|0)>>>0<(h+12|0)>>>0){h=3;break a}h=pTa(e,d+f+4+h|0)|0;if(h|0)break a;h=wTa(e,8)|0;if(h|0)break a;m=CTa(e)|0;g=CTa(e)|0;yTa(e);if((g|0)==(m|0)){h=6;break a}if(g>>>0>>0){h=3;break a}if((g-m|0)>>>0<8){h=3;break a}if(((k[o+48>>2]|0)-f|0)>>>0>>0){h=3;break a}h=pTa(e,m+(d+f)|0)|0;if(h|0)break a;h=wTa(e,g-m|0)|0;if(h|0)break a;ATa(e)|0;ATa(e)|0;h=CTa(e)|0;if((h|0)>=1919378028){n=36;break}if((h|0)>=1785751328){n=38;break}switch(h|0){case 1685418085:break;default:{h=7;break b}}if((b|0)>=4){h=3;break}h=(ATa(e)|0)&65535;yTa(e);if(h>>>0>(k[a+16>>2]|0)>>>0){h=6;break a}else b=b+1|0}c:do if((n|0)==36)if((h|0)<1953064550)switch(h|0){case 1919378028:{n=25;break c}default:{h=7;break c}}else switch(h|0){case 1953064550:{n=25;break c}default:{h=7;break c}}else if((n|0)==38)switch(h|0){case 1785751328:{n=25;break}default:h=7}while(0);if((n|0)==25)h=2;yTa(e)}}while(0);a=h;r=o;return a|0}default:{a=2;r=o;return a|0}}return 0}function z_a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;E=r;r=r+16|0;o=(k[a+36>>2]|0)+(k[a+28>>2]|0)|0;u=k[a+40>>2]|0;g=k[a+32>>2]|0;if(!g){d=6;r=E;return d|0}else h=o;while(1){p=l[h>>0]<<8|l[h+1>>0];if(p>>>0<=b>>>0)if((l[h+2>>0]<<8|l[h+3>>0])>>>0>=b>>>0){n=h;break}g=g+-1|0;if(!g){v=6;x=62;break}else h=h+8|0}if((x|0)==62){r=E;return v|0}g=l[n+5>>0]<<16|l[n+4>>0]<<24|l[n+6>>0]<<8|l[n+7>>0];if(g>>>0>(u-o|0)>>>0){d=8;r=E;return d|0}if((o+g+8|0)>>>0>u>>>0){d=6;r=E;return d|0}y=l[o+g+2+2+-2>>0]<<8|l[o+g+2+2+-2+1>>0];s=o+g+2+2+4|0;w=l[s+-4+1>>0]<<16|l[s+-4>>0]<<24|l[s+-4+2>>0]<<8|l[s+-4+3>>0];a:do switch(l[o+g+2+-2>>0]<<8|l[o+g+2+-2+1>>0]|0){case 1:{if((s+(b-p<<2)+8|0)>>>0>u>>>0){d=6;r=E;return d|0}f=s+(b-p<<2)+4+-4|0;f=l[f+1>>0]<<16|l[f>>0]<<24|l[f+2>>0]<<8|l[f+3>>0];e=s+(b-p<<2)+4+4+-4|0;e=l[e+1>>0]<<16|l[e>>0]<<24|l[e+2>>0]<<8|l[e+3>>0];if((f|0)==(e|0)){d=6;r=E;return d|0}break}case 2:{if((s+12|0)>>>0>u>>>0){d=6;r=E;return d|0}e=l[s+4+-4+1>>0]<<16|l[s+4+-4>>0]<<24|l[s+4+-4+2>>0]<<8|l[s+4+-4+3>>0];f=k[a+12>>2]|0;if((s+4+5|0)>>>0>u>>>0){d=6;r=E;return d|0}j[f>>1]=l[s+4>>0]|0;j[f+2>>1]=l[s+4+1>>0]|0;j[f+4>>1]=i[s+4+2>>0]|0;j[f+6>>1]=i[s+4+3>>0]|0;j[f+8>>1]=l[s+4+4>>0]|0;if((s+4+8|0)>>>0>u>>>0){d=6;r=E;return d|0}else{j[f+10>>1]=i[s+4+5>>0]|0;j[f+12>>1]=i[s+4+6>>0]|0;j[f+14>>1]=l[s+4+7>>0]|0;i[a+16>>0]=1;f=ha(e,b-p|0)|0;e=f+e|0;break a}}case 3:{if((s+(b-p<<1)+4|0)>>>0>u>>>0){d=6;r=E;return d|0}f=s+(b-p<<1)+2+-2|0;f=l[f>>0]<<8|l[f+1>>0];e=s+(b-p<<1)+2+2+-2|0;e=l[e>>0]<<8|l[e+1>>0];if((f|0)==(e|0)){d=6;r=E;return d|0}break}case 4:{if((s+4|0)>>>0>u>>>0){d=6;r=E;return d|0}n=l[s+4+-4+1>>0]<<16|l[s+4+-4>>0]<<24|l[s+4+-4+2>>0]<<8|l[s+4+-4+3>>0];if((s+4+4|0)>>>0>u>>>0){d=6;r=E;return d|0}if(n|0?n>>>0<=((u-(s+4)>>2)+-1|0)>>>0:0){h=0;g=s+4|0}else{d=6;r=E;return d|0}while(1){if((l[g>>0]<<8|l[g+1>>0]|0)==(b|0)){q=g;x=20;break}h=h+1|0;if(h>>>0>=n>>>0){v=6;x=62;break}else g=g+4|0}if((x|0)==20){e=l[q+6>>0]<<8|l[q+7>>0];f=l[q+2>>0]<<8|l[q+3>>0];break a}else if((x|0)==62){r=E;return v|0}break}case 19:case 5:{if((s+16|0)>>>0>u>>>0){d=6;r=E;return d|0}p=l[s+1>>0]<<16|l[s>>0]<<24|l[s+2>>0]<<8|l[s+3>>0];g=k[a+12>>2]|0;if((s+4+5|0)>>>0>u>>>0){d=6;r=E;return d|0}j[g>>1]=l[s+4>>0]|0;j[g+2>>1]=l[s+4+1>>0]|0;j[g+4>>1]=i[s+4+2>>0]|0;j[g+6>>1]=i[s+4+3>>0]|0;j[g+8>>1]=l[s+4+4>>0]|0;o=s+4+8|0;if(o>>>0>u>>>0){d=6;r=E;return d|0}j[g+10>>1]=i[s+4+5>>0]|0;j[g+12>>1]=i[s+4+6>>0]|0;j[g+14>>1]=l[s+4+7>>0]|0;i[a+16>>0]=1;n=l[o+1>>0]<<16|l[o>>0]<<24|l[o+2>>0]<<8|l[o+3>>0];if(n|0?n>>>0<=u-(o+4)>>1>>>0:0){h=0;g=o+4|0}else{d=6;r=E;return d|0}while(1){if((l[g>>0]<<8|l[g+1>>0]|0)==(b|0)){t=h;x=28;break}h=h+1|0;if(h>>>0>=n>>>0){v=6;x=62;break}else g=g+2|0}if((x|0)==28){f=ha(t,p)|0;e=f+p|0;break a}else if((x|0)==62){r=E;return v|0}break}default:{d=6;r=E;return d|0}}while(0);if(e>>>0>>0){d=6;r=E;return d|0}o=e-f|0;p=k[a+4>>2]|0;if((e+w|0)>>>0>(k[a+24>>2]|0)>>>0)e=6;else{e=pTa(p,f+w+(k[a+20>>2]|0)|0)|0;if(!e){e=vTa(p,o,E)|0;if(!e){n=k[E>>2]|0;switch(y|0){case 17:case 8:case 2:case 1:{e=k[a+12>>2]|0;if((o|0)<5)z=6;else{j[e>>1]=l[n>>0]|0;j[e+2>>1]=l[n+1>>0]|0;j[e+4>>1]=i[n+2>>0]|0;j[e+6>>1]=i[n+3>>0]|0;j[e+8>>1]=l[n+4>>0]|0;j[e+10>>1]=0;j[e+12>>1]=0;j[e+14>>1]=0;i[a+16>>0]=1;A=n+5|0;x=39}break}case 18:case 9:case 7:case 6:{e=k[a+12>>2]|0;if((o|0)<5)z=6;else{j[e>>1]=l[n>>0]|0;j[e+2>>1]=l[n+1>>0]|0;j[e+4>>1]=i[n+2>>0]|0;j[e+6>>1]=i[n+3>>0]|0;j[e+8>>1]=l[n+4>>0]|0;if((o|0)<8)z=6;else{j[e+10>>1]=i[n+5>>0]|0;j[e+12>>1]=i[n+6>>0]|0;j[e+14>>1]=l[n+7>>0]|0;i[a+16>>0]=1;A=n+8|0;x=39}}break}default:{A=n;x=39}}b:do if((x|0)==39){f=A;c:do switch(y|0){case 19:case 18:case 17:{z=7;break b}case 6:case 1:{C=90;D=f;break}case 7:case 2:{C=k[a+12>>2]|0;D=m[C+2>>1]|0;C=m[C>>1]|0;e=ha((D+7|0)>>>3,C)|0;if(((ha(C,D)|0)+7|0)>>>3>>>0>>0)if((e|0)==(n+o-f|0)){C=90;D=f;break c}C=91;D=f;break}case 5:{C=91;D=f;break}case 8:{e=A+1|0;if(e>>>0>(n+o|0)>>>0){z=0;break b}B=e;x=46;break}case 9:{B=f;x=46;break}default:{z=8;break b}}while(0);if((x|0)==46){C=92;D=B}if(!(i[a+17>>0]|0)){f=k[a+8>>2]|0;g=k[a+16>>2]|0;if(!((g&255)<<24>>24)){z=6;break}h=k[a+12>>2]|0;e=m[h+2>>1]|0;h=m[h>>1]|0;k[f+4>>2]=e;k[f>>2]=h;switch(g>>>16&255|0){case 1:{i[f+18>>0]=1;k[f+8>>2]=(e+7|0)>>>3;j[f+16>>1]=2;e=(e+7|0)>>>3;break}case 2:{i[f+18>>0]=3;k[f+8>>2]=(e+3|0)>>>2;j[f+16>>1]=4;e=(e+3|0)>>>2;break}case 4:{i[f+18>>0]=4;k[f+8>>2]=(e+1|0)>>>1;j[f+16>>1]=16;e=(e+1|0)>>>1;break}case 8:{i[f+18>>0]=2;k[f+8>>2]=e;j[f+16>>1]=256;break}case 32:{i[f+18>>0]=7;k[f+8>>2]=e<<2;j[f+16>>1]=256;e=e<<2;break}default:{z=3;break b}}e=ha(e,h)|0;if(e|0){e=$Ra(k[(k[a>>2]|0)+84>>2]|0,e)|0;if(e|0){z=e;break}i[a+17>>0]=1}}z=Ni[C&127](a,D,n+o|0,c,d)|0}while(0);xTa(p,E);e=z}}}d=e;r=E;return d|0}function A_a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,m=0,n=0,o=0,p=0;f=k[a+12>>2]|0;m=j[f+4>>1]|0;n=j[f+6>>1]|0;o=j[f+8>>1]|0;p=j[f+10>>1]|0;h=j[f+12>>1]|0;i=j[f+14>>1]|0;if((b+2|0)>>>0>c>>>0){a=3;return a|0}g=(l[b>>0]|0)<<8|(l[b+1>>0]|0);if((b+2+(g<<2)|0)>>>0>c>>>0){a=3;return a|0}if(!g)c=0;else{f=b+2|0;b=0;while(1){c=z_a(a,(l[f>>0]|0)<<8|(l[f+1>>0]|0),(l[f+2>>0]|0)+d|0,(l[f+3>>0]|0)+e|0)|0;if(c|0)break;b=b+1|0;if(b>>>0>=g>>>0){c=0;break}else f=f+4|0}f=k[a+12>>2]|0}j[f+4>>1]=(m<<8&65535)<<16>>16>>8;j[f+6>>1]=(n<<8&65535)<<16>>16>>8;j[f+8>>1]=o&255;j[f+10>>1]=(p<<8&65535)<<16>>16>>8;j[f+12>>1]=(h<<8&65535)<<16>>16>>8;j[f+14>>1]=i&255;a=k[a+8>>2]|0;j[f+2>>1]=k[a+4>>2]&255;j[f>>1]=k[a>>2]&255;a=c;return a|0}function B_a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;f=k[a+8>>2]|0;v=k[f+8>>2]|0;h=k[f+12>>2]|0;t=k[a+12>>2]|0;g=m[t+2>>1]|0;t=j[t>>1]|0;u=ha(l[a+18>>0]|0,g)|0;if((d|0)<0){c=3;return c|0}if(((t&65535)+e|0)>>>0>(k[f>>2]|0)>>>0|((e|0)<0?1:(g+d|0)>>>0>(k[f+4>>2]|0)>>>0)){c=3;return c|0}if((b+(((ha(u,t&65535)|0)+7|0)>>>3)|0)>>>0>c>>>0){c=3;return c|0}a=ha(v,e)|0;if(!(t<<16>>16)){c=0;return c|0}r=u>>>0<(8-(d&7)|0)>>>0?u:8-(d&7)|0;if(!(d&7)){g=b;o=t&65535;p=h+((d>>3)+((u+-8|0)>>>3)+a+1)|0;n=h+(a+(d>>3))|0;a=0;f=0;while(1){if(u>>>0>7){b=g;h=n;e=u;while(1){f=l[b>>0]|0|f&65535;i[h>>0]=f>>>a|(l[h>>0]|0);e=e+-8|0;if((e|0)<=7)break;else{b=b+1|0;h=h+1|0;f=f<<8&65535}}g=g+(((u+-8|0)>>>3)+1)|0;h=p;f=f<<8&65535;b=u+-8-((u+-8|0)>>>3<<3)|0}else{h=n;b=u}do if((b|0)>0){if((a|0)>=(b|0)){i[h>>0]=l[h>>0]|0|65280>>>b&(f&65535)>>>a;a=a-b|0;break}if(g>>>0>>0){e=g+1|0;f=(l[g>>0]|0|f&65535)&65535}else e=g;f=f&65535;i[h>>0]=f>>>a&65280>>>b|(l[h>>0]|0);g=e;a=a+8-b|0;f=f<<8&65535}while(0);if((o|0)>1){o=o+-1|0;p=p+v|0;n=n+v|0}else{a=0;break}}return a|0}s=(u+~(u>>>0>(8-(d&7)|0)>>>0?8-(d&7)|0:u)+-7|0)>>>3;p=t&65535;q=h+((d>>3)+s+a+2)|0;o=h+(a+(d>>3))|0;g=0;a=0;while(1){do if((p|0)==(t&65535|0)){f=b+1|0;n=d&7;a=l[b>>0]|0}else{if((g|0)>=(r|0)){f=b;n=g-r|0;a=(a&65535)>>>8;break}if(b>>>0>>0){f=b+1|0;a=(l[b>>0]|0|a&65535)&65535}else f=b;n=8-r+g|0}while(0);g=a&65535;a=o+1|0;i[o>>0]=g>>>n&~(255<>0]|0);if((u-r|0)>7){b=f;g=g<<8;e=u-r|0;while(1){g=l[b>>0]|0|g&65280;i[a>>0]=g>>>n|(l[a>>0]|0);e=e+-8|0;if((e|0)>7){b=b+1|0;a=a+1|0;g=g<<8}else break}b=f+(s+1)|0;h=q;g=g<<8}else{b=f;h=a;g=g<<8;e=u-r|0}a=g&65535;do if((e|0)>0){if((n|0)>=(e|0)){i[h>>0]=l[h>>0]|0|65280>>>e&(g&65280)>>>n;f=n-e|0;break}if(b>>>0>>0){f=b+1|0;a=l[b>>0]|0|g&65280}else{f=b;a=g}a=a&65535;i[h>>0]=a>>>n&65280>>>e|(l[h>>0]|0);b=f;f=n+8-e|0;a=a<<8&65535}else f=n;while(0);if((p|0)>1){p=p+-1|0;q=q+v|0;o=o+v|0;g=f}else{a=0;break}}return a|0}function C_a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;f=k[a+8>>2]|0;t=k[f+8>>2]|0;r=k[f+12>>2]|0;h=k[a+12>>2]|0;g=m[h+2>>1]|0;h=j[h>>1]|0;s=ha(l[a+18>>0]|0,g)|0;if((d|0)<0){t=3;return t|0}if(((h&65535)+e|0)>>>0>(k[f>>2]|0)>>>0|((e|0)<0?1:(g+d|0)>>>0>(k[f+4>>2]|0)>>>0)){t=3;return t|0}if((b+(ha((s+7|0)>>>3,h&65535)|0)|0)>>>0>c>>>0){t=3;return t|0}a=ha(t,e)|0;if(!(d&7)){if(!(h<<16>>16)){t=0;return t|0}if(s>>>0<=7){f=h&65535;a=r+(a+(d>>3))|0;while(1){if(s){i[a>>0]=(l[b>>0]|0)&65280>>>s|(l[a>>0]|0);b=b+1|0}if((f|0)>1){f=f+-1|0;a=a+t|0}else{b=0;break}}return b|0}o=(s+-8|0)>>>3;h=h&65535;n=r+((d>>3)+o+a+1)|0;e=r+(a+(d>>3))|0;while(1){g=b+(o+1)|0;a=b;f=e;c=s;while(1){i[f>>0]=i[a>>0]|i[f>>0];c=c+-8|0;if((c|0)<=7)break;else{a=a+1|0;f=f+1|0}}if((s-(o<<3)|0)>8){i[n>>0]=(l[g>>0]|0)&65280>>>(s+-8-(o<<3)|0)|(l[n>>0]|0);b=b+o+2|0}else b=g;if((h|0)>1){h=h+-1|0;n=n+t|0;e=e+t|0}else{b=0;break}}return b|0}if(!(h<<16>>16)){t=0;return t|0}if(s>>>0<=7){g=h&65535;f=r+(a+(d>>3))|0;while(1){if(!s){a=b;b=0}else{a=b+1|0;b=(l[b>>0]|0)&65280>>>s}i[f>>0]=l[f>>0]|0|b>>>(d&7);if((s+(d&7)|0)>>>0>8){r=f+1|0;i[r>>0]=l[r>>0]|0|b<<8>>>(d&7)}if((g|0)>1){b=a;g=g+-1|0;f=f+t|0}else{b=0;break}}return b|0}q=(s+-8|0)>>>3;n=h&65535;o=r+((d>>3)+q+a+1)|0;p=r+((d>>3)+q+a)|0;h=r+(a+(d>>3))|0;while(1){e=b+(q+1)|0;f=b;g=h;c=s;a=0;while(1){a=l[f>>0]|0|a;i[g>>0]=a>>>(d&7)|(l[g>>0]|0);c=c+-8|0;if((c|0)<=7)break;else{f=f+1|0;g=g+1|0;a=a<<8}}if((s-(q<<3)|0)>8){b=b+q+2|0;a=(l[e>>0]|0)&65280>>>(s+-8-(q<<3)|0)|a<<8}else{b=e;a=a<<8}i[o>>0]=l[o>>0]|0|a>>>(d&7);if((s+-8-(q<<3)+(d&7)|0)>8){r=p+2|0;i[r>>0]=l[r>>0]|0|a<<8>>>(d&7)}if((n|0)>1){n=n+-1|0;o=o+t|0;p=p+t|0;h=h+t|0}else{b=0;break}}return b|0}function D_a(a){a=a|0;var b=0,c=0,d=0;d=k[a+100>>2]|0;if(!(i[a+612>>0]|0)){i[a+612>>0]=0;return}b=k[a+468>>2]|0;if((b|0)>=163840){switch(b|0){case 163840:break;default:{i[a+612>>0]=0;return}}YTa(d,k[a+620>>2]|0);k[a+620>>2]=0;j[a+616>>1]=0;i[a+612>>0]=0;return}switch(b|0){case 131072:break;default:{i[a+612>>0]=0;return}}YTa(d,k[a+620>>2]|0);k[a+620>>2]=0;j[a+616>>1]=0;if(j[a+618>>1]|0){c=0;b=0;while(1){YTa(d,k[(k[a+624>>2]|0)+(c<<2)>>2]|0);k[(k[a+624>>2]|0)+(c<<2)>>2]=0;b=b+1<<16>>16;if((b&65535)<(m[a+618>>1]|0))c=b&65535;else break}}YTa(d,k[a+624>>2]|0);k[a+624>>2]=0;j[a+618>>1]=0;i[a+612>>0]=0;return}function E_a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;q=k[a+740>>2]|0;s=k[a+744>>2]|0;d=k[a+748>>2]|0;if((s|0)<10|(d|0)==0){c=0;return c|0}r=k[a+752>>2]|0;e=q+10|0;n=d;o=1;p=q+4|0;d=0;while(1){m=i[p+5>>0]|0;h=p+(l[p+2>>0]<<8|l[p+3>>0])|0;j=p;p=h>>>0>(q+s|0)>>>0?q+s|0:h;a:do if(!((r&o|0)==0|(j+14|0)>>>0>p>>>0)){e=l[e>>0]<<8|l[j+7>>0];h=p-(j+14)|0;e=(h|0)<(e*6|0)?(h|0)/6|0:e;if(!(i[j+4>>0]|0)){if(!(k[a+756>>2]&o)){if(!e)break;else{f=e;e=j+14|0}while(1){if((l[e+1>>0]<<16|l[e>>0]<<24|l[e+2>>0]<<8|l[e+3>>0]|0)==(b<<16|c|0))break;f=f+-1|0;if(!f)break a;else e=e+6|0}e=l[e+4>>0]<<8|l[e+5>>0]}else{if(!e)break;else h=0;while(1){f=(e+h|0)>>>1;g=j+14+(f*6|0)+4+-4|0;g=l[g+1>>0]<<16|l[g>>0]<<24|l[g+2>>0]<<8|l[g+3>>0];if((g|0)==(b<<16|c|0)){e=j+14+(f*6|0)+4|0;break}h=g>>>0<(b<<16|c)>>>0?f+1|0:h;e=g>>>0<(b<<16|c)>>>0?e:f;if(h>>>0>=e>>>0)break a}e=l[e>>0]<<8|l[e+1>>0]}d=(e<<16>>16)+((m&8)==0?d:0)|0}}while(0);n=n+-1|0;e=p+6|0;if(e>>>0>(q+s|0)>>>0|(n|0)==0)break;else o=o<<1}return d|0}function F_a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0;u=r;r=r+48|0;t=k[b+28>>2]|0;c=rTa(b)|0;k[u+8+12>>2]=c;c=ITa(b,u)|0;k[u+8>>2]=c;c=k[u>>2]|0;if(c|0){b=c;r=u;return b|0}c=KTa(b,173018,u+8|0)|0;k[u>>2]=c;if(c|0){b=c;r=u;return b|0}a:do if((k[u+8>>2]|0)==1330926671){i=u+8+4|0;c=j[u+8+4>>1]|0;d=1330926671}else{p=k[u+8+12>>2]|0;c=pTa(b,p+12|0)|0;k[u+40>>2]=c;do if(!c){q=u+8+4|0;if(!(j[q>>1]|0))j[q>>1]=0;else{o=0;f=0;g=0;d=0;e=0;c=0;b:while(1){n=KTa(b,173042,u+24|0)|0;k[u+40>>2]=n;if(n|0){s=10;break}i=k[u+24+8>>2]|0;h=k[b+4>>2]|0;c:do if(h>>>0>=i>>>0){l=k[u+24+12>>2]|0;n=k[u+24>>2]|0;d:do if(l>>>0>(h-i|0)>>>0)if((n|0)<1986884728)switch(n|0){case 1752003704:break d;default:break c}else switch(n|0){case 1986884728:break d;default:break c}while(0);h=c+1<<16>>16;e:do if((n|0)<1651008868)switch(n|0){case 1397313095:{d=1;c=h;break c}default:{}}else{if((n|0)<1751474532)switch(n|0){case 1651008868:break;default:break e}else switch(n|0){case 1751474532:break;default:break e}if(l>>>0<54){s=16;break b}c=pTa(b,i+12|0)|0;k[u+40>>2]=c;if(c|0){s=21;break b}ITa(b,u+40|0)|0;c=k[u+40>>2]|0;if(c|0){s=21;break b}c=pTa(b,p+28+(o<<4)|0)|0;k[u+40>>2]=c;if(!c){f=1;c=h;break c}else{s=21;break b}}while(0);g=(n|0)==1296389185?1:g;c=h}while(0);e=e+1<<16>>16;if((e&65535)<(m[q>>1]|0))o=e&65535;else{e=g;break}}if((s|0)==10){j[q>>1]=e+-1<<16>>16;e=g}else if((s|0)==16){k[u+40>>2]=142;c=142;s=21}if((s|0)==21)break;j[q>>1]=c;if(c<<16>>16){if(!f)if(!((e|0)!=0&(d|0)!=0)){k[u+40>>2]=142;c=142;break}k[u>>2]=0;i=q;d=k[u+8>>2]|0;break a}}k[u+40>>2]=2;c=2}while(0);k[u>>2]=c;b=c;r=u;return b|0}while(0);j[a+152>>1]=c;k[a+148>>2]=d;c=WTa(t,16,0,c&65535,0,u)|0;k[a+156>>2]=c;c=k[u>>2]|0;if(c|0){b=c;r=u;return b|0}c=pTa(b,(k[u+8+12>>2]|0)+12|0)|0;k[u>>2]=c;if(c|0){b=c;r=u;return b|0}c=wTa(b,m[a+152>>1]<<4)|0;k[u>>2]=c;if(c|0){b=c;r=u;return b|0}if(j[i>>1]|0){c=k[a+156>>2]|0;h=0;do{d=CTa(b)|0;k[c>>2]=d;d=CTa(b)|0;k[c+4>>2]=d;d=CTa(b)|0;f=c+8|0;k[f>>2]=d;d=CTa(b)|0;e=c+12|0;k[e>>2]=d;f=k[f>>2]|0;g=k[b+4>>2]|0;f:do if(g>>>0>=f>>>0){if(d>>>0<=(g-f|0)>>>0){c=c+16|0;break}d=k[c>>2]|0;if((d|0)<1986884728)switch(d|0){case 1752003704:break;default:break f}else switch(d|0){case 1986884728:break;default:break f}k[e>>2]=g-f&-4;c=c+16|0}while(0);h=h+1|0}while((h|0)<(m[i>>1]|0))}yTa(b);b=k[u>>2]|0;r=u;return b|0}function G_a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;d=nj[k[a+508>>2]&127](a,c<<24>>24==0?1752003704:1986884728,b,e)|0;if(d|0){r=e;return d|0}k[(c<<24>>24==0?a+684|0:a+692|0)>>2]=k[e>>2];b=rTa(b)|0;k[(c<<24>>24==0?a+784|0:a+788|0)>>2]=b;r=e;return d|0}function H_a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=r;r=r+16|0;k[a+724>>2]=0;k[a+724+4>>2]=0;k[a+724+8>>2]=0;k[a+724+12>>2]=0;do if(!(nj[k[a+508>>2]&127](a,1128418371,b,f)|0)){k[a+732>>2]=2;d=2;e=8}else{if(nj[k[a+508>>2]&127](a,1161972803,b,f)|0)if(nj[k[a+508>>2]&127](a,1651273571,b,f)|0){c=nj[k[a+508>>2]&127](a,1935829368,b,f)|0;if(c|0)break;k[a+732>>2]=3;d=3;e=8;break}k[a+732>>2]=1;d=1;e=8}while(0);a:do if((e|0)==8){c=k[f>>2]|0;if(c>>>0<8)c=3;else switch(d|0){case 2:case 1:{c=vTa(b,c,a+724|0)|0;if(c|0)break a;d=k[f>>2]|0;k[a+728>>2]=d;e=k[a+724>>2]|0;c=(l[e+5>>0]|0)<<16|(l[e+4>>0]|0)<<24|(l[e+6>>0]|0)<<8|(l[e+7>>0]|0);if(((l[e+1>>0]|0)<<16|(l[e>>0]|0)<<24|0)!=131072){c=2;break a}if(c>>>0>65535){c=3;break a}if((c*48|8)>>>0>d>>>0)c=((d+-8|0)>>>0)/48|0;k[a+736>>2]=c;a=0;r=f;return a|0}case 3:{c=wTa(b,8)|0;if(c|0)break a;e=ATa(b)|0;c=ATa(b)|0;d=CTa(b)|0;yTa(b);if(!(e<<16>>16)){c=2;break a}if(c<<16>>16==1){if(d>>>0>65535){c=3;break a}}else if(c<<16>>16!=3|d>>>0>65535){c=3;break a}c=k[f>>2]|0;d=((d<<2)+8|0)>>>0>c>>>0?(c+-8|0)>>>2:d;c=pTa(b,(rTa(b)|0)+-8|0)|0;if(c|0)break a;k[a+728>>2]=(d<<2)+8;c=vTa(b,(d<<2)+8|0,a+724|0)|0;if(c|0)break a;k[a+736>>2]=d;a=0;r=f;return a|0}default:{a=0;r=f;return a|0}}}while(0);if(k[a+724>>2]|0)xTa(b,a+724|0);k[a+728>>2]=0;k[a+732>>2]=0;a=c;r=f;return a|0}function I_a(a){a=a|0;xTa(k[a+104>>2]|0,a+724|0);k[a+728>>2]=0;k[a+732>>2]=0;k[a+736>>2]=0;return}function J_a(a,b,c){a=a|0;b=b|0;c=c|0;return tSa(a,b,0,c)|0}function K_a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;f=r;r=r+16|0;if((k[a+736>>2]|0)>>>0<=b>>>0){c=6;r=f;return c|0}switch(k[a+732>>2]|0){case 2:case 1:{a=(k[a+724>>2]|0)+8+(b*48|0)|0;j[c>>1]=l[a+44>>0]|0;j[c+2>>1]=l[a+45>>0]|0;d=i[a+16>>0]<<6;k[c+12>>2]=d;e=i[a+17>>0]<<6;k[c+16>>2]=e;k[c+20>>2]=d-e;k[c+24>>2]=(l[a+18>>0]|0)+(i[a+22>>0]|0)+(i[a+23>>0]|0)<<6;c=0;r=f;return c|0}case 3:{e=k[a+104>>2]|0;d=(k[a+724>>2]|0)+8+(b<<2)+4+-4|0;d=l[d+1>>0]<<16|l[d>>0]<<24|l[d+2>>0]<<8|l[d+3>>0];b=nj[k[a+508>>2]&127](a,1935829368,e,f)|0;if(!b)if((d+4|0)>>>0>(k[f>>2]|0)>>>0)b=3;else{b=pTa(e,(rTa(e)|0)+d|0)|0;if(!b){b=wTa(e,4)|0;if(!b){d=ATa(e)|0;ATa(e)|0;yTa(e);b=m[a+178>>1]|0;j[c>>1]=d;j[c+2>>1]=d;e=k[a+220>>2]|0;g=(ha((d&65535)<<6,e<<16>>16)|0)/(b|0)|0;k[c+12>>2]=g;g=(ha((d&65535)<<6,e>>16)|0)/(b|0)|0;k[c+16>>2]=g;a=k[a+224>>2]|0;e=(ha((d&65535)<<6,(e<<16>>16)-(e>>16)+(a<<16>>16)|0)|0)/(b|0)|0;k[c+20>>2]=e;b=(ha((d&65535)<<6,a>>>16)|0)/(b|0)|0;k[c+24>>2]=b;b=0}}}g=b;r=f;return g|0}default:{g=2;r=f;return g|0}}return 0}function L_a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;i=r;r=r+16|0;g=k[a+104>>2]|0;f=k[(b<<24>>24==0?a+784|0:a+788|0)>>2]|0;h=(k[(b<<24>>24==0?a+684|0:a+692|0)>>2]|0)+f|0;a=j[(b<<24>>24==0?a+216|0:a+296|0)+34>>1]|0;do if(a<<16>>16){if((a&65535)>>>0>c>>>0){if((f+(c<<2)+4|0)>>>0>h>>>0)break;h=pTa(g,f+(c<<2)|0)|0;k[i>>2]=h;if(h|0)break;h=FTa(g,i)|0;j[e>>1]=h;if(k[i>>2]|0)break;h=FTa(g,i)|0;j[d>>1]=h;if(k[i>>2]|0)break;r=i;return}if((((a&65535)<<2)+f|0)>>>0<=h>>>0){b=pTa(g,f+-4+((a&65535)<<2)|0)|0;k[i>>2]=b;if(!b){b=FTa(g,i)|0;j[e>>1]=b;if(!(k[i>>2]|0)){a=(c-(a&65535)<<1)+4+(f+-4+((a&65535)<<2))|0;if((a+2|0)>>>0>h>>>0){j[d>>1]=0;r=i;return}h=pTa(g,a)|0;k[i>>2]=h;if(h|0){r=i;return}h=FTa(g,i)|0;j[d>>1]=h;r=i;return}}}}while(0);j[d>>1]=0;j[e>>1]=0;r=i;return}function M_a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=r;r=r+16|0;k[b>>2]=0;c=UTa(a,4,e)|0;d=k[e>>2]|0;if(d|0){r=e;return d|0}k[c>>2]=a;k[b>>2]=c;r=e;return d|0}function N_a(a,b,c){a=a|0;b=b|0;c=c|0;return}function O_a(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function P_a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0;n=r;r=r+18160|0;e=k[b+4>>2]|0;f=k[b>>2]|0;if(!a){m=6;r=n;return m|0}if(!e){m=20;r=n;return m|0}c=j[e+2>>1]|0;if(!(c<<16>>16)){m=0;r=n;return m|0}d=j[e>>1]|0;if(d<<16>>16<1){m=0;r=n;return m|0}a=k[e+12>>2]|0;if(!a){m=20;r=n;return m|0}if(!(k[e+4>>2]|0)){m=20;r=n;return m|0}if((c<<16>>16|0)!=((j[a+((d<<16>>16)+-1<<1)>>1]|0)+1|0)){m=20;r=n;return m|0}c=k[b+8>>2]|0;if(!(c&2)){if(!f){m=6;r=n;return m|0}if(!(k[f+4>>2]|0)){m=0;r=n;return m|0}if(!(k[f>>2]|0)){m=0;r=n;return m|0}if(!(k[f+12>>2]|0)){m=6;r=n;return m|0}}if(!(c&1)){m=19;r=n;return m|0}do if(!(c&2)){k[n+16384+1180>>2]=0;k[n+16384+1184>>2]=0;k[n+16384+1188>>2]=k[f+4>>2];k[n+16384+1192>>2]=k[f>>2]}else{a=n+16384+1180|0;if(!(c&4)){k[a>>2]=-32768;k[n+16384+1184>>2]=-32768;k[n+16384+1188>>2]=32767;k[n+16384+1192>>2]=32767;break}else{k[a>>2]=k[b+32>>2];k[a+4>>2]=k[b+32+4>>2];k[a+8>>2]=k[b+32+8>>2];k[a+12>>2]=k[b+32+12>>2];break}}while(0);k[n+16384+1412>>2]=n;k[n+16384+1416>>2]=16384;k[n+16384+1420>>2]=n;k[n+16384+200>>2]=0;k[n+16384+204>>2]=0;k[n+16384+208>>2]=0;k[n+16384+188>>2]=0;k[n+16384+192>>2]=0;k[n+16384+196>>2]=1;l=n+16384+1136|0;k[l>>2]=k[e>>2];k[l+4>>2]=k[e+4>>2];k[l+8>>2]=k[e+8>>2];k[l+12>>2]=k[e+12>>2];k[l+16>>2]=k[e+16>>2];k[n+16384+208>>2]=0;k[n+16384+196>>2]=1;l=n+16384+1404|0;k[l>>2]=128;k[n+16384+1388>>2]=0;k[n+16384+1400>>2]=0;if(!(c&2)){i=n+16384+1156|0;k[i>>2]=k[f>>2];k[i+4>>2]=k[f+4>>2];k[i+8>>2]=k[f+8>>2];k[i+12>>2]=k[f+12>>2];k[i+16>>2]=k[f+16>>2];k[i+20>>2]=k[f+20>>2];k[n+16384+1392>>2]=43;k[n+16384+1396>>2]=n+16384}else{k[n+16384+1392>>2]=k[b+12>>2];k[n+16384+1396>>2]=k[b+28>>2]}h=k[n+16384+1140>>2]|0;i=j[n+16384+1138>>1]|0;if(i<<16>>16<1){k[n+16384+164>>2]=0;k[n+16384+164+4>>2]=0;k[n+16384+164+8>>2]=0;k[n+16384+164+12>>2]=0;g=n+16384+168|0;c=0;e=0;a=0;b=0}else{c=k[h>>2]|0;k[n+16384+168>>2]=c;k[n+16384+164>>2]=c;b=k[h+4>>2]|0;k[n+16384+176>>2]=b;k[n+16384+172>>2]=b;if(i<<16>>16>1){f=h;a=b;e=c;g=c;d=b;b=h+8|0;while(1){c=k[b>>2]|0;f=k[f+12>>2]|0;if((c|0)<(e|0)){k[n+16384+164>>2]=c;e=c}if((c|0)>(g|0))k[n+16384+168>>2]=c;else c=g;if((f|0)<(d|0)){k[n+16384+172>>2]=f;d=f}if((f|0)>(a|0)){k[n+16384+176>>2]=f;a=f}f=b+8|0;if(f>>>0<(h+(i<<16>>16<<3)|0)>>>0){o=b;g=c;b=f;f=o}else break}}else{e=c;d=b;a=b}e=e>>6;k[n+16384+164>>2]=e;b=d>>6;k[n+16384+172>>2]=b;c=c+63>>6;k[n+16384+168>>2]=c;a=a+63>>6;k[n+16384+176>>2]=a;g=n+16384+168|0}d=k[n+16384+1180>>2]|0;a:do if((c|0)>(d|0)){h=k[n+16384+1188>>2]|0;if((e|0)<(h|0)){f=k[n+16384+1184>>2]|0;if((a|0)>(f|0)){i=k[n+16384+1192>>2]|0;if((b|0)<(i|0)){if((e|0)<(d|0))k[n+16384+164>>2]=d;else d=e;if((b|0)<(f|0)){k[n+16384+172>>2]=f;e=f}else e=b;if((c|0)>(h|0)){k[g>>2]=h;c=h}if((a|0)>(i|0)){k[n+16384+176>>2]=i;a=i}k[n+16384+180>>2]=c-d;o=a-e|0;k[n+16384+184>>2]=o;k[n+17824>>2]=(o|0)/(k[l>>2]|0)|0;if(!(k[n+17824>>2]|0))k[n+17824>>2]=1;if((k[n+17824>>2]|0)>38)k[n+17824>>2]=39;k[n+16384+1408>>2]=0;k[n+17820>>2]=k[n+16384+172>>2];k[n+17812>>2]=k[n+16384+176>>2];k[n+17828>>2]=0;if((k[n+17828>>2]|0)<(k[n+17824>>2]|0))do{k[n+17816>>2]=(k[l>>2]|0)+(k[n+17820>>2]|0);if((k[n+17828>>2]|0)==((k[n+17824>>2]|0)+-1|0))m=56;else if((k[n+17816>>2]|0)>(k[n+17812>>2]|0))m=56;if((m|0)==56){m=0;k[n+17816>>2]=k[n+17812>>2]}k[n+17840>>2]=k[n+17820>>2];k[n+17840+4>>2]=k[n+17816>>2];k[n+17832>>2]=n+17840;if((k[n+17832>>2]|0)>>>0>=(n+17840|0)>>>0)do{a=k[n+16384+1412>>2]|0;k[n+16384+1420>>2]=a;e=(k[(k[n+17832>>2]|0)+4>>2]|0)-(k[k[n+17832>>2]>>2]|0)|0;k[n+16384+1424>>2]=e;d=(((e<<2|0)%16|0|0)>0?16-((e<<2|0)%16|0)|0:0)+(e<<2)|0;c=k[n+16384+1416>>2]|0;k[n+16384+200>>2]=a+d;b:do if((c-((c|0)%16|0)|0)>(d|0)){k[n+16384+204>>2]=c-((c|0)%16|0)-d>>4;if((c-((c|0)%16|0)-d|0)<32){m=80;break}do if((e|0)>0){k[a>>2]=0;if((e|0)>1)a=1;else break;do{k[(k[n+16384+1420>>2]|0)+(a<<2)>>2]=0;a=a+1|0}while((a|0)!=(e|0))}while(0);k[n+16384+208>>2]=0;k[n+16384+196>>2]=1;k[n+16384+172>>2]=k[k[n+17832>>2]>>2];k[n+16384+176>>2]=k[(k[n+17832>>2]|0)+4>>2];k[n+16384+184>>2]=(k[(k[n+17832>>2]|0)+4>>2]|0)-(k[k[n+17832>>2]>>2]|0);switch(R_a(n+16384|0)|0){case 64:{m=80;break b}case 0:break;default:{a=1;break a}}do if(k[n+16384+208>>2]|0){k[n+16384+1388>>2]=0;if((k[n+16384+1424>>2]|0)>0){f=0;do{a=k[(k[n+16384+1420>>2]|0)+(f<<2)>>2]|0;do if(a|0){e=0;d=0;while(1){c=k[a>>2]|0;if((e|0)!=0&(c|0)>(d|0))Y_a(n+16384|0,d,f,e<<9,c-d|0);e=(k[a+4>>2]|0)+e|0;c=k[a+8>>2]|0;do if((e<<9|0)!=(c|0)){d=k[a>>2]|0;if((d|0)<=-1)break;Y_a(n+16384|0,d,f,(e<<9)-c|0,1)}while(0);c=(k[a>>2]|0)+1|0;a=k[a+12>>2]|0;if(!a)break;else d=c}if(!e)break;Y_a(n+16384|0,c,f,e<<9,(k[n+16384+180>>2]|0)-c|0)}while(0);f=f+1|0}while((f|0)<(k[n+16384+1424>>2]|0))}a=k[n+16384+1392>>2]|0;if(!a)break;c=k[n+16384+1388>>2]|0;if((c|0)<=0)break;vj[a&127](k[n+16384+1400>>2]|0,c,n+16384+1196|0,k[n+16384+1396>>2]|0)}while(0);k[n+17832>>2]=(k[n+17832>>2]|0)+-8}else m=80;while(0);if((m|0)==80){m=0;a=k[k[n+17832>>2]>>2]|0;c=k[(k[n+17832>>2]|0)+4>>2]|0;if(!(c-a>>1)){a=1;break a}if((a-c|0)>=(k[l>>2]|0))k[n+16384+1408>>2]=(k[n+16384+1408>>2]|0)+1;k[(k[n+17832>>2]|0)+8>>2]=a;k[(k[n+17832>>2]|0)+12>>2]=(c-a>>1)+a;k[k[n+17832>>2]>>2]=(c-a>>1)+a;k[(k[n+17832>>2]|0)+4>>2]=c;k[n+17832>>2]=(k[n+17832>>2]|0)+8}}while((k[n+17832>>2]|0)>>>0>=(n+17840|0)>>>0);k[n+17828>>2]=(k[n+17828>>2]|0)+1;k[n+17820>>2]=k[n+17816>>2]}while((k[n+17828>>2]|0)<(k[n+17824>>2]|0));if((k[n+16384+1408>>2]|0)<=8){a=0;break}a=k[l>>2]|0;if((a|0)<=16){a=0;break}k[l>>2]=(a|0)/2|0;a=0}else a=0}else a=0}else a=0}else a=0;while(0);o=a;r=n;return o|0}function Q_a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=k[d+1164>>2]|0;a=(k[d+1168>>2]|0)+(ha(e,0-a|0)|0)|0;if((e|0)>-1)a=a+(ha((k[d+1156>>2]|0)+-1|0,e)|0)|0;if((b|0)<=0)return;while(1){f=i[c+4>>0]|0;a:do if(f<<24>>24){d=j[c+2>>1]|0;e=a+(j[c>>1]|0)|0;if((d&65535)>7){vBb(e|0,f|0,d&65535|0)|0;break}switch(d&65535|0){case 7:{i[e>>0]=f;e=e+1|0;g=9;break}case 6:{g=9;break}case 5:{g=10;break}case 4:{g=11;break}case 3:{g=12;break}case 2:{g=13;break}case 1:break;default:break a}if((g|0)==9){i[e>>0]=f;e=e+1|0;g=10}if((g|0)==10){i[e>>0]=f;e=e+1|0;g=11}if((g|0)==11){i[e>>0]=f;e=e+1|0;g=12}if((g|0)==12){i[e>>0]=f;e=e+1|0;g=13}if((g|0)==13){g=0;i[e>>0]=f;e=e+1|0}i[e>>0]=f}while(0);if((b|0)>1){c=c+6|0;b=b+-1|0}else break}return}function R_a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0;l=r;r=r+16|0;i=4;h=hqb(40)|0;k[h>>2]=0;k[l>>2]=0;i=yBb(a,1,h|0,i|0)|0;h=L;w=0;b=w;w=0;if((b|0)!=0&(x|0)!=0){c=zBb(k[b>>2]|0,i|0,h|0)|0;if(!c)Bg(b|0,x|0);L=x}else c=-1;if((c|0)==1)b=L;else b=0;a:while(1){if(b|0){j=15;break}w=0;b=Ga(135,a+1136|0,53960,a|0)|0;c=w;w=0;if((c|0)!=0&(x|0)!=0){d=zBb(k[c>>2]|0,i|0,h|0)|0;if(!d)Bg(c|0,x|0);L=x}else d=-1;if((d|0)==1){b=L;continue}k[l>>2]=b;if(k[a+196>>2]|0){j=16;break}f=k[a+188>>2]|0;g=k[a+192>>2]|0;if(!(g|f)){j=16;break}e=k[a+156>>2]|0;c=k[a+180>>2]|0;e=(e|0)>(c|0)?c:e;c=(k[a+1420>>2]|0)+(k[a+160>>2]<<2)|0;b=k[c>>2]|0;b:do if(b)do{d=k[b>>2]|0;if((d|0)>(e|0))break b;if((d|0)==(e|0))break a;c=b+12|0;b=k[c>>2]|0}while((b|0)!=0);while(0);b=k[a+208>>2]|0;if((b|0)<(k[a+204>>2]|0)){j=13;break}w=0;sa(225,a|0,1);b=w;w=0;if((b|0)!=0&(x|0)!=0){g=zBb(k[b>>2]|0,i|0,h|0)|0;if(!g)Bg(b|0,x|0);L=x};b=L}if((j|0)==13){j=k[a+200>>2]|0;k[a+208>>2]=b+1;k[j+(b<<4)>>2]=e;k[j+(b<<4)+8>>2]=0;k[j+(b<<4)+4>>2]=0;k[j+(b<<4)+12>>2]=k[c>>2];k[c>>2]=j+(b<<4);b=j+(b<<4)|0}else if((j|0)==15){k[l>>2]=64;j=k[l>>2]|0;iqb(i|0);r=l;return j|0}else if((j|0)==16){j=k[l>>2]|0;iqb(i|0);r=l;return j|0}j=b+8|0;k[j>>2]=(k[j>>2]|0)+f;j=b+4|0;k[j>>2]=(k[j>>2]|0)+g;j=k[l>>2]|0;iqb(i|0);r=l;return j|0}function S_a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!(k[b+196>>2]|0)){h=k[b+188>>2]|0;i=k[b+192>>2]|0;if(!(i|h))f=b+192|0;else{g=k[b+156>>2]|0;d=k[b+180>>2]|0;g=(g|0)>(d|0)?d:g;d=(k[b+1420>>2]|0)+(k[b+160>>2]<<2)|0;c=k[d>>2]|0;a:do if(!c)f=8;else while(1){e=k[c>>2]|0;if((e|0)>(g|0)){f=8;break a}if((e|0)==(g|0)){j=c;break a}d=c+12|0;c=k[d>>2]|0;if(!c){f=8;break}}while(0);do if((f|0)==8){c=k[b+208>>2]|0;if((c|0)<(k[b+204>>2]|0)){j=k[b+200>>2]|0;k[b+208>>2]=c+1;k[j+(c<<4)>>2]=g;k[j+(c<<4)+8>>2]=0;k[j+(c<<4)+4>>2]=0;k[j+(c<<4)+12>>2]=k[d>>2];k[d>>2]=j+(c<<4);j=j+(c<<4)|0;break}else Bg(b|0,1)}while(0);f=j+8|0;k[f>>2]=(k[f>>2]|0)+h;f=j+4|0;k[f>>2]=(k[f>>2]|0)+i;f=b+192|0}}else f=b+192|0;g=k[a>>2]<<2;d=k[a+4>>2]<<2;c=k[b+168>>2]|0;j=(c|0)<(g>>8|0)?c:g>>8;a=k[b+164>>2]|0;j=(j|0)<(a|0)?a+-1|0:j;k[b+188>>2]=0;k[f>>2]=0;k[b+156>>2]=j-a;e=(d>>8)-(k[b+172>>2]|0)|0;k[b+160>>2]=e;k[b+228>>2]=d>>8<<8;k[b+196>>2]=0;c=((c|0)<(j|0)?c:j)-a|0;c=(c|0)>-1?c:-1;if((c|0)!=(j-a|0)){k[b+188>>2]=0;k[f>>2]=0;k[b+156>>2]=c;k[b+160>>2]=e}if(e>>>0>=(k[b+184>>2]|0)>>>0){a=1;a=a&1;k[b+196>>2]=a;a=b+220|0;k[a>>2]=g;b=b+224|0;k[b>>2]=d;return 0}a=(c|0)>=(k[b+180>>2]|0);a=a&1;k[b+196>>2]=a;a=b+220|0;k[a>>2]=g;b=b+224|0;k[b>>2]=d;return 0}function T_a(a,b){a=a|0;b=b|0;U_a(b,k[a>>2]<<2,k[a+4>>2]<<2);return 0}function U_a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;f=k[a+228>>2]|0;w=k[a+224>>2]|0;u=k[a+220>>2]|0;if((((f>>8|0)>(c>>8|0)?c>>8:f>>8)|0)>=(k[a+176>>2]|0)){k[a+220>>2]=b;k[a+224>>2]=c;k[a+228>>2]=c>>8<<8;return}q=k[a+172>>2]|0;if((((f>>8|0)>(c>>8|0)?f>>8:c>>8)|0)<(q|0)){k[a+220>>2]=b;k[a+224>>2]=c;k[a+228>>2]=c>>8<<8;return}if((f>>8|0)==(c>>8|0)){V_a(a,f>>8,u,w-f|0,b,c-(c>>8<<8)|0);k[a+220>>2]=b;k[a+224>>2]=c;k[a+228>>2]=c>>8<<8;return}if((u|0)==(b|0)){l=((c-w>>31)+256&-256)-(w-f)|0;j=ha(b-(b>>8<<8)<<1,l)|0;j=(k[a+188>>2]|0)+j|0;k[a+188>>2]=j;l=(k[a+192>>2]|0)+l|0;k[a+192>>2]=l;p=(c-w>>31|1)+(f>>8)|0;o=k[a+168>>2]|0;o=((o|0)<(b>>8|0)?o:b>>8)-(k[a+164>>2]|0)|0;o=(o|0)>-1?o:-1;f=k[a+156>>2]|0;if((o|0)==(f|0))if((p-q|0)==(k[a+160>>2]|0)){g=j;h=l}else x=8;else x=8;if((x|0)==8){if(!((k[a+196>>2]|0)!=0|(l|j|0)==0)){i=k[a+180>>2]|0;i=(f|0)>(i|0)?i:f;g=(k[a+1420>>2]|0)+(k[a+160>>2]<<2)|0;f=k[g>>2]|0;a:do if(!f)x=13;else while(1){h=k[f>>2]|0;if((h|0)>(i|0)){x=13;break a}if((h|0)==(i|0)){m=f;break a}g=f+12|0;f=k[g>>2]|0;if(!f){x=13;break}}while(0);do if((x|0)==13){f=k[a+208>>2]|0;if((f|0)<(k[a+204>>2]|0)){m=k[a+200>>2]|0;k[a+208>>2]=f+1;k[m+(f<<4)>>2]=i;k[m+(f<<4)+8>>2]=0;k[m+(f<<4)+4>>2]=0;k[m+(f<<4)+12>>2]=k[g>>2];k[g>>2]=m+(f<<4);m=m+(f<<4)|0;break}else Bg(a|0,1)}while(0);v=m+8|0;k[v>>2]=(k[v>>2]|0)+j;v=m+4|0;k[v>>2]=(k[v>>2]|0)+l}k[a+188>>2]=0;k[a+192>>2]=0;k[a+156>>2]=o;k[a+160>>2]=p-q;g=0;h=0}v=k[a+184>>2]|0;if((p-q|0)>>>0>>0)f=(o|0)>=(k[a+180>>2]|0);else f=1;f=f&1;k[a+196>>2]=f;s=(((c-w>>31)+256&-256)<<1)+-256|0;t=ha(s,b-(b>>8<<8)<<1)|0;do if((p|0)==(c>>8|0)){d=g;e=h}else{u=k[a+172>>2]|0;r=k[a+168>>2]|0;r=((r|0)<(b>>8|0)?r:b>>8)-(k[a+164>>2]|0)|0;r=(r|0)>-1?r:-1;m=o;n=p-q|0;j=o;l=p-q|0;i=p;while(1){p=g+t|0;o=h+s|0;i=i+(c-w>>31|1)|0;if((r|0)==(m|0)&(i-u|0)==(n|0)){h=o;g=p}else{if(!((f|0)!=0|(o|p|0)==0)){g=k[a+180>>2]|0;j=(j|0)>(g|0)?g:j;g=(k[a+1420>>2]|0)+(l<<2)|0;f=k[g>>2]|0;b:do if(!f)x=28;else while(1){h=k[f>>2]|0;if((h|0)>(j|0)){x=28;break b}if((h|0)==(j|0))break b;g=f+12|0;f=k[g>>2]|0;if(!f){x=28;break}}while(0);if((x|0)==28){x=0;f=k[a+208>>2]|0;if((f|0)>=(k[a+204>>2]|0)){x=29;break}q=k[a+200>>2]|0;k[a+208>>2]=f+1;k[q+(f<<4)>>2]=j;k[q+(f<<4)+8>>2]=0;k[q+(f<<4)+4>>2]=0;k[q+(f<<4)+12>>2]=k[g>>2];k[g>>2]=q+(f<<4);f=q+(f<<4)|0}q=f+8|0;k[q>>2]=(k[q>>2]|0)+p;q=f+4|0;k[q>>2]=(k[q>>2]|0)+o}k[a+156>>2]=r;k[a+160>>2]=i-u;l=i-u|0;j=r;h=0;g=0}if((i-u|0)>>>0>>0)f=(r|0)>=(k[a+180>>2]|0);else f=1;f=f&1;k[a+196>>2]=f;if((i|0)==(c>>8|0)){e=h;d=g;x=36;break}else{m=r;n=i-u|0}}if((x|0)==29){k[a+188>>2]=p;k[a+192>>2]=o;Bg(a|0,1)}else if((x|0)==36){k[a+188>>2]=d;k[a+192>>2]=e;break}}while(0);x=c-(c>>8<<8)+-256+((c-w>>31)+256&-256)|0;w=d+(ha(b-(b>>8<<8)<<1,x)|0)|0;k[a+188>>2]=w;k[a+192>>2]=e+x;k[a+220>>2]=b;k[a+224>>2]=c;k[a+228>>2]=c>>8<<8;return}t=(c-w>>31)+256&-256;s=(c-w|0)<0?0-(c-w)|0:c-w|0;p=ha((c-w|0)<0?w-f|0:256-(w-f)|0,b-u|0)|0;n=((p|0)%(s|0)|0|0)<0?s:0;q=((p|0)/(s|0)|0)+u+(((p|0)%(s|0)|0)>>31)|0;V_a(a,f>>8,u,w-f|0,q,t);m=(c-w>>31|1)+(f>>8)|0;l=m-(k[a+172>>2]|0)|0;j=k[a+168>>2]|0;j=((j|0)<(q>>8|0)?j:q>>8)-(k[a+164>>2]|0)|0;j=(j|0)>-1?j:-1;d=k[a+156>>2]|0;if((j|0)==(d|0)){if((l|0)!=(k[a+160>>2]|0))x=40}else x=40;if((x|0)==40){if(!(k[a+196>>2]|0)){h=k[a+188>>2]|0;i=k[a+192>>2]|0;if(!(i|h))d=a+192|0;else{g=k[a+180>>2]|0;g=(d|0)>(g|0)?g:d;e=(k[a+1420>>2]|0)+(k[a+160>>2]<<2)|0;d=k[e>>2]|0;c:do if(!d)x=47;else while(1){f=k[d>>2]|0;if((f|0)>(g|0)){x=47;break c}if((f|0)==(g|0)){o=d;break c}e=d+12|0;d=k[e>>2]|0;if(!d){x=47;break}}while(0);do if((x|0)==47){d=k[a+208>>2]|0;if((d|0)<(k[a+204>>2]|0)){o=k[a+200>>2]|0;k[a+208>>2]=d+1;k[o+(d<<4)>>2]=g;k[o+(d<<4)+8>>2]=0;k[o+(d<<4)+4>>2]=0;k[o+(d<<4)+12>>2]=k[e>>2];k[e>>2]=o+(d<<4);o=o+(d<<4)|0;break}else Bg(a|0,1)}while(0);d=o+8|0;k[d>>2]=(k[d>>2]|0)+h;d=o+4|0;k[d>>2]=(k[d>>2]|0)+i;d=a+192|0}}else d=a+192|0;k[a+188>>2]=0;k[d>>2]=0;k[a+156>>2]=j;k[a+160>>2]=l}if(l>>>0<(k[a+184>>2]|0)>>>0)d=(j|0)>=(k[a+180>>2]|0);else d=1;k[a+196>>2]=d&1;d:do if((m|0)==(c>>8|0))v=q;else{r=(((b-u<<8|0)%(s|0)|0|0)<0?s:0)+((b-u<<8|0)%(s|0)|0)|0;o=m;n=((p|0)%(s|0)|0)-s+n|0;d=q;while(1){m=r+n|0;n=m-((m|0)>-1?s:0)|0;m=(((b-u<<8|0)%(s|0)|0)>>31)+((b-u<<8|0)/(s|0)|0)+d+(m>>>31^1)|0;V_a(a,o,d,256-t|0,m,t);o=o+(c-w>>31|1)|0;i=o-(k[a+172>>2]|0)|0;h=k[a+168>>2]|0;h=((h|0)<(m>>8|0)?h:m>>8)-(k[a+164>>2]|0)|0;h=(h|0)>-1?h:-1;d=k[a+156>>2]|0;if((h|0)==(d|0)){if((i|0)!=(k[a+160>>2]|0))x=58}else x=58;if((x|0)==58){x=0;if(!(k[a+196>>2]|0)){j=k[a+188>>2]|0;l=k[a+192>>2]|0;if(l|j|0){g=k[a+180>>2]|0;g=(d|0)>(g|0)?g:d;e=(k[a+1420>>2]|0)+(k[a+160>>2]<<2)|0;d=k[e>>2]|0;e:do if(!d)x=64;else while(1){f=k[d>>2]|0;if((f|0)>(g|0)){x=64;break e}if((f|0)==(g|0))break e;e=d+12|0;d=k[e>>2]|0;if(!d){x=64;break}}while(0);if((x|0)==64){x=0;d=k[a+208>>2]|0;if((d|0)>=(k[a+204>>2]|0))break;q=k[a+200>>2]|0;k[a+208>>2]=d+1;k[q+(d<<4)>>2]=g;k[q+(d<<4)+8>>2]=0;k[q+(d<<4)+4>>2]=0;k[q+(d<<4)+12>>2]=k[e>>2];k[e>>2]=q+(d<<4);d=q+(d<<4)|0}q=d+8|0;k[q>>2]=(k[q>>2]|0)+j;q=d+4|0;k[q>>2]=(k[q>>2]|0)+l}}k[a+188>>2]=0;k[a+192>>2]=0;k[a+156>>2]=h;k[a+160>>2]=i}if(i>>>0<(k[a+184>>2]|0)>>>0)d=(h|0)>=(k[a+180>>2]|0);else d=1;k[a+196>>2]=d&1;if((o|0)==(c>>8|0)){v=m;break d}else d=m}Bg(a|0,1)}while(0);V_a(a,c>>8,v,256-t|0,b,c-(c>>8<<8)|0);k[a+220>>2]=b;k[a+224>>2]=c;k[a+228>>2]=c>>8<<8;return}function V_a(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;if((f|0)==(d|0)){o=b-(k[a+172>>2]|0)|0;n=k[a+168>>2]|0;n=((n|0)<(e>>8|0)?n:e>>8)-(k[a+164>>2]|0)|0;n=(n|0)>-1?n:-1;g=k[a+156>>2]|0;if((n|0)==(g|0)){if((o|0)!=(k[a+160>>2]|0))H=4}else H=4;if((H|0)==4){if(!(k[a+196>>2]|0)){l=k[a+188>>2]|0;m=k[a+192>>2]|0;if(!(m|l))g=a+192|0;else{j=k[a+180>>2]|0;j=(g|0)>(j|0)?j:g;h=(k[a+1420>>2]|0)+(k[a+160>>2]<<2)|0;g=k[h>>2]|0;a:do if(!g)H=11;else while(1){i=k[g>>2]|0;if((i|0)>(j|0)){H=11;break a}if((i|0)==(j|0)){p=g;break a}h=g+12|0;g=k[h>>2]|0;if(!g){H=11;break}}while(0);do if((H|0)==11){g=k[a+208>>2]|0;if((g|0)<(k[a+204>>2]|0)){p=k[a+200>>2]|0;k[a+208>>2]=g+1;k[p+(g<<4)>>2]=j;k[p+(g<<4)+8>>2]=0;k[p+(g<<4)+4>>2]=0;k[p+(g<<4)+12>>2]=k[h>>2];k[h>>2]=p+(g<<4);p=p+(g<<4)|0;break}else Bg(a|0,1)}while(0);g=p+8|0;k[g>>2]=(k[g>>2]|0)+l;g=p+4|0;k[g>>2]=(k[g>>2]|0)+m;g=a+192|0}}else g=a+192|0;k[a+188>>2]=0;k[g>>2]=0;k[a+156>>2]=n;k[a+160>>2]=o}if(o>>>0<(k[a+184>>2]|0)>>>0)g=(n|0)>=(k[a+180>>2]|0);else g=1;k[a+196>>2]=g&1;return}if((c>>8|0)==(e>>8|0)){H=ha(e-(e>>8<<8)+(c-(c>>8<<8))|0,f-d|0)|0;k[a+188>>2]=(k[a+188>>2]|0)+H;k[a+192>>2]=(k[a+192>>2]|0)+(f-d);return}E=(e-c|0)<0?0-(e-c)|0:e-c|0;x=ha((e-c|0)<0?c-(c>>8<<8)|0:256-(c-(c>>8<<8))|0,f-d|0)|0;F=(((x|0)%(E|0)|0)>>31)+((x|0)/(E|0)|0)|0;w=((x|0)%(E|0)|0|0)<0?E:0;n=ha(F,((e-c>>31)+256&-256)+(c-(c>>8<<8))|0)|0;n=n+(k[a+188>>2]|0)|0;k[a+188>>2]=n;o=(k[a+192>>2]|0)+F|0;k[a+192>>2]=o;v=(e-c>>31|1)+(c>>8)|0;u=b-(k[a+172>>2]|0)|0;s=k[a+168>>2]|0;s=((s|0)<(v|0)?s:v)-(k[a+164>>2]|0)|0;s=(s|0)>-1?s:-1;i=k[a+156>>2]|0;if((s|0)==(i|0))if((u|0)==(k[a+160>>2]|0)){j=n;l=o}else H=23;else H=23;if((H|0)==23){if(!((k[a+196>>2]|0)!=0|(o|n|0)==0)){m=k[a+180>>2]|0;m=(i|0)>(m|0)?m:i;j=(k[a+1420>>2]|0)+(k[a+160>>2]<<2)|0;i=k[j>>2]|0;b:do if(!i)H=28;else while(1){l=k[i>>2]|0;if((l|0)>(m|0)){H=28;break b}if((l|0)==(m|0)){q=i;break b}j=i+12|0;i=k[j>>2]|0;if(!i){H=28;break}}while(0);do if((H|0)==28){i=k[a+208>>2]|0;if((i|0)<(k[a+204>>2]|0)){q=k[a+200>>2]|0;k[a+208>>2]=i+1;k[q+(i<<4)>>2]=m;k[q+(i<<4)+8>>2]=0;k[q+(i<<4)+4>>2]=0;k[q+(i<<4)+12>>2]=k[j>>2];k[j>>2]=q+(i<<4);q=q+(i<<4)|0;break}else Bg(a|0,1)}while(0);D=q+8|0;k[D>>2]=(k[D>>2]|0)+n;D=q+4|0;k[D>>2]=(k[D>>2]|0)+o}k[a+188>>2]=0;k[a+192>>2]=0;k[a+156>>2]=s;k[a+160>>2]=u;j=0;l=0}D=k[a+184>>2]|0;if(u>>>0>>0)i=(s|0)>=(k[a+180>>2]|0);else i=1;i=i&1;k[a+196>>2]=i;do if((v|0)==(e>>8|0)){G=F+d|0;g=j;h=l}else{B=(F+f-(F+d)<<8|0)%(E|0)|0;C=((B|0)<0?E:0)+B|0;y=b-(k[a+172>>2]|0)|0;z=k[a+168>>2]|0;A=k[a+164>>2]|0;t=F+d|0;q=s;r=u;p=i;o=s;n=u;m=v;i=((x|0)%(E|0)|0)-E+w|0;while(1){v=C+i|0;u=(B>>31)+((F+f-(F+d)<<8|0)/(E|0)|0)+(v>>>31^1)|0;v=v-((v|0)>-1?E:0)|0;s=j+(u<<8)|0;b=l+u|0;t=u+t|0;u=m+(e-c>>31|1)|0;w=((z|0)<(u|0)?z:u)-A|0;x=q;q=(w|0)>-1?w:-1;if((q|0)==(x|0)&(y|0)==(r|0)){m=o;l=b;j=s}else{if(!((p|0)!=0|(b|s|0)==0)){m=k[a+180>>2]|0;m=(o|0)>(m|0)?m:o;j=(k[a+1420>>2]|0)+(n<<2)|0;i=k[j>>2]|0;c:do if(!i)H=43;else while(1){l=k[i>>2]|0;if((l|0)>(m|0)){H=43;break c}if((l|0)==(m|0))break c;j=i+12|0;i=k[j>>2]|0;if(!i){H=43;break}}while(0);if((H|0)==43){H=0;i=k[a+208>>2]|0;if((i|0)>=(k[a+204>>2]|0)){H=44;break}x=k[a+200>>2]|0;k[a+208>>2]=i+1;k[x+(i<<4)>>2]=m;k[x+(i<<4)+8>>2]=0;k[x+(i<<4)+4>>2]=0;k[x+(i<<4)+12>>2]=k[j>>2];k[j>>2]=x+(i<<4);i=x+(i<<4)|0}x=i+8|0;k[x>>2]=(k[x>>2]|0)+s;x=i+4|0;k[x>>2]=(k[x>>2]|0)+b}k[a+156>>2]=q;k[a+160>>2]=y;n=y;m=q;l=0;j=0}if(y>>>0>>0)i=(q|0)>=(k[a+180>>2]|0);else i=1;i=i&1;k[a+196>>2]=i;if((u|0)==(e>>8|0)){h=l;g=j;H=51;break}else{r=y;p=i;o=m;m=u;i=v}}if((H|0)==44){k[a+188>>2]=s;k[a+192>>2]=b;Bg(a|0,1)}else if((H|0)==51){k[a+188>>2]=g;k[a+192>>2]=h;G=t;break}}while(0);H=f-G|0;e=(ha(H,e-(e>>8<<8)+256-((e-c>>31)+256&-256)|0)|0)+g|0;k[a+188>>2]=e;k[a+192>>2]=h+H;return}function W_a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;f=k[b+4>>2]|0;e=k[b>>2]<<2;k[c+232>>2]=e;k[c+236>>2]=f<<2;g=k[a>>2]|0;k[c+240>>2]=g<<2;b=k[a+4>>2]|0;k[c+244>>2]=b<<2;a=k[c+220>>2]|0;k[c+248>>2]=a;d=k[c+224>>2]|0;k[c+252>>2]=d;a=(e-(g<<3)+a|0)<0?0-(e-(g<<3)+a)|0:e-(g<<3)+a|0;g=((f<<2)-(b<<3)+d|0)<0?0-((f<<2)-(b<<3)+d)|0:(f<<2)-(b<<3)+d|0;a=(a|0)<(g|0)?g:a;if((a|0)<64){b=c+232|0;d=0;f=9}else{g=(b<<2|0)<(f<<2|0)?b<<2:f<<2;b=(b<<2|0)>(f<<2|0)?b<<2:f<<2;if((((d|0)<(g|0)?d:g)>>8|0)<(k[c+176>>2]|0))if((((d|0)>(b|0)?d:b)>>8|0)<(k[c+172>>2]|0)){b=c+232|0;d=0;f=9}else{b=0;do{a=a>>2;b=b+1|0}while((a|0)>64);k[c+1008>>2]=b;a=c+232|0;d=0;f=6}else{b=c+232|0;d=0;f=9}}a:while(1){do if((f|0)==6)if((b|0)>0){g=a+16|0;f=k[g>>2]|0;k[a+32>>2]=f;h=a+8|0;i=k[h>>2]|0;k[a+24>>2]=(i+f|0)/2|0;e=((k[a>>2]|0)+i|0)/2|0;k[h>>2]=e;k[g>>2]=(e+((i+f|0)/2|0)|0)/2|0;g=a+20|0;f=k[g>>2]|0;k[a+36>>2]=f;i=a+12|0;e=k[i>>2]|0;k[a+28>>2]=(e+f|0)/2|0;h=((k[a+4>>2]|0)+e|0)/2|0;k[i>>2]=h;k[g>>2]=(h+((e+f|0)/2|0)|0)/2|0;g=d+1|0;f=b+-1|0;k[c+1008+(d<<2)>>2]=f;k[c+1008+(g<<2)>>2]=f;a=a+16|0;d=g;break}else{e=k[a>>2]|0;b=a;f=9;continue a}else if((f|0)==9){U_a(c,e,k[b+4>>2]|0);a=b+-16|0;d=d+-1|0}while(0);if((d|0)<=-1)break;b=k[c+1008+(d<<2)>>2]|0;f=6}return 0}function X_a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;p=k[c+4>>2]|0;e=k[c>>2]<<2;k[d+232>>2]=e;k[d+236>>2]=p<<2;k[d+240>>2]=k[b>>2]<<2;o=k[b+4>>2]<<2;k[d+244>>2]=o;k[d+248>>2]=k[a>>2]<<2;q=k[a+4>>2]<<2;k[d+252>>2]=q;k[d+256>>2]=k[d+220>>2];c=k[d+224>>2]|0;k[d+260>>2]=c;r=(o|0)<(p<<2|0)?o:p<<2;a=(o|0)>(p<<2|0)?o:p<<2;r=(q|0)<(r|0)?q:r;a=(q|0)>(a|0)?q:a;if((((c|0)<(r|0)?c:r)>>8|0)<(k[d+176>>2]|0))if((((c|0)>(a|0)?c:a)>>8|0)<(k[d+172>>2]|0)){c=d+232|0;s=13}else c=d+232|0;else{c=d+232|0;s=13}while(1){if((s|0)==13){s=0;U_a(d,e,k[c+4>>2]|0);if((c|0)==(d+232|0))break;c=c+-24|0;e=k[c>>2]|0}n=c+24|0;o=k[n>>2]|0;m=o-e|0;p=c+28|0;q=k[p>>2]|0;r=k[c+4>>2]|0;a=(m|0)<0?0-m|0:m;b=(q-r|0)<0?0-(q-r)|0:q-r|0;if((a|0)>(b|0))a=(b*3>>3)+a|0;else a=b+(a*3>>3)|0;if((a|0)>32767){b=c+8|0;a=c+12|0;g=b;f=a;b=k[b>>2]|0;a=k[a>>2]|0}else{h=a*42|0;g=c+8|0;b=k[g>>2]|0;i=b-e|0;f=c+12|0;a=k[f>>2]|0;l=(ha(i,q-r|0)|0)-(ha(a-r|0,m)|0)|0;if((((l|0)<0?0-l|0:l)|0)<=(h|0)){j=(k[c+16>>2]|0)-e|0;l=(k[c+20>>2]|0)-r|0;t=(ha(j,q-r|0)|0)-(ha(l,m)|0)|0;if((((t|0)<0?0-t|0:t)|0)<=(h|0))if(((ha(a-r-(q-r)|0,a-r|0)|0)+(ha(i-m|0,i)|0)|0)<=0)if(((ha(l-(q-r)|0,l)|0)+(ha(j-m|0,j)|0)|0)<=0){s=13;continue}}}k[c+48>>2]=o;j=c+16|0;l=k[j>>2]|0;m=(b+e|0)/2|0;k[g>>2]=m;k[c+40>>2]=(l+o|0)/2|0;t=(l+b|0)/2|0;k[j>>2]=(t+m|0)/2|0;k[c+32>>2]=(((l+o|0)/2|0)+t|0)/2|0;t=(((t+m|0)/2|0)+((((l+o|0)/2|0)+t|0)/2|0)|0)/2|0;k[c+24>>2]=t;k[c+52>>2]=q;l=c+20|0;o=k[l>>2]|0;m=(a+r|0)/2|0;k[f>>2]=m;k[c+44>>2]=(o+q|0)/2|0;r=(o+a|0)/2|0;k[l>>2]=(r+m|0)/2|0;k[c+36>>2]=(((o+q|0)/2|0)+r|0)/2|0;k[p>>2]=(((r+m|0)/2|0)+((((o+q|0)/2|0)+r|0)/2|0)|0)/2|0;e=t;c=n}return 0}function Y_a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;d=(d>>9|0)<0?0-(d>>9)|0:d>>9;do if(!(k[a+1152>>2]&2))h=(d|0)>255?255:d;else if((d&511)>>>0>256){h=512-(d&511)|0;break}else{h=(d&511|0)==256?255:d&511;break}while(0);g=(k[a+172>>2]|0)+c|0;f=(k[a+164>>2]|0)+b|0;f=(f|0)<32767?f:32767;if(!h)return;b=k[a+1388>>2]|0;d=k[a+1400>>2]|0;if((b|0)>0&(d|0)==(g|0)){d=m[a+1196+(b*6|0)+-4>>1]|0;if((d+(j[a+1196+(b*6|0)+-6>>1]|0)|0)==(f|0))if((l[a+1196+(b*6|0)+-2>>0]|0)==(h|0)){j[a+1196+(b*6|0)+-4>>1]=d+e;return}else d=g;else d=g}if((b|0)>31|(d|0)!=(g|0)){c=k[a+1392>>2]|0;if((b|0)>0&(c|0)!=0)vj[c&127](d,b,a+1196|0,k[a+1396>>2]|0);k[a+1388>>2]=0;k[a+1400>>2]=g;d=a+1196|0}else d=a+1196+(b*6|0)|0;j[d>>1]=f;j[d+2>>1]=e;i[d+4>>0]=h;k[a+1388>>2]=(k[a+1388>>2]|0)+1;return}function Z_a(a){a=a|0;YTa(k[a>>2]|0,a);return}function __a(a){a=a|0;var b=0;b=k[a+4>>2]|0;kj[k[(k[(k[a+12>>2]|0)+56>>2]|0)+8>>2]&255](k[a+52>>2]|0,k[b+164>>2]|0,k[b+168>>2]|0);return 0}function $_a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return a$a(a,b,(c|0)==1?0:c,d,0)|0}function a$a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0;v=r;r=r+80|0;u=k[a+8>>2]|0;if((k[b+72>>2]|0)!=(k[a+16>>2]|0)){k[v+64>>2]=6;b=k[v+64>>2]|0;r=v;return b|0}if((c|0)!=(e|0)){k[v+64>>2]=19;b=k[v+64>>2]|0;r=v;return b|0}if(!d){g=0;f=0}else{g=k[d>>2]|0;f=k[d+4>>2]|0}USa(b+108|0,v+48|0);h=(k[v+48>>2]|0)+g|0;k[v+48>>2]=h&-64;e=(k[v+48+4>>2]|0)+f&-64;k[v+48+4>>2]=e;l=g+63+(k[v+48+8>>2]|0)&-64;k[v+48+8>>2]=l;d=f+63+(k[v+48+12>>2]|0)|0;k[v+48+12>>2]=d&-64;s=g-(h&-64)|0;t=f-e|0;o=((d&-64)-e|0)>>>6;if((c|0)==3){q=(((l-(h&-64)|0)>>>6)*3|0)+3&536870908;m=((l-(h&-64)|0)>>>6)*3|0}else{q=(l-(h&-64)|0)>>>6;m=(l-(h&-64)|0)>>>6}n=(c|0)==4?o*3|0:o;if(n>>>0>32767|(m|0)>32767){k[v+64>>2]=98;b=k[v+64>>2]|0;r=v;return b|0}if(k[(k[b+156>>2]|0)+4>>2]&1|0){YTa(u,k[b+88>>2]|0);k[b+88>>2]=0;p=(k[b+156>>2]|0)+4|0;k[p>>2]=k[p>>2]&-2}p=UTa(u,ha(q,n)|0,v+64|0)|0;k[b+88>>2]=p;if(k[v+64>>2]|0){b=k[v+64>>2]|0;r=v;return b|0}p=(k[b+156>>2]|0)+4|0;k[p>>2]=k[p>>2]|1;k[b+72>>2]=1651078259;k[b+100>>2]=h>>6;k[b+104>>2]=d>>6;i[b+94>>0]=2;j[b+92>>1]=256;k[b+80>>2]=m;k[b+76>>2]=n;k[b+84>>2]=q;if((g|0)!=(h&-64|0)|(f|0)!=(e|0)){VSa(b+108|0,s,t);p=1}else p=0;k[v>>2]=b+76;k[v+4>>2]=b+108;k[v+8>>2]=1;a=gj[k[a+56>>2]&511](k[a+52>>2]|0,v)|0;k[v+64>>2]=a;if(!a){if(!((o|0)==0|(c|0)==3^1|((l-(h&-64)|0)>>>6|0)==0)){d=o;f=k[b+88>>2]|0;while(1){e=f+m|0;g=(l-(h&-64)|0)>>>6;do{g=g+-1|0;w=i[f+g>>0]|0;a=e;e=e+-3|0;i[e>>0]=w;i[a+-2>>0]=w;i[a+-1>>0]=w}while((g|0)!=0);d=d+-1|0;if(!d)break;else f=f+q|0}}if((c|0)==4){e=k[b+88>>2]|0;if(o|0){f=o;d=e+(ha(q,n-o|0)|0)|0;while(1){ABb(e|0,d|0,q|0)|0;e=e+q|0;ABb(e|0,d|0,q|0)|0;e=e+q|0;ABb(e|0,d|0,q|0)|0;f=f+-1|0;if(!f)break;else{d=d+q|0;e=e+q|0}}}}k[v+64>>2]=0;e=0}else e=1;if(p<<24>>24)VSa(b+108|0,0-s|0,0-t|0);if(!(e<<24>>24)){w=k[v+64>>2]|0;r=v;return w|0}YTa(u,k[b+88>>2]|0);k[b+88>>2]=0;w=(k[b+156>>2]|0)+4|0;k[w>>2]=k[w>>2]&-2;w=k[v+64>>2]|0;r=v;return w|0}function b$a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if((k[b+72>>2]|0)!=(k[a+16>>2]|0)){b=6;return b|0}if(c|0)XSa(b+108|0,c);if(!d){b=0;return b|0}VSa(b+108|0,k[d>>2]|0,k[d+4>>2]|0);b=0;return b|0}function c$a(a,b,c){a=a|0;b=b|0;c=c|0;k[c>>2]=0;k[c+4>>2]=0;k[c+8>>2]=0;k[c+12>>2]=0;if((k[b+72>>2]|0)!=(k[a+16>>2]|0))return;USa(b+108|0,c);return}function d$a(a,b,c){a=a|0;b=b|0;c=c|0;return Ri[k[(k[(k[a+12>>2]|0)+56>>2]|0)+12>>2]&255](k[a+52>>2]|0,b,c)|0}function e$a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;c=a$a(a,b,c,d,3)|0;if(c|0)return c|0;i[b+94>>0]=5;return c|0}function f$a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;c=a$a(a,b,c,d,4)|0;if(c|0)return c|0;i[b+94>>0]=6;return c|0}function g$a(a){a=a|0;k[a+64>>2]=35;return 0}function h$a(a){a=a|0;return}function i$a(a,b){a=a|0;b=b|0;var c=0;c=URa(54260,b)|0;if(c|0){b=c;return b|0}if(!a){b=0;return b|0}c=k[a+4>>2]|0;if(!c){b=0;return b|0}c=qSa(c,590464)|0;if(!c){b=0;return b|0}c=k[(k[c>>2]|0)+20>>2]|0;if(!c){b=0;return b|0}b=gj[k[c+16>>2]&511](a,b)|0;return b|0}function j$a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0;v=r;r=r+32|0;k[v>>2]=0;u=k[a+100>>2]|0;i[a+672>>0]=0;d=k[a+676>>2]|0;do if(!d){t=k$a(a,0)|0;k[v>>2]=t;if(!t){d=k[a+676>>2]|0;break}else{a=k[v>>2]|0;r=v;return a|0}}while(0);e=d+8|0;s=k[e>>2]|0;t=k[s>>2]|0;t=t>>>0>>0?t:b;a:do if(t|0){b=0;while(1){if(((k[c+(b<<2)>>2]|0)+65536|0)>>>0>131072)break;b=b+1|0;if(b>>>0>=t>>>0)break a}k[v>>2]=6;a=k[v>>2]|0;r=v;return a|0}while(0);h=d+36|0;if(!(k[h>>2]|0)){q=k[a+104>>2]|0;l=k[q+28>>2]|0;b=nj[k[a+508>>2]&127](a,1735811442,q,v+24|0)|0;k[v+28>>2]=b;do if(!b){n=rTa(q)|0;b=KTa(q,173134,v+4|0)|0;k[v+28>>2]=b;if(!b){o=d+24|0;k[o>>2]=m[v+4+6>>1];b=m[v+4+12>>1]|0;f=d+32|0;k[f>>2]=b;g=(k[v+4+16>>2]|0)+n|0;if((k[v+4>>2]|0)!=65536){k[v+28>>2]=8;b=8;break}p=v+4+4|0;if((j[p>>1]|0)!=(k[k[e>>2]>>2]&65535)<<16>>16){k[v+28>>2]=8;b=8;break}b=WTa(l,4,0,b+1|0,0,v+28|0)|0;k[h>>2]=b;b=k[v+28>>2]|0;if(!b){b=(k[f>>2]|0)+1|0;if(!(j[v+4+14>>1]&1)){b=wTa(q,b<<1)|0;k[v+28>>2]=b;if(!b)b=0;else break;do{e=(((ATa(q)|0)&65535)<<1)+g|0;k[(k[h>>2]|0)+(b<<2)>>2]=e;b=b+1|0}while(b>>>0<=(k[f>>2]|0)>>>0);yTa(q)}else{b=wTa(q,b<<2)|0;k[v+28>>2]=b;if(!b)b=0;else break;do{e=(CTa(q)|0)+g|0;k[(k[h>>2]|0)+(b<<2)>>2]=e;b=b+1|0}while(b>>>0<=(k[f>>2]|0)>>>0);yTa(q)}b=k[o>>2]|0;if(b|0){b=WTa(l,4,0,ha(m[p>>1]|0,b)|0,0,v+28|0)|0;g=d+28|0;k[g>>2]=b;b=k[v+28>>2]|0;if(b|0)break;b=pTa(q,(k[v+4+8>>2]|0)+n|0)|0;k[v+28>>2]=b;if(b|0)break;b=wTa(q,ha(k[o>>2]<<1,m[p>>1]|0)|0)|0;k[v+28>>2]=b;if(b|0)break;b=k[o>>2]|0;if(b|0){e=j[p>>1]|0;f=0;do{if(!(e<<16>>16))e=0;else{b=0;do{l=(ATa(q)|0)<<16>>16<<2;e=j[p>>1]|0;n=(ha(e&65535,f)|0)+b|0;k[(k[g>>2]|0)+(n<<2)>>2]=l;b=b+1|0}while(b>>>0<(e&65535)>>>0);b=k[o>>2]|0}f=f+1|0}while(f>>>0>>0)}yTa(q)}b=k[v+28>>2]|0}}}while(0);k[v>>2]=b;if(b|0){a=k[v>>2]|0;r=v;return a|0}}b=d+4|0;e=k[b>>2]|0;b:do if(!e){e=WTa(u,4,0,k[s>>2]|0,0,v)|0;k[b>>2]=e;if(!(k[v>>2]|0)){f=k[s>>2]|0;b=1;break}else{a=k[v>>2]|0;r=v;return a|0}}else{c:do if(!t){b=0;g=0}else{b=0;while(1){if((k[e+(b<<2)>>2]|0)!=(k[c+(b<<2)>>2]|0)){g=2;break c}b=b+1|0;if(b>>>0>=t>>>0){g=0;break}}}while(0);f=k[s>>2]|0;if(b>>>0>>0)while(1){if(k[e+(b<<2)>>2]|0){b=2;break b}b=b+1|0;if(b>>>0>=f>>>0){b=g;break}}else b=g}while(0);k[d>>2]=f;ABb(e|0,c|0,t<<2|0)|0;i[a+672>>0]=1;d=k[a+648>>2]|0;if(!d){a=k[v>>2]|0;r=v;return a|0}switch(b|0){case 2:{YTa(u,d);k[a+648>>2]=0;a=l$a(a,k[a+104>>2]|0)|0;k[v>>2]=a;a=k[v>>2]|0;r=v;return a|0}case 1:{a=m$a(a,k[a+104>>2]|0)|0;k[v>>2]=a;a=k[v>>2]|0;r=v;return a|0}default:{a=k[v>>2]|0;r=v;return a|0}}return 0}function k$a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,l=0,n=0,o=0,p=0,q=0,s=0;s=r;r=r+48|0;n=k[a+104>>2]|0;p=k[a+100>>2]|0;k[s+40>>2]=0;a:do if(!(k[a+676>>2]|0)){q=nj[k[a+508>>2]&127](a,1735811442,n,s+44|0)|0;k[s+40>>2]=q;if(q|0){b=k[s+40>>2]|0;r=s;return b|0}q=nj[k[a+508>>2]&127](a,1719034226,n,s+44|0)|0;k[s+40>>2]=q;if(q|0){b=k[s+40>>2]|0;r=s;return b|0}h=rTa(n)|0;q=KTa(n,173066,s+24|0)|0;k[s+40>>2]=q;if(q|0){b=k[s+40>>2]|0;r=s;return b|0}if((k[s+24>>2]|0)==65536)if((j[s+24+10>>1]|0)==20){o=s+24+8|0;c=j[o>>1]|0;if((c&65535)<=16382){d=m[s+24+14>>1]|0;if((d|0)==(((c&65535)<<2)+4|0)){q=s+24+12|0;e=j[q>>1]|0;if((e&65535)<=32511){l=(ha(e&65535,d)|0)+((c&65535)*20|0)+(m[s+24+4>>1]|0)|0;if(l>>>0<=(k[s+44>>2]|0)>>>0){c=UTa(p,40,s+40|0)|0;k[a+676>>2]=c;if(k[s+40>>2]|0){b=k[s+40>>2]|0;r=s;return b|0}l=m[q>>1]|0;l=(l<<3)+20+(ha((l<<2)+29|0,m[o>>1]|0)|0)|0;k[c+12>>2]=l;l=UTa(p,l,s+40|0)|0;if(k[s+40>>2]|0){b=k[s+40>>2]|0;r=s;return b|0}k[(k[a+676>>2]|0)+8>>2]=l;d=m[o>>1]|0;k[l>>2]=d;k[l+4>>2]=-1;g=j[q>>1]|0;k[l+8>>2]=g&65535;k[l+12>>2]=l+20;k[l+16>>2]=l+20+(d*24|0);c=l+20+(d*24|0)+((g&65535)<<3)|0;if(g<<16>>16){e=m[o>>1]|0;f=m[q>>1]|0;g=0;do{k[l+20+(d*24|0)+(g<<3)>>2]=c;c=c+(e<<2)|0;g=g+1|0}while((g|0)<(f|0))}d=j[o>>1]|0;if(d<<16>>16){e=k[l+12>>2]|0;f=0;while(1){k[e+(f*24|0)>>2]=c;f=f+1|0;if((f|0)>=(d&65535|0))break;else c=c+5|0}}h=pTa(n,(m[s+24+4>>1]|0)+h|0)|0;k[s+40>>2]=h;if(h|0){b=k[s+40>>2]|0;r=s;return b|0}b:do if(!(j[o>>1]|0))d=0;else{c=k[l+12>>2]|0;e=0;while(1){h=KTa(n,173102,s)|0;k[s+40>>2]=h;if(h|0)break;h=k[s>>2]|0;d=c+16|0;k[d>>2]=h;k[c+4>>2]=k[s+4>>2];k[c+8>>2]=k[s+8>>2];k[c+12>>2]=k[s+12>>2];k[c+20>>2]=m[s+18>>1];i[k[c>>2]>>0]=h>>>24;i[(k[c>>2]|0)+1>>0]=(k[d>>2]|0)>>>16;i[(k[c>>2]|0)+2>>0]=(k[d>>2]|0)>>>8;i[(k[c>>2]|0)+3>>0]=k[d>>2];i[(k[c>>2]|0)+4>>0]=0;e=e+1|0;d=j[o>>1]|0;if((e|0)>=(d&65535|0))break b;else c=c+24|0}b=k[s+40>>2]|0;r=s;return b|0}while(0);if(!(j[q>>1]|0))break;c=k[l+16>>2]|0;l=wTa(n,((d&65535)<<2)+4|0)|0;k[s+40>>2]=l;if(!l)e=0;else{b=k[s+40>>2]|0;r=s;return b|0}while(1){l=(ATa(n)|0)&65535;k[c+4>>2]=l;ATa(n)|0;if(j[o>>1]|0){d=0;do{l=CTa(n)|0;k[(k[c>>2]|0)+(d<<2)>>2]=l;d=d+1|0}while((d|0)<(m[o>>1]|0))}yTa(n);e=e+1|0;if((e|0)>=(m[q>>1]|0))break a;l=wTa(n,(m[o>>1]<<2)+4|0)|0;k[s+40>>2]=l;if(l|0)break;else c=c+8|0}b=k[s+40>>2]|0;r=s;return b|0}}}}}k[s+40>>2]=8;b=k[s+40>>2]|0;r=s;return b|0}while(0);if(!b){b=k[s+40>>2]|0;r=s;return b|0}h=UTa(p,k[(k[a+676>>2]|0)+12>>2]|0,s+40|0)|0;if(k[s+40>>2]|0){b=k[s+40>>2]|0;r=s;return b|0}e=k[a+676>>2]|0;ABb(h|0,k[e+8>>2]|0,k[e+12>>2]|0)|0;k[h+12>>2]=h+20;e=k[h>>2]|0;k[h+16>>2]=h+20+(e*24|0);f=k[h+8>>2]|0;if(!f){g=e;c=h+20+(e*24|0)+(f<<3)|0}else{d=0;c=h+20+(e*24|0)+(f<<3)|0;do{k[h+20+(e*24|0)+(d<<3)>>2]=c;c=c+(e<<2)|0;d=d+1|0}while(d>>>0>>0);g=k[h>>2]|0}if(g|0){e=h+20|0;f=0;while(1){k[e>>2]=c;d=k[e+16>>2]|0;c:do if((d|0)<2003072104)if((d|0)<1936486004){switch(d|0){case 1869640570:break;default:break c}k[e>>2]=591202;break}else{switch(d|0){case 1936486004:break;default:break c}k[e>>2]=590414;break}else if((d|0)<2003265652){switch(d|0){case 2003072104:break;default:break c}k[e>>2]=591196;break}else{switch(d|0){case 2003265652:break;default:break c}k[e>>2]=591753;break}while(0);f=f+1|0;if(f>>>0>=g>>>0)break;else{e=e+24|0;c=c+5|0}}}k[b>>2]=h;b=k[s+40>>2]|0;r=s;return b|0}function l$a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=r;r=r+16|0;c=k[b+28>>2]|0;e=nj[k[a+508>>2]&127](a,1668707360,b,f)|0;k[f+4>>2]=e;if(e|0){k[a+644>>2]=0;k[a+648>>2]=0;k[f+4>>2]=0;b=0;r=f;return b|0}e=(k[f>>2]|0)>>>1;k[a+644>>2]=e;c=WTa(c,2,0,e,0,f+4|0)|0;k[a+648>>2]=c;c=k[f+4>>2]|0;if(c|0){b=c;r=f;return b|0}c=wTa(b,k[a+644>>2]<<1)|0;k[f+4>>2]=c;if(c|0){b=c;r=f;return b|0}c=k[a+648>>2]|0;d=k[a+644>>2]|0;if((d|0)>0){e=c;do{g=ATa(b)|0;j[e>>1]=g;e=e+2|0}while(e>>>0<(c+(d<<1)|0)>>>0)}yTa(b);if(!(i[a+672>>0]|0)){g=k[f+4>>2]|0;r=f;return g|0}else{g=m$a(a,b)|0;k[f+4>>2]=g;r=f;return g|0}return 0}function m$a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;x=r;r=r+16|0;w=k[b+28>>2]|0;t=k[a+676>>2]|0;if(!t){k[x+8>>2]=0;b=0;v=0;a=0;YTa(w,a);YTa(w,v);YTa(w,b);b=k[x+8>>2]|0;r=x;return b|0}if(!(k[a+648>>2]|0)){k[x+8>>2]=0;b=0;v=0;a=0;YTa(w,a);YTa(w,v);YTa(w,b);b=k[x+8>>2]|0;r=x;return b|0}v=nj[k[a+508>>2]&127](a,1668702578,b,x+4|0)|0;k[x+8>>2]=v;if(v|0){k[x+8>>2]=0;b=0;v=0;a=0;YTa(w,a);YTa(w,v);YTa(w,b);b=k[x+8>>2]|0;r=x;return b|0}v=wTa(b,k[x+4>>2]|0)|0;k[x+8>>2]=v;if(v|0){k[x+8>>2]=0;b=0;v=0;a=0;YTa(w,a);YTa(w,v);YTa(w,b);b=k[x+8>>2]|0;r=x;return b|0}f=(k[b+32>>2]|0)-(k[b>>2]|0)|0;if((CTa(b)|0)==65536){c=WTa(w,4,0,k[t>>2]|0,0,x+8|0)|0;if(!(k[x+8>>2]|0)){d=WTa(w,4,0,k[t>>2]|0,0,x+8|0)|0;if(!(k[x+8>>2]|0)){e=WTa(w,4,0,k[t>>2]|0,0,x+8|0)|0;if(!(k[x+8>>2]|0)){u=ATa(b)|0;g=ATa(b)|0;if(u&4095){v=0;s=f+(g&65535)|0;while(1){q=(ATa(b)|0)&65535;h=ATa(b)|0;if(!(h&32768)){if(h&16384|0)if(k[t>>2]&2147483647|0){f=0;do{ATa(b)|0;f=f+1|0}while(f>>>0>2]<<1>>>0)}}else{if(!(k[t>>2]|0))f=0;else{g=0;do{f=(ATa(b)|0)<<16>>16<<2;k[c+(g<<2)>>2]=f;g=g+1|0;f=k[t>>2]|0}while(g>>>0>>0)}if(!((h&16384|0)==0|(f|0)==0)){g=0;do{f=(ATa(b)|0)<<16>>16<<2;k[d+(g<<2)>>2]=f;g=g+1|0;f=k[t>>2]|0}while(g>>>0>>0);if(f|0){f=0;do{o=(ATa(b)|0)<<16>>16<<2;k[e+(f<<2)>>2]=o;f=f+1|0}while(f>>>0<(k[t>>2]|0)>>>0)}}o=n$a(t,h,c,d,e)|0;if(!((h&8192|0)==0|(o|0)==0)){n=k[b>>2]|0;l=(k[b+32>>2]|0)-n|0;k[b+32>>2]=n+s;n=o$a(b,x)|0;h=k[x>>2]|0;if(!h)f=k[a+644>>2]|0;else f=h;i=p$a(b,f)|0;do if((n|0)==0|(i|0)==0)p=37;else if((n|0)==(-1|0)){if(!(k[a+644>>2]|0))break;f=k[a+648>>2]|0;g=0;do{p=m[f+(g<<1)>>1]|0;p=(U2a(j[i+(g<<1)>>1]|0,o)|0)+p&65535;f=k[a+648>>2]|0;j[f+(g<<1)>>1]=p;g=g+1|0}while(g>>>0<(k[a+644>>2]|0)>>>0);p=37}else{if(!h){p=38;break}f=k[a+648>>2]|0;g=0;do{p=m[n+(g<<1)>>1]|0;y=m[f+(p<<1)>>1]|0;y=(U2a(j[i+(g<<1)>>1]|0,o)|0)+y&65535;f=k[a+648>>2]|0;j[f+(p<<1)>>1]=y;g=g+1|0}while(g>>>0>>0);p=37}while(0);if((p|0)==37){p=0;if((n|0)!=(-1|0))p=38}if((p|0)==38){p=0;YTa(w,n)}YTa(w,i);k[b+32>>2]=(k[b>>2]|0)+l}}v=v+1|0;if((v|0)==(u&4095|0))break;else s=q+s|0}}}}else e=0}else{e=0;d=0}}else{k[x+8>>2]=0;e=0;d=0;c=0}yTa(b);y=e;b=d;v=c;YTa(w,v);YTa(w,b);YTa(w,y);y=k[x+8>>2]|0;r=x;return y|0}function n$a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;g=k[a>>2]|0;if(!g){c=65536;return c|0}if(!(b&16384)){b=65536;i=0;while(1){h=k[c+(i<<2)>>2]|0;if(h){g=k[(k[a+4>>2]|0)+(i<<2)>>2]|0;if(!g){g=0;b=19;break}if((h|0)>0&(g|0)<0){g=0;b=19;break}if((h|0)<0&(g|0)>0){g=0;b=19;break}b=U2a(b,(g|0)>0?g:0-g|0)|0;g=k[a>>2]|0}i=i+1|0;if(i>>>0>=g>>>0){g=b;b=19;break}}if((b|0)==19)return g|0}else{f=65536;j=0}a:while(1){g=k[c+(j<<2)>>2]|0;do if(g){b=k[(k[a+4>>2]|0)+(j<<2)>>2]|0;if(!b){g=0;b=19;break a}if((g|0)>0&(b|0)<0){g=0;b=19;break a}if((g|0)<0&(b|0)>0){g=0;b=19;break a}h=k[d+(j<<2)>>2]|0;if((b|0)<(h|0)){g=0;b=19;break a}i=k[e+(j<<2)>>2]|0;if((i|0)<(b|0)){g=0;b=19;break a}if((b|0)<(g|0)){f=S2a(f,b-h|0,g-h|0)|0;break}else{f=S2a(f,i-b|0,i-g|0)|0;break}}while(0);j=j+1|0;if(j>>>0>=(k[a>>2]|0)>>>0){g=f;b=19;break}}if((b|0)==19)return g|0;return 0}function o$a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;i=r;r=r+16|0;d=k[a+28>>2]|0;k[i>>2]=0;k[b>>2]=0;c=zTa(a)|0;if(!(c<<24>>24)){a=-1;r=i;return a|0}if(!(c&128))h=c&255;else h=(zTa(a)|0)&255|(c&255)<<8&32512;c=WTa(d,2,0,h,0,i)|0;if(k[i>>2]|0){a=0;r=i;return a|0}k[b>>2]=h;if(!h){a=c;r=i;return a|0}else d=0;while(1){g=zTa(a)|0;if(!(g&128)){b=(zTa(a)|0)&255;f=d+1|0;j[c+(d<<1)>>1]=b;if(g<<24>>24==0|((g&255)+f|0)>>>0>h>>>0){d=14;break}else{d=f;e=0}while(1){b=((zTa(a)|0)&255)+(b&65535)&65535;j[c+(d<<1)>>1]=b;e=e+1|0;if((e|0)==(g&255|0)){d=(g&255)+f|0;break}else d=d+1|0}}else{b=ATa(a)|0;f=d+1|0;j[c+(d<<1)>>1]=b;if((g&127|0)==0|((g&127)+f|0)>>>0>h>>>0){d=14;break}d=f;e=0;while(1){b=((ATa(a)|0)&65535)+(b&65535)&65535;j[c+(d<<1)>>1]=b;e=e+1|0;if((e|0)==(g&127|0))break;else d=d+1|0}d=f+(g&127)|0}if(d>>>0>=h>>>0){d=14;break}}if((d|0)==14){r=i;return c|0}return 0}function p$a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0;l=r;r=r+16|0;g=k[a+28>>2]|0;k[l>>2]=0;c=WTa(g,2,0,b,0,l)|0;if(!(k[l>>2]|0))d=0;else{i=0;r=l;return i|0}do{if(d>>>0>=b>>>0){i=11;break}h=zTa(a)|0;if(!(h&128))if(!(h&64)){f=d;e=0;while(1){m=(zTa(a)|0)<<24>>24;d=f+1|0;j[c+(f<<1)>>1]=m;e=e+1|0;if(d>>>0>>0&e>>>0<=(h&63)>>>0)f=d;else break}}else{f=d;e=0;while(1){m=ATa(a)|0;d=f+1|0;j[c+(f<<1)>>1]=m;e=e+1|0;if(d>>>0>>0&e>>>0<=(h&63)>>>0)f=d;else break}}else{e=d-b|0;vBb(c+(d<<1)|0,0,ha(e>>>0>((h&255|-64)^63)>>>0?e:(h&255|-64)^63,-2)|0)|0;e=0;do{d=d+1|0;e=e+1|0}while(d>>>0>>0&e>>>0<=(h&63)>>>0)}}while(e>>>0>(h&63)>>>0);if((i|0)==11){r=l;return c|0}YTa(g,c);m=0;r=l;return m|0}function q$a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0,n=0,o=0,p=0,q=0,s=0,t=0;t=r;r=r+16|0;k[t>>2]=0;s=k[a+100>>2]|0;d=k[a+676>>2]|0;do if(!d){q=k$a(a,0)|0;k[t>>2]=q;if(!q){d=k[a+676>>2]|0;break}else{a=0;YTa(s,a);a=k[t>>2]|0;r=t;return a|0}}while(0);q=k[d+8>>2]|0;p=k[q>>2]|0;l=p>>>0>>0?p:b;p=WTa(s,4,0,p,0,t)|0;if(k[t>>2]|0){a=p;YTa(s,a);a=k[t>>2]|0;r=t;return a|0}a:do if(!l)e=0;else{n=k[q+12>>2]|0;e=0;while(1){b=k[c+(e<<2)>>2]|0;f=k[n+12>>2]|0;if((b|0)>(f|0))break;g=k[n+4>>2]|0;if((b|0)<(g|0))break;h=k[n+8>>2]|0;do if((b|0)<(h|0)){o=0-(V2a(b-h|0,g-h|0)|0)|0;k[p+(e<<2)>>2]=o}else if((f|0)==(h|0)){k[p+(e<<2)>>2]=0;break}else{o=V2a(b-h|0,f-h|0)|0;k[p+(e<<2)>>2]=o;break}while(0);e=e+1|0;if(e>>>0>>0)n=n+24|0;else break a}k[t>>2]=6;a=p;YTa(s,a);a=k[t>>2]|0;r=t;return a|0}while(0);b=k[q>>2]|0;if(e>>>0>>0){o=e<<2;c=e+1|0;vBb(p+o|0,0,((b>>>0>c>>>0?b:c)<<2)-o|0)|0}if(!(i[d+16>>0]|0)){l=k[a+104>>2]|0;n=k[l+28>>2]|0;c=k[a+676>>2]|0;i[c+16>>0]=1;o=nj[k[a+508>>2]&127](a,1635148146,l,t+4|0)|0;k[t+8>>2]=o;if(!o){o=wTa(l,k[t+4>>2]|0)|0;k[t+8>>2]=o;if(!o){o=CTa(l)|0;h=CTa(l)|0;b:do if((o|0)==65536)if((h|0)==(k[k[c+8>>2]>>2]|0)){b=WTa(n,8,0,h,0,t+8|0)|0;k[c+20>>2]=b;if((h|0)>0&(k[t+8>>2]|0)==0){e=0;while(1){o=ATa(l)|0;j[b>>1]=o;o=WTa(n,8,0,o&65535,0,t+8|0)|0;f=b+4|0;k[f>>2]=o;if(k[t+8>>2]|0)break;if(j[b>>1]|0){g=0;do{o=(ATa(l)|0)<<16>>16<<2;k[(k[f>>2]|0)+(g<<3)>>2]=o;o=(ATa(l)|0)<<16>>16<<2;k[(k[f>>2]|0)+(g<<3)+4>>2]=o;g=g+1|0}while((g|0)<(m[b>>1]|0))}e=e+1|0;if((e|0)>=(h|0))break b;else b=b+8|0}if((e|0)>0){b=k[c+20>>2]|0;do{o=e;e=e+-1|0;YTa(n,k[b+(e<<3)+4>>2]|0);b=k[c+20>>2]|0;k[b+(e<<3)+4>>2]=0}while((o|0)>1)}else b=k[c+20>>2]|0;YTa(n,b);k[c+20>>2]=0}}while(0);yTa(l)}}}b=k[d+20>>2]|0;d=k[q>>2]|0;if(b)if(!d)d=0;else{o=0;while(1){e=j[b>>1]|0;c:do if((e&65535)>1){g=p+(o<<2)|0;h=k[g>>2]|0;l=b+4|0;n=k[l>>2]|0;f=1;while(1){c=k[n+(f<<3)>>2]|0;if((h|0)<(c|0)){d=f;break}f=f+1|0;if(f>>>0>=(e&65535)>>>0)break c}f=k[n+(d+-1<<3)>>2]|0;c=S2a(h-f|0,(k[n+(d<<3)+4>>2]|0)-(k[n+(d+-1<<3)+4>>2]|0)|0,c-f|0)|0;k[g>>2]=(k[(k[l>>2]|0)+(d+-1<<3)+4>>2]|0)+c;d=k[q>>2]|0}while(0);o=o+1|0;if(o>>>0>=d>>>0)break;else b=b+8|0}}a=j$a(a,d,p)|0;k[t>>2]=a;a=p;YTa(s,a);a=k[t>>2]|0;r=t;return a|0}function r$a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=k[a+696>>2]|0;if(d>>>0>b>>>0){f=k[a+700>>2]|0;if(!(j[a+210>>1]|0)){e=l[f+(b<<1)+2+-2>>0]<<8|l[f+(b<<1)+2+-2+1>>0];if((f+(b<<1)+2+2|0)>>>0>(f+(d<<1)|0)>>>0)d=e;else{d=f+(b<<1)+2+2+-2|0;d=l[d>>0]<<8|l[d+1>>0]}f=e<<1;e=d<<1}else{e=f+(b<<2)+4+-4|0;e=l[e+1>>0]<<16|l[e>>0]<<24|l[e+2>>0]<<8|l[e+3>>0];if((f+(b<<2)+4+4|0)>>>0>(f+(d<<2)|0)>>>0)f=e;else{b=f+(b<<2)+4+4+-4|0;f=e;e=l[b+1>>0]<<16|l[b>>0]<<24|l[b+2>>0]<<8|l[b+3>>0]}}d=k[a+668>>2]|0;if(f>>>0>d>>>0){a=0;b=0;k[c>>2]=b;return a|0}}else{d=k[a+668>>2]|0;f=0;e=0}b=e>>>0>d>>>0?d:e;a=f;b=(b>>>0>>0?d:b)-f|0;k[c>>2]=b;return a|0}function s$a(a,b,c){a=a|0;b=b|0;c=c|0;if(Wmb(b,590444)|0){c=12;return c|0}if((k[c>>2]|0)!=35){c=7;return c|0}k[a+64>>2]=35;c=0;return c|0}function t$a(a,b,c){a=a|0;b=b|0;c=c|0;if(Wmb(b,590444)|0){c=12;return c|0}k[c>>2]=k[a+64>>2];c=0;return c|0}function u$a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,m=0,n=0,o=0,p=0,q=0;q=r;r=r+80|0;g=KSa(k[(k[b+96>>2]|0)+4>>2]|0,590464)|0;if(!g){b=11;r=q;return b|0}f=pTa(a,0)|0;if(f|0){b=f;r=q;return b|0}f=Ni[k[g+4>>2]&127](a,b,c,d,e)|0;p=k[b+104>>2]|0;if(f|0){b=f;r=q;return b|0}f=k[b+148>>2]|0;a:do if((f|0)<131072){switch(f|0){case 65536:break a;default:f=2}r=q;return f|0}else if((f|0)<1953658213){switch(f|0){case 131072:break a;default:f=2}r=q;return f|0}else{switch(f|0){case 1953658213:break a;default:f=2}r=q;return f|0}while(0);k[b+8>>2]=k[b+8>>2]|2048;if((c|0)<0){b=0;r=q;return b|0}f=Ni[k[g+8>>2]&127](p,b,c,d,e)|0;if(f|0){b=f;r=q;return b|0}f=k[b+20>>2]|0;if(!f)o=17;else if(!(Dob(f,590469)|0))if(!(Dob(f,590489)|0))if(!(Dob(f,590509)|0))if(!(Dob(f,590529)|0))if(!(Dob(f,590549)|0))if(!(Dob(f,590569)|0))if(!(Dob(f,590589)|0))if(!(Dob(f,590609)|0))if(!(Dob(f,590629)|0))o=17;else o=65;else o=65;else o=65;else o=65;else o=65;else o=65;else o=65;else o=65;else o=65;b:do if((o|0)==17){f=q+8|0;a=f+68|0;do{k[f>>2]=0;f=f+4|0}while((f|0)<(a|0));f=j[b+152>>1]|0;c:do if(!(f<<16>>16)){g=0;o=46}else{n=0;d=0;a=0;while(1){c=k[b+156>>2]|0;g=k[c+(n<<4)>>2]|0;d:do if((g|0)<1718642541)switch(g|0){case 1668707360:{g=1;m=0;o=25;break}default:g=d}else if((g|0)<1886545264){switch(g|0){case 1718642541:break;default:{g=d;break d}}g=d;m=1;o=25;break}else{switch(g|0){case 1886545264:break;default:{g=d;break d}}g=d;m=2;o=25;break}while(0);if((o|0)==25){o=0;d=0;h=0;while(1){if((k[c+(n<<4)+12>>2]|0)==(k[54344+(h*24|0)+(m<<3)+4>>2]|0)){do if(!d){f=k[b+508>>2]|0;if(!f)d=0;else if(!(nj[f&127](b,k[c+(n<<4)>>2]|0,k[b+104>>2]|0,0)|0)){e=k[b+104>>2]|0;c=k[(k[b+156>>2]|0)+(n<<4)+12>>2]|0;if(wTa(e,c)|0){d=0;break}if(c>>>0>3){d=c;f=0;do{f=(CTa(e)|0)+f|0;d=d+-4|0}while(d>>>0>3);c=c&3}else f=0;if(c){d=3;while(1){f=(((zTa(e)|0)&255)<<(d<<3))+f|0;c=c+-1|0;if(!c)break;else d=d+-1|0}}yTa(e);d=f}else d=0}while(0);c=q+8+(h<<2)|0;f=k[c>>2]|0;if((k[54344+(h*24|0)+(m<<3)>>2]|0)==(d|0)){k[c>>2]=f+1;f=f+1|0}if((f|0)==3)break c}f=h+1|0;if((f|0)>=17)break;c=k[b+156>>2]|0;h=f}f=j[b+152>>1]|0}a=a+1<<16>>16;if((a&65535)<(f&65535)){n=a&65535;d=g}else{f=g;break}}if(!(f<<24>>24)){g=0;o=46}else if((k[q+8>>2]|0)!=3)if((k[q+8+4>>2]|0)!=3)if((k[q+8+8>>2]|0)!=3)if((k[q+8+12>>2]|0)!=3)if((k[q+8+16>>2]|0)!=3)if((k[q+8+20>>2]|0)!=3)if((k[q+8+24>>2]|0)!=3)if((k[q+8+28>>2]|0)!=3)if((k[q+8+32>>2]|0)!=3){if((k[q+8+36>>2]|0)==3)break;if((k[q+8+40>>2]|0)==3)break;if((k[q+8+44>>2]|0)==3)break;if((k[q+8+48>>2]|0)==3)break;if((k[q+8+52>>2]|0)==3)break;if((k[q+8+56>>2]|0)==3)break;if((k[q+8+60>>2]|0)==3)break;if((k[q+8+64>>2]|0)==3){o=65;break b}else break b}}while(0);e:do if((o|0)==46){while(1){o=0;a=q+8+(g<<2)|0;f=k[a>>2]|0;if(g>>>0>=5){k[a>>2]=f+1;f=f+1|0}g=g+1|0;if((f|0)==3)break e;if((g|0)>=17)break;else o=46}break b}while(0);o=65}while(0);if((o|0)==65)k[b+8>>2]=k[b+8>>2]|8192;g=k[p+28>>2]|0;n=nj[k[b+508>>2]&127](b,1751412088,p,q)|0;k[q+8>>2]=n;f=k[q>>2]|0;if(!((n|0)!=0|f>>>0<8)){f=vTa(p,f,b+704|0)|0;k[q+8>>2]=f;if(f|0){b=f;r=q;return b|0}a=k[b+704>>2]|0;c=a+(k[q>>2]|0)|0;d=l[a+2>>0]<<8|l[a+3>>0];e=l[a+5>>0]<<16|l[a+4>>0]<<24|l[a+6>>0]<<8|l[a+7>>0];e=e>>>0>4294901759?e&65535:e;if((d>>>0>255?1:(l[a>>0]<<8|l[a+1>>0]|0)!=0)|(e+-4|0)>>>0>65533){k[q+8>>2]=3;o=78}else{n=WTa(g,1,0,d,0,q+8|0)|0;k[b+720>>2]=n;if(!(k[q+8>>2]|0)){f:do if(!d)f=0;else{f=0;g=a+8|0;do{a=g;g=g+e|0;if(g>>>0>c>>>0)break f;i[(k[b+720>>2]|0)+f>>0]=i[a>>0]|0;f=f+1|0}while(f>>>0>>0)}while(0);k[b+712>>2]=f;k[b+708>>2]=k[q>>2];k[b+716>>2]=e}else o=78}if((o|0)==78){xTa(p,b+704|0);k[b+708>>2]=0}f=k[q+8>>2]|0;if(f|0){b=f;r=q;return b|0}}g:do if(!(k[b+8>>2]&1))f=0;else{h:do if(!(k[(k[b+128>>2]|0)+48>>2]|0)){f=nj[k[b+508>>2]&127](b,1735162214,p,b+668|0)|0;if((f&255|0)==142){k[b+668>>2]=0;o=85}else if(!f)o=85;do if((o|0)==85)if(!(nj[k[b+508>>2]&127](b,1819239265,p,q+8|0)|0)){f=k[q+8>>2]|0;if(!(j[b+210>>1]|0)){if(f>>>0>131071){f=8;break}k[b+696>>2]=f>>>1;m=b+696|0;g=f>>>1;c=1}else{if(f>>>0>262143){f=8;break}k[b+696>>2]=f>>>2;m=b+696|0;g=f>>>2;c=2}a=k[b+16>>2]|0;do if(!(g>>>0>a>>>0|(g|0)==(a+1|0))){f=a+1<>2]|0;e=j[b+152>>1]|0;h=rTa(p)|0;if(!(e<<16>>16)){a=2147483647;g=d}else{c=(((d+((e&65535)<<4)|0)>>>0>(d+16|0)>>>0?d+((e&65535)<<4)|0:d+16|0)+~d|0)>>>4;a=2147483647;g=d;do{n=(k[g+8>>2]|0)-h|0;a=(n|0)>0&(n|0)<(a|0)?n:a;g=g+16|0}while(g>>>0<(d+((e&65535)<<4)|0)>>>0);g=d+(c+1<<4)|0}if((g|0)==(d+((e&65535)<<4)|0))a=(k[p+4>>2]|0)-h|0;if(f>>>0>a>>>0){f=k[q+8>>2]|0;break}else{k[m>>2]=(k[b+16>>2]|0)+1;k[q+8>>2]=f;break}}while(0);f=vTa(p,f,b+700|0)|0;if(!f){o=103;break h}else break h}else f=144;while(0)}else o=103;while(0);do if((o|0)==103){f=l$a(b,p)|0;if(!f){if(!(nj[k[b+508>>2]&127](b,1718642541,p,q+8|0)|0)){f=k[q+8>>2]|0;k[b+628>>2]=f;f=vTa(p,f,b+632|0)|0;if(f|0)break}else{k[b+632>>2]=0;k[b+628>>2]=0}if(!(nj[k[b+508>>2]&127](b,1886545264,p,q+8|0)|0)){f=k[q+8>>2]|0;k[b+636>>2]=f;f=vTa(p,f,b+640|0)|0}else{k[b+640>>2]=0;k[b+636>>2]=0;f=0}}}while(0);if(!(k[(k[b+128>>2]|0)+48>>2]|0))if(k[b+28>>2]|0)if(k[b+700>>2]|0)i:do if(k[b+696>>2]|0){a=0;g=0;c=0;do{r$a(b,c,q+8|0)|0;if(k[q+8>>2]|0){a=a+1|0;if(a>>>0>1)break i;else g=c}c=c+1|0}while(c>>>0<(k[b+696>>2]|0)>>>0);if((a|0)==1){do if(g){p=(FSa(b,g,q,8)|0)==0;if(p&(i[q>>0]|0)==46)if(!(Dmb(q,591898,8)|0))break;else break g;else break g}while(0);k[b+8>>2]=k[b+8>>2]&-2;break g}}while(0)}while(0);k[b+512>>2]=87;k[b+520>>2]=1537;k[b+524>>2]=1538;k[b+528>>2]=1539;k[b+516>>2]=702;b=f;r=q;return b|0}function v$a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=k[a+24>>2]|0;b=pTa(e,c)|0;if(b|0){a=b;return a|0}b=wTa(e,d)|0;if(b|0){a=b;return a|0}k[a+200>>2]=k[e+32>>2];k[a+204>>2]=k[e+36>>2];a=0;return a|0}function w$a(a){a=a|0;var b=0;b=k[a+200>>2]|0;if((b+10|0)>>>0>(k[a+204>>2]|0)>>>0){a=20;return a|0}j[a+32>>1]=(l[b>>0]|0)<<8|(l[b+1>>0]|0);k[a+36>>2]=((l[b+2>>0]|0)<<8|(l[b+3>>0]|0))<<16>>16;k[a+40>>2]=((l[b+4>>0]|0)<<8|(l[b+5>>0]|0))<<16>>16;k[a+44>>2]=((l[b+6>>0]|0)<<8|(l[b+7>>0]|0))<<16>>16;k[a+48>>2]=((l[b+8>>0]|0)<<8|(l[b+9>>0]|0))<<16>>16;k[a+200>>2]=b+10;a=0;return a|0}function x$a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;y=r;r=r+16|0;c=k[a+200>>2]|0;u=k[a+204>>2]|0;v=k[a+12>>2]|0;w=j[a+32>>1]|0;if(w<<16>>16){if(((j[v+20>>1]|0)+(w<<16>>16)+(j[v+56>>1]|0)|0)>>>0>(k[v+8>>2]|0)>>>0){b=d3a(v,0,w<<16>>16)|0;if(b|0){x=b;r=y;return x|0}}if(w<<16>>16>4094){x=20;r=y;return x|0}}f=k[v+68>>2]|0;if((c+((w<<16>>16<<1)+2)|0)>>>0>u>>>0){x=20;r=y;return x|0}b=l[c>>0]<<8;d=b|l[c+1>>0];if(w<<16>>16>0)j[f>>1]=d;if(!(b&32768))e=f;else{x=20;r=y;return x|0}while(1){o=c;c=c+2|0;b=e;e=e+2|0;if(e>>>0>=(f+(w<<16>>16<<1)|0)>>>0){m=c;break}z=d;d=l[c>>0]<<8|l[o+3>>0];j[e>>1]=d;if((d<<16|0)<=(z<<16|0)){q=20;n=51;break}}if((n|0)==51){r=y;return q|0}do if(w<<16>>16>0){b=j[b>>1]|0;if(b<<16>>16<-1){z=20;r=y;return z|0}else if(!((b<<16>>16)+5|0)){t=(b<<16>>16)+1|0;break}else{g=(b<<16>>16)+5|0;h=(b<<16>>16)+1|0;n=14;break}}else{g=4;h=0;n=14}while(0);if((n|0)==14)if(((j[v+22>>1]|0)+g+(j[v+58>>1]|0)|0)>>>0>(k[v+4>>2]|0)>>>0){b=d3a(v,g,0)|0;if(!b)t=h;else{z=b;r=y;return z|0}}else t=h;z=k[a+8>>2]|0;k[z+140>>2]=0;k[z+136>>2]=0;if((o+4|0)>>>0>u>>>0){z=20;r=y;return z|0}e=l[m>>0]<<8|l[o+3>>0];if((u-(o+4)|0)<(e|0)){z=22;r=y;return z|0}if(!(k[a+16>>2]&2)){b=k[a+160>>2]|0;d=k[b+388>>2]|0;if(d>>>0>>0){c=WTa(k[b+8>>2]|0,1,d,e,k[b+392>>2]|0,y)|0;k[b+392>>2]=c;c=k[y>>2]|0;b=k[a+160>>2]|0;k[b+388>>2]=((c|0)==0?e:d)&65535;if(c){z=c;r=y;return z|0}}else k[b+388>>2]=d&65535;n=k[a+8>>2]|0;k[n+140>>2]=e;z=k[b+392>>2]|0;k[n+136>>2]=z;ABb(z|0,o+4|0,e|0)|0}b=k[v+64>>2]|0;g=b+t|0;m=(t|0)>0;a:do if(m){d=o+4+e|0;while(1){c=d+1|0;if(c>>>0>u>>>0){q=20;n=51;break}e=i[d>>0]|0;f=b+1|0;i[b>>0]=e;if(!(e&8))b=f;else{d=d+2|0;if(d>>>0>u>>>0){q=20;n=51;break}c=i[c>>0]|0;if((f+(c&255)|0)>>>0>g>>>0){q=20;n=51;break}if(!(c<<24>>24)){b=f;c=d}else{vBb(f|0,e|0,(c+-1&255)+1|0)|0;b=b+2+(c+-1&255)|0;c=d}}if(b>>>0>>0)d=c;else{p=c;break a}}if((n|0)==51){r=y;return q|0}}else p=o+4+e|0;while(0);b=k[v+60>>2]|0;g=b+(t<<3)|0;if(p>>>0>u>>>0){z=20;r=y;return z|0}b:do if(m){h=k[v+64>>2]|0;d=p;f=0;while(1){e=l[h>>0]|0;if(!(e&2))if(!(e&16)){c=d+2|0;if(c>>>0>u>>>0){q=20;n=51;break}d=(l[d>>0]<<8|l[d+1>>0])<<16>>16}else{c=d;d=0}else{c=d+1|0;if(c>>>0>u>>>0){q=20;n=51;break}d=l[d>>0]|0;d=(e&16|0)==0?0-d|0:d}f=d+f|0;k[b>>2]=f;i[h>>0]=e&237;b=b+8|0;if(b>>>0>=g>>>0){s=c;n=41;break}else{h=h+1|0;d=c}}if((n|0)==41){b=k[v+60>>2]|0;h=b+(t<<3)|0;if(!m){x=s;break}g=k[v+64>>2]|0;d=s;f=0;while(1){e=l[g>>0]|0;if(!(e&4))if(!(e&32)){c=d+2|0;if(c>>>0>u>>>0){q=20;n=51;break}d=(l[d>>0]<<8|l[d+1>>0])<<16>>16}else{c=d;d=0}else{c=d+1|0;if(c>>>0>u>>>0){q=20;n=51;break}d=l[d>>0]|0;d=(e&32|0)==0?0-d|0:d}f=d+f|0;k[b+4>>2]=f;i[g>>0]=e&1;b=b+8|0;if(b>>>0>=h>>>0){x=c;break b}else{g=g+1|0;d=c}}if((n|0)==51){r=y;return q|0}}else if((n|0)==51){r=y;return q|0}}else x=p;while(0);j[v+58>>1]=t;j[v+56>>1]=w;k[a+200>>2]=x;z=0;r=y;return z|0}function y$a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0,p=0,q=0;o=k[a+204>>2]|0;p=k[a+12>>2]|0;n=0;g=k[a+200>>2]|0;while(1){q=n+1|0;b=e3a(p,q)|0;if(b|0){c=25;break}b=g+4|0;if(b>>>0>o>>>0){b=21;c=25;break}h=k[p+88>>2]|0;c=h+(n<<5)+12|0;k[c>>2]=0;d=h+(n<<5)+8|0;k[d>>2]=0;f=l[g+1>>0]|0;m=(l[g>>0]<<8|f)&65535;j[h+(n<<5)+4>>1]=m;k[h+(n<<5)>>2]=l[g+2>>0]<<8|l[g+3>>0];do if(!(f&8))if(!(f&64)){e=(f<<1&2)+2|f>>>4&8;break}else{e=(f<<1&2)+6|0;break}else e=f<<1&2|4;while(0);if((b+e|0)>>>0>o>>>0){b=21;c=25;break}do if(!(f&2))if(f&1|0){k[d>>2]=l[b>>0]<<8|l[g+5>>0];k[c>>2]=l[g+6>>0]<<8|l[g+7>>0];c=g+8|0;break}else{k[d>>2]=l[b>>0];k[c>>2]=l[g+5>>0];c=g+6|0;break}else if(f&1|0){k[d>>2]=(l[b>>0]<<8|l[g+5>>0])<<16>>16;k[c>>2]=(l[g+6>>0]<<8|l[g+7>>0])<<16>>16;c=g+8|0;break}else{k[d>>2]=i[b>>0];k[c>>2]=i[g+5>>0];c=g+6|0;break}while(0);do if(!(f&8)){if(f&64|0){b=c+4|0;d=(l[c>>0]<<8|l[c+1>>0])<<16>>14;e=0;f=0;c=(l[c+2>>0]<<8|l[c+3>>0])<<16>>14;break}if(!(f&128)){b=c;d=65536;e=0;f=0;c=65536}else{b=c+8|0;d=(l[c>>0]<<8|l[c+1>>0])<<16>>14;e=(l[c+4>>0]<<8|l[c+5>>0])<<16>>14;f=(l[c+2>>0]<<8|l[c+3>>0])<<16>>14;c=(l[c+6>>0]<<8|l[c+7>>0])<<16>>14}}else{g=(l[c>>0]<<8|l[c+1>>0])<<16>>14;b=c+2|0;d=g;e=0;f=0;c=g}while(0);k[h+(n<<5)+16>>2]=d;k[h+(n<<5)+20>>2]=e;k[h+(n<<5)+24>>2]=f;k[h+(n<<5)+28>>2]=c;if(!(m&32)){c=24;break}else{n=q;g=b}}if((c|0)==24){k[p+84>>2]=q;q=b+(rTa(k[a+24>>2]|0)|0)-o|0;k[a+168>>2]=q;k[a+200>>2]=b;a=0;return a|0}else if((c|0)==25)return b|0;return 0}function z$a(a){a=a|0;yTa(k[a+24>>2]|0);return}function A$a(a){a=a|0;var b=0,c=0,d=0,e=0;if(!a)return;e=k[a+100>>2]|0;b=k[a+104>>2]|0;c=k[a+532>>2]|0;d=k[a+656+4>>2]|0;if(d|0)Si[d&1023](k[a+656>>2]|0);if(c|0)Si[k[c+12>>2]&1023](a);xTa(k[a+104>>2]|0,a+700|0);k[a+696>>2]=0;d=k[a+104>>2]|0;YTa(k[d+28>>2]|0,k[a+720>>2]|0);k[a+720>>2]=0;xTa(d,a+704|0);YTa(e,k[a+648>>2]|0);k[a+648>>2]=0;k[a+644>>2]=0;xTa(b,a+632|0);xTa(b,a+640|0);k[a+628>>2]=0;k[a+636>>2]=0;d=k[a+676>>2]|0;if(d|0){YTa(e,k[d+4>>2]|0);k[d+4>>2]=0;YTa(e,k[d+8>>2]|0);k[d+8>>2]=0;b=k[d+20>>2]|0;if(b|0){if(k[d>>2]|0){c=0;do{YTa(e,k[b+(c<<3)+4>>2]|0);b=k[d+20>>2]|0;k[b+(c<<3)+4>>2]=0;c=c+1|0}while(c>>>0<(k[d>>2]|0)>>>0)}YTa(e,b);k[d+20>>2]=0}YTa(e,k[d+28>>2]|0);k[d+28>>2]=0;YTa(e,k[d+36>>2]|0);k[d+36>>2]=0;YTa(e,d)}k[a+676>>2]=0;return}function B$a(a){a=a|0;k[a+296>>2]=-1;k[a+300>>2]=-1;i[a+72+36>>0]=0;k[a+112>>2]=-1;return 0}function C$a(a){a=a|0;D$a(a);i[a+72+36>>0]=0;return}function D$a(a){a=a|0;var b=0,c=0,d=0;c=k[(k[a>>2]|0)+100>>2]|0;b=k[a+292>>2]|0;if(b|0){d=k[b+8>>2]|0;j[b+440>>1]=0;j[b+442>>1]=0;YTa(d,k[b+24>>2]|0);k[b+24>>2]=0;k[b+20>>2]=0;YTa(d,k[b+436>>2]|0);k[b+436>>2]=0;k[b+432>>2]=0;k[b+428>>2]=0;YTa(d,k[b+392>>2]|0);k[b+392>>2]=0;k[b+388>>2]=0;k[b+4>>2]=0;k[b>>2]=0;YTa(d,b);k[a+292>>2]=0}YTa(c,k[a+244>>2]|0);k[a+244>>2]=0;k[a+240>>2]=0;YTa(c,k[a+252>>2]|0);k[a+252>>2]=0;j[a+248>>1]=0;b=k[a+256>>2]|0;if(b|0){YTa(b,k[a+256+28>>2]|0);k[a+256+28>>2]=0;YTa(b,k[a+256+24>>2]|0);k[a+256+24>>2]=0;YTa(b,k[a+256+16>>2]|0);k[a+256+16>>2]=0;YTa(b,k[a+256+12>>2]|0);k[a+256+12>>2]=0;YTa(b,k[a+256+20>>2]|0);k[a+256+20>>2]=0;k[a+256>>2]=0;k[a+256+4>>2]=0;k[a+256+8>>2]=0}YTa(c,k[a+124>>2]|0);k[a+124>>2]=0;YTa(c,k[a+136>>2]|0);k[a+116>>2]=0;k[a+120>>2]=0;k[a+128>>2]=0;k[a+128+4>>2]=0;k[a+128+8>>2]=0;k[a+128+12>>2]=0;k[a+128+16>>2]=0;k[a+296>>2]=-1;k[a+300>>2]=-1;return}function E$a(a){a=a|0;return c3a(k[k[a+156>>2]>>2]|0)|0}function F$a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0;w=r;r=r+240|0;e=k[a+4>>2]|0;if(!a){a=37;r=w;return a|0}if(!b){a=36;r=w;return a|0}if(!e){a=35;r=w;return a|0}if((k[e+16>>2]|0)>>>0<=c>>>0)if(!(k[(k[e+128>>2]|0)+48>>2]|0)){a=6;r=w;return a|0}if(d&2){d=(k[e+8>>2]&8192|0)==0?d:d&-3;d=d>>>14&2|d}if(!(d&1025))s=d;else s=(k[e+8>>2]|0)>>>12&2^11|d;d=k[b+112>>2]|0;do if((s&8|0)==0&(d|0)!=-1){if(xi[k[(k[e+532>>2]|0)+72>>2]&15](e,d,c,s,k[e+104>>2]|0,a+76|0,w+224|0)|0){u=26;break}j[a+110>>1]=0;j[a+108>>1]=0;k[a+24>>2]=m[w+224+2>>1]<<6;k[a+28>>2]=m[w+224>>1]<<6;p=j[w+224+4>>1]|0;k[a+32>>2]=p<<6;v=j[w+224+6>>1]|0;k[a+36>>2]=v<<6;k[a+40>>2]=m[w+224+8>>1]<<6;q=j[w+224+10>>1]|0;k[a+44>>2]=q<<6;e=j[w+224+12>>1]|0;k[a+48>>2]=e<<6;k[a+52>>2]=m[w+224+14>>1]<<6;k[a+72>>2]=1651078259;t=(s&16|0)==0;k[a+100>>2]=t?p:q;k[a+104>>2]=t?v:e;e=k[a+4>>2]|0;if(!(k[e+8>>2]&1))d=0;else{f=k[e+104>>2]|0;vBb(w|0,0,208)|0;do if(!(k[(k[e+128>>2]|0)+48>>2]|0)){d=nj[k[e+508>>2]&127](e,1735162214,f,0)|0;if((d&255|0)==142){k[w+84>>2]=0;u=20;break}if(!d){u=rTa(f)|0;k[w+84>>2]=u;u=20}}else{k[w+84>>2]=0;u=20}while(0);if((u|0)==20){k[w+16>>2]=s;k[w>>2]=e;k[w+4>>2]=b;k[w+8>>2]=a;k[w+24>>2]=f}G$a(w,c,0,1)|0;d=k[w+60>>2]|0;k[a+56>>2]=d;k[a+60>>2]=k[w+180>>2];if(!((d|0)==0|(k[a+40>>2]|0)!=0)){c=U2a(d,k[b+16>>2]|0)|0;k[a+40>>2]=c}if(!(k[a+52>>2]|0)){d=k[a+60>>2]|0;if(!d)d=0;else{d=U2a(d,k[b+20>>2]|0)|0;k[a+52>>2]=d;d=0}}else d=0}}else u=26;while(0);a:do if((u|0)==26){v=(s&1|0)!=0;if(!v)if(!(i[b+108>>0]|0)){d=36;break}if(!(s&16384)){o=s&128;p=k[a+4>>2]|0;q=k[p+104>>2]|0;vBb(w|0,0,208)|0;t=(s&2|0)==0;if(t){d=k[b+296>>2]|0;b:do if((d|0)<0){n=k[b>>2]|0;e=k[n+100>>2]|0;YTa(e,k[b+124>>2]|0);k[b+124>>2]=0;YTa(e,k[b+136>>2]|0);k[b+136>>2]=0;YTa(e,k[b+244>>2]|0);k[b+244>>2]=0;YTa(e,k[b+252>>2]|0);k[b+252>>2]=0;d=k[b+292>>2]|0;if(d|0){h=k[d+8>>2]|0;j[d+440>>1]=0;j[d+442>>1]=0;YTa(h,k[d+24>>2]|0);k[d+24>>2]=0;k[d+20>>2]=0;YTa(h,k[d+436>>2]|0);k[d+436>>2]=0;k[d+432>>2]=0;k[d+428>>2]=0;YTa(h,k[d+392>>2]|0);k[d+392>>2]=0;k[d+388>>2]=0;k[d+4>>2]=0;k[d>>2]=0;YTa(h,d)}d=k[b+256>>2]|0;if(d|0){YTa(d,k[b+256+28>>2]|0);k[b+256+28>>2]=0;YTa(d,k[b+256+24>>2]|0);k[b+256+24>>2]=0;YTa(d,k[b+256+16>>2]|0);k[b+256+16>>2]=0;YTa(d,k[b+256+12>>2]|0);k[b+256+12>>2]=0;YTa(d,k[b+256+20>>2]|0);k[b+256+20>>2]=0;k[b+256>>2]=0;k[b+256+4>>2]=0;k[b+256+8>>2]=0}k[b+296>>2]=-1;k[b+300>>2]=-1;h=L$a(k[n+96>>2]|0)|0;k[b+292>>2]=h;h=k[n+280>>2]|0;k[b+120>>2]=h&65535;k[b+132>>2]=h>>>16;k[b+116>>2]=0;k[b+128>>2]=0;k[b+140>>2]=0;k[b+144>>2]=0;k[b+240>>2]=k[n+644>>2];j[b+248>>1]=j[n+278>>1]|0;i[b+72+37>>0]=0;i[b+72+38>>0]=0;k[b+72+20>>2]=0;k[b+72+20+4>>2]=0;k[b+72+20+8>>2]=0;k[b+72+20+12>>2]=0;h=WTa(e,24,0,h&65535,0,w+208|0)|0;k[b+124>>2]=h;c:do if(!(k[w+208>>2]|0)){h=WTa(e,24,0,k[b+132>>2]|0,0,w+208|0)|0;k[b+136>>2]=h;if(!(k[w+208>>2]|0)){h=WTa(e,4,0,k[b+240>>2]|0,0,w+208|0)|0;k[b+244>>2]=h;if(!(k[w+208>>2]|0)){h=WTa(e,4,0,m[b+248>>1]|0,0,w+208|0)|0;k[b+252>>2]=h;if(k[w+208>>2]|0)break;h=(m[n+276>>1]|0)+4|0;f=b+256|0;g=f+36|0;do{k[f>>2]=0;f=f+4|0}while((f|0)<(g|0));k[b+256>>2]=e;d=WTa(e,8,0,h&65535,0,w+224|0)|0;k[b+256+12>>2]=d;d=k[w+224>>2]|0;do if(!d){d=WTa(e,8,0,h&65535,0,w+224|0)|0;k[b+256+16>>2]=d;d=k[w+224>>2]|0;if(d|0){u=45;break}d=WTa(e,8,0,h&65535,0,w+224|0)|0;k[b+256+20>>2]=d;d=k[w+224>>2]|0;if(d|0){u=45;break}d=WTa(e,1,0,h&65535,0,w+224|0)|0;k[b+256+24>>2]=d;d=k[w+224>>2]|0;if(d|0){u=45;break}d=WTa(e,2,0,0,0,w+224|0)|0;k[b+256+28>>2]=d;d=k[w+224>>2]|0;if(d|0){u=45;break}j[b+256+4>>1]=h;j[b+256+6>>1]=0;k[w+208>>2]=0}else u=45;while(0);do if((u|0)==45){e=k[b+256>>2]|0;if(!e){k[w+208>>2]=d;break c}else{YTa(e,k[b+256+28>>2]|0);k[b+256+28>>2]=0;YTa(e,k[b+256+24>>2]|0);k[b+256+24>>2]=0;YTa(e,k[b+256+16>>2]|0);k[b+256+16>>2]=0;YTa(e,k[b+256+12>>2]|0);k[b+256+12>>2]=0;YTa(e,k[b+256+20>>2]|0);k[b+256+20>>2]=0;k[b+256>>2]=0;k[b+256+4>>2]=0;k[b+256+8>>2]=0;u=k[w+224>>2]|0;k[w+208>>2]=u;if(!u)break;else break c}}while(0);j[b+256+8>>1]=h;f=b+172|0;d=54752;g=f+68|0;do{k[f>>2]=k[d>>2];f=f+4|0;d=d+4|0}while((f|0)<(g|0));f=k[(k[(k[n+96>>2]|0)+4>>2]|0)+172>>2]|0;k[n+652>>2]=(f|0)==0?1540:f;f=k[b>>2]|0;g=k[b+292>>2]|0;d=p0a(g,f,b)|0;do if(!d){k[g+428>>2]=0;k[g+16>>2]=0;k[g+476>>2]=64;k[g+480>>2]=0;k[g+484>>2]=0;i[g+488>>0]=0;k[g+564>>2]=16384;i[g+561>>0]=o;j[g+252>>1]=0;k[g+260>>2]=0;k[g+216>>2]=0;k[g+216+4>>2]=0;k[g+216+8>>2]=0;k[g+256>>2]=65536;d=k[f+632>>2]|0;e=k[f+628>>2]|0;k[g+444>>2]=d;k[g+448>>2]=e;k[g+452>>2]=0;k[g+452+4>>2]=0;k[g+452+8>>2]=0;k[g+452+12>>2]=0;if(!e)k[b+296>>2]=0;else{k[g+356>>2]=d;k[g+364>>2]=e;k[g+360>>2]=0;k[g+352>>2]=1;d=Gi[k[f+652>>2]&2047](g)|0;k[b+296>>2]=d;if(d|0)break}k[b+116>>2]=k[g+396>>2];k[b+128>>2]=k[g+408>>2];k[b+140>>2]=k[g+420>>2];k[b+144>>2]=k[g+424>>2];d=k[g+444+4>>2]|0;k[b+148>>2]=k[g+444>>2];k[b+148+4>>2]=d;d=k[g+452+4>>2]|0;k[b+156>>2]=k[g+452>>2];k[b+156+4>>2]=d;d=k[g+460+4>>2]|0;k[b+164>>2]=k[g+460>>2];k[b+164+4>>2]=d;d=b+300|0;u=59;break b}while(0);k[w+208>>2]=d}}}while(0);D$a(b);d=k[w+208>>2]|0;if(d|0)break a;d=k[b+296>>2]|0;u=57}else{e=k[b+300>>2]|0;if((e|0)<0)u=57;else{if(d|0)break a;if(e|0){d=e;break a}}}while(0);if((u|0)==57)if(!d){d=b+300|0;u=59}if((u|0)==59)if((k[d>>2]|0)<0){if(k[b+240>>2]|0){d=(k[b>>2]|0)+648|0;e=0;do{n=U2a(j[(k[d>>2]|0)+(e<<1)>>1]|0,k[b+88>>2]|0)|0;k[(k[b+244>>2]|0)+(e<<2)>>2]=n;e=e+1|0}while(e>>>0<(k[b+240>>2]|0)>>>0)}d=j[b+264>>1]|0;if(d<<16>>16){e=k[b+268>>2]|0;f=k[b+272>>2]|0;g=0;do{k[e+(g<<3)>>2]=0;k[e+(g<<3)+4>>2]=0;k[f+(g<<3)>>2]=0;k[f+(g<<3)+4>>2]=0;g=g+1|0}while((g|0)!=(d&65535|0))}d=j[b+248>>1]|0;if(d<<16>>16)vBb(k[b+252>>2]|0,0,((d&65535)>>>0>1?d&65535:1)<<2|0)|0;f=b+172|0;d=54752;g=f+68|0;do{k[f>>2]=k[d>>2];f=f+4|0;d=d+4|0}while((f|0)<(g|0));d=q0a(b,o)|0;if(d|0)break}h=k[b+292>>2]|0;if(!h){d=153;break}e=(s&983040|0)!=131072;d=p0a(h,p,b)|0;if(d|0)break;if((e&1|0)!=(l[h+608>>0]|0)){i[h+608>>0]=e&1;if(k[b+240>>2]|0){d=0;do{n=U2a(j[(k[p+648>>2]|0)+(d<<1)>>1]|0,k[b+88>>2]|0)|0;k[(k[b+244>>2]|0)+(d<<2)>>2]=n;d=d+1|0}while(d>>>0<(k[b+240>>2]|0)>>>0)}d=q0a(b,o)|0;if(d|0)break}n=i[h+336>>0]|0;e=(n&1)<<1|s;if(n&2){f=h+284|0;d=54752;g=f+68|0;do{k[f>>2]=k[d>>2];f=f+4|0;d=d+4|0}while((f|0)<(g|0))}i[h+561>>0]=o;k[w+160>>2]=h;k[w+164>>2]=k[h+392>>2]}else e=s;do if(!(k[(k[p+128>>2]|0)+48>>2]|0)){d=nj[k[p+508>>2]&127](p,1735162214,q,0)|0;if((d&255|0)==142){k[w+84>>2]=0;break}if(d|0)break a;s=rTa(q)|0;k[w+84>>2]=s}else k[w+84>>2]=0;while(0);d=k[k[a+156>>2]>>2]|0;a3a(d);k[w+12>>2]=d;k[w+16>>2]=e;k[w>>2]=p;k[w+4>>2]=b;k[w+8>>2]=a;k[w+24>>2]=q;k[a+72>>2]=1869968492;k[a+128>>2]=0;k[a+124>>2]=0;d=G$a(w,c,0,0)|0;if(!d){d=k[w+12>>2]|0;if((k[a+72>>2]|0)==1668246896){k[a+128>>2]=k[d+48>>2];k[a+132>>2]=k[d+52>>2]}else{k[a+108>>2]=k[d+20>>2];k[a+108+4>>2]=k[d+20+4>>2];k[a+108+8>>2]=k[d+20+8>>2];k[a+108+12>>2]=k[d+20+12>>2];k[a+108+16>>2]=k[d+20+16>>2];k[a+124>>2]=k[a+124>>2]&-513;d=k[w+68>>2]|0;if(d|0)VSa(a+108|0,0-d|0,0)}d:do if(t){d=k[w+160>>2]|0;if(!(i[d+337>>0]|0)){k[a+124>>2]=k[a+124>>2]|8;break}switch(k[d+340>>2]|0){case 1:break d;case 0:{k[a+124>>2]=k[a+124>>2]|32;break d}case 4:{k[a+124>>2]=k[a+124>>2]|48;break d}case 5:{k[a+124>>2]=k[a+124>>2]|16;break d}default:{k[a+124>>2]=k[a+124>>2]|8;break d}}}while(0);q=k[w>>2]|0;t=k[w+8>>2]|0;d=k[w+4>>2]|0;if(!(k[w+16>>2]&1))s=k[d+20>>2]|0;else s=65536;if((k[t+72>>2]|0)==1668246896){k[w+224>>2]=k[w+36>>2];k[w+224+4>>2]=k[w+36+4>>2];k[w+224+8>>2]=k[w+36+8>>2];k[w+224+12>>2]=k[w+36+12>>2]}else USa(t+108|0,w+224|0);k[t+56>>2]=k[w+60>>2];o=k[w+224>>2]|0;k[t+32>>2]=o;p=k[w+224+12>>2]|0;k[t+36>>2]=p;k[t+40>>2]=(k[w+76>>2]|0)-(k[w+68>>2]|0);e:do if(!(k[q+480>>2]|0)){if(k[w+16>>2]&2|0)break;e=m[d+12>>1]|0;h=k[q+716>>2]|0;n=(k[q+704>>2]|0)+8|0;f=k[q+712>>2]|0;if(!f)break;g=k[q+720>>2]|0;d=0;while(1){if((l[g+d>>0]|0)==(e|0))break;d=d+1|0;if(d>>>0>=f>>>0)break e}if((c+2|0)>>>0>=h>>>0)break;n=n+(ha(d,h)|0)+(c+2)|0;k[t+40>>2]=l[n>>0]<<6}while(0);k[t+24>>2]=(k[w+224+8>>2]|0)-o;d=p-(k[w+224+4>>2]|0)|0;k[t+28>>2]=d;do if(!(i[q+292>>0]|0))u=117;else{if(!(j[q+330>>1]|0)){u=117;break}d=(V2a((k[w+188>>2]|0)-p|0,s)|0)<<16>>16;e=k[w+188>>2]|0;f=k[w+196>>2]|0;if((e|0)<=(f|0)){e=0;break}e=(V2a(e-f|0,s)|0)&65535}while(0);if((u|0)==117){d=(V2a(d,s)|0)<<16>>16;if((j[q+364>>1]|0)==-1){f=k[q+220>>2]|0;f=(f<<16>>16)-(f>>16)|0}else f=(j[q+434>>1]|0)-(j[q+436>>1]|0)|0;e=f;d=(f-d|0)/2|0}f=k[(k[q+128>>2]|0)+48>>2]|0;do if(!f)u=126;else{g=k[(k[f>>2]|0)+8>>2]|0;if(!g){u=126;break}k[w+208>>2]=0;k[w+208+4>>2]=d;k[w+208+8>>2]=e;d=nj[g&127](k[f+4>>2]|0,c,1,w+208|0)|0;if(!d){e=k[w+208+8>>2]|0;d=k[w+208+4>>2]|0;u=126;break}else break}while(0);if((u|0)==126){k[t+60>>2]=e;if(!(k[w+16>>2]&1)){d=U2a(d,s)|0;e=U2a(e,s)|0}k[t+44>>2]=(k[t+32>>2]|0)-((k[t+40>>2]|0)/2|0);k[t+48>>2]=d;k[t+52>>2]=e;d=0}}if(!v)if((m[b+14>>1]|0)<24)k[a+124>>2]=k[a+124>>2]|256}else d=6}while(0);a=d;r=w;return a|0}function G$a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;F=r;r=r+128|0;k[F+80>>2]=0;E=k[a>>2]|0;B=k[a+12>>2]|0;if(c>>>0>1)if((m[E+290>>1]|0)>>>0>>0){k[F+80>>2]=21;E=k[F+80>>2]|0;r=F;return E|0}k[a+20>>2]=b;if(!(k[a+16>>2]&1)){s=k[a+4>>2]|0;q=k[s+48>>2]|0;s=k[s+52>>2]|0}else{q=65536;s=65536}e=k[(k[E+128>>2]|0)+48>>2]|0;do if(!e){A=a+28|0;C=0;g=r$a(E,b,a+28|0)|0}else{C=Ri[k[k[e>>2]>>2]&255](k[e+4>>2]|0,b,F+32|0)|0;k[F+80>>2]=C;if(!C){e=k[F+32+4>>2]|0;k[a+28>>2]=e;f=F+40|0;g=f+40|0;do{k[f>>2]=0;f=f+4|0}while((f|0)<(g|0));nTa(F+40|0,k[F+32>>2]|0,e);k[a+24>>2]=F+40;A=a+28|0;C=1;g=0;break}else{E=k[F+80>>2]|0;r=F;return E|0}}while(0);e=k[A>>2]|0;do if((e|0)>0){f=k[a+84>>2]|0;if(!f)if(!(k[(k[E+128>>2]|0)+48>>2]|0)){k[F+80>>2]=8;break}z=nj[k[E+512>>2]&127](a,b,f+g|0,e)|0;k[F+80>>2]=z;if(!z){D=Gi[k[E+520>>2]&2047](a)|0;k[F+80>>2]=D;if(!D){D=H$a(a,b)|0;k[F+80>>2]=D;if(d<<24>>24!=0|(D|0)!=0)D=128;else{e=k[A>>2]|0;n=1;D=18}}else D=128}}else{n=0;D=18}while(0);a:do if((D|0)==18){do if(!e)D=20;else{e=j[a+32>>1]|0;if(!(e<<16>>16))D=20;else{f=k[a+52>>2]|0;d=(k[a+36>>2]|0)-f|0;k[a+68>>2]=d;k[a+72>>2]=0;g=k[a+56>>2]|0;k[a+76>>2]=g+d;k[a+80>>2]=0;k[a+184>>2]=0;d=(k[a+176>>2]|0)+(k[a+48>>2]|0)|0;k[a+188>>2]=d;k[a+192>>2]=0;k[a+196>>2]=d-(k[a+180>>2]|0);d=k[(k[(k[a>>2]|0)+128>>2]|0)+48>>2]|0;if(d){h=k[(k[d>>2]|0)+8>>2]|0;if(h){k[F+88>>2]=f;k[F+88+4>>2]=0;k[F+88+8>>2]=g;k[F+88+12>>2]=0;if(!(nj[h&127](k[d+4>>2]|0,b,0,F+88|0)|0)){e=k[F+88+8>>2]|0;k[a+52>>2]=k[F+88>>2]<<16>>16;k[a+56>>2]=e&65535;k[a+176>>2]=0;k[a+180>>2]=0;if(!(i[a+64>>0]|0)){i[a+64>>0]=1;k[a+60>>2]=e&65535}}e=j[a+32>>1]|0}}if(e<<16>>16>0){A=Gi[k[E+524>>2]&2047](a)|0;k[F+80>>2]=A;if(A|0)break;Si[k[E+516>>2]&1023](a);h=k[a+12>>2]|0;n=j[h+58>>1]|0;e=k[a+68+4>>2]|0;f=(k[h+60>>2]|0)+(n<<16>>16<<3)|0;k[f>>2]=k[a+68>>2];k[f+4>>2]=e;f=k[a+76+4>>2]|0;e=(k[h+60>>2]|0)+((n<<16>>16)+1<<3)|0;k[e>>2]=k[a+76>>2];k[e+4>>2]=f;e=k[a+184+4>>2]|0;f=(k[h+60>>2]|0)+((n<<16>>16)+2<<3)|0;k[f>>2]=k[a+184>>2];k[f+4>>2]=e;f=k[a+192+4>>2]|0;e=(k[h+60>>2]|0)+((n<<16>>16)+3<<3)|0;k[e>>2]=k[a+192>>2];k[e+4>>2]=f;i[(k[h+64>>2]|0)+(n<<16>>16)>>0]=0;i[(k[h+64>>2]|0)+((n<<16>>16)+1)>>0]=0;i[(k[h+64>>2]|0)+((n<<16>>16)+2)>>0]=0;i[(k[h+64>>2]|0)+((n<<16>>16)+3)>>0]=0;e=k[a>>2]|0;f=i[e+672>>0]|0;if(f<<24>>24){e=I$a(k[e+104>>2]|0,f,k[e+676>>2]|0,k[a+20>>2]|0,h+56|0,(n<<16>>16)+4|0)|0;if(e|0){k[F+80>>2]=e;break a}}e=k[a+16>>2]|0;if(!(e&2)){e=j[h+58>>1]|0;j[a+132>>1]=e;j[a+134>>1]=j[h+56>>1]|0;k[a+136>>2]=k[h+76>>2];A=k[h+60>>2]|0;k[a+140>>2]=A;z=k[h+80>>2]|0;k[a+144>>2]=z;k[a+148>>2]=k[h+64>>2];k[a+152>>2]=k[h+68>>2];j[a+156>>1]=0;ABb(z|0,A|0,((e&65535)<<3)+32|0)|0;e=k[a+16>>2]|0}f=k[h+60>>2]|0;if(!(e&1)){d=k[a+4>>2]|0;g=k[d+48>>2]|0;d=k[d+52>>2]|0;if(n<<16>>16>-4){e=f;do{A=U2a(k[e>>2]|0,g)|0;k[e>>2]=A;A=e+4|0;z=U2a(k[A>>2]|0,d)|0;k[A>>2]=z;e=e+8|0}while(e>>>0<(f+((n<<16>>16)+4<<3)|0)>>>0);e=k[a+16>>2]|0;f=k[h+60>>2]|0}A=f+(n<<16>>16<<3)|0;z=k[A+4>>2]|0;k[a+68>>2]=k[A>>2];k[a+68+4>>2]=z;z=(k[h+60>>2]|0)+((n<<16>>16)+1<<3)|0;A=k[z+4>>2]|0;k[a+76>>2]=k[z>>2];k[a+76+4>>2]=A;A=(k[h+60>>2]|0)+((n<<16>>16)+2<<3)|0;z=k[A+4>>2]|0;k[a+184>>2]=k[A>>2];k[a+184+4>>2]=z;z=(k[h+60>>2]|0)+((n<<16>>16)+3<<3)|0;A=k[z+4>>2]|0;k[a+192>>2]=k[z>>2];k[a+192+4>>2]=A}if(!(e&2)){j[a+132>>1]=(m[a+132>>1]|0)+4;a=K$a(a,0)|0;k[F+80>>2]=a;if(a|0)break a}else k[F+80>>2]=0;g3a(B);break a}if(e<<16>>16!=-1){k[F+80>>2]=20;break}y=j[B+22>>1]|0;z=j[B+20>>1]|0;x=Gi[k[E+528>>2]&2047](a)|0;k[F+80>>2]=x;if(!x){x=k[a+168>>2]|0;Si[k[E+516>>2]&1023](a);if(i[E+672>>0]|0){o=k[E+100>>2]|0;d=k[B+84>>2]|0;j[F+88+2>>1]=d+4;j[F+88>>1]=d+4;p=WTa(o,8,0,d+4<<16>>16,0,F+80|0)|0;if(!(k[F+80>>2]|0)){f=WTa(o,1,0,d+4<<16>>16,0,F+80|0)|0;if(!(k[F+80>>2]|0)){e=WTa(o,2,0,d+4<<16>>16,0,F+80|0)|0;if(!(k[F+80>>2]|0)){if(!d)g=0;else{g=0;h=(k[B+88>>2]|0)+(k[B+48>>2]<<5)|0;while(1){k[p+(g<<3)>>2]=k[h+8>>2];k[p+(g<<3)+4>>2]=k[h+12>>2];i[f+g>>0]=1;j[e+(g<<1)>>1]=g;g=g+1|0;if((g|0)==(d|0)){g=d;break}else h=h+32|0}}k[p+(g<<3)>>2]=k[a+68>>2];k[p+(g<<3)+4>>2]=k[a+72>>2];i[f+g>>0]=1;j[e+(g<<1)>>1]=g;w=g+1|0;k[p+(w<<3)>>2]=k[a+76>>2];k[p+(w<<3)+4>>2]=k[a+80>>2];i[f+w>>0]=1;j[e+(w<<1)>>1]=w;w=g+2|0;k[p+(w<<3)>>2]=k[a+184>>2];k[p+(w<<3)+4>>2]=k[a+188>>2];i[f+w>>0]=1;j[e+(w<<1)>>1]=w;w=g+3|0;k[p+(w<<3)>>2]=k[a+192>>2];k[p+(w<<3)+4>>2]=k[a+196>>2];i[f+w>>0]=1;j[e+(w<<1)>>1]=w;k[F+88+4>>2]=p;k[F+88+8>>2]=f;k[F+88+12>>2]=e;w=I$a(k[E+104>>2]|0,i[E+672>>0]|0,k[E+676>>2]|0,b,F+88|0,d+4<<16>>16)|0;k[F+80>>2]=w;if(!w){g=k[p>>2]|0;if(!d)d=0;else{h=0;n=(k[B+88>>2]|0)+(k[B+48>>2]<<5)|0;while(1){k[n+8>>2]=g<<16>>16;k[n+12>>2]=k[p+(h<<3)+4>>2]<<16>>16;h=h+1|0;g=k[p+(h<<3)>>2]|0;if((h|0)==(d|0))break;else n=n+32|0}}k[a+68>>2]=g;k[a+72>>2]=k[p+(d<<3)+4>>2];w=d+1|0;k[a+76>>2]=k[p+(w<<3)>>2];k[a+80>>2]=k[p+(w<<3)+4>>2];w=d+2|0;k[a+184>>2]=k[p+(w<<3)>>2];k[a+188>>2]=k[p+(w<<3)+4>>2];w=d+3|0;k[a+192>>2]=k[p+(w<<3)>>2];k[a+196>>2]=k[p+(w<<3)+4>>2]}}else{f=0;e=0}}else{f=0;e=0}}else{f=0;e=0}YTa(o,p);YTa(o,f);YTa(o,e);if(k[F+80>>2]|0)break a}e=k[a+16>>2]|0;if(!(e&1)){e=U2a(k[a+68>>2]|0,q)|0;k[a+68>>2]=e;e=U2a(k[a+76>>2]|0,q)|0;k[a+76>>2]=e;e=U2a(k[a+184>>2]|0,q)|0;k[a+184>>2]=e;e=U2a(k[a+188>>2]|0,s)|0;k[a+188>>2]=e;e=U2a(k[a+192>>2]|0,q)|0;k[a+192>>2]=e;e=U2a(k[a+196>>2]|0,s)|0;k[a+196>>2]=e;e=k[a+16>>2]|0}if(e&1024|0){g3a(B);k[(k[a+8>>2]|0)+72>>2]=1668246896;break a}q=k[B+84>>2]|0;s=k[B+48>>2]|0;v=k[a+24>>2]|0;w=k[A>>2]|0;g3a(B);do if(!q){f=y<<16>>16;e=0}else{u=0;b:while(1){f=k[a+68>>2]|0;g=k[a+68+4>>2]|0;d=k[a+76>>2]|0;h=k[a+76+4>>2]|0;n=k[a+184>>2]|0;o=k[a+184+4>>2]|0;p=k[a+192>>2]|0;b=k[a+192+4>>2]|0;t=j[B+22>>1]|0;e=G$a(a,k[(k[B+52>>2]|0)+(s<<5)+(u<<5)>>2]|0,c+1|0,0)|0;k[F+80>>2]=e;if(e|0)break a;e=(k[B+52>>2]|0)+(s<<5)+(u<<5)|0;if(!(j[e+4>>1]&512)){k[a+68>>2]=f;k[a+68+4>>2]=g;k[a+76>>2]=d;k[a+76+4>>2]=h;k[a+184>>2]=n;k[a+184+4>>2]=o;k[a+192>>2]=p;k[a+192+4>>2]=b}o=j[B+22>>1]|0;if(o<<16>>16!=t<<16>>16){h=k[a+12>>2]|0;p=k[h+24>>2]|0;b=j[h+22>>1]|0;n=j[e+4>>1]|0;if((b&65535)>(t&65535)&((n&200)==0^1)){f=t<<16>>16;do{WSa(p+(f<<3)|0,e+16|0);f=f+1|0}while((f|0)!=(b<<16>>16|0));f=j[e+4>>1]|0}else f=n;f=f&65535;d=k[e+8>>2]|0;g=k[e+12>>2]|0;do if(!(f&2)){if(!((d+(y<<16>>16)|0)>>>0>16>>>0?(g+(t<<16>>16)|0)>>>0>16>>>0:0)){D=87;break b}D=k[h+24>>2]|0;f=(k[D+(d+(y<<16>>16)<<3)>>2]|0)-(k[D+(g+(t<<16>>16)<<3)>>2]|0)|0;g=(k[D+(d+(y<<16>>16)<<3)+4>>2]|0)-(k[D+(g+(t<<16>>16)<<3)+4>>2]|0)|0;D=95}else{if(!(g|d))break;if((n&200)==0|(f&2048|0)==0)f=d;else{f=R2a(k[e+16>>2]|0,k[e+20>>2]|0)|0;D=R2a(k[e+28>>2]|0,k[e+24>>2]|0)|0;f=U2a(d,f)|0;g=U2a(g,D)|0}if(k[a+16>>2]&1|0){D=95;break}n=k[a+4>>2]|0;D=k[n+52>>2]|0;f=U2a(f,k[n+48>>2]|0)|0;g=U2a(g,D)|0;if(!(j[e+4>>1]&4)){D=95;break}f=f+32&-64;g=g+32&-64;D=95}while(0);do if((D|0)==95){D=0;if(!(f|g))break;if(f|0?b<<16>>16!=t<<16>>16:0){d=0;do{n=p+(t<<16>>16<<3)+(d<<3)|0;k[n>>2]=(k[n>>2]|0)+f;d=d+1|0}while((d|0)!=((b<<16>>16)-(t<<16>>16)|0))}if(g|0?b<<16>>16!=t<<16>>16:0)f=0;else break;do{n=p+(t<<16>>16<<3)+(f<<3)+4|0;k[n>>2]=(k[n>>2]|0)+g;f=f+1|0}while((f|0)!=((b<<16>>16)-(t<<16>>16)|0))}while(0);k[F+80>>2]=0}u=u+1|0;if(u>>>0>=q>>>0){D=102;break}}if((D|0)==87){k[F+80>>2]=21;break a}else if((D|0)==102){f=o<<16>>16;break}}while(0);k[a+24>>2]=v;k[A>>2]=w;k[a+168>>2]=x;if(k[a+16>>2]&2|0)break a;if(!(f>>>0>y<<16>>16>>>0?(j[e+4>>1]&256)!=0:0))break a;f=k[a+12>>2]|0;e=j[f+22>>1]|0;do if(!((e<<16>>16)+4|0))D=107;else{if(((e<<16>>16)+4+(e<<16>>16)+(j[f+58>>1]|0)|0)>>>0<=(k[f+4>>2]|0)>>>0){D=107;break}e=d3a(f,(e<<16>>16)+4|0,0)|0;k[F+84>>2]=e;if(e|0)break;e=j[f+22>>1]|0;D=110}while(0);if((D|0)==107){k[F+84>>2]=0;D=110}c:do if((D|0)==110){h=k[a+68+4>>2]|0;e=(k[f+24>>2]|0)+(e<<16>>16<<3)|0;k[e>>2]=k[a+68>>2];k[e+4>>2]=h;e=k[a+76+4>>2]|0;h=(k[f+24>>2]|0)+((j[f+22>>1]|0)+1<<3)|0;k[h>>2]=k[a+76>>2];k[h+4>>2]=e;h=k[a+184+4>>2]|0;e=(k[f+24>>2]|0)+((j[f+22>>1]|0)+2<<3)|0;k[e>>2]=k[a+184>>2];k[e+4>>2]=h;e=k[a+192+4>>2]|0;h=(k[f+24>>2]|0)+((j[f+22>>1]|0)+3<<3)|0;k[h>>2]=k[a+192>>2];k[h+4>>2]=e;i[(k[f+28>>2]|0)+(j[f+22>>1]|0)>>0]=0;i[(k[f+28>>2]|0)+((j[f+22>>1]|0)+1)>>0]=0;i[(k[f+28>>2]|0)+((j[f+22>>1]|0)+2)>>0]=0;i[(k[f+28>>2]|0)+((j[f+22>>1]|0)+3)>>0]=0;h=k[a+24>>2]|0;e=pTa(h,k[a+168>>2]|0)|0;k[F+84>>2]=e;if(e|0)break;n=FTa(h,F+84|0)|0;e=k[F+84>>2]|0;if(e|0)break;do if((n&65535)>(m[(k[a>>2]|0)+286>>1]|0)){if((n&65535|0)>(k[A>>2]|0)){e=22;break c}e=k[a+160>>2]|0;f=k[e+388>>2]|0;if(f>>>0<(n&65535)>>>0){g=WTa(k[e+8>>2]|0,1,f,n&65535,k[e+392>>2]|0,F+88|0)|0;k[e+392>>2]=g;e=k[F+88>>2]|0;g=e;d=k[a+160>>2]|0;e=(e|0)==0?n&65535:f}else{g=0;d=e;e=f}k[F+84>>2]=g;k[d+388>>2]=e&65535;e=k[F+84>>2]|0;if(!e){f=a+160|0;e=d}else break c}else if(!(n<<16>>16)){k[F+80>>2]=0;break a}else{f=a+160|0;e=k[a+160>>2]|0;break}while(0);e=sTa(h,k[e+392>>2]|0,n&65535)|0;k[F+84>>2]=e;if(e|0)break;B=k[a+8>>2]|0;k[B+136>>2]=k[(k[f>>2]|0)+392>>2];k[B+140>>2]=n&65535;B=k[a+12>>2]|0;e=(m[B+22>>1]|0)-(y<<16>>16)|0;j[a+132>>1]=e;j[a+134>>1]=(m[B+20>>1]|0)-z;k[a+136>>2]=(k[B+40>>2]|0)+(y<<16>>16<<3);k[a+140>>2]=(k[B+24>>2]|0)+(y<<16>>16<<3);k[a+144>>2]=(k[B+44>>2]|0)+(y<<16>>16<<3);f=(k[B+28>>2]|0)+(y<<16>>16)|0;k[a+148>>2]=f;k[a+152>>2]=(k[B+32>>2]|0)+(z<<1);j[a+156>>1]=y;do if(!((e&65535)<<16>>16))e=e&65535;else{i[f>>0]=l[f>>0]&231;e=j[a+132>>1]|0;if((e&65535)>1)f=1;else{e=e&65535;break}do{e=(k[a+148>>2]|0)+f|0;i[e>>0]=l[e>>0]&231;f=f+1|0;e=m[a+132>>1]|0}while(f>>>0>>0)}while(0);j[a+132>>1]=e+4;a=K$a(a,1)|0;k[F+80>>2]=a;break a}while(0);k[F+80>>2]=e;break a}}}while(0);d:do if((D|0)==20){k[a+36>>2]=0;k[a+36+4>>2]=0;k[a+36+8>>2]=0;k[a+36+12>>2]=0;B=H$a(a,b)|0;k[F+80>>2]=B;if(!(d<<24>>24!=0|(B|0)!=0)){e=k[a+52>>2]|0;f=(k[a+36>>2]|0)-e|0;k[a+68>>2]=f;k[a+72>>2]=0;g=k[a+56>>2]|0;k[a+76>>2]=g+f;k[a+80>>2]=0;k[a+184>>2]=0;f=(k[a+176>>2]|0)+(k[a+48>>2]|0)|0;k[a+188>>2]=f;k[a+192>>2]=0;k[a+196>>2]=f-(k[a+180>>2]|0);f=k[a>>2]|0;d=k[(k[f+128>>2]|0)+48>>2]|0;if(d){h=k[(k[d>>2]|0)+8>>2]|0;if(h){k[F+88>>2]=e;k[F+88+4>>2]=0;k[F+88+8>>2]=g;k[F+88+12>>2]=0;if(!(nj[h&127](k[d+4>>2]|0,b,0,F+88|0)|0)){e=k[F+88+8>>2]|0;k[a+52>>2]=k[F+88>>2]<<16>>16;k[a+56>>2]=e&65535;k[a+176>>2]=0;k[a+180>>2]=0;if(!(i[a+64>>0]|0)){i[a+64>>0]=1;k[a+60>>2]=e&65535}}f=k[a>>2]|0}}e=f+672|0;do if(i[e>>0]|0){k[F+84>>2]=16843009;k[F>>2]=65536;k[F+4>>2]=196610;k[F+88>>2]=k[a+68>>2];k[F+88+4>>2]=k[a+72>>2];k[F+88+8>>2]=k[a+76>>2];k[F+88+12>>2]=k[a+80>>2];k[F+88+16>>2]=k[a+184>>2];k[F+88+20>>2]=k[a+188>>2];k[F+88+24>>2]=k[a+192>>2];k[F+88+28>>2]=k[a+196>>2];j[F+8+2>>1]=4;j[F+8>>1]=4;k[F+8+4>>2]=F+88;k[F+8+8>>2]=F+84;k[F+8+12>>2]=F;B=I$a(k[f+104>>2]|0,i[e>>0]|0,k[f+676>>2]|0,b,F+8|0,4)|0;k[F+80>>2]=B;if(!B){k[a+68>>2]=k[F+88>>2];k[a+72>>2]=k[F+88+4>>2];k[a+76>>2]=k[F+88+8>>2];k[a+80>>2]=k[F+88+12>>2];k[a+184>>2]=k[F+88+16>>2];k[a+188>>2]=k[F+88+20>>2];k[a+192>>2]=k[F+88+24>>2];k[a+196>>2]=k[F+88+28>>2];break}else break d}while(0);if(!(k[a+16>>2]&1)){B=U2a(k[a+68>>2]|0,q)|0;k[a+68>>2]=B;B=U2a(k[a+76>>2]|0,q)|0;k[a+76>>2]=B;B=U2a(k[a+184>>2]|0,q)|0;k[a+184>>2]=B;B=U2a(k[a+188>>2]|0,s)|0;k[a+188>>2]=B;B=U2a(k[a+192>>2]|0,q)|0;k[a+192>>2]=B;B=U2a(k[a+196>>2]|0,s)|0;k[a+196>>2]=B}k[F+80>>2]=0}}while(0);if(n<<24>>24)D=128}while(0);if((D|0)==128)Si[k[E+516>>2]&1023](a);if(!(C<<24>>24)){E=k[F+80>>2]|0;r=F;return E|0}E=k[(k[E+128>>2]|0)+48>>2]|0;Di[k[(k[E>>2]|0)+4>>2]&511](k[E+4>>2]|0,F+32|0);E=k[F+80>>2]|0;r=F;return E|0}function H$a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=r;r=r+16|0;c=k[a>>2]|0;d=k[a+24>>2]|0;j[g+6>>1]=0;j[g+4>>1]=0;j[g+2>>1]=0;j[g>>1]=0;e=rTa(d)|0;Bi[k[(k[c+532>>2]|0)+112>>2]&15](c,0,b,g+6|0,g+2|0);f=k[a+48>>2]|0;do if(!(i[c+292>>0]|0))if((j[c+364>>1]|0)==-1){j[g+4>>1]=(m[c+220>>1]|0)-f;b=k[c+220>>2]|0;j[g>>1]=((b<<16>>16)-(b>>16)|0)<0?0-((b<<16>>16)-(b>>16))|0:(b<<16>>16)-(b>>16)|0;break}else{j[g+4>>1]=(m[c+434>>1]|0)-f;b=(j[c+434>>1]|0)-(j[c+436>>1]|0)|0;j[g>>1]=(b|0)<0?0-b|0:b;break}else Bi[k[(k[c+532>>2]|0)+112>>2]&15](c,1,b,g+4|0,g);while(0);c=pTa(d,e)|0;if(c|0){a=c;r=g;return a|0}k[a+52>>2]=j[g+6>>1];c=m[g+2>>1]|0;k[a+56>>2]=c;k[a+176>>2]=j[g+4>>1];k[a+180>>2]=m[g>>1];if(i[a+64>>0]|0){a=0;r=g;return a|0}i[a+64>>0]=1;k[a+60>>2]=c;a=0;r=g;return a|0}function I$a(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,l=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;K=r;r=r+16|0;J=k[a+28>>2]|0;k[K>>2]=0;if(b<<24>>24==0|(c|0)==0){J=6;r=K;return J|0}if((k[c+32>>2]|0)>>>0<=d>>>0){J=0;r=K;return J|0}I=k[c+36>>2]|0;if((k[I+(d<<2)>>2]|0)==(k[I+(d+1<<2)>>2]|0)){J=0;r=K;return J|0}I=WTa(J,8,0,f,0,K+8|0)|0;if(!(k[K+8>>2]|0)){b=WTa(J,1,0,f,0,K+8|0)|0;if(!(k[K+8>>2]|0)){H=pTa(a,k[(k[c+36>>2]|0)+(d<<2)>>2]|0)|0;k[K+8>>2]=H;if(!H){H=k[c+36>>2]|0;H=wTa(a,(k[H+(d+1<<2)>>2]|0)-(k[H+(d<<2)>>2]|0)|0)|0;k[K+8>>2]=H;if(!H){h=(k[a+32>>2]|0)-(k[a>>2]|0)|0;H=WTa(J,4,0,k[c>>2]|0,0,K+8|0)|0;a:do if(!(k[K+8>>2]|0)){d=WTa(J,4,0,k[c>>2]|0,0,K+8|0)|0;if(!(k[K+8>>2]|0)){g=WTa(J,4,0,k[c>>2]|0,0,K+8|0)|0;if(!(k[K+8>>2]|0)){G=(ATa(a)|0)&65535;h=((ATa(a)|0)&65535)+h|0;if(!(G&32768))F=0;else{F=k[a>>2]|0;E=(k[a+32>>2]|0)-F|0;k[a+32>>2]=F+h;F=o$a(a,K)|0;D=k[a>>2]|0;h=(k[a+32>>2]|0)-D|0;k[a+32>>2]=D+E}if(G&4095){D=k[K>>2]|0;E=0;l=0;while(1){C=(ATa(a)|0)&65535;p=ATa(a)|0;if(!(p&32768)){if((p&4095)>>>0>=(k[c+24>>2]|0)>>>0)break;B=k[c>>2]|0;A=ha(B,p&4095)|0;ABb(H|0,(k[c+28>>2]|0)+(A<<2)|0,B<<2|0)|0}else if(k[c>>2]|0){n=0;do{B=(ATa(a)|0)<<16>>16<<2;k[H+(n<<2)>>2]=B;n=n+1|0}while(n>>>0<(k[c>>2]|0)>>>0)}if(p&16384|0)if(k[c>>2]|0){o=0;do{n=(ATa(a)|0)<<16>>16<<2;k[d+(o<<2)>>2]=n;o=o+1|0;n=k[c>>2]|0}while(o>>>0>>0);if(n|0){n=0;do{B=(ATa(a)|0)<<16>>16<<2;k[g+(n<<2)>>2]=B;n=n+1|0}while(n>>>0<(k[c>>2]|0)>>>0)}}q=n$a(c,p,H,d,g)|0;if(q){n=k[a>>2]|0;B=(k[a+32>>2]|0)-n|0;if(!(p&8192)){k[K+4>>2]=D;p=D;n=F}else{k[a+32>>2]=n+h;n=o$a(a,K+4|0)|0;p=k[K+4>>2]|0;l=n}o=(p|0)==0;A=o?f:p;z=p$a(a,A)|0;A=p$a(a,A)|0;b:do if(!((z|0)==0|((n|0)==0|(A|0)==0))){if((n|0)==(-1|0)){if(!f)break;else n=0;while(1){y=U2a(j[z+(n<<1)>>1]|0,q)|0;x=(k[e+4>>2]|0)+(n<<3)|0;k[x>>2]=(k[x>>2]|0)+y;x=U2a(j[A+(n<<1)>>1]|0,q)|0;y=(k[e+4>>2]|0)+(n<<3)+4|0;k[y>>2]=(k[y>>2]|0)+x;n=n+1|0;if((n|0)==(f|0))break b}}if(f|0){n=0;do{w=(k[e+4>>2]|0)+(n<<3)|0;x=k[w+4>>2]|0;y=I+(n<<3)|0;k[y>>2]=k[w>>2];k[y+4>>2]=x;i[b+n>>0]=0;n=n+1|0}while((n|0)!=(f|0))}if(!o){o=0;do{n=m[l+(o<<1)>>1]|0;if(n>>>0>>0){i[b+n>>0]=1;y=U2a(j[z+(o<<1)>>1]|0,q)|0;x=(k[e+4>>2]|0)+(n<<3)|0;k[x>>2]=(k[x>>2]|0)+y;x=U2a(j[A+(o<<1)>>1]|0,q)|0;y=(k[e+4>>2]|0)+(n<<3)+4|0;k[y>>2]=(k[y>>2]|0)+x}o=o+1|0}while(o>>>0

>>0)}if(!(j[e>>1]|0))break;x=k[e+4>>2]|0;y=0;u=0;while(1){w=j[(k[e+12>>2]|0)+(y<<16>>16<<1)>>1]|0;c:do if(u>>>0>w>>>0)n=u;else{n=u;while(1){if(i[b+n>>0]|0)break;n=n+1|0;if(n>>>0>w>>>0)break c}o=n;d:while(1){p=o;while(1){v=p+1|0;if(v>>>0>w>>>0)break d;if(!(i[b+v>>0]|0))p=v;else break}J$a(o+1|0,p,o,v,I,x);o=v}if((o|0)!=(n|0)){J$a(o+1|0,w,o,n,I,x);if(!n){n=v;break}J$a(u,n+-1|0,o,n,I,x);n=v;break}p=k[x+(n<<3)>>2]|0;q=k[I+(n<<3)>>2]|0;s=k[x+(n<<3)+4>>2]|0;t=k[I+(n<<3)+4>>2]|0;if((p|0)==(q|0)&(s|0)==(t|0)){n=v;break}if((u|0)<(n|0)){o=u;do{u=x+(o<<3)|0;k[u>>2]=(k[u>>2]|0)+(p-q);u=x+(o<<3)+4|0;k[u>>2]=(k[u>>2]|0)+(s-t);o=o+1|0}while((o|0)!=(n|0))}if((n|0)>=(w|0)){n=v;break}do{n=n+1|0;u=x+(n<<3)|0;k[u>>2]=(k[u>>2]|0)+(p-q);u=x+(n<<3)+4|0;k[u>>2]=(k[u>>2]|0)+(s-t)}while((n|0)!=(w|0));n=v}while(0);y=y+1<<16>>16;if(y<<16>>16>=(j[e>>1]|0))break;else u=n}}while(0);if((l|0)==(-1|0))l=-1;else{YTa(J,l);l=0}YTa(J,z);YTa(J,A);k[a+32>>2]=(k[a>>2]|0)+B}E=E+1|0;if(E>>>0>=(G&4095)>>>0)break a;else h=C+h|0}k[K+8>>2]=8}}}else g=0}else{g=0;d=0}while(0);YTa(J,H);YTa(J,d);YTa(J,g);yTa(a)}}}}else b=0;YTa(J,I);YTa(J,b);J=k[K+8>>2]|0;r=K;return J|0}function J$a(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,l=0,m=0,n=0;if((a|0)>(b|0))return;h=(k[e+(c<<3)>>2]|0)>(k[e+(d<<3)>>2]|0);n=h?c:d;h=h?d:c;l=k[e+(h<<3)>>2]|0;m=k[e+(n<<3)>>2]|0;i=k[f+(h<<3)>>2]|0;j=k[f+(n<<3)>>2]|0;if((m|0)==(l|0)|(j|0)==(i|0)){d=a;while(1){c=k[e+(d<<3)>>2]|0;if((c|0)>(l|0))c=(c|0)<(m|0)?i:c+(j-m)|0;else c=c+(i-l)|0;k[f+(d<<3)>>2]=c;if((d|0)<(b|0))d=d+1|0;else break}}else{d=V2a(j-i|0,m-l|0)|0;g=a;while(1){c=k[e+(g<<3)>>2]|0;do if((c|0)>(l|0))if((c|0)<(m|0)){c=(U2a(c-l|0,d)|0)+i|0;break}else{c=c+(j-m)|0;break}else c=c+(i-l)|0;while(0);k[f+(g<<3)>>2]=c;if((g|0)<(b|0))g=g+1|0;else break}}j=(k[e+4+(h<<3)>>2]|0)>(k[e+4+(n<<3)>>2]|0);l=j?h:n;j=j?n:h;h=k[e+4+(j<<3)>>2]|0;i=k[e+4+(l<<3)>>2]|0;j=k[f+4+(j<<3)>>2]|0;l=k[f+4+(l<<3)>>2]|0;if((i|0)==(h|0)|(l|0)==(j|0)){d=a;while(1){c=k[e+4+(d<<3)>>2]|0;if((c|0)>(h|0))c=(c|0)<(i|0)?j:c+(l-i)|0;else c=c+(j-h)|0;k[f+4+(d<<3)>>2]=c;if((d|0)<(b|0))d=d+1|0;else break}return}g=V2a(l-j|0,i-h|0)|0;d=a;while(1){c=k[e+4+(d<<3)>>2]|0;do if((c|0)>(h|0))if((c|0)<(i|0)){c=(U2a(c-h|0,g)|0)+j|0;break}else{c=c+(l-i)|0;break}else c=c+(j-h)|0;while(0);k[f+4+(d<<3)>>2]=c;if((d|0)<(b|0))d=d+1|0;else break}return}function K$a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,n=0,o=0;g=k[(k[a+8>>2]|0)+140>>2]|0;if((g|0)>0)ABb(k[a+136>>2]|0,k[a+140>>2]|0,m[a+132>>1]<<3|0)|0;d=(k[a+160>>2]|0)+284|0;e=(k[a+4>>2]|0)+172|0;f=d+68|0;do{k[d>>2]=k[e>>2];d=d+4|0;e=e+4|0}while((d|0)<(f|0));if(!(b<<24>>24)){n=k[a+4>>2]|0;o=k[a+160>>2]|0;k[o+220>>2]=k[n+48>>2];k[o+224>>2]=k[n+52>>2];o=a+140|0;n=a+132|0}else{o=k[a+160>>2]|0;k[o+220>>2]=65536;k[o+224>>2]=65536;ABb(k[a+144>>2]|0,k[a+140>>2]|0,m[a+132>>1]<<3|0)|0;o=a+140|0;n=a+132|0}d=j[n>>1]|0;c=k[o>>2]|0;k[c+((d&65535)+-4<<3)>>2]=(k[c+((d&65535)+-4<<3)>>2]|0)+32&-64;k[c+((d&65535)+-3<<3)>>2]=(k[c+((d&65535)+-3<<3)>>2]|0)+32&-64;k[c+((d&65535)+-2<<3)+4>>2]=(k[c+((d&65535)+-2<<3)+4>>2]|0)+32&-64;k[c+((d&65535)+-1<<3)+4>>2]=(k[c+((d&65535)+-1<<3)+4>>2]|0)+32&-64;if((g|0)>0){h=k[(k[a+12>>2]|0)+64>>2]|0;d=k[a+160>>2]|0;k[d+460>>2]=k[d+392>>2];k[d+464>>2]=g;i[d+560>>0]=b;d=d+144|0;e=a+124|0;f=d+36|0;do{k[d>>2]=k[e>>2];d=d+4|0;e=e+4|0}while((d|0)<(f|0));c=k[a+160>>2]|0;k[c+356>>2]=k[c+460>>2];k[c+364>>2]=k[c+464>>2];k[c+360>>2]=0;k[c+352>>2]=3;d=c+36|0;e=c+144|0;f=d+36|0;do{k[d>>2]=k[e>>2];d=d+4|0;e=e+4|0}while((d|0)<(f|0));d=c+72|0;e=c+144|0;f=d+36|0;do{k[d>>2]=k[e>>2];d=d+4|0;e=e+4|0}while((d|0)<(f|0));d=c+108|0;e=c+144|0;f=d+36|0;do{k[d>>2]=k[e>>2];d=d+4|0;e=e+4|0}while((d|0)<(f|0));j[c+344>>1]=1;j[c+346>>1]=1;j[c+348>>1]=1;j[c+294>>1]=16384;j[c+296>>1]=0;d=m[c+294>>1]|m[c+294+2>>1]<<16;j[c+298>>1]=d;j[c+298+2>>1]=d>>>16;j[c+290>>1]=d;j[c+290+2>>1]=d>>>16;k[c+312>>2]=1;k[c+304>>2]=1;k[c+16>>2]=0;k[c+428>>2]=0;d=Gi[k[(k[c>>2]|0)+652>>2]&2047](c)|0;c=k[a+160>>2]|0;if(d|0)if(i[c+561>>0]|0){a=d;return a|0}i[h>>0]=k[c+340>>2]<<5|l[h>>0]|4;d=j[n>>1]|0;c=k[o>>2]|0}n=d&65535;h=c+(n+-4<<3)|0;o=k[h+4>>2]|0;k[a+68>>2]=k[h>>2];k[a+68+4>>2]=o;o=c+(n+-3<<3)|0;h=k[o+4>>2]|0;k[a+76>>2]=k[o>>2];k[a+76+4>>2]=h;h=c+(n+-2<<3)|0;o=k[h+4>>2]|0;k[a+184>>2]=k[h>>2];k[a+184+4>>2]=o;n=c+(n+-1<<3)|0;o=k[n+4>>2]|0;k[a+192>>2]=k[n>>2];k[a+192+4>>2]=o;a=0;return a|0}function L$a(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;do if(a|0){b=k[a+8>>2]|0;a=UTa(b,612,c)|0;if(!(k[c>>2]|0)){k[a+8>>2]=b;k[a+432>>2]=32;b=WTa(b,16,0,32,0,c+4|0)|0;k[a+436>>2]=b;if(!(k[c+4>>2]|0)){j[a+440>>1]=0;j[a+442>>1]=0;k[a+20>>2]=0;k[a+388>>2]=0;k[a+24>>2]=0;k[a+392>>2]=0;k[a>>2]=0;k[a+4>>2]=0;k[c>>2]=0;b=a;r=c;return b|0}else{b=k[a+8>>2]|0;j[a+440>>1]=0;j[a+442>>1]=0;YTa(b,k[a+24>>2]|0);k[a+24>>2]=0;k[a+20>>2]=0;YTa(b,k[a+436>>2]|0);k[a+436>>2]=0;k[a+432>>2]=0;k[a+428>>2]=0;YTa(b,k[a+392>>2]|0);k[a+392>>2]=0;k[a+388>>2]=0;k[a+4>>2]=0;k[a>>2]=0;YTa(b,a);b=k[c+4>>2]|0;k[c>>2]=b;if(b)break;r=c;return a|0}}}while(0);b=0;r=c;return b|0}function M$a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,n=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0;g=0;ea=r;r=r+5984|0;k[a+256>>2]=0;ca=k[a+216>>2]|0;k[a+592>>2]=(ca&65535)<<16>>16==(ca>>>16&65535)<<16>>16?1541:1542;k[a+596>>2]=(ca&65535)<<16>>16==(ca>>>16&65535)<<16>>16?364:365;k[a+600>>2]=(ca&65535)<<16>>16==(ca>>>16&65535)<<16>>16?110:111;k[a+604>>2]=(ca&65535)<<16>>16==(ca>>>16&65535)<<16>>16?112:113;V$a(a);switch(k[a+312>>2]&255|0){case 5:{k[a+568>>2]=136;Y=a+568|0;break}case 1:{k[a+568>>2]=137;Y=a+568|0;break}case 4:{k[a+568>>2]=138;Y=a+568|0;break}case 3:{k[a+568>>2]=139;Y=a+568|0;break}case 0:{k[a+568>>2]=140;Y=a+568|0;break}case 2:{k[a+568>>2]=141;Y=a+568|0;break}case 6:{k[a+568>>2]=142;Y=a+568|0;break}case 7:{k[a+568>>2]=143;Y=a+568|0;break}default:Y=a+568|0}e=k[a+360>>2]|0;ca=0;a:while(1){F=k[a+356>>2]|0;G=i[F+e>>0]|0;i[a+368>>0]=G;c=i[590649+(G&255)>>0]|0;k[a+372>>2]=c;if((G&255|1|0)==65){d=e+1|0;b=k[a+364>>2]|0;if((d|0)>=(b|0)){g=844;break}E=2-(ha(l[F+d>>0]|0,c)|0)|0;k[a+372>>2]=E}else{E=c;b=k[a+364>>2]|0}if((E+e|0)>(b|0)){g=844;break}e=i[590905+(G&255)>>0]|0;b=(k[a+16>>2]|0)-((e&255)>>>4)|0;k[a+28>>2]=b;if((b|0)<0){if(i[a+561>>0]|0){g=21;break}if((e&255)>15){b=k[a+24>>2]|0;c=0;d=0;do{k[b+(c<<2)>>2]=0;d=d+1<<16>>16;c=d&65535}while(c>>>0<(e&255)>>>4>>>0)}k[a+28>>2]=0;D=0}else D=b;w=(e&15)+D|0;k[a+32>>2]=w;x=k[a+20>>2]|0;if((w|0)>(x|0)){g=25;break}i[a+376>>0]=1;k[a+12>>2]=0;B=k[a+24>>2]|0;y=B+(D<<2)|0;b:do{z=1;A=G&255|0;if(z){z=0;switch(A|0){case 79:{g=470;break a}case 5:case 4:case 3:case 2:case 1:case 0:{if((G&255)<4){j[a+294>>1]=(G&255)<<14&16384;j[a+296>>1]=(G&255)<<14&16384^16384;j[a+290>>1]=(G&255)<<14&16384;j[a+292>>1]=(G&255)<<14&16384^16384}if(!(G&2)){j[a+298>>1]=(G&255)<<14&16384;j[a+300>>1]=(G&255)<<14&16384^16384}V$a(a);g=821;break}case 7:case 6:{c=k[y>>2]|0;b=k[y+4>>2]|0;if((m[a+116>>1]|0)>(b&65535))if((m[a+80>>1]|0)>(c&65535)){F=k[a+88>>2]|0;E=k[a+124>>2]|0;B=k[F+((c&65535)<<3)>>2]|0;D=k[E+((b&65535)<<3)>>2]|0;F=k[F+((c&65535)<<3)+4>>2]|0;b=k[E+((b&65535)<<3)+4>>2]|0;E=(B|0)==(D|0)&(F|0)==(b|0)?16384:B-D|0;c=(G&1)==0|(B|0)==(D|0)&(F|0)==(b|0)?F-b|0:E;b=(G&1)==0|(B|0)==(D|0)&(F|0)==(b|0)?E:0-(F-b)|0;if((((b|0)<0?0-b|0:b)|0)<16384)if((((c|0)<0?0-c|0:c)|0)<16384){if(c|b|0){N=b<<14;R=c<<14;g=40}}else{N=b;R=c;g=40}else{N=b;R=c;g=40}if((g|0)==40){G=(R2a(N,R)|0)<<2;F=(V2a(N,G)|0)&65535;j[a+294>>1]=F;G=(V2a(R,G)|0)&65535;j[a+296>>1]=G}g=m[a+294>>1]|m[a+294+2>>1]<<16;j[a+290>>1]=g;j[a+290+2>>1]=g>>>16;V$a(a);g=821;break b}if(!(i[a+561>>0]|0))g=821;else{g=35;break a}break}case 9:case 8:{c=k[y>>2]|0;b=k[y+4>>2]|0;if((m[a+116>>1]|0)>(b&65535))if((m[a+80>>1]|0)>(c&65535)){F=k[a+88>>2]|0;E=k[a+124>>2]|0;B=k[F+((c&65535)<<3)>>2]|0;D=k[E+((b&65535)<<3)>>2]|0;F=k[F+((c&65535)<<3)+4>>2]|0;b=k[E+((b&65535)<<3)+4>>2]|0;E=(B|0)==(D|0)&(F|0)==(b|0)?16384:B-D|0;c=(G&1)==0|(B|0)==(D|0)&(F|0)==(b|0)?F-b|0:E;b=(G&1)==0|(B|0)==(D|0)&(F|0)==(b|0)?E:0-(F-b)|0;if((((b|0)<0?0-b|0:b)|0)<16384)if((((c|0)<0?0-c|0:c)|0)<16384){if(c|b|0){O=b<<14;S=c<<14;g=50}}else{O=b;S=c;g=50}else{O=b;S=c;g=50}if((g|0)==50){G=(R2a(O,S)|0)<<2;F=(V2a(O,G)|0)&65535;j[a+298>>1]=F;G=(V2a(S,G)|0)&65535;j[a+300>>1]=G}V$a(a);g=821;break b}if(!(i[a+561>>0]|0))g=821;else{g=45;break a}break}case 10:{b=k[y+4>>2]<<16;c=k[y>>2]<<16;if((((c|0)<0?0-(c>>16)|0:c>>16)|0)<16384)if((((b|0)<0?0-(b>>16)|0:b>>16)|0)<16384){if(b>>16|c>>16|0){P=c>>2;T=b>>2;g=56}}else{P=c>>16;T=b>>16;g=56}else{P=c>>16;T=b>>16;g=56}if((g|0)==56){v=(R2a(P,T)|0)<<2;u=(V2a(P,v)|0)&65535;j[a+294>>1]=u;v=(V2a(T,v)|0)&65535;j[a+296>>1]=v}g=m[a+294>>1]|m[a+294+2>>1]<<16;j[a+290>>1]=g;j[a+290+2>>1]=g>>>16;V$a(a);g=821;break}case 11:{b=k[y+4>>2]<<16;c=k[y>>2]<<16;if((((c|0)<0?0-(c>>16)|0:c>>16)|0)<16384)if((((b|0)<0?0-(b>>16)|0:b>>16)|0)<16384){if(b>>16|c>>16|0){Q=c>>2;U=b>>2;g=62}}else{Q=c>>16;U=b>>16;g=62}else{Q=c>>16;U=b>>16;g=62}if((g|0)==62){v=(R2a(Q,U)|0)<<2;u=(V2a(Q,v)|0)&65535;j[a+298>>1]=u;v=(V2a(U,v)|0)&65535;j[a+300>>1]=v}V$a(a);g=821;break}case 12:{g=j[a+296>>1]|0;k[y>>2]=j[a+294>>1];k[y+4>>2]=g<<16>>16;g=821;break}case 13:{g=j[a+300>>1]|0;k[y>>2]=j[a+298>>1];k[y+4>>2]=g<<16>>16;g=821;break}case 14:{g=m[a+294>>1]|m[a+294+2>>1]<<16;j[a+298>>1]=g;j[a+298+2>>1]=g>>>16;V$a(a);g=821;break}case 15:{q=k[y>>2]|0;s=k[y+4>>2]|0;t=k[y+8>>2]|0;u=k[y+12>>2]&65535;b=m[a+44>>1]|0;if(u>>>0>>0){v=k[y+16>>2]&65535;if(v>>>0>>0){b=m[a+80>>1]|0;if((s&65535)>>>0>>0)if((t&65535)>>>0>>0)if((q&65535)>>>0<(m[a+116>>1]|0)>>>0){e=k[a+52>>2]|0;b=k[e+(u<<3)>>2]|0;c=(k[e+(v<<3)>>2]|0)-b|0;d=k[e+(u<<3)+4>>2]|0;e=(k[e+(v<<3)+4>>2]|0)-d|0;n=k[a+88>>2]|0;f=k[n+((s&65535)<<3)>>2]|0;g=(k[n+((t&65535)<<3)>>2]|0)-f|0;h=k[n+((s&65535)<<3)+4>>2]|0;n=(k[n+((t&65535)<<3)+4>>2]|0)-h|0;p=(k[a+132>>2]|0)+(q&65535)|0;i[p>>0]=l[p>>0]|24;p=S2a(g,0-e|0,64)|0;p=(S2a(n,c,64)|0)+p|0;G=S2a(g,c,64)|0;G=(S2a(n,e,64)|0)+G|0;if((((p|0)<0?0-p|0:p)*19|0)>(((G|0)<0?0-G|0:G)|0)){G=S2a(b-f|0,0-e|0,64)|0;G=(S2a(d-h|0,c,64)|0)+G|0;E=S2a(G,g,p)|0;G=S2a(G,n,p)|0;F=k[a+88>>2]|0;g=k[a+124>>2]|0;k[g+((q&65535)<<3)>>2]=(k[F+((s&65535)<<3)>>2]|0)+E;k[g+((q&65535)<<3)+4>>2]=(k[F+((s&65535)<<3)+4>>2]|0)+G;g=821;break b}else{F=k[a+88>>2]|0;G=k[a+52>>2]|0;g=k[a+124>>2]|0;k[g+((q&65535)<<3)>>2]=((k[F+((t&65535)<<3)>>2]|0)+(k[F+((s&65535)<<3)>>2]|0)+(k[G+(u<<3)>>2]|0)+(k[G+(v<<3)>>2]|0)|0)/4|0;k[g+((q&65535)<<3)+4>>2]=((k[F+((t&65535)<<3)+4>>2]|0)+(k[F+((s&65535)<<3)+4>>2]|0)+(k[G+(u<<3)+4>>2]|0)+(k[G+(v<<3)+4>>2]|0)|0)/4|0;g=821;break b}}}}if(!(i[a+561>>0]|0))g=821;else{g=73;break a}break}case 16:{j[a+284>>1]=k[y>>2];g=821;break}case 17:{j[a+286>>1]=k[y>>2];g=821;break}case 18:{j[a+288>>1]=k[y>>2];g=821;break}case 19:{switch(k[y>>2]|0){case 0:{b=a+36|0;c=a+180|0;d=b+36|0;do{k[b>>2]=k[c>>2];b=b+4|0;c=c+4|0}while((b|0)<(d|0));break}case 1:{b=a+36|0;c=a+144|0;d=b+36|0;do{k[b>>2]=k[c>>2];b=b+4|0;c=c+4|0}while((b|0)<(d|0));break}default:if(!(i[a+561>>0]|0)){g=821;break b}else{g=84;break a}}j[a+344>>1]=k[y>>2];g=821;break}case 20:{switch(k[y>>2]|0){case 0:{b=a+72|0;c=a+180|0;d=b+36|0;do{k[b>>2]=k[c>>2];b=b+4|0;c=c+4|0}while((b|0)<(d|0));break}case 1:{b=a+72|0;c=a+144|0;d=b+36|0;do{k[b>>2]=k[c>>2];b=b+4|0;c=c+4|0}while((b|0)<(d|0));break}default:if(!(i[a+561>>0]|0)){g=821;break b}else{g=90;break a}}j[a+346>>1]=k[y>>2];g=821;break}case 21:{switch(k[y>>2]|0){case 0:{b=a+108|0;c=a+180|0;d=b+36|0;do{k[b>>2]=k[c>>2];b=b+4|0;c=c+4|0}while((b|0)<(d|0));break}case 1:{b=a+108|0;c=a+144|0;d=b+36|0;do{k[b>>2]=k[c>>2];b=b+4|0;c=c+4|0}while((b|0)<(d|0));break}default:if(!(i[a+561>>0]|0)){g=821;break b}else{g=96;break a}}j[a+348>>1]=k[y>>2];g=821;break}case 22:{switch(k[y>>2]|0){case 0:{b=a+36|0;c=a+180|0;d=b+36|0;do{k[b>>2]=k[c>>2];b=b+4|0;c=c+4|0}while((b|0)<(d|0));break}case 1:{b=a+36|0;c=a+144|0;d=b+36|0;do{k[b>>2]=k[c>>2];b=b+4|0;c=c+4|0}while((b|0)<(d|0));break}default:if(!(i[a+561>>0]|0)){g=821;break b}else{g=102;break a}}b=a+72|0;c=a+36|0;d=b+36|0;do{k[b>>2]=k[c>>2];b=b+4|0;c=c+4|0}while((b|0)<(d|0));b=a+108|0;c=a+36|0;d=b+36|0;do{k[b>>2]=k[c>>2];b=b+4|0;c=c+4|0}while((b|0)<(d|0));g=k[y>>2]&65535;j[a+344>>1]=g;j[a+346>>1]=g;j[a+348>>1]=g;g=821;break}case 23:{b=k[y>>2]|0;if((b|0)<0){g=105;break a}k[a+304>>2]=b;g=821;break}case 24:{k[a+312>>2]=1;k[Y>>2]=137;g=821;break}case 25:{k[a+312>>2]=0;k[Y>>2]=140;g=821;break}case 26:{k[a+308>>2]=k[y>>2];g=821;break}default:z=1}}if(z){z=0;switch(A|0){case 27:{e=k[a+364>>2]|0;b=E;c=k[a+360>>2]|0;f=1;while(1){c:while(1){c=b+c|0;k[a+360>>2]=c;if((c|0)>=(e|0)){g=117;break a}d=i[F+c>>0]|0;i[a+368>>0]=d;b=i[590649+(d&255)>>0]|0;k[a+372>>2]=b;if((d&255|1|0)==65){if((c+1|0)>=(e|0)){g=117;break a}b=2-(ha(l[F+(c+1)>>0]|0,b)|0)|0;k[a+372>>2]=b}if((b+c|0)>(e|0)){g=117;break a}switch(d&255|0){case 88:{V=b;g=119;break c}case 89:{W=b;g=120;break c}default:{}}}if((g|0)==119){aa=V;ba=c;da=f+1|0}else if((g|0)==120){aa=W;ba=c;da=f+-1|0}if(!da){g=821;break}else{b=aa;c=ba;f=da}}break}case 28:{b=k[y>>2]|0;if(!(b|D))k[a+12>>2]=132;b=(k[a+360>>2]|0)+b|0;k[a+360>>2]=b;if((b|0)<0)g=127;else{c=k[a+428>>2]|0;if((c|0)>0)if((b|0)>(k[(k[(k[a+436>>2]|0)+(c+-1<<4)+12>>2]|0)+8>>2]|0))g=127}if((g|0)==127)k[a+12>>2]=132;i[a+376>>0]=0;g=821;break}case 29:{k[a+320>>2]=k[y>>2];g=821;break}case 30:{k[a+324>>2]=k[y>>2];g=821;break}case 31:{g=U2a(k[y>>2]|0,k[a+260>>2]|0)|0;k[a+328>>2]=g;g=821;break}case 32:{k[y+4>>2]=k[y>>2];g=821;break}case 127:case 126:case 89:case 33:{g=837;break}case 34:{k[a+32>>2]=0;g=821;break}case 35:{g=k[y>>2]|0;k[y>>2]=k[y+4>>2];k[y+4>>2]=g;g=821;break}case 36:{k[y>>2]=k[a+16>>2];g=821;break}case 37:{b=k[y>>2]|0;if((b|0)<1|(D|0)<(b|0))if(!(i[a+561>>0]|0))b=0;else{k[a+12>>2]=134;b=0}else b=k[B+(D-b<<2)>>2]|0;k[y>>2]=b;g=821;break}case 38:{b=k[y>>2]|0;if((b|0)<1|(D|0)<(b|0))if(!(i[a+561>>0]|0)){g=821;break b}else{g=143;break a}else{G=D-b|0;g=k[B+(G<<2)>>2]|0;BBb(B+(G<<2)|0,B+(G+1<<2)|0,(b<<2)+-4|0)|0;k[(k[a+24>>2]|0)+((k[a+28>>2]|0)+-1<<2)>>2]=g;g=821;break b}}case 39:{c=k[y>>2]|0;b=k[y+4>>2]|0;if((c&65535)>>>0<(m[a+80>>1]|0)>>>0)if((b&65535)>>>0<(m[a+44>>1]|0)>>>0){G=k[a+52>>2]|0;g=k[a+88>>2]|0;g=(Ri[k[a+572>>2]&255](a,(k[G+((b&65535)<<3)>>2]|0)-(k[g+((c&65535)<<3)>>2]|0)|0,(k[G+((b&65535)<<3)+4>>2]|0)-(k[g+((c&65535)<<3)+4>>2]|0)|0)|0)/2|0;vj[k[a+584>>2]&127](a,a+72|0,c&65535,g);vj[k[a+584>>2]&127](a,a+36|0,b&65535,0-g|0);g=821;break b}if(!(i[a+561>>0]|0))g=821;else{g=148;break a}break}case 40:{b=k[a+416>>2]|0;d=k[a+408>>2]|0;d:do if((d|0)>0){c=b;while(1){if(G<<24>>24==(k[c+12>>2]&255)<<24>>24)if(i[c+16>>0]|0)break;c=c+24|0;if(c>>>0>=(b+(d*24|0)|0)>>>0)break d}b=k[a+428>>2]|0;if((b|0)>=(k[a+432>>2]|0)){g=154;break a}e=k[a+436>>2]|0;k[a+428>>2]=b+1;k[e+(b<<4)>>2]=k[a+352>>2];k[e+(b<<4)+4>>2]=(k[a+360>>2]|0)+1;k[e+(b<<4)+8>>2]=1;k[e+(b<<4)+12>>2]=c;e=k[c>>2]|0;b=k[c+4>>2]|0;do if((e+-1|0)>>>0>2)k[a+12>>2]=132;else{c=k[a+444+(e+-1<<3)>>2]|0;if(!c){k[a+12>>2]=138;break}d=k[a+444+(e+-1<<3)+4>>2]|0;if((d|0)<(b|0)){k[a+12>>2]=131;break}else{k[a+356>>2]=c;k[a+364>>2]=d;k[a+360>>2]=b;k[a+352>>2]=e;break}}while(0);i[a+376>>0]=0;g=821;break b}while(0);k[a+12>>2]=128;Z=b;_=d;g=823;break}case 41:{c=k[y>>2]&65535;if(c>>>0>=(m[a+44>>1]|0)>>>0)if(!(i[a+561>>0]|0)){g=821;break b}else{g=167;break a}b=(j[a+298>>1]|0)==0?-1:-9;if(j[a+300>>1]|0)b=b&239;g=(k[a+60>>2]|0)+c|0;i[g>>0]=i[g>>0]&b;g=821;break}case 42:{c=k[y+4>>2]|0;b=(k[a+420>>2]|0)+1|0;if(c>>>0>=b>>>0){g=190;break a}d=k[a+404>>2]|0;e=k[a+396>>2]|0;if((b|0)==(e|0))if((k[d+(c*24|0)+12>>2]|0)==(c|0))I=d+(c*24|0)|0;else g=174;else g=174;if((g|0)==174){e:do if((e|0)>0){b=d;do{if((k[b+12>>2]|0)==(c|0))break e;b=b+24|0}while(b>>>0<(d+(e*24|0)|0)>>>0)}else b=d;while(0);if((b|0)==(d+(e*24|0)|0)){g=190;break a}else I=b}if(!(i[I+16>>0]|0)){g=190;break a}b=k[a+428>>2]|0;if((b|0)>=(k[a+432>>2]|0)){g=180;break a}if((k[y>>2]|0)>0){c=k[a+436>>2]|0;k[c+(b<<4)>>2]=k[a+352>>2];k[c+(b<<4)+4>>2]=(k[a+360>>2]|0)+1;k[c+(b<<4)+8>>2]=k[y>>2];k[c+(b<<4)+12>>2]=I;k[a+428>>2]=b+1;b=k[I>>2]|0;c=k[I+4>>2]|0;do if((b+-1|0)>>>0>2)k[a+12>>2]=132;else{d=k[a+444+(b+-1<<3)>>2]|0;if(!d){k[a+12>>2]=138;break}e=k[a+444+(b+-1<<3)+4>>2]|0;if((e|0)<(c|0)){k[a+12>>2]=131;break}else{k[a+356>>2]=d;k[a+364>>2]=e;k[a+360>>2]=c;k[a+352>>2]=b;break}}while(0);i[a+376>>0]=0;g=821}else g=821;break}case 43:{c=k[y>>2]|0;b=(k[a+420>>2]|0)+1|0;if(b>>>0<=c>>>0){g=209;break a}d=k[a+404>>2]|0;e=k[a+396>>2]|0;if((b|0)==(e|0))if((k[d+(c*24|0)+12>>2]|0)==(c|0))L=d+(c*24|0)|0;else g=194;else g=194;if((g|0)==194){f:do if((e|0)>0){b=d;do{if((k[b+12>>2]|0)==(c|0))break f;b=b+24|0}while(b>>>0<(d+(e*24|0)|0)>>>0)}else b=d;while(0);if((b|0)==(d+(e*24|0)|0)){g=209;break a}else L=b}if(!(i[L+16>>0]|0)){g=209;break a}b=k[a+428>>2]|0;if((b|0)>=(k[a+432>>2]|0)){g=200;break a}c=k[a+436>>2]|0;k[c+(b<<4)>>2]=k[a+352>>2];k[c+(b<<4)+4>>2]=(k[a+360>>2]|0)+1;k[c+(b<<4)+8>>2]=1;k[c+(b<<4)+12>>2]=L;k[a+428>>2]=b+1;b=k[L>>2]|0;c=k[L+4>>2]|0;do if((b+-1|0)>>>0>2)k[a+12>>2]=132;else{d=k[a+444+(b+-1<<3)>>2]|0;if(!d){k[a+12>>2]=138;break}e=k[a+444+(b+-1<<3)+4>>2]|0;if((e|0)<(c|0)){k[a+12>>2]=131;break}else{k[a+356>>2]=d;k[a+364>>2]=e;k[a+360>>2]=c;k[a+352>>2]=b;break}}while(0);i[a+376>>0]=0;g=821;break}case 44:{e=k[y>>2]|0;c=k[a+404>>2]|0;d=k[a+396>>2]|0;g:do if((d|0)>0){b=c;do{if((k[b+12>>2]|0)==(e|0))break g;b=b+24|0}while(b>>>0<(c+(d*24|0)|0)>>>0)}else b=c;while(0);if((b|0)==(c+(d*24|0)|0)){if(d>>>0>=(k[a+400>>2]|0)>>>0){g=215;break a}k[a+396>>2]=d+1}if(e>>>0>65535){g=218;break a}k[b>>2]=k[a+352>>2];k[b+12>>2]=e&65535;c=k[a+360>>2]|0;k[b+4>>2]=c+1;i[b+16>>0]=1;i[b+17>>0]=0;k[b+20>>2]=0;if((k[a+420>>2]|0)>>>0>>0)k[a+420>>2]=e&65535;f=k[a+364>>2]|0;d=E;h:while(1){c=d+c|0;k[a+360>>2]=c;if((c|0)>=(f|0)){g=227;break a}e=i[F+c>>0]|0;i[a+368>>0]=e;d=i[590649+(e&255)>>0]|0;k[a+372>>2]=d;if((e&255|1|0)==65){if((c+1|0)>=(f|0)){g=227;break a}d=2-(ha(l[F+(c+1)>>0]|0,d)|0)|0;k[a+372>>2]=d}if((d+c|0)>(f|0)){g=227;break a}switch(e&255|0){case 44:case 137:{g=229;break a}case 45:break h;default:{}}}k[b+8>>2]=c;g=821;break}default:z=1}}if(z){z=0;switch(A|0){case 45:{b=k[a+428>>2]|0;if((b|0)<1){g=232;break a}k[a+428>>2]=b+-1;c=k[a+436>>2]|0;v=k[c+(b+-1<<4)+8>>2]|0;k[c+(b+-1<<4)+8>>2]=v+-1;i[a+376>>0]=0;if((v|0)>1){k[a+428>>2]=b;k[a+360>>2]=k[(k[c+(b+-1<<4)+12>>2]|0)+4>>2];g=821;break b}e=k[c+(b+-1<<4)>>2]|0;b=k[c+(b+-1<<4)+4>>2]|0;if((e+-1|0)>>>0>2){g=236;break a}c=k[a+444+(e+-1<<3)>>2]|0;if(!c){g=238;break a}d=k[a+444+(e+-1<<3)+4>>2]|0;if((d|0)<(b|0)){g=240;break a}k[a+356>>2]=c;k[a+364>>2]=d;k[a+360>>2]=b;k[a+352>>2]=e;g=821;break}case 47:case 46:{b=k[y>>2]|0;if((b&65535)>>>0>=(m[a+44>>1]|0)>>>0)if(!(i[a+561>>0]|0)){g=821;break b}else{g=244;break a}if(!(G&1))c=0;else{c=k[a+52>>2]|0;c=Ri[k[a+572>>2]&255](a,k[c+((b&65535)<<3)>>2]|0,k[c+((b&65535)<<3)+4>>2]|0)|0;c=(Ri[k[Y>>2]&255](a,c,k[a+264>>2]|0)|0)-c|0}vj[k[a+584>>2]&127](a,a+36|0,b&65535,c);j[a+284>>1]=b;j[a+286>>1]=b;g=821;break}case 49:case 48:{i:do if(j[a+154>>1]|0){if(!(G&1)){b=(k[a+156>>2]|0)+4|0;k[ea+8>>2]=b;c=(k[a+160>>2]|0)+4|0;k[ea+8+4>>2]=c;k[ea+8+8>>2]=(k[a+164>>2]|0)+4;s=16}else{b=k[a+156>>2]|0;k[ea+8>>2]=b;c=k[a+160>>2]|0;k[ea+8+4>>2]=c;k[ea+8+8>>2]=k[a+164>>2];s=8}f=j[a+152>>1]|0;k[ea+8+12>>2]=f&65535;d=0;p=0;while(1){v=(m[(k[a+172>>2]|0)+(d<<16>>16<<1)>>1]|0)-(m[a+176>>1]|0)|0;q=f&65535;q=v>>>0>>0?v:q+-1|0;j:do if(p>>>0>q>>>0)e=p;else{f=k[a+168>>2]|0;e=p;while(1){if((i[f+e>>0]&s)<<24>>24)break;e=e+1|0;if(e>>>0>q>>>0)break j}f=e;k:while(1){g=f;while(1){n=g+1|0;if(n>>>0>q>>>0)break k;if(!((i[(k[a+168>>2]|0)+n>>0]&s)<<24>>24))g=n;else break}m0a(ea+8|0,f+1|0,g,f,n);f=n}if((f|0)!=(e|0)){m0a(ea+8|0,f+1&65535,q,f,e);if(!e){e=n;break}m0a(ea+8|0,p,e+-1|0,f,e);e=n;break}g=k[c+(e<<3)>>2]|0;h=k[b+(e<<3)>>2]|0;if((g|0)==(h|0))e=n;else{if(p>>>0>>0){f=p;do{v=c+(f<<3)|0;k[v>>2]=(k[v>>2]|0)+(g-h);f=f+1|0}while((f|0)!=(e|0))}if((e+1|0)>>>0>q>>>0)e=n;else{e=e+1|0;do{v=c+(e<<3)|0;k[v>>2]=(k[v>>2]|0)+(g-h);e=e+1|0}while(e>>>0<=q>>>0);e=n}}}while(0);d=d+1<<16>>16;if(d<<16>>16>=(j[a+154>>1]|0))break i;f=j[a+152>>1]|0;p=e}}while(0);g=821;break}case 51:case 50:{l:do if((k[a+16>>2]|0)<(k[a+304>>2]|0))if(!(i[a+561>>0]|0))g=287;else{k[a+12>>2]=134;g=287}else if(!((n0a(a,ea+4|0,ea,ea+8|0,ea+44|0)|0)<<24>>24))if((k[a+304>>2]|0)>0){b=k[ea>>2]|0;c=k[ea+4>>2]|0;while(1){d=(k[a+28>>2]|0)+-1|0;k[a+28>>2]=d;d=k[(k[a+24>>2]|0)+(d<<2)>>2]&65535;if(d>>>0<(m[a+116>>1]|0)>>>0){if(j[a+298>>1]|0){v=(k[a+124>>2]|0)+(d<<3)|0;k[v>>2]=(k[v>>2]|0)+c;v=(k[a+132>>2]|0)+d|0;i[v>>0]=l[v>>0]|8}if(j[a+300>>1]|0){v=(k[a+124>>2]|0)+(d<<3)+4|0;k[v>>2]=(k[v>>2]|0)+b;v=(k[a+132>>2]|0)+d|0;i[v>>0]=l[v>>0]|16}}else if(i[a+561>>0]|0)break;v=k[a+304>>2]|0;k[a+304>>2]=v+-1;if((v|0)<=1){g=287;break l}}k[a+12>>2]=134}else g=287;while(0);if((g|0)==287){k[a+304>>2]=1;k[a+32>>2]=k[a+28>>2]}g=821;break}case 53:case 52:{if(!(j[a+348>>1]|0))b=1;else b=j[a+118>>1]|0;c=k[y>>2]<<16>>16;if(c>>>0>16>>>0){if(!((n0a(a,ea+4|0,ea,ea+8|0,ea+44|0)|0)<<24>>24)){if(!c)b=0;else b=(m[(k[a+136>>2]|0)+(c+-1<<1)>>1]|0)+1-(m[a+140>>1]|0)&65535;if(!(j[a+348>>1]|0))h=j[a+116>>1]|0;else h=(m[(k[a+136>>2]|0)+(c<<1)>>1]|0)+1-(m[a+140>>1]|0)&65535;if((b&65535)<(h&65535)){d=k[ea+8+16>>2]|0;e=k[ea>>2]|0;f=k[ea+4>>2]|0;g=m[ea+44>>1]|0;c=b&65535;do{b=k[a+124>>2]|0;if(!((g|0)==(c|0)&(d|0)==(b|0))){if(j[a+298>>1]|0){v=b+(c<<3)|0;k[v>>2]=(k[v>>2]|0)+f;v=(k[a+132>>2]|0)+c|0;i[v>>0]=l[v>>0]|8}if(j[a+300>>1]|0){v=(k[a+124>>2]|0)+(c<<3)+4|0;k[v>>2]=(k[v>>2]|0)+e;v=(k[a+132>>2]|0)+c|0;i[v>>0]=l[v>>0]|16}}c=c+1|0}while((c&65535)<<16>>16!=h<<16>>16)}}}else if(i[a+561>>0]|0)k[a+12>>2]=134;g=821;break}case 55:case 54:{m:do if((k[y>>2]|0)>>>0>1){if(i[a+561>>0]|0)k[a+12>>2]=134}else if(!((n0a(a,ea+4|0,ea,ea+8|0,ea+44|0)|0)<<24>>24)){switch(j[a+348>>1]|0){case 0:{h=j[a+116>>1]|0;break}case 1:{b=j[a+118>>1]|0;if(b<<16>>16<=0)break m;h=(m[(k[a+136>>2]|0)+((b<<16>>16)+-1<<1)>>1]|0)+1&65535;break}default:break m}if(h<<16>>16){d=k[ea+8+16>>2]|0;e=k[a+124>>2]|0;g=k[ea>>2]|0;f=k[ea+4>>2]|0;if((d|0)==(e|0)){b=m[ea+44>>1]|0;c=0;while(1){if((b|0)!=(c|0)){if(j[a+298>>1]|0){v=d+(c<<3)|0;k[v>>2]=(k[v>>2]|0)+f}if(j[a+300>>1]|0){v=d+(c<<3)+4|0;k[v>>2]=(k[v>>2]|0)+g}}c=c+1|0;if((c&65535)<<16>>16==h<<16>>16)break m}}b=(j[a+300>>1]|0)==0;if(!(j[a+298>>1]|0)){if(b)break;else b=0;while(1){v=e+(b<<3)+4|0;k[v>>2]=(k[v>>2]|0)+g;b=b+1|0;if((b&65535)<<16>>16==h<<16>>16)break m}}if(b){b=0;while(1){v=e+(b<<3)|0;k[v>>2]=(k[v>>2]|0)+f;b=b+1|0;if((b&65535)<<16>>16==h<<16>>16)break m}}k[e>>2]=(k[e>>2]|0)+f;k[e+4>>2]=(k[e+4>>2]|0)+g;if(h<<16>>16!=1){b=k[a+124>>2]|0;c=1;do{v=e+(c<<3)|0;k[v>>2]=(k[v>>2]|0)+f;v=b+(c<<3)+4|0;k[v>>2]=(k[v>>2]|0)+g;c=c+1|0}while((c&65535)<<16>>16!=h<<16>>16)}}}while(0);g=821;break}case 56:{b=k[a+304>>2]|0;n:do if((k[a+16>>2]|0)>(b|0)){u=k[y>>2]|0;s=j[a+298>>1]|0;e=(u|0)<0?0-u|0:u;d=s<<16>>16<0?0-(s<<16>>16)|0:s<<16>>16;t=ha(e>>>16,d)|0;d=(t<<16|8192)+(ha(e&65535,d)|0)|0;d=(s<<16>>16^u|0)>-1?(d>>>0<(t<<16|8192)>>>0&1)+(t>>>16)<<18|d>>>14:0-((d>>>0<(t<<16|8192)>>>0&1)+(t>>>16)<<18|d>>>14)|0;t=j[a+300>>1]|0;s=t<<16>>16<0?0-(t<<16>>16)|0:t<<16>>16;v=ha(s,e>>>16)|0;e=(v<<16|8192)+(ha(s,e&65535)|0)|0;e=(t<<16>>16^u|0)>-1?(e>>>0<(v<<16|8192)>>>0&1)+(v>>>16)<<18|e>>>14:0-((e>>>0<(v<<16|8192)>>>0&1)+(v>>>16)<<18|e>>>14)|0;if((b|0)>0){b=D;c=B;while(1){b=b+-1|0;k[a+28>>2]=b;b=k[c+(b<<2)>>2]&65535;if(b>>>0<(m[a+116>>1]|0)>>>0){if(j[a+298>>1]|0){v=(k[a+124>>2]|0)+(b<<3)|0;k[v>>2]=(k[v>>2]|0)+d;v=(k[a+132>>2]|0)+b|0;i[v>>0]=l[v>>0]|8}if(j[a+300>>1]|0){v=(k[a+124>>2]|0)+(b<<3)+4|0;k[v>>2]=(k[v>>2]|0)+e;v=(k[a+132>>2]|0)+b|0;i[v>>0]=l[v>>0]|16}}else if(i[a+561>>0]|0){g=341;break a}v=k[a+304>>2]|0;k[a+304>>2]=v+-1;b=k[a+28>>2]|0;if((v|0)<=1)break n;c=k[a+24>>2]|0}}else b=D}else if(!(i[a+561>>0]|0))b=D;else{k[a+12>>2]=134;b=D}while(0);k[a+304>>2]=1;k[a+32>>2]=b;g=821;break}default:z=1}}k[ea+64>>2]=a;k[ea+448>>2]=Y;k[ea+456>>2]=E;k[ea+1160>>2]=F;k[ea+1216>>2]=G;k[ea+1784>>2]=w;k[ea+1800>>2]=D;k[ea+1840>>2]=x;k[ea+1872>>2]=B;k[ea+1896>>2]=y;k[ea+3672>>2]=Z;k[ea+3680>>2]=_;k[ea+5864>>2]=g;k[ea+5872>>2]=z;k[ea+5880>>2]=A;k[ea+5888>>2]=0;k[ea+5892>>2]=0;z2a(ea);Z=k[ea+3672>>2]|0;_=k[ea+3680>>2]|0;g=k[ea+5864>>2]|0;J=k[ea+5888>>2]|0;C=k[ea+5892>>2]|0;K=+o[ea+5892>>2];k[ea+5888>>2]=0;k[ea+5892>>2]=0;if((J|0)==1)break;if((J|0)==2)switch(C|0){case 86:break a;case 87:break b}}while(0);o:do if((g|0)==821){X=k[a+12>>2]|0;switch(X|0){case 0:{g=837;break o}case 128:break;default:{g=845;break a}}Z=k[a+416>>2]|0;_=k[a+408>>2]|0;g=823}while(0);if((g|0)==823){g=0;b=Z+(_*24|0)|0;if((_|0)>0)c=Z;else{g=836;break}while(1){if(i[c+16>>0]|0)if((i[a+368>>0]|0)==(k[c+12>>2]&255)<<24>>24)break;c=c+24|0;if(c>>>0>=b>>>0){g=836;break a}}b=k[a+428>>2]|0;if((b|0)>=(k[a+432>>2]|0)){g=827;break}e=k[a+436>>2]|0;k[e+(b<<4)>>2]=k[a+352>>2];k[e+(b<<4)+4>>2]=(k[a+360>>2]|0)+1;k[e+(b<<4)+8>>2]=1;k[e+(b<<4)+12>>2]=c;e=k[c>>2]|0;b=k[c+4>>2]|0;if((e+-1|0)>>>0>2){g=829;break}c=k[a+444+(e+-1<<3)>>2]|0;if(!c){g=831;break}d=k[a+444+(e+-1<<3)+4>>2]|0;if((d|0)<(b|0)){g=834;break}k[a+356>>2]=c;k[a+364>>2]=d;k[a+360>>2]=b;k[a+352>>2]=e;H=ca}else if((g|0)==837){g=0;k[a+16>>2]=k[a+32>>2];if(i[a+376>>0]|0)k[a+360>>2]=(k[a+360>>2]|0)+(k[a+372>>2]|0);if((ca|0)>999999){M=139;g=849;break}else H=ca+1|0}e=k[a+360>>2]|0;if((e|0)>=(k[a+364>>2]|0)){g=841;break}if(i[a+488>>0]|0){M=0;g=849;break}else ca=H}switch(g|0){case 21:{k[a+12>>2]=129;$=129;break}case 25:{k[a+12>>2]=130;$=130;break}case 35:{k[a+12>>2]=134;$=134;break}case 45:{k[a+12>>2]=134;$=134;break}case 73:{k[a+12>>2]=134;$=134;break}case 84:{k[a+12>>2]=134;$=134;break}case 90:{k[a+12>>2]=134;$=134;break}case 96:{k[a+12>>2]=134;$=134;break}case 102:{k[a+12>>2]=134;$=134;break}case 105:{k[a+12>>2]=132;$=132;break}case 117:{k[a+12>>2]=131;$=131;break}case 143:{k[a+12>>2]=134;$=134;break}case 148:{k[a+12>>2]=134;$=134;break}case 154:{k[a+12>>2]=130;$=130;break}case 167:{k[a+12>>2]=134;$=134;break}case 180:{k[a+12>>2]=130;$=130;break}case 190:{k[a+12>>2]=134;$=134;break}case 200:{k[a+12>>2]=130;$=130;break}case 209:{k[a+12>>2]=134;$=134;break}case 215:{k[a+12>>2]=140;$=140;break}case 218:{k[a+12>>2]=140;$=140;break}case 227:{k[a+12>>2]=131;$=131;break}case 229:{k[a+12>>2]=137;$=137;break}case 232:{k[a+12>>2]=136;$=136;break}case 236:{k[a+12>>2]=132;$=132;break}case 238:{k[a+12>>2]=138;$=138;break}case 240:{k[a+12>>2]=131;$=131;break}case 244:{k[a+12>>2]=134;$=134;break}case 341:{k[a+12>>2]=134;$=134;break}case 376:{k[a+12>>2]=134;$=134;break}case 382:{k[a+12>>2]=134;$=134;break}case 395:{k[a+12>>2]=134;$=134;break}case 414:{k[a+12>>2]=130;$=130;break}case 418:{k[a+12>>2]=130;$=130;break}case 426:{k[a+12>>2]=134;$=134;break}case 430:{k[a+12>>2]=134;$=134;break}case 435:{k[a+12>>2]=134;$=134;break}case 439:{k[a+12>>2]=134;$=134;break}case 451:{k[a+12>>2]=134;$=134;break}case 470:{k[a+12>>2]=135;$=135;break}case 492:{k[a+12>>2]=131;$=131;break}case 508:{k[a+12>>2]=132;$=132;break}case 513:{k[a+12>>2]=133;$=133;break}case 527:{k[a+12>>2]=134;$=134;break}case 537:{k[a+12>>2]=134;$=134;break}case 550:break;case 556:break;case 566:break;case 572:break;case 598:{k[a+12>>2]=130;$=130;break}case 617:{k[a+12>>2]=134;$=134;break}case 626:{k[a+12>>2]=134;$=134;break}case 632:{k[a+12>>2]=134;$=134;break}case 638:{k[a+12>>2]=130;$=130;break}case 673:{k[a+12>>2]=134;$=134;break}case 698:{k[a+12>>2]=141;$=141;break}case 701:{k[a+12>>2]=141;$=141;break}case 710:{k[a+12>>2]=131;$=131;break}case 712:{k[a+12>>2]=137;$=137;break}case 722:{k[a+12>>2]=134;$=134;break}case 725:{k[a+12>>2]=134;$=134;break}case 731:{k[a+12>>2]=130;$=130;break}case 796:{k[a+12>>2]=130;$=130;break}case 804:{k[a+12>>2]=130;$=130;break}case 810:{k[a+12>>2]=130;$=130;break}case 827:{k[a+12>>2]=134;$=134;break}case 829:{k[a+12>>2]=132;$=132;break}case 831:{k[a+12>>2]=138;$=138;break}case 834:{k[a+12>>2]=131;$=131;break}case 836:{k[a+12>>2]=128;$=128;break}case 841:if((k[a+428>>2]|0)>0){k[a+12>>2]=131;$=131;break}else{da=0;r=ea;return da|0}case 844:{k[a+12>>2]=131;$=131;break}case 845:{if(!X){da=0;r=ea;return da|0}else $=X;break}case 849:{r=ea;return M|0}}if(i[a+488>>0]|0){da=$;r=ea;return da|0}if((k[a+352>>2]|0)!=3){da=$;r=ea;return da|0}da=k[a+4>>2]|0;k[da+296>>2]=-1;k[da+300>>2]=-1;da=$;r=ea;return da|0}function N$a(a){a=a|0;return m[a+252>>1]|0|0}function O$a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,n=0;e=m[a+252>>1]|0;b=k[a+256>>2]|0;if(b|0){a=b;a=U2a(e,a)|0;return a|0}d=j[a+296>>1]|0;if(!(d<<16>>16)){d=k[a+244>>2]|0;k[a+256>>2]=d;a=d;a=U2a(e,a)|0;return a|0}b=j[a+294>>1]|0;c=k[a+248>>2]|0;if(!(b<<16>>16)){k[a+256>>2]=c;a=c;a=U2a(e,a)|0;return a|0}else{l=k[a+244>>2]|0;n=(l|0)<0?0-l|0:l;h=b<<16>>16<0?0-(b<<16>>16)|0:b<<16>>16;i=ha(n>>>16,h)|0;h=(i<<16|8192)+(ha(n&65535,h)|0)|0;n=(c|0)<0?0-c|0:c;f=d<<16>>16<0?0-(d<<16>>16)|0:d<<16>>16;g=ha(n>>>16,f)|0;f=(g<<16|8192)+(ha(n&65535,f)|0)|0;d=R2a((l^b<<16>>16|0)>-1?(h>>>0<(i<<16|8192)>>>0&1)+(i>>>16)<<18|h>>>14:0-((h>>>0<(i<<16|8192)>>>0&1)+(i>>>16)<<18|h>>>14)|0,(c^d<<16>>16|0)>-1?(f>>>0<(g<<16|8192)>>>0&1)+(g>>>16)<<18|f>>>14:0-((f>>>0<(g<<16|8192)>>>0&1)+(g>>>16)<<18|f>>>14)|0)|0;k[a+256>>2]=d;a=d;a=U2a(e,a)|0;return a|0}return 0}function P$a(a,b){a=a|0;b=b|0;return k[(k[a+384>>2]|0)+(b<<2)>>2]|0}function Q$a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0;e=k[(k[a+384>>2]|0)+(b<<2)>>2]|0;b=k[a+256>>2]|0;if(b|0){a=b;a=U2a(e,a)|0;return a|0}d=j[a+296>>1]|0;if(!(d<<16>>16)){d=k[a+244>>2]|0;k[a+256>>2]=d;a=d;a=U2a(e,a)|0;return a|0}b=j[a+294>>1]|0;c=k[a+248>>2]|0;if(!(b<<16>>16)){k[a+256>>2]=c;a=c;a=U2a(e,a)|0;return a|0}else{l=k[a+244>>2]|0;m=(l|0)<0?0-l|0:l;h=b<<16>>16<0?0-(b<<16>>16)|0:b<<16>>16;i=ha(m>>>16,h)|0;h=(i<<16|8192)+(ha(m&65535,h)|0)|0;m=(c|0)<0?0-c|0:c;f=d<<16>>16<0?0-(d<<16>>16)|0:d<<16>>16;g=ha(m>>>16,f)|0;f=(g<<16|8192)+(ha(m&65535,f)|0)|0;d=R2a((l^b<<16>>16|0)>-1?(h>>>0<(i<<16|8192)>>>0&1)+(i>>>16)<<18|h>>>14:0-((h>>>0<(i<<16|8192)>>>0&1)+(i>>>16)<<18|h>>>14)|0,(c^d<<16>>16|0)>-1?(f>>>0<(g<<16|8192)>>>0&1)+(g>>>16)<<18|f>>>14:0-((f>>>0<(g<<16|8192)>>>0&1)+(g>>>16)<<18|f>>>14)|0)|0;k[a+256>>2]=d;a=d;a=U2a(e,a)|0;return a|0}return 0}function R$a(a,b,c){a=a|0;b=b|0;c=c|0;k[(k[a+384>>2]|0)+(b<<2)>>2]=c;return}function S$a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0;d=k[a+256>>2]|0;do if(!d){e=j[a+296>>1]|0;if(!(e<<16>>16)){d=k[a+244>>2]|0;k[a+256>>2]=d;break}f=j[a+294>>1]|0;d=k[a+248>>2]|0;if(!(f<<16>>16)){k[a+256>>2]=d;break}else{m=k[a+244>>2]|0;n=(m|0)<0?0-m|0:m;i=f<<16>>16<0?0-(f<<16>>16)|0:f<<16>>16;l=ha(n>>>16,i)|0;i=(l<<16|8192)+(ha(n&65535,i)|0)|0;n=(d|0)<0?0-d|0:d;g=e<<16>>16<0?0-(e<<16>>16)|0:e<<16>>16;h=ha(n>>>16,g)|0;g=(h<<16|8192)+(ha(n&65535,g)|0)|0;d=R2a((m^f<<16>>16|0)>-1?(i>>>0<(l<<16|8192)>>>0&1)+(l>>>16)<<18|i>>>14:0-((i>>>0<(l<<16|8192)>>>0&1)+(l>>>16)<<18|i>>>14)|0,(d^e<<16>>16|0)>-1?(g>>>0<(h<<16|8192)>>>0&1)+(h>>>16)<<18|g>>>14:0-((g>>>0<(h<<16|8192)>>>0&1)+(h>>>16)<<18|g>>>14)|0)|0;k[a+256>>2]=d;break}}while(0);n=V2a(c,d)|0;k[(k[a+384>>2]|0)+(b<<2)>>2]=n;return}function T$a(a,b,c){a=a|0;b=b|0;c=c|0;b=(k[a+384>>2]|0)+(b<<2)|0;k[b>>2]=(k[b>>2]|0)+c;return}function U$a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0;d=k[a+256>>2]|0;do if(!d){e=j[a+296>>1]|0;if(!(e<<16>>16)){d=k[a+244>>2]|0;k[a+256>>2]=d;break}f=j[a+294>>1]|0;d=k[a+248>>2]|0;if(!(f<<16>>16)){k[a+256>>2]=d;break}else{m=k[a+244>>2]|0;n=(m|0)<0?0-m|0:m;i=f<<16>>16<0?0-(f<<16>>16)|0:f<<16>>16;l=ha(n>>>16,i)|0;i=(l<<16|8192)+(ha(n&65535,i)|0)|0;n=(d|0)<0?0-d|0:d;g=e<<16>>16<0?0-(e<<16>>16)|0:e<<16>>16;h=ha(n>>>16,g)|0;g=(h<<16|8192)+(ha(n&65535,g)|0)|0;d=R2a((m^f<<16>>16|0)>-1?(i>>>0<(l<<16|8192)>>>0&1)+(l>>>16)<<18|i>>>14:0-((i>>>0<(l<<16|8192)>>>0&1)+(l>>>16)<<18|i>>>14)|0,(d^e<<16>>16|0)>-1?(g>>>0<(h<<16|8192)>>>0&1)+(h>>>16)<<18|g>>>14:0-((g>>>0<(h<<16|8192)>>>0&1)+(h>>>16)<<18|g>>>14)|0)|0;k[a+256>>2]=d;break}}while(0);m=V2a(c,d)|0;n=(k[a+384>>2]|0)+(b<<2)|0;k[n>>2]=(k[n>>2]|0)+m;return}function V$a(a){a=a|0;var b=0,c=0,d=0,e=0;e=j[a+298>>1]|0;do if(e<<16>>16==16384){b=j[a+294>>1]|0;k[a+564>>2]=b<<16>>16;d=b;b=b<<16>>16}else{b=j[a+300>>1]|0;c=j[a+296>>1]|0;if(b<<16>>16==16384){k[a+564>>2]=c<<16>>16;d=j[a+294>>1]|0;b=c<<16>>16;break}else{d=j[a+294>>1]|0;b=(ha(c<<16>>16,b<<16>>16)|0)+(ha(d<<16>>16,e<<16>>16)|0)>>14;k[a+564>>2]=b;break}}while(0);do if(d<<16>>16==16384)k[a+572>>2]=144;else if((j[a+296>>1]|0)==16384){k[a+572>>2]=145;break}else{k[a+572>>2]=146;break}while(0);do if((j[a+290>>1]|0)==16384)k[a+576>>2]=144;else if((j[a+292>>1]|0)==16384){k[a+576>>2]=145;break}else{k[a+576>>2]=147;break}while(0);k[a+584>>2]=44;k[a+588>>2]=45;do if((b|0)==16384){if(e<<16>>16==16384){k[a+584>>2]=46;k[a+588>>2]=47;break}if((j[a+300>>1]|0)==16384){k[a+584>>2]=48;k[a+588>>2]=49}}while(0);if((((b|0)<0?0-b|0:b)|0)>=1024){a=a+256|0;k[a>>2]=0;return}k[a+564>>2]=16384;a=a+256|0;k[a>>2]=0;return}function W$a(a,b,c){a=a|0;b=b|0;c=c|0;return b|0}function X$a(a,b,c){a=a|0;b=b|0;c=c|0;return c|0}function Y$a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=j[a+294>>1]|0;a=j[a+296>>1]|0;d=ha(e,b&65535)|0;b=ha(e,b>>16)|0;e=ha(a,c&65535)|0;c=ha(a,c>>16)|0;a=(c<<16)+e+((b<<16)+d)|0;c=(b>>16)+(d>>31)+(e>>31)+(c>>16)+(((b<<16)+d|0)>>>0>>0&1)+(((c<<16)+e|0)>>>0>>0&1)+(a>>>0<((b<<16)+d|0)>>>0&1)|0;return (c>>31)+c+(((c>>31)+a|0)>>>0>>0&1)+(((c>>31)+a|0)>>>0>4294959103&1)<<18|((c>>31)+a+8192|0)>>>14|0}function Z$a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=j[a+290>>1]|0;a=j[a+292>>1]|0;d=ha(e,b&65535)|0;b=ha(e,b>>16)|0;e=ha(a,c&65535)|0;c=ha(a,c>>16)|0;a=(c<<16)+e+((b<<16)+d)|0;c=(b>>16)+(d>>31)+(e>>31)+(c>>16)+(((b<<16)+d|0)>>>0>>0&1)+(((c<<16)+e|0)>>>0>>0&1)+(a>>>0<((b<<16)+d|0)>>>0&1)|0;return (c>>31)+c+(((c>>31)+a|0)>>>0>>0&1)+(((c>>31)+a|0)>>>0>4294959103&1)<<18|((c>>31)+a+8192|0)>>>14|0}function _$a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=j[a+298>>1]|0;if(e<<16>>16){f=S2a(d,e<<16>>16,k[a+564>>2]|0)|0;e=(k[b+16>>2]|0)+((c&65535)<<3)|0;k[e>>2]=(k[e>>2]|0)+f;e=(k[b+24>>2]|0)+(c&65535)|0;i[e>>0]=l[e>>0]|0|8}e=j[a+300>>1]|0;if(!(e<<16>>16))return;a=S2a(d,e<<16>>16,k[a+564>>2]|0)|0;f=(k[b+16>>2]|0)+((c&65535)<<3)+4|0;k[f>>2]=(k[f>>2]|0)+a;f=(k[b+24>>2]|0)+(c&65535)|0;i[f>>0]=l[f>>0]|0|16;return}function $$a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=j[a+298>>1]|0;if(e<<16>>16){f=S2a(d,e<<16>>16,k[a+564>>2]|0)|0;e=(k[b+12>>2]|0)+((c&65535)<<3)|0;k[e>>2]=(k[e>>2]|0)+f}e=j[a+300>>1]|0;if(!(e<<16>>16))return;a=S2a(d,e<<16>>16,k[a+564>>2]|0)|0;f=(k[b+12>>2]|0)+((c&65535)<<3)+4|0;k[f>>2]=(k[f>>2]|0)+a;return}function a0a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=(k[b+16>>2]|0)+((c&65535)<<3)|0;k[a>>2]=(k[a>>2]|0)+d;b=(k[b+24>>2]|0)+(c&65535)|0;i[b>>0]=l[b>>0]|0|8;return}function b0a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=(k[b+12>>2]|0)+((c&65535)<<3)|0;k[b>>2]=(k[b>>2]|0)+d;return}function c0a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=(k[b+16>>2]|0)+((c&65535)<<3)+4|0;k[a>>2]=(k[a>>2]|0)+d;b=(k[b+24>>2]|0)+(c&65535)|0;i[b>>0]=l[b>>0]|0|16;return}function d0a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=(k[b+12>>2]|0)+((c&65535)<<3)+4|0;k[b>>2]=(k[b>>2]|0)+d;return}function e0a(a,b,c){a=a|0;b=b|0;c=c|0;if((b|0)>-1){a=(c+b|0)<0?0:c+b|0;return a|0}else{a=(b-c|0)>0?0:b-c|0;return a|0}return 0}function f0a(a,b,c){a=a|0;b=b|0;c=c|0;if((b|0)>-1){a=(b+32+c&-64|0)<0?0:b+32+c&-64;return a|0}else{a=(0-(32-b+c&-64)|0)>0?0:0-(32-b+c&-64)|0;return a|0}return 0}function g0a(a,b,c){a=a|0;b=b|0;c=c|0;if((b|0)>-1){a=(b+63+c&-64|0)<0?0:b+63+c&-64;return a|0}else{a=(0-(63-b+c&-64)|0)>0?0:0-(63-b+c&-64)|0;return a|0}return 0}function h0a(a,b,c){a=a|0;b=b|0;c=c|0;if((b|0)>-1){a=(c+b&-64|0)<0?0:c+b&-64;return a|0}else{a=(0-(c-b&-64)|0)>0?0:0-(c-b&-64)|0;return a|0}return 0}function i0a(a,b,c){a=a|0;b=b|0;c=c|0;if((b|0)>-1){a=(c+b&-64|32|0)<0?32:c+b&-64|32;return a|0}else{a=(c-b&-64|32|0)<0?-32:0-(c-b&-64|32)|0;return a|0}return 0}function j0a(a,b,c){a=a|0;b=b|0;c=c|0;if((b|0)>-1){a=(b+16+c&-32|0)<0?0:b+16+c&-32;return a|0}else{a=(0-(16-b+c&-32)|0)>0?0:0-(16-b+c&-32)|0;return a|0}return 0}function k0a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if((b|0)>-1){d=k[a+480>>2]|0;a=(c+b-d+(k[a+484>>2]|0)&0-(k[a+476>>2]|0))+d|0;return ((a|0)<0?d:a)|0}else{e=k[a+480>>2]|0;d=0-((c-b+(k[a+484>>2]|0)-e&0-(k[a+476>>2]|0))+e)|0;return ((d|0)>0?0-e|0:d)|0}return 0}function l0a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if((b|0)>-1){d=k[a+480>>2]|0;b=c+b-d+(k[a+484>>2]|0)|0;a=b-((b|0)%(k[a+476>>2]|0)|0)+d|0;return ((a|0)<0?d:a)|0}else{e=k[a+480>>2]|0;d=c-b+(k[a+484>>2]|0)-e|0;d=((d|0)%(k[a+476>>2]|0)|0)-d-e|0;return ((d|0)>0?0-e|0:d)|0}return 0}function m0a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0;if(b>>>0>c>>>0)return;n=k[a+12>>2]|0;if(!(n>>>0>d>>>0&n>>>0>e>>>0))return;m=k[a+8>>2]|0;f=k[m+(d<<3)>>2]|0;m=k[m+(e<<3)>>2]|0;h=(f|0)>(m|0)?f:m;i=(f|0)>(m|0)?m:f;n=(f|0)>(m|0)?d:e;m=(f|0)>(m|0)?e:d;f=k[a>>2]|0;j=k[f+(m<<3)>>2]|0;l=k[f+(n<<3)>>2]|0;g=k[a+4>>2]|0;m=k[g+(m<<3)>>2]|0;n=k[g+(n<<3)>>2]|0;if((h|0)==(i|0)|(n|0)==(m|0)){e=b;do{d=k[f+(e<<3)>>2]|0;if((d|0)>(j|0))d=(d|0)<(l|0)?m:d+(n-l)|0;else d=d+(m-j)|0;k[g+(e<<3)>>2]=d;e=e+1|0}while(e>>>0<=c>>>0);return}d=0;e=0;while(1){f=k[f+(b<<3)>>2]|0;do if((f|0)>(j|0)){if((f|0)>=(l|0)){f=f+(n-l)|0;break}if(!(e<<24>>24)){d=V2a(n-m|0,h-i|0)|0;e=1}f=(U2a((k[(k[a+8>>2]|0)+(b<<3)>>2]|0)-i|0,d)|0)+m|0;g=k[a+4>>2]|0}else f=f+(m-j)|0;while(0);k[g+(b<<3)>>2]=f;b=b+1|0;if(b>>>0>c>>>0)break;f=k[a>>2]|0}return}function n0a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,l=0,m=0,n=0,o=0,p=0;p=r;r=r+16|0;if(!(i[a+368>>0]&1)){g=k[a+72>>2]|0;h=k[a+72+4>>2]|0;m=k[a+80>>2]|0;n=k[a+84>>2]|0;o=k[a+88>>2]|0;k[p>>2]=k[a+92>>2];k[p+4>>2]=k[a+92+4>>2];k[p+8>>2]=k[a+92+8>>2];k[p+12>>2]=k[a+92+12>>2];f=a+288|0}else{g=k[a+36>>2]|0;h=k[a+36+4>>2]|0;m=k[a+44>>2]|0;n=k[a+48>>2]|0;o=k[a+52>>2]|0;k[p>>2]=k[a+56>>2];k[p+4>>2]=k[a+56+4>>2];k[p+8>>2]=k[a+56+8>>2];k[p+12>>2]=k[a+56+12>>2];f=a+286|0}l=m&65535;f=j[f>>1]|0;if((f&65535)<(l&65535)){k[d>>2]=g;k[d+4>>2]=h;j[d+8>>1]=l;j[d+10>>1]=m>>>16;k[d+12>>2]=n;k[d+16>>2]=o;k[d+20>>2]=k[p>>2];k[d+20+4>>2]=k[p+4>>2];k[d+20+8>>2]=k[p+8>>2];k[d+20+12>>2]=k[p+12>>2];j[e>>1]=f;o=Ri[k[a+572>>2]&255](a,(k[o+((f&65535)<<3)>>2]|0)-(k[n+((f&65535)<<3)>>2]|0)|0,(k[o+((f&65535)<<3)+4>>2]|0)-(k[n+((f&65535)<<3)+4>>2]|0)|0)|0;n=S2a(o,j[a+298>>1]|0,k[a+564>>2]|0)|0;k[b>>2]=n;o=S2a(o,j[a+300>>1]|0,k[a+564>>2]|0)|0;k[c>>2]=o;o=0;r=p;return o|0}if(i[a+561>>0]|0)k[a+12>>2]=134;j[e>>1]=0;o=1;r=p;return o|0}function o0a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0;h=Gi[k[a+592>>2]&2047](a)|0;f=k[b>>2]|0;if(!f){h=k[a+28>>2]|0;j=a+32|0;k[j>>2]=h;return}g=1;while(1){b=k[a+28>>2]|0;if((b|0)<2)break;k[a+28>>2]=b+-2;d=k[a+24>>2]|0;e=k[d+(b+-1<<2)>>2]|0;b=k[d+(b+-2<<2)>>2]|0;if((e&65535)>>>0<(m[a+44>>1]|0)>>>0){switch(l[a+368>>0]|0){case 114:{d=b>>>4&15|32;break}case 113:{d=b>>>4&15|16;break}default:d=b>>>4&15}c=k[a+332>>2]|0;if((h|0)==((c&65535)+d|0))vj[k[a+584>>2]&127](a,a+36|0,e&65535,(((b&15)+-8|0)>-1?(b&15)+-7|0:(b&15)+-8|0)<<6-(c>>>16))}else if(i[a+561>>0]|0)k[a+12>>2]=134;g=g+1|0;if(g>>>0>f>>>0){j=16;break}}if((j|0)==16){h=k[a+28>>2]|0;j=a+32|0;k[j>>2]=h;return}if(i[a+561>>0]|0)k[a+12>>2]=129;k[a+28>>2]=0;h=k[a+28>>2]|0;j=a+32|0;k[j>>2]=h;return}function p0a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=r;r=r+16|0;k[a>>2]=b;k[a+4>>2]=c;if(c|0){k[a+396>>2]=k[c+116>>2];k[a+400>>2]=k[c+120>>2];k[a+408>>2]=k[c+128>>2];k[a+412>>2]=k[c+132>>2];k[a+404>>2]=k[c+124>>2];k[a+416>>2]=k[c+136>>2];d=a+244|0;e=c+72|0;f=d+40|0;do{k[d>>2]=k[e>>2];d=d+4|0;e=e+4|0}while((d|0)<(f|0));k[a+216>>2]=k[c+44>>2];k[a+216+4>>2]=k[c+44+4>>2];k[a+216+8>>2]=k[c+44+8>>2];k[a+216+12>>2]=k[c+44+12>>2];k[a+216+16>>2]=k[c+44+16>>2];k[a+216+20>>2]=k[c+44+20>>2];k[a+216+24>>2]=k[c+44+24>>2];k[a+420>>2]=k[c+140>>2];k[a+424>>2]=k[c+144>>2];d=k[c+148+4>>2]|0;k[a+444>>2]=k[c+148>>2];k[a+444+4>>2]=d;d=k[c+156+4>>2]|0;k[a+452>>2]=k[c+156>>2];k[a+452+4>>2]=d;d=k[c+164+4>>2]|0;k[a+460>>2]=k[c+164>>2];k[a+460+4>>2]=d;d=a+284|0;e=c+172|0;f=d+68|0;do{k[d>>2]=k[e>>2];d=d+4|0;e=e+4|0}while((d|0)<(f|0));k[a+380>>2]=k[c+240>>2];k[a+384>>2]=k[c+244>>2];j[a+468>>1]=j[c+248>>1]|0;k[a+472>>2]=k[c+252>>2];d=a+180|0;e=c+256|0;f=d+36|0;do{k[d>>2]=k[e>>2];d=d+4|0;e=e+4|0}while((d|0)<(f|0));d=a+36|0;f=d+108|0;do{k[d>>2]=0;d=d+4|0}while((d|0)<(f|0))}c=k[a+20>>2]|0;d=k[a+8>>2]|0;f=k[b+284>>2]|0;do if(c>>>0<((f&65535)+32|0)>>>0){d=WTa(d,1,c<<2,(f&65535)+32<<2,k[a+24>>2]|0,g)|0;k[a+24>>2]=d;d=k[g>>2]|0;if(!d){e=j[b+286>>1]|0;d=k[a+8>>2]|0;c=(f&65535)+32|0;break}k[a+20>>2]=c;a=d;r=g;return a|0}else e=f>>>16&65535;while(0);k[a+20>>2]=c;c=k[a+388>>2]|0;e=e&65535;if(c>>>0>>0){d=WTa(d,1,c,e,k[a+392>>2]|0,g)|0;k[a+392>>2]=d;d=k[g>>2]|0;if(!d)c=e;else{k[a+388>>2]=c&65535;a=d;r=g;return a|0}}k[a+388>>2]=c&65535;j[a+152>>1]=0;j[a+154>>1]=0;d=a+72|0;e=a+144|0;f=d+36|0;do{k[d>>2]=k[e>>2];d=d+4|0;e=e+4|0}while((d|0)<(f|0));d=a+108|0;e=a+144|0;f=d+36|0;do{k[d>>2]=k[e>>2];d=d+4|0;e=e+4|0}while((d|0)<(f|0));d=a+36|0;e=a+144|0;f=d+36|0;do{k[d>>2]=k[e>>2];d=d+4|0;e=e+4|0}while((d|0)<(f|0));i[a+488>>0]=0;a=0;r=g;return a|0}function q0a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=k[a>>2]|0;f=k[a+292>>2]|0;c=p0a(f,d,a)|0;if(c|0){a=c;return a|0}k[f+428>>2]=0;k[f+16>>2]=0;i[f+488>>0]=0;i[f+561>>0]=b;c=k[d+640>>2]|0;b=k[d+636>>2]|0;k[f+452>>2]=c;k[f+456>>2]=b;k[f+460>>2]=0;k[f+464>>2]=0;if(!b)c=0;else{k[f+356>>2]=c;k[f+364>>2]=b;k[f+360>>2]=0;k[f+352>>2]=2;c=Gi[k[d+652>>2]&2047](f)|0}k[a+300>>2]=c;j[f+290>>1]=16384;j[f+292>>1]=0;j[f+294>>1]=16384;j[f+296>>1]=0;j[f+298>>1]=16384;j[f+300>>1]=0;j[f+284>>1]=0;j[f+286>>1]=0;j[f+288>>1]=0;j[f+344>>1]=1;j[f+346>>1]=1;j[f+348>>1]=1;k[f+304>>2]=1;b=a+172|0;d=f+284|0;e=b+68|0;do{k[b>>2]=k[d>>2];b=b+4|0;d=d+4|0}while((b|0)<(e|0));k[a+116>>2]=k[f+396>>2];k[a+128>>2]=k[f+408>>2];k[a+140>>2]=k[f+420>>2];k[a+144>>2]=k[f+424>>2];e=k[f+444+4>>2]|0;k[a+148>>2]=k[f+444>>2];k[a+148+4>>2]=e;e=k[f+452+4>>2]|0;k[a+156>>2]=k[f+452>>2];k[a+156+4>>2]=e;e=k[f+460+4>>2]|0;k[a+164>>2]=k[f+460>>2];k[a+164+4>>2]=e;a=c;return a|0}function r0a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=k[a+532>>2]|0;k[d>>2]=0;k[d+4>>2]=0;if(!e)return 0;a=Ri[k[e+84>>2]&255](a,b,c)|0;k[d>>2]=a;return 0}function s0a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;g=r;r=r+16|0;if(!(d&16)){if(!c){r=g;return 0}d=0;do{Bi[k[(k[a+532>>2]|0)+112>>2]&15](a,0,d+b|0,g+2|0,g);k[e+(d<<2)>>2]=m[g>>1];d=d+1|0}while((d|0)!=(c|0));r=g;return 0}if(!c){r=g;return 0}f=0;do{do if(!(i[a+292>>0]|0))if((j[a+364>>1]|0)==-1){j[g+2>>1]=j[a+220>>1]|0;d=k[a+220>>2]|0;d=(((d<<16>>16)-(d>>16)|0)<0?0-((d<<16>>16)-(d>>16))|0:(d<<16>>16)-(d>>16)|0)&65535;j[g>>1]=d;break}else{d=j[a+434>>1]|0;j[g+2>>1]=d;d=(d<<16>>16)-(j[a+436>>1]|0)|0;d=((d|0)<0?0-d|0:d)&65535;j[g>>1]=d;break}else{Bi[k[(k[a+532>>2]|0)+112>>2]&15](a,1,f+b|0,g+2|0,g);d=j[g>>1]|0}while(0);k[e+(f<<2)>>2]=d&65535;f=f+1|0}while((f|0)!=(c|0));r=g;return 0}function t0a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=r;r=r+16|0;c=k[a>>2]|0;do if(!(k[c+8>>2]&2))d=0;else{d=Ri[k[(k[c+532>>2]|0)+104>>2]&255](c,b,e)|0;if(d|0){k[a+112>>2]=-1;c=k[a>>2]|0;break}c=k[e>>2]|0;d=k[a>>2]|0;k[a+112>>2]=c;if(!(k[d+8>>2]&1)){c=Ri[k[(k[d+532>>2]|0)+108>>2]&255](d,c,a+12|0)|0;if(!c)c=0;else k[a+112>>2]=-1}else{vSa(d,c);u0a(a)|0;c=0}a=c;r=e;return a|0}while(0);wSa(c,b);if(!(k[(k[a>>2]|0)+8>>2]&1)){a=d;r=e;return a|0}b=u0a(a)|0;k[a+12>>2]=k[a+44>>2];k[a+12+4>>2]=k[a+44+4>>2];k[a+12+8>>2]=k[a+44+8>>2];k[a+12+12>>2]=k[a+44+12>>2];k[a+12+16>>2]=k[a+44+16>>2];k[a+12+20>>2]=k[a+44+20>>2];k[a+12+24>>2]=k[a+44+24>>2];a=b;r=e;return a|0}function u0a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;i[a+108>>0]=0;b=k[a>>2]|0;k[a+44>>2]=k[a+12>>2];k[a+44+4>>2]=k[a+12+4>>2];k[a+44+8>>2]=k[a+12+8>>2];k[a+44+12>>2]=k[a+12+12>>2];k[a+44+16>>2]=k[a+12+16>>2];k[a+44+20>>2]=k[a+12+20>>2];k[a+44+24>>2]=k[a+12+24>>2];c=k[a+44>>2]|0;if(!((c&65535)<<16>>16)){a=151;return a|0}if(!((c>>>16&65535)<<16>>16)){a=151;return a|0}if(!(j[b+176>>1]&8)){d=c&65535;e=c>>>16&65535;f=c;b=c>>>16}else{d=V2a(c<<6&4194240,m[b+68>>1]|0)|0;k[a+48>>2]=d;d=V2a(m[a+46>>1]<<6,m[b+68>>1]|0)|0;k[a+52>>2]=d;d=(U2a(j[b+70>>1]|0,d)|0)+32&-64;k[a+56>>2]=d;d=(U2a(j[b+72>>1]|0,k[a+52>>2]|0)|0)+32&-64;k[a+60>>2]=d;d=(U2a(j[b+74>>1]|0,k[a+52>>2]|0)|0)+32&-64;k[a+64>>2]=d;b=(U2a(j[b+76>>1]|0,k[a+48>>2]|0)|0)+32&-64;k[a+68>>2]=b;b=k[a+44>>2]|0;d=b&65535;e=b>>>16&65535;f=b;b=b>>>16}if((d&65535)<(e&65535)){k[a+88>>2]=k[a+52>>2];j[a+80>>1]=e;b=V2a(f&65535,e&65535)|0;k[a+72>>2]=b;b=65536}else{k[a+88>>2]=k[a+48>>2];j[a+80>>1]=d;k[a+72>>2]=65536;b=V2a(b,f&65535)|0}k[a+76>>2]=b;k[a+300>>2]=-1;i[a+108>>0]=1;a=0;return a|0}function v0a(a,b){a=a|0;b=b|0;var c=0;c=k[a>>2]|0;k[a+112>>2]=b;if(k[c+8>>2]&1|0){vSa(c,b);u0a(a)|0;a=0;return a|0}c=Ri[k[(k[c+532>>2]|0)+108>>2]&255](c,b,a+12|0)|0;if(!c){a=0;return a|0}k[a+112>>2]=-1;a=c;return a|0}function w0a(a){a=a|0;return 0}function x0a(a){a=a|0;return}function y0a(a,b){a=a|0;b=b|0;return URa(54916,b)|0}function z0a(a){a=a|0;return k[a+364>>2]|0}function A0a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;_Ta(c,k[(k[a+420>>2]|0)+(b<<2)>>2]|0,d)|0;return 0}function B0a(a,b){a=a|0;b=b|0;var c=0,d=0;d=k[a+416>>2]|0;if((d|0)<=0){b=0;return b|0}c=k[a+420>>2]|0;a=0;while(1){if(!(Wmb(b,k[c+(a<<2)>>2]|0)|0)){c=5;break}a=a+1|0;if((a|0)>=(d|0)){a=0;c=5;break}}if((c|0)==5)return a|0;return 0}function C0a(a,b){a=a|0;b=b|0;k[b>>2]=k[a+132>>2];k[b+4>>2]=k[a+132+4>>2];k[b+8>>2]=k[a+132+8>>2];k[b+12>>2]=k[a+132+12>>2];k[b+16>>2]=k[a+132+16>>2];k[b+20>>2]=k[a+132+20>>2];k[b+24>>2]=k[a+132+24>>2];k[b+28>>2]=k[a+132+28>>2];return 0}function D0a(a,b){a=a|0;b=b|0;j[b>>1]=j[a+164>>1]|0;return 0}function E0a(a){a=a|0;return 1}function F0a(a,b){a=a|0;b=b|0;ABb(b|0,a+168|0,196)|0;return 0}function G0a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=(e|0)<0?0:e;do switch(b|0){case 0:{if((d|0)==0|(f|0)==0)e=1;else{i[d>>0]=i[a+132+301>>0]|0;e=1}break}case 1:{if(c>>>0<4)if((d|0)!=0&f>>>0>3){switch(c|0){case 0:{e=k[a+436>>2]|0;break}case 1:{e=k[a+436+4>>2]|0;break}case 2:{e=k[a+436+8>>2]|0;break}case 3:{e=k[a+436+12>>2]|0;break}default:e=0}k[d>>2]=e;e=4}else e=4;else e=0;break}case 2:{if(c>>>0<4)if((d|0)!=0&f>>>0>3){switch(c|0){case 0:{e=k[a+460>>2]|0;break}case 1:{e=k[a+460+4>>2]|0;break}case 2:{e=k[a+460+8>>2]|0;break}case 3:{e=k[a+460+12>>2]|0;break}default:e=0}k[d>>2]=e;e=4}else e=4;else e=0;break}case 3:{if((d|0)==0|(f|0)==0)e=1;else{i[d>>0]=i[a+432>>0]|0;e=1}break}case 4:{b=k[a+364>>2]|0;e=(Fnb(b)|0)+1|0;if(!((d|0)==0|f>>>0>>0))ABb(d|0,b|0,e|0)|0;break}case 5:{if((d|0)!=0&f>>>0>3){k[d>>2]=k[a+168>>2];e=4}else e=4;break}case 6:{if((d|0)!=0&f>>>0>3){k[d>>2]=k[a+416>>2];e=4}else e=4;break}case 7:{if((k[a+416>>2]|0)>>>0>c>>>0){e=k[(k[a+420>>2]|0)+(c<<2)>>2]|0;b=Fnb(e)|0;if((d|0)==0|f>>>0<(b+1|0)>>>0)e=b+1|0;else{ABb(d|0,e|0,b+1|0)|0;i[d+b>>0]=0;e=b+1|0}}else e=0;break}case 8:{if((k[a+416>>2]|0)>>>0>c>>>0){e=k[(k[a+428>>2]|0)+(c<<2)>>2]|0;if((d|0)==0|f>>>0<(e+1|0)>>>0)e=e+1|0;else{ABb(d|0,k[(k[a+424>>2]|0)+(c<<2)>>2]|0,e|0)|0;i[d+e>>0]=0;e=e+1|0}}else e=0;break}case 9:{if((d|0)!=0&f>>>0>3){k[d>>2]=k[a+368>>2];e=4}else e=4;break}case 10:{if((k[a+368>>2]|0)==1)if((k[a+372>>2]|0)>>>0>c>>>0){e=k[(k[a+372+16>>2]|0)+(c<<2)>>2]|0;b=Fnb(e)|0;if((d|0)==0|f>>>0<(b+1|0)>>>0)e=b+1|0;else{ABb(d|0,e|0,b|0)|0;i[d+b>>0]=0;e=b+1|0}}else e=0;else e=0;break}case 11:{if((d|0)!=0&f>>>0>3){k[d>>2]=k[a+404>>2];e=4}else e=4;break}case 12:{if((k[a+404>>2]|0)>>>0>c>>>0){e=k[(k[a+412>>2]|0)+(c<<2)>>2]|0;if((d|0)==0|f>>>0<(e+1|0)>>>0)e=e+1|0;else{ABb(d|0,k[(k[a+408>>2]|0)+(c<<2)>>2]|0,e|0)|0;i[d+e>>0]=0;e=e+1|0}}else e=0;break}case 13:{if((d|0)!=0&f>>>0>1){j[d>>1]=j[a+168+120>>1]|0;e=2}else e=2;break}case 14:{if((d|0)!=0&f>>>0>1){j[d>>1]=j[a+168+122>>1]|0;e=2}else e=2;break}case 15:{if((d|0)==0|(f|0)==0)e=1;else{i[d>>0]=i[a+168+8>>0]|0;e=1}break}case 16:{if((l[a+168+8>>0]|0)>>>0>c>>>0)if((d|0)!=0&f>>>0>1){j[d>>1]=j[a+168+12+(c<<1)>>1]|0;e=2}else e=2;else e=0;break}case 24:{if((d|0)!=0&f>>>0>3){k[d>>2]=k[a+168+108>>2];e=4}else e=4;break}case 17:{if((d|0)!=0&f>>>0>3){k[d>>2]=k[a+168+116>>2];e=4}else e=4;break}case 25:{if((d|0)!=0&f>>>0>3){k[d>>2]=k[a+168+112>>2];e=4}else e=4;break}case 18:{if((d|0)==0|(f|0)==0)e=1;else{i[d>>0]=i[a+168+9>>0]|0;e=1}break}case 19:{if((l[a+168+9>>0]|0)>>>0>c>>>0)if((d|0)!=0&f>>>0>1){j[d>>1]=j[a+168+40+(c<<1)>>1]|0;e=2}else e=2;else e=0;break}case 20:{if((d|0)==0|(f|0)==0)e=1;else{i[d>>0]=i[a+168+10>>0]|0;e=1}break}case 21:{if((l[a+168+10>>0]|0)>>>0>c>>>0)if((d|0)!=0&f>>>0>1){j[d>>1]=j[a+168+60+(c<<1)>>1]|0;e=2}else e=2;else e=0;break}case 22:{if((d|0)==0|(f|0)==0)e=1;else{i[d>>0]=i[a+168+11>>0]|0;e=1}break}case 23:{if((l[a+168+11>>0]|0)>>>0>c>>>0)if((d|0)!=0&f>>>0>1){j[d>>1]=j[a+168+88+(c<<1)>>1]|0;e=2}else e=2;else e=0;break}case 26:{if((d|0)==0|(f|0)==0)e=1;else{i[d>>0]=i[a+168+124>>0]|0;e=1}break}case 27:{if((l[a+168+124>>0]|0)>>>0>c>>>0)if((d|0)!=0&f>>>0>1){j[d>>1]=j[a+168+128+(c<<1)>>1]|0;e=2}else e=2;else e=0;break}case 28:{if((d|0)==0|(f|0)==0)e=1;else{i[d>>0]=i[a+168+125>>0]|0;e=1}break}case 29:{if((l[a+168+125>>0]|0)>>>0>c>>>0)if((d|0)!=0&f>>>0>1){j[d>>1]=j[a+168+154+(c<<1)>>1]|0;e=2}else e=2;else e=0;break}case 31:{if((d|0)==0|(f|0)==0)e=1;else{i[d>>0]=i[a+168+127>>0]|0;e=1}break}case 30:{if((d|0)==0|(f|0)==0)e=1;else{i[d>>0]=i[a+168+126>>0]|0;e=1}break}case 32:{if(c>>>0<2)if((d|0)!=0&f>>>0>1){j[d>>1]=j[a+168+192+(c<<1)>>1]|0;e=2}else e=2;else e=0;break}case 33:{if((d|0)!=0&f>>>0>3){k[d>>2]=k[a+168+4>>2];e=4}else e=4;break}case 34:{if((d|0)!=0&f>>>0>3){k[d>>2]=k[a+168+188>>2];e=4}else e=4;break}case 35:{if((d|0)!=0&f>>>0>3){k[d>>2]=k[a+168+184>>2];e=4}else e=4;break}case 41:{if((d|0)==0|(f|0)==0)e=1;else{i[d>>0]=i[a+156>>0]|0;e=1}break}case 42:{if((d|0)!=0&f>>>0>1){j[d>>1]=j[a+132+26>>1]|0;e=2}else e=2;break}case 43:{if((d|0)!=0&f>>>0>1){j[d>>1]=j[a+160>>1]|0;e=2}else e=2;break}case 44:{if((d|0)!=0&f>>>0>1){j[d>>1]=j[a+164>>1]|0;e=2}else e=2;break}case 36:{b=k[a+132>>2]|0;e=(Fnb(b)|0)+1|0;if(!((d|0)==0|f>>>0>>0))ABb(d|0,b|0,e|0)|0;break}case 37:{b=k[a+136>>2]|0;e=(Fnb(b)|0)+1|0;if(!((d|0)==0|f>>>0>>0))ABb(d|0,b|0,e|0)|0;break}case 38:{b=k[a+140>>2]|0;e=(Fnb(b)|0)+1|0;if(!((d|0)==0|f>>>0>>0))ABb(d|0,b|0,e|0)|0;break}case 39:{b=k[a+144>>2]|0;e=(Fnb(b)|0)+1|0;if(!((d|0)==0|f>>>0>>0))ABb(d|0,b|0,e|0)|0;break}case 40:{b=k[a+148>>2]|0;e=(Fnb(b)|0)+1|0;if(!((d|0)==0|f>>>0>>0))ABb(d|0,b|0,e|0)|0;break}case 45:{if((d|0)!=0&f>>>0>3){k[d>>2]=k[a+152>>2];e=4}else e=4;break}default:e=0}while(0);return ((e|0)==0?-1:e)|0}function H0a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;j=k[a+492>>2]|0;if(!j){b=6;return b|0}a=k[j+32>>2]|0;if(!a){b=0;return b|0}i=0;do{h=k[j+28>>2]|0;do if((k[h+(i*20|0)>>2]|0)==(c|0)){e=k[h+(i*20|0)+4>>2]|0;if((e|0)>(b|0)){k[d>>2]=k[h+(i*20|0)+8>>2];break}f=k[h+(i*20|0)+12>>2]|0;g=k[h+(i*20|0)+16>>2]|0;if((f|0)<(b|0)){k[d>>2]=g;break}else{h=h+(i*20|0)+8|0;a=S2a(b-e|0,g-(k[h>>2]|0)|0,f-e|0)|0;k[d>>2]=(k[h>>2]|0)+a;a=k[j+32>>2]|0;break}}while(0);i=i+1|0}while(i>>>0>>0);a=0;return a|0}function I0a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a=k[a+528>>2]|0;if(!a){b=6;return b|0}c=k[a+4>>2]|0;k[b>>2]=c;k[b+4>>2]=k[a>>2];if(!c){b=0;return b|0}else d=0;do{k[b+8+(d*12|0)>>2]=k[a+8+(d<<2)>>2];e=k[a+88+(d*12|0)+4>>2]|0;k[b+8+(d*12|0)+4>>2]=k[e>>2];k[b+8+(d*12|0)+8>>2]=k[e+((l[a+88+(d*12|0)>>0]|0)+-1<<2)>>2];d=d+1|0}while(d>>>0>>0);a=0;return a|0}function J0a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,s=0;s=r;r=r+64|0;e=k[a+528>>2]|0;if(!e){a=6;r=s;return a|0}d=k[e+4>>2]|0;p=d>>>0>>0?d:b;if(!d)d=0;else{o=0;do{b=e+88+(o*12|0)|0;j=k[e+88+(o*12|0)+4>>2]|0;n=k[e+88+(o*12|0)+8>>2]|0;if(o>>>0

>>0){m=b;b=i[b>>0]|0;h=k[c+(o<<2)>>2]|0}else{h=i[b>>0]|0;m=b;b=h;h=((k[j+((h&255)+-1<<2)>>2]|0)-(k[j>>2]|0)|0)/2|0}do if(!(b<<24>>24))q=12;else{g=-1;b=0;while(1){f=k[j+(b<<2)>>2]|0;if((h|0)==(f|0)){q=8;break}if((h|0)<(f|0)){f=b;b=g;break}f=b+1|0;if(f>>>0<(l[m>>0]|0)>>>0){g=b;b=f}else{f=-1;break}}if((q|0)==8){q=0;b=k[n+(b<<2)>>2]|0;break}if((b|0)<0)q=12;else if((f|0)<0){b=k[n+((l[m>>0]|0)+-1<<2)>>2]|0;break}else{d=k[j+(b<<2)>>2]|0;b=S2a(h-d|0,(k[n+(f<<2)>>2]|0)-(k[n+(b<<2)>>2]|0)|0,(k[j+(f<<2)>>2]|0)-d|0)|0;d=k[e+4>>2]|0;break}}while(0);if((q|0)==12){q=0;b=k[n>>2]|0}k[s+(o<<2)>>2]=b;o=o+1|0}while(o>>>0>>0);e=k[a+528>>2]|0;if(!e){a=6;r=s;return a|0}}n=e+4|0;b=k[n>>2]|0;j=b>>>0>>0?b:d;d=k[e>>2]|0;if(!d){a=0;r=s;return a|0}m=e+136|0;h=0;do{if(!b){b=0;f=65536}else{g=0;f=65536;do{if(g>>>0>>0)d=k[s+(g<<2)>>2]|0;else d=32768;b=(d|0)<0?0:d;b=(b|0)>65536?65536:b;f=U2a(f,(1<>2]|0}while(g>>>0>>0);d=k[e>>2]|0}k[(k[m>>2]|0)+(h<<2)>>2]=f;h=h+1|0}while(h>>>0>>0);d=0;r=s;return d|0}function K0a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=k[a+528>>2]|0;if(!h){c=6;return c|0}d=k[h+4>>2]|0;g=d>>>0>>0?d:b;a=k[h>>2]|0;if(!a){c=0;return c|0}f=0;do{if(!d){d=0;b=65536}else{e=0;b=65536;do{if(e>>>0>>0)a=k[c+(e<<2)>>2]|0;else a=32768;d=(a|0)<0?0:a;d=(d|0)>65536?65536:d;b=U2a(b,(1<>2]|0}while(e>>>0>>0);a=k[h>>2]|0}k[(k[h+136>>2]|0)+(f<<2)>>2]=b;f=f+1|0}while(f>>>0>>0);a=0;return a|0}function L0a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,s=0;o=r;r=r+80|0;d=k[a+100>>2]|0;n=k[a+528>>2]|0;if(!n){k[o+16>>2]=6;b=6;r=o;return b|0}a=k[n+4>>2]|0;k[o+24>>2]=a;k[o+24+4>>2]=k[n>>2];if(!a)e=0;else{c=0;do{k[o+24+8+(c*12|0)>>2]=k[n+8+(c<<2)>>2];m=k[n+88+(c*12|0)+4>>2]|0;k[o+24+8+(c*12|0)+4>>2]=k[m>>2];k[o+24+8+(c*12|0)+8>>2]=k[m+((l[n+88+(c*12|0)>>0]|0)+-1<<2)>>2];c=c+1|0}while((c|0)!=(a|0));e=k[o+24>>2]|0}k[o+16>>2]=0;m=UTa(d,(e*24|0)+20|0,o+16|0)|0;a=k[o+16>>2]|0;if(a|0){b=a;r=o;return b|0}k[m>>2]=e;k[m+4>>2]=k[o+24+4>>2];k[m+8>>2]=-1;k[m+12>>2]=m+20;k[m+16>>2]=0;if(e|0){d=0;do{k[m+20+(d*24|0)>>2]=k[o+24+8+(d*12|0)>>2];a=k[o+24+8+(d*12|0)+4>>2]<<16;k[m+20+(d*24|0)+4>>2]=a;c=k[o+24+8+(d*12|0)+8>>2]<<16;k[m+20+(d*24|0)+12>>2]=c;k[m+20+(d*24|0)+8>>2]=(c+a|0)/2|0;k[m+20+(d*24|0)+20>>2]=-1;a=m+20+(d*24|0)+16|0;k[a>>2]=-1;c=k[m+20+(d*24|0)>>2]|0;do if(!(Wmb(c,591753)|0))k[a>>2]=2003265652;else{if(!(Wmb(c,591196)|0)){k[a>>2]=2003072104;break}if(!(Wmb(c,591202)|0))k[a>>2]=1869640570}while(0);d=d+1|0}while(d>>>0>>0)}a=k[n+4>>2]|0;a:do if((k[n>>2]|0)==(1<>2]|0;switch(a|0){case 1:{a=k[c+4>>2]|0;k[o>>2]=a;break}case 2:{j=k[c+12>>2]|0;a=(k[c+4>>2]|0)+j|0;k[o>>2]=a;k[o+4>>2]=(k[c+8>>2]|0)+j;break}case 3:{h=k[c+28>>2]|0;j=k[c+20>>2]|0;g=k[c+12>>2]|0;a=j+h+g+(k[c+4>>2]|0)|0;k[o>>2]=a;h=(k[c+24>>2]|0)+h|0;k[o+4>>2]=h+g+(k[c+8>>2]|0);k[o+8>>2]=h+j+(k[c+16>>2]|0);break}default:{q=k[c+60>>2]|0;f=k[c+52>>2]|0;g=k[c+44>>2]|0;j=k[c+36>>2]|0;p=k[c+28>>2]|0;e=k[c+20>>2]|0;s=k[c+12>>2]|0;a=f+q+g+j+p+e+s+(k[c+4>>2]|0)|0;k[o>>2]=a;q=(k[c+56>>2]|0)+q|0;h=k[c+40>>2]|0;d=k[c+24>>2]|0;k[o+4>>2]=q+g+h+p+d+s+(k[c+8>>2]|0);f=q+f+(k[c+48>>2]|0)|0;k[o+8>>2]=f+p+d+e+(k[c+16>>2]|0);k[o+12>>2]=f+g+h+j+(k[c+32>>2]|0)}}j=k[o+24>>2]|0;if(j|0){d=m+20|0;c=0;while(1){g=k[n+88+(c*12|0)+8>>2]|0;b:do if((k[g>>2]|0)<(a|0)){e=i[n+88+(c*12|0)>>0]|0;c:do if((e&255)>1){f=1;while(1){h=k[g+(f<<2)>>2]|0;if((h|0)>=(a|0)){d=f;break}f=f+1|0;if((f|0)>=(e&255|0))break c}q=k[n+88+(c*12|0)+4>>2]|0;s=k[q+(d+-1<<2)>>2]|0;q=(k[q+(d<<2)>>2]|0)-s|0;d=k[g+(d+-1<<2)>>2]|0;a=(ha(V2a(a-d|0,h-d|0)|0,q)|0)+(s<<16)|0;d=k[m+12>>2]|0;break b}while(0);a=k[(k[n+88+(c*12|0)+4>>2]|0)+((e&255)+-1<<2)>>2]<<16}else a=k[k[n+88+(c*12|0)+4>>2]>>2]<<16;while(0);k[d+(c*24|0)+8>>2]=a;c=c+1|0;if(c>>>0>=j>>>0)break a;a=k[o+(c<<2)>>2]|0}}}while(0);k[b>>2]=m;s=k[o+16>>2]|0;r=o;return s|0}function M0a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=r;r=r+16|0;b=b>>>0>4?4:b;if(b|0){d=0;do{f=(Q2a(k[c+(d<<2)>>2]|0)|0)>>16;k[e+(d<<2)>>2]=f;d=d+1|0}while(d>>>0>>0)}f=J0a(a,b,e)|0;r=e;return f|0}function N0a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0;u=r;r=r+1904|0;k[b>>2]=1;s=LSa(k[b+96>>2]|0,591657)|0;k[b+484>>2]=s;t=KSa(k[(k[b+96>>2]|0)+4>>2]|0,591674)|0;k[b+488>>2]=t;if(!t){b=11;r=u;return b|0}o=KSa(k[(k[b+96>>2]|0)+4>>2]|0,591214)|0;k[b+548>>2]=o;o=k[b+488>>2]|0;vBb(u+8|0,0,376)|0;k[b+532>>2]=-1;k[b+536>>2]=-1;k[b+540>>2]=0;k[b+280>>2]=7;k[b+284>>2]=1;k[b+172>>2]=4;k[b+348>>2]=3932;k[b+276>>2]=2596864;f=k[b+104>>2]|0;g=k[b+100>>2]|0;vj[k[k[o+4>>2]>>2]&127](u+8|0,0,0,g);k[u+8+72>>2]=f;n=u+8+80|0;q=u+8+76|0;k[q>>2]=0;k[q+4>>2]=0;k[q+8>>2]=0;k[q+12>>2]=0;j[q+16>>1]=0;i[q+18>>0]=0;d=O0a(f,591223,14)|0;k[u+384>>2]=d;if(!d)p=5;else if((d&255|0)==2){d=O0a(f,591238,10)|0;k[u+384>>2]=d;if(!d)p=5;else p=22}else p=22;a:do if((p|0)==5){d=pTa(f,0)|0;k[u+384>>2]=d;if(!d){a=FTa(f,u+1884|0)|0;d=k[u+1884>>2]|0;do if(!d){if((a+32767&65535)<2){e=JTa(f,u+1884|0)|0;d=k[u+1884>>2]|0;if(d|0)break;k[u+384>>2]=0;if(a<<16>>16==-32767){i[u+8+92>>0]=1;a=e}else p=12}else{k[u+384>>2]=0;p=12}if((p|0)==12){d=pTa(f,0)|0;k[u+384>>2]=d;if(d|0){p=22;break a}a=k[f+4>>2]|0}if(!(k[f+20>>2]|0)){k[q>>2]=(k[f>>2]|0)+(k[f+8>>2]|0);k[n>>2]=a;i[u+8+93>>0]=1;d=qTa(f,a)|0;k[u+384>>2]=d;if(d|0){p=22;break a}d=k[n>>2]|0}else{e=UTa(g,a,u+384|0)|0;k[q>>2]=e;d=k[u+384>>2]|0;if(d|0){p=22;break a}d=sTa(f,e,a)|0;k[u+384>>2]=d;if(d|0){p=22;break a}k[n>>2]=a;d=a}e=k[q>>2]|0;k[u+8+4>>2]=e;k[u+8>>2]=e;k[u+8+8>>2]=e+d;k[u>>2]=0;p=26;break a}while(0);k[u+384>>2]=d;p=22}else p=22}while(0);do if((p|0)==22){if(i[u+8+93>>0]|0){k[u>>2]=d;break}YTa(g,k[q>>2]|0);k[q>>2]=0;m=k[u+384>>2]|0;k[u>>2]=m;if(!m){e=0;d=k[n>>2]|0;p=26}}while(0);b:do if((p|0)==26){m=P0a(b,u+8|0,e,d)|0;k[u>>2]=m;if(!m){g=k[u+8+72>>2]|0;m=k[u+8+16>>2]|0;k[u+384>>2]=0;c:do if(!(i[u+8+92>>0]|0)){a=k[q>>2]|0;g=k[n>>2]|0;d=a;h=g;f=a;g=a+g|0;d:while(1){a=d;e=f;while(1){f=e;e=e+1|0;if((i[f>>0]|0)==101&(f+9|0)>>>0>>0)if((i[e>>0]|0)==101)if((i[f+2>>0]|0)==120)if((i[f+3>>0]|0)==101)if((i[f+4>>0]|0)==99)break;if(e>>>0>=g>>>0){p=56;break d}}k[u+8>>2]=a;k[u+8+8>>2]=f+10;if(d>>>0<(f+10|0)>>>0){do{if((i[d>>0]|0)==101)if(!(Dmb(d,591249,5)|0))break d;Si[k[u+8+32>>2]&1023](u+8|0);if(k[u+8+12>>2]|0)break;Si[k[u+8+28>>2]&1023](u+8|0);d=k[u+8>>2]|0}while(d>>>0<(f+10|0)>>>0);e=k[q>>2]|0;a=k[n>>2]|0}else{e=d;a=h}d=e;h=a;f=f+10|0;g=e+a|0}if((p|0)==56){k[u+384>>2]=3;d=3;break}k[u+8+8>>2]=(k[q>>2]|0)+(k[n>>2]|0);Si[k[u+8+32>>2]&1023](u+8|0);d=k[u+8>>2]|0;h=k[u+8+8>>2]|0;e=Cmb(d,10,h-d|0)|0;if(!e)e=1;else e=e>>>0>(Cmb(d,13,h-d|0)|0)>>>0;e:do if(d>>>0>>0){f:do if(e)while(1){switch(i[d>>0]|0){case 10:case 13:case 9:case 32:break;default:{g=d;break f}}d=d+1|0;if(d>>>0>=h>>>0)break e}else while(1){switch(i[d>>0]|0){case 10:case 9:case 32:break;default:{g=d;break f}}d=d+1|0;if(d>>>0>=h>>>0)break e}while(0);e=k[q>>2]|0;f=e-g+(k[n>>2]|0)|0;if(!(i[u+8+93>>0]|0)){i[u+8+94>>0]=1;k[u+8+84>>2]=e;k[u+8+88>>2]=f;k[q>>2]=0;k[n>>2]=0}else{e=UTa(m,f+1|0,u+384|0)|0;k[u+8+84>>2]=e;d=k[u+384>>2]|0;if(d|0)break c;k[u+8+88>>2]=f}a=g+3|0;g:do if(a>>>0>>0){d=l[g>>0]|0;if((d+-48|0)>>>0>=10)switch(d|0){case 65:case 66:case 67:case 68:case 69:case 70:case 97:case 98:case 99:case 100:case 101:case 102:break;default:break g}d=l[g+1>>0]|0;if((d+-48|0)>>>0>=10)switch(d|0){case 65:case 66:case 67:case 68:case 69:case 70:case 97:case 98:case 99:case 100:case 101:case 102:break;default:break g}d=l[g+2>>0]|0;if((d+-48|0)>>>0>=10)switch(d|0){case 65:case 66:case 67:case 68:case 69:case 70:case 97:case 98:case 99:case 100:case 101:case 102:break;default:break g}d=l[a>>0]|0;if((d+-48|0)>>>0>=10)switch(d|0){case 65:case 66:case 67:case 68:case 69:case 70:case 97:case 98:case 99:case 100:case 101:case 102:break;default:break g}k[u+8>>2]=g;Ni[k[(k[o+4>>2]|0)+24>>2]&127](u+8|0,e,f,u+1884|0,0)|0;e=k[u+1884>>2]|0;k[u+8+88>>2]=e;i[(k[u+8+84>>2]|0)+e>>0]=0;e=u+8+84|0;d=u+8+88|0;p=88;break c}while(0);BBb(e|0,g|0,f|0)|0;e=u+8+84|0;d=u+8+88|0;p=88;break c}while(0);k[u+384>>2]=3;d=3}else{f=rTa(g)|0;h=u+8+88|0;k[h>>2]=0;while(1){a=FTa(g,u+1884|0)|0;d=k[u+1884>>2]|0;if(d|0){p=33;break}if((a+32767&65535)>=2){p=31;break}e=JTa(g,u+1884|0)|0;d=k[u+1884>>2]|0;if(d|0){p=33;break}k[u+384>>2]=0;if(a<<16>>16!=-32766)break;k[h>>2]=(k[h>>2]|0)+e;d=qTa(g,e)|0;k[u+384>>2]=d;if(d|0)break c}if((p|0)==31)k[u+384>>2]=0;else if((p|0)==33){k[u+384>>2]=d;break}if(!(k[h>>2]|0)){k[u+384>>2]=3;d=3;break}d=pTa(g,f)|0;k[u+384>>2]=d;if(!d){d=UTa(m,k[h>>2]|0,u+384|0)|0;k[u+8+84>>2]=d;d=k[u+384>>2]|0;if(!d){k[h>>2]=0;e=FTa(g,u+1884|0)|0;d=k[u+1884>>2]|0;h:do if(!d)while(1){if((e+32767&65535)>=2){d=0;p=43;break h}a=JTa(g,u+1884|0)|0;d=k[u+1884>>2]|0;if(d|0){p=43;break h}k[u+384>>2]=0;if(e<<16>>16!=-32766)break h;d=sTa(g,(k[u+8+84>>2]|0)+(k[h>>2]|0)|0,a)|0;k[u+384>>2]=d;if(d|0)break c;k[h>>2]=(k[h>>2]|0)+a;e=FTa(g,u+1884|0)|0;d=k[u+1884>>2]|0;if(d|0){p=43;break}}else p=43;while(0);if((p|0)==43)k[u+384>>2]=d;k[u+384>>2]=0;e=u+8+84|0;d=h;p=88}}}while(0);do if((p|0)==88){kj[k[o+16>>2]&255](k[e>>2]|0,k[d>>2]|0,-9871);if((k[d>>2]|0)>>>0<4){k[u+384>>2]=3;d=3;break}i[k[e>>2]>>0]=32;i[(k[e>>2]|0)+1>>0]=32;i[(k[e>>2]|0)+2>>0]=32;i[(k[e>>2]|0)+3>>0]=32;o=k[e>>2]|0;k[u+8+4>>2]=o;k[u+8>>2]=o;k[u+8+8>>2]=o+(k[d>>2]|0);o=k[u+384>>2]|0;k[u>>2]=o;if(o|0)break b;o=P0a(b,u+8|0,k[u+8+84>>2]|0,k[u+8+88>>2]|0)|0;k[u>>2]=o;if(o|0)break b;i[b+176>>0]=l[b+176>>0]&254;e=k[b+528>>2]|0;i:do if(!e)p=108;else{d=k[e+416>>2]|0;if(d|0)if((d|0)!=(k[e+4>>2]|0))k[e+416>>2]=0;if(!(k[e>>2]|0))p=99;else{d=k[e+4>>2]|0;if(!d)p=99;else p=101}if((p|0)==99){$0a(b);e=k[b+528>>2]|0;if(!e){p=108;break}d=k[e+4>>2]|0;if(d|0)p=101}j:do if((p|0)==101){a=0;while(1){if(!(i[e+88+(a*12|0)>>0]|0))break;a=a+1|0;if(a>>>0>=d>>>0)break j}$0a(b);if(!(k[b+528>>2]|0)){p=108;break i}}while(0);d=k[b+540>>2]|0;if(d|0){o=WTa(k[b+100>>2]|0,4,0,d,0,u)|0;k[b+544>>2]=o;if(k[u>>2]|0){k[b+540>>2]=0;break b}}}while(0);if((p|0)==108)k[b+540>>2]=0;m=k[u+8+152>>2]|0;k[b+416>>2]=m;if(k[u+8+328>>2]|0){k[u+8+328>>2]=0;k[b+404>>2]=k[u+8+312>>2];k[b+392>>2]=k[u+8+316>>2];k[b+408>>2]=k[u+8+340>>2];k[b+412>>2]=k[u+8+344>>2]}if((k[u+8+220>>2]|0)==0?(k[(k[b+128>>2]|0)+48>>2]|0)==0:0)k[u>>2]=3;k[u+8+220>>2]=0;k[b+396>>2]=k[u+8+208>>2];k[b+424>>2]=k[u+8+232>>2];k[b+428>>2]=k[u+8+236>>2];k[b+400>>2]=k[u+8+156>>2];k[b+420>>2]=k[u+8+180>>2];k[u+8+156>>2]=0;k[u+8+180>>2]=0;if((k[b+368>>2]|0)!=1)break b;o=k[u+8+116>>2]|0;k:do if((o|0)>0){if((m|0)<1){d=0;while(1){j[(k[b+384>>2]|0)+(d<<1)>>1]=0;k[(k[b+388>>2]|0)+(d<<2)>>2]=591898;d=d+1|0;if((d|0)==(o|0)){e=0;d=0;break k}}}else{n=0;e=0;d=0}do{j[(k[b+384>>2]|0)+(n<<1)>>1]=0;k[(k[b+388>>2]|0)+(n<<2)>>2]=591898;f=k[(k[u+8+124>>2]|0)+(n<<2)>>2]|0;l:do if(f){g=k[b+420>>2]|0;a=0;while(1){h=k[g+(a<<2)>>2]|0;if(!(Wmb(f,h)|0))break;a=a+1|0;if((a|0)>=(m|0))break l}j[(k[b+384>>2]|0)+(n<<1)>>1]=a;k[(k[b+388>>2]|0)+(n<<2)>>2]=h;if(Wmb(591898,h)|0){e=(n|0)<(e|0)?e:n+1|0;d=(n|0)<(d|0)?n:d}}while(0);n=n+1|0}while((n|0)!=(o|0))}else{e=0;d=0}while(0);k[b+376>>2]=d;k[b+380>>2]=e;k[b+372>>2]=k[u+8+96>>2];break b}while(0);k[u>>2]=d}}while(0);d=k[u+8+148>>2]|0;if(d|0)Si[d&1023](u+8+100|0);d=k[u+8+256>>2]|0;if(d|0)Si[d&1023](u+8+208|0);d=k[u+8+204>>2]|0;if(d|0)Si[d&1023](u+8+156|0);d=k[u+8+308>>2]|0;if(d|0)Si[d&1023](u+8+260|0);d=k[u+8+364>>2]|0;if(d|0)Si[d&1023](u+8+316|0);d=k[u+8+16>>2]|0;YTa(d,k[u+8+84>>2]|0);k[u+8+84>>2]=0;if(!(i[u+8+93>>0]|0)){YTa(d,k[q>>2]|0);k[q>>2]=0}Si[k[u+8+24>>2]&1023](u+8|0);d=k[u>>2]|0;if((c|0)<0|(d|0)!=0){b=d;r=u;return b|0}if((c|0)>0){b=6;r=u;return b|0}k[b+16>>2]=k[b+416>>2];k[b+4>>2]=0;d=k[b+8>>2]|0;k[b+8>>2]=d|2577;if(!(i[b+156>>0]|0))d=d|2577;else{k[b+8>>2]=d|2581;d=d|2581}h=k[b+528>>2]|0;if(h|0)k[b+8>>2]=d|256;e=k[b+144>>2]|0;k[b+20>>2]=e;k[b+24>>2]=0;m:do if(!e){d=k[b+364>>2]|0;if(!d)p=158;else{k[b+20>>2]=d;p=158}}else{d=k[b+140>>2]|0;if(!d)p=158;else{a=i[d>>0]|0;n:do if(a<<24>>24){o:while(1){g=a<<24>>24==0;p:while(1){f=i[e>>0]|0;if(a<<24>>24==f<<24>>24){p=149;break}switch(a<<24>>24){case 45:case 32:break p;default:{}}switch(f<<24>>24){case 0:break o;case 45:case 32:break;default:{p=158;break m}}if(g)break n;else e=e+1|0}if((p|0)==149){p=0;e=e+1|0}d=d+1|0;a=i[d>>0]|0;if(!(a<<24>>24))break n}k[b+24>>2]=d;if(!d){p=158;break m}else break m}while(0);k[b+24>>2]=592007}}while(0);do if((p|0)==158){d=k[b+148>>2]|0;if(!d){k[b+24>>2]=592007;break}else{k[b+24>>2]=d;break}}while(0);d=(k[b+152>>2]|0)!=0&1;k[b+12>>2]=d;e=k[b+148>>2]|0;do if(e|0){if(Wmb(e,592027)|0)if(Wmb(e,591579)|0)break;k[b+12>>2]=d|2}while(0);k[b+28>>2]=0;k[b+32>>2]=0;k[b+52>>2]=k[b+460>>2]>>16;e=k[b+460+4>>2]>>16;k[b+56>>2]=e;a=(k[b+460+8>>2]|0)+65535>>16;k[b+60>>2]=a;f=(k[b+460+12>>2]|0)+65535>>16;k[b+64>>2]=f;d=j[b+68>>1]|0;if(!(d<<16>>16)){j[b+68>>1]=1e3;d=1e3}j[b+70>>1]=f;j[b+72>>1]=e;c=(((d&65535)*12|0)>>>0)/10|0;j[b+74>>1]=(c<<16>>16|0)<(f-e|0)?f-e|0:c;j[b+76>>1]=a;f=(k[b+488>>2]|0)+12|0;if(!(Ci[k[k[f>>2]>>2]&3](u+384|0,b,0,0,k[b+420>>2]|0,h,0,0,366)|0)){i[u+384+70>>0]=1;i[u+384+68>>0]=0;k[u+384+1364>>2]=k[b+404>>2];k[u+384+1368>>2]=k[b+408>>2];k[u+384+1372>>2]=k[b+412>>2];k[u+384+1488>>2]=k[b+544>>2];k[u+384+1492>>2]=k[b+540>>2];if((k[b+416>>2]|0)>0){a=0;d=0;do{do if(!(b1a(u+384|0,a,u+1884|0)|0)){e=k[(k[(k[u+384+4>>2]|0)+128>>2]|0)+48>>2]|0;if(!e)break;Di[k[(k[e>>2]|0)+4>>2]&511](k[e+4>>2]|0,u+1884|0)}while(0);c=k[u+384+40>>2]|0;d=(a|0)==0|(c|0)>(d|0)?c:d;a=a+1|0}while((a|0)<(k[b+416>>2]|0))}else d=0;Si[k[(k[f>>2]|0)+4>>2]&1023](u+384|0);c=(Q2a(d)|0)>>>16&65535;j[b+76>>1]=c}j[b+78>>1]=j[b+74>>1]|0;j[b+80>>1]=j[b+132+26>>1]|0;j[b+82>>1]=j[b+160>>1]|0;if(!s){b=0;r=u;return b|0}d=k[t+20>>2]|0;k[u+1884>>2]=b;j[u+1884+8>>1]=3;e=u+1884+10|0;j[e>>1]=1;a=u+1884+4|0;k[a>>2]=1970170211;f=DSa(k[d+12>>2]|0,0,u+1884|0,0)|0;if(!((f|0)==0|(f&255|0)==163)){b=f;r=u;return b|0}j[u+1884+8>>1]=7;switch(k[b+368>>2]|0){case 2:{k[a>>2]=1094995778;j[e>>1]=0;break}case 4:{k[a>>2]=1094992453;j[e>>1]=1;d=d+4|0;break}case 1:{k[a>>2]=1094992451;j[e>>1]=2;d=d+8|0;break}case 3:{k[a>>2]=1818326065;j[e>>1]=3;d=d+12|0;break}default:{b=0;r=u;return b|0}}d=k[d>>2]|0;if(!d){b=0;r=u;return b|0}b=DSa(d,0,u+1884|0,0)|0;r=u;return b|0}function O0a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=r;r=r+16|0;d=pTa(a,0)|0;a:do if(!d){e=FTa(a,g)|0;d=k[g>>2]|0;do if(!d){if((e+32767&65535)<2){JTa(a,g)|0;d=k[g>>2]|0;if(d|0)break;if(e<<16>>16!=-32767)f=8}else f=8;if((f|0)==8){d=pTa(a,0)|0;if(d|0)break a}d=wTa(a,c)|0;if(d|0)break a;d=(Emb(k[a+32>>2]|0,b,c)|0)==0;yTa(a);d=d?0:2;break a}while(0)}while(0);r=g;return d|0}function P0a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0;o=r;r=r+16|0;k[b>>2]=c;k[b+8>>2]=c+d;k[b+12>>2]=0;Si[k[b+28>>2]&1023](b);e=k[b>>2]|0;a:do if(e>>>0<(c+d|0)>>>0){j=0;g=0;b:while(1){h=i[e>>0]|0;c:do switch(h<<24>>24){case 101:{f=e+6|0;if((f|0)!=(c+d|0)){if(f>>>0>=(c+d|0)>>>0){n=19;break c}switch(i[e+5>>0]|0){case 37:case 125:case 123:case 93:case 91:case 62:case 60:case 41:case 40:case 47:case 0:case 12:case 9:case 10:case 13:case 32:break;default:{n=19;break c}}}if(!(Dmb(e,591249,5)|0))break a;else n=19;break}case 99:{f=e+10|0;if((f|0)!=(c+d|0)){if(f>>>0>=(c+d|0)>>>0){n=19;break c}switch(i[e+9>>0]|0){case 37:case 125:case 123:case 93:case 91:case 62:case 60:case 41:case 40:case 47:case 0:case 12:case 9:case 10:case 13:case 32:break;default:{n=19;break c}}}if(!(Dmb(e,591255,9)|0))break a;else n=19;break}case 70:{f=e+14|0;if((f|0)!=(c+d|0)){if(f>>>0>=(c+d|0)>>>0){n=19;break c}switch(i[e+13>>0]|0){case 37:case 125:case 123:case 93:case 91:case 62:case 60:case 41:case 40:case 47:case 0:case 12:case 9:case 10:case 13:case 32:break;default:{n=19;break c}}}if(!(Dmb(e,591698,13)|0)){f=k[b+372>>2]|0;if(f&1|0)k[b+372>>2]=f|2;k[b>>2]=e+13;f=j}else n=19;break}default:n=19}while(0);d:do if((n|0)==19){n=0;if(((h&255)+-48|0)>>>0<10){Si[k[b+32>>2]&1023](b);if(!(k[b+12>>2]|0)){f=1;g=e;break}else break a}f=(e+6|0)>>>0<(c+d|0)>>>0;if(f&h<<24>>24==82)if(!(j<<24>>24==0|(i[e+1>>0]|0)!=68)){k[b>>2]=g;e=k[(k[a+128>>2]|0)+48>>2]|0;j=k[b+8>>2]|0;Si[k[b+28>>2]&1023](b);f=k[b>>2]|0;if(f>>>0>=j>>>0){n=27;break b}if(((l[f>>0]|0)+-48|0)>>>0>=10){n=27;break b}f=Gi[k[b+36>>2]&2047](b)|0;Si[k[b+32>>2]&1023](b);h=k[b>>2]|0;if((f|0)<=-1){n=27;break b}if((f|0)>=(j-(h+1)|0)){n=27;break b}k[b>>2]=h+(f+1);if(!(k[b+12>>2]|0)){f=0;break}else{e=3;n=77;break b}}if(f&h<<24>>24==45)if(!(j<<24>>24==0|(i[e+1>>0]|0)!=124)){k[b>>2]=g;e=k[(k[a+128>>2]|0)+48>>2]|0;j=k[b+8>>2]|0;Si[k[b+28>>2]&1023](b);f=k[b>>2]|0;if(f>>>0>=j>>>0){n=36;break b}if(((l[f>>0]|0)+-48|0)>>>0>=10){n=36;break b}f=Gi[k[b+36>>2]&2047](b)|0;Si[k[b+32>>2]&1023](b);h=k[b>>2]|0;if((f|0)<=-1){n=36;break b}if((f|0)>=(j-(h+1)|0)){n=36;break b}k[b>>2]=h+(f+1);if(!(k[b+12>>2]|0)){f=0;break}else{e=3;n=77;break b}}if(!((e+2|0)>>>0<(c+d|0)>>>0&h<<24>>24==47)){Si[k[b+32>>2]&1023](b);if(!(k[b+12>>2]|0)){f=0;break}else break a}e=e+1|0;k[b>>2]=e;Si[k[b+32>>2]&1023](b);if(k[b+12>>2]|0)break a;h=k[b>>2]|0;if(h>>>0<(c+d|0)>>>0&((h|0)!=(e|0)&(h-e|0)>>>0<22)){j=i[e>>0]|0;f=591718;m=55028;while(1){if(j<<24>>24==(i[f>>0]|0))if((h-e|0)==(Fnb(f)|0))if(!(Emb(e,f,h-e|0)|0))break;m=m+36|0;f=k[m>>2]|0;if(!f){f=0;break d}}e=k[b+372>>2]|0;if(!((e&1)+1&k[m+32>>2]))f=0;else{if(e&2|0)if(Wmb(f,591956)|0){f=0;break}e=k[a+528>>2]|0;if(!e)f=0;else f=(k[e>>2]|0)==0?0:e;j=k[m+8>>2]|0;do if((j|0)==11){Di[k[m+12>>2]&511](a,b);e=k[b+12>>2]|0}else{switch(k[m+4>>2]|0){case 3:{k[o>>2]=a+132;if(!f){h=0;e=o}else{h=k[f>>2]|0;e=f+144|0}break}case 2:{k[o>>2]=a+164;h=0;e=o;break}case 4:{k[o>>2]=a+168;if(!f){h=0;e=o}else{h=k[f>>2]|0;e=f+212|0}break}case 5:{k[o>>2]=a+460;if(!f){h=0;e=o}else{h=k[f>>2]|0;e=f+284|0}break}case 6:{k[o>>2]=b;h=0;e=o;break}case 7:{k[o>>2]=a;h=0;e=o;break}case 8:{k[o>>2]=e;h=0;e=o;break}default:{k[o>>2]=a+132;h=0;e=o}}if(!(k[e>>2]|0)){k[b+12>>2]=0;f=0;break d}if((j+-9|0)>>>0<2){e=Ni[k[b+68>>2]&127](b,m,e,h,0)|0;break}else{e=Ni[k[b+64>>2]&127](b,m,e,h,0)|0;break}}while(0);k[b+12>>2]=e;if(!e)f=0;else{if((e&255|0)!=162){n=77;break b}k[b+12>>2]=0;f=0}}}else f=0}while(0);Si[k[b+28>>2]&1023](b);e=k[b>>2]|0;if(e>>>0>=(c+d|0)>>>0)break a;else j=f}if((n|0)==27){if(e|0){b=3;r=o;return b|0}k[b+12>>2]=3;b=3;r=o;return b|0}else if((n|0)==36){if(e|0){b=3;r=o;return b|0}k[b+12>>2]=3;b=3;r=o;return b|0}else if((n|0)==77){r=o;return e|0}}while(0);b=k[b+12>>2]|0;r=o;return b|0}function Q0a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=r;r=r+32|0;if((nj[k[b+52>>2]&127](b,6,g,3)|0)<6){k[b+12>>2]=3;r=g;return}c=k[g+12>>2]|0;c=(c|0)<0?0-c|0:c;if(!c){k[b+12>>2]=3;r=g;return}f=(V2a(1e3,c)|0)&65535;j[a+68>>1]=f;if((c|0)==65536){c=g+8|0;b=g+16|0;d=g+4|0;e=k[g+12>>2]|0;f=k[g+20>>2]|0}else{f=V2a(k[g>>2]|0,c)|0;k[g>>2]=f;f=V2a(k[g+4>>2]|0,c)|0;k[g+4>>2]=f;f=V2a(k[g+8>>2]|0,c)|0;k[g+8>>2]=f;f=V2a(k[g+16>>2]|0,c)|0;k[g+16>>2]=f;f=V2a(k[g+20>>2]|0,c)|0;k[g+20>>2]=f;e=k[g+12>>2]>>31&-131072|65536;k[g+12>>2]=e;c=g+8|0;b=g+16|0;d=g+4|0}k[a+436>>2]=k[g>>2];k[a+444>>2]=k[d>>2];k[a+440>>2]=k[c>>2];k[a+448>>2]=e;k[a+452>>2]=k[b>>2]>>16;k[a+456>>2]=f>>16;r=g;return}function R0a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0;m=r;r=r+16|0;j=k[b+8>>2]|0;e=k[a+488>>2]|0;Si[k[b+28>>2]&1023](b);g=k[b>>2]|0;if(g>>>0>=j>>>0){k[b+12>>2]=3;r=m;return}c=i[g>>0]|0;if(!(c<<24>>24==91|((c&255)+-48|0)>>>0<10)){if((g+17|0)>>>0>>0)if(!(Dmb(g,591906,16)|0)){k[a+368>>2]=2;r=m;return}if((g+15|0)>>>0>>0)if(!(Dmb(g,591923,14)|0)){k[a+368>>2]=4;r=m;return}if((g+18|0)>>>0>>0)if(!(Dmb(g,591938,17)|0)){k[a+368>>2]=3;r=m;return}k[b+12>>2]=162;r=m;return}d=k[b+16>>2]|0;if(c<<24>>24==91){k[b>>2]=g+1;h=256;f=1}else{h=Gi[k[b+36>>2]&2047](b)|0;f=0}Si[k[b+28>>2]&1023](b);if((k[b>>2]|0)>>>0>=j>>>0){r=m;return}k[a+372>>2]=h;k[b+96>>2]=h;c=WTa(d,2,0,h,0,m)|0;k[a+384>>2]=c;c=k[m>>2]|0;if(!c){c=WTa(d,4,0,h,0,m)|0;k[a+388>>2]=c;c=k[m>>2]|0;if(!c){c=Ri[k[k[e>>2]>>2]&255](b+100|0,h,d)|0;k[m>>2]=c;if(!c){if((h|0)>0){c=0;do{nj[k[b+144>>2]&127](b+100|0,c,591898,8)|0;c=c+1|0}while((c|0)!=(h|0))}Si[k[b+28>>2]&1023](b);c=k[b>>2]|0;a:do if(c>>>0>>0){b:do if(!(f<<24>>24)){g=c;d=0;while(1){e=i[g>>0]|0;switch(e<<24>>24){case 93:{l=g;break b}case 100:{c=g+3|0;if(c>>>0>>0)if((i[g+1>>0]|0)==101)if((i[g+2>>0]|0)==102)switch(i[c>>0]|0){case 37:case 125:case 123:case 93:case 91:case 62:case 60:case 41:case 40:case 47:case 0:case 12:case 9:case 10:case 13:case 32:break a;default:{}}break}default:{}}if(((e&255)+-48|0)>>>0>9){Si[k[b+32>>2]&1023](b);if(!(k[b+12>>2]|0))c=g;else{c=47;break}}else{f=Gi[k[b+36>>2]&2047](b)|0;Si[k[b+28>>2]&1023](b);c=k[b>>2]|0;if((g|0)==(c|0)){c=38;break}if((c+2|0)>>>0>>0)if((d|0)<(h|0)&(i[c>>0]|0)==47){k[b>>2]=c+1;Si[k[b+32>>2]&1023](b);e=k[b>>2]|0;if(e>>>0>=j>>>0){c=47;break}if(k[b+12>>2]|0){c=47;break}g=nj[k[b+144>>2]&127](b+100|0,f,c+1|0,e-(c+1)+1|0)|0;k[b+12>>2]=g;if(g|0){c=47;break}i[(k[(k[b+124>>2]|0)+(f<<2)>>2]|0)+(e-(c+1))>>0]=0;c=c+1|0;d=d+1|0}}Si[k[b+28>>2]&1023](b);g=k[b>>2]|0;if(g>>>0>=j>>>0)break a}if((c|0)==38){k[b+12>>2]=2;r=m;return}else if((c|0)==47){r=m;return}}else{e=c;f=0;while(1){d=i[e>>0]|0;switch(d<<24>>24){case 93:{l=e;break b}case 100:{c=e+3|0;if(c>>>0>>0)if((i[e+1>>0]|0)==101)if((i[e+2>>0]|0)==102)switch(i[c>>0]|0){case 37:case 125:case 123:case 93:case 91:case 62:case 60:case 41:case 40:case 47:case 0:case 12:case 9:case 10:case 13:case 32:break a;default:{}}break}default:{}}if((e+2|0)>>>0>=j>>>0){c=44;break}if(!((f|0)<(h|0)&d<<24>>24==47)){c=44;break}c=e+1|0;k[b>>2]=c;Si[k[b+32>>2]&1023](b);d=k[b>>2]|0;if(d>>>0>=j>>>0){c=47;break}if(k[b+12>>2]|0){c=47;break}g=nj[k[b+144>>2]&127](b+100|0,f,c,d-c+1|0)|0;k[b+12>>2]=g;if(g|0){c=47;break}i[(k[(k[b+124>>2]|0)+(f<<2)>>2]|0)+(d-c)>>0]=0;Si[k[b+28>>2]&1023](b);e=k[b>>2]|0;if(e>>>0>=j>>>0)break a;else f=f+1|0}if((c|0)==44){k[b+12>>2]=2;r=m;return}else if((c|0)==47){r=m;return}}while(0);c=l+1|0}else c=g;while(0);k[a+368>>2]=1;k[b>>2]=c;r=m;return}}}k[b+12>>2]=c;r=m;return}function S0a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0;o=r;r=r+16|0;m=k[b+16>>2]|0;n=k[a+488>>2]|0;Si[k[b+28>>2]&1023](b);c=k[b>>2]|0;if(c>>>0<(k[b+8>>2]|0)>>>0)if((i[c>>0]|0)==91){Si[k[b+32>>2]&1023](b);Si[k[b+28>>2]&1023](b);c=k[b>>2]|0;if(c>>>0<(k[b+8>>2]|0)>>>0)if((i[c>>0]|0)==93){r=o;return}k[b+12>>2]=3;r=o;return}j=Gi[k[b+36>>2]&2047](b)|0;Si[k[b+32>>2]&1023](b);if(k[b+12>>2]|0){r=o;return}Si[k[b+28>>2]&1023](b);if(!(k[b+312>>2]|0)){c=Ri[k[k[n>>2]>>2]&255](b+316|0,j,m)|0;k[o>>2]=c;if(!c)d=9}else d=9;a:do if((d|0)==9){c=k[b>>2]|0;b:do if((c+4|0)>>>0<(k[b+8>>2]|0)>>>0){while(1){if(Dmb(c,591479,3)|0)break b;Si[k[b+32>>2]&1023](b);h=Gi[k[b+36>>2]&2047](b)|0;c=k[(k[a+128>>2]|0)+48>>2]|0;e=k[b+8>>2]|0;Si[k[b+28>>2]&1023](b);d=k[b>>2]|0;if(d>>>0>=e>>>0){d=16;break}if(((l[d>>0]|0)+-48|0)>>>0>=10){d=16;break}f=Gi[k[b+36>>2]&2047](b)|0;Si[k[b+32>>2]&1023](b);g=k[b>>2]|0;if((f|0)<=-1){d=16;break}if((f|0)>=(e-(g+1)|0)){d=16;break}k[b>>2]=g+(f+1);if(k[b+12>>2]|0){d=35;break}Si[k[b+32>>2]&1023](b);if(k[b+12>>2]|0){d=35;break}Si[k[b+28>>2]&1023](b);c=k[b>>2]|0;if((c+4|0)>>>0<(k[b+8>>2]|0)>>>0)if(!(Dmb(c,591483,3)|0)){Si[k[b+32>>2]&1023](b);Si[k[b+28>>2]&1023](b)}if(!(k[b+312>>2]|0)){c=k[a+172>>2]|0;if((c|0)>-1){if(f>>>0>>0){d=27;break}d=UTa(m,f,o)|0;c=k[o>>2]|0;if(c|0)break a;ABb(d|0,g+1|0,f|0)|0;kj[k[n+16>>2]&255](d,f,4330);c=k[a+172>>2]|0;c=nj[k[b+360>>2]&127](b+316|0,h,d+c|0,f-c|0)|0;k[o>>2]=c;YTa(m,d);c=k[o>>2]|0}else{c=nj[k[b+360>>2]&127](b+316|0,h,g+1|0,f)|0;k[o>>2]=c}if(c|0)break a}c=k[b>>2]|0;if((c+4|0)>>>0>=(k[b+8>>2]|0)>>>0)break b}if((d|0)==16){if(c|0){r=o;return}k[b+12>>2]=3;r=o;return}else if((d|0)==27){k[o>>2]=3;c=3;break a}else if((d|0)==35){r=o;return}}while(0);if(k[b+312>>2]|0){r=o;return}k[b+312>>2]=j;r=o;return}while(0);k[b+12>>2]=c;r=o;return}function T0a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0;u=r;r=r+16|0;q=k[b+16>>2]|0;s=k[a+488>>2]|0;t=k[b+8>>2]|0;p=Gi[k[b+36>>2]&2047](b)|0;a:do if((p|0)<0){k[u>>2]=3;e=b+12|0;c=3}else{if(!p){r=u;return}if(k[b+12>>2]|0){r=u;return}if(!(k[b+152>>2]|0)){c=Ri[k[k[s>>2]>>2]&255](b+208|0,p+6|0,q)|0;k[u>>2]=c;if(c|0){e=b+12|0;break}c=Ri[k[k[s>>2]>>2]&255](b+156|0,p+6|0,q)|0;k[u>>2]=c;if(c|0){e=b+12|0;break}c=Ri[k[k[s>>2]>>2]&255](b+260|0,4,q)|0;k[u>>2]=c;if(c|0){e=b+12|0;break}}f=0;o=0;e=0;b:while(1){Si[k[b+28>>2]&1023](b);c=k[b>>2]|0;if(c>>>0>=t>>>0){c=o;d=60;break}c:do if(!f){h=c;while(1){c=h+3|0;d:do if(c>>>0>>0){switch(i[c>>0]|0){case 37:case 125:case 123:case 93:case 91:case 62:case 60:case 41:case 40:case 47:case 0:case 12:case 9:case 10:case 13:case 32:break;default:break d}if((i[h>>0]|0)==101)if((i[h+1>>0]|0)==110)if((i[h+2>>0]|0)==100){f=0;c=o;d=60;break b}}while(0);Si[k[b+32>>2]&1023](b);m=k[b>>2]|0;if(m>>>0>=t>>>0){d=36;break b}if(k[b+12>>2]|0){d=79;break b}if((i[h>>0]|0)==47){if((h+2|0)>>>0>=t>>>0){d=40;break b}c=k[(k[a+128>>2]|0)+48>>2]|0;g=k[b+8>>2]|0;Si[k[b+28>>2]&1023](b);d=k[b>>2]|0;if(d>>>0>=g>>>0){d=45;break b}if(((l[d>>0]|0)+-48|0)>>>0>=10){d=45;break b}d=Gi[k[b+36>>2]&2047](b)|0;Si[k[b+32>>2]&1023](b);j=k[b>>2]|0;if((d|0)<=-1){d=45;break b}if((d|0)>=(g-(j+1)|0)){d=45;break b}k[b>>2]=j+(d+1);if(k[b+12>>2]|0){d=79;break b}if(!(k[b+152>>2]|0)){n=d;j=j+1|0;c=m;break c}}Si[k[b+28>>2]&1023](b);h=k[b>>2]|0;if(h>>>0>=t>>>0){f=0;c=o;d=60;break b}}}else{h=c;while(1){c=h+3|0;e:do if(c>>>0>>0){switch(i[c>>0]|0){case 37:case 125:case 123:case 93:case 91:case 62:case 60:case 41:case 40:case 47:case 0:case 12:case 9:case 10:case 13:case 32:break;default:break e}switch(i[h>>0]|0){case 100:{if((i[h+1>>0]|0)!=101)break e;if((i[h+2>>0]|0)==102){c=o;d=60;break b}else break e}case 101:{if((i[h+1>>0]|0)!=110)break e;if((i[h+2>>0]|0)==100){c=o;d=60;break b}else break e}default:break e}}while(0);Si[k[b+32>>2]&1023](b);m=k[b>>2]|0;if(m>>>0>=t>>>0){d=36;break b}if(k[b+12>>2]|0){d=79;break b}if((i[h>>0]|0)==47){if((h+2|0)>>>0>=t>>>0){d=40;break b}c=k[(k[a+128>>2]|0)+48>>2]|0;g=k[b+8>>2]|0;Si[k[b+28>>2]&1023](b);d=k[b>>2]|0;if(d>>>0>=g>>>0){d=45;break b}if(((l[d>>0]|0)+-48|0)>>>0>=10){d=45;break b}d=Gi[k[b+36>>2]&2047](b)|0;Si[k[b+32>>2]&1023](b);j=k[b>>2]|0;if((d|0)<=-1){d=45;break b}if((d|0)>=(g-(j+1)|0)){d=45;break b}k[b>>2]=j+(d+1);if(k[b+12>>2]|0){d=79;break b}if(!(k[b+152>>2]|0)){n=d;j=j+1|0;c=m;break c}}Si[k[b+28>>2]&1023](b);h=k[b>>2]|0;if(h>>>0>=t>>>0){c=o;d=60;break b}}}while(0);g=h+1|0;d=c-g|0;c=nj[k[b+200>>2]&127](b+156|0,f,g,d+1|0)|0;k[u>>2]=c;if(c|0){e=b+12|0;break a}i[(k[(k[b+180>>2]|0)+(f<<2)>>2]|0)+d>>0]=0;if((i[g>>0]|0)==46){m=(Wmb(591898,k[(k[b+180>>2]|0)+(f<<2)>>2]|0)|0)==0;g=m?1:o;e=m?f:e}else g=o;c=k[a+172>>2]|0;if((f|0)<(p+5|0)&(c|0)>-1){if(n>>>0<=c>>>0){d=55;break}d=UTa(q,n,u)|0;c=k[u>>2]|0;if(c|0){e=b+12|0;break a}ABb(d|0,j|0,n|0)|0;kj[k[s+16>>2]&255](d,n,4330);c=k[a+172>>2]|0;c=nj[k[b+252>>2]&127](b+208|0,f,d+c|0,n-c|0)|0;k[u>>2]=c;YTa(q,d);c=k[u>>2]|0}else{c=nj[k[b+252>>2]&127](b+208|0,f,j,n)|0;k[u>>2]=c}if(!c){f=f+1|0;o=g}else{e=b+12|0;break a}}if((d|0)==36){k[u>>2]=3;e=b+12|0;c=3;break}else if((d|0)==40){k[u>>2]=3;e=b+12|0;c=3;break}else if((d|0)==45){if(c|0){r=u;return}k[b+12>>2]=3;r=u;return}else if((d|0)==55){k[u>>2]=3;e=b+12|0;c=3;break}else if((d|0)==60){k[b+152>>2]=f;if(!(c<<24>>24)){i[u+4>>0]=i[591487]|0;i[u+4+1>>0]=i[591488]|0;i[u+4+2>>0]=i[591489]|0;i[u+4+3>>0]=i[591490]|0;i[u+4+4>>0]=i[591491]|0;c=nj[k[b+304>>2]&127](b+260|0,0,k[k[b+180>>2]>>2]|0,k[k[b+184>>2]>>2]|0)|0;k[u>>2]=c;if(!c){c=nj[k[b+304>>2]&127](b+260|0,1,k[k[b+232>>2]>>2]|0,k[k[b+236>>2]>>2]|0)|0;k[u>>2]=c;if(!c){c=nj[k[b+200>>2]&127](b+156|0,0,591898,8)|0;k[u>>2]=c;if(!c){c=nj[k[b+252>>2]&127](b+208|0,0,u+4|0,5)|0;k[u>>2]=c;if(!c){c=nj[k[b+200>>2]&127](b+156|0,f,k[k[b+284>>2]>>2]|0,k[k[b+288>>2]>>2]|0)|0;k[u>>2]=c;if(!c){c=nj[k[b+252>>2]&127](b+208|0,f,k[(k[b+284>>2]|0)+4>>2]|0,k[(k[b+288>>2]|0)+4>>2]|0)|0;k[u>>2]=c;if(!c){k[b+152>>2]=(k[b+152>>2]|0)+1;r=u;return}}}}}}e=b+12|0;break}c=k[k[b+180>>2]>>2]|0;if(!(Wmb(591898,c)|0)){r=u;return}c=nj[k[b+304>>2]&127](b+260|0,0,c,k[k[b+184>>2]>>2]|0)|0;k[u>>2]=c;if(c|0){e=b+12|0;break}c=nj[k[b+304>>2]&127](b+260|0,1,k[k[b+232>>2]>>2]|0,k[k[b+236>>2]>>2]|0)|0;k[u>>2]=c;if(c|0){e=b+12|0;break}c=nj[k[b+304>>2]&127](b+260|0,2,k[(k[b+180>>2]|0)+(e<<2)>>2]|0,k[(k[b+184>>2]|0)+(e<<2)>>2]|0)|0;k[u>>2]=c;if(c|0){e=b+12|0;break}c=nj[k[b+304>>2]&127](b+260|0,3,k[(k[b+232>>2]|0)+(e<<2)>>2]|0,k[(k[b+236>>2]|0)+(e<<2)>>2]|0)|0;k[u>>2]=c;if(c|0){e=b+12|0;break}c=nj[k[b+200>>2]&127](b+156|0,e,k[k[b+284>>2]>>2]|0,k[k[b+288>>2]>>2]|0)|0;k[u>>2]=c;if(c|0){e=b+12|0;break}c=nj[k[b+252>>2]&127](b+208|0,e,k[(k[b+284>>2]|0)+4>>2]|0,k[(k[b+288>>2]|0)+4>>2]|0)|0;k[u>>2]=c;if(c|0){e=b+12|0;break}c=nj[k[b+200>>2]&127](b+156|0,0,k[(k[b+284>>2]|0)+8>>2]|0,k[(k[b+288>>2]|0)+8>>2]|0)|0;k[u>>2]=c;if(c|0){e=b+12|0;break}c=nj[k[b+252>>2]&127](b+208|0,0,k[(k[b+284>>2]|0)+12>>2]|0,k[(k[b+288>>2]|0)+12>>2]|0)|0;k[u>>2]=c;if(c|0){e=b+12|0;break}r=u;return}else if((d|0)==79){r=u;return}}while(0);k[e>>2]=c;r=u;return}function U0a(a,b){a=a|0;b=b|0;k[b+372>>2]=k[b+372>>2]|1;return}function V0a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0;l=r;r=r+256|0;vj[k[b+60>>2]&127](b,l+64|0,16,l+56|0);c=k[l+56>>2]|0;if((c|0)<0){a=162;b=b+12|0;k[b>>2]=a;r=l;return}if((c|0)==0|(c|0)>16){a=3;b=b+12|0;k[b>>2]=a;r=l;return}i=k[b>>2]|0;j=k[b+8>>2]|0;a:do if((c|0)>0){c=k[a+528>>2]|0;h=0;d=0;while(1){k[b>>2]=k[l+64+(h*12|0)>>2];k[b+8>>2]=k[l+64+(h*12|0)+4>>2];vj[k[b+60>>2]&127](b,l+8|0,4,l);e=k[l>>2]|0;if(!h){if((e+-1|0)>>>0>3){c=3;break}c=W0a(a,k[l+56>>2]|0,e)|0;if(c|0)break;f=k[l>>2]|0;g=k[a+528>>2]|0}else if((e|0)==(d|0)){f=d;g=c;e=d}else{c=3;break}if((f|0)>0){c=g+24+(h<<2)|0;d=0;do{k[b>>2]=k[l+8+(d*12|0)>>2];k[b+8>>2]=k[l+8+(d*12|0)+4>>2];f=gj[k[b+40>>2]&511](b,0)|0;k[(k[c>>2]|0)+(d<<2)>>2]=f;d=d+1|0}while((d|0)<(k[l>>2]|0))}h=h+1|0;if((h|0)>=(k[l+56>>2]|0))break a;else{c=g;d=e}}a=c;b=b+12|0;k[b>>2]=a;r=l;return}while(0);k[b>>2]=i;k[b+8>>2]=j;a=0;b=b+12|0;k[b>>2]=a;r=l;return}function W0a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=r;r=r+16|0;h=k[a+100>>2]|0;k[j>>2]=0;d=k[a+528>>2]|0;do if(!d){d=UTa(h,420,j)|0;if(!(k[j>>2]|0)){k[d+416>>2]=0;k[a+528>>2]=d;i=d;break}else{i=k[j>>2]|0;r=j;return i|0}}else i=d;while(0);do if(!b)e=15;else{d=k[i>>2]|0;if(d|0)if((d|0)==(b|0)){e=15;break}else break;g=WTa(h,32,0,b,0,j)|0;d=i+148|0;k[d>>2]=g;if(k[j>>2]|0){i=k[j>>2]|0;r=j;return i|0}g=WTa(h,196,0,b,0,j)|0;f=i+216|0;k[f>>2]=g;if(k[j>>2]|0){i=k[j>>2]|0;r=j;return i|0}e=WTa(h,16,0,b,0,j)|0;g=i+288|0;k[g>>2]=e;if(k[j>>2]|0){i=k[j>>2]|0;r=j;return i|0}e=WTa(h,4,0,b<<1,0,j)|0;k[i+136>>2]=e;if(k[j>>2]|0){i=k[j>>2]|0;r=j;return i|0}k[i+140>>2]=e+(b<<2);k[i+144>>2]=a+132;k[i+212>>2]=a+168;k[i+284>>2]=a+460;if(b>>>0>=2){a=k[d>>2]|0;f=k[f>>2]|0;d=k[g>>2]|0;e=2;do{a=a+32|0;k[i+144+(e<<2)>>2]=a;f=f+196|0;k[i+212+(e<<2)>>2]=f;d=d+16|0;k[i+284+(e<<2)>>2]=d;e=e+1|0}while(e>>>0<=b>>>0)}k[i>>2]=b;e=15}while(0);do if((e|0)==15){d=i+4|0;e=k[d>>2]|0;if(c){if(!((e|0)==0|(e|0)==(c|0)))break;k[d>>2]=c;e=c}f=k[i>>2]|0;if(!((f|0)!=0&(e|0)!=0)){i=k[j>>2]|0;r=j;return i|0}a=i+24|0;if(k[a>>2]|0){i=k[j>>2]|0;r=j;return i|0}d=WTa(h,4,0,ha(e,f)|0,0,j)|0;k[a>>2]=d;if(!((k[j>>2]|0)==0&f>>>0>1)){i=k[j>>2]|0;r=j;return i|0}k[i+28>>2]=d+(e<<2);if((f|0)==2){i=k[j>>2]|0;r=j;return i|0}else d=2;do{h=(k[a>>2]|0)+((ha(d,e)|0)<<2)|0;k[i+24+(d<<2)>>2]=h;d=d+1|0}while((d|0)!=(f|0));i=k[j>>2]|0;r=j;return i|0}while(0);k[j>>2]=3;i=k[j>>2]|0;r=j;return i|0}function X0a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0;m=r;r=r+320|0;k[m+304>>2]=0;h=k[a+100>>2]|0;vj[k[b+60>>2]&127](b,m+256|0,4,m+248|0);c=k[m+248>>2]|0;if((c|0)<0){k[m+304>>2]=162;l=162;b=b+12|0;k[b>>2]=l;r=m;return}if((c|0)==0|(c|0)>4){k[m+304>>2]=3;l=3;b=b+12|0;k[b>>2]=l;r=m;return}l=k[b>>2]|0;j=k[b+8>>2]|0;c=W0a(a,0,c)|0;k[m+304>>2]=c;if(c|0){l=c;b=b+12|0;k[b>>2]=l;r=m;return}f=k[a+528>>2]|0;do if((k[m+248>>2]|0)>0){g=0;while(1){k[b>>2]=k[m+256+(g*12|0)>>2];k[b+8>>2]=k[m+256+(g*12|0)+4>>2];vj[k[b+60>>2]&127](b,m+8|0,20,m);c=k[m>>2]|0;if((c+-1|0)>>>0>19){a=9;break}c=WTa(h,4,0,c<<1,0,m+304|0)|0;e=f+88+(g*12|0)+4|0;k[e>>2]=c;d=k[m+304>>2]|0;if(d|0){a=16;break}d=k[m>>2]|0;a=f+88+(g*12|0)+8|0;k[a>>2]=c+(d<<2);i[f+88+(g*12|0)>>0]=d;if((d|0)>0){c=0;do{k[b>>2]=(k[m+8+(c*12|0)>>2]|0)+1;k[b+8>>2]=(k[m+8+(c*12|0)+4>>2]|0)+-1;d=Gi[k[b+36>>2]&2047](b)|0;k[(k[e>>2]|0)+(c<<2)>>2]=d;d=gj[k[b+40>>2]&511](b,0)|0;k[(k[a>>2]|0)+(c<<2)>>2]=d;c=c+1|0}while((c|0)<(k[m>>2]|0))}g=g+1|0;if((g|0)>=(k[m+248>>2]|0)){a=14;break}}if((a|0)==9){k[m+304>>2]=3;l=3;b=b+12|0;k[b>>2]=l;r=m;return}else if((a|0)==14){c=k[m+304>>2]|0;break}else if((a|0)==16){l=d;b=b+12|0;k[b>>2]=l;r=m;return}}else c=0;while(0);k[b>>2]=l;k[b+8>>2]=j;l=c;b=b+12|0;k[b>>2]=l;r=m;return}function Y0a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0;l=r;r=r+64|0;k[l>>2]=0;vj[k[b+60>>2]&127](b,l+8|0,4,l+4|0);c=k[l+4>>2]|0;a:do if((c|0)<0){k[l>>2]=162;c=162}else{if((c|0)==0|(c|0)>4){k[l>>2]=3;c=3;break}c=W0a(a,0,c)|0;k[l>>2]=c;if(!c){j=k[a+528>>2]|0;f=k[a+100>>2]|0;if((k[l+4>>2]|0)>0){h=0;while(1){g=l+8+(h*12|0)|0;c=k[g>>2]|0;if((i[c>>0]|0)==47){k[g>>2]=c+1;c=c+1|0}a=c;d=k[l+8+(h*12|0)+4>>2]|0;if((d|0)==(a|0)){a=10;break}e=UTa(f,d-a+1|0,l)|0;k[j+8+(h<<2)>>2]=e;c=k[l>>2]|0;if(c|0)break a;ABb(e|0,k[g>>2]|0,d-a|0)|0;i[e+(d-a)>>0]=0;h=h+1|0;if((h|0)>=(k[l+4>>2]|0)){a=13;break}}if((a|0)==10){k[l>>2]=3;c=3;break}else if((a|0)==13){c=k[l>>2]|0;break}}else c=0}}while(0);k[b+12>>2]=c;r=l;return}function Z0a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=r;r=r+208|0;e=k[a+528>>2]|0;vj[k[b+60>>2]&127](b,h+8|0,16,h);c=k[h>>2]|0;do if((c|0)<0)c=162;else if((c|0)==0|(c|0)>16)c=3;else{if(!e)f=5;else{d=k[e>>2]|0;if(!d)f=5;else if((d|0)!=(c|0)){c=3;break}}if((f|0)==5){c=W0a(a,c,0)|0;if(c|0)break;c=k[h>>2]|0;e=k[a+528>>2]|0}f=k[b>>2]|0;g=k[b+8>>2]|0;if((c|0)>0){a=e+136|0;c=e+140|0;d=0;do{k[b>>2]=k[h+8+(d*12|0)>>2];k[b+8>>2]=k[h+8+(d*12|0)+4>>2];e=gj[k[b+40>>2]&511](b,0)|0;k[(k[a>>2]|0)+(d<<2)>>2]=e;k[(k[c>>2]|0)+(d<<2)>>2]=e;d=d+1|0}while((d|0)<(k[h>>2]|0))}k[b>>2]=f;k[b+8>>2]=g;c=0}while(0);k[b+12>>2]=c;r=h;return}function _0a(a,b){a=a|0;b=b|0;b=nj[k[b+52>>2]&127](b,0,0,0)|0;k[a+540>>2]=b;return}function $0a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=k[a+100>>2]|0;e=k[a+528>>2]|0;if(!e)return;b=k[e>>2]|0;f=k[e+4>>2]|0;YTa(d,k[e+24>>2]|0);k[e+24>>2]=0;if(b>>>0>1)vBb(e+28|0,0,(b<<2)+-4|0)|0;YTa(d,k[e+216>>2]|0);k[e+216>>2]=0;YTa(d,k[e+148>>2]|0);k[e+148>>2]=0;YTa(d,k[e+288>>2]|0);k[e+288>>2]=0;if(b|0){c=0;do{k[e+212+(c<<2)>>2]=0;k[e+144+(c<<2)>>2]=0;k[e+284+(c<<2)>>2]=0;c=c+1|0}while((c|0)!=(b|0))}YTa(d,k[e+136>>2]|0);k[e+136>>2]=0;k[e+140>>2]=0;if(f|0){b=0;do{c=e+8+(b<<2)|0;YTa(d,k[c>>2]|0);k[c>>2]=0;b=b+1|0}while((b|0)!=(f|0));if(f|0){b=0;do{c=e+88+(b*12|0)+4|0;YTa(d,k[c>>2]|0);k[c>>2]=0;i[e+88+(b*12|0)>>0]=0;b=b+1|0}while((b|0)!=(f|0))}}YTa(d,k[a+528>>2]|0);k[a+528>>2]=0;return}function a1a(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+16|0;c=b1a(a,b,d)|0;if(c|0){r=d;return c|0}b=k[(k[(k[a+4>>2]|0)+128>>2]|0)+48>>2]|0;if(!b){r=d;return c|0}Di[k[(k[b>>2]|0)+4>>2]&511](k[b+4>>2]|0,d);r=d;return c|0}function b1a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=r;r=r+16|0;d=k[a+4>>2]|0;f=k[(k[d+128>>2]|0)+48>>2]|0;k[a+1376>>2]=k[d+436>>2];k[a+1376+4>>2]=k[d+436+4>>2];k[a+1376+8>>2]=k[d+436+8>>2];k[a+1376+12>>2]=k[d+436+12>>2];e=k[d+452+4>>2]|0;k[a+1392>>2]=k[d+452>>2];k[a+1392+4>>2]=e;do if(f|0){d=Ri[k[k[f>>2]>>2]&255](k[f+4>>2]|0,b,c)|0;if(!d){e=k[c>>2]|0;d=k[c+4>>2]|0;break}else{b=d;r=g;return b|0}}else{e=k[(k[d+424>>2]|0)+(b<<2)>>2]|0;k[c>>2]=e;d=k[(k[d+428>>2]|0)+(b<<2)>>2]|0;k[c+4>>2]=d}while(0);d=Ri[k[a+1484>>2]&255](a,e,d)|0;if(!((f|0)!=0&(d|0)==0)){b=d;r=g;return b|0}if(!(k[(k[f>>2]|0)+8>>2]|0)){b=0;r=g;return b|0}c=(Q2a(k[a+32>>2]|0)|0)>>16;k[g>>2]=c;k[g+4>>2]=0;c=(Q2a(k[a+40>>2]|0)|0)>>16;k[g+8>>2]=c;c=(Q2a(k[a+44>>2]|0)|0)>>16;k[g+12>>2]=c;b=nj[k[(k[f>>2]|0)+8>>2]&127](k[f+4>>2]|0,b,0,g)|0;k[a+32>>2]=k[g>>2]<<16;k[a+40>>2]=k[g+8>>2]<<16;k[a+44>>2]=k[g+12>>2]<<16;r=g;return b|0}function c1a(a){a=a|0;var b=0,c=0;if(!a)return;c=k[a+100>>2]|0;b=k[a+544>>2]|0;if(b|0){YTa(c,b);k[a+544>>2]=0;k[a+540>>2]=0}$0a(a);k[a+528>>2]=0;YTa(c,k[a+132>>2]|0);k[a+132>>2]=0;YTa(c,k[a+136>>2]|0);k[a+136>>2]=0;YTa(c,k[a+140>>2]|0);k[a+140>>2]=0;YTa(c,k[a+144>>2]|0);k[a+144>>2]=0;YTa(c,k[a+148>>2]|0);k[a+148>>2]=0;YTa(c,k[a+428>>2]|0);k[a+428>>2]=0;YTa(c,k[a+424>>2]|0);k[a+424>>2]=0;YTa(c,k[a+420>>2]|0);k[a+420>>2]=0;YTa(c,k[a+408>>2]|0);k[a+408>>2]=0;YTa(c,k[a+412>>2]|0);k[a+412>>2]=0;YTa(c,k[a+392>>2]|0);k[a+392>>2]=0;YTa(c,k[a+396>>2]|0);k[a+396>>2]=0;YTa(c,k[a+400>>2]|0);k[a+400>>2]=0;YTa(c,k[a+372+12>>2]|0);k[a+372+12>>2]=0;YTa(c,k[a+372+16>>2]|0);k[a+372+16>>2]=0;YTa(c,k[a+364>>2]|0);k[a+364>>2]=0;b=k[a+492>>2]|0;if(b|0){YTa(c,k[b+36>>2]|0);k[b+36>>2]=0;k[b+40>>2]=0;YTa(c,k[b+28>>2]|0);k[b+28>>2]=0;k[b+32>>2]=0;YTa(c,b)}k[a+20>>2]=0;k[a+24>>2]=0;return}function d1a(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+16|0;c=k[a>>2]|0;b=k[c+548>>2]|0;c=qSa(k[(k[c+96>>2]|0)+4>>2]|0,591214)|0;if(!((b|0)!=0&(c|0)!=0)){a=0;r=d;return a|0}b=k[b>>2]|0;if(!b){a=0;r=d;return a|0}b=Gi[b&2047](c)|0;if(!b){a=0;r=d;return a|0}c=k[a>>2]|0;b=Ri[k[b>>2]&255](k[c+100>>2]|0,c+168|0,d)|0;if(!b)k[a+40>>2]=k[d>>2];a=b;r=d;return a|0}function e1a(a){a=a|0;var b=0,c=0;if(!(k[a+40>>2]|0))return;c=k[a>>2]|0;b=k[c+548>>2]|0;c=qSa(k[(k[c+96>>2]|0)+4>>2]|0,591214)|0;if((b|0)!=0&(c|0)!=0){b=k[b>>2]|0;if(b|0){b=Gi[b&2047](c)|0;if(b|0)Si[k[b+8>>2]&1023](k[a+40>>2]|0)}}k[a+40>>2]=0;return}function f1a(a){a=a|0;var b=0,c=0;b=k[a+4>>2]|0;c=k[b+548>>2]|0;if(!c)return 0;b=qSa(k[(k[b+96>>2]|0)+4>>2]|0,591214)|0;if(!b)return 0;c=Gi[k[c+4>>2]&2047](b)|0;k[(k[a+156>>2]|0)+36>>2]=c;return 0}function g1a(a){a=a|0;k[(k[a+156>>2]|0)+36>>2]=0;return}function h1a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,l=0,n=0;n=r;r=r+1552|0;l=k[a+4>>2]|0;f=k[(k[l+488>>2]|0)+12>>2]|0;if((k[l+16>>2]|0)>>>0<=c>>>0)if(!(k[(k[l+128>>2]|0)+48>>2]|0)){a=6;r=n;return a|0}h=(d&1024|0)==0?d:d|3;if(b|0){k[a+172>>2]=k[b+16>>2];k[a+176>>2]=k[b+20>>2]}else{k[a+172>>2]=65536;k[a+176>>2]=65536}j[a+110>>1]=0;j[a+108>>1]=0;k[a+72>>2]=1869968492;d=Ci[k[f>>2]&3](n+48|0,l,b,a,k[l+420>>2]|0,k[l+528>>2]|0,(h&3|0)==0&1,h>>>16&15,366)|0;if(d|0){a=d;r=n;return a|0}i[n+48+69>>0]=(h&1024)>>>10;k[n+48+1364>>2]=k[l+404>>2];k[n+48+1368>>2]=k[l+408>>2];k[n+48+1372>>2]=k[l+412>>2];k[n+48+1488>>2]=k[l+544>>2];k[n+48+1492>>2]=k[l+540>>2];d=b1a(n+48|0,c,n+24|0)|0;if(d|0){Si[k[f+4>>2]&1023](n+48|0);a=d;r=n;return a|0}k[n+32>>2]=k[n+48+1376>>2];k[n+32+4>>2]=k[n+48+1376+4>>2];k[n+32+8>>2]=k[n+48+1376+8>>2];k[n+32+12>>2]=k[n+48+1376+12>>2];c=k[n+48+1392>>2]|0;e=k[n+48+1396>>2]|0;Si[k[f+4>>2]&1023](n+48|0);k[a+124>>2]=k[a+124>>2]&1|4;if(!(h&1024)){f=(Q2a(k[n+48+40>>2]|0)|0)>>16;k[a+40>>2]=f;f=(Q2a(k[n+48+40>>2]|0)|0)>>16;k[a+56>>2]=f;i[(k[a+156>>2]|0)+8>>0]=0;if(h&16|0){d=(k[l+472>>2]|0)-(k[l+464>>2]|0)>>16;k[a+52>>2]=d}else{d=(Q2a(k[n+48+44>>2]|0)|0)>>16;k[a+52>>2]=d;d=(Q2a(k[n+48+44>>2]|0)|0)>>16}k[a+60>>2]=d;k[a+72>>2]=1869968492;if(b|0)if((m[b+14>>1]|0)<24)k[a+124>>2]=k[a+124>>2]|256;if((k[n+32>>2]|0)==65536)if((k[n+32+12>>2]|0)==65536)if(!(k[n+32+4>>2]|0)){if(k[n+32+8>>2]|0)g=20}else g=20;else g=20;else g=20;if((g|0)==20)XSa(a+108|0,n+32|0);if(e|c|0)VSa(a+108|0,c,e);k[n>>2]=k[a+40>>2];k[n+4>>2]=0;WSa(n,n+32|0);k[a+40>>2]=(k[n>>2]|0)+c;k[n>>2]=0;k[n+4>>2]=k[a+52>>2];WSa(n,n+32|0);k[a+52>>2]=(k[n+4>>2]|0)+e;if(!(h&1)){d=k[n+48+16>>2]|0;e=k[d+4>>2]|0;f=k[a+172>>2]|0;b=k[a+176>>2]|0;if(!(h&3)){if(!(k[n+48+72>>2]|0))g=26}else g=26;if((g|0)==26){d=j[d+2>>1]|0;if(d<<16>>16>0){c=d<<16>>16;d=e;while(1){g=U2a(k[d>>2]|0,f)|0;k[d>>2]=g;g=d+4|0;e=U2a(k[g>>2]|0,b)|0;k[g>>2]=e;if((c|0)>1){c=c+-1|0;d=d+8|0}else break}}}g=U2a(k[a+40>>2]|0,f)|0;k[a+40>>2]=g;g=U2a(k[a+52>>2]|0,b)|0;k[a+52>>2]=g}USa(a+108|0,n+8|0);b=k[n+8>>2]|0;k[a+24>>2]=(k[n+8+8>>2]|0)-b;g=k[n+8+12>>2]|0;k[a+28>>2]=g-(k[n+8+4>>2]|0);k[a+32>>2]=b;k[a+36>>2]=g;if(h&16|0)uSa(a+24|0,k[a+52>>2]|0)}else{h=k[a+156>>2]|0;g=(Q2a(k[n+48+32>>2]|0)|0)>>16;k[a+32>>2]=g;g=(Q2a(k[n+48+40>>2]|0)|0)>>16;k[a+40>>2]=g;k[h+12>>2]=k[n+32>>2];k[h+12+4>>2]=k[n+32+4>>2];k[h+12+8>>2]=k[n+32+8>>2];k[h+12+12>>2]=k[n+32+12>>2];k[h+28>>2]=c;k[h+32>>2]=e;i[h+8>>0]=1}k[a+136>>2]=k[n+24>>2];k[a+140>>2]=k[n+24+4>>2];d=k[(k[l+128>>2]|0)+48>>2]|0;if(!d){a=0;r=n;return a|0}Di[k[(k[d>>2]|0)+4>>2]&511](k[d+4>>2]|0,n+24|0);k[a+136>>2]=0;k[a+140>>2]=0;a=0;r=n;return a|0}function i1a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;k[d>>2]=0;k[d+4>>2]=0;e=k[a+492>>2]|0;if(!e)return 0;a=k[e+36>>2]|0;e=a+(k[e+40>>2]<<4)+-16|0;a:do if(e>>>0>=a>>>0){while(1){h=(e-a>>4|0)/2|0;f=a+(h<<4)|0;g=k[f>>2]<<16|k[a+(h<<4)+4>>2];if((g|0)==(b<<16|c|0))break;e=g>>>0<(b<<16|c)>>>0?e:f+-16|0;a=g>>>0<(b<<16|c)>>>0?f+16|0:a;if(a>>>0>e>>>0)break a}k[d>>2]=k[a+(h<<4)+8>>2];k[d+4>>2]=k[a+(h<<4)+12>>2];return 0}while(0);k[d>>2]=0;k[d+4>>2]=0;return 0}function j1a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0;t=r;r=r+32|0;s=k[b+28>>2]|0;k[t>>2]=2;c=UTa(s,44,t)|0;if(!(k[t>>2]|0)){p=wTa(b,k[b+4>>2]|0)|0;k[t>>2]=p;if(!p){k[c+4>>2]=k[a+460>>2];k[c+4+4>>2]=k[a+460+4>>2];k[c+4+8>>2]=k[a+460+8>>2];k[c+4+12>>2]=k[a+460+12>>2];k[c+20>>2]=k[a+460+12>>2];k[c+24>>2]=k[a+460+4>>2];e=(k[a+488>>2]|0)+24|0;d=k[e>>2]|0;if(!d)q=36;else{d=nj[k[d>>2]&127](t+4|0,k[b+28>>2]|0,k[b+32>>2]|0,k[b+36>>2]|0)|0;k[t>>2]=d;if(!d){k[t+4+8>>2]=c;k[t+4+12>>2]=148;k[t+4+16>>2]=a+132;d=Gi[k[(k[e>>2]|0)+8>>2]&2047](t+4|0)|0;k[t>>2]=d;Si[k[(k[e>>2]|0)+4>>2]&1023](t+4|0);d=k[t>>2]|0}if((d&255|0)==2){p=k[b+32>>2]|0;e=k[b+4>>2]|0;if(e>>>0>6)if((l[p+1>>0]|0)<4)if((l[p+4>>0]<<16|l[p+5>>0]<<24|l[p+3>>0]<<8|l[p+2>>0]|0)==(e|0)){o=k[b+28>>2]|0;e=k[b+36>>2]|0;k[t+24>>2]=0;a:do if((p+101|0)>>>0>e>>>0){k[t+24>>2]=2;q=33}else{d=p+99+((l[p+100>>0]<<8|l[p+99>>0])+18)|0;if((d+18|0)>>>0>e>>>0)d=0;else if((l[d+1>>0]<<8|l[d>>0])>>>0<18)d=0;else{n=l[d+14+2>>0]<<16|l[d+14+3>>0]<<24|l[d+14+1>>0]<<8|l[d+14>>0];if(!n)d=0;else{if((p+n+2|0)>>>0>e>>>0){k[t+24>>2]=2;q=33;break}d=l[p+n+1>>0]<<8|l[p+n>>0];k[c+40>>2]=d;if((p+n+2+(d<<2)|0)>>>0>e>>>0){k[t+24>>2]=2;q=33;break}if(!d)d=0;else{d=WTa(o,16,0,d,0,t+24|0)|0;k[c+36>>2]=d;if(!(k[t+24>>2]|0)){i=k[c+40>>2]<<2;m=k[a+92>>2]|0;e=k[a+36>>2]|0;b:do if((e|0)>0){f=k[a+40>>2]|0;h=0;while(1){g=k[f+(h<<2)>>2]|0;h=h+1|0;if((j[g+8>>1]|0)==7)break;if((h|0)>=(e|0))break b}h=CSa(a,g)|0;k[t+24>>2]=h;if(h|0){q=33;break a}}while(0);if((i|0)>0){e=p+n+2|0;while(1){h=eSa(a,l[e>>0]|0)|0;k[d>>2]=h;h=eSa(a,l[e+1>>0]|0)|0;k[d+4>>2]=h;k[d+8>>2]=(l[e+3>>0]<<8|l[e+2>>0])<<16>>16;k[d+12>>2]=0;e=e+4|0;if(e>>>0>=(p+n+2+i|0)>>>0)break;else d=d+16|0}}if(!m)d=k[t+24>>2]|0;else{d=CSa(a,m)|0;k[t+24>>2]=d}if(d|0){q=33;break}qnb(k[c+36>>2]|0,k[c+40>>2]|0,16,367);if(!(k[t+24>>2]|0))d=0;else q=33}else q=33}}}}while(0);if((q|0)==33){YTa(o,k[c+36>>2]|0);k[c+36>>2]=0;k[c+40>>2]=0;d=k[t+24>>2]|0}k[t>>2]=d}}if(!d)q=36}if((q|0)==36){k[a+460>>2]=k[c+4>>2];k[a+460+4>>2]=k[c+4+4>>2];k[a+460+8>>2]=k[c+4+8>>2];k[a+460+12>>2]=k[c+4+12>>2];k[a+52>>2]=k[c+4>>2]>>16;k[a+56>>2]=k[c+8>>2]>>16;k[a+60>>2]=(k[c+12>>2]|0)+65535>>16;k[a+64>>2]=(k[c+16>>2]|0)+65535>>16;j[a+70>>1]=((k[c+20>>2]|0)+32768|0)>>>16;j[a+72>>1]=((k[c+24>>2]|0)+32768|0)>>>16;if(k[c+40>>2]|0){k[a+8>>2]=k[a+8>>2]|64;k[a+492>>2]=c;c=0}}yTa(b)}}if(!c){s=k[t>>2]|0;r=t;return s|0}q=c+36|0;YTa(s,k[q>>2]|0);k[q>>2]=0;k[c+40>>2]=0;q=c+28|0;YTa(s,k[q>>2]|0);k[q>>2]=0;k[c+32>>2]=0;YTa(s,c);s=k[t>>2]|0;r=t;return s|0}function k1a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;if(b>>>0>65535){a=0;return a|0}f=k[c+284>>2]|0;if((f|0)<=0){a=0;return a|0}d=k[c+288>>2]|0;c=0;while(1){e=k[d+(c<<2)>>2]|0;if(e|0)if((i[e>>0]|0)==(i[a>>0]|0))if((Fnb(e)|0)==(b|0))if(!(Dmb(e,a,b)|0)){d=9;break}c=c+1|0;if((c|0)>=(f|0)){c=0;d=9;break}}if((d|0)==9)return c|0;return 0}function l1a(a,b){a=a|0;b=b|0;a=k[a>>2]<<16|k[a+4>>2];b=k[b>>2]<<16|k[b+4>>2];return (a>>>0>b>>>0?1:(a>>>0>>0)<<31>>31)|0}function m1a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=r;r=r+1520|0;if(d&16|0){if(!c){b=0;r=f;return b|0}vBb(e|0,0,c<<2|0)|0;b=0;r=f;return b|0}d=Ci[k[k[(k[a+488>>2]|0)+12>>2]>>2]&3](f,a,0,0,k[a+420>>2]|0,k[a+528>>2]|0,0,0,366)|0;if(d|0){b=d;r=f;return b|0}i[f+70>>0]=1;i[f+68>>0]=0;k[f+1364>>2]=k[a+404>>2];k[f+1368>>2]=k[a+408>>2];k[f+1372>>2]=k[a+412>>2];k[f+1488>>2]=k[a+544>>2];k[f+1492>>2]=k[a+540>>2];if(!c){b=0;r=f;return b|0}a=0;do{if(!(b1a(f,a+b|0,f+1504|0)|0)){d=k[(k[(k[f+4>>2]|0)+128>>2]|0)+48>>2]|0;if(d|0)Di[k[(k[d>>2]|0)+4>>2]&511](k[d+4>>2]|0,f+1504|0);d=(Q2a(k[f+40>>2]|0)|0)>>16;k[e+(a<<2)>>2]=d}else k[e+(a<<2)>>2]=0;a=a+1|0}while((a|0)!=(c|0));d=0;r=f;return d|0}function n1a(a,b){a=a|0;b=b|0;var c=0,d=0;d=k[a>>2]|0;c=k[d+548>>2]|0;d=qSa(k[(k[d+96>>2]|0)+4>>2]|0,591214)|0;if((c|0)!=0&(d|0)!=0){c=k[c>>2]|0;if(c|0){c=Gi[c&2047](d)|0;wSa(k[a>>2]|0,b);if(!c)return 0;Bi[k[c+4>>2]&15](k[a+40>>2]|0,k[a+16>>2]|0,k[a+20>>2]|0,0,0);return 0}}wSa(k[a>>2]|0,b);return 0}function o1a(a){a=a|0;var b=0;b=qSa(k[a+4>>2]|0,591592)|0;if(!b){a=11;return a|0}k[a+28>>2]=k[b>>2];a=0;return a|0}function p1a(a){a=a|0;return}function q1a(a,b){a=a|0;b=b|0;return URa(56816,b)|0}function r1a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;_Ta(c,k[(k[a+420>>2]|0)+(b<<2)>>2]|0,d)|0;return 0}function s1a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=k[a+416>>2]|0;if((d|0)<=0){h=0;return h|0}e=k[a+420>>2]|0;f=i[b>>0]|0;c=0;while(1){g=k[e+(c<<2)>>2]|0;if(f<<24>>24==(i[g>>0]|0))if(!(Wmb(b,g)|0))break;c=c+1|0;if((c|0)>=(d|0)){c=0;h=7;break}}if((h|0)==7)return c|0;h=Wpb(k[(k[a+424>>2]|0)+(c<<2)>>2]|0)|0;return h|0}function t1a(a){a=a|0;return k[a+364>>2]|0}function u1a(a,b){a=a|0;b=b|0;k[b>>2]=k[a+132>>2];k[b+4>>2]=k[a+132+4>>2];k[b+8>>2]=k[a+132+8>>2];k[b+12>>2]=k[a+132+12>>2];k[b+16>>2]=k[a+132+16>>2];k[b+20>>2]=k[a+132+20>>2];k[b+24>>2]=k[a+132+24>>2];k[b+28>>2]=k[a+132+28>>2];return 0}function v1a(a,b){a=a|0;b=b|0;j[b>>1]=j[a+164>>1]|0;return 0}function w1a(a){a=a|0;return 1}function x1a(a,b){a=a|0;b=b|0;ABb(b|0,a+168|0,196)|0;return 0}function y1a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0;u=r;r=r+352|0;k[b+500>>2]=0;k[b>>2]=1;s=LSa(k[b+96>>2]|0,591657)|0;k[b+484>>2]=s;t=KSa(k[(k[b+96>>2]|0)+4>>2]|0,591674)|0;k[b+488>>2]=t;if(!t){b=11;r=u;return b|0}l=k[b+100>>2]|0;vBb(u+8|0,0,304)|0;p=UTa(l,12,u)|0;k[b+492>>2]=p;a:do if(!(k[u>>2]|0)){k[b+496>>2]=12;h=k[b+104>>2]|0;vj[k[k[t+4>>2]>>2]&127](u+8|0,0,0,l);k[u+8+72>>2]=h;n=u+8+80|0;k[n>>2]=0;m=u+8+76|0;k[m>>2]=0;i[u+8+84>>0]=0;a=pTa(h,0)|0;k[u+312>>2]=a;do if(!a){a=wTa(h,17)|0;k[u+312>>2]=a;if(!a){if(Emb(k[h+32>>2]|0,591680,17)|0){k[u+312>>2]=2;yTa(h);a=2;q=15;break}yTa(h);a=pTa(h,0)|0;k[u+312>>2]=a;if(!a){g=k[h+4>>2]|0;if(!(k[h+20>>2]|0)){k[m>>2]=(k[h>>2]|0)+(k[h+8>>2]|0);k[n>>2]=g;i[u+8+84>>0]=1;a=qTa(h,g)|0;k[u+312>>2]=a;if(a|0){q=15;break}a=k[n>>2]|0}else{f=UTa(l,g,u+312|0)|0;k[m>>2]=f;a=k[u+312>>2]|0;if(a|0){q=15;break}a=sTa(h,f,g)|0;k[u+312>>2]=a;if(a|0){q=15;break}k[n>>2]=g;a=g}f=k[m>>2]|0;k[u+8+4>>2]=f;k[u+8>>2]=f;k[u+8+8>>2]=f+a;k[u>>2]=0;p=u+8|0;g=u+8+8|0}else q=15}else q=15}else q=15;while(0);if((q|0)==15){if(i[u+8+84>>0]|0){k[u>>2]=a;break}YTa(l,k[m>>2]|0);k[m>>2]=0;p=k[u+312>>2]|0;k[u>>2]=p;if(p|0)break;p=u+8|0;g=u+8+8|0;f=0;a=k[n>>2]|0}k[p>>2]=f;o=f+a|0;k[g>>2]=o;m=u+8+12|0;k[m>>2]=0;Si[k[u+8+28>>2]&1023](u+8|0);a=k[p>>2]|0;b:do if(a>>>0>>0){n=u+8+32|0;c:while(1){f=i[a>>0]|0;if((a+25|0)>>>0>>0&f<<24>>24==70)if(!(Dmb(a,591698,13)|0)){Si[k[n>>2]&1023](u+8|0);Si[k[u+8+28>>2]&1023](u+8|0);f=k[p>>2]|0;d:do if(f>>>0>>0){a=f;while(1){if((a+5|0)>>>0>>0&(i[a>>0]|0)==107)if(!(Dmb(a,591712,5)|0))break;Si[k[n>>2]&1023](u+8|0);a=k[m>>2]|0;if(a|0){q=52;break c}Si[k[u+8+28>>2]&1023](u+8|0);a=k[p>>2]|0;if(a>>>0>=o>>>0){a=f;break d}}Si[k[n>>2]&1023](u+8|0);Di[k[u+8+56>>2]&511](u+8|0,u+312|0);a=(k[u+312+8>>2]|0)==3?k[p>>2]|0:f}else a=f;while(0);k[p>>2]=a}else q=30;else q=30;e:do if((q|0)==30){q=0;if(!((a+2|0)>>>0>>0&f<<24>>24==47)){Si[k[n>>2]&1023](u+8|0);a=k[m>>2]|0;if(!a)break;else{q=52;break c}}h=a+1|0;k[p>>2]=h;Si[k[n>>2]&1023](u+8|0);a=k[m>>2]|0;if(a|0){q=52;break c}a=k[p>>2]|0;if(a>>>0>>0&((a|0)!=(h|0)&(a-h|0)>>>0<22)){f=0;while(1){l=56888+(f*36|0)|0;g=k[l>>2]|0;if(g|0)if((i[h>>0]|0)==(i[g>>0]|0))if((a-h|0)==(Fnb(g)|0))if(!(Emb(h,g,a-h|0)|0))break;f=f+1|0;if((f|0)>=20)break e}a=k[56888+(f*36|0)+8>>2]|0;do if((f+-15|0)>>>0<4){Di[k[56888+(f*36|0)+12>>2]&511](b,u+8|0);a=k[m>>2]|0}else{switch(k[56888+(f*36|0)+4>>2]|0){case 3:{k[u+312>>2]=b+132;break}case 2:{k[u+312>>2]=b+164;break}case 5:{k[u+312>>2]=b+460;break}default:k[u+312>>2]=b+132}if((a+-9|0)>>>0<2){a=Ni[k[u+8+68>>2]&127](u+8|0,l,u+312|0,0,0)|0;break}else{a=Ni[k[u+8+64>>2]&127](u+8|0,l,u+312|0,0,0)|0;break}}while(0);k[m>>2]=a;if(a|0){q=48;break c}}}while(0);Si[k[u+8+28>>2]&1023](u+8|0);a=k[p>>2]|0;if(a>>>0>=o>>>0)break b}if((q|0)==48){k[u>>2]=a;break a}else if((q|0)==52){k[u>>2]=a;break a}}while(0);p=k[m>>2]|0;k[u>>2]=p;if(!p){if((i[b+433>>0]|0)!=42){k[u>>2]=2;break}n=k[u+8+144>>2]|0;k[b+416>>2]=n;if(!(k[u+8+212>>2]|0))k[u>>2]=3;k[u+8+212>>2]=0;k[b+396>>2]=k[u+8+200>>2];k[b+424>>2]=k[u+8+224>>2];k[b+428>>2]=k[u+8+228>>2];k[b+400>>2]=k[u+8+148>>2];k[b+420>>2]=k[u+8+172>>2];k[u+8+148>>2]=0;k[u+8+172>>2]=0;if((k[b+368>>2]|0)==1){p=k[u+8+108>>2]|0;f:do if((p|0)>0){if((n|0)<1){a=0;while(1){j[(k[b+384>>2]|0)+(a<<1)>>1]=0;k[(k[b+388>>2]|0)+(a<<2)>>2]=591898;a=a+1|0;if((a|0)==(p|0)){f=0;a=0;break f}}}else{o=0;f=0;a=0}do{j[(k[b+384>>2]|0)+(o<<1)>>1]=0;k[(k[b+388>>2]|0)+(o<<2)>>2]=591898;h=k[(k[u+8+116>>2]|0)+(o<<2)>>2]|0;g:do if(h){l=k[b+420>>2]|0;g=0;while(1){m=k[l+(g<<2)>>2]|0;if(!(Wmb(h,m)|0))break;g=g+1|0;if((g|0)>=(n|0))break g}j[(k[b+384>>2]|0)+(o<<1)>>1]=g;k[(k[b+388>>2]|0)+(o<<2)>>2]=m;if(Wmb(591898,m)|0){f=(o|0)<(f|0)?f:o+1|0;a=(o|0)<(a|0)?o:a}}while(0);o=o+1|0}while((o|0)!=(p|0))}else{f=0;a=0}while(0);k[b+376>>2]=a;k[b+380>>2]=f;k[b+372>>2]=k[u+8+88>>2]}}}while(0);a=k[u+8+140>>2]|0;if(a|0)Si[a&1023](u+8+92|0);a=k[u+8+248>>2]|0;if(a|0)Si[a&1023](u+8+200|0);a=k[u+8+196>>2]|0;if(a|0)Si[a&1023](u+8+148|0);a=k[u+8+300>>2]|0;if(a|0)Si[a&1023](u+8+252|0);if(!(i[u+8+84>>0]|0)){YTa(k[u+8+16>>2]|0,k[u+8+76>>2]|0);k[u+8+76>>2]=0}Si[k[u+8+24>>2]&1023](u+8|0);a=k[u>>2]|0;if((c|0)<0|(a|0)!=0){b=a;r=u;return b|0}if((c|0)>0){b=6;r=u;return b|0}k[b+16>>2]=k[b+416>>2];k[b+36>>2]=0;k[b+4>>2]=0;a=k[b+8>>2]|0;k[b+8>>2]=a|529;if(!(i[b+156>>0]|0))a=a|529;else{k[b+8>>2]=a|533;a=a|533}k[b+8>>2]=a|2048;f=k[b+144>>2]|0;k[b+20>>2]=f;k[b+24>>2]=592007;h:do if(!f){a=k[b+364>>2]|0;if(a|0)k[b+20>>2]=a}else{a=k[b+140>>2]|0;if(a|0){g=i[a>>0]|0;if(g<<24>>24){i:while(1){l=g<<24>>24==0;j:while(1){h=i[f>>0]|0;if(g<<24>>24==h<<24>>24){q=90;break}switch(g<<24>>24){case 45:case 32:break j;default:{}}switch(h<<24>>24){case 0:break i;case 45:case 32:break;default:break h}if(l)break h;else f=f+1|0}if((q|0)==90){q=0;f=f+1|0}a=a+1|0;g=i[a>>0]|0;if(!(g<<24>>24))break h}k[b+24>>2]=a}}}while(0);k[b+28>>2]=0;k[b+32>>2]=0;k[u+312>>2]=9;q=qSa(k[(k[b+96>>2]|0)+4>>2]|0,591592)|0;k[u+312+20>>2]=q;k[u+312+4>>2]=k[b+492>>2];k[u+312+8>>2]=k[b+496>>2];if(d|0){k[u+312>>2]=25;k[u+312+24>>2]=d;k[u+312+28>>2]=e}a=fSa(k[(k[b+96>>2]|0)+4>>2]|0,u+312|0,0,b+500|0)|0;if(a|0){b=a;r=u;return b|0}sSa(k[(k[b+500>>2]|0)+88>>2]|0)|0;f=k[b+500>>2]|0;k[b+52>>2]=k[f+52>>2];k[b+52+4>>2]=k[f+52+4>>2];k[b+52+8>>2]=k[f+52+8>>2];k[b+52+12>>2]=k[f+52+12>>2];a=k[f+68>>2]|0;j[b+68>>1]=a;j[b+70>>1]=a>>>16;a=k[f+72>>2]|0;j[b+72>>1]=a;j[b+74>>1]=a>>>16;a=k[f+76>>2]|0;j[b+76>>1]=a;j[b+78>>1]=a>>>16;j[b+80>>1]=j[b+132+26>>1]|0;j[b+82>>1]=j[b+160>>1]|0;a=(k[b+152>>2]|0)!=0&1;k[b+12>>2]=a;if(k[f+12>>2]&2|0)k[b+12>>2]=a|2;if(k[f+8>>2]&32|0)k[b+8>>2]=k[b+8>>2]|32;if(!s){b=0;r=u;return b|0}a=k[t+20>>2]|0;k[u+312>>2]=b;j[u+312+8>>1]=3;f=u+312+10|0;j[f>>1]=1;g=u+312+4|0;k[g>>2]=1970170211;h=DSa(k[a+12>>2]|0,0,u+312|0,0)|0;k:do if((h|0)==0|(h&255|0)==163){j[u+312+8>>1]=7;switch(k[b+368>>2]|0){case 2:{k[g>>2]=1094995778;j[f>>1]=0;break}case 4:{k[g>>2]=1094992453;j[f>>1]=1;a=a+4|0;break}case 1:{k[g>>2]=1094992451;j[f>>1]=2;a=a+8|0;break}case 3:{k[g>>2]=1818326065;j[f>>1]=3;a=a+12|0;break}default:{a=0;break k}}a=k[a>>2]|0;if(!a)a=0;else a=DSa(a,0,u+312|0,0)|0}else a=h;while(0);b=a;r=u;return b|0}function z1a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=r;r=r+32|0;if((nj[k[b+52>>2]&127](b,6,g,3)|0)<6){k[b+12>>2]=3;r=g;return}c=k[g+12>>2]|0;c=(c|0)<0?0-c|0:c;if(!c){k[b+12>>2]=3;r=g;return}f=(V2a(1e3,c)|0)&65535;j[a+68>>1]=f;if((c|0)==65536){c=g+8|0;b=g+16|0;d=g+4|0;e=k[g+12>>2]|0;f=k[g+20>>2]|0}else{f=V2a(k[g>>2]|0,c)|0;k[g>>2]=f;f=V2a(k[g+4>>2]|0,c)|0;k[g+4>>2]=f;f=V2a(k[g+8>>2]|0,c)|0;k[g+8>>2]=f;f=V2a(k[g+16>>2]|0,c)|0;k[g+16>>2]=f;f=V2a(k[g+20>>2]|0,c)|0;k[g+20>>2]=f;e=k[g+12>>2]>>31&-131072|65536;k[g+12>>2]=e;c=g+8|0;b=g+16|0;d=g+4|0}k[a+436>>2]=k[g>>2];k[a+444>>2]=k[d>>2];k[a+440>>2]=k[c>>2];k[a+448>>2]=e;k[a+452>>2]=k[b>>2]>>16;k[a+456>>2]=f>>16;r=g;return}function A1a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0;m=r;r=r+16|0;j=k[b+8>>2]|0;e=k[a+488>>2]|0;Si[k[b+28>>2]&1023](b);g=k[b>>2]|0;if(g>>>0>=j>>>0){k[b+12>>2]=3;r=m;return}c=i[g>>0]|0;if(!(c<<24>>24==91|((c&255)+-48|0)>>>0<10)){if((g+17|0)>>>0>>0)if(!(Dmb(g,591906,16)|0)){k[a+368>>2]=2;r=m;return}if((g+15|0)>>>0>>0)if(!(Dmb(g,591923,14)|0)){k[a+368>>2]=4;r=m;return}if((g+18|0)>>>0>>0)if(!(Dmb(g,591938,17)|0)){k[a+368>>2]=3;r=m;return}k[b+12>>2]=162;r=m;return}d=k[b+16>>2]|0;if(c<<24>>24==91){k[b>>2]=g+1;h=256;f=1}else{h=Gi[k[b+36>>2]&2047](b)|0;f=0}Si[k[b+28>>2]&1023](b);if((k[b>>2]|0)>>>0>=j>>>0){r=m;return}k[a+372>>2]=h;k[b+88>>2]=h;c=WTa(d,2,0,h,0,m)|0;k[a+384>>2]=c;c=k[m>>2]|0;if(!c){c=WTa(d,4,0,h,0,m)|0;k[a+388>>2]=c;c=k[m>>2]|0;if(!c){c=Ri[k[k[e>>2]>>2]&255](b+92|0,h,d)|0;k[m>>2]=c;if(!c){if((h|0)>0){c=0;do{nj[k[b+136>>2]&127](b+92|0,c,591898,8)|0;c=c+1|0}while((c|0)!=(h|0))}Si[k[b+28>>2]&1023](b);c=k[b>>2]|0;a:do if(c>>>0>>0){b:do if(!(f<<24>>24)){f=c;d=0;while(1){e=i[f>>0]|0;switch(e<<24>>24){case 93:{l=f;break b}case 100:{c=f+3|0;if(c>>>0>>0)if((i[f+1>>0]|0)==101)if((i[f+2>>0]|0)==102)switch(i[c>>0]|0){case 0:case 12:case 10:case 13:case 9:case 32:break a;default:{}}break}default:{}}if(((e&255)+-48|0)>>>0>9){Si[k[b+32>>2]&1023](b);if(!(k[b+12>>2]|0))c=f;else{c=45;break}}else{e=Gi[k[b+36>>2]&2047](b)|0;Si[k[b+28>>2]&1023](b);c=k[b>>2]|0;if((c+2|0)>>>0>>0)if((d|0)<(h|0)&(i[c>>0]|0)==47){k[b>>2]=c+1;Si[k[b+32>>2]&1023](b);f=k[b>>2]|0;if(f>>>0>=j>>>0){c=45;break}if(k[b+12>>2]|0){c=45;break}g=nj[k[b+136>>2]&127](b+92|0,e,c+1|0,f-(c+1)+1|0)|0;k[b+12>>2]=g;if(g|0){c=45;break}i[(k[(k[b+116>>2]|0)+(e<<2)>>2]|0)+(f-(c+1))>>0]=0;c=c+1|0;d=d+1|0}}Si[k[b+28>>2]&1023](b);f=k[b>>2]|0;if(f>>>0>=j>>>0)break a}if((c|0)==45){r=m;return}}else{e=c;f=0;while(1){d=i[e>>0]|0;switch(d<<24>>24){case 93:{l=e;break b}case 100:{c=e+3|0;if(c>>>0>>0)if((i[e+1>>0]|0)==101)if((i[e+2>>0]|0)==102)switch(i[c>>0]|0){case 0:case 12:case 10:case 13:case 9:case 32:break a;default:{}}break}default:{}}if((e+2|0)>>>0>=j>>>0){c=42;break}if(!((f|0)<(h|0)&d<<24>>24==47)){c=42;break}c=e+1|0;k[b>>2]=c;Si[k[b+32>>2]&1023](b);d=k[b>>2]|0;if(d>>>0>=j>>>0){c=45;break}if(k[b+12>>2]|0){c=45;break}g=nj[k[b+136>>2]&127](b+92|0,f,c,d-c+1|0)|0;k[b+12>>2]=g;if(g|0){c=45;break}i[(k[(k[b+116>>2]|0)+(f<<2)>>2]|0)+(d-c)>>0]=0;Si[k[b+28>>2]&1023](b);e=k[b>>2]|0;if(e>>>0>=j>>>0)break a;else f=f+1|0}if((c|0)==42){k[b+12>>2]=2;r=m;return}else if((c|0)==45){r=m;return}}while(0);c=l+1|0}else c=g;while(0);k[a+368>>2]=1;k[b>>2]=c;r=m;return}}}k[b+12>>2]=c;r=m;return}function B1a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0;h=k[b+16>>2]|0;g=k[a+488>>2]|0;j=k[b+8>>2]|0;Si[k[b+28>>2]&1023](b);a=k[b>>2]|0;a:do if(a>>>0>>0){a=i[a>>0]|0;b:do if(((a&255)+-48|0)>>>0<10){a=Gi[k[b+36>>2]&2047](b)|0;k[b+144>>2]=a;if(k[b+12>>2]|0)return;if((a|0)<0){a=3;break a}e=k[b>>2]|0}else{if(a<<24>>24!=60){a=3;break a}Si[k[b+32>>2]&1023](b);if(k[b+12>>2]|0)return;Si[k[b+28>>2]&1023](b);d=k[b>>2]|0;if(d>>>0>>0){a=d;c=0;c:while(1){switch(i[a>>0]|0){case 62:{f=c;n=11;break c}case 47:{c=c+1|0;break}default:{}}Si[k[b+32>>2]&1023](b);if(k[b+12>>2]|0){n=47;break}Si[k[b+28>>2]&1023](b);a=k[b>>2]|0;if(a>>>0>=j>>>0){e=a;break b}}if((n|0)==11){k[b+144>>2]=f;k[b>>2]=d;e=d;break}else if((n|0)==47)return}else e=d}while(0);if(e>>>0>>0){a=Ri[k[k[g>>2]>>2]&255](b+200|0,k[b+144>>2]|0,h)|0;if(!a){a=Ri[k[k[g>>2]>>2]&255](b+148|0,k[b+144>>2]|0,h)|0;if(!a){a=Ri[k[k[g>>2]>>2]&255](b+252|0,4,h)|0;if(!a){g=0;e=0;f=0;d:while(1){do{Si[k[b+28>>2]&1023](b);c=k[b>>2]|0;if(c>>>0>=j>>>0){l=g;m=e;o=f;break d}switch(i[c>>0]|0){case 62:{l=g;m=e;o=f;break d}case 101:{if((c+3|0)>>>0>>0)if((i[c+1>>0]|0)==110)if((i[c+2>>0]|0)==100)switch(i[c+3>>0]|0){case 0:case 12:case 10:case 13:case 9:case 32:{l=g;m=e;o=f;break d}default:{}}break}default:{}}Si[k[b+32>>2]&1023](b);d=k[b>>2]|0;if(d>>>0>=j>>>0){a=3;break a}if(k[b+12>>2]|0){n=47;break d}}while((i[c>>0]|0)!=47);if((c+2|0)>>>0>=j>>>0){a=3;break a}a=nj[k[b+192>>2]&127](b+148|0,g,c+1|0,d-(c+1)+1|0)|0;if(a|0)break a;i[(k[(k[b+172>>2]|0)+(g<<2)>>2]|0)+(d-(c+1))>>0]=0;if((i[c+1>>0]|0)==46){h=(Wmb(591898,k[(k[b+172>>2]|0)+(g<<2)>>2]|0)|0)==0;e=h?1:e;f=h?g:f}Si[k[b+28>>2]&1023](b);c=k[b>>2]|0;Gi[k[b+36>>2]&2047](b)|0;d=k[b>>2]|0;if(d>>>0>=j>>>0){a=3;break a}a=nj[k[b+244>>2]&127](b+200|0,g,c,d-c+1|0)|0;if(a|0)break a;i[(k[(k[b+224>>2]|0)+(g<<2)>>2]|0)+(d-c)>>0]=0;a=g+1|0;if((a|0)<(k[b+144>>2]|0))g=a;else{l=a;m=e;o=f;break}}if((n|0)==47)return;k[b+144>>2]=l;if(!(m<<24>>24))a=3;else{a=k[k[b+172>>2]>>2]|0;if(!(Wmb(591898,a)|0))return;a=nj[k[b+296>>2]&127](b+252|0,0,a,k[k[b+176>>2]>>2]|0)|0;if(!a){a=nj[k[b+296>>2]&127](b+252|0,1,k[k[b+224>>2]>>2]|0,k[k[b+228>>2]>>2]|0)|0;if(!a){a=nj[k[b+296>>2]&127](b+252|0,2,k[(k[b+172>>2]|0)+(o<<2)>>2]|0,k[(k[b+176>>2]|0)+(o<<2)>>2]|0)|0;if(!a){a=nj[k[b+296>>2]&127](b+252|0,3,k[(k[b+224>>2]|0)+(o<<2)>>2]|0,k[(k[b+228>>2]|0)+(o<<2)>>2]|0)|0;if(!a){a=nj[k[b+192>>2]&127](b+148|0,o,k[k[b+276>>2]>>2]|0,k[k[b+280>>2]>>2]|0)|0;if(!a){a=nj[k[b+244>>2]&127](b+200|0,o,k[(k[b+276>>2]|0)+4>>2]|0,k[(k[b+280>>2]|0)+4>>2]|0)|0;if(!a){a=nj[k[b+192>>2]&127](b+148|0,0,k[(k[b+276>>2]|0)+8>>2]|0,k[(k[b+280>>2]|0)+8>>2]|0)|0;if(!a){a=nj[k[b+244>>2]&127](b+200|0,0,k[(k[b+276>>2]|0)+12>>2]|0,k[(k[b+280>>2]|0)+12>>2]|0)|0;if(!a)return}}}}}}}}}}}}else a=3}else a=3;while(0);k[b+12>>2]=a;return}function C1a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0;u=r;r=r+16|0;t=k[b+16>>2]|0;q=k[b+8>>2]|0;Si[k[b+28>>2]&1023](b);c=k[b>>2]|0;a:do if(c>>>0>>0){k[b>>2]=c+1;if((i[c>>0]|0)==91){Si[k[b+28>>2]&1023](b);c=k[b>>2]|0;b:do if(c>>>0>>0){e=c;d=0;m=0;o=0;j=0;h=0;c=0;g=0;c:while(1){f=i[e>>0]|0;switch(f<<24>>24){case 93:{s=7;break c}case 60:{Si[k[b+32>>2]&1023](b);if(k[b+12>>2]|0)break a;g=(k[b>>2]|0)-e|0;if(g>>>0<=2){s=10;break c}c=WTa(t,1,j,(g+-1|0)/2|0,c,u+4|0)|0;f=k[u+4>>2]|0;if(f|0){e=f;s=46;break a}k[b>>2]=e;Ni[k[b+44>>2]&127](b,c,(g+-1|0)/2|0,u,1)|0;d=1;f=(g+-1|0)/2|0;e=k[u>>2]|0;s=22;break}default:if(((f&255)+-48|0)>>>0<10){if(d<<24>>24){s=15;break c}e=Gi[k[b+36>>2]&2047](b)|0;if((e|0)<0){s=17;break c}Si[k[b+32>>2]&1023](b);if(k[b+12>>2]|0){s=49;break c}c=k[b>>2]|0;if((q-c|0)>>>0>>0){s=20;break c}k[b>>2]=c+(e+1);d=0;c=c+1|0}else{f=j;e=g;s=22}}if((s|0)==22){s=0;if(!c){c=d;s=23;break}else j=f}if(!(e&1))p=e;else{p=e+-1|0;p=(i[c+p>>0]|0)==0?p:e}if(!p){s=27;break}else{n=0;f=o;e=h}while(1){d:do switch(e|0){case 0:{if((m|0)<12){i[(k[a+492>>2]|0)+m>>0]=i[c+n>>0]|0;g=m+1|0;e=0;break d}e=k[a+492>>2]|0;f=(l[e+4>>0]<<4)+(l[e+5>>0]|0)|0;k[a+496>>2]=f<<4|12;if((q-(k[b>>2]|0)|0)<(f<<4|12|0)){s=32;break c}e=WTa(t,1,12,f<<4|12,e,u+4|0)|0;k[a+492>>2]=e;e=k[u+4>>2]|0;if(!e)s=34;else{s=46;break a}break}case 1:{s=34;break}case 2:{s=40;break}default:g=m}while(0);do if((s|0)==34){s=0;e=k[a+496>>2]|0;if((m|0)<(e|0)){i[(k[a+492>>2]|0)+m>>0]=i[c+n>>0]|0;g=m+1|0;e=1;break}h=k[a+492>>2]|0;if((f|0)>0){g=0;do{s=h+12+(g<<4)+12|0;e=((l[s+1>>0]<<16|l[s>>0]<<24|l[s+2>>0]<<8|l[s+3>>0])+3&-4)+e|0;k[a+496>>2]=e;g=g+1|0}while((g|0)!=(f|0))}e=WTa(t,1,f<<4|12,e+1|0,h,u+4|0)|0;k[a+492>>2]=e;e=k[u+4>>2]|0;if(!e)s=40;else{s=46;break a}}while(0);if((s|0)==40){s=0;if((m|0)>=(k[a+496>>2]|0)){s=41;break c}i[(k[a+492>>2]|0)+m>>0]=i[c+n>>0]|0;g=m+1|0;e=2}n=n+1|0;if(n>>>0>=p>>>0){h=e;break}else m=g}Si[k[b+28>>2]&1023](b);e=k[b>>2]|0;if(e>>>0>>0){m=g;o=f;g=p}else break b}switch(s|0){case 7:{k[b>>2]=e+1;break a}case 10:{k[u+4>>2]=3;e=3;s=46;break a}case 15:{k[u+4>>2]=3;e=3;s=46;break a}case 17:{k[u+4>>2]=3;e=3;d=0;s=46;break a}case 20:{k[u+4>>2]=3;e=3;d=0;c=c+1|0;s=46;break a}case 23:{k[u+4>>2]=3;e=3;d=c;c=0;s=46;break a}case 27:{k[u+4>>2]=3;e=3;s=46;break a}case 32:{k[u+4>>2]=3;e=3;s=46;break a}case 41:{k[u+4>>2]=3;e=3;s=46;break a}case 49:{r=u;return}}}else{d=0;c=0}while(0);k[u+4>>2]=3;e=3;s=46}else s=3}else s=3;while(0);if((s|0)==3){k[u+4>>2]=3;e=3;d=0;c=0;s=46}if((s|0)==46)k[b+12>>2]=e;if(!(d<<24>>24)){r=u;return}YTa(t,c);r=u;return}function D1a(a){a=a|0;var b=0,c=0;if(!a)return;b=k[a+100>>2]|0;c=k[a+500>>2]|0;if(c|0)rSa(c)|0;YTa(b,k[a+132>>2]|0);k[a+132>>2]=0;YTa(b,k[a+136>>2]|0);k[a+136>>2]=0;YTa(b,k[a+140>>2]|0);k[a+140>>2]=0;YTa(b,k[a+144>>2]|0);k[a+144>>2]=0;YTa(b,k[a+148>>2]|0);k[a+148>>2]=0;YTa(b,k[a+428>>2]|0);k[a+428>>2]=0;YTa(b,k[a+424>>2]|0);k[a+424>>2]=0;YTa(b,k[a+420>>2]|0);k[a+420>>2]=0;YTa(b,k[a+396>>2]|0);k[a+396>>2]=0;YTa(b,k[a+400>>2]|0);k[a+400>>2]=0;YTa(b,k[a+372+12>>2]|0);k[a+372+12>>2]=0;YTa(b,k[a+372+16>>2]|0);k[a+372+16>>2]=0;YTa(b,k[a+364>>2]|0);k[a+364>>2]=0;YTa(b,k[a+492>>2]|0);k[a+492>>2]=0;YTa(b,k[a+536+20>>2]|0);k[a+536+20>>2]=0;k[a+536+16>>2]=0;k[a+20>>2]=0;k[a+24>>2]=0;return}function E1a(a){a=a|0;var b=0,c=0,d=0;c=r;r=r+16|0;b=mSa(k[(k[a>>2]|0)+500>>2]|0,c)|0;d=k[c>>2]|0;k[a+44>>2]=d;GSa(d)|0;r=c;return b|0}function F1a(a){a=a|0;if(!($Ta((k[(k[a>>2]|0)+500>>2]|0)+108|0,k[a+44>>2]|0)|0))return;sSa(k[a+44>>2]|0)|0;k[a+44>>2]=0;return}function G1a(a){a=a|0;var b=0,c=0,d=0;c=r;r=r+16|0;d=k[a+4>>2]|0;b=k[d+500>>2]|0;if(!(k[d+84>>2]|0)){k[a+160>>2]=k[b+84>>2];d=0;r=c;return d|0}else{d=aSa(b,c)|0;k[a+160>>2]=k[c>>2];r=c;return d|0}return 0}function H1a(a){a=a|0;bSa(k[a+160>>2]|0);return}function I1a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;e=k[(k[(k[a+4>>2]|0)+96>>2]|0)+28>>2]|0;f=k[a+160>>2]|0;ZRa(f);k[f+152>>2]=0;g=f+24|0;h=g+40|0;do{k[g>>2]=0;g=g+4|0}while((g|0)<(h|0));g=f+72|0;h=g+72|0;do{k[g>>2]=0;g=g+4|0}while((g|0)<(h|0));e=nj[k[e+72>>2]&127](k[a+160>>2]|0,k[b+44>>2]|0,c,d|8)|0;if(e|0)return e|0;h=k[a+160>>2]|0;k[a+24>>2]=k[h+24>>2];k[a+24+4>>2]=k[h+24+4>>2];k[a+24+8>>2]=k[h+24+8>>2];k[a+24+12>>2]=k[h+24+12>>2];k[a+24+16>>2]=k[h+24+16>>2];k[a+24+20>>2]=k[h+24+20>>2];k[a+24+24>>2]=k[h+24+24>>2];k[a+24+28>>2]=k[h+24+28>>2];k[a+56>>2]=k[h+56>>2];k[a+60>>2]=k[h+60>>2];k[a+72>>2]=k[h+72>>2];k[a+108>>2]=k[h+108>>2];k[a+108+4>>2]=k[h+108+4>>2];k[a+108+8>>2]=k[h+108+8>>2];k[a+108+12>>2]=k[h+108+12>>2];k[a+108+16>>2]=k[h+108+16>>2];k[a+76>>2]=k[h+76>>2];k[a+76+4>>2]=k[h+76+4>>2];k[a+76+8>>2]=k[h+76+8>>2];k[a+76+12>>2]=k[h+76+12>>2];k[a+76+16>>2]=k[h+76+16>>2];k[a+76+20>>2]=k[h+76+20>>2];k[a+100>>2]=k[h+100>>2];k[a+104>>2]=k[h+104>>2];k[a+128>>2]=k[h+128>>2];k[a+132>>2]=k[h+132>>2];k[a+136>>2]=k[h+136>>2];k[a+140>>2]=k[h+140>>2];return e|0}function J1a(a,b){a=a|0;b=b|0;var c=0;c=k[a>>2]|0;GSa(k[a+44>>2]|0)|0;b=ySa(k[c+500>>2]|0,b)|0;if(b|0)return b|0;c=(k[(k[c+500>>2]|0)+88>>2]|0)+12|0;k[a+12>>2]=k[c>>2];k[a+12+4>>2]=k[c+4>>2];k[a+12+8>>2]=k[c+8>>2];k[a+12+12>>2]=k[c+12>>2];k[a+12+16>>2]=k[c+16>>2];k[a+12+20>>2]=k[c+20>>2];k[a+12+24>>2]=k[c+24>>2];return b|0}function K1a(a,b){a=a|0;b=b|0;var c=0;c=k[a>>2]|0;GSa(k[a+44>>2]|0)|0;b=xSa(k[c+500>>2]|0,b)|0;if(b|0)return b|0;c=(k[(k[c+500>>2]|0)+88>>2]|0)+12|0;k[a+12>>2]=k[c>>2];k[a+12+4>>2]=k[c+4>>2];k[a+12+8>>2]=k[c+8>>2];k[a+12+12>>2]=k[c+12>>2];k[a+12+16>>2]=k[c+16>>2];k[a+12+20>>2]=k[c+20>>2];k[a+12+24>>2]=k[c+24>>2];return b|0}function L1a(a,b){a=a|0;b=b|0;return URa(57704,b)|0}function M1a(a,b){a=a|0;b=b|0;ABb(b|0,(k[a+132>>2]|0)+4|0,156)|0;return 0}function N1a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,l=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0;u=r;r=r+160|0;t=k[b+100>>2]|0;q=k[b+104>>2]|0;k[b+132>>2]=0;p=pTa(q,0)|0;k[u+136>>2]=p;a:do if(!p){p=KTa(q,173170,u+156|0)|0;k[u+136>>2]=p;if(!p){k[u+136>>2]=2;b:do if((j[u+156>>1]|0)==23117){p=pTa(q,m[u+156+2>>1]|0)|0;k[u+136>>2]=p;c:do if(!p){p=KTa(q,173190,u+148|0)|0;k[u+136>>2]=p;if(!p){k[u+136>>2]=2;d:do switch(j[u+148>>1]|0){case 17742:{s=pTa(q,(m[u+148+2>>1]|0)+(m[u+156+2>>1]|0)|0)|0;k[u+136>>2]=s;do if(!s){s=wTa(q,(m[u+148+4>>1]|0)-(m[u+148+2>>1]|0)|0)|0;k[u+136>>2]=s;if(!s){g=BTa(q)|0;d=BTa(q)|0;e:do if(!(d<<16>>16)){e=0;f=0}else{while(1){e=BTa(q)|0;if(d<<16>>16==-32760)break;k[q+32>>2]=(k[q+32>>2]|0)+(((e&65535)*12|0)+4);d=BTa(q)|0;if(!(d<<16>>16)){e=0;f=0;break e}}f=rTa(q)|0;f=f+4+(k[q+32>>2]|0)-(k[q+36>>2]|0)|0}while(0);yTa(q);if(!((f|0)!=0&e<<16>>16!=0)){k[u+136>>2]=3;break}d=e&65535;if((d*118|0)>>>0>(k[q+4>>2]|0)>>>0){k[u+136>>2]=3;break}k[b>>2]=d;if((d|0)<=(c|0)){k[u+136>>2]=6;break}if((c|0)>=0){s=UTa(t,172,u+136|0)|0;k[b+132>>2]=s;if(!(k[u+136>>2]|0)){s=pTa(q,f+(c*12|0)|0)|0;k[u+136>>2]=s;do if(!s){s=wTa(q,12)|0;k[u+136>>2]=s;if(s|0)break;d=((BTa(q)|0)&65535)<<(g&65535);k[k[b+132>>2]>>2]=d;d=((BTa(q)|0)&65535)<<(g&65535);k[(k[b+132>>2]|0)+164>>2]=d;k[q+32>>2]=(k[q+32>>2]|0)+8;yTa(q);d=O1a(k[b+132>>2]|0,q)|0;k[u+136>>2]=d;s=73;break d}while(0);break b}}}}while(0);s=87;break a}case 17744:{d=pTa(q,m[u+156+2>>1]|0)|0;k[u+136>>2]=d;f:do if(!d){d=KTa(q,173366,u+116|0)|0;k[u+136>>2]=d;if(!d){if((k[u+116>>2]|0)==17744){d=k[u+116+4>>2]|0;if((d&65535)<<16>>16==332)if((k[u+116+8>>2]|0)==17498336){k[b>>2]=0;g:do if(d>>>0>=65536){e=0;while(1){d=KTa(q,173418,u+96|0)|0;k[u+136>>2]=d;if(d|0){e=2;break f}e=e+1<<16>>16;if((k[u+116+12>>2]|0)==(k[u+96+8>>2]|0))break;if((e&65535)>=(m[u+116+6>>1]|0))break g}p=u+96+16|0;d=pTa(q,k[p>>2]|0)|0;k[u+136>>2]=d;if(d|0){e=2;break f}d=KTa(q,173450,u+80|0)|0;k[u+136>>2]=d;if(d|0){e=2;break f}n=k[p>>2]|0;o=k[u+80+12>>2]|0;if((o>>>16|0)==(0-(o&65535)|0)){e=0;d=0;break f}d=0;o=0;h:while(1){d=pTa(q,n+16+(d<<3)|0)|0;k[u+136>>2]=d;if(d|0){e=2;break f}d=KTa(q,173482,u+40|0)|0;k[u+136>>2]=d;if(d|0){e=2;break f}d=k[u+40+4>>2]|0;if((d|0)>=0){s=44;break}k[u+40+4>>2]=d&2147483647;l=(k[p>>2]|0)+(d&2147483647)|0;d=pTa(q,l)|0;k[u+136>>2]=d;if(d|0){e=2;break f}d=KTa(q,173450,u+64|0)|0;k[u+136>>2]=d;if(d|0){e=2;break f}h=k[u+64+12>>2]|0;if((h>>>16|0)!=(0-(h&65535)|0)){d=0;h=0;do{d=pTa(q,l+16+(d<<3)|0)|0;k[u+136>>2]=d;if(d|0){e=2;break f}d=KTa(q,173482,u+32|0)|0;k[u+136>>2]=d;if(d|0){e=2;break f}d=k[u+32+4>>2]|0;if((d|0)>=0){s=52;break h}k[u+32+4>>2]=d&2147483647;g=(k[p>>2]|0)+(d&2147483647)|0;d=pTa(q,g)|0;k[u+136>>2]=d;if(d|0){e=2;break f}d=KTa(q,173450,u+48|0)|0;k[u+136>>2]=d;if(d|0){e=2;break f}f=k[u+48+12>>2]|0;if((f>>>16|0)!=(0-(f&65535)|0)){d=0;f=0;do{d=pTa(q,g+16+(d<<3)|0)|0;k[u+136>>2]=d;if(d|0){e=2;break f}d=KTa(q,173482,u+24|0)|0;k[u+136>>2]=d;if(d|0){e=2;break f}if((k[u+32+4>>2]|0)<0){s=60;break h}if((k[u+40>>2]|0)==8){d=pTa(q,(k[u+24+4>>2]|0)+n|0)|0;k[u+136>>2]=d;if(d|0){e=2;break f}d=KTa(q,173498,u+8|0)|0;k[u+136>>2]=d;if(d|0){e=2;break f}d=k[b>>2]|0;if((d|0)==(c|0)){e=UTa(t,172,u+136|0)|0;k[b+132>>2]=e;d=k[u+136>>2]|0;if(d|0){e=2;break f}k[e>>2]=(k[u+8>>2]|0)+(k[p>>2]|0)-(k[u+96+8>>2]|0);k[e+164>>2]=k[u+8+4>>2];d=O1a(e,q)|0;k[u+136>>2]=d;if(d|0){e=13;break f}d=k[b>>2]|0}k[b>>2]=d+1}f=f+1<<16>>16;d=f&65535;e=k[u+48+12>>2]|0}while(d>>>0<((e>>>16)+(e&65535)|0)>>>0)}h=h+1<<16>>16;d=h&65535;g=k[u+64+12>>2]|0}while(d>>>0<((g>>>16)+(g&65535)|0)>>>0)}o=o+1<<16>>16;d=o&65535;l=k[u+80+12>>2]|0;if(d>>>0>=((l>>>16)+(l&65535)|0)>>>0){e=0;d=0;break f}}if((s|0)==44){k[u+136>>2]=3;e=2;d=3;break f}else if((s|0)==52){k[u+136>>2]=3;e=2;d=3;break f}else if((s|0)==60){k[u+136>>2]=3;e=2;d=3;break f}}while(0);k[u+136>>2]=3;e=2;d=3;break}}k[u+136>>2]=3;e=2;d=3}else e=2}else e=2;while(0);if(!e)s=73;else switch(e|0){case 2:{s=87;break a}case 13:break;default:{d=0;break a}}break}default:{d=2;s=73}}while(0);do if((s|0)==73){e=k[b>>2]|0;if(!e){k[u+136>>2]=3;break c}if((e|0)>(c|0))break;else{k[u+136>>2]=6;break c}}while(0);if(!d){s=87;break a}else break b}}while(0);s=87;break a}while(0);d=k[b+100>>2]|0;e=k[b+104>>2]|0;f=k[b+132>>2]|0;if(!f)s=87;else{if(k[f+160>>2]|0)xTa(e,f+160|0);YTa(d,k[f+168>>2]|0);k[f+168>>2]=0;YTa(d,f);k[b+132>>2]=0;s=87}}else s=87}else s=87;while(0);if((s|0)==87)d=k[u+136>>2]|0;k[u>>2]=d;if((c|0)<0&(d|0)==0){b=0;r=u;return b|0}do if((d&255|0)==2){d=UTa(t,172,u)|0;k[b+132>>2]=d;e=k[u>>2]|0;if(e|0){b=e;r=u;return b|0}k[b>>2]=1;k[d>>2]=0;k[d+164>>2]=k[a+4>>2];a=O1a(d,a)|0;k[u>>2]=a;if(!a){if((c|0)>0){k[u>>2]=6;break}if((c|0)<0){b=0;r=u;return b|0}else s=96}}else if(!d)s=96;else if(!b){b=d;r=u;return b|0}while(0);do if((s|0)==96){h=k[b+132>>2]|0;k[b+4>>2]=c;d=k[b+8>>2]|0;k[b+8>>2]=d|18;c=k[h+100>>2]|0;if((c&65535)<<16>>16==(c>>>16&65535)<<16>>16)k[b+8>>2]=d|22;if(i[h+86>>0]|0)k[b+12>>2]=k[b+12>>2]|1;if((m[h+90>>1]|0)>799)k[b+12>>2]=k[b+12>>2]|2;f=WTa(t,16,0,1,0,u)|0;k[b+32>>2]=f;if(!(k[u>>2]|0)){k[b+28>>2]=1;j[f+2>>1]=j[h+100>>1]|0;j[f>>1]=(m[h+84>>1]|0)+(m[h+96>>1]|0);c=m[h+74>>1]<<6;k[f+4>>2]=c;g=j[h+78>>1]|0;d=j[h+76>>1]|0;d=d<<16>>16?d&65535:72;c=(S2a(c,d,72)|0)+32&-64;k[f+12>>2]=c;e=m[h+96>>1]<<6;if((c|0)>(e|0)){k[f+12>>2]=e;d=S2a(e,72,d)|0;k[f+4>>2]=d}else d=k[f+4>>2]|0;c=(S2a(d,g<<16>>16?g&65535:72,72)|0)+32&-64;k[f+8>>2]=c;k[u+136+4>>2]=0;j[u+136+8>>1]=0;j[u+136+10>>1]=0;k[u+136>>2]=b;if((i[h+92>>0]|0)==77){k[u+136+4>>2]=1634889070;j[u+136+8>>1]=1}c=DSa(57732,0,u+136|0,0)|0;k[u>>2]=c;if(c|0)break;if(k[b+36>>2]|0)k[b+92>>2]=k[k[b+40>>2]>>2];d=i[h+105>>0]|0;e=i[h+104>>0]|0;if((d&255)<(e&255)){k[u>>2]=3;break}k[b+16>>2]=(d&255)+2-(e&255);d=k[h+116>>2]|0;e=k[h+8>>2]|0;if(e>>>0<=d>>>0){k[u>>2]=3;break}f=UTa(t,e-d+1|0,u)|0;k[h+168>>2]=f;if(!(k[u>>2]|0)){ABb(f|0,(k[h+160>>2]|0)+(k[h+116>>2]|0)|0,e-d|0)|0;i[(k[h+168>>2]|0)+(e-d)>>0]=0;c=k[h+168>>2]|0;d=WTa(t,1,e-d|0,(Fnb(c)|0)+1|0,c,u)|0;k[h+168>>2]=d;if(!(k[u>>2]|0)){k[b+20>>2]=d;k[b+24>>2]=592007;d=k[b+12>>2]|0;if(!(d&2)){if(!(d&1)){b=0;r=u;return b|0}k[b+24>>2]=592032;b=0;r=u;return b|0}if(d&1|0){k[b+24>>2]=592015;b=0;r=u;return b|0}else{k[b+24>>2]=592027;b=0;r=u;return b|0}}}}}while(0);d=k[b+100>>2]|0;e=k[b+104>>2]|0;f=k[b+132>>2]|0;if(f|0){if(k[f+160>>2]|0)xTa(e,f+160|0);YTa(d,k[f+168>>2]|0);k[f+168>>2]=0;YTa(d,f);k[b+132>>2]=0}YTa(d,k[b+32>>2]|0);k[b+32>>2]=0;k[b+28>>2]=0;b=k[u>>2]|0;r=u;return b|0}function O1a(a,b){a=a|0;b=b|0;var c=0;c=pTa(b,k[a>>2]|0)|0;if(c|0){b=c;return b|0}c=KTa(b,173214,a+4|0)|0;if(c|0){b=c;return b|0}c=j[a+4>>1]|0;switch(c<<16>>16){case 768:case 512:break;default:{b=2;return b|0}}if((k[a+8>>2]|0)>>>0<(c<<16>>16==768?148:118)>>>0){b=2;return b|0}if(c<<16>>16==512){k[a+132>>2]=0;k[a+132+4>>2]=0;k[a+132+8>>2]=0}if(j[a+72>>1]&1){b=2;return b|0}c=pTa(b,k[a>>2]|0)|0;if(c|0){b=c;return b|0}b=vTa(b,k[a+8>>2]|0,a+160|0)|0;return b|0}function P1a(a,b){a=a|0;b=b|0;b=j[(k[(k[a>>2]|0)+132>>2]|0)+104>>1]|0;k[a+16>>2]=b&255;k[a+20>>2]=1-(b&255)+((b&65535)>>>8&65535);return 0}function Q1a(a,b){a=a|0;b=b|0;b=b-(k[a+16>>2]|0)|0;return (b>>>0<(k[a+20>>2]|0)>>>0?b+1|0:0)|0}function R1a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=(k[b>>2]|0)+1|0;d=k[a+16>>2]|0;if(c>>>0<=d>>>0){a=1;k[b>>2]=d;return a|0}e=(c-d|0)>>>0<(k[a+20>>2]|0)>>>0;a=e?c-d+1|0:0;d=e?c:0;k[b>>2]=d;return a|0}function S1a(a){a=a|0;var b=0,c=0,d=0;if(!a)return;b=k[a+100>>2]|0;c=k[a+104>>2]|0;d=k[a+132>>2]|0;if(d|0){if(k[d+160>>2]|0)xTa(c,d+160|0);YTa(b,k[d+168>>2]|0);k[d+168>>2]=0;YTa(b,d);k[a+132>>2]=0}YTa(b,k[a+32>>2]|0);k[a+32>>2]=0;k[a+28>>2]=0;return}function T1a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,n=0,o=0;o=r;r=r+16|0;d=k[b>>2]|0;k[o>>2]=0;if(!d){k[o>>2]=35;a=35;r=o;return a|0}n=k[d+132>>2]|0;if(n|0)if((k[d+16>>2]|0)>>>0>c>>>0){if(!c)d=l[n+106>>0]|0;else d=c+-1|0;b=(j[n+4>>1]|0)==768;d=(ha(b?6:4,d)|0)+(b?148:118)|0;c=k[n+8>>2]|0;if(d>>>0>=(c+-2+(b?-4:-2)|0)>>>0){k[o>>2]=3;a=3;r=o;return a|0}f=k[n+160>>2]|0;h=l[f+d+2+-2+1>>0]<<8|l[f+d+2+-2>>0];k[a+80>>2]=h;if(b){e=f+d+2+4+-4|0;e=l[e+2>>0]<<16|l[e+3>>0]<<24|l[e+1>>0]<<8|l[e>>0]}else e=l[f+d+2+2+-2+1>>0]<<8|l[f+d+2+2+-2>>0];if(e>>>0>=c>>>0){k[o>>2]=3;a=3;r=o;return a|0}d=k[(k[a+4>>2]|0)+100>>2]|0;k[a+84>>2]=(h+7|0)>>>3;b=m[n+96>>1]|0;k[a+76>>2]=b;i[a+94>>0]=1;if(((ha(b,(h+7|0)>>>3)|0)+e|0)>>>0>c>>>0){k[o>>2]=3;a=3;r=o;return a|0}d=WTa(d,b,0,(h+7|0)>>>3,0,o)|0;k[a+88>>2]=d;b=k[o>>2]|0;if(b|0){a=b;r=o;return a|0}if((h+7|0)>>>3|0){g=d;d=f+e|0;e=(h+7|0)>>>3;while(1){h=k[a+76>>2]|0;c=d+h|0;if((h|0)>0){b=g;while(1){i[b>>0]=i[d>>0]|0;d=d+1|0;if(d>>>0>>0)b=b+(k[a+84>>2]|0)|0;else break}}e=e+-1|0;if(!e)break;else g=g+1|0}}k[(k[a+156>>2]|0)+4>>2]=1;k[a+100>>2]=0;h=m[n+80>>1]|0;k[a+104>>2]=h;k[a+72>>2]=1651078259;g=k[a+80>>2]<<6;k[a+24>>2]=g;n=k[a+76>>2]<<6;k[a+28>>2]=n;k[a+40>>2]=g;k[a+32>>2]=0;k[a+36>>2]=h<<6;uSa(a+24|0,n);a=k[o>>2]|0;r=o;return a|0}k[o>>2]=6;a=6;r=o;return a|0}function U1a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=k[a>>2]|0;f=k[e+132>>2]|0;d=k[b+16>>2]|0;c=k[b+8>>2]|0;if(d)c=((ha(c,d)|0)+36|0)/72|0;c=c+32>>6;a:do switch(k[b>>2]|0){case 0:if((c|0)==((k[(k[e+32>>2]|0)+12>>2]|0)+32>>6|0)){c=f+96|0;break a}else{a=23;return a|0}case 1:{if((c|0)==(m[f+96>>1]|0|0))c=f+96|0;else{a=23;return a|0}break}default:{a=7;return a|0}}while(0);vSa(e,0);e=m[f+80>>1]|0;k[a+24>>2]=e<<6;k[a+28>>2]=e-(m[c>>1]|0)<<6;k[a+36>>2]=(m[f+102>>1]|0)<<6;a=0;return a|0}function V1a(a,b){a=a|0;b=b|0;var c=0;c=k[a>>2]|0;b=k[c+132>>2]|0;vSa(c,0);c=m[b+80>>1]|0;k[a+24>>2]=c<<6;k[a+28>>2]=c-(m[b+96>>1]|0)<<6;k[a+36>>2]=(m[b+102>>1]|0)<<6;return 0}function W1a(a,b){a=a|0;b=b|0;k[a+2988>>2]=b;k[a+2980>>2]=k[b+28>>2];k[a+4>>2]=k[b+8>>2];k[a+12>>2]=k[b+12>>2];k[a+8>>2]=k[b+16>>2];k[a+16>>2]=k[b+20>>2];return 0}function X1a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;g=Y1a(a,b)|0;if(g|0)return g|0;h=k[a+24>>2]|0;d=k[a+28>>2]|0;if((h|0)<=0)return g|0;e=d;f=k[b+8>>2]|0;a=k[b+4>>2]|0;while(1){k[a>>2]=k[e+16>>2];k[a+4>>2]=k[e+20>>2];c=m[e>>1]|0;do if(!(c&1))if(!(c&2)){i[f>>0]=1;break}else{i[f>>0]=2;break}else i[f>>0]=0;while(0);e=e+40|0;if(e>>>0>=(d+(h*40|0)|0)>>>0)break;else{f=f+1|0;a=a+8|0}}return g|0}function Y1a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0;x=r;r=r+16|0;k[x>>2]=0;o=k[a+4>>2]|0;p=k[a+12>>2]|0;q=k[a+8>>2]|0;s=k[a+16>>2]|0;f=k[a>>2]|0;k[a+24>>2]=0;k[a+36>>2]=0;k[a+44>>2]=0;k[a+56>>2]=0;k[a+1512>>2]=0;k[a+1524>>2]=0;d=k[b>>2]|0;e=k[a+32>>2]|0;do if((d&65535)<9)if(!(k[a+40>>2]|0)){k[a+40>>2]=a+3e3;k[a+32>>2]=8;c=d>>>16&65535}else c=d>>>16&65535;else if(d<<16>>16>>>0>e>>>0){c=k[a+40>>2]|0;if((c|0)==(a+3e3|0)){k[a+40>>2]=0;c=0}w=WTa(f,4,e,(d<<16>>16)+3&-4,c,x)|0;k[a+40>>2]=w;if(!(k[x>>2]|0)){k[a+32>>2]=(d<<16>>16)+3&-4;c=j[b+2>>1]|0;break}else{w=k[x>>2]|0;r=x;return w|0}}else c=d>>>16&65535;while(0);d=c<<16>>16;e=k[a+20>>2]|0;do if((d+2|0)>>>0<97){if(!(k[a+28>>2]|0)){k[a+28>>2]=a+3032;k[a+20>>2]=96}}else if((d+2|0)>>>0>e>>>0){c=k[a+28>>2]|0;if((c|0)==(a+3032|0)){k[a+28>>2]=0;c=0}w=WTa(f,40,e,d+11&-8,c,x)|0;k[a+28>>2]=w;if(!(k[x>>2]|0)){k[a+20>>2]=d+11&-8;break}else{w=k[x>>2]|0;r=x;return w|0}}while(0);k[a+24>>2]=j[b+2>>1];k[a+36>>2]=j[b>>1];k[a+68>>2]=2;k[a+1536>>2]=-1;if((YSa(b)|0)==1){k[a+68>>2]=-2;k[a+1536>>2]=1}k[a+4>>2]=o;k[a+12>>2]=p;k[a+8>>2]=q;k[a+16>>2]=s;k[a+2992>>2]=0;k[a+2996>>2]=0;v=k[a+28>>2]|0;w=k[a+24>>2]|0;if(!w){w=k[x>>2]|0;r=x;return w|0}d=k[b+12>>2]|0;e=v+((j[d>>1]|0)*40|0)|0;if((w|0)>0){c=0;f=e;n=v;d=e;g=k[b+8>>2]|0;h=k[b+4>>2]|0;while(1){i[n+2>>0]=4;i[n+3>>0]=4;t=k[h>>2]|0;j[n+12>>1]=t;u=h+4|0;j[n+14>>1]=k[u>>2];t=(U2a(t,o)|0)+q|0;k[n+16>>2]=t;k[n+4>>2]=t;u=(U2a(k[u>>2]|0,p)|0)+s|0;k[n+20>>2]=u;k[n+8>>2]=u;switch(l[g>>0]&3|0){case 0:{j[n>>1]=1;break}case 2:{j[n>>1]=2;break}default:j[n>>1]=0}k[n+36>>2]=d;k[d+32>>2]=n;if((n|0)==(f|0)){c=c+1|0;if((c|0)<(j[b>>1]|0)){d=v+((j[(k[b+12>>2]|0)+(c<<1)>>1]|0)*40|0)|0;e=d}else{e=n;d=n}}else{e=f;d=n}n=n+40|0;if(n>>>0>=(v+(w*40|0)|0)>>>0)break;else{f=e;g=g+1|0;h=h+8|0}}d=k[b+12>>2]|0}c=k[a+40>>2]|0;g=k[a+36>>2]|0;if((g|0)>0){f=c;e=0;while(1){k[f>>2]=v+((e<<16>>16)*40|0);e=(j[d>>1]|0)+1|0;f=f+4|0;if(f>>>0>=(c+(g<<2)|0)>>>0)break;else d=d+2|0}c=k[a+40>>2]|0}t=((m[(k[(k[a+2988>>2]|0)+4>>2]|0)+68>>1]|0)*20|0)>>>11;u=c+(g<<2)|0;if((g|0)>0)do{f=k[c>>2]|0;d=f;while(1){g=k[d+36>>2]|0;e=k[d+12>>2]|0;if((g|0)==(f|0))break;a=k[g+12>>2]|0;if(((((e>>16)-(a>>16)|0)<0?0-((e>>16)-(a>>16))|0:(e>>16)-(a>>16)|0)+(((e<<16>>16)-(a<<16>>16)|0)<0?0-((e<<16>>16)-(a<<16>>16))|0:(e<<16>>16)-(a<<16>>16)|0)|0)<((t<<1)+-1|0))d=g;else break}b=d;k[d+24>>2]=0;a=d+28|0;k[a>>2]=0;h=d;s=d;f=0;g=0;do{s=k[s+32>>2]|0;q=e;e=k[s+12>>2]|0;f=(e<<16>>16)-(q<<16>>16)+f|0;g=(e>>16)-(q>>16)+g|0;if((((g|0)<0?0-g|0:g)+((f|0)<0?0-f|0:f)|0)<(t|0))j[s>>1]=m[s>>1]|16;else{q=s;n=(q-h|0)/40|0;k[h+24>>2]=n;k[s+28>>2]=0-n;n=(g|0)>=(0-f|0);if((g|0)<(f|0)){o=n?1:-2;p=n?f:0-g|0;f=n?g:f}else{o=n?2:-1;p=n?g:0-f|0;f=n?f:g}g=(p|0)>(((f|0)<0?0-f|0:f)*14|0)?o&255:4;i[h+3>>0]=g;f=k[h+32>>2]|0;if((f|0)!=(s|0))do{i[f+2>>0]=g;i[f+3>>0]=g;f=k[f+32>>2]|0}while((f|0)!=(s|0));i[s+2>>0]=g;k[s+24>>2]=(b-q|0)/40|0;k[a>>2]=0-((b-q|0)/40|0);h=s;f=0;g=0}}while((s|0)!=(d|0));c=c+4|0}while(c>>>0>>0);if((w|0)>0)g=v;else{w=k[x>>2]|0;r=x;return w|0}do{c=k[g>>2]|0;if((c&-65520|0)==67371008){d=k[g+24>>2]|0;e=k[g+28>>2]|0;f=k[g+12>>2]|0;if(((j[g+(d*40|0)+12>>1]|0)-(f<<16>>16)^(f<<16>>16)-(j[g+(e*40|0)+12>>1]|0)|0)>-1)if(((f>>16)-(j[g+(e*40|0)+14>>1]|0)^(j[g+(d*40|0)+14>>1]|0)-(f>>16)|0)>-1){j[g>>1]=c|16;k[g+(e*40|0)+24>>2]=((d-e|0)*40|0)/40|0;k[g+(d*40|0)+28>>2]=0-(((d-e|0)*40|0)/40|0)}}g=g+40|0}while(g>>>0<(v+(w*40|0)|0)>>>0);if((w|0)>0)e=v;else{w=k[x>>2]|0;r=x;return w|0}do{c=k[e>>2]|0;a:do if(!(c&16)){do if(!(c&3)){if((c>>>24&255)<<24>>24!=(c>>>16&255)<<24>>24)if((c>>>16<<24>>24|0)==(0-(c>>24)|0)){c=c&65535;break}else break a;if((c>>>24&255)<<24>>24==4){c=k[e+24>>2]|0;d=k[e+28>>2]|0;u=k[e+12>>2]|0;if(!(_2a((u<<16>>16)-(j[e+(d*40|0)+12>>1]|0)|0,(u>>16)-(j[e+(d*40|0)+14>>1]|0)|0,(j[e+(c*40|0)+12>>1]|0)-(u<<16>>16)|0,(j[e+(c*40|0)+14>>1]|0)-(u>>16)|0)|0))break a;k[e+(d*40|0)+24>>2]=((c-d|0)*40|0)/40|0;k[e+(c*40|0)+28>>2]=0-(((c-d|0)*40|0)/40|0);c=j[e>>1]|0}else c=c&65535}else c=c&65535;while(0);j[e>>1]=c&65535|16}while(0);e=e+40|0}while(e>>>0<(v+(w*40|0)|0)>>>0);w=k[x>>2]|0;r=x;return w|0}function Z1a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0;M=r;r=r+10064|0;L=k[b+92>>2]|0;k[a+40>>2]=m[b+68>>1];if(BSa(b,1970170211)|0){CSa(b,L)|0;r=M;return 0}d=k[b+100>>2]|0;vBb(M+3192|0,0,3e3)|0;k[M+3192>>2]=d;k[a+52>>2]=0;k[a+1624>>2]=0;d=k[60496+(k[(k[a>>2]|0)+8>>2]<<2)>>2]|0;c=eSa(k[k[a+36>>2]>>2]|0,k[d+8>>2]|0)|0;if(!c){c=k[d+12>>2]|0;if(c|0){c=eSa(k[k[a+36>>2]>>2]|0,c)|0;if(!c){c=k[d+16>>2]|0;if(c|0){c=eSa(k[k[a+36>>2]>>2]|0,c)|0;if(c|0)K=7}}else K=7}}else K=7;do if((K|0)==7)if(!(cSa(b,c,1)|0)){c=k[b+84>>2]|0;if((j[c+110>>1]|0)>=1){vBb(M+4|0,0,3188)|0;k[M+4+40>>2]=k[a+40>>2];k[M+4+8>>2]=65536;k[M+4+12>>2]=65536;k[M+4+16>>2]=0;k[M+4+20>>2]=0;k[M+4+4>>2]=b;k[M+4+24>>2]=0;k[M+4+28>>2]=0;k[M+3192+2988>>2]=M+4;k[M+3192+2980>>2]=0;if(!(Y1a(M+3192|0,c+108|0)|0)){k[M>>2]=0;if(!(_1a(M+3192|0,0)|0)){$1a(M+3192|0,0,0,0);e=k[M+3192+52>>2]|0;f=k[M+3192+44>>2]|0;if((f|0)>0){c=0;g=e;do{d=k[g+20>>2]|0;if(d)if(d>>>0>g>>>0?(k[d+20>>2]|0)==(g|0):0){d=(j[g+2>>1]|0)-(j[d+2>>1]|0)|0;if(c>>>0<16){J=c+1|0;k[M>>2]=J;k[a+56+(c*12|0)>>2]=(d|0)<0?0-d|0:d;c=J}}g=g+48|0}while(g>>>0<(e+(f*48|0)|0)>>>0)}a2a(M,a+56|0,((k[M+4+40>>2]|0)>>>0)/100|0);k[a+52>>2]=k[M>>2];k[M>>2]=0;if(!(_1a(M+3192|0,1)|0)){$1a(M+3192|0,0,0,1);e=k[M+3192+1520>>2]|0;f=k[M+3192+1512>>2]|0;if((f|0)>0){c=0;g=e;do{d=k[g+20>>2]|0;if(d)if(d>>>0>g>>>0?(k[d+20>>2]|0)==(g|0):0){d=(j[g+2>>1]|0)-(j[d+2>>1]|0)|0;if(c>>>0<16){J=c+1|0;k[M>>2]=J;k[a+1628+(c*12|0)>>2]=(d|0)<0?0-d|0:d;c=J}}g=g+48|0}while(g>>>0<(e+(f*48|0)|0)>>>0)}a2a(M,a+1628|0,((k[M+4+40>>2]|0)>>>0)/100|0);k[a+1624>>2]=k[M>>2];break}}}}}while(0);if(!(k[a+52>>2]|0))c=((k[a+40>>2]|0)*50|0)/2048|0;else c=k[a+56>>2]|0;k[a+248>>2]=(c|0)/5|0;k[a+252>>2]=c;i[a+256>>0]=0;if(!(k[a+1624>>2]|0))c=((k[a+40>>2]|0)*50|0)/2048|0;else c=k[a+1628>>2]|0;k[a+1820>>2]=(c|0)/5|0;k[a+1824>>2]=c;i[a+1828>>0]=0;b2a(M+3192|0);d=57772+(k[(k[a>>2]|0)+12>>2]<<3)|0;c=k[d>>2]|0;if((c|0)!=759)do{e=592039+c|0;c=i[e>>0]|0;a:do if(!(c<<24>>24)){f=0;s=0}else{J=d+4|0;f=0;s=0;while(1){I=f;b:while(1){c:while(1){e=e+1|0;f=c&255;if(c<<24>>24<0){do if((c&255)<224){f=f&31;h=1}else if((c&255)<240){f=f&15;h=2;break}else{f=f&7;h=3;break}while(0);c=h;g=e;while(1){f=l[g>>0]&63|f<<6;c=c+-1|0;if(!c)break;else g=g+1|0}e=e+h|0}c=eSa(k[k[a+36>>2]>>2]|0,f)|0;d:do if(c|0){F=cSa(b,c,1)|0;t=k[b+84>>2]|0;q=k[t+108>>2]|0;G=k[t+112>>2]|0;H=k[t+116>>2]|0;t=k[t+120>>2]|0;if(!F)if((q>>>16&65535)<<16>>16>=3){if((q&65535)<<16>>16<=0){c=0;break c}g=0;o=0;p=-1;f=0;n=0;v=0;while(1){u=j[t+(v<<1)>>1]|0;if((u|0)>(n|0)){c=(n|0)>(u|0);do if(!(j[J>>1]&1)){if(c){c=p;break}else{c=p;h=n}while(1){F=k[G+(h<<3)+4>>2]|0;E=(c|0)<0|(F|0)<(f|0);c=E?h:c;f=E?F:f;if((h|0)<(u|0))h=h+1|0;else break}}else{if(c){c=p;break}else{c=p;h=n}while(1){F=k[G+(h<<3)+4>>2]|0;E=(c|0)<0|(F|0)>(f|0);c=E?h:c;f=E?F:f;if((h|0)<(u|0))h=h+1|0;else break}}while(0);h=(c|0)==(p|0);g=h?g:n;h=h?o:u}else{h=o;c=p}v=v+1|0;if((v|0)==(q<<16>>16|0)){F=g;E=h;t=c;D=f;break}else{o=h;p=c;n=u+1|0}}if((t|0)<=-1){c=D;break c}q=k[G+(t<<3)>>2]|0;g=(i[H+t>>0]&3)==1?t:-1;c=g;h=t;while(1){n=h;h=(h|0)>(F|0)?h+-1|0:E;f=(k[G+(h<<3)+4>>2]|0)-D|0;f=(f|0)<0?0-f|0:f;if((f|0)>5){C=(k[G+(h<<3)>>2]|0)-q|0;if((((C|0)<0?0-C|0:C)|0)<=(f*20|0)){f=g;break}}f=(i[H+h>>0]&3)==1;c=f?h:c;f=(g|0)<0&f?h:g;if((h|0)==(t|0)){n=t;break}else g=f}p=f;o=t;while(1){f=o;o=(o|0)<(E|0)?o+1|0:F;h=G+(o<<3)|0;g=(k[G+(o<<3)+4>>2]|0)-D|0;g=(g|0)<0?0-g|0:g;if((g|0)>5){C=(k[h>>2]|0)-q|0;if((((C|0)<0?0-C|0:C)|0)<=(g*20|0)){B=h;o=c;break}}f=(i[H+o>>0]&3)==1;c=(c|0)<0&f?o:c;f=f?o:p;if((o|0)==(t|0)){B=h;o=c;p=f;f=t;break}else p=f}C=j[J>>1]|0;e:do if(!(C&8)){g=p;h=n;c=D}else{A=k[a+40>>2]|0;z=(k[G+(f<<3)>>2]|0)-(k[G+(n<<3)>>2]|0)|0;if((((z|0)<0?0-z|0:z)|0)>=((A>>>0)/25|0|0)){g=p;h=n;c=D;break}if((2-n+f|0)>(E-F|0)){g=p;h=n;c=D;break}else h=t;do{h=(h|0)>(F|0)?h+-1|0:E;c=k[G+(h<<3)>>2]|0;g=(h|0)==(t|0)}while(!((c|0)!=(q|0)|g));if(g)break d;x=(c|0)<(k[G+(t<<3)>>2]|0);h=f;c=0;z=f;q=0;g=0;f:while(1){if(!(c<<24>>24)){g=(i[H+z>>0]&3)==1?z:-1;h=z;w=1;q=g}else w=c;z=(z|0)<(E|0)?z+1|0:F;v=G+(h<<3)|0;c=k[G+(h<<3)+4>>2]|0;do if((((D-c|0)<0?0-(D-c)|0:D-c|0)|0)>(A>>>2|0))c=0;else{t=G+(z<<3)|0;y=(k[G+(z<<3)+4>>2]|0)-c|0;y=(y|0)<0?0-y|0:y;if((y|0)>5){u=k[t>>2]|0;t=k[v>>2]|0;if((((u-t|0)<0?0-(u-t)|0:u-t|0)|0)<=(y*20|0)){c=0;break}}else{u=k[t>>2]|0;t=k[v>>2]|0}v=(i[H+z>>0]&3)==1;q=(q|0)<0&v?z:q;g=v?z:g;v=u-t|0;if(x^(u|0)>(t|0)){c=w;break}if((((v|0)<0?0-v|0:v)|0)<((A>>>0)/25|0|0))c=w;else{f=z;break f}}while(0);if((z|0)==(n|0)){g=p;h=n;c=D;break e}}o=f;f=q;while(1){p=(o|0)<(E|0)?o+1|0:F;D=(k[G+(p<<3)+4>>2]|0)-c|0;if((((D|0)<0?0-D|0:D)|0)>5){D=(k[B>>2]|0)-t|0;if((((D|0)<0?0-D|0:D)|0)<=(y*20|0))break}f=((f|0)<0?(i[H+p>>0]&3)==1:0)?p:f;if((p|0)==(n|0)){o=f;g=n;f=n;break e}else{o=p;g=p}}o=f;f=(p|0)>(F|0)?p+-1|0:E}while(0);if((g|o|0)>-1){G=(k[G+(g<<3)>>2]|0)-(k[G+(o<<3)>>2]|0)|0;if(((G|0)<0?0-G|0:G)>>>0>(k[a+40>>2]|0)>>>3>>>0)break c}if((i[H+h>>0]&3)==1)if((i[H+f>>0]&3)==1)break c;if(!(C&2)){f=I;break b}}}while(0);c=i[e>>0]|0;if(!(c<<24>>24)){f=I;break a}}f=I+1|0;k[M+3192+(I<<2)>>2]=c;c=i[e>>0]|0;if(!(c<<24>>24))break a;else I=f}g=s+1|0;k[M+4+(s<<2)>>2]=c;c=i[e>>0]|0;if(!(c<<24>>24)){s=g;break}else s=g}}while(0);q=(s|0)==0;if(f|s|0){p=(f|0)==0;if(s>>>0>1){h=1;do{c=k[M+4+(h<<2)>>2]|0;n=h;do{o=n;n=n+-1|0;e=M+4+(n<<2)|0;g=k[e>>2]|0;if((c|0)>=(g|0))break;k[M+4+(o<<2)>>2]=g;k[e>>2]=c}while((n|0)!=0);h=h+1|0}while((h|0)!=(s|0))}if(f>>>0>1){h=1;do{c=k[M+3192+(h<<2)>>2]|0;n=h;do{o=n;n=n+-1|0;e=M+3192+(n<<2)|0;g=k[e>>2]|0;if((c|0)>=(g|0))break;k[M+3192+(o<<2)>>2]=g;k[e>>2]=c}while((n|0)!=0);h=h+1|0}while((h|0)!=(f|0))}h=k[a+1832>>2]|0;k[a+1832>>2]=h+1;do if(p){K=k[M+4+(s>>>1<<2)>>2]|0;k[a+1836+(h*28|0)+12>>2]=K;k[a+1836+(h*28|0)>>2]=K;K=113}else{g=k[M+3192+(f>>>1<<2)>>2]|0;if(q){k[a+1836+(h*28|0)+12>>2]=g;k[a+1836+(h*28|0)>>2]=g;K=113;break}k[a+1836+(h*28|0)>>2]=g;f=k[M+4+(s>>>1<<2)>>2]|0;k[a+1836+(h*28|0)+12>>2]=f;if((f|0)==(g|0))K=113;else{e=d+4|0;c=j[e>>1]|0;if((f|0)>(g|0)^(c&1)!=0){k[a+1836+(h*28|0)+12>>2]=(f+g|0)/2|0;k[a+1836+(h*28|0)>>2]=(f+g|0)/2|0}}}while(0);if((K|0)==113){K=0;c=d+4|0;e=c;c=j[c>>1]|0}c=(c&1)<<1;k[a+1836+(h*28|0)+24>>2]=c;e=j[e>>1]|0;if(e&2){k[a+1836+(h*28|0)+24>>2]=c|4;c=c|4}if(e&4)k[a+1836+(h*28|0)+24>>2]=c|8}d=d+8|0;c=k[d>>2]|0}while((c|0)!=759);f=48;e=0;d=0;while(1){c=eSa(k[k[a+36>>2]>>2]|0,f)|0;if(!c)c=e;else if(!(K2a(b,c,2051,M+3192|0)|0)){c=k[M+3192>>2]|0;if(!(d<<24>>24))d=1;else if((c|0)==(e|0))c=e;else{c=0;break}}else c=e;f=f+1|0;if(f>>>0>=58){c=1;break}else e=c}i[a+32>>0]=c;CSa(b,L)|0;r=M;return 0}function _1a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;z=r;r=r+48|0;u=k[a>>2]|0;w=k[a+40>>2]|0;x=k[a+36>>2]|0;h=z+16|0;o=h+31|0;do{i[h>>0]=0;h=h+1|0}while((h|0)<(o|0));k[z>>2]=0;k[z+4>>2]=0;k[z+8>>2]=0;v=k[a+44+(b*1468|0)+24>>2]|0;v=(v|0)<0?0-v|0:v;k[a+44+(b*1468|0)>>2]=0;d=k[a+28>>2]|0;e=k[a+24>>2]|0;if(!b){if((e|0)>0){c=d;do{t=k[c+12>>2]|0;k[c+24>>2]=t<<16>>16;k[c+28>>2]=t>>16;c=c+40|0}while(c>>>0<(d+(e*40|0)|0)>>>0)}}else if((e|0)>0){c=d;do{k[c+24>>2]=j[c+14>>1];k[c+28>>2]=j[c+12>>1];c=c+40|0}while(c>>>0<(d+(e*40|0)|0)>>>0)}if((x|0)<=0){y=0;r=z;return y|0}t=w;d=0;n=v;a:while(1){f=k[t>>2]|0;c=k[f+36>>2]|0;b:do if((f|0)==(c|0))c=n;else{e=i[c+3>>0]|0;c:do if(((e<<24>>24<0?0-(e<<24>>24)|0:e<<24>>24)|0)==(v|0)){s=i[f+3>>0]|0;if(((s<<24>>24<0?0-(s<<24>>24)|0:s<<24>>24)|0)==(v|0)){if(((e<<24>>24<0?0-(e<<24>>24)|0:e<<24>>24)|0)==(v|0))do{if((c|0)==(f|0))break c;c=k[c+36>>2]|0;s=i[c+3>>0]|0}while(((s<<24>>24<0?0-(s<<24>>24)|0:s<<24>>24)|0)==(v|0));f=k[c+32>>2]|0}}while(0);e=-32e3;g=32e3;h=0;o=0;s=f;c=n;while(1){if(!h)h=0;else{q=k[s+24>>2]|0;g=(q|0)<(g|0)?q:g;e=(q|0)>(e|0)?q:e;if((s|0)==(f|0)?1:(i[s+3>>0]|0)!=(c|0)){k[d+44>>2]=s;j[d+2>>1]=(g+e|0)>>>1;e=k[d+40>>2]|0;if((j[s>>1]|j[e>>1])&3)i[d>>0]=l[d>>0]|1;h=k[s+28>>2]|0;e=k[e+28>>2]|0;g=(e|0)<(h|0)?e:h;e=(e|0)>(h|0)?e:h;j[d+4>>1]=g;j[d+6>>1]=e;j[d+8>>1]=e-g;h=0;d=0}}if((s|0)==(f|0))if(!(o<<24>>24))q=1;else break b;else q=o;if(!h){p=i[s+3>>0]|0;if(((p<<24>>24<0?0-(p<<24>>24)|0:p<<24>>24)|0)==(v|0)){k[z+12>>2]=0;c=k[a+44+(b*1468|0)>>2]|0;if((c|0)<18){if(!(k[a+44+(b*1468|0)+8>>2]|0)){k[a+44+(b*1468|0)+8>>2]=a+44+(b*1468|0)+28;k[a+44+(b*1468|0)+4>>2]=18}}else{d=k[a+44+(b*1468|0)+4>>2]|0;if((c|0)>=(d|0)){if((d|0)>44739241){y=30;break a}e=(d>>2|0)<-4|(d+4+(d>>2)|0)>44739242?44739242:d+4+(d>>2)|0;c=k[a+44+(b*1468|0)+8>>2]|0;if((c|0)==(a+44+(b*1468|0)+28|0)){d=WTa(u,48,0,e,0,z+12|0)|0;k[a+44+(b*1468|0)+8>>2]=d;c=k[z+12>>2]|0;if(c|0)break a;ABb(d|0,a+44+(b*1468|0)+28|0,864)|0}else{c=WTa(u,48,d,e,c,z+12|0)|0;k[a+44+(b*1468|0)+8>>2]=c;c=k[z+12>>2]|0;if(c|0)break a}k[a+44+(b*1468|0)+4>>2]=e;c=k[a+44+(b*1468|0)>>2]|0}}e=k[a+44+(b*1468|0)+8>>2]|0;k[a+44+(b*1468|0)>>2]=c+1;d=e+(c*48|0)|0;i[d>>0]=0;g=e+(c*48|0)+1|0;h=g;n=z+16|0;o=h+31|0;do{i[h>>0]=i[n>>0]|0;h=h+1|0;n=n+1|0}while((h|0)<(o|0));k[e+(c*48|0)+32>>2]=32e3;h=e+(c*48|0)+36|0;k[h>>2]=k[z>>2];k[h+4>>2]=k[z+4>>2];k[h+8>>2]=k[z+8>>2];i[g>>0]=p;g=k[s+24>>2]|0;k[e+(c*48|0)+40>>2]=s;k[e+(c*48|0)+44>>2]=s;e=g;h=1;c=p<<24>>24}else h=0}o=q;s=k[s+32>>2]|0}}while(0);t=t+4|0;if(t>>>0>=(w+(x<<2)|0)>>>0){y=40;break}else n=c}if((y|0)==30){k[z+12>>2]=64;c=64}else if((y|0)==40){n=k[a+44+(b*1468|0)>>2]|0;f=k[a+44+(b*1468|0)+8>>2]|0;if((n|0)>0)h=f;else{y=0;r=z;return y|0}do{e=k[h+40>>2]|0;c=k[h+44>>2]|0;d=k[e+28>>2]|0;g=k[c+28>>2]|0;e=k[(k[e+36>>2]|0)+28>>2]|0;if((d|0)<(g|0)){if((d|0)>(e|0)){y=h+8|0;j[y>>1]=(m[y>>1]|0)+((d-e|0)>>>1)}c=k[(k[c+32>>2]|0)+28>>2]|0;if((c|0)>(g|0)){y=h+8|0;j[y>>1]=(m[y>>1]|0)+((c-g|0)>>>1)}}else{if((e|0)>(d|0)){y=h+8|0;j[y>>1]=(m[y>>1]|0)+((e-d|0)>>>1)}c=k[(k[c+32>>2]|0)+28>>2]|0;if((g|0)>(c|0)){y=h+8|0;j[y>>1]=(m[y>>1]|0)+((g-c|0)>>>1)}}h=h+48|0}while(h>>>0<(f+(n*48|0)|0)>>>0);c=0;r=z;return c|0}y=c;r=z;return y|0}function $1a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;q=k[a+44+(d*1468|0)+8>>2]|0;r=k[a+44+(d*1468|0)>>2]|0;if(!b)p=0;else p=k[c+((b+-1|0)*12|0)>>2]|0;o=k[(k[a+2988>>2]|0)+40>>2]|0;n=(o+255|0)>>>0<511?1:(o|0)/256|0;if((r|0)<=0)return;a=k[a+44+(d*1468|0)+24>>2]|0;e=(p|0)==0;m=q;do{a:do if(!((r|0)<1?1:(i[m+1>>0]|0)!=(a|0))){f=j[m+2>>1]|0;g=m+4|0;h=m+32|0;l=m+20|0;if(e){d=q;while(1){b=j[d+2>>1]|0;if(b<<16>>16>f<<16>>16?(a|0)==(0-(i[d+1>>0]|0)|0):0){c=k[g>>2]|0;s=k[d+4>>2]|0;c=(((c>>>16&65535)<<16>>16>(s>>>16&65535)<<16>>16?s>>>16:c>>>16)<<16>>16)-(((c&65535)<<16>>16<(s&65535)<<16>>16?s:c)<<16>>16)|0;if((c|0)>=(n|0)){b=(((o*6e3|0)/2048|0|0)/(c|0)|0)+((b<<16>>16)-(f<<16>>16))|0;if((b|0)<(k[h>>2]|0)){k[h>>2]=b;k[l>>2]=d}c=d+32|0;if((b|0)<(k[c>>2]|0)){k[c>>2]=b;k[d+20>>2]=m}}}d=d+48|0;if(d>>>0>=(q+(r*48|0)|0)>>>0)break a}}else d=q;do{b=j[d+2>>1]|0;if(b<<16>>16>f<<16>>16?(a|0)==(0-(i[d+1>>0]|0)|0):0){c=k[g>>2]|0;s=k[d+4>>2]|0;c=(((c>>>16&65535)<<16>>16>(s>>>16&65535)<<16>>16?s>>>16:c>>>16)<<16>>16)-(((c&65535)<<16>>16<(s&65535)<<16>>16?s:c)<<16>>16)|0;if((c|0)>=(n|0)){b=((b<<16>>16)-(f<<16>>16)<<10|0)/(p|0)|0;if((b+-1024|0)>1e4)b=32e3;else if((b|0)>1024)b=((ha(b+-1024|0,b+-1024|0)|0)>>>0)/3e3|0;else b=0;b=(((o*6e3|0)/2048|0|0)/(c|0)|0)+b|0;if((b|0)<(k[h>>2]|0)){k[h>>2]=b;k[l>>2]=d}c=d+32|0;if((b|0)<(k[c>>2]|0)){k[c>>2]=b;k[d+20>>2]=m}}}d=d+48|0}while(d>>>0<(q+(r*48|0)|0)>>>0)}while(0);m=m+48|0}while(m>>>0<(q+(r*48|0)|0)>>>0);if((r|0)>0)d=q;else return;do{b=d+20|0;c=k[b>>2]|0;if(c|0)if((k[c+20>>2]|0)!=(d|0)){k[b>>2]=0;k[d+24>>2]=k[c+20>>2]}d=d+48|0}while(d>>>0<(q+(r*48|0)|0)>>>0);return}function a2a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0;j=r;r=r+16|0;d=k[a>>2]|0;if((d|0)==1){r=j;return}if(d>>>0>1){g=1;do{if(g){f=g;do{d=b+(f*12|0)|0;f=f+-1|0;e=b+(f*12|0)|0;if((k[d>>2]|0)>=(k[e>>2]|0))break;k[j>>2]=k[d>>2];k[j+4>>2]=k[d+4>>2];k[j+8>>2]=k[d+8>>2];k[d>>2]=k[e>>2];k[d+4>>2]=k[e+4>>2];k[d+8>>2]=k[e+8>>2];k[e>>2]=k[j>>2];k[e+4>>2]=k[j+4>>2];k[e+8>>2]=k[j+8>>2]}while((f|0)!=0);d=k[a>>2]|0}g=g+1|0}while(g>>>0>>0);if(d>>>0>1){h=0;i=k[b>>2]|0;e=1;while(1){f=((k[b+(e*12|0)>>2]|0)-i|0)>(c|0);g=(e|0)==(d+-1|0);if(g|f){e=(f?0:g&1)+e|0;if(h>>>0>>0){g=h;f=0;do{l=b+(g*12|0)|0;f=(k[l>>2]|0)+f|0;k[l>>2]=0;g=g+1|0}while((g|0)!=(e|0));g=e}else{g=h;f=0}k[b+(h*12|0)>>2]=(f|0)/(g|0)|0;if(e>>>0<(d+-1|0)>>>0){f=e+1|0;g=k[b+((e+1|0)*12|0)>>2]|0}else{f=h;g=i}}else{f=h;g=i}e=e+1|0;if(e>>>0>=d>>>0)break;else{h=f;i=g}}if(d>>>0>1){f=d;d=1;g=1;while(1){e=b+(g*12|0)|0;if(!(k[e>>2]|0))e=f;else{l=b+(d*12|0)|0;k[l>>2]=k[e>>2];k[l+4>>2]=k[e+4>>2];k[l+8>>2]=k[e+8>>2];e=k[a>>2]|0;d=d+1|0}g=g+1|0;if(g>>>0>=e>>>0)break;else f=e}}else d=1}else d=1}else d=1;k[a>>2]=d;r=j;return}function b2a(a){a=a|0;var b=0,c=0;if(!a)return;c=k[a>>2]|0;if(!c)return;k[a+44>>2]=0;k[a+48>>2]=0;b=k[a+52>>2]|0;if((b|0)!=(a+72|0)){YTa(c,b);k[a+52>>2]=0}k[a+56>>2]=0;k[a+60>>2]=0;b=k[a+64>>2]|0;if((b|0)!=(a+936|0)){YTa(c,b);k[a+64>>2]=0}k[a+1512>>2]=0;k[a+1516>>2]=0;b=k[a+1520>>2]|0;if((b|0)!=(a+1540|0)){YTa(c,b);k[a+1520>>2]=0}k[a+1524>>2]=0;k[a+1528>>2]=0;b=k[a+1532>>2]|0;if((b|0)!=(a+2404|0)){YTa(c,b);k[a+1532>>2]=0}b=k[a+40>>2]|0;if((b|0)!=(a+3e3|0)){YTa(c,b);k[a+40>>2]=0}k[a+32>>2]=0;k[a+36>>2]=0;b=k[a+28>>2]|0;if((b|0)!=(a+3032|0)){YTa(c,b);k[a+28>>2]=0}k[a+20>>2]=0;k[a+24>>2]=0;k[a>>2]=0;return}function c2a(a,b){a=a|0;b=b|0;k[a+24>>2]=k[b+20>>2];k[a+4>>2]=k[b>>2];k[a+28>>2]=k[b+24>>2];d2a(a,b,0);d2a(a,b,1);return}function d2a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0,m=0;h=k[((c|0)==0?b+4|0:b+8|0)>>2]|0;l=k[((c|0)==0?b+12|0:b+16|0)>>2]|0;if((k[a+44+(c*1572|0)+1564>>2]|0)==(h|0))if((k[a+44+(c*1572|0)+1568>>2]|0)==(l|0))return;k[a+44+(c*1572|0)+1564>>2]=h;k[a+44+(c*1572|0)+1568>>2]=l;e=k[a+1832>>2]|0;a:do if(e){d=0;while(1){if(k[a+1836+(d*28|0)+24>>2]&8|0)break;d=d+1|0;if(d>>>0>=e>>>0)break a}b=U2a(k[a+1836+(d*28|0)+12>>2]|0,k[b+8>>2]|0)|0;d=j[(k[(k[a+4>>2]|0)+88>>2]|0)+12>>1]|0;e=k[(k[a+36>>2]|0)+12>>2]|0;if(!e)d=40;else d=(d&65535)>5&(d&65535)>>>0<=e>>>0?52:40;d=d+b&-64;if((c|0)==1&(b|0)!=(d|0))h=S2a(h,d,b)|0}while(0);k[a+44+(c*1572|0)>>2]=h;k[a+44+(c*1572|0)+4>>2]=l;if(!c){k[a+8>>2]=h;k[a+16>>2]=l}else{k[a+12>>2]=h;k[a+20>>2]=l}if(k[a+44+(c*1572|0)+8>>2]|0){d=0;do{g=U2a(k[a+44+(c*1572|0)+12+(d*12|0)>>2]|0,h)|0;k[a+44+(c*1572|0)+12+(d*12|0)+4>>2]=g;k[a+44+(c*1572|0)+12+(d*12|0)+8>>2]=g;d=d+1|0}while(d>>>0<(k[a+44+(c*1572|0)+8>>2]|0)>>>0)}g=(U2a(k[a+44+(c*1572|0)+208>>2]|0,h)|0)<40&1;i[a+44+(c*1572|0)+212>>0]=g;if((c|0)!=1)return;if(!(k[a+1832>>2]|0))return;else g=0;do{m=a+1836+(g*28|0)|0;f=(U2a(k[m>>2]|0,h)|0)+l|0;d=a+1836+(g*28|0)+4|0;k[d>>2]=f;e=a+1836+(g*28|0)+8|0;k[e>>2]=f;f=a+1836+(g*28|0)+12|0;c=(U2a(k[f>>2]|0,h)|0)+l|0;k[a+1836+(g*28|0)+16>>2]=c;b=a+1836+(g*28|0)+20|0;k[b>>2]=c;c=a+1836+(g*28|0)+24|0;k[c>>2]=k[c>>2]&-2;f=U2a((k[m>>2]|0)-(k[f>>2]|0)|0,h)|0;if((f+48|0)>>>0<97){m=(f|0)<0?0-f|0:f;m=(m|0)<32?0:(m|0)<48?32:64;d=(k[d>>2]|0)+32&-64;k[e>>2]=d;k[b>>2]=d-((f|0)<0?0-m|0:m);k[c>>2]=k[c>>2]|1}g=g+1|0}while(g>>>0<(k[a+1832>>2]|0)>>>0);return}function e2a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=k[b+4>>2]|0;k[a+2988>>2]=b;c=k[b+28>>2]|0;k[a+2980>>2]=c;k[a+4>>2]=k[b+44>>2];k[a+8>>2]=k[b+48>>2];k[a+12>>2]=k[b+1616>>2];k[a+16>>2]=k[b+1620>>2];g=k[b+24>>2]|0;e=(g|0)==2|(g|0)==4?(g|1|0)==3|2:(g|1|0)==3&1;e=(g|0)==1?e:e|4;e=(g|0)==2?e|8:e;if((g|0)==1)f=3;else if(k[d+12>>2]&1)f=3;if((f|0)==3)c=c|1;k[a+2980>>2]=(i[(k[(k[b+36>>2]|0)+212>>2]|0)+20>>0]|0)==0?c|8:c;k[a+2984>>2]=e;return 0}function f2a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;z=r;r=r+80|0;d=Y1a(a,b)|0;if(d|0){b=d;r=z;return b|0}d=k[a+2980>>2]|0;do if(((d&8|0)==0?(k[c+24>>2]|0)==1:0)|(d&1|0)==0){d=g2a(a,k[c+52>>2]|0,c+56|0,0)|0;if(!d){x=a+2980|0;d=k[a+2980>>2]|0;break}else{b=d;r=z;return b|0}}else x=a+2980|0;while(0);if(!(d&2)){d=g2a(a,k[c+1624>>2]|0,c+1628|0,1)|0;if(d|0){b=d;r=z;return b|0}q=k[a+1532>>2]|0;s=k[a+1524>>2]|0;t=k[c+1616>>2]|0;if((s|0)>0){v=q;do{f=U2a(((k[c+40>>2]|0)>>>0)/40|0,t)|0;if(k[c+1832>>2]|0){o=v+13|0;u=v+12|0;p=0;e=0;d=0;f=(f|0)>32?32:f;do{h=c+1836+(p*28|0)|0;n=k[c+1836+(p*28|0)+24>>2]|0;if(n&1)if(!((n>>>2&1|0)==0&((n&2|0)!=0^(i[o>>0]|0)==(k[a+1536>>2]|0)^1))){w=(j[v>>1]|0)-(k[h>>2]|0)|0;w=U2a((w|0)<0?0-w|0:w,t)|0;g=(w|0)<(f|0);f=g?w:f;d=g?n>>>2&1:d;e=g?h:e;if(!((n>>>2&1)<<24>>24!=0|((w|0)==0|(i[u>>0]&1)==0))){g=j[v>>1]|0;if((n&2|0)!=0^(g|0)<(k[h>>2]|0)){n=c+1836+(p*28|0)+12|0;w=g-(k[n>>2]|0)|0;w=U2a((w|0)<0?0-w|0:w,t)|0;e=(w|0)<(f|0)?n:e;d=(w|0)<(f|0)?0:d;f=(w|0)<(f|0)?w:f}}}p=p+1|0}while(p>>>0<(k[c+1832>>2]|0)>>>0);if(e|0){k[v+20>>2]=e;if(d<<24>>24)i[u>>0]=l[u>>0]|8}}v=v+48|0}while(v>>>0<(q+(s*48|0)|0)>>>0)}}w=0;a:while(1){v=(w|0)==0;do if(v){d=k[x>>2]|0;if(!((d&8|0)==0?(k[c+24>>2]|0)==1:0))if(!(d&1)){y=30;break}else{w=1;continue a}i2a(z+8|0,a,0,z+4|0,z);e=k[z+4>>2]|0;d=k[z>>2]|0;f=k[a+24>>2]|0;g=k[a+28>>2]|0;if((f|0)>0){h=g;do{v=(U2a(j[h+12>>1]|0,e)|0)+d|0;k[h+16>>2]=v;h=h+40|0}while(h>>>0<(g+(f*40|0)|0)>>>0)}}else if((w|0)==1)if(!(k[x>>2]&2))y=30;else break a;while(0);if((y|0)==30){y=0;t=k[a+44+(w*1468|0)+20>>2]|0;u=k[a+44+(w*1468|0)+12>>2]|0;if((w|0)==1&(u|0)>0){d=0;p=t;do{f=p+12|0;h=l[f>>0]|0;do if(!(h&4)){g=k[p+24>>2]|0;n=p+20|0;e=k[n>>2]|0;do if((g|0)!=0&(e|0)!=0)if(k[g+20>>2]|0){o=i[g+12>>0]|0;if(o&8){k[g+20>>2]=0;i[g+12>>0]=o&247;e=k[n>>2]|0;break}if(h&8){k[n>>2]=0;i[f>>0]=h&247;e=0}}while(0);f=(e|0)!=0;if(f|(g|0)!=0^1)if(f)h=p;else break;else{e=k[g+20>>2]|0;if(!e)break;else{h=g;g=p}}e=k[e+8>>2]|0;k[h+8>>2]=e;s=h+12|0;f=l[s>>0]|4;i[s>>0]=f;if(g|0)if(!(k[g+20>>2]|0)){s=g+12|0;q=l[s>>0]|0;o=(j2a(a,1,(k[g+4>>2]|0)-(k[h+4>>2]|0)|0,f,q)|0)+e|0;k[g+8>>2]=o;i[s>>0]=q|4}d=(d|0)==0?p:d}while(0);p=p+48|0}while(p>>>0<(t+(u*48|0)|0)>>>0)}else d=0;if((u|0)>0){q=t;p=0;while(1){h=q+12|0;n=l[h>>0]|0;do if(!(n&4)){o=k[q+24>>2]|0;if(!o){e=p+1|0;break}if(k[o+20>>2]|0){e=k[o+8>>2]|0;e=(j2a(a,w,(k[q+4>>2]|0)-(k[o+4>>2]|0)|0,l[o+12>>0]|0,n)|0)+e|0;k[q+8>>2]=e;i[h>>0]=n|4;e=p;break}if(!d){f=k[q+4>>2]|0;g=(k[o+4>>2]|0)-f|0;d=j2a(a,w,g,n,l[o+12>>0]|0)|0;if((d|0)<96){s=((g>>1)+f+32&-64)-((d|0)<65?32:38)|0;e=(g>>1)+f+32&-64|((d|0)<65?32:26);e=(((((g>>1)+f-s|0)<0?0-((g>>1)+f-s)|0:(g>>1)+f-s|0)|0)<((((g>>1)+f-e|0)<0?0-((g>>1)+f-e)|0:(g>>1)+f-e|0)|0)?s:e)-((d|0)/2|0)|0;s=q+8|0;k[s>>2]=e;k[o+8>>2]=e+d;e=o+8|0;d=k[s>>2]|0}else{k[q+8>>2]=f+32&-64;e=o+8|0;d=f+32&-64}i[h>>0]=n|4;d=(j2a(a,w,g,n|4,l[o+12>>0]|0)|0)+d|0;k[e>>2]=d;d=q;e=p;break}f=k[q+4>>2]|0;e=f-(k[d+4>>2]|0)+(k[d+8>>2]|0)|0;f=(k[o+4>>2]|0)-f|0;s=l[o+12>>0]|0;g=j2a(a,w,f,n,s)|0;do if(!(s&4))if((g|0)<96){A=((f>>1)+e+32&-64)-((g|0)<65?32:38)|0;s=(f>>1)+e+32&-64|((g|0)<65?32:26);s=((((f>>1)+e-A|0)<0?0-((f>>1)+e-A)|0:(f>>1)+e-A|0)|0)<((((f>>1)+e-s|0)<0?0-((f>>1)+e-s)|0:(f>>1)+e-s|0)|0)?A:s;k[q+8>>2]=s-((g|0)/2|0);k[o+8>>2]=s+((g|0)/2|0);break}else{s=(e+32&-64)+(g>>1)-((f>>1)+e)|0;A=(f+32+e&-64)-g+((g>>1)-((f>>1)+e))|0;A=(((s|0)<0?0-s|0:s)|0)<(((A|0)<0?0-A|0:A)|0)?e+32&-64:(f+32+e&-64)-g|0;k[q+8>>2]=A;k[o+8>>2]=A+g;break}else k[q+8>>2]=(k[o+8>>2]|0)-g;while(0);i[h>>0]=n|4;i[o+12>>0]=l[o+12>>0]|4;if(q>>>0>t>>>0){e=q+8|0;f=k[q+-40>>2]|0;if((k[e>>2]|0)<(f|0)){k[e>>2]=f;e=p}else e=p}else e=p}else e=p;while(0);q=q+48|0;if(q>>>0>=(t+(u*48|0)|0)>>>0){h=e;break}else p=e}}else h=0;b:do if(v){switch(u*48|0){case 288:{e=t;f=t+96|0;g=t+192|0;break}case 576:{e=t+48|0;f=t+240|0;g=t+432|0;break}default:break b}A=k[f+4>>2]|0;A=A-(k[g+4>>2]|0)+(A-(k[e+4>>2]|0))|0;if((((A|0)<0?0-A|0:A)|0)<8){A=g+8|0;f=(k[f+8>>2]<<1)-(k[e+8>>2]|0)|0;e=(k[A>>2]|0)-f|0;k[A>>2]=f;f=k[g+24>>2]|0;if(f|0)k[f+8>>2]=(k[f+8>>2]|0)-e;if((u*48|0)==576){k[t+392>>2]=(k[t+392>>2]|0)-e;k[t+536>>2]=(k[t+536>>2]|0)-e}A=g+12|0;i[A>>0]=l[A>>0]|4;if(f|0)i[f+12>>0]=l[f+12>>0]|4}}while(0);if((u|0)>0&((d|0)==0|(h|0)!=0)){s=t;while(1){q=s+12|0;p=i[q>>0]|0;if(!(p&4)){e=k[s+28>>2]|0;if(!e)y=83;else{f=k[e+4>>2]|0;g=k[s+4>>2]|0;if((((f-g|0)<0?0-(f-g)|0:f-g|0)|0)<80){g=(k[e+8>>2]|0)-f+g|0;k[s+8>>2]=g;e=p}else y=83}do if((y|0)==83){y=0;if(!d){g=(k[s+4>>2]|0)+32&-64;k[s+8>>2]=g;e=p;d=s;break}else f=s;while(1){e=f+-48|0;if(e>>>0>>0){n=0;break}if(!(i[f+-36>>0]&4))f=e;else{n=1;break}}g=s;while(1){h=g+48|0;if(h>>>0>=(t+(u*48|0)|0)>>>0)break;if(!(i[g+60>>0]&4))g=h;else{o=g;y=90;break}}if((y|0)==90){y=0;if(e>>>0>>0&n&h>>>0>s>>>0){e=k[o+52>>2]|0;h=k[f+-44>>2]|0;g=k[f+-40>>2]|0;if((e|0)==(h|0)){k[s+8>>2]=g;e=p;break}else{g=(S2a((k[s+4>>2]|0)-h|0,(k[o+56>>2]|0)-g|0,e-h|0)|0)+g|0;k[s+8>>2]=g;e=i[q>>0]|0;break}}}g=((k[s+4>>2]|0)+16-(k[d+4>>2]|0)&-32)+(k[d+8>>2]|0)|0;k[s+8>>2]=g;e=p}while(0);i[q>>0]=e&255|4;if(s>>>0>t>>>0){e=k[s+-40>>2]|0;if((g|0)<(e|0)){k[s+8>>2]=e;g=e}}e=s+48|0;if(e>>>0<(t+(u*48|0)|0)>>>0)if(i[s+60>>0]&4){f=k[s+56>>2]|0;if((g|0)>(f|0))k[s+8>>2]=f}}else e=s+48|0;if(e>>>0<(t+(u*48|0)|0)>>>0)s=e;else break}}h=k[a+44+(w*1468|0)+8>>2]|0;n=k[a+44+(w*1468|0)>>2]|0;if(v){if((n|0)>0){g=h;do{d=k[g+12>>2]|0;if(d|0){f=k[g+44>>2]|0;e=k[d+8>>2]|0;d=g+40|0;while(1){d=k[d>>2]|0;k[d+16>>2]=e;j[d>>1]=m[d>>1]|4;if((d|0)==(f|0))break;else d=d+32|0}}g=g+48|0}while(g>>>0<(h+(n*48|0)|0)>>>0)}}else if((n|0)>0){g=h;do{d=k[g+12>>2]|0;if(d|0){f=k[g+44>>2]|0;e=k[d+8>>2]|0;d=g+40|0;while(1){d=k[d>>2]|0;k[d+20>>2]=e;j[d>>1]=m[d>>1]|8;if((d|0)==(f|0))break;else d=d+32|0}}g=g+48|0}while(g>>>0<(h+(n*48|0)|0)>>>0)}k2a(a,w);l2a(a,w)}w=w+1|0;if((w|0)==2)break}n=k[a+24>>2]|0;f=k[a+28>>2]|0;if((n|0)<=0){A=0;r=z;return A|0}g=f;h=k[b+8>>2]|0;e=k[b+4>>2]|0;while(1){k[e>>2]=k[g+16>>2];k[e+4>>2]=k[g+20>>2];d=m[g>>1]|0;do if(!(d&1))if(!(d&2)){i[h>>0]=1;break}else{i[h>>0]=2;break}else i[h>>0]=0;while(0);g=g+40|0;if(g>>>0>=(f+(n*40|0)|0)>>>0){d=0;break}else{h=h+1|0;e=e+8|0}}r=z;return d|0}function g2a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0;w=r;r=r+16|0;e=_1a(a,d)|0;if(e|0){v=e;r=w;return v|0}$1a(a,b,c,d);q=k[a>>2]|0;e=k[a+2988>>2]|0;s=k[a+44+(d*1468|0)+8>>2]|0;t=k[a+44+(d*1468|0)>>2]|0;k[a+44+(d*1468|0)+12>>2]=0;p=k[((d|0)==0?a+4|0:a+12|0)>>2]|0;if(!d)u=V2a(64,k[a+12>>2]|0)|0;else u=0;m=U2a(k[e+44+(d*1572|0)+204>>2]|0,p)|0;m=V2a((m|0)>16?16:m,p)|0;a:do if((t|0)>0){n=u*3|0;o=s;b:while(1){e=j[o+8>>1]|0;c:do if((e|0)>=(u|0))if(!((e<<1|0)<(n|0)&(k[o+24>>2]|0)!=0)){b=k[a+44+(d*1468|0)+12>>2]|0;d:do if((b|0)>0){f=k[a+44+(d*1468|0)+20>>2]|0;c=o+2|0;h=j[c>>1]|0;g=o+1|0;e=0;while(1){x=(h<<16>>16)-(j[f+(e*48|0)>>1]|0)|0;if((((x|0)<0?0-x|0:x)|0)<(m|0))if((i[f+(e*48|0)+13>>0]|0)==(i[g>>0]|0))break;e=e+1|0;if((e|0)>=(b|0)){f=c;e=h;break d}}k[o+16>>2]=k[f+(e*48|0)+40>>2];k[(k[f+(e*48|0)+44>>2]|0)+16>>2]=o;k[f+(e*48|0)+44>>2]=o;break c}else{e=o+2|0;f=e;g=o+1|0;e=j[e>>1]|0}while(0);e=h2a(a+44+(d*1468|0)|0,e<<16>>16,i[g>>0]|0,q,w)|0;if(e|0)break b;e=k[w>>2]|0;b=e;c=b+40|0;do{k[b>>2]=0;b=b+4|0}while((b|0)<(c|0));k[e+40>>2]=o;k[e+44>>2]=o;i[e+13>>0]=i[g>>0]|0;x=j[f>>1]|0;j[e>>1]=x;x=U2a(x<<16>>16,p)|0;k[e+4>>2]=x;k[e+8>>2]=x;k[o+16>>2]=o}while(0);o=o+48|0;if(o>>>0>=(s+(t*48|0)|0)>>>0){e=a+44+(d*1468|0)+20|0;break a}}x=e;r=w;return x|0}else e=a+44+(d*1468|0)+20|0;while(0);u=k[e>>2]|0;t=k[a+44+(d*1468|0)+12>>2]|0;if((t|0)>0)b=u;else{x=0;r=w;return x|0}do{e=k[b+40>>2]|0;if(e|0){c=e;do{k[c+12>>2]=b;c=k[c+16>>2]|0}while((c|0)!=(e|0))}b=b+48|0}while(b>>>0<(u+(t*48|0)|0)>>>0);q=u;do{n=k[q+40>>2]|0;o=q+24|0;p=q+28|0;e=0;b=0;s=n;while(1){h=k[s>>2]|0;m=(h&1)+e|0;b=(h&1^1)+b|0;f=s+24|0;e=k[f>>2]|0;if(!e)g=0;else{g=k[e+12>>2]|0;g=(g|0)!=(q|0)&(g|0)!=0}e=s+20|0;c=k[e>>2]|0;if(!c){if(g)v=30}else if(g|(k[c+12>>2]|0)!=0)v=30;do if((v|0)==30){v=0;c=k[(g?f:e)>>2]|0;e=k[(g?p:o)>>2]|0;if(!e)e=k[c+12>>2]|0;else{x=(j[q>>1]|0)-(j[e>>1]|0)|0;a=(h>>16)-(j[c+2>>1]|0)|0;if((((a|0)<0?0-a|0:a)|0)<(((x|0)<0?0-x|0:x)|0))e=k[c+12>>2]|0}if(g){k[p>>2]=e;x=e+12|0;i[x>>0]=l[x>>0]|2;break}else{k[o>>2]=e;break}}while(0);s=k[s+16>>2]|0;if((s|0)==(n|0))break;else e=m}i[q+12>>0]=((m|0)<1|(m|0)<(b|0))&1^1;if(k[p>>2]|0)if(k[o>>2]|0)k[p>>2]=0;q=q+48|0}while(q>>>0<(u+(t*48|0)|0)>>>0);e=0;r=w;return e|0}function h2a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,l=0;l=r;r=r+16|0;k[l>>2]=0;g=k[a+12>>2]|0;do if((g|0)<12)if(!(k[a+20>>2]|0)){k[a+20>>2]=a+892;k[a+16>>2]=12;f=a+20|0;h=13}else{f=a+20|0;h=13}else{f=k[a+16>>2]|0;if((g|0)<(f|0)){f=k[a+20>>2]|0;d=f;f=f+(g*48|0)|0;h=14;break}if((f|0)>44739241){k[l>>2]=64;a=64;b=0;k[e>>2]=b;r=l;return a|0}i=(f>>2|0)<-4|(f+4+(f>>2)|0)>44739242?44739242:f+4+(f>>2)|0;h=k[a+20>>2]|0;do if((h|0)==(a+892|0)){f=WTa(d,48,0,i,0,l)|0;k[a+20>>2]=f;g=k[l>>2]|0;if(!g){ABb(f|0,h|0,576)|0;break}else{a=g;b=0;k[e>>2]=b;r=l;return a|0}}else{f=WTa(d,48,f,i,h,l)|0;k[a+20>>2]=f;f=k[l>>2]|0;if(f|0){a=f;b=0;k[e>>2]=b;r=l;return a|0}}while(0);k[a+16>>2]=i;f=a+20|0;g=k[a+12>>2]|0;h=13}while(0);if((h|0)==13){d=k[f>>2]|0;f=d+(g*48|0)|0;if((g|0)>0)h=14}if((h|0)==14){h=f;while(1){f=h+-48|0;g=j[f>>1]|0;if((g|0)<(b|0)){f=h;break}if((g|0)==(b|0))if((k[a+24>>2]|0)==(c|0)){f=h;break}g=f;i=h+48|0;do{k[h>>2]=k[g>>2];h=h+4|0;g=g+4|0}while((h|0)<(i|0));if(f>>>0>d>>>0)h=f;else break}g=k[a+12>>2]|0}k[a+12>>2]=g+1;a=0;b=f;k[e>>2]=b;r=l;return a|0}function i2a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;y=r;r=r+272|0;w=k[((c|0)==1?b+12|0:b+4|0)>>2]|0;l=k[((c|0)==1?b+16|0:b+8|0)>>2]|0;k[a+44>>2]=w;k[a+48>>2]=l;k[a+52>>2]=-2147483648;k[a+56>>2]=0;v=k[b+44+(c*1468|0)+8>>2]|0;u=k[b+44+(c*1468|0)>>2]|0;h=k[b+28>>2]|0;i=k[b+24>>2]|0;k[d>>2]=w;k[e>>2]=l;if((u|0)<1){r=y;return}c=j[h+12>>1]|0;if((i|0)>1){f=c;g=1}else{r=y;return}while(1){t=j[h+(g*40|0)+12>>1]|0;s=(t|0)<(f|0)?t:f;t=(t|0)>(c|0)?t:c;g=g+1|0;if((g|0)==(i|0))break;else{f=s;c=t}}if((t|0)<=(s|0)){r=y;return}h=(U2a(s,w)|0)+l|0;k[a>>2]=h;h=(U2a(t,w)|0)+l|0;k[a+4>>2]=h;i=k[a>>2]|0;k[a+8>>2]=i&-64;k[a+12>>2]=h+63&-64;k[a+16>>2]=i&-32;k[a+20>>2]=(i&-32)+32;k[a+24>>2]=h&-32;k[a+28>>2]=(h&-32)+32;if(((i&-32)+32|0)>(h|0)){k[a+20>>2]=h;f=h}else f=(i&-32)+32|0;if((h&-32|0)<(i|0)){k[a+24>>2]=i;c=i}else c=h&-32;k[a+32>>2]=h-i;if((h-i|0)<65){k[a+20>>2]=i;k[a+24>>2]=h;c=h;f=i}f=c-f|0;k[a+36>>2]=f;c=(h&-32)+32-(i&-32)|0;k[a+40>>2]=c;g=(h-i|0)<129?((h-i|0)<97?4:8):16;if((f|0)<(h-i-g|0)){k[a+36>>2]=h-i-g;f=h-i-g|0}if((c|0)>(h-i+g|0)){k[a+40>>2]=h-i+g;c=h-i+g|0}if((f|0)<(((h-i|0)*3|0)/4|0|0)){k[a+36>>2]=((h-i|0)*3|0)/4|0;f=((h-i|0)*3|0)/4|0}if((c|0)>(((h-i|0)*5|0)/4|0|0)){k[a+40>>2]=((h-i|0)*5|0)/4|0;c=((h-i|0)*5|0)/4|0}a:do if((f|0)<=(c|0)){l=h-i|0;while(1){g=l-f+i|0;if((l|0)>(f|0)){c=k[a+20>>2]|0;if((c|0)<(g|0)){m=c;c=h-g+c|0}else{m=g;c=h}}else{c=k[a+16>>2]|0;if((c|0)>(g|0)){m=c;c=h-g+c|0}else{m=g;c=h}}q=(((c|0)<(h|0)?h-c|0:c-h|0)+((m|0)<(i|0)?i-m|0:m-i|0)|0)*10|0;n=(V2a(f-l|0,t-s|0)|0)+w|0;o=m-(U2a(s,n)|0)|0;vBb(y|0,0,260)|0;l=k[a+8>>2]|0;p=m-l|0;i=k[a+16>>2]|0;h=c-m|0;c=k[a+24>>2]|0;m=k[a+20>>2]|0;g=k[a+28>>2]|0;i=((i+h|0)<(c|0)?c-h|0:i)-l|0;m=((m+h|0)>(g|0)?g-h|0:m)-l|0;if((i|0)>=0)if(!((i|0)>(m|0)|(m|0)>64)){if((u|0)>0){h=0;do{c=(j[v+(h*48|0)+6>>1]|0)-(j[v+(h*48|0)+4>>1]|0)|0;g=i;l=o-p+i+(U2a(j[v+(h*48|0)+2>>1]|0,n)|0)|0;while(1){A=ha(k[60588+((l&63)<<2)>>2]|0,c)|0;z=y+(g<<2)|0;k[z>>2]=(k[z>>2]|0)+A;if((g|0)<(m|0)){g=g+1|0;l=l+1|0}else break}h=h+1|0}while((h|0)!=(u|0))}h=k[a+52>>2]|0;while(1){c=k[y+(i<<2)>>2]|0;g=i-p|0;do if((c|0)>(h|0))x=37;else{if((c|0)!=(h|0)){c=h;break}if((g+q|0)<(k[a+56>>2]|0))x=37;else c=h}while(0);if((x|0)==37){x=0;k[a+52>>2]=c;k[a+56>>2]=g+q;k[a+44>>2]=n;k[a+48>>2]=g+o}if((i|0)<(m|0)){h=c;i=i+1|0}else break}}if((f|0)>=(k[a+40>>2]|0))break a;l=k[a+32>>2]|0;i=k[a>>2]|0;h=k[a+4>>2]|0;f=f+1|0}}while(0);z=k[a+44>>2]|0;A=k[a+48>>2]|0;x=(U2a(s,z-w|0)|0)+A|0;k[b+2992>>2]=x;x=(U2a(t,z-w|0)|0)+A|0;k[b+2996>>2]=x;k[d>>2]=z;k[e>>2]=A;r=y;return}function j2a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0;j=k[a+2988>>2]|0;l=k[a+2984>>2]|0;if(!(l&4))return c|0;if(i[j+44+(b*1572|0)+212>>0]|0)return c|0;m=(c|0)<0?0-c|0:c;if((b|0)==1)if(!(l&2))if((m|0)<192&(e&2|0)!=0)a=m;else n=7;else n=16;else if(!(l&1))n=7;else n=16;do if((n|0)==7){d=(d&1|0)==0?((m|0)<56?56:m):(m|0)<80?64:m;if(!(k[j+44+(b*1572|0)+8>>2]|0))a=d;else{a=k[j+44+(b*1572|0)+16>>2]|0;if((((d-a|0)<0?0-(d-a)|0:d-a|0)|0)<40){a=(a|0)<48?48:a;break}if((d|0)>=192){a=d+32&-64;break}if((d&63)>>>0<10)a=d;else if((d&63)>>>0<32){a=d&-64|10;break}else{a=(d&63)>>>0<54?d&-64|54:d;break}}}else if((n|0)==16){e=k[j+44+(b*1572|0)+8>>2]|0;if(!e){d=m+32&-64;a=m;n=20}else{g=98;h=0;a=m;while(1){o=k[j+44+(b*1572|0)+12+(h*12|0)+4>>2]|0;d=(m-o|0)<0?0-(m-o)|0:m-o|0;f=(d|0)<(g|0);a=f?o:a;h=h+1|0;if((h|0)==(e|0))break;else g=f?d:g}if((a|0)>(m|0))a=((a+32&-64)+-48|0)<(m|0)?a:m;else{d=a+32&-64;n=20}}if((n|0)==20)a=(d|48|0)>(m|0)?a:m;if((b|0)==1){if((a|0)<=63){a=64;break}a=a+16&-64;break}if(l&8|0){if((a|0)<64){a=64;break}a=a+32&-64;break}if((a|0)<48){a=a+64>>1;break}if((a|0)>=128){a=a+32&-64;break}a=a+22&-64;if((((a-m|0)<0?0-(a-m)|0:a-m|0)|0)>15)if((m|0)<48)a=m+64>>1;else a=m}while(0);o=(c|0)>-1?a:0-a|0;return o|0}function k2a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,n=0,o=0;l=k[a+28>>2]|0;n=k[a+24>>2]|0;o=k[a+44+(b*1468|0)+20>>2]|0;h=k[a+44+(b*1468|0)+12>>2]|0;g=(b|0)==0?4:8;if(!((h|0)>0&(n|0)>0))return;i=l;do{if(!(m[i>>1]&(g|16))){if((b|0)==1){a=i+8|0;f=j[i+14>>1]|0}else{a=i+4|0;f=j[i+12>>1]|0}a=k[a>>2]|0;c=j[o>>1]|0;a:do if((c<<16>>16|0)<(f|0)){if((f|0)>=(j[o+(h*48|0)+-48>>1]|0)){a=(k[o+(h*48|0)+-48+8>>2]|0)+a-(k[o+(h*48|0)+-48+4>>2]|0)|0;break}b:do if((h*48|0)<432){if((h*48|0)>0&(c<<16>>16|0)<(f|0)){a=0;do{a=a+1|0;c=j[o+(a*48|0)>>1]|0}while((c<<16>>16|0)<(f|0)?(a|0)<((h*48|0)/48|0|0):0)}else a=0;if((c<<16>>16|0)==(f|0)){a=k[o+(a*48|0)+8>>2]|0;break a}}else{c=(h*48|0)/48|0;a=0;while(1){while(1){if((a|0)>=(c|0))break b;e=c+a>>1;d=j[o+(e*48|0)>>1]|0;if((f|0)<(d|0))c=e;else{a=c;break}}if((f|0)<=(d|0))break;c=a;a=e+1|0}a=k[o+(e*48|0)+8>>2]|0;break a}while(0);c=o+(a*48|0)|0;e=k[c+-48+16>>2]|0;if(!e){a=V2a((k[o+(a*48|0)+8>>2]|0)-(k[c+-48+8>>2]|0)|0,(j[c>>1]|0)-(j[c+-48>>1]|0)|0)|0;k[c+-48+16>>2]=a;d=c+-48|0;c=c+-48+8|0}else{d=c+-48|0;c=c+-48+8|0;a=e}e=k[c>>2]|0;a=(U2a(f-(j[d>>1]|0)|0,a)|0)+e|0}else a=(k[o+8>>2]|0)+a-(k[o+4>>2]|0)|0;while(0);if(!b)k[i+16>>2]=a;else k[i+20>>2]=a;j[i>>1]=m[i>>1]|g}i=i+40|0}while(i>>>0<(l+(n*40|0)|0)>>>0);return}function l2a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;s=k[a+28>>2]|0;t=k[a+24>>2]|0;r=k[a+40>>2]|0;q=k[a+36>>2]|0;if(!b)if((t|0)>0){a=s;do{k[a+24>>2]=k[a+16>>2];k[a+28>>2]=k[a+4>>2];a=a+40|0}while(a>>>0<(s+(t*40|0)|0)>>>0);p=4}else p=4;else if((t|0)>0){a=s;do{k[a+24>>2]=k[a+20>>2];k[a+28>>2]=k[a+8>>2];a=a+40|0}while(a>>>0<(s+(t*40|0)|0)>>>0);p=8}else p=8;if((q|0)>0){o=r;while(1){c=k[o>>2]|0;n=k[c+36>>2]|0;a:do if(c>>>0<=n>>>0){a=c;while(1){if((m[a>>1]|0)&p|0)break;a=a+40|0;if(a>>>0>n>>>0)break a}h=a;b:while(1){g=h>>>0>>0;if(g){d=h+40|0;if((m[h+40>>1]|0)&p){h=d;continue}}else d=h+40|0;e=d>>>0>n>>>0;if(e){f=g;break}else f=d;while(1){if((m[f>>1]|0)&p|0)break;f=f+40|0;if(f>>>0>n>>>0){f=g;break b}}if(d>>>0>(f+-40|0)>>>0){h=f;continue}j=(k[h+28>>2]|0)>(k[f+28>>2]|0);l=j?h:f;j=j?f:h;h=k[j+28>>2]|0;i=k[l+28>>2]|0;j=k[j+24>>2]|0;l=k[l+24>>2]|0;if((i|0)==(h|0)|(l|0)==(j|0))while(1){e=k[d+28>>2]|0;if((e|0)>(h|0))e=(e|0)<(i|0)?j:e+(l-i)|0;else e=e+(j-h)|0;k[d+24>>2]=e;d=d+40|0;if(d>>>0>(f+-40|0)>>>0){h=f;continue b}}g=V2a(l-j|0,i-h|0)|0;while(1){e=k[d+28>>2]|0;do if((e|0)>(h|0))if((e|0)<(i|0)){e=(U2a(e-h|0,g)|0)+j|0;break}else{e=e+(l-i)|0;break}else e=e+(j-h)|0;while(0);k[d+24>>2]=e;d=d+40|0;if(d>>>0>(f+-40|0)>>>0){h=f;continue b}}}if((h|0)==(a|0)){e=k[a+24>>2]|0;d=k[a+28>>2]|0;if((e|0)==(d|0))break;if(c>>>0>>0)do{k[c+24>>2]=(k[c+28>>2]|0)+(e-d);c=c+40|0}while(c>>>0>>0);if((a+40|0)>>>0>n>>>0)break;else c=a+40|0;while(1){k[a+64>>2]=(k[a+68>>2]|0)+(e-d);a=c+40|0;if(a>>>0>n>>>0)break a;else{l=c;c=a;a=l}}}c:do if(!(e|f^1)){j=(k[h+28>>2]|0)>(k[a+28>>2]|0);l=j?h:a;j=j?a:h;g=k[j+28>>2]|0;i=k[l+28>>2]|0;j=k[j+24>>2]|0;l=k[l+24>>2]|0;if((i|0)==(g|0)|(l|0)==(j|0))while(1){e=k[d+28>>2]|0;if((e|0)>(g|0))e=(e|0)<(i|0)?j:e+(l-i)|0;else e=e+(j-g)|0;k[d+24>>2]=e;d=d+40|0;if(d>>>0>n>>>0)break c}f=V2a(l-j|0,i-g|0)|0;do{e=k[d+28>>2]|0;do if((e|0)>(g|0))if((e|0)<(i|0)){e=(U2a(e-g|0,f)|0)+j|0;break}else{e=e+(l-i)|0;break}else e=e+(j-g)|0;while(0);k[d+24>>2]=e;d=d+40|0}while(d>>>0<=n>>>0)}while(0);if(a>>>0>s>>>0)if(c>>>0<=(a+-40|0)>>>0){f=(k[h+28>>2]|0)>(k[a+28>>2]|0);i=f?h:a;h=f?a:h;f=k[h+28>>2]|0;g=k[i+28>>2]|0;h=k[h+24>>2]|0;i=k[i+24>>2]|0;if((g|0)==(f|0)|(i|0)==(h|0))while(1){d=k[c+28>>2]|0;if((d|0)>(f|0))d=(d|0)<(g|0)?h:d+(i-g)|0;else d=d+(h-f)|0;k[c+24>>2]=d;c=c+40|0;if(c>>>0>(a+-40|0)>>>0)break a}e=V2a(i-h|0,g-f|0)|0;do{d=k[c+28>>2]|0;do if((d|0)>(f|0))if((d|0)<(g|0)){d=(U2a(d-f|0,e)|0)+h|0;break}else{d=d+(i-g)|0;break}else d=d+(h-f)|0;while(0);k[c+24>>2]=d;c=c+40|0}while(c>>>0<=(a+-40|0)>>>0)}}while(0);o=o+4|0;if(o>>>0>=(r+(q<<2)|0)>>>0)break}}if(!b){if((t|0)>0)a=s;else return;do{k[a+16>>2]=k[a+24>>2];a=a+40|0}while(a>>>0<(s+(t*40|0)|0)>>>0);return}else{if((t|0)>0)a=s;else return;do{k[a+20>>2]=k[a+24>>2];a=a+40|0}while(a>>>0<(s+(t*40|0)|0)>>>0);return}}function m2a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=r;r=r+416|0;z=k[b+92>>2]|0;k[a+40>>2]=m[b+68>>1];if(BSa(b,1970170211)|0){CSa(b,z)|0;r=B;return 0}n2a(a,b);d=57772+(k[(k[a>>2]|0)+12>>2]<<3)|0;c=k[d>>2]|0;if((c|0)!=759)do{e=592039+c|0;x=d+4|0;y=(j[x>>1]&2)==0?a+1616|0:a+44|0;c=i[e>>0]|0;a:do if(!(c<<24>>24)){f=0;s=0}else{h=1;f=0;s=0;while(1){w=f;while(1){b:while(1){while(1){e=e+1|0;f=c&255;if(c<<24>>24<0){do if((c&255)<224){f=f&31;n=1}else if((c&255)<240){f=f&15;n=2;break}else{f=f&7;n=3;break}while(0);c=n;g=e;while(1){f=l[g>>0]&63|f<<6;c=c+-1|0;if(!c)break;else g=g+1|0}e=e+n|0}if((f|0)==124)break;c=eSa(k[k[a+36>>2]>>2]|0,f)|0;if(c|0){v=cSa(b,c,1)|0;c=k[b+84>>2]|0;if(!v)if((j[c+110>>1]|0)>=1)break b}c=i[e>>0]|0;if(!(c<<24>>24)){f=w;break a}}c=i[e>>0]|0;if(!(c<<24>>24)){f=w;break a}else h=0}u=j[c+108>>1]|0;v=k[c+112>>2]|0;p=k[c+120>>2]|0;if(u<<16>>16>0){f=-1;c=0;o=0;t=0;while(1){q=j[p+(t<<1)>>1]|0;do if((q|0)>(o|0)){g=m[x>>1]|0;n=(o|0)>(q|0);if(!(g&2))if(g&1|0){if(n)break;else g=o;while(1){n=k[v+(g<<3)+4>>2]|0;o=(f|0)<0|(n|0)>(c|0);c=o?n:c;f=o?g:f;if((g|0)<(q|0))g=g+1|0;else break}}else{if(n)break;else g=o;while(1){n=k[v+(g<<3)+4>>2]|0;o=(f|0)<0|(n|0)<(c|0);c=o?n:c;f=o?g:f;if((g|0)<(q|0))g=g+1|0;else break}}else if(g&1|0){if(n)break;else g=o;while(1){n=k[v+(g<<3)>>2]|0;o=(f|0)<0|(n|0)>(c|0);c=o?n:c;f=o?g:f;if((g|0)<(q|0))g=g+1|0;else break}}else{if(n)break;else g=o;while(1){n=k[v+(g<<3)>>2]|0;o=(f|0)<0|(n|0)<(c|0);c=o?n:c;f=o?g:f;if((g|0)<(q|0))g=g+1|0;else break}}}while(0);t=t+1|0;if((t|0)==(u<<16>>16|0))break;else o=q+1|0}}else c=0;if(!(h<<24>>24)){f=w;break}f=w+1|0;k[B+204+(w<<2)>>2]=c;c=i[e>>0]|0;if(!(c<<24>>24))break a;else w=f}g=s+1|0;k[B+(s<<2)>>2]=c;c=i[e>>0]|0;if(!(c<<24>>24)){s=g;break}else{h=0;s=g}}}while(0);q=(f|0)==0;if(f|s|0){p=(s|0)==0;if(f>>>0>1){h=1;do{c=k[B+204+(h<<2)>>2]|0;n=h;do{o=n;n=n+-1|0;e=B+204+(n<<2)|0;g=k[e>>2]|0;if((c|0)>=(g|0))break;k[B+204+(o<<2)>>2]=g;k[e>>2]=c}while((n|0)!=0);h=h+1|0}while((h|0)!=(f|0))}if(s>>>0>1){h=1;do{c=k[B+(h<<2)>>2]|0;n=h;do{o=n;n=n+-1|0;e=B+(n<<2)|0;g=k[e>>2]|0;if((c|0)>=(g|0))break;k[B+(o<<2)>>2]=g;k[e>>2]=c}while((n|0)!=0);h=h+1|0}while((h|0)!=(s|0))}g=k[y+216>>2]|0;k[y+216>>2]=g+1;do if(p){A=k[B+204+(f>>>1<<2)>>2]|0;k[y+220+(g*28|0)+12>>2]=A;k[y+220+(g*28|0)>>2]=A;A=57}else{if(q){A=k[B+(s>>>1<<2)>>2]|0;k[y+220+(g*28|0)+12>>2]=A;k[y+220+(g*28|0)>>2]=A;A=57;break}f=k[B+204+(f>>>1<<2)>>2]|0;k[y+220+(g*28|0)>>2]=f;e=k[B+(s>>>1<<2)>>2]|0;k[y+220+(g*28|0)+12>>2]=e;if((e|0)==(f|0))A=57;else{c=j[x>>1]|0;if((e|0)<(f|0)^(c&1)!=0){k[y+220+(g*28|0)+12>>2]=(e+f|0)/2|0;k[y+220+(g*28|0)>>2]=(e+f|0)/2|0}}}while(0);if((A|0)==57){A=0;c=j[x>>1]|0}k[y+220+(g*28|0)+24>>2]=(c&1)<<1}d=d+8|0;c=k[d>>2]|0}while((c|0)!=759);o2a(a,b);CSa(b,z)|0;r=B;return 0}function n2a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=r;r=r+10064|0;d=k[b+100>>2]|0;vBb(g+3192|0,0,3e3)|0;k[g+3192>>2]=d;k[a+52>>2]=0;k[a+1624>>2]=0;d=k[60496+(k[(k[a>>2]|0)+8>>2]<<2)>>2]|0;if(!a)e=3;else{c=eSa(k[k[a+36>>2]>>2]|0,k[d+8>>2]|0)|0;if(!c)e=3;else e=7}if((e|0)==3){c=k[d+12>>2]|0;if(!((c|0)==0|(a|0)==0)){c=eSa(k[k[a+36>>2]>>2]|0,c)|0;if(!c){c=k[d+16>>2]|0;if(!((a|0)==0|(c|0)==0)){c=eSa(k[k[a+36>>2]>>2]|0,c)|0;if(c|0)e=7}}else e=7}}do if((e|0)==7)if(!(cSa(b,c,1)|0)){c=k[b+84>>2]|0;if((j[c+110>>1]|0)>=1){vBb(g+4|0,0,3188)|0;k[g+4+40>>2]=k[a+40>>2];k[g+4+8>>2]=65536;k[g+4+12>>2]=65536;k[g+4+16>>2]=0;k[g+4+20>>2]=0;k[g+4+4>>2]=b;k[g+4+24>>2]=0;k[g+4+28>>2]=0;k[g+3192+2988>>2]=g+4;k[g+3192+2980>>2]=0;if(!(Y1a(g+3192|0,c+108|0)|0)){k[g>>2]=0;if(!(_1a(g+3192|0,0)|0)){$1a(g+3192|0,0,0,0);e=k[g+3192+52>>2]|0;b=k[g+3192+44>>2]|0;if((b|0)>0){c=0;f=e;do{d=k[f+20>>2]|0;if(d)if(d>>>0>f>>>0?(k[d+20>>2]|0)==(f|0):0){d=(j[f+2>>1]|0)-(j[d+2>>1]|0)|0;if(c>>>0<16){h=c+1|0;k[g>>2]=h;k[a+56+(c*12|0)>>2]=(d|0)<0?0-d|0:d;c=h}}f=f+48|0}while(f>>>0<(e+(b*48|0)|0)>>>0)}a2a(g,a+56|0,((k[g+4+40>>2]|0)>>>0)/100|0);k[a+52>>2]=k[g>>2];k[g>>2]=0;if(!(_1a(g+3192|0,1)|0)){$1a(g+3192|0,0,0,1);e=k[g+3192+1520>>2]|0;b=k[g+3192+1512>>2]|0;if((b|0)>0){c=0;f=e;do{d=k[f+20>>2]|0;if(d)if(d>>>0>f>>>0?(k[d+20>>2]|0)==(f|0):0){d=(j[f+2>>1]|0)-(j[d+2>>1]|0)|0;if(c>>>0<16){h=c+1|0;k[g>>2]=h;k[a+1628+(c*12|0)>>2]=(d|0)<0?0-d|0:d;c=h}}f=f+48|0}while(f>>>0<(e+(b*48|0)|0)>>>0)}a2a(g,a+1628|0,((k[g+4+40>>2]|0)>>>0)/100|0);k[a+1624>>2]=k[g>>2];break}}}}}while(0);if(!(k[a+52>>2]|0))c=((k[a+40>>2]|0)*50|0)/2048|0;else c=k[a+56>>2]|0;k[a+248>>2]=(c|0)/5|0;k[a+252>>2]=c;i[a+256>>0]=0;if(!(k[a+1624>>2]|0)){f=((k[a+40>>2]|0)*50|0)/2048|0;b=(f|0)/5|0;h=a+1820|0;k[h>>2]=b;h=a+1824|0;k[h>>2]=f;h=a+1828|0;i[h>>0]=0;b2a(g+3192|0);r=g;return}else{f=k[a+1628>>2]|0;b=(f|0)/5|0;h=a+1820|0;k[h>>2]=b;h=a+1824|0;k[h>>2]=f;h=a+1828|0;i[h>>0]=0;b2a(g+3192|0);r=g;return}}function o2a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=r;r=r+16|0;a:do if(!a){e=(K2a(b,0,2051,g)|0)==0;c=e?k[g>>2]|0:0;if(!(K2a(b,0,2051,g)|0)){d=k[g>>2]|0;if(e)if((d|0)==(c|0)){d=c;c=1}else{c=0;break}else c=1}else{d=c;c=e&1}if(!(K2a(b,0,2051,g)|0)){e=k[g>>2]|0;if(!(c<<24>>24)){d=e;c=1}else if((e|0)==(d|0))c=1;else{c=0;break}}if(!(K2a(b,0,2051,g)|0)){e=k[g>>2]|0;if(!(c<<24>>24)){d=e;c=1}else if((e|0)==(d|0))c=1;else{c=0;break}}if(!(K2a(b,0,2051,g)|0)){e=k[g>>2]|0;if(!(c<<24>>24)){d=e;c=1}else if((e|0)==(d|0))c=1;else{c=0;break}}if(!(K2a(b,0,2051,g)|0)){e=k[g>>2]|0;if(!(c<<24>>24)){d=e;c=1}else if((e|0)==(d|0))c=1;else{c=0;break}}if(!(K2a(b,0,2051,g)|0)){e=k[g>>2]|0;if(!(c<<24>>24)){d=e;c=1}else if((e|0)==(d|0))c=1;else{c=0;break}}if(!(K2a(b,0,2051,g)|0)){e=k[g>>2]|0;if(!(c<<24>>24)){d=e;c=1}else if((e|0)==(d|0))c=1;else{c=0;break}}if(!(K2a(b,0,2051,g)|0)){e=k[g>>2]|0;if(!(c<<24>>24)){d=e;c=1}else if((e|0)==(d|0))c=1;else{c=0;break}}c=(K2a(b,0,2051,g)|0)!=0|c<<24>>24==0;c=(c|(k[g>>2]|0)==(d|0))&1}else{f=48;e=0;d=0;while(1){c=eSa(k[k[a+36>>2]>>2]|0,f)|0;if(!c)c=e;else if(!(K2a(b,c,2051,g)|0)){c=k[g>>2]|0;if(!(d<<24>>24))d=1;else if((c|0)==(e|0))c=e;else{c=0;break a}}else c=e;f=f+1|0;if(f>>>0>=58){c=1;break}else e=c}}while(0);i[a+32>>0]=c;r=g;return}function p2a(a,b){a=a|0;b=b|0;k[a+4>>2]=k[b>>2];k[a+4+4>>2]=k[b+4>>2];k[a+4+8>>2]=k[b+8>>2];k[a+4+12>>2]=k[b+12>>2];k[a+4+16>>2]=k[b+16>>2];k[a+4+20>>2]=k[b+20>>2];k[a+4+24>>2]=k[b+24>>2];q2a(a,b,0);q2a(a,b,1);return}function q2a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0;j=k[((c|0)==0?b+4|0:b+8|0)>>2]|0;h=k[((c|0)==0?b+12|0:b+16|0)>>2]|0;if((k[a+44+(c*1572|0)+1564>>2]|0)==(j|0))if((k[a+44+(c*1572|0)+1568>>2]|0)==(h|0))return;k[a+44+(c*1572|0)+1564>>2]=j;k[a+44+(c*1572|0)+1568>>2]=h;k[a+44+(c*1572|0)>>2]=j;k[a+44+(c*1572|0)+4>>2]=h;if(!(k[a+44+(c*1572|0)+216>>2]|0))return;else i=0;do{l=a+44+(c*1572|0)+220+(i*28|0)|0;e=(U2a(k[l>>2]|0,j)|0)+h|0;b=a+44+(c*1572|0)+220+(i*28|0)+4|0;k[b>>2]=e;d=a+44+(c*1572|0)+220+(i*28|0)+8|0;k[d>>2]=e;e=a+44+(c*1572|0)+220+(i*28|0)+12|0;g=(U2a(k[e>>2]|0,j)|0)+h|0;k[a+44+(c*1572|0)+220+(i*28|0)+16>>2]=g;f=a+44+(c*1572|0)+220+(i*28|0)+20|0;k[f>>2]=g;g=a+44+(c*1572|0)+220+(i*28|0)+24|0;k[g>>2]=k[g>>2]&-2;if(((U2a((k[l>>2]|0)-(k[e>>2]|0)|0,j)|0)+48|0)>>>0<97){l=(k[b>>2]|0)+32&-64;k[d>>2]=l;l=V2a(l,j)|0;e=l-(k[e>>2]|0)|0;l=U2a((e|0)<0?0-e|0:e,j)|0;l=(l|0)<32?0:l+32&-64;k[f>>2]=(k[d>>2]|0)-((e|0)<0?0-l|0:l);k[g>>2]=k[g>>2]|1}i=i+1|0}while(i>>>0<(k[a+44+(c*1572|0)+216>>2]|0)>>>0);return}function r2a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;k[a+2988>>2]=b;e=k[b+28>>2]|0;k[a+4>>2]=k[b+44>>2];k[a+8>>2]=k[b+48>>2];k[a+12>>2]=k[b+1616>>2];k[a+16>>2]=k[b+1620>>2];d=k[b+24>>2]|0;c=(d|0)==2|(d|0)==4?(d|1|0)==3|2:(d|1|0)==3&1;c=(d|0)==1?c:c|4;k[a+2980>>2]=((i[(k[(k[b+36>>2]|0)+212>>2]|0)+20>>0]|0)==0?12:4)|e;k[a+2984>>2]=(d|0)==2?c|8:c;return 0}function s2a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=r;r=r+80|0;d=Y1a(a,b)|0;if(d|0){b=d;r=B;return b|0}d=k[a+2980>>2]|0;do if(((d&8|0)==0?(k[c+24>>2]|0)==1:0)|(d&1|0)==0){d=t2a(a,0)|0;if(!d){u2a(a,c,0);z=a+2980|0;d=k[a+2980>>2]|0;break}else{b=d;r=B;return b|0}}else z=a+2980|0;while(0);do if(!(d&2)){d=t2a(a,1)|0;if(!d){u2a(a,c,1);break}else{b=d;r=B;return b|0}}while(0);y=0;while(1){x=(y|0)==0;if(x){d=k[z>>2]|0;if(d&1|0){y=1;continue}if((d&8|0)==0?(k[c+24>>2]|0)==1:0){i2a(B+8|0,a,0,B+4|0,B);d=k[B+4>>2]|0;e=k[B>>2]|0;f=k[a+24>>2]|0;g=k[a+28>>2]|0;if((f|0)>0){h=g;do{x=(U2a(j[h+12>>1]|0,d)|0)+e|0;k[h+16>>2]=x;h=h+40|0}while(h>>>0<(g+(f*40|0)|0)>>>0)}}else A=17}else if((y|0)==1)if(!(k[z>>2]&2))A=17;else break;if((A|0)==17){A=0;t=a+44+(y*1468|0)+20|0;u=k[t>>2]|0;w=a+44+(y*1468|0)+12|0;v=k[w>>2]|0;a:do if((v|0)>0){d=0;n=u;do{e=i[n+12>>0]|0;do if(!(e&4)){f=k[n+20>>2]|0;g=k[n+24>>2]|0;if(!f){if(!g)break;f=k[g+20>>2]|0;if(!f)break;e=i[g+12>>0]|0;h=g;g=n}else h=n;f=k[f+8>>2]|0;k[h+8>>2]=f;i[h+12>>0]=e&255|4;if(g|0)if(!(k[g+20>>2]|0)){s=(v2a(a,y,(k[g+4>>2]|0)-(k[h+4>>2]|0)|0)|0)+f|0;k[g+8>>2]=s;s=g+12|0;i[s>>0]=l[s>>0]|4}d=(d|0)==0?n:d}while(0);n=n+48|0}while(n>>>0<(u+(v*48|0)|0)>>>0);if((y|0)==1){p=u;f=0;e=0;d=0;while(1){g=p+12|0;h=i[g>>0]|0;b:do if(!(h&4)){o=k[p+24>>2]|0;if(!o){d=d+1|0;break}do if(f<<24>>24){n=e+64|0;if((k[p+8>>2]|0)>=(n|0))if((k[o+8>>2]|0)>=(n|0))break;d=d+1|0;break b}while(0);if(k[o+20>>2]|0){s=k[o+8>>2]|0;s=(v2a(a,1,(k[p+4>>2]|0)-(k[o+4>>2]|0)|0)|0)+s|0;k[p+8>>2]=s;i[g>>0]=h&255|4;break}if(o>>>0

>>0){e=k[o+8>>2]|0;e=(v2a(a,1,(k[p+4>>2]|0)-(k[o+4>>2]|0)|0)|0)+e|0;k[p+8>>2]=e;i[g>>0]=h&255|4;f=1;break}else{w2a(a,p,o,0,1)|0;i[g>>0]=l[g>>0]|4;i[o+12>>0]=l[o+12>>0]|4;f=1;e=k[o+8>>2]|0;break}}while(0);p=p+48|0;if(p>>>0>=(u+(v*48|0)|0)>>>0)break a}}else{e=0;s=u;o=0;p=0;q=0}while(1){h=s+12|0;f=i[h>>0]|0;c:do if(!(f&4)){n=k[s+24>>2]|0;if(!n){h=o;f=p;g=q+1|0;break}do if(o<<24>>24){g=p+64|0;if((k[s+8>>2]|0)>=(g|0))if((k[n+8>>2]|0)>=(g|0))break;h=o;f=p;g=q+1|0;break c}while(0);if(k[n+20>>2]|0){g=k[n+8>>2]|0;g=(v2a(a,y,(k[s+4>>2]|0)-(k[n+4>>2]|0)|0)|0)+g|0;k[s+8>>2]=g;i[h>>0]=f&255|4;h=o;f=p;g=q;break}if(n>>>0>>0){g=k[n+8>>2]|0;g=(v2a(a,y,(k[s+4>>2]|0)-(k[n+4>>2]|0)|0)|0)+g|0;k[s+8>>2]=g;i[h>>0]=f&255|4;h=1;f=g;g=q;break}if(!d)e=w2a(a,s,n,0,0)|0;else w2a(a,s,n,e,y)|0;i[h>>0]=l[h>>0]|4;i[n+12>>0]=l[n+12>>0]|4;d=s;h=1;f=k[n+8>>2]|0;g=q}else{h=o;f=p;g=q}while(0);s=s+48|0;if(s>>>0>=(u+(v*48|0)|0)>>>0){d=g;break}else{o=h;p=f;q=g}}}else d=0;while(0);d:do if(x){switch(v*48|0){case 288:{f=u;g=u+96|0;n=u+192|0;break}case 576:{f=u+48|0;g=u+240|0;n=u+432|0;break}default:break d}e=k[g+4>>2]|0;e=e-(k[n+4>>2]|0)+(e-(k[f+4>>2]|0))|0;e=(e|0)<0?0-e|0:e;if((k[f+24>>2]|0)==(f+48|0))if((k[g+24>>2]|0)==(g+48|0)){h=k[n+24>>2]|0;if((e|0)<8&(h|0)==(n+48|0)){s=n+8|0;q=(k[g+8>>2]<<1)-(k[f+8>>2]|0)|0;e=(k[s>>2]|0)-q|0;k[s>>2]=q;if(h|0)k[h+8>>2]=(k[h+8>>2]|0)-e;if((v*48|0)==576){k[u+392>>2]=(k[u+392>>2]|0)-e;k[u+536>>2]=(k[u+536>>2]|0)-e}s=n+12|0;i[s>>0]=l[s>>0]|4;if(h|0)i[h+12>>0]=l[h+12>>0]|4}}}while(0);if(!((d|0)==0|(v|0)>0^1)){h=u;do{e=h+12|0;f=i[e>>0]|0;if(!(f&4)){g=k[h+28>>2]|0;if(g){k[h+8>>2]=(k[g+8>>2]|0)-(k[g+4>>2]|0)+(k[h+4>>2]|0);i[e>>0]=f&255|4;d=d+-1|0}}h=h+48|0}while(h>>>0<(u+(v*48|0)|0)>>>0);if((v|0)>0&(d|0)!=0){o=u;do{do if(!(i[o+12>>0]&4)){e=o;while(1){d=e+-48|0;if(d>>>0>>0){h=1;f=0;n=e;break}if(!(i[e+-36>>0]&4))e=d;else{h=0;f=1;n=e;break}}g=o;while(1){e=g+48|0;if(e>>>0>=(u+(v*48|0)|0)>>>0){A=83;break}if(!(i[g+60>>0]&4))g=e;else{f=1;break}}if((A|0)==83){A=0;if(f)f=0;else break}if(h){k[o+8>>2]=(k[g+56>>2]|0)-(k[g+52>>2]|0)+(k[o+4>>2]|0);break}if(!f){k[o+8>>2]=(k[n+-40>>2]|0)-(k[n+-44>>2]|0)+(k[o+4>>2]|0);break}f=j[e>>1]|0;e=j[d>>1]|0;d=k[n+-40>>2]|0;if(f<<16>>16==e<<16>>16){k[o+8>>2]=d;break}else{s=(S2a((j[o>>1]|0)-(e<<16>>16)|0,(k[g+56>>2]|0)-d|0,(f<<16>>16)-(e<<16>>16)|0)|0)+d|0;k[o+8>>2]=s;break}}while(0);o=o+48|0}while(o>>>0<(u+(v*48|0)|0)>>>0)}}p=k[t>>2]|0;o=k[w>>2]|0;if(x)d=k[a+2984>>2]&1;else if((y|0)==1)d=(k[a+2984>>2]|0)>>>1&1;else d=0;if((o|0)>0)if(!(d<<24>>24)){n=p;do{g=k[n+40>>2]|0;h=(k[n+8>>2]|0)-(k[n+4>>2]|0)|0;if(x){f=g;do{e=k[f+44>>2]|0;d=f+40|0;while(1){d=k[d>>2]|0;k[d+16>>2]=(k[d+16>>2]|0)+h;j[d>>1]=m[d>>1]|4;if((d|0)==(e|0))break;else d=d+32|0}f=k[f+16>>2]|0}while((f|0)!=(g|0))}else{f=g;do{e=k[f+44>>2]|0;d=f+40|0;while(1){d=k[d>>2]|0;k[d+20>>2]=(k[d+20>>2]|0)+h;j[d>>1]=m[d>>1]|8;if((d|0)==(e|0))break;else d=d+32|0}f=k[f+16>>2]|0}while((f|0)!=(g|0))}n=n+48|0}while(n>>>0<(p+(o*48|0)|0)>>>0)}else{n=p;do{g=k[n+40>>2]|0;h=k[n+8>>2]|0;if(x){f=g;do{e=k[f+44>>2]|0;d=f+40|0;while(1){d=k[d>>2]|0;k[d+16>>2]=h;j[d>>1]=m[d>>1]|4;if((d|0)==(e|0))break;else d=d+32|0}f=k[f+16>>2]|0}while((f|0)!=(g|0))}else{f=g;do{e=k[f+44>>2]|0;d=f+40|0;while(1){d=k[d>>2]|0;k[d+20>>2]=h;j[d>>1]=m[d>>1]|8;if((d|0)==(e|0))break;else d=d+32|0}f=k[f+16>>2]|0}while((f|0)!=(g|0))}n=n+48|0}while(n>>>0<(p+(o*48|0)|0)>>>0)}k2a(a,y);l2a(a,y)}y=y+1|0;if((y|0)==2)break}n=k[a+24>>2]|0;f=k[a+28>>2]|0;if((n|0)<=0){b=0;r=B;return b|0}g=f;h=k[b+8>>2]|0;e=k[b+4>>2]|0;while(1){k[e>>2]=k[g+16>>2];k[e+4>>2]=k[g+20>>2];d=m[g>>1]|0;do if(!(d&1))if(!(d&2)){i[h>>0]=1;break}else{i[h>>0]=2;break}else i[h>>0]=0;while(0);g=g+40|0;if(g>>>0>=(f+(n*40|0)|0)>>>0){d=0;break}else{h=h+1|0;e=e+8|0}}r=B;return d|0}function t2a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;F=r;r=r+16|0;n=k[a+44+(b*1468|0)+8>>2]|0;o=k[a+44+(b*1468|0)>>2]|0;c=_1a(a,b)|0;if(c|0){a=c;r=F;return a|0}if((o|0)>0){h=n;do{d=k[h+40>>2]|0;f=k[h+44>>2]|0;c=j[d>>1]|0;g=l[h>>0]|0;i[h>>0]=g&254;a:do if((d|0)!=(f|0)){e=c&3;c=d;do{c=k[c+32>>2]|0;D=e;e=m[c>>1]&3;if(!(e|D))break a}while((c|0)!=(f|0));i[h>>0]=g|1}while(0);h=h+48|0}while(h>>>0<(n+(o*48|0)|0)>>>0)}w=k[a+44+(b*1468|0)+8>>2]|0;x=k[a+44+(b*1468|0)>>2]|0;f=k[a+44+(b*1468|0)+24>>2]|0;g=(k[(k[a+2988>>2]|0)+40>>2]|0)/256|0;z=(b|0)==0?a+4|0:a+12|0;y=V2a(192,k[z>>2]|0)|0;if((x|0)>0){u=w;do{if((i[u+1>>0]|0)==(f|0)){h=u+2|0;o=u+4|0;q=u+32|0;s=u+36|0;t=u+20|0;v=w;do{do if((v|0)!=(u|0))if((f|0)==(0-(i[v+1>>0]|0)|0)){n=(j[v+2>>1]|0)-(j[h>>1]|0)|0;if((n|0)>=0){p=k[o>>2]|0;D=k[v+4>>2]|0;p=(((p>>>16&65535)<<16>>16>(D>>>16&65535)<<16>>16?D>>>16:p>>>16)<<16>>16)-(((p&65535)<<16>>16<(D&65535)<<16>>16?D:p)<<16>>16)|0;if((p|0)>=(g|0)){c=k[q>>2]|0;do if((n<<3|0)<(c*9|0)){if((n<<3|0)>=(c*7|0))if((k[s>>2]|0)>=(p|0))break;k[q>>2]=n;k[s>>2]=p;k[t>>2]=v}while(0);d=v+32|0;e=k[d>>2]|0;if((n<<3|0)<(e*9|0)){c=v+36|0;if((n<<3|0)>=(e*7|0))if((k[c>>2]|0)>=(p|0))break;k[d>>2]=n;k[c>>2]=p;k[v+20>>2]=u}}}}while(0);v=v+48|0}while(v>>>0<(w+(x*48|0)|0)>>>0)}u=u+48|0}while(u>>>0<(w+(x*48|0)|0)>>>0);s=w;while(1){f=s+20|0;g=k[f>>2]|0;b:do if(g|0)if((k[g+20>>2]|0)==(s|0)){h=j[g+2>>1]|0;n=j[s+2>>1]|0;if(h<<16>>16>n<<16>>16){o=k[s+32>>2]|0;if((o|0)<(y|0)){p=s+36|0;t=w;while(1){c=j[t+2>>1]|0;if(!((s|0)==(t|0)?1:c<<16>>16>n<<16>>16)){q=k[t+20>>2]|0;if(q|0)if((k[q+20>>2]|0)==(t|0)){d=j[q+2>>1]|0;if(d<<16>>16>=h<<16>>16)if(!(n<<16>>16==c<<16>>16?h<<16>>16==d<<16>>16:0)){D=k[t+32>>2]|0;if((D|0)>(o|0)&(o<<2|0)>(D|0)){if((k[p>>2]|0)<((k[t+36>>2]|0)*3|0))break;else e=w;do{c=e+20|0;d=k[c>>2]|0;do if((d|0)==(t|0)){k[c>>2]=0;k[e+24>>2]=g}else{if((d|0)!=(q|0))break;k[c>>2]=0;k[e+24>>2]=s}while(0);e=e+48|0}while(e>>>0<(w+(x*48|0)|0)>>>0)}}}}t=t+48|0;if(t>>>0>=(w+(x*48|0)|0)>>>0)break b}k[g+20>>2]=0;k[f>>2]=0}}}while(0);s=s+48|0;if(s>>>0>=(w+(x*48|0)|0)>>>0){f=w;break}}do{c=f+20|0;d=k[c>>2]|0;do if(d|0){e=k[d+28>>2]|0;k[d+28>>2]=e+1;if((k[d+20>>2]|0)!=(f|0)){k[c>>2]=0;c=k[d+32>>2]|0;if((c|0)>=(y|0))if((k[f+32>>2]|0)>=(c<<2|0)){k[d+28>>2]=e;break}k[f+24>>2]=k[d+20>>2]}}while(0);f=f+48|0}while(f>>>0<(w+(x*48|0)|0)>>>0)}B=k[a>>2]|0;c=k[a+2988>>2]|0;C=k[a+44+(b*1468|0)+8>>2]|0;D=k[a+44+(b*1468|0)>>2]|0;k[a+44+(b*1468|0)+12>>2]=0;A=k[z>>2]|0;if((U2a(k[c+44+(b*1572|0)+204>>2]|0,A)|0)>16)y=V2a(16,A)|0;else y=k[c+44+(b*1572|0)+204>>2]|0;c:do if((D|0)>0){z=C;while(1){u=k[a+44+(b*1468|0)+12>>2]|0;if((u|0)>0){v=k[a+44+(b*1468|0)+20>>2]|0;g=z+1|0;c=i[g>>0]|0;f=z+2|0;w=z+20|0;s=65535;x=0;t=0;while(1){d=v+(x*48|0)|0;do if((i[v+(x*48|0)+13>>0]|0)==c<<24>>24){e=(j[f>>1]|0)-(j[d>>1]|0)|0;e=(e|0)<0?0-e|0:e;if((e|0)<(y|0)&(e|0)<(s|0)){o=k[w>>2]|0;if(o|0){p=k[v+(x*48|0)+40>>2]|0;h=0;q=p;do{n=k[q+20>>2]|0;if(n){h=j[o+2>>1]|0;n=j[n+2>>1]|0;h=h<<16>>16>n<<16>>16?(h<<16>>16)-(n<<16>>16)|0:(n<<16>>16)-(h<<16>>16)|0;if((h|0)>=(y|0))break}q=k[q+16>>2]|0}while((q|0)!=(p|0));if((h|0)>=(y|0)){e=s;d=t;break}}}else{e=s;d=t}}else{e=s;d=t}while(0);x=x+1|0;if((x|0)==(u|0))break;else{s=e;t=d}}if(!d)E=73;else{k[z+16>>2]=k[d+40>>2];k[(k[d+44>>2]|0)+16>>2]=z;k[d+44>>2]=z}}else{c=z+1|0;g=c;f=z+2|0;c=i[c>>0]|0;E=73}if((E|0)==73){E=0;c=h2a(a+44+(b*1468|0)|0,j[f>>1]|0,c<<24>>24,B,F)|0;if(c|0)break;c=k[F>>2]|0;d=c;e=d+40|0;do{k[d>>2]=0;d=d+4|0}while((d|0)<(e|0));k[c+40>>2]=z;k[c+44>>2]=z;i[c+13>>0]=i[g>>0]|0;x=j[f>>1]|0;j[c>>1]=x;x=U2a(x<<16>>16,A)|0;k[c+4>>2]=x;k[c+8>>2]=x;k[z+16>>2]=z}z=z+48|0;if(z>>>0>=(C+(D*48|0)|0)>>>0){c=a+44+(b*1468|0)+20|0;break c}}a=c;r=F;return a|0}else c=a+44+(b*1468|0)+20|0;while(0);u=k[c>>2]|0;t=k[a+44+(b*1468|0)+12>>2]|0;if((t|0)>0)d=u;else{a=0;r=F;return a|0}do{c=k[d+40>>2]|0;if(c|0){e=c;do{k[e+12>>2]=d;e=k[e+16>>2]|0}while((e|0)!=(c|0))}d=d+48|0}while(d>>>0<(u+(t*48|0)|0)>>>0);q=u;do{n=k[q+40>>2]|0;o=q+24|0;p=q+28|0;c=0;d=0;s=n;while(1){g=k[s>>2]|0;h=(g&1)+c|0;d=(g&1^1)+d|0;e=s+24|0;c=k[e>>2]|0;if(!c)f=0;else f=(k[c+12>>2]|0)!=(q|0);c=s+20|0;do if(f|(k[c>>2]|0)!=0){e=k[(f?e:c)>>2]|0;c=k[(f?p:o)>>2]|0;if(!c)c=k[e+12>>2]|0;else{a=(j[q>>1]|0)-(j[c>>1]|0)|0;b=j[e+2>>1]|0;if((((g>>>16&65535)<<16>>16>b<<16>>16?(g>>16)-(b<<16>>16)|0:(b<<16>>16)-(g>>16)|0)|0)<(((a|0)<0?0-a|0:a)|0))c=k[e+12>>2]|0}if(f){k[p>>2]=c;a=c+12|0;i[a>>0]=l[a>>0]|2;break}else{k[o>>2]=c;break}}while(0);s=k[s+16>>2]|0;if((s|0)==(n|0))break;else c=h}i[q+12>>0]=((h|0)<1|(h|0)<(d|0))&1^1;if(k[p>>2]|0)if(k[o>>2]|0)k[p>>2]=0;q=q+48|0}while(q>>>0<(u+(t*48|0)|0)>>>0);c=0;r=F;return c|0}function u2a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;o=k[a+44+(c*1468|0)+20>>2]|0;p=k[a+44+(c*1468|0)+12>>2]|0;q=k[b+44+(c*1572|0)>>2]|0;n=U2a(((k[b+40>>2]|0)>>>0)/40|0,q)|0;n=(n|0)>32?32:n;if((p|0)<=0)return;e=k[b+44+(c*1572|0)+216>>2]|0;d=e;r=o;do{if(!d)d=0;else{m=r+13|0;l=0;d=0;h=n;while(1){f=b+44+(c*1572|0)+220+(l*28|0)|0;g=k[b+44+(c*1572|0)+220+(l*28|0)+24>>2]|0;if(!(g&1))f=h;else if((g&2|0)!=0^(i[m>>0]|0)==(k[a+44+(c*1468|0)+24>>2]|0)){g=j[r>>1]|0;t=g-(k[f>>2]|0)|0;s=b+44+(c*1572|0)+220+(l*28|0)+12|0;e=g-(k[s>>2]|0)|0;s=(((t|0)<0?0-t|0:t)|0)>(((e|0)<0?0-e|0:e)|0)?s:f;f=g-(k[s>>2]|0)|0;f=U2a((f|0)<0?0-f|0:f,q)|0;g=(f|0)<(h|0);e=k[b+44+(c*1572|0)+216>>2]|0;d=g?s:d;f=g?f:h}else f=h;l=l+1|0;if(l>>>0>=e>>>0)break;else h=f}if(!d)d=e;else{k[r+20>>2]=d;d=e}}r=r+48|0}while(r>>>0<(o+(p*48|0)|0)>>>0);return}function v2a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0;i=k[a+2988>>2]|0;l=k[a+2984>>2]|0;if(!(l&4))return c|0;j=(c|0)<0?0-c|0:c;if((b|0)==1)if(!(l&2))m=5;else m=15;else if(!(l&1))m=5;else m=15;do if((m|0)==5){if(k[i+44+(b*1572|0)+8>>2]|0){a=k[i+44+(b*1572|0)+16>>2]|0;if((((j-a|0)<0?0-(j-a)|0:j-a|0)|0)<40){a=(a|0)<48?48:a;break}}if((j|0)<54){a=((54-j|0)/2|0)+j|0;break}if((j|0)<192)if((j&63)>>>0<10)a=j;else if((j&63)>>>0<22){a=j&-64|10;break}else{a=((j&63)+-42|0)>>>0<12?j&-64|54:j;break}else a=j}else if((m|0)==15){e=k[i+44+(b*1572|0)+8>>2]|0;if(!e){d=j+32&-64;a=j;m=19}else{g=98;h=0;a=j;while(1){n=k[i+44+(b*1572|0)+12+(h*12|0)+4>>2]|0;d=(j-n|0)<0?0-(j-n)|0:j-n|0;f=(d|0)<(g|0);a=f?n:a;h=h+1|0;if((h|0)==(e|0))break;else g=f?d:g}if((a|0)>(j|0))a=((a+32&-64)+-48|0)<(j|0)?a:j;else{d=a+32&-64;m=19}}if((m|0)==19)a=(d|48|0)>(j|0)?a:j;if((b|0)==1){if((a|0)<=63){a=64;break}a=a+16&-64;break}if(l&8|0){if((a|0)<64){a=64;break}a=a+32&-64;break}if((a|0)<48){a=a+64>>1;break}if((a|0)<128){a=a+22&-64;break}else{a=a+32&-64;break}}while(0);n=(c|0)>-1?a:0-a|0;return n|0}function w2a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0;j=(k[a+2984>>2]&4|0)==0;do if(j){if(i[b+12>>0]&1)if(i[c+12>>0]&1){h=(e|0)==1?55:49;break}h=(e|0)==1?61:59}else h=64;while(0);l=k[c+4>>2]|0;m=k[b+4>>2]|0;g=v2a(a,e,l-m|0)|0;e=((m+l|0)/2|0)+d+((g|0)/-2|0)&63;a=((m+l|0)/2|0)+d+((g|0)/-2|0)+g&63;do if((e|0)==0|(a|0)==0)e=0;else{if((g|0)<=(h|0)){if((a|0)>=(g|0)){e=0;break}e=(64-e|0)>>>0>a>>>0?0-a|0:64-e|0;break}if(h>>>0<64)if(!((64-a|0)>>>0>>0&(h>>>0>a>>>0&(e>>>0>>0&h>>>0>(64-e|0)>>>0)))){e=0;break}if((g&63)>>>0<32)if((64-e|0)>>>0>(g&63)>>>0&a>>>0>(g&63)>>>0)f=g&63;else{e=0;break}else f=64-h|0;o=h-(64-e)|0;e=64-e-f|0;n=h-a|0;h=a-f|0;e=(o|0)>(e|0)?e:0-o|0;h=(h|0)>(n|0)?n:0-h|0;e=(((e|0)<0?0-e|0:e)|0)>(((h|0)<0?0-h|0:h)|0)?h:e}while(0);if(j)if((e|0)>14)e=14;else e=(e|0)<-14?-14:e;o=e+(((m+l|0)/2|0)+d+((g|0)/-2|0))|0;k[b+8>>2]=(l|0)>(m|0)?o:o+g|0;k[c+8>>2]=(l|0)>(m|0)?o+g|0:o;return e|0}function x2a(a,b){a=a|0;b=b|0;var c=0;c=k[b+92>>2]|0;k[a+40>>2]=m[b+68>>1];if(!(BSa(b,1970170211)|0)){n2a(a,b);o2a(a,b);CSa(b,c)|0;return 0}else{k[b+92>>2]=0;CSa(b,c)|0;return 0}return 0}function y2a(a,b){a=a|0;b=b|0;k[a+4>>2]=k[b>>2];k[a+4+4>>2]=k[b+4>>2];k[a+4+8>>2]=k[b+8>>2];k[a+4+12>>2]=k[b+12>>2];k[a+4+16>>2]=k[b+16>>2];k[a+4+20>>2]=k[b+20>>2];k[a+4+24>>2]=k[b+24>>2];q2a(a,b,0);q2a(a,b,1);return}function z2a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0;P=k[a+64>>2]|0;K=k[a+448>>2]|0;E=k[a+456>>2]|0;L=k[a+1160>>2]|0;M=k[a+1216>>2]|0;b=k[a+1784>>2]|0;z=k[a+1800>>2]|0;F=k[a+1840>>2]|0;d=k[a+1872>>2]|0;J=k[a+1896>>2]|0;N=k[a+3672>>2]|0;O=k[a+3680>>2]|0;o=k[a+5864>>2]|0;Q=k[a+5872>>2]|0;G=k[a+5880>>2]|0;a:{if(Q){Q=0;switch(G|0){case 57:{b=k[P+304>>2]|0;do if((k[P+16>>2]|0)<(b|0)){if(i[P+561>>0]|0)k[P+12>>2]=134}else{q=k[P+344>>2]|0;if(q>>>0<65536|(q&65535)<<16>>16==0)p=1;else p=(j[P+348>>1]|0)==0;o=j[P+286>>1]|0;if((o&65535)>=(m[P+44>>1]|0)){if(!(i[P+561>>0]|0))break;k[P+12>>2]=134;break}n=k[(p?P+48|0:P+56|0)>>2]|0;q=k[P+52>>2]|0;c=j[P+288>>1]|0;if((c&65535)<(m[P+80>>1]|0)){do if(p){h=k[P+84>>2]|0;c=Ri[k[P+576>>2]&255](P,(k[h+((c&65535)<<3)>>2]|0)-(k[n+((o&65535)<<3)>>2]|0)|0,(k[h+((c&65535)<<3)+4>>2]|0)-(k[n+((o&65535)<<3)+4>>2]|0)|0)|0}else{b=k[P+220>>2]|0;if((b|0)==(k[P+224>>2]|0)){h=k[P+92>>2]|0;c=Ri[k[P+576>>2]&255](P,(k[h+((c&65535)<<3)>>2]|0)-(k[n+((o&65535)<<3)>>2]|0)|0,(k[h+((c&65535)<<3)+4>>2]|0)-(k[n+((o&65535)<<3)+4>>2]|0)|0)|0;break}else{h=U2a((k[(k[P+92>>2]|0)+((c&65535)<<3)>>2]|0)-(k[n+((o&65535)<<3)>>2]|0)|0,b)|0;c=U2a((k[(k[P+92>>2]|0)+(m[P+288>>1]<<3)+4>>2]|0)-(k[n+((o&65535)<<3)+4>>2]|0)|0,k[P+224>>2]|0)|0;c=Ri[k[P+576>>2]&255](P,h,c)|0;break}}while(0);h=m[P+288>>1]|0;b=k[P+88>>2]|0;h=Ri[k[P+572>>2]&255](P,(k[b+(h<<3)>>2]|0)-(k[q+((o&65535)<<3)>>2]|0)|0,(k[b+(h<<3)+4>>2]|0)-(k[q+((o&65535)<<3)+4>>2]|0)|0)|0;b=k[P+304>>2]|0}else{h=0;c=0}if((b|0)>0){g=(c|0)==0;do{f=(k[P+28>>2]|0)+-1|0;k[P+28>>2]=f;f=k[(k[P+24>>2]|0)+(f<<2)>>2]|0;if(f>>>0<(m[P+116>>1]|0)>>>0){do if(p){b=k[P+120>>2]|0;b=Ri[k[P+576>>2]&255](P,(k[b+(f<<3)>>2]|0)-(k[n+((o&65535)<<3)>>2]|0)|0,(k[b+(f<<3)+4>>2]|0)-(k[n+((o&65535)<<3)+4>>2]|0)|0)|0}else{b=k[P+220>>2]|0;if((b|0)==(k[P+224>>2]|0)){b=k[P+128>>2]|0;b=Ri[k[P+576>>2]&255](P,(k[b+(f<<3)>>2]|0)-(k[n+((o&65535)<<3)>>2]|0)|0,(k[b+(f<<3)+4>>2]|0)-(k[n+((o&65535)<<3)+4>>2]|0)|0)|0;break}else{e=U2a((k[(k[P+128>>2]|0)+(f<<3)>>2]|0)-(k[n+((o&65535)<<3)>>2]|0)|0,b)|0;b=U2a((k[(k[P+128>>2]|0)+(f<<3)+4>>2]|0)-(k[n+((o&65535)<<3)+4>>2]|0)|0,k[P+224>>2]|0)|0;b=Ri[k[P+576>>2]&255](P,e,b)|0;break}}while(0);e=k[P+124>>2]|0;e=Ri[k[P+572>>2]&255](P,(k[e+(f<<3)>>2]|0)-(k[q+((o&65535)<<3)>>2]|0)|0,(k[e+(f<<3)+4>>2]|0)-(k[q+((o&65535)<<3)+4>>2]|0)|0)|0;if(!(g|(b|0)==0))b=S2a(b,h,c)|0;vj[k[P+584>>2]&127](P,P+108|0,f&65535,b-e|0);e=k[P+304>>2]|0}else if(!(i[P+561>>0]|0))e=b;else{o=376;k[a+5888>>2]=2;k[a+5892>>2]=86;break a}b=e+-1|0;k[P+304>>2]=b}while((e|0)>1)}}while(0);k[P+304>>2]=1;k[P+32>>2]=k[P+28>>2];o=821;break}case 59:case 58:{e=k[J>>2]|0;if((e&65535)>>>0<(m[P+80>>1]|0)>>>0){b=j[P+284>>1]|0;if((b&65535)<(m[P+44>>1]|0)){if(!(j[P+346>>1]|0)){c=(k[P+48>>2]|0)+((b&65535)<<3)|0;b=k[c+4>>2]|0;M=(k[P+84>>2]|0)+((e&65535)<<3)|0;k[M>>2]=k[c>>2];k[M+4>>2]=b;vj[k[P+588>>2]&127](P,P+72|0,e&65535,k[J+4>>2]|0);M=(k[P+84>>2]|0)+((e&65535)<<3)|0;b=k[M+4>>2]|0;c=(k[P+88>>2]|0)+((e&65535)<<3)|0;k[c>>2]=k[M>>2];k[c+4>>2]=b;c=J+4|0;b=j[P+284>>1]|0}else c=J+4|0;K=k[P+88>>2]|0;L=k[P+52>>2]|0;M=b&65535;M=Ri[k[P+572>>2]&255](P,(k[K+((e&65535)<<3)>>2]|0)-(k[L+(M<<3)>>2]|0)|0,(k[K+((e&65535)<<3)+4>>2]|0)-(k[L+(M<<3)+4>>2]|0)|0)|0;vj[k[P+584>>2]&127](P,P+72|0,e&65535,(k[c>>2]|0)-M|0);j[P+286>>1]=j[P+284>>1]|0;j[P+288>>1]=e;if(!(i[P+368>>0]&1)){o=821;k[a+5888>>2]=2;k[a+5892>>2]=87;break a}j[P+284>>1]=e;o=821;k[a+5888>>2]=2;k[a+5892>>2]=87;break a}}if(!(i[P+561>>0]|0))o=821;else{o=382;k[a+5888>>2]=2;k[a+5892>>2]=86;break a}break}case 60:{c=k[P+304>>2]|0;b:do if((k[P+16>>2]|0)<(c|0))o=390;else if((m[P+284>>1]|0)<(m[P+44>>1]|0))if((c|0)>0){b=z;e=d;while(1){b=b+-1|0;k[P+28>>2]=b;b=k[e+(b<<2)>>2]|0;if((b&65535)>>>0<(m[P+80>>1]|0)>>>0){p=k[P+88>>2]|0;q=k[P+52>>2]|0;c=m[P+284>>1]|0;c=Ri[k[P+572>>2]&255](P,(k[p+((b&65535)<<3)>>2]|0)-(k[q+(c<<3)>>2]|0)|0,(k[p+((b&65535)<<3)+4>>2]|0)-(k[q+(c<<3)+4>>2]|0)|0)|0;vj[k[P+584>>2]&127](P,P+72|0,b&65535,0-c|0);c=k[P+304>>2]|0}else if(i[P+561>>0]|0){o=395;k[a+5888>>2]=2;k[a+5892>>2]=86;break a}f=c+-1|0;k[P+304>>2]=f;b=k[P+28>>2]|0;if((c|0)<=1){e=b;break b}e=k[P+24>>2]|0;c=f}}else e=z;else o=390;while(0);if((o|0)==390)if(!(i[P+561>>0]|0))e=z;else{k[P+12>>2]=134;e=z}k[P+304>>2]=1;k[P+32>>2]=e;o=821;break}case 61:{k[P+312>>2]=2;k[K>>2]=141;o=821;break}case 63:case 62:{f=k[J>>2]|0;b=k[J+4>>2]|0;c=k[P+320>>2]|0;if((f&65535)>>>0<(m[P+44>>1]|0)>>>0)if((k[P+380>>2]|0)>>>0>b>>>0){b=gj[k[P+596>>2]&511](P,b)|0;if(!(j[P+344>>1]|0)){q=j[P+298>>1]|0;p=(b|0)<0?0-b|0:b;h=q<<16>>16<0?0-(q<<16>>16)|0:q<<16>>16;g=ha(h,p>>>16)|0;h=(g<<16|8192)+(ha(h,p&65535)|0)|0;n=k[P+48>>2]|0;k[n+((f&65535)<<3)>>2]=(q<<16>>16^b|0)>-1?(h>>>0<(g<<16|8192)>>>0&1)+(g>>>16)<<18|h>>>14:0-((h>>>0<(g<<16|8192)>>>0&1)+(g>>>16)<<18|h>>>14)|0;h=j[P+300>>1]|0;g=h<<16>>16<0?0-(h<<16>>16)|0:h<<16>>16;q=ha(g,p>>>16)|0;p=(q<<16|8192)+(ha(g,p&65535)|0)|0;k[n+((f&65535)<<3)+4>>2]=(h<<16>>16^b|0)>-1?(p>>>0<(q<<16|8192)>>>0&1)+(q>>>16)<<18|p>>>14:0-((p>>>0<(q<<16|8192)>>>0&1)+(q>>>16)<<18|p>>>14)|0;p=k[n+((f&65535)<<3)+4>>2]|0;q=(k[P+52>>2]|0)+((f&65535)<<3)|0;k[q>>2]=k[n+((f&65535)<<3)>>2];k[q+4>>2]=p}e=k[P+52>>2]|0;e=Ri[k[P+572>>2]&255](P,k[e+((f&65535)<<3)>>2]|0,k[e+((f&65535)<<3)+4>>2]|0)|0;if(i[P+368>>0]&1)b=Ri[k[K>>2]&255](P,(((b-e|0)<0?0-(b-e)|0:b-e|0)|0)>(c|0)?e:b,k[P+264>>2]|0)|0;vj[k[P+584>>2]&127](P,P+36|0,f&65535,b-e|0)}else o=403;else o=403;if((o|0)==403)if(i[P+561>>0]|0)k[P+12>>2]=134;j[P+284>>1]=f;j[P+286>>1]=f;o=821;break}case 64:{b=k[P+360>>2]|0;e=i[L+(b+1)>>0]|0;if((e&255)>>>0>=(F+1-(k[P+16>>2]|0)|0)>>>0){o=414;k[a+5888>>2]=2;k[a+5892>>2]=86;break a}if(e<<24>>24){k[J>>2]=l[L+(b+2)>>0];if((e&255)>=2){b=2;c=2;do{k[J+(b+-1<<2)>>2]=l[L+((k[P+360>>2]|0)+1+b)>>0];c=c+1<<16>>16;b=c&65535}while(b>>>0<=(e&255)>>>0)}}k[P+32>>2]=(k[P+32>>2]|0)+(e&255);o=821;break}case 65:{c=k[P+360>>2]|0;f=i[L+(c+1)>>0]|0;if((f&255)>>>0>=(F+1-(k[P+16>>2]|0)|0)>>>0){o=418;k[a+5888>>2]=2;k[a+5892>>2]=86;break a}k[P+360>>2]=c+2;if(f<<24>>24){c=c+2|0;e=0;b=0;while(1){k[P+360>>2]=c+2;k[J+(e<<2)>>2]=(l[L+c>>0]<<8|l[L+(c+1)>>0])<<16>>16;b=b+1<<16>>16;if((b&65535)>>>0>=(f&255)>>>0)break;c=k[P+360>>2]|0;e=b&65535}b=k[P+32>>2]|0}i[P+376>>0]=0;k[P+32>>2]=b+(f&255);o=821;break}case 66:{b=k[J>>2]|0;if(b>>>0<(m[P+468>>1]|0)>>>0){k[(k[P+472>>2]|0)+(b<<2)>>2]=k[J+4>>2];o=821;k[a+5888>>2]=2;k[a+5892>>2]=87;break a}else if(!(i[P+561>>0]|0)){o=821;k[a+5888>>2]=2;k[a+5892>>2]=87;break a}else{o=426;k[a+5888>>2]=2;k[a+5892>>2]=86;break a}}case 67:{b=k[J>>2]|0;if(b>>>0<(m[P+468>>1]|0)>>>0)b=k[(k[P+472>>2]|0)+(b<<2)>>2]|0;else if(!(i[P+561>>0]|0))b=0;else{o=430;k[a+5888>>2]=2;k[a+5892>>2]=86;break a}k[J>>2]=b;o=821;break}default:Q=1}}if(Q){Q=0;switch(G|0){case 68:{b=k[J>>2]|0;if(b>>>0<(k[P+380>>2]|0)>>>0){kj[k[P+600>>2]&255](P,b,k[J+4>>2]|0);o=821;k[a+5888>>2]=2;k[a+5892>>2]=87;break a}else if(!(i[P+561>>0]|0)){o=821;k[a+5888>>2]=2;k[a+5892>>2]=87;break a}else{o=435;k[a+5888>>2]=2;k[a+5892>>2]=86;break a}}case 69:{b=k[J>>2]|0;if(b>>>0<(k[P+380>>2]|0)>>>0)b=gj[k[P+596>>2]&511](P,b)|0;else if(!(i[P+561>>0]|0))b=0;else{o=439;k[a+5888>>2]=2;k[a+5892>>2]=86;break a}k[J>>2]=b;o=821;break}case 71:case 70:{b=k[J>>2]|0;do if(b>>>0<(m[P+116>>1]|0)>>>0)if(!(M&1)){y=k[P+124>>2]|0;b=Ri[k[P+572>>2]&255](P,k[y+(b<<3)>>2]|0,k[y+(b<<3)+4>>2]|0)|0;break}else{y=k[P+120>>2]|0;b=Ri[k[P+576>>2]&255](P,k[y+(b<<3)>>2]|0,k[y+(b<<3)+4>>2]|0)|0;break}else if(!(i[P+561>>0]|0))b=0;else{k[P+12>>2]=134;b=0}while(0);k[J>>2]=b;o=821;break}case 72:{b=k[J>>2]|0;if((b&65535)>>>0>=(m[P+116>>1]|0)>>>0)if(!(i[P+561>>0]|0)){o=821;k[a+5888>>2]=2;k[a+5892>>2]=87;break a}else{o=451;k[a+5888>>2]=2;k[a+5892>>2]=86;break a}y=k[P+124>>2]|0;y=Ri[k[P+572>>2]&255](P,k[y+((b&65535)<<3)>>2]|0,k[y+((b&65535)<<3)+4>>2]|0)|0;vj[k[P+584>>2]&127](P,P+108|0,b&65535,(k[J+4>>2]|0)-y|0);if(!(j[P+348>>1]|0)){x=(k[P+124>>2]|0)+((b&65535)<<3)|0;y=k[x+4>>2]|0;o=(k[P+120>>2]|0)+((b&65535)<<3)|0;k[o>>2]=k[x>>2];k[o+4>>2]=y;o=821}else o=821;break}case 74:case 73:{h=k[J>>2]&65535;do if(h>>>0<(m[P+44>>1]|0)>>>0){n=k[J+4>>2]&65535;if(n>>>0<(m[P+80>>1]|0)>>>0){if(M&1){y=k[P+52>>2]|0;r=k[P+88>>2]|0;r=Ri[k[P+572>>2]&255](P,(k[y+(h<<3)>>2]|0)-(k[r+(n<<3)>>2]|0)|0,(k[y+(h<<3)+4>>2]|0)-(k[r+(n<<3)+4>>2]|0)|0)|0;break}y=k[P+344>>2]|0;if(y>>>0<65536|(y&65535)<<16>>16==0){y=k[P+48>>2]|0;r=k[P+84>>2]|0;r=Ri[k[P+576>>2]&255](P,(k[y+(h<<3)>>2]|0)-(k[r+(n<<3)>>2]|0)|0,(k[y+(h<<3)+4>>2]|0)-(k[r+(n<<3)+4>>2]|0)|0)|0;break}b=k[P+56>>2]|0;c=k[P+92>>2]|0;e=k[P+220>>2]|0;f=k[b+(h<<3)>>2]|0;g=k[c+(n<<3)>>2]|0;if((e|0)==(k[P+224>>2]|0)){r=Ri[k[P+576>>2]&255](P,f-g|0,(k[b+(h<<3)+4>>2]|0)-(k[c+(n<<3)+4>>2]|0)|0)|0;r=U2a(r,k[P+220>>2]|0)|0;break}else{y=U2a(f-g|0,e)|0;r=U2a((k[b+(h<<3)+4>>2]|0)-(k[c+(n<<3)+4>>2]|0)|0,k[P+224>>2]|0)|0;r=Ri[k[P+576>>2]&255](P,y,r)|0;break}}else o=456}else o=456;while(0);if((o|0)==456)if(!(i[P+561>>0]|0))r=0;else{k[P+12>>2]=134;r=0}k[J>>2]=r;o=821;break}case 75:{o=Gi[k[P+592>>2]&2047](P)|0;k[J>>2]=o;o=821;break}case 76:{o=Gi[k[P+592>>2]&2047](P)|0;k[J>>2]=o;o=821;break}case 77:{i[P+316>>0]=1;o=821;break}case 78:{i[P+316>>0]=0;o=821;break}case 80:{k[J>>2]=(k[J>>2]|0)<(k[J+4>>2]|0)&1;o=821;break}case 81:{k[J>>2]=(k[J>>2]|0)<=(k[J+4>>2]|0)&1;o=821;break}case 82:{k[J>>2]=(k[J>>2]|0)>(k[J+4>>2]|0)&1;o=821;break}case 83:{k[J>>2]=(k[J>>2]|0)>=(k[J+4>>2]|0)&1;o=821;break}case 84:{k[J>>2]=(k[J>>2]|0)==(k[J+4>>2]|0)&1;o=821;break}case 85:{k[J>>2]=(k[J>>2]|0)!=(k[J+4>>2]|0)&1;o=821;break}case 86:{o=((Ri[k[K>>2]&255](P,k[J>>2]|0,0)|0)&127|0)==64&1;k[J>>2]=o;o=821;break}case 87:{o=((Ri[k[K>>2]&255](P,k[J>>2]|0,0)|0)&127|0)==0&1;k[J>>2]=o;o=821;break}case 88:{if(!(k[J>>2]|0)){g=k[P+364>>2]|0;b=E+(k[P+360>>2]|0)|0;k[P+360>>2]=b;if((b|0)<(g|0)){c=1;f=1}else{o=492;k[a+5888>>2]=2;k[a+5892>>2]=86;break a}while(1){c:do if(c)while(1){e=i[L+b>>0]|0;i[P+368>>0]=e;c=i[590649+(e&255)>>0]|0;k[P+372>>2]=c;if((e&255|1|0)==65){d=b+1|0;if((d|0)>=(g|0)){o=492;k[a+5888>>2]=2;k[a+5892>>2]=86;break a}d=2-(ha(l[L+d>>0]|0,c)|0)|0;k[P+372>>2]=d}else d=c;c=b;b=d+b|0;if((b|0)>(g|0)){o=492;k[a+5888>>2]=2;k[a+5892>>2]=86;break a}switch(e&255|0){case 27:{o=821;k[a+5888>>2]=2;k[a+5892>>2]=87;break a}case 88:{t=d;u=c;o=495;break c}case 89:{v=c;w=d;o=497;break c}default:{}}k[P+360>>2]=b;if((b|0)>=(g|0)){o=492;k[a+5888>>2]=2;k[a+5892>>2]=86;break a}}else while(1){e=i[L+b>>0]|0;i[P+368>>0]=e;c=i[590649+(e&255)>>0]|0;k[P+372>>2]=c;if((e&255|1|0)==65){d=b+1|0;if((d|0)>=(g|0)){o=492;k[a+5888>>2]=2;k[a+5892>>2]=86;break a}d=2-(ha(l[L+d>>0]|0,c)|0)|0;k[P+372>>2]=d}else d=c;c=b;b=d+b|0;if((b|0)>(g|0)){o=492;k[a+5888>>2]=2;k[a+5892>>2]=86;break a}switch(e&255|0){case 88:{t=d;u=c;o=495;break c}case 89:{v=c;w=d;o=497;break c}default:{}}k[P+360>>2]=b;if((b|0)>=(g|0)){o=492;k[a+5888>>2]=2;k[a+5892>>2]=86;break a}}while(0);if((o|0)==495){x=t;y=u;s=f+1|0}else if((o|0)==497){b=f+-1|0;if(!b){o=821;k[a+5888>>2]=2;k[a+5892>>2]=87;break a}else{x=w;y=v;s=b}}b=x+y|0;k[P+360>>2]=b;if((b|0)>=(g|0)){o=492;k[a+5888>>2]=2;k[a+5892>>2]=86;break a}else{c=(s|0)==1;f=s}}}else o=821;break}case 90:{if(!(k[J>>2]|0))b=0;else b=(k[J+4>>2]|0)!=0;k[J>>2]=b&1;o=821;break}case 91:{if(!(k[J>>2]|0))b=(k[J+4>>2]|0)!=0;else b=1;k[J>>2]=b&1;o=821;break}case 92:{k[J>>2]=(k[J>>2]|0)==0&1;o=821;break}case 93:{o0a(P,J);o=821;break}case 94:{j[P+332>>1]=k[J>>2];o=821;break}case 95:{b=k[J>>2]|0;if(b>>>0>6){o=508;k[a+5888>>2]=2;k[a+5892>>2]=86;break a}j[P+334>>1]=b;o=821;break}case 96:{k[J>>2]=(k[J>>2]|0)+(k[J+4>>2]|0);o=821;break}case 97:{k[J>>2]=(k[J>>2]|0)-(k[J+4>>2]|0);o=821;break}case 98:{b=k[J+4>>2]|0;if(!b){o=513;k[a+5888>>2]=2;k[a+5892>>2]=86;break a}o=T2a(k[J>>2]|0,64,b)|0;k[J>>2]=o;o=821;break}case 99:{o=S2a(k[J>>2]|0,k[J+4>>2]|0,64)|0;k[J>>2]=o;o=821;break}case 100:{o=k[J>>2]|0;k[J>>2]=(o|0)<0?0-o|0:o;o=821;break}case 101:{k[J>>2]=0-(k[J>>2]|0);o=821;break}case 102:{k[J>>2]=k[J>>2]&-64;o=821;break}case 103:{k[J>>2]=(k[J>>2]|0)+63&-64;o=821;break}case 107:case 106:case 105:case 104:{o=Ri[k[K>>2]&255](P,k[J>>2]|0,k[P+264+((M&255)+-104<<2)>>2]|0)|0;k[J>>2]=o;o=821;break}case 111:case 110:case 109:case 108:{b=k[J>>2]|0;c=k[P+264+((M&255)+-108<<2)>>2]|0;if((b|0)>-1)b=(c+b|0)<0?0:c+b|0;else b=(b-c|0)>0?0:b-c|0;k[J>>2]=b;o=821;break}case 112:{b=k[J>>2]|0;if(b>>>0<(k[P+380>>2]|0)>>>0){o=U2a(k[J+4>>2]|0,k[P+260>>2]|0)|0;k[(k[P+384>>2]|0)+(b<<2)>>2]=o;o=821;k[a+5888>>2]=2;k[a+5892>>2]=87;break a}else if(!(i[P+561>>0]|0)){o=821;k[a+5888>>2]=2;k[a+5892>>2]=87;break a}else{o=527;k[a+5888>>2]=2;k[a+5892>>2]=86;break a}}case 114:case 113:{o0a(P,J);o=821;break}case 117:case 116:case 115:{f=Gi[k[P+592>>2]&2047](P)|0;g=k[J>>2]|0;d:do if(g|0){n=1;while(1){b=k[P+28>>2]|0;if((b|0)<2)break;k[P+28>>2]=b+-2;y=k[P+24>>2]|0;h=k[y+(b+-1<<2)>>2]|0;b=k[y+(b+-2<<2)>>2]|0;if(h>>>0<(k[P+380>>2]|0)>>>0){switch(l[P+368>>0]|0){case 117:{e=b>>>4&15|32;break}case 116:{e=b>>>4&15|16;break}default:e=b>>>4&15}c=k[P+332>>2]|0;if((f|0)==((c&65535)+e|0))kj[k[P+604>>2]&255](P,h,(((b&15)+-8|0)>-1?(b&15)+-7|0:(b&15)+-8|0)<<6-(c>>>16))}else if(i[P+561>>0]|0){o=537;k[a+5888>>2]=2;k[a+5892>>2]=86;break a}n=n+1|0;if(n>>>0>g>>>0)break d}if(i[P+561>>0]|0)k[P+12>>2]=129;k[P+28>>2]=0}while(0);k[P+32>>2]=k[P+28>>2];o=821;break}default:Q=1}}if(Q){Q=0;switch(G|0){case 118:{b=k[J>>2]|0;switch(b&192|0){case 0:{k[P+476>>2]=8192;c=8192;break}case 64:{k[P+476>>2]=16384;c=16384;break}case 128:{k[P+476>>2]=32768;c=32768;break}case 192:{k[P+476>>2]=16384;c=16384;break}default:{o=550;k[a+5888>>2]=2;k[a+5892>>2]=86;break a}}switch(b&48|0){case 0:{k[P+480>>2]=0;d=0;break}case 16:{d=c>>>2;k[P+480>>2]=d;break}case 32:{d=c>>>1;k[P+480>>2]=d;break}case 48:{d=(c*3|0)>>>2;k[P+480>>2]=d;break}default:{o=556;k[a+5888>>2]=2;k[a+5892>>2]=86;break a}}if(!(b&15))b=c+-1|0;else b=(ha(c,(b&15)+-4|0)|0)/8|0;k[P+476>>2]=c>>>8;k[P+480>>2]=d>>>8;k[P+484>>2]=b>>8;k[P+312>>2]=6;k[K>>2]=142;o=821;break}case 119:{b=k[J>>2]|0;switch(b&192|0){case 0:{k[P+476>>2]=5792;c=5792;break}case 64:{k[P+476>>2]=11585;c=11585;break}case 128:{k[P+476>>2]=23170;c=23170;break}case 192:{k[P+476>>2]=11585;c=11585;break}default:{o=566;k[a+5888>>2]=2;k[a+5892>>2]=86;break a}}switch(b&48|0){case 0:{k[P+480>>2]=0;d=0;break}case 16:{d=c>>>2;k[P+480>>2]=d;break}case 32:{d=c>>>1;k[P+480>>2]=d;break}case 48:{d=(c*3|0)>>>2;k[P+480>>2]=d;break}default:{o=572;k[a+5888>>2]=2;k[a+5892>>2]=86;break a}}if(!(b&15))b=c+-1|0;else b=(ha(c,(b&15)+-4|0)|0)/8|0;k[P+476>>2]=c>>>8;k[P+480>>2]=d>>>8;k[P+484>>2]=b>>8;k[P+312>>2]=7;k[K>>2]=143;o=821;break}case 120:{if(!(k[J+4>>2]|0))o=821;else{b=k[J>>2]|0;if(!(b|z))k[P+12>>2]=132;b=(k[P+360>>2]|0)+b|0;k[P+360>>2]=b;if((b|0)<0)o=583;else{c=k[P+428>>2]|0;if((c|0)>0)if((b|0)>(k[(k[(k[P+436>>2]|0)+(c+-1<<4)+12>>2]|0)+8>>2]|0))o=583}if((o|0)==583)k[P+12>>2]=132;i[P+376>>0]=0;o=821}break}case 121:{if(!(k[J+4>>2]|0)){b=k[J>>2]|0;if(!(b|z))k[P+12>>2]=132;b=(k[P+360>>2]|0)+b|0;k[P+360>>2]=b;if((b|0)<0)o=591;else{c=k[P+428>>2]|0;if((c|0)>0)if((b|0)>(k[(k[(k[P+436>>2]|0)+(c+-1<<4)+12>>2]|0)+8>>2]|0))o=591}if((o|0)==591)k[P+12>>2]=132;i[P+376>>0]=0;o=821}else o=821;break}case 122:{k[P+312>>2]=5;k[K>>2]=136;o=821;break}case 123:{b=k[P+416>>2]|0;d=k[P+408>>2]|0;e:do if((d|0)>0){c=b;while(1){if(M<<24>>24==(k[c+12>>2]&255)<<24>>24)if(i[c+16>>0]|0)break;c=c+24|0;if(c>>>0>=(b+(d*24|0)|0)>>>0)break e}b=k[P+428>>2]|0;if((b|0)>=(k[P+432>>2]|0)){o=598;k[a+5888>>2]=2;k[a+5892>>2]=86;break a}e=k[P+436>>2]|0;k[P+428>>2]=b+1;k[e+(b<<4)>>2]=k[P+352>>2];k[e+(b<<4)+4>>2]=(k[P+360>>2]|0)+1;k[e+(b<<4)+8>>2]=1;k[e+(b<<4)+12>>2]=c;e=k[c>>2]|0;b=k[c+4>>2]|0;do if((e+-1|0)>>>0>2)k[P+12>>2]=132;else{c=k[P+444+(e+-1<<3)>>2]|0;if(!c){k[P+12>>2]=138;break}d=k[P+444+(e+-1<<3)+4>>2]|0;if((d|0)<(b|0)){k[P+12>>2]=131;break}else{k[P+356>>2]=c;k[P+364>>2]=d;k[P+360>>2]=b;k[P+352>>2]=e;break}}while(0);i[P+376>>0]=0;o=821;k[a+5888>>2]=2;k[a+5892>>2]=87;break a}while(0);k[P+12>>2]=128;N=b;O=d;o=823;break}case 124:{k[P+312>>2]=4;k[K>>2]=138;o=821;break}case 125:{k[P+312>>2]=3;k[K>>2]=139;o=821;break}case 128:{c=k[P+304>>2]|0;f:do if((k[P+16>>2]|0)<(c|0))if(!(i[P+561>>0]|0))b=z;else{k[P+12>>2]=129;b=z}else if((c|0)>0){b=z;while(1){b=b+-1|0;k[P+28>>2]=b;b=k[d+(b<<2)>>2]&65535;if(b>>>0<(m[P+152>>1]|0)>>>0){c=(k[P+168>>2]|0)+b|0;i[c>>0]=l[c>>0]^1;c=k[P+304>>2]|0}else if(i[P+561>>0]|0){o=617;k[a+5888>>2]=2;k[a+5892>>2]=86;break a}e=c+-1|0;k[P+304>>2]=e;b=k[P+28>>2]|0;if((c|0)<=1)break f;d=k[P+24>>2]|0;c=e}}else b=z;while(0);k[P+304>>2]=1;k[P+32>>2]=b;o=821;break}case 129:{b=k[J>>2]|0;c=k[J+4>>2]&65535;D=m[P+152>>1]|0;if(!(c>>>0>>0&(b&65535)>>>0>>0))if(!(i[P+561>>0]|0)){o=821;k[a+5888>>2]=2;k[a+5892>>2]=87;break a}else{o=626;k[a+5888>>2]=2;k[a+5892>>2]=86;break a}if((b&65535)>>>0>c>>>0)o=821;else{d=b&65535;b=b&65535;do{D=(k[P+168>>2]|0)+d|0;i[D>>0]=l[D>>0]|1;b=b+1<<16>>16;d=b&65535}while(d>>>0<=c>>>0);o=821}break}case 130:{b=k[J>>2]|0;c=k[J+4>>2]&65535;D=m[P+152>>1]|0;if(!(c>>>0>>0&(b&65535)>>>0>>0))if(!(i[P+561>>0]|0)){o=821;k[a+5888>>2]=2;k[a+5892>>2]=87;break a}else{o=632;k[a+5888>>2]=2;k[a+5892>>2]=86;break a}if((b&65535)>>>0>c>>>0)o=821;else{d=b&65535;b=b&65535;do{D=(k[P+168>>2]|0)+d|0;i[D>>0]=l[D>>0]&254;b=b+1<<16>>16;d=b&65535}while(d>>>0<=c>>>0);o=821}break}case 132:case 131:{b=k[P+416>>2]|0;d=k[P+408>>2]|0;g:do if((d|0)>0){c=b;while(1){if(M<<24>>24==(k[c+12>>2]&255)<<24>>24)if(i[c+16>>0]|0)break;c=c+24|0;if(c>>>0>=(b+(d*24|0)|0)>>>0)break g}b=k[P+428>>2]|0;if((b|0)>=(k[P+432>>2]|0)){o=638;k[a+5888>>2]=2;k[a+5892>>2]=86;break a}e=k[P+436>>2]|0;k[P+428>>2]=b+1;k[e+(b<<4)>>2]=k[P+352>>2];k[e+(b<<4)+4>>2]=(k[P+360>>2]|0)+1;k[e+(b<<4)+8>>2]=1;k[e+(b<<4)+12>>2]=c;e=k[c>>2]|0;b=k[c+4>>2]|0;do if((e+-1|0)>>>0>2)k[P+12>>2]=132;else{c=k[P+444+(e+-1<<3)>>2]|0;if(!c){k[P+12>>2]=138;break}d=k[P+444+(e+-1<<3)+4>>2]|0;if((d|0)<(b|0)){k[P+12>>2]=131;break}else{k[P+356>>2]=c;k[P+364>>2]=d;k[P+360>>2]=b;k[P+352>>2]=e;break}}while(0);i[P+376>>0]=0;o=821;k[a+5888>>2]=2;k[a+5892>>2]=87;break a}while(0);k[P+12>>2]=128;N=b;O=d;o=823;break}case 133:{b=k[J>>2]|0;switch(b&255|0){case 255:{i[P+337>>0]=1;o=821;k[a+5888>>2]=2;k[a+5892>>2]=87;break a}case 0:{i[P+337>>0]=0;o=821;k[a+5888>>2]=2;k[a+5892>>2]=87;break a}default:{if(b&256|0)if((m[P+252>>1]|0)>>>0<=(b&255)>>>0)i[P+337>>0]=1;if(b&512|0)if(i[P+281>>0]|0)i[P+337>>0]=1;if(b&1024|0)if(i[P+282>>0]|0)i[P+337>>0]=1;if(b&2048|0)if((m[P+252>>1]|0)>>>0>(b&255)>>>0)i[P+337>>0]=0;if(b&4096|0)if(i[P+281>>0]|0)i[P+337>>0]=0;if(!(b&8192)){o=821;k[a+5888>>2]=2;k[a+5892>>2]=87;break a}if(!(i[P+282>>0]|0)){o=821;k[a+5888>>2]=2;k[a+5892>>2]=87;break a}i[P+337>>0]=0;o=821;k[a+5888>>2]=2;k[a+5892>>2]=87;break a}}}case 135:case 134:{h=k[J>>2]&65535;if(h>>>0<(m[P+80>>1]|0)>>>0){n=k[J+4>>2]&65535;if(n>>>0<(m[P+116>>1]|0)>>>0){d=k[P+84>>2]|0;e=k[P+120>>2]|0;b=k[d+(h<<3)>>2]|0;c=k[e+(n<<3)>>2]|0;d=k[d+(h<<3)+4>>2]|0;e=k[e+(n<<3)+4>>2]|0;f=(b|0)==(c|0)&(d|0)==(e|0)?16384:b-c|0;g=(M&1)==0|(b|0)==(c|0)&(d|0)==(e|0)?d-e|0:f;f=(M&1)==0|(b|0)==(c|0)&(d|0)==(e|0)?f:0-(d-e)|0;if((((f|0)<0?0-f|0:f)|0)<16384)if((((g|0)<0?0-g|0:g)|0)<16384){if(g|f|0){A=f<<14;B=g<<14;o=678}}else{A=f;B=g;o=678}else{A=f;B=g;o=678}if((o|0)==678){o=0;L=(R2a(A,B)|0)<<2;K=(V2a(A,L)|0)&65535;j[P+290>>1]=K;L=(V2a(B,L)|0)&65535;j[P+292>>1]=L}K=k[P+88>>2]|0;L=k[P+124>>2]|0;H=k[K+(h<<3)>>2]|0;I=k[L+(n<<3)>>2]|0;K=k[K+(h<<3)+4>>2]|0;L=k[L+(n<<3)+4>>2]|0;J=(H|0)==(I|0)&(K|0)==(L|0)?16384:H-I|0;b=(M&1)==0|(b|0)==(c|0)&(d|0)==(e|0)|(H|0)==(I|0)&(K|0)==(L|0);c=b?K-L|0:J;b=b?J:0-(K-L)|0;if((((b|0)<0?0-b|0:b)|0)<16384)if((((c|0)<0?0-c|0:c)|0)<16384){if(c|b|0){C=b<<14;D=c<<14;o=683}}else{C=b;D=c;o=683}else{C=b;D=c;o=683}if((o|0)==683){M=(R2a(C,D)|0)<<2;L=(V2a(C,M)|0)&65535;j[P+294>>1]=L;M=(V2a(D,M)|0)&65535;j[P+296>>1]=M}V$a(P);o=821;k[a+5888>>2]=2;k[a+5892>>2]=87;break a}}if(!(i[P+561>>0]|0))o=821;else{o=673;k[a+5888>>2]=2;k[a+5892>>2]=86;break a}break}default:Q=1}}if(Q){Q=0;switch(G|0){case 136:{c=k[J>>2]|0;b=c&1|0?35:0;if(c&2)b=(i[P+281>>0]|0)==0?b:b|128;if(c&4)b=(i[P+282>>0]|0)==0?b:b|256;if(c&32)b=(i[P+608>>0]|0)==0?b:b|4096;k[J>>2]=b;o=821;break}case 137:{d=k[P+416>>2]|0;e=k[P+408>>2]|0;h:do if((e|0)>0){c=k[J>>2]|0;b=d;while(1){if((k[b+12>>2]|0)==(c|0)){c=b;break h}b=b+24|0;if(b>>>0>=(d+(e*24|0)|0)>>>0){c=b;break}}}else c=d;while(0);if((c|0)==(d+(e*24|0)|0)){if(e>>>0>=(k[P+412>>2]|0)>>>0){o=698;k[a+5888>>2]=2;k[a+5892>>2]=86;break a}k[P+408>>2]=e+1}b=k[J>>2]|0;if(b>>>0>255){o=701;k[a+5888>>2]=2;k[a+5892>>2]=86;break a}k[c+12>>2]=b&255;d=k[P+360>>2]|0;k[c+4>>2]=d+1;k[c>>2]=k[P+352>>2];i[c+16>>0]=1;b=k[J>>2]|0;if(b>>>0>(k[P+424>>2]|0)>>>0)k[P+424>>2]=b&255;e=k[P+364>>2]|0;c=E;b=d;while(1){b=c+b|0;k[P+360>>2]=b;if((b|0)>=(e|0)){o=710;k[a+5888>>2]=2;k[a+5892>>2]=86;break a}d=i[L+b>>0]|0;i[P+368>>0]=d;c=i[590649+(d&255)>>0]|0;k[P+372>>2]=c;if((d&255|1|0)==65){if((b+1|0)>=(e|0)){o=710;k[a+5888>>2]=2;k[a+5892>>2]=86;break a}c=2-(ha(l[L+(b+1)>>0]|0,c)|0)|0;k[P+372>>2]=c}if((c+b|0)>(e|0)){o=710;k[a+5888>>2]=2;k[a+5892>>2]=86;break a}switch(d&255|0){case 44:case 137:{o=712;k[a+5888>>2]=2;k[a+5892>>2]=86;break a}case 45:{o=821;k[a+5888>>2]=2;k[a+5892>>2]=87;break a}default:{}}}}case 138:{E=k[J+8>>2]|0;o=k[J+4>>2]|0;k[J+8>>2]=k[J>>2];k[J+4>>2]=E;k[J>>2]=o;o=821;break}case 139:{b=k[J+4>>2]|0;if((b|0)>(k[J>>2]|0)){k[J>>2]=b;o=821}else o=821;break}case 140:{b=k[J+4>>2]|0;if((b|0)<(k[J>>2]|0)){k[J>>2]=b;o=821}else o=821;break}case 141:{b=k[J>>2]|0;if((b|0)>-1){k[P+340>>2]=b;o=821}else o=821;break}case 142:{c=k[J>>2]|0;b=(k[J+4>>2]|0)+-1|0;if(b>>>0>2)if(!(i[P+561>>0]|0)){o=821;k[a+5888>>2]=2;k[a+5892>>2]=87;break a}else{o=722;k[a+5888>>2]=2;k[a+5892>>2]=86;break a}if((c|0)==0|(1<>0]=l[P+336>>0]&(1<>2]=2;k[a+5892>>2]=87;break a}else if(!(i[P+561>>0]|0)){o=821;k[a+5888>>2]=2;k[a+5892>>2]=87;break a}else{o=725;k[a+5888>>2]=2;k[a+5892>>2]=86;break a}}case 143:{b=k[P+416>>2]|0;d=k[P+408>>2]|0;i:do if((d|0)>0){c=b;while(1){if(M<<24>>24==(k[c+12>>2]&255)<<24>>24)if(i[c+16>>0]|0)break;c=c+24|0;if(c>>>0>=(b+(d*24|0)|0)>>>0)break i}b=k[P+428>>2]|0;if((b|0)>=(k[P+432>>2]|0)){o=731;k[a+5888>>2]=2;k[a+5892>>2]=86;break a}e=k[P+436>>2]|0;k[P+428>>2]=b+1;k[e+(b<<4)>>2]=k[P+352>>2];k[e+(b<<4)+4>>2]=(k[P+360>>2]|0)+1;k[e+(b<<4)+8>>2]=1;k[e+(b<<4)+12>>2]=c;e=k[c>>2]|0;b=k[c+4>>2]|0;do if((e+-1|0)>>>0>2)k[P+12>>2]=132;else{c=k[P+444+(e+-1<<3)>>2]|0;if(!c){k[P+12>>2]=138;break}d=k[P+444+(e+-1<<3)+4>>2]|0;if((d|0)<(b|0)){k[P+12>>2]=131;break}else{k[P+356>>2]=c;k[P+364>>2]=d;k[P+360>>2]=b;k[P+352>>2]=e;break}}while(0);i[P+376>>0]=0;o=821;k[a+5888>>2]=2;k[a+5892>>2]=87;break a}while(0);k[P+12>>2]=128;N=b;O=d;o=823;break}default:Q=1}}if(Q){Q=0;switch(G|0){default:{if((M&255)>223){n=k[J>>2]|0;b=k[J+4>>2]|0;h=k[P+308>>2]|0;e=k[P+320>>2]|0;if((n&65535)>>>0<(m[P+80>>1]|0)>>>0)if((b+1|0)>>>0<((k[P+380>>2]|0)+1|0)>>>0)if((m[P+284>>1]|0)<(m[P+44>>1]|0)){if(!(b+1|0))c=0;else c=gj[k[P+596>>2]&511](P,b)|0;b=k[P+328>>2]|0;L=c-b|0;if((((L|0)<0?0-L|0:L)|0)<(k[P+324>>2]|0))c=(c|0)>-1?b:0-b|0;if(!(j[P+346>>1]|0)){J=m[P+284>>1]|0;L=k[P+48>>2]|0;G=j[P+298>>1]|0;b=0-c|0;H=(c|0)<0?b:c;F=G<<16>>16<0?0-(G<<16>>16)|0:G<<16>>16;E=ha(F,H>>>16)|0;F=(E<<16|8192)+(ha(F,H&65535)|0)|0;I=k[P+84>>2]|0;k[I+((n&65535)<<3)>>2]=((G<<16>>16^c|0)>-1?(F>>>0<(E<<16|8192)>>>0&1)+(E>>>16)<<18|F>>>14:0-((F>>>0<(E<<16|8192)>>>0&1)+(E>>>16)<<18|F>>>14)|0)+(k[L+(J<<3)>>2]|0);F=j[P+300>>1]|0;E=F<<16>>16<0?0-(F<<16>>16)|0:F<<16>>16;G=ha(E,H>>>16)|0;H=(G<<16|8192)+(ha(E,H&65535)|0)|0;k[I+((n&65535)<<3)+4>>2]=((F<<16>>16^c|0)>-1?(H>>>0<(G<<16|8192)>>>0&1)+(G>>>16)<<18|H>>>14:0-((H>>>0<(G<<16|8192)>>>0&1)+(G>>>16)<<18|H>>>14)|0)+(k[L+(J<<3)+4>>2]|0);J=k[I+((n&65535)<<3)+4>>2]|0;L=(k[P+88>>2]|0)+((n&65535)<<3)|0;k[L>>2]=k[I+((n&65535)<<3)>>2];k[L+4>>2]=J}else b=0-c|0;g=k[P+84>>2]|0;f=m[P+284>>1]|0;L=k[P+48>>2]|0;f=Ri[k[P+576>>2]&255](P,(k[g+((n&65535)<<3)>>2]|0)-(k[L+(f<<3)>>2]|0)|0,(k[g+((n&65535)<<3)+4>>2]|0)-(k[L+(f<<3)+4>>2]|0)|0)|0;L=k[P+88>>2]|0;g=m[P+284>>1]|0;d=k[P+52>>2]|0;g=Ri[k[P+572>>2]&255](P,(k[L+((n&65535)<<3)>>2]|0)-(k[d+(g<<3)>>2]|0)|0,(k[L+((n&65535)<<3)+4>>2]|0)-(k[d+(g<<3)+4>>2]|0)|0)|0;b=(f^c|0)<0&(i[P+316>>0]|0)!=0?b:c;d=i[P+368>>0]|0;do if(!(d&4)){c=k[P+264+((d&3)<<2)>>2]|0;if((b|0)>-1){b=(c+b|0)<0?0:c+b|0;break}else{b=(b-c|0)>0?0:b-c|0;break}}else{L=k[P+344>>2]|0;if((L&65535)<<16>>16==(L>>>16&65535)<<16>>16)b=(((b-f|0)<0?0-(b-f)|0:b-f|0)|0)>(e|0)?f:b;b=Ri[k[K>>2]&255](P,b,k[P+264+((d&3)<<2)>>2]|0)|0;d=i[P+368>>0]|0}while(0);do if(d&8)if((f|0)>-1){b=(b|0)<(h|0)?h:b;break}else{b=(b|0)>(0-h|0)?0-h|0:b;break}while(0);vj[k[P+584>>2]&127](P,P+72|0,n&65535,b-g|0);I=i[P+368>>0]|0}else o=746;else o=746;else o=746;if((o|0)==746)if(!(i[P+561>>0]|0))I=M;else{k[P+12>>2]=134;I=M}j[P+286>>1]=j[P+284>>1]|0;if(I&16)j[P+284>>1]=n;j[P+288>>1]=n;o=821;k[a+5888>>2]=2;k[a+5892>>2]=87;break a}if((M&255)>191){n=k[J>>2]|0;h=k[P+308>>2]|0;if((n&65535)>>>0<(m[P+80>>1]|0)>>>0){g=j[P+284>>1]|0;if((g&65535)<(m[P+44>>1]|0)){L=k[P+344>>2]|0;do if(L>>>0<65536|(L&65535)<<16>>16==0){L=k[P+84>>2]|0;c=k[P+48>>2]|0;c=Ri[k[P+576>>2]&255](P,(k[L+((n&65535)<<3)>>2]|0)-(k[c+((g&65535)<<3)>>2]|0)|0,(k[L+((n&65535)<<3)+4>>2]|0)-(k[c+((g&65535)<<3)+4>>2]|0)|0)|0}else{b=k[P+92>>2]|0;c=k[P+56>>2]|0;d=k[P+220>>2]|0;e=k[b+((n&65535)<<3)>>2]|0;f=k[c+((g&65535)<<3)>>2]|0;if((d|0)==(k[P+224>>2]|0)){c=Ri[k[P+576>>2]&255](P,e-f|0,(k[b+((n&65535)<<3)+4>>2]|0)-(k[c+((g&65535)<<3)+4>>2]|0)|0)|0;c=U2a(c,k[P+220>>2]|0)|0;break}else{L=U2a(e-f|0,d)|0;c=U2a((k[b+((n&65535)<<3)+4>>2]|0)-(k[c+((g&65535)<<3)+4>>2]|0)|0,k[P+224>>2]|0)|0;c=Ri[k[P+576>>2]&255](P,L,c)|0;break}}while(0);b=k[P+328>>2]|0;L=c-b|0;if((((L|0)<0?0-L|0:L)|0)<(k[P+324>>2]|0))d=(c|0)>-1?b:0-b|0;else d=c;c=i[P+368>>0]|0;do if(!(c&4)){b=k[P+264+((c&3)<<2)>>2]|0;if((d|0)>-1){b=b+d|0;b=(b|0)<0?0:b;break}else{b=d-b|0;b=(b|0)>0?0:b;break}}else{b=Ri[k[K>>2]&255](P,d,k[P+264+((c&3)<<2)>>2]|0)|0;c=i[P+368>>0]|0}while(0);do if(c&8)if((d|0)>-1){b=(b|0)<(h|0)?h:b;break}else{b=(b|0)>(0-h|0)?0-h|0:b;break}while(0);K=k[P+88>>2]|0;L=k[P+52>>2]|0;H=m[P+284>>1]|0;H=Ri[k[P+572>>2]&255](P,(k[K+((n&65535)<<3)>>2]|0)-(k[L+(H<<3)>>2]|0)|0,(k[K+((n&65535)<<3)+4>>2]|0)-(k[L+(H<<3)+4>>2]|0)|0)|0;vj[k[P+584>>2]&127](P,P+72|0,n&65535,b-H|0);H=i[P+368>>0]|0}else o=773}else o=773;if((o|0)==773)if(!(i[P+561>>0]|0))H=M;else{k[P+12>>2]=134;H=M}j[P+286>>1]=j[P+284>>1]|0;j[P+288>>1]=n;if(!(H&16)){o=821;k[a+5888>>2]=2;k[a+5892>>2]=87;break a}j[P+284>>1]=n;o=821;k[a+5888>>2]=2;k[a+5892>>2]=87;break a}if((M&255)>183){if(((M&255)+65353&65535)>>>0>=(F+1-(k[P+16>>2]|0)|0)>>>0){o=796;k[a+5888>>2]=2;k[a+5892>>2]=86;break a}b=(k[P+360>>2]|0)+1|0;k[P+360>>2]=b;j:do if((M&255)+65353&65535|0){d=0;c=0;while(1){k[P+360>>2]=b+2;k[J+(d<<2)>>2]=(l[L+b>>0]<<8|l[L+(b+1)>>0])<<16>>16;c=c+1<<16>>16;if((c&65535)>>>0>=((M&255)+65353&65535)>>>0)break j;b=k[P+360>>2]|0;d=c&65535}}while(0);i[P+376>>0]=0;o=821;k[a+5888>>2]=2;k[a+5892>>2]=87;break a}if((M&255)>175){if(((M&255)+65361&65535)>>>0>=(F+1-(k[P+16>>2]|0)|0)>>>0){o=804;k[a+5888>>2]=2;k[a+5892>>2]=86;break a}if(!((M&255)+65361&65535)){o=821;k[a+5888>>2]=2;k[a+5892>>2]=87;break a}else{b=1;c=1}while(1){k[J+(b+-1<<2)>>2]=l[L+((k[P+360>>2]|0)+b)>>0];c=c+1<<16>>16;b=c&65535;if(b>>>0>((M&255)+65361&65535)>>>0){o=821;k[a+5888>>2]=2;k[a+5892>>2]=87;break a}}}b=k[P+416>>2]|0;d=k[P+408>>2]|0;k:do if((d|0)>0){c=b;while(1){if(M<<24>>24==(k[c+12>>2]&255)<<24>>24)if(i[c+16>>0]|0)break;c=c+24|0;if(c>>>0>=(b+(d*24|0)|0)>>>0)break k}b=k[P+428>>2]|0;if((b|0)>=(k[P+432>>2]|0)){o=810;k[a+5888>>2]=2;k[a+5892>>2]=86;break a}e=k[P+436>>2]|0;k[P+428>>2]=b+1;k[e+(b<<4)>>2]=k[P+352>>2];k[e+(b<<4)+4>>2]=(k[P+360>>2]|0)+1;k[e+(b<<4)+8>>2]=1;k[e+(b<<4)+12>>2]=c;e=k[c>>2]|0;b=k[c+4>>2]|0;do if((e+-1|0)>>>0>2)k[P+12>>2]=132;else{c=k[P+444+(e+-1<<3)>>2]|0;if(!c){k[P+12>>2]=138;break}d=k[P+444+(e+-1<<3)+4>>2]|0;if((d|0)<(b|0)){k[P+12>>2]=131;break}else{k[P+356>>2]=c;k[P+364>>2]=d;k[P+360>>2]=b;k[P+352>>2]=e;break}}while(0);i[P+376>>0]=0;o=821;k[a+5888>>2]=2;k[a+5892>>2]=87;break a}while(0);k[P+12>>2]=128;N=b;O=d;o=823}}}}k[a+3672>>2]=N;k[a+3680>>2]=O;k[a+5864>>2]=o;k[a+5872>>2]=Q} +function qQa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0;P=0;W=r;r=r+9760|0;if((a|0)==0|(b|0)==0){c=-1;r=W;return c|0}d=k[b+4>>2]|0;if(!d){if((k[a+272>>2]|0)<0)P=361;else if((k[a+276>>2]|0)<0)P=361;if((P|0)==361){k[a+272>>2]=0;k[a+276>>2]=0;k[a+280>>2]=1;S=(k[a+4>>2]|0)+32|0;V=(k[a+8>>2]|0)+32|0;T=k[a+48>>2]|0;U=ha(V,S)|0;vBb(k[a+480>>2]|0,-128,(ha(S>>(T&1^1)<<1,V>>(T>>>1&1^1))|0)+U|0)|0;U=k[a+276>>2]|0;k[a+280>>2]=U;T=a+53976|0;U=a+288+(U*48|0)|0;V=T+48|0;do{k[T>>2]=k[U>>2];T=T+4|0;U=U+4|0}while((T|0)<(V|0))}S=k[a+768>>2]|0;T=k[a+768+4>>2]|0;b=xBb(l[a+793>>0]|0,0,S|0,T|0)|0;b=DBb(b|0,L|0,k[a+60>>2]|0)|0;d=L;U=k[a+776>>2]|0;V=k[a+776+4>>2]|0;T=EBb(U|0,V|0,S|0,T|0)|0;d=xBb(T|0,L|0,b|0,d|0)|0;b=L;k[a+784>>2]=d;k[a+784+4>>2]=b;V=xBb(U|0,V|0,1,0)|0;k[a+776>>2]=V;k[a+776+4>>2]=L;if(!c){c=1;r=W;return c|0}k[c>>2]=d;k[c+4>>2]=b;c=1;r=W;return c|0}xRa(a+51556|0,k[b>>2]|0,d);do{Q=1;if(Q){Q=0;if(!(zRa(a+51556|0)|0)){P=(zRa(a+51556|0)|0)&255;i[a+792>>0]=P;P=(yRa(a+51556|0,6)|0)&255;i[a+795>>0]=P;do if(!(zRa(a+51556|0)|0))i[a+794>>0]=1;else{P=(yRa(a+51556|0,6)|0)&255;i[a+796>>0]=P;if(!(zRa(a+51556|0)|0)){i[a+794>>0]=2;break}else{P=(yRa(a+51556|0,6)|0)&255;i[a+797>>0]=P;i[a+794>>0]=3;break}}while(0);d=i[a+792>>0]|0;if(!(d<<24>>24)){if(yRa(a+51556|0,3)|0){S=-23;break}d=i[a+792>>0]|0;if(!(d<<24>>24)){m=a;n=0;g=k[a+272>>2]|0;h=k[a+276>>2]|0;P=16}else{e=a;f=d;P=14}}else{e=a;f=d;P=14}do if((P|0)==14){d=k[a+272>>2]|0;if((d|0)>=0){b=k[a+276>>2]|0;if((b|0)>=0){m=e;n=f;g=d;h=b;P=16;break}}k[a+272>>2]=0;k[a+276>>2]=0;k[a+280>>2]=1;y=(k[a+4>>2]|0)+32|0;O=(k[a+8>>2]|0)+32|0;o=k[a+48>>2]|0;R=ha(O,y)|0;vBb(k[a+480>>2]|0,-128,(ha(y>>(o&1^1)<<1,O>>(o>>>1&1^1))|0)+R|0)|0;R=e;o=i[a+792>>0]|0;O=k[a+280>>2]|0}while(0);if((P|0)==16){d=0;while(1)if((d|0)==(g|0)|(d|0)==(h|0))d=d+1|0;else break;k[a+280>>2]=d;R=m;o=n;O=d}t=1;if(t){t=0;if(!(o<<24>>24)){h=k[a+252>>2]|0;m=k[a+220>>2]|0;n=k[a+224>>2]|0;o=k[a+204>>2]|0;p=0;q=0;s=0;b=0;while(1){p=(k[a+108+(q<<5)+28>>2]|0)+p|0;if(b>>>0

>>0){d=s;do{g=n+b|0;f=0;do{if((l[g>>0]|0)>>>2&15&1<>2]|0;if((e|0)>-1){k[o+(e<<2)>>2]=k[o+(e<<2)>>2]&-1794|257;k[h+(d<<2)>>2]=e;d=d+1|0}e=k[m+(b<<6)+(f<<4)+4>>2]|0;if((e|0)>-1){k[o+(e<<2)>>2]=k[o+(e<<2)>>2]&-1794|257;k[h+(d<<2)>>2]=e;d=d+1|0}e=k[m+(b<<6)+(f<<4)+8>>2]|0;if((e|0)>-1){k[o+(e<<2)>>2]=k[o+(e<<2)>>2]&-1794|257;k[h+(d<<2)>>2]=e;d=d+1|0}e=k[m+(b<<6)+(f<<4)+12>>2]|0;if((e|0)>-1){k[o+(e<<2)>>2]=k[o+(e<<2)>>2]&-1794|257;k[h+(d<<2)>>2]=e;d=d+1|0}}f=f+1|0}while((f|0)!=4);b=b+1|0}while((b|0)!=(p|0));b=p}else d=s;k[a+256+(q<<2)>>2]=d-s;q=q+1|0;if((q|0)==3)break;else s=d}k[a+268>>2]=d;p=k[a+776+4>>2]|0;k[a+768>>2]=k[a+776>>2];k[a+768+4>>2]=p;p=d}else t=1}if(t)if(1){d=zRa(a+51556|0)|0;n=k[a+224>>2]|0;o=k[a+228>>2]|0;if(!o)d=0;else{h=0;m=0;while(1){g=rQa(a+51556|0)|0;b=(d&255)<<1&2;f=m+1|0;f=m-(o>>>0>f>>>0?o:f)|0;f=f>>>0<(0-g|0)>>>0?0-g|0:f;e=m;m=m-f|0;do{y=n+e|0;i[y>>0]=i[y>>0]&-4|b;e=e+1|0}while((e|0)!=(m|0));q=ha(f,d)|0;b=m>>>0>>0;e=h-q|0;if(g>>>0>4128&b)d=zRa(a+51556|0)|0;else d=(d|0)==0&1;if(!b){p=h;break}else h=e}o=k[a+228>>2]|0;a:do if(e>>>0>>0){n=k[a+224>>2]|0;d=0;while(1)if(!(i[n+d>>0]&2))break;else d=d+1|0;e=zRa(a+51556|0)|0;b=rQa(a+51556|0)|0;if(d>>>0>>0)do{m=e&1;f=b;while(1){g=n+d|0;h=i[g>>0]|0;if(!(h&2)){if(!f)break;i[g>>0]=h&-2|m;f=f+-1|0}d=d+1|0;if(d>>>0>=o>>>0)break a}if(b>>>0<4129)e=(e|0)==0&1;else e=zRa(a+51556|0)|0;b=rQa(a+51556|0)|0}while(d>>>0>>0)}while(0);if((p|0)==(q|0))d=0;else d=(zRa(a+51556|0)|0)==0&1}u=k[a+220>>2]|0;v=k[a+224>>2]|0;w=k[a+204>>2]|0;x=k[a+252>>2]|0;y=k[a+216>>2]|0;b=d;q=0;s=0;g=0;t=0;e=0;f=0;while(1){s=(k[a+108+(t<<5)+28>>2]|0)+s|0;if(f>>>0>>0){d=q;do{p=v+f|0;o=0;do{if((l[p>>0]|0)>>>2&15&1<>2]|0;if((m|0)>-1){h=i[p>>0]|0;do if(!(h&1)){if(h&2){if((e|0)<1){e=yRa(a+51556|0,2)|0;do if(!(e&2))e=e+1|0;else{if(!(e&1)){e=(zRa(a+51556|0)|0)+3|0;break}e=yRa(a+51556|0,2)|0;if(!(e&2)){e=e+5|0;break}if(!(e&1)){e=(yRa(a+51556|0,2)|0)+7|0;break}e=yRa(a+51556|0,3)|0;if(!(e&4)){e=e+11|0;break}else{e=(e<<2&12)+15+(yRa(a+51556|0,2)|0)|0;break}}while(0);b=(b|0)==0&1}e=e+-1|0;if(!b)b=0;else{D=b;F=b;G=e;P=80;break}}k[x+(y+~g<<2)>>2]=m;E=0;A=b;B=d;C=g+1|0;z=e}else{D=1;F=b;G=e;P=80}while(0);if((P|0)==80){P=0;k[x+(d<<2)>>2]=m;E=D;A=F;B=d+1|0;C=g;z=G}k[w+(m<<2)>>2]=k[w+(m<<2)>>2]&-2|E&1;b=A;d=B;g=C;e=z}n=n+1|0}while((n|0)!=4)}o=o+1|0}while((o|0)!=4);f=f+1|0}while((f|0)!=(s|0));f=s}else d=q;k[a+256+(t<<2)>>2]=d-q;t=t+1|0;if((t|0)==3)break;else q=d}k[a+268>>2]=d;d=yRa(a+51556|0,3)|0;if(!d){k[W>>2]=0;k[W+4>>2]=0;n=W+(yRa(a+51556|0,3)|0)|0;i[n>>0]=0;n=W+(yRa(a+51556|0,3)|0)|0;i[n>>0]=1;n=W+(yRa(a+51556|0,3)|0)|0;i[n>>0]=2;n=W+(yRa(a+51556|0,3)|0)|0;i[n>>0]=3;n=W+(yRa(a+51556|0,3)|0)|0;i[n>>0]=4;n=W+(yRa(a+51556|0,3)|0)|0;i[n>>0]=5;n=W+(yRa(a+51556|0,3)|0)|0;i[n>>0]=6;n=W+(yRa(a+51556|0,3)|0)|0;i[n>>0]=7;n=W}else n=527226+(d+-1<<3)|0;m=(d|0)==7?1533:1534;d=k[a+236>>2]|0;b=k[a+232>>2]|0;e=k[a+248>>2]|0;f=k[a+204>>2]|0;if(e|0){h=0;do{g=d+h|0;do if((i[g>>0]|0)!=-1){if(!(k[f+(k[b+(h*48|0)>>2]<<2)>>2]&1))if(!(k[f+(k[b+(h*48|0)+4>>2]<<2)>>2]&1))if(!(k[f+(k[b+(h*48|0)+8>>2]<<2)>>2]&1))if(!(k[f+(k[b+(h*48|0)+12>>2]<<2)>>2]&1)){i[g>>0]=0;break}G=n+(Gi[m&2047](a+51556|0)|0)|0;i[g>>0]=i[G>>0]|0}while(0);h=h+1|0}while((h|0)!=(e|0))}v=k[46120+(k[a+48>>2]<<2)>>2]|0;w=(zRa(a+51556|0)|0)!=0;w=w?1535:1536;x=k[a+48>>2]|0;y=l[527550+x>>0]|0;z=k[a+204>>2]|0;A=k[a+212>>2]|0;B=k[a+232>>2]|0;C=k[a+236>>2]|0;D=k[a+248>>2]|0;if(D|0){s=0;m=0;f=0;t=0;E=0;u=0;g=0;while(1){q=i[C+E>>0]|0;if(q<<24>>24==-1){h=s;e=t;b=u;d=g}else{e=0;d=0;do{b=l[527502+(x*12|0)+e>>0]|0;if(k[z+(k[B+(E*48|0)+(b>>>2<<4)+((b&3)<<2)>>2]<<2)>>2]&1){k[W+3064+(d<<2)>>2]=b;d=d+1|0}e=e+1|0}while((e|0)<(y|0));p=d;if((p|0)<1){h=s;e=t;b=u;d=g}else{b:do switch(q<<24>>24|0){case 7:{k[W+3064+(p<<2)>>2]=-1;d=k[W+3064>>2]|0;if(!d){d=k[B+(E*48|0)>>2]|0;k[z+(d<<2)>>2]=k[z+(d<<2)>>2]|1792;b=(Gi[w&2047](a+51556|0)|0)&255;i[W+3056>>0]=b;b=(Gi[w&2047](a+51556|0)|0)&255;i[W+3056+1>>0]=b;b=j[W+3056>>1]|0;i[A+(d<<1)>>0]=b;i[A+(d<<1)+1>>0]=b>>8;d=k[W+3064+4>>2]|0;b=1}else{i[W+3056+1>>0]=0;i[W+3056>>0]=0;b=0}if((d|0)==1){b=b+1|0;d=k[B+(E*48|0)+4>>2]|0;k[z+(d<<2)>>2]=k[z+(d<<2)>>2]|1792;G=(Gi[w&2047](a+51556|0)|0)&255;i[W+3056+2>>0]=G;G=(Gi[w&2047](a+51556|0)|0)&255;i[W+3056+3>>0]=G;G=j[W+3056+2>>1]|0;i[A+(d<<1)>>0]=G;i[A+(d<<1)+1>>0]=G>>8;d=k[W+3064+(b<<2)>>2]|0}else{i[W+3056+3>>0]=0;i[W+3056+2>>0]=0}if((d|0)==2){b=b+1|0;d=k[B+(E*48|0)+8>>2]|0;k[z+(d<<2)>>2]=k[z+(d<<2)>>2]|1792;G=(Gi[w&2047](a+51556|0)|0)&255;i[W+3056+4>>0]=G;G=(Gi[w&2047](a+51556|0)|0)&255;i[W+3056+5>>0]=G;G=j[W+3056+4>>1]|0;i[A+(d<<1)>>0]=G;i[A+(d<<1)+1>>0]=G>>8;d=k[W+3064+(b<<2)>>2]|0}else{i[W+3056+5>>0]=0;i[W+3056+4>>0]=0}if((d|0)==3){I=k[B+(E*48|0)+12>>2]|0;k[z+(I<<2)>>2]=k[z+(I<<2)>>2]|1792;P=(Gi[w&2047](a+51556|0)|0)&255;i[W+3056+6>>0]=P;P=(Gi[w&2047](a+51556|0)|0)&255;i[W+3056+7>>0]=P;P=j[W+3056+6>>1]|0;i[A+(I<<1)>>0]=P;i[A+(I<<1)+1>>0]=P>>8;I=b+1|0;P=112}else{i[W+3056+7>>0]=0;i[W+3056+6>>0]=0;if((b|0)>0){I=b;P=112}else{H=0;J=s;K=m;M=f;N=t}}if((P|0)==112){P=0;K=k[W+3064+(I+-1<<2)>>2]|0;H=I;J=i[W+3056+(K<<1)>>0]|0;K=i[W+3056+(K<<1)+1>>0]|0;M=s;N=m}if((H|0)>=(p|0)){h=J;n=K;o=M;e=N;b=u;break b}Di[v&511](W,W+3056|0);d=H;do{F=k[W+3064+(d<<2)>>2]|0;G=k[B+(E*48|0)+(F>>2<<4)+((F&3)<<2)>>2]|0;k[z+(G<<2)>>2]=k[z+(G<<2)>>2]|1792;F=l[W+((F&3)<<1)>>0]|l[W+((F&3)<<1)+1>>0]<<8;i[A+(G<<1)>>0]=F;i[A+(G<<1)+1>>0]=F>>8;d=d+1|0}while((d|0)!=(p|0));h=J;n=K;o=M;e=N;b=u;break}case 2:{b=(Gi[w&2047](a+51556|0)|0)&255;g=(Gi[w&2047](a+51556|0)|0)&255;h=b;n=g;o=s;e=m;break}case 3:{h=s;n=m;o=f;e=t;b=s;g=m;break}case 4:{h=f;n=t;o=s;e=m;b=f;g=t;break}case 6:{b=(Gi[w&2047](a+51556|0)|0)&255;h=s;n=m;o=f;e=t;g=(Gi[w&2047](a+51556|0)|0)&255;break}default:{h=s;n=m;o=f;e=t;b=0;g=0}}while(0);if(q<<24>>24!=7&(p|0)>0){d=0;do{G=k[W+3064+(d<<2)>>2]|0;G=k[B+(E*48|0)+(G>>2<<4)+((G&3)<<2)>>2]|0;k[z+(G<<2)>>2]=k[z+(G<<2)>>2]&-1793|q<<24>>24<<8&1792;i[A+(G<<1)>>0]=b;i[A+(G<<1)+1>>0]=g;d=d+1|0}while((d|0)!=(p|0));m=n;f=o;d=g}else{m=n;f=o;d=g}}}E=E+1|0;if((E|0)==(D|0))break;else{s=h;t=e;u=b;g=d}}}p=k[a+268>>2]|0}c:do if((p|0)>=1){n=k[a+204>>2]|0;o=k[a+252>>2]|0;if((i[a+794>>0]|0)==1){d=0;while(1){N=n+(k[o+(d<<2)>>2]<<2)|0;k[N>>2]=k[N>>2]&-253;d=d+1|0;if((d|0)==(p|0))break c}}b=zRa(a+51556|0)|0;e=0;d=0;while(1){m=rQa(a+51556|0)|0;h=b<<2&252;g=m;while(1){f=e+1|0;N=n+(k[o+(e<<2)>>2]<<2)|0;k[N>>2]=k[N>>2]&-253|h;d=d+b|0;if((g|0)<=1)break;if((f|0)<(p|0)){e=f;g=g+-1|0}else break}e=(f|0)<(p|0);if((m|0)>4128&e)b=zRa(a+51556|0)|0;else b=(b|0)==0&1;if(e)e=f;else break}if((d|0)>0&(i[a+794>>0]|0)==3){d=0;while(1)if(!(k[n+(k[o+(d<<2)>>2]<<2)>>2]&252))d=d+1|0;else break;e=zRa(a+51556|0)|0;b=rQa(a+51556|0)|0;if((d|0)<(p|0))do{f=b;while(1){g=n+(k[o+(d<<2)>>2]<<2)|0;h=k[g>>2]|0;if(h>>>2&63){if((f|0)<1)break;k[g>>2]=(h>>>2)+e<<2&252|h&-253;f=f+-1|0}d=d+1|0;if((d|0)>=(p|0))break c}if((b|0)<4129)e=(e|0)==0&1;else e=zRa(a+51556|0)|0;b=rQa(a+51556|0)|0}while((d|0)<(p|0))}}while(0);d=k[a+256>>2]|0;b=0;do{k[W+3064+(b<<2)>>2]=d;b=b+1|0}while((b|0)!=64);d=k[a+260>>2]|0;b=0;do{k[W+3064+256+(b<<2)>>2]=d;b=b+1|0}while((b|0)!=64);d=k[a+264>>2]|0;b=0;do{k[W+3064+512+(b<<2)>>2]=d;b=b+1|0}while((b|0)!=64);H=yRa(a+51556|0,4)|0;k[W+3056>>2]=H;H=yRa(a+51556|0,4)|0;k[W+3056+4>>2]=H;k[a+52664>>2]=0;H=k[a+53432>>2]|0;G=k[a+204>>2]|0;F=k[a+252>>2]|0;I=0;J=0;K=0;M=0;N=0;k[W+3856>>2]=a;k[W+3872>>2]=c;k[W+3904>>2]=S;k[W+4256>>2]=R;k[W+6360>>2]=F;k[W+6376>>2]=G;k[W+6408>>2]=H;k[W+7544>>2]=I;k[W+7824>>2]=J;k[W+8320>>2]=K;k[W+8760>>2]=M;k[W+8848>>2]=O;k[W+9200>>2]=N;k[W+9632>>2]=T;k[W+9648>>2]=U;k[W+9656>>2]=V;k[W+9688>>2]=P;k[W+9712>>2]=0;k[W+9716>>2]=0;mXa(W);S=k[W+3904>>2]|0}else Q=1}if(Q)if(1)S=-24}while(0);c=S;r=W;return c|0}function rQa(a){a=a|0;var b=0;if(!(zRa(a)|0)){a=1;return a|0}b=yRa(a,2)|0;if(!(b&2)){a=b+2|0;return a|0}if(!(b&1)){a=(zRa(a)|0)+4|0;return a|0}b=yRa(a,3)|0;if(!(b&4)){a=b+6|0;return a|0}if(!(b&2)){a=(yRa(a,2)|0)+((b&1)<<2|10)|0;return a|0}if(!(b&1)){a=(yRa(a,4)|0)+18|0;return a|0}else{a=(yRa(a,12)|0)+34|0;return a|0}return 0}function sQa(a){a=a|0;return yRa(a,3)|0}function tQa(a){a=a|0;if(!(zRa(a)|0))a=0;else if(!(zRa(a)|0))a=1;else if(!(zRa(a)|0))a=2;else if(!(zRa(a)|0))a=3;else if(!(zRa(a)|0))a=4;else if(!(zRa(a)|0))a=5;else{a=(zRa(a)|0)==0;return (a?6:7)|0}return a|0}function uQa(a){a=a|0;a=yRa(a,6)|0;return (a>>1)-(a&1)^0-(a&1)|0}function vQa(a){a=a|0;var b=0,c=0;b=yRa(a,3)|0;switch(b|0){case 2:{c=-1;return c|0}case 4:case 3:{c=zRa(a)|0;a=b+-1|0;break}case 1:case 0:{c=b;return c|0}default:{a=yRa(a,b+-2|0)|0;c=a&1;a=(a>>1)+(1<>0]|0;k[w>>2]=j;m=i[c+d>>0]|0;k[w+4>>2]=m&255;n=l[c+(d<<1)>>0]|0;k[w+8>>2]=n;o=l[c+(d*3|0)>>0]|0;k[w+12>>2]=o;p=l[c+(d<<2)>>0]|0;k[w+16>>2]=p;q=l[c+(d*5|0)>>0]|0;k[w+20>>2]=q;x=l[c+(d*6|0)>>0]|0;k[w+24>>2]=x;z=l[c+(d*7|0)>>0]|0;k[w+28>>2]=z;A=l[c+(d<<3)>>0]|0;k[w+32>>2]=A;B=l[c+(d*9|0)>>0]|0;k[w+36>>2]=B;y=((p-o|0)>-1?p-o|0:0-(p-o)|0)+(((o-n|0)>-1?o-n|0:0-(o-n)|0)+(((n-(m&255)|0)>-1?n-(m&255)|0:0-(n-(m&255))|0)+(((m&255)-j|0)>-1?(m&255)-j|0:0-((m&255)-j)|0)))|0;x=((A-B|0)>-1?A-B|0:0-(A-B)|0)+(((z-A|0)>-1?z-A|0:0-(z-A)|0)+(((x-z|0)>-1?x-z|0:0-(x-z)|0)+((q-x|0)>-1?q-x|0:0-(q-x)|0)))|0;k[g>>2]=(k[g>>2]|0)+((y|0)<255?y:255);k[h>>2]=(k[h>>2]|0)+((x|0)<255?x:255);if((y|0)<(f|0)&(x|0)<(f|0))if((q-p|0)<(e|0)&(p-q|0)<(e|0)){i[a>>0]=(p+4+(j*3|0)+((m&255)<<1)+n+o|0)>>>3;i[a+b>>0]=((k[w+4>>2]|0)+4+(k[w+12>>2]|0)+(k[w+16>>2]|0)+(k[w+20>>2]|0)+((k[w+8>>2]|0)+(k[w>>2]|0)<<1)|0)>>>3;i[a+(b<<1)>>0]=((k[w>>2]|0)+4+(k[w+4>>2]|0)+(k[w+8>>2]|0)+(k[w+12>>2]<<1)+(k[w+16>>2]|0)+(k[w+20>>2]|0)+(k[w+24>>2]|0)|0)>>>3;i[a+(b*3|0)>>0]=((k[w+4>>2]|0)+4+(k[w+8>>2]|0)+(k[w+12>>2]|0)+(k[w+16>>2]<<1)+(k[w+20>>2]|0)+(k[w+24>>2]|0)+(k[w+28>>2]|0)|0)>>>3;i[a+(b<<2)>>0]=((k[w+8>>2]|0)+4+(k[w+12>>2]|0)+(k[w+16>>2]|0)+(k[w+20>>2]<<1)+(k[w+24>>2]|0)+(k[w+28>>2]|0)+(k[w+32>>2]|0)|0)>>>3;i[a+(b*5|0)>>0]=((k[w+12>>2]|0)+4+(k[w+16>>2]|0)+(k[w+20>>2]|0)+(k[w+24>>2]<<1)+(k[w+28>>2]|0)+(k[w+32>>2]|0)+(k[w+36>>2]|0)|0)>>>3;i[t>>0]=((k[w+16>>2]|0)+4+(k[w+20>>2]|0)+(k[w+24>>2]|0)+(k[w+32>>2]|0)+((k[w+36>>2]|0)+(k[w+28>>2]|0)<<1)|0)>>>3;i[u+(b<<1)>>0]=((k[w+20>>2]|0)+4+(k[w+24>>2]|0)+(k[w+28>>2]|0)+(k[w+32>>2]<<1)+((k[w+36>>2]|0)*3|0)|0)>>>3}else v=3;else v=3;if((v|0)==3){v=0;i[a>>0]=m;i[a+b>>0]=k[w+8>>2];i[a+(b<<1)>>0]=k[w+12>>2];i[a+(b*3|0)>>0]=k[w+16>>2];i[a+(b<<2)>>0]=k[w+20>>2];i[a+(b*5|0)>>0]=k[w+24>>2];i[a+(b*6|0)>>0]=k[w+28>>2];i[a+(b*7|0)>>0]=k[w+32>>2]}s=s+1|0;if((s|0)==8)break;else{t=t+1|0;u=u+1|0;a=a+1|0;c=c+1|0}}r=w;return}function xQa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0;s=r;r=r+48|0;o=0;p=a;q=a+6|0;n=a+5|0;while(1){a=l[p+-1>>0]|0;k[s>>2]=a;f=l[p>>0]|0;k[s+4>>2]=f;g=l[p+1>>0]|0;k[s+8>>2]=g;h=l[p+2>>0]|0;k[s+12>>2]=h;j=l[p+3>>0]|0;k[s+16>>2]=j;m=l[p+4>>0]|0;k[s+20>>2]=m;t=l[p+5>>0]|0;k[s+24>>2]=t;v=l[p+6>>0]|0;k[s+28>>2]=v;w=l[p+7>>0]|0;k[s+32>>2]=w;x=l[p+8>>0]|0;k[s+36>>2]=x;u=((j-h|0)>-1?j-h|0:0-(j-h)|0)+(((h-g|0)>-1?h-g|0:0-(h-g)|0)+(((g-f|0)>-1?g-f|0:0-(g-f)|0)+((f-a|0)>-1?f-a|0:0-(f-a)|0)))|0;t=((w-x|0)>-1?w-x|0:0-(w-x)|0)+(((v-w|0)>-1?v-w|0:0-(v-w)|0)+(((t-v|0)>-1?t-v|0:0-(t-v)|0)+((m-t|0)>-1?m-t|0:0-(m-t)|0)))|0;k[e>>2]=(k[e>>2]|0)+((u|0)<255?u:255);k[e+4>>2]=(k[e+4>>2]|0)+((t|0)<255?t:255);if((u|0)<(d|0)&(t|0)<(d|0))if((m-j|0)<(c|0)&(j-m|0)<(c|0)){i[p>>0]=(j+4+(a*3|0)+(f<<1)+g+h|0)>>>3;i[p+1>>0]=((k[s+4>>2]|0)+4+(k[s+12>>2]|0)+(k[s+16>>2]|0)+(k[s+20>>2]|0)+((k[s+8>>2]|0)+(k[s>>2]|0)<<1)|0)>>>3;i[p+2>>0]=((k[s>>2]|0)+4+(k[s+4>>2]|0)+(k[s+8>>2]|0)+(k[s+12>>2]<<1)+(k[s+16>>2]|0)+(k[s+20>>2]|0)+(k[s+24>>2]|0)|0)>>>3;i[p+3>>0]=((k[s+4>>2]|0)+4+(k[s+8>>2]|0)+(k[s+12>>2]|0)+(k[s+16>>2]<<1)+(k[s+20>>2]|0)+(k[s+24>>2]|0)+(k[s+28>>2]|0)|0)>>>3;i[p+4>>0]=((k[s+8>>2]|0)+4+(k[s+12>>2]|0)+(k[s+16>>2]|0)+(k[s+20>>2]<<1)+(k[s+24>>2]|0)+(k[s+28>>2]|0)+(k[s+32>>2]|0)|0)>>>3;i[p+5>>0]=((k[s+12>>2]|0)+4+(k[s+16>>2]|0)+(k[s+20>>2]|0)+(k[s+24>>2]<<1)+(k[s+28>>2]|0)+(k[s+32>>2]|0)+(k[s+36>>2]|0)|0)>>>3;i[q>>0]=((k[s+16>>2]|0)+4+(k[s+20>>2]|0)+(k[s+24>>2]|0)+(k[s+32>>2]|0)+((k[s+36>>2]|0)+(k[s+28>>2]|0)<<1)|0)>>>3;i[n+2>>0]=((k[s+20>>2]|0)+4+(k[s+24>>2]|0)+(k[s+28>>2]|0)+(k[s+32>>2]<<1)+((k[s+36>>2]|0)*3|0)|0)>>>3}o=o+1|0;if((o|0)==8)break;else{p=p+b|0;q=q+b|0;n=n+b|0}}r=s;return}function yQa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0;s=r;r=r+576|0;q=l[527302+f>>0]|0;q=(q|0)<(d*3|0)?q:d*3|0;p=l[527304+f>>0]|0;m=0;j=a+(0-(0-(c>>>2&1^1)&b))|0;n=a;while(1){g=m<<3;h=0;do{f=(l[n+h>>0]|0)-(l[j+h>>0]|0)|0;f=d+32-(((f|0)>-1?f:0-f|0)<0?f:0}k[s+288+(h+g<<2)>>2]=f;h=h+1|0}while((h|0)!=8);f=n+(0-((m|0)<7|c>>>3&1^1)&b)|0;m=m+1|0;if((m|0)==9)break;else{j=n;n=f}}n=0;o=a;f=a+(0-(c&1^1))|0;while(1){j=n<<3;m=0;h=o;while(1){g=(l[h>>0]|0)-(l[f>>0]|0)|0;g=d+32-(((g|0)>-1?g:0-g|0)<0?g:0}k[s+(m+j<<2)>>2]=g;m=m+1|0;if((m|0)==8)break;else{f=f+b|0;h=h+b|0}}f=o+((n|0)<7|c>>>1&1^1)|0;n=n+1|0;if((n|0)==9)break;else{m=o;o=f;f=m}}o=0;p=a;q=a+b|0;m=a+(0-(0-(c>>>2&1^1)&b))|0;n=a;while(1){d=k[s+(o<<2)>>2]|0;t=(ha(l[n+(0-(c&1^1))>>0]|0,d)|0)+64|0;f=o<<3;e=k[s+288+(f<<2)>>2]|0;t=t+(ha(l[m>>0]|0,e)|0)|0;j=o;o=o+1|0;g=o<<3;a=k[s+288+(g<<2)>>2]|0;t=t+(ha(l[q>>0]|0,a)|0)|0;h=k[s+(j+8<<2)>>2]|0;t=t+(ha(l[n+1>>0]|0,h)|0)|0;h=t+(ha(l[n>>0]|0,128-d-e-a-h|0)|0)>>7;i[p>>0]=(h>>>31)+255&((h|0)>255?255:h);h=1;do{u=k[s+((h<<3)+j<<2)>>2]|0;v=(ha(l[n+(h+-1)>>0]|0,u)|0)+64|0;d=k[s+288+(h+f<<2)>>2]|0;v=v+(ha(l[m+h>>0]|0,d)|0)|0;e=k[s+288+(h+g<<2)>>2]|0;v=v+(ha(l[q+h>>0]|0,e)|0)|0;t=h;h=h+1|0;a=k[s+((h<<3)+j<<2)>>2]|0;v=v+(ha(l[n+h>>0]|0,a)|0)|0;a=v+(ha(l[n+t>>0]|0,128-u-d-e-a|0)|0)>>7;i[p+t>>0]=(a>>>31)+255&((a|0)>255?255:a)}while((h|0)!=7);t=k[s+(j+56<<2)>>2]|0;a=(ha(l[n+6>>0]|0,t)|0)+64|0;u=k[s+288+((f|7)<<2)>>2]|0;a=a+(ha(l[m+7>>0]|0,u)|0)|0;v=k[s+288+((g|7)<<2)>>2]|0;a=a+(ha(l[q+7>>0]|0,v)|0)|0;f=k[s+(j+64<<2)>>2]|0;a=a+(ha(l[n+(8-(c>>>1&1))>>0]|0,f)|0)|0;f=a+(ha(l[n+7>>0]|0,128-t-u-v-f|0)|0)>>7;i[p+7>>0]=(f>>>31)+255&((f|0)>255?255:f);f=q+(0-((j|0)<6|c>>>3&1^1)&b)|0;if((o|0)==8)break;else{v=q;m=n;p=p+b|0;q=f;n=v}}r=s;return}function zQa(a,b){a=a|0;b=b|0;if((a|0)==0|(b|0)==0){b=-1;return b|0}fRa(b,a+53976|0);b=0;return b|0}function AQa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0,p=0,q=0;q=r;r=r+512|0;c=yRa(a,3)|0;d=0;do{o=(yRa(a,c)|0)&255;i[b+256+d>>0]=o;d=d+1|0}while((d|0)!=64);c=(yRa(a,4)|0)+1|0;d=0;do{o=(yRa(a,c)|0)&65535;j[b+128+(d<<1)>>1]=o;d=d+1|0}while((d|0)!=64);c=(yRa(a,4)|0)+1|0;d=0;do{o=(yRa(a,c)|0)&65535;j[b+(d<<1)>>1]=o;d=d+1|0}while((d|0)!=64);n=yRa(a,9)|0;o=hqb(n+1<<6)|0;if(!o){p=-1;r=q;return p|0}if((n|0)>-1){c=0;do{d=0;do{m=(yRa(a,8)|0)&255;i[o+(c<<6)+d>>0]=m;d=d+1|0}while((d|0)!=64);c=c+1|0}while((c|0)<(n+1|0))}l=eRa(n)|0;m=0;a:while(1){f=(m|0)/3|0;h=(m|0)%3|0;if((m|0)>0)if(!(zRa(a)|0)){do if((m|0)>2)if(!(zRa(a)|0)){d=m+-1|0;c=(d|0)%3|0;d=(d|0)/3|0;break}else{c=h;d=f+-1|0;break}else{d=m+-1|0;c=(d|0)%3|0;d=(d|0)/3|0}while(0);g=b+320+(d*36|0)+(c*12|0)|0;k[b+320+(f*36|0)+(h*12|0)>>2]=k[g>>2];k[b+320+(f*36|0)+(h*12|0)+4>>2]=k[g+4>>2];k[b+320+(f*36|0)+(h*12|0)+8>>2]=k[g+8>>2]}else p=21;else p=21;b:do if((p|0)==21){p=0;c=yRa(a,l)|0;k[q>>2]=c;c=0;d=0;do{e=(yRa(a,eRa(62-c|0)|0)|0)+1|0;k[q+256+(d<<2)>>2]=e;c=e+c|0;e=yRa(a,l)|0;d=d+1|0;k[q+(d<<2)>>2]=e}while((c|0)<63);if((c|0)>63){p=24;break a}k[b+320+(f*36|0)+(h*12|0)>>2]=d;c=hqb(d<<2)|0;k[b+320+(f*36|0)+(h*12|0)+4>>2]=c;if(!c){p=26;break a}ABb(c|0,q+256|0,d<<2|0)|0;g=hqb((d<<6)+64|0)|0;if(!g){p=28;break a}k[b+320+(f*36|0)+(h*12|0)+8>>2]=g;if((e|0)<(n+1|0)){c=e;e=d}else{p=30;break a}while(1){f=g+(e<<6)|0;c=o+(c<<6)|0;d=f+64|0;do{i[f>>0]=i[c>>0]|0;f=f+1|0;c=c+1|0}while((f|0)<(d|0));if((e|0)<=0)break b;e=e+-1|0;c=k[q+(e<<2)>>2]|0;if((c|0)>=(n+1|0)){p=30;break a}}}while(0);m=m+1|0;if((m|0)>=6){p=34;break}}if((p|0)==24){iqb(o);p=-20;r=q;return p|0}else if((p|0)==26){iqb(o);p=-1;r=q;return p|0}else if((p|0)==28){iqb(o);p=-1;r=q;return p|0}else if((p|0)==30){iqb(o);p=-20;r=q;return p|0}else if((p|0)==34){iqb(o);p=0;r=q;return p|0}return 0}function BQa(a){a=a|0;var b=0,c=0,d=0,e=0;d=5;b=6;while(1){c=(d|0)/3|0;e=(d|0)%3|0;if((b|0)>1){b=b+-2|0;if((k[a+320+(c*36|0)+(e*12|0)+4>>2]|0)==(k[a+320+(((b|0)/3|0)*36|0)+(((b|0)%3|0)*12|0)+4>>2]|0))k[a+320+(c*36|0)+(e*12|0)+4>>2]=0;if((k[a+320+(c*36|0)+(e*12|0)+8>>2]|0)==(k[a+320+(((b|0)/3|0)*36|0)+(((b|0)%3|0)*12|0)+8>>2]|0))k[a+320+(c*36|0)+(e*12|0)+8>>2]=0}if((d|0)>2){if((k[a+356+(e*12|0)+4>>2]|0)==(k[a+320+(e*12|0)+4>>2]|0))k[a+356+(e*12|0)+4>>2]=0;if((k[a+356+(e*12|0)+8>>2]|0)==(k[a+320+(e*12|0)+8>>2]|0))k[a+356+(e*12|0)+8>>2]=0}iqb(k[a+320+(c*36|0)+(e*12|0)+4>>2]|0);iqb(k[a+320+(c*36|0)+(e*12|0)+8>>2]|0);if((d|0)>0){b=d;d=d+-1|0}else break}return}function CQa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;kj[k[a+64>>2]&255](b,c,d);return}function DQa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24;d=l[b+4>>0]|l[b+4+1>>0]<<8|l[b+4+2>>0]<<16|l[b+4+3>>0]<<24;i[a>>0]=f;i[a+1>>0]=f>>8;i[a+2>>0]=f>>16;i[a+3>>0]=f>>24;i[a+4>>0]=d;i[a+4+1>>0]=d>>8;i[a+4+2>>0]=d>>16;i[a+4+3>>0]=d>>24;d=l[b+c>>0]|l[b+c+1>>0]<<8|l[b+c+2>>0]<<16|l[b+c+3>>0]<<24;f=l[b+c+4>>0]|l[b+c+4+1>>0]<<8|l[b+c+4+2>>0]<<16|l[b+c+4+3>>0]<<24;i[a+c>>0]=d;i[a+c+1>>0]=d>>8;i[a+c+2>>0]=d>>16;i[a+c+3>>0]=d>>24;i[a+c+4>>0]=f;i[a+c+4+1>>0]=f>>8;i[a+c+4+2>>0]=f>>16;i[a+c+4+3>>0]=f>>24;f=b+(c<<1)|0;f=l[f>>0]|l[f+1>>0]<<8|l[f+2>>0]<<16|l[f+3>>0]<<24;d=b+(c<<1)+4|0;d=l[d>>0]|l[d+1>>0]<<8|l[d+2>>0]<<16|l[d+3>>0]<<24;e=a+(c<<1)|0;i[e>>0]=f;i[e+1>>0]=f>>8;i[e+2>>0]=f>>16;i[e+3>>0]=f>>24;e=a+(c<<1)+4|0;i[e>>0]=d;i[e+1>>0]=d>>8;i[e+2>>0]=d>>16;i[e+3>>0]=d>>24;e=b+(c*3|0)|0;e=l[e>>0]|l[e+1>>0]<<8|l[e+2>>0]<<16|l[e+3>>0]<<24;d=b+(c*3|0)+4|0;d=l[d>>0]|l[d+1>>0]<<8|l[d+2>>0]<<16|l[d+3>>0]<<24;f=a+(c*3|0)|0;i[f>>0]=e;i[f+1>>0]=e>>8;i[f+2>>0]=e>>16;i[f+3>>0]=e>>24;f=a+(c*3|0)+4|0;i[f>>0]=d;i[f+1>>0]=d>>8;i[f+2>>0]=d>>16;i[f+3>>0]=d>>24;f=b+(c<<2)|0;f=l[f>>0]|l[f+1>>0]<<8|l[f+2>>0]<<16|l[f+3>>0]<<24;d=b+(c<<2)+4|0;d=l[d>>0]|l[d+1>>0]<<8|l[d+2>>0]<<16|l[d+3>>0]<<24;e=a+(c<<2)|0;i[e>>0]=f;i[e+1>>0]=f>>8;i[e+2>>0]=f>>16;i[e+3>>0]=f>>24;e=a+(c<<2)+4|0;i[e>>0]=d;i[e+1>>0]=d>>8;i[e+2>>0]=d>>16;i[e+3>>0]=d>>24;e=b+(c*5|0)|0;e=l[e>>0]|l[e+1>>0]<<8|l[e+2>>0]<<16|l[e+3>>0]<<24;d=b+(c*5|0)+4|0;d=l[d>>0]|l[d+1>>0]<<8|l[d+2>>0]<<16|l[d+3>>0]<<24;f=a+(c*5|0)|0;i[f>>0]=e;i[f+1>>0]=e>>8;i[f+2>>0]=e>>16;i[f+3>>0]=e>>24;f=a+(c*5|0)+4|0;i[f>>0]=d;i[f+1>>0]=d>>8;i[f+2>>0]=d>>16;i[f+3>>0]=d>>24;f=b+(c*6|0)|0;f=l[f>>0]|l[f+1>>0]<<8|l[f+2>>0]<<16|l[f+3>>0]<<24;d=b+(c*6|0)+4|0;d=l[d>>0]|l[d+1>>0]<<8|l[d+2>>0]<<16|l[d+3>>0]<<24;e=a+(c*6|0)|0;i[e>>0]=f;i[e+1>>0]=f>>8;i[e+2>>0]=f>>16;i[e+3>>0]=f>>24;e=a+(c*6|0)+4|0;i[e>>0]=d;i[e+1>>0]=d>>8;i[e+2>>0]=d>>16;i[e+3>>0]=d>>24;e=b+(c*7|0)|0;e=l[e>>0]|l[e+1>>0]<<8|l[e+2>>0]<<16|l[e+3>>0]<<24;b=b+(c*7|0)+4|0;b=l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24;d=a+(c*7|0)|0;i[d>>0]=e;i[d+1>>0]=e>>8;i[d+2>>0]=e>>16;i[d+3>>0]=e>>24;c=a+(c*7|0)+4|0;i[c>>0]=b;i[c+1>>0]=b>>8;i[c+2>>0]=b>>16;i[c+3>>0]=b>>24;return}function EQa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;kj[k[a+68>>2]&255](b,c,d);return}function FQa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=0;while(1){e=d<<3;f=j[c+(e<<1)>>1]|0;i[a>>0]=f<<16>>16>-129?(((f<<16>>16)+128|0)>255?-1:(f<<16>>16)+128&255):0;f=j[c+((e|1)<<1)>>1]|0;i[a+1>>0]=f<<16>>16>-129?(((f<<16>>16)+128|0)>255?-1:(f<<16>>16)+128&255):0;f=j[c+((e|2)<<1)>>1]|0;i[a+2>>0]=f<<16>>16>-129?(((f<<16>>16)+128|0)>255?-1:(f<<16>>16)+128&255):0;f=j[c+((e|3)<<1)>>1]|0;i[a+3>>0]=f<<16>>16>-129?(((f<<16>>16)+128|0)>255?-1:(f<<16>>16)+128&255):0;f=j[c+((e|4)<<1)>>1]|0;i[a+4>>0]=f<<16>>16>-129?(((f<<16>>16)+128|0)>255?-1:(f<<16>>16)+128&255):0;f=j[c+((e|5)<<1)>>1]|0;i[a+5>>0]=f<<16>>16>-129?(((f<<16>>16)+128|0)>255?-1:(f<<16>>16)+128&255):0;f=j[c+((e|6)<<1)>>1]|0;i[a+6>>0]=f<<16>>16>-129?(((f<<16>>16)+128|0)>255?-1:(f<<16>>16)+128&255):0;e=j[c+((e|7)<<1)>>1]|0;i[a+7>>0]=e<<16>>16>-129?(((e<<16>>16)+128|0)>255?-1:(e<<16>>16)+128&255):0;d=d+1|0;if((d|0)==8)break;else a=a+b|0}return}function GQa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;vj[k[a+72>>2]&127](b,c,d,e);return}function HQa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=0;while(1){f=e<<3;g=(l[b>>0]|0)+(j[d+(f<<1)>>1]|0)|0;i[a>>0]=(g>>>31)+255&((g|0)>255?255:g);g=(l[b+1>>0]|0)+(j[d+((f|1)<<1)>>1]|0)|0;i[a+1>>0]=(g>>>31)+255&((g|0)>255?255:g);g=(l[b+2>>0]|0)+(j[d+((f|2)<<1)>>1]|0)|0;i[a+2>>0]=(g>>>31)+255&((g|0)>255?255:g);g=(l[b+3>>0]|0)+(j[d+((f|3)<<1)>>1]|0)|0;i[a+3>>0]=(g>>>31)+255&((g|0)>255?255:g);g=(l[b+4>>0]|0)+(j[d+((f|4)<<1)>>1]|0)|0;i[a+4>>0]=(g>>>31)+255&((g|0)>255?255:g);g=(l[b+5>>0]|0)+(j[d+((f|5)<<1)>>1]|0)|0;i[a+5>>0]=(g>>>31)+255&((g|0)>255?255:g);g=(l[b+6>>0]|0)+(j[d+((f|6)<<1)>>1]|0)|0;i[a+6>>0]=(g>>>31)+255&((g|0)>255?255:g);f=(l[b+7>>0]|0)+(j[d+((f|7)<<1)>>1]|0)|0;i[a+7>>0]=(f>>>31)+255&((f|0)>255?255:f);e=e+1|0;if((e|0)==8)break;else{b=b+c|0;a=a+c|0}}return}function IQa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;Bi[k[a+76>>2]&15](b,c,d,e,f);return}function JQa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0;g=0;while(1){f=g<<3;h=0;do{k=(((l[c+h>>0]|0)+(l[b+h>>0]|0)|0)>>>1)+(j[e+(h+f<<1)>>1]|0)|0;i[a+h>>0]=(k>>>31)+255&((k|0)>255?255:k);h=h+1|0}while((h|0)!=8);g=g+1|0;if((g|0)==8)break;else{b=b+d|0;c=c+d|0;a=a+d|0}}return}function KQa(a){a=a|0;rj[k[a+96>>2]&15]();return}function LQa(){return}function MQa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0;j=r;r=r+6144|0;g=0;while(1){c=NQa(a,j+4|0,511)|0;if((c|0)<0)break;c=jqb(1,OQa(j+4|0,0)|0)|0;k[j>>2]=c;if(!c){c=-1;break}f=PQa(j+4|0)|0;d=f;f=1<>31))|0))break;else d=e}if((d|0)<2)c=RQa(j+4|0,j)|0;else{i[c>>0]=d;k[j>>2]=c+((4<>0]=i[j+4+2>>0]|0;SQa(c+4|0,j+4|0,d,d,j)}k[b+(g<<2)>>2]=c;g=g+1|0;if((g|0)>=80){c=0;h=12;break}}if((h|0)==12){r=j;return c|0}l=c;r=j;return l|0}function NQa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0;if((c|0)<1){b=-20;return b|0}d=zRa(a)|0;if((ARa(a)|0)<0){b=-20;return b|0}if(!d){i[b>>0]=1;i[b+2>>0]=1;k[b+4>>2]=b+12;d=NQa(a,b+12|0,c+-1|0)|0;if((d|0)>-1){k[b+8>>2]=b+((d+1|0)*12|0);b=NQa(a,b+((d+1|0)*12|0)|0,c-(d+1)|0)|0;return ((b|0)<0?0:d+1|0)+b|0}else{b=d;return b|0}}f=yRa(a,5)|0;if((ARa(a)|0)<0){b=-20;return b|0}g=l[527306+f>>0]|0;if(((g<<1)+-1|0)>(c|0)){b=-20;return b|0}if(!(-8040>>>f&1))d=0;else{a=1;e=0;while(1){d=a+e|0;if((a|0)>0){c=0;do{h=c+e|0;i[b+(h*12|0)>>0]=1;i[b+(h*12|0)+2>>0]=1;j=(c<<1)+d|0;k[b+(h*12|0)+4>>2]=b+(j*12|0);k[b+(h*12|0)+8>>2]=b+((j+1|0)*12|0);c=c+1|0}while((c|0)!=(a|0))}a=a<<1;if((a|0)>=(g|0))break;else e=d}}a=l[527338+f>>0]|0;f=g>>>0>1?g:1;c=0;e=d;while(1){i[b+(e*12|0)>>0]=0;i[b+(e*12|0)+2>>0]=1;i[b+(e*12|0)+1>>0]=c+a;c=c+1|0;if((c|0)>=(g|0))break;else e=e+1|0}j=d+f|0;return j|0}function OQa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if((b|0)>0&(i[a>>0]|0)!=0){d=OQa(k[a+4>>2]|0,b+-1|0)|0;return (OQa(k[a+8>>2]|0,b+-1|0)|0)+d|0}d=PQa(a)|0;b=d;d=1<>31))|0))break;else b=c}e=(b|0)>0;c=e?(4<>2]|0,e)|0)+c|0;return d+(OQa(k[a+8>>2]|0,e)|0)|0}else return c|0;return 0}function PQa(a){a=a|0;var b=0;if(!(i[a>>0]|0))return 0;else{b=PQa(k[a+4>>2]|0)|0;a=PQa(k[a+8>>2]|0)|0;return ((a|0)<(b|0)?a:b)+1|0}return 0}function QQa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if((b|0)<1|(i[a>>0]|0)==0){c=1;return c|0}else{c=a;a=1}do{d=b;b=b+-1|0;e=QQa(k[c+4>>2]|0,b)|0;c=k[c+8>>2]|0;a=e+a|0}while(!((d|0)<2|(i[c>>0]|0)==0));return a|0}function RQa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=i[a>>0]|0;g=k[b>>2]|0;i[g>>0]=f;k[b>>2]=g+(f<<24>>24?(4<<(f&255))+4|0:4);i[g+2>>0]=i[a+2>>0]|0;f=i[a>>0]|0;if(!(f<<24>>24)){i[g+1>>0]=i[a+1>>0]|0;return g|0}if(f<<24>>24==31)return g|0;else d=0;while(1){e=RQa(k[a+4+(d<<2)>>2]|0,b)|0;k[g+4+(d<<2)>>2]=e;c=(1<<(l[a>>0]|0)-(l[e+2>>0]|0))+d|0;d=d+1|0;if((d|0)<(c|0))do{k[g+4+(d<<2)>>2]=e;d=d+1|0}while((d|0)!=(c|0));else c=d;if((c|0)<(1<<(f&255)|0))d=c;else break}return g|0}function SQa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;a:do if((c|0)<1)f=c;else while(1){if(!(i[b>>0]|0)){f=c;break a}f=c+-1|0;SQa(a,k[b+4>>2]|0,f,d,e);a=a+(1<>2]|0;if((c|0)<2)break;else c=f}while(0);i[b+2>>0]=d-f;b=TQa(b,e)|0;k[a>>2]=b;c=1<>2]=b;if((f|0)==1)return;else b=2;do{k[a+(b<<2)>>2]=k[a>>2];b=b+1|0}while((b|0)!=(c|0));return}function TQa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=PQa(a)|0;c=e;e=1<>31))|0))break;else c=d}if((c|0)<2){f=RQa(a,b)|0;return f|0}else{f=k[b>>2]|0;i[f>>0]=c;k[b>>2]=f+((4<>0]=i[a+2>>0]|0;SQa(f+4|0,a,c,c,b);return f|0}return 0}function UQa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=r;r=r+16|0;c=0;while(1){d=k[b+(c<<2)>>2]|0;g=jqb(1,VQa(d)|0)|0;k[f>>2]=g;if(!g)break;g=RQa(d,f)|0;k[a+(c<<2)>>2]=g;c=c+1|0;if((c|0)>=80){c=0;e=6;break}}if((e|0)==6){r=f;return c|0}if((c|0)<=0){g=-1;r=f;return g|0}do{g=c;c=c+-1|0;iqb(k[a+(c<<2)>>2]|0)}while((g|0)>1);c=-1;r=f;return c|0}function VQa(a){a=a|0;var b=0,c=0,d=0,e=0;c=i[a>>0]|0;b=c<<24>>24?(4<<(c&255))+4|0:4;if(!(c<<24>>24)){d=b;return d|0}if(c<<24>>24==31){d=b;return d|0}else d=0;do{e=k[a+4+(d<<2)>>2]|0;b=(VQa(e)|0)+b|0;d=(1<<(c&255)-(l[e+2>>0]|0))+d|0}while((d|0)<(1<<(c&255)|0));return b|0}function WQa(a){a=a|0;var b=0;b=0;do{iqb(k[a+(b<<2)>>2]|0);b=b+1|0}while((b|0)!=80);return}function XQa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=i[b>>0]|0;if(!(c<<24>>24)){a=b;a=a+1|0;a=i[a>>0]|0;a=a&255;return a|0}f=k[a>>2]|0;d=k[a+12>>2]|0;do{h=c&255;if((d|0)<(h|0)){e=k[a+4>>2]|0;g=k[a+8>>2]|0;c=e>>>0>>0?d:1073741824;if((c|0)<25){c=f;while(1){f=e+1|0;c=(l[e>>0]|0)<<24-d|c;d=d+8|0;e=f>>>0>>0?d:1073741824;if((e|0)>=25){d=e;e=f;break}else e=f}}else{d=c;c=f}k[a+4>>2]=e;if((d|0)<(h|0))c=(l[e>>0]|0)>>>(d&7)|c;k[a+12>>2]=d;k[a>>2]=c}else c=f;b=k[b+4+(c>>>(32-h|0)<<2)>>2]|0;h=l[b+2>>0]|0;f=c<>2]=f;d=d-h|0;k[a+12>>2]=d;c=i[b>>0]|0}while(c<<24>>24!=0);a=b+1|0;a=i[a>>0]|0;a=a&255;return a|0}function YQa(a){a=a|0;var b=0,c=0;b=a;c=b+60|0;do{k[b>>2]=0;b=b+4|0}while((b|0)<(c|0));i[a>>0]=3;i[a+1>>0]=2;i[a+2>>0]=1;k[a+60>>2]=6;return}function ZQa(a){a=a|0;var b=0;b=a+64|0;do{k[a>>2]=0;a=a+4|0}while((a|0)<(b|0));return}function _Qa(a){a=a|0;k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;k[a+12>>2]=0;return}function $Qa(a){a=a|0;var b=0;if(!a)return;if((k[a+8>>2]|0)>0){b=0;do{iqb(k[(k[a>>2]|0)+(b<<2)>>2]|0);b=b+1|0}while((b|0)<(k[a+8>>2]|0))}iqb(k[a>>2]|0);iqb(k[a+4>>2]|0);iqb(k[a+12>>2]|0);k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;k[a+12>>2]=0;return}function aRa(a,b){a=a|0;b=b|0;var c=0;c=(i[b+2>>0]|0)+(i[b>>0]|0)+(i[b+4>>0]|0)+(i[b+6>>0]|0)|0;b=(i[b+3>>0]|0)+(i[b+1>>0]|0)+(i[b+5>>0]|0)+(i[b+7>>0]|0)|0;i[a>>0]=(c+2+(c>>31)|0)>>>2;i[a+1>>0]=(b+2+(b>>31)|0)>>>2;return}function bRa(a,b){a=a|0;b=b|0;var c=0,d=0;d=(i[b+4>>0]|0)+(i[b>>0]|0)|0;c=(i[b+5>>0]|0)+(i[b+1>>0]|0)|0;i[a>>0]=(d+1+(d>>31)|0)>>>1;i[a+1>>0]=(c+1+(c>>31)|0)>>>1;c=(i[b+6>>0]|0)+(i[b+2>>0]|0)|0;b=(i[b+7>>0]|0)+(i[b+3>>0]|0)|0;i[a+2>>0]=(c+1+(c>>31)|0)>>>1;i[a+3>>0]=(b+1+(b>>31)|0)>>>1;return}function cRa(a,b){a=a|0;b=b|0;var c=0,d=0;d=(i[b+2>>0]|0)+(i[b>>0]|0)|0;c=(i[b+3>>0]|0)+(i[b+1>>0]|0)|0;i[a>>0]=(d+1+(d>>31)|0)>>>1;i[a+1>>0]=(c+1+(c>>31)|0)>>>1;c=(i[b+6>>0]|0)+(i[b+4>>0]|0)|0;b=(i[b+7>>0]|0)+(i[b+5>>0]|0)|0;i[a+4>>0]=(c+1+(c>>31)|0)>>>1;i[a+5>>0]=(b+1+(b>>31)|0)>>>1;return}function dRa(a,b){a=a|0;b=b|0;var c=0;c=l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24;b=l[b+4>>0]|l[b+4+1>>0]<<8|l[b+4+2>>0]<<16|l[b+4+3>>0]<<24;i[a>>0]=c;i[a+1>>0]=c>>8;i[a+2>>0]=c>>16;i[a+3>>0]=c>>24;i[a+4>>0]=b;i[a+4+1>>0]=b>>8;i[a+4+2>>0]=b>>16;i[a+4+3>>0]=b>>24;return}function eRa(a){a=a|0;var b=0;if(!a)a=0;else{b=0;do{a=a>>>1;b=b+1|0}while((a|0)!=0);a=b}return a|0}function fRa(a,b){a=a|0;b=b|0;var c=0,d=0;k[a>>2]=k[b>>2];d=k[b+4>>2]|0;k[a+4>>2]=d;c=0-(k[b+8>>2]|0)|0;k[a+8>>2]=c;c=(k[b+12>>2]|0)+(ha(1-d|0,c)|0)|0;k[a+12>>2]=c;k[a+16>>2]=k[b+16>>2];c=k[b+20>>2]|0;k[a+20>>2]=c;d=0-(k[b+24>>2]|0)|0;k[a+24>>2]=d;d=(k[b+28>>2]|0)+(ha(1-c|0,d)|0)|0;k[a+28>>2]=d;k[a+32>>2]=k[b+32>>2];d=k[b+36>>2]|0;k[a+36>>2]=d;c=0-(k[b+40>>2]|0)|0;k[a+40>>2]=c;b=(k[b+44>>2]|0)+(ha(1-d|0,c)|0)|0;k[a+44>>2]=b;return}function gRa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;G=r;r=r+64|0;E=0;while(1){w=46136+(E<<2)|0;x=46144+(E<<2)|0;D=0;while(1){y=c+320+(E*36|0)+(D*12|0)|0;d=k[y>>2]|0;if((d|0)>=0){z=c+320+(E*36|0)+(D*12|0)+8|0;A=k[w>>2]|0;B=k[x>>2]|0;C=c+320+(E*36|0)+(D*12|0)+4|0;u=0;v=0;while(1){e=G;f=(k[z>>2]|0)+(v<<6)|0;g=e+64|0;do{i[e>>0]=i[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));if((v|0)==(d|0))s=u+1|0;else s=(k[(k[C>>2]|0)+(v<<2)>>2]|0)+u|0;t=v;v=v+1|0;a:do if(!b){e=u;b:while(1){f=(((ha(l[G>>0]|0,m[c+(e<<1)>>1]|0)|0)>>>0)/100|0)<<2;f=f>>>0>4096?4096:f;p=a+(e*24|0)+(D<<3)+(E<<2)|0;q=k[p>>2]|0;j[q>>1]=A-(A>>>0>>0?A-f|0:0);f=c+128+(e<<1)|0;g=1;do{o=(((ha(l[G+(l[527370+g>>0]|0)>>0]|0,m[f>>1]|0)|0)>>>0)/100|0)<<2;o=o>>>0>4096?4096:o;j[q+(g<<1)>>1]=B-(B>>>0>>0?B-o|0:0);g=g+1|0}while((g|0)!=64);o=0;c:while(1){h=(o|0)<(E|0);g=h?3:D;if((g|0)>0){n=0;do{f=k[a+(e*24|0)+(n<<3)+(o<<2)>>2]|0;if(!(Emb(q,f,128)|0)){F=13;break c}n=n+1|0}while((n|0)<(g|0))}if(h)o=o+1|0;else break}if((F|0)==13){F=0;k[p>>2]=f}e=e+1|0;if((s|0)<=(e|0))break a;h=s-e|0;g=k[z>>2]|0;n=e-u|0;o=k[(k[C>>2]|0)+(t<<2)>>2]|0;f=0;while(1){q=ha(l[g+(t<<6)+f>>0]|0,h)|0;q=((((ha(l[g+(v<<6)+f>>0]|0,n)|0)+q<<1)+o|0)/(o<<1|0)|0)&255;i[G+f>>0]=q;f=f+1|0;if((f|0)==64)continue b}}}else{e=u;d:while(1){d=ha(l[G>>0]|0,m[c+(e<<1)>>1]|0)|0;k[b+(e<<2)>>2]=(d>>>0)/160|0;d=((d>>>0)/100|0)<<2>>>0>4096?4096:((d>>>0)/100|0)<<2;o=a+(e*24|0)+(D<<3)+(E<<2)|0;p=k[o>>2]|0;j[p>>1]=A-(A>>>0>>0?A-d|0:0);d=c+128+(e<<1)|0;f=1;do{q=(((ha(l[G+(l[527370+f>>0]|0)>>0]|0,m[d>>1]|0)|0)>>>0)/100|0)<<2;q=q>>>0>4096?4096:q;j[p+(f<<1)>>1]=B-(B>>>0>>0?B-q|0:0);f=f+1|0}while((f|0)!=64);n=0;e:while(1){d=(n|0)<(E|0);f=d?3:D;if((f|0)>0){h=0;do{g=k[a+(e*24|0)+(h<<3)+(n<<2)>>2]|0;if(!(Emb(p,g,128)|0)){F=25;break e}h=h+1|0}while((h|0)<(f|0))}if(d)n=n+1|0;else break}if((F|0)==25){F=0;k[o>>2]=g}e=e+1|0;if((s|0)<=(e|0))break;f=s-e|0;g=k[z>>2]|0;h=e-u|0;n=k[(k[C>>2]|0)+(t<<2)>>2]|0;d=0;while(1){q=ha(l[g+(t<<6)+d>>0]|0,f)|0;q=((((ha(l[g+(v<<6)+d>>0]|0,h)|0)+q<<1)+n|0)/(n<<1|0)|0)&255;i[G+d>>0]=q;d=d+1|0;if((d|0)==64)continue d}}d=k[y>>2]|0}while(0);if((t|0)>=(d|0))break;else u=e}}D=D+1|0;if((D|0)==3)break}E=E+1|0;if((E|0)==2)break}r=G;return}function hRa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,l=0,m=0,n=0,o=0,p=0;g=ha(j[d>>1]|0,f&65535)|0;if((e|0)<2){f=0;do{j[d+(f<<1)>>1]=(g+15|0)>>>5;f=f+1|0}while((f|0)!=64)}else{j[d>>1]=g;BRa(a,d,e)}n=k[(k[a+208>>2]|0)+(b<<2)>>2]|0;f=(k[(k[a+204>>2]|0)+(b<<2)>>2]|0)>>>8&7;o=k[a+496+(c<<2)>>2]|0;p=(k[a+480+(k[a+280>>2]<<2)>>2]|0)+n|0;if((f|0)==1){EQa(a,p,o,d);return}m=k[a+480+(k[a+272+((268505377>>>(f<<2)&15)<<2)>>2]<<2)>>2]|0;g=k[a+212>>2]|0;if(c|0)f=(k[a+48>>2]&2|0)==0;else f=0;e=f&1;h=(i[g+(b<<1)+1>>0]|0)+31|0;l=i[527682+(e<<6)+h>>0]|0;if(c|0)f=(k[a+48>>2]&1|0)==0;else f=0;c=f&1;f=(i[g+(b<<1)>>0]|0)+31|0;g=i[527682+(c<<6)+f>>0]|0;f=(i[527554+(c<<6)+f>>0]|0)+(ha(i[527554+(e<<6)+h>>0]|0,o)|0)|0;if(!((g|l)<<24>>24)){GQa(a,p,m+(f+n)|0,o,d);return}else{IQa(a,p,m+(f+n)|0,m+((ha(l<<24>>24,o)|0)+n+f+(g<<24>>24))|0,o,d);return}}function iRa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;h=k[a+480+(k[a+272+(d<<2)>>2]<<2)>>2]|0;g=k[a+480+(k[a+272+(e<<2)>>2]<<2)>>2]|0;e=k[a+496+(f<<2)>>2]|0;d=k[a+208>>2]|0;if((c|0)>0)f=0;else return;do{i=k[d+(k[b+(f<<2)>>2]<<2)>>2]|0;CQa(a,h+i|0,g+i|0,e);f=f+1|0}while((f|0)!=(c|0));return}function jRa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;q=k[a+108+(d<<5)>>2]|0;r=k[a+108+(d<<5)+8>>2]|0;s=(k[a+108+(d<<5)+12>>2]|0)+r|0;t=r+(ha(q,e)|0)|0;p=ha(q,f-e|0)|0;m=k[a+496+(d<<2)>>2]|0;n=k[a+204>>2]|0;o=k[a+208>>2]|0;g=k[a+480+(c<<2)>>2]|0;if((p|0)<=0)return;h=t;do{j=h;h=h+q|0;a:do if((q|0)>0){if((j|0)>(r|0))c=j;else{c=j;while(1){if(!(k[n+(c<<2)>>2]&1))e=c+1|0;else{a=k[o+(c<<2)>>2]|0;if((c|0)>(j|0)){e=g+(a+-2)|0;f=0;while(1){d=e+2|0;v=l[d>>0]|0;w=e+1|0;x=l[w>>0]|0;u=k[b+(((l[e>>0]|0)+4-(l[e+3>>0]|0)+((v-x|0)*3|0)>>3)+127<<2)>>2]|0;i[w>>0]=((x+u|0)>>>31)+255&((x+u|0)>255?255:x+u|0);i[d>>0]=((v-u|0)>>>31)+255&((v-u|0)>255?255:v-u|0);f=f+1|0;if((f|0)==8)break;else e=e+m|0}}e=c+1|0;if((e|0)<(h|0))if(!(k[n+(e<<2)>>2]&1)){f=g+(a+6)|0;d=0;while(1){x=f+2|0;v=l[x>>0]|0;u=f+1|0;y=l[u>>0]|0;w=k[b+(((l[f>>0]|0)+4-(l[f+3>>0]|0)+((v-y|0)*3|0)>>3)+127<<2)>>2]|0;i[u>>0]=((y+w|0)>>>31)+255&((y+w|0)>255?255:y+w|0);i[x>>0]=((v-w|0)>>>31)+255&((v-w|0)>255?255:v-w|0);d=d+1|0;if((d|0)==8)break;else f=f+m|0}}f=c+q|0;if((f|0)<(s|0))if(!(k[n+(f<<2)>>2]&1)){f=0;do{y=g+(f+(a+(m<<3)))|0;w=g+(a+(m<<3)-m+f)|0;v=l[w>>0]|0;x=k[b+(((l[g+(a+(m<<3)-(m<<1)+f)>>0]|0)+4-(l[g+(a+(m<<3)+m+f)>>0]|0)+(((l[y>>0]|0)-v|0)*3|0)>>3)+127<<2)>>2]|0;i[w>>0]=((v+x|0)>>>31)+255&((v+x|0)>255?255:v+x|0);x=(l[y>>0]|0)-x|0;i[y>>0]=(x>>>31)+255&((x|0)>255?255:x);f=f+1|0}while((f|0)!=8)}}if((e|0)<(h|0))c=e;else break a}}while(1){if(!(k[n+(c<<2)>>2]&1))e=c+1|0;else{a=k[o+(c<<2)>>2]|0;if((c|0)>(j|0)){e=g+(a+-2)|0;f=0;while(1){y=e+2|0;w=l[y>>0]|0;v=e+1|0;u=l[v>>0]|0;x=k[b+(((l[e>>0]|0)+4-(l[e+3>>0]|0)+((w-u|0)*3|0)>>3)+127<<2)>>2]|0;i[v>>0]=((u+x|0)>>>31)+255&((u+x|0)>255?255:u+x|0);i[y>>0]=((w-x|0)>>>31)+255&((w-x|0)>255?255:w-x|0);f=f+1|0;if((f|0)==8)break;else e=e+m|0}}e=0;do{y=g+(e+a)|0;w=g+(a-m+e)|0;v=l[w>>0]|0;x=k[b+(((l[g+(a-(m<<1)+e)>>0]|0)+4-(l[g+(a+m+e)>>0]|0)+(((l[y>>0]|0)-v|0)*3|0)>>3)+127<<2)>>2]|0;i[w>>0]=((v+x|0)>>>31)+255&((v+x|0)>255?255:v+x|0);x=(l[y>>0]|0)-x|0;i[y>>0]=(x>>>31)+255&((x|0)>255?255:x);e=e+1|0}while((e|0)!=8);e=c+1|0;if((e|0)<(h|0))if(!(k[n+(e<<2)>>2]&1)){f=g+(a+6)|0;d=0;while(1){y=f+2|0;w=l[y>>0]|0;v=f+1|0;u=l[v>>0]|0;x=k[b+(((l[f>>0]|0)+4-(l[f+3>>0]|0)+((w-u|0)*3|0)>>3)+127<<2)>>2]|0;i[v>>0]=((u+x|0)>>>31)+255&((u+x|0)>255?255:u+x|0);i[y>>0]=((w-x|0)>>>31)+255&((w-x|0)>255?255:w-x|0);d=d+1|0;if((d|0)==8)break;else f=f+m|0}}f=c+q|0;if((f|0)<(s|0))if(!(k[n+(f<<2)>>2]&1)){f=0;do{y=g+(f+(a+(m<<3)))|0;w=g+(a+(m<<3)-m+f)|0;v=l[w>>0]|0;x=k[b+(((l[g+(a+(m<<3)-(m<<1)+f)>>0]|0)+4-(l[g+(a+(m<<3)+m+f)>>0]|0)+(((l[y>>0]|0)-v|0)*3|0)>>3)+127<<2)>>2]|0;i[w>>0]=((v+x|0)>>>31)+255&((v+x|0)>255?255:v+x|0);x=(l[y>>0]|0)-x|0;i[y>>0]=(x>>>31)+255&((x|0)>255?255:x);f=f+1|0}while((f|0)!=8)}}if((e|0)<(h|0))c=e;else break}}while(0)}while((h|0)<(t+p|0));return}function kRa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,O=0,P=0,Q=0;if(!b){a=-1;return a|0}d=k[b+4>>2]|0;if(d&15|0){a=-10;return a|0}g=k[b+8>>2]|0;if((g+-1|0)>>>0>1048574|((d+-1|0)>>>0>1048574|(g&15|0)!=0)){a=-10;return a|0}f=k[b+20>>2]|0;if(((k[b+12>>2]|0)+f|0)>>>0>d>>>0){a=-10;return a|0}d=k[b+24>>2]|0;e=k[b+16>>2]|0;if(f>>>0>255|(e+d|0)>>>0>g>>>0){a=-10;return a|0}if((g-d-e|0)>>>0>255){a=-10;return a|0}if((k[b+44>>2]|0)>>>0>2){a=-10;return a|0}if((k[b+48>>2]|0)>>>0>3){a=-10;return a|0}vBb(a|0,0,51552)|0;x=a;f=b;y=x+64|0;do{k[x>>2]=k[f>>2];x=x+4|0;f=f+4|0}while((x|0)<(y|0));k[a+24>>2]=(k[b+8>>2]|0)-(k[b+16>>2]|0)-(k[b+24>>2]|0);i[a+792>>0]=-1;k[a+64>>2]=101;k[a+68>>2]=102;k[a+72>>2]=39;k[a+76>>2]=8;k[a+80>>2]=219;k[a+84>>2]=48;k[a+88>>2]=49;k[a+92>>2]=50;k[a+96>>2]=4;k[a+100>>2]=527370;g=(k[a+4>>2]|0)>>>3;o=(k[a+8>>2]|0)>>>3;e=k[a+48>>2]|0;d=((e&1^1)+g|0)>>>(e&1^1);e=((e>>>1&1^1)+o|0)>>>(e>>>1&1^1);j=ha(o,g)|0;m=ha(e,d)|0;h=ha((o+3|0)>>>2,(g+3|0)>>>2)|0;f=ha(e+3>>2,d+3>>2)|0;do if((m|0)<0|(m<<1|0)<(m|0))d=-23;else if((h&1073741823|0)==(h|0)&((((f<<1)+h|0)>>>0>>0|(f<<1>>>0>>0?1:((h>>>0)/((g+3|0)>>>2>>>0)|0|0)!=((o+3|0)>>>2|0)))^1)){k[a+108>>2]=g;k[a+112>>2]=o;k[a+116>>2]=0;k[a+120>>2]=j;k[a+124>>2]=(g+3|0)>>>2;k[a+128>>2]=(o+3|0)>>>2;k[a+132>>2]=0;k[a+136>>2]=h;k[a+172>>2]=d;k[a+140>>2]=d;k[a+176>>2]=e;k[a+144>>2]=e;k[a+148>>2]=j;k[a+180>>2]=m+j;k[a+184>>2]=m;k[a+152>>2]=m;k[a+188>>2]=d+3>>2;k[a+156>>2]=d+3>>2;k[a+192>>2]=e+3>>2;k[a+160>>2]=e+3>>2;k[a+164>>2]=h;k[a+196>>2]=f+h;k[a+200>>2]=f;k[a+168>>2]=f;k[a+216>>2]=(m<<1)+j;M=jqb((m<<1)+j|0,4)|0;k[a+204>>2]=M;N=hqb((m<<1)+j<<1)|0;k[a+212>>2]=N;k[a+228>>2]=(f<<1)+h;n=hqb((f<<1)+h<<6)|0;k[a+220>>2]=n;f=jqb((f<<1)+h|0,1)|0;k[a+224>>2]=f;k[a+240>>2]=(g+3|0)>>>2<<1;k[a+244>>2]=(o+3|0)>>>2<<1;k[a+248>>2]=h<<2;O=jqb(h<<2,48)|0;k[a+232>>2]=O;e=jqb(h<<2,1)|0;k[a+236>>2]=e;d=hqb((m<<1)+j<<2)|0;k[a+252>>2]=d;if((M|0)==0|(N|0)==0|(n|0)==0|(f|0)==0|(O|0)==0)d=-1;else if((e|0)==0|(d|0)==0)d=-1;else{w=0;v=f;f=0;d=0;while(1){t=k[a+108+(d<<5)>>2]|0;e=0;u=0;s=f;while(1){f=o-u|0;if((f|0)>4)f=4;else if((f|0)<1)break;r=(f|0)>0;q=0;while(1){g=t-q|0;if((g|0)>4)g=4;else if((g|0)<1)break;p=e+w|0;x=n+(p<<6)|0;y=x+64|0;do{k[x>>2]=-1;x=x+4|0}while((x|0)<(y|0));if(r){h=0;m=q+s|0;while(1){j=0;do{k[n+(p<<6)+(k[46152+(h<<5)+(j<<3)>>2]<<4)+(k[46152+(h<<5)+(j<<3)+4>>2]<<2)>>2]=j+m;j=j+1|0}while((j|0)!=(g|0));h=h+1|0;if((h|0)==(f|0))break;else m=m+t|0}}O=v+p|0;N=i[O>>0]|0;M=(((N&255)>>>2&255|(k[n+(p<<6)>>2]|0)>>>31^1)&255)<<2&60|N&-61;i[O>>0]=M;M=(((M&255)>>>2&255|(k[n+(p<<6)+16>>2]|0)>>>31<<1^2)&255)<<2&60|N&-61;i[O>>0]=M;M=(((M&255)>>>2&255|(k[n+(p<<6)+32>>2]|0)>>>31<<2^4)&255)<<2&60|N&-61;i[O>>0]=M;i[O>>0]=(((M&255)>>>2&255|(k[n+(p<<6)+56>>2]|0)>>>31<<3^8)&255)<<2&60|N&-61;e=e+1|0;q=q+4|0}u=u+4|0;s=s+(t<<2)|0}d=d+1|0;if((d|0)==3)break;o=k[a+108+(d<<5)+4>>2]|0;w=k[a+108+(d<<5)+24>>2]|0;n=k[a+220>>2]|0;v=k[a+224>>2]|0;f=k[a+108+(d<<5)+8>>2]|0}r=k[a+232>>2]|0;s=k[a+236>>2]|0;t=k[46280+(k[a+48>>2]<<2)>>2]|0;d=k[a+112>>2]|0;if((d|0)>0){e=k[a+108>>2]|0;f=0;q=0;do{if((e|0)>0){p=0;do{g=f<<2;h=p|1;j=p|2;m=p|3;o=0;do{n=o<<1|q;e=l[527498+(o<<1)>>0]|g;x=r+(e*48|0)|0;y=x+48|0;do{k[x>>2]=-1;x=x+4|0}while((x|0)<(y|0));d=k[a+108>>2]|0;do if((p|0)<(d|0)){if((n|0)>=(k[a+112>>2]|0)){P=35;break}O=(ha(d,n)|0)+p|0;k[r+(e*48|0)>>2]=O;O=(ha(k[a+108>>2]|0,n)|0)+h|0;k[r+(e*48|0)+4>>2]=O;O=(ha(k[a+108>>2]|0,n|1)|0)+p|0;k[r+(e*48|0)+8>>2]=O;O=(ha(k[a+108>>2]|0,n|1)|0)+h|0;k[r+(e*48|0)+12>>2]=O;vj[t&127](r+(e*48|0)|0,a+108|0,p,n)}else P=35;while(0);if((P|0)==35){P=0;i[s+e>>0]=-1}e=l[527498+(o<<1)+1>>0]|g;x=r+(e*48|0)|0;y=x+48|0;do{k[x>>2]=-1;x=x+4|0}while((x|0)<(y|0));d=k[a+108>>2]|0;do if((j|0)<(d|0)){if((n|0)>=(k[a+112>>2]|0)){P=42;break}O=(ha(d,n)|0)+j|0;k[r+(e*48|0)>>2]=O;O=(ha(k[a+108>>2]|0,n)|0)+m|0;k[r+(e*48|0)+4>>2]=O;O=(ha(k[a+108>>2]|0,n|1)|0)+j|0;k[r+(e*48|0)+8>>2]=O;O=(ha(k[a+108>>2]|0,n|1)|0)+m|0;k[r+(e*48|0)+12>>2]=O;vj[t&127](r+(e*48|0)|0,a+108|0,j,n)}else P=42;while(0);if((P|0)==42){P=0;i[s+e>>0]=-1}o=o+1|0}while((o|0)!=2);p=p+4|0;f=f+1|0;e=k[a+108>>2]|0}while((p|0)<(e|0));d=k[a+112>>2]|0}q=q+4|0}while((q|0)<(d|0))}k[a+508>>2]=0;O=k[a+204>>2]|0;d=O;N=0;do{e=k[a+20>>2]|0;f=(k[a+12>>2]|0)+e|0;h=k[a+24>>2]|0;j=(k[a+16>>2]|0)+h|0;if((N|0)>0){g=k[a+48>>2]|0;if(!(g&1)){e=e>>1;f=f+1>>1}if(!(g&2)){h=h>>1;j=j+1>>1}}O=O+(k[a+108+(N<<5)+12>>2]<<2)|0;if(d>>>0>>0){J=a+108+(N<<5)|0;K=(e|0)<(f|0);M=(h|0)<(j|0);H=0;while(1){I=k[J>>2]|0;A=d+(I<<2)|0;if((I|0)>0){g=H+8|0;B=(g|0)>(h|0);C=(j|0)>(H|0);E=(H|0)<(h|0)&B;F=C&(j|0)<(g|0);I=d+4|0;I=(A>>>0>I>>>0?A:I)+~d|0;D=d;G=0;do{m=G;G=G+8|0;do if((f|0)<=(m|0)|(G|0)<=(e|0)|M&(K&(C&B))^1)k[D>>2]=k[D>>2]|2;else{t=(m|0)<(e|0);if(!(F|(E|(t|(f|0)<(G|0))))){k[D>>2]=k[D>>2]|63488;break}u=(m|1|0)>=(f|0)|(m|1|0)<(e|0);v=(m|2|0)>=(f|0)|(m|2|0)<(e|0);w=(m|3|0)>=(f|0)|(m|3|0)<(e|0);x=(m|4|0)>=(f|0)|(m|4|0)<(e|0);y=(m|5|0)>=(f|0)|(m|5|0)<(e|0);z=(m|6|0)>=(f|0)|(m|6|0)<(e|0);s=(m|7|0)>=(f|0)|(m|7|0)<(e|0);q=0;p=0;r=0;o=0;do{n=r+H|0;m=r<<3;n=(n|0)>=(j|0)|(n|0)<(h|0);if(!(t|n)){Q=DBb(1,0,m|0)|0;q=Q|q;p=L|p;o=o+1|0}if(!(u|n)){Q=DBb(1,0,m|1|0)|0;q=q|Q;p=p|L;o=o+1|0}if(!(v|n)){Q=DBb(1,0,m|2|0)|0;q=q|Q;p=p|L;o=o+1|0}if(!(w|n)){Q=DBb(1,0,m|3|0)|0;q=q|Q;p=p|L;o=o+1|0}if(!(x|n)){Q=DBb(1,0,m|4|0)|0;q=q|Q;p=p|L;o=o+1|0}if(!(y|n)){Q=DBb(1,0,m|5|0)|0;q=q|Q;p=p|L;o=o+1|0}if(!(z|n)){Q=DBb(1,0,m|6|0)|0;q=q|Q;p=p|L;o=o+1|0}if(!(s|n)){Q=DBb(1,0,m|7|0)|0;q=q|Q;p=p|L;o=o+1|0}r=r+1|0}while((r|0)!=8);n=k[a+508>>2]|0;a:do if((n|0)>0){m=0;while(1){Q=a+512+(m<<4)|0;if((k[Q>>2]|0)==(q|0)?(k[Q+4>>2]|0)==(p|0):0)break a;m=m+1|0;if((m|0)>=(n|0)){P=64;break}}}else{m=0;P=64}while(0);if((P|0)==64){P=0;k[a+508>>2]=n+1;Q=a+512+(m<<4)|0;k[Q>>2]=q;k[Q+4>>2]=p;k[a+512+(m<<4)+8>>2]=o}k[D>>2]=k[D>>2]&-63489|m<<11&63488}while(0);D=D+4|0}while(D>>>0>>0);d=d+((I>>>2)+1<<2)|0}else g=H+8|0;if(d>>>0>>0)H=g;else break}}N=N+1|0}while((N|0)!=3);if((c+-3|0)>>>0>1)d=-10;else{e=k[a+48>>2]|0;g=k[a+4>>2]|0;f=k[a+8>>2]|0;h=g+32>>(e&1^1);j=ha(f+32|0,g+32|0)|0;m=ha(f+32>>(e>>>1&1^1),h)|0;n=(ha(16>>>(e>>>1&1^1),h)|0)+(16>>>(e&1^1))|0;d=ha((m<<1)+j|0,c)|0;if((m<<1>>>0>>0?1:((j>>>0)/((g+32|0)>>>0)|0|0)!=(f+32|0))|((m<<1)+j|0)>>>0>>0)d=-23;else if(((d>>>0)/(c>>>0)|0|0)==((m<<1)+j|0)){d=hqb(d)|0;p=hqb(k[a+216>>2]<<2)|0;k[a+208>>2]=p;if((d|0)==0|(p|0)==0){iqb(p);iqb(d);d=-1;break}k[a+288>>2]=g;k[a+292>>2]=f;k[a+296>>2]=g+32;k[a+320>>2]=g>>>(e&1^1);k[a+304>>2]=g>>>(e&1^1);k[a+324>>2]=f>>>(e>>>1&1^1);k[a+308>>2]=f>>>(e>>>1&1^1);k[a+328>>2]=h;k[a+312>>2]=h;if((c|0)>1){e=1;do{x=a+288+(e*48|0)|0;f=a+288|0;y=x+48|0;do{k[x>>2]=k[f>>2];x=x+4|0;f=f+4|0}while((x|0)<(y|0));e=e+1|0}while((e|0)!=(c|0))}if((c|0)>0){e=0;while(1){k[a+480+(e<<2)>>2]=d;Q=a+288+(e*48|0)|0;k[a+288+(e*48|0)+12>>2]=d+((g+32<<4)+16);k[a+288+(e*48|0)+28>>2]=d+(n+j);k[a+288+(e*48|0)+44>>2]=d+(m+j+n);fRa(Q,Q);e=e+1|0;if((e|0)==(c|0))break;else d=d+(m+j+m)|0}}k[a+496>>2]=-32-g;k[a+504>>2]=0-h;k[a+500>>2]=0-h;o=k[a+480>>2]|0;h=(k[a+120>>2]|0)+(k[a+116>>2]|0)|0;j=k[a+108>>2]|0;if((h|0)>0){m=k[a+296>>2]<<3;d=0;n=k[a+300>>2]|0;while(1){f=d+j|0;if((j|0)>0){g=d+1|0;e=n;while(1){k[p+(d<<2)>>2]=e-o;d=d+1|0;if((d|0)>=(f|0))break;else e=e+8|0}d=(f|0)>(g|0)?f:g}if((d|0)<(h|0))n=n+m|0;else break}}else d=0;j=(k[a+152>>2]|0)+(k[a+148>>2]|0)|0;m=k[a+140>>2]|0;if((d|0)<(j|0)){n=k[a+312>>2]<<3;h=k[a+316>>2]|0;while(1){f=d+m|0;if((m|0)>0){g=d+1|0;e=h;while(1){k[p+(d<<2)>>2]=e-o;d=d+1|0;if((d|0)>=(f|0))break;else e=e+8|0}d=(f|0)>(g|0)?f:g}if((d|0)<(j|0))h=h+n|0;else break}}j=(k[a+184>>2]|0)+(k[a+180>>2]|0)|0;m=k[a+172>>2]|0;if((d|0)<(j|0)){n=k[a+328>>2]<<3;h=k[a+332>>2]|0;while(1){f=d+m|0;if((m|0)>0){g=d+1|0;e=h;while(1){k[p+(d<<2)>>2]=e-o;d=d+1|0;if((d|0)>=(f|0))break;else e=e+8|0}d=(f|0)>(g|0)?f:g}if((d|0)<(j|0))h=h+n|0;else break}}k[a+280>>2]=-1;k[a+276>>2]=-1;k[a+272>>2]=-1;k[a+284>>2]=(c|0)>3?3:-1;if((k[b+60>>2]|0)>>>0>31)k[a+60>>2]=31;k[a+768>>2]=0;k[a+768+4>>2]=0;k[a+776>>2]=-1;k[a+776+4>>2]=-1;d=i[b>>0]|0;do if((d&255)>3)d=1;else{if(d<<24>>24!=3){d=0;break}d=i[b+1>>0]|0;if((d&255)>2){d=1;break}if(d<<24>>24!=2){d=0;break}d=(i[b+2>>0]|0)!=0&1}while(0);i[a+793>>0]=d;Q=0;return Q|0}else d=-23}}}else d=-23;while(0);iqb(k[a+252>>2]|0);iqb(k[a+236>>2]|0);iqb(k[a+232>>2]|0);iqb(k[a+224>>2]|0);iqb(k[a+220>>2]|0);iqb(k[a+212>>2]|0);iqb(k[a+204>>2]|0);Q=d;return Q|0}function lRa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;d=(ha(k[b+32>>2]|0,d>>1)|0)+(c>>1)|0;k[a+16>>2]=d+(k[b+40>>2]|0);k[a+32>>2]=d+(k[b+72>>2]|0);return}function mRa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;d=(ha(k[b+32>>2]|0,d>>1)|0)+c|0;k[a+16>>2]=(k[b+40>>2]|0)+d;k[a+32>>2]=(k[b+72>>2]|0)+d;k[a+20>>2]=(k[b+40>>2]|0)+(d+1);k[a+36>>2]=(k[b+72>>2]|0)+(d+1);return}function nRa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;d=(ha(k[b+32>>2]|0,d)|0)+(c>>1)|0;k[a+16>>2]=(k[b+40>>2]|0)+d;k[a+32>>2]=(k[b+72>>2]|0)+d;d=(k[b+32>>2]|0)+d|0;k[a+24>>2]=(k[b+40>>2]|0)+d;k[a+40>>2]=(k[b+72>>2]|0)+d;return}function oRa(a,b){a=a|0;b=b|0;var c=0;c=k[a>>2]|0;k[a+16>>2]=(k[b+40>>2]|0)+c;k[a+32>>2]=(k[b+72>>2]|0)+c;c=k[a+4>>2]|0;k[a+20>>2]=(k[b+40>>2]|0)+c;k[a+36>>2]=(k[b+72>>2]|0)+c;c=k[a+8>>2]|0;k[a+24>>2]=(k[b+40>>2]|0)+c;k[a+40>>2]=(k[b+72>>2]|0)+c;c=k[a+12>>2]|0;k[a+28>>2]=(k[b+40>>2]|0)+c;k[a+44>>2]=(k[b+72>>2]|0)+c;return}function pRa(a){a=a|0;iqb(k[a+208>>2]|0);iqb(k[a+480>>2]|0);iqb(k[a+252>>2]|0);iqb(k[a+236>>2]|0);iqb(k[a+232>>2]|0);iqb(k[a+224>>2]|0);iqb(k[a+220>>2]|0);iqb(k[a+212>>2]|0);iqb(k[a+204>>2]|0);return}function qRa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0;if(!c)f=0;else f=(k[a+48>>2]&1|0)==0;h=16>>>(f&1);j=k[a+288+(b*48|0)+(c<<4)+8>>2]|0;g=k[a+288+(b*48|0)+(c<<4)+12>>2]|0;f=ha(j,d)|0;d=ha(j,e)|0;if((f|0)==(d|0))return;e=g+f|0;f=g+(f+-1+(k[a+288+(b*48|0)+(c<<4)>>2]|0))|0;while(1){vBb(e+(0-h)|0,i[e>>0]|0,h|0)|0;vBb(f+1|0,i[f>>0]|0,h|0)|0;e=e+j|0;if((e|0)==(g+d|0))break;else f=f+j|0}return}function rRa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!c){g=16;d=0}else{d=k[a+48>>2]|0;g=16>>>(d&1^1);d=(d&2|0)==0}h=k[a+288+(b*48|0)+(c<<4)+8>>2]|0;i=(k[a+288+(b*48|0)+(c<<4)>>2]|0)+(g<<1)|0;j=k[a+288+(b*48|0)+(c<<4)+12>>2]|0;e=0-g|0;f=0-(g+(ha(16>>>(d&1),h)|0))|0;if((e|0)==(f|0))return;e=j+e|0;d=j+((ha((k[a+288+(b*48|0)+(c<<4)+4>>2]|0)+-1|0,h)|0)-g)|0;do{a=e;e=e+(0-h)|0;ABb(e|0,a|0,i|0)|0;a=d;d=d+h|0;ABb(d|0,a|0,i|0)|0}while((e|0)!=(j+f|0));return}function sRa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;Ti[k[a+84>>2]&63](a,b,c,d,e,f);return}function tRa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;Ti[k[a+88>>2]&63](a,b,c,d,e,f);return}function uRa(a,b){a=a|0;b=b|0;var c=0,d=0;c=i[(l[a+795>>0]|0)+(a+51488)>>0]|0;if(!(c<<24>>24)){b=1;return b|0}vBb(b|0,0,1024)|0;d=0;do{a=127-d|0;if((a-(c&255)|0)>-1)k[b+(a-(c&255)<<2)>>2]=d-(c&255);k[b+(a<<2)>>2]=0-d;a=d+127|0;k[b+(a<<2)>>2]=d;if((a+(c&255)|0)<256)k[b+(a+(c&255)<<2)>>2]=(c&255)-d;d=d+1|0}while((d|0)!=(c&255|0));a=0;return a|0}function vRa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;Ti[k[a+92>>2]&63](a,b,c,d,e,f);return}function wRa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0.0;if(!((c|0)>-1|(c|0)==-1&b>>>0>4294967295)){l=-1.0;return +l}g=k[a+60>>2]|0;j=GBb(b|0,c|0,g|0)|0;f=L;g=DBb(j|0,f|0,g|0)|0;h=L;d=i[a>>0]|0;if((d&255)>3){d=1;e=0}else if(d<<24>>24==3){d=i[a+1>>0]|0;if((d&255)>2){d=1;e=0}else if(d<<24>>24==2){d=(i[a+2>>0]|0)!=0&1;e=0}else{d=0;e=0}}else{d=0;e=0}c=xBb(b|0,c|0,1,0)|0;j=xBb(c|0,L|0,j|0,f|0)|0;j=EBb(j|0,L|0,g|0,h|0)|0;j=EBb(j|0,L|0,d|0,e|0)|0;l=(+(j>>>0)+4294967296.0*+(L|0))*(+((k[a+32>>2]|0)>>>0)/+((k[a+28>>2]|0)>>>0));return +l}function xRa(a,b,c){a=a|0;b=b|0;c=c|0;k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;k[a+12>>2]=0;k[a+16>>2]=0;k[a+4>>2]=b;k[a+8>>2]=b+c;return}function yRa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=k[a+12>>2]|0;if(!b){b=0;return b|0}c=k[a>>2]|0;if((d|0)<(b|0)){f=k[a+4>>2]|0;g=k[a+8>>2]|0;if((d|0)<25&f>>>0>>0){j=(f-g|0)>>>0>~((24-d|0)>>>3)>>>0?f-g|0:~((24-d|0)>>>3);e=0-((f-g|0)>>>0>~((24-d|0)>>>3)>>>0?f-g|0:~((24-d|0)>>>3))|0;h=d;i=f;while(1){c=(l[i>>0]|0)<<24-h|c;i=i+1|0;if((i|0)==(f+(0-j)|0))break;else h=h+8|0}e=(f+e|0)>>>0>>0;d=d-(j<<3)|0;f=f+(0-j)|0}else e=f>>>0>>0;k[a+4>>2]=f;do if((d|0)<(b|0))if(e){e=d;c=(l[f>>0]|0)>>>(d&7)|c;break}else{k[a+16>>2]=1;e=1073741824;break}else e=d;while(0);k[a+12>>2]=e;d=e}k[a+12>>2]=d-b;k[a>>2]=c<<1<>>(32-b|0);return b|0}function zRa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=k[a>>2]|0;g=k[a+12>>2]|0;if((g|0)>=1){h=g;i=b;j=i>>>31;h=h+-1|0;i=i<<1;k[a+12>>2]=h;k[a>>2]=i;return j|0}h=k[a+4>>2]|0;d=k[a+8>>2]|0;if(h>>>0>>0){i=(h-d|0)>>>0>~((24-g|0)>>>3)>>>0?h-d|0:~((24-g|0)>>>3);c=0-((h-d|0)>>>0>~((24-g|0)>>>3)>>>0?h-d|0:~((24-g|0)>>>3))|0;e=g;f=h;while(1){b=(l[f>>0]|0)<<24-e|b;f=f+1|0;if((f|0)==(h+(0-i)|0))break;else e=e+8|0}k[a+4>>2]=h+(0-i);if((g-(i<<3)|0)<1)if((h+c|0)>>>0>>0){c=g-(i<<3)|0;b=(l[h+(0-i)>>0]|0)>>>(g-(i<<3)&7)|b}else j=8;else c=g-(i<<3)|0}else{k[a+4>>2]=h;j=8}if((j|0)==8){k[a+16>>2]=1;c=1073741824}k[a+12>>2]=c;h=c;i=b;j=i>>>31;h=h+-1|0;i=i<<1;k[a+12>>2]=h;k[a>>2]=i;return j|0}function ARa(a){a=a|0;if(k[a+16>>2]|0){a=-1;return a|0}a=(k[a+8>>2]|0)-(k[a+4>>2]|0)+(k[a+12>>2]>>3)|0;return a|0}function BRa(a,b,c){a=a|0;b=b|0;c=c|0;Di[k[a+80>>2]&511](b,c);return}function CRa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0;e=r;r=r+128|0;if((b|0)<3){c=j[a+16>>1]|0;d=(j[a>>1]|0)*46341>>16;b=j[a+2>>1]|0;f=((b*64277>>16)*46341>>16)+((b*12785>>16)*46341>>16)|0;g=((b*64277>>16)*46341>>16)-((b*12785>>16)*46341>>16)|0;j[e>>1]=(b*64277>>16)+d;j[e+16>>1]=f+d;j[e+32>>1]=g+d;j[e+48>>1]=(b*12785>>16)+d;j[e+64>>1]=d-(b*12785>>16);j[e+80>>1]=d-g;j[e+96>>1]=d-f;j[e+112>>1]=d-(b*64277>>16);j[e+114>>1]=((c<<16>>16)*46341|0)>>>16;j[e+98>>1]=((c<<16>>16)*46341|0)>>>16;j[e+82>>1]=((c<<16>>16)*46341|0)>>>16;j[e+66>>1]=((c<<16>>16)*46341|0)>>>16;j[e+50>>1]=((c<<16>>16)*46341|0)>>>16;j[e+34>>1]=((c<<16>>16)*46341|0)>>>16;j[e+18>>1]=((c<<16>>16)*46341|0)>>>16;j[e+2>>1]=((c<<16>>16)*46341|0)>>>16;d=(b*64277>>16)+d&65535;b=e;c=a;while(1){f=(d<<16>>16)*46341>>16;g=j[b+2>>1]|0;d=((g*64277>>16)*46341>>16)+((g*12785>>16)*46341>>16)|0;h=((g*64277>>16)*46341>>16)-((g*12785>>16)*46341>>16)|0;j[c>>1]=(g*64277>>16)+f;j[c+16>>1]=d+f;j[c+32>>1]=h+f;j[c+48>>1]=(g*12785>>16)+f;j[c+64>>1]=f-(g*12785>>16);j[c+80>>1]=f-h;j[c+96>>1]=f-d;j[c+112>>1]=f-(g*64277>>16);b=b+16|0;c=c+2|0;if(c>>>0>=(a+16|0)>>>0)break;d=j[b>>1]|0}b=a;do{j[b>>1]=((j[b>>1]|0)+8|0)>>>4;b=b+2|0}while(b>>>0<(a+128|0)>>>0);r=e;return}if((b|0)>=10){DRa(e,a);DRa(e+2|0,a+16|0);DRa(e+4|0,a+32|0);DRa(e+6|0,a+48|0);DRa(e+8|0,a+64|0);DRa(e+10|0,a+80|0);DRa(e+12|0,a+96|0);DRa(e+14|0,a+112|0);DRa(a,e);DRa(a+2|0,e+16|0);DRa(a+4|0,e+32|0);DRa(a+6|0,e+48|0);DRa(a+8|0,e+64|0);DRa(a+10|0,e+80|0);DRa(a+12|0,e+96|0);DRa(a+14|0,e+112|0);b=a;do{j[b>>1]=((j[b>>1]|0)+8|0)>>>4;b=b+2|0}while(b>>>0<(a+128|0)>>>0);r=e;return}c=(j[a>>1]|0)*46341>>16;g=j[a+4>>1]|0;b=j[a+2>>1]|0;h=j[a+6>>1]|0;f=(((b*64277>>16)-(h*54491>>16)<<16>>16)*46341>>16)+(((h*36410>>16)+(b*12785>>16)<<16>>16)*46341>>16)|0;d=(((b*64277>>16)-(h*54491>>16)<<16>>16)*46341>>16)-(((h*36410>>16)+(b*12785>>16)<<16>>16)*46341>>16)|0;j[e>>1]=(h*54491>>16)+(b*64277>>16)+((g*60547>>16)+c);j[e+16>>1]=f+((g*25080>>16)+c);j[e+32>>1]=d+(c-(g*25080>>16));j[e+48>>1]=(b*12785>>16)-(h*36410>>16)+(c-(g*60547>>16));j[e+64>>1]=c-(g*60547>>16)-((b*12785>>16)-(h*36410>>16));j[e+80>>1]=c-(g*25080>>16)-d;j[e+96>>1]=(g*25080>>16)+c-f;j[e+112>>1]=(g*60547>>16)+c-((h*54491>>16)+(b*64277>>16));b=(j[a+16>>1]|0)*46341>>16;h=j[a+20>>1]|0;c=j[a+18>>1]|0;g=((c*64277>>16)*46341>>16)+((c*12785>>16)*46341>>16)|0;f=((c*64277>>16)*46341>>16)-((c*12785>>16)*46341>>16)|0;j[e+2>>1]=(h*60547>>16)+b+(c*64277>>16);j[e+18>>1]=g+((h*25080>>16)+b);j[e+34>>1]=f+(b-(h*25080>>16));j[e+50>>1]=b-(h*60547>>16)+(c*12785>>16);j[e+66>>1]=b-(h*60547>>16)-(c*12785>>16);j[e+82>>1]=b-(h*25080>>16)-f;j[e+98>>1]=(h*25080>>16)+b-g;j[e+114>>1]=(h*60547>>16)+b-(c*64277>>16);c=(j[a+32>>1]|0)*46341>>16;b=j[a+34>>1]|0;h=((b*64277>>16)*46341>>16)+((b*12785>>16)*46341>>16)|0;g=((b*64277>>16)*46341>>16)-((b*12785>>16)*46341>>16)|0;j[e+4>>1]=(b*64277>>16)+c;j[e+20>>1]=h+c;j[e+36>>1]=g+c;j[e+52>>1]=(b*12785>>16)+c;j[e+68>>1]=c-(b*12785>>16);j[e+84>>1]=c-g;j[e+100>>1]=c-h;j[e+116>>1]=c-(b*64277>>16);b=((j[a+48>>1]|0)*46341|0)>>>16&65535;j[e+118>>1]=b;j[e+102>>1]=b;j[e+86>>1]=b;j[e+70>>1]=b;j[e+54>>1]=b;j[e+38>>1]=b;j[e+22>>1]=b;j[e+6>>1]=b;b=e;c=a;while(1){f=(j[b>>1]|0)*46341>>16;d=j[b+4>>1]|0;h=j[b+2>>1]|0;g=j[b+6>>1]|0;i=(((h*64277>>16)-(g*54491>>16)<<16>>16)*46341>>16)+(((g*36410>>16)+(h*12785>>16)<<16>>16)*46341>>16)|0;k=(((h*64277>>16)-(g*54491>>16)<<16>>16)*46341>>16)-(((g*36410>>16)+(h*12785>>16)<<16>>16)*46341>>16)|0;j[c>>1]=(g*54491>>16)+(h*64277>>16)+((d*60547>>16)+f);j[c+16>>1]=i+((d*25080>>16)+f);j[c+32>>1]=k+(f-(d*25080>>16));j[c+48>>1]=(h*12785>>16)-(g*36410>>16)+(f-(d*60547>>16));j[c+64>>1]=f-(d*60547>>16)-((h*12785>>16)-(g*36410>>16));j[c+80>>1]=f-(d*25080>>16)-k;j[c+96>>1]=(d*25080>>16)+f-i;j[c+112>>1]=(d*60547>>16)+f-((g*54491>>16)+(h*64277>>16));c=c+2|0;if(c>>>0>=(a+16|0)>>>0)break;else b=b+16|0}b=a;do{j[b>>1]=((j[b>>1]|0)+8|0)>>>4;b=b+2|0}while(b>>>0<(a+128|0)>>>0);r=e;return}function DRa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0;m=j[b>>1]|0;l=j[b+8>>1]|0;k=j[b+4>>1]|0;g=j[b+12>>1]|0;i=j[b+2>>1]|0;f=j[b+14>>1]|0;e=j[b+10>>1]|0;c=j[b+6>>1]|0;h=(e*54491>>16)-(c*36410>>16)+((i*12785>>16)-(f*64277>>16))|0;d=((i*12785>>16)-(f*64277>>16)-((e*54491>>16)-(c*36410>>16))<<16>>16)*46341>>16;b=(c*54491>>16)+(e*36410>>16)+((f*12785>>16)+(i*64277>>16))|0;e=((f*12785>>16)+(i*64277>>16)-((c*54491>>16)+(e*36410>>16))<<16>>16)*46341>>16;c=((l+m<<16>>16)*46341>>16)+((g*25080>>16)+(k*60547>>16))|0;i=((l+m<<16>>16)*46341>>16)-((g*25080>>16)+(k*60547>>16))|0;f=((m-l<<16>>16)*46341>>16)+((k*25080>>16)-(g*60547>>16))|0;g=((m-l<<16>>16)*46341>>16)-((k*25080>>16)-(g*60547>>16))|0;j[a>>1]=b+c;j[a+16>>1]=e+d+f;j[a+32>>1]=e-d+g;j[a+48>>1]=h+i;j[a+64>>1]=i-h;j[a+80>>1]=g-(e-d);j[a+96>>1]=f-(e+d);j[a+112>>1]=c-b;return}function ERa(a,b){a=a|0;b=b|0;var c=0;c=k[a>>2]|0;if((k[b+72>>2]|0)!=1651078259){b=18;return b|0}k[a+20>>2]=k[b+100>>2];k[a+24>>2]=k[b+104>>2];if(!(k[(k[b+156>>2]|0)+4>>2]&1)){M2a(a+28|0);b=N2a(c,b+76|0,a+28|0)|0;return b|0}else{k[a+28>>2]=k[b+76>>2];k[a+28+4>>2]=k[b+76+4>>2];k[a+28+8>>2]=k[b+76+8>>2];k[a+28+12>>2]=k[b+76+12>>2];k[a+28+16>>2]=k[b+76+16>>2];k[a+28+20>>2]=k[b+76+20>>2];b=(k[b+156>>2]|0)+4|0;k[b>>2]=k[b>>2]&-2;b=0;return b|0}return 0}function FRa(a){a=a|0;P2a(k[a>>2]|0,a+28|0)|0;return}function GRa(a,b){a=a|0;b=b|0;var c=0;c=k[a>>2]|0;k[b+20>>2]=k[a+20>>2];k[b+24>>2]=k[a+24>>2];return N2a(c,a+28|0,b+28|0)|0}function HRa(a,b){a=a|0;b=b|0;var c=0;c=k[a+20>>2]<<6;k[b>>2]=c;k[b+8>>2]=(k[a+28+4>>2]<<6)+c;c=k[a+24>>2]<<6;k[b+12>>2]=c;k[b+4>>2]=c-(k[a+28>>2]<<6);return}function IRa(a,b){a=a|0;b=b|0;var c=0;if((k[b+72>>2]|0)!=1869968492){b=18;return b|0}c=QSa(k[a>>2]|0,j[b+110>>1]|0,j[b+108>>1]|0,a+20|0)|0;if(c|0){b=c;return b|0}SSa(b+108|0,a+20|0)|0;b=0;return b|0}function JRa(a){a=a|0;TSa(k[a>>2]|0,a+20|0)|0;return}function KRa(a,b){a=a|0;b=b|0;var c=0;c=QSa(k[a>>2]|0,j[a+20+2>>1]|0,j[a+20>>1]|0,b+20|0)|0;if(c|0)return c|0;SSa(a+20|0,b+20|0)|0;return c|0}function LRa(a,b,c){a=a|0;b=b|0;c=c|0;if(b|0)XSa(a+20|0,b);if(!c)return;VSa(a+20|0,k[c>>2]|0,k[c+4>>2]|0);return}function MRa(a,b){a=a|0;b=b|0;USa(a+20|0,b);return}function NRa(a,b){a=a|0;b=b|0;k[b+72>>2]=1869968492;k[b+108>>2]=k[a+20>>2];k[b+108+4>>2]=k[a+20+4>>2];k[b+108+8>>2]=k[a+20+8>>2];k[b+108+12>>2]=k[a+20+12>>2];k[b+108+16>>2]=k[a+20+16>>2];k[b+124>>2]=k[b+124>>2]&-2;return 0}function ORa(a){a=a|0;var b=0,c=0;if(!a)return;b=k[k[a>>2]>>2]|0;c=k[(k[a+4>>2]|0)+12>>2]|0;if(c|0)Si[c&1023](a);YTa(b,a);return}function PRa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=r;r=r+16|0;if(!a){b=37;r=h;return b|0}f=k[a>>2]|0;if(!b){b=6;r=h;return b|0}c=k[a+72>>2]|0;a:do if((c|0)<1869968492)switch(c|0){case 1651078259:{e=46296;break}default:d=5}else{switch(c|0){case 1869968492:break;default:{d=5;break a}}e=46328}while(0);if((d|0)==5){c=HSa(f,c,0)|0;if(!c){b=18;r=h;return b|0}else e=c+20|0}g=UTa(k[f>>2]|0,k[e>>2]|0,h)|0;c=k[h>>2]|0;if(c|0){b=c;r=h;return b|0}k[g>>2]=f;k[g+4>>2]=e;k[g+8>>2]=k[e+4>>2];k[g+12>>2]=k[a+64>>2]<<10;k[g+16>>2]=k[a+68>>2]<<10;e=gj[k[e+8>>2]&511](g,a)|0;if(!e){k[b>>2]=g;b=0;r=h;return b|0}c=k[k[g>>2]>>2]|0;d=k[(k[g+4>>2]|0)+12>>2]|0;if(d|0)Si[d&1023](g);YTa(c,g);b=e;r=h;return b|0}function QRa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,l=0;l=r;r=r+208|0;if(!a){j=6;r=l;return j|0}i=k[a>>2]|0;if(!i){j=6;r=l;return j|0}h=k[i+4>>2]|0;g=k[i>>2]|0;if(!((h|0)!=0&(g|0)!=0)){j=6;r=l;return j|0}if((h|0)==46296){j=0;r=l;return j|0}if(!(k[h+28>>2]|0)){j=6;r=l;return j|0}vBb(l+40|0,0,156)|0;e=l;f=e+40|0;do{k[e>>2]=0;e=e+4|0}while((e|0)<(f|0));k[l+40+156>>2]=l;k[l+40>>2]=g;k[l+40+72>>2]=k[h+4>>2];j=UTa(k[g>>2]|0,52,l+200|0)|0;e=k[l+200>>2]|0;if(e|0){j=e;r=l;return j|0}k[j>>2]=g;k[j+4>>2]=46296;k[j+8>>2]=1651078259;if(c|0){e=k[i+4>>2]|0;if(e|0){e=k[e+20>>2]|0;if(e|0)kj[e&255](i,0,c)}}g=gj[k[h+28>>2]&511](i,l+40|0)|0;if(!g)g=dSa(k[i>>2]|0,l+40|0,b)|0;if((c|0)!=0&d<<24>>24==0){k[l+200>>2]=0-(k[c>>2]|0);k[l+200+4>>2]=0-(k[c+4>>2]|0);e=k[i+4>>2]|0;if(e|0){e=k[e+20>>2]|0;if(e|0)kj[e&255](i,0,l+200|0)}}do if(!g){e=k[j>>2]|0;if((k[l+40+72>>2]|0)==1651078259){k[j+20>>2]=k[l+40+100>>2];k[j+24>>2]=k[l+40+104>>2];if(!(k[(k[l+40+156>>2]|0)+4>>2]&1)){M2a(j+28|0);g=N2a(e,l+40+76|0,j+28|0)|0;if(g|0)break}else{c=l+40+76|0;k[j+28>>2]=k[c>>2];k[j+28+4>>2]=k[c+4>>2];k[j+28+8>>2]=k[c+8>>2];k[j+28+12>>2]=k[c+12>>2];k[j+28+16>>2]=k[c+16>>2];k[j+28+20>>2]=k[c+20>>2];c=(k[l+40+156>>2]|0)+4|0;k[c>>2]=k[c>>2]&-2}c=k[i+12+4>>2]|0;k[j+12>>2]=k[i+12>>2];k[j+12+4>>2]=c;if(d<<24>>24){e=k[k[i>>2]>>2]|0;f=k[(k[i+4>>2]|0)+12>>2]|0;if(f|0)Si[f&1023](i);YTa(e,i)}k[a>>2]=j;j=0;r=l;return j|0}else g=18}while(0);if(!((j|0)!=0&(g|0)!=0)){j=g;r=l;return j|0}e=k[k[j>>2]>>2]|0;f=k[(k[j+4>>2]|0)+12>>2]|0;if(f|0)Si[f&1023](j);YTa(e,j);j=g;r=l;return j|0}function RRa(a){a=a|0;ISa(a,61136)|0;ISa(a,54164)|0;ISa(a,54820)|0;ISa(a,47936)|0;ISa(a,49728)|0;ISa(a,51944)|0;ISa(a,56720)|0;ISa(a,57608)|0;ISa(a,51736)|0;ISa(a,52780)|0;ISa(a,52892)|0;ISa(a,52844)|0;ISa(a,53e3)|0;ISa(a,53528)|0;ISa(a,53984)|0;ISa(a,54044)|0;ISa(a,54104)|0;ISa(a,46440)|0;return}function SRa(a){a=a|0;var b=0,c=0;b=OTa()|0;if(!b){a=7;return a|0}c=MSa(b,a)|0;if(!c){RRa(k[a>>2]|0);a=0;return a|0}else{STa(b);a=c;return a|0}return 0}function TRa(a){a=a|0;var b=0;if(!a){a=33;return a|0}b=k[a>>2]|0;NSa(a)|0;STa(b);a=0;return a|0}function URa(a,b){a=a|0;b=b|0;var c=0,d=0;if(!((a|0)!=0&(b|0)!=0)){d=0;return d|0}c=k[a>>2]|0;if(!c){d=0;return d|0}while(1){if(!(Wmb(c,b)|0))break;a=a+8|0;c=k[a>>2]|0;if(!c){a=0;d=6;break}}if((d|0)==6)return a|0;d=k[a+4>>2]|0;return d|0}function VRa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;k[a+156>>2]=b;k[a+160>>2]=c;k[a+164>>2]=d;k[a+168>>2]=0;return}function WRa(a,b){a=a|0;b=b|0;k[a+168>>2]=b;Bg(a|0,1)}function XRa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=r;r=r+16|0;k[c>>2]=0;if(!a){c=33;r=f;return c|0}if(!b){c=6;r=f;return c|0}e=k[a>>2]|0;a=UTa(e,40,f)|0;d=k[f>>2]|0;if(d|0){c=d;r=f;return c|0}k[a+28>>2]=e;d=k[b>>2]|0;do if(!(d&1)){if(d&4|0){d=LTa(a,k[b+12>>2]|0)|0;k[f>>2]=d;k[a+16>>2]=k[b+12>>2];b=12;break}if(d&2|0)if(k[b+16>>2]|0){YTa(e,a);a=k[b+16>>2]|0;b=12;break}k[f>>2]=6;b=13}else{nTa(a,k[b+4>>2]|0,k[b+8>>2]|0);b=12}while(0);if((b|0)==12)if(!(k[f>>2]|0)){k[a+28>>2]=e;d=0}else b=13;if((b|0)==13){YTa(e,a);d=k[f>>2]|0;a=0}k[c>>2]=a;c=d;r=f;return c|0}function YRa(a,b){a=a|0;b=b|0;var c=0;if(!a)return;c=k[a+28>>2]|0;oTa(a);if(b|0)return;YTa(c,a);return}function ZRa(a){a=a|0;var b=0;b=k[a+156>>2]|0;if(b|0)if(k[b+4>>2]&1|0){YTa(k[(k[a+4>>2]|0)+100>>2]|0,k[a+88>>2]|0);k[a+88>>2]=0;a=(k[a+156>>2]|0)+4|0;k[a>>2]=k[a>>2]&-2;return}k[a+88>>2]=0;return}function _Ra(a,b){a=a|0;b=b|0;var c=0;c=k[a+156>>2]|0;if(c|0)if(k[c+4>>2]&1|0){YTa(k[(k[a+4>>2]|0)+100>>2]|0,k[a+88>>2]|0);k[a+88>>2]=0;c=(k[a+156>>2]|0)+4|0;k[c>>2]=k[c>>2]&-2;a=a+88|0;k[a>>2]=b;return}k[a+88>>2]=0;a=a+88|0;k[a>>2]=b;return}function $Ra(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=r;r=r+16|0;e=k[(k[a+4>>2]|0)+100>>2]|0;c=(k[a+156>>2]|0)+4|0;d=k[c>>2]|0;if(!(d&1)){k[c>>2]=d|1;c=a+88|0}else{YTa(e,k[a+88>>2]|0);k[a+88>>2]=0;c=a+88|0}b=UTa(e,b,f)|0;k[c>>2]=b;r=f;return k[f>>2]|0}function aSa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0;l=r;r=r+16|0;if(!a){j=35;r=l;return j|0}c=k[a+96>>2]|0;if(!c){j=6;r=l;return j|0}j=k[c+8>>2]|0;h=UTa(j,k[(k[c+12>>2]|0)+44>>2]|0,l)|0;c=k[l>>2]|0;if(c|0){if(!b){j=c;r=l;return j|0}k[b>>2]=0;j=c;r=l;return j|0}k[h+4>>2]=a;d=k[a+96>>2]|0;g=k[d+12>>2]|0;e=k[d+8>>2]|0;k[l+4>>2]=0;k[h>>2]=k[d+4>>2];f=UTa(e,40,l+4|0)|0;c=k[l+4>>2]|0;do if(!c){k[h+156>>2]=f;if(!(k[k[d>>2]>>2]&512)){c=$2a(e,f)|0;k[l+4>>2]=c;if(c|0){i=9;break}}c=k[g+64>>2]|0;if(!c)k[l>>2]=0;else{g=Gi[c&2047](h)|0;k[l>>2]=g;if(g|0)break}k[h+8>>2]=k[a+84>>2];k[a+84>>2]=h;if(!b){j=0;r=l;return j|0}k[b>>2]=h;j=0;r=l;return j|0}else i=9;while(0);if((i|0)==9)k[l>>2]=c;d=k[(k[h+4>>2]|0)+96>>2]|0;e=k[d+8>>2]|0;c=k[(k[d+12>>2]|0)+68>>2]|0;if(c|0)Si[c&1023](h);c=k[h+156>>2]|0;if(!c)i=16;else if(!(k[c+4>>2]&1))i=16;else{YTa(k[(k[h+4>>2]|0)+100>>2]|0,k[h+88>>2]|0);k[h+88>>2]=0;c=k[h+156>>2]|0;k[c+4>>2]=k[c+4>>2]&-2}if((i|0)==16)k[h+88>>2]=0;if(c|0){if(!(k[k[d>>2]>>2]&512)){b3a(k[c>>2]|0);c=k[h+156>>2]|0;k[c>>2]=0}YTa(e,c);k[h+156>>2]=0}YTa(j,h);j=k[l>>2]|0;r=l;return j|0}function bSa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;if(!a)return;d=k[a+4>>2]|0;e=k[d+96>>2]|0;g=k[e+8>>2]|0;b=k[d+84>>2]|0;if(!b)return;else c=0;while(1){if((b|0)==(a|0))break;c=k[b+8>>2]|0;if(!c){f=21;break}else{h=b;b=c;c=h}}if((f|0)==21)return;b=k[a+8>>2]|0;if(!c)k[d+84>>2]=b;else k[c+8>>2]=b;b=k[a+20>>2]|0;if(!b){c=e;d=g}else{Si[b&1023](a);d=k[(k[a+4>>2]|0)+96>>2]|0;c=d;d=k[d+8>>2]|0}b=k[(k[c+12>>2]|0)+68>>2]|0;if(b|0)Si[b&1023](a);b=k[a+156>>2]|0;if(!b)f=14;else if(!(k[b+4>>2]&1))f=14;else{YTa(k[(k[a+4>>2]|0)+100>>2]|0,k[a+88>>2]|0);k[a+88>>2]=0;b=k[a+156>>2]|0;k[b+4>>2]=k[b+4>>2]&-2}if((f|0)==14)k[a+88>>2]=0;if(b|0){if(!(k[k[c>>2]>>2]&512)){b3a(k[b>>2]|0);b=k[a+156>>2]|0;k[b>>2]=0}YTa(d,b);k[a+156>>2]=0}YTa(g,a);return}function cSa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0;if(!a){m=35;return m|0}if(!(k[a+88>>2]|0)){m=35;return m|0}m=k[a+84>>2]|0;if(!m){m=35;return m|0}d=k[m+156>>2]|0;if(!d)h=7;else if(!(k[d+4>>2]&1))h=7;else{YTa(k[(k[m+4>>2]|0)+100>>2]|0,k[m+88>>2]|0);k[m+88>>2]=0;l=(k[m+156>>2]|0)+4|0;k[l>>2]=k[l>>2]&-2}if((h|0)==7)k[m+88>>2]=0;i[m+94>>0]=0;d=m+24|0;e=d+40|0;do{k[d>>2]=0;d=d+4|0}while((d|0)<(e|0));k[m+72>>2]=0;k[m+72+4>>2]=0;k[m+72+8>>2]=0;k[m+72+12>>2]=0;d=m+100|0;e=d+56|0;do{k[d>>2]=0;d=d+4|0}while((d|0)<(e|0));f=k[a+96>>2]|0;g=k[(k[f+4>>2]|0)+160>>2]|0;l=(c&1024|0)==0?c:c|2049;l=(l&1|0)==0?l:l&-15|10;a:do if((l&32770|0)==0&(g|0)!=0){d=k[k[f>>2]>>2]|0;if((d&768|0)==256){e=k[a+8>>2]|0;if(!(e&8192)){do if(!(l&2048)){n=k[a+128>>2]|0;c=(k[n>>2]|0)==0;if(!(k[n+8>>2]|0))if(c){h=27;break a}else break;else if(c)break;else{h=27;break a}}while(0);if(!(l&32))if(!((l&983040|0)==65536|(d&1024|0)==0))if(!(i[(k[a+128>>2]|0)+52>>0]|0)){if(!(e&8)){h=27;break}if(!(k[a+696>>2]|0)){h=27;break}if(j[a+260+26>>1]|0){h=27;break}if(k[a+628>>2]|0){h=27;break}if(k[a+636>>2]|0){h=27;break}}if((l&8|0)==0&(e&2|0)!=0)if(!(nj[k[(k[f+12>>2]|0)+72>>2]&127](m,k[a+88>>2]|0,b,l|16384)|0))if((k[m+72>>2]|0)==1651078259){d=0;break}n=(k[a+128>>2]|0)+24|0;f=k[n>>2]|0;k[n>>2]=0;d=Ni[k[(k[(k[g>>2]|0)+20>>2]|0)+12>>2]&127](g,m,k[a+88>>2]|0,b,l)|0;k[n>>2]=f}else h=27}else h=27}else h=27;while(0);if((h|0)==27){d=nj[k[(k[f+12>>2]|0)+72>>2]&127](m,k[a+88>>2]|0,b,l)|0;if(d|0){n=d;return n|0}if((k[m+72>>2]|0)==1869968492){d=RSa(m+108|0)|0;if(d|0){n=d;return n|0}if(!(l&2)){if(!(l&16)){k[m+44>>2]=k[m+44>>2]&-64;k[m+48>>2]=k[m+48>>2]&-64;b=k[m+32>>2]|0;g=b+63+(k[m+24>>2]|0)&-64;h=k[m+36>>2]|0;n=h-(k[m+28>>2]|0)&-64;k[m+32>>2]=b&-64;k[m+36>>2]=h+63&-64;k[m+24>>2]=g-(b&-64);k[m+28>>2]=(h+63&-64)-n}else{k[m+32>>2]=k[m+32>>2]&-64;k[m+36>>2]=(k[m+36>>2]|0)+63&-64;b=k[m+44>>2]|0;g=b+63+(k[m+24>>2]|0)&-64;n=k[m+48>>2]|0;h=n+63+(k[m+28>>2]|0)&-64;k[m+44>>2]=b&-64;k[m+48>>2]=n&-64;k[m+24>>2]=g-(b&-64);k[m+28>>2]=h-(n&-64)}k[m+40>>2]=(k[m+40>>2]|0)+32&-64;k[m+52>>2]=(k[m+52>>2]|0)+32&-64;d=0}else d=0}else d=0}if(!(l&16)){e=0;c=k[m+40>>2]|0}else{e=k[m+52>>2]|0;c=0}k[m+64>>2]=c;k[m+68>>2]=e;if(!(l&8192))if(k[a+8>>2]&1|0){n=k[a+88>>2]|0;h=S2a(k[m+56>>2]|0,k[n+16>>2]|0,64)|0;k[m+56>>2]=h;n=S2a(k[m+60>>2]|0,k[n+20>>2]|0,64)|0;k[m+60>>2]=n}if(!(l&2048)){b=k[a+128>>2]|0;e=k[b+24>>2]|0;if(e){g=k[(k[(k[m+4>>2]|0)+96>>2]|0)+4>>2]|0;c=k[g+156>>2]|0;if(!c){f=k[m+72>>2]|0;h=46}else{f=k[m+72>>2]|0;if((k[c+16>>2]|0)==(f|0)){d=c;h=51}else h=46}b:do if((h|0)==46){c:do if(g|0){c=k[g+148>>2]|0;if(c|0){while(1){g=k[c+8>>2]|0;if((k[g+16>>2]|0)==(f|0))break;c=k[c+4>>2]|0;if(!c)break c}if(g|0){d=g;h=51;break b}}}while(0);if((f|0)==1869968492){if(e&1){XSa(m+108|0,b);e=k[b+24>>2]|0}if(e&2)VSa(m+108|0,k[b+16>>2]|0,k[b+20>>2]|0)}}while(0);if((h|0)==51)d=nj[k[(k[d+12>>2]|0)+44>>2]&127](d,m,b,b+16|0)|0;WSa(m+64|0,b)}}if(d|0){n=d;return n|0}d=k[m+72>>2]|0;d:do if((d|0)<1668246896){switch(d|0){case 1651078259:{d=0;break}default:break d}return d|0}else{switch(d|0){case 1668246896:{d=0;break}default:break d}return d|0}while(0);if(!(l&4)){n=0;return n|0}d=k[m+4>>2]|0;if(!d){n=6;return n|0}n=dSa(k[(k[d+96>>2]|0)+4>>2]|0,m,(l&4096|0)==0|(l>>>16&15|0)!=0?l>>>16&15:2)|0;return n|0}function dSa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0;i=k[b+72>>2]|0;a:do if((i|0)<1869968492){switch(i|0){case 1651078259:{e=0;break}default:{m=3;break a}}return e|0}else{switch(i|0){case 1869968492:break;default:{m=3;break a}}n=a+148|0;f=k[a+148>>2]|0;d=k[a+156>>2]|0}while(0);do if((m|0)==3){if(!a){e=7;g=0}else{e=k[a+148>>2]|0;if(!e){n=a+148|0;f=0;d=0;break}while(1){h=k[e+8>>2]|0;if((k[h+16>>2]|0)==(i|0)){j=e;m=6;break}e=k[e+4>>2]|0;if(!e){l=0;g=0;break}}if((m|0)==6){l=j;g=h}if(!a)e=7;else{n=a+148|0;f=l;d=g;break}}while(1){if(!g){m=18;break}e=nj[k[g+60>>2]&127](g,b,c,0)|0;if((e|0)!=0&(e&255|0)==19)g=0;else{m=18;break}}if((m|0)==18)return e|0}while(0);if(!d){b=7;return b|0}while(1){e=nj[k[d+60>>2]&127](d,b,c,0)|0;if(!((e|0)!=0&(e&255|0)==19)){m=18;break}g=k[b+72>>2]|0;d=k[((f|0)==0?n:f+4|0)>>2]|0;b:do if(!d){f=0;d=0}else{f=d;while(1){d=k[f+8>>2]|0;if((k[d+16>>2]|0)==(g|0))break;f=k[f+4>>2]|0;if(!f){f=0;d=0;break b}}}while(0);if(!d){m=18;break}}if((m|0)==18)return e|0;return 0}function eSa(a,b){a=a|0;b=b|0;if(!a){b=0;return b|0}a=k[a+92>>2]|0;if(!a){b=0;return b|0}b=gj[k[(k[a+12>>2]|0)+12>>2]&511](a,b)|0;return b|0}function fSa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0;s=r;r=r+160|0;k[s+4>>2]=0;k[s>>2]=0;if(!((b|0)!=0&((c|0)>-1&(d|0)==0^1))){q=6;r=s;return q|0}if(!(k[b>>2]&2))p=0;else p=(k[b+16>>2]|0)!=0;m=p&1;e=XRa(a,b,s+4|0)|0;k[s+8>>2]=e;a:do if(!e){e=k[a>>2]|0;f=k[b>>2]|0;do if(!(f&8))q=15;else{h=k[b+20>>2]|0;if(!h)q=15;else{if(!(k[k[h>>2]>>2]&1))k[s+8>>2]=32;else{if(!(f&16)){g=0;f=0}else{g=k[b+24>>2]|0;f=k[b+28>>2]|0}b=gSa(h,s+4|0,m,c,g,f,s)|0;k[s+8>>2]=b;if(!b){g=h;break}}f=k[s+4>>2]|0;if(!f){g=h;q=88;break a}g=k[f+28>>2]|0;oTa(f);if(p){g=h;q=88;break a}YTa(g,f);g=h;q=88;break a}}while(0);b:do if((q|0)==15){k[s+8>>2]=11;i=k[a+16>>2]|0;if((i|0)<=0){g=0;q=30;break a}f=11;l=a+20|0;h=0;while(1){g=k[l>>2]|0;if(!(k[k[g>>2]>>2]&1))g=h;else{if(!(k[b>>2]&16)){f=0;h=0}else{f=k[b+24>>2]|0;h=k[b+28>>2]|0}f=gSa(g,s+4|0,m,c,f,h,s)|0;k[s+8>>2]=f;if(!f)break b;if((f&255|0)==142&(Wmb(k[(k[k[l>>2]>>2]|0)+8>>2]|0,591592)|0)==0){h=k[s+4>>2]|0;if(pTa(h,0)|0){q=29;break a}f=hSa(a,h,c,0,0,d)|0;k[s+8>>2]=f;if(!f)break}if((f&255|0)!=2){q=29;break a}}l=l+4|0;if(l>>>0>=(a+20+(i<<2)|0)>>>0){q=29;break a}else h=g}if(!h){q=0;r=s;return q|0}e=k[h+28>>2]|0;oTa(h);if(p){q=0;r=s;return q|0}YTa(e,h);q=0;r=s;return q|0}while(0);h=UTa(e,12,s+8|0)|0;c:do if(!(k[s+8>>2]|0)){e=k[s>>2]|0;k[h+8>>2]=e;aUa((k[e+96>>2]|0)+16|0,h);do if((c|0)>-1){p=aSa(e,0)|0;k[s+8>>2]=p;if(p|0)break c;p=mSa(e,s+120|0)|0;k[s+8>>2]=p;if(!p){k[e+88>>2]=k[s+120>>2];e=k[s>>2]|0;break}else break c}while(0);if(k[e+8>>2]&1|0){f=e+74|0;g=j[f>>1]|0;if(g<<16>>16<0)j[f>>1]=0-(g&65535);if(!(k[e+8>>2]&32))j[e+78>>1]=j[e+74>>1]|0}if(k[e+8>>2]&2|0)if((k[e+28>>2]|0)>0){i=k[s>>2]|0;l=k[i+28>>2]|0;f=0;while(1){h=k[e+32>>2]|0;e=h+(f<<4)|0;g=j[e>>1]|0;if(g<<16>>16<0)j[e>>1]=0-(g&65535);e=h+(f<<4)+8|0;g=k[e>>2]|0;if((g|0)<0)k[e>>2]=0-g<<16>>16;e=h+(f<<4)+12|0;g=k[e>>2]|0;if((g|0)<0)k[e>>2]=0-g;f=f+1|0;if((f|0)<(l|0))e=i;else break}}h=k[s>>2]|0;e=k[h+128>>2]|0;k[e>>2]=65536;k[e+4>>2]=0;k[e+8>>2]=0;k[e+12>>2]=65536;k[e+16>>2]=0;k[e+20>>2]=0;k[e+56>>2]=1;if(d|0){k[d>>2]=h;break a}if(!h)break a;g=k[h+96>>2]|0;if(!g)break a;k[e+56>>2]=0;e=k[g+8>>2]|0;f=$Ta(g+16|0,h)|0;if(!f)break a;bUa(g+16|0,f);YTa(e,f);nSa(e,h,g);break a}else{f=k[s>>2]|0;if(!h){q=95;break a}else e=f}while(0);if(e|0){f=k[e+96>>2]|0;if(f|0){p=(k[e+128>>2]|0)+56|0;d=k[p>>2]|0;k[p>>2]=d+-1;if((d|0)<=1){g=k[f+8>>2]|0;h=$Ta(f+16|0,e)|0;if(h|0){bUa(f+16|0,h);YTa(g,h);nSa(g,e,f)}}}}}else{f=e;g=0;e=0;q=29}while(0);d:do if((q|0)==29){switch(f&255|0){case 85:case 2:case 81:break;default:{q=30;break d}}h=k[s+4>>2]|0;f=kSa(a,h,c,d)|0;if((f&255|0)==2)f=lSa(a,h,0,c,d)|0;i=f&255;e:do switch(i|0){case 85:case 2:{if(!(k[b>>2]&4))q=51;else{o=k[a>>2]|0;k[s+12>>2]=0;aTa(a,h,k[b+12>>2]|0,s+120|0,s+84|0,s+48|0);i=2;n=0;l=0;while(1){m=mTa(a,n)|0;if(l<<24>>24==0|m<<24>>24!=0^1)if(!(k[s+48+(n<<2)>>2]|0)){k[s+16>>2]=4;f=k[s+120+(n<<2)>>2]|0;if(!f)f=k[b+12>>2]|0;k[s+16+12>>2]=f;i=XRa(a,s+16|0,s+12|0)|0;f=m<<24>>24!=0&(i&255|0)==81?1:l;if(!i){l=k[s+12>>2]|0;i=lSa(a,l,k[s+84+(n<<2)>>2]|0,c,d)|0;if(l|0){t=k[l+28>>2]|0;oTa(l);YTa(t,l)}if(!i){i=0;break}f=m<<24>>24==0?f:1}}else f=l;else f=l;n=n+1|0;if(n>>>0>=9)break;else l=f}f=k[s+120>>2]|0;if(f|0){YTa(o,f);k[s+120>>2]=0}f=k[s+120+4>>2]|0;if(f|0){YTa(o,f);k[s+120+4>>2]=0}f=k[s+120+8>>2]|0;if(f|0){YTa(o,f);k[s+120+8>>2]=0}f=k[s+120+12>>2]|0;if(f|0){YTa(o,f);k[s+120+12>>2]=0}f=k[s+120+16>>2]|0;if(f|0){YTa(o,f);k[s+120+16>>2]=0}f=k[s+120+20>>2]|0;if(f|0){YTa(o,f);k[s+120+20>>2]=0}f=k[s+120+24>>2]|0;if(f|0){YTa(o,f);k[s+120+24>>2]=0}f=k[s+120+28>>2]|0;if(f|0){YTa(o,f);k[s+120+28>>2]=0}f=k[s+120+32>>2]|0;if(f|0){YTa(o,f);k[s+120+32>>2]=0}if(!i){k[s+8>>2]=0;break e}else{k[s+8>>2]=2;q=57;break e}}break}default:q=51}while(0);if((q|0)==51){k[s+8>>2]=f;if(f|0)if((i|0)==2)q=57;else{q=58;break}}if((q|0)==57){k[s+8>>2]=2;q=58;break}if(h|0){e=k[h+28>>2]|0;oTa(h);if(!p)YTa(e,h)}t=k[s+8>>2]|0;r=s;return t|0}while(0);if((q|0)==30){h=k[s+4>>2]|0;q=58}if((q|0)==58)if(!h)q=88;else{f=k[h+28>>2]|0;oTa(h);if(p)q=88;else{YTa(f,h);q=88}}if((q|0)==88){f=k[s>>2]|0;q=95}if((q|0)==95)if(f|0)nSa(e,f,g);t=k[s+8>>2]|0;r=s;return t|0}function gSa(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,l=0,m=0,n=0;n=r;r=r+16|0;j=k[a+12>>2]|0;l=k[a+8>>2]|0;m=UTa(l,k[j+36>>2]|0,n)|0;do if(!(k[n>>2]|0)){k[m+96>>2]=a;k[m+100>>2]=l;k[m+104>>2]=k[b>>2];if(c<<24>>24)k[m+8>>2]=k[m+8>>2]|1024;c=UTa(l,60,n)|0;if(!(k[n>>2]|0)){k[m+128>>2]=c;k[c+48>>2]=0;a:do if((e|0)>0){h=(k[m+128>>2]|0)+48|0;a=k[h>>2]|0;i=0;do{if(a|0)break a;if((k[f+(i<<3)>>2]|0)==1768842098){a=k[f+(i<<3)+4>>2]|0;k[h>>2]=a}else a=0;i=i+1|0}while((i|0)<(e|0))}while(0);a=k[j+48>>2]|0;if(!a)k[b>>2]=k[m+104>>2];else{f=Ni[a&127](k[b>>2]|0,m,d,e,f)|0;k[n>>2]=f;k[b>>2]=k[m+104>>2];if(f|0){h=27;break}}b=k[m+40>>2]|0;b:do if(b|0){c=b+(k[m+36>>2]<<2)|0;c:do if((c+-4|0)>>>0>=b>>>0){h=c+-4|0;d:while(1){a=k[h>>2]|0;e:do if((k[a+4>>2]|0)==1970170211){i=k[a+8>>2]|0;switch((i&65535)<<16>>16){case 3:if((i>>>16&65535)<<16>>16==10)break d;else break e;case 0:if((i>>>16&65535)<<16>>16==4)break d;else break e;default:break e}}while(0);h=h+-4|0;if(h>>>0>>0)break c}k[m+92>>2]=a;break b}while(0);do{c=c+-4|0;if(c>>>0>>0)break b;a=k[c>>2]|0}while((k[a+4>>2]|0)!=1970170211);k[m+92>>2]=a}while(0);k[g>>2]=m;g=0;r=n;return g|0}else h=27}else if(!m)c=0;else{c=0;h=27}while(0);if((h|0)==27){if((k[m+36>>2]|0)>0){b=0;do{a=k[(k[m+40>>2]|0)+(b<<2)>>2]|0;h=k[(k[a>>2]|0)+100>>2]|0;i=k[(k[a+12>>2]|0)+8>>2]|0;if(i|0)Si[i&1023](a);YTa(h,a);k[(k[m+40>>2]|0)+(b<<2)>>2]=0;b=b+1|0}while((b|0)<(k[m+36>>2]|0))}YTa(l,k[m+40>>2]|0);k[m+40>>2]=0;k[m+36>>2]=0}a=k[j+52>>2]|0;if(a|0)Si[a&1023](m);YTa(l,c);YTa(l,m);k[g>>2]=0;g=k[n>>2]|0;r=n;return g|0}function hSa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0;q=r;r=r+16|0;n=k[a>>2]|0;p=rTa(b)|0;e=ITa(b,q+4|0)|0;d=k[q+4>>2]|0;a:do if(!d)if((e|0)==1954115633){m=FTa(b,q+4|0)|0;d=k[q+4>>2]|0;if(!d){d=qTa(b,6)|0;k[q+4>>2]=d;if(!d)if(!(m<<16>>16)){d=142;o=24}else{b:do if((c|0)<0){h=0;c:while(1){g=ITa(b,q+4|0)|0;d=k[q+4>>2]|0;if(d|0){o=24;break a}d=qTa(b,4)|0;k[q+4>>2]=d;if(d|0){o=24;break a}i=ITa(b,q+4|0)|0;d=k[q+4>>2]|0;if(d|0){o=24;break a}e=ITa(b,q+4|0)|0;d=k[q+4>>2]|0;if(d|0){o=24;break a}if((g|0)<1415139377)switch(g|0){case 1128875040:{o=23;break c}default:{}}else switch(g|0){case 1415139377:{o=22;break c}default:{}}h=h+1|0;if((h|0)>=(m&65535|0)){d=142;o=24;break a}}if((o|0)==22){h=0;g=e+-24|0;d=i+24|0;break}else if((o|0)==23){h=1;g=e+-22|0;d=i+22|0;break}}else{l=0;h=0;e=-1;while(1){i=ITa(b,q+4|0)|0;d=k[q+4>>2]|0;if(d|0){o=24;break a}d=qTa(b,4)|0;k[q+4>>2]=d;if(d|0){o=24;break a}j=ITa(b,q+4|0)|0;d=k[q+4>>2]|0;if(d|0){o=24;break a}g=ITa(b,q+4|0)|0;d=k[q+4>>2]|0;if(d|0){o=24;break a}d:do if((i|0)<1415139377){switch(i|0){case 1128875040:break;default:{d=j;break d}}h=1;g=g+-22|0;d=j+22|0;e=e+1|0}else{switch(i|0){case 1415139377:break;default:{d=j;break d}}h=0;g=g+-24|0;d=j+24|0;e=e+1|0}while(0);l=l+1|0;if((e|0)==(c|0))break b;if((l|0)>=(m&65535|0)){d=142;o=24;break a}}}while(0);k[q>>2]=0;if(pTa(b,d+p|0)|0){b=0;r=q;return b|0}e=UTa(n,g,q)|0;d=k[q>>2]|0;if(!d){d=sTa(b,e,g)|0;k[q>>2]=d;if(!d){d=iSa(a,e,g,(c|0)<0?c:0,h<<24>>24?527810:591161,f)|0;k[q>>2]=d}}}else o=24}else o=24}else{d=2;o=24}else o=24;while(0);if((o|0)==24)k[q>>2]=d;if((d&255|0)!=2){b=d;r=q;return b|0}b=pTa(b,p)|0;b=(b|0)==0?k[q>>2]|0:b;r=q;return b|0}function iSa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,l=0;l=r;r=r+48|0;j=k[a>>2]|0;if(!a){g=33;h=4}else if(!b){g=6;h=4}else{i=UTa(j,40,l+32|0)|0;g=k[l+32>>2]|0;if(!g){nTa(i,b,c);k[i+24>>2]=691;g=k[l+32>>2]|0;if(!g){k[l>>2]=2;k[l+16>>2]=i;if(e|0){k[l>>2]=10;c=k[a+16>>2]|0;a:do if((c|0)>0){b=a+20|0;while(1){g=k[b>>2]|0;b=b+4|0;if(!(Wmb(k[(k[g>>2]|0)+8>>2]|0,e)|0))break a;if(b>>>0>=(a+20+(c<<2)|0)>>>0){g=0;break}}}else g=0;while(0);k[l+20>>2]=g}g=fSa(a,l,d,f)|0;if(!g){j=(k[f>>2]|0)+8|0;k[j>>2]=k[j>>2]&-1025;j=0;r=l;return j|0}else{oTa(i);YTa(j,i);j=g;r=l;return j|0}}}else h=4}YTa(j,b);j=g;r=l;return j|0}function jSa(a){a=a|0;YTa(k[a+28>>2]|0,k[a>>2]|0);k[a+4>>2]=0;k[a>>2]=0;k[a+24>>2]=0;return}function kSa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=r;r=r+128|0;if(!b)e=85;else{e=pTa(b,0)|0;if(!e){e=sTa(b,f,128)|0;if(!e)if(!(i[f>>0]|0))if(!(i[f+74>>0]|0))if(!(i[f+82>>0]|0)){e=i[f+1>>0]|0;if((e+-1&255)>32)e=2;else if(!(i[f+63>>0]|0))if(!(i[f+((e&255)+2)>>0]|0))e=lSa(a,b,(l[f+84>>0]<<16|l[f+83>>0]<<24|l[f+85>>0]<<8|l[f+86>>0])+255&-128,c,d)|0;else e=2;else e=2}else e=2;else e=2;else e=2}}r=f;return e|0}function lSa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0;u=r;r=r+32|0;t=k[a>>2]|0;c=ZSa(a,b,c,u+12|0,u+8|0)|0;if(c|0){e=c;r=u;return e|0}if(_Sa(a,b,k[u+12>>2]|0,k[u+8>>2]|0,1347375956,1,u+4|0,u)|0){c=_Sa(a,b,k[u+12>>2]|0,k[u+8>>2]|0,1936092788,0,u+4|0,u)|0;if(c|0){e=c;r=u;return e|0}s=k[u>>2]|0;g=k[a>>2]|0;d=((d|0)%(s|0)|0|0)==-1?0:(d|0)%(s|0)|0;do if((d|0)<(s|0)){f=k[(k[u+4>>2]|0)+(d<<2)>>2]|0;c=pTa(b,f)|0;k[u+16>>2]=c;if(!c){h=ITa(b,u+16|0)|0;c=k[u+16>>2]|0;if(!c)if((h|0)==-1)c=1;else{s=hSa(a,b,d,0,0,e)|0;k[u+16>>2]=s;if(!s)c=0;else{if(pTa(b,f+4|0)|0){c=k[u+16>>2]|0;break}d=UTa(g,h,u+16|0)|0;c=k[u+16>>2]|0;if(!c){c=sTa(b,d,h)|0;k[u+16>>2]=c;if(!c){if((h|0)>4){c=(Emb(d,527814,4)|0)!=0;c=c?591592:529308}else c=591592;c=iSa(a,d,h,0,c,e)|0;k[u+16>>2]=c}}}}}}else c=1;while(0);YTa(t,k[u+4>>2]|0);k[u+4>>2]=0;if(c|0){e=c;r=u;return e|0}k[k[e>>2]>>2]=k[u>>2];e=0;r=u;return e|0}o=k[u+4>>2]|0;p=k[u>>2]|0;k[u+16>>2]=1;s=k[a>>2]|0;a:do switch(d|0){case 0:case -1:{if((p|0)>0){f=0;g=0;while(1){c=pTa(b,k[o+(f<<2)>>2]|0)|0;k[u+16>>2]=c;if(c|0)break a;d=ITa(b,u+16|0)|0;c=k[u+16>>2]|0;if(c|0)break a;if((d|0)<0){h=9;break}q=g+6+d|0;if(q>>>0>>0){h=9;break}f=f+1|0;if((f|0)>=(p|0))break;else g=q}if((h|0)==9){k[u+16>>2]=9;c=9;break a}if((q+2|0)>>>0>=6){n=UTa(s,q+2|0,u+16|0)|0;c=k[u+16>>2]|0;if(c|0)break a;i[n>>0]=-128;i[n+1>>0]=1;i[n+2>>0]=0;i[n+2+1>>0]=0;i[n+2+2>>0]=0;i[n+2+3>>0]=0;b:do if((p|0)>0){m=0;g=0;f=2;c=6;l=1;while(1){j=pTa(b,k[o+(m<<2)>>2]|0)|0;k[u+16>>2]=j;if(j|0){h=35;break b}d=ITa(b,u+16|0)|0;if(k[u+16>>2]|0){h=35;break b}if((d|0)<0)break;h=FTa(b,u+16|0)|0;if(k[u+16>>2]|0){h=35;break b}k[u+16>>2]=10;if(!((h&65535)>>>8))d=l;else{j=d>>>0>2?d+-2|0:0;if(((h&65535)>>>8|0)==(l|0)){g=j+g|0;d=l}else{d=f+3|0;if(d>>>0>(q+2|0)>>>0){h=34;break b}i[n+f>>0]=g;i[n+(f+1)>>0]=g>>>8;i[n+(f+2)>>0]=g>>>16;i[n+d>>0]=g>>>24;if(((h&65535)>>>8|0)==5){h=31;break b}d=c+6|0;if(d>>>0>(q+2|0)>>>0){h=34;break b}i[n+c>>0]=-128;f=c+2|0;i[n+(c+1)>>0]=(h&65535)>>>8;i[n+f>>0]=0;i[n+(c+3)>>0]=0;i[n+(c+4)>>0]=0;i[n+(c+5)>>0]=0;g=j;c=d;d=(h&65535)>>>8}if(c>>>0>q>>>0){h=34;break b}h=c+j|0;if(h>>>0>q>>>0){h=34;break b}l=sTa(b,n+c|0,j)|0;k[u+16>>2]=l;if(!l)c=h;else{h=35;break b}}m=m+1|0;if((m|0)>=(p|0)){h=31;break b}else l=d}k[u+16>>2]=9;h=35}else{g=0;f=2;c=6;h=31}while(0);if((h|0)==31){k[u+16>>2]=10;d=c+2|0;if(d>>>0>(q+2|0)>>>0)h=35;else{i[n+c>>0]=-128;i[n+(c+1)>>0]=3;c=f+3|0;if(c>>>0>(q+2|0)>>>0)h=34;else{i[n+f>>0]=g;i[n+(f+1)>>0]=g>>>8;i[n+(f+2)>>0]=g>>>16;i[n+c>>0]=g>>>24;c=iSa(a,n,d,0,591161,e)|0;break a}}}if((h|0)==34)if(k[u+16>>2]|0)h=35;if((h|0)==35)k[u+16>>2]=1;YTa(s,n);c=k[u+16>>2]|0;break a}}k[u+16>>2]=10;c=10;break}default:c=1}while(0);YTa(t,k[u+4>>2]|0);k[u+4>>2]=0;if(c|0){e=c;r=u;return e|0}k[k[e>>2]>>2]=1;e=0;r=u;return e|0}function mSa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=r;r=r+16|0;if(!a){f=35;r=g;return f|0}if(!b){f=6;r=g;return f|0}if(!(k[a+96>>2]|0)){f=34;r=g;return f|0}k[b>>2]=0;d=k[(k[a+96>>2]|0)+12>>2]|0;f=k[a+100>>2]|0;e=UTa(f,k[d+40>>2]|0,g)|0;do if(!(k[g>>2]|0)){c=UTa(f,12,g)|0;if(!(k[g>>2]|0)){k[e>>2]=a;k[e+40>>2]=0;d=k[d+56>>2]|0;if(d|0){d=Gi[d&2047](e)|0;k[g>>2]=d;if(d|0)break}k[b>>2]=e;k[c+8>>2]=e;aUa(a+108|0,c);if(!(k[g>>2]|0)){f=0;r=g;return f|0}}}else c=0;while(0);YTa(f,c);YTa(f,e);f=k[g>>2]|0;r=g;return f|0}function nSa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=k[c+12>>2]|0;d=k[b+120>>2]|0;if(d|0)Si[d&1023](k[b+116>>2]|0);d=k[b+84>>2]|0;if(d|0)do{bSa(d);d=k[b+84>>2]|0}while((d|0)!=0);cUa(b+108|0,103,a,c);k[b+88>>2]=0;d=k[b+48>>2]|0;if(d|0)Si[d&1023](b);if((k[b+36>>2]|0)>0){f=0;do{d=k[(k[b+40>>2]|0)+(f<<2)>>2]|0;c=k[(k[d>>2]|0)+100>>2]|0;e=k[(k[d+12>>2]|0)+8>>2]|0;if(e|0)Si[e&1023](d);YTa(c,d);k[(k[b+40>>2]|0)+(f<<2)>>2]=0;f=f+1|0}while((f|0)<(k[b+36>>2]|0))}YTa(a,k[b+40>>2]|0);k[b+40>>2]=0;k[b+36>>2]=0;d=k[g+52>>2]|0;if(d|0)Si[d&1023](b);d=k[b+104>>2]|0;if(d|0){g=k[b+8>>2]&1024;c=k[d+28>>2]|0;oTa(d);if(!g)YTa(c,d)}k[b+104>>2]=0;d=k[b+128>>2]|0;if(!d){YTa(a,b);return}YTa(a,d);k[b+128>>2]=0;YTa(a,b);return}function oSa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=k[b+8>>2]|0;if(d|0)Si[d&1023](b);d=k[(k[c+12>>2]|0)+60>>2]|0;if(d|0)Si[d&1023](b);YTa(a,k[b+40>>2]|0);k[b+40>>2]=0;YTa(a,b);return}function pSa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=r;r=r+32|0;if(!b){a=6;r=f;return a|0}k[f>>2]=1;k[f+4>>2]=b;k[f+8>>2]=c;k[f+16>>2]=0;a=fSa(a,f,d,e)|0;r=f;return a|0}function qSa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if(!((a|0)!=0&(b|0)!=0)){b=0;return b|0}d=k[a+16>>2]|0;if((d|0)<=0){b=0;return b|0}e=a+20|0;while(1){c=k[e>>2]|0;e=e+4|0;if(!(Wmb(k[(k[c>>2]|0)+8>>2]|0,b)|0)){d=6;break}if(e>>>0>=(a+20+(d<<2)|0)>>>0){c=0;d=6;break}}if((d|0)==6)return c|0;return 0}function rSa(a){a=a|0;var b=0,c=0,d=0;if(!a){a=35;return a|0}d=k[a+96>>2]|0;if(!d){a=35;return a|0}b=(k[a+128>>2]|0)+56|0;c=k[b>>2]|0;k[b>>2]=c+-1;if((c|0)>1){a=0;return a|0}b=k[d+8>>2]|0;c=$Ta(d+16|0,a)|0;if(!c){a=35;return a|0}bUa(d+16|0,c);YTa(b,c);nSa(b,a,d);a=0;return a|0}function sSa(a){a=a|0;var b=0,c=0,d=0,e=0;if(!a){a=36;return a|0}c=k[a>>2]|0;if(!c){a=35;return a|0}d=k[c+96>>2]|0;if(!d){a=34;return a|0}e=k[d+8>>2]|0;b=$Ta(c+108|0,a)|0;if(!b){a=36;return a|0}bUa(c+108|0,b);YTa(e,b);if((k[c+88>>2]|0)==(a|0)){k[c+88>>2]=0;b=k[c+108>>2]|0;if(b|0)k[c+88>>2]=k[b+8>>2]}b=k[a+8>>2]|0;if(b|0)Si[b&1023](a);b=k[(k[d+12>>2]|0)+60>>2]|0;if(b|0)Si[b&1023](a);YTa(e,k[a+40>>2]|0);k[a+40>>2]=0;YTa(e,a);a=0;return a|0}function tSa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;if(!(k[a+8>>2]&2)){d=35;return d|0}if(k[b>>2]|0){d=7;return d|0}e=k[b+12>>2]|0;g=k[b+4>>2]|0;if(!e)f=g;else f=((ha(g,e)|0)+36|0)/72|0;e=k[b+16>>2]|0;b=k[b+8>>2]|0;if(!e)e=b;else e=((ha(b,e)|0)+36|0)/72|0;b=(b|0)==0?f:e;h=((g|0)==0?b:f)+32|0;f=((g|0)==0?e:b)+32|0;g=k[a+28>>2]|0;if((g|0)<=0){d=23;return d|0}b=k[a+32>>2]|0;a:do if(!(c<<24>>24)){e=0;while(1){if(((k[b+(e<<4)+12>>2]|0)+32^f)>>>0<=63)if(((k[b+(e<<4)+8>>2]|0)+32^h)>>>0<=63)break a;e=e+1|0;if((e|0)>=(g|0)){e=23;break}}return e|0}else{e=0;while(1){if(((k[b+(e<<4)+12>>2]|0)+32^f)>>>0<=63)break a;e=e+1|0;if((e|0)>=(g|0)){e=23;break}}return e|0}while(0);if(!d){d=0;return d|0}k[d>>2]=e;d=0;return d|0}function uSa(a,b){a=a|0;b=b|0;var c=0,d=0;c=k[a+4>>2]|0;d=k[a+12>>2]|0;if((d|0)<0)c=(c|0)<(d|0)?d:c;else c=c-((d|0)>0?d:0)|0;if(!b)b=(c*12|0)/10|0;k[a+20>>2]=(k[a+8>>2]|0)-((k[a+16>>2]|0)/2|0);k[a+24>>2]=(b-c|0)/2|0;k[a+28>>2]=b;return}function vSa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=k[a+88>>2]|0;e=k[a+32>>2]|0;f=k[e+(b<<4)+8>>2]|0;j[c+12>>1]=(f+32|0)>>>6;d=k[e+(b<<4)+12>>2]|0;j[c+14>>1]=(d+32|0)>>>6;if(!(k[a+8>>2]&1)){k[c+16>>2]=65536;k[c+20>>2]=65536;k[c+24>>2]=d;k[c+28>>2]=0;k[c+32>>2]=j[e+(b<<4)>>1]<<6;a=f;b=c+36|0;k[b>>2]=a;return}else{f=V2a(f,m[a+68>>1]|0)|0;k[c+16>>2]=f;b=V2a(k[e+(b<<4)+12>>2]|0,m[a+68>>1]|0)|0;k[c+20>>2]=b;b=(U2a(j[a+70>>1]|0,b)|0)+63&-64;k[c+24>>2]=b;b=(U2a(j[a+72>>1]|0,k[c+20>>2]|0)|0)&-64;k[c+28>>2]=b;b=(U2a(j[a+74>>1]|0,k[c+20>>2]|0)|0)+32&-64;k[c+32>>2]=b;a=(U2a(j[a+76>>1]|0,k[c+16>>2]|0)|0)+32&-64;b=c+36|0;k[b>>2]=a;return}}function wSa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,n=0;n=k[a+88>>2]|0;if(!(k[a+8>>2]&1)){k[n+12>>2]=0;k[n+12+4>>2]=0;k[n+12+8>>2]=0;k[n+12+12>>2]=0;k[n+12+16>>2]=0;k[n+12+20>>2]=0;k[n+12+24>>2]=0;k[n+16>>2]=65536;k[n+20>>2]=65536;return}a:do switch(k[b>>2]|0){case 0:{c=m[a+68>>1]|0;d=c;l=11;break}case 1:{c=(j[a+70>>1]|0)-(j[a+72>>1]|0)|0;d=c;l=11;break}case 2:{d=(k[a+64>>2]|0)-(k[a+56>>2]|0)|0;c=(k[a+60>>2]|0)-(k[a+52>>2]|0)|0;l=11;break}case 3:{d=(j[a+70>>1]|0)-(j[a+72>>1]|0)|0;c=j[a+76>>1]|0;l=11;break}case 4:{c=k[b+4>>2]|0;k[n+16>>2]=c;d=k[b+8>>2]|0;k[n+20>>2]=d;if(!c){k[n+16>>2]=d;d=0;c=0;l=23;break a}if(!d){k[n+20>>2]=c;d=0;c=0;l=23}else{d=0;c=0;l=23}break}default:{d=0;c=0;l=11}}while(0);do if((l|0)==11){h=(c|0)<0?0-c|0:c;g=(d|0)<0?0-d|0:d;c=k[b+12>>2]|0;f=k[b+4>>2]|0;if(!c)c=f;else c=((ha(f,c)|0)+36|0)/72|0;d=k[b+16>>2]|0;e=k[b+8>>2]|0;if(!d)i=e;else i=((ha(e,d)|0)+36|0)/72|0;if(!f){d=V2a(i,g)|0;k[n+20>>2]=d;k[n+16>>2]=d;d=i;c=S2a(i,h,g)|0;l=23;break}d=V2a(c,h)|0;k[n+16>>2]=d;if(!(k[b+8>>2]|0)){k[n+20>>2]=d;d=S2a(c,g,h)|0;l=23;break}e=V2a(i,g)|0;k[n+20>>2]=e;d=k[b>>2]|0;if((d|0)==3){d=k[n+16>>2]|0;if((e|0)>(d|0)){k[n+20>>2]=d;d=i;l=23;break}else{k[n+16>>2]=e;d=i;l=23;break}}else{e=d;d=i}}while(0);if((l|0)==23)e=k[b>>2]|0;if(!e){e=n+16|0;f=n+20|0}else{c=U2a(m[a+68>>1]|0,k[n+16>>2]|0)|0;e=n+16|0;f=n+20|0;d=U2a(m[a+68>>1]|0,k[n+20>>2]|0)|0}j[n+12>>1]=(c+32|0)>>>6;j[n+14>>1]=(d+32|0)>>>6;l=(U2a(j[a+70>>1]|0,k[f>>2]|0)|0)+63&-64;k[n+24>>2]=l;l=(U2a(j[a+72>>1]|0,k[f>>2]|0)|0)&-64;k[n+28>>2]=l;l=(U2a(j[a+74>>1]|0,k[f>>2]|0)|0)+32&-64;k[n+32>>2]=l;a=(U2a(j[a+76>>1]|0,k[e>>2]|0)|0)+32&-64;k[n+36>>2]=a;return}function xSa(a,b){a=a|0;b=b|0;var c=0;if(!a){b=35;return b|0}if(!(k[a+8>>2]&2)){b=35;return b|0}if((b|0)<0){b=6;return b|0}if((k[a+28>>2]|0)<=(b|0)){b=6;return b|0}c=k[(k[(k[a+96>>2]|0)+12>>2]|0)+92>>2]|0;if(!c){vSa(a,b);b=0;return b|0}else{b=gj[c&511](k[a+88>>2]|0,b)|0;return b|0}return 0}function ySa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(!a){i=35;return i|0}if(!b){i=6;return i|0}g=k[b+4>>2]|0;if((g|0)<0){i=6;return i|0}e=k[b+8>>2]|0;if((e|0)<0){i=6;return i|0}d=k[b>>2]|0;if(d>>>0>4){i=6;return i|0}h=k[(k[a+96>>2]|0)+12>>2]|0;c=k[h+88>>2]|0;if(c|0){i=gj[c&511](k[a+88>>2]|0,b)|0;return i|0}c=k[a+8>>2]|0;if((c&3|0)!=2){wSa(a,b);i=0;return i|0}if(!(c&2)){i=35;return i|0}if(d|0){i=7;return i|0}c=k[b+12>>2]|0;if(!c)d=g;else d=((ha(c,g)|0)+36|0)/72|0;c=k[b+16>>2]|0;if(!c)c=e;else c=((ha(e,c)|0)+36|0)/72|0;e=(e|0)==0?d:c;f=((g|0)==0?e:d)+32|0;c=((g|0)==0?c:e)+32|0;e=k[a+28>>2]|0;if((e|0)<=0){i=23;return i|0}b=k[a+32>>2]|0;d=0;while(1){if(((k[b+(d<<4)+12>>2]|0)+32^c)>>>0<=63)if(((k[b+(d<<4)+8>>2]|0)+32^f)>>>0<=63)break;d=d+1|0;if((d|0)>=(e|0)){c=23;i=25;break}}if((i|0)==25)return c|0;if(!((d|0)>-1&(e|0)>(d|0))){i=6;return i|0}c=k[h+92>>2]|0;if(!c){vSa(a,d);i=0;return i|0}else{i=gj[c&511](k[a+88>>2]|0,d)|0;return i|0}return 0}function zSa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=r;r=r+32|0;e=(b|0)==0?c:b;b=(b|0)==0?c:(c|0)==0?b:c;c=(e|0)==0?1:e;b=(b|0)==0?1:b;k[d>>2]=0;k[d+4>>2]=(c>>>0<65535?c:65535)<<6;k[d+8>>2]=(b>>>0<65535?b:65535)<<6;k[d+12>>2]=0;k[d+16>>2]=0;b=ySa(a,d)|0;r=d;return b|0}function ASa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;if(!a){e=35;return e|0}if(!e){e=6;return e|0}f=k[a+96>>2]|0;k[e>>2]=0;k[e+4>>2]=0;f=k[(k[f+12>>2]|0)+76>>2]|0;if(!f){e=0;return e|0}f=nj[f&127](a,b,c,e)|0;if(!((d|0)!=2&(f|0)==0)){e=f;return e|0}c=U2a(k[e>>2]|0,k[(k[a+88>>2]|0)+16>>2]|0)|0;k[e>>2]=c;c=U2a(k[e+4>>2]|0,k[(k[a+88>>2]|0)+20>>2]|0)|0;k[e+4>>2]=c;if((d|0)==1){e=0;return e|0}f=k[a+88>>2]|0;b=j[f+12>>1]|0;if((b&65535)<25){f=S2a(k[e>>2]|0,b&65535,25)|0;k[e>>2]=f;f=k[a+88>>2]|0}f=j[f+14>>1]|0;if((f&65535)<25){f=S2a(k[e+4>>2]|0,f&65535,25)|0;k[e+4>>2]=f}else f=k[e+4>>2]|0;k[e>>2]=(k[e>>2]|0)+32&-64;k[e+4>>2]=f+32&-64;e=0;return e|0}function BSa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(!a){a=35;return a|0}a:do if((b|0)<1970170211){switch(b|0){case 0:{h=6;break}default:break a}return h|0}else{switch(b|0){case 1970170211:break;default:break a}b=k[a+40>>2]|0;if(!b){a=38;return a|0}f=b+(k[a+36>>2]<<2)|0;b:do if((f+-4|0)>>>0>>0)c=f;else{d=f+-4|0;c:while(1){c=k[d>>2]|0;d:do if((k[c+4>>2]|0)==1970170211){e=k[c+8>>2]|0;switch((e&65535)<<16>>16){case 3:if((e>>>16&65535)<<16>>16==10)break c;else break d;case 0:if((e>>>16&65535)<<16>>16==4)break c;else break d;default:break d}}while(0);d=d+-4|0;if(d>>>0>>0){c=f;break b}}k[a+92>>2]=c;a=0;return a|0}while(0);do{c=c+-4|0;if(c>>>0>>0){h=38;i=19;break}g=k[c>>2]|0}while((k[g+4>>2]|0)!=1970170211);if((i|0)==19)return h|0;k[a+92>>2]=g;a=0;return a|0}while(0);c=k[a+40>>2]|0;if(!c){a=38;return a|0}d=k[a+36>>2]|0;if((d|0)>0)f=c;else{a=6;return a|0}while(1){e=k[f>>2]|0;f=f+4|0;if((k[e+4>>2]|0)==(b|0))break;if(f>>>0>=(c+(d<<2)|0)>>>0){h=6;i=19;break}}if((i|0)==19)return h|0;k[a+92>>2]=e;a=0;return a|0}function CSa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=r;r=r+16|0;if(!a){f=35;r=g;return f|0}e=k[a+40>>2]|0;if(!((b|0)!=0&(e|0)!=0)){f=38;r=g;return f|0}c=k[b>>2]|0;if(!c)f=7;else{d=k[c+96>>2]|0;c=k[(k[d>>2]|0)+32>>2]|0;if(!c)f=7;else{c=gj[c&511](d,590366)|0;if(!c)f=7;else if(!(gj[k[c>>2]&511](b,g)|0)){if((k[g+4>>2]|0)==14){f=6;r=g;return f|0}}else f=7}}c=k[a+36>>2]|0;if((c|0)>0)d=e;else{f=6;r=g;return f|0}while(1){if((k[d>>2]|0)==(b|0))break;d=d+4|0;if(d>>>0>=(e+(c<<2)|0)>>>0){c=6;f=13;break}}if((f|0)==13){r=g;return c|0}k[a+92>>2]=b;f=0;r=g;return f|0}function DSa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;i=r;r=r+16|0;k[i>>2]=0;if((a|0)==0|(c|0)==0){d=6;r=i;return d|0}h=k[c>>2]|0;if(!h){d=6;r=i;return d|0}f=k[h+100>>2]|0;e=UTa(f,k[a>>2]|0,i)|0;do if(!(k[i>>2]|0)){k[e>>2]=k[c>>2];k[e+4>>2]=k[c+4>>2];k[e+8>>2]=k[c+8>>2];k[e+12>>2]=a;c=k[a+4>>2]|0;if(!c)g=6;else{b=gj[c&511](e,b)|0;k[i>>2]=b;if(!b)g=6}if((g|0)==6){c=k[h+36>>2]|0;c=WTa(f,4,c,c+1|0,k[h+40>>2]|0,i)|0;k[h+40>>2]=c;if(!(k[i>>2]|0)){g=k[h+36>>2]|0;k[h+36>>2]=g+1;k[c+(g<<2)>>2]=e;break}}c=k[(k[e>>2]|0)+100>>2]|0;a=k[(k[e+12>>2]|0)+8>>2]|0;if(a|0)Si[a&1023](e);YTa(c,e);e=0}while(0);if(d|0)k[d>>2]=e;d=k[i>>2]|0;r=i;return d|0}function ESa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if(!a){d=0;b=0}else{d=k[a+92>>2]|0;if(!d){d=0;b=0}else if(!(k[a+16>>2]|0)){d=0;b=0}else{k[e>>2]=b;do b=gj[k[(k[d+12>>2]|0)+16>>2]&511](d,e)|0;while(b>>>0>=(k[a+16>>2]|0)>>>0);d=b;b=(b|0)==0?0:k[e>>2]|0}}if(!c){r=e;return b|0}k[c>>2]=d;r=e;return b|0}function FSa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;if(!a){b=35;return b|0}if((c|0)==0|(d|0)==0){b=6;return b|0}i[c>>0]=0;if((k[a+16>>2]|0)<=(b|0)){b=16;return b|0}if(!(k[a+8>>2]&512)){b=6;return b|0}g=(k[a+128>>2]|0)+36|0;e=k[g>>2]|0;switch(e|0){case 0:{f=6;break}case -2:{b=6;return b|0}default:{}}do if((f|0)==6){e=k[a+96>>2]|0;f=k[(k[e>>2]|0)+32>>2]|0;if(!f){k[g>>2]=-2;b=6;return b|0}else{e=gj[f&511](e,591601)|0;k[(k[a+128>>2]|0)+36>>2]=e|0?e:-2;if(!e)e=6;else break;return e|0}}while(0);e=k[e>>2]|0;if(!e){b=6;return b|0}b=nj[e&127](a,b,c,d)|0;return b|0}function GSa(a){a=a|0;var b=0;if(!a)b=36;else{b=k[a>>2]|0;if(!b)b=35;else if(!(k[b+96>>2]|0))b=35;else{k[b+88>>2]=a;b=0}}return b|0}function HSa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if(!a){e=0;return e|0}a=k[a+148>>2]|0;if(c|0){d=k[c>>2]|0;if(d)a=k[d+4>>2]|0;k[c>>2]=0}if(!a){e=0;return e|0}while(1){d=k[a+8>>2]|0;if((k[d+16>>2]|0)==(b|0))break;a=k[a+4>>2]|0;if(!a){a=0;e=11;break}}if((e|0)==11)return a|0;if(!c){e=d;return e|0}k[c>>2]=a;e=d;return e|0}function ISa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=r;r=r+16|0;if(!a){a=33;r=j;return a|0}if(!b){a=6;r=j;return a|0}if((k[b+16>>2]|0)>131078){a=4;r=j;return a|0}d=k[a+16>>2]|0;if(!d){g=k[a>>2]|0;k[j>>2]=0;d=a}else{c=k[b+8>>2]|0;g=0;do{e=k[a+20+(g<<2)>>2]|0;f=k[e>>2]|0;g=g+1|0;if(!(Wmb(k[f+8>>2]|0,c)|0)){i=9;break}}while(g>>>0>>0);do if((i|0)==9)if((k[b+12>>2]|0)>(k[f+12>>2]|0)){JSa(a,e)|0;d=k[a+16>>2]|0;break}else{a=5;r=j;return a|0}while(0);c=k[a>>2]|0;k[j>>2]=0;if(d>>>0>31){k[j>>2]=48;a=48;r=j;return a|0}else{g=c;d=a}}h=UTa(g,k[b+4>>2]|0,j)|0;c=k[j>>2]|0;if(c|0){a=c;r=j;return a|0}k[h+4>>2]=a;k[h+8>>2]=g;k[h>>2]=b;do if(!(k[b>>2]&2))i=27;else{e=k[d>>2]|0;f=UTa(e,12,j+4|0)|0;c=k[j+4>>2]|0;if(c|0){k[j>>2]=c;break}c=k[h>>2]|0;k[h+12>>2]=c;d=k[c+36>>2]|0;k[h+16>>2]=d;if((d|0)==1869968492){d=k[(k[c+56>>2]|0)+4>>2]|0;if(!d)i=21;else{d=gj[d&511](e,h+52|0)|0;k[j+4>>2]=d;if(!d){k[h+56>>2]=k[(k[c+56>>2]|0)+16>>2];k[h+60>>2]=k[c+40>>2];i=21}}}else i=21;if((i|0)==21){k[f+8>>2]=h;aUa(a+148|0,f);c=k[a+148>>2]|0;a:do if(!c)c=0;else while(1){d=k[c+8>>2]|0;if((k[d+16>>2]|0)==1869968492){c=d;break a}c=k[c+4>>2]|0;if(!c){c=0;break}}while(0);k[a+156>>2]=c;if(!(k[j+4>>2]|0)){k[j>>2]=0;i=27;break}}YTa(e,f);f=k[j+4>>2]|0;k[j>>2]=f;if(!f)i=27}while(0);do if((i|0)==27){c=k[h>>2]|0;d=k[c>>2]|0;if(d&4|0)k[a+160>>2]=h;if(d&1|0)k[h+12>>2]=c;c=k[b+24>>2]|0;if(c|0){b=Gi[c&2047](h)|0;k[j>>2]=b;if(b|0)break}b=k[a+16>>2]|0;k[a+16>>2]=b+1;k[a+20+(b<<2)>>2]=h;a=0;r=j;return a|0}while(0);if(k[k[h>>2]>>2]&2|0){c=k[h+12>>2]|0;if(c|0)if((k[c+36>>2]|0)==1869968492){d=k[h+52>>2]|0;if(d|0)Si[k[(k[c+56>>2]|0)+20>>2]&1023](d)}}YTa(g,h);a=k[j>>2]|0;r=j;return a|0}function JSa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;if(!a){b=33;return b|0}if(!b){b=34;return b|0}d=k[a+16>>2]|0;if((d|0)<=0){b=34;return b|0}c=a+20|0;while(1){if((k[c>>2]|0)==(b|0))break;c=c+4|0;if(c>>>0>=(a+20+(d<<2)|0)>>>0){c=34;e=26;break}}if((e|0)==26)return c|0;k[a+16>>2]=d+-1;d=a+20+(d<<2)+-4|0;if(c>>>0>>0)do{h=c;c=c+4|0;k[h>>2]=k[c>>2]}while(c>>>0>>0);k[d>>2]=0;h=k[b+8>>2]|0;f=k[b>>2]|0;g=k[b+4>>2]|0;if(g|0){if((k[g+160>>2]|0)==(b|0))k[g+160>>2]=0;if(k[f>>2]&2|0){c=k[g>>2]|0;d=$Ta(g+148|0,b)|0;if(d|0){a=k[b+12>>2]|0;if((k[a+36>>2]|0)==1869968492){e=k[b+52>>2]|0;if(e|0)Si[k[(k[a+56>>2]|0)+20>>2]&1023](e)}bUa(g+148|0,d);YTa(c,d);c=k[g+148>>2]|0;a:do if(!c)c=0;else while(1){d=k[c+8>>2]|0;if((k[d+16>>2]|0)==1869968492){c=d;break a}c=k[c+4>>2]|0;if(!c){c=0;break}}while(0);k[g+156>>2]=c}}}if(k[k[b>>2]>>2]&1|0)cUa(b+16|0,104,k[b+8>>2]|0,b);c=k[f+28>>2]|0;if(c|0)Si[c&1023](b);YTa(h,b);b=0;return b|0}function KSa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;if(!((a|0)!=0&(b|0)!=0)){g=0;return g|0}d=k[a+16>>2]|0;if((d|0)<=0){g=0;return g|0}f=a+20|0;while(1){e=k[f>>2]|0;c=k[e>>2]|0;f=f+4|0;if(!(Wmb(k[c+8>>2]|0,b)|0))break;if(f>>>0>=(a+20+(d<<2)|0)>>>0){c=0;g=8;break}}if((g|0)==8)return c|0;if(!e){g=0;return g|0}g=k[c+20>>2]|0;return g|0}function LSa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;if(!a){b=0;return b|0}c=k[(k[a>>2]|0)+32>>2]|0;if(c|0){c=gj[c&511](a,b)|0;if(c|0){b=c;return b|0}}f=k[a+4>>2]|0;e=k[f+16>>2]|0;if((e|0)<=0){b=0;return b|0}g=f+20|0;while(1){c=k[g>>2]|0;if((c|0)!=(a|0)){d=k[(k[c>>2]|0)+32>>2]|0;if(d|0){c=gj[d&511](c,b)|0;if(c|0){d=10;break}}}g=g+4|0;if(g>>>0>=(f+20+(e<<2)|0)>>>0){c=0;d=10;break}}if((d|0)==10)return c|0;return 0}function MSa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=r;r=r+16|0;if(!((a|0)!=0&(b|0)!=0)){a=6;r=e;return a|0}c=UTa(a,192,e)|0;d=k[e>>2]|0;if(d|0){a=d;r=e;return a|0}k[c>>2]=a;k[c+168>>2]=0;k[c+164>>2]=0;k[c+4>>2]=2;k[c+8>>2]=6;k[c+12>>2]=0;k[c+188>>2]=1;k[b>>2]=c;a=0;r=e;return a|0}function NSa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!a){a=33;return a|0}j=k[a+188>>2]|0;k[a+188>>2]=j+-1;if((j|0)>1){a=0;return a|0}j=k[a>>2]|0;b=k[a+16>>2]|0;c=b;i=0;do{a:do if(!c)c=0;else{if(i|0){g=0;while(1){f=k[a+20+(g<<2)>>2]|0;if(k[k[f>>2]>>2]&1|0){b=k[f+16>>2]|0;if(b|0)do{b=k[b+8>>2]|0;if(b|0){c=k[b+96>>2]|0;if(c|0){e=(k[b+128>>2]|0)+56|0;h=k[e>>2]|0;k[e>>2]=h+-1;if((h|0)<=1){d=k[c+8>>2]|0;e=$Ta(c+16|0,b)|0;if(e|0){bUa(c+16|0,e);YTa(d,e);nSa(d,b,c)}}}}b=k[f+16>>2]|0}while((b|0)!=0)}g=g+1|0;c=k[a+16>>2]|0;if(g>>>0>=c>>>0){b=c;break a}}}h=k[46360+(i<<2)>>2]|0;g=0;while(1){f=k[a+20+(g<<2)>>2]|0;c=k[f>>2]|0;if(!(Wmb(k[c+8>>2]|0,h)|0))if(!(k[c>>2]&1))c=b;else{c=k[f+16>>2]|0;if(!c)c=b;else{b=c;do{b=k[b+8>>2]|0;if(b|0){c=k[b+96>>2]|0;if(c|0){d=(k[b+128>>2]|0)+56|0;e=k[d>>2]|0;k[d>>2]=e+-1;if((e|0)<=1){d=k[c+8>>2]|0;e=$Ta(c+16|0,b)|0;if(e|0){bUa(c+16|0,e);YTa(d,e);nSa(d,b,c)}}}}b=k[f+16>>2]|0}while((b|0)!=0);c=k[a+16>>2]|0}}else c=b;g=g+1|0;if(g>>>0>=c>>>0){b=c;break}else b=c}}while(0);i=i+1|0}while((i|0)!=2);if(b|0)do{JSa(a,k[a+20+(b+-1<<2)>>2]|0)|0;b=k[a+16>>2]|0}while((b|0)!=0);YTa(j,a);a=0;return a|0}function OSa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0;w=r;r=r+48|0;if(!a){v=20;r=w;return v|0}if(!b){v=6;r=w;return v|0}s=k[b+16>>2]|0;t=k[b+20>>2]|0;if((j[a>>1]|0)<=0){v=0;r=w;return v|0}e=0;u=0;a:while(1){q=j[(k[a+12>>2]|0)+(u<<1)>>1]|0;if(q<<16>>16<0){d=20;v=34;break}d=k[a+4>>2]|0;f=d+(e<<3)|0;m=k[f>>2]|0;h=k[f+4>>2]|0;k[w+8>>2]=m;k[w+8+4>>2]=h;k[w+8>>2]=(m<>2]=(h<>16<<3)>>2]<>16<<3)+4>>2]<>2]|0;p=k[w+8+4>>2]|0;k[w+16>>2]=o;k[w+16+4>>2]=p;p=k[a+8>>2]|0;g=p+e|0;switch(l[g>>0]&3|0){case 2:{d=20;v=34;break a}case 0:{if((i[p+(q<<16>>16)>>0]&3)==1){k[w+8>>2]=m;k[w+8+4>>2]=n;d=d+(q<<16>>16<<3)+-8|0}else{k[w+8>>2]=(o+m|0)/2|0;k[w+8+4>>2]=((h<>16<<3)|0}o=d;f=f+-8|0;g=g+-1|0;break}default:o=d+(q<<16>>16<<3)|0}d=gj[k[b>>2]&511](w+8|0,c)|0;if(d|0){v=33;break}b:do if(f>>>0>>0){m=f;h=g;c:while(1){f=m+8|0;g=h+1|0;switch(l[g>>0]&3|0){case 1:{k[w>>2]=(k[f>>2]<>2]=(k[m+12>>2]<>2]&511](w,c)|0;if(!d)d=g;else{v=34;break a}break}case 0:{d=(k[f>>2]<>2]=d;h=(k[m+12>>2]<>2]=h;if(f>>>0>=o>>>0){v=22;break c}d:while(1){n=f;f=f+8|0;g=g+1|0;p=l[g>>0]&3;m=(k[f>>2]<>2]=m;n=(k[n+12>>2]<>2]=n;switch(p|0){case 1:break d;case 0:break;default:{f=7;d=0;v=20;break c}}k[w+32>>2]=(m+d|0)/2|0;k[w+32+4>>2]=(n+h|0)/2|0;d=Ri[k[b+8>>2]&255](w+16|0,w+32|0,c)|0;if(d|0){f=10;v=20;break c}d=k[w>>2]|0;h=k[w+4>>2]|0;k[w+16>>2]=d;k[w+16+4>>2]=h;if(f>>>0>=o>>>0){v=22;break c}}d=Ri[k[b+8>>2]&255](w+16|0,w,c)|0;if(!d)d=g;else{f=10;break b}break}default:{if((m+16|0)>>>0>o>>>0){v=27;break a}if((i[h+2>>0]&3)!=2){v=27;break a}f=m+24|0;k[w>>2]=(k[m+8>>2]<>2]=(k[m+12>>2]<>2]=(k[m+16>>2]<>2]=(k[m+20>>2]<>>0>o>>>0){v=26;break c}k[w+24>>2]=(k[f>>2]<>2]=(k[m+28>>2]<>2]&127](w,w+32|0,w+24|0,c)|0;if(!d)d=h+3|0;else{f=10;break b}}}if(f>>>0>>0){m=f;h=d}else{v=29;break b}}if((v|0)==20){v=0;break}else if((v|0)==22){d=Ri[k[b+8>>2]&255](w+16|0,w+8|0,c)|0;v=30;break}else if((v|0)==26){d=nj[k[b+12>>2]&127](w,w+32|0,w+8|0,c)|0;v=30;break}}else v=29;while(0);if((v|0)==29){d=gj[k[b+4>>2]&511](w+8|0,c)|0;v=30}if((v|0)==30){v=0;p=(d|0)==0;f=p?0:10;e=p?(q<<16>>16)+1|0:e}switch(f|0){case 7:{d=20;v=34;break a}case 0:break;default:{v=33;break a}}u=u+1|0;if((u|0)>=(j[a>>1]|0)){d=0;v=33;break}}if((v|0)==27){v=20;r=w;return v|0}else if((v|0)==33){v=d;r=w;return v|0}else if((v|0)==34){r=w;return d|0}return 0}function PSa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=r;r=r+16|0;if(!((a|0)!=0&(d|0)!=0)){b=6;r=e;return b|0};k[d>>2]=0;k[d+4>>2]=0;k[d+8>>2]=0;k[d+12>>2]=0;k[d+16>>2]=0;if((c|0)<0|c>>>0>b>>>0){b=6;r=e;return b|0}if(b>>>0>32767){b=10;r=e;return b|0}f=WTa(a,8,0,b,0,e)|0;k[d+4>>2]=f;if(!(k[e>>2]|0)){f=WTa(a,1,0,b,0,e)|0;k[d+8>>2]=f;if(!(k[e>>2]|0)){f=WTa(a,2,0,c,0,e)|0;k[d+12>>2]=f;if(!(k[e>>2]|0)){j[d+2>>1]=b;j[d>>1]=c;k[d+16>>2]=k[d+16>>2]|1;f=0;r=e;return f|0}}}k[d+16>>2]=k[d+16>>2]|1;YTa(a,k[d+4>>2]|0);k[d+4>>2]=0;YTa(a,k[d+8>>2]|0);k[d+8>>2]=0;YTa(a,k[d+12>>2]|0);k[d>>2]=0;k[d+4>>2]=0;k[d+8>>2]=0;k[d+12>>2]=0;k[d+16>>2]=0;f=k[e>>2]|0;r=e;return f|0}function QSa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(!a){b=33;return b|0}b=PSa(k[a>>2]|0,b,c,d)|0;return b|0}function RSa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;a:do if(a|0){f=j[a+2>>1]|0;e=j[a>>1]|0;if(!((e|f)<<16>>16)){f=0;return f|0}if(!(f<<16>>16<1|e<<16>>16<1)){if(e<<16>>16>0){a=k[a+12>>2]|0;c=-1;d=0;while(1){b=j[a+(d<<1)>>1]|0;d=d+1|0;if(!((b<<16>>16|0)>(c|0)?b<<16>>16>16:0))break a;if((d|0)>=(e<<16>>16|0)){a=b<<16>>16;break}else c=b<<16>>16}}else a=-1;if((a|0)==((f<<16>>16)+-1|0)){f=0;return f|0}}}while(0);f=6;return f|0}function SSa(a,b){a=a|0;b=b|0;var c=0;if(!((a|0)!=0&(b|0)!=0)){b=20;return b|0}c=j[a+2>>1]|0;if(c<<16>>16!=(j[b+2>>1]|0)){b=6;return b|0}if((j[a>>1]|0)!=(j[b>>1]|0)){b=6;return b|0}if((a|0)==(b|0)){b=0;return b|0}ABb(k[b+4>>2]|0,k[a+4>>2]|0,c<<16>>16<<3|0)|0;ABb(k[b+8>>2]|0,k[a+8>>2]|0,j[a+2>>1]|0)|0;ABb(k[b+12>>2]|0,k[a+12>>2]|0,j[a>>1]<<1|0)|0;k[b+16>>2]=k[a+16>>2]&-2|k[b+16>>2]&1;b=0;return b|0}function TSa(a,b){a=a|0;b=b|0;if(!a){b=33;return b|0}a=k[a>>2]|0;if(!b){b=20;return b|0}if(!a){b=6;return b|0}if(k[b+16>>2]&1|0){YTa(a,k[b+4>>2]|0);k[b+4>>2]=0;YTa(a,k[b+8>>2]|0);k[b+8>>2]=0;YTa(a,k[b+12>>2]|0);k[b+12>>2]=0};k[b>>2]=0;k[b+4>>2]=0;k[b+8>>2]=0;k[b+12>>2]=0;k[b+16>>2]=0;b=0;return b|0}function USa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0;if(!((a|0)!=0&(b|0)!=0))return;l=j[a+2>>1]|0;if(!(l<<16>>16)){e=0;d=0;c=0;a=0}else{h=k[a+4>>2]|0;a=k[h>>2]|0;g=k[h+4>>2]|0;if(l<<16>>16>1){e=h;i=h+8|0;f=a;d=a;c=g;a=g;while(1){g=k[i>>2]|0;d=(g|0)<(d|0)?g:d;f=(g|0)>(f|0)?g:f;e=k[e+12>>2]|0;a=(e|0)<(a|0)?e:a;c=(e|0)>(c|0)?e:c;e=i+8|0;if(e>>>0<(h+(l<<16>>16<<3)|0)>>>0){g=i;i=e;e=g}else{e=f;break}}}else{e=a;d=a;c=g;a=g}}k[b>>2]=d;k[b+8>>2]=e;k[b+4>>2]=a;k[b+12>>2]=c;return}function VSa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;if(!a)return;d=j[a+2>>1]|0;if(d<<16>>16<=0)return;e=0;a=k[a+4>>2]|0;while(1){k[a>>2]=(k[a>>2]|0)+b;f=a+4|0;k[f>>2]=(k[f>>2]|0)+c;e=e+1<<16>>16;if((e&65535|0)>=(d<<16>>16|0))break;else a=a+8|0}return}function WSa(a,b){a=a|0;b=b|0;var c=0,d=0;if(!((a|0)!=0&(b|0)!=0))return;c=U2a(k[a>>2]|0,k[b>>2]|0)|0;c=(U2a(k[a+4>>2]|0,k[b+4>>2]|0)|0)+c|0;d=U2a(k[a>>2]|0,k[b+8>>2]|0)|0;b=(U2a(k[a+4>>2]|0,k[b+12>>2]|0)|0)+d|0;k[a>>2]=c;k[a+4>>2]=b;return}function XSa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;if(!((a|0)!=0&(b|0)!=0))return;d=k[a+4>>2]|0;a=j[a+2>>1]|0;if(a<<16>>16<=0)return;c=d;do{if(c|0){g=U2a(k[c>>2]|0,k[b>>2]|0)|0;e=c+4|0;g=(U2a(k[e>>2]|0,k[b+4>>2]|0)|0)+g|0;f=U2a(k[c>>2]|0,k[b+8>>2]|0)|0;f=(U2a(k[e>>2]|0,k[b+12>>2]|0)|0)+f|0;k[c>>2]=g;k[e>>2]=f}c=c+8|0}while(c>>>0<(d+(a<<16>>16<<3)|0)>>>0);return}function YSa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0;if(!a){n=0;return n|0}h=j[a+2>>1]|0;if(h<<16>>16<1){n=0;return n|0}n=k[a+4>>2]|0;b=k[n>>2]|0;c=k[n+4>>2]|0;if(h<<16>>16<=1){n=2;return n|0}f=n;i=n+8|0;g=b;d=b;e=c;b=c;while(1){c=k[i>>2]|0;d=(c|0)<(d|0)?c:d;c=(c|0)>(g|0)?c:g;m=k[f+12>>2]|0;f=(m|0)<(b|0)?m:b;e=(m|0)>(e|0)?m:e;b=i+8|0;if(b>>>0<(n+(h<<16>>16<<3)|0)>>>0){m=i;i=b;g=c;b=f;f=m}else break}if((d|0)==(c|0)|(e|0)==(f|0)){n=2;return n|0}m=31-(ja(((c|0)<0?0-c|0:c)|((d|0)<0?0-d|0:d)|0)|0)+-14|0;m=(m|0)>0?m:0;i=31-(ja(e-f|0)|0)+-14|0;i=(i|0)>0?i:0;l=j[a>>1]|0;if(l<<16>>16>0){f=k[a+12>>2]|0;b=0;h=0;c=0;while(1){g=j[f+(h<<1)>>1]|0;if((c|0)<=(g|0)){d=k[n+(g<<3)>>2]|0;e=k[n+(g<<3)+4>>2]|0;while(1){a=d;d=k[n+(c<<3)>>2]|0;o=e;e=k[n+(c<<3)+4>>2]|0;b=(ha(e-o>>i,d+a>>m)|0)+b|0;if((c|0)>=(g|0))break;else c=c+1|0}}h=h+1|0;if((h|0)>=(l<<16>>16|0))break;else c=g+1|0}if((b|0)>0){o=1;return o|0}}else b=0;o=(b>>31)+2&-2;return o|0}function ZSa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;g=r;r=r+48|0;a=pTa(b,c)|0;k[g>>2]=a;if(a|0){c=a;r=g;return c|0}a=sTa(b,g+24|0,16)|0;k[g>>2]=a;if(a|0){c=a;r=g;return c|0}a=(l[g+24+1>>0]<<16|l[g+24>>0]<<24|l[g+24+2>>0]<<8|l[g+24+3>>0])+c|0;k[e>>2]=a;f=l[g+24+5>>0]<<16|l[g+24+4>>0]<<24|l[g+24+6>>0]<<8|l[g+24+7>>0];if((f|0)==0?1:((l[g+24+9>>0]<<16|l[g+24+8>>0]<<24|l[g+24+10>>0]<<8|l[g+24+11>>0])+a|0)!=(f+c|0)){c=2;r=g;return c|0}a=pTa(b,f+c|0)|0;k[g>>2]=a;if(a|0){c=a;r=g;return c|0}i[g+8+15>>0]=(l[g+24+15>>0]|0)+1;a=sTa(b,g+8|0,16)|0;k[g>>2]=a;if(a|0){c=a;r=g;return c|0}e=i[g+8>>0]|0;a=i[g+8+1>>0]|0;h=i[g+8+2>>0]|0;j=i[g+8+3>>0]|0;m=i[g+8+4>>0]|0;n=i[g+8+5>>0]|0;o=i[g+8+6>>0]|0;p=i[g+8+7>>0]|0;q=i[g+8+8>>0]|0;s=i[g+8+9>>0]|0;t=i[g+8+10>>0]|0;u=i[g+8+11>>0]|0;v=i[g+8+12>>0]|0;w=i[g+8+13>>0]|0;x=i[g+8+14>>0]|0;y=i[g+8+15>>0]|0;if(!((y<<24>>24==(i[g+24+15>>0]|0)&(x<<24>>24==(i[g+24+14>>0]|0)&(w<<24>>24==(i[g+24+13>>0]|0)&(v<<24>>24==(i[g+24+12>>0]|0)&(u<<24>>24==(i[g+24+11>>0]|0)&(t<<24>>24==(i[g+24+10>>0]|0)&(s<<24>>24==(i[g+24+9>>0]|0)&(q<<24>>24==(i[g+24+8>>0]|0)&(p<<24>>24==(i[g+24+7>>0]|0)&(o<<24>>24==(i[g+24+6>>0]|0)&(n<<24>>24==(i[g+24+5>>0]|0)&(m<<24>>24==(i[g+24+4>>0]|0)&(j<<24>>24==(i[g+24+3>>0]|0)&(h<<24>>24==(i[g+24+2>>0]|0)?a<<24>>24==(i[g+24+1>>0]|0):0)))))))))))))?e<<24>>24==(i[g+24>>0]|0)&1:0)|((y|(x|(w|(v|(u|(t|(s|(q|(p|(o|(n|(m|(j|(h|a))))))))))))))<<24>>24==0?e<<24>>24==0&1:0))){y=2;r=g;return y|0}e=qTa(b,8)|0;k[g>>2]=e;e=FTa(b,g)|0;a=k[g>>2]|0;if(a|0){y=a;r=g;return y|0}a=pTa(b,(e&65535)+(f+c)|0)|0;k[g>>2]=a;if(a|0){y=a;r=g;return y|0}k[d>>2]=(e&65535)+(f+c);y=0;r=g;return y|0}function _Sa(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,l=0,m=0,n=0,o=0,p=0,q=0;q=r;r=r+16|0;p=k[a>>2]|0;a=pTa(b,c)|0;k[q>>2]=a;if(a|0){d=a;r=q;return d|0}o=FTa(b,q)|0;a=k[q>>2]|0;if(a|0){d=a;r=q;return d|0}n=0;while(1){m=ITa(b,q)|0;a=k[q>>2]|0;if(a|0){m=24;break}l=FTa(b,q)|0;a=k[q>>2]|0;if(a|0){m=24;break}i=FTa(b,q)|0;a=k[q>>2]|0;if(a|0){m=24;break}if((m|0)==(e|0)){m=9;break}if((n|0)<(o&65535|0))n=n+1|0;else{a=1;m=24;break}}if((m|0)==9){k[h>>2]=(l&65535)+1;a=pTa(b,(i&65535)+c|0)|0;k[q>>2]=a;if(a|0){d=a;r=q;return d|0}l=WTa(p,8,0,k[h>>2]|0,0,q)|0;a=k[q>>2]|0;if(a|0){d=a;r=q;return d|0}a=k[h>>2]|0;a:do if((a|0)>0){i=0;while(1){c=FTa(b,q)|0;j[l+(i<<3)>>1]=c;if(k[q>>2]|0)break a;c=qTa(b,2)|0;k[q>>2]=c;if(c|0)break a;a=ITa(b,q)|0;if(k[q>>2]|0)break a;c=qTa(b,4)|0;k[q>>2]=c;if(c|0)break a;k[l+(i<<3)+4>>2]=a&16777215;i=i+1|0;a=k[h>>2]|0;if((i|0)>=(a|0)){m=17;break}}}else m=17;while(0);if((m|0)==17){if(f<<24>>24){qnb(l,a,8,352);a=k[h>>2]|0}a=WTa(p,4,0,a,0,q)|0;if(!(k[q>>2]|0)){if((k[h>>2]|0)>0){i=0;do{k[a+(i<<2)>>2]=(k[l+(i<<3)+4>>2]|0)+d;i=i+1|0}while((i|0)<(k[h>>2]|0))}k[g>>2]=a;k[q>>2]=0}}YTa(p,l);d=k[q>>2]|0;r=q;return d|0}else if((m|0)==24){r=q;return a|0}return 0}function $Sa(a,b){a=a|0;b=b|0;a=j[a>>1]|0;b=j[b>>1]|0;return ((a&65535)<(b&65535)?-1:(a&65535)>(b&65535)&1)|0}function aTa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;if(!b){k[d>>2]=0;k[f>>2]=0;b=bTa(a,0,c,d,e)|0;k[f>>2]=b;k[d+4>>2]=0;k[f+4>>2]=0;b=dTa(a,0,c,d+4|0,e+4|0)|0;k[f+4>>2]=b;k[d+8>>2]=0;k[f+8>>2]=0;b=eTa(a,0,c,d+8|0,e+8|0)|0;k[f+8>>2]=b;k[d+12>>2]=0;k[f+12>>2]=0;b=gTa(a,0,c,d+12|0,e+12|0)|0;k[f+12>>2]=b;k[d+16>>2]=0;k[f+16>>2]=0;b=hTa(a,0,c,d+16|0,e+16|0)|0;k[f+16>>2]=b;k[d+20>>2]=0;k[f+20>>2]=0;b=iTa(a,0,c,d+20|0,e+20|0)|0;k[f+20>>2]=b;k[d+24>>2]=0;k[f+24>>2]=0;b=jTa(a,0,c,d+24|0,e+24|0)|0;k[f+24>>2]=b;k[d+28>>2]=0;k[f+28>>2]=0;b=kTa(a,0,c,d+28|0,e+28|0)|0;k[f+28>>2]=b;k[d+32>>2]=0;k[f+32>>2]=0;b=lTa(a,0,c,d+32|0,e+32|0)|0;k[f+32>>2]=b;return}else i=0;do{g=d+(i<<2)|0;k[g>>2]=0;j=pTa(b,0)|0;h=f+(i<<2)|0;k[h>>2]=j;if(!j){j=Ni[k[46368+(i<<3)>>2]&127](a,b,c,g,e+(i<<2)|0)|0;k[h>>2]=j}i=i+1|0}while((i|0)!=9);return}function bTa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;k[d>>2]=0;if(!b){b=81;return b|0}b=cTa(b,333319,e)|0;return b|0}function cTa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=r;r=r+16|0;e=ITa(a,g)|0;d=k[g>>2]|0;a:do if(!d)if((e|0)==(b|0)){ITa(a,g)|0;d=k[g>>2]|0;if(!d){d=qTa(a,16)|0;k[g>>2]=d;if(!d){f=FTa(a,g)|0;d=k[g>>2]|0;if(!d)if(!(f<<16>>16))d=2;else{b=0;while(1){e=ITa(a,g)|0;d=k[g>>2]|0;if(d|0)break a;if((e|0)==2){d=ITa(a,g)|0;if(!(k[g>>2]|0)){ITa(a,g)|0;if(!(k[g>>2]|0))break}}else{d=qTa(a,8)|0;k[g>>2]=d;if(d|0)break a}b=b+1|0;if((b|0)>=(f&65535|0)){d=2;break a}}k[c>>2]=d;d=0}}}}else d=2;while(0);r=g;return d|0}function dTa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;k[d>>2]=0;if(!b){b=81;return b|0}b=cTa(b,333312,e)|0;return b|0}function eTa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=r;r=r+48|0;g=k[a>>2]|0;f=fTa(g,c,527819)|0;if(!f){d=64;r=h;return d|0}k[h+8>>2]=4;k[h+8+12>>2]=f;b=XRa(a,h+8|0,h)|0;if(!b){b=k[h>>2]|0;if(!b){b=81;c=0}else{b=cTa(b,333319,e)|0;c=k[h>>2]|0}YRa(c,0);if(!b){k[d>>2]=f;d=0;r=h;return d|0}}YTa(g,f);d=b;r=h;return d|0}function fTa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;k[e>>2]=0;d=Fnb(b)|0;d=UTa(a,d+1+(Fnb(c)|0)|0,e)|0;if(k[e>>2]|0){c=0;r=e;return c|0}a=Gob(b,47)|0;if(!a){i[d>>0]=0;a=b}else{dpb(d,b,a-b+1|0)|0;i[d+(a-b+1)>>0]=0;a=a+1|0}Zpb(d,c)|0;Zpb(d,a)|0;c=d;r=e;return c|0}function gTa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=r;r=r+16|0;f=Fnb(c)|0;g=UTa(k[a>>2]|0,f+18|0,h)|0;b=k[h>>2]|0;if(b|0){e=b;r=h;return e|0}ABb(g|0,c|0,f|0)|0;b=g+f|0;a=527822;f=b+18|0;do{i[b>>0]=i[a>>0]|0;b=b+1|0;a=a+1|0}while((b|0)<(f|0));k[d>>2]=g;k[e>>2]=0;e=0;r=h;return e|0}function hTa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;g=r;r=r+16|0;f=Fnb(c)|0;b=UTa(k[a>>2]|0,f+6|0,g)|0;a=k[g>>2]|0;if(a|0){e=a;r=g;return e|0}ABb(b|0,c|0,f|0)|0;i[b+f>>0]=i[527840]|0;i[b+f+1>>0]=i[527841]|0;i[b+f+2>>0]=i[527842]|0;i[b+f+3>>0]=i[527843]|0;i[b+f+4>>0]=i[527844]|0;i[b+f+5>>0]=i[527845]|0;k[d>>2]=b;k[e>>2]=0;e=0;r=g;return e|0}function iTa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;c=fTa(k[a>>2]|0,c,527846)|0;if(!c){e=64;return e|0}k[d>>2]=c;k[e>>2]=0;e=0;return e|0}function jTa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;c=fTa(k[a>>2]|0,c,527860)|0;if(!c){e=64;return e|0}k[d>>2]=c;k[e>>2]=0;e=0;return e|0}function kTa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=r;r=r+48|0;g=k[a>>2]|0;f=fTa(g,c,527871)|0;if(!f){d=64;r=h;return d|0}k[h+8>>2]=4;k[h+8+12>>2]=f;b=XRa(a,h+8|0,h)|0;if(!b){b=k[h>>2]|0;if(!b){b=81;c=0}else{b=cTa(b,333319,e)|0;c=k[h>>2]|0}YRa(c,0);if(!b){k[d>>2]=f;d=0;r=h;return d|0}}YTa(g,f);d=b;r=h;return d|0}function lTa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=r;r=r+48|0;g=k[a>>2]|0;f=fTa(g,c,527873)|0;if(!f){d=64;r=h;return d|0}k[h+8>>2]=4;k[h+8+12>>2]=f;b=XRa(a,h+8|0,h)|0;if(!b){b=k[h>>2]|0;if(!b){b=81;c=0}else{b=cTa(b,333319,e)|0;c=k[h>>2]|0}YRa(c,0);if(!b){k[d>>2]=f;d=0;r=h;return d|0}}YTa(g,f);d=b;r=h;return d|0}function mTa(a,b){a=a|0;b=b|0;if(b>>>0>8){b=0;return b|0}b=((k[46368+(b<<3)+4>>2]|0)+-3|0)>>>0<2&1;return b|0}function nTa(a,b,c){a=a|0;b=b|0;c=c|0;k[a>>2]=b;k[a+4>>2]=c;k[a+8>>2]=0;k[a+32>>2]=0;k[a+20>>2]=0;k[a+24>>2]=0;return}function oTa(a){a=a|0;var b=0;if(!a)return;b=k[a+24>>2]|0;if(!b)return;Si[b&1023](a);return}function pTa(a,b){a=a|0;b=b|0;var c=0;c=k[a+20>>2]|0;if(!c){if((k[a+4>>2]|0)>>>0>>0){a=85;return a|0}}else if(nj[c&127](a,b,0,0)|0){a=85;return a|0}k[a+8>>2]=b;a=0;return a|0}function qTa(a,b){a=a|0;b=b|0;var c=0;if((b|0)<0){a=85;return a|0}b=(k[a+8>>2]|0)+b|0;c=k[a+20>>2]|0;if(!c){if((k[a+4>>2]|0)>>>0>>0){a=85;return a|0}}else if(nj[c&127](a,b,0,0)|0){a=85;return a|0}k[a+8>>2]=b;a=0;return a|0}function rTa(a){a=a|0;return k[a+8>>2]|0}function sTa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=k[a+8>>2]|0;d=k[a+4>>2]|0;if(d>>>0<=f>>>0){a=85;return a|0}e=k[a+20>>2]|0;if(!e){d=(d-f|0)>>>0>c>>>0?c:d-f|0;ABb(b|0,(k[a>>2]|0)+f|0,d|0)|0}else d=nj[e&127](a,f,b,c)|0;k[a+8>>2]=d+f;a=d>>>0>>0?85:0;return a|0}function tTa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=k[a+4>>2]|0;if(e>>>0<=b>>>0){a=85;return a|0}f=k[a+20>>2]|0;if(!f){e=(e-b|0)>>>0>d>>>0?d:e-b|0;ABb(c|0,(k[a>>2]|0)+b|0,e|0)|0}else e=nj[f&127](a,b,c,d)|0;k[a+8>>2]=e+b;a=e>>>0>>0?85:0;return a|0}function uTa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=k[a+8>>2]|0;e=k[a+4>>2]|0;if(e>>>0<=d>>>0){a=0;return a|0}f=k[a+20>>2]|0;if(!f){c=(e-d|0)>>>0>c>>>0?c:e-d|0;ABb(b|0,(k[a>>2]|0)+d|0,c|0)|0;d=c}else d=nj[f&127](a,d,b,c)|0;k[a+8>>2]=(k[a+8>>2]|0)+d;a=d;return a|0}function vTa(a,b,c){a=a|0;b=b|0;c=c|0;b=wTa(a,b)|0;if(b|0)return b|0;k[c>>2]=k[a+32>>2];k[a+32>>2]=0;k[a+36>>2]=0;return b|0}function wTa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=r;r=r+16|0;k[g>>2]=0;if(!(k[a+20>>2]|0)){c=k[a+8>>2]|0;f=k[a+4>>2]|0;if(f>>>0<=c>>>0|(f-c|0)>>>0>>0){k[g>>2]=85;a=85;r=g;return a|0}else{f=(k[a>>2]|0)+c|0;k[a+32>>2]=f;k[a+36>>2]=f+b;k[a+8>>2]=c+b;a=0;r=g;return a|0}}f=k[a+28>>2]|0;if((k[a+4>>2]|0)>>>0>>0){k[g>>2]=85;a=85;r=g;return a|0}c=VTa(f,b,g)|0;k[a>>2]=c;d=k[g>>2]|0;if(d|0){a=d;r=g;return a|0}e=nj[k[a+20>>2]&127](a,k[a+8>>2]|0,c,b)|0;c=k[a>>2]|0;if(e>>>0>>0){YTa(f,c);k[a>>2]=0;k[g>>2]=85;d=85;c=0}else d=k[g>>2]|0;k[a+32>>2]=c;k[a+36>>2]=c+b;k[a+8>>2]=(k[a+8>>2]|0)+e;a=d;r=g;return a|0}function xTa(a,b){a=a|0;b=b|0;if(a|0)if(k[a+20>>2]|0){YTa(k[a+28>>2]|0,k[b>>2]|0);k[b>>2]=0}k[b>>2]=0;return}function yTa(a){a=a|0;if(k[a+20>>2]|0){YTa(k[a+28>>2]|0,k[a>>2]|0);k[a>>2]=0}k[a+32>>2]=0;k[a+36>>2]=0;return}function zTa(a){a=a|0;var b=0;b=k[a+32>>2]|0;if(b>>>0>=(k[a+36>>2]|0)>>>0){a=0;return a|0}k[a+32>>2]=b+1;a=i[b>>0]|0;return a|0}function ATa(a){a=a|0;var b=0,c=0,d=0;b=k[a+32>>2]|0;if((b+1|0)>>>0>=(k[a+36>>2]|0)>>>0){c=b;b=0;k[a+32>>2]=c;return b|0}d=b+2|0;c=((l[b>>0]|0)<<8|(l[b+1>>0]|0))&65535;k[a+32>>2]=d;return c|0}function BTa(a){a=a|0;var b=0,c=0,d=0;b=k[a+32>>2]|0;if((b+1|0)>>>0>=(k[a+36>>2]|0)>>>0){c=b;b=0;k[a+32>>2]=c;return b|0}d=b+2|0;c=((l[b+1>>0]|0)<<8|(l[b>>0]|0))&65535;k[a+32>>2]=d;return c|0}function CTa(a){a=a|0;var b=0,c=0,d=0;b=k[a+32>>2]|0;if((b+3|0)>>>0>=(k[a+36>>2]|0)>>>0){c=b;b=0;k[a+32>>2]=c;return b|0}d=b+4|0;c=(l[b+1>>0]|0)<<16|(l[b>>0]|0)<<24|(l[b+2>>0]|0)<<8|(l[b+3>>0]|0);k[a+32>>2]=d;return c|0}function DTa(a){a=a|0;var b=0,c=0,d=0;b=k[a+32>>2]|0;if((b+3|0)>>>0>=(k[a+36>>2]|0)>>>0){c=b;b=0;k[a+32>>2]=c;return b|0}d=b+4|0;c=(l[b+2>>0]|0)<<16|(l[b+3>>0]|0)<<24|(l[b+1>>0]|0)<<8|(l[b>>0]|0);k[a+32>>2]=d;return c|0}function ETa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=r;r=r+16|0;i[f>>0]=0;k[b>>2]=0;c=k[a+20>>2]|0;d=k[a+8>>2]|0;if(!c)if(d>>>0<(k[a+4>>2]|0)>>>0){e=i[(k[a>>2]|0)+d>>0]|0;i[f>>0]=e;c=d;d=e;e=6}else e=7;else if((nj[c&127](a,d,f,1)|0)==1){c=k[a+8>>2]|0;d=i[f>>0]|0;e=6}else e=7;if((e|0)==6){k[a+8>>2]=c+1;a=d;r=f;return a|0}else if((e|0)==7){k[b>>2]=85;a=0;r=f;return a|0}return 0}function FTa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=r;r=r+16|0;k[b>>2]=0;c=k[a+8>>2]|0;do if((c+1|0)>>>0<(k[a+4>>2]|0)>>>0){d=k[a+20>>2]|0;if(!d){d=(k[a>>2]|0)+c|0;if(!d){b=c;c=0}else e=6}else{if((nj[d&127](a,c,f,2)|0)!=2)break;c=k[a+8>>2]|0;d=f;e=6}if((e|0)==6){b=c;c=((l[d>>0]|0)<<8|(l[d+1>>0]|0))&65535}k[a+8>>2]=b+2;e=c;r=f;return e|0}while(0);k[b>>2]=85;e=0;r=f;return e|0}function GTa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=r;r=r+16|0;k[b>>2]=0;c=k[a+8>>2]|0;do if((c+1|0)>>>0<(k[a+4>>2]|0)>>>0){d=k[a+20>>2]|0;if(!d){d=(k[a>>2]|0)+c|0;if(!d){b=c;c=0}else e=6}else{if((nj[d&127](a,c,f,2)|0)!=2)break;c=k[a+8>>2]|0;d=f;e=6}if((e|0)==6){b=c;c=((l[d+1>>0]|0)<<8|(l[d>>0]|0))&65535}k[a+8>>2]=b+2;e=c;r=f;return e|0}while(0);k[b>>2]=85;e=0;r=f;return e|0}function HTa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=r;r=r+16|0;k[b>>2]=0;c=k[a+8>>2]|0;do if((c+2|0)>>>0<(k[a+4>>2]|0)>>>0){d=k[a+20>>2]|0;if(!d){d=(k[a>>2]|0)+c|0;if(!d){b=c;c=0}else e=6}else{if((nj[d&127](a,c,f,3)|0)!=3)break;c=k[a+8>>2]|0;d=f;e=6}if((e|0)==6){b=c;c=(l[d+1>>0]|0)<<8|(l[d>>0]|0)<<16|(l[d+2>>0]|0)}k[a+8>>2]=b+3;e=c;r=f;return e|0}while(0);k[b>>2]=85;e=0;r=f;return e|0}function ITa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=r;r=r+16|0;k[b>>2]=0;c=k[a+8>>2]|0;do if((c+3|0)>>>0<(k[a+4>>2]|0)>>>0){d=k[a+20>>2]|0;if(!d){d=(k[a>>2]|0)+c|0;if(!d){b=c;c=0}else e=6}else{if((nj[d&127](a,c,f,4)|0)!=4)break;c=k[a+8>>2]|0;d=f;e=6}if((e|0)==6){b=c;c=(l[d+1>>0]|0)<<16|(l[d>>0]|0)<<24|(l[d+2>>0]|0)<<8|(l[d+3>>0]|0)}k[a+8>>2]=b+4;e=c;r=f;return e|0}while(0);k[b>>2]=85;e=0;r=f;return e|0}function JTa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=r;r=r+16|0;k[b>>2]=0;c=k[a+8>>2]|0;do if((c+3|0)>>>0<(k[a+4>>2]|0)>>>0){d=k[a+20>>2]|0;if(!d){d=(k[a>>2]|0)+c|0;if(!d){b=c;c=0}else e=6}else{if((nj[d&127](a,c,f,4)|0)!=4)break;c=k[a+8>>2]|0;d=f;e=6}if((e|0)==6){b=c;c=(l[d+2>>0]|0)<<16|(l[d+3>>0]|0)<<24|(l[d+1>>0]|0)<<8|(l[d>>0]|0)}k[a+8>>2]=b+4;e=c;r=f;return e|0}while(0);k[b>>2]=85;e=0;r=f;return e|0}function KTa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,n=0;if(!b){n=6;return n|0}if(!a){n=40;return n|0}h=0;a:while(1){d=k[a+32>>2]|0;b:while(1){g=j[b>>1]|0;switch(g&255|0){case 4:break b;case 25:case 24:{e=d+((g&65535)>>>8&65535)|0;if(e>>>0>(k[a+36>>2]|0)>>>0){d=85;b=h;break a}if((g&255)<<24>>24==24){ABb(c+(m[b+2>>1]|0)|0,d|0,(g&65535)>>>8&65535|0)|0;d=e}else d=e;break}case 9:case 8:{f=d+1|0;e=24;d=l[d>>0]|0;n=18;break}case 12:case 13:{f=d+2|0;e=16;d=(l[d>>0]|0)<<8|(l[d+1>>0]|0);n=18;break}case 14:case 15:{f=d+2|0;e=16;d=(l[d+1>>0]|0)<<8|(l[d>>0]|0);n=18;break}case 16:case 17:{f=d+4|0;e=0;d=(l[d+1>>0]|0)<<16|(l[d>>0]|0)<<24|(l[d+2>>0]|0)<<8|(l[d+3>>0]|0);n=18;break}case 18:case 19:{f=d+4|0;e=0;d=(l[d+2>>0]|0)<<16|(l[d+3>>0]|0)<<24|(l[d+1>>0]|0)<<8|(l[d>>0]|0);n=18;break}case 20:case 21:{f=d+3|0;e=8;d=(l[d+1>>0]|0)<<8|(l[d>>0]|0)<<16|(l[d+2>>0]|0);n=18;break}case 22:case 23:{f=d+3|0;e=8;d=(l[d+1>>0]|0)<<8|(l[d+2>>0]|0)<<16|(l[d>>0]|0);n=18;break}default:{b=h;n=17;break a}}c:do if((n|0)==18){n=0;e=(g&1)==0?d:d<>e;d=c+(m[b+2>>1]|0)|0;switch((g&65535)>>>8&65535|0){case 1:{i[d>>0]=e;d=f;break c}case 2:{j[d>>1]=e;d=f;break c}case 4:{k[d>>2]=e;d=f;break c}default:{k[d>>2]=e;d=f;break c}}}while(0);b=b+4|0}d=wTa(a,m[b+2>>1]|0)|0;if(!d){b=b+4|0;h=1}else{b=h;break}}if((n|0)==17){k[a+32>>2]=d;d=0}if(!(b<<24>>24)){n=d;return n|0}if(k[a+20>>2]|0){YTa(k[a+28>>2]|0,k[a>>2]|0);k[a>>2]=0}k[a+32>>2]=0;k[a+36>>2]=0;n=d;return n|0}function LTa(a,b){a=a|0;b=b|0;var c=0;if(!a){a=40;return a|0}k[a+12>>2]=0;k[a+16>>2]=b;k[a>>2]=0;k[a+8>>2]=0;k[a+20>>2]=0;k[a+24>>2]=0;b=job(b,527887)|0;if(!b){a=1;return a|0}zob(b,0,2)|0;c=Hpb(b)|0;k[a+4>>2]=c;if(!c){mob(b)|0;c=81;return c|0}else{zob(b,0,0)|0;k[a+12>>2]=b;k[a+20>>2]=83;k[a+24>>2]=692;c=0;return c|0}return 0}function MTa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;if(!d)if((k[a+4>>2]|0)>>>0>>0){a=1;return a|0}e=k[a+12>>2]|0;if((k[a+8>>2]|0)!=(b|0))zob(e,b,0)|0;a=Epb(c,1,d,e)|0;return a|0}function NTa(a){a=a|0;mob(k[a+12>>2]|0)|0;k[a+12>>2]=0;k[a+4>>2]=0;k[a>>2]=0;return}function OTa(){var a=0;a=hqb(16)|0;if(!a)return a|0;k[a>>2]=0;k[a+4>>2]=353;k[a+12>>2]=84;k[a+8>>2]=220;return a|0}function PTa(a,b){a=a|0;b=b|0;return hqb(b)|0}function QTa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return kqb(d,c)|0}function RTa(a,b){a=a|0;b=b|0;iqb(b);return}function STa(a){a=a|0;iqb(a);return}function TTa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(!a){g=0;return g|0}b=k[a>>2]|0;c=k[a+4>>2]|0;if(!b){g=(c|0)<0?0-c|0:c;return g|0}a=(b|0)<0?0-b|0:b;if(!c){g=a;return g|0}a=31-(ja(((c|0)<0?0-c|0:c)|a|0)|0)|0;if((a|0)<30){g=29-a|0;d=b<<29-a;b=c<<29-a}else{g=29-a|0;d=b>>a+-29;b=c>>a+-29}a=0-d|0;if((b|0)>(d|0)){d=(b|0)>(a|0);c=1;e=1;f=d?b:a;b=d?a:0-b|0}else{a=(b|0)<(a|0);c=1;e=1;f=a?0-b|0:d;b=a?d:b}while(1){a=b+c>>e;if((b|0)>0){a=a+f|0;b=b-(f+c>>e)|0}else{a=f-a|0;b=(f+c>>e)+b|0}e=e+1|0;if((e|0)==23)break;else{c=c<<1;f=a}}f=(a|0)<0?0-a|0:a;e=((f&65535)*56281|0)+((f>>>16)*23318|0)|0;f=(e>>>16)+((f>>>16)*56281|0)+((e>>>0<((f>>>16)*23318|0)>>>0&1)<<16)+(((e<<16)+((f&65535)*23318|0)|0)>>>0>>0&1)+(((e<<16)+((f&65535)*23318|0)|0)>>>0>3221225471&1)|0;a=(a|0)<0?0-f|0:f;if((g|0)>0){g=a+(1<>g;return g|0}else{g=a<<0-g;return g|0}return 0}function UTa(a,b,c){a=a|0;b=b|0;c=c|0;if((b|0)>0){a=gj[k[a+4>>2]&511](a,b)|0;if(!a){a=0;b=64}else{vBb(a|0,0,b|0)|0;b=0}}else{a=0;b=b>>31&6}k[c>>2]=b;return a|0}function VTa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((b|0)>0){a=gj[k[a+4>>2]&511](a,b)|0;d=a;a=(a|0)==0?64:0}else{d=0;a=b>>31&6}k[c>>2]=a;return d|0}function WTa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;if((c|b|d|0)<0){d=e;b=6;k[f>>2]=b;return d|0}do if((b|0)==0|(d|0)==0)if(!e){e=0;a=0}else{Di[k[a+8>>2]&511](a,e);e=0;a=0}else{if((2147483647/(b|0)|0|0)<(d|0)){d=e;b=10;k[f>>2]=b;return d|0}if(c|0){h=ha(c,b)|0;g=ha(d,b)|0;a=nj[k[a+12>>2]&127](a,h,g,e)|0;e=(a|0)==0?e:a;a=(a|0)==0?64:0;break}g=ha(d,b)|0;if((g|0)<=0){e=0;a=g>>31&6;break}e=gj[k[a+4>>2]&511](a,g)|0;if(!e){h=0;d=64;k[f>>2]=d;return h|0}else{vBb(e|0,0,g|0)|0;a=0;break}}while(0);if(!((d|0)>(c|0)&(a|0)==0)){h=e;d=a;k[f>>2]=d;return h|0}vBb(e+(ha(c,b)|0)|0,0,ha(d-c|0,b)|0)|0;h=e;d=0;k[f>>2]=d;return h|0}function XTa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;do if((c|b|d|0)<0)c=6;else{if((b|0)==0|(d|0)==0){if(!e){e=0;c=0;break}Di[k[a+8>>2]&511](a,e);e=0;c=0;break}if((2147483647/(b|0)|0|0)<(d|0))c=10;else{if(c|0){g=ha(c,b)|0;c=ha(d,b)|0;c=nj[k[a+12>>2]&127](a,g,c,e)|0;e=(c|0)==0?e:c;c=(c|0)==0?64:0;break}c=ha(d,b)|0;if((c|0)<=0){e=0;c=c>>31&6;break}e=gj[k[a+4>>2]&511](a,c)|0;if(!e){e=0;c=64}else{vBb(e|0,0,c|0)|0;c=0}}}while(0);k[f>>2]=c;return e|0}function YTa(a,b){a=a|0;b=b|0;if(!b)return;Di[k[a+8>>2]&511](a,b);return}function ZTa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;if(!b){a=0;f=4}else{d=(Fnb(b)|0)+1|0;if((d|0)>0){a=gj[k[a+4>>2]&511](a,d)|0;e=a;a=(a|0)==0?64:0}else{a=d;f=4}}if((f|0)==4){d=a;e=0;a=a>>31&6}if(!((b|0)!=0&(a|0)==0)){k[c>>2]=a;return e|0}ABb(e|0,b|0,d|0)|0;k[c>>2]=a;return e|0}function _Ta(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:do if(c>>>0>1)while(1){d=i[b>>0]|0;if(!(d<<24>>24))break a;b=b+1|0;e=a+1|0;i[a>>0]=d;c=c+-1|0;if(c>>>0<=1){a=e;break}else a=e}while(0);i[a>>0]=0;return (i[b>>0]|0)!=0|0}function $Ta(a,b){a=a|0;b=b|0;if(!a){b=0;return b|0}a=k[a>>2]|0;if(!a){b=0;return b|0}while(1){if((k[a+8>>2]|0)==(b|0)){b=5;break}a=k[a+4>>2]|0;if(!a){a=0;b=5;break}}if((b|0)==5)return a|0;return 0}function aUa(a,b){a=a|0;b=b|0;var c=0;if(!((a|0)!=0&(b|0)!=0))return;c=k[a+4>>2]|0;k[b+4>>2]=0;k[b>>2]=c;if(!c)k[a>>2]=b;else k[c+4>>2]=b;k[a+4>>2]=b;return}function bUa(a,b){a=a|0;b=b|0;var c=0;if(!((a|0)!=0&(b|0)!=0))return;c=k[b>>2]|0;b=k[b+4>>2]|0;if(!c)k[a>>2]=b;else k[c+4>>2]=b;if(!b){k[a+4>>2]=c;return}else{k[b>>2]=c;return}}function cUa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;if(!((a|0)!=0&(c|0)!=0))return;e=k[a>>2]|0;if(e|0)if(!b)do{d=e;e=k[e+4>>2]|0;Di[k[c+8>>2]&511](c,d)}while((e|0)!=0);else do{f=e;e=k[e+4>>2]|0;kj[b&255](c,k[f+8>>2]|0,d);Di[k[c+8>>2]&511](c,f)}while((e|0)!=0);k[a>>2]=0;k[a+4>>2]=0;return}function dUa(a,b){a=a|0;b=b|0;return URa(46536,b)|0}function eUa(a,b,c){a=a|0;b=b|0;c=c|0;k[b>>2]=k[a+132>>2];k[c>>2]=k[a+136>>2];return 0}function fUa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0;l=k[a+140>>2]|0;if(!l){c=6;return c|0}if((b|0)==0|(k[l+72>>2]|0)==0){c=6;return c|0}j=i[b>>0]|0;if(!(j<<24>>24)){c=6;return c|0}d=k[l+128>>2]|0;h=k[d+12>>2]|0;e=j;f=b;a=0;while(1){f=f+1|0;g=(a*31|0)+(e<<24>>24)|0;e=i[f>>0]|0;if(!(e<<24>>24))break;else a=g}f=k[d+4>>2]|0;a=k[h+(((g>>>0)%(f>>>0)|0)<<2)>>2]|0;if(!a){c=6;return c|0}e=h+(((g>>>0)%(f>>>0)|0)<<2)|0;while(1){d=k[a>>2]|0;if((i[d>>0]|0)==j<<24>>24)if(!(Wmb(d,b)|0))break;a=e+-4|0;e=a>>>0>>0?h+(f+-1<<2)|0:a;a=k[e>>2]|0;if(!a){a=6;m=16;break}}if((m|0)==16)return a|0;d=k[l+80>>2]|0;a=k[a+4>>2]|0;if(!(d+(a<<4)|0)){c=6;return c|0}switch(k[d+(a<<4)+4>>2]|0){case 1:{k[c>>2]=1;k[c+4>>2]=k[d+(a<<4)+12>>2];c=0;return c|0}case 2:{k[c>>2]=2;k[c+4>>2]=k[d+(a<<4)+12>>2];c=0;return c|0}case 3:{k[c>>2]=3;k[c+4>>2]=k[d+(a<<4)+12>>2];c=0;return c|0}default:{c=6;return c|0}}return 0}function gUa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=r;r=r+48|0;x=k[b+100>>2]|0;d=pTa(a,0)|0;k[y+16>>2]=d;if(d|0){b=d;r=y;return b|0}k[y>>2]=1;k[y+4>>2]=1;k[y+8>>2]=0;k[y+12>>2]=8;k[y+20>>2]=0;u=UTa(x,139324,y+20|0)|0;e=k[y+20>>2]|0;do if(!e){k[u+36>>2]=y;j[u+12>>1]=32767;k[u+139320>>2]=x;k[u+139304>>2]=0;k[u+139304+4>>2]=0;k[u+139304+8>>2]=0;k[u+139316>>2]=x;t=k[a+28>>2]|0;k[y+24>>2]=0;d=WTa(t,1,0,1024,0,y+24|0)|0;a:do if(!(k[y+24>>2]|0)){k[y+28>>2]=87;i[d>>0]=0;h=0;s=1024;f=0;e=0;l=1;n=256;while(1){o=h;g=f;h=0;m=0;b:while(1){f=o;c:while(1){d:while(1){if(h)o=f;else{g=uTa(a,d+e|0,s-e|0)|0;o=g+e|0;e=0}e:do if((o|0)>(m|0)){q=d+m|0;f=i[q>>0]|0;if((f<<24>>24|0)==(n|0)){f=o;break d}else h=m;while(1){switch(f<<24>>24){case 10:case 13:{n=g;p=h;break c}default:{}}h=h+1|0;if((h|0)>=(o|0))break e;f=i[d+h>>0]|0}}while(0);if(!g)break a;if(!m){h=o;f=g;g=n;break b}e=o-m|0;BBb(d|0,d+m|0,e|0)|0;f=m;g=e;h=0;m=0}h=1;m=m+1|0;n=256}h=d+p|0;i[h>>0]=0;switch(i[q>>0]|0){case 26:case 35:break;default:if((p|0)>(m|0)){g=Ni[k[y+28>>2]&127](q,p-m|0,l,y+28|0,u)|0;k[y+24>>2]=g;if((g|0)==-1){g=Ni[k[y+28>>2]&127](q,p-m|0,l,y+28|0,u)|0;k[y+24>>2]=g}if(g|0)break a}}i[h>>0]=f;g=n;l=l+1|0;h=1;m=p+1|0;n=f<<24>>24==10?13:f<<24>>24==13?10:256}if(s>>>0>65535)break;e=s<<1;d=WTa(t,1,s,e,d,y+24|0)|0;if(!(k[y+24>>2]|0)){w=s;s=e;n=g;e=w}else break a}k[y+24>>2]=6}while(0);YTa(t,d);w=k[y+24>>2]|0;k[y+20>>2]=w;d=k[u+32>>2]|0;if(!w){if(d|0){if((k[d+28>>2]|0)!=8)j[d+32>>1]=j[d+4>>1]|0;e=k[d+52>>2]|0;f=k[d+64>>2]|0;if((k[u+4>>2]|0)!=(f+e|0))j[d+278660>>1]=1;if(!((f|e|0)==0?1:(k[k[u+36>>2]>>2]|0)==0)){g=k[u+16>>2]|0;e=j[u+12>>1]|0;h=k[d+4>>2]|0;if(((g<<16>>16)-(e<<16>>16)|0)!=(h&65535|0)){j[d+4>>1]=(g<<16>>16)-(e<<16>>16);j[d+278660>>1]=1}if((j[d+8>>1]|0)!=e<<16>>16){j[d+8>>1]=e;j[d+278660>>1]=1}e=k[d+12>>2]|0;if((e&65535)<<16>>16!=(g>>>16&65535)<<16>>16){j[d+12>>1]=g>>>16;j[d+278660>>1]=1}f=j[u+20>>1]|0;if((e>>>16&65535)<<16>>16!=f<<16>>16){j[d+14>>1]=f;j[d+10>>1]=0-(f&65535);j[d+278660>>1]=1}if(((f<<16>>16)+(g>>16)|0)!=(h>>>16|0))j[d+6>>1]=(f<<16>>16)+(g>>16)}}e=k[u>>2]|0;if(e&1|0)if(!(e&32)){k[y+20>>2]=185;f=u+139304|0;e=u+139316|0;d=0;v=56;break}else{k[y+20>>2]=186;f=u+139304|0;e=u+139316|0;d=0;v=56;break}if(!d){k[y+20>>2]=3;f=u+139304|0;e=u+139316|0;v=56;break}e=k[d+88>>2]|0;if(!e){f=u+139304|0;e=u+139316|0;v=56;break}e=WTa(k[d+278664>>2]|0,1,e,e+1|0,k[d+84>>2]|0,y+20|0)|0;d=k[u+32>>2]|0;k[d+84>>2]=e;if(!(k[y+20>>2]|0)){i[e+(k[d+88>>2]|0)>>0]=0;f=u+139304|0;e=u+139316|0;d=k[u+32>>2]|0;v=56;break}}oUa(d);YTa(x,k[u+32>>2]|0);k[u+32>>2]=0;f=u+139304|0;e=u+139316|0;d=0;v=56}else if(!u)d=0;else{f=u+139304|0;e=u+139316|0;d=0;v=56}while(0);if((v|0)==56){e=k[e>>2]|0;if(e|0){YTa(e,k[f>>2]|0);k[f>>2]=0;k[f+4>>2]=0;k[f+8>>2]=0;k[f+12>>2]=0}YTa(x,u);e=k[y+20>>2]|0}k[y+16>>2]=e;if((e&255|0)==176){pUa(b);b=2;r=y;return b|0}if(e|0){b=e;r=y;return b|0}k[b+140>>2]=d;w=d;if((c|0)>0){pUa(b);b=6;r=y;return b|0}k[b>>2]=1;k[b+4>>2]=0;m=k[b+8>>2]|0;k[b+8>>2]=m|146;c=(d|0)==0;f:do if(c)v=86;else{l=(k[w+72>>2]|0)==0;if(l)v=86;else{h=k[w+128>>2]|0;g=k[h+12>>2]|0;h=k[h+4>>2]|0;d=k[g+((3000791075%(h>>>0)|0)<<2)>>2]|0;if(d|0){f=g+((3000791075%(h>>>0)|0)<<2)|0;do{e=k[d>>2]|0;if((i[e>>0]|0)==83)if(!(Wmb(e,528733)|0)){v=71;break}d=f+-4|0;f=d>>>0>>0?g+(h+-1<<2)|0:d;d=k[f>>2]|0}while((d|0)!=0);g:do if((v|0)==71){e=k[w+80>>2]|0;d=k[d+4>>2]|0;if(e+(d<<4)|0)if((k[e+(d<<4)+4>>2]|0)==1){d=k[e+(d<<4)+12>>2]|0;if(d|0){switch(i[d>>0]|0){case 99:case 67:case 109:case 77:break;default:break g}k[b+8>>2]=m|150}}}while(0);if(l){v=86;break}}h=k[w+128>>2]|0;g=k[h+12>>2]|0;h=k[h+4>>2]|0;d=k[g+((1183963782%(h>>>0)|0)<<2)>>2]|0;if(!d)v=86;else{f=g+((1183963782%(h>>>0)|0)<<2)|0;while(1){e=k[d>>2]|0;if((i[e>>0]|0)==70)if(!(Wmb(e,529766)|0))break;d=f+-4|0;f=d>>>0>>0?g+(h+-1<<2)|0:d;d=k[f>>2]|0;if(!d){v=86;break f}}e=k[w+80>>2]|0;d=k[d+4>>2]|0;if(!(e+(d<<4)|0))v=86;else{d=k[e+(d<<4)+12>>2]|0;if(!d)v=86;else{d=ZTa(x,d,y+16|0)|0;k[b+20>>2]=d;d=k[y+16>>2]|0;if(!d){p=k[b+140>>2]|0;break}else{b=d;r=y;return b|0}}}}}}while(0);if((v|0)==86){k[b+20>>2]=0;p=w}k[y+28>>2]=0;u=k[b+100>>2]|0;k[b+12>>2]=0;if(!p){l=0;d=0;f=0;g=1;e=0;h=0;n=0;o=0;v=130}else if(!(k[p+72>>2]|0)){l=0;d=0;f=0;g=1;e=0;h=0;n=0;o=0;v=130}else{m=k[p+128>>2]|0;l=k[m+12>>2]|0;m=k[m+4>>2]|0;d=k[l+((78981326%(m>>>0)|0)<<2)>>2]|0;h:do if(!d){g=2;n=0}else{f=l+((78981326%(m>>>0)|0)<<2)|0;while(1){e=k[d>>2]|0;if((i[e>>0]|0)==83)if(!(Wmb(e,529711)|0))break;d=f+-4|0;f=d>>>0>>0?l+(m+-1<<2)|0:d;d=k[f>>2]|0;if(!d){g=2;n=0;break h}}e=k[p+80>>2]|0;d=k[d+4>>2]|0;if(!(e+(d<<4)|0)){g=2;n=0}else if((k[e+(d<<4)+4>>2]|0)==1){d=k[e+(d<<4)+12>>2]|0;if(!d){g=2;n=0}else{switch(i[d>>0]|0){case 105:case 73:case 111:case 79:break;default:{g=2;n=0;break h}}k[b+12>>2]=1;g=3;n=(i[d>>0]|32)<<24>>24==111?529717:592032}}else{g=2;n=0}}while(0);d=k[l+((4260511730%(m>>>0)|0)<<2)>>2]|0;i:do if(!d)h=0;else{f=l+((4260511730%(m>>>0)|0)<<2)|0;while(1){e=k[d>>2]|0;if((i[e>>0]|0)==87)if(!(Wmb(e,529725)|0))break;d=f+-4|0;f=d>>>0>>0?l+(m+-1<<2)|0:d;d=k[f>>2]|0;if(!d){h=0;break i}}e=k[p+80>>2]|0;d=k[d+4>>2]|0;if(!(e+(d<<4)|0))h=0;else if((k[e+(d<<4)+4>>2]|0)==1){d=k[e+(d<<4)+12>>2]|0;if(!d)h=0;else{switch(i[d>>0]|0){case 98:case 66:break;default:{h=0;break i}}k[b+12>>2]=g;h=592027}}else h=0}while(0);d=k[l+((41411398%(m>>>0)|0)<<2)>>2]|0;j:do if(!d)o=0;else{f=l+((41411398%(m>>>0)|0)<<2)|0;while(1){e=k[d>>2]|0;if((i[e>>0]|0)==83)if(!(Wmb(e,529737)|0))break;d=f+-4|0;f=d>>>0>>0?l+(m+-1<<2)|0:d;d=k[f>>2]|0;if(!d){o=0;break j}}e=k[p+80>>2]|0;d=k[d+4>>2]|0;if(!(e+(d<<4)|0))o=0;else if((k[e+(d<<4)+4>>2]|0)==1){d=k[e+(d<<4)+12>>2]|0;if(!d)o=0;else{switch(i[d>>0]|0){case 110:case 78:case 0:{o=0;break j}default:{}}o=d}}else o=0}while(0);d=k[l+((657458935%(m>>>0)|0)<<2)>>2]|0;k:do if(!d){d=0;g=0;e=0}else{f=l+((657458935%(m>>>0)|0)<<2)|0;while(1){e=k[d>>2]|0;if((i[e>>0]|0)==65)if(!(Wmb(e,529751)|0))break;d=f+-4|0;f=d>>>0>>0?l+(m+-1<<2)|0:d;d=k[f>>2]|0;if(!d){d=0;g=0;e=0;break k}}e=k[p+80>>2]|0;d=k[d+4>>2]|0;if(!(e+(d<<4)|0)){d=0;g=0;e=0}else if((k[e+(d<<4)+4>>2]|0)==1){d=k[e+(d<<4)+12>>2]|0;if(!d){d=0;g=0;e=0}else{switch(i[d>>0]|0){case 110:case 78:case 0:{d=0;g=0;e=0;break k}default:{}}e=Fnb(d)|0;g=e;e=e+1|0}}else{d=0;g=0;e=0}}while(0);if(!h){p=1;h=0;l=0}else{a=Fnb(h)|0;p=0;l=a;e=e+1+a|0}if(!n){f=0;q=0}else{q=Fnb(n)|0;f=n;e=e+1+q|0}if(!o){m=e;e=0}else{a=Fnb(o)|0;m=e+1+a|0;e=a}if(!m){d=h;g=p;h=q;v=130}else{s=d;t=g;a=h}}if((v|0)==130){s=592007;t=7;a=d;p=g;m=8;q=h}d=UTa(u,m,y+28|0)|0;k[b+24>>2]=d;g=k[y+28>>2]|0;if(g|0){k[y+16>>2]=g;b=g;r=y;return b|0}if(s){ABb(d|0,s|0,t|0)|0;if(t|0){h=0;do{g=d+h|0;if((i[g>>0]|0)==32)i[g>>0]=45;h=h+1|0}while((h|0)!=(t|0))}d=d+t|0}if(!p){if((d|0)!=(k[b+24>>2]|0)){i[d>>0]=32;d=d+1|0}ABb(d|0,a|0,l|0)|0;f=n;d=d+l|0}if(f){if((d|0)!=(k[b+24>>2]|0)){i[d>>0]=32;d=d+1|0}ABb(d|0,f|0,q|0)|0;d=d+q|0}if(o){if((d|0)!=(k[b+24>>2]|0)){i[d>>0]=32;d=d+1|0}ABb(d|0,o|0,e|0)|0;if(!e)e=0;else{g=0;do{f=d+g|0;if((i[f>>0]|0)==32)i[f>>0]=45;g=g+1|0}while((g|0)!=(e|0))}d=d+e|0}i[d>>0]=0;d=k[y+28>>2]|0;k[y+16>>2]=d;if(d|0){b=d;r=y;return b|0}k[b+16>>2]=(k[w+48>>2]|0)+1;k[b+28>>2]=1;o=WTa(x,16,0,1,0,y+16|0)|0;k[b+32>>2]=o;d=k[y+16>>2]|0;if(d|0){b=d;r=y;return b|0};k[o>>2]=0;k[o+4>>2]=0;k[o+8>>2]=0;k[o+12>>2]=0;l=(k[w+44>>2]|0)+(k[w+40>>2]|0)|0;j[o>>1]=l;n=(k[w+72>>2]|0)==0;l:do if(n)v=171;else{h=k[w+128>>2]|0;g=k[h+12>>2]|0;h=k[h+4>>2]|0;d=k[g+((3825651940%(h>>>0)|0)<<2)>>2]|0;if(!d)v=171;else{f=g+((3825651940%(h>>>0)|0)<<2)|0;while(1){e=k[d>>2]|0;if((i[e>>0]|0)==65)if(!(Wmb(e,529778)|0))break;d=f+-4|0;f=d>>>0>>0?g+(h+-1<<2)|0:d;d=k[f>>2]|0;if(!d){v=171;break l}}e=k[w+80>>2]|0;d=k[d+4>>2]|0;if(!(e+(d<<4)|0))v=171;else{l=((k[e+(d<<4)+12>>2]|0)+5|0)/10|0;j[o+2>>1]=l}}}while(0);if((v|0)==171){j[o+2>>1]=(l<<16>>15|0)/3|0;l=(l<<16>>15|0)/3|0}m:do if(c|n)v=180;else{h=k[w+128>>2]|0;g=k[h+12>>2]|0;h=k[h+4>>2]|0;d=k[g+((1780881776%(h>>>0)|0)<<2)>>2]|0;if(!d)v=180;else{f=g+((1780881776%(h>>>0)|0)<<2)|0;while(1){e=k[d>>2]|0;if((i[e>>0]|0)==80)if(!(Wmb(e,529792)|0))break;d=f+-4|0;f=d>>>0>>0?g+(h+-1<<2)|0:d;d=k[f>>2]|0;if(!d){v=180;break m}}e=k[w+80>>2]|0;d=k[d+4>>2]|0;if(!(e+(d<<4)|0))v=180;else{d=(((k[e+(d<<4)+12>>2]|0)*460800|0)+36135|0)/72270|0;k[o+4>>2]=d}}}while(0);if((v|0)==180){d=l<<16>>10;k[o+4>>2]=d}do if(c){k[o+12>>2]=d;v=213}else{if(n){k[o+12>>2]=d;v=213;break}l=k[w+128>>2]|0;h=k[l+12>>2]|0;l=k[l+4>>2]|0;e=k[h+((486426170%(l>>>0)|0)<<2)>>2]|0;if(!e){e=0;v=193}else{g=h+((486426170%(l>>>0)|0)<<2)|0;while(1){f=k[e>>2]|0;if((i[f>>0]|0)==80)if(!(Wmb(f,529803)|0)){v=190;break}e=g+-4|0;g=e>>>0>>0?h+(l+-1<<2)|0:e;e=k[g>>2]|0;if(!e){e=0;break}}do if((v|0)==190){f=k[w+80>>2]|0;e=k[e+4>>2]|0;if(!(f+(e<<4)|0)){e=0;break}e=k[f+(e<<4)+12>>2]<<16>>10;k[o+12>>2]=e}while(0);if(n){f=0;g=0}else v=193}n:do if((v|0)==193){m=k[w+128>>2]|0;l=k[m+12>>2]|0;m=k[m+4>>2]|0;f=k[l+((2286220677%(m>>>0)|0)<<2)>>2]|0;if(!f)n=0;else{h=l+((2286220677%(m>>>0)|0)<<2)|0;while(1){g=k[f>>2]|0;if((i[g>>0]|0)==82)if(!(Wmb(g,529814)|0)){v=198;break}f=h+-4|0;h=f>>>0>>0?l+(m+-1<<2)|0:f;f=k[h>>2]|0;if(!f){f=0;break}}do if((v|0)==198){g=k[w+80>>2]|0;f=k[f+4>>2]|0;if(!(g+(f<<4)|0)){f=0;break}f=k[g+(f<<4)+12>>2]|0}while(0);if(n){g=0;break}else n=f}m=k[w+128>>2]|0;l=k[m+12>>2]|0;m=k[m+4>>2]|0;f=k[l+((2286220678%(m>>>0)|0)<<2)>>2]|0;if(!f){f=n;g=0;break}h=l+((2286220678%(m>>>0)|0)<<2)|0;while(1){g=k[f>>2]|0;if((i[g>>0]|0)==82)if(!(Wmb(g,529827)|0))break;f=h+-4|0;h=f>>>0>>0?l+(m+-1<<2)|0:f;f=k[h>>2]|0;if(!f){f=n;g=0;break n}}h=k[w+80>>2]|0;g=k[f+4>>2]|0;if(!(h+(g<<4)|0)){f=n;g=0;break}f=n;g=k[h+(g<<4)+12>>2]&65535}while(0);if(!e){k[o+12>>2]=d;if(!(g<<16>>16)){v=213;break}d=(ha(d,g<<16>>16)|0)/72|0;k[o+12>>2]=d}else d=e;e=f<<16>>16;if(g<<16>>16==0|(e|0)==0){v=213;break}u=(ha(d,e)|0)/(g<<16>>16|0)|0;k[o+8>>2]=u}while(0);if((v|0)==213)k[o+8>>2]=d;g=k[w+56>>2]|0;h=WTa(x,8,0,k[w+48>>2]|0,0,y+16|0)|0;k[b+144>>2]=h;d=k[y+16>>2]|0;if(d|0){b=d;r=y;return b|0}k[b+164>>2]=0;d=k[w+48>>2]|0;if(d|0){e=k[w+36>>2]|0;f=0;do{v=k[g+(f*36|0)+4>>2]|0;k[h+(f<<3)>>2]=v;j[h+(f<<3)+4>>1]=f;if((v|0)==(e|0))k[b+164>>2]=f;f=f+1|0}while(f>>>0>>0)}l=(k[w+72>>2]|0)==0;o:do if(l)m=0;else{h=k[w+128>>2]|0;g=k[h+12>>2]|0;h=k[h+4>>2]|0;d=k[g+((3781719536%(h>>>0)|0)<<2)>>2]|0;if(!d){m=0;break}f=g+((3781719536%(h>>>0)|0)<<2)|0;while(1){e=k[d>>2]|0;if((i[e>>0]|0)==67)if(!(Wmb(e,590332)|0))break;d=f+-4|0;f=d>>>0>>0?g+(h+-1<<2)|0:d;d=k[f>>2]|0;if(!d){m=0;break o}}m=(k[w+80>>2]|0)+(k[d+4>>2]<<4)|0}while(0);p:do if(!(c|l)){h=k[w+128>>2]|0;g=k[h+12>>2]|0;h=k[h+4>>2]|0;d=k[g+((1888187142%(h>>>0)|0)<<2)>>2]|0;if(!d)break;f=g+((1888187142%(h>>>0)|0)<<2)|0;while(1){e=k[d>>2]|0;if((i[e>>0]|0)==67)if(!(Wmb(e,590349)|0))break;d=f+-4|0;f=d>>>0>>0?g+(h+-1<<2)|0:d;d=k[f>>2]|0;if(!d)break p}e=k[w+80>>2]|0;d=k[d+4>>2]|0;if(!((m|0)!=0&(e+(d<<4)|0)!=0))break;if((k[m+4>>2]|0)!=1)break;if((k[e+(d<<4)+4>>2]|0)!=1)break;f=m+12|0;if(!(k[f>>2]|0))break;d=k[e+(d<<4)+12>>2]|0;if(!d)break;d=ZTa(x,d,y+16|0)|0;k[b+132>>2]=d;d=k[y+16>>2]|0;if(d|0){b=d;r=y;return b|0}d=ZTa(x,k[f>>2]|0,y+16|0)|0;k[b+136>>2]=d;e=k[y+16>>2]|0;if(e|0){b=e;r=y;return b|0}q:do switch(i[d>>0]|0){case 73:case 105:{switch(i[d+1>>0]|0){case 83:case 115:break;default:{d=0;break q}}switch(i[d+2>>0]|0){case 79:case 111:break;default:{d=0;break q}}if(Wmb(d+3|0,529840)|0){if(Wmb(d+3|0,529846)|0){d=0;break q}if(Wmb(k[b+132>>2]|0,529851)|0){d=0;break q}}d=1;break}default:d=0}while(0);k[y+28>>2]=b;k[y+28+4>>2]=0;j[y+28+8>>1]=0;j[y+28+10>>1]=0;if(d){k[y+28+4>>2]=1970170211;j[y+28+8>>1]=3;j[y+28+10>>1]=1}b=DSa(47896,0,y+28|0,0)|0;k[y+16>>2]=b;r=y;return b|0}while(0);k[y+28>>2]=b;k[y+28+4>>2]=1094995778;j[y+28+8>>1]=7;j[y+28+10>>1]=0;d=DSa(47896,0,y+28|0,0)|0;k[y+16>>2]=d;if(k[b+36>>2]|0)k[b+92>>2]=k[k[b+40>>2]>>2];b=d;r=y;return b|0}function hUa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,m=0,n=0,o=0,p=0;p=r;r=r+288|0;k[p+12>>2]=0;h=k[e+32>>2]|0;if(!h)m=0;else m=k[h+278664>>2]|0;a:do if(!(Dmb(a,527894,7)|0)){g=i[a+7>>0]|0;switch(g<<24>>24){case 9:case 13:case 10:case 0:case 32:break;default:break a}if((h|0)==0?1:(k[(k[e+36>>2]|0)+8>>2]|0)==0){e=0;r=p;return e|0}b=(g<<24>>24==0?-7:-8)+b|0;c=k[h+278664>>2]|0;k[p+32>>2]=0;f=k[h+88>>2]|0;f=WTa(c,1,f,b+1+f|0,k[h+84>>2]|0,p+32|0)|0;k[h+84>>2]=f;c=k[p+32>>2]|0;if(!c){c=f+(k[h+88>>2]|0)|0;ABb(c|0,(g<<24>>24==0?a+7|0:a+8|0)|0,b|0)|0;i[c+b>>0]=10;k[h+88>>2]=(k[h+88>>2]|0)+(b+1);c=k[p+32>>2]|0}k[p+12>>2]=c;e=c;r=p;return e|0}while(0);c=k[e>>2]|0;if(!(c&1)){h=k[e+139320>>2]|0;b:do if(!(Dmb(a,527902,9)|0)){switch(i[a+9>>0]|0){case 9:case 13:case 10:case 0:case 32:break;default:break b}k[e>>2]=1;k[e+32>>2]=0;g=UTa(h,278692,p+12|0)|0;c=k[p+12>>2]|0;if(c|0){e=c;r=p;return e|0}k[e+32>>2]=g;k[g+278664>>2]=k[e+139320>>2];k[e+139320>>2]=0;k[p+32>>2]=0;k[g+278680>>2]=241;k[g+278676>>2]=80;k[g+278684>>2]=0;c=WTa(h,4,0,241,0,p+32|0)|0;k[g+278688>>2]=c;c=k[p+32>>2]|0;k[p+12>>2]=c;if(!c){b=0;f=46568}else{e=c;r=p;return e|0}while(1){c=iUa(k[f>>2]|0,b,g+278676|0,h)|0;k[p+12>>2]=c;if(c|0){n=155;break}b=b+1|0;if(b>>>0>=83)break;else f=f+16|0}if((n|0)==155){r=p;return c|0}c=UTa(h,16,p+12|0)|0;k[(k[e+32>>2]|0)+128>>2]=c;b=k[p+12>>2]|0;if(b|0){e=b;r=p;return e|0}k[p+32>>2]=0;k[c+4>>2]=241;k[c>>2]=80;k[c+8>>2]=0;o=WTa(h,4,0,241,0,p+32|0)|0;k[c+12>>2]=o;c=k[p+32>>2]|0;k[p+12>>2]=c;if(c|0){e=c;r=p;return e|0}o=k[e+32>>2]|0;k[o+28>>2]=k[(k[e+36>>2]|0)+12>>2];k[o+36>>2]=-1;e=k[p+12>>2]|0;r=p;return e|0}while(0);k[p+12>>2]=176;e=176;r=p;return e|0}c:do if(!(Dmb(a,528960,15)|0)){switch(i[a+15>>0]|0){case 9:case 13:case 10:case 0:case 32:break;default:break c}if(!(c&8)){k[p+12>>2]=179;e=179;r=p;return e|0}c=jUa(e+139304|0,528976,a,b)|0;k[p+12>>2]=c;if(c|0){e=c;r=p;return e|0}c=k[(k[e+139304>>2]|0)+4>>2]|0;d:do if(!c)c=0;else{b=i[c>>0]|0;e:do switch(b<<24>>24){case 0:{c=0;break d}case 48:{switch(i[c+1>>0]|0){case 88:case 120:break;default:{f=c;h=10;b=48;g=529011;break e}}f=c+2|0;h=16;b=i[c+2>>0]|0;g=528979;break}default:{f=c;h=10;g=529011}}while(0);c=b<<24>>24;if(!(l[g+((b&255)>>>3)>>0]&1<<(c&7)))c=0;else{b=c;c=0;do{c=ha(c,h)|0;c=(l[529043+b>>0]|0)+c|0;f=f+1|0;o=i[f>>0]|0;b=o<<24>>24}while((1<<(b&7)&l[g+((o&255)>>>3)>>0]|0)!=0)}}while(0);k[(k[e+32>>2]|0)+72>>2]=c;k[e+4>>2]=c;b=WTa(m,16,0,c,0,p+12|0)|0;c=k[e+32>>2]|0;k[c+80>>2]=b;b=k[p+12>>2]|0;if(!b){k[e>>2]=k[e>>2]|16;k[d>>2]=88;e=0;r=p;return e|0}else{k[c+72>>2]=0;e=b;r=p;return e|0}}while(0);f:do if(!(Dmb(a,529285,15)|0)){switch(i[a+15>>0]|0){case 9:case 13:case 10:case 0:case 32:break;default:break f}if(!(c&4)){k[p+12>>2]=178;e=178;r=p;return e|0}c=jUa(e+139304|0,528976,a,b)|0;k[p+12>>2]=c;if(c|0){e=c;r=p;return e|0}n=k[e+139304>>2]|0;c=k[n+4>>2]|0;g:do if(!c)c=0;else{b=i[c>>0]|0;h:do switch(b<<24>>24){case 0:{c=0;break g}case 48:{switch(i[c+1>>0]|0){case 88:case 120:break;default:{f=c;h=10;b=48;g=529011;break h}}f=c+2|0;h=16;b=i[c+2>>0]|0;g=528979;break}default:{f=c;h=10;g=529011}}while(0);c=b<<24>>24;if(!(l[g+((b&255)>>>3)>>0]&1<<(c&7)))c=0;else{b=c;c=0;do{c=ha(c&65535,h)|0;c=(l[529043+b>>0]|0)+c|0;f=f+1|0;o=i[f>>0]|0;b=o<<24>>24}while((1<<(b&7)&l[g+((o&255)>>>3)>>0]|0)!=0);c=c&65535}}while(0);o=k[e+32>>2]|0;j[o+4>>1]=c;c=k[n+8>>2]|0;i:do if(!c)m=0;else{b=i[c>>0]|0;j:do switch(b<<24>>24){case 0:{m=0;break i}case 48:{switch(i[c+1>>0]|0){case 88:case 120:break;default:{f=c;h=10;b=48;g=529011;break j}}f=c+2|0;h=16;b=i[c+2>>0]|0;g=528979;break}default:{f=c;h=10;g=529011}}while(0);c=b<<24>>24;if(!(l[g+((b&255)>>>3)>>0]&1<<(c&7)))m=0;else{b=c;c=0;do{c=ha(c&65535,h)|0;c=(l[529043+b>>0]|0)+c|0;f=f+1|0;m=i[f>>0]|0;b=m<<24>>24}while((1<<(b&7)&l[g+((m&255)>>>3)>>0]|0)!=0);m=c&65535}}while(0);j[o+6>>1]=m;c=k[n+12>>2]|0;if(!c)c=0;else{d=i[c>>0]|0;if(!(d<<24>>24))c=0;else{c=d<<24>>24==45?c+1|0:c;b=i[c>>0]|0;k:do if(b<<24>>24==48){switch(i[c+1>>0]|0){case 88:case 120:break;default:{a=10;f=c;b=48;h=529011;break k}}a=16;f=c+2|0;b=i[c+2>>0]|0;h=528979}else{a=10;f=c;h=529011}while(0);g=b<<24>>24;if(!(l[h+((b&255)>>>3)>>0]&1<<(g&7)))c=0;else{c=0;b=g;do{c=ha(c,a)|0;f=f+1|0;g=i[f>>0]|0;c=(l[529043+b>>0]|0)+c<<16>>16;b=g<<24>>24}while((1<<(b&7)&l[h+((g&255)>>>3)>>0]|0)!=0)}c=(d<<24>>24==45?0-c|0:c)&65535}}j[o+8>>1]=c;c=k[n+16>>2]|0;if(!c)c=0;else{d=i[c>>0]|0;if(!(d<<24>>24))c=0;else{c=d<<24>>24==45?c+1|0:c;b=i[c>>0]|0;l:do if(b<<24>>24==48){switch(i[c+1>>0]|0){case 88:case 120:break;default:{a=10;f=c;b=48;h=529011;break l}}a=16;f=c+2|0;b=i[c+2>>0]|0;h=528979}else{a=10;f=c;h=529011}while(0);g=b<<24>>24;if(!(l[h+((b&255)>>>3)>>0]&1<<(g&7)))c=0;else{c=0;b=g;do{c=ha(c,a)|0;f=f+1|0;n=i[f>>0]|0;c=(l[529043+b>>0]|0)+c<<16>>16;b=n<<24>>24}while((1<<(b&7)&l[h+((n&255)>>>3)>>0]|0)!=0)}c=(d<<24>>24==45?0-c|0:c)&65535}}j[o+10>>1]=c;n=c&65535;j[o+12>>1]=n+(m&65535);j[o+14>>1]=0-n;k[e>>2]=k[e>>2]|8;e=0;r=p;return e|0}while(0);m:do if(!(Dmb(a,528066,4)|0)){switch(i[a+4>>0]|0){case 9:case 13:case 10:case 0:case 32:break;default:break m}c=jUa(e+139304|0,528976,a,b)|0;k[p+12>>2]=c;if(c|0){e=c;r=p;return e|0}g=k[e+139312>>2]|0;do if(g|0){if(g>>>0<2){k[e+139312>>2]=0;break}c=0;b=1;while(1){o=k[e+139304>>2]|0;k[o+(c<<2)>>2]=k[o+(b<<2)>>2];c=c+1|0;if((c|0)==(g+-1|0))break;else b=b+1|0}k[e+139312>>2]=g+-1;if(g+-1|0){f=k[k[e+139304>>2]>>2]|0;h=f;a=g+-1|0;d=0;g=0;while(1){c=i[h>>0]|0;if(!(c<<24>>24))c=a;else{b=g;while(1){h=h+1|0;g=b+1|0;i[f+b>>0]=c;c=i[h>>0]|0;if(!(c<<24>>24))break;else b=g}c=k[e+139312>>2]|0}b=d+1|0;if(b>>>0>>0){i[f+g>>0]=32;c=k[e+139312>>2]|0;g=g+1|0}if(b>>>0>=c>>>0)break;h=k[(k[e+139304>>2]|0)+(b<<2)>>2]|0;a=c;d=b}if((f|0)==1279174)f=1279174;else{i[f+g>>0]=0;if(!f)break}YTa(m,k[k[e+32>>2]>>2]|0);k[k[e+32>>2]>>2]=0;c=WTa(m,1,0,g+1|0,0,p+12|0)|0;k[k[e+32>>2]>>2]=c;b=k[p+12>>2]|0;if(b|0){e=b;r=p;return e|0}ABb(c|0,f|0,g+1|0)|0;f=k[e+32>>2]|0;c=k[e+36>>2]|0;if(f|0){b=k[f>>2]|0;if(b|0)if(i[b>>0]|0){o=k[f+278664>>2]|0;k[p+16>>2]=0;k[p+16+4>>2]=0;k[p+16+8>>2]=0;k[p+16+12>>2]=o;k[f+28>>2]=k[c+12>>2];c=(Fnb(b)|0)+1|0;if(c>>>0<=255){ABb(p+32|0,b|0,c|0)|0;b=jUa(p+16|0,529301,p+32|0,c)|0;n:do if(!b){if((k[p+16+8>>2]|0)!=15)break;switch(i[k[(k[p+16>>2]|0)+44>>2]>>0]|0){case 99:case 67:{k[f+28>>2]=32;break n}case 109:case 77:{k[f+28>>2]=16;break n}case 112:case 80:{k[f+28>>2]=8;break n}default:break n}}while(0);c=k[p+16+12>>2]|0;if(c|0){YTa(c,k[p+16>>2]|0);k[p+16>>2]=0;k[p+16+4>>2]=0;k[p+16+8>>2]=0;k[p+16+12>>2]=0}k[p+12>>2]=b;if(b|0){e=b;r=p;return e|0}k[e>>2]=k[e>>2]|2;e=0;r=p;return e|0}}}k[p+12>>2]=6;e=6;r=p;return e|0}}while(0);k[p+12>>2]=3;e=3;r=p;return e|0}while(0);o:do if(!(Dmb(a,529303,4)|0)){switch(i[a+4>>0]|0){case 9:case 13:case 10:case 0:case 32:break;default:break o}if(!(c&2)){k[p+12>>2]=177;e=177;r=p;return e|0}c=jUa(e+139304|0,528976,a,b)|0;k[p+12>>2]=c;if(c|0){e=c;r=p;return e|0}a=k[e+139304>>2]|0;c=k[a+4>>2]|0;p:do if(!c)c=0;else{b=i[c>>0]|0;q:do switch(b<<24>>24){case 0:{c=0;break p}case 48:{switch(i[c+1>>0]|0){case 88:case 120:break;default:{f=c;h=10;b=48;g=529011;break q}}f=c+2|0;h=16;b=i[c+2>>0]|0;g=528979;break}default:{f=c;h=10;g=529011}}while(0);c=b<<24>>24;if(!(l[g+((b&255)>>>3)>>0]&1<<(c&7)))c=0;else{b=c;c=0;do{c=ha(c,h)|0;c=(l[529043+b>>0]|0)+c|0;f=f+1|0;o=i[f>>0]|0;b=o<<24>>24}while((1<<(b&7)&l[g+((o&255)>>>3)>>0]|0)!=0)}}while(0);m=k[e+32>>2]|0;k[m+16>>2]=c;c=k[a+8>>2]|0;r:do if(!c)c=0;else{b=i[c>>0]|0;s:do switch(b<<24>>24){case 0:{c=0;break r}case 48:{switch(i[c+1>>0]|0){case 88:case 120:break;default:{f=c;h=10;b=48;g=529011;break s}}f=c+2|0;h=16;b=i[c+2>>0]|0;g=528979;break}default:{f=c;h=10;g=529011}}while(0);c=b<<24>>24;if(!(l[g+((b&255)>>>3)>>0]&1<<(c&7)))c=0;else{b=c;c=0;do{c=ha(c,h)|0;c=(l[529043+b>>0]|0)+c|0;f=f+1|0;o=i[f>>0]|0;b=o<<24>>24}while((1<<(b&7)&l[g+((o&255)>>>3)>>0]|0)!=0)}}while(0);k[m+20>>2]=c;c=k[a+12>>2]|0;t:do if(!c)c=0;else{b=i[c>>0]|0;u:do switch(b<<24>>24){case 0:{c=0;break t}case 48:{switch(i[c+1>>0]|0){case 88:case 120:break;default:{f=c;h=10;b=48;g=529011;break u}}f=c+2|0;h=16;b=i[c+2>>0]|0;g=528979;break}default:{f=c;h=10;g=529011}}while(0);c=b<<24>>24;if(!(l[g+((b&255)>>>3)>>0]&1<<(c&7)))c=0;else{b=c;c=0;do{c=ha(c,h)|0;c=(l[529043+b>>0]|0)+c|0;f=f+1|0;o=i[f>>0]|0;b=o<<24>>24}while((1<<(b&7)&l[g+((o&255)>>>3)>>0]|0)!=0)}}while(0);k[m+24>>2]=c;if((k[e+139312>>2]|0)==5){c=k[a+16>>2]|0;do if(!c)n=137;else{d=i[c>>0]|0;if(!(d<<24>>24))n=137;else{c=d<<24>>24==45?c+1|0:c;b=i[c>>0]|0;v:do if(b<<24>>24==48){switch(i[c+1>>0]|0){case 88:case 120:break;default:{a=10;f=c;b=48;h=529011;break v}}a=16;f=c+2|0;b=i[c+2>>0]|0;h=528979}else{a=10;f=c;h=529011}while(0);g=b<<24>>24;if(!(l[h+((b&255)>>>3)>>0]&1<<(g&7)))c=0;else{c=0;b=g;do{c=ha(c,a)|0;f=f+1|0;o=i[f>>0]|0;c=(l[529043+b>>0]|0)+c<<16>>16;b=o<<24>>24}while((1<<(b&7)&l[h+((o&255)>>>3)>>0]|0)!=0)}f=d<<24>>24==45?0-c|0:c;j[m+278662>>1]=f;if(!((f&65535)<<16>>16)){f=0;c=m+278662|0;b=0;n=141;break}else{b=0;c=0;g=f&65535}while(1){b=(g&1)==0?b:c;g=(g&65535)>>>1;if(!(g<<16>>16))break;else c=c+1<<16>>16}if((b&65535)>3){b=8;c=m+278662|0}else{c=m+278662|0;n=141}}}while(0);if((n|0)==137){j[m+278662>>1]=0;f=0;c=m+278662|0;b=0;n=141}if((n|0)==141)b=1<<(b&65535)&65535;if((f&65535|0)!=(b|0))j[c>>1]=b<<1}else j[m+278662>>1]=1;k[e>>2]=k[e>>2]|4;e=0;r=p;return e|0}while(0);w:do if(!(Dmb(a,529189,5)|0)){switch(i[a+5>>0]|0){case 9:case 13:case 10:case 0:case 32:break;default:break w}if(!(c&8)){k[p+12>>2]=179;c=179}else{c=j[h+12>>1]|0;k[h+40>>2]=c;k[p>>2]=c;Fmb(p+32|0,529185,p)|0;c=lUa(k[e+32>>2]|0,528089,p+32|0)|0;k[p+12>>2]=c;if(!c){o=k[e+32>>2]|0;c=j[o+14>>1]|0;k[o+44>>2]=c;k[p+8>>2]=c;Fmb(p+32|0,529185,p+8|0)|0;c=lUa(k[e+32>>2]|0,528101,p+32|0)|0;k[p+12>>2]=c;if(!c){j[(k[e+32>>2]|0)+278660>>1]=1;k[d>>2]=89;k[p+12>>2]=-1;c=-1}}}e=c;r=p;return e|0}while(0);k[p+12>>2]=3;e=3;r=p;return e|0}function iUa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0;p=r;r=r+16|0;j=k[c+12>>2]|0;l=i[a>>0]|0;if(!(l<<24>>24))e=0;else{f=l;g=a;e=0;do{g=g+1|0;e=(e*31|0)+(f<<24>>24)|0;f=i[g>>0]|0}while(f<<24>>24!=0)}h=k[c+4>>2]|0;f=j+(((e>>>0)%(h>>>0)|0)<<2)|0;e=k[f>>2]|0;a:do if(e){while(1){g=k[e>>2]|0;if((i[g>>0]|0)==l<<24>>24)if(!(Wmb(g,a)|0))break;f=f+-4|0;f=f>>>0>>0?j+(h+-1<<2)|0:f;e=k[f>>2]|0;if(!e)break a}k[p>>2]=0;k[e+4>>2]=b;c=k[p>>2]|0;r=p;return c|0}while(0);k[p>>2]=0;e=UTa(d,8,p)|0;if(k[p>>2]|0){c=k[p>>2]|0;r=p;return c|0}k[f>>2]=e;k[e>>2]=a;k[e+4>>2]=b;e=k[c+8>>2]|0;do if(e>>>0>=(k[c>>2]|0)>>>0){n=k[c+12>>2]|0;o=k[c+4>>2]|0;k[p+4>>2]=0;k[c+4>>2]=o<<1;k[c>>2]=(o<<1>>>0)/3|0;e=WTa(d,4,0,o<<1,0,p+4|0)|0;k[c+12>>2]=e;e=k[p+4>>2]|0;if(e|0){k[p>>2]=e;c=k[p>>2]|0;r=p;return c|0}if(o|0){b=n;m=0;while(1){a=k[b>>2]|0;if(a|0){h=k[a>>2]|0;j=k[c+12>>2]|0;l=i[h>>0]|0;if(!(l<<24>>24))e=0;else{f=l;g=h;e=0;do{g=g+1|0;e=(e*31|0)+(f<<24>>24)|0;f=i[g>>0]|0}while(f<<24>>24!=0)}g=k[c+4>>2]|0;e=j+(((e>>>0)%(g>>>0)|0)<<2)|0;f=k[e>>2]|0;b:do if(f)do{f=k[f>>2]|0;if((i[f>>0]|0)==l<<24>>24)if(!(Wmb(f,h)|0))break b;e=e+-4|0;e=e>>>0>>0?j+(g+-1<<2)|0:e;f=k[e>>2]|0}while((f|0)!=0);while(0);k[e>>2]=a}m=m+1|0;if((m|0)==(o|0))break;else b=b+4|0}}YTa(d,n);d=k[p+4>>2]|0;k[p>>2]=d;if(!d){e=k[c+8>>2]|0;break}else{c=k[p>>2]|0;r=p;return c|0}}while(0);k[c+8>>2]=e+1;c=k[p>>2]|0;r=p;return c|0}function jUa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,m=0;m=r;r=r+48|0;k[a+8>>2]=0;if(k[a+4>>2]|0){k[k[a>>2]>>2]=1279174;k[(k[a>>2]|0)+4>>2]=1279174;k[(k[a>>2]|0)+8>>2]=1279174;k[(k[a>>2]|0)+12>>2]=1279174;k[(k[a>>2]|0)+16>>2]=1279174}if(!d){j=0;r=m;return j|0}e=i[c>>0]|0;if(!(e<<24>>24)){j=0;r=m;return j|0}if(!b){j=6;r=m;return j|0}f=i[b>>0]|0;if(!(f<<24>>24)){j=6;r=m;return j|0}g=m+8|0;h=g+32|0;do{i[g>>0]=0;g=g+1|0}while((g|0)<(h|0));g=f;f=0;a:while(1){switch(g<<24>>24){case 0:break a;case 43:{b=b+1|0;if(!(i[b>>0]|0))f=1;else j=11;break}default:{b=b+1|0;j=11}}if((j|0)==11){j=0;h=g&255;i[m+8+(h>>>3)>>0]=1<<(h&7)|l[m+8+(h>>>3)>>0]}g=i[b>>0]|0}b:do if((d|0)>0){c:do if(!f){g=0;h=c;while(1){if(!(e<<24>>24))break b;else f=h;do{g=e&255;if(i[m+8+(g>>>3)>>0]&1<<(g&7)|0)break;f=f+1|0;e=i[f>>0]|0}while(e<<24>>24!=0);e=k[a+8>>2]|0;if((e|0)==(k[a+4>>2]|0)){k[m>>2]=0;if((e|0)==-1)e=-1;else{if((e|0)==536870911){j=33;break c}b=((e+5+(e>>>1)|0)>>>0>536870911?1:(e+5+(e>>>1)|0)>>>0>>0)?536870911:e+5+(e>>>1)|0;e=WTa(k[a+12>>2]|0,4,e,b,k[a>>2]|0,m)|0;k[a>>2]=e;e=k[m>>2]|0;if(e|0)break c;k[a+4>>2]=b;e=k[a+8>>2]|0}}k[a+8>>2]=e+1;k[(k[a>>2]|0)+(e<<2)>>2]=f>>>0>h>>>0?h:1279174;if(!(i[f>>0]|0)){e=0;b=0}else{h=f+1|0;i[f>>0]=0;b=i[h>>0]|0;e=b;b=b<<24>>24==0;f=h}g=b&1;if(f>>>0<(c+d|0)>>>0)h=f;else break b}}else{g=0;h=c;while(1){if(!(e<<24>>24))break b;else f=h;do{g=e&255;if(i[m+8+(g>>>3)>>0]&1<<(g&7)|0)break;f=f+1|0;e=i[f>>0]|0}while(e<<24>>24!=0);e=k[a+8>>2]|0;if((e|0)==(k[a+4>>2]|0)){k[m>>2]=0;if((e|0)==-1)e=-1;else{if((e|0)==536870911){j=33;break c}b=((e+5+(e>>>1)|0)>>>0>536870911?1:(e+5+(e>>>1)|0)>>>0>>0)?536870911:e+5+(e>>>1)|0;e=WTa(k[a+12>>2]|0,4,e,b,k[a>>2]|0,m)|0;k[a>>2]=e;e=k[m>>2]|0;if(e|0)break c;k[a+4>>2]=b;e=k[a+8>>2]|0}}k[a+8>>2]=e+1;k[(k[a>>2]|0)+(e<<2)>>2]=f>>>0>h>>>0?h:1279174;e=i[f>>0]|0;if(!(e<<24>>24)){g=0;e=0}else{b=f;while(1){h=e&255;if(!(i[m+8+(h>>>3)>>0]&1<<(h&7)))break;i[b>>0]=0;b=b+1|0;e=i[b>>0]|0;if(!(e<<24>>24)){e=0;break}}g=b>>>0>f>>>0&e<<24>>24==0;f=b}g=g&1;if(f>>>0<(c+d|0)>>>0)h=f;else break b}}while(0);if((j|0)==33){k[m>>2]=64;e=64}j=e;r=m;return j|0}else g=0;while(0);e=(k[a+8>>2]|0)+g|0;f=k[a+4>>2]|0;if(e>>>0>=f>>>0){k[m>>2]=0;do if(f>>>0<(e+1|0)>>>0){if((f|0)==536870911){k[m>>2]=64;e=64}else{b=((f+5+(f>>>1)|0)>>>0>536870911?1:(f+5+(f>>>1)|0)>>>0>>0)?536870911:f+5+(f>>>1)|0;e=WTa(k[a+12>>2]|0,4,f,b,k[a>>2]|0,m)|0;k[a>>2]=e;e=k[m>>2]|0;if(!e){k[a+4>>2]=b;break}}j=e;r=m;return j|0}while(0)}e=k[a+8>>2]|0;if(g){k[a+8>>2]=e+1;k[(k[a>>2]|0)+(e<<2)>>2]=1279174;e=e+1|0}k[(k[a>>2]|0)+(e<<2)>>2]=0;j=0;r=m;return j|0}function kUa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,l=0,m=0,n=0,o=0,p=0,q=0;q=r;r=r+144|0;a:do if(!(Dmb(a,529171,13)|0)){switch(i[a+13>>0]|0){case 9:case 13:case 10:case 0:case 32:break;default:break a}m=k[e+32>>2]|0;b:do if(!m)n=11;else if(!(k[m+72>>2]|0))n=11;else{l=k[m+128>>2]|0;h=k[l+12>>2]|0;l=k[l+4>>2]|0;c=k[h+((1895527114%(l>>>0)|0)<<2)>>2]|0;if(!c)n=11;else{g=h+((1895527114%(l>>>0)|0)<<2)|0;while(1){f=k[c>>2]|0;if((i[f>>0]|0)==70)if(!(Wmb(f,528089)|0))break;c=g+-4|0;g=c>>>0>>0?h+(l+-1<<2)|0:c;c=k[g>>2]|0;if(!c){n=11;break b}}if(!((k[m+80>>2]|0)+(k[c+4>>2]<<4)|0))n=11}}while(0);do if((n|0)==11){c=j[m+12>>1]|0;k[m+40>>2]=c;k[q>>2]=c;Fmb(q+16|0,529185,q)|0;c=lUa(k[e+32>>2]|0,528089,q+16|0)|0;if(!c){m=k[e+32>>2]|0;j[m+278660>>1]=1;break}else{e=c;r=q;return e|0}}while(0);c:do if(!(k[m+72>>2]|0))n=20;else{l=k[m+128>>2]|0;h=k[l+12>>2]|0;l=k[l+4>>2]|0;c=k[h+((908209322%(l>>>0)|0)<<2)>>2]|0;if(!c)n=20;else{g=h+((908209322%(l>>>0)|0)<<2)|0;while(1){f=k[c>>2]|0;if((i[f>>0]|0)==70)if(!(Wmb(f,528101)|0))break;c=g+-4|0;g=c>>>0>>0?h+(l+-1<<2)|0:c;c=k[g>>2]|0;if(!c){n=20;break c}}if(!((k[m+80>>2]|0)+(k[c+4>>2]<<4)|0))n=20}}while(0);do if((n|0)==20){c=j[m+14>>1]|0;k[m+44>>2]=c;k[q+8>>2]=c;Fmb(q+16|0,529185,q+8|0)|0;c=lUa(k[e+32>>2]|0,528101,q+16|0)|0;if(!c){j[(k[e+32>>2]|0)+278660>>1]=1;break}else{e=c;r=q;return e|0}}while(0);k[e>>2]=k[e>>2]&-17;k[d>>2]=89;e=0;r=q;return e|0}while(0);d:do if(!(Dmb(a,529263,21)|0)){switch(i[a+21>>0]|0){case 9:case 13:case 10:case 0:case 32:{c=0;break}default:break d}r=q;return c|0}while(0);e:do if(!(Dmb(a,527894,7)|0)){switch(i[a+7>>0]|0){case 0:{c=a+7|0;break}case 32:case 13:case 10:case 9:{i[a+7>>0]=0;c=a+8|0;break}default:break e}e=lUa(k[e+32>>2]|0,a,c)|0;r=q;return e|0}while(0);p=k[e+32>>2]|0;c=a;f:while(1){f=i[c>>0]|0;switch(f<<24>>24){case 0:{o=-1;break f}case 32:case 9:{n=32;break f}default:{}}c=c+1|0}if((n|0)==32){i[c>>0]=0;o=f<<24>>24}g:do if(!a)g=0;else{d=i[a>>0]|0;if(!(d<<24>>24))g=0;else{n=k[p+278688>>2]|0;g=d;h=a;f=0;while(1){h=h+1|0;l=(f*31|0)+(g<<24>>24)|0;g=i[h>>0]|0;if(!(g<<24>>24))break;else f=l}m=k[p+278680>>2]|0;f=k[n+(((l>>>0)%(m>>>0)|0)<<2)>>2]|0;if(!f)g=0;else{h=n+(((l>>>0)%(m>>>0)|0)<<2)|0;while(1){g=k[f>>2]|0;if((i[g>>0]|0)==d<<24>>24)if(!(Wmb(g,a)|0))break;f=h+-4|0;h=f>>>0>>0?n+(m+-1<<2)|0:f;f=k[h>>2]|0;if(!f){g=0;break g}}f=k[f+4>>2]|0;if(f>>>0>82){g=(k[p+278668>>2]|0)+(f+-83<<4)|0;break}else{g=46568+(f<<4)|0;break}}}}while(0);if((o|0)==-1)f=0;else{f=o&255;i[c>>0]=f}if(g|0)if((k[g+4>>2]|0)!=1){c=jUa(e+139304|0,528976,a,b)|0;if(c|0){e=c;r=q;return e|0}c=k[e+139304>>2]|0;n=k[c>>2]|0;g=k[e+139312>>2]|0;do if(!g)c=0;else{if(g>>>0<2){k[e+139312>>2]=0;c=0;break}k[c>>2]=k[c+4>>2];if((g+-1|0)!=1){c=1;f=1;do{f=f+1|0;a=k[e+139304>>2]|0;k[a+(c<<2)>>2]=k[a+(f<<2)>>2];c=c+1|0}while((c|0)!=(g+-1|0))}k[e+139312>>2]=g+-1;if(!(g+-1|0))c=0;else{c=k[k[e+139304>>2]>>2]|0;l=c;m=g+-1|0;d=0;f=0;while(1){g=i[l>>0]|0;if(!(g<<24>>24))g=m;else{h=f;while(1){l=l+1|0;f=h+1|0;i[c+h>>0]=g;g=i[l>>0]|0;if(!(g<<24>>24))break;else h=f}g=k[e+139312>>2]|0}h=d+1|0;if(h>>>0>>0){i[c+f>>0]=32;g=k[e+139312>>2]|0;f=f+1|0}if(h>>>0>=g>>>0)break;l=k[(k[e+139304>>2]|0)+(h<<2)>>2]|0;m=g;d=h}if((c|0)==1279174)c=1279174;else i[c+f>>0]=0}}while(0);e=lUa(k[e+32>>2]|0,n,c)|0;r=q;return e|0}if(f<<24>>24){i[c>>0]=0;c=c+1|0}h:while(1){f=i[c>>0]|0;switch(f<<24>>24){case 32:case 9:break;default:break h}c=c+1|0}f=f<<24>>24==34?c+1|0:c;i:do if((a+b|0)>>>0>f>>>0){c=a+b|0;j:while(1){c=c+-1|0;switch(i[c>>0]|0){case 34:break j;case 9:case 32:break;default:break i}i[c>>0]=0;if(c>>>0<=f>>>0)break i}i[c>>0]=0}while(0);e=lUa(k[e+32>>2]|0,a,f)|0;r=q;return e|0}function lUa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0;q=r;r=r+16|0;p=k[a+278664>>2]|0;k[q>>2]=0;g=k[a+128>>2]|0;h=k[g+12>>2]|0;j=i[b>>0]|0;if(!(j<<24>>24))d=0;else{e=j;f=b;d=0;do{f=f+1|0;d=(d*31|0)+(e<<24>>24)|0;e=i[f>>0]|0}while(e<<24>>24!=0)}g=k[g+4>>2]|0;e=h+(((d>>>0)%(g>>>0)|0)<<2)|0;d=k[e>>2]|0;a:do if(d|0){while(1){f=k[d>>2]|0;if((i[f>>0]|0)==j<<24>>24)if(!(Wmb(f,b)|0))break;d=e+-4|0;e=d>>>0>>0?h+(g+-1<<2)|0:d;d=k[e>>2]|0;if(!d)break a}n=k[a+80>>2]|0;m=k[d+4>>2]|0;switch(k[n+(m<<4)+4>>2]|0){case 1:{YTa(p,k[n+(m<<4)+12>>2]|0);k[n+(m<<4)+12>>2]=0;if(!c){p=k[q>>2]|0;r=q;return p|0}if(!(i[c>>0]|0)){p=k[q>>2]|0;r=q;return p|0}p=ZTa(p,c,q)|0;k[n+(m<<4)+12>>2]=p;p=k[q>>2]|0;r=q;return p|0}case 2:{if(!c)d=0;else{j=i[c>>0]|0;if(!(j<<24>>24))d=0;else{d=j<<24>>24==45?c+1|0:c;e=i[d>>0]|0;b:do if(e<<24>>24==48){switch(i[d+1>>0]|0){case 88:case 120:break;default:{h=10;f=d;e=48;g=529011;break b}}h=16;f=d+2|0;e=i[d+2>>0]|0;g=528979}else{h=10;f=d;g=529011}while(0);d=e<<24>>24;if(!(l[g+((e&255)>>>3)>>0]&1<<(d&7)))d=0;else{e=d;d=0;do{d=ha(d,h)|0;d=(l[529043+e>>0]|0)+d|0;f=f+1|0;p=i[f>>0]|0;e=p<<24>>24}while((1<<(e&7)&l[g+((p&255)>>>3)>>0]|0)!=0)}d=j<<24>>24==45?0-d|0:d}}k[n+(m<<4)+12>>2]=d;p=k[q>>2]|0;r=q;return p|0}case 3:{c:do if(!c)d=0;else{d=i[c>>0]|0;d:do switch(d<<24>>24){case 0:{d=0;break c}case 48:{switch(i[c+1>>0]|0){case 88:case 120:break;default:{f=c;h=10;d=48;g=529011;break d}}f=c+2|0;h=16;d=i[c+2>>0]|0;g=528979;break}default:{f=c;h=10;g=529011}}while(0);e=d<<24>>24;if(!(l[g+((d&255)>>>3)>>0]&1<<(e&7)))d=0;else{d=0;do{d=ha(d,h)|0;d=(l[529043+e>>0]|0)+d|0;f=f+1|0;p=i[f>>0]|0;e=p<<24>>24}while((1<<(e&7)&l[g+((p&255)>>>3)>>0]|0)!=0)}}while(0);k[n+(m<<4)+12>>2]=d;p=k[q>>2]|0;r=q;return p|0}default:{p=k[q>>2]|0;r=q;return p|0}}}while(0);h=k[a+278688>>2]|0;if(!(j<<24>>24))d=0;else{e=j;f=b;d=0;do{f=f+1|0;d=(d*31|0)+(e<<24>>24)|0;e=i[f>>0]|0}while(e<<24>>24!=0)}g=k[a+278680>>2]|0;e=h+(((d>>>0)%(g>>>0)|0)<<2)|0;d=k[e>>2]|0;e:do if(!d)o=35;else while(1){f=k[d>>2]|0;if((i[f>>0]|0)==j<<24>>24)if(!(Wmb(f,b)|0)){e=d;break e}d=e+-4|0;e=d>>>0>>0?h+(g+-1<<2)|0:d;d=k[e>>2]|0;if(!d){o=35;break}}while(0);f:do if((o|0)==35){k[q+4>>2]=0;if(!(j<<24>>24))d=0;else{e=j;f=b;d=0;do{f=f+1|0;d=(d*31|0)+(e<<24>>24)|0;e=i[f>>0]|0}while(e<<24>>24!=0)}e=h+(((d>>>0)%(g>>>0)|0)<<2)|0;d=k[e>>2]|0;g:do if(!d)o=42;else while(1){d=k[d>>2]|0;if((i[d>>0]|0)==j<<24>>24)if(!(Wmb(d,b)|0))break g;d=e+-4|0;e=d>>>0>>0?h+(g+-1<<2)|0:d;d=k[e>>2]|0;if(!d){o=42;break}}while(0);do if((o|0)==42){h=k[a+278672>>2]|0;h=WTa(p,16,h,h+1|0,k[a+278668>>2]|0,q+4|0)|0;k[a+278668>>2]=h;d=k[q+4>>2]|0;if(!d){e=k[a+278672>>2]|0;k[h+(e<<4)>>2]=0;k[h+(e<<4)+4>>2]=0;k[h+(e<<4)+8>>2]=0;k[h+(e<<4)+12>>2]=0;f=(Fnb(b)|0)+1|0;g=WTa(p,1,0,f,0,q+4|0)|0;k[h+(e<<4)>>2]=g;d=k[q+4>>2]|0;if(!d){ABb(g|0,b|0,f|0)|0;k[h+(e<<4)+4>>2]=1;k[h+(e<<4)+8>>2]=0;d=iUa(k[h+(e<<4)>>2]|0,(k[a+278672>>2]|0)+83|0,a+278676|0,p)|0;k[q+4>>2]=d;if(!d){k[a+278672>>2]=(k[a+278672>>2]|0)+1;j=i[b>>0]|0;h=k[a+278688>>2]|0;break}}}k[q>>2]=d;p=k[q>>2]|0;r=q;return p|0}while(0);k[q>>2]=0;if(!(j<<24>>24))d=0;else{e=j;f=b;d=0;do{f=f+1|0;d=(d*31|0)+(e<<24>>24)|0;e=i[f>>0]|0}while(e<<24>>24!=0)}f=k[a+278680>>2]|0;d=h+(((d>>>0)%(f>>>0)|0)<<2)|0;e=k[d>>2]|0;if(!e)e=0;else{g=h+(f+-1<<2)|0;f=d;while(1){d=k[e>>2]|0;if((i[d>>0]|0)==j<<24>>24)if(!(Wmb(d,b)|0))break f;e=f+-4|0;f=e>>>0>>0?g:e;e=k[f>>2]|0;if(!e){e=0;break}}}}while(0);d=k[a+76>>2]|0;if((d|0)==(k[a+72>>2]|0)){if(!d){d=WTa(p,16,0,1,0,q)|0;k[a+80>>2]=d;if(k[q>>2]|0){p=k[q>>2]|0;r=q;return p|0}}else{d=WTa(p,16,d,d+1|0,k[a+80>>2]|0,q)|0;k[a+80>>2]=d;if(k[q>>2]|0){p=k[q>>2]|0;r=q;return p|0}}n=d+(k[a+72>>2]<<4)|0;k[n>>2]=0;k[n+4>>2]=0;k[n+8>>2]=0;k[n+12>>2]=0;k[a+72>>2]=(k[a+72>>2]|0)+1}d=k[e+4>>2]|0;if(d>>>0>82)d=(k[a+278668>>2]|0)+(d+-83<<4)|0;else d=46568+(d<<4)|0;m=k[a+80>>2]|0;n=k[a+76>>2]|0;k[m+(n<<4)>>2]=k[d>>2];j=d+4|0;k[m+(n<<4)+4>>2]=k[j>>2];k[m+(n<<4)+8>>2]=k[d+8>>2];switch(k[j>>2]|0){case 1:{k[m+(n<<4)+12>>2]=0;if(c|0)if(i[c>>0]|0){c=ZTa(p,c,q)|0;k[m+(n<<4)+12>>2]=c;if(k[q>>2]|0){p=k[q>>2]|0;r=q;return p|0}}break}case 2:{if(!c)d=0;else{j=i[c>>0]|0;if(!(j<<24>>24))d=0;else{d=j<<24>>24==45?c+1|0:c;e=i[d>>0]|0;h:do if(e<<24>>24==48){switch(i[d+1>>0]|0){case 88:case 120:break;default:{h=10;f=d;e=48;g=529011;break h}}h=16;f=d+2|0;e=i[d+2>>0]|0;g=528979}else{h=10;f=d;g=529011}while(0);d=e<<24>>24;if(!(l[g+((e&255)>>>3)>>0]&1<<(d&7)))d=0;else{e=d;d=0;do{d=ha(d,h)|0;d=(l[529043+e>>0]|0)+d|0;f=f+1|0;c=i[f>>0]|0;e=c<<24>>24}while((1<<(e&7)&l[g+((c&255)>>>3)>>0]|0)!=0)}d=j<<24>>24==45?0-d|0:d}}k[m+(n<<4)+12>>2]=d;break}case 3:{i:do if(!c)d=0;else{d=i[c>>0]|0;j:do switch(d<<24>>24){case 0:{d=0;break i}case 48:{switch(i[c+1>>0]|0){case 88:case 120:break;default:{f=c;h=10;d=48;g=529011;break j}}f=c+2|0;h=16;d=i[c+2>>0]|0;g=528979;break}default:{f=c;h=10;g=529011}}while(0);e=d<<24>>24;if(!(l[g+((d&255)>>>3)>>0]&1<<(e&7)))d=0;else{d=0;do{d=ha(d,h)|0;d=(l[529043+e>>0]|0)+d|0;f=f+1|0;c=i[f>>0]|0;e=c<<24>>24}while((1<<(e&7)&l[g+((c&255)>>>3)>>0]|0)!=0)}}while(0);k[m+(n<<4)+12>>2]=d;break}default:{}}if(!(Dmb(b,527894,7)|0))switch(i[b+7>>0]|0){case 9:case 13:case 10:case 0:case 32:break;default:o=84}else o=84;if((o|0)==84){p=iUa(k[m+(n<<4)>>2]|0,k[a+76>>2]|0,k[a+128>>2]|0,p)|0;k[q>>2]=p;if(p|0){p=k[q>>2]|0;r=q;return p|0}}k[a+76>>2]=(k[a+76>>2]|0)+1;k:do if(!(Dmb(b,527991,12)|0)){switch(i[b+12>>0]|0){case 9:case 13:case 10:case 0:case 32:break;default:break k}k[a+36>>2]=k[m+(n<<4)+12>>2];p=k[q>>2]|0;r=q;return p|0}while(0);l:do if(!(Dmb(b,528089,11)|0)){switch(i[b+11>>0]|0){case 9:case 13:case 10:case 0:case 32:break;default:break l}k[a+40>>2]=k[m+(n<<4)+12>>2];p=k[q>>2]|0;r=q;return p|0}while(0);m:do if(!(Dmb(b,528101,12)|0)){switch(i[b+12>>0]|0){case 9:case 13:case 10:case 0:case 32:break;default:break m}k[a+44>>2]=k[m+(n<<4)+12>>2];p=k[q>>2]|0;r=q;return p|0}while(0);if(Dmb(b,528733,7)|0){p=k[q>>2]|0;r=q;return p|0}switch(i[b+7>>0]|0){case 9:case 13:case 10:case 0:case 32:break;default:{p=k[q>>2]|0;r=q;return p|0}}d=k[m+(n<<4)+12>>2]|0;if(!d){k[q>>2]=3;p=k[q>>2]|0;r=q;return p|0}switch(i[d>>0]|0){case 80:case 112:{k[a+28>>2]=8;p=k[q>>2]|0;r=q;return p|0}case 77:case 109:{k[a+28>>2]=16;p=k[q>>2]|0;r=q;return p|0}case 67:case 99:{k[a+28>>2]=32;p=k[q>>2]|0;r=q;return p|0}default:{p=k[q>>2]|0;r=q;return p|0}}return 0}function mUa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0;v=r;r=r+16|0;k[v>>2]=0;t=k[e+32>>2]|0;u=k[t+278664>>2]|0;a:do if(!(Dmb(a,527894,7)|0)){f=i[a+7>>0]|0;switch(f<<24>>24){case 9:case 13:case 10:case 0:case 32:break;default:{n=6;break a}}c=(f<<24>>24==0?-7:-8)+b|0;k[v+4>>2]=0;b=k[t+88>>2]|0;b=WTa(u,1,b,b+(c+1)|0,k[t+84>>2]|0,v+4|0)|0;k[t+84>>2]=b;d=k[v+4>>2]|0;if(!d){d=b+(k[t+88>>2]|0)|0;ABb(d|0,(f<<24>>24==0?a+7|0:a+8|0)|0,c|0)|0;i[d+c>>0]=10;k[t+88>>2]=(k[t+88>>2]|0)+(c+1);d=k[v+4>>2]|0}k[v>>2]=d;n=204}else n=6;while(0);b:do if((n|0)==6){d=k[e>>2]|0;c:do if(!(d&32)){d:do if(!(Dmb(a,529189,5)|0)){switch(i[a+5>>0]|0){case 9:case 13:case 10:case 0:case 32:break;default:break d}d=jUa(e+139304|0,528976,a,b)|0;k[v>>2]=d;if(d|0){c=e;break b}d=k[(k[e+139304>>2]|0)+4>>2]|0;e:do if(!d)n=17;else{c=i[d>>0]|0;f:do switch(c<<24>>24){case 0:{n=17;break e}case 48:{switch(i[d+1>>0]|0){case 88:case 120:break;default:{b=d;a=10;c=48;f=529011;break f}}b=d+2|0;a=16;c=i[d+2>>0]|0;f=528979;break}default:{b=d;a=10;f=529011}}while(0);d=c<<24>>24;if(!(l[f+((c&255)>>>3)>>0]&1<<(d&7)))n=17;else{c=d;d=0;do{d=ha(d,a)|0;d=(l[529043+c>>0]|0)+d|0;b=b+1|0;s=i[b>>0]|0;c=s<<24>>24}while((1<<(c&7)&l[f+((s&255)>>>3)>>0]|0)!=0);k[t+48>>2]=d;k[e+4>>2]=d;if(!d){d=t+48|0;n=19}else if(d>>>0>1114111){k[v>>2]=6;c=e;d=6;break b}}}while(0);if((n|0)==17){k[t+48>>2]=0;k[e+4>>2]=0;d=t+48|0;n=19}if((n|0)==19){k[d>>2]=64;d=64}d=WTa(u,36,0,d,0,v)|0;k[t+56>>2]=d;d=k[v>>2]|0;if(d|0){c=e;break b}k[e>>2]=k[e>>2]|32;break c}while(0);k[v>>2]=180;c=e;d=180;break b}else{g:do if(!(Dmb(a,529195,7)|0)){switch(i[a+7>>0]|0){case 9:case 13:case 10:case 0:case 32:break;default:break g}if(!(d&4032)){qnb(k[t+56>>2]|0,k[t+52>>2]|0,36,354);k[e>>2]=k[e>>2]&-2;break c}else{k[v>>2]=186;c=e;d=186;break b}}while(0);h:do if(!(Dmb(a,529203,7)|0)){switch(i[a+7>>0]|0){case 9:case 13:case 10:case 0:case 32:break;default:break h}k[e+28>>2]=0;k[e>>2]=d&-4033;break c}while(0);if(d&64|0)if((k[e+28>>2]|0)==-1)if(!(k[(k[e+36>>2]|0)+4>>2]|0))break;i:do if(!(Dmb(a,529211,9)|0)){switch(i[a+9>>0]|0){case 9:case 13:case 10:case 0:case 32:break;default:break i}YTa(u,k[e+24>>2]|0);k[e+24>>2]=0;d=jUa(e+139304|0,528976,a,b)|0;k[v>>2]=d;if(d|0){c=e;break b}b=k[e+139312>>2]|0;do if(b|0){if(b>>>0<2){k[e+139312>>2]=0;break}d=0;c=1;while(1){t=k[e+139304>>2]|0;k[t+(d<<2)>>2]=k[t+(c<<2)>>2];d=d+1|0;if((d|0)==(b+-1|0))break;else c=c+1|0}k[e+139312>>2]=b+-1;if(b+-1|0){c=k[k[e+139304>>2]>>2]|0;a=c;g=b+-1|0;h=0;f=0;while(1){d=i[a>>0]|0;if(!(d<<24>>24))d=g;else{b=f;while(1){a=a+1|0;f=b+1|0;i[c+b>>0]=d;d=i[a>>0]|0;if(!(d<<24>>24))break;else b=f}d=k[e+139312>>2]|0}b=h+1|0;if(b>>>0>>0){i[c+f>>0]=32;d=k[e+139312>>2]|0;f=f+1|0}if(b>>>0>=d>>>0)break;a=k[(k[e+139304>>2]|0)+(b<<2)>>2]|0;g=d;h=b}if((c|0)==1279174)c=1279174;else{i[c+f>>0]=0;if(!c)break}b=WTa(u,1,0,f+1|0,0,v)|0;k[e+24>>2]=b;d=k[v>>2]|0;if(d|0){c=e;break b}ABb(b|0,c|0,f+1|0)|0;k[e>>2]=k[e>>2]|64;break c}}while(0);k[v>>2]=3;c=e;d=3;break b}while(0);j:do if(!(Dmb(a,529221,8)|0)){switch(i[a+8>>0]|0){case 9:case 13:case 10:case 0:case 32:break;default:break j}if(!(d&64)){k[v>>2]=181;c=e;d=181;break b}d=jUa(e+139304|0,528976,a,b)|0;k[v>>2]=d;if(d|0){c=e;break b}h=k[e+139304>>2]|0;d=k[h+4>>2]|0;if(!d)d=0;else{g=i[d>>0]|0;if(!(g<<24>>24))d=0;else{d=g<<24>>24==45?d+1|0:d;c=i[d>>0]|0;k:do if(c<<24>>24==48){switch(i[d+1>>0]|0){case 88:case 120:break;default:{a=10;b=d;c=48;f=529011;break k}}a=16;b=d+2|0;c=i[d+2>>0]|0;f=528979}else{a=10;b=d;f=529011}while(0);d=c<<24>>24;if(!(l[f+((c&255)>>>3)>>0]&1<<(d&7)))d=0;else{c=d;d=0;do{d=ha(d,a)|0;d=(l[529043+c>>0]|0)+d|0;b=b+1|0;s=i[b>>0]|0;c=s<<24>>24}while((1<<(c&7)&l[f+((s&255)>>>3)>>0]|0)!=0)}d=g<<24>>24==45?0-d|0:d}}d=(d|0)<-1?-1:d;k[e+28>>2]=d;do if((d|0)==-1)if((k[e+139312>>2]|0)>>>0>2){d=k[h+8>>2]|0;if(d|0){g=i[d>>0]|0;if(g<<24>>24){d=g<<24>>24==45?d+1|0:d;c=i[d>>0]|0;l:do if(c<<24>>24==48){switch(i[d+1>>0]|0){case 88:case 120:break;default:{a=10;b=d;c=48;f=529011;break l}}a=16;b=d+2|0;c=i[d+2>>0]|0;f=528979}else{a=10;b=d;f=529011}while(0);d=c<<24>>24;if(!(l[f+((c&255)>>>3)>>0]&1<<(d&7)))d=0;else{c=d;d=0;do{d=ha(d,a)|0;d=(l[529043+c>>0]|0)+d|0;b=b+1|0;s=i[b>>0]|0;c=s<<24>>24}while((1<<(c&7)&l[f+((s&255)>>>3)>>0]|0)!=0)}d=g<<24>>24==45?0-d|0:d;k[e+28>>2]=d;if((d|0)>=-1){n=82;break}k[e+28>>2]=-1;n=93;break}}k[e+28>>2]=0;d=0;n=85}else n=93;else n=82;while(0);do if((n|0)==82)if((d|0)>0&d>>>0>1114111){k[v>>2]=3;c=e;d=3;break b}else if((d|0)>-1){n=85;break}else{n=93;break}while(0);do if((n|0)==85){c=e+40+(d>>5<<2)|0;b=k[c>>2]|0;d=1<<(d&31);if(b&d|0){k[e+28>>2]=-1;j[t+278660>>1]=1;n=93;break}k[c>>2]=b|d;b=k[e+28>>2]|0;if((b|0)>-1){d=k[t+52>>2]|0;if((d|0)==(k[t+48>>2]|0)){c=WTa(u,36,d,d+64|0,k[t+56>>2]|0,v)|0;k[t+56>>2]=c;d=k[v>>2]|0;if(d|0){c=e;break b}k[t+48>>2]=(k[t+48>>2]|0)+64;d=k[t+52>>2]|0;b=k[e+28>>2]|0}else c=k[t+56>>2]|0;k[t+52>>2]=d+1;k[c+(d*36|0)>>2]=k[e+24>>2];k[c+(d*36|0)+4>>2]=b;k[e+24>>2]=0}else n=93}while(0);if((n|0)==93){if(!(k[(k[e+36>>2]|0)+4>>2]|0)){YTa(u,k[e+24>>2]|0);k[e+24>>2]=0;d=e+24|0}else{d=k[t+64>>2]|0;if((d|0)==(k[t+60>>2]|0)){c=WTa(u,36,d,d+4|0,k[t+68>>2]|0,v)|0;k[t+68>>2]=c;d=k[v>>2]|0;if(d|0){c=e;break b}k[t+60>>2]=(k[t+60>>2]|0)+4;d=k[t+64>>2]|0}else c=k[t+68>>2]|0;k[c+(d*36|0)>>2]=k[e+24>>2];k[t+64>>2]=d+1;k[c+(d*36|0)+4>>2]=d;d=e+24|0}k[d>>2]=0}k[e>>2]=k[e>>2]&1073741695|128;break c}while(0);if((k[e+28>>2]|0)==-1)s=(k[t+68>>2]|0)+(((k[t+64>>2]|0)+-1|0)*36|0)|0;else s=(k[t+56>>2]|0)+(((k[t+52>>2]|0)+-1|0)*36|0)|0;if(d&2048|0){c=k[e+8>>2]|0;if(c>>>0>=(m[s+14>>1]|0)>>>0){if((d|0)<0)break;k[e>>2]=d|-2147483648;j[t+278660>>1]=1;break}f=k[s+28>>2]|0;b=(k[s+24>>2]|0)+(ha(f,c)|0)|0;d=0;m:while(1){c=d;while(1){if(c>>>0>=f<<1>>>0)break m;d=i[a+c>>0]|0;if(!(1<<(d&7)&l[528979+((d&255)>>>3)>>0])){n=115;break m}i[b>>0]=(l[b>>0]<<4)+(l[529043+(d<<24>>24)>>0]|0);d=c+1|0;if(d>>>0>=f<<1>>>0|(c&1|0)==0)c=d;else break}q=b+1|0;i[q>>0]=0;b=q}if((n|0)==115){d=k[e>>2]|0;if(!(d&1073741824)){k[e>>2]=d|1073741824;j[t+278660>>1]=1}}d=j[s+12>>1]|0;if(d<<16>>16){s=529230+((ha(m[(k[e+32>>2]|0)+278662>>1]|0,d&65535)|0)&7)|0;i[b>>0]=i[b>>0]&i[s>>0]}if((c|0)==(f<<1|0)){s=l[a+(f<<1)>>0]|0;if(1<<(s&7)&l[528979+(s>>>3)>>0]|0){d=k[e>>2]|0;if(!(d&1073741824)){k[e>>2]=d|1073741824;j[t+278660>>1]=1}}}k[e+8>>2]=(k[e+8>>2]|0)+1;break}n:do if(!(Dmb(a,529238,6)|0)){switch(i[a+6>>0]|0){case 9:case 13:case 10:case 0:case 32:break;default:{n=136;break n}}if(d&128|0){d=jUa(e+139304|0,528976,a,b)|0;k[v>>2]=d;if(d|0){c=e;break b}d=k[(k[e+139304>>2]|0)+4>>2]|0;o:do if(!d)d=0;else{c=i[d>>0]|0;p:do switch(c<<24>>24){case 0:{d=0;break o}case 48:{switch(i[d+1>>0]|0){case 88:case 120:break;default:{b=d;a=10;c=48;f=529011;break p}}b=d+2|0;a=16;c=i[d+2>>0]|0;f=528979;break}default:{b=d;a=10;f=529011}}while(0);d=c<<24>>24;if(!(l[f+((c&255)>>>3)>>0]&1<<(d&7)))d=0;else{c=d;d=0;do{d=ha(d,a)|0;d=(l[529043+c>>0]|0)+d|0;b=b+1|0;t=i[b>>0]|0;c=t<<24>>24}while((1<<(c&7)&l[f+((t&255)>>>3)>>0]|0)!=0);d=d&65535}}while(0);j[s+8>>1]=d;k[e>>2]=k[e>>2]|256;break c}}else n=136;while(0);q:do if((n|0)==136){r:do if(!(Dmb(a,529245,6)|0)){switch(i[a+6>>0]|0){case 9:case 13:case 10:case 0:case 32:break;default:break r}if(!(d&128))break q;d=jUa(e+139304|0,528976,a,b)|0;k[v>>2]=d;if(d|0){c=e;break b}d=k[(k[e+139304>>2]|0)+4>>2]|0;s:do if(!d)c=0;else{c=i[d>>0]|0;t:do switch(c<<24>>24){case 0:{c=0;break s}case 48:{switch(i[d+1>>0]|0){case 88:case 120:break;default:{b=d;a=10;c=48;f=529011;break t}}b=d+2|0;a=16;c=i[d+2>>0]|0;f=528979;break}default:{b=d;a=10;f=529011}}while(0);d=c<<24>>24;if(!(l[f+((c&255)>>>3)>>0]&1<<(d&7)))c=0;else{c=0;do{c=ha(c,a)|0;c=(l[529043+d>>0]|0)+c|0;b=b+1|0;q=i[b>>0]|0;d=q<<24>>24}while((1<<(d&7)&l[f+((q&255)>>>3)>>0]|0)!=0)}}while(0);j[s+10>>1]=c;d=k[e>>2]|0;if(!(d&256)){d=(S2a(c&65535,72e3,ha(k[t+20>>2]|0,k[t+16>>2]|0)|0)|0)&65535;j[s+8>>1]=d;d=k[e>>2]|0}k[e>>2]=d|512;break c}while(0);u:do if(!(Dmb(a,529252,3)|0)){switch(i[a+3>>0]|0){case 9:case 13:case 10:case 0:case 32:break;default:break u}if(!(d&128))break q;d=jUa(e+139304|0,528976,a,b)|0;k[v>>2]=d;if(d|0){c=e;break b}p=k[e+139304>>2]|0;d=k[p+4>>2]|0;v:do if(!d)q=0;else{c=i[d>>0]|0;w:do switch(c<<24>>24){case 0:{q=0;break v}case 48:{switch(i[d+1>>0]|0){case 88:case 120:break;default:{b=d;a=10;c=48;f=529011;break w}}b=d+2|0;a=16;c=i[d+2>>0]|0;f=528979;break}default:{b=d;a=10;f=529011}}while(0);d=c<<24>>24;if(!(l[f+((c&255)>>>3)>>0]&1<<(d&7))){q=0;break}else{c=d;d=0}do{d=ha(d&65535,a)|0;d=(l[529043+c>>0]|0)+d|0;b=b+1|0;q=i[b>>0]|0;c=q<<24>>24}while((1<<(c&7)&l[f+((q&255)>>>3)>>0]|0)!=0);q=d&65535}while(0);j[s+12>>1]=q;d=k[p+8>>2]|0;x:do if(!d)o=0;else{c=i[d>>0]|0;y:do switch(c<<24>>24){case 0:{o=0;break x}case 48:{switch(i[d+1>>0]|0){case 88:case 120:break;default:{b=d;a=10;c=48;f=529011;break y}}b=d+2|0;a=16;c=i[d+2>>0]|0;f=528979;break}default:{b=d;a=10;f=529011}}while(0);d=c<<24>>24;if(!(l[f+((c&255)>>>3)>>0]&1<<(d&7))){o=0;break}else{c=d;d=0}do{d=ha(d&65535,a)|0;d=(l[529043+c>>0]|0)+d|0;b=b+1|0;o=i[b>>0]|0;c=o<<24>>24}while((1<<(c&7)&l[f+((o&255)>>>3)>>0]|0)!=0);o=d&65535}while(0);j[s+14>>1]=o;d=k[p+12>>2]|0;do if(!d)n=0;else{h=i[d>>0]|0;if(!(h<<24>>24)){n=0;break}d=h<<24>>24==45?d+1|0:d;c=i[d>>0]|0;z:do if(c<<24>>24==48){switch(i[d+1>>0]|0){case 88:case 120:break;default:{g=10;b=d;c=48;a=529011;break z}}g=16;b=d+2|0;c=i[d+2>>0]|0;a=528979}else{g=10;b=d;a=529011}while(0);f=c<<24>>24;if(!(l[a+((c&255)>>>3)>>0]&1<<(f&7)))d=0;else{d=0;c=f;do{d=ha(d,g)|0;b=b+1|0;n=i[b>>0]|0;d=(l[529043+c>>0]|0)+d<<16>>16;c=n<<24>>24}while((1<<(c&7)&l[a+((n&255)>>>3)>>0]|0)!=0)}n=(h<<24>>24==45?0-d|0:d)&65535}while(0);j[s+16>>1]=n;d=k[p+16>>2]|0;do if(!d)d=0;else{h=i[d>>0]|0;if(!(h<<24>>24)){d=0;break}d=h<<24>>24==45?d+1|0:d;c=i[d>>0]|0;A:do if(c<<24>>24==48){switch(i[d+1>>0]|0){case 88:case 120:break;default:{g=10;b=d;c=48;a=529011;break A}}g=16;b=d+2|0;c=i[d+2>>0]|0;a=528979}else{g=10;b=d;a=529011}while(0);f=c<<24>>24;if(!(l[a+((c&255)>>>3)>>0]&1<<(f&7)))d=0;else{d=0;c=f;do{d=ha(d,g)|0;b=b+1|0;p=i[b>>0]|0;d=(l[529043+c>>0]|0)+d<<16>>16;c=p<<24>>24}while((1<<(c&7)&l[a+((p&255)>>>3)>>0]|0)!=0)}d=(h<<24>>24==45?0-d|0:d)&65535}while(0);j[s+18>>1]=d;d=d&65535;o=(o&65535)+d&65535;j[s+20>>1]=o;j[s+22>>1]=0-d;p=j[e+18>>1]|0;j[e+18>>1]=o<<16>>16>p<<16>>16?o:p;p=j[e+20>>1]|0;j[e+20>>1]=(0-d&65535)<<16>>16>p<<16>>16?0-d&65535:p;p=(n&65535)+(q&65535)|0;j[e+22>>1]=p;d=j[e+16>>1]|0;j[e+16>>1]=(p<<16>>16|0)>(d<<16>>16|0)?p&65535:d;d=k[e+12>>2]|0;j[e+12>>1]=n<<16>>16<(d&65535)<<16>>16?n:d&65535;j[e+14>>1]=n<<16>>16>(d>>>16&65535)<<16>>16?n:d>>>16&65535;d=k[e>>2]|0;if(!(d&512))j[s+10>>1]=q;do if(k[k[e+36>>2]>>2]|0){d=S2a(m[s+10>>1]|0,72e3,ha(k[t+20>>2]|0,k[t+16>>2]|0)|0)|0;c=s+8|0;if((j[c>>1]|0)==(d&65535)<<16>>16){d=k[e>>2]|0;break}j[c>>1]=d;if((k[e+28>>2]|0)==-1){s=(k[t+64>>2]|0)+-1|0;k[t+139396+(s>>>5<<2)>>2]=1<<(s&31)|k[t+139396+(s>>>5<<2)>>2]}else{s=k[s+4>>2]|0;k[t+132+(s>>5<<2)>>2]=1<<(s&31)|k[t+132+(s>>5<<2)>>2]}d=k[e>>2]|4096;k[e>>2]=d;j[t+278660>>1]=1}while(0);k[e>>2]=d|1024;break c}while(0);B:do if(!(Dmb(a,529256,6)|0)){switch(i[a+6>>0]|0){case 9:case 13:case 10:case 0:case 32:break;default:break B}if(!(d&1024)){k[v>>2]=183;c=e;d=183;break b}d=k[s+12>>2]|0;t=(ha(m[t+278662>>1]|0,d&65535)|0)+7|0;k[s+28>>2]=t>>>3;d=ha(t>>>3,d>>>16)|0;if(t>>>0>524287|d>>>0>65535){k[v>>2]=184;c=e;d=184;break b}j[s+32>>1]=d;d=WTa(u,1,0,d&65535,0,v)|0;k[s+24>>2]=d;d=k[v>>2]|0;if(d|0){c=e;break b}k[e+8>>2]=0;k[e>>2]=k[e>>2]|2048;break c}while(0);k[v>>2]=3;c=e;d=3;break b}while(0);k[v>>2]=182;c=e;d=182;break b}while(0);d=k[v>>2]|0;n=204}while(0);do if((n|0)==204)if(!d){e=0;r=v;return e|0}else{c=e;break}while(0);if(!(k[c>>2]&64)){e=d;r=v;return e|0}YTa(u,k[e+24>>2]|0);k[e+24>>2]=0;e=k[v>>2]|0;r=v;return e|0}function nUa(a,b){a=a|0;b=b|0;a=k[a+4>>2]|0;b=k[b+4>>2]|0;return ((a|0)<(b|0)?-1:(a|0)>(b|0)&1)|0}function oUa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(!a)return;f=k[a+278664>>2]|0;YTa(f,k[a>>2]|0);k[a>>2]=0;e=k[a+128>>2]|0;if(e|0){d=k[e+4>>2]|0;b=k[e+12>>2]|0;if(d){c=0;while(1){YTa(f,k[b>>2]|0);k[b>>2]=0;c=c+1|0;if((c|0)==(d|0))break;else b=b+4|0}b=k[e+12>>2]|0}YTa(f,b);k[e+12>>2]=0;YTa(f,k[a+128>>2]|0);k[a+128>>2]=0}YTa(f,k[a+84>>2]|0);k[a+84>>2]=0;b=k[a+72>>2]|0;if(b|0){d=0;do{c=k[a+80>>2]|0;if((k[c+(d<<4)+4>>2]|0)==1){YTa(f,k[c+(d<<4)+12>>2]|0);k[(k[a+80>>2]|0)+(d<<4)+12>>2]=0;b=k[a+72>>2]|0}d=d+1|0}while(d>>>0>>0)}YTa(f,k[a+80>>2]|0);k[a+80>>2]=0;if(k[a+52>>2]|0){b=k[a+56>>2]|0;c=0;while(1){YTa(f,k[b>>2]|0);k[b>>2]=0;e=b+24|0;YTa(f,k[e>>2]|0);k[e>>2]=0;c=c+1|0;if(c>>>0>=(k[a+52>>2]|0)>>>0)break;else b=b+36|0}}if(k[a+64>>2]|0){b=k[a+68>>2]|0;c=0;while(1){YTa(f,k[b>>2]|0);k[b>>2]=0;e=b+24|0;YTa(f,k[e>>2]|0);k[e>>2]=0;c=c+1|0;if(c>>>0>=(k[a+64>>2]|0)>>>0)break;else b=b+36|0}}YTa(f,k[a+56>>2]|0);k[a+56>>2]=0;YTa(f,k[a+68>>2]|0);k[a+68>>2]=0;b=k[a+104>>2]|0;if(k[a+112>>2]|0){c=0;while(1){YTa(f,k[b>>2]|0);k[b>>2]=0;e=b+24|0;YTa(f,k[e>>2]|0);k[e>>2]=0;c=c+1|0;if(c>>>0>=(k[a+112>>2]|0)>>>0)break;else b=b+36|0}b=k[a+104>>2]|0}YTa(f,b);k[a+104>>2]=0;d=k[a+278680>>2]|0;b=k[a+278688>>2]|0;if(d){c=0;while(1){YTa(f,k[b>>2]|0);k[b>>2]=0;c=c+1|0;if((c|0)==(d|0))break;else b=b+4|0}b=k[a+278688>>2]|0}YTa(f,b);k[a+278688>>2]=0;b=k[a+278668>>2]|0;if(k[a+278672>>2]|0){c=0;while(1){YTa(f,k[b>>2]|0);k[b>>2]=0;if((k[b+4>>2]|0)==1){e=b+12|0;YTa(f,k[e>>2]|0);k[e>>2]=0}c=c+1|0;if(c>>>0>=(k[a+278672>>2]|0)>>>0)break;else b=b+16|0}b=k[a+278668>>2]|0}YTa(f,b);k[a+278668>>2]=0;return}function pUa(a){a=a|0;var b=0;if(!a)return;b=k[a+100>>2]|0;oUa(k[a+140>>2]|0);YTa(b,k[a+144>>2]|0);k[a+144>>2]=0;YTa(b,k[a+132>>2]|0);k[a+132>>2]=0;YTa(b,k[a+136>>2]|0);k[a+136>>2]=0;YTa(b,k[a+20>>2]|0);k[a+20>>2]=0;YTa(b,k[a+24>>2]|0);k[a+24>>2]=0;YTa(b,k[a+32>>2]|0);k[a+32>>2]=0;YTa(b,k[a+140>>2]|0);k[a+140>>2]=0;return}function qUa(a,b){a=a|0;b=b|0;b=k[a>>2]|0;k[a+16>>2]=k[(k[b+140>>2]|0)+52>>2];k[a+20>>2]=k[b+144>>2];return 0}function rUa(a){a=a|0;k[a+20>>2]=0;k[a+16>>2]=0;return}function sUa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=k[a+20>>2]|0;a=k[a+16>>2]|0;if(!a){g=0;return g|0}else e=0;while(1){c=(e+a|0)>>>1;d=k[f+(c<<3)>>2]|0;if((d|0)==(b|0))break;a=d>>>0>b>>>0?c:a;e=d>>>0>b>>>0?e:c+1|0;if(e>>>0>=a>>>0){a=0;g=5;break}}if((g|0)==5)return a|0;g=(m[f+(c<<3)+4>>1]|0)+1&65535;return g|0}function tUa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=k[a+20>>2]|0;f=(k[b>>2]|0)+1|0;g=k[a+16>>2]|0;a:do if(!g)a=0;else{e=g;a=0;while(1){d=(a+e|0)>>>1;c=k[h+(d<<3)>>2]|0;if((f|0)==(c|0))break;e=f>>>0>>0?d:e;a=f>>>0>>0?a:d+1|0;if(a>>>0>=e>>>0)break a}g=f;h=(m[h+(d<<3)+4>>1]|0)+1|0;k[b>>2]=g;b=h&65535;return b|0}while(0);if(a>>>0>=g>>>0){g=0;h=0;k[b>>2]=g;b=h&65535;return b|0}g=k[h+(a<<3)>>2]|0;h=(m[h+(a<<3)+4>>1]|0)+1|0;k[b>>2]=g;b=h&65535;return b|0}function uUa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,l=0,n=0,o=0;f=k[b>>2]|0;d=k[f+140>>2]|0;g=m[d+278662>>1]|0;if(!f){a=35;return a|0}if((k[f+16>>2]|0)>>>0<=c>>>0){a=6;return a|0}if(!c)e=k[f+164>>2]|0;else e=c+-1|0;o=k[d+56>>2]|0;d=j[o+(e*36|0)+10>>1]|0;n=j[o+(e*36|0)+12>>1]|0;b=j[o+(e*36|0)+16>>1]|0;c=j[o+(e*36|0)+20>>1]|0;h=k[o+(e*36|0)+24>>2]|0;l=k[o+(e*36|0)+28>>2]|0;k[a+76>>2]=m[o+(e*36|0)+14>>1];k[a+80>>2]=n&65535;k[a+84>>2]=l;_Ra(a,h);switch(g|0){case 1:{i[a+94>>0]=1;break}case 2:{i[a+94>>0]=3;break}case 4:{i[a+94>>0]=4;break}case 8:{i[a+94>>0]=2;j[a+92>>1]=256;break}default:{}}k[a+72>>2]=1651078259;k[a+100>>2]=b<<16>>16;k[a+104>>2]=c<<16>>16;k[a+40>>2]=(d&65535)<<6;k[a+32>>2]=b<<16>>16<<6;k[a+36>>2]=c<<16>>16<<6;k[a+24>>2]=k[a+80>>2]<<6;k[a+28>>2]=k[a+76>>2]<<6;uSa(a+24|0,(m[(k[f+140>>2]|0)+6>>1]|0)<<6);o=0;return o|0}function vUa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=k[a>>2]|0;f=k[e+140>>2]|0;d=k[b+16>>2]|0;c=k[b+8>>2]|0;if(d)c=((ha(c,d)|0)+36|0)/72|0;c=c+32>>6;a:do switch(k[b>>2]|0){case 0:if((c|0)==((k[(k[e+32>>2]|0)+12>>2]|0)+32>>6|0)){c=f+44|0;d=f+40|0;break a}else{a=23;return a|0}case 1:{if((c|0)==((k[f+44>>2]|0)+(k[f+40>>2]|0)|0)){c=f+44|0;d=f+40|0}else{a=23;return a|0}break}default:{a=7;return a|0}}while(0);vSa(e,0);k[a+24>>2]=k[d>>2]<<6;k[a+28>>2]=0-(k[c>>2]|0)<<6;k[a+36>>2]=(m[f+4>>1]|0)<<6;a=0;return a|0}function wUa(a,b){a=a|0;b=b|0;var c=0,d=0;d=k[a>>2]|0;c=k[d+140>>2]|0;vSa(d,b);k[a+24>>2]=k[c+40>>2]<<6;k[a+28>>2]=0-(k[c+44>>2]|0)<<6;k[a+36>>2]=(m[c+4>>1]|0)<<6;return 0}function xUa(a){a=a|0;k[a+28>>2]=1;i[a+32>>0]=0;k[a+36>>2]=500;k[a+40>>2]=400;k[a+44>>2]=1e3;k[a+48>>2]=275;k[a+52>>2]=1667;k[a+56>>2]=275;k[a+60>>2]=2333;k[a+64>>2]=0;return 0}function yUa(a){a=a|0;return}function zUa(a,b){a=a|0;b=b|0;var c=0;c=URa(48032,b)|0;if(c|0){b=c;return b|0}if(!a){b=0;return b|0}c=k[a+4>>2]|0;if(!c){b=0;return b|0}c=qSa(c,590464)|0;if(!c){b=0;return b|0}b=gj[k[(k[c>>2]|0)+32>>2]&511](c,b)|0;return b|0}function AUa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=r;r=r+16|0;e=k[a+656>>2]|0;k[f>>2]=0;if(!e){b=0;r=f;return b|0}c=k[e+2960>>2]|0;if(!c){c=UTa(k[a+100>>2]|0,32,f)|0;a=k[f>>2]|0;if(a|0){b=a;r=f;return b|0}a=k[e+1324>>2]|0;do if((a|0)==65535)a=0;else if(a>>>0>390){if((k[e+1312>>2]|0)>>>0<=(a+-391|0)>>>0){a=0;break}a=k[(k[e+1316>>2]|0)+(a+-391<<2)>>2]|0;break}else{d=k[e+2956>>2]|0;if(!d){a=0;break}a=Gi[k[d+20>>2]&2047](a)|0;break}while(0);k[c>>2]=a;a=k[e+1328>>2]|0;do if((a|0)==65535)a=0;else if(a>>>0>390){if((k[e+1312>>2]|0)>>>0<=(a+-391|0)>>>0){a=0;break}a=k[(k[e+1316>>2]|0)+(a+-391<<2)>>2]|0;break}else{d=k[e+2956>>2]|0;if(!d){a=0;break}a=Gi[k[d+20>>2]&2047](a)|0;break}while(0);k[c+4>>2]=a;a=k[e+1336>>2]|0;do if((a|0)==65535)a=0;else if(a>>>0>390){if((k[e+1312>>2]|0)>>>0<=(a+-391|0)>>>0){a=0;break}a=k[(k[e+1316>>2]|0)+(a+-391<<2)>>2]|0;break}else{d=k[e+2956>>2]|0;if(!d){a=0;break}a=Gi[k[d+20>>2]&2047](a)|0;break}while(0);k[c+8>>2]=a;a=k[e+1340>>2]|0;do if((a|0)==65535)a=0;else if(a>>>0>390){if((k[e+1312>>2]|0)>>>0<=(a+-391|0)>>>0){a=0;break}a=k[(k[e+1316>>2]|0)+(a+-391<<2)>>2]|0;break}else{d=k[e+2956>>2]|0;if(!d){a=0;break}a=Gi[k[d+20>>2]&2047](a)|0;break}while(0);k[c+12>>2]=a;a=k[e+1344>>2]|0;do if((a|0)==65535)a=0;else if(a>>>0>390){if((k[e+1312>>2]|0)>>>0<=(a+-391|0)>>>0){a=0;break}a=k[(k[e+1316>>2]|0)+(a+-391<<2)>>2]|0;break}else{d=k[e+2956>>2]|0;if(!d){a=0;break}a=Gi[k[d+20>>2]&2047](a)|0;break}while(0);k[c+16>>2]=a;k[c+20>>2]=k[e+1352>>2];i[c+24>>0]=i[e+1348>>0]|0;j[c+26>>1]=k[e+1356>>2];j[c+28>>1]=k[e+1360>>2];k[e+2960>>2]=c;a=k[f>>2]|0}else a=0;k[b>>2]=k[c>>2];k[b+4>>2]=k[c+4>>2];k[b+8>>2]=k[c+8>>2];k[b+12>>2]=k[c+12>>2];k[b+16>>2]=k[c+16>>2];k[b+20>>2]=k[c+20>>2];k[b+24>>2]=k[c+24>>2];k[b+28>>2]=k[c+28>>2];b=a;r=f;return b|0}function BUa(a){a=a|0;return (k[a+8>>2]|0)>>>9&1|0}function CUa(a){a=a|0;var b=0,c=0;c=k[a+656>>2]|0;if(k[a+532>>2]|0){b=LSa(qSa(k[(k[a+96>>2]|0)+4>>2]|0,590464)|0,591612)|0;if(b|0){b=k[b>>2]|0;if(b|0){a=Gi[b&2047](a)|0;return a|0}}}a=k[c+1304>>2]|0;return a|0}function DUa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=k[a+656>>2]|0;f=k[e+2956>>2]|0;if(!f){d=11;return d|0}a=j[(k[e+1160>>2]|0)+(b<<1)>>1]|0;if(a<<16>>16==-1){d=0;return d|0}do if((a&65535)>390)if((k[e+1312>>2]|0)>>>0>((a&65535)+-391|0)>>>0){a=k[(k[e+1316>>2]|0)+((a&65535)+-391<<2)>>2]|0;break}else{d=0;return d|0}else a=Gi[k[f+20>>2]&2047](a&65535)|0;while(0);if(!a){d=0;return d|0}_Ta(c,a,d)|0;d=0;return d|0}function EUa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=k[a+656>>2]|0;d=LSa(k[a+96>>2]|0,591657)|0;if(!d){f=0;return f|0}if(!(k[e+12>>2]|0)){f=0;return f|0}a=0;while(1){c=j[(k[e+1160>>2]|0)+(a<<1)>>1]|0;if((c&65535)>390){if((k[e+1312>>2]|0)>>>0>((c&65535)+-391|0)>>>0){c=k[(k[e+1316>>2]|0)+((c&65535)+-391<<2)>>2]|0;f=8}}else{c=Gi[k[d+20>>2]&2047](c&65535)|0;f=8}if((f|0)==8){f=0;if(c|0)if(!(Wmb(b,c)|0)){f=11;break}}a=a+1|0;if(a>>>0>=(k[e+12>>2]|0)>>>0){a=0;f=11;break}}if((f|0)==11)return a|0;return 0}function FUa(a,b){a=a|0;b=b|0;var c=0,d=0;c=k[(k[(k[a>>2]|0)+96>>2]|0)+4>>2]|0;k[b>>2]=0;k[b+4>>2]=0;d=k[a+12>>2]|0;if((d|0)==48132|(d|0)==48172){d=0;return d|0}c=LSa(qSa(c,590464)|0,590366)|0;if(!c){d=0;return d|0}c=k[c>>2]|0;if(!c){d=0;return d|0}d=gj[c&511](a,b)|0;return d|0}function GUa(a,b){a=a|0;b=b|0;k[a+16>>2]=(k[(k[a>>2]|0)+656>>2]|0)+640;return 0}function HUa(a){a=a|0;k[a+16>>2]=0;return}function IUa(a,b){a=a|0;b=b|0;if(b>>>0>=256){a=0;return a|0}a=m[(k[a+16>>2]|0)+(b<<1)>>1]|0;return a|0}function JUa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=k[b>>2]|0;k[b>>2]=0;if(c>>>0>=255){e=0;return e|0}d=c;c=0;while(1){d=d+1|0;if(d>>>0>255){e=6;break}c=j[(k[a+16>>2]|0)+(d<<1)>>1]|0;if(!(c<<16>>16))c=c&65535;else break}if((e|0)==6)return c|0;k[b>>2]=d;e=c&65535;return e|0}function KUa(a,b){a=a|0;b=b|0;var c=0;b=k[a>>2]|0;c=k[b+656>>2]|0;if(!(k[c+1160>>2]|0)){a=163;return a|0}a=Ei[k[(k[c+2956>>2]|0)+4>>2]&63](k[b+100>>2]|0,a,k[c+12>>2]|0,355,0,b)|0;return a|0}function LUa(a,b){a=a|0;b=b|0;a=k[a+656>>2]|0;b=j[(k[a+1160>>2]|0)+(b<<1)>>1]|0;if(b<<16>>16==-1){b=0;return b|0}if((b&65535)>390){if((k[a+1312>>2]|0)>>>0<=((b&65535)+-391|0)>>>0){b=0;return b|0}b=k[(k[a+1316>>2]|0)+((b&65535)+-391<<2)>>2]|0;return b|0}else{a=k[a+2956>>2]|0;if(!a){b=0;return b|0}b=Gi[k[a+20>>2]&2047](b&65535)|0;return b|0}return 0}function MUa(a){a=a|0;YTa(k[(k[a>>2]|0)+100>>2]|0,k[a+20>>2]|0);k[a+20>>2]=0;k[a+16>>2]=0;return}function NUa(a,b){a=a|0;b=b|0;return gj[k[(k[(k[(k[a>>2]|0)+656>>2]|0)+2956>>2]|0)+8>>2]&511](a,b)|0}function OUa(a,b){a=a|0;b=b|0;return gj[k[(k[(k[(k[a>>2]|0)+656>>2]|0)+2956>>2]|0)+12>>2]&511](a,b)|0}function PUa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=k[a+656>>2]|0;if(!f){d=0;return d|0}e=k[f+1456>>2]|0;if((e|0)==65535){d=6;return d|0}if(b|0){a=k[f+2964>>2]|0;if(!a){if(e>>>0>390)if((k[f+1312>>2]|0)>>>0>(e+-391|0)>>>0)a=k[(k[f+1316>>2]|0)+(e+-391<<2)>>2]|0;else a=0;else{a=k[f+2956>>2]|0;if(!a)a=0;else a=Gi[k[a+20>>2]&2047](e)|0}k[f+2964>>2]=a}k[b>>2]=a}if(c|0){a=k[f+2968>>2]|0;if(!a){a=k[f+1460>>2]|0;do if((a|0)==65535)a=0;else if(a>>>0>390){if((k[f+1312>>2]|0)>>>0<=(a+-391|0)>>>0){a=0;break}a=k[(k[f+1316>>2]|0)+(a+-391<<2)>>2]|0;break}else{e=k[f+2956>>2]|0;if(!e){a=0;break}a=Gi[k[e+20>>2]&2047](a)|0;break}while(0);k[f+2968>>2]=a}k[c>>2]=a}if(!d){d=0;return d|0}k[d>>2]=k[f+1464>>2];d=0;return d|0}function QUa(a,b){a=a|0;b=b|0;a=k[a+656>>2]|0;i[b>>0]=0;if(!a)return 0;if((k[a+1456>>2]|0)==65535)return 0;i[b>>0]=1;return 0}function RUa(a,b,c){a=a|0;b=b|0;c=c|0;a=k[a+656>>2]|0;if(!a){b=0;return b|0}if((k[a+1456>>2]|0)==65535){b=6;return b|0}if((k[a+12>>2]|0)>>>0>>0){b=6;return b|0}if(!c){b=0;return b|0}k[c>>2]=m[(k[a+1160>>2]|0)+(b<<1)>>1];b=0;return b|0}function SUa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0;if(!(Wmb(b,529316)|0)){g=k[c>>2]|0;h=k[c+4>>2]|0;j=k[c+8>>2]|0;l=k[c+12>>2]|0;d=k[c+16>>2]|0;e=k[c+20>>2]|0;f=k[c+24>>2]|0;b=k[c+28>>2]|0;if((j|0)>(d|0)|((g|0)>(j|0)?1:(h|g|j|l|d|e|f|b|0)<0)){a=6;return a|0}if((b|0)>500|((e|0)>500|((l|0)>500|((h|0)>500|(d|0)>(f|0))))){a=6;return a|0}k[a+36>>2]=g;k[a+40>>2]=h;k[a+44>>2]=j;k[a+48>>2]=l;k[a+52>>2]=d;k[a+56>>2]=e;k[a+60>>2]=f;k[a+64>>2]=b;a=0;return a|0}if(!(Wmb(b,529337)|0)){if((k[c>>2]|0)!=1){a=7;return a|0}k[a+28>>2]=1;a=0;return a|0}else{if(Wmb(b,529352)|0){a=12;return a|0}i[a+32>>0]=i[c>>0]|0;a=0;return a|0}return 0}function TUa(a,b,c){a=a|0;b=b|0;c=c|0;if(!(Wmb(b,529316)|0)){k[c>>2]=k[a+36>>2];k[c+4>>2]=k[a+40>>2];k[c+8>>2]=k[a+44>>2];k[c+12>>2]=k[a+48>>2];k[c+16>>2]=k[a+52>>2];k[c+20>>2]=k[a+56>>2];k[c+24>>2]=k[a+60>>2];k[c+28>>2]=k[a+64>>2];c=0;return c|0}if(!(Wmb(b,529337)|0)){k[c>>2]=k[a+28>>2];c=0;return c|0}if(Wmb(b,529352)|0){c=12;return c|0}i[c>>0]=i[a+32>>0]|0;c=0;return c|0}function UUa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=r;r=r+96|0;h=k[(k[b+96>>2]|0)+4>>2]|0;f=KSa(h,590464)|0;if(!f){k[B>>2]=11;b=11;r=B;return b|0}v=LSa(k[b+96>>2]|0,591657)|0;w=KSa(h,591214)|0;g=pTa(a,0)|0;k[B>>2]=g;if(g|0){b=g;r=B;return b|0}A=Ni[k[f+4>>2]&127](a,b,c,d,e)|0;k[B>>2]=A;do if(!A){if((k[b+148>>2]|0)!=1330926671){k[B>>2]=2;b=2;r=B;return b|0}if((c|0)<0){b=0;r=B;return b|0}A=nj[k[b+508>>2]&127](b,1751474532,a,0)|0;k[B>>2]=A;if(!A){f=Ni[k[f+8>>2]&127](a,b,c,d,e)|0;k[B>>2]=f;if(!f)g=0;else{b=f;r=B;return b|0}}else{f=gj[k[f+32>>2]&511](b,a)|0;k[B>>2]=f;if(!f)g=1;else{b=f;r=B;return b|0}}f=nj[k[b+508>>2]&127](b,1128678944,a,0)|0;k[B>>2]=f;if(!f)z=1;else{b=f;r=B;return b|0}}else{f=pTa(a,0)|0;k[B>>2]=f;if(!f){k[B>>2]=0;g=1;z=0;break}else{b=f;r=B;return b|0}}while(0);y=k[b+100>>2]|0;A=UTa(y,2980,B)|0;f=k[B>>2]|0;if(f|0){b=f;r=B;return b|0}k[b+656>>2]=A;d=k[a+28>>2]|0;vBb(A|0,0,2980)|0;k[B+8>>2]=0;k[B+8+4>>2]=0;k[B+8+8>>2]=0;k[B+8+12>>2]=0;k[B+8+16>>2]=0;k[B+8+20>>2]=0;k[B+8+24>>2]=0;k[B+8+28>>2]=0;k[A>>2]=a;k[A+4>>2]=d;t=rTa(a)|0;u=KTa(a,168096,A)|0;k[B+40>>2]=u;a:do if(!u){f=k[A+16>>2]|0;if((f&255)<<24>>24==1)if(!((f>>>16&255)<4|(f>>>24&255)>4)){u=qTa(a,(f>>>16&255)+-4|0)|0;k[B+40>>2]=u;if(u|0)break;u=VUa(A+20|0,a,0)|0;k[B+40>>2]=u;if(u|0)break;u=VUa(A+1208|0,a,0)|0;k[B+40>>2]=u;if(u|0)break;u=VUa(B+8|0,a,1)|0;k[B+40>>2]=u;if(u|0)break;u=VUa(A+84|0,a,1)|0;k[B+40>>2]=u;if(u|0)break;u=WUa(B+8|0,A+1316|0,A+1320|0)|0;k[B+40>>2]=u;if(u|0)break;k[A+1312>>2]=k[B+8+8>>2];s=g<<24>>24==0;f=k[A+28>>2]|0;do if(s)if(f>>>0>1){k[B+40>>2]=3;break a}else u=0;else if(f>>>0>c>>>0){k[A+8>>2]=f;u=c;break}else{k[B+40>>2]=6;break a}while(0);if((c|0)<0)break;q=XUa(A+1324|0,A+1208|0,u,a,t,h)|0;k[B+40>>2]=q;if(q|0)break;q=pTa(a,(k[A+1436>>2]|0)+t|0)|0;k[B+40>>2]=q;if(q|0)break;q=VUa(A+1176|0,a,0)|0;k[B+40>>2]=q;if(q|0)break;b:do if((k[A+1456>>2]|0)==65535)k[A+1896>>2]=0;else{q=pTa(a,(k[A+1488>>2]|0)+t|0)|0;k[B+40>>2]=q;do if(!q){q=VUa(B+48|0,a,0)|0;k[B+40>>2]=q;if(q|0)break;f=k[B+48+8>>2]|0;c:do if(f>>>0>256)f=0;else{k[A+1896>>2]=f;e=WTa(d,572,0,f,0,B+40|0)|0;f=k[B+40>>2]|0;if(f|0)break;f=k[B+48+8>>2]|0;if(f|0){d=0;do{k[A+1900+(d<<2)>>2]=e+(d*572|0);d=d+1|0}while((d|0)!=(f|0));d=0;do{f=XUa(k[A+1900+(d<<2)>>2]|0,B+48|0,d,a,t,h)|0;k[B+40>>2]=f;d=d+1|0;if(f|0)break c}while(d>>>0<(k[B+48+8>>2]|0)>>>0)}f=k[A+1184>>2]|0;d=pTa(a,(k[A+1492>>2]|0)+t|0)|0;k[B+80>>2]=d;d:do if(!d){d=ETa(a,B+80|0)|0;e=k[B+80>>2]|0;if(e|0){f=e;break}i[A+2924>>0]=d;k[A+2944>>2]=0;e:do switch(d&255|0){case 0:{k[A+2936>>2]=f;break}case 3:{d=FTa(a,B+80|0)|0;f=k[B+80>>2]|0;if(f|0)break d;if(!(d<<16>>16)){k[B+80>>2]=3;f=3;break d}else{k[A+2936>>2]=((d&65535)*3|0)+2;f=((d&65535)*3|0)+2|0;break e}}default:{k[B+80>>2]=3;f=3;break d}}while(0);f=vTa(a,f,A+2932|0)|0;k[B+80>>2]=f}else f=d;while(0);k[B+40>>2]=f}while(0);d=k[B+48>>2]|0;if(d){f=k[d+28>>2]|0;if(k[B+48+28>>2]|0)xTa(d,B+48+28|0);YTa(f,k[B+48+24>>2]|0);k[B+48>>2]=0;k[B+48+4>>2]=0;k[B+48+8>>2]=0;k[B+48+12>>2]=0;k[B+48+16>>2]=0;k[B+48+20>>2]=0;k[B+48+24>>2]=0;k[B+48+28>>2]=0;f=k[B+40>>2]|0}if(f|0)break;break b}while(0);break a}while(0);if(!(k[A+1436>>2]|0)){k[B+40>>2]=3;break}k[A+12>>2]=k[A+1184>>2];q=WUa(A+84|0,A+1308|0,0)|0;k[B+40>>2]=q;if(q|0)break;p=k[A+12>>2]|0;f:do if(p|0){o=(k[A+1456>>2]|0)==65535;f=k[A+1428>>2]|0;q=k[a+28>>2]|0;k[B+48>>2]=0;g:do if(f>>>0>2){k[A+1156>>2]=f+t;x=pTa(a,f+t|0)|0;k[B+48>>2]=x;if(x|0){f=A+1156|0;x=114;break}x=(ETa(a,B+48|0)|0)&255;k[A+1152>>2]=x;if(k[B+48>>2]|0){f=A+1156|0;x=114;break}f=WTa(q,2,0,p,0,B+48|0)|0;k[A+1160>>2]=f;if(k[B+48>>2]|0){f=A+1156|0;x=114;break}j[f>>1]=0;switch(k[A+1152>>2]|0){case 0:{x=wTa(a,(p<<1)+-2|0)|0;k[B+48>>2]=x;if(x|0){f=A+1156|0;x=114;break g}if(p>>>0>1){f=1;do{x=ATa(a)|0;j[(k[A+1160>>2]|0)+(f<<1)>>1]=x;f=f+1|0}while((f|0)!=(p|0))}yTa(a);x=100;break g}case 2:case 1:{if(p>>>0>1)f=1;else{x=100;break g}while(1){e=FTa(a,B+48|0)|0;if(k[B+48>>2]|0){f=A+1156|0;x=114;break g}if((k[A+1152>>2]|0)==2){d=(FTa(a,B+48|0)|0)&65535;if(k[B+48>>2]|0){f=A+1156|0;x=114;break g}}else{d=(ETa(a,B+48|0)|0)&255;if(k[B+48>>2]|0){f=A+1156|0;x=114;break g}}h=(e&65535)>>>0>(d^65535)>>>0?e&65535^65535:d;if(f>>>0

>>0){n=k[A+1160>>2]|0;d=0;while(1){j[n+(f<<1)>>1]=e;d=d+1|0;f=f+1|0;if(d>>>0>h>>>0|f>>>0>=p>>>0)break;else e=e+1<<16>>16}}if(f>>>0>=p>>>0){x=100;break}}break}default:{k[B+48>>2]=3;f=A+1156|0;x=114;break g}}}else{k[A+1156>>2]=f;switch(f|0){case 0:{if(p>>>0>229){k[B+48>>2]=3;f=A+1156|0;x=114;break g}f=WTa(q,2,0,p,0,B+48|0)|0;k[A+1160>>2]=f;if(k[B+48>>2]|0){f=A+1156|0;x=114;break g}ABb(f|0,168120,p<<1|0)|0;x=100;break g}case 1:{if(p>>>0>166){k[B+48>>2]=3;f=A+1156|0;x=114;break g}f=WTa(q,2,0,p,0,B+48|0)|0;k[A+1160>>2]=f;if(k[B+48>>2]|0){f=A+1156|0;x=114;break g}ABb(f|0,168578,p<<1|0)|0;x=100;break g}case 2:{if(p>>>0>87){k[B+48>>2]=3;f=A+1156|0;x=114;break g}f=WTa(q,2,0,p,0,B+48|0)|0;k[A+1160>>2]=f;if(k[B+48>>2]|0){f=A+1156|0;x=114;break g}ABb(f|0,168910,p<<1|0)|0;x=100;break g}default:{k[B+48>>2]=3;f=A+1156|0;x=114;break g}}}while(0);do if((x|0)==100){if(s|o)f=k[B+48>>2]|0;else{k[B+80>>2]=0;do if(!(k[A+1168>>2]|0)){d=k[A+1160>>2]|0;e=0;f=0;while(1){h=j[d+(e<<1)>>1]|0;h=(h&65535)>(f&65535)?h:f;e=e+1|0;if((e|0)==(p|0))break;else f=h}e=WTa(q,2,0,(h&65535)+1|0,0,B+80|0)|0;k[A+1164>>2]=e;f=k[B+80>>2]|0;if(f|0)break;if((p|0)>0){f=k[A+1160>>2]|0;d=p;do{s=d;d=d+-1|0;j[e+(m[f+(d<<1)>>1]<<1)>>1]=d}while((s|0)>1)}k[A+1168>>2]=h&65535;k[A+1172>>2]=p;f=0}else f=0;while(0);k[B+48>>2]=f}if(!f){k[B+40>>2]=0;break}else{f=A+1156|0;x=114;break}}while(0);if((x|0)==114){YTa(q,k[A+1160>>2]|0);k[A+1160>>2]=0;YTa(q,k[A+1164>>2]|0);k[A+1164>>2]=0;k[A+1152>>2]=0;k[f>>2]=0;k[A+1160>>2]=0;s=k[B+48>>2]|0;k[B+40>>2]=s;if(s|0)break a}if((k[A+1456>>2]|0)!=65535)break;q=k[A+12>>2]|0;f=k[A+1432>>2]|0;k[B+48>>2]=0;h:do if(!(k[A+1160>>2]|0)){k[B+48>>2]=3;f=3}else{d=0;do{j[A+128+(d<<1)>>1]=0;j[A+640+(d<<1)>>1]=0;d=d+1|0}while((d|0)!=256);i:do if(f>>>0>1){k[A+120>>2]=f+t;f=pTa(a,f+t|0)|0;k[B+48>>2]=f;if(f|0)break h;f=(ETa(a,B+48|0)|0)&255;k[A+116>>2]=f;f=k[B+48>>2]|0;if(f|0)break h;p=ETa(a,B+48|0)|0;f=k[B+48>>2]|0;if(f|0)break h;j:do switch(k[A+116>>2]&127|0){case 0:{k[A+124>>2]=(p&255)+1;f=wTa(a,p&255)|0;k[B+48>>2]=f;if(f|0)break h;if(p<<24>>24){d=1;e=k[a+32>>2]|0;while(1){f=l[e>>0]|0;if(d>>>0>>0){j[A+640+(f<<1)>>1]=d;j[A+128+(f<<1)>>1]=j[(k[A+1160>>2]|0)+(d<<1)>>1]|0}d=d+1|0;if(d>>>0>(p&255)>>>0)break;else e=e+1|0}}yTa(a);break}case 1:{k[A+124>>2]=0;if(!(p<<24>>24))break j;else{n=1;o=0}do{d=(ETa(a,B+48|0)|0)&255;f=k[B+48>>2]|0;if(f|0)break h;h=ETa(a,B+48|0)|0;f=k[B+48>>2]|0;if(f|0)break h;if(((h&255)+1|0)>>>0>(k[A+124>>2]|0)>>>0)k[A+124>>2]=(h&255)+1;e=n;n=(h&255)+1+n|0;if(e>>>0>>0){f=d;d=e;while(1){if(d>>>0>>0&f>>>0<256){j[A+640+(f<<1)>>1]=d;j[A+128+(f<<1)>>1]=j[(k[A+1160>>2]|0)+(d<<1)>>1]|0}d=d+1|0;if((d|0)==(e+1+(h&255)|0))break;else f=f+1|0}}o=o+1|0}while(o>>>0<(p&255)>>>0);if((k[A+124>>2]|0)>>>0<=256)break j;k[A+124>>2]=256;break}default:{k[B+48>>2]=3;f=3;break h}}while(0);do if(!(k[A+116>>2]&128))f=k[B+48>>2]|0;else{o=ETa(a,B+48|0)|0;f=k[B+48>>2]|0;if(!(o<<24>>24!=0&(f|0)==0))break;if(!q){h=0;while(1){e=(ETa(a,B+48|0)|0)&255;f=k[B+48>>2]|0;if(f|0)break h;d=FTa(a,B+48|0)|0;f=k[B+48>>2]|0;if(f|0)break h;j[A+128+(e<<1)>>1]=d;h=h+1|0;if(h>>>0>=(o&255)>>>0)break i}}else n=0;while(1){h=(ETa(a,B+48|0)|0)&255;f=k[B+48>>2]|0;if(f|0)break h;e=FTa(a,B+48|0)|0;f=k[B+48>>2]|0;if(f|0)break h;j[A+128+(h<<1)>>1]=e;d=k[A+1160>>2]|0;f=0;do{if((j[d+(f<<1)>>1]|0)==e<<16>>16){x=154;break}f=f+1|0}while(f>>>0>>0);if((x|0)==154){x=0;j[A+640+(h<<1)>>1]=f}n=n+1|0;if(n>>>0>=(o&255)>>>0)break i}}while(0);k[B+40>>2]=f;if(!f)break f;else break a}else{switch(f|0){case 0:{ABb(A+128|0,169084,512)|0;break}case 1:{ABb(A+128|0,169596,512)|0;break}default:{k[B+48>>2]=3;f=3;break h}}k[A+124>>2]=0;n=k[a+28>>2]|0;k[B+80>>2]=0;f=k[A+1168>>2]|0;if(!f){if(!q)f=0;else{d=k[A+1160>>2]|0;e=0;f=0;do{a=j[d+(e<<1)>>1]|0;f=(a&65535)>(f&65535)?a:f;e=e+1|0}while((e|0)!=(q|0))}h=f&65535;e=WTa(n,2,0,h+1|0,0,B+80|0)|0;k[A+1164>>2]=e;f=k[B+80>>2]|0;if(f|0){k[B+48>>2]=f;break h}if((q|0)>0){f=k[A+1160>>2]|0;d=q;do{a=d;d=d+-1|0;j[e+(m[f+(d<<1)>>1]<<1)>>1]=d}while((a|0)>1)}k[A+1168>>2]=h;k[A+1172>>2]=q;n=A+1164|0}else{n=A+1164|0;h=f}k[B+48>>2]=0;f=0;do{e=A+128+(f<<1)|0;d=j[e>>1]|0;do if(!(d<<16>>16))x=178;else{if(h>>>0<(d&65535)>>>0){x=178;break}d=j[(k[n>>2]|0)+((d&65535)<<1)>>1]|0;if(!(d<<16>>16)){x=178;break}j[A+640+(f<<1)>>1]=d;f=f+1|0;k[A+124>>2]=f}while(0);if((x|0)==178){x=0;j[A+640+(f<<1)>>1]=0;j[e>>1]=0;f=f+1|0}}while((f|0)!=256)}while(0);k[B+40>>2]=0;break f}while(0);k[B+40>>2]=f;break a}while(0);f=k[(k[A+20>>2]|0)+28>>2]|0;u=YUa(A+20|0,u,B+80|0,B+48|0)|0;k[B+44>>2]=u;do if(!u){d=k[B+48>>2]|0;f=UTa(f,d+1|0,B+44|0)|0;if(!(k[B+44>>2]|0)){ABb(f|0,k[B+80>>2]|0,d|0)|0;i[f+d>>0]=0}if(k[A+48>>2]|0)break;xTa(k[A+20>>2]|0,B+80|0)}else f=0;while(0);k[A+1304>>2]=f;break}k[B+40>>2]=2}while(0);f=k[B+8>>2]|0;if(f|0){d=k[f+28>>2]|0;if(k[B+8+28>>2]|0)xTa(f,B+8+28|0);YTa(d,k[B+8+24>>2]|0);k[B+8>>2]=0;k[B+8+4>>2]=0;k[B+8+8>>2]=0;k[B+8+12>>2]=0;k[B+8+16>>2]=0;k[B+8+20>>2]=0;k[B+8+24>>2]=0;k[B+8+28>>2]=0}f=k[B+40>>2]|0;k[B>>2]=f;if(f|0){b=f;r=B;return b|0}k[A+2952>>2]=w;k[A+2956>>2]=v;k[b+4>>2]=c;k[b+16>>2]=k[A+12>>2];if(!(v|0?1:(k[A+1456>>2]|0)!=65535)){k[B>>2]=11;b=11;r=B;return b|0}if(!(i[A+1388>>0]|0)){if(!(g<<24>>24))f=m[b+68>>1]|0;else f=1e3;k[A+1392>>2]=f;o=A+1392|0}else o=A+1392|0;f=k[A+1384>>2]|0;f=(f|0)<0?0-f|0:f;if((f|0)==65536){f=A+1400|0;d=A+1396|0;e=k[A+1400>>2]|0}else{e=V2a(k[o>>2]|0,f)|0;k[o>>2]=e;e=V2a(k[A+1372>>2]|0,f)|0;k[A+1372>>2]=e;e=V2a(k[A+1380>>2]|0,f)|0;k[A+1380>>2]=e;e=V2a(k[A+1376>>2]|0,f)|0;k[A+1376>>2]=e;e=V2a(k[A+1384>>2]|0,f)|0;k[A+1384>>2]=e;e=V2a(k[A+1396>>2]|0,f)|0;k[A+1396>>2]=e;e=V2a(k[A+1400>>2]|0,f)|0;k[A+1400>>2]=e;f=A+1400|0;d=A+1396|0}k[d>>2]=k[d>>2]>>16;k[f>>2]=e>>16;f=k[A+1896>>2]|0;if(f|0)do{f=f+-1|0;n=k[A+1900+(f<<2)>>2]|0;do if(!(i[n+64>>0]|0)){k[n+48>>2]=k[A+1372>>2];k[n+48+4>>2]=k[A+1372+4>>2];k[n+48+8>>2]=k[A+1372+8>>2];k[n+48+12>>2]=k[A+1372+12>>2];d=k[A+1396+4>>2]|0;k[n+72>>2]=k[A+1396>>2];k[n+72+4>>2]=d;k[n+68>>2]=k[o>>2];d=n+68|0}else{if(!(i[A+1388>>0]|0)){d=n+68|0;break}d=k[o>>2]|0;if(d>>>0>1){e=k[n+68>>2]|0;if(e>>>0>1)d=d>>>0>>0?d:e;else d=1}else d=1;X2a(A+1372|0,n+48|0,d);Y2a(n+72|0,A+1372|0,d);d=S2a(k[n+68>>2]|0,k[o>>2]|0,d)|0;k[n+68>>2]=d;d=n+68|0}while(0);e=k[n+60>>2]|0;e=(e|0)<0?0-e|0:e;if((e|0)==65536){e=n+72|0;h=n+76|0;d=k[n+76>>2]|0}else{h=V2a(k[d>>2]|0,e)|0;k[d>>2]=h;d=V2a(k[n+48>>2]|0,e)|0;k[n+48>>2]=d;d=V2a(k[n+56>>2]|0,e)|0;k[n+56>>2]=d;d=V2a(k[n+52>>2]|0,e)|0;k[n+52>>2]=d;d=V2a(k[n+60>>2]|0,e)|0;k[n+60>>2]=d;d=V2a(k[n+72>>2]|0,e)|0;k[n+72>>2]=d;d=V2a(k[n+76>>2]|0,e)|0;k[n+76>>2]=d;e=n+72|0;h=n+76|0}k[e>>2]=k[e>>2]>>16;k[h>>2]=d>>16}while((f|0)!=0);a=g<<24>>24==0;if(!a){k[b>>2]=k[A+8>>2];if((k[A+1456>>2]|0)==65535)f=k[A+1184>>2]|0;else f=(k[A+1168>>2]|0)+1|0;k[b+16>>2]=f;k[b+52>>2]=k[A+1408>>2]>>16;w=k[A+1412>>2]>>16;k[b+56>>2]=w;k[b+60>>2]=(k[A+1416>>2]|0)+65535>>16;v=(k[A+1420>>2]|0)+65535>>16;k[b+64>>2]=v;f=k[o>>2]|0;j[b+68>>1]=f;j[b+70>>1]=v;j[b+72>>1]=w;j[b+74>>1]=(((((f&65535)*12|0)>>>0)/10|0)<<16>>16|0)<(v-w|0)?v-w|0:(((f&65535)*12|0)>>>0)/10|0;j[b+80>>1]=(k[A+1356>>2]|0)>>>16;j[b+82>>1]=(k[A+1360>>2]|0)>>>16;f=k[(k[A+20>>2]|0)+28>>2]|0;c=YUa(A+20|0,c,B+80|0,B+48|0)|0;k[B+44>>2]=c;if(!c){g=k[B+48>>2]|0;f=UTa(f,g+1|0,B+44|0)|0;if(!(k[B+44>>2]|0)){ABb(f|0,k[B+80>>2]|0,g|0)|0;i[f+g>>0]=0}if(!(k[A+48>>2]|0)){xTa(k[A+20>>2]|0,B+80|0);g=f}else g=f}else g=0;k[b+20>>2]=g;k:do if(!g){f=k[A+1496>>2]|0;if((f|0)==65535)x=276;else{if(f>>>0>390){if((k[A+1312>>2]|0)>>>0<=(f+-391|0)>>>0){x=276;break}f=k[(k[A+1316>>2]|0)+(f+-391<<2)>>2]|0}else{g=k[A+2956>>2]|0;if(!g){x=276;break}f=Gi[k[g+20>>2]&2047](f)|0}if(!f)x=276;else{x=ZTa(y,f,B+80|0)|0;k[b+20>>2]=x;x=276}}}else{f=k[A+1336>>2]|0;do if((f|0)==65535)f=0;else if(f>>>0>390){if((k[A+1312>>2]|0)>>>0<=(f+-391|0)>>>0){f=0;break}f=k[(k[A+1316>>2]|0)+(f+-391<<2)>>2]|0;break}else{d=k[A+2956>>2]|0;if(!d){f=0;break}f=Gi[k[d+20>>2]&2047](f)|0;g=k[b+20>>2]|0;break}while(0);d=Fnb(g)|0;h=g+6|0;n=g+1|0;o=g+2|0;p=g+3|0;q=g+4|0;s=g+5|0;l:do if((d|0)>5){t=1;e=d+1|0;do{if((i[h>>0]|0)!=43)break l;t=((i[s>>0]|0)+-65&255)<26&(((i[q>>0]|0)+-65&255)<26&(((i[p>>0]|0)+-65&255)<26&(((i[o>>0]|0)+-65&255)<26&(((i[g>>0]|0)+-65&255)<26?((i[n>>0]|0)+-65&255)<26:0))))?t:0;if(!(t<<24>>24))break l;if((e|0)>7){d=7;do{i[g+(d+-7)>>0]=i[g+d>>0]|0;d=d+1|0}while((d|0)!=(e|0))}e=e+-7|0}while((e|0)>6)}while(0);e=k[A+1340>>2]|0;if((e|0)<65535)switch(e|0){case 0:break;default:x=243}else switch(e|0){case 65535:{d=0;x=248;break}default:x=243}do if((x|0)==243)if(e>>>0>390){if((k[A+1312>>2]|0)>>>0<=(e+-391|0)>>>0){d=0;x=248;break}d=k[(k[A+1316>>2]|0)+(e+-391<<2)>>2]|0;x=248;break}else{d=k[A+2956>>2]|0;if(!d){d=0;x=248;break}d=Gi[k[d+20>>2]&2047](e)|0;x=248;break}while(0);if((x|0)==248)g=(d|0)==0?g:d;if(!((f|0)!=0&(g|0)!=0)){x=276;break}d=i[f>>0]|0;if(!(d<<24>>24)){x=276;break}m:while(1){h=d<<24>>24==0;n:while(1){e=i[g>>0]|0;if(d<<24>>24==e<<24>>24){x=253;break}switch(d<<24>>24){case 45:case 32:break n;default:{}}switch(e<<24>>24){case 0:break m;case 45:case 32:break;default:{x=276;break k}}if(h){x=276;break k}else g=g+1|0}if((x|0)==253){x=0;g=g+1|0}f=f+1|0;d=i[f>>0]|0;if(!(d<<24>>24)){x=276;break k}}e=ZTa(y,f,B+80|0)|0;h=k[b+20>>2]|0;f=Fnb(h)|0;g=Fnb(e)|0;o:do if((f|0)>(g|0)){if((g|0)>=1){d=1;while(1){if((i[h+(f-d)>>0]|0)!=(i[e+(g-d)>>0]|0))break o;if((g|0)>(d|0))d=d+1|0;else break}}if((f-g|0)>1)f=f-g|0;else{x=274;break}p:while(1){g=f;f=f+-1|0;switch(i[h+f>>0]|0){case 43:case 95:case 32:case 45:break;default:break p}if((f|0)<=1){x=274;break o}}i[h+g>>0]=0;x=274}else x=274;while(0);if((x|0)==274)if(!e){x=276;break}k[b+24>>2]=e}while(0);if((x|0)==276){y=ZTa(y,592007,B+80|0)|0;k[b+24>>2]=y}f=z<<24>>24==0?2065:2073;k[b+8>>2]=((i[A+1348>>0]|0)==0?f:f|4)|k[b+8>>2];f=(k[A+1352>>2]|0)!=0&1;g=k[A+1344>>2]|0;do if((g|0)!=65535){if(g>>>0>390){if((k[A+1312>>2]|0)>>>0<=(g+-391|0)>>>0)break;g=k[(k[A+1316>>2]|0)+(g+-391<<2)>>2]|0}else{d=k[A+2956>>2]|0;if(!d)break;g=Gi[k[d+20>>2]&2047](g)|0}if(g){if(Wmb(g,592027)|0)if(Wmb(g,591579)|0)break;f=f|2}}while(0);do if(!(f&2)){g=k[b+24>>2]|0;if(g){if(Dmb(g,592027,4)|0)if(Dmb(g,591579,5)|0)break;f=f|2}}while(0);k[b+12>>2]=f}f=(k[A+1456>>2]|0)==65535;if(f)k[b+8>>2]=k[b+8>>2]|512;else if(!(a|f))k[b+8>>2]=k[b+8>>2]|4096;e=k[b+36>>2]|0;q:do if(!e)x=302;else{f=k[b+40>>2]|0;d=0;while(1){g=k[(k[f+(d<<2)>>2]|0)+8>>2]|0;switch((g&65535)<<16>>16){case 0:{x=308;break q}case 3:{if((g&-65536|0)==65536){x=308;break q}break}default:{}}d=d+1|0;if(d>>>0>=e>>>0){x=302;break q}}}while(0);do if((x|0)==302){if(!a)if((k[A+1456>>2]|0)!=65535)break;k[B+80>>2]=b;j[B+80+8>>1]=3;j[B+80+10>>1]=1;k[B+80+4>>2]=1970170211;z=DSa(48172,0,B+80|0,0)|0;k[B>>2]=z;if((z|0)==0|(z&255|0)==163){k[B>>2]=0;if(!(k[b+92>>2]|0))if((e|0)==(k[b+36>>2]|0))x=308;else{k[b+92>>2]=k[(k[b+40>>2]|0)+(e<<2)>>2];x=308}else x=308}}while(0);if((x|0)==308)if(k[A+124>>2]|0){k[B+80>>2]=b;j[B+80+8>>1]=7;f=k[A+120>>2]|0;do if(!f){j[B+80+10>>1]=0;k[B+80+4>>2]=1094995778}else if((f|0)==1){j[B+80+10>>1]=1;k[B+80+4>>2]=1094992453;break}else{j[B+80+10>>1]=2;k[B+80+4>>2]=1094992451;break}while(0);b=DSa(48132,0,B+80|0,0)|0;k[B>>2]=b}b=k[B>>2]|0;r=B;return b|0}function VUa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0;j=r;r=r+16|0;h=k[b+28>>2]|0;k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;k[a+12>>2]=0;k[a+16>>2]=0;k[a+20>>2]=0;k[a+24>>2]=0;k[a+28>>2]=0;k[a>>2]=b;d=rTa(b)|0;k[a+4>>2]=d;d=FTa(b,j)|0;do if(!(k[j>>2]|0)){if(!(d<<16>>16)){a=0;r=j;return a|0}e=ETa(b,j)|0;if(!(k[j>>2]|0)){if((e+-1&255)>3){k[j>>2]=8;break}k[a+8>>2]=d&65535;i[a+12>>0]=e;g=ha(e&255,(d&65535)+1|0)|0;k[a+16>>2]=g+3+(k[a+4>>2]|0);g=qTa(b,ha(e&255,d&65535)|0)|0;k[j>>2]=g;if(!g){e=sTa(k[a>>2]|0,j+4|0,l[a+12>>0]|0)|0;if(e|0){k[j>>2]=e;break}f=i[a+12>>0]|0;if(!(f<<24>>24))k[j>>2]=e;else{g=0;d=0;do{d=l[j+4+g>>0]|0|d<<8;g=g+1|0}while((g|0)!=(f&255|0));k[j>>2]=e;if(e|0)break;if(d|0){k[a+20>>2]=d+-1;if(!(c<<24>>24))d=qTa(b,d+-1|0)|0;else d=vTa(b,d+-1|0,a+28|0)|0;k[j>>2]=d;if(!d)d=0;else break;r=j;return d|0}}k[j>>2]=8}}}while(0);YTa(h,k[a+24>>2]|0);k[a+24>>2]=0;a=k[j>>2]|0;r=j;return a|0}function WUa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,s=0;s=r;r=r+16|0;k[s>>2]=0;m=k[(k[a>>2]|0)+28>>2]|0;k[b>>2]=0;a:do if(!(k[a+24>>2]|0)){k[s+4>>2]=0;h=k[a>>2]|0;j=k[h+28>>2]|0;d=k[a+8>>2]|0;do if(d|0){e=l[a+12>>0]|0;g=ha(e,d+1|0)|0;q=WTa(j,4,0,d+1|0,0,s+4|0)|0;k[a+24>>2]=q;if(!(k[s+4>>2]|0)){q=pTa(h,(k[a+4>>2]|0)+3|0)|0;k[s+4>>2]=q;if(!q){q=wTa(h,g)|0;k[s+4>>2]=q;if(!q){d=k[a+24>>2]|0;f=k[h+32>>2]|0;switch(e|0){case 1:{if((g|0)>0){e=f;while(1){k[d>>2]=l[e>>0];e=e+1|0;if(e>>>0>=(f+g|0)>>>0)break;else d=d+4|0}}break}case 2:{if((g|0)>0){e=f;while(1){k[d>>2]=(l[e>>0]|0)<<8|(l[e+1>>0]|0);e=e+2|0;if(e>>>0>=(f+g|0)>>>0)break;else d=d+4|0}}break}case 3:{if((g|0)>0){e=f;while(1){k[d>>2]=(l[e+1>>0]|0)<<8|(l[e>>0]|0)<<16|(l[e+2>>0]|0);e=e+3|0;if(e>>>0>=(f+g|0)>>>0)break;else d=d+4|0}}break}default:if((g|0)>0){e=f;while(1){k[d>>2]=(l[e+1>>0]|0)<<16|(l[e>>0]|0)<<24|(l[e+2>>0]|0)<<8|(l[e+3>>0]|0);e=e+4|0;if(e>>>0>=(f+g|0)>>>0)break;else d=d+4|0}}}yTa(h);if(!(k[s+4>>2]|0))break}}}YTa(j,k[a+24>>2]|0);k[a+24>>2]=0;q=k[s+4>>2]|0;k[s>>2]=q;if(!q){o=a+8|0;break a}b=k[s>>2]|0;r=s;return b|0}while(0);k[s>>2]=0;o=a+8|0}else o=a+8|0;while(0);d=k[o>>2]|0;if(!d){b=k[s>>2]|0;r=s;return b|0}q=WTa(m,4,0,d+1|0,0,s)|0;if(k[s>>2]|0){b=k[s>>2]|0;r=s;return b|0}if(c|0){d=UTa(m,(k[o>>2]|0)+(k[a+20>>2]|0)|0,s)|0;if(k[s>>2]|0){b=k[s>>2]|0;r=s;return b|0}}else d=0;p=k[a+28>>2]|0;k[q>>2]=c|0?d:p;h=k[o>>2]|0;b:do if(h|0){if(c|0){m=0;j=0;n=1}else{e=0;g=1;while(1){f=(k[(k[a+24>>2]|0)+(g<<2)>>2]|0)+-1|0;if(f>>>0>=e>>>0){e=k[a+20>>2]|0;e=f>>>0>e>>>0?e:f}k[q+(g<<2)>>2]=p+e;g=g+1|0;if(g>>>0>h>>>0)break b}}while(1){e=(k[(k[a+24>>2]|0)+(n<<2)>>2]|0)+-1|0;if(e>>>0>>0){k[q+(n<<2)>>2]=d+m+j;f=j;e=m}else{f=k[a+20>>2]|0;e=e>>>0>f>>>0?f:e;f=d+e+j|0;g=q+(n<<2)|0;k[g>>2]=f;if((e|0)==(m|0))f=j;else{h=k[q+(n+-1<<2)>>2]|0;ABb(h|0,p+m|0,f-h|0)|0;i[k[g>>2]>>0]=0;k[g>>2]=(k[g>>2]|0)+1;h=k[o>>2]|0;f=j+1|0}}n=n+1|0;if(n>>>0>h>>>0)break;else{m=e;j=f}}}while(0);k[b>>2]=q;if(!c){b=k[s>>2]|0;r=s;return b|0}k[c>>2]=d;b=k[s>>2]|0;r=s;return b|0}function XUa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+432|0;k[g+4>>2]=0;vBb(g+8|0,0,408)|0;k[g+8+404>>2]=g+8+16;k[g+8+408>>2]=4096;k[g+8+412>>2]=a;k[g+8>>2]=f;vBb(a|0,0,172)|0;k[a+32>>2]=-6553600;k[a+36>>2]=3276800;k[a+44>>2]=2;k[a+48>>2]=65536;k[a+60>>2]=65536;k[a+156>>2]=8720;k[a>>2]=65535;k[a+4>>2]=65535;k[a+8>>2]=65535;k[a+12>>2]=65535;k[a+16>>2]=65535;k[a+20>>2]=65535;k[a+128>>2]=65535;k[a+132>>2]=65535;k[a+136>>2]=65535;k[a+172>>2]=65535;c=YUa(b,c,g+4|0,g)|0;if(!c){c=k[g+4>>2]|0;c=ZUa(g+8|0,c,c+(k[g>>2]|0)|0)|0}if(!(k[b+28>>2]|0))xTa(k[b>>2]|0,g+4|0);if(c|0){a=c;r=g;return a|0}if((k[a+132>>2]|0)!=65535){a=0;r=g;return a|0}c=k[a+116>>2]|0;do if(c|0)if(k[a+120>>2]|0){vBb(a+176|0,0,360)|0;k[a+376>>2]=7;k[a+380>>2]=1;k[a+508>>2]=-1;k[a+516>>2]=3932;k[a+372>>2]=2596864;vBb(g+8|0,0,408)|0;k[g+8+404>>2]=g+8+16;k[g+8+408>>2]=8192;k[g+8+412>>2]=a+176;k[g+8>>2]=f;c=pTa(d,c+e|0)|0;if(c|0){a=c;r=g;return a|0}c=wTa(d,k[a+120>>2]|0)|0;if(c|0){a=c;r=g;return a|0}c=ZUa(g+8|0,k[d+32>>2]|0,k[d+36>>2]|0)|0;yTa(d);if(!c){i[a+176>>0]=(l[a+176>>0]|0)&254;break}else{a=c;r=g;return a|0}}while(0);c=k[a+524>>2]|0;if(!c){a=0;r=g;return a|0}c=pTa(d,c+e+(k[a+116>>2]|0)|0)|0;if(c|0){a=c;r=g;return a|0}c=VUa(a+536|0,d,1)|0;if(c|0){a=c;r=g;return a|0}a=WUa(a+536|0,a+568|0,0)|0;r=g;return a|0}function YUa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0;p=r;r=r+16|0;if(!a){c=6;r=p;return c|0}h=k[a+8>>2]|0;if(h>>>0<=b>>>0){c=6;r=p;return c|0}o=k[a>>2]|0;j=k[a+24>>2]|0;a:do if(!j){e=ha(l[a+12>>0]|0,b)|0;e=pTa(o,(k[a+4>>2]|0)+3+e|0)|0;if(e|0){c=e;r=p;return c|0}e=sTa(k[a>>2]|0,p,l[a+12>>0]|0)|0;if(e|0){c=e;r=p;return c|0}f=i[a+12>>0]|0;if(f<<24>>24){g=0;e=0;while(1){m=l[p+g>>0]|0|e<<8;g=g+1|0;if((g|0)==(f&255|0))break;else e=m}if(m|0){e=b;while(1){e=e+1|0;f=sTa(k[a>>2]|0,p,f&255)|0;if(!f){h=i[a+12>>0]|0;if(!(h<<24>>24))n=16;else{j=0;g=0;do{g=l[p+j>>0]|0|g<<8;j=j+1|0}while((j|0)!=(h&255|0));if(g|0){f=m;n=26;break a}}}else n=16;if((n|0)==16)n=0;if(e>>>0>=(k[a+8>>2]|0)>>>0){g=f;f=m;n=25;break a}f=i[a+12>>0]|0}}}e=k[o+4>>2]|0;b=0;f=0;g=0;n=28}else{f=k[j+(b<<2)>>2]|0;if(!f){e=k[o+4>>2]|0;b=0;f=0;g=0;n=28;break}else e=b;while(1){e=e+1|0;g=k[j+(e<<2)>>2]|0;if(g|0){n=26;break a}if(e>>>0>=h>>>0){g=0;n=25;break}}}while(0);if((n|0)==25){e=k[o+4>>2]|0;b=g;g=0;n=28}else if((n|0)==26){e=k[o+4>>2]|0;if(g>>>0>(e+1|0)>>>0){h=k[a+16>>2]|0;g=0;n=29}else{b=0;n=28}}if((n|0)==28){h=k[a+16>>2]|0;if(h>>>0>(e+1-g|0)>>>0){g=b;n=29}else{j=f;e=g}}if((n|0)==29){b=g;j=f;e=e+1-h|0}if(!((j|0)!=0&e>>>0>j>>>0)){k[c>>2]=0;k[d>>2]=0;c=b;r=p;return c|0}f=e-j|0;k[d>>2]=f;e=k[a+28>>2]|0;if(e|0){k[c>>2]=e+j+-1;c=b;r=p;return c|0}e=pTa(o,j+-1+(k[a+16>>2]|0)|0)|0;if(e|0){c=e;r=p;return c|0}c=vTa(o,f,c)|0;r=p;return c|0}function ZUa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0,p=0;k[a+404>>2]=a+16;k[a+4>>2]=b;k[a+8>>2]=c;k[a+12>>2]=b;if(b>>>0>=c>>>0){p=0;return p|0}a:while(1){e=i[b>>0]|0;b:do if((e&255)>26&e<<24>>24!=31){d=k[a+404>>2]|0;if((d-(a+16)|0)>380){b=6;p=95;break a}k[a+404>>2]=d+4;k[d>>2]=b;switch(e<<24>>24){case 30:{do{b=b+1|0;if(b>>>0>=c>>>0){b=0;p=95;break a}o=l[b>>0]|0}while(!((o&240|0)==240|(o&15|0)==15));break}case 28:{b=b+2|0;break b}case 29:{b=b+4|0;break b}default:{b=(e&255)>246?b+1|0:b;break b}}}else{f=k[a+404>>2]|0;k[f>>2]=b;if(e<<24>>24==12){b=b+1|0;if(b>>>0>=c>>>0){b=6;p=95;break a}d=l[b>>0]|0|256;o=b}else{d=e&255;o=b}d=k[a+408>>2]|d;b=4;e=48232;do{if((k[e+4>>2]|0)==(d|0)){n=e;p=16;break}e=e+28|0;b=k[e>>2]|0}while((b|0)!=0);c:do if((p|0)==16){p=0;d=k[a+412>>2]|0;g=d+(k[n+8>>2]|0)|0;if((f-(a+16)>>2|0)==0&(b|0)!=6){b=6;p=95;break a}d:do switch(b|0){case 1:case 4:case 5:{d=k[a+16>>2]|0;b=k[a+20>>2]|0;e=i[d>>0]|0;if(e<<24>>24==30){b=($Ua(d,b,0,0)|0)>>16;break d}switch(e<<24>>24){case 28:{if((d+3|0)>>>0>b>>>0){b=0;break d}b=((l[d+1>>0]|0)<<8|(l[d+2>>0]|0))<<16>>16;break d}case 29:{if((d+5|0)>>>0>b>>>0){b=0;break d}b=(l[d+2>>0]|0)<<16|(l[d+1>>0]|0)<<24|(l[d+3>>0]|0)<<8|(l[d+4>>0]|0);break d}default:{if((e&255)<247){b=(e&255)+-139|0;break d}if((e&255)<251){if((d+2|0)>>>0>b>>>0){b=0;break d}b=(l[d+1>>0]|0|((e&255)<<8)+-63232)+108|0;break d}else{if((d+2|0)>>>0>b>>>0){b=0;break d}b=(251-(e&255)<<8)+-108-(l[d+1>>0]|0)|0;break d}}}}case 2:{d=k[a+16>>2]|0;b=k[a+20>>2]|0;e=i[d>>0]|0;if(e<<24>>24==30){b=$Ua(d,b,0,0)|0;break d}e:do switch(e<<24>>24){case 28:{if((d+3|0)>>>0>b>>>0)b=0;else b=((l[d+1>>0]|0)<<8|(l[d+2>>0]|0))<<16>>16;break}case 29:{if((d+5|0)>>>0>b>>>0)b=0;else{b=(l[d+2>>0]|0)<<16|(l[d+1>>0]|0)<<24|(l[d+3>>0]|0)<<8|(l[d+4>>0]|0);p=46}break}default:{if((e&255)<247){b=(e&255)+-139|0;break e}if((e&255)<251){if((d+2|0)>>>0>b>>>0){b=0;break e}b=(l[d+1>>0]|0|((e&255)<<8)+-63232)+108|0;p=46;break e}else{if((d+2|0)>>>0>b>>>0){b=0;break e}b=(251-(e&255)<<8)+-108-(l[d+1>>0]|0)|0;p=46;break e}}}while(0);if((p|0)==46){p=0;if((b|0)>32767){b=2147483647;break d}}b=(b|0)<-32767?-2147483647:b<<16;break}case 3:{d=k[a+16>>2]|0;b=k[a+20>>2]|0;e=i[d>>0]|0;if(e<<24>>24==30){b=$Ua(d,b,3,0)|0;break d}f:do switch(e<<24>>24){case 28:{if((d+3|0)>>>0>b>>>0){b=0;d=0}else{d=((l[d+1>>0]|0)<<8|(l[d+2>>0]|0))<<16>>16;p=62}break}case 29:{if((d+5|0)>>>0>b>>>0){b=0;d=0}else{d=(l[d+2>>0]|0)<<16|(l[d+1>>0]|0)<<24|(l[d+3>>0]|0)<<8|(l[d+4>>0]|0);p=62}break}default:{if((e&255)<247){d=(e&255)+-139|0;p=62;break f}if((e&255)<251){if((d+2|0)>>>0>b>>>0){b=0;d=0;break f}d=(l[d+1>>0]|0|((e&255)<<8)+-63232)+108|0;p=62;break f}else{if((d+2|0)>>>0>b>>>0){b=0;d=0;break f}d=(251-(e&255)<<8)+-108-(l[d+1>>0]|0)|0;p=62;break f}}}while(0);if((p|0)==62){p=0;b=d*1e3|0;if((b|0)>32767){b=2147483647;break d}}m=ha(d,65536e3)|0;b=(b|0)<-32767?-2147483647:m;break}case 6:{b=k[n+20>>2]|0;b=f-(a+16)>>2>>>0>b>>>0?b:f-(a+16)>>2;i[d+(k[n+24>>2]|0)>>0]=b;if(!b)break c;m=a+16|0;h=0;while(1){f=k[m>>2]|0;m=m+4|0;e=k[m>>2]|0;d=i[f>>0]|0;g:do if(d<<24>>24==30)d=($Ua(f,e,0,0)|0)>>16;else switch(d<<24>>24){case 28:{if((f+3|0)>>>0>e>>>0){d=0;break g}d=((l[f+1>>0]|0)<<8|(l[f+2>>0]|0))<<16>>16;break g}case 29:{if((f+5|0)>>>0>e>>>0){d=0;break g}d=(l[f+2>>0]|0)<<16|(l[f+1>>0]|0)<<24|(l[f+3>>0]|0)<<8|(l[f+4>>0]|0);break g}default:{if((d&255)<247){d=(d&255)+-139|0;break g}if((d&255)<251){if((f+2|0)>>>0>e>>>0){d=0;break g}d=(l[f+1>>0]|0|((d&255)<<8)+-63232)+108|0;break g}else{if((f+2|0)>>>0>e>>>0){d=0;break g}d=(251-(d&255)<<8)+-108-(l[f+1>>0]|0)|0;break g}}}while(0);h=d+h|0;d=i[n+12>>0]|0;switch(d&255|0){case 1:{i[g>>0]=h;d=i[n+12>>0]|0;break}case 2:{j[g>>1]=h;break}case 4:{k[g>>2]=h;break}default:k[g>>2]=h}b=b+-1|0;if(!b)break c;else g=g+(d&255)|0}}default:{b=Gi[k[n+16>>2]&2047](a)|0;if(!b)break c;else{p=95;break a}}}while(0);switch(l[n+12>>0]|0|0){case 1:{i[g>>0]=b;break c}case 2:{j[g>>1]=b;break c}case 4:{k[g>>2]=b;break c}default:{k[g>>2]=b;break c}}}while(0);k[a+404>>2]=a+16;b=o}while(0);b=b+1|0;if(b>>>0>=c>>>0){b=0;p=95;break}}if((p|0)==95)return b|0;return 0}function _Ua(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0;j=r;r=r+16|0;h=k[a+412>>2]|0;if((k[a+404>>2]|0)>>>0<(a+40|0)>>>0){h=161;r=j;return h|0}i[h+64>>0]=1;c=k[a+16>>2]|0;b=k[a+20>>2]|0;d=i[c>>0]|0;do if(d<<24>>24==30)b=$Ua(c,b,0,j)|0;else{a:do switch(d<<24>>24){case 28:{if((c+3|0)>>>0>b>>>0)b=0;else b=((l[c+1>>0]|0)<<8|(l[c+2>>0]|0))<<16>>16;break}case 29:{if((c+5|0)>>>0>b>>>0)b=0;else{b=(l[c+2>>0]|0)<<16|(l[c+1>>0]|0)<<24|(l[c+3>>0]|0)<<8|(l[c+4>>0]|0);e=16}break}default:{if((d&255)<247){b=(d&255)+-139|0;break a}if((d&255)<251){if((c+2|0)>>>0>b>>>0){b=0;break a}b=(l[c+1>>0]|0|((d&255)<<8)+-63232)+108|0;e=16;break a}else{if((c+2|0)>>>0>b>>>0){b=0;break a}b=(251-(d&255)<<8)+-108-(l[c+1>>0]|0)|0;e=16;break a}}}while(0);if((e|0)==16)if((b|0)>32767){if((b|0)<1e5)e=5;else if((b|0)<1e6)e=6;else if((b|0)<1e7)e=7;else if((b|0)<1e8)e=8;else e=(b|0)<1e9?9:10;c=e+-5|0;d=k[49688+(c<<2)>>2]|0;if(((b|0)/(d|0)|0|0)>32767){g=e+-4|0;k[j>>2]=g;b=V2a(b,k[49688+(g<<2)>>2]|0)|0;break}else{k[j>>2]=c;b=V2a(b,d)|0;break}}k[j>>2]=0;b=b<<16}while(0);k[h+48>>2]=b;d=k[j>>2]|0;k[j>>2]=0-d;if((d+9|0)>>>0>9){k[h+48>>2]=65536;k[h+56>>2]=0;k[h+52>>2]=0;k[h+60>>2]=65536;k[h+72>>2]=0;k[h+76>>2]=0;b=1}else{b=k[a+20>>2]|0;e=k[a+24>>2]|0;c=i[b>>0]|0;if(c<<24>>24==30){b=$Ua(b,e,0-d|0,0)|0;e=k[a+24>>2]|0}else{b:do switch(c<<24>>24){case 28:{if((b+3|0)>>>0>e>>>0)b=0;else b=((l[b+1>>0]|0)<<8|(l[b+2>>0]|0))<<16>>16;break}case 29:{if((b+5|0)>>>0>e>>>0)b=0;else b=(l[b+2>>0]|0)<<16|(l[b+1>>0]|0)<<24|(l[b+3>>0]|0)<<8|(l[b+4>>0]|0);break}default:{if((c&255)<247){b=(c&255)+-139|0;break b}if((c&255)<251){if((b+2|0)>>>0>e>>>0){b=0;break b}b=(l[b+1>>0]|0|((c&255)<<8)+-63232)+108|0;break b}else{if((b+2|0)>>>0>e>>>0){b=0;break b}b=(251-(c&255)<<8)+-108-(l[b+1>>0]|0)|0;break b}}}while(0);if(d)b=ha(k[49688+(0-d<<2)>>2]|0,b)|0;if((b|0)>32767)b=2147483647;else b=(b|0)<-32767?-2147483647:b<<16}k[h+56>>2]=b;f=k[j>>2]|0;g=k[a+28>>2]|0;c=i[e>>0]|0;if(c<<24>>24==30){b=$Ua(e,g,f,0)|0;e=k[a+28>>2]|0}else{d=e+1|0;c:do switch(c<<24>>24){case 28:{if((e+3|0)>>>0>g>>>0)b=0;else b=((l[d>>0]|0)<<8|(l[e+2>>0]|0))<<16>>16;break}case 29:{if((e+5|0)>>>0>g>>>0)b=0;else b=(l[e+2>>0]|0)<<16|(l[d>>0]|0)<<24|(l[e+3>>0]|0)<<8|(l[e+4>>0]|0);break}default:{if((c&255)<247){b=(c&255)+-139|0;break c}b=(e+2|0)>>>0>g>>>0;if((c&255)<251){if(b){b=0;break c}b=(l[d>>0]|0|((c&255)<<8)+-63232)+108|0;break c}else{if(b){b=0;break c}b=(251-(c&255)<<8)+-108-(l[d>>0]|0)|0;break c}}}while(0);if(f)b=ha(k[49688+(f<<2)>>2]|0,b)|0;if((b|0)>32767){e=g;b=2147483647}else{e=g;b=(b|0)<-32767?-2147483647:b<<16}}k[h+52>>2]=b;g=k[j>>2]|0;f=k[a+32>>2]|0;c=i[e>>0]|0;if(c<<24>>24==30){b=$Ua(e,f,g,0)|0;f=k[a+32>>2]|0}else{d=e+1|0;d:do switch(c<<24>>24){case 28:{if((e+3|0)>>>0>f>>>0)b=0;else b=((l[d>>0]|0)<<8|(l[e+2>>0]|0))<<16>>16;break}case 29:{if((e+5|0)>>>0>f>>>0)b=0;else b=(l[e+2>>0]|0)<<16|(l[d>>0]|0)<<24|(l[e+3>>0]|0)<<8|(l[e+4>>0]|0);break}default:{if((c&255)<247){b=(c&255)+-139|0;break d}b=(e+2|0)>>>0>f>>>0;if((c&255)<251){if(b){b=0;break d}b=(l[d>>0]|0|((c&255)<<8)+-63232)+108|0;break d}else{if(b){b=0;break d}b=(251-(c&255)<<8)+-108-(l[d>>0]|0)|0;break d}}}while(0);if(g)b=ha(k[49688+(g<<2)>>2]|0,b)|0;if((b|0)>32767)b=2147483647;else b=(b|0)<-32767?-2147483647:b<<16}k[h+60>>2]=b;g=k[j>>2]|0;e=k[a+36>>2]|0;c=i[f>>0]|0;if(c<<24>>24==30){b=$Ua(f,e,g,0)|0;e=k[a+36>>2]|0}else{d=f+1|0;e:do switch(c<<24>>24){case 28:{if((f+3|0)>>>0>e>>>0)b=0;else b=((l[d>>0]|0)<<8|(l[f+2>>0]|0))<<16>>16;break}case 29:{if((f+5|0)>>>0>e>>>0)b=0;else b=(l[f+2>>0]|0)<<16|(l[d>>0]|0)<<24|(l[f+3>>0]|0)<<8|(l[f+4>>0]|0);break}default:{if((c&255)<247){b=(c&255)+-139|0;break e}b=(f+2|0)>>>0>e>>>0;if((c&255)<251){if(b){b=0;break e}b=(l[d>>0]|0|((c&255)<<8)+-63232)+108|0;break e}else{if(b){b=0;break e}b=(251-(c&255)<<8)+-108-(l[d>>0]|0)|0;break e}}}while(0);if(g)b=ha(k[49688+(g<<2)>>2]|0,b)|0;if((b|0)>32767)b=2147483647;else b=(b|0)<-32767?-2147483647:b<<16}k[h+72>>2]=b;f=k[j>>2]|0;b=k[a+40>>2]|0;c=i[e>>0]|0;if(c<<24>>24==30)b=$Ua(e,b,f,0)|0;else{d=e+1|0;f:do switch(c<<24>>24){case 28:{if((e+3|0)>>>0>b>>>0)b=0;else b=((l[d>>0]|0)<<8|(l[e+2>>0]|0))<<16>>16;break}case 29:{if((e+5|0)>>>0>b>>>0)b=0;else b=(l[e+2>>0]|0)<<16|(l[d>>0]|0)<<24|(l[e+3>>0]|0)<<8|(l[e+4>>0]|0);break}default:{if((c&255)<247){b=(c&255)+-139|0;break f}b=(e+2|0)>>>0>b>>>0;if((c&255)<251){if(b){b=0;break f}b=(l[d>>0]|0|((c&255)<<8)+-63232)+108|0;break f}else{if(b){b=0;break f}b=(251-(c&255)<<8)+-108-(l[d>>0]|0)|0;break f}}}while(0);if(f)b=ha(k[49688+(f<<2)>>2]|0,b)|0;if((b|0)>32767)b=2147483647;else b=(b|0)<-32767?-2147483647:b<<16}k[h+76>>2]=b;b=k[49688+(k[j>>2]<<2)>>2]|0}k[h+68>>2]=b;h=0;r=j;return h|0}function $Ua(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0;if(d|0){k[d>>2]=0;m=0;e=0;f=a;g=4;a=0}else{m=0;e=0;f=a;g=4;a=0}a:while(1){b:while(1)while(1){if(g){f=f+1|0;if(f>>>0>=b>>>0){e=0;break a}}j=i[f>>0]|0;h=(j&255)>>>g&15;g=4-g|0;if((h|0)==14){a=1;continue b}if(h>>>0>9){l=0;o=m;p=a;q=18;break a}if(h|e)break b}m=m+1|0;e=h+(e*10|0)|0;if((e|0)>214748363){q=17;break}}c:do if((q|0)==17){h=0;d:while(1){l=h;while(1){if(g){f=f+1|0;if(f>>>0>=b>>>0){e=0;break c}}j=i[f>>0]|0;h=(j&255)>>>g&15;g=4-g|0;if((h|0)==14){h=l;a=1;continue d}if(h>>>0>9){o=m;p=a;q=18;break c}l=l+1|0}}}while(0);e:do if((q|0)==18){f:do if((h|0)==10){if((e|0)<214748364){a=j;j=0;do{while(1){if(g){f=f+1|0;if(f>>>0>=b>>>0){e=0;a=p;break e}a=i[f>>0]|0}h=(a&255)>>>g&15;g=4-g|0;if(h>>>0>9)break f;if(h|e|0)break;l=l+-1|0}j=j+1|0;e=h+(e*10|0)|0}while((e|0)<214748364&(j|0)<9)}else{a=j;j=0}while(1){do{if(g){f=f+1|0;if(f>>>0>=b>>>0){e=0;a=p;break e}a=i[f>>0]|0}h=(a&255)>>>g&15;g=4-g|0;if(h>>>0>9)break f}while((h|e|0)!=0);l=l+-1|0}}else{a=j;j=0}while(0);n=(h|0)==12;if((h+-11|0)>>>0<2){m=0;while(1){if(g){f=f+1|0;if(f>>>0>=b>>>0){e=0;a=p;break e}a=i[f>>0]|0}h=(a&255)>>>g&15;if(h>>>0>9){f=m;a=0;break}g=4-g|0;m=h+(m*10|0)|0;if((m|0)>1e3){q=46;break}}if((q|0)==46){h=a;a=0;while(1){if(g){f=f+1|0;if(f>>>0>=b>>>0){e=0;a=p;break e}h=i[f>>0]|0}if(((h&255)>>>g&14)>>>0>9){f=m;break}else{a=1;g=4-g|0}}}f=n?0-f|0:f}else{f=0;a=0}if(!e){e=0;a=p}else{do if(!a){a=l+c+f|0;if(!d){f=a+o|0;if((f|0)>5){e=2147483647;a=p;break e}if((f|0)<-5)break;if((f|0)<0){a=j+o|0;e=(e|0)/(k[49688+(0-f<<2)>>2]|0)|0}else a=j-a|0;if((a|0)==10){a=9;e=(e|0)/10|0}else if((a|0)<=0){e=ha(k[49688+(0-a<<2)>>2]|0,e)|0;e=(e|0)>32767?2147483647:e<<16;a=p;break e}a=k[49688+(a<<2)>>2]|0;if(((e|0)/(a|0)|0|0)>32767){e=0;a=p;break e}e=V2a(e,a)|0;a=p;break e}h=j+o|0;g=a+o|0;if((h|0)>=6){a=k[49688+(h+-5<<2)>>2]|0;if(((e|0)/(a|0)|0|0)>32767){e=V2a(e,k[49688+(h+-4<<2)>>2]|0)|0;k[d>>2]=g+-4;a=p;break e}else{e=V2a(e,a)|0;k[d>>2]=g+-5;a=p;break e}}if((e|0)>32767){e=V2a(e,10)|0;k[d>>2]=1-h+g;a=p;break e}do if((g|0)>0){f=(g|0)<5?g:5;if((f-h|0)<=0){f=g-h|0;a=e;break}a=ha(k[49688+(f-h<<2)>>2]|0,e)|0;if((a|0)>32767){f=g-f+1|0;a=(a|0)/10|0}else f=g-f|0}else{f=g-h|0;a=e}while(0);k[d>>2]=f;e=a<<16;a=p;break e}else if(!n){e=2147483647;a=p;break e}while(0);e=0;a=p}}while(0);return ((a|0)==0?e:0-e|0)|0}function aVa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=k[a+412>>2]|0;if((k[a+404>>2]|0)>>>0<(a+32|0)>>>0){f=161;return f|0}c=k[a+16>>2]|0;b=k[a+20>>2]|0;d=i[c>>0]|0;do if(d<<24>>24==30)b=$Ua(c,b,0,0)|0;else{a:do switch(d<<24>>24){case 28:{if((c+3|0)>>>0>b>>>0)b=0;else b=((l[c+1>>0]|0)<<8|(l[c+2>>0]|0))<<16>>16;break}case 29:{if((c+5|0)>>>0>b>>>0)b=0;else{b=(l[c+2>>0]|0)<<16|(l[c+1>>0]|0)<<24|(l[c+3>>0]|0)<<8|(l[c+4>>0]|0);e=16}break}default:{if((d&255)<247){b=(d&255)+-139|0;break a}if((d&255)<251){if((c+2|0)>>>0>b>>>0){b=0;break a}b=(l[c+1>>0]|0|((d&255)<<8)+-63232)+108|0;e=16;break a}else{if((c+2|0)>>>0>b>>>0){b=0;break a}b=(251-(d&255)<<8)+-108-(l[c+1>>0]|0)|0;e=16;break a}}}while(0);if((e|0)==16)if((b|0)>32767){b=2147483647;break}b=(b|0)<-32767?-2147483647:b<<16}while(0);c=Q2a(b)|0;k[f+84>>2]=c;c=k[a+20>>2]|0;b=k[a+24>>2]|0;d=i[c>>0]|0;do if(d<<24>>24==30)b=$Ua(c,b,0,0)|0;else{b:do switch(d<<24>>24){case 28:{if((c+3|0)>>>0>b>>>0)b=0;else b=((l[c+1>>0]|0)<<8|(l[c+2>>0]|0))<<16>>16;break}case 29:{if((c+5|0)>>>0>b>>>0)b=0;else{b=(l[c+2>>0]|0)<<16|(l[c+1>>0]|0)<<24|(l[c+3>>0]|0)<<8|(l[c+4>>0]|0);e=32}break}default:{if((d&255)<247){b=(d&255)+-139|0;break b}if((d&255)<251){if((c+2|0)>>>0>b>>>0){b=0;break b}b=(l[c+1>>0]|0|((d&255)<<8)+-63232)+108|0;e=32;break b}else{if((c+2|0)>>>0>b>>>0){b=0;break b}b=(251-(d&255)<<8)+-108-(l[c+1>>0]|0)|0;e=32;break b}}}while(0);if((e|0)==32)if((b|0)>32767){b=2147483647;break}b=(b|0)<-32767?-2147483647:b<<16}while(0);c=Q2a(b)|0;k[f+88>>2]=c;c=k[a+24>>2]|0;b=k[a+28>>2]|0;d=i[c>>0]|0;do if(d<<24>>24==30)b=$Ua(c,b,0,0)|0;else{c:do switch(d<<24>>24){case 28:{if((c+3|0)>>>0>b>>>0)b=0;else b=((l[c+1>>0]|0)<<8|(l[c+2>>0]|0))<<16>>16;break}case 29:{if((c+5|0)>>>0>b>>>0)b=0;else{b=(l[c+2>>0]|0)<<16|(l[c+1>>0]|0)<<24|(l[c+3>>0]|0)<<8|(l[c+4>>0]|0);e=48}break}default:{if((d&255)<247){b=(d&255)+-139|0;break c}if((d&255)<251){if((c+2|0)>>>0>b>>>0){b=0;break c}b=(l[c+1>>0]|0|((d&255)<<8)+-63232)+108|0;e=48;break c}else{if((c+2|0)>>>0>b>>>0){b=0;break c}b=(251-(d&255)<<8)+-108-(l[c+1>>0]|0)|0;e=48;break c}}}while(0);if((e|0)==48)if((b|0)>32767){b=2147483647;break}b=(b|0)<-32767?-2147483647:b<<16}while(0);d=Q2a(b)|0;k[f+92>>2]=d;d=k[a+28>>2]|0;b=k[a+32>>2]|0;c=i[d>>0]|0;do if(c<<24>>24==30)b=$Ua(d,b,0,0)|0;else{d:do switch(c<<24>>24){case 28:{if((d+3|0)>>>0>b>>>0)b=0;else b=((l[d+1>>0]|0)<<8|(l[d+2>>0]|0))<<16>>16;break}case 29:{if((d+5|0)>>>0>b>>>0)b=0;else{b=(l[d+2>>0]|0)<<16|(l[d+1>>0]|0)<<24|(l[d+3>>0]|0)<<8|(l[d+4>>0]|0);e=64}break}default:{if((c&255)<247){b=(c&255)+-139|0;break d}if((c&255)<251){if((d+2|0)>>>0>b>>>0){b=0;break d}b=(l[d+1>>0]|0|((c&255)<<8)+-63232)+108|0;e=64;break d}else{if((d+2|0)>>>0>b>>>0){b=0;break d}b=(251-(c&255)<<8)+-108-(l[d+1>>0]|0)|0;e=64;break d}}}while(0);if((e|0)==64)if((b|0)>32767){b=2147483647;break}b=(b|0)<-32767?-2147483647:b<<16}while(0);e=Q2a(b)|0;k[f+96>>2]=e;f=0;return f|0}function bVa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;f=k[a+412>>2]|0;if((k[a+404>>2]|0)>>>0<(a+24|0)>>>0){g=161;return g|0}c=k[a+16>>2]|0;b=k[a+20>>2]|0;d=i[c>>0]|0;a:do if(d<<24>>24==30){b=($Ua(c,b,0,0)|0)>>16;g=16}else switch(d<<24>>24){case 28:{if((c+3|0)>>>0>b>>>0){e=b;b=0;break a}b=((l[c+1>>0]|0)<<8|(l[c+2>>0]|0))<<16>>16;g=16;break a}case 29:{if((c+5|0)>>>0>b>>>0){e=b;b=0;break a}b=(l[c+2>>0]|0)<<16|(l[c+1>>0]|0)<<24|(l[c+3>>0]|0)<<8|(l[c+4>>0]|0);g=16;break a}default:{if((d&255)<247){b=(d&255)+-139|0;g=16;break a}if((d&255)<251){if((c+2|0)>>>0>b>>>0){e=b;b=0;break a}b=(l[c+1>>0]|0|((d&255)<<8)+-63232)+108|0;g=16;break a}else{if((c+2|0)>>>0>b>>>0){e=b;b=0;break a}b=(251-(d&255)<<8)+-108-(l[c+1>>0]|0)|0;g=16;break a}}}while(0);do if((g|0)==16)if((b|0)<0){g=3;return g|0}else{e=k[a+20>>2]|0;break}while(0);k[f+120>>2]=b;b=k[a+24>>2]|0;c=i[e>>0]|0;b:do if(c<<24>>24==30){b=($Ua(e,b,0,0)|0)>>16;g=32}else{d=e+1|0;switch(c<<24>>24){case 28:{if((e+3|0)>>>0>b>>>0){b=0;break b}b=((l[d>>0]|0)<<8|(l[e+2>>0]|0))<<16>>16;g=32;break b}case 29:{if((e+5|0)>>>0>b>>>0){b=0;break b}b=(l[e+2>>0]|0)<<16|(l[d>>0]|0)<<24|(l[e+3>>0]|0)<<8|(l[e+4>>0]|0);g=32;break b}default:{if((c&255)<247){b=(c&255)+-139|0;g=32;break b}b=(e+2|0)>>>0>b>>>0;if((c&255)<251){if(b){b=0;break b}b=(l[d>>0]|0|((c&255)<<8)+-63232)+108|0;g=32;break b}else{if(b){b=0;break b}b=(251-(c&255)<<8)+-108-(l[d>>0]|0)|0;g=32;break b}}}}while(0);if((g|0)==32)if((b|0)<0){g=3;return g|0}k[f+116>>2]=b;g=0;return g|0}function cVa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;h=k[a+412>>2]|0;if((k[a+404>>2]|0)>>>0<(a+28|0)>>>0){h=161;return h|0}c=k[a+16>>2]|0;b=k[a+20>>2]|0;d=i[c>>0]|0;a:do if(d<<24>>24==30){b=($Ua(c,b,0,0)|0)>>16;g=k[a+20>>2]|0}else switch(d<<24>>24){case 28:{if((c+3|0)>>>0>b>>>0){g=b;b=0;break a}g=b;b=((l[c+1>>0]|0)<<8|(l[c+2>>0]|0))<<16>>16;break a}case 29:{if((c+5|0)>>>0>b>>>0){g=b;b=0;break a}g=b;b=(l[c+2>>0]|0)<<16|(l[c+1>>0]|0)<<24|(l[c+3>>0]|0)<<8|(l[c+4>>0]|0);break a}default:{if((d&255)<247){g=b;b=(d&255)+-139|0;break a}if((d&255)<251){if((c+2|0)>>>0>b>>>0){g=b;b=0;break a}g=b;b=(l[c+1>>0]|0|((d&255)<<8)+-63232)+108|0;break a}else{if((c+2|0)>>>0>b>>>0){g=b;b=0;break a}g=b;b=(251-(d&255)<<8)+-108-(l[c+1>>0]|0)|0;break a}}}while(0);k[h+132>>2]=b;c=k[a+24>>2]|0;d=i[g>>0]|0;b:do if(d<<24>>24==30){b=($Ua(g,c,0,0)|0)>>16;f=k[a+24>>2]|0}else{e=g+1|0;switch(d<<24>>24){case 28:{if((g+3|0)>>>0>c>>>0){f=c;b=0;break b}f=c;b=((l[e>>0]|0)<<8|(l[g+2>>0]|0))<<16>>16;break b}case 29:{if((g+5|0)>>>0>c>>>0){f=c;b=0;break b}f=c;b=(l[g+2>>0]|0)<<16|(l[e>>0]|0)<<24|(l[g+3>>0]|0)<<8|(l[g+4>>0]|0);break b}default:{if((d&255)<247){f=c;b=(d&255)+-139|0;break b}b=(g+2|0)>>>0>c>>>0;if((d&255)<251){if(b){f=c;b=0;break b}f=c;b=(l[e>>0]|0|((d&255)<<8)+-63232)+108|0;break b}else{if(b){f=c;b=0;break b}f=c;b=(251-(d&255)<<8)+-108-(l[e>>0]|0)|0;break b}}}}while(0);k[h+136>>2]=b;b=k[a+28>>2]|0;c=i[f>>0]|0;c:do if(c<<24>>24==30)b=($Ua(f,b,0,0)|0)>>16;else{d=f+1|0;switch(c<<24>>24){case 28:{if((f+3|0)>>>0>b>>>0){b=0;break c}b=((l[d>>0]|0)<<8|(l[f+2>>0]|0))<<16>>16;break c}case 29:{if((f+5|0)>>>0>b>>>0){b=0;break c}b=(l[f+2>>0]|0)<<16|(l[d>>0]|0)<<24|(l[f+3>>0]|0)<<8|(l[f+4>>0]|0);break c}default:{if((c&255)<247){b=(c&255)+-139|0;break c}b=(f+2|0)>>>0>b>>>0;if((c&255)<251){if(b){b=0;break c}b=(l[d>>0]|0|((c&255)<<8)+-63232)+108|0;break c}else{if(b){b=0;break c}b=(251-(c&255)<<8)+-108-(l[d>>0]|0)|0;break c}}}}while(0);k[h+140>>2]=b;h=0;return h|0}function dVa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;if(!a)return;h=k[a+100>>2]|0;b=k[a+532>>2]|0;if(b|0)Si[k[b+12>>2]&1023](a);g=k[a+656>>2]|0;if(!g)return;f=k[g+4>>2]|0;b=k[g+84>>2]|0;if(b|0){c=k[b+28>>2]|0;if(k[g+112>>2]|0)xTa(b,g+112|0);YTa(c,k[g+108>>2]|0);k[g+84>>2]=0;k[g+84+4>>2]=0;k[g+84+8>>2]=0;k[g+84+12>>2]=0;k[g+84+16>>2]=0;k[g+84+20>>2]=0;k[g+84+24>>2]=0;k[g+84+28>>2]=0}b=k[g+1208>>2]|0;if(b|0){c=k[b+28>>2]|0;if(k[g+1236>>2]|0)xTa(b,g+1236|0);YTa(c,k[g+1232>>2]|0);k[g+1208>>2]=0;k[g+1208+4>>2]=0;k[g+1208+8>>2]=0;k[g+1208+12>>2]=0;k[g+1208+16>>2]=0;k[g+1208+20>>2]=0;k[g+1208+24>>2]=0;k[g+1208+28>>2]=0}b=k[g+20>>2]|0;if(b|0){c=k[b+28>>2]|0;if(k[g+48>>2]|0)xTa(b,g+48|0);YTa(c,k[g+44>>2]|0);k[g+20>>2]=0;k[g+20+4>>2]=0;k[g+20+8>>2]=0;k[g+20+12>>2]=0;k[g+20+16>>2]=0;k[g+20+20>>2]=0;k[g+20+24>>2]=0;k[g+20+28>>2]=0}b=k[g+1176>>2]|0;if(b|0){c=k[b+28>>2]|0;if(k[g+1204>>2]|0)xTa(b,g+1204|0);YTa(c,k[g+1200>>2]|0);k[g+1176>>2]=0;k[g+1176+4>>2]=0;k[g+1176+8>>2]=0;k[g+1176+12>>2]=0;k[g+1176+16>>2]=0;k[g+1176+20>>2]=0;k[g+1176+24>>2]=0;k[g+1176+28>>2]=0}b=k[g+1896>>2]|0;if(b|0){e=0;do{d=k[g+1900+(e<<2)>>2]|0;if(d){b=k[d+536>>2]|0;if(b|0){c=k[b+28>>2]|0;if(k[d+564>>2]|0)xTa(b,d+564|0);YTa(c,k[d+560>>2]|0);k[d+536>>2]=0;k[d+536+4>>2]=0;k[d+536+8>>2]=0;k[d+536+12>>2]=0;k[d+536+16>>2]=0;k[d+536+20>>2]=0;k[d+536+24>>2]=0;k[d+536+28>>2]=0}YTa(f,k[d+568>>2]|0);k[d+568>>2]=0;b=k[g+1896>>2]|0}e=e+1|0}while(e>>>0>>0);YTa(f,k[g+1900>>2]|0);k[g+1900>>2]=0}k[g+116>>2]=0;k[g+120>>2]=0;k[g+124>>2]=0;b=k[(k[g>>2]|0)+28>>2]|0;YTa(b,k[g+1164>>2]|0);k[g+1164>>2]=0;k[g+1168>>2]=0;YTa(b,k[g+1160>>2]|0);k[g+1160>>2]=0;k[g+1152>>2]=0;k[g+1156>>2]=0;b=k[g+1860>>2]|0;if(b|0){c=k[b+28>>2]|0;if(k[g+1888>>2]|0)xTa(b,g+1888|0);YTa(c,k[g+1884>>2]|0);k[g+1860>>2]=0;k[g+1860+4>>2]=0;k[g+1860+8>>2]=0;k[g+1860+12>>2]=0;k[g+1860+16>>2]=0;k[g+1860+20>>2]=0;k[g+1860+24>>2]=0;k[g+1860+28>>2]=0}YTa(f,k[g+1892>>2]|0);k[g+1892>>2]=0;if(k[g+2932>>2]|0)xTa(k[g>>2]|0,g+2932|0);k[g+2936>>2]=0;i[g+2924>>0]=0;k[g+2928>>2]=0;YTa(f,k[g+2960>>2]|0);k[g+2960>>2]=0;YTa(f,k[g+1304>>2]|0);k[g+1304>>2]=0;YTa(f,k[g+1308>>2]|0);k[g+1308>>2]=0;YTa(f,k[g+1316>>2]|0);k[g+1316>>2]=0;YTa(f,k[g+1320>>2]|0);k[g+1320>>2]=0;b=k[g+2976>>2]|0;if(b|0){Si[b&1023](k[g+2972>>2]|0);YTa(f,k[g+2972>>2]|0);k[g+2972>>2]=0}YTa(h,k[a+656>>2]|0);k[a+656>>2]=0;return}function eVa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;h=r;r=r+208|0;k[h+196>>2]=0;c=k[a>>2]|0;b=k[(k[c+656>>2]|0)+2952>>2]|0;c=qSa(k[(k[c+96>>2]|0)+4>>2]|0,591214)|0;do if((b|0)!=0&(c|0)!=0){b=k[b>>2]|0;if(b|0){d=Gi[b&2047](c)|0;if(d|0){f=k[a>>2]|0;e=k[f+656>>2]|0;f=UTa(k[f+100>>2]|0,1028,h+196|0)|0;b=k[h+196>>2]|0;if(!b){fVa(e+1324|0,h);b=Ri[k[d>>2]&255](k[(k[a>>2]|0)+100>>2]|0,h,f)|0;k[h+196>>2]=b;if(!b){c=k[e+1896>>2]|0;do{if(!c){g=9;break}c=c+-1|0;fVa(k[e+1900+(c<<2)>>2]|0,h);b=Ri[k[d>>2]&255](k[(k[a>>2]|0)+100>>2]|0,h,f+4+(c<<2)|0)|0;k[h+196>>2]=b}while(!(b|0));if((g|0)==9){k[a+40>>2]=f;break}g=b;r=h;return g|0}}g=b;r=h;return g|0}}}while(0);k[a+44>>2]=-1;g=0;r=h;return g|0}function fVa(a,b){a=a|0;b=b|0;var c=0,d=0;vBb(b|0,0,196)|0;d=k[a+176>>2]|0;i[b+8>>0]=d;if((d&255)<<24>>24){c=0;do{j[b+12+(c<<1)>>1]=k[a+180+(c<<2)>>2];c=c+1|0}while((c|0)!=(d&255|0))}i[b+9>>0]=(d&65535)>>>8;if(((d&65535)>>>8&255)<<24>>24){c=0;do{j[b+40+(c<<1)>>1]=k[a+236+(c<<2)>>2];c=c+1|0}while((c|0)!=((d&65535)>>>8&65535|0))}i[b+10>>0]=d>>>16;if((d>>>16&255)<<24>>24){c=0;do{j[b+60+(c<<1)>>1]=k[a+276+(c<<2)>>2];c=c+1|0}while((c|0)!=(d>>>16&255|0))}i[b+11>>0]=d>>>24;if((d>>>24&255)<<24>>24){c=0;do{j[b+88+(c<<1)>>1]=k[a+332+(c<<2)>>2];c=c+1|0}while((c|0)!=(d>>>24|0))}k[b+108>>2]=k[a+372>>2];k[b+112>>2]=k[a+376>>2];k[b+116>>2]=k[a+380>>2];j[b+120>>1]=k[a+384>>2];j[b+122>>1]=k[a+388>>2];d=j[a+392>>1]|0;i[b+124>>0]=d;if((d&255)<<24>>24){c=0;do{j[b+128+(c<<1)>>1]=k[a+396+(c<<2)>>2];c=c+1|0}while((c|0)!=(d&255|0))}i[b+125>>0]=(d&65535)>>>8;if(!(((d&65535)>>>8&255)<<24>>24)){d=a+500|0;d=i[d>>0]|0;c=b+126|0;i[c>>0]=d;c=a+512|0;c=k[c>>2]|0;d=b+184|0;k[d>>2]=c;d=a+508|0;d=k[d>>2]|0;a=b+4|0;k[a>>2]=d;return}c=0;do{j[b+154+(c<<1)>>1]=k[a+448+(c<<2)>>2];c=c+1|0}while((c|0)!=((d&65535)>>>8&65535|0));d=a+500|0;d=i[d>>0]|0;c=b+126|0;i[c>>0]=d;c=a+512|0;c=k[c>>2]|0;d=b+184|0;k[d>>2]=c;d=a+508|0;d=k[d>>2]|0;a=b+4|0;k[a>>2]=d;return}function gVa(a){a=a|0;var b=0,c=0,d=0;b=k[a>>2]|0;c=k[b+656>>2]|0;d=k[a+40>>2]|0;if(!d)return;a=k[(k[b+656>>2]|0)+2952>>2]|0;b=qSa(k[(k[b+96>>2]|0)+4>>2]|0,591214)|0;if(!((a|0)!=0&(b|0)!=0))return;a=k[a>>2]|0;if(!a)return;b=Gi[a&2047](b)|0;if(!b)return;Si[k[b+8>>2]&1023](k[d>>2]|0);a=k[c+1896>>2]|0;if(!a)return;do{a=a+-1|0;Si[k[b+8>>2]&1023](k[d+4+(a<<2)>>2]|0)}while((a|0)!=0);return}function hVa(a){a=a|0;var b=0,c=0;b=k[a+4>>2]|0;c=k[(k[b+656>>2]|0)+2952>>2]|0;if(!c)return 0;b=qSa(k[(k[b+96>>2]|0)+4>>2]|0,591214)|0;if(!b)return 0;c=Gi[k[c+8>>2]&2047](b)|0;k[(k[a+156>>2]|0)+36>>2]=c;return 0}function iVa(a){a=a|0;k[(k[a+156>>2]|0)+36>>2]=0;return}function jVa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;z=r;r=r+800|0;if(!a){a=37;r=z;return a|0}f=(b|0)==0?d|3:d;w=(f&1|0)==0?b:0;do if(!w)v=k[a+4>>2]|0;else{e=k[a+4>>2]|0;if((k[b>>2]|0)==(e|0)){v=e;break}else{a=35;r=z;return a|0}}while(0);s=v+656|0;t=k[s>>2]|0;if((k[t+1456>>2]|0)==65535)y=11;else{e=k[t+1164>>2]|0;if(!e)y=11;else if(!c){u=0;y=12}else if((k[t+1168>>2]|0)>>>0>>0)e=6;else{e=j[e+(c<<1)>>1]|0;if(!(e<<16>>16))e=6;else{u=e&65535;y=12}}}if((y|0)==11)if((k[t+12>>2]|0)>>>0>c>>>0){u=c;y=12}else e=6;a:do if((y|0)==12){x=(f&1024|0)==0?f:d|3;k[a+164>>2]=65536;k[a+168>>2]=65536;do if(w|0){k[a+164>>2]=k[w+16>>2];k[a+168>>2]=k[w+20>>2];b=k[w>>2]|0;e=k[b+532>>2]|0;b=k[b+104>>2]|0;c=k[w+44>>2]|0;if((c|0)!=-1)if((x&8|0)==0&(k[e+96>>2]|0)!=0){if(xi[k[e+72>>2]&15](v,c,u,x,b,a+76|0,z+776|0)|0)break;j[a+110>>1]=0;j[a+108>>1]=0;k[a+24>>2]=m[z+776+2>>1]<<6;k[a+28>>2]=m[z+776>>1]<<6;s=j[z+776+4>>1]|0;k[a+32>>2]=s<<6;w=j[z+776+6>>1]|0;k[a+36>>2]=w<<6;k[a+40>>2]=m[z+776+8>>1]<<6;t=j[z+776+10>>1]|0;k[a+44>>2]=t<<6;e=j[z+776+12>>1]|0;k[a+48>>2]=e<<6;k[a+52>>2]=m[z+776+14>>1]<<6;k[a+72>>2]=1651078259;k[a+100>>2]=(x&16|0)==0?s:t;k[a+104>>2]=(x&16|0)==0?w:e;e=v+532|0;Bi[k[(k[e>>2]|0)+112>>2]&15](v,0,u,z,z+8|0);k[a+56>>2]=m[z+8>>1];if(!(i[v+292>>0]|0))y=20;else if(!(j[v+330>>1]|0))y=20;else{Bi[k[(k[e>>2]|0)+112>>2]&15](v,1,u,z,z+8|0);k[a+60>>2]=m[z+8>>1]}do if((y|0)==20)if((j[v+364>>1]|0)==-1){y=k[v+220>>2]|0;k[a+60>>2]=(y<<16>>16)-(y>>16);break}else{k[a+60>>2]=(j[v+434>>1]|0)-(j[v+436>>1]|0);break}while(0);e=0;break a}}while(0);if(!(x&16384)){g=k[t+1896>>2]|0;if(!g){k[z+16>>2]=k[t+1372>>2];k[z+16+4>>2]=k[t+1372+4>>2];k[z+16+8>>2]=k[t+1372+8>>2];k[z+16+12>>2]=k[t+1372+12>>2];b=k[t+1396>>2]|0;q=k[t+1400>>2]|0;o=0}else{b:do switch(l[t+2924>>0]|0){case 0:{e=i[(k[t+2932>>2]|0)+u>>0]|0;break}case 3:{if((u-(k[t+2940>>2]|0)|0)>>>0<(k[t+2944>>2]|0)>>>0){e=i[t+2948>>0]|0;break b}c=k[t+2932>>2]|0;b=c+(k[t+2936>>2]|0)|0;e=l[c>>0]<<8|l[c+1>>0];c=c+2|0;while(1){if(e>>>0>u>>>0){e=0;break b}d=c;c=c+3|0;f=e;e=l[d+1>>0]<<8|l[d+2>>0];if(e>>>0>u>>>0)break;if(c>>>0>=b>>>0){e=0;break b}}q=i[d>>0]|0;k[t+2940>>2]=f;k[t+2944>>2]=e-f;i[t+2948>>0]=q;e=q;break}default:e=0}while(0);f=k[t+1392>>2]|0;c=t+1900+((((e&255)>>>0>>0?e:g+255&255)&255)<<2)|0;b=k[c>>2]|0;e=k[b+68>>2]|0;k[z+16>>2]=k[b+48>>2];k[z+16+4>>2]=k[b+48+4>>2];k[z+16+8>>2]=k[b+48+8>>2];k[z+16+12>>2]=k[b+48+12>>2];c=k[c>>2]|0;b=k[c+72>>2]|0;c=k[c+76>>2]|0;if((f|0)==(e|0)){q=c;o=0}else{q=S2a(k[a+164>>2]|0,f,e)|0;k[a+164>>2]=q;q=S2a(k[a+168>>2]|0,f,e)|0;k[a+168>>2]=q;q=c;o=1}}j[a+110>>1]=0;j[a+108>>1]=0;i[a+160>>0]=x>>>1&1^1;i[a+161>>0]=x&1^1;k[a+72>>2]=1869968492;e=k[s>>2]|0;vBb(z+32|0,0,740)|0;i[z+32+65>>0]=1;k[z+32+4>>2]=v;k[z+32+8>>2]=a;k[z+32>>2]=k[v+100>>2];p=k[k[a+156>>2]>>2]|0;k[z+32+12>>2]=p;k[z+32+16>>2]=p+20;k[z+32+20>>2]=p+56;a3a(p);k[z+32+72>>2]=0;k[z+32+68>>2]=0;if(w|0?((x>>>1&1^1)&255)<<24>>24!=0:0){k[z+32+72>>2]=k[k[w+40>>2]>>2];k[z+32+68>>2]=k[(k[a+156>>2]|0)+36>>2]}c=z+32+24|0;k[c>>2]=0;k[c+4>>2]=0;k[c+8>>2]=0;k[c+12>>2]=0;k[c+16>>2]=0;k[c+20>>2]=0;k[z+32+76>>2]=e;c=k[e+92>>2]|0;k[z+32+700>>2]=c;k[z+32+716>>2]=k[e+1308>>2];if((k[e+1368>>2]|0)==1)e=0;else if(c>>>0<1240)e=107;else e=c>>>0<33900?1131:32768;k[z+32+708>>2]=e;k[z+32+728>>2]=x>>>16&15;if(x&256|0)i[z+32+561>>0]=1;i[z+32+66>>0]=0;p=v+128|0;e=k[(k[p>>2]|0)+48>>2]|0;if(!e)e=YUa((k[s>>2]|0)+1176|0,u,z+8|0,z)|0;else{e=Ri[k[k[e>>2]>>2]&255](k[e+4>>2]|0,u,z+776|0)|0;k[z+8>>2]=k[z+776>>2];k[z>>2]=k[z+776+4>>2]}do if(!e){h=k[(k[z+32+4>>2]|0)+656>>2]|0;n=k[h+1896>>2]|0;if(!n)e=h+1324|0;else{c:do switch(l[h+2924>>0]|0){case 0:{e=i[(k[h+2932>>2]|0)+u>>0]|0;break}case 3:{if((u-(k[h+2940>>2]|0)|0)>>>0<(k[h+2944>>2]|0)>>>0){e=i[h+2948>>0]|0;break c}f=k[h+2932>>2]|0;c=f+(k[h+2936>>2]|0)|0;e=l[f>>0]<<8|l[f+1>>0];f=f+2|0;while(1){if(e>>>0>u>>>0){e=0;break c}g=f;f=f+3|0;d=e;e=l[g+1>>0]<<8|l[g+2>>0];if(e>>>0>u>>>0)break;if(f>>>0>=c>>>0){e=0;break c}}g=i[g>>0]|0;k[h+2940>>2]=d;k[h+2944>>2]=e-d;i[h+2948>>0]=g;e=g;break}default:e=0}while(0);c=e&255;if(c>>>0>=n>>>0){e=3;break}e=k[h+1900+(c<<2)>>2]|0;if(w|0?(k[z+32+68>>2]|0)!=0:0)k[z+32+72>>2]=k[(k[w+40>>2]|0)+4+(c<<2)>>2]}c=k[e+544>>2]|0;k[z+32+696>>2]=c;k[z+32+712>>2]=k[e+568>>2];if((k[(k[z+32+76>>2]|0)+1368>>2]|0)==1)c=0;else if(c>>>0<1240)c=107;else c=c>>>0<33900?1131:32768;k[z+32+704>>2]=c;k[z+32+552>>2]=k[e+528>>2];k[z+32+556>>2]=k[e+532>>2];k[z+32+736>>2]=e;f=k[z>>2]|0;e=kVa(z+32|0,k[z+8>>2]|0,f)|0;if((e&255|0)==164){i[a+160>>0]=0;e=kVa(z+32|0,k[z+8>>2]|0,f)|0;d=1;o=0}else{d=o;o=(x>>>1&1^1)&255}c=k[(k[p>>2]|0)+48>>2]|0;if(!c){c=k[s>>2]|0;if(!(k[c+1204>>2]|0))xTa(k[c+1176>>2]|0,z+8|0)}else{k[z+776>>2]=k[z+8>>2];k[z+776+4>>2]=f;Di[k[(k[c>>2]|0)+4>>2]&511](k[c+4>>2]|0,z+776|0)}if(!e){do if(!(k[(k[p>>2]|0)+48>>2]|0)){e=k[t+1200>>2]|0;if(!e)break;k[a+136>>2]=(k[t+1204>>2]|0)+(k[e+(u<<2)>>2]|0)+-1;k[a+140>>2]=f}else{k[a+136>>2]=0;k[a+140>>2]=0}while(0);e=k[z+32+8>>2]|0;if(e|0){t=k[z+32+16>>2]|0;k[e+108>>2]=k[t>>2];k[e+108+4>>2]=k[t+4>>2];k[e+108+8>>2]=k[t+8>>2];k[e+108+12>>2]=k[t+12>>2];k[e+108+16>>2]=k[t+16>>2]}e=k[(k[p>>2]|0)+48>>2]|0;do if(e|0){c=k[(k[e>>2]|0)+8>>2]|0;if(!c)break;k[z+776>>2]=k[z+32+32>>2];k[z+776+4>>2]=0;k[z+776+8>>2]=k[z+32+40>>2];k[z+776+12>>2]=k[z+32+44>>2];e=nj[c&127](k[e+4>>2]|0,u,0,z+776|0)|0;k[z+32+32>>2]=k[z+776>>2];k[z+32+40>>2]=k[z+776+8>>2];k[z+32+44>>2]=k[z+776+12>>2];if(e|0)break a}while(0);if(x&1024|0){e=k[a+156>>2]|0;k[a+32>>2]=k[z+32+32>>2];k[a+40>>2]=k[z+32+552>>2];k[e+12>>2]=k[z+16>>2];k[e+12+4>>2]=k[z+16+4>>2];k[e+12+8>>2]=k[z+16+8>>2];k[e+12+12>>2]=k[z+16+12>>2];k[e+28>>2]=b;k[e+32>>2]=q;i[e+8>>0]=1;e=0;break a}n=v+250|0;if(!(j[n>>1]|0))e=k[z+32+552>>2]|0;else{j[z>>1]=0;j[z+792>>1]=0;Bi[k[(k[v+532>>2]|0)+112>>2]&15](v,0,u,z,z+792|0);e=m[z+792>>1]|0;k[a+32>>2]=j[z>>1]}k[a+40>>2]=e;k[a+56>>2]=e;i[(k[a+156>>2]|0)+8>>0]=0;do if(!(i[v+292>>0]|0))y=90;else{if(!(j[v+330>>1]|0)){y=90;break}j[z>>1]=0;j[z+792>>1]=0;Bi[k[(k[v+532>>2]|0)+112>>2]&15](v,1,u,z,z+792|0);k[a+48>>2]=j[z>>1];e=m[z+792>>1]|0;k[a+52>>2]=e;g=a+52|0;h=1}while(0);do if((y|0)==90)if((j[v+364>>1]|0)==-1){e=k[v+220>>2]|0;k[a+52>>2]=(e<<16>>16)-(e>>16);g=a+52|0;e=(e<<16>>16)-(e>>16)|0;h=0;break}else{e=(j[v+434>>1]|0)-(j[v+436>>1]|0)|0;k[a+52>>2]=e;g=a+52|0;h=0;break}while(0);k[a+60>>2]=e;k[a+72>>2]=1869968492;k[a+124>>2]=0;do if(w|0){if((m[w+14>>1]|0)>=24){e=4;break}k[a+124>>2]=256;e=260}else e=4;while(0);k[a+124>>2]=e;do if((k[z+16>>2]|0)==65536){if((k[z+16+12>>2]|0)!=65536){y=100;break}if(k[z+16+4>>2]|0){y=100;break}if(k[z+16+8>>2]|0)y=100}else y=100;while(0);if((y|0)==100)XSa(a+108|0,z+16|0);if(q|b|0)VSa(a+108|0,b,q);k[z+8>>2]=k[a+40>>2];k[z+8+4>>2]=0;WSa(z+8|0,z+16|0);k[a+40>>2]=(k[z+8>>2]|0)+b;k[z+8>>2]=0;k[z+8+4>>2]=k[g>>2];WSa(z+8|0,z+16|0);k[g>>2]=(k[z+8+4>>2]|0)+q;if(!((x&1|0)!=0&d<<24>>24==0)){c=k[a+112>>2]|0;f=k[a+164>>2]|0;d=k[a+168>>2]|0;if(!(o<<24>>24))y=106;else if(!(k[z+32+68>>2]|0))y=106;do if((y|0)==106){e=j[a+110>>1]|0;if(e<<16>>16<=0)break;b=e<<16>>16;e=c;while(1){y=U2a(k[e>>2]|0,f)|0;k[e>>2]=y;y=e+4|0;w=U2a(k[y>>2]|0,d)|0;k[y>>2]=w;if((b|0)>1){b=b+-1|0;e=e+8|0}else break}}while(0);y=U2a(k[a+40>>2]|0,f)|0;k[a+40>>2]=y;y=U2a(k[g>>2]|0,d)|0;k[g>>2]=y}USa(a+108|0,z+776|0);e=k[z+776>>2]|0;k[a+24>>2]=(k[z+776+8>>2]|0)-e;b=k[z+776+12>>2]|0;k[a+28>>2]=b-(k[z+776+4>>2]|0);if(!(j[n>>1]|0))k[a+32>>2]=e;k[a+36>>2]=b;do if(h)k[a+44>>2]=(k[a+32>>2]|0)-((k[a+40>>2]|0)/2|0);else{if(!(x&16))break;uSa(a+24|0,k[g>>2]|0)}while(0);e=0;break a}}while(0)}else e=6}while(0);a=e;r=z;return a|0}function kVa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=r;r=r+64|0;k[A+40>>2]=0;f=k[a>>2]|0;e=k[a+76>>2]|0;d=k[e+2972>>2]|0;do if(!d){k[e+2976>>2]=693;d=UTa(f,504,A+40|0)|0;k[(k[a+76>>2]|0)+2972>>2]=d;if(!(k[A+40>>2]|0)){k[d>>2]=f;k[d+100>>2]=0;k[d+100+4>>2]=0;k[d+100+8>>2]=0;k[d+100+12>>2]=0;k[d+100+16>>2]=0;k[d+100+20>>2]=0;k[d+100+24>>2]=0;k[d+100+28>>2]=0;k[d+120>>2]=f;k[d+124>>2]=d+4;k[d+100>>2]=221;k[d+104>>2]=222;k[d+112>>2]=223;break}else{z=64;r=A;return z|0}}while(0);q=d+132|0;k[q>>2]=a;z=d+128|0;k[z>>2]=a;f=k[(k[a+4>>2]|0)+96>>2]|0;k[A>>2]=0;k[A+4>>2]=0;k[A+12>>2]=b;k[A+4>>2]=b;k[A+8>>2]=b+c;k[A+16>>2]=0;k[A+16+4>>2]=0;k[A+16+8>>2]=0;k[A+16+12>>2]=0;k[A+16+16>>2]=0;k[A+16+20>>2]=0;e=k[a+8>>2]|0;c=j[e+160>>1]|0;if(!((c&255)<<24>>24)){k[A+16>>2]=1024;e=1024}else{k[A+16>>2]=((k[e+164>>2]|0)+32|0)/64|0;e=((k[e+168>>2]|0)+32|0)/64|0}k[A+16+12>>2]=e;g=d+8|0;k[g>>2]=(c&255)<<24>>24==0^1;if((c&65535)>=256)if(!(i[f+32>>0]|0))k[g>>2]=(c&255)<<24>>24==0^1|2;p=d+144|0;k[p>>2]=k[f+36>>2];k[d+148>>2]=k[f+40>>2];k[d+152>>2]=k[f+44>>2];k[d+156>>2]=k[f+48>>2];k[d+160>>2]=k[f+52>>2];k[d+164>>2]=k[f+56>>2];k[d+168>>2]=k[f+60>>2];k[d+172>>2]=k[f+64>>2];b=j[(k[a+4>>2]|0)+68>>1]|0;a=d+88|0;k[a>>2]=b&65535;if((c&65535)<256)s=14;else{e=k[A+16>>2]|0;f=k[A+16+12>>2]|0;if((e|0)<1|(f|0)<1)d=36;else if(b<<16>>16<0)d=164;else{y=V2a(131072e3,(b&65535)<<16)|0;if((e|0)>(y|0)|(f|0)>(y|0))d=164;else s=14}}a:do if((s|0)==14){k[A+44>>2]=0;k[A+48>>2]=k[A+16+16>>2];k[A+48+4>>2]=k[A+16+20>>2];n=k[q>>2]|0;h=k[d+92>>2]|0;o=k[d+96>>2]|0;y=d+4|0;k[y>>2]=0;e=k[n+736>>2]|0;f=d+136|0;if((k[f>>2]|0)==(e|0))f=0;else{k[f>>2]=e;f=1}c=m[(k[(k[n+4>>2]|0)+88>>2]|0)+14>>1]<<16;e=d+84|0;if((k[e>>2]|0)!=(c|0)){k[e>>2]=c;f=1}b=k[g>>2]|0;i[d+140>>0]=b&1;e=d+12|0;if(Emb(A+16|0,e,16)|0){k[e>>2]=k[A+16>>2];k[e+4>>2]=k[A+16+4>>2];k[e+8>>2]=k[A+16+8>>2];k[e+12>>2]=k[A+16+12>>2];k[d+32>>2]=0;k[d+28>>2]=0;f=d+36|0;k[f>>2]=k[A+16>>2];k[f+4>>2]=k[A+16+4>>2];k[f+8>>2]=k[A+16+8>>2];k[f+12>>2]=k[A+16+12>>2];k[f+16>>2]=k[A+16+16>>2];k[f+20>>2]=k[A+16+20>>2];k[d+72>>2]=65536;k[d+60>>2]=65536;k[d+68>>2]=0;k[d+64>>2]=0;f=1}x=d+142|0;if((l[x>>0]|0)==(b&2|0)){if(f<<24>>24)s=23}else{i[x>>0]=b&2;s=23}b:do if((s|0)==23){a=k[a>>2]|0;a=(a|0)==0?1e3:a;c=(c|0)<262144?262144:c;e=k[(k[n+736>>2]|0)+388>>2]<<16;b=d+176|0;k[b>>2]=e;if((e|0)<1){e=V2a(4915200,65536e3/(a|0)|0)|0;k[b>>2]=e}if((h|0)>0){if((h|0)>(V2a(a<<16,c)|0))f=h;else f=V2a(a<<16,c)|0;e=d+184|0;k[e>>2]=0;if(!((65536e3/(a|0)|0|0)<655|(f|0)==0))k[e>>2]=(f|0)/2|0}else qVa(65536e3/(a|0)|0,c,e,d+184|0,0,i[x>>0]|0,p);e=k[(k[n+736>>2]|0)+384>>2]|0;if((e&65535)<<16>>16>0)if((k[b>>2]|0)>(e<<17|0)){e=V2a(4915200,65536e3/(a|0)|0)|0;k[d+180>>2]=e}else s=34;else s=34;if((s|0)==34){e=V2a(7208960,65536e3/(a|0)|0)|0;k[d+180>>2]=e}t=d+188|0;qVa(65536e3/(a|0)|0,c,e,t,o,i[x>>0]|0,p);if(!(k[d+184>>2]|0))if(!(k[t>>2]|0))i[d+141>>0]=0;else s=37;else s=37;if((s|0)==37)i[d+141>>0]=1;i[d+192>>0]=0;w=d+196|0;s=k[q>>2]|0;vBb(w|0,0,308)|0;k[w>>2]=k[d+48>>2];u=d+208|0;q=V2a(k[(k[s+736>>2]|0)+372>>2]|0,65536e3)|0;k[u>>2]=q;s=k[s+736>>2]|0;k[d+212>>2]=k[s+376>>2]<<16;k[d+216>>2]=k[s+380>>2]<<16;q=k[s+176>>2]|0;c:do if((k[s+512>>2]|0)==1){switch(q&255|0){case 0:break;case 4:{if((k[s+180>>2]&65535)<<16>>16>=-120)break c;if((k[s+184>>2]&65535)<<16>>16>=-120)break c;if((k[s+188>>2]&65535)<<16>>16<=880)break c;if((k[s+192>>2]&65535)<<16>>16<=880)break c;break}default:break c}k[d+252>>2]=-7864321;x=((U2a(-7864321,k[w>>2]|0)|0)+32768&-65536)+-32768|0;k[d+256>>2]=x;x=k[w>>2]|0;k[d+260>>2]=x;k[d+244>>2]=49;v=(k[t>>2]<<1)+57671681|0;k[d+232>>2]=v;x=(U2a(v,x)|0)+32768&-65536|32768;k[d+236>>2]=x;k[d+240>>2]=k[w>>2];k[d+224>>2]=50;i[d+205>>0]=1;break b}while(0);v=d+200|0;if(!((q&255)<<24>>24))e=0;else{f=k[v>>2]|0;g=0;e=0;do{k[d+264+(f*20|0)>>2]=k[s+180+(g<<2)>>2]<<16;k[d+264+((k[v>>2]|0)*20|0)+4>>2]=k[s+180+((g|1)<<2)>>2]<<16;f=k[v>>2]|0;b=d+264+(f*20|0)+4|0;c=k[b>>2]|0;a=c-(k[d+264+(f*20|0)>>2]|0)|0;if((a|0)>=0){if(!g){i[d+264+(f*20|0)+16>>0]=1;p=k[v>>2]|0;k[d+264+(p*20|0)+8>>2]=k[d+264+(p*20|0)+4>>2]}else{o=k[t>>2]<<1;k[b>>2]=o+c;p=d+264+((k[v>>2]|0)*20|0)|0;k[p>>2]=(k[p>>2]|0)+o;i[d+264+((k[v>>2]|0)*20|0)+16>>0]=0;p=k[v>>2]|0;k[d+264+(p*20|0)+8>>2]=k[d+264+(p*20|0)>>2]}f=(k[v>>2]|0)+1|0;k[v>>2]=f;e=(a|0)>(e|0)?a:e}g=g+2|0}while(g>>>0<(q&255)>>>0)}if(!((q&65535)>>>8<<16>>16))p=e;else{f=k[v>>2]|0;c=0;do{k[d+264+(f*20|0)>>2]=k[s+236+(c<<2)>>2]<<16;k[d+264+((k[v>>2]|0)*20|0)+4>>2]=k[s+236+((c|1)<<2)>>2]<<16;f=k[v>>2]|0;b=(k[d+264+(f*20|0)+4>>2]|0)-(k[d+264+(f*20|0)>>2]|0)|0;if((b|0)>=0){i[d+264+(f*20|0)+16>>0]=1;f=k[v>>2]|0;k[d+264+(f*20|0)+8>>2]=k[d+264+(f*20|0)+4>>2];f=(k[v>>2]|0)+1|0;k[v>>2]=f;e=(b|0)>(e|0)?b:e}c=c+2|0}while(c>>>0<((q&65535)>>>8&65535)>>>0);p=e}o=V2a(65536,k[w>>2]|0)|0;e=k[v>>2]|0;d:do if(e|0){if((q>>>16&255)<=1){if(q>>>24|0)h=0;else break;while(1){a=d+264+(h*20|0)+8|0;g=k[a>>2]|0;if(i[d+264+(h*20|0)+16>>0]|0){c=0;b=2147483647;while(1){f=k[s+332+((c|1)<<2)>>2]<<16;e=(g-f|0)<0?0-(g-f)|0:g-f|0;if((e|0)<(b|0)&(e|0)<(o|0)){k[a>>2]=f;if(!e)break}else e=b;c=c+2|0;if(c>>>0>=q>>>24>>>0)break;else b=e}e=k[v>>2]|0}h=h+1|0;if(h>>>0>=e>>>0)break d}}if(!(q>>>24)){if((q>>>16&255)>2)n=0;else{c=0;while(1){f=d+264+(c*20|0)+8|0;do if(i[d+264+(c*20|0)+16>>0]|0){b=k[s+280>>2]<<16;t=(k[f>>2]|0)-b|0;t=(t|0)<0?0-t|0:t;if(!((t|0)!=2147483647&(t|0)<(o|0)))break;k[f>>2]=b;e=k[v>>2]|0}while(0);c=c+1|0;if(c>>>0>=e>>>0)break d}}while(1){g=d+264+(n*20|0)+8|0;h=k[g>>2]|0;e:do if(!(i[d+264+(n*20|0)+16>>0]|0)){c=k[t>>2]<<1;a=2;b=2147483647;while(1){f=(k[s+276+(a<<2)>>2]<<16)+c|0;e=(h-f|0)<0?0-(h-f)|0:h-f|0;if((e|0)<(b|0)&(e|0)<(o|0)){k[g>>2]=f;if(!e)break e}else e=b;a=a+2|0;if(a>>>0>=(q>>>16&255)>>>0)break;else b=e}}else{e=k[s+280>>2]<<16;h=(h-e|0)<0?0-(h-e)|0:h-e|0;if(!((h|0)!=2147483647&(h|0)<(o|0)))break;k[g>>2]=e}while(0);n=n+1|0;if(n>>>0>=(k[v>>2]|0)>>>0)break d}}if((q>>>16&255)>2)n=0;else{h=0;while(1){a=d+264+(h*20|0)+8|0;g=k[a>>2]|0;do if(i[d+264+(h*20|0)+16>>0]|0){c=0;b=2147483647;while(1){f=k[s+332+((c|1)<<2)>>2]<<16;e=(g-f|0)<0?0-(g-f)|0:g-f|0;if((e|0)<(b|0)&(e|0)<(o|0)){k[a>>2]=f;if(!e){f=0;break}}else e=b;c=c+2|0;if(c>>>0>=q>>>24>>>0){f=e;break}else b=e}e=k[s+280>>2]<<16;t=(g-e|0)<0?0-(g-e)|0:g-e|0;if(!((t|0)<(f|0)&(t|0)<(o|0)))break;k[a>>2]=e}while(0);h=h+1|0;if(h>>>0>=(k[v>>2]|0)>>>0)break d}}do{g=d+264+(n*20|0)+8|0;h=k[g>>2]|0;f:do if(!(i[d+264+(n*20|0)+16>>0]|0)){c=k[t>>2]<<1;a=2;b=2147483647;while(1){f=(k[s+276+(a<<2)>>2]<<16)+c|0;e=(h-f|0)<0?0-(h-f)|0:h-f|0;if((e|0)<(b|0)&(e|0)<(o|0)){k[g>>2]=f;if(!e)break f}else e=b;a=a+2|0;if(a>>>0>=(q>>>16&255)>>>0)break;else b=e}}else{c=0;b=2147483647;while(1){f=k[s+332+((c|1)<<2)>>2]<<16;e=(h-f|0)<0?0-(h-f)|0:h-f|0;if((e|0)<(b|0)&(e|0)<(o|0)){k[g>>2]=f;if(!e){f=0;break}}else e=b;c=c+2|0;if(c>>>0>=q>>>24>>>0){f=e;break}else b=e}e=k[s+280>>2]<<16;h=(h-e|0)<0?0-(h-e)|0:h-e|0;if(!((h|0)<(f|0)&(h|0)<(o|0)))break;k[g>>2]=e}while(0);n=n+1|0}while(n>>>0<(k[v>>2]|0)>>>0)}while(0);do if((p|0)>0){t=k[u>>2]|0;if((t|0)<=(V2a(65536,p)|0))break;t=V2a(65536,p)|0;k[u>>2]=t}while(0);f=k[w>>2]|0;e=k[u>>2]|0;if((f|0)<(e|0)){i[d+204>>0]=1;u=39322-(S2a(39322,f,e)|0)|0;k[d+220>>2]=(u|0)>32767?32767:u}if(i[x>>0]|0)k[d+220>>2]=0;if(!(k[v>>2]|0))break;e=d+220|0;f=0;do{u=(i[d+264+(f*20|0)+16>>0]|0)==0;t=U2a(k[d+264+(f*20|0)+8>>2]|0,k[w>>2]|0)|0;x=k[e>>2]|0;k[d+264+(f*20|0)+12>>2]=t+32768+(u?x:0-x|0)&-65536;f=f+1|0}while(f>>>0<(k[v>>2]|0)>>>0)}while(0);g:do if(!(k[y>>2]|0)){e=d+192|0;i[e>>0]=0;f=d+116|0;b=d+100|0;c=i[d+141>>0]|0;while(1){x=k[z>>2]|0;k[f>>2]=0;a3a(k[x+12>>2]|0);rVa(d,A,b,A+48|0,0,0,0,A+44|0);if(k[y>>2]|0)break g;if(!(c<<24>>24))break;if((k[f>>2]|0)>-1)break;i[e>>0]=1;c=0}f=k[z>>2]|0;b=k[f+20>>2]|0;do if(b|0){c=k[b>>2]|0;if((c&65535)<<16>>16<2)a=0;else a=(j[(k[b+12>>2]|0)+((c<<16>>16)+-2<<1)>>1]|0)+1|0;if((c>>>16&65535)<<16>>16>1){d=k[b+4>>2]|0;e=(k[b+8>>2]|0)+(c>>16)+-1|0;if((k[d+(a<<3)>>2]|0)==(k[d+(c>>16<<3)+-8>>2]|0))if((k[d+(a<<3)+4>>2]|0)==(k[d+(c>>16<<3)+-8+4>>2]|0))if((i[e>>0]|0)==1){j[b+2>>1]=(c>>>16&65535)+-1<<16>>16;d=(c>>>16&65535)+-1<<16>>16}else d=c>>>16&65535;else d=c>>>16&65535;else d=c>>>16&65535}else d=c>>>16&65535;if((c&65535)<<16>>16>0){e=(d<<16>>16)+-1|0;if((a|0)==(e|0)){j[b>>1]=(c&65535)+-1<<16>>16;j[b+2>>1]=d+-1<<16>>16;break}else{j[(k[b+12>>2]|0)+((c<<16>>16)+-1<<1)>>1]=e;break}}}while(0);g3a(k[f+12>>2]|0);if(!(k[y>>2]|0)){d=k[A+44>>2]|0;k[y>>2]=0;k[(k[z>>2]|0)+552>>2]=d+32768>>16;d=0;break a}}while(0);d=3}while(0);z=d;r=A;return z|0}function lVa(a){a=a|0;return}function mVa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=k[a+28>>2]|0;c=k[d+20>>2]|0;if(!c){f=d+64|0;i[f>>0]=0;return}f=k[c>>2]|0;if((f&65535)<<16>>16<2)e=0;else e=(j[(k[c+12>>2]|0)+((f<<16>>16)+-2<<1)>>1]|0)+1|0;if((f>>>16&65535)<<16>>16>1){a=k[c+4>>2]|0;b=(k[c+8>>2]|0)+(f>>16)+-1|0;if((k[a+(e<<3)>>2]|0)==(k[a+(f>>16<<3)+-8>>2]|0))if((k[a+(e<<3)+4>>2]|0)==(k[a+(f>>16<<3)+-8+4>>2]|0))if((i[b>>0]|0)==1){j[c+2>>1]=(f>>>16&65535)+-1<<16>>16;a=(f>>>16&65535)+-1<<16>>16}else a=f>>>16&65535;else a=f>>>16&65535;else a=f>>>16&65535}else a=f>>>16&65535;if((f&65535)<<16>>16<=0){f=d+64|0;i[f>>0]=0;return}b=(a<<16>>16)+-1|0;if((e|0)==(b|0)){j[c>>1]=(f&65535)+-1<<16>>16;j[c+2>>1]=a+-1<<16>>16;f=d+64|0;i[f>>0]=0;return}else{j[(k[c+12>>2]|0)+((f<<16>>16)+-1<<1)>>1]=b;f=d+64|0;i[f>>0]=0;return}}function nVa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=k[a+28>>2]|0;if(!(i[f+64>>0]|0)){c=oVa(f,k[b>>2]|0,k[b+4>>2]|0)|0;if(c|0){b=k[a+24>>2]|0;if(k[b>>2]|0)return;k[b>>2]=c;return}}e=k[b+8>>2]|0;d=k[b+12>>2]|0;b=k[f+12>>2]|0;if(((j[b+22>>1]|0)+1+(j[b+58>>1]|0)|0)>>>0>(k[b+4>>2]|0)>>>0){c=d3a(b,1,0)|0;if(c|0){b=k[a+24>>2]|0;if(k[b>>2]|0)return;k[b>>2]=c;return}}b=k[f+20>>2]|0;if(!(i[f+65>>0]|0))b=b+2|0;else{c=k[b+4>>2]|0;a=j[b+2>>1]|0;f=(k[b+8>>2]|0)+a|0;k[c+(a<<3)>>2]=e>>10;k[c+(a<<3)+4>>2]=d>>10;i[f>>0]=1;b=b+2|0}j[b>>1]=(j[b>>1]|0)+1<<16>>16;return}function oVa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=j[a+64>>1]|0;if((d&255)<<24>>24){c=0;return c|0}i[a+64>>0]=1;e=k[a+20>>2]|0;if((d&65535)<256){j[e>>1]=(j[e>>1]|0)+1<<16>>16;d=a+12|0}else{d=k[a+12>>2]|0;if(((j[d+20>>1]|0)+1+(j[d+56>>1]|0)|0)>>>0>(k[d+8>>2]|0)>>>0){d=d3a(d,0,1)|0;if(d|0){c=d;return c|0}}d=k[e>>2]|0;if((d&65535)<<16>>16>0){j[(k[e+12>>2]|0)+((d<<16>>16)+-1<<1)>>1]=(d>>>16)+65535;d=j[e>>1]|0}else d=d&65535;j[e>>1]=d+1<<16>>16;d=a+12|0}d=k[d>>2]|0;if(((j[d+22>>1]|0)+1+(j[d+58>>1]|0)|0)>>>0>(k[d+4>>2]|0)>>>0){d=d3a(d,1,0)|0;if(d|0){c=d;return c|0}}d=k[a+20>>2]|0;if(!(i[a+65>>0]|0))d=d+2|0;else{f=k[d+4>>2]|0;e=j[d+2>>1]|0;a=(k[d+8>>2]|0)+e|0;k[f+(e<<3)>>2]=b>>10;k[f+(e<<3)+4>>2]=c>>10;i[a>>0]=1;d=d+2|0}j[d>>1]=(j[d>>1]|0)+1<<16>>16;f=0;return f|0}function pVa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;e=k[a+28>>2]|0;if(!(i[e+64>>0]|0)){d=oVa(e,k[b>>2]|0,k[b+4>>2]|0)|0;if(d|0){c=k[a+24>>2]|0;if(k[c>>2]|0)return;k[c>>2]=d;return}}c=k[e+12>>2]|0;if(((j[c+22>>1]|0)+3+(j[c+58>>1]|0)|0)>>>0>(k[c+4>>2]|0)>>>0){d=d3a(c,3,0)|0;if(d|0){c=k[a+24>>2]|0;if(k[c>>2]|0)return;k[c>>2]=d;return}}c=k[e+20>>2]|0;if(!(i[e+65>>0]|0)){j[c+2>>1]=(j[c+2>>1]|0)+1<<16>>16;f=12}else{h=k[b+12>>2]|0;g=k[c+4>>2]|0;a=j[c+2>>1]|0;d=(k[c+8>>2]|0)+a|0;k[g+(a<<3)>>2]=k[b+8>>2]>>10;k[g+(a<<3)+4>>2]=h>>10;i[d>>0]=2;d=k[e+20>>2]|0;a=(i[e+65>>0]|0)==0;j[c+2>>1]=(j[c+2>>1]|0)+1<<16>>16;if(a){c=d;f=12}else{a=k[b+20>>2]|0;g=k[d+4>>2]|0;h=j[d+2>>1]|0;c=(k[d+8>>2]|0)+h|0;k[g+(h<<3)>>2]=k[b+16>>2]>>10;k[g+(h<<3)+4>>2]=a>>10;i[c>>0]=2;c=k[e+20>>2]|0;h=(i[e+65>>0]|0)==0;j[d+2>>1]=(j[d+2>>1]|0)+1<<16>>16;if(h)f=14;else{a=k[b+28>>2]|0;e=k[c+4>>2]|0;g=j[c+2>>1]|0;h=(k[c+8>>2]|0)+g|0;k[e+(g<<3)>>2]=k[b+24>>2]>>10;k[e+(g<<3)+4>>2]=a>>10;i[h>>0]=1;c=c+2|0}}}if((f|0)==12){h=c+2|0;j[h>>1]=(j[h>>1]|0)+1<<16>>16;f=14}if((f|0)==14)c=c+2|0;j[c>>1]=(j[c>>1]|0)+1<<16>>16;return}function qVa(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0;k[d>>2]=0;if((a|0)<655|((e|0)!=0|f<<24>>24!=0)^1)return;if(f<<24>>24){h=k[g>>2]|0;i=k[g+4>>2]|0;j=k[g+8>>2]|0;l=k[g+12>>2]|0;o=k[g+16>>2]|0;p=k[g+20>>2]|0;q=k[g+24>>2]|0;n=k[g+28>>2]|0;g=U2a(e+c|0,a)|0;if((62-(ja(b|0)|0)-(ja(g|0)|0)|0)>45)f=q<<16;else f=U2a(g,b)|0;a:do if((f|0)<(h<<16|0)){f=V2a(i<<16,b)|0;k[d>>2]=f}else{if((f|0)<(j<<16|0)){f=V2a(h<<16,b)|0;if((j|0)==(h|0))m=12;else{f=S2a(g-f|0,l-i|0,j-h|0)|0;f=(V2a(i<<16,b)|0)+f|0;k[d>>2]=f;break}}else if((f|0)<(o<<16|0))m=12;else if((f|0)<(q<<16|0)){f=o<<16;m=16}do if((m|0)==12){f=V2a(j<<16,b)|0;if((o|0)==(j|0)){f=o<<16;m=16;break}else{f=S2a(g-f|0,p-l|0,o-j|0)|0;f=(V2a(l<<16,b)|0)+f|0;k[d>>2]=f;break a}}while(0);if((m|0)==16){f=V2a(f,b)|0;if((q|0)!=(o|0)){f=S2a(g-f|0,n-p|0,q-o|0)|0;f=(V2a(p<<16,b)|0)+f|0;k[d>>2]=f;break}}f=V2a(n<<16,b)|0;k[d>>2]=f}while(0);f=V2a(f,a<<1)|0;k[d>>2]=f}else f=0;k[d>>2]=f+((e|0)/2|0);return}function rVa(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var m=0,n=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0;Y=r;r=r+19600|0;k[Y+11908>>2]=f;k[Y+11904>>2]=g;O=k[a+132>>2]|0;U=k[a>>2]|0;D=k[a+48>>2]|0;H=k[(k[O+736>>2]|0)+532>>2]<<16;k[Y+11872>>2]=U;k[Y+11872+4>>2]=a+4;k[Y+11872+8>>2]=20;k[Y+11872+12>>2]=0;k[Y+11872+16>>2]=10;k[Y+11872+20>>2]=0;k[Y+11872+24>>2]=0;k[Y+11872+28>>2]=0;k[Y+11840>>2]=U;k[Y+11840+4>>2]=a+4;k[Y+11840+8>>2]=20;k[Y+11840+12>>2]=0;k[Y+11840+16>>2]=10;k[Y+11840+20>>2]=0;k[Y+11840+24>>2]=0;k[Y+11840+28>>2]=0;k[Y+11808>>2]=0;k[Y+11808+4>>2]=0;k[Y+11808+8>>2]=0;k[Y+11808+12>>2]=0;k[Y+11808+16>>2]=0;k[Y+11808+20>>2]=0;k[Y+11808+24>>2]=0;k[Y+11808>>2]=a+4;vBb(Y+24|0,0,11784)|0;k[Y+24>>2]=a;k[Y+24+4>>2]=c;k[(Y+24+11612|0)>>2]=U;k[Y+24+11616>>2]=a+4;k[Y+24+11620>>2]=8;k[Y+24+11624>>2]=0;k[Y+24+11628>>2]=10;k[Y+24+11632>>2]=0;k[Y+24+11636>>2]=0;k[Y+24+11640>>2]=0;vBb(Y+24+7744|0|0,0,3868)|0;T=j[a+140>>1]|0;i[Y+24+7757>>0]=T;k[Y+24+7760>>2]=D;k[(Y+24+7744|0)>>2]=a;k[Y+24+7748>>2]=Y+24+7744|0;k[Y+24+7752>>2]=Y+24+11612|0;vBb(Y+24+3876|0|0,0,3868)|0;i[Y+24+3889>>0]=T;k[Y+24+3892>>2]=D;k[(Y+24+3876|0)>>2]=a;k[Y+24+3880>>2]=Y+24+7744|0;k[Y+24+3884>>2]=Y+24+11612|0;vBb(Y+24+8|0|0,0,3868)|0;i[Y+24+21>>0]=T;k[Y+24+24>>2]=D;k[(Y+24+8|0)>>2]=a;k[Y+24+12>>2]=Y+24+7744|0;k[Y+24+16>>2]=Y+24+11612|0;k[Y+24+11644>>2]=k[a+36>>2];k[Y+24+11648>>2]=k[a+44>>2];k[Y+24+11652>>2]=k[a+48>>2];S=k[d+4>>2]|0;k[Y+24+11656>>2]=k[d>>2];k[Y+24+11656+4>>2]=S;k[Y+24+11668>>2]=Y+11872;k[Y+24+11672>>2]=Y+11840;k[Y+24+11676>>2]=Y+11808;k[Y+24+11680>>2]=g;k[Y+24+11684>>2]=a+196;i[Y+24+11666>>0]=(T&65535)>>>8;T=k[a+184>>2]|0;k[Y+24+11688>>2]=T;S=k[a+188>>2]|0;k[Y+24+11692>>2]=S;T=(T|0)<0?0-T|0:T;S=(S|0)<0?0-S|0:S;k[Y+24+11696>>2]=((T|0)>(S|0)?T:S)<<1;k[Y+24+11700>>2]=6554;i[(Y+24+11667|0)>>0]=1;i[(Y+24+11664|0)>>0]=0;i[(Y+24+11665|0)>>0]=0;i[(Y+24+11744|0)>>0]=0;i[Y+15812>>0]=0;k[h>>2]=k[(k[O+736>>2]|0)+528>>2]<<16;k[Y+11944>>2]=0;S=VTa(U,396,Y+11944|0)|0;if(!(k[Y+11944>>2]|0)){k[S>>2]=U;k[S+4>>2]=a+4;k[S+392>>2]=S+8;V=(S|0)==0;N=4}else if(!S){G=1;E=64;F=0;N=779}else{V=0;N=4}a:do if((N|0)==4){k[Y+11944>>2]=0;T=WTa(U,1,0,272,0,Y+11944|0)|0;if(!(k[Y+11944>>2]|0))B=17;else if(!(k[a+4>>2]|0)){k[a+4>>2]=64;B=0}else B=0;k[T>>2]=k[b>>2];k[T+4>>2]=k[b+4>>2];k[T+8>>2]=k[b+8>>2];k[T+12>>2]=k[b+12>>2];R=1;if(R){R=0;if(!(k[a+4>>2]|0)){z=T;A=0;u=2e7;b:while(1){q=z+8|0;s=k[q>>2]|0;t=z+12|0;f=k[t>>2]|0;if(f>>>0>>0){k[t>>2]=f+1;p=f+1|0;x=l[f>>0]|0}else{p=f;x=(A|0)==0?14:11}if(k[a+4>>2]|0){W=V;X=T;break a}y=u+-1|0;if(!y){G=V;E=18;F=T;N=779;break a}c:do{b=1;n=x|0;if(b){b=0;switch(n|0){case 14:break b;case 17:case 16:case 15:case 13:case 9:case 2:case 0:break;case 1:case 18:{if(!(i[Y+11808+4>>0]|0)){sVa(a,S,Y+11872|0,h,Y+15812|0);if(i[(k[a+132>>2]|0)+561>>0]|0){G=V;E=0;F=T;N=779;break a}}break}case 3:case 23:{if(!(i[Y+11808+4>>0]|0)){sVa(a,S,Y+11840|0,h,Y+15812|0);if(i[(k[a+132>>2]|0)+561>>0]|0){G=V;E=0;F=T;N=779;break a}}break}case 4:{g=k[S+392>>2]|0;if(!((i[Y+15812>>0]|0)!=0|g-(S+8|0)>>3>>>0<2)){d:do if(!(g-(S+8|0)>>3)){f=k[S+4>>2]|0;if(!f)f=0;else if(!(k[f>>2]|0)){k[f>>2]=130;f=0}else f=0}else switch(k[S+12>>2]|0){case 2:{f=k[S+8>>2]<<16;break d}case 1:{f=k[S+8>>2]|0;if((f|0)<0){f=0-(8192-f>>14)|0;break d}else{f=f+8192>>14;break d}}default:{f=k[S+8>>2]|0;break d}}while(0);k[h>>2]=f+H}i[Y+15812>>0]=1;if(i[(k[a+132>>2]|0)+561>>0]|0){G=V;E=0;F=T;N=779;break a}e:do if((g|0)==(S+8|0)){f=k[S+4>>2]|0;if(!f)f=0;else if(!(k[f>>2]|0)){k[f>>2]=161;f=0}else f=0}else{k[S+392>>2]=g+-8;switch(k[g+-4>>2]|0){case 2:{f=k[g+-8>>2]<<16;break e}case 1:{f=k[g+-8>>2]|0;if((f|0)<0){f=0-(8192-f>>14)|0;break e}else{f=f+8192>>14;break e}}default:{f=k[g+-8>>2]|0;break e}}}while(0);f=(k[Y+11904>>2]|0)+f|0;k[Y+11904>>2]=f;g=k[Y+11908>>2]|0;if(i[(Y+24+11664|0)>>0]|0){i[(Y+24+11665|0)>>0]=1;uVa(Y+24|0,k[(Y+24+11736|0)>>2]|0,k[(Y+24+11740|0)>>2]|0);if(i[(Y+24+11744|0)>>0]|0)xVa(Y+24|0,Y+24+8|0,Y+24+11704|0,k[Y+24+11712>>2]|0,k[Y+24+11716>>2]|0,1);i[(Y+24+11667|0)>>0]=1;i[(Y+24+11664|0)>>0]=0;i[(Y+24+11665|0)>>0]=0;i[(Y+24+11744|0)>>0]=0}k[(Y+24+11736|0)>>2]=g;k[Y+24+11720>>2]=g;k[(Y+24+11740|0)>>2]=f;k[Y+24+11724>>2]=f;i[(Y+24+11667|0)>>0]=1;f=k[Y+24+11676>>2]|0;if(!(i[Y+24+20>>0]|0))N=49;else if(i[f+5>>0]|0)N=49;if((N|0)==49){N=0;zVa(Y+24+8|0,k[Y+24+11668>>2]|0,k[Y+24+11672>>2]|0,f,k[Y+24+11680>>2]|0,0)}ABb(Y+24+3876|0|0,Y+24+8|0|0,3868)|0;break}case 5:{p=k[S+392>>2]|0;f:do if(p-(S+8|0)>>3|0){g=p;f=0;while(1){b=g-(S+8|0)>>3;g:do if(b>>>0>f>>>0){g=S+8+(f<<3)|0;switch(k[S+8+(f<<3)+4>>2]|0){case 2:{g=k[g>>2]<<16;break g}case 1:{g=k[g>>2]|0;if((g|0)<0){g=0-(8192-g>>14)|0;break g}else{g=g+8192>>14;break g}}default:{g=k[g>>2]|0;break g}}}else{g=k[S+4>>2]|0;if(!g)g=0;else if(!(k[g>>2]|0)){k[g>>2]=130;g=0}else g=0}while(0);n=(k[Y+11908>>2]|0)+g|0;k[Y+11908>>2]=n;g=f|1;h:do if(b>>>0>g>>>0)switch(k[S+8+(g<<3)+4>>2]|0){case 2:{b=k[S+8+(g<<3)>>2]<<16;g=n;break h}case 1:{g=k[S+8+(g<<3)>>2]|0;if((g|0)<0){b=0-(8192-g>>14)|0;g=n;break h}else{b=g+8192>>14;g=n;break h}}default:{b=k[S+8+(g<<3)>>2]|0;g=n;break h}}else{g=k[S+4>>2]|0;if(!g){b=0;g=n}else if(!(k[g>>2]|0)){k[g>>2]=130;b=0;g=k[Y+11908>>2]|0}else{b=0;g=n}}while(0);x=(k[Y+11904>>2]|0)+b|0;k[Y+11904>>2]=x;uVa(Y+24|0,g,x);f=f+2|0;if(f>>>0>=p-(S+8|0)>>3>>>0)break f;g=k[S+392>>2]|0}}while(0);k[S+392>>2]=S+8;w=A;v=z;u=y;A=w;z=v;continue b}case 7:case 6:{p=k[S+392>>2]|0;i:do if(p-(S+8|0)>>3|0){g=p;b=0;n=(x|0)==6;while(1){j:do if(g-(S+8|0)>>3>>>0>b>>>0){f=S+8+(b<<3)|0;switch(k[S+8+(b<<3)+4>>2]|0){case 2:{f=k[f>>2]<<16;break j}case 1:{f=k[f>>2]|0;if((f|0)<0){f=0-(8192-f>>14)|0;break j}else{f=f+8192>>14;break j}}default:{f=k[f>>2]|0;break j}}}else{f=k[S+4>>2]|0;if(!f)f=0;else if(!(k[f>>2]|0)){k[f>>2]=130;f=0}else f=0}while(0);if(n){f=(k[Y+11908>>2]|0)+f|0;k[Y+11908>>2]=f;g=k[Y+11904>>2]|0}else{g=(k[Y+11904>>2]|0)+f|0;k[Y+11904>>2]=g;f=k[Y+11908>>2]|0}uVa(Y+24|0,f,g);f=b+1|0;if((f|0)==(p-(S+8|0)>>3|0))break i;g=k[S+392>>2]|0;b=f;n=n^1}}while(0);k[S+392>>2]=S+8;w=A;v=z;u=y;A=w;z=v;continue b}case 8:case 24:{v=k[S+392>>2]|0;k:do if(v-(S+8|0)>>3>>>0<6)n=0;else{g=v;n=6;u=0;while(1){t=g-(S+8|0)>>3;l:do if(t>>>0>u>>>0){f=S+8+(u<<3)|0;switch(k[S+8+(u<<3)+4>>2]|0){case 2:{f=k[f>>2]<<16;break l}case 1:{f=k[f>>2]|0;if((f|0)<0){f=0-(8192-f>>14)|0;break l}else{f=f+8192>>14;break l}}default:{f=k[f>>2]|0;break l}}}else{f=k[S+4>>2]|0;if(!f)f=0;else if(!(k[f>>2]|0)){k[f>>2]=130;f=0}else f=0}while(0);s=(k[Y+11908>>2]|0)+f|0;f=u|1;m:do if(t>>>0>f>>>0)switch(k[S+8+(f<<3)+4>>2]|0){case 2:{f=k[S+8+(f<<3)>>2]<<16;break m}case 1:{f=k[S+8+(f<<3)>>2]|0;if((f|0)<0){f=0-(8192-f>>14)|0;break m}else{f=f+8192>>14;break m}}default:{f=k[S+8+(f<<3)>>2]|0;break m}}else{f=k[S+4>>2]|0;if(!f)f=0;else if(!(k[f>>2]|0)){k[f>>2]=130;f=0}else f=0}while(0);q=(k[Y+11904>>2]|0)+f|0;f=u+2|0;n:do if(t>>>0>f>>>0)switch(k[S+8+(f<<3)+4>>2]|0){case 2:{f=k[S+8+(f<<3)>>2]<<16;break n}case 1:{f=k[S+8+(f<<3)>>2]|0;if((f|0)<0){f=0-(8192-f>>14)|0;break n}else{f=f+8192>>14;break n}}default:{f=k[S+8+(f<<3)>>2]|0;break n}}else{f=k[S+4>>2]|0;if(!f)f=0;else if(!(k[f>>2]|0)){k[f>>2]=130;f=0}else f=0}while(0);p=f+s|0;f=u+3|0;o:do if(t>>>0>f>>>0)switch(k[S+8+(f<<3)+4>>2]|0){case 2:{f=k[S+8+(f<<3)>>2]<<16;break o}case 1:{f=k[S+8+(f<<3)>>2]|0;if((f|0)<0){f=0-(8192-f>>14)|0;break o}else{f=f+8192>>14;break o}}default:{f=k[S+8+(f<<3)>>2]|0;break o}}else{f=k[S+4>>2]|0;if(!f)f=0;else if(!(k[f>>2]|0)){k[f>>2]=130;f=0}else f=0}while(0);b=f+q|0;f=u+4|0;p:do if(t>>>0>f>>>0)switch(k[S+8+(f<<3)+4>>2]|0){case 2:{f=k[S+8+(f<<3)>>2]<<16;break p}case 1:{f=k[S+8+(f<<3)>>2]|0;if((f|0)<0){f=0-(8192-f>>14)|0;break p}else{f=f+8192>>14;break p}}default:{f=k[S+8+(f<<3)>>2]|0;break p}}else{f=k[S+4>>2]|0;if(!f)f=0;else if(!(k[f>>2]|0)){k[f>>2]=130;f=0}else f=0}while(0);g=f+p|0;f=u+5|0;q:do if(t>>>0>f>>>0)switch(k[S+8+(f<<3)+4>>2]|0){case 2:{f=k[S+8+(f<<3)>>2]<<16;break q}case 1:{f=k[S+8+(f<<3)>>2]|0;if((f|0)<0){f=0-(8192-f>>14)|0;break q}else{f=f+8192>>14;break q}}default:{f=k[S+8+(f<<3)>>2]|0;break q}}else{f=k[S+4>>2]|0;if(!f)f=0;else{if(k[f>>2]|0){f=0;break}k[f>>2]=130;f=0}}while(0);f=f+b|0;BVa(Y+24|0,s,q,p,b,g,f);k[Y+11908>>2]=g;k[Y+11904>>2]=f;f=n+6|0;if(f>>>0>v-(S+8|0)>>3>>>0)break k;u=n;g=k[S+392>>2]|0;n=f}}while(0);if((x|0)==24){g=(k[S+392>>2]|0)-(S+8|0)>>3;r:do if(g>>>0>n>>>0){f=S+8+(n<<3)|0;switch(k[S+8+(n<<3)+4>>2]|0){case 2:{f=k[f>>2]<<16;break r}case 1:{f=k[f>>2]|0;if((f|0)<0){f=0-(8192-f>>14)|0;break r}else{f=f+8192>>14;break r}}default:{f=k[f>>2]|0;break r}}}else{f=k[S+4>>2]|0;if(!f)f=0;else if(!(k[f>>2]|0)){k[f>>2]=130;f=0}else f=0}while(0);b=(k[Y+11908>>2]|0)+f|0;k[Y+11908>>2]=b;f=n|1;s:do if(g>>>0>f>>>0)switch(k[S+8+(f<<3)+4>>2]|0){case 2:{g=k[S+8+(f<<3)>>2]<<16;f=b;break s}case 1:{f=k[S+8+(f<<3)>>2]|0;if((f|0)<0){g=0-(8192-f>>14)|0;f=b;break s}else{g=f+8192>>14;f=b;break s}}default:{g=k[S+8+(f<<3)>>2]|0;f=b;break s}}else{f=k[S+4>>2]|0;if(!f){g=0;f=b}else if(!(k[f>>2]|0)){k[f>>2]=130;g=0;f=k[Y+11908>>2]|0}else{g=0;f=b}}while(0);x=(k[Y+11904>>2]|0)+g|0;k[Y+11904>>2]=x;uVa(Y+24|0,f,x)}k[S+392>>2]=S+8;w=A;v=z;u=y;A=w;z=v;continue b}default:b=1}}k[Y+15840>>2]=a;k[Y+15896>>2]=h;k[Y+16472>>2]=G;k[Y+16504>>2]=S;k[Y+16656>>2]=T;k[Y+17296>>2]=y;k[Y+17792>>2]=V;k[Y+18008>>2]=O;k[Y+18472>>2]=p;k[Y+18720>>2]=D;k[Y+18856>>2]=H;k[Y+19128>>2]=z;k[Y+19136>>2]=q;k[Y+19144>>2]=s;k[Y+19152>>2]=t;k[Y+19168>>2]=v;k[Y+19176>>2]=A;k[Y+19184>>2]=w;k[Y+19336>>2]=u;k[Y+19360>>2]=E;k[Y+19400>>2]=x;k[Y+19408>>2]=B;k[Y+19416>>2]=F;k[Y+19504>>2]=N;k[Y+19520>>2]=b;k[Y+19528>>2]=n;k[Y+19536>>2]=0;k[Y+19540>>2]=0;nXa(Y);G=k[Y+16472>>2]|0;z=k[Y+19128>>2]|0;v=k[Y+19168>>2]|0;A=k[Y+19176>>2]|0;w=k[Y+19184>>2]|0;u=k[Y+19336>>2]|0;E=k[Y+19360>>2]|0;F=k[Y+19416>>2]|0;N=k[Y+19504>>2]|0;J=k[Y+19536>>2]|0;C=k[Y+19540>>2]|0;K=+o[Y+19540>>2];k[Y+19536>>2]=0;k[Y+19540>>2]=0;if((J|0)==1)break;if((J|0)==2)switch(C|0){case 57:break a;case 55:break c}if((J|0)==3)continue;if((J|0)==4)switch(C|0){case 81:continue b}}while(0);k[S+392>>2]=S+8;w=A;v=z;u=y;A=w;z=v}f=k[S+392>>2]|0;if((f-(S+8|0)>>3|0)==1){if(!(i[Y+15812>>0]|0))N=212}else if(!((f-(S+8|0)>>3|0)!=5|(i[Y+15812>>0]|0)!=0))N=212;if((N|0)==212){t:do if((f|0)==(S+8|0|0)){g=k[S+4>>2]|0;if(!g)g=0;else if(!(k[g>>2]|0)){k[g>>2]=130;g=0}else g=0}else switch(k[S+12>>2]|0){case 2:{g=k[S+8>>2]<<16;break t}case 1:{g=k[S+8>>2]|0;if((g|0)<0){g=0-(8192-g>>14)|0;break t}else{g=g+8192>>14;break t}}default:{g=k[S+8>>2]|0;break t}}while(0);k[h>>2]=g+H}i[Y+15812>>0]=1;if(!(i[(k[a+132>>2]|0)+561>>0]|0)){if(i[(Y+24+11664|0)>>0]|0){i[(Y+24+11665|0)>>0]=1;uVa(Y+24|0,k[(Y+24+11736|0)>>2]|0,k[(Y+24+11740|0)>>2]|0);if(i[(Y+24+11744|0)>>0]|0)xVa(Y+24|0,Y+24+8|0,Y+24+11704|0,k[Y+24+11712>>2]|0,k[Y+24+11716>>2]|0,1);i[(Y+24+11667|0)>>0]=1;i[(Y+24+11664|0)>>0]=0;i[(Y+24+11665|0)>>0]=0;i[(Y+24+11744|0)>>0]=0;f=k[S+392>>2]|0}g=f;if(f-(S+8|0)>>3>>>0>1){u:do if(!(e<<24>>24)){do if((g|0)==(S+8|0)){f=k[S+4>>2]|0;if(!f)s=0;else if(!(k[f>>2]|0)){k[f>>2]=161;s=0}else s=0}else{if((k[g+-4>>2]|0)==2){k[S+392>>2]=g+-8;s=k[g+-8>>2]|0;g=g+-8|0;break}f=k[S+4>>2]|0;if(!f)s=0;else if(!(k[f>>2]|0)){k[f>>2]=160;s=0}else s=0}while(0);do if((g|0)==(S+8|0)){f=k[S+4>>2]|0;if(!f){t=0;f=g}else if(!(k[f>>2]|0)){k[f>>2]=161;t=0;f=g}else{t=0;f=g}}else{f=g+-8|0;if((k[g+-4>>2]|0)==2){k[S+392>>2]=f;t=k[f>>2]|0;break}f=k[S+4>>2]|0;if(!f){t=0;f=g}else if(!(k[f>>2]|0)){k[f>>2]=160;t=0;f=g}else{t=0;f=g}}while(0);v:do if((f|0)==(S+8|0)){g=k[S+4>>2]|0;if(!g)g=0;else if(!(k[g>>2]|0)){k[g>>2]=161;g=0}else g=0}else{b=f+-8|0;k[S+392>>2]=b;switch(k[f+-4>>2]|0){case 2:{g=k[b>>2]<<16;f=b;break v}case 1:{f=k[b>>2]|0;if((f|0)<0){g=0-(8192-f>>14)|0;f=b;break v}else{g=f+8192>>14;f=b;break v}}default:{g=k[b>>2]|0;f=b;break v}}}while(0);k[Y+11904>>2]=g;w:do if((f|0)==(S+8|0)){f=k[S+4>>2]|0;if(!f)f=0;else if(!(k[f>>2]|0)){k[f>>2]=161;f=0}else f=0}else{g=f+-8|0;k[S+392>>2]=g;switch(k[f+-4>>2]|0){case 2:{f=k[g>>2]<<16;break w}case 1:{f=k[g>>2]|0;if((f|0)<0){f=0-(8192-f>>14)|0;break w}else{f=f+8192>>14;break w}}default:{f=k[g>>2]|0;break w}}}while(0);k[Y+11908>>2]=f;k[Y+8>>2]=0;k[Y+8+4>>2]=0;k[Y+8+8>>2]=0;k[Y+8+12>>2]=0;p=k[O+4>>2]|0;q=k[(k[p+128>>2]|0)+48>>2]|0;x:do if(!q){f=k[O+76>>2]|0;n=k[f+1160>>2]|0;if(s>>>0>255|(n|0)==0)I=18;else{if(s>>>0<256)b=j[169084+(s<<1)>>1]|0;else b=0;g=k[f+12>>2]|0;if(!g)I=18;else{f=0;while(1){if((j[n+(f<<1)>>1]|0)==b<<16>>16)break;f=f+1|0;if(f>>>0>=g>>>0){I=18;break x}}if((f|0)<0)I=18;else{if(q|0){M=f;N=277;break}L=YUa((k[p+656>>2]|0)+1176|0,f,Y+11916|0,Y+11912|0)|0;N=279}}}}else{M=s;N=277}while(0);if((N|0)==277){L=Ri[k[k[q>>2]>>2]&255](k[q+4>>2]|0,M,Y+11944|0)|0;k[Y+11916>>2]=k[Y+11944>>2];k[Y+11912>>2]=k[Y+11944+4>>2];N=279}if((N|0)==279)if(!L){g=k[Y+11916>>2]|0;k[(Y+8+4|0)>>2]=g;b=g+(k[Y+11912>>2]|0)|0;k[Y+8+8>>2]=b;k[Y+8+12>>2]=g;rVa(a,Y+8|0,c,d,1,k[Y+11908>>2]|0,k[Y+11904>>2]|0,Y);f=k[O+4>>2]|0;n=k[(k[f+128>>2]|0)+48>>2]|0;if(!n){f=k[f+656>>2]|0;if(!(k[f+1204>>2]|0))xTa(k[f+1176>>2]|0,Y+8+4|0)}else{k[Y+11944>>2]=g;k[Y+11944+4>>2]=b-g;Di[k[(k[n>>2]|0)+4>>2]&511](k[n+4>>2]|0,Y+11944|0)};k[Y+8>>2]=0;k[Y+8+4>>2]=0;k[Y+8+8>>2]=0;k[Y+8+12>>2]=0;p=k[O+4>>2]|0;q=k[(k[p+128>>2]|0)+48>>2]|0;y:do if(!q){f=k[O+76>>2]|0;n=k[f+1160>>2]|0;if(t>>>0>255|(n|0)==0){m=18;break}if(t>>>0<256)b=j[169084+(t<<1)>>1]|0;else b=0;g=k[f+12>>2]|0;if(!g){m=18;break}else f=0;while(1){if((j[n+(f<<1)>>1]|0)==b<<16>>16)break;f=f+1|0;if(f>>>0>=g>>>0){m=18;break y}}if((f|0)<0){m=18;break}if(q|0){Q=f;N=294;break}P=YUa((k[p+656>>2]|0)+1176|0,f,Y+11916|0,Y+11912|0)|0;N=296}else{Q=t;N=294}while(0);if((N|0)==294){P=Ri[k[k[q>>2]>>2]&255](k[q+4>>2]|0,Q,Y+11944|0)|0;k[Y+11916>>2]=k[Y+11944>>2];k[Y+11912>>2]=k[Y+11944+4>>2];N=296}do if((N|0)==296){if(P|0){m=P;break}m=k[Y+11916>>2]|0;k[(Y+8+4|0)>>2]=m;k[Y+8+8>>2]=m+(k[Y+11912>>2]|0);k[Y+8+12>>2]=m;rVa(a,Y+8|0,c,d,1,0,0,Y);m=k[O+4>>2]|0;f=k[(k[m+128>>2]|0)+48>>2]|0;if(f|0){d=k[(Y+8+4|0)>>2]|0;m=(k[Y+8+8>>2]|0)-d|0;k[Y+11944>>2]=d;k[Y+11944+4>>2]=m;Di[k[(k[f>>2]|0)+4>>2]&511](k[f+4>>2]|0,Y+11944|0);m=0;break u}m=k[m+656>>2]|0;if(k[m+1204>>2]|0){m=0;break u}xTa(k[m+1176>>2]|0,Y+8+4|0);m=0;break u}while(0);break}else I=L;m=I}else m=18;while(0);G=V;E=m;F=T;N=779}else{G=V;E=0;F=T;N=779}}else{G=V;E=0;F=T;N=779}}else R=1}if(R)if(1){W=V;X=T}}while(0);if((N|0)==779)if(!(k[a+4>>2]|0)){k[a+4>>2]=E;W=G;X=F}else{W=G;X=F}a=k[Y+24+11612>>2]|0;k[Y+24+11624>>2]=0;k[Y+24+11632>>2]=0;k[Y+24+11636>>2]=0;YTa(a,k[Y+24+11640>>2]|0);k[Y+24+11640>>2]=0;a=k[Y+11840>>2]|0;k[Y+11840+12>>2]=0;k[Y+11840+20>>2]=0;k[Y+11840+24>>2]=0;YTa(a,k[Y+11840+28>>2]|0);k[Y+11840+28>>2]=0;a=k[Y+11872>>2]|0;k[Y+11872+12>>2]=0;k[Y+11872+20>>2]=0;k[Y+11872+24>>2]=0;YTa(a,k[Y+11872+28>>2]|0);k[Y+11872+28>>2]=0;YTa(U,X);if(W){r=Y;return}YTa(k[S>>2]|0,S);r=Y;return}function sVa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0;j=r;r=r+32|0;h=k[b+392>>2]|0;g=h-(b+8)>>3&1;if(g|0)if(!(i[e>>0]|0)){a:do if(!(h-(b+8)>>3)){f=k[b+4>>2]|0;if(!f)f=0;else if(!(k[f>>2]|0)){k[f>>2]=130;f=0}else f=0}else switch(k[b+12>>2]|0){case 2:{f=k[b+8>>2]<<16;break a}case 1:{f=k[b+8>>2]|0;if((f|0)<0){f=0-(8192-f>>14)|0;break a}else{f=f+8192>>14;break a}}default:{f=k[b+8>>2]|0;break a}}while(0);k[d>>2]=(k[(k[(k[a+132>>2]|0)+736>>2]|0)+532>>2]<<16)+f}if(i[(k[a+132>>2]|0)+561>>0]|0){i[e>>0]=1;r=j;return}b:do if(g>>>0>3>>>0){d=h;a=0;while(1){d=d-(b+8)>>3;c:do if(d>>>0>g>>>0){f=b+8+(g<<3)|0;switch(k[b+8+(g<<3)+4>>2]|0){case 2:{f=k[f>>2]<<16;break c}case 1:{f=k[f>>2]|0;if((f|0)<0){f=0-(8192-f>>14)|0;break c}else{f=f+8192>>14;break c}}default:{f=k[f>>2]|0;break c}}}else{f=k[b+4>>2]|0;if(!f)f=0;else if(!(k[f>>2]|0)){k[f>>2]=130;f=0}else f=0}while(0);a=f+a|0;k[j+4>>2]=a;f=g+1|0;d:do if(d>>>0>f>>>0)switch(k[b+8+(f<<3)+4>>2]|0){case 2:{f=k[b+8+(f<<3)>>2]<<16;break d}case 1:{f=k[b+8+(f<<3)>>2]|0;if((f|0)<0){f=0-(8192-f>>14)|0;break d}else{f=f+8192>>14;break d}}default:{f=k[b+8+(f<<3)>>2]|0;break d}}else{f=k[b+4>>2]|0;if(!f)f=0;else if(!(k[f>>2]|0)){k[f>>2]=130;f=0}else f=0}while(0);a=f+a|0;k[j+8>>2]=a;i[j>>0]=0;k[j+12>>2]=0;k[j+16>>2]=0;tVa(c,j);f=g+2|0;if(f>>>0>=h-(b+8)>>3>>>0)break b;d=k[b+392>>2]|0;g=f}}while(0);k[b+392>>2]=b+8;i[e>>0]=1;r=j;return}function tVa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=r;r=r+16|0;c=k[a+20>>2]|0;do if((c|0)==(k[a+12>>2]|0)){e=(k[a+16>>2]|0)+c|0;k[f>>2]=0;d=k[a+8>>2]|0;c=ha(d,e)|0;if((2147483647/(d>>>0)|0)>>>0>=e>>>0){d=WTa(k[a>>2]|0,1,k[a+24>>2]|0,c,k[a+28>>2]|0,f)|0;k[a+28>>2]=d;if(!(k[f>>2]|0)){k[a+12>>2]=e;k[a+24>>2]=c;c=k[a+20>>2]|0;if(c>>>0<=e>>>0){e=a+8|0;break}c=k[a+4>>2]|0;if(c|0)if(!(k[c>>2]|0))k[c>>2]=130;k[a+20>>2]=e;r=f;return}}c=k[a+4>>2]|0;if(!c){r=f;return}if(k[c>>2]|0){r=f;return}k[c>>2]=64;r=f;return}else{e=a+8|0;d=k[a+28>>2]|0}while(0);e=k[e>>2]|0;ABb(d+(ha(e,c)|0)|0,b|0,e|0)|0;k[a+20>>2]=(k[a+20>>2]|0)+1;r=f;return}function uVa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0;j=r;r=r+16|0;if(!(i[(k[a+11676>>2]|0)+5>>0]|0))h=0;else h=(i[a+11665>>0]|0)==0&1;e=k[a+11720>>2]|0;d=k[a+11724>>2]|0;if((e|0)==(b|0))if(!(h<<24>>24!=0|(d|0)!=(c|0))){r=j;return}vVa(a,e,d,b,c,j+12|0,j+8|0);d=k[j+12>>2]|0;e=d+(k[a+11720>>2]|0)|0;k[j>>2]=e;f=k[j+8>>2]|0;g=f+(k[a+11724>>2]|0)|0;k[j+4>>2]=g;if(i[a+11667>>0]|0){wVa(a,e,g);i[a+11667>>0]=0;i[a+11664>>0]=1;k[a+11712>>2]=d+b;k[a+11712+4>>2]=f+c}if(i[a+11744>>0]|0)xVa(a,a+8|0,j,d+b|0,f+c|0,0);i[a+11744>>0]=1;k[a+11748>>2]=2;g=k[j+4>>2]|0;k[a+11752>>2]=k[j>>2];k[a+11752+4>>2]=g;k[a+11760>>2]=d+b;k[a+11760+4>>2]=f+c;if(h<<24>>24)zVa(a+8|0,k[a+11668>>2]|0,k[a+11672>>2]|0,k[a+11676>>2]|0,k[a+11680>>2]|0,0);k[a+11720>>2]=b;k[a+11724>>2]=c;r=j;return}function vVa(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;j=(i[(k[a>>2]|0)+192>>0]|0)==0;h=j?d-b|0:0-(d-b)|0;j=j?e-c|0:0-(e-c)|0;k[g>>2]=0;k[f>>2]=0;if(!(i[a+11666>>0]|0))return;c=(ha(e-c>>16,b>>16)|0)-(ha(d-b>>16,c>>16)|0)|0;e=(k[a+4>>2]|0)+16|0;k[e>>2]=c+(k[e>>2]|0);if((h|0)>-1)if((j|0)>-1){if((h|0)>(j<<1|0)){k[f>>2]=0;k[g>>2]=0;return}b=k[a+11688>>2]|0;if((j|0)>(h<<1|0)){k[f>>2]=b;k[g>>2]=k[a+11692>>2];return}else{j=U2a(45875,b)|0;k[f>>2]=j;f=U2a(19661,k[a+11692>>2]|0)|0;k[g>>2]=f;return}}else{if((h|0)>(ha(j,-2)|0)){k[f>>2]=0;k[g>>2]=0;return}b=k[a+11688>>2]|0;if((h<<1|0)<(0-j|0)){k[f>>2]=0-b;k[g>>2]=k[a+11692>>2];return}else{j=U2a(-45874,b)|0;k[f>>2]=j;f=U2a(19661,k[a+11692>>2]|0)|0;k[g>>2]=f;return}}else if((j|0)>-1){if((j<<1|0)<(0-h|0)){k[f>>2]=0;k[g>>2]=k[a+11692>>2]<<1;return}j=(j|0)>(ha(h,-2)|0);b=k[a+11688>>2]|0;if(j){k[f>>2]=b;k[g>>2]=k[a+11692>>2];return}else{j=U2a(45875,b)|0;k[f>>2]=j;f=U2a(111411,k[a+11692>>2]|0)|0;k[g>>2]=f;return}}else{if((ha(j,-2)|0)<(0-h|0)){k[f>>2]=0;k[g>>2]=k[a+11692>>2]<<1;return}j=(ha(h,-2)|0)<(0-j|0);b=k[a+11688>>2]|0;if(j){k[f>>2]=0-b;k[g>>2]=k[a+11692>>2];return}else{j=U2a(-45874,b)|0;k[f>>2]=j;f=U2a(111411,k[a+11692>>2]|0)|0;k[g>>2]=f;return}}}function wVa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0;j=r;r=r+48|0;k[j+32>>2]=1;g=k[a+11728+4>>2]|0;k[j>>2]=k[a+11728>>2];k[j+4>>2]=g;if(!(i[a+20>>0]|0)){e=k[a+11736>>2]|0;f=k[a+11740>>2]|0;if(!(i[a+11664>>0]|0)){g=1;d=a+11667|0}else{i[a+11665>>0]=1;uVa(a,e,f);if(i[a+11744>>0]|0)xVa(a,a+8|0,a+11704|0,k[a+11712>>2]|0,k[a+11716>>2]|0,1);i[a+11667>>0]=1;i[a+11664>>0]=0;i[a+11665>>0]=0;i[a+11744>>0]=0;g=(i[a+20>>0]|0)==0;d=a+11667|0}k[a+11736>>2]=e;k[a+11720>>2]=e;k[a+11740>>2]=f;k[a+11724>>2]=f;i[d>>0]=1;d=k[a+11676>>2]|0;if(g)h=9;else if(i[d+5>>0]|0)h=9;if((h|0)==9)zVa(a+8|0,k[a+11668>>2]|0,k[a+11672>>2]|0,d,k[a+11680>>2]|0,0);ABb(a+3876|0,a+8|0,3868)|0}h=U2a(k[a+11644>>2]|0,b)|0;h=(U2a(k[a+11648>>2]|0,c)|0)+h|0;g=yVa(a+8|0,c)|0;f=U2a(k[(k[a>>2]|0)+60>>2]|0,h)|0;f=(U2a(k[(k[a>>2]|0)+68>>2]|0,g)|0)+f|0;k[j+8>>2]=f+(k[a+11656>>2]|0);h=U2a(k[(k[a>>2]|0)+64>>2]|0,h)|0;h=(U2a(k[(k[a>>2]|0)+72>>2]|0,g)|0)+h|0;k[j+12>>2]=h+(k[a+11660>>2]|0);h=k[a+4>>2]|0;Di[k[h>>2]&511](h,j);h=k[j+8+4>>2]|0;k[a+11728>>2]=k[j+8>>2];k[a+11728+4>>2]=h;k[a+11704>>2]=b;k[a+11704+4>>2]=c;r=j;return}function xVa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0;s=r;r=r+48|0;q=(k[a+11748>>2]|0)==2;p=q?a+11752|0:a+11768|0;q=q?a+11760|0:a+11776|0;g=k[q>>2]|0;n=k[c>>2]|0;h=k[q+4>>2]|0;j=k[c+4>>2]|0;if((g|0)==(n|0)&(h|0)==(j|0)){o=0;n=0;m=0}else{l=k[p>>2]|0;m=k[p+4>>2]|0;i=U2a(g+16-l>>5,e+16-j>>5)|0;g=U2a(h+16-m>>5,d+16-n>>5)|0;if((i|0)==(g|0)){o=0;n=0;m=0}else{h=U2a(16-l+n>>5,e+16-j>>5)|0;h=V2a(h-(U2a(16-m+j>>5,d+16-n>>5)|0)|0,i-g|0)|0;g=k[p>>2]|0;g=(U2a(h,(k[q>>2]|0)-g|0)|0)+g|0;i=k[p+4>>2]|0;i=(U2a(h,(k[q+4>>2]|0)-i|0)|0)+i|0;h=k[p>>2]|0;o=k[q>>2]|0;if((h|0)==(o|0))g=(((g-h|0)<0?0-(g-h)|0:g-h|0)|0)<(k[a+11700>>2]|0)?h:g;h=k[p+4>>2]|0;n=k[q+4>>2]|0;if((h|0)==(n|0))h=(((i-h|0)<0?0-(i-h)|0:i-h|0)|0)<(k[a+11700>>2]|0)?h:i;else h=i;m=k[c>>2]|0;if((m|0)==(d|0)){l=g-d|0;l=(((l|0)<0?0-l|0:l)|0)<(k[a+11700>>2]|0)?d:g}else l=g;j=k[c+4>>2]|0;if((j|0)==(e|0)){d=h-e|0;d=(((d|0)<0?0-d|0:d)|0)<(k[a+11700>>2]|0);i=d?e:h;h=d?e:h}else i=h;e=l-((m+o|0)/2|0)|0;g=k[a+11696>>2]|0;if((((e|0)<0?0-e|0:e)|0)>(g|0)){o=l;n=h;m=0}else{e=i-((j+n|0)/2|0)|0;if((((e|0)<0?0-e|0:e)|0)>(g|0)){o=l;n=h;m=0}else{k[q>>2]=l;k[q+4>>2]=h;o=l;n=h;m=1}}}}j=k[a+11728>>2]|0;l=k[a+11728+4>>2]|0;k[s>>2]=j;k[s+4>>2]=l;switch(k[a+11748>>2]|0){case 2:{k[s+32>>2]=2;g=k[a+11760>>2]|0;h=k[a+11764>>2]|0;i=k[a+11644>>2]|0;if(!(f<<24>>24)){e=U2a(i,g)|0;e=(U2a(k[a+11648>>2]|0,h)|0)+e|0;q=yVa(b,h)|0;g=U2a(k[(k[a>>2]|0)+60>>2]|0,e)|0;g=(U2a(k[(k[a>>2]|0)+68>>2]|0,q)|0)+g|0;g=g+(k[a+11656>>2]|0)|0;h=U2a(k[(k[a>>2]|0)+64>>2]|0,e)|0;h=(U2a(k[(k[a>>2]|0)+72>>2]|0,q)|0)+h|0;h=h+(k[a+11660>>2]|0)|0}else{e=U2a(i,g)|0;e=(U2a(k[a+11648>>2]|0,h)|0)+e|0;q=yVa(a+3876|0,h)|0;g=U2a(k[(k[a>>2]|0)+60>>2]|0,e)|0;g=(U2a(k[(k[a>>2]|0)+68>>2]|0,q)|0)+g|0;g=g+(k[a+11656>>2]|0)|0;h=U2a(k[(k[a>>2]|0)+64>>2]|0,e)|0;h=(U2a(k[(k[a>>2]|0)+72>>2]|0,q)|0)+h|0;h=h+(k[a+11660>>2]|0)|0}k[s+8>>2]=g;k[s+12>>2]=h;if(!((j|0)==(g|0)&(l|0)==(h|0))){q=k[a+4>>2]|0;Di[k[q+4>>2]&511](q,s);q=k[s+8+4>>2]|0;k[a+11728>>2]=k[s+8>>2];k[a+11728+4>>2]=q}break}case 4:{k[s+32>>2]=4;q=k[a+11764>>2]|0;e=(U2a(k[a+11644>>2]|0,k[a+11760>>2]|0)|0)+(U2a(k[a+11648>>2]|0,q)|0)|0;q=yVa(b,q)|0;d=(U2a(k[(k[a>>2]|0)+60>>2]|0,e)|0)+(U2a(k[(k[a>>2]|0)+68>>2]|0,q)|0)|0;k[s+8>>2]=d+(k[a+11656>>2]|0);q=(U2a(k[(k[a>>2]|0)+64>>2]|0,e)|0)+(U2a(k[(k[a>>2]|0)+72>>2]|0,q)|0)|0;k[s+12>>2]=q+(k[a+11660>>2]|0);q=k[a+11772>>2]|0;e=(U2a(k[a+11644>>2]|0,k[a+11768>>2]|0)|0)+(U2a(k[a+11648>>2]|0,q)|0)|0;q=yVa(b,q)|0;d=(U2a(k[(k[a>>2]|0)+60>>2]|0,e)|0)+(U2a(k[(k[a>>2]|0)+68>>2]|0,q)|0)|0;k[s+16>>2]=d+(k[a+11656>>2]|0);q=(U2a(k[(k[a>>2]|0)+64>>2]|0,e)|0)+(U2a(k[(k[a>>2]|0)+72>>2]|0,q)|0)|0;k[s+20>>2]=q+(k[a+11660>>2]|0);q=k[a+11780>>2]|0;e=(U2a(k[a+11644>>2]|0,k[a+11776>>2]|0)|0)+(U2a(k[a+11648>>2]|0,q)|0)|0;q=yVa(b,q)|0;d=(U2a(k[(k[a>>2]|0)+60>>2]|0,e)|0)+(U2a(k[(k[a>>2]|0)+68>>2]|0,q)|0)|0;k[s+24>>2]=d+(k[a+11656>>2]|0);q=(U2a(k[(k[a>>2]|0)+64>>2]|0,e)|0)+(U2a(k[(k[a>>2]|0)+72>>2]|0,q)|0)|0;k[s+28>>2]=q+(k[a+11660>>2]|0);q=k[a+4>>2]|0;Di[k[q+12>>2]&511](q,s);q=k[s+24+4>>2]|0;k[a+11728>>2]=k[s+24>>2];k[a+11728+4>>2]=q;break}default:{}}h=m<<24>>24!=0;do if(!(f<<24>>24==0&h)){if(!(f<<24>>24)){f=k[c+4>>2]|0;g=U2a(k[a+11644>>2]|0,k[c>>2]|0)|0;g=(U2a(k[a+11648>>2]|0,f)|0)+g|0;b=yVa(b,f)|0;f=U2a(k[(k[a>>2]|0)+60>>2]|0,g)|0;f=(U2a(k[(k[a>>2]|0)+68>>2]|0,b)|0)+f|0;k[s+8>>2]=f+(k[a+11656>>2]|0);g=U2a(k[(k[a>>2]|0)+64>>2]|0,g)|0;g=(U2a(k[(k[a>>2]|0)+72>>2]|0,b)|0)+g|0;g=g+(k[a+11660>>2]|0)|0}else{b=k[c+4>>2]|0;g=U2a(k[a+11644>>2]|0,k[c>>2]|0)|0;g=(U2a(k[a+11648>>2]|0,b)|0)+g|0;b=yVa(a+3876|0,b)|0;f=U2a(k[(k[a>>2]|0)+60>>2]|0,g)|0;f=(U2a(k[(k[a>>2]|0)+68>>2]|0,b)|0)+f|0;k[s+8>>2]=f+(k[a+11656>>2]|0);g=U2a(k[(k[a>>2]|0)+64>>2]|0,g)|0;g=(U2a(k[(k[a>>2]|0)+72>>2]|0,b)|0)+g|0;g=g+(k[a+11660>>2]|0)|0}k[s+12>>2]=g;if((k[s+8>>2]|0)==(k[a+11728>>2]|0))if((g|0)==(k[a+11732>>2]|0))break;k[s+32>>2]=2;b=k[a+11728+4>>2]|0;k[s>>2]=k[a+11728>>2];k[s+4>>2]=b;b=k[a+4>>2]|0;Di[k[b+4>>2]&511](b,s);b=k[s+8+4>>2]|0;k[a+11728>>2]=k[s+8>>2];k[a+11728+4>>2]=b}while(0);if(!h){r=s;return}k[c>>2]=o;k[c+4>>2]=n;r=s;return}function yVa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=k[a+20>>2]|0;if(d|0)if(i[a+13>>0]|0){c=k[a+24>>2]|0;while(1){if(c>>>0>=(d+-1|0)>>>0)break;e=c+1|0;if((k[a+28+(e*20|0)+8>>2]|0)>(b|0))break;else c=e}a:do if(!c)f=11;else{while(1){e=a+28+(c*20|0)+8|0;if((k[e>>2]|0)<=(b|0)){d=c;break}c=c+-1|0;if(!c){f=11;break a}}k[a+24>>2]=d;c=k[e>>2]|0}while(0);if((f|0)==11){k[a+24>>2]=0;c=k[a+36>>2]|0;if((c|0)>(b|0)){b=U2a(b-c|0,k[a+16>>2]|0)|0;a=(k[a+40>>2]|0)+b|0;return a|0}else d=0}b=U2a(b-c|0,k[a+28+(d*20|0)+16>>2]|0)|0;a=(k[a+28+(d*20|0)+12>>2]|0)+b|0;return a|0}a=U2a(b,k[a+16>>2]|0)|0;return a|0}function zVa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=r;r=r+80|0;y=k[a>>2]|0;if(!(f<<24>>24)){g=k[a+4>>2]|0;if(!(i[g+12>>0]|0)){x=k[d>>2]|0;k[A+20>>2]=0;k[A+20+4>>2]=0;k[A+20+8>>2]=0;k[A+20+12>>2]=0;k[A+20+16>>2]=0;k[A+20+20>>2]=0;k[A+20+24>>2]=0;k[A+20>>2]=x;zVa(g,b,c,A+20|0,e,1)}}do if(!(i[d+4>>0]|0)){h=(k[c+20>>2]|0)+(k[b+20>>2]|0)|0;if(h>>>0>96){g=k[d>>2]|0;if(!g){r=A;return}if(k[g>>2]|0){r=A;return}k[g>>2]=18;r=A;return}else{k[d+8>>2]=h;k[d+12>>2]=(h+7|0)>>>3;i[d+4>>0]=1;i[d+5>>0]=1;if(!h)break;if(!((h+7|0)>>>3))g=-1;else{c=0;do{i[d+16+c>>0]=-1;c=c+1|0;g=k[d+12>>2]|0}while(c>>>0>>0);g=g+-1|0}x=d+16+g|0;i[x>>0]=l[x>>0]&-1<<(0-h&7);if(i[d+4>>0]|0)break;r=A;return}}while(0);k[a+20>>2]=0;k[a+24>>2]=0;k[A+20>>2]=k[d>>2];k[A+20+4>>2]=k[d+4>>2];k[A+20+8>>2]=k[d+8>>2];k[A+20+12>>2]=k[d+12>>2];k[A+20+16>>2]=k[d+16>>2];k[A+20+20>>2]=k[d+20>>2];k[A+20+24>>2]=k[d+24>>2];x=k[b+20>>2]|0;if(x>>>0>(k[d+8>>2]|0)>>>0){r=A;return}if(i[y+205>>0]|0){k[A+48>>2]=0;k[A+48+4>>2]=0;k[A+48+8>>2]=0;k[A+48+12>>2]=0;k[A+48+16>>2]=0;AVa(a,y+244|0,A+48|0);AVa(a,A+48|0,y+224|0)}if(x|0){t=A+48+8|0;u=0;v=128;w=A+20+16|0;while(1){if(l[w>>0]&v|0){m=k[a+16>>2]|0;k[A+48>>2]=0;k[A+48+4>>2]=0;k[A+48+8>>2]=0;k[A+48+12>>2]=0;k[A+48+16>>2]=0;if((k[b+20>>2]|0)>>>0>u>>>0)g=u;else{g=k[b+4>>2]|0;if(!g)g=0;else if(!(k[g>>2]|0)){k[g>>2]=130;g=0}else g=0}j=(k[b+28>>2]|0)+(ha(k[b+8>>2]|0,g)|0)|0;g=k[j+8>>2]|0;c=k[j+4>>2]|0;a:do if((g-c|0)<-1310720){switch(g-c|0){case -1376256:break;default:{z=26;break a}}k[t>>2]=g;k[A+48>>2]=1;h=1;z=30}else{switch(g-c|0){case -1310720:break;default:{z=26;break a}}k[A+48>>2]=0;k[t>>2]=e;k[A+48+16>>2]=m;k[A+48+4>>2]=u;c=0;g=e;z=32}while(0);do if((z|0)==26)if((g-c|0)<0){k[t>>2]=g;k[A+48>>2]=4;h=4;z=30;break}else{k[t>>2]=c;k[A+48>>2]=4;h=4;g=c;z=30;break}while(0);if((z|0)==30){z=0;g=g+e|0;k[t>>2]=g;k[A+48+16>>2]=m;k[A+48+4>>2]=u;if(!(i[j>>0]|0)){c=h;z=32}else{s=k[j+12>>2]|0;k[A+48+12>>2]=s;q=h|16;k[A+48>>2]=q}}if((z|0)==32){s=U2a(g,m)|0;k[A+48+12>>2]=s;q=c}n=k[a+16>>2]|0;k[A>>2]=0;k[A+4>>2]=0;k[A+8>>2]=0;k[A+12>>2]=0;k[A+16>>2]=0;if((k[b+20>>2]|0)>>>0>u>>>0)c=u;else{c=k[b+4>>2]|0;if(!c)c=0;else if(!(k[c>>2]|0)){k[c>>2]=130;c=0}else c=0}j=(k[b+28>>2]|0)+(ha(k[b+8>>2]|0,c)|0)|0;c=k[j+8>>2]|0;h=k[j+4>>2]|0;b:do if((c-h|0)<-1310720){switch(c-h|0){case -1376256:break;default:{z=40;break b}}k[A>>2]=0;k[A+8>>2]=e;k[A+16>>2]=n;k[A+4>>2]=u;c=e;h=0;z=45}else{switch(c-h|0){case -1310720:break;default:{z=40;break b}}k[A+8>>2]=h;k[A>>2]=2;m=2;c=h;z=43}while(0);do if((z|0)==40)if((c-h|0)<0){k[A+8>>2]=h;k[A>>2]=8;m=8;c=h;z=43;break}else{k[A+8>>2]=c;k[A>>2]=8;m=8;z=43;break}while(0);if((z|0)==43){z=0;c=c+(k[y+188>>2]<<1)+e|0;k[A+8>>2]=c;k[A+16>>2]=n;k[A+4>>2]=u;if(!(i[j>>0]|0)){h=m;z=45}else{p=k[j+16>>2]|0;k[A+12>>2]=p;h=m|16;k[A>>2]=h}}if((z|0)==45){z=0;p=U2a(c,n)|0;k[A+12>>2]=p}c:do if(!((q|h)&16)){n=k[y+216>>2]|0;o=k[y+200>>2]|0;if(o|0){j=(h&10|0)==0;d:do if(!(q&5)){if(j)break c;else j=0;while(1){do if(!(i[y+264+(j*20|0)+16>>0]|0)){g=k[y+264+(j*20|0)>>2]|0;if((g-n|0)>(c|0))break;if((c|0)<=((k[y+264+(j*20|0)+4>>2]|0)+n|0)){m=g;z=69;break d}}while(0);j=j+1|0;if(j>>>0>=o>>>0)break c}}else{e:do if(j){j=0;while(1){do if(i[y+264+(j*20|0)+16>>0]|0){if(((k[y+264+(j*20|0)>>2]|0)-n|0)>(g|0))break;c=k[y+264+(j*20|0)+4>>2]|0;if((g|0)<=(c+n|0)){m=c;break e}}while(0);j=j+1|0;if(j>>>0>=o>>>0)break c}}else{j=0;while(1){m=k[y+264+(j*20|0)>>2]|0;do if(!(i[y+264+(j*20|0)+16>>0]|0)){if((m-n|0)>(c|0))break;if((c|0)<=((k[y+264+(j*20|0)+4>>2]|0)+n|0)){z=69;break d}}else{if((m-n|0)>(g|0))break;m=k[y+264+(j*20|0)+4>>2]|0;if((g|0)<=(m+n|0))break e}while(0);j=j+1|0;if(j>>>0>=o>>>0)break c}}while(0);do if(!(i[y+204>>0]|0)){c=s+32768&-65536;if((m-g|0)<(k[y+212>>2]|0)){g=c;break}g=(k[y+264+(j*20|0)+12>>2]|0)+-65536|0;g=(c|0)<(g|0)?c:g}else g=k[y+264+(j*20|0)+12>>2]|0;while(0);g=g-s|0}while(0);if((z|0)==69){do if(!(i[y+204>>0]|0)){g=p+32768&-65536;if((c-m|0)<(k[y+212>>2]|0))break;z=(k[y+264+(j*20|0)+12>>2]|0)+65536|0;g=(g|0)>(z|0)?g:z}else g=k[y+264+(j*20|0)+12>>2]|0;while(0);g=g-p|0}if(q|0){k[A+48+12>>2]=s+g;k[A+48>>2]=q|16}if(!h)z=79;else{k[A+12>>2]=p+g;k[A>>2]=h|16;z=79}}}else z=79;while(0);if((z|0)==79){z=0;AVa(a,A+48|0,A);i[w>>0]=l[w>>0]&(v^255)}}g=(u&7|0)==7;u=u+1|0;if((u|0)==(x|0))break;else{v=g?128:v>>>1&127;w=g?w+1|0:w}}}do if(f<<24>>24){g=k[a+20>>2]|0;if(g|0)if((k[a+36>>2]|0)<=0)if((k[a+28+((g+-1|0)*20|0)+8>>2]|0)>=0)break;k[A+48>>2]=0;k[A+48+4>>2]=0;k[A+48+8>>2]=0;k[A+48+12>>2]=0;k[A+48>>2]=49;k[A+48+16>>2]=k[a+16>>2];k[A>>2]=0;k[A+4>>2]=0;k[A+8>>2]=0;k[A+12>>2]=0;k[A+16>>2]=0;AVa(a,A+48|0,A)}else if(x|0){n=A+48+8|0;o=0;p=128;q=A+20+16|0;while(1){if(l[q>>0]&p|0){m=k[a+16>>2]|0;k[A+48>>2]=0;k[A+48+4>>2]=0;k[A+48+8>>2]=0;k[A+48+12>>2]=0;k[A+48+16>>2]=0;if((k[b+20>>2]|0)>>>0>o>>>0)g=o;else{g=k[b+4>>2]|0;if(!g)g=0;else if(!(k[g>>2]|0)){k[g>>2]=130;g=0}else g=0}j=(k[b+28>>2]|0)+(ha(k[b+8>>2]|0,g)|0)|0;g=k[j+8>>2]|0;c=k[j+4>>2]|0;f:do if((g-c|0)<-1310720){switch(g-c|0){case -1376256:break;default:{z=96;break f}}k[n>>2]=g;k[A+48>>2]=1;h=17;z=100}else{switch(g-c|0){case -1310720:break;default:{z=96;break f}}k[A+48>>2]=0;k[n>>2]=e;k[A+48+16>>2]=m;k[A+48+4>>2]=o;g=e;z=102}while(0);do if((z|0)==96)if((g-c|0)<0){k[n>>2]=g;k[A+48>>2]=4;h=20;z=100;break}else{k[n>>2]=c;k[A+48>>2]=4;h=20;g=c;z=100;break}while(0);if((z|0)==100){z=0;g=g+e|0;k[n>>2]=g;k[A+48+16>>2]=m;k[A+48+4>>2]=o;if(!(i[j>>0]|0))z=102;else{k[A+48+12>>2]=k[j+12>>2];k[A+48>>2]=h}}if((z|0)==102){z=U2a(g,m)|0;k[A+48+12>>2]=z}m=k[a+16>>2]|0;k[A>>2]=0;k[A+4>>2]=0;k[A+8>>2]=0;k[A+12>>2]=0;k[A+16>>2]=0;if((k[b+20>>2]|0)>>>0>o>>>0)g=o;else{g=k[b+4>>2]|0;if(!g)g=0;else if(!(k[g>>2]|0)){k[g>>2]=130;g=0}else g=0}j=(k[b+28>>2]|0)+(ha(k[b+8>>2]|0,g)|0)|0;g=k[j+8>>2]|0;c=k[j+4>>2]|0;g:do if((g-c|0)<-1310720){switch(g-c|0){case -1376256:break;default:{z=110;break g}}k[A>>2]=0;k[A+8>>2]=e;k[A+16>>2]=m;k[A+4>>2]=o;g=e;z=115}else{switch(g-c|0){case -1310720:break;default:{z=110;break g}}k[A+8>>2]=c;k[A>>2]=2;h=18;g=c;z=113}while(0);do if((z|0)==110)if((g-c|0)<0){k[A+8>>2]=c;k[A>>2]=8;h=24;g=c;z=113;break}else{k[A+8>>2]=g;k[A>>2]=8;h=24;z=113;break}while(0);if((z|0)==113){z=0;g=g+(k[y+188>>2]<<1)+e|0;k[A+8>>2]=g;k[A+16>>2]=m;k[A+4>>2]=o;if(!(i[j>>0]|0))z=115;else{k[A+12>>2]=k[j+16>>2];k[A>>2]=h}}if((z|0)==115){z=0;w=U2a(g,m)|0;k[A+12>>2]=w}AVa(a,A+48|0,A)}g=(o&7|0)==7;o=o+1|0;if((o|0)==(x|0))break;else{p=g?128:p>>>1&127;q=g?q+1|0:q}}}while(0);k[(k[a+8>>2]|0)+20>>2]=0;g=k[a+20>>2]|0;h:do if(g|0){p=0;do{o=k[a+28+(p*20|0)>>2]|0;q=p+1|0;s=o&12|0?q:p;if(!(o&16)){n=a+28+(p*20|0)+12|0;h=k[n>>2]|0;c=k[a+28+(s*20|0)+12>>2]|0;j=(h&65535|0)==0?0:65536-(h&65535)|0;m=(c&65535|0)==0?0:65536-(c&65535)|0;m=j>>>0>>0?j:m;j=(0-(h&65535)|0)>(0-(c&65535)|0)?0-(h&65535)|0:0-(c&65535)|0;do if(s>>>0<(g+-1|0)>>>0)if((k[a+28+((s+1|0)*20|0)+12>>2]|0)<(c+32768+m|0)){if(!p)z=128;else if((k[a+28+((p+-1|0)*20|0)+12>>2]|0)>(h+-32768+j|0))g=0;else z=128;if((z|0)==128){z=0;if((m|0)<(0-j|0))g=j;else{c=h;g=j;break}}if(!(k[a+28+((s+1|0)*20|0)>>2]&16)){k[A+48>>2]=s;k[A+48+4>>2]=m-g;tVa(k[a+8>>2]|0,A+48|0);c=k[n>>2]|0}else c=h}else z=123;else z=123;while(0);do if((z|0)==123){z=0;if(p|0)if((k[a+28+((p+-1|0)*20|0)+12>>2]|0)>(h+-32768+j|0)){c=h;g=m;break}c=h;g=(m|0)>(0-j|0)?j:m}while(0);k[n>>2]=g+c;if(o&12|0)k[a+28+(s*20|0)+12>>2]=(k[a+28+(s*20|0)+12>>2]|0)+g}if(p|0){g=k[a+28+(p*20|0)+8>>2]|0;c=p+-1|0;h=k[a+28+(c*20|0)+8>>2]|0;if((g|0)!=(h|0)){e=V2a((k[a+28+(p*20|0)+12>>2]|0)-(k[a+28+(c*20|0)+12>>2]|0)|0,g-h|0)|0;k[a+28+(c*20|0)+16>>2]=e}}if(o&12|0){g=k[a+28+(s*20|0)+8>>2]|0;c=k[a+28+((s+-1|0)*20|0)+8>>2]|0;if((g|0)==(c|0))g=q;else{g=V2a((k[a+28+(s*20|0)+12>>2]|0)-(k[a+28+((s+-1|0)*20|0)+12>>2]|0)|0,g-c|0)|0;k[a+28+((s+-1|0)*20|0)+16>>2]=g;g=q}}else g=p;p=g+1|0;g=k[a+20>>2]|0}while(p>>>0>>0);g=k[a+8>>2]|0;c=k[g+20>>2]|0;if(c|0){h=c;j=g;g=c;while(1){m=g+-1|0;if(h>>>0>m>>>0)g=m;else{g=k[j+4>>2]|0;if(!g)g=0;else if(!(k[g>>2]|0)){k[g>>2]=130;g=0}else g=0}c=(k[j+28>>2]|0)+(ha(k[j+8>>2]|0,g)|0)|0;g=k[c>>2]|0;c=k[c+4>>2]|0;h=c+(k[a+28+(g*20|0)+12>>2]|0)|0;if((k[a+28+((g+1|0)*20|0)+12>>2]|0)>=(h+32768|0)){k[a+28+(g*20|0)+12>>2]=h;if(k[a+28+(g*20|0)>>2]&12|0)k[a+28+((g+-1|0)*20|0)+12>>2]=(k[a+28+((g+-1|0)*20|0)+12>>2]|0)+c}if(!m)break h;j=k[a+8>>2]|0;h=k[j+20>>2]|0;g=m}}}while(0);if(!(f<<24>>24)){g=k[a+20>>2]|0;if(g|0){j=0;do{c=a+28+(j*20|0)|0;h=k[c>>2]|0;if(!(h&32)){g=k[a+28+(j*20|0)+4>>2]|0;if((k[b+20>>2]|0)>>>0<=g>>>0){g=k[b+4>>2]|0;if(!g)g=0;else if(!(k[g>>2]|0)){k[g>>2]=130;g=0;h=k[c>>2]|0}else g=0}g=(k[b+28>>2]|0)+(ha(k[b+8>>2]|0,g)|0)|0;c=k[a+28+(j*20|0)+12>>2]|0;if(!(h&10))k[g+12>>2]=c;else k[g+16>>2]=c;i[g>>0]=1;g=k[a+20>>2]|0}j=j+1|0}while(j>>>0>>0)}}i[a+12>>0]=1;i[d+5>>0]=0;r=A;return}function AVa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0;if(!(k[b>>2]|0)){b=c;h=0}else h=(k[c>>2]|0)!=0&1;f=k[a+20>>2]|0;a:do if(!f)g=0;else{e=k[b+8>>2]|0;d=0;while(1){if((k[a+28+(d*20|0)+8>>2]|0)>=(e|0)){g=d;break a}d=d+1|0;if(d>>>0>=f>>>0){g=d;break}}}while(0);if(g>>>0>>0){d=k[a+28+(g*20|0)+8>>2]|0;if((d|0)==(k[b+8>>2]|0))return;if(h<<24>>24)if((d|0)<=(k[c+8>>2]|0))return;if(k[a+28+(g*20|0)>>2]&8|0)return}d=k[a+4>>2]|0;do if(i[d+12>>0]|0)if(!(k[b>>2]&16))if(!(h<<24>>24)){f=yVa(d,k[b+8>>2]|0)|0;k[b+12>>2]=f;break}else{e=b+8|0;f=yVa(d,((k[e>>2]|0)+(k[c+8>>2]|0)|0)/2|0)|0;e=U2a(((k[c+8>>2]|0)-(k[e>>2]|0)|0)/2|0,k[a+16>>2]|0)|0;k[b+12>>2]=f-e;k[c+12>>2]=e+f;break}while(0);if(g|0)if((k[b+12>>2]|0)<(k[a+28+((g+-1|0)*20|0)+12>>2]|0))return;e=k[a+20>>2]|0;do if(e>>>0>g>>>0)if(!(h<<24>>24)){if((k[b+12>>2]|0)<=(k[a+28+(g*20|0)+12>>2]|0))break;return}else{if((k[c+12>>2]|0)<=(k[a+28+(g*20|0)+12>>2]|0))break;return}while(0);d=e+(h&255)|0;if(d>>>0>191)return;if((e|0)!=(g|0)){f=e-g|0;while(1){e=e+-1|0;f=f+-1|0;j=a+28+(d*20|0)|0;l=a+28+(e*20|0)|0;k[j>>2]=k[l>>2];k[j+4>>2]=k[l+4>>2];k[j+8>>2]=k[l+8>>2];k[j+12>>2]=k[l+12>>2];k[j+16>>2]=k[l+16>>2];if(!f)break;else d=d+-1|0}}l=a+28+(g*20|0)|0;k[l>>2]=k[b>>2];k[l+4>>2]=k[b+4>>2];k[l+8>>2]=k[b+8>>2];k[l+12>>2]=k[b+12>>2];k[l+16>>2]=k[b+16>>2];k[a+20>>2]=(k[a+20>>2]|0)+1;if(!(h<<24>>24))return;l=a+28+((g+1|0)*20|0)|0;k[l>>2]=k[c>>2];k[l+4>>2]=k[c+4>>2];k[l+8>>2]=k[c+8>>2];k[l+12>>2]=k[c+12>>2];k[l+16>>2]=k[c+16>>2];k[a+20>>2]=(k[a+20>>2]|0)+1;return}function BVa(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,l=0,m=0,n=0,o=0,p=0;p=r;r=r+32|0;vVa(a,k[a+11720>>2]|0,k[a+11724>>2]|0,b,c,p+20|0,p+16|0);vVa(a,d,e,f,g,p+12|0,p+8|0);j=(ha(e-c>>16,b>>16)|0)-(ha(d-b>>16,c>>16)|0)|0;h=(k[a+4>>2]|0)+16|0;k[h>>2]=j+(k[h>>2]|0);h=k[p+20>>2]|0;j=h+(k[a+11720>>2]|0)|0;k[p>>2]=j;l=k[p+16>>2]|0;m=l+(k[a+11724>>2]|0)|0;k[p+4>>2]=m;n=k[p+12>>2]|0;o=k[p+8>>2]|0;if(i[a+11667>>0]|0){wVa(a,j,m);i[a+11667>>0]=0;i[a+11664>>0]=1;k[a+11712>>2]=h+b;k[a+11712+4>>2]=l+c}if(i[a+11744>>0]|0)xVa(a,a+8|0,p,h+b|0,l+c|0,0);i[a+11744>>0]=1;k[a+11748>>2]=4;m=k[p+4>>2]|0;k[a+11752>>2]=k[p>>2];k[a+11752+4>>2]=m;k[a+11760>>2]=h+b;k[a+11760+4>>2]=l+c;k[a+11768>>2]=n+d;k[a+11772>>2]=o+e;k[a+11776>>2]=n+f;k[a+11780>>2]=o+g;h=k[a+11676>>2]|0;if(!(i[h+5>>0]|0)){k[a+11720>>2]=f;k[a+11724>>2]=g;r=p;return}zVa(a+8|0,k[a+11668>>2]|0,k[a+11672>>2]|0,h,k[a+11680>>2]|0,0);k[a+11720>>2]=f;k[a+11724>>2]=g;r=p;return}function CVa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0;q=r;r=r+64|0;n=k[b>>2]|0;k[q>>2]=n;k[q+4>>2]=k[c>>2];p=(i[e+9>>0]|0)==0;o=p?9:10;g=0;l=0;while(1){m=q+(g+2<<2)|0;k[m>>2]=n;if(!(i[e+g>>0]|0))h=l;else{h=l+1|0;a:do if((k[a+392>>2]|0)-(a+8)>>3>>>0>l>>>0){j=a+8+(l<<3)|0;switch(k[a+8+(l<<3)+4>>2]|0){case 2:{l=k[j>>2]<<16;j=n;break a}case 1:{j=k[j>>2]|0;if((j|0)<0){l=0-(8192-j>>14)|0;j=n;break a}else{l=j+8192>>14;j=n;break a}}default:{l=k[j>>2]|0;j=n;break a}}}else{j=k[a+4>>2]|0;if(!j){l=0;j=n}else if(!(k[j>>2]|0)){k[j>>2]=130;l=0;j=k[m>>2]|0}else{l=0;j=n}}while(0);k[m>>2]=j+l}g=g+1|0;if((g|0)>=(o|0)){j=h;break}n=k[q+(g<<2)>>2]|0;l=h}if(p)k[q+44>>2]=k[c>>2];do if(!(f<<24>>24)){if(!(i[e+10>>0]|0)){l=k[b>>2]|0;k[q+48>>2]=l;h=j}else{h=k[q+40>>2]|0;b:do if((k[a+392>>2]|0)-(a+8)>>3>>>0>j>>>0)switch(k[a+8+(j<<3)+4>>2]|0){case 2:{g=k[a+8+(j<<3)>>2]<<16;break b}case 1:{g=k[a+8+(j<<3)>>2]|0;if((g|0)<0){g=0-(8192-g>>14)|0;break b}else{g=g+8192>>14;break b}}default:{g=k[a+8+(j<<3)>>2]|0;break b}}else{g=k[a+4>>2]|0;if(!g)g=0;else if(!(k[g>>2]|0)){k[g>>2]=130;g=0}else g=0}while(0);l=g+h|0;k[q+48>>2]=l;h=j+1|0}if(!(i[e+11>>0]|0)){h=k[c>>2]|0;k[q+52>>2]=h;j=q+44|0;g=l;break}j=k[q+44>>2]|0;c:do if((k[a+392>>2]|0)-(a+8)>>3>>>0>h>>>0){g=a+8+(h<<3)|0;switch(k[a+8+(h<<3)+4>>2]|0){case 2:{h=k[g>>2]<<16;g=l;break c}case 1:{g=k[g>>2]|0;if((g|0)<0){h=0-(8192-g>>14)|0;g=l;break c}else{h=g+8192>>14;g=l;break c}}default:{h=k[g>>2]|0;g=l;break c}}}else{g=k[a+4>>2]|0;if(!g){h=0;g=l}else if(!(k[g>>2]|0)){k[g>>2]=130;h=0;g=k[q+48>>2]|0}else{h=0;g=l}}while(0);h=h+j|0;k[q+52>>2]=h;j=q+44|0}else{e=(k[q+40>>2]|0)-(k[b>>2]|0)|0;h=(k[q+44>>2]|0)-(k[c>>2]|0)|0;h=(((e|0)<0?0-e|0:e)|0)>(((h|0)<0?0-h|0:h)|0);d:do if((k[a+392>>2]|0)-(a+8)>>3>>>0>j>>>0)switch(k[a+8+(j<<3)+4>>2]|0){case 2:{g=k[a+8+(j<<3)>>2]<<16;break d}case 1:{g=k[a+8+(j<<3)>>2]|0;if((g|0)<0){g=0-(8192-g>>14)|0;break d}else{g=g+8192>>14;break d}}default:{g=k[a+8+(j<<3)>>2]|0;break d}}else{g=k[a+4>>2]|0;if(!g)g=0;else if(!(k[g>>2]|0)){k[g>>2]=130;g=0}else g=0}while(0);if(h){g=(k[q+40>>2]|0)+g|0;k[q+48>>2]=g;h=k[c>>2]|0;k[q+52>>2]=h;j=q+44|0;break}else{e=k[b>>2]|0;k[q+48>>2]=e;h=(k[q+44>>2]|0)+g|0;k[q+52>>2]=h;j=q+44|0;g=e;break}}while(0);BVa(d,k[q+8>>2]|0,k[q+12>>2]|0,k[q+16>>2]|0,k[q+20>>2]|0,k[q+24>>2]|0,k[q+28>>2]|0);BVa(d,k[q+32>>2]|0,k[q+36>>2]|0,k[q+40>>2]|0,k[j>>2]|0,g,h);k[a+392>>2]=a+8;k[b>>2]=g;k[c>>2]=h;r=q;return}function DVa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=k[a+532>>2]|0;k[d>>2]=0;k[d+4>>2]=0;if(!e)return 0;a=Ri[k[e+84>>2]&255](a,b,c)|0;k[d>>2]=a;return 0}function EVa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,l=0,n=0;n=r;r=r+16|0;h=k[a+84>>2]|0;do if(k[a+8>>2]&8|0){if(!(d&16)){if(!(j[a+216+34>>1]|0))break;if(c|0){f=0;do{Bi[k[(k[a+532>>2]|0)+112>>2]&15](a,0,f+b|0,n+2|0,n);k[e+(f<<2)>>2]=m[n>>1];f=f+1|0}while((f|0)!=(c|0))}}else{if(!(i[a+292>>0]|0))break;if(c|0){f=0;do{Bi[k[(k[a+532>>2]|0)+112>>2]&15](a,1,f+b|0,n+2|0,n);k[e+(f<<2)>>2]=m[n>>1];f=f+1|0}while((f|0)!=(c|0))}}b=0;r=n;return b|0}while(0);if(!c){b=0;r=n;return b|0}g=(d&16|0)==0?h+56|0:h+60|0;l=0;while(1){f=jVa(h,k[a+88>>2]|0,l+b|0,d|256)|0;if(f|0){g=18;break}k[e+(l<<2)>>2]=k[g>>2];l=l+1|0;if(l>>>0>=c>>>0){f=0;g=18;break}}if((g|0)==18){r=n;return f|0}return 0}function FVa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;i=r;r=r+16|0;c=k[a>>2]|0;do if(k[c+8>>2]&2){if(Ri[k[(k[c+532>>2]|0)+104>>2]&255](c,b,i)|0){k[a+44>>2]=-1;c=k[a>>2]|0;break}GVa(a,k[i>>2]|0)|0;r=i;return 0}while(0);wSa(c,b);b=k[a>>2]|0;c=k[(k[b+656>>2]|0)+2952>>2]|0;b=qSa(k[(k[b+96>>2]|0)+4>>2]|0,591214)|0;if(!((c|0)!=0&(b|0)!=0)){r=i;return 0}c=k[c>>2]|0;if(!c){r=i;return 0}e=Gi[c&2047](b)|0;if(!e){r=i;return 0}f=k[(k[a>>2]|0)+656>>2]|0;g=k[a+40>>2]|0;h=k[f+1392>>2]|0;Bi[k[e+4>>2]&15](k[g>>2]|0,k[a+16>>2]|0,k[a+20>>2]|0,0,0);c=k[f+1896>>2]|0;if(!c){r=i;return 0}do{c=c+-1|0;d=k[(k[f+1900+(c<<2)>>2]|0)+68>>2]|0;b=k[a+16>>2]|0;if((h|0)==(d|0))d=k[a+20>>2]|0;else{b=S2a(b,h,d)|0;d=S2a(k[a+20>>2]|0,h,d)|0}Bi[k[e+4>>2]&15](k[g+4+(c<<2)>>2]|0,b,d,0,0)}while((c|0)!=0);r=i;return 0}function GVa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;k[a+44>>2]=b;vSa(k[a>>2]|0,b);c=k[a>>2]|0;b=k[(k[c+656>>2]|0)+2952>>2]|0;c=qSa(k[(k[c+96>>2]|0)+4>>2]|0,591214)|0;if(!((b|0)!=0&(c|0)!=0))return 0;b=k[b>>2]|0;if(!b)return 0;e=Gi[b&2047](c)|0;if(!e)return 0;f=k[(k[a>>2]|0)+656>>2]|0;g=k[a+40>>2]|0;h=k[f+1392>>2]|0;Bi[k[e+4>>2]&15](k[g>>2]|0,k[a+16>>2]|0,k[a+20>>2]|0,0,0);b=k[f+1896>>2]|0;if(!b)return 0;do{b=b+-1|0;d=k[(k[f+1900+(b<<2)>>2]|0)+68>>2]|0;c=k[a+16>>2]|0;if((h|0)==(d|0))d=k[a+20>>2]|0;else{c=S2a(c,h,d)|0;d=S2a(k[a+20>>2]|0,h,d)|0}Bi[k[e+4>>2]&15](k[g+4+(b<<2)>>2]|0,c,d,0,0)}while((b|0)!=0);return 0}function HVa(a){a=a|0;return 0}function IVa(a){a=a|0;return}function JVa(a,b){a=a|0;b=b|0;return URa(49824,b)|0}function KVa(a){a=a|0;a=k[a+140>>2]|0;if(!a)return 0;else return ((i[a>>0]|0)==47?a+1|0:a)|0;return 0}function LVa(a,b){a=a|0;b=b|0;k[b>>2]=k[a+140+24>>2];k[b+4>>2]=k[a+140+24+4>>2];k[b+8>>2]=k[a+140+24+8>>2];k[b+12>>2]=k[a+140+24+12>>2];k[b+16>>2]=k[a+140+24+16>>2];k[b+20>>2]=k[a+140+24+20>>2];k[b+24>>2]=k[a+140+24+24>>2];k[b+28>>2]=k[a+140+24+28>>2];return 0}function MVa(a,b){a=a|0;b=b|0;j[b>>1]=j[a+312>>1]|0;return 0}function NVa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(b|0)k[b>>2]=k[a+152>>2];if(c|0)k[c>>2]=k[a+156>>2];if(!d)return 0;k[d>>2]=k[a+160>>2];return 0}function OVa(a,b){a=a|0;b=b|0;if(!b)return 0;i[b>>0]=1;return 0}function PVa(a,b,c){a=a|0;b=b|0;c=c|0;if(!c)return 0;k[c>>2]=b;return 0}function QVa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=r;r=r+384|0;k[b>>2]=1;do if(!(k[b+136>>2]|0)){d=KSa(k[(k[b+96>>2]|0)+4>>2]|0,591674)|0;if(!d){b=11;r=y;return b|0}else{k[b+136>>2]=d;break}}while(0);if(!(k[b+320>>2]|0)){x=KSa(k[(k[b+96>>2]|0)+4>>2]|0,591214)|0;k[b+320>>2]=x}d=pTa(a,0)|0;if(d|0){b=d;r=y;return b|0}q=k[b+100>>2]|0;d=y+8|0;a=d+104|0;do{k[d>>2]=0;d=d+4|0}while((d|0)<(a|0));n=k[b+104>>2]|0;e=k[b+136>>2]|0;d=y+8|0;a=d+100|0;do{k[d>>2]=0;d=d+4|0}while((d|0)<(a|0));vj[k[k[e+4>>2]>>2]&127](y+8|0,0,0,q);k[y+8+72>>2]=n;m=rTa(n)|0;d=wTa(n,31)|0;a:do if(!d){x=(Dmb(k[n+32>>2]|0,529439,31)|0)==0;yTa(n);if(x){w=y+8+76|0;p=y+8+12|0;b:while(1){a=rTa(n)|0;d=k[n+4>>2]|0;e=rTa(n)|0;if((d|0)==(e|0)){d=3;x=25;break}e=d-e|0;f=y+112|0;d=266;c:while(1){e=d>>>0>>0?d:e;d=sTa(n,f,e)|0;if(d|0){x=25;break b}if(e>>>0<256)i[f+e>>0]=0;f=f+e+-10|0;if((y+112|0)>>>0>>0){g=i[y+112>>0]|0;e=y+112|0;while(1){if(g<<24>>24==83)if(!(Dmb(e,529471,9)|0)){d=a;x=19;break c}d=e+1|0;g=i[d>>0]|0;if(g<<24>>24==115)if(!(Dmb(e,529481,6)|0)){d=a;x=23;break c}if(d>>>0>=f>>>0)break;else e=d}}else d=y+112|0;BBb(y+112|0,d|0,10)|0;d=k[n+4>>2]|0;e=rTa(n)|0;if((d|0)==(e|0)){d=3;x=25;break b}else{e=d-e|0;a=a+256|0;f=y+112+10|0;d=256}}if((x|0)==19){x=0;e=10-(y+112)+e|0}else if((x|0)==23){x=0;e=7-(y+112)+e|0}h=e+d|0;d=pTa(n,m)|0;if(d|0){x=39;break a}d=vTa(n,h-m|0,w)|0;if(d|0){x=39;break a}k[y+8+84>>2]=h;k[y+8+80>>2]=h-m;e=k[w>>2]|0;k[y+8+4>>2]=e;k[y+8>>2]=e;k[y+8+8>>2]=e+(h-m);k[y+8+96>>2]=-1;Si[k[y+8+32>>2]&1023](y+8|0);Si[k[y+8+28>>2]&1023](y+8|0);d=k[y+8>>2]|0;Si[k[y+8+32>>2]&1023](y+8|0);Si[k[y+8+28>>2]&1023](y+8|0);g=k[y+8+8>>2]|0;a=k[y+8>>2]|0;if(a>>>0>>0){f=d;while(1){d=k[p>>2]|0;if(d|0){x=39;break a}if((i[a>>0]|0)==83)if(!(Dmb(a,529471,9)|0)){d=f;break b}if((i[a+1>>0]|0)==115)if(!(Dmb(a,529481,6)|0)){d=2;x=39;break a}Si[k[y+8+32>>2]&1023](y+8|0);Si[k[y+8+28>>2]&1023](y+8|0);d=k[y+8>>2]|0;if(d>>>0>>0){v=a;e=f;a=d;f=v}else break}}xTa(n,w);d=pTa(n,h)|0;if(d|0){x=39;break a}}if((x|0)==25){x=39;break}if(!(Dmb(e,529488,5)|0)){d=Wpb(d)|0;if((d|0)<0){d=3;x=39;break}k[y+8+88>>2]=d}k[y>>2]=0;n=k[w>>2]|0;o=k[y+8+80>>2]|0;k[y+8>>2]=n;k[y+8+8>>2]=n+o;k[p>>2]=0;d=n;d:while(1){k[y+8>>2]=d;Si[k[y+8+28>>2]&1023](y+8|0);f=k[y+8>>2]|0;e=f>>>0<(n+o|0)>>>0?f+-17|0:n+o+-1+-17|0;if(d>>>0>>0)do{if((i[d>>0]|0)==37)if(!(Dmb(d,529494,17)|0))if((k[b+300>>2]|0)>0)k[y+8+96>>2]=(k[y+8+96>>2]|0)+1;d=d+1|0}while((d|0)!=(e|0));if(f>>>0>=(n+o|0)>>>0){x=48;break}Si[k[y+8+32>>2]&1023](y+8|0);m=k[y+8>>2]|0;d=k[p>>2]|0;if(!(m>>>0<(n+o|0)>>>0&(d|0)==0))break;if(!((f+2|0)>>>0<(n+o|0)>>>0&(i[f>>0]|0)==47)){d=m;continue}g=m-(f+1)|0;if(!((m|0)!=(f+1|0)&g>>>0<22)){d=m;continue}h=i[f+1>>0]|0;e:do if(g>>>0>1){d=529512;a=49900;while(1){f:do if(h<<24>>24==(i[d>>0]|0))if((g|0)==(Fnb(d)|0)){e=1;while(1){if((i[f+1+e>>0]|0)!=(i[d+e>>0]|0))break f;e=e+1|0;if(e>>>0>=g>>>0)break e}}while(0);a=a+36|0;d=k[a>>2]|0;if(!d){d=m;continue d}}}else{d=529512;a=49900;while(1){if(h<<24>>24==(i[d>>0]|0))if((g|0)==(Fnb(d)|0))break e;a=a+36|0;d=k[a>>2]|0;if(!d){d=m;continue d}}}while(0);e=k[a+8>>2]|0;do if((e|0)==11){Di[k[a+12>>2]&511](b,y+8|0);d=k[p>>2]|0}else{switch(k[a+4>>2]|0){case 0:{d=b+140|0;break}case 3:{d=b+164|0;break}case 2:{d=b+312|0;break}case 5:{d=b+196|0;break}default:{d=k[y+8+96>>2]|0;if((d|0)<0){x=72;break d}if((d|0)>=(k[b+300>>2]|0)){x=72;break d}d=(k[b+304>>2]|0)+(d*252|0)|0}}k[y+112>>2]=d;if((e+-9|0)>>>0<2){d=Ni[k[y+8+68>>2]&127](y+8|0,a,y+112|0,0,0)|0;break}else{d=Ni[k[y+8+64>>2]&127](y+8|0,a,y+112|0,0,0)|0;break}}while(0);k[p>>2]=d;if(d|0){x=76;break}d=k[y+8>>2]|0}if((x|0)==48)d=k[p>>2]|0;else if((x|0)==72){k[p>>2]=160;d=160;x=76}if((x|0)==76){k[y>>2]=d;d=w;break}k[y>>2]=d;if((c|0)<0|(d|0)!=0)d=w;else{d=UTa(q,40,y)|0;k[b+328>>2]=d;if(!(k[y>>2]|0)){e=k[y+8+88>>2]|0;g:do if(!e){e=k[b+104>>2]|0;a=d+40|0;do{k[d>>2]=k[e>>2];d=d+4|0;e=e+4|0}while((d|0)<(a|0));k[b+308>>2]=k[y+8+84>>2]}else{m=UTa(q,e,y)|0;k[b+324>>2]=m;if(k[y>>2]|0){d=w;break a}n=k[y+8+88>>2]|0;o=k[b+104>>2]|0;h:do if(!(pTa(o,k[y+8+84>>2]|0)|0)){i:do if((n|0)>0){h=m;d=y+112|0;e=y+112|0;p=1;while(1){j:while(1){if(d>>>0>=e>>>0){e=rTa(o)|0;d=k[o+4>>2]|0;if((d|0)==(e|0))break h;if(sTa(o,y+112|0,(d-e|0)>>>0<256?d-e|0:256)|0)break h;d=y+112|0;e=y+112+(rTa(o)|0)+(0-e)|0}f=i[d>>0]|0;if(((f&255)+-48|0)>>>0<10){x=94;break}if((f+-97&255)<6){x=95;break}if((f+-65&255)<6){x=96;break}switch(f<<24>>24){case 62:{g=1;a=d;d=0;break j}case 0:case 12:case 10:case 13:case 9:case 32:break;default:break h}d=d+1|0}if((x|0)==94){x=0;g=0;a=d;d=(f&255)+208&255}else if((x|0)==95){x=0;g=0;a=d;d=(f&255)+159&255}else if((x|0)==96){x=0;g=0;a=d;d=(f&255)+201&255}if(!(p<<24>>24)){i[h>>0]=(l[h>>0]|0)+(d&255);d=h+1|0}else{i[h>>0]=(d&255)<<4;d=h}if(g<<24>>24)break i;if(d>>>0<(m+n|0)>>>0){h=d;d=a+1|0;p=1-(p&255)&255}else break}}while(0);nTa(k[b+328>>2]|0,k[b+324>>2]|0,k[y+8+88>>2]|0);k[b+308>>2]=0;break g}while(0);d=w;break a}while(0);v=k[b+100>>2]|0;s=k[b+328>>2]|0;t=k[b+136>>2]|0;e=WTa(v,8,0,k[b+300>>2]|0,0,y+112|0)|0;k[b+316>>2]=e;k:do if(!(k[y+112>>2]|0))if((k[b+300>>2]|0)>0){a=0;u=0;d=0;l:while(1){f=k[b+304>>2]|0;o=k[f+(u*252|0)+4>>2]|0;q=k[f+(u*252|0)+240>>2]|0;if((q|0)==-1){x=109;break}if((q+1|0)>>>0>a>>>0){if((q+4&-4)>>>0<=a>>>0){x=112;break}d=WTa(v,4,a,q+4&-4,d,y+112|0)|0;if(!(k[y+112>>2]|0))p=q+4&-4;else break}else p=a;n=pTa(s,(k[f+(u*252|0)+244>>2]|0)+(k[b+308>>2]|0)|0)|0;k[y+112>>2]=n;if(n|0)break;a=f+(u*252|0)+248|0;n=wTa(s,ha(k[a>>2]|0,q+1|0)|0)|0;k[y+112>>2]=n;if(n|0)break;m=k[a>>2]|0;if(!((m&255)<<24>>24)){a=0;do{k[d+(a<<2)>>2]=0;a=a+1|0}while(a>>>0<=q>>>0)}else{n=0;a=k[s+32>>2]|0;while(1){h=a;g=m&255;a=h;f=0;while(1){f=l[a>>0]|f<<8;g=g+-1<<24>>24;if(!(g<<24>>24))break;else a=a+1|0}k[d+(n<<2)>>2]=f;n=n+1|0;if(n>>>0>q>>>0)break;else a=h+((m+255&255)+1)|0}}yTa(s);a=k[d>>2]|0;if(q|0){f=a;g=1;do{n=f;f=k[d+(g<<2)>>2]|0;g=g+1|0;if(n>>>0>f>>>0)break l}while(g>>>0<=q>>>0)}a=(k[d+(q<<2)>>2]|0)-a|0;n=WTa(v,4,0,q+1|0,0,y+112|0)|0;h=e+4|0;k[h>>2]=n;if(k[y+112>>2]|0)break;n=UTa(v,a,y+112|0)|0;k[k[h>>2]>>2]=n;if(k[y+112>>2]|0)break;n=pTa(s,(k[d>>2]|0)+(k[b+308>>2]|0)|0)|0;k[y+112>>2]=n;if(n|0)break;n=sTa(s,k[k[h>>2]>>2]|0,a)|0;k[y+112>>2]=n;if(n|0)break;do if(q|0){g=k[d>>2]|0;a=g;f=1;do{m=a;a=k[d+(f<<2)>>2]|0;n=k[h>>2]|0;k[n+(f<<2)>>2]=(k[n+(f+-1<<2)>>2]|0)+(a-m);f=f+1|0}while(f>>>0<=q>>>0);if((o|0)<=-1)break;a=d+4|0;kj[k[t+16>>2]&255](k[k[h>>2]>>2]|0,(k[a>>2]|0)-g|0,4330);if((q|0)==1)break;else f=1;do{n=f;f=f+1|0;o=a;a=d+(f<<2)|0;kj[k[t+16>>2]&255](k[(k[h>>2]|0)+(n<<2)>>2]|0,(k[a>>2]|0)-(k[o>>2]|0)|0,4330)}while((f|0)!=(q|0))}while(0);k[e>>2]=q;u=u+1|0;if((u|0)>=(k[b+300>>2]|0))break k;else{a=p;e=e+8|0}}if((x|0)==109)k[y+112>>2]=160;else if((x|0)==112)k[y+112>>2]=160;e=k[b+316>>2]|0;if(e){if((k[b+300>>2]|0)>0){f=0;do{a=k[e+(f<<3)+4>>2]|0;if(a){YTa(v,k[a>>2]|0);k[k[(k[b+316>>2]|0)+(f<<3)+4>>2]>>2]=0;e=k[b+316>>2]|0}YTa(v,k[e+(f<<3)+4>>2]|0);e=k[b+316>>2]|0;k[e+(f<<3)+4>>2]=0;f=f+1|0}while((f|0)<(k[b+300>>2]|0))}YTa(v,e);k[b+316>>2]=0}}else d=0;else d=0;while(0);YTa(v,d);k[y>>2]=k[y+112>>2];d=w}else d=w}}else{d=2;x=39}}else x=39;while(0);if((x|0)==39){k[y>>2]=d;d=y+8+76|0}if(k[d>>2]|0)xTa(k[y+8+72>>2]|0,d);Si[k[y+8+24>>2]&1023](y+8|0);d=k[y>>2]|0;if((c|0)<0|(d|0)!=0){b=d;r=y;return b|0}if(c|0){b=6;r=y;return b|0}k[b+16>>2]=k[b+140+156>>2];k[b+36>>2]=0;k[b+4>>2]=0;d=k[b+8>>2]|0;k[b+8>>2]=d|2065;h=k[b+140+48>>2]|0;if((h&255)<<24>>24)k[b+8>>2]=d|2069;e=k[b+140+36>>2]|0;k[b+20>>2]=e;k[b+24>>2]=592007;m:do if(!e){d=k[b+140>>2]|0;if(d|0)k[b+20>>2]=d}else{d=k[b+140+32>>2]|0;if(d|0){a=i[d>>0]|0;if(a<<24>>24){n:while(1){g=a<<24>>24==0;o:while(1){f=i[e>>0]|0;if(a<<24>>24==f<<24>>24){x=155;break}switch(a<<24>>24){case 45:case 32:break o;default:{}}switch(f<<24>>24){case 0:break n;case 45:case 32:break;default:break m}if(g)break m;else e=e+1|0}if((x|0)==155){x=0;e=e+1|0}d=d+1|0;a=i[d>>0]|0;if(!(a<<24>>24))break m}k[b+24>>2]=d}}}while(0);d=(k[b+140+44>>2]|0)!=0&1;k[b+12>>2]=d;e=k[b+140+40>>2]|0;do if(e|0){if(Wmb(e,592027)|0)if(Wmb(e,591579)|0)break;k[b+12>>2]=d|2}while(0);k[b+28>>2]=0;k[b+32>>2]=0;k[b+52>>2]=k[b+140+56>>2]>>16;e=k[b+140+60>>2]>>16;k[b+56>>2]=e;k[b+60>>2]=(k[b+140+64>>2]|0)+65535>>16;a=(k[b+140+68>>2]|0)+65535>>16;k[b+64>>2]=a;d=j[b+68>>1]|0;if(!(d<<16>>16)){j[b+68>>1]=1e3;d=1e3}j[b+70>>1]=a;j[b+72>>1]=e;c=(((d&65535)*12|0)>>>0)/10|0;j[b+74>>1]=(c<<16>>16|0)<(a-e|0)?a-e|0:c;j[b+80>>1]=h>>>16;j[b+82>>1]=j[b+140+52>>1]|0;b=0;r=y;return b|0}function RVa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=r;r=r+16|0;c=k[a+100>>2]|0;k[e>>2]=0;d=Gi[k[b+36>>2]&2047](b)|0;if((d|0)<0){k[e>>2]=3;r=e;return}if(k[a+304>>2]|0){r=e;return}c=WTa(c,252,0,d,0,e)|0;k[a+304>>2]=c;if(k[e>>2]|0){r=e;return}k[a+300>>2]=d;if((d|0)>0)b=0;else{r=e;return}do{k[c+(b*252|0)+4>>2]=4;b=b+1|0}while((b|0)<(d|0));r=e;return}function SVa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=r;r=r+32|0;e=k[b+96>>2]|0;if((e|0)<=-1){r=g;return}if((e|0)>=(k[a+300>>2]|0)){r=g;return}f=k[a+304>>2]|0;if((nj[k[b+52>>2]&127](b,6,g,3)|0)<6){r=g;return}b=k[g+12>>2]|0;b=(b|0)<0?0-b|0:b;if(!b){r=g;return}d=(V2a(1e3,b)|0)&65535;j[a+68>>1]=d;if((b|0)==65536){b=g+8|0;a=g+16|0;c=g+20|0;d=g+4|0}else{a=V2a(k[g>>2]|0,b)|0;k[g>>2]=a;a=V2a(k[g+4>>2]|0,b)|0;k[g+4>>2]=a;a=V2a(k[g+8>>2]|0,b)|0;k[g+8>>2]=a;a=V2a(k[g+16>>2]|0,b)|0;k[g+16>>2]=a;b=V2a(k[g+20>>2]|0,b)|0;k[g+20>>2]=b;k[g+12>>2]=k[g+12>>2]>>31&-131072|65536;b=g+8|0;a=g+16|0;c=g+20|0;d=g+4|0}k[f+(e*252|0)+216>>2]=k[g>>2];k[f+(e*252|0)+224>>2]=k[d>>2];k[f+(e*252|0)+220>>2]=k[b>>2];k[f+(e*252|0)+228>>2]=k[g+12>>2];k[f+(e*252|0)+232>>2]=k[a>>2]>>16;k[f+(e*252|0)+236>>2]=k[c>>2]>>16;r=g;return}function TVa(a,b){a=a|0;b=b|0;var c=0;c=k[b+96>>2]|0;if((c|0)<=-1)return;if((c|0)>=(k[a+300>>2]|0))return;a=k[a+304>>2]|0;b=gj[k[b+40>>2]&511](b,0)|0;k[a+(c*252|0)+208>>2]=b;k[a+(c*252|0)+180>>2]=b;return}function UVa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(!a)return;f=k[a+100>>2]|0;b=k[a+316>>2]|0;if(b|0){c=k[a+140+160>>2]|0;if((c|0)>0){e=0;while(1){b=b+(e<<3)+4|0;d=k[b>>2]|0;if(d){YTa(f,k[d>>2]|0);k[k[b>>2]>>2]=0;YTa(f,k[b>>2]|0);k[b>>2]=0;c=k[a+140+160>>2]|0}d=e+1|0;if((d|0)>=(c|0))break;b=k[a+316>>2]|0;e=d}b=k[a+316>>2]|0}YTa(f,b);k[a+316>>2]=0}YTa(f,k[a+140+24>>2]|0);k[a+140+24>>2]=0;YTa(f,k[a+140+28>>2]|0);k[a+140+28>>2]=0;YTa(f,k[a+140+32>>2]|0);k[a+140+32>>2]=0;YTa(f,k[a+140+36>>2]|0);k[a+140+36>>2]=0;YTa(f,k[a+140+40>>2]|0);k[a+140+40>>2]=0;YTa(f,k[a+140+164>>2]|0);k[a+140+164>>2]=0;k[a+140+160>>2]=0;YTa(f,k[a+140>>2]|0);k[a+140>>2]=0;YTa(f,k[a+140+12>>2]|0);k[a+140+12>>2]=0;YTa(f,k[a+140+16>>2]|0);k[a+140+16>>2]=0;k[a+20>>2]=0;k[a+24>>2]=0;YTa(f,k[a+324>>2]|0);k[a+324>>2]=0;YTa(f,k[a+328>>2]|0);k[a+328>>2]=0;return}function VVa(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+16|0;c=k[a>>2]|0;b=k[c+320>>2]|0;c=qSa(k[(k[c+96>>2]|0)+4>>2]|0,591214)|0;if(!((b|0)!=0&(c|0)!=0)){a=0;r=d;return a|0}b=k[b>>2]|0;if(!b){a=0;r=d;return a|0}b=Gi[b&2047](c)|0;if(!b){a=0;r=d;return a|0}c=k[a>>2]|0;b=Ri[k[b>>2]&255](k[c+100>>2]|0,(k[c+140+164>>2]|0)+((k[c+4>>2]|0)*252|0)|0,d)|0;if(!b)k[a+40>>2]=k[d>>2];a=b;r=d;return a|0}function WVa(a){a=a|0;var b=0,c=0;if(!(k[a+40>>2]|0))return;c=k[a>>2]|0;b=k[c+320>>2]|0;c=qSa(k[(k[c+96>>2]|0)+4>>2]|0,591214)|0;if((b|0)!=0&(c|0)!=0){b=k[b>>2]|0;if(b|0){b=Gi[b&2047](c)|0;if(b|0)Si[k[b+8>>2]&1023](k[a+40>>2]|0)}}k[a+40>>2]=0;return}function XVa(a){a=a|0;var b=0,c=0;b=k[a+4>>2]|0;c=k[b+320>>2]|0;if(!c)return 0;b=qSa(k[(k[b+96>>2]|0)+4>>2]|0,591214)|0;if(!b)return 0;c=Gi[k[c+4>>2]&2047](b)|0;k[(k[a+156>>2]|0)+36>>2]=c;return 0}function YVa(a){a=a|0;k[(k[a+156>>2]|0)+36>>2]=0;return}function ZVa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,l=0,n=0;n=r;r=r+1552|0;e=k[a+4>>2]|0;f=k[e+136>>2]|0;if((k[e+16>>2]|0)>>>0<=c>>>0){a=6;r=n;return a|0}l=(d&1024|0)==0?d:d|3;k[a+164>>2]=k[b+16>>2];k[a+168>>2]=k[b+20>>2];j[a+110>>1]=0;j[a+108>>1]=0;if(!(l&1))g=(l>>>1&1^1)&255;else g=0;k[a+72>>2]=1869968492;d=Ci[k[k[f+12>>2]>>2]&3](n+40|0,e,b,a,0,0,g,l>>>16&15,356)|0;if(d|0){a=d;r=n;return a|0}i[n+40+69>>0]=(l&1024)>>>10;d=_Va(n+40|0,c)|0;if(d|0){a=d;r=n;return a|0}k[n+24>>2]=k[n+40+1376>>2];k[n+24+4>>2]=k[n+40+1376+4>>2];k[n+24+8>>2]=k[n+40+1376+8>>2];k[n+24+12>>2]=k[n+40+1376+12>>2];d=k[n+40+1392>>2]|0;c=k[n+40+1396>>2]|0;Si[k[(k[f+12>>2]|0)+4>>2]&1023](n+40|0);k[a+124>>2]=k[a+124>>2]&1|4;if(l&1024|0){l=k[a+156>>2]|0;h=(Q2a(k[n+40+32>>2]|0)|0)>>16;k[a+32>>2]=h;h=(Q2a(k[n+40+40>>2]|0)|0)>>16;k[a+40>>2]=h;k[l+12>>2]=k[n+24>>2];k[l+12+4>>2]=k[n+24+4>>2];k[l+12+8>>2]=k[n+24+8>>2];k[l+12+12>>2]=k[n+24+12>>2];k[l+28>>2]=d;k[l+32>>2]=c;i[l+8>>0]=1;a=0;r=n;return a|0}f=(Q2a(k[n+40+40>>2]|0)|0)>>16;k[a+40>>2]=f;f=(Q2a(k[n+40+40>>2]|0)|0)>>16;k[a+56>>2]=f;i[(k[a+156>>2]|0)+8>>0]=0;f=(k[e+208>>2]|0)-(k[e+200>>2]|0)>>16;k[a+52>>2]=f;k[a+60>>2]=f;k[a+72>>2]=1869968492;if((m[b+14>>1]|0)<24)k[a+124>>2]=k[a+124>>2]|256;XSa(a+108|0,n+24|0);VSa(a+108|0,d,c);k[n>>2]=k[a+40>>2];k[n+4>>2]=0;WSa(n,n+24|0);k[a+40>>2]=(k[n>>2]|0)+d;k[n>>2]=0;k[n+4>>2]=k[a+52>>2];WSa(n,n+24|0);k[a+52>>2]=(k[n+4>>2]|0)+c;if(!(l&1)){d=k[n+40+16>>2]|0;e=k[d+4>>2]|0;f=k[a+164>>2]|0;b=k[a+168>>2]|0;if(!(g<<24>>24))h=13;else if(!(k[n+40+72>>2]|0))h=13;if((h|0)==13){d=j[d+2>>1]|0;if(d<<16>>16>0){c=d<<16>>16;d=e;while(1){h=U2a(k[d>>2]|0,f)|0;k[d>>2]=h;h=d+4|0;g=U2a(k[h>>2]|0,b)|0;k[h>>2]=g;if((c|0)>1){c=c+-1|0;d=d+8|0}else break}}}h=U2a(k[a+40>>2]|0,f)|0;k[a+40>>2]=h;h=U2a(k[a+52>>2]|0,b)|0;k[a+52>>2]=h}USa(a+108|0,n+8|0);g=k[n+8>>2]|0;k[a+24>>2]=(k[n+8+8>>2]|0)-g;h=k[n+8+12>>2]|0;k[a+28>>2]=h-(k[n+8+4>>2]|0);k[a+32>>2]=g;k[a+36>>2]=h;if(l&16|0)uSa(a+24|0,k[a+52>>2]|0);a=0;r=n;return a|0}function _Va(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,m=0,n=0,o=0,p=0,q=0,s=0;s=r;r=r+32|0;n=k[a+4>>2]|0;m=k[n+328>>2]|0;k[s+16>>2]=0;o=k[n+100>>2]|0;p=k[n+136>>2]|0;q=k[(k[n+128>>2]|0)+48>>2]|0;do if(q|0){c=Ri[k[k[q>>2]>>2]&255](k[q+4>>2]|0,b,s)|0;k[s+16>>2]=c;if(!c){g=k[n+288>>2]|0;if(!((g&255)<<24>>24))f=0;else{d=g&255;e=k[s>>2]|0;c=0;while(1){c=l[e>>0]|0|c<<8;d=d+-1<<24>>24;if(!(d<<24>>24)){f=c;break}else e=e+1|0}}d=k[s+4>>2]|0;if(!d){e=0;d=0}else{c=UTa(o,d-g|0,s+16|0)|0;if(!(k[s+16>>2]|0)){ABb(c|0,(k[s>>2]|0)+(k[n+288>>2]|0)|0,d-g|0)|0;e=c;d=d-g|0}else{e=c;d=d-g|0}}Di[k[(k[q>>2]|0)+4>>2]&511](k[q+4>>2]|0,s);c=k[s+16>>2]|0;if(!c){c=f;break}}b=c;r=s;return b|0}else{c=(k[n+292>>2]|0)+(k[n+288>>2]|0)|0;d=pTa(m,(k[n+284>>2]|0)+(k[n+308>>2]|0)+(ha(c,b)|0)|0)|0;k[s+16>>2]=d;if(d|0){b=d;r=s;return b|0}c=wTa(m,c<<1)|0;k[s+16>>2]=c;if(c|0){b=c;r=s;return b|0}e=k[m+32>>2]|0;i=k[n+288>>2]|0;if(!((i&255)<<24>>24))j=0;else{d=i&255;f=e;c=0;while(1){c=l[f>>0]|0|c<<8;d=d+-1<<24>>24;if(!(d<<24>>24))break;else f=f+1|0}e=e+((i+255&255)+1)|0;j=c}h=k[n+292>>2]|0;if(!((h&255)<<24>>24)){f=0;c=0}else{c=h&255;d=e;f=0;while(1){f=l[d>>0]|0|f<<8;c=c+-1<<24>>24;if(!(c<<24>>24))break;else d=d+1|0}if(!((h&255)<<24>>24))c=0;else{g=h&255;d=e+((h+255&255)+1)+i|0;c=0;while(1){c=l[d>>0]|0|c<<8;g=g+-1<<24>>24;if(!(g<<24>>24))break;else d=d+1|0}}}d=c-f|0;yTa(m);if(j>>>0>=(k[n+300>>2]|0)>>>0){k[s+16>>2]=9;b=9;r=s;return b|0}if((c|0)==(f|0)){b=0;r=s;return b|0}e=UTa(o,d,s+16|0)|0;c=k[s+16>>2]|0;if(c|0){b=c;r=s;return b|0}c=tTa(m,(k[n+308>>2]|0)+f|0,e,d)|0;k[s+16>>2]=c;if(!c)c=j;else{b=c;r=s;return b|0}}while(0);j=k[n+316>>2]|0;k[a+1364>>2]=k[j+(c<<3)>>2];k[a+1368>>2]=k[j+(c<<3)+4>>2];k[a+1372>>2]=0;n=k[n+304>>2]|0;j=n+(c*252|0)+216|0;k[a+1376>>2]=k[j>>2];k[a+1376+4>>2]=k[j+4>>2];k[a+1376+8>>2]=k[j+8>>2];k[a+1376+12>>2]=k[j+12>>2];j=n+(c*252|0)+232|0;m=k[j+4>>2]|0;k[a+1392>>2]=k[j>>2];k[a+1392+4>>2]=m;n=k[n+(c*252|0)+4>>2]|0;k[a+1360>>2]=n;c=(n|0)>-1?n:0;if((n|0)>-1)kj[k[p+16>>2]&255](e,d,4330);c=Ri[k[a+1484>>2]&255](a,e+c|0,d-c|0)|0;k[s+16>>2]=c;YTa(o,e);c=k[s+16>>2]|0;if(!((q|0)!=0&(c|0)==0)){b=c;r=s;return b|0}if(!(k[(k[q>>2]|0)+8>>2]|0)){b=0;r=s;return b|0}p=(Q2a(k[a+32>>2]|0)|0)>>16;k[s>>2]=p;k[s+4>>2]=0;p=(Q2a(k[a+40>>2]|0)|0)>>16;k[s+8>>2]=p;p=(Q2a(k[a+44>>2]|0)|0)>>16;k[s+12>>2]=p;b=nj[k[(k[q>>2]|0)+8>>2]&127](k[q+4>>2]|0,b,0,s)|0;k[s+16>>2]=b;k[a+32>>2]=k[s>>2]<<16;k[a+40>>2]=k[s+8>>2]<<16;k[a+44>>2]=k[s+12>>2]<<16;r=s;return b|0}function $Va(a,b){a=a|0;b=b|0;var c=0;wSa(k[a>>2]|0,b);c=k[a>>2]|0;b=k[c+320>>2]|0;c=qSa(k[(k[c+96>>2]|0)+4>>2]|0,591214)|0;if(!((b|0)!=0&(c|0)!=0))return 0;b=k[b>>2]|0;if(!b)return 0;b=Gi[b&2047](c)|0;if(!b)return 0;Bi[k[b+4>>2]&15](k[a+40>>2]|0,k[a+16>>2]|0,k[a+20>>2]|0,0,0);return 0}function aWa(a,b){a=a|0;b=b|0;return URa(51832,b)|0}function bWa(a,b,c){a=a|0;b=b|0;c=c|0;k[b>>2]=k[a+176>>2];k[c>>2]=k[a+180>>2];return 0}function cWa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=k[a+284>>2]|0;a=k[a+280>>2]|0;if((a|0)>0)d=0;else{c=6;return c|0}do{f=d;d=d+1|0;f=(Wmb(k[e+(f*12|0)>>2]|0,b)|0)!=0}while((d|0)<(a|0)&f);a=e+(d*12|0)+-12|0;if(f){c=6;return c|0}if(!(i[a+4>>0]|0)){k[c>>2]=2;k[c+4>>2]=k[a+8>>2];c=0;return c|0}else{k[c>>2]=1;k[c+4>>2]=k[a+8>>2];c=0;return c|0}return 0}function dWa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=r;r=r+16|0;a:do if(eWa(a,b)|0){gWa(b);d=h3a(b+132|0,a)|0;do if((d&255|0)!=7){if(d|0){e=x3a(b+132|0,a)|0;if(!((e|0)==0&(e&255|0)!=7))break}k[b+172>>2]=a;k[b+104>>2]=b+132;if(!(eWa(b+132|0,b)|0))break a}while(0);gWa(b);b=2;r=f;return b|0}while(0);if((c|0)>0){gWa(b);b=6;r=f;return b|0}d=k[b+180>>2]|0;e=k[b+176>>2]|0;b:do if((d|0)!=0&(e|0)!=0){switch(i[d>>0]|0){case 73:case 105:break;default:{d=1;break b}}switch(i[d+1>>0]|0){case 83:case 115:break;default:{d=1;break b}}switch(i[d+2>>0]|0){case 79:case 111:break;default:{d=1;break b}}if(Wmb(d+3|0,529840)|0){if(Wmb(d+3|0,529846)|0){d=1;break}if(Wmb(e,529851)|0){d=1;break}}d=0}else d=1;while(0);k[f>>2]=b;k[f+4>>2]=0;j[f+8>>1]=0;j[f+10>>1]=0;if(!d){k[f+4>>2]=1970170211;j[f+8>>1]=3;j[f+10>>1]=1}b=DSa(51864,0,f,0)|0;r=f;return b|0}function eWa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0;x=r;r=r+32|0;w=k[b+100>>2]|0;v=pTa(a,0)|0;k[x+24>>2]=v;a:do if(!v){v=KTa(a,170108,b+184|0)|0;k[x+24>>2]=v;if(!v)if((k[b+184>>2]|0)==1885562369){c=k[b+188>>2]|0;if((c+-1|0)>>>0>134217726){c=3;v=31}else{c=WTa(w,16,0,c,0,x+24|0)|0;k[b+192>>2]=c;if(!(k[x+24>>2]|0)){b:do if(!(k[b+188>>2]|0)){d=0;v=11}else{e=0;while(1){v=KTa(a,170124,c)|0;k[x+24>>2]=v;if(v|0){v=33;break b}e=e+1|0;d=k[b+188>>2]|0;if(e>>>0>=d>>>0)break;else c=c+16|0}c=k[b+192>>2]|0;if((d|0)==1){g=k[a+4>>2]|0;d=1;h=c;v=27}else v=11}while(0);c:do if((v|0)==11){p=c+12|0;o=0;d:do{n=~o;o=o+1|0;if((d|0)==(o|0))break;g=k[p>>2]|0;e=0;m=0;while(1){h=m;m=m+1|0;d=c+(m<<4)+12|0;f=k[d>>2]|0;if(g>>>0>f>>>0){f=c+(m<<4)|0;e=c+(h<<4)|0;k[x+8>>2]=k[e>>2];k[x+8+4>>2]=k[e+4>>2];k[x+8+8>>2]=k[e+8>>2];k[x+8+12>>2]=k[e+12>>2];k[e>>2]=k[f>>2];k[e+4>>2]=k[f+4>>2];k[e+8>>2]=k[f+8>>2];k[e+12>>2]=k[f+12>>2];k[f>>2]=k[x+8>>2];k[f+4>>2]=k[x+8+4>>2];k[f+8>>2]=k[x+8+8>>2];k[f+12>>2]=k[x+8+12>>2];f=k[d>>2]|0;e=1}d=k[c+(h<<4)+8>>2]|0;if(f>>>0>>0){v=19;break d}if((k[c+(h<<4)+12>>2]|0)>>>0>(f-d|0)>>>0){v=19;break d}d=k[b+188>>2]|0;if(m>>>0>=(d+n|0)>>>0)break;else g=f}}while((e|0)!=0&o>>>0<(d+-1|0)>>>0);if((v|0)==19){k[x+24>>2]=9;v=33;break}m=k[b+192>>2]|0;f=k[a+4>>2]|0;if((d|0)==1){g=f;h=m;c=m;v=27}else{g=d+-1|0;h=0;c=m;while(1){e=k[c+8>>2]|0;if(f>>>0>>0)break;if((k[c+12>>2]|0)>>>0>(f-e|0)>>>0)break;c=c+16|0;h=h+1|0;if(h>>>0>=g>>>0){g=f;h=m;v=27;break c}}k[x+24>>2]=8;v=33}}while(0);do if((v|0)==27){e=k[c+12>>2]|0;if(g>>>0>>0){k[x+24>>2]=8;v=33;break}f=c+8|0;c=g-e|0;if((k[f>>2]|0)>>>0>c>>>0)k[f>>2]=c;k[x>>2]=0;f=h}while(0);if((v|0)==33){YTa(w,k[b+192>>2]|0);k[b+192>>2]=0;u=k[x+24>>2]|0;k[x>>2]=u;if(u|0)break;d=k[b+188>>2]|0;f=0}o=k[b+100>>2]|0;e:do if(!d){c=3;v=40}else{c=0;while(1){if((k[f+(c<<4)>>2]|0)==1)break;c=c+1|0;if(c>>>0>=d>>>0){c=3;v=40;break e}}d=k[a+8>>2]|0;e=k[f+(c<<4)+12>>2]|0;if(e>>>0>>0){c=83;v=40}else if(!(qTa(a,e-d|0)|0)){f=k[f+(c<<4)+8>>2]|0;k[x+24>>2]=0;e=JTa(a,x+24|0)|0;if(e>>>0<256&(k[x+24>>2]|0)==0){if(!(e&4))n=JTa(a,x+24|0)|0;else n=ITa(a,x+24|0)|0;if(!(k[x+24>>2]|0)){if(n>>>0>((f>>>0)/9|0)>>>0){k[x+24>>2]=8;d=0;c=0;break}k[b+280>>2]=n;d=WTa(o,12,0,n,0,x+24|0)|0;if(!(k[x+24>>2]|0)){m=(n|0)==0;do if(!m){if(!(e&4)){c=0;do{u=KTa(a,170148,d+(c*12|0)|0)|0;k[x+24>>2]=u;if(u|0){c=0;break e}c=c+1|0}while(c>>>0>>0)}else{c=0;do{u=KTa(a,170168,d+(c*12|0)|0)|0;k[x+24>>2]=u;if(u|0){c=0;break e}c=c+1|0}while(c>>>0>>0)}c=n&3;if(c|0){u=qTa(a,4-c|0)|0;k[x+24>>2]=u;if(!u)break;k[x+24>>2]=83;c=0;break e}}while(0);if(!(e&4))h=JTa(a,x+24|0)|0;else h=ITa(a,x+24|0)|0;if(!(k[x+24>>2]|0)){if(h>>>0>((ha(n,-9)|0)+f|0)>>>0){k[x+24>>2]=8;c=0;break}c=WTa(o,1,0,h+1|0,0,x+24|0)|0;if(k[x+24>>2]|0)break;u=sTa(a,c,h)|0;k[x+24>>2]=u;if(u|0)break;g=WTa(o,12,0,n,0,x+24|0)|0;if(k[x+24>>2]|0)break;k[b+284>>2]=g;f:do if(!m){f=0;while(1){e=k[d+(f*12|0)>>2]|0;if((e|0)<0|e>>>0>h>>>0){v=69;break}u=ZTa(o,c+e|0,x+24|0)|0;k[g+(f*12|0)>>2]=u;if(k[x+24>>2]|0)break e;u=i[d+(f*12|0)+4>>0]|0;i[g+(f*12|0)+4>>0]=u;e=k[d+(f*12|0)+8>>2]|0;if(!(u<<24>>24))k[g+(f*12|0)+8>>2]=e;else{if((e|0)<0|e>>>0>h>>>0){v=73;break}u=ZTa(o,c+e|0,x+24|0)|0;k[g+(f*12|0)+8>>2]=u;if(k[x+24>>2]|0)break e}f=f+1|0;if(f>>>0>=n>>>0)break f}if((v|0)==69){k[x+24>>2]=9;break e}else if((v|0)==73){k[x+24>>2]=9;break e}}while(0);k[x+24>>2]=0}else c=0}else c=0}else{d=0;c=0}}else{d=0;c=0}}else{c=83;v=40}}while(0);if((v|0)==40){k[x+24>>2]=c;d=0;c=0}YTa(o,d);YTa(o,c);u=k[x+24>>2]|0;k[x>>2]=u;if(!u){e=k[b+192>>2]|0;c=k[b+188>>2]|0;g:do if(!c)v=82;else{d=0;while(1){if((k[e+(d<<4)>>2]|0)==256){s=1;break g}d=d+1|0;if(d>>>0>=c>>>0){v=82;break}}}while(0);if((v|0)==82){u=fWa(a,b,2)|0;k[x>>2]=u;if(u|0)break;c=k[b+188>>2]|0;e=k[b+192>>2]|0;s=0}h=k[b+100>>2]|0;h:do if(!c){c=3;v=89}else{d=0;while(1){if((k[e+(d<<4)>>2]|0)==4)break;d=d+1|0;if(d>>>0>=c>>>0){c=3;v=89;break h}}c=k[a+8>>2]|0;f=k[e+(d<<4)+12>>2]|0;if(f>>>0>>0){c=83;v=89}else if(!(qTa(a,f-c|0)|0)){d=k[e+(d<<4)+8>>2]|0;k[x+8>>2]=0;e=JTa(a,x+8|0)|0;c=k[x+8>>2]|0;if(!c){switch(e&-256|0){case 256:case 0:break;default:{c=3;break h}}do if(e>>>0<256)if(e&4|0){g=ITa(a,x+8|0)|0;break}else{g=JTa(a,x+8|0)|0;break}else if(e&4|0){g=(FTa(a,x+8|0)|0)&65535;break}else{g=(GTa(a,x+8|0)|0)&65535;break}while(0);if(!(k[x+8>>2]|0)){k[b+288>>2]=g;if(!g)c=8;else{if(e>>>0<256){if(g>>>0>((d>>>0)/12|0)>>>0){c=8;break}}else if(g>>>0>((d>>>0)/5|0)>>>0){c=8;break}c=WTa(h,16,0,g,0,x+8|0)|0;k[b+292>>2]=c;if(!(k[x+8>>2]|0)){f=e&4|0?170292:170324;i:do if(e>>>0<256){e=0;while(1){u=KTa(a,f,c)|0;k[x+8>>2]=u;k[c+12>>2]=0;if(u|0){v=120;break i}if((j[c+2>>1]|0)<(j[c>>1]|0)){d=c+8|0;v=110}else{d=c+8|0;if(((j[d>>1]|0)+(j[c+6>>1]|0)|0)<0)v=110}if((v|0)==110){v=0;u=c;k[u>>2]=0;k[u+4>>2]=0;j[d>>1]=0}e=e+1|0;if(e>>>0>=g>>>0){v=119;break}else c=c+16|0}}else{f=0;while(1){d=KTa(a,170356,x+24|0)|0;if(d|0)break;j[c>>1]=(l[x+24>>0]|0)+65408;u=c+2|0;j[u>>1]=(l[x+24+1>>0]|0)+65408;j[c+4>>1]=(l[x+24+2>>0]|0)+65408;d=c+6|0;j[d>>1]=(l[x+24+3>>0]|0)+65408;e=c+8|0;j[e>>1]=(l[x+24+4>>0]|0)+65408;j[c+10>>1]=0;k[x+8>>2]=0;k[c+12>>2]=0;if((j[u>>1]|0)<(j[c>>1]|0))v=115;else if(((j[e>>1]|0)+(j[d>>1]|0)|0)<0)v=115;if((v|0)==115){v=0;k[c>>2]=0;k[c+4>>2]=0;j[c+8>>1]=0}f=f+1|0;if(f>>>0>=g>>>0){v=119;break i}else c=c+16|0}k[x+8>>2]=d;k[c+12>>2]=0;v=120}while(0);if((v|0)==119)k[x>>2]=0;else if((v|0)==120){YTa(h,k[b+292>>2]|0);k[b+292>>2]=0;u=k[x+8>>2]|0;k[x>>2]=u;if(u|0)break a}m=k[b+100>>2]|0;f=k[b+192>>2]|0;c=k[b+188>>2]|0;j:do if(!c){c=3;v=126}else{d=0;while(1){if((k[f+(d<<4)>>2]|0)==8)break;d=d+1|0;if(d>>>0>=c>>>0){c=3;v=126;break j}}c=k[a+8>>2]|0;e=k[f+(d<<4)+12>>2]|0;if(e>>>0>>0){c=83;v=126;break}if(qTa(a,e-c|0)|0){c=83;v=126;break}h=k[f+(d<<4)+8>>2]|0;c=wTa(a,8)|0;k[x+24>>2]=c;if(c|0)break;e=DTa(a)|0;if(!(e&4))g=DTa(a)|0;else g=CTa(a)|0;yTa(a);if(e>>>0>=256){c=3;break}if((g|0)!=(k[b+288>>2]|0)){c=3;break}f=WTa(m,4,0,g,0,x+24|0)|0;c=k[x+24>>2]|0;if(c|0)break;d=(g|0)==0;if(!d)if(!(e&4)){c=0;do{u=JTa(a,x+24|0)|0;k[f+(c<<2)>>2]=u;c=c+1|0}while((c|0)!=(g|0))}else{c=0;do{u=ITa(a,x+24|0)|0;k[f+(c<<2)>>2]=u;c=c+1|0}while((c|0)!=(g|0))}do if(!(k[x+24>>2]|0)){if(!(e&4)){JTa(a,x+24|0)|0;if(k[x+24>>2]|0)break;JTa(a,x+24|0)|0;if(k[x+24>>2]|0)break;JTa(a,x+24|0)|0;if(k[x+24>>2]|0)break;JTa(a,x+24|0)|0;if(k[x+24>>2]|0)break}else{ITa(a,x+24|0)|0;if(k[x+24>>2]|0)break;ITa(a,x+24|0)|0;if(k[x+24>>2]|0)break;ITa(a,x+24|0)|0;if(k[x+24>>2]|0)break;ITa(a,x+24|0)|0;if(k[x+24>>2]|0)break}if(!d){d=0;do{c=k[f+(d<<2)>>2]|0;if(!((c|0)<0|c>>>0>h>>>0))k[(k[b+292>>2]|0)+(d<<4)+12>>2]=(k[a+8>>2]|0)+c;d=d+1|0}while((d|0)!=(g|0))}k[b+308>>2]=e}while(0);YTa(m,f);u=k[x+24>>2]|0;k[x>>2]=u;if(u|0)break a;q=k[b+100>>2]|0;f=k[b+192>>2]|0;c=k[b+188>>2]|0;k:do if(!c){c=3;v=160}else{d=0;while(1){if((k[f+(d<<4)>>2]|0)==32)break;d=d+1|0;if(d>>>0>=c>>>0){c=3;v=160;break k}}e=k[a+8>>2]|0;c=k[f+(d<<4)+12>>2]|0;if(c>>>0>>0){c=83;v=160;break}if(qTa(a,c-e|0)|0){c=83;v=160;break}c=wTa(a,14)|0;k[x+24>>2]=c;if(c|0)break;d=DTa(a)|0;if(!(d&4)){n=(BTa(a)|0)<<16>>16;o=(BTa(a)|0)<<16>>16;e=(BTa(a)|0)<<16>>16;p=(BTa(a)|0)<<16>>16;c=BTa(a)|0}else{n=(ATa(a)|0)<<16>>16;o=(ATa(a)|0)<<16>>16;e=(ATa(a)|0)<<16>>16;p=(ATa(a)|0)<<16>>16;c=ATa(a)|0}j[b+304>>1]=c;yTa(a);if(d>>>0>=256){c=3;break}if((n|0)<0){c=8;break}if((o|0)<(n|0)|(o|0)>255|(e|0)<0){c=8;break}if((p|0)<(e|0)|(p|0)>255){c=8;break}m=ha(1-e+p|0,1-n+o|0)|0;c=WTa(q,8,0,m,0,x+24|0)|0;if(k[x+24>>2]|0){c=64;break}u=wTa(a,m<<1)|0;k[x+24>>2]=u;do if(!u){if(!(d&4)){d=0;while(1){g=e<<8;h=n;while(1){f=BTa(a)|0;if(f<<16>>16>-1){k[c+(d<<3)>>2]=h+g;j[c+(d<<3)+4>>1]=f;d=d+1|0}if((h|0)<(o|0))h=h+1|0;else break}if((e|0)<(p|0))e=e+1|0;else break}}else{d=0;while(1){g=e<<8;h=n;while(1){f=ATa(a)|0;if(f<<16>>16>-1){k[c+(d<<3)>>2]=h+g;j[c+(d<<3)+4>>1]=f;d=d+1|0}if((h|0)<(o|0))h=h+1|0;else break}if((e|0)<(p|0))e=e+1|0;else break}}yTa(a);c=WTa(q,8,m,d,c,x+24|0)|0;if(k[x+24>>2]|0){v=185;break}k[b+296>>2]=d;k[b+300>>2]=c;k[x>>2]=0}else v=185;while(0);if((v|0)==185){YTa(q,c);u=k[x+24>>2]|0;k[x>>2]=u;if(u|0)break a}if(s){u=fWa(a,b,256)|0;k[x>>2]=u;if(u|0)break a}k[b>>2]=1;k[b+4>>2]=0;c=k[b+8>>2]|0;k[b+8>>2]=c|146;if(i[b+199>>0]|0)k[b+8>>2]=c|150;k[x+24>>2]=0;u=k[b+100>>2]|0;k[b+12>>2]=0;f=k[b+284>>2]|0;g=k[b+280>>2]|0;if((g|0)>0){c=0;do{d=c;c=c+1|0;d=(Wmb(k[f+(d*12|0)>>2]|0,529711)|0)!=0}while((c|0)<(g|0)&d);c=f+(c*12|0)+-12|0;l:do if(d){e=2;n=0}else{if(!(i[c+4>>0]|0)){e=2;n=0;break}c=k[c+8>>2]|0;switch(i[c>>0]|0){case 105:case 73:case 111:case 79:break;default:{e=2;n=0;break l}}k[b+12>>2]=1;e=3;n=(i[c>>0]|32)<<24>>24==111?529717:592032}while(0);c=0;do{d=c;c=c+1|0;d=(Wmb(k[f+(d*12|0)>>2]|0,529725)|0)!=0}while((c|0)<(g|0)&d);c=f+(c*12|0)+-12|0;m:do if(d)e=0;else{if(!(i[c+4>>0]|0)){e=0;break}switch(i[k[c+8>>2]>>0]|0){case 98:case 66:break;default:{e=0;break m}}k[b+12>>2]=e;e=592027}while(0);c=0;do{d=c;c=c+1|0;d=(Wmb(k[f+(d*12|0)>>2]|0,529737)|0)!=0}while((c|0)<(g|0)&d);c=f+(c*12|0)+-12|0;n:do if(d)o=0;else{if(!(i[c+4>>0]|0)){o=0;break}c=k[c+8>>2]|0;switch(i[c>>0]|0){case 110:case 78:case 0:{o=0;break n}default:{}}o=c}while(0);c=0;do{d=c;c=c+1|0;d=(Wmb(k[f+(d*12|0)>>2]|0,529751)|0)!=0}while((c|0)<(g|0)&d);c=f+(c*12|0)+-12|0;o:do if(d){c=0;f=0;d=0}else{if(!(i[c+4>>0]|0)){c=0;f=0;d=0;break}c=k[c+8>>2]|0;switch(i[c>>0]|0){case 110:case 78:case 0:{c=0;f=0;d=0;break o}default:{}}if(!c){c=0;f=0;d=0;break}d=Fnb(c)|0;f=d;d=d+1|0}while(0);if(!e){p=1;g=0;h=0}else{t=Fnb(e)|0;p=0;g=e;h=t;d=d+1+t|0}if(!n){e=0;q=0}else{q=Fnb(n)|0;e=n;d=d+1+q|0}if(!o){m=d;d=0}else{t=Fnb(o)|0;m=d+1+t|0;d=t}if(!m){c=g;f=p;g=q;v=216}else{s=c;a=f;t=g}}else{h=0;c=0;e=0;f=1;g=0;d=0;o=0;n=0;v=216}if((v|0)==216){s=592007;a=7;t=c;p=f;m=8;q=g}c=UTa(u,m,x+24|0)|0;k[b+24>>2]=c;f=k[x+24>>2]|0;if(f|0){k[x>>2]=f;break a}if(s){ABb(c|0,s|0,a|0)|0;if(a|0){g=0;do{f=c+g|0;if((i[f>>0]|0)==32)i[f>>0]=45;g=g+1|0}while((g|0)!=(a|0))}c=c+a|0}if(!p){if((c|0)!=(k[b+24>>2]|0)){i[c>>0]=32;c=c+1|0}ABb(c|0,t|0,h|0)|0;e=n;c=c+h|0}if(e){if((c|0)!=(k[b+24>>2]|0)){i[c>>0]=32;c=c+1|0}ABb(c|0,e|0,q|0)|0;c=c+q|0}if(o){if((c|0)!=(k[b+24>>2]|0)){i[c>>0]=32;c=c+1|0}ABb(c|0,o|0,d|0)|0;if(!d)d=0;else{f=0;do{e=c+f|0;if((i[e>>0]|0)==32)i[e>>0]=45;f=f+1|0}while((f|0)!=(d|0))}c=c+d|0}i[c>>0]=0;u=k[x+24>>2]|0;k[x>>2]=u;if(u|0)break a;c=k[b+284>>2]|0;d=k[b+280>>2]|0;do if((d|0)>0){e=0;do{f=e;e=e+1|0;f=(Wmb(k[c+(f*12|0)>>2]|0,529766)|0)!=0}while((e|0)<(d|0)&f);c=c+(e*12|0)+-12|0;if(f){v=253;break}if(!(i[c+4>>0]|0)){v=253;break}u=ZTa(w,k[c+8>>2]|0,x)|0;k[b+20>>2]=u;if(k[x>>2]|0)break a}else v=253;while(0);if((v|0)==253)k[b+20>>2]=0;k[b+16>>2]=(k[b+288>>2]|0)+1;k[b+28>>2]=1;h=WTa(w,16,0,1,0,x)|0;k[b+32>>2]=h;if(k[x>>2]|0)break a;k[h>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0;k[h+12>>2]=0;c=(k[b+208>>2]|0)+(k[b+204>>2]|0)|0;j[h>>1]=c;m=k[b+284>>2]|0;n=k[b+280>>2]|0;do if((n|0)>0){e=0;do{d=e;e=e+1|0;d=(Wmb(k[m+(d*12|0)>>2]|0,529778)|0)!=0}while((e|0)<(n|0)&d);if(d){v=259;break}j[h+2>>1]=((k[m+(e*12|0)+-12+8>>2]|0)+5|0)/10|0}else v=259;while(0);if((v|0)==259)j[h+2>>1]=(c<<16>>15|0)/3|0;do if((n|0)>0){d=0;do{c=d;d=d+1|0;c=(Wmb(k[m+(c*12|0)>>2]|0,529792)|0)!=0}while((d|0)<(n|0)&c);if(c)c=0;else{c=(((k[m+(d*12|0)+-12+8>>2]|0)*460800|0)+36135|0)/72270|0;k[h+4>>2]=c}e=0;do{d=e;e=e+1|0;d=(Wmb(k[m+(d*12|0)>>2]|0,529803)|0)!=0}while((e|0)<(n|0)&d);if(d)g=0;else{g=k[m+(e*12|0)+-12+8>>2]<<16>>10;k[h+12>>2]=g}e=0;do{d=e;e=e+1|0;d=(Wmb(k[m+(d*12|0)>>2]|0,529814)|0)!=0}while((e|0)<(n|0)&d);if(d)f=0;else f=k[m+(e*12|0)+-12+8>>2]<<16>>16;e=0;do{d=e;e=e+1|0;d=(Wmb(k[m+(d*12|0)>>2]|0,529827)|0)!=0}while((e|0)<(n|0)&d);if(d)d=0;else d=k[m+(e*12|0)+-12+8>>2]&65535;if(!g){k[h+12>>2]=c;if(!(d<<16>>16)){v=282;break}c=(ha(c,d<<16>>16)|0)/72|0;k[h+12>>2]=c}else c=g;if((f|0)==0|d<<16>>16==0){v=282;break}u=(ha(c,f)|0)/(d<<16>>16|0)|0;k[h+8>>2]=u}else{k[h+12>>2]=0;c=0;v=282}while(0);if((v|0)==282)k[h+8>>2]=c;if((n|0)>0){d=0;do{c=d;d=d+1|0;c=(Wmb(k[m+(c*12|0)>>2]|0,590332)|0)!=0}while((d|0)<(n|0)&c);if(c)v=286;else e=m+(d*12|0)+-12|0}else v=286;if((v|0)==286)e=0;if((n|0)>0){d=0;do{c=d;d=d+1|0;c=(Wmb(k[m+(c*12|0)>>2]|0,590349)|0)!=0}while((d|0)<(n|0)&c);if(c)v=290;else c=m+(d*12|0)+-12|0}else v=290;if((v|0)==290)c=0;if(!e){b=0;r=x;return b|0}if(!((c|0)!=0&(i[e+4>>0]|0)!=0)){b=0;r=x;return b|0}if(!(i[c+4>>0]|0)){b=0;r=x;return b|0}u=ZTa(w,k[c+8>>2]|0,x)|0;k[b+176>>2]=u;if(k[x>>2]|0)break a;w=ZTa(w,k[e+8>>2]|0,x)|0;k[b+180>>2]=w;if(!(k[x>>2]|0))c=0;else break a;r=x;return c|0}while(0);if((v|0)==160)k[x+24>>2]=c;k[x>>2]=c;break a}while(0);if((v|0)==126)k[x+24>>2]=c;k[x>>2]=c;break a}else c=64}}else c=3}}else{c=83;v=89}}while(0);if((v|0)==89)k[x+8>>2]=c;k[x>>2]=c}}else{c=64;v=31}}}else{c=3;v=31}else{c=1;v=31}}else{c=1;v=31}while(0);if((v|0)==31)k[x>>2]=c;k[x>>2]=3;b=3;r=x;return b|0}function fWa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=r;r=r+16|0;f=k[b+192>>2]|0;e=k[b+188>>2]|0;a:do if(!e)d=3;else{d=0;while(1){if((k[f+(d<<4)>>2]|0)==(c|0))break;d=d+1|0;if(d>>>0>=e>>>0){d=3;break a}}e=k[a+8>>2]|0;d=k[f+(d<<4)+12>>2]|0;if(d>>>0>>0)d=83;else if(!(qTa(a,d-e|0)|0)){k[g>>2]=0;c=JTa(a,g)|0;d=k[g>>2]|0;if(d|0){a=d;r=g;return a|0}switch(c&-256|0){case 256:case 0:break;default:{a=0;r=g;return a|0}}if(!(c&4)){d=KTa(a,170240,b+196|0)|0;k[g>>2]=d;if(d|0){a=d;r=g;return a|0}}else{d=KTa(a,170188,b+196|0)|0;k[g>>2]=d;if(d|0){a=d;r=g;return a|0}}e=c&4|0?170292:170324;d=KTa(a,e,b+216|0)|0;k[g>>2]=d;if(d|0){a=d;r=g;return a|0}d=KTa(a,e,b+232|0)|0;k[g>>2]=d;if(d|0){a=d;r=g;return a|0}if((c&-256|0)!=256){k[b+248>>2]=k[b+216>>2];k[b+248+4>>2]=k[b+216+4>>2];k[b+248+8>>2]=k[b+216+8>>2];k[b+248+12>>2]=k[b+216+12>>2];k[b+264>>2]=k[b+232>>2];k[b+264+4>>2]=k[b+232+4>>2];k[b+264+8>>2]=k[b+232+8>>2];k[b+264+12>>2]=k[b+232+12>>2];a=0;r=g;return a|0}d=KTa(a,e,b+248|0)|0;k[g>>2]=d;if(d|0){a=d;r=g;return a|0}a=KTa(a,e,b+264|0)|0;k[g>>2]=a;r=g;return a|0}else d=83}while(0);k[g>>2]=d;a=d;r=g;return a|0}function gWa(a){a=a|0;var b=0,c=0,d=0,e=0;if(!a)return;e=k[a+100>>2]|0;YTa(e,k[a+300>>2]|0);k[a+300>>2]=0;YTa(e,k[a+292>>2]|0);k[a+292>>2]=0;b=k[a+284>>2]|0;if(b|0){if((k[a+280>>2]|0)>0){c=0;while(1){d=b+(c*12|0)|0;if(d|0){YTa(e,k[d>>2]|0);k[d>>2]=0;if(i[b+(c*12|0)+4>>0]|0){d=b+(c*12|0)+8|0;YTa(e,k[d>>2]|0);k[d>>2]=0}}c=c+1|0;if((c|0)>=(k[a+280>>2]|0))break;b=k[a+284>>2]|0}b=k[a+284>>2]|0}YTa(e,b);k[a+284>>2]=0}YTa(e,k[a+192>>2]|0);k[a+192>>2]=0;YTa(e,k[a+20>>2]|0);k[a+20>>2]=0;YTa(e,k[a+24>>2]|0);k[a+24>>2]=0;YTa(e,k[a+32>>2]|0);k[a+32>>2]=0;YTa(e,k[a+176>>2]|0);k[a+176>>2]=0;YTa(e,k[a+180>>2]|0);k[a+180>>2]=0;b=k[a+104>>2]|0;if((b|0)!=(a+132|0))return;oTa(b);k[a+104>>2]=k[a+172>>2];return}function hWa(a,b){a=a|0;b=b|0;b=k[a>>2]|0;k[a+16>>2]=k[b+296>>2];k[a+20>>2]=k[b+300>>2];return 0}function iWa(a){a=a|0;k[a+20>>2]=0;k[a+16>>2]=0;return}function jWa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=k[a+20>>2]|0;a=k[a+16>>2]|0;if(!a){g=0;return g|0}else e=0;while(1){c=(e+a|0)>>>1;d=k[f+(c<<3)>>2]|0;if((d|0)==(b|0))break;a=d>>>0>b>>>0?c:a;e=d>>>0>b>>>0?e:c+1|0;if(e>>>0>=a>>>0){a=0;g=5;break}}if((g|0)==5)return a|0;g=(m[f+(c<<3)+4>>1]|0)+1|0;return g|0}function kWa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=k[a+20>>2]|0;f=(k[b>>2]|0)+1|0;g=k[a+16>>2]|0;a:do if(!g)a=0;else{e=g;a=0;while(1){d=(a+e|0)>>>1;c=k[h+(d<<3)>>2]|0;if((f|0)==(c|0))break;e=f>>>0>>0?d:e;a=f>>>0>>0?a:d+1|0;if(a>>>0>=e>>>0)break a}g=f;h=(m[h+(d<<3)+4>>1]|0)+1|0;k[b>>2]=g;return h|0}while(0);if(a>>>0>=g>>>0){g=0;h=0;k[b>>2]=g;return h|0}g=k[h+(a<<3)>>2]|0;h=(m[h+(a<<3)+4>>1]|0)+1|0;k[b>>2]=g;return h|0}function lWa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,m=0;h=k[b>>2]|0;if(!h){a=35;return a|0}if((k[h+16>>2]|0)>>>0<=c>>>0){a=6;return a|0}e=k[h+104>>2]|0;g=(c|0)==0?0:c+-1|0;f=k[h+292>>2]|0;b=(j[f+(g<<4)+8>>1]|0)+(j[f+(g<<4)+6>>1]|0)|0;k[a+76>>2]=b;d=(j[f+(g<<4)+2>>1]|0)-(j[f+(g<<4)>>1]|0)|0;k[a+80>>2]=d;j[a+92>>1]=1;i[a+94>>0]=1;switch(1<<(k[h+308>>2]&3)|0){case 1:{k[a+84>>2]=(d+7|0)>>>3;d=(d+7|0)>>>3;break}case 2:{k[a+84>>2]=(d+15|0)>>>4<<1;d=(d+15|0)>>>4<<1;break}case 4:{k[a+84>>2]=(d+31|0)>>>5<<2;d=(d+31|0)>>>5<<2;break}case 8:{k[a+84>>2]=(d+63|0)>>>6<<3;d=(d+63|0)>>>6<<3;break}default:{a=3;return a|0}}d=ha(b,d)|0;b=$Ra(a,d)|0;if(b|0){a=b;return a|0}b=pTa(e,k[f+(g<<4)+12>>2]|0)|0;if(b|0){a=b;return a|0}b=sTa(e,k[a+88>>2]|0,d)|0;if(b|0){a=b;return a|0}b=k[h+308>>2]|0;if(!((b&8|0)!=0|(d|0)==0)){b=d;c=k[a+88>>2]|0;while(1){e=l[c>>0]|0;e=(e>>>1&85|e<<1&170)>>>2&51|(e>>>1&85|e<<1&170)<<2&204;i[c>>0]=e>>>4|e<<4;b=b+-1|0;if(!b)break;else c=c+1|0}b=k[h+308>>2]|0}a:do if((b>>>2^b>>>3)&1|0)switch(1<<(b>>>4&3)|0){case 4:{if(d>>>0<=3)break a;b=k[a+88>>2]|0;while(1){c=i[b>>0]|0;m=b+3|0;i[b>>0]=i[m>>0]|0;i[m>>0]=c;m=b+1|0;c=i[m>>0]|0;e=b+2|0;i[m>>0]=i[e>>0]|0;i[e>>0]=c;d=d+-4|0;if(d>>>0<=3)break;else b=b+4|0}break}case 2:{if(d>>>0<=1)break a;b=k[a+88>>2]|0;while(1){e=i[b>>0]|0;m=b+1|0;i[b>>0]=i[m>>0]|0;i[m>>0]=e;d=d+-2|0;if(d>>>0<=1)break;else b=b+2|0}break}default:break a}while(0);k[a+72>>2]=1651078259;m=j[f+(g<<4)>>1]|0;k[a+100>>2]=m;e=j[f+(g<<4)+6>>1]|0;k[a+104>>2]=e;k[a+40>>2]=j[f+(g<<4)+4>>1]<<6;k[a+32>>2]=m<<6;k[a+36>>2]=e<<6;k[a+24>>2]=(j[f+(g<<4)+2>>1]|0)-m<<6;k[a+28>>2]=k[a+76>>2]<<6;uSa(a+24|0,(k[h+208>>2]|0)+(k[h+204>>2]|0)<<6);m=0;return m|0}function mWa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=k[a>>2]|0;d=k[b+16>>2]|0;c=k[b+8>>2]|0;if(d)c=((ha(c,d)|0)+36|0)/72|0;c=c+32>>6;a:do switch(k[b>>2]|0){case 0:if((c|0)==((k[(k[e+32>>2]|0)+12>>2]|0)+32>>6|0)){c=e+196+8|0;d=e+196+12|0;break a}else{a=23;return a|0}case 1:{if((c|0)==((k[e+196+12>>2]|0)+(k[e+196+8>>2]|0)|0)){c=e+196+8|0;d=e+196+12|0}else{a=23;return a|0}break}default:{a=7;return a|0}}while(0);vSa(e,0);k[a+24>>2]=k[c>>2]<<6;k[a+28>>2]=0-(k[d>>2]|0)<<6;k[a+36>>2]=j[e+196+40>>1]<<6;a=0;return a|0}function nWa(a,b){a=a|0;b=b|0;var c=0;c=k[a>>2]|0;vSa(c,b);k[a+24>>2]=k[c+196+8>>2]<<6;k[a+28>>2]=0-(k[c+196+12>>2]|0)<<6;k[a+36>>2]=j[c+196+40>>1]<<6;return 0}function oWa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=k[a>>2]|0;c=k[d+408>>2]|0;k[a+16>>2]=c;d=k[d+416>>2]|0;k[a+20>>2]=d;if(c>>>0<=1){d=0;return d|0}b=k[d>>2]|0;a=1;while(1){e=b;b=k[d+(a<<4)>>2]|0;a=a+1|0;if(e>>>0>=b>>>0){b=8;a=5;break}if(a>>>0>=c>>>0){b=0;a=5;break}}if((a|0)==5)return b|0;return 0}function pWa(a){a=a|0;k[a+20>>2]=0;k[a+16>>2]=0;return}function qWa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=k[a+16>>2]|0;if(!c){g=0;return g|0}f=k[a+20>>2]|0;e=0;while(1){a=((c-e|0)>>>1)+e|0;d=k[f+(a<<4)>>2]|0;if((d|0)==(b|0))break;c=d>>>0>>0?c:a;e=d>>>0>>0?a+1|0:e;if(c>>>0<=e>>>0){a=0;g=6;break}}if((g|0)==6)return a|0;g=a+1|0;return g|0}function rWa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=k[a+16>>2]|0;do if(!h){d=0;c=0}else{g=k[a+20>>2]|0;d=k[b>>2]|0;a:while(1){d=d+1|0;f=h;c=0;while(1){i=((f-c|0)>>>1)+c|0;e=k[g+(i<<4)>>2]|0;if((e|0)==(d|0))break;c=e>>>0>>0?i+1|0:c;f=e>>>0>>0?f:i;if(f>>>0<=c>>>0)break a}if(i){j=7;break}}if((j|0)==7){c=i+1|0;break}if((c|0)==0|c>>>0>=h>>>0){d=0;c=0}else{d=k[(k[a+20>>2]|0)+(c<<4)>>2]|0;c=c+1|0}}while(0);k[b>>2]=d;return c|0}function sWa(a,b){a=a|0;b=b|0;return URa(52040,b)|0}function tWa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=k[a+88>>2]|0;if(b|0)k[b>>2]=k[a+288+12>>2];if(c|0)k[c>>2]=k[a+288+16>>2];if(!f){b=65536;c=65536}else{b=V2a((m[f+12>>1]|0)<<6,k[a+288+16>>2]|0)|0;c=V2a((m[f+14>>1]|0)<<6,k[a+288+16>>2]|0)|0}if(d|0)k[d>>2]=b;if(!e)return 0;k[e>>2]=c;return 0}function uWa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;k[d>>2]=0;k[d+4>>2]=0;e=(b|0)==0?0:b+-1|0;b=(c|0)==0?0:c+-1|0;j=k[a+288+120>>2]|0;if(e>>>0>j>>>0|b>>>0>j>>>0){d=0;return d|0}h=k[a+288+128>>2]|0;h=k[h+(b<<4)>>2]&65535|k[h+(e<<4)>>2]<<16;j=k[a+104>>2]|0;b=k[a+288+136>>2]|0;if(!b){d=0;return d|0}while(1){if(h>>>0>=(k[b+16>>2]|0)>>>0)if(h>>>0<=(k[b+20>>2]|0)>>>0){e=b;break}b=k[b>>2]|0;if(!b){b=0;i=29;break}}if((i|0)==29)return b|0;b=pTa(j,k[e+12>>2]|0)|0;if(b|0){d=b;return d|0}b=wTa(j,ha(l[e+4>>0]|0,k[e+8>>2]|0)|0)|0;if(b|0){d=b;return d|0}g=k[e+4>>2]|0;f=k[e+8>>2]|0;a=31-(ja(g&255|0)|0)|0;b=k[j+32>>2]|0;if((g&255|0)==(1<>>8&1)<<24>>24)){c=(l[e+2+-2>>0]|0)<<16|(l[e+2+-1>>0]|0);e=e+2|0}else{c=(l[e+4+-4+1>>0]|0)<<16|(l[e+4+-4>>0]|0)<<24|(l[e+4+-4+2>>0]|0)<<8|(l[e+4+-4+3>>0]|0);e=e+4|0}if((c|0)==(h|0))i=25;else if(c>>>0>>0){b=(g>>>8&2)<<24>>24==0?e+1|0:e+2|0;i=15}else i=15}a:do if((i|0)==15){if(f<>>0>f>>>0)if(!((g>>>8&1)<<24>>24)){a=f<>>1;c=b+a|0;e=(l[c+2+-2>>0]|0)<<16|(l[c+2+-1>>0]|0);if((e|0)==(h|0)){e=c+2|0;i=25;break a}b=e>>>0>>0?c:b}while(a>>>0>f>>>0)}else{a=f<>>1;e=b+a|0;c=(l[e+4+-4+1>>0]|0)<<16|(l[e+4+-4>>0]|0)<<24|(l[e+4+-4+2>>0]|0)<<8|(l[e+4+-4+3>>0]|0);if((c|0)==(h|0)){e=e+4|0;i=25;break a}b=c>>>0>>0?e:b}while(a>>>0>f>>>0)}if(!((g>>>8&1)<<24>>24)){c=(l[b>>0]|0)<<16|(l[b+1>>0]|0);e=b+2|0}else{c=(l[b+1>>0]|0)<<16|(l[b>>0]|0)<<24|(l[b+2>>0]|0)<<8|(l[b+3>>0]|0);e=b+4|0}if((c|0)==(h|0))i=25}while(0);if((i|0)==25){b=l[e>>0]|0;if((g>>>8&2)<<24>>24)b=(l[e+1>>0]|0|b<<8)<<16>>16;k[d>>2]=(g>>16)+b}yTa(j);d=0;return d|0}function vWa(a,b,c){a=a|0;b=b|0;c=c|0;k[c>>2]=0;if(!b){a=6;return a|0}if(!a){a=6;return a|0}if((b+-1|0)>>>0>=(k[a+288+120>>2]|0)>>>0){a=6;return a|0}k[c>>2]=k[(k[a+288+128>>2]|0)+(b+-1<<4)+4>>2];a=0;return a|0}function wWa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0;x=r;r=r+32|0;d=pTa(a,0)|0;if(!d){d=KTa(a,170384,b+132|0)|0;if(!d){k[b+168>>2]=(k[b+168>>2]|0)+(k[b+204>>2]<<16);k[x>>2]=0;if((k[b+132>>2]|0)==1346785840)if((k[b+136>>2]|0)>>>0<=4)if((k[b+144>>2]|0)>>>0>=58)if((k[b+140>>2]|0)==3338){d=pTa(a,k[b+152>>2]|0)|0;k[x+8>>2]=d;if(d|0){k[x>>2]=d;b=d;r=x;return b|0}d=FTa(a,x+8|0)|0;e=k[x+8>>2]|0;k[x>>2]=e;if(e|0){b=e;r=x;return b|0}k[b>>2]=d&65535;if((c|0)<0){b=0;r=x;return b|0}if((d&65535|0)<=(c|0)){k[x>>2]=6;b=6;r=x;return b|0}m=(k[b+204>>2]|0)==0;d=pTa(a,k[b+152>>2]|0)|0;k[x+8>>2]=d;do if(!d){e=FTa(a,x+8|0)|0;d=k[x+8>>2]|0;if(!d)if((e&65535)>>>0>c>>>0){d=qTa(a,c*5|0)|0;k[x+8>>2]=d;if(!d){h=FTa(a,x+8|0)|0;d=k[x+8>>2]|0;if(!d){e=HTa(a,x+8|0)|0;d=k[x+8>>2]|0;if(!d){k[b+240>>2]=h&65535;k[b+244>>2]=e;d=pTa(a,e)|0;k[x+8>>2]=d;if(!d){d=wTa(a,h&65535)|0;k[x+8>>2]=d;if(d|0)break;g=k[a+32>>2]|0;a:do if((h&65535)<13)w=53;else{k[b+240+8>>2]=l[g+1>>0]<<8|l[g>>0]<<16|l[g+2>>0];k[b+240+12>>2]=l[g+4>>0]<<8|l[g+3>>0]<<16|l[g+5>>0];k[b+240+16>>2]=l[g+7>>0]<<8|l[g+6>>0]<<16|l[g+8>>0];k[b+240+20>>2]=l[g+10>>0]<<8|l[g+9>>0]<<16|l[g+11>>0];f=l[g+12>>0]|0;if(f&4|0)d=(f&3|0)==0?f>>>3&1|4:(f>>>3&1)+1|0;else d=0;if(f&16|0)d=(f>>>5&1)+1+d|0;if((g+13+d|0)>>>0>(g+(h&65535)|0)>>>0){w=53;break}do if(f&4|0){if(!(f&8)){d=l[g+13>>0]|0;e=g+14|0}else{d=(l[g+13>>0]<<8|l[g+14>>0])<<16>>16;e=g+15|0}k[b+240+28>>2]=d;if(f&3|0)break;k[b+240+36>>2]=l[e+1>>0]<<8|l[e>>0]<<16|l[e+2>>0];e=e+3|0}else e=g+13|0;while(0);if(f&16|0){if(!(f&32)){d=l[e>>0]|0;e=e+1|0}else{d=(l[e>>0]<<8|l[e+1>>0])<<16>>16;e=e+2|0}k[b+240+32>>2]=d}b:do if(!(f&64))d=e;else{d=e+1|0;c:do if(d>>>0<=(g+(h&65535)|0)>>>0){e=i[e>>0]|0;if(e<<24>>24){f=e&255;do{e=d+2|0;if(e>>>0>(g+(h&65535)|0)>>>0)break c;d=e+(l[d>>0]|0)|0;if(d>>>0>(g+(h&65535)|0)>>>0)break c;f=f+-1|0}while((f|0)!=0)}k[x+8>>2]=0;break b}while(0);k[x+8>>2]=8;break a}while(0);e=d+5|0;if(e>>>0>(g+(h&65535)|0)>>>0){w=53;break}f=l[d>>0]<<8|l[d+1>>0];k[b+240+40>>2]=f;k[b+240+44>>2]=l[d+3>>0]<<8|l[d+2>>0]<<16|l[d+4>>0];if(m)break;if((d+6|0)>>>0>(g+(h&65535)|0)>>>0){w=53;break}k[b+240+40>>2]=l[e>>0]<<16|f}while(0);if((w|0)==53)k[x+8>>2]=8;yTa(a);d=k[x+8>>2]|0;k[x>>2]=d;if(d|0){b=d;r=x;return b|0}s=k[b+240+44>>2]|0;u=k[b+240+40>>2]|0;t=k[a+28>>2]|0;k[b+288>>2]=t;k[b+288+4>>2]=s;k[b+288+136>>2]=0;k[b+288+140>>2]=b+288+136;d=pTa(a,s)|0;k[x+4>>2]=d;d:do if(!d){d=wTa(a,u)|0;k[x+4>>2]=d;if(d|0)break;q=k[a+32>>2]|0;k[b+288+148>>2]=q;e:do if((u|0)<15)w=147;else{k[b+288+8>>2]=l[q>>0]<<8|l[q+1>>0];k[b+288+12>>2]=l[q+2>>0]<<8|l[q+3>>0];k[b+288+16>>2]=l[q+4>>0]<<8|l[q+5>>0];k[b+288+20>>2]=(l[q+6>>0]<<8|l[q+7>>0])<<16>>16;k[b+288+24>>2]=(l[q+8>>0]<<8|l[q+9>>0])<<16>>16;k[b+288+28>>2]=(l[q+10>>0]<<8|l[q+11>>0])<<16>>16;k[b+288+32>>2]=(l[q+12>>0]<<8|l[q+13>>0])<<16>>16;v=l[q+14>>0]|0;k[b+288+36>>2]=v;if(v&4|0)e=q+15|0;else{if((u|0)<17){w=147;break}k[b+288+40>>2]=(l[q+15>>0]<<8|l[q+16>>0])<<16>>16;e=q+17|0}f:do if(!(v&128))d=e;else{d=e+1|0;g:do if(d>>>0>(q+u|0)>>>0)d=8;else{e=i[e>>0]|0;if(e<<24>>24){h=e&255;while(1){f=d+2|0;if(f>>>0>(q+u|0)>>>0){d=8;break g}e=i[d+1>>0]|0;g=f+(l[d>>0]|0)|0;if(g>>>0>(q+u|0)>>>0){d=8;break g}do if(e<<24>>24==1){d=130;w=70}else{if(e<<24>>24==2){d=131;w=70;break}if(e<<24>>24==3){d=132;w=70;break}if(e<<24>>24==4){d=133;w=70}}while(0);if((w|0)==70){w=0;d=Ri[d&255](f,g,b+288|0)|0;if(d|0)break g}h=h+-1|0;if(!h){d=g;break}else d=g}}k[x+4>>2]=0;break f}while(0);k[x+4>>2]=d;break e}while(0);h=d+3|0;if(h>>>0>(q+u|0)>>>0){w=147;break}m=l[d+1>>0]<<8|l[d>>0]<<16|l[d+2>>0];h:do if(m){if((h+m|0)>>>0>(q+u|0)>>>0){w=147;break e}o=m;p=h;i:while(1){g=p+4|0;if(g>>>0>(h+m|0)>>>0){h=h+m|0;break h}d=p+2|0;n=l[p>>0]<<8|l[p+1>>0];if(n>>>0<4|o>>>0>>0){h=h+m|0;break h}e=p;p=d+n+-2|0;j:do switch(l[d>>0]<<8|l[e+3>>0]|0){case 1:{k[x+8>>2]=0;k:do if(n+-4|0){if(!(i[g+(n+-5)>>0]|0))if(!(n+-5|0))break;else e=n+-5|0;else e=n+-4|0;d=0;do{f=i[g+d>>0]|0;d=d+1|0;if((f&255)<32|f<<24>>24<0)break k}while(d>>>0>>0);f=UTa(t,e+1|0,x+8|0)|0;d=k[x+8>>2]|0;if(d|0){w=88;break i}ABb(f|0,g|0,e|0)|0;i[f+e>>0]=0;d=k[x+8>>2]|0;k[b+288+84>>2]=f;k[x+4>>2]=d;if(!d)break j;else break d}while(0);k[b+288+84>>2]=0;k[x+4>>2]=0;break}case 2:{if((e+36|0)>>>0>p>>>0)break j;k[b+288+44>>2]=(l[e+14>>0]<<8|l[e+15>>0])<<16>>16;k[b+288+48>>2]=(l[e+16>>0]<<8|l[e+17>>0])<<16>>16;k[b+288+52>>2]=(l[e+18>>0]<<8|l[e+19>>0])<<16>>16;break}case 3:{k[x+8>>2]=0;l:do if(n+-4|0){if(!(i[g+(n+-5)>>0]|0))if(!(n+-5|0))break;else e=n+-5|0;else e=n+-4|0;d=0;do{f=i[g+d>>0]|0;d=d+1|0;if((f&255)<32|f<<24>>24<0)break l}while(d>>>0>>0);f=UTa(t,e+1|0,x+8|0)|0;d=k[x+8>>2]|0;if(d|0){w=100;break i}ABb(f|0,g|0,e|0)|0;i[f+e>>0]=0;d=k[x+8>>2]|0;k[b+288+88>>2]=f;k[x+4>>2]=d;if(!d)break j;else break d}while(0);k[b+288+88>>2]=0;k[x+4>>2]=0;break}default:{}}while(0);if((o|0)==(n|0)){h=h+m|0;break h}else o=o-n|0}if((w|0)==88){k[b+288+84>>2]=f;k[x+4>>2]=d;break d}else if((w|0)==100){k[b+288+88>>2]=f;k[x+4>>2]=d;break d}}while(0);e=h+1|0;if(e>>>0>(q+u|0)>>>0){w=147;break}d=i[h>>0]|0;k[b+288+104>>2]=d&255;if((e+((d&255)<<1)|0)>>>0>(q+u|0)>>>0){w=147;break}f=WTa(t,4,0,d&255,0,x+4|0)|0;k[b+288+108>>2]=f;if(k[x+4>>2]|0)break;if(d<<24>>24){g=0;while(1){k[f+(g<<2)>>2]=(l[e>>0]<<8|l[e+1>>0])<<16>>16;g=g+1|0;if((g|0)==(d&255|0))break;else e=e+2|0}e=h+((d&255)<<1|1)|0}d=e+8|0;if(d>>>0>(q+u|0)>>>0){w=147;break}k[b+288+112>>2]=l[e>>0];k[b+288+116>>2]=l[e+1>>0];k[b+288+68>>2]=l[e+2>>0]<<8|l[e+3>>0];k[b+288+56>>2]=l[e+4>>0]<<8|l[e+5>>0];m=l[e+6>>0]<<8|l[e+7>>0];k[b+288+120>>2]=m;k[b+288+124>>2]=d+s-(k[a+32>>2]|0);h=WTa(t,16,0,m,0,x+4|0)|0;k[b+288+128>>2]=h;if(k[x+4>>2]|0)break;if((d+(ha(m,((v&16)>>>4)+((v&8)>>>3)+((v&32)>>>5)+(v>>>1&3|4)|0)|0)|0)>>>0>(q+u|0)>>>0){w=147;break}if(!m)break;if(!(v&2)){if(v&4|0){f=0;while(1){k[h+(f<<4)>>2]=l[d>>0];k[h+(f<<4)+4>>2]=(l[d+1>>0]<<8|l[d+2>>0])<<16>>16;d=v&8|0?d+4|0:d+3|0;if(!(v&16)){e=l[d>>0]|0;d=d+1|0}else{e=l[d>>0]<<8|l[d+1>>0];d=d+2|0}k[h+(f<<4)+8>>2]=e;if(!(v&32)){e=l[d>>0]<<8|l[d+1>>0];d=d+2|0}else{e=l[d+1>>0]<<8|l[d>>0]<<16|l[d+2>>0];d=d+3|0}k[h+(f<<4)+12>>2]=e;f=f+1|0;if((f|0)==(m|0))break e}}f=k[b+288+40>>2]|0;g=0;do{k[h+(g<<4)>>2]=l[d>>0];k[h+(g<<4)+4>>2]=f;d=v&8|0?d+2|0:d+1|0;if(!(v&16)){e=l[d>>0]|0;d=d+1|0}else{e=l[d>>0]<<8|l[d+1>>0];d=d+2|0}k[h+(g<<4)+8>>2]=e;if(!(v&32)){e=l[d>>0]<<8|l[d+1>>0];d=d+2|0}else{e=l[d+1>>0]<<8|l[d>>0]<<16|l[d+2>>0];d=d+3|0}k[h+(g<<4)+12>>2]=e;g=g+1|0}while((g|0)!=(m|0))}else{if(v&4|0){f=0;while(1){k[h+(f<<4)>>2]=l[d>>0]<<8|l[d+1>>0];k[h+(f<<4)+4>>2]=(l[d+2>>0]<<8|l[d+3>>0])<<16>>16;d=v&8|0?d+5|0:d+4|0;if(!(v&16)){e=l[d>>0]|0;d=d+1|0}else{e=l[d>>0]<<8|l[d+1>>0];d=d+2|0}k[h+(f<<4)+8>>2]=e;if(!(v&32)){e=l[d>>0]<<8|l[d+1>>0];d=d+2|0}else{e=l[d+1>>0]<<8|l[d>>0]<<16|l[d+2>>0];d=d+3|0}k[h+(f<<4)+12>>2]=e;f=f+1|0;if((f|0)==(m|0))break e}}f=k[b+288+40>>2]|0;g=0;do{k[h+(g<<4)>>2]=l[d>>0]<<8|l[d+1>>0];k[h+(g<<4)+4>>2]=f;d=v&8|0?d+3|0:d+2|0;if(!(v&16)){e=l[d>>0]|0;d=d+1|0}else{e=l[d>>0]<<8|l[d+1>>0];d=d+2|0}k[h+(g<<4)+8>>2]=e;if(!(v&32)){e=l[d>>0]<<8|l[d+1>>0];d=d+2|0}else{e=l[d+1>>0]<<8|l[d>>0]<<16|l[d+2>>0];d=d+3|0}k[h+(g<<4)+12>>2]=e;g=g+1|0}while((g|0)!=(m|0))}}while(0);if((w|0)==147)k[x+4>>2]=8;yTa(a);d=rTa(a)|0;k[b+288+144>>2]=d;k[b+288+148>>2]=0;d=k[x+4>>2]|0;k[x>>2]=d;if(d|0){b=d;r=x;return b|0}k[b+4>>2]=c;g=k[b+288+120>>2]|0;k[b+16>>2]=g+1;e=k[b+8>>2]|1;k[b+8>>2]=e;m:do if(!g)d=0;else{f=k[b+288+128>>2]|0;d=0;do{if(k[f+(d<<4)+12>>2]|0)break m;d=d+1|0}while(d>>>0>>0)}while(0);do if((d|0)==(g|0)){if(k[b+288+92>>2]|0){k[b+8>>2]=0;e=0;break}k[x>>2]=3;b=3;r=x;return b|0}while(0);d=k[b+288+36>>2]|0;if(!(d&4)){e=e|4;k[b+8>>2]=e}e=(d<<4&16)+16|e;k[b+8>>2]=e;g=k[b+288+92>>2]|0;if(g){k[b+8>>2]=e|2;e=e|2}if(k[b+288+132>>2]|0)k[b+8>>2]=e|64;c=k[b+288+84>>2]|0;k[b+20>>2]=c;if(!c)k[b+20>>2]=k[b+288+80>>2];k[b+24>>2]=k[b+288+88>>2];k[b+28>>2]=0;k[b+32>>2]=0;k[b+52>>2]=k[b+288+20>>2];k[b+52+4>>2]=k[b+288+20+4>>2];k[b+52+8>>2]=k[b+288+20+8>>2];k[b+52+12>>2]=k[b+288+20+12>>2];c=k[b+288+12>>2]|0;j[b+68>>1]=c;a=k[b+288+32>>2]|0;j[b+70>>1]=a;w=k[b+288+24>>2]|0;j[b+72>>1]=w;j[b+74>>1]=(((((c&65535)*12|0)>>>0)/10|0)<<16>>16|0)<((a<<16>>16)-(w<<16>>16)|0)?(a<<16>>16)-(w<<16>>16)|0:(((c&65535)*12|0)>>>0)/10|0;if(g){e=WTa(k[(k[b+104>>2]|0)+28>>2]|0,16,0,g,0,x)|0;k[b+32>>2]=e;d=k[x>>2]|0;if(d|0){b=d;r=x;return b|0}f=0;d=k[b+288+100>>2]|0;while(1){c=k[d+4>>2]|0;j[e>>1]=c;w=k[d>>2]|0;j[e+2>>1]=w;k[e+4>>2]=c<<6;k[e+8>>2]=w<<6;k[e+12>>2]=c<<6;f=f+1|0;if((f|0)==(g|0))break;else{e=e+16|0;d=d+36|0}}k[b+28>>2]=g;d=k[b+288+36>>2]|0}if(!(d&4))j[b+76>>1]=k[b+288+40>>2];else{d=k[b+288+120>>2]|0;if(!d)d=0;else{f=k[b+288+128>>2]|0;e=0;while(1){c=k[f+4>>2]|0;e=(e|0)<(c|0)?c:e;d=d+-1|0;if(!d)break;else f=f+16|0}d=e&65535}j[b+76>>1]=d}j[b+78>>1]=j[b+74>>1]|0;d=j[b+68>>1]|0;j[b+80>>1]=(d&65535|0)/-10|0;j[b+82>>1]=(d&65535)/30|0;k[x+8>>2]=b;j[x+8+8>>1]=3;j[x+8+10>>1]=1;k[x+8+4>>2]=1970170211;d=DSa(51904,0,x+8|0,0)|0;k[x>>2]=d;if(!(k[b+288+132>>2]|0)){b=d;r=x;return b|0}k[b+8>>2]=k[b+8>>2]|64;b=d;r=x;return b|0}while(0);k[x>>2]=d;b=d;r=x;return b|0}}}}}else d=6}while(0);k[x>>2]=d;b=d;r=x;return b|0}k[x>>2]=2;b=2;r=x;return b|0}}k[x>>2]=d;b=d;r=x;return b|0}function xWa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0;n=r;r=r+16|0;d=k[c>>2]|0;k[n>>2]=0;if((a+5|0)>>>0<=b>>>0){j=l[a+3>>0]|0;m=i[a+4>>0]|0;e=k[c+92>>2]|0;do if((e+(m&255)|0)>>>0>(k[c+96>>2]|0)>>>0){d=WTa(d,36,e,e+(m&255)+3&-4,k[c+100>>2]|0,n)|0;k[c+100>>2]=d;d=k[n>>2]|0;if(!d){k[c+96>>2]=e+(m&255)+3&-4;break}else{c=d;r=n;return c|0}}while(0);if((a+5+(ha((j&1|8)+((j&2)>>>1)+((j&4)>>>2)+((j&8)>>>3)+((j&16)>>>4)|0,m&255)|0)|0)>>>0<=b>>>0){h=k[c+92>>2]|0;d=(k[c+100>>2]|0)+(h*36|0)|0;if(m<<24>>24)if(!(j&1)){e=a+5|0;g=0;f=d;while(1){d=e+1|0;k[f>>2]=l[e>>0];if(!(j&2)){b=e+2|0;d=l[d>>0]|0}else{b=e+3|0;d=(l[d>>0]|0)<<8|(l[e+2>>0]|0)}k[f+4>>2]=d;k[f+8>>2]=l[b>>0];d=i[b+1>>0]|0;e=i[b+2>>0]|0;if(!(j&4)){a=b+3|0;d=(d&255)<<8|e&255}else{a=b+4|0;d=(e&255)<<8|(d&255)<<16|(l[b+3>>0]|0)}k[f+20>>2]=d;if(!(j&8)){b=a+2|0;d=(l[a>>0]|0)<<8|(l[a+1>>0]|0)}else{b=a+3|0;d=(l[a+1>>0]|0)<<8|(l[a>>0]|0)<<16|(l[a+2>>0]|0)}k[f+24>>2]=d;if(!(j&16)){e=b+1|0;d=l[b>>0]|0}else{e=b+2|0;d=(l[b>>0]|0)<<8|(l[b+1>>0]|0)}k[f+28>>2]=d;g=g+1|0;if((g|0)==(m&255|0))break;else f=f+36|0}}else{e=a+5|0;g=0;f=d;while(1){d=e+2|0;k[f>>2]=(l[e>>0]|0)<<8|(l[e+1>>0]|0);if(!(j&2)){b=e+3|0;d=l[d>>0]|0}else{b=e+4|0;d=(l[d>>0]|0)<<8|(l[e+3>>0]|0)}k[f+4>>2]=d;k[f+8>>2]=l[b>>0];d=i[b+1>>0]|0;e=i[b+2>>0]|0;if(!(j&4)){a=b+3|0;d=(d&255)<<8|e&255}else{a=b+4|0;d=(e&255)<<8|(d&255)<<16|(l[b+3>>0]|0)}k[f+20>>2]=d;if(!(j&8)){b=a+2|0;d=(l[a>>0]|0)<<8|(l[a+1>>0]|0)}else{b=a+3|0;d=(l[a+1>>0]|0)<<8|(l[a>>0]|0)<<16|(l[a+2>>0]|0)}k[f+24>>2]=d;if(!(j&16)){e=b+1|0;d=l[b>>0]|0}else{e=b+2|0;d=(l[b>>0]|0)<<8|(l[b+1>>0]|0)}k[f+28>>2]=d;g=g+1|0;if((g|0)==(m&255|0))break;else f=f+36|0}}k[c+92>>2]=h+(m&255);c=k[n>>2]|0;r=n;return c|0}}k[n>>2]=8;c=8;r=n;return c|0}function yWa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=r;r=r+16|0;k[f>>2]=0;if(k[c+80>>2]|0){c=0;r=f;return c|0}d=UTa(k[c>>2]|0,b-a+1|0,f)|0;k[c+80>>2]=d;e=k[f>>2]|0;if(e|0){c=e;r=f;return c|0}ABb(d|0,a|0,b-a|0)|0;i[(k[c+80>>2]|0)+(b-a)>>0]=0;c=k[f>>2]|0;r=f;return c|0}function zWa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=r;r=r+16|0;k[f>>2]=0;d=k[c>>2]|0;if(k[c+76>>2]|0){e=0;r=f;return e|0}if((a+1|0)>>>0<=b>>>0){e=l[a>>0]|0;if((a+1+((e&15)+(e>>>4)<<1)|0)>>>0<=b>>>0){d=WTa(d,4,0,(e&15)+(e>>>4)|0,0,f)|0;b=k[f>>2]|0;if(b|0){e=b;r=f;return e|0}k[c+76>>2]=d;k[c+64>>2]=d+((e&15)<<2);if(!((e&15)+(e>>>4)|0)){e=0;r=f;return e|0}else{a=a+1|0;b=(e&15)+(e>>>4)|0}while(1){k[d>>2]=((l[a>>0]|0)<<8|(l[a+1>>0]|0))<<16>>16;b=b+-1|0;if(!b)break;else{a=a+2|0;d=d+4|0}}e=k[f>>2]|0;r=f;return e|0}}k[f>>2]=8;e=8;r=f;return e|0}function AWa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,m=0;m=r;r=r+16|0;k[m>>2]=0;e=k[c>>2]|0;f=UTa(e,24,m)|0;if(k[m>>2]|0){c=k[m>>2]|0;r=m;return c|0}if((a+4|0)>>>0<=b>>>0){h=i[a>>0]|0;i[f+4>>0]=h;j[f+6>>1]=(l[a+1>>0]|0)<<8|(l[a+2>>0]|0);g=i[a+3>>0]|0;i[f+5>>0]=g;k[f+12>>2]=(k[c+4>>2]|0)+(a+4)-(k[c+148>>2]|0);d=(g&2)==0?((g&1)<<1)+3|0:(g&1)<<1|4;k[f+8>>2]=d;if((a+4+(ha(d,h&255)|0)|0)>>>0<=b>>>0){if(!(h<<24>>24)){YTa(e,f);c=k[m>>2]|0;r=m;return c|0}if(!(g&1)){k[f+16>>2]=(l[a+4>>0]|0)<<16|(l[a+5>>0]|0);a=a+4+(ha((h&255)+-1|0,d)|0)|0;k[f+20>>2]=(l[a>>0]|0)<<16|(l[a+1>>0]|0)}else{k[f+16>>2]=(l[a+6>>0]|0)<<8|(l[a+7>>0]|0)|((l[a+4>>0]|0)<<8|(l[a+5>>0]|0))<<16;a=a+4+(ha((h&255)+-1|0,d)|0)+2|0;k[f+20>>2]=(l[a+2+-2>>0]|0)<<8|(l[a+2+-2+1>>0]|0)|((l[a+-2>>0]|0)<<8|(l[a+-2+1>>0]|0))<<16}k[f>>2]=0;k[k[c+140>>2]>>2]=f;k[c+140>>2]=f;k[c+132>>2]=(k[c+132>>2]|0)+(h&255);c=k[m>>2]|0;r=m;return c|0}}YTa(e,f);k[m>>2]=8;c=k[m>>2]|0;r=m;return c|0}function BWa(a){a=a|0;var b=0,c=0,d=0,e=0;if(!a)return;c=k[(k[a+96>>2]|0)+8>>2]|0;k[a+20>>2]=0;k[a+24>>2]=0;d=k[a+100>>2]|0;YTa(d,k[a+288+80>>2]|0);k[a+288+80>>2]=0;YTa(d,k[a+288+84>>2]|0);k[a+288+84>>2]=0;YTa(d,k[a+288+88>>2]|0);k[a+288+88>>2]=0;YTa(d,k[a+288+76>>2]|0);k[a+288+76>>2]=0;k[a+288+72>>2]=0;k[a+288+64>>2]=0;k[a+288+60>>2]=0;YTa(d,k[a+288+100>>2]|0);k[a+288+100>>2]=0;k[a+288+92>>2]=0;k[a+288+96>>2]=0;YTa(d,k[a+288+128>>2]|0);k[a+288+128>>2]=0;k[a+288+120>>2]=0;k[a+288+124>>2]=0;YTa(d,k[a+288+108>>2]|0);k[a+288+108>>2]=0;k[a+288+104>>2]=0;b=k[a+288+136>>2]|0;if(b|0)do{e=b;b=k[b>>2]|0;YTa(d,e)}while((b|0)!=0);k[a+288+136>>2]=0;k[a+288+140>>2]=0;k[a+288+132>>2]=0;YTa(c,k[a+32>>2]|0);k[a+32>>2]=0;return}function CWa(a){a=a|0;var b=0,c=0,d=0;b=k[k[a+156>>2]>>2]|0;c=a+160|0;d=c+36|0;do{k[c>>2]=0;c=c+4|0}while((c|0)<(d|0));k[a+188>>2]=b;i[a+192>>0]=0;a3a(b);return 0}function DWa(a){a=a|0;var b=0;b=k[k[a+188>>2]>>2]|0;YTa(b,k[a+168>>2]|0);k[a+168>>2]=0;k[a+172>>2]=0;k[a+164>>2]=0;YTa(b,k[a+184>>2]|0);k[a+176>>2]=0;k[a+176+4>>2]=0;k[a+176+8>>2]=0;k[a+176+12>>2]=0;i[a+176+16>>0]=0;return}function EWa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;F=r;r=r+16|0;D=k[a+4>>2]|0;C=(c|0)==0?0:c+-1|0;if(!D){E=6;r=F;return E|0}if(C>>>0>=(k[D+408>>2]|0)>>>0){E=6;r=F;return E|0}a:do if(!(d&9)){E=k[D+104>>2]|0;u=k[D+416>>2]|0;c=k[D+380>>2]|0;if(c|0){e=k[b+12>>2]|0;f=0;h=k[D+388>>2]|0;while(1){if((k[h>>2]|0)==(e&65535|0))if((k[h+4>>2]|0)==(e>>>16|0))break;f=f+1|0;if(f>>>0>=c>>>0)break a;else h=h+36|0}c=k[h+8>>2]|0;if(!(pTa(E,(k[h+24>>2]|0)+(k[D+432>>2]|0)|0)|0))if(!(wTa(E,ha(k[h+28>>2]|0,(c&1|4)+(c>>>1&1)+(c>>>2&1)|0)|0)|0)){q=k[E+32>>2]|0;s=k[E+36>>2]|0;c=k[h+28>>2]|0;t=k[h+8>>2]|0;p=k[u+(C<<4)>>2]|0;o=(t&1|4)+((t&2)>>>1)+((t&4)>>>2)|0;b:do if(c|0){c:do if(!(t&1)){n=0;while(1){e=(c+n|0)>>>1;f=q+(ha(e,o)|0)|0;if((f+o|0)>>>0>s>>>0)break b;h=l[f>>0]|0;if((h|0)==(p|0))break;c=h>>>0

>>0?c:e;n=h>>>0

>>0?e:n;if(n>>>0>=c>>>0)break b}c=f+1|0}else{n=0;while(1){e=(c+n|0)>>>1;f=q+(ha(e,o)|0)|0;if((f+o|0)>>>0>s>>>0)break b;h=l[f+2+-2>>0]<<8|l[f+2+-2+1>>0];if((h|0)==(p|0)){c=f+2|0;break c}c=h>>>0

>>0?c:e;n=h>>>0

>>0?e:n;if(n>>>0>=c>>>0)break b}}while(0);if(!(t&2)){f=c+1|0;o=l[c>>0]|0}else{f=c+2|0;o=l[c>>0]<<8|l[c+1>>0]}c=l[f>>0]|0;e=i[f+1>>0]|0;if(!(t&4))n=e&255|c<<8;else n=(e&255)<<8|c<<16|l[f+2>>0];yTa(E);if(!o)break a;h=k[u+(C<<4)+4>>2]|0;e=k[D+304>>2]|0;c=k[D+300>>2]|0;if((e|0)==(c|0)){f=h;c=h}else{c=S2a(h,c,e)|0;f=k[u+(C<<4)+4>>2]|0;e=k[D+304>>2]|0}k[a+56>>2]=c;e=S2a(m[b+12>>1]<<8,f,e)|0;if(pTa(E,(k[D+188>>2]|0)+n|0)|0)break a;if(wTa(E,o)|0)break a;c=k[E+32>>2]|0;f=k[E+36>>2]|0;d:do if((c+1|0)>>>0<=f>>>0){p=i[c>>0]|0;switch(p&3|0){case 0:{if((c+2|0)>>>0>f>>>0)break d;B=i[c+1>>0]|0;v=c+2|0;A=B>>4;B=B<<28>>28;break}case 1:{if((c+3|0)>>>0>f>>>0)break d;v=c+3|0;A=i[c+1>>0]|0;B=i[c+2>>0]|0;break}case 2:{if((c+5|0)>>>0>f>>>0)break d;v=c+5|0;A=(l[c+1>>0]<<8|l[c+2>>0])<<16>>16;B=(l[c+3>>0]<<8|l[c+4>>0])<<16>>16;break}case 3:{if((c+7|0)>>>0>f>>>0)break d;v=c+7|0;A=l[c+2>>0]<<8|l[c+1>>0]<<16|l[c+3>>0];B=l[c+5>>0]<<8|l[c+4>>0]<<16|l[c+6>>0];break}default:{}}switch((p&255)>>>2&3|0){case 0:{w=v;x=0;y=0;break}case 1:{c=v+1|0;if(c>>>0>f>>>0)break d;y=l[v>>0]|0;w=c;x=y>>>4;y=y&15;break}case 2:{c=v+2|0;if(c>>>0>f>>>0)break d;w=c;x=l[v>>0]|0;y=l[v+1>>0]|0;break}case 3:{c=v+4|0;if(c>>>0>f>>>0)break d;w=c;x=l[v>>0]<<8|l[v+1>>0];y=l[v+2>>0]<<8|l[v+3>>0];break}default:{}}switch((p&255)>>>4&3|0){case 0:{z=e;g=w;break}case 1:{g=w+1|0;if(g>>>0>f>>>0)break d;z=i[w>>0]<<8;break}case 2:{g=w+2|0;if(g>>>0>f>>>0)break d;z=(l[w>>0]<<8|l[w+1>>0])<<16>>16;break}case 3:{g=w+3|0;if(g>>>0>f>>>0)break d;z=l[w+1>>0]<<8|l[w>>0]<<16|l[w+2>>0];break}default:{}}n=g;if((B|0)<=(2147483647-y|0)){k[a+72>>2]=1651078259;k[a+80>>2]=x;k[a+76>>2]=y;w=x+7>>3;k[a+84>>2]=w;i[a+94>>0]=1;x=x<<6;k[a+24>>2]=x;k[a+28>>2]=y<<6;k[a+32>>2]=A<<6;k[a+36>>2]=B<<6;k[a+40>>2]=(z>>2)+32&-64;k[a+44>>2]=0-x>>1;k[a+48>>2]=0;k[a+52>>2]=k[b+32>>2];k[a+100>>2]=A;k[a+104>>2]=y+B;if(!($Ra(a,ha(w,y)|0)|0)){x=k[E+36>>2]|0;c=k[D+208>>2]&2;e=k[a+76>>2]|0;e:do if(e|0){z=k[a+80>>2]|0;if(!z)break;f=k[a+88>>2]|0;h=k[a+84>>2]|0;o=ha(z,e)|0;if(!c){w=f+(ha(h,e+-1|0)|0)|0;y=0-h|0}else{w=f;y=h}switch(((p&255)>>>4&255)>>>2|0){case 0:{s=x-n<<3>>>0>o>>>0?o:x-n<<3;if(!s)break e;f=0;e=w;h=z;c=128;q=s;p=0;n=w;while(1){if(!((q^s)&7)){o=g+1|0;g=l[g>>0]|0}else{o=g;g=p}f=((g&128|0)==0?0:c)|f;p=g<<1;c=c>>>1;g=h+-1|0;do if(!g){i[e>>0]=f;n=n+y|0;f=0;e=n;h=z;c=128}else{if(c|0){h=g;break}i[e>>0]=f;f=0;e=e+1|0;h=g;c=128}while(0);q=q+-1|0;if(!q)break;else g=o}if((c|0)==128)break e;i[e>>0]=f;break e}case 1:{if(!o)break e;f=0;s=0;t=0;e=w;u=z;c=128;v=o;n=1;h=1;p=w;while(1){f:do if(!h)o=s;else{q=g;g=s;h=t;while(1){while(1){if(n|0){o=g;break}if(!h){g=0;h=0;n=1}else{g=q;o=h;t=h;n=1;break f}}if(q>>>0>=x>>>0){g=q;t=h;break f}g=q+1|0;h=l[q>>0]|0;if(!(h>>>4)){q=g;g=0;h=h&15;n=0}else{o=h>>>4;t=h&15;n=0;break}}}while(0);f=((n|0)==0?0:c)|f;c=c>>>1;h=u+-1|0;do if(!h){i[e>>0]=f;p=p+y|0;f=0;e=p;h=z;c=128}else{if(c|0)break;i[e>>0]=f;f=0;e=e+1|0;c=128}while(0);v=v+-1|0;if(!v)break;else{s=o+-1|0;u=h;h=(o|0)<2&1}}if((c|0)==128)break e;i[e>>0]=f;break e}case 2:{if(!o)break e;f=0;p=0;e=w;s=z;c=128;u=o;o=1;h=1;t=w;while(1){g:do if(!h)q=p;else{h=p;while(1){if(g>>>0>=x>>>0){q=h;break g}h=g+1|0;n=i[g>>0]|0;o=o^1;if(!(n<<24>>24)){g=h;h=n&255}else{g=h;q=n&255;break}}}while(0);f=((o|0)==0?0:c)|f;c=c>>>1;h=s+-1|0;do if(!h){i[e>>0]=f;n=t+y|0;f=0;e=n;h=z;c=128}else{if(c|0){n=t;break}i[e>>0]=f;f=0;e=e+1|0;c=128;n=t}while(0);u=u+-1|0;if(!u)break;else{p=q+-1|0;s=h;h=(q|0)<2&1;t=n}}if((c|0)==128)break e;i[e>>0]=f;break e}default:break d}}while(0);yTa(E);E=0;r=F;return E|0}}}while(0);yTa(E);break a}while(0);yTa(E)}}}while(0);if(d&16384|0){E=6;r=F;return E|0}e=k[D+416>>2]|0;k[a+72>>2]=1869968492;j[a+110>>1]=0;j[a+108>>1]=0;B=k[D+188>>2]|0;A=k[D+104>>2]|0;E=k[e+(C<<4)+12>>2]|0;c=k[e+(C<<4)+8>>2]|0;a3a(k[a+188>>2]|0);k[a+176>>2]=0;c=FWa(a+160|0,A,B,E,c)|0;if(c|0){E=c;r=F;return E|0}c=(k[a+188>>2]|0)+20|0;k[a+108>>2]=k[c>>2];k[a+108+4>>2]=k[c+4>>2];k[a+108+8>>2]=k[c+8>>2];k[a+108+12>>2]=k[c+12>>2];k[a+108+16>>2]=k[c+16>>2];c=k[a+124>>2]&-6;k[a+124>>2]=c|4;if(b|0)if((m[b+14>>1]|0)<24)k[a+124>>2]=c|260;k[a+40>>2]=0;k[a+52>>2]=0;e=k[e+(C<<4)+4>>2]|0;c=k[D+304>>2]|0;f=k[D+300>>2]|0;if((c|0)!=(f|0))e=S2a(e,f,c)|0;if(!(k[D+324>>2]&1)){k[a+40>>2]=e;c=e;e=k[a+52>>2]|0}else{k[a+52>>2]=e;c=k[a+40>>2]|0}k[a+56>>2]=c;k[a+60>>2]=e;k[a+44>>2]=0;k[a+48>>2]=0;if(!(d&1)){g=k[b+16>>2]|0;f=k[b+20>>2]|0;if((j[a+110>>1]|0)>0){c=0;e=k[a+112>>2]|0;while(1){E=U2a(k[e>>2]|0,g)|0;k[e>>2]=E;E=e+4|0;b=U2a(k[E>>2]|0,f)|0;k[E>>2]=b;c=c+1|0;if((c|0)>=(j[a+110>>1]|0))break;else e=e+8|0}c=k[a+40>>2]|0}E=U2a(c,g)|0;k[a+40>>2]=E;E=U2a(k[a+52>>2]|0,f)|0;k[a+52>>2]=E}USa(a+108|0,F);b=k[F>>2]|0;k[a+24>>2]=(k[F+8>>2]|0)-b;E=k[F+4>>2]|0;k[a+28>>2]=(k[F+12>>2]|0)-E;k[a+32>>2]=b;k[a+36>>2]=E;E=0;r=F;return E|0}function FWa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0;x=r;r=r+48|0;d=pTa(b,d+c|0)|0;if(d|0){b=d;r=x;return b|0}d=wTa(b,e)|0;if(d|0){b=d;r=x;return b|0}v=k[b+32>>2]|0;if(e|0)if((i[v>>0]|0)<0){t=k[a+28>>2]|0;u=k[a+16>>2]|0;k[x+32>>2]=0;h=k[t>>2]|0;a:do if((e|0)<1)w=52;else{p=l[v>>0]|0;if(!(p&128))w=52;else{b:do if(!(p&8))g=v+1|0;else{c:do if((e|0)>=2){d=i[v+1>>0]|0;if(!(d<<24>>24))d=v+2|0;else{g=d&255;d=v+2|0;do{f=d+2|0;if(f>>>0>(v+e|0)>>>0)break c;d=f+(l[d>>0]|0)|0;if(d>>>0>(v+e|0)>>>0)break c;g=g+-1|0}while((g|0)!=0)}k[x+32>>2]=0;g=d;break b}while(0);k[x+32>>2]=8;d=8;break a}while(0);d=k[a+20>>2]|0;if((u+(p&63)|0)>>>0>d>>>0){if((u+(p&63)+3&-4)>>>0>64){k[x+32>>2]=8;d=8;break}f=WTa(h,24,d,u+(p&63)+3&-4,k[a+24>>2]|0,x+32|0)|0;k[a+24>>2]=f;d=k[x+32>>2]|0;if(d|0)break;k[a+20>>2]=u+(p&63)+3&-4}else f=k[a+24>>2]|0;if(!(p&63))d=0;else{d=g;o=0;n=f+(u*24|0)|0;while(1){f=d+1|0;if(f>>>0>(v+e|0)>>>0){w=52;break a}h=l[d>>0]|0;k[n>>2]=65536;if(!(h&16))d=f;else{g=d+3|0;if(g>>>0>(v+e|0)>>>0){w=52;break a}k[n>>2]=(l[f>>0]<<8|l[d+2>>0])<<16>>12;d=g}f=n+4|0;k[f>>2]=65536;if(!(h&32))g=d;else{g=d+2|0;if(g>>>0>(v+e|0)>>>0){w=52;break a}k[f>>2]=(l[d>>0]<<8|l[d+1>>0])<<16>>12}switch(h&3|0){case 1:{d=g+2|0;if(d>>>0>(v+e|0)>>>0){w=52;break a}g=(l[g>>0]<<8|l[g+1>>0])<<16>>16;break}case 2:{d=g+1|0;if(d>>>0>(v+e|0)>>>0){w=52;break a}g=i[g>>0]|0;break}default:{d=g;g=0}}switch(h>>>2&3|0){case 1:{f=d+2|0;if(f>>>0>(v+e|0)>>>0){w=52;break a}d=(l[d>>0]<<8|l[d+1>>0])<<16>>16;break}case 2:{f=d+1|0;if(f>>>0>(v+e|0)>>>0){w=52;break a}d=i[d>>0]|0;break}default:{f=d;d=0}}k[n+8>>2]=g;k[n+12>>2]=d;if(!(h&64)){d=f+1|0;if(d>>>0>(v+e|0)>>>0){w=52;break a}k[n+20>>2]=l[f>>0];f=d}else{d=f+2|0;if(d>>>0>(v+e|0)>>>0){w=52;break a}k[n+20>>2]=l[f>>0]<<8|l[f+1>>0];f=d}if(!(h&128)){d=f+2|0;if(d>>>0>(v+e|0)>>>0){w=52;break a}k[n+16>>2]=l[f>>0]<<8|l[f+1>>0]}else{d=f+3|0;if(d>>>0>(v+e|0)>>>0){w=52;break a}k[n+16>>2]=l[f+1>>0]<<8|l[f>>0]<<16|l[f+2>>0]}k[a+16>>2]=(k[a+16>>2]|0)+1;o=o+1|0;if(o>>>0>=(p&63)>>>0)break;else n=n+24|0}d=k[x+32>>2]|0}}}while(0);if((w|0)==52){k[x+32>>2]=8;d=8}yTa(b);if(d|0){b=d;r=x;return b|0}q=k[a+16>>2]|0;if((q|0)==(u|0)){b=0;r=x;return b|0}s=0;while(1){d=(k[a+24>>2]|0)+(u*24|0)+(s*24|0)|0;o=j[t+22>>1]|0;d=FWa(a,b,c,k[d+16>>2]|0,k[d+20>>2]|0)|0;if(d|0){w=185;break}n=(k[a+24>>2]|0)+(u*24|0)+(s*24|0)|0;p=(j[t+22>>1]|0)-o|0;d=k[n>>2]|0;if((d|0)==65536)if((k[n+4>>2]|0)==65536){if((p|0)>0){h=k[n+8>>2]|0;f=k[n+12>>2]|0;g=0;d=(k[t+24>>2]|0)+(o<<3)|0;while(1){k[d>>2]=(k[d>>2]|0)+h;e=d+4|0;k[e>>2]=(k[e>>2]|0)+f;g=g+1|0;if((g|0)==(p|0))break;else d=d+8|0}}}else w=60;else w=60;d:do if((w|0)==60){w=0;if((p|0)>0){f=0;g=(k[t+24>>2]|0)+(o<<3)|0;while(1){e=U2a(k[g>>2]|0,d)|0;k[g>>2]=(k[n+8>>2]|0)+e;e=g+4|0;v=U2a(k[e>>2]|0,k[n+4>>2]|0)|0;k[e>>2]=(k[n+12>>2]|0)+v;f=f+1|0;if((f|0)==(p|0))break d;d=k[n>>2]|0;g=g+8|0}}}while(0);s=s+1|0;if(s>>>0>=(q-u|0)>>>0){d=0;w=185;break}}if((w|0)==185){r=x;return d|0}}k[x+32>>2]=0;h=k[k[a+28>>2]>>2]|0;e:do if((e|0)<1)w=183;else{q=l[v>>0]|0;if(!(q&128)){if(!(q&4)){if(!(q&2)){g=v+1|0;f=0}else{if((e|0)<2){w=183;break}g=v+2|0;f=l[v+1>>0]|0}if(!(q&1)){n=g;c=f;u=0}else{d=g+1|0;if(d>>>0>(v+e|0)>>>0){w=183;break}n=d;c=f;u=l[g>>0]|0}}else{if((e|0)<2){w=183;break}u=l[v+1>>0]|0;n=v+2|0;c=u&15;u=u>>>4}p=c+u|0;d=k[a+4>>2]|0;if(p>>>0>d>>>0){f=WTa(h,4,d,p+7&-8,k[a+8>>2]|0,x+32|0)|0;k[a+8>>2]=f;d=k[x+32>>2]|0;if(d|0)break;k[a+4>>2]=p+7&-8;t=a+8|0}else{t=a+8|0;f=k[a+8>>2]|0}k[a+12>>2]=f+(c<<2);if(!p)d=n;else{d=n;o=0;h=0;n=0;while(1){if(!(o&7)){g=d+1|0;if(g>>>0>(v+e|0)>>>0){w=183;break e}h=l[d>>0]|0}else g=d;if(!(h&1)){d=g+1|0;if(d>>>0>(v+e|0)>>>0){w=183;break e}g=(l[g>>0]|0)+n|0}else{d=g+2|0;if(d>>>0>(v+e|0)>>>0){w=183;break e}g=(l[g>>0]<<8|l[g+1>>0])<<16>>16}k[f+(o<<2)>>2]=g;o=o+1|0;if(o>>>0>=p>>>0)break;else{h=h>>>1;n=g}}}f:do if(q&8){f=d+1|0;g:do if(f>>>0<=(v+e|0)>>>0){d=i[d>>0]|0;if(!(d<<24>>24))d=f;else{g=d&255;d=f;do{f=d+2|0;if(f>>>0>(v+e|0)>>>0)break g;d=f+(l[d>>0]|0)|0;if(d>>>0>(v+e|0)>>>0)break g;g=g+-1|0}while((g|0)!=0)}k[x+32>>2]=0;break f}while(0);k[x+32>>2]=8;d=8;break e}while(0);i[a+32>>0]=0;k[x+4>>2]=0;k[x>>2]=0;g=k[x>>2]|0;h=k[x+4>>2]|0;k[x+24>>2]=g;k[x+24+4>>2]=h;h:while(1){f=d+1|0;if(f>>>0>(v+e|0)>>>0){w=180;break}s=l[d>>0]|0;switch(s>>>4|0){case 0:{w=136;break h}case 5:case 4:case 1:{n=1;o=s&15;p=x;q=0;w=112;break}case 2:{if((s&15)>>>0>=c>>>0){w=180;break h}k[x>>2]=k[(k[t>>2]|0)+((s&15)<<2)>>2];k[x+4>>2]=h;g=k[x>>2]|0;h=k[x+4>>2]|0;k[x+24>>2]=g;k[x+24+4>>2]=h;w=147;break}case 3:{if((s&15)>>>0>=u>>>0){w=180;break h}k[x>>2]=g;k[x+4>>2]=k[(k[a+12>>2]|0)+((s&15)<<2)>>2];g=k[x>>2]|0;h=k[x+4>>2]|0;k[x+24>>2]=g;k[x+24+4>>2]=h;w=147;break}case 6:{n=3;o=2958;p=x;q=0;w=112;break}case 7:{n=3;o=3627;p=x;q=0;w=112;break}default:{n=4;o=s&15;p=x;q=0;w=112}}i:do if((w|0)==112){while(1){w=0;switch(o&3|0){case 0:{g=f+1|0;if(g>>>0>(v+e|0)>>>0){w=182;break h}d=l[f>>0]|0;if(d>>>0>=c>>>0){w=182;break h}k[p>>2]=k[(k[t>>2]|0)+(d<<2)>>2];f=g;break}case 1:{d=f+2|0;if(d>>>0>(v+e|0)>>>0){w=182;break h}k[p>>2]=(l[f>>0]<<8|l[f+1>>0])<<16>>16;f=d;break}case 2:{d=f+1|0;if(d>>>0>(v+e|0)>>>0){w=182;break h}k[p>>2]=(i[f>>0]|0)+g;f=d;break}default:k[p>>2]=g}switch(o>>>2&3|0){case 0:{g=f+1|0;if(g>>>0>(v+e|0)>>>0){w=182;break h}d=l[f>>0]|0;if(d>>>0>=u>>>0){w=182;break h}k[p+4>>2]=k[(k[a+12>>2]|0)+(d<<2)>>2];d=g;break}case 1:{d=f+2|0;if(d>>>0>(v+e|0)>>>0){w=182;break h}k[p+4>>2]=(l[f>>0]<<8|l[f+1>>0])<<16>>16;break}case 2:{d=f+1|0;if(d>>>0>(v+e|0)>>>0){w=182;break h}k[p+4>>2]=(i[f>>0]|0)+h;break}default:{k[p+4>>2]=h;d=f}}if((q|0)==0&(n|0)==4){f=d+1|0;if(f>>>0>(v+e|0)>>>0){w=182;break h}n=3;d=l[d>>0]|0}else{f=d;d=o>>>4}h=p;g=k[h>>2]|0;h=k[h+4>>2]|0;k[x+24>>2]=g;k[x+24+4>>2]=h;q=q+1|0;if(q>>>0>=n>>>0)break;else{o=d;p=p+8|0;w=112}}switch(s>>>4|0){case 0:{w=136;break h}case 3:case 2:case 1:{w=147;break i}case 5:case 4:break;default:{n=k[a+28>>2]|0;do if(!(i[a+32>>0]|0))d=8;else{d=j[n+58>>1]|0;if(((j[n+22>>1]|0)+3+(d<<16>>16)|0)>>>0>(k[n+4>>2]|0)>>>0){d=d3a(n,3,0)|0;if(d|0)break;d=j[n+58>>1]|0}d=d<<16>>16;s=(k[n+60>>2]|0)+(d<<3)|0;d=(k[n+64>>2]|0)+d|0;q=k[x+4>>2]|0;k[s>>2]=k[x>>2];k[s+4>>2]=q;q=k[x+8+4>>2]|0;k[s+8>>2]=k[x+8>>2];k[s+8+4>>2]=q;q=k[x+16+4>>2]|0;k[s+16>>2]=k[x+16>>2];k[s+16+4>>2]=q;i[d>>0]=2;i[d+1>>0]=2;i[d+2>>0]=1;j[n+58>>1]=(m[n+58>>1]|0)+3;d=0}while(0);k[x+32>>2]=d;break i}}s=k[a+28>>2]|0;if(i[a+32>>0]|0){d=j[s+58>>1]|0;o=k[s+56>>2]|0;if((o&65535)<<16>>16>0)p=j[(k[s+68>>2]|0)+((o<<16>>16)+-1<<1)>>1]|0;else p=0;if((d+-1|0)>(p|0)){n=k[s+60>>2]|0;if((k[n+(p<<3)>>2]|0)==(k[n+(d+-1<<3)>>2]|0))if((k[n+(p<<3)+4>>2]|0)==(k[n+(d+-1<<3)+4>>2]|0)){j[s+58>>1]=(o>>>16&65535)+-1<<16>>16;d=d+-2|0}else d=d+-1|0;else d=d+-1|0}else d=d+-1|0;if((d|0)>=(p|0)){j[s+56>>1]=(o&65535)+1<<16>>16;j[(k[s+68>>2]|0)+(o<<16>>16<<1)>>1]=d}i[a+32>>0]=0}i[a+32>>0]=1;o=k[s+4>>2]|0;if(((j[s+22>>1]|0)+1+(j[s+58>>1]|0)|0)>>>0>o>>>0)w=165;else{d=k[s+20>>2]|0;n=k[s+56>>2]|0;if(((d<<16>>16)+1+(n<<16>>16)|0)>>>0>(k[s+8>>2]|0)>>>0)w=165;else{q=d>>>16&65535;d=n>>>16&65535;n=s;w=168}}if((w|0)==165){w=0;d=d3a(s,1,1)|0;if(!d){n=k[a+28>>2]|0;if(!(i[a+32>>0]|0))d=8;else{q=j[n+22>>1]|0;d=j[n+58>>1]|0;o=k[n+4>>2]|0;w=168}}}do if((w|0)==168){w=0;p=n+58|0;if(((d<<16>>16)+1+(q<<16>>16)|0)>>>0>o>>>0){d=d3a(n,1,0)|0;if(d|0)break;d=j[p>>1]|0}d=d<<16>>16;q=k[x+4>>2]|0;s=(k[n+60>>2]|0)+(d<<3)|0;k[s>>2]=k[x>>2];k[s+4>>2]=q;i[(k[n+64>>2]|0)+d>>0]=1;j[p>>1]=(j[p>>1]|0)+1<<16>>16;d=0}while(0);k[x+32>>2]=d}while(0);if((w|0)==147){w=0;n=k[a+28>>2]|0;do if(!(i[a+32>>0]|0))d=8;else{d=j[n+58>>1]|0;if(((j[n+22>>1]|0)+1+(d<<16>>16)|0)>>>0>(k[n+4>>2]|0)>>>0){d=d3a(n,1,0)|0;if(d|0)break;d=j[n+58>>1]|0}d=d<<16>>16;q=k[x+4>>2]|0;s=(k[n+60>>2]|0)+(d<<3)|0;k[s>>2]=k[x>>2];k[s+4>>2]=q;i[(k[n+64>>2]|0)+d>>0]=1;j[n+58>>1]=(j[n+58>>1]|0)+1<<16>>16;d=0}while(0);k[x+32>>2]=d}if(!d)d=f;else break}if((w|0)==136){g=k[a+28>>2]|0;if(i[a+32>>0]|0){d=j[g+58>>1]|0;h=k[g+56>>2]|0;if((h&65535)<<16>>16>0)n=j[(k[g+68>>2]|0)+((h<<16>>16)+-1<<1)>>1]|0;else n=0;if((d+-1|0)>(n|0)){f=k[g+60>>2]|0;if((k[f+(n<<3)>>2]|0)==(k[f+(d+-1<<3)>>2]|0))if((k[f+(n<<3)+4>>2]|0)==(k[f+(d+-1<<3)+4>>2]|0)){j[g+58>>1]=(h>>>16&65535)+-1<<16>>16;d=d+-2|0}else d=d+-1|0;else d=d+-1|0}else d=d+-1|0;if((d|0)>=(n|0)){j[g+56>>1]=(h&65535)+1<<16>>16;j[(k[g+68>>2]|0)+(h<<16>>16<<1)>>1]=d}i[a+32>>0]=0}g3a(g);d=k[x+32>>2]|0}else if((w|0)==180){w=183;break}else if((w|0)==182){w=183;break}}else w=183}while(0);if((w|0)==183){k[x+32>>2]=8;d=8}yTa(b);b=d;r=x;return b|0}function GWa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;uWa(a,b,c,d)|0;b=k[a+288+12>>2]|0;c=k[a+288+16>>2]|0;if((b|0)==(c|0))return 0;e=k[d>>2]|0;if(e|0){e=S2a(e,b,c)|0;k[d>>2]=e}b=k[d+4>>2]|0;if(!b)return 0;a=S2a(b,k[a+288+12>>2]|0,k[a+288+16>>2]|0)|0;k[d+4>>2]=a;return 0}function HWa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=r;r=r+16|0;k[a+32>>2]=c;e=WTa(c,4,0,b,0,d)|0;k[a+24>>2]=e;if(!(k[d>>2]|0)){e=WTa(c,4,0,b,0,d)|0;k[a+28>>2]=e;if(!(k[d>>2]|0)){k[a+16>>2]=b;k[a+12>>2]=-559038737;k[a+20>>2]=0;k[a>>2]=0;k[a+8>>2]=0;k[a+4>>2]=0;k[a+36>>2]=k[13019];k[a+36+4>>2]=k[13020];k[a+36+8>>2]=k[13021];k[a+36+12>>2]=k[13022];e=0;r=d;return e|0}}YTa(c,k[a+24>>2]|0);k[a+24>>2]=0;e=k[d>>2]|0;r=d;return e|0}function IWa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;i=r;r=r+16|0;g=k[a+32>>2]|0;h=k[a>>2]|0;if(!h){r=i;return}b=UTa(g,k[a+4>>2]|0,i)|0;k[a>>2]=b;if(k[i>>2]|0){r=i;return}ABb(b|0,h|0,k[a+4>>2]|0)|0;b=(k[a>>2]|0)-h|0;c=k[a+24>>2]|0;d=k[a+16>>2]|0;if((d|0)>0){f=c;do{e=k[f>>2]|0;if(e|0)k[f>>2]=e+b;f=f+4|0}while(f>>>0<(c+(d<<2)|0)>>>0)}k[a+8>>2]=k[a+4>>2];YTa(g,h);r=i;return}function JWa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0;o=r;r=r+16|0;if((b|0)<0){a=6;r=o;return a|0}if((k[a+16>>2]|0)<=(b|0)){a=6;r=o;return a|0}f=(k[a+4>>2]|0)+d|0;e=k[a+8>>2]|0;if(f>>>0>e>>>0){n=k[a>>2]|0;m=(c-n|0)>-1&(c-n|0)>>>0>>0?c-n|0:-1;do e=e+1024+(e>>>2)&-1024;while(e>>>0>>0);l=k[a+32>>2]|0;f=UTa(l,e,o)|0;k[a>>2]=f;g=k[o>>2]|0;if(g|0){k[a>>2]=n;a=g;r=o;return a|0}if(n|0){ABb(f|0,n|0,k[a+8>>2]|0)|0;f=(k[a>>2]|0)-n|0;g=k[a+24>>2]|0;h=k[a+16>>2]|0;if((h|0)>0){j=g;do{i=k[j>>2]|0;if(i|0)k[j>>2]=i+f;j=j+4|0}while(j>>>0<(g+(h<<2)|0)>>>0)}YTa(l,n)}k[a+8>>2]=e;if((m|0)>-1)c=(k[a>>2]|0)+m|0}k[(k[a+24>>2]|0)+(b<<2)>>2]=(k[a>>2]|0)+(k[a+4>>2]|0);k[(k[a+28>>2]|0)+(b<<2)>>2]=d;ABb((k[a>>2]|0)+(k[a+4>>2]|0)|0,c|0,d|0)|0;k[a+4>>2]=(k[a+4>>2]|0)+d;a=0;r=o;return a|0}function KWa(a){a=a|0;var b=0;b=k[a+32>>2]|0;if((k[a+12>>2]|0)!=-559038737)return;YTa(b,k[a>>2]|0);k[a>>2]=0;YTa(b,k[a+24>>2]|0);k[a+24>>2]=0;YTa(b,k[a+28>>2]|0);k[a+28>>2]=0;k[a+12>>2]=0;return}function LWa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;k[a+12>>2]=0;k[a+4>>2]=b;k[a+8>>2]=c;k[a>>2]=b;k[a+16>>2]=d;b=a+20|0;c=52092;d=b+52|0;do{k[b>>2]=k[c>>2];b=b+4|0;c=c+4|0}while((b|0)<(d|0));return}function MWa(a){a=a|0;return}function NWa(a){a=a|0;var b=0,c=0,d=0,e=0;e=k[a+8>>2]|0;b=k[a>>2]|0;a:do if(b>>>0>>0){d=b;while(1){switch(i[d>>0]|0){case 0:case 12:case 9:case 10:case 13:case 32:break;case 37:{c=37;b=d;b:while(1){switch(c<<24>>24){case 10:case 13:break b;default:{}}b=b+1|0;if(b>>>0>=e>>>0)break;c=i[b>>0]|0}break}default:break a}d=b+1|0;b=d;if(d>>>0>=e>>>0)break a}}while(0);k[a>>2]=b;return}function OWa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0;h=k[a>>2]|0;j=k[a+8>>2]|0;a:do if(h>>>0>>0){b=h;c=h;while(1){switch(i[b>>0]|0){case 0:case 12:case 9:case 10:case 13:case 32:break;case 37:{d=37;c=b;b:while(1){switch(d<<24>>24){case 10:case 13:break b;default:{}}c=c+1|0;if(c>>>0>=j>>>0)break;d=i[c>>0]|0}break}default:break a}b=c+1|0;c=b;if(b>>>0>=j>>>0)break a}}else c=h;while(0);e=c;c:do if(e>>>0>>0){switch(i[e>>0]|0){case 93:case 91:{c=e+1|0;b=0;break c}case 123:{b=e;e=123;d=0;d:while(1){switch(e&255|0){case 123:{b=c;d=d+1|0;e=0;break}case 125:{d=d+-1|0;if(!d){g=14;break d}else{b=c;e=0}break}case 40:{b=c;e:do if(b>>>0>>0){c=0;while(1){f=b;f:while(1){b=f+1|0;g:do switch(i[f>>0]|0){case 40:{g=25;break f}case 41:{g=27;break f}case 92:{if((b|0)==(j|0)){b=j;c=3;break e}e=i[b>>0]|0;switch(e&255|0){case 41:case 40:case 92:case 102:case 98:case 116:case 114:case 110:{b=f+2|0;break g}default:{}}if(b>>>0>>0&(e&-8)<<24>>24==48){e=0;do{b=b+1|0;e=e+1|0;if(!(b>>>0>>0&e>>>0<3))break g}while((i[b>>0]&-8)<<24>>24==48)}break}default:{}}while(0);if(b>>>0>>0)f=b;else{c=3;break e}}if((g|0)==25){g=0;c=c+1|0}else if((g|0)==27){g=0;c=c+-1|0;if(!c){c=0;break e}}if(b>>>0>=j>>>0){c=3;break}}}else c=3;while(0);e=c;break}case 60:{c=c+1|0;h:do if(c>>>0>>0){b=c;while(1){switch(i[b>>0]|0){case 0:case 12:case 9:case 10:case 13:case 32:{b=c;g=35;break}case 37:{c=37;i:while(1){switch(c<<24>>24){case 10:case 13:break i;default:{}}b=b+1|0;if(b>>>0>=j>>>0)break;c=i[b>>0]|0}g=35;break}default:b=c}if((g|0)==35){g=0;c=b+1|0;if(c>>>0>>0){b=c;continue}else b=c}c=b;if(c>>>0>=j>>>0)break h;e=i[c>>0]|0;if((e+-48&255)>=10)switch(e<<24>>24){case 65:case 66:case 67:case 68:case 69:case 70:case 97:case 98:case 99:case 100:case 101:case 102:break;default:break h}b=c+1|0;c=b;if(b>>>0>=j>>>0){b=c;break h}}}else b=c;while(0);if(b>>>0>>0)if((i[b>>0]|0)!=62){g=42;break d}b=b+1|0;e=0;break}case 37:{c=e;j:while(1){switch(c<<24>>24){case 10:case 13:break j;default:{}}b=b+1|0;if(b>>>0>=j>>>0)break;c=i[b>>0]|0}e=0;break}default:{b=c;e=0}}c=b+1|0;if(!((e|0)==0&c>>>0>>0)){b=e;break}b=c;e=i[c>>0]|0}if((g|0)==14){c=b+1|0;d=0;b=0}else if((g|0)==42){c=b+1|0;b=3}b=(d|0)==0?b:3;break c}case 40:{c=e;b=0;k:while(1){e=c;l:while(1){c=e+1|0;m:do switch(i[e>>0]|0){case 40:{g=60;break l}case 41:{g=62;break l}case 92:{if((c|0)==(j|0)){c=j;b=3;break k}d=i[c>>0]|0;switch(d&255|0){case 41:case 40:case 92:case 102:case 98:case 116:case 114:case 110:{c=e+2|0;break m}default:{}}if(c>>>0>>0&(d&-8)<<24>>24==48){d=0;do{c=c+1|0;d=d+1|0;if(!(c>>>0>>0&d>>>0<3))break m}while((i[c>>0]&-8)<<24>>24==48)}break}default:{}}while(0);if(c>>>0>>0)e=c;else{b=3;break k}}if((g|0)==60)b=b+1|0;else if((g|0)==62){b=b+-1|0;if(!b){b=0;break}}if(c>>>0>=j>>>0){b=3;break}}break c}case 60:{n:do if((e+1|0)>>>0>>0){b=i[e+1>>0]|0;if(b<<24>>24==60){c=e+2|0;b=0;break c}d=b;b=e+1|0;c=e+1|0;while(1){switch(d<<24>>24){case 0:case 12:case 9:case 10:case 13:case 32:{b=c;g=74;break}case 37:{c=37;o:while(1){switch(c<<24>>24){case 10:case 13:break o;default:{}}b=b+1|0;if(b>>>0>=j>>>0)break;c=i[b>>0]|0}g=74;break}default:g=76}if((g|0)==74){g=0;c=b+1|0;if(c>>>0>>0)b=c;else g=76}if((g|0)==76){d=c;if(d>>>0>=j>>>0)break n;b=i[d>>0]|0;if((b+-48&255)>=10)switch(b<<24>>24){case 65:case 66:case 67:case 68:case 69:case 70:case 97:case 98:case 99:case 100:case 101:case 102:break;default:break n}if((d+1|0)>>>0>>0){b=d+1|0;c=d+1|0}else{c=d+1|0;break n}}d=i[b>>0]|0}}else c=e+1|0;while(0);b=c;if(b>>>0>>0)if((i[b>>0]|0)!=62){b=3;break c}c=b+1|0;b=0;break c}case 62:{if((e+1|0)>>>0>=j>>>0){c=e+1|0;b=3;break c}if((i[e+1>>0]|0)!=62){c=e+1|0;b=3;break c}c=e+2|0;b=0;break c}case 47:{c=e+1|0;break}default:{}}b=c;if(b>>>0>>0)while(1){switch(i[b>>0]|0){case 37:case 125:case 123:case 93:case 91:case 62:case 60:case 41:case 40:case 47:case 0:case 12:case 9:case 10:case 13:case 32:{b=0;break c}default:{}}b=b+1|0;c=b;if(b>>>0>=j>>>0){b=0;break c}}else b=0}else b=0;while(0);g=c;k[a+12>>2]=g>>>0>>0&(g|0)==(h|0)?3:b;k[a>>2]=c;return}function PWa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0;j=k[a+8>>2]|0;c=k[a>>2]|0;a:do if(c>>>0>>0){b=c;while(1){switch(i[b>>0]|0){case 0:case 12:case 9:case 10:case 13:case 32:{b=c;break}case 37:{c=37;b:while(1){switch(c<<24>>24){case 10:case 13:break b;default:{}}b=b+1|0;if(b>>>0>=j>>>0)break;c=i[b>>0]|0}break}default:{b=c;break a}}b=b+1|0;c=b;if(b>>>0>=j>>>0){b=c;break a}}}else b=c;while(0);k[a>>2]=b;if(b>>>0>=j>>>0){a=0;return a|0}c=i[b>>0]|0;switch(c<<24>>24){case 43:case 45:{if((b+1|0)==(j|0)){a=0;return a|0}else{e=b+1|0;h=c<<24>>24==45&1}break}default:{e=b;h=0}}c:do if(e>>>0>>0){f=0;g=0;while(1){c=i[e>>0]|0;switch(c<<24>>24){case 0:case 12:case 9:case 10:case 13:case 32:{c=f;d=g;break c}default:{}}if(c<<24>>24<0){c=f;d=g;break c}d=i[529873+(c&127)>>0]|0;if(((c&127)+-48|0)>>>0>=10){c=f;d=g;break c}if((g|0)>214748364){c=1;d=g}else if((g|0)==214748364&d<<24>>24>7){c=1;d=214748364}else{c=f;d=(d<<24>>24)+(g*10|0)|0}e=e+1|0;if(e>>>0>>0){f=c;g=d}else break c}}else{c=0;d=0}while(0);g=c<<24>>24==0?d:2147483647;g=h<<24>>24==0?g:0-g|0;c=e;if((e|0)==(b|0)){a=0;return a|0}if(e>>>0>>0)if((i[e>>0]|0)==35){h=e+1|0;if(h>>>0>=j>>>0|(g+-2|0)>>>0>34){a=0;return a|0}b=i[h>>0]|0;switch(b<<24>>24){case 43:case 45:{c=e+2|0;if((c|0)==(j|0)){a=0;return a|0}else f=b<<24>>24==45&1;break}default:{c=h;f=0}}d:do if(c>>>0>>0){d=0;e=0;while(1){b=i[c>>0]|0;switch(b<<24>>24){case 0:case 12:case 9:case 10:case 13:case 32:{b=e;break d}default:{}}if(b<<24>>24<0){b=e;break d}b=i[529873+(b&127)>>0]|0;if(!(b<<24>>24>-1&(b<<24>>24|0)<(g|0))){b=e;break d}if((e|0)>(2147483647/(g|0)|0|0)){d=1;b=e}else if((e|0)==(2147483647/(g|0)|0|0)?(b<<24>>24|0)>((2147483647%(g|0)|0)<<24>>24|0):0){d=1;b=2147483647/(g|0)|0}else b=(b<<24>>24)+(ha(e,g)|0)|0;c=c+1|0;if(c>>>0>>0)e=b;else break d}}else{d=0;b=0}while(0);b=d<<24>>24==0?b:2147483647;if((c|0)==(h|0)){a=0;return a|0}else b=f<<24>>24==0?b:0-b|0}else b=g;else b=g;k[a>>2]=c;a=b;return a|0}function QWa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=k[a+8>>2]|0;d=k[a>>2]|0;a:do if(d>>>0>>0){c=d;while(1){switch(i[c>>0]|0){case 0:case 12:case 9:case 10:case 13:case 32:{c=d;break}case 37:{d=37;b:while(1){switch(d<<24>>24){case 10:case 13:break b;default:{}}c=c+1|0;if(c>>>0>=e>>>0)break;d=i[c>>0]|0}break}default:{c=d;break a}}c=c+1|0;d=c;if(c>>>0>=e>>>0){c=d;break a}}}else c=d;while(0);k[a>>2]=c;return RWa(a,e,b)|0}function RWa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;d=k[a>>2]|0;if(d>>>0>=b>>>0){s=0;return s|0}e=i[d>>0]|0;a:do switch(e<<24>>24){case 43:case 45:if((d+1|0)==(b|0)){s=0;return s|0}else{g=i[d+1>>0]|0;d=d+1|0;s=e<<24>>24==45&1;break a}default:{g=e;s=0}}while(0);f=d;do if(g<<24>>24==46){r=0;d=0}else{b:do if(d>>>0>>0){switch(g<<24>>24){case 43:case 45:{e=d+1|0;if((e|0)==(b|0)){e=0;break b}else m=g<<24>>24==45&1;break}default:{e=d;m=0}}c:do if(e>>>0>>0){j=0;l=0;while(1){g=i[e>>0]|0;switch(g<<24>>24){case 0:case 12:case 9:case 10:case 13:case 32:{g=j;h=l;j=e;break c}default:{}}if(g<<24>>24<0){g=j;h=l;j=e;break c}h=i[529873+(g&127)>>0]|0;if(((g&127)+-48|0)>>>0>=10){g=j;h=l;j=e;break c}if((l|0)>214748364){g=1;h=l}else if((l|0)==214748364&h<<24>>24>7){g=1;h=214748364}else{g=j;h=(h<<24>>24)+(l*10|0)|0}e=e+1|0;if(e>>>0>>0){j=g;l=h}else{j=e;break c}}}else{g=0;h=0;j=e}while(0);e=g<<24>>24==0?h:2147483647;e=m<<24>>24==0?e:0-e|0;g=j;if((j|0)==(d|0))e=0;else if(j>>>0>>0)if((i[j>>0]|0)==35){n=j+1|0;if(n>>>0>=b>>>0|(e+-2|0)>>>0>34){e=0;break}h=i[n>>0]|0;switch(h<<24>>24){case 43:case 45:{g=j+2|0;if((g|0)==(b|0)){e=0;break b}else m=h<<24>>24==45&1;break}default:{g=n;m=0}}d:do if(g>>>0>>0){j=0;l=0;while(1){h=i[g>>0]|0;switch(h<<24>>24){case 0:case 12:case 9:case 10:case 13:case 32:{e=l;break d}default:{}}if(h<<24>>24<0){e=l;break d}h=i[529873+(h&127)>>0]|0;if(!(h<<24>>24>-1&(h<<24>>24|0)<(e|0))){e=l;break d}if((l|0)>(2147483647/(e|0)|0|0)){j=1;h=l}else if((l|0)==(2147483647/(e|0)|0|0)?(h<<24>>24|0)>((2147483647%(e|0)|0)<<24>>24|0):0){j=1;h=2147483647/(e|0)|0}else h=(h<<24>>24)+(ha(l,e)|0)|0;g=g+1|0;if(g>>>0>>0)l=h;else{e=h;break d}}}else{j=0;e=0}while(0);e=j<<24>>24==0?e:2147483647;if((g|0)==(n|0)){e=0;break}else{f=g;e=m<<24>>24==0?e:0-e|0}}else f=g;else f=g}else e=0;while(0);if((f|0)==(d|0)){s=0;return s|0}else{d=(e|0)>32767;r=d&1;d=d?e:e<<16;break}}while(0);e=f;if(e>>>0>>0)if((i[e>>0]|0)==46){j=(d|0)==0;f=e;e=0;g=1;e:while(1){if((e|0)>=214748364){p=40;break}while(1){f=f+1|0;if(f>>>0>=b>>>0)break e;h=i[f>>0]|0;switch(h<<24>>24){case 0:case 12:case 9:case 10:case 13:case 32:break e;default:{}}if(h<<24>>24<0)break e;if(((h&127)+-48|0)>>>0>9)break e;e=(i[529873+(h&127)>>0]|0)+(e*10|0)|0;if(!(j&(c|0)>0))break;c=c+-1|0;if((e|0)>=214748364){p=40;break e}}g=g*10|0;if((g|0)>=214748364){p=51;break}}f:do if((p|0)==40)while(1){f=f+1|0;if(f>>>0>=b>>>0)break f;h=i[f>>0]|0;switch(h<<24>>24){case 0:case 12:case 9:case 10:case 13:case 32:break f;default:{}}if(h<<24>>24<0)break f;if(((h&127)+-48|0)>>>0>9)break f}else if((p|0)==51)if(j)while(1){f=f+1|0;if(f>>>0>=b>>>0)break f;h=i[f>>0]|0;switch(h<<24>>24){case 0:case 12:case 9:case 10:case 13:case 32:break f;default:{}}if(h<<24>>24<0)break f;if(((h&127)+-48|0)>>>0>9)break f}else while(1){f=f+1|0;if(f>>>0>=b>>>0)break f;h=i[f>>0]|0;switch(h<<24>>24){case 0:case 12:case 9:case 10:case 13:case 32:break f;default:{}}if(h<<24>>24<0)break f;if(((h&127)+-48|0)>>>0>9)break f}while(0)}else{e=0;g=1}else{e=0;g=1}q=f;g:do if((q+1|0)>>>0>>0){switch(i[q>>0]|0){case 69:case 101:break;default:{h=r;j=0;break g}}f=q+1|0;h=i[q+1>>0]|0;switch(h<<24>>24){case 43:case 45:{if((q+2|0)==(b|0))h=0;else{l=q+2|0;o=h<<24>>24==45&1;p=66}break}default:{l=q+1|0;o=0;p=66}}h:do if((p|0)==66){i:do if(l>>>0>>0){m=0;n=0;while(1){h=i[l>>0]|0;switch(h<<24>>24){case 0:case 12:case 9:case 10:case 13:case 32:{h=m;j=n;m=l;break i}default:{}}if(h<<24>>24<0){h=m;j=n;m=l;break i}j=i[529873+(h&127)>>0]|0;if(((h&127)+-48|0)>>>0>=10){h=m;j=n;m=l;break i}if((n|0)>214748364){h=1;j=n}else if((n|0)==214748364&j<<24>>24>7){h=1;j=214748364}else{h=m;j=(j<<24>>24)+(n*10|0)|0}l=l+1|0;if(l>>>0>>0){m=h;n=j}else{m=l;break i}}}else{h=0;j=0;m=l}while(0);h=h<<24>>24==0?j:2147483647;h=o<<24>>24==0?h:0-h|0;j=m;if((m|0)==(q+1|0))h=0;else if(m>>>0>>0)if((i[m>>0]|0)==35){p=m+1|0;if(p>>>0>=b>>>0|(h+-2|0)>>>0>34){h=0;break}l=i[p>>0]|0;switch(l<<24>>24){case 43:case 45:{j=m+2|0;if((j|0)==(b|0)){h=0;break h}else o=l<<24>>24==45&1;break}default:{j=p;o=0}}j:do if(j>>>0>>0){m=0;n=0;while(1){l=i[j>>0]|0;switch(l<<24>>24){case 0:case 12:case 9:case 10:case 13:case 32:{l=m;h=n;break j}default:{}}if(l<<24>>24<0){l=m;h=n;break j}l=i[529873+(l&127)>>0]|0;if(!(l<<24>>24>-1&(l<<24>>24|0)<(h|0))){l=m;h=n;break j}if((n|0)>(2147483647/(h|0)|0|0))m=1;else if((n|0)==(2147483647/(h|0)|0|0)?(l<<24>>24|0)>((2147483647%(h|0)|0)<<24>>24|0):0){m=1;n=2147483647/(h|0)|0}else n=(l<<24>>24)+(ha(n,h)|0)|0;j=j+1|0;if(j>>>0>=b>>>0){l=m;h=n;break j}}}else{l=0;h=0}while(0);h=l<<24>>24==0?h:2147483647;if((j|0)==(p|0)){h=0;break}else{f=j;h=o<<24>>24==0?h:0-h|0}}else f=j;else f=j}while(0);if((q+1|0)==(f|0)){s=0;return s|0}if((h|0)>1e3){h=1;j=0}else{j=(h|0)<-1e3;c=(j?0:h)+c|0;h=r;j=j&1}}else{h=r;j=0}while(0);k[a>>2]=f;if(!(e|d)){s=0;return s|0}k:do if(!(h<<24>>24)){if(j<<24>>24){s=0;return s|0}if((c|0)>0){f=c;c=g;while(1){if((d|0)>214748363){d=2147483647;break k}d=d*10|0;if((e|0)>214748363){if((c|0)==1){d=2147483647;break k}g=(c|0)/10|0}else{e=e*10|0;g=c}c=f+-1|0;if((f|0)>1){f=c;c=g}else break}}l:do if((c|0)<0){f=e;while(1){e=(g|0)<214748364;f=e?f:(f|0)/10|0;if(!((d+9|0)>>>0>18|(f|0)!=0)){d=0;break}g=e?g*10|0:g;d=(d|0)/10|0;if((c|0)<-1)c=c+1|0;else{e=f;c=g;break l}}return d|0}else c=g;while(0);if(e)d=(V2a(e,c)|0)+d|0}else d=2147483647;while(0);s=s<<24>>24==0?d:0-d|0;return s|0}function SWa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0;g=k[a+8>>2]|0;h=k[a>>2]|0;a:do if(h>>>0>>0){f=h;while(1){switch(i[f>>0]|0){case 0:case 12:case 9:case 10:case 13:case 32:{f=h;break}case 37:{h=37;b:while(1){switch(h<<24>>24){case 10:case 13:break b;default:{}}f=f+1|0;if(f>>>0>=g>>>0)break;h=i[f>>0]|0}break}default:break a}f=f+1|0;h=f;if(f>>>0>=g>>>0)break a}}while(0);k[a>>2]=h;j=h;if(j>>>0>=g>>>0){a=0;return a|0}if(!(e<<24>>24)){e=g-h|0;c=c<<1>>>0>e>>>0?e:c<<1;if(!c){g=0;f=0}else{h=1;g=0;f=0;c:do{e=i[j+g>>0]|0;switch(e<<24>>24){case 0:case 9:case 10:case 12:case 13:case 32:break;default:{if(e<<24>>24<0)break c;e=i[529873+(e&127)>>0]|0;if((e&255)>15)break c;h=e<<24>>24|h<<4;if(h&256){i[b+f>>0]=h;h=1;f=f+1|0}}}g=g+1|0}while(g>>>0>>0);if((h|0)!=1){i[b+f>>0]=h<<4;f=f+1|0}}k[d>>2]=f;f=j+g|0}else{if((i[j>>0]|0)!=60){a=3;return a|0}if((j+1|0)>>>0>>0){c=c<<1>>>0>(g-(j+1)|0)>>>0?g-(j+1)|0:c<<1;if(!c){e=0;f=0}else{g=1;e=0;f=0;d:do{h=i[j+1+e>>0]|0;switch(h<<24>>24){case 0:case 9:case 10:case 12:case 13:case 32:break;default:{if(h<<24>>24<0)break d;h=i[529873+(h&127)>>0]|0;if((h&255)>15)break d;g=h<<24>>24|g<<4;if(g&256){i[b+f>>0]=g;g=1;f=f+1|0}}}e=e+1|0}while(e>>>0>>0);if((g|0)!=1){i[b+f>>0]=g<<4;f=f+1|0}}h=f;g=k[a+8>>2]|0;f=j+1+e|0}else{h=0;f=j+1|0}k[d>>2]=h;if(f>>>0>>0)if((i[f>>0]|0)!=62){a=3;return a|0}f=f+1|0}k[a>>2]=f;a=0;return a|0}function TWa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0,m=0;m=r;r=r+16|0;l=k[a+8>>2]|0;e=k[a>>2]|0;a:do if(e>>>0>>0){f=e;while(1){switch(i[f>>0]|0){case 0:case 12:case 9:case 10:case 13:case 32:break;case 37:{d=37;e=f;b:while(1){switch(d<<24>>24){case 10:case 13:break b;default:{}}e=e+1|0;if(e>>>0>=l>>>0)break;d=i[e>>0]|0}break}default:break a}f=e+1|0;e=f;if(f>>>0>=l>>>0)break a}}while(0);k[a>>2]=e;d=e;k[m>>2]=d;c:do if(d>>>0>>0){h=i[d>>0]|0;h=h<<24>>24==91?93:h<<24>>24==123?125:0;if(h<<24>>24){k[m>>2]=d+1;f=d+1|0;e=d+1|0}else f=d;d=f>>>0>>0;d:do if(!c){if(!(h<<24>>24)){if(!d){d=0;break c}d=e;e:do if(d>>>0>>0)while(1){switch(i[d>>0]|0){case 0:case 12:case 9:case 10:case 13:case 32:{d=e;break}case 37:{e=37;f:while(1){switch(e<<24>>24){case 10:case 13:break f;default:{}}d=d+1|0;if(d>>>0>=l>>>0)break;e=i[d>>0]|0}break}default:break e}d=d+1|0;e=d;if(d>>>0>=l>>>0)break e}while(0);k[m>>2]=e;d=e;if(d>>>0>=l>>>0){d=0;break c}if(!(i[d>>0]|0)){e=d;d=0;break}RWa(m,l,0)|0;l=k[m>>2]|0;e=l;d=(d|0)==(l|0)?-1:1;break c}if(d)d=0;else{d=0;break c}while(1){f=e;g:do if(f>>>0>>0)while(1){switch(i[f>>0]|0){case 0:case 12:case 9:case 10:case 13:case 32:break;case 37:{g=37;e=f;h:while(1){switch(g<<24>>24){case 10:case 13:break h;default:{}}e=e+1|0;if(e>>>0>=l>>>0)break;g=i[e>>0]|0}break}default:break g}f=e+1|0;e=f;if(f>>>0>=l>>>0)break g}while(0);k[m>>2]=e;f=e;if(f>>>0>=l>>>0)break c;if((i[f>>0]|0)==h<<24>>24){e=f;break d}RWa(m,l,0)|0;e=k[m>>2]|0;if((f|0)==(e|0)){d=-1;break c}d=d+1|0;if(e>>>0>=l>>>0)break c}}else{if(!(h<<24>>24)){if(!d){d=0;break c}d=e;i:do if(d>>>0>>0)while(1){switch(i[d>>0]|0){case 0:case 12:case 9:case 10:case 13:case 32:break;case 37:{f=37;e=d;j:while(1){switch(f<<24>>24){case 10:case 13:break j;default:{}}e=e+1|0;if(e>>>0>=l>>>0)break;f=i[e>>0]|0}break}default:break i}d=e+1|0;e=d;if(d>>>0>=l>>>0)break i}while(0);k[m>>2]=e;d=e;if(d>>>0>=l>>>0){d=0;break c}if(!(i[d>>0]|0)){e=d;d=0;break}if((b|0)<=0){d=0;break c}l=(RWa(m,l,0)|0)>>>16&65535;j[c>>1]=l;l=k[m>>2]|0;e=l;d=(d|0)==(l|0)?-1:1;break c}if(d)d=0;else{d=0;break c}while(1){f=e;k:do if(f>>>0>>0)while(1){switch(i[f>>0]|0){case 0:case 12:case 9:case 10:case 13:case 32:break;case 37:{g=37;e=f;l:while(1){switch(g<<24>>24){case 10:case 13:break l;default:{}}e=e+1|0;if(e>>>0>=l>>>0)break;g=i[e>>0]|0}break}default:break k}f=e+1|0;e=f;if(f>>>0>=l>>>0)break k}while(0);k[m>>2]=e;f=e;if(f>>>0>=l>>>0)break c;if((i[f>>0]|0)==h<<24>>24){e=f;break d}if((d|0)>=(b|0))break c;e=(RWa(m,l,0)|0)>>>16&65535;j[c+(d<<1)>>1]=e;e=k[m>>2]|0;if((f|0)==(e|0)){d=-1;break c}d=d+1|0;if(e>>>0>=l>>>0)break c}}while(0);e=e+1|0;k[m>>2]=e}else d=0;while(0);k[a>>2]=e;r=m;return d|0}function UWa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;g=k[a+8>>2]|0;f=k[a>>2]|0;a:do if(f>>>0>>0){e=f;while(1){switch(i[e>>0]|0){case 0:case 12:case 9:case 10:case 13:case 32:{e=f;break}case 37:{f=37;b:while(1){switch(f<<24>>24){case 10:case 13:break b;default:{}}e=e+1|0;if(e>>>0>=g>>>0)break;f=i[e>>0]|0}break}default:{e=f;break a}}e=e+1|0;f=e;if(e>>>0>=g>>>0){e=f;break a}}}else e=f;while(0);k[a>>2]=e;return VWa(a,g,b,c,d)|0}function VWa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,l=0,m=0;m=r;r=r+16|0;g=k[a>>2]|0;k[m>>2]=g;a:do if(g>>>0>>0){l=i[g>>0]|0;l=l<<24>>24==91?93:l<<24>>24==123?125:0;if(l<<24>>24){k[m>>2]=g+1;h=g+1|0;f=g+1|0}else{h=g;f=g}b:do if(!d){j=f;g=h;f=0;while(1){if(j>>>0>=b>>>0)break a;WWa(m,b);g=k[m>>2]|0;if(g>>>0>=b>>>0)break a;if((i[g>>0]|0)==l<<24>>24)break b;RWa(m,b,e)|0;j=k[m>>2]|0;h=j;if((g|0)==(j|0)){g=h;f=-1;break a}f=f+1|0;if(!(l<<24>>24)){g=h;break a}else g=h}}else{j=f;g=h;f=0;while(1){if(j>>>0>=b>>>0)break a;WWa(m,b);g=k[m>>2]|0;if(g>>>0>=b>>>0)break a;if((i[g>>0]|0)==l<<24>>24)break b;if((f|0)>=(c|0))break a;j=RWa(m,b,e)|0;k[d+(f<<2)>>2]=j;j=k[m>>2]|0;h=j;if((g|0)==(j|0)){g=h;f=-1;break a}f=f+1|0;if(!(l<<24>>24)){g=h;break a}else g=h}}while(0);g=g+1|0;k[m>>2]=g}else f=0;while(0);k[a>>2]=g;r=m;return f|0}function WWa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=k[a>>2]|0;a:do if(c>>>0>>0){e=c;while(1){switch(i[e>>0]|0){case 0:case 12:case 9:case 10:case 13:case 32:break;case 37:{d=37;c=e;b:while(1){switch(d<<24>>24){case 10:case 13:break b;default:{}}c=c+1|0;if(c>>>0>=b>>>0)break;d=i[c>>0]|0}break}default:break a}e=c+1|0;c=e;if(e>>>0>=b>>>0)break a}}while(0);k[a>>2]=c;return}function XWa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0;k[b+8>>2]=0;k[b>>2]=0;k[b+4>>2]=0;j=k[a+8>>2]|0;d=k[a>>2]|0;a:do if(d>>>0>>0){c=d;while(1){switch(i[c>>0]|0){case 0:case 12:case 9:case 10:case 13:case 32:{c=d;break}case 37:{d=37;b:while(1){switch(d<<24>>24){case 10:case 13:break b;default:{}}c=c+1|0;if(c>>>0>=j>>>0)break;d=i[c>>0]|0}break}default:break a}c=c+1|0;d=c;if(c>>>0>=j>>>0)break a}}while(0);k[a>>2]=d;c=d;if(c>>>0>=j>>>0)return;c:do switch(l[c>>0]|0){case 40:{k[b+8>>2]=2;k[b>>2]=d;d=0;d:while(1){f=c;e:while(1){c=f+1|0;f:do switch(i[f>>0]|0){case 40:{h=20;break e}case 41:{h=22;break e}case 92:{if((c|0)==(j|0)){c=j;h=23;break d}e=i[c>>0]|0;switch(e&255|0){case 41:case 40:case 92:case 102:case 98:case 116:case 114:case 110:{c=f+2|0;break f}default:{}}if(c>>>0>>0&(e&-8)<<24>>24==48){e=0;do{c=c+1|0;e=e+1|0;if(!(c>>>0>>0&e>>>0<3))break f}while((i[c>>0]&-8)<<24>>24==48)}break}default:{}}while(0);if(c>>>0>>0)f=c;else{h=23;break d}}if((h|0)==20)d=d+1|0;else if((h|0)==22){d=d+-1|0;if(!d){h=24;break}}if(c>>>0>=j>>>0){h=23;break}}if((h|0)==23){h=90;break c}else if((h|0)==24){k[b+4>>2]=c;break c}break}case 123:{k[b+8>>2]=3;k[b>>2]=d;g=0;g:while(1){e=i[c>>0]|0;switch(e&255|0){case 123:{c=d;f=g+1|0;e=0;break}case 125:{e=g+-1|0;if(!e){h=29;break g}else{c=d;f=e;e=0}break}case 40:{c=d;h:do if(c>>>0>>0){d=0;while(1){f=c;i:while(1){c=f+1|0;j:do switch(i[f>>0]|0){case 40:{h=40;break i}case 41:{h=42;break i}case 92:{if((c|0)==(j|0)){c=j;e=3;break h}e=i[c>>0]|0;switch(e&255|0){case 41:case 40:case 92:case 102:case 98:case 116:case 114:case 110:{c=f+2|0;break j}default:{}}if(c>>>0>>0&(e&-8)<<24>>24==48){e=0;do{c=c+1|0;e=e+1|0;if(!(c>>>0>>0&e>>>0<3))break j}while((i[c>>0]&-8)<<24>>24==48)}break}default:{}}while(0);if(c>>>0>>0)f=c;else{e=3;break h}}if((h|0)==40){h=0;d=d+1|0}else if((h|0)==42){h=0;d=d+-1|0;if(!d){e=0;break h}}if(c>>>0>=j>>>0){e=3;break}}}else e=3;while(0);f=g;break}case 60:{d=d+1|0;k:do if(d>>>0>>0){c=d;while(1){switch(i[c>>0]|0){case 0:case 12:case 9:case 10:case 13:case 32:{c=d;h=50;break}case 37:{d=37;l:while(1){switch(d<<24>>24){case 10:case 13:break l;default:{}}c=c+1|0;if(c>>>0>=j>>>0)break;d=i[c>>0]|0}h=50;break}default:c=d}if((h|0)==50){h=0;d=c+1|0;if(d>>>0>>0){c=d;continue}else c=d}d=c;if(d>>>0>=j>>>0)break k;e=i[d>>0]|0;if((e+-48&255)>=10)switch(e<<24>>24){case 65:case 66:case 67:case 68:case 69:case 70:case 97:case 98:case 99:case 100:case 101:case 102:break;default:break k}c=d+1|0;d=c;if(c>>>0>=j>>>0){c=d;break k}}}else c=d;while(0);if(c>>>0>>0)if((i[c>>0]|0)!=62){d=g;h=57;break g}c=c+1|0;f=g;e=0;break}case 37:{m:while(1){switch(e<<24>>24){case 10:case 13:break m;default:{}}c=c+1|0;if(c>>>0>=j>>>0)break;e=i[c>>0]|0}f=g;e=0;break}default:{c=d;f=g;e=0}}c=c+1|0;d=c;if(!((e|0)==0&c>>>0>>0)){c=d;d=f;break}else g=f}if((h|0)==29){c=c+1|0;d=0;e=0}else if((h|0)==57){c=c+1|0;e=3}if(!(d|e)){k[b+4>>2]=c;d=c;h=91}else h=90;break}case 91:{k[b+8>>2]=3;k[b>>2]=c;k[a>>2]=c+1;n:do if((c+1|0)>>>0>>0){e=c+1|0;c=c+1|0;while(1){switch(i[e>>0]|0){case 0:case 12:case 9:case 10:case 13:case 32:break;case 37:{d=37;c=e;o:while(1){switch(d<<24>>24){case 10:case 13:break o;default:{}}c=c+1|0;if(c>>>0>=j>>>0)break;d=i[c>>0]|0}break}default:break n}e=c+1|0;c=e;if(e>>>0>=j>>>0)break n}}else c=c+1|0;while(0);k[a>>2]=c;d=c;if(d>>>0>>0){e=1;p:while(1){if(k[a+12>>2]|0){h=90;break c}switch(i[d>>0]|0){case 91:{e=e+1|0;break}case 93:{if((e|0)<2){c=d;break p}else e=e+-1|0;break}default:{}}k[a>>2]=c;OWa(a);g=k[a+8>>2]|0;c=k[a>>2]|0;q:do if(c>>>0>>0){f=c;while(1){switch(i[f>>0]|0){case 0:case 12:case 9:case 10:case 13:case 32:break;case 37:{d=37;c=f;r:while(1){switch(d<<24>>24){case 10:case 13:break r;default:{}}c=c+1|0;if(c>>>0>=g>>>0)break;d=i[c>>0]|0}break}default:break q}f=c+1|0;c=f;if(f>>>0>=g>>>0)break q}}while(0);k[a>>2]=c;d=c;if(d>>>0>=j>>>0){h=90;break c}}k[b+4>>2]=c+1;c=c+1|0}else h=90;break}default:{k[b>>2]=c;k[b+8>>2]=(i[c>>0]|0)==47?4:1;OWa(a);c=k[a>>2]|0;if(!(k[a+12>>2]|0)){k[b+4>>2]=c;d=c;h=91}else h=90}}while(0);if((h|0)==90){d=k[b+4>>2]|0;h=91}if((h|0)==91)if(!d){k[b>>2]=0;k[b+8>>2]=0}k[a>>2]=c;return}function YWa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;h=r;r=r+32|0;k[d>>2]=-1;XWa(a,h+12|0);if((k[h+12+8>>2]|0)!=3){r=h;return}f=k[a>>2]|0;g=k[a+8>>2]|0;i=(k[h+12>>2]|0)+1|0;k[a>>2]=i;e=(k[h+12+4>>2]|0)+-1|0;k[a+8>>2]=e;a:do if(i>>>0>>0)b:do if(!b){e=0;while(1){XWa(a,h);if(!(k[h+8>>2]|0))break b;e=e+12|0;if((k[a>>2]|0)>>>0>=(k[a+8>>2]|0)>>>0)break a}}else{e=b;while(1){XWa(a,h);if(!(k[h+8>>2]|0))break b;if(e>>>0<(b+(c*12|0)|0)>>>0){k[e>>2]=k[h>>2];k[e+4>>2]=k[h+4>>2];k[e+8>>2]=k[h+8>>2]}e=e+12|0;if((k[a>>2]|0)>>>0>=(k[a+8>>2]|0)>>>0)break a}}while(0);else e=b;while(0);k[d>>2]=(e-b|0)/12|0;k[a>>2]=f;k[a+8>>2]=g;r=h;return}function ZWa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0;x=r;r=r+48|0;XWa(a,x+24|0);w=k[x+24+8>>2]|0;a:do if(w|0){e=k[x+24>>2]|0;k[x+20>>2]=e;h=k[x+24+4>>2]|0;g=k[b+8>>2]|0;if((g|0)==7){u=k[a>>2]|0;v=k[a+8>>2]|0;k[a>>2]=e+1;k[a+8>>2]=h+-1;XWa(a,x+36|0);k[a>>2]=u;k[a+8>>2]=v;if((k[x+36+8>>2]|0)==3){f=1;g=8;p=5}else{f=1;m=0;v=7;p=7}}else if((w|0)==3){f=d;p=5}else{f=1;m=0;v=g;p=7}if((p|0)==5){if(!d)break;k[x+20>>2]=e+1;if(f|0){e=e+1|0;m=1;h=h+-1|0;v=g;p=7}}b:do if((p|0)==7){u=h;t=m;c:while(1){s=(k[c+(t<<2)>>2]|0)+(k[b+16>>2]|0)|0;g=e;d:do if(g>>>0>>0)while(1){switch(i[g>>0]|0){case 0:case 12:case 9:case 10:case 13:case 32:break;case 37:{m=37;e=g;e:while(1){switch(m<<24>>24){case 10:case 13:break e;default:{}}e=e+1|0;if(e>>>0>=h>>>0)break;m=i[e>>0]|0}break}default:break d}g=e+1|0;e=g;if(g>>>0>=h>>>0)break d}while(0);k[x+20>>2]=e;g=e;f:do switch(v|0){case 1:{if((g+3|0)>>>0>>0)if((i[g>>0]|0)==116)if((i[g+1>>0]|0)==114)if((i[g+2>>0]|0)==117)if((i[g+3>>0]|0)==101){g=g+5|0;e=1}else p=22;else p=22;else p=22;else p=22;else p=22;if((p|0)==22)if((g+4|0)>>>0>>0)if((i[g>>0]|0)==102)if((i[g+1>>0]|0)==97)if((i[g+2>>0]|0)==108)if((i[g+3>>0]|0)==115){g=(i[g+4>>0]|0)==101?g+6|0:g;e=0}else e=0;else e=0;else e=0;else e=0;else e=0;k[x+20>>2]=g;p=59;break}case 3:{e=RWa(x+20|0,h,0)|0;p=59;break}case 4:{e=RWa(x+20|0,h,3)|0;p=59;break}case 2:{if(g>>>0>>0){e=i[g>>0]|0;switch(e<<24>>24){case 43:case 45:{if((g+1|0)==(h|0)){e=0;p=59;break f}else{n=g+1|0;q=e<<24>>24==45&1}break}default:{n=g;q=0}}g:do if(n>>>0>>0){o=0;p=0;while(1){e=i[n>>0]|0;switch(e<<24>>24){case 0:case 12:case 9:case 10:case 13:case 32:{e=o;m=p;break g}default:{}}if(e<<24>>24<0){e=o;m=p;break g}m=i[529873+(e&127)>>0]|0;if(((e&127)+-48|0)>>>0>=10){e=o;m=p;break g}if((p|0)>214748364){e=1;m=p}else if((p|0)==214748364&m<<24>>24>7){e=1;m=214748364}else{e=o;m=(m<<24>>24)+(p*10|0)|0}n=n+1|0;if(n>>>0>>0){o=e;p=m}else break g}}else{e=0;m=0}while(0);e=e<<24>>24==0?m:2147483647;e=q<<24>>24==0?e:0-e|0;m=n;if((n|0)==(g|0)){e=0;p=59}else{if(n>>>0>>0)if((i[n>>0]|0)==35){q=n+1|0;if(q>>>0>=h>>>0|(e+-2|0)>>>0>34){e=0;p=59;break f}g=i[q>>0]|0;switch(g<<24>>24){case 43:case 45:{m=n+2|0;if((m|0)==(h|0)){e=0;p=59;break f}else p=g<<24>>24==45&1;break}default:{m=q;p=0}}h:do if(m>>>0>>0){n=0;o=0;while(1){g=i[m>>0]|0;switch(g<<24>>24){case 0:case 12:case 9:case 10:case 13:case 32:{e=o;break h}default:{}}if(g<<24>>24<0){e=o;break h}g=i[529873+(g&127)>>0]|0;if(!(g<<24>>24>-1&(g<<24>>24|0)<(e|0))){e=o;break h}do if((o|0)>(2147483647/(e|0)|0|0)){n=1;g=o}else{if((o|0)==(2147483647/(e|0)|0|0)?(g<<24>>24|0)>((2147483647%(e|0)|0)<<24>>24|0):0){n=1;g=2147483647/(e|0)|0;break}g=(g<<24>>24)+(ha(o,e)|0)|0}while(0);m=m+1|0;if(m>>>0>>0)o=g;else{e=g;break h}}}else{n=0;e=0}while(0);e=n<<24>>24==0?e:2147483647;if((m|0)==(q|0)){e=0;p=59;break f}else e=p<<24>>24==0?e:0-e|0}k[x+20>>2]=m;p=59}}else{e=0;p=59}break}case 6:case 5:{n=k[a+16>>2]|0;e=u-e|0;if(g>>>0>>0){switch(w|0){case 4:{k[x+20>>2]=g+1;o=g+1|0;m=e+-1|0;break}case 2:{k[x+20>>2]=g+1;o=g+1|0;m=e+-2|0;break}default:{p=68;break c}}e=k[s>>2]|0;if(e|0){YTa(n,e);k[s>>2]=0}g=UTa(n,m+1|0,x+16|0)|0;e=k[x+16>>2]|0;if(e|0){p=123;break c}ABb(g|0,o|0,m|0)|0;i[g+m>>0]=0;k[s>>2]=g}break}case 7:{k[x+36>>2]=g;if(g>>>0>=h>>>0){p=101;break c}o=i[g>>0]|0;o=o<<24>>24==91?93:o<<24>>24==123?125:0;i:do if(!(o<<24>>24)){if(g>>>0>=h>>>0){p=102;break c}g=e;j:do if(g>>>0>>0)while(1){switch(i[g>>0]|0){case 0:case 12:case 9:case 10:case 13:case 32:break;case 37:{m=37;e=g;k:while(1){switch(m<<24>>24){case 10:case 13:break k;default:{}}e=e+1|0;if(e>>>0>=h>>>0)break;m=i[e>>0]|0}break}default:break j}g=e+1|0;e=g;if(g>>>0>=h>>>0)break j}while(0);k[x+36>>2]=e;g=e;if(g>>>0>=h>>>0){p=102;break c}if(!(i[g>>0]|0)){e=g;g=0;p=100}else{p=99;break c}}else{k[x+36>>2]=g+1;if((g+1|0)>>>0>>0){e=g+1|0;g=0;while(1){m=e;l:do if(m>>>0>>0)while(1){switch(i[m>>0]|0){case 0:case 12:case 9:case 10:case 13:case 32:break;case 37:{n=37;e=m;m:while(1){switch(n<<24>>24){case 10:case 13:break m;default:{}}e=e+1|0;if(e>>>0>=h>>>0)break;n=i[e>>0]|0}break}default:break l}m=e+1|0;e=m;if(m>>>0>=h>>>0)break l}while(0);k[x+36>>2]=e;m=e;if(m>>>0>=h>>>0){p=103;break i}if((i[m>>0]|0)==o<<24>>24){e=m;p=100;break i}if((g|0)>=4)break;e=RWa(x+36|0,h,0)|0;k[x+(g<<2)>>2]=e;e=k[x+36>>2]|0;if((m|0)==(e|0)){p=101;break c}g=g+1|0;if(e>>>0>=h>>>0){p=103;break i}}k[x+20>>2]=e}else{e=g+1|0;g=0;p=103}}while(0);if((p|0)==100){e=e+1|0;k[x+36>>2]=e;p=103}if((p|0)==103){p=0;k[x+20>>2]=e;if((g|0)<4)break c}q=Q2a(k[x>>2]|0)|0;k[s>>2]=q;q=Q2a(k[x+4>>2]|0)|0;k[s+4>>2]=q;q=Q2a(k[x+8>>2]|0)|0;k[s+8>>2]=q;q=Q2a(k[x+12>>2]|0)|0;k[s+12>>2]=q;break}case 8:{m=k[a+16>>2]|0;n=WTa(m,4,0,d<<2,0,x+16|0)|0;e=k[x+16>>2]|0;if(e|0){p=123;break c}s=VWa(x+20|0,h,d,n,0)|0;if((s|0)<0|s>>>0>>0){p=108;break c}g=k[x+20>>2]|0;n:do if(g>>>0>>0){e=g;while(1){switch(i[e>>0]|0){case 0:case 12:case 9:case 10:case 13:case 32:{e=g;break}case 37:{g=37;o:while(1){switch(g<<24>>24){case 10:case 13:break o;default:{}}e=e+1|0;if(e>>>0>=h>>>0)break;g=i[e>>0]|0}break}default:{e=g;break n}}e=e+1|0;g=e;if(e>>>0>=h>>>0){e=g;break n}}}else e=g;while(0);k[x+20>>2]=e;s=VWa(x+20|0,h,d,n+(d<<2)|0,0)|0;if((s|0)<0|s>>>0>>0){p=108;break c}g=k[x+20>>2]|0;p:do if(g>>>0>>0){e=g;while(1){switch(i[e>>0]|0){case 0:case 12:case 9:case 10:case 13:case 32:{e=g;break}case 37:{g=37;q:while(1){switch(g<<24>>24){case 10:case 13:break q;default:{}}e=e+1|0;if(e>>>0>=h>>>0)break;g=i[e>>0]|0}break}default:{e=g;break p}}e=e+1|0;g=e;if(e>>>0>=h>>>0){e=g;break p}}}else e=g;while(0);k[x+20>>2]=e;s=VWa(x+20|0,h,d,n+(d<<1<<2)|0,0)|0;if((s|0)<0|s>>>0>>0){p=108;break c}g=k[x+20>>2]|0;r:do if(g>>>0>>0){e=g;while(1){switch(i[e>>0]|0){case 0:case 12:case 9:case 10:case 13:case 32:{e=g;break}case 37:{g=37;s:while(1){switch(g<<24>>24){case 10:case 13:break s;default:{}}e=e+1|0;if(e>>>0>=h>>>0)break;g=i[e>>0]|0}break}default:{e=g;break r}}e=e+1|0;g=e;if(e>>>0>=h>>>0){e=g;break r}}}else e=g;while(0);k[x+20>>2]=e;s=VWa(x+20|0,h,d,n+(d*3<<2)|0,0)|0;if((s|0)<0|s>>>0>>0){p=108;break c}g=k[x+20>>2]|0;t:do if(g>>>0>>0){e=g;while(1){switch(i[e>>0]|0){case 0:case 12:case 9:case 10:case 13:case 32:{e=g;break}case 37:{g=37;u:while(1){switch(g<<24>>24){case 10:case 13:break u;default:{}}e=e+1|0;if(e>>>0>=h>>>0)break;g=i[e>>0]|0}break}default:{e=g;break t}}e=e+1|0;g=e;if(e>>>0>=h>>>0){e=g;break t}}}else e=g;while(0);k[x+20>>2]=e;if(d|0){e=0;do{s=k[c+(e<<2)>>2]|0;q=Q2a(k[n+(e<<2)>>2]|0)|0;k[s>>2]=q;q=Q2a(k[n+(e+d<<2)>>2]|0)|0;k[s+4>>2]=q;q=Q2a(k[n+(e+(d<<1)<<2)>>2]|0)|0;k[s+8>>2]=q;q=Q2a(k[n+(e+(d*3|0)<<2)>>2]|0)|0;k[s+12>>2]=q;e=e+1|0}while((e|0)!=(d|0))}YTa(m,n);break}default:break a}while(0);v:do if((p|0)==59){p=0;switch(l[b+20>>0]|0){case 1:{i[s>>0]=e;break v}case 2:{j[s>>1]=e;break v}case 4:{k[s>>2]=e;break v}default:{k[s>>2]=e;break v}}}while(0);f=f+-1|0;if(!f)break b;e=k[x+20>>2]|0;t=t+1|0}if((p|0)==68){k[x+16>>2]=3;a=3;r=x;return a|0}else if((p|0)==99){e=RWa(x+36|0,h,0)|0;k[x>>2]=e;e=k[x+36>>2]|0;if((g|0)==(e|0))p=101;else p=102}else if((p|0)==108){k[x+16>>2]=3;a=3;r=x;return a|0}else if((p|0)==123){r=x;return e|0}if((p|0)==101)k[x+20>>2]=e;else if((p|0)==102)k[x+20>>2]=e;k[x+16>>2]=3;a=3;r=x;return a|0}while(0);k[x+16>>2]=0;a=0;r=x;return a|0}while(0);k[x+16>>2]=3;a=3;r=x;return a|0}function _Wa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,m=0;m=r;r=r+448|0;e=m;f=b;g=e+36|0;do{k[e>>2]=k[f>>2];e=e+4|0;f=f+4|0}while((e|0)<(g|0));k[m+8>>2]=2;switch(k[b+8>>2]|0){case 7:case 10:{k[m+8>>2]=3;break}default:{}}XWa(a,m+436|0);if((k[m+436+8>>2]|0)!=3){a=162;r=m;return a|0}h=k[a>>2]|0;j=k[a+8>>2]|0;f=(k[m+436>>2]|0)+1|0;k[a>>2]=f;g=(k[m+436+4>>2]|0)+-1|0;k[a+8>>2]=g;a:do if(f>>>0>>0){e=m+40|0;while(1){XWa(a,m+424|0);if(!(k[m+424+8>>2]|0))break;if(e>>>0<(m+40+384|0)>>>0){k[e>>2]=k[m+424>>2];k[e+4>>2]=k[m+424+4>>2];k[e+8>>2]=k[m+424+8>>2]}e=e+12|0;if((k[a>>2]|0)>>>0>=(k[a+8>>2]|0)>>>0)break a}}else e=m+40|0;while(0);e=e-(m+40)|0;k[a>>2]=h;k[a+8>>2]=j;if((e|0)<0){a=162;r=m;return a|0}f=k[b+24>>2]|0;f=((e|0)/12|0)>>>0>f>>>0?f:(e|0)/12|0;if((k[b+8>>2]|0)!=7){e=k[b+28>>2]|0;if(e|0)i[(k[c>>2]|0)+e>>0]=f}b:do if((f|0)>0){g=m+40|0;while(1){k[a>>2]=k[g>>2];k[a+8>>2]=k[g+4>>2];e=ZWa(a,m,c,d,0)|0;if(e|0)break b;k[m+16>>2]=(k[m+16>>2]|0)+(l[m+20>>0]|0);if((f|0)>1){f=f+-1|0;g=g+12|0}else{e=0;break}}}else e=0;while(0);k[a>>2]=h;k[a+8>>2]=j;a=e;r=m;return a|0}function $Wa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;k[a+64>>2]=0;i[a+68>>0]=1;k[a+4>>2]=b;k[a+8>>2]=d;k[a>>2]=k[b+100>>2];if(d|0){b=k[k[d+156>>2]>>2]|0;k[a+12>>2]=b;k[a+16>>2]=b+20;k[a+20>>2]=b+56;a3a(b);k[a+76>>2]=k[c+40>>2];k[a+72>>2]=0;if(e<<24>>24)k[a+72>>2]=k[(k[d+156>>2]|0)+36>>2]}k[a+24>>2]=0;k[a+24+4>>2]=0;k[a+24+8>>2]=0;k[a+24+12>>2]=0;k[a+24+16>>2]=0;k[a+24+20>>2]=0;k[a+80>>2]=k[13036];k[a+80+4>>2]=k[13037];k[a+80+8>>2]=k[13038];k[a+80+12>>2]=k[13039];k[a+80+16>>2]=k[13040];k[a+80+20>>2]=k[13041];k[a+80+24>>2]=k[13042];k[a+80+28>>2]=k[13043];return}function aXa(a){a=a|0;var b=0;b=k[a+8>>2]|0;if(!b)return;a=k[a+16>>2]|0;k[b+108>>2]=k[a>>2];k[b+108+4>>2]=k[a+4>>2];k[b+108+8>>2]=k[a+8>>2];k[b+108+12>>2]=k[a+12>>2];k[b+108+16>>2]=k[a+16>>2];return}function bXa(a,b){a=a|0;b=b|0;if(!b){b=0;return b|0}a=k[a+12>>2]|0;if(((j[a+22>>1]|0)+b+(j[a+58>>1]|0)|0)>>>0<=(k[a+4>>2]|0)>>>0){b=0;return b|0}b=d3a(a,b,0)|0;return b|0}function cXa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=k[a+20>>2]|0;if(!(i[a+68>>0]|0)){c=e+2|0;b=j[c>>1]|0;b=b+1<<16>>16;j[c>>1]=b;return}else{g=k[e+4>>2]|0;f=j[e+2>>1]|0;a=(k[e+8>>2]|0)+f|0;b=(Q2a(b)|0)>>16;k[g+(f<<3)>>2]=b;c=(Q2a(c)|0)>>16;k[g+(f<<3)+4>>2]=c;i[a>>0]=d<<24>>24?1:2;c=e+2|0;b=j[c>>1]|0;b=b+1<<16>>16;j[c>>1]=b;return}}function dXa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=k[a+12>>2]|0;if(((j[d+22>>1]|0)+1+(j[d+58>>1]|0)|0)>>>0>(k[d+4>>2]|0)>>>0){d=d3a(d,1,0)|0;if(d|0){c=d;return c|0}}d=k[a+20>>2]|0;if(!(i[a+68>>0]|0))d=d+2|0;else{f=k[d+4>>2]|0;e=j[d+2>>1]|0;a=(k[d+8>>2]|0)+e|0;b=(Q2a(b)|0)>>16;k[f+(e<<3)>>2]=b;c=(Q2a(c)|0)>>16;k[f+(e<<3)+4>>2]=c;i[a>>0]=1;d=d+2|0}j[d>>1]=(j[d>>1]|0)+1<<16>>16;f=0;return f|0}function eXa(a){a=a|0;var b=0;b=k[a+20>>2]|0;if(!b){b=3;return b|0}if(!(i[a+68>>0]|0)){j[b>>1]=(j[b>>1]|0)+1<<16>>16;b=0;return b|0}a=k[a+12>>2]|0;if(((j[a+20>>1]|0)+1+(j[a+56>>1]|0)|0)>>>0>(k[a+8>>2]|0)>>>0){a=d3a(a,0,1)|0;if(a|0){b=a;return b|0}}a=k[b>>2]|0;if((a&65535)<<16>>16>0){j[(k[b+12>>2]|0)+((a<<16>>16)+-1<<1)>>1]=(a>>>16)+65535;a=j[b>>1]|0}else a=a&65535;j[b>>1]=a+1<<16>>16;b=0;return b|0}function fXa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;if((k[a+64>>2]|0)==3){c=0;return c|0}k[a+64>>2]=3;e=k[a+20>>2]|0;if(!e){c=3;return c|0}if(!(i[a+68>>0]|0)){j[e>>1]=(j[e>>1]|0)+1<<16>>16;d=a+12|0}else{d=k[a+12>>2]|0;if(((j[d+20>>1]|0)+1+(j[d+56>>1]|0)|0)>>>0>(k[d+8>>2]|0)>>>0){d=d3a(d,0,1)|0;if(d|0){c=d;return c|0}}d=k[e>>2]|0;if((d&65535)<<16>>16>0){j[(k[e+12>>2]|0)+((d<<16>>16)+-1<<1)>>1]=(d>>>16)+65535;d=j[e>>1]|0}else d=d&65535;j[e>>1]=d+1<<16>>16;d=a+12|0}d=k[d>>2]|0;if(((j[d+22>>1]|0)+1+(j[d+58>>1]|0)|0)>>>0>(k[d+4>>2]|0)>>>0){d=d3a(d,1,0)|0;if(d|0){c=d;return c|0}}d=k[a+20>>2]|0;if(!(i[a+68>>0]|0))d=d+2|0;else{f=k[d+4>>2]|0;e=j[d+2>>1]|0;a=(k[d+8>>2]|0)+e|0;b=(Q2a(b)|0)>>16;k[f+(e<<3)>>2]=b;c=(Q2a(c)|0)>>16;k[f+(e<<3)+4>>2]=c;i[a>>0]=1;d=d+2|0}j[d>>1]=(j[d>>1]|0)+1<<16>>16;f=0;return f|0}function gXa(a){a=a|0;var b=0,c=0,d=0,e=0;c=k[a+20>>2]|0;if(!c)return;e=k[c>>2]|0;if((e&65535)<<16>>16<2)d=0;else d=(j[(k[c+12>>2]|0)+((e<<16>>16)+-2<<1)>>1]|0)+1|0;if((e>>>16&65535)<<16>>16>1){a=k[c+4>>2]|0;b=(k[c+8>>2]|0)+(e>>16)+-1|0;if((k[a+(d<<3)>>2]|0)==(k[a+(e>>16<<3)+-8>>2]|0))if((k[a+(d<<3)+4>>2]|0)==(k[a+(e>>16<<3)+-8+4>>2]|0))if((i[b>>0]|0)==1){j[c+2>>1]=(e>>>16&65535)+-1<<16>>16;a=(e>>>16&65535)+-1<<16>>16}else a=e>>>16&65535;else a=e>>>16&65535;else a=e>>>16&65535}else a=e>>>16&65535;if((e&65535)<<16>>16<=0)return;b=(a<<16>>16)+-1|0;if((d|0)==(b|0)){j[c>>1]=(e&65535)+-1<<16>>16;j[c+2>>1]=a+-1<<16>>16;return}else{j[(k[c+12>>2]|0)+((e<<16>>16)+-1<<1)>>1]=b;return}}function hXa(a,b,c,d,e,f,g,h,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var l=0;vBb(a|0,0,1500)|0;l=LSa(k[b+96>>2]|0,591657)|0;if(!l){d=7;return d|0}k[a+1348>>2]=l;k[a+64>>2]=0;i[a+68>>0]=1;k[a+4>>2]=b;k[a+8>>2]=d;k[a>>2]=k[b+100>>2];if(d|0){l=k[k[d+156>>2]>>2]|0;k[a+12>>2]=l;k[a+16>>2]=l+20;k[a+20>>2]=l+56;a3a(l);k[a+76>>2]=k[c+40>>2];k[a+72>>2]=0;if(g<<24>>24)k[a+72>>2]=k[(k[d+156>>2]|0)+36>>2]}k[a+24>>2]=0;k[a+24+4>>2]=0;k[a+24+8>>2]=0;k[a+24+12>>2]=0;k[a+24+16>>2]=0;k[a+24+20>>2]=0;k[a+80>>2]=k[13036];k[a+80+4>>2]=k[13037];k[a+80+8>>2]=k[13038];k[a+80+12>>2]=k[13039];k[a+80+16>>2]=k[13040];k[a+80+20>>2]=k[13041];k[a+80+24>>2]=k[13042];k[a+80+28>>2]=k[13043];k[a+1352>>2]=k[b+16>>2];k[a+1356>>2]=e;k[a+1468>>2]=h;k[a+1464>>2]=f;k[a+1472>>2]=j;k[a+1476>>2]=k[13044];k[a+1476+4>>2]=k[13045];k[a+1476+8>>2]=k[13046];d=0;return d|0}function iXa(a){a=a|0;var b=0;b=k[a+8>>2]|0;if(!b)return;a=k[a+16>>2]|0;k[b+108>>2]=k[a>>2];k[b+108+4>>2]=k[a+4>>2];k[b+108+8>>2]=k[a+8>>2];k[b+108+12>>2]=k[a+12>>2];k[b+108+16>>2]=k[a+16>>2];return}function jXa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=r;r=r+16|0;k[B+4>>2]=a;k[B>>2]=b;A=B^B+4^B+8;k[B+8>>2]=((A>>>10^A^A>>20)&65535|0)==0?29572:(A>>>10^A^A>>20)&65535;k[a+1136>>2]=a+112;k[a+1344>>2]=a+1140;k[a+64>>2]=0;A=k[a+72>>2]|0;d=k[a+1488>>2]|0;if(!d){e=b;d=b}else{e=k[a+1492>>2]|0;if(!e){e=b;d=b}else{vBb(d|0,0,e<<2|0)|0;d=k[B>>2]|0;e=d}}k[a+1144>>2]=e;b=d+c|0;k[a+1148>>2]=b;d=e;k[a+1140>>2]=d;e=k[a+24>>2]|0;c=k[a+28>>2]|0;if(A|0)Si[k[A+4>>2]&1023](k[A>>2]|0);if(d>>>0>=b>>>0){a=0;r=B;return a|0}g=0;f=0;s=e;h=0;u=e;y=a+1140|0;a:while(1){e=h;while(1){while(1){v=k[B+4>>2]|0;w=k[v+1136>>2]|0;n=d+1|0;h=i[d>>0]|0;b:do switch(h&255|0){case 1:{d=n;p=f;q=16;h=0;break}case 3:{d=n;p=f;q=18;h=0;break}case 4:{d=n;p=f;q=14;h=0;break}case 5:{d=n;p=f;q=9;h=0;break}case 6:{d=n;p=f;q=6;h=0;break}case 7:{d=n;p=f;q=13;h=0;break}case 8:{d=n;p=f;q=11;h=0;break}case 9:{d=n;p=f;q=5;h=0;break}case 10:{d=n;p=f;q=22;h=0;break}case 11:{d=n;p=f;q=24;h=0;break}case 13:{d=n;p=f;q=2;h=0;break}case 14:{d=n;p=f;q=1;h=0;break}case 15:{d=n;p=f;q=26;h=0;break}case 21:{d=n;p=f;q=10;h=0;break}case 22:{d=n;p=f;q=7;h=0;break}case 30:{d=n;p=f;q=12;h=0;break}case 31:{d=n;p=f;q=8;h=0;break}case 12:{if(n>>>0>b>>>0){d=160;z=257;break a}d=d+2|0;switch(l[n>>0]|0){case 0:{p=f;q=15;h=0;break b}case 1:{p=f;q=19;h=0;break b}case 2:{p=f;q=17;h=0;break b}case 6:{p=f;q=3;h=0;break b}case 7:{p=f;q=4;h=0;break b}case 12:{p=f;q=20;h=0;break b}case 16:{p=f;q=21;h=0;break b}case 17:{p=f;q=23;h=0;break b}case 33:{p=f;q=25;h=0;break b}default:{d=160;z=257;break a}}}case 255:{h=d+5|0;if(h>>>0>b>>>0){d=160;z=257;break a}n=l[d+2>>0]<<16|l[n>>0]<<24|l[d+3>>0]<<8|l[d+4>>0];o=f<<24>>24!=0;if((n+32e3|0)>>>0>64e3){d=h;p=o?f:1;q=0;h=n;break b}else{d=h;p=f;q=0;h=o?n:n<<16;break b}}default:{if((h&255)<=31){d=160;z=257;break a}do if((h&255)<247){d=n;h=(h&255)+-139|0}else{d=d+2|0;if(d>>>0>b>>>0){d=160;z=257;break a}if((h&255)<251){h=(l[n>>0]|((h&255)<<8)+-63232)+108|0;break}else{h=-108-(l[n>>0]|((h&255)<<8)+-64256)|0;break}}while(0);p=f;q=0;h=f<<24>>24==0?h<<16:h}}while(0);c:do if((e|0)>0){switch(q|0){case 23:case 0:case 24:case 22:break c;default:{}}e=0}while(0);x=(q|0)==0;f=(q|0)==20|(x|p<<24>>24==0)?p:0;if(!x){x=d;d=q;break}if((w-(v+112)|0)>1020){d=160;z=257;break a}k[w>>2]=h;k[v+1136>>2]=w+4;if(d>>>0>=b>>>0){d=0;z=257;break a}}if((d|0)!=21)break;if((w-(v+112)|0)<8){d=161;z=257;break a}q=k[w+-4>>2]>>16;e=k[w+-8>>2]>>16;if((e|0)>(w+-8-(v+112)>>2|0)){d=161;z=257;break a}t=w+-8+(0-e<<2)|0;do switch(q|0){case 0:{if((e|0)!=3){d=160;z=257;break a}if(!(k[v+1400>>2]|0)){d=160;z=257;break a}if((k[v+1404>>2]|0)!=7){d=160;z=257;break a}k[t>>2]=u;k[t+4>>2]=c;g=2;d=t;e=0;break}case 1:{if(e|0){d=160;z=257;break a}k[v+1400>>2]=1;k[v+1404>>2]=0;d=fXa(a,u,c)|0;if(d|0){z=257;break a}d=k[a+12>>2]|0;if(((j[d+22>>1]|0)+6+(j[d+58>>1]|0)|0)>>>0>(k[d+4>>2]|0)>>>0){d=d3a(d,6,0)|0;if(!d){g=0;d=t;e=0}else{z=257;break a}}else{g=0;d=t;e=0}break}case 2:{if(e|0){d=160;z=257;break a}if(!(k[v+1400>>2]|0)){d=160;z=257;break a}e=k[v+1404>>2]|0;k[v+1404>>2]=e+1;if((e+-1|0)>>>0<6){d=k[a+20>>2]|0;if(!(i[a+68>>0]|0))d=d+2|0;else{q=k[d+4>>2]|0;v=j[d+2>>1]|0;w=(k[d+8>>2]|0)+v|0;p=(Q2a(u)|0)>>16;k[q+(v<<3)>>2]=p;p=(Q2a(c)|0)>>16;k[q+(v<<3)+4>>2]=p;i[w>>0]=(e|0)==3|(e|0)==6?1:2;d=d+2|0}j[d>>1]=(j[d>>1]|0)+1<<16>>16;g=0;d=t;e=0}else{g=0;d=t;e=0}break}case 3:{if((e|0)!=1){d=160;z=257;break a}if(A|0){Di[k[A+20>>2]&511](k[A>>2]|0,j[(k[a+20>>2]|0)+2>>1]|0);g=1;d=t;e=0}else{g=1;d=t;e=0}break}case 13:case 12:{g=0;d=v+112|0;e=0;break}case 18:case 17:case 16:case 15:case 14:{p=k[v+1464>>2]|0;if(!p){d=160;z=257;break a}d=k[p>>2]|0;if((e|0)!=(ha(d,q+-13+((q|0)==18&1)|0)|0)){d=160;z=257;break a}if(!(q+-13+((q|0)==18&1)|0)){g=0;d=t;e=0}else{g=t+(q+-13+((q|0)==18&1)<<2)|0;n=0;o=t;while(1){e=k[o>>2]|0;if(d>>>0>1){d=g;h=1;while(1){g=d+4|0;e=(U2a(k[d>>2]|0,k[(k[p+136>>2]|0)+(h<<2)>>2]|0)|0)+e|0;h=h+1|0;d=k[p>>2]|0;if(h>>>0>=d>>>0)break;else d=g}}k[o>>2]=e;n=n+1|0;if((n|0)==(q+-13+((q|0)==18&1)|0)){g=q+-13+((q|0)==18&1)|0;d=t;e=0;break}else o=o+4|0}}break}case 19:{g=k[v+1464>>2]|0;if((e|0)!=1|(g|0)==0){d=160;z=257;break a}d=k[t>>2]>>16;if((d|0)<0){d=160;z=257;break a}e=k[g>>2]|0;if((e+d|0)>>>0>(k[v+1492>>2]|0)>>>0){d=160;z=257;break a}ABb((k[v+1488>>2]|0)+(d<<2)|0,k[g+136>>2]|0,e<<2|0)|0;g=0;d=t;e=0;break}case 20:{if((e|0)!=2){d=160;z=257;break a}k[t>>2]=(k[t>>2]|0)+(k[t+4>>2]|0);g=1;d=t;e=0;break}case 21:{if((e|0)!=2){d=160;z=257;break a}k[t>>2]=(k[t>>2]|0)-(k[t+4>>2]|0);g=1;d=t;e=0;break}case 22:{if((e|0)!=2){d=160;z=257;break a}g=U2a(k[t>>2]|0,k[t+4>>2]|0)|0;k[t>>2]=g;g=1;d=t;e=0;break}case 23:{if((e|0)!=2){d=160;z=257;break a}d=k[t+4>>2]|0;if(!d){d=160;z=257;break a}g=V2a(k[t>>2]|0,d)|0;k[t>>2]=g;g=1;d=t;e=0;break}case 24:{if((e|0)!=2|(k[v+1464>>2]|0)==0){d=160;z=257;break a}d=k[t+4>>2]>>16;if((d|0)<0){d=160;z=257;break a}if(d>>>0>=(k[v+1492>>2]|0)>>>0){d=160;z=257;break a}k[(k[v+1488>>2]|0)+(d<<2)>>2]=k[t>>2];g=0;d=t;e=0;break}case 25:{if((e|0)!=1|(k[v+1464>>2]|0)==0){d=160;z=257;break a}d=k[t>>2]>>16;if((d|0)<0){d=160;z=257;break a}if(d>>>0>=(k[v+1492>>2]|0)>>>0){d=160;z=257;break a}k[t>>2]=k[(k[v+1488>>2]|0)+(d<<2)>>2];g=1;d=t;e=0;break}case 27:{if((e|0)!=4){d=160;z=257;break a}if((k[t+8>>2]|0)>(k[t+12>>2]|0)){k[t>>2]=k[t+4>>2];g=1;d=t;e=0}else{g=1;d=t;e=0}break}case 28:{if(e|0){d=160;z=257;break a}g=k[B+8>>2]|0;k[t>>2]=((g|0)>32767&1)+g;g=k[B+8>>2]|0;g=U2a(g,65536-g|0)|0;k[B+8>>2]=(g|0)==0?g+10355|0:g;g=1;d=t;e=0;break}default:if((e|q|0)>-1){g=0;d=t}else{d=160;z=257;break a}}while(0);k[(k[B+4>>2]|0)+1136>>2]=d+(g<<2);if(x>>>0>>0)d=x;else{d=0;z=257;break a}}t=k[52188+(d<<2)>>2]|0;if((w-(v+112)>>2|0)<(t|0)){d=161;z=257;break}d:do switch(d|0){case 1:{z=114;break a}case 3:{d=w+(0-t<<2)|0;z=131;break a}case 2:{k[a+64>>2]=1;k[a+32>>2]=(k[a+32>>2]|0)+(k[w+(0-t<<2)>>2]|0);k[a+40>>2]=k[w+(0-t<<2)+4>>2];k[a+44>>2]=0;c=(k[w+(0-t<<2)>>2]|0)+(k[a+24>>2]|0)|0;if(!(i[a+70>>0]|0)){d=x;s=c;o=w+(0-t<<2)|0;p=c;c=k[a+28>>2]|0;n=y}else{d=0;z=257;break a}break}case 4:{k[a+64>>2]=1;k[a+32>>2]=(k[a+32>>2]|0)+(k[w+(0-t<<2)>>2]|0);k[a+36>>2]=(k[a+36>>2]|0)+(k[w+(0-t<<2)+4>>2]|0);k[a+40>>2]=k[w+(0-t<<2)+8>>2];k[a+44>>2]=k[w+(0-t<<2)+12>>2];if(!(i[a+70>>0]|0)){d=x;o=w+(0-t<<2)|0;p=(k[w+(0-t<<2)>>2]|0)+(k[a+24>>2]|0)|0;c=(k[w+(0-t<<2)+4>>2]|0)+(k[a+28>>2]|0)|0;n=y}else{d=0;z=257;break a}break}case 5:{do if((k[a+64>>2]&-2|0)==2){n=k[a+20>>2]|0;if(n|0){o=k[n>>2]|0;if((o&65535)<<16>>16<2)p=0;else p=(j[(k[n+12>>2]|0)+((o<<16>>16)+-2<<1)>>1]|0)+1|0;if((o>>>16&65535)<<16>>16>1){d=k[n+4>>2]|0;h=(k[n+8>>2]|0)+(o>>16)+-1|0;if((k[d+(p<<3)>>2]|0)==(k[d+(o>>16<<3)+-8>>2]|0))if((k[d+(p<<3)+4>>2]|0)==(k[d+(o>>16<<3)+-8+4>>2]|0))if((i[h>>0]|0)==1){j[n+2>>1]=(o>>>16&65535)+-1<<16>>16;d=(o>>>16&65535)+-1<<16>>16}else d=o>>>16&65535;else d=o>>>16&65535;else d=o>>>16&65535}else d=o>>>16&65535;if((o&65535)<<16>>16>0){h=(d<<16>>16)+-1|0;if((p|0)==(h|0)){j[n>>1]=(o&65535)+-1<<16>>16;j[n+2>>1]=d+-1<<16>>16;break}else{j[(k[n+12>>2]|0)+((o<<16>>16)+-1<<1)>>1]=h;break}}}}while(0);k[a+64>>2]=1;d=x;o=w+(0-t<<2)|0;p=u;n=y;break}case 6:{d=fXa(a,u,c)|0;if(d|0){z=257;break a}h=(k[w+(0-t<<2)>>2]|0)+u|0;z=192;break}case 7:{h=(k[w+(0-t<<2)>>2]|0)+u|0;if(!(k[v+1400>>2]|0)){if(!(k[a+64>>2]|0)){d=160;z=257;break a}k[a+64>>2]=2;d=x;o=w+(0-t<<2)|0;p=h;n=y}else{d=x;o=w+(0-t<<2)|0;p=h;n=y}break}case 8:{d=fXa(a,u,c)|0;if(d|0){z=257;break a}d=k[a+12>>2]|0;if(((j[d+22>>1]|0)+3+(j[d+58>>1]|0)|0)>>>0>(k[d+4>>2]|0)>>>0){d=d3a(d,3,0)|0;if(d|0){z=257;break a}}n=(k[w+(0-t<<2)>>2]|0)+u|0;d=k[a+20>>2]|0;if(!(i[a+68>>0]|0)){h=d+2|0;o=0}else{v=k[d+4>>2]|0;o=j[d+2>>1]|0;h=(k[d+8>>2]|0)+o|0;u=(Q2a(n)|0)>>16;k[v+(o<<3)>>2]=u;u=(Q2a(c)|0)>>16;k[v+(o<<3)+4>>2]=u;i[h>>0]=2;h=d+2|0;o=i[a+68>>0]|0;d=k[a+20>>2]|0}j[h>>1]=(j[h>>1]|0)+1<<16>>16;p=(k[w+(0-t<<2)+4>>2]|0)+n|0;h=(k[w+(0-t<<2)+8>>2]|0)+c|0;if(!(o<<24>>24)){c=d+2|0;n=0}else{u=k[d+4>>2]|0;c=d+2|0;v=j[c>>1]|0;n=(k[d+8>>2]|0)+v|0;d=(Q2a(p)|0)>>16;k[u+(v<<3)>>2]=d;d=(Q2a(h)|0)>>16;k[u+(v<<3)+4>>2]=d;i[n>>0]=2;n=i[a+68>>0]|0;d=k[a+20>>2]|0}j[c>>1]=(j[c>>1]|0)+1<<16>>16;c=(k[w+(0-t<<2)+12>>2]|0)+h|0;if(!(n<<24>>24))d=d+2|0;else{q=k[d+4>>2]|0;v=d+2|0;u=j[v>>1]|0;d=(k[d+8>>2]|0)+u|0;o=(Q2a(p)|0)>>16;k[q+(u<<3)>>2]=o;o=(Q2a(c)|0)>>16;k[q+(u<<3)+4>>2]=o;i[d>>0]=1;d=v}j[d>>1]=(j[d>>1]|0)+1<<16>>16;d=x;o=w+(0-t<<2)|0;n=y;break}case 9:{d=fXa(a,u,c)|0;if(d|0){z=257;break a}h=(k[w+(0-t<<2)>>2]|0)+u|0;c=(k[w+(0-t<<2)+4>>2]|0)+c|0;z=192;break}case 10:{h=(k[w+(0-t<<2)>>2]|0)+u|0;c=(k[w+(0-t<<2)+4>>2]|0)+c|0;if(!(k[v+1400>>2]|0)){if(!(k[a+64>>2]|0)){d=160;z=257;break a}k[a+64>>2]=2;d=x;o=w+(0-t<<2)|0;p=h;n=y}else{d=x;o=w+(0-t<<2)|0;p=h;n=y}break}case 11:{d=fXa(a,u,c)|0;if(d|0){z=257;break a}d=k[a+12>>2]|0;if(((j[d+22>>1]|0)+3+(j[d+58>>1]|0)|0)>>>0>(k[d+4>>2]|0)>>>0){d=d3a(d,3,0)|0;if(d|0){z=257;break a}}h=(k[w+(0-t<<2)>>2]|0)+u|0;n=(k[w+(0-t<<2)+4>>2]|0)+c|0;d=k[a+20>>2]|0;if(!(i[a+68>>0]|0)){c=d+2|0;o=0}else{v=k[d+4>>2]|0;o=j[d+2>>1]|0;c=(k[d+8>>2]|0)+o|0;u=(Q2a(h)|0)>>16;k[v+(o<<3)>>2]=u;u=(Q2a(n)|0)>>16;k[v+(o<<3)+4>>2]=u;i[c>>0]=2;c=d+2|0;o=i[a+68>>0]|0;d=k[a+20>>2]|0}j[c>>1]=(j[c>>1]|0)+1<<16>>16;h=(k[w+(0-t<<2)+8>>2]|0)+h|0;n=(k[w+(0-t<<2)+12>>2]|0)+n|0;if(!(o<<24>>24)){c=d+2|0;o=0}else{u=k[d+4>>2]|0;c=d+2|0;v=j[c>>1]|0;o=(k[d+8>>2]|0)+v|0;d=(Q2a(h)|0)>>16;k[u+(v<<3)>>2]=d;d=(Q2a(n)|0)>>16;k[u+(v<<3)+4>>2]=d;i[o>>0]=2;o=i[a+68>>0]|0;d=k[a+20>>2]|0}j[c>>1]=(j[c>>1]|0)+1<<16>>16;h=(k[w+(0-t<<2)+16>>2]|0)+h|0;c=(k[w+(0-t<<2)+20>>2]|0)+n|0;if(!(o<<24>>24))d=d+2|0;else{q=k[d+4>>2]|0;v=d+2|0;u=j[v>>1]|0;d=(k[d+8>>2]|0)+u|0;p=(Q2a(h)|0)>>16;k[q+(u<<3)>>2]=p;p=(Q2a(c)|0)>>16;k[q+(u<<3)+4>>2]=p;i[d>>0]=1;d=v}j[d>>1]=(j[d>>1]|0)+1<<16>>16;d=x;o=w+(0-t<<2)|0;p=h;n=y;break}case 12:{d=fXa(a,u,c)|0;if(d|0){z=257;break a}d=k[a+12>>2]|0;if(((j[d+22>>1]|0)+3+(j[d+58>>1]|0)|0)>>>0>(k[d+4>>2]|0)>>>0){d=d3a(d,3,0)|0;if(d|0){z=257;break a}}h=(k[w+(0-t<<2)>>2]|0)+c|0;d=k[a+20>>2]|0;if(!(i[a+68>>0]|0)){c=d+2|0;n=0}else{v=k[d+4>>2]|0;n=j[d+2>>1]|0;c=(k[d+8>>2]|0)+n|0;q=(Q2a(u)|0)>>16;k[v+(n<<3)>>2]=q;q=(Q2a(h)|0)>>16;k[v+(n<<3)+4>>2]=q;i[c>>0]=2;c=d+2|0;n=i[a+68>>0]|0;d=k[a+20>>2]|0}j[c>>1]=(j[c>>1]|0)+1<<16>>16;o=(k[w+(0-t<<2)+4>>2]|0)+u|0;c=(k[w+(0-t<<2)+8>>2]|0)+h|0;if(!(n<<24>>24)){h=d+2|0;n=0}else{u=k[d+4>>2]|0;h=d+2|0;v=j[h>>1]|0;n=(k[d+8>>2]|0)+v|0;d=(Q2a(o)|0)>>16;k[u+(v<<3)>>2]=d;d=(Q2a(c)|0)>>16;k[u+(v<<3)+4>>2]=d;i[n>>0]=2;n=i[a+68>>0]|0;d=k[a+20>>2]|0}j[h>>1]=(j[h>>1]|0)+1<<16>>16;h=(k[w+(0-t<<2)+12>>2]|0)+o|0;if(!(n<<24>>24))d=d+2|0;else{q=k[d+4>>2]|0;v=d+2|0;u=j[v>>1]|0;d=(k[d+8>>2]|0)+u|0;p=(Q2a(h)|0)>>16;k[q+(u<<3)>>2]=p;p=(Q2a(c)|0)>>16;k[q+(u<<3)+4>>2]=p;i[d>>0]=1;d=v}j[d>>1]=(j[d>>1]|0)+1<<16>>16;d=x;o=w+(0-t<<2)|0;p=h;n=y;break}case 13:{d=fXa(a,u,c)|0;if(d|0){z=257;break a}h=u;c=(k[w+(0-t<<2)>>2]|0)+c|0;z=192;break}case 14:{c=(k[w+(0-t<<2)>>2]|0)+c|0;if(!(k[v+1400>>2]|0)){if(!(k[a+64>>2]|0)){d=160;z=257;break a}k[a+64>>2]=2;d=x;o=w+(0-t<<2)|0;p=u;n=y}else{d=x;o=w+(0-t<<2)|0;p=u;n=y}break}case 20:{d=V2a(k[w+(0-t<<2)>>2]|0,k[w+(0-t<<2)+4>>2]|0)|0;k[w+(0-t<<2)>>2]=d;d=x;f=0;o=w+(0-t<<2)+4|0;p=u;n=y;break}case 22:{o=k[w+(0-t<<2)>>2]>>16;if((o|0)<0){d=160;z=257;break a}if((o|0)>=(k[v+1364>>2]|0)){d=160;z=257;break a}if((y-(v+1140)|0)>180){d=160;z=257;break a}k[y>>2]=x;q=y+12|0;d=k[(k[(k[B+4>>2]|0)+1368>>2]|0)+(o<<2)>>2]|0;b=y+16|0;k[b>>2]=d;h=k[B+4>>2]|0;n=k[h+1372>>2]|0;if(!n){x=k[h+1360>>2]|0;d=d+((x|0)<0?0:x)|0;k[b>>2]=d;b=k[(k[(k[B+4>>2]|0)+1368>>2]|0)+(o+1<<2)>>2]|0;k[y+20>>2]=b}else{b=d+(k[n+(o<<2)>>2]|0)|0;k[y+20>>2]=b}k[q>>2]=d;if(!d){d=160;z=257;break a}k[(k[B+4>>2]|0)+1344>>2]=q;o=w+(0-t<<2)|0;p=u;n=q;break}case 23:{if((g|0)>0){d=x;g=g+-1|0;o=w+(0-t<<2)|0;p=u;n=y;break d}if(!e){d=160;z=257;break a}d=x;o=w+(0-t<<2)+4|0;e=e+-1|0;p=u;n=y;break}case 24:{if(y>>>0<=(v+1140|0)>>>0){d=160;z=257;break a}n=y+-12|0;d=k[n>>2]|0;b=k[y+-4>>2]|0;k[v+1344>>2]=n;o=w+(0-t<<2)|0;p=u;break}case 26:case 15:{d=x;o=w+(0-t<<2)|0;p=u;n=y;break}case 16:{if(A|0){kj[k[A+12>>2]&255](k[A>>2]|0,1,w+(0-t<<2)|0);d=x;o=w+(0-t<<2)|0;p=u;n=y}else{d=x;o=w+(0-t<<2)|0;p=u;n=y}break}case 17:{if(A|0){kj[k[A+16>>2]&255](k[A>>2]|0,1,w+(0-t<<2)|0);d=x;o=w+(0-t<<2)|0;p=u;n=y}else{d=x;o=w+(0-t<<2)|0;p=u;n=y}break}case 18:{if(A|0){k[w+(0-t<<2)>>2]=(k[w+(0-t<<2)>>2]|0)+s;kj[k[A+12>>2]&255](k[A>>2]|0,0,w+(0-t<<2)|0);d=x;o=w+(0-t<<2)|0;p=u;n=y}else{d=x;o=w+(0-t<<2)|0;p=u;n=y}break}case 19:{if(A|0){k[w+(0-t<<2)>>2]=(k[w+(0-t<<2)>>2]|0)+s;k[w+(0-t<<2)+8>>2]=(k[w+(0-t<<2)+8>>2]|0)+s;k[w+(0-t<<2)+16>>2]=(k[w+(0-t<<2)+16>>2]|0)+s;kj[k[A+16>>2]&255](k[A>>2]|0,0,w+(0-t<<2)|0);d=x;o=w+(0-t<<2)|0;p=u;n=y}else{d=x;o=w+(0-t<<2)|0;p=u;n=y}break}case 25:{p=k[w+(0-t<<2)>>2]|0;c=k[w+(0-t<<2)+4>>2]|0;k[v+1400>>2]=0;d=x;o=w+(0-t<<2)|0;n=y;break}default:{d=160;z=257;break a}}while(0);if((z|0)==192){z=0;d=k[a+12>>2]|0;if(((j[d+22>>1]|0)+1+(j[d+58>>1]|0)|0)>>>0>(k[d+4>>2]|0)>>>0){d=d3a(d,1,0)|0;if(d|0){z=257;break}}d=k[a+20>>2]|0;if(!(i[a+68>>0]|0))d=d+2|0;else{q=k[d+4>>2]|0;u=j[d+2>>1]|0;v=(k[d+8>>2]|0)+u|0;p=(Q2a(h)|0)>>16;k[q+(u<<3)>>2]=p;p=(Q2a(c)|0)>>16;k[q+(u<<3)+4>>2]=p;i[v>>0]=1;d=d+2|0}j[d>>1]=(j[d>>1]|0)+1<<16>>16;d=x;o=w+(0-t<<2)|0;p=h;n=y}k[(k[B+4>>2]|0)+1136>>2]=o;if(d>>>0>>0){h=e;u=p;y=n}else{d=0;z=257;break}}if((z|0)==114){b=k[a+20>>2]|0;do if(b|0){c=k[b>>2]|0;if((c&65535)<<16>>16<2)f=0;else f=(j[(k[b+12>>2]|0)+((c<<16>>16)+-2<<1)>>1]|0)+1|0;if((c>>>16&65535)<<16>>16>1){d=k[b+4>>2]|0;e=(k[b+8>>2]|0)+(c>>16)+-1|0;if((k[d+(f<<3)>>2]|0)==(k[d+(c>>16<<3)+-8>>2]|0))if((k[d+(f<<3)+4>>2]|0)==(k[d+(c>>16<<3)+-8+4>>2]|0))if((i[e>>0]|0)==1){j[b+2>>1]=(c>>>16&65535)+-1<<16>>16;d=(c>>>16&65535)+-1<<16>>16}else d=c>>>16&65535;else d=c>>>16&65535;else d=c>>>16&65535}else d=c>>>16&65535;if((c&65535)<<16>>16>0){e=(d<<16>>16)+-1|0;if((f|0)==(e|0)){j[b>>1]=(c&65535)+-1<<16>>16;j[b+2>>1]=d+-1<<16>>16;break}else{j[(k[b+12>>2]|0)+((c<<16>>16)+-1<<1)>>1]=e;break}}}while(0);if(A|0){if(gj[k[A+8>>2]&511](k[A>>2]|0,j[b+2>>1]|0)|0){a=160;r=B;return a|0}d=nj[k[A+24>>2]&127](k[A>>2]|0,k[a+20>>2]|0,k[a+76>>2]|0,k[(k[B+4>>2]|0)+1468>>2]|0)|0;if(d|0){a=d;r=B;return a|0}}g3a(k[a+12>>2]|0);a=0;r=B;return a|0}else if((z|0)==131){t=k[d>>2]|0;u=k[d+8>>2]|0;f=k[d+12>>2]>>16;g=k[d+16>>2]>>16;if(i[v+1496>>0]|0){a=160;r=B;return a|0}if(i[v+70>>0]|0){a=160;r=B;return a|0}s=(k[v+32>>2]|0)+(k[d+4>>2]|0)|0;d=(k[(k[(k[v+4>>2]|0)+128>>2]|0)+48>>2]|0)==0;e:do if(!(k[v+1356>>2]|0))if(d){a=160;r=B;return a|0}else q=v;else if(d){d=k[v+1348>>2]|0;f:do if(f>>>0>255)f=-1;else{d=Gi[k[d+20>>2]&2047](m[(k[d+24>>2]|0)+(f<<1)>>1]|0)|0;e=k[v+1352>>2]|0;if(!e)f=-1;else{b=k[v+1356>>2]|0;f=0;while(1){c=k[b+(f<<2)>>2]|0;if(c|0)if((i[c>>0]|0)==(i[d>>0]|0))if(!(Wmb(c,d)|0))break f;f=f+1|0;if(f>>>0>=e>>>0){f=-1;break}}}}while(0);d=k[v+1348>>2]|0;if(g>>>0>255){q=v;g=-1}else{d=Gi[k[d+20>>2]&2047](m[(k[d+24>>2]|0)+(g<<1)>>1]|0)|0;e=k[v+1352>>2]|0;if(!e){q=v;g=-1}else{b=k[v+1356>>2]|0;g=0;while(1){c=k[b+(g<<2)>>2]|0;if(c|0)if((i[c>>0]|0)==(i[d>>0]|0))if(!(Wmb(c,d)|0)){q=v;break e}g=g+1|0;if(g>>>0>=e>>>0){q=v;g=-1;break}}}}}else q=v;while(0);if((f|g|0)<0){a=160;r=B;return a|0}if(i[q+69>>0]|0){d=k[q+8>>2]|0;e=k[k[d+156>>2]>>2]|0;b=e3a(e,2)|0;if(b|0){a=b;r=B;return a|0}a=k[e+88>>2]|0;k[a>>2]=f;j[a+4>>1]=514;k[a+8>>2]=0;k[a+12>>2]=0;k[a+32>>2]=g;j[a+36>>1]=2;A=(Q2a(s-t|0)|0)>>16;k[a+40>>2]=A;A=(Q2a(u)|0)>>16;k[a+44>>2]=A;k[d+128>>2]=2;k[d+132>>2]=k[e+52>>2];k[d+72>>2]=1668246896;k[e+84>>2]=2;a=0;r=B;return a|0}f3a(k[q+12>>2]|0);i[v+1496>>0]=1;p=q+1472|0;d=gj[k[p>>2]&511](q,f)|0;i[v+1496>>0]=0;if(d|0){a=d;r=B;return a|0}b=k[v+32>>2]|0;c=k[v+32+4>>2]|0;f=q+40|0;h=k[f>>2]|0;n=k[f+4>>2]|0;k[v+32>>2]=0;k[q+36>>2]=0;o=q+24|0;k[o>>2]=s-t;e=q+28|0;k[e>>2]=u;i[v+1496>>0]=1;d=gj[k[p>>2]&511](q,g)|0;i[v+1496>>0]=0;if(d|0){a=d;r=B;return a|0}k[v+32>>2]=b;k[v+32+4>>2]=c;k[f>>2]=h;k[f+4>>2]=n;k[o>>2]=0;k[e>>2]=0;a=0;r=B;return a|0}else if((z|0)==257){r=B;return d|0}return 0}function kXa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;g=r;r=r+16|0;e=UTa(b,16,g)|0;f=k[g>>2]|0;if(f|0){a=f;r=g;return a|0}k[e+4>>2]=c;k[e>>2]=c;k[e+8>>2]=d;k[e+12>>2]=2;k[a>>2]=b;k[a+4>>2]=e;k[a+8>>2]=0;k[a+12>>2]=0;a=0;r=g;return a|0}function lXa(a){a=a|0;YTa(k[a>>2]|0,k[a+4>>2]|0);k[a+4>>2]=0;return}function mXa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ia=0,ja=0,ka=0;ca=k[a+3856>>2]|0;A=k[a+3872>>2]|0;ba=k[a+4256>>2]|0;s=k[a+6360>>2]|0;t=k[a+6376>>2]|0;u=k[a+6408>>2]|0;da=k[a+7544>>2]|0;ea=k[a+7824>>2]|0;fa=k[a+8320>>2]|0;ga=k[a+8760>>2]|0;_=k[a+8848>>2]|0;ia=k[a+9200>>2]|0;ja=k[a+9648>>2]|0;X=k[a+9688>>2]|0;while(1){q=k[ca+256+(ga<<2)>>2]|0;r=fa;fa=q+fa|0;vBb(a|0,0,256)|0;k[ca+52664+(ga<<8)>>2]=da;k[ca+51896+(ga<<8)>>2]=ia;h=fa-ea|0;h=(h|0)<(da|0)?h:da;d=da-h|0;if((h|0)>0){c=ea+~r-q|0;g=~da;g=(c|0)>(g|0)?c:g;c=h;f=ea;while(1){W=t+(k[s+(f<<2)>>2]<<2)|0;k[W>>2]=k[W>>2]&65535;if((c|0)>1){c=c+-1|0;f=f+1|0}else break}f=ea+1-g+((g|0)>-2?g:-2)|0}else f=ea;a:do if((fa|0)>(f|0)){p=ca+51576+(k[a+3056+(ga+1>>1<<2)>>2]<<2)|0;c=ia;do{g=c;while(1){o=XQa(ca+51556|0,k[p>>2]|0)|0;c=g+1|0;i[u+g>>0]=o;if(o>>>0<15){n=yRa(ca+51556|0,l[527282+o>>0]|0)|0;d=g+2|0;i[u+c>>0]=n;if(!o){i[u+d>>0]=n>>>8;c=g+3|0}else c=d;d=n<<((o|0)<2?-13:0)+((o|0)<12?21:0)}else d=0;d=(k[45752+(o<<2)>>2]|0)+d|0;g=(d|0)==0?2147483647:d>>>8&4095;if(g|0)break;k[a+((d&255)<<2)>>2]=(k[a+((d&255)<<2)>>2]|0)+1;n=f+1|0;W=t+(k[s+(f<<2)>>2]<<2)|0;k[W>>2]=k[W>>2]&65535|(d&255|0?0:(d^0-(d&1048576))>>21<<16);if((fa|0)>(n|0)){f=n;g=c}else{d=0;break a}}o=fa-f|0;o=(o|0)<(g|0)?o-g|0:0;h=o+g+h|0;if((o+g|0)>0){n=(f+(~r-q)|0)>(~g|0)?f+(~r-q)|0:~g;d=o+g|0;g=f;while(1){W=t+(k[s+(g<<2)>>2]<<2)|0;k[W>>2]=k[W>>2]&65535;if((d|0)>1){d=d+-1|0;g=g+1|0}else break}f=f+1-n+((n|0)>-2?n:-2)|0}}while((fa|0)>(f|0));d=0-o|0;n=f}else{n=f;c=ia}while(0);g=(k[a+252>>2]|0)+h|0;k[a+252>>2]=g;f=62;while(1){W=a+(f<<2)|0;g=(k[W>>2]|0)+g|0;k[W>>2]=g;if((f|0)<=0){f=63;break}else f=f+-1|0}while(1){W=a+3064+(ga<<8)+(f<<2)|0;k[W>>2]=(k[W>>2]|0)-(k[a+(f<<2)>>2]|0);if((f|0)>0)f=f+-1|0;else break}ga=ga+1|0;if((ga|0)==3)break;else{da=d;ea=n;ia=c}}k[ca+53440>>2]=c;y=yRa(ca+51556|0,4)|0;k[a+3056>>2]=y;z=yRa(ca+51556|0,4)|0;k[a+3056+4>>2]=z;x=1;c=1;do{y=y+16|0;k[a+3056>>2]=y;z=z+16|0;k[a+3056+4>>2]=z;v=l[527297+x>>0]|0;if((c|0)<(v|0)){w=c+1|0;f=k[ca+53440>>2]|0;do{u=k[ca+53432>>2]|0;t=64-c|0;if((t|0)>0){s=0;do{k[ca+52664+(s<<8)+(c<<2)>>2]=d;k[ca+51896+(s<<8)+(c<<2)>>2]=f;r=k[a+3064+(s<<8)+(c<<2)>>2]|0;vBb(a|0,0,256)|0;if(d>>>0>>0){q=ca+51576+(k[a+3056+(s+1>>1<<2)>>2]<<2)|0;g=d;p=d;d=0;n=f;while(1){h=d+g|0;o=XQa(ca+51556|0,k[q>>2]|0)|0;f=n+1|0;i[u+n>>0]=o;if(o>>>0<15){g=yRa(ca+51556|0,l[527282+o>>0]|0)|0;d=n+2|0;i[u+f>>0]=g;if(!o){i[u+d>>0]=g>>>8;f=n+3|0}else f=d;d=g<<((o|0)<2?-13:0)+((o|0)<12?21:0)}else d=0;g=(k[45752+(o<<2)>>2]|0)+d|0;d=(g|0)==0?2147483647:g>>>8&4095;if(!d){k[a+((g&255)<<2)>>2]=(k[a+((g&255)<<2)>>2]|0)+1;d=0;g=p+1|0}else g=p;p=d+g|0;if(p>>>0>=r>>>0)break;else{g=d;d=h;n=f}}o=k[a+252>>2]|0}else{o=0;h=0;g=0}n=r-g|0;h=h+o+n|0;k[a+252>>2]=h;g=62;while(1){W=a+(g<<2)|0;h=(k[W>>2]|0)+h|0;k[W>>2]=h;if((g|0)<=0){g=t;break}else g=g+-1|0}do{W=g;g=g+-1|0;V=a+3064+(s<<8)+(g+c<<2)|0;k[V>>2]=(k[V>>2]|0)-(k[a+(g<<2)>>2]|0)}while((W|0)>1);d=d-n|0;s=s+1|0}while((s|0)!=3)}else{s=0;do{k[ca+52664+(s<<8)+(c<<2)>>2]=d;k[ca+51896+(s<<8)+(c<<2)>>2]=f;r=k[a+3064+(s<<8)+(c<<2)>>2]|0;vBb(a|0,0,256)|0;if(d>>>0>>0){q=ca+51576+(k[a+3056+(s+1>>1<<2)>>2]<<2)|0;g=d;p=d;d=0;n=f;while(1){h=d+g|0;o=XQa(ca+51556|0,k[q>>2]|0)|0;f=n+1|0;i[u+n>>0]=o;if(o>>>0<15){g=yRa(ca+51556|0,l[527282+o>>0]|0)|0;d=n+2|0;i[u+f>>0]=g;if(!o){i[u+d>>0]=g>>>8;f=n+3|0}else f=d;d=g<<((o|0)<2?-13:0)+((o|0)<12?21:0)}else d=0;g=(k[45752+(o<<2)>>2]|0)+d|0;d=(g|0)==0?2147483647:g>>>8&4095;if(!d){k[a+((g&255)<<2)>>2]=(k[a+((g&255)<<2)>>2]|0)+1;d=0;g=p+1|0}else g=p;p=d+g|0;if(p>>>0>=r>>>0)break;else{g=d;d=h;n=f}}o=k[a+252>>2]|0}else{o=0;h=0;g=0}n=r-g|0;h=h+o+n|0;k[a+252>>2]=h;g=62;while(1){W=a+(g<<2)|0;h=(k[W>>2]|0)+h|0;k[W>>2]=h;if((g|0)<=0)break;else g=g+-1|0}d=d-n|0;s=s+1|0}while((s|0)!=3)}k[ca+53440>>2]=f;c=c+1|0}while((c|0)!=(v|0));c=(w|0)>(v|0)?w:v}x=x+1|0}while((x|0)!=5);T=k[ca+768>>2]|0;U=k[ca+768+4>>2]|0;d=xBb(l[ca+793>>0]|0,0,T|0,U|0)|0;d=DBb(d|0,L|0,k[ca+60>>2]|0)|0;c=L;V=k[ca+776>>2]|0;W=k[ca+776+4>>2]|0;U=EBb(V|0,W|0,T|0,U|0)|0;c=xBb(U|0,L|0,d|0,c|0)|0;d=L;k[ca+784>>2]=c;k[ca+784+4>>2]=d;W=xBb(V|0,W|0,1,0)|0;k[ca+776>>2]=W;k[ca+776+4>>2]=L;if(A|0){k[A>>2]=c;k[A+4>>2]=d}k[a+304+2740>>2]=4<<((k[ca+48>>2]|0)>>>1&1^1);ABb(a+304+1024|0,ca+51896|0,768)|0;ABb(a+304+1792|0,ca+52664|0,768)|0;U=k[ca+252>>2]|0;d=k[ca+216>>2]|0;k[a+304+2560>>2]=U;k[a+304+2572>>2]=U+(d<<2);W=k[ca+256>>2]|0;d=W-(k[ca+120>>2]|0)+d|0;k[a+304+2564>>2]=U+(W<<2);k[a+304+2576>>2]=U+(d<<2);V=k[ca+260>>2]|0;d=U+(V-(k[ca+152>>2]|0)+d<<2)|0;k[a+304+2568>>2]=U+(V+W<<2);k[a+304+2580>>2]=d;d=i[ca+794>>0]|0;if(d<<24>>24){c=0;do{W=l[ca+795+c>>0]|0;k[a+304+2608+(c<<3)>>2]=k[ca+800+(W*24|0)>>2];k[a+304+2608+(c<<3)+4>>2]=k[ca+800+(W*24|0)+4>>2];c=c+1|0}while((c|0)!=(d&255|0));c=0;do{W=l[ca+795+c>>0]|0;k[a+304+2632+(c<<3)>>2]=k[ca+800+(W*24|0)+8>>2];k[a+304+2632+(c<<3)+4>>2]=k[ca+800+(W*24|0)+12>>2];c=c+1|0}while((c|0)!=(d&255|0));c=0;do{W=l[ca+795+c>>0]|0;k[a+304+2656+(c<<3)>>2]=k[ca+800+(W*24|0)+16>>2];k[a+304+2656+(c<<3)+4>>2]=k[ca+800+(W*24|0)+20>>2];c=c+1|0}while((c|0)!=(d&255|0))}V=a+304+2704|0;W=V+36|0;do{k[V>>2]=0;V=V+4|0}while((V|0)<(W|0));f=(uRa(ba,a+304|0)|0)==0&1;k[a+304+2744>>2]=f;f=k[ca+53444>>2]|0;d=k[ca+53960>>2]|0;b:do if((f|0)<1)if(!d)X=251;else{iqb(d);k[ca+53960>>2]=0;iqb(k[ca+53964>>2]|0);k[ca+53964>>2]=0;iqb(k[ca+53968>>2]|0);k[ca+53968>>2]=0;X=251}else{if(!d){if(i[ca+792>>0]|0){X=251;break}c=k[ca+216>>2]|0;d=hqb(c)|0;k[ca+53960>>2]=d;if(!d){X=251;break}vBb(d|0,i[ca+795>>0]|0,c|0)|0}else{g=k[ca+252>>2]|0;h=(k[ca+260>>2]|0)+(k[ca+256>>2]|0)+(k[ca+264>>2]|0)|0;n=i[ca+795>>0]|0;if((h|0)>0){c=0;do{i[d+(k[g+(c<<2)>>2]|0)>>0]=n;c=c+1|0}while((c|0)!=(h|0));f=k[ca+53444>>2]|0}}c=k[ca+53964>>2]|0;if((f|0)<2){if(!c){X=251;break}iqb(c);k[ca+53964>>2]=0;iqb(k[ca+53968>>2]|0);k[ca+53968>>2]=0;X=251;break}do if(!c){d=k[ca+4>>2]|0;e=k[ca+8>>2]|0;c=ha(e,d)|0;X=k[ca+48>>2]|0;c=hqb((ha(d>>>(X&1^1)<<1,e>>>(X>>>1&1^1))|0)+c|0)|0;k[ca+53968>>2]=c;X=hqb(k[ca+216>>2]<<2)|0;k[ca+53964>>2]=X;if((c|0)==0|(X|0)==0){iqb(c);k[ca+53968>>2]=0;iqb(k[ca+53964>>2]|0);k[ca+53964>>2]=0;X=251;break b}else{k[ca+53972>>2]=0;C=ca+53972|0;B=d;X=244;break}}else if((k[ca+53972>>2]|0)==(((f|0)>4?2:1)|0))b=f;else{C=ca+53972|0;B=k[ca+4>>2]|0;e=k[ca+8>>2]|0;X=244}while(0);if((X|0)==244){if((f|0)<5){k[ca+53976>>2]=B;k[ca+53980>>2]=e;b=0-B|0;k[ca+53984>>2]=b;b=(k[ca+53968>>2]|0)+(ha(1-e|0,b)|0)|0;k[ca+53988>>2]=b;b=f}else{b=ha(B,e)|0;T=k[ca+48>>2]|0;U=B>>>(T&1^1);T=e>>>(T>>>1&1^1);Z=ha(T,U)|0;k[ca+53976>>2]=B;k[ca+53980>>2]=e;k[ca+53984>>2]=B;Y=k[ca+53968>>2]|0;k[ca+53988>>2]=Y;k[ca+53992>>2]=U;k[ca+53996>>2]=T;k[ca+54e3>>2]=U;k[ca+54004>>2]=Y+b;k[ca+54008>>2]=U;k[ca+54012>>2]=T;k[ca+54016>>2]=U;k[ca+54020>>2]=Y+(Z+b);fRa(ca+53976|0,ca+53976|0);b=k[ca+53444>>2]|0}k[C>>2]=(b|0)>4?2:1}if((b|0)<5){Z=ca+288+((k[ca+280>>2]|0)*48|0)+16|0;k[ca+53992>>2]=k[Z>>2];k[ca+53992+4>>2]=k[Z+4>>2];k[ca+53992+8>>2]=k[Z+8>>2];k[ca+53992+12>>2]=k[Z+12>>2];k[ca+53992+16>>2]=k[Z+16>>2];k[ca+53992+20>>2]=k[Z+20>>2];k[ca+53992+24>>2]=k[Z+24>>2];k[ca+53992+28>>2]=k[Z+28>>2]}k[a+304+2748>>2]=k[ca+53444>>2];Y=a+304+2748|0;Z=ca+53964|0}while(0);if((X|0)==251){k[a+304+2748>>2]=0;V=ca+53976|0;ja=ca+288+((k[ca+280>>2]|0)*48|0)|0;W=V+48|0;do{k[V>>2]=k[ja>>2];V=V+4|0;ja=ja+4|0}while((V|0)<(W|0));Y=a+304+2748|0;Z=ca+53964|0}fRa(a+256|0,ca+53976|0);b=k[a+304+2740>>2]|0;T=0;U=0;while(1){R=k[ca+112>>2]|0;S=(b+U|0)<(R|0);Q=R;b=R;R=0;while(1){M=(R|0)!=0;if(M)c=(k[ca+48>>2]&2|0)==0;else c=0;O=c&1;u=U>>O;N=a+304+2680+(R<<2)|0;k[N>>2]=u;B=ca+108+(R<<5)+4|0;v=k[B>>2]|0;P=(k[a+304+2740>>2]>>O)+u|0;v=(P|0)<(v|0)?P:v;P=a+304+2692+(R<<2)|0;k[P>>2]=v;K=ca+108+(R<<5)|0;w=k[K>>2]|0;z=k[ca+204>>2]|0;if((v|0)>(u|0)){s=(k[ca+108+(R<<5)+8>>2]|0)+(ha(w,u)|0)|0;t=u;c=0;while(1){do if(!t)if((w|0)>0){f=s;g=0;while(1){d=z+(f<<2)|0;e=k[d>>2]|0;if(e&1){J=a+304+2704+(R*12|0)+((268505377>>>(e>>>6&28)&15)<<2)|0;I=(k[J>>2]<<16)+e|0;k[d>>2]=I;k[J>>2]=I>>16;c=c+1|0}g=g+1|0;if((g|0)==(w|0))break;else f=f+1|0}d=s+w|0}else d=s;else{d=k[z+(s-w<<2)>>2]|0;if(!(d&1))d=-1;else d=268505377>>>(d>>>6&28)&15;if((w|0)>0){q=s;r=0;g=-1;f=-1}else{d=s;break}while(1){r=r+1|0;do if((r|0)<(w|0)){e=k[z+(q+(1-w)<<2)>>2]|0;if(!(e&1)){p=-1;break}p=268505377>>>(e>>>6&28)&15}else p=-1;while(0);n=z+(q<<2)|0;o=k[n>>2]|0;if(!(o&1))e=-1;else{c:do switch(((f|0)==(268505377>>>(o>>>6&28)&15|0)&1)<<1|(g|0)==(268505377>>>(o>>>6&28)&15|0)|((d|0)==(268505377>>>(o>>>6&28)&15|0)&1)<<2|((p|0)==(268505377>>>(o>>>6&28)&15|0)&1)<<3|0){case 3:case 1:{e=k[z+(q+-1<<2)>>2]>>16;break}case 2:{e=k[z+(q+~w<<2)>>2]>>16;break}case 12:case 6:case 4:{e=k[z+(q-w<<2)>>2]>>16;break}case 5:{e=((k[z+(q-w<<2)>>2]>>16)+(k[z+(q+-1<<2)>>2]>>16)|0)/2|0;break}case 8:{e=k[z+(q+(1-w)<<2)>>2]>>16;break}case 13:case 11:case 9:{e=(((k[z+(q+(1-w)<<2)>>2]>>16)*53|0)+((k[z+(q+-1<<2)>>2]>>16)*75|0)|0)/128|0;break}case 10:{e=((k[z+(q+(1-w)<<2)>>2]>>16)+(k[z+(q+~w<<2)>>2]>>16)|0)/2|0;break}case 14:{e=((((k[z+(q+(1-w)<<2)>>2]>>16)+(k[z+(q+~w<<2)>>2]>>16)|0)*3|0)+((k[z+(q-w<<2)>>2]>>16)*10|0)|0)/16|0;break}case 15:case 7:{f=q+-1|0;e=k[z+(f<<2)>>2]>>16;f=k[z+(f-w<<2)>>2]>>16;g=k[z+(q-w<<2)>>2]>>16;h=(((g+e|0)*29|0)+(ha(f,-26)|0)|0)/32|0;if((((h-g|0)>-1?h-g|0:0-(h-g)|0)|0)>128){e=g;break c}if((((h-e|0)>-1?h-e|0:0-(h-e)|0)|0)>128)break c;e=(((h-f|0)>-1?h-f|0:0-(h-f)|0)|0)>128?f:h;break}default:e=k[a+304+2704+(R*12|0)+((268505377>>>(o>>>6&28)&15)<<2)>>2]|0}while(0);e=(e<<16)+o|0;k[n>>2]=e;k[a+304+2704+(R*12|0)+((268505377>>>(o>>>6&28)&15)<<2)>>2]=e>>16;e=268505377>>>(o>>>6&28)&15;c=c+1|0}if((r|0)==(w|0))break;else{f=d;q=q+1|0;g=e;d=p}}d=s+w|0}while(0);t=t+1|0;if((t|0)==(v|0))break;else s=d}z=k[ca+204>>2]|0;A=c}else A=0;k[a+304+2584+(R<<2)>>2]=A;c=(ha(v-u|0,w)|0)-A|0;x=a+304+2596+(R<<2)|0;k[x>>2]=c;v=k[ca+53432>>2]|0;w=k[ca+100>>2]|0;y=a+304+2560+(R<<2)|0;d=k[y>>2]|0;j[a>>1]=j[k[a+304+2608+(R*24|0)>>2]>>1]|0;j[a+2>>1]=j[k[a+304+2608+(R*24|0)+4>>2]>>1]|0;if((A|0)>0){t=0;do{n=k[d+(t<<2)>>2]|0;V=a+3064|0;W=V+128|0;do{j[V>>1]=0;V=V+2|0}while((V|0)<(W|0));o=z+(n<<2)|0;p=k[o>>2]|0;q=k[a+304+2608+(R*24|0)+((p>>>2&63)<<3)+(((p&1792|0)!=256&1)<<2)>>2]|0;u=0;while(1){r=a+304+1792+(R<<8)+(u<<2)|0;s=k[r>>2]|0;if(s|0){$=u;X=296;break}h=a+304+1024+(R<<8)+(u<<2)|0;f=k[h>>2]|0;c=i[v+f>>0]|0;e=k[45752+((c&255)<<2)>>2]|0;do if((c&255)<15){e=(l[v+(f+1)>>0]<<((c&255)<2?-13:0)+((c&255)<12?21:0))+e|0;if(c<<24>>24){g=e;e=e>>>8&4095;c=f+2|0;break}c=(l[v+(f+2)>>0]<<8)+(e>>>8&4095)|0;g=e;e=(c|0)==0?2147483647:c;c=f+3|0}else{g=e;e=e>>>8&4095;c=f+1|0}while(0);k[r>>2]=e;k[h>>2]=c;c=(g&255)+u|0;J=(ha(m[q+(c<<1)>>1]|0,(g^0-(g&1048576))>>21)|0)&65535;j[a+3064+(l[w+c>>0]<<1)>>1]=J;c=((e|0)==0&1)+c|0;if((c|0)<64)u=c;else{aa=u;break}}if((X|0)==296){X=0;k[r>>2]=s+-1;aa=$}j[a+3064>>1]=(k[o>>2]|0)>>>16;sRa(ba,n,R,a+3064|0,aa,j[a+(((p&1792|0)!=256&1)<<1)>>1]|0);t=t+1|0}while((t|0)!=(A|0));d=k[y>>2]|0;c=k[x>>2]|0}k[y>>2]=d+(A<<2);I=a+304+2572+(R<<2)|0;J=(k[I>>2]|0)+(0-c<<2)|0;k[I>>2]=J;tRa(ba,J,c,2,1,R);if(!(k[a+304+2744>>2]|0)){d=0;c=0}else{vRa(ba,a+304|0,_,R,(k[N>>2]|0)-T|0,(k[P>>2]|0)-(S&1)|0);d=S&1;c=T}qRa(ba,_,R,((k[N>>2]|0)-c<<3)-(c<<1)|0,((k[P>>2]|0)-d<<3)-(d<<1)|0);F=M?3:0;do if((k[Y>>2]|0)<(F+2|0)){if(k[a+304+2744>>2]|0){d=d+(S&1)|0;c=c+T|0}}else{c=c+T|0;d=d+(S&1)|0;o=(k[N>>2]|0)-c|0;w=(k[P>>2]|0)-d|0;x=k[K>>2]|0;G=ca+108+(R<<5)+8|0;p=(k[G>>2]|0)+(ha(x,o)|0)|0;q=k[Z>>2]|0;g=(k[ca+53960>>2]|0)+p|0;B=(k[B>>2]|0)>(w|0);vBb(q+(p+((o|0)>0?x:0)<<2)|0,0,ha(x<<2,w-o+(((o|0)>0)<<31>>31)+(B&1)|0)|0)|0;H=ca+53976+(R<<4)+8|0;D=k[H>>2]|0;C=k[ca+288+(_*48|0)+(R<<4)+8>>2]|0;J=ca+53976+(R<<4)+12|0;z=k[J>>2]|0;e=ha(D,((o|0)>0&1)<<2|o<<3)|0;A=k[ca+288+(_*48|0)+(R<<4)+12>>2]|0;f=ha(C,((o|0)>0&1)<<2|o<<3)|0;I=ca+53976+(R<<4)|0;E=k[I>>2]|0;if((((o|0)>0&1)<<2|o<<3|0)<4){h=z+e|0;f=A+f|0;e=((o|0)>0&1)<<2|o<<3;while(1){ABb(h|0,f|0,E|0)|0;e=e+1|0;if((e|0)==4)break;else{h=h+D|0;f=f+C|0}}y=C<<2;v=D<<2;h=z+(D<<2)|0;n=A+(C<<2)|0;f=4}else{y=f;v=e;h=z+e|0;n=A+f|0;f=((o|0)>0&1)<<2|o<<3}if((f|0)<(w-(B&1^1)<<3|0)){u=(w<<3)+-1-((B&1^1)<<3)-f&-8;t=ha(u+8|0,C)|0;e=q+(p<<2)|0;s=f;while(1){p=k[ca+53448+(l[g>>0]<<2)>>2]|0;wQa(h,D,n+(0-C)|0,C,p,p*3>>2,e,e+(x<<2)|0);p=e+4|0;o=g+1|0;if((E|0)>8){r=e;q=8;while(1){ka=k[ca+53448+(l[o>>0]<<2)>>2]|0;wQa(h+q|0,D,n+(q-C)|0,C,ka,ka*3>>2,p,r+(x+1<<2)|0);xQa(h+(-4-(D<<2)+q)|0,D,ka,ka*3>>2,r);q=q+8|0;if((q|0)>=(E|0))break;else{r=p;o=o+1|0;p=p+4|0}}g=g+(((E+-9|0)>>>3)+2)|0;e=e+(((E+-9|0)>>>3)+2<<2)|0}else{g=o;e=p}s=s+8|0;if((s|0)>=(w-(B&1^1)<<3|0))break;else{h=h+(D<<3)|0;n=n+(C<<3)|0}}h=z+((ha(u+8|0,D)|0)+v)|0;n=A+(t+y)|0;f=f+8+u|0}else e=q+(p<<2)|0;do if(!B){o=k[ca+53976+(R<<4)+4>>2]|0;if((o|0)>(f|0)){p=o-f|0;q=h;while(1){ABb(q|0,n|0,E|0)|0;f=f+1|0;if((f|0)==(o|0))break;else{q=q+D|0;n=n+C|0}}h=h+(ha(p,D)|0)|0}if((E|0)<=8)break;f=8;while(1){g=g+1|0;ka=k[ca+53448+(l[g>>0]<<2)>>2]|0;xQa(h+(-4-(D<<3)+f)|0,D,ka,ka*3>>2,e);f=f+8|0;if((f|0)>=(E|0))break;else e=e+4|0}}while(0);if((k[Y>>2]|0)<(F+3|0))break;c=c+T|0;g=(k[N>>2]|0)-c|0;C=k[K>>2]|0;f=(k[G>>2]|0)+(ha(C,g)|0)|0;A=(k[ca+53444>>2]|0)>=((M?7:4)|0);B=M?3840:1920;y=k[H>>2]|0;z=(k[P>>2]|0)-(d+(S&1))<<3;w=k[I>>2]|0;x=k[ca+53976+(R<<4)+4>>2]|0;if((g<<3|0)>=(z|0)){d=d+(S&1)|0;break}v=(k[J>>2]|0)+(ha(y,g<<3)|0)|0;e=(k[ca+204>>2]|0)+(f<<2)|0;f=(k[Z>>2]|0)+(f<<2)|0;g=g<<3;while(1){if((w|0)>0){u=(g|0)<1;g=g+8|0;r=e;s=f;t=0;while(1){o=l[((k[r>>2]|0)>>>2&63)+(ca+795)>>0]|0;h=k[s>>2]|0;p=(t|0)<1;n=t;t=t+8|0;q=(t|0)>=(w|0);d:do if(A&(h|0)>(B|0)){h=v+n|0;yQa(h,y,((g|0)>=(x|0)&1)<<3|(u&1)<<2|p&1|(q&1)<<1,k[ca+53448+(o<<2)>>2]|0,k[ca+53704+(o<<2)>>2]|0,1);do if(!M){if(!p)if((k[s+-4>>2]|0)>3840)break;if(!q)if((k[s+4>>2]|0)>3840)break;if(!u)if((k[s+(0-C<<2)>>2]|0)>3840)break;if((g|0)>=(x|0))break d;if((k[s+(C<<2)>>2]|0)<=3840)break d}while(0);yQa(h,y,((g|0)>=(x|0)&1)<<3|(u&1)<<2|p&1|(q&1)<<1,k[ca+53448+(o<<2)>>2]|0,k[ca+53704+(o<<2)>>2]|0,1);yQa(h,y,((g|0)>=(x|0)&1)<<3|(u&1)<<2|p&1|(q&1)<<1,k[ca+53448+(o<<2)>>2]|0,k[ca+53704+(o<<2)>>2]|0,1)}else{if((h|0)>1536){yQa(v+n|0,y,((g|0)>=(x|0)&1)<<3|(u&1)<<2|p&1|(q&1)<<1,k[ca+53448+(o<<2)>>2]|0,k[ca+53704+(o<<2)>>2]|0,1);break}if((h|0)<=384)break;yQa(v+n|0,y,((g|0)>=(x|0)&1)<<3|(u&1)<<2|p&1|(q&1)<<1,k[ca+53448+(o<<2)>>2]|0,k[ca+53704+(o<<2)>>2]|0,0)}while(0);if((t|0)>=(w|0))break;else{r=r+4|0;s=s+4|0}}e=e+(((w+-1|0)>>>3)+1<<2)|0;f=f+(((w+-1|0)>>>3)+1<<2)|0}else g=g+8|0;if((g|0)<(z|0))v=v+(y<<3)|0;else{d=d+(S&1)|0;break}}}while(0);c=(k[N>>2]|0)-c<>2]|0)-d<>2]|0){KQa(ba);ka=k[ca+112>>2]|0;vj[k[ca+54028>>2]&127](k[ca+54024>>2]|0,a+256|0,ka-b|0,ka-c|0)}c=k[a+304+2740>>2]|0;if(S){b=c;T=1;U=c+U|0}else break}rRa(ba,_,0);rRa(ba,_,1);rRa(ba,_,2);ka=(i[ca+792>>0]|0)==0;b=k[ca+280>>2]|0;k[ca+276>>2]=b;if(ka)k[ca+272>>2]=b;KQa(ba);ka=0;k[a+3904>>2]=ka;k[a+7544>>2]=da;k[a+7824>>2]=ea;k[a+8320>>2]=fa;k[a+8760>>2]=ga;k[a+9200>>2]=ia;k[a+9632>>2]=V;k[a+9648>>2]=ja;k[a+9656>>2]=W;k[a+9688>>2]=X}function nXa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;p=k[a+15840>>2]|0;h=k[a+15896>>2]|0;E=k[a+16472>>2]|0;z=k[a+16504>>2]|0;r=k[a+16656>>2]|0;A=k[a+17296>>2]|0;q=k[a+17792>>2]|0;m=k[a+18008>>2]|0;c=k[a+18472>>2]|0;b=k[a+18720>>2]|0;g=k[a+18856>>2]|0;C=k[a+19128>>2]|0;o=k[a+19136>>2]|0;v=k[a+19144>>2]|0;y=k[a+19152>>2]|0;w=k[a+19168>>2]|0;B=k[a+19176>>2]|0;x=k[a+19184>>2]|0;u=k[a+19336>>2]|0;F=k[a+19360>>2]|0;t=k[a+19400>>2]|0;e=k[a+19408>>2]|0;G=k[a+19416>>2]|0;D=k[a+19504>>2]|0;H=k[a+19520>>2]|0;s=k[a+19528>>2]|0;a:{if(H){H=0;switch(s|0){case 10:case 29:{if((B|0)>16){E=q;F=18;G=r;D=779;k[a+19536>>2]=2;k[a+19540>>2]=57;break a}d=B+1|0;if(e>>>0>d>>>0)b=d;else{k[p+4>>2]=130;b=0}c=r+(b<<4)|0;b=k[z+392>>2]|0;do if((b|0)==(z+8|0)){b=k[z+4>>2]|0;if(!b)b=0;else if(!(k[b>>2]|0)){k[b>>2]=161;b=0}else b=0}else{if((k[b+-4>>2]|0)==2){k[z+392>>2]=b+-8;b=k[b+-8>>2]|0;break}b=k[z+4>>2]|0;if(!b)b=0;else if(!(k[b>>2]|0)){k[b>>2]=160;b=0}else b=0}while(0);k[c>>2]=0;k[c+4>>2]=0;k[c+8>>2]=0;k[c+12>>2]=0;if((t|0)==29){b=(k[m+708>>2]|0)+b|0;if(b>>>0>=(k[m+700>>2]|0)>>>0){E=q;F=18;G=r;D=779;k[a+19536>>2]=2;k[a+19540>>2]=57;break a}C=k[m+716>>2]|0;B=k[C+(b<<2)>>2]|0;k[c+12>>2]=B;k[c+4>>2]=B;k[c+8>>2]=k[C+(b+1<<2)>>2];C=c;B=d;u=A;k[a+19536>>2]=4;k[a+19540>>2]=81;break a}else{b=(k[m+704>>2]|0)+b|0;if(b>>>0>=(k[m+696>>2]|0)>>>0){E=q;F=18;G=r;D=779;k[a+19536>>2]=2;k[a+19540>>2]=57;break a}C=k[m+712>>2]|0;B=k[C+(b<<2)>>2]|0;k[c+12>>2]=B;k[c+4>>2]=B;k[c+8>>2]=k[C+(b+1<<2)>>2];C=c;B=d;u=A;k[a+19536>>2]=4;k[a+19540>>2]=81;break a}}case 11:{if((B|0)<1){E=q;F=18;G=r;D=779;k[a+19536>>2]=2;k[a+19540>>2]=57;break a}c=B+-1|0;if(e>>>0>c>>>0)b=c;else{k[p+4>>2]=130;b=0}C=r+(b<<4)|0;B=c;u=A;k[a+19536>>2]=4;k[a+19540>>2]=81;break a}case 12:{if(c>>>0>=v>>>0){b=k[C>>2]|0;if(!b){k[a+19536>>2]=2;k[a+19540>>2]=55;break a}if(k[b>>2]|0){k[a+19536>>2]=2;k[a+19540>>2]=55;break a}k[b>>2]=85;k[a+19536>>2]=2;k[a+19540>>2]=55;break a}k[y>>2]=c+1;switch(l[c>>0]|0){case 37:{CVa(z,a+11908|0,a+11904|0,a+24|0,529406,1);x=B;w=C;u=A;B=x;C=w;k[a+19536>>2]=4;k[a+19540>>2]=81;break a}case 36:{CVa(z,a+11908|0,a+11904|0,a+24|0,529394,0);x=B;w=C;u=A;B=x;C=w;k[a+19536>>2]=4;k[a+19540>>2]=81;break a}case 35:{CVa(z,a+11908|0,a+11904|0,a+24|0,529382,0);k[a+19536>>2]=2;k[a+19540>>2]=55;break a}case 34:{CVa(z,a+11908|0,a+11904|0,a+24|0,529370,0);x=B;w=C;u=A;B=x;C=w;k[a+19536>>2]=4;k[a+19540>>2]=81;break a}default:{k[a+19536>>2]=2;k[a+19540>>2]=55;break a}}}case 19:case 20:{if((i[a+11808+4>>0]|0)==0?1:(k[z+392>>2]|0)-(z+8|0)>>3>>>0<2){sVa(p,z,a+11840|0,h,a+15812|0);if(i[(k[p+132>>2]|0)+561>>0]|0){E=q;F=0;G=r;D=779;k[a+19536>>2]=2;k[a+19540>>2]=57;break a}if((t|0)==19){b=(k[a+11840+20>>2]|0)+(k[a+11872+20>>2]|0)|0;if(b>>>0>96){b=k[a+11808>>2]|0;if(!b){k[a+19536>>2]=2;k[a+19540>>2]=55;break a}if(k[b>>2]|0){k[a+19536>>2]=2;k[a+19540>>2]=55;break a}k[b>>2]=18;k[a+19536>>2]=2;k[a+19540>>2]=55;break a}k[a+11808+8>>2]=b;k[a+11808+12>>2]=(b+7|0)>>>3;i[a+11808+4>>0]=1;i[a+11808+5>>0]=1;if((b|0)==0|((b+7|0)>>>3|0)==0){k[a+19536>>2]=2;k[a+19540>>2]=55;break a}d=0;do{b=k[y>>2]|0;if(b>>>0<(k[o>>2]|0)>>>0){k[y>>2]=b+1;b=l[b>>0]|0}else{b=k[C>>2]|0;if(!b)b=0;else if(!(k[b>>2]|0)){k[b>>2]=85;b=0}else b=0}i[a+11808+16+d>>0]=b;d=d+1|0}while(d>>>0<(k[a+11808+12>>2]|0)>>>0)}else{vBb(a+11944|0,0,3868)|0;i[a+11944+13>>0]=i[p+140>>0]|0;k[a+11944+16>>2]=b;k[a+11944>>2]=p;k[a+11944+4>>2]=a+24+7744|0;k[a+11944+8>>2]=a+24+11612|0;k[a+11916>>2]=0;k[a+11916+4>>2]=0;k[a+11916+8>>2]=0;k[a+11916+12>>2]=0;k[a+11916+16>>2]=0;k[a+11916+20>>2]=0;k[a+11916+24>>2]=0;k[a+11916>>2]=p+4;b=(k[a+11840+20>>2]|0)+(k[a+11872+20>>2]|0)|0;if(b>>>0>96){if(!(k[p+4>>2]|0))k[p+4>>2]=18}else{k[a+11916+8>>2]=b;k[a+11916+12>>2]=(b+7|0)>>>3;i[a+11916+4>>0]=1;i[a+11916+5>>0]=1;if(!((b|0)==0|((b+7|0)>>>3|0)==0)){c=0;do{b=k[y>>2]|0;do if(b>>>0<(k[o>>2]|0)>>>0){k[y>>2]=b+1;b=l[b>>0]|0}else{b=k[C>>2]|0;if(!b)b=0;else{if(k[b>>2]|0){b=0;break}k[b>>2]=85;b=0}}while(0);i[a+11916+16+c>>0]=b;c=c+1|0}while(c>>>0<(k[a+11916+12>>2]|0)>>>0)}}zVa(a+11944|0,a+11872|0,a+11840|0,a+11916|0,0,0);k[a+19536>>2]=2;k[a+19540>>2]=55;break a}}break}case 21:{e=k[z+392>>2]|0;if(!((i[a+15812>>0]|0)!=0|e-(z+8|0)>>3>>>0<3)){b:do if(!(e-(z+8|0)>>3)){b=k[z+4>>2]|0;if(!b)b=0;else if(!(k[b>>2]|0)){k[b>>2]=130;b=0}else b=0}else switch(k[z+12>>2]|0){case 2:{b=k[z+8>>2]<<16;break b}case 1:{b=k[z+8>>2]|0;if((b|0)<0){b=0-(8192-b>>14)|0;break b}else{b=b+8192>>14;break b}}default:{b=k[z+8>>2]|0;break b}}while(0);k[h>>2]=b+g}i[a+15812>>0]=1;if(i[(k[p+132>>2]|0)+561>>0]|0){E=q;F=0;G=r;D=779;k[a+19536>>2]=2;k[a+19540>>2]=57;break a}c:do if((e|0)==(z+8|0)){b=k[z+4>>2]|0;if(b|0)if(!(k[b>>2]|0))k[b>>2]=161;j=k[a+11904>>2]|0;D=355}else{k[z+392>>2]=e+-8;d:do switch(k[e+-4>>2]|0){case 2:{b=k[e+-8>>2]<<16;break}case 1:{b=k[e+-8>>2]|0;if((b|0)<0){b=0-(8192-b>>14)|0;break d}else{b=b+8192>>14;break d}}default:b=k[e+-8>>2]|0}while(0);d=(k[a+11904>>2]|0)+b|0;k[a+11904>>2]=d;if((e+-8|0)==(z+8|0)){j=d;D=355}else{k[z+392>>2]=e+-16;switch(k[e+-12>>2]|0){case 2:{f=k[e+-16>>2]<<16;n=d;break c}case 1:{b=k[e+-16>>2]|0;if((b|0)<0){f=0-(8192-b>>14)|0;n=d;break c}else{f=b+8192>>14;n=d;break c}}default:{f=k[e+-16>>2]|0;n=d;break c}}}}while(0);if((D|0)==355){D=0;b=k[z+4>>2]|0;if(!b){f=0;n=j}else if(!(k[b>>2]|0)){k[b>>2]=161;f=0;n=k[a+11904>>2]|0}else{f=0;n=j}}b=(k[a+11908>>2]|0)+f|0;k[a+11908>>2]=b;if(i[(a+24+11664|0)>>0]|0){i[(a+24+11665|0)>>0]=1;uVa(a+24|0,k[(a+24+11736|0)>>2]|0,k[(a+24+11740|0)>>2]|0);if(i[(a+24+11744|0)>>0]|0)xVa(a+24|0,a+24+8|0,a+24+11704|0,k[a+24+11712>>2]|0,k[a+24+11716>>2]|0,1);i[(a+24+11667|0)>>0]=1;i[(a+24+11664|0)>>0]=0;i[(a+24+11665|0)>>0]=0;i[(a+24+11744|0)>>0]=0}k[(a+24+11736|0)>>2]=b;k[a+24+11720>>2]=b;k[(a+24+11740|0)>>2]=n;k[a+24+11724>>2]=n;i[(a+24+11667|0)>>0]=1;b=k[a+24+11676>>2]|0;if(!(i[a+24+20>>0]|0))D=370;else if(i[b+5>>0]|0)D=370;if((D|0)==370){D=0;zVa(a+24+8|0,k[a+24+11668>>2]|0,k[a+24+11672>>2]|0,b,k[a+24+11680>>2]|0,0)}ABb(a+24+3876|0|0,a+24+8|0|0,3868)|0;break}case 22:{d=k[z+392>>2]|0;if(!((i[a+15812>>0]|0)!=0|d-(z+8|0)>>3>>>0<2)){e:do if(!(d-(z+8|0)>>3)){b=k[z+4>>2]|0;if(!b)b=0;else if(!(k[b>>2]|0)){k[b>>2]=130;b=0}else b=0}else switch(k[z+12>>2]|0){case 2:{b=k[z+8>>2]<<16;break e}case 1:{b=k[z+8>>2]|0;if((b|0)<0){b=0-(8192-b>>14)|0;break e}else{b=b+8192>>14;break e}}default:{b=k[z+8>>2]|0;break e}}while(0);k[h>>2]=b+g}i[a+15812>>0]=1;if(i[(k[p+132>>2]|0)+561>>0]|0){E=q;F=0;G=r;D=779;k[a+19536>>2]=2;k[a+19540>>2]=57;break a}f:do if((d|0)==(z+8|0)){b=k[z+4>>2]|0;if(!b)b=0;else if(!(k[b>>2]|0)){k[b>>2]=161;b=0}else b=0}else{k[z+392>>2]=d+-8;switch(k[d+-4>>2]|0){case 2:{b=k[d+-8>>2]<<16;break f}case 1:{b=k[d+-8>>2]|0;if((b|0)<0){b=0-(8192-b>>14)|0;break f}else{b=b+8192>>14;break f}}default:{b=k[d+-8>>2]|0;break f}}}while(0);b=(k[a+11908>>2]|0)+b|0;k[a+11908>>2]=b;d=k[a+11904>>2]|0;if(i[(a+24+11664|0)>>0]|0){i[(a+24+11665|0)>>0]=1;uVa(a+24|0,k[(a+24+11736|0)>>2]|0,k[(a+24+11740|0)>>2]|0);if(i[(a+24+11744|0)>>0]|0)xVa(a+24|0,a+24+8|0,a+24+11704|0,k[a+24+11712>>2]|0,k[a+24+11716>>2]|0,1);i[(a+24+11667|0)>>0]=1;i[(a+24+11664|0)>>0]=0;i[(a+24+11665|0)>>0]=0;i[(a+24+11744|0)>>0]=0}k[(a+24+11736|0)>>2]=b;k[a+24+11720>>2]=b;k[(a+24+11740|0)>>2]=d;k[a+24+11724>>2]=d;i[(a+24+11667|0)>>0]=1;b=k[a+24+11676>>2]|0;if(!(i[a+24+20>>0]|0))D=401;else if(i[b+5>>0]|0)D=401;if((D|0)==401){D=0;zVa(a+24+8|0,k[a+24+11668>>2]|0,k[a+24+11672>>2]|0,b,k[a+24+11680>>2]|0,0)}ABb(a+24+3876|0|0,a+24+8|0|0,3868)|0;break}default:H=1}}if(H){H=0;switch(s|0){case 25:{m=k[z+392>>2]|0;g:do if(m-(z+8|0)>>3>>>0>6){c=m;e=0;while(1){c=c-(z+8|0)>>3;h:do if(c>>>0>e>>>0){b=z+8+(e<<3)|0;switch(k[z+8+(e<<3)+4>>2]|0){case 2:{b=k[b>>2]<<16;break h}case 1:{b=k[b>>2]|0;if((b|0)<0){b=0-(8192-b>>14)|0;break h}else{b=b+8192>>14;break h}}default:{b=k[b>>2]|0;break h}}}else{b=k[z+4>>2]|0;if(!b)b=0;else if(!(k[b>>2]|0)){k[b>>2]=130;b=0}else b=0}while(0);d=(k[a+11908>>2]|0)+b|0;k[a+11908>>2]=d;b=e|1;i:do if(c>>>0>b>>>0)switch(k[z+8+(b<<3)+4>>2]|0){case 2:{c=k[z+8+(b<<3)>>2]<<16;b=d;break i}case 1:{b=k[z+8+(b<<3)>>2]|0;if((b|0)<0){c=0-(8192-b>>14)|0;b=d;break i}else{c=b+8192>>14;b=d;break i}}default:{c=k[z+8+(b<<3)>>2]|0;b=d;break i}}else{b=k[z+4>>2]|0;if(!b){c=0;b=d}else if(!(k[b>>2]|0)){k[b>>2]=130;c=0;b=k[a+11908>>2]|0}else{c=0;b=d}}while(0);y=(k[a+11904>>2]|0)+c|0;k[a+11904>>2]=y;uVa(a+24|0,b,y);b=e+2|0;if((e+8|0)>>>0>=m-(z+8|0)>>3>>>0)break g;c=k[z+392>>2]|0;e=b}}else b=0;while(0);if(b>>>0>3>>>0)do{j=(k[z+392>>2]|0)-(z+8|0)>>3;j:do if(j>>>0>b>>>0){c=z+8+(b<<3)|0;switch(k[z+8+(b<<3)+4>>2]|0){case 2:{c=k[c>>2]<<16;break j}case 1:{c=k[c>>2]|0;if((c|0)<0){c=0-(8192-c>>14)|0;break j}else{c=c+8192>>14;break j}}default:{c=k[c>>2]|0;break j}}}else{c=k[z+4>>2]|0;if(!c)c=0;else if(!(k[c>>2]|0)){k[c>>2]=130;c=0}else c=0}while(0);h=(k[a+11908>>2]|0)+c|0;c=b|1;k:do if(j>>>0>c>>>0)switch(k[z+8+(c<<3)+4>>2]|0){case 2:{c=k[z+8+(c<<3)>>2]<<16;break k}case 1:{c=k[z+8+(c<<3)>>2]|0;if((c|0)<0){c=0-(8192-c>>14)|0;break k}else{c=c+8192>>14;break k}}default:{c=k[z+8+(c<<3)>>2]|0;break k}}else{c=k[z+4>>2]|0;if(!c)c=0;else if(!(k[c>>2]|0)){k[c>>2]=130;c=0}else c=0}while(0);g=(k[a+11904>>2]|0)+c|0;c=b+2|0;l:do if(j>>>0>c>>>0)switch(k[z+8+(c<<3)+4>>2]|0){case 2:{c=k[z+8+(c<<3)>>2]<<16;break l}case 1:{c=k[z+8+(c<<3)>>2]|0;if((c|0)<0){c=0-(8192-c>>14)|0;break l}else{c=c+8192>>14;break l}}default:{c=k[z+8+(c<<3)>>2]|0;break l}}else{c=k[z+4>>2]|0;if(!c)c=0;else if(!(k[c>>2]|0)){k[c>>2]=130;c=0}else c=0}while(0);f=c+h|0;c=b+3|0;m:do if(j>>>0>c>>>0)switch(k[z+8+(c<<3)+4>>2]|0){case 2:{c=k[z+8+(c<<3)>>2]<<16;break m}case 1:{c=k[z+8+(c<<3)>>2]|0;if((c|0)<0){c=0-(8192-c>>14)|0;break m}else{c=c+8192>>14;break m}}default:{c=k[z+8+(c<<3)>>2]|0;break m}}else{c=k[z+4>>2]|0;if(!c)c=0;else if(!(k[c>>2]|0)){k[c>>2]=130;c=0}else c=0}while(0);e=c+g|0;c=b+4|0;n:do if(j>>>0>c>>>0)switch(k[z+8+(c<<3)+4>>2]|0){case 2:{c=k[z+8+(c<<3)>>2]<<16;break n}case 1:{c=k[z+8+(c<<3)>>2]|0;if((c|0)<0){c=0-(8192-c>>14)|0;break n}else{c=c+8192>>14;break n}}default:{c=k[z+8+(c<<3)>>2]|0;break n}}else{c=k[z+4>>2]|0;if(!c)c=0;else{if(k[c>>2]|0){c=0;break}k[c>>2]=130;c=0}}while(0);d=c+f|0;c=b+5|0;o:do if(j>>>0>c>>>0)switch(k[z+8+(c<<3)+4>>2]|0){case 2:{c=k[z+8+(c<<3)>>2]<<16;break o}case 1:{c=k[z+8+(c<<3)>>2]|0;if((c|0)<0){c=0-(8192-c>>14)|0;break o}else{c=c+8192>>14;break o}}default:{c=k[z+8+(c<<3)>>2]|0;break o}}else{c=k[z+4>>2]|0;if(!c){c=0;break}if(k[c>>2]|0){c=0;break}k[c>>2]=130;c=0}while(0);y=c+e|0;BVa(a+24|0,h,g,f,e,d,y);k[a+11908>>2]=d;k[a+11904>>2]=y;b=b+6|0}while(b>>>0>3>>>0);k[z+392>>2]=z+8;x=B;w=C;u=A;B=x;C=w;k[a+19536>>2]=4;k[a+19540>>2]=81;break a}case 26:{j=(k[z+392>>2]|0)-(z+8|0)>>3;if((j&-3)>>>0>(j-(j&-3)|0)>>>0){d=j-(j&-3)|0;do{if(!(j-d&1)){c=k[z+392>>2]|0;h=k[a+11908>>2]|0}else{c=k[z+392>>2]|0;p:do if(c-(z+8|0)>>3>>>0>d>>>0){b=z+8+(d<<3)|0;switch(k[z+8+(d<<3)+4>>2]|0){case 2:{b=k[b>>2]<<16;break p}case 1:{b=k[b>>2]|0;if((b|0)<0){b=0-(8192-b>>14)|0;break p}else{b=b+8192>>14;break p}}default:{b=k[b>>2]|0;break p}}}else{b=k[z+4>>2]|0;if(!b)b=0;else if(!(k[b>>2]|0)){k[b>>2]=130;b=0}else b=0}while(0);d=d+1|0;h=(k[a+11908>>2]|0)+b|0}g=c-(z+8|0)>>3;q:do if(g>>>0>d>>>0){b=z+8+(d<<3)|0;switch(k[z+8+(d<<3)+4>>2]|0){case 2:{b=k[b>>2]<<16;break q}case 1:{b=k[b>>2]|0;if((b|0)<0){b=0-(8192-b>>14)|0;break q}else{b=b+8192>>14;break q}}default:{b=k[b>>2]|0;break q}}}else{b=k[z+4>>2]|0;if(!b)b=0;else if(!(k[b>>2]|0)){k[b>>2]=130;b=0}else b=0}while(0);f=(k[a+11904>>2]|0)+b|0;b=d+1|0;r:do if(g>>>0>b>>>0)switch(k[z+8+(b<<3)+4>>2]|0){case 2:{b=k[z+8+(b<<3)>>2]<<16;break r}case 1:{b=k[z+8+(b<<3)>>2]|0;if((b|0)<0){b=0-(8192-b>>14)|0;break r}else{b=b+8192>>14;break r}}default:{b=k[z+8+(b<<3)>>2]|0;break r}}else{b=k[z+4>>2]|0;if(!b)b=0;else if(!(k[b>>2]|0)){k[b>>2]=130;b=0}else b=0}while(0);e=b+h|0;b=d+2|0;s:do if(g>>>0>b>>>0)switch(k[z+8+(b<<3)+4>>2]|0){case 2:{b=k[z+8+(b<<3)>>2]<<16;break s}case 1:{b=k[z+8+(b<<3)>>2]|0;if((b|0)<0){b=0-(8192-b>>14)|0;break s}else{b=b+8192>>14;break s}}default:{b=k[z+8+(b<<3)>>2]|0;break s}}else{b=k[z+4>>2]|0;if(!b)b=0;else if(!(k[b>>2]|0)){k[b>>2]=130;b=0}else b=0}while(0);c=b+f|0;b=d+3|0;t:do if(g>>>0>b>>>0)switch(k[z+8+(b<<3)+4>>2]|0){case 2:{b=k[z+8+(b<<3)>>2]<<16;break t}case 1:{b=k[z+8+(b<<3)>>2]|0;if((b|0)<0){b=0-(8192-b>>14)|0;break t}else{b=b+8192>>14;break t}}default:{b=k[z+8+(b<<3)>>2]|0;break t}}else{b=k[z+4>>2]|0;if(!b)b=0;else if(!(k[b>>2]|0)){k[b>>2]=130;b=0}else b=0}while(0);y=b+c|0;BVa(a+24|0,h,f,e,c,e,y);k[a+11908>>2]=e;k[a+11904>>2]=y;d=d+4|0}while((j&-3)>>>0>d>>>0)}k[z+392>>2]=z+8;x=B;w=C;u=A;B=x;C=w;k[a+19536>>2]=4;k[a+19540>>2]=81;break a}default:H=1}}if(H){H=0;switch(s|0){case 27:{j=(k[z+392>>2]|0)-(z+8|0)>>3;if((j&-3)>>>0>(j-(j&-3)|0)>>>0){d=j-(j&-3)|0;do{if(!(j-d&1)){c=k[z+392>>2]|0;h=k[a+11904>>2]|0}else{c=k[z+392>>2]|0;u:do if(c-(z+8|0)>>3>>>0>d>>>0){b=z+8+(d<<3)|0;switch(k[z+8+(d<<3)+4>>2]|0){case 2:{b=k[b>>2]<<16;break u}case 1:{b=k[b>>2]|0;if((b|0)<0){b=0-(8192-b>>14)|0;break u}else{b=b+8192>>14;break u}}default:{b=k[b>>2]|0;break u}}}else{b=k[z+4>>2]|0;if(!b)b=0;else if(!(k[b>>2]|0)){k[b>>2]=130;b=0}else b=0}while(0);d=d+1|0;h=(k[a+11904>>2]|0)+b|0}g=c-(z+8|0)>>3;v:do if(g>>>0>d>>>0){b=z+8+(d<<3)|0;switch(k[z+8+(d<<3)+4>>2]|0){case 2:{b=k[b>>2]<<16;break v}case 1:{b=k[b>>2]|0;if((b|0)<0){b=0-(8192-b>>14)|0;break v}else{b=b+8192>>14;break v}}default:{b=k[b>>2]|0;break v}}}else{b=k[z+4>>2]|0;if(!b)b=0;else if(!(k[b>>2]|0)){k[b>>2]=130;b=0}else b=0}while(0);f=(k[a+11908>>2]|0)+b|0;b=d+1|0;w:do if(g>>>0>b>>>0)switch(k[z+8+(b<<3)+4>>2]|0){case 2:{b=k[z+8+(b<<3)>>2]<<16;break w}case 1:{b=k[z+8+(b<<3)>>2]|0;if((b|0)<0){b=0-(8192-b>>14)|0;break w}else{b=b+8192>>14;break w}}default:{b=k[z+8+(b<<3)>>2]|0;break w}}else{b=k[z+4>>2]|0;if(!b)b=0;else if(!(k[b>>2]|0)){k[b>>2]=130;b=0}else b=0}while(0);e=b+f|0;b=d+2|0;x:do if(g>>>0>b>>>0)switch(k[z+8+(b<<3)+4>>2]|0){case 2:{b=k[z+8+(b<<3)>>2]<<16;break x}case 1:{b=k[z+8+(b<<3)>>2]|0;if((b|0)<0){b=0-(8192-b>>14)|0;break x}else{b=b+8192>>14;break x}}default:{b=k[z+8+(b<<3)>>2]|0;break x}}else{b=k[z+4>>2]|0;if(!b)b=0;else if(!(k[b>>2]|0)){k[b>>2]=130;b=0}else b=0}while(0);c=b+h|0;b=d+3|0;y:do if(g>>>0>b>>>0)switch(k[z+8+(b<<3)+4>>2]|0){case 2:{b=k[z+8+(b<<3)>>2]<<16;break y}case 1:{b=k[z+8+(b<<3)>>2]|0;if((b|0)<0){b=0-(8192-b>>14)|0;break y}else{b=b+8192>>14;break y}}default:{b=k[z+8+(b<<3)>>2]|0;break y}}else{b=k[z+4>>2]|0;if(!b)b=0;else if(!(k[b>>2]|0)){k[b>>2]=130;b=0}else b=0}while(0);y=b+e|0;BVa(a+24|0,f,h,e,c,y,c);k[a+11908>>2]=y;k[a+11904>>2]=c;d=d+4|0}while((j&-3)>>>0>d>>>0)}k[z+392>>2]=z+8;x=B;w=C;u=A;B=x;C=w;k[a+19536>>2]=4;k[a+19540>>2]=81;break a}case 31:case 30:{o=(k[z+392>>2]|0)-(z+8|0)>>3;if((o&-3)>>>0>(o-(o&-3)|0)>>>0){b=(t|0)==31&1;n=o-(o&-3)|0;do{if(!(b<<24>>24)){h=k[a+11908>>2]|0;c=(k[z+392>>2]|0)-(z+8|0)>>3;z:do if(c>>>0>n>>>0){b=z+8+(n<<3)|0;switch(k[z+8+(n<<3)+4>>2]|0){case 2:{b=k[b>>2]<<16;break z}case 1:{b=k[b>>2]|0;if((b|0)<0){b=0-(8192-b>>14)|0;break z}else{b=b+8192>>14;break z}}default:{b=k[b>>2]|0;break z}}}else{b=k[z+4>>2]|0;if(!b)b=0;else if(!(k[b>>2]|0)){k[b>>2]=130;b=0}else b=0}while(0);e=(k[a+11904>>2]|0)+b|0;j=n+1|0;A:do if(c>>>0>j>>>0)switch(k[z+8+(j<<3)+4>>2]|0){case 2:{b=k[z+8+(j<<3)>>2]<<16;break A}case 1:{b=k[z+8+(j<<3)>>2]|0;if((b|0)<0){b=0-(8192-b>>14)|0;break A}else{b=b+8192>>14;break A}}default:{b=k[z+8+(j<<3)>>2]|0;break A}}else{b=k[z+4>>2]|0;if(!b)b=0;else if(!(k[b>>2]|0)){k[b>>2]=130;b=0}else b=0}while(0);g=b+h|0;b=n+2|0;B:do if(c>>>0>b>>>0)switch(k[z+8+(b<<3)+4>>2]|0){case 2:{b=k[z+8+(b<<3)>>2]<<16;break B}case 1:{b=k[z+8+(b<<3)>>2]|0;if((b|0)<0){b=0-(8192-b>>14)|0;break B}else{b=b+8192>>14;break B}}default:{b=k[z+8+(b<<3)>>2]|0;break B}}else{b=k[z+4>>2]|0;if(!b)b=0;else if(!(k[b>>2]|0)){k[b>>2]=130;b=0}else b=0}while(0);m=b+e|0;b=n+3|0;C:do if(c>>>0>b>>>0)switch(k[z+8+(b<<3)+4>>2]|0){case 2:{b=k[z+8+(b<<3)>>2]<<16;break C}case 1:{b=k[z+8+(b<<3)>>2]|0;if((b|0)<0){b=0-(8192-b>>14)|0;break C}else{b=b+8192>>14;break C}}default:{b=k[z+8+(b<<3)>>2]|0;break C}}else{b=k[z+4>>2]|0;if(!b)b=0;else{if(k[b>>2]|0){b=0;break}k[b>>2]=130;b=0}}while(0);f=b+g|0;if(((o&-3)-n|0)==5){b=n+4|0;D:do if(c>>>0>b>>>0)switch(k[z+8+(b<<3)+4>>2]|0){case 2:{c=k[z+8+(b<<3)>>2]<<16;break D}case 1:{b=k[z+8+(b<<3)>>2]|0;if((b|0)<0){c=0-(8192-b>>14)|0;break D}else{c=b+8192>>14;break D}}default:{c=k[z+8+(b<<3)>>2]|0;break D}}else{b=k[z+4>>2]|0;if(!b){c=0;break}if(k[b>>2]|0){c=0;break}k[b>>2]=130;c=0}while(0);b=1;d=m;c=c+m|0}else{b=1;j=n;d=m;c=m}}else{d=(k[z+392>>2]|0)-(z+8|0)>>3;E:do if(d>>>0>n>>>0){b=z+8+(n<<3)|0;switch(k[z+8+(n<<3)+4>>2]|0){case 2:{b=k[b>>2]<<16;break E}case 1:{b=k[b>>2]|0;if((b|0)<0){b=0-(8192-b>>14)|0;break E}else{b=b+8192>>14;break E}}default:{b=k[b>>2]|0;break E}}}else{b=k[z+4>>2]|0;if(!b)b=0;else if(!(k[b>>2]|0)){k[b>>2]=130;b=0}else b=0}while(0);h=(k[a+11908>>2]|0)+b|0;e=k[a+11904>>2]|0;j=n+1|0;F:do if(d>>>0>j>>>0)switch(k[z+8+(j<<3)+4>>2]|0){case 2:{b=k[z+8+(j<<3)>>2]<<16;break F}case 1:{b=k[z+8+(j<<3)>>2]|0;if((b|0)<0){b=0-(8192-b>>14)|0;break F}else{b=b+8192>>14;break F}}default:{b=k[z+8+(j<<3)>>2]|0;break F}}else{b=k[z+4>>2]|0;if(!b)b=0;else if(!(k[b>>2]|0)){k[b>>2]=130;b=0}else b=0}while(0);f=b+h|0;b=n+2|0;G:do if(d>>>0>b>>>0)switch(k[z+8+(b<<3)+4>>2]|0){case 2:{b=k[z+8+(b<<3)>>2]<<16;break G}case 1:{b=k[z+8+(b<<3)>>2]|0;if((b|0)<0){b=0-(8192-b>>14)|0;break G}else{b=b+8192>>14;break G}}default:{b=k[z+8+(b<<3)>>2]|0;break G}}else{b=k[z+4>>2]|0;if(!b)b=0;else if(!(k[b>>2]|0)){k[b>>2]=130;b=0}else b=0}while(0);m=b+e|0;b=n+3|0;H:do if(d>>>0>b>>>0)switch(k[z+8+(b<<3)+4>>2]|0){case 2:{b=k[z+8+(b<<3)>>2]<<16;break H}case 1:{b=k[z+8+(b<<3)>>2]|0;if((b|0)<0){b=0-(8192-b>>14)|0;break H}else{b=b+8192>>14;break H}}default:{b=k[z+8+(b<<3)>>2]|0;break H}}else{b=k[z+4>>2]|0;if(!b)b=0;else{if(k[b>>2]|0){b=0;break}k[b>>2]=130;b=0}}while(0);c=b+m|0;if(((o&-3)-n|0)==5){b=n+4|0;I:do if(d>>>0>b>>>0)switch(k[z+8+(b<<3)+4>>2]|0){case 2:{d=k[z+8+(b<<3)>>2]<<16;break I}case 1:{b=k[z+8+(b<<3)>>2]|0;if((b|0)<0){d=0-(8192-b>>14)|0;break I}else{d=b+8192>>14;break I}}default:{d=k[z+8+(b<<3)>>2]|0;break I}}else{b=k[z+4>>2]|0;if(!b){d=0;break}if(k[b>>2]|0){d=0;break}k[b>>2]=130;d=0}while(0);b=0;g=f;f=d+f|0;d=m}else{b=0;j=n;g=f;d=m}}BVa(a+24|0,h,e,g,d,f,c);k[a+11908>>2]=f;k[a+11904>>2]=c;n=j+4|0}while((o&-3)>>>0>n>>>0)}k[z+392>>2]=z+8;x=B;w=C;u=A;B=x;C=w;k[a+19536>>2]=4;k[a+19540>>2]=81;break a}case 28:{if(c>>>0>>0){x=c+1|0;k[y>>2]=x;b=l[c>>0]|0;c=x}else{b=k[C>>2]|0;if(!b)b=0;else if(!(k[b>>2]|0)){k[b>>2]=85;b=0}else b=0}d=b<<8;if(c>>>0>>0){k[y>>2]=c+1;b=l[c>>0]|0}else{b=k[C>>2]|0;if(!b)b=0;else if(!(k[b>>2]|0)){k[b>>2]=85;b=0}else b=0}c=k[z+392>>2]|0;if((c|0)!=(z+392|0)){k[c>>2]=(b|d)<<16>>16;k[c+4>>2]=2;k[z+392>>2]=c+8;x=B;w=C;u=A;B=x;C=w;k[a+19536>>2]=4;k[a+19540>>2]=81;break a}b=k[z+4>>2]|0;if(!b){x=B;w=C;u=A;B=x;C=w;k[a+19536>>2]=4;k[a+19540>>2]=81;break a}if(k[b>>2]|0){x=B;w=C;u=A;B=x;C=w;k[a+19536>>2]=4;k[a+19540>>2]=81;break a}k[b>>2]=130;x=B;w=C;u=A;B=x;C=w;k[a+19536>>2]=4;k[a+19540>>2]=81;break a}default:H=1}}if(H){H=0;switch(s|0){default:{if(t>>>0<247){b=k[z+392>>2]|0;if((b|0)!=(z+392|0)){k[b>>2]=t+-139;k[b+4>>2]=2;k[z+392>>2]=b+8;x=B;w=C;u=A;B=x;C=w;k[a+19536>>2]=4;k[a+19540>>2]=81;break a}b=k[z+4>>2]|0;if(!b){x=B;w=C;u=A;B=x;C=w;k[a+19536>>2]=4;k[a+19540>>2]=81;break a}if(k[b>>2]|0){x=B;w=C;u=A;B=x;C=w;k[a+19536>>2]=4;k[a+19540>>2]=81;break a}k[b>>2]=130;x=B;w=C;u=A;B=x;C=w;k[a+19536>>2]=4;k[a+19540>>2]=81;break a}if(t>>>0<251){d=(t<<8)+-63232|0;if(c>>>0>>0){k[y>>2]=c+1;b=l[c>>0]|0}else{b=k[C>>2]|0;if(!b)b=0;else if(!(k[b>>2]|0)){k[b>>2]=85;b=0}else b=0}c=k[z+392>>2]|0;if((c|0)!=(z+392|0)){k[c>>2]=(b|d)+108;k[c+4>>2]=2;k[z+392>>2]=c+8;x=B;w=C;u=A;B=x;C=w;k[a+19536>>2]=4;k[a+19540>>2]=81;break a}b=k[z+4>>2]|0;if(!b){x=B;w=C;u=A;B=x;C=w;k[a+19536>>2]=4;k[a+19540>>2]=81;break a}if(k[b>>2]|0){x=B;w=C;u=A;B=x;C=w;k[a+19536>>2]=4;k[a+19540>>2]=81;break a}k[b>>2]=130;x=B;w=C;u=A;B=x;C=w;k[a+19536>>2]=4;k[a+19540>>2]=81;break a}if((t|0)!=255){d=(t<<8)+-64256|0;if(c>>>0>>0){k[y>>2]=c+1;b=l[c>>0]|0}else{b=k[C>>2]|0;if(!b)b=0;else if(!(k[b>>2]|0)){k[b>>2]=85;b=0}else b=0}c=k[z+392>>2]|0;if((c|0)!=(z+392|0)){k[c>>2]=-108-(b|d);k[c+4>>2]=2;k[z+392>>2]=c+8;x=B;w=C;u=A;B=x;C=w;k[a+19536>>2]=4;k[a+19540>>2]=81;break a}b=k[z+4>>2]|0;if(!b){x=B;w=C;u=A;B=x;C=w;k[a+19536>>2]=4;k[a+19540>>2]=81;break a}if(k[b>>2]|0){x=B;w=C;u=A;B=x;C=w;k[a+19536>>2]=4;k[a+19540>>2]=81;break a}k[b>>2]=130;x=B;w=C;u=A;B=x;C=w;k[a+19536>>2]=4;k[a+19540>>2]=81;break a}if(c>>>0>>0){x=c+1|0;k[y>>2]=x;b=l[c>>0]|0;c=x}else{b=k[C>>2]|0;if(!b)b=0;else if(!(k[b>>2]|0)){k[b>>2]=85;b=0}else b=0}d=b<<24;if(c>>>0>>0){x=c+1|0;k[y>>2]=x;b=l[c>>0]|0;c=x}else{b=k[C>>2]|0;if(!b)b=0;else if(!(k[b>>2]|0)){k[b>>2]=85;b=0}else b=0}d=b<<16|d;if(c>>>0>>0){x=c+1|0;k[y>>2]=x;b=l[c>>0]|0;c=x}else{b=k[C>>2]|0;if(!b)b=0;else if(!(k[b>>2]|0)){k[b>>2]=85;b=0}else b=0}d=d|b<<8;if(c>>>0>>0){k[y>>2]=c+1;b=l[c>>0]|0}else{b=k[C>>2]|0;if(!b)b=0;else if(!(k[b>>2]|0)){k[b>>2]=85;b=0}else b=0}c=k[z+392>>2]|0;if((c|0)!=(z+392|0)){k[c>>2]=d|b;k[c+4>>2]=0;k[z+392>>2]=c+8;x=B;w=C;u=A;B=x;C=w;k[a+19536>>2]=4;k[a+19540>>2]=81;break a}b=k[z+4>>2]|0;if(!b){x=B;w=C;u=A;B=x;C=w;k[a+19536>>2]=4;k[a+19540>>2]=81;break a}if(k[b>>2]|0){x=B;w=C;u=A;B=x;C=w;k[a+19536>>2]=4;k[a+19540>>2]=81;break a}k[b>>2]=130;x=B;w=C;u=A;B=x;C=w;k[a+19536>>2]=4;k[a+19540>>2]=81;break a}}}}k[a+16472>>2]=E;k[a+19128>>2]=C;k[a+19168>>2]=w;k[a+19176>>2]=B;k[a+19184>>2]=x;k[a+19336>>2]=u;k[a+19360>>2]=F;k[a+19416>>2]=G;k[a+19504>>2]=D;k[a+19520>>2]=H} +function ofa(a,b,c,d,e,f,g,h,i,j,l){a=a|0;b=+b;c=+c;d=+d;e=+e;f=+f;g=+g;h=+h;i=+i;j=+j;l=l|0;var m=0,n=0;n=r;r=r+48|0;do if((l|0)==-1){m=k[a+12>>2]|0;if((k[a+16>>2]|0)>=(m|0)){a=-1;r=n;return a|0}}else if((l|0)<-1){a=-1;r=n;return a|0}else{m=k[a+12>>2]|0;break}while(0);if((m|0)<=(l|0)){a=-1;r=n;return a|0}eva(n,b,c,d,e,f,g,h,i,j);m=k[a+8>>2]|0;m=Gi[k[(k[m>>2]|0)+48>>2]&2047](m)|0;if((l|0)==-1){pfa(a,m,n,k[a+16>>2]|0);l=k[a+16>>2]|0;k[a+16>>2]=l+1}else pfa(a,m,n,l);a=l;r=n;return a|0}function pfa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0.0,g=0.0,h=0.0,j=0.0,l=0.0,m=0.0,n=0.0,p=0.0,q=0,s=0,t=0;e=r;r=r+80|0;k[e>>2]=k[b>>2];k[e+4>>2]=k[b+4>>2];k[e+8>>2]=k[b+8>>2];k[e+12>>2]=k[b+12>>2];k[e+16>>2]=k[b+16>>2];k[e+20>>2]=k[b+20>>2];k[e+20+4>>2]=k[b+20+4>>2];k[e+20+8>>2]=k[b+20+8>>2];k[e+20+12>>2]=k[b+20+12>>2];k[e+20+16>>2]=k[b+20+16>>2];k[e+40>>2]=k[b+40>>2];k[e+40+4>>2]=k[b+40+4>>2];k[e+40+8>>2]=k[b+40+8>>2];k[e+40+12>>2]=k[b+40+12>>2];k[e+40+16>>2]=k[b+40+16>>2];k[e+60>>2]=k[b+60>>2];k[e+60+4>>2]=k[b+60+4>>2];k[e+60+8>>2]=k[b+60+8>>2];k[e+60+12>>2]=k[b+60+12>>2];k[e+60+16>>2]=k[b+60+16>>2];n=+o[c>>2];m=+o[c+12>>2];p=+o[c+24>>2];h=+o[c+4>>2];f=+o[c+16>>2];l=+o[c+28>>2];g=+o[e>>2];j=+o[e+4>>2];o[e>>2]=p+(n*g+m*j);o[e+4>>2]=l+(g*h+j*f);j=+o[e+20>>2];g=+o[e+24>>2];o[e+20>>2]=p+(n*j+m*g);o[e+24>>2]=l+(j*h+g*f);g=+o[e+40>>2];j=+o[e+44>>2];o[e+40>>2]=p+(n*g+m*j);o[e+44>>2]=l+(g*h+j*f);j=+o[e+60>>2];g=+o[e+64>>2];o[e+60>>2]=p+(n*j+m*g);o[e+64>>2]=l+(j*h+g*f);c=k[a+20>>2]|0;if(!c){b=a+24|0;a=k[b>>2]|0;U8(a);c=k[b>>2]|0;R8(c)|0;b=k[b>>2]|0;d=d*80|0;W8(b,d,80,e);V8(a);r=e;return}t=i[c>>0]|0;s=i[c+1>>0]|0;q=i[c+2>>0]|0;b=i[c+3>>0]|0;i[e+16>>0]=t;i[e+17>>0]=s;i[e+18>>0]=q;i[e+19>>0]=b;i[e+36>>0]=t;i[e+37>>0]=s;i[e+38>>0]=q;i[e+39>>0]=b;i[e+56>>0]=t;i[e+57>>0]=s;i[e+58>>0]=q;i[e+59>>0]=b;i[e+76>>0]=t;i[e+77>>0]=s;i[e+78>>0]=q;i[e+79>>0]=b;b=a+24|0;a=k[b>>2]|0;U8(a);c=k[b>>2]|0;R8(c)|0;b=k[b>>2]|0;d=d*80|0;W8(b,d,80,e);V8(a);r=e;return}function qfa(a,b,c,d,e,f,g,h,i,j,l,m){a=a|0;b=b|0;c=+c;d=+d;e=+e;f=+f;g=+g;h=+h;i=+i;j=+j;l=+l;m=m|0;var n=0,o=0,p=0;p=r;r=r+48|0;do if((m|0)==-1){n=k[a+16>>2]|0;if((n|0)<(k[a+12>>2]|0))o=a+16|0;else{a=-1;r=p;return a|0}}else if((m|0)<-1){a=-1;r=p;return a|0}else{o=a+16|0;n=k[a+16>>2]|0;break}while(0);if((n|0)<=(m|0)){a=-1;r=p;return a|0}eva(p,c,d,e,f,g,h,i,j,l);n=TC(b)|0;if((m|0)==-1){pfa(a,n,p,k[o>>2]|0);m=k[o>>2]|0;k[o>>2]=m+1}else pfa(a,n,p,m);a=m;r=p;return a|0}function rfa(a){a=a|0;k[a+16>>2]=0;return}function sfa(a){a=a|0;var b=0;b=k[a+24>>2]|0;U8(b);S8(k[a+24>>2]|0);V8(b);return}function tfa(a,b){a=a|0;b=b|0;var c=0;if(b|0)Si[k[(k[b>>2]|0)+8>>2]&1023](b);c=k[a+8>>2]|0;if(!c){k[a+8>>2]=b;return}Si[k[(k[c>>2]|0)+12>>2]&1023](c);k[a+8>>2]=b;return}function ufa(a){a=a|0;return k[a+8>>2]|0}function vfa(a,b){a=a|0;b=b|0;var c=0;c=k[a+20>>2]|0;if(!c){c=kBb(4)|0;b=l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24;i[c>>0]=b;i[c+1>>0]=b>>8;i[c+2>>0]=b>>16;i[c+3>>0]=b>>24;k[a+20>>2]=c;return}else{a=l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24;i[c>>0]=a;i[c+1>>0]=a>>8;i[c+2>>0]=a>>16;i[c+3>>0]=a>>24;return}}function wfa(a){a=a|0;var b=0;b=k[a+20>>2]|0;if(b|0)CAb(b);k[a+20>>2]=0;return}function xfa(a){a=a|0;return k[a+20>>2]|0}function yfa(a){a=a|0;return k[a+16>>2]|0}function zfa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=r;r=r+16|0;if((b|0)<1){a=xf(16)|0;os(a,436795,e);Jc(a|0,96,27)}if((k[a+12>>2]|0)==(b|0)){r=e;return}c=k[a+24>>2]|0;U8(c);f=R8(k[a+24>>2]|0)|0;V8(c);c=kBb(40)|0;g=k[a+24>>2]|0;Q8(c,b*80|0,0,k[g+12>>2]|0,k[g+16>>2]|0,k[g+36>>2]|0);U8(c);g=R8(c)|0;d=k[a+12>>2]|0;ABb(g|0,f|0,((d|0)<(b|0)?d:b)*80|0)|0;Y8(e+4|0,b);b9(a+28|0,e+4|0)|0;c9(e+4|0);V8(c);d=k[a+24>>2]|0;if(d|0)Si[k[(k[d>>2]|0)+4>>2]&1023](d);k[a+24>>2]=c;k[a+12>>2]=b;g=k[a+16>>2]|0;k[a+16>>2]=(g|0)>(b|0)?b:g;r=e;return}function Afa(a){a=a|0;return k[a+12>>2]|0}function Bfa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=r;r=r+16|0;e=tca(c)|0;if(e>>>0>2]<<2>>>0){c=xf(16)|0;k[f>>2]=k[a+12>>2]<<2;os(c,436821,f);Jc(c|0,96,27)}d=Cfa(a+32|0,b)|0;if(!d)d=0;else{d=k[d+20>>2]|0;if(!d)d=0;else Si[k[(k[d>>2]|0)+8>>2]&1023](d)}e=xca(c,b)|0;if((e|0)<0){c=xf(16)|0;k[f+8>>2]=(i[b>>0]&1)==0?b+1|0:k[b+8>>2]|0;os(c,436918,f+8|0);Jc(c|0,96,27)}if(c|0){Si[k[(k[c>>2]|0)+8>>2]&1023](c);Si[k[(k[c>>2]|0)+8>>2]&1023](c);Si[k[(k[c>>2]|0)+12>>2]&1023](c)}b=Dfa(a+32|0,b)|0;if(c|0)Si[k[(k[c>>2]|0)+8>>2]&1023](c);a=k[b>>2]|0;if(a|0)Si[k[(k[a>>2]|0)+12>>2]&1023](a);k[b>>2]=c;k[b+4>>2]=e;if(c|0)Si[k[(k[c>>2]|0)+12>>2]&1023](c);if(!d){r=f;return}Si[k[(k[d>>2]|0)+12>>2]&1023](d);r=f;return}function Cfa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0;m=i[b>>0]|0;n=(m&1)==0?b+1|0:k[b+8>>2]|0;m=(m&1)==0?(m&255)>>>1:k[b+4>>2]|0;if(m>>>0>3){c=m;d=n;b=m;while(1){o=ha(l[d>>0]|l[d+1>>0]<<8|l[d+2>>0]<<16|l[d+3>>0]<<24,1540483477)|0;b=(ha(o>>>24^o,1540483477)|0)^(ha(b,1540483477)|0);c=c+-4|0;if(c>>>0<=3)break;else d=d+4|0}c=m+-4-(m+-4&-4)|0;d=n+((m+-4&-4)+4)|0}else{c=m;d=n;b=m}switch(c|0){case 3:{e=l[d+2>>0]<<16^b;h=6;break}case 2:{e=b;h=6;break}case 1:{f=b;h=7;break}default:g=b}if((h|0)==6){f=l[d+1>>0]<<8^e;h=7}if((h|0)==7)g=ha(l[d>>0]^f,1540483477)|0;b=ha(g>>>13^g,1540483477)|0;g=k[a+4>>2]|0;if(!g){o=0;return o|0}if(!(g+-1&g))f=(b>>>15^b)&g+-1;else f=((b>>>15^b)>>>0)%(g>>>0)|0;b=k[(k[a>>2]|0)+(f<<2)>>2]|0;if(!b){o=0;return o|0}b=k[b>>2]|0;if(!b){o=0;return o|0}if(!(g+-1&g)){a:while(1){if((k[b+4>>2]&g+-1|0)!=(f|0)){b=0;h=35;break}d=b+8|0;c=j[d>>1]|0;do if((((c&1)==0?(c&254)>>>1:k[b+12>>2]|0)|0)==(m|0)){if(c&1)if(!(Emb(k[b+16>>2]|0,n,m)|0)){h=35;break a}else break;if(!m){h=35;break a}if(((c&65535)>>>8&255)<<24>>24==(i[n>>0]|0)){e=(c&254)>>>1;c=d+1|0;d=n;do{e=e+-1|0;c=c+1|0;if(!e){h=35;break a}d=d+1|0}while((i[c>>0]|0)==(i[d>>0]|0))}}while(0);b=k[b>>2]|0;if(!b){b=0;h=35;break}}if((h|0)==35)return b|0}else{b:while(1){if((((k[b+4>>2]|0)>>>0)%(g>>>0)|0|0)!=(f|0)){b=0;h=35;break}d=b+8|0;c=j[d>>1]|0;do if((((c&1)==0?(c&254)>>>1:k[b+12>>2]|0)|0)==(m|0)){if(c&1)if(!(Emb(k[b+16>>2]|0,n,m)|0)){h=35;break b}else break;if(!m){h=35;break b}if(((c&65535)>>>8&255)<<24>>24==(i[n>>0]|0)){e=(c&254)>>>1;c=d+1|0;d=n;do{e=e+-1|0;c=c+1|0;if(!e){h=35;break b}d=d+1|0}while((i[c>>0]|0)==(i[d>>0]|0))}}while(0);b=k[b>>2]|0;if(!b){b=0;h=35;break}}if((h|0)==35)return b|0}return 0}function Dfa(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+16|0;c=Cfa(a,b)|0;if(c|0){a=c;a=a+20|0;r=d;return a|0}c=kBb(28)|0;Vqb(c+8|0,b);k[c+20>>2]=0;k[c+20+4>>2]=0;k[c+20>>2]=0;Efa(d,a,c);a=k[d>>2]|0;a=a+20|0;r=d;return a|0}function Efa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0.0,g=0.0,h=0,m=0,n=0,p=0,q=0,r=0,s=0,t=0,u=0;s=i[c+8>>0]|0;t=(s&1)==0?c+8+1|0:k[c+16>>2]|0;s=(s&1)==0?(s&255)>>>1:k[c+12>>2]|0;if(s>>>0>3){h=s;m=t;d=s;while(1){u=ha(l[m>>0]|l[m+1>>0]<<8|l[m+2>>0]<<16|l[m+3>>0]<<24,1540483477)|0;d=(ha(u>>>24^u,1540483477)|0)^(ha(d,1540483477)|0);h=h+-4|0;if(h>>>0<=3)break;else m=m+4|0}h=s+-4-(s+-4&-4)|0;m=t+((s+-4&-4)+4)|0}else{h=s;m=t;d=s}switch(h|0){case 3:{n=l[m+2>>0]<<16^d;r=6;break}case 2:{n=d;r=6;break}case 1:{p=d;r=7;break}default:q=d}if((r|0)==6){p=l[m+1>>0]<<8^n;r=7}if((r|0)==7)q=ha(l[m>>0]^p,1540483477)|0;d=ha(q>>>13^q,1540483477)|0;k[c+4>>2]=d>>>15^d;q=k[b+4>>2]|0;a:do if(!q)e=0;else{if(!(q+-1&q))p=(d>>>15^d)&q+-1;else p=((d>>>15^d)>>>0)%(q>>>0)|0;d=k[(k[b>>2]|0)+(p<<2)>>2]|0;if(!d)e=p;else{d=k[d>>2]|0;if(!d)e=p;else if(!(q+-1&q)){b:while(1){if((k[d+4>>2]&q+-1|0)!=(p|0)){e=p;break a}m=d+8|0;h=j[m>>1]|0;do if((((h&1)==0?(h&254)>>>1:k[d+12>>2]|0)|0)==(s|0)){if(h&1)if(!(Emb(k[d+16>>2]|0,t,s)|0)){h=0;r=49;break b}else break;if(!s){h=0;r=49;break b}if(((h&65535)>>>8&255)<<24>>24==(i[t>>0]|0)){n=(h&254)>>>1;h=m+1|0;m=t;do{n=n+-1|0;h=h+1|0;if(!n){h=0;r=49;break b}m=m+1|0}while((i[h>>0]|0)==(i[m>>0]|0))}}while(0);d=k[d>>2]|0;if(!d){e=p;break a}}if((r|0)==49){u=d;k[a>>2]=u;u=a+4|0;i[u>>0]=h;return}}else{c:while(1){if((((k[d+4>>2]|0)>>>0)%(q>>>0)|0|0)!=(p|0)){e=p;break a}m=d+8|0;h=j[m>>1]|0;do if((((h&1)==0?(h&254)>>>1:k[d+12>>2]|0)|0)==(s|0)){if(h&1)if(!(Emb(k[d+16>>2]|0,t,s)|0)){h=0;r=49;break c}else break;if(!s){h=0;r=49;break c}if(((h&65535)>>>8&255)<<24>>24==(i[t>>0]|0)){n=(h&254)>>>1;h=m+1|0;m=t;do{n=n+-1|0;h=h+1|0;if(!n){h=0;r=49;break c}m=m+1|0}while((i[h>>0]|0)==(i[m>>0]|0))}}while(0);d=k[d>>2]|0;if(!d){e=p;break a}}if((r|0)==49){u=d;k[a>>2]=u;u=a+4|0;i[u>>0]=h;return}}}}while(0);f=+(((k[b+12>>2]|0)+1|0)>>>0);g=+o[b+16>>2];do if((q|0)==0|f>+(q>>>0)*g){if(q>>>0>2)d=(q+-1&q|0)==0;else d=0;d=(d&1|q<<1)^1;e=~~+ga(+(f/g))>>>0;Ffa(b,d>>>0>>0?e:d);d=k[b+4>>2]|0;e=k[c+4>>2]|0;if(!(d+-1&d)){h=d;e=d+-1&e;break}else{h=d;e=(e>>>0)%(d>>>0)|0;break}}else h=q;while(0);d=k[(k[b>>2]|0)+(e<<2)>>2]|0;if(!d){k[c>>2]=k[b+8>>2];k[b+8>>2]=c;k[(k[b>>2]|0)+(e<<2)>>2]=b+8;d=k[c>>2]|0;if(d|0){d=k[d+4>>2]|0;e=h+-1|0;if(!(e&h))d=d&e;else d=(d>>>0)%(h>>>0)|0;k[(k[b>>2]|0)+(d<<2)>>2]=c}}else{k[c>>2]=k[d>>2];k[d>>2]=c}k[b+12>>2]=(k[b+12>>2]|0)+1;b=1;u=c;k[a>>2]=u;u=a+4|0;i[u>>0]=b;return}function Ffa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if((b|0)==1)b=2;else if(b+-1&b)b=Sqb(b)|0;e=k[a+4>>2]|0;if(b>>>0>e>>>0){Gfa(a,b);return}if(b>>>0>=e>>>0)return;if(e>>>0>2)d=(e+-1&e|0)==0;else d=0;c=~~+ga(+(+((k[a+12>>2]|0)>>>0)/+o[a+16>>2]))>>>0;if(d)c=1<<32-(ja(c+-1|0)|0);else c=Sqb(c)|0;b=b>>>0>>0?c:b;if(b>>>0>=e>>>0)return;Gfa(a,b);return}function Gfa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;if(!b){c=k[a>>2]|0;k[a>>2]=0;if(c|0)CAb(c);k[a+4>>2]=0;return}r=kBb(b<<2)|0;c=k[a>>2]|0;k[a>>2]=r;if(c|0)CAb(c);k[a+4>>2]=b;c=0;do{k[(k[a>>2]|0)+(c<<2)>>2]=0;c=c+1|0}while((c|0)!=(b|0));e=k[a+8>>2]|0;if(!e)return;c=k[e+4>>2]|0;if(!(b+-1&b))d=c&b+-1;else d=(c>>>0)%(b>>>0)|0;k[(k[a>>2]|0)+(d<<2)>>2]=a+8;c=k[e>>2]|0;if(!c)return;else g=e;a:while(1){r=e;b:while(1){while(1){e=k[c+4>>2]|0;if(!(b+-1&b))q=e&b+-1;else q=(e>>>0)%(b>>>0)|0;if((q|0)==(d|0)){e=c;break}e=(k[a>>2]|0)+(q<<2)|0;if(!(k[e>>2]|0)){d=q;f=c;c=r;break b}e=k[c>>2]|0;c:do if(!e)e=c;else{n=c+8|0;o=j[n>>1]|0;p=(o&1)==0?(o&254)>>>1:k[c+12>>2]|0;m=c+16|0;if(!(o&1)){m=c;while(1){f=e+8|0;h=i[f>>0]|0;if((p|0)!=(((h&1)==0?(h&255)>>>1:k[e+12>>2]|0)|0)){e=m;break c}f=(h&1)==0?f+1|0:k[e+16>>2]|0;d:do if(p|0){if(((o&65535)>>>8&255)<<24>>24==(i[f>>0]|0)){h=(o&254)>>>1;l=n+1|0}else{e=m;break c}while(1){h=h+-1|0;l=l+1|0;if(!h)break d;f=f+1|0;if((i[l>>0]|0)!=(i[f>>0]|0)){e=m;break c}}}while(0);f=k[e>>2]|0;if(!f)break;else{m=e;e=f}}}else{if(!p){f=c;while(1){p=i[e+8>>0]|0;if(((p&1)==0?(p&255)>>>1:k[e+12>>2]|0)|0){e=f;break c}f=k[e>>2]|0;if(!f)break c;else{p=e;e=f;f=p}}}else l=c;while(1){f=e+8|0;h=i[f>>0]|0;if((p|0)!=(((h&1)==0?(h&255)>>>1:k[e+12>>2]|0)|0)){e=l;break c}if(Emb(k[m>>2]|0,(h&1)==0?f+1|0:k[e+16>>2]|0,p)|0){e=l;break c}f=k[e>>2]|0;if(!f)break;else{l=e;e=f}}}}while(0);k[r>>2]=k[e>>2];k[e>>2]=k[k[(k[a>>2]|0)+(q<<2)>>2]>>2];k[k[(k[a>>2]|0)+(q<<2)>>2]>>2]=c;c=k[g>>2]|0;if(!c){c=38;break a}}c=k[e>>2]|0;if(!c){c=38;break a}else{g=e;r=e}}k[e>>2]=c;c=k[f>>2]|0;if(!c){c=38;break}else{g=f;e=f}}if((c|0)==38)return}function Hfa(a){a=a|0;var b=0,c=0;k[a>>2]=24184;b=k[a+12>>2]|0;if(b|0)Si[k[(k[b>>2]|0)+4>>2]&1023](b);Ifa(a+28|0);c=k[a+16>>2]|0;if(c|0){b=k[a+20>>2]|0;if((b|0)!=(c|0))k[a+20>>2]=b+(~(((b+-12-c|0)>>>0)/12|0)*12|0);CAb(c)}b=k[a+8>>2]|0;if(!b)return;Si[k[(k[b>>2]|0)+12>>2]&1023](b);return}function Ifa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=k[a>>2]|0;if(!b)return;c=k[a+4>>2]|0;if((c|0)!=(b|0)){do{f=c+-80|0;k[a+4>>2]=f;g=k[c+-68>>2]|0;if(g|0){d=c+-64|0;e=k[d>>2]|0;if((e|0)!=(g|0))k[d>>2]=e+(~((e+-8-g|0)>>>3)<<3);CAb(g)}e=k[f>>2]|0;if(e|0){c=c+-76|0;d=k[c>>2]|0;if((d|0)!=(e|0))k[c>>2]=d+(~((d+-4-e|0)>>>2)<<2);CAb(e)}c=k[a+4>>2]|0}while((c|0)!=(b|0));b=k[a>>2]|0}CAb(b);return}function Jfa(a){a=a|0;var b=0,c=0;k[a>>2]=24184;b=k[a+12>>2]|0;if(b|0)Si[k[(k[b>>2]|0)+4>>2]&1023](b);Ifa(a+28|0);c=k[a+16>>2]|0;if(c|0){b=k[a+20>>2]|0;if((b|0)!=(c|0))k[a+20>>2]=b+(~(((b+-12-c|0)>>>0)/12|0)*12|0);CAb(c)}b=k[a+8>>2]|0;if(!b){CAb(a);return}Si[k[(k[b>>2]|0)+12>>2]&1023](b);CAb(a);return}function Kfa(a,b,c,d,e,f,g,h,i,j){a=a|0;b=+b;c=+c;d=+d;e=+e;f=+f;g=+g;h=+h;i=+i;j=+j;var l=0,m=0,n=0;l=r;r=r+64|0;if(!(k[a+12>>2]|0)){r=l;return}if((k[a+16>>2]|0)==(k[a+20>>2]|0)){r=l;return}m=J8(k[a+8>>2]|0)|0;if((m|0)!=(k[a+44>>2]|0))Lfa(a);hda(631144);m=kda(631144)|0;Tua(l,b,c,d,e,f,g,h,i,j);Wua(m,l);m=k[a+12>>2]|0;U8(m);S8(k[a+12>>2]|0);n=X8(k[a+12>>2]|0,0)|0;Ti[k[164011]&63](0,2,5126,0,16,n);n=X8(k[a+12>>2]|0,8)|0;Ti[k[164011]&63](1,2,5123,1,16,n);n=X8(k[a+12>>2]|0,12)|0;Ti[k[164011]&63](2,4,5121,1,16,n);V8(m);eda(631144,7);p8(k[a+8>>2]|0,a+16|0,1);jda(631144);r=l;return}function Lfa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;g=r;r=r+16|0;f=J8(k[a+8>>2]|0)|0;if((f|0)==(k[a+44>>2]|0)){r=g;return}Mfa(g,a+28|0);Nfa(a);b=k[g>>2]|0;c=k[g+4>>2]|0;if((b|0)!=(c|0))do{Ofa(a,b);b=b+80|0}while((b|0)!=(c|0));b=J8(k[a+8>>2]|0)|0;k[a+44>>2]=b;b=k[g>>2]|0;if(b|0){c=k[g+4>>2]|0;if((c|0)!=(b|0)){do{a=c+-80|0;k[g+4>>2]=a;d=k[c+-68>>2]|0;if(d|0){e=c+-64|0;f=k[e>>2]|0;if((f|0)!=(d|0))k[e>>2]=f+(~((f+-8-d|0)>>>3)<<3);CAb(d)}d=k[a>>2]|0;if(d|0){c=c+-76|0;a=k[c>>2]|0;if((a|0)!=(d|0))k[c>>2]=a+(~((a+-4-d|0)>>>2)<<2);CAb(d)}c=k[g+4>>2]|0}while((c|0)!=(b|0));b=k[g>>2]|0}CAb(b)}r=g;return}function Mfa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;d=k[b+4>>2]|0;e=k[b>>2]|0;if((d|0)==(e|0))return;if(((d-e|0)/80|0)>>>0>53687091)xzb(a);c=kBb(d-e|0)|0;k[a+4>>2]=c;k[a>>2]=c;k[a+8>>2]=c+(((d-e|0)/80|0)*80|0);d=k[b>>2]|0;f=k[b+4>>2]|0;if((d|0)==(f|0))return;do{k8(c,d);m8(c+12|0,d+12|0);c=c+24|0;e=d+24|0;b=c+56|0;do{k[c>>2]=k[e>>2];c=c+4|0;e=e+4|0}while((c|0)<(b|0));c=(k[a+4>>2]|0)+80|0;k[a+4>>2]=c;d=d+80|0}while((d|0)!=(f|0));return}function Nfa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;g=k[a+28>>2]|0;b=k[a+32>>2]|0;if((b|0)!=(g|0))do{e=b+-80|0;k[a+32>>2]=e;f=k[b+-68>>2]|0;if(f|0){c=b+-64|0;d=k[c>>2]|0;if((d|0)!=(f|0))k[c>>2]=d+(~((d+-8-f|0)>>>3)<<3);CAb(f)}d=k[e>>2]|0;if(d|0){b=b+-76|0;c=k[b>>2]|0;if((c|0)!=(d|0))k[b>>2]=c+(~((c+-4-d|0)>>>2)<<2);CAb(d)}b=k[a+32>>2]|0}while((b|0)!=(g|0));b=k[a+16>>2]|0;c=k[a+20>>2]|0;if((c|0)==(b|0)){f=a+8|0;f=k[f>>2]|0;f=J8(f)|0;g=a+44|0;k[g>>2]=f;a=a+40|0;k[a>>2]=0;return}k[a+20>>2]=c+(~(((c+-12-b|0)>>>0)/12|0)*12|0);f=a+8|0;f=k[f>>2]|0;f=J8(f)|0;g=a+44|0;k[g>>2]=f;a=a+40|0;k[a>>2]=0;return}function Ofa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0.0,p=0,q=0.0,s=0.0;l=r;r=r+80|0;k[l+52>>2]=0;i=l+52+4|0;k[i>>2]=0;k[l+52+8>>2]=0;d=k[b+28>>2]|0;c=k[a+8>>2]|0;if((d|0)==4){o[l+32>>2]=0.0;o[l+32+4>>2]=0.0;k[l+72>>2]=k[l+32>>2];k[l+72+4>>2]=k[l+32+4>>2];_7(l+40|0,c,b,l+52|0,0.0,l+72|0,l);h=k[l+40>>2]|0;g=k[l+40+4>>2]|0;k[l+40+8>>2]=0;k[l+40+4>>2]=0;k[l+40>>2]=0}else{i8(l+20|0,c,b,+o[b+24>>2],d,l+52|0,l);h=k[l+20>>2]|0;g=k[l+20+4>>2]|0;k[l+20+8>>2]=0;k[l+20+4>>2]=0;k[l+20>>2]=0}f=j[b+40>>1]|0;if((f&255)<<24>>24){c=k[l+52>>2]|0;d=(k[i>>2]|0)-c|0;if((d|0)>0){e=0;do{p=c+(e<<4)|0;s=+o[p>>2];m=c+(e<<4)+4|0;q=+o[m>>2];n=+o[b+72>>2]+(s*+o[b+48>>2]+q*+o[b+60>>2]);o[p>>2]=+o[b+68>>2]+(+o[b+44>>2]*s+ +o[b+56>>2]*q);o[m>>2]=n;e=e+1|0}while((e|0)!=(d>>4|0))}}c=k[a+40>>2]|0;if((f&65535)<256){c=k[a+16>>2]|0;d=k[a+20>>2]|0;if((d|0)==(c|0))c=0;else{k[a+20>>2]=d+(~(((d+-12-c|0)>>>0)/12|0)*12|0);c=0}}Pfa(a,l+52|0,c);f=h;if((f|0)!=(g|0)){d=f;do{p=d+4|0;k[p>>2]=(k[p>>2]|0)+c;d=d+12|0}while((d|0)!=(g|0));e=k[a+20>>2]|0;if((k[a+16>>2]|0)==(e|0))d=h;else{d=k[e+-4>>2]|0;if((k[e+-12>>2]|0)==(k[f>>2]|0))if(((k[e+-8>>2]|0)+d|0)==(k[f+4>>2]|0)){k[e+-4>>2]=(k[f+8>>2]|0)+d;d=f+12|0}else d=h;else d=h}k[l+16>>2]=e;k[l+12>>2]=d;k[l+8>>2]=g;k[l+64>>2]=k[l+16>>2];k[l+68>>2]=k[l+12>>2];k[l+72>>2]=k[l+8>>2];o8(a+16|0,l+64|0,l+68|0,l+72|0)|0}k[a+40>>2]=((k[i>>2]|0)-(k[l+52>>2]|0)>>4)+c;c=k[a+32>>2]|0;if((c|0)==(k[a+36>>2]|0)){Qfa(a+28|0,b);c=k[a+32>>2]|0}else{k8(c,b);m8(c+12|0,b+12|0);e=c+24|0;c=b+24|0;d=e+56|0;do{k[e>>2]=k[c>>2];e=e+4|0;c=c+4|0}while((e|0)<(d|0));c=(k[a+32>>2]|0)+80|0;k[a+32>>2]=c}m=k[l+4>>2]|0;p=c+-48|0;k[p>>2]=k[l>>2];k[p+4>>2]=m;p=J8(k[a+8>>2]|0)|0;if((p|0)!=(k[a+44>>2]|0))Lfa(a);if(h|0)CAb(h);c=k[l+52>>2]|0;if(!c){r=l;return}d=k[i>>2]|0;if((d|0)!=(c|0))k[i>>2]=d+(~((d+-16-c|0)>>>4)<<4);CAb(c);r=l;return}function Pfa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;g=k[b+4>>2]|0;h=k[b>>2]|0;if((g|0)==(h|0))return;d=k[a+12>>2]|0;if(!d){e=~~(+((g-h+(c<<4)|0)>>>0)*1.5)>>>0;f=6}else{e=k[d+8>>2]|0;if((g-h+(c<<4)|0)>>>0>e>>>0){e=~~(+(e>>>0)*1.5)>>>0>>>0<~~(+((g-h+(c<<4)|0)>>>0)*1.5)>>>0>>>0?~~(+((g-h+(c<<4)|0)>>>0)*1.5)>>>0:~~(+(e>>>0)*1.5)>>>0;f=6}}if((f|0)==6){d=kBb(40)|0;Q8(d,e,0,34962,35048,0);e=k[a+12>>2]|0;if(e|0){U8(e);f=R8(k[a+12>>2]|0)|0;V8(e);U8(d);W8(d,0,k[(k[a+12>>2]|0)+8>>2]|0,f);V8(d);e=k[a+12>>2]|0;if(e|0)Si[k[(k[e>>2]|0)+4>>2]&1023](e)}k[a+12>>2]=d}U8(d);c=(R8(k[a+12>>2]|0)|0)+(c<<4)|0;ABb(c|0,k[b>>2]|0,g-h|0)|0;V8(d);return}function Qfa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=k[a>>2]|0;d=(((k[a+4>>2]|0)-e|0)/80|0)+1|0;if(d>>>0>53687091)xzb(a);c=((k[a+8>>2]|0)-e|0)/80|0;if(c>>>0<26843545){c=c<<1>>>0>>0?d:c<<1;d=((k[a+4>>2]|0)-e|0)/80|0;if(!c){e=0;c=0}else f=6}else{c=53687091;d=((k[a+4>>2]|0)-e|0)/80|0;f=6}if((f|0)==6){e=c;c=kBb(c*80|0)|0}j=c+(d*80|0)|0;i=c+(e*80|0)|0;k8(j,b);m8(c+(d*80|0)+12|0,b+12|0);g=c+(d*80|0)+24|0;e=b+24|0;f=g+56|0;do{k[g>>2]=k[e>>2];g=g+4|0;e=e+4|0}while((g|0)<(f|0));b=k[a>>2]|0;c=k[a+4>>2]|0;if((c|0)==(b|0)){d=j;h=b;c=b}else{e=j;d=j;do{g=e+-80|0;f=c;c=c+-80|0;k[g>>2]=0;h=e+-76|0;k[h>>2]=0;k[e+-72>>2]=0;k[g>>2]=k[c>>2];k[h>>2]=k[f+-76>>2];k[e+-72>>2]=k[f+-72>>2];k[f+-72>>2]=0;k[f+-76>>2]=0;k[c>>2]=0;h=e+-68|0;k[h>>2]=0;g=e+-64|0;k[g>>2]=0;k[e+-60>>2]=0;k[h>>2]=k[f+-68>>2];k[g>>2]=k[f+-64>>2];k[e+-60>>2]=k[f+-60>>2];k[f+-60>>2]=0;k[f+-64>>2]=0;k[f+-68>>2]=0;g=e+-56|0;e=f+-56|0;f=g+56|0;do{k[g>>2]=k[e>>2];g=g+4|0;e=e+4|0}while((g|0)<(f|0));e=d+-80|0;d=e}while((c|0)!=(b|0));h=k[a>>2]|0;c=k[a+4>>2]|0}k[a>>2]=d;k[a+4>>2]=j+80;k[a+8>>2]=i;g=h;if((c|0)!=(g|0)){e=c;do{f=e;e=e+-80|0;c=k[f+-68>>2]|0;if(c|0){d=k[f+-64>>2]|0;if((d|0)!=(c|0))k[f+-64>>2]=d+(~((d+-8-c|0)>>>3)<<3);CAb(c)}c=k[e>>2]|0;if(c|0){d=k[f+-76>>2]|0;if((d|0)!=(c|0))k[f+-76>>2]=d+(~((d+-4-c|0)>>>2)<<2);CAb(c)}}while((e|0)!=(g|0))}if(!h)return;CAb(h);return}function Rfa(a,b,c){a=a|0;b=b|0;c=c|0;Uj(a);k[a>>2]=24184;k[a+8>>2]=b;if(b|0)Si[k[(k[b>>2]|0)+8>>2]&1023](b);k[a+12>>2]=0;k[a+12+4>>2]=0;k[a+12+8>>2]=0;k[a+12+12>>2]=0;k[a+12+16>>2]=0;k[a+12+20>>2]=0;k[a+12+24>>2]=0;k[a+12+28>>2]=0;k[a+44>>2]=-1;Sfa(a,c,-1.0,4);return}function Sfa(a,b,c,d){a=a|0;b=b|0;c=+c;d=d|0;var e=0,f=0,g=0,h=0,l=0,m=0;g=r;r=r+112|0;f=k[b>>2]|0;e=k[b+4>>2]|0;do if((f|0)!=(e|0)){if((e-f|0)==16){e=i[f>>0]|0;if(!(e&1))e=(e&255)>>>1;else e=k[f+4>>2]|0;if(!e)break};k[g+80>>2]=0;k[g+80+4>>2]=0;k[g+80+8>>2]=0;k[g+80+12>>2]=0;k[g+80+16>>2]=0;k[g+80+20>>2]=0;X7(b,g+80|0);k8(g,g+80|0);k[g+12>>2]=0;k[g+16>>2]=0;k[g+20>>2]=0;e=(k[g+80+16>>2]|0)-(k[g+80+12>>2]|0)|0;if(e>>3|0){if(e>>3>>>0>536870911)xzb(g+12|0);f=kBb(e)|0;k[g+16>>2]=f;k[g+12>>2]=f;k[g+20>>2]=f+(e>>3<<3);e=k[g+80+12>>2]|0;b=k[g+80+16>>2]|0;if((e|0)!=(b|0))do{m=e;l=k[m+4>>2]|0;h=f;k[h>>2]=k[m>>2];k[h+4>>2]=l;f=(k[g+16>>2]|0)+8|0;k[g+16>>2]=f;e=e+8|0}while((e|0)!=(b|0))}o[g+24>>2]=c;k[g+28>>2]=d;k[g+32>>2]=0;k[g+32+4>>2]=0;j[g+32+8>>1]=0;cva(g+44|0);Ofa(a,g);e=k[g+12>>2]|0;if(e|0){f=k[g+16>>2]|0;if((f|0)!=(e|0))k[g+16>>2]=f+(~((f+-8-e|0)>>>3)<<3);CAb(e)}e=k[g>>2]|0;if(e|0){f=k[g+4>>2]|0;if((f|0)!=(e|0))k[g+4>>2]=f+(~((f+-4-e|0)>>>2)<<2);CAb(e)}e=k[g+80+12>>2]|0;if(e|0){f=k[g+80+16>>2]|0;if((f|0)!=(e|0))k[g+80+16>>2]=f+(~((f+-8-e|0)>>>3)<<3);CAb(e)}e=k[g+80>>2]|0;if(e|0){f=k[g+80+4>>2]|0;if((f|0)!=(e|0))k[g+80+4>>2]=f+(~((f+-4-e|0)>>>2)<<2);CAb(e)}r=g;return}while(0);Nfa(a);r=g;return}function Tfa(a,b){a=a|0;b=b|0;Sfa(a,b,-1.0,4);return}function Ufa(a){a=a|0;Nfa(a);return}function Vfa(a,b,c,d,e,f,g,h,i,j,k){a=a|0;b=b|0;c=+c;d=+d;e=+e;f=+f;g=+g;h=+h;i=+i;j=+j;k=+k;return Wfa(a,b,-1.0,4,c,d,e,f,g,h,i,j,k)|0}function Wfa(a,b,c,d,e,f,g,h,j,l,m,n,p){a=a|0;b=b|0;c=+c;d=d|0;e=+e;f=+f;g=+g;h=+h;j=+j;l=+l;m=+m;n=+n;p=+p;var q=0,s=0,t=0,u=0,v=0,w=0;t=r;r=r+144|0;k[t+120>>2]=0;k[t+120+4>>2]=0;k[t+120+8>>2]=0;k[t+120+12>>2]=0;k[t+120+16>>2]=0;k[t+120+20>>2]=0;X7(b,t+120|0);eva(t+80|0,e,f,g,h,j,l,m,n,p);k8(t,t+120|0);k[t+12>>2]=0;k[t+16>>2]=0;k[t+20>>2]=0;b=(k[t+120+16>>2]|0)-(k[t+120+12>>2]|0)|0;if(b>>3|0){if(b>>3>>>0>536870911)xzb(t+12|0);q=kBb(b)|0;k[t+16>>2]=q;k[t+12>>2]=q;k[t+20>>2]=q+(b>>3<<3);b=k[t+120+12>>2]|0;s=k[t+120+16>>2]|0;if((b|0)!=(s|0))do{w=b;v=k[w+4>>2]|0;u=q;k[u>>2]=k[w>>2];k[u+4>>2]=v;q=(k[t+16>>2]|0)+8|0;k[t+16>>2]=q;b=b+8|0}while((b|0)!=(s|0))}o[t+24>>2]=c;k[t+28>>2]=d;k[t+32>>2]=0;k[t+36>>2]=0;i[t+40>>0]=1;i[t+41>>0]=1;b=t+44|0;q=t+80|0;s=b+36|0;do{k[b>>2]=k[q>>2];b=b+4|0;q=q+4|0}while((b|0)<(s|0));Ofa(a,t);b=k[t+12>>2]|0;if(b|0){q=k[t+16>>2]|0;if((q|0)!=(b|0))k[t+16>>2]=q+(~((q+-8-b|0)>>>3)<<3);CAb(b)}b=k[t>>2]|0;if(b|0){q=k[t+4>>2]|0;if((q|0)!=(b|0))k[t+4>>2]=q+(~((q+-4-b|0)>>>2)<<2);CAb(b)}s=(((k[a+32>>2]|0)-(k[a+28>>2]|0)|0)/80|0)+-1|0;b=k[t+120+12>>2]|0;if(b|0){q=k[t+120+16>>2]|0;if((q|0)!=(b|0))k[t+120+16>>2]=q+(~((q+-8-b|0)>>>3)<<3);CAb(b)}b=k[t+120>>2]|0;if(!b){r=t;return s|0}q=k[t+120+4>>2]|0;if((q|0)!=(b|0))k[t+120+4>>2]=q+(~((q+-4-b|0)>>>2)<<2);CAb(b);r=t;return s|0}function Xfa(a,b){a=a|0;b=b|0;var c=0;if(b|0)Si[k[(k[b>>2]|0)+8>>2]&1023](b);c=k[a+8>>2]|0;if(c|0)Si[k[(k[c>>2]|0)+12>>2]&1023](c);k[a+8>>2]=b;k[a+44>>2]=-1;Lfa(a);return}function Yfa(a){a=a|0;return k[a+8>>2]|0}function Zfa(a,b){a=a|0;b=b|0;var c=0,d=0;if((b|0)<0){d=k[a+32>>2]|0;c=k[a+28>>2]|0;b=(((d-c|0)/80|0)+-1|0)<0?0:((d-c|0)/80|0)+-1|0;a=d}else{c=k[a+28>>2]|0;a=k[a+32>>2]|0}if((b|0)>=((a-c|0)/80|0|0)){d=0;return d|0}d=k[c+(b*80|0)+32>>2]|0;return d|0}function _fa(a,b){a=a|0;b=b|0;var c=0,d=0;if((b|0)<0){d=k[a+32>>2]|0;c=k[a+28>>2]|0;b=(((d-c|0)/80|0)+-1|0)<0?0:((d-c|0)/80|0)+-1|0;a=d}else{c=k[a+28>>2]|0;a=k[a+32>>2]|0}if((b|0)>=((a-c|0)/80|0|0)){d=0;return d|0}d=k[c+(b*80|0)+36>>2]|0;return d|0}function $fa(a){a=a|0;var b=0;k[a>>2]=24212;k[a+8>>2]=24248;Ada(631144,k[a+20>>2]|0);k[a+20>>2]=0;Ada(631144,k[a+24>>2]|0);k[a+24>>2]=0;Ada(631144,k[a+28>>2]|0);k[a+28>>2]=0;b=k[a+16>>2]|0;if(b|0)Si[k[(k[b>>2]|0)+12>>2]&1023](b);b=k[a+12>>2]|0;if(!b){Oga(a+8|0);return}Si[k[(k[b>>2]|0)+12>>2]&1023](b);Oga(a+8|0);return}function aga(a){a=a|0;$fa(a);CAb(a);return}function bga(a,b,c,d,e,f,g,h,i,j){a=a|0;b=+b;c=+c;d=+d;e=+e;f=+f;g=+g;h=+h;i=+i;j=+j;var l=0,m=0,n=0;n=r;r=r+64|0;cga(a);l=k[157856]|0;m=(l|0)==(k[157857]|0);if(m){Lea(k[157858]|0,0);l=k[157858]|0}bfa(l,k[a+20>>2]|0,k[a+24>>2]|0,k[a+28>>2]|0);hda(631144);l=kda(631144)|0;Tua(n,b,c,d,e,f,g,h,i,j);Wua(l,n);eda(631144,3);Ti[k[164011]&63](0,2,5126,0,20,a+32|0);Ti[k[164011]&63](1,2,5126,0,20,a+40|0);lda(631144);mda(631144,5,0,4);if(!m){jda(631144);r=n;return}Lea(k[157857]|0,0);jda(631144);r=n;return}function cga(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=k[a+12>>2]|0;b=Gi[k[(k[b>>2]|0)+28>>2]&2047](b)|0;c=k[a+12>>2]|0;Si[k[(k[c>>2]|0)+16>>2]&1023](c);if(!b)return;c=k[a+12>>2]|0;c=Gi[k[(k[c>>2]|0)+20>>2]&2047](c)|0;h=k[c>>2]|0;d=k[c+12>>2]|0;g=k[c+4>>2]|0;b=k[c+16>>2]|0;f=k[c+8>>2]|0;e=k[c+20>>2]|0;c=k[c+24>>2]|0;gda(631144,k[a+20>>2]|0);ej[k[164261]&15](3553,0,0,0,h,g,6409,5121,f);gda(631144,k[a+24>>2]|0);ej[k[164261]&15](3553,0,0,0,d,b,6409,5121,e);gda(631144,k[a+28>>2]|0);ej[k[164261]&15](3553,0,0,0,d,b,6409,5121,c);return}function dga(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=r;r=r+16|0;Di[k[163991]&511](3,a+20|0);c=k[a+12>>2]|0;c=Gi[k[(k[c>>2]|0)+20>>2]&2047](c)|0;i=k[c>>2]|0;e=k[c+12>>2]|0;h=k[c+4>>2]|0;d=k[c+16>>2]|0;g=k[c+8>>2]|0;f=k[c+20>>2]|0;c=k[c+24>>2]|0;k[b>>2]=0;k[b+4>>2]=0;gda(631144,k[a+20>>2]|0);Bda(631144,a+112|0);Cda(631144,b);ej[k[164671]&15](3553,0,6409,i,h,0,6409,5121,g);gda(631144,k[a+24>>2]|0);Bda(631144,a+112|0);Cda(631144,b);ej[k[164671]&15](3553,0,6409,e,d,0,6409,5121,f);gda(631144,k[a+28>>2]|0);Bda(631144,a+112|0);Cda(631144,b);ej[k[164671]&15](3553,0,6409,e,d,0,6409,5121,c);r=b;return 1}function ega(a){a=a|0;Ada(631144,k[a+20>>2]|0);k[a+20>>2]=0;Ada(631144,k[a+24>>2]|0);k[a+24>>2]=0;Ada(631144,k[a+28>>2]|0);k[a+28>>2]=0;return}function fga(a){a=a|0;$fa(a+-8|0);return}function gga(a){a=a|0;$fa(a+-8|0);CAb(a+-8|0);return}function hga(a){a=a|0;dga(a+-8|0)|0;return 1}function iga(a){a=a|0;Ada(631144,k[a+-8+20>>2]|0);k[a+-8+20>>2]=0;Ada(631144,k[a+-8+24>>2]|0);k[a+-8+24>>2]=0;Ada(631144,k[a+-8+28>>2]|0);k[a+-8+28>>2]=0;return}function jga(a,b){a=a|0;b=b|0;var c=0.0,d=0;Uj(a);k[a>>2]=24272;Sga(a+8|0);k[a>>2]=24212;k[a+8>>2]=24248;k[a+12>>2]=b;if(b|0)Si[k[(k[b>>2]|0)+8>>2]&1023](b);k[a+16>>2]=0;d=dD()|0;k[a+112>>2]=k[d>>2];k[a+112+4>>2]=k[d+4>>2];k[a+112+8>>2]=k[d+8>>2];k[a+112+12>>2]=k[d+12>>2];k[a+120>>2]=0;Si[k[(k[b>>2]|0)+16>>2]&1023](b);k[a+48>>2]=-1;k[a+68>>2]=-1;k[a+88>>2]=-1;k[a+108>>2]=-1;o[a+32>>2]=0.0;o[a+36>>2]=0.0;o[a+52>>2]=0.0;c=+(Gi[k[(k[b>>2]|0)+36>>2]&2047](b)|0);o[a+56>>2]=c;c=+(Gi[k[(k[b>>2]|0)+32>>2]&2047](b)|0);o[a+72>>2]=c;o[a+76>>2]=0.0;c=+(Gi[k[(k[b>>2]|0)+32>>2]&2047](b)|0);o[a+92>>2]=c;c=+(Gi[k[(k[b>>2]|0)+36>>2]&2047](b)|0);o[a+96>>2]=c;o[a+40>>2]=0.0;o[a+44>>2]=0.0;o[a+60>>2]=0.0;o[a+64>>2]=1.0;o[a+80>>2]=1.0;o[a+84>>2]=0.0;o[a+100>>2]=1.0;o[a+104>>2]=1.0;Gi[k[(k[a>>2]|0)+20>>2]&2047](a)|0;return}function kga(a){a=a|0;CAb(a);return}function lga(a){a=a|0;return k[a+12>>2]|0}function mga(a){a=a|0;return k[a+16>>2]|0}function nga(a,b){a=a|0;b=b|0;var c=0;if(b|0){Si[k[(k[b>>2]|0)+8>>2]&1023](b);Si[k[(k[b>>2]|0)+8>>2]&1023](b)}c=k[a+16>>2]|0;if(c|0)Si[k[(k[c>>2]|0)+12>>2]&1023](c);k[a+16>>2]=b;if(!b)return;Si[k[(k[b>>2]|0)+12>>2]&1023](b);return}function oga(a){a=a|0;a=k[a+12>>2]|0;return Gi[k[(k[a>>2]|0)+32>>2]&2047](a)|0}function pga(a){a=a|0;a=k[a+12>>2]|0;return Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0}function qga(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;if(fD(b,0)|0){k[a+112>>2]=k[b>>2];k[a+112+4>>2]=k[b+4>>2];k[a+112+8>>2]=k[b+8>>2];k[a+112+12>>2]=k[b+12>>2];gda(631144,k[a+20>>2]|0);Bda(631144,a+112|0);gda(631144,k[a+24>>2]|0);Bda(631144,a+112|0);gda(631144,k[a+28>>2]|0);Bda(631144,a+112|0);r=c;return}else{a=xf(16)|0;os(a,437040,c);Jc(a|0,96,27)}}function rga(a){a=a|0;return a+112|0}function sga(a,b){a=a|0;b=b|0;return tga(a,b,17)|0}function tga(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((DDa(a,b)|0)!=7){k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0}d=RDa(a,b)|0;if(k[(k[155799]|0)+(k[d>>2]<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0){c=d+4|0;c=k[c>>2]|0;r=e;return c|0}k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0;c=d+4|0;c=k[c>>2]|0;r=e;return c|0}function uga(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;f=r;r=r+16|0;c=tga(a,1,17)|0;jHa(a,2,6);e=k[155702]|0;if(e|0){Gaa(f,e);b=k[f>>2]|0;d=k[f+4>>2]|0;if((b|0)!=(d|0))do{g=k[b>>2]|0;Si[k[(k[g>>2]|0)+8>>2]&1023](g);b=b+4|0}while((b|0)!=(d|0));r9(e,c);yDa(a,2);d=rEa(a,0,0,0)|0;q9(e,f);b=k[f>>2]|0;c=k[f+4>>2]|0;if((b|0)!=(c|0))do{g=k[b>>2]|0;Si[k[(k[g>>2]|0)+12>>2]&1023](g);b=b+4|0}while((b|0)!=(c|0));if(!d){e=1;b=0}else{e=0;b=xEa(a)|0}c=k[f>>2]|0;if(c|0){d=k[f+4>>2]|0;if((d|0)!=(c|0))k[f+4>>2]=d+(~((d+-4-c|0)>>>2)<<2);CAb(c)}if(!e){g=b;r=f;return g|0}}g=0;r=f;return g|0}function vga(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=tga(a,1,17)|0;f=ix(a,58)|0;e=~~+mHa(a,2,0.0);d=~~+mHa(a,3,0.0);c=~~+mHa(a,4,+(Gi[k[(k[b>>2]|0)+24>>2]&2047](b)|0));b=u7(b,f,e,d,c,~~+mHa(a,5,+(Gi[k[(k[b>>2]|0)+28>>2]&2047](b)|0)))|0;Rs(a,22,b);Si[k[(k[b>>2]|0)+12>>2]&1023](b);return 1}function wga(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;c=(tga(a,1,17)|0)+144|0;if(y7(k[c>>2]|0,b+4|0)|0){YDa(a,k[b+4>>2]|0);c=1;r=b;return c|0}else{c=aHa(a,437064,b)|0;r=b;return c|0}return 0}function xga(a){a=a|0;var b=0;b=(tga(a,1,17)|0)+168|0;WDa(a,k[b>>2]|0);return 1}function yga(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=15104;k[b+4>>2]=24292;k[b+8>>2]=0;a=Is(a,17,437087,b)|0;r=b;return a|0}function zga(a,b){a=a|0;b=b|0;return Ow(a,b,14)|0}function Aga(a){a=a|0;VDa(a,+Z7(Ow(a,1,14)|0));return 1}function Bga(a){a=a|0;var b=0,c=0,d=0;b=r;r=r+16|0;c=Ow(a,1,14)|0;d=fHa(a,2,0)|0;Wqb(b,d,Fnb(d)|0);WDa(a,t8(c,b)|0);_qb(b);r=b;return 1}function Cga(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0.0,h=0;f=r;r=r+48|0;b=Ow(a,1,14)|0;k[f+24>>2]=0;k[f+24+4>>2]=0;k[f+24+8>>2]=0;cA(a,2,f+24|0);g=+lHa(a,3);k[f+12>>2]=0;e=f+12+4|0;k[e>>2]=0;k[f+12+8>>2]=0;k[f>>2]=0;k[f+4>>2]=0;k[f+8>>2]=0;y8(b,f+24|0,g,f+12|0,f);b=k[f>>2]|0;d=k[f+4>>2]|0;if((b|0)==(d|0))b=0;else{c=b;b=0;do{h=k[c>>2]|0;b=(b|0)<(h|0)?h:b;c=c+4|0}while((c|0)!=(d|0))}WDa(a,b);hEa(a,((k[e>>2]|0)-(k[f+12>>2]|0)|0)/12|0,0);d=0;while(1){b=k[f+12>>2]|0;if((d|0)>=(((k[e>>2]|0)-b|0)/12|0|0))break;c=b+(d*12|0)|0;if(!(i[c>>0]&1))b=c+1|0;else b=k[b+(d*12|0)+8>>2]|0;YDa(a,b);h=d+1|0;nEa(a,-2,h);d=h}c=k[f>>2]|0;if(c){b=k[f+4>>2]|0;if((b|0)!=(c|0))k[f+4>>2]=b+(~((b+-4-c|0)>>>2)<<2);CAb(c);b=k[f+12>>2]|0}if(b|0){c=k[e>>2]|0;if((c|0)!=(b|0)){do{h=c+-12|0;k[e>>2]=h;_qb(h);c=k[e>>2]|0}while((c|0)!=(b|0));b=k[f+12>>2]|0}CAb(b)}b=k[f+24>>2]|0;if(!b){r=f;return 2}c=k[f+24+4>>2]|0;if((c|0)!=(b|0)){do{h=c+-16|0;k[f+24+4>>2]=h;_qb(h);c=k[f+24+4>>2]|0}while((c|0)!=(b|0));b=k[f+24>>2]|0}CAb(b);r=f;return 2}function Dga(a){a=a|0;var b=0;b=Ow(a,1,14)|0;z8(b,+lHa(a,2));return 0}function Ega(a){a=a|0;VDa(a,+h8(Ow(a,1,14)|0));return 1}function Fga(a){a=a|0;var b=0,c=0,d=0,e=0,f=0.0;e=r;r=r+32|0;b=Ow(a,1,14)|0;c=B8(b)|0;k[e+16>>2]=k[c>>2];k[e+16+4>>2]=k[c+4>>2];k[e+16+8>>2]=k[c+8>>2];k[e+16+12>>2]=k[c+12>>2];c=fHa(a,2,0)|0;d=eHa(a,3,c,0)|0;if(!(gD(c,e+16|0)|0)){k[e>>2]=c;a=aHa(a,437134,e)|0;r=e;return a|0}if(gD(d,e+16+4|0)|0){f=+mHa(a,4,1.0);o[e+16+12>>2]=f;A8(b,e+16|0);a=0;r=e;return a|0}else{k[e+8>>2]=d;a=aHa(a,437134,e+8|0)|0;r=e;return a|0}return 0}function Gga(a){a=a|0;var b=0,c=0.0,d=0,e=0;b=r;r=r+16|0;e=B8(Ow(a,1,14)|0)|0;d=k[e+4>>2]|0;c=+o[e+12>>2];hD(k[e>>2]|0,b+4|0)|0;hD(d,b)|0;YDa(a,k[b+4>>2]|0);YDa(a,k[b>>2]|0);VDa(a,c);r=b;return 3}function Hga(a){a=a|0;VDa(a,+(C8(Ow(a,1,14)|0)|0));return 1}function Iga(a){a=a|0;VDa(a,+(D8(Ow(a,1,14)|0)|0));return 1}function Jga(a){a=a|0;VDa(a,+g8(Ow(a,1,14)|0));return 1}function Kga(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=r;r=r+16|0;c=Ow(a,1,14)|0;d=(xDa(a)|0)+-1|0;d=(d|0)<1?1:d;a:do if((d|0)>0){e=2;while(1){if((DDa(a,e)|0)==4){us(f,a,e);b=F8(c,f)|0;_qb(f);if(!b){b=0;break a}}else{b=E8(c,~~+lHa(a,e)>>>0)|0;if(!b){b=0;break a}}if((e|0)>(d|0)){b=b&1;break}else e=e+1|0}}else b=0;while(0);rs(a,b<<24>>24!=0);r=f;return 1}function Lga(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;g=r;r=r+16|0;b=Ow(a,1,14)|0;k[g+4>>2]=0;f=g+4+4|0;k[f>>2]=0;k[g+4+8>>2]=0;e=2;while(1){if((e|0)>(xDa(a)|0))break;c=Ow(a,e,14)|0;k[g>>2]=c;d=k[f>>2]|0;if(d>>>0<(k[g+4+8>>2]|0)>>>0){k[d>>2]=c;k[f>>2]=(k[f>>2]|0)+4}else Mga(g+4|0,g);e=e+1|0}G8(b,g+4|0);c=k[g+4>>2]|0;if(!c){r=g;return 0}b=k[f>>2]|0;if((b|0)!=(c|0))k[f>>2]=b+(~((b+-4-c|0)>>>2)<<2);CAb(c);r=g;return 0}function Mga(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=k[a>>2]|0;c=((k[a+4>>2]|0)-i>>2)+1|0;if(c>>>0>1073741823)xzb(a);d=(k[a+8>>2]|0)-i|0;if(d>>2>>>0<536870911){c=d>>1>>>0>>0?c:d>>1;e=k[a+4>>2]|0;if(!c){h=0;f=0;d=e-i>>2;c=e}else{g=e;d=e-i>>2;j=6}}else{d=k[a+4>>2]|0;c=1073741823;g=d;d=d-i>>2;j=6}if((j|0)==6){h=c;f=kBb(c<<2)|0;c=g}j=f+(d<<2)|0;k[j>>2]=k[b>>2];b=c-i|0;ABb(j+(0-(b>>2)<<2)|0,i|0,b|0)|0;k[a>>2]=j+(0-(b>>2)<<2);k[a+4>>2]=j+4;k[a+8>>2]=f+(h<<2);if(!i)return;CAb(i);return}function Nga(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=24332;k[b+4>>2]=0;a=Is(a,14,437158,b)|0;r=b;return a|0}function Oga(a){a=a|0;var b=0;b=r;r=r+16|0;k[a>>2]=24444;k[b>>2]=a;Pga(632104,b);r=b;return}function Pga(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0;l=r;r=r+16|0;k[l>>2]=l;k[l+4>>2]=l;k[l+8>>2]=0;e=k[a+4>>2]|0;if((e|0)==(a|0)){r=l;return}if((l|0)==(a|0)){g=e;f=e;while(1){d=k[g+8>>2]|0;c=k[f+4>>2]|0;if((d|0)==(k[b>>2]|0)){a:do if((c|0)==(a|0)){e=a;d=0}else{e=c;while(1){if((k[e+8>>2]|0)!=(d|0)){d=1;break a}c=k[c+4>>2]|0;e=c;if((e|0)==(a|0)){e=a;d=0;break}}}while(0);if((g|0)!=(e|0)){j=k[c>>2]|0;i=k[f>>2]|0;k[i+4>>2]=k[j+4>>2];k[k[j+4>>2]>>2]=i;i=k[l>>2]|0;k[i+4>>2]=g;k[f>>2]=i;k[l>>2]=j;k[j+4>>2]=a}if(d)c=k[c+4>>2]|0}g=c;if((g|0)==(a|0))break;else f=c}r=l;return}d=l;j=e;c=0;i=e;while(1){f=k[j+8>>2]|0;e=k[i+4>>2]|0;if((f|0)==(k[b>>2]|0)){b:do if((e|0)==(a|0)){g=a;h=0}else{g=e;while(1){if((k[g+8>>2]|0)!=(f|0)){h=1;break b}e=k[e+4>>2]|0;g=e;if((g|0)==(a|0)){g=a;h=0;break}}}while(0);if((j|0)!=(g|0)){f=j;d=0;do{d=d+1|0;f=k[f+4>>2]|0}while((f|0)!=(g|0));k[a+8>>2]=(k[a+8>>2]|0)-d;c=c+d|0;k[l+8>>2]=c;d=k[e>>2]|0;g=k[i>>2]|0;k[g+4>>2]=k[d+4>>2];k[k[d+4>>2]>>2]=g;g=k[l>>2]|0;k[g+4>>2]=j;k[i>>2]=g;k[l>>2]=d;k[d+4>>2]=l}if(h)e=k[e+4>>2]|0}j=e;if((j|0)==(a|0))break;else i=e}if(!c){r=l;return}c=k[l+4>>2]|0;a=k[c>>2]|0;k[a+4>>2]=k[d+4>>2];k[k[d+4>>2]>>2]=a;k[l+8>>2]=0;if((c|0)==(l|0)){r=l;return}do{a=c;c=k[c+4>>2]|0;CAb(a)}while((c|0)!=(l|0));r=l;return}function Qga(a){a=a|0;var b=0;b=r;r=r+16|0;k[a>>2]=24444;k[b>>2]=a;Pga(632104,b);CAb(a);r=b;return}function Rga(){k[158026]=632104;k[158027]=632104;k[158028]=0;return}function Sga(a){a=a|0;var b=0;k[a>>2]=24444;b=kBb(12)|0;k[b+8>>2]=a;k[b+4>>2]=632104;a=k[158026]|0;k[b>>2]=a;k[a+4>>2]=b;k[158026]=b;k[158028]=(k[158028]|0)+1;return}function Tga(){var a=0,b=0,c=0;a=k[158027]|0;if((a|0)==632104){c=1;return c|0}else{b=a;c=a;a=1}do{b=k[b+8>>2]|0;if(a)a=Gi[k[(k[b>>2]|0)+8>>2]&2047](b)|0;else a=0;c=k[c+4>>2]|0;b=c}while((b|0)!=632104);return a|0}function Uga(){var a=0,b=0,c=0;a=k[158027]|0;if((a|0)==632104)return;else b=a;do{c=k[b+8>>2]|0;Si[k[(k[c>>2]|0)+12>>2]&1023](c);a=k[a+4>>2]|0;b=a}while((b|0)!=632104);return}function Vga(a){a=a|0;var b=0,c=0,d=0;k[a>>2]=24468;b=k[a+12>>2]|0;if((b|0)!=(a+8|0)){c=b;do{d=k[c+8>>2]|0;Si[k[(k[d>>2]|0)+12>>2]&1023](d);b=k[b+4>>2]|0;c=b}while((c|0)!=(a+8|0))}b=k[a+24>>2]|0;if((b|0)!=(a+20|0)){c=b;do{d=k[c+8>>2]|0;Si[k[(k[d>>2]|0)+12>>2]&1023](d);b=k[b+4>>2]|0;c=b}while((c|0)!=(a+20|0))}if(k[a+28>>2]|0){b=k[a+24>>2]|0;d=(k[a+20>>2]|0)+4|0;c=k[b>>2]|0;k[c+4>>2]=k[d>>2];k[k[d>>2]>>2]=c;k[a+28>>2]=0;if((b|0)!=(a+20|0))do{d=b;b=k[b+4>>2]|0;CAb(d)}while((b|0)!=(a+20|0))}if(!(k[a+16>>2]|0)){Hj(a);return}b=k[a+12>>2]|0;d=(k[a+8>>2]|0)+4|0;c=k[b>>2]|0;k[c+4>>2]=k[d>>2];k[k[d>>2]>>2]=c;k[a+16>>2]=0;if((b|0)==(a+8|0)){Hj(a);return}do{d=b;b=k[b+4>>2]|0;CAb(d)}while((b|0)!=(a+8|0));Hj(a);return}function Wga(a){a=a|0;Vga(a);CAb(a);return}function Xga(a){a=a|0;return 5}function Yga(a){a=a|0;return 437367}function Zga(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;h=r;r=r+16|0;g=kBb(40)|0;k[h>>2]=h;k[h+4>>2]=h;k[h+8>>2]=0;c=k[a+12>>2]|0;if((c|0)!=(a+8|0)){d=c;e=h;f=0;do{i=e;e=kBb(12)|0;k[e+8>>2]=k[d+8>>2];k[e+4>>2]=h;k[e>>2]=i;k[i+4>>2]=e;k[h>>2]=e;f=f+1|0;k[h+8>>2]=f;c=k[c+4>>2]|0;d=c}while((d|0)!=(a+8|0))}iha(g,h,b);if(!(k[h+8>>2]|0)){r=h;return g|0}c=k[h+4>>2]|0;i=(k[h>>2]|0)+4|0;a=k[c>>2]|0;k[a+4>>2]=k[i>>2];k[k[i>>2]>>2]=a;k[h+8>>2]=0;if((c|0)==(h|0)){r=h;return g|0}do{i=c;c=k[c+4>>2]|0;CAb(i)}while((c|0)!=(h|0));r=h;return g|0}function _ga(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=r;r=r+16|0;h=kBb(40)|0;k[i>>2]=i;k[i+4>>2]=i;k[i+8>>2]=0;d=k[a+12>>2]|0;if((d|0)!=(a+8|0)){e=d;f=i;g=0;do{j=f;f=kBb(12)|0;k[f+8>>2]=k[e+8>>2];k[f+4>>2]=i;k[f>>2]=j;k[j+4>>2]=f;k[i>>2]=f;g=g+1|0;k[i+8>>2]=g;d=k[d+4>>2]|0;e=d}while((e|0)!=(a+8|0))}kha(h,i,b,c);if(!(k[i+8>>2]|0)){r=i;return h|0}d=k[i+4>>2]|0;j=(k[i>>2]|0)+4|0;b=k[d>>2]|0;k[b+4>>2]=k[j>>2];k[k[j>>2]>>2]=b;k[i+8>>2]=0;if((d|0)==(i|0)){r=i;return h|0}do{j=d;d=k[d+4>>2]|0;CAb(j)}while((d|0)!=(i|0));r=i;return h|0}function $ga(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,l=0,m=0;l=r;r=r+16|0;j=kBb(40)|0;k[l>>2]=l;k[l+4>>2]=l;k[l+8>>2]=0;f=k[a+12>>2]|0;if((f|0)!=(a+8|0)){g=f;h=l;i=0;do{m=h;h=kBb(12)|0;k[h+8>>2]=k[g+8>>2];k[h+4>>2]=l;k[h>>2]=m;k[m+4>>2]=h;k[l>>2]=h;i=i+1|0;k[l+8>>2]=i;f=k[f+4>>2]|0;g=f}while((g|0)!=(a+8|0))}mha(j,l,b,c,d,e);if(!(k[l+8>>2]|0)){r=l;return j|0}f=k[l+4>>2]|0;m=(k[l>>2]|0)+4|0;b=k[f>>2]|0;k[b+4>>2]=k[m>>2];k[k[m>>2]>>2]=b;k[l+8>>2]=0;if((f|0)==(l|0)){r=l;return j|0}do{m=f;f=k[f+4>>2]|0;CAb(m)}while((f|0)!=(l|0));r=l;return j|0}function aha(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;h=r;r=r+16|0;g=kBb(36)|0;k[h>>2]=h;k[h+4>>2]=h;k[h+8>>2]=0;c=k[a+24>>2]|0;if((c|0)!=(a+20|0)){d=c;e=h;f=0;do{i=e;e=kBb(12)|0;k[e+8>>2]=k[d+8>>2];k[e+4>>2]=h;k[e>>2]=i;k[i+4>>2]=e;k[h>>2]=e;f=f+1|0;k[h+8>>2]=f;c=k[c+4>>2]|0;d=c}while((d|0)!=(a+20|0))}Fva(g,h,b);if(!(k[h+8>>2]|0)){r=h;return g|0}c=k[h+4>>2]|0;i=(k[h>>2]|0)+4|0;a=k[c>>2]|0;k[a+4>>2]=k[i>>2];k[k[i>>2]>>2]=a;k[h+8>>2]=0;if((c|0)==(h|0)){r=h;return g|0}do{i=c;c=k[c+4>>2]|0;CAb(i)}while((c|0)!=(h|0));r=h;return g|0}function bha(a,b){a=a|0;b=b|0;var c=0,d=0;c=k[a+24>>2]|0;if((c|0)==(a+20|0)){a=0;return a|0}else d=c;while(1){d=k[d+8>>2]|0;if(gj[k[(k[d>>2]|0)+16>>2]&511](d,b)|0){c=1;d=4;break}c=k[c+4>>2]|0;d=c;if((d|0)==(a+20|0)){c=0;d=4;break}}if((d|0)==4)return c|0;return 0}function cha(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=r;r=r+48|0;Uj(a);k[a>>2]=24468;k[a+8>>2]=a+8;k[a+12>>2]=a+8;k[a+16>>2]=0;k[a+20>>2]=a+20;k[a+24>>2]=a+20;k[a+28>>2]=0;b=kBb(8)|0;Qva(b);k[b>>2]=24620;k[f+24>>2]=b;b=kBb(8)|0;Qva(b);k[b>>2]=24696;k[f+24+4>>2]=b;b=k[a+12>>2]|0;if((b|0)==(a+8|0))c=f+24|0;else{k[b+8>>2]=k[f+24>>2];b=k[b+4>>2]|0;if((b|0)==(a+8|0))c=f+24+4|0;else{k[b+8>>2]=k[f+24+4>>2];c=f+24+8|0;b=k[b+4>>2]|0}}d=b;if((d|0)==(a+8|0)){k[f+20>>2]=a+8;k[f+32>>2]=k[f+20>>2];dha(a+8|0,f+32|0,c,f+24+8|0,0)|0}else{c=(k[a+8>>2]|0)+4|0;b=k[b>>2]|0;k[b+4>>2]=k[c>>2];k[k[c>>2]>>2]=b;c=d;b=d;do{c=k[c+4>>2]|0;k[a+16>>2]=(k[a+16>>2]|0)+-1;CAb(b);b=c}while((b|0)!=(a+8|0))}b=kBb(8)|0;Uj(b);k[b>>2]=33808;k[f>>2]=b;c=kBb(8)|0;Uj(c);k[c>>2]=24664;k[f+4>>2]=c;c=kBb(8)|0;Uj(c);k[c>>2]=24556;k[f+8>>2]=c;c=kBb(8)|0;Uj(c);k[c>>2]=24588;k[f+12>>2]=c;c=kBb(8)|0;Uj(c);k[c>>2]=33744;k[f+16>>2]=c;c=k[a+24>>2]|0;if((c|0)==(a+20|0)){e=f;b=c}else{k[c+8>>2]=b;b=k[c+4>>2]|0;if((b|0)==(a+20|0))e=f+4|0;else{k[b+8>>2]=k[f+4>>2];b=k[b+4>>2]|0;if((b|0)==(a+20|0))e=f+8|0;else{k[b+8>>2]=k[f+8>>2];b=k[b+4>>2]|0;if((b|0)==(a+20|0))e=f+12|0;else{k[b+8>>2]=k[f+12>>2];b=k[b+4>>2]|0;if((b|0)==(a+20|0))e=f+16|0;else{k[b+8>>2]=k[f+16>>2];e=f+20|0;b=k[b+4>>2]|0}}}}}d=b;if((d|0)==(a+20|0)){k[f+20>>2]=a+20;k[f+32>>2]=k[f+20>>2];eha(a+20|0,f+32|0,e,f+20|0,0)|0;r=f;return}c=(k[a+20>>2]|0)+4|0;b=k[b>>2]|0;k[b+4>>2]=k[c>>2];k[k[c>>2]>>2]=b;c=d;b=d;do{c=k[c+4>>2]|0;k[a+28>>2]=(k[a+28>>2]|0)+-1;CAb(b);b=c}while((b|0)!=(a+20|0));r=f;return}function dha(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;g=k[b>>2]|0;if((c|0)==(d|0)){a=g;return a|0}h=kBb(12)|0;k[h>>2]=0;k[h+8>>2]=k[c>>2];if((c+4|0)==(d|0)){b=1;e=h}else{f=c+4|0;b=1;c=h;while(1){e=kBb(12)|0;k[e+8>>2]=k[f>>2];k[c+4>>2]=e;k[e>>2]=c;b=b+1|0;f=f+4|0;if((f|0)==(d|0))break;else c=e}}d=e;f=k[g>>2]|0;k[f+4>>2]=h;k[h>>2]=f;k[g>>2]=d;k[d+4>>2]=g;k[a+8>>2]=(k[a+8>>2]|0)+b;a=h;return a|0}function eha(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;g=k[b>>2]|0;if((c|0)==(d|0)){a=g;return a|0}h=kBb(12)|0;k[h>>2]=0;k[h+8>>2]=k[c>>2];if((c+4|0)==(d|0)){b=1;e=h}else{f=c+4|0;b=1;c=h;while(1){e=kBb(12)|0;k[e+8>>2]=k[f>>2];k[c+4>>2]=e;k[e>>2]=c;b=b+1|0;f=f+4|0;if((f|0)==(d|0))break;else c=e}}d=e;f=k[g>>2]|0;k[f+4>>2]=h;k[h>>2]=f;k[g>>2]=d;k[d+4>>2]=g;k[a+8>>2]=(k[a+8>>2]|0)+b;a=h;return a|0}function fha(a){a=a|0;var b=0,c=0,d=0;k[a>>2]=24520;b=k[a+36>>2]|0;if(!b){b=k[a+16>>2]|0;if(b|0)oBb(b)}else Di[k[(k[b>>2]|0)+32>>2]&511](b,k[a+16>>2]|0);b=k[a+28>>2]|0;if((b|0)!=(a+24|0)){c=b;do{d=k[c+8>>2]|0;Si[k[(k[d>>2]|0)+12>>2]&1023](d);b=k[b+4>>2]|0;c=b}while((c|0)!=(a+24|0))}if(!(k[a+32>>2]|0)){bia(a);return}b=k[a+28>>2]|0;d=(k[a+24>>2]|0)+4|0;c=k[b>>2]|0;k[c+4>>2]=k[d>>2];k[k[d>>2]>>2]=c;k[a+32>>2]=0;if((b|0)==(a+24|0)){bia(a);return}do{d=b;b=k[b+4>>2]|0;CAb(d)}while((b|0)!=(a+24|0));bia(a);return}function gha(a){a=a|0;fha(a);CAb(a);return}function hha(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=r;r=r+48|0;k[g+32>>2]=0;k[g+32+4>>2]=0;k[g+32+8>>2]=0;d=k[a+8>>2]|0;k[g+32>>2]=d;f=k[a+12>>2]|0;k[g+32+4>>2]=f;d=ha(f<<2,d)|0;k[g+32+8>>2]=d;k[g+32+12>>2]=k[a+16>>2];d=k[a+28>>2]|0;if((d|0)!=(a+24|0)){e=d;f=d;while(1){d=k[e+8>>2]|0;if(gj[k[(k[d>>2]|0)+20>>2]&511](d,b)|0)break;f=k[f+4>>2]|0;e=f;if((e|0)==(a+24|0)){d=0;break}}if(d|0){aP(g+24|0,nP(a+20|0)|0);vj[k[(k[d>>2]|0)+28>>2]&127](g,d,g+32|0,b);e=k[g>>2]|0;f=k[g+4>>2]|0;cP(g+24|0);if(f|0){b=kBb(48)|0;Wqb(g+12|0,c,Fnb(c)|0);Du(b,e,0,g+12|0);_qb(g+12|0);ABb(Gi[k[(k[b>>2]|0)+16>>2]&2047](b)|0,f|0,e|0)|0;Di[k[(k[d>>2]|0)+32>>2]&511](d,f);r=g;return b|0}}}k[g+24>>2]=439736;ria(b,g+24|0)|0;b=xf(16)|0;k[g+8>>2]=k[g+24>>2];os(b,437416,g+8|0);Jc(b|0,96,27);return 0}function iha(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;gia(a);k[a>>2]=24520;k[a+24>>2]=a+24;k[a+28>>2]=a+24;k[a+32>>2]=0;d=k[b+4>>2]|0;if((d|0)==(b|0)){f=a+24|0;e=a+24|0}else{e=a+24|0;f=0;g=d;do{h=e;e=kBb(12)|0;k[e+8>>2]=k[g+8>>2];k[e+4>>2]=a+24;k[e>>2]=h;k[h+4>>2]=e;k[a+24>>2]=e;f=f+1|0;k[a+32>>2]=f;d=k[d+4>>2]|0;g=d}while((g|0)!=(b|0));f=a+24|0;e=k[a+28>>2]|0}k[a+36>>2]=0;d=e;if((d|0)==(f|0)){jha(a,c);return}do{h=k[d+8>>2]|0;Si[k[(k[h>>2]|0)+8>>2]&1023](h);e=k[e+4>>2]|0;d=e}while((d|0)!=(f|0));jha(a,c);return}function jha(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=r;r=r+32|0;c=k[a+28>>2]|0;if((c|0)!=(a+24|0)){d=c;e=c;while(1){c=k[d+8>>2]|0;if(gj[k[(k[c>>2]|0)+16>>2]&511](c,b)|0)break;e=k[e+4>>2]|0;d=e;if((d|0)==(a+24|0)){c=0;break}}if(c|0){kj[k[(k[c>>2]|0)+24>>2]&255](h+16|0,c,b);e=k[h+16>>2]|0;f=k[h+16+4>>2]|0;g=k[h+16+12>>2]|0;if(g|0){b=(k[h+16+8>>2]|0)==(ha(f<<2,e)|0);d=k[a+36>>2]|0;if(!b)if(d|0){Di[k[(k[d>>2]|0)+32>>2]&511](d,g);a=xf(16)|0;os(a,437522,h+8|0);Jc(a|0,96,27)}else{oBb(g);a=xf(16)|0;os(a,437522,h+8|0);Jc(a|0,96,27)}if(d|0){Di[k[(k[d>>2]|0)+32>>2]&511](d,k[a+16>>2]|0);b=a+16|0;d=a+8|0;k[d>>2]=e;e=a+12|0;k[e>>2]=f;k[b>>2]=g;k[a+36>>2]=c;r=h;return}d=k[a+16>>2]|0;if(!d){b=a+16|0;d=a+8|0;k[d>>2]=e;e=a+12|0;k[e>>2]=f;k[b>>2]=g;k[a+36>>2]=c;r=h;return}oBb(d);b=a+16|0;d=a+8|0;k[d>>2]=e;e=a+12|0;k[e>>2]=f;k[b>>2]=g;k[a+36>>2]=c;r=h;return}}}b=Eu(b)|0;a=xf(16)|0;k[h>>2]=(i[b>>0]&1)==0?b+1|0:k[b+8>>2]|0;os(a,437457,h);Jc(a|0,96,27)}function kha(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;gia(a);k[a>>2]=24520;k[a+24>>2]=a+24;k[a+28>>2]=a+24;k[a+32>>2]=0;e=k[b+4>>2]|0;if((e|0)==(b|0)){g=a+24|0;f=a+24|0}else{f=a+24|0;g=0;h=e;do{i=f;f=kBb(12)|0;k[f+8>>2]=k[h+8>>2];k[f+4>>2]=a+24;k[f>>2]=i;k[i+4>>2]=f;k[a+24>>2]=f;g=g+1|0;k[a+32>>2]=g;e=k[e+4>>2]|0;h=e}while((h|0)!=(b|0));g=a+24|0;f=k[a+28>>2]|0}k[a+36>>2]=0;e=f;if((e|0)!=(g|0))do{i=k[e+8>>2]|0;Si[k[(k[i>>2]|0)+8>>2]&1023](i);f=k[f+4>>2]|0;e=f}while((e|0)!=(g|0));k[a+8>>2]=c;k[a+12>>2]=d;lha(a,c,d,0);vBb(k[a+16>>2]|0,0,ha(c<<2,d)|0)|0;return}function lha(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;c=ha(b<<2,c)|0;b=mBb(c)|0;k[a+16>>2]=b;if(d|0)ABb(b|0,d|0,c|0)|0;k[a+36>>2]=0;return}function mha(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,l=0;gia(a);k[a>>2]=24520;k[a+24>>2]=a+24;k[a+28>>2]=a+24;k[a+32>>2]=0;g=k[b+4>>2]|0;if((g|0)==(b|0)){i=a+24|0;h=a+24|0}else{h=a+24|0;i=0;j=g;do{l=h;h=kBb(12)|0;k[h+8>>2]=k[j+8>>2];k[h+4>>2]=a+24;k[h>>2]=l;k[l+4>>2]=h;k[a+24>>2]=h;i=i+1|0;k[a+32>>2]=i;g=k[g+4>>2]|0;j=g}while((j|0)!=(b|0));i=a+24|0;h=k[a+28>>2]|0}k[a+36>>2]=0;g=h;if((g|0)!=(i|0))do{l=k[g+8>>2]|0;Si[k[(k[l>>2]|0)+8>>2]&1023](l);h=k[h+4>>2]|0;g=h}while((g|0)!=(i|0));k[a+8>>2]=c;k[a+12>>2]=d;if(f){k[a+16>>2]=e;return}else{lha(a,c,d,e);return}}function nha(a){a=a|0;CAb(a);return}function oha(a,b){a=a|0;b=b|0;if((Gi[k[(k[b>>2]|0)+20>>2]&2047](b)|0)>>>0<64){a=0;return a|0}b=Gi[k[(k[b>>2]|0)+16>>2]&2047](b)|0;if(Emb(b,437626,12)|0){a=0;return a|0}b=k[b+12>>2]|0;a:do if((b|0)<67305985){switch(b|0){case 16909060:break a;default:b=0}return b|0}else{switch(b|0){case 67305985:break a;default:b=0}return b|0}while(0);a=1;return a|0}function pha(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0;u=r;r=r+128|0;if(!(gj[k[(k[a>>2]|0)+16>>2]&511](a,b)|0)){f=xf(16)|0;os(f,437638,u);Jc(f|0,96,27)}a=u+64|0;g=Gi[k[(k[b>>2]|0)+16>>2]&2047](b)|0;h=a+64|0;do{k[a>>2]=k[g>>2];a=a+4|0;g=g+4|0}while((a|0)<(h|0));n=(k[u+64+12>>2]|0)==16909060;if(n){g=u+64+16|0;h=uBb(k[g>>2]|0)|0;k[g>>2]=h;h=uBb(k[g+4>>2]|0)|0;k[g+4>>2]=h;h=uBb(k[g+8>>2]|0)|0;k[g+8>>2]=h;h=uBb(k[g+12>>2]|0)|0;k[g+12>>2]=h;a=uBb(k[g+16>>2]|0)|0;k[g+16>>2]=a;a=uBb(k[g+20>>2]|0)|0;k[g+20>>2]=a;a=uBb(k[g+24>>2]|0)|0;k[g+24>>2]=a;a=uBb(k[g+28>>2]|0)|0;k[g+28>>2]=a;a=uBb(k[g+32>>2]|0)|0;k[g+32>>2]=a;a=uBb(k[g+36>>2]|0)|0;k[g+36>>2]=a;a=uBb(k[g+40>>2]|0)|0;k[g+40>>2]=a;t=uBb(k[g+44>>2]|0)|0;k[g+44>>2]=t;g=u+64+56|0}else{g=u+64+56|0;a=k[u+64+56>>2]|0;h=k[u+64+28>>2]|0}t=(a|0)==0?1:a;k[g>>2]=t;do switch(h|0){case 36196:{s=15;a=0;break}case 37488:{s=19;a=0;break}case 37489:{s=20;a=0;break}case 37490:{s=21;a=0;break}case 37491:{s=22;a=0;break}case 37492:{s=16;a=0;break}case 37493:{s=16;a=1;break}case 37494:{s=18;a=0;break}case 37495:{s=18;a=1;break}case 37496:{s=17;a=0;break}case 37497:{s=17;a=1;break}case 35840:{s=12;a=0;break}case 35841:{s=11;a=0;break}case 35842:{s=14;a=0;break}case 35843:{s=13;a=0;break}case 33776:{s=1;a=0;break}case 33778:{s=2;a=0;break}case 33779:{s=3;a=0;break}case 37840:{a=1;j=25;break}case 37808:{a=0;j=25;break}case 37841:{a=1;j=27;break}case 37809:{a=0;j=27;break}case 37842:{a=1;j=29;break}case 37810:{a=0;j=29;break}case 37843:{a=1;j=31;break}case 37811:{a=0;j=31;break}case 37844:{a=1;j=33;break}case 37812:{a=0;j=33;break}case 37845:{a=1;j=35;break}case 37813:{a=0;j=35;break}case 37846:{a=1;j=37;break}case 37814:{a=0;j=37;break}case 37847:{a=1;j=39;break}case 37815:{a=0;j=39;break}case 37848:{a=1;j=41;break}case 37816:{a=0;j=41;break}case 37849:{a=1;j=43;break}case 37817:{a=0;j=43;break}case 37850:{a=1;j=45;break}case 37818:{a=0;j=45;break}case 37851:{a=1;j=47;break}case 37819:{a=0;j=47;break}case 37852:{a=1;j=49;break}case 37820:{a=0;j=49;break}case 37853:{a=1;j=51;break}case 37821:{a=0;j=51;break}default:{f=xf(16)|0;os(f,437689,u+8|0);Jc(f|0,96,27)}}while(0);switch(j|0){case 25:{s=23;break}case 27:{s=24;break}case 29:{s=25;break}case 31:{s=26;break}case 33:{s=27;break}case 35:{s=28;break}case 37:{s=29;break}case 39:{s=30;break}case 41:{s=31;break}case 43:{s=32;break}case 45:{s=33;break}case 47:{s=34;break}case 49:{s=35;break}case 51:{s=36;break}}if(k[u+64+48>>2]|0){f=xf(16)|0;os(f,437727,u+16|0);Jc(f|0,96,27)}if((k[u+64+44>>2]|0)>>>0>1){f=xf(16)|0;os(f,437774,u+24|0);Jc(f|0,96,27)}if((k[u+64+52>>2]|0)>>>0>1){f=xf(16)|0;os(f,437818,u+32|0);Jc(f|0,96,27)}m=(k[u+64+60>>2]|0)+64|0;q=Gi[k[(k[b>>2]|0)+16>>2]&2047](b)|0;a:do if((t|0)>0)if(n){h=m;l=0;g=0;while(1){j=h+4|0;if(j>>>0>(Gi[k[(k[b>>2]|0)+20>>2]&2047](b)|0)>>>0)break;h=(uBb(k[q+h>>2]|0)|0)+3&-4;g=h+g|0;l=l+1|0;if((l|0)>=(t|0))break a;else h=h+j|0}f=xf(16)|0;os(f,437867,u+40|0);Jc(f|0,96,27)}else{h=m;l=0;g=0;while(1){j=h+4|0;if(j>>>0>(Gi[k[(k[b>>2]|0)+20>>2]&2047](b)|0)>>>0)break;h=(k[q+h>>2]|0)+3&-4;g=h+g|0;l=l+1|0;if((l|0)>=(t|0))break a;else h=h+j|0}f=xf(16)|0;os(f,437867,u+40|0);Jc(f|0,96,27)}else g=0;while(0);p=mBb(g)|0;if((t|0)<=0){k[d>>2]=g;k[e>>2]=s;i[f>>0]=a;r=u;return p|0}b=k[u+64+36>>2]|0;o=k[u+64+40>>2]|0;if(n){n=0;h=m;m=0;while(1){l=uBb(k[q+h>>2]|0)|0;h=h+4|0;j=b>>>m;k[u+48>>2]=(j|0)==0?1:j;j=o>>>m;k[u+48+4>>2]=(j|0)==0?1:j;k[u+48+8>>2]=l;j=p+n|0;ABb(j|0,q+h|0,l|0)|0;k[u+48+12>>2]=j;j=k[c+4>>2]|0;if((j|0)==(k[c+8>>2]|0))qha(c,u+48|0);else{k[j>>2]=k[u+48>>2];k[j+4>>2]=k[u+48+4>>2];k[j+8>>2]=k[u+48+8>>2];k[j+12>>2]=k[u+48+12>>2];k[c+4>>2]=(k[c+4>>2]|0)+16}m=m+1|0;if((m|0)>=(t|0))break;else{n=(l+3&-4)+n|0;h=(l+3&-4)+h|0}}k[d>>2]=g;k[e>>2]=s;i[f>>0]=a;r=u;return p|0}else{n=0;h=m;m=0;while(1){l=k[q+h>>2]|0;h=h+4|0;j=b>>>m;k[u+48>>2]=(j|0)==0?1:j;j=o>>>m;k[u+48+4>>2]=(j|0)==0?1:j;k[u+48+8>>2]=l;j=p+n|0;ABb(j|0,q+h|0,l|0)|0;k[u+48+12>>2]=j;j=k[c+4>>2]|0;if((j|0)==(k[c+8>>2]|0))qha(c,u+48|0);else{k[j>>2]=k[u+48>>2];k[j+4>>2]=k[u+48+4>>2];k[j+8>>2]=k[u+48+8>>2];k[j+12>>2]=k[u+48+12>>2];k[c+4>>2]=(k[c+4>>2]|0)+16}m=m+1|0;if((m|0)>=(t|0))break;else{n=(l+3&-4)+n|0;h=(l+3&-4)+h|0}}k[d>>2]=g;k[e>>2]=s;i[f>>0]=a;r=u;return p|0}return 0}function qha(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=k[a>>2]|0;c=((k[a+4>>2]|0)-i>>4)+1|0;if(c>>>0>268435455)xzb(a);d=(k[a+8>>2]|0)-i|0;if(d>>4>>>0<134217727){c=d>>3>>>0>>0?c:d>>3;e=k[a+4>>2]|0;if(!c){h=0;f=0;d=e-i>>4;c=e}else{g=e;d=e-i>>4;j=6}}else{d=k[a+4>>2]|0;c=268435455;g=d;d=d-i>>4;j=6}if((j|0)==6){h=c;f=kBb(c<<4)|0;c=g}j=f+(d<<4)|0;k[j>>2]=k[b>>2];k[j+4>>2]=k[b+4>>2];k[j+8>>2]=k[b+8>>2];k[j+12>>2]=k[b+12>>2];b=c-i|0;ABb(j+(0-(b>>4)<<4)|0,i|0,b|0)|0;k[a>>2]=j+(0-(b>>4)<<4);k[a+4>>2]=j+16;k[a+8>>2]=f+(h<<4);if(!i)return;CAb(i);return}function rha(a){a=a|0;CAb(a);return}function sha(a,b){a=a|0;b=b|0;if((Gi[k[(k[b>>2]|0)+20>>2]&2047](b)|0)>>>0<17)return 0;b=Gi[k[(k[b>>2]|0)+16>>2]&2047](b)|0;if(Emb(b,437942,4)|0)return 0;b=j[b+4>>1]|0;if(((b&255)+-49&255)<2)return (b&-256)<<16>>16==12288|0;else return 0;return 0}function tha(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,l=0,n=0;n=r;r=r+32|0;if(!(gj[k[(k[a>>2]|0)+16>>2]&511](a,b)|0)){f=xf(16)|0;os(f,437946,n);Jc(f|0,96,27)}g=Gi[k[(k[b>>2]|0)+16>>2]&2047](b)|0;l=m[g+6>>1]|0;a=m[g+12>>1]|0;g=m[g+14>>1]|0;switch(l<<8&65280|l>>>8|0){case 0:{h=15;break}case 1:{h=16;break}case 3:case 2:{h=17;break}case 4:{h=18;break}case 5:{h=19;break}case 6:{h=21;break}case 7:{h=20;break}case 8:{h=22;break}default:{f=xf(16)|0;os(f,437997,n+8|0);Jc(f|0,96,27)}}j=(Gi[k[(k[b>>2]|0)+20>>2]&2047](b)|0)+-16|0;l=mBb(j)|0;ABb(l|0,(Gi[k[(k[b>>2]|0)+16>>2]&2047](b)|0)+16|0,j|0)|0;k[n+16>>2]=a<<8&65280|a>>>8;k[n+16+4>>2]=g<<8&65280|g>>>8;k[n+16+8>>2]=j;k[n+16+12>>2]=l;a=k[c+4>>2]|0;if((a|0)==(k[c+8>>2]|0)){qha(c,n+16|0);k[d>>2]=j;k[e>>2]=h;i[f>>0]=0;r=n;return l|0}else{k[a>>2]=k[n+16>>2];k[a+4>>2]=k[n+16+4>>2];k[a+8>>2]=k[n+16+8>>2];k[a+12>>2]=k[n+16+12>>2];k[c+4>>2]=(k[c+4>>2]|0)+16;k[d>>2]=j;k[e>>2]=h;i[f>>0]=0;r=n;return l|0}return 0}function uha(a){a=a|0;Jva(a);CAb(a);return}function vha(a,b){a=a|0;b=b|0;var c=0;a=r;r=r+304|0;k[a+300>>2]=0;k[a+296>>2]=0;c=Gi[k[(k[b>>2]|0)+16>>2]&2047](b)|0;b=Gi[k[(k[b>>2]|0)+20>>2]&2047](b)|0;Lta(a);b=(yta(a+300|0,a+296|0,a,c,b)|0)==0;if(!(b&(k[a+300>>2]|0)!=0)){c=0;Zsa(a);r=a;return c|0}c=(k[a+296>>2]|0)!=0;Zsa(a);r=a;return c|0}function wha(a,b){a=a|0;b=b|0;return (b|0)==1|0}function xha(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=r;r=r+320|0;k[d+308>>2]=0;k[d+304>>2]=0;e=Gi[k[(k[c>>2]|0)+16>>2]&2047](c)|0;b=Gi[k[(k[c>>2]|0)+20>>2]&2047](c)|0;k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;k[a+12>>2]=0;Lta(d+8|0);k[d+8+100>>2]=6;k[d+8+104>>2]=8;k[d+8+8>>2]=76;b=zta(a+12|0,d+308|0,d+304|0,d+8|0,e,b)|0;if(!b){c=k[d+308>>2]|0;k[a>>2]=c;e=k[d+304>>2]|0;k[a+4>>2]=e;e=ha(c<<2,e)|0;k[a+8>>2]=e;Zsa(d+8|0);r=d;return}else{a=Kta(b)|0;e=xf(16)|0;k[d>>2]=a;os(e,438084,d);Jc(e|0,96,27)}}function yha(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=r;r=r+16|0;k[h>>2]=d;if(a|0){g=k[a>>2]|0;e=0}else{g=0;e=0}a:while(1){f=e+1|0;k[h>>2]=d<>2]=e;if(!b){b=0;r=h;return b|0}k[b>>2]=k[h>>2];b=0;r=h;return b|0}else if((f|0)==14){r=h;return e|0}return 0}function zha(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+320|0;if((d|0)!=1){c=xf(16)|0;os(c,438116,e);Jc(c|0,96,27)}k[a>>2]=0;k[a+4>>2]=0;Lta(e+16|0);k[e+16+100>>2]=6;k[e+16+104>>2]=8;k[e+16+144>>2]=6;k[e+16+148>>2]=8;k[e+16+60>>2]=77;b=Cta(a+4|0,a,k[c+12>>2]|0,k[c>>2]|0,k[c+4>>2]|0,e+16|0)|0;if(!b){Zsa(e+16|0);r=e;return}else{d=Kta(b)|0;c=xf(16)|0;k[e+8>>2]=d;os(c,438161,e+8|0);Jc(c|0,96,27)}}function Aha(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=r;r=r+16|0;e=qlb(d)|0;k[f>>2]=e;e=hqb(e)|0;do if(!e)e=83;else{if(plb(e,f,c,d)|0){iqb(e);e=1e4;break}if(a|0)k[a>>2]=e;if(!b)e=0;else{k[b>>2]=k[f>>2];e=0}}while(0);r=f;return e|0}function Bha(a,b){a=a|0;b=b|0;if(!b)return;iqb(b);return}function Cha(a){a=a|0;CAb(a);return}function Dha(a,b){a=a|0;b=b|0;if((Gi[k[(k[b>>2]|0)+20>>2]&2047](b)|0)>>>0<52){b=0;return b|0}if((Gi[k[(k[b>>2]|0)+20>>2]&2047](b)|0)>>>0<52){b=0;return b|0}a=Gi[k[(k[b>>2]|0)+16>>2]&2047](b)|0;a=k[a>>2]|0;a:do if((a|0)<1347834371){switch(a|0){case 55727696:{a=1;break}default:break a}return a|0}else{switch(a|0){case 1347834371:{a=1;break}default:break a}return a|0}while(0);a=(Gi[k[(k[b>>2]|0)+16>>2]&2047](b)|0)+44|0;a=k[a>>2]|0;b:do if((a|0)<1347834401){switch(a|0){case 559044176:{a=1;break}default:break b}return a|0}else{switch(a|0){case 1347834401:{a=1;break}default:break b}return a|0}while(0);b=0;return b|0}function Eha(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0;p=r;r=r+112|0;if(!(gj[k[(k[a>>2]|0)+16>>2]&511](a,b)|0)){f=xf(16)|0;os(f,438226,p);Jc(f|0,96,27)}m=p+48|0;a=Gi[k[(k[b>>2]|0)+16>>2]&2047](b)|0;n=m+52|0;do{k[m>>2]=k[a>>2];m=m+4|0;a=a+4|0}while((m|0)<(n|0));a=k[p+48>>2]|0;a:do if((a|0)<1347834371)switch(a|0){case 55727696:{g=16;break}default:g=4}else{switch(a|0){case 1347834371:break;default:{g=4;break a}}k[p+48>>2]=55727696;a=uBb(k[p+48+4>>2]|0)|0;k[p+48+4>>2]=a;a=$f(k[p+48+8>>2]|0,k[p+48+8+4>>2]|0)|0;k[p+48+8>>2]=a;k[p+48+8+4>>2]=L;a=uBb(k[p+48+16>>2]|0)|0;k[p+48+16>>2]=a;a=uBb(k[p+48+20>>2]|0)|0;k[p+48+20>>2]=a;a=uBb(k[p+48+24>>2]|0)|0;k[p+48+24>>2]=a;a=uBb(k[p+48+28>>2]|0)|0;k[p+48+28>>2]=a;a=uBb(k[p+48+32>>2]|0)|0;k[p+48+32>>2]=a;o=uBb(k[p+48+40>>2]|0)|0;k[p+48+40>>2]=o;o=uBb(k[p+48+44>>2]|0)|0;k[p+48+44>>2]=o;o=uBb(k[p+48+48>>2]|0)|0;k[p+48+48>>2]=o}while(0);b:do if((g|0)==4){o=Gi[k[(k[b>>2]|0)+16>>2]&2047](b)|0;a=k[o+4>>2]|0;g=k[o+8>>2]|0;l=k[o+12>>2]|0;j=k[o+16>>2]|0;h=k[o+48>>2]|0;if((k[o+44>>2]|0)==1347834401){a=uBb(a|0)|0;g=uBb(g|0)|0;l=uBb(l|0)|0;j=uBb(j|0)|0;h=uBb(h|0)|0}m=p+48|0;n=m+44|0;do{k[m>>2]=0;m=m+4|0}while((m|0)<(n|0));k[p+48>>2]=55727696;k[p+48+24>>2]=a;k[p+48+28>>2]=g;k[p+48+32>>2]=1;k[p+48+36>>2]=h;k[p+48+40>>2]=1;k[p+48+44>>2]=l;k[p+48+48>>2]=0;switch(j&255|0){case 24:{k[p+48+8>>2]=1;k[p+48+8+4>>2]=0;g=16;break b}case 25:{k[p+48+8>>2]=3;k[p+48+8+4>>2]=0;g=16;break b}case 28:{k[p+48+8>>2]=4;k[p+48+8+4>>2]=0;g=16;break b}case 29:{k[p+48+8>>2]=5;k[p+48+8+4>>2]=0;g=16;break b}case 32:{k[p+48+8>>2]=7;k[p+48+8+4>>2]=0;g=16;break b}case 34:{k[p+48+8>>2]=9;k[p+48+8+4>>2]=0;g=16;break b}case 36:{k[p+48+8>>2]=11;k[p+48+8+4>>2]=0;g=16;break b}case 54:{k[p+48+8>>2]=6;k[p+48+8+4>>2]=0;g=16;break b}default:{k[p+48+8>>2]=127;k[p+48+8+4>>2]=0;g=16;break b}}}while(0);if((g|0)==16)a=k[p+48+32>>2]|0;if(a>>>0>1){f=xf(16)|0;os(f,438277,p+8|0);Jc(f|0,96,27)}a=(k[p+48+20>>2]|0)+-1|0;if(a>>>0<9)a=(273>>>(a&511)&1)!=0;else a=0;do switch(k[p+48+8>>2]|0){case 0:{o=11;break}case 1:{o=13;break}case 2:{o=12;break}case 3:{o=14;break}case 6:{o=15;break}case 7:{o=1;break}case 9:{o=2;break}case 11:{o=3;break}case 12:{o=a?5:4;break}case 13:{o=a?7:6;break}case 14:{o=a?9:8;break}case 15:{o=10;break}case 22:{o=16;break}case 23:{o=17;break}case 24:{o=18;break}case 25:{o=a?20:19;break}case 26:{o=a?22:21;break}case 27:{o=23;break}case 28:{o=24;break}case 29:{o=25;break}case 30:{o=26;break}case 31:{o=27;break}case 32:{o=28;break}case 33:{o=29;break}case 34:{o=30;break}case 35:{o=31;break}case 36:{o=32;break}case 37:{o=33;break}case 38:{o=34;break}case 39:{o=35;break}case 40:{o=36;break}default:{f=xf(16)|0;os(f,438335,p+16|0);Jc(f|0,96,27)}}while(0);h=k[p+48+44>>2]|0;if((h|0)>0){g=0;a=0;do{a=(Fha(p+48|0,g)|0)+a|0;g=g+1|0}while((g|0)<(h|0))}else a=0;g=(k[p+48+48>>2]|0)+52|0;if((Gi[k[(k[b>>2]|0)+20>>2]&2047](b)|0)>>>0<(g+a|0)>>>0){f=xf(16)|0;os(f,438387,p+24|0);Jc(f|0,96,27)}n=mBb(a)|0;m=(Gi[k[(k[b>>2]|0)+16>>2]&2047](b)|0)+g|0;if((h|0)<=0){k[d>>2]=a;k[e>>2]=o;c=p+48+16|0;c=k[c>>2]|0;c=(c|0)==1;c=c&1;i[f>>0]=c;r=p;return n|0}j=0;l=0;while(1){g=Fha(p+48|0,l)|0;h=j;j=g+j|0;if(j>>>0>a>>>0){g=65;break}b=k[p+48+28>>2]>>l;k[p+32>>2]=(b|0)<1?1:b;b=k[p+48+24>>2]>>l;k[p+32+4>>2]=(b|0)<1?1:b;k[p+32+8>>2]=g;ABb(n+h|0,m+h|0,g|0)|0;k[p+32+12>>2]=n+h;g=k[c+4>>2]|0;if((g|0)==(k[c+8>>2]|0))qha(c,p+32|0);else{k[g>>2]=k[p+32>>2];k[g+4>>2]=k[p+32+4>>2];k[g+8>>2]=k[p+32+8>>2];k[g+12>>2]=k[p+32+12>>2];k[c+4>>2]=(k[c+4>>2]|0)+16}l=l+1|0;if((l|0)>=(k[p+48+44>>2]|0)){g=65;break}}if((g|0)==65){k[d>>2]=a;k[e>>2]=o;c=p+48+16|0;c=k[c>>2]|0;c=(c|0)==1;c=c&1;i[f>>0]=c;r=p;return n|0}return 0}function Fha(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=k[a+8>>2]|0;f=k[a+8+4>>2]|0;do switch(e|0){case 0:{if(!f){g=8;h=16}else c=55;break}case 1:{if(!f){g=8;h=16}else c=55;break}case 2:{if(!f)c=37;else c=55;break}case 3:{if(!f)c=37;else c=55;break}case 4:{if(!f){g=4;h=8}else c=55;break}case 5:{if(!f){g=4;h=4}else c=55;break}case 6:{if(!f)c=40;else c=55;break}case 7:{if(!f)c=40;else c=55;break}case 8:{if(!f)c=40;else c=55;break}case 9:{if(!f)c=40;else c=55;break}case 10:{if(!f)c=40;else c=55;break}case 11:{if(!f)c=40;else c=55;break}case 12:{if(!f)c=40;else c=55;break}case 13:{if(!f)c=40;else c=55;break}case 14:{if(!f)c=40;else c=55;break}case 15:{if(!f)c=40;else c=55;break}case 22:{if(!f)c=40;else c=55;break}case 23:{if(!f)c=40;else c=55;break}case 24:{if(!f)c=40;else c=55;break}case 25:{if(!f)c=40;else c=55;break}case 26:{if(!f)c=40;else c=55;break}case 27:{if(!f){g=4;h=4}else c=55;break}case 28:{if(!f){g=4;h=5}else c=55;break}case 29:{if(!f){g=5;h=5}else c=55;break}case 30:{if(!f){g=5;h=6}else c=55;break}case 31:{if(!f){g=6;h=6}else c=55;break}case 32:{if(!f){g=5;h=8}else c=55;break}case 33:{if(!f){g=6;h=8}else c=55;break}case 34:{if(!f){g=8;h=8}else c=55;break}case 35:{if(!f){g=5;h=10}else c=55;break}case 36:{if(!f){g=6;h=10}else c=55;break}case 37:{if(!f){g=8;h=10}else c=55;break}case 38:{if(!f){g=10;h=10}else c=55;break}case 39:{if(!f){g=10;h=12}else c=55;break}case 40:{if(!f){g=12;h=12}else c=55;break}default:c=55}while(0);if((c|0)==37){g=8;h=8}else if((c|0)==40){g=4;h=4}else if((c|0)==55){g=1;h=1}c=k[a+28>>2]>>b;d=k[a+24>>2]>>b;b=k[a+32>>2]>>b;b=(b|0)<1?1:b;c=(h+-1+((c|0)<1?1:c)|0)/(h|0)|0;d=(g+-1+((d|0)<1?1:d)|0)/(g|0)|0;a=xBb(e|0,f|0,-27,-1)|0;i=L;if(i>>>0<0|(i|0)==0&a>>>0<14){i=ha(ha(c<<4,d)|0,b)|0;return i|0}a=FBb(e|0,f|0,56)|0;i=DBb(a|0,L|0,56)|0;a:do if((e|0)==(i|e|0)&0==(L|f&16777215|0))switch(e|0){case 4:case 1:case 0:{a=2;break a}case 25:case 24:case 22:case 12:case 7:case 6:case 5:case 3:case 2:{a=4;break a}case 26:case 23:case 15:case 14:case 13:case 11:case 10:case 9:case 8:{a=8;break a}default:{a=0;break a}}else{j=FBb(e|0,f|0,40)|0;i=FBb(e|0,f|0,48)|0;a=(j&255)+a+(f&255)+(i&255)|0}while(0);j=(ha(ha(ha(ha(ha(h,g)|0,c)|0,d)|0,b)|0,a)|0)/8|0;return j|0}function Gha(a){a=a|0;Jva(a);CAb(a);return}function Hha(a,b){a=a|0;b=b|0;var c=0;a=r;r=r+208|0;k[a+8>>2]=0;k[a+4>>2]=0;k[a>>2]=0;c=Gi[k[(k[b>>2]|0)+16>>2]&2047](b)|0;b=Gi[k[(k[b>>2]|0)+20>>2]&2047](b)|0;k[a+16+16>>2]=0;k[a+16+32>>2]=0;k[a+16+176>>2]=c;k[a+16+168>>2]=c;k[a+16+180>>2]=c+b;k[a+16+172>>2]=c+b;b=(Iha(a+16|0,a+8|0,a+4|0,a)|0)==1;if(!(b&(k[a+8>>2]|0)>0)){c=0;r=a;return c|0}c=(k[a+4>>2]|0)>0;r=a;return c|0}function Iha(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0;m=r;r=r+18192|0;k[m>>2]=a;if(Jha(m,2)|0){if(b|0)k[b>>2]=k[k[m>>2]>>2];if(c|0)k[c>>2]=k[(k[m>>2]|0)+4>>2];if(d|0)k[d>>2]=k[(k[m>>2]|0)+8>>2];d=1;r=m;return d|0}e=k[m>>2]|0;k[e+168>>2]=k[e+176>>2];k[e+172>>2]=k[e+180>>2];e=k[a+168>>2]|0;f=k[a+172>>2]|0;if(e>>>0>>0){k[a+168>>2]=e+1;h=i[e>>0]|0;g=e+1|0;l=16}else if(!(k[a+32>>2]|0))l=25;else{e=Ri[k[a+16>>2]&255](k[a+28>>2]|0,a+40|0,k[a+36>>2]|0)|0;if(!e){k[a+32>>2]=0;i[a+40>>0]=0;g=a+41|0;f=a+41|0;e=0}else{g=a+41|0;f=a+40+e|0;e=i[a+40>>0]|0}k[a+172>>2]=f;k[a+168>>2]=g;h=e;l=16}a:do if((l|0)==16)if(h<<24>>24==66){if(g>>>0>>0){h=g+1|0;k[a+168>>2]=h;e=i[g>>0]|0}else{if(!(k[a+32>>2]|0)){l=25;break}e=Ri[k[a+16>>2]&255](k[a+28>>2]|0,a+40|0,k[a+36>>2]|0)|0;if(!e){k[a+32>>2]=0;i[a+40>>0]=0;g=a+41|0;f=a+41|0;e=0}else{g=a+41|0;f=a+40+e|0;e=i[a+40>>0]|0}k[a+172>>2]=f;k[a+168>>2]=g;h=g}g=h;if(e<<24>>24==77){if(!(k[a+16>>2]|0))l=29;else{e=f-g|0;if((e|0)<12){k[a+168>>2]=f;Di[k[a+20>>2]&511](k[a+28>>2]|0,12-e|0)}else l=29}if((l|0)==29)k[a+168>>2]=h+12;switch(Mha(a)|0){case 12:{g=k[a+168>>2]|0;f=k[a+172>>2]|0;if(g>>>0>>0){k[a+168>>2]=g+1;e=i[g>>0]|0;g=g+1|0}else if(!(k[a+32>>2]|0))e=0;else{e=Ri[k[a+16>>2]&255](k[a+28>>2]|0,a+40|0,k[a+36>>2]|0)|0;if(!e){k[a+32>>2]=0;i[a+40>>0]=0;g=a+41|0;f=a+41|0;e=0}else{g=a+41|0;f=a+40+e|0;e=i[a+40>>0]|0}k[a+172>>2]=f;k[a+168>>2]=g}h=e&255;if(g>>>0>>0){j=g+1|0;k[a+168>>2]=j;e=i[g>>0]|0;g=j}else if(!(k[a+32>>2]|0))e=0;else{e=Ri[k[a+16>>2]&255](k[a+28>>2]|0,a+40|0,k[a+36>>2]|0)|0;if(!e){k[a+32>>2]=0;i[a+40>>0]=0;g=a+41|0;f=a+41|0;e=0}else{g=a+41|0;f=a+40+e|0;e=i[a+40>>0]|0}k[a+172>>2]=f;k[a+168>>2]=g}k[b>>2]=(e&255)<<8|h;if(g>>>0>>0){j=g+1|0;k[a+168>>2]=j;e=i[g>>0]|0;g=j}else if(!(k[a+32>>2]|0))e=0;else{e=Ri[k[a+16>>2]&255](k[a+28>>2]|0,a+40|0,k[a+36>>2]|0)|0;if(!e){k[a+32>>2]=0;i[a+40>>0]=0;g=a+41|0;f=a+41|0;e=0}else{g=a+41|0;f=a+40+e|0;e=i[a+40>>0]|0}k[a+172>>2]=f;k[a+168>>2]=g}h=e&255;if(g>>>0>>0){j=g+1|0;k[a+168>>2]=j;e=i[g>>0]|0;g=j}else if(!(k[a+32>>2]|0))e=0;else{e=Ri[k[a+16>>2]&255](k[a+28>>2]|0,a+40|0,k[a+36>>2]|0)|0;if(!e){k[a+32>>2]=0;i[a+40>>0]=0;g=a+41|0;f=a+41|0;e=0}else{g=a+41|0;f=a+40+e|0;e=i[a+40>>0]|0}k[a+172>>2]=f;k[a+168>>2]=g}e=(e&255)<<8|h;break}case 124:case 108:case 56:case 40:{e=Mha(a)|0;k[b>>2]=e;e=Mha(a)|0;g=k[a+168>>2]|0;f=k[a+172>>2]|0;break}default:{e=k[a+176>>2]|0;k[a+168>>2]=e;f=k[a+180>>2]|0;k[a+172>>2]=f;break a}}k[c>>2]=e;if(g>>>0>>0){j=g+1|0;k[a+168>>2]=j;e=i[g>>0]|0;g=j}else if(!(k[a+32>>2]|0))e=0;else{e=Ri[k[a+16>>2]&255](k[a+28>>2]|0,a+40|0,k[a+36>>2]|0)|0;if(!e){k[a+32>>2]=0;i[a+40>>0]=0;g=a+41|0;f=a+41|0;e=0}else{g=a+41|0;f=a+40+e|0;e=i[a+40>>0]|0}k[a+172>>2]=f;k[a+168>>2]=g}h=e&255;if(g>>>0>>0){j=g+1|0;k[a+168>>2]=j;e=i[g>>0]|0;g=j}else if(!(k[a+32>>2]|0))e=0;else{e=Ri[k[a+16>>2]&255](k[a+28>>2]|0,a+40|0,k[a+36>>2]|0)|0;if(!e){k[a+32>>2]=0;i[a+40>>0]=0;g=a+41|0;f=a+41|0;e=0}else{g=a+41|0;f=a+40+e|0;e=i[a+40>>0]|0}k[a+172>>2]=f;k[a+168>>2]=g}if(((e&255)<<8|h|0)!=1){e=k[a+176>>2]|0;k[a+168>>2]=e;f=k[a+180>>2]|0;k[a+172>>2]=f;break}if(g>>>0>>0){c=g+1|0;k[a+168>>2]=c;e=i[g>>0]|0;g=c}else if(!(k[a+32>>2]|0))e=0;else{e=Ri[k[a+16>>2]&255](k[a+28>>2]|0,a+40|0,k[a+36>>2]|0)|0;if(!e){k[a+32>>2]=0;i[a+40>>0]=0;g=a+41|0;f=a+41|0;e=0}else{g=a+41|0;f=a+40+e|0;e=i[a+40>>0]|0}k[a+172>>2]=f;k[a+168>>2]=g}h=e&255;if(g>>>0>>0){k[a+168>>2]=g+1;e=i[g>>0]|0}else if(!(k[a+32>>2]|0))e=0;else{e=Ri[k[a+16>>2]&255](k[a+28>>2]|0,a+40|0,k[a+36>>2]|0)|0;if(!e){k[a+32>>2]=0;i[a+40>>0]=0;g=a+41|0;f=a+41|0;e=0}else{g=a+41|0;f=a+40+e|0;e=i[a+40>>0]|0}k[a+172>>2]=f;k[a+168>>2]=g}k[d>>2]=((e&255)<<8|h)>>>3;d=1;r=m;return d|0}else l=25}else l=25;while(0);if((l|0)==25){e=k[a+176>>2]|0;k[a+168>>2]=e;f=k[a+180>>2]|0;k[a+172>>2]=f}if(e>>>0>>0){k[a+168>>2]=e+1;e=e+1|0}else if(k[a+32>>2]|0){f=Ri[k[a+16>>2]&255](k[a+28>>2]|0,a+40|0,k[a+36>>2]|0)|0;if(!f){k[a+32>>2]=0;i[a+40>>0]=0;e=a+41|0;f=a+41|0}else{e=a+41|0;f=a+40+f|0}k[a+172>>2]=f;k[a+168>>2]=e}if(e>>>0>>0){l=e+1|0;k[a+168>>2]=l;h=i[e>>0]|0;e=l;l=107}else if(k[a+32>>2]|0){e=Ri[k[a+16>>2]&255](k[a+28>>2]|0,a+40|0,k[a+36>>2]|0)|0;if(!e){k[a+32>>2]=0;i[a+40>>0]=0;g=a+41|0;f=a+41|0;e=0}else{g=a+41|0;f=a+40+e|0;e=i[a+40>>0]|0}k[a+172>>2]=f;k[a+168>>2]=g;h=e;e=g;l=107}if((l|0)==107)if((h&255)>1){k[a+168>>2]=k[a+176>>2];k[a+172>>2]=k[a+180>>2];d=0;r=m;return d|0}if(e>>>0>>0){h=e+1|0;k[a+168>>2]=h;e=i[e>>0]|0}else{if(!(k[a+32>>2]|0)){d=0;r=m;return d|0}e=Ri[k[a+16>>2]&255](k[a+28>>2]|0,a+40|0,k[a+36>>2]|0)|0;if(!e){k[a+32>>2]=0;i[a+40>>0]=0;g=a+41|0;f=a+41|0;e=0}else{g=a+41|0;f=a+40+e|0;e=i[a+40>>0]|0}k[a+172>>2]=f;k[a+168>>2]=g;h=g}g=h;switch(e<<24>>24){case 1:case 2:case 3:case 9:case 10:case 11:break;default:{d=0;r=m;return d|0}}if(!(k[a+16>>2]|0))l=120;else{e=f-g|0;if((e|0)<9){k[a+168>>2]=f;Di[k[a+20>>2]&511](k[a+28>>2]|0,9-e|0);g=k[a+168>>2]|0;f=k[a+172>>2]|0}else l=120}if((l|0)==120){g=h+9|0;k[a+168>>2]=g}if(g>>>0>>0){j=g+1|0;k[a+168>>2]=j;e=i[g>>0]|0;g=j}else if(!(k[a+32>>2]|0))e=0;else{e=Ri[k[a+16>>2]&255](k[a+28>>2]|0,a+40|0,k[a+36>>2]|0)|0;if(!e){k[a+32>>2]=0;i[a+40>>0]=0;g=a+41|0;f=a+41|0;e=0}else{g=a+41|0;f=a+40+e|0;e=i[a+40>>0]|0}k[a+172>>2]=f;k[a+168>>2]=g}h=e&255;if(g>>>0>>0){j=g+1|0;k[a+168>>2]=j;e=i[g>>0]|0;g=j}else if(!(k[a+32>>2]|0))e=0;else{e=Ri[k[a+16>>2]&255](k[a+28>>2]|0,a+40|0,k[a+36>>2]|0)|0;if(!e){k[a+32>>2]=0;i[a+40>>0]=0;g=a+41|0;f=a+41|0;e=0}else{g=a+41|0;f=a+40+e|0;e=i[a+40>>0]|0}k[a+172>>2]=f;k[a+168>>2]=g}j=(e&255)<<8|h;if(!j){k[a+168>>2]=k[a+176>>2];k[a+172>>2]=k[a+180>>2];d=0;r=m;return d|0}if(g>>>0>>0){h=g+1|0;k[a+168>>2]=h;e=i[g>>0]|0;g=h}else if(!(k[a+32>>2]|0))e=0;else{e=Ri[k[a+16>>2]&255](k[a+28>>2]|0,a+40|0,k[a+36>>2]|0)|0;if(!e){k[a+32>>2]=0;i[a+40>>0]=0;g=a+41|0;f=a+41|0;e=0}else{g=a+41|0;f=a+40+e|0;e=i[a+40>>0]|0}k[a+172>>2]=f;k[a+168>>2]=g}h=e&255;if(g>>>0>>0){n=g+1|0;k[a+168>>2]=n;e=i[g>>0]|0;g=n}else if(!(k[a+32>>2]|0))e=0;else{e=Ri[k[a+16>>2]&255](k[a+28>>2]|0,a+40|0,k[a+36>>2]|0)|0;if(!e){k[a+32>>2]=0;i[a+40>>0]=0;g=a+41|0;f=a+41|0;e=0}else{g=a+41|0;f=a+40+e|0;e=i[a+40>>0]|0}k[a+172>>2]=f;k[a+168>>2]=g}h=(e&255)<<8|h;if(!h){k[a+168>>2]=k[a+176>>2];k[a+172>>2]=k[a+180>>2];n=0;r=m;return n|0}if(g>>>0>>0){k[a+168>>2]=g+1;e=i[g>>0]|0;l=160}else if(k[a+32>>2]|0){e=Ri[k[a+16>>2]&255](k[a+28>>2]|0,a+40|0,k[a+36>>2]|0)|0;if(!e){k[a+32>>2]=0;i[a+40>>0]=0;g=a+41|0;f=a+41|0;e=0}else{g=a+41|0;f=a+40+e|0;e=i[a+40>>0]|0}k[a+172>>2]=f;k[a+168>>2]=g;l=160}b:do if((l|0)==160){switch(e<<24>>24){case 8:case 16:case 24:case 32:break;default:break b}if(b|0)k[b>>2]=j;if(c|0)k[c>>2]=h;if(!d){n=1;r=m;return n|0}k[d>>2]=(e&255)>>>3&255;n=1;r=m;return n|0}while(0);k[a+168>>2]=k[a+176>>2];k[a+172>>2]=k[a+180>>2];n=0;r=m;return n|0}function Jha(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;i[a+18116>>0]=-1;h=k[a>>2]|0;e=k[h+168>>2]|0;if(e>>>0<(k[h+172>>2]|0)>>>0){k[h+168>>2]=e+1;e=i[e>>0]|0}else{if(!(k[h+32>>2]|0)){a=0;return a|0}e=Ri[k[h+16>>2]&255](k[h+28>>2]|0,h+40|0,k[h+36>>2]|0)|0;if(!e){k[h+32>>2]=0;i[h+40>>0]=0;g=h+41|0;f=h+41|0;e=0}else{g=h+41|0;f=h+40+e|0;e=i[h+40>>0]|0}k[h+172>>2]=f;k[h+168>>2]=g}if(e<<24>>24!=-1){a=0;return a|0}a:while(1){h=k[a>>2]|0;e=k[h+168>>2]|0;if(e>>>0<(k[h+172>>2]|0)>>>0){k[h+168>>2]=e+1;e=i[e>>0]|0}else{if(!(k[h+32>>2]|0)){u=0;s=186;break}e=Ri[k[h+16>>2]&255](k[h+28>>2]|0,h+40|0,k[h+36>>2]|0)|0;if(!e){k[h+32>>2]=0;i[h+40>>0]=0;g=h+41|0;f=h+41|0;e=0}else{g=h+41|0;f=h+40+e|0;e=i[h+40>>0]|0}k[h+172>>2]=f;k[h+168>>2]=g}switch(e<<24>>24){case -1:break;case -40:{s=17;break a}default:{u=0;s=186;break a}}}if((s|0)==17){if((b|0)==1){a=1;return a|0}e=i[a+18116>>0]|0;b:do if(e<<24>>24==-1){h=k[a>>2]|0;e=k[h+168>>2]|0;if(e>>>0<(k[h+172>>2]|0)>>>0){k[h+168>>2]=e+1;e=i[e>>0]|0}else{if(!(k[h+32>>2]|0)){e=-1;break}e=Ri[k[h+16>>2]&255](k[h+28>>2]|0,h+40|0,k[h+36>>2]|0)|0;if(!e){k[h+32>>2]=0;i[h+40>>0]=0;g=h+41|0;f=h+41|0;e=0}else{g=h+41|0;f=h+40+e|0;e=i[h+40>>0]|0}k[h+172>>2]=f;k[h+168>>2]=g}if(e<<24>>24==-1)do{h=k[a>>2]|0;e=k[h+168>>2]|0;if(e>>>0<(k[h+172>>2]|0)>>>0){k[h+168>>2]=e+1;e=i[e>>0]|0}else{if(!(k[h+32>>2]|0)){e=0;break b}e=Ri[k[h+16>>2]&255](k[h+28>>2]|0,h+40|0,k[h+36>>2]|0)|0;if(!e){k[h+32>>2]=0;i[h+40>>0]=0;g=h+41|0;f=h+41|0;e=0}else{g=h+41|0;f=h+40+e|0;e=i[h+40>>0]|0}k[h+172>>2]=f;k[h+168>>2]=g}}while(e<<24>>24==-1);else e=-1}else i[a+18116>>0]=-1;while(0);f=e&255;e=e<<24>>24==-62;c:do if(e|(f|1|0)==193)m=e;else{d:while(1){if(!(Kha(a,f)|0)){u=0;s=186;break}e=i[a+18116>>0]|0;e:do if(e<<24>>24==-1){h=k[a>>2]|0;e=k[h+168>>2]|0;if(e>>>0<(k[h+172>>2]|0)>>>0){k[h+168>>2]=e+1;l=i[e>>0]|0;s=48}else if(k[h+32>>2]|0){e=Ri[k[h+16>>2]&255](k[h+28>>2]|0,h+40|0,k[h+36>>2]|0)|0;if(!e){k[h+32>>2]=0;i[h+40>>0]=0;g=h+41|0;e=h+41|0;f=0}else{g=h+41|0;e=h+40+e|0;f=i[h+40>>0]|0}k[h+172>>2]=e;k[h+168>>2]=g;l=f;s=48}if((s|0)==48){s=0;if(l<<24>>24==-1)while(1){h=k[a>>2]|0;e=k[h+168>>2]|0;if(e>>>0<(k[h+172>>2]|0)>>>0){k[h+168>>2]=e+1;e=i[e>>0]|0}else{if(!(k[h+32>>2]|0)){e=0;break e}e=Ri[k[h+16>>2]&255](k[h+28>>2]|0,h+40|0,k[h+36>>2]|0)|0;if(!e){k[h+32>>2]=0;i[h+40>>0]=0;g=h+41|0;f=h+41|0;e=0}else{g=h+41|0;f=h+40+e|0;e=i[h+40>>0]|0}k[h+172>>2]=f;k[h+168>>2]=g}if(e<<24>>24!=-1)break e}}while(1){e=k[a>>2]|0;if(!(k[e+16>>2]|0))s=60;else if(Gi[k[e+24>>2]&2047](k[e+28>>2]|0)|0)if(!(k[e+32>>2]|0)){u=0;s=186;break d}else s=60;if((s|0)==60){s=0;if((k[e+168>>2]|0)>>>0>=(k[e+172>>2]|0)>>>0){u=0;s=186;break d}}e=i[a+18116>>0]|0;if(e<<24>>24!=-1){s=62;break}j=k[a>>2]|0;f=k[j+168>>2]|0;if(f>>>0<(k[j+172>>2]|0)>>>0){k[j+168>>2]=f+1;f=i[f>>0]|0}else{if(!(k[j+32>>2]|0))continue;f=Ri[k[j+16>>2]&255](k[j+28>>2]|0,j+40|0,k[j+36>>2]|0)|0;if(!f){k[j+32>>2]=0;i[j+40>>0]=0;h=j+41|0;g=j+41|0;f=0}else{h=j+41|0;g=j+40+f|0;f=i[j+40>>0]|0}k[j+172>>2]=g;k[j+168>>2]=h}if(f<<24>>24==-1)break}if((s|0)==62){s=0;i[a+18116>>0]=-1;break}do{h=k[a>>2]|0;e=k[h+168>>2]|0;if(e>>>0<(k[h+172>>2]|0)>>>0){k[h+168>>2]=e+1;e=i[e>>0]|0}else{if(!(k[h+32>>2]|0)){e=0;break e}e=Ri[k[h+16>>2]&255](k[h+28>>2]|0,h+40|0,k[h+36>>2]|0)|0;if(!e){k[h+32>>2]=0;i[h+40>>0]=0;g=h+41|0;f=h+41|0;e=0}else{g=h+41|0;f=h+40+e|0;e=i[h+40>>0]|0}k[h+172>>2]=f;k[h+168>>2]=g}}while(e<<24>>24==-1)}else i[a+18116>>0]=-1;while(0);f=e&255;e=e<<24>>24==-62;if(e|(f|1|0)==193){m=e;break c}}if((s|0)==186)return u|0}while(0);k[a+18124>>2]=m&1;o=k[a>>2]|0;e=k[o+168>>2]|0;f=k[o+172>>2]|0;if(e>>>0>>0){k[o+168>>2]=e+1;h=i[e>>0]|0;e=e+1|0}else if(!(k[o+32>>2]|0))h=0;else{e=Ri[k[o+16>>2]&255](k[o+28>>2]|0,o+40|0,k[o+36>>2]|0)|0;if(!e){k[o+32>>2]=0;i[o+40>>0]=0;g=o+41|0;f=o+41|0;e=0}else{g=o+41|0;f=o+40+e|0;e=i[o+40>>0]|0}k[o+172>>2]=f;k[o+168>>2]=g;h=e;e=g}h=(h&255)<<8;if(e>>>0>>0){m=e+1|0;k[o+168>>2]=m;g=i[e>>0]|0;e=m}else if(!(k[o+32>>2]|0))g=0;else{f=Ri[k[o+16>>2]&255](k[o+28>>2]|0,o+40|0,k[o+36>>2]|0)|0;if(!f){k[o+32>>2]=0;i[o+40>>0]=0;e=o+41|0;f=o+41|0;g=0}else{e=o+41|0;f=o+40+f|0;g=i[o+40>>0]|0}k[o+172>>2]=f;k[o+168>>2]=e}l=g&255|h;if(l>>>0<11){a=0;return a|0}if(e>>>0>>0){g=e+1|0;k[o+168>>2]=g;e=i[e>>0]|0}else{if(!(k[o+32>>2]|0)){a=0;return a|0}e=Ri[k[o+16>>2]&255](k[o+28>>2]|0,o+40|0,k[o+36>>2]|0)|0;if(!e){k[o+32>>2]=0;i[o+40>>0]=0;g=o+41|0;f=o+41|0;e=0}else{g=o+41|0;f=o+40+e|0;e=i[o+40>>0]|0}k[o+172>>2]=f;k[o+168>>2]=g}if(e<<24>>24!=8){a=0;return a|0}if(g>>>0>>0){m=g+1|0;k[o+168>>2]=m;e=i[g>>0]|0;g=m}else if(!(k[o+32>>2]|0))e=0;else{e=Ri[k[o+16>>2]&255](k[o+28>>2]|0,o+40|0,k[o+36>>2]|0)|0;if(!e){k[o+32>>2]=0;i[o+40>>0]=0;g=o+41|0;f=o+41|0;e=0}else{g=o+41|0;f=o+40+e|0;e=i[o+40>>0]|0}k[o+172>>2]=f;k[o+168>>2]=g}h=(e&255)<<8;if(g>>>0>>0){m=g+1|0;k[o+168>>2]=m;e=i[g>>0]|0;g=m}else if(!(k[o+32>>2]|0))e=0;else{e=Ri[k[o+16>>2]&255](k[o+28>>2]|0,o+40|0,k[o+36>>2]|0)|0;if(!e){k[o+32>>2]=0;i[o+40>>0]=0;g=o+41|0;f=o+41|0;e=0}else{g=o+41|0;f=o+40+e|0;e=i[o+40>>0]|0}k[o+172>>2]=f;k[o+168>>2]=g}m=e&255|h;k[o+4>>2]=m;if(!m){a=0;return a|0}if(g>>>0>>0){m=g+1|0;k[o+168>>2]=m;e=i[g>>0]|0;g=m}else if(!(k[o+32>>2]|0))e=0;else{e=Ri[k[o+16>>2]&255](k[o+28>>2]|0,o+40|0,k[o+36>>2]|0)|0;if(!e){k[o+32>>2]=0;i[o+40>>0]=0;g=o+41|0;f=o+41|0;e=0}else{g=o+41|0;f=o+40+e|0;e=i[o+40>>0]|0}k[o+172>>2]=f;k[o+168>>2]=g}h=(e&255)<<8;if(g>>>0>>0){m=g+1|0;k[o+168>>2]=m;e=i[g>>0]|0;g=m}else if(!(k[o+32>>2]|0))e=0;else{e=Ri[k[o+16>>2]&255](k[o+28>>2]|0,o+40|0,k[o+36>>2]|0)|0;if(!e){k[o+32>>2]=0;i[o+40>>0]=0;g=o+41|0;f=o+41|0;e=0}else{g=o+41|0;f=o+40+e|0;e=i[o+40>>0]|0}k[o+172>>2]=f;k[o+168>>2]=g}m=e&255|h;k[o>>2]=m;if(!m){a=0;return a|0}if(g>>>0>>0){m=g+1|0;k[o+168>>2]=m;e=i[g>>0]|0;g=m}else{if(!(k[o+32>>2]|0)){a=0;return a|0}e=Ri[k[o+16>>2]&255](k[o+28>>2]|0,o+40|0,k[o+36>>2]|0)|0;if(!e){k[o+32>>2]=0;i[o+40>>0]=0;g=o+41|0;f=o+41|0;e=0}else{g=o+41|0;f=o+40+e|0;e=i[o+40>>0]|0}k[o+172>>2]=f;k[o+168>>2]=g}h=e&255;switch(e<<24>>24){case 1:case 3:break;default:{a=0;return a|0}}k[o+8>>2]=h;j=0;do{k[a+17820+(j*72|0)+44>>2]=0;k[a+17820+(j*72|0)+56>>2]=0;j=j+1|0}while((j|0)!=(h|0));if((l|0)!=((h*3|0)+8|0)){a=0;return a|0}f:do if(!(e<<24>>24))t=h;else{l=0;while(1){do if(g>>>0>>0){m=g+1|0;k[o+168>>2]=m;e=i[g>>0]|0;g=m}else{if(!(k[o+32>>2]|0)){e=0;break}e=Ri[k[o+16>>2]&255](k[o+28>>2]|0,o+40|0,k[o+36>>2]|0)|0;if(!e){k[o+32>>2]=0;i[o+40>>0]=0;f=o+41|0;e=0}else{f=o+40+e|0;e=i[o+40>>0]|0}k[o+172>>2]=f;k[o+168>>2]=o+41;g=o+41|0}while(0);m=e&255;k[a+17820+(l*72|0)>>2]=m;j=l;l=l+1|0;if(!((m|0)==(l|0)|(m|0)==(j|0))){u=0;s=186;break}do if(g>>>0>>0){m=g+1|0;k[o+168>>2]=m;e=i[g>>0]|0;g=m}else{if(!(k[o+32>>2]|0)){e=0;break}e=Ri[k[o+16>>2]&255](k[o+28>>2]|0,o+40|0,k[o+36>>2]|0)|0;if(!e){k[o+32>>2]=0;i[o+40>>0]=0;f=o+41|0;e=0}else{f=o+40+e|0;e=i[o+40>>0]|0}k[o+172>>2]=f;k[o+168>>2]=o+41;g=o+41|0}while(0);h=e&255;k[a+17820+(j*72|0)+4>>2]=h>>>4;if((e&255)>79|(h>>>4|0)==0){u=0;s=186;break}k[a+17820+(j*72|0)+8>>2]=h&15;if(((h&15)+-1|0)>>>0>3){u=0;s=186;break}do if(g>>>0>>0){p=g+1|0;k[o+168>>2]=p;d=i[g>>0]|0;n=f;s=170}else{if(!(k[o+32>>2]|0)){k[a+17820+(j*72|0)+12>>2]=0;q=f;r=g;break}d=Ri[k[o+16>>2]&255](k[o+28>>2]|0,o+40|0,k[o+36>>2]|0)|0;if(!d){k[o+32>>2]=0;i[o+40>>0]=0;e=o+41|0;d=0}else{e=o+40+d|0;d=i[o+40>>0]|0}k[o+172>>2]=e;k[o+168>>2]=o+41;n=e;p=o+41|0;s=170}while(0);if((s|0)==170){s=0;k[a+17820+(j*72|0)+12>>2]=d&255;if((d&255)>3){u=0;s=186;break}else{q=n;r=p}}e=k[o+8>>2]|0;if((l|0)>=(e|0)){t=e;break f}else{g=r;f=q}}if((s|0)==186)return u|0}while(0);if(b|0){a=1;return a|0}h=k[o>>2]|0;j=k[o+4>>2]|0;if((((1073741824/(h>>>0)|0)>>>0)/(t>>>0)|0)>>>0>>0){a=0;return a|0}if((t|0)>0){d=k[o+8>>2]|0;e=1;g=0;f=1;do{t=k[a+17820+(g*72|0)+4>>2]|0;e=(t|0)>(e|0)?t:e;t=k[a+17820+(g*72|0)+8>>2]|0;f=(t|0)>(f|0)?t:f;g=g+1|0}while((g|0)<(d|0));n=e}else{d=t;n=1;f=1}k[a+17796>>2]=n;k[a+17800>>2]=f;b=n<<3;k[a+17812>>2]=b;t=f<<3;k[a+17816>>2]=t;k[a+17804>>2]=((h+-1+b|0)>>>0)/(b>>>0)|0;k[a+17808>>2]=((j+-1+t|0)>>>0)/(t>>>0)|0;if((d|0)<=0){a=1;return a|0}l=n+-1|0;m=f+-1|0;g=h;e=j;h=0;while(1){d=k[a+17820+(h*72|0)+4>>2]|0;g=((l+(ha(d,g)|0)|0)>>>0)/(n>>>0)|0;k[a+17820+(h*72|0)+28>>2]=g;g=k[a+17820+(h*72|0)+8>>2]|0;e=((m+(ha(g,e)|0)|0)>>>0)/(f>>>0)|0;k[a+17820+(h*72|0)+32>>2]=e;d=ha(k[a+17804>>2]<<3,d)|0;k[a+17820+(h*72|0)+36>>2]=d;e=ha(k[a+17808>>2]<<3,g)|0;k[a+17820+(h*72|0)+40>>2]=e;g=hqb(ha(e,d)|0|15)|0;k[a+17820+(h*72|0)+48>>2]=g;if(!g){c=h;break}k[a+17820+(h*72|0)+44>>2]=g+15&-16;k[a+17820+(h*72|0)+56>>2]=0;if(!(k[a+18124>>2]|0)){d=0;e=0}else{k[a+17820+(h*72|0)+64>>2]=d>>3;k[a+17820+(h*72|0)+68>>2]=e>>3;e=hqb(ha(d<<4,e>>3)|0|15)|0;d=e+15&-16}k[a+17820+(h*72|0)+52>>2]=e;k[a+17820+(h*72|0)+60>>2]=d;d=h+1|0;if((d|0)>=(k[o+8>>2]|0)){u=1;s=186;break}g=k[o>>2]|0;e=k[o+4>>2]|0;h=d}if((s|0)==186)return u|0;if((c|0)<=0){a=0;return a|0}do{u=c;c=c+-1|0;t=a+17820+(c*72|0)+48|0;iqb(k[t>>2]|0);k[t>>2]=0}while((u|0)>1);u=0;return u|0}else if((s|0)==186)return u|0;return 0}function Kha(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0;o=r;r=r+64|0;switch(b|0){case 221:{f=k[a>>2]|0;b=k[f+168>>2]|0;c=k[f+172>>2]|0;if(b>>>0>>0){k[f+168>>2]=b+1;e=i[b>>0]|0;b=b+1|0}else if(!(k[f+32>>2]|0))e=0;else{b=Ri[k[f+16>>2]&255](k[f+28>>2]|0,f+40|0,k[f+36>>2]|0)|0;if(!b){k[f+32>>2]=0;i[f+40>>0]=0;d=f+41|0;c=f+41|0;b=0}else{d=f+41|0;c=f+40+b|0;b=i[f+40>>0]|0}k[f+172>>2]=c;k[f+168>>2]=d;e=b;b=d}e=(e&255)<<8;if(b>>>0>>0){k[f+168>>2]=b+1;b=i[b>>0]|0}else if(!(k[f+32>>2]|0))b=0;else{b=Ri[k[f+16>>2]&255](k[f+28>>2]|0,f+40|0,k[f+36>>2]|0)|0;if(!b){k[f+32>>2]=0;i[f+40>>0]=0;d=f+41|0;c=f+41|0;b=0}else{d=f+41|0;c=f+40+b|0;b=i[f+40>>0]|0}k[f+172>>2]=c;k[f+168>>2]=d}if((b&255|e|0)!=4){a=0;a=a&1;r=o;return a|0}f=k[a>>2]|0;c=k[f+168>>2]|0;d=k[f+172>>2]|0;if(c>>>0>>0){k[f+168>>2]=c+1;b=i[c>>0]|0;c=c+1|0}else if(!(k[f+32>>2]|0))b=0;else{b=Ri[k[f+16>>2]&255](k[f+28>>2]|0,f+40|0,k[f+36>>2]|0)|0;if(!b){k[f+32>>2]=0;i[f+40>>0]=0;c=f+41|0;d=f+41|0;b=0}else{c=f+41|0;d=f+40+b|0;b=i[f+40>>0]|0}k[f+172>>2]=d;k[f+168>>2]=c}e=(b&255)<<8;if(c>>>0>>0){k[f+168>>2]=c+1;b=i[c>>0]|0}else if(!(k[f+32>>2]|0))b=0;else{b=Ri[k[f+16>>2]&255](k[f+28>>2]|0,f+40|0,k[f+36>>2]|0)|0;if(!b){k[f+32>>2]=0;i[f+40>>0]=0;d=f+41|0;c=f+41|0;b=0}else{d=f+41|0;c=f+40+b|0;b=i[f+40>>0]|0}k[f+172>>2]=c;k[f+168>>2]=d}k[a+18168>>2]=b&255|e;a=1;a=a&1;r=o;return a|0}case 219:{f=k[a>>2]|0;c=k[f+168>>2]|0;d=k[f+172>>2]|0;if(c>>>0>>0){k[f+168>>2]=c+1;b=i[c>>0]|0;c=c+1|0}else if(!(k[f+32>>2]|0))b=0;else{b=Ri[k[f+16>>2]&255](k[f+28>>2]|0,f+40|0,k[f+36>>2]|0)|0;if(!b){k[f+32>>2]=0;i[f+40>>0]=0;c=f+41|0;d=f+41|0;b=0}else{c=f+41|0;d=f+40+b|0;b=i[f+40>>0]|0}k[f+172>>2]=d;k[f+168>>2]=c}e=(b&255)<<8;if(c>>>0>>0){k[f+168>>2]=c+1;b=i[c>>0]|0}else if(!(k[f+32>>2]|0))b=0;else{b=Ri[k[f+16>>2]&255](k[f+28>>2]|0,f+40|0,k[f+36>>2]|0)|0;if(!b){k[f+32>>2]=0;i[f+40>>0]=0;d=f+41|0;c=f+41|0;b=0}else{d=f+41|0;c=f+40+b|0;b=i[f+40>>0]|0}k[f+172>>2]=c;k[f+168>>2]=d}b=b&255|e;a:do if(b>>>0>2){h=b+-2|0;while(1){e=k[a>>2]|0;b=k[e+168>>2]|0;if(b>>>0<(k[e+172>>2]|0)>>>0){k[e+168>>2]=b+1;b=i[b>>0]|0}else if(!(k[e+32>>2]|0))b=0;else{b=Ri[k[e+16>>2]&255](k[e+28>>2]|0,e+40|0,k[e+36>>2]|0)|0;if(!b){k[e+32>>2]=0;i[e+40>>0]=0;d=e+41|0;c=e+41|0;b=0}else{d=e+41|0;c=e+40+b|0;b=i[e+40>>0]|0}k[e+172>>2]=c;k[e+168>>2]=d}f=b&255;if((f&240|0)!=0|(f&15)>>>0>3){b=0;break}else g=0;do{e=k[a>>2]|0;b=k[e+168>>2]|0;if(b>>>0<(k[e+172>>2]|0)>>>0){k[e+168>>2]=b+1;b=i[b>>0]|0}else if(!(k[e+32>>2]|0))b=0;else{b=Ri[k[e+16>>2]&255](k[e+28>>2]|0,e+40|0,k[e+36>>2]|0)|0;if(!b){k[e+32>>2]=0;i[e+40>>0]=0;d=e+41|0;c=e+41|0;b=0}else{d=e+41|0;c=e+40+b|0;b=i[e+40>>0]|0}k[e+172>>2]=c;k[e+168>>2]=d}i[(l[438472+g>>0]|0)+(a+13444+((f&15)<<6))>>0]=b;g=g+1|0}while((g|0)!=64);b=h+-65|0;if((h|0)>65)h=b;else break a}a=b&1;r=o;return a|0}else b=b+-2|0;while(0);a=(b|0)==0;a=a&1;r=o;return a|0}case 196:{f=k[a>>2]|0;b=k[f+168>>2]|0;c=k[f+172>>2]|0;if(b>>>0>>0){k[f+168>>2]=b+1;e=i[b>>0]|0;b=b+1|0}else if(!(k[f+32>>2]|0))e=0;else{b=Ri[k[f+16>>2]&255](k[f+28>>2]|0,f+40|0,k[f+36>>2]|0)|0;if(!b){k[f+32>>2]=0;i[f+40>>0]=0;d=f+41|0;c=f+41|0;b=0}else{d=f+41|0;c=f+40+b|0;b=i[f+40>>0]|0}k[f+172>>2]=c;k[f+168>>2]=d;e=b;b=d}e=(e&255)<<8;if(b>>>0>>0){k[f+168>>2]=b+1;b=i[b>>0]|0}else if(!(k[f+32>>2]|0))b=0;else{b=Ri[k[f+16>>2]&255](k[f+28>>2]|0,f+40|0,k[f+36>>2]|0)|0;if(!b){k[f+32>>2]=0;i[f+40>>0]=0;d=f+41|0;c=f+41|0;b=0}else{d=f+41|0;c=f+40+b|0;b=i[f+40>>0]|0}k[f+172>>2]=c;k[f+168>>2]=d}b=b&255|e;b:do if(b>>>0>2){h=b+-2|0;while(1){e=k[a>>2]|0;b=k[e+168>>2]|0;if(b>>>0<(k[e+172>>2]|0)>>>0){k[e+168>>2]=b+1;b=i[b>>0]|0}else if(!(k[e+32>>2]|0))b=0;else{b=Ri[k[e+16>>2]&255](k[e+28>>2]|0,e+40|0,k[e+36>>2]|0)|0;if(!b){k[e+32>>2]=0;i[e+40>>0]=0;d=e+41|0;c=e+41|0;b=0}else{d=e+41|0;c=e+40+b|0;b=i[e+40>>0]|0}k[e+172>>2]=c;k[e+168>>2]=d}n=b&255;if((b&255)>31|(n&15)>>>0>3)break;else{g=0;f=0}while(1){e=k[a>>2]|0;b=k[e+168>>2]|0;if(b>>>0<(k[e+172>>2]|0)>>>0){k[e+168>>2]=b+1;b=i[b>>0]|0}else if(!(k[e+32>>2]|0))b=0;else{b=Ri[k[e+16>>2]&255](k[e+28>>2]|0,e+40|0,k[e+36>>2]|0)|0;if(!b){k[e+32>>2]=0;i[e+40>>0]=0;d=e+41|0;c=e+41|0;b=0}else{d=e+41|0;c=e+40+b|0;b=i[e+40>>0]|0}k[e+172>>2]=c;k[e+168>>2]=d}m=b&255;k[o+(g<<2)>>2]=m;m=m+f|0;g=g+1|0;if((g|0)==16)break;else f=m}h=h+-17|0;if(!(n&240)){if(!(Lha(a+4+((n&15)*1680|0)|0,o)|0))break;g=a+4+((n&15)*1680|0)+1024|0}else{if(!(Lha(a+6724+((n&15)*1680|0)|0,o)|0))break;g=a+6724+((n&15)*1680|0)+1024|0}if((m|0)>0){f=0;do{e=k[a>>2]|0;b=k[e+168>>2]|0;if(b>>>0<(k[e+172>>2]|0)>>>0){k[e+168>>2]=b+1;b=i[b>>0]|0}else if(!(k[e+32>>2]|0))b=0;else{b=Ri[k[e+16>>2]&255](k[e+28>>2]|0,e+40|0,k[e+36>>2]|0)|0;if(!b){k[e+32>>2]=0;i[e+40>>0]=0;d=e+41|0;c=e+41|0;b=0}else{d=e+41|0;c=e+40+b|0;b=i[e+40>>0]|0}k[e+172>>2]=c;k[e+168>>2]=d}i[g+f>>0]=b;f=f+1|0}while((f|0)!=(m|0))}if(n&240|0){f=0;do{b=i[a+6724+((n&15)*1680|0)+f>>0]|0;d=a+13700+((n&15)<<10)+(f<<1)|0;j[d>>1]=0;if(b<<24>>24!=-1){e=l[a+6724+((n&15)*1680|0)+1024+(b&255)>>0]|0;c=l[a+6724+((n&15)*1680|0)+1280+(b&255)>>0]|0;if(e&15|0)if((c+(e&15)|0)>>>0<10){b=(f<>>(9-(e&15)|0);if((b|0)<(1<<(e&15)+-1|0))b=(-1<<(e&15))+1+b|0;if((b+128|0)>>>0<256)j[d>>1]=(b<<8|e&240)+(c+(e&15))}}f=f+1|0}while((f|0)!=512)}if((h-m|0)>0)h=h-m|0;else{b=h-m|0;break b}}a=0;a=a&1;r=o;return a|0}else b=b+-2|0;while(0);a=(b|0)==0;a=a&1;r=o;return a|0}case 255:{a=0;a=a&1;r=o;return a|0}default:{if(!((b|0)==254|(b&-16|0)==224)){a=0;a=a&1;r=o;return a|0}h=k[a>>2]|0;b=k[h+168>>2]|0;c=k[h+172>>2]|0;if(b>>>0>>0){k[h+168>>2]=b+1;f=i[b>>0]|0;b=b+1|0;e=c;d=c}else if(!(k[h+32>>2]|0)){f=0;e=c;d=c}else{b=Ri[k[h+16>>2]&255](k[h+28>>2]|0,h+40|0,k[h+36>>2]|0)|0;if(!b){k[h+32>>2]=0;i[h+40>>0]=0;c=h+41|0;d=h+41|0;b=0}else{c=h+41|0;d=h+40+b|0;b=i[h+40>>0]|0}k[h+172>>2]=d;k[h+168>>2]=c;f=b;b=c;e=d}g=(f&255)<<8;if(b>>>0>>0){f=b+1|0;k[h+168>>2]=f;c=i[b>>0]|0;b=f;f=d}else if(!(k[h+32>>2]|0)){c=0;f=d}else{c=Ri[k[h+16>>2]&255](k[h+28>>2]|0,h+40|0,k[h+36>>2]|0)|0;if(!c){k[h+32>>2]=0;i[h+40>>0]=0;b=h+41|0;d=h+41|0;c=0}else{b=h+41|0;d=h+40+c|0;c=i[h+40>>0]|0}k[h+172>>2]=d;k[h+168>>2]=b;f=d;e=d}d=c&255|g;if(d>>>0<2){k[h+168>>2]=f;a=1;a=a&1;r=o;return a|0}if(k[h+16>>2]|0){c=e-b|0;if((d+-2|0)>(c|0)){k[h+168>>2]=e;Di[k[h+20>>2]&511](k[h+28>>2]|0,d+-2-c|0);a=1;a=a&1;r=o;return a|0}}k[h+168>>2]=b+(d+-2);a=1;a=a&1;r=o;return a|0}}return 0}function Lha(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,n=0;h=0;c=0;do{e=b+(h<<2)|0;h=h+1|0;if((k[e>>2]|0)>0){f=h&255;g=0;d=c;while(1){c=d+1|0;i[a+1280+d>>0]=f;g=g+1|0;if((g|0)>=(k[e>>2]|0))break;else d=c}}}while((h|0)!=16);i[a+1280+c>>0]=0;c=0;d=1;e=0;while(1){k[a+1612+(d<<2)>>2]=e-c;if((l[a+1280+e>>0]|0|0)==(d|0)){f=e;while(1){g=c+1|0;e=f+1|0;j[a+512+(f<<1)>>1]=c;if((l[a+1280+e>>0]|0|0)==(d|0)){c=g;f=e}else break}if((c|0)<(1<>2]=c<<16-d;d=d+1|0;if((d|0)<17)c=c<<1;else break}if((n|0)==16)return c|0;k[a+1540+(d<<2)>>2]=-1;vBb(a|0,-1,512)|0;if((e|0)>0)d=0;else{a=1;return a|0}do{c=i[a+1280+d>>0]|0;if((c&255)<10)if((9-(c&255)|0)!=31)vBb(a+((m[a+512+(d<<1)>>1]|0)<<9-(c&255))|0,d&255|0,((1<<9-(c&255)|0)>1?1<<9-(c&255):1)|0)|0;d=d+1|0}while((d|0)!=(e|0));c=1;return c|0}function Mha(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=k[a+168>>2]|0;c=k[a+172>>2]|0;if(b>>>0>>0){k[a+168>>2]=b+1;e=i[b>>0]|0;b=b+1|0}else if(!(k[a+32>>2]|0))e=0;else{b=Ri[k[a+16>>2]&255](k[a+28>>2]|0,a+40|0,k[a+36>>2]|0)|0;if(!b){k[a+32>>2]=0;i[a+40>>0]=0;d=a+41|0;c=a+41|0;b=0}else{d=a+41|0;c=a+40+b|0;b=i[a+40>>0]|0}k[a+172>>2]=c;k[a+168>>2]=d;e=b;b=d}e=e&255;if(b>>>0>>0){f=b+1|0;k[a+168>>2]=f;d=i[b>>0]|0;b=f}else if(!(k[a+32>>2]|0))d=0;else{c=Ri[k[a+16>>2]&255](k[a+28>>2]|0,a+40|0,k[a+36>>2]|0)|0;if(!c){k[a+32>>2]=0;i[a+40>>0]=0;b=a+41|0;c=a+41|0;d=0}else{b=a+41|0;c=a+40+c|0;d=i[a+40>>0]|0}k[a+172>>2]=c;k[a+168>>2]=b}f=(d&255)<<8|e;if(b>>>0>>0){e=b+1|0;k[a+168>>2]=e;d=i[b>>0]|0;b=e}else if(!(k[a+32>>2]|0))d=0;else{c=Ri[k[a+16>>2]&255](k[a+28>>2]|0,a+40|0,k[a+36>>2]|0)|0;if(!c){k[a+32>>2]=0;i[a+40>>0]=0;b=a+41|0;c=a+41|0;d=0}else{b=a+41|0;c=a+40+c|0;d=i[a+40>>0]|0}k[a+172>>2]=c;k[a+168>>2]=b}e=d&255;if(b>>>0>>0){k[a+168>>2]=b+1;a=i[b>>0]|0;a=a&255;a=a<<8;a=a|e;a=a<<16;a=f|a;return a|0}if(!(k[a+32>>2]|0)){a=0;a=a&255;a=a<<8;a=a|e;a=a<<16;a=f|a;return a|0}b=Ri[k[a+16>>2]&255](k[a+28>>2]|0,a+40|0,k[a+36>>2]|0)|0;if(!b){k[a+32>>2]=0;i[a+40>>0]=0;d=a+41|0;b=a+41|0;c=0}else{d=a+41|0;b=a+40+b|0;c=i[a+40>>0]|0}k[a+172>>2]=b;k[a+168>>2]=d;a=c;a=a&255;a=a<<8;a=a|e;a=a<<16;a=f|a;return a|0}function Nha(a,b){a=a|0;b=b|0;return (b|0)==0|0}function Oha(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0;l=r;r=r+192|0;k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;k[a+12>>2]=0;k[l+4>>2]=0;h=Gi[k[(k[c>>2]|0)+16>>2]&2047](c)|0;b=Gi[k[(k[c>>2]|0)+20>>2]&2047](c)|0;k[l+8+16>>2]=0;k[l+8+32>>2]=0;k[l+8+176>>2]=h;k[l+8+168>>2]=h;k[l+8+180>>2]=h+b;k[l+8+172>>2]=h+b;b=Pha(l+8|0,a,a+4|0,l+4|0,4)|0;if((b|0)!=0&0!=0){c=k[a>>2]|0;d=k[a+4>>2]|0;if((d>>1|0)>0)if((c|0)>0){h=0;do{e=ha(h,c)|0;f=ha(d+-1-h|0,c)|0;g=0;do{o=g+e<<2;m=g+f<<2;n=i[b+o>>0]|0;i[b+o>>0]=i[b+m>>0]|0;i[b+m>>0]=n;n=i[b+(o|1)>>0]|0;i[b+(o|1)>>0]=i[b+(m|1)>>0]|0;i[b+(m|1)>>0]=n;n=i[b+(o|2)>>0]|0;i[b+(o|2)>>0]=i[b+(m|2)>>0]|0;i[b+(m|2)>>0]=n;n=i[b+(o|3)>>0]|0;i[b+(o|3)>>0]=i[b+(m|3)>>0]|0;i[b+(m|3)>>0]=n;g=g+1|0}while((g|0)!=(c|0));h=h+1|0}while((h|0)!=(d>>1|0));k[a+12>>2]=b}else j=8;else j=8}else j=8;do if((j|0)==8){k[a+12>>2]=b;if(!b){o=xf(16)|0;os(o,438809,l);Jc(o|0,96,27)}else{c=k[a>>2]|0;break}}while(0);if((c|0)<1){o=xf(16)|0;os(o,438809,l);Jc(o|0,96,27)}b=k[a+4>>2]|0;if((b|0)<1){o=xf(16)|0;os(o,438809,l);Jc(o|0,96,27)}else{o=ha(c<<2,b)|0;k[a+8>>2]=o;r=l;return}}function Pha(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,m=0,n=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0;z=0;D=r;r=r+30880|0;q=k[a+168>>2]|0;s=k[a+172>>2]|0;if(q>>>0>>0){k[a+168>>2]=q+1;m=i[q>>0]|0;n=s;p=q+1|0;z=8}else if(!(k[a+32>>2]|0))t=1;else{m=Ri[k[a+16>>2]&255](k[a+28>>2]|0,a+40|0,k[a+36>>2]|0)|0;if(!m){k[a+32>>2]=0;i[a+40>>0]=0;p=a+41|0;n=a+41|0;m=0}else{p=a+41|0;n=a+40+m|0;m=i[a+40>>0]|0}k[a+172>>2]=n;k[a+168>>2]=p;z=8}a:do if((z|0)==8)if(m<<24>>24==-1){b:while(1){if(p>>>0>>0){t=p+1|0;k[a+168>>2]=t;m=i[p>>0]|0;p=t}else{if(!(k[a+32>>2]|0)){t=1;break a}m=Ri[k[a+16>>2]&255](k[a+28>>2]|0,a+40|0,k[a+36>>2]|0)|0;if(!m){k[a+32>>2]=0;i[a+40>>0]=0;n=a+41|0;m=0}else{n=a+40+m|0;m=i[a+40>>0]|0}k[a+172>>2]=n;k[a+168>>2]=a+41;p=a+41|0}switch(m<<24>>24){case -1:break;case -40:break b;default:{t=1;break a}}}t=0}else t=1;while(0);m=k[a+176>>2]|0;k[a+168>>2]=m;n=k[a+180>>2]|0;k[a+172>>2]=n;if(!t){k[D+4>>2]=a;k[D+4+18176>>2]=98;k[D+4+18180>>2]=47;k[D+4+18184>>2]=78;k[a+8>>2]=0;c:{f=1;if(f){f=0;if(e>>>0>4)u=0;else f=1}if(f)if(1){k[D+4+17868>>2]=0;k[D+4+17872>>2]=0;k[D+4+17940>>2]=0;k[D+4+17944>>2]=0;k[D+4+18012>>2]=0;k[D+4+18016>>2]=0;k[D+4+18084>>2]=0;k[D+4+18088>>2]=0;k[(D+4+18168|0)>>2]=0;d:do if(Jha(D+4|0,0)|0){f=i[(D+4+18116|0)>>0]|0;e:do if(f<<24>>24==-1){m=k[D+4>>2]|0;f=k[m+168>>2]|0;if(f>>>0<(k[m+172>>2]|0)>>>0){k[m+168>>2]=f+1;f=i[f>>0]|0}else{if(!(k[m+32>>2]|0)){f=-1;break}f=Ri[k[m+16>>2]&255](k[m+28>>2]|0,m+40|0,k[m+36>>2]|0)|0;if(!f){k[m+32>>2]=0;i[m+40>>0]=0;h=m+41|0;g=m+41|0;f=0}else{h=m+41|0;g=m+40+f|0;f=i[m+40>>0]|0}k[m+172>>2]=g;k[m+168>>2]=h}if(f<<24>>24==-1)do{m=k[D+4>>2]|0;f=k[m+168>>2]|0;if(f>>>0<(k[m+172>>2]|0)>>>0){k[m+168>>2]=f+1;f=i[f>>0]|0}else{if(!(k[m+32>>2]|0)){f=0;break e}f=Ri[k[m+16>>2]&255](k[m+28>>2]|0,m+40|0,k[m+36>>2]|0)|0;if(!f){k[m+32>>2]=0;i[m+40>>0]=0;h=m+41|0;g=m+41|0;f=0}else{h=m+41|0;g=m+40+f|0;f=i[m+40>>0]|0}k[m+172>>2]=g;k[m+168>>2]=h}}while(f<<24>>24==-1);else f=-1}else i[(D+4+18116|0)>>0]=-1;while(0);f:while(1){u=f&255;g:{v=1;a=u|0;if(v)switch(a|0){case 217:break f;default:v=1}if(v){v=0;switch(a|0){case 218:{n=k[D+4>>2]|0;f=k[n+168>>2]|0;g=k[n+172>>2]|0;if(f>>>0>>0){k[n+168>>2]=f+1;m=i[f>>0]|0;f=f+1|0}else if(!(k[n+32>>2]|0))m=0;else{f=Ri[k[n+16>>2]&255](k[n+28>>2]|0,n+40|0,k[n+36>>2]|0)|0;if(!f){k[n+32>>2]=0;i[n+40>>0]=0;h=n+41|0;g=n+41|0;f=0}else{h=n+41|0;g=n+40+f|0;f=i[n+40>>0]|0}k[n+172>>2]=g;k[n+168>>2]=h;m=f;f=h}m=(m&255)<<8;if(f>>>0>>0){k[n+168>>2]=f+1;f=i[f>>0]|0}else if(!(k[n+32>>2]|0))f=0;else{f=Ri[k[n+16>>2]&255](k[n+28>>2]|0,n+40|0,k[n+36>>2]|0)|0;if(!f){k[n+32>>2]=0;i[n+40>>0]=0;h=n+41|0;g=n+41|0;f=0}else{h=n+41|0;g=n+40+f|0;f=i[n+40>>0]|0}k[n+172>>2]=g;k[n+168>>2]=h}n=f&255|m;m=k[D+4>>2]|0;f=k[m+168>>2]|0;if(f>>>0<(k[m+172>>2]|0)>>>0){k[m+168>>2]=f+1;f=i[f>>0]|0}else{if(!(k[m+32>>2]|0)){z=59;break f}f=Ri[k[m+16>>2]&255](k[m+28>>2]|0,m+40|0,k[m+36>>2]|0)|0;if(!f){k[m+32>>2]=0;i[m+40>>0]=0;h=m+41|0;g=m+41|0;f=0}else{h=m+41|0;g=m+40+f|0;f=i[m+40>>0]|0}k[m+172>>2]=g;k[m+168>>2]=h}g=f&255;k[(D+4+18148|0)>>2]=g;if((f+-1&255)>3)break d;f=k[D+4>>2]|0;if((g|0)>(k[f+8>>2]|0))break d;if((n|0)==((g<<1)+6|0))t=0;else break d;while(1){s=(t|0)<(g|0);p=f+168|0;g=k[p>>2]|0;q=f+172|0;if(g>>>0<(k[q>>2]|0)>>>0){k[p>>2]=g+1;f=i[g>>0]|0}else{g=f+32|0;if(!(k[g>>2]|0))f=0;else{n=f+40|0;h=Ri[k[f+16>>2]&255](k[f+28>>2]|0,n,k[f+36>>2]|0)|0;if(!h){k[g>>2]=0;g=f+41|0;i[n>>0]=0;m=g;f=0}else{m=f+41|0;g=f+40+h|0;f=i[n>>0]|0}k[q>>2]=g;k[p>>2]=m}}n=f&255;if(!s)break;m=k[D+4>>2]|0;f=k[m+168>>2]|0;do if(f>>>0<(k[m+172>>2]|0)>>>0){k[m+168>>2]=f+1;g=i[f>>0]|0;f=m}else{if(!(k[m+32>>2]|0)){g=0;f=m;break}f=Ri[k[m+16>>2]&255](k[m+28>>2]|0,m+40|0,k[m+36>>2]|0)|0;if(!f){k[m+32>>2]=0;i[m+40>>0]=0;h=m+41|0;f=m+41|0;g=0}else{h=m+41|0;f=m+40+f|0;g=i[m+40>>0]|0}k[m+172>>2]=f;k[m+168>>2]=h;f=k[D+4>>2]|0}while(0);m=g&255;h=k[f+8>>2]|0;h:do if((h|0)>0){f=0;do{if((k[D+4+17820+(f*72|0)>>2]|0)==(n|0))break h;f=f+1|0}while((f|0)<(h|0))}else f=0;while(0);if((f|0)==(h|0))break d;k[D+4+17820+(f*72|0)+16>>2]=m>>>4;if((g&255)>63)break d;k[D+4+17820+(f*72|0)+20>>2]=m&15;if((m&15)>>>0>3)break d;k[D+4+18152+(t<<2)>>2]=f;g=k[(D+4+18148|0)>>2]|0;f=k[D+4>>2]|0;t=t+1|0}k[D+4+18128>>2]=n;m=k[D+4>>2]|0;f=k[m+168>>2]|0;h=k[m+172>>2]|0;if(f>>>0>>0){k[m+168>>2]=f+1;g=i[f>>0]|0;f=f+1|0}else if(!(k[m+32>>2]|0))g=0;else{f=Ri[k[m+16>>2]&255](k[m+28>>2]|0,m+40|0,k[m+36>>2]|0)|0;if(!f){k[m+32>>2]=0;i[m+40>>0]=0;h=m+41|0;f=m+41|0;g=0}else{h=m+41|0;f=m+40+f|0;g=i[m+40>>0]|0}k[m+172>>2]=f;k[m+168>>2]=h;h=k[D+4>>2]|0;m=h;f=k[h+168>>2]|0;h=k[h+172>>2]|0}k[(D+4+18132|0)>>2]=g&255;p=m+168|0;q=m+172|0;if(f>>>0>>0){k[p>>2]=f+1;f=i[f>>0]|0}else{f=m+32|0;if(!(k[f>>2]|0))f=0;else{n=m+40|0;g=Ri[k[m+16>>2]&255](k[m+28>>2]|0,n,k[m+36>>2]|0)|0;if(!g){k[f>>2]=0;g=m+41|0;i[n>>0]=0;h=g;f=0}else{h=m+41|0;g=m+40+g|0;f=i[n>>0]|0}k[q>>2]=g;k[p>>2]=h}}g=f&255;k[D+4+18136>>2]=g>>>4;k[D+4+18140>>2]=g&15;h=(k[D+4+18124>>2]|0)==0;m=k[D+4+18128>>2]|0;if(h){if(!((m|0)==0&(g>>>4|g&15|0)==0))break d;k[(D+4+18132|0)>>2]=63}else{if((m|0)>63)break d;t=k[(D+4+18132|0)>>2]|0;if((t|0)>63|(m|0)>(t|0))break d;if((f&255)>223|(g&15)>>>0>13)break d}k[(D+4+18112|0)>>2]=0;k[(D+4+18108|0)>>2]=0;k[(D+4+18120|0)>>2]=0;k[(D+4+17988|0)>>2]=0;k[(D+4+17916|0)>>2]=0;k[(D+4+17844|0)>>2]=0;i[(D+4+18116|0)>>0]=-1;q=k[(D+4+18168|0)>>2]|0;q=(q|0)==0?2147483647:q;k[(D+4+18172|0)>>2]=q;k[(D+4+18144|0)>>2]=0;s=(k[(D+4+18148|0)>>2]|0)==1;i:do{t=1;k[D+19408>>2]=q;k[D+22944>>2]=x;k[D+26568>>2]=h;k[D+26824>>2]=s;k[D+30640>>2]=z;k[D+30672>>2]=t;k[D+30736>>2]=0;k[D+30740>>2]=0;Vsa(D);x=k[D+22944>>2]|0;z=k[D+30640>>2]|0;J=k[D+30736>>2]|0;C=k[D+30740>>2]|0;K=+o[D+30740>>2];k[D+30736>>2]=0;k[D+30740>>2]=0;if((J|0)==1)break;if((J|0)==2)switch(C|0){case 36:break d;case 37:break i}}while(0);if((z|0)==437){z=0;x=i[(D+4+18116|0)>>0]|0}if(x<<24>>24!=-1){y=x;break g}j:while(1){f=k[D+4>>2]|0;do if(!(k[f+16>>2]|0))z=442;else{if(!(Gi[k[f+24>>2]&2047](k[f+28>>2]|0)|0))break;if(!(k[f+32>>2]|0)){z=460;break g}else z=442}while(0);if((z|0)==442){z=0;if((k[f+168>>2]|0)>>>0>=(k[f+172>>2]|0)>>>0){z=460;break g}}m=k[D+4>>2]|0;f=k[m+168>>2]|0;if(f>>>0<(k[m+172>>2]|0)>>>0){k[m+168>>2]=f+1;f=i[f>>0]|0}else{if(!(k[m+32>>2]|0))continue;f=Ri[k[m+16>>2]&255](k[m+28>>2]|0,m+40|0,k[m+36>>2]|0)|0;if(!f){k[m+32>>2]=0;i[m+40>>0]=0;h=m+41|0;g=m+41|0;f=0}else{h=m+41|0;g=m+40+f|0;f=i[m+40>>0]|0}k[m+172>>2]=g;k[m+168>>2]=h}switch(f<<24>>24){case 0:break;case -1:break j;default:break d}}m=k[D+4>>2]|0;f=k[m+168>>2]|0;do if(f>>>0<(k[m+172>>2]|0)>>>0){k[m+168>>2]=f+1;f=i[f>>0]|0}else{if(!(k[m+32>>2]|0)){f=0;break}f=Ri[k[m+16>>2]&255](k[m+28>>2]|0,m+40|0,k[m+36>>2]|0)|0;if(!f){k[m+32>>2]=0;i[m+40>>0]=0;h=m+41|0;g=m+41|0;f=0}else{h=m+41|0;g=m+40+f|0;f=i[m+40>>0]|0}k[m+172>>2]=g;k[m+168>>2]=h}while(0);i[(D+4+18116|0)>>0]=f;w=f;z=461;break}default:v=1}}if(v)switch(a|0){default:if(!(Kha(D+4|0,u)|0))break d;else z=460}}if((z|0)==460){w=i[(D+4+18116|0)>>0]|0;z=461}if((z|0)==461){z=0;if(w<<24>>24==-1){m=k[D+4>>2]|0;f=k[m+168>>2]|0;if(f>>>0<(k[m+172>>2]|0)>>>0){k[m+168>>2]=f+1;f=i[f>>0]|0}else{if(!(k[m+32>>2]|0)){f=-1;continue}f=Ri[k[m+16>>2]&255](k[m+28>>2]|0,m+40|0,k[m+36>>2]|0)|0;if(!f){k[m+32>>2]=0;i[m+40>>0]=0;h=m+41|0;g=m+41|0;f=0}else{h=m+41|0;g=m+40+f|0;f=i[m+40>>0]|0}k[m+172>>2]=g;k[m+168>>2]=h}if(f<<24>>24!=-1){f=-1;continue}while(1){m=k[D+4>>2]|0;f=k[m+168>>2]|0;if(f>>>0<(k[m+172>>2]|0)>>>0){k[m+168>>2]=f+1;f=i[f>>0]|0}else{if(!(k[m+32>>2]|0)){f=0;continue f}f=Ri[k[m+16>>2]&255](k[m+28>>2]|0,m+40|0,k[m+36>>2]|0)|0;if(!f){k[m+32>>2]=0;i[m+40>>0]=0;h=m+41|0;g=m+41|0;f=0}else{h=m+41|0;g=m+40+f|0;f=i[m+40>>0]|0}k[m+172>>2]=g;k[m+168>>2]=h}if(f<<24>>24!=-1)continue f}}else y=w}i[(D+4+18116|0)>>0]=-1;f=y}if((z|0)==59){k[(D+4+18148|0)>>2]=0;break}f=k[D+4>>2]|0;g=k[f+8>>2]|0;if((g|0)>0?(k[D+4+18124>>2]|0)!=0:0){x=0;do{q=(k[D+4+17820+(x*72|0)+28>>2]|0)+7>>3;s=(k[D+4+17820+(x*72|0)+32>>2]|0)+7>>3;if((s|0)>0){t=D+4+17820+(x*72|0)+60|0;u=D+4+17820+(x*72|0)+64|0;v=D+4+17820+(x*72|0)+12|0;a=D+4+17820+(x*72|0)+44|0;w=D+4+17820+(x*72|0)+36|0;if((q|0)>0){p=0;do{h=p<<3;n=0;do{f=(k[t>>2]|0)+((ha(k[u>>2]|0,p)|0)+n<<6<<1)|0;g=k[v>>2]|0;m=0;do{y=f+(m<<1)|0;E=(ha(j[y>>1]|0,l[D+4+13444+(g<<6)+m>>0]|0)|0)&65535;j[y>>1]=E;m=m+1|0}while((m|0)!=64);E=k[w>>2]|0;y=(k[a>>2]|0)+(ha(E,h)|0)+(n<<3)|0;kj[k[D+4+18176>>2]&255](y,E,f);n=n+1|0}while((n|0)!=(q|0));p=p+1|0}while((p|0)!=(s|0));f=k[D+4>>2]|0}}x=x+1|0;g=k[f+8>>2]|0}while((x|0)<(g|0))}p=f+8|0;t=(e|0)==0?g:e;s=(g|0)==3&(t|0)<3?1:g;k:do if((s|0)>0){g=k[f>>2]|0;n=0;while(1){m=D+18192+(n<<5)|0;E=hqb(g+3|0)|0;k[D+4+17820+(n*72|0)+56>>2]=E;if(!E)break;E=(k[D+4+17796>>2]|0)/(k[D+4+17820+(n*72|0)+4>>2]|0)|0;k[D+18192+(n<<5)+12>>2]=E;h=(k[D+4+17800>>2]|0)/(k[D+4+17820+(n*72|0)+8>>2]|0)|0;k[D+18192+(n<<5)+16>>2]=h;k[D+18192+(n<<5)+24>>2]=h>>1;g=k[f>>2]|0;k[D+18192+(n<<5)+20>>2]=((E+-1+g|0)>>>0)/(E>>>0)|0;k[D+18192+(n<<5)+28>>2]=0;e=k[D+4+17820+(n*72|0)+44>>2]|0;k[D+18192+(n<<5)+8>>2]=e;k[D+18192+(n<<5)+4>>2]=e;l:do switch(E|0){case 1:switch(h|0){case 1:{k[m>>2]=79;break l}case 2:{k[m>>2]=80;break l}default:{z=516;break l}}case 2:switch(h|0){case 1:{k[m>>2]=81;break l}case 2:{k[m>>2]=k[D+4+18184>>2];break l}default:{z=516;break l}}default:z=516}while(0);if((z|0)==516){z=0;k[m>>2]=82}n=n+1|0;if((n|0)>=(s|0)){B=g;z=518;break k}}if((k[p>>2]|0)>0){m=0;do{g=D+4+17820+(m*72|0)+48|0;h=k[g>>2]|0;if(h|0){iqb(h);k[g>>2]=0;k[D+4+17820+(m*72|0)+44>>2]=0}g=D+4+17820+(m*72|0)+52|0;h=k[g>>2]|0;if(h|0){iqb(h);k[g>>2]=0;k[D+4+17820+(m*72|0)+60>>2]=0}g=D+4+17820+(m*72|0)+56|0;h=k[g>>2]|0;if(h|0){iqb(h);k[g>>2]=0}m=m+1|0}while((m|0)<(k[(k[D+4>>2]|0)+8>>2]|0));A=0}else A=0}else{B=k[f>>2]|0;z=518}while(0);m:do if((z|0)==518){q=ha(B,t)|0;g=f+4|0;q=hqb((ha(q,k[g>>2]|0)|0)+1|0)|0;if(!q){if((k[p>>2]|0)>0)h=0;else{A=0;break}while(1){f=D+4+17820+(h*72|0)+48|0;g=k[f>>2]|0;if(g|0){iqb(g);k[f>>2]=0;k[D+4+17820+(h*72|0)+44>>2]=0}f=D+4+17820+(h*72|0)+52|0;g=k[f>>2]|0;if(g|0){iqb(g);k[f>>2]=0;k[D+4+17820+(h*72|0)+60>>2]=0}f=D+4+17820+(h*72|0)+56|0;g=k[f>>2]|0;if(g|0){iqb(g);k[f>>2]=0}h=h+1|0;if((h|0)>=(k[(k[D+4>>2]|0)+8>>2]|0)){A=0;break m}}}if(k[g>>2]|0){p=0;do{n=q+(ha(ha(p,t)|0,k[f>>2]|0)|0)|0;if((s|0)>0){m=0;do{f=D+18192+(m<<5)+24|0;B=k[f>>2]|0;E=k[D+18192+(m<<5)+16>>2]|0;g=D+18192+(m<<5)+8|0;h=D+18192+(m<<5)+4|0;A=Ni[k[D+18192+(m<<5)>>2]&127](k[D+4+17820+(m*72|0)+56>>2]|0,k[((B|0)>=(E>>1|0)?g:h)>>2]|0,k[((B|0)>=(E>>1|0)?h:g)>>2]|0,k[D+18192+(m<<5)+20>>2]|0,k[D+18192+(m<<5)+12>>2]|0)|0;k[D+18320+(m<<2)>>2]=A;k[f>>2]=B+1;do if((B+1|0)>=(E|0)){k[f>>2]=0;f=k[g>>2]|0;k[h>>2]=f;B=D+18192+(m<<5)+28|0;E=(k[B>>2]|0)+1|0;k[B>>2]=E;if((E|0)>=(k[D+4+17820+(m*72|0)+32>>2]|0))break;k[g>>2]=f+(k[D+4+17820+(m*72|0)+36>>2]|0)}while(0);m=m+1|0}while((m|0)!=(s|0));f=k[D+4>>2]|0}m=k[D+18320>>2]|0;do if((t|0)>2){if((k[f+8>>2]|0)==3){Ti[k[D+4+18180>>2]&63](n,m,k[D+18320+4>>2]|0,k[D+18320+8>>2]|0,k[f>>2]|0,t);f=k[D+4>>2]|0;break}if(k[f>>2]|0){h=0;g=n;while(1){f=i[m+h>>0]|0;i[g+2>>0]=f;i[g+1>>0]=f;i[g>>0]=f;i[g+3>>0]=-1;h=h+1|0;f=k[D+4>>2]|0;if(h>>>0>=(k[f>>2]|0)>>>0)break;else g=g+t|0}}}else{g=(k[f>>2]|0)!=0;if((t|0)==1){if(g)g=0;else break;do{i[n+g>>0]=i[m+g>>0]|0;g=g+1|0}while(g>>>0<(k[f>>2]|0)>>>0)}else{if(g){h=0;g=n}else break;while(1){i[g>>0]=i[m+h>>0]|0;i[g+1>>0]=-1;h=h+1|0;f=k[D+4>>2]|0;if(h>>>0>=(k[f>>2]|0)>>>0)break;else g=g+2|0}}}while(0);p=p+1|0}while(p>>>0<(k[f+4>>2]|0)>>>0)}if((k[f+8>>2]|0)>0){h=0;do{f=D+4+17820+(h*72|0)+48|0;g=k[f>>2]|0;if(g|0){iqb(g);k[f>>2]=0;k[D+4+17820+(h*72|0)+44>>2]=0}f=D+4+17820+(h*72|0)+52|0;g=k[f>>2]|0;if(g|0){iqb(g);k[f>>2]=0;k[D+4+17820+(h*72|0)+60>>2]=0}f=D+4+17820+(h*72|0)+56|0;g=k[f>>2]|0;if(g|0){iqb(g);k[f>>2]=0}h=h+1|0;f=k[D+4>>2]|0}while((h|0)<(k[f+8>>2]|0))}k[b>>2]=k[f>>2];k[c>>2]=k[f+4>>2];if(!d)A=q;else{k[d>>2]=k[f+8>>2];A=q}}while(0);u=A;break c}while(0);if((k[(k[D+4>>2]|0)+8>>2]|0)>0){h=0;do{f=D+4+17820+(h*72|0)+48|0;g=k[f>>2]|0;if(g|0){iqb(g);k[f>>2]=0;k[D+4+17820+(h*72|0)+44>>2]=0}f=D+4+17820+(h*72|0)+52|0;g=k[f>>2]|0;if(g|0){iqb(g);k[f>>2]=0;k[D+4+17820+(h*72|0)+60>>2]=0}f=D+4+17820+(h*72|0)+56|0;g=k[f>>2]|0;if(g|0){iqb(g);k[f>>2]=0}h=h+1|0}while((h|0)<(k[(k[D+4>>2]|0)+8>>2]|0));u=0}else u=0}}E=u;r=D;return E|0}if(m>>>0>>0){k[a+168>>2]=m+1;f=i[m>>0]|0;g=m+1|0;h=n;z=565}else if(!(k[a+32>>2]|0))z=602;else{f=Ri[k[a+16>>2]&255](k[a+28>>2]|0,a+40|0,k[a+36>>2]|0)|0;if(!f){k[a+32>>2]=0;i[a+40>>0]=0;g=a+41|0;h=a+41|0;f=0}else{g=a+41|0;h=a+40+f|0;f=i[a+40>>0]|0}k[a+172>>2]=h;k[a+168>>2]=g;z=565}k[D+19360>>2]=a;k[D+19368>>2]=b;k[D+19376>>2]=c;k[D+19384>>2]=d;k[D+19392>>2]=e;k[D+19464>>2]=v;k[D+19480>>2]=f;k[D+23728>>2]=g;k[D+23736>>2]=h;k[D+30640>>2]=z;k[D+30728>>2]=0;k[D+30732>>2]=0;Usa(D);J=k[D+30728>>2]|0;C=k[D+30732>>2]|0;K=+o[D+30732>>2];k[D+30728>>2]=0;k[D+30732>>2]=0;if((J|0)==6)return C|0;return 0|0;return 0}function Qha(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;w=r;r=r+256|0;f=0;g=w;while(1){e=j[c+16>>1]|0;d=j[c+32>>1]|0;if(!((e|d)<<16>>16))if(!(j[c+48>>1]|0))if(!(j[c+64>>1]|0))if(!(j[c+80>>1]|0))if(!(j[c+96>>1]|0))if(!(j[c+112>>1]|0)){v=j[c>>1]<<2;k[g+224>>2]=v;k[g+192>>2]=v;k[g+160>>2]=v;k[g+128>>2]=v;k[g+96>>2]=v;k[g+64>>2]=v;k[g+32>>2]=v;k[g>>2]=v}else{d=0;h=9}else{d=0;h=9}else{d=0;h=9}else{d=0;h=9}else{d=0;h=9}else h=9;if((h|0)==9){h=0;s=d<<16>>16;y=j[c+96>>1]|0;n=((y+s|0)*2217|0)+(ha(y,-7567)|0)|0;l=j[c>>1]|0;m=j[c+64>>1]|0;u=j[c+112>>1]|0;p=j[c+80>>1]|0;d=j[c+48>>1]|0;v=(((e<<16>>16)+p+(d+u)|0)*4816|0)+(ha((e<<16>>16)+u|0,-3685)|0)|0;q=(((e<<16>>16)+p+(d+u)|0)*4816|0)+(ha(d+p|0,-10497)|0)|0;t=ha(d+u|0,-8034)|0;o=ha((e<<16>>16)+p|0,-1597)|0;x=((y+s|0)*2217|0)+(s*3135|0)+512+(m+l<<12)|0;s=(m+l<<12)-(((y+s|0)*2217|0)+(s*3135|0))+512|0;k[g>>2]=o+((e<<16>>16)*6149|0)+v+x>>10;k[g+224>>2]=x-(o+((e<<16>>16)*6149|0)+v)>>10;k[g+32>>2]=t+(d*12586|0)+q+(n+512+(l-m<<12))>>10;k[g+192>>2]=n+512+(l-m<<12)-(t+(d*12586|0)+q)>>10;k[g+64>>2]=o+(p*8410|0)+q+((l-m<<12)-n+512)>>10;k[g+160>>2]=(l-m<<12)-n+512-(o+(p*8410|0)+q)>>10;k[g+96>>2]=t+(u*1223|0)+v+s>>10;k[g+128>>2]=s-(t+(u*1223|0)+v)>>10}f=f+1|0;if((f|0)==8){v=0;u=w;break}else{c=c+2|0;g=g+4|0}}while(1){t=k[u+8>>2]|0;c=k[u+24>>2]|0;g=((c+t|0)*2217|0)+(ha(c,-7567)|0)|0;h=k[u>>2]|0;l=k[u+16>>2]|0;p=k[u+28>>2]|0;m=k[u+20>>2]|0;f=k[u+12>>2]|0;d=k[u+4>>2]|0;q=((d+m+(f+p)|0)*4816|0)+(ha(d+p|0,-3685)|0)|0;n=((d+m+(f+p)|0)*4816|0)+(ha(f+m|0,-10497)|0)|0;s=ha(f+p|0,-8034)|0;o=ha(d+m|0,-1597)|0;e=((c+t|0)*2217|0)+(t*3135|0)+16842752+(l+h<<12)|0;t=(l+h<<12)-(((c+t|0)*2217|0)+(t*3135|0))+16842752|0;c=o+(d*6149|0)+q+e>>17;if(c>>>0>255)c=~(o+(d*6149|0)+q+e>>31&255);else c=c&255;i[a>>0]=c;c=e-(o+(d*6149|0)+q)>>17;if(c>>>0>255)c=~(e-(o+(d*6149|0)+q)>>31&255);else c=c&255;i[a+7>>0]=c;c=s+(f*12586|0)+n+(g+16842752+(h-l<<12))|0;if(c>>17>>>0>255)c=~(c>>31&255);else c=c>>17&255;i[a+1>>0]=c;c=g+16842752+(h-l<<12)-(s+(f*12586|0)+n)|0;if(c>>17>>>0>255)c=~(c>>31&255);else c=c>>17&255;i[a+6>>0]=c;c=o+(m*8410|0)+n+((h-l<<12)-g+16842752)|0;if(c>>17>>>0>255)c=~(c>>31&255);else c=c>>17&255;i[a+2>>0]=c;c=(h-l<<12)-g+16842752-(o+(m*8410|0)+n)|0;if(c>>17>>>0>255)c=~(c>>31&255);else c=c>>17&255;i[a+5>>0]=c;c=s+(p*1223|0)+q+t>>17;if(c>>>0>255)c=~(s+(p*1223|0)+q+t>>31&255);else c=c&255;i[a+3>>0]=c;c=t-(s+(p*1223|0)+q)>>17;if(c>>>0>255)c=~(t-(s+(p*1223|0)+q)>>31&255);else c=c&255;i[a+4>>0]=c;v=v+1|0;if((v|0)==8)break;else{a=a+b|0;u=u+32|0}}r=w;return}function Rha(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,m=0;if((e|0)>0)g=0;else return;while(1){h=(l[b+g>>0]|0)<<20|524288;j=(l[d+g>>0]|0)+-128|0;m=(l[c+g>>0]|0)+-128|0;k=(ha(j,1470208)|0)+h|0;j=(ha(j,-748800)|0)+h+((ha(m,-360960)|0)&-65536)|0;h=(ha(m,1858048)|0)+h|0;i[a>>0]=k>>20>>>0>255?(k>>>31)+255|0:k>>20;i[a+1>>0]=j>>20>>>0>255?(j>>>31)+255|0:j>>20;i[a+2>>0]=h>>20>>>0>255?(h>>>31)+255|0:h>>20;i[a+3>>0]=-1;g=g+1|0;if((g|0)==(e|0))break;else a=a+f|0}return}function Sha(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;e=((l[b>>0]|0)*3|0)+(l[c>>0]|0)|0;if((d|0)==1){i[a+1>>0]=(e+2|0)>>>2;i[a>>0]=(e+2|0)>>>2;return a|0}i[a>>0]=(e+2|0)>>>2;if((d|0)>1){g=1;f=e;while(1){e=((l[b+g>>0]|0)*3|0)+(l[c+g>>0]|0)|0;h=g<<1;i[a+(h+-1)>>0]=((f*3|0)+8+e|0)>>>4;i[a+h>>0]=(f+8+(e*3|0)|0)>>>4;g=g+1|0;if((g|0)==(d|0))break;else f=e}}i[a+((d<<1)+-1)>>0]=(e+2|0)>>>2;return a|0}function Tha(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,m=0,n=0,o=0,p=0,q=0,s=0;s=r;r=r+16|0;a:do if((k[a+18112>>2]|0)<16){b:while(1){do if(!(k[a+18120>>2]|0)){o=k[a>>2]|0;h=k[o+168>>2]|0;if(h>>>0<(k[o+172>>2]|0)>>>0){k[o+168>>2]=h+1;m=i[h>>0]|0}else{if(!(k[o+32>>2]|0)){h=0;break}h=Ri[k[o+16>>2]&255](k[o+28>>2]|0,o+40|0,k[o+36>>2]|0)|0;if(!h){k[o+32>>2]=0;i[o+40>>0]=0;n=o+41|0;h=o+41|0;m=0}else{n=o+41|0;h=o+40+h|0;m=i[o+40>>0]|0}k[o+172>>2]=h;k[o+168>>2]=n}h=m&255;if(m<<24>>24==-1){o=k[a>>2]|0;h=k[o+168>>2]|0;if(h>>>0<(k[o+172>>2]|0)>>>0){k[o+168>>2]=h+1;h=i[h>>0]|0}else{if(!(k[o+32>>2]|0)){h=255;break}h=Ri[k[o+16>>2]&255](k[o+28>>2]|0,o+40|0,k[o+36>>2]|0)|0;if(!h){k[o+32>>2]=0;i[o+40>>0]=0;n=o+41|0;m=o+41|0;h=0}else{n=o+41|0;m=o+40+h|0;h=i[o+40>>0]|0}k[o+172>>2]=m;k[o+168>>2]=n}if(!(h<<24>>24))h=255;else break b}}else h=0;while(0);q=k[a+18112>>2]|0;k[a+18108>>2]=h<<24-q|k[a+18108>>2];k[a+18112>>2]=q+8;if((q+8|0)>=25)break a}i[a+18116>>0]=h;k[a+18120>>2]=1}while(0);c=Uha(a,c)|0;if((c|0)<0){a=0;r=s;return a|0}h=b;m=h+128|0;do{j[h>>1]=0;h=h+2|0}while((h|0)<(m|0));do if(!c){q=a+18108|0;h=0}else{c:do if((k[a+18112>>2]|0)<(c|0)){d:while(1){do if(!(k[a+18120>>2]|0)){o=k[a>>2]|0;h=k[o+168>>2]|0;if(h>>>0<(k[o+172>>2]|0)>>>0){k[o+168>>2]=h+1;m=i[h>>0]|0}else{if(!(k[o+32>>2]|0)){h=0;break}h=Ri[k[o+16>>2]&255](k[o+28>>2]|0,o+40|0,k[o+36>>2]|0)|0;if(!h){k[o+32>>2]=0;i[o+40>>0]=0;n=o+41|0;h=o+41|0;m=0}else{n=o+41|0;h=o+40+h|0;m=i[o+40>>0]|0}k[o+172>>2]=h;k[o+168>>2]=n}h=m&255;if(m<<24>>24==-1){o=k[a>>2]|0;h=k[o+168>>2]|0;if(h>>>0<(k[o+172>>2]|0)>>>0){k[o+168>>2]=h+1;h=i[h>>0]|0}else{if(!(k[o+32>>2]|0)){h=255;break}h=Ri[k[o+16>>2]&255](k[o+28>>2]|0,o+40|0,k[o+36>>2]|0)|0;if(!h){k[o+32>>2]=0;i[o+40>>0]=0;n=o+41|0;m=o+41|0;h=0}else{n=o+41|0;m=o+40+h|0;h=i[o+40>>0]|0}k[o+172>>2]=m;k[o+168>>2]=n}if(!(h<<24>>24))h=255;else break d}}else h=0;while(0);q=k[a+18112>>2]|0;k[a+18108>>2]=h<<24-q|k[a+18108>>2];k[a+18112>>2]=q+8;if((q+8|0)>=25){h=a+18108|0;break c}}i[a+18116>>0]=h;k[a+18120>>2]=1;h=a+18108|0}else h=a+18108|0;while(0);m=k[h>>2]|0;if(c>>>0<17){p=k[65624+(c<<2)>>2]|0;k[h>>2]=(m<>>(32-c|0))&~p;k[a+18112>>2]=(k[a+18112>>2]|0)-c;q=h;h=(k[24732+(c<<2)>>2]&~(m>>31))+(p&(m<>>(32-c|0)))|0;break}else{a=xf(16)|0;k[s>>2]=438690;os(a,438633,s);Jc(a|0,96,27)}}while(0);h=(k[a+17820+(f*72|0)+24>>2]|0)+h|0;k[a+17820+(f*72|0)+24>>2]=h;h=(ha(l[g>>0]|0,h)|0)&65535;j[b>>1]=h;h=1;e:while(1){f:do if((k[a+18112>>2]|0)<16){g:while(1){do if(!(k[a+18120>>2]|0)){c=k[a>>2]|0;m=k[c+168>>2]|0;if(m>>>0<(k[c+172>>2]|0)>>>0){k[c+168>>2]=m+1;n=i[m>>0]|0}else{if(!(k[c+32>>2]|0)){m=0;break}m=Ri[k[c+16>>2]&255](k[c+28>>2]|0,c+40|0,k[c+36>>2]|0)|0;if(!m){k[c+32>>2]=0;i[c+40>>0]=0;o=c+41|0;m=c+41|0;n=0}else{o=c+41|0;m=c+40+m|0;n=i[c+40>>0]|0}k[c+172>>2]=m;k[c+168>>2]=o}m=n&255;if(n<<24>>24==-1){c=k[a>>2]|0;m=k[c+168>>2]|0;if(m>>>0<(k[c+172>>2]|0)>>>0){k[c+168>>2]=m+1;m=i[m>>0]|0}else{if(!(k[c+32>>2]|0)){m=255;break}m=Ri[k[c+16>>2]&255](k[c+28>>2]|0,c+40|0,k[c+36>>2]|0)|0;if(!m){k[c+32>>2]=0;i[c+40>>0]=0;o=c+41|0;n=c+41|0;m=0}else{o=c+41|0;n=c+40+m|0;m=i[c+40>>0]|0}k[c+172>>2]=n;k[c+168>>2]=o}if(!(m<<24>>24))m=255;else break g}}else m=0;while(0);p=k[a+18112>>2]|0;k[q>>2]=m<<24-p|k[q>>2];k[a+18112>>2]=p+8;if((p+8|0)>=25)break f}i[a+18116>>0]=m;k[a+18120>>2]=1}while(0);m=k[q>>2]|0;n=j[e+(m>>>23<<1)>>1]|0;do if(!(n<<16>>16)){p=Uha(a,d)|0;if((p|0)<0){h=0;m=98;break e}if(!(p&15))if((p|0)==240){h=h+16|0;break}else{h=1;m=98;break e}c=(p>>4)+h|0;f=l[438472+c>>0]|0;h=k[a+18112>>2]|0;h:do if((h|0)<(p&15|0)){i:while(1){do if(!(k[a+18120>>2]|0)){o=k[a>>2]|0;h=k[o+168>>2]|0;if(h>>>0<(k[o+172>>2]|0)>>>0){k[o+168>>2]=h+1;h=i[h>>0]|0}else{if(!(k[o+32>>2]|0)){m=0;break}h=Ri[k[o+16>>2]&255](k[o+28>>2]|0,o+40|0,k[o+36>>2]|0)|0;if(!h){k[o+32>>2]=0;i[o+40>>0]=0;n=o+41|0;m=o+41|0;h=0}else{n=o+41|0;m=o+40+h|0;h=i[o+40>>0]|0}k[o+172>>2]=m;k[o+168>>2]=n}m=h&255;if(h<<24>>24==-1){o=k[a>>2]|0;h=k[o+168>>2]|0;if(h>>>0<(k[o+172>>2]|0)>>>0){k[o+168>>2]=h+1;h=i[h>>0]|0}else{if(!(k[o+32>>2]|0)){m=255;break}h=Ri[k[o+16>>2]&255](k[o+28>>2]|0,o+40|0,k[o+36>>2]|0)|0;if(!h){k[o+32>>2]=0;i[o+40>>0]=0;n=o+41|0;m=o+41|0;h=0}else{n=o+41|0;m=o+40+h|0;h=i[o+40>>0]|0}k[o+172>>2]=m;k[o+168>>2]=n}if(!(h<<24>>24))m=255;else break i}}else m=0;while(0);h=k[a+18112>>2]|0;k[q>>2]=m<<24-h|k[q>>2];k[a+18112>>2]=h+8;if((h+8|0)>=25){h=h+8|0;break h}}i[a+18116>>0]=h;k[a+18120>>2]=1;h=k[a+18112>>2]|0}while(0);n=k[q>>2]|0;o=k[65624+((p&15)<<2)>>2]|0;k[q>>2]=(n<<(p&15)|n>>>(32-(p&15)|0))&~o;k[a+18112>>2]=h-(p&15);h=(ha((k[24732+((p&15)<<2)>>2]&~(n>>31))+((n<<(p&15)|n>>>(32-(p&15)|0))&o)|0,l[g+f>>0]|0)|0)&65535;j[b+(f<<1)>>1]=h;h=c+1|0}else{h=(n<<16>>16>>>4&15)+h|0;k[q>>2]=m<<(n&15);k[a+18112>>2]=(k[a+18112>>2]|0)-(n&15);p=l[438472+h>>0]|0;f=(ha(l[g+p>>0]|0,n<<16>>16>>8)|0)&65535;j[b+(p<<1)>>1]=f;h=h+1|0}while(0);if((h|0)>=64){h=1;m=98;break}}if((m|0)==98){r=s;return h|0}return 0}function Uha(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0;h=r;r=r+16|0;a:do if((k[a+18112>>2]|0)<16){b:while(1){do if(!(k[a+18120>>2]|0)){f=k[a>>2]|0;c=k[f+168>>2]|0;if(c>>>0<(k[f+172>>2]|0)>>>0){k[f+168>>2]=c+1;d=i[c>>0]|0}else{if(!(k[f+32>>2]|0)){c=0;break}c=Ri[k[f+16>>2]&255](k[f+28>>2]|0,f+40|0,k[f+36>>2]|0)|0;if(!c){k[f+32>>2]=0;i[f+40>>0]=0;e=f+41|0;c=f+41|0;d=0}else{e=f+41|0;c=f+40+c|0;d=i[f+40>>0]|0}k[f+172>>2]=c;k[f+168>>2]=e}c=d&255;if(d<<24>>24==-1){f=k[a>>2]|0;c=k[f+168>>2]|0;if(c>>>0<(k[f+172>>2]|0)>>>0){k[f+168>>2]=c+1;c=i[c>>0]|0}else{if(!(k[f+32>>2]|0)){c=255;break}c=Ri[k[f+16>>2]&255](k[f+28>>2]|0,f+40|0,k[f+36>>2]|0)|0;if(!c){k[f+32>>2]=0;i[f+40>>0]=0;e=f+41|0;d=f+41|0;c=0}else{e=f+41|0;d=f+40+c|0;c=i[f+40>>0]|0}k[f+172>>2]=d;k[f+168>>2]=e}if(!(c<<24>>24))c=255;else break b}}else c=0;while(0);g=k[a+18112>>2]|0;k[a+18108>>2]=c<<24-g|k[a+18108>>2];k[a+18112>>2]=g+8;if((g+8|0)>=25){f=a+18108|0;break a}}i[a+18116>>0]=c;k[a+18120>>2]=1;f=a+18108|0}else f=a+18108|0;while(0);g=k[f>>2]|0;c=i[b+(g>>>23)>>0]|0;if(c<<24>>24!=-1){d=l[b+1280+(c&255)>>0]|0;e=k[a+18112>>2]|0;if((e|0)<(d|0)){a=-1;r=h;return a|0}k[f>>2]=g<>2]=e-d;a=l[b+1024+(c&255)>>0]|0;r=h;return a|0}c=10;while(1)if(g>>>16>>>0<(k[b+1540+(c<<2)>>2]|0)>>>0)break;else c=c+1|0;d=k[a+18112>>2]|0;if((c|0)==17){k[a+18112>>2]=d+-16;a=-1;r=h;return a|0}if((d|0)<(c|0)){a=-1;r=h;return a|0}e=(g>>>(32-c|0)&k[65624+(c<<2)>>2])+(k[b+1612+(c<<2)>>2]|0)|0;j=l[b+1280+e>>0]|0;if((g>>>(32-j|0)&k[65624+(j<<2)>>2]|0)!=(m[b+512+(e<<1)>>1]|0|0)){j=xf(16)|0;k[h>>2]=438551;os(j,438633,h);Jc(j|0,96,27)}k[a+18112>>2]=d-c;k[f>>2]=g<>0]|0;r=h;return j|0}function Vha(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,l=0;l=r;r=r+16|0;if(k[a+18132>>2]|0){a=0;r=l;return a|0}a:do if((k[a+18112>>2]|0)<16){b:while(1){do if(!(k[a+18120>>2]|0)){h=k[a>>2]|0;e=k[h+168>>2]|0;if(e>>>0<(k[h+172>>2]|0)>>>0){k[h+168>>2]=e+1;f=i[e>>0]|0}else{if(!(k[h+32>>2]|0)){e=0;break}e=Ri[k[h+16>>2]&255](k[h+28>>2]|0,h+40|0,k[h+36>>2]|0)|0;if(!e){k[h+32>>2]=0;i[h+40>>0]=0;g=h+41|0;e=h+41|0;f=0}else{g=h+41|0;e=h+40+e|0;f=i[h+40>>0]|0}k[h+172>>2]=e;k[h+168>>2]=g}e=f&255;if(f<<24>>24==-1){h=k[a>>2]|0;e=k[h+168>>2]|0;if(e>>>0<(k[h+172>>2]|0)>>>0){k[h+168>>2]=e+1;e=i[e>>0]|0}else{if(!(k[h+32>>2]|0)){e=255;break}e=Ri[k[h+16>>2]&255](k[h+28>>2]|0,h+40|0,k[h+36>>2]|0)|0;if(!e){k[h+32>>2]=0;i[h+40>>0]=0;g=h+41|0;f=h+41|0;e=0}else{g=h+41|0;f=h+40+e|0;e=i[h+40>>0]|0}k[h+172>>2]=f;k[h+168>>2]=g}if(!(e<<24>>24))e=255;else break b}}else e=0;while(0);h=k[a+18112>>2]|0;k[a+18108>>2]=e<<24-h|k[a+18108>>2];k[a+18112>>2]=h+8;if((h+8|0)>=25)break a}i[a+18116>>0]=e;k[a+18120>>2]=1}while(0);if(k[a+18136>>2]|0){e=k[a+18112>>2]|0;c:do if((e|0)<1){d:while(1){do if(!(k[a+18120>>2]|0)){h=k[a>>2]|0;e=k[h+168>>2]|0;if(e>>>0<(k[h+172>>2]|0)>>>0){k[h+168>>2]=e+1;e=i[e>>0]|0}else{if(!(k[h+32>>2]|0)){f=0;break}e=Ri[k[h+16>>2]&255](k[h+28>>2]|0,h+40|0,k[h+36>>2]|0)|0;if(!e){k[h+32>>2]=0;i[h+40>>0]=0;g=h+41|0;f=h+41|0;e=0}else{g=h+41|0;f=h+40+e|0;e=i[h+40>>0]|0}k[h+172>>2]=f;k[h+168>>2]=g}f=e&255;if(e<<24>>24==-1){h=k[a>>2]|0;e=k[h+168>>2]|0;if(e>>>0<(k[h+172>>2]|0)>>>0){k[h+168>>2]=e+1;e=i[e>>0]|0}else{if(!(k[h+32>>2]|0)){f=255;break}e=Ri[k[h+16>>2]&255](k[h+28>>2]|0,h+40|0,k[h+36>>2]|0)|0;if(!e){k[h+32>>2]=0;i[h+40>>0]=0;g=h+41|0;f=h+41|0;e=0}else{g=h+41|0;f=h+40+e|0;e=i[h+40>>0]|0}k[h+172>>2]=f;k[h+168>>2]=g}if(!(e<<24>>24))f=255;else break d}}else f=0;while(0);e=k[a+18112>>2]|0;k[a+18108>>2]=f<<24-e|k[a+18108>>2];k[a+18112>>2]=e+8;if((e+8|0)>=25){f=a+18108|0;e=e+8|0;break c}}i[a+18116>>0]=e;k[a+18120>>2]=1;f=a+18108|0;e=k[a+18112>>2]|0}else f=a+18108|0;while(0);d=k[f>>2]|0;k[f>>2]=d<<1;k[a+18112>>2]=e+-1;if((d|0)>-1){a=1;r=l;return a|0}j[b>>1]=(m[b>>1]|0)+(65536<>2]>>>16);a=1;r=l;return a|0}e=b;f=e+128|0;do{j[e>>1]=0;e=e+2|0}while((e|0)<(f|0));c=Uha(a,c)|0;do if(!c)e=0;else{e:do if((k[a+18112>>2]|0)<(c|0)){f:while(1){do if(!(k[a+18120>>2]|0)){h=k[a>>2]|0;e=k[h+168>>2]|0;if(e>>>0<(k[h+172>>2]|0)>>>0){k[h+168>>2]=e+1;f=i[e>>0]|0}else{if(!(k[h+32>>2]|0)){e=0;break}e=Ri[k[h+16>>2]&255](k[h+28>>2]|0,h+40|0,k[h+36>>2]|0)|0;if(!e){k[h+32>>2]=0;i[h+40>>0]=0;g=h+41|0;e=h+41|0;f=0}else{g=h+41|0;e=h+40+e|0;f=i[h+40>>0]|0}k[h+172>>2]=e;k[h+168>>2]=g}e=f&255;if(f<<24>>24==-1){h=k[a>>2]|0;e=k[h+168>>2]|0;if(e>>>0<(k[h+172>>2]|0)>>>0){k[h+168>>2]=e+1;e=i[e>>0]|0}else{if(!(k[h+32>>2]|0)){e=255;break}e=Ri[k[h+16>>2]&255](k[h+28>>2]|0,h+40|0,k[h+36>>2]|0)|0;if(!e){k[h+32>>2]=0;i[h+40>>0]=0;g=h+41|0;f=h+41|0;e=0}else{g=h+41|0;f=h+40+e|0;e=i[h+40>>0]|0}k[h+172>>2]=f;k[h+168>>2]=g}if(!(e<<24>>24))e=255;else break f}}else e=0;while(0);h=k[a+18112>>2]|0;k[a+18108>>2]=e<<24-h|k[a+18108>>2];k[a+18112>>2]=h+8;if((h+8|0)>=25){e=a+18108|0;break e}}i[a+18116>>0]=e;k[a+18120>>2]=1;e=a+18108|0}else e=a+18108|0;while(0);f=k[e>>2]|0;if(c>>>0<17){h=k[65624+(c<<2)>>2]|0;k[e>>2]=(f<>>(32-c|0))&~h;k[a+18112>>2]=(k[a+18112>>2]|0)-c;e=(k[24732+(c<<2)>>2]&~(f>>31))+(h&(f<>>(32-c|0)))|0;break}else{a=xf(16)|0;k[l>>2]=438690;os(a,438633,l);Jc(a|0,96,27)}}while(0);c=(k[a+17820+(d*72|0)+24>>2]|0)+e|0;k[a+17820+(d*72|0)+24>>2]=c;j[b>>1]=c<>2];a=1;r=l;return a|0}function Wha(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return b|0}function Xha(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if((d|0)>0)e=0;else return a|0;do{i[a+e>>0]=((l[c+e>>0]|0)+2+((l[b+e>>0]|0)*3|0)|0)>>>2;e=e+1|0}while((e|0)!=(d|0));return a|0}function Yha(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;e=i[b>>0]|0;if((d|0)==1){i[a+1>>0]=e;i[a>>0]=e;return a|0}i[a>>0]=e;i[a+1>>0]=((l[b+1>>0]|0)+2+((l[b>>0]|0)*3|0)|0)>>>2;if((d+-1|0)>1){e=1;do{f=((l[b+e>>0]|0)*3|0)+2|0;c=e<<1;i[a+c>>0]=(f+(l[b+(e+-1)>>0]|0)|0)>>>2;e=e+1|0;i[a+(c|1)>>0]=((l[b+e>>0]|0)+f|0)>>>2}while((e|0)!=(d+-1|0));e=d+-1<<1}else e=2;i[a+e>>0]=((l[b+(d+-1)>>0]|0)+2+((l[b+(d+-2)>>0]|0)*3|0)|0)>>>2;i[a+(e|1)>>0]=i[b+(d+-1)>>0]|0;return a|0}function Zha(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;if((d|0)>0&(e|0)>0)g=0;else return a|0;do{c=b+g|0;f=ha(g,e)|0;h=0;do{i[a+(h+f)>>0]=i[c>>0]|0;h=h+1|0}while((h|0)!=(e|0));g=g+1|0}while((g|0)!=(d|0));return a|0}function _ha(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0;o=r;r=r+16|0;if((c|0)==(b|0)){e=a;r=o;return e|0}if((c+-1|0)>>>0>=4){e=xf(16)|0;k[o>>2]=438778;os(e,438633,o);Jc(e|0,96,27)}m=hqb(ha(ha(d,c)|0,e)|0)|0;if(!m){iqb(a);e=0;r=o;return e|0}a:do if((e|0)>0){j=(d+-1|0)>-1;n=0;b:while(1){f=ha(n,d)|0;g=a+(ha(f,b)|0)|0;f=m+(ha(f,c)|0)|0;do switch((b<<3)+c|0){case 10:{if(j){h=d+-1|0;while(1){i[f>>0]=i[g>>0]|0;i[f+1>>0]=-1;h=h+-1|0;if((h|0)<=-1)break;else{f=f+2|0;g=g+1|0}}}break}case 11:{if(j){h=d+-1|0;while(1){p=i[g>>0]|0;i[f+2>>0]=p;i[f+1>>0]=p;i[f>>0]=p;h=h+-1|0;if((h|0)<=-1)break;else{f=f+3|0;g=g+1|0}}}break}case 12:{if(j){h=d+-1|0;while(1){p=i[g>>0]|0;i[f+2>>0]=p;i[f+1>>0]=p;i[f>>0]=p;i[f+3>>0]=-1;h=h+-1|0;if((h|0)<=-1)break;else{f=f+4|0;g=g+1|0}}}break}case 17:{if(j){h=d+-1|0;while(1){i[f>>0]=i[g>>0]|0;h=h+-1|0;if((h|0)<=-1)break;else{f=f+1|0;g=g+2|0}}}break}case 19:{if(j){h=d+-1|0;while(1){p=i[g>>0]|0;i[f+2>>0]=p;i[f+1>>0]=p;i[f>>0]=p;h=h+-1|0;if((h|0)<=-1)break;else{f=f+3|0;g=g+2|0}}}break}case 20:{if(j){h=d+-1|0;while(1){p=i[g>>0]|0;i[f+2>>0]=p;i[f+1>>0]=p;i[f>>0]=p;i[f+3>>0]=i[g+1>>0]|0;h=h+-1|0;if((h|0)<=-1)break;else{f=f+4|0;g=g+2|0}}}break}case 28:{if(j){h=d+-1|0;while(1){i[f>>0]=i[g>>0]|0;i[f+1>>0]=i[g+1>>0]|0;i[f+2>>0]=i[g+2>>0]|0;i[f+3>>0]=-1;h=h+-1|0;if((h|0)<=-1)break;else{f=f+4|0;g=g+3|0}}}break}case 25:{if(j){h=d+-1|0;while(1){i[f>>0]=(((l[g+1>>0]|0)*150|0)+((l[g>>0]|0)*77|0)+((l[g+2>>0]|0)*29|0)|0)>>>8;h=h+-1|0;if((h|0)<=-1)break;else{f=f+1|0;g=g+3|0}}}break}case 26:{if(j){h=d+-1|0;while(1){i[f>>0]=(((l[g+1>>0]|0)*150|0)+((l[g>>0]|0)*77|0)+((l[g+2>>0]|0)*29|0)|0)>>>8;i[f+1>>0]=-1;h=h+-1|0;if((h|0)<=-1)break;else{f=f+2|0;g=g+3|0}}}break}case 33:{if(j){h=d+-1|0;while(1){i[f>>0]=(((l[g+1>>0]|0)*150|0)+((l[g>>0]|0)*77|0)+((l[g+2>>0]|0)*29|0)|0)>>>8;h=h+-1|0;if((h|0)<=-1)break;else{f=f+1|0;g=g+4|0}}}break}case 34:{if(j){h=d+-1|0;while(1){i[f>>0]=(((l[g+1>>0]|0)*150|0)+((l[g>>0]|0)*77|0)+((l[g+2>>0]|0)*29|0)|0)>>>8;i[f+1>>0]=i[g+3>>0]|0;h=h+-1|0;if((h|0)<=-1)break;else{f=f+2|0;g=g+4|0}}}break}case 35:{if(j){h=d+-1|0;while(1){i[f>>0]=i[g>>0]|0;i[f+1>>0]=i[g+1>>0]|0;i[f+2>>0]=i[g+2>>0]|0;h=h+-1|0;if((h|0)<=-1)break;else{f=f+3|0;g=g+4|0}}}break}default:break b}while(0);n=n+1|0;if((n|0)>=(e|0))break a}p=xf(16)|0;k[o+8>>2]=601842;os(p,438633,o+8|0);Jc(p|0,96,27)}while(0);iqb(a);p=m;r=o;return p|0}function $ha(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;h=r;r=r+16|0;if(!(gj[k[(k[b>>2]|0)+20>>2]&511](b,d)|0)){g=xf(16)|0;os(g,438848,h);Jc(g|0,96,27)}f=k[c>>2]|0;g=k[c+4>>2]|0;d=ha(f<<2,g)|0;k[a>>2]=d+18;e=hqb(d+18|0)|0;k[a+4>>2]=e;if(!e){g=xf(16)|0;os(g,438864,h+8|0);Jc(g|0,96,27)}i[e>>0]=0;i[e+1>>0]=0;i[e+2>>0]=2;i[e+3>>0]=0;i[e+3+1>>0]=0;i[e+3+2>>0]=0;i[e+3+3>>0]=0;i[e+7>>0]=32;i[e+8>>0]=0;i[e+8+1>>0]=0;i[e+8+2>>0]=0;i[e+8+3>>0]=0;i[e+12>>0]=f;i[e+13>>0]=f>>>8;i[e+14>>0]=g;i[e+15>>0]=g>>>8;i[e+16>>0]=32;i[e+17>>0]=32;ABb(e+18|0,k[c+12>>2]|0,d|0)|0;if((g|0)>0&(f|0)>0)a=0;else{r=h;return}do{d=ha(f,a)|0;b=0;do{c=d+b|0;j=i[e+18+(c<<2)>>0]|0;i[e+18+(c<<2)>>0]=i[e+18+(c<<2)+2>>0]|0;i[e+18+(c<<2)+2>>0]=j;b=b+1|0}while((b|0)!=(f|0));a=a+1|0}while((a|0)<(g|0));r=h;return}function aia(a,b){a=a|0;b=b|0;iqb(b);return}function bia(a){a=a|0;k[a>>2]=24804;mP(a+20|0);return}function cia(a){a=a|0;k[a>>2]=24804;mP(a+20|0);CAb(a);return}function dia(a){a=a|0;return k[a+16>>2]|0}function eia(a){a=a|0;return ha(k[a+8>>2]<<2,k[a+12>>2]|0)|0}function fia(){var a=0,b=0,c=0,d=0,e=0;e=r;r=r+16|0;i[632124]=0;i[632136]=0;i[632148]=0;i[632160]=0;k[158041]=0;k[158042]=0;a=i[438903]|0;if(!(a<<24>>24))b=5381;else{c=438903;b=5381;do{c=c+1|0;b=(b*33|0)+(a<<24>>24)|0;a=i[c>>0]|0}while(a<<24>>24!=0)}a=b&3;if(!(i[632116+(a*12|0)+8>>0]|0)){b=a;a=632116+(a*12|0)+8|0;d=5}else{a=b+1&3;if(!(i[632116+(a*12|0)+8>>0]|0)){b=a;a=632116+(a*12|0)+8|0;d=5}else{a=b+2&3;if(!(i[632116+(a*12|0)+8>>0]|0)){b=a;a=632116+(a*12|0)+8|0;d=5}else{a=b+3&3;if(!(i[632116+(a*12|0)+8>>0]|0)){b=a;a=632116+(a*12|0)+8|0;d=5}}}}if((d|0)==5){i[a>>0]=1;k[632116+(b*12|0)>>2]=438903;k[632116+(b*12|0)+4>>2]=0}if(0>1){k[e>>2]=438903;k[e+4>>2]=0;Jpb(441170,e)|0}else k[158041]=438903;a=i[438907]|0;if(!(a<<24>>24))b=5381;else{c=438907;b=5381;do{c=c+1|0;b=(b*33|0)+(a<<24>>24)|0;a=i[c>>0]|0}while(a<<24>>24!=0)}a=b&3;if(!(i[632116+(a*12|0)+8>>0]|0)){b=a;a=632116+(a*12|0)+8|0;d=17}else{a=b+1&3;if(!(i[632116+(a*12|0)+8>>0]|0)){b=a;a=632116+(a*12|0)+8|0;d=17}else{a=b+2&3;if(!(i[632116+(a*12|0)+8>>0]|0)){b=a;a=632116+(a*12|0)+8|0;d=17}else{a=b+3&3;if(!(i[632116+(a*12|0)+8>>0]|0)){b=a;a=632116+(a*12|0)+8|0;d=17}}}}if((d|0)==17){i[a>>0]=1;k[632116+(b*12|0)>>2]=438907;k[632116+(b*12|0)+4>>2]=1}if(1>1){k[e+8>>2]=438907;k[e+8+4>>2]=1;Jpb(441170,e+8|0)|0;r=e;return}else{k[158042]=438907;r=e;return}}function gia(a){a=a|0;Uj(a);k[a>>2]=24804;k[a+16>>2]=0;lP(a+20|0);return}function hia(a){a=a|0;return k[a+8>>2]|0}function iia(a){a=a|0;return k[a+12>>2]|0}function jia(a,b,c){a=a|0;b=b|0;c=c|0;if((b|0)<=-1){c=0;return c|0}if(!((c|0)>-1?(k[a+8>>2]|0)>(b|0):0)){c=0;return c|0}c=(k[a+12>>2]|0)>(c|0);return c|0}function kia(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=r;r=r+16|0;if((b|0)>-1)if((c|0)>-1?(k[a+8>>2]|0)>(b|0):0)if((k[a+12>>2]|0)>(c|0)){aP(e+4|0,nP(a+20|0)|0);f=Gi[k[(k[a>>2]|0)+16>>2]&2047](a)|0;c=f+((ha(k[a+8>>2]|0,c)|0)+b<<2)|0;b=l[d>>0]|l[d+1>>0]<<8|l[d+2>>0]<<16|l[d+3>>0]<<24;i[c>>0]=b;i[c+1>>0]=b>>8;i[c+2>>0]=b>>16;i[c+3>>0]=b>>24;cP(e+4|0);r=e;return}f=xf(16)|0;os(f,438911,e);Jc(f|0,96,27)}function lia(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Gi[k[(k[a>>2]|0)+16>>2]&2047](a)|0;c=e+((ha(k[a+8>>2]|0,c)|0)+b<<2)|0;b=l[d>>0]|l[d+1>>0]<<8|l[d+2>>0]<<16|l[d+3>>0]<<24;i[c>>0]=b;i[c+1>>0]=b>>8;i[c+2>>0]=b>>16;i[c+3>>0]=b>>24;return}function mia(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=r;r=r+16|0;if((c|0)>-1)if((d|0)>-1?(k[b+8>>2]|0)>(c|0):0)if((k[b+12>>2]|0)>(d|0)){aP(e+4|0,nP(b+20|0)|0);f=Gi[k[(k[b>>2]|0)+16>>2]&2047](b)|0;d=f+((ha(k[b+8>>2]|0,d)|0)+c<<2)|0;d=l[d>>0]|l[d+1>>0]<<8|l[d+2>>0]<<16|l[d+3>>0]<<24;i[a>>0]=d;i[a+1>>0]=d>>8;i[a+2>>0]=d>>16;i[a+3>>0]=d>>24;cP(e+4|0);r=e;return}f=xf(16)|0;os(f,438946,e);Jc(f|0,96,27)}function nia(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0;u=r;r=r+16|0;aP(u+4|0,nP(b+20|0)|0);aP(u,nP(a+20|0)|0);t=Gi[k[(k[b>>2]|0)+16>>2]&2047](b)|0;s=Gi[k[(k[a>>2]|0)+16>>2]&2047](a)|0;n=k[b+8>>2]|0;do if(!((g+e|0)<0|(n|0)<=(e|0))){o=k[b+12>>2]|0;if(!((h+f|0)<0|(o|0)<=(f|0))){p=k[a+8>>2]|0;if((p|0)>(c|0))if((g+c|0)>=0){q=k[a+12>>2]|0;if((q|0)>(d|0))if((h+d|0)>=0){i=e-((c|0)<0?c:0)|0;e=f-((d|0)<0?d:0)|0;l=(i|0)<0?0:i;f=(i|0)<0?i:0;i=((c|0)<0?0:c)-f|0;j=(e|0)<0?0:e;e=(e|0)<0?e:0;m=((d|0)<0?0:d)-e|0;f=(((c|0)<0?g+c|0:g+c|0)|0)>(p|0)?p-i|0:((c|0)<0?g+c|0:g)+f|0;c=(((d|0)<0?h+d|0:h+d|0)|0)>(q|0)?q-m|0:((d|0)<0?h+d|0:h)+e|0;f=(f+l|0)>(n|0)?n-l|0:f;c=(c+j|0)>(o|0)?o-j|0:c;if((f|0)==(p|0)&(p|0)==(n|0)&(c|0)==(q|0)&(q|0)==(o|0)){ABb(s|0,t|0,ha(n<<2,o)|0)|0;break}if((f|0)>0&(c|0)>0){ABb(s+(i<<2)+((ha(p,m)|0)<<2)|0,t+(l<<2)+((ha(n,j)|0)<<2)|0,f<<2|0)|0;if((c|0)>1){e=1;do{ABb(s+(i<<2)+((ha(k[a+8>>2]|0,e+m|0)|0)<<2)|0,t+(l<<2)+((ha(k[b+8>>2]|0,e+j|0)|0)<<2)|0,f<<2|0)|0;e=e+1|0}while((e|0)<(c|0))}}}}}}while(0);cP(u);cP(u+4|0);r=u;return}function oia(a){a=a|0;return nP(a+20|0)|0}function pia(a,b){a=a|0;b=b|0;return qia(632116,a,b)|0}function qia(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0;e=i[b>>0]|0;if(!(e<<24>>24))m=5381;else{f=b;g=e;d=5381;do{f=f+1|0;d=(d*33|0)+(g<<24>>24)|0;g=i[f>>0]|0}while(g<<24>>24!=0);m=d}d=m&3;if(!(i[a+(d*12|0)+8>>0]|0)){c=1;a=0;a=c&a;return a|0}g=k[a+(d*12|0)>>2]|0;f=i[g>>0]|0;a:do if(!(f<<24>>24)){f=e;l=8}else if(e<<24>>24?f<<24>>24==e<<24>>24:0){j=b;while(1){g=g+1|0;j=j+1|0;h=i[g>>0]|0;f=i[j>>0]|0;if(!(h<<24>>24)){l=8;break a}if(!(f<<24>>24?h<<24>>24==f<<24>>24:0)){l=10;break}}}else l=10;while(0);if((l|0)==8)if(f<<24>>24)l=10;do if((l|0)==10){d=m+1&3;if(!(i[a+(d*12|0)+8>>0]|0)){c=1;a=0;a=c&a;return a|0}g=k[a+(d*12|0)>>2]|0;f=i[g>>0]|0;b:do if(!(f<<24>>24)){f=e;l=16}else if(e<<24>>24?f<<24>>24==e<<24>>24:0){j=b;do{g=g+1|0;j=j+1|0;h=i[g>>0]|0;f=i[j>>0]|0;if(!(h<<24>>24)){l=16;break b}}while(f<<24>>24?h<<24>>24==f<<24>>24:0)}while(0);if((l|0)==16)if(!(f<<24>>24))break;d=m+2&3;if(!(i[a+(d*12|0)+8>>0]|0)){c=1;a=0;a=c&a;return a|0}g=k[a+(d*12|0)>>2]|0;f=i[g>>0]|0;c:do if(!(f<<24>>24)){f=e;l=22}else if(e<<24>>24?f<<24>>24==e<<24>>24:0){j=b;do{g=g+1|0;j=j+1|0;h=i[g>>0]|0;f=i[j>>0]|0;if(!(h<<24>>24)){l=22;break c}}while(f<<24>>24?h<<24>>24==f<<24>>24:0)}while(0);if((l|0)==22)if(!(f<<24>>24))break;d=m+3&3;if(!(i[a+(d*12|0)+8>>0]|0)){c=1;a=0;a=c&a;return a|0}f=k[a+(d*12|0)>>2]|0;g=i[f>>0]|0;d:do if(g<<24>>24){if(!(e<<24>>24?g<<24>>24==e<<24>>24:0)){c=0;a=0;a=c&a;return a|0}while(1){f=f+1|0;b=b+1|0;g=i[f>>0]|0;e=i[b>>0]|0;if(!(g<<24>>24))break d;if(!(e<<24>>24?g<<24>>24==e<<24>>24:0)){d=0;e=0;break}}a=d&e;return a|0}while(0);if(e<<24>>24){c=0;a=0;a=c&a;return a|0}}while(0);k[c>>2]=k[a+(d*12|0)+4>>2];c=1;a=1;a=c&a;return a|0}function ria(a,b){a=a|0;b=b|0;if(a>>>0>1)a=0;else{a=k[632164+(a<<2)>>2]|0;if(!a)a=0;else{k[b>>2]=a;a=1}}return a|0}function sia(a){a=a|0;var b=0,c=0,d=0,e=0;e=r;r=r+80|0;k[a>>2]=24840;b=k[a+16>>2]|0;if(b|0)Ojb(b);b=k[a+12>>2]|0;if(b|0)ukb(b);b=k[a+8>>2]|0;if(b|0)thb(b);k[a+8>>2]=0;k[a+12>>2]=0;k[a+16>>2]=0;k[a+20>>2]=-1;o[a+52>>2]=0.0;o[a+56>>2]=0.0;j[a+60>>1]=0;b=a+62|0;c=e;d=b+66|0;do{j[b>>1]=j[c>>1]|0;b=b+2|0;c=c+2|0}while((b|0)<(d|0));k[a+128>>2]=0;k[a+128+4>>2]=0;k[a+136>>2]=-1;k[a+140>>2]=-1;_qb(a+40|0);_qb(a+24|0);r=e;return}function tia(a){a=a|0;sia(a);CAb(a);return}function uia(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=r;r=r+96|0;Si[k[(k[a>>2]|0)+20>>2]&1023](a);c=jkb(b)|0;k[a+8>>2]=c;if(!c){f=k[a>>2]|0;f=f+24|0;f=k[f>>2]|0;f=Gi[f&2047](a)|0;r=g;return f|0}c=zkb(c)|0;k[a+20>>2]=c;Bkb(g+16|0,k[a+8>>2]|0);c=g+72|0;d=g+16|0;e=c+16|0;do{i[c>>0]=i[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));gkb(g+72|0,g+32|0,33);Wqb(g,g+32|0,Fnb(g+32|0)|0);if(!(i[a+24>>0]&1)){i[a+24+1>>0]=0;i[a+24>>0]=0}else{i[k[a+32>>2]>>0]=0;k[a+28>>2]=0}crb(a+24|0,0);k[a+24>>2]=k[g>>2];k[a+24+4>>2]=k[g+4>>2];k[a+24+8>>2]=k[g+8>>2];k[g>>2]=0;k[g+4>>2]=0;k[g+8>>2]=0;_qb(g);gj[k[(k[a>>2]|0)+60>>2]&511](a,b)|0;c=Akb(k[a+8>>2]|0)|0;if(!c){c=k[a+12>>2]|0;if(c|0){c=skb(c)|0;if(c|0)f=8}}else f=8;if((f|0)==8)drb(a+40|0,c)|0;f=k[a>>2]|0;f=f+24|0;f=k[f>>2]|0;f=Gi[f&2047](a)|0;r=g;return f|0}function via(a){a=a|0;var b=0,c=0,d=0,e=0;e=r;r=r+80|0;b=k[a+16>>2]|0;if(b|0)Ojb(b);b=k[a+12>>2]|0;if(b|0)ukb(b);b=k[a+8>>2]|0;if(b|0)thb(b);k[a+8>>2]=0;k[a+12>>2]=0;k[a+16>>2]=0;k[a+20>>2]=-1;o[a+52>>2]=0.0;o[a+56>>2]=0.0;j[a+60>>1]=0;b=a+62|0;c=e;d=b+66|0;do{j[b>>1]=j[c>>1]|0;b=b+2|0;c=c+2|0}while((b|0)<(d|0));k[a+128>>2]=0;k[a+128+4>>2]=0;k[a+136>>2]=-1;k[a+140>>2]=-1;r=e;return}function wia(a){a=a|0;a=k[a+8>>2]|0;if(!a){a=0;return a|0}a=(qkb(a)|0)!=0;return a|0}function xia(a){a=a|0;if(!(i[a+40>>0]&1)){a=a+40+1|0;return a|0}else{a=k[a+48>>2]|0;return a|0}return 0}function yia(a){a=a|0;if(!(Gi[k[(k[a>>2]|0)+24>>2]&2047](a)|0)){a=0;return a|0}a=wkb(k[a+8>>2]|0)|0;return a|0}function zia(a){a=a|0;if(!(Gi[k[(k[a>>2]|0)+24>>2]&2047](a)|0)){a=0;return a|0}a=ykb(k[a+8>>2]|0)|0;return a|0}function Aia(a){a=a|0;if(!(Gi[k[(k[a>>2]|0)+24>>2]&2047](a)|0)){a=0;return a|0}a=xkb(k[a+8>>2]|0)|0;return a|0}function Bia(a,b){a=a|0;b=b|0;var c=0.0;if((b|0)<0|(Gi[k[(k[a>>2]|0)+24>>2]&2047](a)|0)^1){c=0.0;return +c}if((Gi[k[(k[a>>2]|0)+32>>2]&2047](a)|0)<=(b|0)){c=0.0;return +c}c=+Cja(+((mkb(k[a+8>>2]|0,b)|0)<<16>>16)*.000030517578125);return +c}function Cia(a,b){a=a|0;b=b|0;var c=0.0,d=0,e=0,f=0,g=0;g=r;r=r+16|0;k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;e=Gi[k[(k[b>>2]|0)+32>>2]&2047](b)|0;if((e|0)<1|(Gi[k[(k[b>>2]|0)+24>>2]&2047](b)|0)^1){r=g;return}if(!e){r=g;return}f=kBb(e<<2)|0;k[a>>2]=f;k[a+4>>2]=f;k[a+8>>2]=f+(e<<2);if((e|0)<=0){r=g;return}f=0;do{c=+Cja(+((mkb(k[b+8>>2]|0,f)|0)<<16>>16)*.000030517578125);o[g>>2]=c;d=k[a+4>>2]|0;if(d>>>0<(k[a+8>>2]|0)>>>0){o[d>>2]=c;k[a+4>>2]=d+4}else oB(a,g);f=f+1|0}while((f|0)<(e|0));r=g;return}function Dia(a,b){a=a|0;b=b|0;if((b|0)<0|(Gi[k[(k[a>>2]|0)+24>>2]&2047](a)|0)^1){a=0;return a|0}if((Gi[k[(k[a>>2]|0)+40>>2]&2047](a)|0)<=(b|0)){a=0;return a|0}b=pkb(k[a+8>>2]|0,b)|0;if((b&255)>=16){a=0;return a|0}if(!(i[1205668+((b&255)<<3)+4>>0]|0)){a=0;return a|0}a=k[1205668+((b&255)<<3)>>2]|0;return a|0}function Eia(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if(!(Gi[k[(k[a>>2]|0)+24>>2]&2047](a)|0)){a=0;return a|0}e=Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0;c=k[b>>2]|0;d=k[b+4>>2]|0;if((c|0)==(d|0)){a=0;return a|0}while(1){b=k[c>>2]|0;if((b|0)>-1&(b|0)<(e|0))if((nkb(k[a+8>>2]|0,b)|0)<<24>>24==1){b=1;c=6;break}c=c+4|0;if((c|0)==(d|0)){b=0;c=6;break}}if((c|0)==6)return b|0;return 0}function Fia(a,b){a=a|0;b=b|0;if(!(ckb(b)|0)){a=0;return a|0}if(Gi[k[(k[a>>2]|0)+64>>2]&2047](a)|0){ukb(k[a+12>>2]|0);k[a+12>>2]=0}b=hkb(b)|0;k[a+12>>2]=b;a=Gi[k[(k[a>>2]|0)+64>>2]&2047](a)|0;return a|0}function Gia(a){a=a|0;return (k[a+12>>2]|0)!=0|0}function Hia(a,b){a=a|0;b=b|0;var c=0.0;if(!(Gi[k[(k[a>>2]|0)+24>>2]&2047](a)|0)){c=0.0;return +c}if(!(b>>>0<7&(Gi[k[(k[a>>2]|0)+64>>2]&2047](a)|0))){c=0.0;return +c}if(!(i[1205980+(b<<3)+4>>0]|0)){c=0.0;return +c}c=+Cja(+((lkb(k[a+12>>2]|0,k[1205980+(b<<3)>>2]|0)|0)<<16>>16)*.000030517578125);return +c}function Iia(a,b){a=a|0;b=b|0;var c=0,d=0;if(!(Gi[k[(k[a>>2]|0)+24>>2]&2047](a)|0)){a=0;return a|0}if(!(Gi[k[(k[a>>2]|0)+64>>2]&2047](a)|0)){a=0;return a|0}c=k[b>>2]|0;d=k[b+4>>2]|0;if((c|0)==(d|0)){a=0;return a|0}while(1){b=k[c>>2]|0;if(b>>>0<16)if(i[1206164+(b<<3)+4>>0]|0)if((okb(k[a+12>>2]|0,k[1206164+(b<<3)>>2]|0)|0)<<24>>24==1){b=1;c=9;break}c=c+4|0;if((c|0)==(d|0)){b=0;c=9;break}}if((c|0)==9)return b|0;return 0}function Jia(a){a=a|0;return k[a+8>>2]|0}function Kia(a,b){a=a|0;b=b|0;Vqb(a,b+24|0);return}function Lia(a){a=a|0;return k[a+20>>2]|0}function Mia(a){a=a|0;return k[a+36>>2]|0}function Nia(a){a=a|0;var b=0;if(!(Oia(a)|0)){a=0;return a|0}b=Sjb(k[a+16>>2]|0)|0;if(b&4|0){a=1;return a|0}if(!((b&2048|0)==0|(Gi[k[(k[a>>2]|0)+64>>2]&2047](a)|0)^1)){a=1;return a|0}a=(b&2|0)!=0;return a|0}function Oia(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=r;r=r+80|0;if(!(Gi[k[(k[a>>2]|0)+24>>2]&2047](a)|0)){a=0;r=f;return a|0}if(!(Hib(4096)|0))if((Qgb(4096)|0)<0){a=0;r=f;return a|0}b=k[a+16>>2]|0;if(b|0){if((Ijb(b)|0)!=-1){a=1;r=f;return a|0}b=k[a+16>>2]|0;if(b|0){Ojb(b);k[a+16>>2]=0}}b=Ljb(k[a+8>>2]|0)|0;k[a+16>>2]=b;o[a+52>>2]=0.0;o[a+56>>2]=0.0;j[a+60>>1]=0;c=a+62|0;d=f;e=c+66|0;do{j[c>>1]=j[d>>1]|0;c=c+2|0;d=d+2|0}while((c|0)<(e|0));k[a+128>>2]=0;k[a+128+4>>2]=0;k[a+136>>2]=-1;k[a+140>>2]=-1;a=(b|0)!=0;r=f;return a|0}function Pia(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;var e=0,f=0,g=0,h=0,l=0,m=0,n=0,p=0;p=r;r=r+16|0;o[p+8>>2]=b;o[p+4>>2]=0.0;m=b<0.0?p+4|0:p+8|0;o[p>>2]=1.0;m=k[(+o[m>>2]>1.0?p:m)>>2]|0;k[p+8>>2]=m;b=c<0.0?0.0:c;b=b>1.0?1.0:b;c=(k[t>>2]=m,+o[t>>2]);if(b==0.0&c==0.0){a=Gi[k[(k[a>>2]|0)+100>>2]&2047](a)|0;r=p;return a|0}if(!(Oia(a)|0)){a=0;r=p;return a|0}if(!(d>=0.0))l=-1;else l=~~((d>4294967.5?4294967.5:d)*1.0e3)>>>0;h=Sjb(k[a+16>>2]|0)|0;e=Tjb(k[a+16>>2]|0)|0;if(!(h&4))n=8;else{f=a+60|0;g=f+68|0;do{k[f>>2]=0;f=f+4|0}while((f|0)<(g|0));j[a+60>>1]=4;k[a+64>>2]=l;j[a+68>>1]=~~(c*65535.0);j[a+60+10>>1]=~~(b*65535.0);if(!(Qia(a)|0))n=8}do if((n|0)==8){if(Gi[k[(k[a>>2]|0)+64>>2]&2047](a)|0)if((h&2048|0)!=0&(e|0)==2){j[a+132>>1]=~~(c*32767.0);j[a+128>>1]=~~(c*32767.0);j[a+134>>1]=~~(b*32767.0);j[a+130>>1]=~~(b*32767.0);f=a+60|0;g=f+68|0;do{k[f>>2]=0;f=f+4|0}while((f|0)<(g|0));j[a+60>>1]=2048;k[a+80>>2]=l;i[a+90>>0]=2;j[a+92>>1]=10;j[a+94>>1]=2;k[a+96>>2]=a+128;e=Qia(a)|0}else e=0;else e=0;if((h&2|0)==0|e){if(e)break}else{f=a+60|0;g=f+68|0;do{k[f>>2]=0;f=f+4|0}while((f|0)<(g|0));j[a+60>>1]=2;k[a+80>>2]=l;j[a+90>>1]=10;j[a+92>>1]=~~((c>2]=0.0;o[a+52>>2]=0.0;k[a+140>>2]=-1;a=0;r=p;return a|0}while(0);k[a+52>>2]=m;o[a+56>>2]=b;if((l|0)==-1){k[a+140>>2]=-1;a=1;r=p;return a|0}else{n=(n7a()|0)+l|0;k[a+140>>2]=n;a=1;r=p;return a|0}return 0}function Qia(a){a=a|0;var b=0;b=k[a+136>>2]|0;if((b|0)==-1)b=a+60|0;else{if(!(Wjb(k[a+16>>2]|0,b,a+60|0)|0))if(!(Yjb(k[a+16>>2]|0,k[a+136>>2]|0,1)|0)){a=1;return a|0}Rjb(k[a+16>>2]|0,k[a+136>>2]|0);k[a+136>>2]=-1;b=a+60|0}b=Ujb(k[a+16>>2]|0,b)|0;k[a+136>>2]=b;if((b|0)!=-1)if(!(Yjb(k[a+16>>2]|0,b,1)|0)){a=1;return a|0}a=0;return a|0}function Ria(a){a=a|0;var b=0;if(Hib(4096)|0){b=k[a+16>>2]|0;if(b|0)if((Ijb(b)|0)!=-1)if(_jb(k[a+16>>2]|0,k[a+136>>2]|0)|0){a=0;return a|0}}o[a+56>>2]=0.0;o[a+52>>2]=0.0;a=1;return a|0}function Sia(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=k[a+140>>2]|0;if((d|0)!=-1)if((d-(n7a()|0)|0)<1){Gi[k[(k[a>>2]|0)+100>>2]&2047](a)|0;k[a+140>>2]=-1}d=k[a+136>>2]|0;e=k[a+16>>2]|0;if(!((d|0)==-1|(e|0)==0))if((akb(e,d)|0)==1){e=a+56|0;a=k[a+52>>2]|0;k[b>>2]=a;a=k[e>>2]|0;k[c>>2]=a;return}o[a+56>>2]=0.0;o[a+52>>2]=0.0;a=a+56|0;e=0;k[b>>2]=e;a=k[a>>2]|0;k[c>>2]=a;return}function Tia(){var a=0,b=0,c=0;i[1205672]=0;i[1205680]=0;i[1205688]=0;i[1205696]=0;i[1205704]=0;i[1205712]=0;i[1205720]=0;i[1205728]=0;i[1205736]=0;i[1205744]=0;i[1205752]=0;i[1205760]=0;i[1205768]=0;i[1205776]=0;i[1205784]=0;i[1205792]=0;i[1205800]=0;i[1205808]=0;i[1205816]=0;i[1205824]=0;i[1205832]=0;i[1205840]=0;i[1205848]=0;i[1205856]=0;i[1205864]=0;i[1205872]=0;i[1205880]=0;i[1205888]=0;i[1205896]=0;i[1205904]=0;i[1205912]=0;i[1205920]=0;c=0;do{a=k[24948+(c<<3)>>2]|0;b=i[24948+(c<<3)+4>>0]|0;if(a>>>0<16){k[1205796+(a<<3)>>2]=b&255;i[1205796+(a<<3)+4>>0]=1}if((b&255)<16){k[1205668+((b&255)<<3)>>2]=a;i[1205668+((b&255)<<3)+4>>0]=1}c=c+1|0}while((c|0)!=9);i[1205928]=0;i[1205936]=0;i[1205944]=0;i[1205952]=0;i[1205960]=0;i[1205968]=0;i[1205976]=0;i[1205984]=0;i[1205992]=0;i[1206e3]=0;i[1206008]=0;i[1206016]=0;i[1206024]=0;i[1206032]=0;if(1<7){k[301497]=0;i[1205992]=1}if(0<7){k[301481]=1;i[1205928]=1}if(2<7){k[301499]=1;i[1206e3]=1}if(1<7){k[301483]=2;i[1205936]=1}if(3<7){k[301501]=2;i[1206008]=1}if(2<7){k[301485]=3;i[1205944]=1}if(4<7){k[301503]=3;i[1206016]=1}if(3<7){k[301487]=4;i[1205952]=1}if(5<7){k[301505]=4;i[1206024]=1}if(4<7){k[301489]=5;i[1205960]=1}if(6<7){k[301507]=5;i[1206032]=1}if(5<7){k[301491]=6;i[1205968]=1}i[1206040]=0;i[1206048]=0;i[1206056]=0;i[1206064]=0;i[1206072]=0;i[1206080]=0;i[1206088]=0;i[1206096]=0;i[1206104]=0;i[1206112]=0;i[1206120]=0;i[1206128]=0;i[1206136]=0;i[1206144]=0;i[1206152]=0;i[1206160]=0;i[1206168]=0;i[1206176]=0;i[1206184]=0;i[1206192]=0;i[1206200]=0;i[1206208]=0;i[1206216]=0;i[1206224]=0;i[1206232]=0;i[1206240]=0;i[1206248]=0;i[1206256]=0;i[1206264]=0;i[1206272]=0;i[1206280]=0;i[1206288]=0;c=0;do{a=k[25020+(c<<3)>>2]|0;b=k[25020+(c<<3)+4>>2]|0;if(a>>>0<16){k[1206164+(a<<3)>>2]=b;i[1206164+(a<<3)+4>>0]=1}if(b>>>0<16){k[1206036+(b<<3)>>2]=a;i[1206036+(b<<3)+4>>0]=1}c=c+1|0}while((c|0)!=15);return}function Uia(a,b){a=a|0;b=b|0;Uj(a);k[a>>2]=24840;k[a+8>>2]=0;k[a+12>>2]=0;k[a+16>>2]=0;k[a+20>>2]=-1;k[a+24>>2]=0;k[a+24+4>>2]=0;k[a+24+8>>2]=0;k[a+36>>2]=b;k[a+128>>2]=0;k[a+128+4>>2]=0;k[a+40>>2]=0;k[a+40+4>>2]=0;k[a+40+8>>2]=0;k[a+40+12>>2]=0;k[a+40+16>>2]=0;j[a+40+20>>1]=0;k[a+136>>2]=-1;k[a+140>>2]=-1;return}function Via(a,b){a=a|0;b=b|0;if((a&255)>=16){b=0;return b|0}if(!(i[1205668+((a&255)<<3)+4>>0]|0)){b=0;return b|0}k[b>>2]=k[1205668+((a&255)<<3)>>2];b=1;return b|0}function Wia(a,b){a=a|0;b=b|0;if(a>>>0>=7){b=0;return b|0}if(!(i[1205980+(a<<3)+4>>0]|0)){b=0;return b|0}k[b>>2]=k[1205980+(a<<3)>>2];b=1;return b|0}function Xia(a,b){a=a|0;b=b|0;if(a>>>0>=16){b=0;return b|0}if(!(i[1206164+(a<<3)+4>>0]|0)){b=0;return b|0}k[b>>2]=k[1206164+(a<<3)>>2];b=1;return b|0}function Yia(a,b){a=a|0;b=b|0;if(a>>>0>=16){b=0;return b|0}if(!(i[1205796+(a<<3)+4>>0]|0)){b=0;return b|0}i[b>>0]=k[1205796+(a<<3)>>2];b=1;return b|0}function Zia(a,b){a=a|0;b=b|0;if(a>>>0>=7){b=0;return b|0}if(!(i[1205924+(a<<3)+4>>0]|0)){b=0;return b|0}k[b>>2]=k[1205924+(a<<3)>>2];b=1;return b|0}function _ia(a,b){a=a|0;b=b|0;if(a>>>0>=16){b=0;return b|0}if(!(i[1206036+(a<<3)+4>>0]|0)){b=0;return b|0}k[b>>2]=k[1206036+(a<<3)>>2];b=1;return b|0}function $ia(a){a=a|0;var b=0,c=0,d=0;k[a>>2]=25148;b=k[a+24>>2]|0;if((b|0)!=(a+20|0)){c=b;do{d=k[c+8>>2]|0;Si[k[(k[d>>2]|0)+20>>2]&1023](d);Si[k[(k[d>>2]|0)+12>>2]&1023](d);b=k[b+4>>2]|0;c=b}while((c|0)!=(a+20|0))}if(Hib(4096)|0)rhb(4096);rhb(8704);aja(a+32|0,k[a+36>>2]|0);if(k[a+28>>2]|0){b=k[a+24>>2]|0;d=(k[a+20>>2]|0)+4|0;c=k[b>>2]|0;k[c+4>>2]=k[d>>2];k[k[d>>2]>>2]=c;k[a+28>>2]=0;if((b|0)!=(a+20|0))do{d=b;b=k[b+4>>2]|0;CAb(d)}while((b|0)!=(a+20|0))}b=k[a+8>>2]|0;if(!b){Hj(a);return}c=k[a+12>>2]|0;if((c|0)!=(b|0))k[a+12>>2]=c+(~((c+-4-b|0)>>>2)<<2);CAb(b);Hj(a);return}function aja(a,b){a=a|0;b=b|0;if(!b)return;else{aja(a,k[b>>2]|0);aja(a,k[b+4>>2]|0);_qb(b+16|0);CAb(b);return}}function bja(a){a=a|0;$ia(a);CAb(a);return}function cja(a){a=a|0;return 6}function dja(a){a=a|0;return 439107}function eja(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,l=0,m=0;m=r;r=r+112|0;if((b|0)<0){a=0;r=m;return a|0}if((hjb()|0)<=(b|0)){a=0;r=m;return a|0}if((hjb()|0)>(b|0)){c=m+36|0;e=c+33|0;do{i[c>>0]=0;c=c+1|0}while((c|0)<(e|0));xhb(m+88|0,b);c=m+72|0;d=m+88|0;e=c+16|0;do{i[c>>0]=i[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));gkb(m+72|0,m+36|0,33);Wqb(m+12|0,m+36|0,Fnb(m+36|0)|0)}else Wqb(m+12|0,1279174,0);k[m+36>>2]=0;c=k[a+24>>2]|0;a:do if((c|0)==(a+20|0)){d=0;e=20}else{d=c;g=c;b:while(1){c=k[d+8>>2]|0;do if(!(Gi[k[(k[c>>2]|0)+24>>2]&2047](c)|0)){Di[k[(k[c>>2]|0)+80>>2]&511](m+24|0,c);e=j[m+24>>1]|0;f=(e&1)==0?(e&254)>>>1:k[m+24+4>>2]|0;d=i[m+12>>0]|0;if((f|0)==(((d&1)==0?(d&255)>>>1:k[m+12+4>>2]|0)|0)){d=(d&1)==0?m+12+1|0:k[m+12+8>>2]|0;if(e&1){l=(Emb(k[m+24+8>>2]|0,d,f)|0)==0;_qb(m+24|0);if(l){e=17;break b}else break}if(!f){e=19;break b}if(((e&65535)>>>8&255)<<24>>24==(i[d>>0]|0)){e=(e&254)>>>1;f=m+24+1|0;do{e=e+-1|0;f=f+1|0;if(!e){e=19;break b}d=d+1|0}while((i[f>>0]|0)==(i[d>>0]|0))}}_qb(m+24|0)}while(0);g=k[g+4>>2]|0;d=g;if((d|0)==(a+20|0)){d=0;e=20;break a}}if((e|0)==17){k[m+36>>2]=c;h=c;l=c;g=1;break}else if((e|0)==19){_qb(m+24|0);k[m+36>>2]=c;if(!c){d=1;e=20;break}else{h=c;l=c;g=1;break}}}while(0);if((e|0)==20){c=kBb(144)|0;Uia(c,k[a+28>>2]|0);k[m+36>>2]=c;h=kBb(12)|0;k[h+8>>2]=c;k[h+4>>2]=a+20;l=k[a+20>>2]|0;k[h>>2]=l;k[l+4>>2]=h;k[a+20>>2]=h;k[a+28>>2]=(k[a+28>>2]|0)+1;h=c;l=c;g=d}Di[k[(k[a>>2]|0)+28>>2]&511](a,c);c:do if(gj[k[(k[c>>2]|0)+16>>2]&511](c,b)|0){d=k[a+8>>2]|0;f=k[a+12>>2]|0;d:do if((d|0)!=(f|0)){while(1){e=k[d>>2]|0;b=Gi[k[(k[c>>2]|0)+76>>2]&2047](c)|0;d=d+4|0;if((b|0)==(Gi[k[(k[e>>2]|0)+76>>2]&2047](e)|0))break;if((d|0)==(f|0))break d}Si[k[(k[c>>2]|0)+20>>2]&1023](c);if(g){c=e;break c}fja(a+20|0,m+36|0);Si[k[(k[h>>2]|0)+12>>2]&1023](h);c=e;break c}while(0);if(Gi[k[(k[c>>2]|0)+64>>2]&2047](c)|0){Di[k[(k[c>>2]|0)+80>>2]&511](m,c);f=gja(a+32|0,m+72|0,m)|0;d=k[f>>2]|0;if(!d){d=kBb(32)|0;k[d+16>>2]=k[m>>2];k[d+16+4>>2]=k[m+4>>2];k[d+16+8>>2]=k[m+8>>2];k[m>>2]=0;k[m+4>>2]=0;k[m+8>>2]=0;i[d+28>>0]=0;e=k[m+72>>2]|0;k[d>>2]=0;k[d+4>>2]=0;k[d+8>>2]=e;k[f>>2]=d;e=k[k[a+32>>2]>>2]|0;if(!e)e=d;else{k[a+32>>2]=e;e=k[f>>2]|0}Qj(k[a+36>>2]|0,e);k[a+40>>2]=(k[a+40>>2]|0)+1}i[d+28>>0]=1;_qb(m)}d=k[a+12>>2]|0;if((d|0)==(k[a+16>>2]|0)){hja(a+8|0,m+36|0);break}else{k[d>>2]=l;k[a+12>>2]=(k[a+12>>2]|0)+4;break}}else c=0;while(0);_qb(m+12|0);a=c;r=m;return a|0}function fja(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0;l=r;r=r+16|0;k[l>>2]=l;k[l+4>>2]=l;k[l+8>>2]=0;e=k[a+4>>2]|0;if((e|0)==(a|0)){r=l;return}if((l|0)==(a|0)){g=e;f=e;while(1){d=k[g+8>>2]|0;c=k[f+4>>2]|0;if((d|0)==(k[b>>2]|0)){a:do if((c|0)==(a|0)){e=a;d=0}else{e=c;while(1){if((k[e+8>>2]|0)!=(d|0)){d=1;break a}c=k[c+4>>2]|0;e=c;if((e|0)==(a|0)){e=a;d=0;break}}}while(0);if((g|0)!=(e|0)){j=k[c>>2]|0;i=k[f>>2]|0;k[i+4>>2]=k[j+4>>2];k[k[j+4>>2]>>2]=i;i=k[l>>2]|0;k[i+4>>2]=g;k[f>>2]=i;k[l>>2]=j;k[j+4>>2]=a}if(d)c=k[c+4>>2]|0}g=c;if((g|0)==(a|0))break;else f=c}r=l;return}d=l;j=e;c=0;i=e;while(1){f=k[j+8>>2]|0;e=k[i+4>>2]|0;if((f|0)==(k[b>>2]|0)){b:do if((e|0)==(a|0)){g=a;h=0}else{g=e;while(1){if((k[g+8>>2]|0)!=(f|0)){h=1;break b}e=k[e+4>>2]|0;g=e;if((g|0)==(a|0)){g=a;h=0;break}}}while(0);if((j|0)!=(g|0)){f=j;d=0;do{d=d+1|0;f=k[f+4>>2]|0}while((f|0)!=(g|0));k[a+8>>2]=(k[a+8>>2]|0)-d;c=c+d|0;k[l+8>>2]=c;d=k[e>>2]|0;g=k[i>>2]|0;k[g+4>>2]=k[d+4>>2];k[k[d+4>>2]>>2]=g;g=k[l>>2]|0;k[g+4>>2]=j;k[i>>2]=g;k[l>>2]=d;k[d+4>>2]=l}if(h)e=k[e+4>>2]|0}j=e;if((j|0)==(a|0))break;else i=e}if(!c){r=l;return}c=k[l+4>>2]|0;a=k[c>>2]|0;k[a+4>>2]=k[d+4>>2];k[k[d+4>>2]>>2]=a;k[l+8>>2]=0;if((c|0)==(l|0)){r=l;return}do{a=c;c=k[c+4>>2]|0;CAb(a)}while((c|0)!=(l|0));r=l;return}function gja(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=k[a+4>>2]|0;if(!d){k[b>>2]=a+4;b=a+4|0;return b|0}f=i[c>>0]|0;g=(f&1)==0?(f&255)>>>1:k[c+4>>2]|0;f=(f&1)==0?c+1|0:k[c+8>>2]|0;while(1){c=d+16|0;e=i[c>>0]|0;a=(e&1)==0?(e&255)>>>1:k[d+20>>2]|0;c=(e&1)==0?c+1|0:k[d+24>>2]|0;e=Emb(f,c,a>>>0>>0?a:g)|0;if((((e|0)==0?(g>>>0>>0?-2147483648:0):e)|0)<0){a=k[d>>2]|0;if(!a){a=d;c=5;break}else d=a}else{e=Emb(c,f,g>>>0>>0?g:a)|0;if((((e|0)==0?(a>>>0>>0?-2147483648:0):e)|0)>=0){c=10;break}e=d+4|0;a=k[e>>2]|0;if(!a){c=9;break}else d=a}}if((c|0)==5){k[b>>2]=d;b=a;return b|0}else if((c|0)==9){k[b>>2]=d;b=e;return b|0}else if((c|0)==10){k[b>>2]=d;return b|0}return 0}function hja(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=k[a>>2]|0;c=((k[a+4>>2]|0)-i>>2)+1|0;if(c>>>0>1073741823)xzb(a);d=(k[a+8>>2]|0)-i|0;if(d>>2>>>0<536870911){c=d>>1>>>0>>0?c:d>>1;e=k[a+4>>2]|0;if(!c){h=0;f=0;d=e-i>>2;c=e}else{g=e;d=e-i>>2;j=6}}else{d=k[a+4>>2]|0;c=1073741823;g=d;d=d-i>>2;j=6}if((j|0)==6){h=c;f=kBb(c<<2)|0;c=g}j=f+(d<<2)|0;k[j>>2]=k[b>>2];b=c-i|0;ABb(j+(0-(b>>2)<<2)|0,i|0,b|0)|0;k[a>>2]=j+(0-(b>>2)<<2);k[a+4>>2]=j+4;k[a+8>>2]=f+(h<<2);if(!i)return;CAb(i);return}function ija(a,b){a=a|0;b=b|0;var c=0,d=0;if(!b)return;c=k[a+8>>2]|0;d=k[a+12>>2]|0;a:do if((c|0)!=(d|0)){do{if((k[c>>2]|0)==(b|0))break a;c=c+4|0}while((c|0)!=(d|0));return}while(0);if((c|0)==(d|0))return;d=k[c>>2]|0;Si[k[(k[d>>2]|0)+20>>2]&1023](d);d=c+4|0;b=(k[a+12>>2]|0)-d|0;BBb(c|0,d|0,b|0)|0;c=c+(b>>2<<2)|0;b=k[a+12>>2]|0;if((b|0)==(c|0))return;k[a+12>>2]=b+(~((b+-4-c|0)>>>2)<<2);return}function jja(a,b){a=a|0;b=b|0;var c=0,d=0;c=k[a+8>>2]|0;d=k[a+12>>2]|0;if((c|0)==(d|0)){b=0;return b|0}while(1){a=k[c>>2]|0;c=c+4|0;if((Gi[k[(k[a>>2]|0)+84>>2]&2047](a)|0)==(b|0)){c=4;break}if((c|0)==(d|0)){a=0;c=4;break}}if((c|0)==4)return a|0;return 0}function kja(a,b){a=a|0;b=b|0;var c=0;if((b|0)<0){a=0;return a|0}c=k[a+8>>2]|0;if((k[a+12>>2]|0)-c>>2>>>0<=b>>>0){a=0;return a|0}a=k[c+(b<<2)>>2]|0;return a|0}function lja(a,b){a=a|0;b=b|0;var c=0,d=0;d=k[a+8>>2]|0;c=(k[a+12>>2]|0)-d|0;if((c|0)<=0){b=-1;return b|0}a=0;while(1){if((k[d+(a<<2)>>2]|0)==(b|0)){c=5;break}a=a+1|0;if((a|0)>=(c>>2|0)){a=-1;c=5;break}}if((c|0)==5)return a|0;return 0}function mja(a){a=a|0;return (k[a+12>>2]|0)-(k[a+8>>2]|0)>>2|0}function nja(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0;q=r;r=r+320|0;e=i[b>>0]|0;if((((e&1)==0?(e&255)>>>1:k[b+4>>2]|0)|0)!=32){a=xf(16)|0;k[q+8>>2]=(i[b>>0]&1)==0?b+1|0:k[b+8>>2]|0;os(a,439125,q+8|0);Jc(a|0,96,27)}cjb(q+296|0,(e&1)==0?b+1|0:k[b+8>>2]|0);k[q+248>>2]=0;k[q+248+4>>2]=0;k[q+248+8>>2]=0;e=q+272|0;f=q+296|0;g=e+16|0;do{i[e>>0]=i[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));e=fkb(q+272|0)|0;if(!e){k[q+260>>2]=0;k[q+260+4>>2]=0;k[q+260+8>>2]=0;o=i[b>>0]|0;p=(o&1)==0?(o&255)>>>1:k[b+4>>2]|0;trb(q+260|0,(o&1)==0?b+1|0:k[b+8>>2]|0,p,p+12|0);hrb(q+260|0,439151,12)|0;if(!(i[q+248>>0]&1)){i[q+248+1>>0]=0;i[q+248>>0]=0}else{i[k[q+248+8>>2]>>0]=0;k[q+248+4>>2]=0}crb(q+248|0,0);k[q+248>>2]=k[q+260>>2];k[q+248+4>>2]=k[q+260+4>>2];k[q+248+8>>2]=k[q+260+8>>2];k[q+260>>2]=0;k[q+260+4>>2]=0;k[q+260+8>>2]=0;_qb(q+260|0)}else{drb(q+248|0,e)|0;Y7a(e)}n=q+104+64|0;k[q+104+8>>2]=9184;o=q+104+12|0;k[q+104>>2]=9388;k[n>>2]=9408;k[q+104+4>>2]=0;Fsb(q+104+64|0,o);k[q+104+136>>2]=0;k[q+104+140>>2]=-1;k[q+104>>2]=9164;k[n>>2]=9204;k[q+104+8>>2]=9184;Hsb(o);k[o>>2]=9220;p=q+104+44|0;k[p>>2]=0;k[p+4>>2]=0;k[p+8>>2]=0;k[p+12>>2]=0;k[q+104+60>>2]=24;k[q+272>>2]=0;k[q+272+4>>2]=0;k[q+272+8>>2]=0;ok(o,q+272|0);_qb(q+272|0);switch(k[d>>2]|0){case 0:{e=k[d+4>>2]|0;if((e|0)>-1)Osb(pk(q+104+8|0,608145,1)|0,e)|0;break}case 1:{e=k[d+4>>2]|0;if((e|0)>-1)Osb(pk(q+104+8|0,608147,1)|0,e)|0;break}case 2:{e=k[d+4>>2]|0;if((e|0)>-1)if(Yia(k[d+8>>2]|0,q+288|0)|0){m=pk(Osb(pk(q+104+8|0,609655,1)|0,e)|0,616745,1)|0;Osb(m,l[q+288>>0]|0)|0}break}default:{}}rk(q+92|0,o);m=i[q+92>>0]|0;if(!(((m&1)==0?(m&255)>>>1:k[q+92+4>>2]|0)|0)){a=xf(16)|0;os(a,439164,q+16|0);Jc(a|0,96,27)}j=k[c+4>>2]|0;k[q>>2]=k[c>>2];k[q+4>>2]=j;k[q+272>>2]=k[q>>2];k[q+272+4>>2]=k[q+4>>2];oja(q+80|0,0,q+272|0);pja(0,q+248|0,q+92|0);k[q+56>>2]=0;k[q+56+4>>2]=0;k[q+56+8>>2]=0;j=i[q+80>>0]|0;m=(j&1)==0?(j&255)>>>1:k[q+80+4>>2]|0;trb(q+56|0,(j&1)==0?q+80+1|0:k[q+80+8>>2]|0,m,m+1|0);hrb(q+56|0,439797,1)|0;m=i[q+92>>0]|0;m=hrb(q+56|0,(m&1)==0?q+92+1|0:k[q+92+8>>2]|0,(m&1)==0?(m&255)>>>1:k[q+92+4>>2]|0)|0;k[q+68>>2]=k[m>>2];k[q+68+4>>2]=k[m+4>>2];k[q+68+8>>2]=k[m+8>>2];k[m>>2]=0;k[m+4>>2]=0;k[m+8>>2]=0;m=irb(q+68|0,439787)|0;k[q+272>>2]=k[m>>2];k[q+272+4>>2]=k[m+4>>2];k[q+272+8>>2]=k[m+8>>2];k[m>>2]=0;k[m+4>>2]=0;k[m+8>>2]=0;_qb(q+68|0);_qb(q+56|0);Wqb(q+20|0,439223,2);m=i[q+80>>0]|0;m=hrb(q+20|0,(m&1)==0?q+80+1|0:k[q+80+8>>2]|0,(m&1)==0?(m&255)>>>1:k[q+80+4>>2]|0)|0;k[q+32>>2]=k[m>>2];k[q+32+4>>2]=k[m+4>>2];k[q+32+8>>2]=k[m+8>>2];k[m>>2]=0;k[m+4>>2]=0;k[m+8>>2]=0;m=irb(q+32|0,439797)|0;k[q+44>>2]=k[m>>2];k[q+44+4>>2]=k[m+4>>2];k[q+44+8>>2]=k[m+8>>2];k[m>>2]=0;k[m+4>>2]=0;k[m+8>>2]=0;m=i[q+248>>0]|0;j=(m&1)==0?q+248+1|0:k[q+248+8>>2]|0;m=(m&1)==0?(m&255)>>>1:k[q+248+4>>2]|0;g=i[q+44>>0]|0;f=(g&1)==0?q+44+1|0:k[q+44+8>>2]|0;g=(g&1)==0?(g&255)>>>1:k[q+44+4>>2]|0;a:do if(m>>>0>>0)f=-1;else if(!g)f=0;else{b:do if((m|0)>=(g|0))if((j+m+(1-g)|0)!=(j|0)){d=i[f>>0]|0;e=j;c:while(1){if((i[e>>0]|0)==d<<24>>24){c=e;h=f;do{h=h+1|0;if((h|0)==(f+g|0))break c;c=c+1|0}while((i[c>>0]|0)==(i[h>>0]|0))}e=e+1|0;if((e|0)==(j+m+(1-g)|0))break b}if((e|0)!=(j+m|0)){f=e-j|0;break a}}while(0);f=-1}while(0);_qb(q+44|0);_qb(q+32|0);_qb(q+20|0);if((f|0)==-1){m=i[q+272>>0]|0;hrb(q+248|0,(m&1)==0?q+272+1|0:k[q+272+8>>2]|0,(m&1)==0?(m&255)>>>1:k[q+272+4>>2]|0)|0}else{e=prb(q+248|0,44,f)|0;if((e|0)==-1){e=i[q+248>>0]|0;e=((e&1)==0?(e&255)>>>1:k[q+248+4>>2]|0)+-1|0}m=i[q+272>>0]|0;nrb(q+248|0,f,1-f+e|0,(m&1)==0?q+272+1|0:k[q+272+8>>2]|0,(m&1)==0?(m&255)>>>1:k[q+272+4>>2]|0)|0}e=ajb((i[q+248>>0]&1)==0?q+248+1|0:k[q+248+8>>2]|0)|0;if((e|0)==-1){a=(e|0)>-1;_qb(q+272|0);_qb(q+80|0);_qb(q+92|0);k[q+104>>2]=9164;k[n>>2]=9204;b=q+104+8|0;k[b>>2]=9184;k[o>>2]=9220;_qb(p);Irb(o);Erb(n);_qb(q+248|0);r=q;return a|0}m=qja(a+32|0,b)|0;i[m>>0]=1;if((e|0)!=1){a=(e|0)>-1;_qb(q+272|0);_qb(q+80|0);_qb(q+92|0);k[q+104>>2]=9164;k[n>>2]=9204;b=q+104+8|0;k[b>>2]=9184;k[o>>2]=9220;_qb(p);Irb(o);Erb(n);_qb(q+248|0);r=q;return a|0}rja(a,b);a=(e|0)>-1;_qb(q+272|0);_qb(q+80|0);_qb(q+92|0);k[q+104>>2]=9164;k[n>>2]=9204;b=q+104+8|0;k[b>>2]=9184;k[o>>2]=9220;_qb(p);Irb(o);Erb(n);_qb(q+248|0);r=q;return a|0}function oja(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=r;r=r+16|0;switch(k[c>>2]|0){case 0:{if(Wia(k[c+4>>2]|0,d+8|0)|0){b=dkb(k[d+8>>2]|0)|0;e=6}break}case 1:{if(Xia(k[c+4>>2]|0,d+4|0)|0){b=ekb(k[d+4>>2]|0)|0;e=6}break}default:{}}if((e|0)==6)if(b|0){Wqb(a,b,Fnb(b)|0);r=d;return}e=xf(16)|0;os(e,439194,d);Jc(e|0,96,27)}function pja(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0;n=r;r=r+16|0;k[n>>2]=0;k[n+4>>2]=0;k[n+8>>2]=0;j=i[c>>0]|0;l=(j&1)==0?(j&255)>>>1:k[c+4>>2]|0;trb(n,(j&1)==0?c+1|0:k[c+8>>2]|0,l,l+1|0);hrb(n,439787,1)|0;l=i[b>>0]|0;j=(l&1)==0?b+1|0:k[b+8>>2]|0;l=(l&1)==0?(l&255)>>>1:k[b+4>>2]|0;e=i[n>>0]|0;d=(e&1)==0?n+1|0:k[n+8>>2]|0;e=(e&1)==0?(e&255)>>>1:k[n+4>>2]|0;a:do if(l>>>0>>0)m=12;else{if(!e){_qb(n);a=0;break}if((l|0)<(e|0))m=12;else if((j+l+(1-e)|0)==(j|0))m=12;else{f=i[d>>0]|0;a=j;b:while(1){if((i[a>>0]|0)==f<<24>>24){g=a;h=d;do{h=h+1|0;if((h|0)==(d+e|0))break b;g=g+1|0}while((i[g>>0]|0)==(i[h>>0]|0))}a=a+1|0;if((a|0)==(j+l+(1-e)|0)){m=12;break a}}if((a|0)==(j+l|0))m=12;else{_qb(n);if((a-j|0)==-1)m=14;else a=a-j|0}}}while(0);if((m|0)==12){_qb(n);m=14}if((m|0)==14){l=i[b>>0]|0;h=(l&1)==0?b+1|0:k[b+8>>2]|0;l=(l&1)==0?(l&255)>>>1:k[b+4>>2]|0;j=i[c>>0]|0;g=(j&1)==0?c+1|0:k[c+8>>2]|0;j=(j&1)==0?(j&255)>>>1:k[c+4>>2]|0;c:do if((j|0)==0|(l|0)<(j|0))a=h+l|0;else if((j+-1|0)==(l|0))a=h+l|0;else{d=i[g+j+-1>>0]|0;e=h+l|0;while(1){e=e+-1|0;if((i[e>>0]|0)==d<<24>>24){a=e;f=g+j+-1|0;do{if((f|0)==(g|0))break c;a=a+-1|0;f=f+-1|0}while((i[a>>0]|0)==(i[f>>0]|0))}if((h+(j+-1)|0)==(e|0)){a=h+l|0;break}}}while(0);a=(j|0)!=0&(a|0)==(h+l|0)?-1:a-h|0;if((a|0)==-1|(a|0)!=(l-j|0)){r=n;return}}d=qrb(b,44,a)|0;if((d|0)==-1){r=n;return}c=i[b>>0]|0;if(d>>>0>=(((c&1)==0?(c&255)>>>1:k[b+4>>2]|0)+-1|0)>>>0){r=n;return}a=prb(b,44,d+2|0)|0;if((a|0)==-1){a=i[b>>0]|0;a=((a&1)==0?(a&255)>>>1:k[b+4>>2]|0)+-1|0}orb(b,d+1|0,a-d|0,1279174)|0;r=n;return}function qja(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=r;r=r+16|0;d=gja(a,f,b)|0;c=k[d>>2]|0;if(c|0){a=c;a=a+28|0;r=f;return a|0}e=kBb(32)|0;Vqb(e+16|0,b);i[e+28>>0]=0;c=k[f>>2]|0;k[e>>2]=0;k[e+4>>2]=0;k[e+8>>2]=c;k[d>>2]=e;c=k[k[a>>2]>>2]|0;if(!c)c=e;else{k[a>>2]=c;c=k[d>>2]|0}Qj(k[a+4>>2]|0,c);k[a+8>>2]=(k[a+8>>2]|0)+1;a=e;a=a+28|0;r=f;return a|0}function rja(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0;h=r;r=r+96|0;if((hjb()|0)<=0){r=h;return}g=0;do{if(ckb(g)|0){if((hjb()|0)>(g|0)){c=h+40|0;e=c+33|0;do{i[c>>0]=0;c=c+1|0}while((c|0)<(e|0));xhb(h+24|0,g);c=h+80|0;d=h+24|0;e=c+16|0;do{i[c>>0]=i[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));gkb(h+80|0,h+40|0,33);Wqb(h+12|0,h+40|0,Fnb(h+40|0)|0)}else Wqb(h+12|0,1279174,0);c=i[b>>0]|0;d=(c&1)==0?(c&255)>>>1:k[b+4>>2]|0;f=i[h+12>>0]|0;e=(f&1)==0?(f&255)>>>1:k[h+12+4>>2]|0;f=(Emb((c&1)==0?b+1|0:k[b+8>>2]|0,(f&1)==0?h+12+1|0:k[h+12+8>>2]|0,d>>>0>e>>>0?e:d)|0)!=0;_qb(h+12|0);if(!((d|0)!=(e|0)|f)){c=k[a+8>>2]|0;f=k[a+12>>2]|0;if((c|0)!=(f|0))do{d=k[c>>2]|0;if(!(Gi[k[(k[d>>2]|0)+64>>2]&2047](d)|0)){Di[k[(k[d>>2]|0)+80>>2]&511](h,d);m=i[b>>0]|0;l=(m&1)==0?(m&255)>>>1:k[b+4>>2]|0;e=i[h>>0]|0;j=(e&1)==0?(e&255)>>>1:k[h+4>>2]|0;e=(Emb((m&1)==0?b+1|0:k[b+8>>2]|0,(e&1)==0?h+1|0:k[h+8>>2]|0,l>>>0>j>>>0?j:l)|0)!=0;_qb(h);if(!((l|0)!=(j|0)|e)){e=hkb(g)|0;if(e|0){m=tkb(e)|0;if((m|0)==(Gi[k[(k[d>>2]|0)+76>>2]&2047](d)|0))gj[k[(k[d>>2]|0)+60>>2]&511](d,g)|0;ukb(e)}}}c=c+4|0}while((c|0)!=(f|0))}}g=g+1|0}while((g|0)<(hjb()|0));r=h;return}function sja(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,l=0;l=r;r=r+128|0;b=i[c>>0]|0;if((((b&1)==0?(b&255)>>>1:k[c+4>>2]|0)|0)!=32){a=xf(16)|0;k[l+8>>2]=(i[c>>0]&1)==0?c+1|0:k[c+8>>2]|0;os(a,439125,l+8|0);Jc(a|0,96,27)}k[a>>2]=3;cjb(l+104|0,(b&1)==0?c+1|0:k[c+8>>2]|0);k[l+72>>2]=0;k[l+72+4>>2]=0;k[l+72+8>>2]=0;b=l+88|0;c=l+104|0;e=b+16|0;do{i[b>>0]=i[c>>0]|0;b=b+1|0;c=c+1|0}while((b|0)<(e|0));b=fkb(l+88|0)|0;if(!b){_qb(l+72|0);r=l;return}drb(l+72|0,b)|0;Y7a(b);j=k[d+4>>2]|0;k[l>>2]=k[d>>2];k[l+4>>2]=j;k[l+88>>2]=k[l>>2];k[l+88+4>>2]=k[l+4>>2];oja(l+60|0,0,l+88|0);Wqb(l+24|0,439787,1);j=i[l+60>>0]|0;j=hrb(l+24|0,(j&1)==0?l+60+1|0:k[l+60+8>>2]|0,(j&1)==0?(j&255)>>>1:k[l+60+4>>2]|0)|0;k[l+36>>2]=k[j>>2];k[l+36+4>>2]=k[j+4>>2];k[l+36+8>>2]=k[j+8>>2];k[j>>2]=0;k[j+4>>2]=0;k[j+8>>2]=0;j=irb(l+36|0,439797)|0;k[l+48>>2]=k[j>>2];k[l+48+4>>2]=k[j+4>>2];k[l+48+8>>2]=k[j+8>>2];k[j>>2]=0;k[j+4>>2]=0;k[j+8>>2]=0;j=i[l+72>>0]|0;h=(j&1)==0?l+72+1|0:k[l+72+8>>2]|0;j=(j&1)==0?(j&255)>>>1:k[l+72+4>>2]|0;e=i[l+48>>0]|0;c=(e&1)==0?l+48+1|0:k[l+48+8>>2]|0;e=(e&1)==0?(e&255)>>>1:k[l+48+4>>2]|0;a:do if(j>>>0>>0)c=-1;else if(!e)c=0;else{b:do if((j|0)>=(e|0))if((h+j+(1-e)|0)!=(h|0)){d=i[c>>0]|0;b=h;c:while(1){if((i[b>>0]|0)==d<<24>>24){f=b;g=c;do{g=g+1|0;if((g|0)==(c+e|0))break c;f=f+1|0}while((i[f>>0]|0)==(i[g>>0]|0))}b=b+1|0;if((b|0)==(h+j+(1-e)|0))break b}if((b|0)!=(h+j|0)){c=b-h|0;break a}}while(0);c=-1}while(0);_qb(l+48|0);_qb(l+36|0);_qb(l+24|0);if((c|0)!=-1){b=prb(l+72|0,44,c+1|0)|0;e=i[l+72>>0]|0;if((b|0)==-1){b=k[l+72+4>>2]|0;d=b;b=((e&1)==0?(e&255)>>>1:b)+-1|0}else d=k[l+72+4>>2]|0;if(b>>>0<((e&1)==0?(e&255)>>>1:d)>>>0){j=i[l+60>>0]|0;j=c+2+((j&1)==0?(j&255)>>>1:k[l+60+4>>2]|0)|0;Yqb(l+88|0,l+72|0,j,b+1+(((i[((e&1)==0?l+72+1|0:k[l+72+8>>2]|0)+b>>0]|0)==44)<<31>>31)-j|0,l+72|0);tja(l+12|0,0,l+88|0);k[a>>2]=k[l+12>>2];k[a+4>>2]=k[l+12+4>>2];k[a+8>>2]=k[l+12+8>>2];_qb(l+88|0)}}_qb(l+60|0);_qb(l+72|0);r=l;return}function tja(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+48|0;k[a>>2]=3;b=i[c>>0]|0;if(((b&1)==0?(b&255)>>>1:k[c+4>>2]|0)>>>0<2){r=d;return}b=i[((b&1)==0?c+1|0:k[c+8>>2]|0)>>0]|0;Yqb(d+24|0,c,1,-1,c);switch(b<<24>>24|0){case 97:{k[a>>2]=0;c=umb((i[d+24>>0]&1)==0?d+24+1|0:k[d+24+8>>2]|0,0,10)|0;k[a+4>>2]=c;break}case 98:{k[a>>2]=1;c=umb((i[d+24>>0]&1)==0?d+24+1|0:k[d+24+8>>2]|0,0,10)|0;k[a+4>>2]=c;break}case 104:{c=i[d+24>>0]|0;if(((c&1)==0?(c&255)>>>1:k[d+24+4>>2]|0)>>>0>=3){k[a>>2]=2;Yqb(d+12|0,d+24|0,0,1,d+24|0);c=umb((i[d+12>>0]&1)==0?d+12+1|0:k[d+12+8>>2]|0,0,10)|0;k[a+4>>2]=c;_qb(d+12|0);Yqb(d,d+24|0,2,-1,d+24|0);c=(umb((i[d>>0]&1)==0?d+1|0:k[d+8>>2]|0,0,10)|0)&255;_qb(d);if(!(Via(c,a+8|0)|0))k[a>>2]=3}break}default:{}}_qb(d+24|0);r=d;return}function uja(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0;n=r;r=r+176|0;k[n+16+8>>2]=9184;l=n+16+12|0;k[n+16>>2]=9388;k[n+16+64>>2]=9408;k[n+16+4>>2]=0;Fsb(n+16+64|0,l);k[n+16+136>>2]=0;k[n+16+140>>2]=-1;k[n+16>>2]=9164;k[n+16+64>>2]=9204;k[n+16+8>>2]=9184;Hsb(l);k[l>>2]=9220;m=n+16+44|0;k[m>>2]=0;k[m+4>>2]=0;k[m+8>>2]=0;k[m+12>>2]=0;k[n+16+60>>2]=24;ok(l,b);k[n+4>>2]=0;k[n+4+4>>2]=0;k[n+4+8>>2]=0;j=0;a:while(1){b:while(1){h=Gsb(n+16+(k[(k[n+16>>2]|0)+-12>>2]|0)|0)|0;k[n+160>>2]=h;h=gtb(n+160|0,1203700)|0;h=gj[k[(k[h>>2]|0)+28>>2]&511](h,10)|0;pAb(n+160|0);h=vv(n+16|0,n+4|0,h)|0;if(k[h+(k[(k[h>>2]|0)+-12>>2]|0)+16>>2]&5|0)break a;c=i[n+4>>0]|0;g=(c&1)==0?(c&255)>>>1:k[n+4+4>>2]|0;if(!g)continue;b=k[n+4+8>>2]|0;h=(c&1)==0?n+4+1|0:b;e=i[h>>0]|0;if(e<<24>>24==35)continue;c:do if(g>>>0>=9)if((g|0)>=9)if((h+g+-8|0)!=(h|0)){d=h;d:while(1){if(e<<24>>24==112){e=d;f=439226;do{f=f+1|0;if((f|0)==439235)break d;e=e+1|0}while((i[e>>0]|0)==(i[f>>0]|0))}e=d+1|0;if((e|0)==(h+g+-8|0))break c;d=e;e=i[e>>0]|0}if(!((d|0)==(h+g|0)|(d-h|0)==-1)){b=prb(n+4|0,44,d-h+9|0)|0;Yqb(n+160|0,n+4|0,d-h+9|0,b-(d-h+9)|0,n+4|0);if(srb(n+160|0,njb()|0)|0){b=17;break b}mrb(n+4|0,d-h|0,1-(d-h)+b|0)|0;_qb(n+160|0);c=i[n+4>>0]|0;b=k[n+4+8>>2]|0}}while(0);if((ajb((c&1)==0?n+4+1|0:b)|0)!=-1){b=19;break}}if((b|0)==17){_qb(n+160|0);j=1;continue}else if((b|0)==19){Yqb(n+160|0,n+4|0,0,prb(n+4|0,44,0)|0,n+4|0);j=qja(a+32|0,n+160|0)|0;i[j>>0]=1;rja(a,n+160|0);_qb(n+160|0);j=1;continue}}if(j){_qb(n+4|0);k[n+16>>2]=9164;k[n+16+64>>2]=9204;k[n+16+8>>2]=9184;k[l>>2]=9220;_qb(m);Irb(l);Erb(n+16+64|0);r=n;return}else{a=xf(16)|0;os(a,439236,n);Jc(a|0,96,27)}}function vja(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=r;r=r+80|0;k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;c=k[b+32>>2]|0;if((c|0)==(b+36|0)){r=g;return}d=c;while(1){c=d+16|0;if(!(i[c>>0]&1))c=c+1|0;else c=k[d+24>>2]|0;cjb(g+56|0,c);c=g+40|0;e=g+56|0;f=c+16|0;do{i[c>>0]=i[e>>0]|0;c=c+1|0;e=e+1|0}while((c|0)<(f|0));c=fkb(g+40|0)|0;if(c){Wqb(g+40|0,c,Fnb(c)|0);Y7a(c);e=qrb(g+40|0,44,-1)|0;f=i[g+40>>0]|0;if((e|0)!=(((f&1)==0?(f&255)>>>1:k[g+40+4>>2]|0)+-1|0))irb(g+40|0,439787)|0;f=njb()|0;Wqb(g,f,Fnb(f)|0);f=lrb(g,0,439226)|0;k[g+12>>2]=k[f>>2];k[g+12+4>>2]=k[f+4>>2];k[g+12+8>>2]=k[f+8>>2];k[f>>2]=0;k[f+4>>2]=0;k[f+8>>2]=0;f=irb(g+12|0,439262)|0;k[g+24>>2]=k[f>>2];k[g+24+4>>2]=k[f+4>>2];k[g+24+8>>2]=k[f+8>>2];k[f>>2]=0;k[f+4>>2]=0;k[f+8>>2]=0;f=i[g+24>>0]|0;hrb(g+40|0,(f&1)==0?g+24+1|0:k[g+24+8>>2]|0,(f&1)==0?(f&255)>>>1:k[g+24+4>>2]|0)|0;_qb(g+24|0);_qb(g+12|0);_qb(g);f=i[g+40>>0]|0;hrb(a,(f&1)==0?g+40+1|0:k[g+40+8>>2]|0,(f&1)==0?(f&255)>>>1:k[g+40+4>>2]|0)|0;_qb(g+40|0)}c=k[d+4>>2]|0;if(!c)while(1){c=k[d+8>>2]|0;if((k[c>>2]|0)==(d|0))break;else d=c}else while(1){d=k[c>>2]|0;if(!d)break;else c=d}if((c|0)==(b+36|0))break;else d=c}r=g;return}function wja(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;Uj(a);k[a>>2]=25148;k[a+8>>2]=0;k[a+12>>2]=0;k[a+16>>2]=0;k[a+20>>2]=a+20;k[a+24>>2]=a+20;k[a+28>>2]=0;k[a+36>>2]=0;k[a+40>>2]=0;k[a+32>>2]=a+36;if((Qgb(8704)|0)<0){a=xf(16)|0;b=A6a()|0;k[c>>2]=b;os(a,439265,c);Jc(a|0,96,27)}b=0;while(1){if((b|0)>=(hjb()|0))break;gj[k[(k[a>>2]|0)+24>>2]&511](a,b)|0;b=b+1|0}qjb(1)|0;vkb(1)|0;r=c;return}function xja(){yja(632172,25212,72);i[632628]=0;i[632640]=0;i[632652]=0;i[632664]=0;i[632676]=0;i[632688]=0;i[632700]=0;i[632712]=0;i[632724]=0;i[632736]=0;i[632748]=0;i[632760]=0;i[632772]=0;i[632784]=0;k[158197]=0;k[158198]=0;k[158199]=0;k[158200]=0;k[158201]=0;k[158202]=0;k[158203]=0;zja(632620,608245,1)|0;zja(632620,608251,2)|0;zja(632620,608257,3)|0;zja(632620,608264,4)|0;zja(632620,439326,5)|0;zja(632620,439338,6)|0;Aja(632816,25284,120);i[633272]=0;i[633284]=0;i[633296]=0;i[633308]=0;i[633320]=0;i[633332]=0;k[158334]=0;k[158335]=0;k[158336]=0;Bja(633264,439351,0)|0;Bja(633264,439356,1)|0;Bja(633264,439363,2)|0;return}function yja(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0;m=r;r=r+16|0;i[a+8>>0]=0;i[a+20>>0]=0;i[a+32>>0]=0;i[a+44>>0]=0;i[a+56>>0]=0;i[a+68>>0]=0;i[a+80>>0]=0;i[a+92>>0]=0;i[a+104>>0]=0;i[a+116>>0]=0;i[a+128>>0]=0;i[a+140>>0]=0;i[a+152>>0]=0;i[a+164>>0]=0;i[a+176>>0]=0;i[a+188>>0]=0;i[a+200>>0]=0;i[a+212>>0]=0;i[a+224>>0]=0;i[a+236>>0]=0;i[a+248>>0]=0;i[a+260>>0]=0;i[a+272>>0]=0;i[a+284>>0]=0;i[a+296>>0]=0;i[a+308>>0]=0;i[a+320>>0]=0;i[a+332>>0]=0;i[a+344>>0]=0;i[a+356>>0]=0;i[a+368>>0]=0;i[a+380>>0]=0;d=a+384|0;e=d+64|0;do{k[d>>2]=0;d=d+4|0}while((d|0)<(e|0));if(!(c>>>3)){r=m;return}else j=0;do{g=k[b+(j<<3)>>2]|0;h=k[b+(j<<3)+4>>2]|0;d=i[g>>0]|0;if(!(d<<24>>24))e=5381;else{f=g;e=5381;do{f=f+1|0;e=(e*33|0)+(d<<24>>24)|0;d=i[f>>0]|0}while(d<<24>>24!=0)}f=0;do{d=f+e&31;f=f+1|0;if(!(i[a+(d*12|0)+8>>0]|0)){l=8;break}}while(f>>>0<32);if((l|0)==8){l=0;i[a+(d*12|0)+8>>0]=1;k[a+(d*12|0)>>2]=g;k[a+(d*12|0)+4>>2]=h}if(h>>>0>15){k[m>>2]=g;k[m+4>>2]=h;Jpb(441170,m)|0}else k[a+384+(h<<2)>>2]=g;j=j+1|0}while((j|0)!=(c>>>3|0));r=m;return}function zja(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=r;r=r+16|0;d=i[b>>0]|0;if(!(d<<24>>24))e=5381;else{f=b;e=5381;do{f=f+1|0;e=(e*33|0)+(d<<24>>24)|0;d=i[f>>0]|0}while(d<<24>>24!=0)}d=(e>>>0)%14|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+1|0)>>>0)%14|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+2|0)>>>0)%14|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+3|0)>>>0)%14|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+4|0)>>>0)%14|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+5|0)>>>0)%14|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+6|0)>>>0)%14|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+7|0)>>>0)%14|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+8|0)>>>0)%14|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+9|0)>>>0)%14|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+10|0)>>>0)%14|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+11|0)>>>0)%14|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+12|0)>>>0)%14|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+13|0)>>>0)%14|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else d=0}}}}}}}}}}}}}if((g|0)==5){i[d>>0]=1;k[a+(e*12|0)>>2]=b;k[a+(e*12|0)+4>>2]=c;d=1}if(c>>>0>6){k[h>>2]=b;k[h+4>>2]=c;Jpb(441170,h)|0;g=0;r=h;return g|0}else{k[a+168+(c<<2)>>2]=b;g=d;r=h;return g|0}return 0}function Aja(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0;m=r;r=r+16|0;i[a+8>>0]=0;i[a+20>>0]=0;i[a+32>>0]=0;i[a+44>>0]=0;i[a+56>>0]=0;i[a+68>>0]=0;i[a+80>>0]=0;i[a+92>>0]=0;i[a+104>>0]=0;i[a+116>>0]=0;i[a+128>>0]=0;i[a+140>>0]=0;i[a+152>>0]=0;i[a+164>>0]=0;i[a+176>>0]=0;i[a+188>>0]=0;i[a+200>>0]=0;i[a+212>>0]=0;i[a+224>>0]=0;i[a+236>>0]=0;i[a+248>>0]=0;i[a+260>>0]=0;i[a+272>>0]=0;i[a+284>>0]=0;i[a+296>>0]=0;i[a+308>>0]=0;i[a+320>>0]=0;i[a+332>>0]=0;i[a+344>>0]=0;i[a+356>>0]=0;i[a+368>>0]=0;i[a+380>>0]=0;d=a+384|0;e=d+64|0;do{k[d>>2]=0;d=d+4|0}while((d|0)<(e|0));if(!(c>>>3)){r=m;return}else j=0;do{g=k[b+(j<<3)>>2]|0;h=k[b+(j<<3)+4>>2]|0;d=i[g>>0]|0;if(!(d<<24>>24))e=5381;else{f=g;e=5381;do{f=f+1|0;e=(e*33|0)+(d<<24>>24)|0;d=i[f>>0]|0}while(d<<24>>24!=0)}f=0;do{d=f+e&31;f=f+1|0;if(!(i[a+(d*12|0)+8>>0]|0)){l=8;break}}while(f>>>0<32);if((l|0)==8){l=0;i[a+(d*12|0)+8>>0]=1;k[a+(d*12|0)>>2]=g;k[a+(d*12|0)+4>>2]=h}if(h>>>0>15){k[m>>2]=g;k[m+4>>2]=h;Jpb(441170,m)|0}else k[a+384+(h<<2)>>2]=g;j=j+1|0}while((j|0)!=(c>>>3|0));r=m;return}function Bja(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=r;r=r+16|0;d=i[b>>0]|0;if(!(d<<24>>24))e=5381;else{f=b;e=5381;do{f=f+1|0;e=(e*33|0)+(d<<24>>24)|0;d=i[f>>0]|0}while(d<<24>>24!=0)}d=(e>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+1|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+2|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+3|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+4|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+5|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else d=0}}}}}if((g|0)==5){i[d>>0]=1;k[a+(e*12|0)>>2]=b;k[a+(e*12|0)+4>>2]=c;d=1}if(c>>>0>2){k[h>>2]=b;k[h+4>>2]=c;Jpb(441170,h)|0;g=0;r=h;return g|0}else{k[a+72+(c<<2)>>2]=b;g=d;r=h;return g|0}return 0}function Cja(a){a=+a;if(+W(+a)<.01){a=0.0;return +a}if(a<-.9900000095367432){a=-1.0;return +a}a=a>.9900000095367432?1.0:a;return +a}function Dja(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0;c=i[a>>0]|0;if(!(c<<24>>24))d=5381;else{e=a;d=5381;do{e=e+1|0;d=(d*33|0)+(c<<24>>24)|0;c=i[e>>0]|0}while(c<<24>>24!=0)}h=0;while(1){g=h+d&31;if(!(i[632172+(g*12|0)+8>>0]|0)){c=1;d=0;j=11;break}e=k[632172+(g*12|0)>>2]|0;f=i[e>>0]|0;a:do if(!(f<<24>>24)){c=a;j=8}else{c=a;while(1){l=i[c>>0]|0;if(!(l<<24>>24?f<<24>>24==l<<24>>24:0))break a;e=e+1|0;c=c+1|0;f=i[e>>0]|0;if(!(f<<24>>24)){j=8;break}}}while(0);if((j|0)==8){j=0;if(!(i[c>>0]|0)){j=9;break}}h=h+1|0;if(h>>>0>=32){c=0;d=0;j=11;break}}if((j|0)==9){k[b>>2]=k[632172+(g*12|0)+4>>2];j=1;l=1;l=j&l;return l|0}else if((j|0)==11){l=c&d;return l|0}return 0}function Eja(a,b){a=a|0;b=b|0;if(a>>>0>15)a=0;else{a=k[632556+(a<<2)>>2]|0;if(!a)a=0;else{k[b>>2]=a;a=1}}return a|0}function Fja(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0;c=i[a>>0]|0;if(!(c<<24>>24))d=5381;else{e=a;d=5381;do{e=e+1|0;d=(d*33|0)+(c<<24>>24)|0;c=i[e>>0]|0}while(c<<24>>24!=0)}h=0;while(1){g=((h+d|0)>>>0)%14|0;if(!(i[632620+(g*12|0)+8>>0]|0)){c=1;d=0;j=11;break}e=k[632620+(g*12|0)>>2]|0;f=i[e>>0]|0;a:do if(!(f<<24>>24)){c=a;j=8}else{c=a;while(1){l=i[c>>0]|0;if(!(l<<24>>24?f<<24>>24==l<<24>>24:0))break a;e=e+1|0;c=c+1|0;f=i[e>>0]|0;if(!(f<<24>>24)){j=8;break}}}while(0);if((j|0)==8){j=0;if(!(i[c>>0]|0)){j=9;break}}h=h+1|0;if(h>>>0>=14){c=0;d=0;j=11;break}}if((j|0)==9){k[b>>2]=k[632620+(g*12|0)+4>>2];j=1;l=1;l=j&l;return l|0}else if((j|0)==11){l=c&d;return l|0}return 0}function Gja(a,b){a=a|0;b=b|0;if(a>>>0>6)a=0;else{a=k[632788+(a<<2)>>2]|0;if(!a)a=0;else{k[b>>2]=a;a=1}}return a|0}function Hja(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0;c=i[a>>0]|0;if(!(c<<24>>24))d=5381;else{e=a;d=5381;do{e=e+1|0;d=(d*33|0)+(c<<24>>24)|0;c=i[e>>0]|0}while(c<<24>>24!=0)}h=0;while(1){g=h+d&31;if(!(i[632816+(g*12|0)+8>>0]|0)){c=1;d=0;j=11;break}e=k[632816+(g*12|0)>>2]|0;f=i[e>>0]|0;a:do if(!(f<<24>>24)){c=a;j=8}else{c=a;while(1){l=i[c>>0]|0;if(!(l<<24>>24?f<<24>>24==l<<24>>24:0))break a;e=e+1|0;c=c+1|0;f=i[e>>0]|0;if(!(f<<24>>24)){j=8;break}}}while(0);if((j|0)==8){j=0;if(!(i[c>>0]|0)){j=9;break}}h=h+1|0;if(h>>>0>=32){c=0;d=0;j=11;break}}if((j|0)==9){k[b>>2]=k[632816+(g*12|0)+4>>2];j=1;l=1;l=j&l;return l|0}else if((j|0)==11){l=c&d;return l|0}return 0}function Ija(a,b){a=a|0;b=b|0;if(a>>>0>15)a=0;else{a=k[633200+(a<<2)>>2]|0;if(!a)a=0;else{k[b>>2]=a;a=1}}return a|0}function Jja(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0;c=i[a>>0]|0;if(!(c<<24>>24))d=5381;else{e=a;d=5381;do{e=e+1|0;d=(d*33|0)+(c<<24>>24)|0;c=i[e>>0]|0}while(c<<24>>24!=0)}h=0;while(1){g=((h+d|0)>>>0)%6|0;if(!(i[633264+(g*12|0)+8>>0]|0)){c=1;d=0;j=11;break}e=k[633264+(g*12|0)>>2]|0;f=i[e>>0]|0;a:do if(!(f<<24>>24)){c=a;j=8}else{c=a;while(1){l=i[c>>0]|0;if(!(l<<24>>24?f<<24>>24==l<<24>>24:0))break a;e=e+1|0;c=c+1|0;f=i[e>>0]|0;if(!(f<<24>>24)){j=8;break}}}while(0);if((j|0)==8){j=0;if(!(i[c>>0]|0)){j=9;break}}h=h+1|0;if(h>>>0>=6){c=0;d=0;j=11;break}}if((j|0)==9){k[b>>2]=k[633264+(g*12|0)+4>>2];j=1;l=1;l=j&l;return l|0}else if((j|0)==11){l=c&d;return l|0}return 0}function Kja(a,b){a=a|0;b=b|0;if(a>>>0>2)a=0;else{a=k[633336+(a<<2)>>2]|0;if(!a)a=0;else{k[b>>2]=a;a=1}}return a|0}function Lja(a,b){a=a|0;b=b|0;return Mja(a,b,24)|0}function Mja(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((DDa(a,b)|0)!=7){k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0}d=RDa(a,b)|0;if(k[(k[155799]|0)+(k[d>>2]<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0){c=d+4|0;c=k[c>>2]|0;r=e;return c|0}k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0;c=d+4|0;c=k[c>>2]|0;r=e;return c|0}function Nja(a){a=a|0;var b=0;b=Mja(a,1,24)|0;rs(a,Gi[k[(k[b>>2]|0)+24>>2]&2047](b)|0);return 1}function Oja(a){a=a|0;var b=0;b=Mja(a,1,24)|0;YDa(a,Gi[k[(k[b>>2]|0)+28>>2]&2047](b)|0);return 1}function Pja(a){a=a|0;var b=0;b=Mja(a,1,24)|0;WDa(a,(Gi[k[(k[b>>2]|0)+88>>2]&2047](b)|0)+1|0);b=Gi[k[(k[b>>2]|0)+84>>2]&2047](b)|0;if((b|0)>-1){WDa(a,b+1|0);return 2}else{UDa(a);return 2}return 0}function Qja(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;c=Mja(a,1,24)|0;Di[k[(k[c>>2]|0)+80>>2]&511](b,c);vs(a,b);_qb(b);r=b;return 1}function Rja(a){a=a|0;var b=0;b=Mja(a,1,24)|0;WDa(a,Gi[k[(k[b>>2]|0)+32>>2]&2047](b)|0);return 1}function Sja(a){a=a|0;var b=0;b=Mja(a,1,24)|0;WDa(a,Gi[k[(k[b>>2]|0)+36>>2]&2047](b)|0);return 1}function Tja(a){a=a|0;var b=0;b=Mja(a,1,24)|0;WDa(a,Gi[k[(k[b>>2]|0)+40>>2]&2047](b)|0);return 1}function Uja(a){a=a|0;var b=0,c=0;c=Mja(a,1,24)|0;b=~~+lHa(a,2)+-1|0;VDa(a,+jj[k[(k[c>>2]|0)+44>>2]&15](c,b));return 1}function Vja(a){a=a|0;var b=0,c=0,d=0,e=0;e=r;r=r+16|0;c=Mja(a,1,24)|0;Di[k[(k[c>>2]|0)+48>>2]&511](e,c);c=k[e+4>>2]|0;b=k[e>>2]|0;if((c|0)==(b|0))d=0;else{c=0;do{VDa(a,+o[b+(c<<2)>>2]);c=c+1|0;d=k[e+4>>2]|0;b=k[e>>2]|0}while(c>>>0>2>>>0);c=d;d=d-b>>2}if(!b){r=e;return d|0}if((c|0)!=(b|0))k[e+4>>2]=c+(~((c+-4-b|0)>>>2)<<2);CAb(b);r=e;return d|0}function Wja(a){a=a|0;var b=0,c=0,d=0;b=r;r=r+16|0;d=Mja(a,1,24)|0;c=~~+lHa(a,2)+-1|0;c=gj[k[(k[d>>2]|0)+52>>2]&511](d,c)|0;k[b>>2]=1279174;Eja(c,b)|0;YDa(a,k[b>>2]|0);r=b;return 1}function Xja(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;g=r;r=r+16|0;b=Mja(a,1,24)|0;nHa(a,2)|0;k[g+4>>2]=0;f=g+4+4|0;k[f>>2]=0;k[g+4+8>>2]=0;e=2;while(1){if((e|0)>(xDa(a)|0))break;c=~~+lHa(a,e)+-1|0;k[g>>2]=c;d=k[f>>2]|0;if(d>>>0<(k[g+4+8>>2]|0)>>>0){k[d>>2]=c;k[f>>2]=d+4}else ll(g+4|0,g);e=e+1|0}rs(a,gj[k[(k[b>>2]|0)+56>>2]&511](b,g+4|0)|0);b=k[g+4>>2]|0;if(!b){r=g;return 1}c=k[f>>2]|0;if((c|0)!=(b|0))k[f>>2]=c+(~((c+-4-b|0)>>>2)<<2);CAb(b);r=g;return 1}function Yja(a){a=a|0;var b=0;b=Mja(a,1,24)|0;rs(a,Gi[k[(k[b>>2]|0)+64>>2]&2047](b)|0);return 1}function Zja(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+16|0;b=Mja(a,1,24)|0;c=fHa(a,2,0)|0;if(Fja(c,d+4|0)|0){VDa(a,+jj[k[(k[b>>2]|0)+68>>2]&15](b,k[d+4>>2]|0));a=1;r=d;return a|0}else{k[d>>2]=c;a=aHa(a,439375,d)|0;r=d;return a|0}return 0}function _ja(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=r;r=r+32|0;d=Mja(a,1,24)|0;k[f+8>>2]=0;e=f+8+4|0;k[e>>2]=0;k[f+8+8>>2]=0;b=(xDa(a)|0)+-1|0;if(b|0){c=kBb(b<<2)|0;k[f+8>>2]=c;k[e>>2]=c;k[f+8+8>>2]=c+(b<<2)}fHa(a,2,0)|0;c=2;while(1){if((c|0)>(xDa(a)|0)){c=11;break}b=fHa(a,c,0)|0;if(!(Hja(b,f+4|0)|0)){c=6;break}b=k[e>>2]|0;if((b|0)==(k[f+8+8>>2]|0))$ja(f+8|0,f+4|0);else{k[b>>2]=k[f+4>>2];k[e>>2]=b+4}c=c+1|0}if((c|0)==6){k[f>>2]=b;d=aHa(a,439400,f)|0}else if((c|0)==11){rs(a,gj[k[(k[d>>2]|0)+72>>2]&511](d,f+8|0)|0);d=1}b=k[f+8>>2]|0;if(!b){r=f;return d|0}c=k[e>>2]|0;if((c|0)!=(b|0))k[e>>2]=c+(~((c+-4-b|0)>>>2)<<2);CAb(b);r=f;return d|0}function $ja(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=k[a>>2]|0;c=((k[a+4>>2]|0)-i>>2)+1|0;if(c>>>0>1073741823)xzb(a);d=(k[a+8>>2]|0)-i|0;if(d>>2>>>0<536870911){c=d>>1>>>0>>0?c:d>>1;e=k[a+4>>2]|0;if(!c){h=0;f=0;d=e-i>>2;c=e}else{g=e;d=e-i>>2;j=6}}else{d=k[a+4>>2]|0;c=1073741823;g=d;d=d-i>>2;j=6}if((j|0)==6){h=c;f=kBb(c<<2)|0;c=g}j=f+(d<<2)|0;k[j>>2]=k[b>>2];b=c-i|0;ABb(j+(0-(b>>2)<<2)|0,i|0,b|0)|0;k[a>>2]=j+(0-(b>>2)<<2);k[a+4>>2]=j+4;k[a+8>>2]=f+(h<<2);if(!i)return;CAb(i);return}function aka(a){a=a|0;var b=0;b=Mja(a,1,24)|0;rs(a,Gi[k[(k[b>>2]|0)+92>>2]&2047](b)|0);return 1}function bka(a){a=a|0;var b=0,c=0.0,d=0.0,e=0.0;b=Mja(a,1,24)|0;if((DDa(a,2)|0)<1){b=Gi[k[(k[b>>2]|0)+100>>2]&2047](b)|0;rs(a,b);return 1}else{e=+lHa(a,2);d=+mHa(a,3,e);c=+mHa(a,4,-1.0);b=dj[k[(k[b>>2]|0)+96>>2]&1](b,e,d,c)|0;rs(a,b);return 1}return 0}function cka(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;c=Mja(a,1,24)|0;kj[k[(k[c>>2]|0)+104>>2]&255](c,b+4|0,b);VDa(a,+o[b+4>>2]);VDa(a,+o[b>>2]);r=b;return 2}function dka(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=25404;k[b+4>>2]=0;a=Is(a,24,439427,b)|0;r=b;return a|0}function eka(a){a=a|0;Hj(a);CAb(a);return}function fka(a){a=a|0;return 7}function gka(a){a=a|0;return 439718}function hka(a,b){a=a|0;b=b|0;i[a+8>>0]=b&1;return}function ika(a){a=a|0;return (i[a+8>>0]|0)!=0|0}function jka(a,b){a=a|0;b=b|0;var c=0,d=0;c=zjb(0)|0;a=k[b>>2]|0;b=k[b+4>>2]|0;if((a|0)==(b|0)){c=0;return c|0}while(1){d=c+(Bjb(k[(k[158337]|0)+(k[a>>2]<<2)>>2]|0)|0)|0;a=a+4|0;if(i[d>>0]|0){a=1;b=4;break}if((a|0)==(b|0)){a=0;b=4;break}}if((b|0)==4)return a|0;return 0}function kka(a,b){a=a|0;b=b|0;var c=0,d=0;d=zjb(0)|0;a=k[b>>2]|0;c=k[b+4>>2]|0;if((a|0)==(c|0)){d=0;return d|0}while(1){b=k[a>>2]|0;if(b>>>0<512)if(i[637448+(b<<3)+4>>0]|0)if(i[d+(k[637448+(b<<3)>>2]|0)>>0]|0){a=1;b=6;break}a=a+4|0;if((a|0)==(c|0)){a=0;b=6;break}}if((b|0)==6)return a|0;return 0}function lka(a,b){a=a|0;b=b|0;var c=0;if(b>>>0<512)if(!(i[637448+(b<<3)+4>>0]|0))b=0;else b=k[637448+(b<<3)>>2]|0;else b=0;a=Ajb(b)|0;c=k[158337]|0;b=0;while(1){if((k[c+(b<<2)>>2]|0)==(a|0)){a=7;break}b=b+1|0;if((b|0)>=191){b=0;a=7;break}}if((a|0)==7)return b|0;return 0}function mka(a,b){a=a|0;b=b|0;if((b|0)==191)b=0;else{b=Bjb(k[(k[158337]|0)+(b<<2)>>2]|0)|0;if(b>>>0<512)if(!(i[633352+(b<<3)+4>>0]|0))b=0;else b=k[633352+(b<<3)>>2]|0;else b=0}return b|0}function nka(a,b){a=a|0;b=b|0;if(b){Mkb();return}else{glb();return}}function oka(a,b,c,d,e,f){a=a|0;b=b|0;c=+c;d=+d;e=+e;f=+f;var g=0,h=0;h=r;r=r+48|0;p[h+24>>3]=c;p[h+16>>3]=d;p[h+8>>3]=e;p[h>>3]=f;g=k[155714]|0;if(g){kj[k[(k[g>>2]|0)+148>>2]&255](g,h+24|0,h+16|0);kj[k[(k[g>>2]|0)+148>>2]&255](g,h+8|0,h);c=+p[h+24>>3];d=+p[h+16>>3];e=+p[h+8>>3];f=+p[h>>3]}k[h+32>>2]=~~c;k[h+32+4>>2]=~~d;k[h+32+8>>2]=~~e;k[h+32+12>>2]=~~f;hlb(h+32|0);Di[k[(k[a>>2]|0)+48>>2]&511](a,b);r=h;return}function pka(a){a=a|0;return (flb()|0)!=0|0}function qka(a){a=a|0;return (Lkb()|0)!=0|0}function rka(){var a=0,b=0,c=0;ska()|0;k[158337]=641544;a=633352;do{i[a+4>>0]=0;a=a+8|0}while((a|0)!=637448);a=637448;do{i[a+4>>0]=0;a=a+8|0}while((a|0)!=641544);c=0;do{b=k[25636+(c<<3)>>2]|0;a=k[25636+(c<<3)+4>>2]|0;if(b>>>0<512){k[637448+(b<<3)>>2]=a;i[637448+(b<<3)+4>>0]=1}if(a>>>0<512){k[633352+(a<<3)>>2]=b;i[633352+(a<<3)+4>>0]=1}c=c+1|0}while((c|0)!=241);return}function ska(){k[160386]=0;k[160387]=13;k[160388]=27;k[160389]=8;k[160390]=9;k[160391]=32;k[160392]=33;k[160393]=34;k[160394]=35;k[160395]=37;k[160396]=36;k[160397]=38;k[160398]=39;k[160399]=40;k[160400]=41;k[160401]=42;k[160402]=43;k[160403]=44;k[160404]=45;k[160405]=46;k[160406]=47;k[160407]=48;k[160408]=49;k[160409]=50;k[160410]=51;k[160411]=52;k[160412]=53;k[160413]=54;k[160414]=55;k[160415]=56;k[160416]=57;k[160417]=58;k[160418]=59;k[160419]=60;k[160420]=61;k[160421]=62;k[160422]=63;k[160423]=64;k[160424]=91;k[160425]=92;k[160426]=93;k[160427]=94;k[160428]=95;k[160429]=96;k[160430]=97;k[160431]=98;k[160432]=99;k[160433]=100;k[160434]=101;k[160435]=102;k[160436]=103;k[160437]=104;k[160438]=105;k[160439]=106;k[160440]=107;k[160441]=108;k[160442]=109;k[160443]=110;k[160444]=111;k[160445]=112;k[160446]=113;k[160447]=114;k[160448]=115;k[160449]=116;k[160450]=117;k[160451]=118;k[160452]=119;k[160453]=120;k[160454]=121;k[160455]=122;k[160456]=1073741881;k[160457]=1073741882;k[160458]=1073741883;k[160459]=1073741884;k[160460]=1073741885;k[160461]=1073741886;k[160462]=1073741887;k[160463]=1073741888;k[160464]=1073741889;k[160465]=1073741890;k[160466]=1073741891;k[160467]=1073741892;k[160468]=1073741893;k[160469]=1073741894;k[160470]=1073741895;k[160471]=1073741896;k[160472]=1073741897;k[160473]=1073741898;k[160474]=1073741899;k[160475]=127;k[160476]=1073741901;k[160477]=1073741902;k[160478]=1073741903;k[160479]=1073741904;k[160480]=1073741905;k[160481]=1073741906;k[160482]=1073741907;k[160483]=1073741908;k[160484]=1073741909;k[160485]=1073741910;k[160486]=1073741911;k[160487]=1073741912;k[160497]=1073741922;k[160488]=1073741913;k[160489]=1073741914;k[160490]=1073741915;k[160491]=1073741916;k[160492]=1073741917;k[160493]=1073741918;k[160494]=1073741919;k[160495]=1073741920;k[160496]=1073741921;k[160498]=1073741923;k[160499]=1073741957;k[160500]=1073741927;k[160501]=1073741925;k[160502]=1073741926;k[160503]=1073741928;k[160504]=1073741929;k[160505]=1073741930;k[160506]=1073741931;k[160507]=1073741932;k[160508]=1073741933;k[160509]=1073741934;k[160510]=1073741935;k[160511]=1073741936;k[160512]=1073741937;k[160513]=1073741938;k[160514]=1073741939;k[160515]=1073741940;k[160516]=1073741941;k[160517]=1073741942;k[160518]=1073741943;k[160519]=1073741944;k[160520]=1073741945;k[160521]=1073741946;k[160522]=1073741947;k[160523]=1073741948;k[160524]=1073741949;k[160525]=1073741950;k[160526]=1073741951;k[160527]=1073741952;k[160528]=1073741953;k[160529]=1073741977;k[160530]=1073741978;k[160531]=1073741979;k[160532]=1073741980;k[160533]=1073741981;k[160534]=1073741982;k[160535]=1073741983;k[160536]=1073741984;k[160537]=1073741985;k[160538]=1073741986;k[160539]=1073742002;k[160540]=1073742003;k[160541]=1073742004;k[160542]=1073742005;k[160543]=1073742048;k[160544]=1073742049;k[160545]=1073742050;k[160546]=1073742051;k[160547]=1073742052;k[160548]=1073742053;k[160549]=1073742054;k[160550]=1073742055;k[160551]=1073742081;k[160552]=1073742082;k[160553]=1073742083;k[160554]=1073742084;k[160555]=1073742085;k[160556]=1073742086;k[160557]=1073742087;k[160558]=1073742088;k[160559]=1073742089;k[160560]=1073742090;k[160561]=1073742091;k[160562]=1073742092;k[160563]=1073742093;k[160564]=1073742094;k[160565]=1073742095;k[160566]=1073742096;k[160567]=1073742097;k[160568]=1073742098;k[160569]=1073742099;k[160570]=1073742100;k[160571]=1073742101;k[160572]=1073742102;k[160573]=1073742103;k[160574]=1073742104;k[160575]=1073742105;k[160576]=1073742106;return 641544}function tka(a){a=a|0;Uj(a);k[a>>2]=25572;i[a+8>>0]=0;return}function uka(a,b){a=a|0;b=b|0;if(a>>>0>=512){b=0;return b|0}if(!(i[633352+(a<<3)+4>>0]|0)){b=0;return b|0}k[b>>2]=k[633352+(a<<3)>>2];b=1;return b|0}function vka(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,h=0;h=r;r=r+16|0;a=642308;do{i[a+8>>0]=0;a=a+12|0}while((a|0)!=646892);vBb(646892,0,764)|0;f=0;do{d=k[27564+(f<<3)>>2]|0;e=k[27564+(f<<3)+4>>2]|0;a=i[d>>0]|0;if(!(a<<24>>24))b=5381;else{c=d;b=5381;do{c=c+1|0;b=(b*33|0)+(a<<24>>24)|0;a=i[c>>0]|0}while(a<<24>>24!=0)}c=0;do{a=((c+b|0)>>>0)%382|0;c=c+1|0;if(!(i[642308+(a*12|0)+8>>0]|0)){g=9;break}}while(c>>>0<382);if((g|0)==9){g=0;i[642308+(a*12|0)+8>>0]=1;k[642308+(a*12|0)>>2]=d;k[642308+(a*12|0)+4>>2]=e}if(e>>>0>190){k[h>>2]=d;k[h+4>>2]=e;Jpb(441170,h)|0}else k[646892+(e<<2)>>2]=d;f=f+1|0}while((f|0)!=191);a=647656;do{i[a+8>>0]=0;a=a+12|0}while((a|0)!=653440);vBb(653440,0,964)|0;f=0;do{d=k[29092+(f<<3)>>2]|0;e=k[29092+(f<<3)+4>>2]|0;a=i[d>>0]|0;if(!(a<<24>>24))b=5381;else{c=d;b=5381;do{c=c+1|0;b=(b*33|0)+(a<<24>>24)|0;a=i[c>>0]|0}while(a<<24>>24!=0)}c=0;do{a=((c+b|0)>>>0)%482|0;c=c+1|0;if(!(i[647656+(a*12|0)+8>>0]|0)){g=21;break}}while(c>>>0<482);if((g|0)==21){g=0;i[647656+(a*12|0)+8>>0]=1;k[647656+(a*12|0)>>2]=d;k[647656+(a*12|0)+4>>2]=e}if(e>>>0>240){k[h+8>>2]=d;k[h+8+4>>2]=e;Jpb(441170,h+8|0)|0}else k[653440+(e<<2)>>2]=d;f=f+1|0}while((f|0)!=241);r=h;return}function wka(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0;c=i[a>>0]|0;if(!(c<<24>>24))d=5381;else{e=a;d=5381;do{e=e+1|0;d=(d*33|0)+(c<<24>>24)|0;c=i[e>>0]|0}while(c<<24>>24!=0)}h=0;while(1){g=((h+d|0)>>>0)%382|0;if(!(i[642308+(g*12|0)+8>>0]|0)){c=1;d=0;j=11;break}e=k[642308+(g*12|0)>>2]|0;f=i[e>>0]|0;a:do if(!(f<<24>>24)){c=a;j=8}else{c=a;while(1){l=i[c>>0]|0;if(!(l<<24>>24?f<<24>>24==l<<24>>24:0))break a;e=e+1|0;c=c+1|0;f=i[e>>0]|0;if(!(f<<24>>24)){j=8;break}}}while(0);if((j|0)==8){j=0;if(!(i[c>>0]|0)){j=9;break}}h=h+1|0;if(h>>>0>=382){c=0;d=0;j=11;break}}if((j|0)==9){k[b>>2]=k[642308+(g*12|0)+4>>2];j=1;l=1;l=j&l;return l|0}else if((j|0)==11){l=c&d;return l|0}return 0}function xka(a,b){a=a|0;b=b|0;if(a>>>0>190)a=0;else{a=k[646892+(a<<2)>>2]|0;if(!a)a=0;else{k[b>>2]=a;a=1}}return a|0}function yka(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0;c=i[a>>0]|0;if(!(c<<24>>24))d=5381;else{e=a;d=5381;do{e=e+1|0;d=(d*33|0)+(c<<24>>24)|0;c=i[e>>0]|0}while(c<<24>>24!=0)}h=0;while(1){g=((h+d|0)>>>0)%482|0;if(!(i[647656+(g*12|0)+8>>0]|0)){c=1;d=0;j=11;break}e=k[647656+(g*12|0)>>2]|0;f=i[e>>0]|0;a:do if(!(f<<24>>24)){c=a;j=8}else{c=a;while(1){l=i[c>>0]|0;if(!(l<<24>>24?f<<24>>24==l<<24>>24:0))break a;e=e+1|0;c=c+1|0;f=i[e>>0]|0;if(!(f<<24>>24)){j=8;break}}}while(0);if((j|0)==8){j=0;if(!(i[c>>0]|0)){j=9;break}}h=h+1|0;if(h>>>0>=482){c=0;d=0;j=11;break}}if((j|0)==9){k[b>>2]=k[647656+(g*12|0)+4>>2];j=1;l=1;l=j&l;return l|0}else if((j|0)==11){l=c&d;return l|0}return 0}function zka(a,b){a=a|0;b=b|0;if(a>>>0>240)a=0;else{a=k[653440+(a<<2)>>2]|0;if(!a)a=0;else{k[b>>2]=a;a=1}}return a|0}function Aka(a,b){a=a|0;b=b|0;Uj(a);k[a>>2]=31028;Dka(a+8|0,b);return}function Bka(a){a=a|0;var b=0,c=0;k[a>>2]=31028;b=k[a+8>>2]|0;if(!b)return;c=k[a+12>>2]|0;if((c|0)!=(b|0))k[a+12>>2]=c+(~((c+-8-b|0)>>>3)<<3);CAb(b);return}function Cka(a){a=a|0;var b=0,c=0;k[a>>2]=31028;b=k[a+8>>2]|0;if(!b){CAb(a);return}c=k[a+12>>2]|0;if((c|0)!=(b|0))k[a+12>>2]=c+(~((c+-8-b|0)>>>3)<<3);CAb(b);CAb(a);return}function Dka(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;d=(k[b+4>>2]|0)-(k[b>>2]|0)|0;if(!(d>>3))return;if(d>>3>>>0>536870911)xzb(a);c=kBb(d)|0;k[a+4>>2]=c;k[a>>2]=c;k[a+8>>2]=c+(d>>3<<3);d=k[b>>2]|0;b=k[b+4>>2]|0;if((d|0)==(b|0))return;do{g=d;f=k[g+4>>2]|0;e=c;k[e>>2]=k[g>>2];k[e+4>>2]=f;c=(k[a+4>>2]|0)+8|0;k[a+4>>2]=c;d=d+8|0}while((d|0)!=(b|0));return}function Eka(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0.0,h=0,i=0,j=0.0,l=0;i=r;r=r+16|0;c=(k[b+12>>2]|0)-(k[b+8>>2]|0)|0;if((c|0)==8){h=xf(16)|0;os(h,441232,i);Jc(h|0,96,27)}k[i+4>>2]=0;h=i+4+4|0;k[h>>2]=0;k[i+4+8>>2]=0;a:do if(!((c>>3)+-1|0)){d=h;c=i+4|0}else{if(((c>>3)+-1|0)>>>0>536870911)xzb(i+4|0);f=kBb((c>>3)+-1<<3)|0;k[h>>2]=f;k[i+4>>2]=f;e=f+((c>>3)+-1<<3)|0;k[i+4+8>>2]=e;c=(c>>3)+-1|0;d=f;while(1){o[d>>2]=0.0;o[d+4>>2]=0.0;c=c+-1|0;if(!c)break;else d=d+8|0}k[h>>2]=e;c=k[b+8>>2]|0;g=+((((k[b+12>>2]|0)-c>>3)+-1|0)>>>0);if((e|0)==(f|0)){d=h;c=i+4|0}else{d=f;e=0;while(1){f=e+1|0;j=g*(+o[c+(f<<3)+4>>2]-+o[c+(e<<3)+4>>2]);o[d+(e<<3)>>2]=g*(+o[c+(f<<3)>>2]-+o[c+(e<<3)>>2]);o[d+(e<<3)+4>>2]=j;d=k[i+4>>2]|0;if(f>>>0>=(k[h>>2]|0)-d>>3>>>0){d=h;c=i+4|0;break a}c=k[b+8>>2]|0;e=f}}}while(0);Uj(a);k[a>>2]=31028;k[a+8>>2]=0;k[a+12>>2]=0;k[a+16>>2]=0;c=k[c>>2]|0;d=(k[d>>2]|0)-c|0;if(d>>3){if(d>>3>>>0>536870911)xzb(a+8|0);e=kBb(d)|0;k[a+12>>2]=e;k[a+8>>2]=e;k[a+16>>2]=e+(d>>3<<3);c=k[i+4>>2]|0;f=k[h>>2]|0;if((c|0)!=(f|0)){d=e;do{l=c;e=k[l+4>>2]|0;b=d;k[b>>2]=k[l>>2];k[b+4>>2]=e;d=(k[a+12>>2]|0)+8|0;k[a+12>>2]=d;c=c+8|0}while((c|0)!=(f|0));c=k[i+4>>2]|0}}if(!c){r=i;return}d=k[h>>2]|0;if((d|0)!=(c|0))k[h>>2]=d+(~((d+-8-c|0)>>>3)<<3);CAb(c);r=i;return}function Fka(a,b){a=a|0;b=b|0;var c=0,d=0;if((b|0)<0){c=k[a+12>>2]|0;d=k[a+8>>2]|0;do b=(c-d>>3)+b|0;while((b|0)<0)}else{d=k[a+8>>2]|0;c=k[a+12>>2]|0}a=d;c=c-d>>3;while(1)if(b>>>0>>0)break;else b=b-c|0;return a+(b<<3)|0}function Gka(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if((b|0)<0){d=k[a+12>>2]|0;e=k[a+8>>2]|0;do b=(d-e>>3)+b|0;while((b|0)<0)}else{e=k[a+8>>2]|0;d=k[a+12>>2]|0}a=e;d=d-e>>3;while(1)if(b>>>0>>0)break;else b=b-d|0;e=k[c+4>>2]|0;k[a+(b<<3)>>2]=k[c>>2];k[a+(b<<3)+4>>2]=e;return}function Hka(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=r;r=r+16|0;if((c|0)<0){d=k[a+12>>2]|0;e=k[a+8>>2]|0;do c=(d-e>>3)+c|0;while((c|0)<0);f=a+8|0}else{e=k[a+8>>2]|0;f=a+8|0;d=k[a+12>>2]|0}a=e;d=d-e>>3;while(1)if(c>>>0>d>>>0)c=c-d|0;else break;k[g>>2]=a+(c<<3);k[g+4>>2]=k[g>>2];Ika(f,g+4|0,b)|0;r=g;return}function Ika(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=k[a>>2]|0;j=h+((k[b>>2]|0)-h>>3<<3)|0;e=k[a+4>>2]|0;b=k[a+8>>2]|0;if(e>>>0>>0){if((j|0)==(e|0)){i=k[c+4>>2]|0;k[j>>2]=k[c>>2];k[j+4>>2]=i;k[a+4>>2]=(k[a+4>>2]|0)+8;a=j;return a|0}if((j+(e-(j+8)>>3<<3)|0)>>>0>>0){b=e;d=j+(e-(j+8)>>3<<3)|0;do{g=d;h=k[g+4>>2]|0;i=b;k[i>>2]=k[g>>2];k[i+4>>2]=h;d=d+8|0;b=(k[a+4>>2]|0)+8|0;k[a+4>>2]=b}while(d>>>0>>0)}BBb(e+(0-(e-(j+8)>>3)<<3)|0,j|0,e-(j+8)|0)|0;if(j>>>0<=c>>>0)c=(k[a+4>>2]|0)>>>0>c>>>0?c+8|0:c;i=c;a=k[i+4>>2]|0;k[j>>2]=k[i>>2];k[j+4>>2]=a;a=j;return a|0}if(((e-h>>3)+1|0)>>>0>536870911)xzb(a);if(b-h>>3>>>0<268435455){b=b-h>>2>>>0<((e-h>>3)+1|0)>>>0?(e-h>>3)+1|0:b-h>>2;if(!b){g=0;d=j;i=0;b=j-h>>3}else{e=j-h>>3;d=j;f=14}}else{b=536870911;e=j-h>>3;d=j;f=14}if((f|0)==14){g=b;i=kBb(b<<3)|0;b=e}f=i+(b<<3)|0;e=i+(g<<3)|0;do if((b|0)==(g|0)){if((b|0)>0){b=f+(((b+1|0)/-2|0)<<3)|0;g=b;break}e=(b|0)==0?1:b<<1;f=kBb(e<<3)|0;if(!i){g=f+(e>>>2<<3)|0;b=f+(e>>>2<<3)|0;e=f+(e<<3)|0}else{CAb(i);g=f+(e>>>2<<3)|0;h=k[a>>2]|0;b=f+(e>>>2<<3)|0;e=f+(e<<3)|0}}else{g=f;b=f}while(0);i=k[c+4>>2]|0;k[g>>2]=k[c>>2];k[g+4>>2]=i;g=d-h|0;ABb(b+(0-(g>>3)<<3)|0,h|0,g|0)|0;i=(k[a+4>>2]|0)-d|0;ABb(b+8|0,j|0,i|0)|0;c=k[a>>2]|0;k[a>>2]=b+(0-(g>>3)<<3);k[a+4>>2]=b+8+(i>>3<<3);k[a+8>>2]=e;if(!c){a=b;return a|0}CAb(c);a=b;return a|0}function Jka(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if((b|0)<0){d=k[a+12>>2]|0;c=k[a+8>>2]|0;do b=(d-c>>3)+b|0;while((b|0)<0);e=a+12|0}else{c=k[a+8>>2]|0;e=a+12|0;d=k[a+12>>2]|0}a=c;c=d-c>>3;while(1)if(b>>>0>>0)break;else b=b-c|0;c=d-(a+(b<<3)+8)|0;BBb(a+(b<<3)|0,a+(b<<3)+8|0,c|0)|0;d=k[e>>2]|0;if((d|0)==(a+(b<<3)+(c>>3<<3)|0))return;k[e>>2]=d+(~((d+-8-(a+(b<<3)+(c>>3<<3))|0)>>>3)<<3);return}function Kka(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=k[a+12>>2]|0;a=k[a+8>>2]|0;if((d|0)==(a|0))return;c=0;do{e=a+(c<<3)|0;o[e>>2]=+o[b>>2]+ +o[e>>2];e=a+(c<<3)+4|0;o[e>>2]=+o[b+4>>2]+ +o[e>>2];c=c+1|0}while(c>>>0>3>>>0);return}function Lka(a,b,c){a=a|0;b=+b;c=c|0;var d=0,e=0,f=0.0,g=0,h=0.0,i=0.0,j=0.0,l=0,m=0.0;f=+Z(+b);b=+_(+b);e=k[a+12>>2]|0;a=k[a+8>>2]|0;if((e|0)==(a|0))return;d=0;do{l=a+(d<<3)|0;m=+o[c>>2];i=+o[l>>2]-m;g=a+(d<<3)+4|0;j=+o[c+4>>2];h=+o[g>>2]-j;o[l>>2]=m+(f*i-b*h);o[g>>2]=j+(b*i+f*h);d=d+1|0}while(d>>>0>3>>>0);return}function Mka(a,b,c){a=a|0;b=+b;c=c|0;var d=0,e=0,f=0,g=0.0,h=0,i=0.0;d=k[a+8>>2]|0;if((k[a+12>>2]|0)==(d|0))return;e=0;do{f=d;h=f+(e<<3)|0;i=+o[c>>2];f=f+(e<<3)+4|0;g=+o[c+4>>2];g=g+b*(+o[f>>2]-g);o[h>>2]=i+b*(+o[h>>2]-i);o[f>>2]=g;e=e+1|0;d=k[a+8>>2]|0}while(e>>>0<(k[a+12>>2]|0)-d>>3>>>0);return}function Nka(a,b,c){a=a|0;b=b|0;c=+c;var d=0,e=0,f=0,g=0,h=0,i=0,j=0.0;i=r;r=r+32|0;if(c<0.0|c>1.0){a=xf(16)|0;os(a,441269,i);Jc(a|0,96,27)}if((k[b+12>>2]|0)-(k[b+8>>2]|0)>>3>>>0<2){a=xf(16)|0;os(a,441323,i+8|0);Jc(a|0,96,27)}Dka(i+12|0,b+8|0);d=k[b+12>>2]|0;e=k[b+8>>2]|0;if(d-e>>3>>>0>1){h=1;do{if((d-e>>3|0)!=(h|0)){f=k[i+12>>2]|0;g=0;do{e=f+(g<<3)|0;d=f+(g<<3)+4|0;g=g+1|0;j=(1.0-c)*+o[d>>2]+c*+o[f+(g<<3)+4>>2];o[e>>2]=(1.0-c)*+o[e>>2]+c*+o[f+(g<<3)>>2];o[d>>2]=j;d=k[b+12>>2]|0;e=k[b+8>>2]|0}while(g>>>0<((d-e>>3)-h|0)>>>0)}h=h+1|0}while(h>>>0>3>>>0)}e=k[i+12>>2]|0;b=k[e+4>>2]|0;k[a>>2]=k[e>>2];k[a+4>>2]=b;if(!e){r=i;return}d=k[i+12+4>>2]|0;if((d|0)!=(e|0))k[i+12+4>>2]=d+(~((d+-8-e|0)>>>3)<<3);CAb(e);r=i;return}function Oka(a,b,c){a=a|0;b=+b;c=+c;var d=0,e=0,f=0,g=0.0,h=0.0,i=0,j=0,l=0,m=0,n=0,p=0,q=0,s=0,t=0,u=0.0,v=0.0;t=r;r=r+48|0;if(b<0.0|c>1.0){s=xf(16)|0;os(s,441372,t);Jc(s|0,96,27)}if(c<=b){s=xf(16)|0;os(s,441424,t+8|0);Jc(s|0,96,27)}Dka(t+36|0,a+8|0);k[t+24>>2]=0;s=t+24+4|0;k[s>>2]=0;k[t+24+8>>2]=0;k[t+12>>2]=0;q=t+12+4|0;k[q>>2]=0;k[t+12+8>>2]=0;e=k[t+36>>2]|0;d=(k[t+36+4>>2]|0)-e|0;if(!(d>>3)){a=e;d=t+12|0;f=t+12+8|0;e=t+36|0;n=11}else{i=kBb(d)|0;k[t+24>>2]=i;k[s>>2]=i;k[t+24+8>>2]=i+(d>>3<<3);p=kBb(d)|0;k[t+12>>2]=p;k[q>>2]=p;k[t+12+8>>2]=p+(d>>3<<3);if(d>>3>>>0>1){j=e;d=(i|0)==(i+(d>>3<<3)|0);f=e;a=i;l=1;while(1){if(d)xk(t+24|0,j);else{j=f;m=k[j+4>>2]|0;p=a;k[p>>2]=k[j>>2];k[p+4>>2]=m;k[s>>2]=(k[s>>2]|0)+8}i=k[t+36>>2]|0;f=(k[t+36+4>>2]|0)-i>>3;if((f|0)!=(l|0)){a=f-l|0;g=+o[i>>2];h=+o[i+4>>2];d=0;do{p=d;d=d+1|0;v=g;g=+o[i+(d<<3)>>2];u=h;h=+o[i+(d<<3)+4>>2];o[i+(p<<3)>>2]=v+c*(g-v);o[i+(p<<3)+4>>2]=c*(h-u)+u}while(d>>>0>>0)}l=l+1|0;e=k[s>>2]|0;d=(e|0)==(k[t+24+8>>2]|0);if(l>>>0>=f>>>0){a=i;f=i;break}else{j=i;f=i;a=e}}}else{a=e;f=e;e=i;d=(i|0)==(i+(d>>3<<3)|0)}if(d){d=t+12|0;f=t+12+8|0;e=t+36|0;n=11}else{m=f;l=k[m+4>>2]|0;d=e;k[d>>2]=k[m>>2];k[d+4>>2]=l;d=(k[s>>2]|0)+8|0;k[s>>2]=d;l=s;m=t+12|0;p=t+36|0;f=t+12+8|0}}if((n|0)==11){xk(t+24|0,a);l=s;m=d;p=e;d=k[s>>2]|0}a=k[t+24>>2]|0;d=d-a>>3;if(d>>>0>1){j=1;do{a=a+(d-j<<3)|0;d=k[q>>2]|0;if((d|0)==(k[f>>2]|0))xk(t+12|0,a);else{n=k[a+4>>2]|0;k[d>>2]=k[a>>2];k[d+4>>2]=n;k[q>>2]=(k[q>>2]|0)+8}a=k[t+24>>2]|0;d=(k[l>>2]|0)-a>>3;if((d|0)!=(j|0)){e=d-j|0;g=+o[a>>2];h=+o[a+4>>2];i=0;do{n=i;i=i+1|0;u=g;g=+o[a+(i<<3)>>2];v=h;h=+o[a+(i<<3)+4>>2];o[a+(n<<3)>>2]=u+b/c*(g-u);o[a+(n<<3)+4>>2]=b/c*(h-v)+v}while(i>>>0>>0)}j=j+1|0}while(d>>>0>j>>>0)}d=k[q>>2]|0;if((d|0)==(k[f>>2]|0)){xk(t+12|0,a);a=k[q>>2]|0}else{n=a;a=k[n+4>>2]|0;k[d>>2]=k[n>>2];k[d+4>>2]=a;a=(k[q>>2]|0)+8|0;k[q>>2]=a}d=k[t+12>>2]|0;if((d|0)!=(a|0)){a=a+-8|0;if(d>>>0>>0)do{l=d;j=k[l>>2]|0;l=k[l+4>>2]|0;f=a;i=k[f+4>>2]|0;n=d;k[n>>2]=k[f>>2];k[n+4>>2]=i;n=a;k[n>>2]=j;k[n+4>>2]=l;d=d+8|0;a=a+-8|0}while(d>>>0>>0)}i=kBb(20)|0;Uj(i);k[i>>2]=31028;k[i+8>>2]=0;k[i+12>>2]=0;k[i+16>>2]=0;a=k[m>>2]|0;d=(k[q>>2]|0)-a|0;if(d>>3){if(d>>3>>>0>536870911)xzb(i+8|0);e=kBb(d)|0;k[i+12>>2]=e;k[i+8>>2]=e;k[i+16>>2]=e+(d>>3<<3);a=k[t+12>>2]|0;f=k[q>>2]|0;if((a|0)!=(f|0)){d=e;do{l=a;m=k[l+4>>2]|0;n=d;k[n>>2]=k[l>>2];k[n+4>>2]=m;d=(k[i+12>>2]|0)+8|0;k[i+12>>2]=d;a=a+8|0}while((a|0)!=(f|0));a=k[t+12>>2]|0}}d=a;if(a|0){e=k[q>>2]|0;if((e|0)!=(a|0))k[q>>2]=e+(~((e+-8-d|0)>>>3)<<3);CAb(a)}a=k[t+24>>2]|0;if(a|0){d=k[s>>2]|0;if((d|0)!=(a|0))k[s>>2]=d+(~((d+-8-a|0)>>>3)<<3);CAb(a)}a=k[p>>2]|0;if(!a){r=t;return i|0}d=k[t+36+4>>2]|0;if((d|0)!=(a|0))k[t+36+4>>2]=d+(~((d+-8-a|0)>>>3)<<3);CAb(a);r=t;return i|0}function Pka(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;if((k[b+12>>2]|0)-(k[b+8>>2]|0)>>3>>>0<2){b=xf(16)|0;os(b,441323,d);Jc(b|0,96,27)}else{Dka(a,b+8|0);Qka(a,c);r=d;return}}function Qka(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,p=0.0;n=r;r=r+32|0;if((b|0)<1){r=n;return}k[n+12>>2]=0;m=n+12+4|0;k[m>>2]=0;k[n+12+8>>2]=0;k[n>>2]=0;k[n+4>>2]=0;k[n+8>>2]=0;c=k[a>>2]|0;g=(k[a+4>>2]|0)-c|0;if(!(g>>3)){e=n+8|0;f=n;d=a;l=7}else{d=kBb(g)|0;k[n+12>>2]=d;k[m>>2]=d;k[n+12+8>>2]=d+(g>>3<<3);j=kBb(g)|0;k[n>>2]=j;k[n+4>>2]=j;k[n+8>>2]=j+(g>>3<<3);if(g>>3>>>0>1){e=c;g=(d|0)==(d+(g>>3<<3)|0);h=1;while(1){if(g)xk(n+12|0,e);else{g=c;i=k[g+4>>2]|0;j=d;k[j>>2]=k[g>>2];k[j+4>>2]=i;k[m>>2]=(k[m>>2]|0)+8}c=k[a>>2]|0;c=c+(((k[a+4>>2]|0)-c>>3)-h<<3)|0;d=k[n+4>>2]|0;if((d|0)==(k[n+8>>2]|0))xk(n,c);else{j=k[c+4>>2]|0;k[d>>2]=k[c>>2];k[d+4>>2]=j;k[n+4>>2]=(k[n+4>>2]|0)+8}d=k[a+4>>2]|0;c=k[a>>2]|0;if((d-c>>3|0)!=(h|0)){e=0;do{j=c;c=j+(e<<3)|0;d=j+(e<<3)+4|0;e=e+1|0;p=(+o[d>>2]+ +o[j+(e<<3)+4>>2])*.5;o[c>>2]=(+o[c>>2]+ +o[j+(e<<3)>>2])*.5;o[d>>2]=p;d=k[a+4>>2]|0;c=k[a>>2]|0}while(e>>>0<((d-c>>3)-h|0)>>>0)}h=h+1|0;e=c;f=k[m>>2]|0;g=(f|0)==(k[n+12+8>>2]|0);if(h>>>0>=d-c>>3>>>0){d=g;break}else d=f}}else{e=c;f=d;d=(d|0)==(d+(g>>3<<3)|0)}if(d){c=e;e=n+8|0;f=n;d=a;l=7}else{i=c;e=k[i+4>>2]|0;j=f;k[j>>2]=k[i>>2];k[j+4>>2]=e;k[m>>2]=(k[m>>2]|0)+8;j=a;e=n+8|0;i=n}}if((l|0)==7){xk(n+12|0,c);j=d;i=f}c=k[j>>2]|0;d=k[n+4>>2]|0;if((d|0)==(k[e>>2]|0))xk(n,c);else{l=k[c+4>>2]|0;k[d>>2]=k[c>>2];k[d+4>>2]=l;k[n+4>>2]=(k[n+4>>2]|0)+8}Qka(n+12|0,b+-1|0);Qka(n,b+-1|0);d=k[m>>2]|0;g=k[n+12>>2]|0;c=(d-g>>3)+-1+((k[n+4>>2]|0)-(k[i>>2]|0)>>3)|0;e=k[a+4>>2]|0;f=k[a>>2]|0;if(c>>>0>e-f>>3>>>0){Rka(a,c-(e-f>>3)|0);c=k[n+12>>2]|0;d=k[m>>2]|0;e=c}else if(c>>>0>3>>>0)if((e|0)==(f+(c<<3)|0)){e=g;c=g}else{k[a+4>>2]=e+(~((e+-8-(f+(c<<3))|0)>>>3)<<3);e=g;c=g}else{e=g;c=g}if((d|0)==(e|0)){f=e;d=e}else{e=0;do{a=c+(e<<3)|0;c=k[a+4>>2]|0;d=(k[j>>2]|0)+(e<<3)|0;k[d>>2]=k[a>>2];k[d+4>>2]=c;e=e+1|0;d=k[m>>2]|0;c=k[n+12>>2]|0}while(e>>>0>3>>>0);f=c}c=k[n+4>>2]|0;e=k[i>>2]|0;a:do if(c-e>>3>>>0>1){h=f;g=c-e>>3;c=1;while(1){a=e+(g+~c<<3)|0;e=k[a+4>>2]|0;f=(k[j>>2]|0)+(c+-1+(d-h>>3)<<3)|0;k[f>>2]=k[a>>2];k[f+4>>2]=e;f=c+1|0;c=k[n+4>>2]|0;e=k[i>>2]|0;if(c-e>>3>>>0<=f>>>0)break a;d=k[m>>2]|0;h=k[n+12>>2]|0;g=c-e>>3;c=f}}while(0);d=e;if(e|0){if((c|0)!=(e|0))k[n+4>>2]=c+(~((c+-8-d|0)>>>3)<<3);CAb(e)}c=k[n+12>>2]|0;if(c|0){d=k[m>>2]|0;if((d|0)!=(c|0))k[m>>2]=d+(~((d+-8-c|0)>>>3)<<3);CAb(c)}r=n;return}function Rka(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=k[a+8>>2]|0;e=k[a+4>>2]|0;if(c-e>>3>>>0>=b>>>0){c=b;d=e;while(1){o[d>>2]=0.0;o[d+4>>2]=0.0;c=c+-1|0;if(!c)break;else d=d+8|0}k[a+4>>2]=e+(b<<3);return}j=k[a>>2]|0;if(((e-j>>3)+b|0)>>>0>536870911)xzb(a);if(c-j>>3>>>0<268435455){c=c-j>>2>>>0<((e-j>>3)+b|0)>>>0?(e-j>>3)+b|0:c-j>>2;e=k[a+4>>2]|0;if(!c){h=0;c=0;d=e-j>>3;g=e}else{f=e;d=e-j>>3;i=9}}else{d=k[a+4>>2]|0;c=536870911;f=d;d=d-j>>3;i=9}if((i|0)==9){h=c;c=kBb(c<<3)|0;g=f}f=c+(d<<3)|0;d=c+(h<<3)|0;c=b;e=f;while(1){o[e>>2]=0.0;o[e+4>>2]=0.0;c=c+-1|0;if(!c)break;else e=e+8|0}i=g-j|0;ABb(f+(0-(i>>3)<<3)|0,j|0,i|0)|0;k[a>>2]=f+(0-(i>>3)<<3);k[a+4>>2]=f+(b<<3);k[a+8>>2]=d;if(!j)return;CAb(j);return}function Ska(a,b,c,d,e){a=a|0;b=b|0;c=+c;d=+d;e=e|0;var f=0,g=0,h=0,i=0.0,j=0,l=0,m=0;l=r;r=r+16|0;if((k[b+12>>2]|0)-(k[b+8>>2]|0)>>3>>>0<2){a=xf(16)|0;os(a,441323,l);Jc(a|0,96,27)}Dka(l+4|0,b+8|0);Qka(l+4|0,e);do if(c==d){f=k[l+4>>2]|0;b=k[l+4+4>>2]|0;if((b|0)==(f|0)){g=l+4+4|0;e=l+4|0;h=f;j=14}else{k[l+4+4>>2]=b+(~((b+-8-f|0)>>>3)<<3);g=l+4+4|0;e=l+4|0;h=f;b=b+(~((b+-8-f|0)>>>3)<<3)|0;j=14}}else{if(!(c>2]|0;b=k[l+4+4>>2]|0;j=14;break}f=k[l+4>>2]|0;i=+((k[l+4+4>>2]|0)-f>>3>>>0);k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;b=(~~(i*d+.5)>>>0)-(~~(i*c)>>>0)<<3;if(!(b>>3))e=l+4|0;else{if(b>>3>>>0>536870911)xzb(a);e=kBb(b)|0;k[a+4>>2]=e;k[a>>2]=e;k[a+8>>2]=e+(b>>3<<3);if((~~(i*d+.5)>>>0|0)==(~~(i*c)>>>0|0))e=l+4|0;else{b=f+(~~(i*c)>>>0<<3)|0;do{m=b;g=k[m+4>>2]|0;h=e;k[h>>2]=k[m>>2];k[h+4>>2]=g;e=(k[a+4>>2]|0)+8|0;k[a+4>>2]=e;b=b+8|0}while((b|0)!=(f+(~~(i*d+.5)>>>0<<3)|0));e=l+4|0}}}while(0);if((j|0)==14){k[a>>2]=h;k[a+4>>2]=b;k[a+8>>2]=k[l+4+8>>2];k[l+4+8>>2]=0;k[g>>2]=0;k[e>>2]=0}e=k[e>>2]|0;if(!e){r=l;return}b=k[l+4+4>>2]|0;if((b|0)!=(e|0))k[l+4+4>>2]=b+(~((b+-8-e|0)>>>3)<<3);CAb(e);r=l;return}function Tka(a){a=a|0;var b=0;k[a>>2]=31052;b=k[a+8>>2]|0;if(b|0)Djb(b);kG(a);return}function Uka(a){a=a|0;var b=0;k[a>>2]=31052;b=k[a+8>>2]|0;if(b|0)Djb(b);kG(a);CAb(a);return}function Vka(a){a=a|0;return k[a+8>>2]|0}function Wka(a){a=a|0;return k[a+12>>2]|0}function Xka(a){a=a|0;return k[a+16>>2]|0}function Yka(){var a=0,b=0;i[1206296]=0;i[1206304]=0;i[1206312]=0;i[1206320]=0;i[1206328]=0;i[1206336]=0;i[1206344]=0;i[1206352]=0;i[1206360]=0;i[1206368]=0;i[1206376]=0;i[1206384]=0;b=0;do{a=k[31080+(b<<3)>>2]|0;if(a>>>0<12){k[1206292+(a<<3)>>2]=k[31080+(b<<3)+4>>2];i[1206292+(a<<3)+4>>0]=1}b=b+1|0}while((b|0)!=12);return}function Zka(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=r;r=r+16|0;Uj(a);k[a>>2]=31052;k[a+8>>2]=0;k[a+12>>2]=1;k[a+16>>2]=12;f=hia(b)|0;g=iia(b)|0;b=Tcb(Gi[k[(k[b>>2]|0)+16>>2]&2047](b)|0,f,g,32,f<<2,255,65280,16711680,-16777216)|0;if(!b){g=xf(16)|0;os(g,441504,e);Jc(g|0,96,27)}g=Ejb(b,c,d)|0;k[a+8>>2]=g;N7a(b);if(!(k[a+8>>2]|0)){g=xf(16)|0;f=A6a()|0;k[e+8>>2]=f;os(g,441541,e+8|0);Jc(g|0,96,27)}else{r=e;return}}function _ka(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;Uj(a);k[a>>2]=31052;k[a+8>>2]=0;k[a+12>>2]=0;k[a+16>>2]=b;if(b>>>0>=12){a=xf(16)|0;os(a,441566,c);Jc(a|0,96,27)}if(!(i[1206292+(b<<3)+4>>0]|0)){a=xf(16)|0;os(a,441566,c);Jc(a|0,96,27)}b=Fjb(k[1206292+(b<<3)>>2]|0)|0;k[a+8>>2]=b;if(!b){a=xf(16)|0;b=A6a()|0;k[c+8>>2]=b;os(a,441609,c+8|0);Jc(a|0,96,27)}else{r=c;return}}function $ka(a){a=a|0;var b=0,c=0;k[a>>2]=31184;b=k[a+16>>2]|0;do if(b|0){c=k[b>>2]|0;if(c){Si[k[(k[c>>2]|0)+4>>2]&1023](c);b=k[a+16>>2]|0;if(!b)break}CAb(b)}while(0);Pn(a);return}function ala(a){a=a|0;var b=0,c=0;k[a>>2]=31184;b=k[a+16>>2]|0;do if(b|0){c=k[b>>2]|0;if(c){Si[k[(k[c>>2]|0)+4>>2]&1023](c);b=k[a+16>>2]|0;if(!b)break}CAb(b)}while(0);Pn(a);CAb(a);return}function bla(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=r;r=r+64|0;Uj(a);k[a>>2]=31184;k[a+12>>2]=b;k[a+16>>2]=0;f=kBb(4)|0;k[a+16>>2]=f;k[f>>2]=0;k[e+8+44>>2]=0;f=e+8+4|0;k[f>>2]=0;k[f+4>>2]=0;k[f+8>>2]=0;k[f+12>>2]=0;k[f+16>>2]=0;k[f+20>>2]=0;k[f+24>>2]=0;k[f+28>>2]=0;i[e+8+36>>0]=1;i[e+8+37>>0]=1;i[e+8+38>>0]=0;i[e+8+39>>0]=0;k[e+8>>2]=0;i[e+8+40>>0]=1;o[e+8+48>>2]=1.0;SG(e,c);c=k[e+4>>2]|0;k[e+8+4>>2]=k[e>>2];k[e+8+4+4>>2]=c;k[e+8+44>>2]=k[a+16>>2];b=tT(k[b+20>>2]|0,e+8|0)|0;k[a+8>>2]=b;Si[k[(k[a>>2]|0)+8>>2]&1023](a);switch(d|0){case 1:{tqa(k[a+8>>2]|0,0);f=k[a+8>>2]|0;o_(f,a);r=e;return}case 2:{tqa(k[a+8>>2]|0,2);f=k[a+8>>2]|0;o_(f,a);r=e;return}case 3:{tqa(k[a+8>>2]|0,1);f=k[a+8>>2]|0;o_(f,a);r=e;return}default:{f=k[a+8>>2]|0;o_(f,a);r=e;return}}}function cla(a,b){a=a|0;b=b|0;switch(b|0){case 1:{tqa(k[a+8>>2]|0,0);return}case 2:{tqa(k[a+8>>2]|0,2);return}case 3:{tqa(k[a+8>>2]|0,1);return}default:return}}function dla(a){a=a|0;return +(+mH(+o[(k[a+8>>2]|0)+12>>2]))}function ela(a){a=a|0;return +(+mH(+o[(k[a+8>>2]|0)+16>>2]))}function fla(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;pH(d,(k[a+8>>2]|0)+12|0);k[b>>2]=k[d>>2];k[c>>2]=k[d+4>>2];r=d;return}function gla(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;pH(d,(k[a+8>>2]|0)+64|0);k[b>>2]=k[d>>2];k[c>>2]=k[d+4>>2];r=d;return}function hla(a){a=a|0;return +(+o[(k[a+8>>2]|0)+56>>2])}function ila(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;pH(d,(k[a+8>>2]|0)+44|0);k[b>>2]=k[d>>2];k[c>>2]=k[d+4>>2];r=d;return}function jla(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;pH(d,(k[a+8>>2]|0)+28|0);k[b>>2]=k[d>>2];k[c>>2]=k[d+4>>2];r=d;return}function kla(a){a=a|0;return +(+o[(k[a+8>>2]|0)+72>>2])}function lla(a){a=a|0;return +(+o[(k[a+8>>2]|0)+116>>2])}function mla(a){a=a|0;var b=0.0,c=0.0;a=k[a+8>>2]|0;c=+o[a+28>>2];b=+o[a+32>>2];return +(+mH(+mH(+o[a+124>>2]+ +o[a+116>>2]*(c*c+b*b))))}function nla(a,b){a=a|0;b=b|0;var c=0,d=0,e=0.0,f=0.0;c=r;r=r+32|0;d=k[a+8>>2]|0;a=k[d+116>>2]|0;k[c+8>>2]=a;f=+o[d+28>>2];e=+o[d+32>>2];o[c+8+12>>2]=+o[d+124>>2]+(k[t>>2]=a,+o[t>>2])*(f*f+e*e);a=k[d+28+4>>2]|0;k[c+8+4>>2]=k[d+28>>2];k[c+8+4+4>>2]=a;pH(c,c+8+4|0);VDa(b,+o[c>>2]);VDa(b,+o[c+4>>2]);VDa(b,+o[c+8>>2]);VDa(b,+mH(+mH(+o[c+8+12>>2])));r=c;return 4}function ola(a){a=a|0;return +(+o[(k[a+8>>2]|0)+136>>2])}function pla(a){a=a|0;return +(+o[(k[a+8>>2]|0)+132>>2])}function qla(a){a=a|0;return +(+o[(k[a+8>>2]|0)+140>>2])}function rla(a){a=a|0;switch(k[k[a+8>>2]>>2]|0){case 0:{a=1;break}case 2:{a=2;break}case 1:{a=3;break}default:a=0}return a|0}function sla(a,b,c,d){a=a|0;b=+b;c=+c;d=d|0;var e=0,f=0,g=0;g=r;r=r+16|0;f=k[a+8>>2]|0;o[g>>2]=b;o[g+4>>2]=c;SG(g+8|0,g);e=k[a+8>>2]|0;if((k[f>>2]|0)!=2){r=g;return}a=j[f+4>>1]|0;if((a&2)==0&d)if(!(a&2)){j[f+4>>1]=a&65535|2;o[f+144>>2]=0.0;a=(a&65535|2)&65535}if(!(a&2)){r=g;return}b=+o[f+120>>2];c=b*+o[g+8+4>>2];o[f+64>>2]=b*+o[g+8>>2]+ +o[f+64>>2];o[f+68>>2]=c+ +o[f+68>>2];o[f+72>>2]=+o[f+72>>2]+ +o[f+128>>2]*((+o[e+44>>2]-+o[f+44>>2])*+o[g+8+4>>2]-(+o[e+48>>2]-+o[f+48>>2])*+o[g+8>>2]);r=g;return}function tla(a,b,c,d,e,f){a=a|0;b=+b;c=+c;d=+d;e=+e;f=f|0;var g=0,h=0;h=r;r=r+32|0;g=k[a+8>>2]|0;o[h+16>>2]=b;o[h+16+4>>2]=c;SG(h+24|0,h+16|0);o[h>>2]=d;o[h+4>>2]=e;SG(h+8|0,h);if((k[g>>2]|0)!=2){r=h;return}a=j[g+4>>1]|0;if((a&2)==0&f)if(!(a&2)){j[g+4>>1]=a&65535|2;o[g+144>>2]=0.0;a=(a&65535|2)&65535}if(!(a&2)){r=h;return}d=+o[g+120>>2];e=d*+o[h+24+4>>2];o[g+64>>2]=d*+o[h+24>>2]+ +o[g+64>>2];o[g+68>>2]=e+ +o[g+68>>2];o[g+72>>2]=+o[g+72>>2]+ +o[g+128>>2]*((+o[h+8>>2]-+o[g+44>>2])*+o[h+24+4>>2]-(+o[h+8+4>>2]-+o[g+48>>2])*+o[h+24>>2]);r=h;return}function ula(a,b,c){a=a|0;b=+b;c=c|0;var d=0;d=k[a+8>>2]|0;b=+TG(+TG(b));if((k[d>>2]|0)!=2)return;a=j[d+4>>1]|0;if((a&2)==0&c)if(!(a&2)){j[d+4>>1]=a&65535|2;o[d+144>>2]=0.0;a=(a&65535|2)&65535}if(!(a&2))return;o[d+72>>2]=+o[d+72>>2]+b*+o[d+128>>2];return}function vla(a,b,c){a=a|0;b=+b;c=c|0;var d=0;d=k[a+8>>2]|0;b=+TG(+TG(b));if((k[d>>2]|0)!=2)return;a=j[d+4>>1]|0;if((a&2)==0&c)if(!(a&2)){j[d+4>>1]=a&65535|2;o[d+144>>2]=0.0;a=(a&65535|2)&65535}if(!(a&2))return;o[d+84>>2]=b+ +o[d+84>>2];return}function wla(a,b,c,d,e,f){a=a|0;b=+b;c=+c;d=+d;e=+e;f=f|0;var g=0,h=0;h=r;r=r+32|0;g=k[a+8>>2]|0;o[h+16>>2]=b;o[h+16+4>>2]=c;SG(h+24|0,h+16|0);o[h>>2]=d;o[h+4>>2]=e;SG(h+8|0,h);if((k[g>>2]|0)!=2){r=h;return}a=j[g+4>>1]|0;if((a&2)==0&f)if(!(a&2)){j[g+4>>1]=a&65535|2;o[g+144>>2]=0.0;a=(a&65535|2)&65535}if(!(a&2)){r=h;return}o[g+76>>2]=+o[h+24>>2]+ +o[g+76>>2];o[g+80>>2]=+o[h+24+4>>2]+ +o[g+80>>2];o[g+84>>2]=+o[g+84>>2]+((+o[h+8>>2]-+o[g+44>>2])*+o[h+24+4>>2]-(+o[h+8+4>>2]-+o[g+48>>2])*+o[h+24>>2]);r=h;return}function xla(a,b,c,d){a=a|0;b=+b;c=+c;d=d|0;var e=0,f=0;f=r;r=r+16|0;e=k[a+8>>2]|0;o[f>>2]=b;o[f+4>>2]=c;SG(f+8|0,f);if((k[e>>2]|0)!=2){r=f;return}a=j[e+4>>1]|0;if((a&2)==0&d)if(!(a&2)){j[e+4>>1]=a&65535|2;o[e+144>>2]=0.0;a=(a&65535|2)&65535}if(!(a&2)){r=f;return}o[e+76>>2]=+o[f+8>>2]+ +o[e+76>>2];o[e+80>>2]=+o[f+8+4>>2]+ +o[e+80>>2];r=f;return}function yla(a,b){a=a|0;b=+b;var c=0,d=0,e=0.0;c=r;r=r+16|0;d=k[a+8>>2]|0;e=+mH(+o[d+16>>2]);o[c>>2]=b;o[c+4>>2]=e;SG(c+8|0,c);Aqa(d,c+8|0,+o[(k[a+8>>2]|0)+56>>2]);r=c;return}function zla(a,b){a=a|0;b=+b;var c=0,d=0,e=0.0;c=r;r=r+16|0;d=k[a+8>>2]|0;e=+mH(+o[d+12>>2]);o[c>>2]=e;o[c+4>>2]=b;SG(c+8|0,c);Aqa(d,c+8|0,+o[(k[a+8>>2]|0)+56>>2]);r=c;return}function Ala(a,b,c){a=a|0;b=+b;c=+c;var d=0,e=0;e=r;r=r+16|0;d=k[a+8>>2]|0;o[e+8>>2]=b;o[e+8+4>>2]=c;SG(e,e+8|0);if(!(k[d>>2]|0)){r=e;return}b=+o[e>>2];c=+o[e+4>>2];if(b*b+c*c>0.0){a=m[d+4>>1]|0;if(!(a&2)){j[d+4>>1]=a|2;o[d+144>>2]=0.0}}a=k[e+4>>2]|0;k[d+64>>2]=k[e>>2];k[d+64+4>>2]=a;r=e;return}function Bla(a,b){a=a|0;b=+b;a=k[a+8>>2]|0;Aqa(a,a+12|0,b);return}function Cla(a,b){a=a|0;b=+b;var c=0;a=k[a+8>>2]|0;if(!(k[a>>2]|0))return;if(b*b>0.0){c=m[a+4>>1]|0;if(!(c&2)){j[a+4>>1]=c|2;o[a+144>>2]=0.0}}o[a+72>>2]=b;return}function Dla(a,b,c){a=a|0;b=+b;c=+c;var d=0,e=0;d=r;r=r+16|0;e=k[a+8>>2]|0;o[d>>2]=b;o[d+4>>2]=c;SG(d+8|0,d);Aqa(e,d+8|0,+o[(k[a+8>>2]|0)+56>>2]);r=d;return}function Ela(a,b){a=a|0;b=+b;o[(k[a+8>>2]|0)+136>>2]=b;return}function Fla(a,b){a=a|0;b=+b;o[(k[a+8>>2]|0)+132>>2]=b;return}function Gla(a){a=a|0;uqa(k[a+8>>2]|0);return}function Hla(a,b,c,d,e){a=a|0;b=+b;c=+c;d=+d;e=+e;var f=0,g=0;f=r;r=r+32|0;o[f+8>>2]=b;o[f+8+4>>2]=c;SG(f,f+8|0);g=k[f+4>>2]|0;k[f+16+4>>2]=k[f>>2];k[f+16+4+4>>2]=g;o[f+16>>2]=d;c=+TG(+TG(e));o[f+16+12>>2]=c;yqa(k[a+8>>2]|0,f+16|0);r=f;return}function Ila(a,b){a=a|0;b=+b;var c=0,d=0,e=0.0,f=0.0;c=r;r=r+16|0;a=k[a+8>>2]|0;d=k[a+116>>2]|0;k[c>>2]=d;f=+o[a+28>>2];e=+o[a+32>>2];o[c+12>>2]=+o[a+124>>2]+(k[t>>2]=d,+o[t>>2])*(f*f+e*e);d=k[a+28+4>>2]|0;k[c+4>>2]=k[a+28>>2];k[c+4+4>>2]=d;o[c>>2]=b;yqa(a,c);r=c;return}function Jla(a,b){a=a|0;b=+b;var c=0,d=0,e=0;c=r;r=r+16|0;d=k[a+8>>2]|0;e=k[d+28+4>>2]|0;k[c+4>>2]=k[d+28>>2];k[c+4+4>>2]=e;k[c>>2]=k[d+116>>2];b=+TG(+TG(b));o[c+12>>2]=b;yqa(k[a+8>>2]|0,c);r=c;return}function Kla(a,b){a=a|0;b=+b;o[(k[a+8>>2]|0)+140>>2]=b;return}function Lla(a,b,c,d,e){a=a|0;b=+b;c=+c;d=d|0;e=e|0;var f=0,g=0.0,h=0.0,i=0.0;f=r;r=r+32|0;a=k[a+8>>2]|0;o[f>>2]=b;o[f+4>>2]=c;SG(f+8|0,f);i=+o[a+24>>2];h=+o[f+8>>2];g=+o[a+20>>2];b=+o[f+8+4>>2];c=h*g+i*b+ +o[a+16>>2];o[f+16>>2]=+o[a+12>>2]+(i*h-g*b);o[f+16+4>>2]=c;pH(f+24|0,f+16|0);k[d>>2]=k[f+24>>2];k[e>>2]=k[f+24+4>>2];r=f;return}function Mla(a,b,c,d,e){a=a|0;b=+b;c=+c;d=d|0;e=e|0;var f=0,g=0.0,h=0.0;f=r;r=r+32|0;a=k[a+8>>2]|0;o[f>>2]=b;o[f+4>>2]=c;SG(f+8|0,f);b=+o[a+24>>2];h=+o[f+8>>2];g=+o[a+20>>2];c=+o[f+8+4>>2];o[f+16>>2]=b*h-g*c;o[f+16+4>>2]=h*g+b*c;pH(f+24|0,f+16|0);k[d>>2]=k[f+24>>2];k[e>>2]=k[f+24+4>>2];r=f;return}function Nla(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0.0,g=0.0,h=0.0,i=0.0,j=0.0,l=0;e=r;r=r+32|0;c=xDa(b)|0;ys(b,2)|0;if((c|0)<=1){r=e;return c|0}d=0;do{i=+LDa(b,1);j=+LDa(b,2);zDa(b,1);zDa(b,1);l=k[a+8>>2]|0;o[e>>2]=i;o[e+4>>2]=j;SG(e+8|0,e);j=+o[l+24>>2];i=+o[e+8>>2];h=+o[l+20>>2];g=+o[e+8+4>>2];f=i*h+j*g+ +o[l+16>>2];o[e+16>>2]=+o[l+12>>2]+(j*i-h*g);o[e+16+4>>2]=f;pH(e+24|0,e+16|0);VDa(b,+o[e+24>>2]);VDa(b,+o[e+24+4>>2]);d=d+1|0}while((d|0)<((c|0)/2|0|0));r=e;return c|0}function Ola(a,b,c,d,e){a=a|0;b=+b;c=+c;d=d|0;e=e|0;var f=0,g=0.0,h=0.0;f=r;r=r+32|0;a=k[a+8>>2]|0;o[f>>2]=b;o[f+4>>2]=c;SG(f+8|0,f);b=+o[f+8>>2]-+o[a+12>>2];g=+o[f+8+4>>2]-+o[a+16>>2];h=+o[a+24>>2];c=+o[a+20>>2];o[f+16>>2]=b*h+g*c;o[f+16+4>>2]=h*g-b*c;pH(f+24|0,f+16|0);k[d>>2]=k[f+24>>2];k[e>>2]=k[f+24+4>>2];r=f;return}function Pla(a,b,c,d,e){a=a|0;b=+b;c=+c;d=d|0;e=e|0;var f=0,g=0.0,h=0.0;f=r;r=r+32|0;a=k[a+8>>2]|0;o[f>>2]=b;o[f+4>>2]=c;SG(f+8|0,f);h=+o[a+24>>2];b=+o[f+8>>2];c=+o[a+20>>2];g=+o[f+8+4>>2];o[f+16>>2]=h*b+c*g;o[f+16+4>>2]=h*g-b*c;pH(f+24|0,f+16|0);k[d>>2]=k[f+24>>2];k[e>>2]=k[f+24+4>>2];r=f;return}function Qla(a,b,c,d,e){a=a|0;b=+b;c=+c;d=d|0;e=e|0;var f=0;f=r;r=r+32|0;a=k[a+8>>2]|0;o[f>>2]=b;o[f+4>>2]=c;SG(f+8|0,f);b=+o[a+72>>2];c=b*(+o[f+8>>2]-+o[a+44>>2])+ +o[a+68>>2];o[f+16>>2]=+o[a+64>>2]-b*(+o[f+8+4>>2]-+o[a+48>>2]);o[f+16+4>>2]=c;pH(f+24|0,f+16|0);k[d>>2]=k[f+24>>2];k[e>>2]=k[f+24+4>>2];r=f;return}function Rla(a,b,c,d,e){a=a|0;b=+b;c=+c;d=d|0;e=e|0;var f=0,g=0.0,h=0.0,i=0.0,j=0.0;f=r;r=r+32|0;a=k[a+8>>2]|0;o[f>>2]=b;o[f+4>>2]=c;SG(f+8|0,f);g=+o[a+24>>2];i=+o[f+8>>2];h=+o[a+20>>2];b=+o[f+8+4>>2];j=+o[a+72>>2];c=j*(+o[a+12>>2]+(g*i-h*b)-+o[a+44>>2])+ +o[a+68>>2];o[f+16>>2]=+o[a+64>>2]-j*(i*h+g*b+ +o[a+16>>2]-+o[a+48>>2]);o[f+16+4>>2]=c;pH(f+24|0,f+16|0);k[d>>2]=k[f+24>>2];k[e>>2]=k[f+24+4>>2];r=f;return}function Sla(a){a=a|0;return (j[(k[a+8>>2]|0)+4>>1]&8)!=0|0}function Tla(a,b){a=a|0;b=b|0;var c=0;a=(k[a+8>>2]|0)+4|0;c=m[a>>1]|0;j[a>>1]=b?c|8:c&65527;return}function Ula(a){a=a|0;return (j[(k[a+8>>2]|0)+4>>1]&32)!=0|0}function Vla(a){a=a|0;return (j[(k[a+8>>2]|0)+4>>1]&2)!=0|0}function Wla(a,b){a=a|0;b=b|0;var c=0;a=k[a+8>>2]|0;c=m[a+4>>1]|0;if(b){j[a+4>>1]=c|4;return}j[a+4>>1]=c&65531;if(c&2|0)return;j[a+4>>1]=c&65531|2;o[a+144>>2]=0.0;return}function Xla(a){a=a|0;return (j[(k[a+8>>2]|0)+4>>1]&4)!=0|0}function Yla(a,b){a=a|0;b=b|0;Bqa(k[a+8>>2]|0,b);return}function Zla(a,b){a=a|0;b=b|0;var c=0;a=k[a+8>>2]|0;c=m[a+4>>1]|0;if(!b){j[a+4>>1]=c&65533;o[a+144>>2]=0.0;k[a+64>>2]=0;k[a+64+4>>2]=0;k[a+64+8>>2]=0;k[a+64+12>>2]=0;k[a+64+16>>2]=0;k[a+64+20>>2]=0;return}if(c&2|0)return;j[a+4>>1]=c|2;o[a+144>>2]=0.0;return}function _la(a,b){a=a|0;b=b|0;Cqa(k[a+8>>2]|0,b);return}function $la(a){a=a|0;return (j[(k[a+8>>2]|0)+4>>1]&16)!=0|0}function ama(a){a=a|0;return k[a+12>>2]|0}function bma(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=r;r=r+16|0;hEa(b,0,0);a=k[(k[a+8>>2]|0)+100>>2]|0;if(!a){r=e;return 1}else d=1;while(1){c=q_(a)|0;if(!c){a=3;break}Rs(b,35,c);nEa(b,-2,d);a=k[a+4>>2]|0;if(!a){a=5;break}else d=d+1|0}if((a|0)==3){b=xf(16)|0;os(b,441928,e);Jc(b|0,96,27)}else if((a|0)==5){r=e;return 1}return 0}function cma(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=r;r=r+16|0;hEa(b,0,0);a=k[(k[a+8>>2]|0)+108>>2]|0;if(!a){r=e;return 1}else d=1;while(1){c=q_(k[a+4>>2]|0)|0;if(!c){a=3;break}SM(b,c);nEa(b,-2,d);a=k[a+12>>2]|0;if(!a){a=5;break}else d=d+1|0}if((a|0)==3){b=xf(16)|0;os(b,442274,e);Jc(b|0,96,27)}else if((a|0)==5){r=e;return 1}return 0}function dma(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;hEa(b,0,0);a=k[(k[a+8>>2]|0)+112>>2]|0;if(!a)return 1;else e=1;while(1){d=a+4|0;c=q_(k[d>>2]|0)|0;if(!c){c=kBb(12)|0;Ama(c,k[d>>2]|0)}else Si[k[(k[c>>2]|0)+8>>2]&1023](c);Rs(b,33,c);Si[k[(k[c>>2]|0)+12>>2]&1023](c);nEa(b,-2,e);a=k[a+12>>2]|0;if(!a)break;else e=e+1|0}return 1}function ema(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+16|0;b=k[(k[a+12>>2]|0)+20>>2]|0;if(!(k[b+102868>>2]&2)){uT(b,k[a+8>>2]|0);p_(k[a+8>>2]|0);k[a+8>>2]=0;Si[k[(k[a>>2]|0)+12>>2]&1023](a);r=d;return}Si[k[(k[a>>2]|0)+8>>2]&1023](a);b=k[a+12>>2]|0;k[d>>2]=a;c=k[b+32>>2]|0;if(c>>>0<(k[b+36>>2]|0)>>>0){k[c>>2]=a;k[b+32>>2]=(k[b+32>>2]|0)+4;r=d;return}else{fma(b+28|0,d);r=d;return}}function fma(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=k[a>>2]|0;c=((k[a+4>>2]|0)-i>>2)+1|0;if(c>>>0>1073741823)xzb(a);d=(k[a+8>>2]|0)-i|0;if(d>>2>>>0<536870911){c=d>>1>>>0>>0?c:d>>1;e=k[a+4>>2]|0;if(!c){h=0;f=0;d=e-i>>2;c=e}else{g=e;d=e-i>>2;j=6}}else{d=k[a+4>>2]|0;c=1073741823;g=d;d=d-i>>2;j=6}if((j|0)==6){h=c;f=kBb(c<<2)|0;c=g}j=f+(d<<2)|0;k[j>>2]=k[b>>2];b=c-i|0;ABb(j+(0-(b>>2)<<2)|0,i|0,b|0)|0;k[a>>2]=j+(0-(b>>2)<<2);k[a+4>>2]=j+4;k[a+8>>2]=f+(h<<2);if(!i)return;CAb(i);return}function gma(a,b){a=a|0;b=b|0;var c=0;zs(b,1,1)|0;c=k[a+16>>2]|0;if(!c){c=kBb(4)|0;k[c>>2]=0;k[a+16>>2]=c;k[(k[a+8>>2]|0)+148>>2]=c}c=k[c>>2]|0;if(c|0)Si[k[(k[c>>2]|0)+4>>2]&1023](c);c=kBb(12)|0;t_(c,b);k[k[a+16>>2]>>2]=c;return 0}function hma(a,b){a=a|0;b=b|0;a=k[a+16>>2]|0;if(a|0){a=k[a>>2]|0;if(a|0){v_(a,b);return 1}}UDa(b);return 1}function ima(a){a=a|0;tI(a);return}function jma(a){a=a|0;tI(a);CAb(a);return}function kma(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;vI(a,b,d);k[a>>2]=31208;i[a+13>>0]=c&1;return}function lma(a,b,c){a=a|0;b=+b;c=+c;var d=0;d=r;r=r+32|0;if(!(i[a+13>>0]|0)){o[d+16>>2]=b;o[d+16+4>>2]=c;a=k[a+8>>2]|0;SG(d+8|0,d+16|0);CS(a,d+8|0);r=d;return}else{a=xf(16)|0;os(a,441702,d);Jc(a|0,96,27)}}function mma(a,b,c){a=a|0;b=+b;c=+c;var d=0;d=r;r=r+32|0;if(!(i[a+13>>0]|0)){o[d+16>>2]=b;o[d+16+4>>2]=c;a=k[a+8>>2]|0;SG(d+8|0,d+16|0);CS(a,d+8|0);r=d;return}else{a=xf(16)|0;os(a,441763,d);Jc(a|0,96,27)}}function nma(a,b){a=a|0;b=b|0;var c=0;a=k[a+8>>2]|0;c=kBb(48)|0;k[c>>2]=19588;k[c+4>>2]=1;o[c+8>>2]=.009999999776482582;k[c+28>>2]=0;k[c+28+4>>2]=0;k[c+28+8>>2]=0;k[c+28+12>>2]=0;j[c+28+16>>1]=0;DS(a,c,b);a=kBb(16)|0;bna(a,c,1);return a|0}function oma(a){a=a|0;return k[(k[a+8>>2]|0)+16>>2]|0}function pma(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;b=k[b+8>>2]|0;if((c|0)>=0)if((k[b+16>>2]|0)>(c|0)){pH(a,(k[b+12>>2]|0)+(c<<3)|0);r=d;return}c=xf(16)|0;os(c,441828,d);Jc(c|0,96,27)}function qma(a){a=a|0;return k[(k[a+8>>2]|0)+12>>2]|0}function rma(a){a=a|0;tI(a);return}function sma(a){a=a|0;tI(a);CAb(a);return}function tma(a,b,c){a=a|0;b=b|0;c=c|0;vI(a,b,c);k[a>>2]=31232;return}function uma(a){a=a|0;return +(+mH(+o[(k[a+8>>2]|0)+8>>2]))}function vma(a,b){a=a|0;b=+b;b=+TG(b);o[(k[a+8>>2]|0)+8>>2]=b;return}function wma(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0;a=k[a+8>>2]|0;d=+mH(+o[a+12>>2]);o[b>>2]=d;d=+mH(+o[a+16>>2]);o[c>>2]=d;return}function xma(a,b,c){a=a|0;b=+b;c=+c;var d=0,e=0;d=r;r=r+16|0;a=(k[a+8>>2]|0)+12|0;o[d+8>>2]=b;o[d+8+4>>2]=c;SG(d,d+8|0);e=k[d+4>>2]|0;k[a>>2]=k[d>>2];k[a+4>>2]=e;r=d;return}function yma(a){a=a|0;var b=0;k[a>>2]=31256;b=k[a+8>>2]|0;if(!b)return;p_(b);k[a+8>>2]=0;return}function zma(a){a=a|0;var b=0;k[a>>2]=31256;b=k[a+8>>2]|0;if(!b){CAb(a);return}p_(b);k[a+8>>2]=0;CAb(a);return}function Ama(a,b){a=a|0;b=b|0;Uj(a);k[a>>2]=31256;k[a+8>>2]=b;o_(b,a);return}function Bma(a){a=a|0;var b=0;b=k[a+8>>2]|0;if(!b)return;p_(b);k[a+8>>2]=0;return}function Cma(a){a=a|0;return (k[a+8>>2]|0)!=0|0}function Dma(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=r;r=r+48|0;zs(b,1,1)|0;f=k[a+8>>2]|0;e=k[f+48>>2]|0;c=k[f+52>>2]|0;Vpa(d+8|0,f+64|0,(k[e+8>>2]|0)+12|0,+o[(k[e+12>>2]|0)+8>>2],(k[c+8>>2]|0)+12|0,+o[(k[c+12>>2]|0)+8>>2]);a=k[(k[a+8>>2]|0)+124>>2]|0;if((a|0)<=0){f=a<<1;r=d;return f|0}c=0;do{pH(d,d+8+8+(c<<3)|0);VDa(b,+o[d>>2]);VDa(b,+o[d+4>>2]);c=c+1|0}while((c|0)!=(a|0));f=a<<1;r=d;return f|0}function Ema(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=r;r=r+32|0;zs(b,1,1)|0;e=k[a+8>>2]|0;d=k[e+48>>2]|0;a=k[e+52>>2]|0;Vpa(c,e+64|0,(k[d+8>>2]|0)+12|0,+o[(k[d+12>>2]|0)+8>>2],(k[a+8>>2]|0)+12|0,+o[(k[a+12>>2]|0)+8>>2]);VDa(b,+o[c>>2]);VDa(b,+o[c+4>>2]);r=c;return 2}function Fma(a){a=a|0;return +(+o[(k[a+8>>2]|0)+136>>2])}function Gma(a){a=a|0;return +(+o[(k[a+8>>2]|0)+140>>2])}function Hma(a){a=a|0;return (k[(k[a+8>>2]|0)+4>>2]&4|0)!=0|0}function Ima(a){a=a|0;return (k[(k[a+8>>2]|0)+4>>2]&2|0)!=0|0}function Jma(a,b){a=a|0;b=+b;o[(k[a+8>>2]|0)+136>>2]=b;return}function Kma(a,b){a=a|0;b=+b;o[(k[a+8>>2]|0)+140>>2]=b;return}function Lma(a,b){a=a|0;b=b|0;var c=0;a=(k[a+8>>2]|0)+4|0;c=k[a>>2]|0;k[a>>2]=b?c|4:c&-5;return}function Mma(a){a=a|0;var b=0.0;a=k[a+8>>2]|0;b=+X(+(+o[(k[a+48>>2]|0)+16>>2]*+o[(k[a+52>>2]|0)+16>>2]));o[a+136>>2]=b;return}function Nma(a){a=a|0;var b=0.0,c=0.0;a=k[a+8>>2]|0;c=+o[(k[a+48>>2]|0)+20>>2];b=+o[(k[a+52>>2]|0)+20>>2];o[a+140>>2]=c>b?c:b;return}function Oma(a,b){a=a|0;b=+b;o[(k[a+8>>2]|0)+144>>2]=b;return}function Pma(a){a=a|0;return +(+o[(k[a+8>>2]|0)+144>>2])}function Qma(a,b,c){a=a|0;b=b|0;c=c|0;a=k[a+8>>2]|0;k[b>>2]=k[a+56>>2];k[c>>2]=k[a+60>>2];return}function Rma(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=r;r=r+16|0;e=q_(k[(k[a+8>>2]|0)+48>>2]|0)|0;k[b>>2]=e;a=q_(k[(k[a+8>>2]|0)+52>>2]|0)|0;k[c>>2]=a;if((a|0)==0|(k[b>>2]|0)==0){e=xf(16)|0;os(e,441928,d);Jc(e|0,96,27)}else{r=d;return}}function Sma(a){a=a|0;uG(a);return}function Tma(a){a=a|0;uG(a);CAb(a);return}function Uma(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=+d;e=+e;f=+f;g=+g;h=h|0;var j=0;j=r;r=r+80|0;xG(a,b,c);k[a>>2]=31280;k[a+28>>2]=0;k[j+32>>2]=0;k[j+32+4>>2]=0;k[j+32+8>>2]=0;k[j+32+12>>2]=0;i[j+32+16>>0]=0;k[j+32>>2]=3;k[j+32+20>>2]=0;k[j+32+20+4>>2]=0;k[j+32+20+8>>2]=0;k[j+32+20+12>>2]=0;o[j+32+36>>2]=1.0;o[j+32+40>>2]=0.0;o[j+32+44>>2]=0.0;b=k[b+8>>2]|0;c=k[c+8>>2]|0;o[j+16>>2]=d;o[j+16+4>>2]=e;SG(j+24|0,j+16|0);o[j>>2]=f;o[j+4>>2]=g;SG(j+8|0,j);Jra(j+32|0,b,c,j+24|0,j+8|0);i[j+32+16>>0]=h&1;h=FG(a,j+32|0)|0;k[a+28>>2]=h;r=j;return}function Vma(a,b){a=a|0;b=+b;a=k[a+28>>2]|0;b=+TG(b);o[a+104>>2]=b;return}function Wma(a){a=a|0;return +(+mH(+o[(k[a+28>>2]|0)+104>>2]))}function Xma(a,b){a=a|0;b=+b;o[(k[a+28>>2]|0)+68>>2]=b;return}function Yma(a){a=a|0;return +(+o[(k[a+28>>2]|0)+68>>2])}function Zma(a,b){a=a|0;b=+b;o[(k[a+28>>2]|0)+72>>2]=b;return}function _ma(a){a=a|0;return +(+o[(k[a+28>>2]|0)+72>>2])}function $ma(a){a=a|0;tI(a);return}function ana(a){a=a|0;tI(a);CAb(a);return}function bna(a,b,c){a=a|0;b=b|0;c=c|0;vI(a,b,c);k[a>>2]=31304;return}function cna(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;a=k[a+8>>2]|0;pH(c+8|0,a+12|0);pH(c,a+20|0);VDa(b,+o[c+8>>2]);VDa(b,+o[c+8+4>>2]);VDa(b,+o[c>>2]);VDa(b,+o[c+4>>2]);r=c;return 4}function dna(a){a=a|0;var b=0,c=0;k[a>>2]=31328;b=k[a+12>>2]|0;if(!b)return;c=k[b>>2]|0;if(c){Si[k[(k[c>>2]|0)+4>>2]&1023](c);b=k[a+12>>2]|0;if(!b)return}CAb(b);return}function ena(a){a=a|0;var b=0,c=0;k[a>>2]=31328;b=k[a+12>>2]|0;if(!b){CAb(a);return}c=k[b>>2]|0;if(c){Si[k[(k[c>>2]|0)+4>>2]&1023](c);b=k[a+12>>2]|0;if(!b){CAb(a);return}}CAb(b);CAb(a);return}function fna(a,b,c,d){a=a|0;b=b|0;c=c|0;d=+d;var e=0,f=0;e=r;r=r+32|0;Uj(a);k[a>>2]=31328;k[a+8>>2]=b;k[a+16>>2]=0;f=kBb(4)|0;k[a+12>>2]=f;k[f>>2]=0;j[e+22>>1]=1;j[e+24>>1]=-1;j[e+26>>1]=0;o[e+8>>2]=.20000000298023224;o[e+12>>2]=0.0;i[e+20>>0]=0;k[e>>2]=k[c+8>>2];k[e+4>>2]=f;o[e+16>>2]=d;c=wqa(k[b+8>>2]|0,e)|0;k[a+16>>2]=c;Si[k[(k[a>>2]|0)+8>>2]&1023](a);o_(k[a+16>>2]|0,a);r=e;return}function gna(a){a=a|0;var b=0;b=r;r=r+16|0;vI(b,k[(k[a+16>>2]|0)+12>>2]|0,0);a=wI(b)|0;tI(b);r=b;return a|0}function hna(a,b){a=a|0;b=+b;o[(k[a+16>>2]|0)+16>>2]=b;return}function ina(a,b){a=a|0;b=+b;o[(k[a+16>>2]|0)+20>>2]=b;return}function jna(a,b){a=a|0;b=+b;a=k[a+16>>2]|0;nT(b>=0.0&((o[t>>2]=b,k[t>>2]|0)&2139095040|0)!=2139095040,442059);o[a>>2]=b;return}function kna(a,b){a=a|0;b=b|0;ara(k[a+16>>2]|0,b);return}function lna(a){a=a|0;return +(+o[(k[a+16>>2]|0)+16>>2])}function mna(a){a=a|0;return +(+o[(k[a+16>>2]|0)+20>>2])}function nna(a){a=a|0;return +(+o[k[a+16>>2]>>2])}function ona(a){a=a|0;return (i[(k[a+16>>2]|0)+38>>0]|0)!=0|0}function pna(a){a=a|0;return k[a+8>>2]|0}function qna(a){a=a|0;var b=0;a=(k[a+16>>2]|0)+12|0;if(!(k[a>>2]|0)){a=0;return a|0}b=kBb(16)|0;vI(b,k[a>>2]|0,0);a=b;return a|0}function rna(a){a=a|0;return (k[a+16>>2]|0)!=0|0}function sna(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;j[c>>1]=k[b>>2];j[c+2>>1]=k[b+4>>2];j[c+4>>1]=k[b+8>>2];$qa(k[a+16>>2]|0,c);r=c;return}function tna(a,b){a=a|0;b=b|0;var c=0,d=0;d=k[a+16>>2]|0;c=j[d+34>>1]|0;a=j[d+36>>1]|0;k[b>>2]=m[d+32>>1];k[b+4>>2]=c&65535;k[b+8>>2]=a<<16>>16;return}function una(a,b){a=a|0;b=b|0;var c=0,d=0;c=r;r=r+16|0;d=(k[a+16>>2]|0)+32|0;j[c>>1]=j[d>>1]|0;j[c+2>>1]=j[d+2>>1]|0;j[c+4>>1]=j[d+4>>1]|0;b=vna(0,b)|0;j[c>>1]=b;$qa(k[a+16>>2]|0,c);r=c;return 0}function vna(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=r;r=r+16|0;d=xDa(b)|0;if((d|0)<1){g=0;r=f;return g|0}else{a=0;e=1}while(1){c=(MDa(b,e)|0)+-1|0;if(c>>>0>15){g=5;break}a=1<>2]=156212;Jc(g|0,9016,680)}g=a&65535;r=f;return g|0}function wna(a,b){a=a|0;b=b|0;var c=0,d=0;c=r;r=r+16|0;d=(k[a+16>>2]|0)+32|0;j[c>>1]=j[d>>1]|0;j[c+2>>1]=j[d+2>>1]|0;j[c+4>>1]=j[d+4>>1]|0;b=((vna(0,b)|0)&65535^65535)&65535;j[c+2>>1]=b;$qa(k[a+16>>2]|0,c);r=c;return 0}function xna(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;a=k[a+16>>2]|0;k[c>>2]=m[a+32>>1]|m[a+32+2>>1]<<16;j[c+4>>1]=b;$qa(a,c);r=c;return}function yna(a){a=a|0;return j[(k[a+16>>2]|0)+36>>1]|0}function zna(a,b){a=a|0;b=b|0;a=m[(k[a+16>>2]|0)+32>>1]|0;if(a&1|0)WDa(b,1);if(a&2|0)WDa(b,2);if(a&4|0)WDa(b,3);if(a&8|0)WDa(b,4);if(a&16|0)WDa(b,5);if(a&32|0)WDa(b,6);if(a&64|0)WDa(b,7);if(a&128|0)WDa(b,8);if(a&256|0)WDa(b,9);if(a&512|0)WDa(b,10);if(a&1024|0)WDa(b,11);if(a&2048|0)WDa(b,12);if(a&4096|0)WDa(b,13);if(a&8192|0)WDa(b,14);if(a&16384|0)WDa(b,15);if(!(a&32768)){b=Pf(a|0)|0;return b|0}WDa(b,16);b=Pf(a|0)|0;return b|0}function Ana(a,b){a=a|0;b=b|0;a=(m[(k[a+16>>2]|0)+34>>1]|0)^65535;if(a&1|0)WDa(b,1);if(a&2|0)WDa(b,2);if(a&4|0)WDa(b,3);if(a&8|0)WDa(b,4);if(a&16|0)WDa(b,5);if(a&32|0)WDa(b,6);if(a&64|0)WDa(b,7);if(a&128|0)WDa(b,8);if(a&256|0)WDa(b,9);if(a&512|0)WDa(b,10);if(a&1024|0)WDa(b,11);if(a&2048|0)WDa(b,12);if(a&4096|0)WDa(b,13);if(a&8192|0)WDa(b,14);if(a&16384|0)WDa(b,15);if(!(a&32768)){b=Pf(a|0)|0;return b|0}WDa(b,16);b=Pf(a|0)|0;return b|0}function Bna(a,b){a=a|0;b=b|0;var c=0;zs(b,1,1)|0;c=k[k[a+12>>2]>>2]|0;if(c|0)Si[k[(k[c>>2]|0)+4>>2]&1023](c);c=kBb(12)|0;t_(c,b);k[k[a+12>>2]>>2]=c;return 0}function Cna(a,b){a=a|0;b=b|0;a=k[k[a+12>>2]>>2]|0;if(!a){UDa(b);return 1}else{v_(a,b);return 1}return 0}function Dna(a,b,c){a=a|0;b=+b;c=+c;var d=0,e=0;d=r;r=r+16|0;a=k[a+16>>2]|0;o[d>>2]=b;o[d+4>>2]=c;SG(d+8|0,d);e=k[a+12>>2]|0;a=Ri[k[(k[e>>2]|0)+16>>2]&255](e,(k[a+8>>2]|0)+12|0,d+8|0)|0;r=d;return a|0}function Ena(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0.0,g=0.0,h=0.0,i=0.0,j=0.0;c=r;r=r+32|0;j=+TG(+lHa(b,1));i=+TG(+lHa(b,2));h=+TG(+lHa(b,3));g=+TG(+lHa(b,4));f=+lHa(b,5);d=~~+mHa(b,6,1.0)+-1|0;o[c+12>>2]=j;o[c+12+4>>2]=i;o[c+12+8>>2]=h;o[c+12+12>>2]=g;o[c+12+16>>2]=f;a=k[a+16>>2]|0;e=k[a+12>>2]|0;if(!(Ni[k[(k[e>>2]|0)+20>>2]&127](e,c,c+12|0,(k[a+8>>2]|0)+12|0,d)|0)){e=0;r=c;return e|0}VDa(b,+o[c>>2]);VDa(b,+o[c+4>>2]);VDa(b,+o[c+8>>2]);e=3;r=c;return e|0}function Fna(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=r;r=r+32|0;d=~~+mHa(b,1,1.0);c=k[a+16>>2]|0;if((d|0)>0)a=(k[c+28>>2]|0)>=(d|0);else a=0;nT(a,442160);d=(k[c+24>>2]|0)+((d+-1|0)*28|0)|0;k[e+16>>2]=k[d>>2];k[e+16+4>>2]=k[d+4>>2];k[e+16+8>>2]=k[d+8>>2];k[e+16+12>>2]=k[d+12>>2];qH(e,e+16|0);k[e+16>>2]=k[e>>2];k[e+16+4>>2]=k[e+4>>2];k[e+16+8>>2]=k[e+8>>2];k[e+16+12>>2]=k[e+12>>2];VDa(b,+o[e+16>>2]);VDa(b,+o[e+16+4>>2]);VDa(b,+o[e+16+8>>2]);VDa(b,+o[e+16+12>>2]);r=e;return 4}function Gna(a,b){a=a|0;b=b|0;var c=0,d=0;c=r;r=r+32|0;a=k[a+16>>2]|0;d=k[a+12>>2]|0;Wi[k[(k[d>>2]|0)+28>>2]&31](d,c+8|0,+o[a>>2]);pH(c,c+8+4|0);VDa(b,+o[c>>2]);VDa(b,+o[c+4>>2]);VDa(b,+o[c+8>>2]);VDa(b,+o[c+8+12>>2]);r=c;return 4}function Hna(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+16|0;c=k[a+8>>2]|0;if(!(k[(k[(k[c+12>>2]|0)+20>>2]|0)+102868>>2]&2)){if(!b){b=k[a+16>>2]|0;if(b|0)xqa(k[c+8>>2]|0,b)}p_(k[a+16>>2]|0);k[a+16>>2]=0;Si[k[(k[a>>2]|0)+12>>2]&1023](a);r=d;return}else{Si[k[(k[a>>2]|0)+8>>2]&1023](a);b=k[(k[a+8>>2]|0)+12>>2]|0;k[d>>2]=a;c=k[b+44>>2]|0;if(c>>>0<(k[b+48>>2]|0)>>>0){k[c>>2]=a;k[b+44>>2]=(k[b+44>>2]|0)+4;r=d;return}else{Ina(b+40|0,d);r=d;return}}}function Ina(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=k[a>>2]|0;c=((k[a+4>>2]|0)-i>>2)+1|0;if(c>>>0>1073741823)xzb(a);d=(k[a+8>>2]|0)-i|0;if(d>>2>>>0<536870911){c=d>>1>>>0>>0?c:d>>1;e=k[a+4>>2]|0;if(!c){h=0;f=0;d=e-i>>2;c=e}else{g=e;d=e-i>>2;j=6}}else{d=k[a+4>>2]|0;c=1073741823;g=d;d=d-i>>2;j=6}if((j|0)==6){h=c;f=kBb(c<<2)|0;c=g}j=f+(d<<2)|0;k[j>>2]=k[b>>2];b=c-i|0;ABb(j+(0-(b>>2)<<2)|0,i|0,b|0)|0;k[a>>2]=j+(0-(b>>2)<<2);k[a+4>>2]=j+4;k[a+8>>2]=f+(h<<2);if(!i)return;CAb(i);return}function Jna(a){a=a|0;uG(a);return}function Kna(a){a=a|0;uG(a);CAb(a);return}function Lna(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=+d;e=+e;f=+f;g=+g;h=h|0;var j=0,l=0;j=r;r=r+80|0;xG(a,b,c);k[a>>2]=31352;k[a+28>>2]=0;k[j+32>>2]=0;k[j+32+4>>2]=0;k[j+32+8>>2]=0;k[j+32+12>>2]=0;i[j+32+16>>0]=0;k[j+32>>2]=9;l=j+32+20|0;k[l>>2]=0;k[l+4>>2]=0;k[l+8>>2]=0;k[l+12>>2]=0;k[l+16>>2]=0;k[l+20>>2]=0;l=k[b+8>>2]|0;b=k[c+8>>2]|0;o[j+16>>2]=d;o[j+16+4>>2]=e;SG(j+24|0,j+16|0);Ura(j+32|0,l,b,j+24|0);c=k[c+8>>2]|0;o[j>>2]=f;o[j+4>>2]=g;SG(j+8|0,j);e=+o[j+8>>2]-+o[c+12>>2];f=+o[j+8+4>>2]-+o[c+16>>2];d=+o[c+24>>2];g=+o[c+20>>2];o[j+32+28>>2]=e*d+f*g;o[j+32+32>>2]=d*f-e*g;i[j+32+16>>0]=h&1;h=FG(a,j+32|0)|0;k[a+28>>2]=h;r=j;return}function Mna(a,b){a=a|0;b=+b;a=k[a+28>>2]|0;Wra(a,+TG(b));return}function Nna(a){a=a|0;return +(+mH(+Xra(k[a+28>>2]|0)))}function Ona(a,b){a=a|0;b=+b;a=k[a+28>>2]|0;Yra(a,+TG(+TG(b)));return}function Pna(a){a=a|0;return +(+mH(+mH(+Zra(k[a+28>>2]|0))))}function Qna(a){a=a|0;uG(a);return}function Rna(a){a=a|0;uG(a);CAb(a);return}function Sna(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=+d;e=e|0;var f=0;f=r;r=r+32|0;xG(a,k[b+20>>2]|0,k[c+20>>2]|0);k[a>>2]=31376;k[a+28>>2]=0;k[f>>2]=0;k[f+4>>2]=0;k[f+8>>2]=0;k[f+12>>2]=0;k[f>>2]=6;k[f+20>>2]=k[b+24>>2];k[f+24>>2]=k[c+24>>2];k[f+8>>2]=k[(k[b+20>>2]|0)+8>>2];k[f+12>>2]=k[(k[c+20>>2]|0)+8>>2];o[f+28>>2]=d;i[f+16>>0]=e&1;c=FG(a,f)|0;k[a+28>>2]=c;r=f;return}function Tna(a,b){a=a|0;b=+b;isa(k[a+28>>2]|0,b);return}function Una(a){a=a|0;return +(+jsa(k[a+28>>2]|0))}function Vna(a){a=a|0;var b=0;b=r;r=r+16|0;a=k[(k[a+28>>2]|0)+68>>2]|0;if(!a){a=0;r=b;return a|0}a=q_(a)|0;if(!a){a=xf(16)|0;os(a,442274,b);Jc(a|0,96,27)}r=b;return a|0}function Wna(a){a=a|0;var b=0;b=r;r=r+16|0;a=k[(k[a+28>>2]|0)+72>>2]|0;if(!a){a=0;r=b;return a|0}a=q_(a)|0;if(!a){a=xf(16)|0;os(a,442274,b);Jc(a|0,96,27)}r=b;return a|0}function Xna(a){a=a|0;uG(a);return}function Yna(a){a=a|0;uG(a);CAb(a);return}function Zna(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+48|0;xG(a,b,c);k[a>>2]=31400;k[a+28>>2]=0;k[d>>2]=0;k[d+4>>2]=0;k[d+8>>2]=0;k[d+12>>2]=0;i[d+16>>0]=0;k[d>>2]=11;o[d+20>>2]=0.0;o[d+24>>2]=0.0;o[d+28>>2]=0.0;o[d+32>>2]=1.0;o[d+36>>2]=1.0;o[d+40>>2]=.30000001192092896;uU(d,k[b+8>>2]|0,k[c+8>>2]|0);c=FG(a,d)|0;k[a+28>>2]=c;r=d;return}function _na(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=+d;e=e|0;var f=0;f=r;r=r+48|0;xG(a,b,c);k[a>>2]=31400;k[a+28>>2]=0;k[f>>2]=0;k[f+4>>2]=0;k[f+8>>2]=0;k[f+12>>2]=0;i[f+16>>0]=0;k[f>>2]=11;o[f+20>>2]=0.0;o[f+24>>2]=0.0;o[f+28>>2]=0.0;o[f+32>>2]=1.0;o[f+36>>2]=1.0;o[f+40>>2]=.30000001192092896;uU(f,k[b+8>>2]|0,k[c+8>>2]|0);o[f+40>>2]=d;i[f+16>>0]=e&1;e=FG(a,f)|0;k[a+28>>2]=e;r=f;return}function $na(a,b,c){a=a|0;b=+b;c=+c;var d=0;d=r;r=r+16|0;a=k[a+28>>2]|0;o[d>>2]=b;o[d+4>>2]=c;SG(d+8|0,d);CU(a,d+8|0);r=d;return}function aoa(a,b){a=a|0;b=b|0;var c=0;c=DU(k[a+28>>2]|0)|0;VDa(b,+mH(+o[c>>2]));a=(DU(k[a+28>>2]|0)|0)+4|0;VDa(b,+mH(+o[a>>2]));return 2}function boa(a,b){a=a|0;b=+b;EU(k[a+28>>2]|0,b);return}function coa(a){a=a|0;return +(+FU(k[a+28>>2]|0))}function doa(a,b){a=a|0;b=+b;a=k[a+28>>2]|0;wU(a,+TG(b));return}function eoa(a){a=a|0;return +(+mH(+xU(k[a+28>>2]|0)))}function foa(a,b){a=a|0;b=+b;a=k[a+28>>2]|0;yU(a,+TG(+TG(b)));return}function goa(a){a=a|0;return +(+mH(+mH(+zU(k[a+28>>2]|0))))}function hoa(a,b){a=a|0;b=+b;AU(k[a+28>>2]|0,b);return}function ioa(a){a=a|0;return +(+BU(k[a+28>>2]|0))}function joa(a){a=a|0;uG(a);return}function koa(a){a=a|0;uG(a);CAb(a);return}function loa(a,b,c,d){a=a|0;b=b|0;c=+c;d=+d;var e=0,f=0;e=r;r=r+64|0;wG(a,b);k[a>>2]=31424;k[a+28>>2]=0;k[e+16>>2]=0;k[e+16+4>>2]=0;k[e+16+8>>2]=0;k[e+16+12>>2]=0;i[e+16+16>>0]=0;k[e+16>>2]=5;o[e+16+20>>2]=0.0;o[e+16+24>>2]=0.0;o[e+16+28>>2]=0.0;o[e+16+32>>2]=5.0;o[e+16+36>>2]=.699999988079071;f=XJ(k[b+12>>2]|0)|0;k[e+16+8>>2]=f;b=k[b+8>>2]|0;k[e+16+12>>2]=b;o[e+16+28>>2]=+o[b+116>>2]*1.0e3;o[e+8>>2]=c;o[e+8+4>>2]=d;SG(e,e+8|0);b=k[e+4>>2]|0;k[e+16+20>>2]=k[e>>2];k[e+16+20+4>>2]=b;b=FG(a,e+16|0)|0;k[a+28>>2]=b;r=e;return}function moa(a,b,c){a=a|0;b=+b;c=+c;var d=0;d=r;r=r+16|0;a=k[a+28>>2]|0;o[d>>2]=b;o[d+4>>2]=c;SG(d+8|0,d);RU(a,d+8|0);r=d;return}function noa(a,b){a=a|0;b=b|0;var c=0;c=SU(k[a+28>>2]|0)|0;VDa(b,+mH(+o[c>>2]));a=(SU(k[a+28>>2]|0)|0)+4|0;VDa(b,+mH(+o[a>>2]));return 2}function ooa(a,b){a=a|0;b=+b;a=k[a+28>>2]|0;TU(a,+TG(b));return}function poa(a){a=a|0;return +(+mH(+UU(k[a+28>>2]|0)))}function qoa(a,b){a=a|0;b=+b;VU(k[a+28>>2]|0,b);return}function roa(a){a=a|0;return +(+WU(k[a+28>>2]|0))}function soa(a,b){a=a|0;b=+b;XU(k[a+28>>2]|0,b);return}function toa(a){a=a|0;return +(+YU(k[a+28>>2]|0))}function uoa(a){a=a|0;var b=0;k[a>>2]=31448;b=k[a+32>>2]|0;if(b|0)oBb(b);_qb(a+12|0);b=k[a+8>>2]|0;if(!b)return;Si[k[(k[b>>2]|0)+12>>2]&1023](b);return}function voa(a){a=a|0;var b=0;k[a>>2]=31448;b=k[a+32>>2]|0;if(b|0)oBb(b);_qb(a+12|0);b=k[a+8>>2]|0;if(!b){CAb(a);return}Si[k[(k[b>>2]|0)+12>>2]&1023](b);CAb(a);return}function woa(a){a=a|0;return k[a+24>>2]|0}function xoa(a){a=a|0;return k[a+32>>2]|0}function yoa(a){a=a|0;return (i[a+36>>0]|0)!=0|0}function zoa(a){a=a|0;return k[a+28>>2]|0}function Aoa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Uj(a);k[a>>2]=31448;k[a+8>>2]=b;if(b|0)Si[k[(k[b>>2]|0)+8>>2]&1023](b);Vqb(a+12|0,c);k[a+24>>2]=d;k[a+28>>2]=44100;k[a+32>>2]=0;i[a+36>>0]=0;c=mBb((d|0)>-1?d:-1)|0;k[a+32>>2]=c;return}function Boa(a){a=a|0;var b=0;k[a>>2]=31520;b=k[a+40>>2]|0;if(b|0)$Pa(b);uoa(a);return}function Coa(a){a=a|0;var b=0;k[a>>2]=31520;b=k[a+40>>2]|0;if(b|0)$Pa(b);uoa(a);CAb(a);return}function Doa(a){a=a|0;var b=0;b=kBb(112)|0;Eoa(b,k[a+8>>2]|0,a+12|0,k[a+24>>2]|0);return b|0}function Eoa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+16|0;Aoa(a,b,c,d);k[a>>2]=31520;k[a+40>>2]=0;p[a+104>>3]=-2.0;k[a+44>>2]=3;k[a+48>>2]=2;k[a+52>>2]=16;k[a+56>>2]=k[a+28>>2];k[a+60>>2]=1;k[a+64>>2]=128;k[a+68>>2]=32;k[a+72>>2]=0;k[a+72+4>>2]=0;k[a+72+8>>2]=0;k[a+72+12>>2]=0;k[a+72+16>>2]=0;k[a+72+20>>2]=0;k[a+96>>2]=-1;eQa(a+44|0);d=Gi[k[(k[b>>2]|0)+16>>2]&2047](b)|0;d=_Pa(d,Gi[k[(k[b>>2]|0)+20>>2]&2047](b)|0)|0;k[a+40>>2]=d;if(!d){a=xf(16)|0;os(a,442462,e);Jc(a|0,96,27)}else{cQa(d,128);r=e;return}}function Foa(a){a=a|0;var b=0;b=aQa(k[a+40>>2]|0,k[a+32>>2]|0,k[a+24>>2]|0)|0;if(b|0)return b|0;i[a+36>>0]=1;return b|0}function Goa(a,b){a=a|0;b=+b;dQa(k[a+40>>2]|0,~~(b*1.0e3));return 1}function Hoa(a){a=a|0;var b=0,c=0;$Pa(k[a+40>>2]|0);c=k[a+8>>2]|0;c=Gi[k[(k[c>>2]|0)+16>>2]&2047](c)|0;b=k[a+8>>2]|0;b=_Pa(c,Gi[k[(k[b>>2]|0)+20>>2]&2047](b)|0)|0;k[a+40>>2]=b;cQa(b,128);i[a+36>>0]=0;return (k[a+40>>2]|0)!=0|0}function Ioa(a){a=a|0;return 1}function Joa(a){a=a|0;return 2}function Koa(a){a=a|0;return 16}function Loa(a){a=a|0;var b=0.0,c=0;b=+p[a+104>>3];if(!(b==-2.0))return +b;c=bQa(k[a+40>>2]|0)|0;if((c|0)<0)b=-1.0;else b=+(c|0)/1.0e3;p[a+104>>3]=b;return +b}function Moa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(!(i[621280]|0))if(Ce(621280)|0){Wqb(654404,442496,3);Wqb(654416,442500,3);Wqb(654428,442504,3);Wqb(654440,442508,3);Wqb(654452,442512,3);Wqb(654464,442516,3);Wqb(654476,442520,3);Wqb(654488,442524,3);Wqb(654500,442528,2);Wqb(654512,442531,3);Wqb(654524,442535,3);Wqb(654536,442539,3);Wqb(654548,442543,3);Wqb(654560,519345,3);Wqb(654572,442547,3);Wqb(654584,442551,3);Wqb(654596,442555,3);Wqb(654608,442559,3);Wqb(654620,442563,3);Wqb(654632,442567,3);Wqb(654644,442571,3);Wqb(654656,442575,3);Wqb(654668,442579,3);Wqb(654680,442583,2);Wqb(654692,1279174,0);pd(621280)}e=i[a>>0]|0;g=(e&1)==0?(e&255)>>>1:k[a+4>>2]|0;e=(e&1)==0?a+1|0:k[a+8>>2]|0;f=0;while(1){c=654404+(f*12|0)|0;a=i[c>>0]|0;if(!(a&1))b=(a&255)>>>1;else b=k[654404+(f*12|0)+4>>2]|0;if(!b){a=0;b=15;break}if(!(a&1)){d=(a&255)>>>1;b=c+1|0}else{d=k[654404+(f*12|0)+4>>2]|0;b=k[654404+(f*12|0)+8>>2]|0}a=g>>>0>>0;if(!(Emb(b,e,a?g:d)|0))if(d>>>0>=g>>>0&(a^1)){a=1;b=15;break}f=f+1|0}if((b|0)==15)return a|0;return 0}function Noa(a){a=a|0;k[a>>2]=31592;Ygb(k[a+4>>2]|0);return}function Ooa(a){a=a|0;k[a>>2]=31592;Ygb(k[a+4>>2]|0);CAb(a);return}function Poa(a){a=a|0;return}function Qoa(a){a=a|0;return}function Roa(a){a=a|0;k[a>>2]=31616;klb(k[a+4>>2]|0);return}function Soa(a){a=a|0;k[a>>2]=31616;klb(k[a+4>>2]|0);CAb(a);return}function Toa(a){a=a|0;llb(k[a+4>>2]|0)|0;return}function Uoa(a){a=a|0;mlb(k[a+4>>2]|0)|0;return}function Voa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=k[a+4>>2]|0;a=k[b+4>>2]|0;if((c|0)<0){c=olb(d,a)|0;c=(c|0)==0;return c|0}else{c=nlb(d,a,c)|0;c=(c|0)==0;return c|0}return 0}function Woa(a){a=a|0;var b=0;k[a>>2]=31592;b=Wgb()|0;k[a+4>>2]=b;return}function Xoa(){var a=0,b=0;a=kBb(8)|0;k[a>>2]=31592;b=Wgb()|0;k[a+4>>2]=b;return a|0}function Yoa(){var a=0,b=0;a=kBb(8)|0;k[a>>2]=31616;b=jlb()|0;k[a+4>>2]=b;return a|0}function Zoa(a){a=a|0;var b=0;b=kBb(24)|0;Xva(b,a);return b|0}function _oa(a){a=a|0;var b=0,c=0,d=0;k[a>>2]=31644;if(k[a+36>>2]|0){b=k[a+32>>2]|0;do{c=k[(k[(k[a+20>>2]|0)+(b>>>10<<2)>>2]|0)+((b&1023)<<2)>>2]|0;Si[k[(k[c>>2]|0)+12>>2]&1023](c);c=(k[a+36>>2]|0)+-1|0;k[a+36>>2]=c;b=(k[a+32>>2]|0)+1|0;k[a+32>>2]=b;if(b>>>0>2047){CAb(k[k[a+20>>2]>>2]|0);k[a+20>>2]=(k[a+20>>2]|0)+4;b=(k[a+32>>2]|0)+-1024|0;k[a+32>>2]=b;c=k[a+36>>2]|0}}while((c|0)!=0)}b=k[a+8>>2]|0;if(b|0)Si[k[(k[b>>2]|0)+4>>2]&1023](b);b=k[a+12>>2]|0;if(b|0)Si[k[(k[b>>2]|0)+4>>2]&1023](b);if(!(i[a+40>>0]|0)){_qb(a+44|0);$oa(a+16|0);return}d=apa(654704,a+44|0)|0;if((d|0)==654708){_qb(a+44|0);$oa(a+16|0);return}b=k[d+4>>2]|0;if(!b){c=d;while(1){b=k[c+8>>2]|0;if((k[b>>2]|0)==(c|0))break;else c=b}}else while(1){c=k[b>>2]|0;if(!c)break;else b=c}if((k[163676]|0)==(d|0))k[163676]=b;k[163678]=(k[163678]|0)+-1;Jj(k[163677]|0,d);_qb(d+16|0);CAb(d);_qb(a+44|0);$oa(a+16|0);return}function $oa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=k[a+4>>2]|0;d=k[a+16>>2]|0;g=k[a+8>>2]|0;if((g|0)==(c|0)){e=0;f=a+20|0;b=0}else{e=(k[a+20>>2]|0)+d|0;e=(k[c+(e>>>10<<2)>>2]|0)+((e&1023)<<2)|0;f=a+20|0;b=(k[c+(d>>>10<<2)>>2]|0)+((d&1023)<<2)|0}d=c+(d>>>10<<2)|0;a:while(1){do{if((b|0)==(e|0))break a;b=b+4|0}while((b-(k[d>>2]|0)|0)!=4096);b=d+4|0;d=b;b=k[b>>2]|0}k[f>>2]=0;if(g-c>>2>>>0>2)do{CAb(k[c>>2]|0);c=(k[a+4>>2]|0)+4|0;k[a+4>>2]=c;b=(k[a+8>>2]|0)-c>>2}while(b>>>0>2);else b=g-c>>2;switch(b|0){case 1:{k[a+16>>2]=512;break}case 2:{k[a+16>>2]=1024;break}default:{}}b=k[a+4>>2]|0;c=k[a+8>>2]|0;if((b|0)!=(c|0)){do{CAb(k[b>>2]|0);b=b+4|0}while((b|0)!=(c|0));b=k[a+4>>2]|0;c=k[a+8>>2]|0;if((c|0)!=(b|0))k[a+8>>2]=c+(~((c+-4-b|0)>>>2)<<2)}b=k[a>>2]|0;if(!b)return;CAb(b);return}function apa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=k[a+4>>2]|0;if(c|0){d=i[b>>0]|0;e=(d&1)==0?(d&255)>>>1:k[b+4>>2]|0;d=(d&1)==0?b+1|0:k[b+8>>2]|0;b=a+4|0;a:do{while(1){f=c+16|0;h=i[f>>0]|0;g=(h&1)==0?(h&255)>>>1:k[c+20>>2]|0;f=Emb((h&1)==0?f+1|0:k[c+24>>2]|0,d,e>>>0>>0?e:g)|0;if((((f|0)==0?(g>>>0>>0?-2147483648:0):f)|0)>=0){b=c;break}c=k[c+4>>2]|0;if(!c)break a}c=k[b>>2]|0}while((c|0)!=0);if((b|0)!=(a+4|0)){h=b+16|0;f=i[h>>0]|0;g=(f&1)==0?(f&255)>>>1:k[b+20>>2]|0;h=Emb(d,(f&1)==0?h+1|0:k[b+24>>2]|0,g>>>0>>0?g:e)|0;if((((h|0)==0?(e>>>0>>0?-2147483648:0):h)|0)>=0){h=b;return h|0}}}h=a+4|0;return h|0}function bpa(a){a=a|0;_oa(a);CAb(a);return}function cpa(a){a=a|0;var b=0;b=r;r=r+16|0;dP(b);if(i[a+40>>0]|0)fP(b,k[163679]|0);Sj(a);eP(b);r=b;return}function dpa(a){a=a|0;var b=0;b=r;r=r+16|0;dP(b);if(i[a+40>>0]|0)fP(b,k[163679]|0);Tj(a);eP(b);r=b;return}function epa(){k[163677]=0;k[163678]=0;k[163676]=654708;return}function fpa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;g=r;r=r+16|0;b=k[163679]|0;if(!b){b=Xoa()|0;k[163679]=b}aP(g,b);b=k[163677]|0;a:do if(b|0){f=i[a>>0]|0;e=(f&1)==0?(f&255)>>>1:k[a+4>>2]|0;f=(f&1)==0?a+1|0:k[a+8>>2]|0;while(1){d=b+16|0;h=i[d>>0]|0;c=(h&1)==0?(h&255)>>>1:k[b+20>>2]|0;d=(h&1)==0?d+1|0:k[b+24>>2]|0;h=Emb(f,d,c>>>0>>0?c:e)|0;if((((h|0)==0?(e>>>0>>0?-2147483648:0):h)|0)>=0){h=Emb(d,f,e>>>0>>0?e:c)|0;if((((h|0)==0?(c>>>0>>0?-2147483648:0):h)|0)>=0)break;b=b+4|0}b=k[b>>2]|0;if(!b)break a}h=hpa(654704,a)|0;h=k[h>>2]|0;Si[k[(k[h>>2]|0)+8>>2]&1023](h);h=hpa(654704,a)|0;h=k[h>>2]|0;cP(g);r=g;return h|0}while(0);f=kBb(64)|0;gpa(f,a);h=hpa(654704,a)|0;k[h>>2]=f;h=hpa(654704,a)|0;h=k[h>>2]|0;cP(g);r=g;return h|0}function gpa(a,b){a=a|0;b=b|0;Uj(a);k[a>>2]=31644;k[a+16>>2]=0;k[a+16+4>>2]=0;k[a+16+8>>2]=0;k[a+16+12>>2]=0;k[a+16+16>>2]=0;k[a+16+20>>2]=0;i[a+40>>0]=1;Vqb(a+44|0,b);k[a+56>>2]=0;k[a+60>>2]=0;b=Xoa()|0;k[a+8>>2]=b;b=Yoa()|0;k[a+12>>2]=b;return}function hpa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=r;r=r+16|0;d=ipa(a,f,b)|0;c=k[d>>2]|0;if(c|0){a=c;a=a+28|0;r=f;return a|0}e=kBb(32)|0;Vqb(e+16|0,b);k[e+28>>2]=0;c=k[f>>2]|0;k[e>>2]=0;k[e+4>>2]=0;k[e+8>>2]=c;k[d>>2]=e;c=k[k[a>>2]>>2]|0;if(!c)c=e;else{k[a>>2]=c;c=k[d>>2]|0}Qj(k[a+4>>2]|0,c);k[a+8>>2]=(k[a+8>>2]|0)+1;a=e;a=a+28|0;r=f;return a|0}function ipa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=k[a+4>>2]|0;if(!d){k[b>>2]=a+4;b=a+4|0;return b|0}f=i[c>>0]|0;g=(f&1)==0?(f&255)>>>1:k[c+4>>2]|0;f=(f&1)==0?c+1|0:k[c+8>>2]|0;while(1){c=d+16|0;e=i[c>>0]|0;a=(e&1)==0?(e&255)>>>1:k[d+20>>2]|0;c=(e&1)==0?c+1|0:k[d+24>>2]|0;e=Emb(f,c,a>>>0>>0?a:g)|0;if((((e|0)==0?(g>>>0>>0?-2147483648:0):e)|0)<0){a=k[d>>2]|0;if(!a){a=d;c=5;break}else d=a}else{e=Emb(c,f,g>>>0>>0?g:a)|0;if((((e|0)==0?(a>>>0>>0?-2147483648:0):e)|0)>=0){c=10;break}e=d+4|0;a=k[e>>2]|0;if(!a){c=9;break}else d=a}}if((c|0)==5){k[b>>2]=d;b=a;return b|0}else if((c|0)==9){k[b>>2]=d;b=e;return b|0}else if((c|0)==10){k[b>>2]=d;return b|0}return 0}function jpa(a){a=a|0;var b=0;Uj(a);k[a>>2]=31644;k[a+16>>2]=0;k[a+16+4>>2]=0;k[a+16+8>>2]=0;k[a+16+12>>2]=0;k[a+16+16>>2]=0;k[a+16+20>>2]=0;i[a+16+24>>0]=0;k[a+44>>2]=0;k[a+44+4>>2]=0;k[a+44+8>>2]=0;k[a+44+12>>2]=0;k[a+44+16>>2]=0;b=Xoa()|0;k[a+8>>2]=b;b=Yoa()|0;k[a+12>>2]=b;return}function kpa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=r;r=r+16|0;if(!b){b=0;r=f;return b|0}aP(f,k[a+8>>2]|0);Si[k[(k[b>>2]|0)+8>>2]&1023](b);if(i[a+40>>0]|0)if(!(k[a+36>>2]|0))Si[k[(k[a>>2]|0)+8>>2]&1023](a);g=k[a+24>>2]|0;d=k[a+20>>2]|0;e=k[a+32>>2]|0;c=k[a+36>>2]|0;if((((g|0)==(d|0)?0:(g-d<<8)+-1|0)|0)==(c+e|0)){lpa(a+16|0);c=k[a+36>>2]|0;e=k[a+32>>2]|0;d=k[a+20>>2]|0}g=c+e|0;k[(k[d+(g>>>10<<2)>>2]|0)+((g&1023)<<2)>>2]=b;k[a+36>>2]=c+1;g=k[a+12>>2]|0;Si[k[(k[g>>2]|0)+12>>2]&1023](g);g=(k[a+56>>2]|0)+1|0;k[a+56>>2]=g;cP(f);r=f;return g|0}function lpa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0;n=r;r=r+16|0;b=k[a+16>>2]|0;if(b>>>0>1023){k[a+16>>2]=b+-1024;e=k[a+4>>2]|0;j=k[e>>2]|0;k[a+4>>2]=e+4;b=k[a+8>>2]|0;c=k[a+12>>2]|0;do if((b|0)==(c|0)){d=k[a>>2]|0;if((e+4|0)>>>0>d>>>0){m=e+4+((((e+4-d>>2)+1|0)/-2|0)<<2)|0;BBb(m|0,e+4|0,b-(e+4)|0)|0;k[a+8>>2]=m+(b-(e+4)>>2<<2);k[a+4>>2]=(k[a+4>>2]|0)+((((e+4-d>>2)+1|0)/-2|0)<<2);b=m+(b-(e+4)>>2<<2)|0;break}g=(c-d>>1|0)==0?1:c-d>>1;h=kBb(g<<2)|0;i=h+(g>>>2<<2)|0;if((e+4|0)==(b|0)){c=d;b=i}else{f=h+(g>>>2<<2)|0;d=e+4|0;c=i;while(1){k[f>>2]=k[d>>2];f=c+4|0;e=f;d=d+4|0;if((d|0)==(b|0))break;else c=e}c=k[a>>2]|0;b=e}k[a>>2]=h;k[a+4>>2]=i;k[a+8>>2]=b;k[a+12>>2]=h+(g<<2);if(c){CAb(c);b=k[a+8>>2]|0}}while(0);k[b>>2]=j;k[a+8>>2]=(k[a+8>>2]|0)+4;r=n;return}f=k[a+8>>2]|0;d=k[a+4>>2]|0;c=k[a+12>>2]|0;b=c-(k[a>>2]|0)|0;if(f-d>>2>>>0>2>>>0){b=kBb(4096)|0;if((c|0)!=(f|0)){k[n+4>>2]=b;mpa(a,n+4|0);r=n;return}k[n>>2]=b;npa(a,n);e=k[a+4>>2]|0;j=k[e>>2]|0;k[a+4>>2]=e+4;b=k[a+8>>2]|0;c=k[a+12>>2]|0;do if((b|0)==(c|0)){d=k[a>>2]|0;if((e+4|0)>>>0>d>>>0){m=e+4+((((e+4-d>>2)+1|0)/-2|0)<<2)|0;BBb(m|0,e+4|0,b-(e+4)|0)|0;k[a+8>>2]=m+(b-(e+4)>>2<<2);k[a+4>>2]=(k[a+4>>2]|0)+((((e+4-d>>2)+1|0)/-2|0)<<2);b=m+(b-(e+4)>>2<<2)|0;break}i=(c-d>>1|0)==0?1:c-d>>1;g=kBb(i<<2)|0;h=g+(i>>>2<<2)|0;if((e+4|0)==(b|0)){c=d;b=h}else{f=g+(i>>>2<<2)|0;d=e+4|0;c=h;while(1){k[f>>2]=k[d>>2];f=c+4|0;e=f;d=d+4|0;if((d|0)==(b|0))break;else c=e}c=k[a>>2]|0;b=e}k[a>>2]=g;k[a+4>>2]=h;k[a+8>>2]=b;k[a+12>>2]=g+(i<<2);if(c){CAb(c);b=k[a+8>>2]|0}}while(0);k[b>>2]=j;k[a+8>>2]=(k[a+8>>2]|0)+4;r=n;return}b=(b>>1|0)==0?1:b>>1;c=kBb(b<<2)|0;e=kBb(4096)|0;do if((f-d>>2|0)==(b|0))if((f-d|0)>0){i=f;g=d;h=c;d=c+(f-d>>2<<2)+((((f-d>>2)+1|0)/-2|0)<<2)|0;c=c+(b<<2)|0;break}else{m=(f-d>>1|0)==0?1:f-d>>1;l=kBb(m<<2)|0;CAb(c);i=k[a+8>>2]|0;g=k[a+4>>2]|0;h=l;d=l+(m>>>2<<2)|0;c=l+(m<<2)|0;break}else{i=f;g=d;h=c;d=c+(f-d>>2<<2)|0;c=c+(b<<2)|0}while(0);b=d;k[d>>2]=e;d=d+4|0;if((i|0)==(g|0)){f=h;e=b}else{m=i;do{m=m+-4|0;f=b;do if((f|0)==(h|0)){g=d;if(g>>>0>>0){l=g+((((c-d>>2)+1|0)/2|0)<<2)|0;d=d-b|0;BBb(l+(0-(d>>2)<<2)|0,b|0,d|0)|0;f=l+(0-(d>>2)<<2)|0;b=l+(0-(d>>2)<<2)|0;d=l;break}j=c-h>>1;j=(j|0)==0?1:j;l=kBb(j<<2)|0;i=l+((j+3|0)>>>2<<2)|0;if((f|0)==(g|0))d=i;else{e=l+((j+3|0)>>>2<<2)|0;c=f;d=i;do{k[e>>2]=k[c>>2];e=d+4|0;d=e;c=c+4|0}while((c|0)!=(g|0))}if(!b){f=l+((j+3|0)>>>2<<2)|0;h=l;b=i;c=l+(j<<2)|0}else{CAb(b);f=l+((j+3|0)>>>2<<2)|0;h=l;b=i;c=l+(j<<2)|0}}while(0);k[f+-4>>2]=k[m>>2];b=b+-4|0}while((m|0)!=(k[a+4>>2]|0));f=h;e=b}b=k[a>>2]|0;k[a>>2]=f;k[a+4>>2]=e;k[a+8>>2]=d;k[a+12>>2]=c;if(!b){r=n;return}CAb(b);r=n;return}function mpa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=k[a+8>>2]|0;d=k[a+12>>2]|0;do if((c|0)==(d|0)){f=k[a+4>>2]|0;e=k[a>>2]|0;if(f>>>0>e>>>0){j=f+((((f-e>>2)+1|0)/-2|0)<<2)|0;BBb(j|0,f|0,c-f|0)|0;k[a+8>>2]=j+(c-f>>2<<2);k[a+4>>2]=(k[a+4>>2]|0)+((((f-e>>2)+1|0)/-2|0)<<2);c=j+(c-f>>2<<2)|0;break}h=(d-e>>1|0)==0?1:d-e>>1;i=kBb(h<<2)|0;j=i+(h>>>2<<2)|0;if((f|0)==(c|0)){d=e;c=j}else{g=i+(h>>>2<<2)|0;e=f;d=j;while(1){k[g>>2]=k[e>>2];g=d+4|0;f=g;e=e+4|0;if((e|0)==(c|0))break;else d=f}d=k[a>>2]|0;c=f}k[a>>2]=i;k[a+4>>2]=j;k[a+8>>2]=c;k[a+12>>2]=i+(h<<2);if(d){CAb(d);c=k[a+8>>2]|0}}while(0);k[c>>2]=k[b>>2];k[a+8>>2]=(k[a+8>>2]|0)+4;return}function npa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=k[a+4>>2]|0;d=k[a>>2]|0;do if((c|0)==(d|0)){i=k[a+8>>2]|0;e=k[a+12>>2]|0;if(i>>>0>>0){h=i+((((e-i>>2)+1|0)/2|0)<<2)+(0-(i-c>>2)<<2)|0;BBb(h|0,c|0,i-c|0)|0;k[a+4>>2]=h;k[a+8>>2]=(k[a+8>>2]|0)+((((e-i>>2)+1|0)/2|0)<<2);c=h;break}f=(e-d>>1|0)==0?1:e-d>>1;g=kBb(f<<2)|0;h=g+((f+3|0)>>>2<<2)|0;if((c|0)==(i|0))d=h;else{e=g+((f+3|0)>>>2<<2)|0;d=h;do{k[e>>2]=k[c>>2];e=d+4|0;d=e;c=c+4|0}while((c|0)!=(i|0));c=k[a>>2]|0}k[a>>2]=g;k[a+4>>2]=h;k[a+8>>2]=d;k[a+12>>2]=g+(f<<2);if(!c)c=g+((f+3|0)>>>2<<2)|0;else{CAb(c);c=k[a+4>>2]|0}}while(0);k[c+-4>>2]=k[b>>2];k[a+4>>2]=(k[a+4>>2]|0)+-4;return}function opa(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+16|0;if(!b){r=d;return}aP(d,k[a+8>>2]|0);c=kpa(a,b)|0;a:do if((c|0)>-1)while(1){if(c>>>0<=(k[a+60>>2]|0)>>>0)break a;b=k[a+12>>2]|0;Ri[k[(k[b>>2]|0)+16>>2]&255](b,k[a+8>>2]|0,-1)|0}else while(1){b=k[a+60>>2]|0;if(c>>>0<=b>>>0)if((c|0)==(b|0)|(b|0)<1)break a;b=k[a+12>>2]|0;Ri[k[(k[b>>2]|0)+16>>2]&255](b,k[a+8>>2]|0,-1)|0}while(0);cP(d);r=d;return}function ppa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;e=r;r=r+16|0;aP(e,k[a+8>>2]|0);c=k[a+36>>2]|0;if(!c){a=0;cP(e);r=e;return a|0}d=k[a+20>>2]|0;f=k[a+32>>2]|0;b=k[(k[d+(f>>>10<<2)>>2]|0)+((f&1023)<<2)>>2]|0;k[a+36>>2]=c+-1;k[a+32>>2]=f+1;if((f+1|0)>>>0>2047){CAb(k[d>>2]|0);k[a+20>>2]=(k[a+20>>2]|0)+4;k[a+32>>2]=(k[a+32>>2]|0)+-1024}k[a+60>>2]=(k[a+60>>2]|0)+1;f=k[a+12>>2]|0;Si[k[(k[f>>2]|0)+12>>2]&1023](f);if(!(i[a+40>>0]|0)){f=b;cP(e);r=e;return f|0}if(k[a+36>>2]|0){f=b;cP(e);r=e;return f|0}Si[k[(k[a>>2]|0)+12>>2]&1023](a);f=b;cP(e);r=e;return f|0}function qpa(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;aP(c,k[a+8>>2]|0);while(1){b=ppa(a)|0;if(b|0)break;b=k[a+12>>2]|0;Ri[k[(k[b>>2]|0)+16>>2]&255](b,k[a+8>>2]|0,-1)|0}cP(c);r=c;return b|0}function rpa(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;aP(b,k[a+8>>2]|0);if(!(k[a+36>>2]|0)){a=0;cP(b);r=b;return a|0}c=k[a+32>>2]|0;a=k[(k[(k[a+20>>2]|0)+(c>>>10<<2)>>2]|0)+((c&1023)<<2)>>2]|0;Si[k[(k[a>>2]|0)+8>>2]&1023](a);cP(b);r=b;return a|0}function spa(a){a=a|0;var b=0;b=r;r=r+16|0;aP(b,k[a+8>>2]|0);a=k[a+36>>2]|0;cP(b);r=b;return a|0}function tpa(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+16|0;aP(d,k[a+8>>2]|0);if(!(k[a+36>>2]|0)){cP(d);r=d;return}b=k[a+32>>2]|0;do{c=k[(k[(k[a+20>>2]|0)+(b>>>10<<2)>>2]|0)+((b&1023)<<2)>>2]|0;Si[k[(k[c>>2]|0)+12>>2]&1023](c);c=(k[a+36>>2]|0)+-1|0;k[a+36>>2]=c;b=(k[a+32>>2]|0)+1|0;k[a+32>>2]=b;if(b>>>0>2047){CAb(k[k[a+20>>2]>>2]|0);k[a+20>>2]=(k[a+20>>2]|0)+4;b=(k[a+32>>2]|0)+-1024|0;k[a+32>>2]=b;c=k[a+36>>2]|0}}while((c|0)!=0);k[a+60>>2]=k[a+56>>2];c=k[a+12>>2]|0;Si[k[(k[c>>2]|0)+12>>2]&1023](c);if(!(i[a+40>>0]|0)){cP(d);r=d;return}Si[k[(k[a>>2]|0)+12>>2]&1023](a);cP(d);r=d;return}function upa(a){a=a|0;a=k[a+8>>2]|0;Si[k[(k[a>>2]|0)+8>>2]&1023](a);return}function vpa(a){a=a|0;a=k[a+8>>2]|0;Si[k[(k[a>>2]|0)+12>>2]&1023](a);return}function wpa(a){a=a|0;var b=0,c=0;k[a>>2]=31668;k[a+8>>2]=31696;if((k[a+60>>2]|0)>0){b=0;do{c=k[(k[a+56>>2]|0)+(b<<2)>>2]|0;Si[k[(k[c>>2]|0)+12>>2]&1023](c);b=b+1|0}while((b|0)<(k[a+60>>2]|0))}_qb(a+44|0);_qb(a+32|0);b=k[a+28>>2]|0;if(!b){_O(a+8|0);return}Si[k[(k[b>>2]|0)+12>>2]&1023](b);_O(a+8|0);return}function xpa(a){a=a|0;wpa(a);CAb(a);return}function ypa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=r;r=r+32|0;Si[k[(k[a>>2]|0)+8>>2]&1023](a);if(!(i[a+44>>0]&1)){i[a+44+1>>0]=0;i[a+44>>0]=0}else{i[k[a+52>>2]>>0]=0;k[a+48>>2]=0}e=HHa()|0;KHa(e);Hs(e,1469,442740)|0;As(e,442740)|0;yDa(e,-2);As(e,442745)|0;yDa(e,-2);As(e,442757)|0;yDa(e,-2);b=k[a+28>>2]|0;b=Gi[k[(k[b>>2]|0)+16>>2]&2047](b)|0;c=k[a+28>>2]|0;c=Gi[k[(k[c>>2]|0)+20>>2]&2047](c)|0;if(!(i[a+32>>0]&1))d=a+32+1|0;else d=k[a+40>>2]|0;if(!(FHa(e,b,c,d)|0)){b=k[a+60>>2]|0;if((b|0)>0){c=0;do{F_(k[(k[a+56>>2]|0)+(c<<2)>>2]|0,e);d=k[(k[a+56>>2]|0)+(c<<2)>>2]|0;Si[k[(k[d>>2]|0)+12>>2]&1023](d);c=c+1|0}while((c|0)<(k[a+60>>2]|0))}k[a+60>>2]=0;k[a+56>>2]=0;if(rEa(e,b,0,0)|0){ts(f,e,-1);if(!(i[a+44>>0]&1)){i[a+44+1>>0]=0;i[a+44>>0]=0}else{i[k[a+52>>2]>>0]=0;k[a+48>>2]=0}crb(a+44|0,0);k[a+44>>2]=k[f>>2];k[a+44+4>>2]=k[f+4>>2];k[a+44+8>>2]=k[f+8>>2];k[f>>2]=0;k[f+4>>2]=0;k[f+8>>2]=0;_qb(f)}}else{ts(f+12|0,e,-1);if(!(i[a+44>>0]&1)){i[a+44+1>>0]=0;i[a+44>>0]=0}else{i[k[a+52>>2]>>0]=0;k[a+48>>2]=0}crb(a+44|0,0);k[a+44>>2]=k[f+12>>2];k[a+44+4>>2]=k[f+12+4>>2];k[a+44+8>>2]=k[f+12+8>>2];k[f+12>>2]=0;k[f+12+4>>2]=0;k[f+12+8>>2]=0;_qb(f+12|0)}pGa(e);b=i[a+44>>0]|0;if(!(b&1))b=(b&255)>>>1;else b=k[a+48>>2]|0;if(!b){e=k[a>>2]|0;e=e+12|0;e=k[e>>2]|0;Si[e&1023](a);r=f;return}zpa(a);e=k[a>>2]|0;e=e+12|0;e=k[e>>2]|0;Si[e&1023](a);r=f;return}function zpa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;f=r;r=r+48|0;b=i[a+44>>0]|0;if(!(b&1))b=(b&255)>>>1;else b=k[a+48>>2]|0;if(!b){r=f;return}e=k[155699]|0;if(!e){r=f;return}k[f+40>>2]=53;k[f+40+4>>2]=a;c=kBb(32)|0;C_(c,53,f+40|0);k[f+16>>2]=c;Si[k[(k[c>>2]|0)+8>>2]&1023](c);c=kBb(32)|0;b=i[a+44>>0]|0;if(!(b&1)){d=a+44+1|0;b=(b&255)>>>1}else{d=k[a+52>>2]|0;b=k[a+48>>2]|0}A_(c,d,b);k[f+16+4>>2]=c;Si[k[(k[c>>2]|0)+8>>2]&1023](c);k[f+24>>2]=0;a=f+24+4|0;k[a>>2]=0;k[f+24+8>>2]=0;b=kBb(8)|0;k[a>>2]=b;k[f+24>>2]=b;k[f+24+8>>2]=b+8;c=k[f+16>>2]|0;k[b>>2]=c;if(c){Si[k[(k[c>>2]|0)+8>>2]&1023](c);b=k[a>>2]|0}b=b+4|0;k[a>>2]=b;c=k[f+16+4>>2]|0;k[b>>2]=c;if(c){Si[k[(k[c>>2]|0)+8>>2]&1023](c);b=k[a>>2]|0}k[a>>2]=b+4;b=k[f+16+4>>2]|0;if(b|0)Si[k[(k[b>>2]|0)+12>>2]&1023](b);b=k[f+16>>2]|0;if(b|0)Si[k[(k[b>>2]|0)+12>>2]&1023](b);c=kBb(32)|0;Wqb(f,442773,11);Y2(c,f,f+24|0);_qb(f);b=k[f+24>>2]|0;d=k[a>>2]|0;if((b|0)!=(d|0))do{g=k[b>>2]|0;Si[k[(k[g>>2]|0)+12>>2]&1023](g);b=b+4|0}while((b|0)!=(d|0));a3(e,c);Si[k[(k[c>>2]|0)+12>>2]&1023](c);b=k[f+24>>2]|0;if(b|0){c=k[a>>2]|0;if((c|0)!=(b|0)){do{c=c+-4|0;k[a>>2]=c;d=k[c>>2]|0;if(d){Si[k[(k[d>>2]|0)+12>>2]&1023](d);c=k[a>>2]|0}}while((c|0)!=(b|0));b=k[f+24>>2]|0}CAb(b)}r=f;return}function Apa(a){a=a|0;wpa(a+-8|0);return}function Bpa(a){a=a|0;wpa(a+-8|0);CAb(a+-8|0);return}function Cpa(a){a=a|0;ypa(a+-8|0);return}function Dpa(a,b,c){a=a|0;b=b|0;c=c|0;Uj(a);gP(a+8|0);k[a>>2]=31668;k[a+8>>2]=31696;k[a+28>>2]=c;if(c|0)Si[k[(k[c>>2]|0)+8>>2]&1023](c);Vqb(a+32|0,b);k[a+44>>2]=0;k[a+44+4>>2]=0;k[a+44+8>>2]=0;k[a+44+12>>2]=0;k[a+44+16>>2]=0;$qb(a+16|0,b)|0;return}function Epa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if((k[a+60>>2]|0)>0){d=0;do{e=k[(k[a+56>>2]|0)+(d<<2)>>2]|0;Si[k[(k[e>>2]|0)+12>>2]&1023](e);d=d+1|0}while((d|0)<(k[a+60>>2]|0))}k[a+56>>2]=b;k[a+60>>2]=c;return hP(a+8|0)|0}function Fpa(a){a=a|0;return a+44|0}function Gpa(a){a=a|0;var b=0;Ypa(a);k[a+28>>2]=0;k[a+48>>2]=16;k[a+52>>2]=0;b=kT(128)|0;k[a+44>>2]=b;k[a+36>>2]=16;k[a+40>>2]=0;b=kT(64)|0;k[a+32>>2]=b;return}function Hpa(a){a=a|0;lT(k[a+32>>2]|0);lT(k[a+44>>2]|0);Zpa(a);return}function Ipa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;c=$pa(a,b,c)|0;k[a+28>>2]=(k[a+28>>2]|0)+1;b=k[a+40>>2]|0;if((b|0)==(k[a+36>>2]|0)){d=k[a+32>>2]|0;k[a+36>>2]=b<<1;b=kT(b<<3)|0;k[a+32>>2]=b;ABb(b|0,d|0,k[a+40>>2]<<2|0)|0;lT(d);b=k[a+40>>2]|0}k[(k[a+32>>2]|0)+(b<<2)>>2]=c;k[a+40>>2]=(k[a+40>>2]|0)+1;return c|0}function Jpa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=k[a+40>>2]|0;if((c|0)>0){f=k[a+32>>2]|0;e=0;do{d=f+(e<<2)|0;if((k[d>>2]|0)==(b|0)){k[d>>2]=-1;c=k[a+40>>2]|0}e=e+1|0}while((e|0)<(c|0))}k[a+28>>2]=(k[a+28>>2]|0)+-1;cqa(a,b);return}function Kpa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(!(eqa(a,b,c,d)|0))return;c=k[a+40>>2]|0;if((c|0)==(k[a+36>>2]|0)){d=k[a+32>>2]|0;k[a+36>>2]=c<<1;c=kT(c<<3)|0;k[a+32>>2]=c;ABb(c|0,d|0,k[a+40>>2]<<2|0)|0;lT(d);c=k[a+40>>2]|0}k[(k[a+32>>2]|0)+(c<<2)>>2]=b;k[a+40>>2]=(k[a+40>>2]|0)+1;return}function Lpa(a,b){a=a|0;b=b|0;var c=0,d=0;c=k[a+40>>2]|0;if((c|0)==(k[a+36>>2]|0)){d=k[a+32>>2]|0;k[a+36>>2]=c<<1;c=kT(c<<3)|0;k[a+32>>2]=c;ABb(c|0,d|0,k[a+40>>2]<<2|0)|0;lT(d);c=k[a+40>>2]|0}k[(k[a+32>>2]|0)+(c<<2)>>2]=b;k[a+40>>2]=(k[a+40>>2]|0)+1;return}function Mpa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=k[a+56>>2]|0;if((c|0)==(b|0))return 1;d=k[a+52>>2]|0;if((d|0)==(k[a+48>>2]|0)){c=k[a+44>>2]|0;k[a+48>>2]=d<<1;d=kT(d<<4)|0;k[a+44>>2]=d;ABb(d|0,c|0,k[a+52>>2]<<3|0)|0;lT(c);c=k[a+56>>2]|0;d=k[a+52>>2]|0}e=k[a+44>>2]|0;k[e+(d<<3)>>2]=(c|0)>(b|0)?b:c;k[e+(d<<3)+4>>2]=(c|0)<(b|0)?b:c;k[a+52>>2]=d+1;return 1}function Npa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0.0,g=0.0,h=0.0,i=0.0,j=0.0,l=0.0,m=0.0,n=0.0,p=0.0;k[a+60>>2]=0;f=+o[c+12>>2];j=+o[b+12>>2];i=+o[c+8>>2];g=+o[b+16>>2];m=+o[e+12>>2];p=+o[d+12>>2];n=+o[e+8>>2];l=+o[d+16>>2];h=+o[e>>2]+(m*p-n*l)-(+o[c>>2]+(f*j-i*g));g=p*n+m*l+ +o[e+4>>2]-(j*i+f*g+ +o[c+4>>2]);f=+o[b+8>>2]+ +o[d+8>>2];if(h*h+g*g>f*f)return;k[a+56>>2]=0;e=k[b+12+4>>2]|0;k[a+48>>2]=k[b+12>>2];k[a+48+4>>2]=e;o[a+40>>2]=0.0;o[a+44>>2]=0.0;k[a+60>>2]=1;e=k[d+12+4>>2]|0;k[a>>2]=k[d+12>>2];k[a+4>>2]=e;k[a+16>>2]=0;return}function Opa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0.0,g=0.0,h=0,i=0,j=0.0,l=0.0,m=0.0,n=0.0,p=0.0,q=0.0,r=0,s=0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0;k[a+60>>2]=0;x=+o[e+12>>2];v=+o[d+12>>2];u=+o[e+8>>2];w=+o[d+16>>2];y=+o[e>>2]+(x*v-u*w)-+o[c>>2];w=v*u+x*w+ +o[e+4>>2]-+o[c+4>>2];x=+o[c+12>>2];u=+o[c+8>>2];v=+o[b+8>>2]+ +o[d+8>>2];i=k[b+148>>2]|0;do if((i|0)>0){c=0;e=0;g=-3402823466385288598117041.0e14;while(1){f=(y*x+w*u-+o[b+20+(c<<3)>>2])*+o[b+84+(c<<3)>>2]+(x*w-y*u-+o[b+20+(c<<3)+4>>2])*+o[b+84+(c<<3)+4>>2];if(f>v){c=19;break}s=f>g;g=s?f:g;e=s?c:e;c=c+1|0;if((c|0)>=(i|0)){c=4;break}}if((c|0)==4){h=g<1.1920928955078125e-07;break}else if((c|0)==19)return}else{e=0;h=1}while(0);s=e+1|0;s=(s|0)<(i|0)?s:0;c=k[b+20+(e<<3)>>2]|0;i=k[b+20+(e<<3)+4>>2]|0;r=k[b+20+(s<<3)>>2]|0;s=k[b+20+(s<<3)+4>>2]|0;if(h){k[a+60>>2]=1;k[a+56>>2]=1;h=b+84+(e<<3)|0;b=k[h+4>>2]|0;k[a+40>>2]=k[h>>2];k[a+40+4>>2]=b;x=(k[t>>2]=c,+o[t>>2]);x=x+(k[t>>2]=r,+o[t>>2]);y=(k[t>>2]=i,+o[t>>2]);y=(y+(k[t>>2]=s,+o[t>>2]))*.5;o[a+48>>2]=x*.5;o[a+52>>2]=y;b=k[d+12+4>>2]|0;k[a>>2]=k[d+12>>2];k[a+4>>2]=b;k[a+16>>2]=0;return}f=(k[t>>2]=c,+o[t>>2]);g=y*x+w*u-f;j=(k[t>>2]=i,+o[t>>2]);l=x*w-y*u-j;m=(k[t>>2]=r,+o[t>>2]);n=(k[t>>2]=s,+o[t>>2]);p=y*x+w*u-m;q=x*w-y*u-n;if(g*(m-f)+l*(n-j)<=0.0){if(g*g+l*l>v*v)return;k[a+60>>2]=1;k[a+56>>2]=1;o[a+40>>2]=g;o[a+44>>2]=l;f=+X(+(g*g+l*l));if(!(f<1.1920928955078125e-07)){o[a+40>>2]=g*(1.0/f);o[a+44>>2]=l*(1.0/f)}k[a+48>>2]=c;k[a+52>>2]=i;b=k[d+12+4>>2]|0;k[a>>2]=k[d+12>>2];k[a+4>>2]=b;k[a+16>>2]=0;return}if(!(p*(f-m)+q*(j-n)<=0.0)){c=b+84+(e<<3)|0;if((y*x+w*u-(f+m)*.5)*+o[c>>2]+(x*w-y*u-(j+n)*.5)*+o[b+84+(e<<3)+4>>2]>v)return;k[a+60>>2]=1;k[a+56>>2]=1;b=k[c+4>>2]|0;k[a+40>>2]=k[c>>2];k[a+40+4>>2]=b;o[a+48>>2]=(f+m)*.5;o[a+52>>2]=(j+n)*.5;b=k[d+12+4>>2]|0;k[a>>2]=k[d+12>>2];k[a+4>>2]=b;k[a+16>>2]=0;return}if(p*p+q*q>v*v)return;k[a+60>>2]=1;k[a+56>>2]=1;o[a+40>>2]=p;o[a+44>>2]=q;f=+X(+(p*p+q*q));if(!(f<1.1920928955078125e-07)){o[a+40>>2]=p*(1.0/f);o[a+44>>2]=q*(1.0/f)}k[a+48>>2]=r;k[a+52>>2]=s;b=k[d+12+4>>2]|0;k[a>>2]=k[d+12>>2];k[a+4>>2]=b;k[a+16>>2]=0;return}function Ppa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0.0,g=0.0,h=0.0,j=0.0,l=0.0,m=0.0,n=0.0,p=0.0,q=0.0,r=0.0,s=0.0,u=0.0,v=0,w=0,x=0.0,y=0.0;k[a+60>>2]=0;l=+o[e+12>>2];m=+o[d+12>>2];f=+o[e+8>>2];j=+o[d+16>>2];u=+o[e>>2]+(l*m-f*j)-+o[c>>2];j=m*f+l*j+ +o[e+4>>2]-+o[c+4>>2];l=+o[c+12>>2];f=+o[c+8>>2];v=k[b+12>>2]|0;w=k[b+16>>2]|0;e=k[b+20>>2]|0;c=k[b+24>>2]|0;m=(k[t>>2]=e,+o[t>>2]);n=(k[t>>2]=v,+o[t>>2]);p=(k[t>>2]=c,+o[t>>2]);q=(k[t>>2]=w,+o[t>>2]);g=(m-n)*(m-(u*l+j*f))+(p-q)*(p-(l*j-u*f));r=u*l+j*f-n;s=l*j-u*f-q;h=+o[b+8>>2]+ +o[d+8>>2];if(r*(m-n)+s*(p-q)<=0.0){if(r*r+s*s>h*h)return;if(i[b+44>>0]|0)if((n-(u*l+j*f))*(n-+o[b+28>>2])+(q-(l*j-u*f))*(q-+o[b+32>>2])>0.0)return;k[a+60>>2]=1;k[a+56>>2]=0;o[a+40>>2]=0.0;o[a+44>>2]=0.0;k[a+48>>2]=v;k[a+52>>2]=w;k[a+16>>2]=0;i[a+16>>0]=0;i[a+16+1>>0]=0;i[a+16+2>>0]=0;i[a+16+3>>0]=0;w=k[d+12+4>>2]|0;k[a>>2]=k[d+12>>2];k[a+4>>2]=w;return}if(!(g<=0.0)){nT((m-n)*(m-n)+(p-q)*(p-q)>0.0,442785);y=1.0/((m-n)*(m-n)+(p-q)*(p-q));x=u*l+j*f-y*(n*g+m*(r*(m-n)+s*(p-q)));u=l*j-u*f-y*(q*g+p*(r*(m-n)+s*(p-q)));if(x*x+u*u>h*h)return;h=s*(m-n)+r*-(p-q)<0.0?p-q:-(p-q);f=s*(m-n)+r*-(p-q)<0.0?-(m-n):m-n;g=+X(+(h*h+f*f));if(!(g<1.1920928955078125e-07)){h=h*(1.0/g);f=f*(1.0/g)}k[a+60>>2]=1;k[a+56>>2]=1;o[a+40>>2]=h;o[a+44>>2]=f;k[a+48>>2]=v;k[a+52>>2]=w;k[a+16>>2]=0;i[a+16>>0]=0;i[a+16+1>>0]=0;i[a+16+2>>0]=1;i[a+16+3>>0]=0;w=k[d+12+4>>2]|0;k[a>>2]=k[d+12>>2];k[a+4>>2]=w;return}if((u*l+j*f-m)*(u*l+j*f-m)+(l*j-u*f-p)*(l*j-u*f-p)>h*h)return;if(i[b+45>>0]|0)if((u*l+j*f-m)*(+o[b+36>>2]-m)+(l*j-u*f-p)*(+o[b+40>>2]-p)>0.0)return;k[a+60>>2]=1;k[a+56>>2]=0;o[a+40>>2]=0.0;o[a+44>>2]=0.0;k[a+48>>2]=e;k[a+52>>2]=c;k[a+16>>2]=0;i[a+16>>0]=1;i[a+16+1>>0]=0;i[a+16+2>>0]=0;i[a+16+3>>0]=0;w=k[d+12+4>>2]|0;k[a>>2]=k[d+12>>2];k[a+4>>2]=w;return}function Qpa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0.0,h=0.0,l=0.0,m=0.0,n=0.0,p=0.0,q=0.0,s=0,u=0.0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0,K=0;K=r;r=r+144|0;u=+o[d+12>>2];m=+o[f+8>>2];D=+o[d+8>>2];g=+o[f+12>>2];G=+o[f>>2]-+o[d>>2];h=+o[f+4>>2]-+o[d+4>>2];o[a+132>>2]=u*G+D*h;o[a+136>>2]=u*h-D*G;o[a+140>>2]=u*m-D*g;o[a+144>>2]=m*D+u*g;n=+o[e+12>>2];l=+o[e+16>>2];F=u*G+D*h+((m*D+u*g)*n-(u*m-D*g)*l);G=n*(u*m-D*g)+(m*D+u*g)*l+(u*h-D*G);o[a+148>>2]=F;o[a+152>>2]=G;z=k[c+28>>2]|0;A=k[c+28+4>>2]|0;k[a+156>>2]=z;k[a+156+4>>2]=A;w=k[c+12>>2]|0;y=k[c+12+4>>2]|0;k[a+164>>2]=w;k[a+164+4>>2]=y;v=k[c+20>>2]|0;x=k[c+20+4>>2]|0;k[a+172>>2]=v;k[a+172+4>>2]=x;B=k[c+36>>2]|0;C=k[c+36+4>>2]|0;k[a+180>>2]=B;k[a+180+4>>2]=C;c=j[c+44>>1]|0;D=(k[t>>2]=v,+o[t>>2]);h=(k[t>>2]=w,+o[t>>2]);u=(k[t>>2]=x,+o[t>>2]);l=(k[t>>2]=y,+o[t>>2]);g=+X(+((D-h)*(D-h)+(u-l)*(u-l)));m=(k[t>>2]=z,+o[t>>2]);n=(k[t>>2]=A,+o[t>>2]);q=(k[t>>2]=B,+o[t>>2]);p=(k[t>>2]=C,+o[t>>2]);if(g<1.1920928955078125e-07){I=u-l;H=D-h}else{I=(u-l)*(1.0/g);H=(D-h)*(1.0/g)}E=-H;o[a+196>>2]=I;o[a+200>>2]=E;E=(F-h)*I+(G-l)*E;if((c&255)<<24>>24){g=+X(+((h-m)*(h-m)+(l-n)*(l-n)));if(g<1.1920928955078125e-07){h=h-m;g=l-n}else{h=(h-m)*(1.0/g);g=(l-n)*(1.0/g)}l=-h;o[a+188>>2]=g;o[a+192>>2]=l;f=I*h-H*g>=0.0;m=(F-m)*g+(G-n)*l}else{f=0;m=0.0}do if((c&65535)>255){g=+X(+((q-D)*(q-D)+(p-u)*(p-u)));if(g<1.1920928955078125e-07){l=p-u;h=q-D}else{l=(p-u)*(1.0/g);h=(q-D)*(1.0/g)}g=-h;o[a+204>>2]=l;o[a+208>>2]=g;d=H*l-I*h>0.0;g=(F-D)*l+(G-u)*g;if(!((c&255)<<24>>24))if(d){i[a+248>>0]=(E>=0.0|g>=0.0)&1;if(E>=0.0|g>=0.0){C=k[a+196>>2]|0;B=k[a+196+4>>2]|0;k[a+212>>2]=C;k[a+212+4>>2]=B;o[a+228>>2]=-(k[t>>2]=C,+o[t>>2]);o[a+232>>2]=H;C=k[a+204+4>>2]|0;k[a+236>>2]=k[a+204>>2];k[a+236+4>>2]=C;break}else{I=-I;o[a+212>>2]=I;o[a+216>>2]=H;o[a+228>>2]=I;o[a+232>>2]=H;C=k[a+196+4>>2]|0;k[a+236>>2]=k[a+196>>2];k[a+236+4>>2]=C;break}}else{i[a+248>>0]=E>=0.0&g>=0.0&1;if(E>=0.0&g>=0.0){B=k[a+196>>2]|0;C=k[a+196+4>>2]|0;k[a+212>>2]=B;k[a+212+4>>2]=C;o[a+228>>2]=-(k[t>>2]=B,+o[t>>2]);o[a+232>>2]=H;k[a+236>>2]=B;k[a+236+4>>2]=C;break}else{o[a+212>>2]=-I;o[a+216>>2]=H;I=-+o[a+208>>2];o[a+228>>2]=-+o[a+204>>2];o[a+232>>2]=I;C=k[a+196+4>>2]|0;k[a+236>>2]=k[a+196>>2];k[a+236+4>>2]=C;break}}if(f&d){C=E>=0.0|m>=0.0|g>=0.0;i[a+248>>0]=C&1;if(C){C=k[a+196+4>>2]|0;k[a+212>>2]=k[a+196>>2];k[a+212+4>>2]=C;C=k[a+188+4>>2]|0;k[a+228>>2]=k[a+188>>2];k[a+228+4>>2]=C;C=k[a+204+4>>2]|0;k[a+236>>2]=k[a+204>>2];k[a+236+4>>2]=C;break}else{I=-I;o[a+212>>2]=I;o[a+216>>2]=H;o[a+228>>2]=I;o[a+232>>2]=H;o[a+236>>2]=I;o[a+240>>2]=H;break}}if(f){if(!(m>=0.0)){i[a+248>>0]=E>=0.0&g>=0.0&1;if(E>=0.0&g>=0.0)d=a+212|0;else{I=-I;o[a+212>>2]=I;o[a+216>>2]=H;o[a+228>>2]=-l;o[a+232>>2]=h;o[a+236>>2]=I;o[a+240>>2]=H;break}}else{i[a+248>>0]=1;d=a+212|0}B=k[a+196+4>>2]|0;C=d;k[C>>2]=k[a+196>>2];k[C+4>>2]=B;C=k[a+188+4>>2]|0;k[a+228>>2]=k[a+188>>2];k[a+228+4>>2]=C;C=k[a+196+4>>2]|0;k[a+236>>2]=k[a+196>>2];k[a+236+4>>2]=C;break}if(!d){C=E>=0.0&m>=0.0&g>=0.0;i[a+248>>0]=C&1;if(C){B=k[a+196>>2]|0;C=k[a+196+4>>2]|0;k[a+212>>2]=B;k[a+212+4>>2]=C;k[a+228>>2]=B;k[a+228+4>>2]=C;k[a+236>>2]=B;k[a+236+4>>2]=C;break}else{o[a+212>>2]=-I;o[a+216>>2]=H;o[a+228>>2]=-l;o[a+232>>2]=h;I=-+o[a+192>>2];o[a+236>>2]=-+o[a+188>>2];o[a+240>>2]=I;break}}if(!(g>=0.0)){C=E>=0.0&m>=0.0;i[a+248>>0]=C&1;if(C)d=a+212|0;else{I=-I;o[a+212>>2]=I;o[a+216>>2]=H;o[a+228>>2]=I;o[a+232>>2]=H;I=-+o[a+192>>2];o[a+236>>2]=-+o[a+188>>2];o[a+240>>2]=I;break}}else{i[a+248>>0]=1;d=a+212|0}B=k[a+196>>2]|0;C=k[a+196+4>>2]|0;A=d;k[A>>2]=B;k[A+4>>2]=C;k[a+228>>2]=B;k[a+228+4>>2]=C;C=k[a+204+4>>2]|0;k[a+236>>2]=k[a+204>>2];k[a+236+4>>2]=C}else{if(!((c&255)<<24>>24)){i[a+248>>0]=E>=0.0&1;if(E>=0.0){C=k[a+196>>2]|0;B=k[a+196+4>>2]|0;k[a+212>>2]=C;k[a+212+4>>2]=B;I=-(k[t>>2]=C,+o[t>>2]);o[a+228>>2]=I;o[a+232>>2]=H;o[a+236>>2]=I;o[a+240>>2]=H;break}else{o[a+212>>2]=-I;o[a+216>>2]=H;B=k[a+196>>2]|0;C=k[a+196+4>>2]|0;k[a+228>>2]=B;k[a+228+4>>2]=C;k[a+236>>2]=B;k[a+236+4>>2]=C;break}}d=m>=0.0;if(f){i[a+248>>0]=(E>=0.0|d)&1;if(E>=0.0|d){C=k[a+196>>2]|0;B=k[a+196+4>>2]|0;k[a+212>>2]=C;k[a+212+4>>2]=B;B=k[a+188+4>>2]|0;k[a+228>>2]=k[a+188>>2];k[a+228+4>>2]=B;o[a+236>>2]=-(k[t>>2]=C,+o[t>>2]);o[a+240>>2]=H;break}else{o[a+212>>2]=-I;o[a+216>>2]=H;C=k[a+196>>2]|0;B=k[a+196+4>>2]|0;k[a+228>>2]=C;k[a+228+4>>2]=B;o[a+236>>2]=-(k[t>>2]=C,+o[t>>2]);o[a+240>>2]=H;break}}else{i[a+248>>0]=E>=0.0&d&1;if(E>=0.0&d){C=k[a+196>>2]|0;B=k[a+196+4>>2]|0;k[a+212>>2]=C;k[a+212+4>>2]=B;k[a+228>>2]=C;k[a+228+4>>2]=B;o[a+236>>2]=-(k[t>>2]=C,+o[t>>2]);o[a+240>>2]=H;break}else{o[a+212>>2]=-I;o[a+216>>2]=H;C=k[a+196+4>>2]|0;k[a+228>>2]=k[a+196>>2];k[a+228+4>>2]=C;I=-+o[a+192>>2];o[a+236>>2]=-+o[a+188>>2];o[a+240>>2]=I;break}}}while(0);d=k[e+148>>2]|0;k[a+128>>2]=d;if((d|0)>0){d=0;do{E=+o[a+144>>2];I=+o[e+20+(d<<3)>>2];G=+o[a+140>>2];F=+o[e+20+(d<<3)+4>>2];H=I*G+E*F+ +o[a+136>>2];o[a+(d<<3)>>2]=+o[a+132>>2]+(E*I-G*F);o[a+(d<<3)+4>>2]=H;H=+o[a+144>>2];F=+o[e+84+(d<<3)>>2];G=+o[a+140>>2];I=+o[e+84+(d<<3)+4>>2];o[a+64+(d<<3)>>2]=H*F-G*I;o[a+64+(d<<3)+4>>2]=F*G+H*I;d=d+1|0}while((d|0)<(k[e+148>>2]|0));d=k[a+128>>2]|0}o[a+244>>2]=.019999999552965164;k[b+60>>2]=0;if((d|0)<=0){r=K;return}h=+o[a+164>>2];l=+o[a+168>>2];m=+o[a+212>>2];n=+o[a+216>>2];q=3402823466385288598117041.0e14;g=3402823466385288598117041.0e14;c=0;while(1){p=m*(+o[a+(c<<3)>>2]-h)+n*(+o[a+(c<<3)+4>>2]-l);f=p.019999999552965164){r=K;return}Rpa(K+128|0,a);d=k[K+128>>2]|0;if(!d)J=58;else{g=+o[K+128+8>>2];if(!(g>+o[a+244>>2]))if(g>u*.9800000190734863+1.0000000474974513e-03){f=k[K+128+4>>2]|0;if((d|0)==1){v=K+72|0;C=K+24|0;w=K+24|0;d=b+56|0;J=60}else{k[b+56>>2]=2;s=k[a+164+4>>2]|0;k[K+24>>2]=k[a+164>>2];k[K+24+4>>2]=s;i[K+24+8>>0]=0;i[K+24+8+1>>0]=f;i[K+24+8+2>>0]=0;i[K+24+8+3>>0]=1;s=k[a+172+4>>2]|0;k[K+24+12>>2]=k[a+172>>2];k[K+24+12+4>>2]=s;i[K+24+20>>0]=0;i[K+24+20+1>>0]=f;i[K+24+20+2>>0]=0;i[K+24+20+3>>0]=1;k[K+72>>2]=f;s=(f+1|0)<(k[a+128>>2]|0)?f+1|0:0;k[K+72+4>>2]=s;x=k[a+(f<<3)>>2]|0;w=k[a+(f<<3)+4>>2]|0;k[K+72+8>>2]=x;k[K+72+8+4>>2]=w;v=k[a+(s<<3)>>2]|0;s=k[a+(s<<3)+4>>2]|0;k[K+72+16>>2]=v;k[K+72+16+4>>2]=s;c=k[a+64+(f<<3)>>2]|0;B=k[a+64+(f<<3)+4>>2]|0;k[K+72+24>>2]=c;k[K+72+24+4>>2]=B;y=K+72+8|0;z=K+72|0;A=K+72+24|0;g=(k[t>>2]=c,+o[t>>2]);c=K+24|0;d=0;J=67}}else J=58}if((J|0)==58){v=K+72|0;C=K+24|0;w=K+24|0;d=b+56|0;J=60}do if((J|0)==60){k[d>>2]=1;s=k[a+128>>2]|0;if((s|0)>1){g=+o[a+212>>2];h=+o[a+216>>2];d=0;m=g*+o[a+64>>2]+h*+o[a+68>>2];c=1;while(1){l=g*+o[a+64+(c<<3)>>2]+h*+o[a+64+(c<<3)+4>>2];f=l=(s|0))break;else m=f?l:m}}else d=0;J=d+1|0;J=(J|0)<(s|0)?J:0;A=a+(d<<3)|0;B=k[A+4>>2]|0;k[K+24>>2]=k[A>>2];k[K+24+4>>2]=B;i[K+24+8>>0]=0;i[K+24+8+1>>0]=d;i[K+24+8+2>>0]=1;i[K+24+8+3>>0]=0;B=k[a+(J<<3)+4>>2]|0;k[K+24+12>>2]=k[a+(J<<3)>>2];k[K+24+12+4>>2]=B;i[K+24+20>>0]=0;i[K+24+20+1>>0]=J;i[K+24+20+2>>0]=1;i[K+24+20+3>>0]=0;if(!(i[a+248>>0]|0)){k[K+72>>2]=1;k[K+72+4>>2]=0;x=k[a+172>>2]|0;w=k[a+172+4>>2]|0;k[K+72+8>>2]=x;k[K+72+8+4>>2]=w;v=k[a+164>>2]|0;s=k[a+164+4>>2]|0;k[K+72+16>>2]=v;k[K+72+16+4>>2]=s;g=-+o[a+196>>2];I=-+o[a+200>>2];o[K+72+24>>2]=g;o[K+72+28>>2]=I;y=K+72+8|0;z=K+72|0;A=K+72+24|0;B=(o[t>>2]=I,k[t>>2]|0);c=C;f=1;d=1;J=67;break}else{k[K+72>>2]=0;k[K+72+4>>2]=1;x=k[a+164>>2]|0;w=k[a+164+4>>2]|0;k[K+72+8>>2]=x;k[K+72+8+4>>2]=w;v=k[a+172>>2]|0;s=k[a+172+4>>2]|0;k[K+72+16>>2]=v;k[K+72+16+4>>2]=s;c=k[a+196>>2]|0;B=k[a+196+4>>2]|0;k[K+72+24>>2]=c;k[K+72+24+4>>2]=B;y=K+72+8|0;z=K+72|0;A=K+72+24|0;g=(k[t>>2]=c,+o[t>>2]);c=C;f=0;d=1;J=67;break}}while(0);if((J|0)==67){G=(k[t>>2]=x,+o[t>>2]);H=(k[t>>2]=w,+o[t>>2]);D=(k[t>>2]=v,+o[t>>2]);E=(k[t>>2]=s,+o[t>>2]);I=-g;k[K+72+32>>2]=B;o[K+72+36>>2]=I;F=(k[t>>2]=B,+o[t>>2]);o[K+72+44>>2]=-F;o[K+72+48>>2]=g;o[K+72+40>>2]=F*G+H*I;o[K+72+52>>2]=D*-F+g*E;if((Wpa(K+48|0,c,K+72+32|0,F*G+H*I,f)|0)>=2)if((Wpa(K,K+48|0,K+72+44|0,+o[K+72+52>>2],k[K+72+4>>2]|0)|0)>=2){if(d){C=A;e=k[C>>2]|0;C=k[C+4>>2]|0;k[b+40>>2]=e;k[b+40+4>>2]=C;C=y;J=k[C>>2]|0;C=k[C+4>>2]|0;k[b+48>>2]=J;k[b+48+4>>2]=C;m=(k[t>>2]=J,+o[t>>2]);n=(k[t>>2]=e,+o[t>>2]);p=+o[K+72+12>>2];q=+o[K+72+28>>2];g=+o[K>>2];h=+o[K+4>>2];l=+o[a+244>>2];if(!((g-m)*n+(h-p)*q<=l))d=0;else{I=g-+o[a+132>>2];H=h-+o[a+136>>2];G=+o[a+144>>2];l=+o[a+140>>2];o[b>>2]=I*G+H*l;o[b+4>>2]=G*H-I*l;k[b+16>>2]=k[K+8>>2];l=+o[a+244>>2];d=1}g=+o[K+12>>2];h=+o[K+16>>2];if((g-m)*n+(h-p)*q<=l){H=g-+o[a+132>>2];G=h-+o[a+136>>2];F=+o[a+144>>2];I=+o[a+140>>2];o[b+(d*20|0)>>2]=H*F+G*I;o[b+(d*20|0)+4>>2]=F*G-H*I;k[b+(d*20|0)+16>>2]=k[K+20>>2];d=d+1|0}}else{C=k[z>>2]|0;J=k[e+84+(C<<3)+4>>2]|0;k[b+40>>2]=k[e+84+(C<<3)>>2];k[b+40+4>>2]=J;J=k[e+20+(C<<3)+4>>2]|0;k[b+48>>2]=k[e+20+(C<<3)>>2];k[b+48+4>>2]=J;h=+o[K+72+8>>2];l=+o[K+72+24>>2];m=+o[K+72+12>>2];n=+o[K+72+28>>2];g=+o[a+244>>2];if(!((+o[K>>2]-h)*l+(+o[K+4>>2]-m)*n<=g))d=0;else{d=k[K+4>>2]|0;k[b>>2]=k[K>>2];k[b+4>>2]=d;i[b+16+2>>0]=i[K+8+3>>0]|0;i[b+16+3>>0]=i[K+8+2>>0]|0;i[b+16>>0]=i[K+8+1>>0]|0;i[b+16+1>>0]=i[K+8>>0]|0;g=+o[a+244>>2];d=1}if((+o[K+12>>2]-h)*l+(+o[K+16>>2]-m)*n<=g){e=k[K+12+4>>2]|0;a=b+(d*20|0)|0;k[a>>2]=k[K+12>>2];k[a+4>>2]=e;a=b+(d*20|0)+16|0;i[a+2>>0]=i[K+20+3>>0]|0;i[a+3>>0]=i[K+20+2>>0]|0;i[a>>0]=i[K+20+1>>0]|0;i[a+1>>0]=i[K+20>>0]|0;d=d+1|0}}k[b+60>>2]=d}}r=K;return}function Rpa(a,b){a=a|0;b=b|0;var c=0,d=0.0,e=0.0,f=0.0,g=0.0,h=0.0,i=0.0,j=0.0,l=0.0,m=0.0,n=0.0,p=0.0,q=0,r=0,s=0.0;k[a>>2]=0;k[a+4>>2]=-1;o[a+8>>2]=-3402823466385288598117041.0e14;n=+o[b+216>>2];p=+o[b+212>>2];q=k[b+128>>2]|0;if((q|0)<=0)return;h=+o[b+164>>2];i=+o[b+168>>2];j=+o[b+172>>2];l=+o[b+176>>2];m=+o[b+244>>2];g=-3402823466385288598117041.0e14;c=0;while(1){e=+o[b+64+(c<<3)>>2];f=-+o[b+64+(c<<3)+4>>2];s=+o[b+(c<<3)>>2];d=+o[b+(c<<3)+4>>2];d=(s-h)*-e+(d-i)*f<(s-j)*-e+(d-l)*f?(s-h)*-e+(d-i)*f:(s-j)*-e+(d-l)*f;if(d>m)break;if(!(n*e+p*f>=0.0))if(d>g?!((-e-+o[b+228>>2])*p+(f-+o[b+232>>2])*n<-.03490658849477768):0)r=7;else d=g;else if(d>g?!((-e-+o[b+236>>2])*p+(f-+o[b+240>>2])*n<-.03490658849477768):0)r=7;else d=g;if((r|0)==7){r=0;k[a>>2]=2;k[a+4>>2]=c;o[a+8>>2]=d}c=c+1|0;if((c|0)>=(q|0)){r=10;break}else g=d}if((r|0)==10)return;k[a>>2]=2;k[a+4>>2]=c;o[a+8>>2]=d;return}function Spa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=r;r=r+256|0;Qpa(f,a,b,c,d,e);r=f;return}function Tpa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0.0,g=0.0,h=0.0,j=0.0,l=0.0,m=0.0,n=0,p=0.0,q=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0,z=0,A=0.0,B=0.0,C=0.0,D=0.0,E=0,F=0.0,G=0.0,H=0;H=r;r=r+96|0;k[a+60>>2]=0;G=+o[b+8>>2]+ +o[d+8>>2];k[H+92>>2]=0;f=+Upa(H+92|0,b,c,d,e);if(f>G){r=H;return}k[H+88>>2]=0;g=+Upa(H+88|0,d,e,b,c);if(!(g>G)){j=+o[e>>2];t=+o[e+4>>2];p=+o[e+8>>2];q=+o[e+12>>2];h=+o[c>>2];s=+o[c+4>>2];l=+o[c+8>>2];m=+o[c+12>>2];if(g>f+5.000000237487257e-04){c=2;e=H+88|0;E=1;z=d;A=j;B=q;C=t;D=p;F=h;t=s}else{c=1;e=H+92|0;E=0;z=b;b=d;A=h;B=m;C=s;D=l;F=j;l=p;m=q}y=k[e>>2]|0;k[a+56>>2]=c;n=k[b+148>>2]|0;if((y|0)>-1)e=(k[z+148>>2]|0)>(y|0);else e=0;nT(e,442796);f=+o[z+84+(y<<3)>>2];x=+o[z+84+(y<<3)+4>>2];g=B*f-D*x;x=D*f+B*x;f=m*g+l*x;g=m*x-l*g;if((n|0)>0){d=0;e=0;j=3402823466385288598117041.0e14;while(1){h=f*+o[b+84+(d<<3)>>2]+g*+o[b+84+(d<<3)+4>>2];c=h>2];q=+o[b+20+(e<<3)+4>>2];o[H+64>>2]=F+(m*p-l*q);o[H+64+4>>2]=t+(l*p+m*q);i[H+64+8>>0]=y;i[H+64+8+1>>0]=e;i[H+64+8+2>>0]=1;i[H+64+8+3>>0]=0;q=+o[b+20+(n<<3)>>2];p=+o[b+20+(n<<3)+4>>2];o[H+64+12>>2]=F+(m*q-l*p);o[H+64+16>>2]=t+(l*q+m*p);i[H+64+20>>0]=y;i[H+64+20+1>>0]=n;i[H+64+20+2>>0]=1;i[H+64+20+3>>0]=0;e=(y+1|0)<(k[z+148>>2]|0)?y+1|0:0;p=+o[z+20+(y<<3)>>2];q=+o[z+20+(y<<3)+4>>2];s=+o[z+20+(e<<3)>>2];j=+o[z+20+(e<<3)+4>>2];f=+X(+((s-p)*(s-p)+(j-q)*(j-q)));if(f<1.1920928955078125e-07){g=s-p;h=j-q}else{g=(s-p)*(1.0/f);h=(j-q)*(1.0/f)}u=B*g-D*h;v=D*g+B*h;o[H+56>>2]=u;o[H+56+4>>2]=v;w=A+(B*p-D*q);x=C+(D*p+B*q);f=-g;o[H>>2]=-u;o[H+4>>2]=-v;if((Wpa(H+32|0,H+64|0,H,G-(w*u+x*v),y)|0)>=2)if((Wpa(H+8|0,H+32|0,H+56|0,G+((A+(B*s-D*j))*u+(C+(D*s+B*j))*v),e)|0)>=2){o[a+40>>2]=h;o[a+44>>2]=f;o[a+48>>2]=(p+s)*.5;o[a+52>>2]=(q+j)*.5;f=+o[H+8>>2];g=+o[H+8+4>>2];if(!(E<<24>>24)){if(!(v*f+g*-u-(w*v+x*-u)<=G))e=0;else{D=f-F;C=g-t;o[a>>2]=m*D+l*C;o[a+4>>2]=m*C-l*D;k[a+16>>2]=k[H+8+8>>2];e=1}f=+o[H+8+12>>2];g=+o[H+8+16>>2];if(v*f+g*-u-(w*v+x*-u)<=G){G=f-F;F=g-t;o[a+(e*20|0)>>2]=m*G+l*F;o[a+(e*20|0)+4>>2]=m*F-l*G;k[a+(e*20|0)+16>>2]=k[H+8+20>>2];e=e+1|0}}else{if(!(v*f+g*-u-(w*v+x*-u)<=G))e=0;else{D=f-F;C=g-t;o[a>>2]=m*D+l*C;o[a+4>>2]=m*C-l*D;e=k[H+8+8>>2]|0;k[a+16>>2]=e;i[a+16>>0]=e>>>8;i[a+16+1>>0]=e;i[a+16+2>>0]=e>>>24;i[a+16+3>>0]=e>>>16;e=1}f=+o[H+8+12>>2];g=+o[H+8+16>>2];if(v*f+g*-u-(w*v+x*-u)<=G){G=f-F;F=g-t;o[a+(e*20|0)>>2]=m*G+l*F;o[a+(e*20|0)+4>>2]=m*F-l*G;E=a+(e*20|0)+16|0;z=k[H+8+20>>2]|0;k[E>>2]=z;i[E>>0]=z>>>8;i[E+1>>0]=z;i[E+2>>0]=z>>>24;i[E+3>>0]=z>>>16;e=e+1|0}}k[a+60>>2]=e}}r=H;return}function Upa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0.0,g=0.0,h=0.0,i=0.0,j=0.0,l=0.0,m=0.0,n=0,p=0.0,q=0.0,r=0.0,s=0,t=0.0,u=0.0,v=0,w=0.0;v=k[b+148>>2]|0;s=k[d+148>>2]|0;t=+o[e+12>>2];u=+o[c+8>>2];p=+o[e+8>>2];q=+o[c+12>>2];r=+o[c>>2]-+o[e>>2];m=+o[c+4>>2]-+o[e+4>>2];if((v|0)<=0){v=0;u=-3402823466385288598117041.0e14;k[a>>2]=v;return +u}if((s|0)>0){c=0;n=0;f=-3402823466385288598117041.0e14}else{c=0;e=0;f=-3402823466385288598117041.0e14;do{d=f<3402823466385288598117041.0e14;f=d?3402823466385288598117041.0e14:f;c=d?e:c;e=e+1|0}while((e|0)!=(v|0));k[a>>2]=c;return +f}do{h=+o[b+84+(n<<3)>>2];i=+o[b+84+(n<<3)+4>>2];j=+o[b+20+(n<<3)>>2];l=+o[b+20+(n<<3)+4>>2];e=0;g=3402823466385288598117041.0e14;do{w=((u*p+t*q)*h-(t*u-p*q)*i)*(+o[d+20+(e<<3)>>2]-(t*r+p*m+((u*p+t*q)*j-(t*u-p*q)*l)))+((t*u-p*q)*h+(u*p+t*q)*i)*(+o[d+20+(e<<3)+4>>2]-(t*m-p*r+((t*u-p*q)*j+(u*p+t*q)*l)));g=wf;f=e?g:f;c=e?n:c;n=n+1|0}while((n|0)!=(v|0));k[a>>2]=c;return +f}function Vpa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=+d;e=e|0;f=+f;var g=0.0,h=0.0,i=0,j=0.0,l=0.0,m=0.0,n=0.0,p=0.0,q=0.0,r=0.0;if(!(k[b+60>>2]|0))return;switch(k[b+56>>2]|0){case 0:{o[a>>2]=1.0;o[a+4>>2]=0.0;p=+o[c+12>>2];j=+o[b+48>>2];g=+o[c+8>>2];m=+o[b+52>>2];n=+o[c>>2]+(p*j-g*m);m=j*g+p*m+ +o[c+4>>2];p=+o[e+12>>2];g=+o[b>>2];j=+o[e+8>>2];h=+o[b+4>>2];l=+o[e>>2]+(p*g-j*h);h=g*j+p*h+ +o[e+4>>2];if((n-l)*(n-l)+(m-h)*(m-h)>1.4210854715202004e-14){o[a>>2]=l-n;o[a+4>>2]=h-m;g=+X(+((l-n)*(l-n)+(h-m)*(h-m)));if(g<1.1920928955078125e-07){j=l-n;g=h-m}else{o[a>>2]=(l-n)*(1.0/g);o[a+4>>2]=(h-m)*(1.0/g);j=(l-n)*(1.0/g);g=(h-m)*(1.0/g)}}else{j=1.0;g=0.0}p=n+j*d;d=m+g*d;n=l-j*f;f=h-g*f;o[a+8>>2]=(p+n)*.5;o[a+12>>2]=(d+f)*.5;o[a+24>>2]=(n-p)*j+(f-d)*g;return}case 1:{g=+o[c+12>>2];h=+o[b+40>>2];j=+o[c+8>>2];l=+o[b+44>>2];o[a>>2]=g*h-j*l;o[a+4>>2]=h*j+g*l;n=+o[c+12>>2];r=+o[b+48>>2];q=+o[c+8>>2];m=+o[b+52>>2];p=+o[c>>2]+(n*r-q*m);m=r*q+n*m+ +o[c+4>>2];if((k[b+60>>2]|0)<=0)return;n=g*h-j*l;g=h*j+g*l;i=0;while(1){r=+o[e+12>>2];h=+o[b+(i*20|0)>>2];l=+o[e+8>>2];q=+o[b+(i*20|0)+4>>2];j=+o[e>>2]+(r*h-l*q);q=h*l+r*q+ +o[e+4>>2];r=d-(n*(j-p)+(q-m)*g);l=j+n*r;r=q+g*r;n=j-n*f;q=q-g*f;o[a+8+(i<<3)>>2]=(n+l)*.5;o[a+8+(i<<3)+4>>2]=(q+r)*.5;o[a+24+(i<<2)>>2]=+o[a>>2]*(n-l)+ +o[a+4>>2]*(q-r);i=i+1|0;if((i|0)>=(k[b+60>>2]|0))break;n=+o[a>>2];g=+o[a+4>>2]}return}case 2:{g=+o[e+12>>2];j=+o[b+40>>2];l=+o[e+8>>2];m=+o[b+44>>2];o[a>>2]=g*j-l*m;o[a+4>>2]=j*l+g*m;r=+o[e+12>>2];h=+o[b+48>>2];q=+o[e+8>>2];n=+o[b+52>>2];p=+o[e>>2]+(r*h-q*n);n=h*q+r*n+ +o[e+4>>2];if((k[b+60>>2]|0)>0){h=g*j-l*m;g=j*l+g*m;i=0;do{r=+o[c+12>>2];j=+o[b+(i*20|0)>>2];q=+o[c+8>>2];l=+o[b+(i*20|0)+4>>2];m=+o[c>>2]+(r*j-q*l);l=j*q+r*l+ +o[c+4>>2];r=f-(h*(m-p)+(l-n)*g);q=m+h*r;r=l+g*r;m=m-h*d;h=l-g*d;o[a+8+(i<<3)>>2]=(m+q)*.5;o[a+8+(i<<3)+4>>2]=(h+r)*.5;o[a+24+(i<<2)>>2]=+o[a>>2]*(m-q)+ +o[a+4>>2]*(h-r);i=i+1|0;h=+o[a>>2];g=+o[a+4>>2]}while((i|0)<(k[b+60>>2]|0))}else{h=g*j-l*m;g=j*l+g*m}o[a>>2]=-h;o[a+4>>2]=-g;return}default:return}}function Wpa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=+d;e=e|0;var f=0.0,g=0.0,h=0.0,j=0;h=+o[c>>2];g=+o[c+4>>2];f=h*+o[b>>2]+g*+o[b+4>>2]-d;d=h*+o[b+12>>2]+g*+o[b+16>>2]-d;if(!(f<=0.0))c=0;else{k[a>>2]=k[b>>2];k[a+4>>2]=k[b+4>>2];k[a+8>>2]=k[b+8>>2];c=1}if(d<=0.0){j=a+(c*12|0)|0;k[j>>2]=k[b+12>>2];k[j+4>>2]=k[b+12+4>>2];k[j+8>>2]=k[b+12+8>>2];c=c+1|0}if(!(f*d<0.0)){j=c;return j|0}g=+o[b>>2];h=+o[b+4>>2];h=h+f/(f-d)*(+o[b+16>>2]-h);o[a+(c*12|0)>>2]=g+f/(f-d)*(+o[b+12>>2]-g);o[a+(c*12|0)+4>>2]=h;j=a+(c*12|0)+8|0;i[j>>0]=e;i[j+1>>0]=i[b+8+1>>0]|0;i[j+2>>0]=0;i[j+3>>0]=1;j=c+1|0;return j|0}function Xpa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+128|0;k[g+36+16>>2]=0;k[g+36+20>>2]=0;o[g+36+24>>2]=0.0;k[g+36+44>>2]=0;k[g+36+48>>2]=0;o[g+36+52>>2]=0.0;oS(g+36|0,a,b);oS(g+36+28|0,c,d);k[g+36+56>>2]=k[e>>2];k[g+36+56+4>>2]=k[e+4>>2];k[g+36+56+8>>2]=k[e+8>>2];k[g+36+56+12>>2]=k[e+12>>2];k[g+36+72>>2]=k[f>>2];k[g+36+72+4>>2]=k[f+4>>2];k[g+36+72+8>>2]=k[f+8>>2];k[g+36+72+12>>2]=k[f+12>>2];i[g+36+88>>0]=1;j[g+24+4>>1]=0;qS(g,g+24|0,g+36|0);r=g;return +o[g+16>>2]<1.1920928955078125e-06|0}function Ypa(a){a=a|0;var b=0,c=0,d=0;k[a>>2]=-1;k[a+12>>2]=16;k[a+8>>2]=0;b=kT(576)|0;k[a+4>>2]=b;vBb(b|0,0,(k[a+12>>2]|0)*36|0)|0;b=k[a+12>>2]|0;if((b|0)>1){c=k[a+4>>2]|0;d=0;do{b=d;d=d+1|0;k[c+(b*36|0)+20>>2]=d;k[c+(b*36|0)+32>>2]=-1;b=(k[a+12>>2]|0)+-1|0}while((d|0)<(b|0))}else b=b+-1|0;d=k[a+4>>2]|0;k[d+(b*36|0)+20>>2]=-1;k[d+(((k[a+12>>2]|0)+-1|0)*36|0)+32>>2]=-1;k[a+16>>2]=0;k[a+20>>2]=0;k[a+24>>2]=0;return}function Zpa(a){a=a|0;lT(k[a+4>>2]|0);return}function _pa(a){a=a|0;var b=0,c=0,d=0,e=0;b=k[a+16>>2]|0;if((b|0)==-1){nT((k[a+8>>2]|0)==(k[a+12>>2]|0),442833);c=k[a+4>>2]|0;b=k[a+12>>2]|0;k[a+12>>2]=b<<1;b=kT(b*72|0)|0;k[a+4>>2]=b;ABb(b|0,c|0,(k[a+8>>2]|0)*36|0)|0;lT(c);c=k[a+8>>2]|0;b=(k[a+12>>2]|0)+-1|0;if((c|0)<(b|0)){d=k[a+4>>2]|0;do{b=c;c=c+1|0;k[d+(b*36|0)+20>>2]=c;k[d+(b*36|0)+32>>2]=-1;b=(k[a+12>>2]|0)+-1|0}while((c|0)<(b|0))}d=k[a+4>>2]|0;k[d+(b*36|0)+20>>2]=-1;k[d+(((k[a+12>>2]|0)+-1|0)*36|0)+32>>2]=-1;b=k[a+8>>2]|0;k[a+16>>2]=b;c=a+8|0}else{c=a+8|0;d=k[a+4>>2]|0}e=d+(b*36|0)+20|0;k[a+16>>2]=k[e>>2];k[e>>2]=-1;k[d+(b*36|0)+24>>2]=-1;k[d+(b*36|0)+28>>2]=-1;k[d+(b*36|0)+32>>2]=0;k[d+(b*36|0)+16>>2]=0;k[c>>2]=(k[c>>2]|0)+1;return b|0}function $pa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0.0;d=_pa(a)|0;e=k[a+4>>2]|0;f=+o[b+4>>2]+-.10000000149011612;o[e+(d*36|0)>>2]=+o[b>>2]+-.10000000149011612;o[e+(d*36|0)+4>>2]=f;e=k[a+4>>2]|0;f=+o[b+12>>2]+.10000000149011612;o[e+(d*36|0)+8>>2]=+o[b+8>>2]+.10000000149011612;o[e+(d*36|0)+12>>2]=f;b=k[a+4>>2]|0;k[b+(d*36|0)+16>>2]=c;k[b+(d*36|0)+32>>2]=0;aqa(a,d);return d|0}function aqa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0.0,h=0.0,i=0.0,j=0.0,l=0.0,m=0.0,n=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0,x=0.0,y=0.0,z=0.0,A=0.0,B=0;k[a+24>>2]=(k[a+24>>2]|0)+1;c=k[a>>2]|0;if((c|0)==-1){k[a>>2]=b;k[(k[a+4>>2]|0)+(b*36|0)+20>>2]=-1;return}w=k[a+4>>2]|0;x=+o[w+(b*36|0)>>2];y=+o[w+(b*36|0)+4>>2];z=+o[w+(b*36|0)+8>>2];A=+o[w+(b*36|0)+12>>2];d=k[w+(c*36|0)+24>>2]|0;a:do if((d|0)==-1)f=c;else while(1){e=k[w+(c*36|0)+28>>2]|0;r=+o[w+(c*36|0)+8>>2];s=+o[w+(c*36|0)>>2];t=+o[w+(c*36|0)+12>>2];u=+o[w+(c*36|0)+4>>2];v=((r>z?r:z)-(sA?t:A)-(u>2];h=x>2];j=y>2];m=z>l?z:l;n=+o[w+(d*36|0)+12>>2];p=A>n?A:n;if((k[w+(d*36|0)+24>>2]|0)==-1)g=(m-h+(p-j))*2.0;else g=(m-h+(p-j))*2.0-(l-g+(n-i))*2.0;q=(v-(r-s+(t-u))*2.0)*2.0+g;h=+o[w+(e*36|0)>>2];i=x>2];l=y>2];n=z>m?z:m;p=+o[w+(e*36|0)+12>>2];g=A>p?A:p;if((k[w+(e*36|0)+24>>2]|0)==-1)g=(n-i+(g-l))*2.0;else g=(n-i+(g-l))*2.0-(m-h+(p-j))*2.0;g=(v-(r-s+(t-u))*2.0)*2.0+g;if(v*2.0>2]|0;if((d|0)==-1){f=c;break}}while(0);d=k[w+(f*36|0)+20>>2]|0;e=_pa(a)|0;c=k[a+4>>2]|0;k[c+(e*36|0)+20>>2]=d;k[c+(e*36|0)+16>>2]=0;u=+o[c+(f*36|0)>>2];v=+o[c+(f*36|0)+4>>2];o[c+(e*36|0)>>2]=x>2]=y>2];y=+o[c+(f*36|0)+12>>2];o[c+(e*36|0)+8>>2]=z>x?z:x;o[c+(e*36|0)+12>>2]=A>y?A:y;c=k[a+4>>2]|0;k[c+(e*36|0)+32>>2]=(k[c+(f*36|0)+32>>2]|0)+1;if((d|0)==-1){k[c+(e*36|0)+24>>2]=f;w=k[a+4>>2]|0;k[w+(e*36|0)+28>>2]=b;k[w+(f*36|0)+20>>2]=e;k[w+(b*36|0)+20>>2]=e;k[a>>2]=e}else{if((k[c+(d*36|0)+24>>2]|0)==(f|0))k[c+(d*36|0)+24>>2]=e;else k[c+(d*36|0)+28>>2]=e;w=k[a+4>>2]|0;k[w+(e*36|0)+24>>2]=f;k[w+(e*36|0)+28>>2]=b;k[w+(f*36|0)+20>>2]=e;k[w+(b*36|0)+20>>2]=e}c=k[(k[a+4>>2]|0)+(b*36|0)+20>>2]|0;if((c|0)==-1)return;do{b=bqa(a,c)|0;f=k[a+4>>2]|0;e=k[f+(b*36|0)+24>>2]|0;f=k[f+(b*36|0)+28>>2]|0;nT((e|0)!=-1,443186);nT((f|0)!=-1,443208);w=k[a+4>>2]|0;B=k[w+(e*36|0)+32>>2]|0;d=k[w+(f*36|0)+32>>2]|0;k[w+(b*36|0)+32>>2]=((B|0)>(d|0)?B:d)+1;A=+o[w+(e*36|0)>>2];z=+o[w+(f*36|0)>>2];y=+o[w+(e*36|0)+4>>2];x=+o[w+(f*36|0)+4>>2];o[w+(b*36|0)>>2]=A>2]=y>2];y=+o[w+(f*36|0)+8>>2];z=+o[w+(e*36|0)+12>>2];A=+o[w+(f*36|0)+12>>2];o[w+(b*36|0)+8>>2]=x>y?x:y;o[w+(b*36|0)+12>>2]=z>A?z:A;c=k[(k[a+4>>2]|0)+(b*36|0)+20>>2]|0}while((c|0)!=-1);return}function bqa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0.0,m=0.0,n=0.0,p=0.0,q=0.0,r=0.0;nT((b|0)!=-1,442918);g=k[a+4>>2]|0;j=k[g+(b*36|0)+24>>2]|0;if((j|0)==-1){j=b;return j|0}if((k[g+(b*36|0)+32>>2]|0)<2){j=b;return j|0}i=k[g+(b*36|0)+28>>2]|0;if((j|0)>-1)c=(j|0)<(k[a+12>>2]|0);else c=0;nT(c,442936);if((i|0)>-1)c=(i|0)<(k[a+12>>2]|0);else c=0;nT(c,442967);h=k[a+4>>2]|0;c=(k[h+(i*36|0)+32>>2]|0)-(k[h+(j*36|0)+32>>2]|0)|0;if((c|0)>1){e=k[h+(i*36|0)+24>>2]|0;f=k[h+(i*36|0)+28>>2]|0;if((e|0)>-1)c=(e|0)<(k[a+12>>2]|0);else c=0;nT(c,442998);if((f|0)>-1)c=(f|0)<(k[a+12>>2]|0);else c=0;nT(c,443029);k[h+(i*36|0)+24>>2]=b;k[h+(i*36|0)+20>>2]=k[g+(b*36|0)+20>>2];k[g+(b*36|0)+20>>2]=i;c=k[h+(i*36|0)+20>>2]|0;do if((c|0)==-1)k[a>>2]=i;else{d=k[a+4>>2]|0;if((k[d+(c*36|0)+24>>2]|0)==(b|0)){k[d+(c*36|0)+24>>2]=i;break}else{nT((k[d+(c*36|0)+28>>2]|0)==(b|0),443060);k[(k[a+4>>2]|0)+((k[h+(i*36|0)+20>>2]|0)*36|0)+28>>2]=i;break}}while(0);if((k[h+(e*36|0)+32>>2]|0)>(k[h+(f*36|0)+32>>2]|0)){k[h+(i*36|0)+28>>2]=e;k[g+(b*36|0)+28>>2]=f;k[h+(f*36|0)+20>>2]=b;r=+o[h+(j*36|0)>>2];l=+o[h+(f*36|0)>>2];l=r>2];n=+o[h+(f*36|0)+4>>2];n=r>2]=l;o[g+(b*36|0)+4>>2]=n;r=+o[h+(j*36|0)+8>>2];q=+o[h+(f*36|0)+8>>2];p=+o[h+(j*36|0)+12>>2];m=+o[h+(f*36|0)+12>>2];o[g+(b*36|0)+8>>2]=r>q?r:q;o[g+(b*36|0)+12>>2]=p>m?p:m;m=+o[h+(e*36|0)>>2];p=+o[h+(e*36|0)+4>>2];o[h+(i*36|0)>>2]=l>2]=n>2];n=+o[h+(e*36|0)+8>>2];m=+o[g+(b*36|0)+12>>2];l=+o[h+(e*36|0)+12>>2];o[h+(i*36|0)+8>>2]=p>n?p:n;o[h+(i*36|0)+12>>2]=m>l?m:l;c=k[h+(j*36|0)+32>>2]|0;j=k[h+(f*36|0)+32>>2]|0;j=((c|0)>(j|0)?c:j)+1|0;k[g+(b*36|0)+32>>2]=j;c=k[h+(e*36|0)+32>>2]|0;c=(j|0)>(c|0)?j:c}else{k[h+(i*36|0)+28>>2]=f;k[g+(b*36|0)+28>>2]=e;k[h+(e*36|0)+20>>2]=b;l=+o[h+(j*36|0)>>2];r=+o[h+(e*36|0)>>2];r=l>2];p=+o[h+(e*36|0)+4>>2];p=l>2]=r;o[g+(b*36|0)+4>>2]=p;l=+o[h+(j*36|0)+8>>2];m=+o[h+(e*36|0)+8>>2];n=+o[h+(j*36|0)+12>>2];q=+o[h+(e*36|0)+12>>2];o[g+(b*36|0)+8>>2]=l>m?l:m;o[g+(b*36|0)+12>>2]=n>q?n:q;q=+o[h+(f*36|0)>>2];n=+o[h+(f*36|0)+4>>2];o[h+(i*36|0)>>2]=r>2]=p>2];p=+o[h+(f*36|0)+8>>2];q=+o[g+(b*36|0)+12>>2];r=+o[h+(f*36|0)+12>>2];o[h+(i*36|0)+8>>2]=n>p?n:p;o[h+(i*36|0)+12>>2]=q>r?q:r;c=k[h+(j*36|0)+32>>2]|0;j=k[h+(e*36|0)+32>>2]|0;j=((c|0)>(j|0)?c:j)+1|0;k[g+(b*36|0)+32>>2]=j;c=k[h+(f*36|0)+32>>2]|0;c=(j|0)>(c|0)?j:c}k[h+(i*36|0)+32>>2]=c+1;j=i;return j|0}if((c|0)>=-1){j=b;return j|0}e=k[h+(j*36|0)+24>>2]|0;f=k[h+(j*36|0)+28>>2]|0;if((e|0)>-1)c=(e|0)<(k[a+12>>2]|0);else c=0;nT(c,443092);if((f|0)>-1)c=(f|0)<(k[a+12>>2]|0);else c=0;nT(c,443123);k[h+(j*36|0)+24>>2]=b;k[h+(j*36|0)+20>>2]=k[g+(b*36|0)+20>>2];k[g+(b*36|0)+20>>2]=j;c=k[h+(j*36|0)+20>>2]|0;do if((c|0)==-1)k[a>>2]=j;else{d=k[a+4>>2]|0;if((k[d+(c*36|0)+24>>2]|0)==(b|0)){k[d+(c*36|0)+24>>2]=j;break}else{nT((k[d+(c*36|0)+28>>2]|0)==(b|0),443154);k[(k[a+4>>2]|0)+((k[h+(j*36|0)+20>>2]|0)*36|0)+28>>2]=j;break}}while(0);if((k[h+(e*36|0)+32>>2]|0)>(k[h+(f*36|0)+32>>2]|0)){k[h+(j*36|0)+28>>2]=e;k[g+(b*36|0)+24>>2]=f;k[h+(f*36|0)+20>>2]=b;l=+o[h+(i*36|0)>>2];r=+o[h+(f*36|0)>>2];r=l>2];p=+o[h+(f*36|0)+4>>2];p=l>2]=r;o[g+(b*36|0)+4>>2]=p;l=+o[h+(i*36|0)+8>>2];m=+o[h+(f*36|0)+8>>2];n=+o[h+(i*36|0)+12>>2];q=+o[h+(f*36|0)+12>>2];o[g+(b*36|0)+8>>2]=l>m?l:m;o[g+(b*36|0)+12>>2]=n>q?n:q;q=+o[h+(e*36|0)>>2];n=+o[h+(e*36|0)+4>>2];o[h+(j*36|0)>>2]=r>2]=p>2];p=+o[h+(e*36|0)+8>>2];q=+o[g+(b*36|0)+12>>2];r=+o[h+(e*36|0)+12>>2];o[h+(j*36|0)+8>>2]=n>p?n:p;o[h+(j*36|0)+12>>2]=q>r?q:r;c=k[h+(i*36|0)+32>>2]|0;i=k[h+(f*36|0)+32>>2]|0;i=((c|0)>(i|0)?c:i)+1|0;k[g+(b*36|0)+32>>2]=i;c=k[h+(e*36|0)+32>>2]|0;c=(i|0)>(c|0)?i:c}else{k[h+(j*36|0)+28>>2]=f;k[g+(b*36|0)+24>>2]=e;k[h+(e*36|0)+20>>2]=b;l=+o[h+(i*36|0)>>2];r=+o[h+(e*36|0)>>2];r=l>2];p=+o[h+(e*36|0)+4>>2];p=l>2]=r;o[g+(b*36|0)+4>>2]=p;l=+o[h+(i*36|0)+8>>2];m=+o[h+(e*36|0)+8>>2];n=+o[h+(i*36|0)+12>>2];q=+o[h+(e*36|0)+12>>2];o[g+(b*36|0)+8>>2]=l>m?l:m;o[g+(b*36|0)+12>>2]=n>q?n:q;q=+o[h+(f*36|0)>>2];n=+o[h+(f*36|0)+4>>2];o[h+(j*36|0)>>2]=r>2]=p>2];p=+o[h+(f*36|0)+8>>2];q=+o[g+(b*36|0)+12>>2];r=+o[h+(f*36|0)+12>>2];o[h+(j*36|0)+8>>2]=n>p?n:p;o[h+(j*36|0)+12>>2]=q>r?q:r;c=k[h+(i*36|0)+32>>2]|0;i=k[h+(e*36|0)+32>>2]|0;i=((c|0)>(i|0)?c:i)+1|0;k[g+(b*36|0)+32>>2]=i;c=k[h+(f*36|0)+32>>2]|0;c=(i|0)>(c|0)?i:c}k[h+(j*36|0)+32>>2]=c+1;return j|0}function cqa(a,b){a=a|0;b=b|0;var c=0;if((b|0)>-1)c=(k[a+12>>2]|0)>(b|0);else c=0;nT(c,443763);nT((k[(k[a+4>>2]|0)+(b*36|0)+24>>2]|0)==-1,443230);dqa(a,b);if((b|0)>-1)c=(k[a+12>>2]|0)>(b|0);else c=0;nT(c,442863);nT((k[a+8>>2]|0)>0,442902);c=k[a+4>>2]|0;k[c+(b*36|0)+20>>2]=k[a+16>>2];k[c+(b*36|0)+32>>2]=-1;k[a+16>>2]=b;k[a+8>>2]=(k[a+8>>2]|0)+-1;return}function dqa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0.0,h=0.0,i=0.0,j=0.0;if((k[a>>2]|0)==(b|0)){k[a>>2]=-1;return}e=k[a+4>>2]|0;f=k[e+(b*36|0)+20>>2]|0;c=k[e+(f*36|0)+20>>2]|0;d=k[e+(f*36|0)+24>>2]|0;if((d|0)==(b|0))d=k[e+(f*36|0)+28>>2]|0;if((c|0)==-1){k[a>>2]=d;k[e+(d*36|0)+20>>2]=-1;if((f|0)>-1)c=(k[a+12>>2]|0)>(f|0);else c=0;nT(c,442863);nT((k[a+8>>2]|0)>0,442902);e=k[a+4>>2]|0;k[e+(f*36|0)+20>>2]=k[a+16>>2];k[e+(f*36|0)+32>>2]=-1;k[a+16>>2]=f;k[a+8>>2]=(k[a+8>>2]|0)+-1;return}if((k[e+(c*36|0)+24>>2]|0)==(f|0))k[e+(c*36|0)+24>>2]=d;else k[e+(c*36|0)+28>>2]=d;k[e+(d*36|0)+20>>2]=c;if((f|0)>-1)d=(k[a+12>>2]|0)>(f|0);else d=0;nT(d,442863);nT((k[a+8>>2]|0)>0,442902);e=k[a+4>>2]|0;k[e+(f*36|0)+20>>2]=k[a+16>>2];k[e+(f*36|0)+32>>2]=-1;k[a+16>>2]=f;k[a+8>>2]=(k[a+8>>2]|0)+-1;do{f=bqa(a,c)|0;e=k[a+4>>2]|0;d=k[e+(f*36|0)+24>>2]|0;b=k[e+(f*36|0)+28>>2]|0;g=+o[e+(d*36|0)>>2];h=+o[e+(b*36|0)>>2];i=+o[e+(d*36|0)+4>>2];j=+o[e+(b*36|0)+4>>2];o[e+(f*36|0)>>2]=g>2]=i>2];i=+o[e+(b*36|0)+8>>2];h=+o[e+(d*36|0)+12>>2];g=+o[e+(b*36|0)+12>>2];o[e+(f*36|0)+8>>2]=j>i?j:i;o[e+(f*36|0)+12>>2]=h>g?h:g;e=k[a+4>>2]|0;d=k[e+(d*36|0)+32>>2]|0;b=k[e+(b*36|0)+32>>2]|0;k[e+(f*36|0)+32>>2]=((d|0)>(b|0)?d:b)+1;c=k[e+(f*36|0)+20>>2]|0}while((c|0)!=-1);return}function eqa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0.0,g=0.0,h=0.0,i=0.0,j=0.0,l=0.0;if((b|0)>-1)e=(k[a+12>>2]|0)>(b|0);else e=0;nT(e,443763);nT((k[(k[a+4>>2]|0)+(b*36|0)+24>>2]|0)==-1,443230);e=k[a+4>>2]|0;if(!(+o[e+(b*36|0)>>2]<=+o[c>>2]))e=c+4|0;else if(!(+o[e+(b*36|0)+4>>2]<=+o[c+4>>2]))e=c+4|0;else if(!(+o[c+8>>2]<=+o[e+(b*36|0)+8>>2]))e=c+4|0;else if(!(+o[c+12>>2]<=+o[e+(b*36|0)+12>>2]))e=c+4|0;else{a=0;return a|0}dqa(a,b);l=+o[c>>2]+-.10000000149011612;j=+o[e>>2]+-.10000000149011612;i=+o[c+8>>2]+.10000000149011612;g=+o[c+12>>2]+.10000000149011612;h=+o[d>>2]*2.0;f=+o[d+4>>2]*2.0;d=k[a+4>>2]|0;o[d+(b*36|0)>>2]=h<0.0?l+h:l;o[d+(b*36|0)+4>>2]=f<0.0?j+f:j;o[d+(b*36|0)+8>>2]=h<0.0?i:i+h;o[d+(b*36|0)+12>>2]=f<0.0?g:g+f;aqa(a,b);a=1;return a|0}function fqa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=k[a+12>>2]|0;if((d|0)<=0)return;a=k[a+4>>2]|0;c=0;do{e=a+(c*36|0)|0;o[e>>2]=+o[e>>2]-+o[b>>2];e=a+(c*36|0)+4|0;o[e>>2]=+o[e>>2]-+o[b+4>>2];e=a+(c*36|0)+8|0;o[e>>2]=+o[e>>2]-+o[b>>2];e=a+(c*36|0)+12|0;o[e>>2]=+o[e>>2]-+o[b+4>>2];c=c+1|0}while((c|0)<(d|0));return}function gqa(a,b){a=a|0;b=b|0;var c=0,d=0.0,e=0,f=0,g=0.0,h=0.0,l=0.0,m=0.0,n=0,p=0.0,q=0.0,s=0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0.0,K=0.0,L=0.0,M=0.0,N=0.0,O=0.0,P=0,Q=0,R=0;R=r;r=r+320|0;k[163682]=(k[163682]|0)+1;k[a>>2]=0;P=k[b+128>>2]|0;k[a+4>>2]=P;c=R+276|0;e=b+56|0;f=c+36|0;do{k[c>>2]=k[e>>2];c=c+4|0;e=e+4|0}while((c|0)<(f|0));c=R+240|0;e=b+92|0;f=c+36|0;do{k[c>>2]=k[e>>2];c=c+4|0;e=e+4|0}while((c|0)<(f|0));O=+o[R+276+24>>2];H=+V(+(O/6.2831854820251465))*6.2831854820251465;o[R+276+24>>2]=O-H;I=+o[R+276+28>>2]-H;o[R+276+28>>2]=I;J=+o[R+240+24>>2];K=+V(+(J/6.2831854820251465))*6.2831854820251465;o[R+240+24>>2]=J-K;L=+o[R+240+28>>2]-K;o[R+240+28>>2]=L;M=(k[t>>2]=P,+o[t>>2]);N=+o[b+24>>2]+ +o[b+52>>2]+-.014999999664723873;N=N<.004999999888241291?.004999999888241291:N;nT(N>1.2499999720603228e-03,443256);j[R+228+4>>1]=0;k[R+136>>2]=k[b>>2];k[R+136+4>>2]=k[b+4>>2];k[R+136+8>>2]=k[b+8>>2];k[R+136+12>>2]=k[b+12>>2];k[R+136+16>>2]=k[b+16>>2];k[R+136+20>>2]=k[b+20>>2];k[R+136+24>>2]=k[b+24>>2];c=R+136+28|0;k[c>>2]=k[b+28>>2];k[c+4>>2]=k[b+28+4>>2];k[c+8>>2]=k[b+28+8>>2];k[c+12>>2]=k[b+28+12>>2];k[c+16>>2]=k[b+28+16>>2];k[c+20>>2]=k[b+28+20>>2];k[c+24>>2]=k[b+28+24>>2];i[R+136+88>>0]=0;v=+o[R+276+8>>2];w=+o[R+276+12>>2];x=+o[R+276+16>>2];y=+o[R+276+20>>2];z=+o[R+276>>2];A=+o[R+276+4>>2];B=+o[R+240+8>>2];C=+o[R+240+12>>2];D=+o[R+240+16>>2];E=+o[R+240+20>>2];F=+o[R+240>>2];G=+o[R+240+4>>2];c=0;d=0.0;while(1){q=1.0-d;p=q*(O-H)+d*I;m=+_(+p);p=+Z(+p);g=q*(J-K)+d*L;u=+_(+g);g=+Z(+g);o[R+136+56>>2]=q*v+d*x-(p*z-m*A);o[R+136+60>>2]=q*w+d*y-(m*z+p*A);o[R+136+64>>2]=m;o[R+136+68>>2]=p;o[R+136+72>>2]=q*B+d*D-(g*F-u*G);o[R+136+76>>2]=q*C+d*E-(u*F+g*G);o[R+136+80>>2]=u;o[R+136+84>>2]=g;qS(R+112|0,R+228|0,R+136|0);g=+o[R+112+16>>2];if(g<=0.0){d=0.0;e=2;Q=21;break}if(gN+1.2499999720603228e-03)Q=5;else{s=0;u=M;while(1){if(g>N+-1.2499999720603228e-03){e=0;d=u;break a}f=k[R+4>>2]|0;n=k[R>>2]|0;h=+jqa(R+8|0,f,n,d);if(h0.0?l-N:-(l-N))<1.2499999720603228e-03)break;if((e|0)==50){e=50;h=u;break}else{p=l>N?h:p;q=l>N?q:h;m=l>N?l:m;g=l>N?g:l}}n=k[163686]|0;k[163686]=(n|0)>(e|0)?n:e;s=s+1|0;if((s|0)==8){e=0;break a}g=+iqa(R+8|0,R+4|0,R,h);if(g>N+1.2499999720603228e-03){Q=5;break a}else u=h}if((Q|0)==8){Q=0;k[a>>2]=1;o[a+4>>2]=d;e=1;break}else if((Q|0)==10){Q=0;k[a>>2]=3;o[a+4>>2]=d;e=1;break}}while(0);if((Q|0)==5){Q=0;k[a>>2]=4;k[a+4>>2]=P;e=1}c=c+1|0;k[163683]=(k[163683]|0)+1;if(e)break;if((c|0)==20){Q=20;break}}if((Q|0)==20){k[a>>2]=1;o[a+4>>2]=d;c=20}else if((Q|0)==21){k[a>>2]=e;o[a+4>>2]=d;Q=c;a=k[163684]|0;b=(a|0)>(Q|0);Q=b?a:Q;k[163684]=Q;N=+qqa(R+312|0);O=+o[163681];Q=O>N;O=Q?O:N;o[163681]=O;O=+o[163680];O=N+O;o[163680]=O;r=R;return}Q=c;a=k[163684]|0;b=(a|0)>(Q|0);Q=b?a:Q;k[163684]=Q;N=+qqa(R+312|0);O=+o[163681];Q=O>N;O=Q?O:N;o[163681]=O;O=+o[163680];O=N+O;o[163680]=O;r=R;return}function hqa(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=+g;var h=0,i=0,m=0.0,n=0.0,p=0.0,q=0.0,r=0.0,s=0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0;k[a>>2]=c;k[a+4>>2]=e;s=j[b+4>>1]|0;nT((s+-1&65535)<2,443275);i=a+8|0;h=i+36|0;do{k[i>>2]=k[d>>2];i=i+4|0;d=d+4|0}while((i|0)<(h|0));i=a+44|0;d=f;h=i+36|0;do{k[i>>2]=k[d>>2];i=i+4|0;d=d+4|0}while((i|0)<(h|0));v=(1.0-g)*+o[a+32>>2]+ +o[a+36>>2]*g;u=+_(+v);v=+Z(+v);z=+o[a+8>>2];x=+o[a+12>>2];w=(1.0-g)*+o[a+16>>2]+ +o[a+24>>2]*g-(v*z-u*x);x=(1.0-g)*+o[a+20>>2]+ +o[a+28>>2]*g-(u*z+v*x);z=(1.0-g)*+o[a+68>>2]+ +o[a+72>>2]*g;y=+_(+z);z=+Z(+z);r=+o[a+44>>2];t=+o[a+48>>2];A=(1.0-g)*+o[a+52>>2]+ +o[a+60>>2]*g-(z*r-y*t);t=(1.0-g)*+o[a+56>>2]+ +o[a+64>>2]*g-(y*r+z*t);if(s<<16>>16==1){k[a+80>>2]=0;e=k[a>>2]|0;c=l[b+6>>0]|0;nT((k[e+20>>2]|0)>(c|0),443298);e=k[e+16>>2]|0;p=+o[e+(c<<3)>>2];q=+o[e+(c<<3)+4>>2];c=k[a+4>>2]|0;b=l[b+9>>0]|0;nT((k[c+20>>2]|0)>(b|0),443298);c=k[c+16>>2]|0;g=+o[c+(b<<3)>>2];m=+o[c+(b<<3)+4>>2];o[a+92>>2]=A+(z*g-y*m)-(w+(v*p-u*q));o[a+96>>2]=t+(y*g+z*m)-(x+(u*p+v*q));n=+X(+((A+(z*g-y*m)-(w+(v*p-u*q)))*(A+(z*g-y*m)-(w+(v*p-u*q)))+(t+(y*g+z*m)-(x+(u*p+v*q)))*(t+(y*g+z*m)-(x+(u*p+v*q)))));if(n<1.1920928955078125e-07){A=0.0;return +A}o[a+92>>2]=(A+(z*g-y*m)-(w+(v*p-u*q)))*(1.0/n);o[a+96>>2]=1.0/n*(t+(y*g+z*m)-(x+(u*p+v*q)));A=n;return +A}s=j[b+6>>1]|0;if((s&255)<<24>>24==((s&65535)>>>8&255)<<24>>24){k[a+80>>2]=2;s=l[b+9>>0]|0;nT((k[e+20>>2]|0)>(s|0),443298);i=k[e+16>>2]|0;q=+o[i+(s<<3)>>2];r=+o[i+(s<<3)+4>>2];s=l[b+10>>0]|0;nT((k[e+20>>2]|0)>(s|0),443298);e=k[e+16>>2]|0;m=+o[e+(s<<3)>>2];n=+o[e+(s<<3)+4>>2];o[a+92>>2]=n-r;o[a+96>>2]=-(m-q);g=+X(+((m-q)*(m-q)+(n-r)*(n-r)));if(g<1.1920928955078125e-07){p=n-r;g=-(m-q)}else{o[a+92>>2]=(n-r)*(1.0/g);o[a+96>>2]=1.0/g*-(m-q);p=(n-r)*(1.0/g);g=1.0/g*-(m-q)}o[a+84>>2]=(q+m)*.5;o[a+88>>2]=(r+n)*.5;b=l[b+6>>0]|0;nT((k[c+20>>2]|0)>(b|0),443298);c=k[c+16>>2]|0;C=+o[c+(b<<3)>>2];B=+o[c+(b<<3)+4>>2];g=(z*p-y*g)*(w+(v*C-u*B)-(A+(z*((q+m)*.5)-y*((r+n)*.5))))+(y*p+z*g)*(x+(u*C+v*B)-(t+(y*((q+m)*.5)+z*((r+n)*.5))));if(!(g<0.0)){C=g;return +C}C=-+o[a+96>>2];o[a+92>>2]=-+o[a+92>>2];o[a+96>>2]=C;C=-g;return +C}else{k[a+80>>2]=1;c=k[a>>2]|0;e=l[b+6>>0]|0;nT((k[c+20>>2]|0)>(e|0),443298);c=k[c+16>>2]|0;m=+o[c+(e<<3)>>2];n=+o[c+(e<<3)+4>>2];e=k[a>>2]|0;c=l[b+7>>0]|0;nT((k[e+20>>2]|0)>(c|0),443298);e=k[e+16>>2]|0;p=+o[e+(c<<3)>>2];q=+o[e+(c<<3)+4>>2];o[a+92>>2]=q-n;o[a+96>>2]=-(p-m);g=+X(+((p-m)*(p-m)+(q-n)*(q-n)));if(g<1.1920928955078125e-07){r=q-n;g=-(p-m)}else{o[a+92>>2]=(q-n)*(1.0/g);o[a+96>>2]=1.0/g*-(p-m);r=(q-n)*(1.0/g);g=1.0/g*-(p-m)}o[a+84>>2]=(m+p)*.5;o[a+88>>2]=(n+q)*.5;c=k[a+4>>2]|0;b=l[b+9>>0]|0;nT((k[c+20>>2]|0)>(b|0),443298);c=k[c+16>>2]|0;B=+o[c+(b<<3)>>2];C=+o[c+(b<<3)+4>>2];g=(v*r-u*g)*(A+(z*B-y*C)-(w+(v*((m+p)*.5)-u*((n+q)*.5))))+(u*r+v*g)*(t+(y*B+z*C)-(x+(u*((m+p)*.5)+v*((n+q)*.5))));if(!(g<0.0)){C=g;return +C}C=-+o[a+96>>2];o[a+92>>2]=-+o[a+92>>2];o[a+96>>2]=C;C=-g;return +C}return 0.0}function iqa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=+d;var e=0,f=0,g=0,h=0.0,i=0,j=0,l=0.0,m=0.0,n=0,p=0.0,q=0.0,r=0.0,s=0.0,t=0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0;w=(1.0-d)*+o[a+32>>2]+ +o[a+36>>2]*d;v=+_(+w);w=+Z(+w);A=+o[a+8>>2];y=+o[a+12>>2];x=(1.0-d)*+o[a+16>>2]+ +o[a+24>>2]*d-(w*A-v*y);y=(1.0-d)*+o[a+20>>2]+ +o[a+28>>2]*d-(v*A+w*y);A=(1.0-d)*+o[a+68>>2]+ +o[a+72>>2]*d;z=+_(+A);A=+Z(+A);s=+o[a+44>>2];u=+o[a+48>>2];B=(1.0-d)*+o[a+52>>2]+ +o[a+60>>2]*d-(A*s-z*u);u=(1.0-d)*+o[a+56>>2]+ +o[a+64>>2]*d-(z*s+A*u);switch(k[a+80>>2]|0){case 0:{l=+o[a+92>>2];m=+o[a+96>>2];n=k[a>>2]|0;g=k[n+16>>2]|0;i=k[n+20>>2]|0;if((i|0)>1){e=0;h=(w*l+v*m)*+o[g>>2]+(w*m-v*l)*+o[g+4>>2];j=1;while(1){d=(w*l+v*m)*+o[g+(j<<3)>>2]+(w*m-v*l)*+o[g+(j<<3)+4>>2];f=d>h;e=f?j:e;j=j+1|0;if((j|0)==(i|0))break;else h=f?d:h}}else e=0;k[b>>2]=e;g=k[a+4>>2]|0;f=k[g+16>>2]|0;g=k[g+20>>2]|0;if((g|0)>1){e=0;h=(A*-l+z*-m)*+o[f>>2]+(A*-m-z*-l)*+o[f+4>>2];j=1;while(1){d=(A*-l+z*-m)*+o[f+(j<<3)>>2]+(A*-m-z*-l)*+o[f+(j<<3)+4>>2];i=d>h;e=i?j:e;j=j+1|0;if((j|0)==(g|0))break;else h=i?d:h}}else e=0;k[c>>2]=e;f=k[b>>2]|0;if((f|0)>-1)e=(k[n+20>>2]|0)>(f|0);else e=0;nT(e,443298);g=k[n+16>>2]|0;h=+o[g+(f<<3)>>2];d=+o[g+(f<<3)+4>>2];g=k[a+4>>2]|0;e=k[c>>2]|0;if((e|0)>-1)f=(k[g+20>>2]|0)>(e|0);else f=0;nT(f,443298);c=k[g+16>>2]|0;r=+o[c+(e<<3)>>2];s=+o[c+(e<<3)+4>>2];B=+o[a+92>>2]*(B+(A*r-z*s)-(x+(w*h-v*d)))+ +o[a+96>>2]*(u+(z*r+A*s)-(y+(v*h+w*d)));return +B}case 1:{p=+o[a+92>>2];q=+o[a+96>>2];r=+o[a+84>>2];s=+o[a+88>>2];l=A*-(w*p-v*q)+z*-(v*p+w*q);m=A*-(v*p+w*q)-z*-(w*p-v*q);k[b>>2]=-1;n=k[a+4>>2]|0;f=k[n+16>>2]|0;g=k[n+20>>2]|0;if((g|0)>1){e=0;h=l*+o[f>>2]+m*+o[f+4>>2];j=1;while(1){d=l*+o[f+(j<<3)>>2]+m*+o[f+(j<<3)+4>>2];i=d>h;e=i?j:e;j=j+1|0;if((j|0)==(g|0))break;else h=i?d:h}k[c>>2]=e;if((e|0)>-1)t=18;else f=0}else{k[c>>2]=0;e=0;t=18}if((t|0)==18)f=(k[n+20>>2]|0)>(e|0);nT(f,443298);c=k[n+16>>2]|0;l=+o[c+(e<<3)>>2];m=+o[c+(e<<3)+4>>2];B=(w*p-v*q)*(B+(A*l-z*m)-(x+(w*r-v*s)))+(v*p+w*q)*(u+(z*l+A*m)-(y+(v*r+w*s)));return +B}case 2:{p=+o[a+92>>2];q=+o[a+96>>2];r=+o[a+84>>2];s=+o[a+88>>2];l=w*-(A*p-z*q)+v*-(z*p+A*q);m=w*-(z*p+A*q)-v*-(A*p-z*q);k[c>>2]=-1;n=k[a>>2]|0;f=k[n+16>>2]|0;g=k[n+20>>2]|0;if((g|0)>1){e=0;h=l*+o[f>>2]+m*+o[f+4>>2];j=1;while(1){d=l*+o[f+(j<<3)>>2]+m*+o[f+(j<<3)+4>>2];i=d>h;e=i?j:e;j=j+1|0;if((j|0)==(g|0))break;else h=i?d:h}k[b>>2]=e;if((e|0)>-1)t=25;else f=0}else{k[b>>2]=0;e=0;t=25}if((t|0)==25)f=(k[n+20>>2]|0)>(e|0);nT(f,443298);c=k[n+16>>2]|0;l=+o[c+(e<<3)>>2];m=+o[c+(e<<3)+4>>2];B=(A*p-z*q)*(x+(w*l-v*m)-(B+(A*r-z*s)))+(z*p+A*q)*(y+(v*l+w*m)-(u+(z*r+A*s)));return +B}default:{nT(0,619796);k[b>>2]=-1;k[c>>2]=-1;B=0.0;return +B}}return 0.0}function jqa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=+d;var e=0,f=0,g=0.0,h=0.0,i=0.0,j=0.0,l=0.0,m=0.0,n=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0;m=(1.0-d)*+o[a+32>>2]+ +o[a+36>>2]*d;l=+_(+m);m=+Z(+m);r=+o[a+8>>2];p=+o[a+12>>2];n=(1.0-d)*+o[a+16>>2]+ +o[a+24>>2]*d-(m*r-l*p);p=(1.0-d)*+o[a+20>>2]+ +o[a+28>>2]*d-(l*r+m*p);r=(1.0-d)*+o[a+68>>2]+ +o[a+72>>2]*d;q=+_(+r);r=+Z(+r);i=+o[a+44>>2];j=+o[a+48>>2];s=(1.0-d)*+o[a+52>>2]+ +o[a+60>>2]*d-(r*i-q*j);j=(1.0-d)*+o[a+56>>2]+ +o[a+64>>2]*d-(q*i+r*j);switch(k[a+80>>2]|0){case 0:{e=k[a>>2]|0;if((b|0)>-1)f=(k[e+20>>2]|0)>(b|0);else f=0;nT(f,443298);e=k[e+16>>2]|0;g=+o[e+(b<<3)>>2];d=+o[e+(b<<3)+4>>2];e=k[a+4>>2]|0;if((c|0)>-1)f=(k[e+20>>2]|0)>(c|0);else f=0;nT(f,443298);b=k[e+16>>2]|0;h=+o[b+(c<<3)>>2];i=+o[b+(c<<3)+4>>2];s=+o[a+92>>2]*(s+(r*h-q*i)-(n+(m*g-l*d)))+ +o[a+96>>2]*(j+(q*h+r*i)-(p+(l*g+m*d)));return +s}case 1:{d=+o[a+92>>2];g=+o[a+96>>2];h=+o[a+84>>2];i=+o[a+88>>2];e=k[a+4>>2]|0;if((c|0)>-1)f=(k[e+20>>2]|0)>(c|0);else f=0;nT(f,443298);a=k[e+16>>2]|0;u=+o[a+(c<<3)>>2];t=+o[a+(c<<3)+4>>2];s=(m*d-l*g)*(s+(r*u-q*t)-(n+(m*h-l*i)))+(l*d+m*g)*(j+(q*u+r*t)-(p+(l*h+m*i)));return +s}case 2:{d=+o[a+92>>2];g=+o[a+96>>2];h=+o[a+84>>2];i=+o[a+88>>2];e=k[a>>2]|0;if((b|0)>-1)f=(k[e+20>>2]|0)>(b|0);else f=0;nT(f,443298);a=k[e+16>>2]|0;t=+o[a+(b<<3)>>2];u=+o[a+(b<<3)+4>>2];u=(r*d-q*g)*(n+(m*t-l*u)-(s+(r*h-q*i)))+(q*d+r*g)*(p+(l*t+m*u)-(j+(q*h+r*i)));return +u}default:{nT(0,619796);u=0.0;return +u}}return 0.0}function kqa(a){a=a|0;k[a+102400>>2]=0;k[a+102404>>2]=0;k[a+102408>>2]=0;k[a+102796>>2]=0;return}function lqa(a){a=a|0;nT((k[a+102400>>2]|0)==0,443328);nT((k[a+102796>>2]|0)==0,443341);return}function mqa(a,b){a=a|0;b=b|0;var c=0,d=0;nT((k[a+102796>>2]|0)<32,443359);c=k[a+102796>>2]|0;k[a+102412+(c*12|0)+4>>2]=b;d=k[a+102400>>2]|0;if((d+b|0)>102400){d=kT(b)|0;k[a+102412+(c*12|0)>>2]=d;i[a+102412+(c*12|0)+8>>0]=1;c=a+102412+(c*12|0)|0}else{k[a+102412+(c*12|0)>>2]=a+d;i[a+102412+(c*12|0)+8>>0]=0;k[a+102400>>2]=(k[a+102400>>2]|0)+b;c=a+102412+(c*12|0)|0}b=(k[a+102404>>2]|0)+b|0;k[a+102404>>2]=b;d=k[a+102408>>2]|0;k[a+102408>>2]=(d|0)>(b|0)?d:b;k[a+102796>>2]=(k[a+102796>>2]|0)+1;return k[c>>2]|0}function nqa(a,b){a=a|0;b=b|0;var c=0;nT((k[a+102796>>2]|0)>0,443393);c=a+102412+((k[a+102796>>2]|0)*12|0)|0;nT((k[c+-12>>2]|0)==(b|0),443410);if(!(i[c+-4>>0]|0)){k[a+102400>>2]=(k[a+102400>>2]|0)-(k[c+-8>>2]|0);c=c+-8|0}else{lT(b);c=c+-8|0}k[a+102404>>2]=(k[a+102404>>2]|0)-(k[c>>2]|0);k[a+102796>>2]=(k[a+102796>>2]|0)+-1;return}function oqa(a){a=a|0;return}function pqa(a){a=a|0;return}function qqa(a){a=a|0;return 0.0}function rqa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0.0,g=0.0;if((k[b+4>>2]&2139095040|0)==2139095040)d=0;else d=(k[b+8>>2]&2139095040|0)!=2139095040;nT(d,443427);if((k[b+16>>2]&2139095040|0)==2139095040)d=0;else d=(k[b+20>>2]&2139095040|0)!=2139095040;nT(d,443450);nT((k[b+12>>2]&2139095040|0)!=2139095040,443479);nT((k[b+24>>2]&2139095040|0)!=2139095040,443500);f=+o[b+32>>2];nT(f>=0.0&((o[t>>2]=f,k[t>>2]|0)&2139095040|0)!=2139095040,443531);f=+o[b+28>>2];nT(f>=0.0&((o[t>>2]=f,k[t>>2]|0)&2139095040|0)!=2139095040,443591);j[a+4>>1]=0;d=(i[b+39>>0]|0)==0?0:8;j[a+4>>1]=d;if(i[b+38>>0]|0){j[a+4>>1]=d&65535|16;d=(d&65535|16)&65535}e=j[b+36>>1]|0;if((e&255)<<24>>24){d=(d&65535|4)&65535;j[a+4>>1]=d}if((e&65535)>=256){d=(d&65535|2)&65535;j[a+4>>1]=d}if(i[b+40>>0]|0)j[a+4>>1]=d&65535|32;k[a+88>>2]=c;e=k[b+4>>2]|0;c=k[b+4+4>>2]|0;k[a+12>>2]=e;k[a+12+4>>2]=c;f=+o[b+12>>2];g=+_(+f);o[a+20>>2]=g;f=+Z(+f);o[a+24>>2]=f;o[a+28>>2]=0.0;o[a+32>>2]=0.0;k[a+36>>2]=e;k[a+36+4>>2]=c;k[a+44>>2]=e;k[a+44+4>>2]=c;c=k[b+12>>2]|0;k[a+52>>2]=c;k[a+56>>2]=c;o[a+60>>2]=0.0;k[a+108>>2]=0;k[a+112>>2]=0;k[a+92>>2]=0;k[a+96>>2]=0;c=k[b+16+4>>2]|0;k[a+64>>2]=k[b+16>>2];k[a+64+4>>2]=c;k[a+72>>2]=k[b+24>>2];k[a+132>>2]=k[b+28>>2];k[a+136>>2]=k[b+32>>2];k[a+140>>2]=k[b+48>>2];o[a+76>>2]=0.0;o[a+80>>2]=0.0;o[a+84>>2]=0.0;o[a+144>>2]=0.0;c=k[b>>2]|0;k[a>>2]=c;o[a+116>>2]=(c|0)==2?1.0:0.0;o[a+120>>2]=(c|0)==2?1.0:0.0;o[a+124>>2]=0.0;o[a+128>>2]=0.0;k[a+148>>2]=k[b+44>>2];k[a+100>>2]=0;k[a+104>>2]=0;return}function sqa(a){a=a|0;return}function tqa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0.0,h=0.0,i=0.0,l=0.0,n=0.0;f=r;r=r+16|0;nT((k[(k[a+88>>2]|0)+102868>>2]&2|0)==0,443649);if(k[(k[a+88>>2]|0)+102868>>2]&2|0){r=f;return}if((k[a>>2]|0)==(b|0)){r=f;return}k[a>>2]=b;uqa(a);if(!(k[a>>2]|0)){o[a+64>>2]=0.0;o[a+68>>2]=0.0;o[a+72>>2]=0.0;e=k[a+56>>2]|0;k[a+52>>2]=e;b=k[a+44>>2]|0;c=k[a+44+4>>2]|0;k[a+36>>2]=b;k[a+36+4>>2]=c;i=(k[t>>2]=e,+o[t>>2]);n=+_(+i);o[f+8>>2]=n;i=+Z(+i);o[f+12>>2]=i;l=+o[a+28>>2];g=+o[a+32>>2];h=(k[t>>2]=b,+o[t>>2])-(i*l-n*g);g=(k[t>>2]=c,+o[t>>2])-(n*l+i*g);o[f>>2]=h;o[f+4>>2]=g;c=(k[a+88>>2]|0)+102872|0;b=k[a+100>>2]|0;if(b|0)do{_qa(b,c,f,a+12|0);b=k[b+4>>2]|0}while((b|0)!=0)}b=m[a+4>>1]|0;if(!(b&2)){j[a+4>>1]=b|2;o[a+144>>2]=0.0}o[a+76>>2]=0.0;o[a+80>>2]=0.0;o[a+84>>2]=0.0;b=k[a+112>>2]|0;if(b|0)do{e=b;b=k[b+12>>2]|0;Kqa((k[a+88>>2]|0)+102872|0,k[e+4>>2]|0)}while((b|0)!=0);k[a+112>>2]=0;e=(k[a+88>>2]|0)+102872|0;b=k[a+100>>2]|0;if(!b){r=f;return}do{c=k[b+28>>2]|0;if((c|0)>0){a=b+24|0;d=0;do{Lpa(e,k[(k[a>>2]|0)+(d*28|0)+24>>2]|0);d=d+1|0}while((d|0)!=(c|0))}b=k[b+4>>2]|0}while((b|0)!=0);r=f;return}function uqa(a){a=a|0;var b=0,c=0,d=0.0,e=0.0,f=0,g=0.0,h=0,i=0,l=0,m=0.0,n=0.0,p=0.0,q=0.0;i=r;r=r+16|0;o[a+28>>2]=0.0;o[a+32>>2]=0.0;k[a+116>>2]=0;k[a+116+4>>2]=0;k[a+116+8>>2]=0;k[a+116+12>>2]=0;b=k[a>>2]|0;if(b>>>0<2){f=k[a+12>>2]|0;h=k[a+12+4>>2]|0;k[a+36>>2]=f;k[a+36+4>>2]=h;k[a+44>>2]=f;k[a+44+4>>2]=h;k[a+52>>2]=k[a+56>>2];r=i;return}nT((b|0)==2,443678);c=k[157314]|0;f=k[157315]|0;b=k[a+100>>2]|0;if(!b)b=f;else{do{d=+o[b>>2];if(!(d==0.0)){l=k[b+12>>2]|0;Wi[k[(k[l>>2]|0)+28>>2]&31](l,i,d);g=+o[i>>2];o[a+116>>2]=g+ +o[a+116>>2];c=(o[t>>2]=(k[t>>2]=c,+o[t>>2])+g*+o[i+4>>2],k[t>>2]|0);f=(o[t>>2]=(k[t>>2]=f,+o[t>>2])+g*+o[i+8>>2],k[t>>2]|0);o[a+124>>2]=+o[i+12>>2]+ +o[a+124>>2]}b=k[b+4>>2]|0}while((b|0)!=0);b=f}d=+o[a+116>>2];if(d>0.0){o[a+120>>2]=1.0/d;c=(o[t>>2]=(k[t>>2]=c,+o[t>>2])*(1.0/d),k[t>>2]|0);e=d;b=(o[t>>2]=(k[t>>2]=b,+o[t>>2])*(1.0/d),k[t>>2]|0)}else{o[a+116>>2]=1.0;o[a+120>>2]=1.0;e=1.0}d=+o[a+124>>2];if(d>0.0)if(!(j[a+4>>1]&16)){m=(k[t>>2]=c,+o[t>>2]);g=(k[t>>2]=b,+o[t>>2]);d=d-(m*m+g*g)*e;o[a+124>>2]=d;nT(d>0.0,443703);d=m;e=g;g=1.0/+o[a+124>>2]}else h=14;else h=14;if((h|0)==14){o[a+124>>2]=0.0;d=(k[t>>2]=c,+o[t>>2]);e=(k[t>>2]=b,+o[t>>2]);g=0.0}o[a+128>>2]=g;m=+o[a+44>>2];n=+o[a+48>>2];k[a+28>>2]=c;k[a+32>>2]=b;p=+o[a+24>>2];q=+o[a+20>>2];g=+o[a+12>>2]+(d*p-q*e);d=d*q+p*e+ +o[a+16>>2];o[a+44>>2]=g;o[a+48>>2]=d;o[a+36>>2]=g;o[a+40>>2]=d;e=+o[a+72>>2];o[a+64>>2]=+o[a+64>>2]-e*(d-n);o[a+68>>2]=e*(g-m)+ +o[a+68>>2];r=i;return}function vqa(a){a=a|0;var b=0,c=0,d=0,e=0.0,f=0.0,g=0.0,h=0.0,i=0.0;d=r;r=r+16|0;i=+o[a+52>>2];g=+_(+i);o[d+8>>2]=g;i=+Z(+i);o[d+12>>2]=i;h=+o[a+28>>2];f=+o[a+32>>2];e=+o[a+40>>2]-(h*g+i*f);o[d>>2]=+o[a+36>>2]-(i*h-g*f);o[d+4>>2]=e;c=(k[a+88>>2]|0)+102872|0;b=k[a+100>>2]|0;if(!b){r=d;return}do{_qa(b,c,d,a+12|0);b=k[b+4>>2]|0}while((b|0)!=0);r=d;return}function wqa(a,b){a=a|0;b=b|0;var c=0,d=0;nT((k[(k[a+88>>2]|0)+102868>>2]&2|0)==0,443649);d=k[a+88>>2]|0;if(k[d+102868>>2]&2|0){a=0;return a|0}c=eT(d,44)|0;Vqa(c);Wqa(c,d,a,b);if(j[a+4>>1]&32)Yqa(c,(k[a+88>>2]|0)+102872|0,a+12|0);k[c+4>>2]=k[a+100>>2];k[a+100>>2]=c;k[a+104>>2]=(k[a+104>>2]|0)+1;k[c+8>>2]=a;if(+o[c>>2]>0.0)uqa(a);a=(k[a+88>>2]|0)+102868|0;k[a>>2]=k[a>>2]|1;a=c;return a|0}function xqa(a,b){a=a|0;b=b|0;var c=0,d=0;nT((k[(k[a+88>>2]|0)+102868>>2]&2|0)==0,443649);if(k[(k[a+88>>2]|0)+102868>>2]&2|0)return;nT((k[b+8>>2]|0)==(a|0),443714);nT((k[a+104>>2]|0)>0,443738);c=k[a+100>>2]|0;a:do if(!c)c=0;else{d=a+100|0;while(1){if((c|0)==(b|0)){c=d;break}d=c+4|0;c=k[d>>2]|0;if(!c){c=0;break a}}k[c>>2]=k[b+4>>2];c=1}while(0);nT(c,443757);c=k[a+112>>2]|0;if(c|0)do{d=k[c+4>>2]|0;c=k[c+12>>2]|0;if((k[d+48>>2]|0)==(b|0)?1:(k[d+52>>2]|0)==(b|0))Kqa((k[a+88>>2]|0)+102872|0,d)}while((c|0)!=0);c=k[a+88>>2]|0;if(j[a+4>>1]&32)Zqa(b,c+102872|0);Xqa(b,c);k[b+8>>2]=0;k[b+4>>2]=0;fT(c,b,44);k[a+104>>2]=(k[a+104>>2]|0)+-1;uqa(a);return}function yqa(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,f=0.0,g=0.0,h=0.0,i=0.0,l=0;nT((k[(k[a+88>>2]|0)+102868>>2]&2|0)==0,443649);if(k[(k[a+88>>2]|0)+102868>>2]&2|0)return;if((k[a>>2]|0)!=2)return;o[a+124>>2]=0.0;o[a+128>>2]=0.0;d=+o[b>>2];d=!(d<=0.0)?d:1.0;o[a+116>>2]=d;o[a+120>>2]=1.0/d;c=+o[b+12>>2];if(c>0.0)if(!(j[a+4>>1]&16)){f=+o[b+4>>2];e=+o[b+8>>2];o[a+124>>2]=c-d*(f*f+e*e);nT(c-d*(f*f+e*e)>0.0,443703);o[a+128>>2]=1.0/+o[a+124>>2]}f=+o[a+44>>2];c=+o[a+48>>2];l=k[b+4>>2]|0;b=k[b+4+4>>2]|0;k[a+28>>2]=l;k[a+28+4>>2]=b;d=+o[a+24>>2];i=(k[t>>2]=l,+o[t>>2]);h=+o[a+20>>2];g=(k[t>>2]=b,+o[t>>2]);e=+o[a+12>>2]+(d*i-h*g);g=i*h+d*g+ +o[a+16>>2];o[a+44>>2]=e;o[a+48>>2]=g;o[a+36>>2]=e;o[a+40>>2]=g;d=+o[a+72>>2];o[a+64>>2]=+o[a+64>>2]-d*(g-c);o[a+68>>2]=d*(e-f)+ +o[a+68>>2];return}function zqa(a,b){a=a|0;b=b|0;if((k[a>>2]|0)!=2)if((k[b>>2]|0)!=2){b=0;return b|0}a=k[a+108>>2]|0;if(!a){b=1;return b|0}while(1){if((k[a>>2]|0)==(b|0))if(!(i[(k[a+4>>2]|0)+61>>0]|0)){a=0;b=7;break}a=k[a+12>>2]|0;if(!a){a=1;b=7;break}}if((b|0)==7)return a|0;return 0}function Aqa(a,b,c){a=a|0;b=b|0;c=+c;var d=0,e=0.0,f=0.0,g=0.0,h=0.0,i=0.0,j=0;nT((k[(k[a+88>>2]|0)+102868>>2]&2|0)==0,443649);d=k[a+88>>2]|0;if(k[d+102868>>2]&2|0)return;h=+_(+c);o[a+20>>2]=h;g=+Z(+c);o[a+24>>2]=g;j=k[b>>2]|0;b=k[b+4>>2]|0;k[a+12>>2]=j;k[a+12+4>>2]=b;i=+o[a+28>>2];e=+o[a+32>>2];f=(k[t>>2]=j,+o[t>>2])+(g*i-h*e);e=i*h+g*e+(k[t>>2]=b,+o[t>>2]);o[a+44>>2]=f;o[a+48>>2]=e;o[a+56>>2]=c;o[a+36>>2]=f;o[a+40>>2]=e;o[a+52>>2]=c;b=k[a+100>>2]|0;if(!b)return;do{_qa(b,d+102872|0,a+12|0,a+12|0);b=k[b+4>>2]|0}while((b|0)!=0);return}function Bqa(a,b){a=a|0;b=b|0;var c=0;nT((k[(k[a+88>>2]|0)+102868>>2]&2|0)==0,443649);c=j[a+4>>1]|0;if(!((c&32)!=0^b))return;if(b){j[a+4>>1]=c&65535|32;b=(k[a+88>>2]|0)+102872|0;c=k[a+100>>2]|0;if(!c)return;do{Yqa(c,b,a+12|0);c=k[c+4>>2]|0}while((c|0)!=0);return}j[a+4>>1]=c&65503;b=(k[a+88>>2]|0)+102872|0;c=k[a+100>>2]|0;if(c|0)do{Zqa(c,b);c=k[c+4>>2]|0}while((c|0)!=0);c=k[a+112>>2]|0;if(c|0)do{b=c;c=k[c+12>>2]|0;Kqa((k[a+88>>2]|0)+102872|0,k[b+4>>2]|0)}while((c|0)!=0);k[a+112>>2]=0;return}function Cqa(a,b){a=a|0;b=b|0;var c=0;c=m[a+4>>1]|0;if(!((c&16|0)!=0^b))return;j[a+4>>1]=b?c|16:c&65519;o[a+72>>2]=0.0;uqa(a);return}function Dqa(a){a=a|0;return}function Eqa(a){a=a|0;CAb(a);return}function Fqa(a,b){a=a|0;b=b|0;return}function Gqa(a,b){a=a|0;b=b|0;return}function Hqa(a,b,c){a=a|0;b=b|0;c=c|0;return}function Iqa(a,b,c){a=a|0;b=b|0;c=c|0;return}function Jqa(a){a=a|0;Gpa(a);k[a+60>>2]=0;k[a+64>>2]=0;k[a+68>>2]=31708;k[a+72>>2]=31712;k[a+76>>2]=0;return}function Kqa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=k[(k[b+48>>2]|0)+8>>2]|0;f=k[(k[b+52>>2]|0)+8>>2]|0;c=k[a+72>>2]|0;if(c|0)if(k[b+4>>2]&2|0)Di[k[(k[c>>2]|0)+12>>2]&511](c,b);c=k[b+8>>2]|0;if(c|0)k[c+12>>2]=k[b+12>>2];d=k[b+12>>2]|0;if(d|0)k[d+8>>2]=c;if((k[a+60>>2]|0)==(b|0))k[a+60>>2]=d;c=k[b+24>>2]|0;if(c|0)k[c+12>>2]=k[b+28>>2];d=k[b+28>>2]|0;if(d|0)k[d+8>>2]=c;if((b+16|0)==(k[e+112>>2]|0))k[e+112>>2]=d;c=k[b+40>>2]|0;if(c|0)k[c+12>>2]=k[b+44>>2];d=k[b+44>>2]|0;if(d|0)k[d+8>>2]=c;if((b+32|0)!=(k[f+112>>2]|0)){f=a+76|0;f=k[f>>2]|0;LT(b,f);a=a+64|0;b=k[a>>2]|0;b=b+-1|0;k[a>>2]=b;return}k[f+112>>2]=d;f=a+76|0;f=k[f>>2]|0;LT(b,f);a=a+64|0;b=k[a>>2]|0;b=b+-1|0;k[a>>2]=b;return}function Lqa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0;b=k[a+60>>2]|0;if(!b)return;do{h=k[b+48>>2]|0;i=k[b+52>>2]|0;g=k[b+56>>2]|0;l=k[b+60>>2]|0;c=k[h+8>>2]|0;f=k[i+8>>2]|0;d=b+4|0;do if(!(k[d>>2]&8))m=10;else{if(!(zqa(f,c)|0)){l=k[b+12>>2]|0;Kqa(a,b);b=l;break}e=k[a+68>>2]|0;if(e|0)if(!(Ri[k[(k[e>>2]|0)+8>>2]&255](e,h,i)|0)){l=k[b+12>>2]|0;Kqa(a,b);b=l;break}k[d>>2]=k[d>>2]&-9;m=10}while(0);do if((m|0)==10){m=0;if(!(j[c+4>>1]&2))d=0;else d=(k[c>>2]|0)!=0;if(!(j[f+4>>1]&2))c=0;else c=(k[f>>2]|0)!=0;if(!(d|c)){b=k[b+12>>2]|0;break}f=k[(k[h+24>>2]|0)+(g*28|0)+24>>2]|0;e=k[(k[i+24>>2]|0)+(l*28|0)+24>>2]|0;if((f|0)>-1)c=(k[a+12>>2]|0)>(f|0);else c=0;nT(c,443763);c=k[a+4>>2]|0;if((e|0)>-1)d=(k[a+12>>2]|0)>(e|0);else d=0;nT(d,443763);l=k[a+4>>2]|0;if((+o[l+(e*36|0)>>2]-+o[c+(f*36|0)+8>>2]>0.0?1:+o[l+(e*36|0)+4>>2]-+o[c+(f*36|0)+12>>2]>0.0)|+o[c+(f*36|0)>>2]-+o[l+(e*36|0)+8>>2]>0.0|+o[c+(f*36|0)+4>>2]-+o[l+(e*36|0)+12>>2]>0.0){l=k[b+12>>2]|0;Kqa(a,b);b=l;break}else{PT(b,k[a+72>>2]|0);b=k[b+12>>2]|0;break}}while(0)}while((b|0)!=0);return}function Mqa(a){a=a|0;Nqa(a,a);return}function Nqa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;i=r;r=r+16|0;k[a+52>>2]=0;c=k[a+40>>2]|0;if((c|0)>0){e=0;do{d=k[(k[a+32>>2]|0)+(e<<2)>>2]|0;k[a+56>>2]=d;if((d|0)!=-1){if((d|0)>-1)c=(k[a+12>>2]|0)>(d|0);else c=0;nT(c,443763);Tqa(a,a,(k[a+4>>2]|0)+(d*36|0)|0);c=k[a+40>>2]|0}e=e+1|0}while((e|0)<(c|0));c=k[a+52>>2]|0}else c=0;k[a+40>>2]=0;h=k[a+44>>2]|0;k[i>>2]=347;Pqa(h,h+(c<<3)|0,i);if((k[a+52>>2]|0)<=0){r=i;return}c=0;do{f=k[a+44>>2]|0;h=f+(c<<3)|0;d=k[h>>2]|0;if((d|0)>-1)e=(k[a+12>>2]|0)>(d|0);else e=0;nT(e,443763);g=k[(k[a+4>>2]|0)+(d*36|0)+16>>2]|0;f=f+(c<<3)+4|0;d=k[f>>2]|0;if((d|0)>-1)e=(k[a+12>>2]|0)>(d|0);else e=0;nT(e,443763);Uqa(b,g,k[(k[a+4>>2]|0)+(d*36|0)+16>>2]|0);e=k[a+52>>2]|0;c=c+1|0;do{if((c|0)>=(e|0))break;d=k[a+44>>2]|0;if((k[d+(c<<3)>>2]|0)!=(k[h>>2]|0))break;g=(k[d+(c<<3)+4>>2]|0)==(k[f>>2]|0);c=(g&1)+c|0}while(g)}while((c|0)<(e|0));r=i;return}function Oqa(a,b){a=a|0;b=b|0;var c=0,d=0;c=k[a>>2]|0;d=k[b>>2]|0;if((c|0)<(d|0)){b=1;return b|0}if((c|0)!=(d|0)){b=0;return b|0}b=(k[a+4>>2]|0)<(k[b+4>>2]|0);return b|0}function Pqa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0;a:while(1){l=b;m=b+-8|0;b:while(1){j=a;switch(l-j>>3|0){case 2:{n=4;break a}case 3:{n=6;break a}case 4:{n=14;break a}case 5:{n=15;break a}case 1:case 0:{n=69;break a}default:{}}if((l-j|0)<248){n=21;break a}i=a+(((l-j>>3|0)/2|0)<<3)|0;do if((l-j|0)>7992){d=a+(((l-j>>3|0)/4|0)<<3)|0;f=i+(((l-j>>3|0)/4|0)<<3)|0;e=Qqa(a,d,i,f,c)|0;if(gj[k[c>>2]&511](m,f)|0){g=k[f>>2]|0;h=k[f+4>>2]|0;o=k[m+4>>2]|0;k[f>>2]=k[m>>2];k[f+4>>2]=o;k[m>>2]=g;k[m+4>>2]=h;if(gj[k[c>>2]&511](f,i)|0){h=k[i>>2]|0;o=k[i+4>>2]|0;g=k[f+4>>2]|0;k[i>>2]=k[f>>2];k[i+4>>2]=g;k[f>>2]=h;k[f+4>>2]=o;if(gj[k[c>>2]&511](i,d)|0){h=k[d>>2]|0;o=k[d+4>>2]|0;g=k[i+4>>2]|0;k[d>>2]=k[i>>2];k[d+4>>2]=g;k[i>>2]=h;k[i+4>>2]=o;if(gj[k[c>>2]&511](d,a)|0){o=a;h=k[o>>2]|0;o=k[o+4>>2]|0;f=k[d+4>>2]|0;g=a;k[g>>2]=k[d>>2];k[g+4>>2]=f;k[d>>2]=h;k[d+4>>2]=o;e=e+4|0}else e=e+3|0}else e=e+2|0}else e=e+1|0}}else{o=gj[k[c>>2]&511](i,a)|0;d=gj[k[c>>2]&511](m,i)|0;if(!o){if(!d){e=0;break}h=k[i>>2]|0;o=k[i+4>>2]|0;g=k[m+4>>2]|0;k[i>>2]=k[m>>2];k[i+4>>2]=g;k[m>>2]=h;k[m+4>>2]=o;if(!(gj[k[c>>2]&511](i,a)|0)){e=1;break}e=a;o=k[e>>2]|0;e=k[e+4>>2]|0;g=k[i+4>>2]|0;h=a;k[h>>2]=k[i>>2];k[h+4>>2]=g;k[i>>2]=o;k[i+4>>2]=e;e=2;break}f=a;e=k[f>>2]|0;f=k[f+4>>2]|0;if(d){h=k[m+4>>2]|0;o=a;k[o>>2]=k[m>>2];k[o+4>>2]=h;k[m>>2]=e;k[m+4>>2]=f;e=1;break}h=k[i+4>>2]|0;o=a;k[o>>2]=k[i>>2];k[o+4>>2]=h;k[i>>2]=e;k[i+4>>2]=f;if(gj[k[c>>2]&511](m,i)|0){o=k[i>>2]|0;e=k[i+4>>2]|0;h=k[m+4>>2]|0;k[i>>2]=k[m>>2];k[i+4>>2]=h;k[m>>2]=o;k[m+4>>2]=e;e=2}else e=1}while(0);do if(gj[k[c>>2]&511](a,i)|0)f=m;else{d=m;while(1){d=d+-8|0;if((a|0)==(d|0))break;if(gj[k[c>>2]&511](d,i)|0){n=51;break}}if((n|0)==51){n=0;f=a;o=k[f>>2]|0;f=k[f+4>>2]|0;g=k[d+4>>2]|0;h=a;k[h>>2]=k[d>>2];k[h+4>>2]=g;k[d>>2]=o;k[d+4>>2]=f;f=d;e=e+1|0;break}d=a+8|0;if(!(gj[k[c>>2]&511](a,m)|0)){if((d|0)==(m|0)){n=69;break a}while(1){if(gj[k[c>>2]&511](a,d)|0)break;d=d+8|0;if((d|0)==(m|0)){n=69;break a}}j=k[d>>2]|0;o=k[d+4>>2]|0;i=k[m+4>>2]|0;k[d>>2]=k[m>>2];k[d+4>>2]=i;k[m>>2]=j;k[m+4>>2]=o;d=d+8|0}if((d|0)==(m|0)){n=69;break a}else f=m;while(1){e=d;while(1){d=e+8|0;if(gj[k[c>>2]&511](a,e)|0)break;else e=d}do f=f+-8|0;while(gj[k[c>>2]&511](a,f)|0);if(e>>>0>=f>>>0){a=e;continue b}j=k[e>>2]|0;o=k[e+4>>2]|0;i=k[f+4>>2]|0;k[e>>2]=k[f>>2];k[e+4>>2]=i;k[f>>2]=j;k[f+4>>2]=o}}while(0);d=a+8|0;c:do if(d>>>0>>0){h=f;while(1){f=d;while(1){d=f+8|0;if(gj[k[c>>2]&511](f,i)|0)f=d;else break}g=h;do g=g+-8|0;while(!(gj[k[c>>2]&511](g,i)|0));if(f>>>0>g>>>0){d=f;f=i;break c}o=k[f>>2]|0;h=k[f+4>>2]|0;p=k[g+4>>2]|0;k[f>>2]=k[g>>2];k[f+4>>2]=p;k[g>>2]=o;k[g+4>>2]=h;h=g;i=(i|0)==(f|0)?g:i;e=e+1|0}}else f=i;while(0);if((d|0)!=(f|0))if(gj[k[c>>2]&511](f,d)|0){o=d;i=k[o>>2]|0;o=k[o+4>>2]|0;g=f;h=k[g+4>>2]|0;p=d;k[p>>2]=k[g>>2];k[p+4>>2]=h;p=f;k[p>>2]=i;k[p+4>>2]=o;e=e+1|0}if(!e){e=Sqa(a,d,c)|0;f=d+8|0;if(Sqa(f,b,c)|0){n=68;break}if(e){a=f;continue}}p=d;if((p-j|0)>=(l-p|0)){n=67;break}Pqa(a,d,c);a=d+8|0}if((n|0)==67){n=0;Pqa(d+8|0,b,c);b=d;continue}else if((n|0)==68){n=0;if(e){n=69;break}else{b=d;continue}}}if((n|0)==4){if(!(gj[k[c>>2]&511](m,a)|0))return;o=k[a>>2]|0;p=k[a+4>>2]|0;c=k[m+4>>2]|0;k[a>>2]=k[m>>2];k[a+4>>2]=c;k[m>>2]=o;k[m+4>>2]=p;return}else if((n|0)==6){p=gj[k[c>>2]&511](a+8|0,a)|0;b=gj[k[c>>2]&511](m,a+8|0)|0;if(!p){if(!b)return;o=k[a+8>>2]|0;p=k[a+8+4>>2]|0;n=k[m+4>>2]|0;k[a+8>>2]=k[m>>2];k[a+8+4>>2]=n;k[m>>2]=o;k[m+4>>2]=p;if(!(gj[k[c>>2]&511](a+8|0,a)|0))return;o=k[a>>2]|0;p=k[a+4>>2]|0;c=k[a+8+4>>2]|0;k[a>>2]=k[a+8>>2];k[a+4>>2]=c;k[a+8>>2]=o;k[a+8+4>>2]=p;return}d=k[a>>2]|0;e=k[a+4>>2]|0;if(b){p=k[m+4>>2]|0;k[a>>2]=k[m>>2];k[a+4>>2]=p;k[m>>2]=d;k[m+4>>2]=e;return}p=k[a+8+4>>2]|0;k[a>>2]=k[a+8>>2];k[a+4>>2]=p;k[a+8>>2]=d;k[a+8+4>>2]=e;if(!(gj[k[c>>2]&511](m,a+8|0)|0))return;o=k[a+8>>2]|0;p=k[a+8+4>>2]|0;c=k[m+4>>2]|0;k[a+8>>2]=k[m>>2];k[a+8+4>>2]=c;k[m>>2]=o;k[m+4>>2]=p;return}else if((n|0)==14){Qqa(a,a+8|0,a+16|0,m,c)|0;return}else if((n|0)==15){Qqa(a,a+8|0,a+16|0,a+24|0,c)|0;if(!(gj[k[c>>2]&511](m,a+24|0)|0))return;o=k[a+24>>2]|0;p=k[a+24+4>>2]|0;n=k[m+4>>2]|0;k[a+24>>2]=k[m>>2];k[a+24+4>>2]=n;k[m>>2]=o;k[m+4>>2]=p;if(!(gj[k[c>>2]&511](a+24|0,a+16|0)|0))return;o=k[a+16>>2]|0;p=k[a+16+4>>2]|0;n=k[a+24+4>>2]|0;k[a+16>>2]=k[a+24>>2];k[a+16+4>>2]=n;k[a+24>>2]=o;k[a+24+4>>2]=p;if(!(gj[k[c>>2]&511](a+16|0,a+8|0)|0))return;o=k[a+8>>2]|0;p=k[a+8+4>>2]|0;n=k[a+16+4>>2]|0;k[a+8>>2]=k[a+16>>2];k[a+8+4>>2]=n;k[a+16>>2]=o;k[a+16+4>>2]=p;if(!(gj[k[c>>2]&511](a+8|0,a)|0))return;o=k[a>>2]|0;p=k[a+4>>2]|0;c=k[a+8+4>>2]|0;k[a>>2]=k[a+8>>2];k[a+4>>2]=c;k[a+8>>2]=o;k[a+8+4>>2]=p;return}else if((n|0)==21){Rqa(a,b,c);return}else if((n|0)==69)return}function Qqa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;h=gj[k[e>>2]&511](b,a)|0;f=gj[k[e>>2]&511](c,b)|0;do if(h){g=k[a>>2]|0;h=k[a+4>>2]|0;if(f){f=k[c+4>>2]|0;k[a>>2]=k[c>>2];k[a+4>>2]=f;k[c>>2]=g;k[c+4>>2]=h;f=1;break}f=k[b+4>>2]|0;k[a>>2]=k[b>>2];k[a+4>>2]=f;k[b>>2]=g;k[b+4>>2]=h;if(gj[k[e>>2]&511](c,b)|0){h=k[b>>2]|0;f=k[b+4>>2]|0;g=k[c+4>>2]|0;k[b>>2]=k[c>>2];k[b+4>>2]=g;k[c>>2]=h;k[c+4>>2]=f;f=2}else f=1}else if(f){g=k[b>>2]|0;h=k[b+4>>2]|0;f=k[c+4>>2]|0;k[b>>2]=k[c>>2];k[b+4>>2]=f;k[c>>2]=g;k[c+4>>2]=h;if(gj[k[e>>2]&511](b,a)|0){h=k[a>>2]|0;f=k[a+4>>2]|0;g=k[b+4>>2]|0;k[a>>2]=k[b>>2];k[a+4>>2]=g;k[b>>2]=h;k[b+4>>2]=f;f=2}else f=1}else f=0;while(0);if(!(gj[k[e>>2]&511](d,c)|0)){d=f;return d|0}g=k[c>>2]|0;h=k[c+4>>2]|0;i=k[d+4>>2]|0;k[c>>2]=k[d>>2];k[c+4>>2]=i;k[d>>2]=g;k[d+4>>2]=h;if(!(gj[k[e>>2]&511](c,b)|0)){i=f+1|0;return i|0}d=k[b>>2]|0;i=k[b+4>>2]|0;h=k[c+4>>2]|0;k[b>>2]=k[c>>2];k[b+4>>2]=h;k[c>>2]=d;k[c+4>>2]=i;if(!(gj[k[e>>2]&511](b,a)|0)){i=f+2|0;return i|0}d=k[a>>2]|0;i=k[a+4>>2]|0;c=k[b+4>>2]|0;k[a>>2]=k[b>>2];k[a+4>>2]=c;k[b>>2]=d;k[b+4>>2]=i;i=f+3|0;return i|0}function Rqa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=r;r=r+16|0;f=gj[k[c>>2]&511](a+8|0,a)|0;d=gj[k[c>>2]&511](a+16|0,a+8|0)|0;do if(f){e=k[a>>2]|0;f=k[a+4>>2]|0;if(d){d=k[a+16+4>>2]|0;k[a>>2]=k[a+16>>2];k[a+4>>2]=d;k[a+16>>2]=e;k[a+16+4>>2]=f;break}d=k[a+8+4>>2]|0;k[a>>2]=k[a+8>>2];k[a+4>>2]=d;k[a+8>>2]=e;k[a+8+4>>2]=f;if(gj[k[c>>2]&511](a+16|0,a+8|0)|0){e=k[a+8>>2]|0;f=k[a+8+4>>2]|0;d=k[a+16+4>>2]|0;k[a+8>>2]=k[a+16>>2];k[a+8+4>>2]=d;k[a+16>>2]=e;k[a+16+4>>2]=f}}else if(d){e=k[a+8>>2]|0;f=k[a+8+4>>2]|0;d=k[a+16+4>>2]|0;k[a+8>>2]=k[a+16>>2];k[a+8+4>>2]=d;k[a+16>>2]=e;k[a+16+4>>2]=f;if(gj[k[c>>2]&511](a+8|0,a)|0){e=k[a>>2]|0;f=k[a+4>>2]|0;d=k[a+8+4>>2]|0;k[a>>2]=k[a+8>>2];k[a+4>>2]=d;k[a+8>>2]=e;k[a+8+4>>2]=f}}while(0);if((a+24|0)==(b|0)){r=g;return}f=a+24|0;d=a+16|0;while(1){if(gj[k[c>>2]&511](f,d)|0){h=f;e=k[h+4>>2]|0;k[g>>2]=k[h>>2];k[g+4>>2]=e;e=f;while(1){j=d;i=k[j+4>>2]|0;h=e;k[h>>2]=k[j>>2];k[h+4>>2]=i;if((d|0)==(a|0))break;e=d+-8|0;if(gj[k[c>>2]&511](g,e)|0){j=d;d=e;e=j}else break}i=k[g+4>>2]|0;j=d;k[j>>2]=k[g>>2];k[j+4>>2]=i}d=f+8|0;if((d|0)==(b|0))break;else{j=f;f=d;d=j}}r=g;return}function Sqa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0;h=r;r=r+16|0;switch(b-a>>3|0){case 2:{if(!(gj[k[c>>2]&511](b+-8|0,a)|0)){b=1;r=h;return b|0}g=k[a>>2]|0;c=k[a+4>>2]|0;f=k[b+-8+4>>2]|0;k[a>>2]=k[b+-8>>2];k[a+4>>2]=f;k[b+-8>>2]=g;k[b+-8+4>>2]=c;b=1;r=h;return b|0}case 3:{g=gj[k[c>>2]&511](a+8|0,a)|0;d=gj[k[c>>2]&511](b+-8|0,a+8|0)|0;if(!g){if(!d){b=1;r=h;return b|0}f=k[a+8>>2]|0;g=k[a+8+4>>2]|0;e=k[b+-8+4>>2]|0;k[a+8>>2]=k[b+-8>>2];k[a+8+4>>2]=e;k[b+-8>>2]=f;k[b+-8+4>>2]=g;if(!(gj[k[c>>2]&511](a+8|0,a)|0)){b=1;r=h;return b|0}c=k[a>>2]|0;b=k[a+4>>2]|0;g=k[a+8+4>>2]|0;k[a>>2]=k[a+8>>2];k[a+4>>2]=g;k[a+8>>2]=c;k[a+8+4>>2]=b;b=1;r=h;return b|0}e=k[a>>2]|0;f=k[a+4>>2]|0;if(d){c=k[b+-8+4>>2]|0;k[a>>2]=k[b+-8>>2];k[a+4>>2]=c;k[b+-8>>2]=e;k[b+-8+4>>2]=f;b=1;r=h;return b|0}g=k[a+8+4>>2]|0;k[a>>2]=k[a+8>>2];k[a+4>>2]=g;k[a+8>>2]=e;k[a+8+4>>2]=f;if(!(gj[k[c>>2]&511](b+-8|0,a+8|0)|0)){b=1;r=h;return b|0}g=k[a+8>>2]|0;c=k[a+8+4>>2]|0;f=k[b+-8+4>>2]|0;k[a+8>>2]=k[b+-8>>2];k[a+8+4>>2]=f;k[b+-8>>2]=g;k[b+-8+4>>2]=c;b=1;r=h;return b|0}case 4:{Qqa(a,a+8|0,a+16|0,b+-8|0,c)|0;b=1;r=h;return b|0}case 5:{Qqa(a,a+8|0,a+16|0,a+24|0,c)|0;if(!(gj[k[c>>2]&511](b+-8|0,a+24|0)|0)){b=1;r=h;return b|0}f=k[a+24>>2]|0;g=k[a+24+4>>2]|0;e=k[b+-8+4>>2]|0;k[a+24>>2]=k[b+-8>>2];k[a+24+4>>2]=e;k[b+-8>>2]=f;k[b+-8+4>>2]=g;if(!(gj[k[c>>2]&511](a+24|0,a+16|0)|0)){b=1;r=h;return b|0}g=k[a+16>>2]|0;b=k[a+16+4>>2]|0;f=k[a+24+4>>2]|0;k[a+16>>2]=k[a+24>>2];k[a+16+4>>2]=f;k[a+24>>2]=g;k[a+24+4>>2]=b;if(!(gj[k[c>>2]&511](a+16|0,a+8|0)|0)){b=1;r=h;return b|0}g=k[a+8>>2]|0;b=k[a+8+4>>2]|0;f=k[a+16+4>>2]|0;k[a+8>>2]=k[a+16>>2];k[a+8+4>>2]=f;k[a+16>>2]=g;k[a+16+4>>2]=b;if(!(gj[k[c>>2]&511](a+8|0,a)|0)){b=1;r=h;return b|0}c=k[a>>2]|0;b=k[a+4>>2]|0;g=k[a+8+4>>2]|0;k[a>>2]=k[a+8>>2];k[a+4>>2]=g;k[a+8>>2]=c;k[a+8+4>>2]=b;b=1;r=h;return b|0}case 1:case 0:{b=1;r=h;return b|0}default:{g=gj[k[c>>2]&511](a+8|0,a)|0;d=gj[k[c>>2]&511](a+16|0,a+8|0)|0;do if(g){e=k[a>>2]|0;f=k[a+4>>2]|0;if(d){g=k[a+16+4>>2]|0;k[a>>2]=k[a+16>>2];k[a+4>>2]=g;k[a+16>>2]=e;k[a+16+4>>2]=f;break}g=k[a+8+4>>2]|0;k[a>>2]=k[a+8>>2];k[a+4>>2]=g;k[a+8>>2]=e;k[a+8+4>>2]=f;if(gj[k[c>>2]&511](a+16|0,a+8|0)|0){f=k[a+8>>2]|0;g=k[a+8+4>>2]|0;e=k[a+16+4>>2]|0;k[a+8>>2]=k[a+16>>2];k[a+8+4>>2]=e;k[a+16>>2]=f;k[a+16+4>>2]=g}}else if(d){f=k[a+8>>2]|0;g=k[a+8+4>>2]|0;e=k[a+16+4>>2]|0;k[a+8>>2]=k[a+16>>2];k[a+8+4>>2]=e;k[a+16>>2]=f;k[a+16+4>>2]=g;if(gj[k[c>>2]&511](a+8|0,a)|0){f=k[a>>2]|0;g=k[a+4>>2]|0;e=k[a+8+4>>2]|0;k[a>>2]=k[a+8>>2];k[a+4>>2]=e;k[a+8>>2]=f;k[a+8+4>>2]=g}}while(0);a:do if((a+24|0)==(b|0)){e=1;d=0}else{d=0;g=a+24|0;e=a+16|0;while(1){if(gj[k[c>>2]&511](g,e)|0){i=g;f=k[i+4>>2]|0;k[h>>2]=k[i>>2];k[h+4>>2]=f;f=g;while(1){l=e;j=k[l+4>>2]|0;i=f;k[i>>2]=k[l>>2];k[i+4>>2]=j;if((e|0)==(a|0))break;f=e+-8|0;if(gj[k[c>>2]&511](h,f)|0){l=e;e=f;f=l}else break}j=k[h+4>>2]|0;l=e;k[l>>2]=k[h>>2];k[l+4>>2]=j;d=d+1|0;if((d|0)==8){e=0;d=(g+8|0)==(b|0);break a}}e=g+8|0;if((e|0)==(b|0)){e=1;d=0;break}else{l=g;g=e;e=l}}}while(0);l=d|e;r=h;return l|0}}return 0}function Tqa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;i=r;r=r+1040|0;k[i>>2]=i+4;k[i+1032>>2]=256;k[i+4>>2]=k[a>>2];k[i+1028>>2]=1;while(1){nT(1,443804);e=(k[i+1028>>2]|0)+-1|0;k[i+1028>>2]=e;d=k[i>>2]|0;f=k[d+(e<<2)>>2]|0;if((f|0)!=-1){g=k[a+4>>2]|0;if(!((+o[c>>2]-+o[g+(f*36|0)+8>>2]>0.0?1:+o[c+4>>2]-+o[g+(f*36|0)+12>>2]>0.0)|+o[g+(f*36|0)>>2]-+o[c+8>>2]>0.0|+o[g+(f*36|0)+4>>2]-+o[c+12>>2]>0.0)){if((k[g+(f*36|0)+24>>2]|0)==-1){g=Mpa(b,f)|0;if(g&(k[i+1028>>2]|0)>0)continue;else{h=7;break}}if((e|0)==(k[i+1032>>2]|0)){k[i+1032>>2]=e<<1;e=kT(e<<3)|0;k[i>>2]=e;ABb(e|0,d|0,k[i+1028>>2]<<2|0)|0;if((d|0)!=(i+4|0))lT(d)}d=k[i>>2]|0;k[d+(k[i+1028>>2]<<2)>>2]=k[g+(f*36|0)+24>>2];e=(k[i+1028>>2]|0)+1|0;k[i+1028>>2]=e;if((e|0)==(k[i+1032>>2]|0)){k[i+1032>>2]=e<<1;e=kT(e<<3)|0;k[i>>2]=e;ABb(e|0,d|0,k[i+1028>>2]<<2|0)|0;if((d|0)!=(i+4|0))lT(d)}d=k[i>>2]|0;k[d+(k[i+1028>>2]<<2)>>2]=k[g+(f*36|0)+28>>2];e=(k[i+1028>>2]|0)+1|0;k[i+1028>>2]=e}}if((e|0)<=0)break}if((h|0)==7)d=k[i>>2]|0;if((d|0)==(i+4|0)){r=i;return}lT(d);k[i>>2]=0;r=i;return}function Uqa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0,n=0,p=0,q=0;p=k[b+16>>2]|0;q=k[c+16>>2]|0;n=k[b+20>>2]|0;l=k[c+20>>2]|0;h=k[p+8>>2]|0;g=k[q+8>>2]|0;if((h|0)==(g|0))return;b=k[g+112>>2]|0;a:do if(b|0){while(1){if((k[b>>2]|0)==(h|0)){f=k[b+4>>2]|0;c=k[f+48>>2]|0;d=k[f+52>>2]|0;e=k[f+56>>2]|0;f=k[f+60>>2]|0;if((c|0)==(p|0)&(d|0)==(q|0)&(e|0)==(n|0)&(f|0)==(l|0)){b=24;break}if((c|0)==(q|0)&(d|0)==(p|0)&(e|0)==(l|0)&(f|0)==(n|0)){b=24;break}}b=k[b+12>>2]|0;if(!b)break a}if((b|0)==24)return}while(0);if(!(zqa(g,h)|0))return;b=k[a+68>>2]|0;if(b|0)if(!(Ri[k[(k[b>>2]|0)+8>>2]&255](b,p,q)|0))return;c=KT(p,n,q,l,k[a+76>>2]|0)|0;if(!c)return;d=k[c+48>>2]|0;e=k[c+52>>2]|0;f=k[d+8>>2]|0;g=k[e+8>>2]|0;k[c+8>>2]=0;b=k[a+60>>2]|0;k[c+12>>2]=b;if(b|0)k[b+8>>2]=c;k[a+60>>2]=c;k[c+20>>2]=c;k[c+16>>2]=g;k[c+24>>2]=0;b=k[f+112>>2]|0;k[c+28>>2]=b;if(b|0)k[b+8>>2]=c+16;k[f+112>>2]=c+16;k[c+36>>2]=c;k[c+32>>2]=f;k[c+40>>2]=0;b=k[g+112>>2]|0;k[c+44>>2]=b;if(b|0)k[b+8>>2]=c+32;k[g+112>>2]=c+32;if(!(i[d+38>>0]|0))if(!(i[e+38>>0]|0)){b=m[f+4>>1]|0;if(!(b&2)){j[f+4>>1]=b|2;o[f+144>>2]=0.0}b=m[g+4>>1]|0;if(!(b&2)){j[g+4>>1]=b|2;o[g+144>>2]=0.0}}k[a+64>>2]=(k[a+64>>2]|0)+1;return}function Vqa(a){a=a|0;j[a+32>>1]=1;j[a+34>>1]=-1;j[a+36>>1]=0;k[a+40>>2]=0;k[a+24>>2]=0;k[a+28>>2]=0;k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;k[a+12>>2]=0;return}function Wqa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;k[a+40>>2]=k[d+4>>2];k[a+16>>2]=k[d+8>>2];k[a+20>>2]=k[d+12>>2];k[a+8>>2]=c;k[a+4>>2]=0;j[a+32>>1]=j[d+22>>1]|0;j[a+32+2>>1]=j[d+22+2>>1]|0;j[a+32+4>>1]=j[d+22+4>>1]|0;i[a+38>>0]=i[d+20>>0]|0;e=k[d>>2]|0;e=gj[k[(k[e>>2]|0)+8>>2]&511](e,b)|0;k[a+12>>2]=e;e=Gi[k[(k[e>>2]|0)+12>>2]&2047](e)|0;c=eT(b,e*28|0)|0;k[a+24>>2]=c;if((e|0)>0)b=0;else{e=a+28|0;k[e>>2]=0;d=d+16|0;d=k[d>>2]|0;k[a>>2]=d;return}do{k[c+(b*28|0)+16>>2]=0;k[c+(b*28|0)+24>>2]=-1;b=b+1|0}while((b|0)!=(e|0));e=a+28|0;k[e>>2]=0;d=d+16|0;d=k[d>>2]|0;k[a>>2]=d;return}function Xqa(a,b){a=a|0;b=b|0;var c=0;nT((k[a+28>>2]|0)==0,443816);c=k[a+12>>2]|0;c=Gi[k[(k[c>>2]|0)+12>>2]&2047](c)|0;fT(b,k[a+24>>2]|0,c*28|0);k[a+24>>2]=0;c=k[a+12>>2]|0;switch(k[c+4>>2]|0){case 0:{Si[k[k[c>>2]>>2]&1023](c);fT(b,c,20);k[a+12>>2]=0;return}case 1:{Si[k[k[c>>2]>>2]&1023](c);fT(b,c,48);k[a+12>>2]=0;return}case 2:{Si[k[k[c>>2]>>2]&1023](c);fT(b,c,152);k[a+12>>2]=0;return}case 3:{Si[k[k[c>>2]>>2]&1023](c);fT(b,c,40);k[a+12>>2]=0;return}default:{nT(0,619796);k[a+12>>2]=0;return}}}function Yqa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;nT((k[a+28>>2]|0)==0,443816);d=k[a+12>>2]|0;d=Gi[k[(k[d>>2]|0)+12>>2]&2047](d)|0;k[a+28>>2]=d;if((d|0)<=0)return;d=0;do{e=k[a+24>>2]|0;f=e+(d*28|0)|0;g=k[a+12>>2]|0;vj[k[(k[g>>2]|0)+24>>2]&127](g,f,c,d);f=Ipa(b,f,f)|0;k[e+(d*28|0)+24>>2]=f;k[e+(d*28|0)+16>>2]=a;k[e+(d*28|0)+20>>2]=d;d=d+1|0}while((d|0)<(k[a+28>>2]|0));return}function Zqa(a,b){a=a|0;b=b|0;var c=0,d=0;if((k[a+28>>2]|0)<=0){k[a+28>>2]=0;return}c=0;do{d=(k[a+24>>2]|0)+(c*28|0)+24|0;Jpa(b,k[d>>2]|0);k[d>>2]=-1;c=c+1|0}while((c|0)<(k[a+28>>2]|0));k[a+28>>2]=0;return}function _qa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0.0,j=0.0,l=0.0,m=0.0,n=0;f=r;r=r+48|0;if((k[a+28>>2]|0)<=0){r=f;return}e=0;do{h=k[a+24>>2]|0;n=k[a+12>>2]|0;g=h+(e*28|0)+20|0;vj[k[(k[n>>2]|0)+24>>2]&127](n,f+24|0,c,k[g>>2]|0);n=k[a+12>>2]|0;vj[k[(k[n>>2]|0)+24>>2]&127](n,f+8|0,d,k[g>>2]|0);g=h+(e*28|0)|0;i=+o[f+24>>2];j=+o[f+8>>2];l=+o[f+24+4>>2];m=+o[f+8+4>>2];o[g>>2]=i>2]=l>2];l=+o[f+8+8>>2];j=+o[f+24+12>>2];i=+o[f+8+12>>2];o[h+(e*28|0)+8>>2]=m>l?m:l;o[h+(e*28|0)+12>>2]=j>i?j:i;i=+o[d+4>>2]-+o[c+4>>2];o[f>>2]=+o[d>>2]-+o[c>>2];o[f+4>>2]=i;Kpa(b,k[h+(e*28|0)+24>>2]|0,g,f);e=e+1|0}while((e|0)<(k[a+28>>2]|0));r=f;return}function $qa(a,b){a=a|0;b=b|0;var c=0,d=0;j[a+32>>1]=j[b>>1]|0;j[a+32+2>>1]=j[b+2>>1]|0;j[a+32+4>>1]=j[b+4>>1]|0;d=k[a+8>>2]|0;if(!d)return;b=k[d+112>>2]|0;if(b|0)do{c=k[b+4>>2]|0;if((k[c+48>>2]|0)==(a|0)?1:(k[c+52>>2]|0)==(a|0))k[c+4>>2]=k[c+4>>2]|8;b=k[b+12>>2]|0}while((b|0)!=0);b=k[d+88>>2]|0;if(!b)return;if((k[a+28>>2]|0)<=0)return;c=0;do{Lpa(b+102872|0,k[(k[a+24>>2]|0)+(c*28|0)+24>>2]|0);c=c+1|0}while((c|0)<(k[a+28>>2]|0));return}function ara(a,b){a=a|0;b=b|0;var c=0,d=0;if((b&1|0)==(l[a+38>>0]|0|0))return;c=k[a+8>>2]|0;d=m[c+4>>1]|0;if(!(d&2)){j[c+4>>1]=d|2;o[c+144>>2]=0.0}i[a+38>>0]=b&1;return}function bra(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;k[a+40>>2]=b;k[a+44>>2]=c;k[a+48>>2]=d;k[a+28>>2]=0;k[a+36>>2]=0;k[a+32>>2]=0;k[a>>2]=e;k[a+4>>2]=f;f=mqa(e,b<<2)|0;k[a+8>>2]=f;f=mqa(k[a>>2]|0,c<<2)|0;k[a+12>>2]=f;f=mqa(k[a>>2]|0,d<<2)|0;k[a+16>>2]=f;f=mqa(k[a>>2]|0,(k[a+40>>2]|0)*12|0)|0;k[a+24>>2]=f;f=mqa(k[a>>2]|0,(k[a+40>>2]|0)*12|0)|0;k[a+20>>2]=f;return}function cra(a){a=a|0;nqa(k[a>>2]|0,k[a+20>>2]|0);nqa(k[a>>2]|0,k[a+24>>2]|0);nqa(k[a>>2]|0,k[a+16>>2]|0);nqa(k[a>>2]|0,k[a+12>>2]|0);nqa(k[a>>2]|0,k[a+8>>2]|0);return}function dra(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0.0,h=0,l=0,n=0,p=0,q=0.0,s=0.0,u=0,v=0,w=0,x=0.0,y=0,z=0.0,A=0.0;y=r;r=r+160|0;x=+o[c>>2];if((k[a+28>>2]|0)>0){v=0;do{l=k[(k[a+8>>2]|0)+(v<<2)>>2]|0;n=k[l+44>>2]|0;p=k[l+44+4>>2]|0;u=k[l+56>>2]|0;f=k[l+64>>2]|0;h=k[l+68>>2]|0;g=+o[l+72>>2];k[l+36>>2]=n;k[l+36+4>>2]=p;k[l+52>>2]=u;if((k[l>>2]|0)==2){s=+o[l+140>>2];q=+o[l+120>>2];z=(k[t>>2]=f,+o[t>>2])+x*(s*+o[d>>2]+q*+o[l+76>>2]);q=(k[t>>2]=h,+o[t>>2])+x*(s*+o[d+4>>2]+q*+o[l+80>>2]);s=1.0/(x*+o[l+132>>2]+1.0);f=(o[t>>2]=z*s,k[t>>2]|0);h=(o[t>>2]=q*s,k[t>>2]|0);g=(g+x*+o[l+128>>2]*+o[l+84>>2])*(1.0/(x*+o[l+136>>2]+1.0))}w=(k[a+20>>2]|0)+(v*12|0)|0;k[w>>2]=n;k[w+4>>2]=p;k[(k[a+20>>2]|0)+(v*12|0)+8>>2]=u;w=k[a+24>>2]|0;k[w+(v*12|0)>>2]=f;k[w+(v*12|0)+4>>2]=h;o[(k[a+24>>2]|0)+(v*12|0)+8>>2]=g;v=v+1|0}while((v|0)<(k[a+28>>2]|0));v=a+24|0;w=a+20|0}else{v=a+24|0;w=a+20|0};k[y+96>>2]=k[c>>2];k[y+96+4>>2]=k[c+4>>2];k[y+96+8>>2]=k[c+8>>2];k[y+96+12>>2]=k[c+12>>2];k[y+96+16>>2]=k[c+16>>2];k[y+96+20>>2]=k[c+20>>2];u=k[w>>2]|0;k[y+96+24>>2]=u;d=k[v>>2]|0;k[y+96+28>>2]=d;k[y+52>>2]=k[c>>2];k[y+52+4>>2]=k[c+4>>2];k[y+52+8>>2]=k[c+8>>2];k[y+52+12>>2]=k[c+12>>2];k[y+52+16>>2]=k[c+16>>2];k[y+52+20>>2]=k[c+20>>2];k[y+52+24>>2]=k[a+12>>2];k[y+52+28>>2]=k[a+36>>2];k[y+52+32>>2]=u;k[y+52+36>>2]=d;k[y+52+40>>2]=k[a>>2];rra(y,y+52|0);tra(y);if(i[c+20>>0]|0)ura(y);if((k[a+32>>2]|0)>0){f=0;do{d=k[(k[a+16>>2]|0)+(f<<2)>>2]|0;Di[k[(k[d>>2]|0)+32>>2]&511](d,y+96|0);f=f+1|0}while((f|0)<(k[a+32>>2]|0))}z=+qqa(y+148|0);o[b+12>>2]=z;if((k[c+12>>2]|0)>0){f=0;do{if((k[a+32>>2]|0)>0){h=0;do{d=k[(k[a+16>>2]|0)+(h<<2)>>2]|0;Di[k[(k[d>>2]|0)+36>>2]&511](d,y+96|0);h=h+1|0}while((h|0)<(k[a+32>>2]|0))}vra(y);f=f+1|0}while((f|0)<(k[c+12>>2]|0))}wra(y);z=+qqa(y+148|0);o[b+16>>2]=z;if((k[a+28>>2]|0)>0){f=k[v>>2]|0;d=0;do{n=k[w>>2]|0;p=n+(d*12|0)|0;u=n+(d*12|0)+4|0;h=k[f+(d*12|0)>>2]|0;l=k[f+(d*12|0)+4>>2]|0;g=+o[f+(d*12|0)+8>>2];q=(k[t>>2]=h,+o[t>>2]);s=(k[t>>2]=l,+o[t>>2]);if(x*q*(x*q)+x*s*(x*s)>4.0){z=2.0/+X(+(x*q*(x*q)+x*s*(x*s)));h=(o[t>>2]=q*z,k[t>>2]|0);f=(o[t>>2]=s*z,k[t>>2]|0)}else f=l;if(x*g*(x*g)>2.4674012660980225)g=g*(1.5707963705062866/(x*g>0.0?x*g:-(x*g)));q=x*(k[t>>2]=h,+o[t>>2]);s=+o[u>>2]+x*(k[t>>2]=f,+o[t>>2]);z=+o[n+(d*12|0)+8>>2]+x*g;o[p>>2]=+o[p>>2]+q;o[u>>2]=s;o[(k[w>>2]|0)+(d*12|0)+8>>2]=z;u=k[v>>2]|0;k[u+(d*12|0)>>2]=h;k[u+(d*12|0)+4>>2]=f;f=k[v>>2]|0;o[f+(d*12|0)+8>>2]=g;d=d+1|0}while((d|0)<(k[a+28>>2]|0))}if((k[c+16>>2]|0)>0){p=0;f=0;do{n=xra(y)|0;if((k[a+32>>2]|0)>0){l=0;h=1;do{d=k[(k[a+16>>2]|0)+(l<<2)>>2]|0;h=h&(gj[k[(k[d>>2]|0)+40>>2]&511](d,y+96|0)|0);l=l+1|0}while((l|0)<(k[a+32>>2]|0))}else h=1;d=n&h;f=f|d;p=p+1|0}while((p|0)<(k[c+16>>2]|0)&(d^1));u=f^1}else u=1;if((k[a+28>>2]|0)>0){f=0;do{c=k[(k[a+8>>2]|0)+(f<<2)>>2]|0;d=(k[w>>2]|0)+(f*12|0)|0;p=k[d>>2]|0;d=k[d+4>>2]|0;k[c+44>>2]=p;k[c+44+4>>2]=d;n=k[(k[w>>2]|0)+(f*12|0)+8>>2]|0;k[c+56>>2]=n;h=(k[v>>2]|0)+(f*12|0)|0;l=k[h+4>>2]|0;k[c+64>>2]=k[h>>2];k[c+64+4>>2]=l;k[c+72>>2]=k[(k[v>>2]|0)+(f*12|0)+8>>2];q=(k[t>>2]=n,+o[t>>2]);A=+_(+q);o[c+20>>2]=A;q=+Z(+q);o[c+24>>2]=q;g=+o[c+28>>2];z=+o[c+32>>2];s=(k[t>>2]=p,+o[t>>2])-(q*g-A*z);z=(k[t>>2]=d,+o[t>>2])-(A*g+q*z);o[c+12>>2]=s;o[c+16>>2]=z;f=f+1|0}while((f|0)<(k[a+28>>2]|0))}A=+qqa(y+148|0);o[b+20>>2]=A;f=k[y+40>>2]|0;if(k[a+4>>2]|0)if((k[a+36>>2]|0)>0){n=0;do{h=k[(k[a+12>>2]|0)+(n<<2)>>2]|0;l=k[f+(n*156|0)+148>>2]|0;k[y+128+16>>2]=l;if((l|0)>0){p=0;do{k[y+128+(p<<2)>>2]=k[f+(n*156|0)+(p*36|0)+16>>2];k[y+128+8+(p<<2)>>2]=k[f+(n*156|0)+(p*36|0)+20>>2];p=p+1|0}while((p|0)!=(l|0))}b=k[a+4>>2]|0;kj[k[(k[b>>2]|0)+20>>2]&255](b,h,y+128|0);n=n+1|0}while((n|0)<(k[a+36>>2]|0))}if(!e){sra(y);r=y;return}h=k[a+28>>2]|0;if((h|0)>0){l=k[a+8>>2]|0;n=0;g=3402823466385288598117041.0e14;do{f=k[l+(n<<2)>>2]|0;do if(k[f>>2]|0){if(j[f+4>>1]&4){A=+o[f+72>>2];if(!(A*A>.001218469929881394)){z=+o[f+64>>2];A=+o[f+68>>2];if(!(z*z+A*A>9.999999747378752e-05)){A=x+ +o[f+144>>2];o[f+144>>2]=A;g=g>2]=0.0;g=0.0}while(0);n=n+1|0}while((n|0)<(h|0))}else g=3402823466385288598117041.0e14;if(!(g>=.5)|u){sra(y);r=y;return}if((k[a+28>>2]|0)<=0){sra(y);r=y;return}f=0;do{e=k[(k[a+8>>2]|0)+(f<<2)>>2]|0;j[e+4>>1]=m[e+4>>1]&65533;o[e+144>>2]=0.0;k[e+64>>2]=0;k[e+64+4>>2]=0;k[e+64+8>>2]=0;k[e+64+12>>2]=0;k[e+64+16>>2]=0;k[e+64+20>>2]=0;f=f+1|0}while((f|0)<(k[a+28>>2]|0));sra(y);r=y;return}function era(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0.0,h=0.0,i=0.0,j=0.0,l=0,m=0,n=0,p=0,q=0,s=0.0,u=0.0,v=0.0;p=r;r=r+128|0;nT((k[a+28>>2]|0)>(c|0),443834);nT((k[a+28>>2]|0)>(d|0),443858);if((k[a+28>>2]|0)>0){e=0;do{n=k[(k[a+8>>2]|0)+(e<<2)>>2]|0;f=k[n+44+4>>2]|0;m=(k[a+20>>2]|0)+(e*12|0)|0;k[m>>2]=k[n+44>>2];k[m+4>>2]=f;k[(k[a+20>>2]|0)+(e*12|0)+8>>2]=k[n+56>>2];m=k[n+64+4>>2]|0;f=(k[a+24>>2]|0)+(e*12|0)|0;k[f>>2]=k[n+64>>2];k[f+4>>2]=m;f=k[a+24>>2]|0;k[f+(e*12|0)+8>>2]=k[n+72>>2];e=e+1|0}while((e|0)<(k[a+28>>2]|0));m=a+24|0;n=a+20|0;e=f}else{m=a+24|0;n=a+20|0;e=k[a+24>>2]|0}k[p+52+24>>2]=k[a+12>>2];k[p+52+28>>2]=k[a+36>>2];k[p+52+40>>2]=k[a>>2];k[p+52>>2]=k[b>>2];k[p+52+4>>2]=k[b+4>>2];k[p+52+8>>2]=k[b+8>>2];k[p+52+12>>2]=k[b+12>>2];k[p+52+16>>2]=k[b+16>>2];k[p+52+20>>2]=k[b+20>>2];k[p+52+32>>2]=k[n>>2];k[p+52+36>>2]=e;rra(p,p+52|0);if((k[b+16>>2]|0)>0){e=0;do{e=e+1|0;l=(zra(p,c,d)|0)^1}while((e|0)<(k[b+16>>2]|0)&l)}e=(k[n>>2]|0)+(c*12|0)|0;l=k[e+4>>2]|0;f=(k[(k[a+8>>2]|0)+(c<<2)>>2]|0)+36|0;k[f>>2]=k[e>>2];k[f+4>>2]=l;f=k[n>>2]|0;l=k[a+8>>2]|0;k[(k[l+(c<<2)>>2]|0)+52>>2]=k[f+(c*12|0)+8>>2];c=k[f+(d*12|0)+4>>2]|0;l=(k[l+(d<<2)>>2]|0)+36|0;k[l>>2]=k[f+(d*12|0)>>2];k[l+4>>2]=c;k[(k[(k[a+8>>2]|0)+(d<<2)>>2]|0)+52>>2]=k[(k[n>>2]|0)+(d*12|0)+8>>2];tra(p);if((k[b+12>>2]|0)>0){e=0;do{vra(p);e=e+1|0}while((e|0)<(k[b+12>>2]|0))}j=+o[b>>2];if((k[a+28>>2]|0)>0){l=0;do{c=k[n>>2]|0;d=c+(l*12|0)|0;b=c+(l*12|0)+4|0;q=k[m>>2]|0;f=k[q+(l*12|0)>>2]|0;e=k[q+(l*12|0)+4>>2]|0;g=+o[q+(l*12|0)+8>>2];h=(k[t>>2]=f,+o[t>>2]);i=(k[t>>2]=e,+o[t>>2]);if(j*h*(j*h)+j*i*(j*i)>4.0){s=2.0/+X(+(j*h*(j*h)+j*i*(j*i)));f=(o[t>>2]=h*s,k[t>>2]|0);e=(o[t>>2]=i*s,k[t>>2]|0)}if(j*g*(j*g)>2.4674012660980225)g=g*(1.5707963705062866/(j*g>0.0?j*g:-(j*g)));v=j*(k[t>>2]=f,+o[t>>2]);v=+o[d>>2]+v;u=+o[b>>2]+j*(k[t>>2]=e,+o[t>>2]);i=+o[c+(l*12|0)+8>>2]+j*g;o[d>>2]=v;o[b>>2]=u;o[(k[n>>2]|0)+(l*12|0)+8>>2]=i;q=k[m>>2]|0;k[q+(l*12|0)>>2]=f;k[q+(l*12|0)+4>>2]=e;o[(k[m>>2]|0)+(l*12|0)+8>>2]=g;q=k[(k[a+8>>2]|0)+(l<<2)>>2]|0;o[q+44>>2]=v;o[q+48>>2]=u;o[q+56>>2]=i;k[q+64>>2]=f;k[q+68>>2]=e;o[q+72>>2]=g;g=+_(+i);o[q+20>>2]=g;i=+Z(+i);o[q+24>>2]=i;h=+o[q+28>>2];s=+o[q+32>>2];o[q+12>>2]=v-(i*h-g*s);o[q+16>>2]=u-(g*h+i*s);l=l+1|0}while((l|0)<(k[a+28>>2]|0))}e=k[p+40>>2]|0;if(!(k[a+4>>2]|0)){sra(p);r=p;return}if((k[a+36>>2]|0)<=0){sra(p);r=p;return}d=0;do{f=k[(k[a+12>>2]|0)+(d<<2)>>2]|0;c=k[e+(d*156|0)+148>>2]|0;k[p+96+16>>2]=c;if((c|0)>0){b=0;do{k[p+96+(b<<2)>>2]=k[e+(d*156|0)+(b*36|0)+16>>2];k[p+96+8+(b<<2)>>2]=k[e+(d*156|0)+(b*36|0)+20>>2];b=b+1|0}while((b|0)!=(c|0))}q=k[a+4>>2]|0;kj[k[(k[q>>2]|0)+20>>2]&255](q,f,p+96|0);d=d+1|0}while((d|0)<(k[a+36>>2]|0));sra(p);r=p;return}function fra(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=r;r=r+48|0;f=k[(k[a+48>>2]|0)+12>>2]|0;k[e>>2]=19588;k[e+4>>2]=1;o[e+8>>2]=.009999999776482582;k[e+28>>2]=0;k[e+28+4>>2]=0;k[e+28+8>>2]=0;k[e+28+12>>2]=0;j[e+28+16>>1]=0;DS(f,e,k[a+56>>2]|0);Ppa(b,e,c,k[(k[a+52>>2]|0)+12>>2]|0,d);r=e;return}function gra(a){a=a|0;CAb(a);return}function hra(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;e=eT(e,148)|0;MT(e,a,b,c,d);k[e>>2]=31756;nT((k[(k[(k[e+48>>2]|0)+12>>2]|0)+4>>2]|0)==3,443935);nT((k[(k[(k[e+52>>2]|0)+12>>2]|0)+4>>2]|0)==0,444082);return e|0}function ira(a,b){a=a|0;b=b|0;Si[k[(k[a>>2]|0)+4>>2]&1023](a);fT(b,a,148);return}function jra(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=r;r=r+48|0;f=k[(k[a+48>>2]|0)+12>>2]|0;k[e>>2]=19588;k[e+4>>2]=1;o[e+8>>2]=.009999999776482582;k[e+28>>2]=0;k[e+28+4>>2]=0;k[e+28+8>>2]=0;k[e+28+12>>2]=0;j[e+28+16>>1]=0;DS(f,e,k[a+56>>2]|0);Spa(b,e,c,k[(k[a+52>>2]|0)+12>>2]|0,d);r=e;return}function kra(a){a=a|0;CAb(a);return}function lra(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;e=eT(e,148)|0;MT(e,a,b,c,d);k[e>>2]=31776;nT((k[(k[(k[e+48>>2]|0)+12>>2]|0)+4>>2]|0)==3,443935);nT((k[(k[(k[e+52>>2]|0)+12>>2]|0)+4>>2]|0)==2,443977);return e|0}function mra(a,b){a=a|0;b=b|0;Si[k[(k[a>>2]|0)+4>>2]&1023](a);fT(b,a,148);return}function nra(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Npa(b,k[(k[a+48>>2]|0)+12>>2]|0,c,k[(k[a+52>>2]|0)+12>>2]|0,d);return}function ora(a){a=a|0;CAb(a);return}function pra(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;e=eT(e,148)|0;MT(e,a,0,c,0);k[e>>2]=31796;nT((k[(k[(k[e+48>>2]|0)+12>>2]|0)+4>>2]|0)==0,444039);nT((k[(k[(k[e+52>>2]|0)+12>>2]|0)+4>>2]|0)==0,444082);return e|0}function qra(a,b){a=a|0;b=b|0;Si[k[(k[a>>2]|0)+4>>2]&1023](a);fT(b,a,148);return}function rra(a,b){a=a|0;b=b|0;var c=0,d=0.0,e=0.0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,p=0,q=0;k[a>>2]=k[b>>2];k[a+4>>2]=k[b+4>>2];k[a+8>>2]=k[b+8>>2];k[a+12>>2]=k[b+12>>2];k[a+16>>2]=k[b+16>>2];k[a+20>>2]=k[b+20>>2];h=k[b+40>>2]|0;k[a+32>>2]=h;j=k[b+28>>2]|0;k[a+48>>2]=j;j=mqa(h,j*88|0)|0;k[a+36>>2]=j;j=mqa(k[a+32>>2]|0,(k[a+48>>2]|0)*156|0)|0;k[a+40>>2]=j;k[a+24>>2]=k[b+32>>2];k[a+28>>2]=k[b+36>>2];b=k[b+24>>2]|0;k[a+44>>2]=b;if((k[a+48>>2]|0)<=0)return;c=0;while(1){b=k[b+(c<<2)>>2]|0;n=k[b+48>>2]|0;m=k[b+52>>2]|0;l=k[(k[n+12>>2]|0)+8>>2]|0;j=k[(k[m+12>>2]|0)+8>>2]|0;n=k[n+8>>2]|0;m=k[m+8>>2]|0;f=k[b+124>>2]|0;nT((f|0)>0,444125);g=k[a+40>>2]|0;k[g+(c*156|0)+136>>2]=k[b+136>>2];k[g+(c*156|0)+140>>2]=k[b+140>>2];k[g+(c*156|0)+144>>2]=k[b+144>>2];k[g+(c*156|0)+112>>2]=k[n+8>>2];k[g+(c*156|0)+116>>2]=k[m+8>>2];k[g+(c*156|0)+120>>2]=k[n+120>>2];k[g+(c*156|0)+124>>2]=k[m+120>>2];k[g+(c*156|0)+128>>2]=k[n+128>>2];k[g+(c*156|0)+132>>2]=k[m+128>>2];k[g+(c*156|0)+152>>2]=c;k[g+(c*156|0)+148>>2]=f;h=g+(c*156|0)+80|0;k[h>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0;k[h+12>>2]=0;k[h+16>>2]=0;k[h+20>>2]=0;k[h+24>>2]=0;k[h+28>>2]=0;h=k[a+36>>2]|0;k[h+(c*88|0)+32>>2]=k[n+8>>2];k[h+(c*88|0)+36>>2]=k[m+8>>2];k[h+(c*88|0)+40>>2]=k[n+120>>2];k[h+(c*88|0)+44>>2]=k[m+120>>2];p=k[n+28+4>>2]|0;q=h+(c*88|0)+48|0;k[q>>2]=k[n+28>>2];k[q+4>>2]=p;q=k[m+28+4>>2]|0;p=h+(c*88|0)+56|0;k[p>>2]=k[m+28>>2];k[p+4>>2]=q;k[h+(c*88|0)+64>>2]=k[n+128>>2];k[h+(c*88|0)+68>>2]=k[m+128>>2];m=k[b+104+4>>2]|0;n=h+(c*88|0)+16|0;k[n>>2]=k[b+104>>2];k[n+4>>2]=m;n=k[b+112+4>>2]|0;m=h+(c*88|0)+24|0;k[m>>2]=k[b+112>>2];k[m+4>>2]=n;k[h+(c*88|0)+84>>2]=f;k[h+(c*88|0)+76>>2]=l;k[h+(c*88|0)+80>>2]=j;k[h+(c*88|0)+72>>2]=k[b+120>>2];if((f|0)>0){j=0;do{if(!(i[a+20>>0]|0)){d=0.0;e=0.0}else{e=+o[a+8>>2];d=e*+o[b+64+(j*20|0)+12>>2];e=e*+o[b+64+(j*20|0)+8>>2]}o[g+(c*156|0)+(j*36|0)+16>>2]=e;o[g+(c*156|0)+(j*36|0)+20>>2]=d;n=g+(c*156|0)+(j*36|0)|0;o[g+(c*156|0)+(j*36|0)+24>>2]=0.0;o[g+(c*156|0)+(j*36|0)+28>>2]=0.0;o[g+(c*156|0)+(j*36|0)+32>>2]=0.0;k[n>>2]=0;k[n+4>>2]=0;k[n+8>>2]=0;k[n+12>>2]=0;n=b+64+(j*20|0)|0;p=k[n+4>>2]|0;q=h+(c*88|0)+(j<<3)|0;k[q>>2]=k[n>>2];k[q+4>>2]=p;j=j+1|0}while((j|0)!=(f|0))}c=c+1|0;if((c|0)>=(k[a+48>>2]|0))break;b=k[a+44>>2]|0}return}function sra(a){a=a|0;nqa(k[a+32>>2]|0,k[a+40>>2]|0);nqa(k[a+32>>2]|0,k[a+36>>2]|0);return}function tra(a){a=a|0;var b=0.0,c=0.0,d=0.0,e=0.0,f=0.0,g=0,h=0,i=0,j=0,l=0.0,m=0.0,n=0.0,p=0.0,q=0.0,s=0.0,t=0,u=0,v=0,w=0,x=0.0,y=0.0,z=0.0,A=0.0,B=0,C=0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0.0,K=0.0,L=0.0,M=0;C=r;r=r+64|0;if((k[a+48>>2]|0)<=0){r=C;return}B=0;do{w=k[a+40>>2]|0;u=k[a+36>>2]|0;D=+o[u+(B*88|0)+76>>2];b=+o[u+(B*88|0)+80>>2];t=k[(k[a+44>>2]|0)+(k[w+(B*156|0)+152>>2]<<2)>>2]|0;j=k[w+(B*156|0)+112>>2]|0;v=k[w+(B*156|0)+116>>2]|0;x=+o[w+(B*156|0)+120>>2];y=+o[w+(B*156|0)+124>>2];z=+o[w+(B*156|0)+128>>2];A=+o[w+(B*156|0)+132>>2];J=+o[u+(B*88|0)+48>>2];L=+o[u+(B*88|0)+52>>2];F=+o[u+(B*88|0)+56>>2];H=+o[u+(B*88|0)+60>>2];u=k[a+24>>2]|0;c=+o[u+(j*12|0)>>2];d=+o[u+(j*12|0)+4>>2];K=+o[u+(j*12|0)+8>>2];g=k[a+28>>2]|0;e=+o[g+(j*12|0)>>2];f=+o[g+(j*12|0)+4>>2];l=+o[g+(j*12|0)+8>>2];m=+o[u+(v*12|0)>>2];n=+o[u+(v*12|0)+4>>2];G=+o[u+(v*12|0)+8>>2];p=+o[g+(v*12|0)>>2];q=+o[g+(v*12|0)+4>>2];s=+o[g+(v*12|0)+8>>2];nT((k[t+124>>2]|0)>0,444140);I=+_(+K);o[C+48+8>>2]=I;K=+Z(+K);o[C+48+12>>2]=K;E=+_(+G);o[C+32+8>>2]=E;G=+Z(+G);o[C+32+12>>2]=G;o[C+48>>2]=c-(J*K-L*I);o[C+48+4>>2]=d-(L*K+J*I);o[C+32>>2]=m-(F*G-H*E);o[C+32+4>>2]=n-(H*G+F*E);Vpa(C,t+64|0,C+48|0,D,C+32|0,b);t=w+(B*156|0)+72|0;v=k[C+4>>2]|0;k[t>>2]=k[C>>2];k[t+4>>2]=v;v=w+(B*156|0)+148|0;g=k[v>>2]|0;do if((g|0)>0){h=w+(B*156|0)+76|0;i=w+(B*156|0)+140|0;u=0;do{M=C+8+(u<<3)|0;b=+o[M>>2]-c;j=C+8+(u<<3)+4|0;K=+o[j>>2]-d;o[w+(B*156|0)+(u*36|0)>>2]=b;o[w+(B*156|0)+(u*36|0)+4>>2]=K;L=+o[M>>2]-m;J=+o[j>>2]-n;o[w+(B*156|0)+(u*36|0)+8>>2]=L;o[w+(B*156|0)+(u*36|0)+12>>2]=J;H=+o[h>>2];I=+o[t>>2];I=x+y+(b*H-K*I)*(z*(b*H-K*I))+(H*L-I*J)*(A*(H*L-I*J));o[w+(B*156|0)+(u*36|0)+24>>2]=I>0.0?1.0/I:0.0;I=+o[h>>2];H=-+o[t>>2];I=x+y+(b*H-I*K)*(z*(b*H-I*K))+(L*H-I*J)*(A*(L*H-I*J));o[w+(B*156|0)+(u*36|0)+28>>2]=I>0.0?1.0/I:0.0;j=w+(B*156|0)+(u*36|0)+32|0;o[j>>2]=0.0;b=+o[t>>2]*(p-s*J-e+l*K)+ +o[h>>2]*(q+s*L-f-l*b);if(b<-1.0)o[j>>2]=-(b*+o[i>>2]);u=u+1|0}while((u|0)!=(g|0));if(!((k[v>>2]|0)!=2|1==0)){d=+o[w+(B*156|0)+76>>2];c=+o[t>>2];f=+o[w+(B*156|0)>>2]*d-+o[w+(B*156|0)+4>>2]*c;e=d*+o[w+(B*156|0)+8>>2]-c*+o[w+(B*156|0)+12>>2];b=d*+o[w+(B*156|0)+36>>2]-c*+o[w+(B*156|0)+40>>2];c=d*+o[w+(B*156|0)+44>>2]-c*+o[w+(B*156|0)+48>>2];d=x+y+f*(z*f)+e*(A*e);e=x+y+z*f*b+A*e*c;f=d*(x+y+b*(z*b)+c*(A*c))-e*e;if(d*d>2]=d;o[w+(B*156|0)+100>>2]=e;o[w+(B*156|0)+104>>2]=e;o[w+(B*156|0)+108>>2]=x+y+b*(z*b)+c*(A*c);L=f!=0.0?1.0/f:f;o[w+(B*156|0)+80>>2]=(x+y+b*(z*b)+c*(A*c))*L;o[w+(B*156|0)+84>>2]=-(L*e);o[w+(B*156|0)+88>>2]=-(L*e);o[w+(B*156|0)+92>>2]=d*L;break}else{k[v>>2]=1;break}}}while(0);B=B+1|0}while((B|0)<(k[a+48>>2]|0));r=C;return}function ura(a){a=a|0;var b=0.0,c=0.0,d=0,e=0,f=0,g=0,h=0,i=0.0,j=0.0,l=0,m=0.0,n=0.0,p=0.0,q=0.0,r=0,s=0,u=0,v=0,w=0,x=0,y=0,z=0.0,A=0.0;if((k[a+48>>2]|0)<=0)return;f=k[a+28>>2]|0;y=0;do{s=k[a+40>>2]|0;w=k[s+(y*156|0)+112>>2]|0;x=k[s+(y*156|0)+116>>2]|0;m=+o[s+(y*156|0)+120>>2];n=+o[s+(y*156|0)+128>>2];p=+o[s+(y*156|0)+124>>2];q=+o[s+(y*156|0)+132>>2];r=k[s+(y*156|0)+148>>2]|0;u=f+(w*12|0)|0;g=k[u>>2]|0;v=f+(w*12|0)+4|0;h=k[v>>2]|0;c=+o[f+(w*12|0)+8>>2];e=k[f+(x*12|0)>>2]|0;d=k[f+(x*12|0)+4>>2]|0;b=+o[f+(x*12|0)+8>>2];i=+o[s+(y*156|0)+72>>2];j=+o[s+(y*156|0)+76>>2];if((r|0)>0){l=0;f=h;do{A=+o[s+(y*156|0)+(l*36|0)+16>>2];z=+o[s+(y*156|0)+(l*36|0)+20>>2];c=c-n*(+o[s+(y*156|0)+(l*36|0)>>2]*(j*A-i*z)-+o[s+(y*156|0)+(l*36|0)+4>>2]*(i*A+j*z));g=(o[t>>2]=(k[t>>2]=g,+o[t>>2])-m*(i*A+j*z),k[t>>2]|0);f=(o[t>>2]=(k[t>>2]=f,+o[t>>2])-m*(j*A-i*z),k[t>>2]|0);b=b+q*((j*A-i*z)*+o[s+(y*156|0)+(l*36|0)+8>>2]-(i*A+j*z)*+o[s+(y*156|0)+(l*36|0)+12>>2]);e=(o[t>>2]=(k[t>>2]=e,+o[t>>2])+p*(i*A+j*z),k[t>>2]|0);d=(o[t>>2]=(k[t>>2]=d,+o[t>>2])+p*(j*A-i*z),k[t>>2]|0);l=l+1|0}while((l|0)!=(r|0))}else f=h;k[u>>2]=g;k[v>>2]=f;f=k[a+28>>2]|0;o[f+(w*12|0)+8>>2]=c;k[f+(x*12|0)>>2]=e;k[f+(x*12|0)+4>>2]=d;f=k[a+28>>2]|0;o[f+(x*12|0)+8>>2]=b;y=y+1|0}while((y|0)<(k[a+48>>2]|0));return}function vra(a){a=a|0;var b=0.0,c=0,d=0,e=0,f=0.0,g=0,h=0,i=0.0,j=0,l=0,m=0.0,n=0.0,p=0.0,q=0.0,r=0.0,s=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0,I=0,J=0.0,K=0.0,L=0.0,M=0.0,N=0.0,O=0.0,P=0,Q=0,R=0;if((k[a+48>>2]|0)<=0)return;c=k[a+28>>2]|0;R=0;do{I=k[a+40>>2]|0;P=k[I+(R*156|0)+112>>2]|0;Q=k[I+(R*156|0)+116>>2]|0;J=+o[I+(R*156|0)+120>>2];L=+o[I+(R*156|0)+128>>2];K=+o[I+(R*156|0)+124>>2];O=+o[I+(R*156|0)+132>>2];H=k[I+(R*156|0)+148>>2]|0;d=k[c+(P*12|0)>>2]|0;h=k[c+(P*12|0)+4>>2]|0;f=+o[c+(P*12|0)+8>>2];g=k[c+(Q*12|0)>>2]|0;e=k[c+(Q*12|0)+4>>2]|0;b=+o[c+(Q*12|0)+8>>2];M=+o[I+(R*156|0)+72>>2];N=+o[I+(R*156|0)+76>>2];i=+o[I+(R*156|0)+136>>2];nT((H+-1|0)>>>0<2,444165);if((H|0)>0){j=I+(R*156|0)+144|0;l=0;c=d;d=h;do{E=+o[I+(R*156|0)+(l*36|0)+12>>2];D=+o[I+(R*156|0)+(l*36|0)+8>>2];B=(k[t>>2]=g,+o[t>>2]);C=(k[t>>2]=e,+o[t>>2]);x=(k[t>>2]=c,+o[t>>2]);y=(k[t>>2]=d,+o[t>>2]);A=+o[I+(R*156|0)+(l*36|0)+4>>2];z=+o[I+(R*156|0)+(l*36|0)>>2];w=i*+o[I+(R*156|0)+(l*36|0)+16>>2];c=I+(R*156|0)+(l*36|0)+20|0;G=+o[c>>2];F=G-+o[I+(R*156|0)+(l*36|0)+28>>2]*(N*(B-b*E-x+f*A)+(C+b*D-y-f*z)*-M-+o[j>>2]);F=F>2]=F;c=(o[t>>2]=x-J*(N*(F-G)),k[t>>2]|0);d=(o[t>>2]=y-J*((F-G)*-M),k[t>>2]|0);f=f-L*(z*((F-G)*-M)-A*(N*(F-G)));g=(o[t>>2]=B+K*(N*(F-G)),k[t>>2]|0);e=(o[t>>2]=C+K*((F-G)*-M),k[t>>2]|0);b=b+O*(D*((F-G)*-M)-E*(N*(F-G)));l=l+1|0}while((l|0)!=(H|0))}else{c=d;d=h}do if((H|0)==1|1==0){if((H|0)>0){h=0;do{E=+o[I+(R*156|0)+(h*36|0)+12>>2];D=+o[I+(R*156|0)+(h*36|0)+8>>2];B=(k[t>>2]=g,+o[t>>2]);C=(k[t>>2]=e,+o[t>>2]);x=(k[t>>2]=c,+o[t>>2]);y=(k[t>>2]=d,+o[t>>2]);A=+o[I+(R*156|0)+(h*36|0)+4>>2];z=+o[I+(R*156|0)+(h*36|0)>>2];c=I+(R*156|0)+(h*36|0)+16|0;G=+o[c>>2];F=G-+o[I+(R*156|0)+(h*36|0)+24>>2]*(M*(B-b*E-x+f*A)+N*(C+b*D-y-f*z)-+o[I+(R*156|0)+(h*36|0)+32>>2]);F=F>0.0?F:0.0;o[c>>2]=F;c=(o[t>>2]=x-J*(M*(F-G)),k[t>>2]|0);d=(o[t>>2]=y-J*(N*(F-G)),k[t>>2]|0);f=f-L*(z*(N*(F-G))-A*(M*(F-G)));g=(o[t>>2]=B+K*(M*(F-G)),k[t>>2]|0);e=(o[t>>2]=C+K*(N*(F-G)),k[t>>2]|0);b=b+O*(D*(N*(F-G))-E*(M*(F-G)));h=h+1|0}while((h|0)!=(H|0))}}else{h=I+(R*156|0)+16|0;B=+o[h>>2];j=I+(R*156|0)+52|0;C=+o[j>>2];nT(B>=0.0&C>=0.0,444200);D=+o[I+(R*156|0)+12>>2];E=+o[I+(R*156|0)+8>>2];m=(k[t>>2]=g,+o[t>>2]);n=(k[t>>2]=e,+o[t>>2]);p=(k[t>>2]=c,+o[t>>2]);q=(k[t>>2]=d,+o[t>>2]);x=+o[I+(R*156|0)+4>>2];y=+o[I+(R*156|0)>>2];F=+o[I+(R*156|0)+48>>2];G=+o[I+(R*156|0)+44>>2];z=+o[I+(R*156|0)+40>>2];A=+o[I+(R*156|0)+36>>2];r=+o[I+(R*156|0)+104>>2];i=+o[I+(R*156|0)+100>>2];s=M*(m-b*D-p+f*x)+N*(n+b*E-q-f*y)-+o[I+(R*156|0)+32>>2]-(B*+o[I+(R*156|0)+96>>2]+C*r);u=M*(m-b*F-p+f*z)+N*(n+b*G-q-f*A)-+o[I+(R*156|0)+68>>2]-(B*i+C*+o[I+(R*156|0)+108>>2]);v=+o[I+(R*156|0)+80>>2]*s+ +o[I+(R*156|0)+88>>2]*u;w=s*+o[I+(R*156|0)+84>>2]+u*+o[I+(R*156|0)+92>>2];if(!(!(v<=-0.0)|!(w<=-0.0))){c=(o[t>>2]=p-J*(M*(-v-B)+M*(-w-C)),k[t>>2]|0);d=(o[t>>2]=q-J*(N*(-v-B)+N*(-w-C)),k[t>>2]|0);g=(o[t>>2]=m+K*(M*(-v-B)+M*(-w-C)),k[t>>2]|0);e=(o[t>>2]=n+K*(N*(-v-B)+N*(-w-C)),k[t>>2]|0);o[h>>2]=-v;o[j>>2]=-w;f=f-L*(y*(N*(-v-B))-x*(M*(-v-B))+(A*(N*(-w-C))-z*(M*(-w-C))));b=b+O*(E*(N*(-v-B))-D*(M*(-v-B))+(G*(N*(-w-C))-F*(M*(-w-C))));break}v=s*+o[I+(R*156|0)+24>>2];if(v<=-0.0&u+i*-v>=0.0){c=(o[t>>2]=p-J*(M*(0.0-C)+M*(-v-B)),k[t>>2]|0);d=(o[t>>2]=q-J*(N*(0.0-C)+N*(-v-B)),k[t>>2]|0);g=(o[t>>2]=m+K*(M*(0.0-C)+M*(-v-B)),k[t>>2]|0);e=(o[t>>2]=n+K*(N*(0.0-C)+N*(-v-B)),k[t>>2]|0);o[h>>2]=-v;k[j>>2]=0;f=f-L*(N*(-v-B)*y-M*(-v-B)*x+(N*(0.0-C)*A-M*(0.0-C)*z));b=b+O*(N*(-v-B)*E-M*(-v-B)*D+(N*(0.0-C)*G-M*(0.0-C)*F));break}i=u*+o[I+(R*156|0)+60>>2];if(i<=-0.0&s+r*-i>=0.0){c=(o[t>>2]=p-J*(M*(0.0-B)+M*(-i-C)),k[t>>2]|0);d=(o[t>>2]=q-J*(N*(0.0-B)+N*(-i-C)),k[t>>2]|0);g=(o[t>>2]=m+K*(M*(0.0-B)+M*(-i-C)),k[t>>2]|0);e=(o[t>>2]=n+K*(N*(0.0-B)+N*(-i-C)),k[t>>2]|0);k[h>>2]=0;o[j>>2]=-i;f=f-L*(N*(0.0-B)*y-M*(0.0-B)*x+(N*(-i-C)*A-M*(-i-C)*z));b=b+O*(N*(0.0-B)*E-M*(0.0-B)*D+(N*(-i-C)*G-M*(-i-C)*F));break}if(s>=0.0&u>=0.0){c=(o[t>>2]=p-J*(M*(0.0-B)+M*(0.0-C)),k[t>>2]|0);d=(o[t>>2]=q-J*(N*(0.0-B)+N*(0.0-C)),k[t>>2]|0);g=(o[t>>2]=m+K*(M*(0.0-B)+M*(0.0-C)),k[t>>2]|0);e=(o[t>>2]=n+K*(N*(0.0-B)+N*(0.0-C)),k[t>>2]|0);k[h>>2]=0;k[j>>2]=0;f=f-L*(N*(0.0-B)*y-M*(0.0-B)*x+(N*(0.0-C)*A-M*(0.0-C)*z));b=b+O*(N*(0.0-B)*E-M*(0.0-B)*D+(N*(0.0-C)*G-M*(0.0-C)*F))}}while(0);I=k[a+28>>2]|0;k[I+(P*12|0)>>2]=c;k[I+(P*12|0)+4>>2]=d;c=k[a+28>>2]|0;o[c+(P*12|0)+8>>2]=f;k[c+(Q*12|0)>>2]=g;k[c+(Q*12|0)+4>>2]=e;c=k[a+28>>2]|0;o[c+(Q*12|0)+8>>2]=b;R=R+1|0}while((R|0)<(k[a+48>>2]|0));return}function wra(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;f=k[a+48>>2]|0;if((f|0)<=0)return;g=k[a+40>>2]|0;c=k[a+44>>2]|0;d=0;do{a=k[c+(k[g+(d*156|0)+152>>2]<<2)>>2]|0;b=k[g+(d*156|0)+148>>2]|0;if((b|0)>0){e=0;do{k[a+64+(e*20|0)+8>>2]=k[g+(d*156|0)+(e*36|0)+16>>2];k[a+64+(e*20|0)+12>>2]=k[g+(d*156|0)+(e*36|0)+20>>2];e=e+1|0}while((e|0)<(b|0))}d=d+1|0}while((d|0)<(f|0));return}function xra(a){a=a|0;var b=0.0,c=0,d=0,e=0,f=0,g=0.0,h=0.0,i=0,j=0.0,l=0.0,m=0.0,n=0.0,p=0.0,q=0.0,s=0.0,u=0.0,v=0.0,w=0.0,x=0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0,H=0,I=0,J=0,K=0;K=r;r=r+64|0;if((k[a+48>>2]|0)<=0){F=0.0;a=F>=-.014999999664723873;r=K;return a|0}i=k[a+24>>2]|0;J=0;b=0.0;do{G=k[a+36>>2]|0;x=G+(J*88|0)|0;H=k[G+(J*88|0)+32>>2]|0;I=k[G+(J*88|0)+36>>2]|0;y=+o[G+(J*88|0)+48>>2];z=+o[G+(J*88|0)+52>>2];A=+o[G+(J*88|0)+40>>2];B=+o[G+(J*88|0)+64>>2];C=+o[G+(J*88|0)+56>>2];D=+o[G+(J*88|0)+60>>2];E=+o[G+(J*88|0)+44>>2];F=+o[G+(J*88|0)+68>>2];G=k[G+(J*88|0)+84>>2]|0;f=k[i+(H*12|0)>>2]|0;e=k[i+(H*12|0)+4>>2]|0;g=+o[i+(H*12|0)+8>>2];d=k[i+(I*12|0)>>2]|0;c=k[i+(I*12|0)+4>>2]|0;h=+o[i+(I*12|0)+8>>2];if((G|0)>0){i=0;do{w=+_(+g);o[K+40+8>>2]=w;s=+Z(+g);o[K+40+12>>2]=s;m=+_(+h);o[K+24+8>>2]=m;n=+Z(+h);o[K+24+12>>2]=n;q=(k[t>>2]=f,+o[t>>2]);p=(k[t>>2]=e,+o[t>>2]);o[K+40>>2]=q-(y*s-z*w);o[K+40+4>>2]=p-(z*s+y*w);w=(k[t>>2]=d,+o[t>>2]);s=(k[t>>2]=c,+o[t>>2]);o[K+24>>2]=w-(C*n-D*m);o[K+24+4>>2]=s-(D*n+C*m);yra(K,x,K+40|0,K+24|0,i);m=+o[K>>2];n=+o[K+4>>2];u=+o[K+8>>2];v=+o[K+12>>2];j=+o[K+16>>2];b=b0.0)j=-(j<-.20000000298023224?-.20000000298023224:j)/l;else j=0.0;m=m*j;n=n*j;f=(o[t>>2]=q-A*m,k[t>>2]|0);e=(o[t>>2]=p-A*n,k[t>>2]|0);g=g-B*((u-q)*n-(v-p)*m);d=(o[t>>2]=w+E*m,k[t>>2]|0);c=(o[t>>2]=s+E*n,k[t>>2]|0);h=h+F*((u-w)*n-(v-s)*m);i=i+1|0}while((i|0)!=(G|0));i=k[a+24>>2]|0}k[i+(H*12|0)>>2]=f;k[i+(H*12|0)+4>>2]=e;i=k[a+24>>2]|0;o[i+(H*12|0)+8>>2]=g;k[i+(I*12|0)>>2]=d;k[i+(I*12|0)+4>>2]=c;i=k[a+24>>2]|0;o[i+(I*12|0)+8>>2]=h;J=J+1|0}while((J|0)<(k[a+48>>2]|0));a=b>=-.014999999664723873;r=K;return a|0}function yra(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0.0,g=0.0,h=0.0,i=0.0,j=0.0,l=0.0,m=0.0,n=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0;nT((k[b+84>>2]|0)>0,444227);switch(k[b+72>>2]|0){case 0:{f=+o[c+12>>2];h=+o[b+24>>2];m=+o[c+8>>2];i=+o[b+28>>2];l=+o[c>>2]+(f*h-m*i);i=h*m+f*i+ +o[c+4>>2];f=+o[d+12>>2];m=+o[b>>2];h=+o[d+8>>2];g=+o[b+4>>2];j=+o[d>>2]+(f*m-h*g);g=m*h+f*g+ +o[d+4>>2];o[a>>2]=j-l;o[a+4>>2]=g-i;f=+X(+((j-l)*(j-l)+(g-i)*(g-i)));if(f<1.1920928955078125e-07){h=j-l;f=g-i}else{o[a>>2]=(j-l)*(1.0/f);o[a+4>>2]=(g-i)*(1.0/f);h=(j-l)*(1.0/f);f=(g-i)*(1.0/f)}o[a+8>>2]=(l+j)*.5;o[a+12>>2]=(i+g)*.5;o[a+16>>2]=(j-l)*h+(g-i)*f-+o[b+76>>2]-+o[b+80>>2];return}case 1:{i=+o[c+12>>2];g=+o[b+16>>2];h=+o[c+8>>2];j=+o[b+20>>2];o[a>>2]=i*g-h*j;o[a+4>>2]=g*h+i*j;n=+o[c+12>>2];q=+o[b+24>>2];p=+o[c+8>>2];f=+o[b+28>>2];r=+o[d+12>>2];t=+o[b+(e<<3)>>2];s=+o[d+8>>2];m=+o[b+(e<<3)+4>>2];l=+o[d>>2]+(r*t-s*m);m=t*s+r*m+ +o[d+4>>2];o[a+16>>2]=(i*g-h*j)*(l-(+o[c>>2]+(n*q-p*f)))+(m-(q*p+n*f+ +o[c+4>>2]))*(g*h+i*j)-+o[b+76>>2]-+o[b+80>>2];o[a+8>>2]=l;o[a+12>>2]=m;return}case 2:{s=+o[d+12>>2];q=+o[b+16>>2];r=+o[d+8>>2];t=+o[b+20>>2];o[a>>2]=s*q-r*t;o[a+4>>2]=q*r+s*t;l=+o[d+12>>2];i=+o[b+24>>2];j=+o[d+8>>2];m=+o[b+28>>2];h=+o[c+12>>2];f=+o[b+(e<<3)>>2];g=+o[c+8>>2];p=+o[b+(e<<3)+4>>2];n=+o[c>>2]+(h*f-g*p);p=f*g+h*p+ +o[c+4>>2];o[a+16>>2]=(s*q-r*t)*(n-(+o[d>>2]+(l*i-j*m)))+(p-(i*j+l*m+ +o[d+4>>2]))*(q*r+s*t)-+o[b+76>>2]-+o[b+80>>2];o[a+8>>2]=n;o[a+12>>2]=p;o[a>>2]=-(s*q-r*t);o[a+4>>2]=-(q*r+s*t);return}default:return}}function zra(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0,f=0,g=0,h=0,i=0,j=0.0,l=0.0,m=0.0,n=0.0,p=0.0,q=0.0,s=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0,C=0.0,D=0.0,E=0.0,F=0.0,G=0,H=0.0,I=0.0,J=0.0,K=0,L=0,M=0,N=0;N=r;r=r+64|0;if((k[a+48>>2]|0)<=0){J=0.0;c=J>=-.007499999832361937;r=N;return c|0}M=0;d=0.0;do{e=k[a+36>>2]|0;B=e+(M*88|0)|0;K=k[e+(M*88|0)+32>>2]|0;L=k[e+(M*88|0)+36>>2]|0;C=+o[e+(M*88|0)+48>>2];D=+o[e+(M*88|0)+52>>2];E=+o[e+(M*88|0)+56>>2];F=+o[e+(M*88|0)+60>>2];G=k[e+(M*88|0)+84>>2]|0;if((K|0)==(b|0)|(K|0)==(c|0)){H=+o[e+(M*88|0)+64>>2];J=+o[e+(M*88|0)+40>>2]}else{H=0.0;J=0.0}if((L|0)==(b|0)|(L|0)==(c|0)){I=+o[e+(M*88|0)+68>>2];A=+o[e+(M*88|0)+44>>2]}else{I=0.0;A=0.0}i=k[a+24>>2]|0;h=k[i+(K*12|0)>>2]|0;g=k[i+(K*12|0)+4>>2]|0;l=+o[i+(K*12|0)+8>>2];f=k[i+(L*12|0)>>2]|0;e=k[i+(L*12|0)+4>>2]|0;j=+o[i+(L*12|0)+8>>2];if((G|0)>0){z=J+A;i=0;do{y=+_(+l);o[N+40+8>>2]=y;v=+Z(+l);o[N+40+12>>2]=v;p=+_(+j);o[N+24+8>>2]=p;q=+Z(+j);o[N+24+12>>2]=q;u=(k[t>>2]=h,+o[t>>2]);s=(k[t>>2]=g,+o[t>>2]);o[N+40>>2]=u-(C*v-D*y);o[N+40+4>>2]=s-(D*v+C*y);y=(k[t>>2]=f,+o[t>>2]);v=(k[t>>2]=e,+o[t>>2]);o[N+24>>2]=y-(E*q-F*p);o[N+24+4>>2]=v-(F*q+E*p);yra(N,B,N+40|0,N+24|0,i);p=+o[N>>2];q=+o[N+4>>2];w=+o[N+8>>2];x=+o[N+12>>2];m=+o[N+16>>2];d=d0.0)m=-(m<-.20000000298023224?-.20000000298023224:m)/n;else m=0.0;p=p*m;q=q*m;h=(o[t>>2]=u-J*p,k[t>>2]|0);g=(o[t>>2]=s-J*q,k[t>>2]|0);l=l-H*((w-u)*q-(x-s)*p);f=(o[t>>2]=y+A*p,k[t>>2]|0);e=(o[t>>2]=v+A*q,k[t>>2]|0);j=j+I*((w-y)*q-(x-v)*p);i=i+1|0}while((i|0)!=(G|0));i=k[a+24>>2]|0}k[i+(K*12|0)>>2]=h;k[i+(K*12|0)+4>>2]=g;G=k[a+24>>2]|0;o[G+(K*12|0)+8>>2]=l;k[G+(L*12|0)>>2]=f;k[G+(L*12|0)+4>>2]=e;o[(k[a+24>>2]|0)+(L*12|0)+8>>2]=j;M=M+1|0}while((M|0)<(k[a+48>>2]|0));c=d>=-.007499999832361937;r=N;return c|0}function Ara(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,f=0.0,g=0.0,h=0;h=k[b+48>>2]|0;g=+o[h+24>>2];f=+o[b+80>>2];e=+o[h+20>>2];d=+o[b+84>>2];c=f*e+g*d+ +o[h+16>>2];o[a>>2]=+o[h+12>>2]+(g*f-e*d);o[a+4>>2]=c;return}function Bra(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,f=0.0,g=0.0,h=0;h=k[b+52>>2]|0;g=+o[h+24>>2];f=+o[b+88>>2];e=+o[h+20>>2];d=+o[b+92>>2];c=f*e+g*d+ +o[h+16>>2];o[a>>2]=+o[h+12>>2]+(g*f-e*d);o[a+4>>2]=c;return}function Cra(a,b,c){a=a|0;b=b|0;c=+c;var d=0.0;d=+o[b+100>>2]*c;c=d*+o[b+120>>2];o[a>>2]=+o[b+116>>2]*d;o[a+4>>2]=c;return}function Dra(a,b){a=a|0;b=+b;return 0.0}function Era(a){a=a|0;var b=0,c=0.0,d=0,e=0;b=r;r=r+96|0;e=k[(k[a+48>>2]|0)+8>>2]|0;d=k[(k[a+52>>2]|0)+8>>2]|0;mT(444264,b);k[b+8>>2]=e;mT(444660,b+8|0);k[b+16>>2]=d;mT(444686,b+16|0);k[b+24>>2]=l[a+61>>0];mT(444712,b+24|0);c=+o[a+84>>2];p[b+32>>3]=+o[a+80>>2];p[b+32+8>>3]=c;mT(444417,b+32|0);c=+o[a+92>>2];p[b+48>>3]=+o[a+88>>2];p[b+48+8>>3]=c;mT(444459,b+48|0);p[b+64>>3]=+o[a+104>>2];mT(444290,b+64|0);p[b+72>>3]=+o[a+68>>2];mT(444314,b+72|0);p[b+80>>3]=+o[a+72>>2];mT(444343,b+80|0);k[b+88>>2]=k[a+56>>2];mT(444824,b+88|0);r=b;return}function Fra(a){a=a|0;CAb(a);return}function Gra(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,f=0.0,g=0.0,h=0.0,j=0.0,l=0.0,m=0.0,n=0.0,p=0.0,q=0,r=0,s=0.0,u=0,v=0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0,G=0,H=0,I=0,J=0,K=0,L=0.0,M=0.0;K=k[a+48>>2]|0;v=k[K+8>>2]|0;k[a+108>>2]=v;u=k[a+52>>2]|0;J=k[u+8>>2]|0;k[a+112>>2]=J;I=k[K+28>>2]|0;H=k[K+28+4>>2]|0;k[a+140>>2]=I;k[a+140+4>>2]=H;G=k[u+28>>2]|0;F=k[u+28+4>>2]|0;k[a+148>>2]=G;k[a+148+4>>2]=F;k[a+156>>2]=k[K+120>>2];k[a+160>>2]=k[u+120>>2];k[a+164>>2]=k[K+128>>2];k[a+168>>2]=k[u+128>>2];u=k[b+24>>2]|0;d=+o[u+(v*12|0)>>2];c=+o[u+(v*12|0)+4>>2];y=+o[u+(v*12|0)+8>>2];K=k[b+28>>2]|0;q=k[K+(v*12|0)>>2]|0;r=k[K+(v*12|0)+4>>2]|0;s=+o[K+(v*12|0)+8>>2];p=+o[u+(J*12|0)>>2];g=+o[u+(J*12|0)+4>>2];A=+o[u+(J*12|0)+8>>2];u=k[K+(J*12|0)>>2]|0;v=k[K+(J*12|0)+4>>2]|0;w=+o[K+(J*12|0)+8>>2];x=+_(+y);y=+Z(+y);z=+_(+A);A=+Z(+A);B=+o[a+80>>2]-(k[t>>2]=I,+o[t>>2]);C=+o[a+84>>2]-(k[t>>2]=H,+o[t>>2]);o[a+124>>2]=y*B-x*C;o[a+128>>2]=x*B+y*C;D=+o[a+88>>2]-(k[t>>2]=G,+o[t>>2]);E=+o[a+92>>2]-(k[t>>2]=F,+o[t>>2]);o[a+132>>2]=A*D-z*E;o[a+136>>2]=z*D+A*E;d=p+(A*D-z*E)-d-(y*B-x*C);c=g+(z*D+A*E)-c-(x*B+y*C);o[a+116>>2]=d;o[a+120>>2]=c;g=+X(+(d*d+c*c));if(g>.004999999888241291){o[a+116>>2]=d*(1.0/g);p=1.0/g*c;h=d*(1.0/g)}else{o[a+116>>2]=0.0;p=0.0;h=0.0}o[a+120>>2]=p;c=p*(y*B-x*C)-(x*B+y*C)*h;d=p*(A*D-z*E)-h*(z*D+A*E);j=+o[a+156>>2];l=+o[a+164>>2];m=+o[a+160>>2];n=+o[a+168>>2];e=m+(j+c*(c*l))+d*(d*n)!=0.0?1.0/(m+(j+c*(c*l))+d*(d*n)):0.0;o[a+172>>2]=e;f=+o[a+68>>2];if(f>0.0){M=+o[b>>2];L=M*(f*6.2831854820251465*(e*2.0*+o[a+72>>2])+f*6.2831854820251465*(f*6.2831854820251465*e)*M);L=L!=0.0?1.0/L:0.0;g=f*6.2831854820251465*(f*6.2831854820251465*e)*((g-+o[a+104>>2])*M)*L;c=m+(j+c*(c*l))+d*(d*n)+L;o[a+172>>2]=c!=0.0?1.0/c:0.0;c=g;d=L}else{c=0.0;d=0.0}o[a+96>>2]=d;o[a+76>>2]=c;if(!(i[b+20>>0]|0)){o[a+100>>2]=0.0;I=r;G=u;J=v;L=s;M=w;K=k[a+108>>2]|0;H=k[b+28>>2]|0;F=H+(K*12|0)|0;k[F>>2]=q;K=H+(K*12|0)+4|0;k[K>>2]=I;K=k[a+108>>2]|0;I=k[b+28>>2]|0;K=I+(K*12|0)+8|0;o[K>>2]=L;K=k[a+112>>2]|0;H=I+(K*12|0)|0;k[H>>2]=G;K=I+(K*12|0)+4|0;k[K>>2]=J;K=k[a+112>>2]|0;J=k[b+28>>2]|0;K=J+(K*12|0)+8|0;o[K>>2]=M;return}else{L=+o[b+8>>2]*+o[a+100>>2];o[a+100>>2]=L;M=L*h;p=L*p;J=(o[t>>2]=(k[t>>2]=q,+o[t>>2])-M*j,k[t>>2]|0);I=(o[t>>2]=(k[t>>2]=r,+o[t>>2])-p*j,k[t>>2]|0);G=(o[t>>2]=(k[t>>2]=u,+o[t>>2])+M*m,k[t>>2]|0);u=J;J=(o[t>>2]=(k[t>>2]=v,+o[t>>2])+p*m,k[t>>2]|0);L=s-l*(p*(y*B-x*C)-M*(x*B+y*C));M=w+n*(p*(A*D-z*E)-M*(z*D+A*E));K=k[a+108>>2]|0;H=k[b+28>>2]|0;F=H+(K*12|0)|0;k[F>>2]=u;K=H+(K*12|0)+4|0;k[K>>2]=I;K=k[a+108>>2]|0;I=k[b+28>>2]|0;K=I+(K*12|0)+8|0;o[K>>2]=L;K=k[a+112>>2]|0;H=I+(K*12|0)|0;k[H>>2]=G;K=I+(K*12|0)+4|0;k[K>>2]=J;K=k[a+112>>2]|0;J=k[b+28>>2]|0;K=J+(K*12|0)+8|0;o[K>>2]=M;return}}function Hra(a,b){a=a|0;b=b|0;var c=0.0,d=0,e=0,f=0.0,g=0.0,h=0.0,i=0.0,j=0.0,l=0.0,m=0.0,n=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0;e=k[a+108>>2]|0;d=k[b+28>>2]|0;q=+o[d+(e*12|0)>>2];p=+o[d+(e*12|0)+4>>2];t=+o[d+(e*12|0)+8>>2];u=k[a+112>>2]|0;l=+o[d+(u*12|0)>>2];i=+o[d+(u*12|0)+4>>2];s=+o[d+(u*12|0)+8>>2];m=+o[a+128>>2];f=+o[a+124>>2];c=+o[a+136>>2];r=+o[a+132>>2];j=+o[a+116>>2];h=+o[a+120>>2];n=+o[a+100>>2];g=+o[a+172>>2]*(+o[a+76>>2]+(j*(l-s*c-(q-t*m))+h*(i+s*r-(p+t*f)))+ +o[a+96>>2]*n);o[a+100>>2]=n-g;n=+o[a+156>>2];m=t-+o[a+164>>2]*(h*-g*f-j*-g*m);f=+o[a+160>>2];c=s+ +o[a+168>>2]*(h*-g*r-j*-g*c);o[d+(e*12|0)>>2]=q-j*-g*n;o[d+(e*12|0)+4>>2]=p-h*-g*n;e=k[b+28>>2]|0;o[e+((k[a+108>>2]|0)*12|0)+8>>2]=m;d=k[a+112>>2]|0;o[e+(d*12|0)>>2]=l+j*-g*f;o[e+(d*12|0)+4>>2]=i+h*-g*f;o[(k[b+28>>2]|0)+((k[a+112>>2]|0)*12|0)+8>>2]=c;return}function Ira(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,f=0.0,g=0.0,h=0.0,i=0.0,j=0.0,l=0.0,m=0.0,n=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0,u=0.0,v=0.0,w=0,x=0.0,y=0;if(+o[a+68>>2]>0.0){a=1;return a|0}t=k[a+108>>2]|0;w=k[b+24>>2]|0;x=+o[w+(t*12|0)>>2];g=+o[w+(t*12|0)+4>>2];h=+o[w+(t*12|0)+8>>2];y=k[a+112>>2]|0;i=+o[w+(y*12|0)>>2];j=+o[w+(y*12|0)+4>>2];l=+o[w+(y*12|0)+8>>2];m=+_(+h);n=+Z(+h);p=+_(+l);q=+Z(+l);r=+o[a+80>>2]-+o[a+140>>2];s=+o[a+84>>2]-+o[a+144>>2];u=+o[a+88>>2]-+o[a+148>>2];v=+o[a+92>>2]-+o[a+152>>2];d=i+(q*u-p*v)-x-(n*r-m*s);c=j+(p*u+q*v)-g-(m*r+n*s);e=+X(+(d*d+c*c));if(e<1.1920928955078125e-07)f=0.0;else{f=e;d=1.0/e*d;c=1.0/e*c}f=f-+o[a+104>>2];f=f<.20000000298023224?f:.20000000298023224;f=f<-.20000000298023224?-.20000000298023224:f;e=-(+o[a+172>>2]*f);d=d*e;e=c*e;c=+o[a+156>>2];r=h-+o[a+164>>2]*((n*r-m*s)*e-(m*r+n*s)*d);s=+o[a+160>>2];v=l+ +o[a+168>>2]*((q*u-p*v)*e-(p*u+q*v)*d);o[w+(t*12|0)>>2]=x-c*d;o[w+(t*12|0)+4>>2]=g-c*e;w=k[b+24>>2]|0;o[w+((k[a+108>>2]|0)*12|0)+8>>2]=r;y=k[a+112>>2]|0;o[w+(y*12|0)>>2]=i+s*d;o[w+(y*12|0)+4>>2]=j+s*e;o[(k[b+24>>2]|0)+((k[a+112>>2]|0)*12|0)+8>>2]=v;y=(f>0.0?f:-f)<.004999999888241291;return y|0}function Jra(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0.0,g=0.0,h=0.0,i=0.0;k[a+8>>2]=b;k[a+12>>2]=c;h=+o[d>>2]-+o[b+12>>2];i=+o[d+4>>2]-+o[b+16>>2];g=+o[b+24>>2];f=+o[b+20>>2];o[a+20>>2]=h*g+i*f;o[a+24>>2]=g*i-h*f;f=+o[e>>2]-+o[c+12>>2];h=+o[e+4>>2]-+o[c+16>>2];i=+o[c+24>>2];g=+o[c+20>>2];o[a+28>>2]=f*i+h*g;o[a+32>>2]=i*h-f*g;g=+o[e>>2]-+o[d>>2];f=+o[e+4>>2]-+o[d+4>>2];f=+X(+(g*g+f*f));o[a+36>>2]=f;return}function Kra(a,b){a=a|0;b=b|0;var c=0;gU(a,b);k[a>>2]=31816;c=k[b+20+4>>2]|0;k[a+80>>2]=k[b+20>>2];k[a+80+4>>2]=c;c=k[b+28+4>>2]|0;k[a+88>>2]=k[b+28>>2];k[a+88+4>>2]=c;k[a+104>>2]=k[b+36>>2];k[a+68>>2]=k[b+40>>2];k[a+72>>2]=k[b+44>>2];o[a+100>>2]=0.0;o[a+96>>2]=0.0;o[a+76>>2]=0.0;return}function Lra(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,f=0.0,g=0.0,h=0;h=k[b+48>>2]|0;g=+o[h+24>>2];f=+o[b+68>>2];e=+o[h+20>>2];d=+o[b+72>>2];c=f*e+g*d+ +o[h+16>>2];o[a>>2]=+o[h+12>>2]+(g*f-e*d);o[a+4>>2]=c;return}function Mra(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,f=0.0,g=0.0,h=0;h=k[b+52>>2]|0;g=+o[h+24>>2];f=+o[b+76>>2];e=+o[h+20>>2];d=+o[b+80>>2];c=f*e+g*d+ +o[h+16>>2];o[a>>2]=+o[h+12>>2]+(g*f-e*d);o[a+4>>2]=c;return}function Nra(a,b,c){a=a|0;b=b|0;c=+c;var d=0.0;d=+o[b+88>>2]*c;o[a>>2]=+o[b+84>>2]*c;o[a+4>>2]=d;return}function Ora(a,b){a=a|0;b=+b;return +(+o[a+92>>2]*b)}function Pra(a){a=a|0;var b=0,c=0.0,d=0,e=0;b=r;r=r+96|0;e=k[(k[a+48>>2]|0)+8>>2]|0;d=k[(k[a+52>>2]|0)+8>>2]|0;mT(444391,b);k[b+8>>2]=e;mT(444660,b+8|0);k[b+16>>2]=d;mT(444686,b+16|0);k[b+24>>2]=l[a+61>>0];mT(444712,b+24|0);c=+o[a+72>>2];p[b+32>>3]=+o[a+68>>2];p[b+32+8>>3]=c;mT(444417,b+32|0);c=+o[a+80>>2];p[b+48>>3]=+o[a+76>>2];p[b+48+8>>3]=c;mT(444459,b+48|0);p[b+64>>3]=+o[a+96>>2];mT(444501,b+64|0);p[b+72>>3]=+o[a+100>>2];mT(444527,b+72|0);k[b+80>>2]=k[a+56>>2];mT(444824,b+80|0);r=b;return}function Qra(a){a=a|0;CAb(a);return}function Rra(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,f=0.0,g=0,h=0,j=0.0,l=0,m=0,n=0.0,p=0.0,q=0.0,r=0.0,s=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;D=k[a+48>>2]|0;m=k[D+8>>2]|0;k[a+104>>2]=m;C=k[a+52>>2]|0;K=k[C+8>>2]|0;k[a+108>>2]=K;J=k[D+28>>2]|0;I=k[D+28+4>>2]|0;k[a+128>>2]=J;k[a+128+4>>2]=I;H=k[C+28>>2]|0;G=k[C+28+4>>2]|0;k[a+136>>2]=H;k[a+136+4>>2]=G;F=k[D+120>>2]|0;k[a+144>>2]=F;E=k[C+120>>2]|0;k[a+148>>2]=E;D=k[D+128>>2]|0;k[a+152>>2]=D;C=k[C+128>>2]|0;k[a+156>>2]=C;l=k[b+24>>2]|0;q=+o[l+(m*12|0)+8>>2];L=k[b+28>>2]|0;g=k[L+(m*12|0)>>2]|0;h=k[L+(m*12|0)+4>>2]|0;j=+o[L+(m*12|0)+8>>2];s=+o[l+(K*12|0)+8>>2];l=k[L+(K*12|0)>>2]|0;m=k[L+(K*12|0)+4>>2]|0;n=+o[L+(K*12|0)+8>>2];p=+_(+q);q=+Z(+q);r=+_(+s);s=+Z(+s);u=+o[a+68>>2]-(k[t>>2]=J,+o[t>>2]);v=+o[a+72>>2]-(k[t>>2]=I,+o[t>>2]);o[a+112>>2]=q*u-p*v;o[a+116>>2]=p*u+q*v;w=+o[a+76>>2]-(k[t>>2]=H,+o[t>>2]);x=+o[a+80>>2]-(k[t>>2]=G,+o[t>>2]);o[a+120>>2]=s*w-r*x;o[a+124>>2]=r*w+s*x;c=(k[t>>2]=F,+o[t>>2]);d=(k[t>>2]=E,+o[t>>2]);e=(k[t>>2]=D,+o[t>>2]);f=(k[t>>2]=C,+o[t>>2]);z=c+d+(p*u+q*v)*(e*(p*u+q*v))+(r*w+s*x)*(f*(r*w+s*x));A=-((p*u+q*v)*(e*(q*u-p*v)))-(r*w+s*x)*(f*(s*w-r*x));B=c+d+(q*u-p*v)*(e*(q*u-p*v))+(s*w-r*x)*(f*(s*w-r*x));y=z*B-A*A!=0.0?1.0/(z*B-A*A):z*B-A*A;o[a+160>>2]=B*y;o[a+164>>2]=-(A*y);o[a+168>>2]=-(A*y);o[a+172>>2]=z*y;o[a+176>>2]=e+f>0.0?1.0/(e+f):e+f;if(!(i[b+20>>0]|0)){o[a+84>>2]=0.0;o[a+88>>2]=0.0;o[a+92>>2]=0.0;F=g;J=h;H=l;K=m;A=j;B=n;L=k[a+104>>2]|0;I=k[b+28>>2]|0;G=I+(L*12|0)|0;k[G>>2]=F;L=I+(L*12|0)+4|0;k[L>>2]=J;L=k[a+104>>2]|0;J=k[b+28>>2]|0;L=J+(L*12|0)+8|0;o[L>>2]=A;L=k[a+108>>2]|0;I=J+(L*12|0)|0;k[I>>2]=H;L=J+(L*12|0)+4|0;k[L>>2]=K;L=k[a+108>>2]|0;K=k[b+28>>2]|0;L=K+(L*12|0)+8|0;o[L>>2]=B;return}else{y=+o[b+8>>2];B=y*+o[a+84>>2];o[a+84>>2]=B;z=y*+o[a+88>>2];o[a+88>>2]=z;y=y*+o[a+92>>2];o[a+92>>2]=y;F=(o[t>>2]=(k[t>>2]=g,+o[t>>2])-c*B,k[t>>2]|0);J=(o[t>>2]=(k[t>>2]=h,+o[t>>2])-c*z,k[t>>2]|0);H=(o[t>>2]=(k[t>>2]=l,+o[t>>2])+d*B,k[t>>2]|0);K=(o[t>>2]=(k[t>>2]=m,+o[t>>2])+d*z,k[t>>2]|0);A=j-e*(y+(z*(q*u-p*v)-B*(p*u+q*v)));B=n+f*(y+(z*(s*w-r*x)-B*(r*w+s*x)));L=k[a+104>>2]|0;I=k[b+28>>2]|0;G=I+(L*12|0)|0;k[G>>2]=F;L=I+(L*12|0)+4|0;k[L>>2]=J;L=k[a+104>>2]|0;J=k[b+28>>2]|0;L=J+(L*12|0)+8|0;o[L>>2]=A;L=k[a+108>>2]|0;I=J+(L*12|0)|0;k[I>>2]=H;L=J+(L*12|0)+4|0;k[L>>2]=K;L=k[a+108>>2]|0;K=k[b+28>>2]|0;L=K+(L*12|0)+8|0;o[L>>2]=B;return}}function Sra(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,f=0.0,g=0,h=0.0,i=0.0,j=0.0,l=0.0,m=0.0,n=0.0,p=0.0,q=0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0;g=k[a+104>>2]|0;q=k[b+28>>2]|0;u=+o[q+(g*12|0)>>2];y=+o[q+(g*12|0)+4>>2];B=+o[q+(g*12|0)+8>>2];C=k[a+108>>2]|0;h=+o[q+(C*12|0)>>2];i=+o[q+(C*12|0)+4>>2];j=+o[q+(C*12|0)+8>>2];l=+o[a+144>>2];m=+o[a+148>>2];n=+o[a+152>>2];p=+o[a+156>>2];f=+o[b>>2];r=+o[a+92>>2];t=f*+o[a+100>>2];s=r-(j-B)*+o[a+176>>2];s=s>2]=s;t=+o[a+124>>2];v=+o[a+120>>2];w=+o[a+116>>2];x=+o[a+112>>2];c=+o[a+164>>2]*(w*(B-n*(s-r))+(h-t*(j+p*(s-r))-u))+ +o[a+172>>2]*(i+v*(j+p*(s-r))-y-x*(B-n*(s-r)));z=+o[a+84>>2];A=+o[a+88>>2];d=z-(+o[a+160>>2]*(w*(B-n*(s-r))+(h-t*(j+p*(s-r))-u))+ +o[a+168>>2]*(i+v*(j+p*(s-r))-y-x*(B-n*(s-r))));o[a+84>>2]=d;o[a+88>>2]=A-c;f=f*+o[a+96>>2];if(d*d+(A-c)*(A-c)>f*f){e=+X(+(d*d+(A-c)*(A-c)));if(e<1.1920928955078125e-07)c=A-c;else{o[a+84>>2]=d*(1.0/e);o[a+88>>2]=(A-c)*(1.0/e);c=(A-c)*(1.0/e);d=d*(1.0/e)}d=f*d;o[a+84>>2]=d;c=f*c;o[a+88>>2]=c}else c=A-c;z=d-z;A=c-A;o[q+(g*12|0)>>2]=u-l*z;o[q+(g*12|0)+4>>2]=y-l*A;q=k[b+28>>2]|0;o[q+((k[a+104>>2]|0)*12|0)+8>>2]=B-n*(s-r)-n*(x*A-z*w);C=k[a+108>>2]|0;o[q+(C*12|0)>>2]=h+m*z;o[q+(C*12|0)+4>>2]=i+m*A;o[(k[b+28>>2]|0)+((k[a+108>>2]|0)*12|0)+8>>2]=j+p*(s-r)+p*(A*v-z*t);return}function Tra(a,b){a=a|0;b=b|0;return 1}function Ura(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0.0,f=0.0,g=0.0,h=0.0;k[a+8>>2]=b;k[a+12>>2]=c;g=+o[d>>2]-+o[b+12>>2];h=+o[d+4>>2]-+o[b+16>>2];e=+o[b+24>>2];f=+o[b+20>>2];o[a+20>>2]=g*e+h*f;o[a+24>>2]=e*h-g*f;f=+o[d>>2]-+o[c+12>>2];g=+o[d+4>>2]-+o[c+16>>2];h=+o[c+24>>2];e=+o[c+20>>2];o[a+28>>2]=f*h+g*e;o[a+32>>2]=h*g-f*e;return}function Vra(a,b){a=a|0;b=b|0;var c=0;gU(a,b);k[a>>2]=31868;c=k[b+20+4>>2]|0;k[a+68>>2]=k[b+20>>2];k[a+68+4>>2]=c;c=k[b+28+4>>2]|0;k[a+76>>2]=k[b+28>>2];k[a+76+4>>2]=c;o[a+84>>2]=0.0;o[a+88>>2]=0.0;o[a+92>>2]=0.0;k[a+96>>2]=k[b+36>>2];k[a+100>>2]=k[b+40>>2];return}function Wra(a,b){a=a|0;b=+b;nT(b>=0.0&((o[t>>2]=b,k[t>>2]|0)&2139095040|0)!=2139095040,444554);o[a+96>>2]=b;return}function Xra(a){a=a|0;return +(+o[a+96>>2])}function Yra(a,b){a=a|0;b=+b;nT(b>=0.0&((o[t>>2]=b,k[t>>2]|0)&2139095040|0)!=2139095040,444588);o[a+100>>2]=b;return}function Zra(a){a=a|0;return +(+o[a+100>>2])}function _ra(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,f=0.0,g=0.0,h=0;h=k[b+48>>2]|0;g=+o[h+24>>2];f=+o[b+92>>2];e=+o[h+20>>2];d=+o[b+96>>2];c=f*e+g*d+ +o[h+16>>2];o[a>>2]=+o[h+12>>2]+(g*f-e*d);o[a+4>>2]=c;return}function $ra(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,f=0.0,g=0.0,h=0;h=k[b+52>>2]|0;g=+o[h+24>>2];f=+o[b+100>>2];e=+o[h+20>>2];d=+o[b+104>>2];c=f*e+g*d+ +o[h+16>>2];o[a>>2]=+o[h+12>>2]+(g*f-e*d);o[a+4>>2]=c;return}function asa(a,b,c){a=a|0;b=b|0;c=+c;var d=0.0,e=0.0;e=+o[b+156>>2];d=e*+o[b+244>>2]*c;o[a>>2]=e*+o[b+240>>2]*c;o[a+4>>2]=d;return}function bsa(a,b){a=a|0;b=+b;return +(+o[a+156>>2]*+o[a+256>>2]*b)}function csa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=r;r=r+64|0;f=k[(k[a+48>>2]|0)+8>>2]|0;e=k[(k[a+52>>2]|0)+8>>2]|0;d=k[(k[a+68>>2]|0)+56>>2]|0;c=k[(k[a+72>>2]|0)+56>>2]|0;mT(444638,b);k[b+8>>2]=f;mT(444660,b+8|0);k[b+16>>2]=e;mT(444686,b+16|0);k[b+24>>2]=l[a+61>>0];mT(444712,b+24|0);k[b+32>>2]=d;mT(444747,b+32|0);k[b+40>>2]=c;mT(444774,b+40|0);p[b+48>>3]=+o[a+152>>2];mT(444801,b+48|0);k[b+56>>2]=k[a+56>>2];mT(444824,b+56|0);r=b;return}function dsa(a){a=a|0;CAb(a);return}function esa(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,f=0.0,g=0.0,h=0.0,j=0.0,l=0.0,m=0.0,n=0.0,p=0.0,q=0.0,r=0.0,s=0,u=0.0,v=0,w=0,x=0.0,y=0,z=0,A=0.0,B=0,C=0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0.0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0.0,U=0.0,V=0.0,W=0;O=k[a+48>>2]|0;v=k[O+8>>2]|0;k[a+160>>2]=v;L=k[a+52>>2]|0;R=k[L+8>>2]|0;k[a+164>>2]=R;P=k[a+84>>2]|0;k[a+168>>2]=k[P+8>>2];M=k[a+88>>2]|0;k[a+172>>2]=k[M+8>>2];Q=k[O+28+4>>2]|0;k[a+176>>2]=k[O+28>>2];k[a+176+4>>2]=Q;Q=k[L+28+4>>2]|0;k[a+184>>2]=k[L+28>>2];k[a+184+4>>2]=Q;Q=k[P+28+4>>2]|0;k[a+192>>2]=k[P+28>>2];k[a+192+4>>2]=Q;Q=k[M+28+4>>2]|0;k[a+200>>2]=k[M+28>>2];k[a+200+4>>2]=Q;k[a+208>>2]=k[O+120>>2];k[a+212>>2]=k[L+120>>2];Q=k[P+120>>2]|0;k[a+216>>2]=Q;N=k[M+120>>2]|0;k[a+220>>2]=N;O=k[O+128>>2]|0;k[a+224>>2]=O;L=k[L+128>>2]|0;k[a+228>>2]=L;P=k[P+128>>2]|0;k[a+232>>2]=P;M=k[M+128>>2]|0;k[a+236>>2]=M;B=k[b+24>>2]|0;d=+o[B+(v*12|0)+8>>2];S=k[b+28>>2]|0;K=k[S+(v*12|0)>>2]|0;s=k[S+(v*12|0)+4>>2]|0;u=+o[S+(v*12|0)+8>>2];h=+o[B+(R*12|0)+8>>2];v=k[S+(R*12|0)>>2]|0;w=k[S+(R*12|0)+4>>2]|0;x=+o[S+(R*12|0)+8>>2];R=k[a+168>>2]|0;f=+o[B+(R*12|0)+8>>2];y=k[S+(R*12|0)>>2]|0;z=k[S+(R*12|0)+4>>2]|0;A=+o[S+(R*12|0)+8>>2];R=k[a+172>>2]|0;q=+o[B+(R*12|0)+8>>2];B=k[S+(R*12|0)>>2]|0;C=k[S+(R*12|0)+4>>2]|0;D=+o[S+(R*12|0)+8>>2];c=+_(+d);d=+Z(+d);g=+_(+h);h=+Z(+h);e=+_(+f);f=+Z(+f);p=+_(+q);q=+Z(+q);o[a+272>>2]=0.0;E=(k[t>>2]=Q,+o[t>>2]);F=(k[t>>2]=P,+o[t>>2]);G=(k[t>>2]=O,+o[t>>2]);H=(k[t>>2]=N,+o[t>>2]);I=(k[t>>2]=M,+o[t>>2]);J=(k[t>>2]=L,+o[t>>2]);if((k[a+76>>2]|0)==1){o[a+264>>2]=1.0;c=G+F;r=0.0;l=0.0;m=1.0;n=1.0}else{j=+o[a+124>>2];l=+o[a+128>>2];T=+o[a+108>>2]-+o[a+192>>2];n=+o[a+112>>2]-+o[a+196>>2];r=+o[a+92>>2]-+o[a+176>>2];m=+o[a+96>>2]-+o[a+180>>2];n=(e*j+f*l)*(f*T-e*n)-(f*j-e*l)*(e*T+f*n);o[a+264>>2]=n;m=(e*j+f*l)*(d*r-c*m)-(f*j-e*l)*(c*r+d*m);c=E+ +o[a+208>>2]+n*(F*n)+m*(m*G);r=f*j-e*l;l=e*j+f*l}j=c+0.0;o[a+240>>2]=r;o[a+244>>2]=l;o[a+256>>2]=m;o[a+272>>2]=j;if((k[a+80>>2]|0)==1){S=k[a+152>>2]|0;k[a+260>>2]=S;k[a+268>>2]=S;e=(k[t>>2]=S,+o[t>>2]);f=e*e*(J+I);g=0.0;c=0.0;d=e}else{U=+o[a+132>>2];T=+o[a+136>>2];V=+o[a+116>>2]-+o[a+200>>2];e=+o[a+120>>2]-+o[a+204>>2];f=+o[a+100>>2]-+o[a+184>>2];d=+o[a+104>>2]-+o[a+188>>2];c=+o[a+152>>2];e=((p*U+q*T)*(q*V-p*e)-(q*U-p*T)*(p*V+q*e))*c;o[a+268>>2]=e;d=((p*U+q*T)*(h*f-g*d)-(q*U-p*T)*(g*f+h*d))*c;o[a+260>>2]=d;f=c*c*(H+ +o[a+212>>2])+e*(I*e)+d*(d*J);g=(q*U-p*T)*c;c=(p*U+q*T)*c}V=j+f;o[a+248>>2]=g;o[a+252>>2]=c;o[a+272>>2]=V>0.0?1.0/V:0.0;if(!(i[b+20>>0]|0)){o[a+156>>2]=0.0;W=K;N=s;K=v;P=w;M=y;Q=z;O=B;R=C;J=u;T=x;U=A;V=D;S=k[a+160>>2]|0;L=k[b+28>>2]|0;C=L+(S*12|0)|0;k[C>>2]=W;S=L+(S*12|0)+4|0;k[S>>2]=N;S=k[a+160>>2]|0;N=k[b+28>>2]|0;S=N+(S*12|0)+8|0;o[S>>2]=J;S=k[a+164>>2]|0;L=N+(S*12|0)|0;k[L>>2]=K;S=N+(S*12|0)+4|0;k[S>>2]=P;S=k[a+164>>2]|0;P=k[b+28>>2]|0;S=P+(S*12|0)+8|0;o[S>>2]=T;S=k[a+168>>2]|0;N=P+(S*12|0)|0;k[N>>2]=M;S=P+(S*12|0)+4|0;k[S>>2]=Q;S=k[a+168>>2]|0;Q=k[b+28>>2]|0;S=Q+(S*12|0)+8|0;o[S>>2]=U;S=k[a+172>>2]|0;P=Q+(S*12|0)|0;k[P>>2]=O;S=Q+(S*12|0)+4|0;k[S>>2]=R;S=k[a+172>>2]|0;R=k[b+28>>2]|0;S=R+(S*12|0)+8|0;o[S>>2]=V;return}else{V=+o[a+156>>2];T=+o[a+208>>2]*V;S=(o[t>>2]=(k[t>>2]=K,+o[t>>2])+r*T,k[t>>2]|0);O=(o[t>>2]=(k[t>>2]=s,+o[t>>2])+T*l,k[t>>2]|0);T=V*+o[a+212>>2];L=(o[t>>2]=(k[t>>2]=v,+o[t>>2])+g*T,k[t>>2]|0);Q=(o[t>>2]=(k[t>>2]=w,+o[t>>2])+T*c,k[t>>2]|0);N=(o[t>>2]=(k[t>>2]=y,+o[t>>2])-r*(V*E),k[t>>2]|0);R=(o[t>>2]=(k[t>>2]=z,+o[t>>2])-l*(V*E),k[t>>2]|0);P=(o[t>>2]=(k[t>>2]=B,+o[t>>2])-g*(V*H),k[t>>2]|0);B=S;S=(o[t>>2]=(k[t>>2]=C,+o[t>>2])-c*(V*H),k[t>>2]|0);H=u+V*G*m;T=x+V*J*d;U=A-V*F*n;V=D-V*I*e;W=k[a+160>>2]|0;M=k[b+28>>2]|0;K=M+(W*12|0)|0;k[K>>2]=B;W=M+(W*12|0)+4|0;k[W>>2]=O;W=k[a+160>>2]|0;O=k[b+28>>2]|0;W=O+(W*12|0)+8|0;o[W>>2]=H;W=k[a+164>>2]|0;M=O+(W*12|0)|0;k[M>>2]=L;W=O+(W*12|0)+4|0;k[W>>2]=Q;W=k[a+164>>2]|0;Q=k[b+28>>2]|0;W=Q+(W*12|0)+8|0;o[W>>2]=T;W=k[a+168>>2]|0;O=Q+(W*12|0)|0;k[O>>2]=N;W=Q+(W*12|0)+4|0;k[W>>2]=R;W=k[a+168>>2]|0;R=k[b+28>>2]|0;W=R+(W*12|0)+8|0;o[W>>2]=U;W=k[a+172>>2]|0;Q=R+(W*12|0)|0;k[Q>>2]=P;W=R+(W*12|0)+4|0;k[W>>2]=S;W=k[a+172>>2]|0;S=k[b+28>>2]|0;W=S+(W*12|0)+8|0;o[W>>2]=V;return}}function fsa(a,b){a=a|0;b=b|0;var c=0.0,d=0,e=0,f=0.0,g=0.0,h=0.0,i=0.0,j=0.0,l=0.0,m=0.0,n=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0;e=k[a+160>>2]|0;d=k[b+28>>2]|0;z=+o[d+(e*12|0)>>2];y=+o[d+(e*12|0)+4>>2];t=+o[d+(e*12|0)+8>>2];e=k[a+164>>2]|0;v=+o[d+(e*12|0)>>2];u=+o[d+(e*12|0)+4>>2];m=+o[d+(e*12|0)+8>>2];e=k[a+168>>2]|0;r=+o[d+(e*12|0)>>2];p=+o[d+(e*12|0)+4>>2];f=+o[d+(e*12|0)+8>>2];e=k[a+172>>2]|0;j=+o[d+(e*12|0)>>2];h=+o[d+(e*12|0)+4>>2];B=+o[d+(e*12|0)+8>>2];q=+o[a+240>>2];n=+o[a+244>>2];i=+o[a+248>>2];g=+o[a+252>>2];w=+o[a+256>>2];l=+o[a+264>>2];s=+o[a+260>>2];c=+o[a+268>>2];A=+o[a+272>>2]*((z-r)*q+(y-p)*n+((v-j)*i+(u-h)*g)+(t*w-f*l+(m*s-B*c)));o[a+156>>2]=+o[a+156>>2]-A;x=+o[a+208>>2]*-A;w=t+ +o[a+224>>2]*-A*w;t=+o[a+212>>2]*-A;s=m+ +o[a+228>>2]*-A*s;m=+o[a+216>>2]*-A;l=f-+o[a+232>>2]*-A*l;f=+o[a+220>>2]*-A;c=B-+o[a+236>>2]*-A*c;e=k[a+160>>2]|0;d=k[b+28>>2]|0;o[d+(e*12|0)>>2]=z+q*x;o[d+(e*12|0)+4>>2]=y+n*x;e=k[b+28>>2]|0;o[e+((k[a+160>>2]|0)*12|0)+8>>2]=w;d=k[a+164>>2]|0;o[e+(d*12|0)>>2]=v+i*t;o[e+(d*12|0)+4>>2]=u+t*g;d=k[b+28>>2]|0;o[d+((k[a+164>>2]|0)*12|0)+8>>2]=s;e=k[a+168>>2]|0;o[d+(e*12|0)>>2]=r-q*m;o[d+(e*12|0)+4>>2]=p-n*m;e=k[b+28>>2]|0;o[e+((k[a+168>>2]|0)*12|0)+8>>2]=l;d=k[a+172>>2]|0;o[e+(d*12|0)>>2]=j-i*f;o[e+(d*12|0)+4>>2]=h-g*f;o[(k[b+28>>2]|0)+((k[a+172>>2]|0)*12|0)+8>>2]=c;return}function gsa(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,f=0.0,g=0.0,h=0.0,i=0.0,j=0.0,l=0.0,m=0.0,n=0.0,p=0.0,q=0.0,r=0.0,s=0.0,u=0,v=0,w=0,x=0.0,y=0,z=0,A=0.0,B=0.0,C=0,D=0,E=0,F=0.0,G=0.0,H=0,I=0,J=0.0,K=0.0,L=0.0,M=0.0,N=0.0,O=0,P=0.0,Q=0.0,R=0.0,S=0.0,T=0.0,U=0.0,V=0.0;u=k[a+160>>2]|0;D=k[b+24>>2]|0;H=k[D+(u*12|0)>>2]|0;I=k[D+(u*12|0)+4>>2]|0;J=+o[D+(u*12|0)+8>>2];O=k[a+164>>2]|0;v=k[D+(O*12|0)>>2]|0;w=k[D+(O*12|0)+4>>2]|0;x=+o[D+(O*12|0)+8>>2];O=k[a+168>>2]|0;y=k[D+(O*12|0)>>2]|0;z=k[D+(O*12|0)+4>>2]|0;A=+o[D+(O*12|0)+8>>2];O=k[a+172>>2]|0;C=k[D+(O*12|0)>>2]|0;E=k[D+(O*12|0)+4>>2]|0;F=+o[D+(O*12|0)+8>>2];c=+_(+J);d=+Z(+J);p=+_(+x);q=+Z(+x);e=+_(+A);f=+Z(+A);r=+_(+F);s=+Z(+F);G=+o[a+224>>2];if((k[a+76>>2]|0)==1){e=+o[a+232>>2];B=e;K=0.0;L=0.0;M=1.0;N=1.0;g=J-A-+o[a+140>>2];e=G+e}else{S=+o[a+124>>2];Q=+o[a+128>>2];R=+o[a+108>>2]-+o[a+192>>2];g=+o[a+112>>2]-+o[a+196>>2];i=+o[a+92>>2]-+o[a+176>>2];j=+o[a+96>>2]-+o[a+180>>2];l=(e*S+f*Q)*(f*R-e*g)-(f*S-e*Q)*(e*R+f*g);n=(e*S+f*Q)*(d*i-c*j)-(f*S-e*Q)*(c*i+d*j);m=+o[a+232>>2];h=(k[t>>2]=H,+o[t>>2]);h=h-(k[t>>2]=y,+o[t>>2]);P=(k[t>>2]=I,+o[t>>2]);P=P-(k[t>>2]=z,+o[t>>2])+(c*i+d*j);B=m;K=f*S-e*Q;L=e*S+f*Q;M=n;N=l;g=S*(f*(h+(d*i-c*j))+e*P-R)+Q*(f*P-e*(h+(d*i-c*j))-g);e=+o[a+216>>2]+ +o[a+208>>2]+l*(l*m)+n*(G*n)}f=+o[a+152>>2];if((k[a+80>>2]|0)==1){h=+o[a+228>>2];i=+o[a+236>>2];c=f*f*(h+i);j=0.0;l=0.0;m=f;n=f;d=x-F-+o[a+144>>2]}else{V=+o[a+132>>2];T=+o[a+136>>2];U=+o[a+116>>2]-+o[a+200>>2];d=+o[a+120>>2]-+o[a+204>>2];R=+o[a+100>>2]-+o[a+184>>2];S=+o[a+104>>2]-+o[a+188>>2];n=f*((r*V+s*T)*(s*U-r*d)-(s*V-r*T)*(r*U+s*d));m=f*((r*V+s*T)*(q*R-p*S)-(s*V-r*T)*(p*R+q*S));i=+o[a+236>>2];h=+o[a+228>>2];Q=(k[t>>2]=v,+o[t>>2]);Q=Q-(k[t>>2]=C,+o[t>>2]);P=(k[t>>2]=w,+o[t>>2]);P=P-(k[t>>2]=E,+o[t>>2])+(p*R+q*S);c=f*f*(+o[a+220>>2]+ +o[a+212>>2])+n*(n*i)+m*(h*m);j=(s*V-r*T)*f;l=(r*V+s*T)*f;d=V*(s*(Q+(q*R-p*S))+r*P-U)+T*(s*P-r*(Q+(q*R-p*S))-d)}c=e+0.0+c;if(c>0.0)c=-(g+d*f-+o[a+148>>2])/c;else c=0.0;P=c*+o[a+208>>2];s=(k[t>>2]=H,+o[t>>2])+K*P;P=(k[t>>2]=I,+o[t>>2])+L*P;R=c*+o[a+212>>2];Q=(k[t>>2]=v,+o[t>>2])+j*R;R=(k[t>>2]=w,+o[t>>2])+l*R;T=c*+o[a+216>>2];S=(k[t>>2]=y,+o[t>>2])-K*T;T=(k[t>>2]=z,+o[t>>2])-L*T;V=c*+o[a+220>>2];U=(k[t>>2]=C,+o[t>>2])-j*V;V=(k[t>>2]=E,+o[t>>2])-l*V;o[D+(u*12|0)>>2]=s;o[D+(u*12|0)+4>>2]=P;I=k[b+24>>2]|0;o[I+((k[a+160>>2]|0)*12|0)+8>>2]=J+M*(c*G);O=k[a+164>>2]|0;o[I+(O*12|0)>>2]=Q;o[I+(O*12|0)+4>>2]=R;O=k[b+24>>2]|0;o[O+((k[a+164>>2]|0)*12|0)+8>>2]=x+m*(c*h);I=k[a+168>>2]|0;o[O+(I*12|0)>>2]=S;o[O+(I*12|0)+4>>2]=T;I=k[b+24>>2]|0;o[I+((k[a+168>>2]|0)*12|0)+8>>2]=A-N*(c*B);O=k[a+172>>2]|0;o[I+(O*12|0)>>2]=U;o[I+(O*12|0)+4>>2]=V;o[(k[b+24>>2]|0)+((k[a+172>>2]|0)*12|0)+8>>2]=F-n*(c*i);return 1}function hsa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0.0,f=0.0,g=0.0,h=0.0,i=0.0,j=0.0,l=0.0,m=0.0,n=0.0,p=0.0,q=0.0,r=0.0,s=0,u=0,v=0,w=0,x=0.0;gU(a,b);k[a>>2]=31920;d=k[b+20>>2]|0;k[a+68>>2]=d;c=k[b+24>>2]|0;k[a+72>>2]=c;d=k[d+4>>2]|0;k[a+76>>2]=d;k[a+80>>2]=k[c+4>>2];nT((d+-1|0)>>>0<2,444867);nT(((k[a+80>>2]|0)+-1|0)>>>0<2,444925);d=k[a+68>>2]|0;c=k[d+48>>2]|0;k[a+84>>2]=c;d=k[d+52>>2]|0;k[a+48>>2]=d;e=+o[d+20>>2];f=+o[d+24>>2];g=+o[c+20>>2];h=+o[c+24>>2];if((k[a+76>>2]|0)==1){h=+o[d+56>>2];i=+o[c+56>>2];d=k[b+20>>2]|0;c=k[d+68+4>>2]|0;k[a+108>>2]=k[d+68>>2];k[a+108+4>>2]=c;c=k[d+76+4>>2]|0;k[a+92>>2]=k[d+76>>2];k[a+92+4>>2]=c;d=k[d+116>>2]|0;k[a+140>>2]=d;o[a+124>>2]=0.0;o[a+128>>2]=0.0;i=h-i-(k[t>>2]=d,+o[t>>2])}else{p=+o[c+16>>2];m=+o[c+12>>2];q=+o[d+16>>2];n=+o[d+12>>2];d=k[b+20>>2]|0;w=k[d+68>>2]|0;v=k[d+68+4>>2]|0;k[a+108>>2]=w;k[a+108+4>>2]=v;u=k[d+76>>2]|0;s=k[d+76+4>>2]|0;k[a+92>>2]=u;k[a+92+4>>2]=s;k[a+140>>2]=k[d+100>>2];c=k[d+84>>2]|0;d=k[d+84+4>>2]|0;k[a+124>>2]=c;k[a+124+4>>2]=d;r=(k[t>>2]=w,+o[t>>2]);i=(k[t>>2]=v,+o[t>>2]);l=(k[t>>2]=u,+o[t>>2]);j=(k[t>>2]=s,+o[t>>2]);r=(k[t>>2]=c,+o[t>>2])*(h*(n-m+(f*l-e*j))+g*(q-p+(e*l+f*j))-r);i=r+(k[t>>2]=d,+o[t>>2])*(h*(q-p+(e*l+f*j))-g*(n-m+(f*l-e*j))-i)}d=k[a+72>>2]|0;c=k[d+48>>2]|0;k[a+88>>2]=c;d=k[d+52>>2]|0;k[a+52>>2]=d;e=+o[d+20>>2];f=+o[d+24>>2];g=+o[c+20>>2];h=+o[c+24>>2];if((k[a+80>>2]|0)==1){r=+o[d+56>>2];q=+o[c+56>>2];w=k[b+24>>2]|0;v=k[w+68+4>>2]|0;k[a+116>>2]=k[w+68>>2];k[a+116+4>>2]=v;v=k[w+76+4>>2]|0;k[a+100>>2]=k[w+76>>2];k[a+100+4>>2]=v;w=k[w+116>>2]|0;k[a+144>>2]=w;o[a+132>>2]=0.0;o[a+136>>2]=0.0;q=r-q-(k[t>>2]=w,+o[t>>2]);w=b+28|0;r=+o[w>>2];w=a+152|0;o[w>>2]=r;r=q*r;r=i+r;w=a+148|0;o[w>>2]=r;w=a+156|0;o[w>>2]=0.0;return}else{l=+o[c+16>>2];n=+o[c+12>>2];j=+o[d+16>>2];m=+o[d+12>>2];w=k[b+24>>2]|0;c=k[w+68>>2]|0;d=k[w+68+4>>2]|0;k[a+116>>2]=c;k[a+116+4>>2]=d;s=k[w+76>>2]|0;u=k[w+76+4>>2]|0;k[a+100>>2]=s;k[a+100+4>>2]=u;k[a+144>>2]=k[w+100>>2];v=k[w+84>>2]|0;w=k[w+84+4>>2]|0;k[a+132>>2]=v;k[a+132+4>>2]=w;x=(k[t>>2]=c,+o[t>>2]);q=(k[t>>2]=d,+o[t>>2]);p=(k[t>>2]=s,+o[t>>2]);r=(k[t>>2]=u,+o[t>>2]);x=(k[t>>2]=v,+o[t>>2])*(h*(m-n+(f*p-e*r))+g*(j-l+(e*p+f*r))-x);q=x+(k[t>>2]=w,+o[t>>2])*(h*(j-l+(e*p+f*r))-g*(m-n+(f*p-e*r))-q);w=b+28|0;r=+o[w>>2];w=a+152|0;o[w>>2]=r;r=q*r;r=i+r;w=a+148|0;o[w>>2]=r;w=a+156|0;o[w>>2]=0.0;return}}function isa(a,b){a=a|0;b=+b;nT(((o[t>>2]=b,k[t>>2]|0)&2139095040|0)!=2139095040,444983);o[a+152>>2]=b;return}function jsa(a){a=a|0;return +(+o[a+152>>2])}function ksa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+16|0;k[g+8>>2]=a;k[g+4>>2]=b;k[g>>2]=c;i[g+14>>0]=d;i[g+13>>0]=e;i[g+12>>0]=f;ABb(k[g+8>>2]|0,k[g+4>>2]|0,(k[g>>2]|0)+(l[g+13>>0]|0)+(l[g+12>>0]|0)|0)|0;r=g;return}function lsa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+32|0;k[g+12>>2]=a;k[g+8>>2]=b;k[g+4>>2]=c;i[g+20>>0]=d;i[g+19>>0]=e;i[g+18>>0]=f;if(l[g+19>>0]|0|0){j[g+16>>1]=(l[k[g+8>>2]>>0]|0)-128<<8;ABb(k[g+12>>2]|0,g+16+(l[g+20>>0]|0)|0,l[g+19>>0]|0|0)|0;k[g+8>>2]=(k[g+8>>2]|0)+1;k[g+12>>2]=(k[g+12>>2]|0)+(l[g+19>>0]|0)}k[g>>2]=0;while(1){if((k[g>>2]|0)>>>0>=(k[g+4>>2]|0)>>>0)break;j[g+16>>1]=(l[(k[g+8>>2]|0)+(k[g>>2]|0)>>0]|0)-128<<8;f=(k[g+12>>2]|0)+(k[g>>2]<<1)|0;i[f>>0]=i[g+16>>0]|0;i[f+1>>0]=i[g+16+1>>0]|0;k[g>>2]=(k[g>>2]|0)+1}if(!(l[g+18>>0]|0)){r=g;return}j[g+16>>1]=(l[(k[g+8>>2]|0)+(k[g+4>>2]|0)>>0]|0)-128<<8;ABb((k[g+12>>2]|0)+(k[g+4>>2]<<1)|0,g+16|0,l[g+18>>0]|0|0)|0;r=g;return}function msa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+32|0;k[g+16>>2]=a;k[g+12>>2]=b;k[g+8>>2]=c;i[g+22>>0]=d;i[g+21>>0]=e;i[g+20>>0]=f;if(l[g+21>>0]|0|0){k[g+4>>2]=(l[k[g+12>>2]>>0]|0)-128<<24;ABb(k[g+16>>2]|0,g+4+1+(l[g+22>>0]|0)|0,l[g+21>>0]|0|0)|0;k[g+12>>2]=(k[g+12>>2]|0)+1;k[g+16>>2]=(k[g+16>>2]|0)+(l[g+21>>0]|0)}k[g>>2]=0;while(1){if((k[g>>2]|0)>>>0>=(k[g+8>>2]|0)>>>0)break;k[g+4>>2]=(l[(k[g+12>>2]|0)+(k[g>>2]|0)>>0]|0)-128<<24;f=(k[g+16>>2]|0)+((k[g>>2]|0)*3|0)|0;i[f>>0]=i[g+4+1>>0]|0;i[f+1>>0]=i[g+4+1+1>>0]|0;i[f+2>>0]=i[g+4+1+2>>0]|0;k[g>>2]=(k[g>>2]|0)+1}if(!(l[g+20>>0]|0)){r=g;return}k[g+4>>2]=(l[(k[g+12>>2]|0)+(k[g+8>>2]|0)>>0]|0)-128<<24;ABb((k[g+16>>2]|0)+((k[g+8>>2]|0)*3|0)|0,g+4+1|0,l[g+20>>0]|0|0)|0;r=g;return}function nsa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+32|0;k[g+16>>2]=a;k[g+12>>2]=b;k[g+8>>2]=c;i[g+22>>0]=d;i[g+21>>0]=e;i[g+20>>0]=f;if(l[g+21>>0]|0|0){k[g+4>>2]=(l[k[g+12>>2]>>0]|0)-128<<24;ABb(k[g+16>>2]|0,g+4+(l[g+22>>0]|0)|0,l[g+21>>0]|0|0)|0;k[g+12>>2]=(k[g+12>>2]|0)+1;k[g+16>>2]=(k[g+16>>2]|0)+(l[g+21>>0]|0)}k[g>>2]=0;while(1){if((k[g>>2]|0)>>>0>=(k[g+8>>2]|0)>>>0)break;k[g+4>>2]=(l[(k[g+12>>2]|0)+(k[g>>2]|0)>>0]|0)-128<<24;f=(k[g+16>>2]|0)+(k[g>>2]<<2)|0;i[f>>0]=i[g+4>>0]|0;i[f+1>>0]=i[g+4+1>>0]|0;i[f+2>>0]=i[g+4+2>>0]|0;i[f+3>>0]=i[g+4+3>>0]|0;k[g>>2]=(k[g>>2]|0)+1}if(!(l[g+20>>0]|0)){r=g;return}k[g+4>>2]=(l[(k[g+12>>2]|0)+(k[g+8>>2]|0)>>0]|0)-128<<24;ABb((k[g+16>>2]|0)+(k[g+8>>2]<<2)|0,g+4|0,l[g+20>>0]|0|0)|0;r=g;return}function osa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+32|0;k[g+16>>2]=a;k[g+12>>2]=b;k[g+8>>2]=c;i[g+22>>0]=d;i[g+21>>0]=e;i[g+20>>0]=f;if(l[g+21>>0]|0|0){o[g+4>>2]=+((l[k[g+12>>2]>>0]|0)-128|0)/128.0;ABb(k[g+16>>2]|0,g+4+(l[g+22>>0]|0)|0,l[g+21>>0]|0|0)|0;k[g+12>>2]=(k[g+12>>2]|0)+1;k[g+16>>2]=(k[g+16>>2]|0)+(l[g+21>>0]|0)}k[g>>2]=0;while(1){if((k[g>>2]|0)>>>0>=(k[g+8>>2]|0)>>>0)break;o[g+4>>2]=+((l[(k[g+12>>2]|0)+(k[g>>2]|0)>>0]|0)-128|0)/128.0;f=(k[g+16>>2]|0)+(k[g>>2]<<2)|0;i[f>>0]=i[g+4>>0]|0;i[f+1>>0]=i[g+4+1>>0]|0;i[f+2>>0]=i[g+4+2>>0]|0;i[f+3>>0]=i[g+4+3>>0]|0;k[g>>2]=(k[g>>2]|0)+1}if(!(l[g+20>>0]|0)){r=g;return}o[g+4>>2]=+((l[(k[g+12>>2]|0)+(k[g+8>>2]|0)>>0]|0)-128|0)/128.0;ABb((k[g+16>>2]|0)+(k[g+8>>2]<<2)|0,g+4|0,l[g+20>>0]|0|0)|0;r=g;return}function psa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+32|0;k[g+20>>2]=a;k[g+16>>2]=b;k[g+12>>2]=c;i[g+26>>0]=d;i[g+25>>0]=e;i[g+24>>0]=f;if(l[g+25>>0]|0|0){p[g>>3]=+((l[k[g+16>>2]>>0]|0)-128|0)/128.0;ABb(k[g+20>>2]|0,g+(l[g+26>>0]|0)|0,l[g+25>>0]|0|0)|0;k[g+16>>2]=(k[g+16>>2]|0)+1;k[g+20>>2]=(k[g+20>>2]|0)+(l[g+25>>0]|0)}k[g+8>>2]=0;while(1){if((k[g+8>>2]|0)>>>0>=(k[g+12>>2]|0)>>>0)break;p[g>>3]=+((l[(k[g+16>>2]|0)+(k[g+8>>2]|0)>>0]|0)-128|0)/128.0;f=(k[g+20>>2]|0)+(k[g+8>>2]<<3)|0;i[f>>0]=i[g>>0]|0;i[f+1>>0]=i[g+1>>0]|0;i[f+2>>0]=i[g+2>>0]|0;i[f+3>>0]=i[g+3>>0]|0;i[f+4>>0]=i[g+4>>0]|0;i[f+5>>0]=i[g+5>>0]|0;i[f+6>>0]=i[g+6>>0]|0;i[f+7>>0]=i[g+7>>0]|0;k[g+8>>2]=(k[g+8>>2]|0)+1}if(!(l[g+24>>0]|0)){r=g;return}p[g>>3]=+((l[(k[g+16>>2]|0)+(k[g+12>>2]|0)>>0]|0)-128|0)/128.0;ABb((k[g+20>>2]|0)+(k[g+12>>2]<<3)|0,g|0,l[g+24>>0]|0|0)|0;r=g;return}function qsa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+32|0;k[g+12>>2]=a;k[g+8>>2]=b;k[g+4>>2]=c;i[g+20>>0]=d;i[g+19>>0]=e;i[g+18>>0]=f;k[g>>2]=0;while(1){if((k[g>>2]|0)>>>0>=(k[g+4>>2]|0)>>>0)break;f=(k[g+8>>2]|0)+(k[g>>2]<<1)|0;i[g+16>>0]=i[f>>0]|0;i[g+16+1>>0]=i[f+1>>0]|0;i[(k[g+12>>2]|0)+(k[g>>2]|0)>>0]=(j[g+16>>1]>>8)+128;k[g>>2]=(k[g>>2]|0)+1}r=g;return}function rsa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+16|0;k[g+8>>2]=a;k[g+4>>2]=b;k[g>>2]=c;i[g+14>>0]=d;i[g+13>>0]=e;i[g+12>>0]=f;ABb(k[g+8>>2]|0,(k[g+4>>2]|0)+(l[g+14>>0]|0)|0,(k[g>>2]<<1)+(l[g+13>>0]|0)+(l[g+12>>0]|0)|0)|0;r=g;return}function ssa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+32|0;k[g+16>>2]=a;k[g+12>>2]=b;k[g+8>>2]=c;i[g+24>>0]=d;i[g+23>>0]=e;i[g+22>>0]=f;if(l[g+23>>0]|0){f=k[g+12>>2]|0;i[g+20>>0]=i[f>>0]|0;i[g+20+1>>0]=i[f+1>>0]|0;k[g+4>>2]=j[g+20>>1]<<16;ABb(k[g+16>>2]|0,g+4+1+(l[g+24>>0]|0)|0,l[g+23>>0]|0)|0;k[g+12>>2]=(k[g+12>>2]|0)+2;k[g+16>>2]=(k[g+16>>2]|0)+(l[g+23>>0]|0)}k[g>>2]=0;while(1){if((k[g>>2]|0)>>>0>=(k[g+8>>2]|0)>>>0)break;f=(k[g+12>>2]|0)+(k[g>>2]<<1)|0;i[g+20>>0]=i[f>>0]|0;i[g+20+1>>0]=i[f+1>>0]|0;k[g+4>>2]=j[g+20>>1]<<16;f=(k[g+16>>2]|0)+((k[g>>2]|0)*3|0)|0;i[f>>0]=i[g+4+1>>0]|0;i[f+1>>0]=i[g+4+1+1>>0]|0;i[f+2>>0]=i[g+4+1+2>>0]|0;k[g>>2]=(k[g>>2]|0)+1}if(!(l[g+22>>0]|0)){r=g;return}f=(k[g+12>>2]|0)+(k[g+8>>2]<<1)|0;i[g+20>>0]=i[f>>0]|0;i[g+20+1>>0]=i[f+1>>0]|0;k[g+4>>2]=j[g+20>>1]<<16;ABb((k[g+16>>2]|0)+((k[g+8>>2]|0)*3|0)|0,g+4+1|0,l[g+22>>0]|0)|0;r=g;return}function tsa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+32|0;k[g+16>>2]=a;k[g+12>>2]=b;k[g+8>>2]=c;i[g+24>>0]=d;i[g+23>>0]=e;i[g+22>>0]=f;if(l[g+23>>0]|0){f=k[g+12>>2]|0;i[g+20>>0]=i[f>>0]|0;i[g+20+1>>0]=i[f+1>>0]|0;k[g+4>>2]=j[g+20>>1]<<16;ABb(k[g+16>>2]|0,g+4+(l[g+24>>0]|0)|0,l[g+23>>0]|0)|0;k[g+12>>2]=(k[g+12>>2]|0)+2;k[g+16>>2]=(k[g+16>>2]|0)+(l[g+23>>0]|0)}k[g>>2]=0;while(1){if((k[g>>2]|0)>>>0>=(k[g+8>>2]|0)>>>0)break;f=(k[g+12>>2]|0)+(k[g>>2]<<1)|0;i[g+20>>0]=i[f>>0]|0;i[g+20+1>>0]=i[f+1>>0]|0;k[g+4>>2]=j[g+20>>1]<<16;f=(k[g+16>>2]|0)+(k[g>>2]<<2)|0;i[f>>0]=i[g+4>>0]|0;i[f+1>>0]=i[g+4+1>>0]|0;i[f+2>>0]=i[g+4+2>>0]|0;i[f+3>>0]=i[g+4+3>>0]|0;k[g>>2]=(k[g>>2]|0)+1}if(!(l[g+22>>0]|0)){r=g;return}f=(k[g+12>>2]|0)+(k[g+8>>2]<<1)|0;i[g+20>>0]=i[f>>0]|0;i[g+20+1>>0]=i[f+1>>0]|0;k[g+4>>2]=j[g+20>>1]<<16;ABb((k[g+16>>2]|0)+(k[g+8>>2]<<2)|0,g+4|0,l[g+22>>0]|0)|0;r=g;return}function usa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+32|0;k[g+16>>2]=a;k[g+12>>2]=b;k[g+8>>2]=c;i[g+24>>0]=d;i[g+23>>0]=e;i[g+22>>0]=f;if(l[g+23>>0]|0){f=k[g+12>>2]|0;i[g+20>>0]=i[f>>0]|0;i[g+20+1>>0]=i[f+1>>0]|0;o[g+4>>2]=+(j[g+20>>1]|0)/32768.0;ABb(k[g+16>>2]|0,g+4+(l[g+24>>0]|0)|0,l[g+23>>0]|0)|0;k[g+12>>2]=(k[g+12>>2]|0)+2;k[g+16>>2]=(k[g+16>>2]|0)+(l[g+23>>0]|0)}k[g>>2]=0;while(1){if((k[g>>2]|0)>>>0>=(k[g+8>>2]|0)>>>0)break;f=(k[g+12>>2]|0)+(k[g>>2]<<1)|0;i[g+20>>0]=i[f>>0]|0;i[g+20+1>>0]=i[f+1>>0]|0;o[g+4>>2]=+(j[g+20>>1]|0)/32768.0;f=(k[g+16>>2]|0)+(k[g>>2]<<2)|0;i[f>>0]=i[g+4>>0]|0;i[f+1>>0]=i[g+4+1>>0]|0;i[f+2>>0]=i[g+4+2>>0]|0;i[f+3>>0]=i[g+4+3>>0]|0;k[g>>2]=(k[g>>2]|0)+1}if(!(l[g+22>>0]|0)){r=g;return}f=(k[g+12>>2]|0)+(k[g+8>>2]<<1)|0;i[g+20>>0]=i[f>>0]|0;i[g+20+1>>0]=i[f+1>>0]|0;o[g+4>>2]=+(j[g+20>>1]|0)/32768.0;ABb((k[g+16>>2]|0)+(k[g+8>>2]<<2)|0,g+4|0,l[g+22>>0]|0)|0;r=g;return}function vsa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+32|0;k[g+20>>2]=a;k[g+16>>2]=b;k[g+12>>2]=c;i[g+28>>0]=d;i[g+27>>0]=e;i[g+26>>0]=f;if(l[g+27>>0]|0){f=k[g+16>>2]|0;i[g+24>>0]=i[f>>0]|0;i[g+24+1>>0]=i[f+1>>0]|0;p[g>>3]=+(j[g+24>>1]|0)/32768.0;ABb(k[g+20>>2]|0,g+(l[g+28>>0]|0)|0,l[g+27>>0]|0)|0;k[g+16>>2]=(k[g+16>>2]|0)+2;k[g+20>>2]=(k[g+20>>2]|0)+(l[g+27>>0]|0)}k[g+8>>2]=0;while(1){if((k[g+8>>2]|0)>>>0>=(k[g+12>>2]|0)>>>0)break;f=(k[g+16>>2]|0)+(k[g+8>>2]<<1)|0;i[g+24>>0]=i[f>>0]|0;i[g+24+1>>0]=i[f+1>>0]|0;p[g>>3]=+(j[g+24>>1]|0)/32768.0;f=(k[g+20>>2]|0)+(k[g+8>>2]<<3)|0;i[f>>0]=i[g>>0]|0;i[f+1>>0]=i[g+1>>0]|0;i[f+2>>0]=i[g+2>>0]|0;i[f+3>>0]=i[g+3>>0]|0;i[f+4>>0]=i[g+4>>0]|0;i[f+5>>0]=i[g+5>>0]|0;i[f+6>>0]=i[g+6>>0]|0;i[f+7>>0]=i[g+7>>0]|0;k[g+8>>2]=(k[g+8>>2]|0)+1}if(!(l[g+26>>0]|0)){r=g;return}f=(k[g+16>>2]|0)+(k[g+12>>2]<<1)|0;i[g+24>>0]=i[f>>0]|0;i[g+24+1>>0]=i[f+1>>0]|0;p[g>>3]=+(j[g+24>>1]|0)/32768.0;ABb((k[g+20>>2]|0)+(k[g+12>>2]<<3)|0,g|0,l[g+26>>0]|0)|0;r=g;return}function wsa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+32|0;k[g+16>>2]=a;k[g+12>>2]=b;k[g+8>>2]=c;i[g+22>>0]=d;i[g+21>>0]=e;i[g+20>>0]=f;k[g+4>>2]=0;k[g>>2]=0;while(1){if((k[g>>2]|0)>>>0>=(k[g+8>>2]|0)>>>0)break;f=(k[g+12>>2]|0)+((k[g>>2]|0)*3|0)|0;i[g+4+1>>0]=i[f>>0]|0;i[g+4+1+1>>0]=i[f+1>>0]|0;i[g+4+1+2>>0]=i[f+2>>0]|0;i[(k[g+16>>2]|0)+(k[g>>2]|0)>>0]=(k[g+4>>2]>>16)+128;k[g>>2]=(k[g>>2]|0)+1}r=g;return}function xsa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+32|0;k[g+12>>2]=a;k[g+8>>2]=b;k[g+4>>2]=c;i[g+18>>0]=d;i[g+17>>0]=e;i[g+16>>0]=f;if(l[g+17>>0]|0|0){ABb(k[g+12>>2]|0,(k[g+8>>2]|0)+1+(l[g+18>>0]|0)|0,l[g+17>>0]|0|0)|0;k[g+8>>2]=(k[g+8>>2]|0)+3;k[g+12>>2]=(k[g+12>>2]|0)+(l[g+17>>0]|0)}k[g>>2]=0;while(1){if((k[g>>2]|0)>>>0>=(k[g+4>>2]|0)>>>0)break;f=(k[g+12>>2]|0)+(k[g>>2]<<1)|0;b=(k[g+8>>2]|0)+1+((k[g>>2]|0)*3|0)|0;i[f>>0]=i[b>>0]|0;i[f+1>>0]=i[b+1>>0]|0;k[g>>2]=(k[g>>2]|0)+1}if(!(l[g+16>>0]|0)){r=g;return}ABb((k[g+12>>2]|0)+(k[g+4>>2]<<1)|0,(k[g+8>>2]|0)+1+((k[g+4>>2]|0)*3|0)|0,l[g+16>>0]|0|0)|0;r=g;return}function ysa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+16|0;k[g+8>>2]=a;k[g+4>>2]=b;k[g>>2]=c;i[g+14>>0]=d;i[g+13>>0]=e;i[g+12>>0]=f;ABb(k[g+8>>2]|0,(k[g+4>>2]|0)+(l[g+14>>0]|0)|0,((k[g>>2]|0)*3|0)+(l[g+13>>0]|0)+(l[g+12>>0]|0)|0)|0;r=g;return}function zsa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+32|0;k[g+16>>2]=a;k[g+12>>2]=b;k[g+8>>2]=c;i[g+22>>0]=d;i[g+21>>0]=e;i[g+20>>0]=f;k[g+4>>2]=0;if(l[g+21>>0]|0|0){f=k[g+12>>2]|0;i[g+4+1>>0]=i[f>>0]|0;i[g+4+1+1>>0]=i[f+1>>0]|0;i[g+4+1+2>>0]=i[f+2>>0]|0;ABb(k[g+16>>2]|0,g+4+(l[g+22>>0]|0)|0,l[g+21>>0]|0|0)|0;k[g+12>>2]=(k[g+12>>2]|0)+3;k[g+16>>2]=(k[g+16>>2]|0)+(l[g+21>>0]|0)}k[g>>2]=0;while(1){if((k[g>>2]|0)>>>0>=(k[g+8>>2]|0)>>>0)break;f=(k[g+12>>2]|0)+((k[g>>2]|0)*3|0)|0;i[g+4+1>>0]=i[f>>0]|0;i[g+4+1+1>>0]=i[f+1>>0]|0;i[g+4+1+2>>0]=i[f+2>>0]|0;f=(k[g+16>>2]|0)+(k[g>>2]<<2)|0;i[f>>0]=i[g+4>>0]|0;i[f+1>>0]=i[g+4+1>>0]|0;i[f+2>>0]=i[g+4+2>>0]|0;i[f+3>>0]=i[g+4+3>>0]|0;k[g>>2]=(k[g>>2]|0)+1}if(!(l[g+20>>0]|0)){r=g;return}f=(k[g+12>>2]|0)+((k[g+8>>2]|0)*3|0)|0;i[g+4+1>>0]=i[f>>0]|0;i[g+4+1+1>>0]=i[f+1>>0]|0;i[g+4+1+2>>0]=i[f+2>>0]|0;ABb((k[g+16>>2]|0)+(k[g+8>>2]<<2)|0,g+4|0,l[g+20>>0]|0|0)|0;r=g;return}function Asa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+32|0;k[g+20>>2]=a;k[g+16>>2]=b;k[g+12>>2]=c;i[g+26>>0]=d;i[g+25>>0]=e;i[g+24>>0]=f;k[g+8>>2]=0;if(l[g+25>>0]|0|0){f=k[g+16>>2]|0;i[g+8+1>>0]=i[f>>0]|0;i[g+8+1+1>>0]=i[f+1>>0]|0;i[g+8+1+2>>0]=i[f+2>>0]|0;o[g+4>>2]=+(k[g+8>>2]|0)/2147483648.0;ABb(k[g+20>>2]|0,g+4+(l[g+26>>0]|0)|0,l[g+25>>0]|0|0)|0;k[g+16>>2]=(k[g+16>>2]|0)+3;k[g+20>>2]=(k[g+20>>2]|0)+(l[g+25>>0]|0)}k[g>>2]=0;while(1){if((k[g>>2]|0)>>>0>=(k[g+12>>2]|0)>>>0)break;f=(k[g+16>>2]|0)+((k[g>>2]|0)*3|0)|0;i[g+8+1>>0]=i[f>>0]|0;i[g+8+1+1>>0]=i[f+1>>0]|0;i[g+8+1+2>>0]=i[f+2>>0]|0;o[g+4>>2]=+(k[g+8>>2]|0)/2147483648.0;f=(k[g+20>>2]|0)+(k[g>>2]<<2)|0;i[f>>0]=i[g+4>>0]|0;i[f+1>>0]=i[g+4+1>>0]|0;i[f+2>>0]=i[g+4+2>>0]|0;i[f+3>>0]=i[g+4+3>>0]|0;k[g>>2]=(k[g>>2]|0)+1}if(!(l[g+24>>0]|0)){r=g;return}f=(k[g+16>>2]|0)+((k[g+12>>2]|0)*3|0)|0;i[g+8+1>>0]=i[f>>0]|0;i[g+8+1+1>>0]=i[f+1>>0]|0;i[g+8+1+2>>0]=i[f+2>>0]|0;o[g+4>>2]=+(k[g+8>>2]|0)/2147483648.0;ABb((k[g+20>>2]|0)+(k[g+12>>2]<<2)|0,g+4|0,l[g+24>>0]|0|0)|0;r=g;return}function Bsa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+32|0;k[g+24>>2]=a;k[g+20>>2]=b;k[g+16>>2]=c;i[g+30>>0]=d;i[g+29>>0]=e;i[g+28>>0]=f;k[g+12>>2]=0;if(l[g+29>>0]|0|0){f=k[g+20>>2]|0;i[g+12+1>>0]=i[f>>0]|0;i[g+12+1+1>>0]=i[f+1>>0]|0;i[g+12+1+2>>0]=i[f+2>>0]|0;p[g>>3]=+(k[g+12>>2]|0)/2147483648.0;ABb(k[g+24>>2]|0,g+(l[g+30>>0]|0)|0,l[g+29>>0]|0|0)|0;k[g+20>>2]=(k[g+20>>2]|0)+3;k[g+24>>2]=(k[g+24>>2]|0)+(l[g+29>>0]|0)}k[g+8>>2]=0;while(1){if((k[g+8>>2]|0)>>>0>=(k[g+16>>2]|0)>>>0)break;f=(k[g+20>>2]|0)+((k[g+8>>2]|0)*3|0)|0;i[g+12+1>>0]=i[f>>0]|0;i[g+12+1+1>>0]=i[f+1>>0]|0;i[g+12+1+2>>0]=i[f+2>>0]|0;p[g>>3]=+(k[g+12>>2]|0)/2147483648.0;f=(k[g+24>>2]|0)+(k[g+8>>2]<<3)|0;i[f>>0]=i[g>>0]|0;i[f+1>>0]=i[g+1>>0]|0;i[f+2>>0]=i[g+2>>0]|0;i[f+3>>0]=i[g+3>>0]|0;i[f+4>>0]=i[g+4>>0]|0;i[f+5>>0]=i[g+5>>0]|0;i[f+6>>0]=i[g+6>>0]|0;i[f+7>>0]=i[g+7>>0]|0;k[g+8>>2]=(k[g+8>>2]|0)+1}if(!(l[g+28>>0]|0)){r=g;return}f=(k[g+20>>2]|0)+((k[g+16>>2]|0)*3|0)|0;i[g+12+1>>0]=i[f>>0]|0;i[g+12+1+1>>0]=i[f+1>>0]|0;i[g+12+1+2>>0]=i[f+2>>0]|0;p[g>>3]=+(k[g+12>>2]|0)/2147483648.0;ABb((k[g+24>>2]|0)+(k[g+16>>2]<<3)|0,g|0,l[g+28>>0]|0|0)|0;r=g;return}function Csa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+32|0;k[g+16>>2]=a;k[g+12>>2]=b;k[g+8>>2]=c;i[g+22>>0]=d;i[g+21>>0]=e;i[g+20>>0]=f;k[g+4>>2]=0;k[g>>2]=0;while(1){if((k[g>>2]|0)>>>0>=(k[g+8>>2]|0)>>>0)break;f=(k[g+12>>2]|0)+(k[g>>2]<<2)|0;i[g+4>>0]=i[f>>0]|0;i[g+4+1>>0]=i[f+1>>0]|0;i[g+4+2>>0]=i[f+2>>0]|0;i[g+4+3>>0]=i[f+3>>0]|0;i[(k[g+16>>2]|0)+(k[g>>2]|0)>>0]=(k[g+4>>2]>>24)+128;k[g>>2]=(k[g>>2]|0)+1}r=g;return}function Dsa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+32|0;k[g+12>>2]=a;k[g+8>>2]=b;k[g+4>>2]=c;i[g+18>>0]=d;i[g+17>>0]=e;i[g+16>>0]=f;if(l[g+17>>0]|0|0){ABb(k[g+12>>2]|0,(k[g+8>>2]|0)+2+(l[g+18>>0]|0)|0,l[g+17>>0]|0|0)|0;k[g+8>>2]=(k[g+8>>2]|0)+4;k[g+12>>2]=(k[g+12>>2]|0)+(l[g+17>>0]|0)}k[g>>2]=0;while(1){if((k[g>>2]|0)>>>0>=(k[g+4>>2]|0)>>>0)break;f=(k[g+12>>2]|0)+(k[g>>2]<<1)|0;b=(k[g+8>>2]|0)+2+(k[g>>2]<<2)|0;i[f>>0]=i[b>>0]|0;i[f+1>>0]=i[b+1>>0]|0;k[g>>2]=(k[g>>2]|0)+1}if(!(l[g+16>>0]|0)){r=g;return}ABb((k[g+12>>2]|0)+(k[g+4>>2]<<1)|0,(k[g+8>>2]|0)+2+(k[g+4>>2]<<2)|0,l[g+16>>0]|0|0)|0;r=g;return}function Esa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+32|0;k[g+12>>2]=a;k[g+8>>2]=b;k[g+4>>2]=c;i[g+18>>0]=d;i[g+17>>0]=e;i[g+16>>0]=f;if(l[g+17>>0]|0|0){ABb(k[g+12>>2]|0,(k[g+8>>2]|0)+1+(l[g+18>>0]|0)|0,l[g+17>>0]|0|0)|0;k[g+8>>2]=(k[g+8>>2]|0)+4;k[g+12>>2]=(k[g+12>>2]|0)+(l[g+17>>0]|0)}k[g>>2]=0;while(1){if((k[g>>2]|0)>>>0>=(k[g+4>>2]|0)>>>0)break;f=(k[g+12>>2]|0)+((k[g>>2]|0)*3|0)|0;b=(k[g+8>>2]|0)+1+(k[g>>2]<<2)|0;i[f>>0]=i[b>>0]|0;i[f+1>>0]=i[b+1>>0]|0;i[f+2>>0]=i[b+2>>0]|0;k[g>>2]=(k[g>>2]|0)+1}if(!(l[g+16>>0]|0)){r=g;return}ABb((k[g+12>>2]|0)+((k[g+4>>2]|0)*3|0)|0,(k[g+8>>2]|0)+1+(k[g+4>>2]<<2)|0,l[g+16>>0]|0|0)|0;r=g;return}function Fsa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+16|0;k[g+8>>2]=a;k[g+4>>2]=b;k[g>>2]=c;i[g+14>>0]=d;i[g+13>>0]=e;i[g+12>>0]=f;ABb(k[g+8>>2]|0,(k[g+4>>2]|0)+(l[g+14>>0]|0)|0,(k[g>>2]<<2)+(l[g+13>>0]|0)+(l[g+12>>0]|0)|0)|0;r=g;return}function Gsa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+32|0;k[g+20>>2]=a;k[g+16>>2]=b;k[g+12>>2]=c;i[g+26>>0]=d;i[g+25>>0]=e;i[g+24>>0]=f;if(l[g+25>>0]|0|0){f=k[g+16>>2]|0;i[g+8>>0]=i[f>>0]|0;i[g+8+1>>0]=i[f+1>>0]|0;i[g+8+2>>0]=i[f+2>>0]|0;i[g+8+3>>0]=i[f+3>>0]|0;o[g+4>>2]=+(k[g+8>>2]|0)/2147483648.0;ABb(k[g+20>>2]|0,g+4+(l[g+26>>0]|0)|0,l[g+25>>0]|0|0)|0;k[g+16>>2]=(k[g+16>>2]|0)+4;k[g+20>>2]=(k[g+20>>2]|0)+(l[g+25>>0]|0)}k[g>>2]=0;while(1){if((k[g>>2]|0)>>>0>=(k[g+12>>2]|0)>>>0)break;f=(k[g+16>>2]|0)+(k[g>>2]<<2)|0;i[g+8>>0]=i[f>>0]|0;i[g+8+1>>0]=i[f+1>>0]|0;i[g+8+2>>0]=i[f+2>>0]|0;i[g+8+3>>0]=i[f+3>>0]|0;o[g+4>>2]=+(k[g+8>>2]|0)/2147483648.0;f=(k[g+20>>2]|0)+(k[g>>2]<<2)|0;i[f>>0]=i[g+4>>0]|0;i[f+1>>0]=i[g+4+1>>0]|0;i[f+2>>0]=i[g+4+2>>0]|0;i[f+3>>0]=i[g+4+3>>0]|0;k[g>>2]=(k[g>>2]|0)+1}if(!(l[g+24>>0]|0)){r=g;return}f=(k[g+16>>2]|0)+(k[g+12>>2]<<2)|0;i[g+8>>0]=i[f>>0]|0;i[g+8+1>>0]=i[f+1>>0]|0;i[g+8+2>>0]=i[f+2>>0]|0;i[g+8+3>>0]=i[f+3>>0]|0;o[g+4>>2]=+(k[g+8>>2]|0)/2147483648.0;ABb((k[g+20>>2]|0)+(k[g+12>>2]<<2)|0,g+4|0,l[g+24>>0]|0|0)|0;r=g;return}function Hsa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+32|0;k[g+24>>2]=a;k[g+20>>2]=b;k[g+16>>2]=c;i[g+30>>0]=d;i[g+29>>0]=e;i[g+28>>0]=f;if(l[g+29>>0]|0|0){f=k[g+20>>2]|0;i[g+12>>0]=i[f>>0]|0;i[g+12+1>>0]=i[f+1>>0]|0;i[g+12+2>>0]=i[f+2>>0]|0;i[g+12+3>>0]=i[f+3>>0]|0;p[g>>3]=+(k[g+12>>2]|0)/2147483648.0;ABb(k[g+24>>2]|0,g+(l[g+30>>0]|0)|0,l[g+29>>0]|0|0)|0;k[g+20>>2]=(k[g+20>>2]|0)+4;k[g+24>>2]=(k[g+24>>2]|0)+(l[g+29>>0]|0)}k[g+8>>2]=0;while(1){if((k[g+8>>2]|0)>>>0>=(k[g+16>>2]|0)>>>0)break;f=(k[g+20>>2]|0)+(k[g+8>>2]<<2)|0;i[g+12>>0]=i[f>>0]|0;i[g+12+1>>0]=i[f+1>>0]|0;i[g+12+2>>0]=i[f+2>>0]|0;i[g+12+3>>0]=i[f+3>>0]|0;p[g>>3]=+(k[g+12>>2]|0)/2147483648.0;f=(k[g+24>>2]|0)+(k[g+8>>2]<<3)|0;i[f>>0]=i[g>>0]|0;i[f+1>>0]=i[g+1>>0]|0;i[f+2>>0]=i[g+2>>0]|0;i[f+3>>0]=i[g+3>>0]|0;i[f+4>>0]=i[g+4>>0]|0;i[f+5>>0]=i[g+5>>0]|0;i[f+6>>0]=i[g+6>>0]|0;i[f+7>>0]=i[g+7>>0]|0;k[g+8>>2]=(k[g+8>>2]|0)+1}if(!(l[g+28>>0]|0)){r=g;return}f=(k[g+20>>2]|0)+(k[g+16>>2]<<2)|0;i[g+12>>0]=i[f>>0]|0;i[g+12+1>>0]=i[f+1>>0]|0;i[g+12+2>>0]=i[f+2>>0]|0;i[g+12+3>>0]=i[f+3>>0]|0;p[g>>3]=+(k[g+12>>2]|0)/2147483648.0;ABb((k[g+24>>2]|0)+(k[g+16>>2]<<3)|0,g|0,l[g+28>>0]|0|0)|0;r=g;return}function Isa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+32|0;k[g+16>>2]=a;k[g+12>>2]=b;k[g+8>>2]=c;i[g+22>>0]=d;i[g+21>>0]=e;i[g+20>>0]=f;k[g>>2]=0;while(1){if((k[g>>2]|0)>>>0>=(k[g+8>>2]|0)>>>0)break;f=(k[g+12>>2]|0)+(k[g>>2]<<2)|0;i[g+4>>0]=i[f>>0]|0;i[g+4+1>>0]=i[f+1>>0]|0;i[g+4+2>>0]=i[f+2>>0]|0;i[g+4+3>>0]=i[f+3>>0]|0;i[(k[g+16>>2]|0)+(k[g>>2]|0)>>0]=~~(+o[g+4>>2]*127.5+128.0);k[g>>2]=(k[g>>2]|0)+1}r=g;return}function Jsa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+32|0;k[g+16>>2]=a;k[g+12>>2]=b;k[g+8>>2]=c;i[g+24>>0]=d;i[g+23>>0]=e;i[g+22>>0]=f;if(l[g+23>>0]|0|0){f=k[g+12>>2]|0;i[g+4>>0]=i[f>>0]|0;i[g+4+1>>0]=i[f+1>>0]|0;i[g+4+2>>0]=i[f+2>>0]|0;i[g+4+3>>0]=i[f+3>>0]|0;j[g+20>>1]=~~(+o[g+4>>2]*32767.5);ABb(k[g+16>>2]|0,g+20+(l[g+24>>0]|0)|0,l[g+23>>0]|0|0)|0;k[g+12>>2]=(k[g+12>>2]|0)+4;k[g+16>>2]=(k[g+16>>2]|0)+(l[g+23>>0]|0)}k[g>>2]=0;while(1){if((k[g>>2]|0)>>>0>=(k[g+8>>2]|0)>>>0)break;f=(k[g+12>>2]|0)+(k[g>>2]<<2)|0;i[g+4>>0]=i[f>>0]|0;i[g+4+1>>0]=i[f+1>>0]|0;i[g+4+2>>0]=i[f+2>>0]|0;i[g+4+3>>0]=i[f+3>>0]|0;j[g+20>>1]=~~(+o[g+4>>2]*32767.5);f=(k[g+16>>2]|0)+(k[g>>2]<<1)|0;i[f>>0]=i[g+20>>0]|0;i[f+1>>0]=i[g+20+1>>0]|0;k[g>>2]=(k[g>>2]|0)+1}if(!(l[g+22>>0]|0)){r=g;return}f=(k[g+12>>2]|0)+(k[g>>2]<<2)|0;i[g+4>>0]=i[f>>0]|0;i[g+4+1>>0]=i[f+1>>0]|0;i[g+4+2>>0]=i[f+2>>0]|0;i[g+4+3>>0]=i[f+3>>0]|0;j[g+20>>1]=~~(+o[g+4>>2]*32767.5);ABb((k[g+16>>2]|0)+(k[g>>2]<<1)|0,g+20|0,l[g+22>>0]|0|0)|0;r=g;return}function Ksa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+32|0;k[g+20>>2]=a;k[g+16>>2]=b;k[g+12>>2]=c;i[g+26>>0]=d;i[g+25>>0]=e;i[g+24>>0]=f;if(l[g+25>>0]|0|0){f=k[g+16>>2]|0;i[g+8>>0]=i[f>>0]|0;i[g+8+1>>0]=i[f+1>>0]|0;i[g+8+2>>0]=i[f+2>>0]|0;i[g+8+3>>0]=i[f+3>>0]|0;k[g+4>>2]=~~(+o[g+8>>2]*2147483647.5);ABb(k[g+20>>2]|0,g+4+1+(l[g+26>>0]|0)|0,l[g+25>>0]|0|0)|0;k[g+16>>2]=(k[g+16>>2]|0)+4;k[g+20>>2]=(k[g+20>>2]|0)+(l[g+25>>0]|0)}k[g>>2]=0;while(1){if((k[g>>2]|0)>>>0>=(k[g+12>>2]|0)>>>0)break;f=(k[g+16>>2]|0)+(k[g>>2]<<2)|0;i[g+8>>0]=i[f>>0]|0;i[g+8+1>>0]=i[f+1>>0]|0;i[g+8+2>>0]=i[f+2>>0]|0;i[g+8+3>>0]=i[f+3>>0]|0;k[g+4>>2]=~~(+o[g+8>>2]*2147483647.5);f=(k[g+20>>2]|0)+((k[g>>2]|0)*3|0)|0;i[f>>0]=i[g+4+1>>0]|0;i[f+1>>0]=i[g+4+1+1>>0]|0;i[f+2>>0]=i[g+4+1+2>>0]|0;k[g>>2]=(k[g>>2]|0)+1}if(!(l[g+24>>0]|0)){r=g;return}f=(k[g+16>>2]|0)+(k[g+12>>2]<<2)|0;i[g+8>>0]=i[f>>0]|0;i[g+8+1>>0]=i[f+1>>0]|0;i[g+8+2>>0]=i[f+2>>0]|0;i[g+8+3>>0]=i[f+3>>0]|0;k[g+4>>2]=~~(+o[g+8>>2]*2147483647.5);ABb((k[g+20>>2]|0)+((k[g+12>>2]|0)*3|0)|0,g+4+1|0,l[g+24>>0]|0|0)|0;r=g;return}function Lsa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+32|0;k[g+20>>2]=a;k[g+16>>2]=b;k[g+12>>2]=c;i[g+26>>0]=d;i[g+25>>0]=e;i[g+24>>0]=f;if(l[g+25>>0]|0|0){f=k[g+16>>2]|0;i[g+8>>0]=i[f>>0]|0;i[g+8+1>>0]=i[f+1>>0]|0;i[g+8+2>>0]=i[f+2>>0]|0;i[g+8+3>>0]=i[f+3>>0]|0;k[g+4>>2]=~~(+o[g+8>>2]*2147483647.5);ABb(k[g+20>>2]|0,g+4+(l[g+26>>0]|0)|0,l[g+25>>0]|0|0)|0;k[g+16>>2]=(k[g+16>>2]|0)+4;k[g+20>>2]=(k[g+20>>2]|0)+(l[g+25>>0]|0)}k[g>>2]=0;while(1){if((k[g>>2]|0)>>>0>=(k[g+12>>2]|0)>>>0)break;f=(k[g+16>>2]|0)+(k[g>>2]<<2)|0;i[g+8>>0]=i[f>>0]|0;i[g+8+1>>0]=i[f+1>>0]|0;i[g+8+2>>0]=i[f+2>>0]|0;i[g+8+3>>0]=i[f+3>>0]|0;k[g+4>>2]=~~(+o[g+8>>2]*2147483647.5);f=(k[g+20>>2]|0)+(k[g>>2]<<2)|0;i[f>>0]=i[g+4>>0]|0;i[f+1>>0]=i[g+4+1>>0]|0;i[f+2>>0]=i[g+4+2>>0]|0;i[f+3>>0]=i[g+4+3>>0]|0;k[g>>2]=(k[g>>2]|0)+1}if(!(l[g+24>>0]|0)){r=g;return}f=(k[g+16>>2]|0)+(k[g+12>>2]<<2)|0;i[g+8>>0]=i[f>>0]|0;i[g+8+1>>0]=i[f+1>>0]|0;i[g+8+2>>0]=i[f+2>>0]|0;i[g+8+3>>0]=i[f+3>>0]|0;k[g+4>>2]=~~(+o[g+8>>2]*2147483647.5);ABb((k[g+20>>2]|0)+(k[g+12>>2]<<2)|0,g+4|0,l[g+24>>0]|0|0)|0;r=g;return}function Msa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+16|0;k[g+8>>2]=a;k[g+4>>2]=b;k[g>>2]=c;i[g+14>>0]=d;i[g+13>>0]=e;i[g+12>>0]=f;ABb(k[g+8>>2]|0,(k[g+4>>2]|0)+(l[g+14>>0]|0)|0,(k[g>>2]<<2)+(l[g+13>>0]|0)+(l[g+12>>0]|0)|0)|0;r=g;return}function Nsa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+32|0;k[g+24>>2]=a;k[g+20>>2]=b;k[g+16>>2]=c;i[g+30>>0]=d;i[g+29>>0]=e;i[g+28>>0]=f;if(l[g+29>>0]|0|0){f=k[g+20>>2]|0;i[g+12>>0]=i[f>>0]|0;i[g+12+1>>0]=i[f+1>>0]|0;i[g+12+2>>0]=i[f+2>>0]|0;i[g+12+3>>0]=i[f+3>>0]|0;p[g>>3]=+o[g+12>>2];ABb(k[g+24>>2]|0,g+(l[g+30>>0]|0)|0,l[g+29>>0]|0|0)|0;k[g+20>>2]=(k[g+20>>2]|0)+4;k[g+24>>2]=(k[g+24>>2]|0)+(l[g+29>>0]|0)}k[g+8>>2]=0;while(1){if((k[g+8>>2]|0)>>>0>=(k[g+16>>2]|0)>>>0)break;f=(k[g+20>>2]|0)+(k[g+8>>2]<<2)|0;i[g+12>>0]=i[f>>0]|0;i[g+12+1>>0]=i[f+1>>0]|0;i[g+12+2>>0]=i[f+2>>0]|0;i[g+12+3>>0]=i[f+3>>0]|0;p[g>>3]=+o[g+12>>2];f=(k[g+24>>2]|0)+(k[g+8>>2]<<3)|0;i[f>>0]=i[g>>0]|0;i[f+1>>0]=i[g+1>>0]|0;i[f+2>>0]=i[g+2>>0]|0;i[f+3>>0]=i[g+3>>0]|0;i[f+4>>0]=i[g+4>>0]|0;i[f+5>>0]=i[g+5>>0]|0;i[f+6>>0]=i[g+6>>0]|0;i[f+7>>0]=i[g+7>>0]|0;k[g+8>>2]=(k[g+8>>2]|0)+1}if(!(l[g+28>>0]|0)){r=g;return}f=(k[g+20>>2]|0)+(k[g+16>>2]<<2)|0;i[g+12>>0]=i[f>>0]|0;i[g+12+1>>0]=i[f+1>>0]|0;i[g+12+2>>0]=i[f+2>>0]|0;i[g+12+3>>0]=i[f+3>>0]|0;p[g>>3]=+o[g+12>>2];ABb((k[g+24>>2]|0)+(k[g+16>>2]<<3)|0,g|0,l[g+28>>0]|0|0)|0;r=g;return}function Osa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+32|0;k[g+20>>2]=a;k[g+16>>2]=b;k[g+12>>2]=c;i[g+26>>0]=d;i[g+25>>0]=e;i[g+24>>0]=f;k[g+8>>2]=0;while(1){if((k[g+8>>2]|0)>>>0>=(k[g+12>>2]|0)>>>0)break;f=(k[g+16>>2]|0)+(k[g+8>>2]<<3)|0;i[g>>0]=i[f>>0]|0;i[g+1>>0]=i[f+1>>0]|0;i[g+2>>0]=i[f+2>>0]|0;i[g+3>>0]=i[f+3>>0]|0;i[g+4>>0]=i[f+4>>0]|0;i[g+5>>0]=i[f+5>>0]|0;i[g+6>>0]=i[f+6>>0]|0;i[g+7>>0]=i[f+7>>0]|0;i[(k[g+20>>2]|0)+(k[g+8>>2]|0)>>0]=~~(+p[g>>3]*127.5+128.0);k[g+8>>2]=(k[g+8>>2]|0)+1}r=g;return}function Psa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+32|0;k[g+20>>2]=a;k[g+16>>2]=b;k[g+12>>2]=c;i[g+28>>0]=d;i[g+27>>0]=e;i[g+26>>0]=f;if(l[g+27>>0]|0|0){f=k[g+16>>2]|0;i[g>>0]=i[f>>0]|0;i[g+1>>0]=i[f+1>>0]|0;i[g+2>>0]=i[f+2>>0]|0;i[g+3>>0]=i[f+3>>0]|0;i[g+4>>0]=i[f+4>>0]|0;i[g+5>>0]=i[f+5>>0]|0;i[g+6>>0]=i[f+6>>0]|0;i[g+7>>0]=i[f+7>>0]|0;j[g+24>>1]=~~(+p[g>>3]*32767.5);ABb(k[g+20>>2]|0,g+24+(l[g+28>>0]|0)|0,l[g+27>>0]|0|0)|0;k[g+16>>2]=(k[g+16>>2]|0)+8;k[g+20>>2]=(k[g+20>>2]|0)+(l[g+27>>0]|0)}k[g+8>>2]=0;while(1){if((k[g+8>>2]|0)>>>0>=(k[g+12>>2]|0)>>>0)break;f=(k[g+16>>2]|0)+(k[g+8>>2]<<3)|0;i[g>>0]=i[f>>0]|0;i[g+1>>0]=i[f+1>>0]|0;i[g+2>>0]=i[f+2>>0]|0;i[g+3>>0]=i[f+3>>0]|0;i[g+4>>0]=i[f+4>>0]|0;i[g+5>>0]=i[f+5>>0]|0;i[g+6>>0]=i[f+6>>0]|0;i[g+7>>0]=i[f+7>>0]|0;j[g+24>>1]=~~(+p[g>>3]*32767.5);f=(k[g+20>>2]|0)+(k[g+8>>2]<<1)|0;i[f>>0]=i[g+24>>0]|0;i[f+1>>0]=i[g+24+1>>0]|0;k[g+8>>2]=(k[g+8>>2]|0)+1}if(!(l[g+26>>0]|0)){r=g;return}f=(k[g+16>>2]|0)+(k[g+8>>2]<<3)|0;i[g>>0]=i[f>>0]|0;i[g+1>>0]=i[f+1>>0]|0;i[g+2>>0]=i[f+2>>0]|0;i[g+3>>0]=i[f+3>>0]|0;i[g+4>>0]=i[f+4>>0]|0;i[g+5>>0]=i[f+5>>0]|0;i[g+6>>0]=i[f+6>>0]|0;i[g+7>>0]=i[f+7>>0]|0;j[g+24>>1]=~~(+p[g>>3]*32767.5);ABb((k[g+20>>2]|0)+(k[g+8>>2]<<1)|0,g+24|0,l[g+26>>0]|0|0)|0;r=g;return}function Qsa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+32|0;k[g+24>>2]=a;k[g+20>>2]=b;k[g+16>>2]=c;i[g+30>>0]=d;i[g+29>>0]=e;i[g+28>>0]=f;if(l[g+29>>0]|0|0){f=k[g+20>>2]|0;i[g>>0]=i[f>>0]|0;i[g+1>>0]=i[f+1>>0]|0;i[g+2>>0]=i[f+2>>0]|0;i[g+3>>0]=i[f+3>>0]|0;i[g+4>>0]=i[f+4>>0]|0;i[g+5>>0]=i[f+5>>0]|0;i[g+6>>0]=i[f+6>>0]|0;i[g+7>>0]=i[f+7>>0]|0;k[g+12>>2]=~~(+p[g>>3]*2147483647.5);ABb(k[g+24>>2]|0,g+12+1+(l[g+30>>0]|0)|0,l[g+29>>0]|0|0)|0;k[g+20>>2]=(k[g+20>>2]|0)+8;k[g+24>>2]=(k[g+24>>2]|0)+(l[g+29>>0]|0)}k[g+8>>2]=0;while(1){if((k[g+8>>2]|0)>>>0>=(k[g+16>>2]|0)>>>0)break;f=(k[g+20>>2]|0)+(k[g+8>>2]<<3)|0;i[g>>0]=i[f>>0]|0;i[g+1>>0]=i[f+1>>0]|0;i[g+2>>0]=i[f+2>>0]|0;i[g+3>>0]=i[f+3>>0]|0;i[g+4>>0]=i[f+4>>0]|0;i[g+5>>0]=i[f+5>>0]|0;i[g+6>>0]=i[f+6>>0]|0;i[g+7>>0]=i[f+7>>0]|0;k[g+12>>2]=~~(+p[g>>3]*2147483647.5);f=(k[g+24>>2]|0)+((k[g+8>>2]|0)*3|0)|0;i[f>>0]=i[g+12+1>>0]|0;i[f+1>>0]=i[g+12+1+1>>0]|0;i[f+2>>0]=i[g+12+1+2>>0]|0;k[g+8>>2]=(k[g+8>>2]|0)+1}if(!(l[g+28>>0]|0)){r=g;return}f=(k[g+20>>2]|0)+(k[g+16>>2]<<3)|0;i[g>>0]=i[f>>0]|0;i[g+1>>0]=i[f+1>>0]|0;i[g+2>>0]=i[f+2>>0]|0;i[g+3>>0]=i[f+3>>0]|0;i[g+4>>0]=i[f+4>>0]|0;i[g+5>>0]=i[f+5>>0]|0;i[g+6>>0]=i[f+6>>0]|0;i[g+7>>0]=i[f+7>>0]|0;k[g+12>>2]=~~(+p[g>>3]*2147483647.5);ABb((k[g+24>>2]|0)+((k[g+16>>2]|0)*3|0)|0,g+12+1|0,l[g+28>>0]|0|0)|0;r=g;return}function Rsa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+32|0;k[g+24>>2]=a;k[g+20>>2]=b;k[g+16>>2]=c;i[g+30>>0]=d;i[g+29>>0]=e;i[g+28>>0]=f;if(l[g+29>>0]|0|0){f=k[g+20>>2]|0;i[g>>0]=i[f>>0]|0;i[g+1>>0]=i[f+1>>0]|0;i[g+2>>0]=i[f+2>>0]|0;i[g+3>>0]=i[f+3>>0]|0;i[g+4>>0]=i[f+4>>0]|0;i[g+5>>0]=i[f+5>>0]|0;i[g+6>>0]=i[f+6>>0]|0;i[g+7>>0]=i[f+7>>0]|0;k[g+12>>2]=~~(+p[g>>3]*2147483647.5);ABb(k[g+24>>2]|0,g+12+(l[g+30>>0]|0)|0,l[g+29>>0]|0|0)|0;k[g+20>>2]=(k[g+20>>2]|0)+8;k[g+24>>2]=(k[g+24>>2]|0)+(l[g+29>>0]|0)}k[g+8>>2]=0;while(1){if((k[g+8>>2]|0)>>>0>=(k[g+16>>2]|0)>>>0)break;f=(k[g+20>>2]|0)+(k[g+8>>2]<<3)|0;i[g>>0]=i[f>>0]|0;i[g+1>>0]=i[f+1>>0]|0;i[g+2>>0]=i[f+2>>0]|0;i[g+3>>0]=i[f+3>>0]|0;i[g+4>>0]=i[f+4>>0]|0;i[g+5>>0]=i[f+5>>0]|0;i[g+6>>0]=i[f+6>>0]|0;i[g+7>>0]=i[f+7>>0]|0;k[g+12>>2]=~~(+p[g>>3]*2147483647.5);f=(k[g+24>>2]|0)+(k[g+8>>2]<<2)|0;i[f>>0]=i[g+12>>0]|0;i[f+1>>0]=i[g+12+1>>0]|0;i[f+2>>0]=i[g+12+2>>0]|0;i[f+3>>0]=i[g+12+3>>0]|0;k[g+8>>2]=(k[g+8>>2]|0)+1}if(!(l[g+28>>0]|0)){r=g;return}f=(k[g+20>>2]|0)+(k[g+16>>2]<<3)|0;i[g>>0]=i[f>>0]|0;i[g+1>>0]=i[f+1>>0]|0;i[g+2>>0]=i[f+2>>0]|0;i[g+3>>0]=i[f+3>>0]|0;i[g+4>>0]=i[f+4>>0]|0;i[g+5>>0]=i[f+5>>0]|0;i[g+6>>0]=i[f+6>>0]|0;i[g+7>>0]=i[f+7>>0]|0;k[g+12>>2]=~~(+p[g>>3]*2147483647.5);ABb((k[g+24>>2]|0)+(k[g+16>>2]<<2)|0,g+12|0,l[g+28>>0]|0|0)|0;r=g;return}function Ssa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+32|0;k[g+24>>2]=a;k[g+20>>2]=b;k[g+16>>2]=c;i[g+30>>0]=d;i[g+29>>0]=e;i[g+28>>0]=f;if(l[g+29>>0]|0|0){f=k[g+20>>2]|0;i[g>>0]=i[f>>0]|0;i[g+1>>0]=i[f+1>>0]|0;i[g+2>>0]=i[f+2>>0]|0;i[g+3>>0]=i[f+3>>0]|0;i[g+4>>0]=i[f+4>>0]|0;i[g+5>>0]=i[f+5>>0]|0;i[g+6>>0]=i[f+6>>0]|0;i[g+7>>0]=i[f+7>>0]|0;o[g+12>>2]=+p[g>>3];ABb(k[g+24>>2]|0,g+12+(l[g+30>>0]|0)|0,l[g+29>>0]|0|0)|0;k[g+20>>2]=(k[g+20>>2]|0)+8;k[g+24>>2]=(k[g+24>>2]|0)+(l[g+29>>0]|0)}k[g+8>>2]=0;while(1){if((k[g+8>>2]|0)>>>0>=(k[g+16>>2]|0)>>>0)break;f=(k[g+20>>2]|0)+(k[g+8>>2]<<3)|0;i[g>>0]=i[f>>0]|0;i[g+1>>0]=i[f+1>>0]|0;i[g+2>>0]=i[f+2>>0]|0;i[g+3>>0]=i[f+3>>0]|0;i[g+4>>0]=i[f+4>>0]|0;i[g+5>>0]=i[f+5>>0]|0;i[g+6>>0]=i[f+6>>0]|0;i[g+7>>0]=i[f+7>>0]|0;o[g+12>>2]=+p[g>>3];f=(k[g+24>>2]|0)+(k[g+8>>2]<<2)|0;i[f>>0]=i[g+12>>0]|0;i[f+1>>0]=i[g+12+1>>0]|0;i[f+2>>0]=i[g+12+2>>0]|0;i[f+3>>0]=i[g+12+3>>0]|0;k[g+8>>2]=(k[g+8>>2]|0)+1}if(!(l[g+28>>0]|0)){r=g;return}f=(k[g+20>>2]|0)+(k[g+16>>2]<<3)|0;i[g>>0]=i[f>>0]|0;i[g+1>>0]=i[f+1>>0]|0;i[g+2>>0]=i[f+2>>0]|0;i[g+3>>0]=i[f+3>>0]|0;i[g+4>>0]=i[f+4>>0]|0;i[g+5>>0]=i[f+5>>0]|0;i[g+6>>0]=i[f+6>>0]|0;i[g+7>>0]=i[f+7>>0]|0;o[g+12>>2]=+p[g>>3];ABb((k[g+24>>2]|0)+(k[g+16>>2]<<2)|0,g+12|0,l[g+28>>0]|0|0)|0;r=g;return}function Tsa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+16|0;k[g+8>>2]=a;k[g+4>>2]=b;k[g>>2]=c;i[g+14>>0]=d;i[g+13>>0]=e;i[g+12>>0]=f;ABb(k[g+8>>2]|0,(k[g+4>>2]|0)+(l[g+14>>0]|0)|0,(k[g>>2]<<3)+(l[g+13>>0]|0)+(l[g+12>>0]|0)|0)|0;r=g;return}function Usa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0;aa=k[a+19360>>2]|0;Z=k[a+19368>>2]|0;_=k[a+19376>>2]|0;Y=k[a+19384>>2]|0;ba=k[a+19392>>2]|0;g=k[a+19480>>2]|0;j=k[a+23728>>2]|0;l=k[a+23736>>2]|0;$=k[a+30640>>2]|0;a:{b:do if(($|0)==565){m=1;if(m){m=0;if(g<<24>>24==66){if(j>>>0>>0){k[aa+168>>2]=j+1;g=i[j>>0]|0}else{if(!(k[aa+32>>2]|0)){$=602;break}g=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!g){k[aa+32>>2]=0;i[aa+40>>0]=0;l=aa+41|0;j=aa+41|0;g=0}else{l=aa+41|0;j=aa+40+g|0;g=i[aa+40>>0]|0}k[aa+172>>2]=j;k[aa+168>>2]=l}j=1;if(j)if(g<<24>>24==77){Mha(aa)|0;f=k[aa+168>>2]|0;g=k[aa+172>>2]|0;if(f>>>0>>0){k[aa+168>>2]=f+1;f=f+1|0}else if(k[aa+32>>2]|0){g=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!g){k[aa+32>>2]=0;i[aa+40>>0]=0;f=aa+41|0;g=aa+41|0}else{f=aa+41|0;g=aa+40+g|0}k[aa+172>>2]=g;k[aa+168>>2]=f}if(f>>>0>>0){f=f+1|0;k[aa+168>>2]=f}else if(k[aa+32>>2]|0){g=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!g){k[aa+32>>2]=0;i[aa+40>>0]=0;f=aa+41|0;g=aa+41|0}else{f=aa+41|0;g=aa+40+g|0}k[aa+172>>2]=g;k[aa+168>>2]=f}if(f>>>0>>0){f=f+1|0;k[aa+168>>2]=f}else if(k[aa+32>>2]|0){g=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!g){k[aa+32>>2]=0;i[aa+40>>0]=0;f=aa+41|0;g=aa+41|0}else{f=aa+41|0;g=aa+40+g|0}k[aa+172>>2]=g;k[aa+168>>2]=f}if(f>>>0>>0)k[aa+168>>2]=f+1;else if(k[aa+32>>2]|0){f=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!f){k[aa+32>>2]=0;i[aa+40>>0]=0;g=aa+41|0;f=aa+41|0}else{g=aa+41|0;f=aa+40+f|0}k[aa+172>>2]=f;k[aa+168>>2]=g}Mha(aa)|0;g=Mha(aa)|0;f=k[aa+176>>2]|0;k[aa+168>>2]=f;h=k[aa+180>>2]|0;k[aa+172>>2]=h;if((g|0)!=12)switch(g|16|0){case 56:case 124:break;default:break b}if(f>>>0>>0){k[aa+168>>2]=f+1;p=i[f>>0]|0;o=f+1|0;n=h;$=612}else if(!(k[aa+32>>2]|0))b=0;else{c=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!c){k[aa+32>>2]=0;i[aa+40>>0]=0;d=aa+41|0;e=aa+41|0;c=0}else{d=aa+41|0;e=aa+40+c|0;c=i[aa+40>>0]|0}k[aa+172>>2]=e;k[aa+168>>2]=d;p=c;o=d;n=e;$=612}c:do if(($|0)==612){X=1;if(X){X=0;if(p<<24>>24==66){if(o>>>0>>0){k[aa+168>>2]=o+1;c=i[o>>0]|0}else{if(!(k[aa+32>>2]|0)){b=0;break}c=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!c){k[aa+32>>2]=0;i[aa+40>>0]=0;e=aa+41|0;d=aa+41|0;c=0}else{e=aa+41|0;d=aa+40+c|0;c=i[aa+40>>0]|0}k[aa+172>>2]=d;k[aa+168>>2]=e}W=1;if(W){W=0;if(c<<24>>24==77){Mha(aa)|0;b=k[aa+168>>2]|0;c=k[aa+172>>2]|0;if(b>>>0>>0){k[aa+168>>2]=b+1;b=b+1|0}else if(k[aa+32>>2]|0){c=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!c){k[aa+32>>2]=0;i[aa+40>>0]=0;b=aa+41|0;c=aa+41|0}else{b=aa+41|0;c=aa+40+c|0}k[aa+172>>2]=c;k[aa+168>>2]=b}do if(b>>>0>>0){b=b+1|0;k[aa+168>>2]=b}else{if(!(k[aa+32>>2]|0))break;c=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!c){k[aa+32>>2]=0;i[aa+40>>0]=0;b=aa+41|0;c=aa+41|0}else{b=aa+41|0;c=aa+40+c|0}k[aa+172>>2]=c;k[aa+168>>2]=b}while(0);do if(b>>>0>>0){b=b+1|0;k[aa+168>>2]=b}else{if(!(k[aa+32>>2]|0))break;c=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!c){k[aa+32>>2]=0;i[aa+40>>0]=0;b=aa+41|0;c=aa+41|0}else{b=aa+41|0;c=aa+40+c|0}k[aa+172>>2]=c;k[aa+168>>2]=b}while(0);do if(b>>>0>>0)k[aa+168>>2]=b+1;else{if(!(k[aa+32>>2]|0))break;b=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!b){k[aa+32>>2]=0;i[aa+40>>0]=0;c=aa+41|0;b=aa+41|0}else{c=aa+41|0;b=aa+40+b|0}k[aa+172>>2]=b;k[aa+168>>2]=c}while(0);h=Mha(aa)|0;j=Mha(aa)|0;switch(j|0){case 12:case 40:case 56:case 108:case 124:break;default:{b=0;break c}}if((j|0)==12){b=k[aa+168>>2]|0;c=k[aa+172>>2]|0;do if(b>>>0>>0){k[aa+168>>2]=b+1;e=i[b>>0]|0;b=b+1|0}else{if(!(k[aa+32>>2]|0)){e=0;break}b=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!b){k[aa+32>>2]=0;i[aa+40>>0]=0;d=aa+41|0;c=aa+41|0;b=0}else{d=aa+41|0;c=aa+40+b|0;b=i[aa+40>>0]|0}k[aa+172>>2]=c;k[aa+168>>2]=d;e=b;b=d}while(0);e=e&255;do if(b>>>0>>0){K=b+1|0;k[aa+168>>2]=K;d=i[b>>0]|0;b=K}else{if(!(k[aa+32>>2]|0)){d=0;break}c=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!c){k[aa+32>>2]=0;i[aa+40>>0]=0;b=aa+41|0;c=aa+41|0;d=0}else{b=aa+41|0;c=aa+40+c|0;d=i[aa+40>>0]|0}k[aa+172>>2]=c;k[aa+168>>2]=b}while(0);k[aa>>2]=(d&255)<<8|e;do if(b>>>0>>0){K=b+1|0;k[aa+168>>2]=K;e=i[b>>0]|0;b=K}else{if(!(k[aa+32>>2]|0)){e=0;break}b=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!b){k[aa+32>>2]=0;i[aa+40>>0]=0;d=aa+41|0;c=aa+41|0;b=0}else{d=aa+41|0;c=aa+40+b|0;b=i[aa+40>>0]|0}k[aa+172>>2]=c;k[aa+168>>2]=d;e=b;b=d}while(0);e=e&255;do if(b>>>0>>0){K=b+1|0;k[aa+168>>2]=K;d=i[b>>0]|0;b=K}else{if(!(k[aa+32>>2]|0)){d=0;break}c=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!c){k[aa+32>>2]=0;i[aa+40>>0]=0;b=aa+41|0;c=aa+41|0;d=0}else{b=aa+41|0;c=aa+40+c|0;d=i[aa+40>>0]|0}k[aa+172>>2]=c;k[aa+168>>2]=b}while(0);k[aa+4>>2]=(d&255)<<8|e}else{b=Mha(aa)|0;k[aa>>2]=b;b=Mha(aa)|0;k[aa+4>>2]=b;b=k[aa+168>>2]|0;c=k[aa+172>>2]|0}do if(b>>>0>>0){K=b+1|0;k[aa+168>>2]=K;e=i[b>>0]|0;b=K}else{if(!(k[aa+32>>2]|0)){e=0;break}b=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!b){k[aa+32>>2]=0;i[aa+40>>0]=0;d=aa+41|0;c=aa+41|0;b=0}else{d=aa+41|0;c=aa+40+b|0;b=i[aa+40>>0]|0}k[aa+172>>2]=c;k[aa+168>>2]=d;e=b;b=d}while(0);e=e&255;do if(b>>>0>>0){K=b+1|0;k[aa+168>>2]=K;d=i[b>>0]|0;b=K}else{if(!(k[aa+32>>2]|0)){d=0;break}c=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!c){k[aa+32>>2]=0;i[aa+40>>0]=0;b=aa+41|0;c=aa+41|0;d=0}else{b=aa+41|0;c=aa+40+c|0;d=i[aa+40>>0]|0}k[aa+172>>2]=c;k[aa+168>>2]=b}while(0);if(((d&255)<<8|e|0)!=1){b=0;break}do if(b>>>0>>0){K=b+1|0;k[aa+168>>2]=K;e=i[b>>0]|0;b=K}else{if(!(k[aa+32>>2]|0)){e=0;break}b=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!b){k[aa+32>>2]=0;i[aa+40>>0]=0;d=aa+41|0;c=aa+41|0;b=0}else{d=aa+41|0;c=aa+40+b|0;b=i[aa+40>>0]|0}k[aa+172>>2]=c;k[aa+168>>2]=d;e=b;b=d}while(0);e=e&255;do if(b>>>0>>0){k[aa+168>>2]=b+1;b=i[b>>0]|0}else{if(!(k[aa+32>>2]|0)){b=0;break}b=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!b){k[aa+32>>2]=0;i[aa+40>>0]=0;d=aa+41|0;c=aa+41|0;b=0}else{d=aa+41|0;c=aa+40+b|0;b=i[aa+40>>0]|0}k[aa+172>>2]=c;k[aa+168>>2]=d}while(0);J=(b&255)<<8|e;if((J|0)==1){b=0;break}K=k[aa+4>>2]|0;k[aa+4>>2]=(K|0)>-1?K:0-K|0;d:do if((j|0)==12){if(J>>>0>=24){H=255;G=0;F=0;d=0;E=0;g=0;break}H=255;G=0;F=0;d=0;E=0;g=(h+-38|0)/3|0}else{b=Mha(aa)|0;if((b+-1|0)>>>0<2){b=0;break c}Mha(aa)|0;Mha(aa)|0;Mha(aa)|0;Mha(aa)|0;Mha(aa)|0;e:do switch(j|16|0){case 56:{if((j|0)==56){Mha(aa)|0;Mha(aa)|0;Mha(aa)|0;Mha(aa)|0}switch(J|0){case 16:case 32:break;default:{b=0;c=0;d=0;e=0;break e}}switch(b|0){case 0:{H=(J|0)==32?0:255;G=(J|0)==32?-16777216:0;F=(J|0)==32?255:31;d=(J|0)==32?65280:992;E=(J|0)==32?16711680:31744;g=0;break d}case 3:{e=Mha(aa)|0;c=Mha(aa)|0;b=Mha(aa)|0;if((e|0)==(c|0)&(c|0)==(b|0)){b=0;break c}else{H=255;G=0;F=b;d=c;E=e;g=0;break d}}default:{b=0;break c}}}case 124:{e=Mha(aa)|0;d=Mha(aa)|0;c=Mha(aa)|0;b=Mha(aa)|0;Mha(aa)|0;Mha(aa)|0;Mha(aa)|0;Mha(aa)|0;Mha(aa)|0;Mha(aa)|0;Mha(aa)|0;Mha(aa)|0;Mha(aa)|0;Mha(aa)|0;Mha(aa)|0;Mha(aa)|0;Mha(aa)|0;if((j|0)!=124)break e;Mha(aa)|0;Mha(aa)|0;Mha(aa)|0;Mha(aa)|0;break}default:{ba=xf(16)|0;k[a>>2]=438753;os(ba,438633,a);Jc(ba|0,96,27)}}while(0);if(J>>>0>=16){H=255;G=b;F=c;E=e;g=0;break}H=255;G=b;F=c;E=e;g=h+-14-j>>2}while(0);D=(G|0)!=0;I=D?4:3;k[aa+8>>2]=I;I=(ba|0)>2?ba:I;b=ha(k[aa>>2]|0,I)|0;b=hqb(ha(b,k[aa+4>>2]|0)|0)|0;if(!b){b=0;break}f:do{c=1;if(c)if(J>>>0<16){if((g|0)==0|(g|0)>256){iqb(b);b=0;break c}if((g|0)>0){e=k[aa+168>>2]|0;c=k[aa+172>>2]|0;f=0;while(1){do if(e>>>0>>0){V=e+1|0;k[aa+168>>2]=V;d=i[e>>0]|0;e=V}else{if(!(k[aa+32>>2]|0)){d=0;break}c=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!c){k[aa+32>>2]=0;i[aa+40>>0]=0;c=aa+41|0;d=0}else{c=aa+40+c|0;d=i[aa+40>>0]|0}k[aa+172>>2]=c;k[aa+168>>2]=aa+41;e=aa+41|0}while(0);i[a+18320+(f<<2)+2>>0]=d;do if(e>>>0>>0){V=e+1|0;k[aa+168>>2]=V;d=i[e>>0]|0;e=V}else{if(!(k[aa+32>>2]|0)){d=0;break}c=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!c){k[aa+32>>2]=0;i[aa+40>>0]=0;c=aa+41|0;d=0}else{c=aa+40+c|0;d=i[aa+40>>0]|0}k[aa+172>>2]=c;k[aa+168>>2]=aa+41;e=aa+41|0}while(0);i[a+18320+(f<<2)+1>>0]=d;do if(e>>>0>>0){V=e+1|0;k[aa+168>>2]=V;d=i[e>>0]|0;e=V}else{if(!(k[aa+32>>2]|0)){d=0;break}c=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!c){k[aa+32>>2]=0;i[aa+40>>0]=0;c=aa+41|0;d=0}else{c=aa+40+c|0;d=i[aa+40>>0]|0}k[aa+172>>2]=c;k[aa+168>>2]=aa+41;e=aa+41|0}while(0);i[a+18320+(f<<2)>>0]=d;do if((j|0)==12)d=e;else{if(e>>>0>>0){d=e+1|0;k[aa+168>>2]=d;break}if(!(k[aa+32>>2]|0)){d=e;break}c=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!c){k[aa+32>>2]=0;i[aa+40>>0]=0;c=aa+41|0}else c=aa+40+c|0;k[aa+172>>2]=c;k[aa+168>>2]=aa+41;d=aa+41|0}while(0);i[a+18320+(f<<2)+3>>0]=-1;f=f+1|0;if((f|0)==(g|0))break;else e=d}}e=h+-14-j-(ha(g,(j|0)==12?3:4)|0)|0;g:do if((e|0)<0)k[aa+168>>2]=k[aa+172>>2];else{do if(!(k[aa+16>>2]|0))c=k[aa+168>>2]|0;else{d=k[aa+172>>2]|0;c=k[aa+168>>2]|0;if((e|0)<=(d-c|0))break;k[aa+168>>2]=d;Di[k[aa+20>>2]&511](k[aa+28>>2]|0,e-(d-c)|0);break g}while(0);k[aa+168>>2]=c+e}while(0);do if((J|0)==4){c=k[aa>>2]|0;d=c;c=(c+1|0)>>>1}else if((J|0)==8){c=k[aa>>2]|0;d=c;break}else{iqb(b);b=0;break c}while(0);m=0-c&3;c=k[aa+4>>2]|0;if((c|0)<=0){v=c;u=H;break}e=0;g=0;while(1){h:do if((d|0)>0){c=k[aa+168>>2]|0;f=k[aa+172>>2]|0;if((I|0)==4){l=0;j=g;while(1){do if(c>>>0>>0){V=c+1|0;k[aa+168>>2]=V;g=i[c>>0]|0;c=V}else{if(!(k[aa+32>>2]|0)){g=0;break}c=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!c){k[aa+32>>2]=0;i[aa+40>>0]=0;f=aa+41|0;c=0}else{f=aa+40+c|0;c=i[aa+40>>0]|0}k[aa+172>>2]=f;k[aa+168>>2]=aa+41;g=c;d=k[aa>>2]|0;c=aa+41|0}while(0);g=g&255;h=(J|0)==4?g>>>4:g;i[b+j>>0]=i[a+18320+(h<<2)>>0]|0;i[b+(j+1)>>0]=i[a+18320+(h<<2)+1>>0]|0;i[b+(j+2)>>0]=i[a+18320+(h<<2)+2>>0]|0;h=j+4|0;i[b+(j+3)>>0]=-1;if((l|1|0)==(d|0)){f=h;break h}g=(J|0)==4?g&15:0;if((J|0)==8){do if(c>>>0>>0){V=c+1|0;k[aa+168>>2]=V;g=i[c>>0]|0;c=V}else{if(!(k[aa+32>>2]|0)){g=0;break}c=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!c){k[aa+32>>2]=0;i[aa+40>>0]=0;f=aa+41|0;c=0}else{f=aa+40+c|0;c=i[aa+40>>0]|0}k[aa+172>>2]=f;k[aa+168>>2]=aa+41;g=c;d=k[aa>>2]|0;c=aa+41|0}while(0);g=g&255}i[b+h>>0]=i[a+18320+(g<<2)>>0]|0;i[b+(j+5)>>0]=i[a+18320+(g<<2)+1>>0]|0;i[b+(j+6)>>0]=i[a+18320+(g<<2)+2>>0]|0;g=j+8|0;i[b+(j+7)>>0]=-1;l=l+2|0;if((l|0)>=(d|0)){f=g;break}else j=g}}else{l=0;j=g;while(1){do if(c>>>0>>0){V=c+1|0;k[aa+168>>2]=V;g=i[c>>0]|0;c=V}else{if(!(k[aa+32>>2]|0)){g=0;break}c=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!c){k[aa+32>>2]=0;i[aa+40>>0]=0;f=aa+41|0;c=0}else{f=aa+40+c|0;c=i[aa+40>>0]|0}k[aa+172>>2]=f;k[aa+168>>2]=aa+41;g=c;d=k[aa>>2]|0;c=aa+41|0}while(0);g=g&255;V=(J|0)==4?g>>>4:g;i[b+j>>0]=i[a+18320+(V<<2)>>0]|0;i[b+(j+1)>>0]=i[a+18320+(V<<2)+1>>0]|0;h=j+3|0;i[b+(j+2)>>0]=i[a+18320+(V<<2)+2>>0]|0;if((l|1|0)==(d|0)){f=h;break h}g=(J|0)==4?g&15:0;if((J|0)==8){do if(c>>>0>>0){V=c+1|0;k[aa+168>>2]=V;g=i[c>>0]|0;c=V}else{if(!(k[aa+32>>2]|0)){g=0;break}c=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!c){k[aa+32>>2]=0;i[aa+40>>0]=0;f=aa+41|0;c=0}else{f=aa+40+c|0;c=i[aa+40>>0]|0}k[aa+172>>2]=f;k[aa+168>>2]=aa+41;g=c;d=k[aa>>2]|0;c=aa+41|0}while(0);g=g&255}i[b+h>>0]=i[a+18320+(g<<2)>>0]|0;i[b+(j+4)>>0]=i[a+18320+(g<<2)+1>>0]|0;h=j+6|0;i[b+(j+5)>>0]=i[a+18320+(g<<2)+2>>0]|0;l=l+2|0;if((l|0)>=(d|0)){f=h;break}else j=h}}}else f=g;while(0);do if(!(k[aa+16>>2]|0)){y=k[aa+168>>2]|0;$=819}else{c=k[aa+172>>2]|0;d=k[aa+168>>2]|0;if((m|0)<=(c-d|0)){y=d;$=819;break}k[aa+168>>2]=c;Di[k[aa+20>>2]&511](k[aa+28>>2]|0,m-(c-d)|0)}while(0);if(($|0)==819){$=0;k[aa+168>>2]=y+m}e=e+1|0;c=k[aa+4>>2]|0;if((e|0)>=(c|0)){v=c;u=H;break f}d=k[aa>>2]|0;g=f}}else c=1;if(c)if(1){i:do if((h+-14-j|0)<0)k[aa+168>>2]=k[aa+172>>2];else{do if(!(k[aa+16>>2]|0))c=k[aa+168>>2]|0;else{e=k[aa+172>>2]|0;c=k[aa+168>>2]|0;if((h+-14-j|0)<=(e-c|0))break;k[aa+168>>2]=e;Di[k[aa+20>>2]&511](k[aa+28>>2]|0,h+-14-j-(e-c)|0);break i}while(0);k[aa+168>>2]=c+(h+-14-j)}while(0);switch(J|0){case 24:{S=(ha(k[aa>>2]|0,-3)|0)&3;U=1;V=0;R=0;Q=0;P=0;w=1;O=0;N=0;M=0;L=0;break}case 16:{x=0-(k[aa>>2]<<1)&2;$=833;break}case 32:{if((G|0)==-16777216&((F|0)==255&(d|0)==65280&(E|0)==16711680)){S=0;U=1;V=0;R=0;Q=0;P=0;w=2;O=0;N=0;M=0;L=0}else{x=0;$=833}break}default:{x=0;$=833}}if(($|0)==833){if(!((F|0)!=0&((d|0)!=0&(E|0)!=0))){iqb(b);b=0;break c}o=E>>>0>65535;n=o?E>>>16:E;o=o?16:0;m=n>>>0>255?n>>>8:n;o=n>>>0>255?o|8:o;n=m>>>0>15?m>>>4:m;o=m>>>0>15?o|4:o;m=(E>>>1&1431655765)+(E&1431655765)|0;l=d>>>0>65535;j=l?d>>>16:d;l=l?16:0;h=j>>>0>255?j>>>8:j;l=j>>>0>255?l|8:l;j=h>>>0>15?h>>>4:h;l=h>>>0>15?l|4:l;h=(d>>>1&1431655765)+(d&1431655765)|0;g=F>>>0>65535;f=g?F>>>16:F;g=g?16:0;e=f>>>0>255?f>>>8:f;g=f>>>0>255?g|8:g;f=e>>>0>15?e>>>4:e;g=e>>>0>15?g|4:g;e=(F>>>1&1431655765)+(F&1431655765)|0;if(!G)c=-8;else{c=G>>>0>65535;V=c?G>>>16:G;c=c?16:0;U=V>>>0>255?V>>>8:V;c=V>>>0>255?c|8:c;V=U>>>0>15?U>>>4:U;c=U>>>0>15?c|4:c;c=((V>>>0>3?V>>>2:V)>>>0>1&1)+(V>>>0>3?c|2:c)+-7|0}V=(G>>>1&1431655765)+(G&1431655765)|0;S=x;U=0;V=(((((((V>>>2&858993459)+(V&858993459)|0)>>>4)+((V>>>2&858993459)+(V&858993459))&252645135)>>>8)+((((V>>>2&858993459)+(V&858993459)|0)>>>4)+((V>>>2&858993459)+(V&858993459))&252645135)|0)>>>16)+((((((V>>>2&858993459)+(V&858993459)|0)>>>4)+((V>>>2&858993459)+(V&858993459))&252645135)>>>8)+((((V>>>2&858993459)+(V&858993459)|0)>>>4)+((V>>>2&858993459)+(V&858993459))&252645135))&63;R=c;Q=(((((((e>>>2&858993459)+(e&858993459)|0)>>>4)+((e>>>2&858993459)+(e&858993459))&252645135)>>>8)+((((e>>>2&858993459)+(e&858993459)|0)>>>4)+((e>>>2&858993459)+(e&858993459))&252645135)|0)>>>16)+((((((e>>>2&858993459)+(e&858993459)|0)>>>4)+((e>>>2&858993459)+(e&858993459))&252645135)>>>8)+((((e>>>2&858993459)+(e&858993459)|0)>>>4)+((e>>>2&858993459)+(e&858993459))&252645135))&63;P=(f>>>0>3?g|2:g)+-7+((f>>>0>3?f>>>2:f)>>>0>1&1)|0;w=0;O=(((((((h>>>2&858993459)+(h&858993459)|0)>>>4)+((h>>>2&858993459)+(h&858993459))&252645135)>>>8)+((((h>>>2&858993459)+(h&858993459)|0)>>>4)+((h>>>2&858993459)+(h&858993459))&252645135)|0)>>>16)+((((((h>>>2&858993459)+(h&858993459)|0)>>>4)+((h>>>2&858993459)+(h&858993459))&252645135)>>>8)+((((h>>>2&858993459)+(h&858993459)|0)>>>4)+((h>>>2&858993459)+(h&858993459))&252645135))&63;N=(j>>>0>3?l|2:l)+-7+((j>>>0>3?j>>>2:j)>>>0>1&1)|0;M=(((((((m>>>2&858993459)+(m&858993459)|0)>>>4)+((m>>>2&858993459)+(m&858993459))&252645135)>>>8)+((((m>>>2&858993459)+(m&858993459)|0)>>>4)+((m>>>2&858993459)+(m&858993459))&252645135)|0)>>>16)+((((((m>>>2&858993459)+(m&858993459)|0)>>>4)+((m>>>2&858993459)+(m&858993459))&252645135)>>>8)+((((m>>>2&858993459)+(m&858993459)|0)>>>4)+((m>>>2&858993459)+(m&858993459))&252645135))&63;L=(n>>>0>3?o|2:o)+-7+((n>>>0>3?n>>>2:n)>>>0>1&1)|0}c=k[aa+4>>2]|0;if((c|0)<=0){v=c;u=H;break}p=(w|0)==2;q=(L|0)<0;s=0-L|0;t=M>>>0<8;u=(N|0)<0;v=0-N|0;w=O>>>0<8;x=(P|0)<0;y=0-P|0;z=Q>>>0<8;A=(R|0)<0;B=0-R|0;C=V>>>0<8;e=H;o=0;f=0;while(1){c=(k[aa>>2]|0)>0;do if(U){if(!c){g=e;break}h=k[aa+168>>2]|0;g=k[aa+172>>2]|0;l=0;do{do if(h>>>0>>0){H=h+1|0;k[aa+168>>2]=H;c=i[h>>0]|0;h=H}else{if(!(k[aa+32>>2]|0)){c=0;break}c=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!c){k[aa+32>>2]=0;i[aa+40>>0]=0;g=aa+41|0;c=0}else{g=aa+40+c|0;c=i[aa+40>>0]|0}k[aa+172>>2]=g;k[aa+168>>2]=aa+41;h=aa+41|0}while(0);i[b+(f+2)>>0]=c;do if(h>>>0>>0){H=h+1|0;k[aa+168>>2]=H;c=i[h>>0]|0;h=H}else{if(!(k[aa+32>>2]|0)){c=0;break}c=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!c){k[aa+32>>2]=0;i[aa+40>>0]=0;g=aa+41|0;c=0}else{g=aa+40+c|0;c=i[aa+40>>0]|0}k[aa+172>>2]=g;k[aa+168>>2]=aa+41;h=aa+41|0}while(0);i[b+(f+1)>>0]=c;do if(h>>>0>>0){H=h+1|0;k[aa+168>>2]=H;c=i[h>>0]|0;h=H}else{if(!(k[aa+32>>2]|0)){c=0;break}c=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!c){k[aa+32>>2]=0;i[aa+40>>0]=0;g=aa+41|0;c=0}else{g=aa+40+c|0;c=i[aa+40>>0]|0}k[aa+172>>2]=g;k[aa+168>>2]=aa+41;h=aa+41|0}while(0);i[b+f>>0]=c;j=f+3|0;if(p){do if(h>>>0>>0){H=h+1|0;k[aa+168>>2]=H;c=i[h>>0]|0;h=H}else{if(!(k[aa+32>>2]|0)){c=0;break}c=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!c){k[aa+32>>2]=0;i[aa+40>>0]=0;g=aa+41|0;c=0}else{g=aa+40+c|0;c=i[aa+40>>0]|0}k[aa+172>>2]=g;k[aa+168>>2]=aa+41;h=aa+41|0}while(0);c=c&255}else c=255;e=c|e;if((I|0)==4){i[b+j>>0]=c;f=f+4|0}else f=j;l=l+1|0}while((l|0)<(k[aa>>2]|0));g=e}else{if(c){m=e;n=0;l=f}else{g=e;break}while(1){if((J|0)==16){e=k[aa+168>>2]|0;f=k[aa+172>>2]|0;do if(e>>>0>>0){k[aa+168>>2]=e+1;c=i[e>>0]|0;e=e+1|0}else{if(!(k[aa+32>>2]|0)){c=0;break}c=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!c){k[aa+32>>2]=0;i[aa+40>>0]=0;f=aa+41|0;c=0}else{f=aa+40+c|0;c=i[aa+40>>0]|0}k[aa+172>>2]=f;k[aa+168>>2]=aa+41;e=aa+41|0}while(0);g=c&255;do if(e>>>0>>0){k[aa+168>>2]=e+1;c=i[e>>0]|0}else{if(!(k[aa+32>>2]|0)){c=0;break}c=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!c){k[aa+32>>2]=0;i[aa+40>>0]=0;e=aa+41|0;c=0}else{e=aa+40+c|0;c=i[aa+40>>0]|0}k[aa+172>>2]=e;k[aa+168>>2]=aa+41}while(0);j=(c&255)<<8|g}else j=Mha(aa)|0;c=j&E;c=q?c<>L;if(t){e=c;f=M;do{e=(c>>f)+e|0;f=f+M|0}while((f|0)<8);c=e}g=l+1|0;i[b+l>>0]=c;c=j&d;c=u?c<>N;if(w){e=c;f=O;do{e=(c>>f)+e|0;f=f+O|0}while((f|0)<8);c=e}h=l+2|0;i[b+g>>0]=c;e=j&F;e=x?e<>P;if(z){c=e;f=Q;do{c=(e>>f)+c|0;f=f+Q|0}while((f|0)<8);e=c}c=l+3|0;i[b+h>>0]=e;do if(D){f=j&G;f=A?f<>R;if(C){e=f;g=V}else break;do{e=(f>>g)+e|0;g=g+V|0}while((g|0)<8);f=e}else f=255;while(0);e=f|m;if((I|0)==4){i[b+c>>0]=f;c=l+4|0}n=n+1|0;if((n|0)>=(k[aa>>2]|0)){g=e;f=c;break}else{m=e;l=c}}}while(0);do if(!(k[aa+16>>2]|0)){T=k[aa+168>>2]|0;$=909}else{c=k[aa+172>>2]|0;e=k[aa+168>>2]|0;if((S|0)<=(c-e|0)){T=e;$=909;break}k[aa+168>>2]=c;Di[k[aa+20>>2]&511](k[aa+28>>2]|0,S-(c-e)|0)}while(0);if(($|0)==909){$=0;k[aa+168>>2]=T+S}o=o+1|0;c=k[aa+4>>2]|0;if((o|0)>=(c|0)){v=c;u=g;break}else e=g}}}while(0);do if((I|0)==4&(u|0)==0){c=(ha(v<<2,k[aa>>2]|0)|0)+-1|0;if((c|0)<=-1)break;do{i[b+c>>0]=-1;c=c+-4|0}while((c|0)>-1)}while(0);do if((K|0)>0){c=v>>1;if((c|0)<=0)break;d=ha(k[aa>>2]|0,I)|0;if((d|0)>0)h=0;else break;do{e=b+(ha(d,h)|0)|0;f=b+(ha(d,v+~h|0)|0)|0;g=0;do{T=e+g|0;U=i[T>>0]|0;V=f+g|0;i[T>>0]=i[V>>0]|0;i[V>>0]=U;g=g+1|0}while((g|0)!=(d|0));h=h+1|0}while((h|0)!=(c|0))}while(0);if(!((ba|0)==0|(I|0)==(ba|0))){b=_ha(b,I,ba,k[aa>>2]|0,v)|0;if(!b){b=0;break}}k[Z>>2]=k[aa>>2];k[_>>2]=k[aa+4>>2];if(!Y)break;k[Y>>2]=k[aa+8>>2]}else W=1}if(W)if(1)b=0}else X=1}if(X)if(1)b=0}while(0);r=a;k[a+30728>>2]=6;k[a+30732>>2]=b|0;break a}else j=1;if(j)if(1)$=602}else m=1}if(m)if(1)$=602}while(0);if(($|0)==602){f=k[aa+176>>2]|0;k[aa+168>>2]=f;h=k[aa+180>>2]|0;k[aa+172>>2]=h}if(f>>>0>>0){f=f+1|0;k[aa+168>>2]=f;b=h}else if(!(k[aa+32>>2]|0))b=h;else{b=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!b){k[aa+32>>2]=0;i[aa+40>>0]=0;f=aa+41|0;b=aa+41|0}else{f=aa+41|0;b=aa+40+b|0}k[aa+172>>2]=b;k[aa+168>>2]=f}if(f>>>0>>0){e=f+1|0;k[aa+168>>2]=e;q=i[f>>0]|0;d=b;$=940}else if(!(k[aa+32>>2]|0)){s=f;t=b}else{b=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!b){k[aa+32>>2]=0;i[aa+40>>0]=0;e=aa+41|0;d=aa+41|0;b=0}else{e=aa+41|0;d=aa+40+b|0;b=i[aa+40>>0]|0}k[aa+172>>2]=d;k[aa+168>>2]=e;q=b;$=940}if(($|0)==940)if((q&255)>1){b=0;r=a;k[a+30728>>2]=6;k[a+30732>>2]=b|0;break a}else{s=e;t=d}if(s>>>0>>0){d=s+1|0;k[aa+168>>2]=d;e=i[s>>0]|0;b=t}else{if(!(k[aa+32>>2]|0)){b=0;r=a;k[a+30728>>2]=6;k[a+30732>>2]=b|0;break a}b=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!b){k[aa+32>>2]=0;i[aa+40>>0]=0;d=aa+41|0;b=aa+41|0;e=0}else{d=aa+41|0;b=aa+40+b|0;e=i[aa+40>>0]|0}k[aa+172>>2]=b;k[aa+168>>2]=d}switch(e<<24>>24){case 1:case 2:case 3:case 9:case 10:case 11:break;default:{b=0;r=a;k[a+30728>>2]=6;k[a+30732>>2]=b|0;break a}}if(d>>>0>>0){d=d+1|0;k[aa+168>>2]=d}else if(k[aa+32>>2]|0){b=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!b){k[aa+32>>2]=0;i[aa+40>>0]=0;d=aa+41|0;b=aa+41|0}else{d=aa+41|0;b=aa+40+b|0}k[aa+172>>2]=b;k[aa+168>>2]=d}if(d>>>0>>0){d=d+1|0;k[aa+168>>2]=d}else if(k[aa+32>>2]|0){b=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!b){k[aa+32>>2]=0;i[aa+40>>0]=0;d=aa+41|0;b=aa+41|0}else{d=aa+41|0;b=aa+40+b|0}k[aa+172>>2]=b;k[aa+168>>2]=d}if(d>>>0>>0){d=d+1|0;k[aa+168>>2]=d}else if(k[aa+32>>2]|0){b=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!b){k[aa+32>>2]=0;i[aa+40>>0]=0;d=aa+41|0;b=aa+41|0}else{d=aa+41|0;b=aa+40+b|0}k[aa+172>>2]=b;k[aa+168>>2]=d}if(d>>>0>>0){d=d+1|0;k[aa+168>>2]=d}else if(k[aa+32>>2]|0){b=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!b){k[aa+32>>2]=0;i[aa+40>>0]=0;d=aa+41|0;b=aa+41|0}else{d=aa+41|0;b=aa+40+b|0}k[aa+172>>2]=b;k[aa+168>>2]=d}if(d>>>0>>0){d=d+1|0;k[aa+168>>2]=d}else if(k[aa+32>>2]|0){b=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!b){k[aa+32>>2]=0;i[aa+40>>0]=0;d=aa+41|0;b=aa+41|0}else{d=aa+41|0;b=aa+40+b|0}k[aa+172>>2]=b;k[aa+168>>2]=d}if(d>>>0>>0){d=d+1|0;k[aa+168>>2]=d}else if(k[aa+32>>2]|0){b=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!b){k[aa+32>>2]=0;i[aa+40>>0]=0;d=aa+41|0;b=aa+41|0}else{d=aa+41|0;b=aa+40+b|0}k[aa+172>>2]=b;k[aa+168>>2]=d}if(d>>>0>>0){d=d+1|0;k[aa+168>>2]=d}else if(k[aa+32>>2]|0){b=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!b){k[aa+32>>2]=0;i[aa+40>>0]=0;d=aa+41|0;b=aa+41|0}else{d=aa+41|0;b=aa+40+b|0}k[aa+172>>2]=b;k[aa+168>>2]=d}if(d>>>0>>0){d=d+1|0;k[aa+168>>2]=d}else if(k[aa+32>>2]|0){b=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!b){k[aa+32>>2]=0;i[aa+40>>0]=0;d=aa+41|0;b=aa+41|0}else{d=aa+41|0;b=aa+40+b|0}k[aa+172>>2]=b;k[aa+168>>2]=d}if(d>>>0>>0){d=d+1|0;k[aa+168>>2]=d}else if(k[aa+32>>2]|0){b=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!b){k[aa+32>>2]=0;i[aa+40>>0]=0;d=aa+41|0;b=aa+41|0}else{d=aa+41|0;b=aa+40+b|0}k[aa+172>>2]=b;k[aa+168>>2]=d}if(d>>>0>>0){X=d+1|0;k[aa+168>>2]=X;e=i[d>>0]|0;d=X}else if(!(k[aa+32>>2]|0))e=0;else{b=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!b){k[aa+32>>2]=0;i[aa+40>>0]=0;d=aa+41|0;b=aa+41|0;e=0}else{d=aa+41|0;b=aa+40+b|0;e=i[aa+40>>0]|0}k[aa+172>>2]=b;k[aa+168>>2]=d}f=(e&255)<<8;if(d>>>0>>0){X=d+1|0;k[aa+168>>2]=X;e=i[d>>0]|0;d=X}else if(!(k[aa+32>>2]|0))e=0;else{b=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!b){k[aa+32>>2]=0;i[aa+40>>0]=0;d=aa+41|0;b=aa+41|0;e=0}else{d=aa+41|0;b=aa+40+b|0;e=i[aa+40>>0]|0}k[aa+172>>2]=b;k[aa+168>>2]=d}if(!(e&255|f)){b=0;r=a;k[a+30728>>2]=6;k[a+30732>>2]=b|0;break a}do if(d>>>0>>0){X=d+1|0;k[aa+168>>2]=X;e=i[d>>0]|0;d=X}else{if(!(k[aa+32>>2]|0)){e=0;break}b=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!b){k[aa+32>>2]=0;i[aa+40>>0]=0;d=aa+41|0;b=aa+41|0;e=0}else{d=aa+41|0;b=aa+40+b|0;e=i[aa+40>>0]|0}k[aa+172>>2]=b;k[aa+168>>2]=d}while(0);f=(e&255)<<8;do if(d>>>0>>0){X=d+1|0;k[aa+168>>2]=X;e=i[d>>0]|0;d=X}else{if(!(k[aa+32>>2]|0)){e=0;break}b=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!b){k[aa+32>>2]=0;i[aa+40>>0]=0;d=aa+41|0;b=aa+41|0;e=0}else{d=aa+41|0;b=aa+40+b|0;e=i[aa+40>>0]|0}k[aa+172>>2]=b;k[aa+168>>2]=d}while(0);if(!(e&255|f)){b=0;r=a;k[a+30728>>2]=6;k[a+30732>>2]=b|0;break a}do if(d>>>0>>0){k[aa+168>>2]=d+1;c=i[d>>0]|0;$=1049}else{if(!(k[aa+32>>2]|0))break;b=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!b){k[aa+32>>2]=0;i[aa+40>>0]=0;d=aa+41|0;b=aa+41|0;c=0}else{d=aa+41|0;b=aa+40+b|0;c=i[aa+40>>0]|0}k[aa+172>>2]=b;k[aa+168>>2]=d;$=1049}while(0);j:do if(($|0)==1049){switch(c<<24>>24){case 8:case 16:case 24:case 32:break;default:break j}b=k[aa+176>>2]|0;k[aa+168>>2]=b;c=k[aa+180>>2]|0;k[aa+172>>2]=c;do if(b>>>0>>0){k[aa+168>>2]=b+1;e=i[b>>0]|0;b=b+1|0}else{if(!(k[aa+32>>2]|0)){e=0;break}b=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!b){k[aa+32>>2]=0;i[aa+40>>0]=0;d=aa+41|0;c=aa+41|0;b=0}else{d=aa+41|0;c=aa+40+b|0;b=i[aa+40>>0]|0}k[aa+172>>2]=c;k[aa+168>>2]=d;e=b;b=d}while(0);y=e&255;do if(b>>>0>>0){X=b+1|0;k[aa+168>>2]=X;d=i[b>>0]|0;b=X}else{if(!(k[aa+32>>2]|0)){d=0;break}c=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!c){k[aa+32>>2]=0;i[aa+40>>0]=0;b=aa+41|0;c=aa+41|0;d=0}else{b=aa+41|0;c=aa+40+c|0;d=i[aa+40>>0]|0}k[aa+172>>2]=c;k[aa+168>>2]=b}while(0);do if(b>>>0>>0){X=b+1|0;k[aa+168>>2]=X;e=i[b>>0]|0;b=X}else{if(!(k[aa+32>>2]|0)){e=0;break}c=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!c){k[aa+32>>2]=0;i[aa+40>>0]=0;b=aa+41|0;c=aa+41|0;e=0}else{b=aa+41|0;c=aa+40+c|0;e=i[aa+40>>0]|0}k[aa+172>>2]=c;k[aa+168>>2]=b}while(0);n=e&255;do if(b>>>0>>0){X=b+1|0;k[aa+168>>2]=X;f=i[b>>0]|0;b=X}else{if(!(k[aa+32>>2]|0)){f=0;break}c=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!c){k[aa+32>>2]=0;i[aa+40>>0]=0;b=aa+41|0;c=aa+41|0;f=0}else{b=aa+41|0;c=aa+40+c|0;f=i[aa+40>>0]|0}k[aa+172>>2]=c;k[aa+168>>2]=b}while(0);g=f&255;do if(b>>>0>>0){X=b+1|0;k[aa+168>>2]=X;f=i[b>>0]|0;b=X}else{if(!(k[aa+32>>2]|0)){f=0;break}c=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!c){k[aa+32>>2]=0;i[aa+40>>0]=0;b=aa+41|0;c=aa+41|0;f=0}else{b=aa+41|0;c=aa+40+c|0;f=i[aa+40>>0]|0}k[aa+172>>2]=c;k[aa+168>>2]=b}while(0);w=(f&255)<<8|g;do if(b>>>0>>0){X=b+1|0;k[aa+168>>2]=X;f=i[b>>0]|0;b=X}else{if(!(k[aa+32>>2]|0)){f=0;break}c=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!c){k[aa+32>>2]=0;i[aa+40>>0]=0;b=aa+41|0;c=aa+41|0;f=0}else{b=aa+41|0;c=aa+40+c|0;f=i[aa+40>>0]|0}k[aa+172>>2]=c;k[aa+168>>2]=b}while(0);g=f&255;do if(b>>>0>>0){X=b+1|0;k[aa+168>>2]=X;f=i[b>>0]|0;b=X}else{if(!(k[aa+32>>2]|0)){f=0;break}c=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!c){k[aa+32>>2]=0;i[aa+40>>0]=0;b=aa+41|0;c=aa+41|0;f=0}else{b=aa+41|0;c=aa+40+c|0;f=i[aa+40>>0]|0}k[aa+172>>2]=c;k[aa+168>>2]=b}while(0);x=(f&255)<<8|g;do if(b>>>0>>0){X=b+1|0;k[aa+168>>2]=X;f=i[b>>0]|0;b=X}else{if(!(k[aa+32>>2]|0)){f=0;break}c=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!c){k[aa+32>>2]=0;i[aa+40>>0]=0;b=aa+41|0;c=aa+41|0;f=0}else{b=aa+41|0;c=aa+40+c|0;f=i[aa+40>>0]|0}k[aa+172>>2]=c;k[aa+168>>2]=b}while(0);m=f&255;do if(b>>>0>>0){b=b+1|0;k[aa+168>>2]=b}else{if(!(k[aa+32>>2]|0))break;c=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!c){k[aa+32>>2]=0;i[aa+40>>0]=0;b=aa+41|0;c=aa+41|0}else{b=aa+41|0;c=aa+40+c|0}k[aa+172>>2]=c;k[aa+168>>2]=b}while(0);do if(b>>>0>>0){b=b+1|0;k[aa+168>>2]=b}else{if(!(k[aa+32>>2]|0))break;c=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!c){k[aa+32>>2]=0;i[aa+40>>0]=0;b=aa+41|0;c=aa+41|0}else{b=aa+41|0;c=aa+40+c|0}k[aa+172>>2]=c;k[aa+168>>2]=b}while(0);do if(b>>>0>>0){b=b+1|0;k[aa+168>>2]=b}else{if(!(k[aa+32>>2]|0))break;c=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!c){k[aa+32>>2]=0;i[aa+40>>0]=0;b=aa+41|0;c=aa+41|0}else{b=aa+41|0;c=aa+40+c|0}k[aa+172>>2]=c;k[aa+168>>2]=b}while(0);do if(b>>>0>>0){b=b+1|0;k[aa+168>>2]=b}else{if(!(k[aa+32>>2]|0))break;c=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!c){k[aa+32>>2]=0;i[aa+40>>0]=0;b=aa+41|0;c=aa+41|0}else{b=aa+41|0;c=aa+40+c|0}k[aa+172>>2]=c;k[aa+168>>2]=b}while(0);do if(b>>>0>>0){X=b+1|0;k[aa+168>>2]=X;g=i[b>>0]|0;b=X}else{if(!(k[aa+32>>2]|0)){g=0;break}c=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!c){k[aa+32>>2]=0;i[aa+40>>0]=0;b=aa+41|0;c=aa+41|0;g=0}else{b=aa+41|0;c=aa+40+c|0;g=i[aa+40>>0]|0}k[aa+172>>2]=c;k[aa+168>>2]=b}while(0);h=g&255;do if(b>>>0>>0){X=b+1|0;k[aa+168>>2]=X;g=i[b>>0]|0;b=X}else{if(!(k[aa+32>>2]|0)){g=0;break}c=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!c){k[aa+32>>2]=0;i[aa+40>>0]=0;b=aa+41|0;c=aa+41|0;g=0}else{b=aa+41|0;c=aa+40+c|0;g=i[aa+40>>0]|0}k[aa+172>>2]=c;k[aa+168>>2]=b}while(0);v=(g&255)<<8|h;do if(b>>>0>>0){X=b+1|0;k[aa+168>>2]=X;g=i[b>>0]|0;b=X}else{if(!(k[aa+32>>2]|0)){g=0;break}c=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!c){k[aa+32>>2]=0;i[aa+40>>0]=0;b=aa+41|0;c=aa+41|0;g=0}else{b=aa+41|0;c=aa+40+c|0;g=i[aa+40>>0]|0}k[aa+172>>2]=c;k[aa+168>>2]=b}while(0);h=g&255;do if(b>>>0>>0){X=b+1|0;k[aa+168>>2]=X;g=i[b>>0]|0;b=X}else{if(!(k[aa+32>>2]|0)){g=0;break}c=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!c){k[aa+32>>2]=0;i[aa+40>>0]=0;b=aa+41|0;c=aa+41|0;g=0}else{b=aa+41|0;c=aa+40+c|0;g=i[aa+40>>0]|0}k[aa+172>>2]=c;k[aa+168>>2]=b}while(0);u=(g&255)<<8|h;do if(b>>>0>>0){X=b+1|0;k[aa+168>>2]=X;l=i[b>>0]|0;b=X}else{if(!(k[aa+32>>2]|0)){l=0;break}c=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!c){k[aa+32>>2]=0;i[aa+40>>0]=0;b=aa+41|0;c=aa+41|0;g=0}else{b=aa+41|0;c=aa+40+c|0;g=i[aa+40>>0]|0}k[aa+172>>2]=c;k[aa+168>>2]=b;l=g}while(0);q=(l&255)>>>3&255;do if(b>>>0>>0){g=b+1|0;k[aa+168>>2]=g;h=i[b>>0]|0}else{if(!(k[aa+32>>2]|0)){h=0;g=b;break}b=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!b){k[aa+32>>2]=0;i[aa+40>>0]=0;g=aa+41|0;c=aa+41|0;b=0}else{g=aa+41|0;c=aa+40+b|0;b=i[aa+40>>0]|0}k[aa+172>>2]=c;k[aa+168>>2]=g;h=b}while(0);j=g;o=(e&255)>7;p=(h&255)>>>5&1;k:do if(((o?n+-8|0:n)+-1|0)>>>0>2|((v|0)==0|(u|0)==0))b=0;else{switch(l<<24>>24){case 8:case 16:case 24:case 32:break;default:{b=0;break k}}n=d<<24>>24!=0;t=n?(f&255)>>>3&255:q;k[Z>>2]=v;k[_>>2]=u;if(Y|0)k[Y>>2]=t;s=ha(u,v)|0;b=hqb(ha(t,s)|0)|0;if(!b){b=0;break}do if(!(k[aa+16>>2]|0))$=1185;else{d=c-j|0;if((y|0)<=(d|0)){$=1185;break}k[aa+168>>2]=c;Di[k[aa+20>>2]&511](k[aa+28>>2]|0,y-d|0)}while(0);if(($|0)==1185)k[aa+168>>2]=g+y;do if(n|o){l:do if(n){do if(!(k[aa+16>>2]|0)){z=k[aa+168>>2]|0;$=1207}else{c=k[aa+172>>2]|0;d=k[aa+168>>2]|0;if((w|0)<=(c-d|0)){z=d;$=1207;break}k[aa+168>>2]=c;Di[k[aa+20>>2]&511](k[aa+28>>2]|0,w-(c-d)|0)}while(0);if(($|0)==1207)k[aa+168>>2]=z+w;f=(ha(m,x)|0)>>>3;g=hqb(f)|0;if(!g){iqb(b);b=0;break k}c=k[aa+16>>2]|0;do if(!c){E=k[aa+168>>2]|0;F=k[aa+172>>2]|0;$=1213}else{d=k[aa+172>>2]|0;e=k[aa+168>>2]|0;if((f|0)<=(d-e|0)){E=e;F=d;$=1213;break}ABb(g|0,e|0,d-e|0)|0;_=(Ri[c&255](k[aa+28>>2]|0,g+(d-e)|0,f-(d-e)|0)|0)==(f-(d-e)|0);k[aa+168>>2]=k[aa+172>>2];if(_){m=g;break l}}while(0);do if(($|0)==1213){c=E+f|0;if(c>>>0>F>>>0)break;ABb(g|0,E|0,f|0)|0;k[aa+168>>2]=c;m=g;break l}while(0);iqb(b);iqb(g);b=0;break k}else m=0;while(0);if(s|0){g=(((l&255)+-1|0)>>>3)+1|0;l=t>>>0>1?t:1;c=0;d=0;h=0;e=1;while(1){j=b+(ha(h,t)|0)|0;do if(o){if(c|0){if(!d){I=c;J=0;$=1231;break}if(!e){G=c;H=d;break}else{I=c;J=d;$=1231;break}}c=k[aa+168>>2]|0;do if(c>>>0<(k[aa+172>>2]|0)>>>0){k[aa+168>>2]=c+1;c=i[c>>0]|0}else{if(!(k[aa+32>>2]|0)){c=0;break}c=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!c){k[aa+32>>2]=0;i[aa+40>>0]=0;d=aa+41|0;c=0}else{d=aa+40+c|0;c=i[aa+40>>0]|0}k[aa+172>>2]=d;k[aa+168>>2]=aa+41}while(0);J=c&255;I=(J&127)+1|0;J=J>>>7;$=1231}else{I=c;J=d;$=1231}while(0);do if(($|0)==1231){$=0;c=k[aa+168>>2]|0;d=k[aa+172>>2]|0;if(n){do if(c>>>0>>0){k[aa+168>>2]=c+1;c=i[c>>0]|0}else{if(!(k[aa+32>>2]|0)){c=0;break}c=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!c){k[aa+32>>2]=0;i[aa+40>>0]=0;d=aa+41|0;c=0}else{d=aa+40+c|0;c=i[aa+40>>0]|0}k[aa+172>>2]=d;k[aa+168>>2]=aa+41}while(0);G=c&255;ABb(a+18320|0,m+(ha(G>>>0>=x>>>0?0:G,q)|0)|0,g|0)|0;G=I;H=J;break}else{f=0;do{do if(c>>>0>>0){_=c+1|0;k[aa+168>>2]=_;e=i[c>>0]|0;c=_}else{if(!(k[aa+32>>2]|0)){e=0;break}c=Ri[k[aa+16>>2]&255](k[aa+28>>2]|0,aa+40|0,k[aa+36>>2]|0)|0;if(!c){k[aa+32>>2]=0;i[aa+40>>0]=0;d=aa+41|0;c=0}else{d=aa+40+c|0;c=i[aa+40>>0]|0}k[aa+172>>2]=d;k[aa+168>>2]=aa+41;e=c;c=aa+41|0}while(0);i[a+18320+f>>0]=e;f=f+1|0}while((f|0)!=(g|0));G=I;H=J}}while(0);if(t|0)ABb(j|0,a+18320|0,l|0)|0;h=h+1|0;if((h|0)>=(s|0))break;else{c=G+-1|0;d=H;e=0}}}do if(!p){c=ha(t,v)|0;if(!c)break;d=((u>>>0>2?u:2)+-1|0)>>>1;h=0;while(1){e=c;f=ha(h,c)|0;g=ha(u+-1-h|0,c)|0;while(1){Z=b+f|0;_=i[Z>>0]|0;aa=b+g|0;i[Z>>0]=i[aa>>0]|0;i[aa>>0]=_;if((e|0)>1){e=e+-1|0;f=f+1|0;g=g+1|0}else break}if((h|0)==(d|0))break;else h=h+1|0}}while(0);if(!m)break;iqb(m)}else{h=ha(t,v)|0;if(!p){g=0;do{f=b+(ha(u+-1-g|0,h)|0)|0;c=k[aa+16>>2]|0;do if(!c){A=k[aa+168>>2]|0;B=k[aa+172>>2]|0;$=1192}else{d=k[aa+172>>2]|0;e=k[aa+168>>2]|0;if((h|0)<=(d-e|0)){A=e;B=d;$=1192;break}ABb(f|0,e|0,d-e|0)|0;Ri[c&255](k[aa+28>>2]|0,f+(d-e)|0,h-(d-e)|0)|0;k[aa+168>>2]=k[aa+172>>2]}while(0);do if(($|0)==1192){$=0;c=A+h|0;if(c>>>0>B>>>0)break;ABb(f|0,A|0,h|0)|0;k[aa+168>>2]=c}while(0);g=g+1|0}while((u|0)>(g|0))}else{g=0;do{f=b+(ha(g,h)|0)|0;c=k[aa+16>>2]|0;do if(!c){C=k[aa+168>>2]|0;D=k[aa+172>>2]|0;$=1199}else{d=k[aa+172>>2]|0;e=k[aa+168>>2]|0;if((h|0)<=(d-e|0)){C=e;D=d;$=1199;break}ABb(f|0,e|0,d-e|0)|0;Ri[c&255](k[aa+28>>2]|0,f+(d-e)|0,h-(d-e)|0)|0;k[aa+168>>2]=k[aa+172>>2]}while(0);do if(($|0)==1199){$=0;c=C+h|0;if(c>>>0>D>>>0)break;ABb(f|0,C|0,h|0)|0;k[aa+168>>2]=c}while(0);g=g+1|0}while((u|0)>(g|0))}}while(0);if(!((s|0)==0|t>>>0<3)){c=0;d=b;while(1){_=i[d>>0]|0;aa=d+2|0;i[d>>0]=i[aa>>0]|0;i[aa>>0]=_;c=c+1|0;if((c|0)>=(s|0))break;else d=d+t|0}}if((ba|0)==0|(t|0)==(ba|0))break;b=_ha(b,t,ba,v,u)|0}while(0);r=a;k[a+30728>>2]=6;k[a+30732>>2]=b|0;break a}while(0);k[aa+168>>2]=k[aa+176>>2];k[aa+172>>2]=k[aa+180>>2];b=0;r=a;k[a+30728>>2]=6;k[a+30732>>2]=b|0;break a}k[a+19464>>2]=b;k[a+30640>>2]=$}function Vsa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;c=k[a+19408>>2]|0;w=k[a+22944>>2]|0;b=k[a+26568>>2]|0;q=k[a+26824>>2]|0;x=k[a+30640>>2]|0;y=k[a+30672>>2]|0;a:{if(y){y=0;if(b){if(q){g=k[a+4+18152>>2]|0;h=(k[a+4+17820+(g*72|0)+28>>2]|0)+7>>3;m=(k[a+4+17820+(g*72|0)+32>>2]|0)+7>>3;b:do if((m|0)>0){p=0;while(1){if((h|0)>0){n=p<<3;o=0;do{v=k[a+4+17820+(g*72|0)+20>>2]|0;if(!(Tha(a+4|0,a+18320|0,a+4+4+((k[a+4+17820+(g*72|0)+16>>2]|0)*1680|0)|0,a+4+6724+(v*1680|0)|0,a+4+13700+(v<<10)|0,g,a+4+13444+(k[a+4+17820+(g*72|0)+12>>2]<<6)|0)|0)){b=0;break b}v=k[a+4+17820+(g*72|0)+36>>2]|0;u=(k[a+4+17820+(g*72|0)+44>>2]|0)+(ha(n,v)|0)+(o<<3)|0;kj[k[a+4+18176>>2]&255](u,v,a+18320|0);v=k[(a+4+18172|0)>>2]|0;k[(a+4+18172|0)>>2]=v+-1;if((v|0)<2){c:do if((k[(a+4+18112|0)>>2]|0)<24){d:while(1){do if(!(k[(a+4+18120|0)>>2]|0)){f=k[a+4>>2]|0;b=k[f+168>>2]|0;if(b>>>0<(k[f+172>>2]|0)>>>0){k[f+168>>2]=b+1;b=i[b>>0]|0}else{if(!(k[f+32>>2]|0)){b=0;break}b=Ri[k[f+16>>2]&255](k[f+28>>2]|0,f+40|0,k[f+36>>2]|0)|0;if(!b){k[f+32>>2]=0;i[f+40>>0]=0;e=f+41|0;d=f+41|0;b=0}else{e=f+41|0;d=f+40+b|0;b=i[f+40>>0]|0}k[f+172>>2]=d;k[f+168>>2]=e}if(b<<24>>24!=-1){b=b&255;break}f=k[a+4>>2]|0;b=k[f+168>>2]|0;if(b>>>0<(k[f+172>>2]|0)>>>0){k[f+168>>2]=b+1;b=i[b>>0]|0}else{if(!(k[f+32>>2]|0)){b=255;break}b=Ri[k[f+16>>2]&255](k[f+28>>2]|0,f+40|0,k[f+36>>2]|0)|0;if(!b){k[f+32>>2]=0;i[f+40>>0]=0;e=f+41|0;d=f+41|0;b=0}else{e=f+41|0;d=f+40+b|0;b=i[f+40>>0]|0}k[f+172>>2]=d;k[f+168>>2]=e}if(!(b<<24>>24))b=255;else break d}else b=0;while(0);v=k[(a+4+18112|0)>>2]|0;k[(a+4+18108|0)>>2]=b<<24-v|k[(a+4+18108|0)>>2];k[(a+4+18112|0)>>2]=v+8;if((v+8|0)>=25)break c}i[(a+4+18116|0)>>0]=b;k[(a+4+18120|0)>>2]=1}while(0);if((i[(a+4+18116|0)>>0]&-8)<<24>>24!=-48){b=1;break b}k[(a+4+18112|0)>>2]=0;k[(a+4+18108|0)>>2]=0;k[(a+4+18120|0)>>2]=0;k[(a+4+17988|0)>>2]=0;k[(a+4+17916|0)>>2]=0;k[(a+4+17844|0)>>2]=0;i[(a+4+18116|0)>>0]=-1;v=k[(a+4+18168|0)>>2]|0;k[(a+4+18172|0)>>2]=(v|0)==0?2147483647:v;k[(a+4+18144|0)>>2]=0}o=o+1|0}while((o|0)<(h|0))}p=p+1|0;if((p|0)>=(m|0)){b=1;break}}}else b=1;while(0)}else{b=k[a+4+17808>>2]|0;e:do if((b|0)>0){d=c;e=k[a+4+17804>>2]|0;n=0;while(1){if((e|0)>0){b=d;m=0;do{d=k[(a+4+18148|0)>>2]|0;if((d|0)>0){h=0;do{g=k[a+4+18152+(h<<2)>>2]|0;b=k[a+4+17820+(g*72|0)+8>>2]|0;if((b|0)>0){d=k[a+4+17820+(g*72|0)+4>>2]|0;f=0;do{if((d|0)>0){e=0;do{v=k[a+4+17820+(g*72|0)+20>>2]|0;if(!(Tha(a+4|0,a+18320|0,a+4+4+((k[a+4+17820+(g*72|0)+16>>2]|0)*1680|0)|0,a+4+6724+(v*1680|0)|0,a+4+13700+(v<<10)|0,g,a+4+13444+(k[a+4+17820+(g*72|0)+12>>2]<<6)|0)|0)){b=0;break e}v=(ha(b,n)|0)+f<<3;b=(ha(d,m)|0)+e<<3;d=k[a+4+17820+(g*72|0)+36>>2]|0;b=(k[a+4+17820+(g*72|0)+44>>2]|0)+(ha(v,d)|0)+b|0;kj[k[a+4+18176>>2]&255](b,d,a+18320|0);e=e+1|0;d=k[a+4+17820+(g*72|0)+4>>2]|0;b=k[a+4+17820+(g*72|0)+8>>2]|0}while((e|0)<(d|0))}f=f+1|0}while((f|0)<(b|0));d=k[(a+4+18148|0)>>2]|0}h=h+1|0}while((h|0)<(d|0));b=k[(a+4+18172|0)>>2]|0}d=b+-1|0;k[(a+4+18172|0)>>2]=d;if((b|0)<2){f:do if((k[(a+4+18112|0)>>2]|0)<24){g:while(1){do if(!(k[(a+4+18120|0)>>2]|0)){f=k[a+4>>2]|0;b=k[f+168>>2]|0;if(b>>>0<(k[f+172>>2]|0)>>>0){k[f+168>>2]=b+1;b=i[b>>0]|0}else{if(!(k[f+32>>2]|0)){b=0;break}b=Ri[k[f+16>>2]&255](k[f+28>>2]|0,f+40|0,k[f+36>>2]|0)|0;if(!b){k[f+32>>2]=0;i[f+40>>0]=0;e=f+41|0;d=f+41|0;b=0}else{e=f+41|0;d=f+40+b|0;b=i[f+40>>0]|0}k[f+172>>2]=d;k[f+168>>2]=e}if(b<<24>>24!=-1){b=b&255;break}f=k[a+4>>2]|0;b=k[f+168>>2]|0;if(b>>>0<(k[f+172>>2]|0)>>>0){k[f+168>>2]=b+1;b=i[b>>0]|0}else{if(!(k[f+32>>2]|0)){b=255;break}b=Ri[k[f+16>>2]&255](k[f+28>>2]|0,f+40|0,k[f+36>>2]|0)|0;if(!b){k[f+32>>2]=0;i[f+40>>0]=0;e=f+41|0;d=f+41|0;b=0}else{e=f+41|0;d=f+40+b|0;b=i[f+40>>0]|0}k[f+172>>2]=d;k[f+168>>2]=e}if(!(b<<24>>24))b=255;else break g}else b=0;while(0);v=k[(a+4+18112|0)>>2]|0;k[(a+4+18108|0)>>2]=b<<24-v|k[(a+4+18108|0)>>2];k[(a+4+18112|0)>>2]=v+8;if((v+8|0)>=25)break f}i[(a+4+18116|0)>>0]=b;k[(a+4+18120|0)>>2]=1}while(0);if((i[(a+4+18116|0)>>0]&-8)<<24>>24!=-48){b=1;break e}k[(a+4+18112|0)>>2]=0;k[(a+4+18108|0)>>2]=0;k[(a+4+18120|0)>>2]=0;k[(a+4+17988|0)>>2]=0;k[(a+4+17916|0)>>2]=0;k[(a+4+17844|0)>>2]=0;i[(a+4+18116|0)>>0]=-1;b=k[(a+4+18168|0)>>2]|0;b=(b|0)==0?2147483647:b;k[(a+4+18172|0)>>2]=b;k[(a+4+18144|0)>>2]=0}else b=d;m=m+1|0;e=k[a+4+17804>>2]|0}while((m|0)<(e|0));d=b;b=k[a+4+17808>>2]|0}n=n+1|0;if((n|0)>=(b|0)){b=1;break}}}else b=1;while(0)}if(!b){k[a+30736>>2]=2;k[a+30740>>2]=36;break a}else x=437}else y=1}if(y){y=0;if(1){if(!q){b=k[a+4+17808>>2]|0;if((b|0)<=0){x=437;k[a+30736>>2]=1;break a}d=k[a+4+17804>>2]|0;m=0;while(1){if((d|0)>0){h=0;do{b=k[(a+4+18148|0)>>2]|0;if((b|0)>0){g=0;do{f=k[a+4+18152+(g<<2)>>2]|0;c=k[a+4+17820+(f*72|0)+8>>2]|0;if((c|0)>0){b=k[a+4+17820+(f*72|0)+4>>2]|0;e=0;do{if((b|0)>0){d=0;do{u=(ha(b,h)|0)+d|0;v=(ha(c,m)|0)+e|0;v=(k[a+4+17820+(f*72|0)+60>>2]|0)+(u+(ha(k[a+4+17820+(f*72|0)+64>>2]|0,v)|0)<<6<<1)|0;d=d+1|0;if(!(Vha(a+4|0,v,a+4+4+((k[a+4+17820+(f*72|0)+16>>2]|0)*1680|0)|0,f)|0)){k[a+30736>>2]=2;k[a+30740>>2]=36;break a}b=k[a+4+17820+(f*72|0)+4>>2]|0;c=k[a+4+17820+(f*72|0)+8>>2]|0}while((d|0)<(b|0))}e=e+1|0}while((e|0)<(c|0));b=k[(a+4+18148|0)>>2]|0}g=g+1|0}while((g|0)<(b|0));c=k[(a+4+18172|0)>>2]|0}b=c+-1|0;k[(a+4+18172|0)>>2]=b;if((c|0)<2){h:do if((k[(a+4+18112|0)>>2]|0)<24){i:while(1){do if(!(k[(a+4+18120|0)>>2]|0)){e=k[a+4>>2]|0;b=k[e+168>>2]|0;if(b>>>0<(k[e+172>>2]|0)>>>0){k[e+168>>2]=b+1;b=i[b>>0]|0}else{if(!(k[e+32>>2]|0)){b=0;break}b=Ri[k[e+16>>2]&255](k[e+28>>2]|0,e+40|0,k[e+36>>2]|0)|0;if(!b){k[e+32>>2]=0;i[e+40>>0]=0;d=e+41|0;c=e+41|0;b=0}else{d=e+41|0;c=e+40+b|0;b=i[e+40>>0]|0}k[e+172>>2]=c;k[e+168>>2]=d}if(b<<24>>24!=-1){b=b&255;break}e=k[a+4>>2]|0;b=k[e+168>>2]|0;if(b>>>0<(k[e+172>>2]|0)>>>0){k[e+168>>2]=b+1;b=i[b>>0]|0}else{if(!(k[e+32>>2]|0)){b=255;break}b=Ri[k[e+16>>2]&255](k[e+28>>2]|0,e+40|0,k[e+36>>2]|0)|0;if(!b){k[e+32>>2]=0;i[e+40>>0]=0;d=e+41|0;c=e+41|0;b=0}else{d=e+41|0;c=e+40+b|0;b=i[e+40>>0]|0}k[e+172>>2]=c;k[e+168>>2]=d}if(!(b<<24>>24))b=255;else break i}else b=0;while(0);v=k[(a+4+18112|0)>>2]|0;k[(a+4+18108|0)>>2]=b<<24-v|k[(a+4+18108|0)>>2];k[(a+4+18112|0)>>2]=v+8;if((v+8|0)>=25)break h}i[(a+4+18116|0)>>0]=b;k[(a+4+18120|0)>>2]=1}while(0);b=i[(a+4+18116|0)>>0]|0;if((b&-8)<<24>>24!=-48){w=b;k[a+30736>>2]=2;k[a+30740>>2]=37;break a}k[(a+4+18112|0)>>2]=0;k[(a+4+18108|0)>>2]=0;k[(a+4+18120|0)>>2]=0;k[(a+4+17988|0)>>2]=0;k[(a+4+17916|0)>>2]=0;k[(a+4+17844|0)>>2]=0;i[(a+4+18116|0)>>0]=-1;c=k[(a+4+18168|0)>>2]|0;c=(c|0)==0?2147483647:c;k[(a+4+18172|0)>>2]=c;k[(a+4+18144|0)>>2]=0}else c=b;h=h+1|0;d=k[a+4+17804>>2]|0}while((h|0)<(d|0));b=k[a+4+17808>>2]|0}m=m+1|0;if((m|0)>=(b|0)){x=437;k[a+30736>>2]=2;k[a+30740>>2]=37;break a}}}r=k[a+4+18152>>2]|0;s=(k[a+4+17820+(r*72|0)+28>>2]|0)+7>>3;t=(k[a+4+17820+(r*72|0)+32>>2]|0)+7>>3;if((t|0)<=0){x=437;k[a+30736>>2]=1;break a}v=0;while(1){if((s|0)>0){u=0;do{q=(k[a+4+17820+(r*72|0)+60>>2]|0)+((ha(k[a+4+17820+(r*72|0)+64>>2]|0,v)|0)+u<<6<<1)|0;c=k[a+4+18128>>2]|0;j:do{b=1;if(b){b=0;if(!c){if(!(Vha(a+4|0,q,a+4+4+((k[a+4+17820+(r*72|0)+16>>2]|0)*1680|0)|0,r)|0)){k[a+30736>>2]=2;k[a+30740>>2]=36;break a}}else b=1}if(b)if(1){o=k[a+4+17820+(r*72|0)+20>>2]|0;p=k[a+4+18140>>2]|0;if(!(k[a+4+18136>>2]|0)){b=k[(a+4+18144|0)>>2]|0;if(!b)b=c;else{k[(a+4+18144|0)>>2]=b+-1;break}k:while(1){l:do if((k[(a+4+18112|0)>>2]|0)<16){m:while(1){do if(!(k[(a+4+18120|0)>>2]|0)){f=k[a+4>>2]|0;c=k[f+168>>2]|0;if(c>>>0<(k[f+172>>2]|0)>>>0){k[f+168>>2]=c+1;c=i[c>>0]|0}else{if(!(k[f+32>>2]|0)){c=0;break}c=Ri[k[f+16>>2]&255](k[f+28>>2]|0,f+40|0,k[f+36>>2]|0)|0;if(!c){k[f+32>>2]=0;i[f+40>>0]=0;e=f+41|0;d=f+41|0;c=0}else{e=f+41|0;d=f+40+c|0;c=i[f+40>>0]|0}k[f+172>>2]=d;k[f+168>>2]=e}if(c<<24>>24!=-1){c=c&255;break}f=k[a+4>>2]|0;c=k[f+168>>2]|0;if(c>>>0<(k[f+172>>2]|0)>>>0){k[f+168>>2]=c+1;c=i[c>>0]|0}else{if(!(k[f+32>>2]|0)){c=255;break}c=Ri[k[f+16>>2]&255](k[f+28>>2]|0,f+40|0,k[f+36>>2]|0)|0;if(!c){k[f+32>>2]=0;i[f+40>>0]=0;e=f+41|0;d=f+41|0;c=0}else{e=f+41|0;d=f+40+c|0;c=i[f+40>>0]|0}k[f+172>>2]=d;k[f+168>>2]=e}if(!(c<<24>>24))c=255;else break m}else c=0;while(0);n=k[(a+4+18112|0)>>2]|0;k[(a+4+18108|0)>>2]=c<<24-n|k[(a+4+18108|0)>>2];k[(a+4+18112|0)>>2]=n+8;if((n+8|0)>=25)break l}i[(a+4+18116|0)>>0]=c;k[(a+4+18120|0)>>2]=1}while(0);c=k[(a+4+18108|0)>>2]|0;d=j[a+4+13700+(o<<10)+(c>>>23<<1)>>1]|0;do if(!(d<<16>>16)){h=Uha(a+4|0,a+4+6724+(o*1680|0)|0)|0;if((h|0)<0){k[a+30736>>2]=2;k[a+30740>>2]=36;break a}if(!(h&15)){if((h>>4|0)<15)break k;b=b+16|0;break}f=(h>>4)+b|0;g=l[438472+f>>0]|0;b=k[(a+4+18112|0)>>2]|0;n:do if((b|0)<(h&15|0)){o:while(1){do if(!(k[(a+4+18120|0)>>2]|0)){e=k[a+4>>2]|0;b=k[e+168>>2]|0;if(b>>>0<(k[e+172>>2]|0)>>>0){k[e+168>>2]=b+1;b=i[b>>0]|0}else{if(!(k[e+32>>2]|0)){c=0;break}b=Ri[k[e+16>>2]&255](k[e+28>>2]|0,e+40|0,k[e+36>>2]|0)|0;if(!b){k[e+32>>2]=0;i[e+40>>0]=0;d=e+41|0;c=e+41|0;b=0}else{d=e+41|0;c=e+40+b|0;b=i[e+40>>0]|0}k[e+172>>2]=c;k[e+168>>2]=d}if(b<<24>>24!=-1){c=b&255;break}e=k[a+4>>2]|0;b=k[e+168>>2]|0;if(b>>>0<(k[e+172>>2]|0)>>>0){k[e+168>>2]=b+1;b=i[b>>0]|0}else{if(!(k[e+32>>2]|0)){c=255;break}b=Ri[k[e+16>>2]&255](k[e+28>>2]|0,e+40|0,k[e+36>>2]|0)|0;if(!b){k[e+32>>2]=0;i[e+40>>0]=0;d=e+41|0;c=e+41|0;b=0}else{d=e+41|0;c=e+40+b|0;b=i[e+40>>0]|0}k[e+172>>2]=c;k[e+168>>2]=d}if(!(b<<24>>24))c=255;else break o}else c=0;while(0);b=k[(a+4+18112|0)>>2]|0;k[(a+4+18108|0)>>2]=c<<24-b|k[(a+4+18108|0)>>2];k[(a+4+18112|0)>>2]=b+8;if((b+8|0)>=25){b=b+8|0;break n}}i[(a+4+18116|0)>>0]=b;k[(a+4+18120|0)>>2]=1;b=k[(a+4+18112|0)>>2]|0}while(0);m=k[(a+4+18108|0)>>2]|0;n=k[65624+((h&15)<<2)>>2]|0;k[(a+4+18108|0)>>2]=(m<<(h&15)|m>>>(32-(h&15)|0))&~n;k[(a+4+18112|0)>>2]=b-(h&15);j[q+(g<<1)>>1]=(k[24732+((h&15)<<2)>>2]&~(m>>31))+((m<<(h&15)|m>>>(32-(h&15)|0))&n)<>16>>>4&15)+b|0;k[(a+4+18108|0)>>2]=c<<(d&15);k[(a+4+18112|0)>>2]=(k[(a+4+18112|0)>>2]|0)-(d&15);j[q+(l[438472+b>>0]<<1)>>1]=d<<16>>16>>8<(k[(a+4+18132|0)>>2]|0))break j}k[(a+4+18144|0)>>2]=1<<(h>>4);if(!(h>>4))b=1<<(h>>4);else{b=k[(a+4+18112|0)>>2]|0;p:do if((b|0)<(h>>4|0)){q:while(1){do if(!(k[(a+4+18120|0)>>2]|0)){e=k[a+4>>2]|0;b=k[e+168>>2]|0;if(b>>>0<(k[e+172>>2]|0)>>>0){k[e+168>>2]=b+1;b=i[b>>0]|0}else{if(!(k[e+32>>2]|0)){c=0;break}b=Ri[k[e+16>>2]&255](k[e+28>>2]|0,e+40|0,k[e+36>>2]|0)|0;if(!b){k[e+32>>2]=0;i[e+40>>0]=0;d=e+41|0;c=e+41|0;b=0}else{d=e+41|0;c=e+40+b|0;b=i[e+40>>0]|0}k[e+172>>2]=c;k[e+168>>2]=d}if(b<<24>>24!=-1){c=b&255;break}e=k[a+4>>2]|0;b=k[e+168>>2]|0;if(b>>>0<(k[e+172>>2]|0)>>>0){k[e+168>>2]=b+1;b=i[b>>0]|0}else{if(!(k[e+32>>2]|0)){c=255;break}b=Ri[k[e+16>>2]&255](k[e+28>>2]|0,e+40|0,k[e+36>>2]|0)|0;if(!b){k[e+32>>2]=0;i[e+40>>0]=0;d=e+41|0;c=e+41|0;b=0}else{d=e+41|0;c=e+40+b|0;b=i[e+40>>0]|0}k[e+172>>2]=c;k[e+168>>2]=d}if(!(b<<24>>24))c=255;else break q}else c=0;while(0);b=k[(a+4+18112|0)>>2]|0;k[(a+4+18108|0)>>2]=c<<24-b|k[(a+4+18108|0)>>2];k[(a+4+18112|0)>>2]=b+8;if((b+8|0)>=25){b=b+8|0;break p}}i[(a+4+18116|0)>>0]=b;k[(a+4+18120|0)>>2]=1;b=k[(a+4+18112|0)>>2]|0}while(0);p=k[(a+4+18108|0)>>2]|0;q=k[65624+(h>>4<<2)>>2]|0;k[(a+4+18108|0)>>2]=(p<<(h>>4)|p>>>(32-(h>>4)|0))&~q;k[(a+4+18112|0)>>2]=b-(h>>4);b=(k[(a+4+18144|0)>>2]|0)+((p<<(h>>4)|p>>>(32-(h>>4)|0))&q)|0;k[(a+4+18144|0)>>2]=b}k[(a+4+18144|0)>>2]=b+-1;break}b=k[(a+4+18144|0)>>2]|0;if(b|0){k[(a+4+18144|0)>>2]=b+-1;if((c|0)>(k[(a+4+18132|0)>>2]|0))break;g=c;while(1){f=q+(l[438472+g>>0]<<1)|0;do if(j[f>>1]|0){b=k[(a+4+18112|0)>>2]|0;r:do if((b|0)<1){s:while(1){do if(!(k[(a+4+18120|0)>>2]|0)){e=k[a+4>>2]|0;b=k[e+168>>2]|0;if(b>>>0<(k[e+172>>2]|0)>>>0){k[e+168>>2]=b+1;b=i[b>>0]|0}else{if(!(k[e+32>>2]|0)){c=0;break}b=Ri[k[e+16>>2]&255](k[e+28>>2]|0,e+40|0,k[e+36>>2]|0)|0;if(!b){k[e+32>>2]=0;i[e+40>>0]=0;d=e+41|0;c=e+41|0;b=0}else{d=e+41|0;c=e+40+b|0;b=i[e+40>>0]|0}k[e+172>>2]=c;k[e+168>>2]=d}if(b<<24>>24!=-1){c=b&255;break}e=k[a+4>>2]|0;b=k[e+168>>2]|0;if(b>>>0<(k[e+172>>2]|0)>>>0){k[e+168>>2]=b+1;b=i[b>>0]|0}else{if(!(k[e+32>>2]|0)){c=255;break}b=Ri[k[e+16>>2]&255](k[e+28>>2]|0,e+40|0,k[e+36>>2]|0)|0;if(!b){k[e+32>>2]=0;i[e+40>>0]=0;d=e+41|0;c=e+41|0;b=0}else{d=e+41|0;c=e+40+b|0;b=i[e+40>>0]|0}k[e+172>>2]=c;k[e+168>>2]=d}if(!(b<<24>>24))c=255;else break s}else c=0;while(0);b=k[(a+4+18112|0)>>2]|0;k[(a+4+18108|0)>>2]=c<<24-b|k[(a+4+18108|0)>>2];k[(a+4+18112|0)>>2]=b+8;if((b+8|0)>=25){b=b+8|0;break r}}i[(a+4+18116|0)>>0]=b;k[(a+4+18120|0)>>2]=1;b=k[(a+4+18112|0)>>2]|0}while(0);o=k[(a+4+18108|0)>>2]|0;k[(a+4+18108|0)>>2]=o<<1;k[(a+4+18112|0)>>2]=b+-1;if((o|0)>-1)break;b=j[f>>1]|0;if(b<<16>>16&1<>16|0)break;if(b<<16>>16>0){j[f>>1]=(b<<16>>16)+(1<>16);break}else{j[f>>1]=(b<<16>>16)-(1<>16);break}}while(0);if((g|0)<(k[(a+4+18132|0)>>2]|0))g=g+1|0;else break j}}b=c;while(1){g=Uha(a+4|0,a+4+6724+(o*1680|0)|0)|0;if((g|0)<0){k[a+30736>>2]=2;k[a+30740>>2]=36;break a}t:do switch(g&15|0){case 0:{if((g>>4|0)>=15){d=g>>4;n=0;break t}k[(a+4+18144|0)>>2]=(1<<(g>>4))+-1;if(!(g>>4)){d=64;n=0;break t}c=k[(a+4+18112|0)>>2]|0;u:do if((c|0)<(g>>4|0)){v:while(1){do if(!(k[(a+4+18120|0)>>2]|0)){f=k[a+4>>2]|0;c=k[f+168>>2]|0;if(c>>>0<(k[f+172>>2]|0)>>>0){k[f+168>>2]=c+1;c=i[c>>0]|0}else{if(!(k[f+32>>2]|0)){d=0;break}c=Ri[k[f+16>>2]&255](k[f+28>>2]|0,f+40|0,k[f+36>>2]|0)|0;if(!c){k[f+32>>2]=0;i[f+40>>0]=0;e=f+41|0;d=f+41|0;c=0}else{e=f+41|0;d=f+40+c|0;c=i[f+40>>0]|0}k[f+172>>2]=d;k[f+168>>2]=e}if(c<<24>>24!=-1){d=c&255;break}f=k[a+4>>2]|0;c=k[f+168>>2]|0;if(c>>>0<(k[f+172>>2]|0)>>>0){k[f+168>>2]=c+1;c=i[c>>0]|0}else{if(!(k[f+32>>2]|0)){d=255;break}c=Ri[k[f+16>>2]&255](k[f+28>>2]|0,f+40|0,k[f+36>>2]|0)|0;if(!c){k[f+32>>2]=0;i[f+40>>0]=0;e=f+41|0;d=f+41|0;c=0}else{e=f+41|0;d=f+40+c|0;c=i[f+40>>0]|0}k[f+172>>2]=d;k[f+168>>2]=e}if(!(c<<24>>24))d=255;else break v}else d=0;while(0);c=k[(a+4+18112|0)>>2]|0;k[(a+4+18108|0)>>2]=d<<24-c|k[(a+4+18108|0)>>2];k[(a+4+18112|0)>>2]=c+8;if((c+8|0)>=25){c=c+8|0;break u}}i[(a+4+18116|0)>>0]=c;k[(a+4+18120|0)>>2]=1;c=k[(a+4+18112|0)>>2]|0}while(0);n=k[(a+4+18108|0)>>2]|0;d=k[65624+(g>>4<<2)>>2]|0;k[(a+4+18108|0)>>2]=(n<<(g>>4)|n>>>(32-(g>>4)|0))&~d;k[(a+4+18112|0)>>2]=c-(g>>4);k[(a+4+18144|0)>>2]=(k[(a+4+18144|0)>>2]|0)+((n<<(g>>4)|n>>>(32-(g>>4)|0))&d);d=64;n=0;break}case 1:{c=k[(a+4+18112|0)>>2]|0;w:do if((c|0)<1){x:while(1){do if(!(k[(a+4+18120|0)>>2]|0)){f=k[a+4>>2]|0;c=k[f+168>>2]|0;if(c>>>0<(k[f+172>>2]|0)>>>0){k[f+168>>2]=c+1;c=i[c>>0]|0}else{if(!(k[f+32>>2]|0)){d=0;break}c=Ri[k[f+16>>2]&255](k[f+28>>2]|0,f+40|0,k[f+36>>2]|0)|0;if(!c){k[f+32>>2]=0;i[f+40>>0]=0;e=f+41|0;d=f+41|0;c=0}else{e=f+41|0;d=f+40+c|0;c=i[f+40>>0]|0}k[f+172>>2]=d;k[f+168>>2]=e}if(c<<24>>24!=-1){d=c&255;break}f=k[a+4>>2]|0;c=k[f+168>>2]|0;if(c>>>0<(k[f+172>>2]|0)>>>0){k[f+168>>2]=c+1;c=i[c>>0]|0}else{if(!(k[f+32>>2]|0)){d=255;break}c=Ri[k[f+16>>2]&255](k[f+28>>2]|0,f+40|0,k[f+36>>2]|0)|0;if(!c){k[f+32>>2]=0;i[f+40>>0]=0;e=f+41|0;d=f+41|0;c=0}else{e=f+41|0;d=f+40+c|0;c=i[f+40>>0]|0}k[f+172>>2]=d;k[f+168>>2]=e}if(!(c<<24>>24))d=255;else break x}else d=0;while(0);c=k[(a+4+18112|0)>>2]|0;k[(a+4+18108|0)>>2]=d<<24-c|k[(a+4+18108|0)>>2];k[(a+4+18112|0)>>2]=c+8;if((c+8|0)>=25){c=c+8|0;break w}}i[(a+4+18116|0)>>0]=c;k[(a+4+18120|0)>>2]=1;c=k[(a+4+18112|0)>>2]|0}while(0);n=k[(a+4+18108|0)>>2]|0;k[(a+4+18108|0)>>2]=n<<1;k[(a+4+18112|0)>>2]=c+-1;d=g>>4;n=(n|0)>-1?0-(1<>16)|0:1<>16;break}default:{k[a+30736>>2]=2;k[a+30740>>2]=36;break a}}while(0);c=k[(a+4+18132|0)>>2]|0;y:do if((b|0)<=(c|0)){m=d;while(1){d=b;while(1){b=d+1|0;h=q+(l[438472+d>>0]<<1)|0;if(!(j[h>>1]|0))break;c=k[(a+4+18112|0)>>2]|0;z:do if((c|0)<1){A:while(1){do if(!(k[(a+4+18120|0)>>2]|0)){g=k[a+4>>2]|0;c=k[g+168>>2]|0;if(c>>>0<(k[g+172>>2]|0)>>>0){k[g+168>>2]=c+1;c=i[c>>0]|0}else{if(!(k[g+32>>2]|0)){e=0;break}c=Ri[k[g+16>>2]&255](k[g+28>>2]|0,g+40|0,k[g+36>>2]|0)|0;if(!c){k[g+32>>2]=0;i[g+40>>0]=0;f=g+41|0;e=g+41|0;c=0}else{f=g+41|0;e=g+40+c|0;c=i[g+40>>0]|0}k[g+172>>2]=e;k[g+168>>2]=f}if(c<<24>>24!=-1){e=c&255;break}g=k[a+4>>2]|0;c=k[g+168>>2]|0;if(c>>>0<(k[g+172>>2]|0)>>>0){k[g+168>>2]=c+1;c=i[c>>0]|0}else{if(!(k[g+32>>2]|0)){e=255;break}c=Ri[k[g+16>>2]&255](k[g+28>>2]|0,g+40|0,k[g+36>>2]|0)|0;if(!c){k[g+32>>2]=0;i[g+40>>0]=0;f=g+41|0;e=g+41|0;c=0}else{f=g+41|0;e=g+40+c|0;c=i[g+40>>0]|0}k[g+172>>2]=e;k[g+168>>2]=f}if(!(c<<24>>24))e=255;else break A}else e=0;while(0);c=k[(a+4+18112|0)>>2]|0;k[(a+4+18108|0)>>2]=e<<24-c|k[(a+4+18108|0)>>2];k[(a+4+18112|0)>>2]=c+8;if((c+8|0)>=25){c=c+8|0;break z}}i[(a+4+18116|0)>>0]=c;k[(a+4+18120|0)>>2]=1;c=k[(a+4+18112|0)>>2]|0}while(0);g=k[(a+4+18108|0)>>2]|0;k[(a+4+18108|0)>>2]=g<<1;k[(a+4+18112|0)>>2]=c+-1;do if((g|0)<=-1){c=j[h>>1]|0;if(c<<16>>16&1<>16|0)break;if(c<<16>>16>0){j[h>>1]=(c<<16>>16)+(1<>16);break}else{j[h>>1]=(c<<16>>16)-(1<>16);break}}while(0);c=k[(a+4+18132|0)>>2]|0;if((d|0)<(c|0))d=b;else break y}if(!m)break;if((d|0)<(c|0))m=m+-1|0;else break y}j[h>>1]=n}while(0);if((b|0)>(c|0))break j}}}while(0);q=k[(a+4+18172|0)>>2]|0;k[(a+4+18172|0)>>2]=q+-1;if((q|0)<2){B:do if((k[(a+4+18112|0)>>2]|0)<24){C:while(1){do if(!(k[(a+4+18120|0)>>2]|0)){e=k[a+4>>2]|0;b=k[e+168>>2]|0;if(b>>>0<(k[e+172>>2]|0)>>>0){k[e+168>>2]=b+1;b=i[b>>0]|0}else{if(!(k[e+32>>2]|0)){b=0;break}b=Ri[k[e+16>>2]&255](k[e+28>>2]|0,e+40|0,k[e+36>>2]|0)|0;if(!b){k[e+32>>2]=0;i[e+40>>0]=0;d=e+41|0;c=e+41|0;b=0}else{d=e+41|0;c=e+40+b|0;b=i[e+40>>0]|0}k[e+172>>2]=c;k[e+168>>2]=d}if(b<<24>>24!=-1){b=b&255;break}e=k[a+4>>2]|0;b=k[e+168>>2]|0;if(b>>>0<(k[e+172>>2]|0)>>>0){k[e+168>>2]=b+1;b=i[b>>0]|0}else{if(!(k[e+32>>2]|0)){b=255;break}b=Ri[k[e+16>>2]&255](k[e+28>>2]|0,e+40|0,k[e+36>>2]|0)|0;if(!b){k[e+32>>2]=0;i[e+40>>0]=0;d=e+41|0;c=e+41|0;b=0}else{d=e+41|0;c=e+40+b|0;b=i[e+40>>0]|0}k[e+172>>2]=c;k[e+168>>2]=d}if(!(b<<24>>24))b=255;else break C}else b=0;while(0);q=k[(a+4+18112|0)>>2]|0;k[(a+4+18108|0)>>2]=b<<24-q|k[(a+4+18108|0)>>2];k[(a+4+18112|0)>>2]=q+8;if((q+8|0)>=25)break B}i[(a+4+18116|0)>>0]=b;k[(a+4+18120|0)>>2]=1}while(0);b=i[(a+4+18116|0)>>0]|0;if((b&-8)<<24>>24!=-48){w=b;k[a+30736>>2]=2;k[a+30740>>2]=37;break a}k[(a+4+18112|0)>>2]=0;k[(a+4+18108|0)>>2]=0;k[(a+4+18120|0)>>2]=0;k[(a+4+17988|0)>>2]=0;k[(a+4+17916|0)>>2]=0;k[(a+4+17844|0)>>2]=0;i[(a+4+18116|0)>>0]=-1;q=k[(a+4+18168|0)>>2]|0;k[(a+4+18172|0)>>2]=(q|0)==0?2147483647:q;k[(a+4+18144|0)>>2]=0}u=u+1|0}while((u|0)<(s|0))}v=v+1|0;if((v|0)>=(t|0)){x=437;break}}}else y=1}}k[a+22944>>2]=w;k[a+30640>>2]=x;k[a+30672>>2]=y} +function K9a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;q=k[a+24>>2]|0;b=k[a+28>>2]|0;v=k[a+16>>2]|0;w=k[a+36>>2]|0;x=k[a+40>>2]|0;r=k[a+44>>2]|0;s=l[x+9>>0]|0;t=l[r+9>>0]|0;u=i[a+63>>0]|0;if(u<<24>>24==0|(b|0)==0)return;c=k[a+20>>2]|0;a=k[a>>2]|0;a:while(1){b=b+-1|0;switch(q&3|0){case 0:{p=(q+3|0)/4|0;o=a;a=4;break}case 3:{p=(q+3|0)/4|0;o=a;a=20;break}case 2:{p=(q+3|0)/4|0;o=a;a=36;break}case 1:{p=(q+3|0)/4|0;o=a;a=52;break}default:{a=68;break a}}while(1)if((a|0)==4){switch(s|0){case 1:{n=l[o>>0]|0;a=k[x+32>>2]|0;h=k[x+28>>2]|0;e=i[(k[124356+((h>>>16&255)<<2)>>2]|0)+((k[x+20>>2]&n)>>>(a>>>16&255))>>0]|0;d=i[(k[124356+((h>>>8&255)<<2)>>2]|0)+((k[x+16>>2]&n)>>>(a>>>8&255))>>0]|0;a=i[(k[124356+((h&255)<<2)>>2]|0)+((n&k[x+12>>2])>>>(a&255))>>0]|0;break}case 2:{n=m[o>>1]|0;a=k[x+32>>2]|0;h=k[x+28>>2]|0;e=i[(k[124356+((h>>>16&255)<<2)>>2]|0)+((k[x+20>>2]&n)>>>(a>>>16&255))>>0]|0;d=i[(k[124356+((h>>>8&255)<<2)>>2]|0)+((k[x+16>>2]&n)>>>(a>>>8&255))>>0]|0;a=i[(k[124356+((h&255)<<2)>>2]|0)+((n&k[x+12>>2])>>>(a&255))>>0]|0;break}case 3:{a=k[x+32>>2]|0;e=i[o+(a>>>19&31)>>0]|0;d=i[o+(a>>>11&31)>>0]|0;a=i[o+(a>>>3&31)>>0]|0;break}case 4:{n=k[o>>2]|0;a=k[x+32>>2]|0;h=k[x+28>>2]|0;e=i[(k[124356+((h>>>16&255)<<2)>>2]|0)+((k[x+20>>2]&n)>>>(a>>>16&255))>>0]|0;d=i[(k[124356+((h>>>8&255)<<2)>>2]|0)+((k[x+16>>2]&n)>>>(a>>>8&255))>>0]|0;a=i[(k[124356+((h&255)<<2)>>2]|0)+((k[x+12>>2]&n)>>>(a&255))>>0]|0;break}default:{e=0;d=0;a=0}}n=a&255;h=d&255;g=e&255;switch(t|0){case 1:{y=l[c>>0]|0;f=k[r+32>>2]|0;z=k[r+28>>2]|0;a=i[(k[124356+(z>>>24<<2)>>2]|0)+((k[r+24>>2]&y)>>>(f>>>24))>>0]|0;d=i[(k[124356+((z>>>16&255)<<2)>>2]|0)+((k[r+20>>2]&y)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((z>>>8&255)<<2)>>2]|0)+((k[r+16>>2]&y)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((z&255)<<2)>>2]|0)+((y&k[r+12>>2])>>>(f&255))>>0]|0;break}case 2:{z=m[c>>1]|0;f=k[r+32>>2]|0;y=k[r+28>>2]|0;a=i[(k[124356+(y>>>24<<2)>>2]|0)+((k[r+24>>2]&z)>>>(f>>>24))>>0]|0;d=i[(k[124356+((y>>>16&255)<<2)>>2]|0)+((k[r+20>>2]&z)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((y>>>8&255)<<2)>>2]|0)+((k[r+16>>2]&z)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((y&255)<<2)>>2]|0)+((z&k[r+12>>2])>>>(f&255))>>0]|0;break}case 3:{f=k[r+32>>2]|0;a=-1;d=i[c+(f>>>19&31)>>0]|0;e=i[c+(f>>>11&31)>>0]|0;f=i[c+(f>>>3&31)>>0]|0;break}case 4:{z=k[c>>2]|0;f=k[r+32>>2]|0;y=k[r+28>>2]|0;a=i[(k[124356+(y>>>24<<2)>>2]|0)+((k[r+24>>2]&z)>>>(f>>>24))>>0]|0;d=i[(k[124356+((y>>>16&255)<<2)>>2]|0)+((k[r+20>>2]&z)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((y>>>8&255)<<2)>>2]|0)+((k[r+16>>2]&z)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((y&255)<<2)>>2]|0)+((k[r+12>>2]&z)>>>(f&255))>>0]|0;break}default:{a=0;d=0;e=0;f=0}}f=f&255;e=e&255;z=d&255;d=a&255;f=(((ha(n-f|0,u&255)|0)>>>0)/255|0)+f|0;e=(((ha(h-e|0,u&255)|0)>>>0)/255|0)+e|0;a=(((ha(g-z|0,u&255)|0)>>>0)/255|0)+z|0;d=d+(u&255)-(((ha(d,u&255)|0)>>>0)/255|0)|0;switch(t|0){case 1:{y=k[r+28>>2]|0;z=k[r+32>>2]|0;i[c>>0]=e>>>(y>>>8&255)<<(z>>>8&255)|f>>>(y&255)<<(z&255)|a>>>(y>>>16&255)<<(z>>>16&255)|d>>>(y>>>24)<<(z>>>24);break}case 2:{y=k[r+28>>2]|0;z=k[r+32>>2]|0;j[c>>1]=e>>>(y>>>8&255)<<(z>>>8&255)|f>>>(y&255)<<(z&255)|a>>>(y>>>16&255)<<(z>>>16&255)|d>>>(y>>>24)<<(z>>>24);break}case 3:{i[c+((l[r+32>>0]|0)>>>3&255)>>0]=f;i[c+((l[r+33>>0]|0)>>>3&255)>>0]=e;i[c+((l[r+34>>0]|0)>>>3&255)>>0]=a;break}case 4:{y=k[r+28>>2]|0;z=k[r+32>>2]|0;k[c>>2]=e>>>(y>>>8&255)<<(z>>>8&255)|f>>>(y&255)<<(z&255)|a>>>(y>>>16&255)<<(z>>>16&255)|d>>>(y>>>24)<<(z>>>24);break}default:{}}c=c+t|0;o=o+s|0;a=20;continue}else if((a|0)==20){switch(s|0){case 1:{z=l[o>>0]|0;a=k[x+32>>2]|0;y=k[x+28>>2]|0;e=i[(k[124356+((y>>>16&255)<<2)>>2]|0)+((k[x+20>>2]&z)>>>(a>>>16&255))>>0]|0;d=i[(k[124356+((y>>>8&255)<<2)>>2]|0)+((k[x+16>>2]&z)>>>(a>>>8&255))>>0]|0;a=i[(k[124356+((y&255)<<2)>>2]|0)+((z&k[x+12>>2])>>>(a&255))>>0]|0;break}case 2:{z=m[o>>1]|0;a=k[x+32>>2]|0;y=k[x+28>>2]|0;e=i[(k[124356+((y>>>16&255)<<2)>>2]|0)+((k[x+20>>2]&z)>>>(a>>>16&255))>>0]|0;d=i[(k[124356+((y>>>8&255)<<2)>>2]|0)+((k[x+16>>2]&z)>>>(a>>>8&255))>>0]|0;a=i[(k[124356+((y&255)<<2)>>2]|0)+((z&k[x+12>>2])>>>(a&255))>>0]|0;break}case 3:{a=k[x+32>>2]|0;e=i[o+(a>>>19&31)>>0]|0;d=i[o+(a>>>11&31)>>0]|0;a=i[o+(a>>>3&31)>>0]|0;break}case 4:{z=k[o>>2]|0;a=k[x+32>>2]|0;y=k[x+28>>2]|0;e=i[(k[124356+((y>>>16&255)<<2)>>2]|0)+((k[x+20>>2]&z)>>>(a>>>16&255))>>0]|0;d=i[(k[124356+((y>>>8&255)<<2)>>2]|0)+((k[x+16>>2]&z)>>>(a>>>8&255))>>0]|0;a=i[(k[124356+((y&255)<<2)>>2]|0)+((k[x+12>>2]&z)>>>(a&255))>>0]|0;break}default:{e=0;d=0;a=0}}n=a&255;h=d&255;g=e&255;switch(t|0){case 1:{z=l[c>>0]|0;f=k[r+32>>2]|0;y=k[r+28>>2]|0;a=i[(k[124356+(y>>>24<<2)>>2]|0)+((k[r+24>>2]&z)>>>(f>>>24))>>0]|0;d=i[(k[124356+((y>>>16&255)<<2)>>2]|0)+((k[r+20>>2]&z)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((y>>>8&255)<<2)>>2]|0)+((k[r+16>>2]&z)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((y&255)<<2)>>2]|0)+((z&k[r+12>>2])>>>(f&255))>>0]|0;break}case 2:{z=m[c>>1]|0;f=k[r+32>>2]|0;y=k[r+28>>2]|0;a=i[(k[124356+(y>>>24<<2)>>2]|0)+((k[r+24>>2]&z)>>>(f>>>24))>>0]|0;d=i[(k[124356+((y>>>16&255)<<2)>>2]|0)+((k[r+20>>2]&z)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((y>>>8&255)<<2)>>2]|0)+((k[r+16>>2]&z)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((y&255)<<2)>>2]|0)+((z&k[r+12>>2])>>>(f&255))>>0]|0;break}case 3:{f=k[r+32>>2]|0;a=-1;d=i[c+(f>>>19&31)>>0]|0;e=i[c+(f>>>11&31)>>0]|0;f=i[c+(f>>>3&31)>>0]|0;break}case 4:{z=k[c>>2]|0;f=k[r+32>>2]|0;y=k[r+28>>2]|0;a=i[(k[124356+(y>>>24<<2)>>2]|0)+((k[r+24>>2]&z)>>>(f>>>24))>>0]|0;d=i[(k[124356+((y>>>16&255)<<2)>>2]|0)+((k[r+20>>2]&z)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((y>>>8&255)<<2)>>2]|0)+((k[r+16>>2]&z)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((y&255)<<2)>>2]|0)+((k[r+12>>2]&z)>>>(f&255))>>0]|0;break}default:{a=0;d=0;e=0;f=0}}f=f&255;e=e&255;z=d&255;d=a&255;f=(((ha(n-f|0,u&255)|0)>>>0)/255|0)+f|0;e=(((ha(h-e|0,u&255)|0)>>>0)/255|0)+e|0;a=(((ha(g-z|0,u&255)|0)>>>0)/255|0)+z|0;d=d+(u&255)-(((ha(d,u&255)|0)>>>0)/255|0)|0;switch(t|0){case 1:{y=k[r+28>>2]|0;z=k[r+32>>2]|0;i[c>>0]=e>>>(y>>>8&255)<<(z>>>8&255)|f>>>(y&255)<<(z&255)|a>>>(y>>>16&255)<<(z>>>16&255)|d>>>(y>>>24)<<(z>>>24);break}case 2:{y=k[r+28>>2]|0;z=k[r+32>>2]|0;j[c>>1]=e>>>(y>>>8&255)<<(z>>>8&255)|f>>>(y&255)<<(z&255)|a>>>(y>>>16&255)<<(z>>>16&255)|d>>>(y>>>24)<<(z>>>24);break}case 3:{i[c+((l[r+32>>0]|0)>>>3&255)>>0]=f;i[c+((l[r+33>>0]|0)>>>3&255)>>0]=e;i[c+((l[r+34>>0]|0)>>>3&255)>>0]=a;break}case 4:{y=k[r+28>>2]|0;z=k[r+32>>2]|0;k[c>>2]=e>>>(y>>>8&255)<<(z>>>8&255)|f>>>(y&255)<<(z&255)|a>>>(y>>>16&255)<<(z>>>16&255)|d>>>(y>>>24)<<(z>>>24);break}default:{}}c=c+t|0;o=o+s|0;a=36;continue}else if((a|0)==36){switch(s|0){case 1:{z=l[o>>0]|0;a=k[x+32>>2]|0;y=k[x+28>>2]|0;e=i[(k[124356+((y>>>16&255)<<2)>>2]|0)+((k[x+20>>2]&z)>>>(a>>>16&255))>>0]|0;d=i[(k[124356+((y>>>8&255)<<2)>>2]|0)+((k[x+16>>2]&z)>>>(a>>>8&255))>>0]|0;a=i[(k[124356+((y&255)<<2)>>2]|0)+((z&k[x+12>>2])>>>(a&255))>>0]|0;break}case 2:{z=m[o>>1]|0;a=k[x+32>>2]|0;y=k[x+28>>2]|0;e=i[(k[124356+((y>>>16&255)<<2)>>2]|0)+((k[x+20>>2]&z)>>>(a>>>16&255))>>0]|0;d=i[(k[124356+((y>>>8&255)<<2)>>2]|0)+((k[x+16>>2]&z)>>>(a>>>8&255))>>0]|0;a=i[(k[124356+((y&255)<<2)>>2]|0)+((z&k[x+12>>2])>>>(a&255))>>0]|0;break}case 3:{a=k[x+32>>2]|0;e=i[o+(a>>>19&31)>>0]|0;d=i[o+(a>>>11&31)>>0]|0;a=i[o+(a>>>3&31)>>0]|0;break}case 4:{z=k[o>>2]|0;a=k[x+32>>2]|0;y=k[x+28>>2]|0;e=i[(k[124356+((y>>>16&255)<<2)>>2]|0)+((k[x+20>>2]&z)>>>(a>>>16&255))>>0]|0;d=i[(k[124356+((y>>>8&255)<<2)>>2]|0)+((k[x+16>>2]&z)>>>(a>>>8&255))>>0]|0;a=i[(k[124356+((y&255)<<2)>>2]|0)+((k[x+12>>2]&z)>>>(a&255))>>0]|0;break}default:{e=0;d=0;a=0}}n=a&255;h=d&255;g=e&255;switch(t|0){case 1:{z=l[c>>0]|0;f=k[r+32>>2]|0;y=k[r+28>>2]|0;a=i[(k[124356+(y>>>24<<2)>>2]|0)+((k[r+24>>2]&z)>>>(f>>>24))>>0]|0;d=i[(k[124356+((y>>>16&255)<<2)>>2]|0)+((k[r+20>>2]&z)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((y>>>8&255)<<2)>>2]|0)+((k[r+16>>2]&z)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((y&255)<<2)>>2]|0)+((z&k[r+12>>2])>>>(f&255))>>0]|0;break}case 2:{z=m[c>>1]|0;f=k[r+32>>2]|0;y=k[r+28>>2]|0;a=i[(k[124356+(y>>>24<<2)>>2]|0)+((k[r+24>>2]&z)>>>(f>>>24))>>0]|0;d=i[(k[124356+((y>>>16&255)<<2)>>2]|0)+((k[r+20>>2]&z)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((y>>>8&255)<<2)>>2]|0)+((k[r+16>>2]&z)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((y&255)<<2)>>2]|0)+((z&k[r+12>>2])>>>(f&255))>>0]|0;break}case 3:{f=k[r+32>>2]|0;a=-1;d=i[c+(f>>>19&31)>>0]|0;e=i[c+(f>>>11&31)>>0]|0;f=i[c+(f>>>3&31)>>0]|0;break}case 4:{z=k[c>>2]|0;f=k[r+32>>2]|0;y=k[r+28>>2]|0;a=i[(k[124356+(y>>>24<<2)>>2]|0)+((k[r+24>>2]&z)>>>(f>>>24))>>0]|0;d=i[(k[124356+((y>>>16&255)<<2)>>2]|0)+((k[r+20>>2]&z)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((y>>>8&255)<<2)>>2]|0)+((k[r+16>>2]&z)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((y&255)<<2)>>2]|0)+((k[r+12>>2]&z)>>>(f&255))>>0]|0;break}default:{a=0;d=0;e=0;f=0}}f=f&255;e=e&255;z=d&255;d=a&255;f=(((ha(n-f|0,u&255)|0)>>>0)/255|0)+f|0;e=(((ha(h-e|0,u&255)|0)>>>0)/255|0)+e|0;a=(((ha(g-z|0,u&255)|0)>>>0)/255|0)+z|0;d=d+(u&255)-(((ha(d,u&255)|0)>>>0)/255|0)|0;switch(t|0){case 1:{y=k[r+28>>2]|0;z=k[r+32>>2]|0;i[c>>0]=e>>>(y>>>8&255)<<(z>>>8&255)|f>>>(y&255)<<(z&255)|a>>>(y>>>16&255)<<(z>>>16&255)|d>>>(y>>>24)<<(z>>>24);break}case 2:{y=k[r+28>>2]|0;z=k[r+32>>2]|0;j[c>>1]=e>>>(y>>>8&255)<<(z>>>8&255)|f>>>(y&255)<<(z&255)|a>>>(y>>>16&255)<<(z>>>16&255)|d>>>(y>>>24)<<(z>>>24);break}case 3:{i[c+((l[r+32>>0]|0)>>>3&255)>>0]=f;i[c+((l[r+33>>0]|0)>>>3&255)>>0]=e;i[c+((l[r+34>>0]|0)>>>3&255)>>0]=a;break}case 4:{y=k[r+28>>2]|0;z=k[r+32>>2]|0;k[c>>2]=e>>>(y>>>8&255)<<(z>>>8&255)|f>>>(y&255)<<(z&255)|a>>>(y>>>16&255)<<(z>>>16&255)|d>>>(y>>>24)<<(z>>>24);break}default:{}}c=c+t|0;o=o+s|0;a=52;continue}else if((a|0)==52){switch(s|0){case 1:{z=l[o>>0]|0;a=k[x+32>>2]|0;y=k[x+28>>2]|0;e=i[(k[124356+((y>>>16&255)<<2)>>2]|0)+((k[x+20>>2]&z)>>>(a>>>16&255))>>0]|0;d=i[(k[124356+((y>>>8&255)<<2)>>2]|0)+((k[x+16>>2]&z)>>>(a>>>8&255))>>0]|0;a=i[(k[124356+((y&255)<<2)>>2]|0)+((z&k[x+12>>2])>>>(a&255))>>0]|0;break}case 2:{z=m[o>>1]|0;a=k[x+32>>2]|0;y=k[x+28>>2]|0;e=i[(k[124356+((y>>>16&255)<<2)>>2]|0)+((k[x+20>>2]&z)>>>(a>>>16&255))>>0]|0;d=i[(k[124356+((y>>>8&255)<<2)>>2]|0)+((k[x+16>>2]&z)>>>(a>>>8&255))>>0]|0;a=i[(k[124356+((y&255)<<2)>>2]|0)+((z&k[x+12>>2])>>>(a&255))>>0]|0;break}case 3:{a=k[x+32>>2]|0;e=i[o+(a>>>19&31)>>0]|0;d=i[o+(a>>>11&31)>>0]|0;a=i[o+(a>>>3&31)>>0]|0;break}case 4:{z=k[o>>2]|0;a=k[x+32>>2]|0;y=k[x+28>>2]|0;e=i[(k[124356+((y>>>16&255)<<2)>>2]|0)+((k[x+20>>2]&z)>>>(a>>>16&255))>>0]|0;d=i[(k[124356+((y>>>8&255)<<2)>>2]|0)+((k[x+16>>2]&z)>>>(a>>>8&255))>>0]|0;a=i[(k[124356+((y&255)<<2)>>2]|0)+((k[x+12>>2]&z)>>>(a&255))>>0]|0;break}default:{e=0;d=0;a=0}}n=a&255;h=d&255;g=e&255;switch(t|0){case 1:{z=l[c>>0]|0;f=k[r+32>>2]|0;y=k[r+28>>2]|0;a=i[(k[124356+(y>>>24<<2)>>2]|0)+((k[r+24>>2]&z)>>>(f>>>24))>>0]|0;d=i[(k[124356+((y>>>16&255)<<2)>>2]|0)+((k[r+20>>2]&z)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((y>>>8&255)<<2)>>2]|0)+((k[r+16>>2]&z)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((y&255)<<2)>>2]|0)+((z&k[r+12>>2])>>>(f&255))>>0]|0;break}case 2:{z=m[c>>1]|0;f=k[r+32>>2]|0;y=k[r+28>>2]|0;a=i[(k[124356+(y>>>24<<2)>>2]|0)+((k[r+24>>2]&z)>>>(f>>>24))>>0]|0;d=i[(k[124356+((y>>>16&255)<<2)>>2]|0)+((k[r+20>>2]&z)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((y>>>8&255)<<2)>>2]|0)+((k[r+16>>2]&z)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((y&255)<<2)>>2]|0)+((z&k[r+12>>2])>>>(f&255))>>0]|0;break}case 3:{f=k[r+32>>2]|0;a=-1;d=i[c+(f>>>19&31)>>0]|0;e=i[c+(f>>>11&31)>>0]|0;f=i[c+(f>>>3&31)>>0]|0;break}case 4:{z=k[c>>2]|0;f=k[r+32>>2]|0;y=k[r+28>>2]|0;a=i[(k[124356+(y>>>24<<2)>>2]|0)+((k[r+24>>2]&z)>>>(f>>>24))>>0]|0;d=i[(k[124356+((y>>>16&255)<<2)>>2]|0)+((k[r+20>>2]&z)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((y>>>8&255)<<2)>>2]|0)+((k[r+16>>2]&z)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((y&255)<<2)>>2]|0)+((k[r+12>>2]&z)>>>(f&255))>>0]|0;break}default:{a=0;d=0;e=0;f=0}}f=f&255;e=e&255;z=d&255;d=a&255;f=(((ha(n-f|0,u&255)|0)>>>0)/255|0)+f|0;e=(((ha(h-e|0,u&255)|0)>>>0)/255|0)+e|0;a=(((ha(g-z|0,u&255)|0)>>>0)/255|0)+z|0;d=d+(u&255)-(((ha(d,u&255)|0)>>>0)/255|0)|0;switch(t|0){case 1:{y=k[r+28>>2]|0;z=k[r+32>>2]|0;i[c>>0]=e>>>(y>>>8&255)<<(z>>>8&255)|f>>>(y&255)<<(z&255)|a>>>(y>>>16&255)<<(z>>>16&255)|d>>>(y>>>24)<<(z>>>24);break}case 2:{y=k[r+28>>2]|0;z=k[r+32>>2]|0;j[c>>1]=e>>>(y>>>8&255)<<(z>>>8&255)|f>>>(y&255)<<(z&255)|a>>>(y>>>16&255)<<(z>>>16&255)|d>>>(y>>>24)<<(z>>>24);break}case 3:{i[c+((l[r+32>>0]|0)>>>3&255)>>0]=f;i[c+((l[r+33>>0]|0)>>>3&255)>>0]=e;i[c+((l[r+34>>0]|0)>>>3&255)>>0]=a;break}case 4:{y=k[r+28>>2]|0;z=k[r+32>>2]|0;k[c>>2]=e>>>(y>>>8&255)<<(z>>>8&255)|f>>>(y&255)<<(z&255)|a>>>(y>>>16&255)<<(z>>>16&255)|d>>>(y>>>24)<<(z>>>24);break}default:{}}a=o+s|0;c=c+t|0;if((p|0)>1){p=p+-1|0;o=a;a=4;continue}else break}if(!b){a=70;break}else{c=c+w|0;a=a+v|0}}if((a|0)!=68)if((a|0)==70)return}function L9a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,l=0,n=0,o=0;l=i[a+63>>0]|0;if(l<<24>>24==-128){I9a(a,-2082);return}o=k[a+24>>2]|0;b=k[a+28>>2]|0;d=k[a>>2]|0;n=k[a+16>>2]>>1;c=k[a+20>>2]|0;h=k[a+36>>2]>>1;if(!b)return;if(!(o&3)){e=b+-1|0;a=c;b=d;while(1){d=(o+3|0)/4|0;while(1){g=m[b>>1]|0;c=m[a>>1]|0;c=((ha(((g<<16|g)&132184095)-((c<<16|c)&132184095)|0,(l&255)>>>3)|0)>>>5)+((c<<16|c)&132184095)&132184095;g=a+2|0;j[a>>1]=c>>>16|c;c=m[b+2>>1]|0;f=m[g>>1]|0;f=((ha(((c<<16|c)&132184095)-((f<<16|f)&132184095)|0,(l&255)>>>3)|0)>>>5)+((f<<16|f)&132184095)&132184095;c=a+4|0;j[g>>1]=f>>>16|f;g=m[b+4>>1]|0;f=m[c>>1]|0;f=((ha(((g<<16|g)&132184095)-((f<<16|f)&132184095)|0,(l&255)>>>3)|0)>>>5)+((f<<16|f)&132184095)&132184095;g=a+6|0;j[c>>1]=f>>>16|f;c=b+8|0;b=m[b+6>>1]|0;f=m[g>>1]|0;f=((ha(((b<<16|b)&132184095)-((f<<16|f)&132184095)|0,(l&255)>>>3)|0)>>>5)+((f<<16|f)&132184095)&132184095;a=a+8|0;j[g>>1]=f>>>16|f;if((d|0)>1){d=d+-1|0;b=c}else break}if(!e)break;else{e=e+-1|0;a=a+(h<<1)|0;b=c+(n<<1)|0}}return}else{g=b+-1|0;a=c;b=d}a:while(1){switch(o&3|0){case 1:{e=(o+3|0)/4|0;d=b;f=12;break}case 3:{c=(o+3|0)/4|0;f=10;break}case 2:{c=(o+3|0)/4|0;f=11;break}default:{f=13;break a}}while(1)if((f|0)==10){d=m[b>>1]|0;e=m[a>>1]|0;e=((ha(((d<<16|d)&132184095)-((e<<16|e)&132184095)|0,(l&255)>>>3)|0)>>>5)+((e<<16|e)&132184095)&132184095;j[a>>1]=e>>>16|e;a=a+2|0;b=b+2|0;f=11;continue}else if((f|0)==11){d=m[b>>1]|0;e=m[a>>1]|0;e=((ha(((d<<16|d)&132184095)-((e<<16|e)&132184095)|0,(l&255)>>>3)|0)>>>5)+((e<<16|e)&132184095)&132184095;j[a>>1]=e>>>16|e;a=a+2|0;e=c;d=b+2|0;f=12;continue}else if((f|0)==12){c=d+2|0;b=m[d>>1]|0;f=m[a>>1]|0;f=((ha(((b<<16|b)&132184095)-((f<<16|f)&132184095)|0,(l&255)>>>3)|0)>>>5)+((f<<16|f)&132184095)&132184095;b=a+2|0;j[a>>1]=f>>>16|f;if((e|0)<=1)break;f=m[c>>1]|0;c=m[b>>1]|0;c=((ha(((f<<16|f)&132184095)-((c<<16|c)&132184095)|0,(l&255)>>>3)|0)>>>5)+((c<<16|c)&132184095)&132184095;j[b>>1]=c>>>16|c;a=a+4|0;c=e+-1|0;b=d+4|0;f=10;continue}if(!g){f=15;break}else{g=g+-1|0;a=b+(h<<1)|0;b=c+(n<<1)|0}}if((f|0)!=13)if((f|0)==15)return}function M9a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;j=k[a+24>>2]|0;b=k[a+28>>2]|0;s=k[a+16>>2]|0;t=k[a+36>>2]|0;u=k[a+48>>2]|0;n=k[a+40>>2]|0;o=l[n+9>>0]|0;p=k[a+56>>2]|0;q=l[a+63>>0]|0;if(!b)return;r=(k[a+44>>2]|0)+4|0;c=k[a+20>>2]|0;d=k[a>>2]|0;a:while(1){b=b+-1|0;switch(j&7|0){case 0:{a=c;h=(j+7|0)/8|0;e=4;break}case 7:{h=(j+7|0)/8|0;e=14;break}case 6:{h=(j+7|0)/8|0;e=24;break}case 5:{h=(j+7|0)/8|0;e=34;break}case 4:{h=(j+7|0)/8|0;e=44;break}case 3:{h=(j+7|0)/8|0;e=54;break}case 2:{h=(j+7|0)/8|0;e=64;break}case 1:{h=(j+7|0)/8|0;e=74;break}default:{e=84;break a}}while(1)if((e|0)==4){switch(o|0){case 1:{v=l[d>>0]|0;g=k[n+32>>2]|0;w=k[n+28>>2]|0;c=v;e=i[(k[124356+((w>>>16&255)<<2)>>2]|0)+((k[n+20>>2]&v)>>>(g>>>16&255))>>0]|0;f=i[(k[124356+((w>>>8&255)<<2)>>2]|0)+((k[n+16>>2]&v)>>>(g>>>8&255))>>0]|0;g=i[(k[124356+((w&255)<<2)>>2]|0)+((v&k[n+12>>2])>>>(g&255))>>0]|0;break}case 2:{w=m[d>>1]|0;g=k[n+32>>2]|0;v=k[n+28>>2]|0;c=w;e=i[(k[124356+((v>>>16&255)<<2)>>2]|0)+((k[n+20>>2]&w)>>>(g>>>16&255))>>0]|0;f=i[(k[124356+((v>>>8&255)<<2)>>2]|0)+((k[n+16>>2]&w)>>>(g>>>8&255))>>0]|0;g=i[(k[124356+((v&255)<<2)>>2]|0)+((w&k[n+12>>2])>>>(g&255))>>0]|0;break}case 3:{g=k[n+32>>2]|0;c=0;e=i[d+(g>>>19&31)>>0]|0;f=i[d+(g>>>11&31)>>0]|0;g=i[d+(g>>>3&31)>>0]|0;break}case 4:{w=k[d>>2]|0;g=k[n+32>>2]|0;v=k[n+28>>2]|0;c=w;e=i[(k[124356+((v>>>16&255)<<2)>>2]|0)+((k[n+20>>2]&w)>>>(g>>>16&255))>>0]|0;f=i[(k[124356+((v>>>8&255)<<2)>>2]|0)+((k[n+16>>2]&w)>>>(g>>>8&255))>>0]|0;g=i[(k[124356+((v&255)<<2)>>2]|0)+((k[n+12>>2]&w)>>>(g&255))>>0]|0;break}default:{c=0;e=0;f=0;g=0}}do if((c|0)!=(p|0)){c=l[a>>0]|0;x=k[(k[r>>2]|0)+4>>2]|0;w=l[x+(c<<2)>>0]|0;v=l[x+(c<<2)+1>>0]|0;c=l[x+(c<<2)+2>>0]|0;c=((((ha((f&255)-v|0,q)|0)>>>0)/255|0)+v|0)>>>3&28|(((ha((g&255)-w|0,q)|0)>>>0)/255|0)+w&224|((((ha((e&255)-c|0,q)|0)>>>0)/255|0)+c|0)>>>6&3;if(!u){i[a>>0]=c;break}else{i[a>>0]=i[u+c>>0]|0;break}}while(0);c=a+1|0;d=d+o|0;e=14;continue}else if((e|0)==14){switch(o|0){case 1:{x=l[d>>0]|0;g=k[n+32>>2]|0;w=k[n+28>>2]|0;a=x;e=i[(k[124356+((w>>>16&255)<<2)>>2]|0)+((k[n+20>>2]&x)>>>(g>>>16&255))>>0]|0;f=i[(k[124356+((w>>>8&255)<<2)>>2]|0)+((k[n+16>>2]&x)>>>(g>>>8&255))>>0]|0;g=i[(k[124356+((w&255)<<2)>>2]|0)+((x&k[n+12>>2])>>>(g&255))>>0]|0;break}case 2:{x=m[d>>1]|0;g=k[n+32>>2]|0;w=k[n+28>>2]|0;a=x;e=i[(k[124356+((w>>>16&255)<<2)>>2]|0)+((k[n+20>>2]&x)>>>(g>>>16&255))>>0]|0;f=i[(k[124356+((w>>>8&255)<<2)>>2]|0)+((k[n+16>>2]&x)>>>(g>>>8&255))>>0]|0;g=i[(k[124356+((w&255)<<2)>>2]|0)+((x&k[n+12>>2])>>>(g&255))>>0]|0;break}case 3:{g=k[n+32>>2]|0;a=0;e=i[d+(g>>>19&31)>>0]|0;f=i[d+(g>>>11&31)>>0]|0;g=i[d+(g>>>3&31)>>0]|0;break}case 4:{x=k[d>>2]|0;g=k[n+32>>2]|0;w=k[n+28>>2]|0;a=x;e=i[(k[124356+((w>>>16&255)<<2)>>2]|0)+((k[n+20>>2]&x)>>>(g>>>16&255))>>0]|0;f=i[(k[124356+((w>>>8&255)<<2)>>2]|0)+((k[n+16>>2]&x)>>>(g>>>8&255))>>0]|0;g=i[(k[124356+((w&255)<<2)>>2]|0)+((k[n+12>>2]&x)>>>(g&255))>>0]|0;break}default:{a=0;e=0;f=0;g=0}}do if((a|0)!=(p|0)){a=l[c>>0]|0;v=k[(k[r>>2]|0)+4>>2]|0;x=l[v+(a<<2)>>0]|0;w=l[v+(a<<2)+1>>0]|0;a=l[v+(a<<2)+2>>0]|0;a=((((ha((f&255)-w|0,q)|0)>>>0)/255|0)+w|0)>>>3&28|(((ha((g&255)-x|0,q)|0)>>>0)/255|0)+x&224|((((ha((e&255)-a|0,q)|0)>>>0)/255|0)+a|0)>>>6&3;if(!u){i[c>>0]=a;break}else{i[c>>0]=i[u+a>>0]|0;break}}while(0);c=c+1|0;d=d+o|0;e=24;continue}else if((e|0)==24){switch(o|0){case 1:{x=l[d>>0]|0;g=k[n+32>>2]|0;w=k[n+28>>2]|0;a=x;e=i[(k[124356+((w>>>16&255)<<2)>>2]|0)+((k[n+20>>2]&x)>>>(g>>>16&255))>>0]|0;f=i[(k[124356+((w>>>8&255)<<2)>>2]|0)+((k[n+16>>2]&x)>>>(g>>>8&255))>>0]|0;g=i[(k[124356+((w&255)<<2)>>2]|0)+((x&k[n+12>>2])>>>(g&255))>>0]|0;break}case 2:{x=m[d>>1]|0;g=k[n+32>>2]|0;w=k[n+28>>2]|0;a=x;e=i[(k[124356+((w>>>16&255)<<2)>>2]|0)+((k[n+20>>2]&x)>>>(g>>>16&255))>>0]|0;f=i[(k[124356+((w>>>8&255)<<2)>>2]|0)+((k[n+16>>2]&x)>>>(g>>>8&255))>>0]|0;g=i[(k[124356+((w&255)<<2)>>2]|0)+((x&k[n+12>>2])>>>(g&255))>>0]|0;break}case 3:{g=k[n+32>>2]|0;a=0;e=i[d+(g>>>19&31)>>0]|0;f=i[d+(g>>>11&31)>>0]|0;g=i[d+(g>>>3&31)>>0]|0;break}case 4:{x=k[d>>2]|0;g=k[n+32>>2]|0;w=k[n+28>>2]|0;a=x;e=i[(k[124356+((w>>>16&255)<<2)>>2]|0)+((k[n+20>>2]&x)>>>(g>>>16&255))>>0]|0;f=i[(k[124356+((w>>>8&255)<<2)>>2]|0)+((k[n+16>>2]&x)>>>(g>>>8&255))>>0]|0;g=i[(k[124356+((w&255)<<2)>>2]|0)+((k[n+12>>2]&x)>>>(g&255))>>0]|0;break}default:{a=0;e=0;f=0;g=0}}do if((a|0)!=(p|0)){a=l[c>>0]|0;v=k[(k[r>>2]|0)+4>>2]|0;x=l[v+(a<<2)>>0]|0;w=l[v+(a<<2)+1>>0]|0;a=l[v+(a<<2)+2>>0]|0;a=((((ha((f&255)-w|0,q)|0)>>>0)/255|0)+w|0)>>>3&28|(((ha((g&255)-x|0,q)|0)>>>0)/255|0)+x&224|((((ha((e&255)-a|0,q)|0)>>>0)/255|0)+a|0)>>>6&3;if(!u){i[c>>0]=a;break}else{i[c>>0]=i[u+a>>0]|0;break}}while(0);c=c+1|0;d=d+o|0;e=34;continue}else if((e|0)==34){switch(o|0){case 1:{x=l[d>>0]|0;g=k[n+32>>2]|0;w=k[n+28>>2]|0;a=x;e=i[(k[124356+((w>>>16&255)<<2)>>2]|0)+((k[n+20>>2]&x)>>>(g>>>16&255))>>0]|0;f=i[(k[124356+((w>>>8&255)<<2)>>2]|0)+((k[n+16>>2]&x)>>>(g>>>8&255))>>0]|0;g=i[(k[124356+((w&255)<<2)>>2]|0)+((x&k[n+12>>2])>>>(g&255))>>0]|0;break}case 2:{x=m[d>>1]|0;g=k[n+32>>2]|0;w=k[n+28>>2]|0;a=x;e=i[(k[124356+((w>>>16&255)<<2)>>2]|0)+((k[n+20>>2]&x)>>>(g>>>16&255))>>0]|0;f=i[(k[124356+((w>>>8&255)<<2)>>2]|0)+((k[n+16>>2]&x)>>>(g>>>8&255))>>0]|0;g=i[(k[124356+((w&255)<<2)>>2]|0)+((x&k[n+12>>2])>>>(g&255))>>0]|0;break}case 3:{g=k[n+32>>2]|0;a=0;e=i[d+(g>>>19&31)>>0]|0;f=i[d+(g>>>11&31)>>0]|0;g=i[d+(g>>>3&31)>>0]|0;break}case 4:{x=k[d>>2]|0;g=k[n+32>>2]|0;w=k[n+28>>2]|0;a=x;e=i[(k[124356+((w>>>16&255)<<2)>>2]|0)+((k[n+20>>2]&x)>>>(g>>>16&255))>>0]|0;f=i[(k[124356+((w>>>8&255)<<2)>>2]|0)+((k[n+16>>2]&x)>>>(g>>>8&255))>>0]|0;g=i[(k[124356+((w&255)<<2)>>2]|0)+((k[n+12>>2]&x)>>>(g&255))>>0]|0;break}default:{a=0;e=0;f=0;g=0}}do if((a|0)!=(p|0)){a=l[c>>0]|0;v=k[(k[r>>2]|0)+4>>2]|0;x=l[v+(a<<2)>>0]|0;w=l[v+(a<<2)+1>>0]|0;a=l[v+(a<<2)+2>>0]|0;a=((((ha((f&255)-w|0,q)|0)>>>0)/255|0)+w|0)>>>3&28|(((ha((g&255)-x|0,q)|0)>>>0)/255|0)+x&224|((((ha((e&255)-a|0,q)|0)>>>0)/255|0)+a|0)>>>6&3;if(!u){i[c>>0]=a;break}else{i[c>>0]=i[u+a>>0]|0;break}}while(0);c=c+1|0;d=d+o|0;e=44;continue}else if((e|0)==44){switch(o|0){case 1:{x=l[d>>0]|0;g=k[n+32>>2]|0;w=k[n+28>>2]|0;a=x;e=i[(k[124356+((w>>>16&255)<<2)>>2]|0)+((k[n+20>>2]&x)>>>(g>>>16&255))>>0]|0;f=i[(k[124356+((w>>>8&255)<<2)>>2]|0)+((k[n+16>>2]&x)>>>(g>>>8&255))>>0]|0;g=i[(k[124356+((w&255)<<2)>>2]|0)+((x&k[n+12>>2])>>>(g&255))>>0]|0;break}case 2:{x=m[d>>1]|0;g=k[n+32>>2]|0;w=k[n+28>>2]|0;a=x;e=i[(k[124356+((w>>>16&255)<<2)>>2]|0)+((k[n+20>>2]&x)>>>(g>>>16&255))>>0]|0;f=i[(k[124356+((w>>>8&255)<<2)>>2]|0)+((k[n+16>>2]&x)>>>(g>>>8&255))>>0]|0;g=i[(k[124356+((w&255)<<2)>>2]|0)+((x&k[n+12>>2])>>>(g&255))>>0]|0;break}case 3:{g=k[n+32>>2]|0;a=0;e=i[d+(g>>>19&31)>>0]|0;f=i[d+(g>>>11&31)>>0]|0;g=i[d+(g>>>3&31)>>0]|0;break}case 4:{x=k[d>>2]|0;g=k[n+32>>2]|0;w=k[n+28>>2]|0;a=x;e=i[(k[124356+((w>>>16&255)<<2)>>2]|0)+((k[n+20>>2]&x)>>>(g>>>16&255))>>0]|0;f=i[(k[124356+((w>>>8&255)<<2)>>2]|0)+((k[n+16>>2]&x)>>>(g>>>8&255))>>0]|0;g=i[(k[124356+((w&255)<<2)>>2]|0)+((k[n+12>>2]&x)>>>(g&255))>>0]|0;break}default:{a=0;e=0;f=0;g=0}}do if((a|0)!=(p|0)){a=l[c>>0]|0;v=k[(k[r>>2]|0)+4>>2]|0;x=l[v+(a<<2)>>0]|0;w=l[v+(a<<2)+1>>0]|0;a=l[v+(a<<2)+2>>0]|0;a=((((ha((f&255)-w|0,q)|0)>>>0)/255|0)+w|0)>>>3&28|(((ha((g&255)-x|0,q)|0)>>>0)/255|0)+x&224|((((ha((e&255)-a|0,q)|0)>>>0)/255|0)+a|0)>>>6&3;if(!u){i[c>>0]=a;break}else{i[c>>0]=i[u+a>>0]|0;break}}while(0);c=c+1|0;d=d+o|0;e=54;continue}else if((e|0)==54){switch(o|0){case 1:{x=l[d>>0]|0;g=k[n+32>>2]|0;w=k[n+28>>2]|0;a=x;e=i[(k[124356+((w>>>16&255)<<2)>>2]|0)+((k[n+20>>2]&x)>>>(g>>>16&255))>>0]|0;f=i[(k[124356+((w>>>8&255)<<2)>>2]|0)+((k[n+16>>2]&x)>>>(g>>>8&255))>>0]|0;g=i[(k[124356+((w&255)<<2)>>2]|0)+((x&k[n+12>>2])>>>(g&255))>>0]|0;break}case 2:{x=m[d>>1]|0;g=k[n+32>>2]|0;w=k[n+28>>2]|0;a=x;e=i[(k[124356+((w>>>16&255)<<2)>>2]|0)+((k[n+20>>2]&x)>>>(g>>>16&255))>>0]|0;f=i[(k[124356+((w>>>8&255)<<2)>>2]|0)+((k[n+16>>2]&x)>>>(g>>>8&255))>>0]|0;g=i[(k[124356+((w&255)<<2)>>2]|0)+((x&k[n+12>>2])>>>(g&255))>>0]|0;break}case 3:{g=k[n+32>>2]|0;a=0;e=i[d+(g>>>19&31)>>0]|0;f=i[d+(g>>>11&31)>>0]|0;g=i[d+(g>>>3&31)>>0]|0;break}case 4:{x=k[d>>2]|0;g=k[n+32>>2]|0;w=k[n+28>>2]|0;a=x;e=i[(k[124356+((w>>>16&255)<<2)>>2]|0)+((k[n+20>>2]&x)>>>(g>>>16&255))>>0]|0;f=i[(k[124356+((w>>>8&255)<<2)>>2]|0)+((k[n+16>>2]&x)>>>(g>>>8&255))>>0]|0;g=i[(k[124356+((w&255)<<2)>>2]|0)+((k[n+12>>2]&x)>>>(g&255))>>0]|0;break}default:{a=0;e=0;f=0;g=0}}do if((a|0)!=(p|0)){a=l[c>>0]|0;v=k[(k[r>>2]|0)+4>>2]|0;x=l[v+(a<<2)>>0]|0;w=l[v+(a<<2)+1>>0]|0;a=l[v+(a<<2)+2>>0]|0;a=((((ha((f&255)-w|0,q)|0)>>>0)/255|0)+w|0)>>>3&28|(((ha((g&255)-x|0,q)|0)>>>0)/255|0)+x&224|((((ha((e&255)-a|0,q)|0)>>>0)/255|0)+a|0)>>>6&3;if(!u){i[c>>0]=a;break}else{i[c>>0]=i[u+a>>0]|0;break}}while(0);c=c+1|0;d=d+o|0;e=64;continue}else if((e|0)==64){switch(o|0){case 1:{x=l[d>>0]|0;g=k[n+32>>2]|0;w=k[n+28>>2]|0;a=x;e=i[(k[124356+((w>>>16&255)<<2)>>2]|0)+((k[n+20>>2]&x)>>>(g>>>16&255))>>0]|0;f=i[(k[124356+((w>>>8&255)<<2)>>2]|0)+((k[n+16>>2]&x)>>>(g>>>8&255))>>0]|0;g=i[(k[124356+((w&255)<<2)>>2]|0)+((x&k[n+12>>2])>>>(g&255))>>0]|0;break}case 2:{x=m[d>>1]|0;g=k[n+32>>2]|0;w=k[n+28>>2]|0;a=x;e=i[(k[124356+((w>>>16&255)<<2)>>2]|0)+((k[n+20>>2]&x)>>>(g>>>16&255))>>0]|0;f=i[(k[124356+((w>>>8&255)<<2)>>2]|0)+((k[n+16>>2]&x)>>>(g>>>8&255))>>0]|0;g=i[(k[124356+((w&255)<<2)>>2]|0)+((x&k[n+12>>2])>>>(g&255))>>0]|0;break}case 3:{g=k[n+32>>2]|0;a=0;e=i[d+(g>>>19&31)>>0]|0;f=i[d+(g>>>11&31)>>0]|0;g=i[d+(g>>>3&31)>>0]|0;break}case 4:{x=k[d>>2]|0;g=k[n+32>>2]|0;w=k[n+28>>2]|0;a=x;e=i[(k[124356+((w>>>16&255)<<2)>>2]|0)+((k[n+20>>2]&x)>>>(g>>>16&255))>>0]|0;f=i[(k[124356+((w>>>8&255)<<2)>>2]|0)+((k[n+16>>2]&x)>>>(g>>>8&255))>>0]|0;g=i[(k[124356+((w&255)<<2)>>2]|0)+((k[n+12>>2]&x)>>>(g&255))>>0]|0;break}default:{a=0;e=0;f=0;g=0}}do if((a|0)!=(p|0)){a=l[c>>0]|0;v=k[(k[r>>2]|0)+4>>2]|0;x=l[v+(a<<2)>>0]|0;w=l[v+(a<<2)+1>>0]|0;a=l[v+(a<<2)+2>>0]|0;a=((((ha((f&255)-w|0,q)|0)>>>0)/255|0)+w|0)>>>3&28|(((ha((g&255)-x|0,q)|0)>>>0)/255|0)+x&224|((((ha((e&255)-a|0,q)|0)>>>0)/255|0)+a|0)>>>6&3;if(!u){i[c>>0]=a;break}else{i[c>>0]=i[u+a>>0]|0;break}}while(0);c=c+1|0;d=d+o|0;e=74;continue}else if((e|0)==74){switch(o|0){case 1:{x=l[d>>0]|0;g=k[n+32>>2]|0;w=k[n+28>>2]|0;a=x;e=i[(k[124356+((w>>>16&255)<<2)>>2]|0)+((k[n+20>>2]&x)>>>(g>>>16&255))>>0]|0;f=i[(k[124356+((w>>>8&255)<<2)>>2]|0)+((k[n+16>>2]&x)>>>(g>>>8&255))>>0]|0;g=i[(k[124356+((w&255)<<2)>>2]|0)+((x&k[n+12>>2])>>>(g&255))>>0]|0;break}case 2:{x=m[d>>1]|0;g=k[n+32>>2]|0;w=k[n+28>>2]|0;a=x;e=i[(k[124356+((w>>>16&255)<<2)>>2]|0)+((k[n+20>>2]&x)>>>(g>>>16&255))>>0]|0;f=i[(k[124356+((w>>>8&255)<<2)>>2]|0)+((k[n+16>>2]&x)>>>(g>>>8&255))>>0]|0;g=i[(k[124356+((w&255)<<2)>>2]|0)+((x&k[n+12>>2])>>>(g&255))>>0]|0;break}case 3:{g=k[n+32>>2]|0;a=0;e=i[d+(g>>>19&31)>>0]|0;f=i[d+(g>>>11&31)>>0]|0;g=i[d+(g>>>3&31)>>0]|0;break}case 4:{x=k[d>>2]|0;g=k[n+32>>2]|0;w=k[n+28>>2]|0;a=x;e=i[(k[124356+((w>>>16&255)<<2)>>2]|0)+((k[n+20>>2]&x)>>>(g>>>16&255))>>0]|0;f=i[(k[124356+((w>>>8&255)<<2)>>2]|0)+((k[n+16>>2]&x)>>>(g>>>8&255))>>0]|0;g=i[(k[124356+((w&255)<<2)>>2]|0)+((k[n+12>>2]&x)>>>(g&255))>>0]|0;break}default:{a=0;e=0;f=0;g=0}}do if((a|0)!=(p|0)){a=l[c>>0]|0;v=k[(k[r>>2]|0)+4>>2]|0;x=l[v+(a<<2)>>0]|0;w=l[v+(a<<2)+1>>0]|0;a=l[v+(a<<2)+2>>0]|0;a=((((ha((f&255)-w|0,q)|0)>>>0)/255|0)+w|0)>>>3&28|(((ha((g&255)-x|0,q)|0)>>>0)/255|0)+x&224|((((ha((e&255)-a|0,q)|0)>>>0)/255|0)+a|0)>>>6&3;if(!u){i[c>>0]=a;break}else{i[c>>0]=i[u+a>>0]|0;break}}while(0);a=c+1|0;d=d+o|0;if((h|0)>1){h=h+-1|0;e=4;continue}else break}if(!b){e=86;break}else{c=a+t|0;d=d+s|0}}if((e|0)!=84)if((e|0)==86)return}function N9a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;q=k[a+24>>2]|0;b=k[a+28>>2]|0;w=k[a+16>>2]|0;x=k[a+36>>2]|0;y=k[a+40>>2]|0;r=k[a+44>>2]|0;s=k[a+56>>2]|0;t=l[y+9>>0]|0;u=l[r+9>>0]|0;v=i[a+63>>0]|0;if(!b)return;c=k[a+20>>2]|0;a=k[a>>2]|0;a:while(1){b=b+-1|0;switch(q&3|0){case 0:{p=(q+3|0)/4|0;o=a;a=4;break}case 3:{p=(q+3|0)/4|0;o=a;a=21;break}case 2:{p=(q+3|0)/4|0;o=a;a=38;break}case 1:{p=(q+3|0)/4|0;o=a;a=55;break}default:{a=72;break a}}while(1)if((a|0)==4){switch(t|0){case 1:{a=l[o>>0]|0;break}case 2:{a=m[o>>1]|0;break}case 3:{a=(l[o+1>>0]|0)<<8|(l[o>>0]|0)|(l[o+2>>0]|0)<<16;break}case 4:{a=k[o>>2]|0;break}default:a=0}b:do if(!(v<<24>>24==0|(a|0)==(s|0))){n=k[y+32>>2]|0;f=k[y+28>>2]|0;g=l[(k[124356+((f&255)<<2)>>2]|0)+((k[y+12>>2]&a)>>>(n&255))>>0]|0;h=l[(k[124356+((f>>>8&255)<<2)>>2]|0)+((k[y+16>>2]&a)>>>(n>>>8&255))>>0]|0;n=l[(k[124356+((f>>>16&255)<<2)>>2]|0)+((k[y+20>>2]&a)>>>(n>>>16&255))>>0]|0;switch(u|0){case 1:{z=l[c>>0]|0;f=k[r+32>>2]|0;A=k[r+28>>2]|0;a=i[(k[124356+(A>>>24<<2)>>2]|0)+((k[r+24>>2]&z)>>>(f>>>24))>>0]|0;d=i[(k[124356+((A>>>16&255)<<2)>>2]|0)+((k[r+20>>2]&z)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((A>>>8&255)<<2)>>2]|0)+((k[r+16>>2]&z)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((A&255)<<2)>>2]|0)+((z&k[r+12>>2])>>>(f&255))>>0]|0;break}case 2:{A=m[c>>1]|0;f=k[r+32>>2]|0;z=k[r+28>>2]|0;a=i[(k[124356+(z>>>24<<2)>>2]|0)+((k[r+24>>2]&A)>>>(f>>>24))>>0]|0;d=i[(k[124356+((z>>>16&255)<<2)>>2]|0)+((k[r+20>>2]&A)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((z>>>8&255)<<2)>>2]|0)+((k[r+16>>2]&A)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((z&255)<<2)>>2]|0)+((A&k[r+12>>2])>>>(f&255))>>0]|0;break}case 3:{f=k[r+32>>2]|0;a=-1;d=i[c+(f>>>19&31)>>0]|0;e=i[c+(f>>>11&31)>>0]|0;f=i[c+(f>>>3&31)>>0]|0;break}case 4:{A=k[c>>2]|0;f=k[r+32>>2]|0;z=k[r+28>>2]|0;a=i[(k[124356+(z>>>24<<2)>>2]|0)+((k[r+24>>2]&A)>>>(f>>>24))>>0]|0;d=i[(k[124356+((z>>>16&255)<<2)>>2]|0)+((k[r+20>>2]&A)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((z>>>8&255)<<2)>>2]|0)+((k[r+16>>2]&A)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((z&255)<<2)>>2]|0)+((k[r+12>>2]&A)>>>(f&255))>>0]|0;break}default:{a=0;d=0;e=0;f=0}}f=f&255;e=e&255;A=d&255;d=a&255;f=(((ha(g-f|0,v&255)|0)>>>0)/255|0)+f|0;e=(((ha(h-e|0,v&255)|0)>>>0)/255|0)+e|0;a=(((ha(n-A|0,v&255)|0)>>>0)/255|0)+A|0;d=d+(v&255)-(((ha(d,v&255)|0)>>>0)/255|0)|0;switch(u|0){case 1:{z=k[r+28>>2]|0;A=k[r+32>>2]|0;i[c>>0]=e>>>(z>>>8&255)<<(A>>>8&255)|f>>>(z&255)<<(A&255)|a>>>(z>>>16&255)<<(A>>>16&255)|d>>>(z>>>24)<<(A>>>24);break b}case 2:{z=k[r+28>>2]|0;A=k[r+32>>2]|0;j[c>>1]=e>>>(z>>>8&255)<<(A>>>8&255)|f>>>(z&255)<<(A&255)|a>>>(z>>>16&255)<<(A>>>16&255)|d>>>(z>>>24)<<(A>>>24);break b}case 3:{i[c+((l[r+32>>0]|0)>>>3&255)>>0]=f;i[c+((l[r+33>>0]|0)>>>3&255)>>0]=e;i[c+((l[r+34>>0]|0)>>>3&255)>>0]=a;break b}case 4:{z=k[r+28>>2]|0;A=k[r+32>>2]|0;k[c>>2]=e>>>(z>>>8&255)<<(A>>>8&255)|f>>>(z&255)<<(A&255)|a>>>(z>>>16&255)<<(A>>>16&255)|d>>>(z>>>24)<<(A>>>24);break b}default:break b}}while(0);c=c+u|0;o=o+t|0;a=21;continue}else if((a|0)==21){switch(t|0){case 1:{a=l[o>>0]|0;break}case 2:{a=m[o>>1]|0;break}case 3:{a=(l[o+1>>0]|0)<<8|(l[o>>0]|0)|(l[o+2>>0]|0)<<16;break}case 4:{a=k[o>>2]|0;break}default:a=0}c:do if(!(v<<24>>24==0|(a|0)==(s|0))){n=k[y+32>>2]|0;A=k[y+28>>2]|0;g=l[(k[124356+((A&255)<<2)>>2]|0)+((k[y+12>>2]&a)>>>(n&255))>>0]|0;h=l[(k[124356+((A>>>8&255)<<2)>>2]|0)+((k[y+16>>2]&a)>>>(n>>>8&255))>>0]|0;n=l[(k[124356+((A>>>16&255)<<2)>>2]|0)+((k[y+20>>2]&a)>>>(n>>>16&255))>>0]|0;switch(u|0){case 1:{A=l[c>>0]|0;f=k[r+32>>2]|0;z=k[r+28>>2]|0;a=i[(k[124356+(z>>>24<<2)>>2]|0)+((k[r+24>>2]&A)>>>(f>>>24))>>0]|0;d=i[(k[124356+((z>>>16&255)<<2)>>2]|0)+((k[r+20>>2]&A)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((z>>>8&255)<<2)>>2]|0)+((k[r+16>>2]&A)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((z&255)<<2)>>2]|0)+((A&k[r+12>>2])>>>(f&255))>>0]|0;break}case 2:{A=m[c>>1]|0;f=k[r+32>>2]|0;z=k[r+28>>2]|0;a=i[(k[124356+(z>>>24<<2)>>2]|0)+((k[r+24>>2]&A)>>>(f>>>24))>>0]|0;d=i[(k[124356+((z>>>16&255)<<2)>>2]|0)+((k[r+20>>2]&A)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((z>>>8&255)<<2)>>2]|0)+((k[r+16>>2]&A)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((z&255)<<2)>>2]|0)+((A&k[r+12>>2])>>>(f&255))>>0]|0;break}case 3:{f=k[r+32>>2]|0;a=-1;d=i[c+(f>>>19&31)>>0]|0;e=i[c+(f>>>11&31)>>0]|0;f=i[c+(f>>>3&31)>>0]|0;break}case 4:{A=k[c>>2]|0;f=k[r+32>>2]|0;z=k[r+28>>2]|0;a=i[(k[124356+(z>>>24<<2)>>2]|0)+((k[r+24>>2]&A)>>>(f>>>24))>>0]|0;d=i[(k[124356+((z>>>16&255)<<2)>>2]|0)+((k[r+20>>2]&A)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((z>>>8&255)<<2)>>2]|0)+((k[r+16>>2]&A)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((z&255)<<2)>>2]|0)+((k[r+12>>2]&A)>>>(f&255))>>0]|0;break}default:{a=0;d=0;e=0;f=0}}f=f&255;e=e&255;A=d&255;d=a&255;f=(((ha(g-f|0,v&255)|0)>>>0)/255|0)+f|0;e=(((ha(h-e|0,v&255)|0)>>>0)/255|0)+e|0;a=(((ha(n-A|0,v&255)|0)>>>0)/255|0)+A|0;d=d+(v&255)-(((ha(d,v&255)|0)>>>0)/255|0)|0;switch(u|0){case 1:{z=k[r+28>>2]|0;A=k[r+32>>2]|0;i[c>>0]=e>>>(z>>>8&255)<<(A>>>8&255)|f>>>(z&255)<<(A&255)|a>>>(z>>>16&255)<<(A>>>16&255)|d>>>(z>>>24)<<(A>>>24);break c}case 2:{z=k[r+28>>2]|0;A=k[r+32>>2]|0;j[c>>1]=e>>>(z>>>8&255)<<(A>>>8&255)|f>>>(z&255)<<(A&255)|a>>>(z>>>16&255)<<(A>>>16&255)|d>>>(z>>>24)<<(A>>>24);break c}case 3:{i[c+((l[r+32>>0]|0)>>>3&255)>>0]=f;i[c+((l[r+33>>0]|0)>>>3&255)>>0]=e;i[c+((l[r+34>>0]|0)>>>3&255)>>0]=a;break c}case 4:{z=k[r+28>>2]|0;A=k[r+32>>2]|0;k[c>>2]=e>>>(z>>>8&255)<<(A>>>8&255)|f>>>(z&255)<<(A&255)|a>>>(z>>>16&255)<<(A>>>16&255)|d>>>(z>>>24)<<(A>>>24);break c}default:break c}}while(0);c=c+u|0;o=o+t|0;a=38;continue}else if((a|0)==38){switch(t|0){case 1:{a=l[o>>0]|0;break}case 2:{a=m[o>>1]|0;break}case 3:{a=(l[o+1>>0]|0)<<8|(l[o>>0]|0)|(l[o+2>>0]|0)<<16;break}case 4:{a=k[o>>2]|0;break}default:a=0}d:do if(!(v<<24>>24==0|(a|0)==(s|0))){n=k[y+32>>2]|0;A=k[y+28>>2]|0;g=l[(k[124356+((A&255)<<2)>>2]|0)+((k[y+12>>2]&a)>>>(n&255))>>0]|0;h=l[(k[124356+((A>>>8&255)<<2)>>2]|0)+((k[y+16>>2]&a)>>>(n>>>8&255))>>0]|0;n=l[(k[124356+((A>>>16&255)<<2)>>2]|0)+((k[y+20>>2]&a)>>>(n>>>16&255))>>0]|0;switch(u|0){case 1:{A=l[c>>0]|0;f=k[r+32>>2]|0;z=k[r+28>>2]|0;a=i[(k[124356+(z>>>24<<2)>>2]|0)+((k[r+24>>2]&A)>>>(f>>>24))>>0]|0;d=i[(k[124356+((z>>>16&255)<<2)>>2]|0)+((k[r+20>>2]&A)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((z>>>8&255)<<2)>>2]|0)+((k[r+16>>2]&A)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((z&255)<<2)>>2]|0)+((A&k[r+12>>2])>>>(f&255))>>0]|0;break}case 2:{A=m[c>>1]|0;f=k[r+32>>2]|0;z=k[r+28>>2]|0;a=i[(k[124356+(z>>>24<<2)>>2]|0)+((k[r+24>>2]&A)>>>(f>>>24))>>0]|0;d=i[(k[124356+((z>>>16&255)<<2)>>2]|0)+((k[r+20>>2]&A)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((z>>>8&255)<<2)>>2]|0)+((k[r+16>>2]&A)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((z&255)<<2)>>2]|0)+((A&k[r+12>>2])>>>(f&255))>>0]|0;break}case 3:{f=k[r+32>>2]|0;a=-1;d=i[c+(f>>>19&31)>>0]|0;e=i[c+(f>>>11&31)>>0]|0;f=i[c+(f>>>3&31)>>0]|0;break}case 4:{A=k[c>>2]|0;f=k[r+32>>2]|0;z=k[r+28>>2]|0;a=i[(k[124356+(z>>>24<<2)>>2]|0)+((k[r+24>>2]&A)>>>(f>>>24))>>0]|0;d=i[(k[124356+((z>>>16&255)<<2)>>2]|0)+((k[r+20>>2]&A)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((z>>>8&255)<<2)>>2]|0)+((k[r+16>>2]&A)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((z&255)<<2)>>2]|0)+((k[r+12>>2]&A)>>>(f&255))>>0]|0;break}default:{a=0;d=0;e=0;f=0}}f=f&255;e=e&255;A=d&255;d=a&255;f=(((ha(g-f|0,v&255)|0)>>>0)/255|0)+f|0;e=(((ha(h-e|0,v&255)|0)>>>0)/255|0)+e|0;a=(((ha(n-A|0,v&255)|0)>>>0)/255|0)+A|0;d=d+(v&255)-(((ha(d,v&255)|0)>>>0)/255|0)|0;switch(u|0){case 1:{z=k[r+28>>2]|0;A=k[r+32>>2]|0;i[c>>0]=e>>>(z>>>8&255)<<(A>>>8&255)|f>>>(z&255)<<(A&255)|a>>>(z>>>16&255)<<(A>>>16&255)|d>>>(z>>>24)<<(A>>>24);break d}case 2:{z=k[r+28>>2]|0;A=k[r+32>>2]|0;j[c>>1]=e>>>(z>>>8&255)<<(A>>>8&255)|f>>>(z&255)<<(A&255)|a>>>(z>>>16&255)<<(A>>>16&255)|d>>>(z>>>24)<<(A>>>24);break d}case 3:{i[c+((l[r+32>>0]|0)>>>3&255)>>0]=f;i[c+((l[r+33>>0]|0)>>>3&255)>>0]=e;i[c+((l[r+34>>0]|0)>>>3&255)>>0]=a;break d}case 4:{z=k[r+28>>2]|0;A=k[r+32>>2]|0;k[c>>2]=e>>>(z>>>8&255)<<(A>>>8&255)|f>>>(z&255)<<(A&255)|a>>>(z>>>16&255)<<(A>>>16&255)|d>>>(z>>>24)<<(A>>>24);break d}default:break d}}while(0);c=c+u|0;o=o+t|0;a=55;continue}else if((a|0)==55){switch(t|0){case 1:{a=l[o>>0]|0;break}case 2:{a=m[o>>1]|0;break}case 3:{a=(l[o+1>>0]|0)<<8|(l[o>>0]|0)|(l[o+2>>0]|0)<<16;break}case 4:{a=k[o>>2]|0;break}default:a=0}e:do if(!(v<<24>>24==0|(a|0)==(s|0))){h=k[y+32>>2]|0;A=k[y+28>>2]|0;g=l[(k[124356+((A&255)<<2)>>2]|0)+((k[y+12>>2]&a)>>>(h&255))>>0]|0;n=l[(k[124356+((A>>>8&255)<<2)>>2]|0)+((k[y+16>>2]&a)>>>(h>>>8&255))>>0]|0;h=l[(k[124356+((A>>>16&255)<<2)>>2]|0)+((k[y+20>>2]&a)>>>(h>>>16&255))>>0]|0;switch(u|0){case 1:{A=l[c>>0]|0;f=k[r+32>>2]|0;z=k[r+28>>2]|0;a=i[(k[124356+(z>>>24<<2)>>2]|0)+((k[r+24>>2]&A)>>>(f>>>24))>>0]|0;d=i[(k[124356+((z>>>16&255)<<2)>>2]|0)+((k[r+20>>2]&A)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((z>>>8&255)<<2)>>2]|0)+((k[r+16>>2]&A)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((z&255)<<2)>>2]|0)+((A&k[r+12>>2])>>>(f&255))>>0]|0;break}case 2:{A=m[c>>1]|0;f=k[r+32>>2]|0;z=k[r+28>>2]|0;a=i[(k[124356+(z>>>24<<2)>>2]|0)+((k[r+24>>2]&A)>>>(f>>>24))>>0]|0;d=i[(k[124356+((z>>>16&255)<<2)>>2]|0)+((k[r+20>>2]&A)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((z>>>8&255)<<2)>>2]|0)+((k[r+16>>2]&A)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((z&255)<<2)>>2]|0)+((A&k[r+12>>2])>>>(f&255))>>0]|0;break}case 3:{f=k[r+32>>2]|0;a=-1;d=i[c+(f>>>19&31)>>0]|0;e=i[c+(f>>>11&31)>>0]|0;f=i[c+(f>>>3&31)>>0]|0;break}case 4:{A=k[c>>2]|0;f=k[r+32>>2]|0;z=k[r+28>>2]|0;a=i[(k[124356+(z>>>24<<2)>>2]|0)+((k[r+24>>2]&A)>>>(f>>>24))>>0]|0;d=i[(k[124356+((z>>>16&255)<<2)>>2]|0)+((k[r+20>>2]&A)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((z>>>8&255)<<2)>>2]|0)+((k[r+16>>2]&A)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((z&255)<<2)>>2]|0)+((k[r+12>>2]&A)>>>(f&255))>>0]|0;break}default:{a=0;d=0;e=0;f=0}}f=f&255;e=e&255;A=d&255;d=a&255;f=(((ha(g-f|0,v&255)|0)>>>0)/255|0)+f|0;e=(((ha(n-e|0,v&255)|0)>>>0)/255|0)+e|0;a=(((ha(h-A|0,v&255)|0)>>>0)/255|0)+A|0;d=d+(v&255)-(((ha(d,v&255)|0)>>>0)/255|0)|0;switch(u|0){case 1:{z=k[r+28>>2]|0;A=k[r+32>>2]|0;i[c>>0]=e>>>(z>>>8&255)<<(A>>>8&255)|f>>>(z&255)<<(A&255)|a>>>(z>>>16&255)<<(A>>>16&255)|d>>>(z>>>24)<<(A>>>24);break e}case 2:{z=k[r+28>>2]|0;A=k[r+32>>2]|0;j[c>>1]=e>>>(z>>>8&255)<<(A>>>8&255)|f>>>(z&255)<<(A&255)|a>>>(z>>>16&255)<<(A>>>16&255)|d>>>(z>>>24)<<(A>>>24);break e}case 3:{i[c+((l[r+32>>0]|0)>>>3&255)>>0]=f;i[c+((l[r+33>>0]|0)>>>3&255)>>0]=e;i[c+((l[r+34>>0]|0)>>>3&255)>>0]=a;break e}case 4:{z=k[r+28>>2]|0;A=k[r+32>>2]|0;k[c>>2]=e>>>(z>>>8&255)<<(A>>>8&255)|f>>>(z&255)<<(A&255)|a>>>(z>>>16&255)<<(A>>>16&255)|d>>>(z>>>24)<<(A>>>24);break e}default:break e}}while(0);a=o+t|0;c=c+u|0;if((p|0)>1){p=p+-1|0;o=a;a=4;continue}else break}if(!b){a=74;break}else{c=c+x|0;a=a+w|0}}if((a|0)!=72)if((a|0)==74)return}function O9a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;j=k[a+24>>2]|0;b=k[a+28>>2]|0;q=k[a+16>>2]|0;r=k[a+36>>2]|0;s=k[a+48>>2]|0;n=k[a+40>>2]|0;o=l[n+9>>0]|0;if(!b)return;p=(k[a+44>>2]|0)+4|0;c=k[a+20>>2]|0;d=k[a>>2]|0;a:while(1){b=b+-1|0;switch(j&3|0){case 0:{h=(j+3|0)/4|0;a=4;break}case 3:{h=(j+3|0)/4|0;a=13;break}case 2:{h=(j+3|0)/4|0;a=22;break}case 1:{h=(j+3|0)/4|0;a=31;break}default:{a=40;break a}}while(1)if((a|0)==4){switch(o|0){case 1:{t=l[d>>0]|0;g=k[n+32>>2]|0;u=k[n+28>>2]|0;a=i[(k[124356+(u>>>24<<2)>>2]|0)+((k[n+24>>2]&t)>>>(g>>>24))>>0]|0;e=i[(k[124356+((u>>>16&255)<<2)>>2]|0)+((k[n+20>>2]&t)>>>(g>>>16&255))>>0]|0;f=i[(k[124356+((u>>>8&255)<<2)>>2]|0)+((k[n+16>>2]&t)>>>(g>>>8&255))>>0]|0;g=i[(k[124356+((u&255)<<2)>>2]|0)+((t&k[n+12>>2])>>>(g&255))>>0]|0;break}case 2:{u=m[d>>1]|0;g=k[n+32>>2]|0;t=k[n+28>>2]|0;a=i[(k[124356+(t>>>24<<2)>>2]|0)+((k[n+24>>2]&u)>>>(g>>>24))>>0]|0;e=i[(k[124356+((t>>>16&255)<<2)>>2]|0)+((k[n+20>>2]&u)>>>(g>>>16&255))>>0]|0;f=i[(k[124356+((t>>>8&255)<<2)>>2]|0)+((k[n+16>>2]&u)>>>(g>>>8&255))>>0]|0;g=i[(k[124356+((t&255)<<2)>>2]|0)+((u&k[n+12>>2])>>>(g&255))>>0]|0;break}case 3:{g=k[n+32>>2]|0;a=-1;e=i[d+(g>>>19&31)>>0]|0;f=i[d+(g>>>11&31)>>0]|0;g=i[d+(g>>>3&31)>>0]|0;break}case 4:{u=k[d>>2]|0;g=k[n+32>>2]|0;t=k[n+28>>2]|0;a=i[(k[124356+(t>>>24<<2)>>2]|0)+((k[n+24>>2]&u)>>>(g>>>24))>>0]|0;e=i[(k[124356+((t>>>16&255)<<2)>>2]|0)+((k[n+20>>2]&u)>>>(g>>>16&255))>>0]|0;f=i[(k[124356+((t>>>8&255)<<2)>>2]|0)+((k[n+16>>2]&u)>>>(g>>>8&255))>>0]|0;g=i[(k[124356+((t&255)<<2)>>2]|0)+((k[n+12>>2]&u)>>>(g&255))>>0]|0;break}default:{a=0;e=0;f=0;g=0}}u=a&255;a=l[c>>0]|0;w=k[(k[p>>2]|0)+4>>2]|0;t=l[w+(a<<2)>>0]|0;v=l[w+(a<<2)+1>>0]|0;a=l[w+(a<<2)+2>>0]|0;a=((((ha((f&255)-v|0,u)|0)>>>0)/255|0)+v|0)>>>3&28|(((ha((g&255)-t|0,u)|0)>>>0)/255|0)+t&224|((((ha((e&255)-a|0,u)|0)>>>0)/255|0)+a|0)>>>6&3;if(!s)a=a&255;else a=i[s+a>>0]|0;i[c>>0]=a;c=c+1|0;d=d+o|0;a=13;continue}else if((a|0)==13){switch(o|0){case 1:{w=l[d>>0]|0;g=k[n+32>>2]|0;v=k[n+28>>2]|0;a=i[(k[124356+(v>>>24<<2)>>2]|0)+((k[n+24>>2]&w)>>>(g>>>24))>>0]|0;e=i[(k[124356+((v>>>16&255)<<2)>>2]|0)+((k[n+20>>2]&w)>>>(g>>>16&255))>>0]|0;f=i[(k[124356+((v>>>8&255)<<2)>>2]|0)+((k[n+16>>2]&w)>>>(g>>>8&255))>>0]|0;g=i[(k[124356+((v&255)<<2)>>2]|0)+((w&k[n+12>>2])>>>(g&255))>>0]|0;break}case 2:{w=m[d>>1]|0;g=k[n+32>>2]|0;v=k[n+28>>2]|0;a=i[(k[124356+(v>>>24<<2)>>2]|0)+((k[n+24>>2]&w)>>>(g>>>24))>>0]|0;e=i[(k[124356+((v>>>16&255)<<2)>>2]|0)+((k[n+20>>2]&w)>>>(g>>>16&255))>>0]|0;f=i[(k[124356+((v>>>8&255)<<2)>>2]|0)+((k[n+16>>2]&w)>>>(g>>>8&255))>>0]|0;g=i[(k[124356+((v&255)<<2)>>2]|0)+((w&k[n+12>>2])>>>(g&255))>>0]|0;break}case 3:{g=k[n+32>>2]|0;a=-1;e=i[d+(g>>>19&31)>>0]|0;f=i[d+(g>>>11&31)>>0]|0;g=i[d+(g>>>3&31)>>0]|0;break}case 4:{w=k[d>>2]|0;g=k[n+32>>2]|0;v=k[n+28>>2]|0;a=i[(k[124356+(v>>>24<<2)>>2]|0)+((k[n+24>>2]&w)>>>(g>>>24))>>0]|0;e=i[(k[124356+((v>>>16&255)<<2)>>2]|0)+((k[n+20>>2]&w)>>>(g>>>16&255))>>0]|0;f=i[(k[124356+((v>>>8&255)<<2)>>2]|0)+((k[n+16>>2]&w)>>>(g>>>8&255))>>0]|0;g=i[(k[124356+((v&255)<<2)>>2]|0)+((k[n+12>>2]&w)>>>(g&255))>>0]|0;break}default:{a=0;e=0;f=0;g=0}}w=a&255;a=l[c>>0]|0;t=k[(k[p>>2]|0)+4>>2]|0;v=l[t+(a<<2)>>0]|0;u=l[t+(a<<2)+1>>0]|0;a=l[t+(a<<2)+2>>0]|0;a=((((ha((f&255)-u|0,w)|0)>>>0)/255|0)+u|0)>>>3&28|(((ha((g&255)-v|0,w)|0)>>>0)/255|0)+v&224|((((ha((e&255)-a|0,w)|0)>>>0)/255|0)+a|0)>>>6&3;if(!s)a=a&255;else a=i[s+a>>0]|0;i[c>>0]=a;c=c+1|0;d=d+o|0;a=22;continue}else if((a|0)==22){switch(o|0){case 1:{w=l[d>>0]|0;g=k[n+32>>2]|0;v=k[n+28>>2]|0;a=i[(k[124356+(v>>>24<<2)>>2]|0)+((k[n+24>>2]&w)>>>(g>>>24))>>0]|0;e=i[(k[124356+((v>>>16&255)<<2)>>2]|0)+((k[n+20>>2]&w)>>>(g>>>16&255))>>0]|0;f=i[(k[124356+((v>>>8&255)<<2)>>2]|0)+((k[n+16>>2]&w)>>>(g>>>8&255))>>0]|0;g=i[(k[124356+((v&255)<<2)>>2]|0)+((w&k[n+12>>2])>>>(g&255))>>0]|0;break}case 2:{w=m[d>>1]|0;g=k[n+32>>2]|0;v=k[n+28>>2]|0;a=i[(k[124356+(v>>>24<<2)>>2]|0)+((k[n+24>>2]&w)>>>(g>>>24))>>0]|0;e=i[(k[124356+((v>>>16&255)<<2)>>2]|0)+((k[n+20>>2]&w)>>>(g>>>16&255))>>0]|0;f=i[(k[124356+((v>>>8&255)<<2)>>2]|0)+((k[n+16>>2]&w)>>>(g>>>8&255))>>0]|0;g=i[(k[124356+((v&255)<<2)>>2]|0)+((w&k[n+12>>2])>>>(g&255))>>0]|0;break}case 3:{g=k[n+32>>2]|0;a=-1;e=i[d+(g>>>19&31)>>0]|0;f=i[d+(g>>>11&31)>>0]|0;g=i[d+(g>>>3&31)>>0]|0;break}case 4:{w=k[d>>2]|0;g=k[n+32>>2]|0;v=k[n+28>>2]|0;a=i[(k[124356+(v>>>24<<2)>>2]|0)+((k[n+24>>2]&w)>>>(g>>>24))>>0]|0;e=i[(k[124356+((v>>>16&255)<<2)>>2]|0)+((k[n+20>>2]&w)>>>(g>>>16&255))>>0]|0;f=i[(k[124356+((v>>>8&255)<<2)>>2]|0)+((k[n+16>>2]&w)>>>(g>>>8&255))>>0]|0;g=i[(k[124356+((v&255)<<2)>>2]|0)+((k[n+12>>2]&w)>>>(g&255))>>0]|0;break}default:{a=0;e=0;f=0;g=0}}w=a&255;a=l[c>>0]|0;t=k[(k[p>>2]|0)+4>>2]|0;v=l[t+(a<<2)>>0]|0;u=l[t+(a<<2)+1>>0]|0;a=l[t+(a<<2)+2>>0]|0;a=((((ha((f&255)-u|0,w)|0)>>>0)/255|0)+u|0)>>>3&28|(((ha((g&255)-v|0,w)|0)>>>0)/255|0)+v&224|((((ha((e&255)-a|0,w)|0)>>>0)/255|0)+a|0)>>>6&3;if(!s)a=a&255;else a=i[s+a>>0]|0;i[c>>0]=a;c=c+1|0;d=d+o|0;a=31;continue}else if((a|0)==31){switch(o|0){case 1:{w=l[d>>0]|0;g=k[n+32>>2]|0;v=k[n+28>>2]|0;a=i[(k[124356+(v>>>24<<2)>>2]|0)+((k[n+24>>2]&w)>>>(g>>>24))>>0]|0;e=i[(k[124356+((v>>>16&255)<<2)>>2]|0)+((k[n+20>>2]&w)>>>(g>>>16&255))>>0]|0;f=i[(k[124356+((v>>>8&255)<<2)>>2]|0)+((k[n+16>>2]&w)>>>(g>>>8&255))>>0]|0;g=i[(k[124356+((v&255)<<2)>>2]|0)+((w&k[n+12>>2])>>>(g&255))>>0]|0;break}case 2:{w=m[d>>1]|0;g=k[n+32>>2]|0;v=k[n+28>>2]|0;a=i[(k[124356+(v>>>24<<2)>>2]|0)+((k[n+24>>2]&w)>>>(g>>>24))>>0]|0;e=i[(k[124356+((v>>>16&255)<<2)>>2]|0)+((k[n+20>>2]&w)>>>(g>>>16&255))>>0]|0;f=i[(k[124356+((v>>>8&255)<<2)>>2]|0)+((k[n+16>>2]&w)>>>(g>>>8&255))>>0]|0;g=i[(k[124356+((v&255)<<2)>>2]|0)+((w&k[n+12>>2])>>>(g&255))>>0]|0;break}case 3:{g=k[n+32>>2]|0;a=-1;e=i[d+(g>>>19&31)>>0]|0;f=i[d+(g>>>11&31)>>0]|0;g=i[d+(g>>>3&31)>>0]|0;break}case 4:{w=k[d>>2]|0;g=k[n+32>>2]|0;v=k[n+28>>2]|0;a=i[(k[124356+(v>>>24<<2)>>2]|0)+((k[n+24>>2]&w)>>>(g>>>24))>>0]|0;e=i[(k[124356+((v>>>16&255)<<2)>>2]|0)+((k[n+20>>2]&w)>>>(g>>>16&255))>>0]|0;f=i[(k[124356+((v>>>8&255)<<2)>>2]|0)+((k[n+16>>2]&w)>>>(g>>>8&255))>>0]|0;g=i[(k[124356+((v&255)<<2)>>2]|0)+((k[n+12>>2]&w)>>>(g&255))>>0]|0;break}default:{a=0;e=0;f=0;g=0}}w=a&255;a=l[c>>0]|0;t=k[(k[p>>2]|0)+4>>2]|0;v=l[t+(a<<2)>>0]|0;u=l[t+(a<<2)+1>>0]|0;a=l[t+(a<<2)+2>>0]|0;a=((((ha((f&255)-u|0,w)|0)>>>0)/255|0)+u|0)>>>3&28|(((ha((g&255)-v|0,w)|0)>>>0)/255|0)+v&224|((((ha((e&255)-a|0,w)|0)>>>0)/255|0)+a|0)>>>6&3;if(!s)a=a&255;else a=i[s+a>>0]|0;i[c>>0]=a;a=c+1|0;d=d+o|0;if((h|0)>1){c=a;h=h+-1|0;a=4;continue}else break}if(!b){a=42;break}else{c=a+r|0;d=d+q|0}}if((a|0)!=40)if((a|0)==42)return}function P9a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=k[a+24>>2]|0;b=k[a+28>>2]|0;g=k[a+16>>2]>>2;h=k[a+36>>2]>>2;if(!b)return;c=k[a+20>>2]|0;d=k[a>>2]|0;a:while(1){b=b+-1|0;switch(f&3|0){case 0:{e=(f+3|0)/4|0;a=4;break}case 3:{e=(f+3|0)/4|0;a=8;break}case 2:{e=(f+3|0)/4|0;a=12;break}case 1:{e=(f+3|0)/4|0;a=16;break}default:{a=20;break a}}while(1)if((a|0)==4){a=k[d>>2]|0;switch(a>>>24|0){case 0:break;case 255:{k[c>>2]=a;break}default:{i=k[c>>2]|0;a=((ha((a&65280)-(i&65280)|0,a>>>24)|0)>>>8)+(i&65280)&65280|((ha(i>>>24,a>>>24^255)|0)>>>8)+(a>>>24)<<24|((ha((a&16711935)-(i&16711935)|0,a>>>24)|0)>>>8)+(i&16711935)&16711935;k[c>>2]=a}}c=c+4|0;d=d+4|0;a=8;continue}else if((a|0)==8){a=k[d>>2]|0;switch(a>>>24|0){case 0:break;case 255:{k[c>>2]=a;break}default:{i=k[c>>2]|0;i=((ha((a&65280)-(i&65280)|0,a>>>24)|0)>>>8)+(i&65280)&65280|((ha(i>>>24,a>>>24^255)|0)>>>8)+(a>>>24)<<24|((ha((a&16711935)-(i&16711935)|0,a>>>24)|0)>>>8)+(i&16711935)&16711935;k[c>>2]=i}}c=c+4|0;d=d+4|0;a=12;continue}else if((a|0)==12){a=k[d>>2]|0;switch(a>>>24|0){case 0:break;case 255:{k[c>>2]=a;break}default:{i=k[c>>2]|0;i=((ha((a&65280)-(i&65280)|0,a>>>24)|0)>>>8)+(i&65280)&65280|((ha(i>>>24,a>>>24^255)|0)>>>8)+(a>>>24)<<24|((ha((a&16711935)-(i&16711935)|0,a>>>24)|0)>>>8)+(i&16711935)&16711935;k[c>>2]=i}}c=c+4|0;d=d+4|0;a=16;continue}else if((a|0)==16){a=k[d>>2]|0;switch(a>>>24|0){case 0:break;case 255:{k[c>>2]=a;break}default:{i=k[c>>2]|0;i=((ha((a&65280)-(i&65280)|0,a>>>24)|0)>>>8)+(i&65280)&65280|((ha(i>>>24,a>>>24^255)|0)>>>8)+(a>>>24)<<24|((ha((a&16711935)-(i&16711935)|0,a>>>24)|0)>>>8)+(i&16711935)&16711935;k[c>>2]=i}}d=d+4|0;c=c+4|0;if((e|0)>1){e=e+-1|0;a=4;continue}else break}if(!b){a=22;break}else{c=c+(h<<2)|0;d=d+(g<<2)|0}}if((a|0)!=20)if((a|0)==22)return}function Q9a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;h=k[a+24>>2]|0;b=k[a+28>>2]|0;q=k[a+16>>2]|0;r=k[a+36>>2]|0;s=k[a+48>>2]|0;j=k[a+40>>2]|0;n=l[j+9>>0]|0;o=l[a+63>>0]|0;if(!b)return;p=(k[a+44>>2]|0)+4|0;c=k[a+20>>2]|0;d=k[a>>2]|0;a:while(1){b=b+-1|0;switch(h&3|0){case 0:{g=(h+3|0)/4|0;a=4;break}case 3:{g=(h+3|0)/4|0;a=13;break}case 2:{g=(h+3|0)/4|0;a=22;break}case 1:{g=(h+3|0)/4|0;a=31;break}default:{a=40;break a}}while(1)if((a|0)==4){switch(n|0){case 1:{t=l[d>>0]|0;f=k[j+32>>2]|0;u=k[j+28>>2]|0;a=i[(k[124356+((u>>>16&255)<<2)>>2]|0)+((k[j+20>>2]&t)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((u>>>8&255)<<2)>>2]|0)+((k[j+16>>2]&t)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((u&255)<<2)>>2]|0)+((t&k[j+12>>2])>>>(f&255))>>0]|0;break}case 2:{u=m[d>>1]|0;f=k[j+32>>2]|0;t=k[j+28>>2]|0;a=i[(k[124356+((t>>>16&255)<<2)>>2]|0)+((k[j+20>>2]&u)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((t>>>8&255)<<2)>>2]|0)+((k[j+16>>2]&u)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((t&255)<<2)>>2]|0)+((u&k[j+12>>2])>>>(f&255))>>0]|0;break}case 3:{f=k[j+32>>2]|0;a=i[d+(f>>>19&31)>>0]|0;e=i[d+(f>>>11&31)>>0]|0;f=i[d+(f>>>3&31)>>0]|0;break}case 4:{u=k[d>>2]|0;f=k[j+32>>2]|0;t=k[j+28>>2]|0;a=i[(k[124356+((t>>>16&255)<<2)>>2]|0)+((k[j+20>>2]&u)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((t>>>8&255)<<2)>>2]|0)+((k[j+16>>2]&u)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((t&255)<<2)>>2]|0)+((k[j+12>>2]&u)>>>(f&255))>>0]|0;break}default:{a=0;e=0;f=0}}u=l[c>>0]|0;w=k[(k[p>>2]|0)+4>>2]|0;t=l[w+(u<<2)>>0]|0;v=l[w+(u<<2)+1>>0]|0;u=l[w+(u<<2)+2>>0]|0;a=((((ha((e&255)-v|0,o)|0)>>>0)/255|0)+v|0)>>>3&28|(((ha((f&255)-t|0,o)|0)>>>0)/255|0)+t&224|((((ha((a&255)-u|0,o)|0)>>>0)/255|0)+u|0)>>>6&3;if(!s)a=a&255;else a=i[s+a>>0]|0;i[c>>0]=a;c=c+1|0;d=d+n|0;a=13;continue}else if((a|0)==13){switch(n|0){case 1:{w=l[d>>0]|0;f=k[j+32>>2]|0;v=k[j+28>>2]|0;a=i[(k[124356+((v>>>16&255)<<2)>>2]|0)+((k[j+20>>2]&w)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((v>>>8&255)<<2)>>2]|0)+((k[j+16>>2]&w)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((v&255)<<2)>>2]|0)+((w&k[j+12>>2])>>>(f&255))>>0]|0;break}case 2:{w=m[d>>1]|0;f=k[j+32>>2]|0;v=k[j+28>>2]|0;a=i[(k[124356+((v>>>16&255)<<2)>>2]|0)+((k[j+20>>2]&w)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((v>>>8&255)<<2)>>2]|0)+((k[j+16>>2]&w)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((v&255)<<2)>>2]|0)+((w&k[j+12>>2])>>>(f&255))>>0]|0;break}case 3:{f=k[j+32>>2]|0;a=i[d+(f>>>19&31)>>0]|0;e=i[d+(f>>>11&31)>>0]|0;f=i[d+(f>>>3&31)>>0]|0;break}case 4:{w=k[d>>2]|0;f=k[j+32>>2]|0;v=k[j+28>>2]|0;a=i[(k[124356+((v>>>16&255)<<2)>>2]|0)+((k[j+20>>2]&w)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((v>>>8&255)<<2)>>2]|0)+((k[j+16>>2]&w)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((v&255)<<2)>>2]|0)+((k[j+12>>2]&w)>>>(f&255))>>0]|0;break}default:{a=0;e=0;f=0}}w=l[c>>0]|0;t=k[(k[p>>2]|0)+4>>2]|0;v=l[t+(w<<2)>>0]|0;u=l[t+(w<<2)+1>>0]|0;w=l[t+(w<<2)+2>>0]|0;a=((((ha((e&255)-u|0,o)|0)>>>0)/255|0)+u|0)>>>3&28|(((ha((f&255)-v|0,o)|0)>>>0)/255|0)+v&224|((((ha((a&255)-w|0,o)|0)>>>0)/255|0)+w|0)>>>6&3;if(!s)a=a&255;else a=i[s+a>>0]|0;i[c>>0]=a;c=c+1|0;d=d+n|0;a=22;continue}else if((a|0)==22){switch(n|0){case 1:{w=l[d>>0]|0;f=k[j+32>>2]|0;v=k[j+28>>2]|0;a=i[(k[124356+((v>>>16&255)<<2)>>2]|0)+((k[j+20>>2]&w)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((v>>>8&255)<<2)>>2]|0)+((k[j+16>>2]&w)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((v&255)<<2)>>2]|0)+((w&k[j+12>>2])>>>(f&255))>>0]|0;break}case 2:{w=m[d>>1]|0;f=k[j+32>>2]|0;v=k[j+28>>2]|0;a=i[(k[124356+((v>>>16&255)<<2)>>2]|0)+((k[j+20>>2]&w)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((v>>>8&255)<<2)>>2]|0)+((k[j+16>>2]&w)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((v&255)<<2)>>2]|0)+((w&k[j+12>>2])>>>(f&255))>>0]|0;break}case 3:{f=k[j+32>>2]|0;a=i[d+(f>>>19&31)>>0]|0;e=i[d+(f>>>11&31)>>0]|0;f=i[d+(f>>>3&31)>>0]|0;break}case 4:{w=k[d>>2]|0;f=k[j+32>>2]|0;v=k[j+28>>2]|0;a=i[(k[124356+((v>>>16&255)<<2)>>2]|0)+((k[j+20>>2]&w)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((v>>>8&255)<<2)>>2]|0)+((k[j+16>>2]&w)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((v&255)<<2)>>2]|0)+((k[j+12>>2]&w)>>>(f&255))>>0]|0;break}default:{a=0;e=0;f=0}}w=l[c>>0]|0;t=k[(k[p>>2]|0)+4>>2]|0;v=l[t+(w<<2)>>0]|0;u=l[t+(w<<2)+1>>0]|0;w=l[t+(w<<2)+2>>0]|0;a=((((ha((e&255)-u|0,o)|0)>>>0)/255|0)+u|0)>>>3&28|(((ha((f&255)-v|0,o)|0)>>>0)/255|0)+v&224|((((ha((a&255)-w|0,o)|0)>>>0)/255|0)+w|0)>>>6&3;if(!s)a=a&255;else a=i[s+a>>0]|0;i[c>>0]=a;c=c+1|0;d=d+n|0;a=31;continue}else if((a|0)==31){switch(n|0){case 1:{w=l[d>>0]|0;f=k[j+32>>2]|0;v=k[j+28>>2]|0;a=i[(k[124356+((v>>>16&255)<<2)>>2]|0)+((k[j+20>>2]&w)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((v>>>8&255)<<2)>>2]|0)+((k[j+16>>2]&w)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((v&255)<<2)>>2]|0)+((w&k[j+12>>2])>>>(f&255))>>0]|0;break}case 2:{w=m[d>>1]|0;f=k[j+32>>2]|0;v=k[j+28>>2]|0;a=i[(k[124356+((v>>>16&255)<<2)>>2]|0)+((k[j+20>>2]&w)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((v>>>8&255)<<2)>>2]|0)+((k[j+16>>2]&w)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((v&255)<<2)>>2]|0)+((w&k[j+12>>2])>>>(f&255))>>0]|0;break}case 3:{f=k[j+32>>2]|0;a=i[d+(f>>>19&31)>>0]|0;e=i[d+(f>>>11&31)>>0]|0;f=i[d+(f>>>3&31)>>0]|0;break}case 4:{w=k[d>>2]|0;f=k[j+32>>2]|0;v=k[j+28>>2]|0;a=i[(k[124356+((v>>>16&255)<<2)>>2]|0)+((k[j+20>>2]&w)>>>(f>>>16&255))>>0]|0;e=i[(k[124356+((v>>>8&255)<<2)>>2]|0)+((k[j+16>>2]&w)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((v&255)<<2)>>2]|0)+((k[j+12>>2]&w)>>>(f&255))>>0]|0;break}default:{a=0;e=0;f=0}}w=l[c>>0]|0;t=k[(k[p>>2]|0)+4>>2]|0;v=l[t+(w<<2)>>0]|0;u=l[t+(w<<2)+1>>0]|0;w=l[t+(w<<2)+2>>0]|0;a=((((ha((e&255)-u|0,o)|0)>>>0)/255|0)+u|0)>>>3&28|(((ha((f&255)-v|0,o)|0)>>>0)/255|0)+v&224|((((ha((a&255)-w|0,o)|0)>>>0)/255|0)+w|0)>>>6&3;if(!s)a=a&255;else a=i[s+a>>0]|0;i[c>>0]=a;a=c+1|0;d=d+n|0;if((g|0)>1){c=a;g=g+-1|0;a=4;continue}else break}if(!b){a=42;break}else{c=a+r|0;d=d+q|0}}if((a|0)!=40)if((a|0)==42)return}function R9a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;B=i[a+63>>0]|0;C=k[a+24>>2]|0;r=k[a+28>>2]|0;c=k[a>>2]|0;E=k[a+16>>2]>>2;b=k[a+20>>2]|0;D=k[a+36>>2]>>2;if(B<<24>>24!=-128){if(!r)return;if(!(C&3)){d=r+-1|0;while(1){a=(C+3|0)/4|0;while(1){y=k[c>>2]|0;A=k[b>>2]|0;A=((ha((y&65280)-(A&65280)|0,B&255)|0)>>>8)+(A&65280)&65280|((ha((y&16711935)-(A&16711935)|0,B&255)|0)>>>8)+(A&16711935)&16711935|-16777216;k[b>>2]=A;A=b+4|0;y=k[c+4>>2]|0;z=k[A>>2]|0;z=((ha((y&65280)-(z&65280)|0,B&255)|0)>>>8)+(z&65280)&65280|((ha((y&16711935)-(z&16711935)|0,B&255)|0)>>>8)+(z&16711935)&16711935|-16777216;k[A>>2]=z;A=b+8|0;z=k[c+8>>2]|0;y=k[A>>2]|0;y=((ha((z&65280)-(y&65280)|0,B&255)|0)>>>8)+(y&65280)&65280|((ha((z&16711935)-(y&16711935)|0,B&255)|0)>>>8)+(y&16711935)&16711935|-16777216;k[A>>2]=y;A=b+12|0;y=k[c+12>>2]|0;z=k[A>>2]|0;z=((ha((y&65280)-(z&65280)|0,B&255)|0)>>>8)+(z&65280)&65280|((ha((y&16711935)-(z&16711935)|0,B&255)|0)>>>8)+(z&16711935)&16711935|-16777216;k[A>>2]=z;c=c+16|0;b=b+16|0;if((a|0)>1)a=a+-1|0;else break}if(!d)break;else{d=d+-1|0;b=b+(D<<2)|0;c=c+(E<<2)|0}}return}else{f=r+-1|0;e=b;a=c}a:while(1){switch(C&3|0){case 1:{j=e;n=(C+3|0)/4|0;q=a;d=27;break}case 3:{g=e;l=(C+3|0)/4|0;o=a;d=25;break}case 2:{h=e;m=(C+3|0)/4|0;p=a;d=26;break}default:{d=28;break a}}while(1)if((d|0)==25){m=k[o>>2]|0;h=k[g>>2]|0;h=((ha((m&65280)-(h&65280)|0,B&255)|0)>>>8)+(h&65280)&65280|((ha((m&16711935)-(h&16711935)|0,B&255)|0)>>>8)+(h&16711935)&16711935|-16777216;k[g>>2]=h;h=g+4|0;m=l;p=o+4|0;d=26;continue}else if((d|0)==26){n=k[p>>2]|0;j=k[h>>2]|0;j=((ha((n&65280)-(j&65280)|0,B&255)|0)>>>8)+(j&65280)&65280|((ha((n&16711935)-(j&16711935)|0,B&255)|0)>>>8)+(j&16711935)&16711935|-16777216;k[h>>2]=j;j=h+4|0;n=m;q=p+4|0;d=27;continue}else if((d|0)==27){a=k[q>>2]|0;d=k[j>>2]|0;d=((ha((a&65280)-(d&65280)|0,B&255)|0)>>>8)+(d&65280)&65280|((ha((a&16711935)-(d&16711935)|0,B&255)|0)>>>8)+(d&16711935)&16711935|-16777216;k[j>>2]=d;d=q+4|0;a=j+4|0;if((n|0)<=1)break;l=k[d>>2]|0;g=k[a>>2]|0;g=((ha((l&65280)-(g&65280)|0,B&255)|0)>>>8)+(g&65280)&65280|((ha((l&16711935)-(g&16711935)|0,B&255)|0)>>>8)+(g&16711935)&16711935|-16777216;k[a>>2]=g;g=j+8|0;l=n+-1|0;o=q+8|0;d=25;continue}if(!f){d=30;break}else{f=f+-1|0;e=a+(D<<2)|0;a=d+(E<<2)|0}}if((d|0)!=28)if((d|0)==30)return}if(!r)return;h=(C+3|0)/4|0;switch(C&3|0){case 0:{e=r+-1|0;while(1){d=h;while(1){A=k[c>>2]|0;C=k[b>>2]|0;B=b+4|0;k[b>>2]=(((C&16711422)+(A&16711422)|0)>>>1)+(A&65793&C)|-16777216;C=k[c+4>>2]|0;A=k[B>>2]|0;a=b+8|0;k[B>>2]=(((A&16711422)+(C&16711422)|0)>>>1)+(C&65793&A)|-16777216;B=k[c+8>>2]|0;A=k[a>>2]|0;C=b+12|0;k[a>>2]=(((A&16711422)+(B&16711422)|0)>>>1)+(B&65793&A)|-16777216;a=c+16|0;A=k[c+12>>2]|0;B=k[C>>2]|0;b=b+16|0;k[C>>2]=(((B&16711422)+(A&16711422)|0)>>>1)+(A&65793&B)|-16777216;if((d|0)>1){d=d+-1|0;c=a}else break}if(!e)break;else{e=e+-1|0;b=b+(D<<2)|0;c=a+(E<<2)|0}}return}case 1:{g=r+-1|0;d=b;while(1){a=c+4|0;A=k[c>>2]|0;B=k[d>>2]|0;b=d+4|0;k[d>>2]=(((B&16711422)+(A&16711422)|0)>>>1)+(A&65793&B)|-16777216;if((C+3|0)>7){e=d;f=h;while(1){f=f+-1|0;A=k[a>>2]|0;B=k[b>>2]|0;z=e+8|0;k[b>>2]=(((B&16711422)+(A&16711422)|0)>>>1)+(A&65793&B)|-16777216;B=k[c+8>>2]|0;b=k[z>>2]|0;A=e+12|0;k[z>>2]=(((b&16711422)+(B&16711422)|0)>>>1)+(B&65793&b)|-16777216;b=c;c=c+16|0;z=k[b+12>>2]|0;B=k[A>>2]|0;d=e;e=e+16|0;k[A>>2]=(((B&16711422)+(z&16711422)|0)>>>1)+(z&65793&B)|-16777216;A=k[c>>2]|0;B=k[e>>2]|0;k[e>>2]=(((B&16711422)+(A&16711422)|0)>>>1)+(A&65793&B)|-16777216;if((f|0)<=1){a=b+20|0;b=d+20|0;break}else{a=b+20|0;b=d+20|0}}}if(!g)break;else{g=g+-1|0;d=b+(D<<2)|0;c=a+(E<<2)|0}}return}default:{a=r+-1|0;b:while(1){switch(C&3|0){case 1:{u=b;x=h;A=c;d=20;break}case 3:{s=b;v=h;y=c;d=18;break}case 2:{t=b;w=h;z=c;d=19;break}default:{d=21;break b}}while(1)if((d|0)==18){w=k[y>>2]|0;t=k[s>>2]|0;k[s>>2]=(((t&16711422)+(w&16711422)|0)>>>1)+(w&65793&t)|-16777216;t=s+4|0;w=v;z=y+4|0;d=19;continue}else if((d|0)==19){x=k[z>>2]|0;u=k[t>>2]|0;k[t>>2]=(((u&16711422)+(x&16711422)|0)>>>1)+(x&65793&u)|-16777216;u=t+4|0;x=w;A=z+4|0;d=20;continue}else if((d|0)==20){c=A+4|0;r=k[A>>2]|0;B=k[u>>2]|0;b=u+4|0;k[u>>2]=(((B&16711422)+(r&16711422)|0)>>>1)+(r&65793&B)|-16777216;if((x|0)<=1)break;v=k[c>>2]|0;s=k[b>>2]|0;k[b>>2]=(((s&16711422)+(v&16711422)|0)>>>1)+(v&65793&s)|-16777216;s=u+8|0;v=x+-1|0;y=A+8|0;d=18;continue}if(!a){d=30;break}else{a=a+-1|0;b=b+(D<<2)|0;c=c+(E<<2)|0}}if((d|0)!=21)if((d|0)==30)return}}}function S9a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;f=k[a+4>>2]|0;a=k[a+52>>2]|0;e=k[(k[a>>2]|0)+4>>2]|0;b=j[e+8>>1]|0;if((b&255)<8){f=0;return f|0}switch(k[a+68>>2]&-28673|0){case 0:{if((b&255)<<24>>24==8){a:do if((i[f+9>>0]|0)==4){a=k[f+12>>2]|0;if((a|0)<1072693248){switch(a|0){case 16711680:break;default:break a}if((k[f+16>>2]|0)!=65280)break;if((k[f+20>>2]|0)==255)a=728;else break;return a|0}else{switch(a|0){case 1072693248:break;default:break a}if((k[f+16>>2]|0)!=1047552)break;if((k[f+20>>2]|0)==1023)a=729;else break;return a|0}}while(0);f=730;return f|0}if(!(k[e+24>>2]|0))d=1;else d=k[f+24>>2]|0?4:2;c=k[125112+((l[f+9>>0]|0)+-1<<2)>>2]|0;a=k[c+12>>2]|0;b:do if(!a)a=0;else{b=0;while(1){g=k[c+(b*40|0)>>2]|0;if((g|0)==0?1:(k[f+12>>2]|0)==(g|0)){g=k[c+(b*40|0)+4>>2]|0;if((g|0)==0?1:(k[f+16>>2]|0)==(g|0)){g=k[c+(b*40|0)+8>>2]|0;if((g|0)==0?1:(k[f+20>>2]|0)==(g|0)){g=k[c+(b*40|0)+16>>2]|0;if((g|0)==0?1:(k[e+12>>2]|0)==(g|0)){g=k[c+(b*40|0)+20>>2]|0;if((g|0)==0?1:(k[e+16>>2]|0)==(g|0)){g=k[c+(b*40|0)+24>>2]|0;if((g|0)==0?1:(k[e+20>>2]|0)==(g|0))if((l[e+9>>0]|0)==(a|0))if((k[c+(b*40|0)+36>>2]&d|0)==(d|0)){g=c+(b*40|0)+28|0;a=k[g>>2]|0;a=($9a()|0)!=0&a;if((a|0)==(k[g>>2]|0)){a=b;break b}}}}}}}b=b+1|0;a=k[c+(b*40|0)+12>>2]|0;if(!a){a=b;break}}}while(0);a=k[c+(a*40|0)+32>>2]|0;if((a|0)!=463){g=a;return g|0}if((k[f>>2]|0)==372711428){g=731;return g|0}if((k[e>>2]|0)==372711428){g=732;return g|0}if((i[f+9>>0]|0)!=4){g=(d|0)==4;g=g?727:463;return g|0}if((i[e+9>>0]|0)!=4){g=(d|0)==4;g=g?727:463;return g|0}if((k[f+12>>2]|0)!=(k[e+12>>2]|0)){g=(d|0)==4;g=g?727:463;return g|0}if((k[f+16>>2]|0)!=(k[e+16>>2]|0)){g=(d|0)==4;g=g?727:463;return g|0}if((k[f+20>>2]|0)!=(k[e+20>>2]|0)){g=(d|0)==4;g=g?727:463;return g|0}if((d|0)!=4){g=733;return g|0}g=(k[f+24>>2]|0)==(k[e+24>>2]|0)?726:727;return g|0}case 256:{if((i[f+9>>0]|0)==2)if(k[a+4>>2]|0){g=734;return g|0}if((b&-256)<<16>>16==256){g=735;return g|0}if(k[f+24>>2]|0)if(k[e+24>>2]|0){g=736;return g|0}g=737;return g|0}default:{g=0;return g|0}}return 0}function T9a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;p=k[a+24>>2]|0;b=k[a+28>>2]|0;w=k[a+16>>2]|0;q=k[a+36>>2]|0;r=k[a+40>>2]|0;s=l[r+9>>0]|0;t=k[a+44>>2]|0;v=l[t+9>>0]|0;if(!(k[t+24>>2]|0))u=0;else u=l[a+63>>0]|0;if(!b)return;c=k[a+20>>2]|0;d=k[a>>2]|0;a:while(1){b=b+-1|0;switch(p&7|0){case 0:{a=c;o=(p+7|0)/8|0;e=6;break}case 7:{o=(p+7|0)/8|0;e=17;break}case 6:{o=(p+7|0)/8|0;e=28;break}case 5:{o=(p+7|0)/8|0;e=39;break}case 4:{o=(p+7|0)/8|0;e=50;break}case 3:{o=(p+7|0)/8|0;e=61;break}case 2:{o=(p+7|0)/8|0;e=72;break}case 1:{o=(p+7|0)/8|0;e=83;break}default:{e=94;break a}}while(1)if((e|0)==6){switch(s|0){case 1:{h=l[d>>0]|0;n=k[r+32>>2]|0;f=k[r+28>>2]|0;e=i[(k[124356+((f>>>16&255)<<2)>>2]|0)+((k[r+20>>2]&h)>>>(n>>>16&255))>>0]|0;g=i[(k[124356+((f>>>8&255)<<2)>>2]|0)+((k[r+16>>2]&h)>>>(n>>>8&255))>>0]|0;n=i[(k[124356+((f&255)<<2)>>2]|0)+((h&k[r+12>>2])>>>(n&255))>>0]|0;break}case 2:{h=m[d>>1]|0;n=k[r+32>>2]|0;f=k[r+28>>2]|0;e=i[(k[124356+((f>>>16&255)<<2)>>2]|0)+((k[r+20>>2]&h)>>>(n>>>16&255))>>0]|0;g=i[(k[124356+((f>>>8&255)<<2)>>2]|0)+((k[r+16>>2]&h)>>>(n>>>8&255))>>0]|0;n=i[(k[124356+((f&255)<<2)>>2]|0)+((h&k[r+12>>2])>>>(n&255))>>0]|0;break}case 3:{n=k[r+32>>2]|0;e=i[d+(n>>>19&31)>>0]|0;g=i[d+(n>>>11&31)>>0]|0;n=i[d+(n>>>3&31)>>0]|0;break}case 4:{h=k[d>>2]|0;n=k[r+32>>2]|0;f=k[r+28>>2]|0;e=i[(k[124356+((f>>>16&255)<<2)>>2]|0)+((k[r+20>>2]&h)>>>(n>>>16&255))>>0]|0;g=i[(k[124356+((f>>>8&255)<<2)>>2]|0)+((k[r+16>>2]&h)>>>(n>>>8&255))>>0]|0;n=i[(k[124356+((f&255)<<2)>>2]|0)+((k[r+12>>2]&h)>>>(n&255))>>0]|0;break}default:{e=0;g=0;n=0}}h=n&255;f=g&255;c=e&255;switch(v|0){case 1:{g=k[t+28>>2]|0;n=k[t+32>>2]|0;i[a>>0]=f>>>(g>>>8&255)<<(n>>>8&255)|h>>>(g&255)<<(n&255)|c>>>(g>>>16&255)<<(n>>>16&255)|u>>>(g>>>24)<<(n>>>24);break}case 2:{g=k[t+28>>2]|0;n=k[t+32>>2]|0;j[a>>1]=f>>>(g>>>8&255)<<(n>>>8&255)|h>>>(g&255)<<(n&255)|c>>>(g>>>16&255)<<(n>>>16&255)|u>>>(g>>>24)<<(n>>>24);break}case 3:{i[a+((l[t+32>>0]|0)>>>3&255)>>0]=n;i[a+((l[t+33>>0]|0)>>>3&255)>>0]=g;i[a+((l[t+34>>0]|0)>>>3&255)>>0]=e;break}case 4:{g=k[t+28>>2]|0;n=k[t+32>>2]|0;k[a>>2]=f>>>(g>>>8&255)<<(n>>>8&255)|h>>>(g&255)<<(n&255)|c>>>(g>>>16&255)<<(n>>>16&255)|u>>>(g>>>24)<<(n>>>24);break}default:{}}c=a+v|0;d=d+s|0;e=17;continue}else if((e|0)==17){switch(s|0){case 1:{h=l[d>>0]|0;n=k[r+32>>2]|0;f=k[r+28>>2]|0;e=i[(k[124356+((f>>>16&255)<<2)>>2]|0)+((k[r+20>>2]&h)>>>(n>>>16&255))>>0]|0;g=i[(k[124356+((f>>>8&255)<<2)>>2]|0)+((k[r+16>>2]&h)>>>(n>>>8&255))>>0]|0;n=i[(k[124356+((f&255)<<2)>>2]|0)+((h&k[r+12>>2])>>>(n&255))>>0]|0;break}case 2:{h=m[d>>1]|0;n=k[r+32>>2]|0;f=k[r+28>>2]|0;e=i[(k[124356+((f>>>16&255)<<2)>>2]|0)+((k[r+20>>2]&h)>>>(n>>>16&255))>>0]|0;g=i[(k[124356+((f>>>8&255)<<2)>>2]|0)+((k[r+16>>2]&h)>>>(n>>>8&255))>>0]|0;n=i[(k[124356+((f&255)<<2)>>2]|0)+((h&k[r+12>>2])>>>(n&255))>>0]|0;break}case 3:{n=k[r+32>>2]|0;e=i[d+(n>>>19&31)>>0]|0;g=i[d+(n>>>11&31)>>0]|0;n=i[d+(n>>>3&31)>>0]|0;break}case 4:{h=k[d>>2]|0;n=k[r+32>>2]|0;f=k[r+28>>2]|0;e=i[(k[124356+((f>>>16&255)<<2)>>2]|0)+((k[r+20>>2]&h)>>>(n>>>16&255))>>0]|0;g=i[(k[124356+((f>>>8&255)<<2)>>2]|0)+((k[r+16>>2]&h)>>>(n>>>8&255))>>0]|0;n=i[(k[124356+((f&255)<<2)>>2]|0)+((k[r+12>>2]&h)>>>(n&255))>>0]|0;break}default:{e=0;g=0;n=0}}h=n&255;f=g&255;a=e&255;switch(v|0){case 1:{g=k[t+28>>2]|0;n=k[t+32>>2]|0;i[c>>0]=f>>>(g>>>8&255)<<(n>>>8&255)|h>>>(g&255)<<(n&255)|a>>>(g>>>16&255)<<(n>>>16&255)|u>>>(g>>>24)<<(n>>>24);break}case 2:{g=k[t+28>>2]|0;n=k[t+32>>2]|0;j[c>>1]=f>>>(g>>>8&255)<<(n>>>8&255)|h>>>(g&255)<<(n&255)|a>>>(g>>>16&255)<<(n>>>16&255)|u>>>(g>>>24)<<(n>>>24);break}case 3:{i[c+((l[t+32>>0]|0)>>>3&255)>>0]=n;i[c+((l[t+33>>0]|0)>>>3&255)>>0]=g;i[c+((l[t+34>>0]|0)>>>3&255)>>0]=e;break}case 4:{g=k[t+28>>2]|0;n=k[t+32>>2]|0;k[c>>2]=f>>>(g>>>8&255)<<(n>>>8&255)|h>>>(g&255)<<(n&255)|a>>>(g>>>16&255)<<(n>>>16&255)|u>>>(g>>>24)<<(n>>>24);break}default:{}}c=c+v|0;d=d+s|0;e=28;continue}else if((e|0)==28){switch(s|0){case 1:{h=l[d>>0]|0;n=k[r+32>>2]|0;f=k[r+28>>2]|0;e=i[(k[124356+((f>>>16&255)<<2)>>2]|0)+((k[r+20>>2]&h)>>>(n>>>16&255))>>0]|0;g=i[(k[124356+((f>>>8&255)<<2)>>2]|0)+((k[r+16>>2]&h)>>>(n>>>8&255))>>0]|0;n=i[(k[124356+((f&255)<<2)>>2]|0)+((h&k[r+12>>2])>>>(n&255))>>0]|0;break}case 2:{h=m[d>>1]|0;n=k[r+32>>2]|0;f=k[r+28>>2]|0;e=i[(k[124356+((f>>>16&255)<<2)>>2]|0)+((k[r+20>>2]&h)>>>(n>>>16&255))>>0]|0;g=i[(k[124356+((f>>>8&255)<<2)>>2]|0)+((k[r+16>>2]&h)>>>(n>>>8&255))>>0]|0;n=i[(k[124356+((f&255)<<2)>>2]|0)+((h&k[r+12>>2])>>>(n&255))>>0]|0;break}case 3:{n=k[r+32>>2]|0;e=i[d+(n>>>19&31)>>0]|0;g=i[d+(n>>>11&31)>>0]|0;n=i[d+(n>>>3&31)>>0]|0;break}case 4:{h=k[d>>2]|0;n=k[r+32>>2]|0;f=k[r+28>>2]|0;e=i[(k[124356+((f>>>16&255)<<2)>>2]|0)+((k[r+20>>2]&h)>>>(n>>>16&255))>>0]|0;g=i[(k[124356+((f>>>8&255)<<2)>>2]|0)+((k[r+16>>2]&h)>>>(n>>>8&255))>>0]|0;n=i[(k[124356+((f&255)<<2)>>2]|0)+((k[r+12>>2]&h)>>>(n&255))>>0]|0;break}default:{e=0;g=0;n=0}}h=n&255;f=g&255;a=e&255;switch(v|0){case 1:{g=k[t+28>>2]|0;n=k[t+32>>2]|0;i[c>>0]=f>>>(g>>>8&255)<<(n>>>8&255)|h>>>(g&255)<<(n&255)|a>>>(g>>>16&255)<<(n>>>16&255)|u>>>(g>>>24)<<(n>>>24);break}case 2:{g=k[t+28>>2]|0;n=k[t+32>>2]|0;j[c>>1]=f>>>(g>>>8&255)<<(n>>>8&255)|h>>>(g&255)<<(n&255)|a>>>(g>>>16&255)<<(n>>>16&255)|u>>>(g>>>24)<<(n>>>24);break}case 3:{i[c+((l[t+32>>0]|0)>>>3&255)>>0]=n;i[c+((l[t+33>>0]|0)>>>3&255)>>0]=g;i[c+((l[t+34>>0]|0)>>>3&255)>>0]=e;break}case 4:{g=k[t+28>>2]|0;n=k[t+32>>2]|0;k[c>>2]=f>>>(g>>>8&255)<<(n>>>8&255)|h>>>(g&255)<<(n&255)|a>>>(g>>>16&255)<<(n>>>16&255)|u>>>(g>>>24)<<(n>>>24);break}default:{}}c=c+v|0;d=d+s|0;e=39;continue}else if((e|0)==39){switch(s|0){case 1:{h=l[d>>0]|0;n=k[r+32>>2]|0;f=k[r+28>>2]|0;e=i[(k[124356+((f>>>16&255)<<2)>>2]|0)+((k[r+20>>2]&h)>>>(n>>>16&255))>>0]|0;g=i[(k[124356+((f>>>8&255)<<2)>>2]|0)+((k[r+16>>2]&h)>>>(n>>>8&255))>>0]|0;n=i[(k[124356+((f&255)<<2)>>2]|0)+((h&k[r+12>>2])>>>(n&255))>>0]|0;break}case 2:{h=m[d>>1]|0;n=k[r+32>>2]|0;f=k[r+28>>2]|0;e=i[(k[124356+((f>>>16&255)<<2)>>2]|0)+((k[r+20>>2]&h)>>>(n>>>16&255))>>0]|0;g=i[(k[124356+((f>>>8&255)<<2)>>2]|0)+((k[r+16>>2]&h)>>>(n>>>8&255))>>0]|0;n=i[(k[124356+((f&255)<<2)>>2]|0)+((h&k[r+12>>2])>>>(n&255))>>0]|0;break}case 3:{n=k[r+32>>2]|0;e=i[d+(n>>>19&31)>>0]|0;g=i[d+(n>>>11&31)>>0]|0;n=i[d+(n>>>3&31)>>0]|0;break}case 4:{h=k[d>>2]|0;n=k[r+32>>2]|0;f=k[r+28>>2]|0;e=i[(k[124356+((f>>>16&255)<<2)>>2]|0)+((k[r+20>>2]&h)>>>(n>>>16&255))>>0]|0;g=i[(k[124356+((f>>>8&255)<<2)>>2]|0)+((k[r+16>>2]&h)>>>(n>>>8&255))>>0]|0;n=i[(k[124356+((f&255)<<2)>>2]|0)+((k[r+12>>2]&h)>>>(n&255))>>0]|0;break}default:{e=0;g=0;n=0}}a=e&255;f=g&255;h=n&255;switch(v|0){case 1:{g=k[t+28>>2]|0;n=k[t+32>>2]|0;i[c>>0]=f>>>(g>>>8&255)<<(n>>>8&255)|h>>>(g&255)<<(n&255)|a>>>(g>>>16&255)<<(n>>>16&255)|u>>>(g>>>24)<<(n>>>24);break}case 2:{g=k[t+28>>2]|0;n=k[t+32>>2]|0;j[c>>1]=f>>>(g>>>8&255)<<(n>>>8&255)|h>>>(g&255)<<(n&255)|a>>>(g>>>16&255)<<(n>>>16&255)|u>>>(g>>>24)<<(n>>>24);break}case 3:{i[c+((l[t+32>>0]|0)>>>3&255)>>0]=n;i[c+((l[t+33>>0]|0)>>>3&255)>>0]=g;i[c+((l[t+34>>0]|0)>>>3&255)>>0]=e;break}case 4:{g=k[t+28>>2]|0;n=k[t+32>>2]|0;k[c>>2]=f>>>(g>>>8&255)<<(n>>>8&255)|h>>>(g&255)<<(n&255)|a>>>(g>>>16&255)<<(n>>>16&255)|u>>>(g>>>24)<<(n>>>24);break}default:{}}c=c+v|0;d=d+s|0;e=50;continue}else if((e|0)==50){switch(s|0){case 1:{h=l[d>>0]|0;n=k[r+32>>2]|0;f=k[r+28>>2]|0;e=i[(k[124356+((f>>>16&255)<<2)>>2]|0)+((k[r+20>>2]&h)>>>(n>>>16&255))>>0]|0;g=i[(k[124356+((f>>>8&255)<<2)>>2]|0)+((k[r+16>>2]&h)>>>(n>>>8&255))>>0]|0;n=i[(k[124356+((f&255)<<2)>>2]|0)+((h&k[r+12>>2])>>>(n&255))>>0]|0;break}case 2:{h=m[d>>1]|0;n=k[r+32>>2]|0;f=k[r+28>>2]|0;e=i[(k[124356+((f>>>16&255)<<2)>>2]|0)+((k[r+20>>2]&h)>>>(n>>>16&255))>>0]|0;g=i[(k[124356+((f>>>8&255)<<2)>>2]|0)+((k[r+16>>2]&h)>>>(n>>>8&255))>>0]|0;n=i[(k[124356+((f&255)<<2)>>2]|0)+((h&k[r+12>>2])>>>(n&255))>>0]|0;break}case 3:{n=k[r+32>>2]|0;e=i[d+(n>>>19&31)>>0]|0;g=i[d+(n>>>11&31)>>0]|0;n=i[d+(n>>>3&31)>>0]|0;break}case 4:{h=k[d>>2]|0;n=k[r+32>>2]|0;f=k[r+28>>2]|0;e=i[(k[124356+((f>>>16&255)<<2)>>2]|0)+((k[r+20>>2]&h)>>>(n>>>16&255))>>0]|0;g=i[(k[124356+((f>>>8&255)<<2)>>2]|0)+((k[r+16>>2]&h)>>>(n>>>8&255))>>0]|0;n=i[(k[124356+((f&255)<<2)>>2]|0)+((k[r+12>>2]&h)>>>(n&255))>>0]|0;break}default:{e=0;g=0;n=0}}a=e&255;f=g&255;h=n&255;switch(v|0){case 1:{g=k[t+28>>2]|0;n=k[t+32>>2]|0;i[c>>0]=f>>>(g>>>8&255)<<(n>>>8&255)|h>>>(g&255)<<(n&255)|a>>>(g>>>16&255)<<(n>>>16&255)|u>>>(g>>>24)<<(n>>>24);break}case 2:{g=k[t+28>>2]|0;n=k[t+32>>2]|0;j[c>>1]=f>>>(g>>>8&255)<<(n>>>8&255)|h>>>(g&255)<<(n&255)|a>>>(g>>>16&255)<<(n>>>16&255)|u>>>(g>>>24)<<(n>>>24);break}case 3:{i[c+((l[t+32>>0]|0)>>>3&255)>>0]=n;i[c+((l[t+33>>0]|0)>>>3&255)>>0]=g;i[c+((l[t+34>>0]|0)>>>3&255)>>0]=e;break}case 4:{g=k[t+28>>2]|0;n=k[t+32>>2]|0;k[c>>2]=f>>>(g>>>8&255)<<(n>>>8&255)|h>>>(g&255)<<(n&255)|a>>>(g>>>16&255)<<(n>>>16&255)|u>>>(g>>>24)<<(n>>>24);break}default:{}}c=c+v|0;d=d+s|0;e=61;continue}else if((e|0)==61){switch(s|0){case 1:{h=l[d>>0]|0;n=k[r+32>>2]|0;f=k[r+28>>2]|0;e=i[(k[124356+((f>>>16&255)<<2)>>2]|0)+((k[r+20>>2]&h)>>>(n>>>16&255))>>0]|0;g=i[(k[124356+((f>>>8&255)<<2)>>2]|0)+((k[r+16>>2]&h)>>>(n>>>8&255))>>0]|0;n=i[(k[124356+((f&255)<<2)>>2]|0)+((h&k[r+12>>2])>>>(n&255))>>0]|0;break}case 2:{h=m[d>>1]|0;n=k[r+32>>2]|0;f=k[r+28>>2]|0;e=i[(k[124356+((f>>>16&255)<<2)>>2]|0)+((k[r+20>>2]&h)>>>(n>>>16&255))>>0]|0;g=i[(k[124356+((f>>>8&255)<<2)>>2]|0)+((k[r+16>>2]&h)>>>(n>>>8&255))>>0]|0;n=i[(k[124356+((f&255)<<2)>>2]|0)+((h&k[r+12>>2])>>>(n&255))>>0]|0;break}case 3:{n=k[r+32>>2]|0;e=i[d+(n>>>19&31)>>0]|0;g=i[d+(n>>>11&31)>>0]|0;n=i[d+(n>>>3&31)>>0]|0;break}case 4:{h=k[d>>2]|0;n=k[r+32>>2]|0;f=k[r+28>>2]|0;e=i[(k[124356+((f>>>16&255)<<2)>>2]|0)+((k[r+20>>2]&h)>>>(n>>>16&255))>>0]|0;g=i[(k[124356+((f>>>8&255)<<2)>>2]|0)+((k[r+16>>2]&h)>>>(n>>>8&255))>>0]|0;n=i[(k[124356+((f&255)<<2)>>2]|0)+((k[r+12>>2]&h)>>>(n&255))>>0]|0;break}default:{e=0;g=0;n=0}}a=e&255;f=g&255;h=n&255;switch(v|0){case 1:{g=k[t+28>>2]|0;n=k[t+32>>2]|0;i[c>>0]=f>>>(g>>>8&255)<<(n>>>8&255)|h>>>(g&255)<<(n&255)|a>>>(g>>>16&255)<<(n>>>16&255)|u>>>(g>>>24)<<(n>>>24);break}case 2:{g=k[t+28>>2]|0;n=k[t+32>>2]|0;j[c>>1]=f>>>(g>>>8&255)<<(n>>>8&255)|h>>>(g&255)<<(n&255)|a>>>(g>>>16&255)<<(n>>>16&255)|u>>>(g>>>24)<<(n>>>24);break}case 3:{i[c+((l[t+32>>0]|0)>>>3&255)>>0]=n;i[c+((l[t+33>>0]|0)>>>3&255)>>0]=g;i[c+((l[t+34>>0]|0)>>>3&255)>>0]=e;break}case 4:{g=k[t+28>>2]|0;n=k[t+32>>2]|0;k[c>>2]=f>>>(g>>>8&255)<<(n>>>8&255)|h>>>(g&255)<<(n&255)|a>>>(g>>>16&255)<<(n>>>16&255)|u>>>(g>>>24)<<(n>>>24);break}default:{}}c=c+v|0;d=d+s|0;e=72;continue}else if((e|0)==72){switch(s|0){case 1:{h=l[d>>0]|0;n=k[r+32>>2]|0;f=k[r+28>>2]|0;e=i[(k[124356+((f>>>16&255)<<2)>>2]|0)+((k[r+20>>2]&h)>>>(n>>>16&255))>>0]|0;g=i[(k[124356+((f>>>8&255)<<2)>>2]|0)+((k[r+16>>2]&h)>>>(n>>>8&255))>>0]|0;n=i[(k[124356+((f&255)<<2)>>2]|0)+((h&k[r+12>>2])>>>(n&255))>>0]|0;break}case 2:{h=m[d>>1]|0;n=k[r+32>>2]|0;f=k[r+28>>2]|0;e=i[(k[124356+((f>>>16&255)<<2)>>2]|0)+((k[r+20>>2]&h)>>>(n>>>16&255))>>0]|0;g=i[(k[124356+((f>>>8&255)<<2)>>2]|0)+((k[r+16>>2]&h)>>>(n>>>8&255))>>0]|0;n=i[(k[124356+((f&255)<<2)>>2]|0)+((h&k[r+12>>2])>>>(n&255))>>0]|0;break}case 3:{n=k[r+32>>2]|0;e=i[d+(n>>>19&31)>>0]|0;g=i[d+(n>>>11&31)>>0]|0;n=i[d+(n>>>3&31)>>0]|0;break}case 4:{h=k[d>>2]|0;n=k[r+32>>2]|0;f=k[r+28>>2]|0;e=i[(k[124356+((f>>>16&255)<<2)>>2]|0)+((k[r+20>>2]&h)>>>(n>>>16&255))>>0]|0;g=i[(k[124356+((f>>>8&255)<<2)>>2]|0)+((k[r+16>>2]&h)>>>(n>>>8&255))>>0]|0;n=i[(k[124356+((f&255)<<2)>>2]|0)+((k[r+12>>2]&h)>>>(n&255))>>0]|0;break}default:{e=0;g=0;n=0}}a=e&255;f=g&255;h=n&255;switch(v|0){case 1:{g=k[t+28>>2]|0;n=k[t+32>>2]|0;i[c>>0]=f>>>(g>>>8&255)<<(n>>>8&255)|h>>>(g&255)<<(n&255)|a>>>(g>>>16&255)<<(n>>>16&255)|u>>>(g>>>24)<<(n>>>24);break}case 2:{g=k[t+28>>2]|0;n=k[t+32>>2]|0;j[c>>1]=f>>>(g>>>8&255)<<(n>>>8&255)|h>>>(g&255)<<(n&255)|a>>>(g>>>16&255)<<(n>>>16&255)|u>>>(g>>>24)<<(n>>>24);break}case 3:{i[c+((l[t+32>>0]|0)>>>3&255)>>0]=n;i[c+((l[t+33>>0]|0)>>>3&255)>>0]=g;i[c+((l[t+34>>0]|0)>>>3&255)>>0]=e;break}case 4:{g=k[t+28>>2]|0;n=k[t+32>>2]|0;k[c>>2]=f>>>(g>>>8&255)<<(n>>>8&255)|h>>>(g&255)<<(n&255)|a>>>(g>>>16&255)<<(n>>>16&255)|u>>>(g>>>24)<<(n>>>24);break}default:{}}c=c+v|0;d=d+s|0;e=83;continue}else if((e|0)==83){switch(s|0){case 1:{h=l[d>>0]|0;n=k[r+32>>2]|0;f=k[r+28>>2]|0;e=i[(k[124356+((f>>>16&255)<<2)>>2]|0)+((k[r+20>>2]&h)>>>(n>>>16&255))>>0]|0;g=i[(k[124356+((f>>>8&255)<<2)>>2]|0)+((k[r+16>>2]&h)>>>(n>>>8&255))>>0]|0;n=i[(k[124356+((f&255)<<2)>>2]|0)+((h&k[r+12>>2])>>>(n&255))>>0]|0;break}case 2:{h=m[d>>1]|0;n=k[r+32>>2]|0;f=k[r+28>>2]|0;e=i[(k[124356+((f>>>16&255)<<2)>>2]|0)+((k[r+20>>2]&h)>>>(n>>>16&255))>>0]|0;g=i[(k[124356+((f>>>8&255)<<2)>>2]|0)+((k[r+16>>2]&h)>>>(n>>>8&255))>>0]|0;n=i[(k[124356+((f&255)<<2)>>2]|0)+((h&k[r+12>>2])>>>(n&255))>>0]|0;break}case 3:{n=k[r+32>>2]|0;e=i[d+(n>>>19&31)>>0]|0;g=i[d+(n>>>11&31)>>0]|0;n=i[d+(n>>>3&31)>>0]|0;break}case 4:{h=k[d>>2]|0;n=k[r+32>>2]|0;f=k[r+28>>2]|0;e=i[(k[124356+((f>>>16&255)<<2)>>2]|0)+((k[r+20>>2]&h)>>>(n>>>16&255))>>0]|0;g=i[(k[124356+((f>>>8&255)<<2)>>2]|0)+((k[r+16>>2]&h)>>>(n>>>8&255))>>0]|0;n=i[(k[124356+((f&255)<<2)>>2]|0)+((k[r+12>>2]&h)>>>(n&255))>>0]|0;break}default:{e=0;g=0;n=0}}a=e&255;f=g&255;h=n&255;switch(v|0){case 1:{g=k[t+28>>2]|0;n=k[t+32>>2]|0;i[c>>0]=f>>>(g>>>8&255)<<(n>>>8&255)|h>>>(g&255)<<(n&255)|a>>>(g>>>16&255)<<(n>>>16&255)|u>>>(g>>>24)<<(n>>>24);break}case 2:{g=k[t+28>>2]|0;n=k[t+32>>2]|0;j[c>>1]=f>>>(g>>>8&255)<<(n>>>8&255)|h>>>(g&255)<<(n&255)|a>>>(g>>>16&255)<<(n>>>16&255)|u>>>(g>>>24)<<(n>>>24);break}case 3:{i[c+((l[t+32>>0]|0)>>>3&255)>>0]=n;i[c+((l[t+33>>0]|0)>>>3&255)>>0]=g;i[c+((l[t+34>>0]|0)>>>3&255)>>0]=e;break}case 4:{g=k[t+28>>2]|0;n=k[t+32>>2]|0;k[c>>2]=f>>>(g>>>8&255)<<(n>>>8&255)|h>>>(g&255)<<(n&255)|a>>>(g>>>16&255)<<(n>>>16&255)|u>>>(g>>>24)<<(n>>>24);break}default:{}}a=c+v|0;d=d+s|0;if((o|0)>1){o=o+-1|0;e=6;continue}else break}if(!b){e=96;break}else{c=a+q|0;d=d+w|0}}if((e|0)!=94)if((e|0)==96)return}function U9a(a){a=a|0;V9a(a,125368);return}function V9a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=k[a+24>>2]|0;c=k[a+28>>2]|0;i=k[a+16>>2]|0;j=(k[a+36>>2]|0)/4|0;if(!c)return;d=k[a+20>>2]|0;a=k[a>>2]|0;a:while(1){c=c+-1|0;switch(h&7|0){case 0:{e=(h+7|0)/8|0;g=4;break}case 7:{e=(h+7|0)/8|0;g=5;break}case 6:{e=(h+7|0)/8|0;g=6;break}case 5:{e=(h+7|0)/8|0;g=7;break}case 4:{e=(h+7|0)/8|0;g=8;break}case 3:{e=(h+7|0)/8|0;g=9;break}case 2:{e=(h+7|0)/8|0;g=10;break}case 1:{f=d;e=(h+7|0)/8|0;g=11;break}default:{g=12;break a}}while(1)if((g|0)==4){k[d>>2]=(k[b+(((l[a+1>>0]|0)<<1|1)<<2)>>2]|0)+(k[b+((l[a>>0]|0)<<1<<2)>>2]|0);d=d+4|0;a=a+2|0;g=5;continue}else if((g|0)==5){k[d>>2]=(k[b+(((l[a+1>>0]|0)<<1|1)<<2)>>2]|0)+(k[b+((l[a>>0]|0)<<1<<2)>>2]|0);d=d+4|0;a=a+2|0;g=6;continue}else if((g|0)==6){k[d>>2]=(k[b+(((l[a+1>>0]|0)<<1|1)<<2)>>2]|0)+(k[b+((l[a>>0]|0)<<1<<2)>>2]|0);d=d+4|0;a=a+2|0;g=7;continue}else if((g|0)==7){k[d>>2]=(k[b+(((l[a+1>>0]|0)<<1|1)<<2)>>2]|0)+(k[b+((l[a>>0]|0)<<1<<2)>>2]|0);d=d+4|0;a=a+2|0;g=8;continue}else if((g|0)==8){k[d>>2]=(k[b+(((l[a+1>>0]|0)<<1|1)<<2)>>2]|0)+(k[b+((l[a>>0]|0)<<1<<2)>>2]|0);d=d+4|0;a=a+2|0;g=9;continue}else if((g|0)==9){k[d>>2]=(k[b+(((l[a+1>>0]|0)<<1|1)<<2)>>2]|0)+(k[b+((l[a>>0]|0)<<1<<2)>>2]|0);d=d+4|0;a=a+2|0;g=10;continue}else if((g|0)==10){k[d>>2]=(k[b+(((l[a+1>>0]|0)<<1|1)<<2)>>2]|0)+(k[b+((l[a>>0]|0)<<1<<2)>>2]|0);f=d+4|0;a=a+2|0;g=11;continue}else if((g|0)==11){d=f+4|0;k[f>>2]=(k[b+(((l[a+1>>0]|0)<<1|1)<<2)>>2]|0)+(k[b+((l[a>>0]|0)<<1<<2)>>2]|0);a=a+2|0;if((e|0)>1){e=e+-1|0;g=4;continue}else break}if(!c){g=14;break}else{d=d+(j<<2)|0;a=a+i|0}}if((g|0)!=12)if((g|0)==14)return}function W9a(a){a=a|0;V9a(a,127416);return}function X9a(a){a=a|0;V9a(a,129464);return}function Y9a(a){a=a|0;V9a(a,131512);return}function Z9a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=k[a+24>>2]|0;b=k[a+28>>2]|0;g=(k[a+16>>2]|0)/4|0;h=(k[a+36>>2]|0)/2|0;if(!b)return;c=k[a+20>>2]|0;a=k[a>>2]|0;a:while(1){b=b+-1|0;switch(f&7|0){case 0:{d=(f+7|0)/8|0;e=4;break}case 7:{d=(f+7|0)/8|0;e=5;break}case 6:{d=(f+7|0)/8|0;e=6;break}case 5:{d=(f+7|0)/8|0;e=7;break}case 4:{d=(f+7|0)/8|0;e=8;break}case 3:{d=(f+7|0)/8|0;e=9;break}case 2:{d=(f+7|0)/8|0;e=10;break}case 1:{d=(f+7|0)/8|0;e=11;break}default:{e=12;break a}}while(1)if((e|0)==4){i=k[a>>2]|0;j[c>>1]=i>>>8&63488|i>>>5&2016|i>>>3&31;c=c+2|0;a=a+4|0;e=5;continue}else if((e|0)==5){i=k[a>>2]|0;j[c>>1]=i>>>8&63488|i>>>5&2016|i>>>3&31;c=c+2|0;a=a+4|0;e=6;continue}else if((e|0)==6){i=k[a>>2]|0;j[c>>1]=i>>>8&63488|i>>>5&2016|i>>>3&31;c=c+2|0;a=a+4|0;e=7;continue}else if((e|0)==7){i=k[a>>2]|0;j[c>>1]=i>>>8&63488|i>>>5&2016|i>>>3&31;c=c+2|0;a=a+4|0;e=8;continue}else if((e|0)==8){i=k[a>>2]|0;j[c>>1]=i>>>8&63488|i>>>5&2016|i>>>3&31;c=c+2|0;a=a+4|0;e=9;continue}else if((e|0)==9){i=k[a>>2]|0;j[c>>1]=i>>>8&63488|i>>>5&2016|i>>>3&31;c=c+2|0;a=a+4|0;e=10;continue}else if((e|0)==10){i=k[a>>2]|0;j[c>>1]=i>>>8&63488|i>>>5&2016|i>>>3&31;c=c+2|0;a=a+4|0;e=11;continue}else if((e|0)==11){i=k[a>>2]|0;j[c>>1]=i>>>8&63488|i>>>5&2016|i>>>3&31;a=a+4|0;c=c+2|0;if((d|0)>1){d=d+-1|0;e=4;continue}else break}if(!b){e=14;break}else{c=c+(h<<1)|0;a=a+(g<<2)|0}}if((e|0)!=12)if((e|0)==14)return}function _9a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=k[a+24>>2]|0;b=k[a+28>>2]|0;g=(k[a+16>>2]|0)/4|0;h=(k[a+36>>2]|0)/2|0;if(!b)return;c=k[a+20>>2]|0;a=k[a>>2]|0;a:while(1){b=b+-1|0;switch(f&7|0){case 0:{d=(f+7|0)/8|0;e=4;break}case 7:{d=(f+7|0)/8|0;e=5;break}case 6:{d=(f+7|0)/8|0;e=6;break}case 5:{d=(f+7|0)/8|0;e=7;break}case 4:{d=(f+7|0)/8|0;e=8;break}case 3:{d=(f+7|0)/8|0;e=9;break}case 2:{d=(f+7|0)/8|0;e=10;break}case 1:{d=(f+7|0)/8|0;e=11;break}default:{e=12;break a}}while(1)if((e|0)==4){i=k[a>>2]|0;j[c>>1]=i>>>9&31744|i>>>6&992|i>>>3&31;c=c+2|0;a=a+4|0;e=5;continue}else if((e|0)==5){i=k[a>>2]|0;j[c>>1]=i>>>9&31744|i>>>6&992|i>>>3&31;c=c+2|0;a=a+4|0;e=6;continue}else if((e|0)==6){i=k[a>>2]|0;j[c>>1]=i>>>9&31744|i>>>6&992|i>>>3&31;c=c+2|0;a=a+4|0;e=7;continue}else if((e|0)==7){i=k[a>>2]|0;j[c>>1]=i>>>9&31744|i>>>6&992|i>>>3&31;c=c+2|0;a=a+4|0;e=8;continue}else if((e|0)==8){i=k[a>>2]|0;j[c>>1]=i>>>9&31744|i>>>6&992|i>>>3&31;c=c+2|0;a=a+4|0;e=9;continue}else if((e|0)==9){i=k[a>>2]|0;j[c>>1]=i>>>9&31744|i>>>6&992|i>>>3&31;c=c+2|0;a=a+4|0;e=10;continue}else if((e|0)==10){i=k[a>>2]|0;j[c>>1]=i>>>9&31744|i>>>6&992|i>>>3&31;c=c+2|0;a=a+4|0;e=11;continue}else if((e|0)==11){i=k[a>>2]|0;j[c>>1]=i>>>9&31744|i>>>6&992|i>>>3&31;a=a+4|0;c=c+2|0;if((d|0)>1){d=d+-1|0;e=4;continue}else break}if(!b){e=14;break}else{c=c+(h<<1)|0;a=a+(g<<2)|0}}if((e|0)!=12)if((e|0)==14)return}function $9a(){var a=0,b=0;b=r;r=r+16|0;a=k[33430]|0;if((a|0)==-1){k[33430]=0;k[b>>2]=0;a=k[33430]|0;if(k[b>>2]|0){k[33430]=a|2;a=a|2}}r=b;return a>>>2&1|0}function aab(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0;h=k[a+24>>2]|0;b=k[a+28>>2]|0;d=k[a>>2]|0;l=k[a+16>>2]|0;c=k[a+20>>2]|0;i=k[a+36>>2]|0;if(!b)return;j=(h+7|0)/8|0;switch(h&7|0){case 0:{e=b+-1|0;a=c;b=d;while(1){c=j;while(1){k[a>>2]=k[b>>2];k[a+4>>2]=k[b+4>>2];k[a+8>>2]=k[b+8>>2];k[a+12>>2]=k[b+12>>2];k[a+16>>2]=k[b+16>>2];k[a+20>>2]=k[b+20>>2];k[a+24>>2]=k[b+24>>2];k[a+28>>2]=k[b+28>>2];a=a+32|0;b=b+32|0;if((c|0)>1)c=c+-1|0;else break}if(!e)break;else{e=e+-1|0;a=a+i|0;b=b+l|0}}return}case 7:{f=b+-1|0;while(1){k[c>>2]=k[d>>2];k[c+4>>2]=k[d+4>>2];k[c+8>>2]=k[d+8>>2];k[c+12>>2]=k[d+12>>2];k[c+16>>2]=k[d+16>>2];k[c+20>>2]=k[d+20>>2];k[c+24>>2]=k[d+24>>2];b=c+28|0;a=d+28|0;if((h+7|0)>15){e=j;while(1){e=e+-1|0;k[b>>2]=k[a>>2];b=c;c=c+32|0;a=d;d=d+32|0;k[c>>2]=k[d>>2];k[b+36>>2]=k[a+36>>2];k[b+40>>2]=k[a+40>>2];k[b+44>>2]=k[a+44>>2];k[b+48>>2]=k[a+48>>2];k[b+52>>2]=k[a+52>>2];k[b+56>>2]=k[a+56>>2];if((e|0)<=1){b=b+60|0;a=a+60|0;break}else{a=a+60|0;b=b+60|0}}}if(!f)break;else{f=f+-1|0;c=b+i|0;d=a+l|0}}return}default:{g=b+-1|0;a=c;b=d;a:while(1){switch(h&7|0){case 1:{e=j;d=b;f=17;break}case 2:{c=j;f=16;break}case 6:{c=j;f=12;break}case 5:{c=j;f=13;break}case 4:{c=j;f=14;break}case 3:{c=j;f=15;break}default:{f=18;break a}}while(1)if((f|0)==12){k[a>>2]=k[b>>2];a=a+4|0;b=b+4|0;f=13;continue}else if((f|0)==13){k[a>>2]=k[b>>2];a=a+4|0;b=b+4|0;f=14;continue}else if((f|0)==14){k[a>>2]=k[b>>2];a=a+4|0;b=b+4|0;f=15;continue}else if((f|0)==15){k[a>>2]=k[b>>2];a=a+4|0;b=b+4|0;f=16;continue}else if((f|0)==16){k[a>>2]=k[b>>2];a=a+4|0;e=c;d=b+4|0;f=17;continue}else if((f|0)==17){k[a>>2]=k[d>>2];b=a+4|0;c=d+4|0;if((e|0)<=1)break;k[b>>2]=k[c>>2];k[a+8>>2]=k[d+8>>2];a=a+12|0;c=e+-1|0;b=d+12|0;f=12;continue}if(!g){f=20;break}else{g=g+-1|0;a=b+i|0;b=c+l|0}}if((f|0)!=18)if((f|0)==20)return}}}function bab(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;s=k[a+24>>2]|0;b=k[a+28>>2]|0;y=k[a+16>>2]|0;z=k[a+36>>2]|0;A=k[a+40>>2]|0;t=l[A+9>>0]|0;u=k[a+44>>2]|0;v=l[u+9>>0]|0;if(!b)return;w=ha(s,t)|0;x=ha(s,v)|0;c=k[a+20>>2]|0;d=k[a>>2]|0;while(1){b=b+-1|0;if(!s)a=d;else{a=d+w|0;q=s;r=c;while(1){switch(t|0){case 1:{h=l[d>>0]|0;p=k[A+32>>2]|0;g=k[A+28>>2]|0;e=i[(k[124356+(g>>>24<<2)>>2]|0)+((k[A+24>>2]&h)>>>(p>>>24))>>0]|0;n=i[(k[124356+((g>>>16&255)<<2)>>2]|0)+((k[A+20>>2]&h)>>>(p>>>16&255))>>0]|0;o=i[(k[124356+((g>>>8&255)<<2)>>2]|0)+((k[A+16>>2]&h)>>>(p>>>8&255))>>0]|0;p=i[(k[124356+((g&255)<<2)>>2]|0)+((h&k[A+12>>2])>>>(p&255))>>0]|0;break}case 2:{h=m[d>>1]|0;p=k[A+32>>2]|0;g=k[A+28>>2]|0;e=i[(k[124356+(g>>>24<<2)>>2]|0)+((k[A+24>>2]&h)>>>(p>>>24))>>0]|0;n=i[(k[124356+((g>>>16&255)<<2)>>2]|0)+((k[A+20>>2]&h)>>>(p>>>16&255))>>0]|0;o=i[(k[124356+((g>>>8&255)<<2)>>2]|0)+((k[A+16>>2]&h)>>>(p>>>8&255))>>0]|0;p=i[(k[124356+((g&255)<<2)>>2]|0)+((h&k[A+12>>2])>>>(p&255))>>0]|0;break}case 3:{p=k[A+32>>2]|0;e=-1;n=i[d+(p>>>19&31)>>0]|0;o=i[d+(p>>>11&31)>>0]|0;p=i[d+(p>>>3&31)>>0]|0;break}case 4:{h=k[d>>2]|0;p=k[A+32>>2]|0;g=k[A+28>>2]|0;e=i[(k[124356+(g>>>24<<2)>>2]|0)+((k[A+24>>2]&h)>>>(p>>>24))>>0]|0;n=i[(k[124356+((g>>>16&255)<<2)>>2]|0)+((k[A+20>>2]&h)>>>(p>>>16&255))>>0]|0;o=i[(k[124356+((g>>>8&255)<<2)>>2]|0)+((k[A+16>>2]&h)>>>(p>>>8&255))>>0]|0;p=i[(k[124356+((g&255)<<2)>>2]|0)+((k[A+12>>2]&h)>>>(p&255))>>0]|0;break}default:{e=0;n=0;o=0;p=0}}e=e&255;f=n&255;g=o&255;h=p&255;switch(v|0){case 1:{o=k[u+28>>2]|0;p=k[u+32>>2]|0;i[r>>0]=g>>>(o>>>8&255)<<(p>>>8&255)|h>>>(o&255)<<(p&255)|f>>>(o>>>16&255)<<(p>>>16&255)|e>>>(o>>>24)<<(p>>>24);break}case 2:{o=k[u+28>>2]|0;p=k[u+32>>2]|0;j[r>>1]=g>>>(o>>>8&255)<<(p>>>8&255)|h>>>(o&255)<<(p&255)|f>>>(o>>>16&255)<<(p>>>16&255)|e>>>(o>>>24)<<(p>>>24);break}case 3:{i[r+((l[u+32>>0]|0)>>>3&255)>>0]=p;i[r+((l[u+33>>0]|0)>>>3&255)>>0]=o;i[r+((l[u+34>>0]|0)>>>3&255)>>0]=n;break}case 4:{o=k[u+28>>2]|0;p=k[u+32>>2]|0;k[r>>2]=g>>>(o>>>8&255)<<(p>>>8&255)|h>>>(o&255)<<(p&255)|f>>>(o>>>16&255)<<(p>>>16&255)|e>>>(o>>>24)<<(p>>>24);break}default:{}}q=q+-1|0;if(!q)break;else{r=r+v|0;d=d+t|0}}c=c+x|0}if(!b)break;else{c=c+z|0;d=a+y|0}}return}function cab(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;h=k[a+24>>2]|0;b=k[a+28>>2]|0;v=k[a+16>>2]|0;n=k[a+36>>2]|0;p=k[a+40>>2]|0;q=k[a+44>>2]|0;r=l[p+9>>0]|0;s=l[q+9>>0]|0;if(!(k[q+24>>2]|0))o=0;else o=l[a+63>>0]|0;t=~k[p+24>>2];u=k[a+56>>2]&t;if(!b)return;c=k[a+20>>2]|0;d=k[a>>2]|0;a:while(1){b=b+-1|0;switch(h&7|0){case 0:{a=c;g=(h+7|0)/8|0;e=6;break}case 7:{g=(h+7|0)/8|0;e=18;break}case 6:{g=(h+7|0)/8|0;e=30;break}case 5:{g=(h+7|0)/8|0;e=42;break}case 4:{g=(h+7|0)/8|0;e=54;break}case 3:{g=(h+7|0)/8|0;e=66;break}case 2:{g=(h+7|0)/8|0;e=78;break}case 1:{g=(h+7|0)/8|0;e=90;break}default:{e=102;break a}}while(1)if((e|0)==6){switch(r|0){case 1:{c=l[d>>0]|0;break}case 2:{c=m[d>>1]|0;break}case 3:{c=(l[d+1>>0]|0)<<8|(l[d>>0]|0)|(l[d+2>>0]|0)<<16;break}case 4:{c=k[d>>2]|0;break}default:c=0}b:do if((c&t|0)!=(u|0)){w=k[p+32>>2]|0;x=k[p+28>>2]|0;e=i[(k[124356+((x&255)<<2)>>2]|0)+((k[p+12>>2]&c)>>>(w&255))>>0]|0;f=i[(k[124356+((x>>>8&255)<<2)>>2]|0)+((k[p+16>>2]&c)>>>(w>>>8&255))>>0]|0;c=i[(k[124356+((x>>>16&255)<<2)>>2]|0)+((k[p+20>>2]&c)>>>(w>>>16&255))>>0]|0;switch(s|0){case 1:{w=k[q+28>>2]|0;x=k[q+32>>2]|0;i[a>>0]=(f&255)>>>(w>>>8&255)<<(x>>>8&255)|(e&255)>>>(w&255)<<(x&255)|(c&255)>>>(w>>>16&255)<<(x>>>16&255)|o>>>(w>>>24)<<(x>>>24);break b}case 2:{w=k[q+28>>2]|0;x=k[q+32>>2]|0;j[a>>1]=(f&255)>>>(w>>>8&255)<<(x>>>8&255)|(e&255)>>>(w&255)<<(x&255)|(c&255)>>>(w>>>16&255)<<(x>>>16&255)|o>>>(w>>>24)<<(x>>>24);break b}case 3:{i[a+((l[q+32>>0]|0)>>>3&255)>>0]=e;i[a+((l[q+33>>0]|0)>>>3&255)>>0]=f;i[a+((l[q+34>>0]|0)>>>3&255)>>0]=c;break b}case 4:{w=k[q+28>>2]|0;x=k[q+32>>2]|0;k[a>>2]=(f&255)>>>(w>>>8&255)<<(x>>>8&255)|(e&255)>>>(w&255)<<(x&255)|(c&255)>>>(w>>>16&255)<<(x>>>16&255)|o>>>(w>>>24)<<(x>>>24);break b}default:break b}}while(0);c=a+s|0;d=d+r|0;e=18;continue}else if((e|0)==18){switch(r|0){case 1:{a=l[d>>0]|0;break}case 2:{a=m[d>>1]|0;break}case 3:{a=(l[d+1>>0]|0)<<8|(l[d>>0]|0)|(l[d+2>>0]|0)<<16;break}case 4:{a=k[d>>2]|0;break}default:a=0}c:do if((a&t|0)!=(u|0)){x=k[p+32>>2]|0;w=k[p+28>>2]|0;e=i[(k[124356+((w&255)<<2)>>2]|0)+((k[p+12>>2]&a)>>>(x&255))>>0]|0;f=i[(k[124356+((w>>>8&255)<<2)>>2]|0)+((k[p+16>>2]&a)>>>(x>>>8&255))>>0]|0;a=i[(k[124356+((w>>>16&255)<<2)>>2]|0)+((k[p+20>>2]&a)>>>(x>>>16&255))>>0]|0;switch(s|0){case 1:{w=k[q+28>>2]|0;x=k[q+32>>2]|0;i[c>>0]=(f&255)>>>(w>>>8&255)<<(x>>>8&255)|(e&255)>>>(w&255)<<(x&255)|(a&255)>>>(w>>>16&255)<<(x>>>16&255)|o>>>(w>>>24)<<(x>>>24);break c}case 2:{w=k[q+28>>2]|0;x=k[q+32>>2]|0;j[c>>1]=(f&255)>>>(w>>>8&255)<<(x>>>8&255)|(e&255)>>>(w&255)<<(x&255)|(a&255)>>>(w>>>16&255)<<(x>>>16&255)|o>>>(w>>>24)<<(x>>>24);break c}case 3:{i[c+((l[q+32>>0]|0)>>>3&255)>>0]=e;i[c+((l[q+33>>0]|0)>>>3&255)>>0]=f;i[c+((l[q+34>>0]|0)>>>3&255)>>0]=a;break c}case 4:{w=k[q+28>>2]|0;x=k[q+32>>2]|0;k[c>>2]=(f&255)>>>(w>>>8&255)<<(x>>>8&255)|(e&255)>>>(w&255)<<(x&255)|(a&255)>>>(w>>>16&255)<<(x>>>16&255)|o>>>(w>>>24)<<(x>>>24);break c}default:break c}}while(0);c=c+s|0;d=d+r|0;e=30;continue}else if((e|0)==30){switch(r|0){case 1:{a=l[d>>0]|0;break}case 2:{a=m[d>>1]|0;break}case 3:{a=(l[d+1>>0]|0)<<8|(l[d>>0]|0)|(l[d+2>>0]|0)<<16;break}case 4:{a=k[d>>2]|0;break}default:a=0}d:do if((a&t|0)!=(u|0)){x=k[p+32>>2]|0;w=k[p+28>>2]|0;e=i[(k[124356+((w&255)<<2)>>2]|0)+((k[p+12>>2]&a)>>>(x&255))>>0]|0;f=i[(k[124356+((w>>>8&255)<<2)>>2]|0)+((k[p+16>>2]&a)>>>(x>>>8&255))>>0]|0;a=i[(k[124356+((w>>>16&255)<<2)>>2]|0)+((k[p+20>>2]&a)>>>(x>>>16&255))>>0]|0;switch(s|0){case 1:{w=k[q+28>>2]|0;x=k[q+32>>2]|0;i[c>>0]=(f&255)>>>(w>>>8&255)<<(x>>>8&255)|(e&255)>>>(w&255)<<(x&255)|(a&255)>>>(w>>>16&255)<<(x>>>16&255)|o>>>(w>>>24)<<(x>>>24);break d}case 2:{w=k[q+28>>2]|0;x=k[q+32>>2]|0;j[c>>1]=(f&255)>>>(w>>>8&255)<<(x>>>8&255)|(e&255)>>>(w&255)<<(x&255)|(a&255)>>>(w>>>16&255)<<(x>>>16&255)|o>>>(w>>>24)<<(x>>>24);break d}case 3:{i[c+((l[q+32>>0]|0)>>>3&255)>>0]=e;i[c+((l[q+33>>0]|0)>>>3&255)>>0]=f;i[c+((l[q+34>>0]|0)>>>3&255)>>0]=a;break d}case 4:{w=k[q+28>>2]|0;x=k[q+32>>2]|0;k[c>>2]=(f&255)>>>(w>>>8&255)<<(x>>>8&255)|(e&255)>>>(w&255)<<(x&255)|(a&255)>>>(w>>>16&255)<<(x>>>16&255)|o>>>(w>>>24)<<(x>>>24);break d}default:break d}}while(0);c=c+s|0;d=d+r|0;e=42;continue}else if((e|0)==42){switch(r|0){case 1:{a=l[d>>0]|0;break}case 2:{a=m[d>>1]|0;break}case 3:{a=(l[d+1>>0]|0)<<8|(l[d>>0]|0)|(l[d+2>>0]|0)<<16;break}case 4:{a=k[d>>2]|0;break}default:a=0}e:do if((a&t|0)!=(u|0)){x=k[p+32>>2]|0;w=k[p+28>>2]|0;e=i[(k[124356+((w&255)<<2)>>2]|0)+((k[p+12>>2]&a)>>>(x&255))>>0]|0;f=i[(k[124356+((w>>>8&255)<<2)>>2]|0)+((k[p+16>>2]&a)>>>(x>>>8&255))>>0]|0;a=i[(k[124356+((w>>>16&255)<<2)>>2]|0)+((k[p+20>>2]&a)>>>(x>>>16&255))>>0]|0;switch(s|0){case 1:{w=k[q+28>>2]|0;x=k[q+32>>2]|0;i[c>>0]=(f&255)>>>(w>>>8&255)<<(x>>>8&255)|(e&255)>>>(w&255)<<(x&255)|(a&255)>>>(w>>>16&255)<<(x>>>16&255)|o>>>(w>>>24)<<(x>>>24);break e}case 2:{w=k[q+28>>2]|0;x=k[q+32>>2]|0;j[c>>1]=(f&255)>>>(w>>>8&255)<<(x>>>8&255)|(e&255)>>>(w&255)<<(x&255)|(a&255)>>>(w>>>16&255)<<(x>>>16&255)|o>>>(w>>>24)<<(x>>>24);break e}case 3:{i[c+((l[q+32>>0]|0)>>>3&255)>>0]=e;i[c+((l[q+33>>0]|0)>>>3&255)>>0]=f;i[c+((l[q+34>>0]|0)>>>3&255)>>0]=a;break e}case 4:{w=k[q+28>>2]|0;x=k[q+32>>2]|0;k[c>>2]=(f&255)>>>(w>>>8&255)<<(x>>>8&255)|(e&255)>>>(w&255)<<(x&255)|(a&255)>>>(w>>>16&255)<<(x>>>16&255)|o>>>(w>>>24)<<(x>>>24);break e}default:break e}}while(0);c=c+s|0;d=d+r|0;e=54;continue}else if((e|0)==54){switch(r|0){case 1:{a=l[d>>0]|0;break}case 2:{a=m[d>>1]|0;break}case 3:{a=(l[d+1>>0]|0)<<8|(l[d>>0]|0)|(l[d+2>>0]|0)<<16;break}case 4:{a=k[d>>2]|0;break}default:a=0}f:do if((a&t|0)!=(u|0)){x=k[p+32>>2]|0;w=k[p+28>>2]|0;e=i[(k[124356+((w&255)<<2)>>2]|0)+((k[p+12>>2]&a)>>>(x&255))>>0]|0;f=i[(k[124356+((w>>>8&255)<<2)>>2]|0)+((k[p+16>>2]&a)>>>(x>>>8&255))>>0]|0;a=i[(k[124356+((w>>>16&255)<<2)>>2]|0)+((k[p+20>>2]&a)>>>(x>>>16&255))>>0]|0;switch(s|0){case 1:{w=k[q+28>>2]|0;x=k[q+32>>2]|0;i[c>>0]=(f&255)>>>(w>>>8&255)<<(x>>>8&255)|(e&255)>>>(w&255)<<(x&255)|(a&255)>>>(w>>>16&255)<<(x>>>16&255)|o>>>(w>>>24)<<(x>>>24);break f}case 2:{w=k[q+28>>2]|0;x=k[q+32>>2]|0;j[c>>1]=(f&255)>>>(w>>>8&255)<<(x>>>8&255)|(e&255)>>>(w&255)<<(x&255)|(a&255)>>>(w>>>16&255)<<(x>>>16&255)|o>>>(w>>>24)<<(x>>>24);break f}case 3:{i[c+((l[q+32>>0]|0)>>>3&255)>>0]=e;i[c+((l[q+33>>0]|0)>>>3&255)>>0]=f;i[c+((l[q+34>>0]|0)>>>3&255)>>0]=a;break f}case 4:{w=k[q+28>>2]|0;x=k[q+32>>2]|0;k[c>>2]=(f&255)>>>(w>>>8&255)<<(x>>>8&255)|(e&255)>>>(w&255)<<(x&255)|(a&255)>>>(w>>>16&255)<<(x>>>16&255)|o>>>(w>>>24)<<(x>>>24);break f}default:break f}}while(0);c=c+s|0;d=d+r|0;e=66;continue}else if((e|0)==66){switch(r|0){case 1:{a=l[d>>0]|0;break}case 2:{a=m[d>>1]|0;break}case 3:{a=(l[d+1>>0]|0)<<8|(l[d>>0]|0)|(l[d+2>>0]|0)<<16;break}case 4:{a=k[d>>2]|0;break}default:a=0}g:do if((a&t|0)!=(u|0)){x=k[p+32>>2]|0;w=k[p+28>>2]|0;e=i[(k[124356+((w&255)<<2)>>2]|0)+((k[p+12>>2]&a)>>>(x&255))>>0]|0;f=i[(k[124356+((w>>>8&255)<<2)>>2]|0)+((k[p+16>>2]&a)>>>(x>>>8&255))>>0]|0;a=i[(k[124356+((w>>>16&255)<<2)>>2]|0)+((k[p+20>>2]&a)>>>(x>>>16&255))>>0]|0;switch(s|0){case 1:{w=k[q+28>>2]|0;x=k[q+32>>2]|0;i[c>>0]=(f&255)>>>(w>>>8&255)<<(x>>>8&255)|(e&255)>>>(w&255)<<(x&255)|(a&255)>>>(w>>>16&255)<<(x>>>16&255)|o>>>(w>>>24)<<(x>>>24);break g}case 2:{w=k[q+28>>2]|0;x=k[q+32>>2]|0;j[c>>1]=(f&255)>>>(w>>>8&255)<<(x>>>8&255)|(e&255)>>>(w&255)<<(x&255)|(a&255)>>>(w>>>16&255)<<(x>>>16&255)|o>>>(w>>>24)<<(x>>>24);break g}case 3:{i[c+((l[q+32>>0]|0)>>>3&255)>>0]=e;i[c+((l[q+33>>0]|0)>>>3&255)>>0]=f;i[c+((l[q+34>>0]|0)>>>3&255)>>0]=a;break g}case 4:{w=k[q+28>>2]|0;x=k[q+32>>2]|0;k[c>>2]=(f&255)>>>(w>>>8&255)<<(x>>>8&255)|(e&255)>>>(w&255)<<(x&255)|(a&255)>>>(w>>>16&255)<<(x>>>16&255)|o>>>(w>>>24)<<(x>>>24);break g}default:break g}}while(0);c=c+s|0;d=d+r|0;e=78;continue}else if((e|0)==78){switch(r|0){case 1:{a=l[d>>0]|0;break}case 2:{a=m[d>>1]|0;break}case 3:{a=(l[d+1>>0]|0)<<8|(l[d>>0]|0)|(l[d+2>>0]|0)<<16;break}case 4:{a=k[d>>2]|0;break}default:a=0}h:do if((a&t|0)!=(u|0)){x=k[p+32>>2]|0;w=k[p+28>>2]|0;e=i[(k[124356+((w&255)<<2)>>2]|0)+((k[p+12>>2]&a)>>>(x&255))>>0]|0;f=i[(k[124356+((w>>>8&255)<<2)>>2]|0)+((k[p+16>>2]&a)>>>(x>>>8&255))>>0]|0;a=i[(k[124356+((w>>>16&255)<<2)>>2]|0)+((k[p+20>>2]&a)>>>(x>>>16&255))>>0]|0;switch(s|0){case 1:{w=k[q+28>>2]|0;x=k[q+32>>2]|0;i[c>>0]=(f&255)>>>(w>>>8&255)<<(x>>>8&255)|(e&255)>>>(w&255)<<(x&255)|(a&255)>>>(w>>>16&255)<<(x>>>16&255)|o>>>(w>>>24)<<(x>>>24);break h}case 2:{w=k[q+28>>2]|0;x=k[q+32>>2]|0;j[c>>1]=(f&255)>>>(w>>>8&255)<<(x>>>8&255)|(e&255)>>>(w&255)<<(x&255)|(a&255)>>>(w>>>16&255)<<(x>>>16&255)|o>>>(w>>>24)<<(x>>>24);break h}case 3:{i[c+((l[q+32>>0]|0)>>>3&255)>>0]=e;i[c+((l[q+33>>0]|0)>>>3&255)>>0]=f;i[c+((l[q+34>>0]|0)>>>3&255)>>0]=a;break h}case 4:{w=k[q+28>>2]|0;x=k[q+32>>2]|0;k[c>>2]=(f&255)>>>(w>>>8&255)<<(x>>>8&255)|(e&255)>>>(w&255)<<(x&255)|(a&255)>>>(w>>>16&255)<<(x>>>16&255)|o>>>(w>>>24)<<(x>>>24);break h}default:break h}}while(0);c=c+s|0;d=d+r|0;e=90;continue}else if((e|0)==90){switch(r|0){case 1:{a=l[d>>0]|0;break}case 2:{a=m[d>>1]|0;break}case 3:{a=(l[d+1>>0]|0)<<8|(l[d>>0]|0)|(l[d+2>>0]|0)<<16;break}case 4:{a=k[d>>2]|0;break}default:a=0}i:do if((a&t|0)!=(u|0)){x=k[p+32>>2]|0;w=k[p+28>>2]|0;e=i[(k[124356+((w&255)<<2)>>2]|0)+((k[p+12>>2]&a)>>>(x&255))>>0]|0;f=i[(k[124356+((w>>>8&255)<<2)>>2]|0)+((k[p+16>>2]&a)>>>(x>>>8&255))>>0]|0;a=i[(k[124356+((w>>>16&255)<<2)>>2]|0)+((k[p+20>>2]&a)>>>(x>>>16&255))>>0]|0;switch(s|0){case 1:{w=k[q+28>>2]|0;x=k[q+32>>2]|0;i[c>>0]=(f&255)>>>(w>>>8&255)<<(x>>>8&255)|(e&255)>>>(w&255)<<(x&255)|(a&255)>>>(w>>>16&255)<<(x>>>16&255)|o>>>(w>>>24)<<(x>>>24);break i}case 2:{w=k[q+28>>2]|0;x=k[q+32>>2]|0;j[c>>1]=(f&255)>>>(w>>>8&255)<<(x>>>8&255)|(e&255)>>>(w&255)<<(x&255)|(a&255)>>>(w>>>16&255)<<(x>>>16&255)|o>>>(w>>>24)<<(x>>>24);break i}case 3:{i[c+((l[q+32>>0]|0)>>>3&255)>>0]=e;i[c+((l[q+33>>0]|0)>>>3&255)>>0]=f;i[c+((l[q+34>>0]|0)>>>3&255)>>0]=a;break i}case 4:{w=k[q+28>>2]|0;x=k[q+32>>2]|0;k[c>>2]=(f&255)>>>(w>>>8&255)<<(x>>>8&255)|(e&255)>>>(w&255)<<(x&255)|(a&255)>>>(w>>>16&255)<<(x>>>16&255)|o>>>(w>>>24)<<(x>>>24);break i}default:break i}}while(0);a=c+s|0;d=d+r|0;if((g|0)>1){g=g+-1|0;e=6;continue}else break}if(!b){e=104;break}else{c=a+n|0;d=d+v|0}}if((e|0)!=102)if((e|0)==104)return}function dab(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0;fa=k[a+24>>2]|0;d=k[a+28>>2]|0;b=k[a>>2]|0;ha=k[a+16>>2]|0;c=k[a+20>>2]|0;ga=k[a+36>>2]|0;Y=k[a+48>>2]|0;da=k[a+40>>2]|0;ea=l[da+9>>0]|0;if(!Y){if(!d)return;d=d+-1|0;a:while(1){switch(fa&7|0){case 0:{Z=c;$=(fa+7|0)/8|0;ba=b;b=7;break}case 7:{p=c;w=(fa+7|0)/8|0;R=b;b=13;break}case 6:{q=c;x=(fa+7|0)/8|0;S=b;b=19;break}case 5:{r=c;y=(fa+7|0)/8|0;T=b;b=25;break}case 4:{s=c;z=(fa+7|0)/8|0;U=b;b=31;break}case 3:{t=c;A=(fa+7|0)/8|0;V=b;b=37;break}case 2:{u=c;B=(fa+7|0)/8|0;W=b;b=43;break}case 1:{v=c;C=(fa+7|0)/8|0;X=b;b=49;break}default:{b=55;break a}}while(1)if((b|0)==7){switch(ea|0){case 1:{ca=l[ba>>0]|0;c=k[da+32>>2]|0;aa=k[da+28>>2]|0;b=i[(k[124356+((aa>>>16&255)<<2)>>2]|0)+((k[da+20>>2]&ca)>>>(c>>>16&255))>>0]|0;a=i[(k[124356+((aa>>>8&255)<<2)>>2]|0)+((k[da+16>>2]&ca)>>>(c>>>8&255))>>0]|0;c=i[(k[124356+((aa&255)<<2)>>2]|0)+((ca&k[da+12>>2])>>>(c&255))>>0]|0;break}case 2:{ca=m[ba>>1]|0;c=k[da+32>>2]|0;aa=k[da+28>>2]|0;b=i[(k[124356+((aa>>>16&255)<<2)>>2]|0)+((k[da+20>>2]&ca)>>>(c>>>16&255))>>0]|0;a=i[(k[124356+((aa>>>8&255)<<2)>>2]|0)+((k[da+16>>2]&ca)>>>(c>>>8&255))>>0]|0;c=i[(k[124356+((aa&255)<<2)>>2]|0)+((ca&k[da+12>>2])>>>(c&255))>>0]|0;break}case 3:{c=k[da+32>>2]|0;b=i[ba+(c>>>19&31)>>0]|0;a=i[ba+(c>>>11&31)>>0]|0;c=i[ba+(c>>>3&31)>>0]|0;break}case 4:{ca=k[ba>>2]|0;c=k[da+32>>2]|0;aa=k[da+28>>2]|0;b=i[(k[124356+((aa>>>16&255)<<2)>>2]|0)+((k[da+20>>2]&ca)>>>(c>>>16&255))>>0]|0;a=i[(k[124356+((aa>>>8&255)<<2)>>2]|0)+((k[da+16>>2]&ca)>>>(c>>>8&255))>>0]|0;c=i[(k[124356+((aa&255)<<2)>>2]|0)+((k[da+12>>2]&ca)>>>(c&255))>>0]|0;break}default:{b=0;a=0;c=0}}i[Z>>0]=(a&255)>>>5<<2|c&224|(b&255)>>>6;p=Z+1|0;w=$;R=ba+ea|0;b=13;continue}else if((b|0)==13){switch(ea|0){case 1:{ca=l[R>>0]|0;c=k[da+32>>2]|0;aa=k[da+28>>2]|0;b=i[(k[124356+((aa>>>16&255)<<2)>>2]|0)+((k[da+20>>2]&ca)>>>(c>>>16&255))>>0]|0;a=i[(k[124356+((aa>>>8&255)<<2)>>2]|0)+((k[da+16>>2]&ca)>>>(c>>>8&255))>>0]|0;c=i[(k[124356+((aa&255)<<2)>>2]|0)+((ca&k[da+12>>2])>>>(c&255))>>0]|0;break}case 2:{ca=m[R>>1]|0;c=k[da+32>>2]|0;aa=k[da+28>>2]|0;b=i[(k[124356+((aa>>>16&255)<<2)>>2]|0)+((k[da+20>>2]&ca)>>>(c>>>16&255))>>0]|0;a=i[(k[124356+((aa>>>8&255)<<2)>>2]|0)+((k[da+16>>2]&ca)>>>(c>>>8&255))>>0]|0;c=i[(k[124356+((aa&255)<<2)>>2]|0)+((ca&k[da+12>>2])>>>(c&255))>>0]|0;break}case 3:{c=k[da+32>>2]|0;b=i[R+(c>>>19&31)>>0]|0;a=i[R+(c>>>11&31)>>0]|0;c=i[R+(c>>>3&31)>>0]|0;break}case 4:{ca=k[R>>2]|0;c=k[da+32>>2]|0;aa=k[da+28>>2]|0;b=i[(k[124356+((aa>>>16&255)<<2)>>2]|0)+((k[da+20>>2]&ca)>>>(c>>>16&255))>>0]|0;a=i[(k[124356+((aa>>>8&255)<<2)>>2]|0)+((k[da+16>>2]&ca)>>>(c>>>8&255))>>0]|0;c=i[(k[124356+((aa&255)<<2)>>2]|0)+((k[da+12>>2]&ca)>>>(c&255))>>0]|0;break}default:{b=0;a=0;c=0}}i[p>>0]=(a&255)>>>5<<2|c&224|(b&255)>>>6;q=p+1|0;x=w;S=R+ea|0;b=19;continue}else if((b|0)==19){switch(ea|0){case 1:{ca=l[S>>0]|0;c=k[da+32>>2]|0;aa=k[da+28>>2]|0;b=i[(k[124356+((aa>>>16&255)<<2)>>2]|0)+((k[da+20>>2]&ca)>>>(c>>>16&255))>>0]|0;a=i[(k[124356+((aa>>>8&255)<<2)>>2]|0)+((k[da+16>>2]&ca)>>>(c>>>8&255))>>0]|0;c=i[(k[124356+((aa&255)<<2)>>2]|0)+((ca&k[da+12>>2])>>>(c&255))>>0]|0;break}case 2:{ca=m[S>>1]|0;c=k[da+32>>2]|0;aa=k[da+28>>2]|0;b=i[(k[124356+((aa>>>16&255)<<2)>>2]|0)+((k[da+20>>2]&ca)>>>(c>>>16&255))>>0]|0;a=i[(k[124356+((aa>>>8&255)<<2)>>2]|0)+((k[da+16>>2]&ca)>>>(c>>>8&255))>>0]|0;c=i[(k[124356+((aa&255)<<2)>>2]|0)+((ca&k[da+12>>2])>>>(c&255))>>0]|0;break}case 3:{c=k[da+32>>2]|0;b=i[S+(c>>>19&31)>>0]|0;a=i[S+(c>>>11&31)>>0]|0;c=i[S+(c>>>3&31)>>0]|0;break}case 4:{ca=k[S>>2]|0;c=k[da+32>>2]|0;aa=k[da+28>>2]|0;b=i[(k[124356+((aa>>>16&255)<<2)>>2]|0)+((k[da+20>>2]&ca)>>>(c>>>16&255))>>0]|0;a=i[(k[124356+((aa>>>8&255)<<2)>>2]|0)+((k[da+16>>2]&ca)>>>(c>>>8&255))>>0]|0;c=i[(k[124356+((aa&255)<<2)>>2]|0)+((k[da+12>>2]&ca)>>>(c&255))>>0]|0;break}default:{b=0;a=0;c=0}}i[q>>0]=(a&255)>>>5<<2|c&224|(b&255)>>>6;r=q+1|0;y=x;T=S+ea|0;b=25;continue}else if((b|0)==25){switch(ea|0){case 1:{ca=l[T>>0]|0;c=k[da+32>>2]|0;aa=k[da+28>>2]|0;b=i[(k[124356+((aa>>>16&255)<<2)>>2]|0)+((k[da+20>>2]&ca)>>>(c>>>16&255))>>0]|0;a=i[(k[124356+((aa>>>8&255)<<2)>>2]|0)+((k[da+16>>2]&ca)>>>(c>>>8&255))>>0]|0;c=i[(k[124356+((aa&255)<<2)>>2]|0)+((ca&k[da+12>>2])>>>(c&255))>>0]|0;break}case 2:{ca=m[T>>1]|0;c=k[da+32>>2]|0;aa=k[da+28>>2]|0;b=i[(k[124356+((aa>>>16&255)<<2)>>2]|0)+((k[da+20>>2]&ca)>>>(c>>>16&255))>>0]|0;a=i[(k[124356+((aa>>>8&255)<<2)>>2]|0)+((k[da+16>>2]&ca)>>>(c>>>8&255))>>0]|0;c=i[(k[124356+((aa&255)<<2)>>2]|0)+((ca&k[da+12>>2])>>>(c&255))>>0]|0;break}case 3:{c=k[da+32>>2]|0;b=i[T+(c>>>19&31)>>0]|0;a=i[T+(c>>>11&31)>>0]|0;c=i[T+(c>>>3&31)>>0]|0;break}case 4:{ca=k[T>>2]|0;c=k[da+32>>2]|0;aa=k[da+28>>2]|0;b=i[(k[124356+((aa>>>16&255)<<2)>>2]|0)+((k[da+20>>2]&ca)>>>(c>>>16&255))>>0]|0;a=i[(k[124356+((aa>>>8&255)<<2)>>2]|0)+((k[da+16>>2]&ca)>>>(c>>>8&255))>>0]|0;c=i[(k[124356+((aa&255)<<2)>>2]|0)+((k[da+12>>2]&ca)>>>(c&255))>>0]|0;break}default:{b=0;a=0;c=0}}i[r>>0]=(a&255)>>>5<<2|c&224|(b&255)>>>6;s=r+1|0;z=y;U=T+ea|0;b=31;continue}else if((b|0)==31){switch(ea|0){case 1:{ca=l[U>>0]|0;c=k[da+32>>2]|0;aa=k[da+28>>2]|0;b=i[(k[124356+((aa>>>16&255)<<2)>>2]|0)+((k[da+20>>2]&ca)>>>(c>>>16&255))>>0]|0;a=i[(k[124356+((aa>>>8&255)<<2)>>2]|0)+((k[da+16>>2]&ca)>>>(c>>>8&255))>>0]|0;c=i[(k[124356+((aa&255)<<2)>>2]|0)+((ca&k[da+12>>2])>>>(c&255))>>0]|0;break}case 2:{ca=m[U>>1]|0;c=k[da+32>>2]|0;aa=k[da+28>>2]|0;b=i[(k[124356+((aa>>>16&255)<<2)>>2]|0)+((k[da+20>>2]&ca)>>>(c>>>16&255))>>0]|0;a=i[(k[124356+((aa>>>8&255)<<2)>>2]|0)+((k[da+16>>2]&ca)>>>(c>>>8&255))>>0]|0;c=i[(k[124356+((aa&255)<<2)>>2]|0)+((ca&k[da+12>>2])>>>(c&255))>>0]|0;break}case 3:{c=k[da+32>>2]|0;b=i[U+(c>>>19&31)>>0]|0;a=i[U+(c>>>11&31)>>0]|0;c=i[U+(c>>>3&31)>>0]|0;break}case 4:{ca=k[U>>2]|0;c=k[da+32>>2]|0;aa=k[da+28>>2]|0;b=i[(k[124356+((aa>>>16&255)<<2)>>2]|0)+((k[da+20>>2]&ca)>>>(c>>>16&255))>>0]|0;a=i[(k[124356+((aa>>>8&255)<<2)>>2]|0)+((k[da+16>>2]&ca)>>>(c>>>8&255))>>0]|0;c=i[(k[124356+((aa&255)<<2)>>2]|0)+((k[da+12>>2]&ca)>>>(c&255))>>0]|0;break}default:{b=0;a=0;c=0}}i[s>>0]=(a&255)>>>5<<2|c&224|(b&255)>>>6;t=s+1|0;A=z;V=U+ea|0;b=37;continue}else if((b|0)==37){switch(ea|0){case 1:{ca=l[V>>0]|0;c=k[da+32>>2]|0;aa=k[da+28>>2]|0;b=i[(k[124356+((aa>>>16&255)<<2)>>2]|0)+((k[da+20>>2]&ca)>>>(c>>>16&255))>>0]|0;a=i[(k[124356+((aa>>>8&255)<<2)>>2]|0)+((k[da+16>>2]&ca)>>>(c>>>8&255))>>0]|0;c=i[(k[124356+((aa&255)<<2)>>2]|0)+((ca&k[da+12>>2])>>>(c&255))>>0]|0;break}case 2:{ca=m[V>>1]|0;c=k[da+32>>2]|0;aa=k[da+28>>2]|0;b=i[(k[124356+((aa>>>16&255)<<2)>>2]|0)+((k[da+20>>2]&ca)>>>(c>>>16&255))>>0]|0;a=i[(k[124356+((aa>>>8&255)<<2)>>2]|0)+((k[da+16>>2]&ca)>>>(c>>>8&255))>>0]|0;c=i[(k[124356+((aa&255)<<2)>>2]|0)+((ca&k[da+12>>2])>>>(c&255))>>0]|0;break}case 3:{c=k[da+32>>2]|0;b=i[V+(c>>>19&31)>>0]|0;a=i[V+(c>>>11&31)>>0]|0;c=i[V+(c>>>3&31)>>0]|0;break}case 4:{ca=k[V>>2]|0;c=k[da+32>>2]|0;aa=k[da+28>>2]|0;b=i[(k[124356+((aa>>>16&255)<<2)>>2]|0)+((k[da+20>>2]&ca)>>>(c>>>16&255))>>0]|0;a=i[(k[124356+((aa>>>8&255)<<2)>>2]|0)+((k[da+16>>2]&ca)>>>(c>>>8&255))>>0]|0;c=i[(k[124356+((aa&255)<<2)>>2]|0)+((k[da+12>>2]&ca)>>>(c&255))>>0]|0;break}default:{b=0;a=0;c=0}}i[t>>0]=(a&255)>>>5<<2|c&224|(b&255)>>>6;u=t+1|0;B=A;W=V+ea|0;b=43;continue}else if((b|0)==43){switch(ea|0){case 1:{ca=l[W>>0]|0;c=k[da+32>>2]|0;aa=k[da+28>>2]|0;b=i[(k[124356+((aa>>>16&255)<<2)>>2]|0)+((k[da+20>>2]&ca)>>>(c>>>16&255))>>0]|0;a=i[(k[124356+((aa>>>8&255)<<2)>>2]|0)+((k[da+16>>2]&ca)>>>(c>>>8&255))>>0]|0;c=i[(k[124356+((aa&255)<<2)>>2]|0)+((ca&k[da+12>>2])>>>(c&255))>>0]|0;break}case 2:{ca=m[W>>1]|0;c=k[da+32>>2]|0;aa=k[da+28>>2]|0;b=i[(k[124356+((aa>>>16&255)<<2)>>2]|0)+((k[da+20>>2]&ca)>>>(c>>>16&255))>>0]|0;a=i[(k[124356+((aa>>>8&255)<<2)>>2]|0)+((k[da+16>>2]&ca)>>>(c>>>8&255))>>0]|0;c=i[(k[124356+((aa&255)<<2)>>2]|0)+((ca&k[da+12>>2])>>>(c&255))>>0]|0;break}case 3:{c=k[da+32>>2]|0;b=i[W+(c>>>19&31)>>0]|0;a=i[W+(c>>>11&31)>>0]|0;c=i[W+(c>>>3&31)>>0]|0;break}case 4:{ca=k[W>>2]|0;c=k[da+32>>2]|0;aa=k[da+28>>2]|0;b=i[(k[124356+((aa>>>16&255)<<2)>>2]|0)+((k[da+20>>2]&ca)>>>(c>>>16&255))>>0]|0;a=i[(k[124356+((aa>>>8&255)<<2)>>2]|0)+((k[da+16>>2]&ca)>>>(c>>>8&255))>>0]|0;c=i[(k[124356+((aa&255)<<2)>>2]|0)+((k[da+12>>2]&ca)>>>(c&255))>>0]|0;break}default:{b=0;a=0;c=0}}i[u>>0]=(a&255)>>>5<<2|c&224|(b&255)>>>6;v=u+1|0;C=B;X=W+ea|0;b=49;continue}else if((b|0)==49){switch(ea|0){case 1:{ca=l[X>>0]|0;c=k[da+32>>2]|0;aa=k[da+28>>2]|0;b=i[(k[124356+((aa>>>16&255)<<2)>>2]|0)+((k[da+20>>2]&ca)>>>(c>>>16&255))>>0]|0;a=i[(k[124356+((aa>>>8&255)<<2)>>2]|0)+((k[da+16>>2]&ca)>>>(c>>>8&255))>>0]|0;c=i[(k[124356+((aa&255)<<2)>>2]|0)+((ca&k[da+12>>2])>>>(c&255))>>0]|0;break}case 2:{ca=m[X>>1]|0;c=k[da+32>>2]|0;aa=k[da+28>>2]|0;b=i[(k[124356+((aa>>>16&255)<<2)>>2]|0)+((k[da+20>>2]&ca)>>>(c>>>16&255))>>0]|0;a=i[(k[124356+((aa>>>8&255)<<2)>>2]|0)+((k[da+16>>2]&ca)>>>(c>>>8&255))>>0]|0;c=i[(k[124356+((aa&255)<<2)>>2]|0)+((ca&k[da+12>>2])>>>(c&255))>>0]|0;break}case 3:{c=k[da+32>>2]|0;b=i[X+(c>>>19&31)>>0]|0;a=i[X+(c>>>11&31)>>0]|0;c=i[X+(c>>>3&31)>>0]|0;break}case 4:{ca=k[X>>2]|0;c=k[da+32>>2]|0;aa=k[da+28>>2]|0;b=i[(k[124356+((aa>>>16&255)<<2)>>2]|0)+((k[da+20>>2]&ca)>>>(c>>>16&255))>>0]|0;a=i[(k[124356+((aa>>>8&255)<<2)>>2]|0)+((k[da+16>>2]&ca)>>>(c>>>8&255))>>0]|0;c=i[(k[124356+((aa&255)<<2)>>2]|0)+((k[da+12>>2]&ca)>>>(c&255))>>0]|0;break}default:{b=0;a=0;c=0}}i[v>>0]=(a&255)>>>5<<2|c&224|(b&255)>>>6;b=v+1|0;a=X+ea|0;if((C|0)>1){Z=b;$=C+-1|0;ba=a;b=7;continue}else break}if(!d){b=108;break}else{d=d+-1|0;c=b+ga|0;b=a+ha|0}}if((b|0)!=55)if((b|0)==108)return}else{if(!d)return;d=d+-1|0;b:while(1){switch(fa&7|0){case 0:{_=c;aa=(fa+7|0)/8|0;ca=b;b=58;break}case 7:{e=c;D=(fa+7|0)/8|0;K=b;b=64;break}case 6:{f=c;E=(fa+7|0)/8|0;L=b;b=70;break}case 5:{g=c;F=(fa+7|0)/8|0;M=b;b=76;break}case 4:{h=c;G=(fa+7|0)/8|0;N=b;b=82;break}case 3:{j=c;H=(fa+7|0)/8|0;O=b;b=88;break}case 2:{n=c;I=(fa+7|0)/8|0;P=b;b=94;break}case 1:{o=c;J=(fa+7|0)/8|0;Q=b;b=100;break}default:{b=106;break b}}while(1)if((b|0)==58){switch(ea|0){case 1:{ba=l[ca>>0]|0;c=k[da+32>>2]|0;$=k[da+28>>2]|0;b=i[(k[124356+(($>>>16&255)<<2)>>2]|0)+((k[da+20>>2]&ba)>>>(c>>>16&255))>>0]|0;a=i[(k[124356+(($>>>8&255)<<2)>>2]|0)+((k[da+16>>2]&ba)>>>(c>>>8&255))>>0]|0;c=i[(k[124356+(($&255)<<2)>>2]|0)+((ba&k[da+12>>2])>>>(c&255))>>0]|0;break}case 2:{ba=m[ca>>1]|0;c=k[da+32>>2]|0;$=k[da+28>>2]|0;b=i[(k[124356+(($>>>16&255)<<2)>>2]|0)+((k[da+20>>2]&ba)>>>(c>>>16&255))>>0]|0;a=i[(k[124356+(($>>>8&255)<<2)>>2]|0)+((k[da+16>>2]&ba)>>>(c>>>8&255))>>0]|0;c=i[(k[124356+(($&255)<<2)>>2]|0)+((ba&k[da+12>>2])>>>(c&255))>>0]|0;break}case 3:{c=k[da+32>>2]|0;b=i[ca+(c>>>19&31)>>0]|0;a=i[ca+(c>>>11&31)>>0]|0;c=i[ca+(c>>>3&31)>>0]|0;break}case 4:{ba=k[ca>>2]|0;c=k[da+32>>2]|0;$=k[da+28>>2]|0;b=i[(k[124356+(($>>>16&255)<<2)>>2]|0)+((k[da+20>>2]&ba)>>>(c>>>16&255))>>0]|0;a=i[(k[124356+(($>>>8&255)<<2)>>2]|0)+((k[da+16>>2]&ba)>>>(c>>>8&255))>>0]|0;c=i[(k[124356+(($&255)<<2)>>2]|0)+((k[da+12>>2]&ba)>>>(c&255))>>0]|0;break}default:{b=0;a=0;c=0}}i[_>>0]=i[Y+((a&255)>>>5<<2|c&224|(b&255)>>>6)>>0]|0;e=_+1|0;D=aa;K=ca+ea|0;b=64;continue}else if((b|0)==64){switch(ea|0){case 1:{ba=l[K>>0]|0;c=k[da+32>>2]|0;$=k[da+28>>2]|0;b=i[(k[124356+(($>>>16&255)<<2)>>2]|0)+((k[da+20>>2]&ba)>>>(c>>>16&255))>>0]|0;a=i[(k[124356+(($>>>8&255)<<2)>>2]|0)+((k[da+16>>2]&ba)>>>(c>>>8&255))>>0]|0;c=i[(k[124356+(($&255)<<2)>>2]|0)+((ba&k[da+12>>2])>>>(c&255))>>0]|0;break}case 2:{ba=m[K>>1]|0;c=k[da+32>>2]|0;$=k[da+28>>2]|0;b=i[(k[124356+(($>>>16&255)<<2)>>2]|0)+((k[da+20>>2]&ba)>>>(c>>>16&255))>>0]|0;a=i[(k[124356+(($>>>8&255)<<2)>>2]|0)+((k[da+16>>2]&ba)>>>(c>>>8&255))>>0]|0;c=i[(k[124356+(($&255)<<2)>>2]|0)+((ba&k[da+12>>2])>>>(c&255))>>0]|0;break}case 3:{c=k[da+32>>2]|0;b=i[K+(c>>>19&31)>>0]|0;a=i[K+(c>>>11&31)>>0]|0;c=i[K+(c>>>3&31)>>0]|0;break}case 4:{ba=k[K>>2]|0;c=k[da+32>>2]|0;$=k[da+28>>2]|0;b=i[(k[124356+(($>>>16&255)<<2)>>2]|0)+((k[da+20>>2]&ba)>>>(c>>>16&255))>>0]|0;a=i[(k[124356+(($>>>8&255)<<2)>>2]|0)+((k[da+16>>2]&ba)>>>(c>>>8&255))>>0]|0;c=i[(k[124356+(($&255)<<2)>>2]|0)+((k[da+12>>2]&ba)>>>(c&255))>>0]|0;break}default:{b=0;a=0;c=0}}i[e>>0]=i[Y+((a&255)>>>5<<2|c&224|(b&255)>>>6)>>0]|0;f=e+1|0;E=D;L=K+ea|0;b=70;continue}else if((b|0)==70){switch(ea|0){case 1:{ba=l[L>>0]|0;c=k[da+32>>2]|0;$=k[da+28>>2]|0;b=i[(k[124356+(($>>>16&255)<<2)>>2]|0)+((k[da+20>>2]&ba)>>>(c>>>16&255))>>0]|0;a=i[(k[124356+(($>>>8&255)<<2)>>2]|0)+((k[da+16>>2]&ba)>>>(c>>>8&255))>>0]|0;c=i[(k[124356+(($&255)<<2)>>2]|0)+((ba&k[da+12>>2])>>>(c&255))>>0]|0;break}case 2:{ba=m[L>>1]|0;c=k[da+32>>2]|0;$=k[da+28>>2]|0;b=i[(k[124356+(($>>>16&255)<<2)>>2]|0)+((k[da+20>>2]&ba)>>>(c>>>16&255))>>0]|0;a=i[(k[124356+(($>>>8&255)<<2)>>2]|0)+((k[da+16>>2]&ba)>>>(c>>>8&255))>>0]|0;c=i[(k[124356+(($&255)<<2)>>2]|0)+((ba&k[da+12>>2])>>>(c&255))>>0]|0;break}case 3:{c=k[da+32>>2]|0;b=i[L+(c>>>19&31)>>0]|0;a=i[L+(c>>>11&31)>>0]|0;c=i[L+(c>>>3&31)>>0]|0;break}case 4:{ba=k[L>>2]|0;c=k[da+32>>2]|0;$=k[da+28>>2]|0;b=i[(k[124356+(($>>>16&255)<<2)>>2]|0)+((k[da+20>>2]&ba)>>>(c>>>16&255))>>0]|0;a=i[(k[124356+(($>>>8&255)<<2)>>2]|0)+((k[da+16>>2]&ba)>>>(c>>>8&255))>>0]|0;c=i[(k[124356+(($&255)<<2)>>2]|0)+((k[da+12>>2]&ba)>>>(c&255))>>0]|0;break}default:{b=0;a=0;c=0}}i[f>>0]=i[Y+((a&255)>>>5<<2|c&224|(b&255)>>>6)>>0]|0;g=f+1|0;F=E;M=L+ea|0;b=76;continue}else if((b|0)==76){switch(ea|0){case 1:{ba=l[M>>0]|0;c=k[da+32>>2]|0;$=k[da+28>>2]|0;b=i[(k[124356+(($>>>16&255)<<2)>>2]|0)+((k[da+20>>2]&ba)>>>(c>>>16&255))>>0]|0;a=i[(k[124356+(($>>>8&255)<<2)>>2]|0)+((k[da+16>>2]&ba)>>>(c>>>8&255))>>0]|0;c=i[(k[124356+(($&255)<<2)>>2]|0)+((ba&k[da+12>>2])>>>(c&255))>>0]|0;break}case 2:{ba=m[M>>1]|0;c=k[da+32>>2]|0;$=k[da+28>>2]|0;b=i[(k[124356+(($>>>16&255)<<2)>>2]|0)+((k[da+20>>2]&ba)>>>(c>>>16&255))>>0]|0;a=i[(k[124356+(($>>>8&255)<<2)>>2]|0)+((k[da+16>>2]&ba)>>>(c>>>8&255))>>0]|0;c=i[(k[124356+(($&255)<<2)>>2]|0)+((ba&k[da+12>>2])>>>(c&255))>>0]|0;break}case 3:{c=k[da+32>>2]|0;b=i[M+(c>>>19&31)>>0]|0;a=i[M+(c>>>11&31)>>0]|0;c=i[M+(c>>>3&31)>>0]|0;break}case 4:{ba=k[M>>2]|0;c=k[da+32>>2]|0;$=k[da+28>>2]|0;b=i[(k[124356+(($>>>16&255)<<2)>>2]|0)+((k[da+20>>2]&ba)>>>(c>>>16&255))>>0]|0;a=i[(k[124356+(($>>>8&255)<<2)>>2]|0)+((k[da+16>>2]&ba)>>>(c>>>8&255))>>0]|0;c=i[(k[124356+(($&255)<<2)>>2]|0)+((k[da+12>>2]&ba)>>>(c&255))>>0]|0;break}default:{b=0;a=0;c=0}}i[g>>0]=i[Y+((a&255)>>>5<<2|c&224|(b&255)>>>6)>>0]|0;h=g+1|0;G=F;N=M+ea|0;b=82;continue}else if((b|0)==82){switch(ea|0){case 1:{ba=l[N>>0]|0;c=k[da+32>>2]|0;$=k[da+28>>2]|0;b=i[(k[124356+(($>>>16&255)<<2)>>2]|0)+((k[da+20>>2]&ba)>>>(c>>>16&255))>>0]|0;a=i[(k[124356+(($>>>8&255)<<2)>>2]|0)+((k[da+16>>2]&ba)>>>(c>>>8&255))>>0]|0;c=i[(k[124356+(($&255)<<2)>>2]|0)+((ba&k[da+12>>2])>>>(c&255))>>0]|0;break}case 2:{ba=m[N>>1]|0;c=k[da+32>>2]|0;$=k[da+28>>2]|0;b=i[(k[124356+(($>>>16&255)<<2)>>2]|0)+((k[da+20>>2]&ba)>>>(c>>>16&255))>>0]|0;a=i[(k[124356+(($>>>8&255)<<2)>>2]|0)+((k[da+16>>2]&ba)>>>(c>>>8&255))>>0]|0;c=i[(k[124356+(($&255)<<2)>>2]|0)+((ba&k[da+12>>2])>>>(c&255))>>0]|0;break}case 3:{c=k[da+32>>2]|0;b=i[N+(c>>>19&31)>>0]|0;a=i[N+(c>>>11&31)>>0]|0;c=i[N+(c>>>3&31)>>0]|0;break}case 4:{ba=k[N>>2]|0;c=k[da+32>>2]|0;$=k[da+28>>2]|0;b=i[(k[124356+(($>>>16&255)<<2)>>2]|0)+((k[da+20>>2]&ba)>>>(c>>>16&255))>>0]|0;a=i[(k[124356+(($>>>8&255)<<2)>>2]|0)+((k[da+16>>2]&ba)>>>(c>>>8&255))>>0]|0;c=i[(k[124356+(($&255)<<2)>>2]|0)+((k[da+12>>2]&ba)>>>(c&255))>>0]|0;break}default:{b=0;a=0;c=0}}i[h>>0]=i[Y+((a&255)>>>5<<2|c&224|(b&255)>>>6)>>0]|0;j=h+1|0;H=G;O=N+ea|0;b=88;continue}else if((b|0)==88){switch(ea|0){case 1:{ba=l[O>>0]|0;c=k[da+32>>2]|0;$=k[da+28>>2]|0;b=i[(k[124356+(($>>>16&255)<<2)>>2]|0)+((k[da+20>>2]&ba)>>>(c>>>16&255))>>0]|0;a=i[(k[124356+(($>>>8&255)<<2)>>2]|0)+((k[da+16>>2]&ba)>>>(c>>>8&255))>>0]|0;c=i[(k[124356+(($&255)<<2)>>2]|0)+((ba&k[da+12>>2])>>>(c&255))>>0]|0;break}case 2:{ba=m[O>>1]|0;c=k[da+32>>2]|0;$=k[da+28>>2]|0;b=i[(k[124356+(($>>>16&255)<<2)>>2]|0)+((k[da+20>>2]&ba)>>>(c>>>16&255))>>0]|0;a=i[(k[124356+(($>>>8&255)<<2)>>2]|0)+((k[da+16>>2]&ba)>>>(c>>>8&255))>>0]|0;c=i[(k[124356+(($&255)<<2)>>2]|0)+((ba&k[da+12>>2])>>>(c&255))>>0]|0;break}case 3:{c=k[da+32>>2]|0;b=i[O+(c>>>19&31)>>0]|0;a=i[O+(c>>>11&31)>>0]|0;c=i[O+(c>>>3&31)>>0]|0;break}case 4:{ba=k[O>>2]|0;c=k[da+32>>2]|0;$=k[da+28>>2]|0;b=i[(k[124356+(($>>>16&255)<<2)>>2]|0)+((k[da+20>>2]&ba)>>>(c>>>16&255))>>0]|0;a=i[(k[124356+(($>>>8&255)<<2)>>2]|0)+((k[da+16>>2]&ba)>>>(c>>>8&255))>>0]|0;c=i[(k[124356+(($&255)<<2)>>2]|0)+((k[da+12>>2]&ba)>>>(c&255))>>0]|0;break}default:{b=0;a=0;c=0}}i[j>>0]=i[Y+((a&255)>>>5<<2|c&224|(b&255)>>>6)>>0]|0;n=j+1|0;I=H;P=O+ea|0;b=94;continue}else if((b|0)==94){switch(ea|0){case 1:{ba=l[P>>0]|0;c=k[da+32>>2]|0;$=k[da+28>>2]|0;b=i[(k[124356+(($>>>16&255)<<2)>>2]|0)+((k[da+20>>2]&ba)>>>(c>>>16&255))>>0]|0;a=i[(k[124356+(($>>>8&255)<<2)>>2]|0)+((k[da+16>>2]&ba)>>>(c>>>8&255))>>0]|0;c=i[(k[124356+(($&255)<<2)>>2]|0)+((ba&k[da+12>>2])>>>(c&255))>>0]|0;break}case 2:{ba=m[P>>1]|0;c=k[da+32>>2]|0;$=k[da+28>>2]|0;b=i[(k[124356+(($>>>16&255)<<2)>>2]|0)+((k[da+20>>2]&ba)>>>(c>>>16&255))>>0]|0;a=i[(k[124356+(($>>>8&255)<<2)>>2]|0)+((k[da+16>>2]&ba)>>>(c>>>8&255))>>0]|0;c=i[(k[124356+(($&255)<<2)>>2]|0)+((ba&k[da+12>>2])>>>(c&255))>>0]|0;break}case 3:{c=k[da+32>>2]|0;b=i[P+(c>>>19&31)>>0]|0;a=i[P+(c>>>11&31)>>0]|0;c=i[P+(c>>>3&31)>>0]|0;break}case 4:{ba=k[P>>2]|0;c=k[da+32>>2]|0;$=k[da+28>>2]|0;b=i[(k[124356+(($>>>16&255)<<2)>>2]|0)+((k[da+20>>2]&ba)>>>(c>>>16&255))>>0]|0;a=i[(k[124356+(($>>>8&255)<<2)>>2]|0)+((k[da+16>>2]&ba)>>>(c>>>8&255))>>0]|0;c=i[(k[124356+(($&255)<<2)>>2]|0)+((k[da+12>>2]&ba)>>>(c&255))>>0]|0;break}default:{b=0;a=0;c=0}}i[n>>0]=i[Y+((a&255)>>>5<<2|c&224|(b&255)>>>6)>>0]|0;o=n+1|0;J=I;Q=P+ea|0;b=100;continue}else if((b|0)==100){switch(ea|0){case 1:{ba=l[Q>>0]|0;c=k[da+32>>2]|0;$=k[da+28>>2]|0;b=i[(k[124356+(($>>>16&255)<<2)>>2]|0)+((k[da+20>>2]&ba)>>>(c>>>16&255))>>0]|0;a=i[(k[124356+(($>>>8&255)<<2)>>2]|0)+((k[da+16>>2]&ba)>>>(c>>>8&255))>>0]|0;c=i[(k[124356+(($&255)<<2)>>2]|0)+((ba&k[da+12>>2])>>>(c&255))>>0]|0;break}case 2:{ba=m[Q>>1]|0;c=k[da+32>>2]|0;$=k[da+28>>2]|0;b=i[(k[124356+(($>>>16&255)<<2)>>2]|0)+((k[da+20>>2]&ba)>>>(c>>>16&255))>>0]|0;a=i[(k[124356+(($>>>8&255)<<2)>>2]|0)+((k[da+16>>2]&ba)>>>(c>>>8&255))>>0]|0;c=i[(k[124356+(($&255)<<2)>>2]|0)+((ba&k[da+12>>2])>>>(c&255))>>0]|0;break}case 3:{c=k[da+32>>2]|0;b=i[Q+(c>>>19&31)>>0]|0;a=i[Q+(c>>>11&31)>>0]|0;c=i[Q+(c>>>3&31)>>0]|0;break}case 4:{ba=k[Q>>2]|0;c=k[da+32>>2]|0;$=k[da+28>>2]|0;b=i[(k[124356+(($>>>16&255)<<2)>>2]|0)+((k[da+20>>2]&ba)>>>(c>>>16&255))>>0]|0;a=i[(k[124356+(($>>>8&255)<<2)>>2]|0)+((k[da+16>>2]&ba)>>>(c>>>8&255))>>0]|0;c=i[(k[124356+(($&255)<<2)>>2]|0)+((k[da+12>>2]&ba)>>>(c&255))>>0]|0;break}default:{b=0;a=0;c=0}}i[o>>0]=i[Y+((a&255)>>>5<<2|c&224|(b&255)>>>6)>>0]|0;b=o+1|0;a=Q+ea|0;if((J|0)>1){_=b;aa=J+-1|0;ca=a;b=58;continue}else break}if(!d){b=108;break}else{d=d+-1|0;c=b+ga|0;b=a+ha|0}}if((b|0)!=106)if((b|0)==108)return}}function eab(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0;V=k[a+24>>2]|0;d=k[a+28>>2]|0;c=k[a>>2]|0;X=(k[a+16>>2]|0)/4|0;b=k[a+20>>2]|0;W=k[a+36>>2]|0;e=k[a+48>>2]|0;if(!e){if(!d)return;a=d+-1|0;a:while(1){switch(V&7|0){case 0:{f=b;p=(V+7|0)/8|0;b=7;break}case 7:{g=b;q=(V+7|0)/8|0;b=8;break}case 6:{h=b;r=(V+7|0)/8|0;b=9;break}case 5:{j=b;s=(V+7|0)/8|0;b=10;break}case 4:{l=b;t=(V+7|0)/8|0;b=11;break}case 3:{m=b;u=(V+7|0)/8|0;b=12;break}case 2:{n=b;v=(V+7|0)/8|0;b=13;break}case 1:{o=b;w=(V+7|0)/8|0;b=14;break}default:{b=15;break a}}while(1)if((b|0)==7){g=k[c>>2]|0;i[f>>0]=g>>>16&224|g>>>11&28|g>>>6&3;g=f+1|0;q=p;b=8;continue}else if((b|0)==8){h=k[c>>2]|0;i[g>>0]=h>>>16&224|h>>>11&28|h>>>6&3;h=g+1|0;r=q;b=9;continue}else if((b|0)==9){j=k[c>>2]|0;i[h>>0]=j>>>16&224|j>>>11&28|j>>>6&3;j=h+1|0;s=r;b=10;continue}else if((b|0)==10){l=k[c>>2]|0;i[j>>0]=l>>>16&224|l>>>11&28|l>>>6&3;l=j+1|0;t=s;b=11;continue}else if((b|0)==11){m=k[c>>2]|0;i[l>>0]=m>>>16&224|m>>>11&28|m>>>6&3;m=l+1|0;u=t;b=12;continue}else if((b|0)==12){n=k[c>>2]|0;i[m>>0]=n>>>16&224|n>>>11&28|n>>>6&3;n=m+1|0;v=u;b=13;continue}else if((b|0)==13){o=k[c>>2]|0;i[n>>0]=o>>>16&224|o>>>11&28|o>>>6&3;o=n+1|0;w=v;b=14;continue}else if((b|0)==14){U=k[c>>2]|0;b=o+1|0;i[o>>0]=U>>>16&224|U>>>11&28|U>>>6&3;if((w|0)>1){f=b;p=w+-1|0;b=7;continue}else break}if(!a){b=28;break}else{a=a+-1|0;b=b+W|0;c=c+(X<<2)|0}}if((b|0)!=15)if((b|0)==28)return}else{if(!d)return;a=d+-1|0;b:while(1){switch(V&7|0){case 0:{x=b;F=(V+7|0)/8|0;N=c;b=18;break}case 7:{y=b;G=(V+7|0)/8|0;O=c;b=19;break}case 6:{z=b;H=(V+7|0)/8|0;P=c;b=20;break}case 5:{A=b;I=(V+7|0)/8|0;Q=c;b=21;break}case 4:{B=b;J=(V+7|0)/8|0;R=c;b=22;break}case 3:{C=b;K=(V+7|0)/8|0;S=c;b=23;break}case 2:{D=b;L=(V+7|0)/8|0;T=c;b=24;break}case 1:{E=b;M=(V+7|0)/8|0;U=c;b=25;break}default:{b=26;break b}}while(1)if((b|0)==18){y=k[N>>2]|0;i[x>>0]=i[e+(y>>>16&224|y>>>11&28|y>>>6&3)>>0]|0;y=x+1|0;G=F;O=N+4|0;b=19;continue}else if((b|0)==19){z=k[O>>2]|0;i[y>>0]=i[e+(z>>>16&224|z>>>11&28|z>>>6&3)>>0]|0;z=y+1|0;H=G;P=O+4|0;b=20;continue}else if((b|0)==20){A=k[P>>2]|0;i[z>>0]=i[e+(A>>>16&224|A>>>11&28|A>>>6&3)>>0]|0;A=z+1|0;I=H;Q=P+4|0;b=21;continue}else if((b|0)==21){B=k[Q>>2]|0;i[A>>0]=i[e+(B>>>16&224|B>>>11&28|B>>>6&3)>>0]|0;B=A+1|0;J=I;R=Q+4|0;b=22;continue}else if((b|0)==22){C=k[R>>2]|0;i[B>>0]=i[e+(C>>>16&224|C>>>11&28|C>>>6&3)>>0]|0;C=B+1|0;K=J;S=R+4|0;b=23;continue}else if((b|0)==23){D=k[S>>2]|0;i[C>>0]=i[e+(D>>>16&224|D>>>11&28|D>>>6&3)>>0]|0;D=C+1|0;L=K;T=S+4|0;b=24;continue}else if((b|0)==24){E=k[T>>2]|0;i[D>>0]=i[e+(E>>>16&224|E>>>11&28|E>>>6&3)>>0]|0;E=D+1|0;M=L;U=T+4|0;b=25;continue}else if((b|0)==25){c=k[U>>2]|0;b=E+1|0;i[E>>0]=i[e+(c>>>16&224|c>>>11&28|c>>>6&3)>>0]|0;c=U+4|0;if((M|0)>1){x=b;F=M+-1|0;N=c;b=18;continue}else break}if(!a){b=28;break}else{a=a+-1|0;b=b+W|0;c=c+(X<<2)|0}}if((b|0)!=26)if((b|0)==28)return}}function fab(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0;V=k[a+24>>2]|0;d=k[a+28>>2]|0;c=k[a>>2]|0;X=(k[a+16>>2]|0)/4|0;b=k[a+20>>2]|0;W=k[a+36>>2]|0;e=k[a+48>>2]|0;if(!e){if(!d)return;a=d+-1|0;a:while(1){switch(V&7|0){case 0:{f=b;p=(V+7|0)/8|0;b=7;break}case 7:{g=b;q=(V+7|0)/8|0;b=8;break}case 6:{h=b;r=(V+7|0)/8|0;b=9;break}case 5:{j=b;s=(V+7|0)/8|0;b=10;break}case 4:{l=b;t=(V+7|0)/8|0;b=11;break}case 3:{m=b;u=(V+7|0)/8|0;b=12;break}case 2:{n=b;v=(V+7|0)/8|0;b=13;break}case 1:{o=b;w=(V+7|0)/8|0;b=14;break}default:{b=15;break a}}while(1)if((b|0)==7){g=k[c>>2]|0;i[f>>0]=g>>>22&224|g>>>15&28|g>>>8&3;g=f+1|0;q=p;b=8;continue}else if((b|0)==8){h=k[c>>2]|0;i[g>>0]=h>>>22&224|h>>>15&28|h>>>8&3;h=g+1|0;r=q;b=9;continue}else if((b|0)==9){j=k[c>>2]|0;i[h>>0]=j>>>22&224|j>>>15&28|j>>>8&3;j=h+1|0;s=r;b=10;continue}else if((b|0)==10){l=k[c>>2]|0;i[j>>0]=l>>>22&224|l>>>15&28|l>>>8&3;l=j+1|0;t=s;b=11;continue}else if((b|0)==11){m=k[c>>2]|0;i[l>>0]=m>>>22&224|m>>>15&28|m>>>8&3;m=l+1|0;u=t;b=12;continue}else if((b|0)==12){n=k[c>>2]|0;i[m>>0]=n>>>22&224|n>>>15&28|n>>>8&3;n=m+1|0;v=u;b=13;continue}else if((b|0)==13){o=k[c>>2]|0;i[n>>0]=o>>>22&224|o>>>15&28|o>>>8&3;o=n+1|0;w=v;b=14;continue}else if((b|0)==14){U=k[c>>2]|0;b=o+1|0;i[o>>0]=U>>>22&224|U>>>15&28|U>>>8&3;if((w|0)>1){f=b;p=w+-1|0;b=7;continue}else break}if(!a){b=28;break}else{a=a+-1|0;b=b+W|0;c=c+(X<<2)|0}}if((b|0)!=15)if((b|0)==28)return}else{if(!d)return;a=d+-1|0;b:while(1){switch(V&7|0){case 0:{x=b;F=(V+7|0)/8|0;N=c;b=18;break}case 7:{y=b;G=(V+7|0)/8|0;O=c;b=19;break}case 6:{z=b;H=(V+7|0)/8|0;P=c;b=20;break}case 5:{A=b;I=(V+7|0)/8|0;Q=c;b=21;break}case 4:{B=b;J=(V+7|0)/8|0;R=c;b=22;break}case 3:{C=b;K=(V+7|0)/8|0;S=c;b=23;break}case 2:{D=b;L=(V+7|0)/8|0;T=c;b=24;break}case 1:{E=b;M=(V+7|0)/8|0;U=c;b=25;break}default:{b=26;break b}}while(1)if((b|0)==18){y=k[N>>2]|0;i[x>>0]=i[e+(y>>>22&224|y>>>15&28|y>>>8&3)>>0]|0;y=x+1|0;G=F;O=N+4|0;b=19;continue}else if((b|0)==19){z=k[O>>2]|0;i[y>>0]=i[e+(z>>>22&224|z>>>15&28|z>>>8&3)>>0]|0;z=y+1|0;H=G;P=O+4|0;b=20;continue}else if((b|0)==20){A=k[P>>2]|0;i[z>>0]=i[e+(A>>>22&224|A>>>15&28|A>>>8&3)>>0]|0;A=z+1|0;I=H;Q=P+4|0;b=21;continue}else if((b|0)==21){B=k[Q>>2]|0;i[A>>0]=i[e+(B>>>22&224|B>>>15&28|B>>>8&3)>>0]|0;B=A+1|0;J=I;R=Q+4|0;b=22;continue}else if((b|0)==22){C=k[R>>2]|0;i[B>>0]=i[e+(C>>>22&224|C>>>15&28|C>>>8&3)>>0]|0;C=B+1|0;K=J;S=R+4|0;b=23;continue}else if((b|0)==23){D=k[S>>2]|0;i[C>>0]=i[e+(D>>>22&224|D>>>15&28|D>>>8&3)>>0]|0;D=C+1|0;L=K;T=S+4|0;b=24;continue}else if((b|0)==24){E=k[T>>2]|0;i[D>>0]=i[e+(E>>>22&224|E>>>15&28|E>>>8&3)>>0]|0;E=D+1|0;M=L;U=T+4|0;b=25;continue}else if((b|0)==25){c=k[U>>2]|0;b=E+1|0;i[E>>0]=i[e+(c>>>22&224|c>>>15&28|c>>>8&3)>>0]|0;c=U+4|0;if((M|0)>1){x=b;F=M+-1|0;N=c;b=18;continue}else break}if(!a){b=28;break}else{a=a+-1|0;b=b+W|0;c=c+(X<<2)|0}}if((b|0)!=26)if((b|0)==28)return}}function gab(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0,p=0,q=0;g=k[a+24>>2]|0;b=k[a+28>>2]|0;m=k[a+16>>2]|0;n=k[a+36>>2]|0;o=k[a+44>>2]|0;h=l[o+9>>0]|0;if(!b)return;c=k[a+20>>2]|0;e=k[a>>2]|0;a:while(1){b=b+-1|0;switch(g&7|0){case 0:{a=c;f=(g+7|0)/8|0;d=4;break}case 7:{f=(g+7|0)/8|0;d=10;break}case 6:{f=(g+7|0)/8|0;d=16;break}case 5:{f=(g+7|0)/8|0;d=22;break}case 4:{f=(g+7|0)/8|0;d=28;break}case 3:{f=(g+7|0)/8|0;d=34;break}case 2:{f=(g+7|0)/8|0;d=40;break}case 1:{f=(g+7|0)/8|0;d=46;break}default:{d=52;break a}}while(1)if((d|0)==4){c=k[e>>2]|0;d=l[594750+(c>>>30)>>0]|0;switch(h|0){case 1:{q=k[o+28>>2]|0;p=k[o+32>>2]|0;i[a>>0]=(c>>>12&255)>>>(q>>>8&255)<<(p>>>8&255)|(c>>>22&255)>>>(q&255)<<(p&255)|(c>>>2&255)>>>(q>>>16&255)<<(p>>>16&255)|d>>>(q>>>24)<<(p>>>24);break}case 2:{p=k[o+28>>2]|0;q=k[o+32>>2]|0;j[a>>1]=(c>>>12&255)>>>(p>>>8&255)<<(q>>>8&255)|(c>>>22&255)>>>(p&255)<<(q&255)|(c>>>2&255)>>>(p>>>16&255)<<(q>>>16&255)|d>>>(p>>>24)<<(q>>>24);break}case 3:{i[a+((l[o+32>>0]|0)>>>3&255)>>0]=c>>>22;i[a+((l[o+33>>0]|0)>>>3&255)>>0]=c>>>12;i[a+((l[o+34>>0]|0)>>>3&255)>>0]=c>>>2;break}case 4:{p=k[o+28>>2]|0;q=k[o+32>>2]|0;k[a>>2]=(c>>>12&255)>>>(p>>>8&255)<<(q>>>8&255)|(c>>>22&255)>>>(p&255)<<(q&255)|(c>>>2&255)>>>(p>>>16&255)<<(q>>>16&255)|d>>>(p>>>24)<<(q>>>24);break}default:{}}c=a+h|0;e=e+4|0;d=10;continue}else if((d|0)==10){a=k[e>>2]|0;d=l[594750+(a>>>30)>>0]|0;switch(h|0){case 1:{p=k[o+28>>2]|0;q=k[o+32>>2]|0;i[c>>0]=(a>>>12&255)>>>(p>>>8&255)<<(q>>>8&255)|(a>>>22&255)>>>(p&255)<<(q&255)|(a>>>2&255)>>>(p>>>16&255)<<(q>>>16&255)|d>>>(p>>>24)<<(q>>>24);break}case 2:{p=k[o+28>>2]|0;q=k[o+32>>2]|0;j[c>>1]=(a>>>12&255)>>>(p>>>8&255)<<(q>>>8&255)|(a>>>22&255)>>>(p&255)<<(q&255)|(a>>>2&255)>>>(p>>>16&255)<<(q>>>16&255)|d>>>(p>>>24)<<(q>>>24);break}case 3:{i[c+((l[o+32>>0]|0)>>>3&255)>>0]=a>>>22;i[c+((l[o+33>>0]|0)>>>3&255)>>0]=a>>>12;i[c+((l[o+34>>0]|0)>>>3&255)>>0]=a>>>2;break}case 4:{p=k[o+28>>2]|0;q=k[o+32>>2]|0;k[c>>2]=(a>>>12&255)>>>(p>>>8&255)<<(q>>>8&255)|(a>>>22&255)>>>(p&255)<<(q&255)|(a>>>2&255)>>>(p>>>16&255)<<(q>>>16&255)|d>>>(p>>>24)<<(q>>>24);break}default:{}}c=c+h|0;e=e+4|0;d=16;continue}else if((d|0)==16){a=k[e>>2]|0;d=l[594750+(a>>>30)>>0]|0;switch(h|0){case 1:{p=k[o+28>>2]|0;q=k[o+32>>2]|0;i[c>>0]=(a>>>12&255)>>>(p>>>8&255)<<(q>>>8&255)|(a>>>22&255)>>>(p&255)<<(q&255)|(a>>>2&255)>>>(p>>>16&255)<<(q>>>16&255)|d>>>(p>>>24)<<(q>>>24);break}case 2:{p=k[o+28>>2]|0;q=k[o+32>>2]|0;j[c>>1]=(a>>>12&255)>>>(p>>>8&255)<<(q>>>8&255)|(a>>>22&255)>>>(p&255)<<(q&255)|(a>>>2&255)>>>(p>>>16&255)<<(q>>>16&255)|d>>>(p>>>24)<<(q>>>24);break}case 3:{i[c+((l[o+32>>0]|0)>>>3&255)>>0]=a>>>22;i[c+((l[o+33>>0]|0)>>>3&255)>>0]=a>>>12;i[c+((l[o+34>>0]|0)>>>3&255)>>0]=a>>>2;break}case 4:{p=k[o+28>>2]|0;q=k[o+32>>2]|0;k[c>>2]=(a>>>12&255)>>>(p>>>8&255)<<(q>>>8&255)|(a>>>22&255)>>>(p&255)<<(q&255)|(a>>>2&255)>>>(p>>>16&255)<<(q>>>16&255)|d>>>(p>>>24)<<(q>>>24);break}default:{}}c=c+h|0;e=e+4|0;d=22;continue}else if((d|0)==22){a=k[e>>2]|0;d=l[594750+(a>>>30)>>0]|0;switch(h|0){case 1:{p=k[o+28>>2]|0;q=k[o+32>>2]|0;i[c>>0]=(a>>>12&255)>>>(p>>>8&255)<<(q>>>8&255)|(a>>>22&255)>>>(p&255)<<(q&255)|(a>>>2&255)>>>(p>>>16&255)<<(q>>>16&255)|d>>>(p>>>24)<<(q>>>24);break}case 2:{p=k[o+28>>2]|0;q=k[o+32>>2]|0;j[c>>1]=(a>>>12&255)>>>(p>>>8&255)<<(q>>>8&255)|(a>>>22&255)>>>(p&255)<<(q&255)|(a>>>2&255)>>>(p>>>16&255)<<(q>>>16&255)|d>>>(p>>>24)<<(q>>>24);break}case 3:{i[c+((l[o+32>>0]|0)>>>3&255)>>0]=a>>>22;i[c+((l[o+33>>0]|0)>>>3&255)>>0]=a>>>12;i[c+((l[o+34>>0]|0)>>>3&255)>>0]=a>>>2;break}case 4:{p=k[o+28>>2]|0;q=k[o+32>>2]|0;k[c>>2]=(a>>>12&255)>>>(p>>>8&255)<<(q>>>8&255)|(a>>>22&255)>>>(p&255)<<(q&255)|(a>>>2&255)>>>(p>>>16&255)<<(q>>>16&255)|d>>>(p>>>24)<<(q>>>24);break}default:{}}c=c+h|0;e=e+4|0;d=28;continue}else if((d|0)==28){a=k[e>>2]|0;d=l[594750+(a>>>30)>>0]|0;switch(h|0){case 1:{p=k[o+28>>2]|0;q=k[o+32>>2]|0;i[c>>0]=(a>>>12&255)>>>(p>>>8&255)<<(q>>>8&255)|(a>>>22&255)>>>(p&255)<<(q&255)|(a>>>2&255)>>>(p>>>16&255)<<(q>>>16&255)|d>>>(p>>>24)<<(q>>>24);break}case 2:{p=k[o+28>>2]|0;q=k[o+32>>2]|0;j[c>>1]=(a>>>12&255)>>>(p>>>8&255)<<(q>>>8&255)|(a>>>22&255)>>>(p&255)<<(q&255)|(a>>>2&255)>>>(p>>>16&255)<<(q>>>16&255)|d>>>(p>>>24)<<(q>>>24);break}case 3:{i[c+((l[o+32>>0]|0)>>>3&255)>>0]=a>>>22;i[c+((l[o+33>>0]|0)>>>3&255)>>0]=a>>>12;i[c+((l[o+34>>0]|0)>>>3&255)>>0]=a>>>2;break}case 4:{p=k[o+28>>2]|0;q=k[o+32>>2]|0;k[c>>2]=(a>>>12&255)>>>(p>>>8&255)<<(q>>>8&255)|(a>>>22&255)>>>(p&255)<<(q&255)|(a>>>2&255)>>>(p>>>16&255)<<(q>>>16&255)|d>>>(p>>>24)<<(q>>>24);break}default:{}}c=c+h|0;e=e+4|0;d=34;continue}else if((d|0)==34){a=k[e>>2]|0;d=l[594750+(a>>>30)>>0]|0;switch(h|0){case 1:{p=k[o+28>>2]|0;q=k[o+32>>2]|0;i[c>>0]=(a>>>12&255)>>>(p>>>8&255)<<(q>>>8&255)|(a>>>22&255)>>>(p&255)<<(q&255)|(a>>>2&255)>>>(p>>>16&255)<<(q>>>16&255)|d>>>(p>>>24)<<(q>>>24);break}case 2:{p=k[o+28>>2]|0;q=k[o+32>>2]|0;j[c>>1]=(a>>>12&255)>>>(p>>>8&255)<<(q>>>8&255)|(a>>>22&255)>>>(p&255)<<(q&255)|(a>>>2&255)>>>(p>>>16&255)<<(q>>>16&255)|d>>>(p>>>24)<<(q>>>24);break}case 3:{i[c+((l[o+32>>0]|0)>>>3&255)>>0]=a>>>22;i[c+((l[o+33>>0]|0)>>>3&255)>>0]=a>>>12;i[c+((l[o+34>>0]|0)>>>3&255)>>0]=a>>>2;break}case 4:{p=k[o+28>>2]|0;q=k[o+32>>2]|0;k[c>>2]=(a>>>12&255)>>>(p>>>8&255)<<(q>>>8&255)|(a>>>22&255)>>>(p&255)<<(q&255)|(a>>>2&255)>>>(p>>>16&255)<<(q>>>16&255)|d>>>(p>>>24)<<(q>>>24);break}default:{}}c=c+h|0;e=e+4|0;d=40;continue}else if((d|0)==40){a=k[e>>2]|0;d=l[594750+(a>>>30)>>0]|0;switch(h|0){case 1:{p=k[o+28>>2]|0;q=k[o+32>>2]|0;i[c>>0]=(a>>>12&255)>>>(p>>>8&255)<<(q>>>8&255)|(a>>>22&255)>>>(p&255)<<(q&255)|(a>>>2&255)>>>(p>>>16&255)<<(q>>>16&255)|d>>>(p>>>24)<<(q>>>24);break}case 2:{p=k[o+28>>2]|0;q=k[o+32>>2]|0;j[c>>1]=(a>>>12&255)>>>(p>>>8&255)<<(q>>>8&255)|(a>>>22&255)>>>(p&255)<<(q&255)|(a>>>2&255)>>>(p>>>16&255)<<(q>>>16&255)|d>>>(p>>>24)<<(q>>>24);break}case 3:{i[c+((l[o+32>>0]|0)>>>3&255)>>0]=a>>>22;i[c+((l[o+33>>0]|0)>>>3&255)>>0]=a>>>12;i[c+((l[o+34>>0]|0)>>>3&255)>>0]=a>>>2;break}case 4:{p=k[o+28>>2]|0;q=k[o+32>>2]|0;k[c>>2]=(a>>>12&255)>>>(p>>>8&255)<<(q>>>8&255)|(a>>>22&255)>>>(p&255)<<(q&255)|(a>>>2&255)>>>(p>>>16&255)<<(q>>>16&255)|d>>>(p>>>24)<<(q>>>24);break}default:{}}c=c+h|0;e=e+4|0;d=46;continue}else if((d|0)==46){a=k[e>>2]|0;d=l[594750+(a>>>30)>>0]|0;switch(h|0){case 1:{p=k[o+28>>2]|0;q=k[o+32>>2]|0;i[c>>0]=(a>>>12&255)>>>(p>>>8&255)<<(q>>>8&255)|(a>>>22&255)>>>(p&255)<<(q&255)|(a>>>2&255)>>>(p>>>16&255)<<(q>>>16&255)|d>>>(p>>>24)<<(q>>>24);break}case 2:{p=k[o+28>>2]|0;q=k[o+32>>2]|0;j[c>>1]=(a>>>12&255)>>>(p>>>8&255)<<(q>>>8&255)|(a>>>22&255)>>>(p&255)<<(q&255)|(a>>>2&255)>>>(p>>>16&255)<<(q>>>16&255)|d>>>(p>>>24)<<(q>>>24);break}case 3:{i[c+((l[o+32>>0]|0)>>>3&255)>>0]=a>>>22;i[c+((l[o+33>>0]|0)>>>3&255)>>0]=a>>>12;i[c+((l[o+34>>0]|0)>>>3&255)>>0]=a>>>2;break}case 4:{p=k[o+28>>2]|0;q=k[o+32>>2]|0;k[c>>2]=(a>>>12&255)>>>(p>>>8&255)<<(q>>>8&255)|(a>>>22&255)>>>(p&255)<<(q&255)|(a>>>2&255)>>>(p>>>16&255)<<(q>>>16&255)|d>>>(p>>>24)<<(q>>>24);break}default:{}}a=c+h|0;d=e+4|0;if((f|0)>1){f=f+-1|0;e=d;d=4;continue}else break}if(!b){d=54;break}else{c=a+n|0;e=d+m|0}}if((d|0)!=52)if((d|0)==54)return}function hab(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;q=k[a+24>>2]|0;b=k[a+28>>2]|0;s=k[a+16>>2]|0;t=k[a+36>>2]|0;u=k[a+40>>2]|0;r=l[u+9>>0]|0;if(!b)return;c=k[a+20>>2]|0;d=k[a>>2]|0;a:while(1){b=b+-1|0;switch(q&7|0){case 0:{a=c;p=(q+7|0)/8|0;h=4;break}case 7:{p=(q+7|0)/8|0;h=12;break}case 6:{p=(q+7|0)/8|0;h=20;break}case 5:{p=(q+7|0)/8|0;h=28;break}case 4:{p=(q+7|0)/8|0;h=36;break}case 3:{p=(q+7|0)/8|0;h=44;break}case 2:{p=(q+7|0)/8|0;h=52;break}case 1:{p=(q+7|0)/8|0;h=60;break}default:{h=68;break a}}while(1)if((h|0)==4){h=0;switch(r|0){case 1:{h=l[d>>0]|0;f=k[u+32>>2]|0;o=k[u+28>>2]|0;g=i[(k[124356+(o>>>24<<2)>>2]|0)+((k[u+24>>2]&h)>>>(f>>>24))>>0]|0;c=(k[124356+((o>>>16&255)<<2)>>2]|0)+((k[u+20>>2]&h)>>>(f>>>16&255))|0;e=(k[124356+((o>>>8&255)<<2)>>2]|0)+((k[u+16>>2]&h)>>>(f>>>8&255))|0;f=(k[124356+((o&255)<<2)>>2]|0)+((h&k[u+12>>2])>>>(f&255))|0;h=9;break}case 2:{h=m[d>>1]|0;f=k[u+32>>2]|0;o=k[u+28>>2]|0;g=i[(k[124356+(o>>>24<<2)>>2]|0)+((k[u+24>>2]&h)>>>(f>>>24))>>0]|0;c=(k[124356+((o>>>16&255)<<2)>>2]|0)+((k[u+20>>2]&h)>>>(f>>>16&255))|0;e=(k[124356+((o>>>8&255)<<2)>>2]|0)+((k[u+16>>2]&h)>>>(f>>>8&255))|0;f=(k[124356+((o&255)<<2)>>2]|0)+((h&k[u+12>>2])>>>(f&255))|0;h=9;break}case 3:{f=k[u+32>>2]|0;g=-1;c=d+(f>>>19&31)|0;e=d+(f>>>11&31)|0;f=d+(f>>>3&31)|0;h=9;break}case 4:{h=k[d>>2]|0;f=k[u+32>>2]|0;o=k[u+28>>2]|0;g=i[(k[124356+(o>>>24<<2)>>2]|0)+((k[u+24>>2]&h)>>>(f>>>24))>>0]|0;c=(k[124356+((o>>>16&255)<<2)>>2]|0)+((k[u+20>>2]&h)>>>(f>>>16&255))|0;e=(k[124356+((o>>>8&255)<<2)>>2]|0)+((k[u+16>>2]&h)>>>(f>>>8&255))|0;f=(k[124356+((o&255)<<2)>>2]|0)+((k[u+12>>2]&h)>>>(f&255))|0;h=9;break}default:{n=0;g=0;j=0;e=0;f=0;c=0}}if((h|0)==9){h=i[c>>0]|0;o=i[e>>0]|0;c=i[f>>0]|0;if(!(c<<24>>24)){n=0;j=h;e=h&255;f=o;c=o&255}else{n=(c&255)<<22|3145728;j=h;e=h&255;f=o;c=o&255}}k[a>>2]=(((g&255)/85|0)&255)<<30|n|(j<<24>>24==0?0:e<<2|3)|(f<<24>>24==0?0:c<<12|3072);c=a+4|0;d=d+r|0;h=12;continue}else if((h|0)==12){h=0;switch(r|0){case 1:{h=l[d>>0]|0;f=k[u+32>>2]|0;o=k[u+28>>2]|0;g=i[(k[124356+(o>>>24<<2)>>2]|0)+((k[u+24>>2]&h)>>>(f>>>24))>>0]|0;a=(k[124356+((o>>>16&255)<<2)>>2]|0)+((k[u+20>>2]&h)>>>(f>>>16&255))|0;e=(k[124356+((o>>>8&255)<<2)>>2]|0)+((k[u+16>>2]&h)>>>(f>>>8&255))|0;f=(k[124356+((o&255)<<2)>>2]|0)+((h&k[u+12>>2])>>>(f&255))|0;h=17;break}case 2:{h=m[d>>1]|0;f=k[u+32>>2]|0;o=k[u+28>>2]|0;g=i[(k[124356+(o>>>24<<2)>>2]|0)+((k[u+24>>2]&h)>>>(f>>>24))>>0]|0;a=(k[124356+((o>>>16&255)<<2)>>2]|0)+((k[u+20>>2]&h)>>>(f>>>16&255))|0;e=(k[124356+((o>>>8&255)<<2)>>2]|0)+((k[u+16>>2]&h)>>>(f>>>8&255))|0;f=(k[124356+((o&255)<<2)>>2]|0)+((h&k[u+12>>2])>>>(f&255))|0;h=17;break}case 3:{f=k[u+32>>2]|0;g=-1;a=d+(f>>>19&31)|0;e=d+(f>>>11&31)|0;f=d+(f>>>3&31)|0;h=17;break}case 4:{h=k[d>>2]|0;f=k[u+32>>2]|0;o=k[u+28>>2]|0;g=i[(k[124356+(o>>>24<<2)>>2]|0)+((k[u+24>>2]&h)>>>(f>>>24))>>0]|0;a=(k[124356+((o>>>16&255)<<2)>>2]|0)+((k[u+20>>2]&h)>>>(f>>>16&255))|0;e=(k[124356+((o>>>8&255)<<2)>>2]|0)+((k[u+16>>2]&h)>>>(f>>>8&255))|0;f=(k[124356+((o&255)<<2)>>2]|0)+((k[u+12>>2]&h)>>>(f&255))|0;h=17;break}default:{n=0;g=0;j=0;e=0;f=0;a=0}}if((h|0)==17){h=i[a>>0]|0;o=i[e>>0]|0;a=i[f>>0]|0;if(!(a<<24>>24)){n=0;j=h;e=h&255;f=o;a=o&255}else{n=(a&255)<<22|3145728;j=h;e=h&255;f=o;a=o&255}}k[c>>2]=(((g&255)/85|0)&255)<<30|n|(j<<24>>24==0?0:e<<2|3)|(f<<24>>24==0?0:a<<12|3072);c=c+4|0;d=d+r|0;h=20;continue}else if((h|0)==20){h=0;switch(r|0){case 1:{h=l[d>>0]|0;f=k[u+32>>2]|0;o=k[u+28>>2]|0;g=i[(k[124356+(o>>>24<<2)>>2]|0)+((k[u+24>>2]&h)>>>(f>>>24))>>0]|0;a=(k[124356+((o>>>16&255)<<2)>>2]|0)+((k[u+20>>2]&h)>>>(f>>>16&255))|0;e=(k[124356+((o>>>8&255)<<2)>>2]|0)+((k[u+16>>2]&h)>>>(f>>>8&255))|0;f=(k[124356+((o&255)<<2)>>2]|0)+((h&k[u+12>>2])>>>(f&255))|0;h=25;break}case 2:{h=m[d>>1]|0;f=k[u+32>>2]|0;o=k[u+28>>2]|0;g=i[(k[124356+(o>>>24<<2)>>2]|0)+((k[u+24>>2]&h)>>>(f>>>24))>>0]|0;a=(k[124356+((o>>>16&255)<<2)>>2]|0)+((k[u+20>>2]&h)>>>(f>>>16&255))|0;e=(k[124356+((o>>>8&255)<<2)>>2]|0)+((k[u+16>>2]&h)>>>(f>>>8&255))|0;f=(k[124356+((o&255)<<2)>>2]|0)+((h&k[u+12>>2])>>>(f&255))|0;h=25;break}case 3:{f=k[u+32>>2]|0;g=-1;a=d+(f>>>19&31)|0;e=d+(f>>>11&31)|0;f=d+(f>>>3&31)|0;h=25;break}case 4:{h=k[d>>2]|0;f=k[u+32>>2]|0;o=k[u+28>>2]|0;g=i[(k[124356+(o>>>24<<2)>>2]|0)+((k[u+24>>2]&h)>>>(f>>>24))>>0]|0;a=(k[124356+((o>>>16&255)<<2)>>2]|0)+((k[u+20>>2]&h)>>>(f>>>16&255))|0;e=(k[124356+((o>>>8&255)<<2)>>2]|0)+((k[u+16>>2]&h)>>>(f>>>8&255))|0;f=(k[124356+((o&255)<<2)>>2]|0)+((k[u+12>>2]&h)>>>(f&255))|0;h=25;break}default:{n=0;g=0;j=0;e=0;f=0;a=0}}if((h|0)==25){h=i[a>>0]|0;o=i[e>>0]|0;a=i[f>>0]|0;if(!(a<<24>>24)){n=0;j=h;e=h&255;f=o;a=o&255}else{n=(a&255)<<22|3145728;j=h;e=h&255;f=o;a=o&255}}k[c>>2]=(((g&255)/85|0)&255)<<30|n|(j<<24>>24==0?0:e<<2|3)|(f<<24>>24==0?0:a<<12|3072);c=c+4|0;d=d+r|0;h=28;continue}else if((h|0)==28){h=0;switch(r|0){case 1:{h=l[d>>0]|0;f=k[u+32>>2]|0;o=k[u+28>>2]|0;g=i[(k[124356+(o>>>24<<2)>>2]|0)+((k[u+24>>2]&h)>>>(f>>>24))>>0]|0;a=(k[124356+((o>>>16&255)<<2)>>2]|0)+((k[u+20>>2]&h)>>>(f>>>16&255))|0;e=(k[124356+((o>>>8&255)<<2)>>2]|0)+((k[u+16>>2]&h)>>>(f>>>8&255))|0;f=(k[124356+((o&255)<<2)>>2]|0)+((h&k[u+12>>2])>>>(f&255))|0;h=33;break}case 2:{h=m[d>>1]|0;f=k[u+32>>2]|0;o=k[u+28>>2]|0;g=i[(k[124356+(o>>>24<<2)>>2]|0)+((k[u+24>>2]&h)>>>(f>>>24))>>0]|0;a=(k[124356+((o>>>16&255)<<2)>>2]|0)+((k[u+20>>2]&h)>>>(f>>>16&255))|0;e=(k[124356+((o>>>8&255)<<2)>>2]|0)+((k[u+16>>2]&h)>>>(f>>>8&255))|0;f=(k[124356+((o&255)<<2)>>2]|0)+((h&k[u+12>>2])>>>(f&255))|0;h=33;break}case 3:{f=k[u+32>>2]|0;g=-1;a=d+(f>>>19&31)|0;e=d+(f>>>11&31)|0;f=d+(f>>>3&31)|0;h=33;break}case 4:{h=k[d>>2]|0;f=k[u+32>>2]|0;o=k[u+28>>2]|0;g=i[(k[124356+(o>>>24<<2)>>2]|0)+((k[u+24>>2]&h)>>>(f>>>24))>>0]|0;a=(k[124356+((o>>>16&255)<<2)>>2]|0)+((k[u+20>>2]&h)>>>(f>>>16&255))|0;e=(k[124356+((o>>>8&255)<<2)>>2]|0)+((k[u+16>>2]&h)>>>(f>>>8&255))|0;f=(k[124356+((o&255)<<2)>>2]|0)+((k[u+12>>2]&h)>>>(f&255))|0;h=33;break}default:{n=0;g=0;j=0;e=0;f=0;a=0}}if((h|0)==33){h=i[a>>0]|0;o=i[e>>0]|0;a=i[f>>0]|0;if(!(a<<24>>24)){n=0;j=h;e=h&255;f=o;a=o&255}else{n=(a&255)<<22|3145728;j=h;e=h&255;f=o;a=o&255}}k[c>>2]=(((g&255)/85|0)&255)<<30|n|(j<<24>>24==0?0:e<<2|3)|(f<<24>>24==0?0:a<<12|3072);c=c+4|0;d=d+r|0;h=36;continue}else if((h|0)==36){h=0;switch(r|0){case 1:{h=l[d>>0]|0;f=k[u+32>>2]|0;o=k[u+28>>2]|0;g=i[(k[124356+(o>>>24<<2)>>2]|0)+((k[u+24>>2]&h)>>>(f>>>24))>>0]|0;a=(k[124356+((o>>>16&255)<<2)>>2]|0)+((k[u+20>>2]&h)>>>(f>>>16&255))|0;e=(k[124356+((o>>>8&255)<<2)>>2]|0)+((k[u+16>>2]&h)>>>(f>>>8&255))|0;f=(k[124356+((o&255)<<2)>>2]|0)+((h&k[u+12>>2])>>>(f&255))|0;h=41;break}case 2:{h=m[d>>1]|0;f=k[u+32>>2]|0;o=k[u+28>>2]|0;g=i[(k[124356+(o>>>24<<2)>>2]|0)+((k[u+24>>2]&h)>>>(f>>>24))>>0]|0;a=(k[124356+((o>>>16&255)<<2)>>2]|0)+((k[u+20>>2]&h)>>>(f>>>16&255))|0;e=(k[124356+((o>>>8&255)<<2)>>2]|0)+((k[u+16>>2]&h)>>>(f>>>8&255))|0;f=(k[124356+((o&255)<<2)>>2]|0)+((h&k[u+12>>2])>>>(f&255))|0;h=41;break}case 3:{f=k[u+32>>2]|0;g=-1;a=d+(f>>>19&31)|0;e=d+(f>>>11&31)|0;f=d+(f>>>3&31)|0;h=41;break}case 4:{h=k[d>>2]|0;f=k[u+32>>2]|0;o=k[u+28>>2]|0;g=i[(k[124356+(o>>>24<<2)>>2]|0)+((k[u+24>>2]&h)>>>(f>>>24))>>0]|0;a=(k[124356+((o>>>16&255)<<2)>>2]|0)+((k[u+20>>2]&h)>>>(f>>>16&255))|0;e=(k[124356+((o>>>8&255)<<2)>>2]|0)+((k[u+16>>2]&h)>>>(f>>>8&255))|0;f=(k[124356+((o&255)<<2)>>2]|0)+((k[u+12>>2]&h)>>>(f&255))|0;h=41;break}default:{n=0;g=0;j=0;e=0;f=0;a=0}}if((h|0)==41){h=i[a>>0]|0;o=i[e>>0]|0;a=i[f>>0]|0;if(!(a<<24>>24)){n=0;j=h;e=h&255;f=o;a=o&255}else{n=(a&255)<<22|3145728;j=h;e=h&255;f=o;a=o&255}}k[c>>2]=(((g&255)/85|0)&255)<<30|n|(j<<24>>24==0?0:e<<2|3)|(f<<24>>24==0?0:a<<12|3072);c=c+4|0;d=d+r|0;h=44;continue}else if((h|0)==44){h=0;switch(r|0){case 1:{h=l[d>>0]|0;f=k[u+32>>2]|0;o=k[u+28>>2]|0;g=i[(k[124356+(o>>>24<<2)>>2]|0)+((k[u+24>>2]&h)>>>(f>>>24))>>0]|0;a=(k[124356+((o>>>16&255)<<2)>>2]|0)+((k[u+20>>2]&h)>>>(f>>>16&255))|0;e=(k[124356+((o>>>8&255)<<2)>>2]|0)+((k[u+16>>2]&h)>>>(f>>>8&255))|0;f=(k[124356+((o&255)<<2)>>2]|0)+((h&k[u+12>>2])>>>(f&255))|0;h=49;break}case 2:{h=m[d>>1]|0;f=k[u+32>>2]|0;o=k[u+28>>2]|0;g=i[(k[124356+(o>>>24<<2)>>2]|0)+((k[u+24>>2]&h)>>>(f>>>24))>>0]|0;a=(k[124356+((o>>>16&255)<<2)>>2]|0)+((k[u+20>>2]&h)>>>(f>>>16&255))|0;e=(k[124356+((o>>>8&255)<<2)>>2]|0)+((k[u+16>>2]&h)>>>(f>>>8&255))|0;f=(k[124356+((o&255)<<2)>>2]|0)+((h&k[u+12>>2])>>>(f&255))|0;h=49;break}case 3:{f=k[u+32>>2]|0;g=-1;a=d+(f>>>19&31)|0;e=d+(f>>>11&31)|0;f=d+(f>>>3&31)|0;h=49;break}case 4:{h=k[d>>2]|0;f=k[u+32>>2]|0;o=k[u+28>>2]|0;g=i[(k[124356+(o>>>24<<2)>>2]|0)+((k[u+24>>2]&h)>>>(f>>>24))>>0]|0;a=(k[124356+((o>>>16&255)<<2)>>2]|0)+((k[u+20>>2]&h)>>>(f>>>16&255))|0;e=(k[124356+((o>>>8&255)<<2)>>2]|0)+((k[u+16>>2]&h)>>>(f>>>8&255))|0;f=(k[124356+((o&255)<<2)>>2]|0)+((k[u+12>>2]&h)>>>(f&255))|0;h=49;break}default:{n=0;g=0;j=0;e=0;f=0;a=0}}if((h|0)==49){h=i[a>>0]|0;o=i[e>>0]|0;a=i[f>>0]|0;if(!(a<<24>>24)){n=0;j=h;e=h&255;f=o;a=o&255}else{n=(a&255)<<22|3145728;j=h;e=h&255;f=o;a=o&255}}k[c>>2]=(((g&255)/85|0)&255)<<30|n|(j<<24>>24==0?0:e<<2|3)|(f<<24>>24==0?0:a<<12|3072);c=c+4|0;d=d+r|0;h=52;continue}else if((h|0)==52){h=0;switch(r|0){case 1:{h=l[d>>0]|0;f=k[u+32>>2]|0;o=k[u+28>>2]|0;g=i[(k[124356+(o>>>24<<2)>>2]|0)+((k[u+24>>2]&h)>>>(f>>>24))>>0]|0;a=(k[124356+((o>>>16&255)<<2)>>2]|0)+((k[u+20>>2]&h)>>>(f>>>16&255))|0;e=(k[124356+((o>>>8&255)<<2)>>2]|0)+((k[u+16>>2]&h)>>>(f>>>8&255))|0;f=(k[124356+((o&255)<<2)>>2]|0)+((h&k[u+12>>2])>>>(f&255))|0;h=57;break}case 2:{h=m[d>>1]|0;f=k[u+32>>2]|0;o=k[u+28>>2]|0;g=i[(k[124356+(o>>>24<<2)>>2]|0)+((k[u+24>>2]&h)>>>(f>>>24))>>0]|0;a=(k[124356+((o>>>16&255)<<2)>>2]|0)+((k[u+20>>2]&h)>>>(f>>>16&255))|0;e=(k[124356+((o>>>8&255)<<2)>>2]|0)+((k[u+16>>2]&h)>>>(f>>>8&255))|0;f=(k[124356+((o&255)<<2)>>2]|0)+((h&k[u+12>>2])>>>(f&255))|0;h=57;break}case 3:{f=k[u+32>>2]|0;g=-1;a=d+(f>>>19&31)|0;e=d+(f>>>11&31)|0;f=d+(f>>>3&31)|0;h=57;break}case 4:{h=k[d>>2]|0;f=k[u+32>>2]|0;o=k[u+28>>2]|0;g=i[(k[124356+(o>>>24<<2)>>2]|0)+((k[u+24>>2]&h)>>>(f>>>24))>>0]|0;a=(k[124356+((o>>>16&255)<<2)>>2]|0)+((k[u+20>>2]&h)>>>(f>>>16&255))|0;e=(k[124356+((o>>>8&255)<<2)>>2]|0)+((k[u+16>>2]&h)>>>(f>>>8&255))|0;f=(k[124356+((o&255)<<2)>>2]|0)+((k[u+12>>2]&h)>>>(f&255))|0;h=57;break}default:{n=0;g=0;j=0;e=0;f=0;a=0}}if((h|0)==57){h=i[a>>0]|0;o=i[e>>0]|0;a=i[f>>0]|0;if(!(a<<24>>24)){n=0;j=h;e=h&255;f=o;a=o&255}else{n=(a&255)<<22|3145728;j=h;e=h&255;f=o;a=o&255}}k[c>>2]=(((g&255)/85|0)&255)<<30|n|(j<<24>>24==0?0:e<<2|3)|(f<<24>>24==0?0:a<<12|3072);c=c+4|0;d=d+r|0;h=60;continue}else if((h|0)==60){h=0;switch(r|0){case 1:{h=l[d>>0]|0;f=k[u+32>>2]|0;o=k[u+28>>2]|0;g=i[(k[124356+(o>>>24<<2)>>2]|0)+((k[u+24>>2]&h)>>>(f>>>24))>>0]|0;a=(k[124356+((o>>>16&255)<<2)>>2]|0)+((k[u+20>>2]&h)>>>(f>>>16&255))|0;e=(k[124356+((o>>>8&255)<<2)>>2]|0)+((k[u+16>>2]&h)>>>(f>>>8&255))|0;f=(k[124356+((o&255)<<2)>>2]|0)+((h&k[u+12>>2])>>>(f&255))|0;h=65;break}case 2:{h=m[d>>1]|0;f=k[u+32>>2]|0;o=k[u+28>>2]|0;g=i[(k[124356+(o>>>24<<2)>>2]|0)+((k[u+24>>2]&h)>>>(f>>>24))>>0]|0;a=(k[124356+((o>>>16&255)<<2)>>2]|0)+((k[u+20>>2]&h)>>>(f>>>16&255))|0;e=(k[124356+((o>>>8&255)<<2)>>2]|0)+((k[u+16>>2]&h)>>>(f>>>8&255))|0;f=(k[124356+((o&255)<<2)>>2]|0)+((h&k[u+12>>2])>>>(f&255))|0;h=65;break}case 3:{f=k[u+32>>2]|0;g=-1;a=d+(f>>>19&31)|0;e=d+(f>>>11&31)|0;f=d+(f>>>3&31)|0;h=65;break}case 4:{h=k[d>>2]|0;f=k[u+32>>2]|0;o=k[u+28>>2]|0;g=i[(k[124356+(o>>>24<<2)>>2]|0)+((k[u+24>>2]&h)>>>(f>>>24))>>0]|0;a=(k[124356+((o>>>16&255)<<2)>>2]|0)+((k[u+20>>2]&h)>>>(f>>>16&255))|0;e=(k[124356+((o>>>8&255)<<2)>>2]|0)+((k[u+16>>2]&h)>>>(f>>>8&255))|0;f=(k[124356+((o&255)<<2)>>2]|0)+((k[u+12>>2]&h)>>>(f&255))|0;h=65;break}default:{n=0;g=0;j=0;e=0;f=0;a=0}}if((h|0)==65){h=i[a>>0]|0;o=i[e>>0]|0;a=i[f>>0]|0;if(!(a<<24>>24)){n=0;j=h;e=h&255;f=o;a=o&255}else{n=(a&255)<<22|3145728;j=h;e=h&255;f=o;a=o&255}}k[c>>2]=(((g&255)/85|0)&255)<<30|n|(j<<24>>24==0?0:e<<2|3)|(f<<24>>24==0?0:a<<12|3072);a=c+4|0;d=d+r|0;if((p|0)>1){p=p+-1|0;h=4;continue}else break}if(!b){h=70;break}else{c=a+t|0;d=d+s|0}}if((h|0)!=68)if((h|0)==70)return}function iab(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0;T=k[a+24>>2]|0;f=k[a+28>>2]|0;c=k[a>>2]|0;V=k[a+16>>2]|0;b=k[a+20>>2]|0;U=k[a+36>>2]|0;d=k[a+40>>2]|0;e=k[a+44>>2]|0;if(!(k[e+24>>2]|0)){g=k[d+16>>2]|k[d+12>>2]|k[d+20>>2];if(!f)return;switch(T&7|0){case 0:{e=f+-1|0;while(1){d=(T+7|0)/8|0;while(1){k[b>>2]=k[c>>2]&g;k[b+4>>2]=k[c+4>>2]&g;k[b+8>>2]=k[c+8>>2]&g;k[b+12>>2]=k[c+12>>2]&g;k[b+16>>2]=k[c+16>>2]&g;k[b+20>>2]=k[c+20>>2]&g;k[b+24>>2]=k[c+24>>2]&g;k[b+28>>2]=k[c+28>>2]&g;b=b+32|0;c=c+32|0;if((d|0)>1)d=d+-1|0;else break}if(!e)break;else{e=e+-1|0;b=b+U|0;c=c+V|0}}return}case 7:{f=f+-1|0;while(1){a=(T+7|0)/8|0;while(1){k[b>>2]=k[c>>2]&g;k[b+4>>2]=k[c+4>>2]&g;k[b+8>>2]=k[c+8>>2]&g;k[b+12>>2]=k[c+12>>2]&g;k[b+16>>2]=k[c+16>>2]&g;k[b+20>>2]=k[c+20>>2]&g;k[b+24>>2]=k[c+24>>2]&g;d=b+28|0;e=c+28|0;if((a|0)<=1)break;k[d>>2]=k[e>>2]&g;b=b+32|0;a=a+-1|0;c=c+32|0}if(!f)break;else{f=f+-1|0;b=d+U|0;c=e+V|0}}return}default:{d=f+-1|0;a:while(1){switch(T&7|0){case 1:{o=b;G=(T+7|0)/8|0;M=c;b=37;break}case 2:{n=b;F=(T+7|0)/8|0;L=c;b=36;break}case 6:{h=b;B=(T+7|0)/8|0;H=c;b=32;break}case 5:{i=b;C=(T+7|0)/8|0;I=c;b=33;break}case 4:{j=b;D=(T+7|0)/8|0;J=c;b=34;break}case 3:{m=b;E=(T+7|0)/8|0;K=c;b=35;break}default:{b=38;break a}}while(1)if((b|0)==32){k[h>>2]=k[H>>2]&g;i=h+4|0;C=B;I=H+4|0;b=33;continue}else if((b|0)==33){k[i>>2]=k[I>>2]&g;j=i+4|0;D=C;J=I+4|0;b=34;continue}else if((b|0)==34){k[j>>2]=k[J>>2]&g;m=j+4|0;E=D;K=J+4|0;b=35;continue}else if((b|0)==35){k[m>>2]=k[K>>2]&g;n=m+4|0;F=E;L=K+4|0;b=36;continue}else if((b|0)==36){k[n>>2]=k[L>>2]&g;o=n+4|0;G=F;M=L+4|0;b=37;continue}else if((b|0)==37){k[o>>2]=k[M>>2]&g;b=o+4|0;c=M+4|0;if((G|0)<=1)break;k[b>>2]=k[c>>2]&g;k[o+8>>2]=k[M+8>>2]&g;h=o+12|0;B=G+-1|0;H=M+12|0;b=32;continue}if(!d){b=40;break}else{d=d+-1|0;b=b+U|0;c=c+V|0}}if((b|0)!=38)if((b|0)==40)return}}}else{g=(l[a+63>>0]|0)>>>(l[e+31>>0]|0)<<(l[e+35>>0]|0);if(!f)return;switch(T&7|0){case 0:{e=f+-1|0;while(1){d=(T+7|0)/8|0;while(1){k[b>>2]=k[c>>2]|g;k[b+4>>2]=k[c+4>>2]|g;k[b+8>>2]=k[c+8>>2]|g;k[b+12>>2]=k[c+12>>2]|g;k[b+16>>2]=k[c+16>>2]|g;k[b+20>>2]=k[c+20>>2]|g;k[b+24>>2]=k[c+24>>2]|g;k[b+28>>2]=k[c+28>>2]|g;b=b+32|0;c=c+32|0;if((d|0)>1)d=d+-1|0;else break}if(!e)break;else{e=e+-1|0;b=b+U|0;c=c+V|0}}return}case 7:{f=f+-1|0;while(1){a=(T+7|0)/8|0;while(1){k[b>>2]=k[c>>2]|g;k[b+4>>2]=k[c+4>>2]|g;k[b+8>>2]=k[c+8>>2]|g;k[b+12>>2]=k[c+12>>2]|g;k[b+16>>2]=k[c+16>>2]|g;k[b+20>>2]=k[c+20>>2]|g;k[b+24>>2]=k[c+24>>2]|g;d=b+28|0;e=c+28|0;if((a|0)<=1)break;k[d>>2]=k[e>>2]|g;b=b+32|0;a=a+-1|0;c=c+32|0}if(!f)break;else{f=f+-1|0;b=d+U|0;c=e+V|0}}return}default:{d=f+-1|0;b:while(1){switch(T&7|0){case 1:{u=b;A=(T+7|0)/8|0;S=c;b=18;break}case 2:{t=b;z=(T+7|0)/8|0;R=c;b=17;break}case 6:{p=b;v=(T+7|0)/8|0;N=c;b=13;break}case 5:{q=b;w=(T+7|0)/8|0;O=c;b=14;break}case 4:{r=b;x=(T+7|0)/8|0;P=c;b=15;break}case 3:{s=b;y=(T+7|0)/8|0;Q=c;b=16;break}default:{b=19;break b}}while(1)if((b|0)==13){k[p>>2]=k[N>>2]|g;q=p+4|0;w=v;O=N+4|0;b=14;continue}else if((b|0)==14){k[q>>2]=k[O>>2]|g;r=q+4|0;x=w;P=O+4|0;b=15;continue}else if((b|0)==15){k[r>>2]=k[P>>2]|g;s=r+4|0;y=x;Q=P+4|0;b=16;continue}else if((b|0)==16){k[s>>2]=k[Q>>2]|g;t=s+4|0;z=y;R=Q+4|0;b=17;continue}else if((b|0)==17){k[t>>2]=k[R>>2]|g;u=t+4|0;A=z;S=R+4|0;b=18;continue}else if((b|0)==18){k[u>>2]=k[S>>2]|g;b=u+4|0;c=S+4|0;if((A|0)<=1)break;k[b>>2]=k[c>>2]|g;k[u+8>>2]=k[S+8>>2]|g;p=u+12|0;v=A+-1|0;N=S+12|0;b=13;continue}if(!d){b=40;break}else{d=d+-1|0;b=b+U|0;c=c+V|0}}if((b|0)!=19)if((b|0)==40)return}}}}function jab(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0;i=k[a+24>>2]|0;b=k[a+28>>2]|0;d=k[a>>2]|0;c=k[a+20>>2]|0;l=~k[(k[a+40>>2]|0)+24>>2];m=(k[a+16>>2]|0)/2|0;n=(k[a+36>>2]|0)/2|0;h=k[a+56>>2]&l;if(!b)return;if(!(i&7)){e=b+-1|0;a=c;b=d;while(1){c=a;d=(i+7|0)/8|0;while(1){a=j[b>>1]|0;if((a&65535&l|0)!=(h|0))j[c>>1]=a;a=j[b+2>>1]|0;if((a&65535&l|0)!=(h|0))j[c+2>>1]=a;a=j[b+4>>1]|0;if((a&65535&l|0)!=(h|0))j[c+4>>1]=a;a=j[b+6>>1]|0;if((a&65535&l|0)!=(h|0))j[c+6>>1]=a;a=j[b+8>>1]|0;if((a&65535&l|0)!=(h|0))j[c+8>>1]=a;a=j[b+10>>1]|0;if((a&65535&l|0)!=(h|0))j[c+10>>1]=a;a=j[b+12>>1]|0;if((a&65535&l|0)!=(h|0))j[c+12>>1]=a;a=j[b+14>>1]|0;if((a&65535&l|0)!=(h|0))j[c+14>>1]=a;a=c+16|0;b=b+16|0;if((d|0)>1){c=a;d=d+-1|0}else break}if(!e)break;else{e=e+-1|0;a=a+(n<<1)|0;b=b+(m<<1)|0}}return}else{g=b+-1|0;a=c}a:while(1){switch(i&7|0){case 1:{e=a;f=(i+7|0)/8|0;a=44;break}case 7:{b=a;c=(i+7|0)/8|0;a=26;break}case 6:{b=a;c=(i+7|0)/8|0;a=29;break}case 5:{b=a;c=(i+7|0)/8|0;a=32;break}case 4:{b=a;c=(i+7|0)/8|0;a=35;break}case 3:{b=a;c=(i+7|0)/8|0;a=38;break}case 2:{b=a;c=(i+7|0)/8|0;a=41;break}default:{a=47;break a}}while(1)if((a|0)==26){a=j[d>>1]|0;if((a&65535&l|0)!=(h|0))j[b>>1]=a;b=b+2|0;d=d+2|0;a=29;continue}else if((a|0)==29){a=j[d>>1]|0;if((a&65535&l|0)!=(h|0))j[b>>1]=a;b=b+2|0;d=d+2|0;a=32;continue}else if((a|0)==32){a=j[d>>1]|0;if((a&65535&l|0)!=(h|0))j[b>>1]=a;b=b+2|0;d=d+2|0;a=35;continue}else if((a|0)==35){a=j[d>>1]|0;if((a&65535&l|0)!=(h|0))j[b>>1]=a;b=b+2|0;d=d+2|0;a=38;continue}else if((a|0)==38){a=j[d>>1]|0;if((a&65535&l|0)!=(h|0))j[b>>1]=a;b=b+2|0;d=d+2|0;a=41;continue}else if((a|0)==41){a=j[d>>1]|0;if((a&65535&l|0)!=(h|0))j[b>>1]=a;e=b+2|0;f=c;d=d+2|0;a=44;continue}else if((a|0)==44){a=j[d>>1]|0;if((a&65535&l|0)!=(h|0))j[e>>1]=a;c=e+2|0;b=d+2|0;if((f|0)<=1)break;a=j[b>>1]|0;if((a&65535&l|0)!=(h|0))j[c>>1]=a;b=e+4|0;c=f+-1|0;d=d+4|0;a=26;continue}if(!g){a=49;break}else{g=g+-1|0;a=c+(n<<1)|0;d=b+(m<<1)|0}}if((a|0)!=47)if((a|0)==49)return}function kab(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0;fa=k[a+24>>2]|0;d=k[a+28>>2]|0;b=k[a>>2]|0;ka=k[a+16>>2]|0;c=k[a+20>>2]|0;ga=k[a+36>>2]|0;ha=k[a+40>>2]|0;Z=k[a+48>>2]|0;ia=~k[ha+24>>2];ja=l[ha+9>>0]|0;ea=k[a+56>>2]&ia;if(!Z){if(!d)return;e=d+-1|0;a:while(1){switch(fa&7|0){case 0:{_=c;aa=(fa+7|0)/8|0;ca=b;b=7;break}case 7:{q=c;x=(fa+7|0)/8|0;S=b;b=15;break}case 6:{r=c;y=(fa+7|0)/8|0;T=b;b=23;break}case 5:{s=c;z=(fa+7|0)/8|0;U=b;b=31;break}case 4:{t=c;A=(fa+7|0)/8|0;V=b;b=39;break}case 3:{u=c;B=(fa+7|0)/8|0;W=b;b=47;break}case 2:{v=c;C=(fa+7|0)/8|0;X=b;b=55;break}case 1:{w=c;D=(fa+7|0)/8|0;Y=b;b=63;break}default:{b=71;break a}}while(1)if((b|0)==7){switch(ja|0){case 1:{da=l[ca>>0]|0;d=k[ha+32>>2]|0;ba=k[ha+28>>2]|0;b=da;a=i[(k[124356+((ba>>>16&255)<<2)>>2]|0)+((k[ha+20>>2]&da)>>>(d>>>16&255))>>0]|0;c=i[(k[124356+((ba>>>8&255)<<2)>>2]|0)+((k[ha+16>>2]&da)>>>(d>>>8&255))>>0]|0;d=i[(k[124356+((ba&255)<<2)>>2]|0)+((da&k[ha+12>>2])>>>(d&255))>>0]|0;break}case 2:{da=m[ca>>1]|0;d=k[ha+32>>2]|0;ba=k[ha+28>>2]|0;b=da;a=i[(k[124356+((ba>>>16&255)<<2)>>2]|0)+((k[ha+20>>2]&da)>>>(d>>>16&255))>>0]|0;c=i[(k[124356+((ba>>>8&255)<<2)>>2]|0)+((k[ha+16>>2]&da)>>>(d>>>8&255))>>0]|0;d=i[(k[124356+((ba&255)<<2)>>2]|0)+((da&k[ha+12>>2])>>>(d&255))>>0]|0;break}case 3:{d=k[ha+32>>2]|0;b=0;a=i[ca+(d>>>19&31)>>0]|0;c=i[ca+(d>>>11&31)>>0]|0;d=i[ca+(d>>>3&31)>>0]|0;break}case 4:{da=k[ca>>2]|0;d=k[ha+32>>2]|0;ba=k[ha+28>>2]|0;b=da;a=i[(k[124356+((ba>>>16&255)<<2)>>2]|0)+((k[ha+20>>2]&da)>>>(d>>>16&255))>>0]|0;c=i[(k[124356+((ba>>>8&255)<<2)>>2]|0)+((k[ha+16>>2]&da)>>>(d>>>8&255))>>0]|0;d=i[(k[124356+((ba&255)<<2)>>2]|0)+((k[ha+12>>2]&da)>>>(d&255))>>0]|0;break}default:{b=0;a=0;c=0;d=0}}if((b&ia|0)!=(ea|0))i[_>>0]=(c&255)>>>5<<2|d&224|(a&255)>>>6;q=_+1|0;x=aa;S=ca+ja|0;b=15;continue}else if((b|0)==15){switch(ja|0){case 1:{da=l[S>>0]|0;d=k[ha+32>>2]|0;ba=k[ha+28>>2]|0;b=da;a=i[(k[124356+((ba>>>16&255)<<2)>>2]|0)+((k[ha+20>>2]&da)>>>(d>>>16&255))>>0]|0;c=i[(k[124356+((ba>>>8&255)<<2)>>2]|0)+((k[ha+16>>2]&da)>>>(d>>>8&255))>>0]|0;d=i[(k[124356+((ba&255)<<2)>>2]|0)+((da&k[ha+12>>2])>>>(d&255))>>0]|0;break}case 2:{da=m[S>>1]|0;d=k[ha+32>>2]|0;ba=k[ha+28>>2]|0;b=da;a=i[(k[124356+((ba>>>16&255)<<2)>>2]|0)+((k[ha+20>>2]&da)>>>(d>>>16&255))>>0]|0;c=i[(k[124356+((ba>>>8&255)<<2)>>2]|0)+((k[ha+16>>2]&da)>>>(d>>>8&255))>>0]|0;d=i[(k[124356+((ba&255)<<2)>>2]|0)+((da&k[ha+12>>2])>>>(d&255))>>0]|0;break}case 3:{d=k[ha+32>>2]|0;b=0;a=i[S+(d>>>19&31)>>0]|0;c=i[S+(d>>>11&31)>>0]|0;d=i[S+(d>>>3&31)>>0]|0;break}case 4:{da=k[S>>2]|0;d=k[ha+32>>2]|0;ba=k[ha+28>>2]|0;b=da;a=i[(k[124356+((ba>>>16&255)<<2)>>2]|0)+((k[ha+20>>2]&da)>>>(d>>>16&255))>>0]|0;c=i[(k[124356+((ba>>>8&255)<<2)>>2]|0)+((k[ha+16>>2]&da)>>>(d>>>8&255))>>0]|0;d=i[(k[124356+((ba&255)<<2)>>2]|0)+((k[ha+12>>2]&da)>>>(d&255))>>0]|0;break}default:{b=0;a=0;c=0;d=0}}if((b&ia|0)!=(ea|0))i[q>>0]=(c&255)>>>5<<2|d&224|(a&255)>>>6;r=q+1|0;y=x;T=S+ja|0;b=23;continue}else if((b|0)==23){switch(ja|0){case 1:{da=l[T>>0]|0;d=k[ha+32>>2]|0;ba=k[ha+28>>2]|0;b=da;a=i[(k[124356+((ba>>>16&255)<<2)>>2]|0)+((k[ha+20>>2]&da)>>>(d>>>16&255))>>0]|0;c=i[(k[124356+((ba>>>8&255)<<2)>>2]|0)+((k[ha+16>>2]&da)>>>(d>>>8&255))>>0]|0;d=i[(k[124356+((ba&255)<<2)>>2]|0)+((da&k[ha+12>>2])>>>(d&255))>>0]|0;break}case 2:{da=m[T>>1]|0;d=k[ha+32>>2]|0;ba=k[ha+28>>2]|0;b=da;a=i[(k[124356+((ba>>>16&255)<<2)>>2]|0)+((k[ha+20>>2]&da)>>>(d>>>16&255))>>0]|0;c=i[(k[124356+((ba>>>8&255)<<2)>>2]|0)+((k[ha+16>>2]&da)>>>(d>>>8&255))>>0]|0;d=i[(k[124356+((ba&255)<<2)>>2]|0)+((da&k[ha+12>>2])>>>(d&255))>>0]|0;break}case 3:{d=k[ha+32>>2]|0;b=0;a=i[T+(d>>>19&31)>>0]|0;c=i[T+(d>>>11&31)>>0]|0;d=i[T+(d>>>3&31)>>0]|0;break}case 4:{da=k[T>>2]|0;d=k[ha+32>>2]|0;ba=k[ha+28>>2]|0;b=da;a=i[(k[124356+((ba>>>16&255)<<2)>>2]|0)+((k[ha+20>>2]&da)>>>(d>>>16&255))>>0]|0;c=i[(k[124356+((ba>>>8&255)<<2)>>2]|0)+((k[ha+16>>2]&da)>>>(d>>>8&255))>>0]|0;d=i[(k[124356+((ba&255)<<2)>>2]|0)+((k[ha+12>>2]&da)>>>(d&255))>>0]|0;break}default:{b=0;a=0;c=0;d=0}}if((b&ia|0)!=(ea|0))i[r>>0]=(c&255)>>>5<<2|d&224|(a&255)>>>6;s=r+1|0;z=y;U=T+ja|0;b=31;continue}else if((b|0)==31){switch(ja|0){case 1:{da=l[U>>0]|0;d=k[ha+32>>2]|0;ba=k[ha+28>>2]|0;b=da;a=i[(k[124356+((ba>>>16&255)<<2)>>2]|0)+((k[ha+20>>2]&da)>>>(d>>>16&255))>>0]|0;c=i[(k[124356+((ba>>>8&255)<<2)>>2]|0)+((k[ha+16>>2]&da)>>>(d>>>8&255))>>0]|0;d=i[(k[124356+((ba&255)<<2)>>2]|0)+((da&k[ha+12>>2])>>>(d&255))>>0]|0;break}case 2:{da=m[U>>1]|0;d=k[ha+32>>2]|0;ba=k[ha+28>>2]|0;b=da;a=i[(k[124356+((ba>>>16&255)<<2)>>2]|0)+((k[ha+20>>2]&da)>>>(d>>>16&255))>>0]|0;c=i[(k[124356+((ba>>>8&255)<<2)>>2]|0)+((k[ha+16>>2]&da)>>>(d>>>8&255))>>0]|0;d=i[(k[124356+((ba&255)<<2)>>2]|0)+((da&k[ha+12>>2])>>>(d&255))>>0]|0;break}case 3:{d=k[ha+32>>2]|0;b=0;a=i[U+(d>>>19&31)>>0]|0;c=i[U+(d>>>11&31)>>0]|0;d=i[U+(d>>>3&31)>>0]|0;break}case 4:{da=k[U>>2]|0;d=k[ha+32>>2]|0;ba=k[ha+28>>2]|0;b=da;a=i[(k[124356+((ba>>>16&255)<<2)>>2]|0)+((k[ha+20>>2]&da)>>>(d>>>16&255))>>0]|0;c=i[(k[124356+((ba>>>8&255)<<2)>>2]|0)+((k[ha+16>>2]&da)>>>(d>>>8&255))>>0]|0;d=i[(k[124356+((ba&255)<<2)>>2]|0)+((k[ha+12>>2]&da)>>>(d&255))>>0]|0;break}default:{b=0;a=0;c=0;d=0}}if((b&ia|0)!=(ea|0))i[s>>0]=(c&255)>>>5<<2|d&224|(a&255)>>>6;t=s+1|0;A=z;V=U+ja|0;b=39;continue}else if((b|0)==39){switch(ja|0){case 1:{da=l[V>>0]|0;d=k[ha+32>>2]|0;ba=k[ha+28>>2]|0;b=da;a=i[(k[124356+((ba>>>16&255)<<2)>>2]|0)+((k[ha+20>>2]&da)>>>(d>>>16&255))>>0]|0;c=i[(k[124356+((ba>>>8&255)<<2)>>2]|0)+((k[ha+16>>2]&da)>>>(d>>>8&255))>>0]|0;d=i[(k[124356+((ba&255)<<2)>>2]|0)+((da&k[ha+12>>2])>>>(d&255))>>0]|0;break}case 2:{da=m[V>>1]|0;d=k[ha+32>>2]|0;ba=k[ha+28>>2]|0;b=da;a=i[(k[124356+((ba>>>16&255)<<2)>>2]|0)+((k[ha+20>>2]&da)>>>(d>>>16&255))>>0]|0;c=i[(k[124356+((ba>>>8&255)<<2)>>2]|0)+((k[ha+16>>2]&da)>>>(d>>>8&255))>>0]|0;d=i[(k[124356+((ba&255)<<2)>>2]|0)+((da&k[ha+12>>2])>>>(d&255))>>0]|0;break}case 3:{d=k[ha+32>>2]|0;b=0;a=i[V+(d>>>19&31)>>0]|0;c=i[V+(d>>>11&31)>>0]|0;d=i[V+(d>>>3&31)>>0]|0;break}case 4:{da=k[V>>2]|0;d=k[ha+32>>2]|0;ba=k[ha+28>>2]|0;b=da;a=i[(k[124356+((ba>>>16&255)<<2)>>2]|0)+((k[ha+20>>2]&da)>>>(d>>>16&255))>>0]|0;c=i[(k[124356+((ba>>>8&255)<<2)>>2]|0)+((k[ha+16>>2]&da)>>>(d>>>8&255))>>0]|0;d=i[(k[124356+((ba&255)<<2)>>2]|0)+((k[ha+12>>2]&da)>>>(d&255))>>0]|0;break}default:{b=0;a=0;c=0;d=0}}if((b&ia|0)!=(ea|0))i[t>>0]=(c&255)>>>5<<2|d&224|(a&255)>>>6;u=t+1|0;B=A;W=V+ja|0;b=47;continue}else if((b|0)==47){switch(ja|0){case 1:{da=l[W>>0]|0;d=k[ha+32>>2]|0;ba=k[ha+28>>2]|0;b=da;a=i[(k[124356+((ba>>>16&255)<<2)>>2]|0)+((k[ha+20>>2]&da)>>>(d>>>16&255))>>0]|0;c=i[(k[124356+((ba>>>8&255)<<2)>>2]|0)+((k[ha+16>>2]&da)>>>(d>>>8&255))>>0]|0;d=i[(k[124356+((ba&255)<<2)>>2]|0)+((da&k[ha+12>>2])>>>(d&255))>>0]|0;break}case 2:{da=m[W>>1]|0;d=k[ha+32>>2]|0;ba=k[ha+28>>2]|0;b=da;a=i[(k[124356+((ba>>>16&255)<<2)>>2]|0)+((k[ha+20>>2]&da)>>>(d>>>16&255))>>0]|0;c=i[(k[124356+((ba>>>8&255)<<2)>>2]|0)+((k[ha+16>>2]&da)>>>(d>>>8&255))>>0]|0;d=i[(k[124356+((ba&255)<<2)>>2]|0)+((da&k[ha+12>>2])>>>(d&255))>>0]|0;break}case 3:{d=k[ha+32>>2]|0;b=0;a=i[W+(d>>>19&31)>>0]|0;c=i[W+(d>>>11&31)>>0]|0;d=i[W+(d>>>3&31)>>0]|0;break}case 4:{da=k[W>>2]|0;d=k[ha+32>>2]|0;ba=k[ha+28>>2]|0;b=da;a=i[(k[124356+((ba>>>16&255)<<2)>>2]|0)+((k[ha+20>>2]&da)>>>(d>>>16&255))>>0]|0;c=i[(k[124356+((ba>>>8&255)<<2)>>2]|0)+((k[ha+16>>2]&da)>>>(d>>>8&255))>>0]|0;d=i[(k[124356+((ba&255)<<2)>>2]|0)+((k[ha+12>>2]&da)>>>(d&255))>>0]|0;break}default:{b=0;a=0;c=0;d=0}}if((b&ia|0)!=(ea|0))i[u>>0]=(c&255)>>>5<<2|d&224|(a&255)>>>6;v=u+1|0;C=B;X=W+ja|0;b=55;continue}else if((b|0)==55){switch(ja|0){case 1:{da=l[X>>0]|0;d=k[ha+32>>2]|0;ba=k[ha+28>>2]|0;b=da;a=i[(k[124356+((ba>>>16&255)<<2)>>2]|0)+((k[ha+20>>2]&da)>>>(d>>>16&255))>>0]|0;c=i[(k[124356+((ba>>>8&255)<<2)>>2]|0)+((k[ha+16>>2]&da)>>>(d>>>8&255))>>0]|0;d=i[(k[124356+((ba&255)<<2)>>2]|0)+((da&k[ha+12>>2])>>>(d&255))>>0]|0;break}case 2:{da=m[X>>1]|0;d=k[ha+32>>2]|0;ba=k[ha+28>>2]|0;b=da;a=i[(k[124356+((ba>>>16&255)<<2)>>2]|0)+((k[ha+20>>2]&da)>>>(d>>>16&255))>>0]|0;c=i[(k[124356+((ba>>>8&255)<<2)>>2]|0)+((k[ha+16>>2]&da)>>>(d>>>8&255))>>0]|0;d=i[(k[124356+((ba&255)<<2)>>2]|0)+((da&k[ha+12>>2])>>>(d&255))>>0]|0;break}case 3:{d=k[ha+32>>2]|0;b=0;a=i[X+(d>>>19&31)>>0]|0;c=i[X+(d>>>11&31)>>0]|0;d=i[X+(d>>>3&31)>>0]|0;break}case 4:{da=k[X>>2]|0;d=k[ha+32>>2]|0;ba=k[ha+28>>2]|0;b=da;a=i[(k[124356+((ba>>>16&255)<<2)>>2]|0)+((k[ha+20>>2]&da)>>>(d>>>16&255))>>0]|0;c=i[(k[124356+((ba>>>8&255)<<2)>>2]|0)+((k[ha+16>>2]&da)>>>(d>>>8&255))>>0]|0;d=i[(k[124356+((ba&255)<<2)>>2]|0)+((k[ha+12>>2]&da)>>>(d&255))>>0]|0;break}default:{b=0;a=0;c=0;d=0}}if((b&ia|0)!=(ea|0))i[v>>0]=(c&255)>>>5<<2|d&224|(a&255)>>>6;w=v+1|0;D=C;Y=X+ja|0;b=63;continue}else if((b|0)==63){switch(ja|0){case 1:{da=l[Y>>0]|0;d=k[ha+32>>2]|0;ba=k[ha+28>>2]|0;b=da;a=i[(k[124356+((ba>>>16&255)<<2)>>2]|0)+((k[ha+20>>2]&da)>>>(d>>>16&255))>>0]|0;c=i[(k[124356+((ba>>>8&255)<<2)>>2]|0)+((k[ha+16>>2]&da)>>>(d>>>8&255))>>0]|0;d=i[(k[124356+((ba&255)<<2)>>2]|0)+((da&k[ha+12>>2])>>>(d&255))>>0]|0;break}case 2:{da=m[Y>>1]|0;d=k[ha+32>>2]|0;ba=k[ha+28>>2]|0;b=da;a=i[(k[124356+((ba>>>16&255)<<2)>>2]|0)+((k[ha+20>>2]&da)>>>(d>>>16&255))>>0]|0;c=i[(k[124356+((ba>>>8&255)<<2)>>2]|0)+((k[ha+16>>2]&da)>>>(d>>>8&255))>>0]|0;d=i[(k[124356+((ba&255)<<2)>>2]|0)+((da&k[ha+12>>2])>>>(d&255))>>0]|0;break}case 3:{d=k[ha+32>>2]|0;b=0;a=i[Y+(d>>>19&31)>>0]|0;c=i[Y+(d>>>11&31)>>0]|0;d=i[Y+(d>>>3&31)>>0]|0;break}case 4:{da=k[Y>>2]|0;d=k[ha+32>>2]|0;ba=k[ha+28>>2]|0;b=da;a=i[(k[124356+((ba>>>16&255)<<2)>>2]|0)+((k[ha+20>>2]&da)>>>(d>>>16&255))>>0]|0;c=i[(k[124356+((ba>>>8&255)<<2)>>2]|0)+((k[ha+16>>2]&da)>>>(d>>>8&255))>>0]|0;d=i[(k[124356+((ba&255)<<2)>>2]|0)+((k[ha+12>>2]&da)>>>(d&255))>>0]|0;break}default:{b=0;a=0;c=0;d=0}}if((b&ia|0)!=(ea|0))i[w>>0]=(c&255)>>>5<<2|d&224|(a&255)>>>6;b=w+1|0;a=Y+ja|0;if((D|0)>1){_=b;aa=D+-1|0;ca=a;b=7;continue}else break}if(!e){b=140;break}else{e=e+-1|0;c=b+ga|0;b=a+ka|0}}if((b|0)!=71)if((b|0)==140)return}else{if(!d)return;e=d+-1|0;b:while(1){switch(fa&7|0){case 0:{$=c;ba=(fa+7|0)/8|0;da=b;b=74;break}case 7:{f=c;E=(fa+7|0)/8|0;L=b;b=82;break}case 6:{g=c;F=(fa+7|0)/8|0;M=b;b=90;break}case 5:{h=c;G=(fa+7|0)/8|0;N=b;b=98;break}case 4:{j=c;H=(fa+7|0)/8|0;O=b;b=106;break}case 3:{n=c;I=(fa+7|0)/8|0;P=b;b=114;break}case 2:{o=c;J=(fa+7|0)/8|0;Q=b;b=122;break}case 1:{p=c;K=(fa+7|0)/8|0;R=b;b=130;break}default:{b=138;break b}}while(1)if((b|0)==74){switch(ja|0){case 1:{ca=l[da>>0]|0;d=k[ha+32>>2]|0;aa=k[ha+28>>2]|0;b=ca;a=i[(k[124356+((aa>>>16&255)<<2)>>2]|0)+((k[ha+20>>2]&ca)>>>(d>>>16&255))>>0]|0;c=i[(k[124356+((aa>>>8&255)<<2)>>2]|0)+((k[ha+16>>2]&ca)>>>(d>>>8&255))>>0]|0;d=i[(k[124356+((aa&255)<<2)>>2]|0)+((ca&k[ha+12>>2])>>>(d&255))>>0]|0;break}case 2:{ca=m[da>>1]|0;d=k[ha+32>>2]|0;aa=k[ha+28>>2]|0;b=ca;a=i[(k[124356+((aa>>>16&255)<<2)>>2]|0)+((k[ha+20>>2]&ca)>>>(d>>>16&255))>>0]|0;c=i[(k[124356+((aa>>>8&255)<<2)>>2]|0)+((k[ha+16>>2]&ca)>>>(d>>>8&255))>>0]|0;d=i[(k[124356+((aa&255)<<2)>>2]|0)+((ca&k[ha+12>>2])>>>(d&255))>>0]|0;break}case 3:{d=k[ha+32>>2]|0;b=0;a=i[da+(d>>>19&31)>>0]|0;c=i[da+(d>>>11&31)>>0]|0;d=i[da+(d>>>3&31)>>0]|0;break}case 4:{ca=k[da>>2]|0;d=k[ha+32>>2]|0;aa=k[ha+28>>2]|0;b=ca;a=i[(k[124356+((aa>>>16&255)<<2)>>2]|0)+((k[ha+20>>2]&ca)>>>(d>>>16&255))>>0]|0;c=i[(k[124356+((aa>>>8&255)<<2)>>2]|0)+((k[ha+16>>2]&ca)>>>(d>>>8&255))>>0]|0;d=i[(k[124356+((aa&255)<<2)>>2]|0)+((k[ha+12>>2]&ca)>>>(d&255))>>0]|0;break}default:{b=0;a=0;c=0;d=0}}if((b&ia|0)!=(ea|0))i[$>>0]=i[Z+((c&255)>>>5<<2|d&224|(a&255)>>>6)>>0]|0;f=$+1|0;E=ba;L=da+ja|0;b=82;continue}else if((b|0)==82){switch(ja|0){case 1:{ca=l[L>>0]|0;d=k[ha+32>>2]|0;aa=k[ha+28>>2]|0;b=ca;a=i[(k[124356+((aa>>>16&255)<<2)>>2]|0)+((k[ha+20>>2]&ca)>>>(d>>>16&255))>>0]|0;c=i[(k[124356+((aa>>>8&255)<<2)>>2]|0)+((k[ha+16>>2]&ca)>>>(d>>>8&255))>>0]|0;d=i[(k[124356+((aa&255)<<2)>>2]|0)+((ca&k[ha+12>>2])>>>(d&255))>>0]|0;break}case 2:{ca=m[L>>1]|0;d=k[ha+32>>2]|0;aa=k[ha+28>>2]|0;b=ca;a=i[(k[124356+((aa>>>16&255)<<2)>>2]|0)+((k[ha+20>>2]&ca)>>>(d>>>16&255))>>0]|0;c=i[(k[124356+((aa>>>8&255)<<2)>>2]|0)+((k[ha+16>>2]&ca)>>>(d>>>8&255))>>0]|0;d=i[(k[124356+((aa&255)<<2)>>2]|0)+((ca&k[ha+12>>2])>>>(d&255))>>0]|0;break}case 3:{d=k[ha+32>>2]|0;b=0;a=i[L+(d>>>19&31)>>0]|0;c=i[L+(d>>>11&31)>>0]|0;d=i[L+(d>>>3&31)>>0]|0;break}case 4:{ca=k[L>>2]|0;d=k[ha+32>>2]|0;aa=k[ha+28>>2]|0;b=ca;a=i[(k[124356+((aa>>>16&255)<<2)>>2]|0)+((k[ha+20>>2]&ca)>>>(d>>>16&255))>>0]|0;c=i[(k[124356+((aa>>>8&255)<<2)>>2]|0)+((k[ha+16>>2]&ca)>>>(d>>>8&255))>>0]|0;d=i[(k[124356+((aa&255)<<2)>>2]|0)+((k[ha+12>>2]&ca)>>>(d&255))>>0]|0;break}default:{b=0;a=0;c=0;d=0}}if((b&ia|0)!=(ea|0))i[f>>0]=i[Z+((c&255)>>>5<<2|d&224|(a&255)>>>6)>>0]|0;g=f+1|0;F=E;M=L+ja|0;b=90;continue}else if((b|0)==90){switch(ja|0){case 1:{ca=l[M>>0]|0;d=k[ha+32>>2]|0;aa=k[ha+28>>2]|0;b=ca;a=i[(k[124356+((aa>>>16&255)<<2)>>2]|0)+((k[ha+20>>2]&ca)>>>(d>>>16&255))>>0]|0;c=i[(k[124356+((aa>>>8&255)<<2)>>2]|0)+((k[ha+16>>2]&ca)>>>(d>>>8&255))>>0]|0;d=i[(k[124356+((aa&255)<<2)>>2]|0)+((ca&k[ha+12>>2])>>>(d&255))>>0]|0;break}case 2:{ca=m[M>>1]|0;d=k[ha+32>>2]|0;aa=k[ha+28>>2]|0;b=ca;a=i[(k[124356+((aa>>>16&255)<<2)>>2]|0)+((k[ha+20>>2]&ca)>>>(d>>>16&255))>>0]|0;c=i[(k[124356+((aa>>>8&255)<<2)>>2]|0)+((k[ha+16>>2]&ca)>>>(d>>>8&255))>>0]|0;d=i[(k[124356+((aa&255)<<2)>>2]|0)+((ca&k[ha+12>>2])>>>(d&255))>>0]|0;break}case 3:{d=k[ha+32>>2]|0;b=0;a=i[M+(d>>>19&31)>>0]|0;c=i[M+(d>>>11&31)>>0]|0;d=i[M+(d>>>3&31)>>0]|0;break}case 4:{ca=k[M>>2]|0;d=k[ha+32>>2]|0;aa=k[ha+28>>2]|0;b=ca;a=i[(k[124356+((aa>>>16&255)<<2)>>2]|0)+((k[ha+20>>2]&ca)>>>(d>>>16&255))>>0]|0;c=i[(k[124356+((aa>>>8&255)<<2)>>2]|0)+((k[ha+16>>2]&ca)>>>(d>>>8&255))>>0]|0;d=i[(k[124356+((aa&255)<<2)>>2]|0)+((k[ha+12>>2]&ca)>>>(d&255))>>0]|0;break}default:{b=0;a=0;c=0;d=0}}if((b&ia|0)!=(ea|0))i[g>>0]=i[Z+((c&255)>>>5<<2|d&224|(a&255)>>>6)>>0]|0;h=g+1|0;G=F;N=M+ja|0;b=98;continue}else if((b|0)==98){switch(ja|0){case 1:{ca=l[N>>0]|0;d=k[ha+32>>2]|0;aa=k[ha+28>>2]|0;b=ca;a=i[(k[124356+((aa>>>16&255)<<2)>>2]|0)+((k[ha+20>>2]&ca)>>>(d>>>16&255))>>0]|0;c=i[(k[124356+((aa>>>8&255)<<2)>>2]|0)+((k[ha+16>>2]&ca)>>>(d>>>8&255))>>0]|0;d=i[(k[124356+((aa&255)<<2)>>2]|0)+((ca&k[ha+12>>2])>>>(d&255))>>0]|0;break}case 2:{ca=m[N>>1]|0;d=k[ha+32>>2]|0;aa=k[ha+28>>2]|0;b=ca;a=i[(k[124356+((aa>>>16&255)<<2)>>2]|0)+((k[ha+20>>2]&ca)>>>(d>>>16&255))>>0]|0;c=i[(k[124356+((aa>>>8&255)<<2)>>2]|0)+((k[ha+16>>2]&ca)>>>(d>>>8&255))>>0]|0;d=i[(k[124356+((aa&255)<<2)>>2]|0)+((ca&k[ha+12>>2])>>>(d&255))>>0]|0;break}case 3:{d=k[ha+32>>2]|0;b=0;a=i[N+(d>>>19&31)>>0]|0;c=i[N+(d>>>11&31)>>0]|0;d=i[N+(d>>>3&31)>>0]|0;break}case 4:{ca=k[N>>2]|0;d=k[ha+32>>2]|0;aa=k[ha+28>>2]|0;b=ca;a=i[(k[124356+((aa>>>16&255)<<2)>>2]|0)+((k[ha+20>>2]&ca)>>>(d>>>16&255))>>0]|0;c=i[(k[124356+((aa>>>8&255)<<2)>>2]|0)+((k[ha+16>>2]&ca)>>>(d>>>8&255))>>0]|0;d=i[(k[124356+((aa&255)<<2)>>2]|0)+((k[ha+12>>2]&ca)>>>(d&255))>>0]|0;break}default:{b=0;a=0;c=0;d=0}}if((b&ia|0)!=(ea|0))i[h>>0]=i[Z+((c&255)>>>5<<2|d&224|(a&255)>>>6)>>0]|0;j=h+1|0;H=G;O=N+ja|0;b=106;continue}else if((b|0)==106){switch(ja|0){case 1:{ca=l[O>>0]|0;d=k[ha+32>>2]|0;aa=k[ha+28>>2]|0;b=ca;a=i[(k[124356+((aa>>>16&255)<<2)>>2]|0)+((k[ha+20>>2]&ca)>>>(d>>>16&255))>>0]|0;c=i[(k[124356+((aa>>>8&255)<<2)>>2]|0)+((k[ha+16>>2]&ca)>>>(d>>>8&255))>>0]|0;d=i[(k[124356+((aa&255)<<2)>>2]|0)+((ca&k[ha+12>>2])>>>(d&255))>>0]|0;break}case 2:{ca=m[O>>1]|0;d=k[ha+32>>2]|0;aa=k[ha+28>>2]|0;b=ca;a=i[(k[124356+((aa>>>16&255)<<2)>>2]|0)+((k[ha+20>>2]&ca)>>>(d>>>16&255))>>0]|0;c=i[(k[124356+((aa>>>8&255)<<2)>>2]|0)+((k[ha+16>>2]&ca)>>>(d>>>8&255))>>0]|0;d=i[(k[124356+((aa&255)<<2)>>2]|0)+((ca&k[ha+12>>2])>>>(d&255))>>0]|0;break}case 3:{d=k[ha+32>>2]|0;b=0;a=i[O+(d>>>19&31)>>0]|0;c=i[O+(d>>>11&31)>>0]|0;d=i[O+(d>>>3&31)>>0]|0;break}case 4:{ca=k[O>>2]|0;d=k[ha+32>>2]|0;aa=k[ha+28>>2]|0;b=ca;a=i[(k[124356+((aa>>>16&255)<<2)>>2]|0)+((k[ha+20>>2]&ca)>>>(d>>>16&255))>>0]|0;c=i[(k[124356+((aa>>>8&255)<<2)>>2]|0)+((k[ha+16>>2]&ca)>>>(d>>>8&255))>>0]|0;d=i[(k[124356+((aa&255)<<2)>>2]|0)+((k[ha+12>>2]&ca)>>>(d&255))>>0]|0;break}default:{b=0;a=0;c=0;d=0}}if((b&ia|0)!=(ea|0))i[j>>0]=i[Z+((c&255)>>>5<<2|d&224|(a&255)>>>6)>>0]|0;n=j+1|0;I=H;P=O+ja|0;b=114;continue}else if((b|0)==114){switch(ja|0){case 1:{ca=l[P>>0]|0;d=k[ha+32>>2]|0;aa=k[ha+28>>2]|0;b=ca;a=i[(k[124356+((aa>>>16&255)<<2)>>2]|0)+((k[ha+20>>2]&ca)>>>(d>>>16&255))>>0]|0;c=i[(k[124356+((aa>>>8&255)<<2)>>2]|0)+((k[ha+16>>2]&ca)>>>(d>>>8&255))>>0]|0;d=i[(k[124356+((aa&255)<<2)>>2]|0)+((ca&k[ha+12>>2])>>>(d&255))>>0]|0;break}case 2:{ca=m[P>>1]|0;d=k[ha+32>>2]|0;aa=k[ha+28>>2]|0;b=ca;a=i[(k[124356+((aa>>>16&255)<<2)>>2]|0)+((k[ha+20>>2]&ca)>>>(d>>>16&255))>>0]|0;c=i[(k[124356+((aa>>>8&255)<<2)>>2]|0)+((k[ha+16>>2]&ca)>>>(d>>>8&255))>>0]|0;d=i[(k[124356+((aa&255)<<2)>>2]|0)+((ca&k[ha+12>>2])>>>(d&255))>>0]|0;break}case 3:{d=k[ha+32>>2]|0;b=0;a=i[P+(d>>>19&31)>>0]|0;c=i[P+(d>>>11&31)>>0]|0;d=i[P+(d>>>3&31)>>0]|0;break}case 4:{ca=k[P>>2]|0;d=k[ha+32>>2]|0;aa=k[ha+28>>2]|0;b=ca;a=i[(k[124356+((aa>>>16&255)<<2)>>2]|0)+((k[ha+20>>2]&ca)>>>(d>>>16&255))>>0]|0;c=i[(k[124356+((aa>>>8&255)<<2)>>2]|0)+((k[ha+16>>2]&ca)>>>(d>>>8&255))>>0]|0;d=i[(k[124356+((aa&255)<<2)>>2]|0)+((k[ha+12>>2]&ca)>>>(d&255))>>0]|0;break}default:{b=0;a=0;c=0;d=0}}if((b&ia|0)!=(ea|0))i[n>>0]=i[Z+((c&255)>>>5<<2|d&224|(a&255)>>>6)>>0]|0;o=n+1|0;J=I;Q=P+ja|0;b=122;continue}else if((b|0)==122){switch(ja|0){case 1:{ca=l[Q>>0]|0;d=k[ha+32>>2]|0;aa=k[ha+28>>2]|0;b=ca;a=i[(k[124356+((aa>>>16&255)<<2)>>2]|0)+((k[ha+20>>2]&ca)>>>(d>>>16&255))>>0]|0;c=i[(k[124356+((aa>>>8&255)<<2)>>2]|0)+((k[ha+16>>2]&ca)>>>(d>>>8&255))>>0]|0;d=i[(k[124356+((aa&255)<<2)>>2]|0)+((ca&k[ha+12>>2])>>>(d&255))>>0]|0;break}case 2:{ca=m[Q>>1]|0;d=k[ha+32>>2]|0;aa=k[ha+28>>2]|0;b=ca;a=i[(k[124356+((aa>>>16&255)<<2)>>2]|0)+((k[ha+20>>2]&ca)>>>(d>>>16&255))>>0]|0;c=i[(k[124356+((aa>>>8&255)<<2)>>2]|0)+((k[ha+16>>2]&ca)>>>(d>>>8&255))>>0]|0;d=i[(k[124356+((aa&255)<<2)>>2]|0)+((ca&k[ha+12>>2])>>>(d&255))>>0]|0;break}case 3:{d=k[ha+32>>2]|0;b=0;a=i[Q+(d>>>19&31)>>0]|0;c=i[Q+(d>>>11&31)>>0]|0;d=i[Q+(d>>>3&31)>>0]|0;break}case 4:{ca=k[Q>>2]|0;d=k[ha+32>>2]|0;aa=k[ha+28>>2]|0;b=ca;a=i[(k[124356+((aa>>>16&255)<<2)>>2]|0)+((k[ha+20>>2]&ca)>>>(d>>>16&255))>>0]|0;c=i[(k[124356+((aa>>>8&255)<<2)>>2]|0)+((k[ha+16>>2]&ca)>>>(d>>>8&255))>>0]|0;d=i[(k[124356+((aa&255)<<2)>>2]|0)+((k[ha+12>>2]&ca)>>>(d&255))>>0]|0;break}default:{b=0;a=0;c=0;d=0}}if((b&ia|0)!=(ea|0))i[o>>0]=i[Z+((c&255)>>>5<<2|d&224|(a&255)>>>6)>>0]|0;p=o+1|0;K=J;R=Q+ja|0;b=130;continue}else if((b|0)==130){switch(ja|0){case 1:{ca=l[R>>0]|0;d=k[ha+32>>2]|0;aa=k[ha+28>>2]|0;b=ca;a=i[(k[124356+((aa>>>16&255)<<2)>>2]|0)+((k[ha+20>>2]&ca)>>>(d>>>16&255))>>0]|0;c=i[(k[124356+((aa>>>8&255)<<2)>>2]|0)+((k[ha+16>>2]&ca)>>>(d>>>8&255))>>0]|0;d=i[(k[124356+((aa&255)<<2)>>2]|0)+((ca&k[ha+12>>2])>>>(d&255))>>0]|0;break}case 2:{ca=m[R>>1]|0;d=k[ha+32>>2]|0;aa=k[ha+28>>2]|0;b=ca;a=i[(k[124356+((aa>>>16&255)<<2)>>2]|0)+((k[ha+20>>2]&ca)>>>(d>>>16&255))>>0]|0;c=i[(k[124356+((aa>>>8&255)<<2)>>2]|0)+((k[ha+16>>2]&ca)>>>(d>>>8&255))>>0]|0;d=i[(k[124356+((aa&255)<<2)>>2]|0)+((ca&k[ha+12>>2])>>>(d&255))>>0]|0;break}case 3:{d=k[ha+32>>2]|0;b=0;a=i[R+(d>>>19&31)>>0]|0;c=i[R+(d>>>11&31)>>0]|0;d=i[R+(d>>>3&31)>>0]|0;break}case 4:{ca=k[R>>2]|0;d=k[ha+32>>2]|0;aa=k[ha+28>>2]|0;b=ca;a=i[(k[124356+((aa>>>16&255)<<2)>>2]|0)+((k[ha+20>>2]&ca)>>>(d>>>16&255))>>0]|0;c=i[(k[124356+((aa>>>8&255)<<2)>>2]|0)+((k[ha+16>>2]&ca)>>>(d>>>8&255))>>0]|0;d=i[(k[124356+((aa&255)<<2)>>2]|0)+((k[ha+12>>2]&ca)>>>(d&255))>>0]|0;break}default:{b=0;a=0;c=0;d=0}}if((b&ia|0)!=(ea|0))i[p>>0]=i[Z+((c&255)>>>5<<2|d&224|(a&255)>>>6)>>0]|0;b=p+1|0;a=R+ja|0;if((K|0)>1){$=b;ba=K+-1|0;da=a;b=74;continue}else break}if(!e){b=140;break}else{e=e+-1|0;c=b+ga|0;b=a+ka|0}}if((b|0)!=138)if((b|0)==140)return}}function lab(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;r=k[a+24>>2]|0;b=k[a+28>>2]|0;y=k[a+16>>2]|0;z=k[a+36>>2]|0;s=k[a+40>>2]|0;t=k[a+44>>2]|0;u=~k[s+24>>2];v=k[a+56>>2]&u;if(!b)return;w=l[s+9>>0]|0;x=l[t+9>>0]|0;c=k[a+20>>2]|0;d=k[a>>2]|0;a:while(1){b=b+-1|0;switch(r&7|0){case 0:{a=c;q=(r+7|0)/8|0;e=4;break}case 7:{q=(r+7|0)/8|0;e=16;break}case 6:{q=(r+7|0)/8|0;e=28;break}case 5:{q=(r+7|0)/8|0;e=40;break}case 4:{q=(r+7|0)/8|0;e=52;break}case 3:{q=(r+7|0)/8|0;e=64;break}case 2:{q=(r+7|0)/8|0;e=76;break}case 1:{q=(r+7|0)/8|0;e=88;break}default:{e=100;break a}}while(1)if((e|0)==4){switch(w|0){case 1:{o=l[d>>0]|0;p=k[s+32>>2]|0;h=k[s+28>>2]|0;e=o;c=i[(k[124356+(h>>>24<<2)>>2]|0)+((k[s+24>>2]&o)>>>(p>>>24))>>0]|0;g=i[(k[124356+((h>>>16&255)<<2)>>2]|0)+((k[s+20>>2]&o)>>>(p>>>16&255))>>0]|0;n=i[(k[124356+((h>>>8&255)<<2)>>2]|0)+((k[s+16>>2]&o)>>>(p>>>8&255))>>0]|0;p=i[(k[124356+((h&255)<<2)>>2]|0)+((o&k[s+12>>2])>>>(p&255))>>0]|0;break}case 2:{o=m[d>>1]|0;p=k[s+32>>2]|0;h=k[s+28>>2]|0;e=o;c=i[(k[124356+(h>>>24<<2)>>2]|0)+((k[s+24>>2]&o)>>>(p>>>24))>>0]|0;g=i[(k[124356+((h>>>16&255)<<2)>>2]|0)+((k[s+20>>2]&o)>>>(p>>>16&255))>>0]|0;n=i[(k[124356+((h>>>8&255)<<2)>>2]|0)+((k[s+16>>2]&o)>>>(p>>>8&255))>>0]|0;p=i[(k[124356+((h&255)<<2)>>2]|0)+((o&k[s+12>>2])>>>(p&255))>>0]|0;break}case 3:{p=k[s+32>>2]|0;e=0;c=-1;g=i[d+(p>>>19&31)>>0]|0;n=i[d+(p>>>11&31)>>0]|0;p=i[d+(p>>>3&31)>>0]|0;break}case 4:{o=k[d>>2]|0;p=k[s+32>>2]|0;h=k[s+28>>2]|0;e=o;c=i[(k[124356+(h>>>24<<2)>>2]|0)+((k[s+24>>2]&o)>>>(p>>>24))>>0]|0;g=i[(k[124356+((h>>>16&255)<<2)>>2]|0)+((k[s+20>>2]&o)>>>(p>>>16&255))>>0]|0;n=i[(k[124356+((h>>>8&255)<<2)>>2]|0)+((k[s+16>>2]&o)>>>(p>>>8&255))>>0]|0;p=i[(k[124356+((h&255)<<2)>>2]|0)+((k[s+12>>2]&o)>>>(p&255))>>0]|0;break}default:{e=0;c=0;g=0;n=0;p=0}}o=p&255;h=n&255;f=g&255;c=c&255;b:do if((e&u|0)!=(v|0))switch(x|0){case 1:{n=k[t+28>>2]|0;p=k[t+32>>2]|0;i[a>>0]=h>>>(n>>>8&255)<<(p>>>8&255)|o>>>(n&255)<<(p&255)|f>>>(n>>>16&255)<<(p>>>16&255)|c>>>(n>>>24)<<(p>>>24);break b}case 2:{n=k[t+28>>2]|0;p=k[t+32>>2]|0;j[a>>1]=h>>>(n>>>8&255)<<(p>>>8&255)|o>>>(n&255)<<(p&255)|f>>>(n>>>16&255)<<(p>>>16&255)|c>>>(n>>>24)<<(p>>>24);break b}case 3:{i[a+((l[t+32>>0]|0)>>>3&255)>>0]=p;i[a+((l[t+33>>0]|0)>>>3&255)>>0]=n;i[a+((l[t+34>>0]|0)>>>3&255)>>0]=g;break b}case 4:{n=k[t+28>>2]|0;p=k[t+32>>2]|0;k[a>>2]=h>>>(n>>>8&255)<<(p>>>8&255)|o>>>(n&255)<<(p&255)|f>>>(n>>>16&255)<<(p>>>16&255)|c>>>(n>>>24)<<(p>>>24);break b}default:break b}while(0);c=a+x|0;d=d+w|0;e=16;continue}else if((e|0)==16){switch(w|0){case 1:{o=l[d>>0]|0;p=k[s+32>>2]|0;h=k[s+28>>2]|0;e=o;a=i[(k[124356+(h>>>24<<2)>>2]|0)+((k[s+24>>2]&o)>>>(p>>>24))>>0]|0;g=i[(k[124356+((h>>>16&255)<<2)>>2]|0)+((k[s+20>>2]&o)>>>(p>>>16&255))>>0]|0;n=i[(k[124356+((h>>>8&255)<<2)>>2]|0)+((k[s+16>>2]&o)>>>(p>>>8&255))>>0]|0;p=i[(k[124356+((h&255)<<2)>>2]|0)+((o&k[s+12>>2])>>>(p&255))>>0]|0;break}case 2:{o=m[d>>1]|0;p=k[s+32>>2]|0;h=k[s+28>>2]|0;e=o;a=i[(k[124356+(h>>>24<<2)>>2]|0)+((k[s+24>>2]&o)>>>(p>>>24))>>0]|0;g=i[(k[124356+((h>>>16&255)<<2)>>2]|0)+((k[s+20>>2]&o)>>>(p>>>16&255))>>0]|0;n=i[(k[124356+((h>>>8&255)<<2)>>2]|0)+((k[s+16>>2]&o)>>>(p>>>8&255))>>0]|0;p=i[(k[124356+((h&255)<<2)>>2]|0)+((o&k[s+12>>2])>>>(p&255))>>0]|0;break}case 3:{p=k[s+32>>2]|0;e=0;a=-1;g=i[d+(p>>>19&31)>>0]|0;n=i[d+(p>>>11&31)>>0]|0;p=i[d+(p>>>3&31)>>0]|0;break}case 4:{o=k[d>>2]|0;p=k[s+32>>2]|0;h=k[s+28>>2]|0;e=o;a=i[(k[124356+(h>>>24<<2)>>2]|0)+((k[s+24>>2]&o)>>>(p>>>24))>>0]|0;g=i[(k[124356+((h>>>16&255)<<2)>>2]|0)+((k[s+20>>2]&o)>>>(p>>>16&255))>>0]|0;n=i[(k[124356+((h>>>8&255)<<2)>>2]|0)+((k[s+16>>2]&o)>>>(p>>>8&255))>>0]|0;p=i[(k[124356+((h&255)<<2)>>2]|0)+((k[s+12>>2]&o)>>>(p&255))>>0]|0;break}default:{e=0;a=0;g=0;n=0;p=0}}o=p&255;h=n&255;f=g&255;a=a&255;c:do if((e&u|0)!=(v|0))switch(x|0){case 1:{n=k[t+28>>2]|0;p=k[t+32>>2]|0;i[c>>0]=h>>>(n>>>8&255)<<(p>>>8&255)|o>>>(n&255)<<(p&255)|f>>>(n>>>16&255)<<(p>>>16&255)|a>>>(n>>>24)<<(p>>>24);break c}case 2:{n=k[t+28>>2]|0;p=k[t+32>>2]|0;j[c>>1]=h>>>(n>>>8&255)<<(p>>>8&255)|o>>>(n&255)<<(p&255)|f>>>(n>>>16&255)<<(p>>>16&255)|a>>>(n>>>24)<<(p>>>24);break c}case 3:{i[c+((l[t+32>>0]|0)>>>3&255)>>0]=p;i[c+((l[t+33>>0]|0)>>>3&255)>>0]=n;i[c+((l[t+34>>0]|0)>>>3&255)>>0]=g;break c}case 4:{n=k[t+28>>2]|0;p=k[t+32>>2]|0;k[c>>2]=h>>>(n>>>8&255)<<(p>>>8&255)|o>>>(n&255)<<(p&255)|f>>>(n>>>16&255)<<(p>>>16&255)|a>>>(n>>>24)<<(p>>>24);break c}default:break c}while(0);c=c+x|0;d=d+w|0;e=28;continue}else if((e|0)==28){switch(w|0){case 1:{o=l[d>>0]|0;p=k[s+32>>2]|0;h=k[s+28>>2]|0;e=o;a=i[(k[124356+(h>>>24<<2)>>2]|0)+((k[s+24>>2]&o)>>>(p>>>24))>>0]|0;g=i[(k[124356+((h>>>16&255)<<2)>>2]|0)+((k[s+20>>2]&o)>>>(p>>>16&255))>>0]|0;n=i[(k[124356+((h>>>8&255)<<2)>>2]|0)+((k[s+16>>2]&o)>>>(p>>>8&255))>>0]|0;p=i[(k[124356+((h&255)<<2)>>2]|0)+((o&k[s+12>>2])>>>(p&255))>>0]|0;break}case 2:{o=m[d>>1]|0;p=k[s+32>>2]|0;h=k[s+28>>2]|0;e=o;a=i[(k[124356+(h>>>24<<2)>>2]|0)+((k[s+24>>2]&o)>>>(p>>>24))>>0]|0;g=i[(k[124356+((h>>>16&255)<<2)>>2]|0)+((k[s+20>>2]&o)>>>(p>>>16&255))>>0]|0;n=i[(k[124356+((h>>>8&255)<<2)>>2]|0)+((k[s+16>>2]&o)>>>(p>>>8&255))>>0]|0;p=i[(k[124356+((h&255)<<2)>>2]|0)+((o&k[s+12>>2])>>>(p&255))>>0]|0;break}case 3:{p=k[s+32>>2]|0;e=0;a=-1;g=i[d+(p>>>19&31)>>0]|0;n=i[d+(p>>>11&31)>>0]|0;p=i[d+(p>>>3&31)>>0]|0;break}case 4:{o=k[d>>2]|0;p=k[s+32>>2]|0;h=k[s+28>>2]|0;e=o;a=i[(k[124356+(h>>>24<<2)>>2]|0)+((k[s+24>>2]&o)>>>(p>>>24))>>0]|0;g=i[(k[124356+((h>>>16&255)<<2)>>2]|0)+((k[s+20>>2]&o)>>>(p>>>16&255))>>0]|0;n=i[(k[124356+((h>>>8&255)<<2)>>2]|0)+((k[s+16>>2]&o)>>>(p>>>8&255))>>0]|0;p=i[(k[124356+((h&255)<<2)>>2]|0)+((k[s+12>>2]&o)>>>(p&255))>>0]|0;break}default:{e=0;a=0;g=0;n=0;p=0}}o=p&255;h=n&255;f=g&255;a=a&255;d:do if((e&u|0)!=(v|0))switch(x|0){case 1:{n=k[t+28>>2]|0;p=k[t+32>>2]|0;i[c>>0]=h>>>(n>>>8&255)<<(p>>>8&255)|o>>>(n&255)<<(p&255)|f>>>(n>>>16&255)<<(p>>>16&255)|a>>>(n>>>24)<<(p>>>24);break d}case 2:{n=k[t+28>>2]|0;p=k[t+32>>2]|0;j[c>>1]=h>>>(n>>>8&255)<<(p>>>8&255)|o>>>(n&255)<<(p&255)|f>>>(n>>>16&255)<<(p>>>16&255)|a>>>(n>>>24)<<(p>>>24);break d}case 3:{i[c+((l[t+32>>0]|0)>>>3&255)>>0]=p;i[c+((l[t+33>>0]|0)>>>3&255)>>0]=n;i[c+((l[t+34>>0]|0)>>>3&255)>>0]=g;break d}case 4:{n=k[t+28>>2]|0;p=k[t+32>>2]|0;k[c>>2]=h>>>(n>>>8&255)<<(p>>>8&255)|o>>>(n&255)<<(p&255)|f>>>(n>>>16&255)<<(p>>>16&255)|a>>>(n>>>24)<<(p>>>24);break d}default:break d}while(0);c=c+x|0;d=d+w|0;e=40;continue}else if((e|0)==40){switch(w|0){case 1:{o=l[d>>0]|0;p=k[s+32>>2]|0;h=k[s+28>>2]|0;e=o;a=i[(k[124356+(h>>>24<<2)>>2]|0)+((k[s+24>>2]&o)>>>(p>>>24))>>0]|0;g=i[(k[124356+((h>>>16&255)<<2)>>2]|0)+((k[s+20>>2]&o)>>>(p>>>16&255))>>0]|0;n=i[(k[124356+((h>>>8&255)<<2)>>2]|0)+((k[s+16>>2]&o)>>>(p>>>8&255))>>0]|0;p=i[(k[124356+((h&255)<<2)>>2]|0)+((o&k[s+12>>2])>>>(p&255))>>0]|0;break}case 2:{o=m[d>>1]|0;p=k[s+32>>2]|0;h=k[s+28>>2]|0;e=o;a=i[(k[124356+(h>>>24<<2)>>2]|0)+((k[s+24>>2]&o)>>>(p>>>24))>>0]|0;g=i[(k[124356+((h>>>16&255)<<2)>>2]|0)+((k[s+20>>2]&o)>>>(p>>>16&255))>>0]|0;n=i[(k[124356+((h>>>8&255)<<2)>>2]|0)+((k[s+16>>2]&o)>>>(p>>>8&255))>>0]|0;p=i[(k[124356+((h&255)<<2)>>2]|0)+((o&k[s+12>>2])>>>(p&255))>>0]|0;break}case 3:{p=k[s+32>>2]|0;e=0;a=-1;g=i[d+(p>>>19&31)>>0]|0;n=i[d+(p>>>11&31)>>0]|0;p=i[d+(p>>>3&31)>>0]|0;break}case 4:{o=k[d>>2]|0;p=k[s+32>>2]|0;h=k[s+28>>2]|0;e=o;a=i[(k[124356+(h>>>24<<2)>>2]|0)+((k[s+24>>2]&o)>>>(p>>>24))>>0]|0;g=i[(k[124356+((h>>>16&255)<<2)>>2]|0)+((k[s+20>>2]&o)>>>(p>>>16&255))>>0]|0;n=i[(k[124356+((h>>>8&255)<<2)>>2]|0)+((k[s+16>>2]&o)>>>(p>>>8&255))>>0]|0;p=i[(k[124356+((h&255)<<2)>>2]|0)+((k[s+12>>2]&o)>>>(p&255))>>0]|0;break}default:{e=0;a=0;g=0;n=0;p=0}}o=p&255;h=n&255;f=g&255;a=a&255;e:do if((e&u|0)!=(v|0))switch(x|0){case 1:{n=k[t+28>>2]|0;p=k[t+32>>2]|0;i[c>>0]=h>>>(n>>>8&255)<<(p>>>8&255)|o>>>(n&255)<<(p&255)|f>>>(n>>>16&255)<<(p>>>16&255)|a>>>(n>>>24)<<(p>>>24);break e}case 2:{n=k[t+28>>2]|0;p=k[t+32>>2]|0;j[c>>1]=h>>>(n>>>8&255)<<(p>>>8&255)|o>>>(n&255)<<(p&255)|f>>>(n>>>16&255)<<(p>>>16&255)|a>>>(n>>>24)<<(p>>>24);break e}case 3:{i[c+((l[t+32>>0]|0)>>>3&255)>>0]=p;i[c+((l[t+33>>0]|0)>>>3&255)>>0]=n;i[c+((l[t+34>>0]|0)>>>3&255)>>0]=g;break e}case 4:{n=k[t+28>>2]|0;p=k[t+32>>2]|0;k[c>>2]=h>>>(n>>>8&255)<<(p>>>8&255)|o>>>(n&255)<<(p&255)|f>>>(n>>>16&255)<<(p>>>16&255)|a>>>(n>>>24)<<(p>>>24);break e}default:break e}while(0);c=c+x|0;d=d+w|0;e=52;continue}else if((e|0)==52){switch(w|0){case 1:{o=l[d>>0]|0;p=k[s+32>>2]|0;h=k[s+28>>2]|0;e=o;a=i[(k[124356+(h>>>24<<2)>>2]|0)+((k[s+24>>2]&o)>>>(p>>>24))>>0]|0;g=i[(k[124356+((h>>>16&255)<<2)>>2]|0)+((k[s+20>>2]&o)>>>(p>>>16&255))>>0]|0;n=i[(k[124356+((h>>>8&255)<<2)>>2]|0)+((k[s+16>>2]&o)>>>(p>>>8&255))>>0]|0;p=i[(k[124356+((h&255)<<2)>>2]|0)+((o&k[s+12>>2])>>>(p&255))>>0]|0;break}case 2:{o=m[d>>1]|0;p=k[s+32>>2]|0;h=k[s+28>>2]|0;e=o;a=i[(k[124356+(h>>>24<<2)>>2]|0)+((k[s+24>>2]&o)>>>(p>>>24))>>0]|0;g=i[(k[124356+((h>>>16&255)<<2)>>2]|0)+((k[s+20>>2]&o)>>>(p>>>16&255))>>0]|0;n=i[(k[124356+((h>>>8&255)<<2)>>2]|0)+((k[s+16>>2]&o)>>>(p>>>8&255))>>0]|0;p=i[(k[124356+((h&255)<<2)>>2]|0)+((o&k[s+12>>2])>>>(p&255))>>0]|0;break}case 3:{p=k[s+32>>2]|0;e=0;a=-1;g=i[d+(p>>>19&31)>>0]|0;n=i[d+(p>>>11&31)>>0]|0;p=i[d+(p>>>3&31)>>0]|0;break}case 4:{o=k[d>>2]|0;p=k[s+32>>2]|0;h=k[s+28>>2]|0;e=o;a=i[(k[124356+(h>>>24<<2)>>2]|0)+((k[s+24>>2]&o)>>>(p>>>24))>>0]|0;g=i[(k[124356+((h>>>16&255)<<2)>>2]|0)+((k[s+20>>2]&o)>>>(p>>>16&255))>>0]|0;n=i[(k[124356+((h>>>8&255)<<2)>>2]|0)+((k[s+16>>2]&o)>>>(p>>>8&255))>>0]|0;p=i[(k[124356+((h&255)<<2)>>2]|0)+((k[s+12>>2]&o)>>>(p&255))>>0]|0;break}default:{e=0;a=0;g=0;n=0;p=0}}o=p&255;h=n&255;f=g&255;a=a&255;f:do if((e&u|0)!=(v|0))switch(x|0){case 1:{n=k[t+28>>2]|0;p=k[t+32>>2]|0;i[c>>0]=h>>>(n>>>8&255)<<(p>>>8&255)|o>>>(n&255)<<(p&255)|f>>>(n>>>16&255)<<(p>>>16&255)|a>>>(n>>>24)<<(p>>>24);break f}case 2:{n=k[t+28>>2]|0;p=k[t+32>>2]|0;j[c>>1]=h>>>(n>>>8&255)<<(p>>>8&255)|o>>>(n&255)<<(p&255)|f>>>(n>>>16&255)<<(p>>>16&255)|a>>>(n>>>24)<<(p>>>24);break f}case 3:{i[c+((l[t+32>>0]|0)>>>3&255)>>0]=p;i[c+((l[t+33>>0]|0)>>>3&255)>>0]=n;i[c+((l[t+34>>0]|0)>>>3&255)>>0]=g;break f}case 4:{n=k[t+28>>2]|0;p=k[t+32>>2]|0;k[c>>2]=h>>>(n>>>8&255)<<(p>>>8&255)|o>>>(n&255)<<(p&255)|f>>>(n>>>16&255)<<(p>>>16&255)|a>>>(n>>>24)<<(p>>>24);break f}default:break f}while(0);c=c+x|0;d=d+w|0;e=64;continue}else if((e|0)==64){switch(w|0){case 1:{o=l[d>>0]|0;p=k[s+32>>2]|0;h=k[s+28>>2]|0;e=o;a=i[(k[124356+(h>>>24<<2)>>2]|0)+((k[s+24>>2]&o)>>>(p>>>24))>>0]|0;g=i[(k[124356+((h>>>16&255)<<2)>>2]|0)+((k[s+20>>2]&o)>>>(p>>>16&255))>>0]|0;n=i[(k[124356+((h>>>8&255)<<2)>>2]|0)+((k[s+16>>2]&o)>>>(p>>>8&255))>>0]|0;p=i[(k[124356+((h&255)<<2)>>2]|0)+((o&k[s+12>>2])>>>(p&255))>>0]|0;break}case 2:{o=m[d>>1]|0;p=k[s+32>>2]|0;h=k[s+28>>2]|0;e=o;a=i[(k[124356+(h>>>24<<2)>>2]|0)+((k[s+24>>2]&o)>>>(p>>>24))>>0]|0;g=i[(k[124356+((h>>>16&255)<<2)>>2]|0)+((k[s+20>>2]&o)>>>(p>>>16&255))>>0]|0;n=i[(k[124356+((h>>>8&255)<<2)>>2]|0)+((k[s+16>>2]&o)>>>(p>>>8&255))>>0]|0;p=i[(k[124356+((h&255)<<2)>>2]|0)+((o&k[s+12>>2])>>>(p&255))>>0]|0;break}case 3:{p=k[s+32>>2]|0;e=0;a=-1;g=i[d+(p>>>19&31)>>0]|0;n=i[d+(p>>>11&31)>>0]|0;p=i[d+(p>>>3&31)>>0]|0;break}case 4:{o=k[d>>2]|0;p=k[s+32>>2]|0;h=k[s+28>>2]|0;e=o;a=i[(k[124356+(h>>>24<<2)>>2]|0)+((k[s+24>>2]&o)>>>(p>>>24))>>0]|0;g=i[(k[124356+((h>>>16&255)<<2)>>2]|0)+((k[s+20>>2]&o)>>>(p>>>16&255))>>0]|0;n=i[(k[124356+((h>>>8&255)<<2)>>2]|0)+((k[s+16>>2]&o)>>>(p>>>8&255))>>0]|0;p=i[(k[124356+((h&255)<<2)>>2]|0)+((k[s+12>>2]&o)>>>(p&255))>>0]|0;break}default:{e=0;a=0;g=0;n=0;p=0}}o=p&255;h=n&255;f=g&255;a=a&255;g:do if((e&u|0)!=(v|0))switch(x|0){case 1:{n=k[t+28>>2]|0;p=k[t+32>>2]|0;i[c>>0]=h>>>(n>>>8&255)<<(p>>>8&255)|o>>>(n&255)<<(p&255)|f>>>(n>>>16&255)<<(p>>>16&255)|a>>>(n>>>24)<<(p>>>24);break g}case 2:{n=k[t+28>>2]|0;p=k[t+32>>2]|0;j[c>>1]=h>>>(n>>>8&255)<<(p>>>8&255)|o>>>(n&255)<<(p&255)|f>>>(n>>>16&255)<<(p>>>16&255)|a>>>(n>>>24)<<(p>>>24);break g}case 3:{i[c+((l[t+32>>0]|0)>>>3&255)>>0]=p;i[c+((l[t+33>>0]|0)>>>3&255)>>0]=n;i[c+((l[t+34>>0]|0)>>>3&255)>>0]=g;break g}case 4:{n=k[t+28>>2]|0;p=k[t+32>>2]|0;k[c>>2]=h>>>(n>>>8&255)<<(p>>>8&255)|o>>>(n&255)<<(p&255)|f>>>(n>>>16&255)<<(p>>>16&255)|a>>>(n>>>24)<<(p>>>24);break g}default:break g}while(0);c=c+x|0;d=d+w|0;e=76;continue}else if((e|0)==76){switch(w|0){case 1:{o=l[d>>0]|0;p=k[s+32>>2]|0;h=k[s+28>>2]|0;e=o;a=i[(k[124356+(h>>>24<<2)>>2]|0)+((k[s+24>>2]&o)>>>(p>>>24))>>0]|0;g=i[(k[124356+((h>>>16&255)<<2)>>2]|0)+((k[s+20>>2]&o)>>>(p>>>16&255))>>0]|0;n=i[(k[124356+((h>>>8&255)<<2)>>2]|0)+((k[s+16>>2]&o)>>>(p>>>8&255))>>0]|0;p=i[(k[124356+((h&255)<<2)>>2]|0)+((o&k[s+12>>2])>>>(p&255))>>0]|0;break}case 2:{o=m[d>>1]|0;p=k[s+32>>2]|0;h=k[s+28>>2]|0;e=o;a=i[(k[124356+(h>>>24<<2)>>2]|0)+((k[s+24>>2]&o)>>>(p>>>24))>>0]|0;g=i[(k[124356+((h>>>16&255)<<2)>>2]|0)+((k[s+20>>2]&o)>>>(p>>>16&255))>>0]|0;n=i[(k[124356+((h>>>8&255)<<2)>>2]|0)+((k[s+16>>2]&o)>>>(p>>>8&255))>>0]|0;p=i[(k[124356+((h&255)<<2)>>2]|0)+((o&k[s+12>>2])>>>(p&255))>>0]|0;break}case 3:{p=k[s+32>>2]|0;e=0;a=-1;g=i[d+(p>>>19&31)>>0]|0;n=i[d+(p>>>11&31)>>0]|0;p=i[d+(p>>>3&31)>>0]|0;break}case 4:{o=k[d>>2]|0;p=k[s+32>>2]|0;h=k[s+28>>2]|0;e=o;a=i[(k[124356+(h>>>24<<2)>>2]|0)+((k[s+24>>2]&o)>>>(p>>>24))>>0]|0;g=i[(k[124356+((h>>>16&255)<<2)>>2]|0)+((k[s+20>>2]&o)>>>(p>>>16&255))>>0]|0;n=i[(k[124356+((h>>>8&255)<<2)>>2]|0)+((k[s+16>>2]&o)>>>(p>>>8&255))>>0]|0;p=i[(k[124356+((h&255)<<2)>>2]|0)+((k[s+12>>2]&o)>>>(p&255))>>0]|0;break}default:{e=0;a=0;g=0;n=0;p=0}}o=p&255;h=n&255;f=g&255;a=a&255;h:do if((e&u|0)!=(v|0))switch(x|0){case 1:{n=k[t+28>>2]|0;p=k[t+32>>2]|0;i[c>>0]=h>>>(n>>>8&255)<<(p>>>8&255)|o>>>(n&255)<<(p&255)|f>>>(n>>>16&255)<<(p>>>16&255)|a>>>(n>>>24)<<(p>>>24);break h}case 2:{n=k[t+28>>2]|0;p=k[t+32>>2]|0;j[c>>1]=h>>>(n>>>8&255)<<(p>>>8&255)|o>>>(n&255)<<(p&255)|f>>>(n>>>16&255)<<(p>>>16&255)|a>>>(n>>>24)<<(p>>>24);break h}case 3:{i[c+((l[t+32>>0]|0)>>>3&255)>>0]=p;i[c+((l[t+33>>0]|0)>>>3&255)>>0]=n;i[c+((l[t+34>>0]|0)>>>3&255)>>0]=g;break h}case 4:{n=k[t+28>>2]|0;p=k[t+32>>2]|0;k[c>>2]=h>>>(n>>>8&255)<<(p>>>8&255)|o>>>(n&255)<<(p&255)|f>>>(n>>>16&255)<<(p>>>16&255)|a>>>(n>>>24)<<(p>>>24);break h}default:break h}while(0);c=c+x|0;d=d+w|0;e=88;continue}else if((e|0)==88){switch(w|0){case 1:{o=l[d>>0]|0;p=k[s+32>>2]|0;h=k[s+28>>2]|0;e=o;a=i[(k[124356+(h>>>24<<2)>>2]|0)+((k[s+24>>2]&o)>>>(p>>>24))>>0]|0;g=i[(k[124356+((h>>>16&255)<<2)>>2]|0)+((k[s+20>>2]&o)>>>(p>>>16&255))>>0]|0;n=i[(k[124356+((h>>>8&255)<<2)>>2]|0)+((k[s+16>>2]&o)>>>(p>>>8&255))>>0]|0;p=i[(k[124356+((h&255)<<2)>>2]|0)+((o&k[s+12>>2])>>>(p&255))>>0]|0;break}case 2:{o=m[d>>1]|0;p=k[s+32>>2]|0;h=k[s+28>>2]|0;e=o;a=i[(k[124356+(h>>>24<<2)>>2]|0)+((k[s+24>>2]&o)>>>(p>>>24))>>0]|0;g=i[(k[124356+((h>>>16&255)<<2)>>2]|0)+((k[s+20>>2]&o)>>>(p>>>16&255))>>0]|0;n=i[(k[124356+((h>>>8&255)<<2)>>2]|0)+((k[s+16>>2]&o)>>>(p>>>8&255))>>0]|0;p=i[(k[124356+((h&255)<<2)>>2]|0)+((o&k[s+12>>2])>>>(p&255))>>0]|0;break}case 3:{p=k[s+32>>2]|0;e=0;a=-1;g=i[d+(p>>>19&31)>>0]|0;n=i[d+(p>>>11&31)>>0]|0;p=i[d+(p>>>3&31)>>0]|0;break}case 4:{o=k[d>>2]|0;p=k[s+32>>2]|0;h=k[s+28>>2]|0;e=o;a=i[(k[124356+(h>>>24<<2)>>2]|0)+((k[s+24>>2]&o)>>>(p>>>24))>>0]|0;g=i[(k[124356+((h>>>16&255)<<2)>>2]|0)+((k[s+20>>2]&o)>>>(p>>>16&255))>>0]|0;n=i[(k[124356+((h>>>8&255)<<2)>>2]|0)+((k[s+16>>2]&o)>>>(p>>>8&255))>>0]|0;p=i[(k[124356+((h&255)<<2)>>2]|0)+((k[s+12>>2]&o)>>>(p&255))>>0]|0;break}default:{e=0;a=0;g=0;n=0;p=0}}o=p&255;h=n&255;f=g&255;a=a&255;i:do if((e&u|0)!=(v|0))switch(x|0){case 1:{n=k[t+28>>2]|0;p=k[t+32>>2]|0;i[c>>0]=h>>>(n>>>8&255)<<(p>>>8&255)|o>>>(n&255)<<(p&255)|f>>>(n>>>16&255)<<(p>>>16&255)|a>>>(n>>>24)<<(p>>>24);break i}case 2:{n=k[t+28>>2]|0;p=k[t+32>>2]|0;j[c>>1]=h>>>(n>>>8&255)<<(p>>>8&255)|o>>>(n&255)<<(p&255)|f>>>(n>>>16&255)<<(p>>>16&255)|a>>>(n>>>24)<<(p>>>24);break i}case 3:{i[c+((l[t+32>>0]|0)>>>3&255)>>0]=p;i[c+((l[t+33>>0]|0)>>>3&255)>>0]=n;i[c+((l[t+34>>0]|0)>>>3&255)>>0]=g;break i}case 4:{n=k[t+28>>2]|0;p=k[t+32>>2]|0;k[c>>2]=h>>>(n>>>8&255)<<(p>>>8&255)|o>>>(n&255)<<(p&255)|f>>>(n>>>16&255)<<(p>>>16&255)|a>>>(n>>>24)<<(p>>>24);break i}default:break i}while(0);a=c+x|0;d=d+w|0;if((q|0)>1){q=q+-1|0;e=4;continue}else break}if(!b){e=102;break}else{c=a+z|0;d=d+y|0}}if((e|0)!=100)if((e|0)==102)return}function mab(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;k[d>>2]=c;c=wob(a,b,d)|0;r=d;return c|0}function nab(){var a=0,b=0;b=r;r=r+16|0;a=k[33430]|0;if((a|0)==-1){k[33430]=0;k[b>>2]=0;a=k[33430]|0;if(k[b>>2]|0){k[33430]=a|2;a=a|2}}r=b;return a>>>3&1|0}function oab(){var a=0,b=0;b=r;r=r+16|0;a=k[33430]|0;if((a|0)==-1){k[33430]=0;k[b>>2]=0;a=k[33430]|0;if(k[b>>2]|0){k[33430]=a|2;a=a|2}}r=b;return a>>>4&1|0}function pab(){var a=0,b=0;b=r;r=r+16|0;a=k[33430]|0;if((a|0)==-1){k[33430]=0;k[b>>2]=0;a=k[33430]|0;if(k[b>>2]|0){k[33430]=a|2;a=a|2}}r=b;return a>>>5&1|0}function qab(){var a=0,b=0;b=r;r=r+16|0;a=k[33430]|0;if((a|0)==-1){k[33430]=0;k[b>>2]=0;a=k[33430]|0;if(k[b>>2]|0){k[33430]=a|2;a=a|2}}r=b;return a>>>1&1|0}function rab(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0;c=k[a+28>>2]|0;l=(k[a+8>>2]<<16|0)/(c|0)|0;b=k[a+24>>2]|0;j=(k[a+4>>2]<<16|0)/(b|0)|0;k[a+28>>2]=c+-1;if(!c)return;f=k[a+20>>2]|0;i=f;c=c+-1|0;d=0;e=0;while(1){if((d|0)>65535){h=d+-65536|0;d=h-(h>>>16<<16)|0;e=e+1+(h>>>16)|0}if(!b)b=c;else{c=65536;g=0;h=-1;while(1){b=b+-1|0;if((c|0)>65535){c=c+-65536|0;h=h+1+(c>>>16)|0;c=c-(c>>>16<<16)|0;g=(k[a>>2]|0)+(ha(k[a+12>>2]|0,e)|0)+(h<<2)|0}k[f>>2]=k[g>>2];if(!b)break;else{f=f+4|0;c=c+j|0}}b=k[a+28>>2]|0}f=i+(k[a+32>>2]|0)|0;c=b+-1|0;k[a+28>>2]=c;if(!b)break;b=k[a+24>>2]|0;i=f;d=d+l|0}k[a+20>>2]=f;return}function sab(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0;i=k[a+52>>2]|0;l=k[a+28>>2]|0;k[a+28>>2]=l+-1;if(!l)return;c=k[a>>2]|0;b=k[a+20>>2]|0;j=c;l=b;while(1){d=k[a+24>>2]|0;if(d|0)switch(i&112|0){case 16:{d=d+-1|0;while(1){k[b>>2]=k[c>>2]&16777215;if(!d)break;else{d=d+-1|0;b=b+4|0;c=c+4|0}}break}case 32:{d=d+-1|0;while(1){h=k[c>>2]|0;g=k[b>>2]|0;k[b>>2]=(((g>>>8&255)+(h>>>8&255)|0)>>>0>255?255:(g>>>8&255)+(h>>>8&255)|0)<<8|(((g>>>16&255)+(h>>>16&255)|0)>>>0>255?255:(g>>>16&255)+(h>>>16&255)|0)<<16|(((g&255)+(h&255)|0)>>>0>255?255:(g&255)+(h&255)|0);if(!d)break;else{d=d+-1|0;b=b+4|0;c=c+4|0}}break}default:{h=d+-1|0;while(1){d=k[c>>2]|0;e=k[b>>2]|0;if((i&112|0)==64){f=((ha(e&255,d&255)|0)>>>0)/255|0;g=((ha(e>>>8&255,d>>>8&255)|0)>>>0)/255|0;d=((ha(e>>>16&255,d>>>16&255)|0)>>>0)/255|0}else{f=e&255;g=e>>>8&255;d=e>>>16&255}k[b>>2]=g<<8|d<<16|f;if(!h)break;else{h=h+-1|0;b=b+4|0;c=c+4|0}}}}c=j+(k[a+12>>2]|0)|0;b=l+(k[a+32>>2]|0)|0;l=k[a+28>>2]|0;k[a+28>>2]=l+-1;if(!l)break;else{j=c;l=b}}k[a>>2]=c;k[a+20>>2]=b;return}function tab(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0;o=k[a+52>>2]|0;n=k[a+28>>2]|0;q=(k[a+8>>2]<<16|0)/(n|0)|0;b=k[a+24>>2]|0;p=(k[a+4>>2]<<16|0)/(b|0)|0;k[a+28>>2]=n+-1;if(!n)return;m=k[a+20>>2]|0;g=m;c=0;d=0;while(1){if((c|0)>65535){l=c+-65536|0;n=l-(l>>>16<<16)|0;d=d+1+(l>>>16)|0}else n=c;c=b+-1|0;a:do if(b|0){if((o&112|0)==16){b=65536;e=0;f=-1;while(1){if((b|0)>65535){b=b+-65536|0;f=f+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(k[a>>2]|0)+(ha(k[a+12>>2]|0,d)|0)+(f<<2)|0}k[g>>2]=k[e>>2]&16777215;if(!c)break a;else{c=c+-1|0;g=g+4|0;b=b+p|0}}}else{b=65536;e=0;f=-1}while(1){if((b|0)>65535){b=b+-65536|0;f=f+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(k[a>>2]|0)+(ha(k[a+12>>2]|0,d)|0)+(f<<2)|0}h=k[e>>2]|0;i=k[g>>2]|0;switch(o&112|0){case 64:{j=((ha(i&255,h&255)|0)>>>0)/255|0;l=((ha(i>>>8&255,h>>>8&255)|0)>>>0)/255|0;h=((ha(i>>>16&255,h>>>16&255)|0)>>>0)/255|0;break}case 32:{j=((i&255)+(h&255)|0)>>>0>255?255:(i&255)+(h&255)|0;l=((i>>>8&255)+(h>>>8&255)|0)>>>0>255?255:(i>>>8&255)+(h>>>8&255)|0;h=((i>>>16&255)+(h>>>16&255)|0)>>>0>255?255:(i>>>16&255)+(h>>>16&255)|0;break}default:{j=i&255;l=i>>>8&255;h=i>>>16&255}}k[g>>2]=l<<8|h<<16|j;if(!c)break a;else{c=c+-1|0;g=g+4|0;b=b+p|0}}}while(0);c=m+(k[a+32>>2]|0)|0;m=k[a+28>>2]|0;k[a+28>>2]=m+-1;if(!m)break;g=c;b=k[a+24>>2]|0;m=c;c=n+q|0}k[a+20>>2]=c;return}function uab(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=k[a+52>>2]|0;i=k[a+60>>2]|0;c=k[a+28>>2]|0;k[a+28>>2]=c+-1;if(!c)return;f=k[a>>2]|0;d=k[a+20>>2]|0;if(!(b&1)){g=f;h=d;e=c+-1|0;b=d;c=f;while(1){d=k[a+24>>2]|0;if(!d)d=e;else{while(1){d=d+-1|0;k[b>>2]=k[c>>2]&16777215;if(!d)break;else{b=b+4|0;c=c+4|0}}d=k[a+28>>2]|0}c=g+(k[a+12>>2]|0)|0;b=h+(k[a+32>>2]|0)|0;e=d+-1|0;k[a+28>>2]=e;if(!d)break;else{g=c;h=b}}k[a>>2]=c;k[a+20>>2]=b;return}else{g=f;h=d;e=c+-1|0;b=d;c=f;while(1){d=k[a+24>>2]|0;if(!d)d=e;else{while(1){d=d+-1|0;f=k[c>>2]|0;f=(((ha(f>>>8&255,i>>>8&255)|0)>>>0)/255|0)<<8|(((ha(f>>>16&255,i&255)|0)>>>0)/255|0)<<16|(((ha(f&255,i>>>16&255)|0)>>>0)/255|0);k[b>>2]=f;if(!d)break;else{b=b+4|0;c=c+4|0}}d=k[a+28>>2]|0}c=g+(k[a+12>>2]|0)|0;b=h+(k[a+32>>2]|0)|0;e=d+-1|0;k[a+28>>2]=e;if(!d)break;else{g=c;h=b}}k[a>>2]=c;k[a+20>>2]=b;return}}function vab(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0;j=k[a+52>>2]|0;n=k[a+60>>2]|0;i=k[a+28>>2]|0;l=(k[a+8>>2]<<16|0)/(i|0)|0;b=k[a+24>>2]|0;m=(k[a+4>>2]<<16|0)/(b|0)|0;k[a+28>>2]=i+-1;if(!i)return;e=k[a+20>>2]|0;i=e;c=0;d=0;while(1){if((c|0)>65535){g=c+-65536|0;h=g-(g>>>16<<16)|0;d=d+1+(g>>>16)|0}else h=c;c=b+-1|0;if(b|0)if(!(j&1)){b=65536;f=0;g=-1;while(1){if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;f=(k[a>>2]|0)+(ha(k[a+12>>2]|0,d)|0)+(g<<2)|0}k[e>>2]=k[f>>2]&16777215;if(!c)break;else{c=c+-1|0;e=e+4|0;b=b+m|0}}}else{b=65536;f=0;g=-1;while(1){if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;f=(k[a>>2]|0)+(ha(k[a+12>>2]|0,d)|0)+(g<<2)|0}o=k[f>>2]|0;o=((ha(o&255,n>>>16&255)|0)>>>0)/255|0|(((ha(o>>>8&255,n>>>8&255)|0)>>>0)/255|0)<<8|(((ha(o>>>16&255,n&255)|0)>>>0)/255|0)<<16;k[e>>2]=o;if(!c)break;else{c=c+-1|0;e=e+4|0;b=b+m|0}}}c=i+(k[a+32>>2]|0)|0;o=k[a+28>>2]|0;k[a+28>>2]=o+-1;if(!o)break;b=k[a+24>>2]|0;i=c;e=c;c=h+l|0}k[a+20>>2]=c;return}function wab(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0;l=k[a+52>>2]|0;o=k[a+60>>2]|0;n=k[a+28>>2]|0;k[a+28>>2]=n+-1;if(!n)return;j=(l&2|0)==0?255:o>>>24;c=k[a>>2]|0;b=k[a+20>>2]|0;m=c;n=b;while(1){d=k[a+24>>2]|0;a:do if(d|0)if(!(l&1)){i=d+-1|0;while(1){d=k[c>>2]|0;h=k[b>>2]|0;if((l&48|0)!=0&(j|0)!=255){e=((ha(d&255,j)|0)>>>0)/255|0;g=((ha(d>>>8&255,j)|0)>>>0)/255|0;d=((ha(d>>>16&255,j)|0)>>>0)/255|0}else{e=d&255;g=d>>>8&255;d=d>>>16&255}switch(l&112|0){case 16:{f=e+(((ha(h&255,j^255)|0)>>>0)/255|0)|0;e=g+(((ha(h>>>8&255,j^255)|0)>>>0)/255|0)|0;d=d+(((ha(h>>>16&255,j^255)|0)>>>0)/255|0)|0;break}case 32:{d=d+(h>>>16&255)|0;g=g+(h>>>8&255)|0;f=e+(h&255)|0;f=f>>>0>255?255:f;e=g>>>0>255?255:g;d=d>>>0>255?255:d;break}case 64:{f=((ha(e,h&255)|0)>>>0)/255|0;e=((ha(g,h>>>8&255)|0)>>>0)/255|0;d=((ha(d,h>>>16&255)|0)>>>0)/255|0;break}default:{f=h&255;e=h>>>8&255;d=h>>>16&255}}k[b>>2]=e<<8|d<<16|f;if(!i)break a;else{i=i+-1|0;b=b+4|0;c=c+4|0}}}else{i=d+-1|0;while(1){d=k[c>>2]|0;h=k[b>>2]|0;f=((ha(d>>>16&255,o&255)|0)>>>0)/255|0;e=((ha(d>>>8&255,o>>>8&255)|0)>>>0)/255|0;d=((ha(d&255,o>>>16&255)|0)>>>0)/255|0;if((l&48|0)!=0&(j|0)!=255){d=((ha(d,j)|0)>>>0)/255|0;e=((ha(e,j)|0)>>>0)/255|0;f=((ha(f,j)|0)>>>0)/255|0}switch(l&112|0){case 16:{g=d+(((ha(h&255,j^255)|0)>>>0)/255|0)|0;e=e+(((ha(h>>>8&255,j^255)|0)>>>0)/255|0)|0;d=f+(((ha(h>>>16&255,j^255)|0)>>>0)/255|0)|0;break}case 32:{f=f+(h>>>16&255)|0;e=e+(h>>>8&255)|0;g=d+(h&255)|0;g=g>>>0>255?255:g;e=e>>>0>255?255:e;d=f>>>0>255?255:f;break}case 64:{g=((ha(d,h&255)|0)>>>0)/255|0;e=((ha(e,h>>>8&255)|0)>>>0)/255|0;d=((ha(f,h>>>16&255)|0)>>>0)/255|0;break}default:{g=h&255;e=h>>>8&255;d=h>>>16&255}}k[b>>2]=e<<8|d<<16|g;if(!i)break a;else{i=i+-1|0;b=b+4|0;c=c+4|0}}}while(0);c=m+(k[a+12>>2]|0)|0;b=n+(k[a+32>>2]|0)|0;n=k[a+28>>2]|0;k[a+28>>2]=n+-1;if(!n)break;else{m=c;n=b}}k[a>>2]=c;k[a+20>>2]=b;return}function xab(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;p=k[a+52>>2]|0;t=k[a+60>>2]|0;b=k[a+28>>2]|0;r=(k[a+8>>2]<<16|0)/(b|0)|0;c=k[a+24>>2]|0;s=(k[a+4>>2]<<16|0)/(c|0)|0;k[a+28>>2]=b+-1;if(!b)return;o=(p&2|0)==0?255:t>>>24;f=k[a+20>>2]|0;q=f;b=b+-1|0;d=0;e=0;while(1){if((d|0)>65535){m=d+-65536|0;n=m-(m>>>16<<16)|0;e=e+1+(m>>>16)|0}else n=d;if(!c)c=b;else{b=65536;d=0;g=-1;while(1){c=c+-1|0;if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;d=(k[a>>2]|0)+(ha(k[a+12>>2]|0,e)|0)+(g<<2)|0}h=k[d>>2]|0;m=k[f>>2]|0;if(!(p&1)){i=h&255;j=h>>>8&255;l=h>>>16&255}else{i=((ha(h&255,t>>>16&255)|0)>>>0)/255|0;j=((ha(h>>>8&255,t>>>8&255)|0)>>>0)/255|0;l=((ha(h>>>16&255,t&255)|0)>>>0)/255|0}if((p&48|0)!=0&(o|0)!=255){i=((ha(i,o)|0)>>>0)/255|0;h=((ha(j,o)|0)>>>0)/255|0;l=((ha(l,o)|0)>>>0)/255|0}else h=j;switch(p&112|0){case 16:{j=i+(((ha(m&255,o^255)|0)>>>0)/255|0)|0;i=h+(((ha(m>>>8&255,o^255)|0)>>>0)/255|0)|0;h=l+(((ha(m>>>16&255,o^255)|0)>>>0)/255|0)|0;break}case 32:{l=l+(m>>>16&255)|0;h=h+(m>>>8&255)|0;j=i+(m&255)|0;j=j>>>0>255?255:j;i=h>>>0>255?255:h;h=l>>>0>255?255:l;break}case 64:{j=((ha(i,m&255)|0)>>>0)/255|0;i=((ha(h,m>>>8&255)|0)>>>0)/255|0;h=((ha(l,m>>>16&255)|0)>>>0)/255|0;break}default:{j=m&255;i=m>>>8&255;h=m>>>16&255}}k[f>>2]=i<<8|h<<16|j;if(!c)break;else{f=f+4|0;b=b+s|0}}c=k[a+28>>2]|0}d=q+(k[a+32>>2]|0)|0;b=c+-1|0;k[a+28>>2]=b;if(!c)break;q=d;f=d;c=k[a+24>>2]|0;d=n+r|0}k[a+20>>2]=d;return}function yab(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0;c=k[a+28>>2]|0;l=(k[a+8>>2]<<16|0)/(c|0)|0;b=k[a+24>>2]|0;j=(k[a+4>>2]<<16|0)/(b|0)|0;k[a+28>>2]=c+-1;if(!c)return;f=k[a+20>>2]|0;i=f;c=c+-1|0;d=0;e=0;while(1){if((d|0)>65535){h=d+-65536|0;d=h-(h>>>16<<16)|0;e=e+1+(h>>>16)|0}if(!b)b=c;else{c=65536;g=0;h=-1;while(1){b=b+-1|0;if((c|0)>65535){c=c+-65536|0;h=h+1+(c>>>16)|0;c=c-(c>>>16<<16)|0;g=(k[a>>2]|0)+(ha(k[a+12>>2]|0,e)|0)+(h<<2)|0}m=k[g>>2]|0;k[f>>2]=m<<16&16711680|m&65280|m>>>16&255;if(!b)break;else{f=f+4|0;c=c+j|0}}b=k[a+28>>2]|0}f=i+(k[a+32>>2]|0)|0;c=b+-1|0;k[a+28>>2]=c;if(!b)break;b=k[a+24>>2]|0;i=f;d=d+l|0}k[a+20>>2]=f;return}function zab(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0;i=k[a+52>>2]|0;l=k[a+28>>2]|0;k[a+28>>2]=l+-1;if(!l)return;c=k[a>>2]|0;b=k[a+20>>2]|0;j=c;l=b;while(1){d=k[a+24>>2]|0;if(d|0)switch(i&112|0){case 16:{d=d+-1|0;while(1){h=k[c>>2]|0;k[b>>2]=h&65280|h>>>16&255|h<<16&16711680;if(!d)break;else{d=d+-1|0;b=b+4|0;c=c+4|0}}break}case 32:{d=d+-1|0;while(1){h=k[c>>2]|0;g=k[b>>2]|0;k[b>>2]=(((g>>>8&255)+(h>>>8&255)|0)>>>0>255?255:(g>>>8&255)+(h>>>8&255)|0)<<8|(((h>>>16&255)+(g&255)|0)>>>0>255?255:(h>>>16&255)+(g&255)|0)|(((g>>>16&255)+(h&255)|0)>>>0>255?255:(g>>>16&255)+(h&255)|0)<<16;if(!d)break;else{d=d+-1|0;b=b+4|0;c=c+4|0}}break}default:{h=d+-1|0;while(1){d=k[c>>2]|0;e=k[b>>2]|0;if((i&112|0)==64){f=((ha(e>>>16&255,d&255)|0)>>>0)/255|0;g=((ha(e>>>8&255,d>>>8&255)|0)>>>0)/255|0;d=((ha(d>>>16&255,e&255)|0)>>>0)/255|0}else{f=e>>>16&255;g=e>>>8&255;d=e&255}k[b>>2]=g<<8|d|f<<16;if(!h)break;else{h=h+-1|0;b=b+4|0;c=c+4|0}}}}c=j+(k[a+12>>2]|0)|0;b=l+(k[a+32>>2]|0)|0;l=k[a+28>>2]|0;k[a+28>>2]=l+-1;if(!l)break;else{j=c;l=b}}k[a>>2]=c;k[a+20>>2]=b;return}function Aab(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0;n=k[a+52>>2]|0;o=k[a+28>>2]|0;q=(k[a+8>>2]<<16|0)/(o|0)|0;b=k[a+24>>2]|0;p=(k[a+4>>2]<<16|0)/(b|0)|0;k[a+28>>2]=o+-1;if(!o)return;e=k[a+20>>2]|0;o=e;c=0;d=0;while(1){if((c|0)>65535){l=c+-65536|0;m=l-(l>>>16<<16)|0;d=d+1+(l>>>16)|0}else m=c;c=b+-1|0;a:do if(b|0){if((n&112|0)==16){g=e;b=65536;e=0;f=-1;while(1){if((b|0)>65535){b=b+-65536|0;f=f+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(k[a>>2]|0)+(ha(k[a+12>>2]|0,d)|0)+(f<<2)|0}l=k[e>>2]|0;k[g>>2]=l&65280|l>>>16&255|l<<16&16711680;if(!c)break a;else{c=c+-1|0;g=g+4|0;b=b+p|0}}}else{l=e;b=65536;e=0;f=-1}while(1){if((b|0)>65535){b=b+-65536|0;f=f+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(k[a>>2]|0)+(ha(k[a+12>>2]|0,d)|0)+(f<<2)|0}g=k[e>>2]|0;h=k[l>>2]|0;switch(n&112|0){case 64:{i=((ha(h>>>16&255,g&255)|0)>>>0)/255|0;j=((ha(h>>>8&255,g>>>8&255)|0)>>>0)/255|0;g=((ha(g>>>16&255,h&255)|0)>>>0)/255|0;break}case 32:{i=((h>>>16&255)+(g&255)|0)>>>0>255?255:(h>>>16&255)+(g&255)|0;j=((h>>>8&255)+(g>>>8&255)|0)>>>0>255?255:(h>>>8&255)+(g>>>8&255)|0;g=((g>>>16&255)+(h&255)|0)>>>0>255?255:(g>>>16&255)+(h&255)|0;break}default:{i=h>>>16&255;j=h>>>8&255;g=h&255}}k[l>>2]=j<<8|g|i<<16;if(!c)break a;else{c=c+-1|0;l=l+4|0;b=b+p|0}}}while(0);b=o+(k[a+32>>2]|0)|0;o=k[a+28>>2]|0;k[a+28>>2]=o+-1;if(!o)break;o=b;e=b;b=k[a+24>>2]|0;c=m+q|0}k[a+20>>2]=b;return}function Bab(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=k[a+52>>2]|0;i=k[a+60>>2]|0;c=k[a+28>>2]|0;k[a+28>>2]=c+-1;if(!c)return;f=k[a>>2]|0;d=k[a+20>>2]|0;if(!(b&1)){g=f;h=d;e=c+-1|0;b=d;c=f;while(1){d=k[a+24>>2]|0;if(!d)d=e;else{while(1){d=d+-1|0;i=k[c>>2]|0;k[b>>2]=i&65280|i>>>16&255|i<<16&16711680;if(!d)break;else{b=b+4|0;c=c+4|0}}d=k[a+28>>2]|0}c=g+(k[a+12>>2]|0)|0;b=h+(k[a+32>>2]|0)|0;e=d+-1|0;k[a+28>>2]=e;if(!d)break;else{g=c;h=b}}k[a>>2]=c;k[a+20>>2]=b;return}else{g=f;h=d;e=c+-1|0;b=d;c=f;while(1){d=k[a+24>>2]|0;if(!d)d=e;else{while(1){d=d+-1|0;f=k[c>>2]|0;f=(((ha(f>>>8&255,i>>>8&255)|0)>>>0)/255|0)<<8|(((ha(f>>>16&255,i&255)|0)>>>0)/255|0)|(((ha(f&255,i>>>16&255)|0)>>>0)/255|0)<<16;k[b>>2]=f;if(!d)break;else{b=b+4|0;c=c+4|0}}d=k[a+28>>2]|0}c=g+(k[a+12>>2]|0)|0;b=h+(k[a+32>>2]|0)|0;e=d+-1|0;k[a+28>>2]=e;if(!d)break;else{g=c;h=b}}k[a>>2]=c;k[a+20>>2]=b;return}}function Cab(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0;i=k[a+52>>2]|0;n=k[a+60>>2]|0;j=k[a+28>>2]|0;l=(k[a+8>>2]<<16|0)/(j|0)|0;b=k[a+24>>2]|0;m=(k[a+4>>2]<<16|0)/(b|0)|0;k[a+28>>2]=j+-1;if(!j)return;e=k[a+20>>2]|0;j=e;c=0;d=0;while(1){if((c|0)>65535){g=c+-65536|0;h=g-(g>>>16<<16)|0;d=d+1+(g>>>16)|0}else h=c;c=b+-1|0;if(b|0)if(!(i&1)){g=e;b=65536;e=0;f=-1;while(1){if((b|0)>65535){b=b+-65536|0;f=f+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(k[a>>2]|0)+(ha(k[a+12>>2]|0,d)|0)+(f<<2)|0}o=k[e>>2]|0;k[g>>2]=o<<16&16711680|o&65280|o>>>16&255;if(!c)break;else{c=c+-1|0;g=g+4|0;b=b+m|0}}}else{g=e;b=65536;e=0;f=-1;while(1){if((b|0)>65535){b=b+-65536|0;f=f+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(k[a>>2]|0)+(ha(k[a+12>>2]|0,d)|0)+(f<<2)|0}o=k[e>>2]|0;o=(((ha(o&255,n>>>16&255)|0)>>>0)/255|0)<<16|(((ha(o>>>8&255,n>>>8&255)|0)>>>0)/255|0)<<8|(((ha(o>>>16&255,n&255)|0)>>>0)/255|0);k[g>>2]=o;if(!c)break;else{c=c+-1|0;g=g+4|0;b=b+m|0}}}b=j+(k[a+32>>2]|0)|0;o=k[a+28>>2]|0;k[a+28>>2]=o+-1;if(!o)break;j=b;e=b;b=k[a+24>>2]|0;c=h+l|0}k[a+20>>2]=b;return}function Dab(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0;l=k[a+52>>2]|0;o=k[a+60>>2]|0;n=k[a+28>>2]|0;k[a+28>>2]=n+-1;if(!n)return;j=(l&2|0)==0?255:o>>>24;c=k[a>>2]|0;b=k[a+20>>2]|0;m=c;n=b;while(1){d=k[a+24>>2]|0;a:do if(d|0)if(!(l&1)){i=d+-1|0;while(1){d=k[c>>2]|0;h=k[b>>2]|0;if((l&48|0)!=0&(j|0)!=255){e=((ha(d&255,j)|0)>>>0)/255|0;g=((ha(d>>>8&255,j)|0)>>>0)/255|0;d=((ha(d>>>16&255,j)|0)>>>0)/255|0}else{e=d&255;g=d>>>8&255;d=d>>>16&255}switch(l&112|0){case 16:{f=e+(((ha(h>>>16&255,j^255)|0)>>>0)/255|0)|0;e=g+(((ha(h>>>8&255,j^255)|0)>>>0)/255|0)|0;d=d+(((ha(h&255,j^255)|0)>>>0)/255|0)|0;break}case 32:{d=d+(h&255)|0;g=g+(h>>>8&255)|0;f=e+(h>>>16&255)|0;f=f>>>0>255?255:f;e=g>>>0>255?255:g;d=d>>>0>255?255:d;break}case 64:{f=((ha(e,h>>>16&255)|0)>>>0)/255|0;e=((ha(g,h>>>8&255)|0)>>>0)/255|0;d=((ha(d,h&255)|0)>>>0)/255|0;break}default:{f=h>>>16&255;e=h>>>8&255;d=h&255}}k[b>>2]=e<<8|d|f<<16;if(!i)break a;else{i=i+-1|0;b=b+4|0;c=c+4|0}}}else{i=d+-1|0;while(1){d=k[c>>2]|0;h=k[b>>2]|0;f=((ha(d>>>16&255,o&255)|0)>>>0)/255|0;e=((ha(d>>>8&255,o>>>8&255)|0)>>>0)/255|0;d=((ha(d&255,o>>>16&255)|0)>>>0)/255|0;if((l&48|0)!=0&(j|0)!=255){d=((ha(d,j)|0)>>>0)/255|0;e=((ha(e,j)|0)>>>0)/255|0;f=((ha(f,j)|0)>>>0)/255|0}switch(l&112|0){case 16:{g=d+(((ha(h>>>16&255,j^255)|0)>>>0)/255|0)|0;e=e+(((ha(h>>>8&255,j^255)|0)>>>0)/255|0)|0;d=f+(((ha(h&255,j^255)|0)>>>0)/255|0)|0;break}case 32:{f=f+(h&255)|0;e=e+(h>>>8&255)|0;g=d+(h>>>16&255)|0;g=g>>>0>255?255:g;e=e>>>0>255?255:e;d=f>>>0>255?255:f;break}case 64:{g=((ha(d,h>>>16&255)|0)>>>0)/255|0;e=((ha(e,h>>>8&255)|0)>>>0)/255|0;d=((ha(f,h&255)|0)>>>0)/255|0;break}default:{g=h>>>16&255;e=h>>>8&255;d=h&255}}k[b>>2]=e<<8|d|g<<16;if(!i)break a;else{i=i+-1|0;b=b+4|0;c=c+4|0}}}while(0);c=m+(k[a+12>>2]|0)|0;b=n+(k[a+32>>2]|0)|0;n=k[a+28>>2]|0;k[a+28>>2]=n+-1;if(!n)break;else{m=c;n=b}}k[a>>2]=c;k[a+20>>2]=b;return}function Eab(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;p=k[a+52>>2]|0;t=k[a+60>>2]|0;b=k[a+28>>2]|0;r=(k[a+8>>2]<<16|0)/(b|0)|0;c=k[a+24>>2]|0;s=(k[a+4>>2]<<16|0)/(c|0)|0;k[a+28>>2]=b+-1;if(!b)return;o=(p&2|0)==0?255:t>>>24;f=k[a+20>>2]|0;q=f;b=b+-1|0;d=0;e=0;while(1){if((d|0)>65535){m=d+-65536|0;n=m-(m>>>16<<16)|0;e=e+1+(m>>>16)|0}else n=d;if(!c)c=b;else{b=65536;d=0;g=-1;while(1){c=c+-1|0;if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;d=(k[a>>2]|0)+(ha(k[a+12>>2]|0,e)|0)+(g<<2)|0}h=k[d>>2]|0;m=k[f>>2]|0;if(!(p&1)){i=h&255;j=h>>>8&255;l=h>>>16&255}else{i=((ha(h&255,t>>>16&255)|0)>>>0)/255|0;j=((ha(h>>>8&255,t>>>8&255)|0)>>>0)/255|0;l=((ha(h>>>16&255,t&255)|0)>>>0)/255|0}if((p&48|0)!=0&(o|0)!=255){i=((ha(i,o)|0)>>>0)/255|0;h=((ha(j,o)|0)>>>0)/255|0;l=((ha(l,o)|0)>>>0)/255|0}else h=j;switch(p&112|0){case 16:{j=i+(((ha(m>>>16&255,o^255)|0)>>>0)/255|0)|0;i=h+(((ha(m>>>8&255,o^255)|0)>>>0)/255|0)|0;h=l+(((ha(m&255,o^255)|0)>>>0)/255|0)|0;break}case 32:{l=l+(m&255)|0;h=h+(m>>>8&255)|0;j=i+(m>>>16&255)|0;j=j>>>0>255?255:j;i=h>>>0>255?255:h;h=l>>>0>255?255:l;break}case 64:{j=((ha(i,m>>>16&255)|0)>>>0)/255|0;i=((ha(h,m>>>8&255)|0)>>>0)/255|0;h=((ha(l,m&255)|0)>>>0)/255|0;break}default:{j=m>>>16&255;i=m>>>8&255;h=m&255}}k[f>>2]=i<<8|h|j<<16;if(!c)break;else{f=f+4|0;b=b+s|0}}c=k[a+28>>2]|0}d=q+(k[a+32>>2]|0)|0;b=c+-1|0;k[a+28>>2]=b;if(!c)break;q=d;f=d;c=k[a+24>>2]|0;d=n+r|0}k[a+20>>2]=d;return}function Fab(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0;c=k[a+28>>2]|0;l=(k[a+8>>2]<<16|0)/(c|0)|0;b=k[a+24>>2]|0;j=(k[a+4>>2]<<16|0)/(b|0)|0;k[a+28>>2]=c+-1;if(!c)return;f=k[a+20>>2]|0;i=f;c=c+-1|0;d=0;e=0;while(1){if((d|0)>65535){h=d+-65536|0;d=h-(h>>>16<<16)|0;e=e+1+(h>>>16)|0}if(!b)b=c;else{c=65536;g=0;h=-1;while(1){b=b+-1|0;if((c|0)>65535){c=c+-65536|0;h=h+1+(c>>>16)|0;c=c-(c>>>16<<16)|0;g=(k[a>>2]|0)+(ha(k[a+12>>2]|0,e)|0)+(h<<2)|0}k[f>>2]=k[g>>2]|-16777216;if(!b)break;else{f=f+4|0;c=c+j|0}}b=k[a+28>>2]|0}f=i+(k[a+32>>2]|0)|0;c=b+-1|0;k[a+28>>2]=c;if(!b)break;b=k[a+24>>2]|0;i=f;d=d+l|0}k[a+20>>2]=f;return}function Gab(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0;i=k[a+52>>2]|0;l=k[a+28>>2]|0;k[a+28>>2]=l+-1;if(!l)return;c=k[a>>2]|0;b=k[a+20>>2]|0;j=c;l=b;while(1){d=k[a+24>>2]|0;a:do if(d|0){if((i&112|0)==16){d=d+-1|0;while(1){k[b>>2]=k[c>>2]|-16777216;if(!d)break a;else{d=d+-1|0;b=b+4|0;c=c+4|0}}}else h=d+-1|0;while(1){d=k[c>>2]|0;e=k[b>>2]|0;switch(i&112|0){case 64:{f=((ha(e&255,d&255)|0)>>>0)/255|0;g=((ha(e>>>8&255,d>>>8&255)|0)>>>0)/255|0;d=((ha(e>>>16&255,d>>>16&255)|0)>>>0)/255|0;break}case 32:{f=((e&255)+(d&255)|0)>>>0>255?255:(e&255)+(d&255)|0;g=((e>>>8&255)+(d>>>8&255)|0)>>>0>255?255:(e>>>8&255)+(d>>>8&255)|0;d=((e>>>16&255)+(d>>>16&255)|0)>>>0>255?255:(e>>>16&255)+(d>>>16&255)|0;break}default:{f=e&255;g=e>>>8&255;d=e>>>16&255}}k[b>>2]=g<<8|d<<16|f|e&-16777216;if(!h)break a;else{h=h+-1|0;b=b+4|0;c=c+4|0}}}while(0);c=j+(k[a+12>>2]|0)|0;b=l+(k[a+32>>2]|0)|0;l=k[a+28>>2]|0;k[a+28>>2]=l+-1;if(!l)break;else{j=c;l=b}}k[a>>2]=c;k[a+20>>2]=b;return}function Hab(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0;n=k[a+52>>2]|0;o=k[a+28>>2]|0;q=(k[a+8>>2]<<16|0)/(o|0)|0;b=k[a+24>>2]|0;p=(k[a+4>>2]<<16|0)/(b|0)|0;k[a+28>>2]=o+-1;if(!o)return;e=k[a+20>>2]|0;o=e;c=0;d=0;while(1){if((c|0)>65535){l=c+-65536|0;m=l-(l>>>16<<16)|0;d=d+1+(l>>>16)|0}else m=c;c=b+-1|0;a:do if(b|0){if((n&112|0)==16){g=e;b=65536;e=0;f=-1;while(1){if((b|0)>65535){b=b+-65536|0;f=f+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(k[a>>2]|0)+(ha(k[a+12>>2]|0,d)|0)+(f<<2)|0}k[g>>2]=k[e>>2]|-16777216;if(!c)break a;else{c=c+-1|0;g=g+4|0;b=b+p|0}}}else{l=e;b=65536;e=0;f=-1}while(1){if((b|0)>65535){b=b+-65536|0;f=f+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(k[a>>2]|0)+(ha(k[a+12>>2]|0,d)|0)+(f<<2)|0}g=k[e>>2]|0;h=k[l>>2]|0;switch(n&112|0){case 64:{i=((ha(h&255,g&255)|0)>>>0)/255|0;j=((ha(h>>>8&255,g>>>8&255)|0)>>>0)/255|0;g=((ha(h>>>16&255,g>>>16&255)|0)>>>0)/255|0;break}case 32:{i=((h&255)+(g&255)|0)>>>0>255?255:(h&255)+(g&255)|0;j=((h>>>8&255)+(g>>>8&255)|0)>>>0>255?255:(h>>>8&255)+(g>>>8&255)|0;g=((h>>>16&255)+(g>>>16&255)|0)>>>0>255?255:(h>>>16&255)+(g>>>16&255)|0;break}default:{i=h&255;j=h>>>8&255;g=h>>>16&255}}k[l>>2]=j<<8|g<<16|i|h&-16777216;if(!c)break a;else{c=c+-1|0;l=l+4|0;b=b+p|0}}}while(0);b=o+(k[a+32>>2]|0)|0;o=k[a+28>>2]|0;k[a+28>>2]=o+-1;if(!o)break;o=b;e=b;b=k[a+24>>2]|0;c=m+q|0}k[a+20>>2]=b;return}function Iab(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=k[a+52>>2]|0;i=k[a+60>>2]|0;c=k[a+28>>2]|0;k[a+28>>2]=c+-1;if(!c)return;j=(b&2|0)==0?-16777216:i&-16777216;f=k[a>>2]|0;d=k[a+20>>2]|0;if(!(b&1)){g=f;h=d;e=c+-1|0;b=d;c=f;while(1){d=k[a+24>>2]|0;if(!d)d=e;else{while(1){d=d+-1|0;i=k[c>>2]|0;k[b>>2]=i&16711680|j|i&65280|i&255;if(!d)break;else{b=b+4|0;c=c+4|0}}d=k[a+28>>2]|0}c=g+(k[a+12>>2]|0)|0;b=h+(k[a+32>>2]|0)|0;e=d+-1|0;k[a+28>>2]=e;if(!d)break;else{g=c;h=b}}k[a>>2]=c;k[a+20>>2]=b;return}else{g=f;h=d;e=c+-1|0;b=d;c=f;while(1){d=k[a+24>>2]|0;if(!d)d=e;else{while(1){d=d+-1|0;f=k[c>>2]|0;f=(((ha(f>>>16&255,i&255)|0)>>>0)/255|0)<<16|j|(((ha(f>>>8&255,i>>>8&255)|0)>>>0)/255|0)<<8|(((ha(f&255,i>>>16&255)|0)>>>0)/255|0);k[b>>2]=f;if(!d)break;else{b=b+4|0;c=c+4|0}}d=k[a+28>>2]|0}c=g+(k[a+12>>2]|0)|0;b=h+(k[a+32>>2]|0)|0;e=d+-1|0;k[a+28>>2]=e;if(!d)break;else{g=c;h=b}}k[a>>2]=c;k[a+20>>2]=b;return}}function Jab(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0;i=k[a+52>>2]|0;n=k[a+60>>2]|0;o=k[a+28>>2]|0;l=(k[a+8>>2]<<16|0)/(o|0)|0;b=k[a+24>>2]|0;m=(k[a+4>>2]<<16|0)/(b|0)|0;k[a+28>>2]=o+-1;if(!o)return;o=(i&2|0)==0?-16777216:n&-16777216;e=k[a+20>>2]|0;j=e;c=0;d=0;while(1){if((c|0)>65535){g=c+-65536|0;h=g-(g>>>16<<16)|0;d=d+1+(g>>>16)|0}else h=c;c=b+-1|0;if(b|0)if(!(i&1)){g=e;b=65536;e=0;f=-1;while(1){if((b|0)>65535){b=b+-65536|0;f=f+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(k[a>>2]|0)+(ha(k[a+12>>2]|0,d)|0)+(f<<2)|0}p=k[e>>2]|0;k[g>>2]=p&65280|o|p&255|p&16711680;if(!c)break;else{c=c+-1|0;g=g+4|0;b=b+m|0}}}else{g=e;b=65536;e=0;f=-1;while(1){if((b|0)>65535){b=b+-65536|0;f=f+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(k[a>>2]|0)+(ha(k[a+12>>2]|0,d)|0)+(f<<2)|0}p=k[e>>2]|0;p=(((ha(p>>>8&255,n>>>8&255)|0)>>>0)/255|0)<<8|o|(((ha(p&255,n>>>16&255)|0)>>>0)/255|0)|(((ha(p>>>16&255,n&255)|0)>>>0)/255|0)<<16;k[g>>2]=p;if(!c)break;else{c=c+-1|0;g=g+4|0;b=b+m|0}}}b=j+(k[a+32>>2]|0)|0;p=k[a+28>>2]|0;k[a+28>>2]=p+-1;if(!p)break;j=b;e=b;b=k[a+24>>2]|0;c=h+l|0}k[a+20>>2]=b;return}function Kab(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0;m=k[a+52>>2]|0;n=k[a+60>>2]|0;b=k[a+28>>2]|0;k[a+28>>2]=b+-1;if(!b)return;l=(m&2|0)==0?255:n>>>24;c=k[a>>2]|0;j=k[a+20>>2]|0;o=c;p=j;e=b+-1|0;b=j;while(1){d=k[a+24>>2]|0;if(!d)d=e;else{while(1){d=d+-1|0;e=k[c>>2]|0;j=k[b>>2]|0;if(!(m&1)){f=e&255;g=e>>>8&255;e=e>>>16&255}else{f=((ha(e&255,n>>>16&255)|0)>>>0)/255|0;g=((ha(e>>>8&255,n>>>8&255)|0)>>>0)/255|0;e=((ha(e>>>16&255,n&255)|0)>>>0)/255|0}if((m&48|0)!=0&(l|0)!=255){f=((ha(f,l)|0)>>>0)/255|0;g=((ha(g,l)|0)>>>0)/255|0;e=((ha(e,l)|0)>>>0)/255|0}switch(m&112|0){case 16:{i=(((ha(j>>>24,l^255)|0)>>>0)/255|0)+l|0;h=f+(((ha(j&255,l^255)|0)>>>0)/255|0)|0;f=g+(((ha(j>>>8&255,l^255)|0)>>>0)/255|0)|0;e=e+(((ha(j>>>16&255,l^255)|0)>>>0)/255|0)|0;break}case 32:{e=e+(j>>>16&255)|0;g=g+(j>>>8&255)|0;h=f+(j&255)|0;i=j>>>24;h=h>>>0>255?255:h;f=g>>>0>255?255:g;e=e>>>0>255?255:e;break}case 64:{i=j>>>24;h=((ha(f,j&255)|0)>>>0)/255|0;f=((ha(g,j>>>8&255)|0)>>>0)/255|0;e=((ha(e,j>>>16&255)|0)>>>0)/255|0;break}default:{i=j>>>24;h=j&255;f=j>>>8&255;e=j>>>16&255}}k[b>>2]=f<<8|e<<16|h|i<<24;if(!d)break;else{b=b+4|0;c=c+4|0}}d=k[a+28>>2]|0}c=o+(k[a+12>>2]|0)|0;b=p+(k[a+32>>2]|0)|0;e=d+-1|0;k[a+28>>2]=e;if(!d)break;else{o=c;p=b}}k[a>>2]=c;k[a+20>>2]=b;return}function Lab(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;q=k[a+52>>2]|0;u=k[a+60>>2]|0;b=k[a+28>>2]|0;s=(k[a+8>>2]<<16|0)/(b|0)|0;c=k[a+24>>2]|0;t=(k[a+4>>2]<<16|0)/(c|0)|0;k[a+28>>2]=b+-1;if(!b)return;p=(q&2|0)==0?255:u>>>24;f=k[a+20>>2]|0;r=f;b=b+-1|0;d=0;e=0;while(1){if((d|0)>65535){n=d+-65536|0;o=n-(n>>>16<<16)|0;e=e+1+(n>>>16)|0}else o=d;if(!c)c=b;else{b=65536;d=0;g=-1;while(1){c=c+-1|0;if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;d=(k[a>>2]|0)+(ha(k[a+12>>2]|0,e)|0)+(g<<2)|0}h=k[d>>2]|0;n=k[f>>2]|0;if(!(q&1)){i=h&255;j=h>>>8&255;h=h>>>16&255}else{i=((ha(h&255,u>>>16&255)|0)>>>0)/255|0;j=((ha(h>>>8&255,u>>>8&255)|0)>>>0)/255|0;h=((ha(h>>>16&255,u&255)|0)>>>0)/255|0}if((q&48|0)!=0&(p|0)!=255){i=((ha(i,p)|0)>>>0)/255|0;j=((ha(j,p)|0)>>>0)/255|0;h=((ha(h,p)|0)>>>0)/255|0}switch(q&112|0){case 16:{m=(((ha(n>>>24,p^255)|0)>>>0)/255|0)+p|0;l=i+(((ha(n&255,p^255)|0)>>>0)/255|0)|0;i=j+(((ha(n>>>8&255,p^255)|0)>>>0)/255|0)|0;h=h+(((ha(n>>>16&255,p^255)|0)>>>0)/255|0)|0;break}case 32:{h=h+(n>>>16&255)|0;j=j+(n>>>8&255)|0;l=i+(n&255)|0;m=n>>>24;l=l>>>0>255?255:l;i=j>>>0>255?255:j;h=h>>>0>255?255:h;break}case 64:{m=n>>>24;l=((ha(i,n&255)|0)>>>0)/255|0;i=((ha(j,n>>>8&255)|0)>>>0)/255|0;h=((ha(h,n>>>16&255)|0)>>>0)/255|0;break}default:{m=n>>>24;l=n&255;i=n>>>8&255;h=n>>>16&255}}k[f>>2]=i<<8|h<<16|l|m<<24;if(!c)break;else{f=f+4|0;b=b+t|0}}c=k[a+28>>2]|0}d=r+(k[a+32>>2]|0)|0;b=c+-1|0;k[a+28>>2]=b;if(!c)break;r=d;f=d;c=k[a+24>>2]|0;d=o+s|0}k[a+20>>2]=d;return}function Mab(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0;c=k[a+28>>2]|0;l=(k[a+8>>2]<<16|0)/(c|0)|0;b=k[a+24>>2]|0;j=(k[a+4>>2]<<16|0)/(b|0)|0;k[a+28>>2]=c+-1;if(!c)return;f=k[a+20>>2]|0;i=f;c=c+-1|0;d=0;e=0;while(1){if((d|0)>65535){h=d+-65536|0;d=h-(h>>>16<<16)|0;e=e+1+(h>>>16)|0}if(!b)b=c;else{c=65536;g=0;h=-1;while(1){b=b+-1|0;if((c|0)>65535){c=c+-65536|0;h=h+1+(c>>>16)|0;c=c-(c>>>16<<16)|0;g=(k[a>>2]|0)+(ha(k[a+12>>2]|0,e)|0)+(h<<2)|0}m=k[g>>2]|0;k[f>>2]=m<<16&16711680|m&65280|m>>>16&255;if(!b)break;else{f=f+4|0;c=c+j|0}}b=k[a+28>>2]|0}f=i+(k[a+32>>2]|0)|0;c=b+-1|0;k[a+28>>2]=c;if(!b)break;b=k[a+24>>2]|0;i=f;d=d+l|0}k[a+20>>2]=f;return}function Nab(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0;i=k[a+52>>2]|0;l=k[a+28>>2]|0;k[a+28>>2]=l+-1;if(!l)return;c=k[a>>2]|0;b=k[a+20>>2]|0;j=c;l=b;while(1){d=k[a+24>>2]|0;if(d|0)switch(i&112|0){case 16:{d=d+-1|0;while(1){h=k[c>>2]|0;k[b>>2]=h&65280|h<<16&16711680|h>>>16&255;if(!d)break;else{d=d+-1|0;b=b+4|0;c=c+4|0}}break}case 32:{d=d+-1|0;while(1){g=k[c>>2]|0;h=k[b>>2]|0;k[b>>2]=(((h>>>8&255)+(g>>>8&255)|0)>>>0>255?255:(h>>>8&255)+(g>>>8&255)|0)<<8|(((h>>>16&255)+(g&255)|0)>>>0>255?255:(h>>>16&255)+(g&255)|0)<<16|(((g>>>16&255)+(h&255)|0)>>>0>255?255:(g>>>16&255)+(h&255)|0);if(!d)break;else{d=d+-1|0;b=b+4|0;c=c+4|0}}break}default:{h=d+-1|0;while(1){d=k[c>>2]|0;e=k[b>>2]|0;if((i&112|0)==64){f=((ha(d>>>16&255,e&255)|0)>>>0)/255|0;g=((ha(e>>>8&255,d>>>8&255)|0)>>>0)/255|0;d=((ha(e>>>16&255,d&255)|0)>>>0)/255|0}else{f=e&255;g=e>>>8&255;d=e>>>16&255}k[b>>2]=g<<8|d<<16|f;if(!h)break;else{h=h+-1|0;b=b+4|0;c=c+4|0}}}}c=j+(k[a+12>>2]|0)|0;b=l+(k[a+32>>2]|0)|0;l=k[a+28>>2]|0;k[a+28>>2]=l+-1;if(!l)break;else{j=c;l=b}}k[a>>2]=c;k[a+20>>2]=b;return}function Oab(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0;n=k[a+52>>2]|0;o=k[a+28>>2]|0;q=(k[a+8>>2]<<16|0)/(o|0)|0;b=k[a+24>>2]|0;p=(k[a+4>>2]<<16|0)/(b|0)|0;k[a+28>>2]=o+-1;if(!o)return;e=k[a+20>>2]|0;o=e;c=0;d=0;while(1){if((c|0)>65535){l=c+-65536|0;m=l-(l>>>16<<16)|0;d=d+1+(l>>>16)|0}else m=c;c=b+-1|0;a:do if(b|0){if((n&112|0)==16){g=e;b=65536;e=0;f=-1;while(1){if((b|0)>65535){b=b+-65536|0;f=f+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(k[a>>2]|0)+(ha(k[a+12>>2]|0,d)|0)+(f<<2)|0}l=k[e>>2]|0;k[g>>2]=l&65280|l<<16&16711680|l>>>16&255;if(!c)break a;else{c=c+-1|0;g=g+4|0;b=b+p|0}}}else{l=e;b=65536;e=0;f=-1}while(1){if((b|0)>65535){b=b+-65536|0;f=f+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(k[a>>2]|0)+(ha(k[a+12>>2]|0,d)|0)+(f<<2)|0}g=k[e>>2]|0;h=k[l>>2]|0;switch(n&112|0){case 64:{i=((ha(g>>>16&255,h&255)|0)>>>0)/255|0;j=((ha(h>>>8&255,g>>>8&255)|0)>>>0)/255|0;g=((ha(h>>>16&255,g&255)|0)>>>0)/255|0;break}case 32:{i=((g>>>16&255)+(h&255)|0)>>>0>255?255:(g>>>16&255)+(h&255)|0;j=((h>>>8&255)+(g>>>8&255)|0)>>>0>255?255:(h>>>8&255)+(g>>>8&255)|0;g=((h>>>16&255)+(g&255)|0)>>>0>255?255:(h>>>16&255)+(g&255)|0;break}default:{i=h&255;j=h>>>8&255;g=h>>>16&255}}k[l>>2]=j<<8|g<<16|i;if(!c)break a;else{c=c+-1|0;l=l+4|0;b=b+p|0}}}while(0);b=o+(k[a+32>>2]|0)|0;o=k[a+28>>2]|0;k[a+28>>2]=o+-1;if(!o)break;o=b;e=b;b=k[a+24>>2]|0;c=m+q|0}k[a+20>>2]=b;return}function Pab(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=k[a+52>>2]|0;i=k[a+60>>2]|0;c=k[a+28>>2]|0;k[a+28>>2]=c+-1;if(!c)return;f=k[a>>2]|0;d=k[a+20>>2]|0;if(!(b&1)){g=f;h=d;e=c+-1|0;b=d;c=f;while(1){d=k[a+24>>2]|0;if(!d)d=e;else{while(1){d=d+-1|0;i=k[c>>2]|0;k[b>>2]=i&65280|i<<16&16711680|i>>>16&255;if(!d)break;else{b=b+4|0;c=c+4|0}}d=k[a+28>>2]|0}c=g+(k[a+12>>2]|0)|0;b=h+(k[a+32>>2]|0)|0;e=d+-1|0;k[a+28>>2]=e;if(!d)break;else{g=c;h=b}}k[a>>2]=c;k[a+20>>2]=b;return}else{g=f;h=d;e=c+-1|0;b=d;c=f;while(1){d=k[a+24>>2]|0;if(!d)d=e;else{while(1){d=d+-1|0;f=k[c>>2]|0;f=(((ha(f>>>8&255,i>>>8&255)|0)>>>0)/255|0)<<8|(((ha(f&255,i&255)|0)>>>0)/255|0)<<16|(((ha(f>>>16&255,i>>>16&255)|0)>>>0)/255|0);k[b>>2]=f;if(!d)break;else{b=b+4|0;c=c+4|0}}d=k[a+28>>2]|0}c=g+(k[a+12>>2]|0)|0;b=h+(k[a+32>>2]|0)|0;e=d+-1|0;k[a+28>>2]=e;if(!d)break;else{g=c;h=b}}k[a>>2]=c;k[a+20>>2]=b;return}}function Qab(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0;i=k[a+52>>2]|0;n=k[a+60>>2]|0;j=k[a+28>>2]|0;l=(k[a+8>>2]<<16|0)/(j|0)|0;b=k[a+24>>2]|0;m=(k[a+4>>2]<<16|0)/(b|0)|0;k[a+28>>2]=j+-1;if(!j)return;e=k[a+20>>2]|0;j=e;c=0;d=0;while(1){if((c|0)>65535){g=c+-65536|0;h=g-(g>>>16<<16)|0;d=d+1+(g>>>16)|0}else h=c;c=b+-1|0;if(b|0)if(!(i&1)){g=e;b=65536;e=0;f=-1;while(1){if((b|0)>65535){b=b+-65536|0;f=f+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(k[a>>2]|0)+(ha(k[a+12>>2]|0,d)|0)+(f<<2)|0}o=k[e>>2]|0;k[g>>2]=o>>>16&255|o&65280|o<<16&16711680;if(!c)break;else{c=c+-1|0;g=g+4|0;b=b+m|0}}}else{g=e;b=65536;e=0;f=-1;while(1){if((b|0)>65535){b=b+-65536|0;f=f+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(k[a>>2]|0)+(ha(k[a+12>>2]|0,d)|0)+(f<<2)|0}o=k[e>>2]|0;o=((ha(o>>>16&255,n>>>16&255)|0)>>>0)/255|0|(((ha(o>>>8&255,n>>>8&255)|0)>>>0)/255|0)<<8|(((ha(o&255,n&255)|0)>>>0)/255|0)<<16;k[g>>2]=o;if(!c)break;else{c=c+-1|0;g=g+4|0;b=b+m|0}}}b=j+(k[a+32>>2]|0)|0;o=k[a+28>>2]|0;k[a+28>>2]=o+-1;if(!o)break;j=b;e=b;b=k[a+24>>2]|0;c=h+l|0}k[a+20>>2]=b;return}function Rab(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0;l=k[a+52>>2]|0;o=k[a+60>>2]|0;n=k[a+28>>2]|0;k[a+28>>2]=n+-1;if(!n)return;j=(l&2|0)==0?255:o>>>24;c=k[a>>2]|0;b=k[a+20>>2]|0;m=c;n=b;while(1){d=k[a+24>>2]|0;a:do if(d|0)if(!(l&1)){i=d+-1|0;while(1){d=k[c>>2]|0;h=k[b>>2]|0;if((l&48|0)!=0&(j|0)!=255){e=((ha(d>>>16&255,j)|0)>>>0)/255|0;g=((ha(d>>>8&255,j)|0)>>>0)/255|0;d=((ha(d&255,j)|0)>>>0)/255|0}else{e=d>>>16&255;g=d>>>8&255;d=d&255}switch(l&112|0){case 16:{f=e+(((ha(h&255,j^255)|0)>>>0)/255|0)|0;e=g+(((ha(h>>>8&255,j^255)|0)>>>0)/255|0)|0;d=d+(((ha(h>>>16&255,j^255)|0)>>>0)/255|0)|0;break}case 32:{d=d+(h>>>16&255)|0;g=g+(h>>>8&255)|0;f=e+(h&255)|0;f=f>>>0>255?255:f;e=g>>>0>255?255:g;d=d>>>0>255?255:d;break}case 64:{f=((ha(e,h&255)|0)>>>0)/255|0;e=((ha(g,h>>>8&255)|0)>>>0)/255|0;d=((ha(d,h>>>16&255)|0)>>>0)/255|0;break}default:{f=h&255;e=h>>>8&255;d=h>>>16&255}}k[b>>2]=e<<8|d<<16|f;if(!i)break a;else{i=i+-1|0;b=b+4|0;c=c+4|0}}}else{i=d+-1|0;while(1){d=k[c>>2]|0;h=k[b>>2]|0;f=((ha(d&255,o&255)|0)>>>0)/255|0;e=((ha(d>>>8&255,o>>>8&255)|0)>>>0)/255|0;d=((ha(d>>>16&255,o>>>16&255)|0)>>>0)/255|0;if((l&48|0)!=0&(j|0)!=255){d=((ha(d,j)|0)>>>0)/255|0;e=((ha(e,j)|0)>>>0)/255|0;f=((ha(f,j)|0)>>>0)/255|0}switch(l&112|0){case 16:{g=d+(((ha(h&255,j^255)|0)>>>0)/255|0)|0;e=e+(((ha(h>>>8&255,j^255)|0)>>>0)/255|0)|0;d=f+(((ha(h>>>16&255,j^255)|0)>>>0)/255|0)|0;break}case 32:{f=f+(h>>>16&255)|0;e=e+(h>>>8&255)|0;g=d+(h&255)|0;g=g>>>0>255?255:g;e=e>>>0>255?255:e;d=f>>>0>255?255:f;break}case 64:{g=((ha(d,h&255)|0)>>>0)/255|0;e=((ha(e,h>>>8&255)|0)>>>0)/255|0;d=((ha(f,h>>>16&255)|0)>>>0)/255|0;break}default:{g=h&255;e=h>>>8&255;d=h>>>16&255}}k[b>>2]=e<<8|d<<16|g;if(!i)break a;else{i=i+-1|0;b=b+4|0;c=c+4|0}}}while(0);c=m+(k[a+12>>2]|0)|0;b=n+(k[a+32>>2]|0)|0;n=k[a+28>>2]|0;k[a+28>>2]=n+-1;if(!n)break;else{m=c;n=b}}k[a>>2]=c;k[a+20>>2]=b;return}function Sab(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;p=k[a+52>>2]|0;t=k[a+60>>2]|0;b=k[a+28>>2]|0;r=(k[a+8>>2]<<16|0)/(b|0)|0;c=k[a+24>>2]|0;s=(k[a+4>>2]<<16|0)/(c|0)|0;k[a+28>>2]=b+-1;if(!b)return;o=(p&2|0)==0?255:t>>>24;f=k[a+20>>2]|0;q=f;b=b+-1|0;d=0;e=0;while(1){if((d|0)>65535){m=d+-65536|0;n=m-(m>>>16<<16)|0;e=e+1+(m>>>16)|0}else n=d;if(!c)c=b;else{b=65536;d=0;g=-1;while(1){c=c+-1|0;if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;d=(k[a>>2]|0)+(ha(k[a+12>>2]|0,e)|0)+(g<<2)|0}h=k[d>>2]|0;m=k[f>>2]|0;if(!(p&1)){i=h>>>16&255;j=h>>>8&255;l=h&255}else{i=((ha(h>>>16&255,t>>>16&255)|0)>>>0)/255|0;j=((ha(h>>>8&255,t>>>8&255)|0)>>>0)/255|0;l=((ha(h&255,t&255)|0)>>>0)/255|0}if((p&48|0)!=0&(o|0)!=255){i=((ha(i,o)|0)>>>0)/255|0;h=((ha(j,o)|0)>>>0)/255|0;l=((ha(l,o)|0)>>>0)/255|0}else h=j;switch(p&112|0){case 16:{j=i+(((ha(m&255,o^255)|0)>>>0)/255|0)|0;i=h+(((ha(m>>>8&255,o^255)|0)>>>0)/255|0)|0;h=l+(((ha(m>>>16&255,o^255)|0)>>>0)/255|0)|0;break}case 32:{l=l+(m>>>16&255)|0;h=h+(m>>>8&255)|0;j=i+(m&255)|0;j=j>>>0>255?255:j;i=h>>>0>255?255:h;h=l>>>0>255?255:l;break}case 64:{j=((ha(i,m&255)|0)>>>0)/255|0;i=((ha(h,m>>>8&255)|0)>>>0)/255|0;h=((ha(l,m>>>16&255)|0)>>>0)/255|0;break}default:{j=m&255;i=m>>>8&255;h=m>>>16&255}}k[f>>2]=i<<8|h<<16|j;if(!c)break;else{f=f+4|0;b=b+s|0}}c=k[a+28>>2]|0}d=q+(k[a+32>>2]|0)|0;b=c+-1|0;k[a+28>>2]=b;if(!c)break;q=d;f=d;c=k[a+24>>2]|0;d=n+r|0}k[a+20>>2]=d;return}function Tab(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0;c=k[a+28>>2]|0;l=(k[a+8>>2]<<16|0)/(c|0)|0;b=k[a+24>>2]|0;j=(k[a+4>>2]<<16|0)/(b|0)|0;k[a+28>>2]=c+-1;if(!c)return;f=k[a+20>>2]|0;i=f;c=c+-1|0;d=0;e=0;while(1){if((d|0)>65535){h=d+-65536|0;d=h-(h>>>16<<16)|0;e=e+1+(h>>>16)|0}if(!b)b=c;else{c=65536;g=0;h=-1;while(1){b=b+-1|0;if((c|0)>65535){c=c+-65536|0;h=h+1+(c>>>16)|0;c=c-(c>>>16<<16)|0;g=(k[a>>2]|0)+(ha(k[a+12>>2]|0,e)|0)+(h<<2)|0}k[f>>2]=k[g>>2];if(!b)break;else{f=f+4|0;c=c+j|0}}b=k[a+28>>2]|0}f=i+(k[a+32>>2]|0)|0;c=b+-1|0;k[a+28>>2]=c;if(!b)break;b=k[a+24>>2]|0;i=f;d=d+l|0}k[a+20>>2]=f;return}function Uab(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0;i=k[a+52>>2]|0;l=k[a+28>>2]|0;k[a+28>>2]=l+-1;if(!l)return;c=k[a>>2]|0;b=k[a+20>>2]|0;j=c;l=b;while(1){d=k[a+24>>2]|0;if(d|0)switch(i&112|0){case 16:{d=d+-1|0;while(1){k[b>>2]=k[c>>2]&16777215;if(!d)break;else{d=d+-1|0;b=b+4|0;c=c+4|0}}break}case 32:{d=d+-1|0;while(1){h=k[c>>2]|0;g=k[b>>2]|0;k[b>>2]=(((g>>>8&255)+(h>>>8&255)|0)>>>0>255?255:(g>>>8&255)+(h>>>8&255)|0)<<8|(((g&255)+(h&255)|0)>>>0>255?255:(g&255)+(h&255)|0)|(((g>>>16&255)+(h>>>16&255)|0)>>>0>255?255:(g>>>16&255)+(h>>>16&255)|0)<<16;if(!d)break;else{d=d+-1|0;b=b+4|0;c=c+4|0}}break}default:{h=d+-1|0;while(1){d=k[c>>2]|0;e=k[b>>2]|0;if((i&112|0)==64){f=((ha(e>>>16&255,d>>>16&255)|0)>>>0)/255|0;g=((ha(e>>>8&255,d>>>8&255)|0)>>>0)/255|0;d=((ha(e&255,d&255)|0)>>>0)/255|0}else{f=e>>>16&255;g=e>>>8&255;d=e&255}k[b>>2]=g<<8|d|f<<16;if(!h)break;else{h=h+-1|0;b=b+4|0;c=c+4|0}}}}c=j+(k[a+12>>2]|0)|0;b=l+(k[a+32>>2]|0)|0;l=k[a+28>>2]|0;k[a+28>>2]=l+-1;if(!l)break;else{j=c;l=b}}k[a>>2]=c;k[a+20>>2]=b;return}function Vab(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0;o=k[a+52>>2]|0;n=k[a+28>>2]|0;q=(k[a+8>>2]<<16|0)/(n|0)|0;b=k[a+24>>2]|0;p=(k[a+4>>2]<<16|0)/(b|0)|0;k[a+28>>2]=n+-1;if(!n)return;m=k[a+20>>2]|0;g=m;c=0;d=0;while(1){if((c|0)>65535){l=c+-65536|0;n=l-(l>>>16<<16)|0;d=d+1+(l>>>16)|0}else n=c;c=b+-1|0;a:do if(b|0){if((o&112|0)==16){b=65536;e=0;f=-1;while(1){if((b|0)>65535){b=b+-65536|0;f=f+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(k[a>>2]|0)+(ha(k[a+12>>2]|0,d)|0)+(f<<2)|0}k[g>>2]=k[e>>2]&16777215;if(!c)break a;else{c=c+-1|0;g=g+4|0;b=b+p|0}}}else{b=65536;e=0;f=-1}while(1){if((b|0)>65535){b=b+-65536|0;f=f+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(k[a>>2]|0)+(ha(k[a+12>>2]|0,d)|0)+(f<<2)|0}h=k[e>>2]|0;i=k[g>>2]|0;switch(o&112|0){case 64:{j=((ha(i>>>16&255,h>>>16&255)|0)>>>0)/255|0;l=((ha(i>>>8&255,h>>>8&255)|0)>>>0)/255|0;h=((ha(i&255,h&255)|0)>>>0)/255|0;break}case 32:{j=((i>>>16&255)+(h>>>16&255)|0)>>>0>255?255:(i>>>16&255)+(h>>>16&255)|0;l=((i>>>8&255)+(h>>>8&255)|0)>>>0>255?255:(i>>>8&255)+(h>>>8&255)|0;h=((i&255)+(h&255)|0)>>>0>255?255:(i&255)+(h&255)|0;break}default:{j=i>>>16&255;l=i>>>8&255;h=i&255}}k[g>>2]=l<<8|h|j<<16;if(!c)break a;else{c=c+-1|0;g=g+4|0;b=b+p|0}}}while(0);c=m+(k[a+32>>2]|0)|0;m=k[a+28>>2]|0;k[a+28>>2]=m+-1;if(!m)break;g=c;b=k[a+24>>2]|0;m=c;c=n+q|0}k[a+20>>2]=c;return}function Wab(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=k[a+52>>2]|0;i=k[a+60>>2]|0;c=k[a+28>>2]|0;k[a+28>>2]=c+-1;if(!c)return;f=k[a>>2]|0;d=k[a+20>>2]|0;if(!(b&1)){g=f;h=d;e=c+-1|0;b=d;c=f;while(1){d=k[a+24>>2]|0;if(!d)d=e;else{while(1){d=d+-1|0;k[b>>2]=k[c>>2]&16777215;if(!d)break;else{b=b+4|0;c=c+4|0}}d=k[a+28>>2]|0}c=g+(k[a+12>>2]|0)|0;b=h+(k[a+32>>2]|0)|0;e=d+-1|0;k[a+28>>2]=e;if(!d)break;else{g=c;h=b}}k[a>>2]=c;k[a+20>>2]=b;return}else{g=f;h=d;e=c+-1|0;b=d;c=f;while(1){d=k[a+24>>2]|0;if(!d)d=e;else{while(1){d=d+-1|0;f=k[c>>2]|0;f=(((ha(f>>>8&255,i>>>8&255)|0)>>>0)/255|0)<<8|(((ha(f&255,i&255)|0)>>>0)/255|0)|(((ha(f>>>16&255,i>>>16&255)|0)>>>0)/255|0)<<16;k[b>>2]=f;if(!d)break;else{b=b+4|0;c=c+4|0}}d=k[a+28>>2]|0}c=g+(k[a+12>>2]|0)|0;b=h+(k[a+32>>2]|0)|0;e=d+-1|0;k[a+28>>2]=e;if(!d)break;else{g=c;h=b}}k[a>>2]=c;k[a+20>>2]=b;return}}function Xab(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0;j=k[a+52>>2]|0;n=k[a+60>>2]|0;i=k[a+28>>2]|0;l=(k[a+8>>2]<<16|0)/(i|0)|0;b=k[a+24>>2]|0;m=(k[a+4>>2]<<16|0)/(b|0)|0;k[a+28>>2]=i+-1;if(!i)return;e=k[a+20>>2]|0;i=e;c=0;d=0;while(1){if((c|0)>65535){g=c+-65536|0;h=g-(g>>>16<<16)|0;d=d+1+(g>>>16)|0}else h=c;c=b+-1|0;if(b|0)if(!(j&1)){b=65536;f=0;g=-1;while(1){if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;f=(k[a>>2]|0)+(ha(k[a+12>>2]|0,d)|0)+(g<<2)|0}k[e>>2]=k[f>>2]&16777215;if(!c)break;else{c=c+-1|0;e=e+4|0;b=b+m|0}}}else{b=65536;f=0;g=-1;while(1){if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;f=(k[a>>2]|0)+(ha(k[a+12>>2]|0,d)|0)+(g<<2)|0}o=k[f>>2]|0;o=(((ha(o>>>16&255,n>>>16&255)|0)>>>0)/255|0)<<16|(((ha(o>>>8&255,n>>>8&255)|0)>>>0)/255|0)<<8|(((ha(o&255,n&255)|0)>>>0)/255|0);k[e>>2]=o;if(!c)break;else{c=c+-1|0;e=e+4|0;b=b+m|0}}}c=i+(k[a+32>>2]|0)|0;o=k[a+28>>2]|0;k[a+28>>2]=o+-1;if(!o)break;b=k[a+24>>2]|0;i=c;e=c;c=h+l|0}k[a+20>>2]=c;return}function Yab(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0;l=k[a+52>>2]|0;o=k[a+60>>2]|0;n=k[a+28>>2]|0;k[a+28>>2]=n+-1;if(!n)return;j=(l&2|0)==0?255:o>>>24;c=k[a>>2]|0;b=k[a+20>>2]|0;m=c;n=b;while(1){d=k[a+24>>2]|0;a:do if(d|0)if(!(l&1)){i=d+-1|0;while(1){d=k[c>>2]|0;h=k[b>>2]|0;if((l&48|0)!=0&(j|0)!=255){e=((ha(d>>>16&255,j)|0)>>>0)/255|0;g=((ha(d>>>8&255,j)|0)>>>0)/255|0;d=((ha(d&255,j)|0)>>>0)/255|0}else{e=d>>>16&255;g=d>>>8&255;d=d&255}switch(l&112|0){case 16:{f=e+(((ha(h>>>16&255,j^255)|0)>>>0)/255|0)|0;e=g+(((ha(h>>>8&255,j^255)|0)>>>0)/255|0)|0;d=d+(((ha(h&255,j^255)|0)>>>0)/255|0)|0;break}case 32:{d=d+(h&255)|0;g=g+(h>>>8&255)|0;f=e+(h>>>16&255)|0;f=f>>>0>255?255:f;e=g>>>0>255?255:g;d=d>>>0>255?255:d;break}case 64:{f=((ha(e,h>>>16&255)|0)>>>0)/255|0;e=((ha(g,h>>>8&255)|0)>>>0)/255|0;d=((ha(d,h&255)|0)>>>0)/255|0;break}default:{f=h>>>16&255;e=h>>>8&255;d=h&255}}k[b>>2]=e<<8|d|f<<16;if(!i)break a;else{i=i+-1|0;b=b+4|0;c=c+4|0}}}else{i=d+-1|0;while(1){d=k[c>>2]|0;h=k[b>>2]|0;f=((ha(d&255,o&255)|0)>>>0)/255|0;e=((ha(d>>>8&255,o>>>8&255)|0)>>>0)/255|0;d=((ha(d>>>16&255,o>>>16&255)|0)>>>0)/255|0;if((l&48|0)!=0&(j|0)!=255){d=((ha(d,j)|0)>>>0)/255|0;e=((ha(e,j)|0)>>>0)/255|0;f=((ha(f,j)|0)>>>0)/255|0}switch(l&112|0){case 16:{g=d+(((ha(h>>>16&255,j^255)|0)>>>0)/255|0)|0;e=e+(((ha(h>>>8&255,j^255)|0)>>>0)/255|0)|0;d=f+(((ha(h&255,j^255)|0)>>>0)/255|0)|0;break}case 32:{f=f+(h&255)|0;e=e+(h>>>8&255)|0;g=d+(h>>>16&255)|0;g=g>>>0>255?255:g;e=e>>>0>255?255:e;d=f>>>0>255?255:f;break}case 64:{g=((ha(d,h>>>16&255)|0)>>>0)/255|0;e=((ha(e,h>>>8&255)|0)>>>0)/255|0;d=((ha(f,h&255)|0)>>>0)/255|0;break}default:{g=h>>>16&255;e=h>>>8&255;d=h&255}}k[b>>2]=e<<8|d|g<<16;if(!i)break a;else{i=i+-1|0;b=b+4|0;c=c+4|0}}}while(0);c=m+(k[a+12>>2]|0)|0;b=n+(k[a+32>>2]|0)|0;n=k[a+28>>2]|0;k[a+28>>2]=n+-1;if(!n)break;else{m=c;n=b}}k[a>>2]=c;k[a+20>>2]=b;return}function Zab(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;p=k[a+52>>2]|0;t=k[a+60>>2]|0;b=k[a+28>>2]|0;r=(k[a+8>>2]<<16|0)/(b|0)|0;c=k[a+24>>2]|0;s=(k[a+4>>2]<<16|0)/(c|0)|0;k[a+28>>2]=b+-1;if(!b)return;o=(p&2|0)==0?255:t>>>24;f=k[a+20>>2]|0;q=f;b=b+-1|0;d=0;e=0;while(1){if((d|0)>65535){m=d+-65536|0;n=m-(m>>>16<<16)|0;e=e+1+(m>>>16)|0}else n=d;if(!c)c=b;else{b=65536;d=0;g=-1;while(1){c=c+-1|0;if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;d=(k[a>>2]|0)+(ha(k[a+12>>2]|0,e)|0)+(g<<2)|0}h=k[d>>2]|0;m=k[f>>2]|0;if(!(p&1)){i=h>>>16&255;j=h>>>8&255;l=h&255}else{i=((ha(h>>>16&255,t>>>16&255)|0)>>>0)/255|0;j=((ha(h>>>8&255,t>>>8&255)|0)>>>0)/255|0;l=((ha(h&255,t&255)|0)>>>0)/255|0}if((p&48|0)!=0&(o|0)!=255){i=((ha(i,o)|0)>>>0)/255|0;h=((ha(j,o)|0)>>>0)/255|0;l=((ha(l,o)|0)>>>0)/255|0}else h=j;switch(p&112|0){case 16:{j=i+(((ha(m>>>16&255,o^255)|0)>>>0)/255|0)|0;i=h+(((ha(m>>>8&255,o^255)|0)>>>0)/255|0)|0;h=l+(((ha(m&255,o^255)|0)>>>0)/255|0)|0;break}case 32:{l=l+(m&255)|0;h=h+(m>>>8&255)|0;j=i+(m>>>16&255)|0;j=j>>>0>255?255:j;i=h>>>0>255?255:h;h=l>>>0>255?255:l;break}case 64:{j=((ha(i,m>>>16&255)|0)>>>0)/255|0;i=((ha(h,m>>>8&255)|0)>>>0)/255|0;h=((ha(l,m&255)|0)>>>0)/255|0;break}default:{j=m>>>16&255;i=m>>>8&255;h=m&255}}k[f>>2]=i<<8|h|j<<16;if(!c)break;else{f=f+4|0;b=b+s|0}}c=k[a+28>>2]|0}d=q+(k[a+32>>2]|0)|0;b=c+-1|0;k[a+28>>2]=b;if(!c)break;q=d;f=d;c=k[a+24>>2]|0;d=n+r|0}k[a+20>>2]=d;return}function _ab(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0;c=k[a+28>>2]|0;l=(k[a+8>>2]<<16|0)/(c|0)|0;b=k[a+24>>2]|0;j=(k[a+4>>2]<<16|0)/(b|0)|0;k[a+28>>2]=c+-1;if(!c)return;f=k[a+20>>2]|0;i=f;c=c+-1|0;d=0;e=0;while(1){if((d|0)>65535){h=d+-65536|0;d=h-(h>>>16<<16)|0;e=e+1+(h>>>16)|0}if(!b)b=c;else{c=65536;g=0;h=-1;while(1){b=b+-1|0;if((c|0)>65535){c=c+-65536|0;h=h+1+(c>>>16)|0;c=c-(c>>>16<<16)|0;g=(k[a>>2]|0)+(ha(k[a+12>>2]|0,e)|0)+(h<<2)|0}m=k[g>>2]|0;k[f>>2]=m&65280|m<<16|m>>>16&255|-16777216;if(!b)break;else{f=f+4|0;c=c+j|0}}b=k[a+28>>2]|0}f=i+(k[a+32>>2]|0)|0;c=b+-1|0;k[a+28>>2]=c;if(!b)break;b=k[a+24>>2]|0;i=f;d=d+l|0}k[a+20>>2]=f;return}function $ab(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0;i=k[a+52>>2]|0;l=k[a+28>>2]|0;k[a+28>>2]=l+-1;if(!l)return;c=k[a>>2]|0;b=k[a+20>>2]|0;j=c;l=b;while(1){d=k[a+24>>2]|0;a:do if(d|0){if((i&112|0)==16){d=d+-1|0;while(1){h=k[c>>2]|0;k[b>>2]=h&65280|h<<16|h>>>16&255|-16777216;if(!d)break a;else{d=d+-1|0;b=b+4|0;c=c+4|0}}}else h=d+-1|0;while(1){d=k[c>>2]|0;e=k[b>>2]|0;switch(i&112|0){case 64:{f=((ha(d>>>16&255,e&255)|0)>>>0)/255|0;g=((ha(e>>>8&255,d>>>8&255)|0)>>>0)/255|0;d=((ha(e>>>16&255,d&255)|0)>>>0)/255|0;break}case 32:{f=((d>>>16&255)+(e&255)|0)>>>0>255?255:(d>>>16&255)+(e&255)|0;g=((e>>>8&255)+(d>>>8&255)|0)>>>0>255?255:(e>>>8&255)+(d>>>8&255)|0;d=((e>>>16&255)+(d&255)|0)>>>0>255?255:(e>>>16&255)+(d&255)|0;break}default:{f=e&255;g=e>>>8&255;d=e>>>16&255}}k[b>>2]=g<<8|d<<16|f|e&-16777216;if(!h)break a;else{h=h+-1|0;b=b+4|0;c=c+4|0}}}while(0);c=j+(k[a+12>>2]|0)|0;b=l+(k[a+32>>2]|0)|0;l=k[a+28>>2]|0;k[a+28>>2]=l+-1;if(!l)break;else{j=c;l=b}}k[a>>2]=c;k[a+20>>2]=b;return}function abb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0;n=k[a+52>>2]|0;o=k[a+28>>2]|0;q=(k[a+8>>2]<<16|0)/(o|0)|0;b=k[a+24>>2]|0;p=(k[a+4>>2]<<16|0)/(b|0)|0;k[a+28>>2]=o+-1;if(!o)return;e=k[a+20>>2]|0;o=e;c=0;d=0;while(1){if((c|0)>65535){l=c+-65536|0;m=l-(l>>>16<<16)|0;d=d+1+(l>>>16)|0}else m=c;c=b+-1|0;a:do if(b|0){if((n&112|0)==16){g=e;b=65536;e=0;f=-1;while(1){if((b|0)>65535){b=b+-65536|0;f=f+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(k[a>>2]|0)+(ha(k[a+12>>2]|0,d)|0)+(f<<2)|0}l=k[e>>2]|0;k[g>>2]=l&65280|l<<16|l>>>16&255|-16777216;if(!c)break a;else{c=c+-1|0;g=g+4|0;b=b+p|0}}}else{l=e;b=65536;e=0;f=-1}while(1){if((b|0)>65535){b=b+-65536|0;f=f+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(k[a>>2]|0)+(ha(k[a+12>>2]|0,d)|0)+(f<<2)|0}g=k[e>>2]|0;h=k[l>>2]|0;switch(n&112|0){case 64:{i=((ha(g>>>16&255,h&255)|0)>>>0)/255|0;j=((ha(h>>>8&255,g>>>8&255)|0)>>>0)/255|0;g=((ha(h>>>16&255,g&255)|0)>>>0)/255|0;break}case 32:{i=((g>>>16&255)+(h&255)|0)>>>0>255?255:(g>>>16&255)+(h&255)|0;j=((h>>>8&255)+(g>>>8&255)|0)>>>0>255?255:(h>>>8&255)+(g>>>8&255)|0;g=((h>>>16&255)+(g&255)|0)>>>0>255?255:(h>>>16&255)+(g&255)|0;break}default:{i=h&255;j=h>>>8&255;g=h>>>16&255}}k[l>>2]=j<<8|g<<16|i|h&-16777216;if(!c)break a;else{c=c+-1|0;l=l+4|0;b=b+p|0}}}while(0);b=o+(k[a+32>>2]|0)|0;o=k[a+28>>2]|0;k[a+28>>2]=o+-1;if(!o)break;o=b;e=b;b=k[a+24>>2]|0;c=m+q|0}k[a+20>>2]=b;return}function bbb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=k[a+52>>2]|0;i=k[a+60>>2]|0;c=k[a+28>>2]|0;k[a+28>>2]=c+-1;if(!c)return;j=(b&2|0)==0?-16777216:i&-16777216;f=k[a>>2]|0;d=k[a+20>>2]|0;if(!(b&1)){g=f;h=d;e=c+-1|0;b=d;c=f;while(1){d=k[a+24>>2]|0;if(!d)d=e;else{while(1){d=d+-1|0;i=k[c>>2]|0;k[b>>2]=i<<16&16711680|j|i&65280|i>>>16&255;if(!d)break;else{b=b+4|0;c=c+4|0}}d=k[a+28>>2]|0}c=g+(k[a+12>>2]|0)|0;b=h+(k[a+32>>2]|0)|0;e=d+-1|0;k[a+28>>2]=e;if(!d)break;else{g=c;h=b}}k[a>>2]=c;k[a+20>>2]=b;return}else{g=f;h=d;e=c+-1|0;b=d;c=f;while(1){d=k[a+24>>2]|0;if(!d)d=e;else{while(1){d=d+-1|0;f=k[c>>2]|0;f=(((ha(f&255,i&255)|0)>>>0)/255|0)<<16|j|(((ha(f>>>8&255,i>>>8&255)|0)>>>0)/255|0)<<8|(((ha(f>>>16&255,i>>>16&255)|0)>>>0)/255|0);k[b>>2]=f;if(!d)break;else{b=b+4|0;c=c+4|0}}d=k[a+28>>2]|0}c=g+(k[a+12>>2]|0)|0;b=h+(k[a+32>>2]|0)|0;e=d+-1|0;k[a+28>>2]=e;if(!d)break;else{g=c;h=b}}k[a>>2]=c;k[a+20>>2]=b;return}}function cbb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0;i=k[a+52>>2]|0;n=k[a+60>>2]|0;o=k[a+28>>2]|0;l=(k[a+8>>2]<<16|0)/(o|0)|0;b=k[a+24>>2]|0;m=(k[a+4>>2]<<16|0)/(b|0)|0;k[a+28>>2]=o+-1;if(!o)return;o=(i&2|0)==0?-16777216:n&-16777216;e=k[a+20>>2]|0;j=e;c=0;d=0;while(1){if((c|0)>65535){g=c+-65536|0;h=g-(g>>>16<<16)|0;d=d+1+(g>>>16)|0}else h=c;c=b+-1|0;if(b|0)if(!(i&1)){g=e;b=65536;e=0;f=-1;while(1){if((b|0)>65535){b=b+-65536|0;f=f+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(k[a>>2]|0)+(ha(k[a+12>>2]|0,d)|0)+(f<<2)|0}p=k[e>>2]|0;k[g>>2]=p&65280|o|p>>>16&255|p<<16&16711680;if(!c)break;else{c=c+-1|0;g=g+4|0;b=b+m|0}}}else{g=e;b=65536;e=0;f=-1;while(1){if((b|0)>65535){b=b+-65536|0;f=f+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(k[a>>2]|0)+(ha(k[a+12>>2]|0,d)|0)+(f<<2)|0}p=k[e>>2]|0;p=(((ha(p>>>8&255,n>>>8&255)|0)>>>0)/255|0)<<8|o|(((ha(p>>>16&255,n>>>16&255)|0)>>>0)/255|0)|(((ha(p&255,n&255)|0)>>>0)/255|0)<<16;k[g>>2]=p;if(!c)break;else{c=c+-1|0;g=g+4|0;b=b+m|0}}}b=j+(k[a+32>>2]|0)|0;p=k[a+28>>2]|0;k[a+28>>2]=p+-1;if(!p)break;j=b;e=b;b=k[a+24>>2]|0;c=h+l|0}k[a+20>>2]=b;return}function dbb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0;m=k[a+52>>2]|0;n=k[a+60>>2]|0;b=k[a+28>>2]|0;k[a+28>>2]=b+-1;if(!b)return;l=(m&2|0)==0?255:n>>>24;c=k[a>>2]|0;j=k[a+20>>2]|0;o=c;p=j;e=b+-1|0;b=j;while(1){d=k[a+24>>2]|0;if(!d)d=e;else{while(1){d=d+-1|0;e=k[c>>2]|0;j=k[b>>2]|0;if(!(m&1)){f=e>>>16&255;g=e>>>8&255;e=e&255}else{f=((ha(e>>>16&255,n>>>16&255)|0)>>>0)/255|0;g=((ha(e>>>8&255,n>>>8&255)|0)>>>0)/255|0;e=((ha(e&255,n&255)|0)>>>0)/255|0}if((m&48|0)!=0&(l|0)!=255){f=((ha(f,l)|0)>>>0)/255|0;g=((ha(g,l)|0)>>>0)/255|0;e=((ha(e,l)|0)>>>0)/255|0}switch(m&112|0){case 16:{i=(((ha(j>>>24,l^255)|0)>>>0)/255|0)+l|0;h=f+(((ha(j&255,l^255)|0)>>>0)/255|0)|0;f=g+(((ha(j>>>8&255,l^255)|0)>>>0)/255|0)|0;e=e+(((ha(j>>>16&255,l^255)|0)>>>0)/255|0)|0;break}case 32:{e=e+(j>>>16&255)|0;g=g+(j>>>8&255)|0;h=f+(j&255)|0;i=j>>>24;h=h>>>0>255?255:h;f=g>>>0>255?255:g;e=e>>>0>255?255:e;break}case 64:{i=j>>>24;h=((ha(f,j&255)|0)>>>0)/255|0;f=((ha(g,j>>>8&255)|0)>>>0)/255|0;e=((ha(e,j>>>16&255)|0)>>>0)/255|0;break}default:{i=j>>>24;h=j&255;f=j>>>8&255;e=j>>>16&255}}k[b>>2]=f<<8|e<<16|h|i<<24;if(!d)break;else{b=b+4|0;c=c+4|0}}d=k[a+28>>2]|0}c=o+(k[a+12>>2]|0)|0;b=p+(k[a+32>>2]|0)|0;e=d+-1|0;k[a+28>>2]=e;if(!d)break;else{o=c;p=b}}k[a>>2]=c;k[a+20>>2]=b;return}function ebb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;q=k[a+52>>2]|0;u=k[a+60>>2]|0;b=k[a+28>>2]|0;s=(k[a+8>>2]<<16|0)/(b|0)|0;c=k[a+24>>2]|0;t=(k[a+4>>2]<<16|0)/(c|0)|0;k[a+28>>2]=b+-1;if(!b)return;p=(q&2|0)==0?255:u>>>24;f=k[a+20>>2]|0;r=f;b=b+-1|0;d=0;e=0;while(1){if((d|0)>65535){n=d+-65536|0;o=n-(n>>>16<<16)|0;e=e+1+(n>>>16)|0}else o=d;if(!c)c=b;else{b=65536;d=0;g=-1;while(1){c=c+-1|0;if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;d=(k[a>>2]|0)+(ha(k[a+12>>2]|0,e)|0)+(g<<2)|0}h=k[d>>2]|0;n=k[f>>2]|0;if(!(q&1)){i=h>>>16&255;j=h>>>8&255;h=h&255}else{i=((ha(h>>>16&255,u>>>16&255)|0)>>>0)/255|0;j=((ha(h>>>8&255,u>>>8&255)|0)>>>0)/255|0;h=((ha(h&255,u&255)|0)>>>0)/255|0}if((q&48|0)!=0&(p|0)!=255){i=((ha(i,p)|0)>>>0)/255|0;j=((ha(j,p)|0)>>>0)/255|0;h=((ha(h,p)|0)>>>0)/255|0}switch(q&112|0){case 16:{m=(((ha(n>>>24,p^255)|0)>>>0)/255|0)+p|0;l=i+(((ha(n&255,p^255)|0)>>>0)/255|0)|0;i=j+(((ha(n>>>8&255,p^255)|0)>>>0)/255|0)|0;h=h+(((ha(n>>>16&255,p^255)|0)>>>0)/255|0)|0;break}case 32:{h=h+(n>>>16&255)|0;j=j+(n>>>8&255)|0;l=i+(n&255)|0;m=n>>>24;l=l>>>0>255?255:l;i=j>>>0>255?255:j;h=h>>>0>255?255:h;break}case 64:{m=n>>>24;l=((ha(i,n&255)|0)>>>0)/255|0;i=((ha(j,n>>>8&255)|0)>>>0)/255|0;h=((ha(h,n>>>16&255)|0)>>>0)/255|0;break}default:{m=n>>>24;l=n&255;i=n>>>8&255;h=n>>>16&255}}k[f>>2]=i<<8|h<<16|l|m<<24;if(!c)break;else{f=f+4|0;b=b+t|0}}c=k[a+28>>2]|0}d=r+(k[a+32>>2]|0)|0;b=c+-1|0;k[a+28>>2]=b;if(!c)break;r=d;f=d;c=k[a+24>>2]|0;d=o+s|0}k[a+20>>2]=d;return}function fbb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0;c=k[a+28>>2]|0;l=(k[a+8>>2]<<16|0)/(c|0)|0;b=k[a+24>>2]|0;j=(k[a+4>>2]<<16|0)/(b|0)|0;k[a+28>>2]=c+-1;if(!c)return;f=k[a+20>>2]|0;i=f;c=c+-1|0;d=0;e=0;while(1){if((d|0)>65535){h=d+-65536|0;d=h-(h>>>16<<16)|0;e=e+1+(h>>>16)|0}if(!b)b=c;else{c=65536;g=0;h=-1;while(1){b=b+-1|0;if((c|0)>65535){c=c+-65536|0;h=h+1+(c>>>16)|0;c=c-(c>>>16<<16)|0;g=(k[a>>2]|0)+(ha(k[a+12>>2]|0,e)|0)+(h<<2)|0}k[f>>2]=k[g>>2]&16777215;if(!b)break;else{f=f+4|0;c=c+j|0}}b=k[a+28>>2]|0}f=i+(k[a+32>>2]|0)|0;c=b+-1|0;k[a+28>>2]=c;if(!b)break;b=k[a+24>>2]|0;i=f;d=d+l|0}k[a+20>>2]=f;return}function gbb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0;l=k[a+52>>2]|0;n=k[a+28>>2]|0;k[a+28>>2]=n+-1;if(!n)return;c=k[a>>2]|0;b=k[a+20>>2]|0;m=c;n=b;while(1){d=k[a+24>>2]|0;a:do if(d|0){if(!(l&48)){h=d+-1|0;while(1){d=k[c>>2]|0;e=k[b>>2]|0;switch(l&112|0){case 16:{f=(d&255)+(((ha(d>>>24^255,e&255)|0)>>>0)/255|0)|0;g=(d>>>8&255)+(((ha(e>>>8&255,d>>>24^255)|0)>>>0)/255|0)|0;d=(d>>>16&255)+(((ha(e>>>16&255,d>>>24^255)|0)>>>0)/255|0)|0;break}case 32:{f=((d&255)+(e&255)|0)>>>0>255?255:(d&255)+(e&255)|0;g=((d>>>8&255)+(e>>>8&255)|0)>>>0>255?255:(d>>>8&255)+(e>>>8&255)|0;d=((d>>>16&255)+(e>>>16&255)|0)>>>0>255?255:(d>>>16&255)+(e>>>16&255)|0;break}case 64:{f=((ha(d&255,e&255)|0)>>>0)/255|0;g=((ha(d>>>8&255,e>>>8&255)|0)>>>0)/255|0;d=((ha(d>>>16&255,e>>>16&255)|0)>>>0)/255|0;break}default:{f=e&255;g=e>>>8&255;d=e>>>16&255}}k[b>>2]=g<<8|d<<16|f;if(!h)break a;else{h=h+-1|0;b=b+4|0;c=c+4|0}}}else j=d+-1|0;while(1){f=k[c>>2]|0;g=k[b>>2]|0;if((f>>>24|0)==255){d=f&255;e=f>>>8&255;i=f>>>16&255}else{d=((ha(f&255,f>>>24)|0)>>>0)/255|0;e=((ha(f>>>8&255,f>>>24)|0)>>>0)/255|0;i=((ha(f>>>16&255,f>>>24)|0)>>>0)/255|0}switch(l&112|0){case 16:{h=d+(((ha(f>>>24^255,g&255)|0)>>>0)/255|0)|0;e=e+(((ha(g>>>8&255,f>>>24^255)|0)>>>0)/255|0)|0;d=i+(((ha(g>>>16&255,f>>>24^255)|0)>>>0)/255|0)|0;break}case 32:{i=i+(g>>>16&255)|0;e=e+(g>>>8&255)|0;h=d+(g&255)|0;h=h>>>0>255?255:h;e=e>>>0>255?255:e;d=i>>>0>255?255:i;break}case 64:{h=((ha(d,g&255)|0)>>>0)/255|0;e=((ha(e,g>>>8&255)|0)>>>0)/255|0;d=((ha(i,g>>>16&255)|0)>>>0)/255|0;break}default:{h=g&255;e=g>>>8&255;d=g>>>16&255}}k[b>>2]=e<<8|d<<16|h;if(!j)break a;else{j=j+-1|0;b=b+4|0;c=c+4|0}}}while(0);c=m+(k[a+12>>2]|0)|0;b=n+(k[a+32>>2]|0)|0;n=k[a+28>>2]|0;k[a+28>>2]=n+-1;if(!n)break;else{m=c;n=b}}k[a>>2]=c;k[a+20>>2]=b;return}function hbb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;q=k[a+52>>2]|0;b=k[a+28>>2]|0;s=(k[a+8>>2]<<16|0)/(b|0)|0;c=k[a+24>>2]|0;r=(k[a+4>>2]<<16|0)/(c|0)|0;k[a+28>>2]=b+-1;if(!b)return;p=k[a+20>>2]|0;b=b+-1|0;g=p;d=0;e=0;while(1){if((d|0)>65535){o=d+-65536|0;d=o-(o>>>16<<16)|0;e=e+1+(o>>>16)|0}if(!c)c=b;else{o=g;b=65536;f=0;g=-1;while(1){c=c+-1|0;if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;f=(k[a>>2]|0)+(ha(k[a+12>>2]|0,e)|0)+(g<<2)|0}j=k[f>>2]|0;l=k[o>>2]|0;if((q&48|0)!=0&(j>>>24|0)!=255){h=((ha(j&255,j>>>24)|0)>>>0)/255|0;i=((ha(j>>>8&255,j>>>24)|0)>>>0)/255|0;n=((ha(j>>>16&255,j>>>24)|0)>>>0)/255|0}else{h=j&255;i=j>>>8&255;n=j>>>16&255}switch(q&112|0){case 16:{m=h+(((ha(j>>>24^255,l&255)|0)>>>0)/255|0)|0;i=i+(((ha(l>>>8&255,j>>>24^255)|0)>>>0)/255|0)|0;h=n+(((ha(l>>>16&255,j>>>24^255)|0)>>>0)/255|0)|0;break}case 32:{n=n+(l>>>16&255)|0;i=i+(l>>>8&255)|0;m=h+(l&255)|0;m=m>>>0>255?255:m;i=i>>>0>255?255:i;h=n>>>0>255?255:n;break}case 64:{m=((ha(h,l&255)|0)>>>0)/255|0;i=((ha(i,l>>>8&255)|0)>>>0)/255|0;h=((ha(n,l>>>16&255)|0)>>>0)/255|0;break}default:{m=l&255;i=l>>>8&255;h=l>>>16&255}}k[o>>2]=i<<8|h<<16|m;if(!c)break;else{o=o+4|0;b=b+r|0}}c=k[a+28>>2]|0}f=p+(k[a+32>>2]|0)|0;b=c+-1|0;k[a+28>>2]=b;if(!c)break;g=f;c=k[a+24>>2]|0;p=f;d=d+s|0}k[a+20>>2]=f;return}function ibb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=k[a+52>>2]|0;i=k[a+60>>2]|0;c=k[a+28>>2]|0;k[a+28>>2]=c+-1;if(!c)return;f=k[a>>2]|0;d=k[a+20>>2]|0;if(!(b&1)){g=f;h=d;e=c+-1|0;b=d;c=f;while(1){d=k[a+24>>2]|0;if(!d)d=e;else{while(1){d=d+-1|0;k[b>>2]=k[c>>2]&16777215;if(!d)break;else{b=b+4|0;c=c+4|0}}d=k[a+28>>2]|0}c=g+(k[a+12>>2]|0)|0;b=h+(k[a+32>>2]|0)|0;e=d+-1|0;k[a+28>>2]=e;if(!d)break;else{g=c;h=b}}k[a>>2]=c;k[a+20>>2]=b;return}else{g=f;h=d;e=c+-1|0;b=d;c=f;while(1){d=k[a+24>>2]|0;if(!d)d=e;else{while(1){d=d+-1|0;f=k[c>>2]|0;f=(((ha(f>>>8&255,i>>>8&255)|0)>>>0)/255|0)<<8|(((ha(f>>>16&255,i&255)|0)>>>0)/255|0)<<16|(((ha(f&255,i>>>16&255)|0)>>>0)/255|0);k[b>>2]=f;if(!d)break;else{b=b+4|0;c=c+4|0}}d=k[a+28>>2]|0}c=g+(k[a+12>>2]|0)|0;b=h+(k[a+32>>2]|0)|0;e=d+-1|0;k[a+28>>2]=e;if(!d)break;else{g=c;h=b}}k[a>>2]=c;k[a+20>>2]=b;return}}function jbb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0;j=k[a+52>>2]|0;n=k[a+60>>2]|0;i=k[a+28>>2]|0;l=(k[a+8>>2]<<16|0)/(i|0)|0;b=k[a+24>>2]|0;m=(k[a+4>>2]<<16|0)/(b|0)|0;k[a+28>>2]=i+-1;if(!i)return;e=k[a+20>>2]|0;i=e;c=0;d=0;while(1){if((c|0)>65535){g=c+-65536|0;h=g-(g>>>16<<16)|0;d=d+1+(g>>>16)|0}else h=c;c=b+-1|0;if(b|0)if(!(j&1)){b=65536;f=0;g=-1;while(1){if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;f=(k[a>>2]|0)+(ha(k[a+12>>2]|0,d)|0)+(g<<2)|0}k[e>>2]=k[f>>2]&16777215;if(!c)break;else{c=c+-1|0;e=e+4|0;b=b+m|0}}}else{b=65536;f=0;g=-1;while(1){if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;f=(k[a>>2]|0)+(ha(k[a+12>>2]|0,d)|0)+(g<<2)|0}o=k[f>>2]|0;o=((ha(o&255,n>>>16&255)|0)>>>0)/255|0|(((ha(o>>>8&255,n>>>8&255)|0)>>>0)/255|0)<<8|(((ha(o>>>16&255,n&255)|0)>>>0)/255|0)<<16;k[e>>2]=o;if(!c)break;else{c=c+-1|0;e=e+4|0;b=b+m|0}}}c=i+(k[a+32>>2]|0)|0;o=k[a+28>>2]|0;k[a+28>>2]=o+-1;if(!o)break;b=k[a+24>>2]|0;i=c;e=c;c=h+l|0}k[a+20>>2]=c;return}function kbb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0;l=k[a+52>>2]|0;m=k[a+60>>2]|0;b=k[a+28>>2]|0;k[a+28>>2]=b+-1;if(!b)return;c=k[a>>2]|0;j=k[a+20>>2]|0;n=c;o=j;e=b+-1|0;b=j;while(1){d=k[a+24>>2]|0;if(!d)d=e;else{while(1){d=d+-1|0;e=k[c>>2]|0;j=k[b>>2]|0;if(!(l&1)){f=e&255;g=e>>>8&255;h=e>>>16&255}else{f=((ha(e&255,m>>>16&255)|0)>>>0)/255|0;g=((ha(e>>>8&255,m>>>8&255)|0)>>>0)/255|0;h=((ha(e>>>16&255,m&255)|0)>>>0)/255|0}if(!(l&2))i=e>>>24;else i=((ha(e>>>24,m>>>24)|0)>>>0)/255|0;if((l&48|0)!=0&i>>>0<255){f=((ha(i,f)|0)>>>0)/255|0;e=((ha(i,g)|0)>>>0)/255|0;h=((ha(i,h)|0)>>>0)/255|0}else e=g;switch(l&112|0){case 16:{i=255-i|0;g=f+(((ha(i,j&255)|0)>>>0)/255|0)|0;f=e+(((ha(i,j>>>8&255)|0)>>>0)/255|0)|0;e=h+(((ha(i,j>>>16&255)|0)>>>0)/255|0)|0;break}case 32:{i=h+(j>>>16&255)|0;e=e+(j>>>8&255)|0;g=f+(j&255)|0;g=g>>>0>255?255:g;f=e>>>0>255?255:e;e=i>>>0>255?255:i;break}case 64:{g=((ha(f,j&255)|0)>>>0)/255|0;f=((ha(e,j>>>8&255)|0)>>>0)/255|0;e=((ha(h,j>>>16&255)|0)>>>0)/255|0;break}default:{g=j&255;f=j>>>8&255;e=j>>>16&255}}k[b>>2]=f<<8|e<<16|g;if(!d)break;else{b=b+4|0;c=c+4|0}}d=k[a+28>>2]|0}c=n+(k[a+12>>2]|0)|0;b=o+(k[a+32>>2]|0)|0;e=d+-1|0;k[a+28>>2]=e;if(!d)break;else{n=c;o=b}}k[a>>2]=c;k[a+20>>2]=b;return}function lbb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;p=k[a+52>>2]|0;t=k[a+60>>2]|0;b=k[a+28>>2]|0;r=(k[a+8>>2]<<16|0)/(b|0)|0;c=k[a+24>>2]|0;s=(k[a+4>>2]<<16|0)/(c|0)|0;k[a+28>>2]=b+-1;if(!b)return;f=k[a+20>>2]|0;q=f;b=b+-1|0;d=0;e=0;while(1){if((d|0)>65535){n=d+-65536|0;o=n-(n>>>16<<16)|0;e=e+1+(n>>>16)|0}else o=d;if(!c)c=b;else{b=65536;d=0;g=-1;while(1){c=c+-1|0;if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;d=(k[a>>2]|0)+(ha(k[a+12>>2]|0,e)|0)+(g<<2)|0}h=k[d>>2]|0;n=k[f>>2]|0;if(!(p&1)){i=h&255;j=h>>>8&255;l=h>>>16&255}else{i=((ha(h&255,t>>>16&255)|0)>>>0)/255|0;j=((ha(h>>>8&255,t>>>8&255)|0)>>>0)/255|0;l=((ha(h>>>16&255,t&255)|0)>>>0)/255|0}if(!(p&2))m=h>>>24;else m=((ha(h>>>24,t>>>24)|0)>>>0)/255|0;if((p&48|0)!=0&m>>>0<255){i=((ha(m,i)|0)>>>0)/255|0;h=((ha(m,j)|0)>>>0)/255|0;l=((ha(m,l)|0)>>>0)/255|0}else h=j;switch(p&112|0){case 16:{m=255-m|0;j=i+(((ha(m,n&255)|0)>>>0)/255|0)|0;i=h+(((ha(m,n>>>8&255)|0)>>>0)/255|0)|0;h=l+(((ha(m,n>>>16&255)|0)>>>0)/255|0)|0;break}case 32:{m=l+(n>>>16&255)|0;h=h+(n>>>8&255)|0;j=i+(n&255)|0;j=j>>>0>255?255:j;i=h>>>0>255?255:h;h=m>>>0>255?255:m;break}case 64:{j=((ha(i,n&255)|0)>>>0)/255|0;i=((ha(h,n>>>8&255)|0)>>>0)/255|0;h=((ha(l,n>>>16&255)|0)>>>0)/255|0;break}default:{j=n&255;i=n>>>8&255;h=n>>>16&255}}k[f>>2]=i<<8|h<<16|j;if(!c)break;else{f=f+4|0;b=b+s|0}}c=k[a+28>>2]|0}d=q+(k[a+32>>2]|0)|0;b=c+-1|0;k[a+28>>2]=b;if(!c)break;q=d;f=d;c=k[a+24>>2]|0;d=o+r|0}k[a+20>>2]=d;return}function mbb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0;c=k[a+28>>2]|0;l=(k[a+8>>2]<<16|0)/(c|0)|0;b=k[a+24>>2]|0;j=(k[a+4>>2]<<16|0)/(b|0)|0;k[a+28>>2]=c+-1;if(!c)return;f=k[a+20>>2]|0;i=f;c=c+-1|0;d=0;e=0;while(1){if((d|0)>65535){h=d+-65536|0;d=h-(h>>>16<<16)|0;e=e+1+(h>>>16)|0}if(!b)b=c;else{c=65536;g=0;h=-1;while(1){b=b+-1|0;if((c|0)>65535){c=c+-65536|0;h=h+1+(c>>>16)|0;c=c-(c>>>16<<16)|0;g=(k[a>>2]|0)+(ha(k[a+12>>2]|0,e)|0)+(h<<2)|0}m=k[g>>2]|0;k[f>>2]=m<<16&16711680|m&65280|m>>>16&255;if(!b)break;else{f=f+4|0;c=c+j|0}}b=k[a+28>>2]|0}f=i+(k[a+32>>2]|0)|0;c=b+-1|0;k[a+28>>2]=c;if(!b)break;b=k[a+24>>2]|0;i=f;d=d+l|0}k[a+20>>2]=f;return}function nbb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0;l=k[a+52>>2]|0;n=k[a+28>>2]|0;k[a+28>>2]=n+-1;if(!n)return;c=k[a>>2]|0;b=k[a+20>>2]|0;m=c;n=b;while(1){d=k[a+24>>2]|0;a:do if(d|0){if(!(l&48)){h=d+-1|0;while(1){d=k[c>>2]|0;e=k[b>>2]|0;switch(l&112|0){case 16:{f=(d&255)+(((ha(e>>>16&255,d>>>24^255)|0)>>>0)/255|0)|0;g=(d>>>8&255)+(((ha(e>>>8&255,d>>>24^255)|0)>>>0)/255|0)|0;d=(d>>>16&255)+(((ha(d>>>24^255,e&255)|0)>>>0)/255|0)|0;break}case 32:{f=((d&255)+(e>>>16&255)|0)>>>0>255?255:(d&255)+(e>>>16&255)|0;g=((d>>>8&255)+(e>>>8&255)|0)>>>0>255?255:(d>>>8&255)+(e>>>8&255)|0;d=((d>>>16&255)+(e&255)|0)>>>0>255?255:(d>>>16&255)+(e&255)|0;break}case 64:{f=((ha(d&255,e>>>16&255)|0)>>>0)/255|0;g=((ha(d>>>8&255,e>>>8&255)|0)>>>0)/255|0;d=((ha(d>>>16&255,e&255)|0)>>>0)/255|0;break}default:{f=e>>>16&255;g=e>>>8&255;d=e&255}}k[b>>2]=g<<8|d|f<<16;if(!h)break a;else{h=h+-1|0;b=b+4|0;c=c+4|0}}}else j=d+-1|0;while(1){f=k[c>>2]|0;g=k[b>>2]|0;if((f>>>24|0)==255){d=f&255;e=f>>>8&255;i=f>>>16&255}else{d=((ha(f&255,f>>>24)|0)>>>0)/255|0;e=((ha(f>>>8&255,f>>>24)|0)>>>0)/255|0;i=((ha(f>>>16&255,f>>>24)|0)>>>0)/255|0}switch(l&112|0){case 16:{h=d+(((ha(g>>>16&255,f>>>24^255)|0)>>>0)/255|0)|0;e=e+(((ha(g>>>8&255,f>>>24^255)|0)>>>0)/255|0)|0;d=i+(((ha(f>>>24^255,g&255)|0)>>>0)/255|0)|0;break}case 32:{i=i+(g&255)|0;e=e+(g>>>8&255)|0;h=d+(g>>>16&255)|0;h=h>>>0>255?255:h;e=e>>>0>255?255:e;d=i>>>0>255?255:i;break}case 64:{h=((ha(d,g>>>16&255)|0)>>>0)/255|0;e=((ha(e,g>>>8&255)|0)>>>0)/255|0;d=((ha(i,g&255)|0)>>>0)/255|0;break}default:{h=g>>>16&255;e=g>>>8&255;d=g&255}}k[b>>2]=e<<8|d|h<<16;if(!j)break a;else{j=j+-1|0;b=b+4|0;c=c+4|0}}}while(0);c=m+(k[a+12>>2]|0)|0;b=n+(k[a+32>>2]|0)|0;n=k[a+28>>2]|0;k[a+28>>2]=n+-1;if(!n)break;else{m=c;n=b}}k[a>>2]=c;k[a+20>>2]=b;return}function obb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;q=k[a+52>>2]|0;b=k[a+28>>2]|0;s=(k[a+8>>2]<<16|0)/(b|0)|0;c=k[a+24>>2]|0;r=(k[a+4>>2]<<16|0)/(c|0)|0;k[a+28>>2]=b+-1;if(!b)return;p=k[a+20>>2]|0;b=b+-1|0;g=p;d=0;e=0;while(1){if((d|0)>65535){o=d+-65536|0;d=o-(o>>>16<<16)|0;e=e+1+(o>>>16)|0}if(!c)c=b;else{o=g;b=65536;f=0;g=-1;while(1){c=c+-1|0;if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;f=(k[a>>2]|0)+(ha(k[a+12>>2]|0,e)|0)+(g<<2)|0}j=k[f>>2]|0;l=k[o>>2]|0;if((q&48|0)!=0&(j>>>24|0)!=255){h=((ha(j&255,j>>>24)|0)>>>0)/255|0;i=((ha(j>>>8&255,j>>>24)|0)>>>0)/255|0;n=((ha(j>>>16&255,j>>>24)|0)>>>0)/255|0}else{h=j&255;i=j>>>8&255;n=j>>>16&255}switch(q&112|0){case 16:{m=h+(((ha(l>>>16&255,j>>>24^255)|0)>>>0)/255|0)|0;i=i+(((ha(l>>>8&255,j>>>24^255)|0)>>>0)/255|0)|0;h=n+(((ha(j>>>24^255,l&255)|0)>>>0)/255|0)|0;break}case 32:{n=n+(l&255)|0;i=i+(l>>>8&255)|0;m=h+(l>>>16&255)|0;m=m>>>0>255?255:m;i=i>>>0>255?255:i;h=n>>>0>255?255:n;break}case 64:{m=((ha(h,l>>>16&255)|0)>>>0)/255|0;i=((ha(i,l>>>8&255)|0)>>>0)/255|0;h=((ha(n,l&255)|0)>>>0)/255|0;break}default:{m=l>>>16&255;i=l>>>8&255;h=l&255}}k[o>>2]=i<<8|h|m<<16;if(!c)break;else{o=o+4|0;b=b+r|0}}c=k[a+28>>2]|0}f=p+(k[a+32>>2]|0)|0;b=c+-1|0;k[a+28>>2]=b;if(!c)break;g=f;c=k[a+24>>2]|0;p=f;d=d+s|0}k[a+20>>2]=f;return}function pbb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=k[a+52>>2]|0;i=k[a+60>>2]|0;c=k[a+28>>2]|0;k[a+28>>2]=c+-1;if(!c)return;f=k[a>>2]|0;d=k[a+20>>2]|0;if(!(b&1)){g=f;h=d;e=c+-1|0;b=d;c=f;while(1){d=k[a+24>>2]|0;if(!d)d=e;else{while(1){d=d+-1|0;i=k[c>>2]|0;k[b>>2]=i&65280|i>>>16&255|i<<16&16711680;if(!d)break;else{b=b+4|0;c=c+4|0}}d=k[a+28>>2]|0}c=g+(k[a+12>>2]|0)|0;b=h+(k[a+32>>2]|0)|0;e=d+-1|0;k[a+28>>2]=e;if(!d)break;else{g=c;h=b}}k[a>>2]=c;k[a+20>>2]=b;return}else{g=f;h=d;e=c+-1|0;b=d;c=f;while(1){d=k[a+24>>2]|0;if(!d)d=e;else{while(1){d=d+-1|0;f=k[c>>2]|0;f=(((ha(f>>>8&255,i>>>8&255)|0)>>>0)/255|0)<<8|(((ha(f>>>16&255,i&255)|0)>>>0)/255|0)|(((ha(f&255,i>>>16&255)|0)>>>0)/255|0)<<16;k[b>>2]=f;if(!d)break;else{b=b+4|0;c=c+4|0}}d=k[a+28>>2]|0}c=g+(k[a+12>>2]|0)|0;b=h+(k[a+32>>2]|0)|0;e=d+-1|0;k[a+28>>2]=e;if(!d)break;else{g=c;h=b}}k[a>>2]=c;k[a+20>>2]=b;return}}function qbb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0;i=k[a+52>>2]|0;n=k[a+60>>2]|0;j=k[a+28>>2]|0;l=(k[a+8>>2]<<16|0)/(j|0)|0;b=k[a+24>>2]|0;m=(k[a+4>>2]<<16|0)/(b|0)|0;k[a+28>>2]=j+-1;if(!j)return;e=k[a+20>>2]|0;j=e;c=0;d=0;while(1){if((c|0)>65535){g=c+-65536|0;h=g-(g>>>16<<16)|0;d=d+1+(g>>>16)|0}else h=c;c=b+-1|0;if(b|0)if(!(i&1)){g=e;b=65536;e=0;f=-1;while(1){if((b|0)>65535){b=b+-65536|0;f=f+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(k[a>>2]|0)+(ha(k[a+12>>2]|0,d)|0)+(f<<2)|0}o=k[e>>2]|0;k[g>>2]=o<<16&16711680|o&65280|o>>>16&255;if(!c)break;else{c=c+-1|0;g=g+4|0;b=b+m|0}}}else{g=e;b=65536;e=0;f=-1;while(1){if((b|0)>65535){b=b+-65536|0;f=f+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(k[a>>2]|0)+(ha(k[a+12>>2]|0,d)|0)+(f<<2)|0}o=k[e>>2]|0;o=(((ha(o&255,n>>>16&255)|0)>>>0)/255|0)<<16|(((ha(o>>>8&255,n>>>8&255)|0)>>>0)/255|0)<<8|(((ha(o>>>16&255,n&255)|0)>>>0)/255|0);k[g>>2]=o;if(!c)break;else{c=c+-1|0;g=g+4|0;b=b+m|0}}}b=j+(k[a+32>>2]|0)|0;o=k[a+28>>2]|0;k[a+28>>2]=o+-1;if(!o)break;j=b;e=b;b=k[a+24>>2]|0;c=h+l|0}k[a+20>>2]=b;return}function rbb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0;l=k[a+52>>2]|0;m=k[a+60>>2]|0;b=k[a+28>>2]|0;k[a+28>>2]=b+-1;if(!b)return;c=k[a>>2]|0;j=k[a+20>>2]|0;n=c;o=j;e=b+-1|0;b=j;while(1){d=k[a+24>>2]|0;if(!d)d=e;else{while(1){d=d+-1|0;e=k[c>>2]|0;j=k[b>>2]|0;if(!(l&1)){f=e&255;g=e>>>8&255;h=e>>>16&255}else{f=((ha(e&255,m>>>16&255)|0)>>>0)/255|0;g=((ha(e>>>8&255,m>>>8&255)|0)>>>0)/255|0;h=((ha(e>>>16&255,m&255)|0)>>>0)/255|0}if(!(l&2))i=e>>>24;else i=((ha(e>>>24,m>>>24)|0)>>>0)/255|0;if((l&48|0)!=0&i>>>0<255){f=((ha(i,f)|0)>>>0)/255|0;e=((ha(i,g)|0)>>>0)/255|0;h=((ha(i,h)|0)>>>0)/255|0}else e=g;switch(l&112|0){case 16:{i=255-i|0;g=f+(((ha(i,j>>>16&255)|0)>>>0)/255|0)|0;f=e+(((ha(i,j>>>8&255)|0)>>>0)/255|0)|0;e=h+(((ha(i,j&255)|0)>>>0)/255|0)|0;break}case 32:{i=h+(j&255)|0;e=e+(j>>>8&255)|0;g=f+(j>>>16&255)|0;g=g>>>0>255?255:g;f=e>>>0>255?255:e;e=i>>>0>255?255:i;break}case 64:{g=((ha(f,j>>>16&255)|0)>>>0)/255|0;f=((ha(e,j>>>8&255)|0)>>>0)/255|0;e=((ha(h,j&255)|0)>>>0)/255|0;break}default:{g=j>>>16&255;f=j>>>8&255;e=j&255}}k[b>>2]=f<<8|e|g<<16;if(!d)break;else{b=b+4|0;c=c+4|0}}d=k[a+28>>2]|0}c=n+(k[a+12>>2]|0)|0;b=o+(k[a+32>>2]|0)|0;e=d+-1|0;k[a+28>>2]=e;if(!d)break;else{n=c;o=b}}k[a>>2]=c;k[a+20>>2]=b;return}function sbb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;p=k[a+52>>2]|0;t=k[a+60>>2]|0;b=k[a+28>>2]|0;r=(k[a+8>>2]<<16|0)/(b|0)|0;c=k[a+24>>2]|0;s=(k[a+4>>2]<<16|0)/(c|0)|0;k[a+28>>2]=b+-1;if(!b)return;f=k[a+20>>2]|0;q=f;b=b+-1|0;d=0;e=0;while(1){if((d|0)>65535){n=d+-65536|0;o=n-(n>>>16<<16)|0;e=e+1+(n>>>16)|0}else o=d;if(!c)c=b;else{b=65536;d=0;g=-1;while(1){c=c+-1|0;if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;d=(k[a>>2]|0)+(ha(k[a+12>>2]|0,e)|0)+(g<<2)|0}h=k[d>>2]|0;n=k[f>>2]|0;if(!(p&1)){i=h&255;j=h>>>8&255;l=h>>>16&255}else{i=((ha(h&255,t>>>16&255)|0)>>>0)/255|0;j=((ha(h>>>8&255,t>>>8&255)|0)>>>0)/255|0;l=((ha(h>>>16&255,t&255)|0)>>>0)/255|0}if(!(p&2))m=h>>>24;else m=((ha(h>>>24,t>>>24)|0)>>>0)/255|0;if((p&48|0)!=0&m>>>0<255){i=((ha(m,i)|0)>>>0)/255|0;h=((ha(m,j)|0)>>>0)/255|0;l=((ha(m,l)|0)>>>0)/255|0}else h=j;switch(p&112|0){case 16:{m=255-m|0;j=i+(((ha(m,n>>>16&255)|0)>>>0)/255|0)|0;i=h+(((ha(m,n>>>8&255)|0)>>>0)/255|0)|0;h=l+(((ha(m,n&255)|0)>>>0)/255|0)|0;break}case 32:{m=l+(n&255)|0;h=h+(n>>>8&255)|0;j=i+(n>>>16&255)|0;j=j>>>0>255?255:j;i=h>>>0>255?255:h;h=m>>>0>255?255:m;break}case 64:{j=((ha(i,n>>>16&255)|0)>>>0)/255|0;i=((ha(h,n>>>8&255)|0)>>>0)/255|0;h=((ha(l,n&255)|0)>>>0)/255|0;break}default:{j=n>>>16&255;i=n>>>8&255;h=n&255}}k[f>>2]=i<<8|h|j<<16;if(!c)break;else{f=f+4|0;b=b+s|0}}c=k[a+28>>2]|0}d=q+(k[a+32>>2]|0)|0;b=c+-1|0;k[a+28>>2]=b;if(!c)break;q=d;f=d;c=k[a+24>>2]|0;d=o+r|0}k[a+20>>2]=d;return}function tbb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0;c=k[a+28>>2]|0;l=(k[a+8>>2]<<16|0)/(c|0)|0;b=k[a+24>>2]|0;j=(k[a+4>>2]<<16|0)/(b|0)|0;k[a+28>>2]=c+-1;if(!c)return;f=k[a+20>>2]|0;i=f;c=c+-1|0;d=0;e=0;while(1){if((d|0)>65535){h=d+-65536|0;d=h-(h>>>16<<16)|0;e=e+1+(h>>>16)|0}if(!b)b=c;else{c=65536;g=0;h=-1;while(1){b=b+-1|0;if((c|0)>65535){c=c+-65536|0;h=h+1+(c>>>16)|0;c=c-(c>>>16<<16)|0;g=(k[a>>2]|0)+(ha(k[a+12>>2]|0,e)|0)+(h<<2)|0}k[f>>2]=k[g>>2];if(!b)break;else{f=f+4|0;c=c+j|0}}b=k[a+28>>2]|0}f=i+(k[a+32>>2]|0)|0;c=b+-1|0;k[a+28>>2]=c;if(!b)break;b=k[a+24>>2]|0;i=f;d=d+l|0}k[a+20>>2]=f;return}function ubb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0;m=k[a+52>>2]|0;o=k[a+28>>2]|0;k[a+28>>2]=o+-1;if(!o)return;c=k[a>>2]|0;b=k[a+20>>2]|0;n=c;o=b;while(1){d=k[a+24>>2]|0;a:do if(d|0){if(!(m&48)){i=d+-1|0;while(1){d=k[c>>2]|0;e=k[b>>2]|0;switch(m&112|0){case 16:{f=(((ha(d>>>24^255,e>>>24)|0)>>>0)/255|0)+(d>>>24)|0;g=(d&255)+(((ha(d>>>24^255,e&255)|0)>>>0)/255|0)|0;h=(d>>>8&255)+(((ha(e>>>8&255,d>>>24^255)|0)>>>0)/255|0)|0;d=(d>>>16&255)+(((ha(e>>>16&255,d>>>24^255)|0)>>>0)/255|0)|0;break}case 32:{f=e>>>24;g=((d&255)+(e&255)|0)>>>0>255?255:(d&255)+(e&255)|0;h=((d>>>8&255)+(e>>>8&255)|0)>>>0>255?255:(d>>>8&255)+(e>>>8&255)|0;d=((d>>>16&255)+(e>>>16&255)|0)>>>0>255?255:(d>>>16&255)+(e>>>16&255)|0;break}case 64:{f=e>>>24;g=((ha(d&255,e&255)|0)>>>0)/255|0;h=((ha(d>>>8&255,e>>>8&255)|0)>>>0)/255|0;d=((ha(d>>>16&255,e>>>16&255)|0)>>>0)/255|0;break}default:{f=e>>>24;g=e&255;h=e>>>8&255;d=e>>>16&255}}k[b>>2]=h<<8|d<<16|g|f<<24;if(!i)break a;else{i=i+-1|0;b=b+4|0;c=c+4|0}}}else l=d+-1|0;while(1){f=k[c>>2]|0;g=k[b>>2]|0;if((f>>>24|0)==255){d=f&255;e=f>>>8&255;i=f>>>16&255}else{d=((ha(f&255,f>>>24)|0)>>>0)/255|0;e=((ha(f>>>8&255,f>>>24)|0)>>>0)/255|0;i=((ha(f>>>16&255,f>>>24)|0)>>>0)/255|0}switch(m&112|0){case 16:{j=(((ha(f>>>24^255,g>>>24)|0)>>>0)/255|0)+(f>>>24)|0;h=d+(((ha(f>>>24^255,g&255)|0)>>>0)/255|0)|0;e=e+(((ha(g>>>8&255,f>>>24^255)|0)>>>0)/255|0)|0;d=i+(((ha(g>>>16&255,f>>>24^255)|0)>>>0)/255|0)|0;break}case 32:{i=i+(g>>>16&255)|0;e=e+(g>>>8&255)|0;h=d+(g&255)|0;j=g>>>24;h=h>>>0>255?255:h;e=e>>>0>255?255:e;d=i>>>0>255?255:i;break}case 64:{j=g>>>24;h=((ha(d,g&255)|0)>>>0)/255|0;e=((ha(e,g>>>8&255)|0)>>>0)/255|0;d=((ha(i,g>>>16&255)|0)>>>0)/255|0;break}default:{j=g>>>24;h=g&255;e=g>>>8&255;d=g>>>16&255}}k[b>>2]=e<<8|d<<16|h|j<<24;if(!l)break a;else{l=l+-1|0;b=b+4|0;c=c+4|0}}}while(0);c=n+(k[a+12>>2]|0)|0;b=o+(k[a+32>>2]|0)|0;o=k[a+28>>2]|0;k[a+28>>2]=o+-1;if(!o)break;else{n=c;o=b}}k[a>>2]=c;k[a+20>>2]=b;return}function vbb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;q=k[a+52>>2]|0;b=k[a+28>>2]|0;t=(k[a+8>>2]<<16|0)/(b|0)|0;c=k[a+24>>2]|0;s=(k[a+4>>2]<<16|0)/(c|0)|0;k[a+28>>2]=b+-1;if(!b)return;f=k[a+20>>2]|0;r=f;b=b+-1|0;d=0;e=0;while(1){if((d|0)>65535){o=d+-65536|0;p=o-(o>>>16<<16)|0;e=e+1+(o>>>16)|0}else p=d;if(!c)c=b;else{b=65536;d=0;g=-1;while(1){c=c+-1|0;if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;d=(k[a>>2]|0)+(ha(k[a+12>>2]|0,e)|0)+(g<<2)|0}j=k[d>>2]|0;l=k[f>>2]|0;if((q&48|0)!=0&(j>>>24|0)!=255){h=((ha(j&255,j>>>24)|0)>>>0)/255|0;i=((ha(j>>>8&255,j>>>24)|0)>>>0)/255|0;n=((ha(j>>>16&255,j>>>24)|0)>>>0)/255|0}else{h=j&255;i=j>>>8&255;n=j>>>16&255}switch(q&112|0){case 16:{o=(((ha(j>>>24^255,l>>>24)|0)>>>0)/255|0)+(j>>>24)|0;m=h+(((ha(j>>>24^255,l&255)|0)>>>0)/255|0)|0;i=i+(((ha(l>>>8&255,j>>>24^255)|0)>>>0)/255|0)|0;h=n+(((ha(l>>>16&255,j>>>24^255)|0)>>>0)/255|0)|0;break}case 32:{n=n+(l>>>16&255)|0;i=i+(l>>>8&255)|0;m=h+(l&255)|0;o=l>>>24;m=m>>>0>255?255:m;i=i>>>0>255?255:i;h=n>>>0>255?255:n;break}case 64:{o=l>>>24;m=((ha(h,l&255)|0)>>>0)/255|0;i=((ha(i,l>>>8&255)|0)>>>0)/255|0;h=((ha(n,l>>>16&255)|0)>>>0)/255|0;break}default:{o=l>>>24;m=l&255;i=l>>>8&255;h=l>>>16&255}}k[f>>2]=i<<8|h<<16|m|o<<24;if(!c)break;else{f=f+4|0;b=b+s|0}}c=k[a+28>>2]|0}d=r+(k[a+32>>2]|0)|0;b=c+-1|0;k[a+28>>2]=b;if(!c)break;r=d;f=d;c=k[a+24>>2]|0;d=p+t|0}k[a+20>>2]=d;return}function wbb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=k[a+52>>2]|0;h=k[a+60>>2]|0;j=k[a+28>>2]|0;k[a+28>>2]=j+-1;if(!j)return;c=k[a>>2]|0;b=k[a+20>>2]|0;i=c;j=b;while(1){d=k[a+24>>2]|0;if(d|0)if(!(g&1)){f=d+-1|0;while(1){d=k[c>>2]|0;if(!(g&2))e=d>>>24;else e=((ha(d>>>24,h>>>24)|0)>>>0)/255|0;k[b>>2]=d&16777215|e<<24;if(!f)break;else{f=f+-1|0;b=b+4|0;c=c+4|0}}}else if(!(g&2)){d=d+-1|0;while(1){f=k[c>>2]|0;f=(((ha(f>>>8&255,h>>>8&255)|0)>>>0)/255|0)<<8|(((ha(f>>>16&255,h&255)|0)>>>0)/255|0)<<16|(((ha(f&255,h>>>16&255)|0)>>>0)/255|0)|f&-16777216;k[b>>2]=f;if(!d)break;else{d=d+-1|0;b=b+4|0;c=c+4|0}}}else{d=d+-1|0;while(1){f=k[c>>2]|0;f=(((ha(f>>>8&255,h>>>8&255)|0)>>>0)/255|0)<<8|(((ha(f>>>16&255,h&255)|0)>>>0)/255|0)<<16|(((ha(f&255,h>>>16&255)|0)>>>0)/255|0)|(((ha(f>>>24,h>>>24)|0)>>>0)/255|0)<<24;k[b>>2]=f;if(!d)break;else{d=d+-1|0;b=b+4|0;c=c+4|0}}}c=i+(k[a+12>>2]|0)|0;b=j+(k[a+32>>2]|0)|0;j=k[a+28>>2]|0;k[a+28>>2]=j+-1;if(!j)break;else{i=c;j=b}}k[a>>2]=c;k[a+20>>2]=b;return}function xbb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;n=k[a+52>>2]|0;r=k[a+60>>2]|0;o=k[a+28>>2]|0;p=(k[a+8>>2]<<16|0)/(o|0)|0;b=k[a+24>>2]|0;q=(k[a+4>>2]<<16|0)/(b|0)|0;k[a+28>>2]=o+-1;if(!o)return;e=k[a+20>>2]|0;o=e;c=0;d=0;while(1){if((c|0)>65535){l=c+-65536|0;m=l-(l>>>16<<16)|0;d=d+1+(l>>>16)|0}else m=c;c=b+-1|0;if(b|0)if(!(n&1)){i=e;b=65536;e=0;f=-1;while(1){if((b|0)>65535){g=b+-65536|0;f=f+1+(g>>>16)|0;g=g-(g>>>16<<16)|0;h=(k[a>>2]|0)+(ha(k[a+12>>2]|0,d)|0)+(f<<2)|0}else{g=b;h=e}b=k[h>>2]|0;if(!(n&2))e=b>>>24;else e=((ha(b>>>24,r>>>24)|0)>>>0)/255|0;k[i>>2]=b&16777215|e<<24;if(!c)break;else{c=c+-1|0;i=i+4|0;b=g+q|0;e=h}}}else{l=e;b=65536;e=0;f=-1;while(1){if((b|0)>65535){b=b+-65536|0;f=f+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(k[a>>2]|0)+(ha(k[a+12>>2]|0,d)|0)+(f<<2)|0}g=k[e>>2]|0;h=((ha(g>>>16&255,r&255)|0)>>>0)/255|0;i=((ha(g>>>8&255,r>>>8&255)|0)>>>0)/255|0;j=((ha(g&255,r>>>16&255)|0)>>>0)/255|0;if(!(n&2))g=g>>>24;else g=((ha(g>>>24,r>>>24)|0)>>>0)/255|0;k[l>>2]=j|i<<8|h<<16|g<<24;if(!c)break;else{c=c+-1|0;l=l+4|0;b=b+q|0}}}b=o+(k[a+32>>2]|0)|0;o=k[a+28>>2]|0;k[a+28>>2]=o+-1;if(!o)break;o=b;e=b;b=k[a+24>>2]|0;c=m+p|0}k[a+20>>2]=b;return}function ybb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0;o=k[a+52>>2]|0;p=k[a+60>>2]|0;b=k[a+28>>2]|0;k[a+28>>2]=b+-1;if(!b)return;c=k[a>>2]|0;n=k[a+20>>2]|0;e=b+-1|0;f=n;g=c;b=n;while(1){d=k[a+24>>2]|0;if(!d)d=e;else{while(1){d=d+-1|0;e=k[g>>2]|0;n=k[f>>2]|0;if(!(o&1)){h=e&255;i=e>>>8&255;j=e>>>16&255}else{h=((ha(e&255,p>>>16&255)|0)>>>0)/255|0;i=((ha(e>>>8&255,p>>>8&255)|0)>>>0)/255|0;j=((ha(e>>>16&255,p&255)|0)>>>0)/255|0}if(!(o&2))e=e>>>24;else e=((ha(e>>>24,p>>>24)|0)>>>0)/255|0;if((o&48|0)!=0&e>>>0<255){h=((ha(e,h)|0)>>>0)/255|0;l=((ha(e,i)|0)>>>0)/255|0;m=((ha(e,j)|0)>>>0)/255|0}else{l=i;m=j}switch(o&112|0){case 16:{q=255-e|0;j=(((ha(q,n>>>24)|0)>>>0)/255|0)+e|0;i=h+(((ha(q,n&255)|0)>>>0)/255|0)|0;h=l+(((ha(q,n>>>8&255)|0)>>>0)/255|0)|0;e=m+(((ha(q,n>>>16&255)|0)>>>0)/255|0)|0;break}case 32:{e=m+(n>>>16&255)|0;q=l+(n>>>8&255)|0;i=h+(n&255)|0;j=n>>>24;i=i>>>0>255?255:i;h=q>>>0>255?255:q;e=e>>>0>255?255:e;break}case 64:{j=n>>>24;i=((ha(h,n&255)|0)>>>0)/255|0;h=((ha(l,n>>>8&255)|0)>>>0)/255|0;e=((ha(m,n>>>16&255)|0)>>>0)/255|0;break}default:{j=n>>>24;i=n&255;h=n>>>8&255;e=n>>>16&255}}k[f>>2]=h<<8|e<<16|i|j<<24;if(!d)break;else{f=f+4|0;g=g+4|0}}d=k[a+28>>2]|0}c=c+(k[a+12>>2]|0)|0;b=b+(k[a+32>>2]|0)|0;e=d+-1|0;k[a+28>>2]=e;if(!d)break;else{f=b;g=c}}k[a>>2]=c;k[a+20>>2]=b;return}function zbb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;q=k[a+52>>2]|0;u=k[a+60>>2]|0;b=k[a+28>>2]|0;s=(k[a+8>>2]<<16|0)/(b|0)|0;c=k[a+24>>2]|0;t=(k[a+4>>2]<<16|0)/(c|0)|0;k[a+28>>2]=b+-1;if(!b)return;f=k[a+20>>2]|0;r=f;b=b+-1|0;d=0;e=0;while(1){if((d|0)>65535){o=d+-65536|0;p=o-(o>>>16<<16)|0;e=e+1+(o>>>16)|0}else p=d;if(!c)c=b;else{b=65536;d=0;g=-1;while(1){c=c+-1|0;if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;d=(k[a>>2]|0)+(ha(k[a+12>>2]|0,e)|0)+(g<<2)|0}h=k[d>>2]|0;o=k[f>>2]|0;if(!(q&1)){i=h&255;j=h>>>8&255;l=h>>>16&255}else{i=((ha(h&255,u>>>16&255)|0)>>>0)/255|0;j=((ha(h>>>8&255,u>>>8&255)|0)>>>0)/255|0;l=((ha(h>>>16&255,u&255)|0)>>>0)/255|0}if(!(q&2))h=h>>>24;else h=((ha(h>>>24,u>>>24)|0)>>>0)/255|0;if((q&48|0)!=0&h>>>0<255){i=((ha(h,i)|0)>>>0)/255|0;m=((ha(h,j)|0)>>>0)/255|0;n=((ha(h,l)|0)>>>0)/255|0}else{m=j;n=l}switch(q&112|0){case 16:{v=255-h|0;l=(((ha(v,o>>>24)|0)>>>0)/255|0)+h|0;j=i+(((ha(v,o&255)|0)>>>0)/255|0)|0;i=m+(((ha(v,o>>>8&255)|0)>>>0)/255|0)|0;h=n+(((ha(v,o>>>16&255)|0)>>>0)/255|0)|0;break}case 32:{h=n+(o>>>16&255)|0;v=m+(o>>>8&255)|0;j=i+(o&255)|0;l=o>>>24;j=j>>>0>255?255:j;i=v>>>0>255?255:v;h=h>>>0>255?255:h;break}case 64:{l=o>>>24;j=((ha(i,o&255)|0)>>>0)/255|0;i=((ha(m,o>>>8&255)|0)>>>0)/255|0;h=((ha(n,o>>>16&255)|0)>>>0)/255|0;break}default:{l=o>>>24;j=o&255;i=o>>>8&255;h=o>>>16&255}}k[f>>2]=i<<8|h<<16|j|l<<24;if(!c)break;else{f=f+4|0;b=b+t|0}}c=k[a+28>>2]|0}d=r+(k[a+32>>2]|0)|0;b=c+-1|0;k[a+28>>2]=b;if(!c)break;r=d;f=d;c=k[a+24>>2]|0;d=p+s|0}k[a+20>>2]=d;return}function Abb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0;c=k[a+28>>2]|0;l=(k[a+8>>2]<<16|0)/(c|0)|0;b=k[a+24>>2]|0;j=(k[a+4>>2]<<16|0)/(b|0)|0;k[a+28>>2]=c+-1;if(!c)return;f=k[a+20>>2]|0;i=f;c=c+-1|0;d=0;e=0;while(1){if((d|0)>65535){h=d+-65536|0;d=h-(h>>>16<<16)|0;e=e+1+(h>>>16)|0}if(!b)b=c;else{c=65536;g=0;h=-1;while(1){b=b+-1|0;if((c|0)>65535){c=c+-65536|0;h=h+1+(c>>>16)|0;c=c-(c>>>16<<16)|0;g=(k[a>>2]|0)+(ha(k[a+12>>2]|0,e)|0)+(h<<2)|0}m=k[g>>2]|0;k[f>>2]=m>>>24<<16|m>>>8&65280|m>>>8&255;if(!b)break;else{f=f+4|0;c=c+j|0}}b=k[a+28>>2]|0}f=i+(k[a+32>>2]|0)|0;c=b+-1|0;k[a+28>>2]=c;if(!b)break;b=k[a+24>>2]|0;i=f;d=d+l|0}k[a+20>>2]=f;return}function Bbb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0;l=k[a+52>>2]|0;n=k[a+28>>2]|0;k[a+28>>2]=n+-1;if(!n)return;c=k[a>>2]|0;b=k[a+20>>2]|0;m=c;n=b;while(1){d=k[a+24>>2]|0;a:do if(d|0){if(!(l&48)){h=d+-1|0;while(1){d=k[c>>2]|0;e=k[b>>2]|0;switch(l&112|0){case 16:{f=(d>>>8&255)+(((ha(d&255^255,e&255)|0)>>>0)/255|0)|0;g=(d>>>16&255)+(((ha(e>>>8&255,d&255^255)|0)>>>0)/255|0)|0;d=(d>>>24)+(((ha(e>>>16&255,d&255^255)|0)>>>0)/255|0)|0;break}case 32:{f=((d>>>8&255)+(e&255)|0)>>>0>255?255:(d>>>8&255)+(e&255)|0;g=((d>>>16&255)+(e>>>8&255)|0)>>>0>255?255:(d>>>16&255)+(e>>>8&255)|0;d=((d>>>24)+(e>>>16&255)|0)>>>0>255?255:(d>>>24)+(e>>>16&255)|0;break}case 64:{f=((ha(d>>>8&255,e&255)|0)>>>0)/255|0;g=((ha(d>>>16&255,e>>>8&255)|0)>>>0)/255|0;d=((ha(d>>>24,e>>>16&255)|0)>>>0)/255|0;break}default:{f=e&255;g=e>>>8&255;d=e>>>16&255}}k[b>>2]=g<<8|d<<16|f;if(!h)break a;else{h=h+-1|0;b=b+4|0;c=c+4|0}}}else j=d+-1|0;while(1){f=k[c>>2]|0;g=k[b>>2]|0;if((f&255|0)==255){d=f>>>8&255;e=f>>>16&255;i=f>>>24}else{d=((ha(f>>>8&255,f&255)|0)>>>0)/255|0;e=((ha(f>>>16&255,f&255)|0)>>>0)/255|0;i=((ha(f>>>24,f&255)|0)>>>0)/255|0}switch(l&112|0){case 16:{h=d+(((ha(f&255^255,g&255)|0)>>>0)/255|0)|0;e=e+(((ha(g>>>8&255,f&255^255)|0)>>>0)/255|0)|0;d=i+(((ha(g>>>16&255,f&255^255)|0)>>>0)/255|0)|0;break}case 32:{i=i+(g>>>16&255)|0;e=e+(g>>>8&255)|0;h=d+(g&255)|0;h=h>>>0>255?255:h;e=e>>>0>255?255:e;d=i>>>0>255?255:i;break}case 64:{h=((ha(d,g&255)|0)>>>0)/255|0;e=((ha(e,g>>>8&255)|0)>>>0)/255|0;d=((ha(i,g>>>16&255)|0)>>>0)/255|0;break}default:{h=g&255;e=g>>>8&255;d=g>>>16&255}}k[b>>2]=e<<8|d<<16|h;if(!j)break a;else{j=j+-1|0;b=b+4|0;c=c+4|0}}}while(0);c=m+(k[a+12>>2]|0)|0;b=n+(k[a+32>>2]|0)|0;n=k[a+28>>2]|0;k[a+28>>2]=n+-1;if(!n)break;else{m=c;n=b}}k[a>>2]=c;k[a+20>>2]=b;return}function Cbb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;q=k[a+52>>2]|0;b=k[a+28>>2]|0;s=(k[a+8>>2]<<16|0)/(b|0)|0;c=k[a+24>>2]|0;r=(k[a+4>>2]<<16|0)/(c|0)|0;k[a+28>>2]=b+-1;if(!b)return;p=k[a+20>>2]|0;b=b+-1|0;g=p;d=0;e=0;while(1){if((d|0)>65535){o=d+-65536|0;d=o-(o>>>16<<16)|0;e=e+1+(o>>>16)|0}if(!c)c=b;else{o=g;b=65536;f=0;g=-1;while(1){c=c+-1|0;if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;f=(k[a>>2]|0)+(ha(k[a+12>>2]|0,e)|0)+(g<<2)|0}j=k[f>>2]|0;l=k[o>>2]|0;if((q&48|0)!=0&(j&255|0)!=255){h=((ha(j>>>8&255,j&255)|0)>>>0)/255|0;i=((ha(j>>>16&255,j&255)|0)>>>0)/255|0;n=((ha(j>>>24,j&255)|0)>>>0)/255|0}else{h=j>>>8&255;i=j>>>16&255;n=j>>>24}switch(q&112|0){case 16:{m=h+(((ha(j&255^255,l&255)|0)>>>0)/255|0)|0;i=i+(((ha(l>>>8&255,j&255^255)|0)>>>0)/255|0)|0;h=n+(((ha(l>>>16&255,j&255^255)|0)>>>0)/255|0)|0;break}case 32:{n=n+(l>>>16&255)|0;i=i+(l>>>8&255)|0;m=h+(l&255)|0;m=m>>>0>255?255:m;i=i>>>0>255?255:i;h=n>>>0>255?255:n;break}case 64:{m=((ha(h,l&255)|0)>>>0)/255|0;i=((ha(i,l>>>8&255)|0)>>>0)/255|0;h=((ha(n,l>>>16&255)|0)>>>0)/255|0;break}default:{m=l&255;i=l>>>8&255;h=l>>>16&255}}k[o>>2]=i<<8|h<<16|m;if(!c)break;else{o=o+4|0;b=b+r|0}}c=k[a+28>>2]|0}f=p+(k[a+32>>2]|0)|0;b=c+-1|0;k[a+28>>2]=b;if(!c)break;g=f;c=k[a+24>>2]|0;p=f;d=d+s|0}k[a+20>>2]=f;return}function Dbb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=k[a+52>>2]|0;i=k[a+60>>2]|0;c=k[a+28>>2]|0;k[a+28>>2]=c+-1;if(!c)return;f=k[a>>2]|0;d=k[a+20>>2]|0;if(!(b&1)){g=f;h=d;e=c+-1|0;b=d;c=f;while(1){d=k[a+24>>2]|0;if(!d)d=e;else{while(1){d=d+-1|0;i=k[c>>2]|0;k[b>>2]=i>>>8&65280|i>>>24<<16|i>>>8&255;if(!d)break;else{b=b+4|0;c=c+4|0}}d=k[a+28>>2]|0}c=g+(k[a+12>>2]|0)|0;b=h+(k[a+32>>2]|0)|0;e=d+-1|0;k[a+28>>2]=e;if(!d)break;else{g=c;h=b}}k[a>>2]=c;k[a+20>>2]=b;return}else{g=f;h=d;e=c+-1|0;b=d;c=f;while(1){d=k[a+24>>2]|0;if(!d)d=e;else{while(1){d=d+-1|0;f=k[c>>2]|0;f=(((ha(f>>>16&255,i>>>8&255)|0)>>>0)/255|0)<<8|(((ha(f>>>24,i&255)|0)>>>0)/255|0)<<16|(((ha(f>>>8&255,i>>>16&255)|0)>>>0)/255|0);k[b>>2]=f;if(!d)break;else{b=b+4|0;c=c+4|0}}d=k[a+28>>2]|0}c=g+(k[a+12>>2]|0)|0;b=h+(k[a+32>>2]|0)|0;e=d+-1|0;k[a+28>>2]=e;if(!d)break;else{g=c;h=b}}k[a>>2]=c;k[a+20>>2]=b;return}}function Ebb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0;j=k[a+52>>2]|0;n=k[a+60>>2]|0;i=k[a+28>>2]|0;l=(k[a+8>>2]<<16|0)/(i|0)|0;b=k[a+24>>2]|0;m=(k[a+4>>2]<<16|0)/(b|0)|0;k[a+28>>2]=i+-1;if(!i)return;h=k[a+20>>2]|0;g=h;c=0;d=0;while(1){if((c|0)>65535){f=c+-65536|0;i=f-(f>>>16<<16)|0;d=d+1+(f>>>16)|0}else i=c;c=b+-1|0;if(b|0)if(!(j&1)){b=65536;e=0;f=-1;while(1){if((b|0)>65535){b=b+-65536|0;f=f+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(k[a>>2]|0)+(ha(k[a+12>>2]|0,d)|0)+(f<<2)|0}o=k[e>>2]|0;k[g>>2]=o>>>8&65535|o>>>24<<16;if(!c)break;else{c=c+-1|0;g=g+4|0;b=b+m|0}}}else{b=65536;e=0;f=-1;while(1){if((b|0)>65535){b=b+-65536|0;f=f+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(k[a>>2]|0)+(ha(k[a+12>>2]|0,d)|0)+(f<<2)|0}o=k[e>>2]|0;o=((ha(o>>>8&255,n>>>16&255)|0)>>>0)/255|0|(((ha(o>>>16&255,n>>>8&255)|0)>>>0)/255|0)<<8|(((ha(o>>>24,n&255)|0)>>>0)/255|0)<<16;k[g>>2]=o;if(!c)break;else{c=c+-1|0;g=g+4|0;b=b+m|0}}}c=h+(k[a+32>>2]|0)|0;o=k[a+28>>2]|0;k[a+28>>2]=o+-1;if(!o)break;g=c;b=k[a+24>>2]|0;h=c;c=i+l|0}k[a+20>>2]=c;return}function Fbb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0;l=k[a+52>>2]|0;m=k[a+60>>2]|0;b=k[a+28>>2]|0;k[a+28>>2]=b+-1;if(!b)return;c=k[a>>2]|0;j=k[a+20>>2]|0;n=c;o=j;e=b+-1|0;b=j;while(1){d=k[a+24>>2]|0;if(!d)d=e;else{while(1){d=d+-1|0;e=k[c>>2]|0;j=k[b>>2]|0;if(!(l&1)){f=e>>>8&255;g=e>>>16&255;h=e>>>24}else{f=((ha(e>>>8&255,m>>>16&255)|0)>>>0)/255|0;g=((ha(e>>>16&255,m>>>8&255)|0)>>>0)/255|0;h=((ha(e>>>24,m&255)|0)>>>0)/255|0}if(!(l&2))i=e&255;else i=((ha(e&255,m>>>24)|0)>>>0)/255|0;if((l&48|0)!=0&i>>>0<255){f=((ha(i,f)|0)>>>0)/255|0;e=((ha(i,g)|0)>>>0)/255|0;h=((ha(i,h)|0)>>>0)/255|0}else e=g;switch(l&112|0){case 16:{i=255-i|0;g=f+(((ha(i,j&255)|0)>>>0)/255|0)|0;f=e+(((ha(i,j>>>8&255)|0)>>>0)/255|0)|0;e=h+(((ha(i,j>>>16&255)|0)>>>0)/255|0)|0;break}case 32:{i=h+(j>>>16&255)|0;e=e+(j>>>8&255)|0;g=f+(j&255)|0;g=g>>>0>255?255:g;f=e>>>0>255?255:e;e=i>>>0>255?255:i;break}case 64:{g=((ha(f,j&255)|0)>>>0)/255|0;f=((ha(e,j>>>8&255)|0)>>>0)/255|0;e=((ha(h,j>>>16&255)|0)>>>0)/255|0;break}default:{g=j&255;f=j>>>8&255;e=j>>>16&255}}k[b>>2]=f<<8|e<<16|g;if(!d)break;else{b=b+4|0;c=c+4|0}}d=k[a+28>>2]|0}c=n+(k[a+12>>2]|0)|0;b=o+(k[a+32>>2]|0)|0;e=d+-1|0;k[a+28>>2]=e;if(!d)break;else{n=c;o=b}}k[a>>2]=c;k[a+20>>2]=b;return}function Gbb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;p=k[a+52>>2]|0;t=k[a+60>>2]|0;b=k[a+28>>2]|0;r=(k[a+8>>2]<<16|0)/(b|0)|0;c=k[a+24>>2]|0;s=(k[a+4>>2]<<16|0)/(c|0)|0;k[a+28>>2]=b+-1;if(!b)return;f=k[a+20>>2]|0;q=f;b=b+-1|0;d=0;e=0;while(1){if((d|0)>65535){n=d+-65536|0;o=n-(n>>>16<<16)|0;e=e+1+(n>>>16)|0}else o=d;if(!c)c=b;else{b=65536;d=0;g=-1;while(1){c=c+-1|0;if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;d=(k[a>>2]|0)+(ha(k[a+12>>2]|0,e)|0)+(g<<2)|0}h=k[d>>2]|0;n=k[f>>2]|0;if(!(p&1)){i=h>>>8&255;j=h>>>16&255;l=h>>>24}else{i=((ha(h>>>8&255,t>>>16&255)|0)>>>0)/255|0;j=((ha(h>>>16&255,t>>>8&255)|0)>>>0)/255|0;l=((ha(h>>>24,t&255)|0)>>>0)/255|0}if(!(p&2))m=h&255;else m=((ha(h&255,t>>>24)|0)>>>0)/255|0;if((p&48|0)!=0&m>>>0<255){i=((ha(m,i)|0)>>>0)/255|0;h=((ha(m,j)|0)>>>0)/255|0;l=((ha(m,l)|0)>>>0)/255|0}else h=j;switch(p&112|0){case 16:{m=255-m|0;j=i+(((ha(m,n&255)|0)>>>0)/255|0)|0;i=h+(((ha(m,n>>>8&255)|0)>>>0)/255|0)|0;h=l+(((ha(m,n>>>16&255)|0)>>>0)/255|0)|0;break}case 32:{m=l+(n>>>16&255)|0;h=h+(n>>>8&255)|0;j=i+(n&255)|0;j=j>>>0>255?255:j;i=h>>>0>255?255:h;h=m>>>0>255?255:m;break}case 64:{j=((ha(i,n&255)|0)>>>0)/255|0;i=((ha(h,n>>>8&255)|0)>>>0)/255|0;h=((ha(l,n>>>16&255)|0)>>>0)/255|0;break}default:{j=n&255;i=n>>>8&255;h=n>>>16&255}}k[f>>2]=i<<8|h<<16|j;if(!c)break;else{f=f+4|0;b=b+s|0}}c=k[a+28>>2]|0}d=q+(k[a+32>>2]|0)|0;b=c+-1|0;k[a+28>>2]=b;if(!c)break;q=d;f=d;c=k[a+24>>2]|0;d=o+r|0}k[a+20>>2]=d;return}function Hbb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0;c=k[a+28>>2]|0;l=(k[a+8>>2]<<16|0)/(c|0)|0;b=k[a+24>>2]|0;j=(k[a+4>>2]<<16|0)/(b|0)|0;k[a+28>>2]=c+-1;if(!c)return;f=k[a+20>>2]|0;i=f;c=c+-1|0;d=0;e=0;while(1){if((d|0)>65535){h=d+-65536|0;d=h-(h>>>16<<16)|0;e=e+1+(h>>>16)|0}if(!b)b=c;else{c=65536;g=0;h=-1;while(1){b=b+-1|0;if((c|0)>65535){c=c+-65536|0;h=h+1+(c>>>16)|0;c=c-(c>>>16<<16)|0;g=(k[a>>2]|0)+(ha(k[a+12>>2]|0,e)|0)+(h<<2)|0}m=k[g>>2]|0;k[f>>2]=m>>>8&65280|m>>>24|m<<8&16711680;if(!b)break;else{f=f+4|0;c=c+j|0}}b=k[a+28>>2]|0}f=i+(k[a+32>>2]|0)|0;c=b+-1|0;k[a+28>>2]=c;if(!b)break;b=k[a+24>>2]|0;i=f;d=d+l|0}k[a+20>>2]=f;return}function Ibb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0;l=k[a+52>>2]|0;n=k[a+28>>2]|0;k[a+28>>2]=n+-1;if(!n)return;c=k[a>>2]|0;b=k[a+20>>2]|0;m=c;n=b;while(1){d=k[a+24>>2]|0;a:do if(d|0){if(!(l&48)){h=d+-1|0;while(1){d=k[c>>2]|0;e=k[b>>2]|0;switch(l&112|0){case 16:{f=(d>>>8&255)+(((ha(e>>>16&255,d&255^255)|0)>>>0)/255|0)|0;g=(d>>>16&255)+(((ha(e>>>8&255,d&255^255)|0)>>>0)/255|0)|0;d=(d>>>24)+(((ha(d&255^255,e&255)|0)>>>0)/255|0)|0;break}case 32:{f=((d>>>8&255)+(e>>>16&255)|0)>>>0>255?255:(d>>>8&255)+(e>>>16&255)|0;g=((d>>>16&255)+(e>>>8&255)|0)>>>0>255?255:(d>>>16&255)+(e>>>8&255)|0;d=((d>>>24)+(e&255)|0)>>>0>255?255:(d>>>24)+(e&255)|0;break}case 64:{f=((ha(d>>>8&255,e>>>16&255)|0)>>>0)/255|0;g=((ha(d>>>16&255,e>>>8&255)|0)>>>0)/255|0;d=((ha(d>>>24,e&255)|0)>>>0)/255|0;break}default:{f=e>>>16&255;g=e>>>8&255;d=e&255}}k[b>>2]=g<<8|d|f<<16;if(!h)break a;else{h=h+-1|0;b=b+4|0;c=c+4|0}}}else j=d+-1|0;while(1){f=k[c>>2]|0;g=k[b>>2]|0;if((f&255|0)==255){d=f>>>8&255;e=f>>>16&255;i=f>>>24}else{d=((ha(f>>>8&255,f&255)|0)>>>0)/255|0;e=((ha(f>>>16&255,f&255)|0)>>>0)/255|0;i=((ha(f>>>24,f&255)|0)>>>0)/255|0}switch(l&112|0){case 16:{h=d+(((ha(g>>>16&255,f&255^255)|0)>>>0)/255|0)|0;e=e+(((ha(g>>>8&255,f&255^255)|0)>>>0)/255|0)|0;d=i+(((ha(f&255^255,g&255)|0)>>>0)/255|0)|0;break}case 32:{i=i+(g&255)|0;e=e+(g>>>8&255)|0;h=d+(g>>>16&255)|0;h=h>>>0>255?255:h;e=e>>>0>255?255:e;d=i>>>0>255?255:i;break}case 64:{h=((ha(d,g>>>16&255)|0)>>>0)/255|0;e=((ha(e,g>>>8&255)|0)>>>0)/255|0;d=((ha(i,g&255)|0)>>>0)/255|0;break}default:{h=g>>>16&255;e=g>>>8&255;d=g&255}}k[b>>2]=e<<8|d|h<<16;if(!j)break a;else{j=j+-1|0;b=b+4|0;c=c+4|0}}}while(0);c=m+(k[a+12>>2]|0)|0;b=n+(k[a+32>>2]|0)|0;n=k[a+28>>2]|0;k[a+28>>2]=n+-1;if(!n)break;else{m=c;n=b}}k[a>>2]=c;k[a+20>>2]=b;return}function Jbb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;q=k[a+52>>2]|0;b=k[a+28>>2]|0;s=(k[a+8>>2]<<16|0)/(b|0)|0;c=k[a+24>>2]|0;r=(k[a+4>>2]<<16|0)/(c|0)|0;k[a+28>>2]=b+-1;if(!b)return;p=k[a+20>>2]|0;b=b+-1|0;g=p;d=0;e=0;while(1){if((d|0)>65535){o=d+-65536|0;d=o-(o>>>16<<16)|0;e=e+1+(o>>>16)|0}if(!c)c=b;else{o=g;b=65536;f=0;g=-1;while(1){c=c+-1|0;if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;f=(k[a>>2]|0)+(ha(k[a+12>>2]|0,e)|0)+(g<<2)|0}j=k[f>>2]|0;l=k[o>>2]|0;if((q&48|0)!=0&(j&255|0)!=255){h=((ha(j>>>8&255,j&255)|0)>>>0)/255|0;i=((ha(j>>>16&255,j&255)|0)>>>0)/255|0;n=((ha(j>>>24,j&255)|0)>>>0)/255|0}else{h=j>>>8&255;i=j>>>16&255;n=j>>>24}switch(q&112|0){case 16:{m=h+(((ha(l>>>16&255,j&255^255)|0)>>>0)/255|0)|0;i=i+(((ha(l>>>8&255,j&255^255)|0)>>>0)/255|0)|0;h=n+(((ha(j&255^255,l&255)|0)>>>0)/255|0)|0;break}case 32:{n=n+(l&255)|0;i=i+(l>>>8&255)|0;m=h+(l>>>16&255)|0;m=m>>>0>255?255:m;i=i>>>0>255?255:i;h=n>>>0>255?255:n;break}case 64:{m=((ha(h,l>>>16&255)|0)>>>0)/255|0;i=((ha(i,l>>>8&255)|0)>>>0)/255|0;h=((ha(n,l&255)|0)>>>0)/255|0;break}default:{m=l>>>16&255;i=l>>>8&255;h=l&255}}k[o>>2]=i<<8|h|m<<16;if(!c)break;else{o=o+4|0;b=b+r|0}}c=k[a+28>>2]|0}f=p+(k[a+32>>2]|0)|0;b=c+-1|0;k[a+28>>2]=b;if(!c)break;g=f;c=k[a+24>>2]|0;p=f;d=d+s|0}k[a+20>>2]=f;return}function Kbb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=k[a+52>>2]|0;i=k[a+60>>2]|0;c=k[a+28>>2]|0;k[a+28>>2]=c+-1;if(!c)return;f=k[a>>2]|0;d=k[a+20>>2]|0;if(!(b&1)){g=f;h=d;e=c+-1|0;b=d;c=f;while(1){d=k[a+24>>2]|0;if(!d)d=e;else{while(1){d=d+-1|0;i=k[c>>2]|0;k[b>>2]=i>>>8&65280|i>>>24|i<<8&16711680;if(!d)break;else{b=b+4|0;c=c+4|0}}d=k[a+28>>2]|0}c=g+(k[a+12>>2]|0)|0;b=h+(k[a+32>>2]|0)|0;e=d+-1|0;k[a+28>>2]=e;if(!d)break;else{g=c;h=b}}k[a>>2]=c;k[a+20>>2]=b;return}else{g=f;h=d;e=c+-1|0;b=d;c=f;while(1){d=k[a+24>>2]|0;if(!d)d=e;else{while(1){d=d+-1|0;f=k[c>>2]|0;f=(((ha(f>>>16&255,i>>>8&255)|0)>>>0)/255|0)<<8|(((ha(f>>>24,i&255)|0)>>>0)/255|0)|(((ha(f>>>8&255,i>>>16&255)|0)>>>0)/255|0)<<16;k[b>>2]=f;if(!d)break;else{b=b+4|0;c=c+4|0}}d=k[a+28>>2]|0}c=g+(k[a+12>>2]|0)|0;b=h+(k[a+32>>2]|0)|0;e=d+-1|0;k[a+28>>2]=e;if(!d)break;else{g=c;h=b}}k[a>>2]=c;k[a+20>>2]=b;return}}function Lbb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0;i=k[a+52>>2]|0;n=k[a+60>>2]|0;j=k[a+28>>2]|0;l=(k[a+8>>2]<<16|0)/(j|0)|0;b=k[a+24>>2]|0;m=(k[a+4>>2]<<16|0)/(b|0)|0;k[a+28>>2]=j+-1;if(!j)return;e=k[a+20>>2]|0;j=e;c=0;d=0;while(1){if((c|0)>65535){g=c+-65536|0;h=g-(g>>>16<<16)|0;d=d+1+(g>>>16)|0}else h=c;c=b+-1|0;if(b|0)if(!(i&1)){g=e;b=65536;e=0;f=-1;while(1){if((b|0)>65535){b=b+-65536|0;f=f+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(k[a>>2]|0)+(ha(k[a+12>>2]|0,d)|0)+(f<<2)|0}o=k[e>>2]|0;k[g>>2]=o<<8&16711680|o>>>8&65280|o>>>24;if(!c)break;else{c=c+-1|0;g=g+4|0;b=b+m|0}}}else{g=e;b=65536;e=0;f=-1;while(1){if((b|0)>65535){b=b+-65536|0;f=f+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(k[a>>2]|0)+(ha(k[a+12>>2]|0,d)|0)+(f<<2)|0}o=k[e>>2]|0;o=(((ha(o>>>8&255,n>>>16&255)|0)>>>0)/255|0)<<16|(((ha(o>>>16&255,n>>>8&255)|0)>>>0)/255|0)<<8|(((ha(o>>>24,n&255)|0)>>>0)/255|0);k[g>>2]=o;if(!c)break;else{c=c+-1|0;g=g+4|0;b=b+m|0}}}b=j+(k[a+32>>2]|0)|0;o=k[a+28>>2]|0;k[a+28>>2]=o+-1;if(!o)break;j=b;e=b;b=k[a+24>>2]|0;c=h+l|0}k[a+20>>2]=b;return}function Mbb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0;l=k[a+52>>2]|0;m=k[a+60>>2]|0;b=k[a+28>>2]|0;k[a+28>>2]=b+-1;if(!b)return;c=k[a>>2]|0;j=k[a+20>>2]|0;n=c;o=j;e=b+-1|0;b=j;while(1){d=k[a+24>>2]|0;if(!d)d=e;else{while(1){d=d+-1|0;e=k[c>>2]|0;j=k[b>>2]|0;if(!(l&1)){f=e>>>8&255;g=e>>>16&255;h=e>>>24}else{f=((ha(e>>>8&255,m>>>16&255)|0)>>>0)/255|0;g=((ha(e>>>16&255,m>>>8&255)|0)>>>0)/255|0;h=((ha(e>>>24,m&255)|0)>>>0)/255|0}if(!(l&2))i=e&255;else i=((ha(e&255,m>>>24)|0)>>>0)/255|0;if((l&48|0)!=0&i>>>0<255){f=((ha(i,f)|0)>>>0)/255|0;e=((ha(i,g)|0)>>>0)/255|0;h=((ha(i,h)|0)>>>0)/255|0}else e=g;switch(l&112|0){case 16:{i=255-i|0;g=f+(((ha(i,j>>>16&255)|0)>>>0)/255|0)|0;f=e+(((ha(i,j>>>8&255)|0)>>>0)/255|0)|0;e=h+(((ha(i,j&255)|0)>>>0)/255|0)|0;break}case 32:{i=h+(j&255)|0;e=e+(j>>>8&255)|0;g=f+(j>>>16&255)|0;g=g>>>0>255?255:g;f=e>>>0>255?255:e;e=i>>>0>255?255:i;break}case 64:{g=((ha(f,j>>>16&255)|0)>>>0)/255|0;f=((ha(e,j>>>8&255)|0)>>>0)/255|0;e=((ha(h,j&255)|0)>>>0)/255|0;break}default:{g=j>>>16&255;f=j>>>8&255;e=j&255}}k[b>>2]=f<<8|e|g<<16;if(!d)break;else{b=b+4|0;c=c+4|0}}d=k[a+28>>2]|0}c=n+(k[a+12>>2]|0)|0;b=o+(k[a+32>>2]|0)|0;e=d+-1|0;k[a+28>>2]=e;if(!d)break;else{n=c;o=b}}k[a>>2]=c;k[a+20>>2]=b;return}function Nbb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;p=k[a+52>>2]|0;t=k[a+60>>2]|0;b=k[a+28>>2]|0;r=(k[a+8>>2]<<16|0)/(b|0)|0;c=k[a+24>>2]|0;s=(k[a+4>>2]<<16|0)/(c|0)|0;k[a+28>>2]=b+-1;if(!b)return;f=k[a+20>>2]|0;q=f;b=b+-1|0;d=0;e=0;while(1){if((d|0)>65535){n=d+-65536|0;o=n-(n>>>16<<16)|0;e=e+1+(n>>>16)|0}else o=d;if(!c)c=b;else{b=65536;d=0;g=-1;while(1){c=c+-1|0;if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;d=(k[a>>2]|0)+(ha(k[a+12>>2]|0,e)|0)+(g<<2)|0}h=k[d>>2]|0;n=k[f>>2]|0;if(!(p&1)){i=h>>>8&255;j=h>>>16&255;l=h>>>24}else{i=((ha(h>>>8&255,t>>>16&255)|0)>>>0)/255|0;j=((ha(h>>>16&255,t>>>8&255)|0)>>>0)/255|0;l=((ha(h>>>24,t&255)|0)>>>0)/255|0}if(!(p&2))m=h&255;else m=((ha(h&255,t>>>24)|0)>>>0)/255|0;if((p&48|0)!=0&m>>>0<255){i=((ha(m,i)|0)>>>0)/255|0;h=((ha(m,j)|0)>>>0)/255|0;l=((ha(m,l)|0)>>>0)/255|0}else h=j;switch(p&112|0){case 16:{m=255-m|0;j=i+(((ha(m,n>>>16&255)|0)>>>0)/255|0)|0;i=h+(((ha(m,n>>>8&255)|0)>>>0)/255|0)|0;h=l+(((ha(m,n&255)|0)>>>0)/255|0)|0;break}case 32:{m=l+(n&255)|0;h=h+(n>>>8&255)|0;j=i+(n>>>16&255)|0;j=j>>>0>255?255:j;i=h>>>0>255?255:h;h=m>>>0>255?255:m;break}case 64:{j=((ha(i,n>>>16&255)|0)>>>0)/255|0;i=((ha(h,n>>>8&255)|0)>>>0)/255|0;h=((ha(l,n&255)|0)>>>0)/255|0;break}default:{j=n>>>16&255;i=n>>>8&255;h=n&255}}k[f>>2]=i<<8|h|j<<16;if(!c)break;else{f=f+4|0;b=b+s|0}}c=k[a+28>>2]|0}d=q+(k[a+32>>2]|0)|0;b=c+-1|0;k[a+28>>2]=b;if(!c)break;q=d;f=d;c=k[a+24>>2]|0;d=o+r|0}k[a+20>>2]=d;return}function Obb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0;c=k[a+28>>2]|0;l=(k[a+8>>2]<<16|0)/(c|0)|0;b=k[a+24>>2]|0;j=(k[a+4>>2]<<16|0)/(b|0)|0;k[a+28>>2]=c+-1;if(!c)return;f=k[a+20>>2]|0;i=f;c=c+-1|0;d=0;e=0;while(1){if((d|0)>65535){h=d+-65536|0;d=h-(h>>>16<<16)|0;e=e+1+(h>>>16)|0}if(!b)b=c;else{c=65536;g=0;h=-1;while(1){b=b+-1|0;if((c|0)>65535){c=c+-65536|0;h=h+1+(c>>>16)|0;c=c-(c>>>16<<16)|0;g=(k[a>>2]|0)+(ha(k[a+12>>2]|0,e)|0)+(h<<2)|0}m=k[g>>2]|0;k[f>>2]=m>>>24<<16|m<<24|m>>>8&65280|m>>>8&255;if(!b)break;else{f=f+4|0;c=c+j|0}}b=k[a+28>>2]|0}f=i+(k[a+32>>2]|0)|0;c=b+-1|0;k[a+28>>2]=c;if(!b)break;b=k[a+24>>2]|0;i=f;d=d+l|0}k[a+20>>2]=f;return}function Pbb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0;m=k[a+52>>2]|0;o=k[a+28>>2]|0;k[a+28>>2]=o+-1;if(!o)return;c=k[a>>2]|0;b=k[a+20>>2]|0;n=c;o=b;while(1){d=k[a+24>>2]|0;a:do if(d|0){if(!(m&48)){i=d+-1|0;while(1){d=k[c>>2]|0;e=k[b>>2]|0;switch(m&112|0){case 16:{f=(((ha(d&255^255,e>>>24)|0)>>>0)/255|0)+(d&255)|0;g=(d>>>8&255)+(((ha(d&255^255,e&255)|0)>>>0)/255|0)|0;h=(d>>>16&255)+(((ha(e>>>8&255,d&255^255)|0)>>>0)/255|0)|0;d=(d>>>24)+(((ha(e>>>16&255,d&255^255)|0)>>>0)/255|0)|0;break}case 32:{f=e>>>24;g=((d>>>8&255)+(e&255)|0)>>>0>255?255:(d>>>8&255)+(e&255)|0;h=((d>>>16&255)+(e>>>8&255)|0)>>>0>255?255:(d>>>16&255)+(e>>>8&255)|0;d=((d>>>24)+(e>>>16&255)|0)>>>0>255?255:(d>>>24)+(e>>>16&255)|0;break}case 64:{f=e>>>24;g=((ha(d>>>8&255,e&255)|0)>>>0)/255|0;h=((ha(d>>>16&255,e>>>8&255)|0)>>>0)/255|0;d=((ha(d>>>24,e>>>16&255)|0)>>>0)/255|0;break}default:{f=e>>>24;g=e&255;h=e>>>8&255;d=e>>>16&255}}k[b>>2]=h<<8|d<<16|g|f<<24;if(!i)break a;else{i=i+-1|0;b=b+4|0;c=c+4|0}}}else l=d+-1|0;while(1){f=k[c>>2]|0;g=k[b>>2]|0;if((f&255|0)==255){d=f>>>8&255;e=f>>>16&255;i=f>>>24}else{d=((ha(f>>>8&255,f&255)|0)>>>0)/255|0;e=((ha(f>>>16&255,f&255)|0)>>>0)/255|0;i=((ha(f>>>24,f&255)|0)>>>0)/255|0}switch(m&112|0){case 16:{j=(((ha(f&255^255,g>>>24)|0)>>>0)/255|0)+(f&255)|0;h=d+(((ha(f&255^255,g&255)|0)>>>0)/255|0)|0;e=e+(((ha(g>>>8&255,f&255^255)|0)>>>0)/255|0)|0;d=i+(((ha(g>>>16&255,f&255^255)|0)>>>0)/255|0)|0;break}case 32:{i=i+(g>>>16&255)|0;e=e+(g>>>8&255)|0;h=d+(g&255)|0;j=g>>>24;h=h>>>0>255?255:h;e=e>>>0>255?255:e;d=i>>>0>255?255:i;break}case 64:{j=g>>>24;h=((ha(d,g&255)|0)>>>0)/255|0;e=((ha(e,g>>>8&255)|0)>>>0)/255|0;d=((ha(i,g>>>16&255)|0)>>>0)/255|0;break}default:{j=g>>>24;h=g&255;e=g>>>8&255;d=g>>>16&255}}k[b>>2]=e<<8|d<<16|h|j<<24;if(!l)break a;else{l=l+-1|0;b=b+4|0;c=c+4|0}}}while(0);c=n+(k[a+12>>2]|0)|0;b=o+(k[a+32>>2]|0)|0;o=k[a+28>>2]|0;k[a+28>>2]=o+-1;if(!o)break;else{n=c;o=b}}k[a>>2]=c;k[a+20>>2]=b;return}function Qbb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;q=k[a+52>>2]|0;b=k[a+28>>2]|0;t=(k[a+8>>2]<<16|0)/(b|0)|0;c=k[a+24>>2]|0;s=(k[a+4>>2]<<16|0)/(c|0)|0;k[a+28>>2]=b+-1;if(!b)return;f=k[a+20>>2]|0;r=f;b=b+-1|0;d=0;e=0;while(1){if((d|0)>65535){o=d+-65536|0;p=o-(o>>>16<<16)|0;e=e+1+(o>>>16)|0}else p=d;if(!c)c=b;else{b=65536;d=0;g=-1;while(1){c=c+-1|0;if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;d=(k[a>>2]|0)+(ha(k[a+12>>2]|0,e)|0)+(g<<2)|0}j=k[d>>2]|0;l=k[f>>2]|0;if((q&48|0)!=0&(j&255|0)!=255){h=((ha(j>>>8&255,j&255)|0)>>>0)/255|0;i=((ha(j>>>16&255,j&255)|0)>>>0)/255|0;n=((ha(j>>>24,j&255)|0)>>>0)/255|0}else{h=j>>>8&255;i=j>>>16&255;n=j>>>24}switch(q&112|0){case 16:{o=(((ha(j&255^255,l>>>24)|0)>>>0)/255|0)+(j&255)|0;m=h+(((ha(j&255^255,l&255)|0)>>>0)/255|0)|0;i=i+(((ha(l>>>8&255,j&255^255)|0)>>>0)/255|0)|0;h=n+(((ha(l>>>16&255,j&255^255)|0)>>>0)/255|0)|0;break}case 32:{n=n+(l>>>16&255)|0;i=i+(l>>>8&255)|0;m=h+(l&255)|0;o=l>>>24;m=m>>>0>255?255:m;i=i>>>0>255?255:i;h=n>>>0>255?255:n;break}case 64:{o=l>>>24;m=((ha(h,l&255)|0)>>>0)/255|0;i=((ha(i,l>>>8&255)|0)>>>0)/255|0;h=((ha(n,l>>>16&255)|0)>>>0)/255|0;break}default:{o=l>>>24;m=l&255;i=l>>>8&255;h=l>>>16&255}}k[f>>2]=i<<8|h<<16|m|o<<24;if(!c)break;else{f=f+4|0;b=b+s|0}}c=k[a+28>>2]|0}d=r+(k[a+32>>2]|0)|0;b=c+-1|0;k[a+28>>2]=b;if(!c)break;r=d;f=d;c=k[a+24>>2]|0;d=p+t|0}k[a+20>>2]=d;return}function Rbb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=k[a+52>>2]|0;j=k[a+60>>2]|0;h=k[a+28>>2]|0;k[a+28>>2]=h+-1;if(!h)return;c=k[a>>2]|0;b=k[a+20>>2]|0;e=b;g=c;while(1){d=k[a+24>>2]|0;if(d|0)if(!(i&1)){h=d+-1|0;while(1){d=k[g>>2]|0;if(!(i&2))f=d&255;else f=((ha(d&255,j>>>24)|0)>>>0)/255|0;k[e>>2]=d>>>8&65280|d>>>24<<16|d>>>8&255|f<<24;if(!h)break;else{h=h+-1|0;e=e+4|0;g=g+4|0}}}else if(!(i&2)){f=d+-1|0;d=g;while(1){h=k[d>>2]|0;h=(((ha(h>>>16&255,j>>>8&255)|0)>>>0)/255|0)<<8|(((ha(h>>>24,j&255)|0)>>>0)/255|0)<<16|(((ha(h>>>8&255,j>>>16&255)|0)>>>0)/255|0)|h<<24;k[e>>2]=h;if(!f)break;else{f=f+-1|0;e=e+4|0;d=d+4|0}}}else{f=d+-1|0;d=g;while(1){h=k[d>>2]|0;h=(((ha(h>>>16&255,j>>>8&255)|0)>>>0)/255|0)<<8|(((ha(h>>>24,j&255)|0)>>>0)/255|0)<<16|(((ha(h>>>8&255,j>>>16&255)|0)>>>0)/255|0)|(((ha(h&255,j>>>24)|0)>>>0)/255|0)<<24;k[e>>2]=h;if(!f)break;else{f=f+-1|0;e=e+4|0;d=d+4|0}}}c=c+(k[a+12>>2]|0)|0;b=b+(k[a+32>>2]|0)|0;h=k[a+28>>2]|0;k[a+28>>2]=h+-1;if(!h)break;else{e=b;g=c}}k[a>>2]=c;k[a+20>>2]=b;return}function Sbb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;n=k[a+52>>2]|0;r=k[a+60>>2]|0;o=k[a+28>>2]|0;p=(k[a+8>>2]<<16|0)/(o|0)|0;b=k[a+24>>2]|0;q=(k[a+4>>2]<<16|0)/(b|0)|0;k[a+28>>2]=o+-1;if(!o)return;e=k[a+20>>2]|0;o=e;c=0;d=0;while(1){if((c|0)>65535){l=c+-65536|0;m=l-(l>>>16<<16)|0;d=d+1+(l>>>16)|0}else m=c;c=b+-1|0;if(b|0)if(!(n&1)){i=e;b=65536;e=0;f=-1;while(1){if((b|0)>65535){g=b+-65536|0;f=f+1+(g>>>16)|0;g=g-(g>>>16<<16)|0;h=(k[a>>2]|0)+(ha(k[a+12>>2]|0,d)|0)+(f<<2)|0}else{g=b;h=e}b=k[h>>2]|0;if(!(n&2))e=b&255;else e=((ha(b&255,r>>>24)|0)>>>0)/255|0;k[i>>2]=b>>>8&65535|b>>>24<<16|e<<24;if(!c)break;else{c=c+-1|0;i=i+4|0;b=g+q|0;e=h}}}else{l=e;b=65536;e=0;f=-1;while(1){if((b|0)>65535){b=b+-65536|0;f=f+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(k[a>>2]|0)+(ha(k[a+12>>2]|0,d)|0)+(f<<2)|0}g=k[e>>2]|0;h=((ha(g>>>24,r&255)|0)>>>0)/255|0;i=((ha(g>>>16&255,r>>>8&255)|0)>>>0)/255|0;j=((ha(g>>>8&255,r>>>16&255)|0)>>>0)/255|0;if(!(n&2))g=g&255;else g=((ha(g&255,r>>>24)|0)>>>0)/255|0;k[l>>2]=j|i<<8|h<<16|g<<24;if(!c)break;else{c=c+-1|0;l=l+4|0;b=b+q|0}}}b=o+(k[a+32>>2]|0)|0;o=k[a+28>>2]|0;k[a+28>>2]=o+-1;if(!o)break;o=b;e=b;b=k[a+24>>2]|0;c=m+p|0}k[a+20>>2]=b;return}function Tbb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0;o=k[a+52>>2]|0;p=k[a+60>>2]|0;b=k[a+28>>2]|0;k[a+28>>2]=b+-1;if(!b)return;c=k[a>>2]|0;n=k[a+20>>2]|0;e=b+-1|0;f=n;g=c;b=n;while(1){d=k[a+24>>2]|0;if(!d)d=e;else{while(1){d=d+-1|0;e=k[g>>2]|0;n=k[f>>2]|0;if(!(o&1)){h=e>>>8&255;i=e>>>16&255;j=e>>>24}else{h=((ha(e>>>8&255,p>>>16&255)|0)>>>0)/255|0;i=((ha(e>>>16&255,p>>>8&255)|0)>>>0)/255|0;j=((ha(e>>>24,p&255)|0)>>>0)/255|0}if(!(o&2))e=e&255;else e=((ha(e&255,p>>>24)|0)>>>0)/255|0;if((o&48|0)!=0&e>>>0<255){h=((ha(e,h)|0)>>>0)/255|0;l=((ha(e,i)|0)>>>0)/255|0;m=((ha(e,j)|0)>>>0)/255|0}else{l=i;m=j}switch(o&112|0){case 16:{q=255-e|0;j=(((ha(q,n>>>24)|0)>>>0)/255|0)+e|0;i=h+(((ha(q,n&255)|0)>>>0)/255|0)|0;h=l+(((ha(q,n>>>8&255)|0)>>>0)/255|0)|0;e=m+(((ha(q,n>>>16&255)|0)>>>0)/255|0)|0;break}case 32:{e=m+(n>>>16&255)|0;q=l+(n>>>8&255)|0;i=h+(n&255)|0;j=n>>>24;i=i>>>0>255?255:i;h=q>>>0>255?255:q;e=e>>>0>255?255:e;break}case 64:{j=n>>>24;i=((ha(h,n&255)|0)>>>0)/255|0;h=((ha(l,n>>>8&255)|0)>>>0)/255|0;e=((ha(m,n>>>16&255)|0)>>>0)/255|0;break}default:{j=n>>>24;i=n&255;h=n>>>8&255;e=n>>>16&255}}k[f>>2]=h<<8|e<<16|i|j<<24;if(!d)break;else{f=f+4|0;g=g+4|0}}d=k[a+28>>2]|0}c=c+(k[a+12>>2]|0)|0;b=b+(k[a+32>>2]|0)|0;e=d+-1|0;k[a+28>>2]=e;if(!d)break;else{f=b;g=c}}k[a>>2]=c;k[a+20>>2]=b;return}function Ubb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;q=k[a+52>>2]|0;u=k[a+60>>2]|0;b=k[a+28>>2]|0;s=(k[a+8>>2]<<16|0)/(b|0)|0;c=k[a+24>>2]|0;t=(k[a+4>>2]<<16|0)/(c|0)|0;k[a+28>>2]=b+-1;if(!b)return;f=k[a+20>>2]|0;r=f;b=b+-1|0;d=0;e=0;while(1){if((d|0)>65535){o=d+-65536|0;p=o-(o>>>16<<16)|0;e=e+1+(o>>>16)|0}else p=d;if(!c)c=b;else{b=65536;d=0;g=-1;while(1){c=c+-1|0;if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;d=(k[a>>2]|0)+(ha(k[a+12>>2]|0,e)|0)+(g<<2)|0}h=k[d>>2]|0;o=k[f>>2]|0;if(!(q&1)){i=h>>>8&255;j=h>>>16&255;l=h>>>24}else{i=((ha(h>>>8&255,u>>>16&255)|0)>>>0)/255|0;j=((ha(h>>>16&255,u>>>8&255)|0)>>>0)/255|0;l=((ha(h>>>24,u&255)|0)>>>0)/255|0}if(!(q&2))h=h&255;else h=((ha(h&255,u>>>24)|0)>>>0)/255|0;if((q&48|0)!=0&h>>>0<255){i=((ha(h,i)|0)>>>0)/255|0;m=((ha(h,j)|0)>>>0)/255|0;n=((ha(h,l)|0)>>>0)/255|0}else{m=j;n=l}switch(q&112|0){case 16:{v=255-h|0;l=(((ha(v,o>>>24)|0)>>>0)/255|0)+h|0;j=i+(((ha(v,o&255)|0)>>>0)/255|0)|0;i=m+(((ha(v,o>>>8&255)|0)>>>0)/255|0)|0;h=n+(((ha(v,o>>>16&255)|0)>>>0)/255|0)|0;break}case 32:{h=n+(o>>>16&255)|0;v=m+(o>>>8&255)|0;j=i+(o&255)|0;l=o>>>24;j=j>>>0>255?255:j;i=v>>>0>255?255:v;h=h>>>0>255?255:h;break}case 64:{l=o>>>24;j=((ha(i,o&255)|0)>>>0)/255|0;i=((ha(m,o>>>8&255)|0)>>>0)/255|0;h=((ha(n,o>>>16&255)|0)>>>0)/255|0;break}default:{l=o>>>24;j=o&255;i=o>>>8&255;h=o>>>16&255}}k[f>>2]=i<<8|h<<16|j|l<<24;if(!c)break;else{f=f+4|0;b=b+t|0}}c=k[a+28>>2]|0}d=r+(k[a+32>>2]|0)|0;b=c+-1|0;k[a+28>>2]=b;if(!c)break;r=d;f=d;c=k[a+24>>2]|0;d=p+s|0}k[a+20>>2]=d;return}function Vbb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0;c=k[a+28>>2]|0;l=(k[a+8>>2]<<16|0)/(c|0)|0;b=k[a+24>>2]|0;j=(k[a+4>>2]<<16|0)/(b|0)|0;k[a+28>>2]=c+-1;if(!c)return;f=k[a+20>>2]|0;i=f;c=c+-1|0;d=0;e=0;while(1){if((d|0)>65535){h=d+-65536|0;d=h-(h>>>16<<16)|0;e=e+1+(h>>>16)|0}if(!b)b=c;else{c=65536;g=0;h=-1;while(1){b=b+-1|0;if((c|0)>65535){c=c+-65536|0;h=h+1+(c>>>16)|0;c=c-(c>>>16<<16)|0;g=(k[a>>2]|0)+(ha(k[a+12>>2]|0,e)|0)+(h<<2)|0}m=k[g>>2]|0;k[f>>2]=m<<16&16711680|m&65280|m>>>16&255;if(!b)break;else{f=f+4|0;c=c+j|0}}b=k[a+28>>2]|0}f=i+(k[a+32>>2]|0)|0;c=b+-1|0;k[a+28>>2]=c;if(!b)break;b=k[a+24>>2]|0;i=f;d=d+l|0}k[a+20>>2]=f;return}function Wbb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0;l=k[a+52>>2]|0;n=k[a+28>>2]|0;k[a+28>>2]=n+-1;if(!n)return;c=k[a>>2]|0;b=k[a+20>>2]|0;m=c;n=b;while(1){d=k[a+24>>2]|0;a:do if(d|0){if(!(l&48)){h=d+-1|0;while(1){d=k[c>>2]|0;e=k[b>>2]|0;switch(l&112|0){case 16:{f=(d>>>16&255)+(((ha(d>>>24^255,e&255)|0)>>>0)/255|0)|0;g=(d>>>8&255)+(((ha(e>>>8&255,d>>>24^255)|0)>>>0)/255|0)|0;d=(d&255)+(((ha(e>>>16&255,d>>>24^255)|0)>>>0)/255|0)|0;break}case 32:{f=((d>>>16&255)+(e&255)|0)>>>0>255?255:(d>>>16&255)+(e&255)|0;g=((d>>>8&255)+(e>>>8&255)|0)>>>0>255?255:(d>>>8&255)+(e>>>8&255)|0;d=((d&255)+(e>>>16&255)|0)>>>0>255?255:(d&255)+(e>>>16&255)|0;break}case 64:{f=((ha(d>>>16&255,e&255)|0)>>>0)/255|0;g=((ha(d>>>8&255,e>>>8&255)|0)>>>0)/255|0;d=((ha(d&255,e>>>16&255)|0)>>>0)/255|0;break}default:{f=e&255;g=e>>>8&255;d=e>>>16&255}}k[b>>2]=g<<8|d<<16|f;if(!h)break a;else{h=h+-1|0;b=b+4|0;c=c+4|0}}}else j=d+-1|0;while(1){f=k[c>>2]|0;g=k[b>>2]|0;if((f>>>24|0)==255){d=f>>>16&255;e=f>>>8&255;i=f&255}else{d=((ha(f>>>16&255,f>>>24)|0)>>>0)/255|0;e=((ha(f>>>8&255,f>>>24)|0)>>>0)/255|0;i=((ha(f&255,f>>>24)|0)>>>0)/255|0}switch(l&112|0){case 16:{h=d+(((ha(f>>>24^255,g&255)|0)>>>0)/255|0)|0;e=e+(((ha(g>>>8&255,f>>>24^255)|0)>>>0)/255|0)|0;d=i+(((ha(g>>>16&255,f>>>24^255)|0)>>>0)/255|0)|0;break}case 32:{i=i+(g>>>16&255)|0;e=e+(g>>>8&255)|0;h=d+(g&255)|0;h=h>>>0>255?255:h;e=e>>>0>255?255:e;d=i>>>0>255?255:i;break}case 64:{h=((ha(d,g&255)|0)>>>0)/255|0;e=((ha(e,g>>>8&255)|0)>>>0)/255|0;d=((ha(i,g>>>16&255)|0)>>>0)/255|0;break}default:{h=g&255;e=g>>>8&255;d=g>>>16&255}}k[b>>2]=e<<8|d<<16|h;if(!j)break a;else{j=j+-1|0;b=b+4|0;c=c+4|0}}}while(0);c=m+(k[a+12>>2]|0)|0;b=n+(k[a+32>>2]|0)|0;n=k[a+28>>2]|0;k[a+28>>2]=n+-1;if(!n)break;else{m=c;n=b}}k[a>>2]=c;k[a+20>>2]=b;return}function Xbb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;q=k[a+52>>2]|0;b=k[a+28>>2]|0;s=(k[a+8>>2]<<16|0)/(b|0)|0;c=k[a+24>>2]|0;r=(k[a+4>>2]<<16|0)/(c|0)|0;k[a+28>>2]=b+-1;if(!b)return;p=k[a+20>>2]|0;b=b+-1|0;g=p;d=0;e=0;while(1){if((d|0)>65535){o=d+-65536|0;d=o-(o>>>16<<16)|0;e=e+1+(o>>>16)|0}if(!c)c=b;else{o=g;b=65536;f=0;g=-1;while(1){c=c+-1|0;if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;f=(k[a>>2]|0)+(ha(k[a+12>>2]|0,e)|0)+(g<<2)|0}j=k[f>>2]|0;l=k[o>>2]|0;if((q&48|0)!=0&(j>>>24|0)!=255){h=((ha(j>>>16&255,j>>>24)|0)>>>0)/255|0;i=((ha(j>>>8&255,j>>>24)|0)>>>0)/255|0;n=((ha(j&255,j>>>24)|0)>>>0)/255|0}else{h=j>>>16&255;i=j>>>8&255;n=j&255}switch(q&112|0){case 16:{m=h+(((ha(j>>>24^255,l&255)|0)>>>0)/255|0)|0;i=i+(((ha(l>>>8&255,j>>>24^255)|0)>>>0)/255|0)|0;h=n+(((ha(l>>>16&255,j>>>24^255)|0)>>>0)/255|0)|0;break}case 32:{n=n+(l>>>16&255)|0;i=i+(l>>>8&255)|0;m=h+(l&255)|0;m=m>>>0>255?255:m;i=i>>>0>255?255:i;h=n>>>0>255?255:n;break}case 64:{m=((ha(h,l&255)|0)>>>0)/255|0;i=((ha(i,l>>>8&255)|0)>>>0)/255|0;h=((ha(n,l>>>16&255)|0)>>>0)/255|0;break}default:{m=l&255;i=l>>>8&255;h=l>>>16&255}}k[o>>2]=i<<8|h<<16|m;if(!c)break;else{o=o+4|0;b=b+r|0}}c=k[a+28>>2]|0}f=p+(k[a+32>>2]|0)|0;b=c+-1|0;k[a+28>>2]=b;if(!c)break;g=f;c=k[a+24>>2]|0;p=f;d=d+s|0}k[a+20>>2]=f;return}function Ybb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=k[a+52>>2]|0;i=k[a+60>>2]|0;c=k[a+28>>2]|0;k[a+28>>2]=c+-1;if(!c)return;f=k[a>>2]|0;d=k[a+20>>2]|0;if(!(b&1)){g=f;h=d;e=c+-1|0;b=d;c=f;while(1){d=k[a+24>>2]|0;if(!d)d=e;else{while(1){d=d+-1|0;i=k[c>>2]|0;k[b>>2]=i&65280|i<<16&16711680|i>>>16&255;if(!d)break;else{b=b+4|0;c=c+4|0}}d=k[a+28>>2]|0}c=g+(k[a+12>>2]|0)|0;b=h+(k[a+32>>2]|0)|0;e=d+-1|0;k[a+28>>2]=e;if(!d)break;else{g=c;h=b}}k[a>>2]=c;k[a+20>>2]=b;return}else{g=f;h=d;e=c+-1|0;b=d;c=f;while(1){d=k[a+24>>2]|0;if(!d)d=e;else{while(1){d=d+-1|0;f=k[c>>2]|0;f=(((ha(f>>>8&255,i>>>8&255)|0)>>>0)/255|0)<<8|(((ha(f&255,i&255)|0)>>>0)/255|0)<<16|(((ha(f>>>16&255,i>>>16&255)|0)>>>0)/255|0);k[b>>2]=f;if(!d)break;else{b=b+4|0;c=c+4|0}}d=k[a+28>>2]|0}c=g+(k[a+12>>2]|0)|0;b=h+(k[a+32>>2]|0)|0;e=d+-1|0;k[a+28>>2]=e;if(!d)break;else{g=c;h=b}}k[a>>2]=c;k[a+20>>2]=b;return}}function Zbb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0;i=k[a+52>>2]|0;n=k[a+60>>2]|0;j=k[a+28>>2]|0;l=(k[a+8>>2]<<16|0)/(j|0)|0;b=k[a+24>>2]|0;m=(k[a+4>>2]<<16|0)/(b|0)|0;k[a+28>>2]=j+-1;if(!j)return;e=k[a+20>>2]|0;j=e;c=0;d=0;while(1){if((c|0)>65535){g=c+-65536|0;h=g-(g>>>16<<16)|0;d=d+1+(g>>>16)|0}else h=c;c=b+-1|0;if(b|0)if(!(i&1)){g=e;b=65536;e=0;f=-1;while(1){if((b|0)>65535){b=b+-65536|0;f=f+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(k[a>>2]|0)+(ha(k[a+12>>2]|0,d)|0)+(f<<2)|0}o=k[e>>2]|0;k[g>>2]=o>>>16&255|o&65280|o<<16&16711680;if(!c)break;else{c=c+-1|0;g=g+4|0;b=b+m|0}}}else{g=e;b=65536;e=0;f=-1;while(1){if((b|0)>65535){b=b+-65536|0;f=f+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(k[a>>2]|0)+(ha(k[a+12>>2]|0,d)|0)+(f<<2)|0}o=k[e>>2]|0;o=((ha(o>>>16&255,n>>>16&255)|0)>>>0)/255|0|(((ha(o>>>8&255,n>>>8&255)|0)>>>0)/255|0)<<8|(((ha(o&255,n&255)|0)>>>0)/255|0)<<16;k[g>>2]=o;if(!c)break;else{c=c+-1|0;g=g+4|0;b=b+m|0}}}b=j+(k[a+32>>2]|0)|0;o=k[a+28>>2]|0;k[a+28>>2]=o+-1;if(!o)break;j=b;e=b;b=k[a+24>>2]|0;c=h+l|0}k[a+20>>2]=b;return}function _bb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0;l=k[a+52>>2]|0;m=k[a+60>>2]|0;b=k[a+28>>2]|0;k[a+28>>2]=b+-1;if(!b)return;c=k[a>>2]|0;j=k[a+20>>2]|0;n=c;o=j;e=b+-1|0;b=j;while(1){d=k[a+24>>2]|0;if(!d)d=e;else{while(1){d=d+-1|0;e=k[c>>2]|0;j=k[b>>2]|0;if(!(l&1)){f=e>>>16&255;g=e>>>8&255;h=e&255}else{f=((ha(e>>>16&255,m>>>16&255)|0)>>>0)/255|0;g=((ha(e>>>8&255,m>>>8&255)|0)>>>0)/255|0;h=((ha(e&255,m&255)|0)>>>0)/255|0}if(!(l&2))i=e>>>24;else i=((ha(e>>>24,m>>>24)|0)>>>0)/255|0;if((l&48|0)!=0&i>>>0<255){f=((ha(i,f)|0)>>>0)/255|0;e=((ha(i,g)|0)>>>0)/255|0;h=((ha(i,h)|0)>>>0)/255|0}else e=g;switch(l&112|0){case 16:{i=255-i|0;g=f+(((ha(i,j&255)|0)>>>0)/255|0)|0;f=e+(((ha(i,j>>>8&255)|0)>>>0)/255|0)|0;e=h+(((ha(i,j>>>16&255)|0)>>>0)/255|0)|0;break}case 32:{i=h+(j>>>16&255)|0;e=e+(j>>>8&255)|0;g=f+(j&255)|0;g=g>>>0>255?255:g;f=e>>>0>255?255:e;e=i>>>0>255?255:i;break}case 64:{g=((ha(f,j&255)|0)>>>0)/255|0;f=((ha(e,j>>>8&255)|0)>>>0)/255|0;e=((ha(h,j>>>16&255)|0)>>>0)/255|0;break}default:{g=j&255;f=j>>>8&255;e=j>>>16&255}}k[b>>2]=f<<8|e<<16|g;if(!d)break;else{b=b+4|0;c=c+4|0}}d=k[a+28>>2]|0}c=n+(k[a+12>>2]|0)|0;b=o+(k[a+32>>2]|0)|0;e=d+-1|0;k[a+28>>2]=e;if(!d)break;else{n=c;o=b}}k[a>>2]=c;k[a+20>>2]=b;return}function $bb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;p=k[a+52>>2]|0;t=k[a+60>>2]|0;b=k[a+28>>2]|0;r=(k[a+8>>2]<<16|0)/(b|0)|0;c=k[a+24>>2]|0;s=(k[a+4>>2]<<16|0)/(c|0)|0;k[a+28>>2]=b+-1;if(!b)return;f=k[a+20>>2]|0;q=f;b=b+-1|0;d=0;e=0;while(1){if((d|0)>65535){n=d+-65536|0;o=n-(n>>>16<<16)|0;e=e+1+(n>>>16)|0}else o=d;if(!c)c=b;else{b=65536;d=0;g=-1;while(1){c=c+-1|0;if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;d=(k[a>>2]|0)+(ha(k[a+12>>2]|0,e)|0)+(g<<2)|0}h=k[d>>2]|0;n=k[f>>2]|0;if(!(p&1)){i=h>>>16&255;j=h>>>8&255;l=h&255}else{i=((ha(h>>>16&255,t>>>16&255)|0)>>>0)/255|0;j=((ha(h>>>8&255,t>>>8&255)|0)>>>0)/255|0;l=((ha(h&255,t&255)|0)>>>0)/255|0}if(!(p&2))m=h>>>24;else m=((ha(h>>>24,t>>>24)|0)>>>0)/255|0;if((p&48|0)!=0&m>>>0<255){i=((ha(m,i)|0)>>>0)/255|0;h=((ha(m,j)|0)>>>0)/255|0;l=((ha(m,l)|0)>>>0)/255|0}else h=j;switch(p&112|0){case 16:{m=255-m|0;j=i+(((ha(m,n&255)|0)>>>0)/255|0)|0;i=h+(((ha(m,n>>>8&255)|0)>>>0)/255|0)|0;h=l+(((ha(m,n>>>16&255)|0)>>>0)/255|0)|0;break}case 32:{m=l+(n>>>16&255)|0;h=h+(n>>>8&255)|0;j=i+(n&255)|0;j=j>>>0>255?255:j;i=h>>>0>255?255:h;h=m>>>0>255?255:m;break}case 64:{j=((ha(i,n&255)|0)>>>0)/255|0;i=((ha(h,n>>>8&255)|0)>>>0)/255|0;h=((ha(l,n>>>16&255)|0)>>>0)/255|0;break}default:{j=n&255;i=n>>>8&255;h=n>>>16&255}}k[f>>2]=i<<8|h<<16|j;if(!c)break;else{f=f+4|0;b=b+s|0}}c=k[a+28>>2]|0}d=q+(k[a+32>>2]|0)|0;b=c+-1|0;k[a+28>>2]=b;if(!c)break;q=d;f=d;c=k[a+24>>2]|0;d=o+r|0}k[a+20>>2]=d;return}function acb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0;c=k[a+28>>2]|0;l=(k[a+8>>2]<<16|0)/(c|0)|0;b=k[a+24>>2]|0;j=(k[a+4>>2]<<16|0)/(b|0)|0;k[a+28>>2]=c+-1;if(!c)return;f=k[a+20>>2]|0;i=f;c=c+-1|0;d=0;e=0;while(1){if((d|0)>65535){h=d+-65536|0;d=h-(h>>>16<<16)|0;e=e+1+(h>>>16)|0}if(!b)b=c;else{c=65536;g=0;h=-1;while(1){b=b+-1|0;if((c|0)>65535){c=c+-65536|0;h=h+1+(c>>>16)|0;c=c-(c>>>16<<16)|0;g=(k[a>>2]|0)+(ha(k[a+12>>2]|0,e)|0)+(h<<2)|0}k[f>>2]=k[g>>2]&16777215;if(!b)break;else{f=f+4|0;c=c+j|0}}b=k[a+28>>2]|0}f=i+(k[a+32>>2]|0)|0;c=b+-1|0;k[a+28>>2]=c;if(!b)break;b=k[a+24>>2]|0;i=f;d=d+l|0}k[a+20>>2]=f;return}function bcb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0;l=k[a+52>>2]|0;n=k[a+28>>2]|0;k[a+28>>2]=n+-1;if(!n)return;c=k[a>>2]|0;b=k[a+20>>2]|0;m=c;n=b;while(1){d=k[a+24>>2]|0;a:do if(d|0){if(!(l&48)){h=d+-1|0;while(1){d=k[c>>2]|0;e=k[b>>2]|0;switch(l&112|0){case 16:{f=(d>>>16&255)+(((ha(e>>>16&255,d>>>24^255)|0)>>>0)/255|0)|0;g=(d>>>8&255)+(((ha(e>>>8&255,d>>>24^255)|0)>>>0)/255|0)|0;d=(d&255)+(((ha(d>>>24^255,e&255)|0)>>>0)/255|0)|0;break}case 32:{f=((d>>>16&255)+(e>>>16&255)|0)>>>0>255?255:(d>>>16&255)+(e>>>16&255)|0;g=((d>>>8&255)+(e>>>8&255)|0)>>>0>255?255:(d>>>8&255)+(e>>>8&255)|0;d=((d&255)+(e&255)|0)>>>0>255?255:(d&255)+(e&255)|0;break}case 64:{f=((ha(d>>>16&255,e>>>16&255)|0)>>>0)/255|0;g=((ha(d>>>8&255,e>>>8&255)|0)>>>0)/255|0;d=((ha(d&255,e&255)|0)>>>0)/255|0;break}default:{f=e>>>16&255;g=e>>>8&255;d=e&255}}k[b>>2]=g<<8|d|f<<16;if(!h)break a;else{h=h+-1|0;b=b+4|0;c=c+4|0}}}else j=d+-1|0;while(1){f=k[c>>2]|0;g=k[b>>2]|0;if((f>>>24|0)==255){d=f>>>16&255;e=f>>>8&255;i=f&255}else{d=((ha(f>>>16&255,f>>>24)|0)>>>0)/255|0;e=((ha(f>>>8&255,f>>>24)|0)>>>0)/255|0;i=((ha(f&255,f>>>24)|0)>>>0)/255|0}switch(l&112|0){case 16:{h=d+(((ha(g>>>16&255,f>>>24^255)|0)>>>0)/255|0)|0;e=e+(((ha(g>>>8&255,f>>>24^255)|0)>>>0)/255|0)|0;d=i+(((ha(f>>>24^255,g&255)|0)>>>0)/255|0)|0;break}case 32:{i=i+(g&255)|0;e=e+(g>>>8&255)|0;h=d+(g>>>16&255)|0;h=h>>>0>255?255:h;e=e>>>0>255?255:e;d=i>>>0>255?255:i;break}case 64:{h=((ha(d,g>>>16&255)|0)>>>0)/255|0;e=((ha(e,g>>>8&255)|0)>>>0)/255|0;d=((ha(i,g&255)|0)>>>0)/255|0;break}default:{h=g>>>16&255;e=g>>>8&255;d=g&255}}k[b>>2]=e<<8|d|h<<16;if(!j)break a;else{j=j+-1|0;b=b+4|0;c=c+4|0}}}while(0);c=m+(k[a+12>>2]|0)|0;b=n+(k[a+32>>2]|0)|0;n=k[a+28>>2]|0;k[a+28>>2]=n+-1;if(!n)break;else{m=c;n=b}}k[a>>2]=c;k[a+20>>2]=b;return}function ccb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;q=k[a+52>>2]|0;b=k[a+28>>2]|0;s=(k[a+8>>2]<<16|0)/(b|0)|0;c=k[a+24>>2]|0;r=(k[a+4>>2]<<16|0)/(c|0)|0;k[a+28>>2]=b+-1;if(!b)return;p=k[a+20>>2]|0;b=b+-1|0;g=p;d=0;e=0;while(1){if((d|0)>65535){o=d+-65536|0;d=o-(o>>>16<<16)|0;e=e+1+(o>>>16)|0}if(!c)c=b;else{o=g;b=65536;f=0;g=-1;while(1){c=c+-1|0;if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;f=(k[a>>2]|0)+(ha(k[a+12>>2]|0,e)|0)+(g<<2)|0}j=k[f>>2]|0;l=k[o>>2]|0;if((q&48|0)!=0&(j>>>24|0)!=255){h=((ha(j>>>16&255,j>>>24)|0)>>>0)/255|0;i=((ha(j>>>8&255,j>>>24)|0)>>>0)/255|0;n=((ha(j&255,j>>>24)|0)>>>0)/255|0}else{h=j>>>16&255;i=j>>>8&255;n=j&255}switch(q&112|0){case 16:{m=h+(((ha(l>>>16&255,j>>>24^255)|0)>>>0)/255|0)|0;i=i+(((ha(l>>>8&255,j>>>24^255)|0)>>>0)/255|0)|0;h=n+(((ha(j>>>24^255,l&255)|0)>>>0)/255|0)|0;break}case 32:{n=n+(l&255)|0;i=i+(l>>>8&255)|0;m=h+(l>>>16&255)|0;m=m>>>0>255?255:m;i=i>>>0>255?255:i;h=n>>>0>255?255:n;break}case 64:{m=((ha(h,l>>>16&255)|0)>>>0)/255|0;i=((ha(i,l>>>8&255)|0)>>>0)/255|0;h=((ha(n,l&255)|0)>>>0)/255|0;break}default:{m=l>>>16&255;i=l>>>8&255;h=l&255}}k[o>>2]=i<<8|h|m<<16;if(!c)break;else{o=o+4|0;b=b+r|0}}c=k[a+28>>2]|0}f=p+(k[a+32>>2]|0)|0;b=c+-1|0;k[a+28>>2]=b;if(!c)break;g=f;c=k[a+24>>2]|0;p=f;d=d+s|0}k[a+20>>2]=f;return}function dcb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=k[a+52>>2]|0;i=k[a+60>>2]|0;c=k[a+28>>2]|0;k[a+28>>2]=c+-1;if(!c)return;f=k[a>>2]|0;d=k[a+20>>2]|0;if(!(b&1)){g=f;h=d;e=c+-1|0;b=d;c=f;while(1){d=k[a+24>>2]|0;if(!d)d=e;else{while(1){d=d+-1|0;k[b>>2]=k[c>>2]&16777215;if(!d)break;else{b=b+4|0;c=c+4|0}}d=k[a+28>>2]|0}c=g+(k[a+12>>2]|0)|0;b=h+(k[a+32>>2]|0)|0;e=d+-1|0;k[a+28>>2]=e;if(!d)break;else{g=c;h=b}}k[a>>2]=c;k[a+20>>2]=b;return}else{g=f;h=d;e=c+-1|0;b=d;c=f;while(1){d=k[a+24>>2]|0;if(!d)d=e;else{while(1){d=d+-1|0;f=k[c>>2]|0;f=(((ha(f>>>8&255,i>>>8&255)|0)>>>0)/255|0)<<8|(((ha(f&255,i&255)|0)>>>0)/255|0)|(((ha(f>>>16&255,i>>>16&255)|0)>>>0)/255|0)<<16;k[b>>2]=f;if(!d)break;else{b=b+4|0;c=c+4|0}}d=k[a+28>>2]|0}c=g+(k[a+12>>2]|0)|0;b=h+(k[a+32>>2]|0)|0;e=d+-1|0;k[a+28>>2]=e;if(!d)break;else{g=c;h=b}}k[a>>2]=c;k[a+20>>2]=b;return}}function ecb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0;j=k[a+52>>2]|0;n=k[a+60>>2]|0;i=k[a+28>>2]|0;l=(k[a+8>>2]<<16|0)/(i|0)|0;b=k[a+24>>2]|0;m=(k[a+4>>2]<<16|0)/(b|0)|0;k[a+28>>2]=i+-1;if(!i)return;e=k[a+20>>2]|0;i=e;c=0;d=0;while(1){if((c|0)>65535){g=c+-65536|0;h=g-(g>>>16<<16)|0;d=d+1+(g>>>16)|0}else h=c;c=b+-1|0;if(b|0)if(!(j&1)){b=65536;f=0;g=-1;while(1){if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;f=(k[a>>2]|0)+(ha(k[a+12>>2]|0,d)|0)+(g<<2)|0}k[e>>2]=k[f>>2]&16777215;if(!c)break;else{c=c+-1|0;e=e+4|0;b=b+m|0}}}else{b=65536;f=0;g=-1;while(1){if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;f=(k[a>>2]|0)+(ha(k[a+12>>2]|0,d)|0)+(g<<2)|0}o=k[f>>2]|0;o=(((ha(o>>>16&255,n>>>16&255)|0)>>>0)/255|0)<<16|(((ha(o>>>8&255,n>>>8&255)|0)>>>0)/255|0)<<8|(((ha(o&255,n&255)|0)>>>0)/255|0);k[e>>2]=o;if(!c)break;else{c=c+-1|0;e=e+4|0;b=b+m|0}}}c=i+(k[a+32>>2]|0)|0;o=k[a+28>>2]|0;k[a+28>>2]=o+-1;if(!o)break;b=k[a+24>>2]|0;i=c;e=c;c=h+l|0}k[a+20>>2]=c;return}function fcb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0;l=k[a+52>>2]|0;m=k[a+60>>2]|0;b=k[a+28>>2]|0;k[a+28>>2]=b+-1;if(!b)return;c=k[a>>2]|0;j=k[a+20>>2]|0;n=c;o=j;e=b+-1|0;b=j;while(1){d=k[a+24>>2]|0;if(!d)d=e;else{while(1){d=d+-1|0;e=k[c>>2]|0;j=k[b>>2]|0;if(!(l&1)){f=e>>>16&255;g=e>>>8&255;h=e&255}else{f=((ha(e>>>16&255,m>>>16&255)|0)>>>0)/255|0;g=((ha(e>>>8&255,m>>>8&255)|0)>>>0)/255|0;h=((ha(e&255,m&255)|0)>>>0)/255|0}if(!(l&2))i=e>>>24;else i=((ha(e>>>24,m>>>24)|0)>>>0)/255|0;if((l&48|0)!=0&i>>>0<255){f=((ha(i,f)|0)>>>0)/255|0;e=((ha(i,g)|0)>>>0)/255|0;h=((ha(i,h)|0)>>>0)/255|0}else e=g;switch(l&112|0){case 16:{i=255-i|0;g=f+(((ha(i,j>>>16&255)|0)>>>0)/255|0)|0;f=e+(((ha(i,j>>>8&255)|0)>>>0)/255|0)|0;e=h+(((ha(i,j&255)|0)>>>0)/255|0)|0;break}case 32:{i=h+(j&255)|0;e=e+(j>>>8&255)|0;g=f+(j>>>16&255)|0;g=g>>>0>255?255:g;f=e>>>0>255?255:e;e=i>>>0>255?255:i;break}case 64:{g=((ha(f,j>>>16&255)|0)>>>0)/255|0;f=((ha(e,j>>>8&255)|0)>>>0)/255|0;e=((ha(h,j&255)|0)>>>0)/255|0;break}default:{g=j>>>16&255;f=j>>>8&255;e=j&255}}k[b>>2]=f<<8|e|g<<16;if(!d)break;else{b=b+4|0;c=c+4|0}}d=k[a+28>>2]|0}c=n+(k[a+12>>2]|0)|0;b=o+(k[a+32>>2]|0)|0;e=d+-1|0;k[a+28>>2]=e;if(!d)break;else{n=c;o=b}}k[a>>2]=c;k[a+20>>2]=b;return}function gcb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;p=k[a+52>>2]|0;t=k[a+60>>2]|0;b=k[a+28>>2]|0;r=(k[a+8>>2]<<16|0)/(b|0)|0;c=k[a+24>>2]|0;s=(k[a+4>>2]<<16|0)/(c|0)|0;k[a+28>>2]=b+-1;if(!b)return;f=k[a+20>>2]|0;q=f;b=b+-1|0;d=0;e=0;while(1){if((d|0)>65535){n=d+-65536|0;o=n-(n>>>16<<16)|0;e=e+1+(n>>>16)|0}else o=d;if(!c)c=b;else{b=65536;d=0;g=-1;while(1){c=c+-1|0;if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;d=(k[a>>2]|0)+(ha(k[a+12>>2]|0,e)|0)+(g<<2)|0}h=k[d>>2]|0;n=k[f>>2]|0;if(!(p&1)){i=h>>>16&255;j=h>>>8&255;l=h&255}else{i=((ha(h>>>16&255,t>>>16&255)|0)>>>0)/255|0;j=((ha(h>>>8&255,t>>>8&255)|0)>>>0)/255|0;l=((ha(h&255,t&255)|0)>>>0)/255|0}if(!(p&2))m=h>>>24;else m=((ha(h>>>24,t>>>24)|0)>>>0)/255|0;if((p&48|0)!=0&m>>>0<255){i=((ha(m,i)|0)>>>0)/255|0;h=((ha(m,j)|0)>>>0)/255|0;l=((ha(m,l)|0)>>>0)/255|0}else h=j;switch(p&112|0){case 16:{m=255-m|0;j=i+(((ha(m,n>>>16&255)|0)>>>0)/255|0)|0;i=h+(((ha(m,n>>>8&255)|0)>>>0)/255|0)|0;h=l+(((ha(m,n&255)|0)>>>0)/255|0)|0;break}case 32:{m=l+(n&255)|0;h=h+(n>>>8&255)|0;j=i+(n>>>16&255)|0;j=j>>>0>255?255:j;i=h>>>0>255?255:h;h=m>>>0>255?255:m;break}case 64:{j=((ha(i,n>>>16&255)|0)>>>0)/255|0;i=((ha(h,n>>>8&255)|0)>>>0)/255|0;h=((ha(l,n&255)|0)>>>0)/255|0;break}default:{j=n>>>16&255;i=n>>>8&255;h=n&255}}k[f>>2]=i<<8|h|j<<16;if(!c)break;else{f=f+4|0;b=b+s|0}}c=k[a+28>>2]|0}d=q+(k[a+32>>2]|0)|0;b=c+-1|0;k[a+28>>2]=b;if(!c)break;q=d;f=d;c=k[a+24>>2]|0;d=o+r|0}k[a+20>>2]=d;return}function hcb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0;c=k[a+28>>2]|0;l=(k[a+8>>2]<<16|0)/(c|0)|0;b=k[a+24>>2]|0;j=(k[a+4>>2]<<16|0)/(b|0)|0;k[a+28>>2]=c+-1;if(!c)return;f=k[a+20>>2]|0;i=f;c=c+-1|0;d=0;e=0;while(1){if((d|0)>65535){h=d+-65536|0;d=h-(h>>>16<<16)|0;e=e+1+(h>>>16)|0}if(!b)b=c;else{c=65536;g=0;h=-1;while(1){b=b+-1|0;if((c|0)>65535){c=c+-65536|0;h=h+1+(c>>>16)|0;c=c-(c>>>16<<16)|0;g=(k[a>>2]|0)+(ha(k[a+12>>2]|0,e)|0)+(h<<2)|0}m=k[g>>2]|0;k[f>>2]=m&-16711936|m<<16&16711680|m>>>16&255;if(!b)break;else{f=f+4|0;c=c+j|0}}b=k[a+28>>2]|0}f=i+(k[a+32>>2]|0)|0;c=b+-1|0;k[a+28>>2]=c;if(!b)break;b=k[a+24>>2]|0;i=f;d=d+l|0}k[a+20>>2]=f;return}function icb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0;m=k[a+52>>2]|0;o=k[a+28>>2]|0;k[a+28>>2]=o+-1;if(!o)return;c=k[a>>2]|0;b=k[a+20>>2]|0;n=c;o=b;while(1){d=k[a+24>>2]|0;a:do if(d|0){if(!(m&48)){i=d+-1|0;while(1){d=k[c>>2]|0;e=k[b>>2]|0;switch(m&112|0){case 16:{f=(((ha(d>>>24^255,e>>>24)|0)>>>0)/255|0)+(d>>>24)|0;g=(d>>>16&255)+(((ha(d>>>24^255,e&255)|0)>>>0)/255|0)|0;h=(d>>>8&255)+(((ha(e>>>8&255,d>>>24^255)|0)>>>0)/255|0)|0;d=(d&255)+(((ha(e>>>16&255,d>>>24^255)|0)>>>0)/255|0)|0;break}case 32:{f=e>>>24;g=((d>>>16&255)+(e&255)|0)>>>0>255?255:(d>>>16&255)+(e&255)|0;h=((d>>>8&255)+(e>>>8&255)|0)>>>0>255?255:(d>>>8&255)+(e>>>8&255)|0;d=((d&255)+(e>>>16&255)|0)>>>0>255?255:(d&255)+(e>>>16&255)|0;break}case 64:{f=e>>>24;g=((ha(d>>>16&255,e&255)|0)>>>0)/255|0;h=((ha(d>>>8&255,e>>>8&255)|0)>>>0)/255|0;d=((ha(d&255,e>>>16&255)|0)>>>0)/255|0;break}default:{f=e>>>24;g=e&255;h=e>>>8&255;d=e>>>16&255}}k[b>>2]=h<<8|d<<16|g|f<<24;if(!i)break a;else{i=i+-1|0;b=b+4|0;c=c+4|0}}}else l=d+-1|0;while(1){f=k[c>>2]|0;g=k[b>>2]|0;if((f>>>24|0)==255){d=f>>>16&255;e=f>>>8&255;i=f&255}else{d=((ha(f>>>16&255,f>>>24)|0)>>>0)/255|0;e=((ha(f>>>8&255,f>>>24)|0)>>>0)/255|0;i=((ha(f&255,f>>>24)|0)>>>0)/255|0}switch(m&112|0){case 16:{j=(((ha(f>>>24^255,g>>>24)|0)>>>0)/255|0)+(f>>>24)|0;h=d+(((ha(f>>>24^255,g&255)|0)>>>0)/255|0)|0;e=e+(((ha(g>>>8&255,f>>>24^255)|0)>>>0)/255|0)|0;d=i+(((ha(g>>>16&255,f>>>24^255)|0)>>>0)/255|0)|0;break}case 32:{i=i+(g>>>16&255)|0;e=e+(g>>>8&255)|0;h=d+(g&255)|0;j=g>>>24;h=h>>>0>255?255:h;e=e>>>0>255?255:e;d=i>>>0>255?255:i;break}case 64:{j=g>>>24;h=((ha(d,g&255)|0)>>>0)/255|0;e=((ha(e,g>>>8&255)|0)>>>0)/255|0;d=((ha(i,g>>>16&255)|0)>>>0)/255|0;break}default:{j=g>>>24;h=g&255;e=g>>>8&255;d=g>>>16&255}}k[b>>2]=e<<8|d<<16|h|j<<24;if(!l)break a;else{l=l+-1|0;b=b+4|0;c=c+4|0}}}while(0);c=n+(k[a+12>>2]|0)|0;b=o+(k[a+32>>2]|0)|0;o=k[a+28>>2]|0;k[a+28>>2]=o+-1;if(!o)break;else{n=c;o=b}}k[a>>2]=c;k[a+20>>2]=b;return}function jcb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;q=k[a+52>>2]|0;b=k[a+28>>2]|0;t=(k[a+8>>2]<<16|0)/(b|0)|0;c=k[a+24>>2]|0;s=(k[a+4>>2]<<16|0)/(c|0)|0;k[a+28>>2]=b+-1;if(!b)return;f=k[a+20>>2]|0;r=f;b=b+-1|0;d=0;e=0;while(1){if((d|0)>65535){o=d+-65536|0;p=o-(o>>>16<<16)|0;e=e+1+(o>>>16)|0}else p=d;if(!c)c=b;else{b=65536;d=0;g=-1;while(1){c=c+-1|0;if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;d=(k[a>>2]|0)+(ha(k[a+12>>2]|0,e)|0)+(g<<2)|0}j=k[d>>2]|0;l=k[f>>2]|0;if((q&48|0)!=0&(j>>>24|0)!=255){h=((ha(j>>>16&255,j>>>24)|0)>>>0)/255|0;i=((ha(j>>>8&255,j>>>24)|0)>>>0)/255|0;n=((ha(j&255,j>>>24)|0)>>>0)/255|0}else{h=j>>>16&255;i=j>>>8&255;n=j&255}switch(q&112|0){case 16:{o=(((ha(j>>>24^255,l>>>24)|0)>>>0)/255|0)+(j>>>24)|0;m=h+(((ha(j>>>24^255,l&255)|0)>>>0)/255|0)|0;i=i+(((ha(l>>>8&255,j>>>24^255)|0)>>>0)/255|0)|0;h=n+(((ha(l>>>16&255,j>>>24^255)|0)>>>0)/255|0)|0;break}case 32:{n=n+(l>>>16&255)|0;i=i+(l>>>8&255)|0;m=h+(l&255)|0;o=l>>>24;m=m>>>0>255?255:m;i=i>>>0>255?255:i;h=n>>>0>255?255:n;break}case 64:{o=l>>>24;m=((ha(h,l&255)|0)>>>0)/255|0;i=((ha(i,l>>>8&255)|0)>>>0)/255|0;h=((ha(n,l>>>16&255)|0)>>>0)/255|0;break}default:{o=l>>>24;m=l&255;i=l>>>8&255;h=l>>>16&255}}k[f>>2]=i<<8|h<<16|m|o<<24;if(!c)break;else{f=f+4|0;b=b+s|0}}c=k[a+28>>2]|0}d=r+(k[a+32>>2]|0)|0;b=c+-1|0;k[a+28>>2]=b;if(!c)break;r=d;f=d;c=k[a+24>>2]|0;d=p+t|0}k[a+20>>2]=d;return}function kcb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=k[a+52>>2]|0;j=k[a+60>>2]|0;h=k[a+28>>2]|0;k[a+28>>2]=h+-1;if(!h)return;c=k[a>>2]|0;b=k[a+20>>2]|0;e=b;g=c;while(1){d=k[a+24>>2]|0;if(d|0)if(!(i&1)){h=d+-1|0;while(1){d=k[g>>2]|0;if(!(i&2))f=d>>>24;else f=((ha(d>>>24,j>>>24)|0)>>>0)/255|0;k[e>>2]=d&65280|d<<16&16711680|d>>>16&255|f<<24;if(!h)break;else{h=h+-1|0;e=e+4|0;g=g+4|0}}}else if(!(i&2)){f=d+-1|0;d=g;while(1){h=k[d>>2]|0;h=(((ha(h>>>8&255,j>>>8&255)|0)>>>0)/255|0)<<8|(((ha(h&255,j&255)|0)>>>0)/255|0)<<16|(((ha(h>>>16&255,j>>>16&255)|0)>>>0)/255|0)|h&-16777216;k[e>>2]=h;if(!f)break;else{f=f+-1|0;e=e+4|0;d=d+4|0}}}else{f=d+-1|0;d=g;while(1){h=k[d>>2]|0;h=(((ha(h>>>8&255,j>>>8&255)|0)>>>0)/255|0)<<8|(((ha(h&255,j&255)|0)>>>0)/255|0)<<16|(((ha(h>>>16&255,j>>>16&255)|0)>>>0)/255|0)|(((ha(h>>>24,j>>>24)|0)>>>0)/255|0)<<24;k[e>>2]=h;if(!f)break;else{f=f+-1|0;e=e+4|0;d=d+4|0}}}c=c+(k[a+12>>2]|0)|0;b=b+(k[a+32>>2]|0)|0;h=k[a+28>>2]|0;k[a+28>>2]=h+-1;if(!h)break;else{e=b;g=c}}k[a>>2]=c;k[a+20>>2]=b;return}function lcb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;n=k[a+52>>2]|0;r=k[a+60>>2]|0;o=k[a+28>>2]|0;p=(k[a+8>>2]<<16|0)/(o|0)|0;b=k[a+24>>2]|0;q=(k[a+4>>2]<<16|0)/(b|0)|0;k[a+28>>2]=o+-1;if(!o)return;e=k[a+20>>2]|0;o=e;c=0;d=0;while(1){if((c|0)>65535){l=c+-65536|0;m=l-(l>>>16<<16)|0;d=d+1+(l>>>16)|0}else m=c;c=b+-1|0;if(b|0)if(!(n&1)){i=e;b=65536;e=0;f=-1;while(1){if((b|0)>65535){g=b+-65536|0;f=f+1+(g>>>16)|0;g=g-(g>>>16<<16)|0;h=(k[a>>2]|0)+(ha(k[a+12>>2]|0,d)|0)+(f<<2)|0}else{g=b;h=e}b=k[h>>2]|0;if(!(n&2))e=b>>>24;else e=((ha(b>>>24,r>>>24)|0)>>>0)/255|0;k[i>>2]=b>>>16&255|b&65280|b<<16&16711680|e<<24;if(!c)break;else{c=c+-1|0;i=i+4|0;b=g+q|0;e=h}}}else{l=e;b=65536;e=0;f=-1;while(1){if((b|0)>65535){b=b+-65536|0;f=f+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(k[a>>2]|0)+(ha(k[a+12>>2]|0,d)|0)+(f<<2)|0}g=k[e>>2]|0;h=((ha(g&255,r&255)|0)>>>0)/255|0;i=((ha(g>>>8&255,r>>>8&255)|0)>>>0)/255|0;j=((ha(g>>>16&255,r>>>16&255)|0)>>>0)/255|0;if(!(n&2))g=g>>>24;else g=((ha(g>>>24,r>>>24)|0)>>>0)/255|0;k[l>>2]=j|i<<8|h<<16|g<<24;if(!c)break;else{c=c+-1|0;l=l+4|0;b=b+q|0}}}b=o+(k[a+32>>2]|0)|0;o=k[a+28>>2]|0;k[a+28>>2]=o+-1;if(!o)break;o=b;e=b;b=k[a+24>>2]|0;c=m+p|0}k[a+20>>2]=b;return}function mcb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0;o=k[a+52>>2]|0;p=k[a+60>>2]|0;b=k[a+28>>2]|0;k[a+28>>2]=b+-1;if(!b)return;c=k[a>>2]|0;n=k[a+20>>2]|0;e=b+-1|0;f=n;g=c;b=n;while(1){d=k[a+24>>2]|0;if(!d)d=e;else{while(1){d=d+-1|0;e=k[g>>2]|0;n=k[f>>2]|0;if(!(o&1)){h=e>>>16&255;i=e>>>8&255;j=e&255}else{h=((ha(e>>>16&255,p>>>16&255)|0)>>>0)/255|0;i=((ha(e>>>8&255,p>>>8&255)|0)>>>0)/255|0;j=((ha(e&255,p&255)|0)>>>0)/255|0}if(!(o&2))e=e>>>24;else e=((ha(e>>>24,p>>>24)|0)>>>0)/255|0;if((o&48|0)!=0&e>>>0<255){h=((ha(e,h)|0)>>>0)/255|0;l=((ha(e,i)|0)>>>0)/255|0;m=((ha(e,j)|0)>>>0)/255|0}else{l=i;m=j}switch(o&112|0){case 16:{q=255-e|0;j=(((ha(q,n>>>24)|0)>>>0)/255|0)+e|0;i=h+(((ha(q,n&255)|0)>>>0)/255|0)|0;h=l+(((ha(q,n>>>8&255)|0)>>>0)/255|0)|0;e=m+(((ha(q,n>>>16&255)|0)>>>0)/255|0)|0;break}case 32:{e=m+(n>>>16&255)|0;q=l+(n>>>8&255)|0;i=h+(n&255)|0;j=n>>>24;i=i>>>0>255?255:i;h=q>>>0>255?255:q;e=e>>>0>255?255:e;break}case 64:{j=n>>>24;i=((ha(h,n&255)|0)>>>0)/255|0;h=((ha(l,n>>>8&255)|0)>>>0)/255|0;e=((ha(m,n>>>16&255)|0)>>>0)/255|0;break}default:{j=n>>>24;i=n&255;h=n>>>8&255;e=n>>>16&255}}k[f>>2]=h<<8|e<<16|i|j<<24;if(!d)break;else{f=f+4|0;g=g+4|0}}d=k[a+28>>2]|0}c=c+(k[a+12>>2]|0)|0;b=b+(k[a+32>>2]|0)|0;e=d+-1|0;k[a+28>>2]=e;if(!d)break;else{f=b;g=c}}k[a>>2]=c;k[a+20>>2]=b;return}function ncb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;q=k[a+52>>2]|0;u=k[a+60>>2]|0;b=k[a+28>>2]|0;s=(k[a+8>>2]<<16|0)/(b|0)|0;c=k[a+24>>2]|0;t=(k[a+4>>2]<<16|0)/(c|0)|0;k[a+28>>2]=b+-1;if(!b)return;f=k[a+20>>2]|0;r=f;b=b+-1|0;d=0;e=0;while(1){if((d|0)>65535){o=d+-65536|0;p=o-(o>>>16<<16)|0;e=e+1+(o>>>16)|0}else p=d;if(!c)c=b;else{b=65536;d=0;g=-1;while(1){c=c+-1|0;if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;d=(k[a>>2]|0)+(ha(k[a+12>>2]|0,e)|0)+(g<<2)|0}h=k[d>>2]|0;o=k[f>>2]|0;if(!(q&1)){i=h>>>16&255;j=h>>>8&255;l=h&255}else{i=((ha(h>>>16&255,u>>>16&255)|0)>>>0)/255|0;j=((ha(h>>>8&255,u>>>8&255)|0)>>>0)/255|0;l=((ha(h&255,u&255)|0)>>>0)/255|0}if(!(q&2))h=h>>>24;else h=((ha(h>>>24,u>>>24)|0)>>>0)/255|0;if((q&48|0)!=0&h>>>0<255){i=((ha(h,i)|0)>>>0)/255|0;m=((ha(h,j)|0)>>>0)/255|0;n=((ha(h,l)|0)>>>0)/255|0}else{m=j;n=l}switch(q&112|0){case 16:{v=255-h|0;l=(((ha(v,o>>>24)|0)>>>0)/255|0)+h|0;j=i+(((ha(v,o&255)|0)>>>0)/255|0)|0;i=m+(((ha(v,o>>>8&255)|0)>>>0)/255|0)|0;h=n+(((ha(v,o>>>16&255)|0)>>>0)/255|0)|0;break}case 32:{h=n+(o>>>16&255)|0;v=m+(o>>>8&255)|0;j=i+(o&255)|0;l=o>>>24;j=j>>>0>255?255:j;i=v>>>0>255?255:v;h=h>>>0>255?255:h;break}case 64:{l=o>>>24;j=((ha(i,o&255)|0)>>>0)/255|0;i=((ha(m,o>>>8&255)|0)>>>0)/255|0;h=((ha(n,o>>>16&255)|0)>>>0)/255|0;break}default:{l=o>>>24;j=o&255;i=o>>>8&255;h=o>>>16&255}}k[f>>2]=i<<8|h<<16|j|l<<24;if(!c)break;else{f=f+4|0;b=b+t|0}}c=k[a+28>>2]|0}d=r+(k[a+32>>2]|0)|0;b=c+-1|0;k[a+28>>2]=b;if(!c)break;r=d;f=d;c=k[a+24>>2]|0;d=p+s|0}k[a+20>>2]=d;return}function ocb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0;c=k[a+28>>2]|0;l=(k[a+8>>2]<<16|0)/(c|0)|0;b=k[a+24>>2]|0;j=(k[a+4>>2]<<16|0)/(b|0)|0;k[a+28>>2]=c+-1;if(!c)return;f=k[a+20>>2]|0;i=f;c=c+-1|0;d=0;e=0;while(1){if((d|0)>65535){h=d+-65536|0;d=h-(h>>>16<<16)|0;e=e+1+(h>>>16)|0}if(!b)b=c;else{c=65536;g=0;h=-1;while(1){b=b+-1|0;if((c|0)>65535){c=c+-65536|0;h=h+1+(c>>>16)|0;c=c-(c>>>16<<16)|0;g=(k[a>>2]|0)+(ha(k[a+12>>2]|0,e)|0)+(h<<2)|0}m=k[g>>2]|0;k[f>>2]=m>>>8&65280|m>>>24|m<<8&16711680;if(!b)break;else{f=f+4|0;c=c+j|0}}b=k[a+28>>2]|0}f=i+(k[a+32>>2]|0)|0;c=b+-1|0;k[a+28>>2]=c;if(!b)break;b=k[a+24>>2]|0;i=f;d=d+l|0}k[a+20>>2]=f;return}function pcb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0;l=k[a+52>>2]|0;n=k[a+28>>2]|0;k[a+28>>2]=n+-1;if(!n)return;c=k[a>>2]|0;b=k[a+20>>2]|0;m=c;n=b;while(1){d=k[a+24>>2]|0;a:do if(d|0){if(!(l&48)){h=d+-1|0;while(1){d=k[c>>2]|0;e=k[b>>2]|0;switch(l&112|0){case 16:{f=(d>>>24)+(((ha(d&255^255,e&255)|0)>>>0)/255|0)|0;g=(d>>>16&255)+(((ha(e>>>8&255,d&255^255)|0)>>>0)/255|0)|0;d=(d>>>8&255)+(((ha(e>>>16&255,d&255^255)|0)>>>0)/255|0)|0;break}case 32:{f=((d>>>24)+(e&255)|0)>>>0>255?255:(d>>>24)+(e&255)|0;g=((d>>>16&255)+(e>>>8&255)|0)>>>0>255?255:(d>>>16&255)+(e>>>8&255)|0;d=((d>>>8&255)+(e>>>16&255)|0)>>>0>255?255:(d>>>8&255)+(e>>>16&255)|0;break}case 64:{f=((ha(d>>>24,e&255)|0)>>>0)/255|0;g=((ha(d>>>16&255,e>>>8&255)|0)>>>0)/255|0;d=((ha(d>>>8&255,e>>>16&255)|0)>>>0)/255|0;break}default:{f=e&255;g=e>>>8&255;d=e>>>16&255}}k[b>>2]=g<<8|d<<16|f;if(!h)break a;else{h=h+-1|0;b=b+4|0;c=c+4|0}}}else j=d+-1|0;while(1){f=k[c>>2]|0;g=k[b>>2]|0;if((f&255|0)==255){d=f>>>24;e=f>>>16&255;i=f>>>8&255}else{d=((ha(f>>>24,f&255)|0)>>>0)/255|0;e=((ha(f>>>16&255,f&255)|0)>>>0)/255|0;i=((ha(f>>>8&255,f&255)|0)>>>0)/255|0}switch(l&112|0){case 16:{h=d+(((ha(f&255^255,g&255)|0)>>>0)/255|0)|0;e=e+(((ha(g>>>8&255,f&255^255)|0)>>>0)/255|0)|0;d=i+(((ha(g>>>16&255,f&255^255)|0)>>>0)/255|0)|0;break}case 32:{i=i+(g>>>16&255)|0;e=e+(g>>>8&255)|0;h=d+(g&255)|0;h=h>>>0>255?255:h;e=e>>>0>255?255:e;d=i>>>0>255?255:i;break}case 64:{h=((ha(d,g&255)|0)>>>0)/255|0;e=((ha(e,g>>>8&255)|0)>>>0)/255|0;d=((ha(i,g>>>16&255)|0)>>>0)/255|0;break}default:{h=g&255;e=g>>>8&255;d=g>>>16&255}}k[b>>2]=e<<8|d<<16|h;if(!j)break a;else{j=j+-1|0;b=b+4|0;c=c+4|0}}}while(0);c=m+(k[a+12>>2]|0)|0;b=n+(k[a+32>>2]|0)|0;n=k[a+28>>2]|0;k[a+28>>2]=n+-1;if(!n)break;else{m=c;n=b}}k[a>>2]=c;k[a+20>>2]=b;return}function qcb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;q=k[a+52>>2]|0;b=k[a+28>>2]|0;s=(k[a+8>>2]<<16|0)/(b|0)|0;c=k[a+24>>2]|0;r=(k[a+4>>2]<<16|0)/(c|0)|0;k[a+28>>2]=b+-1;if(!b)return;p=k[a+20>>2]|0;b=b+-1|0;g=p;d=0;e=0;while(1){if((d|0)>65535){o=d+-65536|0;d=o-(o>>>16<<16)|0;e=e+1+(o>>>16)|0}if(!c)c=b;else{o=g;b=65536;f=0;g=-1;while(1){c=c+-1|0;if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;f=(k[a>>2]|0)+(ha(k[a+12>>2]|0,e)|0)+(g<<2)|0}j=k[f>>2]|0;l=k[o>>2]|0;if((q&48|0)!=0&(j&255|0)!=255){h=((ha(j>>>24,j&255)|0)>>>0)/255|0;i=((ha(j>>>16&255,j&255)|0)>>>0)/255|0;n=((ha(j>>>8&255,j&255)|0)>>>0)/255|0}else{h=j>>>24;i=j>>>16&255;n=j>>>8&255}switch(q&112|0){case 16:{m=h+(((ha(j&255^255,l&255)|0)>>>0)/255|0)|0;i=i+(((ha(l>>>8&255,j&255^255)|0)>>>0)/255|0)|0;h=n+(((ha(l>>>16&255,j&255^255)|0)>>>0)/255|0)|0;break}case 32:{n=n+(l>>>16&255)|0;i=i+(l>>>8&255)|0;m=h+(l&255)|0;m=m>>>0>255?255:m;i=i>>>0>255?255:i;h=n>>>0>255?255:n;break}case 64:{m=((ha(h,l&255)|0)>>>0)/255|0;i=((ha(i,l>>>8&255)|0)>>>0)/255|0;h=((ha(n,l>>>16&255)|0)>>>0)/255|0;break}default:{m=l&255;i=l>>>8&255;h=l>>>16&255}}k[o>>2]=i<<8|h<<16|m;if(!c)break;else{o=o+4|0;b=b+r|0}}c=k[a+28>>2]|0}f=p+(k[a+32>>2]|0)|0;b=c+-1|0;k[a+28>>2]=b;if(!c)break;g=f;c=k[a+24>>2]|0;p=f;d=d+s|0}k[a+20>>2]=f;return}function rcb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=k[a+52>>2]|0;i=k[a+60>>2]|0;c=k[a+28>>2]|0;k[a+28>>2]=c+-1;if(!c)return;f=k[a>>2]|0;d=k[a+20>>2]|0;if(!(b&1)){g=f;h=d;e=c+-1|0;b=d;c=f;while(1){d=k[a+24>>2]|0;if(!d)d=e;else{while(1){d=d+-1|0;i=k[c>>2]|0;k[b>>2]=i>>>8&65280|i<<8&16711680|i>>>24;if(!d)break;else{b=b+4|0;c=c+4|0}}d=k[a+28>>2]|0}c=g+(k[a+12>>2]|0)|0;b=h+(k[a+32>>2]|0)|0;e=d+-1|0;k[a+28>>2]=e;if(!d)break;else{g=c;h=b}}k[a>>2]=c;k[a+20>>2]=b;return}else{g=f;h=d;e=c+-1|0;b=d;c=f;while(1){d=k[a+24>>2]|0;if(!d)d=e;else{while(1){d=d+-1|0;f=k[c>>2]|0;f=(((ha(f>>>16&255,i>>>8&255)|0)>>>0)/255|0)<<8|(((ha(f>>>8&255,i&255)|0)>>>0)/255|0)<<16|(((ha(f>>>24,i>>>16&255)|0)>>>0)/255|0);k[b>>2]=f;if(!d)break;else{b=b+4|0;c=c+4|0}}d=k[a+28>>2]|0}c=g+(k[a+12>>2]|0)|0;b=h+(k[a+32>>2]|0)|0;e=d+-1|0;k[a+28>>2]=e;if(!d)break;else{g=c;h=b}}k[a>>2]=c;k[a+20>>2]=b;return}}function scb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0;i=k[a+52>>2]|0;n=k[a+60>>2]|0;j=k[a+28>>2]|0;l=(k[a+8>>2]<<16|0)/(j|0)|0;b=k[a+24>>2]|0;m=(k[a+4>>2]<<16|0)/(b|0)|0;k[a+28>>2]=j+-1;if(!j)return;e=k[a+20>>2]|0;j=e;c=0;d=0;while(1){if((c|0)>65535){g=c+-65536|0;h=g-(g>>>16<<16)|0;d=d+1+(g>>>16)|0}else h=c;c=b+-1|0;if(b|0)if(!(i&1)){g=e;b=65536;e=0;f=-1;while(1){if((b|0)>65535){b=b+-65536|0;f=f+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(k[a>>2]|0)+(ha(k[a+12>>2]|0,d)|0)+(f<<2)|0}o=k[e>>2]|0;k[g>>2]=o>>>24|o>>>8&65280|o<<8&16711680;if(!c)break;else{c=c+-1|0;g=g+4|0;b=b+m|0}}}else{g=e;b=65536;e=0;f=-1;while(1){if((b|0)>65535){b=b+-65536|0;f=f+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(k[a>>2]|0)+(ha(k[a+12>>2]|0,d)|0)+(f<<2)|0}o=k[e>>2]|0;o=((ha(o>>>24,n>>>16&255)|0)>>>0)/255|0|(((ha(o>>>16&255,n>>>8&255)|0)>>>0)/255|0)<<8|(((ha(o>>>8&255,n&255)|0)>>>0)/255|0)<<16;k[g>>2]=o;if(!c)break;else{c=c+-1|0;g=g+4|0;b=b+m|0}}}b=j+(k[a+32>>2]|0)|0;o=k[a+28>>2]|0;k[a+28>>2]=o+-1;if(!o)break;j=b;e=b;b=k[a+24>>2]|0;c=h+l|0}k[a+20>>2]=b;return}function tcb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0;l=k[a+52>>2]|0;m=k[a+60>>2]|0;b=k[a+28>>2]|0;k[a+28>>2]=b+-1;if(!b)return;c=k[a>>2]|0;j=k[a+20>>2]|0;n=c;o=j;e=b+-1|0;b=j;while(1){d=k[a+24>>2]|0;if(!d)d=e;else{while(1){d=d+-1|0;e=k[c>>2]|0;j=k[b>>2]|0;if(!(l&1)){f=e>>>24;g=e>>>16&255;h=e>>>8&255}else{f=((ha(e>>>24,m>>>16&255)|0)>>>0)/255|0;g=((ha(e>>>16&255,m>>>8&255)|0)>>>0)/255|0;h=((ha(e>>>8&255,m&255)|0)>>>0)/255|0}if(!(l&2))i=e&255;else i=((ha(e&255,m>>>24)|0)>>>0)/255|0;if((l&48|0)!=0&i>>>0<255){f=((ha(i,f)|0)>>>0)/255|0;e=((ha(i,g)|0)>>>0)/255|0;h=((ha(i,h)|0)>>>0)/255|0}else e=g;switch(l&112|0){case 16:{i=255-i|0;g=f+(((ha(i,j&255)|0)>>>0)/255|0)|0;f=e+(((ha(i,j>>>8&255)|0)>>>0)/255|0)|0;e=h+(((ha(i,j>>>16&255)|0)>>>0)/255|0)|0;break}case 32:{i=h+(j>>>16&255)|0;e=e+(j>>>8&255)|0;g=f+(j&255)|0;g=g>>>0>255?255:g;f=e>>>0>255?255:e;e=i>>>0>255?255:i;break}case 64:{g=((ha(f,j&255)|0)>>>0)/255|0;f=((ha(e,j>>>8&255)|0)>>>0)/255|0;e=((ha(h,j>>>16&255)|0)>>>0)/255|0;break}default:{g=j&255;f=j>>>8&255;e=j>>>16&255}}k[b>>2]=f<<8|e<<16|g;if(!d)break;else{b=b+4|0;c=c+4|0}}d=k[a+28>>2]|0}c=n+(k[a+12>>2]|0)|0;b=o+(k[a+32>>2]|0)|0;e=d+-1|0;k[a+28>>2]=e;if(!d)break;else{n=c;o=b}}k[a>>2]=c;k[a+20>>2]=b;return}function ucb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;p=k[a+52>>2]|0;t=k[a+60>>2]|0;b=k[a+28>>2]|0;r=(k[a+8>>2]<<16|0)/(b|0)|0;c=k[a+24>>2]|0;s=(k[a+4>>2]<<16|0)/(c|0)|0;k[a+28>>2]=b+-1;if(!b)return;f=k[a+20>>2]|0;q=f;b=b+-1|0;d=0;e=0;while(1){if((d|0)>65535){n=d+-65536|0;o=n-(n>>>16<<16)|0;e=e+1+(n>>>16)|0}else o=d;if(!c)c=b;else{b=65536;d=0;g=-1;while(1){c=c+-1|0;if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;d=(k[a>>2]|0)+(ha(k[a+12>>2]|0,e)|0)+(g<<2)|0}h=k[d>>2]|0;n=k[f>>2]|0;if(!(p&1)){i=h>>>24;j=h>>>16&255;l=h>>>8&255}else{i=((ha(h>>>24,t>>>16&255)|0)>>>0)/255|0;j=((ha(h>>>16&255,t>>>8&255)|0)>>>0)/255|0;l=((ha(h>>>8&255,t&255)|0)>>>0)/255|0}if(!(p&2))m=h&255;else m=((ha(h&255,t>>>24)|0)>>>0)/255|0;if((p&48|0)!=0&m>>>0<255){i=((ha(m,i)|0)>>>0)/255|0;h=((ha(m,j)|0)>>>0)/255|0;l=((ha(m,l)|0)>>>0)/255|0}else h=j;switch(p&112|0){case 16:{m=255-m|0;j=i+(((ha(m,n&255)|0)>>>0)/255|0)|0;i=h+(((ha(m,n>>>8&255)|0)>>>0)/255|0)|0;h=l+(((ha(m,n>>>16&255)|0)>>>0)/255|0)|0;break}case 32:{m=l+(n>>>16&255)|0;h=h+(n>>>8&255)|0;j=i+(n&255)|0;j=j>>>0>255?255:j;i=h>>>0>255?255:h;h=m>>>0>255?255:m;break}case 64:{j=((ha(i,n&255)|0)>>>0)/255|0;i=((ha(h,n>>>8&255)|0)>>>0)/255|0;h=((ha(l,n>>>16&255)|0)>>>0)/255|0;break}default:{j=n&255;i=n>>>8&255;h=n>>>16&255}}k[f>>2]=i<<8|h<<16|j;if(!c)break;else{f=f+4|0;b=b+s|0}}c=k[a+28>>2]|0}d=q+(k[a+32>>2]|0)|0;b=c+-1|0;k[a+28>>2]=b;if(!c)break;q=d;f=d;c=k[a+24>>2]|0;d=o+r|0}k[a+20>>2]=d;return}function vcb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0;c=k[a+28>>2]|0;l=(k[a+8>>2]<<16|0)/(c|0)|0;b=k[a+24>>2]|0;j=(k[a+4>>2]<<16|0)/(b|0)|0;k[a+28>>2]=c+-1;if(!c)return;f=k[a+20>>2]|0;i=f;c=c+-1|0;d=0;e=0;while(1){if((d|0)>65535){h=d+-65536|0;d=h-(h>>>16<<16)|0;e=e+1+(h>>>16)|0}if(!b)b=c;else{c=65536;g=0;h=-1;while(1){b=b+-1|0;if((c|0)>65535){c=c+-65536|0;h=h+1+(c>>>16)|0;c=c-(c>>>16<<16)|0;g=(k[a>>2]|0)+(ha(k[a+12>>2]|0,e)|0)+(h<<2)|0}m=k[g>>2]|0;k[f>>2]=m>>>24<<16|m>>>8&65280|m>>>8&255;if(!b)break;else{f=f+4|0;c=c+j|0}}b=k[a+28>>2]|0}f=i+(k[a+32>>2]|0)|0;c=b+-1|0;k[a+28>>2]=c;if(!b)break;b=k[a+24>>2]|0;i=f;d=d+l|0}k[a+20>>2]=f;return}function wcb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0;l=k[a+52>>2]|0;n=k[a+28>>2]|0;k[a+28>>2]=n+-1;if(!n)return;c=k[a>>2]|0;b=k[a+20>>2]|0;m=c;n=b;while(1){d=k[a+24>>2]|0;a:do if(d|0){if(!(l&48)){h=d+-1|0;while(1){d=k[c>>2]|0;e=k[b>>2]|0;switch(l&112|0){case 16:{f=(d>>>24)+(((ha(e>>>16&255,d&255^255)|0)>>>0)/255|0)|0;g=(d>>>16&255)+(((ha(e>>>8&255,d&255^255)|0)>>>0)/255|0)|0;d=(d>>>8&255)+(((ha(d&255^255,e&255)|0)>>>0)/255|0)|0;break}case 32:{f=((d>>>24)+(e>>>16&255)|0)>>>0>255?255:(d>>>24)+(e>>>16&255)|0;g=((d>>>16&255)+(e>>>8&255)|0)>>>0>255?255:(d>>>16&255)+(e>>>8&255)|0;d=((d>>>8&255)+(e&255)|0)>>>0>255?255:(d>>>8&255)+(e&255)|0;break}case 64:{f=((ha(d>>>24,e>>>16&255)|0)>>>0)/255|0;g=((ha(d>>>16&255,e>>>8&255)|0)>>>0)/255|0;d=((ha(d>>>8&255,e&255)|0)>>>0)/255|0;break}default:{f=e>>>16&255;g=e>>>8&255;d=e&255}}k[b>>2]=g<<8|d|f<<16;if(!h)break a;else{h=h+-1|0;b=b+4|0;c=c+4|0}}}else j=d+-1|0;while(1){f=k[c>>2]|0;g=k[b>>2]|0;if((f&255|0)==255){d=f>>>24;e=f>>>16&255;i=f>>>8&255}else{d=((ha(f>>>24,f&255)|0)>>>0)/255|0;e=((ha(f>>>16&255,f&255)|0)>>>0)/255|0;i=((ha(f>>>8&255,f&255)|0)>>>0)/255|0}switch(l&112|0){case 16:{h=d+(((ha(g>>>16&255,f&255^255)|0)>>>0)/255|0)|0;e=e+(((ha(g>>>8&255,f&255^255)|0)>>>0)/255|0)|0;d=i+(((ha(f&255^255,g&255)|0)>>>0)/255|0)|0;break}case 32:{i=i+(g&255)|0;e=e+(g>>>8&255)|0;h=d+(g>>>16&255)|0;h=h>>>0>255?255:h;e=e>>>0>255?255:e;d=i>>>0>255?255:i;break}case 64:{h=((ha(d,g>>>16&255)|0)>>>0)/255|0;e=((ha(e,g>>>8&255)|0)>>>0)/255|0;d=((ha(i,g&255)|0)>>>0)/255|0;break}default:{h=g>>>16&255;e=g>>>8&255;d=g&255}}k[b>>2]=e<<8|d|h<<16;if(!j)break a;else{j=j+-1|0;b=b+4|0;c=c+4|0}}}while(0);c=m+(k[a+12>>2]|0)|0;b=n+(k[a+32>>2]|0)|0;n=k[a+28>>2]|0;k[a+28>>2]=n+-1;if(!n)break;else{m=c;n=b}}k[a>>2]=c;k[a+20>>2]=b;return}function xcb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;q=k[a+52>>2]|0;b=k[a+28>>2]|0;s=(k[a+8>>2]<<16|0)/(b|0)|0;c=k[a+24>>2]|0;r=(k[a+4>>2]<<16|0)/(c|0)|0;k[a+28>>2]=b+-1;if(!b)return;p=k[a+20>>2]|0;b=b+-1|0;g=p;d=0;e=0;while(1){if((d|0)>65535){o=d+-65536|0;d=o-(o>>>16<<16)|0;e=e+1+(o>>>16)|0}if(!c)c=b;else{o=g;b=65536;f=0;g=-1;while(1){c=c+-1|0;if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;f=(k[a>>2]|0)+(ha(k[a+12>>2]|0,e)|0)+(g<<2)|0}j=k[f>>2]|0;l=k[o>>2]|0;if((q&48|0)!=0&(j&255|0)!=255){h=((ha(j>>>24,j&255)|0)>>>0)/255|0;i=((ha(j>>>16&255,j&255)|0)>>>0)/255|0;n=((ha(j>>>8&255,j&255)|0)>>>0)/255|0}else{h=j>>>24;i=j>>>16&255;n=j>>>8&255}switch(q&112|0){case 16:{m=h+(((ha(l>>>16&255,j&255^255)|0)>>>0)/255|0)|0;i=i+(((ha(l>>>8&255,j&255^255)|0)>>>0)/255|0)|0;h=n+(((ha(j&255^255,l&255)|0)>>>0)/255|0)|0;break}case 32:{n=n+(l&255)|0;i=i+(l>>>8&255)|0;m=h+(l>>>16&255)|0;m=m>>>0>255?255:m;i=i>>>0>255?255:i;h=n>>>0>255?255:n;break}case 64:{m=((ha(h,l>>>16&255)|0)>>>0)/255|0;i=((ha(i,l>>>8&255)|0)>>>0)/255|0;h=((ha(n,l&255)|0)>>>0)/255|0;break}default:{m=l>>>16&255;i=l>>>8&255;h=l&255}}k[o>>2]=i<<8|h|m<<16;if(!c)break;else{o=o+4|0;b=b+r|0}}c=k[a+28>>2]|0}f=p+(k[a+32>>2]|0)|0;b=c+-1|0;k[a+28>>2]=b;if(!c)break;g=f;c=k[a+24>>2]|0;p=f;d=d+s|0}k[a+20>>2]=f;return}function ycb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=k[a+52>>2]|0;i=k[a+60>>2]|0;c=k[a+28>>2]|0;k[a+28>>2]=c+-1;if(!c)return;f=k[a>>2]|0;d=k[a+20>>2]|0;if(!(b&1)){g=f;h=d;e=c+-1|0;b=d;c=f;while(1){d=k[a+24>>2]|0;if(!d)d=e;else{while(1){d=d+-1|0;i=k[c>>2]|0;k[b>>2]=i>>>8&65535|i>>>24<<16;if(!d)break;else{b=b+4|0;c=c+4|0}}d=k[a+28>>2]|0}c=g+(k[a+12>>2]|0)|0;b=h+(k[a+32>>2]|0)|0;e=d+-1|0;k[a+28>>2]=e;if(!d)break;else{g=c;h=b}}k[a>>2]=c;k[a+20>>2]=b;return}else{g=f;h=d;e=c+-1|0;b=d;c=f;while(1){d=k[a+24>>2]|0;if(!d)d=e;else{while(1){d=d+-1|0;f=k[c>>2]|0;f=(((ha(f>>>16&255,i>>>8&255)|0)>>>0)/255|0)<<8|(((ha(f>>>8&255,i&255)|0)>>>0)/255|0)|(((ha(f>>>24,i>>>16&255)|0)>>>0)/255|0)<<16;k[b>>2]=f;if(!d)break;else{b=b+4|0;c=c+4|0}}d=k[a+28>>2]|0}c=g+(k[a+12>>2]|0)|0;b=h+(k[a+32>>2]|0)|0;e=d+-1|0;k[a+28>>2]=e;if(!d)break;else{g=c;h=b}}k[a>>2]=c;k[a+20>>2]=b;return}}function zcb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0;i=k[a+52>>2]|0;n=k[a+60>>2]|0;j=k[a+28>>2]|0;l=(k[a+8>>2]<<16|0)/(j|0)|0;b=k[a+24>>2]|0;m=(k[a+4>>2]<<16|0)/(b|0)|0;k[a+28>>2]=j+-1;if(!j)return;e=k[a+20>>2]|0;j=e;c=0;d=0;while(1){if((c|0)>65535){g=c+-65536|0;h=g-(g>>>16<<16)|0;d=d+1+(g>>>16)|0}else h=c;c=b+-1|0;if(b|0)if(!(i&1)){g=e;b=65536;e=0;f=-1;while(1){if((b|0)>65535){b=b+-65536|0;f=f+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(k[a>>2]|0)+(ha(k[a+12>>2]|0,d)|0)+(f<<2)|0}o=k[e>>2]|0;k[g>>2]=o>>>24<<16|o>>>8&65280|o>>>8&255;if(!c)break;else{c=c+-1|0;g=g+4|0;b=b+m|0}}}else{g=e;b=65536;e=0;f=-1;while(1){if((b|0)>65535){b=b+-65536|0;f=f+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(k[a>>2]|0)+(ha(k[a+12>>2]|0,d)|0)+(f<<2)|0}o=k[e>>2]|0;o=(((ha(o>>>24,n>>>16&255)|0)>>>0)/255|0)<<16|(((ha(o>>>16&255,n>>>8&255)|0)>>>0)/255|0)<<8|(((ha(o>>>8&255,n&255)|0)>>>0)/255|0);k[g>>2]=o;if(!c)break;else{c=c+-1|0;g=g+4|0;b=b+m|0}}}b=j+(k[a+32>>2]|0)|0;o=k[a+28>>2]|0;k[a+28>>2]=o+-1;if(!o)break;j=b;e=b;b=k[a+24>>2]|0;c=h+l|0}k[a+20>>2]=b;return}function Acb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0;l=k[a+52>>2]|0;m=k[a+60>>2]|0;b=k[a+28>>2]|0;k[a+28>>2]=b+-1;if(!b)return;c=k[a>>2]|0;j=k[a+20>>2]|0;n=c;o=j;e=b+-1|0;b=j;while(1){d=k[a+24>>2]|0;if(!d)d=e;else{while(1){d=d+-1|0;e=k[c>>2]|0;j=k[b>>2]|0;if(!(l&1)){f=e>>>24;g=e>>>16&255;h=e>>>8&255}else{f=((ha(e>>>24,m>>>16&255)|0)>>>0)/255|0;g=((ha(e>>>16&255,m>>>8&255)|0)>>>0)/255|0;h=((ha(e>>>8&255,m&255)|0)>>>0)/255|0}if(!(l&2))i=e&255;else i=((ha(e&255,m>>>24)|0)>>>0)/255|0;if((l&48|0)!=0&i>>>0<255){f=((ha(i,f)|0)>>>0)/255|0;e=((ha(i,g)|0)>>>0)/255|0;h=((ha(i,h)|0)>>>0)/255|0}else e=g;switch(l&112|0){case 16:{i=255-i|0;g=f+(((ha(i,j>>>16&255)|0)>>>0)/255|0)|0;f=e+(((ha(i,j>>>8&255)|0)>>>0)/255|0)|0;e=h+(((ha(i,j&255)|0)>>>0)/255|0)|0;break}case 32:{i=h+(j&255)|0;e=e+(j>>>8&255)|0;g=f+(j>>>16&255)|0;g=g>>>0>255?255:g;f=e>>>0>255?255:e;e=i>>>0>255?255:i;break}case 64:{g=((ha(f,j>>>16&255)|0)>>>0)/255|0;f=((ha(e,j>>>8&255)|0)>>>0)/255|0;e=((ha(h,j&255)|0)>>>0)/255|0;break}default:{g=j>>>16&255;f=j>>>8&255;e=j&255}}k[b>>2]=f<<8|e|g<<16;if(!d)break;else{b=b+4|0;c=c+4|0}}d=k[a+28>>2]|0}c=n+(k[a+12>>2]|0)|0;b=o+(k[a+32>>2]|0)|0;e=d+-1|0;k[a+28>>2]=e;if(!d)break;else{n=c;o=b}}k[a>>2]=c;k[a+20>>2]=b;return}function Bcb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;p=k[a+52>>2]|0;t=k[a+60>>2]|0;b=k[a+28>>2]|0;r=(k[a+8>>2]<<16|0)/(b|0)|0;c=k[a+24>>2]|0;s=(k[a+4>>2]<<16|0)/(c|0)|0;k[a+28>>2]=b+-1;if(!b)return;f=k[a+20>>2]|0;q=f;b=b+-1|0;d=0;e=0;while(1){if((d|0)>65535){n=d+-65536|0;o=n-(n>>>16<<16)|0;e=e+1+(n>>>16)|0}else o=d;if(!c)c=b;else{b=65536;d=0;g=-1;while(1){c=c+-1|0;if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;d=(k[a>>2]|0)+(ha(k[a+12>>2]|0,e)|0)+(g<<2)|0}h=k[d>>2]|0;n=k[f>>2]|0;if(!(p&1)){i=h>>>24;j=h>>>16&255;l=h>>>8&255}else{i=((ha(h>>>24,t>>>16&255)|0)>>>0)/255|0;j=((ha(h>>>16&255,t>>>8&255)|0)>>>0)/255|0;l=((ha(h>>>8&255,t&255)|0)>>>0)/255|0}if(!(p&2))m=h&255;else m=((ha(h&255,t>>>24)|0)>>>0)/255|0;if((p&48|0)!=0&m>>>0<255){i=((ha(m,i)|0)>>>0)/255|0;h=((ha(m,j)|0)>>>0)/255|0;l=((ha(m,l)|0)>>>0)/255|0}else h=j;switch(p&112|0){case 16:{m=255-m|0;j=i+(((ha(m,n>>>16&255)|0)>>>0)/255|0)|0;i=h+(((ha(m,n>>>8&255)|0)>>>0)/255|0)|0;h=l+(((ha(m,n&255)|0)>>>0)/255|0)|0;break}case 32:{m=l+(n&255)|0;h=h+(n>>>8&255)|0;j=i+(n>>>16&255)|0;j=j>>>0>255?255:j;i=h>>>0>255?255:h;h=m>>>0>255?255:m;break}case 64:{j=((ha(i,n>>>16&255)|0)>>>0)/255|0;i=((ha(h,n>>>8&255)|0)>>>0)/255|0;h=((ha(l,n&255)|0)>>>0)/255|0;break}default:{j=n>>>16&255;i=n>>>8&255;h=n&255}}k[f>>2]=i<<8|h|j<<16;if(!c)break;else{f=f+4|0;b=b+s|0}}c=k[a+28>>2]|0}d=q+(k[a+32>>2]|0)|0;b=c+-1|0;k[a+28>>2]=b;if(!c)break;q=d;f=d;c=k[a+24>>2]|0;d=o+r|0}k[a+20>>2]=d;return}function Ccb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0;c=k[a+28>>2]|0;l=(k[a+8>>2]<<16|0)/(c|0)|0;b=k[a+24>>2]|0;j=(k[a+4>>2]<<16|0)/(b|0)|0;k[a+28>>2]=c+-1;if(!c)return;f=k[a+20>>2]|0;i=f;c=c+-1|0;d=0;e=0;while(1){if((d|0)>65535){h=d+-65536|0;d=h-(h>>>16<<16)|0;e=e+1+(h>>>16)|0}if(!b)b=c;else{c=65536;g=0;h=-1;while(1){b=b+-1|0;if((c|0)>65535){c=c+-65536|0;h=h+1+(c>>>16)|0;c=c-(c>>>16<<16)|0;g=(k[a>>2]|0)+(ha(k[a+12>>2]|0,e)|0)+(h<<2)|0}m=uBb(k[g>>2]|0)|0;k[f>>2]=m;if(!b)break;else{f=f+4|0;c=c+j|0}}b=k[a+28>>2]|0}f=i+(k[a+32>>2]|0)|0;c=b+-1|0;k[a+28>>2]=c;if(!b)break;b=k[a+24>>2]|0;i=f;d=d+l|0}k[a+20>>2]=f;return}function Dcb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0;m=k[a+52>>2]|0;o=k[a+28>>2]|0;k[a+28>>2]=o+-1;if(!o)return;c=k[a>>2]|0;b=k[a+20>>2]|0;n=c;o=b;while(1){d=k[a+24>>2]|0;a:do if(d|0){if(!(m&48)){i=d+-1|0;while(1){d=k[c>>2]|0;e=k[b>>2]|0;switch(m&112|0){case 16:{f=(((ha(d&255^255,e>>>24)|0)>>>0)/255|0)+(d&255)|0;g=(d>>>24)+(((ha(d&255^255,e&255)|0)>>>0)/255|0)|0;h=(d>>>16&255)+(((ha(e>>>8&255,d&255^255)|0)>>>0)/255|0)|0;d=(d>>>8&255)+(((ha(e>>>16&255,d&255^255)|0)>>>0)/255|0)|0;break}case 32:{f=e>>>24;g=((d>>>24)+(e&255)|0)>>>0>255?255:(d>>>24)+(e&255)|0;h=((d>>>16&255)+(e>>>8&255)|0)>>>0>255?255:(d>>>16&255)+(e>>>8&255)|0;d=((d>>>8&255)+(e>>>16&255)|0)>>>0>255?255:(d>>>8&255)+(e>>>16&255)|0;break}case 64:{f=e>>>24;g=((ha(d>>>24,e&255)|0)>>>0)/255|0;h=((ha(d>>>16&255,e>>>8&255)|0)>>>0)/255|0;d=((ha(d>>>8&255,e>>>16&255)|0)>>>0)/255|0;break}default:{f=e>>>24;g=e&255;h=e>>>8&255;d=e>>>16&255}}k[b>>2]=h<<8|d<<16|g|f<<24;if(!i)break a;else{i=i+-1|0;b=b+4|0;c=c+4|0}}}else l=d+-1|0;while(1){f=k[c>>2]|0;g=k[b>>2]|0;if((f&255|0)==255){d=f>>>24;e=f>>>16&255;i=f>>>8&255}else{d=((ha(f>>>24,f&255)|0)>>>0)/255|0;e=((ha(f>>>16&255,f&255)|0)>>>0)/255|0;i=((ha(f>>>8&255,f&255)|0)>>>0)/255|0}switch(m&112|0){case 16:{j=(((ha(f&255^255,g>>>24)|0)>>>0)/255|0)+(f&255)|0;h=d+(((ha(f&255^255,g&255)|0)>>>0)/255|0)|0;e=e+(((ha(g>>>8&255,f&255^255)|0)>>>0)/255|0)|0;d=i+(((ha(g>>>16&255,f&255^255)|0)>>>0)/255|0)|0;break}case 32:{i=i+(g>>>16&255)|0;e=e+(g>>>8&255)|0;h=d+(g&255)|0;j=g>>>24;h=h>>>0>255?255:h;e=e>>>0>255?255:e;d=i>>>0>255?255:i;break}case 64:{j=g>>>24;h=((ha(d,g&255)|0)>>>0)/255|0;e=((ha(e,g>>>8&255)|0)>>>0)/255|0;d=((ha(i,g>>>16&255)|0)>>>0)/255|0;break}default:{j=g>>>24;h=g&255;e=g>>>8&255;d=g>>>16&255}}k[b>>2]=e<<8|d<<16|h|j<<24;if(!l)break a;else{l=l+-1|0;b=b+4|0;c=c+4|0}}}while(0);c=n+(k[a+12>>2]|0)|0;b=o+(k[a+32>>2]|0)|0;o=k[a+28>>2]|0;k[a+28>>2]=o+-1;if(!o)break;else{n=c;o=b}}k[a>>2]=c;k[a+20>>2]=b;return}function Ecb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;q=k[a+52>>2]|0;b=k[a+28>>2]|0;t=(k[a+8>>2]<<16|0)/(b|0)|0;c=k[a+24>>2]|0;s=(k[a+4>>2]<<16|0)/(c|0)|0;k[a+28>>2]=b+-1;if(!b)return;f=k[a+20>>2]|0;r=f;b=b+-1|0;d=0;e=0;while(1){if((d|0)>65535){o=d+-65536|0;p=o-(o>>>16<<16)|0;e=e+1+(o>>>16)|0}else p=d;if(!c)c=b;else{b=65536;d=0;g=-1;while(1){c=c+-1|0;if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;d=(k[a>>2]|0)+(ha(k[a+12>>2]|0,e)|0)+(g<<2)|0}j=k[d>>2]|0;l=k[f>>2]|0;if((q&48|0)!=0&(j&255|0)!=255){h=((ha(j>>>24,j&255)|0)>>>0)/255|0;i=((ha(j>>>16&255,j&255)|0)>>>0)/255|0;n=((ha(j>>>8&255,j&255)|0)>>>0)/255|0}else{h=j>>>24;i=j>>>16&255;n=j>>>8&255}switch(q&112|0){case 16:{o=(((ha(j&255^255,l>>>24)|0)>>>0)/255|0)+(j&255)|0;m=h+(((ha(j&255^255,l&255)|0)>>>0)/255|0)|0;i=i+(((ha(l>>>8&255,j&255^255)|0)>>>0)/255|0)|0;h=n+(((ha(l>>>16&255,j&255^255)|0)>>>0)/255|0)|0;break}case 32:{n=n+(l>>>16&255)|0;i=i+(l>>>8&255)|0;m=h+(l&255)|0;o=l>>>24;m=m>>>0>255?255:m;i=i>>>0>255?255:i;h=n>>>0>255?255:n;break}case 64:{o=l>>>24;m=((ha(h,l&255)|0)>>>0)/255|0;i=((ha(i,l>>>8&255)|0)>>>0)/255|0;h=((ha(n,l>>>16&255)|0)>>>0)/255|0;break}default:{o=l>>>24;m=l&255;i=l>>>8&255;h=l>>>16&255}}k[f>>2]=i<<8|h<<16|m|o<<24;if(!c)break;else{f=f+4|0;b=b+s|0}}c=k[a+28>>2]|0}d=r+(k[a+32>>2]|0)|0;b=c+-1|0;k[a+28>>2]=b;if(!c)break;r=d;f=d;c=k[a+24>>2]|0;d=p+t|0}k[a+20>>2]=d;return}function Fcb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=k[a+52>>2]|0;j=k[a+60>>2]|0;h=k[a+28>>2]|0;k[a+28>>2]=h+-1;if(!h)return;c=k[a>>2]|0;b=k[a+20>>2]|0;e=b;g=c;while(1){d=k[a+24>>2]|0;if(d|0)if(!(i&1)){h=d+-1|0;while(1){d=k[g>>2]|0;if(!(i&2))f=d&255;else f=((ha(d&255,j>>>24)|0)>>>0)/255|0;k[e>>2]=d>>>8&65280|d<<8&16711680|d>>>24|f<<24;if(!h)break;else{h=h+-1|0;e=e+4|0;g=g+4|0}}}else if(!(i&2)){f=d+-1|0;d=g;while(1){h=k[d>>2]|0;h=(((ha(h>>>16&255,j>>>8&255)|0)>>>0)/255|0)<<8|(((ha(h>>>8&255,j&255)|0)>>>0)/255|0)<<16|(((ha(h>>>24,j>>>16&255)|0)>>>0)/255|0)|h<<24;k[e>>2]=h;if(!f)break;else{f=f+-1|0;e=e+4|0;d=d+4|0}}}else{f=d+-1|0;d=g;while(1){h=k[d>>2]|0;h=(((ha(h>>>16&255,j>>>8&255)|0)>>>0)/255|0)<<8|(((ha(h>>>8&255,j&255)|0)>>>0)/255|0)<<16|(((ha(h>>>24,j>>>16&255)|0)>>>0)/255|0)|(((ha(h&255,j>>>24)|0)>>>0)/255|0)<<24;k[e>>2]=h;if(!f)break;else{f=f+-1|0;e=e+4|0;d=d+4|0}}}c=c+(k[a+12>>2]|0)|0;b=b+(k[a+32>>2]|0)|0;h=k[a+28>>2]|0;k[a+28>>2]=h+-1;if(!h)break;else{e=b;g=c}}k[a>>2]=c;k[a+20>>2]=b;return}function Gcb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;n=k[a+52>>2]|0;r=k[a+60>>2]|0;o=k[a+28>>2]|0;p=(k[a+8>>2]<<16|0)/(o|0)|0;b=k[a+24>>2]|0;q=(k[a+4>>2]<<16|0)/(b|0)|0;k[a+28>>2]=o+-1;if(!o)return;e=k[a+20>>2]|0;o=e;c=0;d=0;while(1){if((c|0)>65535){l=c+-65536|0;m=l-(l>>>16<<16)|0;d=d+1+(l>>>16)|0}else m=c;c=b+-1|0;if(b|0)if(!(n&1)){i=e;b=65536;e=0;f=-1;while(1){if((b|0)>65535){g=b+-65536|0;f=f+1+(g>>>16)|0;g=g-(g>>>16<<16)|0;h=(k[a>>2]|0)+(ha(k[a+12>>2]|0,d)|0)+(f<<2)|0}else{g=b;h=e}b=k[h>>2]|0;if(!(n&2))e=b&255;else e=((ha(b&255,r>>>24)|0)>>>0)/255|0;k[i>>2]=b>>>24|b>>>8&65280|b<<8&16711680|e<<24;if(!c)break;else{c=c+-1|0;i=i+4|0;b=g+q|0;e=h}}}else{l=e;b=65536;e=0;f=-1;while(1){if((b|0)>65535){b=b+-65536|0;f=f+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;e=(k[a>>2]|0)+(ha(k[a+12>>2]|0,d)|0)+(f<<2)|0}g=k[e>>2]|0;h=((ha(g>>>8&255,r&255)|0)>>>0)/255|0;i=((ha(g>>>16&255,r>>>8&255)|0)>>>0)/255|0;j=((ha(g>>>24,r>>>16&255)|0)>>>0)/255|0;if(!(n&2))g=g&255;else g=((ha(g&255,r>>>24)|0)>>>0)/255|0;k[l>>2]=j|i<<8|h<<16|g<<24;if(!c)break;else{c=c+-1|0;l=l+4|0;b=b+q|0}}}b=o+(k[a+32>>2]|0)|0;o=k[a+28>>2]|0;k[a+28>>2]=o+-1;if(!o)break;o=b;e=b;b=k[a+24>>2]|0;c=m+p|0}k[a+20>>2]=b;return}function Hcb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0;o=k[a+52>>2]|0;p=k[a+60>>2]|0;b=k[a+28>>2]|0;k[a+28>>2]=b+-1;if(!b)return;c=k[a>>2]|0;n=k[a+20>>2]|0;e=b+-1|0;f=n;g=c;b=n;while(1){d=k[a+24>>2]|0;if(!d)d=e;else{while(1){d=d+-1|0;e=k[g>>2]|0;n=k[f>>2]|0;if(!(o&1)){h=e>>>24;i=e>>>16&255;j=e>>>8&255}else{h=((ha(e>>>24,p>>>16&255)|0)>>>0)/255|0;i=((ha(e>>>16&255,p>>>8&255)|0)>>>0)/255|0;j=((ha(e>>>8&255,p&255)|0)>>>0)/255|0}if(!(o&2))e=e&255;else e=((ha(e&255,p>>>24)|0)>>>0)/255|0;if((o&48|0)!=0&e>>>0<255){h=((ha(e,h)|0)>>>0)/255|0;l=((ha(e,i)|0)>>>0)/255|0;m=((ha(e,j)|0)>>>0)/255|0}else{l=i;m=j}switch(o&112|0){case 16:{q=255-e|0;j=(((ha(q,n>>>24)|0)>>>0)/255|0)+e|0;i=h+(((ha(q,n&255)|0)>>>0)/255|0)|0;h=l+(((ha(q,n>>>8&255)|0)>>>0)/255|0)|0;e=m+(((ha(q,n>>>16&255)|0)>>>0)/255|0)|0;break}case 32:{e=m+(n>>>16&255)|0;q=l+(n>>>8&255)|0;i=h+(n&255)|0;j=n>>>24;i=i>>>0>255?255:i;h=q>>>0>255?255:q;e=e>>>0>255?255:e;break}case 64:{j=n>>>24;i=((ha(h,n&255)|0)>>>0)/255|0;h=((ha(l,n>>>8&255)|0)>>>0)/255|0;e=((ha(m,n>>>16&255)|0)>>>0)/255|0;break}default:{j=n>>>24;i=n&255;h=n>>>8&255;e=n>>>16&255}}k[f>>2]=h<<8|e<<16|i|j<<24;if(!d)break;else{f=f+4|0;g=g+4|0}}d=k[a+28>>2]|0}c=c+(k[a+12>>2]|0)|0;b=b+(k[a+32>>2]|0)|0;e=d+-1|0;k[a+28>>2]=e;if(!d)break;else{f=b;g=c}}k[a>>2]=c;k[a+20>>2]=b;return}function Icb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;q=k[a+52>>2]|0;u=k[a+60>>2]|0;b=k[a+28>>2]|0;s=(k[a+8>>2]<<16|0)/(b|0)|0;c=k[a+24>>2]|0;t=(k[a+4>>2]<<16|0)/(c|0)|0;k[a+28>>2]=b+-1;if(!b)return;f=k[a+20>>2]|0;r=f;b=b+-1|0;d=0;e=0;while(1){if((d|0)>65535){o=d+-65536|0;p=o-(o>>>16<<16)|0;e=e+1+(o>>>16)|0}else p=d;if(!c)c=b;else{b=65536;d=0;g=-1;while(1){c=c+-1|0;if((b|0)>65535){b=b+-65536|0;g=g+1+(b>>>16)|0;b=b-(b>>>16<<16)|0;d=(k[a>>2]|0)+(ha(k[a+12>>2]|0,e)|0)+(g<<2)|0}h=k[d>>2]|0;o=k[f>>2]|0;if(!(q&1)){i=h>>>24;j=h>>>16&255;l=h>>>8&255}else{i=((ha(h>>>24,u>>>16&255)|0)>>>0)/255|0;j=((ha(h>>>16&255,u>>>8&255)|0)>>>0)/255|0;l=((ha(h>>>8&255,u&255)|0)>>>0)/255|0}if(!(q&2))h=h&255;else h=((ha(h&255,u>>>24)|0)>>>0)/255|0;if((q&48|0)!=0&h>>>0<255){i=((ha(h,i)|0)>>>0)/255|0;m=((ha(h,j)|0)>>>0)/255|0;n=((ha(h,l)|0)>>>0)/255|0}else{m=j;n=l}switch(q&112|0){case 16:{v=255-h|0;l=(((ha(v,o>>>24)|0)>>>0)/255|0)+h|0;j=i+(((ha(v,o&255)|0)>>>0)/255|0)|0;i=m+(((ha(v,o>>>8&255)|0)>>>0)/255|0)|0;h=n+(((ha(v,o>>>16&255)|0)>>>0)/255|0)|0;break}case 32:{h=n+(o>>>16&255)|0;v=m+(o>>>8&255)|0;j=i+(o&255)|0;l=o>>>24;j=j>>>0>255?255:j;i=v>>>0>255?255:v;h=h>>>0>255?255:h;break}case 64:{l=o>>>24;j=((ha(i,o&255)|0)>>>0)/255|0;i=((ha(m,o>>>8&255)|0)>>>0)/255|0;h=((ha(n,o>>>16&255)|0)>>>0)/255|0;break}default:{l=o>>>24;j=o&255;i=o>>>8&255;h=o>>>16&255}}k[f>>2]=i<<8|h<<16|j|l<<24;if(!c)break;else{f=f+4|0;b=b+t|0}}c=k[a+28>>2]|0}d=r+(k[a+32>>2]|0)|0;b=c+-1|0;k[a+28>>2]=b;if(!c)break;r=d;f=d;c=k[a+24>>2]|0;d=p+s|0}k[a+20>>2]=d;return}function Jcb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;g=ha(l[(k[a+44>>2]|0)+9>>0]|0,k[a+24>>2]|0)|0;c=k[a+28>>2]|0;d=k[a>>2]|0;b=k[a+20>>2]|0;f=k[a+12>>2]|0;e=k[a+32>>2]|0;h=b>>>0<(d+(ha(f,c)|0)|0)>>>0;a=d>>>0<(b+(ha(e,c)|0)|0)>>>0;if(d>>>0>>0?h:a){if(!c)return;else a=d;while(1){c=c+-1|0;Kcb(b,a,g)|0;if(!c)break;else{b=b+e|0;a=a+f|0}}return}else{if(!c)return;else a=d;while(1){c=c+-1|0;y7a(b,a,g)|0;if(!c)break;else{b=b+e|0;a=a+f|0}}return}}function Kcb(a,b,c){a=a|0;b=b|0;c=c|0;BBb(a|0,b|0,c|0)|0;return a|0}function Lcb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;x=k[a+52>>2]|0;D=k[a+60>>2]|0;y=k[a+40>>2]|0;z=k[a+44>>2]|0;A=i[y+9>>0]|0;B=l[z+9>>0]|0;w=k[a+28>>2]|0;C=(k[a+8>>2]<<16|0)/(w|0)|0;b=k[a+24>>2]|0;E=(k[a+4>>2]<<16|0)/(b|0)|0;k[a+28>>2]=w+-1;if(!w)return;c=k[a+20>>2]|0;d=0;e=0;while(1){if((d|0)>65535){w=d+-65536|0;d=w-(w>>>16<<16)|0;e=e+1+(w>>>16)|0}if(b|0){f=65536;g=0;h=-1;while(1){b=b+-1|0;if((f|0)>65535){w=f+-65536|0;h=h+1+(w>>>16)|0;w=w-(w>>>16<<16)|0;g=(k[a>>2]|0)+(ha(k[a+12>>2]|0,e)|0)+(ha(h,A&255)|0)|0}else w=f;f=k[y+24>>2]|0;a:do if(!f)switch(A&255|0){case 1:{q=l[g>>0]|0;f=k[y+32>>2]|0;v=k[y+28>>2]|0;p=-1;o=i[(k[124356+((v>>>16&255)<<2)>>2]|0)+((k[y+20>>2]&q)>>>(f>>>16&255))>>0]|0;n=i[(k[124356+((v>>>8&255)<<2)>>2]|0)+((k[y+16>>2]&q)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((v&255)<<2)>>2]|0)+((q&k[y+12>>2])>>>(f&255))>>0]|0;break a}case 2:{q=m[g>>1]|0;f=k[y+32>>2]|0;v=k[y+28>>2]|0;p=-1;o=i[(k[124356+((v>>>16&255)<<2)>>2]|0)+((k[y+20>>2]&q)>>>(f>>>16&255))>>0]|0;n=i[(k[124356+((v>>>8&255)<<2)>>2]|0)+((k[y+16>>2]&q)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((v&255)<<2)>>2]|0)+((q&k[y+12>>2])>>>(f&255))>>0]|0;break a}case 3:{f=k[y+32>>2]|0;p=-1;o=i[g+(f>>>19&31)>>0]|0;n=i[g+(f>>>11&31)>>0]|0;f=i[g+(f>>>3&31)>>0]|0;q=0;break a}case 4:{q=k[g>>2]|0;f=k[y+32>>2]|0;v=k[y+28>>2]|0;p=-1;o=i[(k[124356+((v>>>16&255)<<2)>>2]|0)+((k[y+20>>2]&q)>>>(f>>>16&255))>>0]|0;n=i[(k[124356+((v>>>8&255)<<2)>>2]|0)+((k[y+16>>2]&q)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((v&255)<<2)>>2]|0)+((k[y+12>>2]&q)>>>(f&255))>>0]|0;break a}default:{p=-1;o=0;n=0;f=0;q=0;break a}}else switch(A&255|0){case 1:{q=l[g>>0]|0;v=k[y+32>>2]|0;u=k[y+28>>2]|0;p=i[(k[124356+(u>>>24<<2)>>2]|0)+((q&f)>>>(v>>>24))>>0]|0;o=i[(k[124356+((u>>>16&255)<<2)>>2]|0)+((k[y+20>>2]&q)>>>(v>>>16&255))>>0]|0;n=i[(k[124356+((u>>>8&255)<<2)>>2]|0)+((k[y+16>>2]&q)>>>(v>>>8&255))>>0]|0;f=i[(k[124356+((u&255)<<2)>>2]|0)+((q&k[y+12>>2])>>>(v&255))>>0]|0;break a}case 2:{q=m[g>>1]|0;v=k[y+32>>2]|0;u=k[y+28>>2]|0;p=i[(k[124356+(u>>>24<<2)>>2]|0)+((q&f)>>>(v>>>24))>>0]|0;o=i[(k[124356+((u>>>16&255)<<2)>>2]|0)+((k[y+20>>2]&q)>>>(v>>>16&255))>>0]|0;n=i[(k[124356+((u>>>8&255)<<2)>>2]|0)+((k[y+16>>2]&q)>>>(v>>>8&255))>>0]|0;f=i[(k[124356+((u&255)<<2)>>2]|0)+((q&k[y+12>>2])>>>(v&255))>>0]|0;break a}case 3:{f=k[y+32>>2]|0;p=-1;o=i[g+(f>>>19&31)>>0]|0;n=i[g+(f>>>11&31)>>0]|0;f=i[g+(f>>>3&31)>>0]|0;q=0;break a}case 4:{q=k[g>>2]|0;v=k[y+32>>2]|0;u=k[y+28>>2]|0;p=i[(k[124356+(u>>>24<<2)>>2]|0)+((q&f)>>>(v>>>24))>>0]|0;o=i[(k[124356+((u>>>16&255)<<2)>>2]|0)+((k[y+20>>2]&q)>>>(v>>>16&255))>>0]|0;n=i[(k[124356+((u>>>8&255)<<2)>>2]|0)+((k[y+16>>2]&q)>>>(v>>>8&255))>>0]|0;f=i[(k[124356+((u&255)<<2)>>2]|0)+((k[y+12>>2]&q)>>>(v&255))>>0]|0;break a}default:{p=0;o=0;n=0;f=0;q=0;break a}}while(0);t=f&255;s=n&255;r=o&255;u=p&255;if(!(x&256))F=24;else{if(A<<24>>24==3){f=k[y+32>>2]|0;f=s<<(f>>>8&255)|t<<(f&255)|r<<(f>>>16&255)}else f=q;if((f|0)!=(k[a+56>>2]|0))F=24}b:do if((F|0)==24){F=0;v=k[z+24>>2]|0;c:do if(!v)switch(B|0){case 1:{q=l[c>>0]|0;f=k[z+32>>2]|0;G=k[z+28>>2]|0;p=-1;o=i[(k[124356+((G>>>16&255)<<2)>>2]|0)+((k[z+20>>2]&q)>>>(f>>>16&255))>>0]|0;n=i[(k[124356+((G>>>8&255)<<2)>>2]|0)+((k[z+16>>2]&q)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((G&255)<<2)>>2]|0)+((q&k[z+12>>2])>>>(f&255))>>0]|0;break c}case 2:{G=m[c>>1]|0;f=k[z+32>>2]|0;q=k[z+28>>2]|0;p=-1;o=i[(k[124356+((q>>>16&255)<<2)>>2]|0)+((k[z+20>>2]&G)>>>(f>>>16&255))>>0]|0;n=i[(k[124356+((q>>>8&255)<<2)>>2]|0)+((k[z+16>>2]&G)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((q&255)<<2)>>2]|0)+((G&k[z+12>>2])>>>(f&255))>>0]|0;break c}case 3:{f=k[z+32>>2]|0;p=-1;o=i[c+(f>>>19&31)>>0]|0;n=i[c+(f>>>11&31)>>0]|0;f=i[c+(f>>>3&31)>>0]|0;break c}case 4:{G=k[c>>2]|0;f=k[z+32>>2]|0;q=k[z+28>>2]|0;p=-1;o=i[(k[124356+((q>>>16&255)<<2)>>2]|0)+((k[z+20>>2]&G)>>>(f>>>16&255))>>0]|0;n=i[(k[124356+((q>>>8&255)<<2)>>2]|0)+((k[z+16>>2]&G)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((q&255)<<2)>>2]|0)+((k[z+12>>2]&G)>>>(f&255))>>0]|0;break c}default:{p=-1;o=0;n=0;f=0;break c}}else switch(B|0){case 1:{G=l[c>>0]|0;f=k[z+32>>2]|0;q=k[z+28>>2]|0;p=i[(k[124356+(q>>>24<<2)>>2]|0)+((G&v)>>>(f>>>24))>>0]|0;o=i[(k[124356+((q>>>16&255)<<2)>>2]|0)+((k[z+20>>2]&G)>>>(f>>>16&255))>>0]|0;n=i[(k[124356+((q>>>8&255)<<2)>>2]|0)+((k[z+16>>2]&G)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((q&255)<<2)>>2]|0)+((G&k[z+12>>2])>>>(f&255))>>0]|0;break c}case 2:{G=m[c>>1]|0;f=k[z+32>>2]|0;q=k[z+28>>2]|0;p=i[(k[124356+(q>>>24<<2)>>2]|0)+((G&v)>>>(f>>>24))>>0]|0;o=i[(k[124356+((q>>>16&255)<<2)>>2]|0)+((k[z+20>>2]&G)>>>(f>>>16&255))>>0]|0;n=i[(k[124356+((q>>>8&255)<<2)>>2]|0)+((k[z+16>>2]&G)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((q&255)<<2)>>2]|0)+((G&k[z+12>>2])>>>(f&255))>>0]|0;break c}case 3:{f=k[z+32>>2]|0;p=-1;o=i[c+(f>>>19&31)>>0]|0;n=i[c+(f>>>11&31)>>0]|0;f=i[c+(f>>>3&31)>>0]|0;break c}case 4:{G=k[c>>2]|0;f=k[z+32>>2]|0;q=k[z+28>>2]|0;p=i[(k[124356+(q>>>24<<2)>>2]|0)+((G&v)>>>(f>>>24))>>0]|0;o=i[(k[124356+((q>>>16&255)<<2)>>2]|0)+((k[z+20>>2]&G)>>>(f>>>16&255))>>0]|0;n=i[(k[124356+((q>>>8&255)<<2)>>2]|0)+((k[z+16>>2]&G)>>>(f>>>8&255))>>0]|0;f=i[(k[124356+((q&255)<<2)>>2]|0)+((k[z+12>>2]&G)>>>(f&255))>>0]|0;break c}default:{p=0;o=0;n=0;f=0;break c}}while(0);f=f&255;n=n&255;o=o&255;p=p&255;if(x&1){r=((ha(r,D>>>16&255)|0)>>>0)/255|0;s=((ha(s,D>>>8&255)|0)>>>0)/255|0;t=((ha(t,D&255)|0)>>>0)/255|0}if(!(x&2))q=u;else q=((ha(u,D>>>24)|0)>>>0)/255|0;if((x&48|0)!=0&q>>>0<255){r=((ha(q,r)|0)>>>0)/255|0;s=((ha(q,s)|0)>>>0)/255|0;t=((ha(q,t)|0)>>>0)/255|0}switch(x&112|0){case 0:{p=q;o=r;n=s;f=t;break}case 16:{G=255-q|0;o=r+(((ha(G,o)|0)>>>0)/255|0)|0;n=s+(((ha(G,n)|0)>>>0)/255|0)|0;f=t+(((ha(G,f)|0)>>>0)/255|0)|0;break}case 32:{f=t+f|0;n=s+n|0;o=r+o|0;o=o>>>0>255?255:o;n=n>>>0>255?255:n;f=f>>>0>255?255:f;break}case 64:{o=((ha(r,o)|0)>>>0)/255|0;n=((ha(s,n)|0)>>>0)/255|0;f=((ha(t,f)|0)>>>0)/255|0;break}default:{}}if(!v)switch(B|0){case 1:{v=k[z+28>>2]|0;G=k[z+32>>2]|0;i[c>>0]=f>>>(v&255)<<(G&255)|n>>>(v>>>8&255)<<(G>>>8&255)|o>>>(v>>>16&255)<<(G>>>16&255);break b}case 2:{v=k[z+28>>2]|0;G=k[z+32>>2]|0;j[c>>1]=f>>>(v&255)<<(G&255)|n>>>(v>>>8&255)<<(G>>>8&255)|o>>>(v>>>16&255)<<(G>>>16&255);break b}case 3:{i[c+((l[z+32>>0]|0)>>>3&255)>>0]=f;i[c+((l[z+33>>0]|0)>>>3&255)>>0]=n;i[c+((l[z+34>>0]|0)>>>3&255)>>0]=o;break b}case 4:{v=k[z+28>>2]|0;G=k[z+32>>2]|0;k[c>>2]=f>>>(v&255)<<(G&255)|n>>>(v>>>8&255)<<(G>>>8&255)|o>>>(v>>>16&255)<<(G>>>16&255);break b}default:break b}else switch(B|0){case 1:{v=k[z+28>>2]|0;G=k[z+32>>2]|0;i[c>>0]=n>>>(v>>>8&255)<<(G>>>8&255)|f>>>(v&255)<<(G&255)|o>>>(v>>>16&255)<<(G>>>16&255)|p>>>(v>>>24)<<(G>>>24);break b}case 2:{v=k[z+28>>2]|0;G=k[z+32>>2]|0;j[c>>1]=n>>>(v>>>8&255)<<(G>>>8&255)|f>>>(v&255)<<(G&255)|o>>>(v>>>16&255)<<(G>>>16&255)|p>>>(v>>>24)<<(G>>>24);break b}case 3:{i[c+((l[z+32>>0]|0)>>>3&255)>>0]=f;i[c+((l[z+33>>0]|0)>>>3&255)>>0]=n;i[c+((l[z+34>>0]|0)>>>3&255)>>0]=o;break b}case 4:{v=k[z+28>>2]|0;G=k[z+32>>2]|0;k[c>>2]=n>>>(v>>>8&255)<<(G>>>8&255)|f>>>(v&255)<<(G&255)|o>>>(v>>>16&255)<<(G>>>16&255)|p>>>(v>>>24)<<(G>>>24);break b}default:break b}}while(0);if(!b)break;else{c=c+B|0;f=w+E|0}}}c=(k[a+20>>2]|0)+(k[a+32>>2]|0)|0;k[a+20>>2]=c;G=k[a+28>>2]|0;k[a+28>>2]=G+-1;if(!G)break;b=k[a+24>>2]|0;d=d+C|0}return}function Mcb(a){a=a|0;var b=0,c=0,d=0;b=k[a+316>>2]|0;c=k[b>>2]|0;if((k[299771]|0)==(c|0))d=4;else{k[b+268>>2]=0;if((n8a(k[a+188>>2]|0,c)|0)>=0){k[299771]=k[b>>2];y8a(a)|0;b=k[a+316>>2]|0;d=4}}if((d|0)==4)if(k[b+4>>2]|0){b=b+108|0;do{}while((oj[k[b>>2]&7]()|0)!=0)}Ncb(k[a+188>>2]|0);return}function Ncb(a){a=a|0;var b=0,c=0;c=r;r=r+32|0;b=k[299476]|0;if(!b){y6a(593213,c)|0;r=c;return}if(a|0)if((k[a>>2]|0)==(b+256|0)){if(!(k[a+48>>2]&2)){y6a(594886,c+16|0)|0;r=c;return}if((o8a(k[b+636>>2]|0)|0)==(a|0)){b=k[299476]|0;Di[k[b+172>>2]&511](b,a);r=c;return}else{y6a(600557,c+24|0)|0;r=c;return}}y6a(606710,c+8|0)|0;r=c;return}function Ocb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=k[a+316>>2]|0;f=k[b+68>>2]|0;c=k[e>>2]|0;if((k[299771]|0)==(c|0)){c=e;d=4}else{k[e+268>>2]=0;if((n8a(k[a+188>>2]|0,c)|0)>=0){k[299771]=k[e>>2];y8a(a)|0;c=k[a+316>>2]|0;d=4}}if((d|0)==4)if(k[c+4>>2]|0){c=c+108|0;do{}while((oj[k[c>>2]&7]()|0)!=0)}if(!f)return;Di[k[e+64>>2]&511](1,f);if(k[f+32>>2]|0)Di[k[e+64>>2]&511](1,f+32|0);if(k[f+36>>2]|0)Di[k[e+64>>2]&511](1,f+36|0);Y7a(k[f+16>>2]|0);Y7a(f);k[b+68>>2]=0;return}function Pcb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;g=k[a+316>>2]|0;e=k[b+68>>2]|0;b=k[g>>2]|0;if((k[299771]|0)==(b|0)){b=g;f=4}else{k[g+268>>2]=0;if((n8a(k[a+188>>2]|0,b)|0)>=0){k[299771]=k[g>>2];y8a(a)|0;b=k[a+316>>2]|0;f=4}}if((f|0)==4)if(k[b+4>>2]|0){b=b+108|0;do{}while((oj[k[b>>2]&7]()|0)!=0)}Di[k[g+28>>2]&511](k[e+4>>2]|0,k[e>>2]|0);if(c|0)o[c>>2]=1.0;if(!d)return 0;o[d>>2]=1.0;return 0}function Qcb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=k[a+316>>2]|0;c=k[b+68>>2]|0;b=k[e>>2]|0;if((k[299771]|0)==(b|0)){b=e;d=4}else{k[e+268>>2]=0;if((n8a(k[a+188>>2]|0,b)|0)>=0){k[299771]=k[e>>2];y8a(a)|0;b=k[a+316>>2]|0;d=4}}if((d|0)==4)if(k[b+4>>2]|0){b=b+108|0;do{}while((oj[k[b>>2]&7]()|0)!=0)}Di[k[e+28>>2]&511](k[c+4>>2]|0,0);return 0}function Rcb(a,b){a=a|0;b=b|0;b=Scb(a)|0;if(!b){a=0;return a|0}a=$cb(b)|0;return a|0}function Scb(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+48|0;b=k[299476]|0;if(!b){y6a(593213,d)|0;a=0;r=d;return a|0}if(a|0)if((k[a>>2]|0)==(b+256|0)){c=k[a+104>>2]|0;if(k[a+108>>2]|0){a=c;r=d;return a|0}if(c){k[c>>2]=k[c>>2]&-5;N7a(c);b=k[299476]|0}c=k[b+108>>2]|0;if(!c)b=0;else if(!(k[b+112>>2]|0))b=0;else if((Ni[c&127](b,a,d+40|0,d+36|0,d+32|0)|0)<0)b=0;else if(!(c9a(k[d+40>>2]|0,d+28|0,d+24|0,d+20|0,d+16|0,d+12|0)|0))b=0;else b=Tcb(k[d+36>>2]|0,k[a+24>>2]|0,k[a+28>>2]|0,k[d+28>>2]|0,k[d+32>>2]|0,k[d+24>>2]|0,k[d+20>>2]|0,k[d+16>>2]|0,k[d+12>>2]|0)|0;k[a+104>>2]=b;if(!b){a=0;r=d;return a|0}k[a+108>>2]=1;k[b>>2]=k[b>>2]|4;a=b;r=d;return a|0}y6a(606710,d+8|0)|0;a=0;r=d;return a|0}function Tcb(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;i=Ucb(0,0,0,d,f,g,h,i)|0;if(!i)return i|0;k[i>>2]=k[i>>2]|1;k[i+20>>2]=a;k[i+8>>2]=b;k[i+12>>2]=c;k[i+16>>2]=e;k[i+36>>2]=0;k[i+40>>2]=0;k[i+44>>2]=b;k[i+48>>2]=c;return i|0}function Ucb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0;j=r;r=r+16|0;a=Vcb(d,e,f,g,h)|0;if(!a){y6a(600652,j)|0;h=0;r=j;return h|0}e=j7a(1,60)|0;if(!e){x7a(0)|0;h=0;r=j;return h|0}d=Wcb(a)|0;k[e+4>>2]=d;if(!d){N7a(e);h=0;r=j;return h|0}k[e+8>>2]=b;k[e+12>>2]=c;a=Xcb(e)|0;k[e+16>>2]=a;a=k[e+8>>2]|0;g=k[e+12>>2]|0;k[e+36>>2]=0;k[e+40>>2]=0;k[e+44>>2]=a;k[e+48>>2]=g;g=k[e+4>>2]|0;f=k[g>>2]|0;if((f|0)==0|(f&-268435456|0)==268435456)if(((f>>>24&15)+-1|0)>>>0<3){a=Ycb(1<<(l[g+8>>0]|0))|0;if(!a){N7a(e);h=0;r=j;return h|0}if((k[a>>2]|0)==2){b=k[a+4>>2]|0;i[b>>0]=-1;i[b+1>>0]=-1;i[b+2>>0]=-1;i[b+4>>0]=0;i[b+5>>0]=0;i[b+6>>0]=0}if((g8a(k[e+4>>2]|0,a)|0)>=0)h8a(k[e+52>>2]|0);Zcb(a);a=k[e+8>>2]|0}do if(a|0){a=k[e+12>>2]|0;if(a|0){a=p7a(ha(k[e+16>>2]|0,a)|0)|0;k[e+20>>2]=a;if(a|0){O6a(a,0,ha(k[e+16>>2]|0,k[e+12>>2]|0)|0)|0;break}N7a(e);x7a(0)|0;h=0;r=j;return h|0}}while(0);a=_cb()|0;k[e+52>>2]=a;if(!a){N7a(e);h=0;r=j;return h|0}if(h|0){h=k[a+68>>2]|0;k[a+68>>2]=h&-113|16;if((h&-113|16|0)!=(h|0))h8a(a)}k[e+56>>2]=1;h=e;r=j;return h|0}function Vcb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;a:do switch(a|0){case 4:{f=304088064;return f|0}case 8:{if(!b){f=318769153;return f|0}if((b|0)==224&(c|0)==28&(d|0)==3&(e|0)==0){f=336660481;return f|0}break}case 12:{if(!b){f=353504258;return f|0}if((b|0)==3840&(c|0)==240&(d|0)==15&(e|0)==0){f=353504258;return f|0}break}case 15:{if(!b){f=353570562;return f|0}else f=9;break}case 16:{if(!b){f=353701890;return f|0}else f=9;break}case 24:{if((b|0)<255){switch(b|0){case 0:{e=390076419;break}default:{f=24;break a}}return e|0}if((b|0)>=16711680){switch(b|0){case 16711680:{e=390076419;break}default:{f=24;break a}}return e|0}switch(b|0){case 255:break;default:{f=24;break a}}f=386930691;return f|0}case 32:{if(!b){f=370546692;return f|0}else f=24;break}case 1:{f=287310080;return f|0}default:{}}while(0);if((f|0)==9){if((b|0)==31744&(c|0)==992&(d|0)==31&(e|0)==0){f=353570562;return f|0}if((b|0)==31&(c|0)==992&(d|0)==31744&(e|0)==0){f=357764866;return f|0}if((b|0)==3840&(c|0)==240&(d|0)==15&(e|0)==61440){f=355602434;return f|0}if((b|0)==61440&(c|0)==3840&(d|0)==240&(e|0)==15){f=356651010;return f|0}if((b|0)==15&(c|0)==240&(d|0)==3840&(e|0)==61440){f=359796738;return f|0}if((b|0)==240&(c|0)==3840&(d|0)==61440&(e|0)==15){f=360845314;return f|0}if((b|0)==31744&(c|0)==992&(d|0)==31&(e|0)==32768){f=355667970;return f|0}if((b|0)==63488&(c|0)==1984&(d|0)==62&(e|0)==1){f=356782082;return f|0}if((b|0)==31&(c|0)==992&(d|0)==31744&(e|0)==32768){f=359862274;return f|0}if((b|0)==62&(c|0)==1984&(d|0)==63488&(e|0)==1){f=360976386;return f|0}if((b|0)==63488&(c|0)==2016&(d|0)==31&(e|0)==0){f=353701890;return f|0}if((b|0)==31&(c|0)==2016&(d|0)==63488&(e|0)==0){f=357896194;return f|0}}else if((f|0)==24){if((b|0)==16711680&(c|0)==65280&(d|0)==255&(e|0)==0){f=370546692;return f|0}if((b|0)==-16777216&(c|0)==16711680&(d|0)==65280&(e|0)==0){f=371595268;return f|0}if((b|0)==255&(c|0)==65280&(d|0)==16711680&(e|0)==0){f=374740996;return f|0}if((b|0)==65280&(c|0)==16711680&(d|0)==-16777216&(e|0)==0){f=375789572;return f|0}if((b|0)==16711680&(c|0)==65280&(d|0)==255&(e|0)==-16777216){f=372645892;return f|0}if((b|0)==-16777216&(c|0)==16711680&(d|0)==65280&(e|0)==255){f=373694468;return f|0}if((b|0)==255&(c|0)==65280&(d|0)==16711680&(e|0)==-16777216){f=376840196;return f|0}if((b|0)==65280&(c|0)==16711680&(d|0)==-16777216&(e|0)==255){f=377888772;return f|0}if((b|0)==1072693248&(c|0)==1047552&(d|0)==1023&(e|0)==-1073741824){f=372711428;return f|0}}f=0;return f|0}function Wcb(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;b=k[299770]|0;a:do if(b|0){while(1){if((k[b>>2]|0)==(a|0))break;b=k[b+40>>2]|0;if(!b)break a}k[b+36>>2]=(k[b+36>>2]|0)+1;a=b;r=c;return a|0}while(0);b=p7a(44)|0;if(!b){x7a(0)|0;a=0;r=c;return a|0}if((b9a(b,a)|0)<0){Y7a(b);k[c>>2]=594879;y6a(608563,c)|0;a=0;r=c;return a|0}if((a|0)==0|(a&-268435456|0)==268435456)if(((a>>>24&15)+-1|0)>>>0<3){a=b;r=c;return a|0}k[b+40>>2]=k[299770];k[299770]=b;a=b;r=c;return a|0}function Xcb(a){a=a|0;var b=0;b=k[a+4>>2]|0;a=ha(l[b+9>>0]|0,k[a+8>>2]|0)|0;switch(l[b+8>>0]|0|0){case 1:{a=(a+7|0)/8|0;break}case 4:{a=(a+1|0)/2|0;break}default:{}}return a+3&-4|0}function Ycb(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+16|0;if((a|0)<1){k[d>>2]=600673;y6a(608563,d)|0;a=0;r=d;return a|0}b=p7a(16)|0;if(!b){x7a(0)|0;a=0;r=d;return a|0}c=p7a(a<<2)|0;k[b+4>>2]=c;if(!c){Y7a(b);a=0;r=d;return a|0}else{k[b>>2]=a;k[b+8>>2]=1;k[b+12>>2]=1;O6a(c,255,a<<2)|0;a=b;r=d;return a|0}return 0}function Zcb(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;if(!a){k[b>>2]=600681;y6a(608563,b)|0;r=b;return}c=k[a+12>>2]|0;k[a+12>>2]=c+-1;if((c|0)>1){r=b;return}Y7a(k[a+4>>2]|0);Y7a(a);r=b;return}function _cb(){var a=0;a=j7a(1,88)|0;if(!a){x7a(0)|0;a=0;return a|0}else{k[a+76>>2]=-1;return a|0}return 0}function $cb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=r;r=r+16|0;if(!a){y6a(600689,f)|0;e=0;r=f;return e|0}e=j7a(1,320)|0;if(!e){x7a(0)|0;e=0;r=f;return e|0}d=j7a(1,8)|0;if(!d){Y7a(k[e+316>>2]|0);Y7a(e);x7a(0)|0;e=0;r=f;return e|0}k[d>>2]=a;k[d+4>>2]=a;k[e+4>>2]=231;k[e+8>>2]=156;k[e+12>>2]=378;k[e+16>>2]=379;k[e+20>>2]=380;k[e+24>>2]=381;k[e+28>>2]=103;k[e+36>>2]=104;k[e+40>>2]=232;k[e+44>>2]=382;k[e+48>>2]=1546;k[e+52>>2]=1547;k[e+56>>2]=1548;k[e+60>>2]=157;k[e+64>>2]=158;k[e+68>>2]=159;k[e+72>>2]=97;k[e+76>>2]=2;k[e+80>>2]=105;k[e+84>>2]=738;k[e+88>>2]=233;k[e+92>>2]=739;a=e+104|0;b=136272;c=a+84|0;do{k[a>>2]=k[b>>2];a=a+4|0;b=b+4|0}while((a|0)<(c|0));k[e+316>>2]=d;if(k[d>>2]|0){r=f;return e|0}c=k[d+4>>2]|0;k[d>>2]=c;if(c|0){r=f;return e|0}a=Scb(k[e+188>>2]|0)|0;if(!a){r=f;return e|0}k[d+4>>2]=a;k[d>>2]=a;a=k[k[e+316>>2]>>2]|0;if(!a){r=f;return e|0}cdb(a,e+212|0)|0;a=k[k[e+316>>2]>>2]|0;if(!a){r=f;return e|0}if(!(k[e+276>>2]|0)){cdb(a,0)|0;r=f;return e|0}else{cdb(a,e+244|0)|0;r=f;return e|0}return 0}function adb(a,b){a=a|0;b=b|0;a=k[a+316>>2]|0;if((i[b+12>>0]|0)!=6)return;k[a>>2]=0;k[a+4>>2]=0;return}function bdb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=r;r=r+16|0;e=k[a+316>>2]|0;d=k[e>>2]|0;if(!d){d=k[e+4>>2]|0;k[e>>2]=d;if(!d){d=Scb(k[a+188>>2]|0)|0;do if(d|0){k[e+4>>2]=d;k[e>>2]=d;d=k[k[a+316>>2]>>2]|0;if(d|0){cdb(d,a+212|0)|0;d=k[k[a+316>>2]>>2]|0;if(d|0)if(!(k[a+276>>2]|0)){cdb(d,0)|0;break}else{cdb(d,a+244|0)|0;break}}}while(0);d=k[e>>2]|0}if(!d){y6a(600728,f)|0;b=-1;r=f;return b|0}}if(b|0)k[b>>2]=k[d+8>>2];if(!c){b=0;r=f;return b|0}k[c>>2]=k[d+12>>2];b=0;r=f;return b|0}function cdb(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;if(!a){a=0;r=c;return a|0}k[c>>2]=0;k[c+4>>2]=0;k[c+8>>2]=k[a+8>>2];k[c+12>>2]=k[a+12>>2];if(!b){k[a+36>>2]=k[c>>2];k[a+36+4>>2]=k[c+4>>2];k[a+36+8>>2]=k[c+8>>2];k[a+36+12>>2]=k[c+12>>2];a=1;r=c;return a|0}else{a=R7a(b,c,a+36|0)|0;r=c;return a|0}return 0}function ddb(a,b){a=a|0;b=b|0;var c=0,d=0;a=r;r=r+32|0;if(!(c9a(k[b+4>>2]|0,a+20|0,a+16|0,a+12|0,a+8|0,a+4|0)|0)){b=y6a(600777,a)|0;r=a;return b|0}d=Ucb(0,k[b+12>>2]|0,k[b+16>>2]|0,k[a+20>>2]|0,k[a+16>>2]|0,k[a+12>>2]|0,k[a+8>>2]|0,k[a+4>>2]|0)|0;k[b+68>>2]=d;c=k[b+28>>2]|0;edb(d,c&255,(c&65535)>>>8&255,c>>>16&255)|0;fdb(k[b+68>>2]|0,i[b+31>>0]|0)|0;gdb(k[b+68>>2]|0,k[b+24>>2]|0)|0;if(!(k[b+8>>2]|0))hdb(k[b+68>>2]|0,1)|0;d=((k[b+68>>2]|0)==0)<<31>>31;r=a;return d|0}function edb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;if(!a){b=-1;return b|0}a=k[a+52>>2]|0;i[a+76>>0]=b;i[a+77>>0]=c;i[a+78>>0]=d;e=k[a+68>>2]|0;b=(c&b)<<24>>24==-1&d<<24>>24==-1?e&-2:e|1;k[a+68>>2]=b;if((b|0)==(e|0)){e=0;return e|0}h8a(a);e=0;return e|0}function fdb(a,b){a=a|0;b=b|0;var c=0;if(!a){b=-1;return b|0}a=k[a+52>>2]|0;i[a+79>>0]=b;c=k[a+68>>2]|0;b=b<<24>>24==-1?c&-3:c|2;k[a+68>>2]=b;if((b|0)==(c|0)){c=0;return c|0}h8a(a);c=0;return c|0}function gdb(a,b){a=a|0;b=b|0;var c=0,d=0;if(!a){d=-1;return d|0}c=k[a+52>>2]|0;d=k[c+68>>2]|0;k[c+68>>2]=d&-113;switch(b|0){case 0:{a=d&-113;b=0;break}case 1:{k[c+68>>2]=d&-113|16;a=d&-113|16;b=0;break}case 2:{k[c+68>>2]=d&-113|32;a=d&-113|32;b=0;break}case 4:{k[c+68>>2]=d&-113|64;a=d&-113|64;b=0;break}default:{b=x7a(4)|0;c=k[a+52>>2]|0;a=k[c+68>>2]|0}}if((a|0)==(d|0)){d=b;return d|0}h8a(c);d=b;return d|0}function hdb(a,b){a=a|0;b=b|0;var c=0;if(!a){b=-1;return b|0}a=k[a+52>>2]|0;c=k[a+68>>2]|0;b=(b|0)==0?c&-4097:c|4096;k[a+68>>2]=b;if((b|0)==(c|0)){c=0;return c|0}h8a(a);c=0;return c|0}function idb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a=k[b+68>>2]|0;c=k[b+28>>2]|0;if(((c&65535)>>>8&255&(c&255)&(c>>>16&255))<<24>>24==-1){e=c;d=(m[b+28>>1]|0)>>>8&255;b=c>>>16&255;c=e&255;b=edb(a,c,d,b)|0;return b|0}hdb(a,0)|0;e=k[b+28>>2]|0;b=e;d=(e&65535)>>>8&255;e=e>>>16&255;b=b&255;e=edb(a,b,d,e)|0;return e|0}function jdb(a,b){a=a|0;b=b|0;var c=0;c=k[b+68>>2]|0;a=i[b+31>>0]|0;if(a<<24>>24==-1)a=-1;else if(k[(k[c+4>>2]|0)+24>>2]|0){hdb(c,0)|0;a=i[b+31>>0]|0}return fdb(c,a)|0}function kdb(a,b){a=a|0;b=b|0;var c=0;c=k[b+68>>2]|0;a=k[b+24>>2]|0;switch(a|0){case 4:case 2:{hdb(c,0)|0;a=k[b+24>>2]|0;break}default:{}}return gdb(c,a)|0}function ldb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;g=k[b+68>>2]|0;if(k[g>>2]&2|0)T7a(g)|0;a=l[(k[g+4>>2]|0)+9>>0]|0;h=ha(k[c+8>>2]|0,a)|0;if((k[c+12>>2]|0)>0){b=(k[g+20>>2]|0)+(ha(k[g+16>>2]|0,k[c+4>>2]|0)|0)|0;b=b+(ha(a,k[c>>2]|0)|0)|0;f=0;a=d;while(1){y7a(b,a,h)|0;f=f+1|0;if((f|0)>=(k[c+12>>2]|0))break;else{b=b+(k[g+16>>2]|0)|0;a=a+e|0}}}if(!(k[g>>2]&2))return 0;U7a(g);return 0}function mdb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;a=k[b+68>>2]|0;b=k[a+16>>2]|0;f=(k[a+20>>2]|0)+(ha(b,k[c+4>>2]|0)|0)|0;a=f+(ha(l[(k[a+4>>2]|0)+9>>0]|0,k[c>>2]|0)|0)|0;k[d>>2]=a;k[e>>2]=b;return 0}function ndb(a,b){a=a|0;b=b|0;return}function odb(a,b){a=a|0;b=b|0;a=k[a+316>>2]|0;if(!b){k[a>>2]=k[a+4>>2];return 0}else{k[a>>2]=k[b+68>>2];return 0}return 0}function pdb(a){a=a|0;var b=0;b=k[k[a+316>>2]>>2]|0;if(!b)return 0;cdb(b,a+212|0)|0;return 0}function qdb(a){a=a|0;var b=0;b=k[k[a+316>>2]>>2]|0;if(!b)return 0;if(!(k[a+276>>2]|0)){cdb(b,0)|0;return 0}else{cdb(b,a+244|0)|0;return 0}return 0}function rdb(a){a=a|0;var b=0,c=0,d=0,e=0;d=r;r=r+16|0;c=k[a+316>>2]|0;b=k[c>>2]|0;if(!b){b=k[c+4>>2]|0;k[c>>2]=b;if(!b){b=Scb(k[a+188>>2]|0)|0;do if(b|0){k[c+4>>2]=b;k[c>>2]=b;b=k[k[a+316>>2]>>2]|0;if(b|0){cdb(b,a+212|0)|0;b=k[k[a+316>>2]>>2]|0;if(b|0)if(!(k[a+276>>2]|0)){cdb(b,0)|0;break}else{cdb(b,a+244|0)|0;break}}}while(0);b=k[c>>2]|0}if(!b){a=-1;r=d;return a|0}else c=d}else c=d;a=k[a+308>>2]|0;a=sdb(k[b+4>>2]|0,a&255,(a&65535)>>>8&255,a>>>16&255,a>>>24&255)|0;e=b+36|0;k[c>>2]=k[e>>2];k[c+4>>2]=k[e+4>>2];k[c+8>>2]=k[e+8>>2];k[c+12>>2]=k[e+12>>2];cdb(b,0)|0;Q7a(b,0,a)|0;cdb(b,d)|0;a=0;r=d;return a|0}function sdb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,m=0,n=0,o=0;f=k[a+4>>2]|0;if(!f){i=k[a+28>>2]|0;j=k[a+32>>2]|0;b=(c&255)>>>(i>>>8&255)<<(j>>>8&255)|(b&255)>>>(i&255)<<(j&255)|(d&255)>>>(i>>>16&255)<<(j>>>16&255)|(e&255)>>>(i>>>24)<<(j>>>24)&k[a+24>>2];return b|0}j=k[f>>2]|0;a:do if((j|0)>0){h=k[f+4>>2]|0;i=0;a=0;g=-1;while(1){n=(l[h+(i<<2)>>0]|0)-(b&255)|0;o=(l[h+(i<<2)+1>>0]|0)-(c&255)|0;m=(l[h+(i<<2)+2>>0]|0)-(d&255)|0;f=(l[h+(i<<2)+3>>0]|0)-(e&255)|0;f=(ha(o,o)|0)+(ha(n,n)|0)+(ha(m,m)|0)+(ha(f,f)|0)|0;if(f>>>0>>0){a=i&255;if(!f)break a}else f=g;i=i+1|0;if((i|0)>=(j|0))break;else g=f}}else a=0;while(0);o=a&255;return o|0}function tdb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0.0,h=0,i=0,j=0;j=r;e=k[a+316>>2]|0;d=k[e>>2]|0;if(!d){d=k[e+4>>2]|0;k[e>>2]=d;if(!d){d=Scb(k[a+188>>2]|0)|0;do if(d|0){k[e+4>>2]=d;k[e>>2]=d;d=k[k[a+316>>2]>>2]|0;if(d|0){cdb(d,a+212|0)|0;d=k[k[a+316>>2]>>2]|0;if(d|0)if(!(k[a+276>>2]|0)){cdb(d,0)|0;break}else{cdb(d,a+244|0)|0;break}}}while(0);d=k[e>>2]|0}if(!d){c=-1;r=j;return c|0}}h=r;r=r+((1*(c<<3)|0)+15&-16)|0;f=k[a+212>>2]|0;if(!f)if(!(k[a+216>>2]|0)){if((c|0)>0){e=0;do{k[h+(e<<3)>>2]=~~+o[b+(e<<3)>>2];k[h+(e<<3)+4>>2]=~~+o[b+(e<<3)+4>>2];e=e+1|0}while((e|0)!=(c|0))}}else i=14;else i=14;if((i|0)==14)if((c|0)>0){g=+(k[a+216>>2]|0);e=0;do{k[h+(e<<3)>>2]=~~(+(f|0)+ +o[b+(e<<3)>>2]);k[h+(e<<3)+4>>2]=~~(g+ +o[b+(e<<3)+4>>2]);e=e+1|0}while((e|0)!=(c|0))}f=k[a+312>>2]|0;e=k[a+308>>2]|0;if(!f){c=udb(d,h,c,sdb(k[d+4>>2]|0,e&255,(e&65535)>>>8&255,e>>>16&255,e>>>24&255)|0)|0;r=j;return c|0}else{c=vdb(d,h,c,f,e&255,(e&65535)>>>8&255,e>>>16&255,e>>>24&255)|0;r=j;return c|0}return 0}function udb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,m=0,n=0,o=0,p=0,q=0;q=r;r=r+16|0;if(!a){p=y6a(601219,q)|0;r=q;return p|0}if((l[(k[a+4>>2]|0)+8>>0]|0)<8){p=y6a(600800,q+8|0)|0;r=q;return p|0}n=k[a+36>>2]|0;e=(k[a+44>>2]|0)+n|0;f=k[a+40>>2]|0;g=(k[a+48>>2]|0)+f|0;if((c|0)<=0){p=0;r=q;return p|0}o=0;a:while(1){h=k[b+(o<<3)>>2]|0;m=k[b+(o<<3)+4>>2]|0;b:do if((m|0)<(g|0)&(((h|0)>=(e|0)|(h|0)<(n|0)|(m|0)<(f|0))^1))switch(l[(k[a+4>>2]|0)+9>>0]|0|0){case 3:break a;case 1:{m=(k[a+20>>2]|0)+(ha(k[a+16>>2]|0,m)|0)+h|0;i[m>>0]=d;break b}case 2:{m=(k[a+20>>2]|0)+(ha(k[a+16>>2]|0,m)|0)+(h<<1)|0;j[m>>1]=d;break b}case 4:{m=(k[a+20>>2]|0)+(ha(k[a+16>>2]|0,m)|0)+(h<<2)|0;k[m>>2]=d;break b}default:break b}while(0);o=o+1|0;if((o|0)>=(c|0)){e=0;p=14;break}}if((p|0)==14){r=q;return e|0}p=x7a(4)|0;r=q;return p|0}function vdb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0;u=r;r=r+16|0;if(!a){b=y6a(601219,u)|0;r=u;return b|0}j=k[a+4>>2]|0;l=i[j+8>>0]|0;if((l&255)<8){b=y6a(600845,u+8|0)|0;r=u;return b|0}if((d+-1|0)>>>0<2){t=(((ha(h&255,e&255)|0)>>>0)/255|0)&255;f=(((ha(h&255,f&255)|0)>>>0)/255|0)&255;g=(((ha(h&255,g&255)|0)>>>0)/255|0)&255}else t=e;switch(l&255|0){case 15:{if((k[j+12>>2]|0)==31744)s=17;else m=12;break}case 16:{if((k[j+12>>2]|0)==63488)s=18;else m=12;break}case 32:{if((k[j+12>>2]|0)==16711680)s=(k[j+24>>2]|0)==0?13:14;else m=12;break}default:m=12}if((m|0)==12)s=(k[j+24>>2]|0)==0?15:16;m=k[a+36>>2]|0;n=(k[a+44>>2]|0)+m|0;o=k[a+40>>2]|0;p=(k[a+48>>2]|0)+o|0;if((c|0)>0){q=0;e=0}else{b=0;r=u;return b|0}do{j=k[b+(q<<3)>>2]|0;l=k[b+(q<<3)+4>>2]|0;if((l|0)<(p|0)&(((j|0)>=(n|0)|(j|0)<(m|0)|(l|0)<(o|0))^1))e=sj[s&31](a,j,l,d,t,f,g,h)|0;q=q+1|0}while((q|0)!=(c|0));r=u;return e|0}function wdb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;switch(d|0){case 1:{c=(k[a+20>>2]|0)+(ha(k[a+16>>2]|0,c)|0)+(b<<2)|0;b=k[c>>2]|0;b=(((ha(b>>>8&255,h&255^255)|0)>>>0)/255|0)+(f&255)<<8|(((ha(b&255,h&255^255)|0)>>>0)/255|0)+(g&255)|(((ha(b>>>16&255,h&255^255)|0)>>>0)/255|0)+(e&255)<<16;k[c>>2]=b;return 0}case 2:{c=(k[a+20>>2]|0)+(ha(k[a+16>>2]|0,c)|0)+(b<<2)|0;b=k[c>>2]|0;k[c>>2]=(((b>>>8&255)+(f&255)|0)>>>0>255?255:(b>>>8&255)+(f&255)|0)<<8|(((b&255)+(g&255)|0)>>>0>255?255:(b&255)+(g&255)|0)|(((b>>>16&255)+(e&255)|0)>>>0>255?255:(b>>>16&255)+(e&255)|0)<<16;return 0}case 4:{c=(k[a+20>>2]|0)+(ha(k[a+16>>2]|0,c)|0)+(b<<2)|0;b=k[c>>2]|0;b=(((ha(b>>>8&255,f&255)|0)>>>0)/255|0)<<8|(((ha(b&255,g&255)|0)>>>0)/255|0)|(((ha(b>>>16&255,e&255)|0)>>>0)/255|0)<<16;k[c>>2]=b;return 0}default:{c=(k[a+20>>2]|0)+(ha(k[a+16>>2]|0,c)|0)+(b<<2)|0;k[c>>2]=(f&255)<<8|(e&255)<<16|g&255;return 0}}return 0}function xdb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;switch(d|0){case 1:{c=(k[a+20>>2]|0)+(ha(k[a+16>>2]|0,c)|0)+(b<<2)|0;b=k[c>>2]|0;b=(((ha(b>>>24,h&255^255)|0)>>>0)/255|0)+(h&255)<<24|(((ha(b&255,h&255^255)|0)>>>0)/255|0)+(g&255)|(((ha(b>>>16&255,h&255^255)|0)>>>0)/255|0)+(e&255)<<16|(((ha(b>>>8&255,h&255^255)|0)>>>0)/255|0)+(f&255)<<8;k[c>>2]=b;return 0}case 2:{c=(k[a+20>>2]|0)+(ha(k[a+16>>2]|0,c)|0)+(b<<2)|0;b=k[c>>2]|0;k[c>>2]=(((b&255)+(g&255)|0)>>>0>255?255:(b&255)+(g&255)|0)|b&-16777216|(((b>>>16&255)+(e&255)|0)>>>0>255?255:(b>>>16&255)+(e&255)|0)<<16|(((b>>>8&255)+(f&255)|0)>>>0>255?255:(b>>>8&255)+(f&255)|0)<<8;return 0}case 4:{c=(k[a+20>>2]|0)+(ha(k[a+16>>2]|0,c)|0)+(b<<2)|0;b=k[c>>2]|0;b=((ha(b&255,g&255)|0)>>>0)/255|0|b&-16777216|(((ha(b>>>16&255,e&255)|0)>>>0)/255|0)<<16|(((ha(b>>>8&255,f&255)|0)>>>0)/255|0)<<8;k[c>>2]=b;return 0}default:{c=(k[a+20>>2]|0)+(ha(k[a+16>>2]|0,c)|0)+(b<<2)|0;k[c>>2]=(f&255)<<8|(e&255)<<16|g&255|(h&255)<<24;return 0}}return 0}function ydb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0;i=k[a+4>>2]|0;switch(l[i+9>>0]|0|0){case 2:switch(d|0){case 1:{c=(k[a+20>>2]|0)+(ha(k[a+16>>2]|0,c)|0)+(b<<1)|0;d=m[c>>1]|0;b=k[i+32>>2]|0;a=k[i+28>>2]|0;e=((((ha(l[(k[124356+((a>>>8&255)<<2)>>2]|0)+((k[i+16>>2]&d)>>>(b>>>8&255))>>0]|0,h&255^255)|0)>>>0)/255|0)+(f&255)|0)>>>(a>>>8&255)<<(b>>>8&255)|((((ha(l[(k[124356+((a&255)<<2)>>2]|0)+((d&k[i+12>>2])>>>(b&255))>>0]|0,h&255^255)|0)>>>0)/255|0)+(e&255)|0)>>>(a&255)<<(b&255);b=((((ha(l[(k[124356+((a>>>16&255)<<2)>>2]|0)+((k[i+20>>2]&d)>>>(b>>>16&255))>>0]|0,h&255^255)|0)>>>0)/255|0)+(g&255)|0)>>>(a>>>16&255)<<(b>>>16&255);j[c>>1]=e|k[i+24>>2]|b;c=0;return c|0}case 2:{c=(k[a+20>>2]|0)+(ha(k[a+16>>2]|0,c)|0)+(b<<1)|0;h=m[c>>1]|0;b=k[i+32>>2]|0;a=k[i+28>>2]|0;d=(l[(k[124356+((a&255)<<2)>>2]|0)+((h&k[i+12>>2])>>>(b&255))>>0]|0)+(e&255)|0;f=(l[(k[124356+((a>>>8&255)<<2)>>2]|0)+((k[i+16>>2]&h)>>>(b>>>8&255))>>0]|0)+(f&255)|0;e=(l[(k[124356+((a>>>16&255)<<2)>>2]|0)+((k[i+20>>2]&h)>>>(b>>>16&255))>>0]|0)+(g&255)|0;j[c>>1]=(f>>>0>255?255:f)>>>(a>>>8&255)<<(b>>>8&255)|(d>>>0>255?255:d)>>>(a&255)<<(b&255)|k[i+24>>2]|(e>>>0>255?255:e)>>>(a>>>16&255)<<(b>>>16&255);c=0;return c|0}case 4:{c=(k[a+20>>2]|0)+(ha(k[a+16>>2]|0,c)|0)+(b<<1)|0;d=m[c>>1]|0;b=k[i+32>>2]|0;a=k[i+28>>2]|0;e=(((ha(l[(k[124356+((a>>>8&255)<<2)>>2]|0)+((k[i+16>>2]&d)>>>(b>>>8&255))>>0]|0,f&255)|0)>>>0)/255|0)>>>(a>>>8&255)<<(b>>>8&255)|(((ha(l[(k[124356+((a&255)<<2)>>2]|0)+((d&k[i+12>>2])>>>(b&255))>>0]|0,e&255)|0)>>>0)/255|0)>>>(a&255)<<(b&255);b=(((ha(l[(k[124356+((a>>>16&255)<<2)>>2]|0)+((k[i+20>>2]&d)>>>(b>>>16&255))>>0]|0,g&255)|0)>>>0)/255|0)>>>(a>>>16&255)<<(b>>>16&255);j[c>>1]=e|k[i+24>>2]|b;c=0;return c|0}default:{c=(k[a+20>>2]|0)+(ha(k[a+16>>2]|0,c)|0)+(b<<1)|0;a=k[i+28>>2]|0;b=k[i+32>>2]|0;j[c>>1]=(f&255)>>>(a>>>8&255)<<(b>>>8&255)|(e&255)>>>(a&255)<<(b&255)|k[i+24>>2]|(g&255)>>>(a>>>16&255)<<(b>>>16&255);c=0;return c|0}}case 4:switch(d|0){case 1:{c=(k[a+20>>2]|0)+(ha(k[a+16>>2]|0,c)|0)+(b<<2)|0;d=k[c>>2]|0;b=k[i+32>>2]|0;a=k[i+28>>2]|0;e=((((ha(l[(k[124356+((a>>>8&255)<<2)>>2]|0)+((k[i+16>>2]&d)>>>(b>>>8&255))>>0]|0,h&255^255)|0)>>>0)/255|0)+(f&255)|0)>>>(a>>>8&255)<<(b>>>8&255)|((((ha(l[(k[124356+((a&255)<<2)>>2]|0)+((k[i+12>>2]&d)>>>(b&255))>>0]|0,h&255^255)|0)>>>0)/255|0)+(e&255)|0)>>>(a&255)<<(b&255);b=((((ha(l[(k[124356+((a>>>16&255)<<2)>>2]|0)+((k[i+20>>2]&d)>>>(b>>>16&255))>>0]|0,h&255^255)|0)>>>0)/255|0)+(g&255)|0)>>>(a>>>16&255)<<(b>>>16&255);k[c>>2]=e|k[i+24>>2]|b;c=0;return c|0}case 2:{c=(k[a+20>>2]|0)+(ha(k[a+16>>2]|0,c)|0)+(b<<2)|0;h=k[c>>2]|0;b=k[i+32>>2]|0;a=k[i+28>>2]|0;d=(l[(k[124356+((a&255)<<2)>>2]|0)+((k[i+12>>2]&h)>>>(b&255))>>0]|0)+(e&255)|0;f=(l[(k[124356+((a>>>8&255)<<2)>>2]|0)+((k[i+16>>2]&h)>>>(b>>>8&255))>>0]|0)+(f&255)|0;e=(l[(k[124356+((a>>>16&255)<<2)>>2]|0)+((k[i+20>>2]&h)>>>(b>>>16&255))>>0]|0)+(g&255)|0;k[c>>2]=(f>>>0>255?255:f)>>>(a>>>8&255)<<(b>>>8&255)|(d>>>0>255?255:d)>>>(a&255)<<(b&255)|k[i+24>>2]|(e>>>0>255?255:e)>>>(a>>>16&255)<<(b>>>16&255);c=0;return c|0}case 4:{c=(k[a+20>>2]|0)+(ha(k[a+16>>2]|0,c)|0)+(b<<2)|0;d=k[c>>2]|0;b=k[i+32>>2]|0;a=k[i+28>>2]|0;e=(((ha(l[(k[124356+((a>>>8&255)<<2)>>2]|0)+((k[i+16>>2]&d)>>>(b>>>8&255))>>0]|0,f&255)|0)>>>0)/255|0)>>>(a>>>8&255)<<(b>>>8&255)|(((ha(l[(k[124356+((a&255)<<2)>>2]|0)+((k[i+12>>2]&d)>>>(b&255))>>0]|0,e&255)|0)>>>0)/255|0)>>>(a&255)<<(b&255);b=(((ha(l[(k[124356+((a>>>16&255)<<2)>>2]|0)+((k[i+20>>2]&d)>>>(b>>>16&255))>>0]|0,g&255)|0)>>>0)/255|0)>>>(a>>>16&255)<<(b>>>16&255);k[c>>2]=e|k[i+24>>2]|b;c=0;return c|0}default:{c=(k[a+20>>2]|0)+(ha(k[a+16>>2]|0,c)|0)+(b<<2)|0;a=k[i+28>>2]|0;b=k[i+32>>2]|0;k[c>>2]=(f&255)>>>(a>>>8&255)<<(b>>>8&255)|(e&255)>>>(a&255)<<(b&255)|k[i+24>>2]|(g&255)>>>(a>>>16&255)<<(b>>>16&255);c=0;return c|0}}default:{c=x7a(4)|0;return c|0}}return 0}function zdb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0;j=k[a+4>>2]|0;if((i[j+9>>0]|0)!=4){c=x7a(4)|0;return c|0}switch(d|0){case 1:{c=(k[a+20>>2]|0)+(ha(k[a+16>>2]|0,c)|0)+(b<<2)|0;d=k[c>>2]|0;b=k[j+32>>2]|0;a=k[j+28>>2]|0;b=((((ha(l[(k[124356+((a>>>8&255)<<2)>>2]|0)+((k[j+16>>2]&d)>>>(b>>>8&255))>>0]|0,h&255^255)|0)>>>0)/255|0)+(f&255)|0)>>>(a>>>8&255)<<(b>>>8&255)|((((ha(l[(k[124356+((a&255)<<2)>>2]|0)+((k[j+12>>2]&d)>>>(b&255))>>0]|0,h&255^255)|0)>>>0)/255|0)+(e&255)|0)>>>(a&255)<<(b&255)|((((ha(l[(k[124356+((a>>>16&255)<<2)>>2]|0)+((k[j+20>>2]&d)>>>(b>>>16&255))>>0]|0,h&255^255)|0)>>>0)/255|0)+(g&255)|0)>>>(a>>>16&255)<<(b>>>16&255)|((((ha(l[(k[124356+(a>>>24<<2)>>2]|0)+((k[j+24>>2]&d)>>>(b>>>24))>>0]|0,h&255^255)|0)>>>0)/255|0)+(h&255)|0)>>>(a>>>24)<<(b>>>24);k[c>>2]=b;c=0;return c|0}case 2:{c=(k[a+20>>2]|0)+(ha(k[a+16>>2]|0,c)|0)+(b<<2)|0;d=k[c>>2]|0;b=k[j+32>>2]|0;a=k[j+28>>2]|0;h=(l[(k[124356+((a&255)<<2)>>2]|0)+((k[j+12>>2]&d)>>>(b&255))>>0]|0)+(e&255)|0;f=(l[(k[124356+((a>>>8&255)<<2)>>2]|0)+((k[j+16>>2]&d)>>>(b>>>8&255))>>0]|0)+(f&255)|0;e=(l[(k[124356+((a>>>16&255)<<2)>>2]|0)+((k[j+20>>2]&d)>>>(b>>>16&255))>>0]|0)+(g&255)|0;k[c>>2]=(f>>>0>255?255:f)>>>(a>>>8&255)<<(b>>>8&255)|(h>>>0>255?255:h)>>>(a&255)<<(b&255)|(e>>>0>255?255:e)>>>(a>>>16&255)<<(b>>>16&255)|(l[(k[124356+(a>>>24<<2)>>2]|0)+((k[j+24>>2]&d)>>>(b>>>24))>>0]|0)>>>(a>>>24)<<(b>>>24);c=0;return c|0}case 4:{c=(k[a+20>>2]|0)+(ha(k[a+16>>2]|0,c)|0)+(b<<2)|0;d=k[c>>2]|0;b=k[j+32>>2]|0;a=k[j+28>>2]|0;b=(((ha(l[(k[124356+((a>>>8&255)<<2)>>2]|0)+((k[j+16>>2]&d)>>>(b>>>8&255))>>0]|0,f&255)|0)>>>0)/255|0)>>>(a>>>8&255)<<(b>>>8&255)|(((ha(l[(k[124356+((a&255)<<2)>>2]|0)+((k[j+12>>2]&d)>>>(b&255))>>0]|0,e&255)|0)>>>0)/255|0)>>>(a&255)<<(b&255)|(((ha(l[(k[124356+((a>>>16&255)<<2)>>2]|0)+((k[j+20>>2]&d)>>>(b>>>16&255))>>0]|0,g&255)|0)>>>0)/255|0)>>>(a>>>16&255)<<(b>>>16&255)|(l[(k[124356+(a>>>24<<2)>>2]|0)+((k[j+24>>2]&d)>>>(b>>>24))>>0]|0)>>>(a>>>24)<<(b>>>24);k[c>>2]=b;c=0;return c|0}default:{c=(k[a+20>>2]|0)+(ha(k[a+16>>2]|0,c)|0)+(b<<2)|0;a=k[j+28>>2]|0;b=k[j+32>>2]|0;k[c>>2]=(f&255)>>>(a>>>8&255)<<(b>>>8&255)|(e&255)>>>(a&255)<<(b&255)|(g&255)>>>(a>>>16&255)<<(b>>>16&255)|(h&255)>>>(a>>>24)<<(b>>>24);c=0;return c|0}}return 0}function Adb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;switch(d|0){case 1:{c=(k[a+20>>2]|0)+(ha(k[a+16>>2]|0,c)|0)+(b<<1)|0;b=m[c>>1]|0;b=(((((ha(l[594694+(b>>>5&31)>>0]|0,h&255^255)|0)>>>0)/255|0)+(f&255)|0)>>>3<<5|((((ha(l[594694+(b>>>10&31)>>0]|0,h&255^255)|0)>>>0)/255|0)+(e&255)|0)>>>3<<10|((((ha(l[594694+(b&31)>>0]|0,h&255^255)|0)>>>0)/255|0)+(g&255)|0)>>>3)&65535;j[c>>1]=b;return 0}case 2:{c=(k[a+20>>2]|0)+(ha(k[a+16>>2]|0,c)|0)+(b<<1)|0;b=m[c>>1]|0;e=(l[594694+(b>>>10&31)>>0]|0)+(e&255)|0;f=(l[594694+(b>>>5&31)>>0]|0)+(f&255)|0;b=(l[594694+(b&31)>>0]|0)+(g&255)|0;j[c>>1]=(f>>>0>255?255:f)>>>3<<5|(e>>>0>255?255:e)>>>3<<10|(b>>>0>255?255:b)>>>3;return 0}case 4:{c=(k[a+20>>2]|0)+(ha(k[a+16>>2]|0,c)|0)+(b<<1)|0;b=m[c>>1]|0;b=((((ha(l[594694+(b>>>5&31)>>0]|0,f&255)|0)>>>0)/255|0)>>>3<<5|(((ha(l[594694+(b>>>10&31)>>0]|0,e&255)|0)>>>0)/255|0)>>>3<<10|(((ha(l[594694+(b&31)>>0]|0,g&255)|0)>>>0)/255|0)>>>3)&65535;j[c>>1]=b;return 0}default:{c=(k[a+20>>2]|0)+(ha(k[a+16>>2]|0,c)|0)+(b<<1)|0;j[c>>1]=(f&255)>>>3<<5|(e&255)>>>3<<10|(g&255)>>>3;return 0}}return 0}function Bdb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;switch(d|0){case 1:{c=(k[a+20>>2]|0)+(ha(k[a+16>>2]|0,c)|0)+(b<<1)|0;b=m[c>>1]|0;b=(((((ha(l[594630+(b>>>5&63)>>0]|0,h&255^255)|0)>>>0)/255|0)+(f&255)|0)>>>2<<5|((((ha(l[594694+(b>>>11)>>0]|0,h&255^255)|0)>>>0)/255|0)+(e&255)|0)>>>3<<11|((((ha(l[594694+(b&31)>>0]|0,h&255^255)|0)>>>0)/255|0)+(g&255)|0)>>>3)&65535;j[c>>1]=b;return 0}case 2:{c=(k[a+20>>2]|0)+(ha(k[a+16>>2]|0,c)|0)+(b<<1)|0;b=m[c>>1]|0;e=(l[594694+(b>>>11)>>0]|0)+(e&255)|0;f=(l[594630+(b>>>5&63)>>0]|0)+(f&255)|0;b=(l[594694+(b&31)>>0]|0)+(g&255)|0;j[c>>1]=(f>>>0>255?255:f)>>>2<<5|(e>>>0>255?255:e)>>>3<<11|(b>>>0>255?255:b)>>>3;return 0}case 4:{c=(k[a+20>>2]|0)+(ha(k[a+16>>2]|0,c)|0)+(b<<1)|0;b=m[c>>1]|0;b=((((ha(l[594630+(b>>>5&63)>>0]|0,f&255)|0)>>>0)/255|0)>>>2<<5|(((ha(l[594694+(b>>>11)>>0]|0,e&255)|0)>>>0)/255|0)>>>3<<11|(((ha(l[594694+(b&31)>>0]|0,g&255)|0)>>>0)/255|0)>>>3)&65535;j[c>>1]=b;return 0}default:{c=(k[a+20>>2]|0)+(ha(k[a+16>>2]|0,c)|0)+(b<<1)|0;j[c>>1]=(f&255)>>>2<<5|(e&255)>>>3<<11|(g&255)>>>3;return 0}}return 0}function Cdb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0.0,h=0,i=0,j=0;j=r;e=k[a+316>>2]|0;d=k[e>>2]|0;if(!d){d=k[e+4>>2]|0;k[e>>2]=d;if(!d){d=Scb(k[a+188>>2]|0)|0;do if(d|0){k[e+4>>2]=d;k[e>>2]=d;d=k[k[a+316>>2]>>2]|0;if(d|0){cdb(d,a+212|0)|0;d=k[k[a+316>>2]>>2]|0;if(d|0)if(!(k[a+276>>2]|0)){cdb(d,0)|0;break}else{cdb(d,a+244|0)|0;break}}}while(0);d=k[e>>2]|0}if(!d){c=-1;r=j;return c|0}}h=r;r=r+((1*(c<<3)|0)+15&-16)|0;f=k[a+212>>2]|0;if(!f)if(!(k[a+216>>2]|0)){if((c|0)>0){e=0;do{k[h+(e<<3)>>2]=~~+o[b+(e<<3)>>2];k[h+(e<<3)+4>>2]=~~+o[b+(e<<3)+4>>2];e=e+1|0}while((e|0)!=(c|0))}}else i=14;else i=14;if((i|0)==14)if((c|0)>0){g=+(k[a+216>>2]|0);e=0;do{k[h+(e<<3)>>2]=~~(+(f|0)+ +o[b+(e<<3)>>2]);k[h+(e<<3)+4>>2]=~~(g+ +o[b+(e<<3)+4>>2]);e=e+1|0}while((e|0)!=(c|0))}f=k[a+312>>2]|0;e=k[a+308>>2]|0;if(!f){c=Ddb(d,h,c,sdb(k[d+4>>2]|0,e&255,(e&65535)>>>8&255,e>>>16&255,e>>>24&255)|0)|0;r=j;return c|0}else{c=Kdb(d,h,c,f,e&255,(e&65535)>>>8&255,e>>>16&255,e>>>24&255)|0;r=j;return c|0}return 0}function Ddb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,m=0;m=r;r=r+32|0;if(!a){a=y6a(600891,m)|0;r=m;return a|0}e=k[a+4>>2]|0;switch(l[e+9>>0]|0|0){case 1:{if((l[e+8>>0]|0)<8)f=8;else j=3;break}case 2:{j=2;break}case 4:{j=4;break}default:f=8}if((f|0)==8){a=y6a(600940,m+8|0)|0;r=m;return a|0}if((c|0)>1){i=1;do{e=i+-1|0;k[m+24>>2]=k[b+(e<<3)>>2];k[m+20>>2]=k[b+(e<<3)+4>>2];e=b+(i<<3)|0;k[m+16>>2]=k[e>>2];f=b+(i<<3)+4|0;k[m+12>>2]=k[f>>2];if(Idb(a+36|0,m+24|0,m+20|0,m+16|0,m+12|0)|0){g=k[m+16>>2]|0;h=k[m+12>>2]|0;if((g|0)==(k[e>>2]|0))e=(h|0)!=(k[f>>2]|0);else e=1;cj[j&7](a,k[m+24>>2]|0,k[m+20>>2]|0,g,h,d,e&1)}i=i+1|0}while((i|0)!=(c|0))}f=k[b+(c+-1<<3)>>2]|0;if((k[b>>2]|0)==(f|0)){e=k[b+(c+-1<<3)+4>>2]|0;if((k[b+4>>2]|0)==(e|0)){a=0;r=m;return a|0}}else e=k[b+(c+-1<<3)+4>>2]|0;Jdb(a,f,e,d)|0;a=0;r=m;return a|0}function Edb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0;x=r;r=r+16|0;if((e|0)==(c|0)){h=(k[a+20>>2]|0)+((ha((k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0,e)|0)<<1)|0;if((d|0)<(b|0)){i=b-d+((g|0)!=0&1)|0;h=g|0?h+(d<<1)|0:h+(d<<1)+2|0}else{i=d-b+((g|0)!=0&1)|0;h=h+(b<<1)|0}if(!i){r=x;return}while(1){i=i+-1|0;j[h>>1]=f;if(!i)break;else h=h+2|0}r=x;return}if((d|0)==(b|0)){m=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;h=k[a+20>>2]|0;if((e|0)<(c|0)){h=h+((ha(m,e)|0)<<1)+(d<<1)|0;i=c-e+((g|0)!=0&1)|0;h=g|0?h:h+(m<<1)|0}else{i=e-c+((g|0)!=0&1)|0;h=h+((ha(m,c)|0)<<1)+(d<<1)|0}if(!i){r=x;return}while(1){i=i+-1|0;j[h>>1]=f;if(!i)break;else h=h+(m<<1)|0}r=x;return}if((((b-d|0)<0?0-(b-d)|0:b-d|0)|0)==(((c-e|0)<0?0-(c-e)|0:c-e|0)|0)){i=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;h=k[a+20>>2]|0;if((e|0)<(c|0)){a=h+((ha(i,e)|0)<<1)+(d<<1)|0;i=i+((d|0)>(b|0)?-1:1)|0;h=c-e|0;m=i;i=(g|0)==0?a+(i<<1)|0:a}else{a=h+((ha(i,c)|0)<<1)+(b<<1)|0;h=e-c|0;m=i+((d|0)<(b|0)?-1:1)|0;i=a}h=h+((g|0)!=0&1)|0;if(!h){r=x;return}while(1){h=h+-1|0;j[i>>1]=f;if(!h)break;else i=i+(m<<1)|0}r=x;return}h=k[a+4>>2]|0;Fdb(f,h,x+3|0,x+2|0,x+1|0,x);h=k[h+12>>2]|0;a:do if((h|0)<63488){switch(h|0){case 31744:break;default:{w=35;break a}}h=(d-b|0)<0?0-(d-b)|0:d-b|0;i=(e-c|0)<0?0-(e-c)|0:e-c|0;if((h|0)<(i|0)){o=(h<<1)-i|0;v=h<<1;m=h-i|0;h=i;i=0;n=1}else{o=(i<<1)-h|0;v=i<<1;m=i-h|0;i=1;n=0}u=m<<1;t=(d|0)<(b|0)?0-i|0:i;s=(d|0)<(b|0)?-1:1;q=(e|0)<(c|0)?0-n|0:n;p=(e|0)<(c|0)?-1:1;g=h+((g|0)!=0&1)|0;if((g|0)>0){e=k[a+20>>2]|0;d=k[a+16>>2]|0;n=o;o=0;m=b;i=c;while(1){h=e+(ha(d,i)|0)+(m<<1)|0;j[h>>1]=f;h=(n|0)<0;o=o+1|0;if((o|0)>=(g|0))break;else{n=(h?v:u)+n|0;m=(h?t:s)+m|0;i=i+(h?q:p)|0}}}}else{switch(h|0){case 63488:break;default:{w=35;break a}}h=(d-b|0)<0?0-(d-b)|0:d-b|0;i=(e-c|0)<0?0-(e-c)|0:e-c|0;if((h|0)<(i|0)){o=(h<<1)-i|0;v=h<<1;m=h-i|0;h=i;i=0;n=1}else{o=(i<<1)-h|0;v=i<<1;m=i-h|0;i=1;n=0}u=m<<1;t=(d|0)<(b|0)?0-i|0:i;s=(d|0)<(b|0)?-1:1;q=(e|0)<(c|0)?0-n|0:n;p=(e|0)<(c|0)?-1:1;g=h+((g|0)!=0&1)|0;if((g|0)>0){e=k[a+20>>2]|0;d=k[a+16>>2]|0;n=o;o=0;m=b;i=c;while(1){h=e+(ha(d,i)|0)+(m<<1)|0;j[h>>1]=f;h=(n|0)<0;o=o+1|0;if((o|0)>=(g|0))break;else{n=(h?v:u)+n|0;m=(h?t:s)+m|0;i=i+(h?q:p)|0}}}}while(0);if((w|0)==35){h=(d-b|0)<0?0-(d-b)|0:d-b|0;i=(e-c|0)<0?0-(e-c)|0:e-c|0;if((h|0)<(i|0)){o=(h<<1)-i|0;v=h<<1;m=h-i|0;h=i;i=0;n=1}else{o=(i<<1)-h|0;v=i<<1;m=i-h|0;i=1;n=0}u=m<<1;t=(d|0)<(b|0)?0-i|0:i;s=(d|0)<(b|0)?-1:1;q=(e|0)<(c|0)?0-n|0:n;p=(e|0)<(c|0)?-1:1;g=h+((g|0)!=0&1)|0;if((g|0)>0){e=k[a+20>>2]|0;d=k[a+16>>2]|0;n=o;o=0;m=b;i=c;while(1){h=e+(ha(d,i)|0)+(m<<1)|0;j[h>>1]=f;h=(n|0)<0;o=o+1|0;if((o|0)>=(g|0))break;else{n=(h?v:u)+n|0;m=(h?t:s)+m|0;i=i+(h?q:p)|0}}}}r=x;return}function Fdb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=k[b+4>>2]|0;if(!g){i[c>>0]=i[(k[124356+((l[b+28>>0]|0)<<2)>>2]|0)+((k[b+12>>2]&a)>>>(l[b+32>>0]|0))>>0]|0;i[d>>0]=i[(k[124356+((l[b+29>>0]|0)<<2)>>2]|0)+((k[b+16>>2]&a)>>>(l[b+33>>0]|0))>>0]|0;i[e>>0]=i[(k[124356+((l[b+30>>0]|0)<<2)>>2]|0)+((k[b+20>>2]&a)>>>(l[b+34>>0]|0))>>0]|0;i[f>>0]=i[(k[124356+((l[b+31>>0]|0)<<2)>>2]|0)+((k[b+24>>2]&a)>>>(l[b+35>>0]|0))>>0]|0;return}if((k[g>>2]|0)>>>0>a>>>0){i[c>>0]=i[(k[g+4>>2]|0)+(a<<2)>>0]|0;i[d>>0]=i[(k[(k[b+4>>2]|0)+4>>2]|0)+(a<<2)+1>>0]|0;i[e>>0]=i[(k[(k[b+4>>2]|0)+4>>2]|0)+(a<<2)+2>>0]|0;i[f>>0]=i[(k[(k[b+4>>2]|0)+4>>2]|0)+(a<<2)+3>>0]|0;return}else{i[f>>0]=0;i[e>>0]=0;i[d>>0]=0;i[c>>0]=0;return}}function Gdb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;if((e|0)==(c|0)){h=(k[a+20>>2]|0)+(ha((k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0,e)|0)|0;if((b|0)>(d|0)){j=b-d+((g|0)!=0&1)|0;h=g|0?h+d|0:h+d+1|0}else{j=d-b+((g|0)!=0&1)|0;h=h+b|0}O6a(h,f,j)|0;return}if((b|0)==(d|0)){m=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;h=k[a+20>>2]|0;if((e|0)<(c|0)){h=h+(ha(m,e)|0)+b|0;j=c-e+((g|0)!=0&1)|0;h=g|0?h:h+m|0}else{j=e-c+((g|0)!=0&1)|0;h=h+(ha(m,c)|0)+b|0}if(!j)return;while(1){j=j+-1|0;i[h>>0]=f;if(!j)break;else h=h+m|0}return}if((((b-d|0)<0?0-(b-d)|0:b-d|0)|0)==(((c-e|0)<0?0-(c-e)|0:c-e|0)|0)){j=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;h=k[a+20>>2]|0;if((e|0)<(c|0)){a=h+(ha(j,e)|0)+d|0;j=j+((d|0)>(b|0)?-1:1)|0;h=c-e|0;m=j;j=(g|0)==0?a+j|0:a}else{a=h+(ha(j,c)|0)+b|0;h=e-c|0;m=j+((b|0)>(d|0)?-1:1)|0;j=a}h=h+((g|0)!=0&1)|0;if(!h)return;while(1){h=h+-1|0;i[j>>0]=f;if(!h)break;else j=j+m|0}return}else{j=(d-b|0)<0?0-(d-b)|0:d-b|0;h=(e-c|0)<0?0-(e-c)|0:e-c|0;if((j|0)<(h|0)){n=(j<<1)-h|0;t=j<<1;m=j-h|0;j=0;o=1}else{n=(h<<1)-j|0;t=h<<1;m=h-j|0;h=j;j=1;o=0}s=m<<1;r=(b|0)>(d|0)?0-j|0:j;q=(b|0)>(d|0)?-1:1;p=(e|0)<(c|0)?0-o|0:o;e=(e|0)<(c|0)?-1:1;d=h+((g|0)!=0&1)|0;if((d|0)<=0)return;o=0;m=b;j=c;while(1){h=(k[a+20>>2]|0)+(ha(k[a+16>>2]|0,j)|0)+m|0;i[h>>0]=f;h=(n|0)<0;o=o+1|0;if((o|0)>=(d|0))break;else{n=(h?t:s)+n|0;m=(h?r:q)+m|0;j=j+(h?p:e)|0}}return}}function Hdb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0;v=r;r=r+16|0;if((e|0)==(c|0)){h=(k[a+20>>2]|0)+((ha((k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0,e)|0)<<2)|0;if((d|0)<(b|0)){i=b-d+((g|0)!=0&1)|0;h=g|0?h+(d<<2)|0:h+(d<<2)+4|0}else{i=d-b+((g|0)!=0&1)|0;h=h+(b<<2)|0}if(!i){r=v;return}while(1){i=i+-1|0;k[h>>2]=f;if(!i)break;else h=h+4|0}r=v;return}if((d|0)==(b|0)){j=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;h=k[a+20>>2]|0;if((e|0)<(c|0)){h=h+((ha(j,e)|0)<<2)+(d<<2)|0;i=c-e+((g|0)!=0&1)|0;h=g|0?h:h+(j<<2)|0}else{i=e-c+((g|0)!=0&1)|0;h=h+((ha(j,c)|0)<<2)+(d<<2)|0}if(!i){r=v;return}while(1){i=i+-1|0;k[h>>2]=f;if(!i)break;else h=h+(j<<2)|0}r=v;return}if((((b-d|0)<0?0-(b-d)|0:b-d|0)|0)==(((c-e|0)<0?0-(c-e)|0:c-e|0)|0)){i=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;h=k[a+20>>2]|0;if((e|0)<(c|0)){a=h+((ha(i,e)|0)<<2)+(d<<2)|0;i=i+((d|0)>(b|0)?-1:1)|0;h=c-e|0;j=i;i=(g|0)==0?a+(i<<2)|0:a}else{a=h+((ha(i,c)|0)<<2)+(b<<2)|0;h=e-c|0;j=i+((d|0)<(b|0)?-1:1)|0;i=a}h=h+((g|0)!=0&1)|0;if(!h){r=v;return}while(1){h=h+-1|0;k[i>>2]=f;if(!h)break;else i=i+(j<<2)|0}r=v;return}h=k[a+4>>2]|0;Fdb(f,h,v+3|0,v+2|0,v+1|0,v);do if((k[h+12>>2]|0)==16711680){j=(d-b|0)<0?0-(d-b)|0:d-b|0;m=(e-c|0)<0?0-(e-c)|0:e-c|0;if(!(k[h+24>>2]|0)){if((j|0)<(m|0)){n=(j<<1)-m|0;u=j<<1;i=j-m|0;j=m;h=0;m=1}else{n=(m<<1)-j|0;u=m<<1;i=m-j|0;h=1;m=0}t=i<<1;s=(d|0)<(b|0)?0-h|0:h;q=(d|0)<(b|0)?-1:1;p=(e|0)<(c|0)?0-m|0:m;o=(e|0)<(c|0)?-1:1;e=j+((g|0)!=0&1)|0;if((e|0)<=0)break;d=k[a+20>>2]|0;m=n;n=0;j=b;i=c;while(1){h=d+(ha(k[a+16>>2]|0,i)|0)+(j<<2)|0;k[h>>2]=f;h=(m|0)<0;n=n+1|0;if((n|0)>=(e|0))break;else{m=(h?u:t)+m|0;j=(h?s:q)+j|0;i=i+(h?p:o)|0}}}else{if((j|0)<(m|0)){n=(j<<1)-m|0;u=j<<1;i=j-m|0;j=m;h=0;m=1}else{n=(m<<1)-j|0;u=m<<1;i=m-j|0;h=1;m=0}t=i<<1;s=(d|0)<(b|0)?0-h|0:h;q=(d|0)<(b|0)?-1:1;p=(e|0)<(c|0)?0-m|0:m;o=(e|0)<(c|0)?-1:1;e=j+((g|0)!=0&1)|0;if((e|0)<=0)break;d=k[a+20>>2]|0;m=n;n=0;j=b;i=c;while(1){h=d+(ha(k[a+16>>2]|0,i)|0)+(j<<2)|0;k[h>>2]=f;h=(m|0)<0;n=n+1|0;if((n|0)>=(e|0))break;else{m=(h?u:t)+m|0;j=(h?s:q)+j|0;i=i+(h?p:o)|0}}}}else{h=(d-b|0)<0?0-(d-b)|0:d-b|0;i=(e-c|0)<0?0-(e-c)|0:e-c|0;if((h|0)<(i|0)){n=(h<<1)-i|0;u=h<<1;j=h-i|0;h=i;i=0;m=1}else{n=(i<<1)-h|0;u=i<<1;j=i-h|0;i=1;m=0}t=j<<1;s=(d|0)<(b|0)?0-i|0:i;q=(d|0)<(b|0)?-1:1;p=(e|0)<(c|0)?0-m|0:m;o=(e|0)<(c|0)?-1:1;e=h+((g|0)!=0&1)|0;if((e|0)>0){d=k[a+20>>2]|0;m=n;n=0;j=b;i=c;while(1){h=d+(ha(k[a+16>>2]|0,i)|0)+(j<<2)|0;k[h>>2]=f;h=(m|0)<0;n=n+1|0;if((n|0)>=(e|0))break;else{m=(h?u:t)+m|0;j=(h?s:q)+j|0;i=i+(h?p:o)|0}}}}while(0);r=v;return}function Idb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=r;r=r+48|0;if(!a){k[B>>2]=600984;y6a(608563,B)|0;e=0;r=B;return e|0}if(!b){k[B+8>>2]=600989;y6a(608563,B+8|0)|0;e=0;r=B;return e|0}if(!c){k[B+16>>2]=600992;y6a(608563,B+16|0)|0;e=0;r=B;return e|0}if(!d){k[B+24>>2]=600995;y6a(608563,B+24|0)|0;e=0;r=B;return e|0}if(!e){k[B+32>>2]=600998;y6a(608563,B+32|0)|0;e=0;r=B;return e|0}z=k[a+8>>2]|0;if((z|0)<1){e=0;r=B;return e|0}A=k[a+12>>2]|0;if((A|0)<1){e=0;r=B;return e|0}h=k[b>>2]|0;g=k[c>>2]|0;l=k[d>>2]|0;f=k[e>>2]|0;y=k[a>>2]|0;v=k[a+4>>2]|0;w=z+y+-1|0;x=A+v+-1|0;if((f|0)<(A+v|0)&(((f|0)<(v|0)|((g|0)>=(A+v|0)|((g|0)<(v|0)|((l|0)<(y|0)|((h|0)<(y|0)|(h|0)>=(z+y|0))|(l|0)<(z+y|0)^1))))^1)){e=1;r=B;return e|0}if((h|0)<(y|0)&(l|0)<(y|0)){e=0;r=B;return e|0}if(!(((f|0)<(A+v|0)|(g|0)>=(A+v|0)^1)&(((g|0)<(v|0)&(f|0)<(v|0)|(h|0)>=(z+y|0)&((l|0)<(z+y|0)^1))^1))){e=0;r=B;return e|0}if((g|0)==(f|0)){if((h|0)<(y|0))k[b>>2]=y;else if((h|0)>=(z+y|0))k[b>>2]=w;if((l|0)<(y|0)){k[d>>2]=y;e=1;r=B;return e|0}if((l|0)<(z+y|0)){e=1;r=B;return e|0}k[d>>2]=w;e=1;r=B;return e|0}if((h|0)==(l|0)){if((g|0)<(v|0))k[c>>2]=v;else if((g|0)>=(A+v|0))k[c>>2]=x;if((f|0)<(v|0)){k[e>>2]=v;e=1;r=B;return e|0}if((f|0)<(A+v|0)){e=1;r=B;return e|0}k[e>>2]=x;e=1;r=B;return e|0}a=(g|0)<(v|0)?2:(g|0)>=(A+v|0)&1;if((h|0)<(y|0))a=a|4;else a=(z+y|0)>(h|0)?a:a|8;i=(f|0)<(v|0)?2:(A+v|0)<=(f|0)&1;i=(l|0)<(y|0)?i|4:(l|0)<(z+y|0)?i:i|8;a:do if(!(i|a))a=l;else{m=0;n=0;while(1){s=w-h|0;t=y-h|0;p=x-g|0;q=v-g|0;if(!a){o=a;a=m;j=n;break}if(i&a|0){f=0;u=67;break}do if(!(a&2)){if(a&1|0){j=((ha(l-h|0,p)|0)/(f-g|0)|0)+h|0;g=x;break}if(a&4|0){j=y;g=((ha(t,f-g|0)|0)/(l-h|0)|0)+g|0;break}if(!(a&8)){j=m;g=n;break}j=w;g=((ha(s,f-g|0)|0)/(l-h|0)|0)+g|0}else{j=((ha(l-h|0,q)|0)/(f-g|0)|0)+h|0;g=v}while(0);a=(v|0)>(g|0)?2:(A+v|0)<=(g|0)&1;if((y|0)>(j|0))a=a|4;else a=(z+y|0)>(j|0)?a:a|8;if(!(i|a)){h=j;a=l;break a}else{m=j;h=j;n=g}}if((u|0)==67){r=B;return f|0}m=a;while(1){if(i&o|0){f=0;break}do if(!(i&2)){if(i&1|0){a=((ha(l-h|0,p)|0)/(f-g|0)|0)+h|0;f=x;break}if(i&4|0){a=y;f=((ha(t,f-g|0)|0)/(l-h|0)|0)+g|0;break}if(!(i&8)){a=m;f=j;break}a=w;f=((ha(s,f-g|0)|0)/(l-h|0)|0)+g|0}else{a=((ha(l-h|0,q)|0)/(f-g|0)|0)+h|0;f=v}while(0);i=(v|0)>(f|0)?2:(A+v|0)<=(f|0)&1;if((y|0)>(a|0))i=i|4;else i=(z+y|0)>(a|0)?i:i|8;if(!(i|o))break a;else{m=a;l=a;j=f}}r=B;return f|0}while(0);k[b>>2]=h;k[c>>2]=g;k[d>>2]=a;k[e>>2]=f;e=1;r=B;return e|0}function Jdb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;h=r;r=r+16|0;a:do if(!a)e=y6a(601219,h)|0;else{g=j[(k[a+4>>2]|0)+8>>1]|0;if((g&255)<8){e=y6a(601001,h+8|0)|0;break}e=k[a+36>>2]|0;if((e|0)>(b|0))e=0;else{f=k[a+40>>2]|0;if((f|0)>(c|0))e=0;else if(((k[a+44>>2]|0)+e|0)>(b|0))if(((k[a+48>>2]|0)+f|0)>(c|0))switch((g&65535)>>>8&65535|0){case 1:{e=(k[a+20>>2]|0)+(ha(k[a+16>>2]|0,c)|0)+b|0;i[e>>0]=d;e=0;break a}case 2:{e=(k[a+20>>2]|0)+(ha(k[a+16>>2]|0,c)|0)+(b<<1)|0;j[e>>1]=d;e=0;break a}case 3:{e=x7a(4)|0;break a}case 4:{e=(k[a+20>>2]|0)+(ha(k[a+16>>2]|0,c)|0)+(b<<2)|0;k[e>>2]=d;e=0;break a}default:{e=0;break a}}else e=0;else e=0}}while(0);r=h;return e|0}function Kdb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,m=0,n=0,o=0,p=0,q=0;q=r;r=r+32|0;if(!a){e=y6a(601045,q)|0;r=q;return e|0}j=k[a+4>>2]|0;a:do switch(l[j+9>>0]|0|0){case 2:{m=k[j+12>>2]|0;m=(m|0)==31744?3:(m|0)==63488?1:2;break}case 4:{i=(k[j+24>>2]|0)!=0;if((k[j+12>>2]|0)==16711680){m=i?4:5;break a}else{m=i?6:7;break a}}default:{e=y6a(601095,q+8|0)|0;r=q;return e|0}}while(0);if((c|0)>1){p=1;do{i=p+-1|0;k[q+24>>2]=k[b+(i<<3)>>2];k[q+20>>2]=k[b+(i<<3)+4>>2];i=b+(p<<3)|0;k[q+16>>2]=k[i>>2];j=b+(p<<3)+4|0;k[q+12>>2]=k[j>>2];if(Idb(a+36|0,q+24|0,q+20|0,q+16|0,q+12|0)|0){n=k[q+16>>2]|0;o=k[q+12>>2]|0;if((n|0)==(k[i>>2]|0))i=(o|0)!=(k[j>>2]|0);else i=1;Ii[m&7](a,k[q+24>>2]|0,k[q+20>>2]|0,n,o,d,e,f,g,h,i&1)}p=p+1|0}while((p|0)!=(c|0))}j=k[b+(c+-1<<3)>>2]|0;if((k[b>>2]|0)==(j|0)){i=k[b+(c+-1<<3)+4>>2]|0;if((k[b+4>>2]|0)==(i|0)){e=0;r=q;return e|0}}else i=k[b+(c+-1<<3)+4>>2]|0;Sdb(a,j,i,d,e,f,g,h)|0;e=0;r=q;return e|0}function Ldb(a,b,c,d,e,f,g,h,i,n,o){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;n=n|0;o=o|0;var p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;if((f+-1|0)>>>0<2){p=n&255;z=((ha(n&255,i&255)|0)>>>0)/255|0;y=((ha(n&255,h&255)|0)>>>0)/255|0;x=((ha(n&255,g&255)|0)>>>0)/255|0}else{p=n&255;z=i&255;y=h&255;x=g&255}w=p^255;if((e|0)==(c|0))switch(f|0){case 1:{i=(k[a+20>>2]|0)+((ha((k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0,e)|0)<<1)|0;if((d|0)<(b|0)){h=b-d+((o|0)!=0&1)|0;i=o|0?i+(d<<1)|0:i+(d<<1)+2|0}else{h=d-b+((o|0)!=0&1)|0;i=i+(b<<1)|0}if(!h)return;while(1){h=h+-1|0;c=m[i>>1]|0;c=(((((ha(l[594630+(c>>>5&63)>>0]|0,w)|0)>>>0)/255|0)+y|0)>>>2<<5|((((ha(l[594694+(c>>>11)>>0]|0,w)|0)>>>0)/255|0)+x|0)>>>3<<11|((((ha(l[594694+(c&31)>>0]|0,w)|0)>>>0)/255|0)+z|0)>>>3)&65535;j[i>>1]=c;if(!h)break;else i=i+2|0}return}case 2:{i=(k[a+20>>2]|0)+((ha((k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0,e)|0)<<1)|0;if((d|0)<(b|0)){h=b-d+((o|0)!=0&1)|0;i=o|0?i+(d<<1)|0:i+(d<<1)+2|0}else{h=d-b+((o|0)!=0&1)|0;i=i+(b<<1)|0}if(!h)return;while(1){h=h+-1|0;c=m[i>>1]|0;b=(l[594694+(c>>>11)>>0]|0)+x|0;o=(l[594630+(c>>>5&63)>>0]|0)+y|0;c=(l[594694+(c&31)>>0]|0)+z|0;j[i>>1]=(o>>>0>255?255:o)>>>2<<5|(b>>>0>255?255:b)>>>3<<11|(c>>>0>255?255:c)>>>3;if(!h)break;else i=i+2|0}return}case 4:{i=(k[a+20>>2]|0)+((ha((k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0,e)|0)<<1)|0;if((d|0)<(b|0)){h=b-d+((o|0)!=0&1)|0;i=o|0?i+(d<<1)|0:i+(d<<1)+2|0}else{h=d-b+((o|0)!=0&1)|0;i=i+(b<<1)|0}if(!h)return;while(1){h=h+-1|0;c=m[i>>1]|0;c=((((ha(l[594630+(c>>>5&63)>>0]|0,y)|0)>>>0)/255|0)>>>2<<5|(((ha(l[594694+(c>>>11)>>0]|0,x)|0)>>>0)/255|0)>>>3<<11|(((ha(l[594694+(c&31)>>0]|0,z)|0)>>>0)/255|0)>>>3)&65535;j[i>>1]=c;if(!h)break;else i=i+2|0}return}default:{i=(k[a+20>>2]|0)+((ha((k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0,e)|0)<<1)|0;if((d|0)<(b|0)){h=b-d+((o|0)!=0&1)|0;i=o|0?i+(d<<1)|0:i+(d<<1)+2|0}else{h=d-b+((o|0)!=0&1)|0;i=i+(b<<1)|0}if(!h)return;n=(y>>>2<<5|z>>>3|x>>>3<<11)&65535;while(1){h=h+-1|0;j[i>>1]=n;if(!h)break;else i=i+2|0}return}}if((d|0)==(b|0))switch(f|0){case 1:{n=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){i=i+((ha(n,e)|0)<<1)+(d<<1)|0;h=c-e+((o|0)!=0&1)|0;i=o|0?i:i+(n<<1)|0}else{h=e-c+((o|0)!=0&1)|0;i=i+((ha(n,c)|0)<<1)+(d<<1)|0}if(!h)return;while(1){h=h+-1|0;c=m[i>>1]|0;c=(((((ha(l[594630+(c>>>5&63)>>0]|0,w)|0)>>>0)/255|0)+y|0)>>>2<<5|((((ha(l[594694+(c>>>11)>>0]|0,w)|0)>>>0)/255|0)+x|0)>>>3<<11|((((ha(l[594694+(c&31)>>0]|0,w)|0)>>>0)/255|0)+z|0)>>>3)&65535;j[i>>1]=c;if(!h)break;else i=i+(n<<1)|0}return}case 2:{n=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){i=i+((ha(n,e)|0)<<1)+(d<<1)|0;h=c-e+((o|0)!=0&1)|0;i=o|0?i:i+(n<<1)|0}else{h=e-c+((o|0)!=0&1)|0;i=i+((ha(n,c)|0)<<1)+(d<<1)|0}if(!h)return;while(1){h=h+-1|0;c=m[i>>1]|0;b=(l[594694+(c>>>11)>>0]|0)+x|0;o=(l[594630+(c>>>5&63)>>0]|0)+y|0;c=(l[594694+(c&31)>>0]|0)+z|0;j[i>>1]=(o>>>0>255?255:o)>>>2<<5|(b>>>0>255?255:b)>>>3<<11|(c>>>0>255?255:c)>>>3;if(!h)break;else i=i+(n<<1)|0}return}case 4:{n=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){i=i+((ha(n,e)|0)<<1)+(d<<1)|0;h=c-e+((o|0)!=0&1)|0;i=o|0?i:i+(n<<1)|0}else{h=e-c+((o|0)!=0&1)|0;i=i+((ha(n,c)|0)<<1)+(d<<1)|0}if(!h)return;while(1){h=h+-1|0;c=m[i>>1]|0;c=((((ha(l[594630+(c>>>5&63)>>0]|0,y)|0)>>>0)/255|0)>>>2<<5|(((ha(l[594694+(c>>>11)>>0]|0,x)|0)>>>0)/255|0)>>>3<<11|(((ha(l[594694+(c&31)>>0]|0,z)|0)>>>0)/255|0)>>>3)&65535;j[i>>1]=c;if(!h)break;else i=i+(n<<1)|0}return}default:{g=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){i=i+((ha(g,e)|0)<<1)+(d<<1)|0;h=c-e+((o|0)!=0&1)|0;i=o|0?i:i+(g<<1)|0}else{h=e-c+((o|0)!=0&1)|0;i=i+((ha(g,c)|0)<<1)+(d<<1)|0}if(!h)return;n=(y>>>2<<5|z>>>3|x>>>3<<11)&65535;while(1){h=h+-1|0;j[i>>1]=n;if(!h)break;else i=i+(g<<1)|0}return}}if((((b-d|0)<0?0-(b-d)|0:b-d|0)|0)==(((c-e|0)<0?0-(c-e)|0:c-e|0)|0))switch(f|0){case 1:{h=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){a=i+((ha(h,e)|0)<<1)+(d<<1)|0;h=h+((d|0)>(b|0)?-1:1)|0;i=c-e|0;n=h;h=(o|0)==0?a+(h<<1)|0:a}else{a=i+((ha(h,c)|0)<<1)+(b<<1)|0;i=e-c|0;n=h+((d|0)<(b|0)?-1:1)|0;h=a}i=i+((o|0)!=0&1)|0;if(!i)return;while(1){i=i+-1|0;c=m[h>>1]|0;c=(((((ha(l[594630+(c>>>5&63)>>0]|0,w)|0)>>>0)/255|0)+y|0)>>>2<<5|((((ha(l[594694+(c>>>11)>>0]|0,w)|0)>>>0)/255|0)+x|0)>>>3<<11|((((ha(l[594694+(c&31)>>0]|0,w)|0)>>>0)/255|0)+z|0)>>>3)&65535;j[h>>1]=c;if(!i)break;else h=h+(n<<1)|0}return}case 2:{h=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){a=i+((ha(h,e)|0)<<1)+(d<<1)|0;h=h+((d|0)>(b|0)?-1:1)|0;i=c-e|0;n=h;h=(o|0)==0?a+(h<<1)|0:a}else{a=i+((ha(h,c)|0)<<1)+(b<<1)|0;i=e-c|0;n=h+((d|0)<(b|0)?-1:1)|0;h=a}i=i+((o|0)!=0&1)|0;if(!i)return;while(1){i=i+-1|0;c=m[h>>1]|0;b=(l[594694+(c>>>11)>>0]|0)+x|0;o=(l[594630+(c>>>5&63)>>0]|0)+y|0;c=(l[594694+(c&31)>>0]|0)+z|0;j[h>>1]=(o>>>0>255?255:o)>>>2<<5|(b>>>0>255?255:b)>>>3<<11|(c>>>0>255?255:c)>>>3;if(!i)break;else h=h+(n<<1)|0}return}case 4:{h=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){a=i+((ha(h,e)|0)<<1)+(d<<1)|0;h=h+((d|0)>(b|0)?-1:1)|0;i=c-e|0;n=h;h=(o|0)==0?a+(h<<1)|0:a}else{a=i+((ha(h,c)|0)<<1)+(b<<1)|0;i=e-c|0;n=h+((d|0)<(b|0)?-1:1)|0;h=a}i=i+((o|0)!=0&1)|0;if(!i)return;while(1){i=i+-1|0;c=m[h>>1]|0;c=((((ha(l[594630+(c>>>5&63)>>0]|0,y)|0)>>>0)/255|0)>>>2<<5|(((ha(l[594694+(c>>>11)>>0]|0,x)|0)>>>0)/255|0)>>>3<<11|(((ha(l[594694+(c&31)>>0]|0,z)|0)>>>0)/255|0)>>>3)&65535;j[h>>1]=c;if(!i)break;else h=h+(n<<1)|0}return}default:{n=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){i=i+((ha(n,e)|0)<<1)+(d<<1)|0;b=n+((d|0)>(b|0)?-1:1)|0;h=c-e|0;g=b;i=(o|0)==0?i+(b<<1)|0:i}else{i=i+((ha(n,c)|0)<<1)+(b<<1)|0;h=e-c|0;g=n+((d|0)<(b|0)?-1:1)|0}h=h+((o|0)!=0&1)|0;if(!h)return;n=(y>>>2<<5|z>>>3|x>>>3<<11)&65535;while(1){h=h+-1|0;j[i>>1]=n;if(!h)break;else i=i+(g<<1)|0}return}}switch(f|0){case 1:{i=(d-b|0)<0?0-(d-b)|0:d-b|0;h=(e-c|0)<0?0-(e-c)|0:e-c|0;if((i|0)<(h|0)){p=(i<<1)-h|0;v=i<<1;n=i-h|0;i=h;h=0;g=1}else{p=(h<<1)-i|0;v=h<<1;n=h-i|0;h=1;g=0}u=n<<1;t=(d|0)<(b|0)?0-h|0:h;s=(d|0)<(b|0)?-1:1;r=(e|0)<(c|0)?0-g|0:g;q=(e|0)<(c|0)?-1:1;d=i+((o|0)!=0&1)|0;if((d|0)<=0)return;e=k[a+20>>2]|0;f=k[a+16>>2]|0;g=p;p=0;n=b;h=c;while(1){i=e+(ha(f,h)|0)+(n<<1)|0;c=m[i>>1]|0;c=(((((ha(l[594630+(c>>>5&63)>>0]|0,w)|0)>>>0)/255|0)+y|0)>>>2<<5|((((ha(l[594694+(c>>>11)>>0]|0,w)|0)>>>0)/255|0)+x|0)>>>3<<11|((((ha(l[594694+(c&31)>>0]|0,w)|0)>>>0)/255|0)+z|0)>>>3)&65535;j[i>>1]=c;i=(g|0)<0;p=p+1|0;if((p|0)>=(d|0))break;else{g=(i?v:u)+g|0;n=(i?t:s)+n|0;h=h+(i?r:q)|0}}return}case 2:{i=(d-b|0)<0?0-(d-b)|0:d-b|0;h=(e-c|0)<0?0-(e-c)|0:e-c|0;if((i|0)<(h|0)){p=(i<<1)-h|0;v=i<<1;n=i-h|0;i=h;h=0;g=1}else{p=(h<<1)-i|0;v=h<<1;n=h-i|0;h=1;g=0}u=n<<1;t=(d|0)<(b|0)?0-h|0:h;s=(d|0)<(b|0)?-1:1;r=(e|0)<(c|0)?0-g|0:g;q=(e|0)<(c|0)?-1:1;d=i+((o|0)!=0&1)|0;if((d|0)<=0)return;e=k[a+20>>2]|0;f=k[a+16>>2]|0;g=p;p=0;n=b;h=c;while(1){i=e+(ha(f,h)|0)+(n<<1)|0;c=m[i>>1]|0;b=(l[594694+(c>>>11)>>0]|0)+x|0;o=(l[594630+(c>>>5&63)>>0]|0)+y|0;c=(l[594694+(c&31)>>0]|0)+z|0;j[i>>1]=(o>>>0>255?255:o)>>>2<<5|(b>>>0>255?255:b)>>>3<<11|(c>>>0>255?255:c)>>>3;i=(g|0)<0;p=p+1|0;if((p|0)>=(d|0))break;else{g=(i?v:u)+g|0;n=(i?t:s)+n|0;h=h+(i?r:q)|0}}return}case 4:{i=(d-b|0)<0?0-(d-b)|0:d-b|0;h=(e-c|0)<0?0-(e-c)|0:e-c|0;if((i|0)<(h|0)){p=(i<<1)-h|0;v=i<<1;n=i-h|0;i=h;h=0;g=1}else{p=(h<<1)-i|0;v=h<<1;n=h-i|0;h=1;g=0}u=n<<1;t=(d|0)<(b|0)?0-h|0:h;s=(d|0)<(b|0)?-1:1;r=(e|0)<(c|0)?0-g|0:g;q=(e|0)<(c|0)?-1:1;d=i+((o|0)!=0&1)|0;if((d|0)<=0)return;e=k[a+20>>2]|0;f=k[a+16>>2]|0;g=p;p=0;n=b;h=c;while(1){i=e+(ha(f,h)|0)+(n<<1)|0;c=m[i>>1]|0;c=((((ha(l[594630+(c>>>5&63)>>0]|0,y)|0)>>>0)/255|0)>>>2<<5|(((ha(l[594694+(c>>>11)>>0]|0,x)|0)>>>0)/255|0)>>>3<<11|(((ha(l[594694+(c&31)>>0]|0,z)|0)>>>0)/255|0)>>>3)&65535;j[i>>1]=c;i=(g|0)<0;p=p+1|0;if((p|0)>=(d|0))break;else{g=(i?v:u)+g|0;n=(i?t:s)+n|0;h=h+(i?r:q)|0}}return}default:{i=(d-b|0)<0?0-(d-b)|0:d-b|0;h=(e-c|0)<0?0-(e-c)|0:e-c|0;if((i|0)<(h|0)){g=(i<<1)-h|0;w=i<<1;n=i-h|0;i=h;h=0;p=1}else{g=(h<<1)-i|0;w=h<<1;n=h-i|0;h=1;p=0}v=n<<1;u=(d|0)<(b|0)?0-h|0:h;t=(d|0)<(b|0)?-1:1;s=(e|0)<(c|0)?0-p|0:p;r=(e|0)<(c|0)?-1:1;q=i+((o|0)!=0&1)|0;if((q|0)<=0)return;d=k[a+20>>2]|0;e=k[a+16>>2]|0;f=(y>>>2<<5|z>>>3|x>>>3<<11)&65535;p=0;n=b;h=c;while(1){i=d+(ha(e,h)|0)+(n<<1)|0;j[i>>1]=f;i=(g|0)<0;p=p+1|0;if((p|0)>=(q|0))break;else{g=(i?w:v)+g|0;n=(i?u:t)+n|0;h=h+(i?s:r)|0}}return}}}function Mdb(a,b,c,d,e,f,g,h,i,n,o){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;n=n|0;o=o|0;var p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;F=k[a+4>>2]|0;if((f+-1|0)>>>0<2){p=n&255;I=((ha(n&255,i&255)|0)>>>0)/255|0;H=((ha(n&255,h&255)|0)>>>0)/255|0;G=((ha(n&255,g&255)|0)>>>0)/255|0}else{p=n&255;I=i&255;H=h&255;G=g&255}E=p^255;if((e|0)==(c|0))switch(f|0){case 1:{i=(k[a+20>>2]|0)+((ha((k[a+16>>2]|0)/(l[F+9>>0]|0|0)|0,e)|0)<<1)|0;if((d|0)<(b|0)){h=b-d+((o|0)!=0&1)|0;i=o|0?i+(d<<1)|0:i+(d<<1)+2|0}else{h=d-b+((o|0)!=0&1)|0;i=i+(b<<1)|0}if(!h)return;g=k[F+12>>2]|0;p=k[F+32>>2]|0;f=k[F+28>>2]|0;e=k[124356+((f&255)<<2)>>2]|0;d=k[F+16>>2]|0;o=k[124356+((f>>>8&255)<<2)>>2]|0;q=k[F+20>>2]|0;r=k[124356+((f>>>16&255)<<2)>>2]|0;n=k[F+24>>2]|0;while(1){h=h+-1|0;F=m[i>>1]|0;F=(((((ha(l[o+((d&F)>>>(p>>>8&255))>>0]|0,E)|0)>>>0)/255|0)+H|0)>>>(f>>>8&255)<<(p>>>8&255)|((((ha(l[e+((F&g)>>>(p&255))>>0]|0,E)|0)>>>0)/255|0)+G|0)>>>(f&255)<<(p&255)|n|((((ha(l[r+((q&F)>>>(p>>>16&255))>>0]|0,E)|0)>>>0)/255|0)+I|0)>>>(f>>>16&255)<<(p>>>16&255))&65535;j[i>>1]=F;if(!h)break;else i=i+2|0}return}case 2:{i=(k[a+20>>2]|0)+((ha((k[a+16>>2]|0)/(l[F+9>>0]|0|0)|0,e)|0)<<1)|0;if((d|0)<(b|0)){h=b-d+((o|0)!=0&1)|0;i=o|0?i+(d<<1)|0:i+(d<<1)+2|0}else{h=d-b+((o|0)!=0&1)|0;i=i+(b<<1)|0}if(!h)return;g=k[F+12>>2]|0;p=k[F+32>>2]|0;f=k[F+28>>2]|0;e=k[124356+((f&255)<<2)>>2]|0;d=k[F+16>>2]|0;o=k[124356+((f>>>8&255)<<2)>>2]|0;q=k[F+20>>2]|0;r=k[124356+((f>>>16&255)<<2)>>2]|0;n=k[F+24>>2]|0;while(1){h=h+-1|0;F=m[i>>1]|0;c=(l[e+((F&g)>>>(p&255))>>0]|0)+G|0;b=(l[o+((d&F)>>>(p>>>8&255))>>0]|0)+H|0;F=(l[r+((q&F)>>>(p>>>16&255))>>0]|0)+I|0;j[i>>1]=(b>>>0>255?255:b)>>>(f>>>8&255)<<(p>>>8&255)|(c>>>0>255?255:c)>>>(f&255)<<(p&255)|n|(F>>>0>255?255:F)>>>(f>>>16&255)<<(p>>>16&255);if(!h)break;else i=i+2|0}return}case 4:{i=(k[a+20>>2]|0)+((ha((k[a+16>>2]|0)/(l[F+9>>0]|0|0)|0,e)|0)<<1)|0;if((d|0)<(b|0)){h=b-d+((o|0)!=0&1)|0;i=o|0?i+(d<<1)|0:i+(d<<1)+2|0}else{h=d-b+((o|0)!=0&1)|0;i=i+(b<<1)|0}if(!h)return;g=k[F+12>>2]|0;p=k[F+32>>2]|0;f=k[F+28>>2]|0;e=k[124356+((f&255)<<2)>>2]|0;d=k[F+16>>2]|0;o=k[124356+((f>>>8&255)<<2)>>2]|0;q=k[F+20>>2]|0;r=k[124356+((f>>>16&255)<<2)>>2]|0;n=k[F+24>>2]|0;while(1){h=h+-1|0;F=m[i>>1]|0;F=((((ha(l[o+((d&F)>>>(p>>>8&255))>>0]|0,H)|0)>>>0)/255|0)>>>(f>>>8&255)<<(p>>>8&255)|(((ha(l[e+((F&g)>>>(p&255))>>0]|0,G)|0)>>>0)/255|0)>>>(f&255)<<(p&255)|n|(((ha(l[r+((q&F)>>>(p>>>16&255))>>0]|0,I)|0)>>>0)/255|0)>>>(f>>>16&255)<<(p>>>16&255))&65535;j[i>>1]=F;if(!h)break;else i=i+2|0}return}default:{i=(k[a+20>>2]|0)+((ha((k[a+16>>2]|0)/(l[F+9>>0]|0|0)|0,e)|0)<<1)|0;if((d|0)<(b|0)){h=b-d+((o|0)!=0&1)|0;i=o|0?i+(d<<1)|0:i+(d<<1)+2|0}else{h=d-b+((o|0)!=0&1)|0;i=i+(b<<1)|0}if(!h)return;c=k[F+28>>2]|0;n=k[F+32>>2]|0;n=(H>>>(c>>>8&255)<<(n>>>8&255)|G>>>(c&255)<<(n&255)|k[F+24>>2]|I>>>(c>>>16&255)<<(n>>>16&255))&65535;while(1){h=h+-1|0;j[i>>1]=n;if(!h)break;else i=i+2|0}return}}if((d|0)==(b|0))switch(f|0){case 1:{s=(k[a+16>>2]|0)/(l[F+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){i=i+((ha(s,e)|0)<<1)+(d<<1)|0;h=c-e+((o|0)!=0&1)|0;i=o|0?i:i+(s<<1)|0}else{h=e-c+((o|0)!=0&1)|0;i=i+((ha(s,c)|0)<<1)+(d<<1)|0}if(!h)return;g=k[F+12>>2]|0;p=k[F+32>>2]|0;f=k[F+28>>2]|0;e=k[124356+((f&255)<<2)>>2]|0;d=k[F+16>>2]|0;o=k[124356+((f>>>8&255)<<2)>>2]|0;q=k[F+20>>2]|0;r=k[124356+((f>>>16&255)<<2)>>2]|0;n=k[F+24>>2]|0;while(1){h=h+-1|0;F=m[i>>1]|0;F=(((((ha(l[o+((d&F)>>>(p>>>8&255))>>0]|0,E)|0)>>>0)/255|0)+H|0)>>>(f>>>8&255)<<(p>>>8&255)|((((ha(l[e+((F&g)>>>(p&255))>>0]|0,E)|0)>>>0)/255|0)+G|0)>>>(f&255)<<(p&255)|n|((((ha(l[r+((q&F)>>>(p>>>16&255))>>0]|0,E)|0)>>>0)/255|0)+I|0)>>>(f>>>16&255)<<(p>>>16&255))&65535;j[i>>1]=F;if(!h)break;else i=i+(s<<1)|0}return}case 2:{s=(k[a+16>>2]|0)/(l[F+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){i=i+((ha(s,e)|0)<<1)+(d<<1)|0;h=c-e+((o|0)!=0&1)|0;i=o|0?i:i+(s<<1)|0}else{h=e-c+((o|0)!=0&1)|0;i=i+((ha(s,c)|0)<<1)+(d<<1)|0}if(!h)return;g=k[F+12>>2]|0;p=k[F+32>>2]|0;f=k[F+28>>2]|0;e=k[124356+((f&255)<<2)>>2]|0;d=k[F+16>>2]|0;o=k[124356+((f>>>8&255)<<2)>>2]|0;q=k[F+20>>2]|0;r=k[124356+((f>>>16&255)<<2)>>2]|0;n=k[F+24>>2]|0;while(1){h=h+-1|0;F=m[i>>1]|0;c=(l[e+((F&g)>>>(p&255))>>0]|0)+G|0;b=(l[o+((d&F)>>>(p>>>8&255))>>0]|0)+H|0;F=(l[r+((q&F)>>>(p>>>16&255))>>0]|0)+I|0;j[i>>1]=(b>>>0>255?255:b)>>>(f>>>8&255)<<(p>>>8&255)|(c>>>0>255?255:c)>>>(f&255)<<(p&255)|n|(F>>>0>255?255:F)>>>(f>>>16&255)<<(p>>>16&255);if(!h)break;else i=i+(s<<1)|0}return}case 4:{s=(k[a+16>>2]|0)/(l[F+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){i=i+((ha(s,e)|0)<<1)+(d<<1)|0;h=c-e+((o|0)!=0&1)|0;i=o|0?i:i+(s<<1)|0}else{h=e-c+((o|0)!=0&1)|0;i=i+((ha(s,c)|0)<<1)+(d<<1)|0}if(!h)return;g=k[F+12>>2]|0;p=k[F+32>>2]|0;f=k[F+28>>2]|0;e=k[124356+((f&255)<<2)>>2]|0;d=k[F+16>>2]|0;o=k[124356+((f>>>8&255)<<2)>>2]|0;q=k[F+20>>2]|0;r=k[124356+((f>>>16&255)<<2)>>2]|0;n=k[F+24>>2]|0;while(1){h=h+-1|0;F=m[i>>1]|0;F=((((ha(l[o+((d&F)>>>(p>>>8&255))>>0]|0,H)|0)>>>0)/255|0)>>>(f>>>8&255)<<(p>>>8&255)|(((ha(l[e+((F&g)>>>(p&255))>>0]|0,G)|0)>>>0)/255|0)>>>(f&255)<<(p&255)|n|(((ha(l[r+((q&F)>>>(p>>>16&255))>>0]|0,I)|0)>>>0)/255|0)>>>(f>>>16&255)<<(p>>>16&255))&65535;j[i>>1]=F;if(!h)break;else i=i+(s<<1)|0}return}default:{g=(k[a+16>>2]|0)/(l[F+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){i=i+((ha(g,e)|0)<<1)+(d<<1)|0;h=c-e+((o|0)!=0&1)|0;i=o|0?i:i+(g<<1)|0}else{h=e-c+((o|0)!=0&1)|0;i=i+((ha(g,c)|0)<<1)+(d<<1)|0}if(!h)return;c=k[F+28>>2]|0;n=k[F+32>>2]|0;n=(H>>>(c>>>8&255)<<(n>>>8&255)|G>>>(c&255)<<(n&255)|k[F+24>>2]|I>>>(c>>>16&255)<<(n>>>16&255))&65535;while(1){h=h+-1|0;j[i>>1]=n;if(!h)break;else i=i+(g<<1)|0}return}}if((((b-d|0)<0?0-(b-d)|0:b-d|0)|0)==(((c-e|0)<0?0-(c-e)|0:c-e|0)|0))switch(f|0){case 1:{h=(k[a+16>>2]|0)/(l[F+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){s=i+((ha(h,e)|0)<<1)+(d<<1)|0;b=h+((d|0)>(b|0)?-1:1)|0;i=c-e|0;t=b;s=(o|0)==0?s+(b<<1)|0:s}else{s=i+((ha(h,c)|0)<<1)+(b<<1)|0;i=e-c|0;t=h+((d|0)<(b|0)?-1:1)|0}i=i+((o|0)!=0&1)|0;if(!i)return;g=k[F+12>>2]|0;p=k[F+32>>2]|0;f=k[F+28>>2]|0;e=k[124356+((f&255)<<2)>>2]|0;d=k[F+16>>2]|0;o=k[124356+((f>>>8&255)<<2)>>2]|0;q=k[F+20>>2]|0;r=k[124356+((f>>>16&255)<<2)>>2]|0;n=k[F+24>>2]|0;h=i;i=s;while(1){h=h+-1|0;F=m[i>>1]|0;F=(((((ha(l[o+((d&F)>>>(p>>>8&255))>>0]|0,E)|0)>>>0)/255|0)+H|0)>>>(f>>>8&255)<<(p>>>8&255)|((((ha(l[e+((F&g)>>>(p&255))>>0]|0,E)|0)>>>0)/255|0)+G|0)>>>(f&255)<<(p&255)|n|((((ha(l[r+((q&F)>>>(p>>>16&255))>>0]|0,E)|0)>>>0)/255|0)+I|0)>>>(f>>>16&255)<<(p>>>16&255))&65535;j[i>>1]=F;if(!h)break;else i=i+(t<<1)|0}return}case 2:{h=(k[a+16>>2]|0)/(l[F+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){s=i+((ha(h,e)|0)<<1)+(d<<1)|0;b=h+((d|0)>(b|0)?-1:1)|0;i=c-e|0;t=b;s=(o|0)==0?s+(b<<1)|0:s}else{s=i+((ha(h,c)|0)<<1)+(b<<1)|0;i=e-c|0;t=h+((d|0)<(b|0)?-1:1)|0}i=i+((o|0)!=0&1)|0;if(!i)return;g=k[F+12>>2]|0;p=k[F+32>>2]|0;f=k[F+28>>2]|0;e=k[124356+((f&255)<<2)>>2]|0;d=k[F+16>>2]|0;o=k[124356+((f>>>8&255)<<2)>>2]|0;q=k[F+20>>2]|0;r=k[124356+((f>>>16&255)<<2)>>2]|0;n=k[F+24>>2]|0;h=i;i=s;while(1){h=h+-1|0;F=m[i>>1]|0;c=(l[e+((F&g)>>>(p&255))>>0]|0)+G|0;b=(l[o+((d&F)>>>(p>>>8&255))>>0]|0)+H|0;F=(l[r+((q&F)>>>(p>>>16&255))>>0]|0)+I|0;j[i>>1]=(b>>>0>255?255:b)>>>(f>>>8&255)<<(p>>>8&255)|(c>>>0>255?255:c)>>>(f&255)<<(p&255)|n|(F>>>0>255?255:F)>>>(f>>>16&255)<<(p>>>16&255);if(!h)break;else i=i+(t<<1)|0}return}case 4:{h=(k[a+16>>2]|0)/(l[F+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){s=i+((ha(h,e)|0)<<1)+(d<<1)|0;b=h+((d|0)>(b|0)?-1:1)|0;i=c-e|0;t=b;s=(o|0)==0?s+(b<<1)|0:s}else{s=i+((ha(h,c)|0)<<1)+(b<<1)|0;i=e-c|0;t=h+((d|0)<(b|0)?-1:1)|0}i=i+((o|0)!=0&1)|0;if(!i)return;g=k[F+12>>2]|0;p=k[F+32>>2]|0;f=k[F+28>>2]|0;e=k[124356+((f&255)<<2)>>2]|0;d=k[F+16>>2]|0;o=k[124356+((f>>>8&255)<<2)>>2]|0;q=k[F+20>>2]|0;r=k[124356+((f>>>16&255)<<2)>>2]|0;n=k[F+24>>2]|0;h=i;i=s;while(1){h=h+-1|0;F=m[i>>1]|0;F=((((ha(l[o+((d&F)>>>(p>>>8&255))>>0]|0,H)|0)>>>0)/255|0)>>>(f>>>8&255)<<(p>>>8&255)|(((ha(l[e+((F&g)>>>(p&255))>>0]|0,G)|0)>>>0)/255|0)>>>(f&255)<<(p&255)|n|(((ha(l[r+((q&F)>>>(p>>>16&255))>>0]|0,I)|0)>>>0)/255|0)>>>(f>>>16&255)<<(p>>>16&255))&65535;j[i>>1]=F;if(!h)break;else i=i+(t<<1)|0}return}default:{n=(k[a+16>>2]|0)/(l[F+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){i=i+((ha(n,e)|0)<<1)+(d<<1)|0;b=n+((d|0)>(b|0)?-1:1)|0;h=c-e|0;g=b;i=(o|0)==0?i+(b<<1)|0:i}else{i=i+((ha(n,c)|0)<<1)+(b<<1)|0;h=e-c|0;g=n+((d|0)<(b|0)?-1:1)|0}h=h+((o|0)!=0&1)|0;if(!h)return;c=k[F+28>>2]|0;n=k[F+32>>2]|0;n=(H>>>(c>>>8&255)<<(n>>>8&255)|G>>>(c&255)<<(n&255)|k[F+24>>2]|I>>>(c>>>16&255)<<(n>>>16&255))&65535;while(1){h=h+-1|0;j[i>>1]=n;if(!h)break;else i=i+(g<<1)|0}return}}else switch(f|0){case 1:{i=(d-b|0)<0?0-(d-b)|0:d-b|0;h=(e-c|0)<0?0-(e-c)|0:e-c|0;if((i|0)<(h|0)){p=(i<<1)-h|0;D=i<<1;n=i-h|0;i=h;h=0;g=1}else{p=(h<<1)-i|0;D=h<<1;n=h-i|0;h=1;g=0}C=n<<1;B=(d|0)<(b|0)?0-h|0:h;A=(d|0)<(b|0)?-1:1;z=(e|0)<(c|0)?0-g|0:g;y=(e|0)<(c|0)?-1:1;x=i+((o|0)!=0&1)|0;if((x|0)<=0)return;w=k[a+20>>2]|0;e=k[a+16>>2]|0;d=k[F+12>>2]|0;o=k[F+32>>2]|0;q=k[F+28>>2]|0;r=k[124356+((q&255)<<2)>>2]|0;s=k[F+16>>2]|0;t=k[124356+((q>>>8&255)<<2)>>2]|0;u=k[F+20>>2]|0;v=k[124356+((q>>>16&255)<<2)>>2]|0;f=k[F+24>>2]|0;g=p;p=0;n=b;h=c;while(1){i=w+(ha(e,h)|0)+(n<<1)|0;F=m[i>>1]|0;F=(((((ha(l[t+((s&F)>>>(o>>>8&255))>>0]|0,E)|0)>>>0)/255|0)+H|0)>>>(q>>>8&255)<<(o>>>8&255)|((((ha(l[r+((F&d)>>>(o&255))>>0]|0,E)|0)>>>0)/255|0)+G|0)>>>(q&255)<<(o&255)|f|((((ha(l[v+((u&F)>>>(o>>>16&255))>>0]|0,E)|0)>>>0)/255|0)+I|0)>>>(q>>>16&255)<<(o>>>16&255))&65535;j[i>>1]=F;i=(g|0)<0;p=p+1|0;if((p|0)>=(x|0))break;else{g=(i?D:C)+g|0;n=(i?B:A)+n|0;h=h+(i?z:y)|0}}return}case 2:{i=(d-b|0)<0?0-(d-b)|0:d-b|0;h=(e-c|0)<0?0-(e-c)|0:e-c|0;if((i|0)<(h|0)){p=(i<<1)-h|0;D=i<<1;n=i-h|0;i=h;h=0;g=1}else{p=(h<<1)-i|0;D=h<<1;n=h-i|0;h=1;g=0}C=n<<1;B=(d|0)<(b|0)?0-h|0:h;A=(d|0)<(b|0)?-1:1;z=(e|0)<(c|0)?0-g|0:g;y=(e|0)<(c|0)?-1:1;x=i+((o|0)!=0&1)|0;if((x|0)<=0)return;w=k[a+20>>2]|0;e=k[a+16>>2]|0;d=k[F+12>>2]|0;o=k[F+32>>2]|0;q=k[F+28>>2]|0;r=k[124356+((q&255)<<2)>>2]|0;s=k[F+16>>2]|0;t=k[124356+((q>>>8&255)<<2)>>2]|0;u=k[F+20>>2]|0;v=k[124356+((q>>>16&255)<<2)>>2]|0;f=k[F+24>>2]|0;g=p;p=0;n=b;h=c;while(1){i=w+(ha(e,h)|0)+(n<<1)|0;F=m[i>>1]|0;c=(l[r+((F&d)>>>(o&255))>>0]|0)+G|0;b=(l[t+((s&F)>>>(o>>>8&255))>>0]|0)+H|0;F=(l[v+((u&F)>>>(o>>>16&255))>>0]|0)+I|0;j[i>>1]=(b>>>0>255?255:b)>>>(q>>>8&255)<<(o>>>8&255)|(c>>>0>255?255:c)>>>(q&255)<<(o&255)|f|(F>>>0>255?255:F)>>>(q>>>16&255)<<(o>>>16&255);i=(g|0)<0;p=p+1|0;if((p|0)>=(x|0))break;else{g=(i?D:C)+g|0;n=(i?B:A)+n|0;h=h+(i?z:y)|0}}return}case 4:{i=(d-b|0)<0?0-(d-b)|0:d-b|0;h=(e-c|0)<0?0-(e-c)|0:e-c|0;if((i|0)<(h|0)){p=(i<<1)-h|0;D=i<<1;n=i-h|0;i=h;h=0;g=1}else{p=(h<<1)-i|0;D=h<<1;n=h-i|0;h=1;g=0}C=n<<1;B=(d|0)<(b|0)?0-h|0:h;A=(d|0)<(b|0)?-1:1;z=(e|0)<(c|0)?0-g|0:g;y=(e|0)<(c|0)?-1:1;x=i+((o|0)!=0&1)|0;if((x|0)<=0)return;w=k[a+20>>2]|0;e=k[a+16>>2]|0;d=k[F+12>>2]|0;o=k[F+32>>2]|0;q=k[F+28>>2]|0;r=k[124356+((q&255)<<2)>>2]|0;s=k[F+16>>2]|0;t=k[124356+((q>>>8&255)<<2)>>2]|0;u=k[F+20>>2]|0;v=k[124356+((q>>>16&255)<<2)>>2]|0;f=k[F+24>>2]|0;g=p;p=0;n=b;h=c;while(1){i=w+(ha(e,h)|0)+(n<<1)|0;F=m[i>>1]|0;F=((((ha(l[t+((s&F)>>>(o>>>8&255))>>0]|0,H)|0)>>>0)/255|0)>>>(q>>>8&255)<<(o>>>8&255)|(((ha(l[r+((F&d)>>>(o&255))>>0]|0,G)|0)>>>0)/255|0)>>>(q&255)<<(o&255)|f|(((ha(l[v+((u&F)>>>(o>>>16&255))>>0]|0,I)|0)>>>0)/255|0)>>>(q>>>16&255)<<(o>>>16&255))&65535;j[i>>1]=F;i=(g|0)<0;p=p+1|0;if((p|0)>=(x|0))break;else{g=(i?D:C)+g|0;n=(i?B:A)+n|0;h=h+(i?z:y)|0}}return}default:{i=(d-b|0)<0?0-(d-b)|0:d-b|0;h=(e-c|0)<0?0-(e-c)|0:e-c|0;if((i|0)<(h|0)){g=(i<<1)-h|0;v=i<<1;n=i-h|0;i=h;h=0;p=1}else{g=(h<<1)-i|0;v=h<<1;n=h-i|0;h=1;p=0}u=n<<1;t=(d|0)<(b|0)?0-h|0:h;s=(d|0)<(b|0)?-1:1;r=(e|0)<(c|0)?0-p|0:p;q=(e|0)<(c|0)?-1:1;o=i+((o|0)!=0&1)|0;if((o|0)<=0)return;d=k[a+20>>2]|0;e=k[a+16>>2]|0;p=k[F+28>>2]|0;f=k[F+32>>2]|0;f=(H>>>(p>>>8&255)<<(f>>>8&255)|G>>>(p&255)<<(f&255)|k[F+24>>2]|I>>>(p>>>16&255)<<(f>>>16&255))&65535;p=0;n=b;h=c;while(1){i=d+(ha(e,h)|0)+(n<<1)|0;j[i>>1]=f;i=(g|0)<0;p=p+1|0;if((p|0)>=(o|0))break;else{g=(i?v:u)+g|0;n=(i?t:s)+n|0;h=h+(i?r:q)|0}}return}}}function Ndb(a,b,c,d,e,f,g,h,i,n,o){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;n=n|0;o=o|0;var p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;if((f+-1|0)>>>0<2){p=n&255;z=((ha(n&255,i&255)|0)>>>0)/255|0;y=((ha(n&255,h&255)|0)>>>0)/255|0;x=((ha(n&255,g&255)|0)>>>0)/255|0}else{p=n&255;z=i&255;y=h&255;x=g&255}w=p^255;if((e|0)==(c|0))switch(f|0){case 1:{i=(k[a+20>>2]|0)+((ha((k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0,e)|0)<<1)|0;if((d|0)<(b|0)){h=b-d+((o|0)!=0&1)|0;i=o|0?i+(d<<1)|0:i+(d<<1)+2|0}else{h=d-b+((o|0)!=0&1)|0;i=i+(b<<1)|0}if(!h)return;while(1){h=h+-1|0;c=m[i>>1]|0;c=(((((ha(l[594694+(c>>>5&31)>>0]|0,w)|0)>>>0)/255|0)+y|0)>>>3<<5|((((ha(l[594694+(c>>>10&31)>>0]|0,w)|0)>>>0)/255|0)+x|0)>>>3<<10|((((ha(l[594694+(c&31)>>0]|0,w)|0)>>>0)/255|0)+z|0)>>>3)&65535;j[i>>1]=c;if(!h)break;else i=i+2|0}return}case 2:{i=(k[a+20>>2]|0)+((ha((k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0,e)|0)<<1)|0;if((d|0)<(b|0)){h=b-d+((o|0)!=0&1)|0;i=o|0?i+(d<<1)|0:i+(d<<1)+2|0}else{h=d-b+((o|0)!=0&1)|0;i=i+(b<<1)|0}if(!h)return;while(1){h=h+-1|0;c=m[i>>1]|0;b=(l[594694+(c>>>10&31)>>0]|0)+x|0;o=(l[594694+(c>>>5&31)>>0]|0)+y|0;c=(l[594694+(c&31)>>0]|0)+z|0;j[i>>1]=(o>>>0>255?255:o)>>>3<<5|(b>>>0>255?255:b)>>>3<<10|(c>>>0>255?255:c)>>>3;if(!h)break;else i=i+2|0}return}case 4:{i=(k[a+20>>2]|0)+((ha((k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0,e)|0)<<1)|0;if((d|0)<(b|0)){h=b-d+((o|0)!=0&1)|0;i=o|0?i+(d<<1)|0:i+(d<<1)+2|0}else{h=d-b+((o|0)!=0&1)|0;i=i+(b<<1)|0}if(!h)return;while(1){h=h+-1|0;c=m[i>>1]|0;c=((((ha(l[594694+(c>>>5&31)>>0]|0,y)|0)>>>0)/255|0)>>>3<<5|(((ha(l[594694+(c>>>10&31)>>0]|0,x)|0)>>>0)/255|0)>>>3<<10|(((ha(l[594694+(c&31)>>0]|0,z)|0)>>>0)/255|0)>>>3)&65535;j[i>>1]=c;if(!h)break;else i=i+2|0}return}default:{i=(k[a+20>>2]|0)+((ha((k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0,e)|0)<<1)|0;if((d|0)<(b|0)){h=b-d+((o|0)!=0&1)|0;i=o|0?i+(d<<1)|0:i+(d<<1)+2|0}else{h=d-b+((o|0)!=0&1)|0;i=i+(b<<1)|0}if(!h)return;n=(y>>>3<<5|z>>>3|x>>>3<<10)&65535;while(1){h=h+-1|0;j[i>>1]=n;if(!h)break;else i=i+2|0}return}}if((d|0)==(b|0))switch(f|0){case 1:{n=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){i=i+((ha(n,e)|0)<<1)+(d<<1)|0;h=c-e+((o|0)!=0&1)|0;i=o|0?i:i+(n<<1)|0}else{h=e-c+((o|0)!=0&1)|0;i=i+((ha(n,c)|0)<<1)+(d<<1)|0}if(!h)return;while(1){h=h+-1|0;c=m[i>>1]|0;c=(((((ha(l[594694+(c>>>5&31)>>0]|0,w)|0)>>>0)/255|0)+y|0)>>>3<<5|((((ha(l[594694+(c>>>10&31)>>0]|0,w)|0)>>>0)/255|0)+x|0)>>>3<<10|((((ha(l[594694+(c&31)>>0]|0,w)|0)>>>0)/255|0)+z|0)>>>3)&65535;j[i>>1]=c;if(!h)break;else i=i+(n<<1)|0}return}case 2:{n=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){i=i+((ha(n,e)|0)<<1)+(d<<1)|0;h=c-e+((o|0)!=0&1)|0;i=o|0?i:i+(n<<1)|0}else{h=e-c+((o|0)!=0&1)|0;i=i+((ha(n,c)|0)<<1)+(d<<1)|0}if(!h)return;while(1){h=h+-1|0;c=m[i>>1]|0;b=(l[594694+(c>>>10&31)>>0]|0)+x|0;o=(l[594694+(c>>>5&31)>>0]|0)+y|0;c=(l[594694+(c&31)>>0]|0)+z|0;j[i>>1]=(o>>>0>255?255:o)>>>3<<5|(b>>>0>255?255:b)>>>3<<10|(c>>>0>255?255:c)>>>3;if(!h)break;else i=i+(n<<1)|0}return}case 4:{n=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){i=i+((ha(n,e)|0)<<1)+(d<<1)|0;h=c-e+((o|0)!=0&1)|0;i=o|0?i:i+(n<<1)|0}else{h=e-c+((o|0)!=0&1)|0;i=i+((ha(n,c)|0)<<1)+(d<<1)|0}if(!h)return;while(1){h=h+-1|0;c=m[i>>1]|0;c=((((ha(l[594694+(c>>>5&31)>>0]|0,y)|0)>>>0)/255|0)>>>3<<5|(((ha(l[594694+(c>>>10&31)>>0]|0,x)|0)>>>0)/255|0)>>>3<<10|(((ha(l[594694+(c&31)>>0]|0,z)|0)>>>0)/255|0)>>>3)&65535;j[i>>1]=c;if(!h)break;else i=i+(n<<1)|0}return}default:{g=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){i=i+((ha(g,e)|0)<<1)+(d<<1)|0;h=c-e+((o|0)!=0&1)|0;i=o|0?i:i+(g<<1)|0}else{h=e-c+((o|0)!=0&1)|0;i=i+((ha(g,c)|0)<<1)+(d<<1)|0}if(!h)return;n=(y>>>3<<5|z>>>3|x>>>3<<10)&65535;while(1){h=h+-1|0;j[i>>1]=n;if(!h)break;else i=i+(g<<1)|0}return}}if((((b-d|0)<0?0-(b-d)|0:b-d|0)|0)==(((c-e|0)<0?0-(c-e)|0:c-e|0)|0))switch(f|0){case 1:{h=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){a=i+((ha(h,e)|0)<<1)+(d<<1)|0;h=h+((d|0)>(b|0)?-1:1)|0;i=c-e|0;n=h;h=(o|0)==0?a+(h<<1)|0:a}else{a=i+((ha(h,c)|0)<<1)+(b<<1)|0;i=e-c|0;n=h+((d|0)<(b|0)?-1:1)|0;h=a}i=i+((o|0)!=0&1)|0;if(!i)return;while(1){i=i+-1|0;c=m[h>>1]|0;c=(((((ha(l[594694+(c>>>5&31)>>0]|0,w)|0)>>>0)/255|0)+y|0)>>>3<<5|((((ha(l[594694+(c>>>10&31)>>0]|0,w)|0)>>>0)/255|0)+x|0)>>>3<<10|((((ha(l[594694+(c&31)>>0]|0,w)|0)>>>0)/255|0)+z|0)>>>3)&65535;j[h>>1]=c;if(!i)break;else h=h+(n<<1)|0}return}case 2:{h=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){a=i+((ha(h,e)|0)<<1)+(d<<1)|0;h=h+((d|0)>(b|0)?-1:1)|0;i=c-e|0;n=h;h=(o|0)==0?a+(h<<1)|0:a}else{a=i+((ha(h,c)|0)<<1)+(b<<1)|0;i=e-c|0;n=h+((d|0)<(b|0)?-1:1)|0;h=a}i=i+((o|0)!=0&1)|0;if(!i)return;while(1){i=i+-1|0;c=m[h>>1]|0;b=(l[594694+(c>>>10&31)>>0]|0)+x|0;o=(l[594694+(c>>>5&31)>>0]|0)+y|0;c=(l[594694+(c&31)>>0]|0)+z|0;j[h>>1]=(o>>>0>255?255:o)>>>3<<5|(b>>>0>255?255:b)>>>3<<10|(c>>>0>255?255:c)>>>3;if(!i)break;else h=h+(n<<1)|0}return}case 4:{h=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){a=i+((ha(h,e)|0)<<1)+(d<<1)|0;h=h+((d|0)>(b|0)?-1:1)|0;i=c-e|0;n=h;h=(o|0)==0?a+(h<<1)|0:a}else{a=i+((ha(h,c)|0)<<1)+(b<<1)|0;i=e-c|0;n=h+((d|0)<(b|0)?-1:1)|0;h=a}i=i+((o|0)!=0&1)|0;if(!i)return;while(1){i=i+-1|0;c=m[h>>1]|0;c=((((ha(l[594694+(c>>>5&31)>>0]|0,y)|0)>>>0)/255|0)>>>3<<5|(((ha(l[594694+(c>>>10&31)>>0]|0,x)|0)>>>0)/255|0)>>>3<<10|(((ha(l[594694+(c&31)>>0]|0,z)|0)>>>0)/255|0)>>>3)&65535;j[h>>1]=c;if(!i)break;else h=h+(n<<1)|0}return}default:{n=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){i=i+((ha(n,e)|0)<<1)+(d<<1)|0;b=n+((d|0)>(b|0)?-1:1)|0;h=c-e|0;g=b;i=(o|0)==0?i+(b<<1)|0:i}else{i=i+((ha(n,c)|0)<<1)+(b<<1)|0;h=e-c|0;g=n+((d|0)<(b|0)?-1:1)|0}h=h+((o|0)!=0&1)|0;if(!h)return;n=(y>>>3<<5|z>>>3|x>>>3<<10)&65535;while(1){h=h+-1|0;j[i>>1]=n;if(!h)break;else i=i+(g<<1)|0}return}}switch(f|0){case 1:{i=(d-b|0)<0?0-(d-b)|0:d-b|0;h=(e-c|0)<0?0-(e-c)|0:e-c|0;if((i|0)<(h|0)){p=(i<<1)-h|0;v=i<<1;n=i-h|0;i=h;h=0;g=1}else{p=(h<<1)-i|0;v=h<<1;n=h-i|0;h=1;g=0}u=n<<1;t=(d|0)<(b|0)?0-h|0:h;s=(d|0)<(b|0)?-1:1;r=(e|0)<(c|0)?0-g|0:g;q=(e|0)<(c|0)?-1:1;d=i+((o|0)!=0&1)|0;if((d|0)<=0)return;e=k[a+20>>2]|0;f=k[a+16>>2]|0;g=p;p=0;n=b;h=c;while(1){i=e+(ha(f,h)|0)+(n<<1)|0;c=m[i>>1]|0;c=(((((ha(l[594694+(c>>>5&31)>>0]|0,w)|0)>>>0)/255|0)+y|0)>>>3<<5|((((ha(l[594694+(c>>>10&31)>>0]|0,w)|0)>>>0)/255|0)+x|0)>>>3<<10|((((ha(l[594694+(c&31)>>0]|0,w)|0)>>>0)/255|0)+z|0)>>>3)&65535;j[i>>1]=c;i=(g|0)<0;p=p+1|0;if((p|0)>=(d|0))break;else{g=(i?v:u)+g|0;n=(i?t:s)+n|0;h=h+(i?r:q)|0}}return}case 2:{i=(d-b|0)<0?0-(d-b)|0:d-b|0;h=(e-c|0)<0?0-(e-c)|0:e-c|0;if((i|0)<(h|0)){p=(i<<1)-h|0;v=i<<1;n=i-h|0;i=h;h=0;g=1}else{p=(h<<1)-i|0;v=h<<1;n=h-i|0;h=1;g=0}u=n<<1;t=(d|0)<(b|0)?0-h|0:h;s=(d|0)<(b|0)?-1:1;r=(e|0)<(c|0)?0-g|0:g;q=(e|0)<(c|0)?-1:1;d=i+((o|0)!=0&1)|0;if((d|0)<=0)return;e=k[a+20>>2]|0;f=k[a+16>>2]|0;g=p;p=0;n=b;h=c;while(1){i=e+(ha(f,h)|0)+(n<<1)|0;c=m[i>>1]|0;b=(l[594694+(c>>>10&31)>>0]|0)+x|0;o=(l[594694+(c>>>5&31)>>0]|0)+y|0;c=(l[594694+(c&31)>>0]|0)+z|0;j[i>>1]=(o>>>0>255?255:o)>>>3<<5|(b>>>0>255?255:b)>>>3<<10|(c>>>0>255?255:c)>>>3;i=(g|0)<0;p=p+1|0;if((p|0)>=(d|0))break;else{g=(i?v:u)+g|0;n=(i?t:s)+n|0;h=h+(i?r:q)|0}}return}case 4:{i=(d-b|0)<0?0-(d-b)|0:d-b|0;h=(e-c|0)<0?0-(e-c)|0:e-c|0;if((i|0)<(h|0)){p=(i<<1)-h|0;v=i<<1;n=i-h|0;i=h;h=0;g=1}else{p=(h<<1)-i|0;v=h<<1;n=h-i|0;h=1;g=0}u=n<<1;t=(d|0)<(b|0)?0-h|0:h;s=(d|0)<(b|0)?-1:1;r=(e|0)<(c|0)?0-g|0:g;q=(e|0)<(c|0)?-1:1;d=i+((o|0)!=0&1)|0;if((d|0)<=0)return;e=k[a+20>>2]|0;f=k[a+16>>2]|0;g=p;p=0;n=b;h=c;while(1){i=e+(ha(f,h)|0)+(n<<1)|0;c=m[i>>1]|0;c=((((ha(l[594694+(c>>>5&31)>>0]|0,y)|0)>>>0)/255|0)>>>3<<5|(((ha(l[594694+(c>>>10&31)>>0]|0,x)|0)>>>0)/255|0)>>>3<<10|(((ha(l[594694+(c&31)>>0]|0,z)|0)>>>0)/255|0)>>>3)&65535;j[i>>1]=c;i=(g|0)<0;p=p+1|0;if((p|0)>=(d|0))break;else{g=(i?v:u)+g|0;n=(i?t:s)+n|0;h=h+(i?r:q)|0}}return}default:{i=(d-b|0)<0?0-(d-b)|0:d-b|0;h=(e-c|0)<0?0-(e-c)|0:e-c|0;if((i|0)<(h|0)){g=(i<<1)-h|0;w=i<<1;n=i-h|0;i=h;h=0;p=1}else{g=(h<<1)-i|0;w=h<<1;n=h-i|0;h=1;p=0}v=n<<1;u=(d|0)<(b|0)?0-h|0:h;t=(d|0)<(b|0)?-1:1;s=(e|0)<(c|0)?0-p|0:p;r=(e|0)<(c|0)?-1:1;q=i+((o|0)!=0&1)|0;if((q|0)<=0)return;d=k[a+20>>2]|0;e=k[a+16>>2]|0;f=(y>>>3<<5|z>>>3|x>>>3<<10)&65535;p=0;n=b;h=c;while(1){i=d+(ha(e,h)|0)+(n<<1)|0;j[i>>1]=f;i=(g|0)<0;p=p+1|0;if((p|0)>=(q|0))break;else{g=(i?w:v)+g|0;n=(i?u:t)+n|0;h=h+(i?s:r)|0}}return}}}function Odb(a,b,c,d,e,f,g,h,i,j,m){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;if((f+-1|0)>>>0<2){u=j&255;x=((ha(j&255,i&255)|0)>>>0)/255|0;w=((ha(j&255,h&255)|0)>>>0)/255|0;v=((ha(j&255,g&255)|0)>>>0)/255|0}else{u=j&255;x=i&255;w=h&255;v=g&255}t=u^255;if((e|0)==(c|0))switch(f|0){case 1:{i=(k[a+20>>2]|0)+((ha((k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0,e)|0)<<2)|0;if((d|0)<(b|0)){h=b-d+((m|0)!=0&1)|0;i=m|0?i+(d<<2)|0:i+(d<<2)+4|0}else{h=d-b+((m|0)!=0&1)|0;i=i+(b<<2)|0}if(!h)return;while(1){h=h+-1|0;c=k[i>>2]|0;c=(((ha(c>>>24,t)|0)>>>0)/255|0)+u<<24|(((ha(c&255,t)|0)>>>0)/255|0)+x|(((ha(c>>>16&255,t)|0)>>>0)/255|0)+v<<16|(((ha(c>>>8&255,t)|0)>>>0)/255|0)+w<<8;k[i>>2]=c;if(!h)break;else i=i+4|0}return}case 2:{i=(k[a+20>>2]|0)+((ha((k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0,e)|0)<<2)|0;if((d|0)<(b|0)){h=b-d+((m|0)!=0&1)|0;i=m|0?i+(d<<2)|0:i+(d<<2)+4|0}else{h=d-b+((m|0)!=0&1)|0;i=i+(b<<2)|0}if(!h)return;while(1){h=h+-1|0;b=k[i>>2]|0;m=(b>>>16&255)+v|0;c=(b>>>8&255)+w|0;a=(b&255)+x|0;k[i>>2]=(a>>>0>255?255:a)|b&-16777216|(m>>>0>255?255:m)<<16|(c>>>0>255?255:c)<<8;if(!h)break;else i=i+4|0}return}case 4:{i=(k[a+20>>2]|0)+((ha((k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0,e)|0)<<2)|0;if((d|0)<(b|0)){h=b-d+((m|0)!=0&1)|0;i=m|0?i+(d<<2)|0:i+(d<<2)+4|0}else{h=d-b+((m|0)!=0&1)|0;i=i+(b<<2)|0}if(!h)return;while(1){h=h+-1|0;c=k[i>>2]|0;c=((ha(c&255,x)|0)>>>0)/255|0|c&-16777216|(((ha(c>>>16&255,v)|0)>>>0)/255|0)<<16|(((ha(c>>>8&255,w)|0)>>>0)/255|0)<<8;k[i>>2]=c;if(!h)break;else i=i+4|0}return}default:{i=(k[a+20>>2]|0)+((ha((k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0,e)|0)<<2)|0;if((d|0)<(b|0)){h=b-d+((m|0)!=0&1)|0;i=m|0?i+(d<<2)|0:i+(d<<2)+4|0}else{h=d-b+((m|0)!=0&1)|0;i=i+(b<<2)|0}if(!h)return;j=x|u<<24|w<<8|v<<16;while(1){h=h+-1|0;k[i>>2]=j;if(!h)break;else i=i+4|0}return}}if((d|0)==(b|0))switch(f|0){case 1:{j=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){i=i+((ha(j,e)|0)<<2)+(d<<2)|0;h=c-e+((m|0)!=0&1)|0;i=m|0?i:i+(j<<2)|0}else{h=e-c+((m|0)!=0&1)|0;i=i+((ha(j,c)|0)<<2)+(d<<2)|0}if(!h)return;while(1){h=h+-1|0;c=k[i>>2]|0;c=(((ha(c>>>24,t)|0)>>>0)/255|0)+u<<24|(((ha(c&255,t)|0)>>>0)/255|0)+x|(((ha(c>>>16&255,t)|0)>>>0)/255|0)+v<<16|(((ha(c>>>8&255,t)|0)>>>0)/255|0)+w<<8;k[i>>2]=c;if(!h)break;else i=i+(j<<2)|0}return}case 2:{j=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){i=i+((ha(j,e)|0)<<2)+(d<<2)|0;h=c-e+((m|0)!=0&1)|0;i=m|0?i:i+(j<<2)|0}else{h=e-c+((m|0)!=0&1)|0;i=i+((ha(j,c)|0)<<2)+(d<<2)|0}if(!h)return;while(1){h=h+-1|0;b=k[i>>2]|0;m=(b>>>16&255)+v|0;c=(b>>>8&255)+w|0;a=(b&255)+x|0;k[i>>2]=(a>>>0>255?255:a)|b&-16777216|(m>>>0>255?255:m)<<16|(c>>>0>255?255:c)<<8;if(!h)break;else i=i+(j<<2)|0}return}case 4:{j=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){i=i+((ha(j,e)|0)<<2)+(d<<2)|0;h=c-e+((m|0)!=0&1)|0;i=m|0?i:i+(j<<2)|0}else{h=e-c+((m|0)!=0&1)|0;i=i+((ha(j,c)|0)<<2)+(d<<2)|0}if(!h)return;while(1){h=h+-1|0;c=k[i>>2]|0;c=((ha(c&255,x)|0)>>>0)/255|0|c&-16777216|(((ha(c>>>16&255,v)|0)>>>0)/255|0)<<16|(((ha(c>>>8&255,w)|0)>>>0)/255|0)<<8;k[i>>2]=c;if(!h)break;else i=i+(j<<2)|0}return}default:{g=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){i=i+((ha(g,e)|0)<<2)+(d<<2)|0;h=c-e+((m|0)!=0&1)|0;i=m|0?i:i+(g<<2)|0}else{h=e-c+((m|0)!=0&1)|0;i=i+((ha(g,c)|0)<<2)+(d<<2)|0}if(!h)return;j=x|u<<24|w<<8|v<<16;while(1){h=h+-1|0;k[i>>2]=j;if(!h)break;else i=i+(g<<2)|0}return}}if((((b-d|0)<0?0-(b-d)|0:b-d|0)|0)==(((c-e|0)<0?0-(c-e)|0:c-e|0)|0))switch(f|0){case 1:{h=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){a=i+((ha(h,e)|0)<<2)+(d<<2)|0;h=h+((d|0)>(b|0)?-1:1)|0;i=c-e|0;j=h;h=(m|0)==0?a+(h<<2)|0:a}else{a=i+((ha(h,c)|0)<<2)+(b<<2)|0;i=e-c|0;j=h+((d|0)<(b|0)?-1:1)|0;h=a}i=i+((m|0)!=0&1)|0;if(!i)return;while(1){i=i+-1|0;c=k[h>>2]|0;c=(((ha(c>>>24,t)|0)>>>0)/255|0)+u<<24|(((ha(c&255,t)|0)>>>0)/255|0)+x|(((ha(c>>>16&255,t)|0)>>>0)/255|0)+v<<16|(((ha(c>>>8&255,t)|0)>>>0)/255|0)+w<<8;k[h>>2]=c;if(!i)break;else h=h+(j<<2)|0}return}case 2:{h=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){a=i+((ha(h,e)|0)<<2)+(d<<2)|0;h=h+((d|0)>(b|0)?-1:1)|0;i=c-e|0;j=h;h=(m|0)==0?a+(h<<2)|0:a}else{a=i+((ha(h,c)|0)<<2)+(b<<2)|0;i=e-c|0;j=h+((d|0)<(b|0)?-1:1)|0;h=a}i=i+((m|0)!=0&1)|0;if(!i)return;while(1){i=i+-1|0;b=k[h>>2]|0;m=(b>>>16&255)+v|0;c=(b>>>8&255)+w|0;a=(b&255)+x|0;k[h>>2]=(a>>>0>255?255:a)|b&-16777216|(m>>>0>255?255:m)<<16|(c>>>0>255?255:c)<<8;if(!i)break;else h=h+(j<<2)|0}return}case 4:{h=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){a=i+((ha(h,e)|0)<<2)+(d<<2)|0;h=h+((d|0)>(b|0)?-1:1)|0;i=c-e|0;j=h;h=(m|0)==0?a+(h<<2)|0:a}else{a=i+((ha(h,c)|0)<<2)+(b<<2)|0;i=e-c|0;j=h+((d|0)<(b|0)?-1:1)|0;h=a}i=i+((m|0)!=0&1)|0;if(!i)return;while(1){i=i+-1|0;c=k[h>>2]|0;c=((ha(c&255,x)|0)>>>0)/255|0|c&-16777216|(((ha(c>>>16&255,v)|0)>>>0)/255|0)<<16|(((ha(c>>>8&255,w)|0)>>>0)/255|0)<<8;k[h>>2]=c;if(!i)break;else h=h+(j<<2)|0}return}default:{j=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){i=i+((ha(j,e)|0)<<2)+(d<<2)|0;b=j+((d|0)>(b|0)?-1:1)|0;h=c-e|0;g=b;i=(m|0)==0?i+(b<<2)|0:i}else{i=i+((ha(j,c)|0)<<2)+(b<<2)|0;h=e-c|0;g=j+((d|0)<(b|0)?-1:1)|0}h=h+((m|0)!=0&1)|0;if(!h)return;j=x|u<<24|w<<8|v<<16;while(1){h=h+-1|0;k[i>>2]=j;if(!h)break;else i=i+(g<<2)|0}return}}switch(f|0){case 1:{i=(d-b|0)<0?0-(d-b)|0:d-b|0;h=(e-c|0)<0?0-(e-c)|0:e-c|0;if((i|0)<(h|0)){f=(i<<1)-h|0;s=i<<1;j=i-h|0;i=h;h=0;g=1}else{f=(h<<1)-i|0;s=h<<1;j=h-i|0;h=1;g=0}r=j<<1;q=(d|0)<(b|0)?0-h|0:h;p=(d|0)<(b|0)?-1:1;o=(e|0)<(c|0)?0-g|0:g;n=(e|0)<(c|0)?-1:1;d=i+((m|0)!=0&1)|0;if((d|0)<=0)return;e=k[a+20>>2]|0;g=f;f=0;j=b;h=c;while(1){i=e+(ha(k[a+16>>2]|0,h)|0)+(j<<2)|0;c=k[i>>2]|0;c=(((ha(c>>>24,t)|0)>>>0)/255|0)+u<<24|(((ha(c&255,t)|0)>>>0)/255|0)+x|(((ha(c>>>16&255,t)|0)>>>0)/255|0)+v<<16|(((ha(c>>>8&255,t)|0)>>>0)/255|0)+w<<8;k[i>>2]=c;i=(g|0)<0;f=f+1|0;if((f|0)>=(d|0))break;else{g=(i?s:r)+g|0;j=(i?q:p)+j|0;h=h+(i?o:n)|0}}return}case 2:{i=(d-b|0)<0?0-(d-b)|0:d-b|0;h=(e-c|0)<0?0-(e-c)|0:e-c|0;if((i|0)<(h|0)){f=(i<<1)-h|0;s=i<<1;j=i-h|0;i=h;h=0;g=1}else{f=(h<<1)-i|0;s=h<<1;j=h-i|0;h=1;g=0}r=j<<1;q=(d|0)<(b|0)?0-h|0:h;p=(d|0)<(b|0)?-1:1;o=(e|0)<(c|0)?0-g|0:g;n=(e|0)<(c|0)?-1:1;d=i+((m|0)!=0&1)|0;if((d|0)<=0)return;e=k[a+20>>2]|0;g=f;f=0;j=b;h=c;while(1){i=e+(ha(k[a+16>>2]|0,h)|0)+(j<<2)|0;b=k[i>>2]|0;m=(b>>>16&255)+v|0;c=(b>>>8&255)+w|0;u=(b&255)+x|0;k[i>>2]=(u>>>0>255?255:u)|b&-16777216|(m>>>0>255?255:m)<<16|(c>>>0>255?255:c)<<8;i=(g|0)<0;f=f+1|0;if((f|0)>=(d|0))break;else{g=(i?s:r)+g|0;j=(i?q:p)+j|0;h=h+(i?o:n)|0}}return}case 4:{i=(d-b|0)<0?0-(d-b)|0:d-b|0;h=(e-c|0)<0?0-(e-c)|0:e-c|0;if((i|0)<(h|0)){f=(i<<1)-h|0;s=i<<1;j=i-h|0;i=h;h=0;g=1}else{f=(h<<1)-i|0;s=h<<1;j=h-i|0;h=1;g=0}r=j<<1;q=(d|0)<(b|0)?0-h|0:h;p=(d|0)<(b|0)?-1:1;o=(e|0)<(c|0)?0-g|0:g;n=(e|0)<(c|0)?-1:1;d=i+((m|0)!=0&1)|0;if((d|0)<=0)return;e=k[a+20>>2]|0;g=f;f=0;j=b;h=c;while(1){i=e+(ha(k[a+16>>2]|0,h)|0)+(j<<2)|0;c=k[i>>2]|0;c=((ha(c&255,x)|0)>>>0)/255|0|c&-16777216|(((ha(c>>>16&255,v)|0)>>>0)/255|0)<<16|(((ha(c>>>8&255,w)|0)>>>0)/255|0)<<8;k[i>>2]=c;i=(g|0)<0;f=f+1|0;if((f|0)>=(d|0))break;else{g=(i?s:r)+g|0;j=(i?q:p)+j|0;h=h+(i?o:n)|0}}return}default:{i=(d-b|0)<0?0-(d-b)|0:d-b|0;h=(e-c|0)<0?0-(e-c)|0:e-c|0;if((i|0)<(h|0)){g=(i<<1)-h|0;t=i<<1;j=i-h|0;i=h;h=0;f=1}else{g=(h<<1)-i|0;t=h<<1;j=h-i|0;h=1;f=0}s=j<<1;r=(d|0)<(b|0)?0-h|0:h;q=(d|0)<(b|0)?-1:1;p=(e|0)<(c|0)?0-f|0:f;o=(e|0)<(c|0)?-1:1;n=i+((m|0)!=0&1)|0;if((n|0)<=0)return;d=k[a+20>>2]|0;e=x|u<<24|w<<8|v<<16;f=0;j=b;h=c;while(1){i=d+(ha(k[a+16>>2]|0,h)|0)+(j<<2)|0;k[i>>2]=e;i=(g|0)<0;f=f+1|0;if((f|0)>=(n|0))break;else{g=(i?t:s)+g|0;j=(i?r:q)+j|0;h=h+(i?p:o)|0}}return}}}function Pdb(a,b,c,d,e,f,g,h,i,j,m){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;if((f+-1|0)>>>0<2){n=j&255;w=((ha(j&255,i&255)|0)>>>0)/255|0;v=((ha(j&255,h&255)|0)>>>0)/255|0;u=((ha(j&255,g&255)|0)>>>0)/255|0}else{n=j&255;w=i&255;v=h&255;u=g&255}t=n^255;if((e|0)==(c|0))switch(f|0){case 1:{i=(k[a+20>>2]|0)+((ha((k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0,e)|0)<<2)|0;if((d|0)<(b|0)){h=b-d+((m|0)!=0&1)|0;i=m|0?i+(d<<2)|0:i+(d<<2)+4|0}else{h=d-b+((m|0)!=0&1)|0;i=i+(b<<2)|0}if(!h)return;while(1){h=h+-1|0;c=k[i>>2]|0;c=(((ha(c>>>8&255,t)|0)>>>0)/255|0)+v<<8|(((ha(c&255,t)|0)>>>0)/255|0)+w|(((ha(c>>>16&255,t)|0)>>>0)/255|0)+u<<16;k[i>>2]=c;if(!h)break;else i=i+4|0}return}case 2:{i=(k[a+20>>2]|0)+((ha((k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0,e)|0)<<2)|0;if((d|0)<(b|0)){h=b-d+((m|0)!=0&1)|0;i=m|0?i+(d<<2)|0:i+(d<<2)+4|0}else{h=d-b+((m|0)!=0&1)|0;i=i+(b<<2)|0}if(!h)return;while(1){h=h+-1|0;m=k[i>>2]|0;c=(m>>>16&255)+u|0;b=(m>>>8&255)+v|0;m=(m&255)+w|0;k[i>>2]=(b>>>0>255?255:b)<<8|(m>>>0>255?255:m)|(c>>>0>255?255:c)<<16;if(!h)break;else i=i+4|0}return}case 4:{i=(k[a+20>>2]|0)+((ha((k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0,e)|0)<<2)|0;if((d|0)<(b|0)){h=b-d+((m|0)!=0&1)|0;i=m|0?i+(d<<2)|0:i+(d<<2)+4|0}else{h=d-b+((m|0)!=0&1)|0;i=i+(b<<2)|0}if(!h)return;while(1){h=h+-1|0;c=k[i>>2]|0;c=(((ha(c>>>8&255,v)|0)>>>0)/255|0)<<8|(((ha(c&255,w)|0)>>>0)/255|0)|(((ha(c>>>16&255,u)|0)>>>0)/255|0)<<16;k[i>>2]=c;if(!h)break;else i=i+4|0}return}default:{i=(k[a+20>>2]|0)+((ha((k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0,e)|0)<<2)|0;if((d|0)<(b|0)){h=b-d+((m|0)!=0&1)|0;i=m|0?i+(d<<2)|0:i+(d<<2)+4|0}else{h=d-b+((m|0)!=0&1)|0;i=i+(b<<2)|0}if(!h)return;j=v<<8|w|u<<16;while(1){h=h+-1|0;k[i>>2]=j;if(!h)break;else i=i+4|0}return}}if((d|0)==(b|0))switch(f|0){case 1:{j=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){i=i+((ha(j,e)|0)<<2)+(d<<2)|0;h=c-e+((m|0)!=0&1)|0;i=m|0?i:i+(j<<2)|0}else{h=e-c+((m|0)!=0&1)|0;i=i+((ha(j,c)|0)<<2)+(d<<2)|0}if(!h)return;while(1){h=h+-1|0;c=k[i>>2]|0;c=(((ha(c>>>8&255,t)|0)>>>0)/255|0)+v<<8|(((ha(c&255,t)|0)>>>0)/255|0)+w|(((ha(c>>>16&255,t)|0)>>>0)/255|0)+u<<16;k[i>>2]=c;if(!h)break;else i=i+(j<<2)|0}return}case 2:{j=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){i=i+((ha(j,e)|0)<<2)+(d<<2)|0;h=c-e+((m|0)!=0&1)|0;i=m|0?i:i+(j<<2)|0}else{h=e-c+((m|0)!=0&1)|0;i=i+((ha(j,c)|0)<<2)+(d<<2)|0}if(!h)return;while(1){h=h+-1|0;m=k[i>>2]|0;c=(m>>>16&255)+u|0;b=(m>>>8&255)+v|0;m=(m&255)+w|0;k[i>>2]=(b>>>0>255?255:b)<<8|(m>>>0>255?255:m)|(c>>>0>255?255:c)<<16;if(!h)break;else i=i+(j<<2)|0}return}case 4:{j=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){i=i+((ha(j,e)|0)<<2)+(d<<2)|0;h=c-e+((m|0)!=0&1)|0;i=m|0?i:i+(j<<2)|0}else{h=e-c+((m|0)!=0&1)|0;i=i+((ha(j,c)|0)<<2)+(d<<2)|0}if(!h)return;while(1){h=h+-1|0;c=k[i>>2]|0;c=(((ha(c>>>8&255,v)|0)>>>0)/255|0)<<8|(((ha(c&255,w)|0)>>>0)/255|0)|(((ha(c>>>16&255,u)|0)>>>0)/255|0)<<16;k[i>>2]=c;if(!h)break;else i=i+(j<<2)|0}return}default:{g=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){i=i+((ha(g,e)|0)<<2)+(d<<2)|0;h=c-e+((m|0)!=0&1)|0;i=m|0?i:i+(g<<2)|0}else{h=e-c+((m|0)!=0&1)|0;i=i+((ha(g,c)|0)<<2)+(d<<2)|0}if(!h)return;j=v<<8|w|u<<16;while(1){h=h+-1|0;k[i>>2]=j;if(!h)break;else i=i+(g<<2)|0}return}}if((((b-d|0)<0?0-(b-d)|0:b-d|0)|0)==(((c-e|0)<0?0-(c-e)|0:c-e|0)|0))switch(f|0){case 1:{h=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){a=i+((ha(h,e)|0)<<2)+(d<<2)|0;h=h+((d|0)>(b|0)?-1:1)|0;i=c-e|0;j=h;h=(m|0)==0?a+(h<<2)|0:a}else{a=i+((ha(h,c)|0)<<2)+(b<<2)|0;i=e-c|0;j=h+((d|0)<(b|0)?-1:1)|0;h=a}i=i+((m|0)!=0&1)|0;if(!i)return;while(1){i=i+-1|0;c=k[h>>2]|0;c=(((ha(c>>>8&255,t)|0)>>>0)/255|0)+v<<8|(((ha(c&255,t)|0)>>>0)/255|0)+w|(((ha(c>>>16&255,t)|0)>>>0)/255|0)+u<<16;k[h>>2]=c;if(!i)break;else h=h+(j<<2)|0}return}case 2:{h=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){a=i+((ha(h,e)|0)<<2)+(d<<2)|0;h=h+((d|0)>(b|0)?-1:1)|0;i=c-e|0;j=h;h=(m|0)==0?a+(h<<2)|0:a}else{a=i+((ha(h,c)|0)<<2)+(b<<2)|0;i=e-c|0;j=h+((d|0)<(b|0)?-1:1)|0;h=a}i=i+((m|0)!=0&1)|0;if(!i)return;while(1){i=i+-1|0;m=k[h>>2]|0;c=(m>>>16&255)+u|0;b=(m>>>8&255)+v|0;m=(m&255)+w|0;k[h>>2]=(b>>>0>255?255:b)<<8|(m>>>0>255?255:m)|(c>>>0>255?255:c)<<16;if(!i)break;else h=h+(j<<2)|0}return}case 4:{h=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){a=i+((ha(h,e)|0)<<2)+(d<<2)|0;h=h+((d|0)>(b|0)?-1:1)|0;i=c-e|0;j=h;h=(m|0)==0?a+(h<<2)|0:a}else{a=i+((ha(h,c)|0)<<2)+(b<<2)|0;i=e-c|0;j=h+((d|0)<(b|0)?-1:1)|0;h=a}i=i+((m|0)!=0&1)|0;if(!i)return;while(1){i=i+-1|0;c=k[h>>2]|0;c=(((ha(c>>>8&255,v)|0)>>>0)/255|0)<<8|(((ha(c&255,w)|0)>>>0)/255|0)|(((ha(c>>>16&255,u)|0)>>>0)/255|0)<<16;k[h>>2]=c;if(!i)break;else h=h+(j<<2)|0}return}default:{j=(k[a+16>>2]|0)/(l[(k[a+4>>2]|0)+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){i=i+((ha(j,e)|0)<<2)+(d<<2)|0;b=j+((d|0)>(b|0)?-1:1)|0;h=c-e|0;g=b;i=(m|0)==0?i+(b<<2)|0:i}else{i=i+((ha(j,c)|0)<<2)+(b<<2)|0;h=e-c|0;g=j+((d|0)<(b|0)?-1:1)|0}h=h+((m|0)!=0&1)|0;if(!h)return;j=v<<8|w|u<<16;while(1){h=h+-1|0;k[i>>2]=j;if(!h)break;else i=i+(g<<2)|0}return}}switch(f|0){case 1:{i=(d-b|0)<0?0-(d-b)|0:d-b|0;h=(e-c|0)<0?0-(e-c)|0:e-c|0;if((i|0)<(h|0)){n=(i<<1)-h|0;s=i<<1;j=i-h|0;i=h;h=0;g=1}else{n=(h<<1)-i|0;s=h<<1;j=h-i|0;h=1;g=0}r=j<<1;q=(d|0)<(b|0)?0-h|0:h;p=(d|0)<(b|0)?-1:1;o=(e|0)<(c|0)?0-g|0:g;d=(e|0)<(c|0)?-1:1;e=i+((m|0)!=0&1)|0;if((e|0)<=0)return;f=k[a+20>>2]|0;g=n;n=0;j=b;h=c;while(1){i=f+(ha(k[a+16>>2]|0,h)|0)+(j<<2)|0;c=k[i>>2]|0;c=(((ha(c>>>8&255,t)|0)>>>0)/255|0)+v<<8|(((ha(c&255,t)|0)>>>0)/255|0)+w|(((ha(c>>>16&255,t)|0)>>>0)/255|0)+u<<16;k[i>>2]=c;i=(g|0)<0;n=n+1|0;if((n|0)>=(e|0))break;else{g=(i?s:r)+g|0;j=(i?q:p)+j|0;h=h+(i?o:d)|0}}return}case 2:{i=(d-b|0)<0?0-(d-b)|0:d-b|0;h=(e-c|0)<0?0-(e-c)|0:e-c|0;if((i|0)<(h|0)){n=(i<<1)-h|0;s=i<<1;j=i-h|0;i=h;h=0;g=1}else{n=(h<<1)-i|0;s=h<<1;j=h-i|0;h=1;g=0}r=j<<1;q=(d|0)<(b|0)?0-h|0:h;p=(d|0)<(b|0)?-1:1;o=(e|0)<(c|0)?0-g|0:g;d=(e|0)<(c|0)?-1:1;e=i+((m|0)!=0&1)|0;if((e|0)<=0)return;f=k[a+20>>2]|0;g=n;n=0;j=b;h=c;while(1){i=f+(ha(k[a+16>>2]|0,h)|0)+(j<<2)|0;m=k[i>>2]|0;c=(m>>>16&255)+u|0;b=(m>>>8&255)+v|0;m=(m&255)+w|0;k[i>>2]=(b>>>0>255?255:b)<<8|(m>>>0>255?255:m)|(c>>>0>255?255:c)<<16;i=(g|0)<0;n=n+1|0;if((n|0)>=(e|0))break;else{g=(i?s:r)+g|0;j=(i?q:p)+j|0;h=h+(i?o:d)|0}}return}case 4:{i=(d-b|0)<0?0-(d-b)|0:d-b|0;h=(e-c|0)<0?0-(e-c)|0:e-c|0;if((i|0)<(h|0)){n=(i<<1)-h|0;s=i<<1;j=i-h|0;i=h;h=0;g=1}else{n=(h<<1)-i|0;s=h<<1;j=h-i|0;h=1;g=0}r=j<<1;q=(d|0)<(b|0)?0-h|0:h;p=(d|0)<(b|0)?-1:1;o=(e|0)<(c|0)?0-g|0:g;d=(e|0)<(c|0)?-1:1;e=i+((m|0)!=0&1)|0;if((e|0)<=0)return;f=k[a+20>>2]|0;g=n;n=0;j=b;h=c;while(1){i=f+(ha(k[a+16>>2]|0,h)|0)+(j<<2)|0;c=k[i>>2]|0;c=(((ha(c>>>8&255,v)|0)>>>0)/255|0)<<8|(((ha(c&255,w)|0)>>>0)/255|0)|(((ha(c>>>16&255,u)|0)>>>0)/255|0)<<16;k[i>>2]=c;i=(g|0)<0;n=n+1|0;if((n|0)>=(e|0))break;else{g=(i?s:r)+g|0;j=(i?q:p)+j|0;h=h+(i?o:d)|0}}return}default:{i=(d-b|0)<0?0-(d-b)|0:d-b|0;h=(e-c|0)<0?0-(e-c)|0:e-c|0;if((i|0)<(h|0)){g=(i<<1)-h|0;t=i<<1;j=i-h|0;i=h;h=0;n=1}else{g=(h<<1)-i|0;t=h<<1;j=h-i|0;h=1;n=0}s=j<<1;r=(d|0)<(b|0)?0-h|0:h;q=(d|0)<(b|0)?-1:1;p=(e|0)<(c|0)?0-n|0:n;o=(e|0)<(c|0)?-1:1;d=i+((m|0)!=0&1)|0;if((d|0)<=0)return;e=k[a+20>>2]|0;f=v<<8|w|u<<16;n=0;j=b;h=c;while(1){i=e+(ha(k[a+16>>2]|0,h)|0)+(j<<2)|0;k[i>>2]=f;i=(g|0)<0;n=n+1|0;if((n|0)>=(d|0))break;else{g=(i?t:s)+g|0;j=(i?r:q)+j|0;h=h+(i?p:o)|0}}return}}}function Qdb(a,b,c,d,e,f,g,h,i,j,m){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;D=k[a+4>>2]|0;if((f+-1|0)>>>0<2){z=j&255;C=((ha(j&255,i&255)|0)>>>0)/255|0;B=((ha(j&255,h&255)|0)>>>0)/255|0;A=((ha(j&255,g&255)|0)>>>0)/255|0}else{z=j&255;C=i&255;B=h&255;A=g&255}y=z^255;if((e|0)==(c|0))switch(f|0){case 1:{i=(k[a+20>>2]|0)+((ha((k[a+16>>2]|0)/(l[D+9>>0]|0|0)|0,e)|0)<<2)|0;if((d|0)<(b|0)){h=b-d+((m|0)!=0&1)|0;i=m|0?i+(d<<2)|0:i+(d<<2)+4|0}else{h=d-b+((m|0)!=0&1)|0;i=i+(b<<2)|0}if(!h)return;d=k[D+32>>2]|0;m=k[D+28>>2]|0;j=k[124356+((m&255)<<2)>>2]|0;g=k[124356+((m>>>8&255)<<2)>>2]|0;f=k[124356+((m>>>16&255)<<2)>>2]|0;e=k[124356+(m>>>24<<2)>>2]|0;while(1){h=h+-1|0;c=k[i>>2]|0;c=((((ha(l[g+((k[D+16>>2]&c)>>>(d>>>8&255))>>0]|0,y)|0)>>>0)/255|0)+B|0)>>>(m>>>8&255)<<(d>>>8&255)|((((ha(l[j+((k[D+12>>2]&c)>>>(d&255))>>0]|0,y)|0)>>>0)/255|0)+A|0)>>>(m&255)<<(d&255)|((((ha(l[f+((k[D+20>>2]&c)>>>(d>>>16&255))>>0]|0,y)|0)>>>0)/255|0)+C|0)>>>(m>>>16&255)<<(d>>>16&255)|((((ha(l[e+((k[D+24>>2]&c)>>>(d>>>24))>>0]|0,y)|0)>>>0)/255|0)+z|0)>>>(m>>>24)<<(d>>>24);k[i>>2]=c;if(!h)break;else i=i+4|0}return}case 2:{i=(k[a+20>>2]|0)+((ha((k[a+16>>2]|0)/(l[D+9>>0]|0|0)|0,e)|0)<<2)|0;if((d|0)<(b|0)){h=b-d+((m|0)!=0&1)|0;i=m|0?i+(d<<2)|0:i+(d<<2)+4|0}else{h=d-b+((m|0)!=0&1)|0;i=i+(b<<2)|0}if(!h)return;d=k[D+32>>2]|0;m=k[D+28>>2]|0;j=k[124356+((m&255)<<2)>>2]|0;g=k[124356+((m>>>8&255)<<2)>>2]|0;f=k[124356+((m>>>16&255)<<2)>>2]|0;e=k[124356+(m>>>24<<2)>>2]|0;while(1){h=h+-1|0;c=k[i>>2]|0;a=(l[j+((k[D+12>>2]&c)>>>(d&255))>>0]|0)+A|0;z=(l[g+((k[D+16>>2]&c)>>>(d>>>8&255))>>0]|0)+B|0;b=(l[f+((k[D+20>>2]&c)>>>(d>>>16&255))>>0]|0)+C|0;k[i>>2]=(z>>>0>255?255:z)>>>(m>>>8&255)<<(d>>>8&255)|(a>>>0>255?255:a)>>>(m&255)<<(d&255)|(b>>>0>255?255:b)>>>(m>>>16&255)<<(d>>>16&255)|(l[e+((k[D+24>>2]&c)>>>(d>>>24))>>0]|0)>>>(m>>>24)<<(d>>>24);if(!h)break;else i=i+4|0}return}case 4:{i=(k[a+20>>2]|0)+((ha((k[a+16>>2]|0)/(l[D+9>>0]|0|0)|0,e)|0)<<2)|0;if((d|0)<(b|0)){h=b-d+((m|0)!=0&1)|0;i=m|0?i+(d<<2)|0:i+(d<<2)+4|0}else{h=d-b+((m|0)!=0&1)|0;i=i+(b<<2)|0}if(!h)return;d=k[D+32>>2]|0;m=k[D+28>>2]|0;j=k[124356+((m&255)<<2)>>2]|0;g=k[124356+((m>>>8&255)<<2)>>2]|0;f=k[124356+((m>>>16&255)<<2)>>2]|0;e=k[124356+(m>>>24<<2)>>2]|0;while(1){h=h+-1|0;c=k[i>>2]|0;c=(((ha(l[g+((k[D+16>>2]&c)>>>(d>>>8&255))>>0]|0,B)|0)>>>0)/255|0)>>>(m>>>8&255)<<(d>>>8&255)|(((ha(l[j+((k[D+12>>2]&c)>>>(d&255))>>0]|0,A)|0)>>>0)/255|0)>>>(m&255)<<(d&255)|(((ha(l[f+((k[D+20>>2]&c)>>>(d>>>16&255))>>0]|0,C)|0)>>>0)/255|0)>>>(m>>>16&255)<<(d>>>16&255)|(l[e+((k[D+24>>2]&c)>>>(d>>>24))>>0]|0)>>>(m>>>24)<<(d>>>24);k[i>>2]=c;if(!h)break;else i=i+4|0}return}default:{i=(k[a+20>>2]|0)+((ha((k[a+16>>2]|0)/(l[D+9>>0]|0|0)|0,e)|0)<<2)|0;if((d|0)<(b|0)){h=b-d+((m|0)!=0&1)|0;i=m|0?i+(d<<2)|0:i+(d<<2)+4|0}else{h=d-b+((m|0)!=0&1)|0;i=i+(b<<2)|0}if(!h)return;c=k[D+28>>2]|0;j=k[D+32>>2]|0;j=B>>>(c>>>8&255)<<(j>>>8&255)|A>>>(c&255)<<(j&255)|C>>>(c>>>16&255)<<(j>>>16&255)|z>>>(c>>>24)<<(j>>>24);while(1){h=h+-1|0;k[i>>2]=j;if(!h)break;else i=i+4|0}return}}if((d|0)==(b|0))switch(f|0){case 1:{n=(k[a+16>>2]|0)/(l[D+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){i=i+((ha(n,e)|0)<<2)+(d<<2)|0;h=c-e+((m|0)!=0&1)|0;i=m|0?i:i+(n<<2)|0}else{h=e-c+((m|0)!=0&1)|0;i=i+((ha(n,c)|0)<<2)+(d<<2)|0}if(!h)return;d=k[D+32>>2]|0;m=k[D+28>>2]|0;j=k[124356+((m&255)<<2)>>2]|0;g=k[124356+((m>>>8&255)<<2)>>2]|0;f=k[124356+((m>>>16&255)<<2)>>2]|0;e=k[124356+(m>>>24<<2)>>2]|0;while(1){h=h+-1|0;c=k[i>>2]|0;c=((((ha(l[g+((k[D+16>>2]&c)>>>(d>>>8&255))>>0]|0,y)|0)>>>0)/255|0)+B|0)>>>(m>>>8&255)<<(d>>>8&255)|((((ha(l[j+((k[D+12>>2]&c)>>>(d&255))>>0]|0,y)|0)>>>0)/255|0)+A|0)>>>(m&255)<<(d&255)|((((ha(l[f+((k[D+20>>2]&c)>>>(d>>>16&255))>>0]|0,y)|0)>>>0)/255|0)+C|0)>>>(m>>>16&255)<<(d>>>16&255)|((((ha(l[e+((k[D+24>>2]&c)>>>(d>>>24))>>0]|0,y)|0)>>>0)/255|0)+z|0)>>>(m>>>24)<<(d>>>24);k[i>>2]=c;if(!h)break;else i=i+(n<<2)|0}return}case 2:{n=(k[a+16>>2]|0)/(l[D+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){i=i+((ha(n,e)|0)<<2)+(d<<2)|0;h=c-e+((m|0)!=0&1)|0;i=m|0?i:i+(n<<2)|0}else{h=e-c+((m|0)!=0&1)|0;i=i+((ha(n,c)|0)<<2)+(d<<2)|0}if(!h)return;d=k[D+32>>2]|0;m=k[D+28>>2]|0;j=k[124356+((m&255)<<2)>>2]|0;g=k[124356+((m>>>8&255)<<2)>>2]|0;f=k[124356+((m>>>16&255)<<2)>>2]|0;e=k[124356+(m>>>24<<2)>>2]|0;while(1){h=h+-1|0;c=k[i>>2]|0;a=(l[j+((k[D+12>>2]&c)>>>(d&255))>>0]|0)+A|0;z=(l[g+((k[D+16>>2]&c)>>>(d>>>8&255))>>0]|0)+B|0;b=(l[f+((k[D+20>>2]&c)>>>(d>>>16&255))>>0]|0)+C|0;k[i>>2]=(z>>>0>255?255:z)>>>(m>>>8&255)<<(d>>>8&255)|(a>>>0>255?255:a)>>>(m&255)<<(d&255)|(b>>>0>255?255:b)>>>(m>>>16&255)<<(d>>>16&255)|(l[e+((k[D+24>>2]&c)>>>(d>>>24))>>0]|0)>>>(m>>>24)<<(d>>>24);if(!h)break;else i=i+(n<<2)|0}return}case 4:{n=(k[a+16>>2]|0)/(l[D+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){i=i+((ha(n,e)|0)<<2)+(d<<2)|0;h=c-e+((m|0)!=0&1)|0;i=m|0?i:i+(n<<2)|0}else{h=e-c+((m|0)!=0&1)|0;i=i+((ha(n,c)|0)<<2)+(d<<2)|0}if(!h)return;d=k[D+32>>2]|0;m=k[D+28>>2]|0;j=k[124356+((m&255)<<2)>>2]|0;g=k[124356+((m>>>8&255)<<2)>>2]|0;f=k[124356+((m>>>16&255)<<2)>>2]|0;e=k[124356+(m>>>24<<2)>>2]|0;while(1){h=h+-1|0;c=k[i>>2]|0;c=(((ha(l[g+((k[D+16>>2]&c)>>>(d>>>8&255))>>0]|0,B)|0)>>>0)/255|0)>>>(m>>>8&255)<<(d>>>8&255)|(((ha(l[j+((k[D+12>>2]&c)>>>(d&255))>>0]|0,A)|0)>>>0)/255|0)>>>(m&255)<<(d&255)|(((ha(l[f+((k[D+20>>2]&c)>>>(d>>>16&255))>>0]|0,C)|0)>>>0)/255|0)>>>(m>>>16&255)<<(d>>>16&255)|(l[e+((k[D+24>>2]&c)>>>(d>>>24))>>0]|0)>>>(m>>>24)<<(d>>>24);k[i>>2]=c;if(!h)break;else i=i+(n<<2)|0}return}default:{g=(k[a+16>>2]|0)/(l[D+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){i=i+((ha(g,e)|0)<<2)+(d<<2)|0;h=c-e+((m|0)!=0&1)|0;i=m|0?i:i+(g<<2)|0}else{h=e-c+((m|0)!=0&1)|0;i=i+((ha(g,c)|0)<<2)+(d<<2)|0}if(!h)return;c=k[D+28>>2]|0;j=k[D+32>>2]|0;j=B>>>(c>>>8&255)<<(j>>>8&255)|A>>>(c&255)<<(j&255)|C>>>(c>>>16&255)<<(j>>>16&255)|z>>>(c>>>24)<<(j>>>24);while(1){h=h+-1|0;k[i>>2]=j;if(!h)break;else i=i+(g<<2)|0}return}}if((((b-d|0)<0?0-(b-d)|0:b-d|0)|0)==(((c-e|0)<0?0-(c-e)|0:c-e|0)|0))switch(f|0){case 1:{h=(k[a+16>>2]|0)/(l[D+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){a=i+((ha(h,e)|0)<<2)+(d<<2)|0;h=h+((d|0)>(b|0)?-1:1)|0;i=c-e|0;n=h;h=(m|0)==0?a+(h<<2)|0:a}else{a=i+((ha(h,c)|0)<<2)+(b<<2)|0;i=e-c|0;n=h+((d|0)<(b|0)?-1:1)|0;h=a}i=i+((m|0)!=0&1)|0;if(!i)return;d=k[D+32>>2]|0;m=k[D+28>>2]|0;j=k[124356+((m&255)<<2)>>2]|0;g=k[124356+((m>>>8&255)<<2)>>2]|0;f=k[124356+((m>>>16&255)<<2)>>2]|0;e=k[124356+(m>>>24<<2)>>2]|0;while(1){i=i+-1|0;c=k[h>>2]|0;c=((((ha(l[g+((k[D+16>>2]&c)>>>(d>>>8&255))>>0]|0,y)|0)>>>0)/255|0)+B|0)>>>(m>>>8&255)<<(d>>>8&255)|((((ha(l[j+((k[D+12>>2]&c)>>>(d&255))>>0]|0,y)|0)>>>0)/255|0)+A|0)>>>(m&255)<<(d&255)|((((ha(l[f+((k[D+20>>2]&c)>>>(d>>>16&255))>>0]|0,y)|0)>>>0)/255|0)+C|0)>>>(m>>>16&255)<<(d>>>16&255)|((((ha(l[e+((k[D+24>>2]&c)>>>(d>>>24))>>0]|0,y)|0)>>>0)/255|0)+z|0)>>>(m>>>24)<<(d>>>24);k[h>>2]=c;if(!i)break;else h=h+(n<<2)|0}return}case 2:{h=(k[a+16>>2]|0)/(l[D+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){a=i+((ha(h,e)|0)<<2)+(d<<2)|0;h=h+((d|0)>(b|0)?-1:1)|0;i=c-e|0;n=h;h=(m|0)==0?a+(h<<2)|0:a}else{a=i+((ha(h,c)|0)<<2)+(b<<2)|0;i=e-c|0;n=h+((d|0)<(b|0)?-1:1)|0;h=a}i=i+((m|0)!=0&1)|0;if(!i)return;d=k[D+32>>2]|0;m=k[D+28>>2]|0;j=k[124356+((m&255)<<2)>>2]|0;g=k[124356+((m>>>8&255)<<2)>>2]|0;f=k[124356+((m>>>16&255)<<2)>>2]|0;e=k[124356+(m>>>24<<2)>>2]|0;while(1){i=i+-1|0;c=k[h>>2]|0;a=(l[j+((k[D+12>>2]&c)>>>(d&255))>>0]|0)+A|0;z=(l[g+((k[D+16>>2]&c)>>>(d>>>8&255))>>0]|0)+B|0;b=(l[f+((k[D+20>>2]&c)>>>(d>>>16&255))>>0]|0)+C|0;k[h>>2]=(z>>>0>255?255:z)>>>(m>>>8&255)<<(d>>>8&255)|(a>>>0>255?255:a)>>>(m&255)<<(d&255)|(b>>>0>255?255:b)>>>(m>>>16&255)<<(d>>>16&255)|(l[e+((k[D+24>>2]&c)>>>(d>>>24))>>0]|0)>>>(m>>>24)<<(d>>>24);if(!i)break;else h=h+(n<<2)|0}return}case 4:{h=(k[a+16>>2]|0)/(l[D+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){a=i+((ha(h,e)|0)<<2)+(d<<2)|0;h=h+((d|0)>(b|0)?-1:1)|0;i=c-e|0;n=h;h=(m|0)==0?a+(h<<2)|0:a}else{a=i+((ha(h,c)|0)<<2)+(b<<2)|0;i=e-c|0;n=h+((d|0)<(b|0)?-1:1)|0;h=a}i=i+((m|0)!=0&1)|0;if(!i)return;d=k[D+32>>2]|0;m=k[D+28>>2]|0;j=k[124356+((m&255)<<2)>>2]|0;g=k[124356+((m>>>8&255)<<2)>>2]|0;f=k[124356+((m>>>16&255)<<2)>>2]|0;e=k[124356+(m>>>24<<2)>>2]|0;while(1){i=i+-1|0;c=k[h>>2]|0;c=(((ha(l[g+((k[D+16>>2]&c)>>>(d>>>8&255))>>0]|0,B)|0)>>>0)/255|0)>>>(m>>>8&255)<<(d>>>8&255)|(((ha(l[j+((k[D+12>>2]&c)>>>(d&255))>>0]|0,A)|0)>>>0)/255|0)>>>(m&255)<<(d&255)|(((ha(l[f+((k[D+20>>2]&c)>>>(d>>>16&255))>>0]|0,C)|0)>>>0)/255|0)>>>(m>>>16&255)<<(d>>>16&255)|(l[e+((k[D+24>>2]&c)>>>(d>>>24))>>0]|0)>>>(m>>>24)<<(d>>>24);k[h>>2]=c;if(!i)break;else h=h+(n<<2)|0}return}default:{j=(k[a+16>>2]|0)/(l[D+9>>0]|0|0)|0;i=k[a+20>>2]|0;if((e|0)<(c|0)){i=i+((ha(j,e)|0)<<2)+(d<<2)|0;b=j+((d|0)>(b|0)?-1:1)|0;h=c-e|0;g=b;i=(m|0)==0?i+(b<<2)|0:i}else{i=i+((ha(j,c)|0)<<2)+(b<<2)|0;h=e-c|0;g=j+((d|0)<(b|0)?-1:1)|0}h=h+((m|0)!=0&1)|0;if(!h)return;c=k[D+28>>2]|0;j=k[D+32>>2]|0;j=B>>>(c>>>8&255)<<(j>>>8&255)|A>>>(c&255)<<(j&255)|C>>>(c>>>16&255)<<(j>>>16&255)|z>>>(c>>>24)<<(j>>>24);while(1){h=h+-1|0;k[i>>2]=j;if(!h)break;else i=i+(g<<2)|0}return}}else switch(f|0){case 1:{i=(d-b|0)<0?0-(d-b)|0:d-b|0;h=(e-c|0)<0?0-(e-c)|0:e-c|0;if((i|0)<(h|0)){f=(i<<1)-h|0;x=i<<1;j=i-h|0;i=h;h=0;g=1}else{f=(h<<1)-i|0;x=h<<1;j=h-i|0;h=1;g=0}w=j<<1;v=(d|0)<(b|0)?0-h|0:h;u=(d|0)<(b|0)?-1:1;t=(e|0)<(c|0)?0-g|0:g;s=(e|0)<(c|0)?-1:1;r=i+((m|0)!=0&1)|0;if((r|0)<=0)return;e=k[a+20>>2]|0;p=k[D+32>>2]|0;q=k[D+28>>2]|0;d=k[124356+((q&255)<<2)>>2]|0;m=k[124356+((q>>>8&255)<<2)>>2]|0;n=k[124356+((q>>>16&255)<<2)>>2]|0;o=k[124356+(q>>>24<<2)>>2]|0;g=f;f=0;j=b;h=c;while(1){i=e+(ha(k[a+16>>2]|0,h)|0)+(j<<2)|0;c=k[i>>2]|0;c=((((ha(l[m+((k[D+16>>2]&c)>>>(p>>>8&255))>>0]|0,y)|0)>>>0)/255|0)+B|0)>>>(q>>>8&255)<<(p>>>8&255)|((((ha(l[d+((k[D+12>>2]&c)>>>(p&255))>>0]|0,y)|0)>>>0)/255|0)+A|0)>>>(q&255)<<(p&255)|((((ha(l[n+((k[D+20>>2]&c)>>>(p>>>16&255))>>0]|0,y)|0)>>>0)/255|0)+C|0)>>>(q>>>16&255)<<(p>>>16&255)|((((ha(l[o+((k[D+24>>2]&c)>>>(p>>>24))>>0]|0,y)|0)>>>0)/255|0)+z|0)>>>(q>>>24)<<(p>>>24);k[i>>2]=c;i=(g|0)<0;f=f+1|0;if((f|0)>=(r|0))break;else{g=(i?x:w)+g|0;j=(i?v:u)+j|0;h=h+(i?t:s)|0}}return}case 2:{i=(d-b|0)<0?0-(d-b)|0:d-b|0;h=(e-c|0)<0?0-(e-c)|0:e-c|0;if((i|0)<(h|0)){f=(i<<1)-h|0;x=i<<1;j=i-h|0;i=h;h=0;g=1}else{f=(h<<1)-i|0;x=h<<1;j=h-i|0;h=1;g=0}w=j<<1;v=(d|0)<(b|0)?0-h|0:h;u=(d|0)<(b|0)?-1:1;t=(e|0)<(c|0)?0-g|0:g;s=(e|0)<(c|0)?-1:1;r=i+((m|0)!=0&1)|0;if((r|0)<=0)return;e=k[a+20>>2]|0;p=k[D+32>>2]|0;q=k[D+28>>2]|0;d=k[124356+((q&255)<<2)>>2]|0;m=k[124356+((q>>>8&255)<<2)>>2]|0;n=k[124356+((q>>>16&255)<<2)>>2]|0;o=k[124356+(q>>>24<<2)>>2]|0;g=f;f=0;j=b;h=c;while(1){i=e+(ha(k[a+16>>2]|0,h)|0)+(j<<2)|0;c=k[i>>2]|0;z=(l[d+((k[D+12>>2]&c)>>>(p&255))>>0]|0)+A|0;y=(l[m+((k[D+16>>2]&c)>>>(p>>>8&255))>>0]|0)+B|0;b=(l[n+((k[D+20>>2]&c)>>>(p>>>16&255))>>0]|0)+C|0;k[i>>2]=(y>>>0>255?255:y)>>>(q>>>8&255)<<(p>>>8&255)|(z>>>0>255?255:z)>>>(q&255)<<(p&255)|(b>>>0>255?255:b)>>>(q>>>16&255)<<(p>>>16&255)|(l[o+((k[D+24>>2]&c)>>>(p>>>24))>>0]|0)>>>(q>>>24)<<(p>>>24);i=(g|0)<0;f=f+1|0;if((f|0)>=(r|0))break;else{g=(i?x:w)+g|0;j=(i?v:u)+j|0;h=h+(i?t:s)|0}}return}case 4:{i=(d-b|0)<0?0-(d-b)|0:d-b|0;h=(e-c|0)<0?0-(e-c)|0:e-c|0;if((i|0)<(h|0)){f=(i<<1)-h|0;x=i<<1;j=i-h|0;i=h;h=0;g=1}else{f=(h<<1)-i|0;x=h<<1;j=h-i|0;h=1;g=0}w=j<<1;v=(d|0)<(b|0)?0-h|0:h;u=(d|0)<(b|0)?-1:1;t=(e|0)<(c|0)?0-g|0:g;s=(e|0)<(c|0)?-1:1;r=i+((m|0)!=0&1)|0;if((r|0)<=0)return;e=k[a+20>>2]|0;p=k[D+32>>2]|0;q=k[D+28>>2]|0;d=k[124356+((q&255)<<2)>>2]|0;m=k[124356+((q>>>8&255)<<2)>>2]|0;n=k[124356+((q>>>16&255)<<2)>>2]|0;o=k[124356+(q>>>24<<2)>>2]|0;g=f;f=0;j=b;h=c;while(1){i=e+(ha(k[a+16>>2]|0,h)|0)+(j<<2)|0;c=k[i>>2]|0;c=(((ha(l[m+((k[D+16>>2]&c)>>>(p>>>8&255))>>0]|0,B)|0)>>>0)/255|0)>>>(q>>>8&255)<<(p>>>8&255)|(((ha(l[d+((k[D+12>>2]&c)>>>(p&255))>>0]|0,A)|0)>>>0)/255|0)>>>(q&255)<<(p&255)|(((ha(l[n+((k[D+20>>2]&c)>>>(p>>>16&255))>>0]|0,C)|0)>>>0)/255|0)>>>(q>>>16&255)<<(p>>>16&255)|(l[o+((k[D+24>>2]&c)>>>(p>>>24))>>0]|0)>>>(q>>>24)<<(p>>>24);k[i>>2]=c;i=(g|0)<0;f=f+1|0;if((f|0)>=(r|0))break;else{g=(i?x:w)+g|0;j=(i?v:u)+j|0;h=h+(i?t:s)|0}}return}default:{i=(d-b|0)<0?0-(d-b)|0:d-b|0;h=(e-c|0)<0?0-(e-c)|0:e-c|0;if((i|0)<(h|0)){g=(i<<1)-h|0;s=i<<1;j=i-h|0;i=h;h=0;f=1}else{g=(h<<1)-i|0;s=h<<1;j=h-i|0;h=1;f=0}r=j<<1;q=(d|0)<(b|0)?0-h|0:h;p=(d|0)<(b|0)?-1:1;o=(e|0)<(c|0)?0-f|0:f;n=(e|0)<(c|0)?-1:1;m=i+((m|0)!=0&1)|0;if((m|0)<=0)return;d=k[a+20>>2]|0;f=k[D+28>>2]|0;e=k[D+32>>2]|0;e=B>>>(f>>>8&255)<<(e>>>8&255)|A>>>(f&255)<<(e&255)|C>>>(f>>>16&255)<<(e>>>16&255)|z>>>(f>>>24)<<(e>>>24);f=0;j=b;h=c;while(1){i=d+(ha(k[a+16>>2]|0,h)|0)+(j<<2)|0;k[i>>2]=e;i=(g|0)<0;f=f+1|0;if((f|0)>=(m|0))break;else{g=(i?s:r)+g|0;j=(i?q:p)+j|0;h=h+(i?o:n)|0}}return}}} +function fO(a,b){a=a|0;b=b|0;a=kBb(28)|0;qO(a,b);return a|0}function gO(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=kBb(28)|0;rO(a,b,c,d,e);return a|0}function hO(a){a=a|0;k[a>>2]=18348;a=k[a+8>>2]|0;if(!a)return;iqb(a);return}function iO(a){a=a|0;var b=0;k[a>>2]=18348;b=k[a+8>>2]|0;if(!b){CAb(a);return}iqb(b);CAb(a);return}function jO(a){a=a|0;return k[a+8>>2]|0}function kO(a){a=a|0;return k[a+12>>2]|0}function lO(a){a=a|0;return k[a+24>>2]|0}function mO(a){a=a|0;return k[a+20>>2]|0}function nO(a){a=a|0;return k[a+16>>2]|0}function oO(a){a=a|0;return ((((k[a+12>>2]|0)>>>0)/((k[a+24>>2]|0)>>>0)|0)>>>0)/(((k[a+20>>2]|0)/8|0)>>>0)|0|0}function pO(a){a=a|0;var b=0;b=ha(k[a+16>>2]|0,k[a+24>>2]|0)|0;return +(+((k[a+12>>2]|0)>>>0)/+((ha(b,k[a+20>>2]|0)|0)/8|0|0))}function qO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=r;r=r+32|0;Uj(a);k[a>>2]=18348;k[a+8>>2]=0;k[a+12>>2]=0;k[a+16>>2]=44100;k[a+20>>2]=0;k[a+24>>2]=0;if((Gi[k[(k[b>>2]|0)+52>>2]&2047](b)|0)!=8)if((Gi[k[(k[b>>2]|0)+52>>2]&2047](b)|0)!=16){a=xf(16)|0;b=Gi[k[(k[b>>2]|0)+52>>2]&2047](b)|0;k[h>>2]=b;os(a,357099,h);Jc(a|0,96,27)}f=524288;g=Gi[k[(k[b>>2]|0)+20>>2]&2047](b)|0;while(1){c=k[a+8>>2]|0;if((g|0)<=0){d=14;break}d=k[a+12>>2]|0;if(f>>>0<(d+g|0)>>>0|(c|0)!=0^1){e=d+g|0;d=f;while(1)if(d>>>0>>0)d=d<<1;else break;c=kqb(c,d)|0;k[a+8>>2]=c;if(!c){d=10;break}}else d=f;f=k[a+12>>2]|0;ABb(c+f|0,Gi[k[(k[b>>2]|0)+28>>2]&2047](b)|0,g|0)|0;c=k[a+12>>2]|0;if(c>>>0>~g>>>0){d=12;break}k[a+12>>2]=c+g;f=d;g=Gi[k[(k[b>>2]|0)+20>>2]&2047](b)|0}if((d|0)==10){a=xf(16)|0;os(a,357121,h+8|0);Jc(a|0,96,27)}else if((d|0)==12){iqb(k[a+8>>2]|0);a=xf(16)|0;os(a,357121,h+16|0);Jc(a|0,96,27)}else if((d|0)==14){if(c|0){d=k[a+12>>2]|0;if(f>>>0>d>>>0){g=kqb(c,d)|0;k[a+8>>2]=g}}g=Gi[k[(k[b>>2]|0)+48>>2]&2047](b)|0;k[a+24>>2]=g;g=Gi[k[(k[b>>2]|0)+52>>2]&2047](b)|0;k[a+20>>2]=g;b=Gi[k[(k[b>>2]|0)+56>>2]&2047](b)|0;k[a+16>>2]=b;r=h;return}}function rO(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;Uj(a);k[a>>2]=18348;k[a+8>>2]=0;k[a+8+4>>2]=0;k[a+8+8>>2]=0;k[a+8+12>>2]=0;k[a+8+16>>2]=0;sO(a,b,c,d,e,0);return}function sO(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;i=r;r=r+48|0;if((b|0)<1){a=xf(16)|0;k[i>>2]=b;os(a,357140,i);Jc(a|0,96,27)}if((c|0)<1){a=xf(16)|0;k[i+8>>2]=c;os(a,357165,i+8|0);Jc(a|0,96,27)}switch(d|0){case 8:case 16:break;default:{a=xf(16)|0;k[i+16>>2]=d;os(a,357099,i+16|0);Jc(a|0,96,27)}}if((e|0)<1){a=xf(16)|0;k[i+24>>2]=e;os(a,357189,i+24|0);Jc(a|0,96,27)}g=k[a+8>>2]|0;if(g|0){iqb(g);k[a+8>>2]=0}h=ha(ha((d|0)/8|0,b)|0,e)|0;k[a+12>>2]=h;k[a+16>>2]=c;k[a+20>>2]=d;k[a+24>>2]=e;if(+(b|0)*+(ha((d|0)/8|0,e)|0)>4294967295.0){a=xf(16)|0;os(a,357215,i+32|0);Jc(a|0,96,27)}g=hqb(h)|0;k[a+8>>2]=g;if(!g){a=xf(16)|0;os(a,357121,i+40|0);Jc(a|0,96,27)}if(!f){vBb(g|0,((d|0)==8?-128:0)|0,h|0)|0;r=i;return}else{ABb(g|0,f|0,h|0)|0;r=i;return}}function tO(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;Uj(a);k[a>>2]=18348;k[a+8>>2]=0;k[a+8+4>>2]=0;k[a+8+8>>2]=0;k[a+8+12>>2]=0;k[a+8+16>>2]=0;sO(a,c,d,e,f,b);return}function uO(a,b,c){a=a|0;b=b|0;c=+c;var d=0,e=0;e=r;r=r+16|0;if((b|0)>=0){d=k[a+20>>2]|0;if((((k[a+12>>2]|0)>>>0)/(((d|0)/8|0)>>>0)|0)>>>0>b>>>0)if((d|0)==16){j[(k[a+8>>2]|0)+(b<<1)>>1]=~~(c*32767.0);r=e;return}else{i[(k[a+8>>2]|0)+b>>0]=~~(c*127.0+128.0);r=e;return}}a=xf(16)|0;os(a,357232,e);Jc(a|0,96,27)}function vO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0.0;d=r;r=r+16|0;if((b|0)>=0){c=k[a+20>>2]|0;if((((k[a+12>>2]|0)>>>0)/(((c|0)/8|0)>>>0)|0)>>>0>b>>>0)if((c|0)==16){e=+(j[(k[a+8>>2]|0)+(b<<1)>>1]|0)/32767.0;r=d;return +e}else{e=(+(l[(k[a+8>>2]|0)+b>>0]|0)+-128.0)/127.0;r=d;return +e}}a=xf(16)|0;os(a,357268,d);Jc(a|0,96,27);return 0.0}function wO(a,b){a=a|0;b=b|0;return xO(a,b,30)|0}function xO(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((DDa(a,b)|0)!=7){k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0}d=RDa(a,b)|0;if(k[(k[155799]|0)+(k[d>>2]<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0){c=d+4|0;c=k[c>>2]|0;r=e;return c|0}k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0;c=d+4|0;c=k[c>>2]|0;r=e;return c|0}function yO(a){a=a|0;var b=0;b=xO(a,1,30)|0;WDa(a,Gi[k[(k[b>>2]|0)+48>>2]&2047](b)|0);return 1}function zO(a){a=a|0;var b=0;b=xO(a,1,30)|0;WDa(a,Gi[k[(k[b>>2]|0)+52>>2]&2047](b)|0);return 1}function AO(a){a=a|0;var b=0;b=xO(a,1,30)|0;WDa(a,Gi[k[(k[b>>2]|0)+56>>2]&2047](b)|0);return 1}function BO(a){a=a|0;var b=0;b=xO(a,1,30)|0;VDa(a,+Xi[k[(k[b>>2]|0)+60>>2]&63](b));return 1}function CO(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=18392;k[b+4>>2]=0;a=Is(a,30,357304,b)|0;r=b;return a|0}function DO(a){a=a|0;Hj(a);CAb(a);return}function EO(a){a=a|0;return 12}function FO(a){a=a|0;return 357388}function GO(a){a=a|0;return ojb()|0}function HO(a,b){a=a|0;b=b|0;Gkb((i[b>>0]&1)==0?b+1|0:k[b+8>>2]|0)|0;return}function IO(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;Wqb(a,1279174,0);b=Hkb()|0;if(!b){r=c;return}Wqb(c,b,Fnb(b)|0);if(!(i[a>>0]&1)){i[a+1>>0]=0;i[a>>0]=0}else{i[k[a+8>>2]>>0]=0;k[a+4>>2]=0}crb(a,0);k[a>>2]=k[c>>2];k[a+4>>2]=k[c+4>>2];k[a+8>>2]=k[c+8>>2];k[c>>2]=0;k[c+4>>2]=0;k[c+8>>2]=0;_qb(c);Y7a(b);r=c;return}function JO(a,b,c){a=a|0;b=b|0;c=c|0;c=Dkb(b,c)|0;if(c>>>0>=5){a=0;return a|0}if(!(i[1205628+(c<<3)+4>>0]|0)){a=0;return a|0}a=k[1205628+(c<<3)>>2]|0;return a|0}function KO(){i[1205632]=0;i[1205640]=0;i[1205648]=0;i[1205656]=0;i[1205664]=0;if(0<5){k[301407]=0;i[1205632]=1}if(1<5){k[301409]=1;i[1205640]=1}if(2<5){k[301411]=2;i[1205648]=1}if(3<5){k[301413]=3;i[1205656]=1}if(4>=5)return;k[301415]=4;i[1205664]=1;return}function LO(a){a=a|0;RO(a);k[a>>2]=18440;return}function MO(a){a=a|0;Hj(a);CAb(a);return}function NO(a,b){a=a|0;b=b|0;return 0}function OO(a,b){a=a|0;b=+b;return}function PO(){i[628580]=0;i[628592]=0;i[628604]=0;i[628616]=0;i[628628]=0;i[628640]=0;i[628652]=0;i[628664]=0;i[628676]=0;i[628688]=0;k[157173]=0;k[157174]=0;k[157175]=0;k[157176]=0;k[157177]=0;QO(628572,439736,0)|0;QO(628572,357426,1)|0;QO(628572,357434,2)|0;QO(628572,357444,3)|0;QO(628572,357453,4)|0;return}function QO(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=r;r=r+16|0;d=i[b>>0]|0;if(!(d<<24>>24))e=5381;else{f=b;e=5381;do{f=f+1|0;e=(e*33|0)+(d<<24>>24)|0;d=i[f>>0]|0}while(d<<24>>24!=0)}d=(e>>>0)%10|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+1|0)>>>0)%10|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+2|0)>>>0)%10|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+3|0)>>>0)%10|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+4|0)>>>0)%10|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+5|0)>>>0)%10|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+6|0)>>>0)%10|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+7|0)>>>0)%10|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+8|0)>>>0)%10|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+9|0)>>>0)%10|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else d=0}}}}}}}}}if((g|0)==5){i[d>>0]=1;k[a+(e*12|0)>>2]=b;k[a+(e*12|0)+4>>2]=c;d=1}if(c>>>0>4){k[h>>2]=b;k[h+4>>2]=c;Jpb(441170,h)|0;g=0;r=h;return g|0}else{k[a+120+(c<<2)>>2]=b;g=d;r=h;return g|0}return 0}function RO(a){a=a|0;Uj(a);k[a>>2]=18496;return}function SO(a,b){a=a|0;b=b|0;Wqb(a,357461,3);return}function TO(a,b){a=a|0;b=b|0;if(a>>>0>4)a=0;else{a=k[628692+(a<<2)>>2]|0;if(!a)a=0;else{k[b>>2]=a;a=1}}return a|0}function UO(a){a=a|0;Hj(a);CAb(a);return}function VO(a){a=a|0;return 13}function WO(a){a=a|0;return 357494}function XO(a,b,c){a=a|0;b=b|0;c=c|0;a=kBb(64)|0;Dpa(a,b,c);return a|0}function YO(a){a=a|0;a=kBb(64)|0;jpa(a);return a|0}function ZO(a,b){a=a|0;b=b|0;return fpa(b)|0}function _O(a){a=a|0;var b=0;k[a>>2]=18596;b=k[a+4>>2]|0;if(b|0)Si[k[(k[b>>2]|0)+4>>2]&1023](b);_qb(a+8|0);return}function $O(a){a=a|0;var b=0;k[a>>2]=18596;b=k[a+4>>2]|0;if(b|0)Si[k[(k[b>>2]|0)+4>>2]&1023](b);_qb(a+8|0);CAb(a);return}function aP(a,b){a=a|0;b=b|0;k[a>>2]=b;Si[k[(k[b>>2]|0)+8>>2]&1023](b);return}function bP(a,b){a=a|0;b=b|0;k[a>>2]=b;Si[k[(k[b>>2]|0)+8>>2]&1023](b);return}function cP(a){a=a|0;a=k[a>>2]|0;Si[k[(k[a>>2]|0)+12>>2]&1023](a);return}function dP(a){a=a|0;k[a>>2]=0;return}function eP(a){a=a|0;a=k[a>>2]|0;if(!a)return;Si[k[(k[a>>2]|0)+12>>2]&1023](a);return}function fP(a,b){a=a|0;b=b|0;var c=0;if(b|0)Si[k[(k[b>>2]|0)+8>>2]&1023](b);c=k[a>>2]|0;if(!c){k[a>>2]=b;return}Si[k[(k[c>>2]|0)+12>>2]&1023](c);k[a>>2]=b;return}function gP(a){a=a|0;var b=0;k[a>>2]=18596;k[a+8>>2]=0;k[a+8+4>>2]=0;k[a+8+8>>2]=0;b=Zoa(a)|0;k[a+4>>2]=b;return}function hP(a){a=a|0;a=k[a+4>>2]|0;return Gi[k[(k[a>>2]|0)+8>>2]&2047](a)|0}function iP(a){a=a|0;a=k[a+4>>2]|0;Si[k[(k[a>>2]|0)+12>>2]&1023](a);return}function jP(a){a=a|0;a=k[a+4>>2]|0;return Gi[k[(k[a>>2]|0)+16>>2]&2047](a)|0}function kP(a){a=a|0;var b=0,c=0;b=i[a+8>>0]|0;if(!(b&1))c=(b&255)>>>1;else c=k[a+12>>2]|0;if(!c){a=0;return a|0}if(!(b&1)){a=a+8+1|0;return a|0}else{a=k[a+16>>2]|0;return a|0}return 0}function lP(a){a=a|0;var b=0;b=Xoa()|0;k[a>>2]=b;return}function mP(a){a=a|0;a=k[a>>2]|0;if(!a)return;Si[k[(k[a>>2]|0)+4>>2]&1023](a);return}function nP(a){a=a|0;return k[a>>2]|0}function oP(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((DDa(a,b)|0)!=7){k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0}d=RDa(a,b)|0;if(k[(k[155799]|0)+(k[d>>2]<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0){c=d+4|0;c=k[c>>2]|0;r=e;return c|0}k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0;c=d+4|0;c=k[c>>2]|0;r=e;return c|0}function pP(a){a=a|0;var b=0,c=0;b=oP(a,1,54)|0;if((DDa(a,2)|0)>=1){c=D_(a,2,1)|0;if(c|0){kpa(b,c)|0;upa(b);Si[k[(k[c>>2]|0)+12>>2]&1023](c);vpa(b);a=0;return a|0}}a=$Ga(a,2,357596)|0;return a|0}function qP(a){a=a|0;var b=0,c=0;b=oP(a,1,54)|0;if((DDa(a,2)|0)>=1){c=D_(a,2,1)|0;if(c|0){opa(b,c);upa(b);Si[k[(k[c>>2]|0)+12>>2]&1023](c);vpa(b);a=0;return a|0}}a=$Ga(a,2,357596)|0;return a|0}function rP(a){a=a|0;var b=0,c=0;b=oP(a,1,54)|0;c=ppa(b)|0;if(!c){UDa(a);return 1}else{F_(c,a);upa(b);Si[k[(k[c>>2]|0)+12>>2]&1023](c);vpa(b);return 1}return 0}function sP(a){a=a|0;var b=0,c=0;b=oP(a,1,54)|0;c=qpa(b)|0;F_(c,a);upa(b);Si[k[(k[c>>2]|0)+12>>2]&1023](c);vpa(b);return 1}function tP(a){a=a|0;var b=0,c=0;b=oP(a,1,54)|0;c=rpa(b)|0;if(!c){UDa(a);return 1}else{F_(c,a);upa(b);Si[k[(k[c>>2]|0)+12>>2]&1023](c);vpa(b);return 1}return 0}function uP(a){a=a|0;VDa(a,+(spa(oP(a,1,54)|0)|0));return 1}function vP(a){a=a|0;tpa(oP(a,1,54)|0);return 0}function wP(a){a=a|0;var b=0,c=0;c=oP(a,1,54)|0;jHa(a,2,6);CDa(a,1);ADa(a,3);upa(c);b=rEa(a,(xDa(a)|0)+-2|0,-1,0)|0;vpa(c);if(!b){c=(xDa(a)|0)+-1|0;return c|0}else{c=xEa(a)|0;return c|0}return 0}function xP(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=18608;k[b+4>>2]=0;a=Is(a,54,357537,b)|0;r=b;return a|0}function yP(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((DDa(a,b)|0)!=7){k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0}d=RDa(a,b)|0;if(k[(k[155799]|0)+(k[d>>2]<<3)+(c>>>5<<2)>>2]&1<<(c&31)|0){c=d+4|0;c=k[c>>2]|0;r=e;return c|0}k[e>>2]=439367;et(c,e)|0;Ys(a,b,k[e>>2]|0)|0;c=d+4|0;c=k[c>>2]|0;r=e;return c|0}function zP(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=yP(a,1,53)|0;e=xDa(a)|0;a:do if((e|0)>1){b=mBb((e+-1|0)>>>0>1073741823?-1:e+-1<<2)|0;c=0;while(1){f=c+2|0;g=D_(a,f,1)|0;k[b+(c<<2)>>2]=g;if(!g)break;c=c+1|0;if((c|0)>=(e+-1|0))break a}b:do if((c|0)>-1){e=0;while(1){if(e|0)Si[k[(k[e>>2]|0)+4>>2]&1023](e);d=c+-1|0;if((c|0)<=0)break b;e=k[b+(d<<2)>>2]|0;c=d}}while(0);oBb(b);g=$Ga(a,f,357596)|0;return g|0}else b=0;while(0);rs(a,Epa(d,b,e+-1|0)|0);g=1;return g|0}function AP(a){a=a|0;iP((yP(a,1,53)|0)+8|0);return 0}function BP(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;Vqb(b,Fpa(yP(a,1,53)|0)|0);c=i[b>>0]|0;if(!(((c&1)==0?(c&255)>>>1:k[b+4>>2]|0)|0)){UDa(a);_qb(b);r=b;return 1}else{vs(a,b);_qb(b);r=b;return 1}return 0}function CP(a){a=a|0;rs(a,jP((yP(a,1,53)|0)+8|0)|0);return 1}function DP(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=18680;k[b+4>>2]=0;a=Is(a,53,357655,b)|0;r=b;return a|0}function EP(a){a=a|0;Hj(a);return}function FP(a){a=a|0;Hj(a);CAb(a);return}function GP(a){a=a|0;return 14}function HP(a){a=a|0;return 357705}function IP(a,b){a=a|0;b=+b;return}function JP(a){a=a|0;QP(a);k[a>>2]=18728;return}function KP(a){a=a|0;Hj(a);CAb(a);return}function LP(a){a=a|0;var b=0.0,c=0.0,d=0.0;k[a+56>>2]=(k[a+56>>2]|0)+1;p[a+16>>3]=+p[a+8>>3];c=+Xi[k[(k[a>>2]|0)+44>>2]&63](a);p[a+8>>3]=c;p[a+64>>3]=c-+p[a+16>>3];b=c-+p[a+24>>3];if(!(b>+p[a+48>>3]))return;d=+(k[a+56>>2]|0);k[a+32>>2]=~~(d/b+.5);p[a+40>>3]=b/d;p[a+24>>3]=c;k[a+56>>2]=0;return}function MP(a){a=a|0;return +(+p[a+64>>3])}function NP(a){a=a|0;return k[a+32>>2]|0}function OP(a){a=a|0;return +(+p[a+40>>3])}function PP(a){a=a|0;if(!(i[621232]|0))if(Ce(621232)|0){p[77655]=0.0;pd(621232)}return +(+pf()/1.0e3)}function QP(a){a=a|0;var b=0.0;Uj(a);k[a>>2]=18784;p[a+8>>3]=0.0;p[a+24>>3]=0.0;k[a+32>>2]=0;p[a+40>>3]=0.0;p[a+48>>3]=1.0;k[a+56>>2]=0;p[a+64>>3]=0.0;if(!(i[621232]|0))if(Ce(621232)|0){p[77655]=0.0;pd(621232)}b=+pf()/1.0e3;p[a+8>>3]=b;p[a+24>>3]=b;return}function RP(){if(!(i[621232]|0))if(Ce(621232)|0){p[77655]=0.0;pd(621232)}return +(+pf()/1.0e3)}function SP(a){a=a|0;var b=0,c=0;k[a>>2]=18840;b=k[a+8>>2]|0;if(!b){Hj(a);return}c=k[a+12>>2]|0;if((c|0)!=(b|0))k[a+12>>2]=c+(~(((c+-48-b|0)>>>0)/48|0)*48|0);CAb(b);Hj(a);return}function TP(a){a=a|0;var b=0,c=0;k[a>>2]=18840;b=k[a+8>>2]|0;if(!b){Hj(a);CAb(a);return}c=k[a+12>>2]|0;if((c|0)!=(b|0))k[a+12>>2]=c+(~(((c+-48-b|0)>>>0)/48|0)*48|0);CAb(b);Hj(a);CAb(a);return}function UP(a){a=a|0;return 15}function VP(a){a=a|0;return 363399}function WP(a){a=a|0;return a+8|0}function XP(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=r;r=r+16|0;d=k[a+8>>2]|0;a=k[a+12>>2]|0;a:do if((d|0)!=(a|0)){while(1){f=d;if((k[f>>2]|0)==(b|0)?(k[f+4>>2]|0)==(c|0):0)break;d=d+48|0;if((d|0)==(a|0))break a}r=e;return d|0}while(0);f=xf(16)|0;k[e>>2]=b;k[e+4>>2]=c;os(f,357784,e);Jc(f|0,96,27);return 0}function YP(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;switch(b|0){case 1792:{b=k[a+8>>2]|0;i=k[a+12>>2]|0;a:do if((b|0)==(i|0))h=6;else{e=k[c>>2]|0;d=k[c+4>>2]|0;while(1){g=b;if((k[g>>2]|0)==(e|0)?(k[g+4>>2]|0)==(d|0):0){h=6;break a}b=b+48|0;if((b|0)==(i|0)){b=i;g=i;d=i;break}}}while(0);if((h|0)==6){e=b;if((b|0)==(i|0)){b=i;g=i;d=e}else{d=e;b=e;b:while(1){e=k[c>>2]|0;f=k[c+4>>2]|0;while(1){g=b+48|0;if((g|0)==(i|0))break b;if((k[g>>2]|0)==(e|0)?(k[g+4>>2]|0)==(f|0):0)b=g;else break}e=d;b=d;f=g;h=b+48|0;do{k[b>>2]=k[f>>2];b=b+4|0;f=f+4|0}while((b|0)<(h|0));d=e+48|0;b=g}g=k[a+12>>2]|0;b=g}}f=d;if((f|0)!=(b|0)){e=g-b|0;BBb(d|0,b|0,e|0)|0;b=k[a+12>>2]|0;if((b|0)==(f+(((e|0)/48|0)*48|0)|0))b=f+(((e|0)/48|0)*48|0)|0;else{b=b+(~(((b+-48-(f+(((e|0)/48|0)*48|0))|0)>>>0)/48|0)*48|0)|0;k[a+12>>2]=b}}if((b|0)==(k[a+16>>2]|0)){ZP(a+8|0,c);return}else{f=c;h=b+48|0;do{k[b>>2]=k[f>>2];b=b+4|0;f=f+4|0}while((b|0)<(h|0));k[a+12>>2]=(k[a+12>>2]|0)+48;return}}case 1794:{b=k[a+8>>2]|0;e=k[a+12>>2]|0;if((b|0)==(e|0))return;d=b;do{a=d;if((k[a>>2]|0)==(k[c>>2]|0)?(k[a+4>>2]|0)==(k[c+4>>2]|0):0){b=d;f=c;h=b+48|0;do{k[b>>2]=k[f>>2];b=b+4|0;f=f+4|0}while((b|0)<(h|0))}d=d+48|0}while((d|0)!=(e|0));return}case 1793:{b=k[a+8>>2]|0;i=k[a+12>>2]|0;c:do if((b|0)==(i|0))h=28;else{e=k[c>>2]|0;d=k[c+4>>2]|0;while(1){g=b;if((k[g>>2]|0)==(e|0)?(k[g+4>>2]|0)==(d|0):0){h=28;break c}b=b+48|0;if((b|0)==(i|0)){g=i;f=i;b=i;break}}}while(0);if((h|0)==28){d=b;if((b|0)==(i|0)){g=i;f=i;b=d}else{b=d;d:while(1){e=k[c>>2]|0;f=k[c+4>>2]|0;do{d=d+48|0;if((d|0)==(i|0))break d}while((k[d>>2]|0)==(e|0)?(k[d+4>>2]|0)==(f|0):0);e=b;f=d;h=b+48|0;do{k[b>>2]=k[f>>2];b=b+4|0;f=f+4|0}while((b|0)<(h|0));b=e+48|0}f=k[a+12>>2]|0;g=f}}e=b;if((e|0)==(g|0))return;d=f-g|0;BBb(b|0,g|0,d|0)|0;b=k[a+12>>2]|0;if((b|0)==(e+(((d|0)/48|0)*48|0)|0))return;k[a+12>>2]=b+(~(((b+-48-(e+(((d|0)/48|0)*48|0))|0)>>>0)/48|0)*48|0);return}default:return}}function ZP(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=k[a>>2]|0;d=(((k[a+4>>2]|0)-j|0)/48|0)+1|0;if(d>>>0>89478485)xzb(a);c=((k[a+8>>2]|0)-j|0)/48|0;if(c>>>0<44739242){c=c<<1>>>0>>0?d:c<<1;e=k[a+4>>2]|0;if(!c){h=0;c=0;d=(e-j|0)/48|0;i=e}else{f=e;d=(e-j|0)/48|0;g=6}}else{d=k[a+4>>2]|0;c=89478485;f=d;d=(d-j|0)/48|0;g=6}if((g|0)==6){h=c;c=kBb(c*48|0)|0;i=f}g=c+(d*48|0)|0;e=c+(h*48|0)|0;f=g;c=b;d=f+48|0;do{k[f>>2]=k[c>>2];f=f+4|0;c=c+4|0}while((f|0)<(d|0));b=i-j|0;ABb(g+(((b|0)/-48|0)*48|0)|0,j|0,b|0)|0;k[a>>2]=g+(((b|0)/-48|0)*48|0);k[a+4>>2]=g+48;k[a+8>>2]=e;if(!j)return;CAb(j);return}function _P(a){a=a|0;var b=0;k[a>>2]=18880;b=k[a+8>>2]|0;if(!b){Hj(a);return}Si[k[(k[b>>2]|0)+4>>2]&1023](b);Hj(a);return}function $P(a){a=a|0;var b=0;k[a>>2]=18880;b=k[a+8>>2]|0;if(b|0)Si[k[(k[b>>2]|0)+4>>2]&1023](b);Hj(a);CAb(a);return}function aQ(a){a=a|0;return 17}function bQ(a){a=a|0;return 357859}function cQ(a,b){a=a|0;b=b|0;var c=0;c=kBb(592)|0;vQ(c,b);dQ(k[a+8>>2]|0,c);return c|0}function dQ(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+16|0;aP(d+4|0,nP(a+32|0)|0);k[d>>2]=b;if(b|0)Si[k[(k[b>>2]|0)+8>>2]&1023](b);c=k[a+24>>2]|0;if(c>>>0<(k[a+28>>2]|0)>>>0){k[c>>2]=b;if(b){Si[k[(k[b>>2]|0)+8>>2]&1023](b);c=k[a+24>>2]|0}k[a+24>>2]=c+4}else eQ(a+20|0,d);if(!b){cP(d+4|0);r=d;return}Si[k[(k[b>>2]|0)+12>>2]&1023](b);cP(d+4|0);r=d;return}function eQ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=k[a>>2]|0;d=((k[a+4>>2]|0)-g>>2)+1|0;if(d>>>0>1073741823)xzb(a);c=(k[a+8>>2]|0)-g|0;if(c>>2>>>0<536870911){c=c>>1>>>0>>0?d:c>>1;e=k[a+4>>2]|0;if(!c){h=0;c=0;d=e-g>>2}else{f=e;d=e-g>>2;i=6}}else{d=k[a+4>>2]|0;c=1073741823;f=d;d=d-g>>2;i=6}if((i|0)==6){h=c;c=kBb(c<<2)|0;e=f}i=c+(d<<2)|0;h=c+(h<<2)|0;c=k[b>>2]|0;k[i>>2]=c;if(!c)c=e;else{Si[k[(k[c>>2]|0)+8>>2]&1023](c);c=k[a+4>>2]|0;g=k[a>>2]|0}if((c|0)==(g|0)){d=i;f=c}else{e=c;f=i;c=i;do{e=e+-4|0;d=k[e>>2]|0;k[f+-4>>2]=d;if(d|0)Si[k[(k[d>>2]|0)+8>>2]&1023](d);f=c+-4|0;c=f}while((e|0)!=(g|0));d=c;f=k[a>>2]|0;c=k[a+4>>2]|0}k[a>>2]=d;k[a+4>>2]=i+4;k[a+8>>2]=h;e=f;if((c|0)!=(e|0))do{c=c+-4|0;d=k[c>>2]|0;if(d|0)Si[k[(k[d>>2]|0)+12>>2]&1023](d)}while((c|0)!=(e|0));if(!f)return;CAb(f);return}function fQ(a){a=a|0;var b=0,c=0,d=0,e=0;e=r;r=r+16|0;k[a>>2]=18916;aP(e,nP(a+32|0)|0);i[a+36>>0]=1;cP(e);b=k[a+4>>2]|0;Si[k[(k[b>>2]|0)+12>>2]&1023](b);mP(a+32|0);b=k[a+20>>2]|0;if(!b){_O(a);r=e;return}c=k[a+24>>2]|0;if((c|0)!=(b|0)){do{c=c+-4|0;k[a+24>>2]=c;d=k[c>>2]|0;if(d){Si[k[(k[d>>2]|0)+12>>2]&1023](d);c=k[a+24>>2]|0}}while((c|0)!=(b|0));b=k[a+20>>2]|0}CAb(b);_O(a);r=e;return}function gQ(a){a=a|0;fQ(a);CAb(a);return}function hQ(a){a=a|0;var b=0.0,c=0.0,d=0,e=0,f=0,g=0,h=0,j=0,l=0.0,m=0;m=r;r=r+16|0;b=+RP();c=+RP();aP(m,nP(a+32|0)|0);if(i[a+36>>0]|0){cP(m);r=m;return}l=c-b;while(1){d=k[a+20>>2]|0;a:do if((d|0)!=(k[a+24>>2]|0)){while(1){e=k[d>>2]|0;if((Wj(e)|0)==1)break;AQ(e,l);d=d+4|0;if((d|0)==(k[a+24>>2]|0))break a}g=k[a+24>>2]|0;if((d+4|0)==(g|0)){e=d;d=d+4|0}else{e=d+4|0;f=d;while(1){h=k[e>>2]|0;if(h|0)Si[k[(k[h>>2]|0)+8>>2]&1023](h);j=k[f>>2]|0;if(j|0)Si[k[(k[j>>2]|0)+12>>2]&1023](j);k[f>>2]=h;e=e+4|0;if((e|0)==(g|0))break;else f=f+4|0}e=d+(((g+-4-(d+4)|0)>>>2)+1<<2)|0;d=k[a+24>>2]|0;if((d|0)==(e|0))break}do{d=d+-4|0;k[a+24>>2]=d;f=k[d>>2]|0;if(f){Si[k[(k[f>>2]|0)+12>>2]&1023](f);d=k[a+24>>2]|0}}while((d|0)!=(e|0))}while(0);cP(m);m_(2);b=+RP();aP(m,nP(a+32|0)|0);if(!(i[a+36>>0]|0)){l=b-c;c=b}else break}cP(m);r=m;return}function iQ(a){a=a|0;var b=0;Uj(a);k[a>>2]=18880;b=kBb(40)|0;jQ(b);k[a+8>>2]=b;hP(b)|0;return}function jQ(a){a=a|0;gP(a);k[a>>2]=18916;k[a+20>>2]=0;k[a+24>>2]=0;k[a+28>>2]=0;lP(a+32|0);i[a+36>>0]=0;drb(a+8|0,357905)|0;return}function kQ(a){a=a|0;var b=0;k[a>>2]=18936;b=k[a+528>>2]|0;if(b|0)iQa(b);ZQa(a+464|0);if(i[a+16>>0]|0)h6a(a+56|0)|0;l6a(a+24|0)|0;b=k[a+532>>2]|0;if(b|0){bR(b);CAb(b)}b=k[a+536>>2]|0;if(b|0){bR(b);CAb(b)}mP(a+556|0);b=k[a+12>>2]|0;if(b|0)Si[k[(k[b>>2]|0)+12>>2]&1023](b);k[a>>2]=19120;b=k[a+8>>2]|0;if(!b)return;Si[k[(k[b>>2]|0)+12>>2]&1023](b);return}function lQ(a){a=a|0;kQ(a);CAb(a);return}function mQ(a){a=a|0;return}function nQ(a){a=a|0;return k[a+532>>2]|0}function oQ(a){a=a|0;return 28}function pQ(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;if(i[a+584>>0]|0){a=0;r=b;return a|0}aP(b,nP(a+556|0)|0);if(!(i[a+560>>0]|0))a=0;else{i[a+560>>0]=0;c=k[a+532>>2]|0;k[a+532>>2]=k[a+536>>2];k[a+536>>2]=c;a=1}cP(b);c=a;r=b;return c|0}function qQ(a){a=a|0;if(!(i[a+16>>0]|0)){a=0;return a|0}a=k[a+476>>2]|0;return a|0}function rQ(a){a=a|0;if(!(i[a+16>>0]|0)){a=0;return a|0}a=k[a+480>>2]|0;return a|0}function sQ(a){a=a|0;a=k[a+12>>2]|0;return Gi[k[(k[a>>2]|0)+76>>2]&2047](a)|0}function tQ(a){a=a|0;var b=0;b=k[a+8>>2]|0;if(!(Gi[k[(k[b>>2]|0)+40>>2]&2047](b)|0)){b=0;return b|0}b=(i[a+584>>0]|0)==0;return b|0}function uQ(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+16|0;aP(d,nP(a+556|0)|0);if(b|0){Si[k[(k[b>>2]|0)+8>>2]&1023](b);Si[k[(k[b>>2]|0)+8>>2]&1023](b)}c=k[a+8>>2]|0;if(c|0)Si[k[(k[c>>2]|0)+12>>2]&1023](c);k[a+8>>2]=b;if(!b){cP(d);r=d;return}Si[k[(k[b>>2]|0)+12>>2]&1023](b);cP(d);r=d;return}function vQ(a,b){a=a|0;b=b|0;var c=0;Uj(a);k[a+8>>2]=0;k[a>>2]=18936;k[a+12>>2]=b;if(b|0)Si[k[(k[b>>2]|0)+8>>2]&1023](b);i[a+16>>0]=0;i[a+17>>0]=0;k[a+20>>2]=0;k[a+528>>2]=0;lP(a+556|0);i[a+560>>0]=0;k[a+588>>2]=0;k[a+568>>2]=0;k[a+568+4>>2]=0;k[a+568+8>>2]=0;k[a+568+12>>2]=0;i[a+568+16>>0]=0;k6a(a+24|0)|0;YQa(a+464|0);b=kBb(28)|0;aR(b);k[a+532>>2]=b;b=kBb(28)|0;aR(b);k[a+536>>2]=b;wQ(a);b=kBb(40)|0;dR(b);Si[k[(k[b>>2]|0)+8>>2]&1023](b);Si[k[(k[b>>2]|0)+8>>2]&1023](b);c=k[a+8>>2]|0;if(!c){k[a+8>>2]=b;c=k[b>>2]|0;c=c+12|0;c=k[c>>2]|0;Si[c&1023](b);a=k[a+8>>2]|0;c=k[a>>2]|0;c=c+12|0;c=k[c>>2]|0;Si[c&1023](a);return}Si[k[(k[c>>2]|0)+12>>2]&1023](c);k[a+8>>2]=b;c=k[b>>2]|0;c=c+12|0;c=k[c>>2]|0;Si[c&1023](b);a=k[a+8>>2]|0;c=k[a>>2]|0;c=c+12|0;c=k[c>>2]|0;Si[c&1023](a);return}function wQ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;g=r;r=r+48|0;if(i[a+16>>0]|0){r=g;return}k[g+16>>2]=0;_Qa(g+24|0);while(1){xQ(a,0)|0;b=fQa(a+464|0,g+24|0,g+16|0,a+432|0)|0;if((b|0)==-21){h6a(a+56|0)|0;i[a+17>>0]=0}else if((b|0)>=0)break;if(d6a(a+416|0)|0){f=8;break}}if((f|0)==8){$Qa(g+24|0);f=xf(16)|0;os(f,357966,g);Jc(f|0,96,27)}if((b|0)>0)do xQ(a,0)|0;while((fQa(a+464|0,g+24|0,g+16|0,a+432|0)|0)>0);$Qa(g+24|0);d=hQa(a+464|0,k[g+16>>2]|0)|0;k[a+528>>2]=d;gQa(k[g+16>>2]|0);d=k[a+536>>2]|0;k[g+8>>2]=d;k[g+8+4>>2]=k[a+532>>2];b=k[a+484>>2]|0;k[a+544>>2]=b;k[a+540>>2]=b;c=k[a+488>>2]|0;k[a+552>>2]=c;k[a+548>>2]=c;e=k[a+512>>2]|0;switch(e|0){case 0:{k[a+552>>2]=c>>>1;f=12;break}case 2:{f=12;break}default:{}}if((f|0)==12)k[a+544>>2]=b>>>1;b=k[a+476>>2]|0;k[d>>2]=b;k[d+12>>2]=b;c=k[a+480>>2]|0;k[d+4>>2]=c;k[d+16>>2]=c;switch(e|0){case 0:{k[d+16>>2]=(c|0)/2|0;f=15;break}case 2:{f=15;break}default:{}}if((f|0)==15)k[d+12>>2]=(b|0)/2|0;c=ha(c,b)|0;c=mBb((c|0)>-1?c:-1)|0;k[d+8>>2]=c;c=ha(k[d+16>>2]|0,k[d+12>>2]|0)|0;c=mBb((c|0)>-1?c:-1)|0;b=k[g+8>>2]|0;k[b+20>>2]=c;c=ha(k[b+16>>2]|0,k[b+12>>2]|0)|0;c=mBb((c|0)>-1?c:-1)|0;k[b+24>>2]=c;vBb(k[b+8>>2]|0,16,ha(k[b+4>>2]|0,k[b>>2]|0)|0)|0;vBb(k[b+20>>2]|0,-128,ha(k[b+16>>2]|0,k[b+12>>2]|0)|0)|0;vBb(k[b+24>>2]|0,-128,ha(k[b+16>>2]|0,k[b+12>>2]|0)|0)|0;b=k[a+476>>2]|0;c=k[g+8+4>>2]|0;k[c>>2]=b;k[c+12>>2]=b;d=k[a+480>>2]|0;k[c+4>>2]=d;k[c+16>>2]=d;switch(k[a+512>>2]|0){case 0:{k[c+16>>2]=(d|0)/2|0;f=19;break}case 2:{f=19;break}default:{}}if((f|0)==19)k[c+12>>2]=(b|0)/2|0;f=ha(d,b)|0;f=mBb((f|0)>-1?f:-1)|0;k[c+8>>2]=f;f=ha(k[c+16>>2]|0,k[c+12>>2]|0)|0;f=mBb((f|0)>-1?f:-1)|0;k[c+20>>2]=f;f=ha(k[c+16>>2]|0,k[c+12>>2]|0)|0;f=mBb((f|0)>-1?f:-1)|0;k[c+24>>2]=f;vBb(k[c+8>>2]|0,16,ha(k[c+4>>2]|0,k[c>>2]|0)|0)|0;vBb(k[c+20>>2]|0,-128,ha(k[c+16>>2]|0,k[c+12>>2]|0)|0)|0;vBb(k[c+24>>2]|0,-128,ha(k[c+16>>2]|0,k[c+12>>2]|0)|0)|0;i[a+16>>0]=1;qQa(k[a+528>>2]|0,a+432|0,0)|0;r=g;return}function xQ(a,b){a=a|0;b=b|0;var c=0,d=0;if(!(i[a+17>>0]|0)){yQ(a);c=f6a(a+416|0)|0;k[a+20>>2]=c;g6a(a+56|0,c)|0;i[a+17>>0]=1;q6a(a+56|0,a+416|0)|0;c=a+56|0}else c=a+56|0;if((u6a(c,a+432|0)|0)==1){d=0;return d|0}if(b){do{do{yQ(a);d=f6a(a+416|0)|0}while((d|0)!=(k[a+20>>2]|0));q6a(c,a+416|0)|0}while((u6a(c,a+432|0)|0)!=1);c=0;return c|0}while(1){if(d6a(a+416|0)|0)break;do{yQ(a);b=f6a(a+416|0)|0}while((b|0)!=(k[a+20>>2]|0));q6a(c,a+416|0)|0;if((u6a(c,a+432|0)|0)==1){c=0;d=13;break}}if((d|0)==13)return c|0;i[a+584>>0]=1;d=1;return d|0}function yQ(a){a=a|0;var b=0,c=0,d=0;c=r;r=r+16|0;if((p6a(a+24|0,a+416|0)|0)==1){r=c;return}b=0;while(1){if(b|0)if(!(i[a+16>>0]|0))if(i6a(a+56|0)|0){b=6;break}b=m6a(a+24|0,8192)|0;d=k[a+12>>2]|0;d=nj[k[(k[d>>2]|0)+36>>2]&127](d,b,8192,0)|0;n6a(a+24|0,d)|0;if((p6a(a+24|0,a+416|0)|0)==1){b=8;break}}if((b|0)==6){d=xf(16)|0;os(d,357951,c);Jc(d|0,96,27)}else if((b|0)==8){r=c;return}}function zQ(a,b){a=a|0;b=+b;var c=0,d=0,e=0.0,f=0.0,g=0.0,h=0.0,j=0.0,l=0,m=0;l=r;r=r+16|0;c=k[a+12>>2]|0;if(b<.01){Ri[k[(k[c>>2]|0)+60>>2]&255](c,0,0)|0;r6a(a+24|0)|0;o6a(a+24|0,a+416|0)|0;xQ(a,1)|0;k[l>>2]=1;k[l+4>>2]=0;jQa(k[a+528>>2]|0,5,l,8)|0;p[a+576>>3]=-1.0;p[a+568>>3]=-1.0;i[a+584>>0]=0;r=l;return}c=Gi[k[(k[c>>2]|0)+28>>2]&2047](c)|0;d=L;a:do if((d|0)>0|(d|0)==0&c>>>0>0){g=+(c>>>0)+4294967296.0*+(d|0);f=+(c>>>0)+4294967296.0*+(d|0);e=0.0;b:while(1){h=g*.5;c=+W(h)>=1.0?(h>0.0?~~+ia(+V(h/4294967296.0),4294967295.0)>>>0:~~+ga((h-+(~~h>>>0))/4294967296.0)>>>0):0;do{d=k[a+12>>2]|0;Ri[k[(k[d>>2]|0)+60>>2]&255](d,~~h>>>0,c)|0;r6a(a+24|0)|0;o6a(a+24|0,a+416|0)|0;xQ(a,0)|0;if(i[a+584>>0]|0)break b;j=+wRa(k[a+528>>2]|0,k[a+448>>2]|0,k[a+448+4>>2]|0);m=k[a+528>>2]|0;d=xBb(k[a+448>>2]|0,k[a+448+4>>2]|0,1,0)|0;g=+wRa(m,d,L)}while(j==-1.0);if(j<=b&g>b)break a;f=j>b?h:f;e=j>b?e:h;if(f-e>.0001)g=f+e;else break a}r=l;return}while(0);p[a+576>>3]=-1.0;p[a+568>>3]=-1.0;i[a+584>>0]=0;jQa(k[a+528>>2]|0,5,a+448|0,8)|0;r=l;return}function AQ(a,b){a=a|0;b=+b;var c=0,d=0,e=0,f=0,g=0.0,h=0,j=0;f=r;r=r+64|0;e=k[a+8>>2]|0;Ai[k[(k[e>>2]|0)+20>>2]&31](e,b);e=k[a+8>>2]|0;b=+Xi[k[(k[e>>2]|0)+16>>2]&63](e);if(b<+p[a+568>>3])zQ(a,b);if(i[a+584>>0]|0){r=f;return}if(b<+p[a+576>>3]){r=f;return}zQa(k[a+528>>2]|0,f+16|0)|0;while(1){if(xQ(a,0)|0)break;if(!(qQa(k[a+528>>2]|0,a+432|0,f)|0)){c=8;break}}if((c|0)==8){p[a+568>>3]=+p[a+576>>3];g=+wRa(k[a+528>>2]|0,k[f>>2]|0,k[f+4>>2]|0);p[a+576>>3]=g;aP(f+8|0,nP(a+556|0)|0);i[a+560>>0]=0;cP(f+8|0);c=k[a+536>>2]|0;if((k[c+4>>2]|0)>0){d=0;do{e=k[c>>2]|0;h=(k[c+8>>2]|0)+(ha(e,d)|0)|0;c=(k[f+16+12>>2]|0)+(ha((k[a+548>>2]|0)+d|0,k[f+16+8>>2]|0)|0)|0;ABb(h|0,c+(k[a+540>>2]|0)|0,e|0)|0;d=d+1|0;c=k[a+536>>2]|0}while((d|0)<(k[c+4>>2]|0))}if((k[c+16>>2]|0)>0){e=0;do{d=k[c+12>>2]|0;h=(k[c+20>>2]|0)+(ha(d,e)|0)|0;c=(k[f+16+28>>2]|0)+(ha((k[a+552>>2]|0)+e|0,k[f+16+24>>2]|0)|0)|0;ABb(h|0,c+(k[a+544>>2]|0)|0,d|0)|0;e=e+1|0;c=k[a+536>>2]|0;d=k[c+16>>2]|0}while((e|0)<(d|0));if((d|0)>0){d=0;do{h=k[c+12>>2]|0;j=(k[c+24>>2]|0)+(ha(h,d)|0)|0;e=(k[f+16+44>>2]|0)+(ha((k[a+552>>2]|0)+d|0,k[f+16+40>>2]|0)|0)|0;ABb(j|0,e+(k[a+544>>2]|0)|0,h|0)|0;d=d+1|0;c=k[a+536>>2]|0}while((d|0)<(k[c+16>>2]|0))}}if(b>+p[a+576>>3]){j=(k[a+588>>2]|0)+1|0;k[a+588>>2]=j;if(j>>>0>5)Ai[k[(k[a>>2]|0)+52>>2]&31](a,b)}else k[a+588>>2]=0;aP(f+8|0,nP(a+556|0)|0);i[a+560>>0]=1;cP(f+8|0)}r=f;return}function BQ(a){a=a|0;k[a>>2]=19016;mP(a+32|0);return}function CQ(a){a=a|0;k[a>>2]=19016;mP(a+32|0);CAb(a);return}function DQ(a){a=a|0;return +(+p[a+16>>3])}function EQ(a,b){a=a|0;b=+b;var c=0;c=r;r=r+16|0;aP(c,nP(a+32|0)|0);if(!(i[a+8>>0]|0)){cP(c);r=c;return}p[a+16>>3]=+p[a+16>>3]+ +p[a+24>>3]*b;cP(c);r=c;return}function FQ(a){a=a|0;i[a+8>>0]=1;return}function GQ(a){a=a|0;i[a+8>>0]=0;return}function HQ(a,b){a=a|0;b=+b;var c=0;c=r;r=r+16|0;aP(c,nP(a+32|0)|0);p[a+16>>3]=b;cP(c);r=c;return}function IQ(a){a=a|0;return +(+Xi[k[(k[a>>2]|0)+16>>2]&63](a))}function JQ(a){a=a|0;return (i[a+8>>0]|0)!=0|0}function KQ(a){a=a|0;k[a>>2]=19068;a=k[a+8>>2]|0;if(!a)return;Si[k[(k[a>>2]|0)+12>>2]&1023](a);return}function LQ(a){a=a|0;var b=0;k[a>>2]=19068;b=k[a+8>>2]|0;if(!b){CAb(a);return}Si[k[(k[b>>2]|0)+12>>2]&1023](b);CAb(a);return}function MQ(a){a=a|0;a=k[a+8>>2]|0;return +(+jj[k[(k[a>>2]|0)+76>>2]&15](a,0))}function NQ(a,b){a=a|0;b=+b;return}function OQ(a){a=a|0;a=k[a+8>>2]|0;Gi[k[(k[a>>2]|0)+20>>2]&2047](a)|0;return}function PQ(a){a=a|0;a=k[a+8>>2]|0;Si[k[(k[a>>2]|0)+28>>2]&1023](a);return}function QQ(a,b){a=a|0;b=+b;a=k[a+8>>2]|0;Oi[k[(k[a>>2]|0)+72>>2]&3](a,b,0);return}function RQ(a){a=a|0;var b=0;b=k[a+8>>2]|0;if(Gi[k[(k[b>>2]|0)+40>>2]&2047](b)|0){b=0;return b|0}b=k[a+8>>2]|0;b=(Gi[k[(k[b>>2]|0)+44>>2]&2047](b)|0)^1;return b|0}function SQ(a){a=a|0;k[a>>2]=19120;a=k[a+8>>2]|0;if(!a)return;Si[k[(k[a>>2]|0)+12>>2]&1023](a);return}function TQ(a){a=a|0;var b=0;k[a>>2]=19120;b=k[a+8>>2]|0;if(!b){CAb(a);return}Si[k[(k[b>>2]|0)+12>>2]&1023](b);CAb(a);return}function UQ(a){a=a|0;return}function VQ(a){a=a|0;a=k[a+8>>2]|0;Si[k[(k[a>>2]|0)+24>>2]&1023](a);return}function WQ(a){a=a|0;a=k[a+8>>2]|0;Si[k[(k[a>>2]|0)+28>>2]&1023](a);return}function XQ(a,b){a=a|0;b=+b;a=k[a+8>>2]|0;Ai[k[(k[a>>2]|0)+32>>2]&31](a,b);return}function YQ(a){a=a|0;a=k[a+8>>2]|0;return +(+Xi[k[(k[a>>2]|0)+36>>2]&63](a))}function ZQ(a){a=a|0;a=k[a+8>>2]|0;return Gi[k[(k[a>>2]|0)+40>>2]&2047](a)|0}function _Q(a,b){a=a|0;b=b|0;var c=0;if(b|0){Si[k[(k[b>>2]|0)+8>>2]&1023](b);Si[k[(k[b>>2]|0)+8>>2]&1023](b)}c=k[a+8>>2]|0;if(c|0)Si[k[(k[c>>2]|0)+12>>2]&1023](c);k[a+8>>2]=b;if(!b)return;Si[k[(k[b>>2]|0)+12>>2]&1023](b);return}function $Q(a){a=a|0;return k[a+8>>2]|0}function aR(a){a=a|0;k[a+8>>2]=0;k[a+20>>2]=0;k[a+24>>2]=0;return}function bR(a){a=a|0;var b=0;b=k[a+8>>2]|0;if(b|0)oBb(b);b=k[a+20>>2]|0;if(b|0)oBb(b);b=k[a+24>>2]|0;if(!b)return;oBb(b);return}function cR(a,b){a=a|0;b=b|0;var c=0,d=0.0;c=k[(k[a>>2]|0)+32>>2]|0;d=+Xi[k[(k[b>>2]|0)+36>>2]&63](b);Ai[c&31](a,d);c=Gi[k[(k[b>>2]|0)+40>>2]&2047](b)|0;b=k[a>>2]|0;if(c){Si[k[b+24>>2]&1023](a);return}else{Si[k[b+28>>2]&1023](a);return}}function dR(a){a=a|0;Uj(a);k[a>>2]=19016;i[a+8>>0]=0;p[a+16>>3]=0.0;p[a+24>>3]=1.0;lP(a+32|0);return}function eR(a,b){a=a|0;b=b|0;Uj(a);k[a>>2]=19068;k[a+8>>2]=b;if(!b)return;Si[k[(k[b>>2]|0)+8>>2]&1023](b);return}function fR(a){a=a|0;var b=0;k[a>>2]=19200;b=k[155702]|0;if(b|0)Si[k[(k[b>>2]|0)+32>>2]&1023](b);b=k[a+116>>2]|0;if(b|0){A8a(b);k[a+116>>2]=0}b=k[a+112>>2]|0;if(b|0){Lhb(b);k[a+112>>2]=0;phb(512)}i[a+108>>0]=0;rhb(32);b=k[a+104>>2]|0;if(!b){b=a+8|0;_qb(b);eS(a);return}Si[k[(k[b>>2]|0)+12>>2]&1023](b);b=a+8|0;_qb(b);eS(a);return}function gR(a){a=a|0;fR(a);CAb(a);return}function hR(a){a=a|0;return 16}function iR(a){a=a|0;return 358169}function jR(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,m=0,n=0,o=0,q=0,s=0,t=0;t=r;r=r+96|0;i[t>>0]=0;k[t+4>>2]=1;i[t+8>>0]=1;k[t+12>>2]=0;i[t+16>>0]=0;k[t+20>>2]=1;k[t+24>>2]=1;i[t+28>>0]=0;i[t+29>>0]=1;k[t+32>>2]=0;i[t+36>>0]=0;p[t+40>>3]=0.0;i[t+48>>0]=0;k[t+52>>2]=0;k[t+56>>2]=0;if(!d){d=1;e=1;f=0}else{f=t;e=f+60|0;do{k[f>>2]=k[d>>2];f=f+4|0;d=d+4|0}while((f|0)<(e|0));d=k[t+20>>2]|0;e=k[t+24>>2]|0;f=k[t+32>>2]|0}q=(d|0)<1?1:d;k[t+20>>2]=q;o=(e|0)<1?1:e;k[t+24>>2]=o;m=(Gi[k[(k[a>>2]|0)+48>>2]&2047](a)|0)+-1|0;n=(f|0)<0?0:f;n=(m|0)<(n|0)?m:n;k[t+32>>2]=n;if((b|0)==0|(c|0)==0){k[t+64>>2]=0;k[t+64+4>>2]=0;k[t+64+8>>2]=0;k[t+64+12>>2]=0;k[t+64+16>>2]=0;Skb(n,t+64|0)|0;d=k[t+64+4>>2]|0;e=k[t+64+8>>2]|0}else{d=b;e=c}m=(i[t>>0]|0)==0;if(m)f=2;else if((k[t+4>>2]|0)==1)f=4099;else{k[t+64>>2]=0;k[t+64+4>>2]=d;k[t+64+8>>2]=e;k[t+64+12>>2]=0;k[t+64+16>>2]=0;if(!(Ukb(n,t+64|0,t+64|0)|0))if((Rkb(n,0,t+64|0)|0)<0){a=0;r=t;return a|0}d=k[t+64+4>>2]|0;e=k[t+64+8>>2]|0;f=3}g=(i[t+16>>0]|0)==0?f:f|32;b=j[t+28>>1]|0;g=(b&255)<<24>>24==0?g:g|16;g=(i[t+36>>0]|0)==0?g:g|8192;c=i[t+48>>0]|0;do if(c<<24>>24!=0&m){f=k[t+56>>2]|0;h=k[t+52>>2]|0;k[t+64>>2]=0;k[t+64+4>>2]=0;k[t+64+8>>2]=0;k[t+64+12>>2]=0;M6a(n,t+64|0)|0;h=(k[t+64>>2]|0)+h|0;f=(k[t+64+4>>2]|0)+f|0}else if(!(((b&65535)>>>8&255)<<24>>24)){h=n|536805376;f=n|536805376;break}else{h=n|805240832;f=n|805240832;break}while(0);Si[k[(k[a>>2]|0)+32>>2]&1023](a);if(!(kR(a,h,f,d,e,g,k[t+12>>2]|0)|0)){a=0;r=t;return a|0}gj[k[(k[a>>2]|0)+84>>2]&511](a,k[a+104>>2]|0)|0;Di[k[(k[a>>2]|0)+132>>2]&511](a,(i[a+109>>0]|0)!=0);_kb(k[a+112>>2]|0,q,o);if(!(c<<24>>24)){if(((b&65535)>>>8&255)<<24>>24!=0&m)s=20}else if(m)s=20;if((s|0)==20)Jkb(k[a+112>>2]|0,h,f);$kb(k[a+112>>2]|0);D8a(l[t+8>>0]|0)|0;oR(a,t);d=k[155702]|0;if(!d){a=1;r=t;return a|0}Ri[k[(k[d>>2]|0)+28>>2]&255](d,k[a+28>>2]|0,k[a+32>>2]|0)|0;a=1;r=t;return a|0}function kR(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0;s=r;r=r+272|0;k[s+244>>2]=b;k[s+240>>2]=c;k[s+236>>2]=d;k[s+232>>2]=e;k[s+228>>2]=f;e=Nkb()|0;do if(!e)q=6;else{if(Dmb(e,358185,3)|0)if(Dmb(e,358189,7)|0)if(Dmb(e,358475,5)|0)if(Dmb(e,358481,5)|0)if(Dmb(e,608088,10)|0){q=6;break}if(!(i[a+121>>0]|0))l=1;else{KA(0);l=1}}while(0);if((q|0)==6){e=C7a(358197)|0;if(!e)l=0;else l=(i[e>>0]|0)!=48}e=C7a(358224)|0;if(!e)e=0;else e=(i[e>>0]|0)!=48;k[s+180>>2]=2;k[s+180+4>>2]=1;i[s+180+8>>0]=0;p=e&1;i[s+180+9>>0]=p;k[s+180+12>>2]=3;k[s+180+16>>2]=0;i[s+180+20>>0]=1;i[s+180+21>>0]=p;k[s+180+24>>2]=2;k[s+180+28>>2]=0;i[s+180+32>>0]=1;i[s+180+33>>0]=p;k[s+216>>2]=0;p=s+216+4|0;k[p>>2]=0;k[s+216+8>>2]=0;h=kBb(36)|0;k[s+216>>2]=h;k[s+216+8>>2]=h+36;k[h>>2]=k[s+180>>2];k[h+4>>2]=k[s+180+4>>2];k[h+8>>2]=k[s+180+8>>2];k[h+12>>2]=k[s+180+12>>2];k[h+12+4>>2]=k[s+180+12+4>>2];k[h+12+8>>2]=k[s+180+12+8>>2];k[h+24>>2]=k[s+180+24>>2];k[h+24+4>>2]=k[s+180+24+4>>2];k[h+24+8>>2]=k[s+180+24+8>>2];k[p>>2]=h+36;if(!(i[a+121>>0]|0))o=h+36|0;else{d=h+36|0;f=h;b=h+36|0;e=h;while(1){if(!(i[f+8>>0]|0))q=16;else if((k[f>>2]|0)>2){f=h+(((e-h|0)/12|0)*12|0)|0;d=b-(f+12)|0;BBb(f|0,f+12|0,d|0)|0;e=k[p>>2]|0;if((e|0)==(f+(((d|0)/12|0)*12|0)|0)){c=f;e=f+(((d|0)/12|0)*12|0)|0}else{e=e+(~(((e+-12-(f+(((d|0)/12|0)*12|0))|0)>>>0)/12|0)*12|0)|0;k[p>>2]=e;c=f}}else q=16;if((q|0)==16){q=0;c=f+12|0;e=d}if((c|0)==(e|0)){o=e;break}else{d=e;f=c;b=e;e=c}}}n=k[s+216>>2]|0;if(l)if((n+12|0)!=(o|0)){k[s+248>>2]=k[n>>2];k[s+248+4>>2]=k[n+4>>2];k[s+248+8>>2]=k[n+8>>2];m=o-(n+12)|0;BBb(n|0,n+12|0,m|0)|0;k[n+(((m|0)/12|0)*12|0)>>2]=k[s+248>>2];k[n+(((m|0)/12|0)*12|0)+4>>2]=k[s+248+4>>2];k[n+(((m|0)/12|0)*12|0)+8>>2]=k[s+248+8>>2]};k[s+168>>2]=0;k[s+168+4>>2]=0;k[s+168+8>>2]=0;k[s+156>>2]=0;k[s+156+4>>2]=0;k[s+156+8>>2]=0;k[s+144>>2]=0;k[s+144+4>>2]=0;k[s+144+8>>2]=0;k[s+108>>2]=a;k[s+108+4>>2]=s+244;k[s+108+8>>2]=s+240;k[s+108+12>>2]=s+236;k[s+108+16>>2]=s+232;k[s+108+20>>2]=s+228;k[s+108+24>>2]=s+168;k[s+108+28>>2]=s+156;k[s+108+32>>2]=s+144;m=(n|0)==(o|0);a:do if(m)e=a+116|0;else{l=n;while(1){b=k[l>>2]|0;c=k[l+4>>2]|0;h=k[l+8>>2]|0;e=LA()|0;lR(a,g,e);I6a(17,b)|0;I6a(18,c)|0;I6a(21,(h&255)<<24>>24==0?((h&65535)>>>8<<16>>16==0?0:2):4)|0;I6a(20,(h&65535)>>>8&65535)|0;if(!(i[s+168>>0]&1)){i[s+168+1>>0]=0;i[s+168>>0]=0}else{i[k[s+168+8>>2]>>0]=0;k[s+168+4>>2]=0}if(!(i[s+156>>0]&1)){i[s+156+1>>0]=0;i[s+156>>0]=0}else{i[k[s+156+8>>2]>>0]=0;k[s+156+4>>2]=0}k[s+84>>2]=b;k[s+84+4>>2]=c;j[s+84+8>>1]=h;j[s+84+10>>1]=h>>>16;k[s+248>>2]=k[s+84>>2];k[s+248+4>>2]=k[s+84+4>>2];k[s+248+8>>2]=k[s+84+8>>2];mR(s+108|0,s+248|0)|0;d=k[a+112>>2]|0;if((g|0)>0&(d|0)==0){lR(a,0,e);k[s+72>>2]=b;k[s+72+4>>2]=c;j[s+72+8>>1]=h;j[s+72+10>>1]=h>>>16;k[s+248>>2]=k[s+72>>2];k[s+248+4>>2]=k[s+72+4>>2];k[s+248+8>>2]=k[s+72+8>>2];f=mR(s+108|0,s+248|0)|0;d=k[a+112>>2]|0;f=f?0:g}else f=g;if(!((d|0)!=0|e^1)){lR(a,f,0);k[s+48>>2]=b;k[s+48+4>>2]=c;j[s+48+8>>1]=h;j[s+48+10>>1]=h>>>16;k[s+248>>2]=k[s+48>>2];k[s+248+4>>2]=k[s+48+4>>2];k[s+248+8>>2]=k[s+48+8>>2];e=e&((mR(s+108|0,s+248|0)|0)^1);d=k[a+112>>2]|0}if(!((f|0)<1|(d|0)!=0|e^1)){lR(a,0,0);k[s+36>>2]=b;k[s+36+4>>2]=c;j[s+36+8>>1]=h;j[s+36+10>>1]=h>>>16;k[s+248>>2]=k[s+36>>2];k[s+248+4>>2]=k[s+36+4>>2];k[s+248+8>>2]=k[s+36+8>>2];e=e&((mR(s+108|0,s+248|0)|0)^1);d=k[a+112>>2]|0}if(d|0)if(k[a+116>>2]|0)break;l=l+12|0;if((l|0)==(o|0)){e=a+116|0;break a}}KA(e);e=a+116|0}while(0);if(!(k[e>>2]|0))q=42;else if(!(k[a+112>>2]|0))q=42;else{i[a+108>>0]=1;e=1}if((q|0)==42){Wqb(s+96|0,358255,30);Wqb(s+60|0,358286,96);e=i[s+144>>0]|0;e=(e&1)==0?(e&255)>>>1:k[s+144+4>>2]|0;do if(!e){e=i[s+156>>0]|0;e=(e&1)==0?(e&255)>>>1:k[s+156+4>>2]|0;if(e|0){k[s+12>>2]=0;k[s+12+4>>2]=0;k[s+12+8>>2]=0;trb(s+12|0,358411,33,e+33|0);hrb(s+12|0,(i[s+156>>0]&1)==0?s+156+1|0:k[s+156+8>>2]|0,e)|0;q=i[s+12>>0]|0;hrb(s+60|0,(q&1)==0?s+12+1|0:k[s+12+8>>2]|0,(q&1)==0?(q&255)>>>1:k[s+12+4>>2]|0)|0;_qb(s+12|0);break}e=i[s+168>>0]|0;e=(e&1)==0?(e&255)>>>1:k[s+168+4>>2]|0;if(e|0){k[s>>2]=0;k[s+4>>2]=0;k[s+8>>2]=0;trb(s,358445,29,e+29|0);hrb(s,(i[s+168>>0]&1)==0?s+168+1|0:k[s+168+8>>2]|0,e)|0;q=i[s>>0]|0;hrb(s+60|0,(q&1)==0?s+1|0:k[s+8>>2]|0,(q&1)==0?(q&255)>>>1:k[s+4>>2]|0)|0;_qb(s)}}else{k[s+24>>2]=0;k[s+24+4>>2]=0;k[s+24+8>>2]=0;trb(s+24|0,358383,27,e+27|0);hrb(s+24|0,(i[s+144>>0]&1)==0?s+144+1|0:k[s+144+8>>2]|0,e)|0;q=i[s+24>>0]|0;hrb(s+60|0,(q&1)==0?s+24+1|0:k[s+24+8>>2]|0,(q&1)==0?(q&255)>>>1:k[s+24+4>>2]|0)|0;_qb(s+24|0)}while(0);g=i[s+96>>0]|0;g=pk(1202824,(g&1)==0?s+96+1|0:k[s+96+8>>2]|0,(g&1)==0?(g&255)>>>1:k[s+96+4>>2]|0)|0;q=Gsb(g+(k[(k[g>>2]|0)+-12>>2]|0)|0)|0;k[s+248>>2]=q;q=gtb(s+248|0,1203700)|0;q=gj[k[(k[q>>2]|0)+28>>2]&511](q,10)|0;pAb(s+248|0);Rsb(g,q)|0;Lsb(g)|0;q=i[s+60>>0]|0;q=pk(g,(q&1)==0?s+60+1|0:k[s+60+8>>2]|0,(q&1)==0?(q&255)>>>1:k[s+60+4>>2]|0)|0;g=Gsb(q+(k[(k[q>>2]|0)+-12>>2]|0)|0)|0;k[s+248>>2]=g;g=gtb(s+248|0,1203700)|0;g=gj[k[(k[g>>2]|0)+28>>2]&511](g,10)|0;pAb(s+248|0);Rsb(q,g)|0;Lsb(q)|0;if(!(i[a+120>>0]|0)){Ni[k[(k[a>>2]|0)+176>>2]&127](a,s+96|0,s+60|0,0,0)|0;i[a+120>>0]=1}Si[k[(k[a>>2]|0)+32>>2]&1023](a);_qb(s+60|0);_qb(s+96|0);e=0}_qb(s+144|0);_qb(s+156|0);_qb(s+168|0);if(!n){r=s;return e|0}if(!m)k[p>>2]=o+(~(((o+-12-n|0)>>>0)/12|0)*12|0);CAb(n);r=s;return e|0}function lR(a,b,c){a=a|0;b=b|0;c=c|0;I6a(0,8)|0;I6a(1,8)|0;I6a(2,8)|0;I6a(3,8)|0;I6a(5,1)|0;I6a(7,8)|0;I6a(16,0)|0;I6a(13,(b|0)>0&1)|0;I6a(14,(b|0)>0?b:0)|0;I6a(23,c&1)|0;b=Nkb()|0;if(!b)return;if(Dmb(b,358244,3)|0)return;if(!(i[a+121>>0]|0))return;I6a(23,0)|0;return}function mR(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=r;r=r+32|0;e=k[a>>2]|0;c=k[e+116>>2]|0;if(c|0){A8a(c);k[e+116>>2]=0}c=k[e+112>>2]|0;if(c|0){Lhb(c);phb(512);k[e+112>>2]=0}if(!(i[e+8>>0]&1))c=e+8+1|0;else c=k[e+16>>2]|0;c=Fkb(c,k[k[a+4>>2]>>2]|0,k[k[a+8>>2]>>2]|0,k[k[a+12>>2]>>2]|0,k[k[a+16>>2]>>2]|0,k[k[a+20>>2]>>2]|0)|0;k[e+112>>2]=c;if(!c){c=k[a+24>>2]|0;e=A6a()|0;Wqb(f+12|0,e,Fnb(e)|0);if(!(i[c>>0]&1)){i[c+1>>0]=0;i[c>>0]=0}else{i[k[c+8>>2]>>0]=0;k[c+4>>2]=0}crb(c,0);k[c>>2]=k[f+12>>2];k[c+4>>2]=k[f+12+4>>2];k[c+8>>2]=k[f+12+8>>2];k[f+12>>2]=0;k[f+12+4>>2]=0;k[f+12+8>>2]=0;_qb(f+12|0);e=0;r=f;return e|0}c=B8a(c)|0;k[e+116>>2]=c;if(!c){c=k[a+28>>2]|0;g=A6a()|0;Wqb(f,g,Fnb(g)|0);if(!(i[c>>0]&1)){i[c+1>>0]=0;i[c>>0]=0}else{i[k[c+8>>2]>>0]=0;k[c+4>>2]=0}crb(c,0);k[c>>2]=k[f>>2];k[c+4>>2]=k[f+4>>2];k[c+8>>2]=k[f+8>>2];k[f>>2]=0;k[f+4>>2]=0;k[f+8>>2]=0;_qb(f);if(k[e+116>>2]|0)d=18}else d=18;do if((d|0)==18){g=nR(0,b,k[a+32>>2]|0)|0;c=k[e+116>>2]|0;if(!g){A8a(c);k[e+116>>2]=0;break}if(c|0){g=1;r=f;return g|0}}while(0);Lhb(k[e+112>>2]|0);k[e+112>>2]=0;g=0;r=f;return g|0}function nR(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+64|0;d=C8a(611273)|0;if(!d){b=0;r=e;return b|0}a=Gi[d&2047](7938)|0;if(!a){b=0;r=e;return b|0}drb(c,a)|0;a=Gi[d&2047](7937)|0;if(a|0){Wqb(e+36|0,a,Fnb(a)|0);a=lrb(e+36|0,0,358248)|0;k[e+48>>2]=k[a>>2];k[e+48+4>>2]=k[a+4>>2];k[e+48+8>>2]=k[a+8>>2];k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;a=i[e+48>>0]|0;hrb(c,(a&1)==0?e+48+1|0:k[e+48+8>>2]|0,(a&1)==0?(a&255)>>>1:k[e+48+4>>2]|0)|0;_qb(e+48|0);_qb(e+36|0)}a=Gi[d&2047](7936)|0;if(a|0){Wqb(e,a,Fnb(a)|0);d=lrb(e,0,358252)|0;k[e+12>>2]=k[d>>2];k[e+12+4>>2]=k[d+4>>2];k[e+12+8>>2]=k[d+8>>2];k[d>>2]=0;k[d+4>>2]=0;k[d+8>>2]=0;d=irb(e+12|0,439785)|0;k[e+24>>2]=k[d>>2];k[e+24+4>>2]=k[d+4>>2];k[e+24+8>>2]=k[d+8>>2];k[d>>2]=0;k[d+4>>2]=0;k[d+8>>2]=0;d=i[e+24>>0]|0;hrb(c,(d&1)==0?e+24+1|0:k[e+24+8>>2]|0,(d&1)==0?(d&255)>>>1:k[e+24+4>>2]|0)|0;_qb(e+24|0);_qb(e+12|0);_qb(e)}a=k[b>>2]|0;if((a|0)>2){b=0;r=e;return b|0}if((a|0)==2)if((k[b+4>>2]|0)>0){b=0;r=e;return b|0}b=1;r=e;return b|0}function oR(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=r;r=r+32|0;d=H6a(k[a+112>>2]|0)|0;g7a(k[a+112>>2]|0,a+20|0,a+24|0);H8a(k[a+112>>2]|0,a+28|0,a+32|0);do if((d&4097|0)==4097){i[a+40>>0]=1;k[a+44>>2]=1;c=a+40|0}else if(!(d&1)){i[a+40>>0]=0;k[a+44>>2]=k[b+4>>2];c=a+40|0;break}else{i[a+40>>0]=1;k[a+44>>2]=0;c=a+40|0;break}while(0);k[a+60>>2]=k[b+20>>2];k[a+64>>2]=k[b+24>>2];i[a+56>>0]=d>>>5&1;i[a+68>>0]=d>>>4&1;i[a+69>>0]=i[b+29>>0]|0;vj[k[(k[a>>2]|0)+68>>2]&127](a,a+92|0,a+96|0,a+72|0);i[a+76>>0]=d>>>13&1;if(!(i[c>>0]|0))e=9;else if(!(k[a+44>>2]|0))Aeb(601809,529851)|0;else e=9;if((e|0)==9)Aeb(601809,601842)|0;k[f+24>>2]=0;k[f+20>>2]=0;x6a(13,f+24|0)|0;x6a(14,f+20|0)|0;k[a+52>>2]=(k[f+24>>2]|0)>0?k[f+20>>2]|0:0;e=(E8a()|0)!=0&1;i[a+48>>0]=e;k[f>>2]=0;k[f+4>>2]=0;k[f+8>>2]=0;k[f+12>>2]=0;k[f+16>>2]=0;Tkb(k[a+72>>2]|0,f)|0;p[a+80>>3]=+(k[f+12>>2]|0);r=f;return}function pR(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(k[a+112>>2]|0)oR(a,a+40|0);k[b>>2]=k[a+20>>2];k[c>>2]=k[a+24>>2];b=d;c=a+40|0;d=b+60|0;do{k[b>>2]=k[c>>2];b=b+4|0;c=c+4|0}while((b|0)<(d|0));return}function qR(a){a=a|0;var b=0;b=k[155702]|0;if(b|0)Si[k[(k[b>>2]|0)+32>>2]&1023](b);b=k[a+116>>2]|0;if(b|0){A8a(b);k[a+116>>2]=0}b=k[a+112>>2]|0;if(!b){a=a+108|0;i[a>>0]=0;return}Lhb(b);k[a+112>>2]=0;phb(512);a=a+108|0;i[a>>0]=0;return}function rR(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=r;r=r+96|0;d=k[a+112>>2]|0;if(!d){a=0;r=h;return a|0}e=h;f=a+40|0;g=e+64|0;do{k[e>>2]=k[f>>2];e=e+4|0;f=f+4|0}while((e|0)<(g|0));i[h>>0]=b&1;k[h+4>>2]=c;if(b)if((c|0)==1)c=4097;else{k[h+64>>2]=0;k[h+64+4>>2]=0;k[h+64+8>>2]=0;k[h+64+12>>2]=0;k[h+64+16>>2]=0;k[h+64+4>>2]=k[a+20>>2];k[h+64+8>>2]=k[a+24>>2];Ukb(L6a(d)|0,h+64|0,h+64|0)|0;Vkb(k[a+112>>2]|0,h+64|0)|0;d=k[a+112>>2]|0;c=1}else c=0;if(!(blb(d,c)|0)){n8a(k[a+112>>2]|0,k[a+116>>2]|0)|0;oR(a,h);if(!b)_kb(k[a+112>>2]|0,k[a+60>>2]|0,k[a+64>>2]|0);d=k[155702]|0;if(!d)d=1;else{kj[k[(k[d>>2]|0)+24>>2]&255](d,k[a+28>>2]|0,k[a+32>>2]|0);d=1}}else d=0;a=d;r=h;return a|0}function sR(a,b){a=a|0;b=b|0;return Ri[k[(k[a>>2]|0)+36>>2]&255](a,b,k[a+44>>2]|0)|0}function tR(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=k[a+112>>2]|0;if(!d){a=0;return a|0}k[a+20>>2]=b;k[a+24>>2]=c;H8a(d,a+28|0,a+32|0);d=k[155702]|0;if(!d){a=1;return a|0}kj[k[(k[d>>2]|0)+24>>2]&255](d,k[a+28>>2]|0,k[a+32>>2]|0);a=1;return a|0}function uR(a){a=a|0;return Okb()|0}function vR(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;a=Pkb(b)|0;if(!a){a=xf(16)|0;k[c>>2]=b+1;os(a,358487,c);Jc(a|0,96,27)}else{r=c;return a|0}return 0}function wR(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=r;r=r+32|0;k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;g=0;while(1){if((g|0)>=(Qkb(c)|0))break;k[h+8>>2]=0;k[h+8+4>>2]=0;k[h+8+8>>2]=0;k[h+8+12>>2]=0;k[h+8+16>>2]=0;Rkb(c,g,h+8|0)|0;d=k[h+8+4>>2]|0;k[h>>2]=d;e=k[h+8+8>>2]|0;k[h+4>>2]=e;b=k[a>>2]|0;f=k[a+4>>2]|0;a:do if((b|0)==(f|0))d=7;else while(1){if((d|0)==(k[b>>2]|0))if((e|0)==(k[b+4>>2]|0)){d=7;break a}b=b+8|0;if((b|0)==(f|0)){d=8;break}}while(0);if((d|0)==7){d=0;if((b|0)==(f|0))d=8}do if((d|0)==8)if((f|0)==(k[a+8>>2]|0)){xR(a,h);break}else{e=k[h+4>>2]|0;k[f>>2]=k[h>>2];k[f+4>>2]=e;k[a+4>>2]=(k[a+4>>2]|0)+8;break}while(0);g=g+1|0}r=h;return}function xR(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=k[a>>2]|0;c=((k[a+4>>2]|0)-i>>3)+1|0;if(c>>>0>536870911)xzb(a);d=(k[a+8>>2]|0)-i|0;if(d>>3>>>0<268435455){c=d>>2>>>0>>0?c:d>>2;e=k[a+4>>2]|0;if(!c){h=0;f=0;d=e-i>>3;c=e}else{g=e;d=e-i>>3;j=6}}else{d=k[a+4>>2]|0;c=536870911;g=d;d=d-i>>3;j=6}if((j|0)==6){h=c;f=kBb(c<<3)|0;c=g}j=f+(d<<3)|0;g=k[b+4>>2]|0;k[j>>2]=k[b>>2];k[j+4>>2]=g;b=c-i|0;ABb(j+(0-(b>>3)<<3)|0,i|0,b|0)|0;k[a>>2]=j+(0-(b>>3)<<3);k[a+4>>2]=j+8;k[a+8>>2]=f+(h<<3);if(!i)return;CAb(i);return}function yR(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+32|0;if((b|0)>-1)if((Gi[k[(k[a>>2]|0)+48>>2]&2047](a)|0)>(b|0)){k[e>>2]=0;k[e+4>>2]=0;k[e+8>>2]=0;k[e+12>>2]=0;k[e+16>>2]=0;Skb(b,e)|0;k[c>>2]=k[e+4>>2];k[d>>2]=k[e+8>>2];r=e;return}k[c>>2]=0;k[d>>2]=0;r=e;return}function zR(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=r;r=r+16|0;if(!(k[a+112>>2]|0)){r=e;return}f=(Gi[k[(k[a>>2]|0)+48>>2]&2047](a)|0)+-1|0;d=(d|0)<0?0:d;k[e>>2]=0;k[e+4>>2]=0;k[e+8>>2]=0;k[e+12>>2]=0;M6a((f|0)<(d|0)?f:d,e)|0;Jkb(k[a+112>>2]|0,(k[e>>2]|0)+b|0,(k[e+4>>2]|0)+c|0);i[a+88>>0]=1;r=e;return}function AR(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=r;r=r+16|0;e=k[a+112>>2]|0;if(!e){k[c>>2]=0;k[b>>2]=0;k[d>>2]=0;r=f;return}e=L6a(e)|0;k[d>>2]=(e|0)<0?0:e;Ykb(k[a+112>>2]|0,b,c);if(!(k[c>>2]|k[b>>2])){r=f;return};k[f>>2]=0;k[f+4>>2]=0;k[f+8>>2]=0;k[f+12>>2]=0;M6a(k[d>>2]|0,f)|0;k[b>>2]=(k[b>>2]|0)-(k[f>>2]|0);k[c>>2]=(k[c>>2]|0)-(k[f+4>>2]|0);r=f;return}function BR(a){a=a|0;return (i[a+108>>0]|0)!=0|0}function CR(a,b){a=a|0;b=b|0;$qb(a+8|0,b)|0;a=k[a+112>>2]|0;if(!a)return;Wkb(a,(i[b>>0]&1)==0?b+1|0:k[b+8>>2]|0);return}function DR(a){a=a|0;return a+8|0}function ER(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=r;r=r+16|0;if(!b){a=0;r=d;return a|0}Si[k[(k[b>>2]|0)+8>>2]&1023](b);c=k[a+104>>2]|0;if(c|0)Si[k[(k[c>>2]|0)+12>>2]&1023](c);k[a+104>>2]=b;if(!(k[a+112>>2]|0)){a=0;r=d;return a|0}f=hia(b)|0;e=iia(b)|0;c=hia(b)|0;aP(d,oia(b)|0);c=Tcb(Gi[k[(k[b>>2]|0)+16>>2]&2047](b)|0,f,e,32,c<<2,255,65280,16711680,-16777216)|0;cP(d);if(!c){f=0;r=d;return f|0}Xkb(k[a+112>>2]|0,c);N7a(c);f=1;r=d;return f|0}function FR(a){a=a|0;return k[a+104>>2]|0}function GR(a,b){a=a|0;b=b|0;if(b){elb();return}else{Kkb();return}}function HR(a){a=a|0;return (dlb()|0)!=0|0}function IR(a){a=a|0;a=k[a+112>>2]|0;if(!a)return;ijb(a);return}function JR(a){a=a|0;a=k[a+112>>2]|0;if(!a)return;alb(a);return}function KR(a){a=a|0;Ncb(k[a+112>>2]|0);return}function LR(a){a=a|0;var b=0;if(!(k[a+112>>2]|0)){a=0;return a|0}b=afb()|0;a=(b|0)==(k[a+112>>2]|0);return a|0}function MR(a){a=a|0;var b=0;if(!(k[a+112>>2]|0)){a=0;return a|0}b=L7a()|0;a=(b|0)==(k[a+112>>2]|0);return a|0}function NR(a){a=a|0;a=k[a+112>>2]|0;if(!a){a=0;return a|0}a=((H6a(a)|0)&4|0)!=0;return a|0}function OR(a,b){a=a|0;b=b|0;ljb(b&1)|0;return}function PR(a){a=a|0;return (ljb(-1)|0)==1|0}function QR(a,b){a=a|0;b=b|0;i[a+109>>0]=b&1;a=k[a+112>>2]|0;if(!a)return;l8a(a,b&1);return}function RR(a){a=a|0;var b=0;b=k[a+112>>2]|0;if(!b){a=(i[a+109>>0]|0)!=0;return a|0}else{a=(clb(b)|0)!=0;return a|0}return 0}function SR(a,b,c){a=a|0;b=b|0;c=c|0;k[b>>2]=k[a+28>>2];k[c>>2]=k[a+32>>2];return}function TR(a,b,c){a=a|0;b=b|0;c=c|0;if(b|0)p[b>>3]=+p[b>>3]*(+(k[a+28>>2]|0)/+(k[a+20>>2]|0));if(!c)return;p[c>>3]=+p[c>>3]*(+(k[a+32>>2]|0)/+(k[a+24>>2]|0));return}function UR(a,b,c){a=a|0;b=b|0;c=c|0;if(b|0)p[b>>3]=+p[b>>3]*(+(k[a+20>>2]|0)/+(k[a+28>>2]|0));if(!c)return;p[c>>3]=+p[c>>3]*(+(k[a+24>>2]|0)/+(k[a+32>>2]|0));return}function VR(a){a=a|0;return +(+(k[a+32>>2]|0)/+(k[a+24>>2]|0))}function WR(a,b){a=a|0;b=+b;return +(+Xi[k[(k[a>>2]|0)+152>>2]&63](a)*b)}function XR(a,b,c,d,e){a=a|0;b=+b;c=+c;d=d|0;e=e|0;var f=0.0;f=+Xi[k[(k[a>>2]|0)+152>>2]&63](a);p[d>>3]=f*b;p[e>>3]=f*c;return}function YR(a,b){a=a|0;b=+b;return +(b/+Xi[k[(k[a>>2]|0)+152>>2]&63](a))}function ZR(a,b,c,d,e){a=a|0;b=+b;c=+c;d=d|0;e=e|0;var f=0.0;f=+Xi[k[(k[a>>2]|0)+152>>2]&63](a);p[d>>3]=b/f;p[e>>3]=c/f;return}function _R(a){a=a|0;return k[a+112>>2]|0}function $R(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(e)e=k[a+112>>2]|0;else e=0;return (ilb((d|0)==0?16:(d|0)==1?32:64,(i[b>>0]&1)==0?b+1|0:k[b+8>>2]|0,(i[c>>0]&1)==0?c+1|0:k[c+8>>2]|0,e)|0)>-1|0}function aS(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=r;r=r+64|0;k[f+24>>2]=0;k[f+24+4>>2]=0;k[f+24+8>>2]=0;k[f+24+12>>2]=0;k[f+24+16>>2]=0;k[f+24+20>>2]=0;k[f+24+24>>2]=0;e=k[b>>2]|0;k[f+24>>2]=(e|0)==0?16:(e|0)==1?32:64;if(!(i[b+4>>0]&1))c=b+4+1|0;else c=k[b+12>>2]|0;k[f+24+8>>2]=c;if(!(i[b+16>>0]&1))c=b+16+1|0;else c=k[b+24>>2]|0;k[f+24+12>>2]=c;if(!(i[b+48>>0]|0))c=0;else c=k[a+112>>2]|0;k[f+24+4>>2]=c;c=k[b+28>>2]|0;d=(k[b+32>>2]|0)-c|0;k[f+24+16>>2]=(d|0)/12|0;k[f+12>>2]=0;e=f+12+4|0;k[e>>2]=0;k[f+12+8>>2]=0;if((d|0)>0){d=0;do{k[f>>2]=0;k[f+4>>2]=0;k[f+8>>2]=0;k[f+4>>2]=d;a=c+(d*12|0)|0;if(!(i[a>>0]&1))c=a+1|0;else c=k[c+(d*12|0)+8>>2]|0;k[f+8>>2]=c;if((d|0)==(k[b+40>>2]|0)){k[f>>2]=1;c=3}else c=2;if((d|0)==(k[b+44>>2]|0))k[f>>2]=c;c=k[e>>2]|0;if((c|0)==(k[f+12+8>>2]|0))bS(f+12|0,f);else{k[c>>2]=k[f>>2];k[c+4>>2]=k[f+4>>2];k[c+8>>2]=k[f+8>>2];k[e>>2]=(k[e>>2]|0)+12}d=d+1|0;c=k[b+28>>2]|0}while((d|0)<(((k[b+32>>2]|0)-c|0)/12|0|0));c=k[f+12>>2]|0}else c=0;k[f+24+20>>2]=c;k[f>>2]=-2;jjb(f+24|0,f)|0;c=k[f>>2]|0;a=k[f+12>>2]|0;if(!a){r=f;return c|0}d=k[e>>2]|0;if((d|0)!=(a|0))k[e>>2]=d+(~(((d+-12-a|0)>>>0)/12|0)*12|0);CAb(a);r=f;return c|0}function bS(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=k[a>>2]|0;d=(((k[a+4>>2]|0)-i|0)/12|0)+1|0;if(d>>>0>357913941)xzb(a);c=((k[a+8>>2]|0)-i|0)/12|0;if(c>>>0<178956970){c=c<<1>>>0>>0?d:c<<1;e=k[a+4>>2]|0;if(!c){h=0;f=0;d=(e-i|0)/12|0;c=e}else{g=e;d=(e-i|0)/12|0;j=6}}else{d=k[a+4>>2]|0;c=357913941;g=d;d=(d-i|0)/12|0;j=6}if((j|0)==6){h=c;f=kBb(c*12|0)|0;c=g}j=f+(d*12|0)|0;k[j>>2]=k[b>>2];k[j+4>>2]=k[b+4>>2];k[j+8>>2]=k[b+8>>2];b=c-i|0;ABb(j+(((b|0)/-12|0)*12|0)|0,i|0,b|0)|0;k[a>>2]=j+(((b|0)/-12|0)*12|0);k[a+4>>2]=j+12;k[a+8>>2]=f+(h*12|0);if(!i)return;CAb(i);return}function cS(a,b){a=a|0;b=b|0;return}function dS(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;Uj(a);k[a>>2]=19200;k[a+8>>2]=0;k[a+8+4>>2]=0;k[a+8+8>>2]=0;k[a+20>>2]=800;k[a+24>>2]=600;k[a+28>>2]=800;k[a+32>>2]=600;i[a+40>>0]=0;k[a+44>>2]=1;i[a+48>>0]=1;k[a+52>>2]=0;i[a+56>>0]=0;k[a+60>>2]=1;k[a+64>>2]=1;i[a+68>>0]=0;i[a+69>>0]=1;k[a+72>>2]=0;i[a+76>>0]=0;p[a+80>>3]=0.0;i[a+88>>0]=0;k[a+92>>2]=0;k[a+96>>2]=0;k[a+104>>2]=0;i[a+108>>0]=0;i[a+109>>0]=0;k[a+112>>2]=0;k[a+112+4>>2]=0;j[a+112+8>>1]=0;if((Qgb(32)|0)<0){a=xf(16)|0;c=A6a()|0;k[b>>2]=c;os(a,358513,b);Jc(a|0,96,27)}Di[k[(k[a>>2]|0)+92>>2]&511](a,0);i[b+4>>0]=0;i[b+4+1>>0]=0;i[b+4+2>>0]=0;mjb(b+4|0);if((i[b+4>>0]|0)!=2){c=0;i[a+121>>0]=c;r=b;return}if(i[b+4+1>>0]|0){c=0;i[a+121>>0]=c;r=b;return}c=(l[b+4+2>>0]|0)<4&1;i[a+121>>0]=c;r=b;return}function eS(a){a=a|0;Hj(a);return}function fS(){var a=0,b=0,c=0,d=0,e=0;e=r;r=r+16|0;gS(628768,19388,112);i[628720]=0;i[628732]=0;i[628744]=0;i[628756]=0;k[157190]=0;k[157191]=0;a=i[358673]|0;if(!(a<<24>>24))b=5381;else{c=358673;b=5381;do{c=c+1|0;b=(b*33|0)+(a<<24>>24)|0;a=i[c>>0]|0}while(a<<24>>24!=0)}a=b&3;if(!(i[628712+(a*12|0)+8>>0]|0)){b=a;a=628712+(a*12|0)+8|0;d=5}else{a=b+1&3;if(!(i[628712+(a*12|0)+8>>0]|0)){b=a;a=628712+(a*12|0)+8|0;d=5}else{a=b+2&3;if(!(i[628712+(a*12|0)+8>>0]|0)){b=a;a=628712+(a*12|0)+8|0;d=5}else{a=b+3&3;if(!(i[628712+(a*12|0)+8>>0]|0)){b=a;a=628712+(a*12|0)+8|0;d=5}}}}if((d|0)==5){i[a>>0]=1;k[628712+(b*12|0)>>2]=358673;k[628712+(b*12|0)+4>>2]=0}if(0>1){k[e>>2]=358673;k[e+4>>2]=0;Jpb(441170,e)|0}else k[157190]=358673;a=i[358683]|0;if(!(a<<24>>24))b=5381;else{c=358683;b=5381;do{c=c+1|0;b=(b*33|0)+(a<<24>>24)|0;a=i[c>>0]|0}while(a<<24>>24!=0)}a=b&3;if(!(i[628712+(a*12|0)+8>>0]|0)){b=a;a=628712+(a*12|0)+8|0;d=17}else{a=b+1&3;if(!(i[628712+(a*12|0)+8>>0]|0)){b=a;a=628712+(a*12|0)+8|0;d=17}else{a=b+2&3;if(!(i[628712+(a*12|0)+8>>0]|0)){b=a;a=628712+(a*12|0)+8|0;d=17}else{a=b+3&3;if(!(i[628712+(a*12|0)+8>>0]|0)){b=a;a=628712+(a*12|0)+8|0;d=17}}}}if((d|0)==17){i[a>>0]=1;k[628712+(b*12|0)>>2]=358683;k[628712+(b*12|0)+4>>2]=1}if(1>1){k[e+8>>2]=358683;k[e+8+4>>2]=1;Jpb(441170,e+8|0)|0;i[629168]=0;i[629180]=0;i[629192]=0;i[629204]=0;i[629216]=0;i[629228]=0;k[157308]=0;k[157309]=0;k[157310]=0;hS(629160,517536,0)|0;hS(629160,358691,1)|0;hS(629160,365144,2)|0;r=e;return}else{k[157191]=358683;i[629168]=0;i[629180]=0;i[629192]=0;i[629204]=0;i[629216]=0;i[629228]=0;k[157308]=0;k[157309]=0;k[157310]=0;hS(629160,517536,0)|0;hS(629160,358691,1)|0;hS(629160,365144,2)|0;r=e;return}}function gS(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0;m=r;r=r+16|0;i[a+8>>0]=0;i[a+20>>0]=0;i[a+32>>0]=0;i[a+44>>0]=0;i[a+56>>0]=0;i[a+68>>0]=0;i[a+80>>0]=0;i[a+92>>0]=0;i[a+104>>0]=0;i[a+116>>0]=0;i[a+128>>0]=0;i[a+140>>0]=0;i[a+152>>0]=0;i[a+164>>0]=0;i[a+176>>0]=0;i[a+188>>0]=0;i[a+200>>0]=0;i[a+212>>0]=0;i[a+224>>0]=0;i[a+236>>0]=0;i[a+248>>0]=0;i[a+260>>0]=0;i[a+272>>0]=0;i[a+284>>0]=0;i[a+296>>0]=0;i[a+308>>0]=0;i[a+320>>0]=0;i[a+332>>0]=0;d=a+336|0;e=d+56|0;do{k[d>>2]=0;d=d+4|0}while((d|0)<(e|0));if(!(c>>>3)){r=m;return}else j=0;do{g=k[b+(j<<3)>>2]|0;h=k[b+(j<<3)+4>>2]|0;d=i[g>>0]|0;if(!(d<<24>>24))e=5381;else{f=g;e=5381;do{f=f+1|0;e=(e*33|0)+(d<<24>>24)|0;d=i[f>>0]|0}while(d<<24>>24!=0)}f=0;do{d=((f+e|0)>>>0)%28|0;f=f+1|0;if(!(i[a+(d*12|0)+8>>0]|0)){l=8;break}}while(f>>>0<28);if((l|0)==8){l=0;i[a+(d*12|0)+8>>0]=1;k[a+(d*12|0)>>2]=g;k[a+(d*12|0)+4>>2]=h}if(h>>>0>13){k[m>>2]=g;k[m+4>>2]=h;Jpb(441170,m)|0}else k[a+336+(h<<2)>>2]=g;j=j+1|0}while((j|0)!=(c>>>3|0));r=m;return}function hS(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=r;r=r+16|0;d=i[b>>0]|0;if(!(d<<24>>24))e=5381;else{f=b;e=5381;do{f=f+1|0;e=(e*33|0)+(d<<24>>24)|0;d=i[f>>0]|0}while(d<<24>>24!=0)}d=(e>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+1|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+2|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+3|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+4|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+5|0)>>>0)%6|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else d=0}}}}}if((g|0)==5){i[d>>0]=1;k[a+(e*12|0)>>2]=b;k[a+(e*12|0)+4>>2]=c;d=1}if(c>>>0>2){k[h>>2]=b;k[h+4>>2]=c;Jpb(441170,h)|0;g=0;r=h;return g|0}else{k[a+72+(c<<2)>>2]=b;g=d;r=h;return g|0}return 0}function iS(a,b){a=a|0;b=b|0;return jS(628712,a,b)|0}function jS(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0;e=i[b>>0]|0;if(!(e<<24>>24))m=5381;else{f=b;g=e;d=5381;do{f=f+1|0;d=(d*33|0)+(g<<24>>24)|0;g=i[f>>0]|0}while(g<<24>>24!=0);m=d}d=m&3;if(!(i[a+(d*12|0)+8>>0]|0)){c=1;a=0;a=c&a;return a|0}g=k[a+(d*12|0)>>2]|0;f=i[g>>0]|0;a:do if(!(f<<24>>24)){f=e;l=8}else if(e<<24>>24?f<<24>>24==e<<24>>24:0){j=b;while(1){g=g+1|0;j=j+1|0;h=i[g>>0]|0;f=i[j>>0]|0;if(!(h<<24>>24)){l=8;break a}if(!(f<<24>>24?h<<24>>24==f<<24>>24:0)){l=10;break}}}else l=10;while(0);if((l|0)==8)if(f<<24>>24)l=10;do if((l|0)==10){d=m+1&3;if(!(i[a+(d*12|0)+8>>0]|0)){c=1;a=0;a=c&a;return a|0}g=k[a+(d*12|0)>>2]|0;f=i[g>>0]|0;b:do if(!(f<<24>>24)){f=e;l=16}else if(e<<24>>24?f<<24>>24==e<<24>>24:0){j=b;do{g=g+1|0;j=j+1|0;h=i[g>>0]|0;f=i[j>>0]|0;if(!(h<<24>>24)){l=16;break b}}while(f<<24>>24?h<<24>>24==f<<24>>24:0)}while(0);if((l|0)==16)if(!(f<<24>>24))break;d=m+2&3;if(!(i[a+(d*12|0)+8>>0]|0)){c=1;a=0;a=c&a;return a|0}g=k[a+(d*12|0)>>2]|0;f=i[g>>0]|0;c:do if(!(f<<24>>24)){f=e;l=22}else if(e<<24>>24?f<<24>>24==e<<24>>24:0){j=b;do{g=g+1|0;j=j+1|0;h=i[g>>0]|0;f=i[j>>0]|0;if(!(h<<24>>24)){l=22;break c}}while(f<<24>>24?h<<24>>24==f<<24>>24:0)}while(0);if((l|0)==22)if(!(f<<24>>24))break;d=m+3&3;if(!(i[a+(d*12|0)+8>>0]|0)){c=1;a=0;a=c&a;return a|0}f=k[a+(d*12|0)>>2]|0;g=i[f>>0]|0;d:do if(g<<24>>24){if(!(e<<24>>24?g<<24>>24==e<<24>>24:0)){c=0;a=0;a=c&a;return a|0}while(1){f=f+1|0;b=b+1|0;g=i[f>>0]|0;e=i[b>>0]|0;if(!(g<<24>>24))break d;if(!(e<<24>>24?g<<24>>24==e<<24>>24:0)){d=0;e=0;break}}a=d&e;return a|0}while(0);if(e<<24>>24){c=0;a=0;a=c&a;return a|0}}while(0);k[c>>2]=k[a+(d*12|0)+4>>2];c=1;a=1;a=c&a;return a|0}function kS(a,b){a=a|0;b=b|0;if(a>>>0>1)a=0;else{a=k[628760+(a<<2)>>2]|0;if(!a)a=0;else{k[b>>2]=a;a=1}}return a|0}function lS(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0;c=i[a>>0]|0;if(!(c<<24>>24))d=5381;else{e=a;d=5381;do{e=e+1|0;d=(d*33|0)+(c<<24>>24)|0;c=i[e>>0]|0}while(c<<24>>24!=0)}h=0;while(1){g=((h+d|0)>>>0)%28|0;if(!(i[628768+(g*12|0)+8>>0]|0)){c=1;d=0;j=11;break}e=k[628768+(g*12|0)>>2]|0;f=i[e>>0]|0;a:do if(!(f<<24>>24)){c=a;j=8}else{c=a;while(1){l=i[c>>0]|0;if(!(l<<24>>24?f<<24>>24==l<<24>>24:0))break a;e=e+1|0;c=c+1|0;f=i[e>>0]|0;if(!(f<<24>>24)){j=8;break}}}while(0);if((j|0)==8){j=0;if(!(i[c>>0]|0)){j=9;break}}h=h+1|0;if(h>>>0>=28){c=0;d=0;j=11;break}}if((j|0)==9){k[b>>2]=k[628768+(g*12|0)+4>>2];j=1;l=1;l=j&l;return l|0}else if((j|0)==11){l=c&d;return l|0}return 0}function mS(a,b){a=a|0;b=b|0;if(a>>>0>13)a=0;else{a=k[629104+(a<<2)>>2]|0;if(!a)a=0;else{k[b>>2]=a;a=1}}return a|0}function nS(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0;c=i[a>>0]|0;if(!(c<<24>>24))d=5381;else{e=a;d=5381;do{e=e+1|0;d=(d*33|0)+(c<<24>>24)|0;c=i[e>>0]|0}while(c<<24>>24!=0)}h=0;while(1){g=((h+d|0)>>>0)%6|0;if(!(i[629160+(g*12|0)+8>>0]|0)){c=1;d=0;j=11;break}e=k[629160+(g*12|0)>>2]|0;f=i[e>>0]|0;a:do if(!(f<<24>>24)){c=a;j=8}else{c=a;while(1){l=i[c>>0]|0;if(!(l<<24>>24?f<<24>>24==l<<24>>24:0))break a;e=e+1|0;c=c+1|0;f=i[e>>0]|0;if(!(f<<24>>24)){j=8;break}}}while(0);if((j|0)==8){j=0;if(!(i[c>>0]|0)){j=9;break}}h=h+1|0;if(h>>>0>=6){c=0;d=0;j=11;break}}if((j|0)==9){k[b>>2]=k[629160+(g*12|0)+4>>2];j=1;l=1;l=j&l;return l|0}else if((j|0)==11){l=c&d;return l|0}return 0}function oS(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;switch(k[b+4>>2]|0){case 0:{k[a+16>>2]=b+12;k[a+20>>2]=1;k[a+24>>2]=k[b+8>>2];return}case 2:{k[a+16>>2]=b+20;k[a+20>>2]=k[b+148>>2];k[a+24>>2]=k[b+8>>2];return}case 3:{if((c|0)>-1)d=(k[b+16>>2]|0)>(c|0);else d=0;nT(d,358721);e=(k[b+12>>2]|0)+(c<<3)|0;d=k[e+4>>2]|0;k[a>>2]=k[e>>2];k[a+4>>2]=d;if((c+1|0)<(k[b+16>>2]|0)){c=(k[b+12>>2]|0)+(c+1<<3)|0;e=k[c+4>>2]|0;k[a+8>>2]=k[c>>2];k[a+8+4>>2]=e}else{c=k[b+12>>2]|0;e=k[c+4>>2]|0;k[a+8>>2]=k[c>>2];k[a+8+4>>2]=e}k[a+16>>2]=a;k[a+20>>2]=2;k[a+24>>2]=k[b+8>>2];return}case 1:{k[a+16>>2]=b+12;k[a+20>>2]=2;k[a+24>>2]=k[b+8>>2];return}default:{nT(0,619796);return}}}function pS(a){a=a|0;var b=0,c=0,d=0.0,e=0.0,f=0.0,g=0.0,h=0.0,i=0.0,j=0.0,l=0.0;d=+o[a+16>>2];g=+o[a+20>>2];i=+o[a+52>>2];j=+o[a+56>>2];e=+o[a+88>>2];f=+o[a+92>>2];h=(i-d)*(f-g)-(j-g)*(e-d);if(d*(i-d)+g*(j-g)>=-0.0?d*(e-d)+g*(f-g)>=-0.0:0){o[a+24>>2]=1.0;k[a+108>>2]=1;return}if((i*(i-d)+j*(j-g)>0.0?d*(i-d)+g*(j-g)<-0.0:0)&(d*j-g*i)*h<=0.0){h=1.0/(i*(i-d)+j*(j-g)-(d*(i-d)+g*(j-g)));o[a+24>>2]=(i*(i-d)+j*(j-g))*h;o[a+60>>2]=-((d*(i-d)+g*(j-g))*h);k[a+108>>2]=2;return}if((e*(e-d)+f*(f-g)>0.0?d*(e-d)+g*(f-g)<-0.0:0)&(g*e-d*f)*h<=0.0){j=1.0/(e*(e-d)+f*(f-g)-(d*(e-d)+g*(f-g)));o[a+24>>2]=(e*(e-d)+f*(f-g))*j;o[a+96>>2]=-((d*(e-d)+g*(f-g))*j);k[a+108>>2]=2;c=a+36|0;a=a+72|0;b=c+36|0;do{k[c>>2]=k[a>>2];c=c+4|0;a=a+4|0}while((c|0)<(b|0));return}if(i*(i-d)+j*(j-g)<=0.0?i*(e-i)+j*(f-j)>=-0.0:0){o[a+60>>2]=1.0;k[a+108>>2]=1;c=a;a=a+36|0;b=c+36|0;do{k[c>>2]=k[a>>2];c=c+4|0;a=a+4|0}while((c|0)<(b|0));return}if(e*(e-d)+f*(f-g)<=0.0?e*(e-i)+f*(f-j)<=0.0:0){o[a+96>>2]=1.0;k[a+108>>2]=1;c=a;a=a+72|0;b=c+36|0;do{k[c>>2]=k[a>>2];c=c+4|0;a=a+4|0}while((c|0)<(b|0));return}if((e*(e-i)+f*(f-j)>0.0?i*(e-i)+j*(f-j)<-0.0:0)&(i*f-j*e)*h<=0.0){h=1.0/(e*(e-i)+f*(f-j)-(i*(e-i)+j*(f-j)));o[a+60>>2]=(e*(e-i)+f*(f-j))*h;o[a+96>>2]=-((i*(e-i)+j*(f-j))*h);k[a+108>>2]=2;c=a;a=a+72|0;b=c+36|0;do{k[c>>2]=k[a>>2];c=c+4|0;a=a+4|0}while((c|0)<(b|0));return}else{l=1.0/((d*j-g*i)*h+((i*f-j*e)*h+(g*e-d*f)*h));o[a+24>>2]=(i*f-j*e)*h*l;o[a+60>>2]=(g*e-d*f)*h*l;o[a+96>>2]=(d*j-g*i)*h*l;k[a+108>>2]=3;return}}function qS(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0,f=0,g=0,h=0,l=0.0,m=0.0,n=0.0,p=0.0,q=0.0,s=0.0,u=0.0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;D=r;r=r+176|0;k[157311]=(k[157311]|0)+1;k[D+152>>2]=k[c+56>>2];k[D+152+4>>2]=k[c+56+4>>2];k[D+152+8>>2]=k[c+56+8>>2];k[D+152+12>>2]=k[c+56+12>>2];k[D+136>>2]=k[c+72>>2];k[D+136+4>>2]=k[c+72+4>>2];k[D+136+8>>2]=k[c+72+8>>2];k[D+136+12>>2]=k[c+72+12>>2];rS(D,b,c,D+152|0,c+28|0,D+136|0);C=k[D+108>>2]|0;e=0;a:do{B=(C|0)>0;if(B){f=0;do{k[D+124+(f<<2)>>2]=k[D+(f*36|0)+28>>2];k[D+112+(f<<2)>>2]=k[D+(f*36|0)+32>>2];f=f+1|0}while((f|0)!=(C|0))}b:do switch(C|0){case 1:{A=15;break}case 2:{d=+o[D+16>>2];l=+o[D+20>>2];m=+o[D+52>>2];n=+o[D+56>>2];if(d*(m-d)+l*(n-l)>=-0.0){o[D+24>>2]=1.0;k[D+108>>2]=1;A=17;break b}if(!(m*(m-d)+n*(n-l)<=0.0)){u=1.0/(m*(m-d)+n*(n-l)-(d*(m-d)+l*(n-l)));o[D+24>>2]=(m*(m-d)+n*(n-l))*u;o[D+60>>2]=-((d*(m-d)+l*(n-l))*u);k[D+108>>2]=2;A=18;break b}else{o[D+60>>2]=1.0;k[D+108>>2]=1;f=D;g=D+36|0;h=f+36|0;do{k[f>>2]=k[g>>2];f=f+4|0;g=g+4|0}while((f|0)<(h|0));A=12;break b}}case 3:{pS(D);A=12;break}default:{nT(0,619796);A=12}}while(0);c:do if((A|0)==12){f=k[D+108>>2]|0;switch(f|0){case 3:break a;case 2:case 1:{A=16;break c}case 0:{nT(0,619796);A=15;break c}default:{nT(0,619796);A=15;break c}}}while(0);if((A|0)==15){f=k[D+108>>2]|0;A=16}d:do if((A|0)==16){A=0;switch(f|0){case 1:{A=17;break d}case 2:{A=18;break d}default:{}}nT(0,619796);f=k[157314]|0;g=k[157315]|0}while(0);do if((A|0)==17){A=0;f=(o[t>>2]=-+o[D+16>>2],k[t>>2]|0);g=(o[t>>2]=-+o[D+20>>2],k[t>>2]|0)}else if((A|0)==18){A=0;s=+o[D+16>>2];l=+o[D+52>>2]-s;u=+o[D+20>>2];d=+o[D+56>>2]-u;if(s*d-l*u>0.0){f=(o[t>>2]=-d,k[t>>2]|0);g=(o[t>>2]=l,k[t>>2]|0);break}else{f=(o[t>>2]=d,k[t>>2]|0);g=(o[t>>2]=-l,k[t>>2]|0);break}}while(0);q=(k[t>>2]=f,+o[t>>2]);p=(k[t>>2]=g,+o[t>>2]);if(q*q+p*p<1.4210854715202004e-14)break;z=k[D+108>>2]|0;m=+o[D+152+12>>2];n=+o[D+152+8>>2];h=k[c+16>>2]|0;w=k[c+20>>2]|0;if((w|0)>1){f=0;l=(m*-q+n*-p)*+o[h>>2]+(m*-p-n*-q)*+o[h+4>>2];v=1;while(1){d=(m*-q+n*-p)*+o[h+(v<<3)>>2]+(m*-p-n*-q)*+o[h+(v<<3)+4>>2];g=d>l;f=g?v:f;v=v+1|0;if((v|0)==(w|0))break;else l=g?d:l}k[D+(z*36|0)+28>>2]=f;if((f|0)>-1){g=D+(z*36|0)|0;h=D+(z*36|0)+28|0;A=28}else{v=0;g=D+(z*36|0)|0;y=D+(z*36|0)+28|0}}else{k[D+(z*36|0)+28>>2]=0;g=D+(z*36|0)|0;h=D+(z*36|0)+28|0;f=0;A=28}if((A|0)==28){A=0;v=(w|0)>(f|0);y=h}nT(v,443298);h=k[c+16>>2]|0;l=+o[h+(f<<3)>>2];s=+o[h+(f<<3)+4>>2];u=l*n+m*s+ +o[D+152+4>>2];o[D+(z*36|0)>>2]=+o[D+152>>2]+(m*l-n*s);o[D+(z*36|0)+4>>2]=u;m=+o[D+136+12>>2];n=+o[D+136+8>>2];h=k[c+44>>2]|0;x=k[c+48>>2]|0;if((x|0)>1){f=0;l=(q*m+p*n)*+o[h>>2]+(p*m-q*n)*+o[h+4>>2];w=1;while(1){d=(q*m+p*n)*+o[h+(w<<3)>>2]+(p*m-q*n)*+o[h+(w<<3)+4>>2];v=d>l;f=v?w:f;w=w+1|0;if((w|0)==(x|0))break;else l=v?d:l}k[D+(z*36|0)+32>>2]=f;if((f|0)>-1){h=D+(z*36|0)+8|0;v=D+(z*36|0)+32|0;A=34}else{w=0;h=D+(z*36|0)+8|0;v=D+(z*36|0)+32|0}}else{k[D+(z*36|0)+32>>2]=0;h=D+(z*36|0)+8|0;v=D+(z*36|0)+32|0;f=0;A=34}if((A|0)==34)w=(x|0)>(f|0);nT(w,443298);A=k[c+44>>2]|0;q=+o[A+(f<<3)>>2];u=+o[A+(f<<3)+4>>2];s=+o[D+136>>2]+(m*q-n*u);u=q*n+m*u+ +o[D+136+4>>2];o[h>>2]=s;o[h+4>>2]=u;u=u-+o[g+4>>2];o[D+(z*36|0)+16>>2]=s-+o[g>>2];o[D+(z*36|0)+20>>2]=u;e=e+1|0;k[157312]=(k[157312]|0)+1;if(B){f=k[y>>2]|0;g=0;do{if((f|0)==(k[D+124+(g<<2)>>2]|0))if((k[v>>2]|0)==(k[D+112+(g<<2)>>2]|0))break a;g=g+1|0}while((g|0)<(C|0))}C=(k[D+108>>2]|0)+1|0;k[D+108>>2]=C}while((e|0)<20);C=k[157313]|0;k[157313]=(C|0)>(e|0)?C:e;switch(k[D+108>>2]|0){case 0:{nT(0,619796);break}case 1:{C=k[D+4>>2]|0;k[a>>2]=k[D>>2];k[a+4>>2]=C;C=k[D+8+4>>2]|0;k[a+8>>2]=k[D+8>>2];k[a+8+4>>2]=C;break}case 2:{q=+o[D+24>>2];s=+o[D+60>>2];u=q*+o[D+4>>2]+s*+o[D+40>>2];o[a>>2]=q*+o[D>>2]+s*+o[D+36>>2];o[a+4>>2]=u;u=q*+o[D+12>>2]+s*+o[D+48>>2];o[a+8>>2]=q*+o[D+8>>2]+s*+o[D+44>>2];o[a+12>>2]=u;break}case 3:{p=+o[D+24>>2];q=+o[D+60>>2];u=+o[D+96>>2];s=p*+o[D>>2]+q*+o[D+36>>2]+u*+o[D+72>>2];u=p*+o[D+4>>2]+q*+o[D+40>>2]+u*+o[D+76>>2];o[a>>2]=s;o[a+4>>2]=u;o[a+8>>2]=s;o[a+12>>2]=u;break}default:nT(0,619796)}s=+o[a>>2]-+o[a+8>>2];u=+o[a+4>>2]-+o[a+12>>2];u=+X(+(s*s+u*u));o[a+16>>2]=u;k[a+20>>2]=e;switch(k[D+108>>2]|0){case 0:{nT(0,619796);d=0.0;break}case 1:{d=0.0;break}case 2:{u=+o[D+16>>2]-+o[D+52>>2];d=+o[D+20>>2]-+o[D+56>>2];d=+X(+(u*u+d*d));break}case 3:{d=+o[D+16>>2];u=+o[D+20>>2];d=(+o[D+52>>2]-d)*(+o[D+92>>2]-u)-(+o[D+56>>2]-u)*(+o[D+88>>2]-d);break}default:{nT(0,619796);d=0.0}}o[b>>2]=d;e=k[D+108>>2]|0;j[b+4>>1]=e;if((e|0)>0){f=0;do{i[b+6+f>>0]=k[D+(f*36|0)+28>>2];i[b+9+f>>0]=k[D+(f*36|0)+32>>2];f=f+1|0}while((f|0)<(e|0))}if(!(i[c+88>>0]|0)){r=D;return}u=+o[c+24>>2];s=+o[c+52>>2];d=+o[a+16>>2];if(!(d>u+s&d>1.1920928955078125e-07)){s=(+o[a>>2]+ +o[a+8>>2])*.5;u=(+o[a+4>>2]+ +o[a+12>>2])*.5;o[a>>2]=s;o[a+4>>2]=u;o[a+8>>2]=s;o[a+12>>2]=u;o[a+16>>2]=0.0;r=D;return}o[a+16>>2]=d-(u+s);l=+o[a+8>>2];m=+o[a>>2];n=+o[a+12>>2];p=+o[a+4>>2];d=+X(+((l-m)*(l-m)+(n-p)*(n-p)));if(d<1.1920928955078125e-07){q=l-m;d=n-p}else{q=(l-m)*(1.0/d);d=(n-p)*(1.0/d)}o[a>>2]=u*q+m;o[a+4>>2]=u*d+p;o[a+8>>2]=l-s*q;o[a+12>>2]=n-s*d;r=D;return}function rS(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0.0,i=0.0,n=0,p=0,q=0,r=0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0;nT((m[b+4>>1]|0)<4,358758);g=j[b+4>>1]|0;k[a+108>>2]=g&65535;if(!(g<<16>>16))g=g&65535;else{p=0;do{n=l[b+6+p>>0]|0;k[a+(p*36|0)+28>>2]=n;g=a+(p*36|0)+32|0;k[g>>2]=l[b+9+p>>0];nT((k[c+20>>2]|0)>(n|0),443298);r=k[c+16>>2]|0;h=+o[r+(n<<3)>>2];i=+o[r+(n<<3)+4>>2];g=k[g>>2]|0;if((g|0)>-1)n=(k[e+20>>2]|0)>(g|0);else n=0;nT(n,443298);r=k[e+16>>2]|0;u=+o[r+(g<<3)>>2];w=+o[r+(g<<3)+4>>2];t=+o[d+12>>2];v=+o[d+8>>2];s=+o[d>>2]+(h*t-i*v);i=i*t+h*v+ +o[d+4>>2];o[a+(p*36|0)>>2]=s;o[a+(p*36|0)+4>>2]=i;v=+o[f+12>>2];h=+o[f+8>>2];t=+o[f>>2]+(u*v-w*h);h=w*v+u*h+ +o[f+4>>2];o[a+(p*36|0)+8>>2]=t;o[a+(p*36|0)+12>>2]=h;o[a+(p*36|0)+16>>2]=t-s;o[a+(p*36|0)+20>>2]=h-i;o[a+(p*36|0)+24>>2]=0.0;p=p+1|0;g=k[a+108>>2]|0}while((p|0)<(g|0))}do if((g|0)>1){i=+o[b>>2];switch(g|0){case 2:{w=+o[a+16>>2]-+o[a+52>>2];h=+o[a+20>>2]-+o[a+56>>2];h=+X(+(w*w+h*h));break}case 3:{h=+o[a+16>>2];w=+o[a+20>>2];h=(+o[a+52>>2]-h)*(+o[a+92>>2]-w)-(+o[a+56>>2]-w)*(+o[a+88>>2]-h);break}default:{nT(0,619796);h=0.0}}if(!(h>2]|0;q=15;break}k[a+108>>2]=0}else q=15;while(0);if((q|0)==15)if(g|0)return;k[a+28>>2]=0;k[a+32>>2]=0;nT((k[c+20>>2]|0)>0,443298);r=k[c+16>>2]|0;i=+o[r>>2];t=+o[r+4>>2];nT((k[e+20>>2]|0)>0,443298);r=k[e+16>>2]|0;s=+o[r>>2];h=+o[r+4>>2];v=+o[d+12>>2];w=+o[d+8>>2];u=+o[d>>2]+(i*v-t*w);w=t*v+i*w+ +o[d+4>>2];o[a>>2]=u;o[a+4>>2]=w;i=+o[f+12>>2];v=+o[f+8>>2];t=+o[f>>2]+(s*i-h*v);v=h*i+s*v+ +o[f+4>>2];o[a+8>>2]=t;o[a+12>>2]=v;o[a+16>>2]=t-u;o[a+20>>2]=v-w;o[a+24>>2]=1.0;k[a+108>>2]=1;return}function sS(a){a=a|0;k[a>>2]=19508;lT(k[a+12>>2]|0);k[a+12>>2]=0;k[a+16>>2]=0;return}function tS(a){a=a|0;k[a>>2]=19508;lT(k[a+12>>2]|0);CAb(a);return}function uS(a,b){a=a|0;b=b|0;var c=0;b=eT(b,40)|0;k[b>>2]=19508;k[b+4>>2]=3;o[b+8>>2]=.009999999776482582;k[b+12>>2]=0;k[b+16>>2]=0;i[b+36>>0]=0;i[b+37>>0]=0;vS(b,k[a+12>>2]|0,k[a+16>>2]|0);c=k[a+20+4>>2]|0;k[b+20>>2]=k[a+20>>2];k[b+20+4>>2]=c;c=k[a+28+4>>2]|0;k[b+28>>2]=k[a+28>>2];k[b+28+4>>2]=c;a=j[a+36>>1]|0;i[b+36>>0]=a;i[b+37>>0]=(a&65535)>>>8;return b|0}function vS(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0.0,f=0.0,g=0;if(!(k[a+12>>2]|0))d=(k[a+16>>2]|0)==0;else d=0;nT(d,358800);nT((c|0)>1,358835);if((c|0)>1){d=1;do{g=d+-1|0;f=+o[b+(g<<3)>>2]-+o[b+(d<<3)>>2];e=+o[b+(g<<3)+4>>2]-+o[b+(d<<3)+4>>2];nT(f*f+e*e>2.499999936844688e-05,358846);d=d+1|0}while((d|0)!=(c|0))}k[a+16>>2]=c;g=kT(c<<3)|0;k[a+12>>2]=g;ABb(g|0,b|0,k[a+16>>2]<<3|0)|0;k[a+20>>2]=0;k[a+20+4>>2]=0;k[a+20+8>>2]=0;k[a+20+12>>2]=0;j[a+20+16>>1]=0;return}function wS(a){a=a|0;return (k[a+16>>2]|0)+-1|0}function xS(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function yS(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=r;r=r+48|0;nT((k[a+16>>2]|0)>(e|0),358924);k[f>>2]=19588;k[f+4>>2]=1;o[f+8>>2]=.009999999776482582;k[f+28>>2]=0;k[f+28+4>>2]=0;k[f+28+8>>2]=0;k[f+28+12>>2]=0;j[f+28+16>>1]=0;g=(e+1|0)==(k[a+16>>2]|0)?0:e+1|0;h=k[a+12>>2]|0;a=k[h+(e<<3)+4>>2]|0;k[f+12>>2]=k[h+(e<<3)>>2];k[f+12+4>>2]=a;a=k[h+(g<<3)+4>>2]|0;k[f+20>>2]=k[h+(g<<3)>>2];k[f+20+4>>2]=a;d=QS(f,b,c,d,0)|0;r=f;return d|0}function zS(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0.0,f=0.0,g=0.0,h=0.0,i=0.0,j=0.0,l=0.0,m=0.0,n=0;nT((k[a+16>>2]|0)>(d|0),358924);n=(d+1|0)==(k[a+16>>2]|0)?0:d+1|0;a=k[a+12>>2]|0;f=+o[c+12>>2];l=+o[a+(d<<3)>>2];h=+o[c+8>>2];j=+o[a+(d<<3)+4>>2];m=+o[c>>2];i=+o[c+4>>2];g=+o[a+(n<<3)>>2];e=+o[a+(n<<3)+4>>2];o[b>>2]=m+(f*l-h*j)>2]=l*h+f*j+i>2]=m+(f*l-h*j)>m+(f*g-h*e)?m+(f*l-h*j):m+(f*g-h*e);o[b+12>>2]=l*h+f*j+i>i+(h*g+f*e)?l*h+f*j+i:i+(h*g+f*e);return}function AS(a,b,c){a=a|0;b=b|0;c=+c;k[b>>2]=0;k[b+4>>2]=0;k[b+8>>2]=0;k[b+12>>2]=0;return}function BS(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0.0,f=0.0,g=0;if(!(k[a+12>>2]|0))d=(k[a+16>>2]|0)==0;else d=0;nT(d,358800);nT((c|0)>2,359204);if((c|0)>1){d=1;do{g=d+-1|0;f=+o[b+(g<<3)>>2]-+o[b+(d<<3)>>2];e=+o[b+(g<<3)+4>>2]-+o[b+(d<<3)+4>>2];nT(f*f+e*e>2.499999936844688e-05,358945);d=d+1|0}while((d|0)!=(c|0))}k[a+16>>2]=c+1;g=kT(c+1<<3)|0;k[a+12>>2]=g;ABb(g|0,b|0,c<<3|0)|0;b=k[a+12>>2]|0;g=k[b+4>>2]|0;k[b+(c<<3)>>2]=k[b>>2];k[b+(c<<3)+4>>2]=g;b=k[a+12>>2]|0;c=b+((k[a+16>>2]|0)+-2<<3)|0;g=k[c+4>>2]|0;k[a+20>>2]=k[c>>2];k[a+20+4>>2]=g;g=k[b+8+4>>2]|0;k[a+28>>2]=k[b+8>>2];k[a+28+4>>2]=g;i[a+36>>0]=1;i[a+37>>0]=1;return}function CS(a,b){a=a|0;b=b|0;var c=0;c=k[b+4>>2]|0;k[a+28>>2]=k[b>>2];k[a+28+4>>2]=c;i[a+37>>0]=1;return}function DS(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if((c|0)>-1)d=((k[a+16>>2]|0)+-1|0)>(c|0);else d=0;nT(d,359003);k[b+4>>2]=1;k[b+8>>2]=k[a+8>>2];d=(k[a+12>>2]|0)+(c<<3)|0;e=k[d+4>>2]|0;k[b+12>>2]=k[d>>2];k[b+12+4>>2]=e;e=(k[a+12>>2]|0)+(c+1<<3)|0;d=k[e+4>>2]|0;k[b+20>>2]=k[e>>2];k[b+20+4>>2]=d;if((c|0)>0){e=(k[a+12>>2]|0)+(c+-1<<3)|0;d=k[e+4>>2]|0;k[b+28>>2]=k[e>>2];k[b+28+4>>2]=d;d=1}else{d=k[a+20+4>>2]|0;k[b+28>>2]=k[a+20>>2];k[b+28+4>>2]=d;d=i[a+36>>0]|0}i[b+44>>0]=d;if(((k[a+16>>2]|0)+-2|0)>(c|0)){e=(k[a+12>>2]|0)+(c+2<<3)|0;a=k[e+4>>2]|0;k[b+36>>2]=k[e>>2];k[b+36+4>>2]=a;a=1;e=b+45|0;i[e>>0]=a;return}else{e=k[a+28+4>>2]|0;k[b+36>>2]=k[a+28>>2];k[b+36+4>>2]=e;a=i[a+37>>0]|0;e=b+45|0;i[e>>0]=a;return}}function ES(a){a=a|0;return}function FS(a){a=a|0;CAb(a);return}function GS(a,b){a=a|0;b=b|0;var c=0;b=eT(b,20)|0;k[b>>2]=19548;k[b+4>>2]=0;k[b+4+4>>2]=0;k[b+4+8>>2]=0;k[b+4+12>>2]=0;c=k[a+4+4>>2]|0;k[b+4>>2]=k[a+4>>2];k[b+4+4>>2]=c;c=k[a+12+4>>2]|0;k[b+12>>2]=k[a+12>>2];k[b+12+4>>2]=c;return b|0}function HS(a){a=a|0;return 1}function IS(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0,f=0.0,g=0.0,h=0.0;d=+o[b+12>>2];h=+o[a+12>>2];g=+o[b+8>>2];e=+o[a+16>>2];f=+o[c>>2]-(+o[b>>2]+(d*h-g*e));e=+o[c+4>>2]-(+o[b+4>>2]+(h*g+d*e));d=+o[a+8>>2];return f*f+e*e<=d*d|0}function JS(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0.0,g=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0;f=+o[d+12>>2];l=+o[a+12>>2];g=+o[d+8>>2];j=+o[a+16>>2];h=+o[c>>2];k=h-(+o[d>>2]+(f*l-g*j));i=+o[c+4>>2];j=i-(+o[d+4>>2]+(l*g+f*j));f=+o[a+8>>2];h=+o[c+8>>2]-h;i=+o[c+12>>2]-i;f=(k*h+j*i)*(k*h+j*i)-(k*k+j*j-f*f)*(h*h+i*i);if(f<0.0?1:h*h+i*i<1.1920928955078125e-07){b=0;return b|0}f=k*h+j*i+ +X(+f);if(!(f<=-0.0)){b=0;return b|0}if(!((h*h+i*i)*+o[c+16>>2]>=-f)){b=0;return b|0}f=-f/(h*h+i*i);o[b+8>>2]=f;o[b>>2]=k+h*f;o[b+4>>2]=j+i*f;g=+X(+((k+h*f)*(k+h*f)+(j+i*f)*(j+i*f)));if(g<1.1920928955078125e-07){b=1;return b|0}o[b>>2]=(k+h*f)*(1.0/g);o[b+4>>2]=(j+i*f)*(1.0/g);b=1;return b|0}function KS(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0.0,f=0.0,g=0.0,h=0.0,i=0.0;e=+o[c+12>>2];i=+o[a+12>>2];h=+o[c+8>>2];f=+o[a+16>>2];g=+o[c>>2]+(e*i-h*f);f=+o[c+4>>2]+(i*h+e*f);e=+o[a+8>>2];o[b>>2]=g-e;o[b+4>>2]=f-e;o[b+8>>2]=g+e;o[b+12>>2]=f+e;return}function LS(a,b,c){a=a|0;b=b|0;c=+c;var d=0.0,e=0.0,f=0.0,g=0.0,h=0;g=+o[a+8>>2];o[b>>2]=g*(c*3.1415927410125732*g);h=k[a+12+4>>2]|0;k[b+4>>2]=k[a+12>>2];k[b+4+4>>2]=h;f=+o[a+8>>2];e=+o[a+12>>2];d=+o[a+16>>2];o[b+12>>2]=g*(c*3.1415927410125732*g)*(f*(f*.5)+(e*e+d*d));return}function MS(a){a=a|0;CAb(a);return}function NS(a,b){a=a|0;b=b|0;var c=0;b=eT(b,48)|0;k[b>>2]=19588;k[b+4>>2]=1;o[b+8>>2]=.009999999776482582;k[b+28>>2]=0;k[b+28+4>>2]=0;k[b+28+8>>2]=0;k[b+28+12>>2]=0;j[b+28+16>>1]=0;c=k[a+4+4>>2]|0;k[b+4>>2]=k[a+4>>2];k[b+4+4>>2]=c;k[b+12>>2]=k[a+12>>2];k[b+12+4>>2]=k[a+12+4>>2];k[b+12+8>>2]=k[a+12+8>>2];k[b+12+12>>2]=k[a+12+12>>2];k[b+12+16>>2]=k[a+12+16>>2];k[b+12+20>>2]=k[a+12+20>>2];k[b+12+24>>2]=k[a+12+24>>2];k[b+12+28>>2]=k[a+12+28>>2];j[b+12+32>>1]=j[a+12+32>>1]|0;return b|0}function OS(a){a=a|0;return 1}function PS(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function QS(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0.0,g=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0;i=+o[d>>2];r=+o[c>>2]-i;j=+o[d+4>>2];s=+o[c+4>>2]-j;t=+o[d+12>>2];q=+o[d+8>>2];i=+o[c+8>>2]-i;j=+o[c+12>>2]-j;k=+o[a+12>>2];l=+o[a+16>>2];m=+o[a+20>>2]-k;g=+o[a+24>>2]-l;f=+X(+(m*m+g*g));if(f<1.1920928955078125e-07){p=g;h=-m}else{p=g*(1.0/f);h=1.0/f*-m}n=(k-(r*t+s*q))*p+(l-(t*s-r*q))*h;f=(t*i+q*j-(r*t+s*q))*p+(t*j-q*i-(t*s-r*q))*h;if(f==0.0){b=0;return b|0}if(n/f<0.0){b=0;return b|0}if(m*m+g*g==0.0?1:+o[c+16>>2]1.0){b=0;return b|0}o[b+8>>2]=n/f;g=p*t-h*q;f=h*t+p*q;if(n>0.0){o[b>>2]=-g;o[b+4>>2]=-f;b=1;return b|0}else{o[b>>2]=g;o[b+4>>2]=f;b=1;return b|0}return 0}function RS(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0.0,f=0.0,g=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0;f=+o[c+12>>2];k=+o[a+12>>2];h=+o[c+8>>2];j=+o[a+16>>2];m=+o[c>>2];i=+o[c+4>>2];g=+o[a+20>>2];e=+o[a+24>>2];l=+o[a+8>>2];o[b>>2]=(m+(f*k-h*j)>2]=(k*h+f*j+i>2]=l+(m+(f*k-h*j)>m+(f*g-h*e)?m+(f*k-h*j):m+(f*g-h*e));o[b+12>>2]=l+(k*h+f*j+i>i+(h*g+f*e)?k*h+f*j+i:i+(h*g+f*e));return}function SS(a,b,c){a=a|0;b=b|0;c=+c;o[b>>2]=0.0;c=(+o[a+16>>2]+ +o[a+24>>2])*.5;o[b+4>>2]=(+o[a+12>>2]+ +o[a+20>>2])*.5;o[b+8>>2]=c;o[b+12>>2]=0.0;return}function TS(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=k[b+4>>2]|0;k[a+12>>2]=k[b>>2];k[a+12+4>>2]=d;b=k[c+4>>2]|0;k[a+20>>2]=k[c>>2];k[a+20+4>>2]=b;i[a+44>>0]=0;i[a+45>>0]=0;return}function US(a){a=a|0;CAb(a);return}function VS(a,b){a=a|0;b=b|0;var c=0;b=eT(b,152)|0;k[b>>2]=19628;k[b+4>>2]=2;o[b+8>>2]=.009999999776482582;k[b+148>>2]=0;o[b+12>>2]=0.0;o[b+16>>2]=0.0;c=k[a+4+4>>2]|0;k[b+4>>2]=k[a+4>>2];k[b+4+4>>2]=c;ABb(b+12|0,a+12|0,140)|0;return b|0}function WS(a){a=a|0;return 1}function XS(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0,f=0.0,g=0.0;g=+o[c>>2]-+o[b>>2];e=+o[c+4>>2]-+o[b+4>>2];f=+o[b+12>>2];d=+o[b+8>>2];c=k[a+148>>2]|0;if((c|0)>0)b=0;else{a=1;return a|0}while(1){if((g*f+e*d-+o[a+20+(b<<3)>>2])*+o[a+84+(b<<3)>>2]+(f*e-g*d-+o[a+20+(b<<3)+4>>2])*+o[a+84+(b<<3)+4>>2]>0.0){c=0;b=4;break}b=b+1|0;if((b|0)>=(c|0)){c=1;b=4;break}}if((b|0)==4)return c|0;return 0}function YS(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0.0,g=0.0,h=0.0,i=0.0,j=0,l=0.0,m=0.0,n=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0;n=+o[d>>2];m=+o[c>>2]-n;p=+o[d+4>>2];q=+o[c+4>>2]-p;r=+o[d+12>>2];l=+o[d+8>>2];n=+o[c+8>>2]-n;p=+o[c+12>>2]-p;s=+o[c+16>>2];c=k[a+148>>2]|0;a:do if((c|0)>0){j=0;e=-1;f=0.0;g=s;b:while(1){t=+o[a+84+(j<<3)>>2];i=+o[a+84+(j<<3)+4>>2];h=(+o[a+20+(j<<3)>>2]-(m*r+q*l))*t+(+o[a+20+(j<<3)+4>>2]-(r*q-m*l))*i;i=(r*n+l*p-(m*r+q*l))*t+(r*p-l*n-(r*q-m*l))*i;do if(i==0.0){if(h<0.0){e=0;c=12;break b}}else{if(i<0.0&h0.0&h=(c|0))break a}if((c|0)==12)return e|0}else{e=-1;f=0.0}while(0);nT(f>=0.0&f<=s,359084);if((e|0)<=-1){d=0;return d|0}o[b+8>>2]=f;s=+o[d+12>>2];q=+o[a+84+(e<<3)>>2];r=+o[d+8>>2];t=+o[a+84+(e<<3)+4>>2];o[b>>2]=s*q-r*t;o[b+4>>2]=q*r+s*t;d=1;return d|0}function ZS(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0.0,i=0,j=0,l=0.0,m=0.0,n=0.0,p=0.0,q=0.0,r=0.0,s=0.0;l=+o[c+12>>2];q=+o[a+20>>2];n=+o[c+8>>2];p=+o[a+24>>2];m=+o[c>>2];h=+o[c+4>>2];d=(o[t>>2]=m+(l*q-n*p),k[t>>2]|0);g=(o[t>>2]=q*n+l*p+h,k[t>>2]|0);i=k[a+148>>2]|0;if((i|0)>1){j=1;f=d;e=g;c=d;d=g;do{p=+o[a+20+(j<<3)>>2];q=+o[a+20+(j<<3)+4>>2];r=(k[t>>2]=f,+o[t>>2]);s=(k[t>>2]=e,+o[t>>2]);f=(o[t>>2]=r>2]|0);e=(o[t>>2]=s>2]|0);s=(k[t>>2]=c,+o[t>>2]);r=(k[t>>2]=d,+o[t>>2]);c=(o[t>>2]=s>m+(l*p-n*q)?s:m+(l*p-n*q),k[t>>2]|0);d=(o[t>>2]=r>p*n+l*q+h?r:p*n+l*q+h,k[t>>2]|0);j=j+1|0}while((j|0)<(i|0))}else{f=d;e=g;c=d;d=g}s=+o[a+8>>2];q=(k[t>>2]=f,+o[t>>2])-s;r=(k[t>>2]=e,+o[t>>2])-s;o[b>>2]=q;o[b+4>>2]=r;r=(k[t>>2]=c,+o[t>>2])+s;s=(k[t>>2]=d,+o[t>>2])+s;o[b+8>>2]=r;o[b+12>>2]=s;return}function _S(a,b,c){a=a|0;b=b|0;c=+c;var d=0.0,e=0.0,f=0,g=0.0,h=0.0,i=0.0,j=0.0,l=0,m=0,n=0.0,p=0.0,q=0.0,r=0.0;nT((k[a+148>>2]|0)>2,359128);l=k[a+148>>2]|0;if((l|0)>0){f=0;d=0.0;e=0.0;do{d=d+ +o[a+20+(f<<3)>>2];e=e+ +o[a+20+(f<<3)+4>>2];f=f+1|0}while((f|0)<(l|0));j=d*(1.0/+(l|0));i=e*(1.0/+(l|0));if((l|0)>0){h=0.0;g=0.0;e=0.0;d=0.0;f=0;do{r=+o[a+20+(f<<3)>>2]-j;p=+o[a+20+(f<<3)+4>>2]-i;f=f+1|0;m=(f|0)<(l|0);q=+o[(m?a+20+(f<<3)|0:a+20|0)>>2]-j;n=+o[(m?a+20+(f<<3)+4|0:a+24|0)>>2]-i;g=g+(r*n-p*q)*.5;e=e+(r+q)*((r*n-p*q)*.5*.3333333432674408);d=d+(p+n)*((r*n-p*q)*.5*.3333333432674408);h=h+(r*n-p*q)*.0833333358168602*(q*q+(r*r+r*q)+(n*n+(p*p+p*n)))}while(m)}else{h=0.0;g=0.0;e=0.0;d=0.0}}else{j=1.0/+(l|0)*0.0;i=1.0/+(l|0)*0.0;h=0.0;g=0.0;e=0.0;d=0.0}o[b>>2]=g*c;nT(g>1.1920928955078125e-07,359141);r=1.0/g;q=e*r;r=d*r;n=j+q;p=i+r;o[b+4>>2]=n;o[b+8>>2]=p;o[b+12>>2]=h*c+ +o[b>>2]*(n*n+p*p-(q*q+r*r));return}function $S(a,b,c,d,e){a=a|0;b=+b;c=+c;d=d|0;e=+e;var f=0.0,g=0.0,h=0.0,i=0.0,j=0;k[a+148>>2]=4;o[a+20>>2]=-b;o[a+24>>2]=-c;o[a+28>>2]=b;o[a+32>>2]=-c;o[a+36>>2]=b;o[a+40>>2]=c;o[a+44>>2]=-b;o[a+48>>2]=c;o[a+84>>2]=0.0;o[a+88>>2]=-1.0;o[a+92>>2]=1.0;o[a+96>>2]=0.0;o[a+100>>2]=0.0;o[a+104>>2]=1.0;o[a+108>>2]=-1.0;o[a+112>>2]=0.0;j=k[d+4>>2]|0;k[a+12>>2]=k[d>>2];k[a+12+4>>2]=j;i=+o[d>>2];g=+o[d+4>>2];h=+_(+e);f=+Z(+e);b=-c;e=-1.0;d=0;while(1){j=a+20+(d<<3)|0;c=+o[j>>2];o[j>>2]=i+(f*c-h*b);o[a+20+(d<<3)+4>>2]=g+(h*c+f*b);j=a+84+(d<<3)|0;c=+o[j>>2];o[j>>2]=f*c-h*e;o[a+84+(d<<3)+4>>2]=h*c+f*e;d=d+1|0;if((d|0)>=(k[a+148>>2]|0))break;b=+o[a+20+(d<<3)+4>>2];e=+o[a+84+(d<<3)+4>>2]}return}function aT(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0,f=0.0,g=0,h=0,i=0,j=0,l=0,m=0.0,n=0,p=0,q=0,s=0.0,u=0.0,v=0.0;q=r;r=r+96|0;nT((c+-3|0)>>>0<6,359159);if((c|0)<3){k[a+148>>2]=4;o[a+20>>2]=-1.0;o[a+24>>2]=-1.0;o[a+28>>2]=1.0;o[a+32>>2]=-1.0;o[a+36>>2]=1.0;o[a+40>>2]=1.0;o[a+44>>2]=-1.0;o[a+48>>2]=1.0;o[a+84>>2]=0.0;o[a+88>>2]=-1.0;o[a+92>>2]=1.0;o[a+96>>2]=0.0;o[a+100>>2]=0.0;o[a+104>>2]=1.0;o[a+108>>2]=-1.0;o[a+112>>2]=0.0;o[a+12>>2]=0.0;o[a+16>>2]=0.0;r=q;return}j=(c|0)<8?c:8;if((j|0)>0){l=0;c=0;do{g=k[b+(l<<3)>>2]|0;h=k[b+(l<<3)+4>>2]|0;a:do if((c|0)>0){d=(k[t>>2]=g,+o[t>>2]);e=(k[t>>2]=h,+o[t>>2]);i=0;while(1){f=d-+o[q+32+(i<<3)>>2];m=e-+o[q+32+(i<<3)+4>>2];i=i+1|0;if(f*f+m*m<6.24999984211172e-06)break a;if((i|0)>=(c|0)){p=9;break}}}else p=9;while(0);if((p|0)==9){p=0;k[q+32+(c<<3)>>2]=g;k[q+32+(c<<3)+4>>2]=h;c=c+1|0}l=l+1|0}while((l|0)<(j|0));if((c|0)<3)p=11;else{g=0;h=1;e=+o[q+32>>2];while(1){d=+o[q+32+(h<<3)>>2];if(d>e)p=24;else if(d==e)if(+o[q+32+(h<<3)+4>>2]<+o[q+32+(g<<3)+4>>2])p=24;else d=e;else d=e;if((p|0)==24){p=0;g=h}h=h+1|0;if((h|0)==(c|0)){b=g;break}else e=d}l=b;n=0;while(1){k[q+(n<<2)>>2]=l;h=q+32+(l<<3)|0;i=q+32+(l<<3)+4|0;g=0;j=1;do{if((g|0)==(l|0))g=j;else{f=+o[h>>2];d=+o[q+32+(g<<3)>>2]-f;m=+o[i>>2];e=+o[q+32+(g<<3)+4>>2]-m;f=+o[q+32+(j<<3)>>2]-f;m=+o[q+32+(j<<3)+4>>2]-m;g=d*m-e*f<0.0?j:g;if(d*m-e*f==0.0)if(f*f+m*m>d*d+e*e)g=j}j=j+1|0}while((j|0)!=(c|0));i=n+1|0;if((g|0)==(b|0)){h=n;break}else{l=g;n=i}}if((i|0)<3){nT(0,619796);k[a+148>>2]=4;o[a+20>>2]=-1.0;o[a+24>>2]=-1.0;o[a+28>>2]=1.0;o[a+32>>2]=-1.0;o[a+36>>2]=1.0;o[a+40>>2]=1.0;o[a+44>>2]=-1.0;o[a+48>>2]=1.0;o[a+84>>2]=0.0;o[a+88>>2]=-1.0;o[a+92>>2]=1.0;o[a+96>>2]=0.0;o[a+100>>2]=0.0;o[a+104>>2]=1.0;o[a+108>>2]=-1.0;o[a+112>>2]=0.0;o[a+12>>2]=0.0;o[a+16>>2]=0.0}else{k[a+148>>2]=i;if((h|0)>=0){c=0;while(1){l=q+32+(k[q+(c<<2)>>2]<<3)|0;b=k[l+4>>2]|0;n=a+20+(c<<3)|0;k[n>>2]=k[l>>2];k[n+4>>2]=b;if((c|0)==(h|0))break;else c=c+1|0}if((h|0)>=0){c=0;do{g=c;c=c+1|0;n=(g|0)<(h|0)?c:0;d=+o[a+20+(n<<3)>>2]-+o[a+20+(g<<3)>>2];e=+o[a+20+(n<<3)+4>>2]-+o[a+20+(g<<3)+4>>2];nT(d*d+e*e>1.4210854715202004e-14,359215);o[a+84+(g<<3)>>2]=e;o[a+84+(g<<3)+4>>2]=-d;f=+X(+(d*d+e*e));if(!(f<1.1920928955078125e-07)){o[a+84+(g<<3)>>2]=e*(1.0/f);o[a+84+(g<<3)+4>>2]=1.0/f*-d}}while((g|0)!=(h|0))}}nT((h|0)>1,359204);if((h|0)>-1){f=0.0;e=0.0;d=0.0;c=0;do{v=+o[a+20+(c<<3)>>2];s=+o[a+20+(c<<3)+4>>2];n=c;c=c+1|0;n=(n|0)<(h|0)?a+20+(c<<3)|0:a+20|0;m=+o[n>>2];u=+o[n+4>>2];d=d+(v*u-s*m)*.5;f=f+(v+0.0+m)*((v*u-s*m)*.5*.3333333432674408);e=e+(s+0.0+u)*((v*u-s*m)*.5*.3333333432674408)}while((c|0)!=(i|0))}else{f=0.0;e=0.0;d=0.0}nT(d>1.1920928955078125e-07,359141);v=1.0/d;o[a+12>>2]=f*v;o[a+16>>2]=e*v}}}else p=11;if((p|0)==11){nT(0,619796);k[a+148>>2]=4;o[a+20>>2]=-1.0;o[a+24>>2]=-1.0;o[a+28>>2]=1.0;o[a+32>>2]=-1.0;o[a+36>>2]=1.0;o[a+40>>2]=1.0;o[a+44>>2]=-1.0;o[a+48>>2]=1.0;o[a+84>>2]=0.0;o[a+88>>2]=-1.0;o[a+92>>2]=1.0;o[a+96>>2]=0.0;o[a+100>>2]=0.0;o[a+104>>2]=1.0;o[a+108>>2]=-1.0;o[a+112>>2]=0.0;o[a+12>>2]=0.0;o[a+16>>2]=0.0}r=q;return}function bT(a){a=a|0;var b=0,c=0,d=0.0,e=0.0,f=0.0,g=0.0,h=0,i=0,j=0;b=k[a+148>>2]|0;if((b|0)<=0){a=1;return a|0}h=0;a:while(1){i=h;h=h+1|0;c=(i|0)<(b+-1|0)?h:0;g=+o[a+20+(i<<3)>>2];d=+o[a+20+(i<<3)+4>>2];e=+o[a+20+(c<<3)>>2]-g;f=+o[a+20+(c<<3)+4>>2]-d;j=0;do{if(!((j|0)==(i|0)|(j|0)==(c|0)))if(e*(+o[a+20+(j<<3)+4>>2]-d)-f*(+o[a+20+(j<<3)>>2]-g)<0.0){b=0;c=8;break a}j=j+1|0}while((j|0)<(b|0));if((h|0)>=(b|0)){b=1;c=8;break}}if((c|0)==8)return b|0;return 0}function cT(a){a=a|0;var b=0,c=0,d=0;nT(1,359262);k[a+8>>2]=128;k[a+4>>2]=0;b=kT(1024)|0;k[a>>2]=b;vBb(b|0,0,k[a+8>>2]<<3|0)|0;a=a+12|0;b=a+56|0;do{k[a>>2]=0;a=a+4|0}while((a|0)<(b|0));if(!(i[1248060]|0)){c=1;d=0}else return;while(1){nT((d|0)<14,359288);a=(c|0)>(k[19660+(d<<2)>>2]|0);b=d+1|0;i[1247419+c>>0]=a?b:d;c=c+1|0;if((c|0)==641)break;else d=a?b:d}i[1248060]=1;return}function dT(a){a=a|0;var b=0;if((k[a+4>>2]|0)<=0){a=k[a>>2]|0;lT(a);return}b=0;do{lT(k[(k[a>>2]|0)+(b<<3)+4>>2]|0);b=b+1|0}while((b|0)<(k[a+4>>2]|0));a=k[a>>2]|0;lT(a);return}function eT(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;if(!b){a=0;return a|0}nT((b|0)>0,359306);if((b|0)>640){a=kT(b)|0;return a|0}f=i[1247419+b>>0]|0;nT((f&255)<14,359315);b=k[a+12+((f&255)<<2)>>2]|0;if(b|0){k[a+12+((f&255)<<2)>>2]=k[b>>2];a=b;return a|0}b=k[a+4>>2]|0;if((b|0)==(k[a+8>>2]|0)){e=k[a>>2]|0;k[a+8>>2]=b+128;b=kT(b+128<<3)|0;k[a>>2]=b;ABb(b|0,e|0,k[a+4>>2]<<3|0)|0;vBb((k[a>>2]|0)+(k[a+4>>2]<<3)|0,0,1024)|0;lT(e);b=k[a+4>>2]|0}c=k[a>>2]|0;e=kT(16384)|0;d=c+(b<<3)+4|0;k[d>>2]=e;e=k[19660+((f&255)<<2)>>2]|0;k[c+(b<<3)>>2]=e;nT((ha(16384/(e|0)|0,e)|0)<16385,359351);b=k[d>>2]|0;if((16384/(e|0)|0|0)>1){c=0;do{g=b+(ha(c,e)|0)|0;c=c+1|0;h=b+(ha(c,e)|0)|0;k[g>>2]=h}while((c|0)!=((16384/(e|0)|0)+-1|0))}h=b+(ha((16384/(e|0)|0)+-1|0,e)|0)|0;k[h>>2]=0;k[a+12+((f&255)<<2)>>2]=k[b>>2];k[a+4>>2]=(k[a+4>>2]|0)+1;h=k[d>>2]|0;return h|0}function fT(a,b,c){a=a|0;b=b|0;c=c|0;if(!c)return;nT((c|0)>0,359306);if((c|0)>640){lT(b);return}else{c=i[1247419+c>>0]|0;nT((c&255)<14,359315);k[b>>2]=k[a+12+((c&255)<<2)>>2];k[a+12+((c&255)<<2)>>2]=b;return}}function gT(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0,f=0.0,g=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,p=0.0,q=0.0;f=+o[b+16>>2];q=+o[b+32>>2];j=+o[b+20>>2];p=+o[b+28>>2];n=+o[b+24>>2];g=+o[b+12>>2];l=+o[b>>2];k=+o[b+4>>2];d=+o[b+8>>2];m=(f*q-j*p)*l+k*(j*n-q*g)+(p*g-f*n)*d;m=m!=0.0?1.0/m:m;e=+o[c>>2];h=+o[c+4>>2];i=+o[c+8>>2];o[a>>2]=m*((f*q-j*p)*e+(j*n-q*g)*h+(p*g-f*n)*i);o[a+4>>2]=m*((h*q-i*p)*l+k*(i*n-q*e)+(p*e-h*n)*d);o[a+8>>2]=m*((f*i-j*h)*l+k*(j*e-i*g)+(h*g-f*e)*d);return}function hT(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0,f=0.0,g=0.0,h=0.0,i=0.0,j=0.0;g=+o[b>>2];i=+o[b+12>>2];e=+o[b+4>>2];j=+o[b+16>>2];h=g*j-i*e!=0.0?1.0/(g*j-i*e):g*j-i*e;d=+o[c>>2];f=+o[c+4>>2];o[a>>2]=h*(j*d-i*f);o[a+4>>2]=h*(g*f-e*d);return}function iT(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,f=0.0,g=0.0;d=+o[a>>2];f=+o[a+12>>2];e=+o[a+4>>2];g=+o[a+16>>2];c=d*g-f*e!=0.0?1.0/(d*g-f*e):d*g-f*e;o[b>>2]=g*c;o[b+12>>2]=f*-c;o[b+8>>2]=0.0;o[b+4>>2]=e*-c;o[b+16>>2]=d*c;k[b+20>>2]=0;k[b+20+4>>2]=0;k[b+20+8>>2]=0;k[b+20+12>>2]=0;return}function jT(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,f=0.0,g=0.0,h=0.0,i=0.0;d=+o[a+16>>2];i=+o[a+32>>2];f=+o[a+20>>2];g=+o[a+28>>2];h=+o[a+24>>2];c=+o[a+12>>2];e=+o[a>>2];f=(d*i-f*g)*e+ +o[a+4>>2]*(f*h-i*c)+(g*c-d*h)*+o[a+8>>2];f=f!=0.0?1.0/f:f;o[b>>2]=f*(d*i-g*g);o[b+4>>2]=f*(h*g-i*c);o[b+8>>2]=f*(g*c-d*h);o[b+12>>2]=f*(h*g-i*c);o[b+16>>2]=f*(e*i-h*h);o[b+20>>2]=f*(h*c-e*g);o[b+24>>2]=f*(g*c-d*h);o[b+28>>2]=f*(h*c-e*g);o[b+32>>2]=f*(e*d-c*c);return}function kT(a){a=a|0;return hqb(a)|0}function lT(a){a=a|0;iqb(a);return}function mT(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c>>2]=b;Rpb(a,c)|0;r=c;return}function nT(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;if(a){r=c;return}else{a=xf(16)|0;k[c>>2]=b;os(a,359390,c);Jc(a|0,96,27)}}function oT(a,b){a=a|0;b=b|0;var c=0;cT(a);kqa(a+68|0);Jqa(a+102872|0);k[a+102980>>2]=0;k[a+102984>>2]=0;k[a+102952>>2]=0;k[a+102952+4>>2]=0;k[a+102952+8>>2]=0;k[a+102952+12>>2]=0;i[a+102992>>0]=1;i[a+102993>>0]=1;i[a+102994>>0]=0;i[a+102995>>0]=1;i[a+102976>>0]=1;c=k[b+4>>2]|0;k[a+102968>>2]=k[b>>2];k[a+102968+4>>2]=c;k[a+102868>>2]=4;o[a+102988>>2]=0.0;k[a+102948>>2]=a;k[a+102996>>2]=0;k[a+102996+4>>2]=0;k[a+102996+8>>2]=0;k[a+102996+12>>2]=0;k[a+102996+16>>2]=0;k[a+102996+20>>2]=0;k[a+102996+24>>2]=0;k[a+102996+28>>2]=0;return}function pT(a){a=a|0;var b=0,c=0,d=0;b=k[a+102952>>2]|0;if(b|0)do{c=b;b=k[b+96>>2]|0;c=k[c+100>>2]|0;while(1){if(!c)break;d=k[c+4>>2]|0;k[c+28>>2]=0;Xqa(c,a);c=d}}while((b|0)!=0);Hpa(a+102872|0);lqa(a+68|0);dT(a);return}function qT(a,b){a=a|0;b=b|0;k[a+102980>>2]=b;return}function rT(a,b){a=a|0;b=b|0;k[a+102940>>2]=b;return}function sT(a,b){a=a|0;b=b|0;k[a+102944>>2]=b;return}function tT(a,b){a=a|0;b=b|0;var c=0;nT((k[a+102868>>2]&2|0)==0,359417);if(k[a+102868>>2]&2|0){a=0;return a|0}c=eT(a,152)|0;rqa(c,b,a);k[c+92>>2]=0;b=k[a+102952>>2]|0;k[c+96>>2]=b;if(b|0)k[b+92>>2]=c;k[a+102952>>2]=c;k[a+102960>>2]=(k[a+102960>>2]|0)+1;a=c;return a|0}function uT(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;nT((k[a+102960>>2]|0)>0,359437);nT((k[a+102868>>2]&2|0)==0,359417);if(k[a+102868>>2]&2|0)return;c=k[b+108>>2]|0;if(c|0)do{e=c;c=k[c+12>>2]|0;d=k[a+102980>>2]|0;if(!d)d=e+4|0;else{Di[k[(k[d>>2]|0)+8>>2]&511](d,k[e+4>>2]|0);d=e+4|0}vT(a,k[d>>2]|0);k[b+108>>2]=c}while((c|0)!=0);k[b+108>>2]=0;c=k[b+112>>2]|0;if(c|0)do{e=c;c=k[c+12>>2]|0;Kqa(a+102872|0,k[e+4>>2]|0)}while((c|0)!=0);k[b+112>>2]=0;c=k[b+100>>2]|0;if(!c)c=b+104|0;else{do{e=c;c=k[c+4>>2]|0;d=k[a+102980>>2]|0;if(d|0)Di[k[(k[d>>2]|0)+12>>2]&511](d,e);Zqa(e,a+102872|0);Xqa(e,a);fT(a,e,44);k[b+100>>2]=c;k[b+104>>2]=(k[b+104>>2]|0)+-1}while((c|0)!=0);c=b+104|0}k[b+100>>2]=0;k[c>>2]=0;c=k[b+92>>2]|0;if(c|0)k[c+96>>2]=k[b+96>>2];d=k[b+96>>2]|0;if(d|0)k[d+92>>2]=c;if((k[a+102952>>2]|0)==(b|0))k[a+102952>>2]=d;k[a+102960>>2]=(k[a+102960>>2]|0)+-1;fT(a,b,152);return}function vT(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;nT((k[a+102868>>2]&2|0)==0,359417);if(k[a+102868>>2]&2|0)return;g=i[b+61>>0]|0;c=k[b+8>>2]|0;if(c|0)k[c+12>>2]=k[b+12>>2];d=k[b+12>>2]|0;if(d|0)k[d+8>>2]=c;if((k[a+102956>>2]|0)==(b|0))k[a+102956>>2]=d;f=k[b+48>>2]|0;e=k[b+52>>2]|0;c=m[f+4>>1]|0;if(!(c&2)){j[f+4>>1]=c|2;o[f+144>>2]=0.0}c=m[e+4>>1]|0;if(!(c&2)){j[e+4>>1]=c|2;o[e+144>>2]=0.0}c=k[b+24>>2]|0;if(c|0)k[c+12>>2]=k[b+28>>2];d=k[b+28>>2]|0;if(d|0)k[d+8>>2]=c;if((b+16|0)==(k[f+108>>2]|0))k[f+108>>2]=d;k[b+24>>2]=0;k[b+28>>2]=0;c=k[b+40>>2]|0;if(c|0)k[c+12>>2]=k[b+44>>2];d=k[b+44>>2]|0;if(d|0)k[d+8>>2]=c;if((b+32|0)==(k[e+108>>2]|0))k[e+108>>2]=d;k[b+40>>2]=0;k[b+44>>2]=0;fU(b,a);nT((k[a+102964>>2]|0)>0,359453);k[a+102964>>2]=(k[a+102964>>2]|0)+-1;if(g<<24>>24)return;c=k[e+112>>2]|0;if(!c)return;do{if((k[c>>2]|0)==(f|0)){a=(k[c+4>>2]|0)+4|0;k[a>>2]=k[a>>2]|8}c=k[c+12>>2]|0}while((c|0)!=0);return}function wT(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;nT((k[a+102868>>2]&2|0)==0,359417);if(k[a+102868>>2]&2|0){b=0;return b|0}c=eU(b,a)|0;k[c+8>>2]=0;d=k[a+102956>>2]|0;k[c+12>>2]=d;if(d|0)k[d+8>>2]=c;k[a+102956>>2]=c;k[a+102964>>2]=(k[a+102964>>2]|0)+1;k[c+20>>2]=c;e=k[c+52>>2]|0;k[c+16>>2]=e;k[c+24>>2]=0;d=k[c+48>>2]|0;a=k[d+108>>2]|0;k[c+28>>2]=a;if(a|0)k[a+8>>2]=c+16;k[d+108>>2]=c+16;k[c+36>>2]=c;k[c+32>>2]=d;k[c+40>>2]=0;d=k[e+108>>2]|0;k[c+44>>2]=d;if(d|0)k[d+8>>2]=c+32;k[e+108>>2]=c+32;a=k[b+8>>2]|0;if(i[b+16>>0]|0){b=c;return b|0}d=k[(k[b+12>>2]|0)+112>>2]|0;if(!d){b=c;return b|0}do{if((k[d>>2]|0)==(a|0)){b=(k[d+4>>2]|0)+4|0;k[b>>2]=k[b>>2]|8}d=k[d+12>>2]|0}while((d|0)!=0);return c|0}function xT(a,b){a=a|0;b=b|0;var c=0;if((b&1|0)==(l[a+102976>>0]|0|0))return;i[a+102976>>0]=b&1;if(b)return;b=k[a+102952>>2]|0;if(!b)return;do{c=b+4|0;a=m[c>>1]|0;if(!(a&2)){j[c>>1]=a|2;o[b+144>>2]=0.0}b=k[b+96>>2]|0}while((b|0)!=0);return}function yT(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,l=0,n=0,p=0,q=0,s=0,t=0.0;q=r;r=r+96|0;o[a+103008>>2]=0.0;o[a+103012>>2]=0.0;o[a+103016>>2]=0.0;bra(q+32|0,k[a+102960>>2]|0,k[a+102936>>2]|0,k[a+102964>>2]|0,a+68|0,k[a+102944>>2]|0);c=k[a+102952>>2]|0;if(c|0)do{p=c+4|0;j[p>>1]=m[p>>1]&65534;c=k[c+96>>2]|0}while((c|0)!=0);c=k[a+102932>>2]|0;if(c|0)do{p=c+4|0;k[p>>2]=k[p>>2]&-2;c=k[c+12>>2]|0}while((c|0)!=0);c=k[a+102956>>2]|0;if(c|0)do{i[c+60>>0]=0;c=k[c+12>>2]|0}while((c|0)!=0);l=k[a+102960>>2]|0;n=mqa(a+68|0,l<<2)|0;c=k[a+102952>>2]|0;if(c|0){p=q+32+28|0;do{d=c+4|0;e=j[d>>1]|0;if((e&35)==34)if(k[c>>2]|0){k[p>>2]=0;k[q+32+36>>2]=0;k[q+32+32>>2]=0;k[n>>2]=c;j[d>>1]=e&65535|1;d=1;do{d=d+-1|0;g=k[n+(d<<2)>>2]|0;nT((j[g+4>>1]&32)!=0,359470);nT((k[p>>2]|0)<(k[q+32+40>>2]|0),359492);e=k[p>>2]|0;k[g+8>>2]=e;k[(k[q+32+8>>2]|0)+(e<<2)>>2]=g;k[p>>2]=e+1;e=m[g+4>>1]|0;if(!(e&2)){j[g+4>>1]=e|2;o[g+144>>2]=0.0}if(k[g>>2]|0){e=k[g+112>>2]|0;if(e)do{f=k[e+4>>2]|0;do if((k[f+4>>2]&7|0)==6)if(!(i[(k[f+48>>2]|0)+38>>0]|0))if(!(i[(k[f+52>>2]|0)+38>>0]|0)){nT((k[q+32+36>>2]|0)<(k[q+32+44>>2]|0),359521);h=k[q+32+36>>2]|0;k[q+32+36>>2]=h+1;k[(k[q+32+12>>2]|0)+(h<<2)>>2]=f;k[f+4>>2]=k[f+4>>2]|1;f=k[e>>2]|0;if(j[f+4>>1]&1)break;nT((d|0)<(l|0),359556);k[n+(d<<2)>>2]=f;j[f+4>>1]=m[f+4>>1]|1;d=d+1|0}while(0);e=k[e+12>>2]|0}while((e|0)!=0);e=k[g+108>>2]|0;if(e)do{f=e+4|0;g=k[f>>2]|0;if(!(i[g+60>>0]|0)){h=k[e>>2]|0;if(j[h+4>>1]&32){nT((k[q+32+32>>2]|0)<(k[q+32+48>>2]|0),359579);s=k[q+32+32>>2]|0;k[q+32+32>>2]=s+1;k[(k[q+32+16>>2]|0)+(s<<2)>>2]=g;i[(k[f>>2]|0)+60>>0]=1;if(!(j[h+4>>1]&1)){nT((d|0)<(l|0),359556);k[n+(d<<2)>>2]=h;j[h+4>>1]=m[h+4>>1]|1;d=d+1|0}}}e=k[e+12>>2]|0}while((e|0)!=0)}}while((d|0)>0);dra(q+32|0,q,b,a+102968|0,(i[a+102976>>0]|0)!=0);o[a+103008>>2]=+o[q+12>>2]+ +o[a+103008>>2];o[a+103012>>2]=+o[q+16>>2]+ +o[a+103012>>2];o[a+103016>>2]=+o[q+20>>2]+ +o[a+103016>>2];d=k[p>>2]|0;if((d|0)>0){e=k[q+32+8>>2]|0;g=0;do{f=k[e+(g<<2)>>2]|0;if(!(k[f>>2]|0))j[f+4>>1]=m[f+4>>1]&65534;g=g+1|0}while((g|0)<(d|0))}}c=k[c+96>>2]|0}while((c|0)!=0)}nqa(a+68|0,n);c=k[a+102952>>2]|0;if(!c){Mqa(a+102872|0);t=+qqa(q);s=a+103020|0;o[s>>2]=t;cra(q+32|0);r=q;return}do{if(j[c+4>>1]&1)if(k[c>>2]|0)vqa(c);c=k[c+96>>2]|0}while((c|0)!=0);Mqa(a+102872|0);t=+qqa(q);s=a+103020|0;o[s>>2]=t;cra(q+32|0);r=q;return}function zT(a,b){a=a|0;b=b|0;var c=0,d=0.0,e=0,f=0,g=0.0,h=0,l=0,n=0,p=0,q=0,s=0,u=0,v=0,w=0.0,x=0,y=0,z=0,A=0,B=0,C=0.0,D=0.0,E=0.0;B=r;r=r+272|0;bra(B+216|0,64,32,0,a+68|0,k[a+102944>>2]|0);if(!(i[a+102995>>0]|0))y=a+102932|0;else{c=k[a+102952>>2]|0;if(c|0)do{A=c+4|0;j[A>>1]=m[A>>1]&65534;o[c+60>>2]=0.0;c=k[c+96>>2]|0}while((c|0)!=0);c=k[a+102932>>2]|0;if(!c)y=a+102932|0;else{do{A=c+4|0;k[A>>2]=k[A>>2]&-34;k[c+128>>2]=0;o[c+132>>2]=1.0;c=k[c+12>>2]|0}while((c|0)!=0);y=a+102932|0}}z=B+216+28|0;A=B+216+36|0;c=k[y>>2]|0;a:do if(c|0){w=1.0;x=0;while(1){v=c+4|0;e=k[v>>2]|0;do if(!(e&4))f=x;else if((k[c+128>>2]|0)>8)f=x;else{if(!(e&32)){n=k[c+48>>2]|0;p=k[c+52>>2]|0;if(i[n+38>>0]|0){f=x;break}if(i[p+38>>0]|0){f=x;break}q=k[n+8>>2]|0;s=k[p+8>>2]|0;e=k[q>>2]|0;f=k[s>>2]|0;nT((e|0)==2|(f|0)==2,359610);h=j[q+4>>1]|0;l=j[s+4>>1]|0;if(!((e|0)!=0&(h&2)!=0|(f|0)!=0&(l&2)!=0)){f=x;break}if(!((e|0)!=2|(h&8)!=0|((f|0)!=2|(l&8)!=0))){f=x;break}d=+o[q+60>>2];g=+o[s+60>>2];if(d>2];E=+o[q+36>>2];D=+o[q+40>>2];d=(g-C)/(1.0-C)*(+o[q+48>>2]-D);o[q+36>>2]=E+(g-C)/(1.0-C)*(+o[q+44>>2]-E);o[q+40>>2]=D+d;d=+o[q+52>>2];o[q+52>>2]=d+(g-C)/(1.0-C)*(+o[q+56>>2]-d);o[q+60>>2]=g;d=g}else if(g>2];g=+o[s+36>>2];C=+o[s+40>>2];E=(d-D)/(1.0-D)*(+o[s+48>>2]-C);o[s+36>>2]=g+(d-D)/(1.0-D)*(+o[s+44>>2]-g);o[s+40>>2]=C+E;E=+o[s+52>>2];o[s+52>>2]=E+(d-D)/(1.0-D)*(+o[s+56>>2]-E);o[s+60>>2]=d}nT(d<1.0,359661);e=k[c+56>>2]|0;u=k[c+60>>2]|0;k[B+84+16>>2]=0;k[B+84+20>>2]=0;o[B+84+24>>2]=0.0;k[B+84+44>>2]=0;k[B+84+48>>2]=0;o[B+84+52>>2]=0.0;oS(B+84|0,k[n+12>>2]|0,e);oS(B+84+28|0,k[p+12>>2]|0,u);u=B+84+56|0;e=q+28|0;p=u+36|0;do{k[u>>2]=k[e>>2];u=u+4|0;e=e+4|0}while((u|0)<(p|0));u=B+84+92|0;e=s+28|0;p=u+36|0;do{k[u>>2]=k[e>>2];u=u+4|0;e=e+4|0}while((u|0)<(p|0));o[B+84+128>>2]=1.0;gqa(B+48|0,B+84|0);if((k[B+48>>2]|0)==3){d=d+(1.0-d)*+o[B+48+4>>2];d=d<1.0?d:1.0}else d=1.0;o[c+132>>2]=d;k[v>>2]=k[v>>2]|32}else d=+o[c+132>>2];f=d>2]|0;if(c|0){x=f;continue}if(w>.9999988079071045|(f|0)==0)break a;q=k[(k[f+48>>2]|0)+8>>2]|0;s=k[(k[f+52>>2]|0)+8>>2]|0;u=B+84|0;e=q+28|0;p=u+36|0;do{k[u>>2]=k[e>>2];u=u+4|0;e=e+4|0}while((u|0)<(p|0));u=B+48|0;e=s+28|0;p=u+36|0;do{k[u>>2]=k[e>>2];u=u+4|0;e=e+4|0}while((u|0)<(p|0));nT(+o[q+60>>2]<1.0,359661);D=+o[q+60>>2];D=(w-D)/(1.0-D);d=+o[q+36>>2];C=+o[q+40>>2];g=D*(+o[q+48>>2]-C);o[q+36>>2]=d+D*(+o[q+44>>2]-d);o[q+40>>2]=C+g;g=+o[q+52>>2];g=g+D*(+o[q+56>>2]-g);o[q+52>>2]=g;o[q+60>>2]=w;e=k[q+36>>2]|0;c=k[q+36+4>>2]|0;k[q+44>>2]=e;k[q+44+4>>2]=c;o[q+56>>2]=g;D=+_(+g);o[q+20>>2]=D;g=+Z(+g);o[q+24>>2]=g;C=+o[q+28>>2];d=+o[q+32>>2];E=(k[t>>2]=e,+o[t>>2])-(g*C-D*d);d=(k[t>>2]=c,+o[t>>2])-(D*C+g*d);o[q+12>>2]=E;o[q+16>>2]=d;nT(+o[s+60>>2]<1.0,359661);d=+o[s+60>>2];d=(w-d)/(1.0-d);E=+o[s+36>>2];g=+o[s+40>>2];C=d*(+o[s+48>>2]-g);o[s+36>>2]=E+d*(+o[s+44>>2]-E);o[s+40>>2]=g+C;C=+o[s+52>>2];C=C+d*(+o[s+56>>2]-C);o[s+52>>2]=C;o[s+60>>2]=w;c=k[s+36>>2]|0;e=k[s+36+4>>2]|0;k[s+44>>2]=c;k[s+44+4>>2]=e;o[s+56>>2]=C;d=+_(+C);o[s+20>>2]=d;C=+Z(+C);o[s+24>>2]=C;g=+o[s+28>>2];E=+o[s+32>>2];D=(k[t>>2]=c,+o[t>>2])-(C*g-d*E);E=(k[t>>2]=e,+o[t>>2])-(d*g+C*E);o[s+12>>2]=D;o[s+16>>2]=E;PT(f,k[a+102944>>2]|0);e=f+4|0;c=k[e>>2]|0;k[e>>2]=c&-33;x=f+128|0;k[x>>2]=(k[x>>2]|0)+1;if((c&6|0)==6){c=m[q+4>>1]|0;if(!(c&2)){j[q+4>>1]=c|2;o[q+144>>2]=0.0}c=m[s+4>>1]|0;if(!(c&2)){j[s+4>>1]=c|2;o[s+144>>2]=0.0}k[z>>2]=0;k[A>>2]=0;k[B+216+32>>2]=0;nT((k[B+216+40>>2]|0)>0,359492);c=k[z>>2]|0;k[q+8>>2]=c;k[(k[B+216+8>>2]|0)+(c<<2)>>2]=q;k[z>>2]=c+1;nT((c+1|0)<(k[B+216+40>>2]|0),359492);c=k[z>>2]|0;k[s+8>>2]=c;k[(k[B+216+8>>2]|0)+(c<<2)>>2]=s;k[z>>2]=c+1;nT((k[A>>2]|0)<(k[B+216+44>>2]|0),359521);c=k[A>>2]|0;k[A>>2]=c+1;k[(k[B+216+12>>2]|0)+(c<<2)>>2]=f;j[q+4>>1]=m[q+4>>1]|1;j[s+4>>1]=m[s+4>>1]|1;k[e>>2]=k[e>>2]|1;k[B+40>>2]=q;k[B+40+4>>2]=s;e=q;c=0;while(1){b:do if((k[e>>2]|0)==2){f=k[e+112>>2]|0;if(f|0){n=e+4|0;do{if((k[z>>2]|0)==(k[B+216+40>>2]|0))break b;if((k[A>>2]|0)==(k[B+216+44>>2]|0))break b;h=k[f+4>>2]|0;c:do if(!(k[h+4>>2]&1)){l=k[f>>2]|0;do if((k[l>>2]|0)==2){if(j[n>>1]&8)break;if(!(j[l+4>>1]&8))break c}while(0);if(i[(k[h+48>>2]|0)+38>>0]|0)break;if(i[(k[h+52>>2]|0)+38>>0]|0)break;u=B;e=l+28|0;p=u+36|0;do{k[u>>2]=k[e>>2];u=u+4|0;e=e+4|0}while((u|0)<(p|0));if(!(j[l+4>>1]&1)){nT(+o[l+60>>2]<1.0,359661);d=+o[l+60>>2];d=(w-d)/(1.0-d);E=+o[l+36>>2];g=+o[l+40>>2];C=d*(+o[l+48>>2]-g);o[l+36>>2]=E+d*(+o[l+44>>2]-E);o[l+40>>2]=g+C;C=+o[l+52>>2];C=C+d*(+o[l+56>>2]-C);o[l+52>>2]=C;o[l+60>>2]=w;v=k[l+36>>2]|0;x=k[l+36+4>>2]|0;k[l+44>>2]=v;k[l+44+4>>2]=x;o[l+56>>2]=C;d=+_(+C);o[l+20>>2]=d;C=+Z(+C);o[l+24>>2]=C;g=+o[l+28>>2];E=+o[l+32>>2];D=(k[t>>2]=v,+o[t>>2])-(C*g-d*E);E=(k[t>>2]=x,+o[t>>2])-(d*g+C*E);o[l+12>>2]=D;o[l+16>>2]=E}PT(h,k[a+102944>>2]|0);e=k[h+4>>2]|0;do if(!(e&4)){u=l+28|0;e=B;p=u+36|0;do{k[u>>2]=k[e>>2];u=u+4|0;e=e+4|0}while((u|0)<(p|0));d=+o[l+56>>2];C=+_(+d);o[l+20>>2]=C;d=+Z(+d);o[l+24>>2]=d;g=+o[l+28>>2];D=+o[l+32>>2];E=+o[l+48>>2]-(C*g+d*D);o[l+12>>2]=+o[l+44>>2]-(d*g-C*D);o[l+16>>2]=E}else{if(!(e&2)){u=l+28|0;e=B;p=u+36|0;do{k[u>>2]=k[e>>2];u=u+4|0;e=e+4|0}while((u|0)<(p|0));d=+o[l+56>>2];C=+_(+d);o[l+20>>2]=C;d=+Z(+d);o[l+24>>2]=d;g=+o[l+28>>2];D=+o[l+32>>2];E=+o[l+48>>2]-(C*g+d*D);o[l+12>>2]=+o[l+44>>2]-(d*g-C*D);o[l+16>>2]=E;break}k[h+4>>2]=e|1;nT((k[A>>2]|0)<(k[B+216+44>>2]|0),359521);e=k[A>>2]|0;k[A>>2]=e+1;k[(k[B+216+12>>2]|0)+(e<<2)>>2]=h;e=m[l+4>>1]|0;if(e&1|0)break;j[l+4>>1]=e|1;if((e&2|0)==0&(k[l>>2]|0)!=0){j[l+4>>1]=e|3;o[l+144>>2]=0.0}nT((k[z>>2]|0)<(k[B+216+40>>2]|0),359492);x=k[z>>2]|0;k[l+8>>2]=x;k[(k[B+216+8>>2]|0)+(x<<2)>>2]=l;k[z>>2]=x+1}while(0)}while(0);f=k[f+12>>2]|0}while((f|0)!=0)}}while(0);c=c+1|0;if((c|0)>=2)break;e=k[B+40+(c<<2)>>2]|0}E=(1.0-w)*+o[b>>2];o[B>>2]=E;o[B+4>>2]=1.0/E;o[B+8>>2]=1.0;k[B+16>>2]=20;k[B+12>>2]=k[b+12>>2];i[B+20>>0]=0;era(B+216|0,B,k[q+8>>2]|0,k[s+8>>2]|0);if((k[z>>2]|0)>0){e=0;do{c=k[(k[B+216+8>>2]|0)+(e<<2)>>2]|0;j[c+4>>1]=m[c+4>>1]&65534;if((k[c>>2]|0)==2){vqa(c);c=k[c+112>>2]|0;if(c|0)do{x=(k[c+4>>2]|0)+4|0;k[x>>2]=k[x>>2]&-34;c=k[c+12>>2]|0}while((c|0)!=0)}e=e+1|0}while((e|0)<(k[z>>2]|0))}Mqa(a+102872|0);if(i[a+102994>>0]|0)break}else{k[e>>2]=c&-37;u=q+28|0;e=B+84|0;p=u+36|0;do{k[u>>2]=k[e>>2];u=u+4|0;e=e+4|0}while((u|0)<(p|0));u=s+28|0;e=B+48|0;p=u+36|0;do{k[u>>2]=k[e>>2];u=u+4|0;e=e+4|0}while((u|0)<(p|0));E=+o[q+56>>2];w=+_(+E);o[q+20>>2]=w;E=+Z(+E);o[q+24>>2]=E;D=+o[q+28>>2];C=+o[q+32>>2];g=+o[q+48>>2]-(w*D+E*C);o[q+12>>2]=+o[q+44>>2]-(E*D-w*C);o[q+16>>2]=g;g=+o[s+56>>2];C=+_(+g);o[s+20>>2]=C;g=+Z(+g);o[s+24>>2]=g;w=+o[s+28>>2];D=+o[s+32>>2];E=+o[s+48>>2]-(C*w+g*D);o[s+12>>2]=+o[s+44>>2]-(g*w-C*D);o[s+16>>2]=E}c=k[y>>2]|0;if(!c)break a;else{w=1.0;x=0}}i[a+102995>>0]=0;cra(B+216|0);r=B;return}while(0);i[a+102995>>0]=1;cra(B+216|0);r=B;return}function AT(a,b,c,d){a=a|0;b=+b;c=c|0;d=d|0;var e=0,f=0,g=0.0;f=r;r=r+32|0;e=k[a+102868>>2]|0;if(e&1){Mqa(a+102872|0);e=k[a+102868>>2]&-2;k[a+102868>>2]=e}k[a+102868>>2]=e|2;o[f>>2]=b;k[f+12>>2]=c;k[f+16>>2]=d;o[f+4>>2]=b>0.0?1.0/b:0.0;o[f+8>>2]=+o[a+102988>>2]*b;i[f+20>>0]=i[a+102992>>0]|0;Lqa(a+102872|0);g=+qqa(f+24|0);o[a+103e3>>2]=g;if((i[a+102995>>0]|0)!=0&b>0.0){yT(a,f);b=+qqa(f+24|0);o[a+103004>>2]=b;b=+o[f>>2]}if((i[a+102993>>0]|0)!=0&b>0.0){zT(a,f);b=+qqa(f+24|0);o[a+103024>>2]=b;b=+o[f>>2]}if(b>0.0)k[a+102988>>2]=k[f+4>>2];d=k[a+102868>>2]|0;if(!(d&4)){c=d&-3;k[a+102868>>2]=c;g=+qqa(f+25|0);a=a+102996|0;o[a>>2]=g;r=f;return}e=k[a+102952>>2]|0;if(!e){c=d&-3;k[a+102868>>2]=c;g=+qqa(f+25|0);a=a+102996|0;o[a>>2]=g;r=f;return}do{o[e+76>>2]=0.0;o[e+80>>2]=0.0;o[e+84>>2]=0.0;e=k[e+96>>2]|0}while((e|0)!=0);c=d&-3;k[a+102868>>2]=c;g=+qqa(f+25|0);a=a+102996|0;o[a>>2]=g;r=f;return}function BT(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;k[d>>2]=a+102872;k[d+4>>2]=b;CT(a+102872|0,d,c);r=d;return}function CT(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;i=r;r=r+1040|0;k[i>>2]=i+4;k[i+1032>>2]=256;k[i+4>>2]=k[a>>2];k[i+1028>>2]=1;while(1){nT(1,443804);e=(k[i+1028>>2]|0)+-1|0;k[i+1028>>2]=e;d=k[i>>2]|0;g=k[d+(e<<2)>>2]|0;if((g|0)!=-1){f=k[a+4>>2]|0;if(!((+o[c>>2]-+o[f+(g*36|0)+8>>2]>0.0?1:+o[c+4>>2]-+o[f+(g*36|0)+12>>2]>0.0)|+o[f+(g*36|0)>>2]-+o[c+8>>2]>0.0|+o[f+(g*36|0)+4>>2]-+o[c+12>>2]>0.0)){if((k[f+(g*36|0)+24>>2]|0)==-1){d=k[b>>2]|0;if((g|0)>-1)e=(k[d+12>>2]|0)>(g|0);else e=0;nT(e,443763);f=k[b+4>>2]|0;g=gj[k[(k[f>>2]|0)+8>>2]&511](f,k[(k[(k[d+4>>2]|0)+(g*36|0)+16>>2]|0)+16>>2]|0)|0;if(g&(k[i+1028>>2]|0)>0)continue;else{h=9;break}}if((e|0)==(k[i+1032>>2]|0)){k[i+1032>>2]=e<<1;e=kT(e<<3)|0;k[i>>2]=e;ABb(e|0,d|0,k[i+1028>>2]<<2|0)|0;if((d|0)!=(i+4|0))lT(d)}d=k[i>>2]|0;k[d+(k[i+1028>>2]<<2)>>2]=k[f+(g*36|0)+24>>2];e=(k[i+1028>>2]|0)+1|0;k[i+1028>>2]=e;if((e|0)==(k[i+1032>>2]|0)){k[i+1032>>2]=e<<1;e=kT(e<<3)|0;k[i>>2]=e;ABb(e|0,d|0,k[i+1028>>2]<<2|0)|0;if((d|0)!=(i+4|0))lT(d)}d=k[i>>2]|0;k[d+(k[i+1028>>2]<<2)>>2]=k[f+(g*36|0)+28>>2];e=(k[i+1028>>2]|0)+1|0;k[i+1028>>2]=e}}if((e|0)<=0)break}if((h|0)==9)d=k[i>>2]|0;if((d|0)==(i+4|0)){r=i;return}lT(d);k[i>>2]=0;r=i;return}function DT(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+32|0;k[e+24>>2]=a+102872;k[e+24+4>>2]=b;o[e+16>>2]=1.0;b=k[c+4>>2]|0;k[e>>2]=k[c>>2];k[e+4>>2]=b;c=k[d+4>>2]|0;k[e+8>>2]=k[d>>2];k[e+8+4>>2]=c;ET(a+102872|0,e+24|0,e);r=e;return}function ET(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0.0,f=0,g=0,h=0,i=0.0,j=0.0,l=0.0,m=0,n=0,p=0.0,q=0,s=0,u=0.0,v=0.0,w=0,x=0,y=0.0,z=0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0,G=0.0,H=0.0,I=0.0;F=r;r=r+1088|0;A=+o[c>>2];B=+o[c+4>>2];C=+o[c+8>>2]-A;D=+o[c+12>>2]-B;nT(C*C+D*D>0.0,359675);e=+X(+(C*C+D*D));if(e<1.1920928955078125e-07){E=C;e=D}else{E=C*(1.0/e);e=D*(1.0/e)}y=-e;u=e<-0.0?y:e;v=E>0.0?E:-E;l=+o[c+16>>2];z=F+20+4|0;k[F+20>>2]=z;w=F+20+1028|0;x=F+20+1032|0;k[x>>2]=256;k[z>>2]=k[a>>2];k[w>>2]=1;s=(o[t>>2]=B>B+D*l?B:B+D*l,k[t>>2]|0);h=(o[t>>2]=A>A+C*l?A:A+C*l,k[t>>2]|0);g=(o[t>>2]=B>2]|0);p=l;q=(o[t>>2]=A>2]|0);a:while(1){nT(1,443804);d=(k[w>>2]|0)+-1|0;k[w>>2]=d;f=k[F+20>>2]|0;n=k[f+(d<<2)>>2]|0;do if((n|0)==-1){m=d;e=p;d=q;f=s}else{m=k[a+4>>2]|0;e=+o[m+(n*36|0)+8>>2];I=(k[t>>2]=q,+o[t>>2])-e;i=+o[m+(n*36|0)+12>>2];H=(k[t>>2]=g,+o[t>>2])-i;j=+o[m+(n*36|0)>>2];G=j-(k[t>>2]=h,+o[t>>2]);l=+o[m+(n*36|0)+4>>2];if(I>0.0|H>0.0|G>0.0|l-(k[t>>2]=s,+o[t>>2])>0.0){m=d;e=p;d=q;f=s}else{I=(A-(e+j)*.5)*y+E*(B-(i+l)*.5);if((I>0.0?I:-I)-(u*((e-j)*.5)+v*((i-l)*.5))>0.0){m=d;e=p;d=q;f=s}else{if((k[m+(n*36|0)+24>>2]|0)!=-1){if((d|0)==(k[x>>2]|0)){k[x>>2]=d<<1;d=kT(d<<3)|0;k[F+20>>2]=d;ABb(d|0,f|0,k[w>>2]<<2|0)|0;if((f|0)!=(z|0))lT(f)}d=k[F+20>>2]|0;k[d+(k[w>>2]<<2)>>2]=k[m+(n*36|0)+24>>2];f=(k[w>>2]|0)+1|0;k[w>>2]=f;if((f|0)==(k[x>>2]|0)){k[x>>2]=f<<1;f=kT(f<<3)|0;k[F+20>>2]=f;ABb(f|0,d|0,k[w>>2]<<2|0)|0;if((d|0)!=(z|0))lT(d)}k[(k[F+20>>2]|0)+(k[w>>2]<<2)>>2]=k[m+(n*36|0)+28>>2];m=(k[w>>2]|0)+1|0;k[w>>2]=m;e=p;d=q;f=s;break}d=k[c+4>>2]|0;k[F>>2]=k[c>>2];k[F+4>>2]=d;d=k[c+8+4>>2]|0;k[F+8>>2]=k[c+8>>2];k[F+8+4>>2]=d;o[F+16>>2]=p;d=k[b>>2]|0;if((n|0)>-1)f=(k[d+12>>2]|0)>(n|0);else f=0;nT(f,443763);n=k[(k[d+4>>2]|0)+(n*36|0)+16>>2]|0;d=k[n+16>>2]|0;m=k[d+12>>2]|0;if(Ni[k[(k[m>>2]|0)+20>>2]&127](m,F+1064|0,F,(k[d+8>>2]|0)+12|0,k[n+20>>2]|0)|0){e=+o[F+1064+8>>2];I=(1.0-e)*+o[F+4>>2]+e*+o[F+12>>2];o[F+1056>>2]=(1.0-e)*+o[F>>2]+e*+o[F+8>>2];o[F+1056+4>>2]=I;n=k[b+4>>2]|0;e=+Ui[k[(k[n>>2]|0)+8>>2]&1](n,d,F+1056|0,F+1064|0,e)}else e=+o[F+16>>2];if(e==0.0)break a;if(e>0.0){H=A+C*e;I=B+D*e;d=(o[t>>2]=A>2]|0);g=(o[t>>2]=B>2]|0);h=(o[t>>2]=A>H?A:H,k[t>>2]|0);f=(o[t>>2]=B>I?B:I,k[t>>2]|0)}else{e=p;d=q;f=s}m=k[w>>2]|0}}}while(0);if((m|0)>0){p=e;q=d;s=f}else break}d=k[F+20>>2]|0;if((d|0)==(z|0)){r=F;return}lT(d);k[F+20>>2]=0;r=F;return}function FT(a,b){a=a|0;b=b|0;var c=0,d=0;nT((k[a+102868>>2]&2|0)==0,359700);if(k[a+102868>>2]&2|0)return;c=k[a+102952>>2]|0;if(c|0)do{d=c+12|0;o[d>>2]=+o[d>>2]-+o[b>>2];d=c+16|0;o[d>>2]=+o[d>>2]-+o[b+4>>2];d=c+36|0;o[d>>2]=+o[d>>2]-+o[b>>2];d=c+40|0;o[d>>2]=+o[d>>2]-+o[b+4>>2];d=c+44|0;o[d>>2]=+o[d>>2]-+o[b>>2];d=c+48|0;o[d>>2]=+o[d>>2]-+o[b+4>>2];c=k[c+96>>2]|0}while((c|0)!=0);c=k[a+102956>>2]|0;if(c|0)do{Di[k[(k[c>>2]|0)+20>>2]&511](c,b);c=k[c+12>>2]|0}while((c|0)!=0);fqa(a+102872|0,b);return}function GT(a){a=a|0;return}function HT(a){a=a|0;CAb(a);return}function IT(a,b,c){a=a|0;b=b|0;c=c|0;a=j[b+36>>1]|0;if(!(a<<16>>16==0?1:a<<16>>16!=(j[c+36>>1]|0))){c=a<<16>>16>0;return c|0}if(!((j[c+32>>1]&j[b+34>>1])<<16>>16)){c=0;return c|0}c=(j[c+34>>1]&j[b+32>>1])<<16>>16!=0;return c|0}function JT(){nT(1,359744);nT(1,359787);k[157316]=67;k[157317]=205;i[629272]=1;nT(1,359744);nT(1,359787);k[157340]=68;k[157341]=206;i[629368]=1;k[157322]=68;k[157323]=206;i[629296]=0;nT(1,359744);nT(1,359787);k[157346]=69;k[157347]=207;i[629392]=1;nT(1,359744);nT(1,359787);k[157328]=70;k[157329]=208;i[629320]=1;k[157319]=70;k[157320]=208;i[629284]=0;nT(1,359744);nT(1,359787);k[157334]=71;k[157335]=209;i[629344]=1;k[157343]=71;k[157344]=209;i[629380]=0;nT(1,359744);nT(1,359787);k[157352]=72;k[157353]=210;i[629416]=1;k[157325]=72;k[157326]=210;i[629308]=0;nT(1,359744);nT(1,359787);k[157358]=73;k[157359]=211;i[629440]=1;k[157349]=73;k[157350]=211;i[629404]=0;return}function KT(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;if(!(i[1248061]|0)){JT();i[1248061]=1}g=k[(k[a+12>>2]|0)+4>>2]|0;h=k[(k[c+12>>2]|0)+4>>2]|0;nT(g>>>0<4,359744);nT(h>>>0<4,359787);f=k[629264+(g*48|0)+(h*12|0)>>2]|0;if(!f){d=0;return d|0}if(!(i[629264+(g*48|0)+(h*12|0)+8>>0]|0)){d=Ni[f&127](c,d,a,b,e)|0;return d|0}else{d=Ni[f&127](a,b,c,d,e)|0;return d|0}return 0}function LT(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;nT((i[1248061]|0)!=0,359830);e=k[a+48>>2]|0;f=k[a+52>>2]|0;if((k[a+124>>2]|0)>0)if(!(i[e+38>>0]|0))if(!(i[f+38>>0]|0)){c=k[e+8>>2]|0;d=m[c+4>>1]|0;if(!(d&2)){j[c+4>>1]=d|2;o[c+144>>2]=0.0}c=k[f+8>>2]|0;d=m[c+4>>1]|0;if(!(d&2)){j[c+4>>1]=d|2;o[c+144>>2]=0.0}}e=k[(k[e+12>>2]|0)+4>>2]|0;f=k[(k[f+12>>2]|0)+4>>2]|0;nT((e|0)>-1&(f|0)<4,359852);nT((e|0)>-1&(f|0)<4,359852);Di[k[629264+(e*48|0)+(f*12|0)+4>>2]&511](a,b);return}function MT(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0.0,g=0.0;k[a>>2]=19744;k[a+4>>2]=4;k[a+48>>2]=b;k[a+52>>2]=d;k[a+56>>2]=c;k[a+60>>2]=e;k[a+124>>2]=0;k[a+128>>2]=0;c=a+8|0;e=c+40|0;do{k[c>>2]=0;c=c+4|0}while((c|0)<(e|0));g=+X(+(+o[b+16>>2]*+o[d+16>>2]));o[a+136>>2]=g;g=+o[b+20>>2];f=+o[d+20>>2];o[a+140>>2]=g>f?g:f;o[a+144>>2]=0.0;return}function NT(a){a=a|0;return}function OT(a){a=a|0;CAb(a);return}function PT(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,l=0,n=0,p=0,q=0,s=0,t=0,u=0;u=r;r=r+64|0;c=u;d=a+64|0;e=c+64|0;do{k[c>>2]=k[d>>2];c=c+4|0;d=d+4|0}while((c|0)<(e|0));q=k[a+4>>2]|0;k[a+4>>2]=q|4;d=k[a+48>>2]|0;c=k[a+52>>2]|0;t=(i[c+38>>0]|i[d+38>>0])<<24>>24!=0;n=k[d+8>>2]|0;p=k[c+8>>2]|0;if(t){e=Xpa(k[d+12>>2]|0,k[a+56>>2]|0,k[c+12>>2]|0,k[a+60>>2]|0,n+12|0,p+12|0)|0;k[a+124>>2]=0;c=q>>>1&1}else{vj[k[k[a>>2]>>2]&127](a,a+64|0,n+12|0,p+12|0);e=(k[a+124>>2]|0)>0;a:do if(e){f=k[u+60>>2]|0;if((f|0)>0)l=0;else{c=0;while(1){o[a+64+(c*20|0)+8>>2]=0.0;o[a+64+(c*20|0)+12>>2]=0.0;c=c+1|0;if((c|0)>=(k[a+124>>2]|0))break a}}do{g=a+64+(l*20|0)+8|0;o[g>>2]=0.0;h=a+64+(l*20|0)+12|0;o[h>>2]=0.0;d=k[a+64+(l*20|0)+16>>2]|0;c=0;do{if((k[u+(c*20|0)+16>>2]|0)==(d|0)){s=8;break}c=c+1|0}while((c|0)<(f|0));if((s|0)==8){s=0;k[g>>2]=k[u+(c*20|0)+8>>2];k[h>>2]=k[u+(c*20|0)+12>>2]}l=l+1|0}while((l|0)<(k[a+124>>2]|0))}while(0);if((q>>>1&1|0)!=0^e){c=m[n+4>>1]|0;if(!(c&2)){j[n+4>>1]=c|2;o[n+144>>2]=0.0}c=m[p+4>>1]|0;if(!(c&2)){j[p+4>>1]=c|2;o[p+144>>2]=0.0;c=q>>>1&1}else c=q>>>1&1}else c=q>>>1&1}d=k[a+4>>2]|0;k[a+4>>2]=e?d|2:d&-3;c=(c|0)==0;d=(b|0)!=0&e;if(c&d)Di[k[(k[b>>2]|0)+8>>2]&511](b,a);if((b|0)!=0&(e^1)&(c^1))Di[k[(k[b>>2]|0)+12>>2]&511](b,a);if(!(d&(t^1))){r=u;return}kj[k[(k[b>>2]|0)+16>>2]&255](b,a,u);r=u;return}function QT(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Ppa(b,k[(k[a+48>>2]|0)+12>>2]|0,c,k[(k[a+52>>2]|0)+12>>2]|0,d);return}function RT(a){a=a|0;CAb(a);return}function ST(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;e=eT(e,148)|0;MT(e,a,0,c,0);k[e>>2]=19764;nT((k[(k[(k[e+48>>2]|0)+12>>2]|0)+4>>2]|0)==1,359957);nT((k[(k[(k[e+52>>2]|0)+12>>2]|0)+4>>2]|0)==0,444082);return e|0}function TT(a,b){a=a|0;b=b|0;Si[k[(k[a>>2]|0)+4>>2]&1023](a);fT(b,a,148);return}function UT(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Spa(b,k[(k[a+48>>2]|0)+12>>2]|0,c,k[(k[a+52>>2]|0)+12>>2]|0,d);return}function VT(a){a=a|0;CAb(a);return}function WT(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;e=eT(e,148)|0;MT(e,a,0,c,0);k[e>>2]=19784;nT((k[(k[(k[e+48>>2]|0)+12>>2]|0)+4>>2]|0)==1,359957);nT((k[(k[(k[e+52>>2]|0)+12>>2]|0)+4>>2]|0)==2,443977);return e|0}function XT(a,b){a=a|0;b=b|0;Si[k[(k[a>>2]|0)+4>>2]&1023](a);fT(b,a,148);return}function YT(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Opa(b,k[(k[a+48>>2]|0)+12>>2]|0,c,k[(k[a+52>>2]|0)+12>>2]|0,d);return}function ZT(a){a=a|0;CAb(a);return}function _T(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;e=eT(e,148)|0;MT(e,a,0,c,0);k[e>>2]=19804;nT((k[(k[(k[e+48>>2]|0)+12>>2]|0)+4>>2]|0)==2,360045);nT((k[(k[(k[e+52>>2]|0)+12>>2]|0)+4>>2]|0)==0,444082);return e|0}function $T(a,b){a=a|0;b=b|0;Si[k[(k[a>>2]|0)+4>>2]&1023](a);fT(b,a,148);return}function aU(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Tpa(b,k[(k[a+48>>2]|0)+12>>2]|0,c,k[(k[a+52>>2]|0)+12>>2]|0,d);return}function bU(a){a=a|0;CAb(a);return}function cU(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;e=eT(e,148)|0;MT(e,a,0,c,0);k[e>>2]=19824;nT((k[(k[(k[e+48>>2]|0)+12>>2]|0)+4>>2]|0)==2,360045);nT((k[(k[(k[e+52>>2]|0)+12>>2]|0)+4>>2]|0)==2,443977);return e|0}function dU(a,b){a=a|0;b=b|0;Si[k[(k[a>>2]|0)+4>>2]&1023](a);fT(b,a,148);return}function eU(a,b){a=a|0;b=b|0;do switch(k[a>>2]|0){case 3:{b=eT(b,176)|0;Kra(b,a);a=b;return a|0}case 5:{b=eT(b,168)|0;QU(b,a);a=b;return a|0}case 2:{b=eT(b,256)|0;hV(b,a);a=b;return a|0}case 1:{b=eT(b,228)|0;VV(b,a);a=b;return a|0}case 4:{b=eT(b,196)|0;FV(b,a);a=b;return a|0}case 6:{b=eT(b,276)|0;hsa(b,a);a=b;return a|0}case 7:{b=eT(b,224)|0;MW(b,a);a=b;return a|0}case 8:{b=eT(b,208)|0;BW(b,a);a=b;return a|0}case 9:{b=eT(b,180)|0;Vra(b,a);a=b;return a|0}case 10:{b=eT(b,168)|0;pW(b,a);a=b;return a|0}case 11:{b=eT(b,192)|0;vU(b,a);a=b;return a|0}default:{nT(0,619796);a=0;return a|0}}while(0);return 0}function fU(a,b){a=a|0;b=b|0;Si[k[(k[a>>2]|0)+24>>2]&1023](a);do switch(k[a+4>>2]|0){case 3:{fT(b,a,176);return}case 5:{fT(b,a,168);return}case 2:{fT(b,a,256);return}case 1:{fT(b,a,228);return}case 4:{fT(b,a,196);return}case 6:{fT(b,a,276);return}case 7:{fT(b,a,224);return}case 8:{fT(b,a,208);return}case 9:{fT(b,a,180);return}case 10:{fT(b,a,168);return}case 11:{fT(b,a,192);return}default:{nT(0,619796);return}}while(0)}function gU(a,b){a=a|0;b=b|0;k[a>>2]=19844;nT((k[b+8>>2]|0)!=(k[b+12>>2]|0),360145);k[a+4>>2]=k[b>>2];k[a+8>>2]=0;k[a+12>>2]=0;k[a+48>>2]=k[b+8>>2];k[a+52>>2]=k[b+12>>2];k[a+56>>2]=0;i[a+61>>0]=i[b+16>>0]|0;i[a+60>>0]=0;k[a+64>>2]=k[b+4>>2];k[a+16>>2]=0;k[a+16+4>>2]=0;k[a+16+8>>2]=0;k[a+16+12>>2]=0;k[a+16+16>>2]=0;k[a+16+20>>2]=0;k[a+16+24>>2]=0;k[a+16+28>>2]=0;return}function hU(a){a=a|0;a=r;r=r+16|0;mT(360098,a);r=a;return}function iU(a,b){a=a|0;b=b|0;return}function jU(a){a=a|0;return}function kU(a){a=a|0;CAb(a);return}function lU(a,b){a=a|0;b=b|0;var c=0;c=(k[b+48>>2]|0)+12|0;b=k[c+4>>2]|0;k[a>>2]=k[c>>2];k[a+4>>2]=b;return}function mU(a,b){a=a|0;b=b|0;var c=0;c=(k[b+52>>2]|0)+12|0;b=k[c+4>>2]|0;k[a>>2]=k[c>>2];k[a+4>>2]=b;return}function nU(a,b,c){a=a|0;b=b|0;c=+c;var d=0.0;d=+o[b+84>>2]*c;o[a>>2]=+o[b+80>>2]*c;o[a+4>>2]=d;return}function oU(a,b){a=a|0;b=+b;return +(+o[a+88>>2]*b)}function pU(a){a=a|0;var b=0,c=0.0,d=0,e=0;b=r;r=r+96|0;e=k[(k[a+48>>2]|0)+8>>2]|0;d=k[(k[a+52>>2]|0)+8>>2]|0;mT(360185,b);k[b+8>>2]=e;mT(444660,b+8|0);k[b+16>>2]=d;mT(444686,b+16|0);k[b+24>>2]=l[a+61>>0];mT(444712,b+24|0);c=+o[a+72>>2];p[b+32>>3]=+o[a+68>>2];p[b+32+8>>3]=c;mT(360208,b+32|0);p[b+48>>3]=+o[a+76>>2];mT(360250,b+48|0);p[b+56>>3]=+o[a+92>>2];mT(444501,b+56|0);p[b+64>>3]=+o[a+96>>2];mT(444527,b+64|0);p[b+72>>3]=+o[a+100>>2];mT(360281,b+72|0);k[b+80>>2]=k[a+56>>2];mT(444824,b+80|0);r=b;return}function qU(a){a=a|0;CAb(a);return}function rU(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,f=0.0,g=0,h=0,j=0.0,l=0,m=0,n=0.0,p=0.0,q=0.0,r=0.0,s=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0;J=k[a+48>>2]|0;m=k[J+8>>2]|0;k[a+104>>2]=m;I=k[a+52>>2]|0;Q=k[I+8>>2]|0;k[a+108>>2]=Q;P=k[J+28>>2]|0;O=k[J+28+4>>2]|0;k[a+128>>2]=P;k[a+128+4>>2]=O;N=k[I+28>>2]|0;M=k[I+28+4>>2]|0;k[a+136>>2]=N;k[a+136+4>>2]=M;L=k[J+120>>2]|0;k[a+156>>2]=L;K=k[I+120>>2]|0;k[a+160>>2]=K;J=k[J+128>>2]|0;k[a+164>>2]=J;I=k[I+128>>2]|0;k[a+168>>2]=I;l=k[b+24>>2]|0;E=+o[l+(m*12|0)>>2];C=+o[l+(m*12|0)+4>>2];y=+o[l+(m*12|0)+8>>2];R=k[b+28>>2]|0;g=k[R+(m*12|0)>>2]|0;h=k[R+(m*12|0)+4>>2]|0;j=+o[R+(m*12|0)+8>>2];F=+o[l+(Q*12|0)>>2];D=+o[l+(Q*12|0)+4>>2];z=+o[l+(Q*12|0)+8>>2];l=k[R+(Q*12|0)>>2]|0;m=k[R+(Q*12|0)+4>>2]|0;n=+o[R+(Q*12|0)+8>>2];p=+_(+y);q=+Z(+y);r=+_(+z);s=+Z(+z);u=-(k[t>>2]=P,+o[t>>2]);v=-(k[t>>2]=O,+o[t>>2]);o[a+112>>2]=q*u-p*v;o[a+116>>2]=p*u+q*v;w=-(k[t>>2]=N,+o[t>>2]);x=-(k[t>>2]=M,+o[t>>2]);o[a+120>>2]=s*w-r*x;o[a+124>>2]=r*w+s*x;c=(k[t>>2]=L,+o[t>>2]);d=(k[t>>2]=K,+o[t>>2]);e=(k[t>>2]=J,+o[t>>2]);f=(k[t>>2]=I,+o[t>>2]);A=c+d+(p*u+q*v)*(e*(p*u+q*v))+(r*w+s*x)*(f*(r*w+s*x));G=-((p*u+q*v)*(e*(q*u-p*v)))-(r*w+s*x)*(f*(s*w-r*x));H=c+d+(q*u-p*v)*(e*(q*u-p*v))+(s*w-r*x)*(f*(s*w-r*x));B=A*H-G*G!=0.0?1.0/(A*H-G*G):A*H-G*G;o[a+172>>2]=H*B;o[a+176>>2]=-(G*B);o[a+180>>2]=-(G*B);o[a+184>>2]=A*B;o[a+188>>2]=e+f>0.0?1.0/(e+f):e+f;B=+o[a+68>>2];A=+o[a+72>>2];o[a+144>>2]=F+(s*w-r*x)-E-(q*u-p*v)-(q*B-p*A);o[a+148>>2]=D+(r*w+s*x)-C-(p*u+q*v)-(p*B+q*A);o[a+152>>2]=z-y-+o[a+76>>2];if(!(i[b+20>>0]|0)){o[a+80>>2]=0.0;o[a+84>>2]=0.0;o[a+88>>2]=0.0;L=g;P=h;N=l;Q=m;G=j;H=n;R=k[a+104>>2]|0;O=k[b+28>>2]|0;M=O+(R*12|0)|0;k[M>>2]=L;R=O+(R*12|0)+4|0;k[R>>2]=P;R=k[a+104>>2]|0;P=k[b+28>>2]|0;R=P+(R*12|0)+8|0;o[R>>2]=G;R=k[a+108>>2]|0;O=P+(R*12|0)|0;k[O>>2]=N;R=P+(R*12|0)+4|0;k[R>>2]=Q;R=k[a+108>>2]|0;Q=k[b+28>>2]|0;R=Q+(R*12|0)+8|0;o[R>>2]=H;return}else{E=+o[b+8>>2];H=E*+o[a+80>>2];o[a+80>>2]=H;F=E*+o[a+84>>2];o[a+84>>2]=F;E=E*+o[a+88>>2];o[a+88>>2]=E;L=(o[t>>2]=(k[t>>2]=g,+o[t>>2])-c*H,k[t>>2]|0);P=(o[t>>2]=(k[t>>2]=h,+o[t>>2])-c*F,k[t>>2]|0);N=(o[t>>2]=(k[t>>2]=l,+o[t>>2])+d*H,k[t>>2]|0);Q=(o[t>>2]=(k[t>>2]=m,+o[t>>2])+d*F,k[t>>2]|0);G=j-e*(E+(F*+o[a+112>>2]-H*(p*u+q*v)));H=n+f*(E+(F*(s*w-r*x)-H*(r*w+s*x)));R=k[a+104>>2]|0;O=k[b+28>>2]|0;M=O+(R*12|0)|0;k[M>>2]=L;R=O+(R*12|0)+4|0;k[R>>2]=P;R=k[a+104>>2]|0;P=k[b+28>>2]|0;R=P+(R*12|0)+8|0;o[R>>2]=G;R=k[a+108>>2]|0;O=P+(R*12|0)|0;k[O>>2]=N;R=P+(R*12|0)+4|0;k[R>>2]=Q;R=k[a+108>>2]|0;Q=k[b+28>>2]|0;R=Q+(R*12|0)+8|0;o[R>>2]=H;return}}function sU(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,f=0.0,g=0.0,h=0.0,i=0.0,j=0.0,l=0.0,m=0.0,n=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0,B=0;A=k[a+104>>2]|0;B=k[b+28>>2]|0;q=+o[B+(A*12|0)>>2];v=+o[B+(A*12|0)+4>>2];x=+o[B+(A*12|0)+8>>2];A=k[a+108>>2]|0;g=+o[B+(A*12|0)>>2];h=+o[B+(A*12|0)+4>>2];i=+o[B+(A*12|0)+8>>2];j=+o[a+156>>2];l=+o[a+160>>2];m=+o[a+164>>2];n=+o[a+168>>2];e=+o[b>>2];d=+o[b+4>>2]*+o[a+100>>2];p=+o[a+88>>2];s=e*+o[a+96>>2];r=p-+o[a+188>>2]*(i-x+d*+o[a+152>>2]);r=r>2]=r;s=+o[a+124>>2];t=+o[a+120>>2];u=+o[a+116>>2];w=+o[a+112>>2];c=+o[a+144>>2]*d+(u*(x-m*(r-p))+(g-s*(i+n*(r-p))-q));d=d*+o[a+148>>2]+(h+t*(i+n*(r-p))-v-w*(x-m*(r-p)));f=+o[a+176>>2]*c+ +o[a+184>>2]*d;y=+o[a+80>>2];z=+o[a+84>>2];d=y-(+o[a+172>>2]*c+ +o[a+180>>2]*d);o[a+80>>2]=d;o[a+84>>2]=z-f;e=e*+o[a+92>>2];if((z-f)*(z-f)+d*d>e*e){c=+X(+((z-f)*(z-f)+d*d));if(c<1.1920928955078125e-07)c=z-f;else{o[a+80>>2]=d*(1.0/c);o[a+84>>2]=(z-f)*(1.0/c);d=d*(1.0/c);c=(z-f)*(1.0/c)}d=e*d;o[a+80>>2]=d;c=e*c;o[a+84>>2]=c}else c=z-f;y=d-y;z=c-z;A=k[a+104>>2]|0;B=k[b+28>>2]|0;o[B+(A*12|0)>>2]=q-j*y;o[B+(A*12|0)+4>>2]=v-j*z;A=k[b+28>>2]|0;o[A+((k[a+104>>2]|0)*12|0)+8>>2]=x-m*(r-p)-m*(w*z-y*u);B=k[a+108>>2]|0;o[A+(B*12|0)>>2]=g+l*y;o[A+(B*12|0)+4>>2]=h+l*z;o[(k[b+28>>2]|0)+((k[a+108>>2]|0)*12|0)+8>>2]=i+n*(r-p)+n*(z*t-y*s);return}function tU(a,b){a=a|0;b=b|0;return 1}function uU(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0,f=0.0,g=0.0;k[a+8>>2]=b;k[a+12>>2]=c;e=+o[c+12>>2]-+o[b+12>>2];f=+o[c+16>>2]-+o[b+16>>2];g=+o[b+24>>2];d=+o[b+20>>2];o[a+20>>2]=e*g+f*d;o[a+24>>2]=g*f-e*d;o[a+28>>2]=+o[c+56>>2]-+o[b+56>>2];return}function vU(a,b){a=a|0;b=b|0;var c=0;gU(a,b);k[a>>2]=19896;c=k[b+20+4>>2]|0;k[a+68>>2]=k[b+20>>2];k[a+68+4>>2]=c;k[a+76>>2]=k[b+28>>2];o[a+80>>2]=0.0;o[a+84>>2]=0.0;o[a+88>>2]=0.0;k[a+92>>2]=k[b+32>>2];k[a+96>>2]=k[b+36>>2];k[a+100>>2]=k[b+40>>2];return}function wU(a,b){a=a|0;b=+b;nT(b>=0.0&((o[t>>2]=b,k[t>>2]|0)&2139095040|0)!=2139095040,444554);o[a+92>>2]=b;return}function xU(a){a=a|0;return +(+o[a+92>>2])}function yU(a,b){a=a|0;b=+b;nT(b>=0.0&((o[t>>2]=b,k[t>>2]|0)&2139095040|0)!=2139095040,444588);o[a+96>>2]=b;return}function zU(a){a=a|0;return +(+o[a+96>>2])}function AU(a,b){a=a|0;b=+b;nT(b<=1.0&(b>=0.0&((o[t>>2]=b,k[t>>2]|0)&2139095040|0)!=2139095040),360315);o[a+100>>2]=b;return}function BU(a){a=a|0;return +(+o[a+100>>2])}function CU(a,b){a=a|0;b=b|0;var c=0,d=0;if(!(+o[b>>2]!=+o[a+68>>2]))if(!(+o[b+4>>2]!=+o[a+72>>2]))return;c=k[a+48>>2]|0;d=m[c+4>>1]|0;if(!(d&2)){j[c+4>>1]=d|2;o[c+144>>2]=0.0}c=k[a+52>>2]|0;d=m[c+4>>1]|0;if(!(d&2)){j[c+4>>1]=d|2;o[c+144>>2]=0.0}d=k[b+4>>2]|0;k[a+68>>2]=k[b>>2];k[a+68+4>>2]=d;return}function DU(a){a=a|0;return a+68|0}function EU(a,b){a=a|0;b=+b;var c=0,d=0;if(!(+o[a+76>>2]!=b))return;c=k[a+48>>2]|0;d=m[c+4>>1]|0;if(!(d&2)){j[c+4>>1]=d|2;o[c+144>>2]=0.0}c=k[a+52>>2]|0;d=m[c+4>>1]|0;if(!(d&2)){j[c+4>>1]=d|2;o[c+144>>2]=0.0}o[a+76>>2]=b;return}function FU(a){a=a|0;return +(+o[a+76>>2])}function GU(a,b){a=a|0;b=b|0;var c=0;c=k[b+76+4>>2]|0;k[a>>2]=k[b+76>>2];k[a+4>>2]=c;return}function HU(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,f=0.0,g=0.0,h=0;h=k[b+52>>2]|0;g=+o[h+24>>2];f=+o[b+68>>2];e=+o[h+20>>2];d=+o[b+72>>2];c=f*e+g*d+ +o[h+16>>2];o[a>>2]=+o[h+12>>2]+(g*f-e*d);o[a+4>>2]=c;return}function IU(a,b,c){a=a|0;b=b|0;c=+c;var d=0.0;d=+o[b+100>>2]*c;o[a>>2]=+o[b+96>>2]*c;o[a+4>>2]=d;return}function JU(a,b){a=a|0;b=+b;return +(b*0.0)}function KU(a){a=a|0;a=r;r=r+16|0;mT(360384,a);r=a;return}function LU(a,b){a=a|0;b=b|0;o[a+76>>2]=+o[a+76>>2]-+o[b>>2];o[a+80>>2]=+o[a+80>>2]-+o[b+4>>2];return}function MU(a){a=a|0;CAb(a);return}function NU(a,b){a=a|0;b=b|0;var c=0,d=0,e=0.0,f=0.0,g=0.0,h=0.0,j=0.0,l=0.0,m=0.0,n=0.0,p=0.0,q=0.0,r=0.0,s=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0,z=0,A=0;y=k[a+52>>2]|0;z=k[y+8>>2]|0;k[a+116>>2]=z;A=k[y+28+4>>2]|0;k[a+128>>2]=k[y+28>>2];k[a+128+4>>2]=A;k[a+136>>2]=k[y+120>>2];k[a+140>>2]=k[y+128>>2];A=k[b+24>>2]|0;u=+o[A+(z*12|0)>>2];s=+o[A+(z*12|0)+4>>2];g=+o[A+(z*12|0)+8>>2];A=k[b+28>>2]|0;c=k[A+(z*12|0)>>2]|0;d=k[A+(z*12|0)+4>>2]|0;e=+o[A+(z*12|0)+8>>2];f=+_(+g);g=+Z(+g);q=+o[y+116>>2];p=+o[a+84>>2]*6.2831854820251465;r=+o[b>>2];n=p*(q*2.0*+o[a+88>>2])+r*(q*(p*p));nT(n>1.1920928955078125e-07,360423);n=r*n!=0.0?1.0/(r*n):r*n;o[a+108>>2]=n;o[a+92>>2]=r*(q*(p*p))*n;h=+o[a+68>>2]-+o[a+128>>2];j=+o[a+72>>2]-+o[a+132>>2];o[a+120>>2]=g*h-f*j;o[a+124>>2]=f*h+g*j;l=+o[a+136>>2];m=+o[a+140>>2];w=(f*h+g*j)*(m*(g*h-f*j));x=n+(l+(g*h-f*j)*(m*(g*h-f*j)));v=(n+(l+(f*h+g*j)*((f*h+g*j)*m)))*x-w*w;v=v!=0.0?1.0/v:v;o[a+144>>2]=x*v;o[a+148>>2]=w*v;o[a+152>>2]=w*v;o[a+156>>2]=(n+(l+(f*h+g*j)*((f*h+g*j)*m)))*v;s=s+(f*h+g*j)-+o[a+80>>2];o[a+160>>2]=(u+(g*h-f*j)-+o[a+76>>2])*(r*(q*(p*p))*n);o[a+164>>2]=s*(r*(q*(p*p))*n);if(!(i[b+20>>0]|0)){o[a+96>>2]=0.0;o[a+100>>2]=0.0;z=d;x=e*.9800000190734863;A=k[a+116>>2]|0;y=k[b+28>>2]|0;d=y+(A*12|0)|0;k[d>>2]=c;A=y+(A*12|0)+4|0;k[A>>2]=z;A=k[a+116>>2]|0;z=k[b+28>>2]|0;A=z+(A*12|0)+8|0;o[A>>2]=x;return}else{w=+o[b+8>>2];x=w*+o[a+96>>2];o[a+96>>2]=x;w=w*+o[a+100>>2];o[a+100>>2]=w;c=(o[t>>2]=(k[t>>2]=c,+o[t>>2])+x*l,k[t>>2]|0);z=(o[t>>2]=(k[t>>2]=d,+o[t>>2])+w*l,k[t>>2]|0);x=e*.9800000190734863+m*(w*(g*h-f*j)-x*(f*h+g*j));A=k[a+116>>2]|0;y=k[b+28>>2]|0;d=y+(A*12|0)|0;k[d>>2]=c;A=y+(A*12|0)+4|0;k[A>>2]=z;A=k[a+116>>2]|0;z=k[b+28>>2]|0;A=z+(A*12|0)+8|0;o[A>>2]=x;return}}function OU(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,f=0,g=0.0,h=0.0,i=0.0,j=0,l=0.0,m=0.0,n=0.0,p=0.0,q=0.0;f=k[a+116>>2]|0;j=k[b+28>>2]|0;m=+o[j+(f*12|0)>>2];n=+o[j+(f*12|0)+4>>2];p=+o[j+(f*12|0)+8>>2];g=+o[a+124>>2];h=+o[a+120>>2];c=+o[a+108>>2];i=+o[a+96>>2];l=+o[a+100>>2];d=-(m-p*g+ +o[a+160>>2]+c*i);c=-(n+p*h+ +o[a+164>>2]+c*l);e=+o[a+148>>2]*d+ +o[a+156>>2]*c;c=i+(+o[a+144>>2]*d+ +o[a+152>>2]*c);o[a+96>>2]=c;o[a+100>>2]=e+l;d=+o[b>>2]*+o[a+104>>2];if((e+l)*(e+l)+c*c>d*d){q=d/+X(+((e+l)*(e+l)+c*c));o[a+96>>2]=c*q;o[a+100>>2]=q*(e+l);d=c*q;c=q*(e+l)}else{d=c;c=e+l}e=d-i;i=c-l;l=+o[a+136>>2];q=p+ +o[a+140>>2]*(i*h-e*g);o[j+(f*12|0)>>2]=m+e*l;o[j+(f*12|0)+4>>2]=n+i*l;o[(k[b+28>>2]|0)+((k[a+116>>2]|0)*12|0)+8>>2]=q;return}function PU(a,b){a=a|0;b=b|0;return 1}function QU(a,b){a=a|0;b=b|0;var c=0,d=0.0,e=0.0,f=0.0,g=0.0,h=0,i=0;gU(a,b);k[a>>2]=19948;if((k[b+20>>2]&2139095040|0)==2139095040)c=0;else c=(k[b+24>>2]&2139095040|0)!=2139095040;nT(c,360446);e=+o[b+28>>2];nT(e>=0.0&((o[t>>2]=e,k[t>>2]|0)&2139095040|0)!=2139095040,360468);e=+o[b+32>>2];nT(e>=0.0&((o[t>>2]=e,k[t>>2]|0)&2139095040|0)!=2139095040,360518);e=+o[b+36>>2];nT(e>=0.0&((o[t>>2]=e,k[t>>2]|0)&2139095040|0)!=2139095040,360574);i=k[b+20>>2]|0;h=k[b+20+4>>2]|0;k[a+76>>2]=i;k[a+76+4>>2]=h;c=k[a+52>>2]|0;e=(k[t>>2]=i,+o[t>>2])-+o[c+12>>2];f=(k[t>>2]=h,+o[t>>2])-+o[c+16>>2];g=+o[c+24>>2];d=+o[c+20>>2];o[a+68>>2]=e*g+f*d;o[a+72>>2]=g*f-e*d;k[a+104>>2]=k[b+28>>2];o[a+96>>2]=0.0;o[a+100>>2]=0.0;k[a+84>>2]=k[b+32>>2];k[a+88>>2]=k[b+36>>2];o[a+92>>2]=0.0;o[a+108>>2]=0.0;return}function RU(a,b){a=a|0;b=b|0;var c=0,d=0;c=k[a+52>>2]|0;d=j[c+4>>1]|0;if(!(d&2))if(!(d&2)){j[c+4>>1]=d&65535|2;o[c+144>>2]=0.0}d=k[b+4>>2]|0;k[a+76>>2]=k[b>>2];k[a+76+4>>2]=d;return}function SU(a){a=a|0;return a+76|0}function TU(a,b){a=a|0;b=+b;o[a+104>>2]=b;return}function UU(a){a=a|0;return +(+o[a+104>>2])}function VU(a,b){a=a|0;b=+b;o[a+84>>2]=b;return}function WU(a){a=a|0;return +(+o[a+84>>2])}function XU(a,b){a=a|0;b=+b;o[a+88>>2]=b;return}function YU(a){a=a|0;return +(+o[a+88>>2])}function ZU(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,f=0.0,g=0.0,h=0;h=k[b+48>>2]|0;g=+o[h+24>>2];f=+o[b+68>>2];e=+o[h+20>>2];d=+o[b+72>>2];c=f*e+g*d+ +o[h+16>>2];o[a>>2]=+o[h+12>>2]+(g*f-e*d);o[a+4>>2]=c;return}function _U(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,f=0.0,g=0.0,h=0;h=k[b+52>>2]|0;g=+o[h+24>>2];f=+o[b+76>>2];e=+o[h+20>>2];d=+o[b+80>>2];c=f*e+g*d+ +o[h+16>>2];o[a>>2]=+o[h+12>>2]+(g*f-e*d);o[a+4>>2]=c;return}function $U(a,b,c){a=a|0;b=b|0;c=+c;var d=0.0,e=0.0,f=0.0;f=+o[b+104>>2];e=+o[b+116>>2]+ +o[b+112>>2];d=(f*+o[b+196>>2]+e*+o[b+188>>2])*c;o[a>>2]=(f*+o[b+192>>2]+ +o[b+184>>2]*e)*c;o[a+4>>2]=d;return}function aV(a,b){a=a|0;b=+b;return +(+o[a+108>>2]*b)}function bV(a){a=a|0;var b=0,c=0.0,d=0,e=0;b=r;r=r+144|0;e=k[(k[a+48>>2]|0)+8>>2]|0;d=k[(k[a+52>>2]|0)+8>>2]|0;mT(360651,b);k[b+8>>2]=e;mT(444660,b+8|0);k[b+16>>2]=d;mT(444686,b+16|0);k[b+24>>2]=l[a+61>>0];mT(444712,b+24|0);c=+o[a+72>>2];p[b+32>>3]=+o[a+68>>2];p[b+32+8>>3]=c;mT(444417,b+32|0);c=+o[a+80>>2];p[b+48>>3]=+o[a+76>>2];p[b+48+8>>3]=c;mT(444459,b+48|0);c=+o[a+88>>2];p[b+64>>3]=+o[a+84>>2];p[b+64+8>>3]=c;mT(361305,b+64|0);p[b+80>>3]=+o[a+100>>2];mT(361235,b+80|0);k[b+88>>2]=l[a+136>>0];mT(361035,b+88|0);p[b+96>>3]=+o[a+120>>2];mT(360678,b+96|0);p[b+104>>3]=+o[a+124>>2];mT(360712,b+104|0);k[b+112>>2]=l[a+137>>0];mT(361345,b+112|0);p[b+120>>3]=+o[a+132>>2];mT(361375,b+120|0);p[b+128>>3]=+o[a+128>>2];mT(360746,b+128|0);k[b+136>>2]=k[a+56>>2];mT(444824,b+136|0);r=b;return}function cV(a){a=a|0;CAb(a);return}function dV(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,f=0.0,g=0.0,h=0.0,l=0.0,m=0.0,n=0.0,p=0.0,q=0.0,r=0.0,s=0.0,u=0.0,v=0,w=0.0,x=0.0,y=0,z=0,A=0.0,B=0,C=0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0;J=k[a+48>>2]|0;M=k[J+8>>2]|0;k[a+144>>2]=M;v=k[a+52>>2]|0;O=k[v+8>>2]|0;k[a+148>>2]=O;S=k[J+28>>2]|0;R=k[J+28+4>>2]|0;k[a+152>>2]=S;k[a+152+4>>2]=R;Q=k[v+28>>2]|0;P=k[v+28+4>>2]|0;k[a+160>>2]=Q;k[a+160+4>>2]=P;L=k[J+120>>2]|0;k[a+168>>2]=L;K=k[v+120>>2]|0;k[a+172>>2]=K;J=k[J+128>>2]|0;k[a+176>>2]=J;v=k[v+128>>2]|0;k[a+180>>2]=v;N=k[b+24>>2]|0;F=+o[N+(M*12|0)+8>>2];T=k[b+28>>2]|0;y=k[T+(M*12|0)>>2]|0;z=k[T+(M*12|0)+4>>2]|0;A=+o[T+(M*12|0)+8>>2];w=+o[N+(O*12|0)+8>>2];B=k[T+(O*12|0)>>2]|0;C=k[T+(O*12|0)+4>>2]|0;D=+o[T+(O*12|0)+8>>2];E=+_(+F);F=+Z(+F);H=+_(+w);w=+Z(+w);I=+o[a+68>>2]-(k[t>>2]=S,+o[t>>2]);s=+o[a+72>>2]-(k[t>>2]=R,+o[t>>2]);G=+o[a+76>>2]-(k[t>>2]=Q,+o[t>>2]);u=+o[a+80>>2]-(k[t>>2]=P,+o[t>>2]);c=+o[N+(O*12|0)>>2]-+o[N+(M*12|0)>>2]+(w*G-H*u)-(F*I-E*s);d=+o[N+(O*12|0)+4>>2]-+o[N+(M*12|0)+4>>2]+(H*G+w*u)-(E*I+F*s);e=(k[t>>2]=L,+o[t>>2]);f=(k[t>>2]=K,+o[t>>2]);g=(k[t>>2]=J,+o[t>>2]);h=(k[t>>2]=v,+o[t>>2]);l=+o[a+84>>2];m=+o[a+88>>2];o[a+184>>2]=F*l-E*m;o[a+188>>2]=E*l+F*m;n=(F*I-E*s+c)*(E*l+F*m)-(E*I+F*s+d)*(F*l-E*m);o[a+208>>2]=n;p=(w*G-H*u)*(E*l+F*m)-(H*G+w*u)*(F*l-E*m);o[a+212>>2]=p;x=p*(h*p)+(e+f+n*(g*n));o[a+252>>2]=x>0.0?1.0/x:x;q=+o[a+92>>2];r=+o[a+96>>2];o[a+192>>2]=F*q-E*r;o[a+196>>2]=E*q+F*r;s=(F*I-E*s+c)*(E*q+F*r)-(E*I+F*s+d)*(F*q-E*r);o[a+200>>2]=s;u=(w*G-H*u)*(E*q+F*r)-(H*G+w*u)*(F*q-E*r);o[a+204>>2]=u;o[a+216>>2]=u*(h*u)+(e+f+s*(g*s));o[a+220>>2]=g*s+h*u;o[a+224>>2]=g*s*n+h*u*p;o[a+228>>2]=g*s+h*u;o[a+232>>2]=g+h==0.0?1.0:g+h;o[a+236>>2]=g*n+h*p;o[a+240>>2]=g*s*n+h*u*p;o[a+244>>2]=g*n+h*p;o[a+248>>2]=x;v=j[a+136>>1]|0;do if(!((v&255)<<24>>24)){k[a+140>>2]=0;o[a+112>>2]=0.0}else{w=+o[a+124>>2];x=+o[a+120>>2];if((w-x>0.0?w-x:-(w-x))<.009999999776482582){k[a+140>>2]=3;break}if(c*(F*l-E*m)+d*(E*l+F*m)<=x){if((k[a+140>>2]|0)==1)break;k[a+140>>2]=1;o[a+112>>2]=0.0;break}if(!(c*(F*l-E*m)+d*(E*l+F*m)>=w)){k[a+140>>2]=0;o[a+112>>2]=0.0;break}if((k[a+140>>2]|0)!=2){k[a+140>>2]=2;o[a+112>>2]=0.0}}while(0);if((v&65535)<256)o[a+116>>2]=0.0;if(!(i[b+20>>0]|0)){k[a+104>>2]=0;k[a+104+4>>2]=0;k[a+104+8>>2]=0;k[a+104+12>>2]=0;N=y;R=z;P=B;S=C;H=A;I=D;T=k[a+144>>2]|0;Q=k[b+28>>2]|0;O=Q+(T*12|0)|0;k[O>>2]=N;T=Q+(T*12|0)+4|0;k[T>>2]=R;T=k[a+144>>2]|0;R=k[b+28>>2]|0;T=R+(T*12|0)+8|0;o[T>>2]=H;T=k[a+148>>2]|0;Q=R+(T*12|0)|0;k[Q>>2]=P;T=R+(T*12|0)+4|0;k[T>>2]=S;T=k[a+148>>2]|0;S=k[b+28>>2]|0;T=S+(T*12|0)+8|0;o[T>>2]=I;return}else{G=+o[b+8>>2];x=G*+o[a+104>>2];o[a+104>>2]=x;w=G*+o[a+108>>2];o[a+108>>2]=w;I=G*+o[a+112>>2];o[a+112>>2]=I;G=G*+o[a+116>>2];o[a+116>>2]=G;d=x*(F*q-E*r)+(F*l-E*m)*(G+I);H=x*(E*q+F*r)+(G+I)*(E*l+F*m);N=(o[t>>2]=(k[t>>2]=y,+o[t>>2])-e*d,k[t>>2]|0);R=(o[t>>2]=(k[t>>2]=z,+o[t>>2])-e*H,k[t>>2]|0);P=(o[t>>2]=(k[t>>2]=B,+o[t>>2])+f*d,k[t>>2]|0);S=(o[t>>2]=(k[t>>2]=C,+o[t>>2])+f*H,k[t>>2]|0);H=A-g*(x*s+w+(G+I)*n);I=D+h*(w+x*u+(G+I)*p);T=k[a+144>>2]|0;Q=k[b+28>>2]|0;O=Q+(T*12|0)|0;k[O>>2]=N;T=Q+(T*12|0)+4|0;k[T>>2]=R;T=k[a+144>>2]|0;R=k[b+28>>2]|0;T=R+(T*12|0)+8|0;o[T>>2]=H;T=k[a+148>>2]|0;Q=R+(T*12|0)|0;k[Q>>2]=P;T=R+(T*12|0)+4|0;k[T>>2]=S;T=k[a+148>>2]|0;S=k[b+28>>2]|0;T=S+(T*12|0)+8|0;o[T>>2]=I;return}}function eV(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0.0,h=0.0,j=0.0,l=0.0,m=0.0,n=0.0,p=0.0,q=0.0,s=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0,C=0,D=0,E=0.0,F=0.0;B=r;r=r+64|0;C=k[a+144>>2]|0;D=k[b+28>>2]|0;c=k[D+(C*12|0)>>2]|0;d=k[D+(C*12|0)+4>>2]|0;g=+o[D+(C*12|0)+8>>2];C=k[a+148>>2]|0;e=k[D+(C*12|0)>>2]|0;f=k[D+(C*12|0)+4>>2]|0;h=+o[D+(C*12|0)+8>>2];x=+o[a+168>>2];y=+o[a+172>>2];z=+o[a+176>>2];A=+o[a+180>>2];if(i[a+137>>0]|0)if((k[a+140>>2]|0)!=3){m=(k[t>>2]=e,+o[t>>2]);j=(k[t>>2]=c,+o[t>>2]);p=(k[t>>2]=f,+o[t>>2]);l=(k[t>>2]=d,+o[t>>2]);n=+o[a+184>>2];q=+o[a+188>>2];u=+o[a+212>>2];s=+o[a+208>>2];w=+o[a+116>>2];E=+o[b>>2]*+o[a+128>>2];v=w+ +o[a+252>>2]*(+o[a+132>>2]-((m-j)*n+(p-l)*q+h*u-g*s));v=v>2]=v;c=(o[t>>2]=j-x*(n*(v-w)),k[t>>2]|0);d=(o[t>>2]=l-x*(q*(v-w)),k[t>>2]|0);e=(o[t>>2]=m+y*(n*(v-w)),k[t>>2]|0);f=(o[t>>2]=p+y*(q*(v-w)),k[t>>2]|0);g=g-z*(s*(v-w));h=h+A*(u*(v-w))}w=(k[t>>2]=e,+o[t>>2]);v=(k[t>>2]=c,+o[t>>2]);u=(k[t>>2]=f,+o[t>>2]);s=(k[t>>2]=d,+o[t>>2]);l=(w-v)*+o[a+192>>2]+(u-s)*+o[a+196>>2]+h*+o[a+204>>2]-g*+o[a+200>>2];m=h-g;if(i[a+136>>0]|0)if(k[a+140>>2]|0){n=+o[a+104>>2];p=+o[a+108>>2];q=+o[a+112>>2];j=-((w-v)*+o[a+184>>2]+(u-s)*+o[a+188>>2]+h*+o[a+212>>2]-g*+o[a+208>>2]);o[B+16>>2]=-l;o[B+16+4>>2]=-m;o[B+16+8>>2]=j;gT(B+40|0,a+216|0,B+16|0);o[a+104>>2]=+o[B+40>>2]+ +o[a+104>>2];o[a+108>>2]=+o[B+40+4>>2]+ +o[a+108>>2];j=+o[B+40+8>>2]+ +o[a+112>>2];o[a+112>>2]=j;switch(k[a+140>>2]|0){case 1:{j=j>0.0?j:0.0;o[a+112>>2]=j;break}case 2:{j=j<0.0?j:0.0;o[a+112>>2]=j;break}default:{}}F=j-q;j=-m-F*+o[a+244>>2];o[B+32>>2]=-l-+o[a+240>>2]*F;o[B+32+4>>2]=j;hT(B+8|0,a+216|0,B+32|0);j=n+ +o[B+8>>2];F=p+ +o[B+8+4>>2];o[a+104>>2]=j;o[a+108>>2]=F;m=+o[a+112>>2]-q;E=F-p+(j-n)*+o[a+204>>2]+m*+o[a+212>>2];l=(j-n)*+o[a+192>>2]+m*+o[a+184>>2];q=(j-n)*+o[a+200>>2]+(F-p)+m*+o[a+208>>2];p=(j-n)*+o[a+196>>2]+m*+o[a+188>>2];m=x*p;n=x*l;p=y*p;x=y*l;s=s-m;v=v-n;y=u+p;x=w+x;z=z*q;E=A*E;A=g-z;E=h+E;D=k[a+144>>2]|0;C=k[b+28>>2]|0;f=C+(D*12|0)|0;o[f>>2]=v;D=C+(D*12|0)+4|0;o[D>>2]=s;D=k[a+144>>2]|0;C=k[b+28>>2]|0;D=C+(D*12|0)+8|0;o[D>>2]=A;D=k[a+148>>2]|0;f=C+(D*12|0)|0;o[f>>2]=x;D=C+(D*12|0)+4|0;o[D>>2]=y;D=k[a+148>>2]|0;C=k[b+28>>2]|0;D=C+(D*12|0)+8|0;o[D>>2]=E;r=B;return}o[B>>2]=-l;o[B+4>>2]=-m;hT(B+40|0,a+216|0,B);E=+o[B+40>>2];o[a+104>>2]=E+ +o[a+104>>2];q=+o[B+40+4>>2];o[a+108>>2]=q+ +o[a+108>>2];F=q+E*+o[a+204>>2];m=E*+o[a+192>>2];q=E*+o[a+200>>2]+q;E=E*+o[a+196>>2];n=x*E;p=x*m;E=y*E;y=y*m;x=s-n;v=v-p;E=u+E;y=w+y;z=z*q;F=A*F;A=g-z;F=h+F;D=k[a+144>>2]|0;C=k[b+28>>2]|0;f=C+(D*12|0)|0;o[f>>2]=v;D=C+(D*12|0)+4|0;o[D>>2]=x;D=k[a+144>>2]|0;C=k[b+28>>2]|0;D=C+(D*12|0)+8|0;o[D>>2]=A;D=k[a+148>>2]|0;f=C+(D*12|0)|0;o[f>>2]=y;D=C+(D*12|0)+4|0;o[D>>2]=E;D=k[a+148>>2]|0;C=k[b+28>>2]|0;D=C+(D*12|0)+8|0;o[D>>2]=F;r=B;return}function fV(a,b){a=a|0;b=b|0;var c=0,d=0.0,e=0.0,f=0,g=0.0,h=0.0,j=0.0,l=0.0,m=0.0,n=0.0,p=0.0,q=0.0,s=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0.0,K=0.0,L=0;L=r;r=r+64|0;f=k[a+144>>2]|0;c=k[b+24>>2]|0;D=+o[c+(f*12|0)>>2];J=+o[c+(f*12|0)+4>>2];q=+o[c+(f*12|0)+8>>2];f=k[a+148>>2]|0;u=+o[c+(f*12|0)>>2];v=+o[c+(f*12|0)+4>>2];w=+o[c+(f*12|0)+8>>2];x=+_(+q);y=+Z(+q);h=+_(+w);l=+Z(+w);z=+o[a+168>>2];A=+o[a+172>>2];B=+o[a+176>>2];C=+o[a+180>>2];s=+o[a+68>>2]-+o[a+152>>2];n=+o[a+72>>2]-+o[a+156>>2];m=+o[a+76>>2]-+o[a+160>>2];p=+o[a+80>>2]-+o[a+164>>2];d=u+(l*m-h*p)-D-(y*s-x*n);e=v+(h*m+l*p)-J-(x*s+y*n);E=+o[a+84>>2];F=+o[a+88>>2];G=(x*E+y*F)*(y*s-x*n+d)-(y*E-x*F)*(x*s+y*n+e);H=(l*m-h*p)*(x*E+y*F)-(h*m+l*p)*(y*E-x*F);I=+o[a+92>>2];K=+o[a+96>>2];n=(x*I+y*K)*(y*s-x*n+d)-(y*I-x*K)*(x*s+y*n+e);p=(l*m-h*p)*(x*I+y*K)-(h*m+l*p)*(y*I-x*K);l=(y*I-x*K)*d+(x*I+y*K)*e;m=w-q-+o[a+100>>2];h=l>0.0?l:-l;s=m>0.0?m:-m;do if(!(i[a+136>>0]|0)){j=0.0;c=0;e=h}else{d=(y*E-x*F)*d+(x*E+y*F)*e;e=+o[a+124>>2];g=+o[a+120>>2];if((e-g>0.0?e-g:-(e-g))<.009999999776482582){j=d<.20000000298023224?d:.20000000298023224;e=d>0.0?d:-d;j=j<-.20000000298023224?-.20000000298023224:j;c=1;e=h>e?h:e;break}if(d<=g){j=d-g+.004999999888241291<0.0?d-g+.004999999888241291:0.0;j=j<-.20000000298023224?-.20000000298023224:j;c=1;e=h>g-d?h:g-d;break}if(!(d>=e)){j=0.0;c=0;e=h}else{j=d-e+-.004999999888241291<.20000000298023224?d-e+-.004999999888241291:.20000000298023224;j=j<0.0?0.0:j;c=1;e=h>d-e?h:d-e}}while(0);d=C*p+B*n;if(c){o[L+24>>2]=p*(C*p)+(z+A+n*(B*n));o[L+24+4>>2]=d;o[L+24+8>>2]=H*(C*p)+G*(B*n);o[L+24+12>>2]=d;o[L+24+16>>2]=B+C==0.0?1.0:B+C;o[L+24+20>>2]=C*H+B*G;o[L+24+24>>2]=H*(C*p)+G*(B*n);o[L+24+28>>2]=C*H+B*G;o[L+24+32>>2]=H*(C*H)+(z+A+G*(B*G));o[L>>2]=-l;o[L+4>>2]=-m;o[L+8>>2]=-j;gT(L+12|0,L+24|0,L);f=k[L+12>>2]|0;c=k[L+12+4>>2]|0;d=+o[L+12+8>>2]}else{h=B+C==0.0?1.0:B+C;j=h*(p*(C*p)+(z+A+n*(B*n)))-d*d;j=j!=0.0?1.0/j:j;f=(o[t>>2]=(h*-l-d*-m)*j,k[t>>2]|0);c=(o[t>>2]=((p*(C*p)+(z+A+n*(B*n)))*-m-d*-l)*j,k[t>>2]|0);d=0.0}m=(k[t>>2]=f,+o[t>>2]);l=(y*I-x*K)*m+(y*E-x*F)*d;I=(x*I+y*K)*m+(x*E+y*F)*d;K=(k[t>>2]=c,+o[t>>2]);c=k[a+144>>2]|0;f=k[b+24>>2]|0;o[f+(c*12|0)>>2]=D-z*l;o[f+(c*12|0)+4>>2]=J-z*I;c=k[b+24>>2]|0;o[c+((k[a+144>>2]|0)*12|0)+8>>2]=q-B*(n*m+K+G*d);f=k[a+148>>2]|0;o[c+(f*12|0)>>2]=u+A*l;o[c+(f*12|0)+4>>2]=v+A*I;o[(k[b+24>>2]|0)+((k[a+148>>2]|0)*12|0)+8>>2]=w+C*(p*m+K+H*d);r=L;return s<=.03490658849477768&e<=.004999999888241291|0}function gV(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0.0,g=0.0,h=0.0,i=0.0;k[a+8>>2]=b;k[a+12>>2]=c;f=+o[d>>2]-+o[b+12>>2];h=+o[d+4>>2]-+o[b+16>>2];i=+o[b+24>>2];g=+o[b+20>>2];o[a+20>>2]=f*i+h*g;o[a+24>>2]=i*h-f*g;g=+o[d>>2]-+o[c+12>>2];f=+o[d+4>>2]-+o[c+16>>2];h=+o[c+24>>2];i=+o[c+20>>2];o[a+28>>2]=g*h+f*i;o[a+32>>2]=h*f-g*i;i=+o[b+24>>2];g=+o[e>>2];f=+o[b+20>>2];h=+o[e+4>>2];o[a+36>>2]=i*g+f*h;o[a+40>>2]=i*h-g*f;o[a+44>>2]=+o[c+56>>2]-+o[b+56>>2];return}function hV(a,b){a=a|0;b=b|0;var c=0,d=0.0,e=0.0,f=0.0,g=0;gU(a,b);k[a>>2]=2e4;c=k[b+20+4>>2]|0;k[a+68>>2]=k[b+20>>2];k[a+68+4>>2]=c;c=k[b+28+4>>2]|0;k[a+76>>2]=k[b+28>>2];k[a+76+4>>2]=c;c=k[b+36>>2]|0;g=k[b+36+4>>2]|0;k[a+84>>2]=c;k[a+84+4>>2]=g;f=(k[t>>2]=c,+o[t>>2]);d=(k[t>>2]=g,+o[t>>2]);e=+X(+(f*f+d*d));if(!(e<1.1920928955078125e-07)){o[a+84>>2]=f*(1.0/e);o[a+88>>2]=d*(1.0/e);d=d*(1.0/e);c=(o[t>>2]=f*(1.0/e),k[t>>2]|0)}o[a+92>>2]=-d;k[a+96>>2]=c;k[a+100>>2]=k[b+44>>2];o[a+252>>2]=0.0;k[a+104>>2]=0;k[a+104+4>>2]=0;k[a+104+8>>2]=0;k[a+104+12>>2]=0;k[a+120>>2]=k[b+52>>2];k[a+124>>2]=k[b+56>>2];k[a+128>>2]=k[b+64>>2];k[a+132>>2]=k[b+68>>2];i[a+136>>0]=i[b+48>>0]|0;i[a+137>>0]=i[b+60>>0]|0;k[a+140>>2]=0;k[a+184>>2]=0;k[a+184+4>>2]=0;k[a+184+8>>2]=0;k[a+184+12>>2]=0;return}function iV(a){a=a|0;var b=0.0,c=0.0,d=0.0,e=0.0,f=0,g=0.0,h=0.0,i=0,j=0.0,l=0.0,m=0.0,n=0.0;f=k[a+48>>2]|0;c=+o[f+24>>2];h=+o[a+68>>2];e=+o[f+20>>2];g=+o[a+72>>2];i=k[a+52>>2]|0;l=+o[i+24>>2];n=+o[a+76>>2];m=+o[i+20>>2];j=+o[a+80>>2];d=+o[a+84>>2];b=+o[a+88>>2];return +((+o[i+12>>2]+(l*n-m*j)-(+o[f+12>>2]+(c*h-e*g)))*(c*d-e*b)+(n*m+l*j+ +o[i+16>>2]-(h*e+c*g+ +o[f+16>>2]))*(e*d+c*b))}function jV(a){a=a|0;var b=0.0,c=0.0,d=0.0,e=0.0,f=0.0,g=0,h=0.0,i=0.0,j=0.0,l=0.0,m=0.0,n=0,p=0.0,q=0.0;g=k[a+48>>2]|0;n=k[a+52>>2]|0;f=+o[a+68>>2]-+o[g+28>>2];d=+o[a+72>>2]-+o[g+32>>2];e=+o[g+24>>2];c=+o[g+20>>2];m=+o[a+76>>2]-+o[n+28>>2];j=+o[a+80>>2]-+o[n+32>>2];l=+o[n+24>>2];i=+o[n+20>>2];q=+o[a+84>>2];p=+o[a+88>>2];b=+o[g+72>>2];h=+o[n+72>>2];return +((l*j+m*i+ +o[n+48>>2]-(e*d+f*c+ +o[g+48>>2]))*((e*q-c*p)*b)-(m*l-j*i+ +o[n+44>>2]-(f*e-d*c+ +o[g+44>>2]))*((c*q+e*p)*b)+((e*q-c*p)*((e*d+f*c)*b+(+o[n+64>>2]-(l*j+m*i)*h-+o[g+64>>2]))+(c*q+e*p)*(+o[n+68>>2]+(m*l-j*i)*h-+o[g+68>>2]-(f*e-d*c)*b)))}function kV(a){a=a|0;return (i[a+136>>0]|0)!=0|0}function lV(a,b){a=a|0;b=b|0;var c=0,d=0;if((b&1|0)==(l[a+136>>0]|0|0))return;c=k[a+48>>2]|0;d=m[c+4>>1]|0;if(!(d&2)){j[c+4>>1]=d|2;o[c+144>>2]=0.0}c=k[a+52>>2]|0;d=m[c+4>>1]|0;if(!(d&2)){j[c+4>>1]=d|2;o[c+144>>2]=0.0}i[a+136>>0]=b&1;o[a+112>>2]=0.0;return}function mV(a){a=a|0;return +(+o[a+120>>2])}function nV(a){a=a|0;return +(+o[a+124>>2])}function oV(a,b,c){a=a|0;b=+b;c=+c;var d=0,e=0;nT(b<=c,361121);if(!(+o[a+120>>2]!=b))if(!(+o[a+124>>2]!=c))return;e=k[a+48>>2]|0;d=m[e+4>>1]|0;if(!(d&2)){j[e+4>>1]=d|2;o[e+144>>2]=0.0}d=k[a+52>>2]|0;e=m[d+4>>1]|0;if(!(e&2)){j[d+4>>1]=e|2;o[d+144>>2]=0.0}o[a+120>>2]=b;o[a+124>>2]=c;o[a+112>>2]=0.0;return}function pV(a){a=a|0;return (i[a+137>>0]|0)!=0|0}function qV(a,b){a=a|0;b=b|0;var c=0,d=0;c=k[a+48>>2]|0;d=m[c+4>>1]|0;if(!(d&2)){j[c+4>>1]=d|2;o[c+144>>2]=0.0}c=k[a+52>>2]|0;d=m[c+4>>1]|0;if(d&2|0){a=a+137|0;b=b&1;i[a>>0]=b;return}j[c+4>>1]=d|2;o[c+144>>2]=0.0;a=a+137|0;b=b&1;i[a>>0]=b;return}function rV(a,b){a=a|0;b=+b;var c=0,d=0;c=k[a+48>>2]|0;d=m[c+4>>1]|0;if(!(d&2)){j[c+4>>1]=d|2;o[c+144>>2]=0.0}c=k[a+52>>2]|0;d=m[c+4>>1]|0;if(d&2|0){a=a+132|0;o[a>>2]=b;return}j[c+4>>1]=d|2;o[c+144>>2]=0.0;a=a+132|0;o[a>>2]=b;return}function sV(a,b){a=a|0;b=+b;var c=0,d=0;c=k[a+48>>2]|0;d=m[c+4>>1]|0;if(!(d&2)){j[c+4>>1]=d|2;o[c+144>>2]=0.0}c=k[a+52>>2]|0;d=m[c+4>>1]|0;if(d&2|0){a=a+128|0;o[a>>2]=b;return}j[c+4>>1]=d|2;o[c+144>>2]=0.0;a=a+128|0;o[a>>2]=b;return}function tV(a,b){a=a|0;b=+b;return +(+o[a+116>>2]*b)}function uV(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,f=0.0,g=0.0,h=0;h=k[b+48>>2]|0;g=+o[h+24>>2];f=+o[b+92>>2];e=+o[h+20>>2];d=+o[b+96>>2];c=f*e+g*d+ +o[h+16>>2];o[a>>2]=+o[h+12>>2]+(g*f-e*d);o[a+4>>2]=c;return}function vV(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,f=0.0,g=0.0,h=0;h=k[b+52>>2]|0;g=+o[h+24>>2];f=+o[b+100>>2];e=+o[h+20>>2];d=+o[b+104>>2];c=f*e+g*d+ +o[h+16>>2];o[a>>2]=+o[h+12>>2]+(g*f-e*d);o[a+4>>2]=c;return}function wV(a,b,c){a=a|0;b=b|0;c=+c;var d=0.0,e=0.0;e=+o[b+116>>2];d=e*+o[b+140>>2]*c;o[a>>2]=e*+o[b+136>>2]*c;o[a+4>>2]=d;return}function xV(a,b){a=a|0;b=+b;return 0.0}function yV(a){a=a|0;var b=0,c=0.0,d=0,e=0;b=r;r=r+128|0;e=k[(k[a+48>>2]|0)+8>>2]|0;d=k[(k[a+52>>2]|0)+8>>2]|0;mT(360793,b);k[b+8>>2]=e;mT(444660,b+8|0);k[b+16>>2]=d;mT(444686,b+16|0);k[b+24>>2]=l[a+61>>0];mT(444712,b+24|0);c=+o[a+72>>2];p[b+32>>3]=+o[a+68>>2];p[b+32+8>>3]=c;mT(360817,b+32|0);c=+o[a+80>>2];p[b+48>>3]=+o[a+76>>2];p[b+48+8>>3]=c;mT(360860,b+48|0);c=+o[a+96>>2];p[b+64>>3]=+o[a+92>>2];p[b+64+8>>3]=c;mT(444417,b+64|0);c=+o[a+104>>2];p[b+80>>3]=+o[a+100>>2];p[b+80+8>>3]=c;mT(444459,b+80|0);p[b+96>>3]=+o[a+84>>2];mT(360903,b+96|0);p[b+104>>3]=+o[a+88>>2];mT(360928,b+104|0);p[b+112>>3]=+o[a+112>>2];mT(444801,b+112|0);k[b+120>>2]=k[a+56>>2];mT(444824,b+120|0);r=b;return}function zV(a,b){a=a|0;b=b|0;o[a+68>>2]=+o[a+68>>2]-+o[b>>2];o[a+72>>2]=+o[a+72>>2]-+o[b+4>>2];o[a+76>>2]=+o[a+76>>2]-+o[b>>2];o[a+80>>2]=+o[a+80>>2]-+o[b+4>>2];return}function AV(a){a=a|0;CAb(a);return}function BV(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,f=0.0,g=0.0,h=0.0,j=0.0,l=0.0,m=0.0,n=0,p=0,q=0.0,r=0,s=0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0,E=0,F=0,G=0,H=0,I=0,J=0.0,K=0.0,L=0.0;I=k[a+48>>2]|0;s=k[I+8>>2]|0;k[a+120>>2]=s;r=k[a+52>>2]|0;H=k[r+8>>2]|0;k[a+124>>2]=H;G=k[I+28>>2]|0;F=k[I+28+4>>2]|0;k[a+160>>2]=G;k[a+160+4>>2]=F;E=k[r+28>>2]|0;D=k[r+28+4>>2]|0;k[a+168>>2]=E;k[a+168+4>>2]=D;k[a+176>>2]=k[I+120>>2];k[a+180>>2]=k[r+120>>2];k[a+184>>2]=k[I+128>>2];k[a+188>>2]=k[r+128>>2];r=k[b+24>>2]|0;d=+o[r+(s*12|0)>>2];c=+o[r+(s*12|0)+4>>2];w=+o[r+(s*12|0)+8>>2];I=k[b+28>>2]|0;n=k[I+(s*12|0)>>2]|0;p=k[I+(s*12|0)+4>>2]|0;q=+o[I+(s*12|0)+8>>2];g=+o[r+(H*12|0)>>2];f=+o[r+(H*12|0)+4>>2];y=+o[r+(H*12|0)+8>>2];r=k[I+(H*12|0)>>2]|0;s=k[I+(H*12|0)+4>>2]|0;u=+o[I+(H*12|0)+8>>2];v=+_(+w);w=+Z(+w);x=+_(+y);y=+Z(+y);z=+o[a+92>>2]-(k[t>>2]=G,+o[t>>2]);A=+o[a+96>>2]-(k[t>>2]=F,+o[t>>2]);o[a+144>>2]=w*z-v*A;o[a+148>>2]=v*z+w*A;B=+o[a+100>>2]-(k[t>>2]=E,+o[t>>2]);C=+o[a+104>>2]-(k[t>>2]=D,+o[t>>2]);o[a+152>>2]=y*B-x*C;o[a+156>>2]=x*B+y*C;d=d+(w*z-v*A)-+o[a+68>>2];c=c+(v*z+w*A)-+o[a+72>>2];o[a+128>>2]=d;o[a+132>>2]=c;g=g+(y*B-x*C)-+o[a+76>>2];f=f+(x*B+y*C)-+o[a+80>>2];o[a+136>>2]=g;o[a+140>>2]=f;e=+X(+(d*d+c*c));h=+X(+(g*g+f*f));if(e>.04999999701976776){o[a+128>>2]=d*(1.0/e);m=1.0/e*c;l=d*(1.0/e)}else{o[a+128>>2]=0.0;m=0.0;l=0.0}o[a+132>>2]=m;if(h>.04999999701976776){o[a+136>>2]=1.0/h*g;j=1.0/h*f;c=1.0/h*g}else{o[a+136>>2]=0.0;j=0.0;c=0.0}o[a+140>>2]=j;K=(w*z-v*A)*m-(v*z+w*A)*l;J=(y*B-x*C)*j-(x*B+y*C)*c;d=+o[a+176>>2];e=+o[a+184>>2];f=+o[a+180>>2];g=+o[a+188>>2];h=+o[a+112>>2];o[a+192>>2]=d+K*(K*e)+h*h*(f+J*(J*g))>0.0?1.0/(d+K*(K*e)+h*h*(f+J*(J*g))):d+K*(K*e)+h*h*(f+J*(J*g));if(!(i[b+20>>0]|0)){o[a+116>>2]=0.0;G=p;E=r;H=s;J=q;K=u;I=k[a+120>>2]|0;F=k[b+28>>2]|0;D=F+(I*12|0)|0;k[D>>2]=n;I=F+(I*12|0)+4|0;k[I>>2]=G;I=k[a+120>>2]|0;G=k[b+28>>2]|0;I=G+(I*12|0)+8|0;o[I>>2]=J;I=k[a+124>>2]|0;F=G+(I*12|0)|0;k[F>>2]=E;I=G+(I*12|0)+4|0;k[I>>2]=H;I=k[a+124>>2]|0;H=k[b+28>>2]|0;I=H+(I*12|0)+8|0;o[I>>2]=K;return}else{L=+o[b+8>>2]*+o[a+116>>2];o[a+116>>2]=L;J=l*-L;l=m*-L;K=c*-(L*h);m=j*-(L*h);H=(o[t>>2]=(k[t>>2]=n,+o[t>>2])+J*d,k[t>>2]|0);G=(o[t>>2]=(k[t>>2]=p,+o[t>>2])+l*d,k[t>>2]|0);E=(o[t>>2]=(k[t>>2]=r,+o[t>>2])+K*f,k[t>>2]|0);r=H;H=(o[t>>2]=(k[t>>2]=s,+o[t>>2])+m*f,k[t>>2]|0);J=q+e*(l*(w*z-v*A)-J*(v*z+w*A));K=u+g*(m*(y*B-x*C)-K*(x*B+y*C));I=k[a+120>>2]|0;F=k[b+28>>2]|0;D=F+(I*12|0)|0;k[D>>2]=r;I=F+(I*12|0)+4|0;k[I>>2]=G;I=k[a+120>>2]|0;G=k[b+28>>2]|0;I=G+(I*12|0)+8|0;o[I>>2]=J;I=k[a+124>>2]|0;F=G+(I*12|0)|0;k[F>>2]=E;I=G+(I*12|0)+4|0;k[I>>2]=H;I=k[a+124>>2]|0;H=k[b+28>>2]|0;I=H+(I*12|0)+8|0;o[I>>2]=K;return}}function CV(a,b){a=a|0;b=b|0;var c=0.0,d=0,e=0,f=0.0,g=0.0,h=0.0,i=0.0,j=0.0,l=0.0,m=0.0,n=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0;e=k[a+120>>2]|0;d=k[b+28>>2]|0;t=+o[d+(e*12|0)>>2];r=+o[d+(e*12|0)+4>>2];w=+o[d+(e*12|0)+8>>2];x=k[a+124>>2]|0;m=+o[d+(x*12|0)>>2];j=+o[d+(x*12|0)+4>>2];v=+o[d+(x*12|0)+8>>2];n=+o[a+148>>2];f=+o[a+144>>2];c=+o[a+156>>2];u=+o[a+152>>2];s=+o[a+128>>2];q=+o[a+132>>2];h=+o[a+112>>2];l=+o[a+136>>2];g=+o[a+140>>2];i=+o[a+192>>2]*(-((t-w*n)*s+(r+w*f)*q)-h*((m-v*c)*l+(j+v*u)*g));o[a+116>>2]=+o[a+116>>2]-i;p=+o[a+176>>2];n=w+ +o[a+184>>2]*(q*i*f-s*i*n);f=+o[a+180>>2];c=v+ +o[a+188>>2]*(i*h*g*u-l*(i*h)*c);o[d+(e*12|0)>>2]=t+s*i*p;o[d+(e*12|0)+4>>2]=r+q*i*p;e=k[b+28>>2]|0;o[e+((k[a+120>>2]|0)*12|0)+8>>2]=n;d=k[a+124>>2]|0;o[e+(d*12|0)>>2]=m+l*(i*h)*f;o[e+(d*12|0)+4>>2]=j+i*h*g*f;o[(k[b+28>>2]|0)+((k[a+124>>2]|0)*12|0)+8>>2]=c;return}function DV(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,f=0.0,g=0.0,h=0.0,i=0,j=0.0,l=0.0,m=0.0,n=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0;i=k[a+120>>2]|0;t=k[b+24>>2]|0;x=+o[t+(i*12|0)>>2];y=+o[t+(i*12|0)+4>>2];B=+o[t+(i*12|0)+8>>2];C=k[a+124>>2]|0;j=+o[t+(C*12|0)>>2];l=+o[t+(C*12|0)+4>>2];m=+o[t+(C*12|0)+8>>2];n=+_(+B);p=+Z(+B);q=+_(+m);r=+Z(+m);s=+o[a+92>>2]-+o[a+160>>2];u=+o[a+96>>2]-+o[a+164>>2];v=+o[a+100>>2]-+o[a+168>>2];w=+o[a+104>>2]-+o[a+172>>2];c=x+(p*s-n*u)-+o[a+68>>2];d=y+(n*s+p*u)-+o[a+72>>2];e=j+(r*v-q*w)-+o[a+76>>2];g=l+(q*v+r*w)-+o[a+80>>2];z=+X(+(c*c+d*d));A=+X(+(e*e+g*g));if(z>.04999999701976776){h=c*(1.0/z);f=d*(1.0/z)}else{h=0.0;f=0.0}if(A>.04999999701976776){d=e*(1.0/A);c=g*(1.0/A)}else{d=0.0;c=0.0}D=(p*s-n*u)*f-(n*s+p*u)*h;G=(r*v-q*w)*c-(q*v+r*w)*d;F=+o[a+176>>2];E=+o[a+184>>2];e=+o[a+180>>2];g=+o[a+188>>2];H=+o[a+112>>2];A=+o[a+108>>2]-z-A*H;G=A*(F+D*(D*E)+H*H*(e+G*(G*g))>0.0?1.0/(F+D*(D*E)+H*H*(e+G*(G*g))):F+D*(D*E)+H*H*(e+G*(G*g)));D=h*G;f=f*G;z=d*(H*G);h=c*(H*G);o[t+(i*12|0)>>2]=x+F*D;o[t+(i*12|0)+4>>2]=y+F*f;t=k[b+24>>2]|0;o[t+((k[a+120>>2]|0)*12|0)+8>>2]=B+E*((p*s-n*u)*f-(n*s+p*u)*D);C=k[a+124>>2]|0;o[t+(C*12|0)>>2]=j+e*z;o[t+(C*12|0)+4>>2]=l+e*h;o[(k[b+24>>2]|0)+((k[a+124>>2]|0)*12|0)+8>>2]=m+g*((r*v-q*w)*h-(q*v+r*w)*z);return (A>0.0?A:-A)<.004999999888241291|0}function EV(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=+h;var i=0.0,j=0.0,l=0.0,m=0.0,n=0;k[a+8>>2]=b;k[a+12>>2]=c;n=k[d+4>>2]|0;k[a+20>>2]=k[d>>2];k[a+20+4>>2]=n;n=k[e+4>>2]|0;k[a+28>>2]=k[e>>2];k[a+28+4>>2]=n;l=+o[f>>2]-+o[b+12>>2];m=+o[f+4>>2]-+o[b+16>>2];i=+o[b+24>>2];j=+o[b+20>>2];o[a+36>>2]=l*i+m*j;o[a+40>>2]=i*m-l*j;j=+o[g>>2]-+o[c+12>>2];l=+o[g+4>>2]-+o[c+16>>2];m=+o[c+24>>2];i=+o[c+20>>2];o[a+44>>2]=j*m+l*i;o[a+48>>2]=m*l-j*i;i=+o[f>>2]-+o[d>>2];j=+o[f+4>>2]-+o[d+4>>2];j=+X(+(i*i+j*j));o[a+52>>2]=j;j=+o[g>>2]-+o[e>>2];i=+o[g+4>>2]-+o[e+4>>2];i=+X(+(j*j+i*i));o[a+56>>2]=i;o[a+60>>2]=h;nT(h>1.1920928955078125e-07,360953);return}function FV(a,b){a=a|0;b=b|0;var c=0.0,d=0;gU(a,b);k[a>>2]=20052;d=k[b+20+4>>2]|0;k[a+68>>2]=k[b+20>>2];k[a+68+4>>2]=d;d=k[b+28+4>>2]|0;k[a+76>>2]=k[b+28>>2];k[a+76+4>>2]=d;d=k[b+36+4>>2]|0;k[a+92>>2]=k[b+36>>2];k[a+92+4>>2]=d;d=k[b+44+4>>2]|0;k[a+100>>2]=k[b+44>>2];k[a+100+4>>2]=d;k[a+84>>2]=k[b+52>>2];k[a+88>>2]=k[b+56>>2];nT(+o[b+60>>2]!=0.0,360972);c=+o[b+60>>2];o[a+112>>2]=c;o[a+108>>2]=+o[b+52>>2]+c*+o[b+56>>2];o[a+116>>2]=0.0;return}function GV(a,b){a=a|0;b=b|0;var c=0;c=k[b+68+4>>2]|0;k[a>>2]=k[b+68>>2];k[a+4>>2]=c;return}function HV(a,b){a=a|0;b=b|0;var c=0;c=k[b+76+4>>2]|0;k[a>>2]=k[b+76>>2];k[a+4>>2]=c;return}function IV(a){a=a|0;return +(+o[a+84>>2])}function JV(a){a=a|0;return +(+o[a+88>>2])}function KV(a){a=a|0;return +(+o[a+112>>2])}function LV(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,f=0.0,g=0.0,h=0;h=k[b+48>>2]|0;g=+o[h+24>>2];f=+o[b+68>>2];e=+o[h+20>>2];d=+o[b+72>>2];c=f*e+g*d+ +o[h+16>>2];o[a>>2]=+o[h+12>>2]+(g*f-e*d);o[a+4>>2]=c;return}function MV(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,f=0.0,g=0.0,h=0;h=k[b+52>>2]|0;g=+o[h+24>>2];f=+o[b+76>>2];e=+o[h+20>>2];d=+o[b+80>>2];c=f*e+g*d+ +o[h+16>>2];o[a>>2]=+o[h+12>>2]+(g*f-e*d);o[a+4>>2]=c;return}function NV(a,b,c){a=a|0;b=b|0;c=+c;var d=0.0;d=+o[b+88>>2]*c;o[a>>2]=+o[b+84>>2]*c;o[a+4>>2]=d;return}function OV(a,b){a=a|0;b=+b;return +(+o[a+92>>2]*b)}function PV(a){a=a|0;var b=0,c=0.0,d=0,e=0;b=r;r=r+128|0;e=k[(k[a+48>>2]|0)+8>>2]|0;d=k[(k[a+52>>2]|0)+8>>2]|0;mT(361009,b);k[b+8>>2]=e;mT(444660,b+8|0);k[b+16>>2]=d;mT(444686,b+16|0);k[b+24>>2]=l[a+61>>0];mT(444712,b+24|0);c=+o[a+72>>2];p[b+32>>3]=+o[a+68>>2];p[b+32+8>>3]=c;mT(444417,b+32|0);c=+o[a+80>>2];p[b+48>>3]=+o[a+76>>2];p[b+48+8>>3]=c;mT(444459,b+48|0);p[b+64>>3]=+o[a+116>>2];mT(361235,b+64|0);k[b+72>>2]=l[a+112>>0];mT(361035,b+72|0);p[b+80>>3]=+o[a+120>>2];mT(361065,b+80|0);p[b+88>>3]=+o[a+124>>2];mT(361093,b+88|0);k[b+96>>2]=l[a+100>>0];mT(361345,b+96|0);p[b+104>>3]=+o[a+108>>2];mT(361375,b+104|0);p[b+112>>3]=+o[a+104>>2];mT(361403,b+112|0);k[b+120>>2]=k[a+56>>2];mT(444824,b+120|0);r=b;return}function QV(a){a=a|0;CAb(a);return}function RV(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,f=0.0,g=0.0,h=0.0,j=0.0,l=0,m=0,n=0.0,p=0,q=0,r=0.0,s=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0.0;C=k[a+48>>2]|0;q=k[C+8>>2]|0;k[a+128>>2]=q;B=k[a+52>>2]|0;J=k[B+8>>2]|0;k[a+132>>2]=J;I=k[C+28>>2]|0;H=k[C+28+4>>2]|0;k[a+152>>2]=I;k[a+152+4>>2]=H;G=k[B+28>>2]|0;F=k[B+28+4>>2]|0;k[a+160>>2]=G;k[a+160+4>>2]=F;E=k[C+120>>2]|0;k[a+168>>2]=E;D=k[B+120>>2]|0;k[a+172>>2]=D;C=k[C+128>>2]|0;k[a+176>>2]=C;B=k[B+128>>2]|0;k[a+180>>2]=B;p=k[b+24>>2]|0;c=+o[p+(q*12|0)+8>>2];K=k[b+28>>2]|0;l=k[K+(q*12|0)>>2]|0;m=k[K+(q*12|0)+4>>2]|0;n=+o[K+(q*12|0)+8>>2];d=+o[p+(J*12|0)+8>>2];p=k[K+(J*12|0)>>2]|0;q=k[K+(J*12|0)+4>>2]|0;r=+o[K+(J*12|0)+8>>2];s=+_(+c);u=+Z(+c);v=+_(+d);w=+Z(+d);x=+o[a+68>>2]-(k[t>>2]=I,+o[t>>2]);y=+o[a+72>>2]-(k[t>>2]=H,+o[t>>2]);o[a+136>>2]=u*x-s*y;o[a+140>>2]=s*x+u*y;z=+o[a+76>>2]-(k[t>>2]=G,+o[t>>2]);A=+o[a+80>>2]-(k[t>>2]=F,+o[t>>2]);o[a+144>>2]=w*z-v*A;o[a+148>>2]=v*z+w*A;f=(k[t>>2]=E,+o[t>>2]);g=(k[t>>2]=D,+o[t>>2]);h=(k[t>>2]=C,+o[t>>2]);j=(k[t>>2]=B,+o[t>>2]);o[a+184>>2]=f+g+h*((s*x+u*y)*(s*x+u*y))+j*((v*z+w*A)*(v*z+w*A));e=-(h*((s*x+u*y)*(u*x-s*y)))-j*((v*z+w*A)*(w*z-v*A));o[a+196>>2]=e;o[a+208>>2]=-(h*(s*x+u*y))-j*(v*z+w*A);o[a+188>>2]=e;o[a+200>>2]=f+g+h*((u*x-s*y)*(u*x-s*y))+j*((w*z-v*A)*(w*z-v*A));o[a+212>>2]=h*(u*x-s*y)+j*(w*z-v*A);o[a+192>>2]=-(h*(s*x+u*y))-j*(v*z+w*A);o[a+204>>2]=h*(u*x-s*y)+j*(w*z-v*A);o[a+216>>2]=h+j;o[a+220>>2]=h+j>0.0?1.0/(h+j):h+j;if(h+j==0.0|(i[a+100>>0]|0)==0)o[a+96>>2]=0.0;do if(h+j==0.0|(i[a+112>>0]|0)==0)k[a+224>>2]=0;else{c=d-c-+o[a+116>>2];d=+o[a+124>>2];e=+o[a+120>>2];if((d-e>0.0?d-e:-(d-e))<.06981317698955536){k[a+224>>2]=3;break}if(c<=e){if((k[a+224>>2]|0)!=1)o[a+92>>2]=0.0;k[a+224>>2]=1;break}if(!(c>=d)){k[a+224>>2]=0;o[a+92>>2]=0.0;break}if((k[a+224>>2]|0)!=2)o[a+92>>2]=0.0;k[a+224>>2]=2}while(0);if(!(i[b+20>>0]|0)){k[a+84>>2]=0;k[a+84+4>>2]=0;k[a+84+8>>2]=0;k[a+84+12>>2]=0;E=l;I=m;G=p;J=q;z=n;A=r;K=k[a+128>>2]|0;H=k[b+28>>2]|0;F=H+(K*12|0)|0;k[F>>2]=E;K=H+(K*12|0)+4|0;k[K>>2]=I;K=k[a+128>>2]|0;I=k[b+28>>2]|0;K=I+(K*12|0)+8|0;o[K>>2]=z;K=k[a+132>>2]|0;H=I+(K*12|0)|0;k[H>>2]=G;K=I+(K*12|0)+4|0;k[K>>2]=J;K=k[a+132>>2]|0;J=k[b+28>>2]|0;K=J+(K*12|0)+8|0;o[K>>2]=A;return}else{c=+o[b+8>>2];e=c*+o[a+84>>2];o[a+84>>2]=e;d=c*+o[a+88>>2];o[a+88>>2]=d;L=c*+o[a+92>>2];o[a+92>>2]=L;c=c*+o[a+96>>2];o[a+96>>2]=c;E=(o[t>>2]=(k[t>>2]=l,+o[t>>2])-f*e,k[t>>2]|0);I=(o[t>>2]=(k[t>>2]=m,+o[t>>2])-f*d,k[t>>2]|0);G=(o[t>>2]=(k[t>>2]=p,+o[t>>2])+g*e,k[t>>2]|0);J=(o[t>>2]=(k[t>>2]=q,+o[t>>2])+g*d,k[t>>2]|0);y=n-h*(L+(c+(d*(u*x-s*y)-e*(s*x+u*y))));A=r+j*(L+(c+(d*(w*z-v*A)-e*(v*z+w*A))));K=k[a+128>>2]|0;H=k[b+28>>2]|0;F=H+(K*12|0)|0;k[F>>2]=E;K=H+(K*12|0)+4|0;k[K>>2]=I;K=k[a+128>>2]|0;I=k[b+28>>2]|0;K=I+(K*12|0)+8|0;o[K>>2]=y;K=k[a+132>>2]|0;H=I+(K*12|0)|0;k[H>>2]=G;K=I+(K*12|0)+4|0;k[K>>2]=J;K=k[a+132>>2]|0;J=k[b+28>>2]|0;K=J+(K*12|0)+8|0;o[K>>2]=A;return}}function SV(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0,f=0,g=0,h=0.0,j=0,l=0.0,m=0.0,n=0.0,p=0.0,q=0.0,s=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0,C=0,D=0;B=r;r=r+64|0;C=k[a+128>>2]|0;D=k[b+28>>2]|0;g=k[D+(C*12|0)>>2]|0;j=k[D+(C*12|0)+4>>2]|0;c=+o[D+(C*12|0)+8>>2];C=k[a+132>>2]|0;e=k[D+(C*12|0)>>2]|0;f=k[D+(C*12|0)+4>>2]|0;d=+o[D+(C*12|0)+8>>2];x=+o[a+168>>2];y=+o[a+172>>2];z=+o[a+176>>2];A=+o[a+180>>2];if(i[a+100>>0]|0)if(!(z+A==0.0?1:(k[a+224>>2]|0)==3)){w=+o[a+96>>2];u=+o[b>>2]*+o[a+104>>2];v=w-+o[a+220>>2]*(d-c-+o[a+108>>2]);v=v>2]=v;c=c-z*(v-w);d=d+A*(v-w)}if(i[a+112>>0]|0)if(!(z+A==0.0|(k[a+224>>2]|0)==0)){w=(k[t>>2]=e,+o[t>>2]);v=(k[t>>2]=f,+o[t>>2]);u=(k[t>>2]=g,+o[t>>2]);s=(k[t>>2]=j,+o[t>>2]);l=w-d*+o[a+148>>2]-u+c*+o[a+140>>2];m=v+d*+o[a+144>>2]-s-c*+o[a+136>>2];o[B+40>>2]=l;o[B+40+4>>2]=m;o[B+40+8>>2]=d-c;gT(B+16|0,a+184|0,B+40|0);n=+o[B+16>>2];p=+o[B+16+4>>2];q=+o[B+16+8>>2];f=(o[t>>2]=-n,k[t>>2]|0);e=(o[t>>2]=-p,k[t>>2]|0);a:do switch(k[a+224>>2]|0){case 3:{o[a+84>>2]=+o[a+84>>2]-n;o[a+88>>2]=+o[a+88>>2]-p;o[a+92>>2]=+o[a+92>>2]-q;h=-q;break}case 1:{h=+o[a+92>>2];if(h-q<0.0){q=h*+o[a+212>>2]-m;o[B+32>>2]=h*+o[a+208>>2]-l;o[B+32+4>>2]=q;hT(B+8|0,a+184|0,B+32|0);f=k[B+8>>2]|0;e=k[B+8+4>>2]|0;h=-+o[a+92>>2];o[a+84>>2]=(k[t>>2]=f,+o[t>>2])+ +o[a+84>>2];o[a+88>>2]=(k[t>>2]=e,+o[t>>2])+ +o[a+88>>2];o[a+92>>2]=0.0;break a}else{o[a+84>>2]=+o[a+84>>2]-n;o[a+88>>2]=+o[a+88>>2]-p;o[a+92>>2]=h-q;h=-q;break a}}case 2:{h=+o[a+92>>2];if(h-q>0.0){q=h*+o[a+212>>2]-m;o[B+32>>2]=h*+o[a+208>>2]-l;o[B+32+4>>2]=q;hT(B+8|0,a+184|0,B+32|0);f=k[B+8>>2]|0;e=k[B+8+4>>2]|0;h=-+o[a+92>>2];o[a+84>>2]=(k[t>>2]=f,+o[t>>2])+ +o[a+84>>2];o[a+88>>2]=(k[t>>2]=e,+o[t>>2])+ +o[a+88>>2];o[a+92>>2]=0.0;break a}else{o[a+84>>2]=+o[a+84>>2]-n;o[a+88>>2]=+o[a+88>>2]-p;o[a+92>>2]=h-q;h=-q;break a}}default:h=-q}while(0);l=(k[t>>2]=f,+o[t>>2]);m=(k[t>>2]=e,+o[t>>2]);p=h+(m*+o[a+144>>2]-l*+o[a+148>>2]);n=h+(m*+o[a+136>>2]-l*+o[a+140>>2]);q=u-x*l;u=s-x*m;x=w+y*l;y=v+y*m;z=z*n;A=A*p;z=c-z;A=d+A;D=k[a+128>>2]|0;C=k[b+28>>2]|0;j=C+(D*12|0)|0;o[j>>2]=q;D=C+(D*12|0)+4|0;o[D>>2]=u;D=k[a+128>>2]|0;C=k[b+28>>2]|0;D=C+(D*12|0)+8|0;o[D>>2]=z;D=k[a+132>>2]|0;j=C+(D*12|0)|0;o[j>>2]=x;D=C+(D*12|0)+4|0;o[D>>2]=y;D=k[a+132>>2]|0;C=k[b+28>>2]|0;D=C+(D*12|0)+8|0;o[D>>2]=A;r=B;return}m=(k[t>>2]=e,+o[t>>2]);p=(k[t>>2]=f,+o[t>>2]);v=(k[t>>2]=g,+o[t>>2]);w=(k[t>>2]=j,+o[t>>2]);n=-(p+d*+o[a+144>>2]-w-c*+o[a+136>>2]);o[B>>2]=-(m-d*+o[a+148>>2]-v+c*+o[a+140>>2]);o[B+4>>2]=n;hT(B+40|0,a+184|0,B);n=+o[B+40>>2];o[a+84>>2]=n+ +o[a+84>>2];q=+o[B+40+4>>2];o[a+88>>2]=q+ +o[a+88>>2];u=q*+o[a+144>>2]-n*+o[a+148>>2];s=q*+o[a+136>>2]-n*+o[a+140>>2];v=v-x*n;w=w-x*q;x=m+y*n;y=p+y*q;z=z*s;A=A*u;z=c-z;A=d+A;D=k[a+128>>2]|0;C=k[b+28>>2]|0;j=C+(D*12|0)|0;o[j>>2]=v;D=C+(D*12|0)+4|0;o[D>>2]=w;D=k[a+128>>2]|0;C=k[b+28>>2]|0;D=C+(D*12|0)+8|0;o[D>>2]=z;D=k[a+132>>2]|0;j=C+(D*12|0)|0;o[j>>2]=x;D=C+(D*12|0)+4|0;o[D>>2]=y;D=k[a+132>>2]|0;C=k[b+28>>2]|0;D=C+(D*12|0)+8|0;o[D>>2]=A;r=B;return}function TV(a,b){a=a|0;b=b|0;var c=0.0,d=0,e=0.0,f=0.0,g=0.0,h=0.0,j=0.0,l=0.0,m=0.0,n=0.0,p=0.0,q=0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0;d=k[a+128>>2]|0;q=k[b+24>>2]|0;n=+o[q+(d*12|0)>>2];p=+o[q+(d*12|0)+4>>2];g=+o[q+(d*12|0)+8>>2];d=k[a+132>>2]|0;l=+o[q+(d*12|0)>>2];m=+o[q+(d*12|0)+4>>2];e=+o[q+(d*12|0)+8>>2];h=+o[a+176>>2];j=+o[a+180>>2];if(!(i[a+112>>0]|0))c=0.0;else{d=k[a+224>>2]|0;if((d|0)==0|h+j==0.0)c=0.0;else{c=e-g-+o[a+116>>2];switch(d|0){case 3:{f=c-+o[a+120>>2];f=f<.13962635397911072?f:.13962635397911072;f=f<-.13962635397911072?-.13962635397911072:f;c=f>0.0?f:-f;f=-(+o[a+220>>2]*f);break}case 1:{c=c-+o[a+120>>2];f=c+.03490658849477768<0.0?c+.03490658849477768:0.0;c=-c;f=-(+o[a+220>>2]*(f<-.13962635397911072?-.13962635397911072:f));break}case 2:{c=c-+o[a+124>>2];f=c+-.03490658849477768<.13962635397911072?c+-.03490658849477768:.13962635397911072;f=-(+o[a+220>>2]*(f<0.0?0.0:f));break}default:{c=0.0;f=0.0}}g=g-f*h;e=e+f*j}}F=+_(+g);D=+Z(+g);z=+_(+e);x=+Z(+e);E=+o[a+68>>2]-+o[a+152>>2];C=+o[a+72>>2]-+o[a+156>>2];y=+o[a+76>>2]-+o[a+160>>2];w=+o[a+80>>2]-+o[a+164>>2];v=l+(x*y-z*w)-n-(D*E-F*C);t=m+(z*y+x*w)-p-(F*E+D*C);f=+X(+(v*v+t*t));G=+o[a+168>>2];B=+o[a+172>>2];A=G+B+(F*E+D*C)*((F*E+D*C)*h)+(z*y+x*w)*((z*y+x*w)*j);s=-((F*E+D*C)*((D*E-F*C)*h))-(z*y+x*w)*((x*y-z*w)*j);u=G+B+(D*E-F*C)*((D*E-F*C)*h)+(x*y-z*w)*((x*y-z*w)*j);r=A*u-s*s!=0.0?1.0/(A*u-s*s):A*u-s*s;d=k[a+128>>2]|0;q=k[b+24>>2]|0;o[q+(d*12|0)>>2]=n-G*-((v*u-t*s)*r);o[q+(d*12|0)+4>>2]=p-G*-((t*A-v*s)*r);d=k[b+24>>2]|0;o[d+((k[a+128>>2]|0)*12|0)+8>>2]=g-h*((D*E-F*C)*-((t*A-v*s)*r)-(F*E+D*C)*-((v*u-t*s)*r));q=k[a+132>>2]|0;o[d+(q*12|0)>>2]=l+B*-((v*u-t*s)*r);o[d+(q*12|0)+4>>2]=m+B*-((t*A-v*s)*r);o[(k[b+24>>2]|0)+((k[a+132>>2]|0)*12|0)+8>>2]=e+j*((x*y-z*w)*-((t*A-v*s)*r)-(z*y+x*w)*-((v*u-t*s)*r));return c<=.03490658849477768&f<=.004999999888241291|0}function UV(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0.0,f=0.0,g=0.0,h=0.0;k[a+8>>2]=b;k[a+12>>2]=c;g=+o[d>>2]-+o[b+12>>2];h=+o[d+4>>2]-+o[b+16>>2];e=+o[b+24>>2];f=+o[b+20>>2];o[a+20>>2]=g*e+h*f;o[a+24>>2]=e*h-g*f;f=+o[d>>2]-+o[c+12>>2];g=+o[d+4>>2]-+o[c+16>>2];h=+o[c+24>>2];e=+o[c+20>>2];o[a+28>>2]=f*h+g*e;o[a+32>>2]=h*g-f*e;o[a+36>>2]=+o[c+56>>2]-+o[b+56>>2];return}function VV(a,b){a=a|0;b=b|0;var c=0;gU(a,b);k[a>>2]=20104;c=k[b+20+4>>2]|0;k[a+68>>2]=k[b+20>>2];k[a+68+4>>2]=c;c=k[b+28+4>>2]|0;k[a+76>>2]=k[b+28>>2];k[a+76+4>>2]=c;k[a+116>>2]=k[b+36>>2];k[a+84>>2]=0;k[a+84+4>>2]=0;k[a+84+8>>2]=0;k[a+84+12>>2]=0;k[a+120>>2]=k[b+44>>2];k[a+124>>2]=k[b+48>>2];k[a+104>>2]=k[b+60>>2];k[a+108>>2]=k[b+56>>2];i[a+112>>0]=i[b+40>>0]|0;i[a+100>>0]=i[b+52>>0]|0;k[a+224>>2]=0;return}function WV(a){a=a|0;return +(+o[(k[a+52>>2]|0)+56>>2]-+o[(k[a+48>>2]|0)+56>>2]-+o[a+116>>2])}function XV(a){a=a|0;return +(+o[(k[a+52>>2]|0)+72>>2]-+o[(k[a+48>>2]|0)+72>>2])}function YV(a){a=a|0;return (i[a+100>>0]|0)!=0|0}function ZV(a,b){a=a|0;b=b|0;var c=0,d=0;c=k[a+48>>2]|0;d=m[c+4>>1]|0;if(!(d&2)){j[c+4>>1]=d|2;o[c+144>>2]=0.0}c=k[a+52>>2]|0;d=m[c+4>>1]|0;if(d&2|0){a=a+100|0;b=b&1;i[a>>0]=b;return}j[c+4>>1]=d|2;o[c+144>>2]=0.0;a=a+100|0;b=b&1;i[a>>0]=b;return}function _V(a,b){a=a|0;b=+b;return +(+o[a+96>>2]*b)}function $V(a,b){a=a|0;b=+b;var c=0,d=0;c=k[a+48>>2]|0;d=m[c+4>>1]|0;if(!(d&2)){j[c+4>>1]=d|2;o[c+144>>2]=0.0}c=k[a+52>>2]|0;d=m[c+4>>1]|0;if(d&2|0){a=a+108|0;o[a>>2]=b;return}j[c+4>>1]=d|2;o[c+144>>2]=0.0;a=a+108|0;o[a>>2]=b;return}function aW(a,b){a=a|0;b=+b;var c=0,d=0;c=k[a+48>>2]|0;d=m[c+4>>1]|0;if(!(d&2)){j[c+4>>1]=d|2;o[c+144>>2]=0.0}c=k[a+52>>2]|0;d=m[c+4>>1]|0;if(d&2|0){a=a+104|0;o[a>>2]=b;return}j[c+4>>1]=d|2;o[c+144>>2]=0.0;a=a+104|0;o[a>>2]=b;return}function bW(a){a=a|0;return (i[a+112>>0]|0)!=0|0}function cW(a,b){a=a|0;b=b|0;var c=0,d=0;if((b&1|0)==(l[a+112>>0]|0|0))return;c=k[a+48>>2]|0;d=m[c+4>>1]|0;if(!(d&2)){j[c+4>>1]=d|2;o[c+144>>2]=0.0}c=k[a+52>>2]|0;d=m[c+4>>1]|0;if(!(d&2)){j[c+4>>1]=d|2;o[c+144>>2]=0.0}i[a+112>>0]=b&1;o[a+92>>2]=0.0;return}function dW(a){a=a|0;return +(+o[a+120>>2])}function eW(a){a=a|0;return +(+o[a+124>>2])}function fW(a,b,c){a=a|0;b=+b;c=+c;var d=0,e=0;nT(b<=c,361121);if(!(+o[a+120>>2]!=b))if(!(+o[a+124>>2]!=c))return;e=k[a+48>>2]|0;d=m[e+4>>1]|0;if(!(d&2)){j[e+4>>1]=d|2;o[e+144>>2]=0.0}d=k[a+52>>2]|0;e=m[d+4>>1]|0;if(!(e&2)){j[d+4>>1]=e|2;o[d+144>>2]=0.0}o[a+92>>2]=0.0;o[a+120>>2]=b;o[a+124>>2]=c;return}function gW(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,f=0.0,g=0.0,h=0;h=k[b+48>>2]|0;g=+o[h+24>>2];f=+o[b+68>>2];e=+o[h+20>>2];d=+o[b+72>>2];c=f*e+g*d+ +o[h+16>>2];o[a>>2]=+o[h+12>>2]+(g*f-e*d);o[a+4>>2]=c;return}function hW(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,f=0.0,g=0.0,h=0;h=k[b+52>>2]|0;g=+o[h+24>>2];f=+o[b+76>>2];e=+o[h+20>>2];d=+o[b+80>>2];c=f*e+g*d+ +o[h+16>>2];o[a>>2]=+o[h+12>>2]+(g*f-e*d);o[a+4>>2]=c;return}function iW(a,b,c){a=a|0;b=b|0;c=+c;var d=0.0;d=+o[b+92>>2]*c;c=d*+o[b+108>>2];o[a>>2]=+o[b+104>>2]*d;o[a+4>>2]=c;return}function jW(a,b){a=a|0;b=+b;return 0.0}function kW(a){a=a|0;var b=0,c=0.0,d=0,e=0;b=r;r=r+80|0;e=k[(k[a+48>>2]|0)+8>>2]|0;d=k[(k[a+52>>2]|0)+8>>2]|0;mT(361150,b);k[b+8>>2]=e;mT(444660,b+8|0);k[b+16>>2]=d;mT(444686,b+16|0);k[b+24>>2]=l[a+61>>0];mT(444712,b+24|0);c=+o[a+72>>2];p[b+32>>3]=+o[a+68>>2];p[b+32+8>>3]=c;mT(444417,b+32|0);c=+o[a+80>>2];p[b+48>>3]=+o[a+76>>2];p[b+48+8>>3]=c;mT(444459,b+48|0);p[b+64>>3]=+o[a+84>>2];mT(361172,b+64|0);k[b+72>>2]=k[a+56>>2];mT(444824,b+72|0);r=b;return}function lW(a){a=a|0;CAb(a);return}function mW(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0,f=0,g=0.0,h=0.0,j=0.0,l=0.0,m=0,n=0,p=0.0,q=0.0,r=0.0,s=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0,C=0,D=0,E=0,F=0,G=0,H=0.0,I=0.0;G=k[a+48>>2]|0;e=k[G+8>>2]|0;k[a+96>>2]=e;f=k[a+52>>2]|0;F=k[f+8>>2]|0;k[a+100>>2]=F;E=k[G+28>>2]|0;D=k[G+28+4>>2]|0;k[a+128>>2]=E;k[a+128+4>>2]=D;C=k[f+28>>2]|0;B=k[f+28+4>>2]|0;k[a+136>>2]=C;k[a+136+4>>2]=B;k[a+144>>2]=k[G+120>>2];k[a+148>>2]=k[f+120>>2];k[a+152>>2]=k[G+128>>2];k[a+156>>2]=k[f+128>>2];f=k[b+24>>2]|0;g=+o[f+(e*12|0)>>2];h=+o[f+(e*12|0)+4>>2];s=+o[f+(e*12|0)+8>>2];G=k[b+28>>2]|0;m=k[G+(e*12|0)>>2]|0;n=k[G+(e*12|0)+4>>2]|0;d=+o[G+(e*12|0)+8>>2];w=+o[f+(F*12|0)>>2];j=+o[f+(F*12|0)+4>>2];y=+o[f+(F*12|0)+8>>2];f=k[G+(F*12|0)>>2]|0;e=k[G+(F*12|0)+4>>2]|0;c=+o[G+(F*12|0)+8>>2];r=+_(+s);s=+Z(+s);x=+_(+y);y=+Z(+y);u=+o[a+68>>2]-(k[t>>2]=E,+o[t>>2]);v=+o[a+72>>2]-(k[t>>2]=D,+o[t>>2]);o[a+112>>2]=s*u-r*v;o[a+116>>2]=r*u+s*v;z=+o[a+76>>2]-(k[t>>2]=C,+o[t>>2]);A=+o[a+80>>2]-(k[t>>2]=B,+o[t>>2]);o[a+120>>2]=y*z-x*A;o[a+124>>2]=x*z+y*A;g=w+(y*z-x*A)-g-(s*u-r*v);h=j+(x*z+y*A)-h-(r*u+s*v);o[a+104>>2]=g;o[a+108>>2]=h;j=+X(+(g*g+h*h));o[a+88>>2]=j;k[a+164>>2]=j-+o[a+84>>2]>0.0?2:0;if(!(j>.004999999888241291)){o[a+104>>2]=0.0;o[a+108>>2]=0.0;o[a+160>>2]=0.0;o[a+92>>2]=0.0;return}o[a+104>>2]=1.0/j*g;o[a+108>>2]=1.0/j*h;I=1.0/j*h*(s*u-r*v)-(r*u+s*v)*(1.0/j*g);H=1.0/j*h*(y*z-x*A)-1.0/j*g*(x*z+y*A);l=+o[a+144>>2];q=+o[a+152>>2];p=+o[a+148>>2];w=+o[a+156>>2];o[a+160>>2]=p+(l+I*(I*q))+H*(H*w)!=0.0?1.0/(p+(l+I*(I*q))+H*(H*w)):0.0;if(!(i[b+20>>0]|0))o[a+92>>2]=0.0;else{H=+o[b+8>>2]*+o[a+92>>2];o[a+92>>2]=H;I=H*(1.0/j*g);H=H*(1.0/j*h);m=(o[t>>2]=(k[t>>2]=m,+o[t>>2])-I*l,k[t>>2]|0);n=(o[t>>2]=(k[t>>2]=n,+o[t>>2])-H*l,k[t>>2]|0);f=(o[t>>2]=(k[t>>2]=f,+o[t>>2])+I*p,k[t>>2]|0);e=(o[t>>2]=(k[t>>2]=e,+o[t>>2])+H*p,k[t>>2]|0);d=d-q*(H*(s*u-r*v)-I*(r*u+s*v));c=c+w*(H*(y*z-x*A)-I*(x*z+y*A))}F=k[a+96>>2]|0;G=k[b+28>>2]|0;k[G+(F*12|0)>>2]=m;k[G+(F*12|0)+4>>2]=n;F=k[b+28>>2]|0;o[F+((k[a+96>>2]|0)*12|0)+8>>2]=d;G=k[a+100>>2]|0;k[F+(G*12|0)>>2]=f;k[F+(G*12|0)+4>>2]=e;o[(k[b+28>>2]|0)+((k[a+100>>2]|0)*12|0)+8>>2]=c;return}function nW(a,b){a=a|0;b=b|0;var c=0.0,d=0,e=0.0,f=0.0,g=0.0,h=0.0,i=0.0,j=0.0,l=0,m=0.0,n=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0,u=0.0,v=0.0;d=k[a+96>>2]|0;l=k[b+28>>2]|0;q=+o[l+(d*12|0)>>2];r=+o[l+(d*12|0)+4>>2];s=+o[l+(d*12|0)+8>>2];t=k[a+100>>2]|0;e=+o[l+(t*12|0)>>2];f=+o[l+(t*12|0)+4>>2];g=+o[l+(t*12|0)+8>>2];h=+o[a+116>>2];i=+o[a+112>>2];j=+o[a+124>>2];m=+o[a+120>>2];c=+o[a+88>>2]-+o[a+84>>2];n=+o[a+104>>2];p=+o[a+108>>2];if(c<0.0)c=(e-g*j-(q-s*h))*n+(f+g*m-(r+s*i))*p+c*+o[b+4>>2];else c=(e-g*j-(q-s*h))*n+(f+g*m-(r+s*i))*p;u=+o[a+92>>2];c=u-c*+o[a+160>>2];c=c>0.0?0.0:c;o[a+92>>2]=c;v=+o[a+144>>2];h=s-+o[a+152>>2]*(p*(c-u)*i-n*(c-u)*h);i=+o[a+148>>2];s=g+ +o[a+156>>2]*(p*(c-u)*m-n*(c-u)*j);o[l+(d*12|0)>>2]=q-v*(n*(c-u));o[l+(d*12|0)+4>>2]=r-v*(p*(c-u));l=k[b+28>>2]|0;o[l+((k[a+96>>2]|0)*12|0)+8>>2]=h;t=k[a+100>>2]|0;o[l+(t*12|0)>>2]=e+n*(c-u)*i;o[l+(t*12|0)+4>>2]=f+p*(c-u)*i;o[(k[b+28>>2]|0)+((k[a+100>>2]|0)*12|0)+8>>2]=s;return}function oW(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,f=0.0,g=0,h=0.0,i=0.0,j=0.0,l=0.0,m=0.0,n=0.0,p=0.0,q=0.0,r=0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0;g=k[a+96>>2]|0;r=k[b+24>>2]|0;v=+o[r+(g*12|0)>>2];w=+o[r+(g*12|0)+4>>2];x=+o[r+(g*12|0)+8>>2];y=k[a+100>>2]|0;h=+o[r+(y*12|0)>>2];i=+o[r+(y*12|0)+4>>2];j=+o[r+(y*12|0)+8>>2];l=+_(+x);m=+Z(+x);n=+_(+j);p=+Z(+j);q=+o[a+68>>2]-+o[a+128>>2];s=+o[a+72>>2]-+o[a+132>>2];t=+o[a+76>>2]-+o[a+136>>2];u=+o[a+80>>2]-+o[a+140>>2];d=h+(p*t-n*u)-v-(m*q-l*s);c=i+(n*t+p*u)-w-(l*q+m*s);e=+X(+(d*d+c*c));if(e<1.1920928955078125e-07)f=0.0;else{f=e;d=1.0/e*d;c=1.0/e*c}e=f-+o[a+84>>2];e=e<.20000000298023224?e:.20000000298023224;e=-(+o[a+160>>2]*(e<0.0?0.0:e));d=d*e;e=c*e;c=+o[a+144>>2];q=x-+o[a+152>>2]*((m*q-l*s)*e-(l*q+m*s)*d);s=+o[a+148>>2];x=j+ +o[a+156>>2]*((p*t-n*u)*e-(n*t+p*u)*d);o[r+(g*12|0)>>2]=v-c*d;o[r+(g*12|0)+4>>2]=w-c*e;r=k[b+24>>2]|0;o[r+((k[a+96>>2]|0)*12|0)+8>>2]=q;y=k[a+100>>2]|0;o[r+(y*12|0)>>2]=h+s*d;o[r+(y*12|0)+4>>2]=i+s*e;o[(k[b+24>>2]|0)+((k[a+100>>2]|0)*12|0)+8>>2]=x;return f-+o[a+84>>2]<.004999999888241291|0}function pW(a,b){a=a|0;b=b|0;var c=0;gU(a,b);k[a>>2]=20156;c=k[b+20+4>>2]|0;k[a+68>>2]=k[b+20>>2];k[a+68+4>>2]=c;c=k[b+28+4>>2]|0;k[a+76>>2]=k[b+28>>2];k[a+76+4>>2]=c;k[a+84>>2]=k[b+36>>2];o[a+160>>2]=0.0;o[a+92>>2]=0.0;k[a+164>>2]=0;o[a+88>>2]=0.0;return}function qW(a){a=a|0;return +(+o[a+84>>2])}function rW(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,f=0.0,g=0.0,h=0;h=k[b+48>>2]|0;g=+o[h+24>>2];f=+o[b+80>>2];e=+o[h+20>>2];d=+o[b+84>>2];c=f*e+g*d+ +o[h+16>>2];o[a>>2]=+o[h+12>>2]+(g*f-e*d);o[a+4>>2]=c;return}function sW(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,f=0.0,g=0.0,h=0;h=k[b+52>>2]|0;g=+o[h+24>>2];f=+o[b+88>>2];e=+o[h+20>>2];d=+o[b+92>>2];c=f*e+g*d+ +o[h+16>>2];o[a>>2]=+o[h+12>>2]+(g*f-e*d);o[a+4>>2]=c;return}function tW(a,b,c){a=a|0;b=b|0;c=+c;var d=0.0;d=+o[b+108>>2]*c;o[a>>2]=+o[b+104>>2]*c;o[a+4>>2]=d;return}function uW(a,b){a=a|0;b=+b;return +(+o[a+112>>2]*b)}function vW(a){a=a|0;var b=0,c=0.0,d=0,e=0;b=r;r=r+96|0;e=k[(k[a+48>>2]|0)+8>>2]|0;d=k[(k[a+52>>2]|0)+8>>2]|0;mT(361213,b);k[b+8>>2]=e;mT(444660,b+8|0);k[b+16>>2]=d;mT(444686,b+16|0);k[b+24>>2]=l[a+61>>0];mT(444712,b+24|0);c=+o[a+84>>2];p[b+32>>3]=+o[a+80>>2];p[b+32+8>>3]=c;mT(444417,b+32|0);c=+o[a+92>>2];p[b+48>>3]=+o[a+88>>2];p[b+48+8>>3]=c;mT(444459,b+48|0);p[b+64>>3]=+o[a+96>>2];mT(361235,b+64|0);p[b+72>>3]=+o[a+68>>2];mT(444314,b+72|0);p[b+80>>3]=+o[a+72>>2];mT(444343,b+80|0);k[b+88>>2]=k[a+56>>2];mT(444824,b+88|0);r=b;return}function wW(a){a=a|0;CAb(a);return}function xW(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,f=0.0,g=0.0,h=0,j=0,l=0.0,m=0.0,n=0,p=0,q=0.0,s=0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0;s=r;r=r+48|0;E=k[a+48>>2]|0;p=k[E+8>>2]|0;k[a+116>>2]=p;D=k[a+52>>2]|0;L=k[D+8>>2]|0;k[a+120>>2]=L;K=k[E+28>>2]|0;J=k[E+28+4>>2]|0;k[a+140>>2]=K;k[a+140+4>>2]=J;I=k[D+28>>2]|0;H=k[D+28+4>>2]|0;k[a+148>>2]=I;k[a+148+4>>2]=H;G=k[E+120>>2]|0;k[a+156>>2]=G;F=k[D+120>>2]|0;k[a+160>>2]=F;E=k[E+128>>2]|0;k[a+164>>2]=E;D=k[D+128>>2]|0;k[a+168>>2]=D;n=k[b+24>>2]|0;g=+o[n+(p*12|0)+8>>2];M=k[b+28>>2]|0;h=k[M+(p*12|0)>>2]|0;j=k[M+(p*12|0)+4>>2]|0;l=+o[M+(p*12|0)+8>>2];m=+o[n+(L*12|0)+8>>2];n=k[M+(L*12|0)>>2]|0;p=k[M+(L*12|0)+4>>2]|0;q=+o[M+(L*12|0)+8>>2];z=+_(+g);B=+Z(+g);v=+_(+m);x=+Z(+m);A=+o[a+80>>2]-(k[t>>2]=K,+o[t>>2]);y=+o[a+84>>2]-(k[t>>2]=J,+o[t>>2]);o[a+124>>2]=B*A-z*y;o[a+128>>2]=z*A+B*y;w=+o[a+88>>2]-(k[t>>2]=I,+o[t>>2]);u=+o[a+92>>2]-(k[t>>2]=H,+o[t>>2]);o[a+132>>2]=x*w-v*u;o[a+136>>2]=v*w+x*u;c=(k[t>>2]=G,+o[t>>2]);d=(k[t>>2]=F,+o[t>>2]);e=(k[t>>2]=E,+o[t>>2]);f=(k[t>>2]=D,+o[t>>2]);o[s>>2]=c+d+e*((z*A+B*y)*(z*A+B*y))+f*((v*w+x*u)*(v*w+x*u));C=-(e*((z*A+B*y)*(B*A-z*y)))-f*((v*w+x*u)*(x*w-v*u));o[s+12>>2]=C;o[s+24>>2]=-(e*(z*A+B*y))-f*(v*w+x*u);o[s+4>>2]=C;o[s+16>>2]=c+d+e*((B*A-z*y)*(B*A-z*y))+f*((x*w-v*u)*(x*w-v*u));o[s+28>>2]=e*(B*A-z*y)+f*(x*w-v*u);o[s+8>>2]=-(e*(z*A+B*y))-f*(v*w+x*u);o[s+20>>2]=e*(B*A-z*y)+f*(x*w-v*u);o[s+32>>2]=e+f;do if(+o[a+68>>2]>0.0){iT(s,a+172|0);A=e+f>0.0?1.0/(e+f):0.0;y=m-g-+o[a+96>>2];B=+o[a+68>>2]*6.2831854820251465;z=+o[b>>2];C=z*(B*(A*2.0*+o[a+72>>2])+z*(B*(A*B)));C=C!=0.0?1.0/C:0.0;o[a+100>>2]=C;o[a+76>>2]=y*z*(B*(A*B))*C;o[a+204>>2]=e+f+C!=0.0?1.0/(e+f+C):0.0}else if(e+f==0.0){iT(s,a+172|0);o[a+100>>2]=0.0;o[a+76>>2]=0.0;break}else{jT(s,a+172|0);o[a+100>>2]=0.0;o[a+76>>2]=0.0;break}while(0);if(!(i[b+20>>0]|0)){o[a+104>>2]=0.0;o[a+108>>2]=0.0;o[a+112>>2]=0.0;G=h;K=j;I=n;L=p;B=l;C=q;M=k[a+116>>2]|0;J=k[b+28>>2]|0;H=J+(M*12|0)|0;k[H>>2]=G;M=J+(M*12|0)+4|0;k[M>>2]=K;M=k[a+116>>2]|0;K=k[b+28>>2]|0;M=K+(M*12|0)+8|0;o[M>>2]=B;M=k[a+120>>2]|0;J=K+(M*12|0)|0;k[J>>2]=I;M=K+(M*12|0)+4|0;k[M>>2]=L;M=k[a+120>>2]|0;L=k[b+28>>2]|0;M=L+(M*12|0)+8|0;o[M>>2]=C;r=s;return}else{z=+o[b+8>>2];C=z*+o[a+104>>2];o[a+104>>2]=C;A=z*+o[a+108>>2];o[a+108>>2]=A;z=z*+o[a+112>>2];o[a+112>>2]=z;G=(o[t>>2]=(k[t>>2]=h,+o[t>>2])-c*C,k[t>>2]|0);K=(o[t>>2]=(k[t>>2]=j,+o[t>>2])-c*A,k[t>>2]|0);I=(o[t>>2]=(k[t>>2]=n,+o[t>>2])+d*C,k[t>>2]|0);L=(o[t>>2]=(k[t>>2]=p,+o[t>>2])+d*A,k[t>>2]|0);B=l-e*(z+(A*+o[a+124>>2]-C*+o[a+128>>2]));C=q+f*(z+(A*+o[a+132>>2]-C*+o[a+136>>2]));M=k[a+116>>2]|0;J=k[b+28>>2]|0;H=J+(M*12|0)|0;k[H>>2]=G;M=J+(M*12|0)+4|0;k[M>>2]=K;M=k[a+116>>2]|0;K=k[b+28>>2]|0;M=K+(M*12|0)+8|0;o[M>>2]=B;M=k[a+120>>2]|0;J=K+(M*12|0)|0;k[J>>2]=I;M=K+(M*12|0)+4|0;k[M>>2]=L;M=k[a+120>>2]|0;L=k[b+28>>2]|0;M=L+(M*12|0)+8|0;o[M>>2]=C;r=s;return}}function yW(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0.0,g=0.0,h=0.0,i=0.0,j=0.0,l=0,m=0.0,n=0,p=0,q=0.0,r=0,s=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0;c=k[a+116>>2]|0;l=k[b+28>>2]|0;n=k[l+(c*12|0)>>2]|0;p=k[l+(c*12|0)+4>>2]|0;q=+o[l+(c*12|0)+8>>2];r=k[a+120>>2]|0;d=k[l+(r*12|0)>>2]|0;e=k[l+(r*12|0)+4>>2]|0;f=+o[l+(r*12|0)+8>>2];g=+o[a+156>>2];h=+o[a+160>>2];i=+o[a+164>>2];j=+o[a+168>>2];m=+o[a+204>>2];if(+o[a+68>>2]>0.0){w=+o[a+112>>2];z=m*(f-q+ +o[a+76>>2]+ +o[a+100>>2]*w);o[a+112>>2]=w-z;w=+o[a+136>>2];y=+o[a+132>>2];C=(k[t>>2]=d,+o[t>>2]);m=(k[t>>2]=e,+o[t>>2]);u=(k[t>>2]=n,+o[t>>2]);s=(k[t>>2]=p,+o[t>>2]);A=+o[a+128>>2];B=+o[a+124>>2];v=+o[a+172>>2]*(A*(q-i*-z)+(C-w*(f+j*-z)-u))+ +o[a+184>>2]*(m+y*(f+j*-z)-s-B*(q-i*-z));x=+o[a+176>>2]*(A*(q-i*-z)+(C-w*(f+j*-z)-u))+(m+y*(f+j*-z)-s-B*(q-i*-z))*+o[a+188>>2];o[a+104>>2]=+o[a+104>>2]-v;o[a+108>>2]=+o[a+108>>2]-x;u=u-g*-v;s=s-g*-x;g=C+h*-v;m=m+h*-x;i=q-i*-z-i*(B*-x-A*-v);q=f+j*-z+j*(y*-x-w*-v);r=l+(c*12|0)|0;o[r>>2]=u;o[l+(c*12|0)+4>>2]=s;r=k[a+116>>2]|0;p=k[b+28>>2]|0;r=p+(r*12|0)+8|0;o[r>>2]=i;r=k[a+120>>2]|0;n=p+(r*12|0)|0;o[n>>2]=g;r=p+(r*12|0)+4|0;o[r>>2]=m;r=k[a+120>>2]|0;a=k[b+28>>2]|0;r=a+(r*12|0)+8|0;o[r>>2]=q;return}else{v=+o[a+136>>2];s=+o[a+132>>2];A=(k[t>>2]=d,+o[t>>2]);B=(k[t>>2]=e,+o[t>>2]);x=(k[t>>2]=n,+o[t>>2]);y=(k[t>>2]=p,+o[t>>2]);z=+o[a+128>>2];D=+o[a+124>>2];w=(A-f*v-x+q*z)*+o[a+172>>2]+(B+f*s-y-q*D)*+o[a+184>>2]+(f-q)*+o[a+196>>2];u=(A-f*v-x+q*z)*+o[a+176>>2]+(B+f*s-y-q*D)*+o[a+188>>2]+(f-q)*+o[a+200>>2];C=(A-f*v-x+q*z)*+o[a+180>>2]+(B+f*s-y-q*D)*+o[a+192>>2]+(f-q)*m;o[a+104>>2]=+o[a+104>>2]-w;o[a+108>>2]=+o[a+108>>2]-u;o[a+112>>2]=+o[a+112>>2]-C;x=x-g*-w;y=y-g*-u;A=A+h*-w;B=B+h*-u;z=q-i*(D*-u-z*-w-C);C=f+j*(s*-u-v*-w-C);r=l+(c*12|0)|0;o[r>>2]=x;o[l+(c*12|0)+4>>2]=y;r=k[a+116>>2]|0;p=k[b+28>>2]|0;r=p+(r*12|0)+8|0;o[r>>2]=z;r=k[a+120>>2]|0;n=p+(r*12|0)|0;o[n>>2]=A;r=p+(r*12|0)+4|0;o[r>>2]=B;r=k[a+120>>2]|0;a=k[b+28>>2]|0;r=a+(r*12|0)+8|0;o[r>>2]=C;return}}function zW(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0.0,h=0.0,i=0.0,j=0.0,l=0.0,m=0.0,n=0.0,p=0.0,q=0.0,s=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0,I=0,J=0;H=r;r=r+96|0;I=k[a+116>>2]|0;J=k[b+24>>2]|0;e=k[J+(I*12|0)>>2]|0;f=k[J+(I*12|0)+4>>2]|0;s=+o[J+(I*12|0)+8>>2];I=k[a+120>>2]|0;c=k[J+(I*12|0)>>2]|0;d=k[J+(I*12|0)+4>>2]|0;u=+o[J+(I*12|0)+8>>2];v=+_(+s);w=+Z(+s);x=+_(+u);y=+Z(+u);z=+o[a+156>>2];A=+o[a+160>>2];B=+o[a+164>>2];C=+o[a+168>>2];D=+o[a+80>>2]-+o[a+140>>2];E=+o[a+84>>2]-+o[a+144>>2];F=+o[a+88>>2]-+o[a+148>>2];G=+o[a+92>>2]-+o[a+152>>2];o[H+48>>2]=z+A+B*((v*D+w*E)*(v*D+w*E))+C*((x*F+y*G)*(x*F+y*G));q=-(B*((v*D+w*E)*(w*D-v*E)))-C*((x*F+y*G)*(y*F-x*G));o[H+48+12>>2]=q;o[H+48+24>>2]=-(B*(v*D+w*E))-C*(x*F+y*G);o[H+48+4>>2]=q;o[H+48+16>>2]=z+A+B*((w*D-v*E)*(w*D-v*E))+C*((y*F-x*G)*(y*F-x*G));o[H+48+28>>2]=B*(w*D-v*E)+C*(y*F-x*G);o[H+48+8>>2]=-(B*(v*D+w*E))-C*(x*F+y*G);o[H+48+20>>2]=B*(w*D-v*E)+C*(y*F-x*G);o[H+48+32>>2]=B+C;if(+o[a+68>>2]>0.0){l=(k[t>>2]=c,+o[t>>2]);n=(k[t>>2]=d,+o[t>>2]);i=(k[t>>2]=e,+o[t>>2]);j=(k[t>>2]=f,+o[t>>2]);m=l+(y*F-x*G)-i-(w*D-v*E);q=n+(x*F+y*G)-j-(v*D+w*E);o[H+40>>2]=m;o[H+40+4>>2]=q;q=+X(+(m*m+q*q));hT(H+32|0,H+48|0,H+40|0);m=-+o[H+32>>2];p=-+o[H+32+4>>2];F=(y*F-x*G)*p-(x*F+y*G)*m;x=(w*D-v*E)*p-(v*D+w*E)*m;J=1;y=i-z*m;z=j-z*p;D=l+A*m;E=n+A*p;G=q;B=B*x;F=C*F;C=s-B;F=u+F;I=k[a+116>>2]|0;f=k[b+24>>2]|0;e=f+(I*12|0)|0;o[e>>2]=y;I=f+(I*12|0)+4|0;o[I>>2]=z;I=k[a+116>>2]|0;f=k[b+24>>2]|0;I=f+(I*12|0)+8|0;o[I>>2]=C;I=k[a+120>>2]|0;e=f+(I*12|0)|0;o[e>>2]=D;I=f+(I*12|0)+4|0;o[I>>2]=E;I=k[a+120>>2]|0;a=k[b+24>>2]|0;I=a+(I*12|0)+8|0;o[I>>2]=F;I=G<=.004999999888241291;J=I&J;r=H;return J|0}q=(k[t>>2]=c,+o[t>>2]);p=(k[t>>2]=d,+o[t>>2]);n=(k[t>>2]=e,+o[t>>2]);i=(k[t>>2]=f,+o[t>>2]);h=q+(y*F-x*G)-n-(w*D-v*E);m=p+(x*F+y*G)-i-(v*D+w*E);o[H+40>>2]=h;o[H+40+4>>2]=m;j=u-s-+o[a+96>>2];l=+X(+(m*m+h*h));o[H+20>>2]=h;o[H+20+4>>2]=m;o[H+20+8>>2]=j;if(B+C>0.0){gT(H+8|0,H+48|0,H+20|0);g=+o[H+8>>2];h=+o[H+8+4>>2];m=-+o[H+8+8>>2]}else{hT(H,H+48|0,H+40|0);g=+o[H>>2];h=+o[H+4>>2];m=0.0}h=-h;g=-g;F=m+((y*F-x*G)*h-(x*F+y*G)*g);x=m+((w*D-v*E)*h-(v*D+w*E)*g);J=(j>0.0?j:-j)<=.03490658849477768;y=n-z*g;z=i-z*h;D=q+A*g;E=p+A*h;G=l;B=B*x;F=C*F;C=s-B;F=u+F;I=k[a+116>>2]|0;f=k[b+24>>2]|0;e=f+(I*12|0)|0;o[e>>2]=y;I=f+(I*12|0)+4|0;o[I>>2]=z;I=k[a+116>>2]|0;f=k[b+24>>2]|0;I=f+(I*12|0)+8|0;o[I>>2]=C;I=k[a+120>>2]|0;e=f+(I*12|0)|0;o[e>>2]=D;I=f+(I*12|0)+4|0;o[I>>2]=E;I=k[a+120>>2]|0;a=k[b+24>>2]|0;I=a+(I*12|0)+8|0;o[I>>2]=F;I=G<=.004999999888241291;J=I&J;r=H;return J|0}function AW(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0.0,f=0.0,g=0.0,h=0.0;k[a+8>>2]=b;k[a+12>>2]=c;g=+o[d>>2]-+o[b+12>>2];h=+o[d+4>>2]-+o[b+16>>2];e=+o[b+24>>2];f=+o[b+20>>2];o[a+20>>2]=g*e+h*f;o[a+24>>2]=e*h-g*f;f=+o[d>>2]-+o[c+12>>2];g=+o[d+4>>2]-+o[c+16>>2];h=+o[c+24>>2];e=+o[c+20>>2];o[a+28>>2]=f*h+g*e;o[a+32>>2]=h*g-f*e;o[a+36>>2]=+o[c+56>>2]-+o[b+56>>2];return}function BW(a,b){a=a|0;b=b|0;var c=0;gU(a,b);k[a>>2]=20208;c=k[b+20+4>>2]|0;k[a+80>>2]=k[b+20>>2];k[a+80+4>>2]=c;c=k[b+28+4>>2]|0;k[a+88>>2]=k[b+28>>2];k[a+88+4>>2]=c;k[a+96>>2]=k[b+36>>2];k[a+68>>2]=k[b+40>>2];k[a+72>>2]=k[b+44>>2];o[a+104>>2]=0.0;o[a+108>>2]=0.0;o[a+112>>2]=0.0;return}function CW(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,f=0.0,g=0.0,h=0;h=k[b+48>>2]|0;g=+o[h+24>>2];f=+o[b+76>>2];e=+o[h+20>>2];d=+o[b+80>>2];c=f*e+g*d+ +o[h+16>>2];o[a>>2]=+o[h+12>>2]+(g*f-e*d);o[a+4>>2]=c;return}function DW(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,f=0.0,g=0.0,h=0;h=k[b+52>>2]|0;g=+o[h+24>>2];f=+o[b+84>>2];e=+o[h+20>>2];d=+o[b+88>>2];c=f*e+g*d+ +o[h+16>>2];o[a>>2]=+o[h+12>>2]+(g*f-e*d);o[a+4>>2]=c;return}function EW(a,b,c){a=a|0;b=b|0;c=+c;var d=0.0,e=0.0,f=0.0;f=+o[b+108>>2];e=+o[b+116>>2];d=(f*+o[b+184>>2]+e*+o[b+176>>2])*c;o[a>>2]=(f*+o[b+180>>2]+e*+o[b+172>>2])*c;o[a+4>>2]=d;return}function FW(a,b){a=a|0;b=+b;return +(+o[a+112>>2]*b)}function GW(a){a=a|0;var b=0,c=0.0,d=0,e=0;b=r;r=r+128|0;e=k[(k[a+48>>2]|0)+8>>2]|0;d=k[(k[a+52>>2]|0)+8>>2]|0;mT(361282,b);k[b+8>>2]=e;mT(444660,b+8|0);k[b+16>>2]=d;mT(444686,b+16|0);k[b+24>>2]=l[a+61>>0];mT(444712,b+24|0);c=+o[a+80>>2];p[b+32>>3]=+o[a+76>>2];p[b+32+8>>3]=c;mT(444417,b+32|0);c=+o[a+88>>2];p[b+48>>3]=+o[a+84>>2];p[b+48+8>>3]=c;mT(444459,b+48|0);c=+o[a+96>>2];p[b+64>>3]=+o[a+92>>2];p[b+64+8>>3]=c;mT(361305,b+64|0);k[b+80>>2]=l[a+128>>0];mT(361345,b+80|0);p[b+88>>3]=+o[a+124>>2];mT(361375,b+88|0);p[b+96>>3]=+o[a+120>>2];mT(361403,b+96|0);p[b+104>>3]=+o[a+68>>2];mT(444314,b+104|0);p[b+112>>3]=+o[a+72>>2];mT(444343,b+112|0);k[b+120>>2]=k[a+56>>2];mT(444824,b+120|0);r=b;return}function HW(a){a=a|0;CAb(a);return}function IW(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,f=0.0,g=0.0,h=0.0,j=0.0,l=0.0,m=0.0,n=0.0,p=0.0,q=0.0,r=0.0,s=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0,A=0,B=0.0,C=0,D=0,E=0.0,F=0.0,G=0.0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;I=k[a+48>>2]|0;H=k[I+8>>2]|0;k[a+132>>2]=H;A=k[a+52>>2]|0;J=k[A+8>>2]|0;k[a+136>>2]=J;N=k[I+28>>2]|0;M=k[I+28+4>>2]|0;k[a+140>>2]=N;k[a+140+4>>2]=M;L=k[A+28>>2]|0;K=k[A+28+4>>2]|0;k[a+148>>2]=L;k[a+148+4>>2]=K;z=k[I+120>>2]|0;k[a+156>>2]=z;O=k[A+120>>2]|0;k[a+160>>2]=O;I=k[I+128>>2]|0;k[a+164>>2]=I;v=+o[A+128>>2];o[a+168>>2]=v;w=(k[t>>2]=z,+o[t>>2]);x=(k[t>>2]=O,+o[t>>2]);y=(k[t>>2]=I,+o[t>>2]);I=k[b+24>>2]|0;G=+o[I+(H*12|0)+8>>2];O=k[b+28>>2]|0;z=k[O+(H*12|0)>>2]|0;A=k[O+(H*12|0)+4>>2]|0;B=+o[O+(H*12|0)+8>>2];g=+o[I+(J*12|0)+8>>2];C=k[O+(J*12|0)>>2]|0;D=k[O+(J*12|0)+4>>2]|0;E=+o[O+(J*12|0)+8>>2];F=+_(+G);G=+Z(+G);f=+_(+g);g=+Z(+g);c=+o[a+76>>2]-(k[t>>2]=N,+o[t>>2]);d=+o[a+80>>2]-(k[t>>2]=M,+o[t>>2]);h=+o[a+84>>2]-(k[t>>2]=L,+o[t>>2]);e=+o[a+88>>2]-(k[t>>2]=K,+o[t>>2]);j=+o[I+(J*12|0)>>2]+(g*h-f*e)-+o[I+(H*12|0)>>2]-(G*c-F*d);l=+o[I+(J*12|0)+4>>2]+(f*h+g*e)-+o[I+(H*12|0)+4>>2]-(F*c+G*d);m=+o[a+100>>2];n=+o[a+104>>2];o[a+180>>2]=G*m-F*n;o[a+184>>2]=F*m+G*n;p=(F*m+G*n)*(G*c-F*d+j)-(G*m-F*n)*(F*c+G*d+l);o[a+196>>2]=p;q=(g*h-f*e)*(F*m+G*n)-(f*h+g*e)*(G*m-F*n);o[a+200>>2]=q;o[a+204>>2]=q*(v*q)+(w+x+p*(y*p))>0.0?1.0/(q*(v*q)+(w+x+p*(y*p))):q*(v*q)+(w+x+p*(y*p));o[a+212>>2]=0.0;o[a+216>>2]=0.0;o[a+220>>2]=0.0;r=+o[a+68>>2];if(r>0.0){s=+o[a+92>>2];u=+o[a+96>>2];o[a+172>>2]=G*s-F*u;o[a+176>>2]=F*s+G*u;d=(G*c-F*d+j)*(F*s+G*u)-(F*c+G*d+l)*(G*s-F*u);o[a+188>>2]=d;c=(g*h-f*e)*(F*s+G*u)-(f*h+g*e)*(G*s-F*u);o[a+192>>2]=c;if(c*(v*c)+(w+x+d*(y*d))>0.0){g=1.0/(c*(v*c)+(w+x+d*(y*d)));f=+o[b>>2];h=f*(r*6.2831854820251465*(g*2.0*+o[a+72>>2])+f*(r*6.2831854820251465*(g*(r*6.2831854820251465))));h=h>0.0?1.0/h:h;o[a+220>>2]=h;o[a+216>>2]=(j*(G*s-F*u)+l*(F*s+G*u))*f*(r*6.2831854820251465*(g*(r*6.2831854820251465)))*h;x=c*(v*c)+(w+x+d*(y*d))+h;o[a+212>>2]=x>0.0?1.0/x:x}}else o[a+116>>2]=0.0;if(!(i[a+128>>0]|0)){o[a+208>>2]=0.0;o[a+112>>2]=0.0}else{o[a+208>>2]=v+y;if(v+y>0.0)o[a+208>>2]=1.0/(v+y)}if(!(i[b+20>>0]|0)){o[a+108>>2]=0.0;o[a+116>>2]=0.0;o[a+112>>2]=0.0;I=z;M=A;K=C;N=D;F=B;G=E;O=k[a+132>>2]|0;L=k[b+28>>2]|0;J=L+(O*12|0)|0;k[J>>2]=I;O=L+(O*12|0)+4|0;k[O>>2]=M;O=k[a+132>>2]|0;M=k[b+28>>2]|0;O=M+(O*12|0)+8|0;o[O>>2]=F;O=k[a+136>>2]|0;L=M+(O*12|0)|0;k[L>>2]=K;O=M+(O*12|0)+4|0;k[O>>2]=N;O=k[a+136>>2]|0;N=k[b+28>>2]|0;O=N+(O*12|0)+8|0;o[O>>2]=G;return}else{w=+o[b+8>>2];x=w*+o[a+108>>2];o[a+108>>2]=x;y=w*+o[a+116>>2];o[a+116>>2]=y;w=w*+o[a+112>>2];o[a+112>>2]=w;v=x*(G*m-F*n)+y*+o[a+172>>2];G=x*(F*m+G*n)+y*+o[a+176>>2];F=+o[a+156>>2];I=(o[t>>2]=(k[t>>2]=z,+o[t>>2])-v*F,k[t>>2]|0);M=(o[t>>2]=(k[t>>2]=A,+o[t>>2])-G*F,k[t>>2]|0);F=+o[a+160>>2];K=(o[t>>2]=(k[t>>2]=C,+o[t>>2])+v*F,k[t>>2]|0);N=(o[t>>2]=(k[t>>2]=D,+o[t>>2])+G*F,k[t>>2]|0);F=B-(w+(x*p+y*+o[a+188>>2]))*+o[a+164>>2];G=E+(w+(x*q+y*+o[a+192>>2]))*+o[a+168>>2];O=k[a+132>>2]|0;L=k[b+28>>2]|0;J=L+(O*12|0)|0;k[J>>2]=I;O=L+(O*12|0)+4|0;k[O>>2]=M;O=k[a+132>>2]|0;M=k[b+28>>2]|0;O=M+(O*12|0)+8|0;o[O>>2]=F;O=k[a+136>>2]|0;L=M+(O*12|0)|0;k[L>>2]=K;O=M+(O*12|0)+4|0;k[O>>2]=N;O=k[a+136>>2]|0;N=k[b+28>>2]|0;O=N+(O*12|0)+8|0;o[O>>2]=G;return}}function JW(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,f=0.0,g=0.0,h=0.0,i=0.0,j=0.0,l=0,m=0,n=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0;z=+o[a+156>>2];p=+o[a+160>>2];w=+o[a+164>>2];e=+o[a+168>>2];m=k[a+132>>2]|0;l=k[b+28>>2]|0;B=+o[l+(m*12|0)>>2];A=+o[l+(m*12|0)+4>>2];y=+o[l+(m*12|0)+8>>2];m=k[a+136>>2]|0;u=+o[l+(m*12|0)>>2];r=+o[l+(m*12|0)+4>>2];j=+o[l+(m*12|0)+8>>2];t=+o[a+172>>2];q=+o[a+176>>2];i=+o[a+192>>2];x=+o[a+188>>2];f=+o[a+116>>2];h=+o[a+212>>2]*((u-B)*t+(r-A)*q+j*i-y*x+ +o[a+216>>2]+ +o[a+220>>2]*f);o[a+116>>2]=f-h;f=+o[a+112>>2];s=+o[b>>2]*+o[a+120>>2];g=f-+o[a+208>>2]*(j+e*(i*-h)-(y-w*(x*-h))-+o[a+124>>2]);g=g>2]=g;s=+o[a+180>>2];n=+o[a+184>>2];d=+o[a+200>>2];v=+o[a+196>>2];c=+o[a+204>>2]*((u+p*(t*-h)-(B-z*(t*-h)))*s+(r+p*(q*-h)-(A-z*(q*-h)))*n+d*(j+e*(i*-h)+e*(g-f))-v*(y-w*(x*-h)-w*(g-f)));o[a+108>>2]=+o[a+108>>2]-c;m=k[a+132>>2]|0;l=k[b+28>>2]|0;o[l+(m*12|0)>>2]=B-z*(t*-h)-z*(s*-c);o[l+(m*12|0)+4>>2]=A-z*(q*-h)-z*(n*-c);m=k[b+28>>2]|0;o[m+((k[a+132>>2]|0)*12|0)+8>>2]=y-w*(x*-h)-w*(g-f)-w*(v*-c);l=k[a+136>>2]|0;o[m+(l*12|0)>>2]=u+p*(t*-h)+p*(s*-c);o[m+(l*12|0)+4>>2]=r+p*(q*-h)+p*(n*-c);o[(k[b+28>>2]|0)+((k[a+136>>2]|0)*12|0)+8>>2]=j+e*(i*-h)+e*(g-f)+e*(d*-c);return}function KW(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,f=0.0,g=0.0,h=0.0,i=0.0,j=0.0,l=0.0,m=0.0,n=0.0,p=0.0,q=0,r=0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0;r=k[a+132>>2]|0;q=k[b+24>>2]|0;z=+o[q+(r*12|0)>>2];y=+o[q+(r*12|0)+4>>2];A=+o[q+(r*12|0)+8>>2];r=k[a+136>>2]|0;u=+o[q+(r*12|0)>>2];t=+o[q+(r*12|0)+4>>2];p=+o[q+(r*12|0)+8>>2];g=+_(+A);i=+Z(+A);n=+_(+p);l=+Z(+p);x=+o[a+76>>2]-+o[a+140>>2];w=+o[a+80>>2]-+o[a+144>>2];m=+o[a+84>>2]-+o[a+148>>2];j=+o[a+88>>2]-+o[a+152>>2];h=+o[a+100>>2];f=+o[a+104>>2];c=(i*h-g*f)*(u-z+(l*m-n*j)-(i*x-g*w))+(g*h+i*f)*(t-y+(n*m+l*j)-(g*x+i*w));B=+o[a+156>>2];s=+o[a+160>>2];v=+o[a+164>>2];C=+o[a+196>>2];d=+o[a+168>>2];e=+o[a+200>>2];e=B+s+C*(v*C)+e*(d*e)!=0.0?-c/(B+s+C*(v*C)+e*(d*e)):0.0;r=k[a+132>>2]|0;o[q+(r*12|0)>>2]=z-(i*h-g*f)*e*B;o[q+(r*12|0)+4>>2]=y-(g*h+i*f)*e*B;r=k[b+24>>2]|0;o[r+((k[a+132>>2]|0)*12|0)+8>>2]=A-((g*h+i*f)*(i*x-g*w+(u-z+(l*m-n*j)-(i*x-g*w)))-(i*h-g*f)*(g*x+i*w+(t-y+(n*m+l*j)-(g*x+i*w))))*e*v;q=k[a+136>>2]|0;o[r+(q*12|0)>>2]=u+(i*h-g*f)*e*s;o[r+(q*12|0)+4>>2]=t+(g*h+i*f)*e*s;o[(k[b+24>>2]|0)+((k[a+136>>2]|0)*12|0)+8>>2]=p+((l*m-n*j)*(g*h+i*f)-(n*m+l*j)*(i*h-g*f))*e*d;return (c>0.0?c:-c)<=.004999999888241291|0}function LW(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0.0,g=0.0,h=0.0,i=0.0;k[a+8>>2]=b;k[a+12>>2]=c;f=+o[d>>2]-+o[b+12>>2];h=+o[d+4>>2]-+o[b+16>>2];i=+o[b+24>>2];g=+o[b+20>>2];o[a+20>>2]=f*i+h*g;o[a+24>>2]=i*h-f*g;g=+o[d>>2]-+o[c+12>>2];f=+o[d+4>>2]-+o[c+16>>2];h=+o[c+24>>2];i=+o[c+20>>2];o[a+28>>2]=g*h+f*i;o[a+32>>2]=h*f-g*i;i=+o[b+24>>2];g=+o[e>>2];f=+o[b+20>>2];h=+o[e+4>>2];o[a+36>>2]=i*g+f*h;o[a+40>>2]=i*h-g*f;return}function MW(a,b){a=a|0;b=b|0;var c=0,d=0;gU(a,b);k[a>>2]=20260;c=k[b+20+4>>2]|0;k[a+76>>2]=k[b+20>>2];k[a+76+4>>2]=c;c=k[b+28+4>>2]|0;k[a+84>>2]=k[b+28>>2];k[a+84+4>>2]=c;c=k[b+36>>2]|0;d=k[b+36+4>>2]|0;k[a+92>>2]=c;k[a+92+4>>2]=d;o[a+100>>2]=-(k[t>>2]=d,+o[t>>2]);k[a+104>>2]=c;o[a+204>>2]=0.0;o[a+108>>2]=0.0;o[a+208>>2]=0.0;o[a+112>>2]=0.0;o[a+212>>2]=0.0;o[a+116>>2]=0.0;k[a+120>>2]=k[b+48>>2];k[a+124>>2]=k[b+52>>2];i[a+128>>0]=i[b+44>>0]|0;k[a+68>>2]=k[b+56>>2];k[a+72>>2]=k[b+60>>2];o[a+216>>2]=0.0;o[a+220>>2]=0.0;k[a+172>>2]=0;k[a+172+4>>2]=0;k[a+172+8>>2]=0;k[a+172+12>>2]=0;return}function NW(a){a=a|0;var b=0.0,c=0.0,d=0.0,e=0.0,f=0,g=0.0,h=0.0,i=0,j=0.0,l=0.0,m=0.0,n=0.0;f=k[a+48>>2]|0;i=k[a+52>>2]|0;c=+o[f+24>>2];h=+o[a+76>>2];e=+o[f+20>>2];g=+o[a+80>>2];l=+o[i+24>>2];n=+o[a+84>>2];m=+o[i+20>>2];j=+o[a+88>>2];d=+o[a+92>>2];b=+o[a+96>>2];return +((+o[i+12>>2]+(l*n-m*j)-(+o[f+12>>2]+(c*h-e*g)))*(c*d-e*b)+(n*m+l*j+ +o[i+16>>2]-(h*e+c*g+ +o[f+16>>2]))*(e*d+c*b))}function OW(a){a=a|0;return +(+o[(k[a+52>>2]|0)+72>>2]-+o[(k[a+48>>2]|0)+72>>2])}function PW(a){a=a|0;return (i[a+128>>0]|0)!=0|0}function QW(a,b){a=a|0;b=b|0;var c=0,d=0;c=k[a+48>>2]|0;d=m[c+4>>1]|0;if(!(d&2)){j[c+4>>1]=d|2;o[c+144>>2]=0.0}c=k[a+52>>2]|0;d=m[c+4>>1]|0;if(d&2|0){a=a+128|0;b=b&1;i[a>>0]=b;return}j[c+4>>1]=d|2;o[c+144>>2]=0.0;a=a+128|0;b=b&1;i[a>>0]=b;return}function RW(a,b){a=a|0;b=+b;var c=0,d=0;c=k[a+48>>2]|0;d=m[c+4>>1]|0;if(!(d&2)){j[c+4>>1]=d|2;o[c+144>>2]=0.0}c=k[a+52>>2]|0;d=m[c+4>>1]|0;if(d&2|0){a=a+124|0;o[a>>2]=b;return}j[c+4>>1]=d|2;o[c+144>>2]=0.0;a=a+124|0;o[a>>2]=b;return}function SW(a,b){a=a|0;b=+b;var c=0,d=0;c=k[a+48>>2]|0;d=m[c+4>>1]|0;if(!(d&2)){j[c+4>>1]=d|2;o[c+144>>2]=0.0}c=k[a+52>>2]|0;d=m[c+4>>1]|0;if(d&2|0){a=a+120|0;o[a>>2]=b;return}j[c+4>>1]=d|2;o[c+144>>2]=0.0;a=a+120|0;o[a>>2]=b;return}function TW(a,b){a=a|0;b=+b;return +(+o[a+112>>2]*b)}function UW(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+32|0;k[d+16>>2]=a;k[d+12>>2]=b;k[d+8>>2]=c;if((k[d+16>>2]|0)==0|(k[d+12>>2]|0)==0){k[d+20>>2]=-2;c=k[d+20>>2]|0;r=d;return c|0}c=oX(144)|0;k[d+4>>2]=c;if(!(k[d+4>>2]|0)){k[d+20>>2]=-3;c=k[d+20>>2]|0;r=d;return c|0}vBb(k[d+4>>2]|0,0,144)|0;k[(k[d+4>>2]|0)+80>>2]=0;k[(k[d+4>>2]|0)+132>>2]=k[d+12>>2];k[(k[d+4>>2]|0)+136>>2]=k[d+8>>2];b=_W(k[d+4>>2]|0)|0;k[d>>2]=b;b=k[d+4>>2]|0;if((k[d>>2]|0)<0){iX(b)|0;k[d+20>>2]=k[d>>2];c=k[d+20>>2]|0;r=d;return c|0}else{k[k[d+16>>2]>>2]=b;k[d+20>>2]=0;c=k[d+20>>2]|0;r=d;return c|0}return 0}function VW(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+4>>2]=a;do if(!(k[b+4>>2]|0))k[b+8>>2]=-2;else{a=iX(k[b+4>>2]|0)|0;k[b>>2]=a;if((k[b>>2]|0)<0){k[b+8>>2]=k[b>>2];break}else{k[b+8>>2]=0;break}}while(0);r=b;return k[b+8>>2]|0}function WW(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+32|0;k[d+20>>2]=a;k[d+8>>2]=b;k[d+8+4>>2]=c;if(!(k[d+20>>2]|0)){k[d+24>>2]=-2;a=k[d+24>>2]|0;r=d;return a|0}b=k[d+8+4>>2]|0;a=(k[d+20>>2]|0)+8|0;c=k[a+4>>2]|0;if(b>>>0>>0|((b|0)==(c|0)?(k[d+8>>2]|0)>>>0<=(k[a>>2]|0)>>>0:0)){b=k[d+8>>2]|0;c=k[d+8+4>>2]|0}else{c=(k[d+20>>2]|0)+8|0;b=k[c>>2]|0;c=k[c+4>>2]|0}k[d+8>>2]=b;k[d+8+4>>2]=c;b=KBb(k[d+8>>2]|0,k[d+8+4>>2]|0,k[(k[d+20>>2]|0)+32+28>>2]|0,0)|0;k[d>>2]=b;k[d+4>>2]=L;b=k[(k[(k[d+20>>2]|0)+132>>2]|0)+4>>2]|0;c=k[(k[d+20>>2]|0)+136>>2]|0;a=(k[d+20>>2]|0)+64+8|0;a=xBb(k[a>>2]|0,k[a+4>>2]|0,k[d>>2]|0,k[d+4>>2]|0)|0;a=Ri[b&255](c,a,L)|0;k[d+16>>2]=a;if((k[d+16>>2]|0)<0){k[d+24>>2]=k[d+16>>2];a=k[d+24>>2]|0;r=d;return a|0}c=k[d+8+4>>2]|0;a=(k[d+20>>2]|0)+24|0;k[a>>2]=k[d+8>>2];k[a+4>>2]=c;k[(k[d+20>>2]|0)+112+12>>2]=0;a=hX(k[d+20>>2]|0)|0;k[d+16>>2]=a;if((k[d+16>>2]|0)<0){k[d+24>>2]=k[d+16>>2];a=k[d+24>>2]|0;r=d;return a|0}else{k[d+24>>2]=0;a=k[d+24>>2]|0;r=d;return a|0}return 0}function XW(a,b){a=a|0;b=b|0;var c=0,d=0;c=r;r=r+16|0;k[c+4>>2]=a;k[c>>2]=b;if((k[c+4>>2]|0)==0|(k[c>>2]|0)==0){k[c+8>>2]=-2;b=k[c+8>>2]|0;r=c;return b|0}else{j[k[c>>2]>>1]=j[(k[c+4>>2]|0)+16>>1]|0;j[(k[c>>2]|0)+2>>1]=j[(k[c+4>>2]|0)+32+18>>1]|0;k[(k[c>>2]|0)+4>>2]=k[(k[c+4>>2]|0)+32+20>>2];j[(k[c>>2]|0)+8>>1]=j[(k[c+4>>2]|0)+32+24>>1]|0;d=(k[c+4>>2]|0)+8|0;a=k[d+4>>2]|0;b=(k[c>>2]|0)+16|0;k[b>>2]=k[d>>2];k[b+4>>2]=a;k[c+8>>2]=0;b=k[c+8>>2]|0;r=c;return b|0}return 0}function YW(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+4>>2]=a;j[c+12>>1]=b;do if(!(k[c+4>>2]|0))k[c+8>>2]=-2;else{if((m[c+12>>1]|0|0)>=6){k[c+8>>2]=-200;break}a=(k[c+4>>2]|0)+24|0;a=WW(k[c+4>>2]|0,k[a>>2]|0,k[a+4>>2]|0)|0;k[c>>2]=a;if((k[c>>2]|0)<0){k[c+8>>2]=k[c>>2];break}a=jX(k[c+4>>2]|0,j[c+12>>1]|0)|0;k[c>>2]=a;if((k[c>>2]|0)<0){k[c+8>>2]=k[c>>2];break}else{k[c+8>>2]=0;break}}while(0);r=c;return k[c+8>>2]|0}function ZW(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+48|0;k[e+28>>2]=a;k[e+24>>2]=b;k[e+20>>2]=c;if((k[e+28>>2]|0)==0|(k[e+24>>2]|0)==0|(k[e+20>>2]|0)==0){k[e+32>>2]=-2;d=k[e+32>>2]|0;r=e;return d|0}if(!(k[k[e+20>>2]>>2]|0)){k[e+32>>2]=0;d=k[e+32>>2]|0;r=e;return d|0}i[e+36>>0]=k[(k[e+28>>2]|0)+112+4>>2];k[e+16>>2]=k[(k[e+28>>2]|0)+112+12>>2];i[e+39>>0]=((k[e+16>>2]|0)>>>0)%((l[e+36>>0]|0)>>>0)|0;if(!(l[e+39>>0]|0))a=0;else a=(l[e+36>>0]|0)-(l[e+39>>0]|0)|0;i[e+38>>0]=a;c=kX(k[k[e+20>>2]>>2]|0,i[e+36>>0]|0,e+38|0,e+37|0)|0;k[e+8>>2]=c;k[e+12>>2]=k[e+8>>2];c=nX(k[e+28>>2]|0,e+4|0,e+12|0)|0;k[e>>2]=c;if((k[e>>2]|0)<0){k[e+32>>2]=k[e>>2];d=k[e+32>>2]|0;r=e;return d|0}if(!(k[e+12>>2]|0))k[k[e+20>>2]>>2]=0;else{if((k[e+12>>2]|0)==1)if(l[e+38>>0]|0){k[e+8>>2]=0;i[e+37>>0]=0}else d=14;else d=14;if((d|0)==14){if((k[e+12>>2]|0)>>>0<(k[e+8>>2]|0)>>>0)i[e+37>>0]=0;k[e+8>>2]=(k[e+12>>2]|0)-(((i[e+38>>0]|0)!=0^1^1)&1)-(((i[e+37>>0]|0)!=0^1^1)&1)}Ti[k[(k[e+28>>2]|0)+112+16>>2]&63](k[e+24>>2]|0,k[e+4>>2]|0,k[e+8>>2]|0,i[e+39>>0]|0,i[e+38>>0]|0,i[e+37>>0]|0);a=ha(k[e+8>>2]|0,l[e+36>>0]|0)|0;k[k[e+20>>2]>>2]=a+(l[e+38>>0]|0)+(l[e+37>>0]|0);k[e+16>>2]=(k[e+16>>2]|0)+(k[k[e+20>>2]>>2]|0);a=k[e+16>>2]|0;b=(k[e+28>>2]|0)+112|0;if((k[e+16>>2]|0)>>>0>=(k[(k[e+28>>2]|0)+112+8>>2]|0)>>>0){d=(k[e+28>>2]|0)+24|0;c=xBb(k[d>>2]|0,k[d+4>>2]|0,(a>>>0)/((k[b+8>>2]|0)>>>0)|0|0,0)|0;k[d>>2]=c;k[d+4>>2]=L;k[(k[e+28>>2]|0)+112+12>>2]=((k[e+16>>2]|0)>>>0)%((k[(k[e+28>>2]|0)+112+8>>2]|0)>>>0)|0}else k[b+12>>2]=a;d=k[e+8>>2]|0;d=mX(k[e+28>>2]|0,((l[e+39>>0]|0)+(l[e+38>>0]|0)|0)==(l[e+36>>0]|0)?d+1|0:d)|0;k[e>>2]=d;if((k[e>>2]|0)<0){k[e+32>>2]=k[e>>2];d=k[e+32>>2]|0;r=e;return d|0}}k[e+32>>2]=0;d=k[e+32>>2]|0;r=e;return d|0}function _W(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+4>>2]=a;do if(!(k[b+4>>2]|0))k[b+8>>2]=-2;else{a=$W(k[b+4>>2]|0)|0;k[b>>2]=a;if((k[b>>2]|0)<0){k[b+8>>2]=k[b>>2];break}a=gX(k[b+4>>2]|0)|0;k[b>>2]=a;if((k[b>>2]|0)<0){k[b+8>>2]=k[b>>2];break}a=YW(k[b+4>>2]|0,j[(k[b+4>>2]|0)+16>>1]|0)|0;k[b>>2]=a;if((k[b>>2]|0)<0){k[b+8>>2]=k[b>>2];break}else{k[b+8>>2]=0;break}}while(0);r=b;return k[b+8>>2]|0}function $W(a){a=a|0;var b=0,c=0;b=r;r=r+128|0;k[b+28>>2]=a;k[b+24>>2]=80;a=Ri[k[k[(k[b+28>>2]|0)+132>>2]>>2]&255](k[(k[b+28>>2]|0)+136>>2]|0,b+40|0,b+24|0)|0;k[b+8>>2]=a;if((k[b+8>>2]|0)<0){k[b+32>>2]=k[b+8>>2];a=k[b+32>>2]|0;r=b;return a|0}if((k[b+24>>2]|0)>>>0<36){k[b+32>>2]=-100;a=k[b+32>>2]|0;r=b;return a|0}aX(b+16|0,b+40|0);a=k[b+16>>2]|0;if((a|0)!=(cX(361435)|0)){k[b+32>>2]=-100;a=k[b+32>>2]|0;r=b;return a|0}a=k[b+28>>2]|0;k[a>>2]=k[b+16+4>>2];k[a+4>>2]=0;aX(b+16|0,b+40+8|0);a=k[b+16>>2]|0;if((a|0)!=(cX(361440)|0)){k[b+32>>2]=-101;a=k[b+32>>2]|0;r=b;return a|0}aX(b+16|0,b+40+12|0);k[b>>2]=12;k[b+4>>2]=0;a=k[b+16>>2]|0;if((a|0)!=(cX(361445)|0)){k[b+16>>2]=0;c=k[b+28>>2]|0;a=cX(361445)|0;a=dX(c,b+16|0,b,a,cX(361450)|0)|0;k[b+8>>2]=a;if((k[b+8>>2]|0)==-108){k[b+32>>2]=-106;c=k[b+32>>2]|0;r=b;return c|0}if((k[b+8>>2]|0)<0){k[b+32>>2]=k[b+8>>2];c=k[b+32>>2]|0;r=b;return c|0}k[b+24>>2]=60;c=Ri[k[k[(k[b+28>>2]|0)+132>>2]>>2]&255](k[(k[b+28>>2]|0)+136>>2]|0,b+40+20|0,b+24|0)|0;k[b+8>>2]=c;if((k[b+8>>2]|0)<0){k[b+32>>2]=k[b+8>>2];c=k[b+32>>2]|0;r=b;return c|0}if((k[b+24>>2]|0)>>>0<16){k[b+32>>2]=-102;c=k[b+32>>2]|0;r=b;return c|0}}a=(k[b+28>>2]|0)+32|0;k[a>>2]=k[b+16+4>>2];k[a+4>>2]=0;a=xBb(k[b>>2]|0,k[b+4>>2]|0,8,0)|0;c=(k[b+28>>2]|0)+32+8|0;k[c>>2]=a;k[c+4>>2]=L;c=eX(b+40+20|0)|0;j[(k[b+28>>2]|0)+32+16>>1]=c;c=eX(b+40+22|0)|0;j[(k[b+28>>2]|0)+32+18>>1]=c;c=bX(b+40+24|0)|0;k[(k[b+28>>2]|0)+32+20>>2]=c;c=eX(b+40+34|0)|0;j[(k[b+28>>2]|0)+32+24>>1]=c;j[(k[b+28>>2]|0)+32+26>>1]=(m[(k[b+28>>2]|0)+32+24>>1]|0|0)/8|0;c=ha(m[(k[b+28>>2]|0)+32+18>>1]|0,m[(k[b+28>>2]|0)+32+26>>1]|0)|0;k[(k[b+28>>2]|0)+32+28>>2]=c;if(!(m[(k[b+28>>2]|0)+32+18>>1]|0)){k[b+32>>2]=-103;c=k[b+32>>2]|0;r=b;return c|0}if(!(k[(k[b+28>>2]|0)+32+20>>2]|0)){k[b+32>>2]=-104;c=k[b+32>>2]|0;r=b;return c|0}if(!(m[(k[b+28>>2]|0)+32+24>>1]|0)){k[b+32>>2]=-105;c=k[b+32>>2]|0;r=b;return c|0}c=(k[b+28>>2]|0)+32|0;a=k[c+4>>2]|0;if(a>>>0>0|(a|0)==0&(k[c>>2]|0)>>>0>16)if(((eX(b+40+36|0)|0)&65535|0)==22)if((m[(k[b+28>>2]|0)+32+16>>1]|0|0)==65534){c=eX(b+40+44|0)|0;j[(k[b+28>>2]|0)+32+16>>1]=c}j[(k[b+28>>2]|0)+16>>1]=j[(k[b+28>>2]|0)+32+16>>1]|0;c=fX(j[(k[b+28>>2]|0)+32+24>>1]|0,(k[b+28>>2]|0)+16|0)|0;k[b+8>>2]=c;if((k[b+8>>2]|0)<0){k[b+32>>2]=k[b+8>>2];c=k[b+32>>2]|0;r=b;return c|0}aX(b+16|0,b+40+20+(k[(k[b+28>>2]|0)+32>>2]|0)|0);a=(k[b+28>>2]|0)+32+8|0;c=(k[b+28>>2]|0)+32|0;c=xBb(k[a>>2]|0,k[a+4>>2]|0,k[c>>2]|0,k[c+4>>2]|0)|0;k[b>>2]=c;k[b+4>>2]=L;c=k[b+28>>2]|0;c=dX(c,b+16|0,b,cX(361450)|0,0)|0;k[b+8>>2]=c;if((k[b+8>>2]|0)==-108){k[b+32>>2]=-107;c=k[b+32>>2]|0;r=b;return c|0}if((k[b+8>>2]|0)<0){k[b+32>>2]=k[b+8>>2];c=k[b+32>>2]|0;r=b;return c|0}else{c=(k[b+28>>2]|0)+64|0;k[c>>2]=k[b+16+4>>2];k[c+4>>2]=0;c=xBb(k[b>>2]|0,k[b+4>>2]|0,8,0)|0;a=(k[b+28>>2]|0)+64+8|0;k[a>>2]=c;k[a+4>>2]=L;a=(k[b+28>>2]|0)+64|0;a=LBb(k[a>>2]|0,k[a+4>>2]|0,m[(k[b+28>>2]|0)+32+18>>1]|0|0,0)|0;a=LBb(a|0,L|0,m[(k[b+28>>2]|0)+32+26>>1]|0|0,0)|0;c=(k[b+28>>2]|0)+8|0;k[c>>2]=a;k[c+4>>2]=L;c=(k[b+28>>2]|0)+24|0;k[c>>2]=0;k[c+4>>2]=0;k[b+32>>2]=0;c=k[b+32>>2]|0;r=b;return c|0}return 0}function aX(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+8>>2]=a;k[c+4>>2]=b;k[c>>2]=k[c+8>>2];i[k[c>>2]>>0]=i[k[c+4>>2]>>0]|0;i[(k[c>>2]|0)+1>>0]=i[(k[c+4>>2]|0)+1>>0]|0;i[(k[c>>2]|0)+2>>0]=i[(k[c+4>>2]|0)+2>>0]|0;i[(k[c>>2]|0)+3>>0]=i[(k[c+4>>2]|0)+3>>0]|0;b=bX((k[c+4>>2]|0)+4|0)|0;k[(k[c+8>>2]|0)+4>>2]=b;r=c;return}function bX(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;r=b;return (l[k[b>>2]>>0]|0)+((l[(k[b>>2]|0)+1>>0]|0)<<8)+((l[(k[b>>2]|0)+2>>0]|0)<<16)+((l[(k[b>>2]|0)+3>>0]|0)<<24)|0}function cX(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+12>>2]=a;k[b+8>>2]=k[b+12>>2];k[b>>2]=b+4;i[k[b>>2]>>0]=i[k[b+8>>2]>>0]|0;i[(k[b>>2]|0)+1>>0]=i[(k[b+8>>2]|0)+1>>0]|0;i[(k[b>>2]|0)+2>>0]=i[(k[b+8>>2]|0)+2>>0]|0;i[(k[b>>2]|0)+3>>0]=i[(k[b+8>>2]|0)+3>>0]|0;r=b;return k[b+4>>2]|0}function dX(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=r;r=r+48|0;k[f+32>>2]=a;k[f+28>>2]=b;k[f+24>>2]=c;k[f+20>>2]=d;k[f+16>>2]=e;k[f+8>>2]=0;if(k[k[f+28>>2]>>2]|0)if((k[k[f+28>>2]>>2]|0)==(k[f+20>>2]|0)){k[f+36>>2]=0;e=k[f+36>>2]|0;r=f;return e|0}c=k[f+24>>2]|0;e=k[c+4>>2]|0;k[f>>2]=k[c>>2];k[f+4>>2]=e;a:do if((k[f+8>>2]|0)>=0){while(1){e=xBb(k[f>>2]|0,k[f+4>>2]|0,8+(k[(k[f+28>>2]|0)+4>>2]|0)|0,0)|0;k[f>>2]=e;k[f+4>>2]=L;if((k[f>>2]&1|0)!=0|0!=0){e=xBb(k[f>>2]|0,k[f+4>>2]|0,1,0)|0;k[f>>2]=e;k[f+4>>2]=L}e=Ri[k[(k[(k[f+32>>2]|0)+132>>2]|0)+4>>2]&255](k[(k[f+32>>2]|0)+136>>2]|0,k[f>>2]|0,k[f+4>>2]|0)|0;k[f+8>>2]=e;if((k[f+8>>2]|0)<0){b=8;break}k[f+12>>2]=8;e=Ri[k[k[(k[f+32>>2]|0)+132>>2]>>2]&255](k[(k[f+32>>2]|0)+136>>2]|0,f+40|0,f+12|0)|0;k[f+8>>2]=e;if((k[f+8>>2]|0)<0){b=10;break}aX(k[f+28>>2]|0,f+40|0);if((k[f+12>>2]|0)>>>0<8){b=14;break}if(k[f+16>>2]|0)if((k[k[f+28>>2]>>2]|0)==(k[f+16>>2]|0)){b=14;break}if(!((k[f+8>>2]|0)>=0?(k[k[f+28>>2]>>2]|0)!=(k[f+20>>2]|0):0))break a}if((b|0)==8){k[f+36>>2]=k[f+8>>2];e=k[f+36>>2]|0;r=f;return e|0}else if((b|0)==10){k[f+36>>2]=k[f+8>>2];e=k[f+36>>2]|0;r=f;return e|0}else if((b|0)==14){k[f+36>>2]=-108;e=k[f+36>>2]|0;r=f;return e|0}}while(0);c=k[f+4>>2]|0;e=k[f+24>>2]|0;k[e>>2]=k[f>>2];k[e+4>>2]=c;k[f+36>>2]=0;e=k[f+36>>2]|0;r=f;return e|0}function eX(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;r=b;return (l[k[b>>2]>>0]|0)+((l[(k[b>>2]|0)+1>>0]|0)<<8)&65535|0}function fX(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+16|0;j[d+8>>1]=a;k[d>>2]=b;a:do if((m[k[d>>2]>>1]|0|0)==1)switch(m[d+8>>1]|0|0){case 8:{j[k[d>>2]>>1]=0;c=14;break a}case 16:{j[k[d>>2]>>1]=1;c=14;break a}case 24:{j[k[d>>2]>>1]=2;c=14;break a}case 32:{j[k[d>>2]>>1]=3;c=14;break a}default:{k[d+4>>2]=-200;break a}}else{if((m[k[d>>2]>>1]|0|0)!=3){k[d+4>>2]=-200;break}switch(m[d+8>>1]|0|0){case 32:{j[k[d>>2]>>1]=4;c=14;break a}case 64:{j[k[d>>2]>>1]=5;c=14;break a}default:{k[d+4>>2]=-200;break a}}}while(0);if((c|0)==14)k[d+4>>2]=0;r=d;return k[d+4>>2]|0}function gX(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+4>>2]=a;if(!(k[b+4>>2]|0)){k[b+8>>2]=-2;a=k[b+8>>2]|0;r=b;return a|0}a=((ha(k[(k[b+4>>2]|0)+32+20>>2]|0,k[(k[b+4>>2]|0)+32+28>>2]|0)|0)>>>0)/4|0;k[(k[b+4>>2]|0)+80+16>>2]=a;a=(k[b+4>>2]|0)+80+16|0;if((k[(k[b+4>>2]|0)+80+16>>2]|0)>>>0<4096)k[a>>2]=4096;else if((k[a>>2]|0)>>>0>2097152)k[(k[b+4>>2]|0)+80+16>>2]=2097152;a=oX(k[(k[b+4>>2]|0)+80+16>>2]|0)|0;k[(k[b+4>>2]|0)+80>>2]=a;if(!(k[(k[b+4>>2]|0)+80>>2]|0)){k[b+8>>2]=-3;a=k[b+8>>2]|0;r=b;return a|0}a=hX(k[b+4>>2]|0)|0;k[b>>2]=a;if((k[b>>2]|0)<0){k[b+8>>2]=k[b>>2];a=k[b+8>>2]|0;r=b;return a|0}else{k[b+8>>2]=0;a=k[b+8>>2]|0;r=b;return a|0}return 0}function hX(a){a=a|0;var b=0,c=0,d=0,e=0;b=r;r=r+32|0;k[b+12>>2]=a;if(!(k[b+12>>2]|0)){k[b+16>>2]=-2;a=k[b+16>>2]|0;r=b;return a|0}a=gj[k[(k[(k[b+12>>2]|0)+132>>2]|0)+8>>2]&511](k[(k[b+12>>2]|0)+136>>2]|0,b)|0;k[b+8>>2]=a;if((k[b+8>>2]|0)<0){k[b+16>>2]=k[b+8>>2];a=k[b+16>>2]|0;r=b;return a|0}d=k[b+4>>2]|0;a=(k[b+12>>2]|0)+64+8|0;c=k[a+4>>2]|0;if(!(d>>>0>>0|((d|0)==(c|0)?(k[b>>2]|0)>>>0<(k[a>>2]|0)>>>0:0))){c=k[b>>2]|0;e=k[b+4>>2]|0;a=(k[b+12>>2]|0)+64+8|0;d=(k[b+12>>2]|0)+64|0;d=xBb(k[a>>2]|0,k[a+4>>2]|0,k[d>>2]|0,k[d+4>>2]|0)|0;a=L;if(!(e>>>0>a>>>0|(e|0)==(a|0)&c>>>0>d>>>0)){e=(k[b+12>>2]|0)+64|0;c=k[e>>2]|0;e=k[e+4>>2]|0;d=(k[b+12>>2]|0)+64+8|0;d=EBb(k[b>>2]|0,k[b+4>>2]|0,k[d>>2]|0,k[d+4>>2]|0)|0;d=EBb(c|0,e|0,d|0,L|0)|0;e=(k[b+12>>2]|0)+80+8|0;k[e>>2]=d;k[e+4>>2]=L;k[(k[b+12>>2]|0)+80+20>>2]=0;k[(k[b+12>>2]|0)+80+24>>2]=0;k[b+16>>2]=0;e=k[b+16>>2]|0;r=b;return e|0}}k[b+16>>2]=-301;e=k[b+16>>2]|0;r=b;return e|0}function iX(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;if(!(k[b>>2]|0)){k[b+4>>2]=-2;a=k[b+4>>2]|0;r=b;return a|0}if(k[(k[b>>2]|0)+80>>2]|0)pX(k[(k[b>>2]|0)+80>>2]|0);pX(k[b>>2]|0);k[b+4>>2]=0;a=k[b+4>>2]|0;r=b;return a|0}function jX(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c>>2]=a;j[c+12>>1]=b;if(!(k[c>>2]|0)){k[c+4>>2]=-2;a=k[c+4>>2]|0;r=c;return a|0}if((m[c+12>>1]|0|0)>=6){k[c+4>>2]=-200;a=k[c+4>>2]|0;r=c;return a|0}j[c+8>>1]=j[(k[c>>2]|0)+16>>1]|0;a:do switch(m[c+12>>1]|0|0){case 0:{j[c+10>>1]=8;switch(m[c+8>>1]|0|0){case 0:{k[(k[c>>2]|0)+112+16>>2]=11;break a}case 1:{k[(k[c>>2]|0)+112+16>>2]=12;break a}case 2:{k[(k[c>>2]|0)+112+16>>2]=13;break a}case 3:{k[(k[c>>2]|0)+112+16>>2]=14;break a}case 4:{k[(k[c>>2]|0)+112+16>>2]=15;break a}case 5:{k[(k[c>>2]|0)+112+16>>2]=16;break a}default:break a}}case 1:{j[c+10>>1]=16;switch(m[c+8>>1]|0|0){case 0:{k[(k[c>>2]|0)+112+16>>2]=17;break a}case 1:{k[(k[c>>2]|0)+112+16>>2]=18;break a}case 2:{k[(k[c>>2]|0)+112+16>>2]=19;break a}case 3:{k[(k[c>>2]|0)+112+16>>2]=20;break a}case 4:{k[(k[c>>2]|0)+112+16>>2]=21;break a}case 5:{k[(k[c>>2]|0)+112+16>>2]=22;break a}default:break a}}case 2:{j[c+10>>1]=24;switch(m[c+8>>1]|0|0){case 0:{k[(k[c>>2]|0)+112+16>>2]=23;break a}case 1:{k[(k[c>>2]|0)+112+16>>2]=24;break a}case 2:{k[(k[c>>2]|0)+112+16>>2]=25;break a}case 3:{k[(k[c>>2]|0)+112+16>>2]=26;break a}case 4:{k[(k[c>>2]|0)+112+16>>2]=27;break a}case 5:{k[(k[c>>2]|0)+112+16>>2]=28;break a}default:break a}}case 3:{j[c+10>>1]=32;switch(m[c+8>>1]|0|0){case 0:{k[(k[c>>2]|0)+112+16>>2]=29;break a}case 1:{k[(k[c>>2]|0)+112+16>>2]=30;break a}case 2:{k[(k[c>>2]|0)+112+16>>2]=31;break a}case 3:{k[(k[c>>2]|0)+112+16>>2]=32;break a}case 4:{k[(k[c>>2]|0)+112+16>>2]=33;break a}case 5:{k[(k[c>>2]|0)+112+16>>2]=34;break a}default:break a}}case 4:{j[c+10>>1]=32;switch(m[c+8>>1]|0|0){case 0:{k[(k[c>>2]|0)+112+16>>2]=35;break a}case 1:{k[(k[c>>2]|0)+112+16>>2]=36;break a}case 2:{k[(k[c>>2]|0)+112+16>>2]=37;break a}case 3:{k[(k[c>>2]|0)+112+16>>2]=38;break a}case 4:{k[(k[c>>2]|0)+112+16>>2]=39;break a}case 5:{k[(k[c>>2]|0)+112+16>>2]=40;break a}default:break a}}case 5:{j[c+10>>1]=64;switch(m[c+8>>1]|0|0){case 0:{k[(k[c>>2]|0)+112+16>>2]=41;break a}case 1:{k[(k[c>>2]|0)+112+16>>2]=42;break a}case 2:{k[(k[c>>2]|0)+112+16>>2]=43;break a}case 3:{k[(k[c>>2]|0)+112+16>>2]=44;break a}case 4:{k[(k[c>>2]|0)+112+16>>2]=45;break a}case 5:{k[(k[c>>2]|0)+112+16>>2]=46;break a}default:break a}}default:{k[c+4>>2]=-200;a=k[c+4>>2]|0;r=c;return a|0}}while(0);j[(k[c>>2]|0)+112>>1]=j[c+12>>1]|0;k[(k[c>>2]|0)+112+4>>2]=(m[c+10>>1]|0|0)/8|0;a=ha(m[(k[c>>2]|0)+32+18>>1]|0,(m[c+10>>1]|0|0)/8|0)|0;k[(k[c>>2]|0)+112+8>>2]=a;k[c+4>>2]=0;a=k[c+4>>2]|0;r=c;return a|0}function kX(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+32|0;k[e+12>>2]=a;i[e+20>>0]=b;k[e+8>>2]=c;k[e+4>>2]=d;k[e>>2]=0;do if(l[k[e+8>>2]>>0]|0|0){if((k[e+12>>2]|0)>>>0>(l[k[e+8>>2]>>0]|0)>>>0){k[e+12>>2]=(k[e+12>>2]|0)-(l[k[e+8>>2]>>0]|0);k[e>>2]=(k[e>>2]|0)+1;break}i[k[e+8>>2]>>0]=k[e+12>>2];i[k[e+4>>2]>>0]=0;k[e+16>>2]=1;a=k[e+16>>2]|0;r=e;return a|0}while(0);k[e>>2]=((k[e+12>>2]|0)>>>0)/((l[e+20>>0]|0)>>>0)|0;i[k[e+4>>2]>>0]=((k[e+12>>2]|0)>>>0)%((l[e+20>>0]|0)>>>0)|0;if(l[k[e+4>>2]>>0]|0|0)k[e>>2]=(k[e>>2]|0)+1;k[e+16>>2]=k[e>>2];a=k[e+16>>2]|0;r=e;return a|0}function lX(a){a=a|0;var b=0,c=0;b=r;r=r+32|0;k[b+12>>2]=a;if(!(k[b+12>>2]|0)){k[b+16>>2]=-2;a=k[b+16>>2]|0;r=b;return a|0}k[b+8>>2]=(k[(k[b+12>>2]|0)+80+24>>2]|0)-(k[(k[b+12>>2]|0)+80+20>>2]|0);if((k[b+8>>2]|0)==(k[(k[b+12>>2]|0)+80+16>>2]|0)){k[b+16>>2]=0;a=k[b+16>>2]|0;r=b;return a|0}if((k[b+8>>2]|0)>>>0>0)BBb(k[(k[b+12>>2]|0)+80>>2]|0,(k[(k[b+12>>2]|0)+80>>2]|0)+(k[(k[b+12>>2]|0)+80+20>>2]|0)|0,k[b+8>>2]|0)|0;k[b+4>>2]=(k[(k[b+12>>2]|0)+80+16>>2]|0)-(k[b+8>>2]|0);a=(k[b+12>>2]|0)+80+8|0;c=k[a+4>>2]|0;if(0>c>>>0|(0==(c|0)?(k[b+4>>2]|0)>>>0>(k[a>>2]|0)>>>0:0))k[b+4>>2]=k[(k[b+12>>2]|0)+80+8>>2];c=Ri[k[k[(k[b+12>>2]|0)+132>>2]>>2]&255](k[(k[b+12>>2]|0)+136>>2]|0,(k[(k[b+12>>2]|0)+80>>2]|0)+(k[b+8>>2]|0)|0,b+4|0)|0;k[b>>2]=c;if((k[b>>2]|0)<0){k[b+16>>2]=k[b>>2];c=k[b+16>>2]|0;r=b;return c|0}else{k[(k[b+12>>2]|0)+80+20>>2]=0;k[(k[b+12>>2]|0)+80+24>>2]=(k[b+8>>2]|0)+(k[b+4>>2]|0);c=(k[b+12>>2]|0)+80+8|0;a=EBb(k[c>>2]|0,k[c+4>>2]|0,k[b+4>>2]|0,0)|0;k[c>>2]=a;k[c+4>>2]=L;k[b+16>>2]=0;c=k[b+16>>2]|0;r=b;return c|0}return 0}function mX(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+8>>2]=a;k[c+4>>2]=b;if(!(k[c+8>>2]|0)){k[c+12>>2]=-2;b=k[c+12>>2]|0;r=c;return b|0}b=ha(k[c+4>>2]|0,m[(k[c+8>>2]|0)+32+26>>1]|0)|0;k[c>>2]=b;if((k[c>>2]|0)>>>0>((k[(k[c+8>>2]|0)+80+24>>2]|0)-(k[(k[c+8>>2]|0)+80+20>>2]|0)|0)>>>0){k[c+12>>2]=-300;b=k[c+12>>2]|0;r=c;return b|0}else{b=(k[c+8>>2]|0)+80+20|0;k[b>>2]=(k[b>>2]|0)+(k[c>>2]|0);k[c+12>>2]=0;b=k[c+12>>2]|0;r=c;return b|0}return 0}function nX(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+48|0;k[d+28>>2]=a;k[d+24>>2]=b;k[d+20>>2]=c;k[d+16>>2]=k[k[d+20>>2]>>2];k[d+4>>2]=m[(k[d+28>>2]|0)+32+26>>1];if((k[d+28>>2]|0)==0|(k[d+24>>2]|0)==0|(k[d+20>>2]|0)==0){k[d+32>>2]=-2;c=k[d+32>>2]|0;r=d;return c|0}c=ha(k[d+16>>2]|0,k[d+4>>2]|0)|0;k[d+8>>2]=c;if((k[d+8>>2]|0)>>>0>((k[(k[d+28>>2]|0)+80+24>>2]|0)-(k[(k[d+28>>2]|0)+80+20>>2]|0)|0)>>>0){c=lX(k[d+28>>2]|0)|0;k[d>>2]=c;if((k[d>>2]|0)<0){k[d+32>>2]=k[d>>2];c=k[d+32>>2]|0;r=d;return c|0}}k[d+12>>2]=(((k[(k[d+28>>2]|0)+80+24>>2]|0)-(k[(k[d+28>>2]|0)+80+20>>2]|0)|0)>>>0)/((k[d+4>>2]|0)>>>0)|0;if((k[d+12>>2]|0)>>>0<(k[d+16>>2]|0)>>>0)k[k[d+20>>2]>>2]=k[d+12>>2];k[k[d+24>>2]>>2]=(k[(k[d+28>>2]|0)+80>>2]|0)+(k[(k[d+28>>2]|0)+80+20>>2]|0);k[d+32>>2]=0;c=k[d+32>>2]|0;r=d;return c|0}function oX(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;a=hqb(k[b>>2]|0)|0;r=b;return a|0}function pX(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;iqb(k[b>>2]|0);r=b;return}function qX(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+4>>2]=a;rX(k[b+4>>2]|0)|0;k[b>>2]=0;while(1){if(!(k[20328+(k[b>>2]<<3)>>2]|0))break;Gi[k[20328+(k[b>>2]<<3)+4>>2]&2047](k[b+4>>2]|0)|0;k[b>>2]=(k[b>>2]|0)+1}r=b;return 1}function rX(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;k[b>>2]=a;c=(NY()|0)!=0;a=k[b>>2]|0;if(c){Zs(a,361455,20304);YDa(k[b>>2]|0,517989);YDa(k[b>>2]|0,361476);mEa(k[b>>2]|0,-3);k[b+4>>2]=1;c=k[b+4>>2]|0;r=b;return c|0}else{YDa(a,361492);xEa(k[b>>2]|0)|0;k[b+4>>2]=0;c=k[b+4>>2]|0;r=b;return c|0}return 0}function sX(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+8>>2]=a;a=~~+lHa(k[b+8>>2]|0,1);k[b+4>>2]=a;a=xDa(k[b+8>>2]|0)|0;k[b>>2]=a-(k[b+4>>2]|0)-1;r=b;return ((k[b>>2]|0)>=0?k[b>>2]|0:0)|0}function tX(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;OY()|0;r=b;return 0}function uX(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;Zs(k[b>>2]|0,361549,20400);YDa(k[b>>2]|0,517989);YDa(k[b>>2]|0,361683);mEa(k[b>>2]|0,-3);MX(1248062,1248574);NX(1248318);r=b;return 1}function vX(a){a=a|0;var b=0;b=r;r=r+1072|0;k[b+1052>>2]=a;k[b+1048>>2]=0;a=~~+lHa(k[b+1052>>2]|0,1)>>>0;k[b+1044>>2]=a;a=eHa(k[b+1052>>2]|0,2,0,b+1048|0)|0;k[b+1040>>2]=a;k[b+1036>>2]=(k[b+1040>>2]|0)+(k[b+1048>>2]|0);a=k[b+1052>>2]|0;if(!(k[b+1040>>2]|0)){UDa(a);VDa(k[b+1052>>2]|0,2.0);k[b+1056>>2]=2;a=k[b+1056>>2]|0;r=b;return a|0}wHa(a,b);while(1){if((k[b+1040>>2]|0)>>>0>=(k[b+1036>>2]|0)>>>0)break;a=k[b+1040>>2]|0;k[b+1040>>2]=a+1;a=wX(i[a>>0]|0,k[b+1044>>2]|0,b)|0;k[b+1044>>2]=a}zHa(b);VDa(k[b+1052>>2]|0,+((k[b+1044>>2]|0)>>>0));k[b+1056>>2]=2;a=k[b+1056>>2]|0;r=b;return a|0}function wX(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;k[d+8>>2]=a;k[d+4>>2]=b;k[d>>2]=c;if((k[k[d>>2]>>2]|0)>>>0>=((k[d>>2]|0)+12+1024|0)>>>0)vHa(k[d>>2]|0)|0;a=k[d+8>>2]&255;c=k[d>>2]|0;b=k[c>>2]|0;k[c>>2]=b+1;i[b>>0]=a;switch(k[d+8>>2]|0){case 13:{k[d+12>>2]=1;b=k[d+12>>2]|0;r=d;return b|0}case 10:{k[d+12>>2]=(k[d+4>>2]|0)==1?2:0;b=k[d+12>>2]|0;r=d;return b|0}case 46:{if((k[d+4>>2]|0)==2){if((k[k[d>>2]>>2]|0)>>>0>=((k[d>>2]|0)+12+1024|0)>>>0)vHa(k[d>>2]|0)|0;a=k[d>>2]|0;b=k[a>>2]|0;k[a>>2]=b+1;i[b>>0]=46}break}default:{}}k[d+12>>2]=0;b=k[d+12>>2]|0;r=d;return b|0}function xX(a){a=a|0;var b=0;b=r;r=r+1072|0;k[b+1052>>2]=a;k[b+1048>>2]=0;k[b+1044>>2]=0;a=eHa(k[b+1052>>2]|0,1,0,b+1048|0)|0;k[b+1040>>2]=a;k[b+1036>>2]=(k[b+1040>>2]|0)+(k[b+1048>>2]|0);a=k[b+1052>>2]|0;if(!(k[b+1040>>2]|0)){UDa(a);UDa(k[b+1052>>2]|0);k[b+1056>>2]=2;a=k[b+1056>>2]|0;r=b;return a|0}wHa(a,b);while(1){if((k[b+1040>>2]|0)>>>0>=(k[b+1036>>2]|0)>>>0)break;a=k[b+1040>>2]|0;k[b+1040>>2]=a+1;a=yX(i[a>>0]|0,b+1060|0,k[b+1044>>2]|0,b)|0;k[b+1044>>2]=a}a=eHa(k[b+1052>>2]|0,2,0,b+1048|0)|0;k[b+1040>>2]=a;if(!(k[b+1040>>2]|0)){a=zX(b+1060|0,k[b+1044>>2]|0,b)|0;k[b+1044>>2]=a;zHa(b);a=ODa(k[b+1052>>2]|0,-1,0)|0;if(!(i[a>>0]|0))UDa(k[b+1052>>2]|0);UDa(k[b+1052>>2]|0);k[b+1056>>2]=2;a=k[b+1056>>2]|0;r=b;return a|0}k[b+1036>>2]=(k[b+1040>>2]|0)+(k[b+1048>>2]|0);while(1){if((k[b+1040>>2]|0)>>>0>=(k[b+1036>>2]|0)>>>0)break;a=k[b+1040>>2]|0;k[b+1040>>2]=a+1;a=yX(i[a>>0]|0,b+1060|0,k[b+1044>>2]|0,b)|0;k[b+1044>>2]=a}zHa(b);XDa(k[b+1052>>2]|0,b+1060|0,k[b+1044>>2]|0);k[b+1056>>2]=2;a=k[b+1056>>2]|0;r=b;return a|0}function yX(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+32|0;i[e+20>>0]=a;k[e+12>>2]=b;k[e+8>>2]=c;k[e+4>>2]=d;b=i[e+20>>0]|0;c=k[e+8>>2]|0;k[e+8>>2]=c+1;i[(k[e+12>>2]|0)+c>>0]=b;if((k[e+8>>2]|0)!=3){c=k[e+8>>2]|0;r=e;return c|0}k[e>>2]=0;k[e>>2]=(k[e>>2]|0)+(l[k[e+12>>2]>>0]|0);k[e>>2]=k[e>>2]<<8;k[e>>2]=(k[e>>2]|0)+(l[(k[e+12>>2]|0)+1>>0]|0);k[e>>2]=k[e>>2]<<8;k[e>>2]=(k[e>>2]|0)+(l[(k[e+12>>2]|0)+2>>0]|0);i[e+16+3>>0]=i[361562+(k[e>>2]&63)>>0]|0;k[e>>2]=(k[e>>2]|0)>>>6;i[e+16+2>>0]=i[361562+(k[e>>2]&63)>>0]|0;k[e>>2]=(k[e>>2]|0)>>>6;i[e+16+1>>0]=i[361562+(k[e>>2]&63)>>0]|0;k[e>>2]=(k[e>>2]|0)>>>6;i[e+16>>0]=i[361562+(k[e>>2]|0)>>0]|0;xHa(k[e+4>>2]|0,e+16|0,4);k[e+8>>2]=0;c=k[e+8>>2]|0;r=e;return c|0}function zX(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+32|0;k[d+12>>2]=a;k[d+8>>2]=b;k[d+4>>2]=c;k[d>>2]=0;i[d+16>>0]=i[361627]|0;i[d+16+1>>0]=i[361628]|0;i[d+16+2>>0]=i[361629]|0;i[d+16+3>>0]=i[361630]|0;switch(k[d+8>>2]|0){case 1:{k[d>>2]=(l[k[d+12>>2]>>0]|0)<<4;i[d+16+1>>0]=i[361562+(k[d>>2]&63)>>0]|0;k[d>>2]=(k[d>>2]|0)>>>6;i[d+16>>0]=i[361562+(k[d>>2]|0)>>0]|0;xHa(k[d+4>>2]|0,d+16|0,4);r=d;return 0}case 2:{k[d>>2]=l[k[d+12>>2]>>0];k[d>>2]=k[d>>2]<<8;k[d>>2]=k[d>>2]|(l[(k[d+12>>2]|0)+1>>0]|0);k[d>>2]=k[d>>2]<<2;i[d+16+2>>0]=i[361562+(k[d>>2]&63)>>0]|0;k[d>>2]=(k[d>>2]|0)>>>6;i[d+16+1>>0]=i[361562+(k[d>>2]&63)>>0]|0;k[d>>2]=(k[d>>2]|0)>>>6;i[d+16>>0]=i[361562+(k[d>>2]|0)>>0]|0;xHa(k[d+4>>2]|0,d+16|0,4);r=d;return 0}default:{r=d;return 0}}return 0}function AX(a){a=a|0;var b=0;b=r;r=r+1072|0;k[b+1056>>2]=a;a=~~+lHa(k[b+1056>>2]|0,1);k[b+1052>>2]=a;k[b+1048>>2]=0;a=eHa(k[b+1056>>2]|0,2,0,b+1048|0)|0;k[b+1044>>2]=a;k[b+1040>>2]=(k[b+1044>>2]|0)+(k[b+1048>>2]|0);a=eHa(k[b+1056>>2]|0,3,361635,0)|0;k[b+1036>>2]=a;wHa(k[b+1056>>2]|0,b);if(!(k[b+1044>>2]|0)){UDa(k[b+1056>>2]|0);VDa(k[b+1056>>2]|0,0.0);k[b+1060>>2]=2;a=k[b+1060>>2]|0;r=b;return a|0}while(1){if((k[b+1044>>2]|0)>>>0>=(k[b+1040>>2]|0)>>>0)break;a=k[b+1044>>2]|0;k[b+1044>>2]=a+1;a=BX(i[a>>0]|0,k[b+1052>>2]|0,k[b+1036>>2]|0,b)|0;k[b+1052>>2]=a}zHa(b);VDa(k[b+1056>>2]|0,+(k[b+1052>>2]|0));k[b+1060>>2]=2;a=k[b+1060>>2]|0;r=b;return a|0}function BX(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+32|0;k[e+12>>2]=a;k[e+8>>2]=b;k[e+4>>2]=c;k[e>>2]=d;if(!((k[e+12>>2]|0)==13?1:(k[e+12>>2]|0)==10)){if((k[k[e>>2]>>2]|0)>>>0>=((k[e>>2]|0)+12+1024|0)>>>0)vHa(k[e>>2]|0)|0;b=k[e+12>>2]&255;a=k[e>>2]|0;c=k[a>>2]|0;k[a>>2]=c+1;i[c>>0]=b;k[e+16>>2]=0;c=k[e+16>>2]|0;r=e;return c|0}if(!((k[e+8>>2]|0)==13?1:(k[e+8>>2]|0)==10)){yHa(k[e>>2]|0,k[e+4>>2]|0);k[e+16>>2]=k[e+12>>2];c=k[e+16>>2]|0;r=e;return c|0}if((k[e+12>>2]|0)==(k[e+8>>2]|0))yHa(k[e>>2]|0,k[e+4>>2]|0);k[e+16>>2]=0;c=k[e+16>>2]|0;r=e;return c|0}function CX(a){a=a|0;var b=0;b=r;r=r+1072|0;k[b+1056>>2]=a;k[b+1052>>2]=0;k[b+1048>>2]=0;a=eHa(k[b+1056>>2]|0,1,0,b+1048|0)|0;k[b+1044>>2]=a;k[b+1040>>2]=(k[b+1044>>2]|0)+(k[b+1048>>2]|0);a=eHa(k[b+1056>>2]|0,3,361635,0)|0;k[b+1036>>2]=a;a=k[b+1056>>2]|0;if(!(k[b+1044>>2]|0)){UDa(a);UDa(k[b+1056>>2]|0);k[b+1060>>2]=2;a=k[b+1060>>2]|0;r=b;return a|0}wHa(a,b);while(1){if((k[b+1044>>2]|0)>>>0>=(k[b+1040>>2]|0)>>>0)break;a=k[b+1044>>2]|0;k[b+1044>>2]=a+1;a=DX(i[a>>0]|0,b+1064|0,k[b+1052>>2]|0,k[b+1036>>2]|0,b)|0;k[b+1052>>2]=a}a=eHa(k[b+1056>>2]|0,2,0,b+1048|0)|0;k[b+1044>>2]=a;if(!(k[b+1044>>2]|0)){a=FX(b+1064|0,k[b+1052>>2]|0,b)|0;k[b+1052>>2]=a;zHa(b);a=ODa(k[b+1056>>2]|0,-1,0)|0;if(!(i[a>>0]|0))UDa(k[b+1056>>2]|0);UDa(k[b+1056>>2]|0);k[b+1060>>2]=2;a=k[b+1060>>2]|0;r=b;return a|0}k[b+1040>>2]=(k[b+1044>>2]|0)+(k[b+1048>>2]|0);while(1){if((k[b+1044>>2]|0)>>>0>=(k[b+1040>>2]|0)>>>0)break;a=k[b+1044>>2]|0;k[b+1044>>2]=a+1;a=DX(i[a>>0]|0,b+1064|0,k[b+1052>>2]|0,k[b+1036>>2]|0,b)|0;k[b+1052>>2]=a}zHa(b);XDa(k[b+1056>>2]|0,b+1064|0,k[b+1052>>2]|0);k[b+1060>>2]=2;a=k[b+1060>>2]|0;r=b;return a|0}function DX(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=r;r=r+32|0;i[f+20>>0]=a;k[f+12>>2]=b;k[f+8>>2]=c;k[f+4>>2]=d;k[f>>2]=e;d=i[f+20>>0]|0;c=k[f+8>>2]|0;k[f+8>>2]=c+1;i[(k[f+12>>2]|0)+c>>0]=d;a:while(1){if((k[f+8>>2]|0)>>>0<=0){e=22;break}switch(l[1248062+(l[k[f+12>>2]>>0]|0)>>0]|0|0){case 2:{if((k[f+8>>2]|0)>>>0<2){e=5;break a}if((l[(k[f+12>>2]|0)+1>>0]|0|0)==10){e=7;break a}EX(i[k[f+12>>2]>>0]|0,k[f>>2]|0);break}case 3:{if((k[f+8>>2]|0)>>>0<3){e=10;break a}if((l[(k[f+12>>2]|0)+1>>0]|0|0)==13)if((l[(k[f+12>>2]|0)+2>>0]|0|0)==10){e=13;break a}if((k[k[f>>2]>>2]|0)>>>0>=((k[f>>2]|0)+12+1024|0)>>>0)vHa(k[f>>2]|0)|0;d=i[k[f+12>>2]>>0]|0;b=k[f>>2]|0;c=k[b>>2]|0;k[b>>2]=c+1;i[c>>0]=d;break}case 1:{EX(i[k[f+12>>2]>>0]|0,k[f>>2]|0);break}default:{if((k[k[f>>2]>>2]|0)>>>0>=((k[f>>2]|0)+12+1024|0)>>>0)vHa(k[f>>2]|0)|0;d=i[k[f+12>>2]>>0]|0;b=k[f>>2]|0;c=k[b>>2]|0;k[b>>2]=c+1;i[c>>0]=d}}i[k[f+12>>2]>>0]=i[(k[f+12>>2]|0)+1>>0]|0;i[(k[f+12>>2]|0)+1>>0]=i[(k[f+12>>2]|0)+2>>0]|0;k[f+8>>2]=(k[f+8>>2]|0)+-1}if((e|0)==5){k[f+16>>2]=k[f+8>>2];c=k[f+16>>2]|0;r=f;return c|0}else if((e|0)==7){yHa(k[f>>2]|0,k[f+4>>2]|0);k[f+16>>2]=0;c=k[f+16>>2]|0;r=f;return c|0}else if((e|0)==10){k[f+16>>2]=k[f+8>>2];c=k[f+16>>2]|0;r=f;return c|0}else if((e|0)==13){EX(i[k[f+12>>2]>>0]|0,k[f>>2]|0);yHa(k[f>>2]|0,k[f+4>>2]|0);k[f+16>>2]=0;c=k[f+16>>2]|0;r=f;return c|0}else if((e|0)==22){k[f+16>>2]=0;c=k[f+16>>2]|0;r=f;return c|0}return 0}function EX(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=r;r=r+16|0;i[c+4>>0]=a;k[c>>2]=b;if((k[k[c>>2]>>2]|0)>>>0>=((k[c>>2]|0)+12+1024|0)>>>0)vHa(k[c>>2]|0)|0;b=k[c>>2]|0;a=k[b>>2]|0;k[b>>2]=a+1;i[a>>0]=61;if((k[k[c>>2]>>2]|0)>>>0>=((k[c>>2]|0)+12+1024|0)>>>0)vHa(k[c>>2]|0)|0;b=i[361641+((l[c+4>>0]|0)>>4)>>0]|0;d=k[c>>2]|0;a=k[d>>2]|0;k[d>>2]=a+1;i[a>>0]=b;if((k[k[c>>2]>>2]|0)>>>0<((k[c>>2]|0)+12+1024|0)>>>0){a=i[c+4>>0]|0;a=a&255;a=a&15;a=361641+a|0;a=i[a>>0]|0;b=k[c>>2]|0;d=k[b>>2]|0;e=d+1|0;k[b>>2]=e;i[d>>0]=a;r=c;return}vHa(k[c>>2]|0)|0;d=i[c+4>>0]|0;d=d&255;d=d&15;d=361641+d|0;d=i[d>>0]|0;a=k[c>>2]|0;e=k[a>>2]|0;b=e+1|0;k[a>>2]=b;i[e>>0]=d;r=c;return}function FX(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;k[d+12>>2]=a;k[d+8>>2]=b;k[d+4>>2]=c;k[d>>2]=0;while(1){if((k[d>>2]|0)>>>0>=(k[d+8>>2]|0)>>>0)break;if(!(l[1248062+(l[(k[d+12>>2]|0)+(k[d>>2]|0)>>0]|0)>>0]|0)){if((k[k[d+4>>2]>>2]|0)>>>0>=((k[d+4>>2]|0)+12+1024|0)>>>0)vHa(k[d+4>>2]|0)|0;a=i[(k[d+12>>2]|0)+(k[d>>2]|0)>>0]|0;c=k[d+4>>2]|0;b=k[c>>2]|0;k[c>>2]=b+1;i[b>>0]=a}else EX(i[(k[d+12>>2]|0)+(k[d>>2]|0)>>0]|0,k[d+4>>2]|0);k[d>>2]=(k[d>>2]|0)+1}if((k[d+8>>2]|0)>>>0<=0){r=d;return 0}yHa(k[d+4>>2]|0,361658);r=d;return 0}function GX(a){a=a|0;var b=0,c=0;b=r;r=r+1072|0;k[b+1056>>2]=a;k[b+1052>>2]=0;a=~~+lHa(k[b+1056>>2]|0,1);k[b+1048>>2]=a;a=eHa(k[b+1056>>2]|0,2,0,b+1052|0)|0;k[b+1044>>2]=a;k[b+1040>>2]=(k[b+1044>>2]|0)+(k[b+1052>>2]|0);a=~~+mHa(k[b+1056>>2]|0,3,76.0);k[b+1036>>2]=a;if(!(k[b+1044>>2]|0)){a=k[b+1056>>2]|0;if((k[b+1048>>2]|0)<(k[b+1036>>2]|0))YDa(a,361658);else UDa(a);VDa(k[b+1056>>2]|0,+(k[b+1036>>2]|0));k[b+1060>>2]=2;a=k[b+1060>>2]|0;r=b;return a|0}wHa(k[b+1056>>2]|0,b);while(1){if((k[b+1044>>2]|0)>>>0>=(k[b+1040>>2]|0)>>>0)break;switch(l[k[b+1044>>2]>>0]|0|0){case 13:break;case 10:{k[b+1048>>2]=k[b+1036>>2];yHa(b,361635);break}case 61:{if((k[b+1048>>2]|0)<=3){k[b+1048>>2]=k[b+1036>>2];yHa(b,361658)}if((k[b>>2]|0)>>>0>=(b+12+1024|0)>>>0)vHa(b)|0;c=i[k[b+1044>>2]>>0]|0;a=k[b>>2]|0;k[b>>2]=a+1;i[a>>0]=c;k[b+1048>>2]=(k[b+1048>>2]|0)+-1;break}default:{if((k[b+1048>>2]|0)<=1){k[b+1048>>2]=k[b+1036>>2];yHa(b,361658)}if((k[b>>2]|0)>>>0>=(b+12+1024|0)>>>0)vHa(b)|0;a=i[k[b+1044>>2]>>0]|0;c=k[b>>2]|0;k[b>>2]=c+1;i[c>>0]=a;k[b+1048>>2]=(k[b+1048>>2]|0)+-1}}k[b+1044>>2]=(k[b+1044>>2]|0)+1}zHa(b);VDa(k[b+1056>>2]|0,+(k[b+1048>>2]|0));k[b+1060>>2]=2;c=k[b+1060>>2]|0;r=b;return c|0}function HX(a){a=a|0;var b=0;b=r;r=r+1072|0;k[b+1052>>2]=a;k[b+1048>>2]=0;k[b+1044>>2]=0;a=eHa(k[b+1052>>2]|0,1,0,b+1048|0)|0;k[b+1040>>2]=a;k[b+1036>>2]=(k[b+1040>>2]|0)+(k[b+1048>>2]|0);a=k[b+1052>>2]|0;if(!(k[b+1040>>2]|0)){UDa(a);UDa(k[b+1052>>2]|0);k[b+1056>>2]=2;a=k[b+1056>>2]|0;r=b;return a|0}wHa(a,b);while(1){if((k[b+1040>>2]|0)>>>0>=(k[b+1036>>2]|0)>>>0)break;a=k[b+1040>>2]|0;k[b+1040>>2]=a+1;a=IX(i[a>>0]|0,b+1060|0,k[b+1044>>2]|0,b)|0;k[b+1044>>2]=a}a=eHa(k[b+1052>>2]|0,2,0,b+1048|0)|0;k[b+1040>>2]=a;if(!(k[b+1040>>2]|0)){zHa(b);a=ODa(k[b+1052>>2]|0,-1,0)|0;if(!(i[a>>0]|0))UDa(k[b+1052>>2]|0);UDa(k[b+1052>>2]|0);k[b+1056>>2]=2;a=k[b+1056>>2]|0;r=b;return a|0}k[b+1036>>2]=(k[b+1040>>2]|0)+(k[b+1048>>2]|0);while(1){if((k[b+1040>>2]|0)>>>0>=(k[b+1036>>2]|0)>>>0)break;a=k[b+1040>>2]|0;k[b+1040>>2]=a+1;a=IX(i[a>>0]|0,b+1060|0,k[b+1044>>2]|0,b)|0;k[b+1044>>2]=a}zHa(b);XDa(k[b+1052>>2]|0,b+1060|0,k[b+1044>>2]|0);k[b+1056>>2]=2;a=k[b+1056>>2]|0;r=b;return a|0}function IX(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+32|0;i[e+27>>0]=a;k[e+16>>2]=b;k[e+12>>2]=c;k[e+8>>2]=d;if((l[1248318+(l[e+27>>0]|0)>>0]|0|0)>64){k[e+20>>2]=k[e+12>>2];c=k[e+20>>2]|0;r=e;return c|0}b=i[e+27>>0]|0;c=k[e+12>>2]|0;k[e+12>>2]=c+1;i[(k[e+16>>2]|0)+c>>0]=b;if((k[e+12>>2]|0)!=4){k[e+20>>2]=k[e+12>>2];c=k[e+20>>2]|0;r=e;return c|0}k[e>>2]=0;k[e>>2]=l[1248318+(l[k[e+16>>2]>>0]|0)>>0];k[e>>2]=k[e>>2]<<6;k[e>>2]=k[e>>2]|(l[1248318+(l[(k[e+16>>2]|0)+1>>0]|0)>>0]|0);k[e>>2]=k[e>>2]<<6;k[e>>2]=k[e>>2]|(l[1248318+(l[(k[e+16>>2]|0)+2>>0]|0)>>0]|0);k[e>>2]=k[e>>2]<<6;k[e>>2]=k[e>>2]|(l[1248318+(l[(k[e+16>>2]|0)+3>>0]|0)>>0]|0);i[e+24+2>>0]=k[e>>2];k[e>>2]=k[e>>2]>>8;i[e+24+1>>0]=k[e>>2];k[e>>2]=k[e>>2]>>8;i[e+24>>0]=k[e>>2];if((l[(k[e+16>>2]|0)+2>>0]|0|0)==61)d=1;else d=(l[(k[e+16>>2]|0)+3>>0]|0|0)==61?2:3;k[e+4>>2]=d;xHa(k[e+8>>2]|0,e+24|0,k[e+4>>2]|0);k[e+20>>2]=0;c=k[e+20>>2]|0;r=e;return c|0}function JX(a){a=a|0;var b=0;b=r;r=r+1072|0;k[b+1052>>2]=a;k[b+1048>>2]=0;k[b+1044>>2]=0;a=eHa(k[b+1052>>2]|0,1,0,b+1044|0)|0;k[b+1040>>2]=a;k[b+1036>>2]=(k[b+1040>>2]|0)+(k[b+1044>>2]|0);a=k[b+1052>>2]|0;if(!(k[b+1040>>2]|0)){UDa(a);UDa(k[b+1052>>2]|0);k[b+1056>>2]=2;a=k[b+1056>>2]|0;r=b;return a|0}wHa(a,b);while(1){if((k[b+1040>>2]|0)>>>0>=(k[b+1036>>2]|0)>>>0)break;a=k[b+1040>>2]|0;k[b+1040>>2]=a+1;a=KX(i[a>>0]|0,b+1060|0,k[b+1048>>2]|0,b)|0;k[b+1048>>2]=a}a=eHa(k[b+1052>>2]|0,2,0,b+1044|0)|0;k[b+1040>>2]=a;if(!(k[b+1040>>2]|0)){zHa(b);a=ODa(k[b+1052>>2]|0,-1,0)|0;if(!(i[a>>0]|0))UDa(k[b+1052>>2]|0);UDa(k[b+1052>>2]|0);k[b+1056>>2]=2;a=k[b+1056>>2]|0;r=b;return a|0}k[b+1036>>2]=(k[b+1040>>2]|0)+(k[b+1044>>2]|0);while(1){if((k[b+1040>>2]|0)>>>0>=(k[b+1036>>2]|0)>>>0)break;a=k[b+1040>>2]|0;k[b+1040>>2]=a+1;a=KX(i[a>>0]|0,b+1060|0,k[b+1048>>2]|0,b)|0;k[b+1048>>2]=a}zHa(b);XDa(k[b+1052>>2]|0,b+1060|0,k[b+1048>>2]|0);k[b+1056>>2]=2;a=k[b+1056>>2]|0;r=b;return a|0}function KX(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=r;r=r+32|0;i[f+20>>0]=a;k[f+12>>2]=b;k[f+8>>2]=c;k[f+4>>2]=d;b=i[f+20>>0]|0;c=k[f+8>>2]|0;k[f+8>>2]=c+1;i[(k[f+12>>2]|0)+c>>0]=b;switch(l[k[f+12>>2]>>0]|0|0){case 61:{if((k[f+8>>2]|0)>>>0<3){k[f+16>>2]=k[f+8>>2];e=k[f+16>>2]|0;r=f;return e|0}if((l[(k[f+12>>2]|0)+1>>0]|0|0)==13)if((l[(k[f+12>>2]|0)+2>>0]|0|0)==10){k[f+16>>2]=0;e=k[f+16>>2]|0;r=f;return e|0}i[f+20>>0]=i[1248574+(l[(k[f+12>>2]|0)+1>>0]|0)>>0]|0;k[f>>2]=l[1248574+(l[(k[f+12>>2]|0)+2>>0]|0)>>0];d=k[f+4>>2]|0;if((l[f+20>>0]|0|0)>15|(k[f>>2]|0)>15)xHa(d,k[f+12>>2]|0,3);else{if((k[d>>2]|0)>>>0>=((k[f+4>>2]|0)+12+1024|0)>>>0)vHa(k[f+4>>2]|0)|0;c=((l[f+20>>0]|0)<<4)+(k[f>>2]|0)&255;b=k[f+4>>2]|0;e=k[b>>2]|0;k[b>>2]=e+1;i[e>>0]=c}k[f+16>>2]=0;e=k[f+16>>2]|0;r=f;return e|0}case 13:{if((k[f+8>>2]|0)>>>0<2){k[f+16>>2]=k[f+8>>2];e=k[f+16>>2]|0;r=f;return e|0}if((l[(k[f+12>>2]|0)+1>>0]|0|0)==10)xHa(k[f+4>>2]|0,k[f+12>>2]|0,2);k[f+16>>2]=0;e=k[f+16>>2]|0;r=f;return e|0}default:{if((l[k[f+12>>2]>>0]|0|0)==9)e=21;else if((l[k[f+12>>2]>>0]|0|0)>31)if((l[k[f+12>>2]>>0]|0|0)<127)e=21;if((e|0)==21){if((k[k[f+4>>2]>>2]|0)>>>0>=((k[f+4>>2]|0)+12+1024|0)>>>0)vHa(k[f+4>>2]|0)|0;c=i[k[f+12>>2]>>0]|0;b=k[f+4>>2]|0;e=k[b>>2]|0;k[b>>2]=e+1;i[e>>0]=c}k[f+16>>2]=0;e=k[f+16>>2]|0;r=f;return e|0}}return 0}function LX(a){a=a|0;var b=0,c=0;b=r;r=r+1072|0;k[b+1056>>2]=a;k[b+1052>>2]=0;a=~~+lHa(k[b+1056>>2]|0,1);k[b+1048>>2]=a;a=eHa(k[b+1056>>2]|0,2,0,b+1052|0)|0;k[b+1044>>2]=a;k[b+1040>>2]=(k[b+1044>>2]|0)+(k[b+1052>>2]|0);a=~~+mHa(k[b+1056>>2]|0,3,76.0);k[b+1036>>2]=a;if(!(k[b+1044>>2]|0)){a=k[b+1056>>2]|0;if((k[b+1048>>2]|0)<(k[b+1036>>2]|0))YDa(a,361635);else UDa(a);VDa(k[b+1056>>2]|0,+(k[b+1036>>2]|0));k[b+1060>>2]=2;a=k[b+1060>>2]|0;r=b;return a|0}wHa(k[b+1056>>2]|0,b);while(1){if((k[b+1044>>2]|0)>>>0>=(k[b+1040>>2]|0)>>>0)break;switch(l[k[b+1044>>2]>>0]|0|0){case 13:break;case 10:{yHa(b,361635);k[b+1048>>2]=k[b+1036>>2];break}default:{if((k[b+1048>>2]|0)<=0){k[b+1048>>2]=k[b+1036>>2];yHa(b,361635)}if((k[b>>2]|0)>>>0>=(b+12+1024|0)>>>0)vHa(b)|0;c=i[k[b+1044>>2]>>0]|0;a=k[b>>2]|0;k[b>>2]=a+1;i[a>>0]=c;k[b+1048>>2]=(k[b+1048>>2]|0)+-1}}k[b+1044>>2]=(k[b+1044>>2]|0)+1}zHa(b);VDa(k[b+1056>>2]|0,+(k[b+1048>>2]|0));k[b+1060>>2]=2;c=k[b+1060>>2]|0;r=b;return c|0}function MX(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+8>>2]=a;k[c+4>>2]=b;k[c>>2]=0;while(1){if((k[c>>2]|0)>=256)break;i[(k[c+8>>2]|0)+(k[c>>2]|0)>>0]=1;k[c>>2]=(k[c>>2]|0)+1}k[c>>2]=33;while(1){if((k[c>>2]|0)>60)break;i[(k[c+8>>2]|0)+(k[c>>2]|0)>>0]=0;k[c>>2]=(k[c>>2]|0)+1}k[c>>2]=62;while(1){if((k[c>>2]|0)>126)break;i[(k[c+8>>2]|0)+(k[c>>2]|0)>>0]=0;k[c>>2]=(k[c>>2]|0)+1}i[(k[c+8>>2]|0)+9>>0]=3;i[(k[c+8>>2]|0)+32>>0]=3;i[(k[c+8>>2]|0)+13>>0]=2;k[c>>2]=0;while(1){if((k[c>>2]|0)>=256)break;i[(k[c+4>>2]|0)+(k[c>>2]|0)>>0]=-1;k[c>>2]=(k[c>>2]|0)+1}i[(k[c+4>>2]|0)+48>>0]=0;i[(k[c+4>>2]|0)+49>>0]=1;i[(k[c+4>>2]|0)+50>>0]=2;i[(k[c+4>>2]|0)+51>>0]=3;i[(k[c+4>>2]|0)+52>>0]=4;i[(k[c+4>>2]|0)+53>>0]=5;i[(k[c+4>>2]|0)+54>>0]=6;i[(k[c+4>>2]|0)+55>>0]=7;i[(k[c+4>>2]|0)+56>>0]=8;i[(k[c+4>>2]|0)+57>>0]=9;i[(k[c+4>>2]|0)+65>>0]=10;i[(k[c+4>>2]|0)+97>>0]=10;i[(k[c+4>>2]|0)+66>>0]=11;i[(k[c+4>>2]|0)+98>>0]=11;i[(k[c+4>>2]|0)+67>>0]=12;i[(k[c+4>>2]|0)+99>>0]=12;i[(k[c+4>>2]|0)+68>>0]=13;i[(k[c+4>>2]|0)+100>>0]=13;i[(k[c+4>>2]|0)+69>>0]=14;i[(k[c+4>>2]|0)+101>>0]=14;i[(k[c+4>>2]|0)+70>>0]=15;i[(k[c+4>>2]|0)+102>>0]=15;r=c;return}function NX(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+4>>2]=a;k[b>>2]=0;while(1){if((k[b>>2]|0)>255)break;i[(k[b+4>>2]|0)+(k[b>>2]|0)>>0]=-1;k[b>>2]=(k[b>>2]|0)+1}k[b>>2]=0;while(1){if((k[b>>2]|0)>=64)break;i[(k[b+4>>2]|0)+(l[361562+(k[b>>2]|0)>>0]|0)>>0]=k[b>>2];k[b>>2]=(k[b>>2]|0)+1}i[(k[b+4>>2]|0)+61>>0]=0;r=b;return}function OX(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;Zs(k[b>>2]|0,0,20472);r=b;return 0}function PX(a){a=a|0;var b=0,c=0.0;b=r;r=r+336|0;k[b+328>>2]=a;c=+mHa(k[b+328>>2]|0,3,-1.0);p[b>>3]=c;k[b+40>>2]=b+176;k[b+44>>2]=32;while(1){if(!(k[b+44>>2]|0))break;a=k[b+40>>2]|0;k[b+40>>2]=a+4;k[a>>2]=0;k[b+44>>2]=(k[b+44>>2]|0)+-1}k[b+32>>2]=b+48;k[b+36>>2]=32;while(1){if(!(k[b+36>>2]|0))break;a=k[b+32>>2]|0;k[b+32>>2]=a+4;k[a>>2]=0;k[b+36>>2]=(k[b+36>>2]|0)+-1}yDa(k[b+328>>2]|0,3);hEa(k[b+328>>2]|0,0,0);a=xDa(k[b+328>>2]|0)|0;k[b+316>>2]=a;hEa(k[b+328>>2]|0,0,0);a=xDa(k[b+328>>2]|0)|0;k[b+324>>2]=a;hEa(k[b+328>>2]|0,0,0);a=xDa(k[b+328>>2]|0)|0;k[b+320>>2]=a;a=QX(k[b+328>>2]|0,1,-1,k[b+316>>2]|0,b+176|0)|0;k[b+304>>2]=a;a=SX(k[b+328>>2]|0,1,k[b+324>>2]|0,b+176|0)|0;k[b+308>>2]=a;p[b>>3]=(k[b+308>>2]|0)>0?0.0:+p[b>>3];nY(b+8|0,+p[b>>3],-1.0);qY(b+8|0)|0;a=QX(k[b+328>>2]|0,2,k[b+304>>2]|0,k[b+316>>2]|0,b+48|0)|0;k[b+304>>2]=a;a=RY((k[b+304>>2]|0)+1|0,b+176|0,b+48|0,0,b+8|0)|0;k[b+312>>2]=a;if((k[b+312>>2]|0)>0|(k[b+308>>2]|0)>0){UX(k[b+328>>2]|0,b+176|0,(k[b+304>>2]|0)+1|0,k[b+316>>2]|0,k[b+324>>2]|0,k[b+308>>2]|0);UX(k[b+328>>2]|0,b+48|0,(k[b+304>>2]|0)+1|0,k[b+316>>2]|0,k[b+320>>2]|0,0);VX(k[b+328>>2]|0,k[b+324>>2]|0);VX(k[b+328>>2]|0,k[b+320>>2]|0);k[b+332>>2]=2;a=k[b+332>>2]|0;r=b;return a|0}a=k[b+328>>2]|0;if(!(k[b+312>>2]|0)){YDa(a,504121);k[b+332>>2]=3;a=k[b+332>>2]|0;r=b;return a|0}else{YDa(a,517536);k[b+332>>2]=3;a=k[b+332>>2]|0;r=b;return a|0}return 0}function QX(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;g=r;r=r+32|0;k[g+24>>2]=a;k[g+20>>2]=b;k[g+16>>2]=c;k[g+12>>2]=d;k[g+8>>2]=e;k[g+4>>2]=1;if(!(DDa(k[g+24>>2]|0,k[g+20>>2]|0)|0)){k[g+28>>2]=k[g+16>>2];f=k[g+28>>2]|0;r=g;return f|0}while(1){VDa(k[g+24>>2]|0,+(k[g+4>>2]|0));dEa(k[g+24>>2]|0,k[g+20>>2]|0);b=(DDa(k[g+24>>2]|0,-1)|0)==0;a=k[g+24>>2]|0;if(b)break;b=RX(a)|0;k[g>>2]=b;if((k[g>>2]|0)!=-1){b=(k[g+8>>2]|0)+((((k[g>>2]|0)>>>0)/32|0)<<2)|0;k[b>>2]=k[b>>2]|1<<(((k[g>>2]|0)>>>0)%32|0);if((k[g+16>>2]|0)==-1)f=8;else if((k[g+16>>2]|0)<(k[g>>2]|0))f=8;if((f|0)==8){f=0;k[g+16>>2]=k[g>>2]}VDa(k[g+24>>2]|0,+(k[g>>2]|0));CDa(k[g+24>>2]|0,-2);kEa(k[g+24>>2]|0,k[g+12>>2]|0)}yDa(k[g+24>>2]|0,-2);k[g+4>>2]=(k[g+4>>2]|0)+1}yDa(a,-2);k[g+28>>2]=k[g+16>>2];f=k[g+28>>2]|0;r=g;return f|0}function RX(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+4>>2]=a;k[b>>2]=-1;YDa(k[b+4>>2]|0,361914);dEa(k[b+4>>2]|0,-2);if(DDa(k[b+4>>2]|0,-1)|0){CDa(k[b+4>>2]|0,-2);qEa(k[b+4>>2]|0,1,1);if(GDa(k[b+4>>2]|0,-1)|0){a=~~+LDa(k[b+4>>2]|0,-1);k[b>>2]=a}}yDa(k[b+4>>2]|0,-2);r=b;return k[b>>2]|0}function SX(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+32|0;k[e+24>>2]=a;k[e+20>>2]=b;k[e+16>>2]=c;k[e+12>>2]=d;k[e+8>>2]=0;k[e+4>>2]=1;if(!(DDa(k[e+24>>2]|0,k[e+20>>2]|0)|0)){k[e+28>>2]=0;b=k[e+28>>2]|0;r=e;return b|0}while(1){VDa(k[e+24>>2]|0,+(k[e+4>>2]|0));dEa(k[e+24>>2]|0,k[e+20>>2]|0);b=(DDa(k[e+24>>2]|0,-1)|0)==0;a=k[e+24>>2]|0;if(b)break;b=RX(a)|0;k[e>>2]=b;if((k[e>>2]|0)!=-1)if(TX(k[e+24>>2]|0)|0){d=k[e+24>>2]|0;b=(k[e+8>>2]|0)+1|0;k[e+8>>2]=b;VDa(d,+(b|0));CDa(k[e+24>>2]|0,-2);kEa(k[e+24>>2]|0,k[e+16>>2]|0);b=(k[e+12>>2]|0)+((((k[e>>2]|0)>>>0)/32|0)<<2)|0;k[b>>2]=k[b>>2]&~(1<<(((k[e>>2]|0)>>>0)%32|0))}yDa(k[e+24>>2]|0,-2);k[e+4>>2]=(k[e+4>>2]|0)+1}yDa(a,-2);k[e+28>>2]=k[e+8>>2];b=k[e+28>>2]|0;r=e;return b|0}function TX(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+4>>2]=a;k[b>>2]=0;YDa(k[b+4>>2]|0,361908);dEa(k[b+4>>2]|0,-2);if(DDa(k[b+4>>2]|0,-1)|0){CDa(k[b+4>>2]|0,-2);qEa(k[b+4>>2]|0,1,1);a=NDa(k[b+4>>2]|0,-1)|0;k[b>>2]=a}yDa(k[b+4>>2]|0,-2);r=b;return k[b>>2]|0}function UX(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+32|0;k[g+24>>2]=a;k[g+20>>2]=b;k[g+16>>2]=c;k[g+12>>2]=d;k[g+8>>2]=e;k[g+4>>2]=f;k[g>>2]=0;while(1){if((k[g>>2]|0)>=(k[g+16>>2]|0))break;if(k[(k[g+20>>2]|0)+((((k[g>>2]|0)>>>0)/32|0)<<2)>>2]&1<<(((k[g>>2]|0)>>>0)%32|0)|0){f=k[g+24>>2]|0;e=(k[g+4>>2]|0)+1|0;k[g+4>>2]=e;VDa(f,+(e|0));VDa(k[g+24>>2]|0,+(k[g>>2]|0));dEa(k[g+24>>2]|0,k[g+12>>2]|0);kEa(k[g+24>>2]|0,k[g+8>>2]|0)}k[g>>2]=(k[g>>2]|0)+1}r=g;return}function VX(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+12>>2]=a;k[c+8>>2]=b;k[c+4>>2]=1;hEa(k[c+12>>2]|0,0,0);b=xDa(k[c+12>>2]|0)|0;k[c>>2]=b;while(1){VDa(k[c+12>>2]|0,+(k[c+4>>2]|0));dEa(k[c+12>>2]|0,k[c+8>>2]|0);b=(DDa(k[c+12>>2]|0,-1)|0)==0;a=k[c+12>>2]|0;if(b)break;VDa(a,+(k[c+4>>2]|0));CDa(k[c+12>>2]|0,-2);kEa(k[c+12>>2]|0,k[c>>2]|0);VDa(k[c+12>>2]|0,+(k[c+4>>2]|0));kEa(k[c+12>>2]|0,k[c>>2]|0);k[c+4>>2]=(k[c+4>>2]|0)+1}yDa(a,-2);r=c;return}function WX(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;Nta(k[b>>2]|0,361694,20488);Nta(k[b>>2]|0,361734,20488);Nta(k[b>>2]|0,361722,20488);Pta(k[b>>2]|0,361694,361706);Pta(k[b>>2]|0,361734,361706);Pta(k[b>>2]|0,361722,361706);Zs(k[b>>2]|0,0,20704);r=b;return 0}function XX(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+4>>2]=a;a=Tta(k[b+4>>2]|0,361706,1)|0;k[b>>2]=a;PY(k[b>>2]|0);VDa(k[b+4>>2]|0,1.0);r=b;return 1}function YX(a){a=a|0;var b=0;b=r;r=r+32|0;k[b+20>>2]=a;a=Rta(k[b+20>>2]|0,361722,1)|0;k[b+16>>2]=a;a=qY((k[b+16>>2]|0)+8248|0)|0;k[b+12>>2]=a;a=YY(k[b+16>>2]|0,b+8|0,0,0,k[b+12>>2]|0)|0;k[b+4>>2]=a;a=k[b+20>>2]|0;if(!(k[b+4>>2]|0)){a=AEa(a,8272)|0;k[b>>2]=a;Vta(k[b+20>>2]|0,361734,-1);UY(b+8|0);k[k[b>>2]>>2]=k[b+8>>2];Aua((k[b>>2]|0)+4|0,74,75,345,k[b>>2]|0);nY((k[b>>2]|0)+8248|0,-1.0,-1.0);Xta((k[b>>2]|0)+24|0,(k[b>>2]|0)+4|0,(k[b>>2]|0)+8248|0);k[b+24>>2]=1;a=k[b+24>>2]|0;r=b;return a|0}else{UDa(a);a=k[b+20>>2]|0;YDa(a,eZ(k[b+4>>2]|0)|0);k[b+24>>2]=2;a=k[b+24>>2]|0;r=b;return a|0}return 0}function ZX(a){a=a|0;var b=0;b=r;r=r+32|0;k[b+12>>2]=a;a=Rta(k[b+12>>2]|0,361694,1)|0;k[b+8>>2]=a;a=fHa(k[b+12>>2]|0,2,0)|0;k[b+4>>2]=a;a=~~+lHa(k[b+12>>2]|0,3)&65535;j[b+20>>1]=a;a=zua(k[b+8>>2]|0,k[b+4>>2]|0,j[b+20>>1]|0)|0;k[b>>2]=a;a=k[b+12>>2]|0;if(k[b>>2]|0){UDa(a);YDa(k[b+12>>2]|0,k[b>>2]|0);k[b+16>>2]=2;a=k[b+16>>2]|0;r=b;return a|0}else{VDa(a,1.0);k[b+16>>2]=1;a=k[b+16>>2]|0;r=b;return a|0}return 0}function _X(a){a=a|0;var b=0;b=r;r=r+32|0;k[b+16>>2]=a;a=Tta(k[b+16>>2]|0,361706,1)|0;k[b+12>>2]=a;a=fHa(k[b+16>>2]|0,2,0)|0;k[b+8>>2]=a;a=~~+lHa(k[b+16>>2]|0,3)&65535;j[b+24>>1]=a;a=qY((k[b+12>>2]|0)+8248|0)|0;k[b+4>>2]=a;a=yua(k[b+12>>2]|0,k[b+8>>2]|0,j[b+24>>1]|0,k[b+4>>2]|0)|0;k[b>>2]=a;Vta(k[b+16>>2]|0,361734,1);a=k[b+16>>2]|0;if(k[b>>2]|0){UDa(a);YDa(k[b+16>>2]|0,k[b>>2]|0);k[b+20>>2]=2;a=k[b+20>>2]|0;r=b;return a|0}else{VDa(a,1.0);k[b+20>>2]=1;a=k[b+20>>2]|0;r=b;return a|0}return 0}function $X(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+4>>2]=a;a=Tta(k[b+4>>2]|0,361706,1)|0;k[b>>2]=a;a=k[b+4>>2]|0;aEa(a,((dua((k[b>>2]|0)+24|0)|0)!=0^1)&1);r=b;return 1}function aY(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+4>>2]=a;a=Tta(k[b+4>>2]|0,361706,1)|0;k[b>>2]=a;VDa(k[b+4>>2]|0,+(k[k[b>>2]>>2]|0));r=b;return 1}function bY(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+4>>2]=a;a=Tta(k[b+4>>2]|0,361706,1)|0;k[b>>2]=a;a=vua(k[b+4>>2]|0,k[b>>2]|0)|0;r=b;return a|0}function cY(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+4>>2]=a;a=Tta(k[b+4>>2]|0,361706,1)|0;k[b>>2]=a;a=wua(k[b+4>>2]|0,k[b>>2]|0)|0;r=b;return a|0}function dY(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+4>>2]=a;a=Rta(k[b+4>>2]|0,361734,1)|0;k[b>>2]=a;a=Yta(k[b+4>>2]|0,(k[b>>2]|0)+24|0)|0;r=b;return a|0}function eY(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+4>>2]=a;a=Rta(k[b+4>>2]|0,361734,1)|0;k[b>>2]=a;a=Zta(k[b+4>>2]|0,(k[b>>2]|0)+24|0)|0;r=b;return a|0}function fY(a){a=a|0;var b=0;b=r;r=r+32|0;k[b+12>>2]=a;a=Rta(k[b+12>>2]|0,361694,1)|0;k[b+8>>2]=a;a=~~+mHa(k[b+12>>2]|0,2,32.0);k[b+4>>2]=a;a=VY(k[b+8>>2]|0,k[b+4>>2]|0)|0;k[b>>2]=a;a=k[b+12>>2]|0;if(k[b>>2]|0){UDa(a);a=k[b+12>>2]|0;YDa(a,eZ(k[b>>2]|0)|0);k[b+16>>2]=2;a=k[b+16>>2]|0;r=b;return a|0}else{Vta(a,361722,1);VDa(k[b+12>>2]|0,1.0);k[b+16>>2]=1;a=k[b+16>>2]|0;r=b;return a|0}return 0}function gY(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+4>>2]=a;a=Rta(k[b+4>>2]|0,361734,1)|0;k[b>>2]=a;a=aua(k[b+4>>2]|0,(k[b>>2]|0)+24|0)|0;r=b;return a|0}function hY(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+4>>2]=a;a=Rta(k[b+4>>2]|0,361734,1)|0;k[b>>2]=a;a=_ta(k[b+4>>2]|0,(k[b>>2]|0)+24|0)|0;r=b;return a|0}function iY(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+4>>2]=a;a=Tta(k[b+4>>2]|0,361706,1)|0;k[b>>2]=a;a=~~+lHa(k[b+4>>2]|0,2);k[k[b>>2]>>2]=a;r=b;return 0}function jY(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+4>>2]=a;a=Tta(k[b+4>>2]|0,361706,1)|0;k[b>>2]=a;a=Cua(k[b+4>>2]|0,20664,k[b>>2]|0)|0;r=b;return a|0}function kY(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+4>>2]=a;a=Tta(k[b+4>>2]|0,361706,1)|0;k[b>>2]=a;a=uY(k[b+4>>2]|0,(k[b>>2]|0)+8248|0)|0;r=b;return a|0}function lY(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+8>>2]=a;a=Rta(k[b+8>>2]|0,361734,1)|0;k[b+4>>2]=a;a=eHa(k[b+8>>2]|0,2,361822,0)|0;k[b>>2]=a;switch(i[k[b>>2]>>0]|0){case 98:{if(Wmb(k[b>>2]|0,361822)|0)a=9;else{WY(k[b+4>>2]|0,2);a=8}break}case 115:{if(Wmb(k[b>>2]|0,361989)|0)a=9;else{WY(k[b+4>>2]|0,1);a=8}break}case 114:{if(Wmb(k[b>>2]|0,361944)|0)a=9;else{WY(k[b+4>>2]|0,0);a=8}break}default:a=8}if((a|0)==8){VDa(k[b+8>>2]|0,1.0);k[b+12>>2]=1;a=k[b+12>>2]|0;r=b;return a|0}else if((a|0)==9){$Ga(k[b+8>>2]|0,2,361827)|0;k[b+12>>2]=0;a=k[b+12>>2]|0;r=b;return a|0}return 0}function mY(a){a=a|0;var b=0;b=r;r=r+32|0;k[b+12>>2]=a;a=xua(b+8|0,1)|0;k[b+4>>2]=a;a=k[b+12>>2]|0;if(k[b+4>>2]|0){UDa(a);YDa(k[b+12>>2]|0,k[b+4>>2]|0);k[b+16>>2]=2;a=k[b+16>>2]|0;r=b;return a|0}else{a=AEa(a,8272)|0;k[b>>2]=a;Vta(k[b+12>>2]|0,361694,-1);UY(b+8|0);k[k[b>>2]>>2]=k[b+8>>2];Aua((k[b>>2]|0)+4|0,74,75,345,k[b>>2]|0);nY((k[b>>2]|0)+8248|0,-1.0,-1.0);Xta((k[b>>2]|0)+24|0,(k[b>>2]|0)+4|0,(k[b>>2]|0)+8248|0);k[b+16>>2]=1;a=k[b+16>>2]|0;r=b;return a|0}return 0}function nY(a,b,c){a=a|0;b=+b;c=+c;var d=0;d=r;r=r+32|0;k[d+16>>2]=a;p[d+8>>3]=b;p[d>>3]=c;p[k[d+16>>2]>>3]=+p[d+8>>3];p[(k[d+16>>2]|0)+8>>3]=+p[d>>3];r=d;return}function oY(){var a=0;a=r;r=r+16|0;sf(a|0,0)|0;r=a;return +(+(k[a>>2]|0)+ +(k[a+4>>2]|0)/1.0e6)}function pY(a){a=a|0;var b=0.0,c=0;c=r;r=r+48|0;k[c+32>>2]=a;if(+p[k[c+32>>2]>>3]<0.0)if(+p[(k[c+32>>2]|0)+8>>3]<0.0){p[c+24>>3]=-1.0;b=+p[c+24>>3];r=c;return +b}b=+p[(k[c+32>>2]|0)+8>>3];if(+p[k[c+32>>2]>>3]<0.0){b=b-+oY();p[c+16>>3]=b+ +p[(k[c+32>>2]|0)+16>>3];p[c+24>>3]=+p[c+16>>3]>0.0?+p[c+16>>3]:0.0;b=+p[c+24>>3];r=c;return +b}a=k[c+32>>2]|0;if(b<0.0){b=+p[a>>3];b=b-+oY();p[c+8>>3]=b+ +p[(k[c+32>>2]|0)+16>>3];p[c+24>>3]=+p[c+8>>3]>0.0?+p[c+8>>3]:0.0;b=+p[c+24>>3];r=c;return +b}b=+p[a+8>>3];b=b-+oY();p[c>>3]=b+ +p[(k[c+32>>2]|0)+16>>3];if(+p[k[c+32>>2]>>3]<(+p[c>>3]>0.0?+p[c>>3]:0.0))b=+p[k[c+32>>2]>>3];else b=+p[c>>3]>0.0?+p[c>>3]:0.0;p[c+24>>3]=b;b=+p[c+24>>3];r=c;return +b}function qY(a){a=a|0;var b=0,c=0.0;b=r;r=r+16|0;k[b>>2]=a;c=+oY();p[(k[b>>2]|0)+16>>3]=c;r=b;return k[b>>2]|0}function rY(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;Zs(k[b>>2]|0,0,20720);r=b;return 0}function sY(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;a=k[b>>2]|0;VDa(a,+oY());r=b;return 1}function tY(a){a=a|0;var b=0,c=0.0;b=r;r=r+32|0;k[b+24>>2]=a;c=+lHa(k[b+24>>2]|0,1);p[b>>3]=c;k[b+16>>2]=~~+p[b>>3];p[b>>3]=+p[b>>3]-+(k[b+16>>2]|0);k[b+16+4>>2]=~~(+p[b>>3]*1.0e9);if((k[b+16+4>>2]|0)>=1e9)k[b+16+4>>2]=999999999;while(1){if(!(Ub(b+16|0,b+8|0)|0))break;k[b+16>>2]=k[b+8>>2];k[b+16+4>>2]=k[b+8+4>>2]}r=b;return 0}function uY(a,b){a=a|0;b=b|0;var c=0,d=0.0;c=r;r=r+32|0;k[c+16>>2]=a;k[c+12>>2]=b;d=+mHa(k[c+16>>2]|0,2,-1.0);p[c>>3]=d;b=eHa(k[c+16>>2]|0,3,608147,0)|0;k[c+8>>2]=b;switch(i[k[c+8>>2]>>0]|0){case 98:{p[k[c+12>>2]>>3]=+p[c>>3];break}case 116:case 114:{p[(k[c+12>>2]|0)+8>>3]=+p[c>>3];break}default:$Ga(k[c+16>>2]|0,3,361863)|0}VDa(k[c+16>>2]|0,1.0);r=c;return 1}function vY(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;Nta(k[b>>2]|0,361884,20744);Nta(k[b>>2]|0,361972,20744);Pta(k[b>>2]|0,361884,361899);Pta(k[b>>2]|0,361972,361899);Pta(k[b>>2]|0,361884,362173);Pta(k[b>>2]|0,361972,362173);Zs(k[b>>2]|0,0,20944);r=b;return 0}function wY(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+4>>2]=a;a=Tta(k[b+4>>2]|0,361899,1)|0;k[b>>2]=a;PY(k[b>>2]|0);VDa(k[b+4>>2]|0,1.0);r=b;return 1}function xY(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+4>>2]=a;a=Tta(k[b+4>>2]|0,361899,1)|0;k[b>>2]=a;aEa(k[b+4>>2]|0,0);r=b;return 1}function yY(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+4>>2]=a;a=Tta(k[b+4>>2]|0,361899,1)|0;k[b>>2]=a;VDa(k[b+4>>2]|0,+(k[k[b>>2]>>2]|0));r=b;return 1}function zY(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+4>>2]=a;a=Rta(k[b+4>>2]|0,361884,1)|0;k[b>>2]=a;a=vua(k[b+4>>2]|0,k[b>>2]|0)|0;r=b;return a|0}function AY(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+4>>2]=a;a=Tta(k[b+4>>2]|0,361899,1)|0;k[b>>2]=a;a=wua(k[b+4>>2]|0,k[b>>2]|0)|0;r=b;return a|0}function BY(a){a=a|0;var b=0;b=r;r=r+8224|0;k[b+20>>2]=a;a=Tta(k[b+20>>2]|0,361899,1)|0;k[b+16>>2]=a;a=~~+mHa(k[b+20>>2]|0,2,8192.0)>>>0;k[b+8>>2]=a;k[b>>2]=(k[b+16>>2]|0)+8;k[b+8>>2]=(k[b+8>>2]|0)>>>0<8192?k[b+8>>2]|0:8192;qY(k[b>>2]|0)|0;a=$Y(k[b+16>>2]|0,b+32|0,k[b+8>>2]|0,b+12|0,k[b>>2]|0)|0;k[b+4>>2]=a;a=k[b+20>>2]|0;if(k[b+4>>2]|0){UDa(a);a=k[b+20>>2]|0;YDa(a,CY(k[b+4>>2]|0)|0);k[b+24>>2]=2;a=k[b+24>>2]|0;r=b;return a|0}else{XDa(a,b+32|0,k[b+12>>2]|0);k[b+24>>2]=1;a=k[b+24>>2]|0;r=b;return a|0}return 0}function CY(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;if((k[b>>2]|0)==-2)k[b+4>>2]=361952;else{a=eZ(k[b>>2]|0)|0;k[b+4>>2]=a}r=b;return k[b+4>>2]|0}function DY(a){a=a|0;var b=0;b=r;r=r+8256|0;k[b+44>>2]=a;a=Rta(k[b+44>>2]|0,361972,1)|0;k[b+40>>2]=a;k[b+16>>2]=16;a=~~+mHa(k[b+44>>2]|0,2,8192.0)>>>0;k[b+8>>2]=a;k[b>>2]=(k[b+40>>2]|0)+8;qY(k[b>>2]|0)|0;k[b+8>>2]=(k[b+8>>2]|0)>>>0<8192?k[b+8>>2]|0:8192;a=aZ(k[b+40>>2]|0,b+56|0,k[b+8>>2]|0,b+12|0,b+24|0,b+16|0,k[b>>2]|0)|0;k[b+4>>2]=a;a=k[b+44>>2]|0;if(!(k[b+4>>2]|0)){XDa(a,b+56|0,k[b+12>>2]|0);a=k[b+44>>2]|0;k[b+52>>2]=k[b+24+4>>2];YDa(a,hpb(b+52|0)|0);a=k[b+44>>2]|0;VDa(a,+((jpb(j[b+24+2>>1]|0)|0)&65535));k[b+48>>2]=3;a=k[b+48>>2]|0;r=b;return a|0}else{UDa(a);a=k[b+44>>2]|0;YDa(a,CY(k[b+4>>2]|0)|0);k[b+48>>2]=2;a=k[b+48>>2]|0;r=b;return a|0}return 0}function EY(a){a=a|0;var b=0;b=r;r=r+32|0;k[b+24>>2]=a;a=Rta(k[b+24>>2]|0,361884,1)|0;k[b+20>>2]=a;k[b+16>>2]=(k[b+20>>2]|0)+8;k[b+8>>2]=0;a=fHa(k[b+24>>2]|0,2,b+12|0)|0;k[b>>2]=a;qY(k[b+16>>2]|0)|0;a=ZY(k[b+20>>2]|0,k[b>>2]|0,k[b+12>>2]|0,b+8|0,k[b+16>>2]|0)|0;k[b+4>>2]=a;a=k[b+24>>2]|0;if(k[b+4>>2]|0){UDa(a);a=k[b+24>>2]|0;YDa(a,CY(k[b+4>>2]|0)|0);k[b+28>>2]=2;a=k[b+28>>2]|0;r=b;return a|0}else{VDa(a,+((k[b+8>>2]|0)>>>0));k[b+28>>2]=1;a=k[b+28>>2]|0;r=b;return a|0}return 0}function FY(a){a=a|0;var b=0;b=r;r=r+64|0;k[b+48>>2]=a;a=Rta(k[b+48>>2]|0,361972,1)|0;k[b+44>>2]=a;k[b+36>>2]=0;a=fHa(k[b+48>>2]|0,2,b+40|0)|0;k[b+32>>2]=a;a=fHa(k[b+48>>2]|0,3,0)|0;k[b+28>>2]=a;a=~~+lHa(k[b+48>>2]|0,4)&65535;j[b+56>>1]=a;k[b+24>>2]=(k[b+44>>2]|0)+8;k[b+8>>2]=0;k[b+8+4>>2]=0;k[b+8+8>>2]=0;k[b+8+12>>2]=0;if(!(gpb(k[b+28>>2]|0,b+8+4|0)|0))$Ga(k[b+48>>2]|0,3,362001)|0;j[b+8>>1]=2;a=Vob(j[b+56>>1]|0)|0;j[b+8+2>>1]=a;qY(k[b+24>>2]|0)|0;a=_Y(k[b+44>>2]|0,k[b+32>>2]|0,k[b+40>>2]|0,b+36|0,b+8|0,16,k[b+24>>2]|0)|0;k[b>>2]=a;a=k[b+48>>2]|0;if(k[b>>2]|0){UDa(a);a=k[b+48>>2]|0;YDa(a,CY(k[b>>2]|0)|0);k[b+52>>2]=2;a=k[b+52>>2]|0;r=b;return a|0}else{VDa(a,+((k[b+36>>2]|0)>>>0));k[b+52>>2]=1;a=k[b+52>>2]|0;r=b;return a|0}return 0}function GY(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+4>>2]=a;a=Tta(k[b+4>>2]|0,361899,1)|0;k[b>>2]=a;a=~~+lHa(k[b+4>>2]|0,2);k[k[b>>2]>>2]=a;r=b;return 0}function HY(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+4>>2]=a;a=Tta(k[b+4>>2]|0,361899,1)|0;k[b>>2]=a;a=Cua(k[b+4>>2]|0,20880,k[b>>2]|0)|0;r=b;return a|0}function IY(a){a=a|0;var b=0.0,c=0;c=r;r=r+32|0;k[c+20>>2]=a;a=Tta(k[c+20>>2]|0,361899,1)|0;k[c+16>>2]=a;k[c+12>>2]=(k[c+16>>2]|0)+8;a=fHa(k[c+20>>2]|0,2,0)|0;k[c+8>>2]=a;a=Wmb(k[c+8>>2]|0,504280)|0;k[c+4>>2]=a;a=k[c+20>>2]|0;if(k[c+4>>2]|0)b=+lHa(a,3);else b=+mHa(a,3,0.0);j[c+28>>1]=~~b;a=yua(k[c+16>>2]|0,k[c+8>>2]|0,j[c+28>>1]|0,k[c+12>>2]|0)|0;k[c>>2]=a;if(k[c>>2]|0){UDa(k[c+20>>2]|0);YDa(k[c+20>>2]|0,k[c>>2]|0);k[c+24>>2]=2;a=k[c+24>>2]|0;r=c;return a|0}a=k[c+20>>2]|0;if(k[c+4>>2]|0)Vta(a,361884,1);else Vta(a,361972,1);VDa(k[c+20>>2]|0,1.0);k[c+24>>2]=1;a=k[c+24>>2]|0;r=c;return a|0}function JY(a){a=a|0;var b=0;b=r;r=r+32|0;k[b+12>>2]=a;a=Rta(k[b+12>>2]|0,361972,1)|0;k[b+8>>2]=a;a=fHa(k[b+12>>2]|0,2,0)|0;k[b+4>>2]=a;a=~~+lHa(k[b+12>>2]|0,3)&65535;j[b+20>>1]=a;a=zua(k[b+8>>2]|0,k[b+4>>2]|0,j[b+20>>1]|0)|0;k[b>>2]=a;a=k[b+12>>2]|0;if(k[b>>2]|0){UDa(a);YDa(k[b+12>>2]|0,k[b>>2]|0);k[b+16>>2]=2;a=k[b+16>>2]|0;r=b;return a|0}else{VDa(a,1.0);k[b+16>>2]=1;a=k[b+16>>2]|0;r=b;return a|0}return 0}function KY(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+4>>2]=a;a=Tta(k[b+4>>2]|0,361899,1)|0;k[b>>2]=a;a=uY(k[b+4>>2]|0,(k[b>>2]|0)+8|0)|0;r=b;return a|0}function LY(a){a=a|0;var b=0;b=r;r=r+32|0;k[b+12>>2]=a;a=xua(b+8|0,2)|0;k[b+4>>2]=a;a=k[b+12>>2]|0;if(k[b+4>>2]|0){UDa(a);YDa(k[b+12>>2]|0,k[b+4>>2]|0);k[b+16>>2]=2;a=k[b+16>>2]|0;r=b;return a|0}else{a=AEa(a,32)|0;k[b>>2]=a;Vta(k[b+12>>2]|0,361972,-1);UY(b+8|0);k[k[b>>2]>>2]=k[b+8>>2];nY((k[b>>2]|0)+8|0,-1.0,-1.0);k[b+16>>2]=1;a=k[b+16>>2]|0;r=b;return a|0}return 0}function MY(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0.0;d=r;r=r+336|0;k[d+316>>2]=a;k[d+312>>2]=b;k[d+308>>2]=c;if(+p[k[d+308>>2]>>3]==0.0){k[d+320>>2]=-1;c=k[d+320>>2]|0;r=d;return c|0}do{k[d+40>>2]=0;k[d+44>>2]=0;if(k[d+312>>2]&1|0){k[d+16>>2]=d+176;k[d+20>>2]=32;while(1){if(!(k[d+20>>2]|0))break;c=k[d+16>>2]|0;k[d+16>>2]=c+4;k[c>>2]=0;k[d+20>>2]=(k[d+20>>2]|0)+-1}c=d+176+((((k[k[d+316>>2]>>2]|0)>>>0)/32|0)<<2)|0;k[c>>2]=k[c>>2]|1<<(((k[k[d+316>>2]>>2]|0)>>>0)%32|0);k[d+44>>2]=d+176}if(k[d+312>>2]&2|0){k[d+8>>2]=d+48;k[d+12>>2]=32;while(1){if(!(k[d+12>>2]|0))break;c=k[d+8>>2]|0;k[d+8>>2]=c+4;k[c>>2]=0;k[d+12>>2]=(k[d+12>>2]|0)+-1}c=d+48+((((k[k[d+316>>2]>>2]|0)>>>0)/32|0)<<2)|0;k[c>>2]=k[c>>2]|1<<(((k[k[d+316>>2]>>2]|0)>>>0)%32|0);k[d+40>>2]=d+48}e=+pY(k[d+308>>2]|0);p[d>>3]=e;k[d+24>>2]=0;if(+p[d>>3]>=0.0){k[d+32>>2]=~~+p[d>>3];k[d+32+4>>2]=~~((+p[d>>3]-+(k[d+32>>2]|0))*1.0e6);k[d+24>>2]=d+32}c=tpb((k[k[d+316>>2]>>2]|0)+1|0,k[d+44>>2]|0,k[d+40>>2]|0,0,k[d+24>>2]|0)|0;k[d+304>>2]=c;if((k[d+304>>2]|0)!=-1)break;c=_lb()|0}while((k[c>>2]|0)==4);if((k[d+304>>2]|0)==-1){c=_lb()|0;k[d+320>>2]=k[c>>2];c=k[d+320>>2]|0;r=d;return c|0}if(!(k[d+304>>2]|0)){k[d+320>>2]=-1;c=k[d+320>>2]|0;r=d;return c|0}if((k[d+312>>2]|0)==3)if(k[d+176+((((k[k[d+316>>2]>>2]|0)>>>0)/32|0)<<2)>>2]&1<<(((k[k[d+316>>2]>>2]|0)>>>0)%32|0)|0){k[d+320>>2]=-2;c=k[d+320>>2]|0;r=d;return c|0}k[d+320>>2]=0;c=k[d+320>>2]|0;r=d;return c|0}function NY(){Dg(13,1)|0;return 1}function OY(){return 1}function PY(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;if((k[k[b>>2]>>2]|0)==-1){r=b;return}QY(k[b>>2]|0);inb(k[k[b>>2]>>2]|0)|0;k[k[b>>2]>>2]=-1;r=b;return}function QY(a){a=a|0;var b=0;b=r;r=r+32|0;k[b+16>>2]=a;a=k[k[b+16>>2]>>2]|0;k[b>>2]=0;a=lnb(a,3,b)|0;k[b+12>>2]=a;k[b+12>>2]=k[b+12>>2]&-2049;a=k[k[b+16>>2]>>2]|0;k[b+8>>2]=k[b+12>>2];lnb(a,4,b+8|0)|0;r=b;return}function RY(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0.0;f=r;r=r+48|0;k[f+36>>2]=a;k[f+32>>2]=b;k[f+28>>2]=c;k[f+24>>2]=d;k[f+20>>2]=e;while(1){g=+pY(k[f+20>>2]|0);p[f>>3]=g;k[f+8>>2]=~~+p[f>>3];k[f+8+4>>2]=~~((+p[f>>3]-+(k[f+8>>2]|0))*1.0e6);c=tpb(k[f+36>>2]|0,k[f+32>>2]|0,k[f+28>>2]|0,k[f+24>>2]|0,+p[f>>3]>=0.0?f+8|0:0)|0;k[f+16>>2]=c;if((k[f+16>>2]|0)>=0){d=4;break}c=_lb()|0;if((k[c>>2]|0)!=4){d=4;break}}if((d|0)==4){r=f;return k[f+16>>2]|0}return 0}function SY(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+32|0;k[e+12>>2]=a;k[e+8>>2]=b;k[e+4>>2]=c;k[e>>2]=d;c=Kob(k[e+8>>2]|0,k[e+4>>2]|0,k[e>>2]|0)|0;k[k[e+12>>2]>>2]=c;if((k[k[e+12>>2]>>2]|0)!=-1){k[e+16>>2]=0;c=k[e+16>>2]|0;r=e;return c|0}else{c=_lb()|0;k[e+16>>2]=k[c>>2];c=k[e+16>>2]|0;r=e;return c|0}return 0}function TY(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;k[d+12>>2]=a;k[d+8>>2]=b;k[d+4>>2]=c;k[d>>2]=0;QY(k[d+12>>2]|0);if((Yob(k[k[d+12>>2]>>2]|0,k[d+8>>2]|0,k[d+4>>2]|0)|0)<0){a=_lb()|0;k[d>>2]=k[a>>2]}UY(k[d+12>>2]|0);r=d;return k[d>>2]|0}function UY(a){a=a|0;var b=0;b=r;r=r+32|0;k[b+16>>2]=a;a=k[k[b+16>>2]>>2]|0;k[b>>2]=0;a=lnb(a,3,b)|0;k[b+12>>2]=a;k[b+12>>2]=k[b+12>>2]|2048;a=k[k[b+16>>2]>>2]|0;k[b+8>>2]=k[b+12>>2];lnb(a,4,b+8|0)|0;r=b;return}function VY(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+8>>2]=a;k[c+4>>2]=b;k[c>>2]=0;QY(k[c+8>>2]|0);if(ipb(k[k[c+8>>2]>>2]|0,k[c+4>>2]|0)|0){a=_lb()|0;k[c>>2]=k[a>>2]}UY(k[c+8>>2]|0);r=c;return k[c>>2]|0}function WY(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+4>>2]=a;k[c>>2]=b;QY(k[c+4>>2]|0);npb(k[k[c+4>>2]>>2]|0,k[c>>2]|0)|0;UY(k[c+4>>2]|0);r=c;return}function XY(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=r;r=r+32|0;k[f+16>>2]=a;k[f+12>>2]=b;k[f+8>>2]=c;k[f+4>>2]=d;do if((k[k[f+16>>2]>>2]|0)==-1)k[f+20>>2]=-2;else{do{if(!(Lob(k[k[f+16>>2]>>2]|0,k[f+12>>2]|0,k[f+8>>2]|0)|0)){e=4;break}d=_lb()|0;d=k[d>>2]|0;k[f>>2]=d}while((d|0)==4);if((e|0)==4){k[f+20>>2]=0;break}if((k[f>>2]|0)!=115&(k[f>>2]|0)!=11){k[f+20>>2]=k[f>>2];break}if(+p[k[f+4>>2]>>3]==0.0){k[f+20>>2]=-1;break}e=MY(k[f+16>>2]|0,3,k[f+4>>2]|0)|0;k[f>>2]=e;if((k[f>>2]|0)!=-2){k[f+20>>2]=k[f>>2];break}if(!(kpb(k[k[f+16>>2]>>2]|0,f,0,0)|0)){k[f+20>>2]=0;break}else{e=_lb()|0;k[f+20>>2]=k[e>>2];break}}while(0);r=f;return k[f+20>>2]|0}function YY(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=r;r=r+48|0;k[f+24>>2]=a;k[f+20>>2]=b;k[f+16>>2]=c;k[f+12>>2]=d;k[f+8>>2]=e;k[f+4>>2]=16;if((k[k[f+24>>2]>>2]|0)==-1){k[f+28>>2]=-2;e=k[f+28>>2]|0;r=f;return e|0}if(!(k[f+16>>2]|0))k[f+16>>2]=f+32;if(!(k[f+12>>2]|0))k[f+12>>2]=f+4;while(1){e=_ob(k[k[f+24>>2]>>2]|0,k[f+16>>2]|0,k[f+12>>2]|0)|0;k[k[f+20>>2]>>2]=e;if((e|0)!=-1){c=8;break}e=_lb()|0;k[f>>2]=k[e>>2];if((k[f>>2]|0)==4)continue;if((k[f>>2]|0)!=11&(k[f>>2]|0)!=103){c=11;break}e=MY(k[f+24>>2]|0,1,k[f+8>>2]|0)|0;k[f>>2]=e;if(e|0){c=13;break}}if((c|0)==8){k[f+28>>2]=0;e=k[f+28>>2]|0;r=f;return e|0}else if((c|0)==11){k[f+28>>2]=k[f>>2];e=k[f+28>>2]|0;r=f;return e|0}else if((c|0)==13){k[f+28>>2]=k[f>>2];e=k[f+28>>2]|0;r=f;return e|0}return 0}function ZY(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=r;r=r+32|0;k[f+24>>2]=a;k[f+20>>2]=b;k[f+16>>2]=c;k[f+12>>2]=d;k[f+8>>2]=e;k[k[f+12>>2]>>2]=0;if((k[k[f+24>>2]>>2]|0)==-1){k[f+28>>2]=-2;e=k[f+28>>2]|0;r=f;return e|0}while(1){e=Mob(k[k[f+24>>2]>>2]|0,k[f+20>>2]|0,k[f+16>>2]|0,0)|0;k[f>>2]=e;if((k[f>>2]|0)>0){c=4;break}e=_lb()|0;k[f+4>>2]=k[e>>2];if((k[f>>2]|0)==0?1:(k[f+4>>2]|0)==32){c=6;break}if((k[f+4>>2]|0)==4)continue;if((k[f+4>>2]|0)!=11){c=9;break}e=MY(k[f+24>>2]|0,2,k[f+8>>2]|0)|0;k[f+4>>2]=e;if(e|0){c=11;break}}if((c|0)==4){k[k[f+12>>2]>>2]=k[f>>2];k[f+28>>2]=0;e=k[f+28>>2]|0;r=f;return e|0}else if((c|0)==6){k[f+28>>2]=-2;e=k[f+28>>2]|0;r=f;return e|0}else if((c|0)==9){k[f+28>>2]=k[f+4>>2];e=k[f+28>>2]|0;r=f;return e|0}else if((c|0)==11){k[f+28>>2]=k[f+4>>2];e=k[f+28>>2]|0;r=f;return e|0}return 0}function _Y(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=r;r=r+48|0;k[h+32>>2]=a;k[h+28>>2]=b;k[h+24>>2]=c;k[h+20>>2]=d;k[h+16>>2]=e;k[h+12>>2]=f;k[h+8>>2]=g;k[k[h+20>>2]>>2]=0;if((k[k[h+32>>2]>>2]|0)==-1){k[h+36>>2]=-2;g=k[h+36>>2]|0;r=h;return g|0}while(1){g=Nob(k[k[h+32>>2]>>2]|0,k[h+28>>2]|0,k[h+24>>2]|0,0,k[h+16>>2]|0,k[h+12>>2]|0)|0;k[h>>2]=g;if((k[h>>2]|0)>0){e=4;break}g=_lb()|0;k[h+4>>2]=k[g>>2];if((k[h>>2]|0)==0?1:(k[h+4>>2]|0)==32){e=6;break}if((k[h+4>>2]|0)==4)continue;if((k[h+4>>2]|0)!=11){e=9;break}g=MY(k[h+32>>2]|0,2,k[h+8>>2]|0)|0;k[h+4>>2]=g;if(g|0){e=11;break}}if((e|0)==4){k[k[h+20>>2]>>2]=k[h>>2];k[h+36>>2]=0;g=k[h+36>>2]|0;r=h;return g|0}else if((e|0)==6){k[h+36>>2]=-2;g=k[h+36>>2]|0;r=h;return g|0}else if((e|0)==9){k[h+36>>2]=k[h+4>>2];g=k[h+36>>2]|0;r=h;return g|0}else if((e|0)==11){k[h+36>>2]=k[h+4>>2];g=k[h+36>>2]|0;r=h;return g|0}return 0}function $Y(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=r;r=r+32|0;k[f+24>>2]=a;k[f+20>>2]=b;k[f+16>>2]=c;k[f+12>>2]=d;k[f+8>>2]=e;k[k[f+12>>2]>>2]=0;if((k[k[f+24>>2]>>2]|0)==-1){k[f+28>>2]=-2;e=k[f+28>>2]|0;r=f;return e|0}while(1){e=kpb(k[k[f+24>>2]>>2]|0,k[f+20>>2]|0,k[f+16>>2]|0,0)|0;k[f>>2]=e;if((k[f>>2]|0)>0){c=4;break}e=_lb()|0;k[f+4>>2]=k[e>>2];if(!(k[f>>2]|0)){c=6;break}if((k[f+4>>2]|0)==4)continue;if((k[f+4>>2]|0)!=11){c=9;break}e=MY(k[f+24>>2]|0,1,k[f+8>>2]|0)|0;k[f+4>>2]=e;if(e|0){c=11;break}}if((c|0)==4){k[k[f+12>>2]>>2]=k[f>>2];k[f+28>>2]=0;e=k[f+28>>2]|0;r=f;return e|0}else if((c|0)==6){k[f+28>>2]=-2;e=k[f+28>>2]|0;r=f;return e|0}else if((c|0)==9){k[f+28>>2]=k[f+4>>2];e=k[f+28>>2]|0;r=f;return e|0}else if((c|0)==11){k[f+28>>2]=k[f+4>>2];e=k[f+28>>2]|0;r=f;return e|0}return 0}function aZ(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=r;r=r+48|0;k[h+32>>2]=a;k[h+28>>2]=b;k[h+24>>2]=c;k[h+20>>2]=d;k[h+16>>2]=e;k[h+12>>2]=f;k[h+8>>2]=g;k[k[h+20>>2]>>2]=0;if((k[k[h+32>>2]>>2]|0)==-1){k[h+36>>2]=-2;g=k[h+36>>2]|0;r=h;return g|0}while(1){g=Zob(k[k[h+32>>2]>>2]|0,k[h+28>>2]|0,k[h+24>>2]|0,0,k[h+16>>2]|0,k[h+12>>2]|0)|0;k[h>>2]=g;if((k[h>>2]|0)>0){e=4;break}g=_lb()|0;k[h+4>>2]=k[g>>2];if(!(k[h>>2]|0)){e=6;break}if((k[h+4>>2]|0)==4)continue;if((k[h+4>>2]|0)!=11){e=9;break}g=MY(k[h+32>>2]|0,1,k[h+8>>2]|0)|0;k[h+4>>2]=g;if(g|0){e=11;break}}if((e|0)==4){k[k[h+20>>2]>>2]=k[h>>2];k[h+36>>2]=0;g=k[h+36>>2]|0;r=h;return g|0}else if((e|0)==6){k[h+36>>2]=-2;g=k[h+36>>2]|0;r=h;return g|0}else if((e|0)==9){k[h+36>>2]=k[h+4>>2];g=k[h+36>>2]|0;r=h;return g|0}else if((e|0)==11){k[h+36>>2]=k[h+4>>2];g=k[h+36>>2]|0;r=h;return g|0}return 0}function bZ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;k[d+8>>2]=a;k[d+4>>2]=b;k[d>>2]=c;b=yd(k[d+8>>2]|0,k[d+4>>2]|0,2)|0;k[k[d>>2]>>2]=b;do if(k[k[d>>2]>>2]|0)k[d+12>>2]=0;else{b=bpb()|0;if(k[b>>2]|0){b=bpb()|0;k[d+12>>2]=k[b>>2];break}b=_lb()|0;if(k[b>>2]|0){b=_lb()|0;k[d+12>>2]=k[b>>2];break}else{k[d+12>>2]=-3;break}}while(0);r=d;return k[d+12>>2]|0}function cZ(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+4>>2]=a;k[c>>2]=b;b=Lf(k[c+4>>2]|0)|0;k[k[c>>2]>>2]=b;do if(k[k[c>>2]>>2]|0)k[c+8>>2]=0;else{b=bpb()|0;if(k[b>>2]|0){b=bpb()|0;k[c+8>>2]=k[b>>2];break}b=_lb()|0;if(k[b>>2]|0){b=_lb()|0;k[c+8>>2]=k[b>>2];break}else{k[c+8>>2]=-3;break}}while(0);r=c;return k[c+8>>2]|0}function dZ(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;a=k[b>>2]|0;do if((k[b>>2]|0)<=0){a=Bua(a)|0;k[b+4>>2]=a}else if((a|0)==1){k[b+4>>2]=362190;break}else{a=cpb(k[b>>2]|0)|0;k[b+4>>2]=a;break}while(0);r=b;return k[b+4>>2]|0}function eZ(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;a=k[b>>2]|0;a:do if((k[b>>2]|0)<=0){a=Bua(a)|0;k[b+4>>2]=a}else switch(a|0){case 98:{k[b+4>>2]=362205;break a}case 106:{k[b+4>>2]=362228;break a}case 13:{k[b+4>>2]=362246;break a}case 111:{k[b+4>>2]=362264;break a}case 103:{k[b+4>>2]=504041;break a}case 104:{k[b+4>>2]=504041;break a}case 110:{k[b+4>>2]=504121;break a}default:{a=_lb()|0;a=Pmb(k[a>>2]|0)|0;k[b+4>>2]=a;break a}}while(0);r=b;return k[b+4>>2]|0}function fZ(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+4>>2]=a;k[c>>2]=b;a=eZ(k[c>>2]|0)|0;r=c;return a|0}function gZ(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;if((k[b>>2]|0)>>>0>2113929216){a=0;r=b;return a|0}a=(k[b>>2]|0)+((k[b>>2]|0)/255|0)+16|0;r=b;return a|0}function hZ(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,m=0,n=0,p=0,q=0,s=0,t=0;t=0;s=r;r=r+2e3|0;k[s+688>>2]=a;k[s+696>>2]=b;k[s+704>>2]=c;k[s+712>>2]=d;k[s+720>>2]=e;k[s+728>>2]=f;k[s+1256>>2]=g;k[s+1592>>2]=j;k[s+1600>>2]=m;k[s+1608>>2]=n;k[s+1624>>2]=p;k[s+1640>>2]=q;k[s+1920>>2]=t;k[s+1928>>2]=h;k[s+1952>>2]=0;k[s+1956>>2]=0;P2(s);j=k[s+1592>>2]|0;m=k[s+1600>>2]|0;n=k[s+1608>>2]|0;p=k[s+1624>>2]|0;q=k[s+1640>>2]|0;c=k[s+1920>>2]|0;h=k[s+1928>>2]|0;J=k[s+1952>>2]|0;C=k[s+1956>>2]|0;K=+o[s+1956>>2];k[s+1952>>2]=0;k[s+1956>>2]=0;if((J|0)==6)return C|0;if(h)if(1){g=k[s+4>>2]|0;f=1;if(f)if(j){t=k[s>>2]|0;k[s+500>>2]=m;k[s+496>>2]=n;k[s+492>>2]=p;k[s+488>>2]=q;k[s+484>>2]=g;k[s+480>>2]=1;k[s+476>>2]=2;k[s+472>>2]=0;k[s+468>>2]=0;k[s+464>>2]=t;k[s+460>>2]=k[s+500>>2];k[s+456>>2]=k[s+496>>2];k[s+444>>2]=(k[s+456>>2]|0)+(0-(k[(k[s+460>>2]|0)+16400>>2]|0));k[s+440>>2]=k[(k[s+460>>2]|0)+16392>>2];k[s+436>>2]=(k[s+440>>2]|0)+(k[(k[s+460>>2]|0)+16400>>2]|0);k[s+432>>2]=(k[s+436>>2]|0)-(k[s+496>>2]|0);k[s+428>>2]=k[s+496>>2];k[s+424>>2]=(k[s+456>>2]|0)+(k[s+488>>2]|0);k[s+420>>2]=(k[s+424>>2]|0)+-12;k[s+416>>2]=(k[s+424>>2]|0)+-5;k[s+412>>2]=k[s+492>>2];k[s+408>>2]=(k[s+412>>2]|0)+(k[s+484>>2]|0);k[s+400>>2]=0;a:do if((k[s+488>>2]|0)>>>0>2113929216)k[s+504>>2]=0;else{switch(k[s+472>>2]|0){case 2:{k[s+452>>2]=(k[s+496>>2]|0)+(0-(k[(k[s+460>>2]|0)+16384>>2]|0));k[s+448>>2]=k[s+496>>2];break}case 1:{k[s+452>>2]=(k[s+496>>2]|0)+(0-(k[(k[s+460>>2]|0)+16384>>2]|0));k[s+448>>2]=(k[s+496>>2]|0)+(0-(k[(k[s+460>>2]|0)+16400>>2]|0));break}default:{k[s+452>>2]=k[s+496>>2];k[s+448>>2]=k[s+496>>2]}}if((k[s+476>>2]|0)==2?(k[s+488>>2]|0)>=65547:0){k[s+504>>2]=0;break}b:do if((k[s+488>>2]|0)>=13){jZ(k[s+456>>2]|0,k[s+500>>2]|0,k[s+476>>2]|0,k[s+452>>2]|0);k[s+456>>2]=(k[s+456>>2]|0)+1;t=kZ(k[s+456>>2]|0,k[s+476>>2]|0)|0;k[s+404>>2]=t;c:while(1){k[s+388>>2]=k[s+456>>2];k[s+384>>2]=1;k[s+380>>2]=k[s+464>>2]<<6;while(1){k[s+376>>2]=k[s+404>>2];k[s+456>>2]=k[s+388>>2];k[s+388>>2]=(k[s+388>>2]|0)+(k[s+384>>2]|0);t=k[s+380>>2]|0;k[s+380>>2]=t+1;k[s+384>>2]=t>>>6;if((k[s+388>>2]|0)>>>0>(k[s+420>>2]|0)>>>0)break b;t=tZ(k[s+376>>2]|0,k[s+500>>2]|0,k[s+476>>2]|0,k[s+452>>2]|0)|0;k[s+396>>2]=t;do if((k[s+472>>2]|0)==2)if((k[s+396>>2]|0)>>>0<(k[s+496>>2]|0)>>>0){k[s+400>>2]=k[s+432>>2];k[s+448>>2]=k[s+440>>2];break}else{k[s+400>>2]=0;k[s+448>>2]=k[s+496>>2];break}while(0);t=kZ(k[s+388>>2]|0,k[s+476>>2]|0)|0;k[s+404>>2]=t;sZ(k[s+456>>2]|0,k[s+376>>2]|0,k[s+500>>2]|0,k[s+476>>2]|0,k[s+452>>2]|0);if((k[s+468>>2]|0)==1)if((k[s+396>>2]|0)>>>0<(k[s+444>>2]|0)>>>0)continue;if((k[s+476>>2]|0)!=2)if(((k[s+396>>2]|0)+65535|0)>>>0<(k[s+456>>2]|0)>>>0)continue;t=oZ((k[s+396>>2]|0)+(k[s+400>>2]|0)|0)|0;if((t|0)==(oZ(k[s+456>>2]|0)|0))break}while(1){if((k[s+456>>2]|0)>>>0>(k[s+428>>2]|0)>>>0)if(((k[s+396>>2]|0)+(k[s+400>>2]|0)|0)>>>0>(k[s+448>>2]|0)>>>0)f=(l[(k[s+456>>2]|0)+-1>>0]|0|0)==(l[(k[s+396>>2]|0)+((k[s+400>>2]|0)-1)>>0]|0|0);else f=0;else f=0;g=k[s+456>>2]|0;if(!f)break;k[s+456>>2]=g+-1;k[s+396>>2]=(k[s+396>>2]|0)+-1}k[s+372>>2]=g-(k[s+428>>2]|0);t=k[s+412>>2]|0;k[s+412>>2]=t+1;k[s+392>>2]=t;if(k[s+480>>2]|0)if(((k[s+412>>2]|0)+(k[s+372>>2]|0)+8+(((k[s+372>>2]|0)>>>0)/255|0)|0)>>>0>(k[s+408>>2]|0)>>>0){c=186;break}g=k[s+372>>2]|0;if((k[s+372>>2]|0)>>>0>=15){k[s+368>>2]=g-15;i[k[s+392>>2]>>0]=-16;while(1){if((k[s+368>>2]|0)<255)break;t=k[s+412>>2]|0;k[s+412>>2]=t+1;i[t>>0]=-1;k[s+368>>2]=(k[s+368>>2]|0)-255}q=k[s+368>>2]&255;t=k[s+412>>2]|0;k[s+412>>2]=t+1;i[t>>0]=q}else i[k[s+392>>2]>>0]=g<<4;uZ(k[s+412>>2]|0,k[s+428>>2]|0,(k[s+412>>2]|0)+(k[s+372>>2]|0)|0);k[s+412>>2]=(k[s+412>>2]|0)+(k[s+372>>2]|0);while(1){wZ(k[s+412>>2]|0,(k[s+456>>2]|0)-(k[s+396>>2]|0)&65535);k[s+412>>2]=(k[s+412>>2]|0)+2;if((k[s+472>>2]|0)==2)if((k[s+448>>2]|0)==(k[s+440>>2]|0)){k[s+396>>2]=(k[s+396>>2]|0)+(k[s+400>>2]|0);k[s+360>>2]=(k[s+456>>2]|0)+((k[s+436>>2]|0)-(k[s+396>>2]|0));if((k[s+360>>2]|0)>>>0>(k[s+416>>2]|0)>>>0)k[s+360>>2]=k[s+416>>2];t=yZ((k[s+456>>2]|0)+4|0,(k[s+396>>2]|0)+4|0,k[s+360>>2]|0)|0;k[s+364>>2]=t;k[s+456>>2]=(k[s+456>>2]|0)+(4+(k[s+364>>2]|0));if((k[s+456>>2]|0)==(k[s+360>>2]|0)){t=yZ(k[s+456>>2]|0,k[s+496>>2]|0,k[s+416>>2]|0)|0;k[s+356>>2]=t;k[s+364>>2]=(k[s+364>>2]|0)+(k[s+356>>2]|0);k[s+456>>2]=(k[s+456>>2]|0)+(k[s+356>>2]|0)}}else c=200;else c=200;if((c|0)==200){c=0;t=yZ((k[s+456>>2]|0)+4|0,(k[s+396>>2]|0)+4|0,k[s+416>>2]|0)|0;k[s+364>>2]=t;k[s+456>>2]=(k[s+456>>2]|0)+(4+(k[s+364>>2]|0))}if(k[s+480>>2]|0)if(((k[s+412>>2]|0)+6+((k[s+364>>2]|0)>>>8)|0)>>>0>(k[s+408>>2]|0)>>>0){c=203;break c}if((k[s+364>>2]|0)>>>0>=15){t=k[s+392>>2]|0;i[t>>0]=(l[t>>0]|0)+15;k[s+364>>2]=(k[s+364>>2]|0)-15;while(1){if((k[s+364>>2]|0)>>>0<510)break;t=k[s+412>>2]|0;k[s+412>>2]=t+1;i[t>>0]=-1;t=k[s+412>>2]|0;k[s+412>>2]=t+1;i[t>>0]=-1;k[s+364>>2]=(k[s+364>>2]|0)-510}if((k[s+364>>2]|0)>>>0>=255){k[s+364>>2]=(k[s+364>>2]|0)-255;t=k[s+412>>2]|0;k[s+412>>2]=t+1;i[t>>0]=-1}q=k[s+364>>2]&255;t=k[s+412>>2]|0;k[s+412>>2]=t+1;i[t>>0]=q}else{t=k[s+392>>2]|0;i[t>>0]=(l[t>>0]|0)+(k[s+364>>2]&255)}k[s+428>>2]=k[s+456>>2];if((k[s+456>>2]|0)>>>0>(k[s+420>>2]|0)>>>0)break b;jZ((k[s+456>>2]|0)+-2|0,k[s+500>>2]|0,k[s+476>>2]|0,k[s+452>>2]|0);t=BZ(k[s+456>>2]|0,k[s+500>>2]|0,k[s+476>>2]|0,k[s+452>>2]|0)|0;k[s+396>>2]=t;do if((k[s+472>>2]|0)==2)if((k[s+396>>2]|0)>>>0<(k[s+496>>2]|0)>>>0){k[s+400>>2]=k[s+432>>2];k[s+448>>2]=k[s+440>>2];break}else{k[s+400>>2]=0;k[s+448>>2]=k[s+496>>2];break}while(0);jZ(k[s+456>>2]|0,k[s+500>>2]|0,k[s+476>>2]|0,k[s+452>>2]|0);if((k[s+468>>2]|0)==1)if((k[s+396>>2]|0)>>>0<(k[s+444>>2]|0)>>>0)break;if(((k[s+396>>2]|0)+65535|0)>>>0<(k[s+456>>2]|0)>>>0)break;t=oZ((k[s+396>>2]|0)+(k[s+400>>2]|0)|0)|0;if((t|0)!=(oZ(k[s+456>>2]|0)|0))break;t=k[s+412>>2]|0;k[s+412>>2]=t+1;k[s+392>>2]=t;i[k[s+392>>2]>>0]=0}t=(k[s+456>>2]|0)+1|0;k[s+456>>2]=t;t=kZ(t,k[s+476>>2]|0)|0;k[s+404>>2]=t}if((c|0)==186){k[s+504>>2]=0;break a}else if((c|0)==203){k[s+504>>2]=0;break a}}while(0);k[s+352>>2]=(k[s+424>>2]|0)-(k[s+428>>2]|0);if(k[s+480>>2]|0)if(((k[s+412>>2]|0)-(k[s+492>>2]|0)+(k[s+352>>2]|0)+1+((((k[s+352>>2]|0)+255-15|0)>>>0)/255|0)|0)>>>0>(k[s+484>>2]|0)>>>0){k[s+504>>2]=0;break}g=k[s+352>>2]|0;if((k[s+352>>2]|0)>>>0>=15){k[s+348>>2]=g-15;t=k[s+412>>2]|0;k[s+412>>2]=t+1;i[t>>0]=-16;while(1){if((k[s+348>>2]|0)>>>0<255)break;t=k[s+412>>2]|0;k[s+412>>2]=t+1;i[t>>0]=-1;k[s+348>>2]=(k[s+348>>2]|0)-255}q=k[s+348>>2]&255;t=k[s+412>>2]|0;k[s+412>>2]=t+1;i[t>>0]=q}else{t=k[s+412>>2]|0;k[s+412>>2]=t+1;i[t>>0]=g<<4}ABb(k[s+412>>2]|0,k[s+428>>2]|0,k[s+352>>2]|0)|0;k[s+412>>2]=(k[s+412>>2]|0)+(k[s+352>>2]|0);k[s+504>>2]=(k[s+412>>2]|0)-(k[s+492>>2]|0)}while(0);k[s+24>>2]=k[s+504>>2];t=k[s+24>>2]|0;r=s;return t|0}else f=1;if(f)if(1){j=(mZ()|0)!=0;t=k[s>>2]|0;k[s+660>>2]=m;k[s+656>>2]=n;k[s+652>>2]=p;k[s+648>>2]=q;k[s+644>>2]=g;k[s+640>>2]=1;k[s+636>>2]=j?1:0;k[s+632>>2]=0;k[s+628>>2]=0;k[s+624>>2]=t;k[s+620>>2]=k[s+660>>2];k[s+616>>2]=k[s+656>>2];k[s+604>>2]=(k[s+616>>2]|0)+(0-(k[(k[s+620>>2]|0)+16400>>2]|0));k[s+600>>2]=k[(k[s+620>>2]|0)+16392>>2];k[s+596>>2]=(k[s+600>>2]|0)+(k[(k[s+620>>2]|0)+16400>>2]|0);k[s+592>>2]=(k[s+596>>2]|0)-(k[s+656>>2]|0);k[s+588>>2]=k[s+656>>2];k[s+584>>2]=(k[s+616>>2]|0)+(k[s+648>>2]|0);k[s+580>>2]=(k[s+584>>2]|0)+-12;k[s+576>>2]=(k[s+584>>2]|0)+-5;k[s+572>>2]=k[s+652>>2];k[s+568>>2]=(k[s+572>>2]|0)+(k[s+644>>2]|0);k[s+560>>2]=0;d:do if((k[s+648>>2]|0)>>>0>2113929216)k[s+664>>2]=0;else{switch(k[s+632>>2]|0){case 2:{k[s+612>>2]=(k[s+656>>2]|0)+(0-(k[(k[s+620>>2]|0)+16384>>2]|0));k[s+608>>2]=k[s+656>>2];break}case 1:{k[s+612>>2]=(k[s+656>>2]|0)+(0-(k[(k[s+620>>2]|0)+16384>>2]|0));k[s+608>>2]=(k[s+656>>2]|0)+(0-(k[(k[s+620>>2]|0)+16400>>2]|0));break}default:{k[s+612>>2]=k[s+656>>2];k[s+608>>2]=k[s+656>>2]}}if((k[s+636>>2]|0)==2?(k[s+648>>2]|0)>=65547:0){k[s+664>>2]=0;break}e:do if((k[s+648>>2]|0)>=13){jZ(k[s+616>>2]|0,k[s+660>>2]|0,k[s+636>>2]|0,k[s+612>>2]|0);k[s+616>>2]=(k[s+616>>2]|0)+1;t=kZ(k[s+616>>2]|0,k[s+636>>2]|0)|0;k[s+564>>2]=t;f:while(1){k[s+548>>2]=k[s+616>>2];k[s+544>>2]=1;k[s+540>>2]=k[s+624>>2]<<6;while(1){k[s+536>>2]=k[s+564>>2];k[s+616>>2]=k[s+548>>2];k[s+548>>2]=(k[s+548>>2]|0)+(k[s+544>>2]|0);t=k[s+540>>2]|0;k[s+540>>2]=t+1;k[s+544>>2]=t>>>6;if((k[s+548>>2]|0)>>>0>(k[s+580>>2]|0)>>>0)break e;t=tZ(k[s+536>>2]|0,k[s+660>>2]|0,k[s+636>>2]|0,k[s+612>>2]|0)|0;k[s+556>>2]=t;do if((k[s+632>>2]|0)==2)if((k[s+556>>2]|0)>>>0<(k[s+656>>2]|0)>>>0){k[s+560>>2]=k[s+592>>2];k[s+608>>2]=k[s+600>>2];break}else{k[s+560>>2]=0;k[s+608>>2]=k[s+656>>2];break}while(0);t=kZ(k[s+548>>2]|0,k[s+636>>2]|0)|0;k[s+564>>2]=t;sZ(k[s+616>>2]|0,k[s+536>>2]|0,k[s+660>>2]|0,k[s+636>>2]|0,k[s+612>>2]|0);if((k[s+628>>2]|0)==1)if((k[s+556>>2]|0)>>>0<(k[s+604>>2]|0)>>>0)continue;if((k[s+636>>2]|0)!=2)if(((k[s+556>>2]|0)+65535|0)>>>0<(k[s+616>>2]|0)>>>0)continue;t=oZ((k[s+556>>2]|0)+(k[s+560>>2]|0)|0)|0;if((t|0)==(oZ(k[s+616>>2]|0)|0))break}while(1){if((k[s+616>>2]|0)>>>0>(k[s+588>>2]|0)>>>0)if(((k[s+556>>2]|0)+(k[s+560>>2]|0)|0)>>>0>(k[s+608>>2]|0)>>>0)f=(l[(k[s+616>>2]|0)+-1>>0]|0|0)==(l[(k[s+556>>2]|0)+((k[s+560>>2]|0)-1)>>0]|0|0);else f=0;else f=0;g=k[s+616>>2]|0;if(!f)break;k[s+616>>2]=g+-1;k[s+556>>2]=(k[s+556>>2]|0)+-1}k[s+532>>2]=g-(k[s+588>>2]|0);t=k[s+572>>2]|0;k[s+572>>2]=t+1;k[s+552>>2]=t;if(k[s+640>>2]|0)if(((k[s+572>>2]|0)+(k[s+532>>2]|0)+8+(((k[s+532>>2]|0)>>>0)/255|0)|0)>>>0>(k[s+568>>2]|0)>>>0){c=262;break}g=k[s+532>>2]|0;if((k[s+532>>2]|0)>>>0>=15){k[s+528>>2]=g-15;i[k[s+552>>2]>>0]=-16;while(1){if((k[s+528>>2]|0)<255)break;t=k[s+572>>2]|0;k[s+572>>2]=t+1;i[t>>0]=-1;k[s+528>>2]=(k[s+528>>2]|0)-255}q=k[s+528>>2]&255;t=k[s+572>>2]|0;k[s+572>>2]=t+1;i[t>>0]=q}else i[k[s+552>>2]>>0]=g<<4;uZ(k[s+572>>2]|0,k[s+588>>2]|0,(k[s+572>>2]|0)+(k[s+532>>2]|0)|0);k[s+572>>2]=(k[s+572>>2]|0)+(k[s+532>>2]|0);while(1){wZ(k[s+572>>2]|0,(k[s+616>>2]|0)-(k[s+556>>2]|0)&65535);k[s+572>>2]=(k[s+572>>2]|0)+2;if((k[s+632>>2]|0)==2)if((k[s+608>>2]|0)==(k[s+600>>2]|0)){k[s+556>>2]=(k[s+556>>2]|0)+(k[s+560>>2]|0);k[s+520>>2]=(k[s+616>>2]|0)+((k[s+596>>2]|0)-(k[s+556>>2]|0));if((k[s+520>>2]|0)>>>0>(k[s+576>>2]|0)>>>0)k[s+520>>2]=k[s+576>>2];t=yZ((k[s+616>>2]|0)+4|0,(k[s+556>>2]|0)+4|0,k[s+520>>2]|0)|0;k[s+524>>2]=t;k[s+616>>2]=(k[s+616>>2]|0)+(4+(k[s+524>>2]|0));if((k[s+616>>2]|0)==(k[s+520>>2]|0)){t=yZ(k[s+616>>2]|0,k[s+656>>2]|0,k[s+576>>2]|0)|0;k[s+516>>2]=t;k[s+524>>2]=(k[s+524>>2]|0)+(k[s+516>>2]|0);k[s+616>>2]=(k[s+616>>2]|0)+(k[s+516>>2]|0)}}else c=276;else c=276;if((c|0)==276){c=0;t=yZ((k[s+616>>2]|0)+4|0,(k[s+556>>2]|0)+4|0,k[s+576>>2]|0)|0;k[s+524>>2]=t;k[s+616>>2]=(k[s+616>>2]|0)+(4+(k[s+524>>2]|0))}if(k[s+640>>2]|0)if(((k[s+572>>2]|0)+6+((k[s+524>>2]|0)>>>8)|0)>>>0>(k[s+568>>2]|0)>>>0){c=279;break f}if((k[s+524>>2]|0)>>>0>=15){t=k[s+552>>2]|0;i[t>>0]=(l[t>>0]|0)+15;k[s+524>>2]=(k[s+524>>2]|0)-15;while(1){if((k[s+524>>2]|0)>>>0<510)break;t=k[s+572>>2]|0;k[s+572>>2]=t+1;i[t>>0]=-1;t=k[s+572>>2]|0;k[s+572>>2]=t+1;i[t>>0]=-1;k[s+524>>2]=(k[s+524>>2]|0)-510}if((k[s+524>>2]|0)>>>0>=255){k[s+524>>2]=(k[s+524>>2]|0)-255;t=k[s+572>>2]|0;k[s+572>>2]=t+1;i[t>>0]=-1}q=k[s+524>>2]&255;t=k[s+572>>2]|0;k[s+572>>2]=t+1;i[t>>0]=q}else{t=k[s+552>>2]|0;i[t>>0]=(l[t>>0]|0)+(k[s+524>>2]&255)}k[s+588>>2]=k[s+616>>2];if((k[s+616>>2]|0)>>>0>(k[s+580>>2]|0)>>>0)break e;jZ((k[s+616>>2]|0)+-2|0,k[s+660>>2]|0,k[s+636>>2]|0,k[s+612>>2]|0);t=BZ(k[s+616>>2]|0,k[s+660>>2]|0,k[s+636>>2]|0,k[s+612>>2]|0)|0;k[s+556>>2]=t;do if((k[s+632>>2]|0)==2)if((k[s+556>>2]|0)>>>0<(k[s+656>>2]|0)>>>0){k[s+560>>2]=k[s+592>>2];k[s+608>>2]=k[s+600>>2];break}else{k[s+560>>2]=0;k[s+608>>2]=k[s+656>>2];break}while(0);jZ(k[s+616>>2]|0,k[s+660>>2]|0,k[s+636>>2]|0,k[s+612>>2]|0);if((k[s+628>>2]|0)==1)if((k[s+556>>2]|0)>>>0<(k[s+604>>2]|0)>>>0)break;if(((k[s+556>>2]|0)+65535|0)>>>0<(k[s+616>>2]|0)>>>0)break;t=oZ((k[s+556>>2]|0)+(k[s+560>>2]|0)|0)|0;if((t|0)!=(oZ(k[s+616>>2]|0)|0))break;t=k[s+572>>2]|0;k[s+572>>2]=t+1;k[s+552>>2]=t;i[k[s+552>>2]>>0]=0}t=(k[s+616>>2]|0)+1|0;k[s+616>>2]=t;t=kZ(t,k[s+636>>2]|0)|0;k[s+564>>2]=t}if((c|0)==262){k[s+664>>2]=0;break d}else if((c|0)==279){k[s+664>>2]=0;break d}}while(0);k[s+512>>2]=(k[s+584>>2]|0)-(k[s+588>>2]|0);if(k[s+640>>2]|0)if(((k[s+572>>2]|0)-(k[s+652>>2]|0)+(k[s+512>>2]|0)+1+((((k[s+512>>2]|0)+255-15|0)>>>0)/255|0)|0)>>>0>(k[s+644>>2]|0)>>>0){k[s+664>>2]=0;break}g=k[s+512>>2]|0;if((k[s+512>>2]|0)>>>0>=15){k[s+508>>2]=g-15;t=k[s+572>>2]|0;k[s+572>>2]=t+1;i[t>>0]=-16;while(1){if((k[s+508>>2]|0)>>>0<255)break;t=k[s+572>>2]|0;k[s+572>>2]=t+1;i[t>>0]=-1;k[s+508>>2]=(k[s+508>>2]|0)-255}q=k[s+508>>2]&255;t=k[s+572>>2]|0;k[s+572>>2]=t+1;i[t>>0]=q}else{t=k[s+572>>2]|0;k[s+572>>2]=t+1;i[t>>0]=g<<4}ABb(k[s+572>>2]|0,k[s+588>>2]|0,k[s+512>>2]|0)|0;k[s+572>>2]=(k[s+572>>2]|0)+(k[s+512>>2]|0);k[s+664>>2]=(k[s+572>>2]|0)-(k[s+652>>2]|0)}while(0);k[s+24>>2]=k[s+664>>2];t=k[s+24>>2]|0;r=s;return t|0}}return 0}function iZ(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;vBb(k[b>>2]|0,0,16416)|0;r=b;return}function jZ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+32|0;k[e+16>>2]=a;k[e+12>>2]=b;k[e+8>>2]=c;k[e+4>>2]=d;c=kZ(k[e+16>>2]|0,k[e+8>>2]|0)|0;k[e>>2]=c;sZ(k[e+16>>2]|0,k[e>>2]|0,k[e+12>>2]|0,k[e+8>>2]|0,k[e+4>>2]|0);r=e;return}function kZ(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+4>>2]=a;k[c>>2]=b;b=lZ(k[c+4>>2]|0)|0;b=pZ(b,k[c>>2]|0)|0;r=c;return b|0}function lZ(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;k[b>>2]=a;c=(mZ()|0)!=0;a=k[b>>2]|0;if(c){c=nZ(a)|0;k[b+4>>2]=c;c=k[b+4>>2]|0;r=b;return c|0}else{c=oZ(a)|0;k[b+4>>2]=c;c=k[b+4>>2]|0;r=b;return c|0}return 0}function mZ(){return 0}function nZ(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+8>>2]=a;a=k[b+8>>2]|0;i[b>>0]=i[a>>0]|0;i[b+1>>0]=i[a+1>>0]|0;i[b+2>>0]=i[a+2>>0]|0;i[b+3>>0]=i[a+3>>0]|0;i[b+4>>0]=i[a+4>>0]|0;i[b+5>>0]=i[a+5>>0]|0;i[b+6>>0]=i[a+6>>0]|0;i[b+7>>0]=i[a+7>>0]|0;L=k[b+4>>2]|0;r=b;return k[b>>2]|0}function oZ(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+4>>2]=a;a=k[b+4>>2]|0;i[b>>0]=i[a>>0]|0;i[b+1>>0]=i[a+1>>0]|0;i[b+2>>0]=i[a+2>>0]|0;i[b+3>>0]=i[a+3>>0]|0;r=b;return k[b>>2]|0}function pZ(a,b){a=a|0;b=b|0;var c=0,d=0;c=r;r=r+16|0;k[c+4>>2]=a;k[c>>2]=b;d=(mZ()|0)!=0;a=k[c+4>>2]|0;b=k[c>>2]|0;if(d){d=qZ(a,b)|0;k[c+8>>2]=d;d=k[c+8>>2]|0;r=c;return d|0}else{d=rZ(a,b)|0;k[c+8>>2]=d;d=k[c+8>>2]|0;r=c;return d|0}return 0}function qZ(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+12>>2]=a;k[c+8>>2]=b;k[c+4>>2]=(k[c+8>>2]|0)==2?13:12;k[c>>2]=(1<>2])-1;b=KBb(k[c+12>>2]|0,0,465362107,207)|0;b=FBb(b|0,L|0,40-(k[c+4>>2]|0)|0)|0;r=c;return b&k[c>>2]|0}function rZ(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+4>>2]=a;k[c>>2]=b;a=ha(k[c+4>>2]|0,-1640531535)|0;if((k[c>>2]|0)==2){k[c+8>>2]=a>>>19;b=k[c+8>>2]|0;r=c;return b|0}else{k[c+8>>2]=a>>>20;b=k[c+8>>2]|0;r=c;return b|0}return 0}function sZ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=r;r=r+32|0;k[f+28>>2]=a;k[f+24>>2]=b;k[f+20>>2]=c;k[f+16>>2]=d;k[f+12>>2]=e;switch(k[f+16>>2]|0){case 0:{k[f+8>>2]=k[f+20>>2];k[(k[f+8>>2]|0)+(k[f+24>>2]<<2)>>2]=k[f+28>>2];r=f;return}case 1:{k[f+4>>2]=k[f+20>>2];k[(k[f+4>>2]|0)+(k[f+24>>2]<<2)>>2]=(k[f+28>>2]|0)-(k[f+12>>2]|0);r=f;return}case 2:{k[f>>2]=k[f+20>>2];j[(k[f>>2]|0)+(k[f+24>>2]<<1)>>1]=(k[f+28>>2]|0)-(k[f+12>>2]|0);r=f;return}default:{r=f;return}}}function tZ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+32|0;k[e+24>>2]=a;k[e+20>>2]=b;k[e+16>>2]=c;k[e+12>>2]=d;if(!(k[e+16>>2]|0)){k[e+8>>2]=k[e+20>>2];k[e+28>>2]=k[(k[e+8>>2]|0)+(k[e+24>>2]<<2)>>2];c=k[e+28>>2]|0;r=e;return c|0}a=k[e+20>>2]|0;if((k[e+16>>2]|0)==1){k[e+4>>2]=a;k[e+28>>2]=(k[e+12>>2]|0)+(k[(k[e+4>>2]|0)+(k[e+24>>2]<<2)>>2]|0);c=k[e+28>>2]|0;r=e;return c|0}else{k[e>>2]=a;k[e+28>>2]=(k[e+12>>2]|0)+(m[(k[e>>2]|0)+(k[e+24>>2]<<1)>>1]|0);c=k[e+28>>2]|0;r=e;return c|0}return 0}function uZ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+32|0;k[d+20>>2]=a;k[d+16>>2]=b;k[d+12>>2]=c;k[d+8>>2]=k[d+20>>2];k[d+4>>2]=k[d+16>>2];k[d>>2]=k[d+12>>2];do{vZ(k[d+8>>2]|0,k[d+4>>2]|0);k[d+8>>2]=(k[d+8>>2]|0)+8;k[d+4>>2]=(k[d+4>>2]|0)+8}while((k[d+8>>2]|0)>>>0<(k[d>>2]|0)>>>0);r=d;return}function vZ(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+4>>2]=a;k[c>>2]=b;b=k[c+4>>2]|0;a=k[c>>2]|0;i[b>>0]=i[a>>0]|0;i[b+1>>0]=i[a+1>>0]|0;i[b+2>>0]=i[a+2>>0]|0;i[b+3>>0]=i[a+3>>0]|0;i[b+4>>0]=i[a+4>>0]|0;i[b+5>>0]=i[a+5>>0]|0;i[b+6>>0]=i[a+6>>0]|0;i[b+7>>0]=i[a+7>>0]|0;r=c;return}function wZ(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+4>>2]=a;j[c+8>>1]=b;b=(xZ()|0)!=0;a=k[c+4>>2]|0;if(b){i[a>>0]=i[c+8>>0]|0;i[a+1>>0]=i[c+8+1>>0]|0;r=c;return}else{k[c>>2]=a;i[k[c>>2]>>0]=j[c+8>>1];i[(k[c>>2]|0)+1>>0]=(m[c+8>>1]|0)>>8;r=c;return}}function xZ(){return l[21024]|0|0}function yZ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+32|0;k[e+16>>2]=a;k[e+12>>2]=b;k[e+8>>2]=c;k[e+4>>2]=k[e+16>>2];while(1){if(!((k[e+16>>2]|0)>>>0<((k[e+8>>2]|0)+-3|0)>>>0|0))break;b=lZ(k[e+12>>2]|0)|0;b=b^(lZ(k[e+16>>2]|0)|0);k[e>>2]=b;if(k[e>>2]|0){d=5;break}k[e+16>>2]=(k[e+16>>2]|0)+4;k[e+12>>2]=(k[e+12>>2]|0)+4}if((d|0)==5){d=zZ(k[e>>2]|0)|0;k[e+16>>2]=(k[e+16>>2]|0)+d;k[e+20>>2]=(k[e+16>>2]|0)-(k[e+4>>2]|0);d=k[e+20>>2]|0;r=e;return d|0}if(mZ()|0)if((k[e+16>>2]|0)>>>0<((k[e+8>>2]|0)+-3|0)>>>0){d=oZ(k[e+12>>2]|0)|0;if((d|0)==(oZ(k[e+16>>2]|0)|0)){k[e+16>>2]=(k[e+16>>2]|0)+4;k[e+12>>2]=(k[e+12>>2]|0)+4}}if((k[e+16>>2]|0)>>>0<((k[e+8>>2]|0)+-1|0)>>>0){d=(AZ(k[e+12>>2]|0)|0)&65535;if((d|0)==((AZ(k[e+16>>2]|0)|0)&65535|0)){k[e+16>>2]=(k[e+16>>2]|0)+2;k[e+12>>2]=(k[e+12>>2]|0)+2}}if((k[e+16>>2]|0)>>>0<(k[e+8>>2]|0)>>>0)if((l[k[e+12>>2]>>0]|0|0)==(l[k[e+16>>2]>>0]|0|0))k[e+16>>2]=(k[e+16>>2]|0)+1;k[e+20>>2]=(k[e+16>>2]|0)-(k[e+4>>2]|0);d=k[e+20>>2]|0;r=e;return d|0}function zZ(a){a=a|0;var b=0,c=0,d=0;c=r;r=r+16|0;k[c>>2]=a;d=(xZ()|0)!=0;a=(mZ()|0)!=0;b=k[c>>2]|0;do if(d)if(a){d=Kf(b|0,0,0)|0;k[c+4>>2]=d>>3;break}else{d=(wBb(b|0)|0)>>3;k[c+4>>2]=d;break}else if(a){d=CBb(b|0,0,0)|0;k[c+4>>2]=d>>3;break}else{d=(ja(b|0)|0)>>3;k[c+4>>2]=d;break}while(0);r=c;return k[c+4>>2]|0}function AZ(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;a=k[b>>2]|0;i[b+4>>0]=i[a>>0]|0;i[b+4+1>>0]=i[a+1>>0]|0;r=b;return j[b+4>>1]|0}function BZ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+32|0;k[e+16>>2]=a;k[e+12>>2]=b;k[e+8>>2]=c;k[e+4>>2]=d;c=kZ(k[e+16>>2]|0,k[e+8>>2]|0)|0;k[e>>2]=c;c=tZ(k[e>>2]|0,k[e+12>>2]|0,k[e+8>>2]|0,k[e+4>>2]|0)|0;r=e;return c|0}function CZ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=r;r=r+16448|0;k[f+16440>>2]=a;k[f+16436>>2]=b;k[f+16432>>2]=c;k[f+16428>>2]=d;k[f+16424>>2]=e;k[f+16420>>2]=f;a=hZ(k[f+16420>>2]|0,k[f+16440>>2]|0,k[f+16436>>2]|0,k[f+16432>>2]|0,k[f+16428>>2]|0,k[f+16424>>2]|0)|0;k[f+16416>>2]=a;r=f;return k[f+16416>>2]|0}function DZ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+16|0;k[e+12>>2]=a;k[e+8>>2]=b;k[e+4>>2]=c;k[e>>2]=d;a=CZ(k[e+12>>2]|0,k[e+8>>2]|0,k[e+4>>2]|0,k[e>>2]|0,1)|0;r=e;return a|0}function EZ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=r;r=r+144|0;k[f+12>>2]=a;k[f+8>>2]=b;k[f+4>>2]=c;k[f>>2]=d;c=k[f+8>>2]|0;b=k[f+4>>2]|0;d=k[f>>2]|0;a=k[f+8>>2]|0;k[f+132>>2]=k[f+12>>2];k[f+128>>2]=c;k[f+124>>2]=b;k[f+120>>2]=d;k[f+116>>2]=1;k[f+112>>2]=0;k[f+108>>2]=0;k[f+104>>2]=0;k[f+100>>2]=a;k[f+96>>2]=0;k[f+92>>2]=0;k[f+88>>2]=k[f+132>>2];k[f+84>>2]=(k[f+88>>2]|0)+(k[f+124>>2]|0);k[f+80>>2]=k[f+128>>2];k[f+76>>2]=(k[f+80>>2]|0)+(k[f+120>>2]|0);k[f+68>>2]=(k[f+80>>2]|0)+(k[f+108>>2]|0);k[f+64>>2]=(k[f+100>>2]|0)+(0-(k[f+92>>2]|0));k[f+60>>2]=(k[f+96>>2]|0)+(k[f+92>>2]|0);k[f+56>>2]=(k[f+116>>2]|0)==1&1;k[f+52>>2]=(k[f+56>>2]|0?(k[f+92>>2]|0)>>>0<65536:0)&1;if(k[f+112>>2]|0)if((k[f+68>>2]|0)>>>0>((k[f+76>>2]|0)+-12|0)>>>0)k[f+68>>2]=(k[f+76>>2]|0)+-12;if(k[f+116>>2]|0)if(!(k[f+120>>2]|0)){if((k[f+124>>2]|0)==1)c=(l[k[f+88>>2]>>0]|0|0)==0;else c=0;k[f+136>>2]=c?0:-1;e=k[f+136>>2]|0;r=f;return e|0}if(!(k[f+116>>2]|0))if(!(k[f+120>>2]|0)){k[f+136>>2]=(l[k[f+88>>2]>>0]|0|0)==0?1:-1;e=k[f+136>>2]|0;r=f;return e|0}a:while(1){a=k[f+88>>2]|0;k[f+88>>2]=a+1;k[f+48>>2]=l[a>>0];a=(k[f+48>>2]|0)>>>4;k[f+44>>2]=a;if((a|0)==15){do{a=k[f+88>>2]|0;k[f+88>>2]=a+1;k[f+36>>2]=l[a>>0];k[f+44>>2]=(k[f+44>>2]|0)+(k[f+36>>2]|0);if(k[f+116>>2]|0)c=(k[f+88>>2]|0)>>>0<((k[f+84>>2]|0)+-15|0)>>>0&1;else c=1}while(c|0?(k[f+36>>2]|0)==255:0);if(k[f+56>>2]|0)if(((k[f+80>>2]|0)+(k[f+44>>2]|0)|0)>>>0<(k[f+80>>2]|0)>>>0)break;if(k[f+56>>2]|0)if(((k[f+88>>2]|0)+(k[f+44>>2]|0)|0)>>>0<(k[f+88>>2]|0)>>>0)break}k[f+72>>2]=(k[f+80>>2]|0)+(k[f+44>>2]|0);if(k[f+116>>2]|0){if((k[f+72>>2]|0)>>>0>(k[f+112>>2]|0?k[f+68>>2]|0:(k[f+76>>2]|0)+-12|0)>>>0){e=25;break}if(((k[f+88>>2]|0)+(k[f+44>>2]|0)|0)>>>0>((k[f+84>>2]|0)+-8|0)>>>0){e=25;break}}if(!(k[f+116>>2]|0))if((k[f+72>>2]|0)>>>0>((k[f+76>>2]|0)+-8|0)>>>0){e=25;break}uZ(k[f+80>>2]|0,k[f+88>>2]|0,k[f+72>>2]|0);k[f+88>>2]=(k[f+88>>2]|0)+(k[f+44>>2]|0);k[f+80>>2]=k[f+72>>2];a=k[f+72>>2]|0;a=a+(0-((FZ(k[f+88>>2]|0)|0)&65535))|0;k[f+40>>2]=a;k[f+88>>2]=(k[f+88>>2]|0)+2;if(k[f+52>>2]|0)if((k[f+40>>2]|0)>>>0<(k[f+64>>2]|0)>>>0)break;k[f+44>>2]=k[f+48>>2]&15;if((k[f+44>>2]|0)==15){do{if(k[f+116>>2]|0)if((k[f+88>>2]|0)>>>0>((k[f+84>>2]|0)+-5|0)>>>0)break a;a=k[f+88>>2]|0;k[f+88>>2]=a+1;k[f+32>>2]=l[a>>0];k[f+44>>2]=(k[f+44>>2]|0)+(k[f+32>>2]|0)}while((k[f+32>>2]|0)==255);if(k[f+56>>2]|0)if(((k[f+80>>2]|0)+(k[f+44>>2]|0)|0)>>>0<(k[f+80>>2]|0)>>>0)break}k[f+44>>2]=(k[f+44>>2]|0)+4;if((k[f+104>>2]|0)==2)if((k[f+40>>2]|0)>>>0<(k[f+100>>2]|0)>>>0){if(((k[f+80>>2]|0)+(k[f+44>>2]|0)|0)>>>0>((k[f+76>>2]|0)+-5|0)>>>0)break;if((k[f+44>>2]|0)>>>0<=((k[f+100>>2]|0)-(k[f+40>>2]|0)|0)>>>0){k[f+40>>2]=(k[f+60>>2]|0)+(0-((k[f+100>>2]|0)-(k[f+40>>2]|0)));BBb(k[f+80>>2]|0,k[f+40>>2]|0,k[f+44>>2]|0)|0;k[f+80>>2]=(k[f+80>>2]|0)+(k[f+44>>2]|0);continue}k[f+28>>2]=(k[f+100>>2]|0)-(k[f+40>>2]|0);ABb(k[f+80>>2]|0,(k[f+60>>2]|0)+(0-(k[f+28>>2]|0))|0,k[f+28>>2]|0)|0;k[f+80>>2]=(k[f+80>>2]|0)+(k[f+28>>2]|0);k[f+28>>2]=(k[f+44>>2]|0)-(k[f+28>>2]|0);c=k[f+80>>2]|0;if((k[f+28>>2]|0)>>>0<=((k[f+80>>2]|0)-(k[f+100>>2]|0)|0)>>>0){ABb(c|0,k[f+100>>2]|0,k[f+28>>2]|0)|0;k[f+80>>2]=(k[f+80>>2]|0)+(k[f+28>>2]|0);continue}k[f+24>>2]=c+(k[f+28>>2]|0);k[f+20>>2]=k[f+100>>2];while(1){if((k[f+80>>2]|0)>>>0>=(k[f+24>>2]|0)>>>0)continue a;d=k[f+20>>2]|0;k[f+20>>2]=d+1;d=i[d>>0]|0;a=k[f+80>>2]|0;k[f+80>>2]=a+1;i[a>>0]=d}}k[f+72>>2]=(k[f+80>>2]|0)+(k[f+44>>2]|0);c=k[f+80>>2]|0;b=k[f+40>>2]|0;if(((k[f+80>>2]|0)-(k[f+40>>2]|0)|0)<8){k[f+16>>2]=k[20960+(c-b<<2)>>2];i[k[f+80>>2]>>0]=i[k[f+40>>2]>>0]|0;i[(k[f+80>>2]|0)+1>>0]=i[(k[f+40>>2]|0)+1>>0]|0;i[(k[f+80>>2]|0)+2>>0]=i[(k[f+40>>2]|0)+2>>0]|0;i[(k[f+80>>2]|0)+3>>0]=i[(k[f+40>>2]|0)+3>>0]|0;k[f+40>>2]=(k[f+40>>2]|0)+(k[20992+((k[f+80>>2]|0)-(k[f+40>>2]|0)<<2)>>2]|0);GZ((k[f+80>>2]|0)+4|0,k[f+40>>2]|0);k[f+80>>2]=(k[f+80>>2]|0)+8;k[f+40>>2]=(k[f+40>>2]|0)+(0-(k[f+16>>2]|0))}else{vZ(c,b);k[f+80>>2]=(k[f+80>>2]|0)+8;k[f+40>>2]=(k[f+40>>2]|0)+8}b:do if((k[f+72>>2]|0)>>>0>((k[f+76>>2]|0)+-12|0)>>>0){if((k[f+72>>2]|0)>>>0>((k[f+76>>2]|0)+-5|0)>>>0)break a;if((k[f+80>>2]|0)>>>0<((k[f+76>>2]|0)+-8|0)>>>0){uZ(k[f+80>>2]|0,k[f+40>>2]|0,(k[f+76>>2]|0)+-8|0);k[f+40>>2]=(k[f+40>>2]|0)+((k[f+76>>2]|0)+-8-(k[f+80>>2]|0));k[f+80>>2]=(k[f+76>>2]|0)+-8}while(1){if((k[f+80>>2]|0)>>>0>=(k[f+72>>2]|0)>>>0)break b;d=k[f+40>>2]|0;k[f+40>>2]=d+1;d=i[d>>0]|0;a=k[f+80>>2]|0;k[f+80>>2]=a+1;i[a>>0]=d}}else uZ(k[f+80>>2]|0,k[f+40>>2]|0,k[f+72>>2]|0);while(0);k[f+80>>2]=k[f+72>>2]}do if((e|0)==25){if(k[f+112>>2]|0){if((k[f+72>>2]|0)>>>0>(k[f+76>>2]|0)>>>0)break;if(k[f+116>>2]|0)if(((k[f+88>>2]|0)+(k[f+44>>2]|0)|0)>>>0>(k[f+84>>2]|0)>>>0)break}else{if(!(k[f+116>>2]|0))if((k[f+72>>2]|0)!=(k[f+76>>2]|0))break;if(k[f+116>>2]|0){if(((k[f+88>>2]|0)+(k[f+44>>2]|0)|0)!=(k[f+84>>2]|0))break;if((k[f+72>>2]|0)>>>0>(k[f+76>>2]|0)>>>0)break}}ABb(k[f+80>>2]|0,k[f+88>>2]|0,k[f+44>>2]|0)|0;k[f+88>>2]=(k[f+88>>2]|0)+(k[f+44>>2]|0);k[f+80>>2]=(k[f+80>>2]|0)+(k[f+44>>2]|0);if(k[f+116>>2]|0){k[f+136>>2]=(k[f+80>>2]|0)-(k[f+128>>2]|0);e=k[f+136>>2]|0;r=f;return e|0}else{k[f+136>>2]=(k[f+88>>2]|0)-(k[f+132>>2]|0);e=k[f+136>>2]|0;r=f;return e|0}}while(0);k[f+136>>2]=0-((k[f+88>>2]|0)-(k[f+132>>2]|0))-1;e=k[f+136>>2]|0;r=f;return e|0}function FZ(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;k[b+4>>2]=a;c=(xZ()|0)!=0;a=k[b+4>>2]|0;if(c){c=AZ(a)|0;j[b+8>>1]=c;c=j[b+8>>1]|0;r=b;return c|0}else{k[b>>2]=a;j[b+8>>1]=((l[k[b>>2]>>0]|0)&65535)+((l[(k[b>>2]|0)+1>>0]|0)<<8);c=j[b+8>>1]|0;r=b;return c|0}return 0}function GZ(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+4>>2]=a;k[c>>2]=b;b=k[c+4>>2]|0;a=k[c>>2]|0;i[b>>0]=i[a>>0]|0;i[b+1>>0]=i[a+1>>0]|0;i[b+2>>0]=i[a+2>>0]|0;i[b+3>>0]=i[a+3>>0]|0;r=c;return}function HZ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+144|0;k[e+8>>2]=a;k[e+4>>2]=b;k[e>>2]=c;b=k[e+4>>2]|0;c=k[e>>2]|0;a=(k[e+4>>2]|0)+-65536|0;k[e+128>>2]=k[e+8>>2];k[e+124>>2]=b;k[e+120>>2]=0;k[e+116>>2]=c;k[e+112>>2]=0;k[e+108>>2]=0;k[e+104>>2]=0;k[e+100>>2]=1;k[e+96>>2]=a;k[e+92>>2]=0;k[e+88>>2]=65536;k[e+84>>2]=k[e+128>>2];k[e+80>>2]=(k[e+84>>2]|0)+(k[e+120>>2]|0);k[e+76>>2]=k[e+124>>2];k[e+72>>2]=(k[e+76>>2]|0)+(k[e+116>>2]|0);k[e+64>>2]=(k[e+76>>2]|0)+(k[e+104>>2]|0);k[e+60>>2]=(k[e+96>>2]|0)+(0-(k[e+88>>2]|0));k[e+56>>2]=(k[e+92>>2]|0)+(k[e+88>>2]|0);k[e+52>>2]=(k[e+112>>2]|0)==1&1;k[e+48>>2]=(k[e+52>>2]|0?(k[e+88>>2]|0)>>>0<65536:0)&1;if(k[e+108>>2]|0)if((k[e+64>>2]|0)>>>0>((k[e+72>>2]|0)+-12|0)>>>0)k[e+64>>2]=(k[e+72>>2]|0)+-12;if(k[e+112>>2]|0)if(!(k[e+116>>2]|0)){if((k[e+120>>2]|0)==1)b=(l[k[e+84>>2]>>0]|0|0)==0;else b=0;k[e+132>>2]=b?0:-1;d=k[e+132>>2]|0;r=e;return d|0}if(!(k[e+112>>2]|0))if(!(k[e+116>>2]|0)){k[e+132>>2]=(l[k[e+84>>2]>>0]|0|0)==0?1:-1;d=k[e+132>>2]|0;r=e;return d|0}a:while(1){a=k[e+84>>2]|0;k[e+84>>2]=a+1;k[e+44>>2]=l[a>>0];a=(k[e+44>>2]|0)>>>4;k[e+40>>2]=a;if((a|0)==15){do{a=k[e+84>>2]|0;k[e+84>>2]=a+1;k[e+32>>2]=l[a>>0];k[e+40>>2]=(k[e+40>>2]|0)+(k[e+32>>2]|0);if(k[e+112>>2]|0)b=(k[e+84>>2]|0)>>>0<((k[e+80>>2]|0)+-15|0)>>>0&1;else b=1}while(b|0?(k[e+32>>2]|0)==255:0);if(k[e+52>>2]|0)if(((k[e+76>>2]|0)+(k[e+40>>2]|0)|0)>>>0<(k[e+76>>2]|0)>>>0)break;if(k[e+52>>2]|0)if(((k[e+84>>2]|0)+(k[e+40>>2]|0)|0)>>>0<(k[e+84>>2]|0)>>>0)break}k[e+68>>2]=(k[e+76>>2]|0)+(k[e+40>>2]|0);if(k[e+112>>2]|0){if((k[e+68>>2]|0)>>>0>(k[e+108>>2]|0?k[e+64>>2]|0:(k[e+72>>2]|0)+-12|0)>>>0){d=25;break}if(((k[e+84>>2]|0)+(k[e+40>>2]|0)|0)>>>0>((k[e+80>>2]|0)+-8|0)>>>0){d=25;break}}if(!(k[e+112>>2]|0))if((k[e+68>>2]|0)>>>0>((k[e+72>>2]|0)+-8|0)>>>0){d=25;break}uZ(k[e+76>>2]|0,k[e+84>>2]|0,k[e+68>>2]|0);k[e+84>>2]=(k[e+84>>2]|0)+(k[e+40>>2]|0);k[e+76>>2]=k[e+68>>2];a=k[e+68>>2]|0;a=a+(0-((FZ(k[e+84>>2]|0)|0)&65535))|0;k[e+36>>2]=a;k[e+84>>2]=(k[e+84>>2]|0)+2;if(k[e+48>>2]|0)if((k[e+36>>2]|0)>>>0<(k[e+60>>2]|0)>>>0)break;k[e+40>>2]=k[e+44>>2]&15;if((k[e+40>>2]|0)==15){do{if(k[e+112>>2]|0)if((k[e+84>>2]|0)>>>0>((k[e+80>>2]|0)+-5|0)>>>0)break a;a=k[e+84>>2]|0;k[e+84>>2]=a+1;k[e+28>>2]=l[a>>0];k[e+40>>2]=(k[e+40>>2]|0)+(k[e+28>>2]|0)}while((k[e+28>>2]|0)==255);if(k[e+52>>2]|0)if(((k[e+76>>2]|0)+(k[e+40>>2]|0)|0)>>>0<(k[e+76>>2]|0)>>>0)break}k[e+40>>2]=(k[e+40>>2]|0)+4;if((k[e+100>>2]|0)==2)if((k[e+36>>2]|0)>>>0<(k[e+96>>2]|0)>>>0){if(((k[e+76>>2]|0)+(k[e+40>>2]|0)|0)>>>0>((k[e+72>>2]|0)+-5|0)>>>0)break;if((k[e+40>>2]|0)>>>0<=((k[e+96>>2]|0)-(k[e+36>>2]|0)|0)>>>0){k[e+36>>2]=(k[e+56>>2]|0)+(0-((k[e+96>>2]|0)-(k[e+36>>2]|0)));BBb(k[e+76>>2]|0,k[e+36>>2]|0,k[e+40>>2]|0)|0;k[e+76>>2]=(k[e+76>>2]|0)+(k[e+40>>2]|0);continue}k[e+24>>2]=(k[e+96>>2]|0)-(k[e+36>>2]|0);ABb(k[e+76>>2]|0,(k[e+56>>2]|0)+(0-(k[e+24>>2]|0))|0,k[e+24>>2]|0)|0;k[e+76>>2]=(k[e+76>>2]|0)+(k[e+24>>2]|0);k[e+24>>2]=(k[e+40>>2]|0)-(k[e+24>>2]|0);b=k[e+76>>2]|0;if((k[e+24>>2]|0)>>>0<=((k[e+76>>2]|0)-(k[e+96>>2]|0)|0)>>>0){ABb(b|0,k[e+96>>2]|0,k[e+24>>2]|0)|0;k[e+76>>2]=(k[e+76>>2]|0)+(k[e+24>>2]|0);continue}k[e+20>>2]=b+(k[e+24>>2]|0);k[e+16>>2]=k[e+96>>2];while(1){if((k[e+76>>2]|0)>>>0>=(k[e+20>>2]|0)>>>0)continue a;c=k[e+16>>2]|0;k[e+16>>2]=c+1;c=i[c>>0]|0;a=k[e+76>>2]|0;k[e+76>>2]=a+1;i[a>>0]=c}}k[e+68>>2]=(k[e+76>>2]|0)+(k[e+40>>2]|0);b=k[e+76>>2]|0;c=k[e+36>>2]|0;if(((k[e+76>>2]|0)-(k[e+36>>2]|0)|0)<8){k[e+12>>2]=k[20960+(b-c<<2)>>2];i[k[e+76>>2]>>0]=i[k[e+36>>2]>>0]|0;i[(k[e+76>>2]|0)+1>>0]=i[(k[e+36>>2]|0)+1>>0]|0;i[(k[e+76>>2]|0)+2>>0]=i[(k[e+36>>2]|0)+2>>0]|0;i[(k[e+76>>2]|0)+3>>0]=i[(k[e+36>>2]|0)+3>>0]|0;k[e+36>>2]=(k[e+36>>2]|0)+(k[20992+((k[e+76>>2]|0)-(k[e+36>>2]|0)<<2)>>2]|0);GZ((k[e+76>>2]|0)+4|0,k[e+36>>2]|0);k[e+76>>2]=(k[e+76>>2]|0)+8;k[e+36>>2]=(k[e+36>>2]|0)+(0-(k[e+12>>2]|0))}else{vZ(b,c);k[e+76>>2]=(k[e+76>>2]|0)+8;k[e+36>>2]=(k[e+36>>2]|0)+8}b:do if((k[e+68>>2]|0)>>>0>((k[e+72>>2]|0)+-12|0)>>>0){if((k[e+68>>2]|0)>>>0>((k[e+72>>2]|0)+-5|0)>>>0)break a;if((k[e+76>>2]|0)>>>0<((k[e+72>>2]|0)+-8|0)>>>0){uZ(k[e+76>>2]|0,k[e+36>>2]|0,(k[e+72>>2]|0)+-8|0);k[e+36>>2]=(k[e+36>>2]|0)+((k[e+72>>2]|0)+-8-(k[e+76>>2]|0));k[e+76>>2]=(k[e+72>>2]|0)+-8}while(1){if((k[e+76>>2]|0)>>>0>=(k[e+68>>2]|0)>>>0)break b;c=k[e+36>>2]|0;k[e+36>>2]=c+1;c=i[c>>0]|0;a=k[e+76>>2]|0;k[e+76>>2]=a+1;i[a>>0]=c}}else uZ(k[e+76>>2]|0,k[e+36>>2]|0,k[e+68>>2]|0);while(0);k[e+76>>2]=k[e+68>>2]}do if((d|0)==25){if(k[e+108>>2]|0){if((k[e+68>>2]|0)>>>0>(k[e+72>>2]|0)>>>0)break;if(k[e+112>>2]|0)if(((k[e+84>>2]|0)+(k[e+40>>2]|0)|0)>>>0>(k[e+80>>2]|0)>>>0)break}else{if(!(k[e+112>>2]|0))if((k[e+68>>2]|0)!=(k[e+72>>2]|0))break;if(k[e+112>>2]|0){if(((k[e+84>>2]|0)+(k[e+40>>2]|0)|0)!=(k[e+80>>2]|0))break;if((k[e+68>>2]|0)>>>0>(k[e+72>>2]|0)>>>0)break}}ABb(k[e+76>>2]|0,k[e+84>>2]|0,k[e+40>>2]|0)|0;k[e+84>>2]=(k[e+84>>2]|0)+(k[e+40>>2]|0);k[e+76>>2]=(k[e+76>>2]|0)+(k[e+40>>2]|0);if(k[e+112>>2]|0){k[e+132>>2]=(k[e+76>>2]|0)-(k[e+124>>2]|0);d=k[e+132>>2]|0;r=e;return d|0}else{k[e+132>>2]=(k[e+84>>2]|0)-(k[e+128>>2]|0);d=k[e+132>>2]|0;r=e;return d|0}}while(0);k[e+132>>2]=0-((k[e+84>>2]|0)-(k[e+128>>2]|0))-1;d=k[e+132>>2]|0;r=e;return d|0}function IZ(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=r;r=r+32|0;k[g+20>>2]=a;k[g+16>>2]=b;k[g+12>>2]=c;k[g+8>>2]=d;k[g+4>>2]=e;k[g>>2]=f;if(k[g+20>>2]&3|0){k[g+24>>2]=0;a=k[g+24>>2]|0;r=g;return a|0}JZ(k[g+20>>2]|0,k[g+16>>2]|0);h=k[g+4>>2]|0;h=(h|0)<(gZ(k[g+8>>2]|0)|0);f=k[g+20>>2]|0;c=k[g+16>>2]|0;e=k[g+12>>2]|0;b=k[g+8>>2]|0;d=k[g+4>>2]|0;a=k[g>>2]|0;if(h){h=KZ(f,c,e,b,d,a,1)|0;k[g+24>>2]=h;h=k[g+24>>2]|0;r=g;return h|0}else{h=KZ(f,c,e,b,d,a,0)|0;k[g+24>>2]=h;h=k[g+24>>2]|0;r=g;return h|0}return 0}function JZ(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+4>>2]=a;k[c>>2]=b;vBb(k[c+4>>2]|0,0,131072)|0;vBb((k[c+4>>2]|0)+131072|0,-1,131072)|0;k[(k[c+4>>2]|0)+262168>>2]=65536;k[(k[c+4>>2]|0)+262148>>2]=(k[c>>2]|0)+-65536;k[(k[c+4>>2]|0)+262144>>2]=k[c>>2];k[(k[c+4>>2]|0)+262152>>2]=(k[c>>2]|0)+-65536;k[(k[c+4>>2]|0)+262160>>2]=65536;k[(k[c+4>>2]|0)+262164>>2]=65536;r=c;return}function KZ(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,n=0;n=r;r=r+736|0;k[n+124>>2]=a;k[n+120>>2]=b;k[n+116>>2]=c;k[n+112>>2]=d;k[n+108>>2]=e;k[n+104>>2]=f;k[n+100>>2]=g;k[n+96>>2]=k[n+124>>2];k[n+92>>2]=k[n+120>>2];k[n+88>>2]=k[n+92>>2];k[n+84>>2]=(k[n+92>>2]|0)+(k[n+112>>2]|0);k[n+80>>2]=(k[n+84>>2]|0)+-12;k[n+76>>2]=(k[n+84>>2]|0)+-5;k[n+72>>2]=k[n+116>>2];k[n+68>>2]=(k[n+72>>2]|0)+(k[n+108>>2]|0);k[n+44>>2]=0;k[n+40>>2]=0;k[n+36>>2]=0;k[n+32>>2]=0;k[n+28>>2]=0;if((k[n+104>>2]|0)>16)k[n+104>>2]=16;if((k[n+104>>2]|0)<1)k[n+104>>2]=9;k[n+64>>2]=1<<(k[n+104>>2]|0)-1;b=(k[n+96>>2]|0)+262144|0;k[b>>2]=(k[b>>2]|0)+(k[n+112>>2]|0);k[n+92>>2]=(k[n+92>>2]|0)+1;a:while(1){if((k[n+92>>2]|0)>>>0>=(k[n+80>>2]|0)>>>0){h=250;break}g=k[n+92>>2]|0;e=k[n+76>>2]|0;b=k[n+64>>2]|0;k[n+200>>2]=k[n+96>>2];k[n+196>>2]=g;k[n+192>>2]=e;k[n+188>>2]=n+44;k[n+184>>2]=b;k[n+180>>2]=(k[n+200>>2]|0)+131072;k[n+176>>2]=k[n+200>>2];k[n+172>>2]=k[(k[n+200>>2]|0)+262148>>2];k[n+168>>2]=k[(k[n+200>>2]|0)+262152>>2];k[n+164>>2]=k[(k[n+200>>2]|0)+262160>>2];if(((k[(k[n+200>>2]|0)+262164>>2]|0)+65536|0)>>>0>((k[n+196>>2]|0)-(k[n+172>>2]|0)|0)>>>0)f=k[(k[n+200>>2]|0)+262164>>2]|0;else f=(k[n+196>>2]|0)-(k[n+172>>2]|0)-65535|0;k[n+160>>2]=f;k[n+148>>2]=k[n+184>>2];k[n+144>>2]=0;b=k[n+196>>2]|0;k[n+236>>2]=k[n+200>>2];k[n+232>>2]=b;k[n+228>>2]=(k[n+236>>2]|0)+131072;k[n+224>>2]=k[n+236>>2];k[n+220>>2]=k[(k[n+236>>2]|0)+262148>>2];k[n+216>>2]=(k[n+232>>2]|0)-(k[n+220>>2]|0);k[n+212>>2]=k[(k[n+236>>2]|0)+262168>>2];while(1){if((k[n+212>>2]|0)>>>0>=(k[n+216>>2]|0)>>>0)break;b=LZ((k[n+220>>2]|0)+(k[n+212>>2]|0)|0)|0;k[n+208>>2]=b;b=(k[n+212>>2]|0)-(k[(k[n+224>>2]|0)+(k[n+208>>2]<<2)>>2]|0)|0;k[n+204>>2]=b;k[n+204>>2]=(k[n+204>>2]|0)>>>0>65535?65535:b;j[(k[n+228>>2]|0)+((k[n+212>>2]&65535)<<1)>>1]=k[n+204>>2];k[(k[n+224>>2]|0)+(k[n+208>>2]<<2)>>2]=k[n+212>>2];k[n+212>>2]=(k[n+212>>2]|0)+1}k[(k[n+236>>2]|0)+262168>>2]=k[n+216>>2];b=LZ(k[n+196>>2]|0)|0;k[n+156>>2]=k[(k[n+176>>2]|0)+(b<<2)>>2];while(1){if(!((k[n+156>>2]|0)>>>0>=(k[n+160>>2]|0)>>>0?(k[n+148>>2]|0)!=0:0))break;k[n+148>>2]=(k[n+148>>2]|0)+-1;if((k[n+156>>2]|0)>>>0>=(k[n+164>>2]|0)>>>0){k[n+152>>2]=(k[n+172>>2]|0)+(k[n+156>>2]|0);if((l[(k[n+152>>2]|0)+(k[n+144>>2]|0)>>0]|0|0)==(l[(k[n+196>>2]|0)+(k[n+144>>2]|0)>>0]|0|0)){b=MZ(k[n+152>>2]|0)|0;if((b|0)==(MZ(k[n+196>>2]|0)|0)){b=(NZ((k[n+196>>2]|0)+4|0,(k[n+152>>2]|0)+4|0,k[n+192>>2]|0)|0)+4|0;k[n+140>>2]=b;if((k[n+140>>2]|0)>>>0>(k[n+144>>2]|0)>>>0){k[n+144>>2]=k[n+140>>2];k[k[n+188>>2]>>2]=k[n+152>>2]}}}}else{k[n+152>>2]=(k[n+168>>2]|0)+(k[n+156>>2]|0);b=MZ(k[n+152>>2]|0)|0;if((b|0)==(MZ(k[n+196>>2]|0)|0)){k[n+132>>2]=(k[n+196>>2]|0)+((k[n+164>>2]|0)-(k[n+156>>2]|0));if((k[n+132>>2]|0)>>>0>(k[n+192>>2]|0)>>>0)k[n+132>>2]=k[n+192>>2];b=(NZ((k[n+196>>2]|0)+4|0,(k[n+152>>2]|0)+4|0,k[n+132>>2]|0)|0)+4|0;k[n+136>>2]=b;if(((k[n+196>>2]|0)+(k[n+136>>2]|0)|0)==(k[n+132>>2]|0))if((k[n+132>>2]|0)>>>0<(k[n+192>>2]|0)>>>0){b=NZ((k[n+196>>2]|0)+(k[n+136>>2]|0)|0,(k[n+172>>2]|0)+(k[n+164>>2]|0)|0,k[n+192>>2]|0)|0;k[n+136>>2]=(k[n+136>>2]|0)+b}if((k[n+136>>2]|0)>>>0>(k[n+144>>2]|0)>>>0){k[n+144>>2]=k[n+136>>2];k[k[n+188>>2]>>2]=(k[n+172>>2]|0)+(k[n+156>>2]|0)}}}k[n+156>>2]=(k[n+156>>2]|0)-(m[(k[n+180>>2]|0)+((k[n+156>>2]&65535)<<1)>>1]|0)}k[n+60>>2]=k[n+144>>2];f=k[n+92>>2]|0;if(!(k[n+60>>2]|0)){k[n+92>>2]=f+1;continue}k[n+24>>2]=f;k[n+20>>2]=k[n+44>>2];k[n+48>>2]=k[n+60>>2];b:while(1){if(((k[n+92>>2]|0)+(k[n+60>>2]|0)|0)>>>0<(k[n+80>>2]|0)>>>0){c=(k[n+92>>2]|0)+(k[n+60>>2]|0)+-2|0;d=(k[n+92>>2]|0)+1|0;g=k[n+76>>2]|0;e=k[n+60>>2]|0;b=k[n+64>>2]|0;k[n+336>>2]=k[n+96>>2];k[n+332>>2]=c;k[n+328>>2]=d;k[n+324>>2]=g;k[n+320>>2]=e;k[n+316>>2]=n+36;k[n+312>>2]=n+40;k[n+308>>2]=b;k[n+304>>2]=(k[n+336>>2]|0)+131072;k[n+300>>2]=k[n+336>>2];k[n+296>>2]=k[(k[n+336>>2]|0)+262148>>2];k[n+292>>2]=k[(k[n+336>>2]|0)+262160>>2];k[n+288>>2]=(k[n+296>>2]|0)+(k[n+292>>2]|0);if(((k[(k[n+336>>2]|0)+262164>>2]|0)+65536|0)>>>0>((k[n+332>>2]|0)-(k[n+296>>2]|0)|0)>>>0)f=k[(k[n+336>>2]|0)+262164>>2]|0;else f=(k[n+332>>2]|0)-(k[n+296>>2]|0)-65535|0;k[n+284>>2]=f;k[n+280>>2]=k[(k[n+336>>2]|0)+262152>>2];k[n+272>>2]=k[n+308>>2];k[n+268>>2]=(k[n+332>>2]|0)-(k[n+328>>2]|0);b=k[n+332>>2]|0;k[n+372>>2]=k[n+336>>2];k[n+368>>2]=b;k[n+364>>2]=(k[n+372>>2]|0)+131072;k[n+360>>2]=k[n+372>>2];k[n+356>>2]=k[(k[n+372>>2]|0)+262148>>2];k[n+352>>2]=(k[n+368>>2]|0)-(k[n+356>>2]|0);k[n+348>>2]=k[(k[n+372>>2]|0)+262168>>2];while(1){if((k[n+348>>2]|0)>>>0>=(k[n+352>>2]|0)>>>0)break;b=LZ((k[n+356>>2]|0)+(k[n+348>>2]|0)|0)|0;k[n+344>>2]=b;b=(k[n+348>>2]|0)-(k[(k[n+360>>2]|0)+(k[n+344>>2]<<2)>>2]|0)|0;k[n+340>>2]=b;k[n+340>>2]=(k[n+340>>2]|0)>>>0>65535?65535:b;j[(k[n+364>>2]|0)+((k[n+348>>2]&65535)<<1)>>1]=k[n+340>>2];k[(k[n+360>>2]|0)+(k[n+344>>2]<<2)>>2]=k[n+348>>2];k[n+348>>2]=(k[n+348>>2]|0)+1}k[(k[n+372>>2]|0)+262168>>2]=k[n+352>>2];b=LZ(k[n+332>>2]|0)|0;k[n+276>>2]=k[(k[n+300>>2]|0)+(b<<2)>>2];while(1){if(!((k[n+276>>2]|0)>>>0>=(k[n+284>>2]|0)>>>0?(k[n+272>>2]|0)!=0:0))break;k[n+272>>2]=(k[n+272>>2]|0)+-1;if((k[n+276>>2]|0)>>>0>=(k[n+292>>2]|0)>>>0){k[n+264>>2]=(k[n+296>>2]|0)+(k[n+276>>2]|0);if((l[(k[n+328>>2]|0)+(k[n+320>>2]|0)>>0]|0|0)==(l[(k[n+264>>2]|0)+(0-(k[n+268>>2]|0))+(k[n+320>>2]|0)>>0]|0|0)){b=MZ(k[n+264>>2]|0)|0;if((b|0)==(MZ(k[n+332>>2]|0)|0)){b=4+(NZ((k[n+332>>2]|0)+4|0,(k[n+264>>2]|0)+4|0,k[n+324>>2]|0)|0)|0;k[n+260>>2]=b;k[n+256>>2]=0;while(1){if(((k[n+332>>2]|0)+(k[n+256>>2]|0)|0)>>>0>(k[n+328>>2]|0)>>>0)if(((k[n+264>>2]|0)+(k[n+256>>2]|0)|0)>>>0>(k[n+288>>2]|0)>>>0)f=(l[(k[n+332>>2]|0)+((k[n+256>>2]|0)-1)>>0]|0|0)==(l[(k[n+264>>2]|0)+((k[n+256>>2]|0)-1)>>0]|0|0);else f=0;else f=0;a=k[n+256>>2]|0;if(!f)break;k[n+256>>2]=a+-1}k[n+260>>2]=(k[n+260>>2]|0)-a;if((k[n+260>>2]|0)>(k[n+320>>2]|0)){k[n+320>>2]=k[n+260>>2];k[k[n+316>>2]>>2]=(k[n+264>>2]|0)+(k[n+256>>2]|0);k[k[n+312>>2]>>2]=(k[n+332>>2]|0)+(k[n+256>>2]|0)}}}}else{k[n+252>>2]=(k[n+280>>2]|0)+(k[n+276>>2]|0);b=MZ(k[n+252>>2]|0)|0;if((b|0)==(MZ(k[n+332>>2]|0)|0)){k[n+244>>2]=0;k[n+240>>2]=(k[n+332>>2]|0)+((k[n+292>>2]|0)-(k[n+276>>2]|0));if((k[n+240>>2]|0)>>>0>(k[n+324>>2]|0)>>>0)k[n+240>>2]=k[n+324>>2];b=(NZ((k[n+332>>2]|0)+4|0,(k[n+252>>2]|0)+4|0,k[n+240>>2]|0)|0)+4|0;k[n+248>>2]=b;if(((k[n+332>>2]|0)+(k[n+248>>2]|0)|0)==(k[n+240>>2]|0))if((k[n+240>>2]|0)>>>0<(k[n+324>>2]|0)>>>0){b=NZ((k[n+332>>2]|0)+(k[n+248>>2]|0)|0,(k[n+296>>2]|0)+(k[n+292>>2]|0)|0,k[n+324>>2]|0)|0;k[n+248>>2]=(k[n+248>>2]|0)+b}while(1){do if(((k[n+332>>2]|0)+(k[n+244>>2]|0)|0)>>>0>(k[n+328>>2]|0)>>>0){if(((k[n+276>>2]|0)+(k[n+244>>2]|0)|0)>>>0<=(k[n+284>>2]|0)>>>0){f=0;break}f=(l[(k[n+332>>2]|0)+((k[n+244>>2]|0)-1)>>0]|0|0)==(l[(k[n+252>>2]|0)+((k[n+244>>2]|0)-1)>>0]|0|0)}else f=0;while(0);a=k[n+244>>2]|0;if(!f)break;k[n+244>>2]=a+-1}k[n+248>>2]=(k[n+248>>2]|0)-a;if((k[n+248>>2]|0)>(k[n+320>>2]|0)){k[n+320>>2]=k[n+248>>2];k[k[n+316>>2]>>2]=(k[n+296>>2]|0)+(k[n+276>>2]|0)+(k[n+244>>2]|0);k[k[n+312>>2]>>2]=(k[n+332>>2]|0)+(k[n+244>>2]|0)}}}k[n+276>>2]=(k[n+276>>2]|0)-(m[(k[n+304>>2]|0)+((k[n+276>>2]&65535)<<1)>>1]|0)}k[n+56>>2]=k[n+320>>2]}else k[n+56>>2]=k[n+60>>2];if((k[n+56>>2]|0)==(k[n+60>>2]|0)){h=69;break}if((k[n+24>>2]|0)>>>0<(k[n+92>>2]|0)>>>0)if((k[n+40>>2]|0)>>>0<((k[n+92>>2]|0)+(k[n+48>>2]|0)|0)>>>0){k[n+92>>2]=k[n+24>>2];k[n+44>>2]=k[n+20>>2];k[n+60>>2]=k[n+48>>2]}if(((k[n+40>>2]|0)-(k[n+92>>2]|0)|0)<3){k[n+60>>2]=k[n+56>>2];k[n+92>>2]=k[n+40>>2];k[n+44>>2]=k[n+36>>2];continue}while(1){if(((k[n+40>>2]|0)-(k[n+92>>2]|0)|0)<18){b=k[n+60>>2]|0;k[n+12>>2]=b;k[n+12>>2]=(k[n+12>>2]|0)>18?18:b;if(((k[n+92>>2]|0)+(k[n+12>>2]|0)|0)>>>0>((k[n+40>>2]|0)+(k[n+56>>2]|0)+-4|0)>>>0)k[n+12>>2]=(k[n+40>>2]|0)-(k[n+92>>2]|0)+(k[n+56>>2]|0)-4;k[n+16>>2]=(k[n+12>>2]|0)-((k[n+40>>2]|0)-(k[n+92>>2]|0));if((k[n+16>>2]|0)>0){k[n+40>>2]=(k[n+40>>2]|0)+(k[n+16>>2]|0);k[n+36>>2]=(k[n+36>>2]|0)+(k[n+16>>2]|0);k[n+56>>2]=(k[n+56>>2]|0)-(k[n+16>>2]|0)}}if(((k[n+40>>2]|0)+(k[n+56>>2]|0)|0)>>>0<(k[n+80>>2]|0)>>>0){c=(k[n+40>>2]|0)+(k[n+56>>2]|0)+-3|0;d=k[n+40>>2]|0;g=k[n+76>>2]|0;e=k[n+56>>2]|0;b=k[n+64>>2]|0;k[n+516>>2]=k[n+96>>2];k[n+512>>2]=c;k[n+508>>2]=d;k[n+504>>2]=g;k[n+500>>2]=e;k[n+496>>2]=n+28;k[n+492>>2]=n+32;k[n+488>>2]=b;k[n+484>>2]=(k[n+516>>2]|0)+131072;k[n+480>>2]=k[n+516>>2];k[n+476>>2]=k[(k[n+516>>2]|0)+262148>>2];k[n+472>>2]=k[(k[n+516>>2]|0)+262160>>2];k[n+468>>2]=(k[n+476>>2]|0)+(k[n+472>>2]|0);if(((k[(k[n+516>>2]|0)+262164>>2]|0)+65536|0)>>>0>((k[n+512>>2]|0)-(k[n+476>>2]|0)|0)>>>0)f=k[(k[n+516>>2]|0)+262164>>2]|0;else f=(k[n+512>>2]|0)-(k[n+476>>2]|0)-65535|0;k[n+464>>2]=f;k[n+460>>2]=k[(k[n+516>>2]|0)+262152>>2];k[n+452>>2]=k[n+488>>2];k[n+448>>2]=(k[n+512>>2]|0)-(k[n+508>>2]|0);b=k[n+512>>2]|0;k[n+552>>2]=k[n+516>>2];k[n+548>>2]=b;k[n+544>>2]=(k[n+552>>2]|0)+131072;k[n+540>>2]=k[n+552>>2];k[n+536>>2]=k[(k[n+552>>2]|0)+262148>>2];k[n+532>>2]=(k[n+548>>2]|0)-(k[n+536>>2]|0);k[n+528>>2]=k[(k[n+552>>2]|0)+262168>>2];while(1){if((k[n+528>>2]|0)>>>0>=(k[n+532>>2]|0)>>>0)break;b=LZ((k[n+536>>2]|0)+(k[n+528>>2]|0)|0)|0;k[n+524>>2]=b;b=(k[n+528>>2]|0)-(k[(k[n+540>>2]|0)+(k[n+524>>2]<<2)>>2]|0)|0;k[n+520>>2]=b;k[n+520>>2]=(k[n+520>>2]|0)>>>0>65535?65535:b;j[(k[n+544>>2]|0)+((k[n+528>>2]&65535)<<1)>>1]=k[n+520>>2];k[(k[n+540>>2]|0)+(k[n+524>>2]<<2)>>2]=k[n+528>>2];k[n+528>>2]=(k[n+528>>2]|0)+1}k[(k[n+552>>2]|0)+262168>>2]=k[n+532>>2];b=LZ(k[n+512>>2]|0)|0;k[n+456>>2]=k[(k[n+480>>2]|0)+(b<<2)>>2];while(1){if(!((k[n+456>>2]|0)>>>0>=(k[n+464>>2]|0)>>>0?(k[n+452>>2]|0)!=0:0))break;k[n+452>>2]=(k[n+452>>2]|0)+-1;do if((k[n+456>>2]|0)>>>0>=(k[n+472>>2]|0)>>>0){k[n+444>>2]=(k[n+476>>2]|0)+(k[n+456>>2]|0);if((l[(k[n+508>>2]|0)+(k[n+500>>2]|0)>>0]|0|0)!=(l[(k[n+444>>2]|0)+(0-(k[n+448>>2]|0))+(k[n+500>>2]|0)>>0]|0|0))break;b=MZ(k[n+444>>2]|0)|0;if((b|0)!=(MZ(k[n+512>>2]|0)|0))break;b=4+(NZ((k[n+512>>2]|0)+4|0,(k[n+444>>2]|0)+4|0,k[n+504>>2]|0)|0)|0;k[n+440>>2]=b;k[n+436>>2]=0;while(1){do if(((k[n+512>>2]|0)+(k[n+436>>2]|0)|0)>>>0>(k[n+508>>2]|0)>>>0){if(((k[n+444>>2]|0)+(k[n+436>>2]|0)|0)>>>0<=(k[n+468>>2]|0)>>>0){f=0;break}f=(l[(k[n+512>>2]|0)+((k[n+436>>2]|0)-1)>>0]|0|0)==(l[(k[n+444>>2]|0)+((k[n+436>>2]|0)-1)>>0]|0|0)}else f=0;while(0);a=k[n+436>>2]|0;if(!f)break;k[n+436>>2]=a+-1}k[n+440>>2]=(k[n+440>>2]|0)-a;if((k[n+440>>2]|0)<=(k[n+500>>2]|0))break;k[n+500>>2]=k[n+440>>2];k[k[n+496>>2]>>2]=(k[n+444>>2]|0)+(k[n+436>>2]|0);k[k[n+492>>2]>>2]=(k[n+512>>2]|0)+(k[n+436>>2]|0)}else{k[n+432>>2]=(k[n+460>>2]|0)+(k[n+456>>2]|0);b=MZ(k[n+432>>2]|0)|0;if((b|0)!=(MZ(k[n+512>>2]|0)|0))break;k[n+424>>2]=0;k[n+420>>2]=(k[n+512>>2]|0)+((k[n+472>>2]|0)-(k[n+456>>2]|0));if((k[n+420>>2]|0)>>>0>(k[n+504>>2]|0)>>>0)k[n+420>>2]=k[n+504>>2];b=(NZ((k[n+512>>2]|0)+4|0,(k[n+432>>2]|0)+4|0,k[n+420>>2]|0)|0)+4|0;k[n+428>>2]=b;do if(((k[n+512>>2]|0)+(k[n+428>>2]|0)|0)==(k[n+420>>2]|0)){if((k[n+420>>2]|0)>>>0>=(k[n+504>>2]|0)>>>0)break;b=NZ((k[n+512>>2]|0)+(k[n+428>>2]|0)|0,(k[n+476>>2]|0)+(k[n+472>>2]|0)|0,k[n+504>>2]|0)|0;k[n+428>>2]=(k[n+428>>2]|0)+b}while(0);while(1){do if(((k[n+512>>2]|0)+(k[n+424>>2]|0)|0)>>>0>(k[n+508>>2]|0)>>>0){if(((k[n+456>>2]|0)+(k[n+424>>2]|0)|0)>>>0<=(k[n+464>>2]|0)>>>0){a=0;break}a=(l[(k[n+512>>2]|0)+((k[n+424>>2]|0)-1)>>0]|0|0)==(l[(k[n+432>>2]|0)+((k[n+424>>2]|0)-1)>>0]|0|0)}else a=0;while(0);f=k[n+424>>2]|0;if(!a)break;k[n+424>>2]=f+-1}k[n+428>>2]=(k[n+428>>2]|0)-f;if((k[n+428>>2]|0)<=(k[n+500>>2]|0))break;k[n+500>>2]=k[n+428>>2];k[k[n+496>>2]>>2]=(k[n+476>>2]|0)+(k[n+456>>2]|0)+(k[n+424>>2]|0);k[k[n+492>>2]>>2]=(k[n+512>>2]|0)+(k[n+424>>2]|0)}while(0);k[n+456>>2]=(k[n+456>>2]|0)-(m[(k[n+484>>2]|0)+((k[n+456>>2]&65535)<<1)>>1]|0)}k[n+52>>2]=k[n+500>>2]}else k[n+52>>2]=k[n+56>>2];if((k[n+52>>2]|0)==(k[n+56>>2]|0))break b;if((k[n+32>>2]|0)>>>0<((k[n+92>>2]|0)+(k[n+60>>2]|0)+3|0)>>>0){if((k[n+32>>2]|0)>>>0>=((k[n+92>>2]|0)+(k[n+60>>2]|0)|0)>>>0)break;k[n+40>>2]=k[n+32>>2];k[n+36>>2]=k[n+28>>2];k[n+56>>2]=k[n+52>>2];continue}do if((k[n+40>>2]|0)>>>0<((k[n+92>>2]|0)+(k[n+60>>2]|0)|0)>>>0){if(((k[n+40>>2]|0)-(k[n+92>>2]|0)|0)>=15){k[n+60>>2]=(k[n+40>>2]|0)-(k[n+92>>2]|0);break}if((k[n+60>>2]|0)>18)k[n+60>>2]=18;if(((k[n+92>>2]|0)+(k[n+60>>2]|0)|0)>>>0>((k[n+40>>2]|0)+(k[n+56>>2]|0)+-4|0)>>>0)k[n+60>>2]=(k[n+40>>2]|0)-(k[n+92>>2]|0)+(k[n+56>>2]|0)-4;k[n+4>>2]=(k[n+60>>2]|0)-((k[n+40>>2]|0)-(k[n+92>>2]|0));if((k[n+4>>2]|0)<=0)break;k[n+40>>2]=(k[n+40>>2]|0)+(k[n+4>>2]|0);k[n+36>>2]=(k[n+36>>2]|0)+(k[n+4>>2]|0);k[n+56>>2]=(k[n+56>>2]|0)-(k[n+4>>2]|0)}while(0);d=k[n+60>>2]|0;g=k[n+44>>2]|0;b=k[n+100>>2]|0;e=k[n+68>>2]|0;k[n+724>>2]=n+92;k[n+720>>2]=n+72;k[n+716>>2]=n+88;k[n+712>>2]=d;k[n+708>>2]=g;k[n+704>>2]=b;k[n+700>>2]=e;k[n+696>>2]=(k[k[n+724>>2]>>2]|0)-(k[k[n+716>>2]>>2]|0);e=k[n+720>>2]|0;b=k[e>>2]|0;k[e>>2]=b+1;k[n+692>>2]=b;if(k[n+704>>2]|0)if(((k[k[n+720>>2]>>2]|0)+(k[n+696>>2]>>8)+(k[n+696>>2]|0)+8|0)>>>0>(k[n+700>>2]|0)>>>0)k[n+728>>2]=1;else h=229;else h=229;c:do if((h|0)==229){h=0;if((k[n+696>>2]|0)>=15){i[k[n+692>>2]>>0]=-16;k[n+688>>2]=(k[n+696>>2]|0)-15;while(1){if((k[n+688>>2]|0)<=254)break;e=k[n+720>>2]|0;b=k[e>>2]|0;k[e>>2]=b+1;i[b>>0]=-1;k[n+688>>2]=(k[n+688>>2]|0)-255}e=k[n+688>>2]&255;g=k[n+720>>2]|0;b=k[g>>2]|0;k[g>>2]=b+1;i[b>>0]=e}else i[k[n+692>>2]>>0]=k[n+696>>2]<<4;UZ(k[k[n+720>>2]>>2]|0,k[k[n+716>>2]>>2]|0,(k[k[n+720>>2]>>2]|0)+(k[n+696>>2]|0)|0);b=k[n+720>>2]|0;k[b>>2]=(k[b>>2]|0)+(k[n+696>>2]|0);WZ(k[k[n+720>>2]>>2]|0,(k[k[n+724>>2]>>2]|0)-(k[n+708>>2]|0)&65535);b=k[n+720>>2]|0;k[b>>2]=(k[b>>2]|0)+2;k[n+696>>2]=(k[n+712>>2]|0)-4;do if(k[n+704>>2]|0){if(((k[k[n+720>>2]>>2]|0)+(k[n+696>>2]>>8)+6|0)>>>0<=(k[n+700>>2]|0)>>>0)break;k[n+728>>2]=1;break c}while(0);if((k[n+696>>2]|0)>=15){b=k[n+692>>2]|0;i[b>>0]=(l[b>>0]|0)+15;k[n+696>>2]=(k[n+696>>2]|0)-15;while(1){if((k[n+696>>2]|0)<=509)break;b=k[n+720>>2]|0;e=k[b>>2]|0;k[b>>2]=e+1;i[e>>0]=-1;e=k[n+720>>2]|0;b=k[e>>2]|0;k[e>>2]=b+1;i[b>>0]=-1;k[n+696>>2]=(k[n+696>>2]|0)-510}if((k[n+696>>2]|0)>254){k[n+696>>2]=(k[n+696>>2]|0)-255;e=k[n+720>>2]|0;b=k[e>>2]|0;k[e>>2]=b+1;i[b>>0]=-1}e=k[n+696>>2]&255;g=k[n+720>>2]|0;b=k[g>>2]|0;k[g>>2]=b+1;i[b>>0]=e}else{b=k[n+692>>2]|0;i[b>>0]=(l[b>>0]|0)+(k[n+696>>2]&255)}b=k[n+724>>2]|0;k[b>>2]=(k[b>>2]|0)+(k[n+712>>2]|0);k[k[n+716>>2]>>2]=k[k[n+724>>2]>>2];k[n+728>>2]=0}while(0);if(k[n+728>>2]|0){h=248;break a}k[n+92>>2]=k[n+40>>2];k[n+44>>2]=k[n+36>>2];k[n+60>>2]=k[n+56>>2];k[n+40>>2]=k[n+32>>2];k[n+36>>2]=k[n+28>>2];k[n+56>>2]=k[n+52>>2]}if((k[n+40>>2]|0)>>>0<((k[n+92>>2]|0)+(k[n+60>>2]|0)|0)>>>0){k[n+8>>2]=(k[n+92>>2]|0)+(k[n+60>>2]|0)-(k[n+40>>2]|0);k[n+40>>2]=(k[n+40>>2]|0)+(k[n+8>>2]|0);k[n+36>>2]=(k[n+36>>2]|0)+(k[n+8>>2]|0);k[n+56>>2]=(k[n+56>>2]|0)-(k[n+8>>2]|0);if((k[n+56>>2]|0)<4){k[n+40>>2]=k[n+32>>2];k[n+36>>2]=k[n+28>>2];k[n+56>>2]=k[n+52>>2]}}d=k[n+60>>2]|0;g=k[n+44>>2]|0;b=k[n+100>>2]|0;e=k[n+68>>2]|0;k[n+680>>2]=n+92;k[n+676>>2]=n+72;k[n+672>>2]=n+88;k[n+668>>2]=d;k[n+664>>2]=g;k[n+660>>2]=b;k[n+656>>2]=e;k[n+652>>2]=(k[k[n+680>>2]>>2]|0)-(k[k[n+672>>2]>>2]|0);e=k[n+676>>2]|0;b=k[e>>2]|0;k[e>>2]=b+1;k[n+648>>2]=b;if(k[n+660>>2]|0)if(((k[k[n+676>>2]>>2]|0)+(k[n+652>>2]>>8)+(k[n+652>>2]|0)+8|0)>>>0>(k[n+656>>2]|0)>>>0)k[n+684>>2]=1;else h=195;else h=195;do if((h|0)==195){h=0;if((k[n+652>>2]|0)>=15){i[k[n+648>>2]>>0]=-16;k[n+644>>2]=(k[n+652>>2]|0)-15;while(1){if((k[n+644>>2]|0)<=254)break;e=k[n+676>>2]|0;b=k[e>>2]|0;k[e>>2]=b+1;i[b>>0]=-1;k[n+644>>2]=(k[n+644>>2]|0)-255}e=k[n+644>>2]&255;g=k[n+676>>2]|0;b=k[g>>2]|0;k[g>>2]=b+1;i[b>>0]=e}else i[k[n+648>>2]>>0]=k[n+652>>2]<<4;UZ(k[k[n+676>>2]>>2]|0,k[k[n+672>>2]>>2]|0,(k[k[n+676>>2]>>2]|0)+(k[n+652>>2]|0)|0);b=k[n+676>>2]|0;k[b>>2]=(k[b>>2]|0)+(k[n+652>>2]|0);WZ(k[k[n+676>>2]>>2]|0,(k[k[n+680>>2]>>2]|0)-(k[n+664>>2]|0)&65535);b=k[n+676>>2]|0;k[b>>2]=(k[b>>2]|0)+2;k[n+652>>2]=(k[n+668>>2]|0)-4;if(k[n+660>>2]|0)if(((k[k[n+676>>2]>>2]|0)+(k[n+652>>2]>>8)+6|0)>>>0>(k[n+656>>2]|0)>>>0){k[n+684>>2]=1;break}if((k[n+652>>2]|0)>=15){b=k[n+648>>2]|0;i[b>>0]=(l[b>>0]|0)+15;k[n+652>>2]=(k[n+652>>2]|0)-15;while(1){if((k[n+652>>2]|0)<=509)break;b=k[n+676>>2]|0;e=k[b>>2]|0;k[b>>2]=e+1;i[e>>0]=-1;e=k[n+676>>2]|0;b=k[e>>2]|0;k[e>>2]=b+1;i[b>>0]=-1;k[n+652>>2]=(k[n+652>>2]|0)-510}if((k[n+652>>2]|0)>254){k[n+652>>2]=(k[n+652>>2]|0)-255;e=k[n+676>>2]|0;b=k[e>>2]|0;k[e>>2]=b+1;i[b>>0]=-1}e=k[n+652>>2]&255;g=k[n+676>>2]|0;b=k[g>>2]|0;k[g>>2]=b+1;i[b>>0]=e}else{b=k[n+648>>2]|0;i[b>>0]=(l[b>>0]|0)+(k[n+652>>2]&255)}b=k[n+680>>2]|0;k[b>>2]=(k[b>>2]|0)+(k[n+668>>2]|0);k[k[n+672>>2]>>2]=k[k[n+680>>2]>>2];k[n+684>>2]=0}while(0);if(k[n+684>>2]|0){h=214;break a}k[n+92>>2]=k[n+32>>2];k[n+44>>2]=k[n+28>>2];k[n+60>>2]=k[n+52>>2];k[n+24>>2]=k[n+40>>2];k[n+20>>2]=k[n+36>>2];k[n+48>>2]=k[n+56>>2]}if((h|0)==69){h=0;d=k[n+60>>2]|0;g=k[n+44>>2]|0;b=k[n+100>>2]|0;e=k[n+68>>2]|0;k[n+412>>2]=n+92;k[n+408>>2]=n+72;k[n+404>>2]=n+88;k[n+400>>2]=d;k[n+396>>2]=g;k[n+392>>2]=b;k[n+388>>2]=e;k[n+384>>2]=(k[k[n+412>>2]>>2]|0)-(k[k[n+404>>2]>>2]|0);e=k[n+408>>2]|0;b=k[e>>2]|0;k[e>>2]=b+1;k[n+380>>2]=b;if(k[n+392>>2]|0)if(((k[k[n+408>>2]>>2]|0)+(k[n+384>>2]>>8)+(k[n+384>>2]|0)+8|0)>>>0>(k[n+388>>2]|0)>>>0)k[n+416>>2]=1;else h=72;else h=72;do if((h|0)==72){h=0;if((k[n+384>>2]|0)>=15){i[k[n+380>>2]>>0]=-16;k[n+376>>2]=(k[n+384>>2]|0)-15;while(1){if((k[n+376>>2]|0)<=254)break;e=k[n+408>>2]|0;b=k[e>>2]|0;k[e>>2]=b+1;i[b>>0]=-1;k[n+376>>2]=(k[n+376>>2]|0)-255}e=k[n+376>>2]&255;g=k[n+408>>2]|0;b=k[g>>2]|0;k[g>>2]=b+1;i[b>>0]=e}else i[k[n+380>>2]>>0]=k[n+384>>2]<<4;UZ(k[k[n+408>>2]>>2]|0,k[k[n+404>>2]>>2]|0,(k[k[n+408>>2]>>2]|0)+(k[n+384>>2]|0)|0);b=k[n+408>>2]|0;k[b>>2]=(k[b>>2]|0)+(k[n+384>>2]|0);WZ(k[k[n+408>>2]>>2]|0,(k[k[n+412>>2]>>2]|0)-(k[n+396>>2]|0)&65535);b=k[n+408>>2]|0;k[b>>2]=(k[b>>2]|0)+2;k[n+384>>2]=(k[n+400>>2]|0)-4;if(k[n+392>>2]|0)if(((k[k[n+408>>2]>>2]|0)+(k[n+384>>2]>>8)+6|0)>>>0>(k[n+388>>2]|0)>>>0){k[n+416>>2]=1;break}if((k[n+384>>2]|0)>=15){b=k[n+380>>2]|0;i[b>>0]=(l[b>>0]|0)+15;k[n+384>>2]=(k[n+384>>2]|0)-15;while(1){if((k[n+384>>2]|0)<=509)break;b=k[n+408>>2]|0;e=k[b>>2]|0;k[b>>2]=e+1;i[e>>0]=-1;e=k[n+408>>2]|0;b=k[e>>2]|0;k[e>>2]=b+1;i[b>>0]=-1;k[n+384>>2]=(k[n+384>>2]|0)-510}if((k[n+384>>2]|0)>254){k[n+384>>2]=(k[n+384>>2]|0)-255;e=k[n+408>>2]|0;b=k[e>>2]|0;k[e>>2]=b+1;i[b>>0]=-1}e=k[n+384>>2]&255;g=k[n+408>>2]|0;b=k[g>>2]|0;k[g>>2]=b+1;i[b>>0]=e}else{b=k[n+380>>2]|0;i[b>>0]=(l[b>>0]|0)+(k[n+384>>2]&255)}b=k[n+412>>2]|0;k[b>>2]=(k[b>>2]|0)+(k[n+400>>2]|0);k[k[n+404>>2]>>2]=k[k[n+412>>2]>>2];k[n+416>>2]=0}while(0);if(k[n+416>>2]|0){h=91;break}else continue}if((k[n+40>>2]|0)>>>0<((k[n+92>>2]|0)+(k[n+60>>2]|0)|0)>>>0)k[n+60>>2]=(k[n+40>>2]|0)-(k[n+92>>2]|0);d=k[n+60>>2]|0;g=k[n+44>>2]|0;b=k[n+100>>2]|0;e=k[n+68>>2]|0;k[n+592>>2]=n+92;k[n+588>>2]=n+72;k[n+584>>2]=n+88;k[n+580>>2]=d;k[n+576>>2]=g;k[n+572>>2]=b;k[n+568>>2]=e;k[n+564>>2]=(k[k[n+592>>2]>>2]|0)-(k[k[n+584>>2]>>2]|0);e=k[n+588>>2]|0;b=k[e>>2]|0;k[e>>2]=b+1;k[n+560>>2]=b;if(k[n+572>>2]|0)if(((k[k[n+588>>2]>>2]|0)+(k[n+564>>2]>>8)+(k[n+564>>2]|0)+8|0)>>>0>(k[n+568>>2]|0)>>>0)k[n+596>>2]=1;else h=144;else h=144;do if((h|0)==144){h=0;if((k[n+564>>2]|0)>=15){i[k[n+560>>2]>>0]=-16;k[n+556>>2]=(k[n+564>>2]|0)-15;while(1){if((k[n+556>>2]|0)<=254)break;e=k[n+588>>2]|0;b=k[e>>2]|0;k[e>>2]=b+1;i[b>>0]=-1;k[n+556>>2]=(k[n+556>>2]|0)-255}e=k[n+556>>2]&255;g=k[n+588>>2]|0;b=k[g>>2]|0;k[g>>2]=b+1;i[b>>0]=e}else i[k[n+560>>2]>>0]=k[n+564>>2]<<4;UZ(k[k[n+588>>2]>>2]|0,k[k[n+584>>2]>>2]|0,(k[k[n+588>>2]>>2]|0)+(k[n+564>>2]|0)|0);b=k[n+588>>2]|0;k[b>>2]=(k[b>>2]|0)+(k[n+564>>2]|0);WZ(k[k[n+588>>2]>>2]|0,(k[k[n+592>>2]>>2]|0)-(k[n+576>>2]|0)&65535);b=k[n+588>>2]|0;k[b>>2]=(k[b>>2]|0)+2;k[n+564>>2]=(k[n+580>>2]|0)-4;if(k[n+572>>2]|0)if(((k[k[n+588>>2]>>2]|0)+(k[n+564>>2]>>8)+6|0)>>>0>(k[n+568>>2]|0)>>>0){k[n+596>>2]=1;break}if((k[n+564>>2]|0)>=15){b=k[n+560>>2]|0;i[b>>0]=(l[b>>0]|0)+15;k[n+564>>2]=(k[n+564>>2]|0)-15;while(1){if((k[n+564>>2]|0)<=509)break;b=k[n+588>>2]|0;e=k[b>>2]|0;k[b>>2]=e+1;i[e>>0]=-1;e=k[n+588>>2]|0;b=k[e>>2]|0;k[e>>2]=b+1;i[b>>0]=-1;k[n+564>>2]=(k[n+564>>2]|0)-510}if((k[n+564>>2]|0)>254){k[n+564>>2]=(k[n+564>>2]|0)-255;e=k[n+588>>2]|0;b=k[e>>2]|0;k[e>>2]=b+1;i[b>>0]=-1}e=k[n+564>>2]&255;g=k[n+588>>2]|0;b=k[g>>2]|0;k[g>>2]=b+1;i[b>>0]=e}else{b=k[n+560>>2]|0;i[b>>0]=(l[b>>0]|0)+(k[n+564>>2]&255)}b=k[n+592>>2]|0;k[b>>2]=(k[b>>2]|0)+(k[n+580>>2]|0);k[k[n+584>>2]>>2]=k[k[n+592>>2]>>2];k[n+596>>2]=0}while(0);if(k[n+596>>2]|0){h=163;break}k[n+92>>2]=k[n+40>>2];d=k[n+56>>2]|0;g=k[n+36>>2]|0;b=k[n+100>>2]|0;e=k[n+68>>2]|0;k[n+636>>2]=n+92;k[n+632>>2]=n+72;k[n+628>>2]=n+88;k[n+624>>2]=d;k[n+620>>2]=g;k[n+616>>2]=b;k[n+612>>2]=e;k[n+608>>2]=(k[k[n+636>>2]>>2]|0)-(k[k[n+628>>2]>>2]|0);e=k[n+632>>2]|0;b=k[e>>2]|0;k[e>>2]=b+1;k[n+604>>2]=b;if(k[n+616>>2]|0)if(((k[k[n+632>>2]>>2]|0)+(k[n+608>>2]>>8)+(k[n+608>>2]|0)+8|0)>>>0>(k[n+612>>2]|0)>>>0)k[n+640>>2]=1;else h=167;else h=167;do if((h|0)==167){h=0;if((k[n+608>>2]|0)>=15){i[k[n+604>>2]>>0]=-16;k[n+600>>2]=(k[n+608>>2]|0)-15;while(1){if((k[n+600>>2]|0)<=254)break;e=k[n+632>>2]|0;b=k[e>>2]|0;k[e>>2]=b+1;i[b>>0]=-1;k[n+600>>2]=(k[n+600>>2]|0)-255}e=k[n+600>>2]&255;g=k[n+632>>2]|0;b=k[g>>2]|0;k[g>>2]=b+1;i[b>>0]=e}else i[k[n+604>>2]>>0]=k[n+608>>2]<<4;UZ(k[k[n+632>>2]>>2]|0,k[k[n+628>>2]>>2]|0,(k[k[n+632>>2]>>2]|0)+(k[n+608>>2]|0)|0);b=k[n+632>>2]|0;k[b>>2]=(k[b>>2]|0)+(k[n+608>>2]|0);WZ(k[k[n+632>>2]>>2]|0,(k[k[n+636>>2]>>2]|0)-(k[n+620>>2]|0)&65535);b=k[n+632>>2]|0;k[b>>2]=(k[b>>2]|0)+2;k[n+608>>2]=(k[n+624>>2]|0)-4;if(k[n+616>>2]|0)if(((k[k[n+632>>2]>>2]|0)+(k[n+608>>2]>>8)+6|0)>>>0>(k[n+612>>2]|0)>>>0){k[n+640>>2]=1;break}if((k[n+608>>2]|0)>=15){b=k[n+604>>2]|0;i[b>>0]=(l[b>>0]|0)+15;k[n+608>>2]=(k[n+608>>2]|0)-15;while(1){if((k[n+608>>2]|0)<=509)break;b=k[n+632>>2]|0;e=k[b>>2]|0;k[b>>2]=e+1;i[e>>0]=-1;e=k[n+632>>2]|0;b=k[e>>2]|0;k[e>>2]=b+1;i[b>>0]=-1;k[n+608>>2]=(k[n+608>>2]|0)-510}if((k[n+608>>2]|0)>254){k[n+608>>2]=(k[n+608>>2]|0)-255;e=k[n+632>>2]|0;b=k[e>>2]|0;k[e>>2]=b+1;i[b>>0]=-1}e=k[n+608>>2]&255;g=k[n+632>>2]|0;b=k[g>>2]|0;k[g>>2]=b+1;i[b>>0]=e}else{b=k[n+604>>2]|0;i[b>>0]=(l[b>>0]|0)+(k[n+608>>2]&255)}b=k[n+636>>2]|0;k[b>>2]=(k[b>>2]|0)+(k[n+624>>2]|0);k[k[n+628>>2]>>2]=k[k[n+636>>2]>>2];k[n+640>>2]=0}while(0);if(k[n+640>>2]|0){h=186;break}}if((h|0)==91){k[n+128>>2]=0;h=k[n+128>>2]|0;r=n;return h|0}else if((h|0)==163){k[n+128>>2]=0;h=k[n+128>>2]|0;r=n;return h|0}else if((h|0)==186){k[n+128>>2]=0;h=k[n+128>>2]|0;r=n;return h|0}else if((h|0)==214){k[n+128>>2]=0;h=k[n+128>>2]|0;r=n;return h|0}else if((h|0)==248){k[n+128>>2]=0;h=k[n+128>>2]|0;r=n;return h|0}else if((h|0)==250){k[n>>2]=(k[n+84>>2]|0)-(k[n+88>>2]|0);if(k[n+100>>2]|0)if(((k[n+72>>2]|0)-(k[n+116>>2]|0)+(k[n>>2]|0)+1+((((k[n>>2]|0)+255-15|0)>>>0)/255|0)|0)>>>0>(k[n+108>>2]|0)>>>0){k[n+128>>2]=0;h=k[n+128>>2]|0;r=n;return h|0}if((k[n>>2]|0)>=15){h=k[n+72>>2]|0;k[n+72>>2]=h+1;i[h>>0]=-16;k[n>>2]=(k[n>>2]|0)-15;while(1){if((k[n>>2]|0)<=254)break;h=k[n+72>>2]|0;k[n+72>>2]=h+1;i[h>>0]=-1;k[n>>2]=(k[n>>2]|0)-255}b=k[n>>2]&255;h=k[n+72>>2]|0;k[n+72>>2]=h+1;i[h>>0]=b}else{b=k[n>>2]<<4&255;h=k[n+72>>2]|0;k[n+72>>2]=h+1;i[h>>0]=b}ABb(k[n+72>>2]|0,k[n+88>>2]|0,(k[n+84>>2]|0)-(k[n+88>>2]|0)|0)|0;k[n+72>>2]=(k[n+72>>2]|0)+((k[n+84>>2]|0)-(k[n+88>>2]|0));k[n+128>>2]=(k[n+72>>2]|0)-(k[n+116>>2]|0);h=k[n+128>>2]|0;r=n;return h|0}return 0}function LZ(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;a=(ha(MZ(k[b>>2]|0)|0,-1640531535)|0)>>>17;r=b;return a|0}function MZ(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+4>>2]=a;a=k[b+4>>2]|0;i[b>>0]=i[a>>0]|0;i[b+1>>0]=i[a+1>>0]|0;i[b+2>>0]=i[a+2>>0]|0;i[b+3>>0]=i[a+3>>0]|0;r=b;return k[b>>2]|0}function NZ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+32|0;k[e+16>>2]=a;k[e+12>>2]=b;k[e+8>>2]=c;k[e+4>>2]=k[e+16>>2];while(1){if(!((k[e+16>>2]|0)>>>0<((k[e+8>>2]|0)+-3|0)>>>0|0))break;b=OZ(k[e+12>>2]|0)|0;b=b^(OZ(k[e+16>>2]|0)|0);k[e>>2]=b;if(k[e>>2]|0){d=5;break}k[e+16>>2]=(k[e+16>>2]|0)+4;k[e+12>>2]=(k[e+12>>2]|0)+4}if((d|0)==5){d=RZ(k[e>>2]|0)|0;k[e+16>>2]=(k[e+16>>2]|0)+d;k[e+20>>2]=(k[e+16>>2]|0)-(k[e+4>>2]|0);d=k[e+20>>2]|0;r=e;return d|0}if(PZ()|0)if((k[e+16>>2]|0)>>>0<((k[e+8>>2]|0)+-3|0)>>>0){d=MZ(k[e+12>>2]|0)|0;if((d|0)==(MZ(k[e+16>>2]|0)|0)){k[e+16>>2]=(k[e+16>>2]|0)+4;k[e+12>>2]=(k[e+12>>2]|0)+4}}if((k[e+16>>2]|0)>>>0<((k[e+8>>2]|0)+-1|0)>>>0){d=(TZ(k[e+12>>2]|0)|0)&65535;if((d|0)==((TZ(k[e+16>>2]|0)|0)&65535|0)){k[e+16>>2]=(k[e+16>>2]|0)+2;k[e+12>>2]=(k[e+12>>2]|0)+2}}if((k[e+16>>2]|0)>>>0<(k[e+8>>2]|0)>>>0)if((l[k[e+12>>2]>>0]|0|0)==(l[k[e+16>>2]>>0]|0|0))k[e+16>>2]=(k[e+16>>2]|0)+1;k[e+20>>2]=(k[e+16>>2]|0)-(k[e+4>>2]|0);d=k[e+20>>2]|0;r=e;return d|0}function OZ(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;k[b>>2]=a;c=(PZ()|0)!=0;a=k[b>>2]|0;if(c){c=QZ(a)|0;k[b+4>>2]=c;c=k[b+4>>2]|0;r=b;return c|0}else{c=MZ(a)|0;k[b+4>>2]=c;c=k[b+4>>2]|0;r=b;return c|0}return 0}function PZ(){return 0}function QZ(a){a=a|0;var b=0;b=r;r=r+16|0;k[b+8>>2]=a;a=k[b+8>>2]|0;i[b>>0]=i[a>>0]|0;i[b+1>>0]=i[a+1>>0]|0;i[b+2>>0]=i[a+2>>0]|0;i[b+3>>0]=i[a+3>>0]|0;i[b+4>>0]=i[a+4>>0]|0;i[b+5>>0]=i[a+5>>0]|0;i[b+6>>0]=i[a+6>>0]|0;i[b+7>>0]=i[a+7>>0]|0;L=k[b+4>>2]|0;r=b;return k[b>>2]|0}function RZ(a){a=a|0;var b=0,c=0,d=0;c=r;r=r+16|0;k[c>>2]=a;d=(SZ()|0)!=0;a=(PZ()|0)!=0;b=k[c>>2]|0;do if(d)if(a){d=Kf(b|0,0,0)|0;k[c+4>>2]=d>>3;break}else{d=(wBb(b|0)|0)>>3;k[c+4>>2]=d;break}else if(a){d=CBb(b|0,0,0)|0;k[c+4>>2]=d>>3;break}else{d=(ja(b|0)|0)>>3;k[c+4>>2]=d;break}while(0);r=c;return k[c+4>>2]|0}function SZ(){return l[21024]|0|0}function TZ(a){a=a|0;var b=0;b=r;r=r+16|0;k[b>>2]=a;a=k[b>>2]|0;i[b+4>>0]=i[a>>0]|0;i[b+4+1>>0]=i[a+1>>0]|0;r=b;return j[b+4>>1]|0}function UZ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+32|0;k[d+20>>2]=a;k[d+16>>2]=b;k[d+12>>2]=c;k[d+8>>2]=k[d+20>>2];k[d+4>>2]=k[d+16>>2];k[d>>2]=k[d+12>>2];do{VZ(k[d+8>>2]|0,k[d+4>>2]|0);k[d+8>>2]=(k[d+8>>2]|0)+8;k[d+4>>2]=(k[d+4>>2]|0)+8}while((k[d+8>>2]|0)>>>0<(k[d>>2]|0)>>>0);r=d;return}function VZ(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+4>>2]=a;k[c>>2]=b;b=k[c+4>>2]|0;a=k[c>>2]|0;i[b>>0]=i[a>>0]|0;i[b+1>>0]=i[a+1>>0]|0;i[b+2>>0]=i[a+2>>0]|0;i[b+3>>0]=i[a+3>>0]|0;i[b+4>>0]=i[a+4>>0]|0;i[b+5>>0]=i[a+5>>0]|0;i[b+6>>0]=i[a+6>>0]|0;i[b+7>>0]=i[a+7>>0]|0;r=c;return}function WZ(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c+4>>2]=a;j[c+8>>1]=b;b=(SZ()|0)!=0;a=k[c+4>>2]|0;if(b){i[a>>0]=i[c+8>>0]|0;i[a+1>>0]=i[c+8+1>>0]|0;r=c;return}else{k[c>>2]=a;i[k[c>>2]>>0]=j[c+8>>1];i[(k[c>>2]|0)+1>>0]=(m[c+8>>1]|0)>>8;r=c;return}}function XZ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=r;r=r+262208|0;k[f+262192>>2]=a;k[f+262188>>2]=b;k[f+262184>>2]=c;k[f+262180>>2]=d;k[f+262176>>2]=e;c=IZ(f,k[f+262192>>2]|0,k[f+262188>>2]|0,k[f+262184>>2]|0,k[f+262180>>2]|0,k[f+262176>>2]|0)|0;r=f;return c|0}function YZ(a){a=a|0;k[a>>2]=21036;Zza(k[a+52>>2]|0);uoa(a);return}function ZZ(a){a=a|0;k[a>>2]=21036;Zza(k[a+52>>2]|0);uoa(a);CAb(a);return}function _Z(a){a=a|0;var b=0;b=kBb(72)|0;$Z(b,k[a+8>>2]|0,a+12|0,k[a+24>>2]|0);return b|0}function $Z(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+48|0;Aoa(a,b,c,d);k[a>>2]=21036;c=Gi[k[(k[b>>2]|0)+16>>2]&2047](b)|0;k[a+40>>2]=c;c=Gi[k[(k[b>>2]|0)+20>>2]&2047](b)|0;k[a+44>>2]=c;k[a+48>>2]=0;k[a+52>>2]=0;k[a+56>>2]=2;p[a+64>>3]=-2.0;do if(!(i[1248830]|0))if(!(Aza()|0)){i[1248830]=1;break}else{a=xf(16)|0;os(a,362320,e);Jc(a|0,96,27)}while(0);d=Hza(0,0)|0;k[a+52>>2]=d;if(!d){a=xf(16)|0;os(a,362349,e+8|0);Jc(a|0,96,27)}Iza(d,2,32,0.0)|0;if(Lza(k[a+52>>2]|0,116,117,688)|0){a=xf(16)|0;os(a,362375,e+16|0);Jc(a|0,96,27)}if(Kza(k[a+52>>2]|0,a+40|0)|0){a=xf(16)|0;os(a,362408,e+24|0);Jc(a|0,96,27)}k[e+36>>2]=0;if((Tza(k[a+52>>2]|0,e+36|0,a+56|0,0)|0)==-1){a=xf(16)|0;os(a,362432,e+32|0);Jc(a|0,96,27)}d=k[a+56>>2]|0;if(d|0){b=k[a+52>>2]|0;d=(d|0)==2;d=d?8:4;Iza(b,1,d,0.0)|0;d=k[a+52>>2]|0;Hxa(d)|0;d=k[a+52>>2]|0;b=k[e+36>>2]|0;c=k[a+56>>2]|0;Ixa(d,b,c,208)|0;c=k[e+36>>2]|0;a=a+28|0;k[a>>2]=c;r=e;return}k[a+56>>2]=2;d=2;b=k[a+52>>2]|0;d=(d|0)==2;d=d?8:4;Iza(b,1,d,0.0)|0;d=k[a+52>>2]|0;Hxa(d)|0;d=k[a+52>>2]|0;b=k[e+36>>2]|0;c=k[a+56>>2]|0;Ixa(d,b,c,208)|0;c=k[e+36>>2]|0;a=a+28|0;k[a>>2]=c;r=e;return}function a_(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=k[a+8>>2]|0;e=(k[a+4>>2]|0)-d|0;c=e>>>0>>0?e:c;if(!c)return c|0;ABb(b|0,(k[a>>2]|0)+d|0,c|0)|0;k[a+8>>2]=(k[a+8>>2]|0)+c;return c|0}function b_(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;switch(c|0){case 0:{if((b|0)<0){a=-1;return a|0}c=k[a+4>>2]|0;if(c>>>0>b>>>0){k[a+8>>2]=b;a=b;return a|0}else{k[a+8>>2]=c;a=c;return a|0}}case 2:{k[a+8>>2]=k[a+4>>2];break}case 1:break;default:{a=-1;return a|0}}if((b|0)>0){d=k[a+4>>2]|0;c=(k[a+8>>2]|0)+b|0;if(d>>>0>c>>>0){k[a+8>>2]=c;a=c;return a|0}else{k[a+8>>2]=d;a=d;return a|0}}c=k[a+8>>2]|0;if((b|0)>=0){a=c;return a|0}if(c>>>0<(0-b|0)>>>0){k[a+8>>2]=0;a=0;return a|0}else{k[a+8>>2]=c+b;a=c+b|0;return a|0}return 0}function c_(a){a=a|0;return}function d_(a){a=a|0;var b=0,c=0,d=0,e=0;e=r;r=r+16|0;b=k[a+24>>2]|0;if((b|0)<=0){d=0;r=e;return d|0}c=b;b=0;a:while(1){if(i[a+36>>0]|0){d=8;break}k[e>>2]=0;switch(Rza(k[a+52>>2]|0,(k[a+32>>2]|0)+b|0,c-b|0,e)|0){case -12:{d=5;break a}case 0:case -11:case -10:break;default:break a}b=(k[e>>2]|0)+b|0;c=k[a+24>>2]|0;if((b|0)>=(c|0)){d=8;break}}if((d|0)==5){b=(k[e>>2]|0)+b|0;i[a+36>>0]=1}else if((d|0)==8){r=e;return b|0}d=b;r=e;return d|0}function e_(a,b){a=a|0;b=+b;var c=0;c=~~(b*+(k[a+28>>2]|0));if((c|0)<0){a=0;return a|0}if((Vza(k[a+52>>2]|0,c,0)|0)<=-1){a=0;return a|0}i[a+36>>0]=0;a=1;return a|0}function f_(a){a=a|0;i[a+36>>0]=0;return (Vza(k[a+52>>2]|0,0,0)|0)>-1|0}function g_(a){a=a|0;return 1}function h_(a){a=a|0;return k[a+56>>2]|0}function i_(a){a=a|0;return 16}function j_(a){a=a|0;var b=0.0,c=0;b=+p[a+64>>3];if(!(b==-2.0))return +b;Wza(k[a+52>>2]|0)|0;c=Yza(k[a+52>>2]|0)|0;if((c|0)<0)b=-1.0;else b=+(c|0)/+(k[a+28>>2]|0);p[a+64>>3]=b;return +b}function k_(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(!(i[621248]|0))if(Ce(621248)|0){Wqb(629456,362466,3);Wqb(629468,1279174,0);pd(621248)}e=i[a>>0]|0;g=(e&1)==0?(e&255)>>>1:k[a+4>>2]|0;e=(e&1)==0?a+1|0:k[a+8>>2]|0;f=0;while(1){c=629456+(f*12|0)|0;a=i[c>>0]|0;if(!(a&1))b=(a&255)>>>1;else b=k[629456+(f*12|0)+4>>2]|0;if(!b){a=0;b=15;break}if(!(a&1)){d=(a&255)>>>1;b=c+1|0}else{d=k[629456+(f*12|0)+4>>2]|0;b=k[629456+(f*12|0)+8>>2]|0}a=g>>>0>>0;if(!(Emb(b,e,a?g:d)|0))if(d>>>0>=g>>>0&(a^1)){a=1;b=15;break}f=f+1|0}if((b|0)==15)return a|0;return 0}function l_(){if(!(i[1248830]|0))return;return}function m_(a){a=a|0;t8a(a);return}function n_(){k[157371]=0;k[157372]=0;k[157370]=629484;return}function o_(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=r;r=r+16|0;c=k[157371]|0;do if(!c){k[g>>2]=629484;d=629484;c=629484}else{while(1){d=k[c+16>>2]|0;if(d>>>0>a>>>0){d=k[c>>2]|0;if(!d){d=c;f=4;break}else c=d}else{if(d>>>0>=a>>>0){f=10;break}e=c+4|0;d=k[e>>2]|0;if(!d){f=8;break}else c=d}}if((f|0)==4){k[g>>2]=c;break}else if((f|0)==8){k[g>>2]=c;d=e;break}else if((f|0)==10){k[g>>2]=c;if(!c){d=g;break}a=c+20|0;k[a>>2]=b;r=g;return}}while(0);e=kBb(24)|0;k[e+16>>2]=a;k[e+20>>2]=0;k[e>>2]=0;k[e+4>>2]=0;k[e+8>>2]=c;k[d>>2]=e;c=k[k[157370]>>2]|0;if(!c)c=e;else{k[157370]=c;c=k[d>>2]|0}Qj(k[157371]|0,c);k[157372]=(k[157372]|0)+1;a=e;a=a+20|0;k[a>>2]=b;r=g;return}function p_(a){a=a|0;var b=0,c=0,d=0,e=0;e=k[157371]|0;if(!e)return;else{c=629484;b=e}a:while(1){while(1){if((k[b+16>>2]|0)>>>0>=a>>>0){c=b;break}b=k[b+4>>2]|0;if(!b){d=c;break a}}b=k[c>>2]|0;if(!b){d=c;break}}if((d|0)==629484)return;if((k[d+16>>2]|0)>>>0>a>>>0)return;b=k[d+4>>2]|0;if(!b){c=d;while(1){b=k[c+8>>2]|0;if((k[b>>2]|0)==(c|0))break;else c=b}}else while(1){c=k[b>>2]|0;if(!c)break;else b=c}if((k[157370]|0)==(d|0))k[157370]=b;k[157372]=(k[157372]|0)+-1;Jj(e,d);CAb(d);return}function q_(a){a=a|0;var b=0,c=0;c=k[157371]|0;if(!c){a=0;return a|0}else b=629484;a:do{while(1){if((k[c+16>>2]|0)>>>0>=a>>>0){b=c;break}c=k[c+4>>2]|0;if(!c)break a}c=k[b>>2]|0}while((c|0)!=0);if((b|0)==629484){a=0;return a|0}if((k[b+16>>2]|0)>>>0>a>>>0){a=0;return a|0}a=k[b+20>>2]|0;return a|0}function r_(a){a=a|0;k[a>>2]=21108;if((k[a+8>>2]|0)==-1)return;Ds(k[a+4>>2]|0,-1e4,362488)|0;CHa(k[a+4>>2]|0,-1,k[a+8>>2]|0);yDa(k[a+4>>2]|0,-2);k[a+8>>2]=-1;return}function s_(a){a=a|0;k[a>>2]=21108;if((k[a+8>>2]|0)==-1){CAb(a);return}Ds(k[a+4>>2]|0,-1e4,362488)|0;CHa(k[a+4>>2]|0,-1,k[a+8>>2]|0);yDa(k[a+4>>2]|0,-2);CAb(a);return}function t_(a,b){a=a|0;b=b|0;k[a>>2]=21108;k[a+4>>2]=0;k[a+8>>2]=-1;u_(a,b);return}function u_(a,b){a=a|0;b=b|0;var c=0;if((k[a+8>>2]|0)!=-1){Ds(k[a+4>>2]|0,-1e4,362488)|0;CHa(k[a+4>>2]|0,-1,k[a+8>>2]|0);yDa(k[a+4>>2]|0,-2);k[a+8>>2]=-1}c=Xs(b)|0;k[a+4>>2]=c;Ds(b,-1e4,362488)|0;ADa(b,-2);c=BHa(b,-2)|0;k[a+8>>2]=c;yDa(b,-2);return}function v_(a,b){a=a|0;b=b|0;if((k[a+8>>2]|0)==-1){UDa(b);return}else{Ds(b,-1e4,362488)|0;gEa(b,-1,k[a+8>>2]|0);zDa(b,-2);return}}function w_(a){a=a|0;var b=0,c=0;k[a>>2]=21124;switch(k[a+8>>2]|0){case 4:{a=k[a+16>>2]|0;if(!a)return;oBb(a);return}case 6:{c=k[a+16>>2]|0;Si[k[(k[c>>2]|0)+12>>2]&1023](c);return}case 8:{c=k[a+16>>2]|0;b=k[c>>2]|0;a=k[c+4>>2]|0;if((b|0)==(a|0))a=b;else do{b=k[a+-8>>2]|0;Si[k[(k[b>>2]|0)+12>>2]&1023](b);a=k[a+-4>>2]|0;Si[k[(k[a>>2]|0)+12>>2]&1023](a);a=(k[c+4>>2]|0)+-8|0;k[c+4>>2]=a}while((k[c>>2]|0)!=(a|0));if(a|0)CAb(a);CAb(c);return}default:return}}function x_(a){a=a|0;w_(a);CAb(a);return}function y_(a,b){a=a|0;b=b|0;Uj(a);k[a>>2]=21124;k[a+8>>2]=1;i[a+16>>0]=b&1;return}function z_(a,b){a=a|0;b=+b;Uj(a);k[a>>2]=21124;k[a+8>>2]=2;p[a+16>>3]=b;return}function A_(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;Uj(a);k[a>>2]=21124;k[a+8>>2]=4;d=mBb(c+1|0)|0;vBb(d+c|0,0,(c|0)!=-1|0)|0;ABb(d|0,b|0,c|0)|0;k[a+16>>2]=d;k[a+16+4>>2]=c;return}function B_(a,b){a=a|0;b=b|0;Uj(a);k[a>>2]=21124;k[a+8>>2]=5;k[a+16>>2]=b;return}function C_(a,b,c){a=a|0;b=b|0;c=c|0;Uj(a);k[a>>2]=21124;k[a+8>>2]=6;k[a+24>>2]=b;if(!b){k[a+16>>2]=c;return}else{k[a+16>>2]=k[c+4>>2];c=k[c+4>>2]|0;Si[k[(k[c>>2]|0)+8>>2]&1023](c);return}}function D_(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0.0;f=r;r=r+16|0;if((b|0)<0)b=b+1+(xDa(a)|0)|0;switch(DDa(a,b)|0){case 1:{e=kBb(32)|0;a=qs(a,b)|0;Uj(e);k[e>>2]=21124;k[e+8>>2]=1;i[e+16>>0]=a&1;a=e;r=f;return a|0}case 3:{e=kBb(32)|0;g=+LDa(a,b);Uj(e);k[e>>2]=21124;k[e+8>>2]=2;p[e+16>>3]=g;a=e;r=f;return a|0}case 4:{c=ODa(a,b,f+8|0)|0;a=kBb(32)|0;e=k[f+8>>2]|0;Uj(a);k[a>>2]=21124;k[a+8>>2]=4;d=mBb(e+1|0)|0;vBb(d+e|0,0,(e|0)!=-1|0)|0;ABb(d|0,c|0,e|0)|0;k[a+16>>2]=d;k[a+20>>2]=e;r=f;return a|0}case 2:{e=kBb(32)|0;a=RDa(a,b)|0;Uj(e);k[e>>2]=21124;k[e+8>>2]=5;k[e+16>>2]=a;a=e;r=f;return a|0}case 7:{d=kBb(32)|0;k[f+12>>2]=0;do if(!(IDa(a,b)|0))c=0;else if(!(pHa(a,b,519081)|0))c=0;else{CDa(a,b);c=rEa(a,1,1,0)|0;if(!c)dt(ODa(a,-1,0)|0,f+12|0)|0;else if((c|2|0)!=2){c=0;break}yDa(a,-2);c=k[f+12>>2]|0}while(0);b=RDa(a,b)|0;Uj(d);k[d>>2]=21124;k[d+8>>2]=6;k[d+24>>2]=c;if(!c){k[d+16>>2]=b;a=d;r=f;return a|0}else{k[d+16>>2]=k[b+4>>2];a=k[b+4>>2]|0;Si[k[(k[a>>2]|0)+8>>2]&1023](a);a=d;r=f;return a|0}}case 0:{a=kBb(32)|0;Uj(a);k[a>>2]=21124;k[a+8>>2]=7;k[a+16>>2]=0;k[a+16+4>>2]=0;r=f;return a|0}case 5:{if(!c){a=0;r=f;return a|0}e=kBb(12)|0;k[e>>2]=0;k[e+4>>2]=0;k[e+8>>2]=0;UDa(a);a:do if(yEa(a,b)|0){while(1){d=D_(a,-2,0)|0;if(!d){b=22;break}c=D_(a,-1,0)|0;if(!c){b=24;break}k[f>>2]=d;k[f+4>>2]=c;c=k[e+4>>2]|0;if(c>>>0<(k[e+8>>2]|0)>>>0){d=k[f+4>>2]|0;k[c>>2]=k[f>>2];k[c+4>>2]=d;k[e+4>>2]=(k[e+4>>2]|0)+8}else E_(e,f);yDa(a,-2);if(!(yEa(a,b)|0))break a}if((b|0)==22)yDa(a,-3);else if((b|0)==24){Si[k[(k[d>>2]|0)+4>>2]&1023](d);yDa(a,-3)}b=k[e>>2]|0;c=k[e+4>>2]|0;if((b|0)!=(c|0)){b=c;do{a=k[b+-8>>2]|0;Si[k[(k[a>>2]|0)+12>>2]&1023](a);b=k[b+-4>>2]|0;Si[k[(k[b>>2]|0)+12>>2]&1023](b);b=(k[e+4>>2]|0)+-8|0;k[e+4>>2]=b}while((k[e>>2]|0)!=(b|0))}if(b|0)CAb(b);CAb(e);a=0;r=f;return a|0}while(0);a=kBb(32)|0;Uj(a);k[a>>2]=21124;k[a+8>>2]=8;k[a+16>>2]=e;r=f;return a|0}default:{a=0;r=f;return a|0}}return 0}function E_(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=k[a>>2]|0;c=((k[a+4>>2]|0)-i>>3)+1|0;if(c>>>0>536870911)xzb(a);d=(k[a+8>>2]|0)-i|0;if(d>>3>>>0<268435455){c=d>>2>>>0>>0?c:d>>2;e=k[a+4>>2]|0;if(!c){h=0;f=0;d=e-i>>3;c=e}else{g=e;d=e-i>>3;j=6}}else{d=k[a+4>>2]|0;c=536870911;g=d;d=d-i>>3;j=6}if((j|0)==6){h=c;f=kBb(c<<3)|0;c=g}j=f+(d<<3)|0;g=k[b+4>>2]|0;k[j>>2]=k[b>>2];k[j+4>>2]=g;b=c-i|0;ABb(j+(0-(b>>3)<<3)|0,i|0,b|0)|0;k[a>>2]=j+(0-(b>>3)<<3);k[a+4>>2]=j+8;k[a+8>>2]=f+(h<<3);if(!i)return;CAb(i);return}function F_(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;switch(k[a+8>>2]|0){case 1:{aEa(b,l[a+16>>0]|0);return}case 3:{XDa(b,a+16|0,1);return}case 2:{VDa(b,+p[a+16>>3]);return}case 4:{XDa(b,k[a+16>>2]|0,k[a+16+4>>2]|0);return}case 5:{bEa(b,k[a+16>>2]|0);return}case 6:{c=k[a+24>>2]|0;if(!c){bEa(b,k[a+16>>2]|0);return}else{Rs(b,c,k[a+16>>2]|0);return}}case 8:{d=k[a+16>>2]|0;hEa(b,0,(k[d+4>>2]|0)-(k[d>>2]|0)>>3);d=k[a+16>>2]|0;c=k[d>>2]|0;if((k[d+4>>2]|0)==(c|0))return;else d=0;do{e=c;F_(k[e+(d<<3)>>2]|0,b);F_(k[e+(d<<3)+4>>2]|0,b);kEa(b,-3);d=d+1|0;e=k[a+16>>2]|0;c=k[e>>2]|0}while(d>>>0<(k[e+4>>2]|0)-c>>3>>>0);return}default:{UDa(b);return}}}function G_(a){a=a|0;Hj(a);return}function H_(a){a=a|0;Hj(a);CAb(a);return}function I_(a){a=a|0;return 0}function J_(a){a=a|0;return 362565}function K_(a,b){a=a|0;b=b|0;a=kBb(56)|0;b0(a);return a|0}function L_(a,b){a=a|0;b=b|0;a=kBb(56)|0;b0(a);return a|0}function M_(a){a=a|0;return 0}function N_(a){a=a|0;return 0}function O_(a){a=a|0;return}function P_(a,b){a=a|0;b=b|0;return 0}function Q_(a,b){a=a|0;b=b|0;return}function R_(a){a=a|0;return}function S_(a,b){a=a|0;b=b|0;return}function T_(a){a=a|0;return}function U_(a,b){a=a|0;b=b|0;return}function V_(a){a=a|0;return}function W_(a,b){a=a|0;b=b|0;return}function X_(a){a=a|0;return}function Y_(a,b){a=a|0;b=+b;o[a+8>>2]=b;return}function Z_(a){a=a|0;return +(+o[a+8>>2])}function __(a,b){a=a|0;b=b|0;return}function $_(a,b){a=a|0;b=b|0;return}function a$(a,b){a=a|0;b=b|0;return}function b$(a,b){a=a|0;b=b|0;return}function c$(a,b){a=a|0;b=b|0;return}function d$(a,b){a=a|0;b=b|0;return}function e$(a,b){a=a|0;b=+b;return}function f$(a){a=a|0;return 1.0}function g$(a){a=a|0;return}function h$(a){a=a|0;return 0}function i$(a,b){a=a|0;b=b|0;return 0}function j$(a){a=a|0;return 0}function k$(a){a=a|0;return k[a+12>>2]|0}function l$(a,b){a=a|0;b=b|0;k[a+12>>2]=b;return}function m$(a){a=a|0;Uj(a);k[a>>2]=21148;k[a+12>>2]=0;return}function n$(a){a=a|0;s2(a);return}function o$(a){a=a|0;s2(a);CAb(a);return}function p$(a){a=a|0;Si[k[(k[a>>2]|0)+8>>2]&1023](a);return a|0}function q$(a){a=a|0;return 0}function r$(a){a=a|0;return}function s$(a){a=a|0;return}function t$(a){a=a|0;return}function u$(a){a=a|0;return}function v$(a){a=a|0;return 1}function w$(a){a=a|0;return 0}function x$(a){a=a|0;return 1}function y$(a){a=a|0;return 0}function z$(a,b){a=a|0;b=+b;o[a+12>>2]=b;return}function A$(a){a=a|0;return +(+o[a+12>>2])}function B$(a,b){a=a|0;b=+b;o[a+16>>2]=b;return}function C$(a){a=a|0;return +(+o[a+16>>2])}function D$(a,b,c){a=a|0;b=+b;c=c|0;return}function E$(a,b){a=a|0;b=b|0;return 0.0}function F$(a,b){a=a|0;b=b|0;return -1.0}function G$(a,b){a=a|0;b=b|0;return}function H$(a,b){a=a|0;b=b|0;return}function I$(a,b){a=a|0;b=b|0;return}function J$(a,b){a=a|0;b=b|0;return}function K$(a,b){a=a|0;b=b|0;return}function L$(a,b){a=a|0;b=b|0;return}function M$(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;o[a+20>>2]=b;o[a+24>>2]=c;o[a+28>>2]=d;return}function N$(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;k[b>>2]=k[a+20>>2];k[c>>2]=k[a+24>>2];k[d>>2]=k[a+28>>2];return}function O$(a,b){a=a|0;b=b|0;i[a+32>>0]=b&1;return}function P$(a){a=a|0;return (i[a+32>>0]|0)!=0|0}function Q$(a,b){a=a|0;b=b|0;i[a+33>>0]=b&1;return}function R$(a){a=a|0;return (i[a+33>>0]|0)!=0|0}function S$(a,b){a=a|0;b=+b;o[a+36>>2]=b;return}function T$(a){a=a|0;return +(+o[a+36>>2])}function U$(a,b){a=a|0;b=+b;o[a+40>>2]=b;return}function V$(a){a=a|0;return +(+o[a+40>>2])}function W$(a,b){a=a|0;b=+b;o[a+44>>2]=b;return}function X$(a){a=a|0;return +(+o[a+44>>2])}function Y$(a,b){a=a|0;b=+b;o[a+48>>2]=b;return}function Z$(a){a=a|0;return +(+o[a+48>>2])}function _$(a,b){a=a|0;b=+b;o[a+52>>2]=b;return}function $$(a){a=a|0;return +(+o[a+52>>2])}function a0(a){a=a|0;return 2}function b0(a){a=a|0;w2(a,0);k[a>>2]=21300;return}function c0(a){a=a|0;k[a>>2]=21488;mP(a+28|0);_O(a);return}function d0(a){a=a|0;k[a>>2]=21488;mP(a+28|0);_O(a);CAb(a);return}function e0(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;aP(b,nP(a+28|0)|0);c=(i[a+24>>0]|0)==0;cP(b);if(!c){r=b;return}do{V0(k[a+20>>2]|0);m_(5);aP(b,nP(a+28|0)|0);c=(i[a+24>>0]|0)==0;cP(b)}while(c);r=b;return}function f0(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;k[a>>2]=21508;b=k[a+24>>2]|0;aP(c,nP(b+28|0)|0);i[b+24>>0]=1;cP(c);iP(k[a+24>>2]|0);b=k[a+24>>2]|0;if(b|0)Si[k[(k[b>>2]|0)+4>>2]&1023](b);b=k[a+20>>2]|0;if(b|0){T0(b);CAb(b)}Nb(0)|0;Td(k[a+16>>2]|0);Mf(k[a+8>>2]|0)|0;Hj(a);r=c;return}function g0(a){a=a|0;f0(a);CAb(a);return}function h0(a){a=a|0;return 362673}function i0(a,b){a=a|0;b=b|0;var c=0;c=kBb(168)|0;k2(c,k[a+20>>2]|0,b);return c|0}function j0(a,b){a=a|0;b=b|0;var c=0;c=kBb(168)|0;i2(c,k[a+20>>2]|0,b);return c|0}function k0(a){a=a|0;return W0(k[a+20>>2]|0)|0}function l0(a){a=a|0;return X0(k[a+20>>2]|0)|0}function m0(a){a=a|0;V0(k[a+20>>2]|0);return}function n0(a,b){a=a|0;b=b|0;return Gi[k[(k[b>>2]|0)+20>>2]&2047](b)|0}function o0(a,b){a=a|0;b=b|0;Si[k[(k[b>>2]|0)+24>>2]&1023](b);return}function p0(a){a=a|0;U0(k[a+20>>2]|0);return}function q0(a,b){a=a|0;b=b|0;Si[k[(k[b>>2]|0)+28>>2]&1023](b);return}function r0(a){a=a|0;$0(k[a+20>>2]|0);return}function s0(a,b){a=a|0;b=b|0;Si[k[(k[b>>2]|0)+32>>2]&1023](b);return}function t0(a){a=a|0;b1(k[a+20>>2]|0);return}function u0(a,b){a=a|0;b=b|0;Si[k[(k[b>>2]|0)+36>>2]&1023](b);return}function v0(a){a=a|0;d1(k[a+20>>2]|0);return}function w0(a,b){a=a|0;b=+b;lc(4106,+b);return}function x0(a){a=a|0;a=r;r=r+16|0;id(4106,a|0);r=a;return +(+o[a>>2])}function y0(a,b){a=a|0;b=b|0;me(4100,b|0);return}function z0(a,b){a=a|0;b=b|0;gc(4100,b|0);return}function A0(a,b){a=a|0;b=b|0;me(4111,b|0);return}function B0(a,b){a=a|0;b=b|0;gc(4111,b|0);return}function C0(a,b){a=a|0;b=b|0;me(4102,b|0);return}function D0(a,b){a=a|0;b=b|0;gc(4102,b|0);return}function E0(a,b){a=a|0;b=+b;if(!(b>=0.0))return;Kd(+b);return}function F0(a){a=a|0;return +(+wb(49152))}function G0(a){a=a|0;if(!(Gi[k[(k[a>>2]|0)+132>>2]&2047](a)|0))return;Of(k[a+12>>2]|0);return}function H0(a){a=a|0;var b=0,c=0,d=0;b=r;r=r+16|0;if(!(Gi[k[(k[a>>2]|0)+132>>2]&2047](a)|0)){a=0;r=b;return a|0}Pd(k[a+12>>2]|0,786,4,b|0);d=k[b>>2]|0;c=hqb(d<<1)|0;We(k[a+12>>2]|0,c|0,d|0);a=kBb(28)|0;tO(a,c,k[b>>2]|0,8e3,16,1);iqb(c);r=b;return a|0}function I0(a,b){a=a|0;b=b|0;if(!(Gi[k[(k[a>>2]|0)+132>>2]&2047](a)|0)){a=0;return a|0}if(b)b=Gi[k[(k[a>>2]|0)+124>>2]&2047](a)|0;else b=0;Uh(k[a+12>>2]|0);a=b;return a|0}function J0(a){a=a|0;return (k[a+12>>2]|0)!=0|0}function K0(a){a=a|0;return k[a+28>>2]|0}function L0(a,b){a=a|0;b=b|0;k[a+28>>2]=b;switch(b|0){case 0:{tc(0);break}case 1:{tc(53249);break}case 2:{tc(53250);break}case 3:{tc(53251);break}case 4:{tc(53252);break}case 5:{tc(53253);break}case 6:{tc(53254);break}default:{}}return}function M0(a){a=a|0;var b=0,c=0,d=0;c=r;r=r+32|0;Uj(a);k[a>>2]=21508;k[a+8>>2]=0;k[a+8+4>>2]=0;k[a+8+8>>2]=0;k[a+8+12>>2]=0;k[a+8+16>>2]=0;k[a+28>>2]=2;b=ue(0)|0;k[a+8>>2]=b;if(!b){a=xf(16)|0;os(a,362701,c);Jc(a|0,96,27)}b=Ib(b|0,0)|0;k[a+16>>2]=b;if(!b){a=xf(16)|0;os(a,362724,c+8|0);Jc(a|0,96,27)}if(!((Nb(b|0)|0)<<24>>24)){a=xf(16)|0;os(a,362750,c+16|0);Jc(a|0,96,27)}if(!(Rg(k[a+8>>2]|0)|0)){d=kBb(300)|0;N0(d);k[a+20>>2]=d;b=kBb(32)|0;gP(b);k[b>>2]=21488;k[b+20>>2]=d;i[b+24>>0]=0;lP(b+28|0);drb(b+8|0,362691)|0;k[a+24>>2]=b;hP(b)|0;r=c;return}else{d=xf(16)|0;os(d,362750,c+16|0);Jc(d|0,96,27)}}function N0(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;g=r;r=r+16|0;k[a+288>>2]=0;k[a+292>>2]=0;vBb(a|0,0,284)|0;k[a+284>>2]=a+288;lP(a+296|0);of()|0;c=0;while(1){re(1,a+(c<<2)|0);f=(of()|0)==0;b=k[a+256>>2]|0;if(!f)break;k[a+256>>2]=b+1;c=c+1|0;if((c|0)>=64){b=b+1|0;break}}if((b|0)<4){a=xf(16)|0;os(a,362782,g);Jc(a|0,96,27)}e=k[a+264>>2]|0;c=k[a+280>>2]|0;f=0;do{d=k[a+268>>2]|0;b=k[a+276>>2]|0;if((((d|0)==(e|0)?0:(d-e<<8)+-1|0)|0)==(c+b|0)){O0(a+260|0);e=k[a+264>>2]|0;c=k[a+280>>2]|0;b=k[a+276>>2]|0;d=e}else d=e;c=c+b|0;k[(k[d+(c>>>10<<2)>>2]|0)+((c&1023)<<2)>>2]=k[a+(f<<2)>>2];c=(k[a+280>>2]|0)+1|0;k[a+280>>2]=c;f=f+1|0}while((f|0)<(k[a+256>>2]|0));r=g;return}function O0(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0;n=r;r=r+16|0;b=k[a+16>>2]|0;if(b>>>0>1023){k[a+16>>2]=b+-1024;e=k[a+4>>2]|0;j=k[e>>2]|0;k[a+4>>2]=e+4;b=k[a+8>>2]|0;c=k[a+12>>2]|0;do if((b|0)==(c|0)){d=k[a>>2]|0;if((e+4|0)>>>0>d>>>0){m=e+4+((((e+4-d>>2)+1|0)/-2|0)<<2)|0;BBb(m|0,e+4|0,b-(e+4)|0)|0;k[a+8>>2]=m+(b-(e+4)>>2<<2);k[a+4>>2]=(k[a+4>>2]|0)+((((e+4-d>>2)+1|0)/-2|0)<<2);b=m+(b-(e+4)>>2<<2)|0;break}g=(c-d>>1|0)==0?1:c-d>>1;h=kBb(g<<2)|0;i=h+(g>>>2<<2)|0;if((e+4|0)==(b|0)){c=d;b=i}else{f=h+(g>>>2<<2)|0;d=e+4|0;c=i;while(1){k[f>>2]=k[d>>2];f=c+4|0;e=f;d=d+4|0;if((d|0)==(b|0))break;else c=e}c=k[a>>2]|0;b=e}k[a>>2]=h;k[a+4>>2]=i;k[a+8>>2]=b;k[a+12>>2]=h+(g<<2);if(c){CAb(c);b=k[a+8>>2]|0}}while(0);k[b>>2]=j;k[a+8>>2]=(k[a+8>>2]|0)+4;r=n;return}f=k[a+8>>2]|0;d=k[a+4>>2]|0;c=k[a+12>>2]|0;b=c-(k[a>>2]|0)|0;if(f-d>>2>>>0>2>>>0){b=kBb(4096)|0;if((c|0)!=(f|0)){k[n+4>>2]=b;P0(a,n+4|0);r=n;return}k[n>>2]=b;Q0(a,n);e=k[a+4>>2]|0;j=k[e>>2]|0;k[a+4>>2]=e+4;b=k[a+8>>2]|0;c=k[a+12>>2]|0;do if((b|0)==(c|0)){d=k[a>>2]|0;if((e+4|0)>>>0>d>>>0){m=e+4+((((e+4-d>>2)+1|0)/-2|0)<<2)|0;BBb(m|0,e+4|0,b-(e+4)|0)|0;k[a+8>>2]=m+(b-(e+4)>>2<<2);k[a+4>>2]=(k[a+4>>2]|0)+((((e+4-d>>2)+1|0)/-2|0)<<2);b=m+(b-(e+4)>>2<<2)|0;break}i=(c-d>>1|0)==0?1:c-d>>1;g=kBb(i<<2)|0;h=g+(i>>>2<<2)|0;if((e+4|0)==(b|0)){c=d;b=h}else{f=g+(i>>>2<<2)|0;d=e+4|0;c=h;while(1){k[f>>2]=k[d>>2];f=c+4|0;e=f;d=d+4|0;if((d|0)==(b|0))break;else c=e}c=k[a>>2]|0;b=e}k[a>>2]=g;k[a+4>>2]=h;k[a+8>>2]=b;k[a+12>>2]=g+(i<<2);if(c){CAb(c);b=k[a+8>>2]|0}}while(0);k[b>>2]=j;k[a+8>>2]=(k[a+8>>2]|0)+4;r=n;return}b=(b>>1|0)==0?1:b>>1;c=kBb(b<<2)|0;e=kBb(4096)|0;do if((f-d>>2|0)==(b|0))if((f-d|0)>0){i=f;g=d;h=c;d=c+(f-d>>2<<2)+((((f-d>>2)+1|0)/-2|0)<<2)|0;c=c+(b<<2)|0;break}else{m=(f-d>>1|0)==0?1:f-d>>1;l=kBb(m<<2)|0;CAb(c);i=k[a+8>>2]|0;g=k[a+4>>2]|0;h=l;d=l+(m>>>2<<2)|0;c=l+(m<<2)|0;break}else{i=f;g=d;h=c;d=c+(f-d>>2<<2)|0;c=c+(b<<2)|0}while(0);b=d;k[d>>2]=e;d=d+4|0;if((i|0)==(g|0)){f=h;e=b}else{m=i;do{m=m+-4|0;f=b;do if((f|0)==(h|0)){g=d;if(g>>>0>>0){l=g+((((c-d>>2)+1|0)/2|0)<<2)|0;d=d-b|0;BBb(l+(0-(d>>2)<<2)|0,b|0,d|0)|0;f=l+(0-(d>>2)<<2)|0;b=l+(0-(d>>2)<<2)|0;d=l;break}j=c-h>>1;j=(j|0)==0?1:j;l=kBb(j<<2)|0;i=l+((j+3|0)>>>2<<2)|0;if((f|0)==(g|0))d=i;else{e=l+((j+3|0)>>>2<<2)|0;c=f;d=i;do{k[e>>2]=k[c>>2];e=d+4|0;d=e;c=c+4|0}while((c|0)!=(g|0))}if(!b){f=l+((j+3|0)>>>2<<2)|0;h=l;b=i;c=l+(j<<2)|0}else{CAb(b);f=l+((j+3|0)>>>2<<2)|0;h=l;b=i;c=l+(j<<2)|0}}while(0);k[f+-4>>2]=k[m>>2];b=b+-4|0}while((m|0)!=(k[a+4>>2]|0));f=h;e=b}b=k[a>>2]|0;k[a>>2]=f;k[a+4>>2]=e;k[a+8>>2]=d;k[a+12>>2]=c;if(!b){r=n;return}CAb(b);r=n;return}function P0(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=k[a+8>>2]|0;d=k[a+12>>2]|0;do if((c|0)==(d|0)){f=k[a+4>>2]|0;e=k[a>>2]|0;if(f>>>0>e>>>0){j=f+((((f-e>>2)+1|0)/-2|0)<<2)|0;BBb(j|0,f|0,c-f|0)|0;k[a+8>>2]=j+(c-f>>2<<2);k[a+4>>2]=(k[a+4>>2]|0)+((((f-e>>2)+1|0)/-2|0)<<2);c=j+(c-f>>2<<2)|0;break}h=(d-e>>1|0)==0?1:d-e>>1;i=kBb(h<<2)|0;j=i+(h>>>2<<2)|0;if((f|0)==(c|0)){d=e;c=j}else{g=i+(h>>>2<<2)|0;e=f;d=j;while(1){k[g>>2]=k[e>>2];g=d+4|0;f=g;e=e+4|0;if((e|0)==(c|0))break;else d=f}d=k[a>>2]|0;c=f}k[a>>2]=i;k[a+4>>2]=j;k[a+8>>2]=c;k[a+12>>2]=i+(h<<2);if(d){CAb(d);c=k[a+8>>2]|0}}while(0);k[c>>2]=k[b>>2];k[a+8>>2]=(k[a+8>>2]|0)+4;return}function Q0(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=k[a+4>>2]|0;d=k[a>>2]|0;do if((c|0)==(d|0)){i=k[a+8>>2]|0;e=k[a+12>>2]|0;if(i>>>0>>0){h=i+((((e-i>>2)+1|0)/2|0)<<2)+(0-(i-c>>2)<<2)|0;BBb(h|0,c|0,i-c|0)|0;k[a+4>>2]=h;k[a+8>>2]=(k[a+8>>2]|0)+((((e-i>>2)+1|0)/2|0)<<2);c=h;break}f=(e-d>>1|0)==0?1:e-d>>1;g=kBb(f<<2)|0;h=g+((f+3|0)>>>2<<2)|0;if((c|0)==(i|0))d=h;else{e=g+((f+3|0)>>>2<<2)|0;d=h;do{k[e>>2]=k[c>>2];e=d+4|0;d=e;c=c+4|0}while((c|0)!=(i|0));c=k[a>>2]|0}k[a>>2]=g;k[a+4>>2]=h;k[a+8>>2]=d;k[a+12>>2]=g+(f<<2);if(!c)c=g+((f+3|0)>>>2<<2)|0;else{CAb(c);c=k[a+4>>2]|0}}while(0);k[c+-4>>2]=k[b>>2];k[a+4>>2]=(k[a+4>>2]|0)+-4;return}function R0(a,b){a=a|0;b=b|0;if(!b)return;else{R0(a,k[b>>2]|0);R0(a,k[b+4>>2]|0);CAb(b);return}}function S0(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=k[a+4>>2]|0;d=k[a+16>>2]|0;g=k[a+8>>2]|0;if((g|0)==(c|0)){e=0;f=a+20|0;b=0}else{e=(k[a+20>>2]|0)+d|0;e=(k[c+(e>>>10<<2)>>2]|0)+((e&1023)<<2)|0;f=a+20|0;b=(k[c+(d>>>10<<2)>>2]|0)+((d&1023)<<2)|0}d=c+(d>>>10<<2)|0;a:while(1){do{if((b|0)==(e|0))break a;b=b+4|0}while((b-(k[d>>2]|0)|0)!=4096);b=d+4|0;d=b;b=k[b>>2]|0}k[f>>2]=0;if(g-c>>2>>>0>2)do{CAb(k[c>>2]|0);c=(k[a+4>>2]|0)+4|0;k[a+4>>2]=c;b=(k[a+8>>2]|0)-c>>2}while(b>>>0>2);else b=g-c>>2;switch(b|0){case 1:{k[a+16>>2]=512;break}case 2:{k[a+16>>2]=1024;break}default:{}}b=k[a+4>>2]|0;c=k[a+8>>2]|0;if((b|0)!=(c|0)){do{CAb(k[b>>2]|0);b=b+4|0}while((b|0)!=(c|0));b=k[a+4>>2]|0;c=k[a+8>>2]|0;if((c|0)!=(b|0))k[a+8>>2]=c+(~((c+-4-b|0)>>>2)<<2)}b=k[a>>2]|0;if(!b)return;CAb(b);return}function T0(a){a=a|0;U0(a);lf(k[a+256>>2]|0,a|0);mP(a+296|0);R0(a+284|0,k[a+288>>2]|0);S0(a+260|0);return}function U0(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;f=r;r=r+16|0;aP(f,nP(a+296|0)|0);b=k[a+284>>2]|0;if((b|0)==(a+288|0)){e=k[a+288>>2]|0;R0(a+284|0,e);e=a+292|0;k[e>>2]=0;k[a+284>>2]=a+288;k[a+288>>2]=0;cP(f);r=f;return}c=b;while(1){g=c+16|0;d2(k[g>>2]|0);n2(k[g>>2]|0);g=k[g>>2]|0;Si[k[(k[g>>2]|0)+12>>2]&1023](g);g=k[a+268>>2]|0;d=k[a+264>>2]|0;e=k[a+276>>2]|0;b=k[a+280>>2]|0;if((((g|0)==(d|0)?0:(g-d<<8)+-1|0)|0)==(b+e|0)){O0(a+260|0);b=k[a+280>>2]|0;e=k[a+276>>2]|0;d=k[a+264>>2]|0}b=b+e|0;k[(k[d+(b>>>10<<2)>>2]|0)+((b&1023)<<2)>>2]=k[c+20>>2];k[a+280>>2]=(k[a+280>>2]|0)+1;b=k[c+4>>2]|0;if(!b)while(1){b=k[c+8>>2]|0;if((k[b>>2]|0)==(c|0))break;else c=b}else while(1){c=k[b>>2]|0;if(!c)break;else b=c}if((b|0)==(a+288|0))break;else c=b}g=k[a+288>>2]|0;R0(a+284|0,g);g=a+292|0;k[g>>2]=0;k[a+284>>2]=a+288;k[a+288>>2]=0;cP(f);r=f;return}function V0(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;g=r;r=r+16|0;aP(g,nP(a+296|0)|0);b=k[a+284>>2]|0;if((b|0)==(a+288|0)){cP(g);r=g;return}do{c=b+16|0;f=k[c>>2]|0;a:do if(Gi[k[(k[f>>2]|0)+52>>2]&2047](f)|0){c=k[b+4>>2]|0;if(c|0){b=c;while(1){c=k[b>>2]|0;if(!c)break a;else b=c}}while(1){c=k[b+8>>2]|0;if((k[c>>2]|0)==(b|0)){b=c;break}else b=c}}else{d2(k[c>>2]|0);n2(k[c>>2]|0);f=k[c>>2]|0;Si[k[(k[f>>2]|0)+12>>2]&1023](f);f=k[a+268>>2]|0;d=k[a+264>>2]|0;e=k[a+276>>2]|0;c=k[a+280>>2]|0;if((((f|0)==(d|0)?0:(f-d<<8)+-1|0)|0)==(c+e|0)){O0(a+260|0);c=k[a+280>>2]|0;e=k[a+276>>2]|0;d=k[a+264>>2]|0}e=c+e|0;k[(k[d+(e>>>10<<2)>>2]|0)+((e&1023)<<2)>>2]=k[b+20>>2];k[a+280>>2]=(k[a+280>>2]|0)+1;e=k[b+4>>2]|0;if(!e){d=b;while(1){c=k[d+8>>2]|0;if((k[c>>2]|0)==(d|0)){f=b;break}else d=c}}else{c=e;while(1){d=k[c>>2]|0;if(!d)break;else c=d}f=b}if(!e){e=f;while(1){d=k[e+8>>2]|0;if((k[d>>2]|0)==(e|0))break;else e=d}}else{d=e;while(1){e=k[d>>2]|0;if(!e)break;else d=e}}if((k[a+284>>2]|0)==(b|0))k[a+284>>2]=d;k[a+292>>2]=(k[a+292>>2]|0)+-1;Jj(k[a+288>>2]|0,f);CAb(b);b=c}while(0)}while((b|0)!=(a+288|0));cP(g);r=g;return}function W0(a){a=a|0;return k[a+292>>2]|0}function X0(a){a=a|0;return k[a+256>>2]|0}function Y0(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=r;r=r+16|0;aP(g,nP(a+296|0)|0);k[c>>2]=0;e=k[a+288>>2]|0;if(e|0){d=a+288|0;a:do{while(1){if((k[e+16>>2]|0)>>>0>=b>>>0){d=e;break}e=k[e+4>>2]|0;if(!e)break a}e=k[d>>2]|0}while((e|0)!=0);if((d|0)!=(a+288|0))if((k[d+16>>2]|0)>>>0<=b>>>0){k[c>>2]=k[d+20>>2];a=1;cP(g);r=g;return a|0}}if(!(k[a+280>>2]|0)){a=0;cP(g);r=g;return a|0}d=k[a+264>>2]|0;f=k[a+276>>2]|0;k[c>>2]=k[(k[d+(f>>>10<<2)>>2]|0)+((f&1023)<<2)>>2];k[a+280>>2]=(k[a+280>>2]|0)+-1;f=(k[a+276>>2]|0)+1|0;k[a+276>>2]=f;if(f>>>0>2047){CAb(k[d>>2]|0);k[a+264>>2]=(k[a+264>>2]|0)+4;k[a+276>>2]=(k[a+276>>2]|0)+-1024}e=k[c>>2]|0;d=kBb(24)|0;k[d+16>>2]=b;k[d+20>>2]=e;e=k[a+288>>2]|0;do if(!e){k[g+4>>2]=a+288;c=a+288|0;e=a+288|0}else{f=e;while(1){e=k[f+16>>2]|0;if(e>>>0>b>>>0){e=k[f>>2]|0;if(!e){c=f;e=f;f=15;break}}else{if(e>>>0>=b>>>0){e=f;f=20;break}c=f+4|0;e=k[c>>2]|0;if(!e){e=f;f=19;break}}f=e}if((f|0)==15){k[g+4>>2]=e;break}else if((f|0)==19){k[g+4>>2]=e;break}else if((f|0)==20){k[g+4>>2]=e;c=g+4|0;break}}while(0);if(!(k[c>>2]|0)){k[d>>2]=0;k[d+4>>2]=0;k[d+8>>2]=e;k[c>>2]=d;e=k[k[a+284>>2]>>2]|0;if(e){k[a+284>>2]=e;d=k[c>>2]|0}Qj(k[a+288>>2]|0,d);k[a+292>>2]=(k[a+292>>2]|0)+1}else CAb(d);Si[k[(k[b>>2]|0)+8>>2]&1023](b);a=e2(b)|0;cP(g);r=g;return a|0}function Z0(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;aP(c,nP(a+296|0)|0);_0(a,b)|0;cP(c);r=c;return}function _0(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=k[a+288>>2]|0;if(!c){a=0;return a|0}else d=a+288|0;a:do{while(1){if((k[c+16>>2]|0)>>>0>=b>>>0){d=c;break}c=k[c+4>>2]|0;if(!c)break a}c=k[d>>2]|0}while((c|0)!=0);if((d|0)==(a+288|0)){a=0;return a|0}if((k[d+16>>2]|0)>>>0>b>>>0){a=0;return a|0}d2(b);g=k[a+268>>2]|0;e=k[a+264>>2]|0;f=k[a+276>>2]|0;c=k[a+280>>2]|0;if((((g|0)==(e|0)?0:(g-e<<8)+-1|0)|0)==(c+f|0)){O0(a+260|0);c=k[a+280>>2]|0;f=k[a+276>>2]|0;e=k[a+264>>2]|0}g=c+f|0;k[(k[e+(g>>>10<<2)>>2]|0)+((g&1023)<<2)>>2]=k[d+20>>2];k[a+280>>2]=(k[a+280>>2]|0)+1;e=k[d+4>>2]|0;if(!e){c=d;do{g=c;c=k[c+8>>2]|0}while((k[c>>2]|0)!=(g|0));f=d}else{c=e;do c=k[c>>2]|0;while((c|0)!=0);f=d}if(!e){e=f;while(1){c=k[e+8>>2]|0;if((k[c>>2]|0)==(e|0))break;else e=c}}else{c=e;while(1){e=k[c>>2]|0;if(!e)break;else c=e}}if((k[a+284>>2]|0)==(d|0))k[a+284>>2]=c;k[a+292>>2]=(k[a+292>>2]|0)+-1;Jj(k[a+288>>2]|0,f);CAb(d);Si[k[(k[b>>2]|0)+12>>2]&1023](b);g=1;return g|0}function $0(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+16|0;aP(d,nP(a+296|0)|0);b=k[a+284>>2]|0;if((b|0)==(a+288|0)){cP(d);r=d;return}c=b;while(1){l2(k[c+16>>2]|0);b=k[c+4>>2]|0;if(!b)while(1){b=k[c+8>>2]|0;if((k[b>>2]|0)==(c|0))break;else c=b}else while(1){c=k[b>>2]|0;if(!c)break;else b=c}if((b|0)==(a+288|0))break;else c=b}cP(d);r=d;return}function a1(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=r;r=r+16|0;aP(e,nP(a+296|0)|0);d=k[a+288>>2]|0;if(d|0){c=a+288|0;a:do{while(1){if((k[d+16>>2]|0)>>>0>=b>>>0){c=d;break}d=k[d+4>>2]|0;if(!d)break a}d=k[c>>2]|0}while((d|0)!=0);if((c|0)!=(a+288|0))if((k[c+16>>2]|0)>>>0<=b>>>0)l2(b)}cP(e);r=e;return}function b1(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+16|0;aP(d,nP(a+296|0)|0);b=k[a+284>>2]|0;if((b|0)==(a+288|0)){cP(d);r=d;return}c=b;while(1){m2(k[c+16>>2]|0);b=k[c+4>>2]|0;if(!b)while(1){b=k[c+8>>2]|0;if((k[b>>2]|0)==(c|0))break;else c=b}else while(1){c=k[b>>2]|0;if(!c)break;else b=c}if((b|0)==(a+288|0))break;else c=b}cP(d);r=d;return}function c1(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=r;r=r+16|0;aP(e,nP(a+296|0)|0);d=k[a+288>>2]|0;if(d|0){c=a+288|0;a:do{while(1){if((k[d+16>>2]|0)>>>0>=b>>>0){c=d;break}d=k[d+4>>2]|0;if(!d)break a}d=k[c>>2]|0}while((d|0)!=0);if((c|0)!=(a+288|0))if((k[c+16>>2]|0)>>>0<=b>>>0)m2(b)}cP(e);r=e;return}function d1(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+16|0;aP(d,nP(a+296|0)|0);b=k[a+284>>2]|0;if((b|0)==(a+288|0)){cP(d);r=d;return}c=b;while(1){n2(k[c+16>>2]|0);b=k[c+4>>2]|0;if(!b)while(1){b=k[c+8>>2]|0;if((k[b>>2]|0)==(c|0))break;else c=b}else while(1){c=k[b>>2]|0;if(!c)break;else b=c}if((b|0)==(a+288|0))break;else c=b}cP(d);r=d;return}function e1(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;aP(c,nP(a+296|0)|0);n2(b);cP(c);r=c;return}function f1(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;aP(c,nP(a+296|0)|0);n2(b);cP(c);r=c;return}function g1(a,b,c,d){a=a|0;b=b|0;c=+c;d=d|0;var e=0;e=r;r=r+16|0;aP(e,nP(a+296|0)|0);Oi[k[(k[b>>2]|0)+180>>2]&3](b,c,d);cP(e);r=e;return}function h1(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0;e=r;r=r+16|0;aP(e,nP(a+296|0)|0);d=+jj[k[(k[b>>2]|0)+184>>2]&15](b,c);cP(e);r=e;return +d}function i1(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0;e=r;r=r+16|0;aP(e,nP(a+296|0)|0);d=+jj[k[(k[b>>2]|0)+188>>2]&15](b,c);cP(e);r=e;return +d}function j1(a){a=a|0;k[a>>2]=21660;jg(1,a+8|0);return}function k1(a){a=a|0;k[a>>2]=21660;jg(1,a+8|0);CAb(a);return}function l1(a){a=a|0;var b=0;k[a>>2]=21684;if(i[a+20>>0]|0)Z0(k[a+12>>2]|0,a);if((k[a+8>>2]|0)==1)jg(8,a+24|0);b=k[a+160>>2]|0;if(b|0)Si[k[(k[b>>2]|0)+12>>2]&1023](b);b=k[a+56>>2]|0;if(!b){s2(a);return}Si[k[(k[b>>2]|0)+12>>2]&1023](b);s2(a);return}function m1(a){a=a|0;l1(a);CAb(a);return}function n1(a){a=a|0;var b=0;b=kBb(168)|0;o1(b,a);return b|0}function o1(a,b){a=a|0;b=b|0;var c=0,d=0;w2(a,k[b+8>>2]|0);k[a>>2]=21684;k[a+12>>2]=k[b+12>>2];i[a+20>>0]=0;c=k[b+56>>2]|0;k[a+56>>2]=c;if(c|0)Si[k[(k[c>>2]|0)+8>>2]&1023](c);k[a+60>>2]=k[b+60>>2];k[a+64>>2]=k[b+64>>2];d=j[b+104>>1]|0;i[a+104>>0]=d;i[a+105>>0]=(d&65535)>>>8;i[a+106>>0]=0;k[a+108>>2]=k[b+108>>2];k[a+112>>2]=k[b+112>>2];k[a+116>>2]=k[b+116>>2];k[a+120>>2]=k[b+120>>2];k[a+124>>2]=k[b+124>>2];k[a+128>>2]=k[b+128>>2];k[a+128+4>>2]=k[b+128+4>>2];k[a+128+8>>2]=k[b+128+8>>2];o[a+140>>2]=0.0;o[a+144>>2]=0.0;k[a+148>>2]=k[b+148>>2];k[a+152>>2]=k[b+152>>2];k[a+156>>2]=k[b+156>>2];k[a+160>>2]=0;k[a+164>>2]=0;if((k[a+8>>2]|0)==1){c=k[b+160>>2]|0;if(c|0){c=Gi[k[(k[c>>2]|0)+16>>2]&2047](c)|0;if(c|0)Si[k[(k[c>>2]|0)+8>>2]&1023](c);d=k[a+160>>2]|0;if(d|0)Si[k[(k[d>>2]|0)+12>>2]&1023](d);k[a+160>>2]=c;Si[k[(k[c>>2]|0)+12>>2]&1023](c)}Tb(8,a+24|0)}k[a+68>>2]=k[b+68>>2];k[a+72>>2]=k[b+72>>2];k[a+76>>2]=k[b+76>>2];k[a+80>>2]=k[b+80>>2];k[a+84>>2]=k[b+84>>2];k[a+88>>2]=k[b+88>>2];k[a+92>>2]=k[b+92>>2];k[a+96>>2]=k[b+96>>2];k[a+100>>2]=k[b+100>>2];return}function p1(a){a=a|0;var b=0;if(i[a+20>>0]|0)if(i[a+106>>0]|0){c1(k[a+12>>2]|0,a);a=1;return a|0}b=Y0(k[a+12>>2]|0,a,a+16|0)|0;i[a+20>>0]=b&1;a=b;return a|0}function q1(a){a=a|0;if(Gi[k[(k[a>>2]|0)+40>>2]&2047](a)|0)return;Z0(k[a+12>>2]|0,a);e1(k[a+12>>2]|0,a);return}function r1(a){a=a|0;a1(k[a+12>>2]|0,a);return}function s1(a){a=a|0;c1(k[a+12>>2]|0,a);return}function t1(a){a=a|0;f1(k[a+12>>2]|0,a);return}function u1(a){a=a|0;var b=0;b=r;r=r+16|0;if(!(i[a+20>>0]|0)){a=1;r=b;return a|0}Ye(k[a+16>>2]|0,4112,b|0);a=(k[b>>2]|0)==4116;r=b;return a|0}function v1(a){a=a|0;var b=0;b=r;r=r+16|0;if(!(i[a+20>>0]|0)){a=0;r=b;return a|0}Ye(k[a+16>>2]|0,4112,b|0);a=(k[b>>2]|0)==4115;r=b;return a|0}function w1(a){a=a|0;var b=0,c=0;b=(k[a+8>>2]|0)==0;c=Gi[k[(k[a>>2]|0)+40>>2]&2047](a)|0;if(b|c^1){a=b&c;return a|0}if(Gi[k[(k[a>>2]|0)+128>>2]&2047](a)|0){a=0;return a|0}a=k[a+160>>2]|0;a=Gi[k[(k[a>>2]|0)+44>>2]&2047](a)|0;return a|0}function x1(a){a=a|0;var b=0,c=0,d=0.0,e=0.0;b=r;r=r+16|0;if(!(i[a+20>>0]|0)){a=0;r=b;return a|0}switch(k[a+8>>2]|0){case 0:{Sb(k[a+16>>2]|0,4103,(Gi[k[(k[a>>2]|0)+128>>2]&2047](a)|0)&1|0);a=(Gi[k[(k[a>>2]|0)+40>>2]&2047](a)|0)^1;r=b;return a|0}case 1:{if(!(Gi[k[(k[a>>2]|0)+128>>2]&2047](a)|0))if(Gi[k[(k[a>>2]|0)+48>>2]&2047](a)|0){a=0;r=b;return a|0}k[b+12>>2]=0;Ye(k[a+16>>2]|0,4118,b+12|0);c=k[b+12>>2]|0;k[b+12>>2]=c+-1;if(c|0)do{Ze(k[a+16>>2]|0,4133,b+4|0);c=k[a+160>>2]|0;c=Gi[k[(k[c>>2]|0)+56>>2]&2047](c)|0;e=+o[b+4>>2]/+(c|0);ui(k[a+16>>2]|0,1,b+8|0);Ze(k[a+16>>2]|0,4133,b|0);d=+o[b>>2];o[a+140>>2]=+o[a+140>>2]+(+o[b+4>>2]-d);o[a+144>>2]=e-d/+(c|0)+ +o[a+144>>2];if((y1(a,k[b+8>>2]|0,k[a+160>>2]|0)|0)>0)$e(k[a+16>>2]|0,1,b+8|0);c=k[b+12>>2]|0;k[b+12>>2]=c+-1}while((c|0)!=0);c=1;r=b;return c|0}default:{c=0;r=b;return c|0}}return 0}function y1(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=r;r=r+16|0;e=Gi[k[(k[c>>2]|0)+20>>2]&2047](c)|0;e=(e|0)<0?0:e;do if((e|0)>0){d=Gi[k[(k[c>>2]|0)+48>>2]&2047](c)|0;f=Gi[k[(k[c>>2]|0)+52>>2]&2047](c)|0;if((d|0)==1&(f|0)==8)d=4352;else if((d|0)==1&(f|0)==16)d=4353;else if((d|0)==2&(f|0)==8)d=4354;else if((d|0)==2&(f|0)==16)d=4355;else{e=0;break}f=Gi[k[(k[c>>2]|0)+28>>2]&2047](c)|0;yg(b|0,d|0,f|0,e|0,Gi[k[(k[c>>2]|0)+56>>2]&2047](c)|0)}while(0);b=k[a+160>>2]|0;if(Gi[k[(k[b>>2]|0)+44>>2]&2047](b)|0)if(Gi[k[(k[a>>2]|0)+128>>2]&2047](a)|0){Ye(k[a+16>>2]|0,4117,g+4|0);Ye(k[a+16>>2]|0,4118,g|0);f=k[g+4>>2]|0;b=k[g>>2]|0;k[a+164>>2]=((f|0)>(b|0)?f:8)-b;Gi[k[(k[c>>2]|0)+36>>2]&2047](c)|0}d=k[a+164>>2]|0;if(!d){r=g;return e|0}k[a+164>>2]=d+-1;if(d+-1|0){r=g;return e|0}o[a+140>>2]=0.0;o[a+144>>2]=0.0;r=g;return e|0}function z1(a,b){a=a|0;b=+b;if(i[a+20>>0]|0)Qb(k[a+16>>2]|0,4099,+b);o[a+60>>2]=b;return}function A1(a){a=a|0;var b=0,c=0.0;b=r;r=r+16|0;if(!(i[a+20>>0]|0)){c=+o[a+60>>2];r=b;return +c}else{Ze(k[a+16>>2]|0,4099,b|0);c=+o[b>>2];r=b;return +c}return 0.0}function B1(a,b){a=a|0;b=+b;if(i[a+20>>0]|0)Qb(k[a+16>>2]|0,4106,+b);o[a+64>>2]=b;return}function C1(a){a=a|0;var b=0,c=0.0;b=r;r=r+16|0;if(!(i[a+20>>0]|0)){c=+o[a+64>>2];r=b;return +c}else{Ze(k[a+16>>2]|0,4106,b|0);c=+o[b>>2];r=b;return +c}return 0.0}function D1(a,b,c){a=a|0;b=+b;c=c|0;var d=0;d=r;r=r+16|0;k[d>>2]=c;g1(k[a+12>>2]|0,a,b,d);r=d;return}function E1(a,b){a=a|0;b=b|0;var c=0.0,d=0;d=r;r=r+16|0;k[d>>2]=b;c=+h1(k[a+12>>2]|0,a,d);r=d;return +c}function F1(a,b){a=a|0;b=b|0;var c=0.0,d=0;d=r;r=r+16|0;k[d>>2]=b;c=+i1(k[a+12>>2]|0,a,d);r=d;return +c}function G1(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;if((k[a+152>>2]|0)>1){b=xf(16)|0;os(b,362877,c);k[b>>2]=21884;Jc(b|0,1488,27)}if(i[a+20>>0]|0)Ug(k[a+16>>2]|0,4100,b|0);k[a+68>>2]=k[b>>2];k[a+72>>2]=k[b+4>>2];k[a+76>>2]=k[b+8>>2];r=c;return}function H1(a){a=a|0;ls(a);CAb(a);return}function I1(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;if((k[a+152>>2]|0)>1){b=xf(16)|0;os(b,362877,c);k[b>>2]=21884;Jc(b|0,1488,27)}if(!(i[a+20>>0]|0)){k[b>>2]=k[a+68>>2];k[b+4>>2]=k[a+72>>2];k[b+8>>2]=k[a+76>>2];r=c;return}else{kg(k[a+16>>2]|0,4100,b|0);r=c;return}}function J1(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;if((k[a+152>>2]|0)>1){b=xf(16)|0;os(b,362877,c);k[b>>2]=21884;Jc(b|0,1488,27)}if(i[a+20>>0]|0)Ug(k[a+16>>2]|0,4102,b|0);k[a+80>>2]=k[b>>2];k[a+84>>2]=k[b+4>>2];k[a+88>>2]=k[b+8>>2];r=c;return}function K1(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;if((k[a+152>>2]|0)>1){b=xf(16)|0;os(b,362877,c);k[b>>2]=21884;Jc(b|0,1488,27)}if(!(i[a+20>>0]|0)){k[b>>2]=k[a+80>>2];k[b+4>>2]=k[a+84>>2];k[b+8>>2]=k[a+88>>2];r=c;return}else{kg(k[a+16>>2]|0,4102,b|0);r=c;return}}function L1(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;if((k[a+152>>2]|0)>1){b=xf(16)|0;os(b,362877,c);k[b>>2]=21884;Jc(b|0,1488,27)}if(!(i[a+20>>0]|0)){k[a+92>>2]=k[b>>2];k[a+96>>2]=k[b+4>>2];k[a+100>>2]=k[b+8>>2];r=c;return}else{Ug(k[a+16>>2]|0,4101,b|0);r=c;return}}function M1(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;if((k[a+152>>2]|0)>1){b=xf(16)|0;os(b,362877,c);k[b>>2]=21884;Jc(b|0,1488,27)}if(!(i[a+20>>0]|0)){k[b>>2]=k[a+92>>2];k[b+4>>2]=k[a+96>>2];k[b+8>>2]=k[a+100>>2];r=c;return}else{kg(k[a+16>>2]|0,4101,b|0);r=c;return}}function N1(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;var e=0;e=r;r=r+16|0;if((k[a+152>>2]|0)>1){a=xf(16)|0;os(a,362877,e);k[a>>2]=21884;Jc(a|0,1488,27)}k[a+128>>2]=~~(b*57.295780181884766);k[a+132>>2]=~~(c*57.295780181884766);o[a+136>>2]=d;if(!(i[a+20>>0]|0)){r=e;return}Sb(k[a+16>>2]|0,4097,~~(b*57.295780181884766)|0);Sb(k[a+16>>2]|0,4098,k[a+132>>2]|0);Qb(k[a+16>>2]|0,4130,+(+o[a+136>>2]));r=e;return}function O1(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+16|0;if((k[a+152>>2]|0)>1){a=xf(16)|0;os(a,362877,e);k[a>>2]=21884;Jc(a|0,1488,27)}else{o[b>>2]=+(k[a+128>>2]|0)*.01745329238474369;o[c>>2]=+(k[a+132>>2]|0)*.01745329238474369;k[d>>2]=k[a+136>>2];r=e;return}}function P1(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;if((k[a+152>>2]|0)>1){a=xf(16)|0;os(a,362877,c);k[a>>2]=21884;Jc(a|0,1488,27)}if(!(i[a+20>>0]|0)){a=a+104|0;b=b&1;i[a>>0]=b;r=c;return}Sb(k[a+16>>2]|0,514,b&1|0);a=a+104|0;b=b&1;i[a>>0]=b;r=c;return}function Q1(a){a=a|0;var b=0;b=r;r=r+16|0;if((k[a+152>>2]|0)>1){a=xf(16)|0;os(a,362877,b);k[a>>2]=21884;Jc(a|0,1488,27)}else{r=b;return (i[a+104>>0]|0)!=0|0}return 0}function R1(a,b){a=a|0;b=b|0;if(i[a+20>>0]|0)if(!(k[a+8>>2]|0))Sb(k[a+16>>2]|0,4103,b&1|0);i[a+105>>0]=b&1;return}function S1(a){a=a|0;return (i[a+105>>0]|0)!=0|0}function T1(a,b){a=a|0;b=+b;if(i[a+20>>0]|0)Qb(k[a+16>>2]|0,4109,+b);o[a+108>>2]=b;return}function U1(a){a=a|0;var b=0,c=0.0;b=r;r=r+16|0;if(!(i[a+20>>0]|0)){c=+o[a+108>>2];r=b;return +c}else{Ze(k[a+16>>2]|0,4109,b|0);c=+o[b>>2];r=b;return +c}return 0.0}function V1(a,b){a=a|0;b=+b;if(i[a+20>>0]|0)Qb(k[a+16>>2]|0,4110,+b);o[a+112>>2]=b;return}function W1(a){a=a|0;var b=0,c=0.0;b=r;r=r+16|0;if(!(i[a+20>>0]|0)){c=+o[a+112>>2];r=b;return +c}else{Ze(k[a+16>>2]|0,4110,b|0);c=+o[b>>2];r=b;return +c}return 0.0}function X1(a,b){a=a|0;b=+b;var c=0;c=r;r=r+16|0;if((k[a+152>>2]|0)>1){a=xf(16)|0;os(a,362877,c);k[a>>2]=21884;Jc(a|0,1488,27)}if(!(i[a+20>>0]|0)){a=a+116|0;o[a>>2]=b;r=c;return}Qb(k[a+16>>2]|0,4128,+b);a=a+116|0;o[a>>2]=b;r=c;return}function Y1(a){a=a|0;var b=0,c=0.0;b=r;r=r+16|0;if((k[a+152>>2]|0)>1){a=xf(16)|0;os(a,362877,b);k[a>>2]=21884;Jc(a|0,1488,27)}if(!(i[a+20>>0]|0)){c=+o[a+116>>2];r=b;return +c}else{Ze(k[a+16>>2]|0,4128,b+4|0);c=+o[b+4>>2];r=b;return +c}return 0.0}function Z1(a,b){a=a|0;b=+b;var c=0;c=r;r=r+16|0;if((k[a+152>>2]|0)>1){a=xf(16)|0;os(a,362877,c);k[a>>2]=21884;Jc(a|0,1488,27)}if(!(i[a+20>>0]|0)){a=a+120|0;o[a>>2]=b;r=c;return}Qb(k[a+16>>2]|0,4129,+b);a=a+120|0;o[a>>2]=b;r=c;return}function _1(a){a=a|0;var b=0,c=0.0;b=r;r=r+16|0;if((k[a+152>>2]|0)>1){a=xf(16)|0;os(a,362877,b);k[a>>2]=21884;Jc(a|0,1488,27)}if(!(i[a+20>>0]|0)){c=+o[a+120>>2];r=b;return +c}else{Ze(k[a+16>>2]|0,4129,b+4|0);c=+o[b+4>>2];r=b;return +c}return 0.0}function $1(a,b){a=a|0;b=+b;var c=0;c=r;r=r+16|0;if((k[a+152>>2]|0)>1){a=xf(16)|0;os(a,362877,c);k[a>>2]=21884;Jc(a|0,1488,27)}b=b>3402823466385288598117041.0e14?3402823466385288598117041.0e14:b;if(!(i[a+20>>0]|0)){a=a+124|0;o[a>>2]=b;r=c;return}Qb(k[a+16>>2]|0,4131,+b);a=a+124|0;o[a>>2]=b;r=c;return}function a2(a){a=a|0;var b=0,c=0.0;b=r;r=r+16|0;if((k[a+152>>2]|0)>1){a=xf(16)|0;os(a,362877,b);k[a>>2]=21884;Jc(a|0,1488,27)}if(!(i[a+20>>0]|0)){c=+o[a+124>>2];r=b;return +c}else{Ze(k[a+16>>2]|0,4131,b+4|0);c=+o[b+4>>2];r=b;return +c}return 0.0}function b2(a){a=a|0;return k[a+152>>2]|0}function c2(a,b,c){a=a|0;b=+b;c=c|0;var d=0;if(!(i[a+20>>0]|0))return;d=(k[a+8>>2]|0)==1;do if((k[c>>2]|0)==1)if(d){o[a+140>>2]=b;c=k[a+160>>2]|0;b=b/+(Gi[k[(k[c>>2]|0)+56>>2]&2047](c)|0);o[a+144>>2]=b;c=k[a+160>>2]|0;aj[k[(k[c>>2]|0)+32>>2]&7](c,b)|0;break}else{Qb(k[a+16>>2]|0,4133,+b);break}else if(d){o[a+144>>2]=b;c=k[a+160>>2]|0;aj[k[(k[c>>2]|0)+32>>2]&7](c,b)|0;c=k[a+160>>2]|0;b=+(Gi[k[(k[c>>2]|0)+56>>2]&2047](c)|0)*b;o[a+140>>2]=b;break}else{Qb(k[a+16>>2]|0,4132,+b);break}while(0);if((k[a+8>>2]|0)!=1)return;c=(i[a+106>>0]|0)==0;d2(a);e2(a)|0;if(c)return;if(!(i[a+20>>0]|0))return;Cb(k[a+16>>2]|0);i[a+106>>0]=1;return}function d2(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;if(!(i[a+20>>0]|0)){b=a+164|0;k[b>>2]=0;i[a+20>>0]=0;r=c;return}switch(k[a+8>>2]|0){case 0:{Wh(k[a+16>>2]|0);b=a+16|0;break}case 1:{Wh(k[a+16>>2]|0);k[c+4>>2]=0;Ye(k[a+16>>2]|0,4117,c+4|0);b=k[c+4>>2]|0;k[c+4>>2]=b+-1;if(b|0)do{ui(k[a+16>>2]|0,1,c|0);b=k[c+4>>2]|0;k[c+4>>2]=b+-1}while((b|0)!=0);b=a+16|0;break}default:b=a+16|0}Sb(k[b>>2]|0,4105,0);b=a+164|0;k[b>>2]=0;i[a+20>>0]=0;r=c;return}function e2(a){a=a|0;var b=0,c=0;switch(k[a+8>>2]|0){case 0:{Sb(k[a+16>>2]|0,4105,k[(k[a+56>>2]|0)+8>>2]|0);break}case 1:{b=0;do{if(!(y1(a,k[a+24+(b<<2)>>2]|0,k[a+160>>2]|0)|0))break;b=b+1|0;c=k[a+160>>2]|0}while(b>>>0<8&((Gi[k[(k[c>>2]|0)+44>>2]&2047](c)|0)^1));if((b|0)>0)$e(k[a+16>>2]|0,b|0,a+24|0);break}default:{}}f2(a);of()|0;Pe(k[a+16>>2]|0);c=(of()|0)==0;i[a+20>>0]=1;return c|0}function f2(a){a=a|0;var b=0,c=0;Ug(k[a+16>>2]|0,4100,a+68|0);Ug(k[a+16>>2]|0,4102,a+80|0);Ug(k[a+16>>2]|0,4101,a+92|0);Qb(k[a+16>>2]|0,4099,+(+o[a+60>>2]));Qb(k[a+16>>2]|0,4106,+(+o[a+64>>2]));Qb(k[a+16>>2]|0,4109,+(+o[a+108>>2]));Qb(k[a+16>>2]|0,4110,+(+o[a+112>>2]));Qb(k[a+16>>2]|0,4128,+(+o[a+116>>2]));Qb(k[a+16>>2]|0,4129,+(+o[a+120>>2]));Qb(k[a+16>>2]|0,4131,+(+o[a+124>>2]));b=k[a+16>>2]|0;if(!(k[a+8>>2]|0))c=Gi[k[(k[a>>2]|0)+128>>2]&2047](a)|0;else c=0;Sb(b|0,4103,c&1|0);Sb(k[a+16>>2]|0,514,l[a+104>>0]|0|0);Sb(k[a+16>>2]|0,4097,k[a+128>>2]|0);Sb(k[a+16>>2]|0,4098,k[a+132>>2]|0);Qb(k[a+16>>2]|0,4130,+(+o[a+136>>2]));return}function g2(a,b){a=a|0;b=b|0;var c=0.0,d=0;d=r;r=r+16|0;if(!(i[a+20>>0]|0)){c=0.0;r=d;return +c}b=(k[b>>2]|0)==1;Ze(k[a+16>>2]|0,4133,d|0);do if(b)if((k[a+8>>2]|0)==1){c=+o[a+140>>2]+ +o[d>>2];o[d>>2]=c;break}else{c=+o[d>>2];break}else{c=+o[d>>2]/+(k[a+148>>2]|0);o[d>>2]=c;if((k[a+8>>2]|0)==1){c=c+ +o[a+144>>2];o[d>>2]=c}}while(0);r=d;return +c}function h2(a,b){a=a|0;b=b|0;var c=0.0,d=0;b=k[b>>2]|0;if((k[a+8>>2]|0)==1){d=k[a+160>>2]|0;c=+Xi[k[(k[d>>2]|0)+60>>2]&63](d);if(!b)return +c;d=k[a+160>>2]|0;c=c*+(Gi[k[(k[d>>2]|0)+56>>2]&2047](d)|0);return +c}else{c=+(((k[(k[a+56>>2]|0)+12>>2]|0)/(k[a+152>>2]|0)|0|0)/((k[a+156>>2]|0)/8|0|0)|0|0);if((b|0)==1)return +c;c=c/+(k[a+148>>2]|0);return +c}return 0.0}function i2(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=r;r=r+16|0;w2(a,0);k[a>>2]=21684;k[a+12>>2]=b;i[a+20>>0]=0;k[a+56>>2]=0;o[a+60>>2]=1.0;o[a+64>>2]=1.0;i[a+104>>0]=0;i[a+105>>0]=0;i[a+106>>0]=0;o[a+108>>2]=0.0;o[a+112>>2]=1.0;o[a+116>>2]=1.0;o[a+120>>2]=1.0;o[a+124>>2]=3402823466385288598117041.0e14;k[a+128>>2]=0;k[a+128+4>>2]=0;k[a+128>>2]=360;k[a+132>>2]=360;o[a+136>>2]=0.0;o[a+140>>2]=0.0;o[a+144>>2]=0.0;b=Gi[k[(k[c>>2]|0)+32>>2]&2047](c)|0;k[a+148>>2]=b;b=Gi[k[(k[c>>2]|0)+24>>2]&2047](c)|0;k[a+152>>2]=b;b=Gi[k[(k[c>>2]|0)+28>>2]&2047](c)|0;k[a+156>>2]=b;k[a+160>>2]=0;k[a+164>>2]=0;b=Gi[k[(k[c>>2]|0)+24>>2]&2047](c)|0;d=Gi[k[(k[c>>2]|0)+28>>2]&2047](c)|0;if((b|0)==1&(d|0)==8)b=4352;else if((b|0)==1&(d|0)==16)b=4353;else if((b|0)==2&(d|0)==8)b=4354;else if((b|0)==2&(d|0)==16)b=4355;else{a=xf(16)|0;d=Gi[k[(k[c>>2]|0)+24>>2]&2047](c)|0;c=Gi[k[(k[c>>2]|0)+28>>2]&2047](c)|0;k[e>>2]=d;k[e+4>>2]=c;os(a,363061,e);k[a>>2]=21904;Jc(a|0,1504,27)}d=kBb(16)|0;g=Gi[k[(k[c>>2]|0)+16>>2]&2047](c)|0;f=Gi[k[(k[c>>2]|0)+20>>2]&2047](c)|0;c=Gi[k[(k[c>>2]|0)+32>>2]&2047](c)|0;Uj(d);k[d>>2]=21660;k[d+12>>2]=f;Tb(1,d+8|0);yg(k[d+8>>2]|0,b|0,g|0,f|0,c|0);Si[k[(k[d>>2]|0)+8>>2]&1023](d);b=k[a+56>>2]|0;if(!b){k[a+56>>2]=d;b=k[d>>2]|0;b=b+12|0;b=k[b>>2]|0;Si[b&1023](d);b=a+68|0;d=b+36|0;do{k[b>>2]=0;b=b+4|0}while((b|0)<(d|0));r=e;return}Si[k[(k[b>>2]|0)+12>>2]&1023](b);k[a+56>>2]=d;b=k[d>>2]|0;b=b+12|0;b=k[b>>2]|0;Si[b&1023](d);b=a+68|0;d=b+36|0;do{k[b>>2]=0;b=b+4|0}while((b|0)<(d|0));r=e;return}function j2(a){a=a|0;ls(a);CAb(a);return}function k2(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;w2(a,1);k[a>>2]=21684;k[a+12>>2]=b;i[a+20>>0]=0;k[a+56>>2]=0;o[a+60>>2]=1.0;o[a+64>>2]=1.0;i[a+104>>0]=0;i[a+105>>0]=0;i[a+106>>0]=0;o[a+108>>2]=0.0;o[a+112>>2]=1.0;o[a+116>>2]=1.0;o[a+120>>2]=1.0;o[a+124>>2]=3402823466385288598117041.0e14;k[a+128>>2]=0;k[a+128+4>>2]=0;k[a+128>>2]=360;k[a+132>>2]=360;o[a+136>>2]=0.0;o[a+140>>2]=0.0;o[a+144>>2]=0.0;b=Gi[k[(k[c>>2]|0)+56>>2]&2047](c)|0;k[a+148>>2]=b;b=Gi[k[(k[c>>2]|0)+48>>2]&2047](c)|0;k[a+152>>2]=b;b=Gi[k[(k[c>>2]|0)+52>>2]&2047](c)|0;k[a+156>>2]=b;k[a+160>>2]=c;Si[k[(k[c>>2]|0)+8>>2]&1023](c);k[a+164>>2]=0;b=Gi[k[(k[c>>2]|0)+48>>2]&2047](c)|0;d=Gi[k[(k[c>>2]|0)+52>>2]&2047](c)|0;if((b|0)==1&(d|0)==8){b=a+24|0;Tb(8,b|0);b=a+68|0;d=b+36|0;do{k[b>>2]=0;b=b+4|0}while((b|0)<(d|0));r=e;return}if((b|0)==1&(d|0)==16){b=a+24|0;Tb(8,b|0);b=a+68|0;d=b+36|0;do{k[b>>2]=0;b=b+4|0}while((b|0)<(d|0));r=e;return}if((b|0)==2&((d|0)==8|(d|0)==16)){b=a+24|0;Tb(8,b|0);b=a+68|0;d=b+36|0;do{k[b>>2]=0;b=b+4|0}while((b|0)<(d|0));r=e;return}else{a=xf(16)|0;d=Gi[k[(k[c>>2]|0)+48>>2]&2047](c)|0;c=Gi[k[(k[c>>2]|0)+52>>2]&2047](c)|0;k[e>>2]=d;k[e+4>>2]=c;os(a,363061,e);k[a>>2]=21904;Jc(a|0,1504,27)}}function l2(a){a=a|0;if(!(i[a+20>>0]|0))return;Cb(k[a+16>>2]|0);i[a+106>>0]=1;return}function m2(a){a=a|0;if(!(i[a+20>>0]|0))return;if(!(i[a+106>>0]|0))return;Pe(k[a+16>>2]|0);i[a+106>>0]=0;return}function n2(a){a=a|0;var b=0,c=0;b=k[a+8>>2]|0;if(!(i[a+20>>0]|0)){if((b|0)!=1)return;b=k[a+160>>2]|0;Gi[k[(k[b>>2]|0)+36>>2]&2047](b)|0;o[a+140>>2]=0.0;o[a+144>>2]=0.0;return}switch(b|0){case 0:{Eh(k[a+16>>2]|0);if(i[a+106>>0]|0)return;Pe(k[a+16>>2]|0);return}case 1:{b=(i[a+106>>0]|0)==0;c=k[a+160>>2]|0;Gi[k[(k[c>>2]|0)+36>>2]&2047](c)|0;d2(a);e2(a)|0;if(!b)if(i[a+20>>0]|0){Cb(k[a+16>>2]|0);i[a+106>>0]=1}o[a+140>>2]=0.0;o[a+144>>2]=0.0;return}default:return}}function o2(){i[629500]=0;i[629512]=0;i[629524]=0;i[629536]=0;i[629548]=0;i[629560]=0;i[629572]=0;i[629584]=0;i[629596]=0;i[629608]=0;i[629620]=0;i[629632]=0;i[629644]=0;i[629656]=0;k[157415]=0;k[157416]=0;k[157417]=0;k[157418]=0;k[157419]=0;k[157420]=0;k[157421]=0;p2(629492,522435,0)|0;p2(629492,363168,1)|0;p2(629492,363176,2)|0;p2(629492,434098,3)|0;p2(629492,363191,4)|0;p2(629492,363205,5)|0;p2(629492,363214,6)|0;return}function p2(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=r;r=r+16|0;d=i[b>>0]|0;if(!(d<<24>>24))e=5381;else{f=b;e=5381;do{f=f+1|0;e=(e*33|0)+(d<<24>>24)|0;d=i[f>>0]|0}while(d<<24>>24!=0)}d=(e>>>0)%14|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+1|0)>>>0)%14|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+2|0)>>>0)%14|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+3|0)>>>0)%14|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+4|0)>>>0)%14|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+5|0)>>>0)%14|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+6|0)>>>0)%14|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+7|0)>>>0)%14|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+8|0)>>>0)%14|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+9|0)>>>0)%14|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+10|0)>>>0)%14|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+11|0)>>>0)%14|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+12|0)>>>0)%14|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else{d=((e+13|0)>>>0)%14|0;if(!(i[a+(d*12|0)+8>>0]|0)){e=d;d=a+(d*12|0)+8|0;g=5}else d=0}}}}}}}}}}}}}if((g|0)==5){i[d>>0]=1;k[a+(e*12|0)>>2]=b;k[a+(e*12|0)+4>>2]=c;d=1}if(c>>>0>6){k[h>>2]=b;k[h+4>>2]=c;Jpb(441170,h)|0;g=0;r=h;return g|0}else{k[a+168+(c<<2)>>2]=b;g=d;r=h;return g|0}return 0}function q2(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0;c=i[a>>0]|0;if(!(c<<24>>24))d=5381;else{e=a;d=5381;do{e=e+1|0;d=(d*33|0)+(c<<24>>24)|0;c=i[e>>0]|0}while(c<<24>>24!=0)}h=0;while(1){g=((h+d|0)>>>0)%14|0;if(!(i[629492+(g*12|0)+8>>0]|0)){c=1;d=0;j=11;break}e=k[629492+(g*12|0)>>2]|0;f=i[e>>0]|0;a:do if(!(f<<24>>24)){c=a;j=8}else{c=a;while(1){l=i[c>>0]|0;if(!(l<<24>>24?f<<24>>24==l<<24>>24:0))break a;e=e+1|0;c=c+1|0;f=i[e>>0]|0;if(!(f<<24>>24)){j=8;break}}}while(0);if((j|0)==8){j=0;if(!(i[c>>0]|0)){j=9;break}}h=h+1|0;if(h>>>0>=14){c=0;d=0;j=11;break}}if((j|0)==9){k[b>>2]=k[629492+(g*12|0)+4>>2];j=1;l=1;l=j&l;return l|0}else if((j|0)==11){l=c&d;return l|0}return 0}function r2(a,b){a=a|0;b=b|0;if(a>>>0>6)a=0;else{a=k[629660+(a<<2)>>2]|0;if(!a)a=0;else{k[b>>2]=a;a=1}}return a|0}function s2(a){a=a|0;return}function t2(a){a=a|0;CAb(a);return}function u2(a){a=a|0;return k[a+8>>2]|0}function v2(){var a=0,b=0,c=0,d=0,e=0;e=r;r=r+32|0;i[629696]=0;i[629708]=0;i[629720]=0;i[629732]=0;k[157434]=0;k[157435]=0;a=i[434587]|0;if(!(a<<24>>24))b=5381;else{c=434587;b=5381;do{c=c+1|0;b=(b*33|0)+(a<<24>>24)|0;a=i[c>>0]|0}while(a<<24>>24!=0)}a=b&3;if(!(i[629688+(a*12|0)+8>>0]|0)){b=a;a=629688+(a*12|0)+8|0;d=5}else{a=b+1&3;if(!(i[629688+(a*12|0)+8>>0]|0)){b=a;a=629688+(a*12|0)+8|0;d=5}else{a=b+2&3;if(!(i[629688+(a*12|0)+8>>0]|0)){b=a;a=629688+(a*12|0)+8|0;d=5}else{a=b+3&3;if(!(i[629688+(a*12|0)+8>>0]|0)){b=a;a=629688+(a*12|0)+8|0;d=5}}}}if((d|0)==5){i[a>>0]=1;k[629688+(b*12|0)>>2]=434587;k[629688+(b*12|0)+4>>2]=0}if(0>1){k[e>>2]=434587;k[e+4>>2]=0;Jpb(441170,e)|0}else k[157434]=434587;a=i[434572]|0;if(!(a<<24>>24))b=5381;else{c=434572;b=5381;do{c=c+1|0;b=(b*33|0)+(a<<24>>24)|0;a=i[c>>0]|0}while(a<<24>>24!=0)}a=b&3;if(!(i[629688+(a*12|0)+8>>0]|0)){b=a;a=629688+(a*12|0)+8|0;d=17}else{a=b+1&3;if(!(i[629688+(a*12|0)+8>>0]|0)){b=a;a=629688+(a*12|0)+8|0;d=17}else{a=b+2&3;if(!(i[629688+(a*12|0)+8>>0]|0)){b=a;a=629688+(a*12|0)+8|0;d=17}else{a=b+3&3;if(!(i[629688+(a*12|0)+8>>0]|0)){b=a;a=629688+(a*12|0)+8|0;d=17}}}}if((d|0)==17){i[a>>0]=1;k[629688+(b*12|0)>>2]=434572;k[629688+(b*12|0)+4>>2]=1}if(1>1){k[e+8>>2]=434572;k[e+8+4>>2]=1;Jpb(441170,e+8|0)|0}else k[157435]=434572;i[629752]=0;i[629764]=0;i[629776]=0;i[629788]=0;k[157448]=0;k[157449]=0;a=i[363251]|0;if(!(a<<24>>24))b=5381;else{c=363251;b=5381;do{c=c+1|0;b=(b*33|0)+(a<<24>>24)|0;a=i[c>>0]|0}while(a<<24>>24!=0)}a=b&3;if(!(i[629744+(a*12|0)+8>>0]|0)){b=a;a=629744+(a*12|0)+8|0;d=25}else{a=b+1&3;if(!(i[629744+(a*12|0)+8>>0]|0)){b=a;a=629744+(a*12|0)+8|0;d=25}else{a=b+2&3;if(!(i[629744+(a*12|0)+8>>0]|0)){b=a;a=629744+(a*12|0)+8|0;d=25}else{a=b+3&3;if(!(i[629744+(a*12|0)+8>>0]|0)){b=a;a=629744+(a*12|0)+8|0;d=25}}}}if((d|0)==25){i[a>>0]=1;k[629744+(b*12|0)>>2]=363251;k[629744+(b*12|0)+4>>2]=0}if(0>1){k[e+16>>2]=363251;k[e+16+4>>2]=0;Jpb(441170,e+16|0)|0}else k[157448]=363251;a=i[363259]|0;if(!(a<<24>>24))b=5381;else{c=363259;b=5381;do{c=c+1|0;b=(b*33|0)+(a<<24>>24)|0;a=i[c>>0]|0}while(a<<24>>24!=0)}a=b&3;if(!(i[629744+(a*12|0)+8>>0]|0)){b=a;a=629744+(a*12|0)+8|0;d=37}else{a=b+1&3;if(!(i[629744+(a*12|0)+8>>0]|0)){b=a;a=629744+(a*12|0)+8|0;d=37}else{a=b+2&3;if(!(i[629744+(a*12|0)+8>>0]|0)){b=a;a=629744+(a*12|0)+8|0;d=37}else{a=b+3&3;if(!(i[629744+(a*12|0)+8>>0]|0)){b=a;a=629744+(a*12|0)+8|0;d=37}}}}if((d|0)==37){i[a>>0]=1;k[629744+(b*12|0)>>2]=363259;k[629744+(b*12|0)+4>>2]=1}if(1>1){k[e+24>>2]=363259;k[e+24+4>>2]=1;Jpb(441170,e+24|0)|0;r=e;return}else{k[157449]=363259;r=e;return}}function w2(a,b){a=a|0;b=b|0;Uj(a);k[a>>2]=21924;k[a+8>>2]=b;return}function x2(a,b){a=a|0;b=b|0;return y2(629688,a,b)|0}function y2(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0;e=i[b>>0]|0;if(!(e<<24>>24))m=5381;else{f=b;g=e;d=5381;do{f=f+1|0;d=(d*33|0)+(g<<24>>24)|0;g=i[f>>0]|0}while(g<<24>>24!=0);m=d}d=m&3;if(!(i[a+(d*12|0)+8>>0]|0)){c=1;a=0;a=c&a;return a|0}g=k[a+(d*12|0)>>2]|0;f=i[g>>0]|0;a:do if(!(f<<24>>24)){f=e;l=8}else if(e<<24>>24?f<<24>>24==e<<24>>24:0){j=b;while(1){g=g+1|0;j=j+1|0;h=i[g>>0]|0;f=i[j>>0]|0;if(!(h<<24>>24)){l=8;break a}if(!(f<<24>>24?h<<24>>24==f<<24>>24:0)){l=10;break}}}else l=10;while(0);if((l|0)==8)if(f<<24>>24)l=10;do if((l|0)==10){d=m+1&3;if(!(i[a+(d*12|0)+8>>0]|0)){c=1;a=0;a=c&a;return a|0}g=k[a+(d*12|0)>>2]|0;f=i[g>>0]|0;b:do if(!(f<<24>>24)){f=e;l=16}else if(e<<24>>24?f<<24>>24==e<<24>>24:0){j=b;do{g=g+1|0;j=j+1|0;h=i[g>>0]|0;f=i[j>>0]|0;if(!(h<<24>>24)){l=16;break b}}while(f<<24>>24?h<<24>>24==f<<24>>24:0)}while(0);if((l|0)==16)if(!(f<<24>>24))break;d=m+2&3;if(!(i[a+(d*12|0)+8>>0]|0)){c=1;a=0;a=c&a;return a|0}g=k[a+(d*12|0)>>2]|0;f=i[g>>0]|0;c:do if(!(f<<24>>24)){f=e;l=22}else if(e<<24>>24?f<<24>>24==e<<24>>24:0){j=b;do{g=g+1|0;j=j+1|0;h=i[g>>0]|0;f=i[j>>0]|0;if(!(h<<24>>24)){l=22;break c}}while(f<<24>>24?h<<24>>24==f<<24>>24:0)}while(0);if((l|0)==22)if(!(f<<24>>24))break;d=m+3&3;if(!(i[a+(d*12|0)+8>>0]|0)){c=1;a=0;a=c&a;return a|0}f=k[a+(d*12|0)>>2]|0;g=i[f>>0]|0;d:do if(g<<24>>24){if(!(e<<24>>24?g<<24>>24==e<<24>>24:0)){c=0;a=0;a=c&a;return a|0}while(1){f=f+1|0;b=b+1|0;g=i[f>>0]|0;e=i[b>>0]|0;if(!(g<<24>>24))break d;if(!(e<<24>>24?g<<24>>24==e<<24>>24:0)){d=0;e=0;break}}a=d&e;return a|0}while(0);if(e<<24>>24){c=0;a=0;a=c&a;return a|0}}while(0);k[c>>2]=k[a+(d*12|0)+4>>2];c=1;a=1;a=c&a;return a|0}function z2(a,b){a=a|0;b=b|0;if(a>>>0>1)a=0;else{a=k[629736+(a<<2)>>2]|0;if(!a)a=0;else{k[b>>2]=a;a=1}}return a|0}function A2(a,b){a=a|0;b=b|0;return B2(629744,a,b)|0}function B2(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0;e=i[b>>0]|0;if(!(e<<24>>24))m=5381;else{f=b;g=e;d=5381;do{f=f+1|0;d=(d*33|0)+(g<<24>>24)|0;g=i[f>>0]|0}while(g<<24>>24!=0);m=d}d=m&3;if(!(i[a+(d*12|0)+8>>0]|0)){c=1;a=0;a=c&a;return a|0}g=k[a+(d*12|0)>>2]|0;f=i[g>>0]|0;a:do if(!(f<<24>>24)){f=e;l=8}else if(e<<24>>24?f<<24>>24==e<<24>>24:0){j=b;while(1){g=g+1|0;j=j+1|0;h=i[g>>0]|0;f=i[j>>0]|0;if(!(h<<24>>24)){l=8;break a}if(!(f<<24>>24?h<<24>>24==f<<24>>24:0)){l=10;break}}}else l=10;while(0);if((l|0)==8)if(f<<24>>24)l=10;do if((l|0)==10){d=m+1&3;if(!(i[a+(d*12|0)+8>>0]|0)){c=1;a=0;a=c&a;return a|0}g=k[a+(d*12|0)>>2]|0;f=i[g>>0]|0;b:do if(!(f<<24>>24)){f=e;l=16}else if(e<<24>>24?f<<24>>24==e<<24>>24:0){j=b;do{g=g+1|0;j=j+1|0;h=i[g>>0]|0;f=i[j>>0]|0;if(!(h<<24>>24)){l=16;break b}}while(f<<24>>24?h<<24>>24==f<<24>>24:0)}while(0);if((l|0)==16)if(!(f<<24>>24))break;d=m+2&3;if(!(i[a+(d*12|0)+8>>0]|0)){c=1;a=0;a=c&a;return a|0}g=k[a+(d*12|0)>>2]|0;f=i[g>>0]|0;c:do if(!(f<<24>>24)){f=e;l=22}else if(e<<24>>24?f<<24>>24==e<<24>>24:0){j=b;do{g=g+1|0;j=j+1|0;h=i[g>>0]|0;f=i[j>>0]|0;if(!(h<<24>>24)){l=22;break c}}while(f<<24>>24?h<<24>>24==f<<24>>24:0)}while(0);if((l|0)==22)if(!(f<<24>>24))break;d=m+3&3;if(!(i[a+(d*12|0)+8>>0]|0)){c=1;a=0;a=c&a;return a|0}f=k[a+(d*12|0)>>2]|0;g=i[f>>0]|0;d:do if(g<<24>>24){if(!(e<<24>>24?g<<24>>24==e<<24>>24:0)){c=0;a=0;a=c&a;return a|0}while(1){f=f+1|0;b=b+1|0;g=i[f>>0]|0;e=i[b>>0]|0;if(!(g<<24>>24))break d;if(!(e<<24>>24?g<<24>>24==e<<24>>24:0)){d=0;e=0;break}}a=d&e;return a|0}while(0);if(e<<24>>24){c=0;a=0;a=c&a;return a|0}}while(0);k[c>>2]=k[a+(d*12|0)+4>>2];c=1;a=1;a=c&a;return a|0}function C2(a){a=a|0;k[a>>2]=22112;Dhb(346,a);rhb(16384);V2(a);return}function D2(a,b){a=a|0;b=b|0;var c=0;c=k[155702]|0;a=k[b>>2]|0;if(!((c|0)!=0&(a&-2|0)==260))return 1;Di[k[(k[c>>2]|0)+36>>2]&511](c,(a|0)==261);return 1}function E2(a){a=a|0;k[a>>2]=22112;Dhb(346,a);rhb(16384);V2(a);CAb(a);return}function F2(a){a=a|0;return 1}function G2(a){a=a|0;return 363291}function H2(a){a=a|0;var b=0;b=r;r=r+64|0;do{}while((xjb(b)|0)!=0);X2(a);r=b;return}function I2(a){a=a|0;var b=0,c=0;c=r;r=r+64|0;if(!(xjb(c)|0)){r=c;return}do{b=J2(a,c)|0;if(b|0){a3(a,b);Si[k[(k[b>>2]|0)+12>>2]&1023](b)}}while((xjb(c)|0)!=0);r=c;return}function J2(a,b){a=a|0;b=b|0;var c=0,d=0,e=0.0,f=0.0,g=0,h=0;h=r;r=r+432|0;k[h+420>>2]=0;g=h+420+4|0;k[g>>2]=0;k[h+420+8>>2]=0;K2(h+420|0,4);k[h+416>>2]=0;a:do switch(k[b>>2]|0){case 768:{if(i[b+13>>0]|0){a=k[155705]|0;if(a|0)if(!(Gi[k[(k[a>>2]|0)+28>>2]&2047](a)|0)){c=0;break a}}c=k[157451]|0;if(!c)a=0;else{d=k[b+16+4>>2]|0;a=629804;b:do{while(1){if((k[c+16>>2]|0)>=(d|0)){a=c;break}c=k[c+4>>2]|0;if(!c)break b}c=k[a>>2]|0}while((c|0)!=0);if((a|0)==629804)a=0;else if((d|0)<(k[a+16>>2]|0))a=0;else a=k[a+20>>2]|0}if(!(xka(a,h+412|0)|0))k[h+412>>2]=439736;uka(k[b+16>>2]|0,h+416|0)|0;if(!(zka(k[h+416>>2]|0,h+408|0)|0))k[h+408>>2]=439736;a=kBb(32)|0;c=k[h+412>>2]|0;A_(a,c,Fnb(c)|0);k[h+404>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);c=k[g>>2]|0;if(c>>>0<(k[h+420+8>>2]|0)>>>0){k[c>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);k[g>>2]=(k[g>>2]|0)+4}else wu(h+420|0,h+404|0);Si[k[(k[a>>2]|0)+12>>2]&1023](a);c=kBb(32)|0;a=k[h+408>>2]|0;A_(c,a,Fnb(a)|0);k[h+400>>2]=c;Si[k[(k[c>>2]|0)+8>>2]&1023](c);a=k[g>>2]|0;if(a>>>0<(k[h+420+8>>2]|0)>>>0){k[a>>2]=c;Si[k[(k[c>>2]|0)+8>>2]&1023](c);k[g>>2]=(k[g>>2]|0)+4}else wu(h+420|0,h+400|0);Si[k[(k[c>>2]|0)+12>>2]&1023](c);c=kBb(32)|0;y_(c,(i[b+13>>0]|0)!=0);k[h+396>>2]=c;Si[k[(k[c>>2]|0)+8>>2]&1023](c);a=k[g>>2]|0;if(a>>>0<(k[h+420+8>>2]|0)>>>0){k[a>>2]=c;Si[k[(k[c>>2]|0)+8>>2]&1023](c);k[g>>2]=(k[g>>2]|0)+4}else wu(h+420|0,h+396|0);Si[k[(k[c>>2]|0)+12>>2]&1023](c);c=kBb(32)|0;Wqb(h+384|0,363306,10);Y2(c,h+384|0,h+420|0);_qb(h+384|0);break}case 769:{c=k[157451]|0;if(!c)a=0;else{d=k[b+16+4>>2]|0;a=629804;c:do{while(1){if((k[c+16>>2]|0)>=(d|0)){a=c;break}c=k[c+4>>2]|0;if(!c)break c}c=k[a>>2]|0}while((c|0)!=0);if((a|0)==629804)a=0;else if((d|0)<(k[a+16>>2]|0))a=0;else a=k[a+20>>2]|0}if(!(xka(a,h+412|0)|0))k[h+412>>2]=439736;uka(k[b+16>>2]|0,h+416|0)|0;if(!(zka(k[h+416>>2]|0,h+408|0)|0))k[h+408>>2]=439736;a=kBb(32)|0;c=k[h+412>>2]|0;A_(a,c,Fnb(c)|0);k[h+380>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);c=k[g>>2]|0;if(c>>>0<(k[h+420+8>>2]|0)>>>0){k[c>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);k[g>>2]=(k[g>>2]|0)+4}else wu(h+420|0,h+380|0);Si[k[(k[a>>2]|0)+12>>2]&1023](a);a=kBb(32)|0;c=k[h+408>>2]|0;A_(a,c,Fnb(c)|0);k[h+376>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);c=k[g>>2]|0;if(c>>>0<(k[h+420+8>>2]|0)>>>0){k[c>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);k[g>>2]=(k[g>>2]|0)+4}else wu(h+420|0,h+376|0);Si[k[(k[a>>2]|0)+12>>2]&1023](a);c=kBb(32)|0;Wqb(h+364|0,363317,11);Y2(c,h+364|0,h+420|0);_qb(h+364|0);break}case 771:{k[h+412>>2]=b+12;c=kBb(32)|0;A_(c,b+12|0,Fnb(b+12|0)|0);k[h+360>>2]=c;Si[k[(k[c>>2]|0)+8>>2]&1023](c);a=k[g>>2]|0;if(a>>>0<(k[h+420+8>>2]|0)>>>0){k[a>>2]=c;Si[k[(k[c>>2]|0)+8>>2]&1023](c);k[g>>2]=(k[g>>2]|0)+4}else wu(h+420|0,h+360|0);Si[k[(k[c>>2]|0)+12>>2]&1023](c);c=kBb(32)|0;Wqb(h+348|0,363329,9);Y2(c,h+348|0,h+420|0);_qb(h+348|0);break}case 770:{k[h+412>>2]=b+12;a=kBb(32)|0;A_(a,b+12|0,Fnb(b+12|0)|0);k[h+344>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);c=k[g>>2]|0;if(c>>>0<(k[h+420+8>>2]|0)>>>0){k[c>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);k[g>>2]=(k[g>>2]|0)+4}else wu(h+420|0,h+344|0);Si[k[(k[a>>2]|0)+12>>2]&1023](a);a=kBb(32)|0;z_(a,+(k[b+44>>2]|0));k[h+340>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);c=k[g>>2]|0;if(c>>>0<(k[h+420+8>>2]|0)>>>0){k[c>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);k[g>>2]=(k[g>>2]|0)+4}else wu(h+420|0,h+340|0);Si[k[(k[a>>2]|0)+12>>2]&1023](a);c=kBb(32)|0;z_(c,+(k[b+48>>2]|0));k[h+336>>2]=c;Si[k[(k[c>>2]|0)+8>>2]&1023](c);a=k[g>>2]|0;if(a>>>0<(k[h+420+8>>2]|0)>>>0){k[a>>2]=c;Si[k[(k[c>>2]|0)+8>>2]&1023](c);k[g>>2]=(k[g>>2]|0)+4}else wu(h+420|0,h+336|0);Si[k[(k[c>>2]|0)+12>>2]&1023](c);c=kBb(32)|0;Wqb(h+324|0,363339,10);Y2(c,h+324|0,h+420|0);_qb(h+324|0);break}case 1024:{p[h+72>>3]=+(k[b+20>>2]|0);p[h+64>>3]=+(k[b+24>>2]|0);p[h+8>>3]=+(k[b+28>>2]|0);p[h>>3]=+(k[b+32>>2]|0);a=k[155714]|0;if(a|0){kj[k[(k[a>>2]|0)+144>>2]&255](a,h+72|0,h+64|0);a=k[155714]|0;if(a|0)kj[k[(k[a>>2]|0)+144>>2]&255](a,h+8|0,h)}a=kBb(32)|0;z_(a,+p[h+72>>3]);k[h+320>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);c=k[g>>2]|0;d=h+420+8|0;if(c>>>0<(k[d>>2]|0)>>>0){k[c>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);k[g>>2]=(k[g>>2]|0)+4}else wu(h+420|0,h+320|0);Si[k[(k[a>>2]|0)+12>>2]&1023](a);a=kBb(32)|0;z_(a,+p[h+64>>3]);k[h+316>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);c=k[g>>2]|0;if(c>>>0<(k[d>>2]|0)>>>0){k[c>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);k[g>>2]=(k[g>>2]|0)+4}else wu(h+420|0,h+316|0);Si[k[(k[a>>2]|0)+12>>2]&1023](a);a=kBb(32)|0;z_(a,+p[h+8>>3]);k[h+312>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);c=k[g>>2]|0;if(c>>>0<(k[d>>2]|0)>>>0){k[c>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);k[g>>2]=(k[g>>2]|0)+4}else wu(h+420|0,h+312|0);Si[k[(k[a>>2]|0)+12>>2]&1023](a);a=kBb(32)|0;z_(a,+p[h>>3]);k[h+308>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);c=k[g>>2]|0;if(c>>>0<(k[d>>2]|0)>>>0){k[c>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);k[g>>2]=(k[g>>2]|0)+4}else wu(h+420|0,h+308|0);Si[k[(k[a>>2]|0)+12>>2]&1023](a);c=kBb(32)|0;y_(c,(k[b+12>>2]|0)==-1);k[h+304>>2]=c;Si[k[(k[c>>2]|0)+8>>2]&1023](c);a=k[g>>2]|0;if(a>>>0<(k[d>>2]|0)>>>0){k[a>>2]=c;Si[k[(k[c>>2]|0)+8>>2]&1023](c);k[g>>2]=(k[g>>2]|0)+4}else wu(h+420|0,h+304|0);Si[k[(k[c>>2]|0)+12>>2]&1023](c);c=kBb(32)|0;Wqb(h+292|0,363350,10);Y2(c,h+292|0,h+420|0);_qb(h+292|0);break}case 1026:case 1025:{a=l[b+16>>0]|0;switch(a|0){case 3:{a=2;break}case 2:{a=3;break}default:{}}p[h+72>>3]=+(k[b+20>>2]|0);p[h+64>>3]=+(k[b+24>>2]|0);c=k[155714]|0;if(c|0)kj[k[(k[c>>2]|0)+144>>2]&255](c,h+72|0,h+64|0);c=kBb(32)|0;z_(c,+p[h+72>>3]);k[h+288>>2]=c;Si[k[(k[c>>2]|0)+8>>2]&1023](c);d=k[g>>2]|0;if(d>>>0<(k[h+420+8>>2]|0)>>>0){k[d>>2]=c;Si[k[(k[c>>2]|0)+8>>2]&1023](c);k[g>>2]=(k[g>>2]|0)+4}else wu(h+420|0,h+288|0);Si[k[(k[c>>2]|0)+12>>2]&1023](c);c=kBb(32)|0;z_(c,+p[h+64>>3]);k[h+284>>2]=c;Si[k[(k[c>>2]|0)+8>>2]&1023](c);d=k[g>>2]|0;if(d>>>0<(k[h+420+8>>2]|0)>>>0){k[d>>2]=c;Si[k[(k[c>>2]|0)+8>>2]&1023](c);k[g>>2]=(k[g>>2]|0)+4}else wu(h+420|0,h+284|0);Si[k[(k[c>>2]|0)+12>>2]&1023](c);c=kBb(32)|0;z_(c,+(a|0));k[h+280>>2]=c;Si[k[(k[c>>2]|0)+8>>2]&1023](c);a=k[g>>2]|0;if(a>>>0<(k[h+420+8>>2]|0)>>>0){k[a>>2]=c;Si[k[(k[c>>2]|0)+8>>2]&1023](c);k[g>>2]=(k[g>>2]|0)+4}else wu(h+420|0,h+280|0);Si[k[(k[c>>2]|0)+12>>2]&1023](c);a=kBb(32)|0;y_(a,(k[b+12>>2]|0)==-1);k[h+276>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);c=k[g>>2]|0;if(c>>>0<(k[h+420+8>>2]|0)>>>0){k[c>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);k[g>>2]=(k[g>>2]|0)+4}else wu(h+420|0,h+276|0);Si[k[(k[a>>2]|0)+12>>2]&1023](a);c=kBb(32)|0;b=(k[b>>2]|0)==1025;Wqb(h+264|0,b?363361:363374,b?12:13);Y2(c,h+264|0,h+420|0);_qb(h+264|0);break}case 1027:{a=kBb(32)|0;z_(a,+(k[b+16>>2]|0));k[h+260>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);c=k[g>>2]|0;if(c>>>0<(k[h+420+8>>2]|0)>>>0){k[c>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);k[g>>2]=(k[g>>2]|0)+4}else wu(h+420|0,h+260|0);Si[k[(k[a>>2]|0)+12>>2]&1023](a);c=kBb(32)|0;z_(c,+(k[b+20>>2]|0));k[h+256>>2]=c;Si[k[(k[c>>2]|0)+8>>2]&1023](c);a=k[g>>2]|0;if(a>>>0<(k[h+420+8>>2]|0)>>>0){k[a>>2]=c;Si[k[(k[c>>2]|0)+8>>2]&1023](c);k[g>>2]=(k[g>>2]|0)+4}else wu(h+420|0,h+256|0);Si[k[(k[c>>2]|0)+12>>2]&1023](c);c=kBb(32)|0;Wqb(h+244|0,363388,10);Y2(c,h+244|0,h+420|0);_qb(h+244|0);break}case 1794:case 1793:case 1792:{a=k[b+16+4>>2]|0;k[h+16>>2]=k[b+16>>2];k[h+16+4>>2]=a;e=+o[b+24>>2];p[h+16+8>>3]=e;f=+o[b+28>>2];p[h+16+16>>3]=f;p[h+16+24>>3]=+o[b+32>>2];p[h+16+32>>3]=+o[b+36>>2];p[h+16+40>>3]=+o[b+40>>2];a=k[155714]|0;k[h+72>>2]=1;k[h+64>>2]=1;if(!a){d=1;c=1;a=0}else{kj[k[(k[a>>2]|0)+140>>2]&255](a,h+72|0,h+64|0);d=k[h+72>>2]|0;e=+p[h+16+8>>3];c=k[h+64>>2]|0;f=+p[h+16+16>>3];a=k[155714]|0}p[h+16+8>>3]=e*+(d|0);p[h+16+16>>3]=f*+(c|0);k[h+72>>2]=1;k[h+64>>2]=1;if(!a){a=1;c=1}else{kj[k[(k[a>>2]|0)+140>>2]&255](a,h+72|0,h+64|0);a=k[h+72>>2]|0;c=k[h+64>>2]|0}p[h+16+24>>3]=+p[h+16+24>>3]*+(a|0);p[h+16+32>>3]=+p[h+16+32>>3]*+(c|0);Wqb(h+232|0,363399,14);a=Rj(h+232|0)|0;_qb(h+232|0);if(a|0)YP(a,k[b>>2]|0,h+16|0);a=kBb(32)|0;B_(a,k[h+16>>2]|0);k[h+228>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);c=k[g>>2]|0;d=h+420+8|0;if(c>>>0<(k[d>>2]|0)>>>0){k[c>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);k[g>>2]=(k[g>>2]|0)+4}else wu(h+420|0,h+228|0);Si[k[(k[a>>2]|0)+12>>2]&1023](a);a=kBb(32)|0;z_(a,+p[h+16+8>>3]);k[h+224>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);c=k[g>>2]|0;if(c>>>0<(k[d>>2]|0)>>>0){k[c>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);k[g>>2]=(k[g>>2]|0)+4}else wu(h+420|0,h+224|0);Si[k[(k[a>>2]|0)+12>>2]&1023](a);a=kBb(32)|0;z_(a,+p[h+16+16>>3]);k[h+220>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);c=k[g>>2]|0;if(c>>>0<(k[d>>2]|0)>>>0){k[c>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);k[g>>2]=(k[g>>2]|0)+4}else wu(h+420|0,h+220|0);Si[k[(k[a>>2]|0)+12>>2]&1023](a);a=kBb(32)|0;z_(a,+p[h+16+24>>3]);k[h+216>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);c=k[g>>2]|0;if(c>>>0<(k[d>>2]|0)>>>0){k[c>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);k[g>>2]=(k[g>>2]|0)+4}else wu(h+420|0,h+216|0);Si[k[(k[a>>2]|0)+12>>2]&1023](a);a=kBb(32)|0;z_(a,+p[h+16+32>>3]);k[h+212>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);c=k[g>>2]|0;if(c>>>0<(k[d>>2]|0)>>>0){k[c>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);k[g>>2]=(k[g>>2]|0)+4}else wu(h+420|0,h+212|0);Si[k[(k[a>>2]|0)+12>>2]&1023](a);a=kBb(32)|0;z_(a,+p[h+16+40>>3]);k[h+208>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);c=k[g>>2]|0;if(c>>>0<(k[d>>2]|0)>>>0){k[c>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);k[g>>2]=(k[g>>2]|0)+4}else wu(h+420|0,h+208|0);Si[k[(k[a>>2]|0)+12>>2]&1023](a);switch(k[b>>2]|0){case 1792:{k[h+412>>2]=363414;a=363414;break}case 1793:{k[h+412>>2]=363427;a=363427;break}default:{k[h+412>>2]=363441;a=363441}}c=kBb(32)|0;Wqb(h+196|0,a,Fnb(a)|0);Y2(c,h+196|0,h+420|0);_qb(h+196|0);break}case 1616:case 1618:case 1617:case 1542:case 1541:case 1538:case 1537:case 1536:case 1540:case 1539:{c=L2(0,b)|0;break}case 512:{c=M2(0,b)|0;break}case 4096:{a=k[155700]|0;do if(!a){a=b+8|0;c=0}else{d=k[(k[a>>2]|0)+168>>2]|0;c=k[b+8>>2]|0;Wqb(h+184|0,c,Fnb(c)|0);Di[d&511](a,h+184|0);_qb(h+184|0);d=k[(k[a>>2]|0)+172>>2]|0;c=k[b+8>>2]|0;Wqb(h+172|0,c,Fnb(c)|0);d=gj[d&511](a,h+172|0)|0;_qb(h+172|0);if(d){a=kBb(32)|0;c=k[b+8>>2]|0;A_(a,c,Fnb(c)|0);k[h+168>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);c=k[g>>2]|0;if(c>>>0<(k[h+420+8>>2]|0)>>>0){k[c>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);k[g>>2]=(k[g>>2]|0)+4}else wu(h+420|0,h+168|0);Si[k[(k[a>>2]|0)+12>>2]&1023](a);c=kBb(32)|0;Wqb(h+156|0,363615,16);Y2(c,h+156|0,h+420|0);_qb(h+156|0);a=b+8|0;break}else{a=kBb(40)|0;c=k[b+8>>2]|0;Wqb(h+144|0,c,Fnb(c)|0);j4(a,h+144|0);k[h+72+4>>2]=a;_qb(h+144|0);k[h+72>>2]=6;a=kBb(32)|0;C_(a,6,h+72|0);k[h+140>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);c=k[g>>2]|0;if(c>>>0<(k[h+420+8>>2]|0)>>>0){k[c>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);k[g>>2]=(k[g>>2]|0)+4}else wu(h+420|0,h+140|0);Si[k[(k[a>>2]|0)+12>>2]&1023](a);c=kBb(32)|0;Wqb(h+128|0,363632,11);Y2(c,h+128|0,h+420|0);_qb(h+128|0);a=k[h+72+4>>2]|0;Si[k[(k[a>>2]|0)+12>>2]&1023](a);a=b+8|0;break}}while(0);Y7a(k[a>>2]|0);break}case 257:case 256:{c=kBb(32)|0;Wqb(h+116|0,363644,4);k[h+104>>2]=0;k[h+104+4>>2]=0;k[h+104+8>>2]=0;Y2(c,h+116|0,h+104|0);a=k[h+104>>2]|0;if(a|0){d=k[h+104+4>>2]|0;if((d|0)!=(a|0)){do{d=d+-4|0;k[h+104+4>>2]=d;b=k[d>>2]|0;if(b){Si[k[(k[b>>2]|0)+12>>2]&1023](b);d=k[h+104+4>>2]|0}}while((d|0)!=(a|0));a=k[h+104>>2]|0}CAb(a)}_qb(h+116|0);break}case 258:{c=kBb(32)|0;Wqb(h+92|0,363649,9);k[h+80>>2]=0;k[h+80+4>>2]=0;k[h+80+8>>2]=0;Y2(c,h+92|0,h+80|0);a=k[h+80>>2]|0;if(a|0){d=k[h+80+4>>2]|0;if((d|0)!=(a|0)){do{d=d+-4|0;k[h+80+4>>2]=d;b=k[d>>2]|0;if(b){Si[k[(k[b>>2]|0)+12>>2]&1023](b);d=k[h+80+4>>2]|0}}while((d|0)!=(a|0));a=k[h+80>>2]|0}CAb(a)}_qb(h+92|0);break}default:c=0}while(0);a=k[h+420>>2]|0;b=k[g>>2]|0;if((a|0)!=(b|0)){do{d=k[a>>2]|0;if(d|0)Si[k[(k[d>>2]|0)+12>>2]&1023](d);a=a+4|0}while((a|0)!=(b|0));a=k[h+420>>2]|0}if(!a){r=h;return c|0}d=k[g>>2]|0;if((d|0)!=(a|0)){do{d=d+-4|0;k[g>>2]=d;b=k[d>>2]|0;if(b){Si[k[(k[b>>2]|0)+12>>2]&1023](b);d=k[g>>2]|0}}while((d|0)!=(a|0));a=k[h+420>>2]|0}CAb(a);r=h;return c|0}function K2(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=k[a>>2]|0;if((k[a+8>>2]|0)-g>>2>>>0>=b>>>0)return;d=k[a+4>>2]|0;if(!b)c=0;else c=kBb(b<<2)|0;h=c+(d-g>>2<<2)|0;f=c+(b<<2)|0;if((d|0)==(g|0)){b=h;e=g;c=g}else{e=h;c=h;do{d=d+-4|0;b=k[d>>2]|0;k[e+-4>>2]=b;if(b|0)Si[k[(k[b>>2]|0)+8>>2]&1023](b);e=c+-4|0;c=e}while((d|0)!=(g|0));b=c;e=k[a>>2]|0;c=k[a+4>>2]|0}k[a>>2]=b;k[a+4>>2]=h;k[a+8>>2]=f;d=e;if((c|0)!=(d|0))do{c=c+-4|0;b=k[c>>2]|0;if(b|0)Si[k[(k[b>>2]|0)+12>>2]&1023](b)}while((c|0)!=(d|0));if(!e)return;CAb(e);return}function L2(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0.0;f=r;r=r+192|0;c=k[155704]|0;if(!c){e=0;r=f;return e|0}k[f+168>>2]=0;e=f+168+4|0;k[e>>2]=0;k[f+168+8>>2]=0;K2(f+168|0,4);switch(k[b>>2]|0){case 1540:case 1539:{k[f+160>>2]=24;d=gj[k[(k[c>>2]|0)+32>>2]&511](c,k[b+8>>2]|0)|0;k[f+160+4>>2]=d;if(!d)d=0;else{a=kBb(32)|0;C_(a,k[f+160>>2]|0,f+160|0);k[f+140>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);c=k[e>>2]|0;if(c>>>0<(k[f+168+8>>2]|0)>>>0){k[c>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);k[e>>2]=(k[e>>2]|0)+4}else wu(f+168|0,f+140|0);Si[k[(k[a>>2]|0)+12>>2]&1023](a);a=kBb(32)|0;z_(a,+((l[b+12>>0]|0)+1|0));k[f+136>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);c=k[e>>2]|0;if(c>>>0<(k[f+168+8>>2]|0)>>>0){k[c>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);k[e>>2]=(k[e>>2]|0)+4}else wu(f+168|0,f+136|0);Si[k[(k[a>>2]|0)+12>>2]&1023](a);d=kBb(32)|0;b=(k[b>>2]|0)==1539;Wqb(f+124|0,b?363452:363468,b?15:16);Y2(d,f+124|0,f+168|0);_qb(f+124|0)}break}case 1536:{k[f+160>>2]=24;d=gj[k[(k[c>>2]|0)+32>>2]&511](c,k[b+8>>2]|0)|0;k[f+160+4>>2]=d;if(!d)d=0;else{a=kBb(32)|0;C_(a,k[f+160>>2]|0,f+160|0);k[f+120>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);c=k[e>>2]|0;if(c>>>0<(k[f+168+8>>2]|0)>>>0){k[c>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);k[e>>2]=(k[e>>2]|0)+4}else wu(f+168|0,f+120|0);Si[k[(k[a>>2]|0)+12>>2]&1023](a);c=kBb(32)|0;z_(c,+((l[b+12>>0]|0)+1|0));k[f+116>>2]=c;Si[k[(k[c>>2]|0)+8>>2]&1023](c);a=k[e>>2]|0;if(a>>>0<(k[f+168+8>>2]|0)>>>0){k[a>>2]=c;Si[k[(k[c>>2]|0)+8>>2]&1023](c);k[e>>2]=(k[e>>2]|0)+4}else wu(f+168|0,f+116|0);Si[k[(k[c>>2]|0)+12>>2]&1023](c);g=+Cja(+(j[b+16>>1]|0)*.000030517578125);a=kBb(32)|0;z_(a,g);k[f+112>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);c=k[e>>2]|0;if(c>>>0<(k[f+168+8>>2]|0)>>>0){k[c>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);k[e>>2]=(k[e>>2]|0)+4}else wu(f+168|0,f+112|0);Si[k[(k[a>>2]|0)+12>>2]&1023](a);d=kBb(32)|0;Wqb(f+100|0,363485,12);Y2(d,f+100|0,f+168|0);_qb(f+100|0)}break}case 1538:{if(Via(i[b+13>>0]|0,f+156|0)|0)if(Eja(k[f+156>>2]|0,f+144|0)|0){k[f+160>>2]=24;d=gj[k[(k[c>>2]|0)+32>>2]&511](c,k[b+8>>2]|0)|0;k[f+160+4>>2]=d;if(!d)d=0;else{a=kBb(32)|0;C_(a,k[f+160>>2]|0,f+160|0);k[f+96>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);c=k[e>>2]|0;if(c>>>0<(k[f+168+8>>2]|0)>>>0){k[c>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);k[e>>2]=(k[e>>2]|0)+4}else wu(f+168|0,f+96|0);Si[k[(k[a>>2]|0)+12>>2]&1023](a);c=kBb(32)|0;z_(c,+((l[b+12>>0]|0)+1|0));k[f+92>>2]=c;Si[k[(k[c>>2]|0)+8>>2]&1023](c);a=k[e>>2]|0;if(a>>>0<(k[f+168+8>>2]|0)>>>0){k[a>>2]=c;Si[k[(k[c>>2]|0)+8>>2]&1023](c);k[e>>2]=(k[e>>2]|0)+4}else wu(f+168|0,f+92|0);Si[k[(k[c>>2]|0)+12>>2]&1023](c);a=kBb(32)|0;c=k[f+144>>2]|0;A_(a,c,Fnb(c)|0);k[f+88>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);c=k[e>>2]|0;if(c>>>0<(k[f+168+8>>2]|0)>>>0){k[c>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);k[e>>2]=(k[e>>2]|0)+4}else wu(f+168|0,f+88|0);Si[k[(k[a>>2]|0)+12>>2]&1023](a);d=kBb(32)|0;Wqb(f+76|0,363498,11);Y2(d,f+76|0,f+168|0);_qb(f+76|0)}}else d=0;else d=0;break}case 1618:case 1617:{if(_ia(l[b+12>>0]|0,f+152|0)|0)if(Ija(k[f+152>>2]|0,f+144|0)|0){k[f+160>>2]=24;d=gj[k[(k[c>>2]|0)+32>>2]&511](c,k[b+8>>2]|0)|0;k[f+160+4>>2]=d;if(!d)d=0;else{a=kBb(32)|0;C_(a,k[f+160>>2]|0,f+160|0);k[f+72>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);c=k[e>>2]|0;if(c>>>0<(k[f+168+8>>2]|0)>>>0){k[c>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);k[e>>2]=(k[e>>2]|0)+4}else wu(f+168|0,f+72|0);Si[k[(k[a>>2]|0)+12>>2]&1023](a);a=kBb(32)|0;c=k[f+144>>2]|0;A_(a,c,Fnb(c)|0);k[f+68>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);c=k[e>>2]|0;if(c>>>0<(k[f+168+8>>2]|0)>>>0){k[c>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);k[e>>2]=(k[e>>2]|0)+4}else wu(f+168|0,f+68|0);Si[k[(k[a>>2]|0)+12>>2]&1023](a);d=kBb(32)|0;b=(k[b>>2]|0)==1617;Wqb(f+56|0,b?363510:363525,b?14:15);Y2(d,f+56|0,f+168|0);_qb(f+56|0)}}else d=0;else d=0;break}case 1616:{if(Zia(l[b+12>>0]|0,f+148|0)|0)if(Gja(k[f+148>>2]|0,f+144|0)|0){k[f+160>>2]=24;d=gj[k[(k[c>>2]|0)+32>>2]&511](c,k[b+8>>2]|0)|0;k[f+160+4>>2]=d;if(!d)d=0;else{a=kBb(32)|0;C_(a,k[f+160>>2]|0,f+160|0);k[f+52>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);c=k[e>>2]|0;if(c>>>0<(k[f+168+8>>2]|0)>>>0){k[c>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);k[e>>2]=(k[e>>2]|0)+4}else wu(f+168|0,f+52|0);Si[k[(k[a>>2]|0)+12>>2]&1023](a);a=kBb(32)|0;c=k[f+144>>2]|0;A_(a,c,Fnb(c)|0);k[f+48>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);c=k[e>>2]|0;if(c>>>0<(k[f+168+8>>2]|0)>>>0){k[c>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);k[e>>2]=(k[e>>2]|0)+4}else wu(f+168|0,f+48|0);Si[k[(k[a>>2]|0)+12>>2]&1023](a);g=+Cja(+(j[b+16>>1]|0)*.000030517578125);a=kBb(32)|0;z_(a,g);k[f+44>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);c=k[e>>2]|0;if(c>>>0<(k[f+168+8>>2]|0)>>>0){k[c>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);k[e>>2]=(k[e>>2]|0)+4}else wu(f+168|0,f+44|0);Si[k[(k[a>>2]|0)+12>>2]&1023](a);d=kBb(32)|0;Wqb(f+32|0,363541,11);Y2(d,f+32|0,f+168|0);_qb(f+32|0)}}else d=0;else d=0;break}case 1541:{d=gj[k[(k[c>>2]|0)+24>>2]&511](c,k[b+8>>2]|0)|0;k[f+160+4>>2]=d;k[f+160>>2]=24;if(!d)d=0;else{a=kBb(32)|0;C_(a,24,f+160|0);k[f+28>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);c=k[e>>2]|0;if(c>>>0<(k[f+168+8>>2]|0)>>>0){k[c>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);k[e>>2]=(k[e>>2]|0)+4}else wu(f+168|0,f+28|0);Si[k[(k[a>>2]|0)+12>>2]&1023](a);d=kBb(32)|0;Wqb(f+16|0,363553,13);Y2(d,f+16|0,f+168|0);_qb(f+16|0)}break}case 1542:{a=gj[k[(k[c>>2]|0)+32>>2]&511](c,k[b+8>>2]|0)|0;k[f+160+4>>2]=a;k[f+160>>2]=24;if(!a)d=0;else{Di[k[(k[c>>2]|0)+28>>2]&511](c,a);a=kBb(32)|0;C_(a,k[f+160>>2]|0,f+160|0);k[f+12>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);c=k[e>>2]|0;if(c>>>0<(k[f+168+8>>2]|0)>>>0){k[c>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);k[e>>2]=(k[e>>2]|0)+4}else wu(f+168|0,f+12|0);Si[k[(k[a>>2]|0)+12>>2]&1023](a);d=kBb(32)|0;Wqb(f,363567,15);Y2(d,f,f+168|0);_qb(f)}break}default:d=0}a=k[f+168>>2]|0;b=k[e>>2]|0;if((a|0)!=(b|0)){do{c=k[a>>2]|0;if(c|0)Si[k[(k[c>>2]|0)+12>>2]&1023](c);a=a+4|0}while((a|0)!=(b|0));a=k[f+168>>2]|0}if(a|0){c=k[e>>2]|0;if((c|0)!=(a|0)){do{c=c+-4|0;k[e>>2]=c;b=k[c>>2]|0;if(b){Si[k[(k[b>>2]|0)+12>>2]&1023](b);c=k[e>>2]|0}}while((c|0)!=(a|0));a=k[f+168>>2]|0}CAb(a)}e=d;r=f;return e|0}function M2(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=r;r=r+96|0;k[g+84>>2]=0;f=g+84+4|0;k[f>>2]=0;k[g+84+8>>2]=0;K2(g+84|0,4);if((k[b>>2]|0)==512){a=i[b+12>>0]|0;switch(a&255|0){case 13:case 12:{c=kBb(32)|0;y_(c,a<<24>>24==12);k[g+80>>2]=c;Si[k[(k[c>>2]|0)+8>>2]&1023](c);a=k[f>>2]|0;if(a>>>0<(k[g+84+8>>2]|0)>>>0){k[a>>2]=c;Si[k[(k[c>>2]|0)+8>>2]&1023](c);k[f>>2]=(k[f>>2]|0)+4}else wu(g+84|0,g+80|0);Si[k[(k[c>>2]|0)+12>>2]&1023](c);d=kBb(32)|0;Wqb(g+64|0,363583,5);Y2(d,g+64|0,g+84|0);_qb(g+64|0);break}case 11:case 10:{c=kBb(32)|0;y_(c,a<<24>>24==10);k[g+56>>2]=c;Si[k[(k[c>>2]|0)+8>>2]&1023](c);a=k[f>>2]|0;if(a>>>0<(k[g+84+8>>2]|0)>>>0){k[a>>2]=c;Si[k[(k[c>>2]|0)+8>>2]&1023](c);k[f>>2]=(k[f>>2]|0)+4}else wu(g+84|0,g+56|0);Si[k[(k[c>>2]|0)+12>>2]&1023](c);d=kBb(32)|0;Wqb(g+44|0,363589,10);Y2(d,g+44|0,g+84|0);_qb(g+44|0);break}case 2:case 1:{c=kBb(32)|0;y_(c,a<<24>>24==1);k[g+40>>2]=c;Si[k[(k[c>>2]|0)+8>>2]&1023](c);a=k[f>>2]|0;if(a>>>0<(k[g+84+8>>2]|0)>>>0){k[a>>2]=c;Si[k[(k[c>>2]|0)+8>>2]&1023](c);k[f>>2]=(k[f>>2]|0)+4}else wu(g+84|0,g+40|0);Si[k[(k[c>>2]|0)+12>>2]&1023](c);d=kBb(32)|0;Wqb(g+28|0,363600,7);Y2(d,g+28|0,g+84|0);_qb(g+28|0);break}case 5:{k[g+76>>2]=k[b+16>>2];k[g+60>>2]=k[b+20>>2];a=Yhb(k[b+8>>2]|0)|0;if(a|0)H8a(a,g+76|0,g+60|0);a=kBb(32)|0;z_(a,+(k[g+76>>2]|0));k[g+24>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);c=k[f>>2]|0;if(c>>>0<(k[g+84+8>>2]|0)>>>0){k[c>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);k[f>>2]=(k[f>>2]|0)+4}else wu(g+84|0,g+24|0);Si[k[(k[a>>2]|0)+12>>2]&1023](a);c=kBb(32)|0;z_(c,+(k[g+60>>2]|0));k[g+20>>2]=c;Si[k[(k[c>>2]|0)+8>>2]&1023](c);a=k[f>>2]|0;if(a>>>0<(k[g+84+8>>2]|0)>>>0){k[a>>2]=c;Si[k[(k[c>>2]|0)+8>>2]&1023](c);k[f>>2]=(k[f>>2]|0)+4}else wu(g+84|0,g+20|0);Si[k[(k[c>>2]|0)+12>>2]&1023](c);a=kBb(32)|0;z_(a,+(k[b+16>>2]|0));k[g+16>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);c=k[f>>2]|0;if(c>>>0<(k[g+84+8>>2]|0)>>>0){k[c>>2]=a;Si[k[(k[a>>2]|0)+8>>2]&1023](a);k[f>>2]=(k[f>>2]|0)+4}else wu(g+84|0,g+16|0);Si[k[(k[a>>2]|0)+12>>2]&1023](a);c=kBb(32)|0;z_(c,+(k[b+20>>2]|0));k[g+12>>2]=c;Si[k[(k[c>>2]|0)+8>>2]&1023](c);a=k[f>>2]|0;if(a>>>0<(k[g+84+8>>2]|0)>>>0){k[a>>2]=c;Si[k[(k[c>>2]|0)+8>>2]&1023](c);k[f>>2]=(k[f>>2]|0)+4}else wu(g+84|0,g+12|0);Si[k[(k[c>>2]|0)+12>>2]&1023](c);d=kBb(32)|0;Wqb(g,363608,6);Y2(d,g,g+84|0);_qb(g);break}case 6:{a=k[155714]|0;if(!a)d=0;else{Ri[k[(k[a>>2]|0)+44>>2]&255](a,k[b+16>>2]|0,k[b+20>>2]|0)|0;d=0}break}default:d=0}a=k[g+84>>2]|0;b=k[f>>2]|0;if((a|0)!=(b|0)){do{c=k[a>>2]|0;if(c|0)Si[k[(k[c>>2]|0)+12>>2]&1023](c);a=a+4|0}while((a|0)!=(b|0));a=d;e=36}}else{a=0;e=36}if((e|0)==36){d=a;a=k[g+84>>2]|0}if(!a){r=g;return d|0}c=k[f>>2]|0;if((c|0)!=(a|0)){do{c=c+-4|0;k[f>>2]=c;b=k[c>>2]|0;if(b){Si[k[(k[b>>2]|0)+12>>2]&1023](b);c=k[f>>2]|0}}while((c|0)!=(a|0));a=k[g+84>>2]|0}CAb(a);r=g;return d|0}function N2(a){a=a|0;var b=0;b=r;r=r+64|0;if((yjb(b)|0)!=1){a=0;r=b;return a|0}a=J2(a,b)|0;r=b;return a|0}function O2(){Q2(629800);return}function P2(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0;d=k[a+688>>2]|0;e=k[a+696>>2]|0;f=k[a+704>>2]|0;g=k[a+712>>2]|0;h=k[a+720>>2]|0;m=k[a+728>>2]|0;c=k[a+1256>>2]|0;j=k[a+1920>>2]|0;a:{k[a+20>>2]=d;k[a+16>>2]=e;k[a+12>>2]=f;k[a+8>>2]=g;k[a+4>>2]=h;k[a>>2]=m;iZ(k[a+20>>2]|0);if((k[a>>2]|0)<1)k[a>>2]=1;b=k[a+4>>2]|0;b=(b|0)>=(gZ(k[a+8>>2]|0)|0);d=(k[a+8>>2]|0)<65547;e=k[a+20>>2]|0;f=k[a+16>>2]|0;g=k[a+12>>2]|0;h=k[a+8>>2]|0;m=1;if(m){m=0;if(b){b=1;if(b)if(d){c=k[a>>2]|0;k[a+180>>2]=e;k[a+176>>2]=f;k[a+172>>2]=g;k[a+168>>2]=h;k[a+164>>2]=0;k[a+160>>2]=0;k[a+156>>2]=2;k[a+152>>2]=0;k[a+148>>2]=0;k[a+144>>2]=c;k[a+140>>2]=k[a+180>>2];k[a+136>>2]=k[a+176>>2];k[a+124>>2]=(k[a+136>>2]|0)+(0-(k[(k[a+140>>2]|0)+16400>>2]|0));k[a+120>>2]=k[(k[a+140>>2]|0)+16392>>2];k[a+116>>2]=(k[a+120>>2]|0)+(k[(k[a+140>>2]|0)+16400>>2]|0);k[a+112>>2]=(k[a+116>>2]|0)-(k[a+176>>2]|0);k[a+108>>2]=k[a+176>>2];k[a+104>>2]=(k[a+136>>2]|0)+(k[a+168>>2]|0);k[a+100>>2]=(k[a+104>>2]|0)+-12;k[a+96>>2]=(k[a+104>>2]|0)+-5;k[a+92>>2]=k[a+172>>2];k[a+88>>2]=(k[a+92>>2]|0)+(k[a+164>>2]|0);k[a+80>>2]=0;b:do if((k[a+168>>2]|0)>>>0>2113929216)k[a+184>>2]=0;else{switch(k[a+152>>2]|0){case 2:{k[a+132>>2]=(k[a+176>>2]|0)+(0-(k[(k[a+140>>2]|0)+16384>>2]|0));k[a+128>>2]=k[a+176>>2];break}case 1:{k[a+132>>2]=(k[a+176>>2]|0)+(0-(k[(k[a+140>>2]|0)+16384>>2]|0));k[a+128>>2]=(k[a+176>>2]|0)+(0-(k[(k[a+140>>2]|0)+16400>>2]|0));break}default:{k[a+132>>2]=k[a+176>>2];k[a+128>>2]=k[a+176>>2]}}if((k[a+156>>2]|0)==2?(k[a+168>>2]|0)>=65547:0){k[a+184>>2]=0;break}c:do if((k[a+168>>2]|0)>=13){jZ(k[a+136>>2]|0,k[a+180>>2]|0,k[a+156>>2]|0,k[a+132>>2]|0);k[a+136>>2]=(k[a+136>>2]|0)+1;c=kZ(k[a+136>>2]|0,k[a+156>>2]|0)|0;k[a+84>>2]=c;d:while(1){k[a+68>>2]=k[a+136>>2];k[a+64>>2]=1;k[a+60>>2]=k[a+144>>2]<<6;while(1){k[a+56>>2]=k[a+84>>2];k[a+136>>2]=k[a+68>>2];k[a+68>>2]=(k[a+68>>2]|0)+(k[a+64>>2]|0);c=k[a+60>>2]|0;k[a+60>>2]=c+1;k[a+64>>2]=c>>>6;if((k[a+68>>2]|0)>>>0>(k[a+100>>2]|0)>>>0)break c;c=tZ(k[a+56>>2]|0,k[a+180>>2]|0,k[a+156>>2]|0,k[a+132>>2]|0)|0;k[a+76>>2]=c;do if((k[a+152>>2]|0)==2)if((k[a+76>>2]|0)>>>0<(k[a+176>>2]|0)>>>0){k[a+80>>2]=k[a+112>>2];k[a+128>>2]=k[a+120>>2];break}else{k[a+80>>2]=0;k[a+128>>2]=k[a+176>>2];break}while(0);c=kZ(k[a+68>>2]|0,k[a+156>>2]|0)|0;k[a+84>>2]=c;sZ(k[a+136>>2]|0,k[a+56>>2]|0,k[a+180>>2]|0,k[a+156>>2]|0,k[a+132>>2]|0);if((k[a+148>>2]|0)==1)if((k[a+76>>2]|0)>>>0<(k[a+124>>2]|0)>>>0)continue;if((k[a+156>>2]|0)!=2)if(((k[a+76>>2]|0)+65535|0)>>>0<(k[a+136>>2]|0)>>>0)continue;c=oZ((k[a+76>>2]|0)+(k[a+80>>2]|0)|0)|0;if((c|0)==(oZ(k[a+136>>2]|0)|0))break}while(1){if((k[a+136>>2]|0)>>>0>(k[a+108>>2]|0)>>>0)if(((k[a+76>>2]|0)+(k[a+80>>2]|0)|0)>>>0>(k[a+128>>2]|0)>>>0)b=(l[(k[a+136>>2]|0)+-1>>0]|0|0)==(l[(k[a+76>>2]|0)+((k[a+80>>2]|0)-1)>>0]|0|0);else b=0;else b=0;c=k[a+136>>2]|0;if(!b)break;k[a+136>>2]=c+-1;k[a+76>>2]=(k[a+76>>2]|0)+-1}k[a+52>>2]=c-(k[a+108>>2]|0);c=k[a+92>>2]|0;k[a+92>>2]=c+1;k[a+72>>2]=c;if(k[a+160>>2]|0)if(((k[a+92>>2]|0)+(k[a+52>>2]|0)+8+(((k[a+52>>2]|0)>>>0)/255|0)|0)>>>0>(k[a+88>>2]|0)>>>0){j=33;break}b=k[a+52>>2]|0;if((k[a+52>>2]|0)>>>0>=15){k[a+48>>2]=b-15;i[k[a+72>>2]>>0]=-16;while(1){if((k[a+48>>2]|0)<255)break;c=k[a+92>>2]|0;k[a+92>>2]=c+1;i[c>>0]=-1;k[a+48>>2]=(k[a+48>>2]|0)-255}b=k[a+48>>2]&255;c=k[a+92>>2]|0;k[a+92>>2]=c+1;i[c>>0]=b}else i[k[a+72>>2]>>0]=b<<4;uZ(k[a+92>>2]|0,k[a+108>>2]|0,(k[a+92>>2]|0)+(k[a+52>>2]|0)|0);k[a+92>>2]=(k[a+92>>2]|0)+(k[a+52>>2]|0);while(1){wZ(k[a+92>>2]|0,(k[a+136>>2]|0)-(k[a+76>>2]|0)&65535);k[a+92>>2]=(k[a+92>>2]|0)+2;if((k[a+152>>2]|0)==2)if((k[a+128>>2]|0)==(k[a+120>>2]|0)){k[a+76>>2]=(k[a+76>>2]|0)+(k[a+80>>2]|0);k[a+40>>2]=(k[a+136>>2]|0)+((k[a+116>>2]|0)-(k[a+76>>2]|0));if((k[a+40>>2]|0)>>>0>(k[a+96>>2]|0)>>>0)k[a+40>>2]=k[a+96>>2];c=yZ((k[a+136>>2]|0)+4|0,(k[a+76>>2]|0)+4|0,k[a+40>>2]|0)|0;k[a+44>>2]=c;k[a+136>>2]=(k[a+136>>2]|0)+(4+(k[a+44>>2]|0));if((k[a+136>>2]|0)==(k[a+40>>2]|0)){c=yZ(k[a+136>>2]|0,k[a+176>>2]|0,k[a+96>>2]|0)|0;k[a+36>>2]=c;k[a+44>>2]=(k[a+44>>2]|0)+(k[a+36>>2]|0);k[a+136>>2]=(k[a+136>>2]|0)+(k[a+36>>2]|0)}}else j=47;else j=47;if((j|0)==47){j=0;c=yZ((k[a+136>>2]|0)+4|0,(k[a+76>>2]|0)+4|0,k[a+96>>2]|0)|0;k[a+44>>2]=c;k[a+136>>2]=(k[a+136>>2]|0)+(4+(k[a+44>>2]|0))}if(k[a+160>>2]|0)if(((k[a+92>>2]|0)+6+((k[a+44>>2]|0)>>>8)|0)>>>0>(k[a+88>>2]|0)>>>0){j=50;break d}if((k[a+44>>2]|0)>>>0>=15){c=k[a+72>>2]|0;i[c>>0]=(l[c>>0]|0)+15;k[a+44>>2]=(k[a+44>>2]|0)-15;while(1){if((k[a+44>>2]|0)>>>0<510)break;c=k[a+92>>2]|0;k[a+92>>2]=c+1;i[c>>0]=-1;c=k[a+92>>2]|0;k[a+92>>2]=c+1;i[c>>0]=-1;k[a+44>>2]=(k[a+44>>2]|0)-510}if((k[a+44>>2]|0)>>>0>=255){k[a+44>>2]=(k[a+44>>2]|0)-255;c=k[a+92>>2]|0;k[a+92>>2]=c+1;i[c>>0]=-1}b=k[a+44>>2]&255;c=k[a+92>>2]|0;k[a+92>>2]=c+1;i[c>>0]=b}else{c=k[a+72>>2]|0;i[c>>0]=(l[c>>0]|0)+(k[a+44>>2]&255)}k[a+108>>2]=k[a+136>>2];if((k[a+136>>2]|0)>>>0>(k[a+100>>2]|0)>>>0)break c;jZ((k[a+136>>2]|0)+-2|0,k[a+180>>2]|0,k[a+156>>2]|0,k[a+132>>2]|0);c=BZ(k[a+136>>2]|0,k[a+180>>2]|0,k[a+156>>2]|0,k[a+132>>2]|0)|0;k[a+76>>2]=c;do if((k[a+152>>2]|0)==2)if((k[a+76>>2]|0)>>>0<(k[a+176>>2]|0)>>>0){k[a+80>>2]=k[a+112>>2];k[a+128>>2]=k[a+120>>2];break}else{k[a+80>>2]=0;k[a+128>>2]=k[a+176>>2];break}while(0);jZ(k[a+136>>2]|0,k[a+180>>2]|0,k[a+156>>2]|0,k[a+132>>2]|0);if((k[a+148>>2]|0)==1)if((k[a+76>>2]|0)>>>0<(k[a+124>>2]|0)>>>0)break;if(((k[a+76>>2]|0)+65535|0)>>>0<(k[a+136>>2]|0)>>>0)break;c=oZ((k[a+76>>2]|0)+(k[a+80>>2]|0)|0)|0;if((c|0)!=(oZ(k[a+136>>2]|0)|0))break;c=k[a+92>>2]|0;k[a+92>>2]=c+1;k[a+72>>2]=c;i[k[a+72>>2]>>0]=0}c=(k[a+136>>2]|0)+1|0;k[a+136>>2]=c;c=kZ(c,k[a+156>>2]|0)|0;k[a+84>>2]=c}if((j|0)==33){k[a+184>>2]=0;break b}else if((j|0)==50){k[a+184>>2]=0;break b}}while(0);k[a+32>>2]=(k[a+104>>2]|0)-(k[a+108>>2]|0);if(k[a+160>>2]|0)if(((k[a+92>>2]|0)-(k[a+172>>2]|0)+(k[a+32>>2]|0)+1+((((k[a+32>>2]|0)+255-15|0)>>>0)/255|0)|0)>>>0>(k[a+164>>2]|0)>>>0){k[a+184>>2]=0;break}b=k[a+32>>2]|0;if((k[a+32>>2]|0)>>>0>=15){k[a+28>>2]=b-15;c=k[a+92>>2]|0;k[a+92>>2]=c+1;i[c>>0]=-16;while(1){if((k[a+28>>2]|0)>>>0<255)break;c=k[a+92>>2]|0;k[a+92>>2]=c+1;i[c>>0]=-1;k[a+28>>2]=(k[a+28>>2]|0)-255}b=k[a+28>>2]&255;c=k[a+92>>2]|0;k[a+92>>2]=c+1;i[c>>0]=b}else{c=k[a+92>>2]|0;k[a+92>>2]=c+1;i[c>>0]=b<<4}ABb(k[a+92>>2]|0,k[a+108>>2]|0,k[a+32>>2]|0)|0;k[a+92>>2]=(k[a+92>>2]|0)+(k[a+32>>2]|0);k[a+184>>2]=(k[a+92>>2]|0)-(k[a+172>>2]|0)}while(0);k[a+24>>2]=k[a+184>>2];c=k[a+24>>2]|0;r=a;k[a+1952>>2]=6;k[a+1956>>2]=c|0;break a}else b=1;if(b)if(1){b=(mZ()|0)!=0;c=k[a>>2]|0;k[a+340>>2]=e;k[a+336>>2]=f;k[a+332>>2]=g;k[a+328>>2]=h;k[a+324>>2]=0;k[a+320>>2]=0;k[a+316>>2]=b?1:0;k[a+312>>2]=0;k[a+308>>2]=0;k[a+304>>2]=c;k[a+300>>2]=k[a+340>>2];k[a+296>>2]=k[a+336>>2];k[a+284>>2]=(k[a+296>>2]|0)+(0-(k[(k[a+300>>2]|0)+16400>>2]|0));k[a+280>>2]=k[(k[a+300>>2]|0)+16392>>2];k[a+276>>2]=(k[a+280>>2]|0)+(k[(k[a+300>>2]|0)+16400>>2]|0);k[a+272>>2]=(k[a+276>>2]|0)-(k[a+336>>2]|0);k[a+268>>2]=k[a+336>>2];k[a+264>>2]=(k[a+296>>2]|0)+(k[a+328>>2]|0);k[a+260>>2]=(k[a+264>>2]|0)+-12;k[a+256>>2]=(k[a+264>>2]|0)+-5;k[a+252>>2]=k[a+332>>2];k[a+248>>2]=(k[a+252>>2]|0)+(k[a+324>>2]|0);k[a+240>>2]=0;e:do if((k[a+328>>2]|0)>>>0>2113929216)k[a+344>>2]=0;else{switch(k[a+312>>2]|0){case 2:{k[a+292>>2]=(k[a+336>>2]|0)+(0-(k[(k[a+300>>2]|0)+16384>>2]|0));k[a+288>>2]=k[a+336>>2];break}case 1:{k[a+292>>2]=(k[a+336>>2]|0)+(0-(k[(k[a+300>>2]|0)+16384>>2]|0));k[a+288>>2]=(k[a+336>>2]|0)+(0-(k[(k[a+300>>2]|0)+16400>>2]|0));break}default:{k[a+292>>2]=k[a+336>>2];k[a+288>>2]=k[a+336>>2]}}if((k[a+316>>2]|0)==2?(k[a+328>>2]|0)>=65547:0){k[a+344>>2]=0;break}f:do if((k[a+328>>2]|0)>=13){jZ(k[a+296>>2]|0,k[a+340>>2]|0,k[a+316>>2]|0,k[a+292>>2]|0);k[a+296>>2]=(k[a+296>>2]|0)+1;c=kZ(k[a+296>>2]|0,k[a+316>>2]|0)|0;k[a+244>>2]=c;g:while(1){k[a+228>>2]=k[a+296>>2];k[a+224>>2]=1;k[a+220>>2]=k[a+304>>2]<<6;while(1){k[a+216>>2]=k[a+244>>2];k[a+296>>2]=k[a+228>>2];k[a+228>>2]=(k[a+228>>2]|0)+(k[a+224>>2]|0);c=k[a+220>>2]|0;k[a+220>>2]=c+1;k[a+224>>2]=c>>>6;if((k[a+228>>2]|0)>>>0>(k[a+260>>2]|0)>>>0)break f;c=tZ(k[a+216>>2]|0,k[a+340>>2]|0,k[a+316>>2]|0,k[a+292>>2]|0)|0;k[a+236>>2]=c;do if((k[a+312>>2]|0)==2)if((k[a+236>>2]|0)>>>0<(k[a+336>>2]|0)>>>0){k[a+240>>2]=k[a+272>>2];k[a+288>>2]=k[a+280>>2];break}else{k[a+240>>2]=0;k[a+288>>2]=k[a+336>>2];break}while(0);c=kZ(k[a+228>>2]|0,k[a+316>>2]|0)|0;k[a+244>>2]=c;sZ(k[a+296>>2]|0,k[a+216>>2]|0,k[a+340>>2]|0,k[a+316>>2]|0,k[a+292>>2]|0);if((k[a+308>>2]|0)==1)if((k[a+236>>2]|0)>>>0<(k[a+284>>2]|0)>>>0)continue;if((k[a+316>>2]|0)!=2)if(((k[a+236>>2]|0)+65535|0)>>>0<(k[a+296>>2]|0)>>>0)continue;c=oZ((k[a+236>>2]|0)+(k[a+240>>2]|0)|0)|0;if((c|0)==(oZ(k[a+296>>2]|0)|0))break}while(1){if((k[a+296>>2]|0)>>>0>(k[a+268>>2]|0)>>>0)if(((k[a+236>>2]|0)+(k[a+240>>2]|0)|0)>>>0>(k[a+288>>2]|0)>>>0)b=(l[(k[a+296>>2]|0)+-1>>0]|0|0)==(l[(k[a+236>>2]|0)+((k[a+240>>2]|0)-1)>>0]|0|0);else b=0;else b=0;c=k[a+296>>2]|0;if(!b)break;k[a+296>>2]=c+-1;k[a+236>>2]=(k[a+236>>2]|0)+-1}k[a+212>>2]=c-(k[a+268>>2]|0);c=k[a+252>>2]|0;k[a+252>>2]=c+1;k[a+232>>2]=c;if(k[a+320>>2]|0)if(((k[a+252>>2]|0)+(k[a+212>>2]|0)+8+(((k[a+212>>2]|0)>>>0)/255|0)|0)>>>0>(k[a+248>>2]|0)>>>0){j=109;break}b=k[a+212>>2]|0;if((k[a+212>>2]|0)>>>0>=15){k[a+208>>2]=b-15;i[k[a+232>>2]>>0]=-16;while(1){if((k[a+208>>2]|0)<255)break;c=k[a+252>>2]|0;k[a+252>>2]=c+1;i[c>>0]=-1;k[a+208>>2]=(k[a+208>>2]|0)-255}b=k[a+208>>2]&255;c=k[a+252>>2]|0;k[a+252>>2]=c+1;i[c>>0]=b}else i[k[a+232>>2]>>0]=b<<4;uZ(k[a+252>>2]|0,k[a+268>>2]|0,(k[a+252>>2]|0)+(k[a+212>>2]|0)|0);k[a+252>>2]=(k[a+252>>2]|0)+(k[a+212>>2]|0);while(1){wZ(k[a+252>>2]|0,(k[a+296>>2]|0)-(k[a+236>>2]|0)&65535);k[a+252>>2]=(k[a+252>>2]|0)+2;if((k[a+312>>2]|0)==2)if((k[a+288>>2]|0)==(k[a+280>>2]|0)){k[a+236>>2]=(k[a+236>>2]|0)+(k[a+240>>2]|0);k[a+200>>2]=(k[a+296>>2]|0)+((k[a+276>>2]|0)-(k[a+236>>2]|0));if((k[a+200>>2]|0)>>>0>(k[a+256>>2]|0)>>>0)k[a+200>>2]=k[a+256>>2];c=yZ((k[a+296>>2]|0)+4|0,(k[a+236>>2]|0)+4|0,k[a+200>>2]|0)|0;k[a+204>>2]=c;k[a+296>>2]=(k[a+296>>2]|0)+(4+(k[a+204>>2]|0));if((k[a+296>>2]|0)==(k[a+200>>2]|0)){c=yZ(k[a+296>>2]|0,k[a+336>>2]|0,k[a+256>>2]|0)|0;k[a+196>>2]=c;k[a+204>>2]=(k[a+204>>2]|0)+(k[a+196>>2]|0);k[a+296>>2]=(k[a+296>>2]|0)+(k[a+196>>2]|0)}}else j=123;else j=123;if((j|0)==123){j=0;c=yZ((k[a+296>>2]|0)+4|0,(k[a+236>>2]|0)+4|0,k[a+256>>2]|0)|0;k[a+204>>2]=c;k[a+296>>2]=(k[a+296>>2]|0)+(4+(k[a+204>>2]|0))}if(k[a+320>>2]|0)if(((k[a+252>>2]|0)+6+((k[a+204>>2]|0)>>>8)|0)>>>0>(k[a+248>>2]|0)>>>0){j=126;break g}if((k[a+204>>2]|0)>>>0>=15){c=k[a+232>>2]|0;i[c>>0]=(l[c>>0]|0)+15;k[a+204>>2]=(k[a+204>>2]|0)-15;while(1){if((k[a+204>>2]|0)>>>0<510)break;c=k[a+252>>2]|0;k[a+252>>2]=c+1;i[c>>0]=-1;c=k[a+252>>2]|0;k[a+252>>2]=c+1;i[c>>0]=-1;k[a+204>>2]=(k[a+204>>2]|0)-510}if((k[a+204>>2]|0)>>>0>=255){k[a+204>>2]=(k[a+204>>2]|0)-255;c=k[a+252>>2]|0;k[a+252>>2]=c+1;i[c>>0]=-1}b=k[a+204>>2]&255;c=k[a+252>>2]|0;k[a+252>>2]=c+1;i[c>>0]=b}else{c=k[a+232>>2]|0;i[c>>0]=(l[c>>0]|0)+(k[a+204>>2]&255)}k[a+268>>2]=k[a+296>>2];if((k[a+296>>2]|0)>>>0>(k[a+260>>2]|0)>>>0)break f;jZ((k[a+296>>2]|0)+-2|0,k[a+340>>2]|0,k[a+316>>2]|0,k[a+292>>2]|0);c=BZ(k[a+296>>2]|0,k[a+340>>2]|0,k[a+316>>2]|0,k[a+292>>2]|0)|0;k[a+236>>2]=c;do if((k[a+312>>2]|0)==2)if((k[a+236>>2]|0)>>>0<(k[a+336>>2]|0)>>>0){k[a+240>>2]=k[a+272>>2];k[a+288>>2]=k[a+280>>2];break}else{k[a+240>>2]=0;k[a+288>>2]=k[a+336>>2];break}while(0);jZ(k[a+296>>2]|0,k[a+340>>2]|0,k[a+316>>2]|0,k[a+292>>2]|0);if((k[a+308>>2]|0)==1)if((k[a+236>>2]|0)>>>0<(k[a+284>>2]|0)>>>0)break;if(((k[a+236>>2]|0)+65535|0)>>>0<(k[a+296>>2]|0)>>>0)break;c=oZ((k[a+236>>2]|0)+(k[a+240>>2]|0)|0)|0;if((c|0)!=(oZ(k[a+296>>2]|0)|0))break;c=k[a+252>>2]|0;k[a+252>>2]=c+1;k[a+232>>2]=c;i[k[a+232>>2]>>0]=0}c=(k[a+296>>2]|0)+1|0;k[a+296>>2]=c;c=kZ(c,k[a+316>>2]|0)|0;k[a+244>>2]=c}if((j|0)==109){k[a+344>>2]=0;break e}else if((j|0)==126){k[a+344>>2]=0;break e}}while(0);k[a+192>>2]=(k[a+264>>2]|0)-(k[a+268>>2]|0);if(k[a+320>>2]|0)if(((k[a+252>>2]|0)-(k[a+332>>2]|0)+(k[a+192>>2]|0)+1+((((k[a+192>>2]|0)+255-15|0)>>>0)/255|0)|0)>>>0>(k[a+324>>2]|0)>>>0){k[a+344>>2]=0;break}b=k[a+192>>2]|0;if((k[a+192>>2]|0)>>>0>=15){k[a+188>>2]=b-15;c=k[a+252>>2]|0;k[a+252>>2]=c+1;i[c>>0]=-16;while(1){if((k[a+188>>2]|0)>>>0<255)break;c=k[a+252>>2]|0;k[a+252>>2]=c+1;i[c>>0]=-1;k[a+188>>2]=(k[a+188>>2]|0)-255}b=k[a+188>>2]&255;c=k[a+252>>2]|0;k[a+252>>2]=c+1;i[c>>0]=b}else{c=k[a+252>>2]|0;k[a+252>>2]=c+1;i[c>>0]=b<<4}ABb(k[a+252>>2]|0,k[a+268>>2]|0,k[a+192>>2]|0)|0;k[a+252>>2]=(k[a+252>>2]|0)+(k[a+192>>2]|0);k[a+344>>2]=(k[a+252>>2]|0)-(k[a+332>>2]|0)}while(0);k[a+24>>2]=k[a+344>>2];c=k[a+24>>2]|0;r=a;k[a+1952>>2]=6;k[a+1956>>2]=c|0;break a}}else m=1}}k[a+1256>>2]=c;k[a+1592>>2]=d;k[a+1600>>2]=e;k[a+1608>>2]=f;k[a+1624>>2]=g;k[a+1640>>2]=h;k[a+1920>>2]=j;k[a+1928>>2]=m} +function Oqb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=r;r=r+32|0;do if((b|0)==-1)e=14;else{k[f+8>>2]=b;if(i[a+44>>0]|0)if((Dpb(f+8|0,4,1,k[a+32>>2]|0)|0)==1){e=14;break}else{c=-1;break}k[f+4>>2]=f+16;d=f+8|0;while(1){c=k[a+36>>2]|0;c=sj[k[(k[c>>2]|0)+12>>2]&31](c,k[a+40>>2]|0,d,f+8+4|0,f,f+16|0,f+16+8|0,f+4|0)|0;if((k[f>>2]|0)==(d|0)){e=13;break}if((c|0)==3){e=7;break}if((c|1|0)!=1){e=13;break}e=(k[f+4>>2]|0)-(f+16)|0;if((Dpb(f+16|0,1,e,k[a+32>>2]|0)|0)!=(e|0)){e=13;break}if((c|0)==1)d=k[f>>2]|0;else{e=12;break}}if((e|0)==7)if((Dpb(d,1,1,k[a+32>>2]|0)|0)==1)e=12;else e=13;if((e|0)==12){e=14;break}else if((e|0)==13){c=-1;break}}while(0);if((e|0)==14)c=(b|0)==-1?0:b;r=f;return c|0}function Pqb(){return}function Qqb(a,b){a=a|0;b=b|0;var c=0,d=0;d=Fnb(b)|0;c=kBb(d+13|0)|0;k[c>>2]=d;k[c+4>>2]=d;k[c+8>>2]=0;ABb(c+12|0,b|0,d+1|0)|0;k[a>>2]=c+12;return}function Rqb(a,b){a=a|0;b=b|0;k[a>>2]=156192;Qqb(a+4|0,b);return}function Sqb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:do if(a>>>0<212){b=152628;c=48;b:while(1){while(1){if(!c)break b;d=(c|0)/2|0;e=b+(d<<2)|0;if((k[e>>2]|0)>>>0>>0)break;else c=d}b=e+4|0;c=c+-1-d|0}b=k[b>>2]|0}else{e=152820;b=48;c:while(1){while(1){if(!b){b=e;break c}c=(b|0)/2|0;d=e+(c<<2)|0;if((k[d>>2]|0)>>>0<(a-(((a>>>0)/210|0)*210|0)|0)>>>0)break;else b=c}e=d+4|0;b=b+-1-c|0}f=b-152820>>2;g=(a>>>0)/210|0;b=(k[152820+(b-152820>>2<<2)>>2]|0)+(((a>>>0)/210|0)*210|0)|0;while(1){e=5;while(1){if(e>>>0>=47){e=211;h=17;break}c=k[152628+(e<<2)>>2]|0;d=(b>>>0)/(c>>>0)|0;if(d>>>0>>0)break a;if((b|0)==(ha(d,c)|0))break;else e=e+1|0}d:do if((h|0)==17)while(1){h=0;c=(b>>>0)/(e>>>0)|0;if(c>>>0>>0)break a;if((b|0)==(ha(c,e)|0))break d;c=e+10|0;d=(b>>>0)/(c>>>0)|0;if(d>>>0>>0)break a;if((b|0)==(ha(d,c)|0))break d;c=e+12|0;d=(b>>>0)/(c>>>0)|0;if(d>>>0>>0)break a;if((b|0)==(ha(d,c)|0))break d;c=e+16|0;d=(b>>>0)/(c>>>0)|0;if(d>>>0>>0)break a;if((b|0)==(ha(d,c)|0))break d;c=e+18|0;d=(b>>>0)/(c>>>0)|0;if(d>>>0>>0)break a;if((b|0)==(ha(d,c)|0))break d;c=e+22|0;d=(b>>>0)/(c>>>0)|0;if(d>>>0>>0)break a;if((b|0)==(ha(d,c)|0))break d;c=e+28|0;d=(b>>>0)/(c>>>0)|0;if(d>>>0>>0)break a;if((b|0)==(ha(d,c)|0))break d;c=e+30|0;d=(b>>>0)/(c>>>0)|0;if(d>>>0>>0)break a;if((b|0)==(ha(d,c)|0))break d;c=e+36|0;d=(b>>>0)/(c>>>0)|0;if(d>>>0>>0)break a;if((b|0)==(ha(d,c)|0))break d;c=e+40|0;d=(b>>>0)/(c>>>0)|0;if(d>>>0>>0)break a;if((b|0)==(ha(d,c)|0))break d;c=e+42|0;d=(b>>>0)/(c>>>0)|0;if(d>>>0>>0)break a;if((b|0)==(ha(d,c)|0))break d;c=e+46|0;d=(b>>>0)/(c>>>0)|0;if(d>>>0>>0)break a;if((b|0)==(ha(d,c)|0))break d;c=e+52|0;d=(b>>>0)/(c>>>0)|0;if(d>>>0>>0)break a;if((b|0)==(ha(d,c)|0))break d;c=e+58|0;d=(b>>>0)/(c>>>0)|0;if(d>>>0>>0)break a;if((b|0)==(ha(d,c)|0))break d;c=e+60|0;d=(b>>>0)/(c>>>0)|0;if(d>>>0>>0)break a;if((b|0)==(ha(d,c)|0))break d;c=e+66|0;d=(b>>>0)/(c>>>0)|0;if(d>>>0>>0)break a;if((b|0)==(ha(d,c)|0))break d;c=e+70|0;d=(b>>>0)/(c>>>0)|0;if(d>>>0>>0)break a;if((b|0)==(ha(d,c)|0))break d;c=e+72|0;d=(b>>>0)/(c>>>0)|0;if(d>>>0>>0)break a;if((b|0)==(ha(d,c)|0))break d;c=e+78|0;d=(b>>>0)/(c>>>0)|0;if(d>>>0>>0)break a;if((b|0)==(ha(d,c)|0))break d;c=e+82|0;d=(b>>>0)/(c>>>0)|0;if(d>>>0>>0)break a;if((b|0)==(ha(d,c)|0))break d;c=e+88|0;d=(b>>>0)/(c>>>0)|0;if(d>>>0>>0)break a;if((b|0)==(ha(d,c)|0))break d;c=e+96|0;d=(b>>>0)/(c>>>0)|0;if(d>>>0>>0)break a;if((b|0)==(ha(d,c)|0))break d;c=e+100|0;d=(b>>>0)/(c>>>0)|0;if(d>>>0>>0)break a;if((b|0)==(ha(d,c)|0))break d;c=e+102|0;d=(b>>>0)/(c>>>0)|0;if(d>>>0>>0)break a;if((b|0)==(ha(d,c)|0))break d;c=e+106|0;d=(b>>>0)/(c>>>0)|0;if(d>>>0>>0)break a;if((b|0)==(ha(d,c)|0))break d;c=e+108|0;d=(b>>>0)/(c>>>0)|0;if(d>>>0>>0)break a;if((b|0)==(ha(d,c)|0))break d;c=e+112|0;d=(b>>>0)/(c>>>0)|0;if(d>>>0>>0)break a;if((b|0)==(ha(d,c)|0))break d;c=e+120|0;d=(b>>>0)/(c>>>0)|0;if(d>>>0>>0)break a;if((b|0)==(ha(d,c)|0))break d;c=e+126|0;d=(b>>>0)/(c>>>0)|0;if(d>>>0>>0)break a;if((b|0)==(ha(d,c)|0))break d;c=e+130|0;d=(b>>>0)/(c>>>0)|0;if(d>>>0>>0)break a;if((b|0)==(ha(d,c)|0))break d;c=e+136|0;d=(b>>>0)/(c>>>0)|0;if(d>>>0>>0)break a;if((b|0)==(ha(d,c)|0))break d;c=e+138|0;d=(b>>>0)/(c>>>0)|0;if(d>>>0>>0)break a;if((b|0)==(ha(d,c)|0))break d;c=e+142|0;d=(b>>>0)/(c>>>0)|0;if(d>>>0>>0)break a;if((b|0)==(ha(d,c)|0))break d;c=e+148|0;d=(b>>>0)/(c>>>0)|0;if(d>>>0>>0)break a;if((b|0)==(ha(d,c)|0))break d;c=e+150|0;d=(b>>>0)/(c>>>0)|0;if(d>>>0>>0)break a;if((b|0)==(ha(d,c)|0))break d;c=e+156|0;d=(b>>>0)/(c>>>0)|0;if(d>>>0>>0)break a;if((b|0)==(ha(d,c)|0))break d;c=e+162|0;d=(b>>>0)/(c>>>0)|0;if(d>>>0>>0)break a;if((b|0)==(ha(d,c)|0))break d;c=e+166|0;d=(b>>>0)/(c>>>0)|0;if(d>>>0>>0)break a;if((b|0)==(ha(d,c)|0))break d;c=e+168|0;d=(b>>>0)/(c>>>0)|0;if(d>>>0>>0)break a;if((b|0)==(ha(d,c)|0))break d;c=e+172|0;d=(b>>>0)/(c>>>0)|0;if(d>>>0>>0)break a;if((b|0)==(ha(d,c)|0))break d;c=e+178|0;d=(b>>>0)/(c>>>0)|0;if(d>>>0>>0)break a;if((b|0)==(ha(d,c)|0))break d;c=e+180|0;d=(b>>>0)/(c>>>0)|0;if(d>>>0>>0)break a;if((b|0)==(ha(d,c)|0))break d;c=e+186|0;d=(b>>>0)/(c>>>0)|0;if(d>>>0>>0)break a;if((b|0)==(ha(d,c)|0))break d;c=e+190|0;d=(b>>>0)/(c>>>0)|0;if(d>>>0>>0)break a;if((b|0)==(ha(d,c)|0))break d;c=e+192|0;d=(b>>>0)/(c>>>0)|0;if(d>>>0>>0)break a;if((b|0)==(ha(d,c)|0))break d;c=e+196|0;d=(b>>>0)/(c>>>0)|0;if(d>>>0>>0)break a;if((b|0)==(ha(d,c)|0))break d;c=e+198|0;d=(b>>>0)/(c>>>0)|0;if(d>>>0>>0)break a;if((b|0)==(ha(d,c)|0))break d;c=e+208|0;d=(b>>>0)/(c>>>0)|0;if(d>>>0>>0)break a;if((b|0)==(ha(d,c)|0))break;else{e=e+210|0;h=17}}while(0);a=f+1|0;b=((a|0)==48&1)+g|0;a=(a|0)==48?0:a;f=a;g=b;b=(k[152820+(a<<2)>>2]|0)+(b*210|0)|0}}while(0);return b|0}function Tqb(a){a=a|0;rb(617017,617046,1164,619931)}function Uqb(a){a=a|0;rb(617131,617046,1175,617160)}function Vqb(a,b){a=a|0;b=b|0;if(!(i[b>>0]&1)){k[a>>2]=k[b>>2];k[a+4>>2]=k[b+4>>2];k[a+8>>2]=k[b+8>>2]}else Wqb(a,k[b+8>>2]|0,k[b+4>>2]|0);return}function Wqb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(c>>>0>4294967279)Tqb(a);if(c>>>0<11){i[a>>0]=c<<1;a=a+1|0}else{d=kBb(c+16&-16)|0;k[a+8>>2]=d;k[a>>2]=c+16&-16|1;k[a+4>>2]=c;a=d}ABb(a|0,b|0,c|0)|0;i[a+c>>0]=0;return}function Xqb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(b>>>0>4294967279)Tqb(a);if(b>>>0<11){i[a>>0]=b<<1;a=a+1|0}else{d=kBb(b+16&-16)|0;k[a+8>>2]=d;k[a>>2]=b+16&-16|1;k[a+4>>2]=b;a=d}vBb(a|0,c|0,b|0)|0;i[a+b>>0]=0;return}function Yqb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;e=i[b>>0]|0;f=(e&1)==0?(e&255)>>>1:k[b+4>>2]|0;if(f>>>0>>0)Uqb(a);else{Wqb(a,((e&1)==0?b+1|0:k[b+8>>2]|0)+c|0,(f-c|0)>>>0>>0?f-c|0:d);return}}function Zqb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if((c-b|0)>>>0>4294967279)Tqb(a);if((c-b|0)>>>0<11){i[a>>0]=c-b<<1;e=a+1|0}else{e=kBb(c-b+16&-16)|0;k[a+8>>2]=e;k[a>>2]=c-b+16&-16|1;k[a+4>>2]=c-b}a=b;d=e;while(1){if((a|0)==(c|0))break;i[d>>0]=i[a>>0]|0;a=a+1|0;d=d+1|0}i[e+(c-b)>>0]=0;return}function _qb(a){a=a|0;if(i[a>>0]&1)CAb(k[a+8>>2]|0);return}function $qb(a,b){a=a|0;b=b|0;var c=0;if((a|0)!=(b|0)){c=i[b>>0]|0;arb(a,(c&1)==0?b+1|0:k[b+8>>2]|0,(c&1)==0?(c&255)>>>1:k[b+4>>2]|0)|0}return a|0}function arb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=i[a>>0]|0;if(!(d&1))f=10;else{d=k[a>>2]|0;f=(d&-2)+-1|0;d=d&255}e=(d&1)==0;do if(f>>>0>>0){if(e)d=(d&255)>>>1;else d=k[a+4>>2]|0;brb(a,f,c-f|0,d,0,d,c,b)}else{if(e)d=a+1|0;else d=k[a+8>>2]|0;BBb(d|0,b|0,c|0)|0;i[d+c>>0]=0;if(!(i[a>>0]&1)){i[a>>0]=c<<1;break}else{k[a+4>>2]=c;break}}while(0);return a|0}function brb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,l=0;if((-18-b|0)>>>0>>0)Tqb(a);if(!(i[a>>0]&1))l=a+1|0;else l=k[a+8>>2]|0;if(b>>>0<2147483623){c=(c+b|0)>>>0>>0?b<<1:c+b|0;c=c>>>0<11?11:c+16&-16}else c=-17;j=kBb(c)|0;if(e|0)ABb(j|0,l|0,e|0)|0;if(g|0)ABb(j+e|0,h|0,g|0)|0;if((d-f|0)!=(e|0))ABb(j+e+g|0,l+e+f|0,d-f-e|0)|0;if((b|0)!=10)CAb(l);k[a+8>>2]=j;k[a>>2]=c|1;k[a+4>>2]=d-f+g;i[j+(d-f+g)>>0]=0;return}function crb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;if(b>>>0>4294967279)Tqb(a);c=i[a>>0]|0;if(!(c&1))d=10;else{c=k[a>>2]|0;d=(c&-2)+-1|0;c=c&255}if(!(c&1))h=(c&255)>>>1;else h=k[a+4>>2]|0;b=h>>>0>b>>>0?h:b;if(b>>>0<11)g=10;else g=(b+16&-16)+-1|0;do if((g|0)!=(d|0)){do if((g|0)==10){b=a+1|0;d=0;e=k[a+8>>2]|0;f=1}else{b=kBb(g+1|0)|0;if(!(c&1)){d=1;e=a+1|0;f=0;break}else{d=1;e=k[a+8>>2]|0;f=1;break}}while(0);if(!(c&1))c=(c&255)>>>1;else c=k[a+4>>2]|0;ABb(b|0,e|0,c+1|0)|0;if(f)CAb(e);if(d){k[a>>2]=g+1|1;k[a+4>>2]=h;k[a+8>>2]=b;break}else{i[a>>0]=h<<1;break}}while(0);return}function drb(a,b){a=a|0;b=b|0;return arb(a,b,Fnb(b)|0)|0}function erb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=i[a>>0]|0;if(!(d&1))e=(d&255)>>>1;else e=k[a+4>>2]|0;do if(e>>>0>>0)frb(a,b-e|0,c)|0;else if(!(d&1)){i[a+1+b>>0]=0;i[a>>0]=b<<1;break}else{i[(k[a+8>>2]|0)+b>>0]=0;k[a+4>>2]=b;break}while(0);return}function frb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;if(b|0){d=i[a>>0]|0;if(!(d&1))e=10;else{d=k[a>>2]|0;e=(d&-2)+-1|0;d=d&255}if(!(d&1))f=(d&255)>>>1;else f=k[a+4>>2]|0;if((e-f|0)>>>0>>0){grb(a,e,b-e+f|0,f,f,0,0);d=i[a>>0]|0}if(!(d&1))e=a+1|0;else e=k[a+8>>2]|0;vBb(e+f|0,c|0,b|0)|0;d=f+b|0;if(!(i[a>>0]&1))i[a>>0]=d<<1;else k[a+4>>2]=d;i[e+d>>0]=0}return a|0}function grb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;if((-17-b|0)>>>0>>0)Tqb(a);if(!(i[a>>0]&1))j=a+1|0;else j=k[a+8>>2]|0;if(b>>>0<2147483623){c=(c+b|0)>>>0>>0?b<<1:c+b|0;c=c>>>0<11?11:c+16&-16}else c=-17;h=kBb(c)|0;if(e|0)ABb(h|0,j|0,e|0)|0;if((d-f|0)!=(e|0))ABb(h+e+g|0,j+e+f|0,d-f-e|0)|0;if((b|0)!=10)CAb(j);k[a+8>>2]=h;k[a>>2]=c|1;return}function hrb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=i[a>>0]|0;if(!(d&1))e=10;else{d=k[a>>2]|0;e=(d&-2)+-1|0;d=d&255}if(!(d&1))f=(d&255)>>>1;else f=k[a+4>>2]|0;if((e-f|0)>>>0>>0)brb(a,e,c-e+f|0,f,f,0,c,b);else if(c|0){if(!(d&1))e=a+1|0;else e=k[a+8>>2]|0;ABb(e+f|0,b|0,c|0)|0;d=f+c|0;if(!(i[a>>0]&1))i[a>>0]=d<<1;else k[a+4>>2]=d;i[e+d>>0]=0}return a|0}function irb(a,b){a=a|0;b=b|0;return hrb(a,b,Fnb(b)|0)|0}function jrb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=i[a>>0]|0;if(c&1){d=(k[a>>2]&-2)+-1|0;e=k[a+4>>2]|0}else{d=10;e=(c&255)>>>1}if((e|0)==(d|0)){grb(a,d,1,d,d,0,0);if(!(i[a>>0]&1))d=7;else d=8}else if(c&1)d=8;else d=7;if((d|0)==7){i[a>>0]=(e<<1)+2;c=a+1|0}else if((d|0)==8){c=k[a+8>>2]|0;k[a+4>>2]=e+1}e=c+e|0;i[e>>0]=b;i[e+1>>0]=0;return}function krb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=i[a>>0]|0;if(!(e&1))g=(e&255)>>>1;else g=k[a+4>>2]|0;if(g>>>0>>0)Uqb(a);if(!(e&1))f=10;else{e=k[a>>2]|0;f=(e&-2)+-1|0;e=e&255}if((f-g|0)>>>0>>0)brb(a,f,g+d-f|0,g,b,0,d,c);else if(d|0){if(!(e&1))f=a+1|0;else f=k[a+8>>2]|0;if((g|0)==(b|0))e=f+b|0;else{e=f+b|0;BBb(e+d|0,e|0,g-b|0)|0;c=e>>>0<=c>>>0&(f+g|0)>>>0>c>>>0?c+d|0:c}BBb(e|0,c|0,d|0)|0;e=g+d|0;if(!(i[a>>0]&1))i[a>>0]=e<<1;else k[a+4>>2]=e;i[f+e>>0]=0}return a|0}function lrb(a,b,c){a=a|0;b=b|0;c=c|0;return krb(a,b,c,Fnb(c)|0)|0}function mrb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=i[a>>0]|0;if(!(d&1))f=(d&255)>>>1;else f=k[a+4>>2]|0;if(f>>>0>>0)Uqb(a);if(c|0){if(!(d&1))g=a+1|0;else g=k[a+8>>2]|0;e=f-b|0;c=e>>>0>>0?e:c;if((e|0)!=(c|0)){d=g+b|0;BBb(d|0,d+c|0,e-c|0)|0;d=i[a>>0]|0}c=f-c|0;if(!(d&1))i[a>>0]=c<<1;else k[a+4>>2]=c;i[g+c>>0]=0}return a|0}function nrb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,l=0,m=0;f=i[a>>0]|0;if(!(f&1))m=(f&255)>>>1;else m=k[a+4>>2]|0;if(m>>>0>>0)Uqb(a);j=m-b|0;h=j>>>0>>0?j:c;if(!(f&1)){g=10;c=f}else{c=k[a>>2]|0;g=(c&-2)+-1|0;c=c&255}if((h-m+g|0)>>>0>>0)brb(a,g,m+e-h-g|0,m,b,h,e,d);else{if(!(c&1))g=a+1|0;else g=k[a+8>>2]|0;do if((h|0)==(e|0)){c=e;f=b;l=21}else if((j|0)==(h|0)){c=j;f=b;l=21}else{c=g+b|0;if(h>>>0>e>>>0){BBb(c|0,d|0,e|0)|0;BBb(c+e|0,c+h|0,j-h|0)|0;c=h;break}do if(c>>>0>>0&(g+m|0)>>>0>d>>>0)if((c+h|0)>>>0>d>>>0){BBb(c|0,d|0,h|0)|0;f=h+b|0;c=0;d=d+e|0;e=e-h|0;break}else{f=b;c=h;d=d+(e-h)|0;break}else{f=b;c=h}while(0);l=g+f|0;BBb(l+e|0,l+c|0,j-h|0)|0;l=21}while(0);if((l|0)==21)BBb(g+f|0,d|0,e|0)|0;e=e-c+m|0;if(!(i[a>>0]&1))i[a>>0]=e<<1;else k[a+4>>2]=e;i[g+e>>0]=0}return a|0}function orb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return nrb(a,b,c,d,Fnb(d)|0)|0}function prb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=i[a>>0]|0;if(!(d&1)){e=(d&255)>>>1;d=a+1|0}else{e=k[a+4>>2]|0;d=k[a+8>>2]|0}if(e>>>0>c>>>0){c=Cmb(d+c|0,b&255,e-c|0)|0;d=(c|0)==0?-1:c-d|0}else d=-1;return d|0}function qrb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=i[a>>0]|0;if(!(d&1)){d=(d&255)>>>1;a=a+1|0}else{d=k[a+4>>2]|0;a=k[a+8>>2]|0}a:do if(!d)d=-1;else{d=a+(d>>>0>c>>>0?c+1|0:d)|0;do{if((d|0)==(a|0)){d=-1;break a}d=d+-1|0}while((i[d>>0]|0)!=b<<24>>24);d=d-a|0}while(0);return d|0}function rrb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;g=i[a>>0]|0;if(!(g&1))f=(g&255)>>>1;else f=k[a+4>>2]|0;if((e|0)==-1|f>>>0>>0)Uqb(a);f=f-b|0;c=f>>>0>>0?f:c;if(!(g&1))f=a+1|0;else f=k[a+8>>2]|0;f=Emb(f+b|0,d,c>>>0>e>>>0?e:c)|0;if(!f)return (c>>>0>>0?-1:c>>>0>e>>>0&1)|0;else return f|0;return 0}function srb(a,b){a=a|0;b=b|0;return rrb(a,0,-1,b,Fnb(b)|0)|0}function trb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;if(d>>>0>4294967279)Tqb(a);if(d>>>0<11){i[a>>0]=c<<1;d=a+1|0}else{e=kBb(d+16&-16)|0;k[a+8>>2]=e;k[a>>2]=d+16&-16|1;k[a+4>>2]=c;d=e}ABb(d|0,b|0,c|0)|0;i[d+c>>0]=0;return}function urb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(c>>>0>1073741807)Tqb(a);if(c>>>0<2){i[a>>0]=c<<1;a=a+4|0}else{d=kBb((c+4&-4)<<2)|0;k[a+8>>2]=d;k[a>>2]=c+4&-4|1;k[a+4>>2]=c;a=d}Snb(a,b,c)|0;k[a+(c<<2)>>2]=0;return}function vrb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(b>>>0>1073741807)Tqb(a);if(b>>>0<2){i[a>>0]=b<<1;a=a+4|0}else{d=kBb((b+4&-4)<<2)|0;k[a+8>>2]=d;k[a>>2]=b+4&-4|1;k[a+4>>2]=b;a=d}aqb(a,c,b)|0;k[a+(b<<2)>>2]=0;return}function wrb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if(c-b>>2>>>0>1073741807)Tqb(a);if(c-b>>2>>>0<2){i[a>>0]=(c-b|0)>>>1;e=a+4|0}else{e=kBb(((c-b>>2)+4&-4)<<2)|0;k[a+8>>2]=e;k[a>>2]=(c-b>>2)+4&-4|1;k[a+4>>2]=c-b>>2}a=b;d=e;while(1){if((a|0)==(c|0))break;k[d>>2]=k[a>>2];a=a+4|0;d=d+4|0}k[e+((c-b|0)>>>2<<2)>>2]=0;return}function xrb(a){a=a|0;if(i[a>>0]&1)CAb(k[a+8>>2]|0);return}function yrb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=i[a>>0]|0;if(!(d&1))f=1;else{d=k[a>>2]|0;f=(d&-2)+-1|0;d=d&255}e=(d&1)==0;do if(f>>>0>>0){if(e)d=(d&255)>>>1;else d=k[a+4>>2]|0;zrb(a,f,c-f|0,d,0,d,c,b)}else{if(e)d=a+4|0;else d=k[a+8>>2]|0;bqb(d,b,c)|0;k[d+(c<<2)>>2]=0;if(!(i[a>>0]&1)){i[a>>0]=c<<1;break}else{k[a+4>>2]=c;break}}while(0);return a|0}function zrb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,l=0;if((1073741806-b|0)>>>0>>0)Tqb(a);if(!(i[a>>0]&1))l=a+4|0;else l=k[a+8>>2]|0;if(b>>>0<536870887){c=(c+b|0)>>>0>>0?b<<1:c+b|0;c=c>>>0<2?2:c+4&-4}else c=1073741807;j=kBb(c<<2)|0;if(e|0)Snb(j,l,e)|0;if(g|0)Snb(j+(e<<2)|0,h,g)|0;if((d-f|0)!=(e|0))Snb(j+(e<<2)+(g<<2)|0,l+(e<<2)+(f<<2)|0,d-f-e|0)|0;if((b|0)!=1)CAb(l);k[a+8>>2]=j;k[a>>2]=c|1;k[a+4>>2]=d-f+g;k[j+(d-f+g<<2)>>2]=0;return}function Arb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;if(b>>>0>1073741807)Tqb(a);c=i[a>>0]|0;if(!(c&1))d=1;else{c=k[a>>2]|0;d=(c&-2)+-1|0;c=c&255}if(!(c&1))h=(c&255)>>>1;else h=k[a+4>>2]|0;b=h>>>0>b>>>0?h:b;if(b>>>0<2)g=1;else g=(b+4&-4)+-1|0;do if((g|0)!=(d|0)){do if((g|0)==1){b=a+4|0;d=0;e=k[a+8>>2]|0;f=1}else{b=kBb((g<<2)+4|0)|0;if(!(c&1)){d=1;e=a+4|0;f=0;break}else{d=1;e=k[a+8>>2]|0;f=1;break}}while(0);if(!(c&1))c=(c&255)>>>1;else c=k[a+4>>2]|0;Snb(b,e,c+1|0)|0;if(f)CAb(e);if(d){k[a>>2]=g+1|1;k[a+4>>2]=h;k[a+8>>2]=b;break}else{i[a>>0]=h<<1;break}}while(0);return}function Brb(a,b){a=a|0;b=b|0;return yrb(a,b,enb(b)|0)|0}function Crb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;if((1073741807-b|0)>>>0>>0)Tqb(a);if(!(i[a>>0]&1))j=a+4|0;else j=k[a+8>>2]|0;if(b>>>0<536870887){c=(c+b|0)>>>0>>0?b<<1:c+b|0;c=c>>>0<2?2:c+4&-4}else c=1073741807;h=kBb(c<<2)|0;if(e|0)Snb(h,j,e)|0;if((d-f|0)!=(e|0))Snb(h+(e<<2)+(g<<2)|0,j+(e<<2)+(f<<2)|0,d-f-e|0)|0;if((b|0)!=1)CAb(j);k[a+8>>2]=h;k[a>>2]=c|1;return}function Drb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=i[a>>0]|0;if(c&1){d=(k[a>>2]&-2)+-1|0;e=k[a+4>>2]|0}else{d=1;e=(c&255)>>>1}if((e|0)==(d|0)){Crb(a,d,1,d,d,0,0);if(!(i[a>>0]&1))d=7;else d=8}else if(c&1)d=8;else d=7;if((d|0)==7){i[a>>0]=(e<<1)+2;c=a+4|0}else if((d|0)==8){c=k[a+8>>2]|0;k[a+4>>2]=e+1}e=c+(e<<2)|0;k[e>>2]=b;k[e+4>>2]=0;return}function Erb(a){a=a|0;Frb(a);return}function Frb(a){a=a|0;k[a>>2]=153020;Hrb(a,0);pAb(a+28|0);iqb(k[a+32>>2]|0);iqb(k[a+36>>2]|0);iqb(k[a+48>>2]|0);iqb(k[a+60>>2]|0);return}function Grb(a){a=a|0;Frb(a);CAb(a);return}function Hrb(a,b){a=a|0;b=b|0;var c=0,d=0;c=k[a+40>>2]|0;while(1){if(!c)break;d=c+-1|0;kj[k[(k[a+32>>2]|0)+(d<<2)>>2]&255](b,a,k[(k[a+36>>2]|0)+(d<<2)>>2]|0);c=d}return}function Irb(a){a=a|0;k[a>>2]=153036;pAb(a+4|0);return}function Jrb(a){a=a|0;k[a>>2]=153036;pAb(a+4|0);CAb(a);return}function Krb(a,b){a=a|0;b=b|0;return}function Lrb(a,b,c){a=a|0;b=b|0;c=c|0;return a|0}function Mrb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=-1;k[a+8+4>>2]=-1;return}function Nrb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=-1;k[a+8+4>>2]=-1;return}function Orb(a){a=a|0;return 0}function Prb(a){a=a|0;return 0}function Qrb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=b;b=0;while(1){if((b|0)>=(c|0))break;d=k[a+12>>2]|0;if(d>>>0<(k[a+16>>2]|0)>>>0){k[a+12>>2]=d+1;d=i[d>>0]|0}else{d=Gi[k[(k[a>>2]|0)+40>>2]&2047](a)|0;if((d|0)==-1)break;d=d&255}i[e>>0]=d;e=e+1|0;b=b+1|0}return b|0}function Rrb(a){a=a|0;return -1}function Srb(a){a=a|0;var b=0;if((Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0)==-1)a=-1;else{b=k[a+12>>2]|0;k[a+12>>2]=b+1;a=l[b>>0]|0}return a|0}function Trb(a,b){a=a|0;b=b|0;return -1}function Urb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=b;b=0;while(1){if((b|0)>=(c|0))break;e=k[a+24>>2]|0;if(e>>>0<(k[a+28>>2]|0)>>>0){f=i[d>>0]|0;k[a+24>>2]=e+1;i[e>>0]=f}else if((gj[k[(k[a>>2]|0)+52>>2]&511](a,l[d>>0]|0)|0)==-1)break;d=d+1|0;b=b+1|0}return b|0}function Vrb(a,b){a=a|0;b=b|0;return -1}function Wrb(a){a=a|0;k[a>>2]=153100;pAb(a+4|0);return}function Xrb(a){a=a|0;k[a>>2]=153100;pAb(a+4|0);CAb(a);return}function Yrb(a,b){a=a|0;b=b|0;return}function Zrb(a,b,c){a=a|0;b=b|0;c=c|0;return a|0}function _rb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=-1;k[a+8+4>>2]=-1;return}function $rb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=-1;k[a+8+4>>2]=-1;return}function asb(a){a=a|0;return 0}function bsb(a){a=a|0;return 0}function csb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=b;b=0;while(1){if((b|0)>=(c|0))break;d=k[a+12>>2]|0;if(d>>>0<(k[a+16>>2]|0)>>>0){k[a+12>>2]=d+4;d=k[d>>2]|0}else{d=Gi[k[(k[a>>2]|0)+40>>2]&2047](a)|0;if((d|0)==-1)break}k[e>>2]=d;e=e+4|0;b=b+1|0}return b|0}function dsb(a){a=a|0;return -1}function esb(a){a=a|0;var b=0;if((Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0)==-1)a=-1;else{b=k[a+12>>2]|0;k[a+12>>2]=b+4;a=k[b>>2]|0}return a|0}function fsb(a,b){a=a|0;b=b|0;return -1}function gsb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=b;b=0;while(1){if((b|0)>=(c|0))break;e=k[a+24>>2]|0;if(e>>>0<(k[a+28>>2]|0)>>>0){f=k[d>>2]|0;k[a+24>>2]=e+4;k[e>>2]=f}else if((gj[k[(k[a>>2]|0)+52>>2]&511](a,k[d>>2]|0)|0)==-1)break;d=d+4|0;b=b+1|0}return b|0}function hsb(a,b){a=a|0;b=b|0;return -1}function isb(a){a=a|0;Frb(a+8|0);return}function jsb(a){a=a|0;Frb(a+8|0);CAb(a);return}function ksb(a){a=a|0;Frb(a+(k[(k[a>>2]|0)+-12>>2]|0)+8|0);return}function lsb(a){a=a|0;jsb(a+(k[(k[a>>2]|0)+-12>>2]|0)|0);return}function msb(a){a=a|0;Frb(a+8|0);return}function nsb(a){a=a|0;Frb(a+8|0);CAb(a);return}function osb(a){a=a|0;Frb(a+(k[(k[a>>2]|0)+-12>>2]|0)+8|0);return}function psb(a){a=a|0;nsb(a+(k[(k[a>>2]|0)+-12>>2]|0)|0);return}function qsb(a){a=a|0;Frb(a+4|0);return}function rsb(a){a=a|0;Frb(a+4|0);CAb(a);return}function ssb(a){a=a|0;Frb(a+(k[(k[a>>2]|0)+-12>>2]|0)+4|0);return}function tsb(a){a=a|0;rsb(a+(k[(k[a>>2]|0)+-12>>2]|0)|0);return}function usb(a){a=a|0;Frb(a+4|0);return}function vsb(a){a=a|0;Frb(a+4|0);CAb(a);return}function wsb(a){a=a|0;Frb(a+(k[(k[a>>2]|0)+-12>>2]|0)+4|0);return}function xsb(a){a=a|0;vsb(a+(k[(k[a>>2]|0)+-12>>2]|0)|0);return}function ysb(a){a=a|0;Frb(a+12|0);return}function zsb(a){a=a|0;Frb(a+12|0);CAb(a);return}function Asb(a){a=a|0;Frb(a+-8+12|0);return}function Bsb(a){a=a|0;zsb(a+-8|0);return}function Csb(a){a=a|0;Frb(a+(k[(k[a>>2]|0)+-12>>2]|0)+12|0);return}function Dsb(a){a=a|0;zsb(a+(k[(k[a>>2]|0)+-12>>2]|0)|0);return}function Esb(a,b){a=a|0;b=b|0;k[a+16>>2]=(k[a+24>>2]|0)==0|b;return}function Fsb(a,b){a=a|0;b=b|0;var c=0;k[a+24>>2]=b;k[a+16>>2]=(b|0)==0&1;k[a+20>>2]=0;k[a+4>>2]=4098;k[a+12>>2]=0;k[a+8>>2]=6;b=a+32|0;c=b+40|0;do{k[b>>2]=0;b=b+4|0}while((b|0)<(c|0));nAb(a+28|0);return}function Gsb(a){a=a|0;var b=0;b=r;r=r+16|0;oAb(b,a+28|0);r=b;return k[b>>2]|0}function Hsb(a){a=a|0;k[a>>2]=153036;nAb(a+4|0);k[a+8>>2]=0;k[a+8+4>>2]=0;k[a+8+8>>2]=0;k[a+8+12>>2]=0;k[a+8+16>>2]=0;k[a+8+20>>2]=0;return}function Isb(a){a=a|0;k[a>>2]=153100;nAb(a+4|0);k[a+8>>2]=0;k[a+8+4>>2]=0;k[a+8+8>>2]=0;k[a+8+12>>2]=0;k[a+8+16>>2]=0;k[a+8+20>>2]=0;return}function Jsb(a,b){a=a|0;b=b|0;return}function Ksb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=r;r=r+16|0;i[a>>0]=0;d=b+(k[(k[b>>2]|0)+-12>>2]|0)|0;e=k[d+16>>2]|0;if(!e){d=k[d+72>>2]|0;if(d|0)Lsb(d)|0;do if(!c){d=b+(k[(k[b>>2]|0)+-12>>2]|0)|0;if(k[d+4>>2]&4096|0){e=Gsb(d)|0;k[f>>2]=e;e=gtb(f,1203700)|0;pAb(f);c=k[b+(k[(k[b>>2]|0)+-12>>2]|0)+24>>2]|0;while(1){if(!c){e=0;d=0;break}if((k[c+12>>2]|0)==(k[c+16>>2]|0))if((Gi[k[(k[c>>2]|0)+36>>2]&2047](c)|0)==-1){e=0;d=0;break}d=k[c+12>>2]|0;if((d|0)==(k[c+16>>2]|0))d=Gi[k[(k[c>>2]|0)+36>>2]&2047](c)|0;else d=l[d>>0]|0;if((d&255)<<24>>24<=-1){e=c;d=c;break}if(!(j[(k[e+8>>2]|0)+(d<<24>>24<<1)>>1]&8192)){e=c;d=c;break}d=k[c+12>>2]|0;if((d|0)==(k[c+16>>2]|0)){Gi[k[(k[c>>2]|0)+40>>2]&2047](c)|0;continue}else{k[c+12>>2]=d+1;continue}}if(d|0){if((k[e+12>>2]|0)!=(k[e+16>>2]|0))break;if((Gi[k[(k[d>>2]|0)+36>>2]&2047](e)|0)!=-1)break}c=b+(k[(k[b>>2]|0)+-12>>2]|0)|0;k[c+16>>2]=k[c+16>>2]|(k[c+24>>2]|0)==0|6}}while(0);i[a>>0]=(k[b+(k[(k[b>>2]|0)+-12>>2]|0)+16>>2]|0)==0&1}else k[d+16>>2]=e|(k[d+24>>2]|0)==0|4;r=f;return}function Lsb(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;if(k[a+(k[(k[a>>2]|0)+-12>>2]|0)+24>>2]|0){Msb(b,a);if(i[b>>0]|0){c=k[a+(k[(k[a>>2]|0)+-12>>2]|0)+24>>2]|0;if((Gi[k[(k[c>>2]|0)+24>>2]&2047](c)|0)==-1){c=a+(k[(k[a>>2]|0)+-12>>2]|0)+16|0;k[c>>2]=k[c>>2]|1}}Nsb(b)}r=b;return a|0}function Msb(a,b){a=a|0;b=b|0;i[a>>0]=0;k[a+4>>2]=b;b=b+(k[(k[b>>2]|0)+-12>>2]|0)|0;if(!(k[b+16>>2]|0)){b=k[b+72>>2]|0;if(b|0)Lsb(b)|0;i[a>>0]=1}return}function Nsb(a){a=a|0;var b=0;b=k[a+4>>2]|0;b=b+(k[(k[b>>2]|0)+-12>>2]|0)|0;if(k[b+24>>2]|0)if(!(k[b+16>>2]|0))if(k[b+4>>2]&8192|0)if(!(Ee()|0)){b=k[a+4>>2]|0;b=k[b+(k[(k[b>>2]|0)+-12>>2]|0)+24>>2]|0;if((Gi[k[(k[b>>2]|0)+24>>2]&2047](b)|0)==-1){a=k[a+4>>2]|0;a=a+(k[(k[a>>2]|0)+-12>>2]|0)+16|0;k[a>>2]=k[a>>2]|1}}return}function Osb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=r;r=r+32|0;Msb(g,a);if(i[g>>0]|0){f=Gsb(a+(k[(k[a>>2]|0)+-12>>2]|0)|0)|0;k[g+8>>2]=f;f=gtb(g+8|0,1203756)|0;pAb(g+8|0);d=a+(k[(k[a>>2]|0)+-12>>2]|0)|0;e=k[d+24>>2]|0;c=k[d+76>>2]|0;if((c|0)==-1){c=Gsb(d)|0;k[g+16>>2]=c;c=gtb(g+16|0,1203700)|0;c=gj[k[(k[c>>2]|0)+28>>2]&511](c,32)|0;pAb(g+16|0);k[d+76>>2]=c<<24>>24;c=c<<24>>24}h=k[(k[f>>2]|0)+16>>2]|0;k[g+12>>2]=e;k[g+16>>2]=k[g+12>>2];if(!(Ni[h&127](f,g+16|0,d,c&255,b)|0)){h=a+(k[(k[a>>2]|0)+-12>>2]|0)+16|0;k[h>>2]=k[h>>2]|5}}Nsb(g);r=g;return a|0}function Psb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=r;r=r+32|0;Msb(g,a);if(i[g>>0]|0){f=Gsb(a+(k[(k[a>>2]|0)+-12>>2]|0)|0)|0;k[g+8>>2]=f;f=gtb(g+8|0,1203756)|0;pAb(g+8|0);d=a+(k[(k[a>>2]|0)+-12>>2]|0)|0;e=k[d+24>>2]|0;c=k[d+76>>2]|0;if((c|0)==-1){c=Gsb(d)|0;k[g+16>>2]=c;c=gtb(g+16|0,1203700)|0;c=gj[k[(k[c>>2]|0)+28>>2]&511](c,32)|0;pAb(g+16|0);k[d+76>>2]=c<<24>>24;c=c<<24>>24}h=k[(k[f>>2]|0)+24>>2]|0;k[g+12>>2]=e;k[g+16>>2]=k[g+12>>2];if(!(Ni[h&127](f,g+16|0,d,c&255,b)|0)){h=a+(k[(k[a>>2]|0)+-12>>2]|0)+16|0;k[h>>2]=k[h>>2]|5}}Nsb(g);r=g;return a|0}function Qsb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0;h=r;r=r+32|0;Msb(h,a);if(i[h>>0]|0){e=Gsb(a+(k[(k[a>>2]|0)+-12>>2]|0)|0)|0;k[h+8>>2]=e;e=gtb(h+8|0,1203756)|0;pAb(h+8|0);f=a+(k[(k[a>>2]|0)+-12>>2]|0)|0;g=k[f+24>>2]|0;d=k[f+76>>2]|0;if((d|0)==-1){d=Gsb(f)|0;k[h+16>>2]=d;d=gtb(h+16|0,1203700)|0;d=gj[k[(k[d>>2]|0)+28>>2]&511](d,32)|0;pAb(h+16|0);k[f+76>>2]=d<<24>>24;d=d<<24>>24}j=k[(k[e>>2]|0)+28>>2]|0;k[h+12>>2]=g;k[h+16>>2]=k[h+12>>2];if(!(Ei[j&63](e,h+16|0,f,d&255,b,c)|0)){j=a+(k[(k[a>>2]|0)+-12>>2]|0)+16|0;k[j>>2]=k[j>>2]|5}}Nsb(h);r=h;return a|0}function Rsb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=r;r=r+16|0;Msb(e,a);a:do if(i[e>>0]|0){d=k[a+(k[(k[a>>2]|0)+-12>>2]|0)+24>>2]|0;do if(d|0){c=k[d+24>>2]|0;if((c|0)==(k[d+28>>2]|0))if((gj[k[(k[d>>2]|0)+52>>2]&511](d,b&255)|0)==-1)break;else break a;else{k[d+24>>2]=c+1;i[c>>0]=b;break a}}while(0);b=a+(k[(k[a>>2]|0)+-12>>2]|0)+16|0;k[b>>2]=k[b>>2]|1}while(0);Nsb(e);r=e;return a|0}function Ssb(a,b){a=a|0;b=b|0;return}function Tsb(a){a=a|0;k[a+16>>2]=k[a+16>>2]|1;return}function Usb(a){a=a|0;return}function Vsb(a){a=a|0;CAb(a);return}function Wsb(a){a=a|0;if(a|0)Si[k[(k[a>>2]|0)+4>>2]&1023](a);return}function Xsb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;while(1){if((d|0)==(e|0)){g=7;break}if((b|0)==(c|0)){b=-1;break}a=i[b>>0]|0;f=i[d>>0]|0;if(a<<24>>24>24){b=-1;break}if(f<<24>>24>24){b=1;break}d=d+1|0;b=b+1|0}if((g|0)==7)b=(b|0)!=(c|0)&1;return b|0}function Ysb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Zqb(a,c,d);return}function Zsb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=0;while(1){if((b|0)==(c|0))break;d=(i[b>>0]|0)+(a<<4)|0;a=((d&-268435456)>>>24|d&-268435456)^d;b=b+1|0}return a|0}function _sb(a){a=a|0;return}function $sb(a){a=a|0;CAb(a);return}function atb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;while(1){if((d|0)==(e|0)){g=7;break}if((b|0)==(c|0)){b=-1;break}a=k[b>>2]|0;f=k[d>>2]|0;if((a|0)<(f|0)){b=-1;break}if((f|0)<(a|0)){b=1;break}d=d+4|0;b=b+4|0}if((g|0)==7)b=(b|0)!=(c|0)&1;return b|0}function btb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;wrb(a,c,d);return}function ctb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=0;while(1){if((b|0)==(c|0))break;d=(k[b>>2]|0)+(a<<4)|0;a=((d&-268435456)>>>24|d&-268435456)^d;b=b+4|0}return a|0}function dtb(a){a=a|0;return}function etb(a){a=a|0;CAb(a);return}function ftb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=r;r=r+64|0;if(!(k[d+4>>2]&1)){k[g+20>>2]=-1;h=k[(k[a>>2]|0)+16>>2]|0;k[g+16>>2]=k[b>>2];k[g+12>>2]=k[c>>2];k[g+24>>2]=k[g+16>>2];k[g+48>>2]=k[g+12>>2];c=Ei[h&63](a,g+24|0,g+48|0,d,e,g+20|0)|0;k[b>>2]=c;switch(k[g+20>>2]|0){case 0:{i[f>>0]=0;break}case 1:{i[f>>0]=1;break}default:{i[f>>0]=1;k[e>>2]=4}}}else{a=Gsb(d)|0;k[g+8>>2]=a;h=gtb(g+8|0,1203700)|0;sAb(a)|0;d=Gsb(d)|0;k[g+4>>2]=d;a=gtb(g+4|0,1203712)|0;sAb(d)|0;Di[k[(k[a>>2]|0)+24>>2]&511](g+24|0,a);Di[k[(k[a>>2]|0)+28>>2]&511](g+24+12|0,a);k[g>>2]=k[c>>2];k[g+48>>2]=k[g>>2];c=(ktb(b,g+48|0,g+24|0,g+24+24|0,h,e,1)|0)==(g+24|0)&1;i[f>>0]=c;c=k[b>>2]|0;_qb(g+24+12|0);_qb(g+24|0)}r=g;return c|0}function gtb(a,b){a=a|0;b=b|0;a=k[a>>2]|0;b=htb(b)|0;return k[(k[a+8>>2]|0)+(b<<2)>>2]|0}function htb(a){a=a|0;var b=0;b=r;r=r+16|0;if((k[a>>2]|0)!=-1){k[b>>2]=a;k[b+4>>2]=790;k[b+8>>2]=0;tAb(a,b,791)}r=b;return (k[a+4>>2]|0)+-1|0}function itb(a){a=a|0;var b=0;b=k[300927]|0;k[300927]=b+1;k[a+4>>2]=b+1;return}function jtb(a){a=a|0;var b=0,c=0;b=k[a+4>>2]|0;c=k[a+8>>2]|0;a=(k[a>>2]|0)+(c>>1)|0;if(c&1)b=k[(k[a>>2]|0)+b>>2]|0;Si[b&1023](a);return}function ktb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;z=r;r=r+112|0;if(((d-c|0)/12|0)>>>0>100){j=hqb((d-c|0)/12|0)|0;if(!j)sBb();else{x=j;h=j}}else{x=0;h=z}o=c;j=0;m=(d-c|0)/12|0;p=h;while(1){if((o|0)==(d|0))break;n=i[o>>0]|0;if(!(n&1))n=(n&255)>>>1;else n=k[o+4>>2]|0;if(!n){i[p>>0]=2;j=j+1|0;m=m+-1|0}else i[p>>0]=1;o=o+12|0;p=p+1|0}w=0;t=j;q=m;a:while(1){j=k[a>>2]|0;do if(!j)j=0;else if((k[j+12>>2]|0)==(k[j+16>>2]|0))if((Gi[k[(k[j>>2]|0)+36>>2]&2047](j)|0)==-1){k[a>>2]=0;j=0;break}else{j=k[a>>2]|0;break}while(0);n=(j|0)==0;m=k[b>>2]|0;if(!m)m=0;else if((k[m+12>>2]|0)==(k[m+16>>2]|0))if((Gi[k[(k[m>>2]|0)+36>>2]&2047](m)|0)==-1){k[b>>2]=0;m=0}o=(m|0)==0;j=k[a>>2]|0;if(!((q|0)!=0&(n^o)))break;m=k[j+12>>2]|0;if((m|0)==(k[j+16>>2]|0))j=Gi[k[(k[j>>2]|0)+36>>2]&2047](j)|0;else j=l[m>>0]|0;j=j&255;if(!g)j=gj[k[(k[e>>2]|0)+12>>2]&511](e,j)|0;v=w+1|0;p=0;s=c;n=t;u=q;q=h;while(1){if((s|0)==(d|0))break;do if((i[q>>0]|0)==1){if(!(i[s>>0]&1))m=s+1|0;else m=k[s+8>>2]|0;m=i[m+w>>0]|0;if(!g)m=gj[k[(k[e>>2]|0)+12>>2]&511](e,m)|0;if(j<<24>>24!=m<<24>>24){i[q>>0]=0;m=p;o=u+-1|0;break}m=i[s>>0]|0;if(!(m&1))m=(m&255)>>>1;else m=k[s+4>>2]|0;if((m|0)==(v|0)){i[q>>0]=2;m=1;n=n+1|0;o=u+-1|0}else{m=1;o=u}}else{m=p;o=u}while(0);p=m;s=s+12|0;u=o;q=q+1|0}if(!p){w=v;t=n;q=u;continue}j=k[a>>2]|0;m=k[j+12>>2]|0;if((m|0)==(k[j+16>>2]|0))Gi[k[(k[j>>2]|0)+40>>2]&2047](j)|0;else k[j+12>>2]=m+1;if((n+u|0)>>>0>1){o=c;j=n;n=h}else{w=v;t=n;q=u;continue}while(1){if((o|0)==(d|0)){w=v;t=j;q=u;continue a}if((i[n>>0]|0)==2){m=i[o>>0]|0;if(!(m&1))m=(m&255)>>>1;else m=k[o+4>>2]|0;if((m|0)!=(v|0)){i[n>>0]=0;j=j+-1|0}}o=o+12|0;n=n+1|0}}do if(!j)j=0;else if((k[j+12>>2]|0)==(k[j+16>>2]|0))if((Gi[k[(k[j>>2]|0)+36>>2]&2047](j)|0)==-1){k[a>>2]=0;j=0;break}else{j=k[a>>2]|0;break}while(0);j=(j|0)==0;do if(o)y=34;else{if((k[m+12>>2]|0)==(k[m+16>>2]|0))if((Gi[k[(k[m>>2]|0)+36>>2]&2047](m)|0)==-1){k[b>>2]=0;y=34;break}if(!j)y=69}while(0);if((y|0)==34)if(j)y=69;if((y|0)==69)k[f>>2]=k[f>>2]|2;while(1){if((c|0)==(d|0)){y=73;break}if((i[h>>0]|0)==2)break;c=c+12|0;h=h+1|0}if((y|0)==73){k[f>>2]=k[f>>2]|4;c=d}iqb(x);r=z;return c|0}function ltb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+16|0;k[g+4>>2]=k[b>>2];k[g>>2]=k[c>>2];k[g+8>>2]=k[g+4>>2];k[g+12>>2]=k[g>>2];a=mtb(a,g+8|0,g+12|0,d,e,f)|0;r=g;return a|0}function mtb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0;p=r;r=r+224|0;switch(k[d+4>>2]&74|0){case 64:{o=8;break}case 8:{o=16;break}case 0:{o=0;break}default:o=10}ntb(p+184|0,d,p+198|0,p+196|0);a=0;while(1){if((a|0)==3)break;k[p+172+(a<<2)>>2]=0;a=a+1|0}if(!(i[p+172>>0]&1))a=10;else a=(k[p+172>>2]&-2)+-1|0;erb(p+172|0,a,0);g=(i[p+172>>0]&1)==0?p+172+1|0:k[p+172+8>>2]|0;k[p+168>>2]=g;k[p+4>>2]=p+8;k[p>>2]=0;n=i[p+196>>0]|0;a=k[b>>2]|0;a:while(1){if(!a)a=0;else if((k[a+12>>2]|0)==(k[a+16>>2]|0))if((Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0)==-1){k[b>>2]=0;a=0}d=(a|0)==0;h=k[c>>2]|0;do if(!h)q=20;else{if((k[h+12>>2]|0)!=(k[h+16>>2]|0))if(d)break;else break a;if((Gi[k[(k[h>>2]|0)+36>>2]&2047](h)|0)==-1){k[c>>2]=0;q=20;break}else if(d)break;else break a}while(0);if((q|0)==20){q=0;if(d){h=0;break}else h=0}j=i[p+172>>0]|0;j=(j&1)==0?(j&255)>>>1:k[p+172+4>>2]|0;if((k[p+168>>2]|0)==(g+j|0)){erb(p+172|0,j<<1,0);if(!(i[p+172>>0]&1))d=10;else d=(k[p+172>>2]&-2)+-1|0;erb(p+172|0,d,0);g=(i[p+172>>0]&1)==0?p+172+1|0:k[p+172+8>>2]|0;k[p+168>>2]=g+j}j=a+12|0;d=k[j>>2]|0;m=a+16|0;if((d|0)==(k[m>>2]|0))d=Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0;else d=l[d>>0]|0;if(otb(d&255,o,g,p+168|0,p,n,p+184|0,p+8|0,p+4|0,p+198|0)|0)break;d=k[j>>2]|0;if((d|0)==(k[m>>2]|0)){Gi[k[(k[a>>2]|0)+40>>2]&2047](a)|0;continue}else{k[j>>2]=d+1;continue}}n=i[p+184>>0]|0;d=k[p+4>>2]|0;if(((n&1)==0?(n&255)>>>1:k[p+184+4>>2]|0)|0)if((d-(p+8)|0)<160){n=k[p>>2]|0;k[p+4>>2]=d+4;k[d>>2]=n;d=d+4|0}o=ptb(g,k[p+168>>2]|0,e,o)|0;k[f>>2]=o;rtb(p+184|0,p+8|0,d,e);if(!a)a=0;else if((k[a+12>>2]|0)==(k[a+16>>2]|0))if((Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0)==-1){k[b>>2]=0;a=0}a=(a|0)==0;do if(!h)q=45;else{if((k[h+12>>2]|0)==(k[h+16>>2]|0))if((Gi[k[(k[h>>2]|0)+36>>2]&2047](h)|0)==-1){k[c>>2]=0;q=45;break}if(!a)q=46}while(0);if((q|0)==45)if(a)q=46;if((q|0)==46)k[e>>2]=k[e>>2]|2;q=k[b>>2]|0;_qb(p+172|0);_qb(p+184|0);r=p;return q|0}function ntb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=r;r=r+16|0;b=Gsb(b)|0;k[e>>2]=b;f=gtb(e,1203700)|0;nj[k[(k[f>>2]|0)+32>>2]&127](f,617794,617820,c)|0;c=gtb(e,1203712)|0;f=Gi[k[(k[c>>2]|0)+16>>2]&2047](c)|0;i[d>>0]=f;Di[k[(k[c>>2]|0)+20>>2]&511](a,c);sAb(b)|0;r=e;return}function otb(a,b,c,d,e,f,g,h,j,l){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;l=l|0;var m=0,n=0,o=0;o=k[d>>2]|0;do if((o|0)==(c|0)){m=(i[l+24>>0]|0)==a<<24>>24;if(!m)if((i[l+25>>0]|0)!=a<<24>>24){n=5;break}k[d>>2]=c+1;i[c>>0]=m?43:45;k[e>>2]=0;m=0}else n=5;while(0);a:do if((n|0)==5){n=i[g>>0]|0;if(a<<24>>24==f<<24>>24?(((n&1)==0?(n&255)>>>1:k[g+4>>2]|0)|0)!=0:0){m=k[j>>2]|0;if((m-h|0)>=160){m=0;break}b=k[e>>2]|0;k[j>>2]=m+4;k[m>>2]=b;k[e>>2]=0;m=0;break}m=l;while(1){if((m|0)==(l+26|0)){m=l+26|0;break}if((i[m>>0]|0)==a<<24>>24)break;m=m+1|0}m=m-l|0;if((m|0)>23)m=-1;else{switch(b|0){case 10:case 8:{if((m|0)>=(b|0)){m=-1;break a}break}case 16:{if((m|0)>=22){if((o|0)==(c|0)){m=-1;break a}if((o-c|0)>=3){m=-1;break a}if((i[o+-1>>0]|0)!=48){m=-1;break a}k[e>>2]=0;m=i[617794+m>>0]|0;k[d>>2]=o+1;i[o>>0]=m;m=0;break a}break}default:{}}m=i[617794+m>>0]|0;k[d>>2]=o+1;i[o>>0]=m;k[e>>2]=(k[e>>2]|0)+1;m=0}}while(0);return m|0}function ptb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;h=r;r=r+16|0;if((a|0)==(b|0)){k[c>>2]=4;a=0}else{f=_lb()|0;g=k[f>>2]|0;k[f>>2]=0;a=rmb(a,h,d,qtb()|0)|0;d=L;e=k[f>>2]|0;if(!e)k[f>>2]=g;a:do if((k[h>>2]|0)==(b|0)){do if((e|0)==34){k[c>>2]=4;if((d|0)>0|(d|0)==0&a>>>0>0){a=2147483647;break a}}else{if((d|0)<-1|(d|0)==-1&a>>>0<2147483648){k[c>>2]=4;break}if((d|0)>0|(d|0)==0&a>>>0>2147483647){k[c>>2]=4;a=2147483647;break a}else break a}while(0);a=-2147483648}else{k[c>>2]=4;a=0}while(0)}r=h;return a|0}function qtb(){var a=0;if(!(i[622136]|0))if(Ce(622136)|0){a=Lnb(2147483647,617827,0)|0;k[300930]=a;pd(622136)}return k[300930]|0}function rtb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;e=i[a>>0]|0;f=k[a+4>>2]|0;do if(((e&1)==0?(e&255)>>>1:f)|0){if((b|0)!=(c|0)){e=c;f=b;while(1){e=e+-4|0;if(f>>>0>=e>>>0)break;g=k[f>>2]|0;k[f>>2]=k[e>>2];k[e>>2]=g;f=f+4|0}e=i[a>>0]|0;f=k[a+4>>2]|0}j=(e&1)==0;g=j?a+1|0:k[a+8>>2]|0;a=g+(j?(e&255)>>>1:f)|0;f=b;while(1){e=i[g>>0]|0;if(f>>>0>=(c+-4|0)>>>0)break;if(!(e<<24>>24<1|e<<24>>24==127))if((e<<24>>24|0)!=(k[f>>2]|0)){h=10;break}g=(a-g|0)>1?g+1|0:g;f=f+4|0}if((h|0)==10){k[d>>2]=4;break}if(!(e<<24>>24<1|e<<24>>24==127))if(((k[c+-4>>2]|0)+-1|0)>>>0>=e<<24>>24>>>0)k[d>>2]=4}while(0);return}function stb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+16|0;k[g+4>>2]=k[b>>2];k[g>>2]=k[c>>2];k[g+8>>2]=k[g+4>>2];k[g+12>>2]=k[g>>2];a=ttb(a,g+8|0,g+12|0,d,e,f)|0;r=g;return a|0}function ttb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0;p=r;r=r+224|0;switch(k[d+4>>2]&74|0){case 64:{o=8;break}case 8:{o=16;break}case 0:{o=0;break}default:o=10}ntb(p+184|0,d,p+198|0,p+196|0);a=0;while(1){if((a|0)==3)break;k[p+172+(a<<2)>>2]=0;a=a+1|0}if(!(i[p+172>>0]&1))a=10;else a=(k[p+172>>2]&-2)+-1|0;erb(p+172|0,a,0);g=(i[p+172>>0]&1)==0?p+172+1|0:k[p+172+8>>2]|0;k[p+168>>2]=g;k[p+4>>2]=p+8;k[p>>2]=0;n=i[p+196>>0]|0;a=k[b>>2]|0;a:while(1){if(!a)a=0;else if((k[a+12>>2]|0)==(k[a+16>>2]|0))if((Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0)==-1){k[b>>2]=0;a=0}d=(a|0)==0;h=k[c>>2]|0;do if(!h)q=20;else{if((k[h+12>>2]|0)!=(k[h+16>>2]|0))if(d)break;else break a;if((Gi[k[(k[h>>2]|0)+36>>2]&2047](h)|0)==-1){k[c>>2]=0;q=20;break}else if(d)break;else break a}while(0);if((q|0)==20){q=0;if(d){h=0;break}else h=0}j=i[p+172>>0]|0;j=(j&1)==0?(j&255)>>>1:k[p+172+4>>2]|0;if((k[p+168>>2]|0)==(g+j|0)){erb(p+172|0,j<<1,0);if(!(i[p+172>>0]&1))d=10;else d=(k[p+172>>2]&-2)+-1|0;erb(p+172|0,d,0);g=(i[p+172>>0]&1)==0?p+172+1|0:k[p+172+8>>2]|0;k[p+168>>2]=g+j}j=a+12|0;d=k[j>>2]|0;m=a+16|0;if((d|0)==(k[m>>2]|0))d=Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0;else d=l[d>>0]|0;if(otb(d&255,o,g,p+168|0,p,n,p+184|0,p+8|0,p+4|0,p+198|0)|0)break;d=k[j>>2]|0;if((d|0)==(k[m>>2]|0)){Gi[k[(k[a>>2]|0)+40>>2]&2047](a)|0;continue}else{k[j>>2]=d+1;continue}}n=i[p+184>>0]|0;d=k[p+4>>2]|0;if(((n&1)==0?(n&255)>>>1:k[p+184+4>>2]|0)|0)if((d-(p+8)|0)<160){n=k[p>>2]|0;k[p+4>>2]=d+4;k[d>>2]=n;d=d+4|0}o=utb(g,k[p+168>>2]|0,e,o)|0;k[f>>2]=o;k[f+4>>2]=L;rtb(p+184|0,p+8|0,d,e);if(!a)a=0;else if((k[a+12>>2]|0)==(k[a+16>>2]|0))if((Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0)==-1){k[b>>2]=0;a=0}a=(a|0)==0;do if(!h)q=45;else{if((k[h+12>>2]|0)==(k[h+16>>2]|0))if((Gi[k[(k[h>>2]|0)+36>>2]&2047](h)|0)==-1){k[c>>2]=0;q=45;break}if(!a)q=46}while(0);if((q|0)==45)if(a)q=46;if((q|0)==46)k[e>>2]=k[e>>2]|2;q=k[b>>2]|0;_qb(p+172|0);_qb(p+184|0);r=p;return q|0}function utb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;h=r;r=r+16|0;if((a|0)==(b|0)){k[c>>2]=4;d=0;a=0}else{f=_lb()|0;g=k[f>>2]|0;k[f>>2]=0;e=rmb(a,h,d,qtb()|0)|0;d=L;a=k[f>>2]|0;if(!a)k[f>>2]=g;if((k[h>>2]|0)==(b|0))if((a|0)==34){k[c>>2]=4;a=(d|0)>0|(d|0)==0&e>>>0>0?-1:0;d=(d|0)>0|(d|0)==0&e>>>0>0?2147483647:-2147483648}else a=e;else{k[c>>2]=4;a=0;d=0}}L=d;r=h;return a|0}function vtb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+16|0;k[g+4>>2]=k[b>>2];k[g>>2]=k[c>>2];k[g+8>>2]=k[g+4>>2];k[g+12>>2]=k[g>>2];a=wtb(a,g+8|0,g+12|0,d,e,f)|0;r=g;return a|0}function wtb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,m=0,n=0,o=0,p=0,q=0,s=0;q=r;r=r+224|0;switch(k[d+4>>2]&74|0){case 64:{p=8;break}case 8:{p=16;break}case 0:{p=0;break}default:p=10}ntb(q+184|0,d,q+198|0,q+196|0);a=0;while(1){if((a|0)==3)break;k[q+172+(a<<2)>>2]=0;a=a+1|0}if(!(i[q+172>>0]&1))a=10;else a=(k[q+172>>2]&-2)+-1|0;erb(q+172|0,a,0);g=(i[q+172>>0]&1)==0?q+172+1|0:k[q+172+8>>2]|0;k[q+168>>2]=g;k[q+4>>2]=q+8;k[q>>2]=0;o=i[q+196>>0]|0;a=k[b>>2]|0;a:while(1){if(!a)a=0;else if((k[a+12>>2]|0)==(k[a+16>>2]|0))if((Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0)==-1){k[b>>2]=0;a=0}d=(a|0)==0;h=k[c>>2]|0;do if(!h)s=20;else{if((k[h+12>>2]|0)!=(k[h+16>>2]|0))if(d)break;else break a;if((Gi[k[(k[h>>2]|0)+36>>2]&2047](h)|0)==-1){k[c>>2]=0;s=20;break}else if(d)break;else break a}while(0);if((s|0)==20){s=0;if(d){h=0;break}else h=0}m=i[q+172>>0]|0;m=(m&1)==0?(m&255)>>>1:k[q+172+4>>2]|0;if((k[q+168>>2]|0)==(g+m|0)){erb(q+172|0,m<<1,0);if(!(i[q+172>>0]&1))d=10;else d=(k[q+172>>2]&-2)+-1|0;erb(q+172|0,d,0);g=(i[q+172>>0]&1)==0?q+172+1|0:k[q+172+8>>2]|0;k[q+168>>2]=g+m}m=a+12|0;d=k[m>>2]|0;n=a+16|0;if((d|0)==(k[n>>2]|0))d=Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0;else d=l[d>>0]|0;if(otb(d&255,p,g,q+168|0,q,o,q+184|0,q+8|0,q+4|0,q+198|0)|0)break;d=k[m>>2]|0;if((d|0)==(k[n>>2]|0)){Gi[k[(k[a>>2]|0)+40>>2]&2047](a)|0;continue}else{k[m>>2]=d+1;continue}}o=i[q+184>>0]|0;d=k[q+4>>2]|0;if(((o&1)==0?(o&255)>>>1:k[q+184+4>>2]|0)|0)if((d-(q+8)|0)<160){o=k[q>>2]|0;k[q+4>>2]=d+4;k[d>>2]=o;d=d+4|0}p=xtb(g,k[q+168>>2]|0,e,p)|0;j[f>>1]=p;rtb(q+184|0,q+8|0,d,e);if(!a)a=0;else if((k[a+12>>2]|0)==(k[a+16>>2]|0))if((Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0)==-1){k[b>>2]=0;a=0}a=(a|0)==0;do if(!h)s=45;else{if((k[h+12>>2]|0)==(k[h+16>>2]|0))if((Gi[k[(k[h>>2]|0)+36>>2]&2047](h)|0)==-1){k[c>>2]=0;s=45;break}if(!a)s=46}while(0);if((s|0)==45)if(a)s=46;if((s|0)==46)k[e>>2]=k[e>>2]|2;s=k[b>>2]|0;_qb(q+172|0);_qb(q+184|0);r=q;return s|0}function xtb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;h=r;r=r+16|0;do if((a|0)==(b|0)){k[c>>2]=4;a=0}else{if((i[a>>0]|0)==45){k[c>>2]=4;a=0;break}f=_lb()|0;g=k[f>>2]|0;k[f>>2]=0;a=imb(a,h,d,qtb()|0)|0;d=L;e=k[f>>2]|0;if(!e)k[f>>2]=g;do if((k[h>>2]|0)==(b|0))if(d>>>0>0|(d|0)==0&a>>>0>65535|(e|0)==34){k[c>>2]=4;a=-1;break}else{a=a&65535;break}else{k[c>>2]=4;a=0}while(0)}while(0);r=h;return a|0}function ytb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+16|0;k[g+4>>2]=k[b>>2];k[g>>2]=k[c>>2];k[g+8>>2]=k[g+4>>2];k[g+12>>2]=k[g>>2];a=ztb(a,g+8|0,g+12|0,d,e,f)|0;r=g;return a|0}function ztb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0;p=r;r=r+224|0;switch(k[d+4>>2]&74|0){case 64:{o=8;break}case 8:{o=16;break}case 0:{o=0;break}default:o=10}ntb(p+184|0,d,p+198|0,p+196|0);a=0;while(1){if((a|0)==3)break;k[p+172+(a<<2)>>2]=0;a=a+1|0}if(!(i[p+172>>0]&1))a=10;else a=(k[p+172>>2]&-2)+-1|0;erb(p+172|0,a,0);g=(i[p+172>>0]&1)==0?p+172+1|0:k[p+172+8>>2]|0;k[p+168>>2]=g;k[p+4>>2]=p+8;k[p>>2]=0;n=i[p+196>>0]|0;a=k[b>>2]|0;a:while(1){if(!a)a=0;else if((k[a+12>>2]|0)==(k[a+16>>2]|0))if((Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0)==-1){k[b>>2]=0;a=0}d=(a|0)==0;h=k[c>>2]|0;do if(!h)q=20;else{if((k[h+12>>2]|0)!=(k[h+16>>2]|0))if(d)break;else break a;if((Gi[k[(k[h>>2]|0)+36>>2]&2047](h)|0)==-1){k[c>>2]=0;q=20;break}else if(d)break;else break a}while(0);if((q|0)==20){q=0;if(d){h=0;break}else h=0}j=i[p+172>>0]|0;j=(j&1)==0?(j&255)>>>1:k[p+172+4>>2]|0;if((k[p+168>>2]|0)==(g+j|0)){erb(p+172|0,j<<1,0);if(!(i[p+172>>0]&1))d=10;else d=(k[p+172>>2]&-2)+-1|0;erb(p+172|0,d,0);g=(i[p+172>>0]&1)==0?p+172+1|0:k[p+172+8>>2]|0;k[p+168>>2]=g+j}j=a+12|0;d=k[j>>2]|0;m=a+16|0;if((d|0)==(k[m>>2]|0))d=Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0;else d=l[d>>0]|0;if(otb(d&255,o,g,p+168|0,p,n,p+184|0,p+8|0,p+4|0,p+198|0)|0)break;d=k[j>>2]|0;if((d|0)==(k[m>>2]|0)){Gi[k[(k[a>>2]|0)+40>>2]&2047](a)|0;continue}else{k[j>>2]=d+1;continue}}n=i[p+184>>0]|0;d=k[p+4>>2]|0;if(((n&1)==0?(n&255)>>>1:k[p+184+4>>2]|0)|0)if((d-(p+8)|0)<160){n=k[p>>2]|0;k[p+4>>2]=d+4;k[d>>2]=n;d=d+4|0}o=Atb(g,k[p+168>>2]|0,e,o)|0;k[f>>2]=o;rtb(p+184|0,p+8|0,d,e);if(!a)a=0;else if((k[a+12>>2]|0)==(k[a+16>>2]|0))if((Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0)==-1){k[b>>2]=0;a=0}a=(a|0)==0;do if(!h)q=45;else{if((k[h+12>>2]|0)==(k[h+16>>2]|0))if((Gi[k[(k[h>>2]|0)+36>>2]&2047](h)|0)==-1){k[c>>2]=0;q=45;break}if(!a)q=46}while(0);if((q|0)==45)if(a)q=46;if((q|0)==46)k[e>>2]=k[e>>2]|2;q=k[b>>2]|0;_qb(p+172|0);_qb(p+184|0);r=p;return q|0}function Atb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;h=r;r=r+16|0;do if((a|0)==(b|0)){k[c>>2]=4;a=0}else{if((i[a>>0]|0)==45){k[c>>2]=4;a=0;break}f=_lb()|0;g=k[f>>2]|0;k[f>>2]=0;a=imb(a,h,d,qtb()|0)|0;d=L;e=k[f>>2]|0;if(!e)k[f>>2]=g;do if((k[h>>2]|0)==(b|0))if(d>>>0>0|(d|0)==0&a>>>0>4294967295|(e|0)==34){k[c>>2]=4;a=-1;break}else break;else{k[c>>2]=4;a=0}while(0)}while(0);r=h;return a|0}function Btb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+16|0;k[g+4>>2]=k[b>>2];k[g>>2]=k[c>>2];k[g+8>>2]=k[g+4>>2];k[g+12>>2]=k[g>>2];a=Ctb(a,g+8|0,g+12|0,d,e,f)|0;r=g;return a|0}function Ctb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0;p=r;r=r+224|0;switch(k[d+4>>2]&74|0){case 64:{o=8;break}case 8:{o=16;break}case 0:{o=0;break}default:o=10}ntb(p+184|0,d,p+198|0,p+196|0);a=0;while(1){if((a|0)==3)break;k[p+172+(a<<2)>>2]=0;a=a+1|0}if(!(i[p+172>>0]&1))a=10;else a=(k[p+172>>2]&-2)+-1|0;erb(p+172|0,a,0);g=(i[p+172>>0]&1)==0?p+172+1|0:k[p+172+8>>2]|0;k[p+168>>2]=g;k[p+4>>2]=p+8;k[p>>2]=0;n=i[p+196>>0]|0;a=k[b>>2]|0;a:while(1){if(!a)a=0;else if((k[a+12>>2]|0)==(k[a+16>>2]|0))if((Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0)==-1){k[b>>2]=0;a=0}d=(a|0)==0;h=k[c>>2]|0;do if(!h)q=20;else{if((k[h+12>>2]|0)!=(k[h+16>>2]|0))if(d)break;else break a;if((Gi[k[(k[h>>2]|0)+36>>2]&2047](h)|0)==-1){k[c>>2]=0;q=20;break}else if(d)break;else break a}while(0);if((q|0)==20){q=0;if(d){h=0;break}else h=0}j=i[p+172>>0]|0;j=(j&1)==0?(j&255)>>>1:k[p+172+4>>2]|0;if((k[p+168>>2]|0)==(g+j|0)){erb(p+172|0,j<<1,0);if(!(i[p+172>>0]&1))d=10;else d=(k[p+172>>2]&-2)+-1|0;erb(p+172|0,d,0);g=(i[p+172>>0]&1)==0?p+172+1|0:k[p+172+8>>2]|0;k[p+168>>2]=g+j}j=a+12|0;d=k[j>>2]|0;m=a+16|0;if((d|0)==(k[m>>2]|0))d=Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0;else d=l[d>>0]|0;if(otb(d&255,o,g,p+168|0,p,n,p+184|0,p+8|0,p+4|0,p+198|0)|0)break;d=k[j>>2]|0;if((d|0)==(k[m>>2]|0)){Gi[k[(k[a>>2]|0)+40>>2]&2047](a)|0;continue}else{k[j>>2]=d+1;continue}}n=i[p+184>>0]|0;d=k[p+4>>2]|0;if(((n&1)==0?(n&255)>>>1:k[p+184+4>>2]|0)|0)if((d-(p+8)|0)<160){n=k[p>>2]|0;k[p+4>>2]=d+4;k[d>>2]=n;d=d+4|0}o=Dtb(g,k[p+168>>2]|0,e,o)|0;k[f>>2]=o;rtb(p+184|0,p+8|0,d,e);if(!a)a=0;else if((k[a+12>>2]|0)==(k[a+16>>2]|0))if((Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0)==-1){k[b>>2]=0;a=0}a=(a|0)==0;do if(!h)q=45;else{if((k[h+12>>2]|0)==(k[h+16>>2]|0))if((Gi[k[(k[h>>2]|0)+36>>2]&2047](h)|0)==-1){k[c>>2]=0;q=45;break}if(!a)q=46}while(0);if((q|0)==45)if(a)q=46;if((q|0)==46)k[e>>2]=k[e>>2]|2;q=k[b>>2]|0;_qb(p+172|0);_qb(p+184|0);r=p;return q|0}function Dtb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;h=r;r=r+16|0;do if((a|0)==(b|0)){k[c>>2]=4;a=0}else{if((i[a>>0]|0)==45){k[c>>2]=4;a=0;break}f=_lb()|0;g=k[f>>2]|0;k[f>>2]=0;a=imb(a,h,d,qtb()|0)|0;d=L;e=k[f>>2]|0;if(!e)k[f>>2]=g;do if((k[h>>2]|0)==(b|0))if(d>>>0>0|(d|0)==0&a>>>0>4294967295|(e|0)==34){k[c>>2]=4;a=-1;break}else break;else{k[c>>2]=4;a=0}while(0)}while(0);r=h;return a|0}function Etb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+16|0;k[g+4>>2]=k[b>>2];k[g>>2]=k[c>>2];k[g+8>>2]=k[g+4>>2];k[g+12>>2]=k[g>>2];a=Ftb(a,g+8|0,g+12|0,d,e,f)|0;r=g;return a|0}function Ftb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0;p=r;r=r+224|0;switch(k[d+4>>2]&74|0){case 64:{o=8;break}case 8:{o=16;break}case 0:{o=0;break}default:o=10}ntb(p+184|0,d,p+198|0,p+196|0);a=0;while(1){if((a|0)==3)break;k[p+172+(a<<2)>>2]=0;a=a+1|0}if(!(i[p+172>>0]&1))a=10;else a=(k[p+172>>2]&-2)+-1|0;erb(p+172|0,a,0);g=(i[p+172>>0]&1)==0?p+172+1|0:k[p+172+8>>2]|0;k[p+168>>2]=g;k[p+4>>2]=p+8;k[p>>2]=0;n=i[p+196>>0]|0;a=k[b>>2]|0;a:while(1){if(!a)a=0;else if((k[a+12>>2]|0)==(k[a+16>>2]|0))if((Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0)==-1){k[b>>2]=0;a=0}d=(a|0)==0;h=k[c>>2]|0;do if(!h)q=20;else{if((k[h+12>>2]|0)!=(k[h+16>>2]|0))if(d)break;else break a;if((Gi[k[(k[h>>2]|0)+36>>2]&2047](h)|0)==-1){k[c>>2]=0;q=20;break}else if(d)break;else break a}while(0);if((q|0)==20){q=0;if(d){h=0;break}else h=0}j=i[p+172>>0]|0;j=(j&1)==0?(j&255)>>>1:k[p+172+4>>2]|0;if((k[p+168>>2]|0)==(g+j|0)){erb(p+172|0,j<<1,0);if(!(i[p+172>>0]&1))d=10;else d=(k[p+172>>2]&-2)+-1|0;erb(p+172|0,d,0);g=(i[p+172>>0]&1)==0?p+172+1|0:k[p+172+8>>2]|0;k[p+168>>2]=g+j}j=a+12|0;d=k[j>>2]|0;m=a+16|0;if((d|0)==(k[m>>2]|0))d=Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0;else d=l[d>>0]|0;if(otb(d&255,o,g,p+168|0,p,n,p+184|0,p+8|0,p+4|0,p+198|0)|0)break;d=k[j>>2]|0;if((d|0)==(k[m>>2]|0)){Gi[k[(k[a>>2]|0)+40>>2]&2047](a)|0;continue}else{k[j>>2]=d+1;continue}}n=i[p+184>>0]|0;d=k[p+4>>2]|0;if(((n&1)==0?(n&255)>>>1:k[p+184+4>>2]|0)|0)if((d-(p+8)|0)<160){n=k[p>>2]|0;k[p+4>>2]=d+4;k[d>>2]=n;d=d+4|0}o=Gtb(g,k[p+168>>2]|0,e,o)|0;k[f>>2]=o;k[f+4>>2]=L;rtb(p+184|0,p+8|0,d,e);if(!a)a=0;else if((k[a+12>>2]|0)==(k[a+16>>2]|0))if((Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0)==-1){k[b>>2]=0;a=0}a=(a|0)==0;do if(!h)q=45;else{if((k[h+12>>2]|0)==(k[h+16>>2]|0))if((Gi[k[(k[h>>2]|0)+36>>2]&2047](h)|0)==-1){k[c>>2]=0;q=45;break}if(!a)q=46}while(0);if((q|0)==45)if(a)q=46;if((q|0)==46)k[e>>2]=k[e>>2]|2;q=k[b>>2]|0;_qb(p+172|0);_qb(p+184|0);r=p;return q|0}function Gtb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;h=r;r=r+16|0;do if((a|0)==(b|0)){k[c>>2]=4;d=0;a=0}else{if((i[a>>0]|0)==45){k[c>>2]=4;d=0;a=0;break}f=_lb()|0;g=k[f>>2]|0;k[f>>2]=0;a=imb(a,h,d,qtb()|0)|0;d=L;e=k[f>>2]|0;if(!e)k[f>>2]=g;if((k[h>>2]|0)==(b|0)){if((e|0)==34){k[c>>2]=4;a=-1;d=-1}}else{k[c>>2]=4;a=0;d=0}}while(0);L=d;r=h;return a|0}function Htb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+16|0;k[g+4>>2]=k[b>>2];k[g>>2]=k[c>>2];k[g+8>>2]=k[g+4>>2];k[g+12>>2]=k[g>>2];a=Itb(a,g+8|0,g+12|0,d,e,f)|0;r=g;return a|0}function Itb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,m=0,n=0,p=0,q=0,s=0,t=0.0;q=r;r=r+240|0;Jtb(q+184|0,d,q+200|0,q+199|0,q+198|0);a=0;while(1){if((a|0)==3)break;k[q+172+(a<<2)>>2]=0;a=a+1|0}if(!(i[q+172>>0]&1))a=10;else a=(k[q+172>>2]&-2)+-1|0;erb(q+172|0,a,0);g=(i[q+172>>0]&1)==0?q+172+1|0:k[q+172+8>>2]|0;k[q+168>>2]=g;k[q+4>>2]=q+8;k[q>>2]=0;i[q+197>>0]=1;i[q+196>>0]=69;n=i[q+199>>0]|0;p=i[q+198>>0]|0;a=k[b>>2]|0;a:while(1){if(!a)a=0;else if((k[a+12>>2]|0)==(k[a+16>>2]|0))if((Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0)==-1){k[b>>2]=0;a=0}d=(a|0)==0;h=k[c>>2]|0;do if(!h)s=16;else{if((k[h+12>>2]|0)!=(k[h+16>>2]|0))if(d)break;else break a;if((Gi[k[(k[h>>2]|0)+36>>2]&2047](h)|0)==-1){k[c>>2]=0;s=16;break}else if(d)break;else break a}while(0);if((s|0)==16){s=0;if(d){h=0;break}else h=0}j=i[q+172>>0]|0;j=(j&1)==0?(j&255)>>>1:k[q+172+4>>2]|0;if((k[q+168>>2]|0)==(g+j|0)){erb(q+172|0,j<<1,0);if(!(i[q+172>>0]&1))d=10;else d=(k[q+172>>2]&-2)+-1|0;erb(q+172|0,d,0);g=(i[q+172>>0]&1)==0?q+172+1|0:k[q+172+8>>2]|0;k[q+168>>2]=g+j}j=a+12|0;d=k[j>>2]|0;m=a+16|0;if((d|0)==(k[m>>2]|0))d=Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0;else d=l[d>>0]|0;if(Ktb(d&255,q+197|0,q+196|0,g,q+168|0,n,p,q+184|0,q+8|0,q+4|0,q,q+200|0)|0)break;d=k[j>>2]|0;if((d|0)==(k[m>>2]|0)){Gi[k[(k[a>>2]|0)+40>>2]&2047](a)|0;continue}else{k[j>>2]=d+1;continue}}p=i[q+184>>0]|0;d=k[q+4>>2]|0;if(!((i[q+197>>0]|0)==0?1:(((p&1)==0?(p&255)>>>1:k[q+184+4>>2]|0)|0)==0))if((d-(q+8)|0)<160){p=k[q>>2]|0;k[q+4>>2]=d+4;k[d>>2]=p;d=d+4|0}t=+Ltb(g,k[q+168>>2]|0,e);o[f>>2]=t;rtb(q+184|0,q+8|0,d,e);if(!a)a=0;else if((k[a+12>>2]|0)==(k[a+16>>2]|0))if((Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0)==-1){k[b>>2]=0;a=0}a=(a|0)==0;do if(!h)s=41;else{if((k[h+12>>2]|0)==(k[h+16>>2]|0))if((Gi[k[(k[h>>2]|0)+36>>2]&2047](h)|0)==-1){k[c>>2]=0;s=41;break}if(!a)s=42}while(0);if((s|0)==41)if(a)s=42;if((s|0)==42)k[e>>2]=k[e>>2]|2;s=k[b>>2]|0;_qb(q+172|0);_qb(q+184|0);r=q;return s|0}function Jtb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;f=r;r=r+16|0;b=Gsb(b)|0;k[f>>2]=b;g=gtb(f,1203700)|0;nj[k[(k[g>>2]|0)+32>>2]&127](g,617794,617826,c)|0;c=gtb(f,1203712)|0;g=Gi[k[(k[c>>2]|0)+12>>2]&2047](c)|0;i[d>>0]=g;d=Gi[k[(k[c>>2]|0)+16>>2]&2047](c)|0;i[e>>0]=d;Di[k[(k[c>>2]|0)+20>>2]&511](a,c);sAb(b)|0;r=f;return}function Ktb(a,b,c,d,e,f,g,h,j,m,n,o){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;m=m|0;n=n|0;o=o|0;a:do if(a<<24>>24==f<<24>>24)if(!(i[b>>0]|0))f=-1;else{i[b>>0]=0;c=k[e>>2]|0;k[e>>2]=c+1;i[c>>0]=46;e=i[h>>0]|0;if(!(((e&1)==0?(e&255)>>>1:k[h+4>>2]|0)|0))f=0;else{f=k[m>>2]|0;if((f-j|0)<160){j=k[n>>2]|0;k[m>>2]=f+4;k[f>>2]=j;f=0}else f=0}}else{if(a<<24>>24==g<<24>>24){g=i[h>>0]|0;if(((g&1)==0?(g&255)>>>1:k[h+4>>2]|0)|0){if(!(i[b>>0]|0)){f=-1;break}f=k[m>>2]|0;if((f-j|0)>=160){f=0;break}j=k[n>>2]|0;k[m>>2]=f+4;k[f>>2]=j;k[n>>2]=0;f=0;break}}f=o;while(1){if((f|0)==(o+32|0)){f=o+32|0;break}if((i[f>>0]|0)==a<<24>>24)break;f=f+1|0}g=f-o|0;if((g|0)>31)f=-1;else{a=i[617794+g>>0]|0;switch(g|0){case 24:case 25:{f=k[e>>2]|0;if((f|0)!=(d|0))if((l[f+-1>>0]&95|0)!=(l[c>>0]&127|0)){f=-1;break a}k[e>>2]=f+1;i[f>>0]=a;f=0;break a}case 23:case 22:{i[c>>0]=80;f=k[e>>2]|0;k[e>>2]=f+1;i[f>>0]=a;f=0;break a}default:{if((a&95|0)==(i[c>>0]|0)){i[c>>0]=a&95|128;if(i[b>>0]|0){i[b>>0]=0;c=i[h>>0]|0;if(((c&1)==0?(c&255)>>>1:k[h+4>>2]|0)|0){f=k[m>>2]|0;if((f-j|0)<160){j=k[n>>2]|0;k[m>>2]=f+4;k[f>>2]=j}}}}m=k[e>>2]|0;k[e>>2]=m+1;i[m>>0]=a;if((g|0)>21){f=0;break a}k[n>>2]=(k[n>>2]|0)+1;f=0;break a}}}}while(0);return f|0}function Ltb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0,f=0,g=0;g=r;r=r+16|0;if((a|0)==(b|0)){k[c>>2]=4;d=0.0}else{e=_lb()|0;f=k[e>>2]|0;k[e>>2]=0;d=+Ypb(a,g,qtb()|0);a=k[e>>2]|0;if(!a)k[e>>2]=f;if((k[g>>2]|0)==(b|0)){if((a|0)==34)k[c>>2]=4}else{k[c>>2]=4;d=0.0}}r=g;return +d}function Mtb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+16|0;k[g+4>>2]=k[b>>2];k[g>>2]=k[c>>2];k[g+8>>2]=k[g+4>>2];k[g+12>>2]=k[g>>2];a=Ntb(a,g+8|0,g+12|0,d,e,f)|0;r=g;return a|0}function Ntb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,m=0,n=0,o=0,q=0,s=0,t=0.0;q=r;r=r+240|0;Jtb(q+184|0,d,q+200|0,q+199|0,q+198|0);a=0;while(1){if((a|0)==3)break;k[q+172+(a<<2)>>2]=0;a=a+1|0}if(!(i[q+172>>0]&1))a=10;else a=(k[q+172>>2]&-2)+-1|0;erb(q+172|0,a,0);g=(i[q+172>>0]&1)==0?q+172+1|0:k[q+172+8>>2]|0;k[q+168>>2]=g;k[q+4>>2]=q+8;k[q>>2]=0;i[q+197>>0]=1;i[q+196>>0]=69;n=i[q+199>>0]|0;o=i[q+198>>0]|0;a=k[b>>2]|0;a:while(1){if(!a)a=0;else if((k[a+12>>2]|0)==(k[a+16>>2]|0))if((Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0)==-1){k[b>>2]=0;a=0}d=(a|0)==0;h=k[c>>2]|0;do if(!h)s=16;else{if((k[h+12>>2]|0)!=(k[h+16>>2]|0))if(d)break;else break a;if((Gi[k[(k[h>>2]|0)+36>>2]&2047](h)|0)==-1){k[c>>2]=0;s=16;break}else if(d)break;else break a}while(0);if((s|0)==16){s=0;if(d){h=0;break}else h=0}j=i[q+172>>0]|0;j=(j&1)==0?(j&255)>>>1:k[q+172+4>>2]|0;if((k[q+168>>2]|0)==(g+j|0)){erb(q+172|0,j<<1,0);if(!(i[q+172>>0]&1))d=10;else d=(k[q+172>>2]&-2)+-1|0;erb(q+172|0,d,0);g=(i[q+172>>0]&1)==0?q+172+1|0:k[q+172+8>>2]|0;k[q+168>>2]=g+j}j=a+12|0;d=k[j>>2]|0;m=a+16|0;if((d|0)==(k[m>>2]|0))d=Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0;else d=l[d>>0]|0;if(Ktb(d&255,q+197|0,q+196|0,g,q+168|0,n,o,q+184|0,q+8|0,q+4|0,q,q+200|0)|0)break;d=k[j>>2]|0;if((d|0)==(k[m>>2]|0)){Gi[k[(k[a>>2]|0)+40>>2]&2047](a)|0;continue}else{k[j>>2]=d+1;continue}}o=i[q+184>>0]|0;d=k[q+4>>2]|0;if(!((i[q+197>>0]|0)==0?1:(((o&1)==0?(o&255)>>>1:k[q+184+4>>2]|0)|0)==0))if((d-(q+8)|0)<160){o=k[q>>2]|0;k[q+4>>2]=d+4;k[d>>2]=o;d=d+4|0}t=+Otb(g,k[q+168>>2]|0,e);p[f>>3]=t;rtb(q+184|0,q+8|0,d,e);if(!a)a=0;else if((k[a+12>>2]|0)==(k[a+16>>2]|0))if((Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0)==-1){k[b>>2]=0;a=0}a=(a|0)==0;do if(!h)s=41;else{if((k[h+12>>2]|0)==(k[h+16>>2]|0))if((Gi[k[(k[h>>2]|0)+36>>2]&2047](h)|0)==-1){k[c>>2]=0;s=41;break}if(!a)s=42}while(0);if((s|0)==41)if(a)s=42;if((s|0)==42)k[e>>2]=k[e>>2]|2;s=k[b>>2]|0;_qb(q+172|0);_qb(q+184|0);r=q;return s|0}function Otb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0,f=0,g=0;g=r;r=r+16|0;if((a|0)==(b|0)){k[c>>2]=4;d=0.0}else{e=_lb()|0;f=k[e>>2]|0;k[e>>2]=0;d=+Ypb(a,g,qtb()|0);a=k[e>>2]|0;if(!a)k[e>>2]=f;if((k[g>>2]|0)==(b|0)){if((a|0)==34)k[c>>2]=4}else{k[c>>2]=4;d=0.0}}r=g;return +d}function Ptb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+16|0;k[g+4>>2]=k[b>>2];k[g>>2]=k[c>>2];k[g+8>>2]=k[g+4>>2];k[g+12>>2]=k[g>>2];a=Qtb(a,g+8|0,g+12|0,d,e,f)|0;r=g;return a|0}function Qtb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,m=0,n=0,o=0,q=0,s=0,t=0.0;q=r;r=r+240|0;Jtb(q+184|0,d,q+200|0,q+199|0,q+198|0);a=0;while(1){if((a|0)==3)break;k[q+172+(a<<2)>>2]=0;a=a+1|0}if(!(i[q+172>>0]&1))a=10;else a=(k[q+172>>2]&-2)+-1|0;erb(q+172|0,a,0);g=(i[q+172>>0]&1)==0?q+172+1|0:k[q+172+8>>2]|0;k[q+168>>2]=g;k[q+4>>2]=q+8;k[q>>2]=0;i[q+197>>0]=1;i[q+196>>0]=69;n=i[q+199>>0]|0;o=i[q+198>>0]|0;a=k[b>>2]|0;a:while(1){if(!a)a=0;else if((k[a+12>>2]|0)==(k[a+16>>2]|0))if((Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0)==-1){k[b>>2]=0;a=0}d=(a|0)==0;h=k[c>>2]|0;do if(!h)s=16;else{if((k[h+12>>2]|0)!=(k[h+16>>2]|0))if(d)break;else break a;if((Gi[k[(k[h>>2]|0)+36>>2]&2047](h)|0)==-1){k[c>>2]=0;s=16;break}else if(d)break;else break a}while(0);if((s|0)==16){s=0;if(d){h=0;break}else h=0}j=i[q+172>>0]|0;j=(j&1)==0?(j&255)>>>1:k[q+172+4>>2]|0;if((k[q+168>>2]|0)==(g+j|0)){erb(q+172|0,j<<1,0);if(!(i[q+172>>0]&1))d=10;else d=(k[q+172>>2]&-2)+-1|0;erb(q+172|0,d,0);g=(i[q+172>>0]&1)==0?q+172+1|0:k[q+172+8>>2]|0;k[q+168>>2]=g+j}j=a+12|0;d=k[j>>2]|0;m=a+16|0;if((d|0)==(k[m>>2]|0))d=Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0;else d=l[d>>0]|0;if(Ktb(d&255,q+197|0,q+196|0,g,q+168|0,n,o,q+184|0,q+8|0,q+4|0,q,q+200|0)|0)break;d=k[j>>2]|0;if((d|0)==(k[m>>2]|0)){Gi[k[(k[a>>2]|0)+40>>2]&2047](a)|0;continue}else{k[j>>2]=d+1;continue}}o=i[q+184>>0]|0;d=k[q+4>>2]|0;if(!((i[q+197>>0]|0)==0?1:(((o&1)==0?(o&255)>>>1:k[q+184+4>>2]|0)|0)==0))if((d-(q+8)|0)<160){o=k[q>>2]|0;k[q+4>>2]=d+4;k[d>>2]=o;d=d+4|0}t=+Rtb(g,k[q+168>>2]|0,e);p[f>>3]=t;rtb(q+184|0,q+8|0,d,e);if(!a)a=0;else if((k[a+12>>2]|0)==(k[a+16>>2]|0))if((Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0)==-1){k[b>>2]=0;a=0}a=(a|0)==0;do if(!h)s=41;else{if((k[h+12>>2]|0)==(k[h+16>>2]|0))if((Gi[k[(k[h>>2]|0)+36>>2]&2047](h)|0)==-1){k[c>>2]=0;s=41;break}if(!a)s=42}while(0);if((s|0)==41)if(a)s=42;if((s|0)==42)k[e>>2]=k[e>>2]|2;s=k[b>>2]|0;_qb(q+172|0);_qb(q+184|0);r=q;return s|0}function Rtb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0,f=0,g=0;g=r;r=r+16|0;if((a|0)==(b|0)){k[c>>2]=4;d=0.0}else{e=_lb()|0;f=k[e>>2]|0;k[e>>2]=0;d=+Ypb(a,g,qtb()|0);a=k[e>>2]|0;if(!a)k[e>>2]=f;if((k[g>>2]|0)==(b|0)){if((a|0)==34)k[c>>2]=4}else{k[c>>2]=4;d=0.0}}r=g;return +d}function Stb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,m=0,n=0,o=0;n=r;r=r+240|0;a=0;while(1){if((a|0)==3)break;k[n+196+(a<<2)>>2]=0;a=a+1|0}a=Gsb(d)|0;k[n+192>>2]=a;m=gtb(n+192|0,1203700)|0;nj[k[(k[m>>2]|0)+32>>2]&127](m,617794,617820,n+208|0)|0;sAb(a)|0;a=0;while(1){if((a|0)==3)break;k[n+180+(a<<2)>>2]=0;a=a+1|0}if(!(i[n+180>>0]&1))a=10;else a=(k[n+180>>2]&-2)+-1|0;erb(n+180|0,a,0);d=(i[n+180>>0]&1)==0?n+180+1|0:k[n+180+8>>2]|0;k[n+176>>2]=d;k[n+8>>2]=n+16;k[n+4>>2]=0;a=k[b>>2]|0;a:while(1){if(!a)a=0;else if((k[a+12>>2]|0)==(k[a+16>>2]|0))if((Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0)==-1){k[b>>2]=0;a=0}g=(a|0)==0;h=k[c>>2]|0;do if(!h)o=19;else{if((k[h+12>>2]|0)!=(k[h+16>>2]|0))if(g)break;else break a;if((Gi[k[(k[h>>2]|0)+36>>2]&2047](h)|0)==-1){k[c>>2]=0;o=19;break}else if(g)break;else break a}while(0);if((o|0)==19){o=0;if(g){h=0;break}else h=0}g=i[n+180>>0]|0;g=(g&1)==0?(g&255)>>>1:k[n+180+4>>2]|0;if((k[n+176>>2]|0)==(d+g|0)){erb(n+180|0,g<<1,0);if(!(i[n+180>>0]&1))d=10;else d=(k[n+180>>2]&-2)+-1|0;erb(n+180|0,d,0);d=(i[n+180>>0]&1)==0?n+180+1|0:k[n+180+8>>2]|0;k[n+176>>2]=d+g}j=a+12|0;g=k[j>>2]|0;m=a+16|0;if((g|0)==(k[m>>2]|0))g=Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0;else g=l[g>>0]|0;if(otb(g&255,16,d,n+176|0,n+4|0,0,n+196|0,n+16|0,n+8|0,n+208|0)|0)break;g=k[j>>2]|0;if((g|0)==(k[m>>2]|0)){Gi[k[(k[a>>2]|0)+40>>2]&2047](a)|0;continue}else{k[j>>2]=g+1;continue}}erb(n+180|0,(k[n+176>>2]|0)-d|0,0);j=(i[n+180>>0]&1)==0?n+180+1|0:k[n+180+8>>2]|0;m=qtb()|0;k[n>>2]=f;if((Ttb(j,m,617829,n)|0)!=1)k[e>>2]=4;if(!a)a=0;else if((k[a+12>>2]|0)==(k[a+16>>2]|0))if((Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0)==-1){k[b>>2]=0;a=0}a=(a|0)==0;do if(!h)o=43;else{if((k[h+12>>2]|0)==(k[h+16>>2]|0))if((Gi[k[(k[h>>2]|0)+36>>2]&2047](h)|0)==-1){k[c>>2]=0;o=43;break}if(!a)o=44}while(0);if((o|0)==43)if(a)o=44;if((o|0)==44)k[e>>2]=k[e>>2]|2;o=k[b>>2]|0;_qb(n+180|0);_qb(n+196|0);r=n;return o|0}function Ttb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+16|0;k[e>>2]=d;d=Rnb(b)|0;b=wob(a,c,e)|0;if(d|0)Rnb(d)|0;r=e;return b|0}function Utb(a){a=a|0;return}function Vtb(a){a=a|0;CAb(a);return}function Wtb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=r;r=r+64|0;if(!(k[d+4>>2]&1)){k[g+20>>2]=-1;h=k[(k[a>>2]|0)+16>>2]|0;k[g+16>>2]=k[b>>2];k[g+12>>2]=k[c>>2];k[g+24>>2]=k[g+16>>2];k[g+48>>2]=k[g+12>>2];c=Ei[h&63](a,g+24|0,g+48|0,d,e,g+20|0)|0;k[b>>2]=c;switch(k[g+20>>2]|0){case 0:{i[f>>0]=0;break}case 1:{i[f>>0]=1;break}default:{i[f>>0]=1;k[e>>2]=4}}}else{a=Gsb(d)|0;k[g+8>>2]=a;h=gtb(g+8|0,1203732)|0;sAb(a)|0;d=Gsb(d)|0;k[g+4>>2]=d;a=gtb(g+4|0,1203740)|0;sAb(d)|0;Di[k[(k[a>>2]|0)+24>>2]&511](g+24|0,a);Di[k[(k[a>>2]|0)+28>>2]&511](g+24+12|0,a);k[g>>2]=k[c>>2];k[g+48>>2]=k[g>>2];c=(Xtb(b,g+48|0,g+24|0,g+24+24|0,h,e,1)|0)==(g+24|0)&1;i[f>>0]=c;c=k[b>>2]|0;xrb(g+24+12|0);xrb(g+24|0)}r=g;return c|0}function Xtb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0;w=r;r=r+112|0;if(((d-c|0)/12|0)>>>0>100){j=hqb((d-c|0)/12|0)|0;if(!j)sBb();else{u=j;h=j}}else{u=0;h=w}n=c;j=0;l=(d-c|0)/12|0;o=h;while(1){if((n|0)==(d|0))break;m=i[n>>0]|0;if(!(m&1))m=(m&255)>>>1;else m=k[n+4>>2]|0;if(!m){i[o>>0]=2;j=j+1|0;l=l+-1|0}else i[o>>0]=1;n=n+12|0;o=o+1|0}t=0;p=j;a:while(1){j=k[a>>2]|0;do if(!j)n=1;else{m=k[j+12>>2]|0;if((m|0)==(k[j+16>>2]|0))j=Gi[k[(k[j>>2]|0)+36>>2]&2047](j)|0;else j=k[m>>2]|0;if((j|0)==-1){k[a>>2]=0;n=1;break}else{n=(k[a>>2]|0)==0;break}}while(0);m=k[b>>2]|0;if(!m){m=0;j=1}else{j=k[m+12>>2]|0;if((j|0)==(k[m+16>>2]|0))j=Gi[k[(k[m>>2]|0)+36>>2]&2047](m)|0;else j=k[j>>2]|0;if((j|0)==-1){k[b>>2]=0;m=0;j=1}else j=0}o=k[a>>2]|0;if(!((l|0)!=0&(n^j)))break;j=k[o+12>>2]|0;if((j|0)==(k[o+16>>2]|0))j=Gi[k[(k[o>>2]|0)+36>>2]&2047](o)|0;else j=k[j>>2]|0;if(!g)j=gj[k[(k[e>>2]|0)+28>>2]&511](e,j)|0;s=t+1|0;o=0;q=c;n=p;p=h;while(1){if((q|0)==(d|0))break;do if((i[p>>0]|0)==1){if(!(i[q>>0]&1))m=q+4|0;else m=k[q+8>>2]|0;m=k[m+(t<<2)>>2]|0;if(!g)m=gj[k[(k[e>>2]|0)+28>>2]&511](e,m)|0;if((j|0)!=(m|0)){i[p>>0]=0;m=o;l=l+-1|0;break}m=i[q>>0]|0;if(!(m&1))m=(m&255)>>>1;else m=k[q+4>>2]|0;if((m|0)==(s|0)){i[p>>0]=2;m=1;n=n+1|0;l=l+-1|0}else m=1}else m=o;while(0);o=m;q=q+12|0;p=p+1|0}if(!o){t=s;p=n;continue}j=k[a>>2]|0;m=k[j+12>>2]|0;if((m|0)==(k[j+16>>2]|0))Gi[k[(k[j>>2]|0)+40>>2]&2047](j)|0;else k[j+12>>2]=m+4;if((n+l|0)>>>0>1){o=c;j=n;n=h}else{t=s;p=n;continue}while(1){if((o|0)==(d|0)){t=s;p=j;continue a}if((i[n>>0]|0)==2){m=i[o>>0]|0;if(!(m&1))m=(m&255)>>>1;else m=k[o+4>>2]|0;if((m|0)!=(s|0)){i[n>>0]=0;j=j+-1|0}}o=o+12|0;n=n+1|0}}do if(!o)l=1;else{j=k[o+12>>2]|0;if((j|0)==(k[o+16>>2]|0))j=Gi[k[(k[o>>2]|0)+36>>2]&2047](o)|0;else j=k[j>>2]|0;if((j|0)==-1){k[a>>2]=0;l=1;break}else{l=(k[a>>2]|0)==0;break}}while(0);do if(!m)v=41;else{j=k[m+12>>2]|0;if((j|0)==(k[m+16>>2]|0))j=Gi[k[(k[m>>2]|0)+36>>2]&2047](m)|0;else j=k[j>>2]|0;if((j|0)==-1){k[b>>2]=0;v=41;break}else if(l)break;else{v=77;break}}while(0);if((v|0)==41)if(l)v=77;if((v|0)==77)k[f>>2]=k[f>>2]|2;while(1){if((c|0)==(d|0)){v=81;break}if((i[h>>0]|0)==2)break;c=c+12|0;h=h+1|0}if((v|0)==81){k[f>>2]=k[f>>2]|4;c=d}iqb(u);r=w;return c|0}function Ytb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+16|0;k[g+4>>2]=k[b>>2];k[g>>2]=k[c>>2];k[g+8>>2]=k[g+4>>2];k[g+12>>2]=k[g>>2];a=Ztb(a,g+8|0,g+12|0,d,e,f)|0;r=g;return a|0}function Ztb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0;o=r;r=r+304|0;switch(k[d+4>>2]&74|0){case 64:{n=8;break}case 8:{n=16;break}case 0:{n=0;break}default:n=10}_tb(o+184|0,d,o+200|0,o+196|0);a=0;while(1){if((a|0)==3)break;k[o+172+(a<<2)>>2]=0;a=a+1|0}if(!(i[o+172>>0]&1))a=10;else a=(k[o+172>>2]&-2)+-1|0;erb(o+172|0,a,0);d=(i[o+172>>0]&1)==0?o+172+1|0:k[o+172+8>>2]|0;k[o+168>>2]=d;k[o+4>>2]=o+8;k[o>>2]=0;m=k[o+196>>2]|0;g=k[b>>2]|0;a:while(1){if(!g){g=0;h=1}else{a=k[g+12>>2]|0;if((a|0)==(k[g+16>>2]|0))a=Gi[k[(k[g>>2]|0)+36>>2]&2047](g)|0;else a=k[a>>2]|0;if((a|0)==-1){k[b>>2]=0;g=0;h=1}else h=0}j=k[c>>2]|0;do if(!j)p=23;else{a=k[j+12>>2]|0;if((a|0)==(k[j+16>>2]|0))a=Gi[k[(k[j>>2]|0)+36>>2]&2047](j)|0;else a=k[a>>2]|0;if((a|0)==-1){k[c>>2]=0;p=23;break}else if(h)break;else break a}while(0);if((p|0)==23){p=0;if(h){j=0;break}else j=0}h=i[o+172>>0]|0;h=(h&1)==0?(h&255)>>>1:k[o+172+4>>2]|0;if((k[o+168>>2]|0)==(d+h|0)){erb(o+172|0,h<<1,0);if(!(i[o+172>>0]&1))a=10;else a=(k[o+172>>2]&-2)+-1|0;erb(o+172|0,a,0);d=(i[o+172>>0]&1)==0?o+172+1|0:k[o+172+8>>2]|0;k[o+168>>2]=d+h}h=g+12|0;a=k[h>>2]|0;l=g+16|0;if((a|0)==(k[l>>2]|0))a=Gi[k[(k[g>>2]|0)+36>>2]&2047](g)|0;else a=k[a>>2]|0;if($tb(a,n,d,o+168|0,o,m,o+184|0,o+8|0,o+4|0,o+200|0)|0)break;a=k[h>>2]|0;if((a|0)==(k[l>>2]|0)){Gi[k[(k[g>>2]|0)+40>>2]&2047](g)|0;continue}else{k[h>>2]=a+4;continue}}m=i[o+184>>0]|0;a=k[o+4>>2]|0;if(((m&1)==0?(m&255)>>>1:k[o+184+4>>2]|0)|0)if((a-(o+8)|0)<160){m=k[o>>2]|0;k[o+4>>2]=a+4;k[a>>2]=m;a=a+4|0}n=ptb(d,k[o+168>>2]|0,e,n)|0;k[f>>2]=n;rtb(o+184|0,o+8|0,a,e);if(!g)d=1;else{a=k[g+12>>2]|0;if((a|0)==(k[g+16>>2]|0))a=Gi[k[(k[g>>2]|0)+36>>2]&2047](g)|0;else a=k[a>>2]|0;if((a|0)==-1){k[b>>2]=0;d=1}else d=0}do if(!j)p=51;else{a=k[j+12>>2]|0;if((a|0)==(k[j+16>>2]|0))a=Gi[k[(k[j>>2]|0)+36>>2]&2047](j)|0;else a=k[a>>2]|0;if((a|0)==-1){k[c>>2]=0;p=51;break}else if(d)break;else{p=53;break}}while(0);if((p|0)==51)if(d)p=53;if((p|0)==53)k[e>>2]=k[e>>2]|2;p=k[b>>2]|0;_qb(o+172|0);_qb(o+184|0);r=o;return p|0}function _tb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=r;r=r+16|0;b=Gsb(b)|0;k[e>>2]=b;f=gtb(e,1203732)|0;nj[k[(k[f>>2]|0)+48>>2]&127](f,617794,617820,c)|0;c=gtb(e,1203740)|0;f=Gi[k[(k[c>>2]|0)+16>>2]&2047](c)|0;k[d>>2]=f;Di[k[(k[c>>2]|0)+20>>2]&511](a,c);sAb(b)|0;r=e;return}function $tb(a,b,c,d,e,f,g,h,j,l){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;l=l|0;var m=0,n=0,o=0;o=k[d>>2]|0;do if((o|0)==(c|0)){m=(k[l+96>>2]|0)==(a|0);if(!m)if((k[l+100>>2]|0)!=(a|0)){n=5;break}k[d>>2]=c+1;i[c>>0]=m?43:45;k[e>>2]=0;m=0}else n=5;while(0);a:do if((n|0)==5){n=i[g>>0]|0;if((a|0)==(f|0)?(((n&1)==0?(n&255)>>>1:k[g+4>>2]|0)|0)!=0:0){m=k[j>>2]|0;if((m-h|0)>=160){m=0;break}b=k[e>>2]|0;k[j>>2]=m+4;k[m>>2]=b;k[e>>2]=0;m=0;break}m=l;while(1){if((m|0)==(l+104|0)){m=l+104|0;break}if((k[m>>2]|0)==(a|0))break;m=m+4|0}m=m-l|0;if((m|0)>92)m=-1;else{switch(b|0){case 10:case 8:{if((m>>2|0)>=(b|0)){m=-1;break a}break}case 16:{if((m|0)>=88){if((o|0)==(c|0)){m=-1;break a}if((o-c|0)>=3){m=-1;break a}if((i[o+-1>>0]|0)!=48){m=-1;break a}k[e>>2]=0;m=i[617794+(m>>2)>>0]|0;k[d>>2]=o+1;i[o>>0]=m;m=0;break a}break}default:{}}m=i[617794+(m>>2)>>0]|0;k[d>>2]=o+1;i[o>>0]=m;k[e>>2]=(k[e>>2]|0)+1;m=0}}while(0);return m|0}function aub(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+16|0;k[g+4>>2]=k[b>>2];k[g>>2]=k[c>>2];k[g+8>>2]=k[g+4>>2];k[g+12>>2]=k[g>>2];a=bub(a,g+8|0,g+12|0,d,e,f)|0;r=g;return a|0}function bub(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0;o=r;r=r+304|0;switch(k[d+4>>2]&74|0){case 64:{n=8;break}case 8:{n=16;break}case 0:{n=0;break}default:n=10}_tb(o+184|0,d,o+200|0,o+196|0);a=0;while(1){if((a|0)==3)break;k[o+172+(a<<2)>>2]=0;a=a+1|0}if(!(i[o+172>>0]&1))a=10;else a=(k[o+172>>2]&-2)+-1|0;erb(o+172|0,a,0);d=(i[o+172>>0]&1)==0?o+172+1|0:k[o+172+8>>2]|0;k[o+168>>2]=d;k[o+4>>2]=o+8;k[o>>2]=0;m=k[o+196>>2]|0;g=k[b>>2]|0;a:while(1){if(!g){g=0;h=1}else{a=k[g+12>>2]|0;if((a|0)==(k[g+16>>2]|0))a=Gi[k[(k[g>>2]|0)+36>>2]&2047](g)|0;else a=k[a>>2]|0;if((a|0)==-1){k[b>>2]=0;g=0;h=1}else h=0}j=k[c>>2]|0;do if(!j)p=23;else{a=k[j+12>>2]|0;if((a|0)==(k[j+16>>2]|0))a=Gi[k[(k[j>>2]|0)+36>>2]&2047](j)|0;else a=k[a>>2]|0;if((a|0)==-1){k[c>>2]=0;p=23;break}else if(h)break;else break a}while(0);if((p|0)==23){p=0;if(h){j=0;break}else j=0}h=i[o+172>>0]|0;h=(h&1)==0?(h&255)>>>1:k[o+172+4>>2]|0;if((k[o+168>>2]|0)==(d+h|0)){erb(o+172|0,h<<1,0);if(!(i[o+172>>0]&1))a=10;else a=(k[o+172>>2]&-2)+-1|0;erb(o+172|0,a,0);d=(i[o+172>>0]&1)==0?o+172+1|0:k[o+172+8>>2]|0;k[o+168>>2]=d+h}h=g+12|0;a=k[h>>2]|0;l=g+16|0;if((a|0)==(k[l>>2]|0))a=Gi[k[(k[g>>2]|0)+36>>2]&2047](g)|0;else a=k[a>>2]|0;if($tb(a,n,d,o+168|0,o,m,o+184|0,o+8|0,o+4|0,o+200|0)|0)break;a=k[h>>2]|0;if((a|0)==(k[l>>2]|0)){Gi[k[(k[g>>2]|0)+40>>2]&2047](g)|0;continue}else{k[h>>2]=a+4;continue}}m=i[o+184>>0]|0;a=k[o+4>>2]|0;if(((m&1)==0?(m&255)>>>1:k[o+184+4>>2]|0)|0)if((a-(o+8)|0)<160){m=k[o>>2]|0;k[o+4>>2]=a+4;k[a>>2]=m;a=a+4|0}n=utb(d,k[o+168>>2]|0,e,n)|0;k[f>>2]=n;k[f+4>>2]=L;rtb(o+184|0,o+8|0,a,e);if(!g)d=1;else{a=k[g+12>>2]|0;if((a|0)==(k[g+16>>2]|0))a=Gi[k[(k[g>>2]|0)+36>>2]&2047](g)|0;else a=k[a>>2]|0;if((a|0)==-1){k[b>>2]=0;d=1}else d=0}do if(!j)p=51;else{a=k[j+12>>2]|0;if((a|0)==(k[j+16>>2]|0))a=Gi[k[(k[j>>2]|0)+36>>2]&2047](j)|0;else a=k[a>>2]|0;if((a|0)==-1){k[c>>2]=0;p=51;break}else if(d)break;else{p=53;break}}while(0);if((p|0)==51)if(d)p=53;if((p|0)==53)k[e>>2]=k[e>>2]|2;p=k[b>>2]|0;_qb(o+172|0);_qb(o+184|0);r=o;return p|0}function cub(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+16|0;k[g+4>>2]=k[b>>2];k[g>>2]=k[c>>2];k[g+8>>2]=k[g+4>>2];k[g+12>>2]=k[g>>2];a=dub(a,g+8|0,g+12|0,d,e,f)|0;r=g;return a|0}function dub(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,l=0,m=0,n=0,o=0,p=0,q=0;p=r;r=r+304|0;switch(k[d+4>>2]&74|0){case 64:{o=8;break}case 8:{o=16;break}case 0:{o=0;break}default:o=10}_tb(p+184|0,d,p+200|0,p+196|0);a=0;while(1){if((a|0)==3)break;k[p+172+(a<<2)>>2]=0;a=a+1|0}if(!(i[p+172>>0]&1))a=10;else a=(k[p+172>>2]&-2)+-1|0;erb(p+172|0,a,0);d=(i[p+172>>0]&1)==0?p+172+1|0:k[p+172+8>>2]|0;k[p+168>>2]=d;k[p+4>>2]=p+8;k[p>>2]=0;n=k[p+196>>2]|0;g=k[b>>2]|0;a:while(1){if(!g){g=0;h=1}else{a=k[g+12>>2]|0;if((a|0)==(k[g+16>>2]|0))a=Gi[k[(k[g>>2]|0)+36>>2]&2047](g)|0;else a=k[a>>2]|0;if((a|0)==-1){k[b>>2]=0;g=0;h=1}else h=0}l=k[c>>2]|0;do if(!l)q=23;else{a=k[l+12>>2]|0;if((a|0)==(k[l+16>>2]|0))a=Gi[k[(k[l>>2]|0)+36>>2]&2047](l)|0;else a=k[a>>2]|0;if((a|0)==-1){k[c>>2]=0;q=23;break}else if(h)break;else break a}while(0);if((q|0)==23){q=0;if(h){l=0;break}else l=0}h=i[p+172>>0]|0;h=(h&1)==0?(h&255)>>>1:k[p+172+4>>2]|0;if((k[p+168>>2]|0)==(d+h|0)){erb(p+172|0,h<<1,0);if(!(i[p+172>>0]&1))a=10;else a=(k[p+172>>2]&-2)+-1|0;erb(p+172|0,a,0);d=(i[p+172>>0]&1)==0?p+172+1|0:k[p+172+8>>2]|0;k[p+168>>2]=d+h}h=g+12|0;a=k[h>>2]|0;m=g+16|0;if((a|0)==(k[m>>2]|0))a=Gi[k[(k[g>>2]|0)+36>>2]&2047](g)|0;else a=k[a>>2]|0;if($tb(a,o,d,p+168|0,p,n,p+184|0,p+8|0,p+4|0,p+200|0)|0)break;a=k[h>>2]|0;if((a|0)==(k[m>>2]|0)){Gi[k[(k[g>>2]|0)+40>>2]&2047](g)|0;continue}else{k[h>>2]=a+4;continue}}n=i[p+184>>0]|0;a=k[p+4>>2]|0;if(((n&1)==0?(n&255)>>>1:k[p+184+4>>2]|0)|0)if((a-(p+8)|0)<160){n=k[p>>2]|0;k[p+4>>2]=a+4;k[a>>2]=n;a=a+4|0}o=xtb(d,k[p+168>>2]|0,e,o)|0;j[f>>1]=o;rtb(p+184|0,p+8|0,a,e);if(!g)d=1;else{a=k[g+12>>2]|0;if((a|0)==(k[g+16>>2]|0))a=Gi[k[(k[g>>2]|0)+36>>2]&2047](g)|0;else a=k[a>>2]|0;if((a|0)==-1){k[b>>2]=0;d=1}else d=0}do if(!l)q=51;else{a=k[l+12>>2]|0;if((a|0)==(k[l+16>>2]|0))a=Gi[k[(k[l>>2]|0)+36>>2]&2047](l)|0;else a=k[a>>2]|0;if((a|0)==-1){k[c>>2]=0;q=51;break}else if(d)break;else{q=53;break}}while(0);if((q|0)==51)if(d)q=53;if((q|0)==53)k[e>>2]=k[e>>2]|2;q=k[b>>2]|0;_qb(p+172|0);_qb(p+184|0);r=p;return q|0}function eub(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+16|0;k[g+4>>2]=k[b>>2];k[g>>2]=k[c>>2];k[g+8>>2]=k[g+4>>2];k[g+12>>2]=k[g>>2];a=fub(a,g+8|0,g+12|0,d,e,f)|0;r=g;return a|0}function fub(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0;o=r;r=r+304|0;switch(k[d+4>>2]&74|0){case 64:{n=8;break}case 8:{n=16;break}case 0:{n=0;break}default:n=10}_tb(o+184|0,d,o+200|0,o+196|0);a=0;while(1){if((a|0)==3)break;k[o+172+(a<<2)>>2]=0;a=a+1|0}if(!(i[o+172>>0]&1))a=10;else a=(k[o+172>>2]&-2)+-1|0;erb(o+172|0,a,0);d=(i[o+172>>0]&1)==0?o+172+1|0:k[o+172+8>>2]|0;k[o+168>>2]=d;k[o+4>>2]=o+8;k[o>>2]=0;m=k[o+196>>2]|0;g=k[b>>2]|0;a:while(1){if(!g){g=0;h=1}else{a=k[g+12>>2]|0;if((a|0)==(k[g+16>>2]|0))a=Gi[k[(k[g>>2]|0)+36>>2]&2047](g)|0;else a=k[a>>2]|0;if((a|0)==-1){k[b>>2]=0;g=0;h=1}else h=0}j=k[c>>2]|0;do if(!j)p=23;else{a=k[j+12>>2]|0;if((a|0)==(k[j+16>>2]|0))a=Gi[k[(k[j>>2]|0)+36>>2]&2047](j)|0;else a=k[a>>2]|0;if((a|0)==-1){k[c>>2]=0;p=23;break}else if(h)break;else break a}while(0);if((p|0)==23){p=0;if(h){j=0;break}else j=0}h=i[o+172>>0]|0;h=(h&1)==0?(h&255)>>>1:k[o+172+4>>2]|0;if((k[o+168>>2]|0)==(d+h|0)){erb(o+172|0,h<<1,0);if(!(i[o+172>>0]&1))a=10;else a=(k[o+172>>2]&-2)+-1|0;erb(o+172|0,a,0);d=(i[o+172>>0]&1)==0?o+172+1|0:k[o+172+8>>2]|0;k[o+168>>2]=d+h}h=g+12|0;a=k[h>>2]|0;l=g+16|0;if((a|0)==(k[l>>2]|0))a=Gi[k[(k[g>>2]|0)+36>>2]&2047](g)|0;else a=k[a>>2]|0;if($tb(a,n,d,o+168|0,o,m,o+184|0,o+8|0,o+4|0,o+200|0)|0)break;a=k[h>>2]|0;if((a|0)==(k[l>>2]|0)){Gi[k[(k[g>>2]|0)+40>>2]&2047](g)|0;continue}else{k[h>>2]=a+4;continue}}m=i[o+184>>0]|0;a=k[o+4>>2]|0;if(((m&1)==0?(m&255)>>>1:k[o+184+4>>2]|0)|0)if((a-(o+8)|0)<160){m=k[o>>2]|0;k[o+4>>2]=a+4;k[a>>2]=m;a=a+4|0}n=Atb(d,k[o+168>>2]|0,e,n)|0;k[f>>2]=n;rtb(o+184|0,o+8|0,a,e);if(!g)d=1;else{a=k[g+12>>2]|0;if((a|0)==(k[g+16>>2]|0))a=Gi[k[(k[g>>2]|0)+36>>2]&2047](g)|0;else a=k[a>>2]|0;if((a|0)==-1){k[b>>2]=0;d=1}else d=0}do if(!j)p=51;else{a=k[j+12>>2]|0;if((a|0)==(k[j+16>>2]|0))a=Gi[k[(k[j>>2]|0)+36>>2]&2047](j)|0;else a=k[a>>2]|0;if((a|0)==-1){k[c>>2]=0;p=51;break}else if(d)break;else{p=53;break}}while(0);if((p|0)==51)if(d)p=53;if((p|0)==53)k[e>>2]=k[e>>2]|2;p=k[b>>2]|0;_qb(o+172|0);_qb(o+184|0);r=o;return p|0}function gub(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+16|0;k[g+4>>2]=k[b>>2];k[g>>2]=k[c>>2];k[g+8>>2]=k[g+4>>2];k[g+12>>2]=k[g>>2];a=hub(a,g+8|0,g+12|0,d,e,f)|0;r=g;return a|0}function hub(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0;o=r;r=r+304|0;switch(k[d+4>>2]&74|0){case 64:{n=8;break}case 8:{n=16;break}case 0:{n=0;break}default:n=10}_tb(o+184|0,d,o+200|0,o+196|0);a=0;while(1){if((a|0)==3)break;k[o+172+(a<<2)>>2]=0;a=a+1|0}if(!(i[o+172>>0]&1))a=10;else a=(k[o+172>>2]&-2)+-1|0;erb(o+172|0,a,0);d=(i[o+172>>0]&1)==0?o+172+1|0:k[o+172+8>>2]|0;k[o+168>>2]=d;k[o+4>>2]=o+8;k[o>>2]=0;m=k[o+196>>2]|0;g=k[b>>2]|0;a:while(1){if(!g){g=0;h=1}else{a=k[g+12>>2]|0;if((a|0)==(k[g+16>>2]|0))a=Gi[k[(k[g>>2]|0)+36>>2]&2047](g)|0;else a=k[a>>2]|0;if((a|0)==-1){k[b>>2]=0;g=0;h=1}else h=0}j=k[c>>2]|0;do if(!j)p=23;else{a=k[j+12>>2]|0;if((a|0)==(k[j+16>>2]|0))a=Gi[k[(k[j>>2]|0)+36>>2]&2047](j)|0;else a=k[a>>2]|0;if((a|0)==-1){k[c>>2]=0;p=23;break}else if(h)break;else break a}while(0);if((p|0)==23){p=0;if(h){j=0;break}else j=0}h=i[o+172>>0]|0;h=(h&1)==0?(h&255)>>>1:k[o+172+4>>2]|0;if((k[o+168>>2]|0)==(d+h|0)){erb(o+172|0,h<<1,0);if(!(i[o+172>>0]&1))a=10;else a=(k[o+172>>2]&-2)+-1|0;erb(o+172|0,a,0);d=(i[o+172>>0]&1)==0?o+172+1|0:k[o+172+8>>2]|0;k[o+168>>2]=d+h}h=g+12|0;a=k[h>>2]|0;l=g+16|0;if((a|0)==(k[l>>2]|0))a=Gi[k[(k[g>>2]|0)+36>>2]&2047](g)|0;else a=k[a>>2]|0;if($tb(a,n,d,o+168|0,o,m,o+184|0,o+8|0,o+4|0,o+200|0)|0)break;a=k[h>>2]|0;if((a|0)==(k[l>>2]|0)){Gi[k[(k[g>>2]|0)+40>>2]&2047](g)|0;continue}else{k[h>>2]=a+4;continue}}m=i[o+184>>0]|0;a=k[o+4>>2]|0;if(((m&1)==0?(m&255)>>>1:k[o+184+4>>2]|0)|0)if((a-(o+8)|0)<160){m=k[o>>2]|0;k[o+4>>2]=a+4;k[a>>2]=m;a=a+4|0}n=Dtb(d,k[o+168>>2]|0,e,n)|0;k[f>>2]=n;rtb(o+184|0,o+8|0,a,e);if(!g)d=1;else{a=k[g+12>>2]|0;if((a|0)==(k[g+16>>2]|0))a=Gi[k[(k[g>>2]|0)+36>>2]&2047](g)|0;else a=k[a>>2]|0;if((a|0)==-1){k[b>>2]=0;d=1}else d=0}do if(!j)p=51;else{a=k[j+12>>2]|0;if((a|0)==(k[j+16>>2]|0))a=Gi[k[(k[j>>2]|0)+36>>2]&2047](j)|0;else a=k[a>>2]|0;if((a|0)==-1){k[c>>2]=0;p=51;break}else if(d)break;else{p=53;break}}while(0);if((p|0)==51)if(d)p=53;if((p|0)==53)k[e>>2]=k[e>>2]|2;p=k[b>>2]|0;_qb(o+172|0);_qb(o+184|0);r=o;return p|0}function iub(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+16|0;k[g+4>>2]=k[b>>2];k[g>>2]=k[c>>2];k[g+8>>2]=k[g+4>>2];k[g+12>>2]=k[g>>2];a=jub(a,g+8|0,g+12|0,d,e,f)|0;r=g;return a|0}function jub(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0;o=r;r=r+304|0;switch(k[d+4>>2]&74|0){case 64:{n=8;break}case 8:{n=16;break}case 0:{n=0;break}default:n=10}_tb(o+184|0,d,o+200|0,o+196|0);a=0;while(1){if((a|0)==3)break;k[o+172+(a<<2)>>2]=0;a=a+1|0}if(!(i[o+172>>0]&1))a=10;else a=(k[o+172>>2]&-2)+-1|0;erb(o+172|0,a,0);d=(i[o+172>>0]&1)==0?o+172+1|0:k[o+172+8>>2]|0;k[o+168>>2]=d;k[o+4>>2]=o+8;k[o>>2]=0;m=k[o+196>>2]|0;g=k[b>>2]|0;a:while(1){if(!g){g=0;h=1}else{a=k[g+12>>2]|0;if((a|0)==(k[g+16>>2]|0))a=Gi[k[(k[g>>2]|0)+36>>2]&2047](g)|0;else a=k[a>>2]|0;if((a|0)==-1){k[b>>2]=0;g=0;h=1}else h=0}j=k[c>>2]|0;do if(!j)p=23;else{a=k[j+12>>2]|0;if((a|0)==(k[j+16>>2]|0))a=Gi[k[(k[j>>2]|0)+36>>2]&2047](j)|0;else a=k[a>>2]|0;if((a|0)==-1){k[c>>2]=0;p=23;break}else if(h)break;else break a}while(0);if((p|0)==23){p=0;if(h){j=0;break}else j=0}h=i[o+172>>0]|0;h=(h&1)==0?(h&255)>>>1:k[o+172+4>>2]|0;if((k[o+168>>2]|0)==(d+h|0)){erb(o+172|0,h<<1,0);if(!(i[o+172>>0]&1))a=10;else a=(k[o+172>>2]&-2)+-1|0;erb(o+172|0,a,0);d=(i[o+172>>0]&1)==0?o+172+1|0:k[o+172+8>>2]|0;k[o+168>>2]=d+h}h=g+12|0;a=k[h>>2]|0;l=g+16|0;if((a|0)==(k[l>>2]|0))a=Gi[k[(k[g>>2]|0)+36>>2]&2047](g)|0;else a=k[a>>2]|0;if($tb(a,n,d,o+168|0,o,m,o+184|0,o+8|0,o+4|0,o+200|0)|0)break;a=k[h>>2]|0;if((a|0)==(k[l>>2]|0)){Gi[k[(k[g>>2]|0)+40>>2]&2047](g)|0;continue}else{k[h>>2]=a+4;continue}}m=i[o+184>>0]|0;a=k[o+4>>2]|0;if(((m&1)==0?(m&255)>>>1:k[o+184+4>>2]|0)|0)if((a-(o+8)|0)<160){m=k[o>>2]|0;k[o+4>>2]=a+4;k[a>>2]=m;a=a+4|0}n=Gtb(d,k[o+168>>2]|0,e,n)|0;k[f>>2]=n;k[f+4>>2]=L;rtb(o+184|0,o+8|0,a,e);if(!g)d=1;else{a=k[g+12>>2]|0;if((a|0)==(k[g+16>>2]|0))a=Gi[k[(k[g>>2]|0)+36>>2]&2047](g)|0;else a=k[a>>2]|0;if((a|0)==-1){k[b>>2]=0;d=1}else d=0}do if(!j)p=51;else{a=k[j+12>>2]|0;if((a|0)==(k[j+16>>2]|0))a=Gi[k[(k[j>>2]|0)+36>>2]&2047](j)|0;else a=k[a>>2]|0;if((a|0)==-1){k[c>>2]=0;p=51;break}else if(d)break;else{p=53;break}}while(0);if((p|0)==51)if(d)p=53;if((p|0)==53)k[e>>2]=k[e>>2]|2;p=k[b>>2]|0;_qb(o+172|0);_qb(o+184|0);r=o;return p|0}function kub(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+16|0;k[g+4>>2]=k[b>>2];k[g>>2]=k[c>>2];k[g+8>>2]=k[g+4>>2];k[g+12>>2]=k[g>>2];a=lub(a,g+8|0,g+12|0,d,e,f)|0;r=g;return a|0}function lub(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,l=0,m=0,n=0,p=0,q=0,s=0.0;p=r;r=r+352|0;mub(p+184|0,d,p+208|0,p+200|0,p+196|0);a=0;while(1){if((a|0)==3)break;k[p+172+(a<<2)>>2]=0;a=a+1|0}if(!(i[p+172>>0]&1))a=10;else a=(k[p+172>>2]&-2)+-1|0;erb(p+172|0,a,0);d=(i[p+172>>0]&1)==0?p+172+1|0:k[p+172+8>>2]|0;k[p+168>>2]=d;k[p+4>>2]=p+8;k[p>>2]=0;i[p+337>>0]=1;i[p+336>>0]=69;m=k[p+200>>2]|0;n=k[p+196>>2]|0;g=k[b>>2]|0;a:while(1){if(!g){g=0;h=1}else{a=k[g+12>>2]|0;if((a|0)==(k[g+16>>2]|0))a=Gi[k[(k[g>>2]|0)+36>>2]&2047](g)|0;else a=k[a>>2]|0;if((a|0)==-1){k[b>>2]=0;g=0;h=1}else h=0}j=k[c>>2]|0;do if(!j)q=19;else{a=k[j+12>>2]|0;if((a|0)==(k[j+16>>2]|0))a=Gi[k[(k[j>>2]|0)+36>>2]&2047](j)|0;else a=k[a>>2]|0;if((a|0)==-1){k[c>>2]=0;q=19;break}else if(h)break;else break a}while(0);if((q|0)==19){q=0;if(h){j=0;break}else j=0}h=i[p+172>>0]|0;h=(h&1)==0?(h&255)>>>1:k[p+172+4>>2]|0;if((k[p+168>>2]|0)==(d+h|0)){erb(p+172|0,h<<1,0);if(!(i[p+172>>0]&1))a=10;else a=(k[p+172>>2]&-2)+-1|0;erb(p+172|0,a,0);d=(i[p+172>>0]&1)==0?p+172+1|0:k[p+172+8>>2]|0;k[p+168>>2]=d+h}h=g+12|0;a=k[h>>2]|0;l=g+16|0;if((a|0)==(k[l>>2]|0))a=Gi[k[(k[g>>2]|0)+36>>2]&2047](g)|0;else a=k[a>>2]|0;if(nub(a,p+337|0,p+336|0,d,p+168|0,m,n,p+184|0,p+8|0,p+4|0,p,p+208|0)|0)break;a=k[h>>2]|0;if((a|0)==(k[l>>2]|0)){Gi[k[(k[g>>2]|0)+40>>2]&2047](g)|0;continue}else{k[h>>2]=a+4;continue}}n=i[p+184>>0]|0;a=k[p+4>>2]|0;if(!((i[p+337>>0]|0)==0?1:(((n&1)==0?(n&255)>>>1:k[p+184+4>>2]|0)|0)==0))if((a-(p+8)|0)<160){n=k[p>>2]|0;k[p+4>>2]=a+4;k[a>>2]=n;a=a+4|0}s=+Ltb(d,k[p+168>>2]|0,e);o[f>>2]=s;rtb(p+184|0,p+8|0,a,e);if(!g)d=1;else{a=k[g+12>>2]|0;if((a|0)==(k[g+16>>2]|0))a=Gi[k[(k[g>>2]|0)+36>>2]&2047](g)|0;else a=k[a>>2]|0;if((a|0)==-1){k[b>>2]=0;d=1}else d=0}do if(!j)q=47;else{a=k[j+12>>2]|0;if((a|0)==(k[j+16>>2]|0))a=Gi[k[(k[j>>2]|0)+36>>2]&2047](j)|0;else a=k[a>>2]|0;if((a|0)==-1){k[c>>2]=0;q=47;break}else if(d)break;else{q=49;break}}while(0);if((q|0)==47)if(d)q=49;if((q|0)==49)k[e>>2]=k[e>>2]|2;q=k[b>>2]|0;_qb(p+172|0);_qb(p+184|0);r=p;return q|0}function mub(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;f=r;r=r+16|0;b=Gsb(b)|0;k[f>>2]=b;g=gtb(f,1203732)|0;nj[k[(k[g>>2]|0)+48>>2]&127](g,617794,617826,c)|0;c=gtb(f,1203740)|0;g=Gi[k[(k[c>>2]|0)+12>>2]&2047](c)|0;k[d>>2]=g;d=Gi[k[(k[c>>2]|0)+16>>2]&2047](c)|0;k[e>>2]=d;Di[k[(k[c>>2]|0)+20>>2]&511](a,c);sAb(b)|0;r=f;return}function nub(a,b,c,d,e,f,g,h,j,m,n,o){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;m=m|0;n=n|0;o=o|0;a:do if((a|0)==(f|0))if(!(i[b>>0]|0))f=-1;else{i[b>>0]=0;c=k[e>>2]|0;k[e>>2]=c+1;i[c>>0]=46;e=i[h>>0]|0;if(!(((e&1)==0?(e&255)>>>1:k[h+4>>2]|0)|0))f=0;else{f=k[m>>2]|0;if((f-j|0)<160){j=k[n>>2]|0;k[m>>2]=f+4;k[f>>2]=j;f=0}else f=0}}else{if((a|0)==(g|0)){g=i[h>>0]|0;if(((g&1)==0?(g&255)>>>1:k[h+4>>2]|0)|0){if(!(i[b>>0]|0)){f=-1;break}f=k[m>>2]|0;if((f-j|0)>=160){f=0;break}j=k[n>>2]|0;k[m>>2]=f+4;k[f>>2]=j;k[n>>2]=0;f=0;break}}f=o;while(1){if((f|0)==(o+128|0)){f=o+128|0;break}if((k[f>>2]|0)==(a|0))break;f=f+4|0}g=f-o|0;if((g|0)>124)f=-1;else{a=i[617794+(g>>2)>>0]|0;switch(g>>2|0){case 24:case 25:{f=k[e>>2]|0;if((f|0)!=(d|0))if((l[f+-1>>0]&95|0)!=(l[c>>0]&127|0)){f=-1;break a}k[e>>2]=f+1;i[f>>0]=a;f=0;break a}case 23:case 22:{i[c>>0]=80;break}default:if((a&95|0)==(i[c>>0]|0)){i[c>>0]=a&95|128;if(i[b>>0]|0){i[b>>0]=0;c=i[h>>0]|0;if(((c&1)==0?(c&255)>>>1:k[h+4>>2]|0)|0){f=k[m>>2]|0;if((f-j|0)<160){j=k[n>>2]|0;k[m>>2]=f+4;k[f>>2]=j}}}}}m=k[e>>2]|0;k[e>>2]=m+1;i[m>>0]=a;if((g|0)>84)f=0;else{k[n>>2]=(k[n>>2]|0)+1;f=0}}}while(0);return f|0}function oub(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+16|0;k[g+4>>2]=k[b>>2];k[g>>2]=k[c>>2];k[g+8>>2]=k[g+4>>2];k[g+12>>2]=k[g>>2];a=pub(a,g+8|0,g+12|0,d,e,f)|0;r=g;return a|0}function pub(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,l=0,m=0,n=0,o=0,q=0,s=0.0;o=r;r=r+352|0;mub(o+184|0,d,o+208|0,o+200|0,o+196|0);a=0;while(1){if((a|0)==3)break;k[o+172+(a<<2)>>2]=0;a=a+1|0}if(!(i[o+172>>0]&1))a=10;else a=(k[o+172>>2]&-2)+-1|0;erb(o+172|0,a,0);d=(i[o+172>>0]&1)==0?o+172+1|0:k[o+172+8>>2]|0;k[o+168>>2]=d;k[o+4>>2]=o+8;k[o>>2]=0;i[o+337>>0]=1;i[o+336>>0]=69;m=k[o+200>>2]|0;n=k[o+196>>2]|0;g=k[b>>2]|0;a:while(1){if(!g){g=0;h=1}else{a=k[g+12>>2]|0;if((a|0)==(k[g+16>>2]|0))a=Gi[k[(k[g>>2]|0)+36>>2]&2047](g)|0;else a=k[a>>2]|0;if((a|0)==-1){k[b>>2]=0;g=0;h=1}else h=0}j=k[c>>2]|0;do if(!j)q=19;else{a=k[j+12>>2]|0;if((a|0)==(k[j+16>>2]|0))a=Gi[k[(k[j>>2]|0)+36>>2]&2047](j)|0;else a=k[a>>2]|0;if((a|0)==-1){k[c>>2]=0;q=19;break}else if(h)break;else break a}while(0);if((q|0)==19){q=0;if(h){j=0;break}else j=0}h=i[o+172>>0]|0;h=(h&1)==0?(h&255)>>>1:k[o+172+4>>2]|0;if((k[o+168>>2]|0)==(d+h|0)){erb(o+172|0,h<<1,0);if(!(i[o+172>>0]&1))a=10;else a=(k[o+172>>2]&-2)+-1|0;erb(o+172|0,a,0);d=(i[o+172>>0]&1)==0?o+172+1|0:k[o+172+8>>2]|0;k[o+168>>2]=d+h}h=g+12|0;a=k[h>>2]|0;l=g+16|0;if((a|0)==(k[l>>2]|0))a=Gi[k[(k[g>>2]|0)+36>>2]&2047](g)|0;else a=k[a>>2]|0;if(nub(a,o+337|0,o+336|0,d,o+168|0,m,n,o+184|0,o+8|0,o+4|0,o,o+208|0)|0)break;a=k[h>>2]|0;if((a|0)==(k[l>>2]|0)){Gi[k[(k[g>>2]|0)+40>>2]&2047](g)|0;continue}else{k[h>>2]=a+4;continue}}n=i[o+184>>0]|0;a=k[o+4>>2]|0;if(!((i[o+337>>0]|0)==0?1:(((n&1)==0?(n&255)>>>1:k[o+184+4>>2]|0)|0)==0))if((a-(o+8)|0)<160){n=k[o>>2]|0;k[o+4>>2]=a+4;k[a>>2]=n;a=a+4|0}s=+Otb(d,k[o+168>>2]|0,e);p[f>>3]=s;rtb(o+184|0,o+8|0,a,e);if(!g)d=1;else{a=k[g+12>>2]|0;if((a|0)==(k[g+16>>2]|0))a=Gi[k[(k[g>>2]|0)+36>>2]&2047](g)|0;else a=k[a>>2]|0;if((a|0)==-1){k[b>>2]=0;d=1}else d=0}do if(!j)q=47;else{a=k[j+12>>2]|0;if((a|0)==(k[j+16>>2]|0))a=Gi[k[(k[j>>2]|0)+36>>2]&2047](j)|0;else a=k[a>>2]|0;if((a|0)==-1){k[c>>2]=0;q=47;break}else if(d)break;else{q=49;break}}while(0);if((q|0)==47)if(d)q=49;if((q|0)==49)k[e>>2]=k[e>>2]|2;q=k[b>>2]|0;_qb(o+172|0);_qb(o+184|0);r=o;return q|0}function qub(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+16|0;k[g+4>>2]=k[b>>2];k[g>>2]=k[c>>2];k[g+8>>2]=k[g+4>>2];k[g+12>>2]=k[g>>2];a=rub(a,g+8|0,g+12|0,d,e,f)|0;r=g;return a|0}function rub(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,l=0,m=0,n=0,o=0,q=0,s=0.0;o=r;r=r+352|0;mub(o+184|0,d,o+208|0,o+200|0,o+196|0);a=0;while(1){if((a|0)==3)break;k[o+172+(a<<2)>>2]=0;a=a+1|0}if(!(i[o+172>>0]&1))a=10;else a=(k[o+172>>2]&-2)+-1|0;erb(o+172|0,a,0);d=(i[o+172>>0]&1)==0?o+172+1|0:k[o+172+8>>2]|0;k[o+168>>2]=d;k[o+4>>2]=o+8;k[o>>2]=0;i[o+337>>0]=1;i[o+336>>0]=69;m=k[o+200>>2]|0;n=k[o+196>>2]|0;g=k[b>>2]|0;a:while(1){if(!g){g=0;h=1}else{a=k[g+12>>2]|0;if((a|0)==(k[g+16>>2]|0))a=Gi[k[(k[g>>2]|0)+36>>2]&2047](g)|0;else a=k[a>>2]|0;if((a|0)==-1){k[b>>2]=0;g=0;h=1}else h=0}j=k[c>>2]|0;do if(!j)q=19;else{a=k[j+12>>2]|0;if((a|0)==(k[j+16>>2]|0))a=Gi[k[(k[j>>2]|0)+36>>2]&2047](j)|0;else a=k[a>>2]|0;if((a|0)==-1){k[c>>2]=0;q=19;break}else if(h)break;else break a}while(0);if((q|0)==19){q=0;if(h){j=0;break}else j=0}h=i[o+172>>0]|0;h=(h&1)==0?(h&255)>>>1:k[o+172+4>>2]|0;if((k[o+168>>2]|0)==(d+h|0)){erb(o+172|0,h<<1,0);if(!(i[o+172>>0]&1))a=10;else a=(k[o+172>>2]&-2)+-1|0;erb(o+172|0,a,0);d=(i[o+172>>0]&1)==0?o+172+1|0:k[o+172+8>>2]|0;k[o+168>>2]=d+h}h=g+12|0;a=k[h>>2]|0;l=g+16|0;if((a|0)==(k[l>>2]|0))a=Gi[k[(k[g>>2]|0)+36>>2]&2047](g)|0;else a=k[a>>2]|0;if(nub(a,o+337|0,o+336|0,d,o+168|0,m,n,o+184|0,o+8|0,o+4|0,o,o+208|0)|0)break;a=k[h>>2]|0;if((a|0)==(k[l>>2]|0)){Gi[k[(k[g>>2]|0)+40>>2]&2047](g)|0;continue}else{k[h>>2]=a+4;continue}}n=i[o+184>>0]|0;a=k[o+4>>2]|0;if(!((i[o+337>>0]|0)==0?1:(((n&1)==0?(n&255)>>>1:k[o+184+4>>2]|0)|0)==0))if((a-(o+8)|0)<160){n=k[o>>2]|0;k[o+4>>2]=a+4;k[a>>2]=n;a=a+4|0}s=+Rtb(d,k[o+168>>2]|0,e);p[f>>3]=s;rtb(o+184|0,o+8|0,a,e);if(!g)d=1;else{a=k[g+12>>2]|0;if((a|0)==(k[g+16>>2]|0))a=Gi[k[(k[g>>2]|0)+36>>2]&2047](g)|0;else a=k[a>>2]|0;if((a|0)==-1){k[b>>2]=0;d=1}else d=0}do if(!j)q=47;else{a=k[j+12>>2]|0;if((a|0)==(k[j+16>>2]|0))a=Gi[k[(k[j>>2]|0)+36>>2]&2047](j)|0;else a=k[a>>2]|0;if((a|0)==-1){k[c>>2]=0;q=47;break}else if(d)break;else{q=49;break}}while(0);if((q|0)==47)if(d)q=49;if((q|0)==49)k[e>>2]=k[e>>2]|2;q=k[b>>2]|0;_qb(o+172|0);_qb(o+184|0);r=o;return q|0}function sub(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,l=0,m=0,n=0;m=r;r=r+320|0;a=0;while(1){if((a|0)==3)break;k[m+196+(a<<2)>>2]=0;a=a+1|0}a=Gsb(d)|0;k[m+192>>2]=a;l=gtb(m+192|0,1203732)|0;nj[k[(k[l>>2]|0)+48>>2]&127](l,617794,617820,m+208|0)|0;sAb(a)|0;a=0;while(1){if((a|0)==3)break;k[m+180+(a<<2)>>2]=0;a=a+1|0}if(!(i[m+180>>0]&1))a=10;else a=(k[m+180>>2]&-2)+-1|0;erb(m+180|0,a,0);j=(i[m+180>>0]&1)==0?m+180+1|0:k[m+180+8>>2]|0;k[m+176>>2]=j;k[m+8>>2]=m+16;k[m+4>>2]=0;d=k[b>>2]|0;a:while(1){if(!d){d=0;g=1}else{a=k[d+12>>2]|0;if((a|0)==(k[d+16>>2]|0))a=Gi[k[(k[d>>2]|0)+36>>2]&2047](d)|0;else a=k[a>>2]|0;if((a|0)==-1){k[b>>2]=0;d=0;g=1}else g=0}h=k[c>>2]|0;do if(!h)n=22;else{a=k[h+12>>2]|0;if((a|0)==(k[h+16>>2]|0))a=Gi[k[(k[h>>2]|0)+36>>2]&2047](h)|0;else a=k[a>>2]|0;if((a|0)==-1){k[c>>2]=0;n=22;break}else if(g)break;else{a=j;break a}}while(0);if((n|0)==22){n=0;if(g){h=0;a=j;break}else h=0}g=i[m+180>>0]|0;g=(g&1)==0?(g&255)>>>1:k[m+180+4>>2]|0;if((k[m+176>>2]|0)==(j+g|0)){erb(m+180|0,g<<1,0);if(!(i[m+180>>0]&1))a=10;else a=(k[m+180>>2]&-2)+-1|0;erb(m+180|0,a,0);a=(i[m+180>>0]&1)==0?m+180+1|0:k[m+180+8>>2]|0;k[m+176>>2]=a+g}else a=j;j=d+12|0;g=k[j>>2]|0;l=d+16|0;if((g|0)==(k[l>>2]|0))g=Gi[k[(k[d>>2]|0)+36>>2]&2047](d)|0;else g=k[g>>2]|0;if($tb(g,16,a,m+176|0,m+4|0,0,m+196|0,m+16|0,m+8|0,m+208|0)|0)break;g=k[j>>2]|0;if((g|0)==(k[l>>2]|0)){Gi[k[(k[d>>2]|0)+40>>2]&2047](d)|0;j=a;continue}else{k[j>>2]=g+4;j=a;continue}}erb(m+180|0,(k[m+176>>2]|0)-a|0,0);j=(i[m+180>>0]&1)==0?m+180+1|0:k[m+180+8>>2]|0;l=qtb()|0;k[m>>2]=f;if((Ttb(j,l,617829,m)|0)!=1)k[e>>2]=4;if(!d)d=1;else{a=k[d+12>>2]|0;if((a|0)==(k[d+16>>2]|0))a=Gi[k[(k[d>>2]|0)+36>>2]&2047](d)|0;else a=k[a>>2]|0;if((a|0)==-1){k[b>>2]=0;d=1}else d=0}do if(!h)n=49;else{a=k[h+12>>2]|0;if((a|0)==(k[h+16>>2]|0))a=Gi[k[(k[h>>2]|0)+36>>2]&2047](h)|0;else a=k[a>>2]|0;if((a|0)==-1){k[c>>2]=0;n=49;break}else if(d)break;else{n=51;break}}while(0);if((n|0)==49)if(d)n=51;if((n|0)==51)k[e>>2]=k[e>>2]|2;n=k[b>>2]|0;_qb(m+180|0);_qb(m+196|0);r=m;return n|0}function tub(a){a=a|0;return}function uub(a){a=a|0;CAb(a);return}function vub(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;f=r;r=r+32|0;if(!(k[c+4>>2]&1)){g=k[(k[a>>2]|0)+24>>2]|0;k[f+4>>2]=k[b>>2];k[f+8>>2]=k[f+4>>2];d=Ni[g&127](a,f+8|0,c,d,e&1)|0}else{c=Gsb(c)|0;k[f>>2]=c;d=gtb(f,1203712)|0;sAb(c)|0;c=k[d>>2]|0;if(e)Di[k[c+24>>2]&511](f+8|0,d);else Di[k[c+28>>2]&511](f+8|0,d);g=i[f+8>>0]|0;e=k[f+8+8>>2]|0;d=g;c=e;e=(g&1)==0?f+8+1|0:e;while(1){g=(d&1)==0;if((e|0)==((g?f+8+1|0:c)+(g?(d&255)>>>1:k[f+8+4>>2]|0)|0))break;d=i[e>>0]|0;c=k[b>>2]|0;do if(c|0){a=k[c+24>>2]|0;if((a|0)!=(k[c+28>>2]|0)){k[c+24>>2]=a+1;i[a>>0]=d;break}if((gj[k[(k[c>>2]|0)+52>>2]&511](c,d&255)|0)==-1)k[b>>2]=0}while(0);d=i[f+8>>0]|0;c=k[f+8+8>>2]|0;e=e+1|0}d=k[b>>2]|0;_qb(f+8|0)}r=f;return d|0}function wub(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;f=r;r=r+64|0;i[f+56>>0]=i[618037]|0;i[f+56+1>>0]=i[618038]|0;i[f+56+2>>0]=i[618039]|0;i[f+56+3>>0]=i[618040]|0;i[f+56+4>>0]=i[618041]|0;i[f+56+5>>0]=i[618042]|0;xub(f+56+1|0,618043,1,k[c+4>>2]|0);a=qtb()|0;k[f>>2]=e;a=f+44+(yub(f+44|0,12,a,f+56|0,f)|0)|0;g=zub(f+44|0,a,c)|0;e=Gsb(c)|0;k[f+12>>2]=e;Aub(f+44|0,g,a,f+20|0,f+16|0,f+8|0,f+12|0);sAb(e)|0;k[f+4>>2]=k[b>>2];e=k[f+16>>2]|0;a=k[f+8>>2]|0;k[f>>2]=k[f+4>>2];a=qk(f,f+20|0,e,a,c,d)|0;r=f;return a|0}function xub(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;if(d&2048){i[a>>0]=43;a=a+1|0}if(!(d&512))e=b;else{i[a>>0]=35;e=b;a=a+1|0}while(1){b=i[e>>0]|0;if(!(b<<24>>24))break;i[a>>0]=b;e=e+1|0;a=a+1|0}a:do switch(d&74|0){case 64:{i[a>>0]=111;break}case 8:if(!(d&16384)){i[a>>0]=120;break a}else{i[a>>0]=88;break a}default:if(c){i[a>>0]=100;break a}else{i[a>>0]=117;break a}}while(0);return}function yub(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=r;r=r+16|0;k[f>>2]=e;e=Rnb(c)|0;c=Hmb(a,b,d,f)|0;if(e|0)Rnb(e)|0;r=f;return c|0}function zub(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:do switch(k[c+4>>2]&176|0){case 16:{c=i[a>>0]|0;switch(c<<24>>24){case 43:case 45:{a=a+1|0;break a}default:{}}if((b-a|0)>1&c<<24>>24==48){switch(i[a+1>>0]|0){case 88:case 120:break;default:{d=7;break a}}a=a+2|0}else d=7;break}case 32:{a=b;break}default:d=7}while(0);return a|0}function Aub(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0;o=r;r=r+16|0;n=gtb(g,1203700)|0;l=gtb(g,1203712)|0;Di[k[(k[l>>2]|0)+20>>2]&511](o,l);m=i[o>>0]|0;if(!(((m&1)==0?(m&255)>>>1:k[o+4>>2]|0)|0)){nj[k[(k[n>>2]|0)+32>>2]&127](n,a,c,d)|0;k[f>>2]=d+(c-a);h=a;g=d+(c-a)|0}else{k[f>>2]=d;g=i[a>>0]|0;switch(g<<24>>24){case 43:case 45:{m=gj[k[(k[n>>2]|0)+28>>2]&511](n,g)|0;h=k[f>>2]|0;k[f>>2]=h+1;i[h>>0]=m;h=a+1|0;break}default:h=a}a:do if((c-h|0)>1)if((i[h>>0]|0)==48){g=h+1|0;switch(i[g>>0]|0){case 88:case 120:break;default:break a}m=gj[k[(k[n>>2]|0)+28>>2]&511](n,48)|0;j=k[f>>2]|0;k[f>>2]=j+1;i[j>>0]=m;j=gj[k[(k[n>>2]|0)+28>>2]&511](n,i[g>>0]|0)|0;m=k[f>>2]|0;k[f>>2]=m+1;i[m>>0]=j;h=h+2|0}while(0);b:do if((h|0)!=(c|0)){g=c;j=h;while(1){g=g+-1|0;if(j>>>0>=g>>>0)break b;m=i[j>>0]|0;i[j>>0]=i[g>>0]|0;i[g>>0]=m;j=j+1|0}}while(0);l=Gi[k[(k[l>>2]|0)+16>>2]&2047](l)|0;g=0;j=0;m=h;while(1){if(m>>>0>=c>>>0)break;p=i[((i[o>>0]&1)==0?o+1|0:k[o+8>>2]|0)+j>>0]|0;if(p<<24>>24!=0&(g|0)==(p<<24>>24|0)){p=k[f>>2]|0;k[f>>2]=p+1;i[p>>0]=l;p=i[o>>0]|0;g=0;j=(j>>>0<(((p&1)==0?(p&255)>>>1:k[o+4>>2]|0)+-1|0)>>>0&1)+j|0}q=gj[k[(k[n>>2]|0)+28>>2]&511](n,i[m>>0]|0)|0;p=k[f>>2]|0;k[f>>2]=p+1;i[p>>0]=q;g=g+1|0;m=m+1|0}g=d+(h-a)|0;h=k[f>>2]|0;if((g|0)==(h|0))h=a;else{while(1){h=h+-1|0;if(g>>>0>=h>>>0)break;q=i[g>>0]|0;i[g>>0]=i[h>>0]|0;i[h>>0]=q;g=g+1|0}h=a;g=k[f>>2]|0}}k[e>>2]=(b|0)==(c|0)?g:d+(b-h)|0;_qb(o);r=o;return}function Bub(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+96|0;k[g>>2]=37;k[g+4>>2]=0;xub(g+1|0,618045,1,k[c+4>>2]|0);a=qtb()|0;k[g+8>>2]=e;k[g+8+4>>2]=f;f=g+74+(yub(g+74|0,22,a,g,g+8|0)|0)|0;e=zub(g+74|0,f,c)|0;a=Gsb(c)|0;k[g+24>>2]=a;Aub(g+74|0,e,f,g+32|0,g+28|0,g+20|0,g+24|0);sAb(a)|0;k[g+16>>2]=k[b>>2];b=k[g+28>>2]|0;a=k[g+20>>2]|0;k[g+8>>2]=k[g+16>>2];a=qk(g+8|0,g+32|0,b,a,c,d)|0;r=g;return a|0}function Cub(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;f=r;r=r+64|0;i[f+56>>0]=i[618037]|0;i[f+56+1>>0]=i[618038]|0;i[f+56+2>>0]=i[618039]|0;i[f+56+3>>0]=i[618040]|0;i[f+56+4>>0]=i[618041]|0;i[f+56+5>>0]=i[618042]|0;xub(f+56+1|0,618043,0,k[c+4>>2]|0);a=qtb()|0;k[f>>2]=e;a=f+44+(yub(f+44|0,12,a,f+56|0,f)|0)|0;g=zub(f+44|0,a,c)|0;e=Gsb(c)|0;k[f+12>>2]=e;Aub(f+44|0,g,a,f+20|0,f+16|0,f+8|0,f+12|0);sAb(e)|0;k[f+4>>2]=k[b>>2];e=k[f+16>>2]|0;a=k[f+8>>2]|0;k[f>>2]=k[f+4>>2];a=qk(f,f+20|0,e,a,c,d)|0;r=f;return a|0}function Dub(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+112|0;k[g>>2]=37;k[g+4>>2]=0;xub(g+1|0,618045,0,k[c+4>>2]|0);a=qtb()|0;k[g+8>>2]=e;k[g+8+4>>2]=f;f=g+75+(yub(g+75|0,23,a,g,g+8|0)|0)|0;e=zub(g+75|0,f,c)|0;a=Gsb(c)|0;k[g+24>>2]=a;Aub(g+75|0,e,f,g+32|0,g+28|0,g+20|0,g+24|0);sAb(a)|0;k[g+16>>2]=k[b>>2];b=k[g+28>>2]|0;a=k[g+20>>2]|0;k[g+8>>2]=k[g+16>>2];a=qk(g+8|0,g+32|0,b,a,c,d)|0;r=g;return a|0}function Eub(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;var f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0;i=r;r=r+160|0;k[i>>2]=37;k[i+4>>2]=0;g=Fub(i+1|0,1279174,k[c+4>>2]|0)|0;k[i+64>>2]=i+130;a=qtb()|0;if(g){k[i+8>>2]=k[c+8>>2];p[i+8+8>>3]=e;a=yub(i+130|0,30,a,i,i+8|0)|0}else{p[i+24>>3]=e;a=yub(i+130|0,30,a,i,i+24|0)|0}if((a|0)>29){a=qtb()|0;k[i+32>>2]=k[c+8>>2];p[i+32+8>>3]=e;a=Gub(i+64|0,a,i,i+32|0)|0;f=k[i+64>>2]|0;if(!f)sBb();else{j=f;m=f;h=a}}else{j=k[i+64>>2]|0;m=0;h=a}f=j+h|0;g=zub(j,f,c)|0;if((j|0)==(i+130|0)){l=i+130|0;n=i+72|0;o=0}else{a=hqb(h<<1)|0;if(!a)sBb();else{l=j;n=a;o=a}}j=Gsb(c)|0;k[i+52>>2]=j;Hub(l,g,f,n,i+60|0,i+56|0,i+52|0);sAb(j)|0;k[i+48>>2]=k[b>>2];l=k[i+60>>2]|0;b=k[i+56>>2]|0;k[i+68>>2]=k[i+48>>2];b=qk(i+68|0,n,l,b,c,d)|0;iqb(o);iqb(m);r=i;return b|0}function Fub(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if(c&2048){i[a>>0]=43;a=a+1|0}if(c&1024){i[a>>0]=35;a=a+1|0}if((c&260|0)==260)e=0;else{i[a>>0]=46;i[a+1>>0]=42;a=a+2|0;e=1}while(1){d=i[b>>0]|0;if(!(d<<24>>24))break;i[a>>0]=d;b=b+1|0;a=a+1|0}a:do switch(c&260|0){case 4:if(!(c>>>14&1)){i[a>>0]=102;break a}else{i[a>>0]=70;break a}case 256:if(!(c>>>14&1)){i[a>>0]=101;break a}else{i[a>>0]=69;break a}default:if((c&260|0)==260)if(c>>>14&1|0){i[a>>0]=65;break a}else{i[a>>0]=97;break a}else if(c>>>14&1|0){i[a>>0]=71;break a}else{i[a>>0]=103;break a}}while(0);return e|0}function Gub(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+16|0;k[e>>2]=d;d=Rnb(b)|0;b=wpb(a,c,e)|0;if(d|0)Rnb(d)|0;r=e;return b|0}function Hub(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0;s=r;r=r+16|0;p=gtb(g,1203700)|0;o=gtb(g,1203712)|0;Di[k[(k[o>>2]|0)+20>>2]&511](s,o);k[f>>2]=d;g=i[a>>0]|0;switch(g<<24>>24){case 43:case 45:{n=gj[k[(k[p>>2]|0)+28>>2]&511](p,g)|0;h=k[f>>2]|0;k[f>>2]=h+1;i[h>>0]=n;h=a+1|0;break}default:h=a}a:do if((c-h|0)>1)if((i[h>>0]|0)==48){g=h+1|0;switch(i[g>>0]|0){case 88:case 120:break;default:{g=h;q=10;break a}}m=gj[k[(k[p>>2]|0)+28>>2]&511](p,48)|0;n=k[f>>2]|0;k[f>>2]=n+1;i[n>>0]=m;h=h+2|0;n=gj[k[(k[p>>2]|0)+28>>2]&511](p,i[g>>0]|0)|0;g=k[f>>2]|0;k[f>>2]=g+1;i[g>>0]=n;g=h;while(1){if(g>>>0>=c>>>0)break a;n=i[g>>0]|0;if(!(Jnb(n,qtb()|0)|0))break a;g=g+1|0}}else{g=h;q=10}else{g=h;q=10}while(0);b:do if((q|0)==10)while(1){q=0;if(g>>>0>=c>>>0)break b;n=i[g>>0]|0;if(!(Inb(n,qtb()|0)|0))break b;g=g+1|0;q=10}while(0);n=i[s>>0]|0;c:do if(!(((n&1)==0?(n&255)>>>1:k[s+4>>2]|0)|0)){nj[k[(k[p>>2]|0)+32>>2]&127](p,h,g,k[f>>2]|0)|0;k[f>>2]=(k[f>>2]|0)+(g-h);j=p}else{d:do if((h|0)!=(g|0)){j=g;l=h;while(1){j=j+-1|0;if(l>>>0>=j>>>0)break d;n=i[l>>0]|0;i[l>>0]=i[j>>0]|0;i[j>>0]=n;l=l+1|0}}while(0);m=Gi[k[(k[o>>2]|0)+16>>2]&2047](o)|0;j=0;l=0;n=h;while(1){if(n>>>0>=g>>>0)break;t=i[((i[s>>0]&1)==0?s+1|0:k[s+8>>2]|0)+l>>0]|0;if(t<<24>>24>0&(j|0)==(t<<24>>24|0)){t=k[f>>2]|0;k[f>>2]=t+1;i[t>>0]=m;t=i[s>>0]|0;j=0;l=(l>>>0<(((t&1)==0?(t&255)>>>1:k[s+4>>2]|0)+-1|0)>>>0&1)+l|0}u=gj[k[(k[p>>2]|0)+28>>2]&511](p,i[n>>0]|0)|0;t=k[f>>2]|0;k[f>>2]=t+1;i[t>>0]=u;j=j+1|0;n=n+1|0}j=d+(h-a)|0;h=k[f>>2]|0;if((j|0)==(h|0))j=p;else while(1){h=h+-1|0;if(j>>>0>=h>>>0){j=p;break c}u=i[j>>0]|0;i[j>>0]=i[h>>0]|0;i[h>>0]=u;j=j+1|0}}while(0);while(1){if(g>>>0>=c>>>0)break;h=i[g>>0]|0;if(h<<24>>24==46){q=29;break}t=gj[k[(k[j>>2]|0)+28>>2]&511](p,h)|0;u=k[f>>2]|0;k[f>>2]=u+1;i[u>>0]=t;g=g+1|0}if((q|0)==29){t=Gi[k[(k[o>>2]|0)+12>>2]&2047](o)|0;u=k[f>>2]|0;k[f>>2]=u+1;i[u>>0]=t;g=g+1|0}nj[k[(k[p>>2]|0)+32>>2]&127](p,g,c,k[f>>2]|0)|0;u=(k[f>>2]|0)+(c-g)|0;k[f>>2]=u;k[e>>2]=(b|0)==(c|0)?u:d+(b-a)|0;_qb(s);r=s;return}function Iub(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;var f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0;i=r;r=r+176|0;k[i>>2]=37;k[i+4>>2]=0;f=Fub(i+1|0,618048,k[c+4>>2]|0)|0;k[i+72>>2]=i+138;a=qtb()|0;if(f){k[i+8>>2]=k[c+8>>2];p[i+8+8>>3]=e;a=yub(i+138|0,30,a,i,i+8|0)|0}else{p[i+24>>3]=e;a=yub(i+138|0,30,a,i,i+24|0)|0}if((a|0)>29){a=qtb()|0;if(f){k[i+32>>2]=k[c+8>>2];p[i+32+8>>3]=e;f=Gub(i+72|0,a,i,i+32|0)|0}else{p[i+48>>3]=e;f=Gub(i+72|0,a,i,i+48|0)|0}a=k[i+72>>2]|0;if(!a)sBb();else{j=a;m=a;h=f}}else{j=k[i+72>>2]|0;m=0;h=a}f=j+h|0;g=zub(j,f,c)|0;if((j|0)==(i+138|0)){l=i+138|0;n=i+80|0;o=0}else{a=hqb(h<<1)|0;if(!a)sBb();else{l=j;n=a;o=a}}j=Gsb(c)|0;k[i+60>>2]=j;Hub(l,g,f,n,i+68|0,i+64|0,i+60|0);sAb(j)|0;k[i+56>>2]=k[b>>2];l=k[i+68>>2]|0;b=k[i+64>>2]|0;k[i+76>>2]=k[i+56>>2];b=qk(i+76|0,n,l,b,c,d)|0;iqb(o);iqb(m);r=i;return b|0}function Jub(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=r;r=r+80|0;i[f+72>>0]=i[618050]|0;i[f+72+1>>0]=i[618051]|0;i[f+72+2>>0]=i[618052]|0;i[f+72+3>>0]=i[618053]|0;i[f+72+4>>0]=i[618054]|0;i[f+72+5>>0]=i[618055]|0;a=qtb()|0;k[f>>2]=e;a=yub(f+52|0,20,a,f+72|0,f)|0;e=zub(f+52|0,f+52+a|0,c)|0;h=Gsb(c)|0;k[f+8>>2]=h;g=gtb(f+8|0,1203700)|0;sAb(h)|0;nj[k[(k[g>>2]|0)+32>>2]&127](g,f+52|0,f+52+a|0,f+12|0)|0;k[f+4>>2]=k[b>>2];k[f>>2]=k[f+4>>2];a=qk(f,f+12|0,(e|0)==(f+52+a|0)?f+12+a|0:f+12+(e-(f+52))|0,f+12+a|0,c,d)|0;r=f;return a|0}function Kub(a){a=a|0;return}function Lub(a){a=a|0;CAb(a);return}function Mub(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;f=r;r=r+32|0;if(!(k[c+4>>2]&1)){g=k[(k[a>>2]|0)+24>>2]|0;k[f+4>>2]=k[b>>2];k[f+8>>2]=k[f+4>>2];d=Ni[g&127](a,f+8|0,c,d,e&1)|0}else{c=Gsb(c)|0;k[f>>2]=c;d=gtb(f,1203740)|0;sAb(c)|0;c=k[d>>2]|0;if(e)Di[k[c+24>>2]&511](f+8|0,d);else Di[k[c+28>>2]&511](f+8|0,d);g=i[f+8>>0]|0;e=k[f+8+8>>2]|0;d=g;c=e;e=(g&1)==0?f+8+4|0:e;while(1){g=(d&1)==0;if((e|0)==((g?f+8+4|0:c)+((g?(d&255)>>>1:k[f+8+4>>2]|0)<<2)|0))break;d=k[e>>2]|0;c=k[b>>2]|0;if(c|0){a=k[c+24>>2]|0;if((a|0)==(k[c+28>>2]|0))d=gj[k[(k[c>>2]|0)+52>>2]&511](c,d)|0;else{k[c+24>>2]=a+4;k[a>>2]=d}if((d|0)==-1)k[b>>2]=0}d=i[f+8>>0]|0;c=k[f+8+8>>2]|0;e=e+4|0}d=k[b>>2]|0;xrb(f+8|0)}r=f;return d|0}function Nub(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;f=r;r=r+128|0;i[f+116>>0]=i[618037]|0;i[f+116+1>>0]=i[618038]|0;i[f+116+2>>0]=i[618039]|0;i[f+116+3>>0]=i[618040]|0;i[f+116+4>>0]=i[618041]|0;i[f+116+5>>0]=i[618042]|0;xub(f+116+1|0,618043,1,k[c+4>>2]|0);a=qtb()|0;k[f>>2]=e;a=f+104+(yub(f+104|0,12,a,f+116|0,f)|0)|0;g=zub(f+104|0,a,c)|0;e=Gsb(c)|0;k[f+12>>2]=e;Oub(f+104|0,g,a,f+20|0,f+16|0,f+8|0,f+12|0);sAb(e)|0;k[f+4>>2]=k[b>>2];e=k[f+16>>2]|0;a=k[f+8>>2]|0;k[f>>2]=k[f+4>>2];a=Pub(f,f+20|0,e,a,c,d)|0;r=f;return a|0}function Oub(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0;o=r;r=r+16|0;n=gtb(g,1203732)|0;l=gtb(g,1203740)|0;Di[k[(k[l>>2]|0)+20>>2]&511](o,l);m=i[o>>0]|0;a:do if(!(((m&1)==0?(m&255)>>>1:k[o+4>>2]|0)|0)){nj[k[(k[n>>2]|0)+48>>2]&127](n,a,c,d)|0;k[f>>2]=d+(c-a<<2);h=a;g=d+(c-a<<2)|0}else{k[f>>2]=d;g=i[a>>0]|0;switch(g<<24>>24){case 43:case 45:{m=gj[k[(k[n>>2]|0)+44>>2]&511](n,g)|0;h=k[f>>2]|0;k[f>>2]=h+4;k[h>>2]=m;h=a+1|0;break}default:h=a}b:do if((c-h|0)>1)if((i[h>>0]|0)==48){g=h+1|0;switch(i[g>>0]|0){case 88:case 120:break;default:break b}m=gj[k[(k[n>>2]|0)+44>>2]&511](n,48)|0;j=k[f>>2]|0;k[f>>2]=j+4;k[j>>2]=m;j=gj[k[(k[n>>2]|0)+44>>2]&511](n,i[g>>0]|0)|0;m=k[f>>2]|0;k[f>>2]=m+4;k[m>>2]=j;h=h+2|0}while(0);c:do if((h|0)!=(c|0)){g=c;j=h;while(1){g=g+-1|0;if(j>>>0>=g>>>0)break c;m=i[j>>0]|0;i[j>>0]=i[g>>0]|0;i[g>>0]=m;j=j+1|0}}while(0);l=Gi[k[(k[l>>2]|0)+16>>2]&2047](l)|0;g=0;j=0;m=h;while(1){if(m>>>0>=c>>>0)break;p=i[((i[o>>0]&1)==0?o+1|0:k[o+8>>2]|0)+j>>0]|0;if(p<<24>>24!=0&(g|0)==(p<<24>>24|0)){p=k[f>>2]|0;k[f>>2]=p+4;k[p>>2]=l;p=i[o>>0]|0;g=0;j=(j>>>0<(((p&1)==0?(p&255)>>>1:k[o+4>>2]|0)+-1|0)>>>0&1)+j|0}q=gj[k[(k[n>>2]|0)+44>>2]&511](n,i[m>>0]|0)|0;p=k[f>>2]|0;k[f>>2]=p+4;k[p>>2]=q;g=g+1|0;m=m+1|0}g=d+(h-a<<2)|0;j=k[f>>2]|0;if((g|0)==(j|0))h=a;else{h=j;while(1){h=h+-4|0;if(g>>>0>=h>>>0){h=a;g=j;break a}q=k[g>>2]|0;k[g>>2]=k[h>>2];k[h>>2]=q;g=g+4|0}}}while(0);k[e>>2]=(b|0)==(c|0)?g:d+(b-h<<2)|0;_qb(o);r=o;return}function Pub(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0;j=r;r=r+16|0;g=k[a>>2]|0;a:do if(!g)g=0;else{h=k[e+12>>2]|0;h=(h|0)>(d-b>>2|0)?h-(d-b>>2)|0:0;if((c-b|0)>0)if((Ri[k[(k[g>>2]|0)+48>>2]&255](g,b,c-b>>2)|0)!=(c-b>>2|0)){k[a>>2]=0;g=0;break}do if((h|0)>0){vrb(j,h,f);if((Ri[k[(k[g>>2]|0)+48>>2]&255](g,(i[j>>0]&1)==0?j+4|0:k[j+8>>2]|0,h)|0)==(h|0)){xrb(j);break}else{k[a>>2]=0;xrb(j);g=0;break a}}while(0);if((d-c|0)>0)if((Ri[k[(k[g>>2]|0)+48>>2]&255](g,c,d-c>>2)|0)!=(d-c>>2|0)){k[a>>2]=0;g=0;break}k[e+12>>2]=0}while(0);r=j;return g|0}function Qub(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+224|0;k[g>>2]=37;k[g+4>>2]=0;xub(g+1|0,618045,1,k[c+4>>2]|0);a=qtb()|0;k[g+8>>2]=e;k[g+8+4>>2]=f;f=g+196+(yub(g+196|0,22,a,g,g+8|0)|0)|0;e=zub(g+196|0,f,c)|0;a=Gsb(c)|0;k[g+24>>2]=a;Oub(g+196|0,e,f,g+32|0,g+28|0,g+20|0,g+24|0);sAb(a)|0;k[g+16>>2]=k[b>>2];b=k[g+28>>2]|0;a=k[g+20>>2]|0;k[g+8>>2]=k[g+16>>2];a=Pub(g+8|0,g+32|0,b,a,c,d)|0;r=g;return a|0}function Rub(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;f=r;r=r+128|0;i[f+116>>0]=i[618037]|0;i[f+116+1>>0]=i[618038]|0;i[f+116+2>>0]=i[618039]|0;i[f+116+3>>0]=i[618040]|0;i[f+116+4>>0]=i[618041]|0;i[f+116+5>>0]=i[618042]|0;xub(f+116+1|0,618043,0,k[c+4>>2]|0);a=qtb()|0;k[f>>2]=e;a=f+104+(yub(f+104|0,12,a,f+116|0,f)|0)|0;g=zub(f+104|0,a,c)|0;e=Gsb(c)|0;k[f+12>>2]=e;Oub(f+104|0,g,a,f+20|0,f+16|0,f+8|0,f+12|0);sAb(e)|0;k[f+4>>2]=k[b>>2];e=k[f+16>>2]|0;a=k[f+8>>2]|0;k[f>>2]=k[f+4>>2];a=Pub(f,f+20|0,e,a,c,d)|0;r=f;return a|0}function Sub(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+240|0;k[g>>2]=37;k[g+4>>2]=0;xub(g+1|0,618045,0,k[c+4>>2]|0);a=qtb()|0;k[g+8>>2]=e;k[g+8+4>>2]=f;f=g+204+(yub(g+204|0,23,a,g,g+8|0)|0)|0;e=zub(g+204|0,f,c)|0;a=Gsb(c)|0;k[g+24>>2]=a;Oub(g+204|0,e,f,g+32|0,g+28|0,g+20|0,g+24|0);sAb(a)|0;k[g+16>>2]=k[b>>2];b=k[g+28>>2]|0;a=k[g+20>>2]|0;k[g+8>>2]=k[g+16>>2];a=Pub(g+8|0,g+32|0,b,a,c,d)|0;r=g;return a|0}function Tub(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;var f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0;m=r;r=r+336|0;k[m>>2]=37;k[m+4>>2]=0;g=Fub(m+1|0,1279174,k[c+4>>2]|0)|0;k[m+292>>2]=m+300;a=qtb()|0;if(g){k[m+8>>2]=k[c+8>>2];p[m+8+8>>3]=e;a=yub(m+300|0,30,a,m,m+8|0)|0}else{p[m+24>>3]=e;a=yub(m+300|0,30,a,m,m+24|0)|0}if((a|0)>29){a=qtb()|0;k[m+32>>2]=k[c+8>>2];p[m+32+8>>3]=e;a=Gub(m+292|0,a,m,m+32|0)|0;f=k[m+292>>2]|0;if(!f)sBb();else{i=f;n=f;h=a}}else{i=k[m+292>>2]|0;n=0;h=a}f=i+h|0;g=zub(i,f,c)|0;if((i|0)==(m+300|0)){j=m+300|0;l=m+64|0;o=0}else{a=hqb(h<<3)|0;if(!a)sBb();else{j=i;l=a;o=a}}a=Gsb(c)|0;k[m+52>>2]=a;Uub(j,g,f,l,m+60|0,m+56|0,m+52|0);sAb(a)|0;k[m+48>>2]=k[b>>2];j=k[m+60>>2]|0;a=k[m+56>>2]|0;k[m+296>>2]=k[m+48>>2];a=Pub(m+296|0,l,j,a,c,d)|0;k[b>>2]=a;if(o|0)iqb(o);iqb(n);r=m;return a|0}function Uub(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0;s=r;r=r+16|0;p=gtb(g,1203732)|0;o=gtb(g,1203740)|0;Di[k[(k[o>>2]|0)+20>>2]&511](s,o);k[f>>2]=d;g=i[a>>0]|0;switch(g<<24>>24){case 43:case 45:{n=gj[k[(k[p>>2]|0)+44>>2]&511](p,g)|0;h=k[f>>2]|0;k[f>>2]=h+4;k[h>>2]=n;h=a+1|0;break}default:h=a}a:do if((c-h|0)>1)if((i[h>>0]|0)==48){g=h+1|0;switch(i[g>>0]|0){case 88:case 120:break;default:{g=h;q=10;break a}}m=gj[k[(k[p>>2]|0)+44>>2]&511](p,48)|0;n=k[f>>2]|0;k[f>>2]=n+4;k[n>>2]=m;h=h+2|0;n=gj[k[(k[p>>2]|0)+44>>2]&511](p,i[g>>0]|0)|0;g=k[f>>2]|0;k[f>>2]=g+4;k[g>>2]=n;g=h;while(1){if(g>>>0>=c>>>0)break a;n=i[g>>0]|0;if(!(Jnb(n,qtb()|0)|0))break a;g=g+1|0}}else{g=h;q=10}else{g=h;q=10}while(0);b:do if((q|0)==10)while(1){q=0;if(g>>>0>=c>>>0)break b;n=i[g>>0]|0;if(!(Inb(n,qtb()|0)|0))break b;g=g+1|0;q=10}while(0);n=i[s>>0]|0;c:do if(!(((n&1)==0?(n&255)>>>1:k[s+4>>2]|0)|0)){nj[k[(k[p>>2]|0)+48>>2]&127](p,h,g,k[f>>2]|0)|0;h=(k[f>>2]|0)+(g-h<<2)|0;k[f>>2]=h;j=p}else{d:do if((h|0)!=(g|0)){j=g;l=h;while(1){j=j+-1|0;if(l>>>0>=j>>>0)break d;n=i[l>>0]|0;i[l>>0]=i[j>>0]|0;i[j>>0]=n;l=l+1|0}}while(0);m=Gi[k[(k[o>>2]|0)+16>>2]&2047](o)|0;j=0;l=0;n=h;while(1){if(n>>>0>=g>>>0)break;t=i[((i[s>>0]&1)==0?s+1|0:k[s+8>>2]|0)+l>>0]|0;if(t<<24>>24>0&(j|0)==(t<<24>>24|0)){t=k[f>>2]|0;k[f>>2]=t+4;k[t>>2]=m;t=i[s>>0]|0;j=0;l=(l>>>0<(((t&1)==0?(t&255)>>>1:k[s+4>>2]|0)+-1|0)>>>0&1)+l|0}u=gj[k[(k[p>>2]|0)+44>>2]&511](p,i[n>>0]|0)|0;t=k[f>>2]|0;k[f>>2]=t+4;k[t>>2]=u;j=j+1|0;n=n+1|0}h=d+(h-a<<2)|0;l=k[f>>2]|0;if((h|0)==(l|0))j=p;else{j=l;while(1){j=j+-4|0;if(h>>>0>=j>>>0){j=p;h=l;break c}u=k[h>>2]|0;k[h>>2]=k[j>>2];k[j>>2]=u;h=h+4|0}}}while(0);while(1){if(g>>>0>=c>>>0)break;h=i[g>>0]|0;if(h<<24>>24==46){q=29;break}u=gj[k[(k[j>>2]|0)+44>>2]&511](p,h)|0;h=k[f>>2]|0;k[f>>2]=h+4;k[h>>2]=u;h=h+4|0;g=g+1|0}if((q|0)==29){u=Gi[k[(k[o>>2]|0)+12>>2]&2047](o)|0;h=k[f>>2]|0;k[f>>2]=h+4;k[h>>2]=u;h=h+4|0;g=g+1|0}nj[k[(k[p>>2]|0)+48>>2]&127](p,g,c,h)|0;u=(k[f>>2]|0)+(c-g<<2)|0;k[f>>2]=u;k[e>>2]=(b|0)==(c|0)?u:d+(b-a<<2)|0;_qb(s);r=s;return}function Vub(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;var f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0;m=r;r=r+352|0;k[m>>2]=37;k[m+4>>2]=0;f=Fub(m+1|0,618048,k[c+4>>2]|0)|0;k[m+300>>2]=m+308;a=qtb()|0;if(f){k[m+8>>2]=k[c+8>>2];p[m+8+8>>3]=e;a=yub(m+308|0,30,a,m,m+8|0)|0}else{p[m+24>>3]=e;a=yub(m+308|0,30,a,m,m+24|0)|0}if((a|0)>29){a=qtb()|0;if(f){k[m+32>>2]=k[c+8>>2];p[m+32+8>>3]=e;f=Gub(m+300|0,a,m,m+32|0)|0}else{p[m+48>>3]=e;f=Gub(m+300|0,a,m,m+48|0)|0}a=k[m+300>>2]|0;if(!a)sBb();else{i=a;n=a;h=f}}else{i=k[m+300>>2]|0;n=0;h=a}f=i+h|0;g=zub(i,f,c)|0;if((i|0)==(m+308|0)){j=m+308|0;l=m+72|0;o=0}else{a=hqb(h<<3)|0;if(!a)sBb();else{j=i;l=a;o=a}}a=Gsb(c)|0;k[m+60>>2]=a;Uub(j,g,f,l,m+68|0,m+64|0,m+60|0);sAb(a)|0;k[m+56>>2]=k[b>>2];j=k[m+68>>2]|0;a=k[m+64>>2]|0;k[m+304>>2]=k[m+56>>2];a=Pub(m+304|0,l,j,a,c,d)|0;k[b>>2]=a;if(o|0)iqb(o);iqb(n);r=m;return a|0}function Wub(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=r;r=r+192|0;i[f+180>>0]=i[618050]|0;i[f+180+1>>0]=i[618051]|0;i[f+180+2>>0]=i[618052]|0;i[f+180+3>>0]=i[618053]|0;i[f+180+4>>0]=i[618054]|0;i[f+180+5>>0]=i[618055]|0;a=qtb()|0;k[f>>2]=e;a=yub(f+160|0,20,a,f+180|0,f)|0;e=zub(f+160|0,f+160+a|0,c)|0;h=Gsb(c)|0;k[f+156>>2]=h;g=gtb(f+156|0,1203732)|0;sAb(h)|0;nj[k[(k[g>>2]|0)+48>>2]&127](g,f+160|0,f+160+a|0,f+8|0)|0;k[f+4>>2]=k[b>>2];k[f>>2]=k[f+4>>2];a=Pub(f,f+8|0,(e|0)==(f+160+a|0)?f+8+(a<<2)|0:f+8+(e-(f+160)<<2)|0,f+8+(a<<2)|0,c,d)|0;r=f;return a|0}function Xub(a){a=a|0;return}function Yub(a){a=a|0;CAb(a);return}function Zub(a){a=a|0;return 2}function _ub(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+16|0;k[g+4>>2]=k[b>>2];k[g>>2]=k[c>>2];k[g+8>>2]=k[g+4>>2];k[g+12>>2]=k[g>>2];a=$ub(a,g+8|0,g+12|0,d,e,f,618268,618276)|0;r=g;return a|0}function $ub(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0;v=r;r=r+32|0;m=Gsb(d)|0;k[v+8>>2]=m;t=gtb(v+8|0,1203700)|0;sAb(m)|0;k[e>>2]=0;m=g;g=0;a:while(1){q=(m|0)!=(h|0);n=g;while(1){g=k[b>>2]|0;if(!(q&(n|0)==0))break a;if(!g){p=g;g=0}else if((k[g+12>>2]|0)==(k[g+16>>2]|0))if((Gi[k[(k[g>>2]|0)+36>>2]&2047](g)|0)==-1){k[b>>2]=0;p=0;g=0}else p=g;else p=g;o=(g|0)==0;n=k[c>>2]|0;do if(!n)u=13;else{if((k[n+12>>2]|0)==(k[n+16>>2]|0))if((Gi[k[(k[n>>2]|0)+36>>2]&2047](n)|0)==-1){k[c>>2]=0;n=0;u=13;break}if(o)o=n;else{u=14;break a}}while(0);if((u|0)==13){u=0;if(o){u=14;break a}else o=0}if((Ri[k[(k[t>>2]|0)+36>>2]&255](t,i[m>>0]|0,0)|0)<<24>>24==37){s=p;q=n;u=16;break}n=i[m>>0]|0;if(n<<24>>24>-1){p=k[t+8>>2]|0;if(j[p+(n<<24>>24<<1)>>1]&8192){u=25;break}}o=g+12|0;n=k[o>>2]|0;p=g+16|0;if((n|0)==(k[p>>2]|0))n=Gi[k[(k[g>>2]|0)+36>>2]&2047](g)|0;else n=l[n>>0]|0;s=gj[k[(k[t>>2]|0)+12>>2]&511](t,n&255)|0;if(s<<24>>24==(gj[k[(k[t>>2]|0)+12>>2]&511](t,i[m>>0]|0)|0)<<24>>24){u=53;break}k[e>>2]=4;n=4}b:do if((u|0)==16){u=0;n=m+1|0;if((n|0)==(h|0)){u=17;break a}p=Ri[k[(k[t>>2]|0)+36>>2]&255](t,i[n>>0]|0,0)|0;switch(p<<24>>24){case 48:case 69:{o=m+2|0;if((o|0)==(h|0)){u=22;break a}m=n;n=Ri[k[(k[t>>2]|0)+36>>2]&255](t,i[o>>0]|0,0)|0;g=p;break}default:{n=p;g=0}}p=k[(k[a>>2]|0)+36>>2]|0;k[v+4>>2]=s;k[v>>2]=q;k[v+12>>2]=k[v+4>>2];k[v+16>>2]=k[v>>2];g=sj[p&31](a,v+12|0,v+16|0,d,e,f,n,g)|0;k[b>>2]=g;g=m+2|0}else if((u|0)==25){u=0;do{m=m+1|0;if((m|0)==(h|0)){m=h;break}n=i[m>>0]|0;if(n<<24>>24<=-1)break}while((j[p+(n<<24>>24<<1)>>1]&8192)!=0);n=o;p=o;while(1){if(!g)g=0;else if((k[g+12>>2]|0)==(k[g+16>>2]|0))if((Gi[k[(k[g>>2]|0)+36>>2]&2047](g)|0)==-1){k[b>>2]=0;g=0}o=(g|0)==0;do if(!p)u=39;else{if((k[p+12>>2]|0)!=(k[p+16>>2]|0))if(o){s=n;break}else{g=m;break b}if((Gi[k[(k[p>>2]|0)+36>>2]&2047](p)|0)==-1){k[c>>2]=0;n=0;u=39;break}else if(o^(n|0)==0){s=n;p=n;break}else{g=m;break b}}while(0);if((u|0)==39){u=0;if(o){g=m;break b}else{s=n;p=0}}o=g+12|0;n=k[o>>2]|0;q=g+16|0;if((n|0)==(k[q>>2]|0))n=Gi[k[(k[g>>2]|0)+36>>2]&2047](g)|0;else n=l[n>>0]|0;if((n&255)<<24>>24<=-1){g=m;break b}if(!(j[(k[t+8>>2]|0)+(n<<24>>24<<1)>>1]&8192)){g=m;break b}n=k[o>>2]|0;if((n|0)==(k[q>>2]|0)){Gi[k[(k[g>>2]|0)+40>>2]&2047](g)|0;n=s;continue}else{k[o>>2]=n+1;n=s;continue}}}else if((u|0)==53){u=0;n=k[o>>2]|0;if((n|0)==(k[p>>2]|0))Gi[k[(k[g>>2]|0)+40>>2]&2047](g)|0;else k[o>>2]=n+1;g=m+1|0}while(0);m=g;g=k[e>>2]|0}if((u|0)==14)k[e>>2]=4;else if((u|0)==17)k[e>>2]=4;else if((u|0)==22)k[e>>2]=4;if(!g)g=0;else if((k[g+12>>2]|0)==(k[g+16>>2]|0))if((Gi[k[(k[g>>2]|0)+36>>2]&2047](g)|0)==-1){k[b>>2]=0;g=0}m=(g|0)==0;n=k[c>>2]|0;do if(!n)u=68;else{if((k[n+12>>2]|0)==(k[n+16>>2]|0))if((Gi[k[(k[n>>2]|0)+36>>2]&2047](n)|0)==-1){k[c>>2]=0;u=68;break}if(!m)u=69}while(0);if((u|0)==68)if(m)u=69;if((u|0)==69)k[e>>2]=k[e>>2]|2;r=v;return g|0}function avb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=r;r=r+16|0;h=Gi[k[(k[a+8>>2]|0)+20>>2]&2047](a+8|0)|0;k[g+4>>2]=k[b>>2];k[g>>2]=k[c>>2];c=i[h>>0]|0;b=(c&1)==0?h+1|0:k[h+8>>2]|0;c=b+((c&1)==0?(c&255)>>>1:k[h+4>>2]|0)|0;k[g+8>>2]=k[g+4>>2];k[g+12>>2]=k[g>>2];a=$ub(a,g+8|0,g+12|0,d,e,f,b,c)|0;r=g;return a|0}function bvb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=r;r=r+16|0;h=Gsb(d)|0;k[g+4>>2]=h;d=gtb(g+4|0,1203700)|0;sAb(h)|0;k[g>>2]=k[c>>2];k[g+8>>2]=k[g>>2];cvb(a,f+24|0,b,g+8|0,e,d);r=g;return k[b>>2]|0}function cvb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+16|0;a=Gi[k[k[a+8>>2]>>2]&2047](a+8|0)|0;k[g>>2]=k[d>>2];k[g+4>>2]=k[g>>2];c=(ktb(c,g+4|0,a,a+168|0,f,e,0)|0)-a|0;if((c|0)<168)k[b>>2]=((c|0)/12|0|0)%7|0;r=g;return}function dvb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=r;r=r+16|0;h=Gsb(d)|0;k[g+4>>2]=h;d=gtb(g+4|0,1203700)|0;sAb(h)|0;k[g>>2]=k[c>>2];k[g+8>>2]=k[g>>2];evb(a,f+16|0,b,g+8|0,e,d);r=g;return k[b>>2]|0}function evb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+16|0;a=Gi[k[(k[a+8>>2]|0)+4>>2]&2047](a+8|0)|0;k[g>>2]=k[d>>2];k[g+4>>2]=k[g>>2];c=(ktb(c,g+4|0,a,a+288|0,f,e,0)|0)-a|0;if((c|0)<288)k[b>>2]=((c|0)/12|0|0)%12|0;r=g;return}function fvb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=r;r=r+16|0;h=Gsb(d)|0;k[g+4>>2]=h;d=gtb(g+4|0,1203700)|0;sAb(h)|0;k[g>>2]=k[c>>2];k[g+8>>2]=k[g>>2];gvb(a,f+20|0,b,g+8|0,e,d);r=g;return k[b>>2]|0}function gvb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+16|0;k[g>>2]=k[d>>2];k[g+4>>2]=k[g>>2];a=hvb(c,g+4|0,e,f,4)|0;if(!(k[e>>2]&4)){if((a|0)<69)a=a+2e3|0;else a=(a+-69|0)>>>0<31?a+1900|0:a;k[b>>2]=a+-1900}r=g;return}function hvb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,m=0,n=0,o=0,p=0;f=k[a>>2]|0;do if(!f)f=0;else if((k[f+12>>2]|0)==(k[f+16>>2]|0))if((Gi[k[(k[f>>2]|0)+36>>2]&2047](f)|0)==-1){k[a>>2]=0;f=0;break}else{f=k[a>>2]|0;break}while(0);g=(f|0)==0;f=k[b>>2]|0;do if(!f)p=11;else{if((k[f+12>>2]|0)==(k[f+16>>2]|0))if((Gi[k[(k[f>>2]|0)+36>>2]&2047](f)|0)==-1){k[b>>2]=0;p=11;break}if(g)p=13;else p=12}while(0);if((p|0)==11)if(g)p=12;else{f=0;p=13}a:do if((p|0)==12){k[c>>2]=k[c>>2]|6;f=0}else if((p|0)==13){g=k[a>>2]|0;h=k[g+12>>2]|0;if((h|0)==(k[g+16>>2]|0))g=Gi[k[(k[g>>2]|0)+36>>2]&2047](g)|0;else g=l[h>>0]|0;h=g&255;if(h<<24>>24>-1)if(j[(k[d+8>>2]|0)+(g<<24>>24<<1)>>1]&2048){i=(Ri[k[(k[d>>2]|0)+36>>2]&255](d,h,0)|0)<<24>>24;g=k[a>>2]|0;h=k[g+12>>2]|0;if((h|0)==(k[g+16>>2]|0)){Gi[k[(k[g>>2]|0)+40>>2]&2047](g)|0;n=e;m=f;e=f;f=i}else{k[g+12>>2]=h+1;n=e;m=f;e=f;f=i}while(1){f=f+-48|0;o=n+-1|0;g=k[a>>2]|0;do if(!g)g=0;else if((k[g+12>>2]|0)==(k[g+16>>2]|0))if((Gi[k[(k[g>>2]|0)+36>>2]&2047](g)|0)==-1){k[a>>2]=0;g=0;break}else{g=k[a>>2]|0;break}while(0);i=(g|0)==0;if(!e){h=m;e=0}else if((k[e+12>>2]|0)==(k[e+16>>2]|0))if((Gi[k[(k[e>>2]|0)+36>>2]&2047](e)|0)==-1){k[b>>2]=0;h=0;e=0}else{h=m;e=m}else h=m;g=k[a>>2]|0;if(!((n|0)>1&(i^(e|0)==0)))break;i=k[g+12>>2]|0;if((i|0)==(k[g+16>>2]|0))g=Gi[k[(k[g>>2]|0)+36>>2]&2047](g)|0;else g=l[i>>0]|0;i=g&255;if(i<<24>>24<=-1)break a;if(!(j[(k[d+8>>2]|0)+(g<<24>>24<<1)>>1]&2048))break a;f=((Ri[k[(k[d>>2]|0)+36>>2]&255](d,i,0)|0)<<24>>24)+(f*10|0)|0;g=k[a>>2]|0;i=k[g+12>>2]|0;if((i|0)==(k[g+16>>2]|0)){Gi[k[(k[g>>2]|0)+40>>2]&2047](g)|0;n=o;m=h;continue}else{k[g+12>>2]=i+1;n=o;m=h;continue}}do if(!g)g=0;else if((k[g+12>>2]|0)==(k[g+16>>2]|0))if((Gi[k[(k[g>>2]|0)+36>>2]&2047](g)|0)==-1){k[a>>2]=0;g=0;break}else{g=k[a>>2]|0;break}while(0);g=(g|0)==0;do if(!h)p=50;else{if((k[h+12>>2]|0)==(k[h+16>>2]|0))if((Gi[k[(k[h>>2]|0)+36>>2]&2047](h)|0)==-1){k[b>>2]=0;p=50;break}if(g)break a}while(0);if((p|0)==50)if(!g)break;k[c>>2]=k[c>>2]|2;break}k[c>>2]=k[c>>2]|4;f=0}while(0);return f|0}function ivb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,l=0,m=0;j=r;r=r+144|0;k[e>>2]=0;m=Gsb(d)|0;k[j+128>>2]=m;h=gtb(j+128|0,1203700)|0;sAb(m)|0;do switch(g<<24>>24|0){case 65:case 97:{k[j+124>>2]=k[c>>2];k[j+132>>2]=k[j+124>>2];cvb(a,f+24|0,b,j+132|0,e,h);l=26;break}case 104:case 66:case 98:{k[j+120>>2]=k[c>>2];k[j+132>>2]=k[j+120>>2];evb(a,f+16|0,b,j+132|0,e,h);l=26;break}case 99:{l=Gi[k[(k[a+8>>2]|0)+12>>2]&2047](a+8|0)|0;k[j+112>>2]=k[b>>2];k[j+108>>2]=k[c>>2];g=i[l>>0]|0;m=(g&1)==0?l+1|0:k[l+8>>2]|0;l=m+((g&1)==0?(g&255)>>>1:k[l+4>>2]|0)|0;k[j+116>>2]=k[j+112>>2];k[j+132>>2]=k[j+108>>2];l=$ub(a,j+116|0,j+132|0,d,e,f,m,l)|0;k[b>>2]=l;l=26;break}case 101:case 100:{k[j+104>>2]=k[c>>2];k[j+132>>2]=k[j+104>>2];jvb(a,f+12|0,b,j+132|0,e,h);l=26;break}case 68:{k[j+100>>2]=k[b>>2];k[j+96>>2]=k[c>>2];k[j+116>>2]=k[j+100>>2];k[j+132>>2]=k[j+96>>2];l=$ub(a,j+116|0,j+132|0,d,e,f,618276,618284)|0;k[b>>2]=l;l=26;break}case 70:{k[j+92>>2]=k[b>>2];k[j+88>>2]=k[c>>2];k[j+116>>2]=k[j+92>>2];k[j+132>>2]=k[j+88>>2];l=$ub(a,j+116|0,j+132|0,d,e,f,618284,618292)|0;k[b>>2]=l;l=26;break}case 72:{k[j+84>>2]=k[c>>2];k[j+132>>2]=k[j+84>>2];kvb(a,f+8|0,b,j+132|0,e,h);l=26;break}case 73:{k[j+80>>2]=k[c>>2];k[j+132>>2]=k[j+80>>2];lvb(a,f+8|0,b,j+132|0,e,h);l=26;break}case 106:{k[j+76>>2]=k[c>>2];k[j+132>>2]=k[j+76>>2];mvb(a,f+28|0,b,j+132|0,e,h);l=26;break}case 109:{k[j+72>>2]=k[c>>2];k[j+132>>2]=k[j+72>>2];nvb(a,f+16|0,b,j+132|0,e,h);l=26;break}case 77:{k[j+68>>2]=k[c>>2];k[j+132>>2]=k[j+68>>2];ovb(a,f+4|0,b,j+132|0,e,h);l=26;break}case 116:case 110:{k[j+64>>2]=k[c>>2];k[j+132>>2]=k[j+64>>2];pvb(a,b,j+132|0,e,h);l=26;break}case 112:{k[j+60>>2]=k[c>>2];k[j+132>>2]=k[j+60>>2];qvb(a,f+8|0,b,j+132|0,e,h);l=26;break}case 114:{k[j+56>>2]=k[b>>2];k[j+52>>2]=k[c>>2];k[j+116>>2]=k[j+56>>2];k[j+132>>2]=k[j+52>>2];l=$ub(a,j+116|0,j+132|0,d,e,f,618292,618303)|0;k[b>>2]=l;l=26;break}case 82:{k[j+48>>2]=k[b>>2];k[j+44>>2]=k[c>>2];k[j+116>>2]=k[j+48>>2];k[j+132>>2]=k[j+44>>2];l=$ub(a,j+116|0,j+132|0,d,e,f,618303,618308)|0;k[b>>2]=l;l=26;break}case 83:{k[j+40>>2]=k[c>>2];k[j+132>>2]=k[j+40>>2];rvb(a,f,b,j+132|0,e,h);l=26;break}case 84:{k[j+36>>2]=k[b>>2];k[j+32>>2]=k[c>>2];k[j+116>>2]=k[j+36>>2];k[j+132>>2]=k[j+32>>2];l=$ub(a,j+116|0,j+132|0,d,e,f,618308,618316)|0;k[b>>2]=l;l=26;break}case 119:{k[j+28>>2]=k[c>>2];k[j+132>>2]=k[j+28>>2];svb(a,f+24|0,b,j+132|0,e,h);l=26;break}case 120:{h=k[(k[a>>2]|0)+20>>2]|0;k[j+24>>2]=k[b>>2];k[j+20>>2]=k[c>>2];k[j+116>>2]=k[j+24>>2];k[j+132>>2]=k[j+20>>2];h=Ei[h&63](a,j+116|0,j+132|0,d,e,f)|0;break}case 88:{l=Gi[k[(k[a+8>>2]|0)+24>>2]&2047](a+8|0)|0;k[j+16>>2]=k[b>>2];k[j+12>>2]=k[c>>2];g=i[l>>0]|0;m=(g&1)==0?l+1|0:k[l+8>>2]|0;l=m+((g&1)==0?(g&255)>>>1:k[l+4>>2]|0)|0;k[j+116>>2]=k[j+16>>2];k[j+132>>2]=k[j+12>>2];l=$ub(a,j+116|0,j+132|0,d,e,f,m,l)|0;k[b>>2]=l;l=26;break}case 121:{k[j+8>>2]=k[c>>2];k[j+132>>2]=k[j+8>>2];gvb(a,f+20|0,b,j+132|0,e,h);l=26;break}case 89:{k[j+4>>2]=k[c>>2];k[j+132>>2]=k[j+4>>2];tvb(a,f+20|0,b,j+132|0,e,h);l=26;break}case 37:{k[j>>2]=k[c>>2];k[j+132>>2]=k[j>>2];uvb(a,b,j+132|0,e,h);l=26;break}default:{k[e>>2]=k[e>>2]|4;l=26}}while(0);if((l|0)==26)h=k[b>>2]|0;r=j;return h|0}function jvb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+16|0;k[g>>2]=k[d>>2];k[g+4>>2]=k[g>>2];a=hvb(c,g+4|0,e,f,2)|0;c=k[e>>2]|0;if((a+-1|0)>>>0<31&(c&4|0)==0)k[b>>2]=a;else k[e>>2]=c|4;r=g;return}function kvb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+16|0;k[g>>2]=k[d>>2];k[g+4>>2]=k[g>>2];a=hvb(c,g+4|0,e,f,2)|0;c=k[e>>2]|0;if((a|0)<24&(c&4|0)==0)k[b>>2]=a;else k[e>>2]=c|4;r=g;return}function lvb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+16|0;k[g>>2]=k[d>>2];k[g+4>>2]=k[g>>2];a=hvb(c,g+4|0,e,f,2)|0;c=k[e>>2]|0;if((a+-1|0)>>>0<12&(c&4|0)==0)k[b>>2]=a;else k[e>>2]=c|4;r=g;return}function mvb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+16|0;k[g>>2]=k[d>>2];k[g+4>>2]=k[g>>2];a=hvb(c,g+4|0,e,f,3)|0;c=k[e>>2]|0;if((a|0)<366&(c&4|0)==0)k[b>>2]=a;else k[e>>2]=c|4;r=g;return}function nvb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+16|0;k[g>>2]=k[d>>2];k[g+4>>2]=k[g>>2];a=hvb(c,g+4|0,e,f,2)|0;c=k[e>>2]|0;if((a|0)<13&(c&4|0)==0)k[b>>2]=a+-1;else k[e>>2]=c|4;r=g;return}function ovb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+16|0;k[g>>2]=k[d>>2];k[g+4>>2]=k[g>>2];a=hvb(c,g+4|0,e,f,2)|0;c=k[e>>2]|0;if((a|0)<60&(c&4|0)==0)k[b>>2]=a;else k[e>>2]=c|4;r=g;return}function pvb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;a:while(1){a=k[b>>2]|0;do if(!a)a=0;else if((k[a+12>>2]|0)==(k[a+16>>2]|0))if((Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0)==-1){k[b>>2]=0;a=0;break}else{a=k[b>>2]|0;break}while(0);a=(a|0)==0;f=k[c>>2]|0;do if(!f)h=12;else{if((k[f+12>>2]|0)!=(k[f+16>>2]|0))if(a)break;else break a;if((Gi[k[(k[f>>2]|0)+36>>2]&2047](f)|0)==-1){k[c>>2]=0;h=12;break}else if(a)break;else break a}while(0);if((h|0)==12){h=0;if(a){f=0;break}else f=0}a=k[b>>2]|0;g=k[a+12>>2]|0;if((g|0)==(k[a+16>>2]|0))a=Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0;else a=l[g>>0]|0;if((a&255)<<24>>24<=-1)break;if(!(j[(k[e+8>>2]|0)+(a<<24>>24<<1)>>1]&8192))break;a=k[b>>2]|0;f=k[a+12>>2]|0;if((f|0)==(k[a+16>>2]|0)){Gi[k[(k[a>>2]|0)+40>>2]&2047](a)|0;continue}else{k[a+12>>2]=f+1;continue}}a=k[b>>2]|0;do if(!a)a=0;else if((k[a+12>>2]|0)==(k[a+16>>2]|0))if((Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0)==-1){k[b>>2]=0;a=0;break}else{a=k[b>>2]|0;break}while(0);a=(a|0)==0;do if(!f)h=32;else{if((k[f+12>>2]|0)==(k[f+16>>2]|0))if((Gi[k[(k[f>>2]|0)+36>>2]&2047](f)|0)==-1){k[c>>2]=0;h=32;break}if(!a)h=33}while(0);if((h|0)==32)if(a)h=33;if((h|0)==33)k[d>>2]=k[d>>2]|2;return}function qvb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0;j=r;r=r+16|0;h=Gi[k[(k[a+8>>2]|0)+8>>2]&2047](a+8|0)|0;a=i[h>>0]|0;if(!(a&1))g=(a&255)>>>1;else g=k[h+4>>2]|0;a=i[h+12>>0]|0;if(!(a&1))a=(a&255)>>>1;else a=k[h+16>>2]|0;do if((g|0)==(0-a|0))k[e>>2]=k[e>>2]|4;else{k[j>>2]=k[d>>2];k[j+4>>2]=k[j>>2];a=ktb(c,j+4|0,h,h+24|0,f,e,0)|0;g=k[b>>2]|0;if((a|0)==(h|0)&(g|0)==12){k[b>>2]=0;break}if((g|0)<12&(a-h|0)==12)k[b>>2]=g+12}while(0);r=j;return}function rvb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+16|0;k[g>>2]=k[d>>2];k[g+4>>2]=k[g>>2];a=hvb(c,g+4|0,e,f,2)|0;c=k[e>>2]|0;if((a|0)<61&(c&4|0)==0)k[b>>2]=a;else k[e>>2]=c|4;r=g;return}function svb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+16|0;k[g>>2]=k[d>>2];k[g+4>>2]=k[g>>2];a=hvb(c,g+4|0,e,f,1)|0;c=k[e>>2]|0;if((a|0)<7&(c&4|0)==0)k[b>>2]=a;else k[e>>2]=c|4;r=g;return}function tvb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+16|0;k[g>>2]=k[d>>2];k[g+4>>2]=k[g>>2];a=hvb(c,g+4|0,e,f,4)|0;if(!(k[e>>2]&4))k[b>>2]=a+-1900;r=g;return}function uvb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;a=k[b>>2]|0;do if(!a)a=0;else if((k[a+12>>2]|0)==(k[a+16>>2]|0))if((Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0)==-1){k[b>>2]=0;a=0;break}else{a=k[b>>2]|0;break}while(0);f=(a|0)==0;a=k[c>>2]|0;do if(!a)h=11;else{if((k[a+12>>2]|0)==(k[a+16>>2]|0))if((Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0)==-1){k[c>>2]=0;h=11;break}if(f){g=a;h=13}else h=12}while(0);if((h|0)==11)if(f)h=12;else{g=0;h=13}a:do if((h|0)==12)k[d>>2]=k[d>>2]|6;else if((h|0)==13){a=k[b>>2]|0;f=k[a+12>>2]|0;if((f|0)==(k[a+16>>2]|0))a=Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0;else a=l[f>>0]|0;if((Ri[k[(k[e>>2]|0)+36>>2]&255](e,a&255,0)|0)<<24>>24!=37){k[d>>2]=k[d>>2]|4;break}a=k[b>>2]|0;f=k[a+12>>2]|0;if((f|0)==(k[a+16>>2]|0)){Gi[k[(k[a>>2]|0)+40>>2]&2047](a)|0;a=k[b>>2]|0;if(!a)a=0;else h=21}else{k[a+12>>2]=f+1;h=21}do if((h|0)==21)if((k[a+12>>2]|0)==(k[a+16>>2]|0))if((Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0)==-1){k[b>>2]=0;a=0;break}else{a=k[b>>2]|0;break}while(0);a=(a|0)==0;do if(!g)h=30;else{if((k[g+12>>2]|0)==(k[g+16>>2]|0))if((Gi[k[(k[g>>2]|0)+36>>2]&2047](g)|0)==-1){k[c>>2]=0;h=30;break}if(a)break a}while(0);if((h|0)==30)if(!a)break;k[d>>2]=k[d>>2]|2}while(0);return}function vvb(a){a=a|0;var b=0;if(!(i[622144]|0))if(Ce(622144)|0){if(!(i[622152]|0))if(Ce(622152)|0){a=1203772;do{b=0;while(1){if((b|0)==3)break;k[a+(b<<2)>>2]=0;b=b+1|0}a=a+12|0}while((a|0)!=1203940);pd(622152)}drb(1203772,618316)|0;drb(1203784,618323)|0;drb(1203796,618330)|0;drb(1203808,618338)|0;drb(1203820,618348)|0;drb(1203832,618357)|0;drb(1203844,618364)|0;drb(1203856,618373)|0;drb(1203868,618377)|0;drb(1203880,618381)|0;drb(1203892,618385)|0;drb(1203904,618389)|0;drb(1203916,618393)|0;drb(1203928,618397)|0;k[300985]=1203772;pd(622144)}return k[300985]|0}function wvb(a){a=a|0;var b=0;if(!(i[622160]|0))if(Ce(622160)|0){if(!(i[622168]|0))if(Ce(622168)|0){a=1203944;do{b=0;while(1){if((b|0)==3)break;k[a+(b<<2)>>2]=0;b=b+1|0}a=a+12|0}while((a|0)!=1204232);pd(622168)}drb(1203944,618401)|0;drb(1203956,618409)|0;drb(1203968,618418)|0;drb(1203980,618424)|0;drb(1203992,618430)|0;drb(1204004,618434)|0;drb(1204016,618439)|0;drb(1204028,618444)|0;drb(1204040,618451)|0;drb(1204052,618461)|0;drb(1204064,618469)|0;drb(1204076,618478)|0;drb(1204088,618487)|0;drb(1204100,618491)|0;drb(1204112,618495)|0;drb(1204124,618499)|0;drb(1204136,618430)|0;drb(1204148,618503)|0;drb(1204160,618507)|0;drb(1204172,618511)|0;drb(1204184,618515)|0;drb(1204196,618519)|0;drb(1204208,618523)|0;drb(1204220,618527)|0;k[301058]=1203944;pd(622160)}return k[301058]|0}function xvb(a){a=a|0;var b=0;if(!(i[622176]|0))if(Ce(622176)|0){if(!(i[622184]|0))if(Ce(622184)|0){a=1204236;do{b=0;while(1){if((b|0)==3)break;k[a+(b<<2)>>2]=0;b=b+1|0}a=a+12|0}while((a|0)!=1204524);pd(622184)}drb(1204236,618531)|0;drb(1204248,618534)|0;k[301131]=1204236;pd(622176)}return k[301131]|0}function yvb(a){a=a|0;if(!(i[622192]|0))if(Ce(622192)|0){Wqb(1204528,618537,20);pd(622192)}return 1204528}function zvb(a){a=a|0;if(!(i[622200]|0))if(Ce(622200)|0){Wqb(1204540,618558,11);pd(622200)}return 1204540}function Avb(a){a=a|0;if(!(i[622208]|0))if(Ce(622208)|0){Wqb(1204552,618570,8);pd(622208)}return 1204552}function Bvb(a){a=a|0;if(!(i[622216]|0))if(Ce(622216)|0){Wqb(1204564,618579,8);pd(622216)}return 1204564}function Cvb(a){a=a|0;return}function Dvb(a){a=a|0;CAb(a);return}function Evb(a){a=a|0;return 2}function Fvb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+16|0;k[g+4>>2]=k[b>>2];k[g>>2]=k[c>>2];k[g+8>>2]=k[g+4>>2];k[g+12>>2]=k[g>>2];a=Gvb(a,g+8|0,g+12|0,d,e,f,153780,153812)|0;r=g;return a|0}function Gvb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0;s=r;r=r+32|0;i=Gsb(d)|0;k[s+8>>2]=i;p=gtb(s+8|0,1203732)|0;sAb(i)|0;k[e>>2]=0;i=g;g=0;a:while(1){o=(i|0)!=(h|0);while(1){j=k[b>>2]|0;if(!(o&(g|0)==0)){g=j;break a}if(!j){g=0;n=j;l=1}else{g=k[j+12>>2]|0;if((g|0)==(k[j+16>>2]|0))g=Gi[k[(k[j>>2]|0)+36>>2]&2047](j)|0;else g=k[g>>2]|0;if((g|0)==-1){k[b>>2]=0;g=0;n=0;l=1}else{g=j;n=j;l=0}}m=k[c>>2]|0;do if(!m){j=m;q=16}else{j=k[m+12>>2]|0;if((j|0)==(k[m+16>>2]|0))j=Gi[k[(k[m>>2]|0)+36>>2]&2047](m)|0;else j=k[j>>2]|0;if((j|0)==-1){k[c>>2]=0;j=0;q=16;break}else if(l){l=m;j=m;break}else{q=18;break a}}while(0);if((q|0)==16){q=0;if(l){q=18;break a}else l=0}if((Ri[k[(k[p>>2]|0)+52>>2]&255](p,k[i>>2]|0,0)|0)<<24>>24==37){o=n;n=j;q=20;break}if(Ri[k[(k[p>>2]|0)+12>>2]&255](p,8192,k[i>>2]|0)|0){q=28;break}l=g+12|0;j=k[l>>2]|0;m=g+16|0;if((j|0)==(k[m>>2]|0))j=Gi[k[(k[g>>2]|0)+36>>2]&2047](g)|0;else j=k[j>>2]|0;n=gj[k[(k[p>>2]|0)+28>>2]&511](p,j)|0;if((n|0)==(gj[k[(k[p>>2]|0)+28>>2]&511](p,k[i>>2]|0)|0)){q=57;break}k[e>>2]=4;g=4}b:do if((q|0)==20){q=0;j=i+4|0;if((j|0)==(h|0)){q=21;break a}m=Ri[k[(k[p>>2]|0)+52>>2]&255](p,k[j>>2]|0,0)|0;switch(m<<24>>24){case 48:case 69:{l=i+8|0;if((l|0)==(h|0)){q=26;break a}i=j;j=Ri[k[(k[p>>2]|0)+52>>2]&255](p,k[l>>2]|0,0)|0;g=m;break}default:{j=m;g=0}}m=k[(k[a>>2]|0)+36>>2]|0;k[s+4>>2]=o;k[s>>2]=n;k[s+12>>2]=k[s+4>>2];k[s+16>>2]=k[s>>2];g=sj[m&31](a,s+12|0,s+16|0,d,e,f,j,g)|0;k[b>>2]=g;g=i+8|0}else if((q|0)==28){q=0;do{i=i+4|0;if((i|0)==(h|0)){i=h;break}}while(Ri[k[(k[p>>2]|0)+12>>2]&255](p,8192,k[i>>2]|0)|0);j=l;n=l;while(1){if(!g){g=0;m=1}else{l=k[g+12>>2]|0;if((l|0)==(k[g+16>>2]|0))l=Gi[k[(k[g>>2]|0)+36>>2]&2047](g)|0;else l=k[l>>2]|0;if((l|0)==-1){k[b>>2]=0;g=0;m=1}else m=0}do if(!n)q=44;else{l=k[n+12>>2]|0;if((l|0)==(k[n+16>>2]|0))l=Gi[k[(k[n>>2]|0)+36>>2]&2047](n)|0;else l=k[l>>2]|0;if((l|0)==-1){k[c>>2]=0;j=0;q=44;break}else if(m^(j|0)==0){o=j;n=j;break}else{g=i;break b}}while(0);if((q|0)==44){q=0;if(m){g=i;break b}else{o=j;n=0}}m=g+12|0;j=k[m>>2]|0;l=g+16|0;if((j|0)==(k[l>>2]|0))j=Gi[k[(k[g>>2]|0)+36>>2]&2047](g)|0;else j=k[j>>2]|0;if(!(Ri[k[(k[p>>2]|0)+12>>2]&255](p,8192,j)|0)){g=i;break b}j=k[m>>2]|0;if((j|0)==(k[l>>2]|0)){Gi[k[(k[g>>2]|0)+40>>2]&2047](g)|0;j=o;continue}else{k[m>>2]=j+4;j=o;continue}}}else if((q|0)==57){q=0;j=k[l>>2]|0;if((j|0)==(k[m>>2]|0))Gi[k[(k[g>>2]|0)+40>>2]&2047](g)|0;else k[l>>2]=j+4;g=i+4|0}while(0);i=g;g=k[e>>2]|0}if((q|0)==18)k[e>>2]=4;else if((q|0)==21)k[e>>2]=4;else if((q|0)==26)k[e>>2]=4;if(!g){g=0;l=1}else{i=k[g+12>>2]|0;if((i|0)==(k[g+16>>2]|0))i=Gi[k[(k[g>>2]|0)+36>>2]&2047](g)|0;else i=k[i>>2]|0;if((i|0)==-1){k[b>>2]=0;g=0;l=1}else l=0}i=k[c>>2]|0;do if(!i)q=75;else{j=k[i+12>>2]|0;if((j|0)==(k[i+16>>2]|0))i=Gi[k[(k[i>>2]|0)+36>>2]&2047](i)|0;else i=k[j>>2]|0;if((i|0)==-1){k[c>>2]=0;q=75;break}else if(l)break;else{q=77;break}}while(0);if((q|0)==75)if(l)q=77;if((q|0)==77)k[e>>2]=k[e>>2]|2;r=s;return g|0}function Hvb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=r;r=r+16|0;h=Gi[k[(k[a+8>>2]|0)+20>>2]&2047](a+8|0)|0;k[g+4>>2]=k[b>>2];k[g>>2]=k[c>>2];c=i[h>>0]|0;b=(c&1)==0?h+4|0:k[h+8>>2]|0;c=b+(((c&1)==0?(c&255)>>>1:k[h+4>>2]|0)<<2)|0;k[g+8>>2]=k[g+4>>2];k[g+12>>2]=k[g>>2];a=Gvb(a,g+8|0,g+12|0,d,e,f,b,c)|0;r=g;return a|0}function Ivb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=r;r=r+16|0;h=Gsb(d)|0;k[g+4>>2]=h;d=gtb(g+4|0,1203732)|0;sAb(h)|0;k[g>>2]=k[c>>2];k[g+8>>2]=k[g>>2];Jvb(a,f+24|0,b,g+8|0,e,d);r=g;return k[b>>2]|0}function Jvb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+16|0;a=Gi[k[k[a+8>>2]>>2]&2047](a+8|0)|0;k[g>>2]=k[d>>2];k[g+4>>2]=k[g>>2];c=(Xtb(c,g+4|0,a,a+168|0,f,e,0)|0)-a|0;if((c|0)<168)k[b>>2]=((c|0)/12|0|0)%7|0;r=g;return}function Kvb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=r;r=r+16|0;h=Gsb(d)|0;k[g+4>>2]=h;d=gtb(g+4|0,1203732)|0;sAb(h)|0;k[g>>2]=k[c>>2];k[g+8>>2]=k[g>>2];Lvb(a,f+16|0,b,g+8|0,e,d);r=g;return k[b>>2]|0}function Lvb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+16|0;a=Gi[k[(k[a+8>>2]|0)+4>>2]&2047](a+8|0)|0;k[g>>2]=k[d>>2];k[g+4>>2]=k[g>>2];c=(Xtb(c,g+4|0,a,a+288|0,f,e,0)|0)-a|0;if((c|0)<288)k[b>>2]=((c|0)/12|0|0)%12|0;r=g;return}function Mvb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=r;r=r+16|0;h=Gsb(d)|0;k[g+4>>2]=h;d=gtb(g+4|0,1203732)|0;sAb(h)|0;k[g>>2]=k[c>>2];k[g+8>>2]=k[g>>2];Nvb(a,f+20|0,b,g+8|0,e,d);r=g;return k[b>>2]|0}function Nvb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+16|0;k[g>>2]=k[d>>2];k[g+4>>2]=k[g>>2];a=Ovb(c,g+4|0,e,f,4)|0;if(!(k[e>>2]&4)){if((a|0)<69)a=a+2e3|0;else a=(a+-69|0)>>>0<31?a+1900|0:a;k[b>>2]=a+-1900}r=g;return}function Ovb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0;f=k[a>>2]|0;do if(!f)h=1;else{g=k[f+12>>2]|0;if((g|0)==(k[f+16>>2]|0))f=Gi[k[(k[f>>2]|0)+36>>2]&2047](f)|0;else f=k[g>>2]|0;if((f|0)==-1){k[a>>2]=0;h=1;break}else{h=(k[a>>2]|0)==0;break}}while(0);g=k[b>>2]|0;do if(!g)o=14;else{f=k[g+12>>2]|0;if((f|0)==(k[g+16>>2]|0))f=Gi[k[(k[g>>2]|0)+36>>2]&2047](g)|0;else f=k[f>>2]|0;if((f|0)==-1){k[b>>2]=0;o=14;break}else if(h){o=17;break}else{o=16;break}}while(0);if((o|0)==14)if(h)o=16;else{g=0;o=17}a:do if((o|0)==16){k[c>>2]=k[c>>2]|6;f=0}else if((o|0)==17){f=k[a>>2]|0;h=k[f+12>>2]|0;if((h|0)==(k[f+16>>2]|0))f=Gi[k[(k[f>>2]|0)+36>>2]&2047](f)|0;else f=k[h>>2]|0;if(!(Ri[k[(k[d>>2]|0)+12>>2]&255](d,2048,f)|0)){k[c>>2]=k[c>>2]|4;f=0;break}f=(Ri[k[(k[d>>2]|0)+52>>2]&255](d,f,0)|0)<<24>>24;h=k[a>>2]|0;i=k[h+12>>2]|0;if((i|0)==(k[h+16>>2]|0)){Gi[k[(k[h>>2]|0)+40>>2]&2047](h)|0;m=e;l=g;i=g}else{k[h+12>>2]=i+4;m=e;l=g;i=g}while(1){f=f+-48|0;n=m+-1|0;g=k[a>>2]|0;do if(!g)e=1;else{h=k[g+12>>2]|0;if((h|0)==(k[g+16>>2]|0))g=Gi[k[(k[g>>2]|0)+36>>2]&2047](g)|0;else g=k[h>>2]|0;if((g|0)==-1){k[a>>2]=0;e=1;break}else{e=(k[a>>2]|0)==0;break}}while(0);do if(!i){i=l;j=0;g=1}else{g=k[i+12>>2]|0;if((g|0)==(k[i+16>>2]|0))g=Gi[k[(k[i>>2]|0)+36>>2]&2047](i)|0;else g=k[g>>2]|0;if((g|0)==-1){k[b>>2]=0;i=0;j=0;g=1;break}else{i=l;j=l;g=(l|0)==0;break}}while(0);h=k[a>>2]|0;if(!((m|0)>1&(e^g)))break;g=k[h+12>>2]|0;if((g|0)==(k[h+16>>2]|0))g=Gi[k[(k[h>>2]|0)+36>>2]&2047](h)|0;else g=k[g>>2]|0;if(!(Ri[k[(k[d>>2]|0)+12>>2]&255](d,2048,g)|0))break a;f=((Ri[k[(k[d>>2]|0)+52>>2]&255](d,g,0)|0)<<24>>24)+(f*10|0)|0;g=k[a>>2]|0;h=k[g+12>>2]|0;if((h|0)==(k[g+16>>2]|0)){Gi[k[(k[g>>2]|0)+40>>2]&2047](g)|0;m=n;l=i;i=j;continue}else{k[g+12>>2]=h+4;m=n;l=i;i=j;continue}}do if(!h)h=1;else{g=k[h+12>>2]|0;if((g|0)==(k[h+16>>2]|0))g=Gi[k[(k[h>>2]|0)+36>>2]&2047](h)|0;else g=k[g>>2]|0;if((g|0)==-1){k[a>>2]=0;h=1;break}else{h=(k[a>>2]|0)==0;break}}while(0);do if(!i)o=60;else{g=k[i+12>>2]|0;if((g|0)==(k[i+16>>2]|0))g=Gi[k[(k[i>>2]|0)+36>>2]&2047](i)|0;else g=k[g>>2]|0;if((g|0)==-1){k[b>>2]=0;o=60;break}else if(h)break a;else break}while(0);if((o|0)==60)if(!h)break;k[c>>2]=k[c>>2]|2}while(0);return f|0}function Pvb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,l=0,m=0;j=r;r=r+144|0;k[e>>2]=0;m=Gsb(d)|0;k[j+128>>2]=m;h=gtb(j+128|0,1203732)|0;sAb(m)|0;do switch(g<<24>>24|0){case 65:case 97:{k[j+124>>2]=k[c>>2];k[j+132>>2]=k[j+124>>2];Jvb(a,f+24|0,b,j+132|0,e,h);l=26;break}case 104:case 66:case 98:{k[j+120>>2]=k[c>>2];k[j+132>>2]=k[j+120>>2];Lvb(a,f+16|0,b,j+132|0,e,h);l=26;break}case 99:{l=Gi[k[(k[a+8>>2]|0)+12>>2]&2047](a+8|0)|0;k[j+112>>2]=k[b>>2];k[j+108>>2]=k[c>>2];g=i[l>>0]|0;m=(g&1)==0?l+4|0:k[l+8>>2]|0;l=m+(((g&1)==0?(g&255)>>>1:k[l+4>>2]|0)<<2)|0;k[j+116>>2]=k[j+112>>2];k[j+132>>2]=k[j+108>>2];l=Gvb(a,j+116|0,j+132|0,d,e,f,m,l)|0;k[b>>2]=l;l=26;break}case 101:case 100:{k[j+104>>2]=k[c>>2];k[j+132>>2]=k[j+104>>2];Qvb(a,f+12|0,b,j+132|0,e,h);l=26;break}case 68:{k[j+100>>2]=k[b>>2];k[j+96>>2]=k[c>>2];k[j+116>>2]=k[j+100>>2];k[j+132>>2]=k[j+96>>2];l=Gvb(a,j+116|0,j+132|0,d,e,f,153812,153844)|0;k[b>>2]=l;l=26;break}case 70:{k[j+92>>2]=k[b>>2];k[j+88>>2]=k[c>>2];k[j+116>>2]=k[j+92>>2];k[j+132>>2]=k[j+88>>2];l=Gvb(a,j+116|0,j+132|0,d,e,f,153844,153876)|0;k[b>>2]=l;l=26;break}case 72:{k[j+84>>2]=k[c>>2];k[j+132>>2]=k[j+84>>2];Rvb(a,f+8|0,b,j+132|0,e,h);l=26;break}case 73:{k[j+80>>2]=k[c>>2];k[j+132>>2]=k[j+80>>2];Svb(a,f+8|0,b,j+132|0,e,h);l=26;break}case 106:{k[j+76>>2]=k[c>>2];k[j+132>>2]=k[j+76>>2];Tvb(a,f+28|0,b,j+132|0,e,h);l=26;break}case 109:{k[j+72>>2]=k[c>>2];k[j+132>>2]=k[j+72>>2];Uvb(a,f+16|0,b,j+132|0,e,h);l=26;break}case 77:{k[j+68>>2]=k[c>>2];k[j+132>>2]=k[j+68>>2];Vvb(a,f+4|0,b,j+132|0,e,h);l=26;break}case 116:case 110:{k[j+64>>2]=k[c>>2];k[j+132>>2]=k[j+64>>2];Wvb(a,b,j+132|0,e,h);l=26;break}case 112:{k[j+60>>2]=k[c>>2];k[j+132>>2]=k[j+60>>2];Xvb(a,f+8|0,b,j+132|0,e,h);l=26;break}case 114:{k[j+56>>2]=k[b>>2];k[j+52>>2]=k[c>>2];k[j+116>>2]=k[j+56>>2];k[j+132>>2]=k[j+52>>2];l=Gvb(a,j+116|0,j+132|0,d,e,f,153876,153920)|0;k[b>>2]=l;l=26;break}case 82:{k[j+48>>2]=k[b>>2];k[j+44>>2]=k[c>>2];k[j+116>>2]=k[j+48>>2];k[j+132>>2]=k[j+44>>2];l=Gvb(a,j+116|0,j+132|0,d,e,f,153920,153940)|0;k[b>>2]=l;l=26;break}case 83:{k[j+40>>2]=k[c>>2];k[j+132>>2]=k[j+40>>2];Yvb(a,f,b,j+132|0,e,h);l=26;break}case 84:{k[j+36>>2]=k[b>>2];k[j+32>>2]=k[c>>2];k[j+116>>2]=k[j+36>>2];k[j+132>>2]=k[j+32>>2];l=Gvb(a,j+116|0,j+132|0,d,e,f,153940,153972)|0;k[b>>2]=l;l=26;break}case 119:{k[j+28>>2]=k[c>>2];k[j+132>>2]=k[j+28>>2];Zvb(a,f+24|0,b,j+132|0,e,h);l=26;break}case 120:{h=k[(k[a>>2]|0)+20>>2]|0;k[j+24>>2]=k[b>>2];k[j+20>>2]=k[c>>2];k[j+116>>2]=k[j+24>>2];k[j+132>>2]=k[j+20>>2];h=Ei[h&63](a,j+116|0,j+132|0,d,e,f)|0;break}case 88:{l=Gi[k[(k[a+8>>2]|0)+24>>2]&2047](a+8|0)|0;k[j+16>>2]=k[b>>2];k[j+12>>2]=k[c>>2];g=i[l>>0]|0;m=(g&1)==0?l+4|0:k[l+8>>2]|0;l=m+(((g&1)==0?(g&255)>>>1:k[l+4>>2]|0)<<2)|0;k[j+116>>2]=k[j+16>>2];k[j+132>>2]=k[j+12>>2];l=Gvb(a,j+116|0,j+132|0,d,e,f,m,l)|0;k[b>>2]=l;l=26;break}case 121:{k[j+8>>2]=k[c>>2];k[j+132>>2]=k[j+8>>2];Nvb(a,f+20|0,b,j+132|0,e,h);l=26;break}case 89:{k[j+4>>2]=k[c>>2];k[j+132>>2]=k[j+4>>2];_vb(a,f+20|0,b,j+132|0,e,h);l=26;break}case 37:{k[j>>2]=k[c>>2];k[j+132>>2]=k[j>>2];$vb(a,b,j+132|0,e,h);l=26;break}default:{k[e>>2]=k[e>>2]|4;l=26}}while(0);if((l|0)==26)h=k[b>>2]|0;r=j;return h|0}function Qvb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+16|0;k[g>>2]=k[d>>2];k[g+4>>2]=k[g>>2];a=Ovb(c,g+4|0,e,f,2)|0;c=k[e>>2]|0;if((a+-1|0)>>>0<31&(c&4|0)==0)k[b>>2]=a;else k[e>>2]=c|4;r=g;return}function Rvb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+16|0;k[g>>2]=k[d>>2];k[g+4>>2]=k[g>>2];a=Ovb(c,g+4|0,e,f,2)|0;c=k[e>>2]|0;if((a|0)<24&(c&4|0)==0)k[b>>2]=a;else k[e>>2]=c|4;r=g;return}function Svb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+16|0;k[g>>2]=k[d>>2];k[g+4>>2]=k[g>>2];a=Ovb(c,g+4|0,e,f,2)|0;c=k[e>>2]|0;if((a+-1|0)>>>0<12&(c&4|0)==0)k[b>>2]=a;else k[e>>2]=c|4;r=g;return}function Tvb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+16|0;k[g>>2]=k[d>>2];k[g+4>>2]=k[g>>2];a=Ovb(c,g+4|0,e,f,3)|0;c=k[e>>2]|0;if((a|0)<366&(c&4|0)==0)k[b>>2]=a;else k[e>>2]=c|4;r=g;return}function Uvb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+16|0;k[g>>2]=k[d>>2];k[g+4>>2]=k[g>>2];a=Ovb(c,g+4|0,e,f,2)|0;c=k[e>>2]|0;if((a|0)<13&(c&4|0)==0)k[b>>2]=a+-1;else k[e>>2]=c|4;r=g;return}function Vvb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+16|0;k[g>>2]=k[d>>2];k[g+4>>2]=k[g>>2];a=Ovb(c,g+4|0,e,f,2)|0;c=k[e>>2]|0;if((a|0)<60&(c&4|0)==0)k[b>>2]=a;else k[e>>2]=c|4;r=g;return}function Wvb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;a:while(1){a=k[b>>2]|0;do if(!a)g=1;else{f=k[a+12>>2]|0;if((f|0)==(k[a+16>>2]|0))a=Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0;else a=k[f>>2]|0;if((a|0)==-1){k[b>>2]=0;g=1;break}else{g=(k[b>>2]|0)==0;break}}while(0);f=k[c>>2]|0;do if(!f)h=15;else{a=k[f+12>>2]|0;if((a|0)==(k[f+16>>2]|0))a=Gi[k[(k[f>>2]|0)+36>>2]&2047](f)|0;else a=k[a>>2]|0;if((a|0)==-1){k[c>>2]=0;h=15;break}else if(g){g=f;break}else{g=f;break a}}while(0);if((h|0)==15){h=0;if(g){g=0;break}else g=0}a=k[b>>2]|0;f=k[a+12>>2]|0;if((f|0)==(k[a+16>>2]|0))a=Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0;else a=k[f>>2]|0;if(!(Ri[k[(k[e>>2]|0)+12>>2]&255](e,8192,a)|0))break;a=k[b>>2]|0;f=k[a+12>>2]|0;if((f|0)==(k[a+16>>2]|0)){Gi[k[(k[a>>2]|0)+40>>2]&2047](a)|0;continue}else{k[a+12>>2]=f+4;continue}}a=k[b>>2]|0;do if(!a)f=1;else{f=k[a+12>>2]|0;if((f|0)==(k[a+16>>2]|0))a=Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0;else a=k[f>>2]|0;if((a|0)==-1){k[b>>2]=0;f=1;break}else{f=(k[b>>2]|0)==0;break}}while(0);do if(!g)h=37;else{a=k[g+12>>2]|0;if((a|0)==(k[g+16>>2]|0))a=Gi[k[(k[g>>2]|0)+36>>2]&2047](g)|0;else a=k[a>>2]|0;if((a|0)==-1){k[c>>2]=0;h=37;break}else if(f)break;else{h=39;break}}while(0);if((h|0)==37)if(f)h=39;if((h|0)==39)k[d>>2]=k[d>>2]|2;return}function Xvb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0;j=r;r=r+16|0;h=Gi[k[(k[a+8>>2]|0)+8>>2]&2047](a+8|0)|0;a=i[h>>0]|0;if(!(a&1))g=(a&255)>>>1;else g=k[h+4>>2]|0;a=i[h+12>>0]|0;if(!(a&1))a=(a&255)>>>1;else a=k[h+16>>2]|0;do if((g|0)==(0-a|0))k[e>>2]=k[e>>2]|4;else{k[j>>2]=k[d>>2];k[j+4>>2]=k[j>>2];a=Xtb(c,j+4|0,h,h+24|0,f,e,0)|0;g=k[b>>2]|0;if((a|0)==(h|0)&(g|0)==12){k[b>>2]=0;break}if((g|0)<12&(a-h|0)==12)k[b>>2]=g+12}while(0);r=j;return}function Yvb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+16|0;k[g>>2]=k[d>>2];k[g+4>>2]=k[g>>2];a=Ovb(c,g+4|0,e,f,2)|0;c=k[e>>2]|0;if((a|0)<61&(c&4|0)==0)k[b>>2]=a;else k[e>>2]=c|4;r=g;return}function Zvb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+16|0;k[g>>2]=k[d>>2];k[g+4>>2]=k[g>>2];a=Ovb(c,g+4|0,e,f,1)|0;c=k[e>>2]|0;if((a|0)<7&(c&4|0)==0)k[b>>2]=a;else k[e>>2]=c|4;r=g;return}function _vb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+16|0;k[g>>2]=k[d>>2];k[g+4>>2]=k[g>>2];a=Ovb(c,g+4|0,e,f,4)|0;if(!(k[e>>2]&4))k[b>>2]=a+-1900;r=g;return}function $vb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;a=k[b>>2]|0;do if(!a)g=1;else{f=k[a+12>>2]|0;if((f|0)==(k[a+16>>2]|0))a=Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0;else a=k[f>>2]|0;if((a|0)==-1){k[b>>2]=0;g=1;break}else{g=(k[b>>2]|0)==0;break}}while(0);f=k[c>>2]|0;do if(!f)h=14;else{a=k[f+12>>2]|0;if((a|0)==(k[f+16>>2]|0))a=Gi[k[(k[f>>2]|0)+36>>2]&2047](f)|0;else a=k[a>>2]|0;if((a|0)==-1){k[c>>2]=0;h=14;break}else if(g){g=f;h=17;break}else{h=16;break}}while(0);if((h|0)==14)if(g)h=16;else{g=0;h=17}a:do if((h|0)==16)k[d>>2]=k[d>>2]|6;else if((h|0)==17){a=k[b>>2]|0;f=k[a+12>>2]|0;if((f|0)==(k[a+16>>2]|0))a=Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0;else a=k[f>>2]|0;if((Ri[k[(k[e>>2]|0)+52>>2]&255](e,a,0)|0)<<24>>24!=37){k[d>>2]=k[d>>2]|4;break}a=k[b>>2]|0;f=k[a+12>>2]|0;if((f|0)==(k[a+16>>2]|0)){Gi[k[(k[a>>2]|0)+40>>2]&2047](a)|0;a=k[b>>2]|0;if(!a)f=1;else h=25}else{k[a+12>>2]=f+4;h=25}do if((h|0)==25){f=k[a+12>>2]|0;if((f|0)==(k[a+16>>2]|0))a=Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0;else a=k[f>>2]|0;if((a|0)==-1){k[b>>2]=0;f=1;break}else{f=(k[b>>2]|0)==0;break}}while(0);do if(!g)h=37;else{a=k[g+12>>2]|0;if((a|0)==(k[g+16>>2]|0))a=Gi[k[(k[g>>2]|0)+36>>2]&2047](g)|0;else a=k[a>>2]|0;if((a|0)==-1){k[c>>2]=0;h=37;break}else if(f)break a;else break}while(0);if((h|0)==37)if(!f)break;k[d>>2]=k[d>>2]|2}while(0);return}function awb(a){a=a|0;var b=0;if(!(i[622224]|0))if(Ce(622224)|0){if(!(i[622232]|0))if(Ce(622232)|0){a=1204584;do{b=0;while(1){if((b|0)==3)break;k[a+(b<<2)>>2]=0;b=b+1|0}a=a+12|0}while((a|0)!=1204752);pd(622232)}Brb(1204584,153972)|0;Brb(1204596,154e3)|0;Brb(1204608,154028)|0;Brb(1204620,154060)|0;Brb(1204632,154100)|0;Brb(1204644,154136)|0;Brb(1204656,154164)|0;Brb(1204668,154200)|0;Brb(1204680,154216)|0;Brb(1204692,154232)|0;Brb(1204704,154248)|0;Brb(1204716,154264)|0;Brb(1204728,154280)|0;Brb(1204740,154296)|0;k[301188]=1204584;pd(622224)}return k[301188]|0}function bwb(a){a=a|0;var b=0;if(!(i[622240]|0))if(Ce(622240)|0){if(!(i[622248]|0))if(Ce(622248)|0){a=1204756;do{b=0;while(1){if((b|0)==3)break;k[a+(b<<2)>>2]=0;b=b+1|0}a=a+12|0}while((a|0)!=1205044);pd(622248)}Brb(1204756,154312)|0;Brb(1204768,154344)|0;Brb(1204780,154380)|0;Brb(1204792,154404)|0;Brb(1204804,154428)|0;Brb(1204816,154444)|0;Brb(1204828,154464)|0;Brb(1204840,154484)|0;Brb(1204852,154512)|0;Brb(1204864,154552)|0;Brb(1204876,154584)|0;Brb(1204888,154620)|0;Brb(1204900,154656)|0;Brb(1204912,154672)|0;Brb(1204924,154688)|0;Brb(1204936,154704)|0;Brb(1204948,154428)|0;Brb(1204960,154720)|0;Brb(1204972,154736)|0;Brb(1204984,154752)|0;Brb(1204996,154768)|0;Brb(1205008,154784)|0;Brb(1205020,154800)|0;Brb(1205032,154816)|0;k[301261]=1204756;pd(622240)}return k[301261]|0}function cwb(a){a=a|0;var b=0;if(!(i[622256]|0))if(Ce(622256)|0){if(!(i[622264]|0))if(Ce(622264)|0){a=1205048;do{b=0;while(1){if((b|0)==3)break;k[a+(b<<2)>>2]=0;b=b+1|0}a=a+12|0}while((a|0)!=1205336);pd(622264)}Brb(1205048,154832)|0;Brb(1205060,154844)|0;k[301334]=1205048;pd(622256)}return k[301334]|0}function dwb(a){a=a|0;if(!(i[622272]|0))if(Ce(622272)|0){urb(1205340,154856,enb(154856)|0);pd(622272)}return 1205340}function ewb(a){a=a|0;if(!(i[622280]|0))if(Ce(622280)|0){urb(1205352,154940,enb(154940)|0);pd(622280)}return 1205352}function fwb(a){a=a|0;if(!(i[622288]|0))if(Ce(622288)|0){urb(1205364,154988,enb(154988)|0);pd(622288)}return 1205364}function gwb(a){a=a|0;if(!(i[622296]|0))if(Ce(622296)|0){urb(1205376,155024,enb(155024)|0);pd(622296)}return 1205376}function hwb(a){a=a|0;iwb(a+8|0);return}function iwb(a){a=a|0;var b=0;b=k[a>>2]|0;if((b|0)!=(qtb()|0))Enb(k[a>>2]|0);return}function jwb(a){a=a|0;iwb(a+8|0);CAb(a);return}function kwb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=r;r=r+112|0;k[h>>2]=h+4+100;lwb(a+8|0,h+4|0,h,e,f,g);a=k[h>>2]|0;e=h+4|0;c=k[b>>2]|0;while(1){if((e|0)==(a|0))break;f=i[e>>0]|0;do if(!c)c=0;else{g=c+24|0;d=k[g>>2]|0;if((d|0)==(k[c+28>>2]|0)){b=(gj[k[(k[c>>2]|0)+52>>2]&511](c,f&255)|0)==-1;c=b?0:c;break}else{k[g>>2]=d+1;i[d>>0]=f;break}}while(0);e=e+1|0}r=h;return c|0}function lwb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+16|0;i[g>>0]=37;i[g+1>>0]=e;i[g+2>>0]=f;i[g+3>>0]=0;if(f<<24>>24){i[g+1>>0]=f;i[g+2>>0]=e}a=b+(ke(b|0,(k[c>>2]|0)-b|0,g|0,d|0,k[a>>2]|0)|0)|0;k[c>>2]=a;r=g;return}function mwb(a){a=a|0;iwb(a+8|0);return}function nwb(a){a=a|0;iwb(a+8|0);CAb(a);return}function owb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=r;r=r+416|0;k[h>>2]=h+8+400;pwb(a+8|0,h+8|0,h,e,f,g);a=k[h>>2]|0;e=h+8|0;c=k[b>>2]|0;while(1){if((e|0)==(a|0))break;d=k[e>>2]|0;if(!c)c=0;else{g=c+24|0;f=k[g>>2]|0;if((f|0)==(k[c+28>>2]|0))d=gj[k[(k[c>>2]|0)+52>>2]&511](c,d)|0;else{k[g>>2]=f+4;k[f>>2]=d}c=(d|0)==-1?0:c}e=e+4|0}r=h;return c|0}function pwb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=r;r=r+128|0;k[g+12>>2]=g+16+100;lwb(a,g+16|0,g+12|0,d,e,f);k[g>>2]=0;k[g+4>>2]=0;k[g+8>>2]=g+16;f=(k[c>>2]|0)-b>>2;e=Rnb(k[a>>2]|0)|0;f=Qob(b,g+8|0,f,g)|0;if(e|0)Rnb(e)|0;k[c>>2]=b+(f<<2);r=g;return}function qwb(a){a=a|0;return}function rwb(a){a=a|0;CAb(a);return}function swb(a){a=a|0;return 127}function twb(a){a=a|0;return 127}function uwb(a,b){a=a|0;b=b|0;b=0;while(1){if((b|0)==3)break;k[a+(b<<2)>>2]=0;b=b+1|0}return}function vwb(a,b){a=a|0;b=b|0;b=0;while(1){if((b|0)==3)break;k[a+(b<<2)>>2]=0;b=b+1|0}return}function wwb(a,b){a=a|0;b=b|0;b=0;while(1){if((b|0)==3)break;k[a+(b<<2)>>2]=0;b=b+1|0}return}function xwb(a,b){a=a|0;b=b|0;Xqb(a,1,45);return}function ywb(a){a=a|0;return 0}function zwb(a,b){a=a|0;b=b|0;i[a>>0]=2;i[a+1>>0]=3;i[a+2>>0]=0;i[a+3>>0]=4;return}function Awb(a,b){a=a|0;b=b|0;i[a>>0]=2;i[a+1>>0]=3;i[a+2>>0]=0;i[a+3>>0]=4;return}function Bwb(a){a=a|0;return}function Cwb(a){a=a|0;CAb(a);return}function Dwb(a){a=a|0;return 127}function Ewb(a){a=a|0;return 127}function Fwb(a,b){a=a|0;b=b|0;b=0;while(1){if((b|0)==3)break;k[a+(b<<2)>>2]=0;b=b+1|0}return}function Gwb(a,b){a=a|0;b=b|0;b=0;while(1){if((b|0)==3)break;k[a+(b<<2)>>2]=0;b=b+1|0}return}function Hwb(a,b){a=a|0;b=b|0;b=0;while(1){if((b|0)==3)break;k[a+(b<<2)>>2]=0;b=b+1|0}return}function Iwb(a,b){a=a|0;b=b|0;Xqb(a,1,45);return}function Jwb(a){a=a|0;return 0}function Kwb(a,b){a=a|0;b=b|0;i[a>>0]=2;i[a+1>>0]=3;i[a+2>>0]=0;i[a+3>>0]=4;return}function Lwb(a,b){a=a|0;b=b|0;i[a>>0]=2;i[a+1>>0]=3;i[a+2>>0]=0;i[a+3>>0]=4;return}function Mwb(a){a=a|0;return}function Nwb(a){a=a|0;CAb(a);return}function Owb(a){a=a|0;return 2147483647}function Pwb(a){a=a|0;return 2147483647}function Qwb(a,b){a=a|0;b=b|0;b=0;while(1){if((b|0)==3)break;k[a+(b<<2)>>2]=0;b=b+1|0}return}function Rwb(a,b){a=a|0;b=b|0;b=0;while(1){if((b|0)==3)break;k[a+(b<<2)>>2]=0;b=b+1|0}return}function Swb(a,b){a=a|0;b=b|0;b=0;while(1){if((b|0)==3)break;k[a+(b<<2)>>2]=0;b=b+1|0}return}function Twb(a,b){a=a|0;b=b|0;vrb(a,1,45);return}function Uwb(a){a=a|0;return 0}function Vwb(a,b){a=a|0;b=b|0;i[a>>0]=2;i[a+1>>0]=3;i[a+2>>0]=0;i[a+3>>0]=4;return}function Wwb(a,b){a=a|0;b=b|0;i[a>>0]=2;i[a+1>>0]=3;i[a+2>>0]=0;i[a+3>>0]=4;return}function Xwb(a){a=a|0;return}function Ywb(a){a=a|0;CAb(a);return}function Zwb(a){a=a|0;return 2147483647}function _wb(a){a=a|0;return 2147483647}function $wb(a,b){a=a|0;b=b|0;b=0;while(1){if((b|0)==3)break;k[a+(b<<2)>>2]=0;b=b+1|0}return}function axb(a,b){a=a|0;b=b|0;b=0;while(1){if((b|0)==3)break;k[a+(b<<2)>>2]=0;b=b+1|0}return}function bxb(a,b){a=a|0;b=b|0;b=0;while(1){if((b|0)==3)break;k[a+(b<<2)>>2]=0;b=b+1|0}return}function cxb(a,b){a=a|0;b=b|0;vrb(a,1,45);return}function dxb(a){a=a|0;return 0}function exb(a,b){a=a|0;b=b|0;i[a>>0]=2;i[a+1>>0]=3;i[a+2>>0]=0;i[a+3>>0]=4;return}function fxb(a,b){a=a|0;b=b|0;i[a>>0]=2;i[a+1>>0]=3;i[a+2>>0]=0;i[a+3>>0]=4;return}function gxb(a){a=a|0;return}function hxb(a){a=a|0;CAb(a);return}function ixb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,l=0,m=0;m=r;r=r+240|0;k[m+16>>2]=m+140;k[m+16+4>>2]=792;a=Gsb(e)|0;k[m+8>>2]=a;a=gtb(m+8|0,1203700)|0;i[m+136>>0]=0;k[m+4>>2]=k[c>>2];e=k[e+4>>2]|0;k[m+24>>2]=k[m+4>>2];if(kxb(b,m+24|0,d,m+8|0,e,f,m+136|0,a,m+16|0,m+12|0,m+140+100|0)|0){nj[k[(k[a>>2]|0)+32>>2]&127](a,619078,619088,m+24|0)|0;d=k[m+12>>2]|0;e=k[m+16>>2]|0;if((d-e|0)>98){a=hqb(d-e+2|0)|0;if(!a)sBb();else{j=a;h=a}}else{j=0;h=m+36|0}if(i[m+136>>0]|0){i[h>>0]=45;h=h+1|0}while(1){if(e>>>0>=d>>>0)break;d=i[e>>0]|0;a=m+24|0;while(1){if((a|0)==(m+24+10|0)){a=m+24+10|0;break}if((i[a>>0]|0)==d<<24>>24)break;a=a+1|0}i[h>>0]=i[619078+(a-(m+24))>>0]|0;d=k[m+12>>2]|0;h=h+1|0;e=e+1|0}i[h>>0]=0;k[m>>2]=g;vob(m+36|0,619089,m)|0;if(j|0)iqb(j)}h=k[b>>2]|0;do if(!h)h=0;else if((k[h+12>>2]|0)==(k[h+16>>2]|0))if((Gi[k[(k[h>>2]|0)+36>>2]&2047](h)|0)==-1){k[b>>2]=0;h=0;break}else{h=k[b>>2]|0;break}while(0);h=(h|0)==0;a=k[c>>2]|0;do if(!a)l=27;else{if((k[a+12>>2]|0)==(k[a+16>>2]|0))if((Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0)==-1){k[c>>2]=0;l=27;break}if(!h)l=28}while(0);if((l|0)==27)if(h)l=28;if((l|0)==28)k[f>>2]=k[f>>2]|2;h=k[b>>2]|0;sAb(k[m+8>>2]|0)|0;a=k[m+16>>2]|0;k[m+16>>2]=0;if(a|0)Si[k[m+16+4>>2]&1023](a);r=m;return h|0}function jxb(a){a=a|0;return}function kxb(a,b,c,d,e,f,g,h,m,n,o){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;m=m|0;n=n|0;o=o|0;var p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=r;r=r+512|0;k[A+88>>2]=o;k[A+80>>2]=A+96;k[A+80+4>>2]=792;k[A+72>>2]=A+96;k[A+68>>2]=A+96+400;o=0;while(1){if((o|0)==3)break;k[A+56+(o<<2)>>2]=0;o=o+1|0}o=0;while(1){if((o|0)==3)break;k[A+44+(o<<2)>>2]=0;o=o+1|0}o=0;while(1){if((o|0)==3)break;k[A+32+(o<<2)>>2]=0;o=o+1|0}o=0;while(1){if((o|0)==3)break;k[A+20+(o<<2)>>2]=0;o=o+1|0}o=0;while(1){if((o|0)==3)break;k[A+8+(o<<2)>>2]=0;o=o+1|0}lxb(c,d,A+500|0,A+497|0,A+496|0,A+56|0,A+44|0,A+32|0,A+20|0,A+4|0);k[n>>2]=k[m>>2];x=A+96|0;y=0;c=0;a:while(1){if(y>>>0>=4){u=x;t=c;z=218;break}o=k[a>>2]|0;do if(!o)o=0;else if((k[o+12>>2]|0)==(k[o+16>>2]|0))if((Gi[k[(k[o>>2]|0)+36>>2]&2047](o)|0)==-1){k[a>>2]=0;o=0;break}else{o=k[a>>2]|0;break}while(0);o=(o|0)==0;d=k[b>>2]|0;do if(!d)z=28;else{if((k[d+12>>2]|0)!=(k[d+16>>2]|0))if(o)break;else{u=x;t=c;z=218;break a}if((Gi[k[(k[d>>2]|0)+36>>2]&2047](d)|0)==-1){k[b>>2]=0;z=28;break}else if(o)break;else{u=x;t=c;z=218;break a}}while(0);if((z|0)==28){z=0;if(o){u=x;t=c;z=218;break}else d=0}b:do switch(i[A+500+y>>0]|0){case 1:{if((y|0)==3)o=x;else{o=k[a>>2]|0;p=k[o+12>>2]|0;if((p|0)==(k[o+16>>2]|0))o=Gi[k[(k[o>>2]|0)+36>>2]&2047](o)|0;else o=l[p>>0]|0;if((o&255)<<24>>24<=-1){z=42;break a}if(!(j[(k[h+8>>2]|0)+(o<<24>>24<<1)>>1]&8192)){z=42;break a}o=k[a>>2]|0;p=k[o+12>>2]|0;if((p|0)==(k[o+16>>2]|0))o=Gi[k[(k[o>>2]|0)+40>>2]&2047](o)|0;else{k[o+12>>2]=p+1;o=l[p>>0]|0}jrb(A+8|0,o&255);o=d;p=d;z=44}break}case 0:{if((y|0)==3)o=x;else{o=d;p=d;z=44}break}case 3:{d=i[A+32>>0]|0;p=(d&1)==0?(d&255)>>>1:k[A+32+4>>2]|0;o=i[A+20>>0]|0;o=(o&1)==0?(o&255)>>>1:k[A+20+4>>2]|0;if((p|0)==(0-o|0))o=x;else{q=k[a>>2]|0;s=k[q+12>>2]|0;t=k[q+16>>2]|0;if((p|0)==0|(o|0)==0){if((s|0)==(t|0))o=Gi[k[(k[q>>2]|0)+36>>2]&2047](q)|0;else o=l[s>>0]|0;o=o&255;if(!p){if(o<<24>>24!=(i[((i[A+20>>0]&1)==0?A+20+1|0:k[A+20+8>>2]|0)>>0]|0)){o=x;break b}o=k[a>>2]|0;d=k[o+12>>2]|0;if((d|0)==(k[o+16>>2]|0))Gi[k[(k[o>>2]|0)+40>>2]&2047](o)|0;else k[o+12>>2]=d+1;i[g>>0]=1;w=i[A+20>>0]|0;o=x;c=((w&1)==0?(w&255)>>>1:k[A+20+4>>2]|0)>>>0>1?A+20|0:c;break b}if(o<<24>>24!=(i[((i[A+32>>0]&1)==0?A+32+1|0:k[A+32+8>>2]|0)>>0]|0)){i[g>>0]=1;o=x;break b}o=k[a>>2]|0;d=k[o+12>>2]|0;if((d|0)==(k[o+16>>2]|0))Gi[k[(k[o>>2]|0)+40>>2]&2047](o)|0;else k[o+12>>2]=d+1;w=i[A+32>>0]|0;o=x;c=((w&1)==0?(w&255)>>>1:k[A+32+4>>2]|0)>>>0>1?A+32|0:c;break b}if((s|0)==(t|0)){u=Gi[k[(k[q>>2]|0)+36>>2]&2047](q)|0;o=k[a>>2]|0;d=i[A+32>>0]|0;q=o;s=k[o+12>>2]|0;o=k[o+16>>2]|0}else{u=l[s>>0]|0;o=t}p=q+12|0;o=(s|0)==(o|0);if((u&255)<<24>>24==(i[((d&1)==0?A+32+1|0:k[A+32+8>>2]|0)>>0]|0)){if(o)Gi[k[(k[q>>2]|0)+40>>2]&2047](q)|0;else k[p>>2]=s+1;w=i[A+32>>0]|0;o=x;c=((w&1)==0?(w&255)>>>1:k[A+32+4>>2]|0)>>>0>1?A+32|0:c;break b}if(o)o=Gi[k[(k[q>>2]|0)+36>>2]&2047](q)|0;else o=l[s>>0]|0;if((o&255)<<24>>24!=(i[((i[A+20>>0]&1)==0?A+20+1|0:k[A+20+8>>2]|0)>>0]|0)){z=98;break a}o=k[a>>2]|0;d=k[o+12>>2]|0;if((d|0)==(k[o+16>>2]|0))Gi[k[(k[o>>2]|0)+40>>2]&2047](o)|0;else k[o+12>>2]=d+1;i[g>>0]=1;w=i[A+20>>0]|0;o=x;c=((w&1)==0?(w&255)>>>1:k[A+20+4>>2]|0)>>>0>1?A+20|0:c}break}case 2:{if(!(y>>>0<2|(c|0)!=0))if(!((e&512|0)!=0|(y|0)==2&(i[A+500+3>>0]|0)!=0)){o=x;c=0;break b}u=i[A+44>>0]|0;v=k[A+44+8>>2]|0;w=(u&1)==0?A+44+1|0:v;c:do if(!y){t=d;p=u;o=v;q=d;d=w}else if((l[A+500+(y+-1)>>0]|0)<2){o=w+((u&1)==0?(u&255)>>>1:k[A+44+4>>2]|0)|0;s=w;while(1){p=s;if((p|0)==(o|0))break;q=i[p>>0]|0;if(q<<24>>24<=-1)break;if(!(j[(k[h+8>>2]|0)+(q<<24>>24<<1)>>1]&8192))break;s=p+1|0}t=s-w|0;o=i[A+8>>0]|0;p=(o&1)==0?(o&255)>>>1:k[A+8+4>>2]|0;if(t>>>0>p>>>0){t=d;p=u;o=v;q=d;d=w}else{q=((o&1)==0?A+8+1|0:k[A+8+8>>2]|0)+p|0;p=w;o=q+(0-t)|0;while(1){if((o|0)==(q|0)){t=d;p=u;o=v;q=d;d=s;break c}if((i[o>>0]|0)!=(i[p>>0]|0)){t=d;p=u;o=v;q=d;d=w;break c}p=p+1|0;o=o+1|0}}}else{t=d;p=u;o=v;q=d;d=w}while(0);d:while(1){s=(p&1)==0;o=(s?A+44+1|0:o)+(s?(p&255)>>>1:k[A+44+4>>2]|0)|0;s=d;if((s|0)==(o|0))break;o=k[a>>2]|0;do if(!o)o=0;else if((k[o+12>>2]|0)==(k[o+16>>2]|0))if((Gi[k[(k[o>>2]|0)+36>>2]&2047](o)|0)==-1){k[a>>2]=0;o=0;break}else{o=k[a>>2]|0;break}while(0);d=(o|0)==0;do if(!q){o=t;z=124}else{if((k[q+12>>2]|0)!=(k[q+16>>2]|0))if(d){o=t;break}else{o=s;break d}if((Gi[k[(k[q>>2]|0)+36>>2]&2047](q)|0)==-1){k[b>>2]=0;o=0;z=124;break}else if(d^(t|0)==0){o=t;q=t;break}else{o=s;break d}}while(0);if((z|0)==124){z=0;if(d){o=s;break}else q=0}d=k[a>>2]|0;p=k[d+12>>2]|0;if((p|0)==(k[d+16>>2]|0))d=Gi[k[(k[d>>2]|0)+36>>2]&2047](d)|0;else d=l[p>>0]|0;if((d&255)<<24>>24!=(i[s>>0]|0)){o=s;break}d=k[a>>2]|0;p=k[d+12>>2]|0;if((p|0)==(k[d+16>>2]|0))Gi[k[(k[d>>2]|0)+40>>2]&2047](d)|0;else k[d+12>>2]=p+1;t=o;p=i[A+44>>0]|0;o=k[A+44+8>>2]|0;d=s+1|0}if(e&512|0){w=i[A+44>>0]|0;if((o|0)==(((w&1)==0?A+44+1|0:k[A+44+8>>2]|0)+((w&1)==0?(w&255)>>>1:k[A+44+4>>2]|0)|0))o=x;else{z=136;break a}}else o=x;break}case 4:{u=i[A+496>>0]|0;p=d;s=d;o=x;d=0;e:while(1){q=k[a>>2]|0;do if(!q)q=0;else if((k[q+12>>2]|0)==(k[q+16>>2]|0))if((Gi[k[(k[q>>2]|0)+36>>2]&2047](q)|0)==-1){k[a>>2]=0;q=0;break}else{q=k[a>>2]|0;break}while(0);q=(q|0)==0;do if(!s)z=147;else{if((k[s+12>>2]|0)!=(k[s+16>>2]|0))if(q){t=p;break}else break e;if((Gi[k[(k[s>>2]|0)+36>>2]&2047](s)|0)==-1){k[b>>2]=0;p=0;z=147;break}else if(q^(p|0)==0){t=p;s=p;break}else break e}while(0);if((z|0)==147){z=0;if(q)break;else{t=p;s=0}}p=k[a>>2]|0;q=k[p+12>>2]|0;if((q|0)==(k[p+16>>2]|0))p=Gi[k[(k[p>>2]|0)+36>>2]&2047](p)|0;else p=l[q>>0]|0;q=p&255;if(q<<24>>24>-1)if(!(j[(k[h+8>>2]|0)+(p<<24>>24<<1)>>1]&2048))z=157;else{p=k[n>>2]|0;if((p|0)==(k[A+88>>2]|0)){mxb(m,n,A+88|0);p=k[n>>2]|0}k[n>>2]=p+1;i[p>>0]=q;d=d+1|0}else z=157;if((z|0)==157){z=0;x=i[A+56>>0]|0;if(!(q<<24>>24==u<<24>>24&(d|0?(((x&1)==0?(x&255)>>>1:k[A+56+4>>2]|0)|0)!=0:0))){p=t;break}if((o|0)==(k[A+68>>2]|0)){nxb(A+80|0,A+72|0,A+68|0);o=k[A+72>>2]|0}x=o+4|0;k[A+72>>2]=x;k[o>>2]=d;o=x;d=0}p=k[a>>2]|0;q=k[p+12>>2]|0;if((q|0)==(k[p+16>>2]|0)){Gi[k[(k[p>>2]|0)+40>>2]&2047](p)|0;p=t;continue}else{k[p+12>>2]=q+1;p=t;continue}}if(d|0?(k[A+80>>2]|0)!=(o|0):0){if((o|0)==(k[A+68>>2]|0)){nxb(A+80|0,A+72|0,A+68|0);o=k[A+72>>2]|0}x=o+4|0;k[A+72>>2]=x;k[o>>2]=d;o=x}q=k[A+4>>2]|0;f:do if((q|0)>0){d=k[a>>2]|0;do if(!d)d=0;else if((k[d+12>>2]|0)==(k[d+16>>2]|0))if((Gi[k[(k[d>>2]|0)+36>>2]&2047](d)|0)==-1){k[a>>2]=0;d=0;break}else{d=k[a>>2]|0;break}while(0);d=(d|0)==0;do if(!p)z=179;else{if((k[p+12>>2]|0)==(k[p+16>>2]|0))if((Gi[k[(k[p>>2]|0)+36>>2]&2047](p)|0)==-1){k[b>>2]=0;z=179;break}if(d)s=p;else{z=184;break a}}while(0);if((z|0)==179){z=0;if(d){z=184;break a}else s=0}d=k[a>>2]|0;p=k[d+12>>2]|0;if((p|0)==(k[d+16>>2]|0))d=Gi[k[(k[d>>2]|0)+36>>2]&2047](d)|0;else d=l[p>>0]|0;if((d&255)<<24>>24!=(i[A+497>>0]|0)){z=184;break a}d=k[a>>2]|0;p=k[d+12>>2]|0;if((p|0)==(k[d+16>>2]|0)){Gi[k[(k[d>>2]|0)+40>>2]&2047](d)|0;d=s}else{k[d+12>>2]=p+1;d=s}while(1){if((q|0)<=0)break f;p=k[a>>2]|0;do if(!p)p=0;else if((k[p+12>>2]|0)==(k[p+16>>2]|0))if((Gi[k[(k[p>>2]|0)+36>>2]&2047](p)|0)==-1){k[a>>2]=0;p=0;break}else{p=k[a>>2]|0;break}while(0);p=(p|0)==0;do if(!s)z=199;else{if((k[s+12>>2]|0)!=(k[s+16>>2]|0))if(p){t=d;break}else{z=206;break a}if((Gi[k[(k[s>>2]|0)+36>>2]&2047](s)|0)==-1){k[b>>2]=0;d=0;z=199;break}else if(p^(d|0)==0){t=d;s=d;break}else{z=206;break a}}while(0);if((z|0)==199){z=0;if(p){z=206;break a}else{t=d;s=0}}d=k[a>>2]|0;p=k[d+12>>2]|0;if((p|0)==(k[d+16>>2]|0))d=Gi[k[(k[d>>2]|0)+36>>2]&2047](d)|0;else d=l[p>>0]|0;if((d&255)<<24>>24<=-1){z=206;break a}if(!(j[(k[h+8>>2]|0)+(d<<24>>24<<1)>>1]&2048)){z=206;break a}if((k[n>>2]|0)==(k[A+88>>2]|0))mxb(m,n,A+88|0);d=k[a>>2]|0;p=k[d+12>>2]|0;if((p|0)==(k[d+16>>2]|0))d=Gi[k[(k[d>>2]|0)+36>>2]&2047](d)|0;else d=l[p>>0]|0;p=k[n>>2]|0;k[n>>2]=p+1;i[p>>0]=d;q=q+-1|0;k[A+4>>2]=q;d=k[a>>2]|0;p=k[d+12>>2]|0;if((p|0)==(k[d+16>>2]|0)){Gi[k[(k[d>>2]|0)+40>>2]&2047](d)|0;d=t;continue}else{k[d+12>>2]=p+1;d=t;continue}}}while(0);if((k[n>>2]|0)==(k[m>>2]|0)){z=216;break a}break}default:o=x}while(0);g:do if((z|0)==44)while(1){z=0;d=k[a>>2]|0;do if(!d)d=0;else if((k[d+12>>2]|0)==(k[d+16>>2]|0))if((Gi[k[(k[d>>2]|0)+36>>2]&2047](d)|0)==-1){k[a>>2]=0;d=0;break}else{d=k[a>>2]|0;break}while(0);d=(d|0)==0;do if(!p)z=54;else{if((k[p+12>>2]|0)!=(k[p+16>>2]|0))if(d){q=o;break}else{o=x;break g}if((Gi[k[(k[p>>2]|0)+36>>2]&2047](p)|0)==-1){k[b>>2]=0;o=0;z=54;break}else if(d^(o|0)==0){q=o;p=o;break}else{o=x;break g}}while(0);if((z|0)==54){z=0;if(d){o=x;break g}else{q=o;p=0}}o=k[a>>2]|0;d=k[o+12>>2]|0;if((d|0)==(k[o+16>>2]|0))o=Gi[k[(k[o>>2]|0)+36>>2]&2047](o)|0;else o=l[d>>0]|0;if((o&255)<<24>>24<=-1){o=x;break g}if(!(j[(k[h+8>>2]|0)+(o<<24>>24<<1)>>1]&8192)){o=x;break g}o=k[a>>2]|0;d=k[o+12>>2]|0;if((d|0)==(k[o+16>>2]|0))o=Gi[k[(k[o>>2]|0)+40>>2]&2047](o)|0;else{k[o+12>>2]=d+1;o=l[d>>0]|0}jrb(A+8|0,o&255);o=q;z=44}while(0);x=o;y=y+1|0}h:do if((z|0)==42){k[f>>2]=k[f>>2]|4;c=0}else if((z|0)==98){k[f>>2]=k[f>>2]|4;c=0}else if((z|0)==136){k[f>>2]=k[f>>2]|4;c=0}else if((z|0)==184){k[f>>2]=k[f>>2]|4;c=0}else if((z|0)==206){k[f>>2]=k[f>>2]|4;c=0}else if((z|0)==216){k[f>>2]=k[f>>2]|4;c=0}else if((z|0)==218){i:do if(t|0){p=t+1|0;q=t+8|0;s=t+4|0;d=1;j:while(1){o=i[t>>0]|0;if(!(o&1))o=(o&255)>>>1;else o=k[s>>2]|0;if(d>>>0>=o>>>0)break i;o=k[a>>2]|0;do if(!o)o=0;else if((k[o+12>>2]|0)==(k[o+16>>2]|0))if((Gi[k[(k[o>>2]|0)+36>>2]&2047](o)|0)==-1){k[a>>2]=0;o=0;break}else{o=k[a>>2]|0;break}while(0);o=(o|0)==0;c=k[b>>2]|0;do if(!c)z=234;else{if((k[c+12>>2]|0)==(k[c+16>>2]|0))if((Gi[k[(k[c>>2]|0)+36>>2]&2047](c)|0)==-1){k[b>>2]=0;z=234;break}if(!o)break j}while(0);if((z|0)==234){z=0;if(o)break}o=k[a>>2]|0;c=k[o+12>>2]|0;if((c|0)==(k[o+16>>2]|0))o=Gi[k[(k[o>>2]|0)+36>>2]&2047](o)|0;else o=l[c>>0]|0;if(!(i[t>>0]&1))c=p;else c=k[q>>2]|0;if((o&255)<<24>>24!=(i[c+d>>0]|0))break;o=d+1|0;c=k[a>>2]|0;d=k[c+12>>2]|0;if((d|0)==(k[c+16>>2]|0)){Gi[k[(k[c>>2]|0)+40>>2]&2047](c)|0;d=o;continue}else{k[c+12>>2]=d+1;d=o;continue}}k[f>>2]=k[f>>2]|4;c=0;break h}while(0);o=k[A+80>>2]|0;if((o|0)==(u|0))c=1;else{k[A>>2]=0;rtb(A+56|0,o,u,A);if(!(k[A>>2]|0)){c=1;break}else{k[f>>2]=k[f>>2]|4;c=0;break}}}while(0);_qb(A+8|0);_qb(A+20|0);_qb(A+32|0);_qb(A+44|0);_qb(A+56|0);o=k[A+80>>2]|0;k[A+80>>2]=0;if(o|0)Si[k[A+80+4>>2]&1023](o);r=A;return c|0}function lxb(a,b,c,d,e,f,g,h,j,l){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;l=l|0;var m=0;m=r;r=r+112|0;if(a){b=gtb(b,1205420)|0;Di[k[(k[b>>2]|0)+44>>2]&511](m+100|0,b);a=k[m+100>>2]|0;i[c>>0]=a;i[c+1>>0]=a>>8;i[c+2>>0]=a>>16;i[c+3>>0]=a>>24;Di[k[(k[b>>2]|0)+32>>2]&511](m+88|0,b);if(!(i[j>>0]&1)){i[j+1>>0]=0;i[j>>0]=0}else{i[k[j+8>>2]>>0]=0;k[j+4>>2]=0}crb(j,0);k[j>>2]=k[m+88>>2];k[j+4>>2]=k[m+88+4>>2];k[j+8>>2]=k[m+88+8>>2];a=0;while(1){if((a|0)==3)break;k[m+88+(a<<2)>>2]=0;a=a+1|0}_qb(m+88|0);Di[k[(k[b>>2]|0)+28>>2]&511](m+76|0,b);if(!(i[h>>0]&1)){i[h+1>>0]=0;i[h>>0]=0}else{i[k[h+8>>2]>>0]=0;k[h+4>>2]=0}crb(h,0);k[h>>2]=k[m+76>>2];k[h+4>>2]=k[m+76+4>>2];k[h+8>>2]=k[m+76+8>>2];a=0;while(1){if((a|0)==3)break;k[m+76+(a<<2)>>2]=0;a=a+1|0}_qb(m+76|0);h=Gi[k[(k[b>>2]|0)+12>>2]&2047](b)|0;i[d>>0]=h;d=Gi[k[(k[b>>2]|0)+16>>2]&2047](b)|0;i[e>>0]=d;Di[k[(k[b>>2]|0)+20>>2]&511](m+64|0,b);if(!(i[f>>0]&1)){i[f+1>>0]=0;i[f>>0]=0}else{i[k[f+8>>2]>>0]=0;k[f+4>>2]=0}crb(f,0);k[f>>2]=k[m+64>>2];k[f+4>>2]=k[m+64+4>>2];k[f+8>>2]=k[m+64+8>>2];a=0;while(1){if((a|0)==3)break;k[m+64+(a<<2)>>2]=0;a=a+1|0}_qb(m+64|0);Di[k[(k[b>>2]|0)+24>>2]&511](m+52|0,b);if(!(i[g>>0]&1)){i[g+1>>0]=0;i[g>>0]=0}else{i[k[g+8>>2]>>0]=0;k[g+4>>2]=0}crb(g,0);k[g>>2]=k[m+52>>2];k[g+4>>2]=k[m+52+4>>2];k[g+8>>2]=k[m+52+8>>2];a=0;while(1){if((a|0)==3)break;k[m+52+(a<<2)>>2]=0;a=a+1|0}_qb(m+52|0);a=Gi[k[(k[b>>2]|0)+36>>2]&2047](b)|0}else{b=gtb(b,1205412)|0;Di[k[(k[b>>2]|0)+44>>2]&511](m+48|0,b);a=k[m+48>>2]|0;i[c>>0]=a;i[c+1>>0]=a>>8;i[c+2>>0]=a>>16;i[c+3>>0]=a>>24;Di[k[(k[b>>2]|0)+32>>2]&511](m+36|0,b);if(!(i[j>>0]&1)){i[j+1>>0]=0;i[j>>0]=0}else{i[k[j+8>>2]>>0]=0;k[j+4>>2]=0}crb(j,0);k[j>>2]=k[m+36>>2];k[j+4>>2]=k[m+36+4>>2];k[j+8>>2]=k[m+36+8>>2];a=0;while(1){if((a|0)==3)break;k[m+36+(a<<2)>>2]=0;a=a+1|0}_qb(m+36|0);Di[k[(k[b>>2]|0)+28>>2]&511](m+24|0,b);if(!(i[h>>0]&1)){i[h+1>>0]=0;i[h>>0]=0}else{i[k[h+8>>2]>>0]=0;k[h+4>>2]=0}crb(h,0);k[h>>2]=k[m+24>>2];k[h+4>>2]=k[m+24+4>>2];k[h+8>>2]=k[m+24+8>>2];a=0;while(1){if((a|0)==3)break;k[m+24+(a<<2)>>2]=0;a=a+1|0}_qb(m+24|0);h=Gi[k[(k[b>>2]|0)+12>>2]&2047](b)|0;i[d>>0]=h;d=Gi[k[(k[b>>2]|0)+16>>2]&2047](b)|0;i[e>>0]=d;Di[k[(k[b>>2]|0)+20>>2]&511](m+12|0,b);if(!(i[f>>0]&1)){i[f+1>>0]=0;i[f>>0]=0}else{i[k[f+8>>2]>>0]=0;k[f+4>>2]=0}crb(f,0);k[f>>2]=k[m+12>>2];k[f+4>>2]=k[m+12+4>>2];k[f+8>>2]=k[m+12+8>>2];a=0;while(1){if((a|0)==3)break;k[m+12+(a<<2)>>2]=0;a=a+1|0}_qb(m+12|0);Di[k[(k[b>>2]|0)+24>>2]&511](m,b);if(!(i[g>>0]&1)){i[g+1>>0]=0;i[g>>0]=0}else{i[k[g+8>>2]>>0]=0;k[g+4>>2]=0}crb(g,0);k[g>>2]=k[m>>2];k[g+4>>2]=k[m+4>>2];k[g+8>>2]=k[m+8>>2];a=0;while(1){if((a|0)==3)break;k[m+(a<<2)>>2]=0;a=a+1|0}_qb(m);a=Gi[k[(k[b>>2]|0)+36>>2]&2047](b)|0}k[l>>2]=a;r=m;return}function mxb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=(k[a+4>>2]|0)!=792;d=k[a>>2]|0;f=(k[c>>2]|0)-d|0;f=f>>>0<2147483647?f<<1:-1;g=(k[b>>2]|0)-d|0;d=kqb(e?d:0,f)|0;if(!d)sBb();if(e)k[a>>2]=d;else{e=k[a>>2]|0;k[a>>2]=d;if(e){Si[k[a+4>>2]&1023](e);d=k[a>>2]|0}}k[a+4>>2]=793;k[b>>2]=d+g;k[c>>2]=(k[a>>2]|0)+f;return}function nxb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=(k[a+4>>2]|0)!=792;d=k[a>>2]|0;f=(k[c>>2]|0)-d|0;f=f>>>0<2147483647?f<<1:-1;g=(k[b>>2]|0)-d>>2;d=kqb(e?d:0,f)|0;if(!d)sBb();if(e)k[a>>2]=d;else{e=k[a>>2]|0;k[a>>2]=d;if(e){Si[k[a+4>>2]&1023](e);d=k[a>>2]|0}}k[a+4>>2]=793;k[b>>2]=d+(g<<2);k[c>>2]=(k[a>>2]|0)+(f>>>2<<2);return}function oxb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,l=0,m=0;m=r;r=r+144|0;k[m+16>>2]=m+32;k[m+16+4>>2]=792;j=Gsb(e)|0;k[m+4>>2]=j;a=gtb(m+4|0,1203700)|0;i[m+28>>0]=0;h=k[c>>2]|0;k[m>>2]=h;e=k[e+4>>2]|0;k[m+24>>2]=k[m>>2];if(kxb(b,m+24|0,d,m+4|0,e,f,m+28|0,a,m+16|0,m+8|0,m+32+100|0)|0){if(!(i[g>>0]&1)){i[g+1>>0]=0;i[g>>0]=0}else{i[k[g+8>>2]>>0]=0;k[g+4>>2]=0}if(i[m+28>>0]|0)jrb(g,gj[k[(k[a>>2]|0)+28>>2]&511](a,45)|0);d=gj[k[(k[a>>2]|0)+28>>2]&511](a,48)|0;e=k[m+8>>2]|0;a=k[m+16>>2]|0;while(1){if(a>>>0>=(e+-1|0)>>>0)break;if((i[a>>0]|0)!=d<<24>>24)break;a=a+1|0}pxb(g,a,e)|0}a=k[b>>2]|0;do if(!a)a=0;else if((k[a+12>>2]|0)==(k[a+16>>2]|0))if((Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0)==-1){k[b>>2]=0;a=0;break}else{a=k[b>>2]|0;break}while(0);a=(a|0)==0;do if(!h)l=22;else{if((k[h+12>>2]|0)==(k[h+16>>2]|0))if((Gi[k[(k[h>>2]|0)+36>>2]&2047](h)|0)==-1){k[c>>2]=0;l=22;break}if(!a)l=23}while(0);if((l|0)==22)if(a)l=23;if((l|0)==23)k[f>>2]=k[f>>2]|2;d=k[b>>2]|0;sAb(j)|0;a=k[m+16>>2]|0;k[m+16>>2]=0;if(a|0)Si[k[m+16+4>>2]&1023](a);r=m;return d|0}function pxb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=i[a>>0]|0;if(!(d&1)){e=10;h=(d&255)>>>1}else{d=k[a>>2]|0;e=(d&-2)+-1|0;h=k[a+4>>2]|0;d=d&255}do if((c|0)!=(b|0)){if((e-h|0)>>>0<(c-b|0)>>>0){grb(a,e,h+(c-b)-e|0,h,h,0,0);d=i[a>>0]|0}if(!(d&1))e=a+1|0;else e=k[a+8>>2]|0;g=c+(h-b)|0;d=b;f=e+h|0;while(1){if((d|0)==(c|0))break;i[f>>0]=i[d>>0]|0;d=d+1|0;f=f+1|0}i[e+g>>0]=0;d=h+(c-b)|0;if(!(i[a>>0]&1)){i[a>>0]=d<<1;break}else{k[a+4>>2]=d;break}}while(0);return a|0}function qxb(a){a=a|0;return}function rxb(a){a=a|0;CAb(a);return}function sxb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,l=0,m=0;m=r;r=r+576|0;k[m+16>>2]=m+24;k[m+16+4>>2]=792;a=Gsb(e)|0;k[m+8>>2]=a;a=gtb(m+8|0,1203732)|0;i[m+564>>0]=0;k[m+4>>2]=k[c>>2];e=k[e+4>>2]|0;k[m+424>>2]=k[m+4>>2];if(txb(b,m+424|0,d,m+8|0,e,f,m+564|0,a,m+16|0,m+12|0,m+24+400|0)|0){nj[k[(k[a>>2]|0)+48>>2]&127](a,619188,619198,m+424|0)|0;d=k[m+12>>2]|0;e=k[m+16>>2]|0;if((d-e|0)>392){a=hqb((d-e>>2)+2|0)|0;if(!a)sBb();else{j=a;h=a}}else{j=0;h=m+464|0}if(i[m+564>>0]|0){i[h>>0]=45;h=h+1|0}while(1){if(e>>>0>=d>>>0)break;d=k[e>>2]|0;a=m+424|0;while(1){if((a|0)==(m+424+40|0)){a=m+424+40|0;break}if((k[a>>2]|0)==(d|0))break;a=a+4|0}i[h>>0]=i[619188+(a-(m+424)>>2)>>0]|0;d=k[m+12>>2]|0;h=h+1|0;e=e+4|0}i[h>>0]=0;k[m>>2]=g;vob(m+464|0,619089,m)|0;if(j|0)iqb(j)}h=k[b>>2]|0;do if(!h)d=1;else{a=k[h+12>>2]|0;if((a|0)==(k[h+16>>2]|0))h=Gi[k[(k[h>>2]|0)+36>>2]&2047](h)|0;else h=k[a>>2]|0;if((h|0)==-1){k[b>>2]=0;d=1;break}else{d=(k[b>>2]|0)==0;break}}while(0);h=k[c>>2]|0;do if(!h)l=30;else{a=k[h+12>>2]|0;if((a|0)==(k[h+16>>2]|0))h=Gi[k[(k[h>>2]|0)+36>>2]&2047](h)|0;else h=k[a>>2]|0;if((h|0)==-1){k[c>>2]=0;l=30;break}else if(d)break;else{l=32;break}}while(0);if((l|0)==30)if(d)l=32;if((l|0)==32)k[f>>2]=k[f>>2]|2;h=k[b>>2]|0;sAb(k[m+8>>2]|0)|0;a=k[m+16>>2]|0;k[m+16>>2]=0;if(a|0)Si[k[m+16+4>>2]&1023](a);r=m;return h|0}function txb(a,b,c,d,e,f,g,h,j,m,n){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;m=m|0;n=n|0;var o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;D=r;r=r+512|0;k[D+96>>2]=n;k[D+88>>2]=D+104;k[D+88+4>>2]=792;k[D+80>>2]=D+104;k[D+76>>2]=D+104+400;n=0;while(1){if((n|0)==3)break;k[D+56+(n<<2)>>2]=0;n=n+1|0}n=0;while(1){if((n|0)==3)break;k[D+44+(n<<2)>>2]=0;n=n+1|0}n=0;while(1){if((n|0)==3)break;k[D+32+(n<<2)>>2]=0;n=n+1|0}n=0;while(1){if((n|0)==3)break;k[D+20+(n<<2)>>2]=0;n=n+1|0}n=0;while(1){if((n|0)==3)break;k[D+8+(n<<2)>>2]=0;n=n+1|0}uxb(c,d,D+504|0,D+72|0,D+68|0,D+56|0,D+44|0,D+32|0,D+20|0,D+4|0);k[m>>2]=k[j>>2];x=D+32+4|0;y=D+20+4|0;z=D+44+8|0;A=D+44+4|0;w=D+104|0;B=0;c=0;a:while(1){if(B>>>0>=4){t=w;s=c;C=232;break}n=k[a>>2]|0;do if(!n)o=1;else{d=k[n+12>>2]|0;if((d|0)==(k[n+16>>2]|0))n=Gi[k[(k[n>>2]|0)+36>>2]&2047](n)|0;else n=k[d>>2]|0;if((n|0)==-1){k[a>>2]=0;o=1;break}else{o=(k[a>>2]|0)==0;break}}while(0);d=k[b>>2]|0;do if(!d)C=31;else{n=k[d+12>>2]|0;if((n|0)==(k[d+16>>2]|0))n=Gi[k[(k[d>>2]|0)+36>>2]&2047](d)|0;else n=k[n>>2]|0;if((n|0)==-1){k[b>>2]=0;C=31;break}else if(o){v=d;break}else{t=w;s=c;C=232;break a}}while(0);if((C|0)==31){C=0;if(o){t=w;s=c;C=232;break}else v=0}b:do switch(i[D+504+B>>0]|0){case 1:{if((B|0)==3)n=w;else{n=k[a>>2]|0;d=k[n+12>>2]|0;if((d|0)==(k[n+16>>2]|0))n=Gi[k[(k[n>>2]|0)+36>>2]&2047](n)|0;else n=k[d>>2]|0;if(!(Ri[k[(k[h>>2]|0)+12>>2]&255](h,8192,n)|0)){C=44;break a}n=k[a>>2]|0;d=k[n+12>>2]|0;if((d|0)==(k[n+16>>2]|0))n=Gi[k[(k[n>>2]|0)+40>>2]&2047](n)|0;else{k[n+12>>2]=d+4;n=k[d>>2]|0}Drb(D+8|0,n);n=v;p=v;C=46}break}case 0:{if((B|0)==3)n=w;else{n=v;p=v;C=46}break}case 3:{d=i[D+32>>0]|0;o=(d&1)==0?(d&255)>>>1:k[x>>2]|0;n=i[D+20>>0]|0;n=(n&1)==0?(n&255)>>>1:k[y>>2]|0;if((o|0)==(0-n|0))n=w;else{p=k[a>>2]|0;q=k[p+12>>2]|0;s=k[p+16>>2]|0;if((o|0)==0|(n|0)==0){if((q|0)==(s|0))n=Gi[k[(k[p>>2]|0)+36>>2]&2047](p)|0;else n=k[q>>2]|0;if(!o){if((n|0)!=(k[((i[D+20>>0]&1)==0?y:k[D+20+8>>2]|0)>>2]|0)){n=w;break b}n=k[a>>2]|0;d=k[n+12>>2]|0;if((d|0)==(k[n+16>>2]|0))Gi[k[(k[n>>2]|0)+40>>2]&2047](n)|0;else k[n+12>>2]=d+4;i[g>>0]=1;v=i[D+20>>0]|0;n=w;c=((v&1)==0?(v&255)>>>1:k[y>>2]|0)>>>0>1?D+20|0:c;break b}if((n|0)!=(k[((i[D+32>>0]&1)==0?x:k[D+32+8>>2]|0)>>2]|0)){i[g>>0]=1;n=w;break b}n=k[a>>2]|0;d=k[n+12>>2]|0;if((d|0)==(k[n+16>>2]|0))Gi[k[(k[n>>2]|0)+40>>2]&2047](n)|0;else k[n+12>>2]=d+4;v=i[D+32>>0]|0;n=w;c=((v&1)==0?(v&255)>>>1:k[x>>2]|0)>>>0>1?D+32|0:c;break b}if((q|0)==(s|0)){t=Gi[k[(k[p>>2]|0)+36>>2]&2047](p)|0;n=k[a>>2]|0;d=i[D+32>>0]|0;p=n;q=k[n+12>>2]|0;n=k[n+16>>2]|0}else{t=k[q>>2]|0;n=s}o=p+12|0;n=(q|0)==(n|0);if((t|0)==(k[((d&1)==0?x:k[D+32+8>>2]|0)>>2]|0)){if(n)Gi[k[(k[p>>2]|0)+40>>2]&2047](p)|0;else k[o>>2]=q+4;v=i[D+32>>0]|0;n=w;c=((v&1)==0?(v&255)>>>1:k[x>>2]|0)>>>0>1?D+32|0:c;break b}if(n)n=Gi[k[(k[p>>2]|0)+36>>2]&2047](p)|0;else n=k[q>>2]|0;if((n|0)!=(k[((i[D+20>>0]&1)==0?y:k[D+20+8>>2]|0)>>2]|0)){C=102;break a}n=k[a>>2]|0;d=k[n+12>>2]|0;if((d|0)==(k[n+16>>2]|0))Gi[k[(k[n>>2]|0)+40>>2]&2047](n)|0;else k[n+12>>2]=d+4;i[g>>0]=1;v=i[D+20>>0]|0;n=w;c=((v&1)==0?(v&255)>>>1:k[y>>2]|0)>>>0>1?D+20|0:c}break}case 2:{if(!(B>>>0<2|(c|0)!=0))if(!((e&512|0)!=0|(B|0)==2&(i[D+504+3>>0]|0)!=0)){n=w;c=0;break b}d=i[D+44>>0]|0;o=k[z>>2]|0;n=(d&1)==0?A:o;c:do if(!B){t=v;p=o;q=v;o=n}else if((l[D+504+(B+-1)>>0]|0)<2){p=o;while(1){u=(d&1)==0;o=n;if((o|0)==((u?A:p)+((u?(d&255)>>>1:k[A>>2]|0)<<2)|0))break;if(!(Ri[k[(k[h>>2]|0)+12>>2]&255](h,8192,k[o>>2]|0)|0)){C=109;break}d=i[D+44>>0]|0;p=k[z>>2]|0;n=o+4|0}if((C|0)==109){C=0;d=i[D+44>>0]|0;p=k[z>>2]|0}o=(d&1)==0?A:p;u=n-o>>2;q=i[D+8>>0]|0;s=(q&1)==0?(q&255)>>>1:k[D+8+4>>2]|0;if(u>>>0>s>>>0){t=v;q=v}else{t=((q&1)==0?D+8+4|0:k[D+8+8>>2]|0)+(s<<2)|0;s=o;q=t+(0-u<<2)|0;while(1){if((q|0)==(t|0)){t=v;q=v;o=n;break c}if((k[q>>2]|0)!=(k[s>>2]|0)){t=v;q=v;break c}s=s+4|0;q=q+4|0}}}else{t=v;p=o;q=v;o=n}while(0);d:while(1){n=(d&1)==0;n=(n?A:p)+((n?(d&255)>>>1:k[A>>2]|0)<<2)|0;s=o;if((s|0)==(n|0))break;n=k[a>>2]|0;do if(!n)d=1;else{d=k[n+12>>2]|0;if((d|0)==(k[n+16>>2]|0))n=Gi[k[(k[n>>2]|0)+36>>2]&2047](n)|0;else n=k[d>>2]|0;if((n|0)==-1){k[a>>2]=0;d=1;break}else{d=(k[a>>2]|0)==0;break}}while(0);do if(!q){n=t;C=130}else{n=k[q+12>>2]|0;if((n|0)==(k[q+16>>2]|0))n=Gi[k[(k[q>>2]|0)+36>>2]&2047](q)|0;else n=k[n>>2]|0;if((n|0)==-1){k[b>>2]=0;n=0;C=130;break}else if(d^(t|0)==0){n=t;q=t;break}else{n=s;break d}}while(0);if((C|0)==130){C=0;if(d){n=s;break}else q=0}d=k[a>>2]|0;o=k[d+12>>2]|0;if((o|0)==(k[d+16>>2]|0))d=Gi[k[(k[d>>2]|0)+36>>2]&2047](d)|0;else d=k[o>>2]|0;if((d|0)!=(k[s>>2]|0)){n=s;break}d=k[a>>2]|0;o=k[d+12>>2]|0;if((o|0)==(k[d+16>>2]|0))Gi[k[(k[d>>2]|0)+40>>2]&2047](d)|0;else k[d+12>>2]=o+4;t=n;d=i[D+44>>0]|0;p=k[z>>2]|0;o=s+4|0}if(e&512|0){v=i[D+44>>0]|0;if((n|0)==(((v&1)==0?A:k[z>>2]|0)+(((v&1)==0?(v&255)>>>1:k[A>>2]|0)<<2)|0))n=w;else{C=142;break a}}else n=w;break}case 4:{u=k[D+68>>2]|0;t=v;q=v;n=w;d=0;e:while(1){o=k[a>>2]|0;do if(!o)p=1;else{p=k[o+12>>2]|0;if((p|0)==(k[o+16>>2]|0))o=Gi[k[(k[o>>2]|0)+36>>2]&2047](o)|0;else o=k[p>>2]|0;if((o|0)==-1){k[a>>2]=0;p=1;break}else{p=(k[a>>2]|0)==0;break}}while(0);do if(!q){o=t;C=156}else{o=k[q+12>>2]|0;if((o|0)==(k[q+16>>2]|0))o=Gi[k[(k[q>>2]|0)+36>>2]&2047](q)|0;else o=k[o>>2]|0;if((o|0)==-1){k[b>>2]=0;o=0;C=156;break}else if(p^(t|0)==0){o=t;s=t;break}else{p=t;break e}}while(0);if((C|0)==156){C=0;if(p){p=o;break}else s=0}p=k[a>>2]|0;q=k[p+12>>2]|0;if((q|0)==(k[p+16>>2]|0))q=Gi[k[(k[p>>2]|0)+36>>2]&2047](p)|0;else q=k[q>>2]|0;if(Ri[k[(k[h>>2]|0)+12>>2]&255](h,2048,q)|0){p=k[m>>2]|0;if((p|0)==(k[D+96>>2]|0)){vxb(j,m,D+96|0);p=k[m>>2]|0}k[m>>2]=p+4;k[p>>2]=q;d=d+1|0}else{w=i[D+56>>0]|0;if(!((q|0)==(u|0)&(d|0?(((w&1)==0?(w&255)>>>1:k[D+56+4>>2]|0)|0)!=0:0))){p=o;break}if((n|0)==(k[D+76>>2]|0)){nxb(D+88|0,D+80|0,D+76|0);n=k[D+80>>2]|0}w=n+4|0;k[D+80>>2]=w;k[n>>2]=d;n=w;d=0}p=k[a>>2]|0;q=k[p+12>>2]|0;if((q|0)==(k[p+16>>2]|0)){Gi[k[(k[p>>2]|0)+40>>2]&2047](p)|0;t=o;q=s;continue}else{k[p+12>>2]=q+4;t=o;q=s;continue}}if(d|0?(k[D+88>>2]|0)!=(n|0):0){if((n|0)==(k[D+76>>2]|0)){nxb(D+88|0,D+80|0,D+76|0);n=k[D+80>>2]|0}w=n+4|0;k[D+80>>2]=w;k[n>>2]=d;n=w}q=k[D+4>>2]|0;f:do if((q|0)>0){d=k[a>>2]|0;do if(!d)o=1;else{o=k[d+12>>2]|0;if((o|0)==(k[d+16>>2]|0))d=Gi[k[(k[d>>2]|0)+36>>2]&2047](d)|0;else d=k[o>>2]|0;if((d|0)==-1){k[a>>2]=0;o=1;break}else{o=(k[a>>2]|0)==0;break}}while(0);do if(!p)C=190;else{d=k[p+12>>2]|0;if((d|0)==(k[p+16>>2]|0))d=Gi[k[(k[p>>2]|0)+36>>2]&2047](p)|0;else d=k[d>>2]|0;if((d|0)==-1){k[b>>2]=0;C=190;break}else if(o)break;else{C=196;break a}}while(0);if((C|0)==190){C=0;if(o){C=196;break a}else p=0}d=k[a>>2]|0;o=k[d+12>>2]|0;if((o|0)==(k[d+16>>2]|0))d=Gi[k[(k[d>>2]|0)+36>>2]&2047](d)|0;else d=k[o>>2]|0;if((d|0)!=(k[D+72>>2]|0)){C=196;break a}d=k[a>>2]|0;o=k[d+12>>2]|0;if((o|0)==(k[d+16>>2]|0)){Gi[k[(k[d>>2]|0)+40>>2]&2047](d)|0;d=p;t=q;q=p}else{k[d+12>>2]=o+4;d=p;t=q;q=p}while(1){if((t|0)<=0)break f;o=k[a>>2]|0;do if(!o)p=1;else{p=k[o+12>>2]|0;if((p|0)==(k[o+16>>2]|0))o=Gi[k[(k[o>>2]|0)+36>>2]&2047](o)|0;else o=k[p>>2]|0;if((o|0)==-1){k[a>>2]=0;p=1;break}else{p=(k[a>>2]|0)==0;break}}while(0);do if(!q)C=214;else{o=k[q+12>>2]|0;if((o|0)==(k[q+16>>2]|0))o=Gi[k[(k[q>>2]|0)+36>>2]&2047](q)|0;else o=k[o>>2]|0;if((o|0)==-1){k[b>>2]=0;d=0;C=214;break}else if(p^(d|0)==0){s=d;q=d;break}else{C=220;break a}}while(0);if((C|0)==214){C=0;if(p){C=220;break a}else{s=d;q=0}}d=k[a>>2]|0;o=k[d+12>>2]|0;if((o|0)==(k[d+16>>2]|0))d=Gi[k[(k[d>>2]|0)+36>>2]&2047](d)|0;else d=k[o>>2]|0;if(!(Ri[k[(k[h>>2]|0)+12>>2]&255](h,2048,d)|0)){C=220;break a}if((k[m>>2]|0)==(k[D+96>>2]|0))vxb(j,m,D+96|0);d=k[a>>2]|0;o=k[d+12>>2]|0;if((o|0)==(k[d+16>>2]|0))d=Gi[k[(k[d>>2]|0)+36>>2]&2047](d)|0;else d=k[o>>2]|0;p=k[m>>2]|0;k[m>>2]=p+4;k[p>>2]=d;p=t+-1|0;k[D+4>>2]=p;d=k[a>>2]|0;o=k[d+12>>2]|0;if((o|0)==(k[d+16>>2]|0)){Gi[k[(k[d>>2]|0)+40>>2]&2047](d)|0;d=s;t=p;continue}else{k[d+12>>2]=o+4;d=s;t=p;continue}}}while(0);if((k[m>>2]|0)==(k[j>>2]|0)){C=230;break a}break}default:n=w}while(0);g:do if((C|0)==46)while(1){C=0;d=k[a>>2]|0;do if(!d)o=1;else{o=k[d+12>>2]|0;if((o|0)==(k[d+16>>2]|0))d=Gi[k[(k[d>>2]|0)+36>>2]&2047](d)|0;else d=k[o>>2]|0;if((d|0)==-1){k[a>>2]=0;o=1;break}else{o=(k[a>>2]|0)==0;break}}while(0);do if(!p)C=59;else{d=k[p+12>>2]|0;if((d|0)==(k[p+16>>2]|0))d=Gi[k[(k[p>>2]|0)+36>>2]&2047](p)|0;else d=k[d>>2]|0;if((d|0)==-1){k[b>>2]=0;n=0;C=59;break}else if(o^(n|0)==0){o=n;p=n;break}else{n=w;break g}}while(0);if((C|0)==59){C=0;if(o){n=w;break g}else{o=n;p=0}}n=k[a>>2]|0;d=k[n+12>>2]|0;if((d|0)==(k[n+16>>2]|0))n=Gi[k[(k[n>>2]|0)+36>>2]&2047](n)|0;else n=k[d>>2]|0;if(!(Ri[k[(k[h>>2]|0)+12>>2]&255](h,8192,n)|0)){n=w;break g}n=k[a>>2]|0;d=k[n+12>>2]|0;if((d|0)==(k[n+16>>2]|0))n=Gi[k[(k[n>>2]|0)+40>>2]&2047](n)|0;else{k[n+12>>2]=d+4;n=k[d>>2]|0}Drb(D+8|0,n);n=o;C=46}while(0);w=n;B=B+1|0}h:do if((C|0)==44){k[f>>2]=k[f>>2]|4;c=0}else if((C|0)==102){k[f>>2]=k[f>>2]|4;c=0}else if((C|0)==142){k[f>>2]=k[f>>2]|4;c=0}else if((C|0)==196){k[f>>2]=k[f>>2]|4;c=0}else if((C|0)==220){k[f>>2]=k[f>>2]|4;c=0}else if((C|0)==230){k[f>>2]=k[f>>2]|4;c=0}else if((C|0)==232){i:do if(s|0){p=s+4|0;q=s+8|0;o=1;j:while(1){n=i[s>>0]|0;if(!(n&1))n=(n&255)>>>1;else n=k[p>>2]|0;if(o>>>0>=n>>>0)break i;n=k[a>>2]|0;do if(!n)d=1;else{c=k[n+12>>2]|0;if((c|0)==(k[n+16>>2]|0))n=Gi[k[(k[n>>2]|0)+36>>2]&2047](n)|0;else n=k[c>>2]|0;if((n|0)==-1){k[a>>2]=0;d=1;break}else{d=(k[a>>2]|0)==0;break}}while(0);n=k[b>>2]|0;do if(!n)C=251;else{c=k[n+12>>2]|0;if((c|0)==(k[n+16>>2]|0))n=Gi[k[(k[n>>2]|0)+36>>2]&2047](n)|0;else n=k[c>>2]|0;if((n|0)==-1){k[b>>2]=0;C=251;break}else if(d)break;else break j}while(0);if((C|0)==251){C=0;if(d)break}n=k[a>>2]|0;c=k[n+12>>2]|0;if((c|0)==(k[n+16>>2]|0))n=Gi[k[(k[n>>2]|0)+36>>2]&2047](n)|0;else n=k[c>>2]|0;if(!(i[s>>0]&1))c=p;else c=k[q>>2]|0;if((n|0)!=(k[c+(o<<2)>>2]|0))break;n=o+1|0;c=k[a>>2]|0;d=k[c+12>>2]|0;if((d|0)==(k[c+16>>2]|0)){Gi[k[(k[c>>2]|0)+40>>2]&2047](c)|0;o=n;continue}else{k[c+12>>2]=d+4;o=n;continue}}k[f>>2]=k[f>>2]|4;c=0;break h}while(0);n=k[D+88>>2]|0;if((n|0)==(t|0))c=1;else{k[D>>2]=0;rtb(D+56|0,n,t,D);if(!(k[D>>2]|0)){c=1;break}else{k[f>>2]=k[f>>2]|4;c=0;break}}}while(0);xrb(D+8|0);xrb(D+20|0);xrb(D+32|0);xrb(D+44|0);_qb(D+56|0);n=k[D+88>>2]|0;k[D+88>>2]=0;if(n|0)Si[k[D+88+4>>2]&1023](n);r=D;return c|0}function uxb(a,b,c,d,e,f,g,h,j,l){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;l=l|0;var m=0;m=r;r=r+112|0;if(a){b=gtb(b,1205436)|0;Di[k[(k[b>>2]|0)+44>>2]&511](m+100|0,b);a=k[m+100>>2]|0;i[c>>0]=a;i[c+1>>0]=a>>8;i[c+2>>0]=a>>16;i[c+3>>0]=a>>24;Di[k[(k[b>>2]|0)+32>>2]&511](m+88|0,b);if(!(i[j>>0]&1))i[j>>0]=0;else k[k[j+8>>2]>>2]=0;k[j+4>>2]=0;Arb(j,0);k[j>>2]=k[m+88>>2];k[j+4>>2]=k[m+88+4>>2];k[j+8>>2]=k[m+88+8>>2];a=0;while(1){if((a|0)==3)break;k[m+88+(a<<2)>>2]=0;a=a+1|0}xrb(m+88|0);Di[k[(k[b>>2]|0)+28>>2]&511](m+76|0,b);if(!(i[h>>0]&1))i[h>>0]=0;else k[k[h+8>>2]>>2]=0;k[h+4>>2]=0;Arb(h,0);k[h>>2]=k[m+76>>2];k[h+4>>2]=k[m+76+4>>2];k[h+8>>2]=k[m+76+8>>2];a=0;while(1){if((a|0)==3)break;k[m+76+(a<<2)>>2]=0;a=a+1|0}xrb(m+76|0);h=Gi[k[(k[b>>2]|0)+12>>2]&2047](b)|0;k[d>>2]=h;d=Gi[k[(k[b>>2]|0)+16>>2]&2047](b)|0;k[e>>2]=d;Di[k[(k[b>>2]|0)+20>>2]&511](m+64|0,b);if(!(i[f>>0]&1)){i[f+1>>0]=0;i[f>>0]=0}else{i[k[f+8>>2]>>0]=0;k[f+4>>2]=0}crb(f,0);k[f>>2]=k[m+64>>2];k[f+4>>2]=k[m+64+4>>2];k[f+8>>2]=k[m+64+8>>2];a=0;while(1){if((a|0)==3)break;k[m+64+(a<<2)>>2]=0;a=a+1|0}_qb(m+64|0);Di[k[(k[b>>2]|0)+24>>2]&511](m+52|0,b);if(!(i[g>>0]&1))i[g>>0]=0;else k[k[g+8>>2]>>2]=0;k[g+4>>2]=0;Arb(g,0);k[g>>2]=k[m+52>>2];k[g+4>>2]=k[m+52+4>>2];k[g+8>>2]=k[m+52+8>>2];a=0;while(1){if((a|0)==3)break;k[m+52+(a<<2)>>2]=0;a=a+1|0}xrb(m+52|0);a=Gi[k[(k[b>>2]|0)+36>>2]&2047](b)|0}else{b=gtb(b,1205428)|0;Di[k[(k[b>>2]|0)+44>>2]&511](m+48|0,b);a=k[m+48>>2]|0;i[c>>0]=a;i[c+1>>0]=a>>8;i[c+2>>0]=a>>16;i[c+3>>0]=a>>24;Di[k[(k[b>>2]|0)+32>>2]&511](m+36|0,b);if(!(i[j>>0]&1))i[j>>0]=0;else k[k[j+8>>2]>>2]=0;k[j+4>>2]=0;Arb(j,0);k[j>>2]=k[m+36>>2];k[j+4>>2]=k[m+36+4>>2];k[j+8>>2]=k[m+36+8>>2];a=0;while(1){if((a|0)==3)break;k[m+36+(a<<2)>>2]=0;a=a+1|0}xrb(m+36|0);Di[k[(k[b>>2]|0)+28>>2]&511](m+24|0,b);if(!(i[h>>0]&1))i[h>>0]=0;else k[k[h+8>>2]>>2]=0;k[h+4>>2]=0;Arb(h,0);k[h>>2]=k[m+24>>2];k[h+4>>2]=k[m+24+4>>2];k[h+8>>2]=k[m+24+8>>2];a=0;while(1){if((a|0)==3)break;k[m+24+(a<<2)>>2]=0;a=a+1|0}xrb(m+24|0);h=Gi[k[(k[b>>2]|0)+12>>2]&2047](b)|0;k[d>>2]=h;d=Gi[k[(k[b>>2]|0)+16>>2]&2047](b)|0;k[e>>2]=d;Di[k[(k[b>>2]|0)+20>>2]&511](m+12|0,b);if(!(i[f>>0]&1)){i[f+1>>0]=0;i[f>>0]=0}else{i[k[f+8>>2]>>0]=0;k[f+4>>2]=0}crb(f,0);k[f>>2]=k[m+12>>2];k[f+4>>2]=k[m+12+4>>2];k[f+8>>2]=k[m+12+8>>2];a=0;while(1){if((a|0)==3)break;k[m+12+(a<<2)>>2]=0;a=a+1|0}_qb(m+12|0);Di[k[(k[b>>2]|0)+24>>2]&511](m,b);if(!(i[g>>0]&1))i[g>>0]=0;else k[k[g+8>>2]>>2]=0;k[g+4>>2]=0;Arb(g,0);k[g>>2]=k[m>>2];k[g+4>>2]=k[m+4>>2];k[g+8>>2]=k[m+8>>2];a=0;while(1){if((a|0)==3)break;k[m+(a<<2)>>2]=0;a=a+1|0}xrb(m);a=Gi[k[(k[b>>2]|0)+36>>2]&2047](b)|0}k[l>>2]=a;r=m;return}function vxb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=(k[a+4>>2]|0)!=792;d=k[a>>2]|0;f=(k[c>>2]|0)-d|0;f=f>>>0<2147483647?f<<1:-1;g=(k[b>>2]|0)-d>>2;d=kqb(e?d:0,f)|0;if(!d)sBb();if(e)k[a>>2]=d;else{e=k[a>>2]|0;k[a>>2]=d;if(e){Si[k[a+4>>2]&1023](e);d=k[a>>2]|0}}k[a+4>>2]=793;k[b>>2]=d+(g<<2);k[c>>2]=(k[a>>2]|0)+(f>>>2<<2);return}function wxb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,l=0,m=0;m=r;r=r+432|0;k[m+16>>2]=m+24;k[m+16+4>>2]=792;j=Gsb(e)|0;k[m+4>>2]=j;a=gtb(m+4|0,1203732)|0;i[m+428>>0]=0;h=k[c>>2]|0;k[m>>2]=h;e=k[e+4>>2]|0;k[m+424>>2]=k[m>>2];if(txb(b,m+424|0,d,m+4|0,e,f,m+428|0,a,m+16|0,m+8|0,m+24+400|0)|0){if(!(i[g>>0]&1))i[g>>0]=0;else k[k[g+8>>2]>>2]=0;k[g+4>>2]=0;if(i[m+428>>0]|0)Drb(g,gj[k[(k[a>>2]|0)+44>>2]&511](a,45)|0);d=gj[k[(k[a>>2]|0)+44>>2]&511](a,48)|0;e=k[m+8>>2]|0;a=k[m+16>>2]|0;while(1){if(a>>>0>=(e+-4|0)>>>0)break;if((k[a>>2]|0)!=(d|0))break;a=a+4|0}xxb(g,a,e)|0}a=k[b>>2]|0;do if(!a)d=1;else{d=k[a+12>>2]|0;if((d|0)==(k[a+16>>2]|0))a=Gi[k[(k[a>>2]|0)+36>>2]&2047](a)|0;else a=k[d>>2]|0;if((a|0)==-1){k[b>>2]=0;d=1;break}else{d=(k[b>>2]|0)==0;break}}while(0);do if(!h)l=25;else{a=k[h+12>>2]|0;if((a|0)==(k[h+16>>2]|0))a=Gi[k[(k[h>>2]|0)+36>>2]&2047](h)|0;else a=k[a>>2]|0;if((a|0)==-1){k[c>>2]=0;l=25;break}else if(d)break;else{l=27;break}}while(0);if((l|0)==25)if(d)l=27;if((l|0)==27)k[f>>2]=k[f>>2]|2;d=k[b>>2]|0;sAb(j)|0;a=k[m+16>>2]|0;k[m+16>>2]=0;if(a|0)Si[k[m+16+4>>2]&1023](a);r=m;return d|0}function xxb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=i[a>>0]|0;if(!(d&1)){e=1;h=(d&255)>>>1}else{d=k[a>>2]|0;e=(d&-2)+-1|0;h=k[a+4>>2]|0;d=d&255}do if(c-b>>2|0){if((e-h|0)>>>0>2>>>0){Crb(a,e,h+(c-b>>2)-e|0,h,h,0,0);d=i[a>>0]|0}if(!(d&1))e=a+4|0;else e=k[a+8>>2]|0;f=h+((c-b|0)>>>2)|0;d=b;g=e+(h<<2)|0;while(1){if((d|0)==(c|0))break;k[g>>2]=k[d>>2];d=d+4|0;g=g+4|0}k[e+(f<<2)>>2]=0;d=h+(c-b>>2)|0;if(!(i[a>>0]&1)){i[a>>0]=d<<1;break}else{k[a+4>>2]=d;break}}while(0);return a|0}function yxb(a){a=a|0;return}function zxb(a){a=a|0;CAb(a);return}function Axb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=+f;var g=0,h=0,j=0,l=0,m=0,n=0,o=0,q=0,s=0,t=0,u=0;s=r;r=r+384|0;k[s+72>>2]=s+284;p[s+8>>3]=f;a=Nnb(s+284|0,100,619294,s+8|0)|0;if(a>>>0>99){a=qtb()|0;p[s>>3]=f;a=Gub(s+72|0,a,619294,s)|0;g=k[s+72>>2]|0;if(!g)sBb();h=hqb(a)|0;if(!h)sBb();else{m=h;t=h;u=g;o=a}}else{m=s+184|0;t=0;u=0;o=a}a=Gsb(d)|0;k[s+68>>2]=a;j=gtb(s+68|0,1203700)|0;l=k[s+72>>2]|0;nj[k[(k[j>>2]|0)+32>>2]&127](j,l,l+o|0,m)|0;if(!o)l=0;else l=(i[k[s+72>>2]>>0]|0)==45;g=0;while(1){if((g|0)==3)break;k[s+56+(g<<2)>>2]=0;g=g+1|0}g=0;while(1){if((g|0)==3)break;k[s+44+(g<<2)>>2]=0;g=g+1|0}g=0;while(1){if((g|0)==3)break;k[s+32+(g<<2)>>2]=0;g=g+1|0}Bxb(c,l,s+68|0,s+180|0,s+177|0,s+176|0,s+56|0,s+44|0,s+32|0,s+28|0);h=k[s+28>>2]|0;if((o|0)>(h|0)){c=i[s+32>>0]|0;g=i[s+44>>0]|0;g=(o-h<<1|1)+h+((c&1)==0?(c&255)>>>1:k[s+32+4>>2]|0)+((g&1)==0?(g&255)>>>1:k[s+44+4>>2]|0)|0}else{c=i[s+32>>0]|0;g=i[s+44>>0]|0;g=h+2+((c&1)==0?(c&255)>>>1:k[s+32+4>>2]|0)+((g&1)==0?(g&255)>>>1:k[s+44+4>>2]|0)|0}if(g>>>0>100){g=hqb(g)|0;if(!g)sBb();else{q=g;n=g}}else{q=0;n=s+76|0}Cxb(n,s+24|0,s+20|0,k[d+4>>2]|0,m,m+o|0,j,l,s+180|0,i[s+177>>0]|0,i[s+176>>0]|0,s+56|0,s+44|0,s+32|0,h);k[s+16>>2]=k[b>>2];b=k[s+24>>2]|0;g=k[s+20>>2]|0;k[s+8>>2]=k[s+16>>2];g=qk(s+8|0,n,b,g,d,e)|0;if(q){iqb(q);a=k[s+68>>2]|0}_qb(s+32|0);_qb(s+44|0);_qb(s+56|0);sAb(a)|0;if(t|0)iqb(t);if(u|0)iqb(u);r=s;return g|0}function Bxb(a,b,c,d,e,f,g,h,j,l){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;l=l|0;var m=0,n=0;n=r;r=r+112|0;if(a){m=gtb(c,1205420)|0;a=k[m>>2]|0;if(b){Di[k[a+44>>2]&511](n+108|0,m);b=k[n+108>>2]|0;i[d>>0]=b;i[d+1>>0]=b>>8;i[d+2>>0]=b>>16;i[d+3>>0]=b>>24;Di[k[(k[m>>2]|0)+32>>2]&511](n+96|0,m);if(!(i[j>>0]&1)){i[j+1>>0]=0;i[j>>0]=0}else{i[k[j+8>>2]>>0]=0;k[j+4>>2]=0}crb(j,0);k[j>>2]=k[n+96>>2];k[j+4>>2]=k[n+96+4>>2];k[j+8>>2]=k[n+96+8>>2];a=0;while(1){if((a|0)==3)break;k[n+96+(a<<2)>>2]=0;a=a+1|0}_qb(n+96|0);c=m}else{Di[k[a+40>>2]&511](n+92|0,m);b=k[n+92>>2]|0;i[d>>0]=b;i[d+1>>0]=b>>8;i[d+2>>0]=b>>16;i[d+3>>0]=b>>24;Di[k[(k[m>>2]|0)+28>>2]&511](n+80|0,m);if(!(i[j>>0]&1)){i[j+1>>0]=0;i[j>>0]=0}else{i[k[j+8>>2]>>0]=0;k[j+4>>2]=0}crb(j,0);k[j>>2]=k[n+80>>2];k[j+4>>2]=k[n+80+4>>2];k[j+8>>2]=k[n+80+8>>2];a=0;while(1){if((a|0)==3)break;k[n+80+(a<<2)>>2]=0;a=a+1|0}_qb(n+80|0);c=m}j=Gi[k[(k[m>>2]|0)+12>>2]&2047](m)|0;i[e>>0]=j;e=Gi[k[(k[m>>2]|0)+16>>2]&2047](m)|0;i[f>>0]=e;Di[k[(k[c>>2]|0)+20>>2]&511](n+68|0,m);if(!(i[g>>0]&1)){i[g+1>>0]=0;i[g>>0]=0}else{i[k[g+8>>2]>>0]=0;k[g+4>>2]=0}crb(g,0);k[g>>2]=k[n+68>>2];k[g+4>>2]=k[n+68+4>>2];k[g+8>>2]=k[n+68+8>>2];a=0;while(1){if((a|0)==3)break;k[n+68+(a<<2)>>2]=0;a=a+1|0}_qb(n+68|0);Di[k[(k[c>>2]|0)+24>>2]&511](n+56|0,m);if(!(i[h>>0]&1)){i[h+1>>0]=0;i[h>>0]=0}else{i[k[h+8>>2]>>0]=0;k[h+4>>2]=0}crb(h,0);k[h>>2]=k[n+56>>2];k[h+4>>2]=k[n+56+4>>2];k[h+8>>2]=k[n+56+8>>2];a=0;while(1){if((a|0)==3)break;k[n+56+(a<<2)>>2]=0;a=a+1|0}_qb(n+56|0);a=Gi[k[(k[m>>2]|0)+36>>2]&2047](m)|0}else{m=gtb(c,1205412)|0;a=k[m>>2]|0;if(b){Di[k[a+44>>2]&511](n+52|0,m);b=k[n+52>>2]|0;i[d>>0]=b;i[d+1>>0]=b>>8;i[d+2>>0]=b>>16;i[d+3>>0]=b>>24;Di[k[(k[m>>2]|0)+32>>2]&511](n+40|0,m);if(!(i[j>>0]&1)){i[j+1>>0]=0;i[j>>0]=0}else{i[k[j+8>>2]>>0]=0;k[j+4>>2]=0}crb(j,0);k[j>>2]=k[n+40>>2];k[j+4>>2]=k[n+40+4>>2];k[j+8>>2]=k[n+40+8>>2];a=0;while(1){if((a|0)==3)break;k[n+40+(a<<2)>>2]=0;a=a+1|0}_qb(n+40|0);c=m}else{Di[k[a+40>>2]&511](n+36|0,m);b=k[n+36>>2]|0;i[d>>0]=b;i[d+1>>0]=b>>8;i[d+2>>0]=b>>16;i[d+3>>0]=b>>24;Di[k[(k[m>>2]|0)+28>>2]&511](n+24|0,m);if(!(i[j>>0]&1)){i[j+1>>0]=0;i[j>>0]=0}else{i[k[j+8>>2]>>0]=0;k[j+4>>2]=0}crb(j,0);k[j>>2]=k[n+24>>2];k[j+4>>2]=k[n+24+4>>2];k[j+8>>2]=k[n+24+8>>2];a=0;while(1){if((a|0)==3)break;k[n+24+(a<<2)>>2]=0;a=a+1|0}_qb(n+24|0);c=m}j=Gi[k[(k[m>>2]|0)+12>>2]&2047](m)|0;i[e>>0]=j;e=Gi[k[(k[m>>2]|0)+16>>2]&2047](m)|0;i[f>>0]=e;Di[k[(k[c>>2]|0)+20>>2]&511](n+12|0,m);if(!(i[g>>0]&1)){i[g+1>>0]=0;i[g>>0]=0}else{i[k[g+8>>2]>>0]=0;k[g+4>>2]=0}crb(g,0);k[g>>2]=k[n+12>>2];k[g+4>>2]=k[n+12+4>>2];k[g+8>>2]=k[n+12+8>>2];a=0;while(1){if((a|0)==3)break;k[n+12+(a<<2)>>2]=0;a=a+1|0}_qb(n+12|0);Di[k[(k[c>>2]|0)+24>>2]&511](n,m);if(!(i[h>>0]&1)){i[h+1>>0]=0;i[h>>0]=0}else{i[k[h+8>>2]>>0]=0;k[h+4>>2]=0}crb(h,0);k[h>>2]=k[n>>2];k[h+4>>2]=k[n+4>>2];k[h+8>>2]=k[n+8>>2];a=0;while(1){if((a|0)==3)break;k[n+(a<<2)>>2]=0;a=a+1|0}_qb(n);a=Gi[k[(k[m>>2]|0)+36>>2]&2047](m)|0}k[l>>2]=a;r=n;return}function Cxb(a,b,c,d,e,f,g,h,l,m,n,o,p,q,r){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;l=l|0;m=m|0;n=n|0;o=o|0;p=p|0;q=q|0;r=r|0;var s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;k[c>>2]=a;x=0;while(1){if((x|0)==4)break;a:do switch(i[l+x>>0]|0){case 0:{k[b>>2]=k[c>>2];break}case 1:{k[b>>2]=k[c>>2];v=gj[k[(k[g>>2]|0)+28>>2]&511](g,32)|0;w=k[c>>2]|0;k[c>>2]=w+1;i[w>>0]=v;break}case 3:{s=i[q>>0]|0;if(((s&1)==0?(s&255)>>>1:k[q+4>>2]|0)|0){v=i[((s&1)==0?q+1|0:k[q+8>>2]|0)>>0]|0;w=k[c>>2]|0;k[c>>2]=w+1;i[w>>0]=v}break}case 2:{s=i[p>>0]|0;v=(s&1)==0?(s&255)>>>1:k[p+4>>2]|0;if(!((d&512|0)==0|(v|0)==0)){u=(s&1)==0?p+1|0:k[p+8>>2]|0;s=k[c>>2]|0;t=u;while(1){if((t|0)==(u+v|0))break;i[s>>0]=i[t>>0]|0;s=s+1|0;t=t+1|0}k[c>>2]=s}break}case 4:{t=k[c>>2]|0;e=h?e+1|0:e;s=e;while(1){if(s>>>0>=f>>>0)break;u=i[s>>0]|0;if(u<<24>>24<=-1)break;if(!(j[(k[g+8>>2]|0)+(u<<24>>24<<1)>>1]&2048))break;s=s+1|0}if((r|0)>0){v=r;while(1){u=(v|0)>0;if(!(s>>>0>e>>>0&u))break;w=s+-1|0;y=i[w>>0]|0;u=k[c>>2]|0;k[c>>2]=u+1;i[u>>0]=y;s=w;v=v+-1|0}if(u)w=gj[k[(k[g>>2]|0)+28>>2]&511](g,48)|0;else w=0;while(1){u=k[c>>2]|0;k[c>>2]=u+1;if((v|0)<=0)break;i[u>>0]=w;v=v+-1|0}i[u>>0]=m}b:do if((s|0)==(e|0)){w=gj[k[(k[g>>2]|0)+28>>2]&511](g,48)|0;y=k[c>>2]|0;k[c>>2]=y+1;i[y>>0]=w}else{u=i[o>>0]|0;if(!(((u&1)==0?(u&255)>>>1:k[o+4>>2]|0)|0)){u=-1;v=0;w=0}else{u=i[((u&1)==0?o+1|0:k[o+8>>2]|0)>>0]|0;v=0;w=0}while(1){if((s|0)==(e|0))break b;if((w|0)==(u|0)){u=k[c>>2]|0;k[c>>2]=u+1;i[u>>0]=n;v=v+1|0;u=i[o>>0]|0;if(v>>>0<((u&1)==0?(u&255)>>>1:k[o+4>>2]|0)>>>0){u=i[((u&1)==0?o+1|0:k[o+8>>2]|0)+v>>0]|0;u=u<<24>>24==127?-1:u<<24>>24;w=0}else{u=w;w=0}}y=s+-1|0;A=i[y>>0]|0;z=k[c>>2]|0;k[c>>2]=z+1;i[z>>0]=A;s=y;w=w+1|0}}while(0);s=k[c>>2]|0;if((t|0)!=(s|0))while(1){s=s+-1|0;if(t>>>0>=s>>>0)break a;A=i[t>>0]|0;i[t>>0]=i[s>>0]|0;i[s>>0]=A;t=t+1|0}break}default:{}}while(0);x=x+1|0}e=i[q>>0]|0;u=(e&1)==0?(e&255)>>>1:k[q+4>>2]|0;if(u>>>0>1){t=(e&1)==0?q+1|0:k[q+8>>2]|0;e=k[c>>2]|0;s=t;while(1){s=s+1|0;if((s|0)==(t+u|0))break;i[e>>0]=i[s>>0]|0;e=e+1|0}k[c>>2]=e}switch(d&176|0){case 32:{k[b>>2]=k[c>>2];break}case 16:break;default:k[b>>2]=a}return}function Dxb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0;p=r;r=r+176|0;a=Gsb(d)|0;k[p+52>>2]=a;m=gtb(p+52|0,1203700)|0;g=i[f>>0]|0;if(!(((g&1)==0?(g&255)>>>1:k[f+4>>2]|0)|0))l=0;else{l=i[((g&1)==0?f+1|0:k[f+8>>2]|0)>>0]|0;l=l<<24>>24==(gj[k[(k[m>>2]|0)+28>>2]&511](m,45)|0)<<24>>24}g=0;while(1){if((g|0)==3)break;k[p+40+(g<<2)>>2]=0;g=g+1|0}g=0;while(1){if((g|0)==3)break;k[p+28+(g<<2)>>2]=0;g=g+1|0}g=0;while(1){if((g|0)==3)break;k[p+16+(g<<2)>>2]=0;g=g+1|0}Bxb(c,l,p+52|0,p+164|0,p+161|0,p+160|0,p+40|0,p+28|0,p+16|0,p+12|0);c=i[f>>0]|0;h=k[f+4>>2]|0;g=(c&1)==0?(c&255)>>>1:h;j=k[p+12>>2]|0;if((g|0)>(j|0)){s=i[p+16>>0]|0;q=i[p+28>>0]|0;g=(g-j<<1|1)+j+((s&1)==0?(s&255)>>>1:k[p+16+4>>2]|0)+((q&1)==0?(q&255)>>>1:k[p+28+4>>2]|0)|0}else{s=i[p+16>>0]|0;g=i[p+28>>0]|0;g=j+2+((s&1)==0?(s&255)>>>1:k[p+16+4>>2]|0)+((g&1)==0?(g&255)>>>1:k[p+28+4>>2]|0)|0}if(g>>>0>100){g=hqb(g)|0;if(!g)sBb();else{o=g;n=g}}else{o=0;n=p+60|0}s=(c&1)==0?f+1|0:k[f+8>>2]|0;Cxb(n,p+8|0,p+4|0,k[d+4>>2]|0,s,s+((c&1)==0?(c&255)>>>1:h)|0,m,l,p+164|0,i[p+161>>0]|0,i[p+160>>0]|0,p+40|0,p+28|0,p+16|0,j);k[p>>2]=k[b>>2];s=k[p+8>>2]|0;g=k[p+4>>2]|0;k[p+56>>2]=k[p>>2];g=qk(p+56|0,n,s,g,d,e)|0;if(o){iqb(o);a=k[p+52>>2]|0}_qb(p+16|0);_qb(p+28|0);_qb(p+40|0);sAb(a)|0;r=p;return g|0}function Exb(a){a=a|0;return}function Fxb(a){a=a|0;CAb(a);return}function Gxb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=+f;var g=0,h=0,j=0,l=0,m=0,n=0,o=0,q=0,s=0,t=0,u=0;s=r;r=r+1008|0;k[s+888>>2]=s+896;p[s+8>>3]=f;a=Nnb(s+896|0,100,619294,s+8|0)|0;if(a>>>0>99){a=qtb()|0;p[s>>3]=f;a=Gub(s+888|0,a,619294,s)|0;g=k[s+888>>2]|0;if(!g)sBb();h=hqb(a<<2)|0;if(!h)sBb();else{m=h;t=h;u=g;o=a}}else{m=s+488|0;t=0;u=0;o=a}a=Gsb(d)|0;k[s+480>>2]=a;j=gtb(s+480|0,1203732)|0;l=k[s+888>>2]|0;nj[k[(k[j>>2]|0)+48>>2]&127](j,l,l+o|0,m)|0;if(!o)l=0;else l=(i[k[s+888>>2]>>0]|0)==45;g=0;while(1){if((g|0)==3)break;k[s+460+(g<<2)>>2]=0;g=g+1|0}g=0;while(1){if((g|0)==3)break;k[s+448+(g<<2)>>2]=0;g=g+1|0}g=0;while(1){if((g|0)==3)break;k[s+436+(g<<2)>>2]=0;g=g+1|0}Hxb(c,l,s+480|0,s+892|0,s+476|0,s+472|0,s+460|0,s+448|0,s+436|0,s+432|0);h=k[s+432>>2]|0;if((o|0)>(h|0)){c=i[s+436>>0]|0;g=i[s+448>>0]|0;g=(o-h<<1|1)+h+((c&1)==0?(c&255)>>>1:k[s+436+4>>2]|0)+((g&1)==0?(g&255)>>>1:k[s+448+4>>2]|0)|0}else{c=i[s+436>>0]|0;g=i[s+448>>0]|0;g=h+2+((c&1)==0?(c&255)>>>1:k[s+436+4>>2]|0)+((g&1)==0?(g&255)>>>1:k[s+448+4>>2]|0)|0}if(g>>>0>100){g=hqb(g<<2)|0;if(!g)sBb();else{q=g;n=g}}else{q=0;n=s+32|0}Ixb(n,s+24|0,s+20|0,k[d+4>>2]|0,m,m+(o<<2)|0,j,l,s+892|0,k[s+476>>2]|0,k[s+472>>2]|0,s+460|0,s+448|0,s+436|0,h);k[s+16>>2]=k[b>>2];b=k[s+24>>2]|0;g=k[s+20>>2]|0;k[s+8>>2]=k[s+16>>2];g=Pub(s+8|0,n,b,g,d,e)|0;if(q){iqb(q);a=k[s+480>>2]|0}xrb(s+436|0);xrb(s+448|0);_qb(s+460|0);sAb(a)|0;if(t|0)iqb(t);if(u|0)iqb(u);r=s;return g|0}function Hxb(a,b,c,d,e,f,g,h,j,l){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;l=l|0;var m=0;m=r;r=r+112|0;if(a){c=gtb(c,1205436)|0;a=k[c>>2]|0;if(b){Di[k[a+44>>2]&511](m+108|0,c);b=k[m+108>>2]|0;i[d>>0]=b;i[d+1>>0]=b>>8;i[d+2>>0]=b>>16;i[d+3>>0]=b>>24;Di[k[(k[c>>2]|0)+32>>2]&511](m+96|0,c);if(!(i[j>>0]&1))i[j>>0]=0;else k[k[j+8>>2]>>2]=0;k[j+4>>2]=0;Arb(j,0);k[j>>2]=k[m+96>>2];k[j+4>>2]=k[m+96+4>>2];k[j+8>>2]=k[m+96+8>>2];a=0;while(1){if((a|0)==3)break;k[m+96+(a<<2)>>2]=0;a=a+1|0}xrb(m+96|0)}else{Di[k[a+40>>2]&511](m+92|0,c);b=k[m+92>>2]|0;i[d>>0]=b;i[d+1>>0]=b>>8;i[d+2>>0]=b>>16;i[d+3>>0]=b>>24;Di[k[(k[c>>2]|0)+28>>2]&511](m+80|0,c);if(!(i[j>>0]&1))i[j>>0]=0;else k[k[j+8>>2]>>2]=0;k[j+4>>2]=0;Arb(j,0);k[j>>2]=k[m+80>>2];k[j+4>>2]=k[m+80+4>>2];k[j+8>>2]=k[m+80+8>>2];a=0;while(1){if((a|0)==3)break;k[m+80+(a<<2)>>2]=0;a=a+1|0}xrb(m+80|0)}j=Gi[k[(k[c>>2]|0)+12>>2]&2047](c)|0;k[e>>2]=j;e=Gi[k[(k[c>>2]|0)+16>>2]&2047](c)|0;k[f>>2]=e;Di[k[(k[c>>2]|0)+20>>2]&511](m+68|0,c);if(!(i[g>>0]&1)){i[g+1>>0]=0;i[g>>0]=0}else{i[k[g+8>>2]>>0]=0;k[g+4>>2]=0}crb(g,0);k[g>>2]=k[m+68>>2];k[g+4>>2]=k[m+68+4>>2];k[g+8>>2]=k[m+68+8>>2];a=0;while(1){if((a|0)==3)break;k[m+68+(a<<2)>>2]=0;a=a+1|0}_qb(m+68|0);Di[k[(k[c>>2]|0)+24>>2]&511](m+56|0,c);if(!(i[h>>0]&1))i[h>>0]=0;else k[k[h+8>>2]>>2]=0;k[h+4>>2]=0;Arb(h,0);k[h>>2]=k[m+56>>2];k[h+4>>2]=k[m+56+4>>2];k[h+8>>2]=k[m+56+8>>2];a=0;while(1){if((a|0)==3)break;k[m+56+(a<<2)>>2]=0;a=a+1|0}xrb(m+56|0);a=Gi[k[(k[c>>2]|0)+36>>2]&2047](c)|0}else{c=gtb(c,1205428)|0;a=k[c>>2]|0;if(b){Di[k[a+44>>2]&511](m+52|0,c);b=k[m+52>>2]|0;i[d>>0]=b;i[d+1>>0]=b>>8;i[d+2>>0]=b>>16;i[d+3>>0]=b>>24;Di[k[(k[c>>2]|0)+32>>2]&511](m+40|0,c);if(!(i[j>>0]&1))i[j>>0]=0;else k[k[j+8>>2]>>2]=0;k[j+4>>2]=0;Arb(j,0);k[j>>2]=k[m+40>>2];k[j+4>>2]=k[m+40+4>>2];k[j+8>>2]=k[m+40+8>>2];a=0;while(1){if((a|0)==3)break;k[m+40+(a<<2)>>2]=0;a=a+1|0}xrb(m+40|0)}else{Di[k[a+40>>2]&511](m+36|0,c);b=k[m+36>>2]|0;i[d>>0]=b;i[d+1>>0]=b>>8;i[d+2>>0]=b>>16;i[d+3>>0]=b>>24;Di[k[(k[c>>2]|0)+28>>2]&511](m+24|0,c);if(!(i[j>>0]&1))i[j>>0]=0;else k[k[j+8>>2]>>2]=0;k[j+4>>2]=0;Arb(j,0);k[j>>2]=k[m+24>>2];k[j+4>>2]=k[m+24+4>>2];k[j+8>>2]=k[m+24+8>>2];a=0;while(1){if((a|0)==3)break;k[m+24+(a<<2)>>2]=0;a=a+1|0}xrb(m+24|0)}j=Gi[k[(k[c>>2]|0)+12>>2]&2047](c)|0;k[e>>2]=j;e=Gi[k[(k[c>>2]|0)+16>>2]&2047](c)|0;k[f>>2]=e;Di[k[(k[c>>2]|0)+20>>2]&511](m+12|0,c);if(!(i[g>>0]&1)){i[g+1>>0]=0;i[g>>0]=0}else{i[k[g+8>>2]>>0]=0;k[g+4>>2]=0}crb(g,0);k[g>>2]=k[m+12>>2];k[g+4>>2]=k[m+12+4>>2];k[g+8>>2]=k[m+12+8>>2];a=0;while(1){if((a|0)==3)break;k[m+12+(a<<2)>>2]=0;a=a+1|0}_qb(m+12|0);Di[k[(k[c>>2]|0)+24>>2]&511](m,c);if(!(i[h>>0]&1))i[h>>0]=0;else k[k[h+8>>2]>>2]=0;k[h+4>>2]=0;Arb(h,0);k[h>>2]=k[m>>2];k[h+4>>2]=k[m+4>>2];k[h+8>>2]=k[m+8>>2];a=0;while(1){if((a|0)==3)break;k[m+(a<<2)>>2]=0;a=a+1|0}xrb(m);a=Gi[k[(k[c>>2]|0)+36>>2]&2047](c)|0}k[l>>2]=a;r=m;return}function Ixb(a,b,c,d,e,f,g,h,j,l,m,n,o,p,q){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;l=l|0;m=m|0;n=n|0;o=o|0;p=p|0;q=q|0;var r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;k[c>>2]=a;z=0;while(1){if((z|0)==4)break;a:do switch(i[j+z>>0]|0){case 0:{k[b>>2]=k[c>>2];break}case 1:{k[b>>2]=k[c>>2];x=gj[k[(k[g>>2]|0)+44>>2]&511](g,32)|0;y=k[c>>2]|0;k[c>>2]=y+4;k[y>>2]=x;break}case 3:{r=i[p>>0]|0;if(((r&1)==0?(r&255)>>>1:k[p+4>>2]|0)|0){x=k[((r&1)==0?p+4|0:k[p+8>>2]|0)>>2]|0;y=k[c>>2]|0;k[c>>2]=y+4;k[y>>2]=x}break}case 2:{r=i[o>>0]|0;v=(r&1)==0?(r&255)>>>1:k[o+4>>2]|0;if(!((d&512|0)==0|(v|0)==0)){s=(r&1)==0?o+4|0:k[o+8>>2]|0;t=k[c>>2]|0;r=t;u=s;while(1){if((u|0)==(s+(v<<2)|0))break;k[r>>2]=k[u>>2];r=r+4|0;u=u+4|0}k[c>>2]=t+(v<<2)}break}case 4:{s=k[c>>2]|0;e=h?e+4|0:e;r=e;while(1){if(r>>>0>=f>>>0)break;if(!(Ri[k[(k[g>>2]|0)+12>>2]&255](g,2048,k[r>>2]|0)|0))break;r=r+4|0}if((q|0)>0){u=q;while(1){t=(u|0)>0;if(!(r>>>0>e>>>0&t))break;y=r+-4|0;w=k[y>>2]|0;x=k[c>>2]|0;k[c>>2]=x+4;k[x>>2]=w;r=y;u=u+-1|0}if(t)w=gj[k[(k[g>>2]|0)+44>>2]&511](g,48)|0;else w=0;t=k[c>>2]|0;while(1){v=t+4|0;if((u|0)<=0)break;k[t>>2]=w;t=v;u=u+-1|0}k[c>>2]=v;k[t>>2]=l}if((r|0)==(e|0)){y=gj[k[(k[g>>2]|0)+44>>2]&511](g,48)|0;r=k[c>>2]|0;k[c>>2]=r+4;k[r>>2]=y;r=r+4|0}else{t=i[n>>0]|0;y=k[n+4>>2]|0;if(!(((t&1)==0?(t&255)>>>1:y)|0)){w=-1;v=0;x=0}else{w=i[((t&1)==0?n+1|0:k[n+8>>2]|0)>>0]|0;v=0;x=0}while(1){if((r|0)==(e|0))break;u=k[c>>2]|0;if((x|0)==(w|0)){k[c>>2]=u+4;k[u>>2]=m;v=v+1|0;t=i[n>>0]|0;if(v>>>0<((t&1)==0?(t&255)>>>1:y)>>>0){w=i[((t&1)==0?n+1|0:k[n+8>>2]|0)+v>>0]|0;u=u+4|0;w=w<<24>>24==127?-1:w<<24>>24;t=0}else{u=u+4|0;w=x;t=0}}else t=x;x=r+-4|0;A=k[x>>2]|0;k[c>>2]=u+4;k[u>>2]=A;r=x;x=t+1|0}r=k[c>>2]|0}if((s|0)!=(r|0))while(1){r=r+-4|0;if(s>>>0>=r>>>0)break a;A=k[s>>2]|0;k[s>>2]=k[r>>2];k[r>>2]=A;s=s+4|0}break}default:{}}while(0);z=z+1|0}e=i[p>>0]|0;u=(e&1)==0?(e&255)>>>1:k[p+4>>2]|0;if(u>>>0>1){r=(e&1)==0?p+4|0:k[p+8>>2]|0;s=k[c>>2]|0;e=s;t=r+4|0;while(1){if((t|0)==(r+(u<<2)|0))break;k[e>>2]=k[t>>2];e=e+4|0;t=t+4|0}k[c>>2]=s+((r+(u<<2)-(r+4)|0)>>>2<<2)}switch(d&176|0){case 32:{k[b>>2]=k[c>>2];break}case 16:break;default:k[b>>2]=a}return}function Jxb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0;p=r;r=r+480|0;a=Gsb(d)|0;k[p+464>>2]=a;m=gtb(p+464|0,1203732)|0;g=i[f>>0]|0;if(!(((g&1)==0?(g&255)>>>1:k[f+4>>2]|0)|0))l=0;else{l=k[((g&1)==0?f+4|0:k[f+8>>2]|0)>>2]|0;l=(l|0)==(gj[k[(k[m>>2]|0)+44>>2]&511](m,45)|0)}g=0;while(1){if((g|0)==3)break;k[p+444+(g<<2)>>2]=0;g=g+1|0}g=0;while(1){if((g|0)==3)break;k[p+432+(g<<2)>>2]=0;g=g+1|0}g=0;while(1){if((g|0)==3)break;k[p+420+(g<<2)>>2]=0;g=g+1|0}Hxb(c,l,p+464|0,p+472|0,p+460|0,p+456|0,p+444|0,p+432|0,p+420|0,p+416|0);c=i[f>>0]|0;h=k[f+4>>2]|0;g=(c&1)==0?(c&255)>>>1:h;j=k[p+416>>2]|0;if((g|0)>(j|0)){s=i[p+420>>0]|0;q=i[p+432>>0]|0;g=(g-j<<1|1)+j+((s&1)==0?(s&255)>>>1:k[p+420+4>>2]|0)+((q&1)==0?(q&255)>>>1:k[p+432+4>>2]|0)|0}else{s=i[p+420>>0]|0;g=i[p+432>>0]|0;g=j+2+((s&1)==0?(s&255)>>>1:k[p+420+4>>2]|0)+((g&1)==0?(g&255)>>>1:k[p+432+4>>2]|0)|0}if(g>>>0>100){g=hqb(g<<2)|0;if(!g)sBb();else{o=g;n=g}}else{o=0;n=p+16|0}s=(c&1)==0?f+4|0:k[f+8>>2]|0;Ixb(n,p+8|0,p+4|0,k[d+4>>2]|0,s,s+(((c&1)==0?(c&255)>>>1:h)<<2)|0,m,l,p+472|0,k[p+460>>2]|0,k[p+456>>2]|0,p+444|0,p+432|0,p+420|0,j);k[p>>2]=k[b>>2];s=k[p+8>>2]|0;g=k[p+4>>2]|0;k[p+468>>2]=k[p>>2];g=Pub(p+468|0,n,s,g,d,e)|0;if(o){iqb(o);a=k[p+464>>2]|0}xrb(p+420|0);xrb(p+432|0);_qb(p+444|0);sAb(a)|0;r=p;return g|0}function Kxb(a){a=a|0;return}function Lxb(a){a=a|0;CAb(a);return}function Mxb(a,b,c){a=a|0;b=b|0;c=c|0;a=Dnb((i[b>>0]&1)==0?b+1|0:k[b+8>>2]|0,1)|0;return a>>>((a|0)!=(-1|0)&1)|0}function Nxb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=r;r=r+16|0;b=0;while(1){if((b|0)==3)break;k[g+(b<<2)>>2]=0;b=b+1|0}h=i[f>>0]|0;b=(h&1)==0?f+1|0:k[f+8>>2]|0;f=b+((h&1)==0?(h&255)>>>1:k[f+4>>2]|0)|0;while(1){if(b>>>0>=f>>>0)break;jrb(g,i[b>>0]|0);b=b+1|0}b=Cnb((c|0)==-1?-1:c<<1,d,e,(i[g>>0]&1)==0?g+1|0:k[g+8>>2]|0)|0;f=0;while(1){if((f|0)==3)break;k[a+(f<<2)>>2]=0;f=f+1|0}f=b+(Fnb(b)|0)|0;while(1){if(b>>>0>=f>>>0)break;jrb(a,i[b>>0]|0);b=b+1|0}_qb(g);r=g;return}function Oxb(a,b){a=a|0;b=b|0;return}function Pxb(a){a=a|0;return}function Qxb(a){a=a|0;CAb(a);return}function Rxb(a,b,c){a=a|0;b=b|0;c=c|0;a=Dnb((i[b>>0]&1)==0?b+1|0:k[b+8>>2]|0,1)|0;return a>>>((a|0)!=(-1|0)&1)|0}function Sxb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0;j=r;r=r+176|0;b=0;while(1){if((b|0)==3)break;k[j+(b<<2)>>2]=0;b=b+1|0}k[j+24+4>>2]=0;k[j+24>>2]=155516;h=i[f>>0]|0;b=(h&1)==0?f+4|0:k[f+8>>2]|0;h=b+(((h&1)==0?(h&255)>>>1:k[f+4>>2]|0)<<2)|0;f=b;b=0;while(1){if(!((b|0)!=2&f>>>0>>0))break;k[j+32>>2]=f;g=sj[k[(k[j+24>>2]|0)+12>>2]&31](j+24|0,j+168|0,f,h,j+32|0,j+40|0,j+40+32|0,j+36|0)|0;b=j+40|0;while(1){if(b>>>0>=(k[j+36>>2]|0)>>>0)break;jrb(j,i[b>>0]|0);b=b+1|0}f=k[j+32>>2]|0;b=g}f=Cnb((c|0)==-1?-1:c<<1,d,e,(i[j>>0]&1)==0?j+1|0:k[j+8>>2]|0)|0;b=0;while(1){if((b|0)==3)break;k[a+(b<<2)>>2]=0;b=b+1|0}k[j+16+4>>2]=0;k[j+16>>2]=155564;h=f+(Fnb(f)|0)|0;b=0;while(1){if(!((b|0)!=2&f>>>0>>0))break;k[j+32>>2]=f;g=sj[k[(k[j+16>>2]|0)+16>>2]&31](j+16|0,j+168|0,f,(h-f|0)>32?f+32|0:h,j+32|0,j+40|0,j+40+128|0,j+36|0)|0;b=j+40|0;while(1){if(b>>>0>=(k[j+36>>2]|0)>>>0)break;Drb(a,k[b>>2]|0);b=b+4|0}f=k[j+32>>2]|0;b=g}_qb(j);r=j;return}function Txb(a){a=a|0;return}function Uxb(a){a=a|0;CAb(a);return}function Vxb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;a=r;r=r+16|0;k[a+4>>2]=c;k[a>>2]=f;g=Wxb(c,d,a+4|0,f,g,a,1114111,0)|0;k[e>>2]=k[a+4>>2];k[h>>2]=k[a>>2];r=a;return g|0}function Wxb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0;k[c>>2]=a;k[f>>2]=d;if(!(h&2))j=4;else if((e-d|0)<3)a=1;else{k[f>>2]=d+1;i[d>>0]=-17;j=k[f>>2]|0;k[f>>2]=j+1;i[j>>0]=-69;j=k[f>>2]|0;k[f>>2]=j+1;i[j>>0]=-65;j=4}a:do if((j|0)==4){a=k[c>>2]|0;while(1){if(a>>>0>=b>>>0){a=0;break a}h=k[a>>2]|0;if(h>>>0>g>>>0|(h&-2048|0)==55296){a=2;break a}do if(h>>>0<128){a=k[f>>2]|0;if((e-a|0)<1){a=1;break a}k[f>>2]=a+1;i[a>>0]=h}else{if(h>>>0<2048){a=k[f>>2]|0;if((e-a|0)<2){a=1;break a}k[f>>2]=a+1;i[a>>0]=h>>>6|192;j=k[f>>2]|0;k[f>>2]=j+1;i[j>>0]=h&63|128;break}a=k[f>>2]|0;if(h>>>0<65536){if((e-a|0)<3){a=1;break a}k[f>>2]=a+1;i[a>>0]=h>>>12|224;j=k[f>>2]|0;k[f>>2]=j+1;i[j>>0]=h>>>6&63|128;j=k[f>>2]|0;k[f>>2]=j+1;i[j>>0]=h&63|128;break}else{if((e-a|0)<4){a=1;break a}k[f>>2]=a+1;i[a>>0]=h>>>18|240;j=k[f>>2]|0;k[f>>2]=j+1;i[j>>0]=h>>>12&63|128;j=k[f>>2]|0;k[f>>2]=j+1;i[j>>0]=h>>>6&63|128;j=k[f>>2]|0;k[f>>2]=j+1;i[j>>0]=h&63|128;break}}while(0);a=(k[c>>2]|0)+4|0;k[c>>2]=a}}while(0);return a|0}function Xxb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;a=r;r=r+16|0;k[a+4>>2]=c;k[a>>2]=f;g=Yxb(c,d,a+4|0,f,g,a,1114111,0)|0;k[e>>2]=k[a+4>>2];k[h>>2]=k[a>>2];r=a;return g|0}function Yxb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,m=0,n=0,o=0,p=0;k[c>>2]=a;k[f>>2]=d;if(!(h&4))j=b;else{a=k[c>>2]|0;if((b-a|0)>2)if((i[a>>0]|0)==-17)if((i[a+1>>0]|0)==-69)if((i[a+2>>0]|0)==-65){k[c>>2]=a+3;j=b}else j=b;else j=b;else j=b;else j=b}a:while(1){m=k[c>>2]|0;if(m>>>0>=b>>>0){a=m>>>0>>0;p=40;break}n=k[f>>2]|0;if(n>>>0>=e>>>0){a=m>>>0>>0;p=40;break}o=i[m>>0]|0;do if(o<<24>>24>-1){if((o&255)>>>0>g>>>0){a=2;break a}k[n>>2]=o&255;k[c>>2]=m+1}else{if((o&255)<194){a=2;break a}if((o&255)<224){if((j-m|0)<2){a=1;break a}a=l[m+1>>0]|0;if((a&192|0)!=128){a=2;break a}if((a&63|(o&255)<<6&1984)>>>0>g>>>0){a=2;break a}k[n>>2]=a&63|(o&255)<<6&1984;k[c>>2]=m+2;break}if((o&255)<240){if((j-m|0)<3){a=1;break a}a=i[m+1>>0]|0;h=i[m+2>>0]|0;switch(o&255|0){case 224:{if((a&-32)<<24>>24!=-96){a=2;break a}break}case 237:{if((a&-32)<<24>>24!=-128){a=2;break a}break}default:if((a&-64)<<24>>24!=-128){a=2;break a}}if((h&192|0)!=128){a=2;break a}if(((a&255)<<6&4032|(o&255)<<12&61440|h&63)>>>0>g>>>0){a=2;break a}k[n>>2]=(a&255)<<6&4032|(o&255)<<12&61440|h&63;k[c>>2]=m+3;break}if((o&255)>=245){a=2;break a}if((j-m|0)<4){a=1;break a}a=i[m+1>>0]|0;h=i[m+2>>0]|0;d=i[m+3>>0]|0;switch(o&255|0){case 240:{if((a+112&255)>=48){a=2;break a}break}case 244:{if((a&-16)<<24>>24!=-128){a=2;break a}break}default:if((a&-64)<<24>>24!=-128){a=2;break a}}if((h&192|0)!=128){a=2;break a}if((d&192|0)!=128){a=2;break a}if(((a&255)<<12&258048|(o&255)<<18&1835008|(h&255)<<6&4032|d&63)>>>0>g>>>0){a=2;break a}k[n>>2]=(a&255)<<12&258048|(o&255)<<18&1835008|(h&255)<<6&4032|d&63;k[c>>2]=m+4}while(0);k[f>>2]=(k[f>>2]|0)+4}if((p|0)==40)a=a&1;return a|0}function Zxb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;k[e>>2]=c;return 3}function _xb(a){a=a|0;return 0}function $xb(a){a=a|0;return 0}function ayb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return byb(c,d,e,1114111,0)|0}function byb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,m=0;if(!(e&4)){e=a;m=0}else if((b-a|0)>2)if((i[a>>0]|0)==-17)if((i[a+1>>0]|0)==-69){e=(i[a+2>>0]|0)==-65?a+3|0:a;m=0}else{e=a;m=0}else{e=a;m=0}else{e=a;m=0}a:while(1){if(!(m>>>0>>0&e>>>0>>0)){f=40;break}k=i[e>>0]|0;do if(k<<24>>24>-1){if((k&255)>>>0>d>>>0){f=40;break a}e=e+1|0}else{if((k&255)<194){f=40;break a}if((k&255)<224){if((b-e|0)<2){f=40;break a}f=l[e+1>>0]|0;if((f&192|0)!=128){f=40;break a}if((f&63|(k&255)<<6&1984)>>>0>d>>>0){f=40;break a}e=e+2|0;break}if((k&255)<240){h=e;if((b-h|0)<3){f=40;break a}f=i[e+1>>0]|0;g=i[e+2>>0]|0;switch(k&255|0){case 224:{if((f&-32)<<24>>24!=-96){f=20;break a}break}case 237:{if((f&-32)<<24>>24!=-128){f=22;break a}break}default:if((f&-64)<<24>>24!=-128){f=24;break a}}if((g&192|0)!=128){f=40;break a}if(((f&255)<<6&4032|(k&255)<<12&61440|g&63)>>>0>d>>>0){f=40;break a}else{e=e+3|0;break}}if((k&255)>=245){f=40;break a}j=e;if((b-j|0)<4){f=40;break a}f=i[e+1>>0]|0;g=i[e+2>>0]|0;h=i[e+3>>0]|0;switch(k&255|0){case 240:{if((f+112&255)>=48){f=31;break a}break}case 244:{if((f&-16)<<24>>24!=-128){f=33;break a}break}default:if((f&-64)<<24>>24!=-128){f=35;break a}}if((g&192|0)!=128){f=40;break a}if((h&192|0)!=128){f=40;break a}if(((f&255)<<12&258048|(k&255)<<18&1835008|(g&255)<<6&4032|h&63)>>>0>d>>>0){f=40;break a}else e=e+4|0}while(0);m=m+1|0}if((f|0)==20)e=h-a|0;else if((f|0)==22)e=h-a|0;else if((f|0)==24)e=h-a|0;else if((f|0)==31)e=j-a|0;else if((f|0)==33)e=j-a|0;else if((f|0)==35)e=j-a|0;else if((f|0)==40)e=e-a|0;return e|0}function cyb(a){a=a|0;return 4}function dyb(a){a=a|0;CAb(a);return}function eyb(a,b){a=a|0;b=b|0;return}function fyb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;k[e>>2]=c;k[h>>2]=f;return 3}function gyb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;k[e>>2]=c;k[h>>2]=f;return 3}function hyb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;k[e>>2]=c;return 3}function iyb(a){a=a|0;return 1}function jyb(a){a=a|0;return 1}function kyb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ((d-c|0)>>>0>>0?d-c|0:e)|0}function lyb(a){a=a|0;return 1}function myb(a){a=a|0;var b=0;k[a>>2]=155612;b=k[a+8>>2]|0;if((b|0)!=(qtb()|0))Enb(k[a+8>>2]|0);return}function nyb(a){a=a|0;myb(a);CAb(a);return}function oyb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,l=0,m=0,n=0;n=r;r=r+16|0;j=c;while(1){if((j|0)==(d|0)){j=d;break}if(!(k[j>>2]|0))break;j=j+4|0}k[h>>2]=f;k[e>>2]=c;a:while(1){if((f|0)==(g|0)|(c|0)==(d|0)){j=35;break}l=k[b+4>>2]|0;k[n>>2]=k[b>>2];k[n+4>>2]=l;l=Rnb(k[a+8>>2]|0)|0;m=Rob(f,e,j-c>>2,g-f|0,b)|0;if(l|0)Rnb(l)|0;switch(m|0){case -1:{j=10;break a}case 0:{c=1;j=32;break a}default:{}}f=(k[h>>2]|0)+m|0;k[h>>2]=f;if((f|0)==(g|0)){j=33;break}if((j|0)==(d|0)){c=k[e>>2]|0;j=d}else{c=Rnb(k[a+8>>2]|0)|0;f=Smb(n+8|0,0,b)|0;if(c|0)Rnb(c)|0;if((f|0)==-1){c=2;j=31;break}if(f>>>0>(g-(k[h>>2]|0)|0)>>>0){c=1;j=31;break}else c=n+8|0;while(1){if(!f)break;l=i[c>>0]|0;m=k[h>>2]|0;k[h>>2]=m+1;i[m>>0]=l;f=f+-1|0;c=c+1|0}c=(k[e>>2]|0)+4|0;k[e>>2]=c;f=c;while(1){if((f|0)==(d|0)){j=d;break}if(!(k[f>>2]|0)){j=f;break}f=f+4|0}f=k[h>>2]|0}}if((j|0)==10){k[h>>2]=f;while(1){if((c|0)==(k[e>>2]|0))break;d=k[c>>2]|0;j=Rnb(k[a+8>>2]|0)|0;f=Smb(f,d,n)|0;if(j|0)Rnb(j)|0;if((f|0)==-1)break;f=(k[h>>2]|0)+f|0;k[h>>2]=f;c=c+4|0}k[e>>2]=c;c=2;j=32}else if((j|0)==31)j=32;else if((j|0)==33){c=k[e>>2]|0;j=35}if((j|0)!=32)if((j|0)==35)c=(c|0)!=(d|0)&1;r=n;return c|0}function pyb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,l=0,m=0,n=0,o=0;o=r;r=r+16|0;j=c;while(1){if((j|0)==(d|0)){j=d;break}if(!(i[j>>0]|0))break;j=j+1|0}k[h>>2]=f;k[e>>2]=c;a:while(1){if((f|0)==(g|0)|(c|0)==(d|0)){f=34;break}n=k[b+4>>2]|0;k[o>>2]=k[b>>2];k[o+4>>2]=n;n=j;l=Rnb(k[a+8>>2]|0)|0;m=Pob(f,e,n-c|0,g-f>>2,b)|0;if(l|0)Rnb(l)|0;switch(m|0){case -1:{j=f;f=10;break a}case 0:{c=2;f=30;break a}default:{}}f=(k[h>>2]|0)+(m<<2)|0;k[h>>2]=f;if((f|0)==(g|0)){f=31;break}c=k[e>>2]|0;if((j|0)==(d|0))j=d;else{j=Rnb(k[a+8>>2]|0)|0;c=Gnb(f,c,1,b)|0;if(j|0)Rnb(j)|0;if(c|0){c=2;f=30;break}k[h>>2]=(k[h>>2]|0)+4;c=(k[e>>2]|0)+1|0;k[e>>2]=c;j=c;while(1){if((j|0)==(d|0)){j=d;break}if(!(i[j>>0]|0))break;j=j+1|0}f=k[h>>2]|0}}do if((f|0)==10){b:while(1){k[h>>2]=j;if((c|0)==(k[e>>2]|0)){f=20;break}f=Rnb(k[a+8>>2]|0)|0;j=Gnb(j,c,n-c|0,o)|0;if(f|0)Rnb(f)|0;switch(j|0){case -1:{f=16;break b}case -2:{f=17;break b}case 0:{c=c+1|0;break}default:c=c+j|0}j=(k[h>>2]|0)+4|0}if((f|0)==16){k[e>>2]=c;c=2;f=30;break}else if((f|0)==17){k[e>>2]=c;c=1;f=30;break}else if((f|0)==20){k[e>>2]=c;c=(c|0)!=(d|0)&1;f=30;break}}else if((f|0)==31){c=k[e>>2]|0;f=34}while(0);if((f|0)!=30)if((f|0)==34)c=(c|0)!=(d|0)&1;r=o;return c|0}function qyb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=r;r=r+16|0;k[e>>2]=c;c=Rnb(k[a+8>>2]|0)|0;a=Smb(f,0,b)|0;if(c|0)Rnb(c)|0;a:do switch(a|0){case 0:case -1:{a=2;break}default:if((a+-1|0)>>>0>(d-(k[e>>2]|0)|0)>>>0)a=1;else{a=a+-1|0;c=f;while(1){if(!a){a=0;break a}b=i[c>>0]|0;d=k[e>>2]|0;k[e>>2]=d+1;i[d>>0]=b;a=a+-1|0;c=c+1|0}}}while(0);r=f;return a|0}function ryb(a){a=a|0;var b=0,c=0;b=Rnb(k[a+8>>2]|0)|0;c=eob(0,0,4)|0;if(b|0)Rnb(b)|0;if(!c){b=k[a+8>>2]|0;if(!b)b=1;else{b=Rnb(b)|0;if(!b)b=0;else{Rnb(b)|0;b=0}}}else b=-1;return b|0}function syb(a){a=a|0;return 0}function tyb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;f=c;c=0;i=0;a:while(1){if((f|0)==(d|0)|i>>>0>=e>>>0)break;h=Rnb(k[a+8>>2]|0)|0;g=Oob(f,d-f|0,b)|0;if(h|0)Rnb(h)|0;switch(g|0){case -2:case -1:break a;case 0:{f=f+1|0;g=1;break}default:f=f+g|0}c=g+c|0;i=i+1|0}return c|0}function uyb(a){a=a|0;a=k[a+8>>2]|0;if(!a)a=1;else{a=Rnb(a)|0;if(!a)a=4;else{Rnb(a)|0;a=4}}return a|0}function vyb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;a=r;r=r+16|0;k[a+4>>2]=c;k[a>>2]=f;g=wyb(c,d,a+4|0,f,g,a,1114111,0)|0;k[e>>2]=k[a+4>>2];k[h>>2]=k[a>>2];r=a;return g|0}function wyb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var l=0;k[c>>2]=a;k[f>>2]=d;if(!(h&2))l=4;else if((e-d|0)<3)a=1;else{k[f>>2]=d+1;i[d>>0]=-17;l=k[f>>2]|0;k[f>>2]=l+1;i[l>>0]=-69;l=k[f>>2]|0;k[f>>2]=l+1;i[l>>0]=-65;l=4}a:do if((l|0)==4){a=k[c>>2]|0;while(1){if(a>>>0>=b>>>0){a=0;break a}d=j[a>>1]|0;if((d&65535)>>>0>g>>>0){a=2;break a}do if((d&65535)<128){a=k[f>>2]|0;if((e-a|0)<1){a=1;break a}k[f>>2]=a+1;i[a>>0]=d}else{if((d&65535)<2048){a=k[f>>2]|0;if((e-a|0)<2){a=1;break a}k[f>>2]=a+1;i[a>>0]=(d&65535)>>>6|192;l=k[f>>2]|0;k[f>>2]=l+1;i[l>>0]=d&63|128;break}if((d&65535)<55296){a=k[f>>2]|0;if((e-a|0)<3){a=1;break a}k[f>>2]=a+1;i[a>>0]=(d&65535)>>>12|224;l=k[f>>2]|0;k[f>>2]=l+1;i[l>>0]=(d&65535)>>>6&63|128;l=k[f>>2]|0;k[f>>2]=l+1;i[l>>0]=d&63|128;break}if((d&65535)>=56320){if((d&65535)<57344){a=2;break a}a=k[f>>2]|0;if((e-a|0)<3){a=1;break a}k[f>>2]=a+1;i[a>>0]=(d&65535)>>>12|224;l=k[f>>2]|0;k[f>>2]=l+1;i[l>>0]=(d&65535)>>>6&63|128;l=k[f>>2]|0;k[f>>2]=l+1;i[l>>0]=d&63|128;break}if((b-a|0)<4){a=1;break a}a=a+2|0;h=m[a>>1]|0;if((h&64512|0)!=56320){a=2;break a}if((e-(k[f>>2]|0)|0)<4){a=1;break a}if((((d&960)<<10)+65536|(d&65535)<<10&64512|h&1023)>>>0>g>>>0){a=2;break a}k[c>>2]=a;l=k[f>>2]|0;k[f>>2]=l+1;i[l>>0]=(((d&960)>>>6)+1|0)>>>2|240;l=k[f>>2]|0;k[f>>2]=l+1;i[l>>0]=(d&65535)>>>2&15|((d&960)>>>6)+1<<4&48|128;l=k[f>>2]|0;k[f>>2]=l+1;i[l>>0]=(d&65535)<<4&48|h>>>6&15|128;l=k[f>>2]|0;k[f>>2]=l+1;i[l>>0]=h&63|128}while(0);a=(k[c>>2]|0)+2|0;k[c>>2]=a}}while(0);return a|0}function xyb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;a=r;r=r+16|0;k[a+4>>2]=c;k[a>>2]=f;g=yyb(c,d,a+4|0,f,g,a,1114111,0)|0;k[e>>2]=k[a+4>>2];k[h>>2]=k[a>>2];r=a;return g|0}function yyb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var m=0,n=0,o=0,p=0,q=0;k[c>>2]=a;k[f>>2]=d;if(!(h&4))n=b;else{a=k[c>>2]|0;if((b-a|0)>2)if((i[a>>0]|0)==-17)if((i[a+1>>0]|0)==-69)if((i[a+2>>0]|0)==-65){k[c>>2]=a+3;n=b}else n=b;else n=b;else n=b;else n=b}a:while(1){m=k[c>>2]|0;if(m>>>0>=b>>>0){a=m>>>0>>0;q=41;break}o=k[f>>2]|0;if(o>>>0>=e>>>0){a=m>>>0>>0;q=41;break}p=i[m>>0]|0;if((p&255)>>>0>g>>>0){a=2;break}do if(p<<24>>24>-1){j[o>>1]=p&255;k[c>>2]=m+1}else{if((p&255)<194){a=2;break a}if((p&255)<224){if((n-m|0)<2){a=1;break a}a=l[m+1>>0]|0;if((a&192|0)!=128){a=2;break a}if((a&63|(p&255)<<6&1984)>>>0>g>>>0){a=2;break a}j[o>>1]=a&63|(p&255)<<6&1984;k[c>>2]=m+2;break}if((p&255)<240){if((n-m|0)<3){a=1;break a}a=i[m+1>>0]|0;h=i[m+2>>0]|0;switch(p&255|0){case 224:{if((a&-32)<<24>>24!=-96){a=2;break a}break}case 237:{if((a&-32)<<24>>24!=-128){a=2;break a}break}default:if((a&-64)<<24>>24!=-128){a=2;break a}}if((h&192|0)!=128){a=2;break a}if((((a&255)<<6&4032|(p&255)<<12|h&63)&65535)>>>0>g>>>0){a=2;break a}j[o>>1]=(a&255)<<6&4032|(p&255)<<12|h&63;k[c>>2]=m+3;break}if((p&255)>=245){a=2;break a}if((n-m|0)<4){a=1;break a}h=i[m+1>>0]|0;d=i[m+2>>0]|0;a=i[m+3>>0]|0;switch(p&255|0){case 240:{if((h+112&255)>=48){a=2;break a}break}case 244:{if((h&-16)<<24>>24!=-128){a=2;break a}break}default:if((h&-64)<<24>>24!=-128){a=2;break a}}if((d&192|0)!=128){a=2;break a}if((a&192|0)!=128){a=2;break a}if((e-o|0)<4){a=1;break a}if(((h&255)<<12&258048|(p&7)<<18|(d&255)<<6&4032|a&63)>>>0>g>>>0){a=2;break a}j[o>>1]=(h&255)<<2&60|(d&255)>>>4&3|(((h&255)>>>4&3|(p&7)<<2)<<6)+16320|55296;k[f>>2]=o+2;j[o+2>>1]=a&63|(d&255)<<6&960|56320;k[c>>2]=(k[c>>2]|0)+4}while(0);k[f>>2]=(k[f>>2]|0)+2}if((q|0)==41)a=a&1;return a|0}function zyb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;k[e>>2]=c;return 3}function Ayb(a){a=a|0;return 0}function Byb(a){a=a|0;return 0}function Cyb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Dyb(c,d,e,1114111,0)|0}function Dyb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,m=0;if(!(e&4)){e=a;f=0}else if((b-a|0)>2)if((i[a>>0]|0)==-17)if((i[a+1>>0]|0)==-69){e=(i[a+2>>0]|0)==-65?a+3|0:a;f=0}else{e=a;f=0}else{e=a;f=0}else{e=a;f=0}a:while(1){if(!(f>>>0>>0&e>>>0>>0)){f=40;break}m=i[e>>0]|0;if((m&255)>>>0>d>>>0){f=40;break}do if(m<<24>>24>-1)e=e+1|0;else{if((m&255)<194){f=40;break a}if((m&255)<224){if((b-e|0)<2){f=40;break a}g=l[e+1>>0]|0;if((g&192|0)!=128){f=40;break a}if((g&63|(m&255)<<6&1984)>>>0>d>>>0){f=40;break a}else{e=e+2|0;break}}if((m&255)<240){j=e;if((b-j|0)<3){f=40;break a}g=i[e+1>>0]|0;h=i[e+2>>0]|0;switch(m&255|0){case 224:{if((g&-32)<<24>>24!=-96){f=19;break a}break}case 237:{if((g&-32)<<24>>24!=-128){f=21;break a}break}default:if((g&-64)<<24>>24!=-128){f=23;break a}}if((h&192|0)!=128){f=40;break a}if(((g&255)<<6&4032|(m&255)<<12&61440|h&63)>>>0>d>>>0){f=40;break a}else{e=e+3|0;break}}if((m&255)>=245){f=40;break a}k=e;if((c-f|0)>>>0<2|(b-k|0)<4){f=40;break a}g=i[e+1>>0]|0;h=i[e+2>>0]|0;j=i[e+3>>0]|0;switch(m&255|0){case 240:{if((g+112&255)>=48){f=30;break a}break}case 244:{if((g&-16)<<24>>24!=-128){f=32;break a}break}default:if((g&-64)<<24>>24!=-128){f=34;break a}}if((h&192|0)!=128){f=40;break a}if((j&192|0)!=128){f=40;break a}if(((g&255)<<12&258048|(m&255)<<18&1835008|(h&255)<<6&4032|j&63)>>>0>d>>>0){f=40;break a}e=e+4|0;f=f+1|0}while(0);f=f+1|0}if((f|0)==19)e=j-a|0;else if((f|0)==21)e=j-a|0;else if((f|0)==23)e=j-a|0;else if((f|0)==30)e=k-a|0;else if((f|0)==32)e=k-a|0;else if((f|0)==34)e=k-a|0;else if((f|0)==40)e=e-a|0;return e|0}function Eyb(a){a=a|0;return 4}function Fyb(a){a=a|0;var b=0,c=0;k[a>>2]=155660;c=0;while(1){b=k[a+8>>2]|0;if(c>>>0>=(k[a+12>>2]|0)-b>>2>>>0)break;b=k[b+(c<<2)>>2]|0;if(b|0)sAb(b)|0;c=c+1|0}_qb(a+144|0);Gyb(a+8|0);return}function Gyb(a){a=a|0;var b=0,c=0,d=0;b=k[a>>2]|0;do if(b|0){c=k[a+4>>2]|0;while(1){if((c|0)==(b|0))break;d=c+-4|0;k[a+4>>2]=d;c=d}if((a+16|0)==(b|0)){i[a+128>>0]=0;break}else{CAb(b);break}}while(0);return}function Hyb(a){a=a|0;Fyb(a);CAb(a);return}function Iyb(a){a=a|0;var b=0;k[a>>2]=155680;b=k[a+8>>2]|0;if(b|0)if(i[a+12>>0]|0)oBb(b);return}function Jyb(a){a=a|0;Iyb(a);CAb(a);return}function Kyb(a,b){a=a|0;b=b|0;if(b<<24>>24>-1){a=Zmb()|0;b=k[(k[a>>2]|0)+((b&255)<<2)>>2]&255}return b|0}function Lyb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=b;while(1){if((a|0)==(c|0))break;b=i[a>>0]|0;if(b<<24>>24>-1){d=Zmb()|0;b=k[(k[d>>2]|0)+(b<<24>>24<<2)>>2]&255}i[a>>0]=b;a=a+1|0}return c|0}function Myb(a,b){a=a|0;b=b|0;if(b<<24>>24>-1){a=Ymb()|0;b=k[(k[a>>2]|0)+(b<<24>>24<<2)>>2]&255}return b|0}function Nyb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=b;while(1){if((a|0)==(c|0))break;b=i[a>>0]|0;if(b<<24>>24>-1){d=Ymb()|0;b=k[(k[d>>2]|0)+(b<<24>>24<<2)>>2]&255}i[a>>0]=b;a=a+1|0}return c|0}function Oyb(a,b){a=a|0;b=b|0;return b|0}function Pyb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;while(1){if((b|0)==(c|0))break;i[d>>0]=i[b>>0]|0;d=d+1|0;b=b+1|0}return c|0}function Qyb(a,b,c){a=a|0;b=b|0;c=c|0;return (b<<24>>24>-1?b:c)|0}function Ryb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;while(1){if((b|0)==(c|0))break;a=i[b>>0]|0;i[e>>0]=a<<24>>24>-1?a:d;e=e+1|0;b=b+1|0}return c|0}function Syb(a){a=a|0;k[a>>2]=155732;_qb(a+12|0);return}function Tyb(a){a=a|0;Syb(a);CAb(a);return}function Uyb(a){a=a|0;return i[a+8>>0]|0}function Vyb(a){a=a|0;return i[a+9>>0]|0}function Wyb(a,b){a=a|0;b=b|0;Vqb(a,b+12|0);return}function Xyb(a,b){a=a|0;b=b|0;Wqb(a,619791,4);return}function Yyb(a,b){a=a|0;b=b|0;Wqb(a,619796,5);return}function Zyb(a){a=a|0;k[a>>2]=155772;_qb(a+16|0);return}function _yb(a){a=a|0;Zyb(a);CAb(a);return}function $yb(a){a=a|0;return k[a+8>>2]|0}function azb(a){a=a|0;return k[a+12>>2]|0}function bzb(a,b){a=a|0;b=b|0;Vqb(a,b+16|0);return}function czb(a,b){a=a|0;b=b|0;urb(a,155804,enb(155804)|0);return}function dzb(a,b){a=a|0;b=b|0;urb(a,155824,enb(155824)|0);return}function ezb(a){a=a|0;CAb(a);return}function fzb(a){a=a|0;CAb(a);return}function gzb(a,b,c){a=a|0;b=b|0;c=c|0;if(c>>>0<128){a=Xmb()|0;c=(j[(k[a>>2]|0)+(c<<1)>>1]&b)<<16>>16!=0}else c=0;return c|0}function hzb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=b;while(1){if((e|0)==(c|0))break;a=k[e>>2]|0;if(a>>>0<128){f=Xmb()|0;a=m[(k[f>>2]|0)+(a<<1)>>1]|0}else a=0;j[d>>1]=a;d=d+2|0;e=e+4|0}return b+((c-b|0)>>>2<<2)|0}function izb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;while(1){if((c|0)==(d|0)){c=d;break}a=k[c>>2]|0;if(a>>>0<128){e=Xmb()|0;if((j[(k[e>>2]|0)+(a<<1)>>1]&b)<<16>>16)break}c=c+4|0}return c|0}function jzb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;while(1){if((c|0)==(d|0)){c=d;break}a=k[c>>2]|0;if(a>>>0>=128)break;e=Xmb()|0;if(!((j[(k[e>>2]|0)+(a<<1)>>1]&b)<<16>>16))break;c=c+4|0}return c|0}function kzb(a,b){a=a|0;b=b|0;if(b>>>0<128){a=Zmb()|0;b=k[(k[a>>2]|0)+(b<<2)>>2]|0}return b|0}function lzb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=b;while(1){if((d|0)==(c|0))break;a=k[d>>2]|0;if(a>>>0<128){e=Zmb()|0;a=k[(k[e>>2]|0)+(a<<2)>>2]|0}k[d>>2]=a;d=d+4|0}return b+((c-b|0)>>>2<<2)|0}function mzb(a,b){a=a|0;b=b|0;if(b>>>0<128){a=Ymb()|0;b=k[(k[a>>2]|0)+(b<<2)>>2]|0}return b|0}function nzb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=b;while(1){if((d|0)==(c|0))break;a=k[d>>2]|0;if(a>>>0<128){e=Ymb()|0;a=k[(k[e>>2]|0)+(a<<2)>>2]|0}k[d>>2]=a;d=d+4|0}return b+((c-b|0)>>>2<<2)|0}function ozb(a,b){a=a|0;b=b|0;return b<<24>>24|0}function pzb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;while(1){if((b|0)==(c|0))break;k[d>>2]=i[b>>0];d=d+4|0;b=b+1|0}return c|0}function qzb(a,b,c){a=a|0;b=b|0;c=c|0;return (b>>>0<128?b&255:c)|0}function rzb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;a=b;while(1){if((a|0)==(c|0))break;f=k[a>>2]|0;i[e>>0]=f>>>0<128?f&255:d;e=e+1|0;a=a+4|0}return b+((c-b|0)>>>2<<2)|0}function szb(a){a=a|0;CAb(a);return}function tzb(a){a=a|0;CAb(a);return}function uzb(a){a=a|0;CAb(a);return}function vzb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;k[a+4>>2]=d+-1;k[a>>2]=155680;k[a+8>>2]=b;i[a+12>>0]=c&1;if(!b){b=Xmb()|0;k[a+8>>2]=k[b>>2]}return}function wzb(a){a=a|0;return}function xzb(a){a=a|0;rb(619823,619846,303,619931)}function yzb(a,b){a=a|0;b=b|0;var c=0,d=0;k[a+4>>2]=b+-1;k[a>>2]=155660;zzb(a+8|0,28);Wqb(a+144|0,617827,1);b=k[a+8>>2]|0;c=k[a+12>>2]|0;while(1){if((c|0)==(b|0))break;d=c+-4|0;k[a+12>>2]=d;c=d}k[155577]=0;k[155576]=153324;Bzb(a,622304);k[155579]=0;k[155578]=153356;Izb(a,622312);vzb(622320,0,0,1);Jzb(a,622320);k[155585]=0;k[155584]=155876;Kzb(a,622336);k[155587]=0;k[155586]=155944;Lzb(a,622344);k[155589]=0;k[155588]=155612;d=qtb()|0;k[155590]=d;Mzb(a,622352);k[155593]=0;k[155592]=155992;Nzb(a,622368);k[155595]=0;k[155594]=156040;Ozb(a,622376);Pzb(622384,1);Qzb(a,622384);Rzb(622408,1);Szb(a,622408);k[155611]=0;k[155610]=153388;Tzb(a,622440);k[155613]=0;k[155612]=153452;Uzb(a,622448);k[155615]=0;k[155614]=153516;Vzb(a,622456);k[155617]=0;k[155616]=153568;Wzb(a,622464);k[155619]=0;k[155618]=155116;Xzb(a,622472);k[155621]=0;k[155620]=155172;Yzb(a,622480);k[155623]=0;k[155622]=155228;Zzb(a,622488);k[155625]=0;k[155624]=155284;_zb(a,622496);k[155627]=0;k[155626]=155340;$zb(a,622504);k[155629]=0;k[155628]=155368;aAb(a,622512);k[155631]=0;k[155630]=155396;bAb(a,622520);k[155633]=0;k[155632]=155424;cAb(a,622528);k[155635]=0;k[155634]=153620;k[155636]=153668;dAb(a,622536);k[155639]=0;k[155638]=153704;k[155640]=153752;eAb(a,622552);k[155643]=0;k[155642]=155856;d=qtb()|0;k[155644]=d;k[155642]=155068;fAb(a,622568);k[155647]=0;k[155646]=155856;d=qtb()|0;k[155648]=d;k[155646]=155092;gAb(a,622584);k[155651]=0;k[155650]=155452;hAb(a,622600);k[155653]=0;k[155652]=155484;iAb(a,622608);return}function zzb(a,b){a=a|0;b=b|0;var c=0;k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;i[a+128>>0]=0;if(b|0){Azb(a,b);c=k[a+4>>2]|0;do{k[c>>2]=0;c=(k[a+4>>2]|0)+4|0;k[a+4>>2]=c;b=b+-1|0}while((b|0)!=0)}return}function Azb(a,b){a=a|0;b=b|0;var c=0;if(b>>>0>1073741823)xzb(a);if(b>>>0<29&(i[a+128>>0]|0)==0){i[a+128>>0]=1;c=a+16|0}else c=kBb(b<<2)|0;k[a+4>>2]=c;k[a>>2]=c;k[a+8>>2]=c+(b<<2);return}function Bzb(a,b){a=a|0;b=b|0;Czb(a,b,htb(1203684)|0);return}function Czb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;rAb(b);d=k[a+8>>2]|0;if((k[a+12>>2]|0)-d>>2>>>0>c>>>0)e=a+8|0;else{Dzb(a+8|0,c+1|0);e=a+8|0;d=k[a+8>>2]|0}d=k[d+(c<<2)>>2]|0;if(d|0)sAb(d)|0;k[(k[e>>2]|0)+(c<<2)>>2]=b;return}function Dzb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=k[a+4>>2]|0;d=k[a>>2]|0;a:do if(c-d>>2>>>0>>0)Ezb(a,b-(c-d>>2)|0);else if(c-d>>2>>>0>b>>>0)while(1){if((c|0)==(d+(b<<2)|0))break a;e=c+-4|0;k[a+4>>2]=e;c=e}while(0);return}function Ezb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=r;r=r+32|0;d=k[a+8>>2]|0;c=k[a+4>>2]|0;if(d-c>>2>>>0>>0){e=k[a>>2]|0;if(((c-e>>2)+b|0)>>>0>1073741823)xzb(a);if(d-e>>2>>>0<536870911)d=d-e>>1>>>0<((c-e>>2)+b|0)>>>0?(c-e>>2)+b|0:d-e>>1;else d=1073741823;Fzb(f,d,c-e>>2,a+16|0);e=k[f+8>>2]|0;vBb(e|0,0,b<<2|0)|0;k[f+8>>2]=e+(b<<2);Gzb(a,f);Hzb(f)}else do{k[c>>2]=0;c=(k[a+4>>2]|0)+4|0;k[a+4>>2]=c;b=b+-1|0}while((b|0)!=0);r=f;return}function Fzb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;k[a+12>>2]=0;k[a+16>>2]=d;do if(!b)d=0;else if(b>>>0<29&(i[d+112>>0]|0)==0){i[d+112>>0]=1;break}else{d=kBb(b<<2)|0;break}while(0);k[a>>2]=d;c=d+(c<<2)|0;k[a+8>>2]=c;k[a+4>>2]=c;k[a+12>>2]=d+(b<<2);return}function Gzb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=k[a>>2]|0;c=(k[a+4>>2]|0)-d|0;e=(k[b+4>>2]|0)+(0-(c>>2)<<2)|0;k[b+4>>2]=e;ABb(e|0,d|0,c|0)|0;c=k[a>>2]|0;k[a>>2]=k[b+4>>2];k[b+4>>2]=c;c=k[a+4>>2]|0;k[a+4>>2]=k[b+8>>2];k[b+8>>2]=c;c=k[a+8>>2]|0;k[a+8>>2]=k[b+12>>2];k[b+12>>2]=c;k[b>>2]=k[b+4>>2];return}function Hzb(a){a=a|0;var b=0,c=0,d=0;b=k[a+4>>2]|0;c=k[a+8>>2]|0;while(1){if((c|0)==(b|0))break;d=c+-4|0;k[a+8>>2]=d;c=d}c=k[a>>2]|0;do if(c|0){b=k[a+16>>2]|0;if((b|0)==(c|0)){i[b+112>>0]=0;break}else{CAb(c);break}}while(0);return}function Izb(a,b){a=a|0;b=b|0;Czb(a,b,htb(1203692)|0);return}function Jzb(a,b){a=a|0;b=b|0;Czb(a,b,htb(1203700)|0);return}function Kzb(a,b){a=a|0;b=b|0;Czb(a,b,htb(1203732)|0);return}function Lzb(a,b){a=a|0;b=b|0;Czb(a,b,htb(1205492)|0);return}function Mzb(a,b){a=a|0;b=b|0;Czb(a,b,htb(1205500)|0);return}function Nzb(a,b){a=a|0;b=b|0;Czb(a,b,htb(1205508)|0);return}function Ozb(a,b){a=a|0;b=b|0;Czb(a,b,htb(1205516)|0);return}function Pzb(a,b){a=a|0;b=b|0;k[a+4>>2]=b+-1;k[a>>2]=155732;i[a+8>>0]=46;i[a+9>>0]=44;b=0;while(1){if((b|0)==3)break;k[a+12+(b<<2)>>2]=0;b=b+1|0}return}function Qzb(a,b){a=a|0;b=b|0;Czb(a,b,htb(1203712)|0);return}function Rzb(a,b){a=a|0;b=b|0;k[a+4>>2]=b+-1;k[a>>2]=155772;k[a+8>>2]=46;k[a+12>>2]=44;b=0;while(1){if((b|0)==3)break;k[a+16+(b<<2)>>2]=0;b=b+1|0}return}function Szb(a,b){a=a|0;b=b|0;Czb(a,b,htb(1203740)|0);return}function Tzb(a,b){a=a|0;b=b|0;Czb(a,b,htb(1203724)|0);return}function Uzb(a,b){a=a|0;b=b|0;Czb(a,b,htb(1203748)|0);return}function Vzb(a,b){a=a|0;b=b|0;Czb(a,b,htb(1203756)|0);return}function Wzb(a,b){a=a|0;b=b|0;Czb(a,b,htb(1203764)|0);return}function Xzb(a,b){a=a|0;b=b|0;Czb(a,b,htb(1205412)|0);return}function Yzb(a,b){a=a|0;b=b|0;Czb(a,b,htb(1205420)|0);return}function Zzb(a,b){a=a|0;b=b|0;Czb(a,b,htb(1205428)|0);return}function _zb(a,b){a=a|0;b=b|0;Czb(a,b,htb(1205436)|0);return}function $zb(a,b){a=a|0;b=b|0;Czb(a,b,htb(1205444)|0);return}function aAb(a,b){a=a|0;b=b|0;Czb(a,b,htb(1205452)|0);return}function bAb(a,b){a=a|0;b=b|0;Czb(a,b,htb(1205460)|0);return}function cAb(a,b){a=a|0;b=b|0;Czb(a,b,htb(1205468)|0);return}function dAb(a,b){a=a|0;b=b|0;Czb(a,b,htb(1204576)|0);return}function eAb(a,b){a=a|0;b=b|0;Czb(a,b,htb(1205388)|0);return}function fAb(a,b){a=a|0;b=b|0;Czb(a,b,htb(1205396)|0);return}function gAb(a,b){a=a|0;b=b|0;Czb(a,b,htb(1205404)|0);return}function hAb(a,b){a=a|0;b=b|0;Czb(a,b,htb(1205476)|0);return}function iAb(a,b){a=a|0;b=b|0;Czb(a,b,htb(1205484)|0);return}function jAb(){if(!(i[622616]|0))if(Ce(622616)|0){kAb()|0;k[301382]=1205524;pd(622616)}return k[301382]|0}function kAb(){yzb(622624,1);k[301381]=622624;return 1205524}function lAb(){var a=0;a=jAb()|0;a=k[a>>2]|0;k[301383]=a;rAb(a);return 1205532}function mAb(){if(!(i[622784]|0))if(Ce(622784)|0){lAb()|0;k[301384]=1205532;pd(622784)}return k[301384]|0}function nAb(a){a=a|0;var b=0;b=mAb()|0;b=k[b>>2]|0;k[a>>2]=b;rAb(b);return}function oAb(a,b){a=a|0;b=b|0;b=k[b>>2]|0;k[a>>2]=b;rAb(b);return}function pAb(a){a=a|0;sAb(k[a>>2]|0)|0;return}function qAb(a){a=a|0;return}function rAb(a){a=a|0;k[a+4>>2]=(k[a+4>>2]|0)+1;return}function sAb(a){a=a|0;var b=0;b=k[a+4>>2]|0;k[a+4>>2]=b+-1;if(!b){Si[k[(k[a>>2]|0)+8>>2]&1023](a);a=1}else a=0;return a|0}function tAb(a,b,c){a=a|0;b=b|0;c=c|0;bc(1205540)|0;while(1){if((k[a>>2]|0)!=1)break;Wf(1205568,1205540)|0}if(!(k[a>>2]|0)){k[a>>2]=1;oe(1205540)|0;Si[c&1023](b);bc(1205540)|0;k[a>>2]=-1;oe(1205540)|0;Sh(1205568)|0}else oe(1205540)|0;return}function uAb(){var a=0,b=0,c=0,d=0;d=r;r=r+48|0;a=vAb()|0;if(a|0){c=k[a>>2]|0;if(c|0){b=k[c+48>>2]|0;a=k[c+48+4>>2]|0;if(!((b&-256|0)==1126902528&(a|0)==1129074247)){k[d+24>>2]=620259;yAb(620354,d+24|0)}if((b|0)==1126902529&(a|0)==1129074247)a=k[c+44>>2]|0;else a=c+80|0;k[d+36>>2]=a;c=k[c>>2]|0;a=k[c+4>>2]|0;if(Ri[k[(k[2230]|0)+16>>2]&255](8920,c,d+36|0)|0){c=k[d+36>>2]|0;c=Gi[k[(k[c>>2]|0)+8>>2]&2047](c)|0;k[d>>2]=620259;k[d+4>>2]=a;k[d+8>>2]=c;yAb(620268,d)}else{k[d+16>>2]=620259;k[d+16+4>>2]=a;yAb(620313,d+16|0)}}}yAb(620392,d+32|0)}function vAb(){var a=0,b=0;a=r;r=r+16|0;if(!(Vb(1205616,12)|0)){b=kc(k[301405]|0)|0;r=a;return b|0}else yAb(620080,a);return 0}function wAb(){var a=0;a=r;r=r+16|0;if(!(Xd(1205620,794)|0)){r=a;return}else yAb(620030,a)}function xAb(a){a=a|0;var b=0;b=r;r=r+16|0;iqb(a);if(!(og(k[301405]|0,0)|0)){r=b;return}else yAb(619977,b)}function yAb(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c>>2]=b;b=k[37151]|0;Jmb(b,a,c)|0;Bpb(10,b)|0;Zh()}function zAb(a){a=a|0;return}function AAb(a){a=a|0;return}function BAb(a){a=a|0;CAb(a);return}function CAb(a){a=a|0;iqb(a);return}function DAb(a){a=a|0;return}function EAb(a){a=a|0;return}function FAb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=r;r=r+64|0;if((a|0)==(b|0))b=1;else if(!b)b=0;else{b=GAb(b,8960,8928,0)|0;if(!b)b=0;else{d=f;e=d+56|0;do{k[d>>2]=0;d=d+4|0}while((d|0)<(e|0));k[f>>2]=b;k[f+8>>2]=a;k[f+12>>2]=-1;k[f+48>>2]=1;vj[k[(k[b>>2]|0)+28>>2]&127](b,f,k[c>>2]|0,1);if((k[f+24>>2]|0)==1){k[c>>2]=k[f+16>>2];b=1}else b=0}}r=f;return b|0}function GAb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;g=r;r=r+64|0;f=k[a>>2]|0;e=a+(k[f+-8>>2]|0)|0;f=k[f+-4>>2]|0;k[g>>2]=c;k[g+4>>2]=a;k[g+8>>2]=b;k[g+12>>2]=d;d=g+16|0;a=d+36|0;do{k[d>>2]=0;d=d+4|0}while((d|0)<(a|0));j[g+16+36>>1]=0;i[g+16+38>>0]=0;a:do if((f|0)==(c|0)){k[g+48>>2]=1;Ti[k[(k[c>>2]|0)+20>>2]&63](c,g,e,e,1,0);d=(k[g+24>>2]|0)==1?e:0}else{Bi[k[(k[f>>2]|0)+24>>2]&15](f,g,e,1,0);switch(k[g+36>>2]|0){case 0:{d=((k[g+40>>2]|0)==1?(k[g+28>>2]|0)==1:0)&(k[g+32>>2]|0)==1?k[g+20>>2]|0:0;break a}case 1:break;default:{d=0;break a}}if((k[g+24>>2]|0)!=1)if(!(((k[g+40>>2]|0)==0?(k[g+28>>2]|0)==1:0)&(k[g+32>>2]|0)==1)){d=0;break}d=k[g+16>>2]|0}while(0);r=g;return d|0}function HAb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;if((a|0)==(k[b+8>>2]|0))IAb(0,b,c,d,e);else{a=k[a+8>>2]|0;Ti[k[(k[a>>2]|0)+20>>2]&63](a,b,c,d,e,f)}return}function IAb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;i[b+53>>0]=1;do if((k[b+4>>2]|0)==(d|0)){i[b+52>>0]=1;d=k[b+16>>2]|0;if(!d){k[b+16>>2]=c;k[b+24>>2]=e;k[b+36>>2]=1;if(!((e|0)==1?(k[b+48>>2]|0)==1:0))break;i[b+54>>0]=1;break}if((d|0)!=(c|0)){k[b+36>>2]=(k[b+36>>2]|0)+1;i[b+54>>0]=1;break}d=k[b+24>>2]|0;if((d|0)==2){k[b+24>>2]=e;d=e}if((d|0)==1?(k[b+48>>2]|0)==1:0)i[b+54>>0]=1}while(0);return}function JAb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;do if((a|0)==(k[b+8>>2]|0)){if((k[b+4>>2]|0)==(c|0))if((k[b+28>>2]|0)!=1)k[b+28>>2]=d}else{if((a|0)!=(k[b>>2]|0)){a=k[a+8>>2]|0;Bi[k[(k[a>>2]|0)+24>>2]&15](a,b,c,d,e);break}if((k[b+16>>2]|0)!=(c|0))if((k[b+20>>2]|0)!=(c|0)){k[b+32>>2]=d;if((k[b+44>>2]|0)==4)break;i[b+52>>0]=0;i[b+53>>0]=0;a=k[a+8>>2]|0;Ti[k[(k[a>>2]|0)+20>>2]&63](a,b,c,c,1,e);if(!(i[b+53>>0]|0)){d=0;a=13}else if(!(i[b+52>>0]|0)){d=1;a=13}else a=17;do if((a|0)==13){k[b+20>>2]=c;k[b+40>>2]=(k[b+40>>2]|0)+1;if((k[b+36>>2]|0)==1)if((k[b+24>>2]|0)==2){i[b+54>>0]=1;if(d){a=17;break}else{d=4;break}}if(d)a=17;else d=4}while(0);if((a|0)==17)d=3;k[b+44>>2]=d;break}if((d|0)==1)k[b+32>>2]=1}while(0);return}function KAb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if((a|0)==(k[b+8>>2]|0))LAb(0,b,c,d);else{a=k[a+8>>2]|0;vj[k[(k[a>>2]|0)+28>>2]&127](a,b,c,d)}return}function LAb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=k[b+16>>2]|0;do if(!a){k[b+16>>2]=c;k[b+24>>2]=d;k[b+36>>2]=1}else{if((a|0)!=(c|0)){k[b+36>>2]=(k[b+36>>2]|0)+1;k[b+24>>2]=2;i[b+54>>0]=1;break}if((k[b+24>>2]|0)==2)k[b+24>>2]=d}while(0);return}function MAb(a){a=a|0;CAb(a);return}function NAb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;if((a|0)==(k[b+8>>2]|0))IAb(0,b,c,d,e);return}function OAb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;do if((a|0)==(k[b+8>>2]|0)){if((k[b+4>>2]|0)==(c|0))if((k[b+28>>2]|0)!=1)k[b+28>>2]=d}else if((a|0)==(k[b>>2]|0)){if((k[b+16>>2]|0)!=(c|0))if((k[b+20>>2]|0)!=(c|0)){k[b+32>>2]=d;k[b+20>>2]=c;k[b+40>>2]=(k[b+40>>2]|0)+1;if((k[b+36>>2]|0)==1)if((k[b+24>>2]|0)==2)i[b+54>>0]=1;k[b+44>>2]=4;break}if((d|0)==1)k[b+32>>2]=1}while(0);return}function PAb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if((a|0)==(k[b+8>>2]|0))LAb(0,b,c,d);return}function QAb(){var a=0,b=0;b=r;r=r+16|0;a=vAb()|0;if(a|0){a=k[a>>2]|0;if(a|0)if((k[a+48>>2]&-256|0)==1126902528?(k[a+48+4>>2]|0)==1129074247:0){rj[k[a+12>>2]&15]();yAb(620404,b)}}a=k[39020]|0;k[39020]=a+0;rj[a&15]();yAb(620404,b+8|0)}function RAb(a){a=a|0;return}function SAb(a){a=a|0;return}function TAb(a){a=a|0;CAb(a);return}function UAb(a){a=a|0;return 620457}function VAb(a){a=a|0;k[a>>2]=156192;WAb(a+4|0);return}function WAb(a){a=a|0;var b=0,c=0;c=(k[a>>2]|0)+-4|0;b=k[c>>2]|0;k[c>>2]=b+-1;if((b+-1|0)<0)CAb((k[a>>2]|0)+-12|0);return}function XAb(a){a=a|0;VAb(a);CAb(a);return}function YAb(a){a=a|0;return k[a+4>>2]|0}function ZAb(a){a=a|0;VAb(a);CAb(a);return}function _Ab(a){a=a|0;return}function $Ab(a){a=a|0;CAb(a);return}function aBb(a){a=a|0;return 620520}function bBb(a){a=a|0;CAb(a);return}function cBb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,l=0,m=0;if((a|0)==(k[b+8>>2]|0))IAb(0,b,c,d,e);else{l=j[b+52>>1]|0;g=k[a+12>>2]|0;i[b+52>>0]=0;i[b+53>>0]=0;dBb(a+16|0,b,c,d,e,f);a:do if((g|0)>1){m=a+24|0;do{if(i[b+54>>0]|0)break a;h=j[b+52>>1]|0;if(!((h&255)<<24>>24)){if((h&65535)>=256)if(!(k[a+8>>2]&1))break a}else{if((k[b+24>>2]|0)==1)break a;if(!(k[a+8>>2]&2))break a}i[b+52>>0]=0;i[b+53>>0]=0;dBb(m,b,c,d,e,f);m=m+8|0}while(m>>>0<(a+16+(g<<3)|0)>>>0)}while(0);i[b+52>>0]=l;i[b+53>>0]=(l&65535)>>>8}return}function dBb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=k[a+4>>2]|0;if(!(g&1))h=g>>8;else h=k[(k[d>>2]|0)+(g>>8)>>2]|0;a=k[a>>2]|0;Ti[k[(k[a>>2]|0)+20>>2]&63](a,b,c,d+h|0,g&2|0?e:2,f);return}function eBb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;a:do if((a|0)==(k[b+8>>2]|0)){if((k[b+4>>2]|0)==(c|0))if((k[b+28>>2]|0)!=1)k[b+28>>2]=d}else{if((a|0)!=(k[b>>2]|0)){g=k[a+12>>2]|0;fBb(a+16|0,b,c,d,e);if((g|0)<=1)break;f=k[a+8>>2]|0;if(!(f&2))if((k[b+36>>2]|0)!=1){if(!(f&1)){f=a+24|0;while(1){if(i[b+54>>0]|0)break a;if((k[b+36>>2]|0)==1)break a;fBb(f,b,c,d,e);f=f+8|0;if(f>>>0>=(a+16+(g<<3)|0)>>>0)break a}}f=a+24|0;while(1){if(i[b+54>>0]|0)break a;if((k[b+36>>2]|0)==1)if((k[b+24>>2]|0)==1)break a;fBb(f,b,c,d,e);f=f+8|0;if(f>>>0>=(a+16+(g<<3)|0)>>>0)break a}}f=a+24|0;while(1){if(i[b+54>>0]|0)break a;fBb(f,b,c,d,e);f=f+8|0;if(f>>>0>=(a+16+(g<<3)|0)>>>0)break a}}if((k[b+16>>2]|0)!=(c|0))if((k[b+20>>2]|0)!=(c|0)){k[b+32>>2]=d;if((k[b+44>>2]|0)==4)break;d=a+16+(k[a+12>>2]<<3)|0;g=0;f=0;h=a+16|0;b:while(1){if(h>>>0>=d>>>0){d=20;break}i[b+52>>0]=0;i[b+53>>0]=0;dBb(h,b,c,c,1,e);if(i[b+54>>0]|0){d=20;break}do if(i[b+53>>0]|0){if(!(i[b+52>>0]|0))if(!(k[a+8>>2]&1)){f=1;d=20;break b}else{f=1;break}if((k[b+24>>2]|0)==1){d=25;break b}if(!(k[a+8>>2]&2)){d=25;break b}else{g=1;f=1}}while(0);h=h+8|0}do if((d|0)==20){if(!g){k[b+20>>2]=c;k[b+40>>2]=(k[b+40>>2]|0)+1;if((k[b+36>>2]|0)==1)if((k[b+24>>2]|0)==2){i[b+54>>0]=1;if(f){d=25;break}else{f=4;break}}}if(f)d=25;else f=4}while(0);if((d|0)==25)f=3;k[b+44>>2]=f;break}if((d|0)==1)k[b+32>>2]=1}while(0);return}function fBb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;f=k[a+4>>2]|0;if(!(f&1))g=f>>8;else g=k[(k[c>>2]|0)+(f>>8)>>2]|0;a=k[a>>2]|0;Bi[k[(k[a>>2]|0)+24>>2]&15](a,b,c+g|0,f&2|0?d:2,e);return}function gBb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;a:do if((a|0)==(k[b+8>>2]|0))LAb(0,b,c,d);else{e=k[a+12>>2]|0;hBb(a+16|0,b,c,d);if((e|0)>1){f=a+24|0;do{hBb(f,b,c,d);if(i[b+54>>0]|0)break a;f=f+8|0}while(f>>>0<(a+16+(e<<3)|0)>>>0)}}while(0);return}function hBb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=k[a+4>>2]|0;if(!(e&1))f=e>>8;else f=k[(k[c>>2]|0)+(e>>8)>>2]|0;a=k[a>>2]|0;vj[k[(k[a>>2]|0)+28>>2]&127](a,b,c+f|0,e&2|0?d:2);return}function iBb(){var a=0;a=xf(4)|0;jBb(a);Jc(a|0,9032,683)}function jBb(a){a=a|0;k[a>>2]=156232;return}function kBb(a){a=a|0;var b=0,c=0;b=(a|0)==0?1:a;while(1){c=hqb(b)|0;if(c|0){a=6;break}a=lBb()|0;if(!a){a=5;break}rj[a&15]()}if((a|0)==5){c=xf(4)|0;k[c>>2]=156172;Jc(c|0,8984,678)}else if((a|0)==6)return c|0;return 0}function lBb(){var a=0;a=k[301406]|0;k[301406]=a+0;return a|0}function mBb(a){a=a|0;return kBb(a)|0}function nBb(a,b){a=a|0;b=b|0;return mBb(a)|0}function oBb(a){a=a|0;CAb(a);return}function pBb(a){a=a|0;k[a>>2]=156172;return}function qBb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;k[d>>2]=k[c>>2];a=Ri[k[(k[a>>2]|0)+16>>2]&255](a,b,d)|0;if(a)k[c>>2]=k[d>>2];r=d;return a&1|0}function rBb(a){a=a|0;if(!a)a=0;else a=(GAb(a,8960,9064,0)|0)!=0;return a&1|0}function sBb(){var a=0;a=xf(4)|0;pBb(a);Jc(a|0,8984,678)}function tBb(){}function uBb(a){a=a|0;return (a&255)<<24|(a>>8&255)<<16|(a>>16&255)<<8|a>>>24|0}function vBb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=a+c|0;if((c|0)>=20){b=b&255;e=a&3;f=b|b<<8|b<<16|b<<24;if(e){e=a+4-e|0;while((a|0)<(e|0)){i[a>>0]=b;a=a+1|0}}while((a|0)<(d&~3|0)){k[a>>2]=f;a=a+4|0}}while((a|0)<(d|0)){i[a>>0]=b;a=a+1|0}return a-c|0}function wBb(a){a=a|0;var b=0;b=i[v+(a&255)>>0]|0;if((b|0)<8)return b|0;b=i[v+(a>>8&255)>>0]|0;if((b|0)<8)return b+8|0;b=i[v+(a>>16&255)>>0]|0;if((b|0)<8)return b+16|0;return (i[v+(a>>>24)>>0]|0)+24|0}function xBb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return (L=b+d+(a+c>>>0>>>0>>0|0)>>>0,a+c>>>0|0)|0}function yBb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;y=y+1|0;k[a>>2]=y;while((e|0)<(d|0)){if(!(k[c+(e<<3)>>2]|0)){k[c+(e<<3)>>2]=y;k[c+((e<<3)+4)>>2]=b;k[c+((e<<3)+8)>>2]=0;L=d;return c|0}e=e+1|0}d=d*2|0;c=kqb(c|0,8*(d+1|0)|0)|0;c=yBb(a|0,b|0,c|0,d|0)|0;L=d;return c|0}function zBb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;while((e|0)<(c|0)){d=k[b+(e<<3)>>2]|0;if(!d)break;if((d|0)==(a|0))return k[b+((e<<3)+4)>>2]|0;e=e+1|0}return 0}function ABb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((c|0)>=4096)return tb(a|0,b|0,c|0)|0;d=a|0;if((a&3)==(b&3)){while(a&3){if(!c)return d|0;i[a>>0]=i[b>>0]|0;a=a+1|0;b=b+1|0;c=c-1|0}while((c|0)>=4){k[a>>2]=k[b>>2];a=a+4|0;b=b+4|0;c=c-4|0}}while((c|0)>0){i[a>>0]=i[b>>0]|0;a=a+1|0;b=b+1|0;c=c-1|0}return d|0}function BBb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((b|0)<(a|0)&(a|0)<(b+c|0)){d=a;b=b+c|0;a=a+c|0;while((c|0)>0){a=a-1|0;b=b-1|0;c=c-1|0;i[a>>0]=i[b>>0]|0}a=d}else ABb(a,b,c)|0;return a|0}function CBb(a,b,c){a=a|0;b=b|0;c=c|0;b=ja(b)|0;if((b|0)==32)b=b+(ja(a)|0)|0;L=0;return b|0}function DBb(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){L=b<>>32-c;return a<>>0>a>>>0|0)>>>0;return (L=d,a-c>>>0|0)|0}function FBb(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){L=b>>>c;return a>>>c|(b&(1<>>c-32|0}function GBb(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){L=b>>c;return a>>>c|(b&(1<>c-32|0}function HBb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=ha(b&65535,a&65535)|0;e=(c>>>16)+(ha(b&65535,a>>>16)|0)|0;d=ha(b>>>16,a&65535)|0;return (L=(e>>>16)+(ha(b>>>16,a>>>16)|0)+(((e&65535)+d|0)>>>16)|0,e+d<<16|c&65535|0)|0}function IBb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;g=b>>31|((b|0)<0?-1:0)<<1;e=((b|0)<0?-1:0)>>31|((b|0)<0?-1:0)<<1;h=d>>31|((d|0)<0?-1:0)<<1;f=((d|0)<0?-1:0)>>31|((d|0)<0?-1:0)<<1;a=EBb(g^a|0,e^b|0,g|0,e|0)|0;b=L;return EBb((NBb(a,b,EBb(h^c|0,f^d|0,h|0,f|0)|0,L,0)|0)^(h^g)|0,L^(f^e)|0,h^g|0,f^e|0)|0}function JBb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=r;r=r+16|0;g=b>>31|((b|0)<0?-1:0)<<1;f=((b|0)<0?-1:0)>>31|((b|0)<0?-1:0)<<1;i=d>>31|((d|0)<0?-1:0)<<1;h=((d|0)<0?-1:0)>>31|((d|0)<0?-1:0)<<1;a=EBb(g^a|0,f^b|0,g|0,f|0)|0;b=L;NBb(a,b,EBb(i^c|0,h^d|0,i|0,h|0)|0,L,e|0)|0;d=EBb(k[e>>2]^g|0,k[e+4>>2]^f|0,g|0,f|0)|0;c=L;r=e;return (L=c,d)|0}function KBb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=HBb(a,c)|0;f=L;return (L=(ha(b,c)|0)+(ha(d,a)|0)+f|f&0,e|0|0)|0}function LBb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return NBb(a,b,c,d,0)|0}function MBb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=r;r=r+16|0;NBb(a,b,c,d,e|0)|0;r=e;return (L=k[e+4>>2]|0,k[e>>2]|0)|0}function NBb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0;if(!b)if(!d){if(e|0){k[e>>2]=(a>>>0)%(c>>>0);k[e+4>>2]=0}d=0;e=(a>>>0)/(c>>>0)>>>0;return (L=d,e)|0}else{if(!e){d=0;e=0;return (L=d,e)|0}k[e>>2]=a|0;k[e+4>>2]=b&0;d=0;e=0;return (L=d,e)|0}do if(!c){if(!d){if(e|0){k[e>>2]=(b>>>0)%(c>>>0);k[e+4>>2]=0}d=0;e=(b>>>0)/(c>>>0)>>>0;return (L=d,e)|0}if(!a){if(e|0){k[e>>2]=0;k[e+4>>2]=(b>>>0)%(d>>>0)}c=0;e=(b>>>0)/(d>>>0)>>>0;return (L=c,e)|0}if(!(d-1&d)){if(e|0){k[e>>2]=a|0;k[e+4>>2]=d-1&b|b&0}c=0;e=b>>>((wBb(d|0)|0)>>>0);return (L=c,e)|0}g=(ja(d|0)|0)-(ja(b|0)|0)|0;if(g>>>0<=30){n=g+1|0;h=b<<31-g|a>>>((g+1|0)>>>0);m=b>>>((g+1|0)>>>0);f=0;g=a<<31-g;break}if(!e){d=0;e=0;return (L=d,e)|0}k[e>>2]=a|0;k[e+4>>2]=b|b&0;d=0;e=0;return (L=d,e)|0}else{if(d|0){g=(ja(d|0)|0)-(ja(b|0)|0)|0;if(g>>>0<=31){n=g+1|0;h=a>>>((g+1|0)>>>0)&g-31>>31|b<<31-g;m=b>>>((g+1|0)>>>0)&g-31>>31;f=0;g=a<<31-g;break}if(!e){d=0;e=0;return (L=d,e)|0}k[e>>2]=a|0;k[e+4>>2]=b|b&0;d=0;e=0;return (L=d,e)|0}if(c-1&c|0){g=(ja(c|0)|0)+33-(ja(b|0)|0)|0;n=g;h=32-g-1>>31&b>>>((g-32|0)>>>0)|(b<<32-g|a>>>(g>>>0))&g-32>>31;m=g-32>>31&b>>>(g>>>0);f=a<<64-g&32-g>>31;g=(b<<64-g|a>>>((g-32|0)>>>0))&32-g>>31|a<<32-g&g-33>>31;break}if(e|0){k[e>>2]=c-1&a;k[e+4>>2]=0}if((c|0)==1){d=b|b&0;e=a|0|0;return (L=d,e)|0}else{e=wBb(c|0)|0;d=b>>>(e>>>0)|0;e=b<<32-e|a>>>(e>>>0)|0;return (L=d,e)|0}}while(0);if(!n){i=g;b=m;a=0;g=0}else{j=xBb(c|0|0,d|d&0|0,-1,-1)|0;l=L;i=g;b=m;a=n;g=0;do{p=i;i=f>>>31|i<<1;f=g|f<<1;p=h<<1|p>>>31|0;o=h>>>31|b<<1|0;EBb(j|0,l|0,p|0,o|0)|0;n=L;m=n>>31|((n|0)<0?-1:0)<<1;g=m&1;h=EBb(p|0,o|0,m&(c|0)|0,(((n|0)<0?-1:0)>>31|((n|0)<0?-1:0)<<1)&(d|d&0)|0)|0;b=L;a=a-1|0}while((a|0)!=0);a=0}if(e|0){k[e>>2]=h;k[e+4>>2]=b}o=(f|0)>>>31|i<<1|(0<<1|f>>>31)&0|a;p=(f<<1|0>>>31)&-2|g;return (L=o,p)|0}function OBb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;return xi[a&15](b|0,c|0,d|0,e|0,f|0,g|0,h|0)|0}function PBb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=+g;return yi[a&3](b|0,c|0,d|0,e|0,f|0,+g)|0}function QBb(a,b){a=a|0;b=+b;zi[a&3](+b)}function RBb(a,b,c){a=a|0;b=b|0;c=+c;Ai[a&31](b|0,+c)}function SBb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;Bi[a&15](b|0,c|0,d|0,e|0,f|0)}function TBb(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;return Ci[a&3](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0,j|0)|0}function UBb(a,b,c){a=a|0;b=b|0;c=c|0;Di[a&511](b|0,c|0)}function VBb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;return Ei[a&63](b|0,c|0,d|0,e|0,f|0,g|0)|0}function WBb(a,b,c,d,e,f,g,h,i,j,k){a=a|0;b=b|0;c=+c;d=+d;e=+e;f=+f;g=+g;h=+h;i=+i;j=+j;k=+k;Fi[a&7](b|0,+c,+d,+e,+f,+g,+h,+i,+j,+k)}function XBb(a,b){a=a|0;b=b|0;return Gi[a&2047](b|0)|0}function YBb(a,b,c,d,e){a=a|0;b=+b;c=+c;d=+d;e=+e;return +Hi[a&1](+b,+c,+d,+e)}function ZBb(a,b,c,d,e,f,g,h,i,j,k,l){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;Ii[a&7](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0,j|0,k|0,l|0)}function _Bb(a,b,c,d,e,f){a=a|0;b=b|0;c=+c;d=+d;e=e|0;f=f|0;Ji[a&3](b|0,+c,+d,e|0,f|0)}function $Bb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=+d;e=e|0;Ki[a&3](b|0,c|0,+d,e|0)}function aCb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=+d;e=+e;f=+f;g=+g;Li[a&1](b|0,c|0,+d,+e,+f,+g)}function bCb(a,b,c,d,e){a=a|0;b=b|0;c=+c;d=+d;e=+e;Mi[a&7](b|0,+c,+d,+e)}function cCb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return Ni[a&127](b|0,c|0,d|0,e|0,f|0)|0}function dCb(a,b,c,d){a=a|0;b=b|0;c=+c;d=d|0;Oi[a&3](b|0,+c,d|0)}function eCb(a,b,c,d,e,f,g){a=a|0;b=+b;c=+c;d=+d;e=+e;f=+f;g=+g;Pi[a&1](+b,+c,+d,+e,+f,+g)}function fCb(a,b,c,d){a=a|0;b=b|0;c=+c;d=+d;Qi[a&3](b|0,+c,+d)}function gCb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Ri[a&255](b|0,c|0,d|0)|0}function hCb(a,b){a=a|0;b=b|0;Si[a&1023](b|0)}function iCb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;Ti[a&63](b|0,c|0,d|0,e|0,f|0,g|0)}function jCb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=+f;return +Ui[a&1](b|0,c|0,d|0,e|0,+f)}function kCb(a,b,c){a=a|0;b=+b;c=+c;return +Vi[a&1](+b,+c)}function lCb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=+d;Wi[a&31](b|0,c|0,+d)}function mCb(a,b){a=a|0;b=b|0;return +Xi[a&63](b|0)}function nCb(a,b,c){a=a|0;b=+b;c=c|0;Yi[a&1](+b,c|0)}function oCb(a,b){a=a|0;b=+b;return +Zi[a&3](+b)}function pCb(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;_i[a&3](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0)}function qCb(a,b,c,d,e,f){a=a|0;b=b|0;c=+c;d=+d;e=+e;f=+f;$i[a&3](b|0,+c,+d,+e,+f)}function rCb(a,b,c){a=a|0;b=b|0;c=+c;return aj[a&7](b|0,+c)|0}function sCb(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;return +bj[a&1](+b,+c,+d)}function tCb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;cj[a&7](b|0,c|0,d|0,e|0,f|0,g|0,h|0)}function uCb(a,b,c,d,e){a=a|0;b=b|0;c=+c;d=+d;e=+e;return dj[a&1](b|0,+c,+d,+e)|0}function vCb(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;ej[a&15](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0,j|0)}function wCb(a,b,c,d,e,f,g,h,i,j,k){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;fj[a&0](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0,j|0,k|0)}function xCb(a,b,c){a=a|0;b=b|0;c=c|0;return gj[a&511](b|0,c|0)|0}function yCb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return +hj[a&3](b|0,c|0,d|0)}function zCb(a,b,c,d,e,f,g,h,i,j,k,l){a=a|0;b=b|0;c=c|0;d=+d;e=+e;f=+f;g=+g;h=+h;i=+i;j=+j;k=+k;l=+l;ij[a&3](b|0,c|0,+d,+e,+f,+g,+h,+i,+j,+k,+l)}function ACb(a,b,c){a=a|0;b=b|0;c=c|0;return +jj[a&15](b|0,c|0)}function BCb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;kj[a&255](b|0,c|0,d|0)}function CCb(a,b,c){a=a|0;b=b|0;c=+c;return +lj[a&15](b|0,+c)}function DCb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=+f;g=g|0;h=h|0;return mj[a&3](b|0,c|0,d|0,e|0,+f,g|0,h|0)|0}function ECb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return nj[a&127](b|0,c|0,d|0,e|0)|0}function FCb(a){a=a|0;return oj[a&7]()|0}function GCb(a,b,c,d,e){a=a|0;b=+b;c=+c;d=+d;e=+e;pj[a&3](+b,+c,+d,+e)}function HCb(a,b,c){a=a|0;b=+b;c=+c;qj[a&3](+b,+c)}function ICb(a){a=a|0;rj[a&15]()}function JCb(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;return sj[a&31](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0)|0}function KCb(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=+j;tj[a&3](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0,+j)}function LCb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=+f;return uj[a&7](b|0,c|0,d|0,e|0,+f)|0}function MCb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;vj[a&127](b|0,c|0,d|0,e|0)}function NCb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;ka(0);return 0}function OCb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=+f;ka(1);return 0}function PCb(a){a=+a;ka(2)}function QCb(a){a=+a;Gd(+a)}function RCb(a){a=+a;fh(+a)}function SCb(a){a=+a;Le(+a)}function TCb(a,b){a=a|0;b=+b;ka(3)}function UCb(a,b){a=a|0;b=+b;ub(a|0,+b)}function VCb(a,b){a=a|0;b=+b;Re(a|0,+b)}function WCb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ka(4)}function XCb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;Jd(a|0,b|0,c|0,d|0,e|0)}function YCb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;qc(a|0,b|0,c|0,d|0,e|0)}function ZCb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;Ah(a|0,b|0,c|0,d|0,e|0)}function _Cb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;Ef(a|0,b|0,c|0,d|0,e|0)}function $Cb(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;ka(5);return 0}function aDb(a,b){a=a|0;b=b|0;ka(6)}function bDb(a,b){a=a|0;b=b|0;xe(a|0,b|0)}function cDb(a,b){a=a|0;b=b|0;Gf(a|0,b|0)}function dDb(a,b){a=a|0;b=b|0;qb(a|0,b|0)}function eDb(a,b){a=a|0;b=b|0;Mc(a|0,b|0)}function fDb(a,b){a=a|0;b=b|0;ad(a|0,b|0)}function gDb(a,b){a=a|0;b=b|0;Ve(a|0,b|0)}function hDb(a,b){a=a|0;b=b|0;he(a|0,b|0)}function iDb(a,b){a=a|0;b=b|0;pe(a|0,b|0)}function jDb(a,b){a=a|0;b=b|0;cd(a|0,b|0)}function kDb(a,b){a=a|0;b=b|0;pi(a|0,b|0)}function lDb(a,b){a=a|0;b=b|0;Oc(a|0,b|0)}function mDb(a,b){a=a|0;b=b|0;Df(a|0,b|0)}function nDb(a,b){a=a|0;b=b|0;sh(a|0,b|0)}function oDb(a,b){a=a|0;b=b|0;xb(a|0,b|0)}function pDb(a,b){a=a|0;b=b|0;Lc(a|0,b|0)}function qDb(a,b){a=a|0;b=b|0;Fc(a|0,b|0)}function rDb(a,b){a=a|0;b=b|0;Ob(a|0,b|0)}function sDb(a,b){a=a|0;b=b|0;eg(a|0,b|0)}function tDb(a,b){a=a|0;b=b|0;jc(a|0,b|0)}function uDb(a,b){a=a|0;b=b|0;Gb(a|0,b|0)}function vDb(a,b){a=a|0;b=b|0;rg(a|0,b|0)}function wDb(a,b){a=a|0;b=b|0;oh(a|0,b|0)}function xDb(a,b){a=a|0;b=b|0;_h(a|0,b|0)}function yDb(a,b){a=a|0;b=b|0;Yd(a|0,b|0)}function zDb(a,b){a=a|0;b=b|0;Og(a|0,b|0)}function ADb(a,b){a=a|0;b=b|0;Vf(a|0,b|0)}function BDb(a,b){a=a|0;b=b|0;Yg(a|0,b|0)}function CDb(a,b){a=a|0;b=b|0;ze(a|0,b|0)}function DDb(a,b){a=a|0;b=b|0;bd(a|0,b|0)}function EDb(a,b){a=a|0;b=b|0;Nd(a|0,b|0)}function FDb(a,b){a=a|0;b=b|0;Lg(a|0,b|0)}function GDb(a,b){a=a|0;b=b|0;Tc(a|0,b|0)}function HDb(a,b){a=a|0;b=b|0;kh(a|0,b|0)}function IDb(a,b){a=a|0;b=b|0;Vh(a|0,b|0)}function JDb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;ka(7);return 0}function KDb(a,b,c,d,e,f,g,h,i,j){a=a|0;b=+b;c=+c;d=+d;e=+e;f=+f;g=+g;h=+h;i=+i;j=+j;ka(8)}function LDb(a){a=a|0;ka(9);return 0}function MDb(a){a=a|0;return Pc(a|0)|0}function NDb(a){a=a|0;return gi(a|0)|0}function ODb(a){a=a|0;return _g(a|0)|0}function PDb(a){a=a|0;return tf(a|0)|0}function QDb(a){a=a|0;return Zc(a|0)|0}function RDb(a){a=a|0;return Mg(a|0)|0}function SDb(a){a=a|0;return li(a|0)|0}function TDb(a){a=a|0;return Qe(a|0)|0}function UDb(a){a=a|0;return Yf(a|0)|0}function VDb(a){a=a|0;return Oh(a|0)|0}function WDb(a){a=a|0;return se(a|0)|0}function XDb(a){a=a|0;return yb(a|0)|0}function YDb(a){a=a|0;return Ng(a|0)|0}function ZDb(a){a=a|0;return ef(a|0)|0}function _Db(a){a=a|0;return hd(a|0)|0}function $Db(a,b,c,d){a=+a;b=+b;c=+c;d=+d;ka(10);return 0.0}function aEb(a,b,c,d,e,f,g,h,i,j,k){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;ka(11)}function bEb(a,b,c,d,e){a=a|0;b=+b;c=+c;d=d|0;e=e|0;ka(12)}function cEb(a,b,c,d){a=a|0;b=b|0;c=+c;d=d|0;ka(13)}function dEb(a,b,c,d,e,f){a=a|0;b=b|0;c=+c;d=+d;e=+e;f=+f;ka(14)}function eEb(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;ka(15)}function fEb(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;hf(a|0,+b,+c,+d)}function gEb(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;ac(a|0,+b,+c,+d)}function hEb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ka(16);return 0}function iEb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return wf(a|0,b|0,c|0,d|0,e|0)|0}function jEb(a,b,c){a=a|0;b=+b;c=c|0;ka(17)}function kEb(a,b,c,d,e,f){a=+a;b=+b;c=+c;d=+d;e=+e;f=+f;ka(18)}function lEb(a,b,c,d,e,f){a=+a;b=+b;c=+c;d=+d;e=+e;f=+f;ii(+a,+b,+c,+d,+e,+f)}function mEb(a,b,c){a=a|0;b=+b;c=+c;ka(19)}function nEb(a,b,c){a=a|0;b=+b;c=+c;Tg(a|0,+b,+c)}function oEb(a,b,c){a=a|0;b=+b;c=+c;ud(a|0,+b,+c)}function pEb(a,b,c){a=a|0;b=b|0;c=c|0;ka(20);return 0}function qEb(a,b,c){a=a|0;b=b|0;c=c|0;return zc(a|0,b|0,c|0)|0}function rEb(a){a=a|0;ka(21)}function sEb(a){a=a|0;kf(a|0)}function tEb(a){a=a|0;fg(a|0)}function uEb(a){a=a|0;Mh(a|0)}function vEb(a){a=a|0;ig(a|0)}function wEb(a){a=a|0;Fe(a|0)}function xEb(a){a=a|0;qd(a|0)}function yEb(a){a=a|0;dd(a|0)}function zEb(a){a=a|0;vf(a|0)}function AEb(a){a=a|0;df(a|0)}function BEb(a){a=a|0;mi(a|0)}function CEb(a){a=a|0;hh(a|0)}function DEb(a){a=a|0;_b(a|0)}function EEb(a){a=a|0;nf(a|0)}function FEb(a){a=a|0;Yc(a|0)}function GEb(a){a=a|0;sb(a|0)}function HEb(a){a=a|0;lh(a|0)}function IEb(a){a=a|0;Cf(a|0)}function JEb(a){a=a|0;De(a|0)}function KEb(a){a=a|0;Rc(a|0)}function LEb(a){a=a|0;od(a|0)}function MEb(a){a=a|0;Bd(a|0)}function NEb(a){a=a|0;Th(a|0)}function OEb(a){a=a|0;Od(a|0)}function PEb(a){a=a|0;ki(a|0)}function QEb(a){a=a|0;ni(a|0)}function REb(a){a=a|0;Dc(a|0)}function SEb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;ka(22)}function TEb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;mg(a|0,b|0,c|0,d|0,e|0,f|0)}function UEb(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;xg(a|0,b|0,c|0,d|0,e|0,f|0)}function VEb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;ka(23);return 0.0}function WEb(a,b){a=+a;b=+b;ka(24);return 0.0}function XEb(a,b,c){a=a|0;b=b|0;c=+c;ka(25)}function YEb(a,b,c){a=a|0;b=b|0;c=+c;Vg(a|0,b|0,+c)}function ZEb(a){a=a|0;ka(26);return 0.0}function _Eb(a,b){a=+a;b=b|0;ka(27)}function $Eb(a,b){a=+a;b=b|0;hi(+a,b|0)}function aFb(a){a=+a;ka(28);return 0.0}function bFb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;ka(29)}function cFb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;ve(a|0,b|0,c|0,d|0,e|0,f|0,g|0,h|0)}function dFb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;pc(a|0,b|0,c|0,d|0,e|0,f|0,g|0,h|0)}function eFb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;ti(a|0,b|0,c|0,d|0,e|0,f|0,g|0,h|0)}function fFb(a,b,c,d,e){a=a|0;b=+b;c=+c;d=+d;e=+e;ka(30)}function gFb(a,b,c,d,e){a=a|0;b=+b;c=+c;d=+d;e=+e;Md(a|0,+b,+c,+d,+e)}function hFb(a,b,c,d,e){a=a|0;b=+b;c=+c;d=+d;e=+e;Ff(a|0,+b,+c,+d,+e)}function iFb(a,b){a=a|0;b=+b;ka(31);return 0}function jFb(a,b,c){a=+a;b=+b;c=+c;ka(32);return 0.0}function kFb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;ka(33)}function lFb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;zd(a|0,b|0,c|0,d|0,e|0,f|0,g|0)}function mFb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;Fh(a|0,b|0,c|0,d|0,e|0,f|0,g|0)}function nFb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;wh(a|0,b|0,c|0,d|0,e|0,f|0,g|0)}function oFb(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;ka(34);return 0}function pFb(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;ka(35)}function qFb(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;Te(a|0,b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0)}function rFb(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;Jg(a|0,b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0)}function sFb(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;dh(a|0,b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0)}function tFb(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;ka(36)}function uFb(a,b){a=a|0;b=b|0;ka(37);return 0}function vFb(a,b){a=a|0;b=b|0;return ie(a|0,b|0)|0}function wFb(a,b){a=a|0;b=b|0;return de(a|0,b|0)|0}function xFb(a,b){a=a|0;b=b|0;return td(a|0,b|0)|0}function yFb(a,b){a=a|0;b=b|0;return Kh(a|0,b|0)|0}function zFb(a,b){a=a|0;b=b|0;return mf(a|0,b|0)|0}function AFb(a,b){a=a|0;b=b|0;return Bf(a|0,b|0)|0}function BFb(a,b,c){a=a|0;b=b|0;c=c|0;ka(38);return 0.0}function CFb(a,b,c,d,e,f,g,h,i,j,k){a=a|0;b=b|0;c=+c;d=+d;e=+e;f=+f;g=+g;h=+h;i=+i;j=+j;k=+k;ka(39)}function DFb(a,b){a=a|0;b=b|0;ka(40);return 0.0}function EFb(a,b,c){a=a|0;b=b|0;c=c|0;ka(41)}function FFb(a,b,c){a=a|0;b=b|0;c=c|0;lb(a|0,b|0,c|0)}function GFb(a,b,c){a=a|0;b=b|0;c=c|0;af(a|0,b|0,c|0)}function HFb(a,b,c){a=a|0;b=b|0;c=c|0;Jb(a|0,b|0,c|0)}function IFb(a,b,c){a=a|0;b=b|0;c=c|0;Ab(a|0,b|0,c|0)}function JFb(a,b,c){a=a|0;b=b|0;c=c|0;ic(a|0,b|0,c|0)}function KFb(a,b,c){a=a|0;b=b|0;c=c|0;fi(a|0,b|0,c|0)}function LFb(a,b,c){a=a|0;b=b|0;c=c|0;Bc(a|0,b|0,c|0)}function MFb(a,b,c){a=a|0;b=b|0;c=c|0;ce(a|0,b|0,c|0)}function NFb(a,b,c){a=a|0;b=b|0;c=c|0;dg(a|0,b|0,c|0)}function OFb(a,b,c){a=a|0;b=b|0;c=c|0;Ud(a|0,b|0,c|0)}function PFb(a,b,c){a=a|0;b=b|0;c=c|0;Ch(a|0,b|0,c|0)}function QFb(a,b,c){a=a|0;b=b|0;c=c|0;Sg(a|0,b|0,c|0)}function RFb(a,b,c){a=a|0;b=b|0;c=c|0;fc(a|0,b|0,c|0)}function SFb(a,b,c){a=a|0;b=b|0;c=c|0;ri(a|0,b|0,c|0)}function TFb(a,b,c){a=a|0;b=b|0;c=c|0;Ie(a|0,b|0,c|0)}function UFb(a,b,c){a=a|0;b=b|0;c=c|0;rd(a|0,b|0,c|0)}function VFb(a,b,c){a=a|0;b=b|0;c=c|0;Hd(a|0,b|0,c|0)}function WFb(a,b,c){a=a|0;b=b|0;c=c|0;Kc(a|0,b|0,c|0)}function XFb(a,b,c){a=a|0;b=b|0;c=c|0;Uc(a|0,b|0,c|0)}function YFb(a,b,c){a=a|0;b=b|0;c=c|0;ae(a|0,b|0,c|0)}function ZFb(a,b,c){a=a|0;b=b|0;c=c|0;Rf(a|0,b|0,c|0)}function _Fb(a,b,c){a=a|0;b=b|0;c=c|0;Hg(a|0,b|0,c|0)}function $Fb(a,b,c){a=a|0;b=b|0;c=c|0;$g(a|0,b|0,c|0)}function aGb(a,b,c){a=a|0;b=b|0;c=c|0;be(a|0,b|0,c|0)}function bGb(a,b,c){a=a|0;b=b|0;c=c|0;jh(a|0,b|0,c|0)}function cGb(a,b,c){a=a|0;b=b|0;c=c|0;zg(a|0,b|0,c|0)}function dGb(a,b,c){a=a|0;b=b|0;c=c|0;Wg(a|0,b|0,c|0)}function eGb(a,b,c){a=a|0;b=b|0;c=c|0;rc(a|0,b|0,c|0)}function fGb(a,b,c){a=a|0;b=b|0;c=c|0;Cc(a|0,b|0,c|0)}function gGb(a,b){a=a|0;b=+b;ka(42);return 0.0}function hGb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;f=f|0;g=g|0;ka(43);return 0}function iGb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;ka(44);return 0}function jGb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Xe(a|0,b|0,c|0,d|0)|0}function kGb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return _c(a|0,b|0,c|0,d|0)|0}function lGb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Ad(a|0,b|0,c|0,d|0)|0}function mGb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return oc(a|0,b|0,c|0,d|0)|0}function nGb(){ka(45);return 0}function oGb(){return ff()|0}function pGb(){return qg()|0}function qGb(){return xd()|0}function rGb(a,b,c,d){a=+a;b=+b;c=+c;d=+d;ka(46)}function sGb(a,b,c,d){a=+a;b=+b;c=+c;d=+d;Qf(+a,+b,+c,+d)}function tGb(a,b,c,d){a=+a;b=+b;c=+c;d=+d;pg(+a,+b,+c,+d)}function uGb(a,b,c,d){a=+a;b=+b;c=+c;d=+d;Cg(+a,+b,+c,+d)}function vGb(a,b){a=+a;b=+b;ka(47)}function wGb(a,b){a=+a;b=+b;mc(+a,+b)}function xGb(a,b){a=+a;b=+b;ji(+a,+b)}function yGb(a,b){a=+a;b=+b;Ag(+a,+b)}function zGb(){ka(48)}function AGb(){Tf()}function BGb(){$h()}function CGb(){Ae()}function DGb(){Fd()}function EGb(){Rb()}function FGb(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;ka(49);return 0}function GGb(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=+i;ka(50)}function HGb(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;ka(51);return 0}function IGb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;ka(52)}function JGb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Pb(a|0,b|0,c|0,d|0)}function KGb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Ac(a|0,b|0,c|0,d|0)}function LGb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;jf(a|0,b|0,c|0,d|0)}function MGb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Lb(a|0,b|0,c|0,d|0)}function NGb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Vd(a|0,b|0,c|0,d|0)}function OGb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Uf(a|0,b|0,c|0,d|0)}function PGb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Ue(a|0,b|0,c|0,d|0)}function QGb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;ai(a|0,b|0,c|0,d|0)}function RGb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Ig(a|0,b|0,c|0,d|0)}function SGb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Bh(a|0,b|0,c|0,d|0)}function TGb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;ed(a|0,b|0,c|0,d|0)}function UGb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Hc(a|0,b|0,c|0,d|0)}function VGb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Nf(a|0,b|0,c|0,d|0)}function WGb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;uh(a|0,b|0,c|0,d|0)}function XGb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;we(a|0,b|0,c|0,d|0)}function YGb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;xc(a|0,b|0,c|0,d|0)}function ZGb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Yb(a|0,b|0,c|0,d|0)}function _Gb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Qh(a|0,b|0,c|0,d|0)}function $Gb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;bh(a|0,b|0,c|0,d|0)}function aHb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Mb(a|0,b|0,c|0,d|0)}function bHb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Rh(a|0,b|0,c|0,d|0)}function cHb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Me(a|0,b|0,c|0,d|0)}function dHb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;ne(a|0,b|0,c|0,d|0)}function eHb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;vc(a|0,b|0,c|0,d|0)}function fHb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;pb(a|0,b|0,c|0,d|0)}function gHb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;$b(a|0,b|0,c|0,d|0)}function hHb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;jd(a|0,b|0,c|0,d|0)} // EMSCRIPTEN_END_FUNCS -var mi=[zCb,l_a,Yvb,awb,Wwb,axb,exb,ixb,Jdb,Kdb,Ldb,Mdb,Ndb,Odb,zCb,zCb];var ni=[ACb,mxb,sxb,ACb];var oi=[BCb,CCb,DCb,ECb];var pi=[FCb,PF,QF,CO,wP,LQ,sQ,vQ,BQ,EQ,M_,U_,n$,p$,G$,I$,K$,M$,O$,k0,s0,n1,p1,H1,J1,L1,N1,P1,GCb,HCb,FCb,FCb];var qi=[ICb,y3,z3,OWa,y_a,AAb,vAb,SAb,wQa,zXa,JCb,KCb,LCb,MCb,ICb,ICb];var ri=[NCb,WWa,y8a,NCb];var si=[OCb,wrb,YA,IF,SF,VF,XI,ZI,cJ,dJ,gJ,hJ,pJ,qJ,vO,wO,iQ,OQ,qR,uR,CR,ER,SR,YT,$T,aU,fU,gU,uU,vU,zU,BU,CU,NU,OU,TU,UU,iV,jV,nV,pV,qV,zV,AV,FV,GV,WV,XV,aW,bW,fW,gW,lW,mW,qW,rW,wW,xW,E_,G_,I_,K_,O_,P_,Q_,R_,S_,T_,$_,u$,v$,w$,x$,y$,z$,C$,E$,c0,e0,g0,i0,m0,n0,o0,p0,q0,r0,z0,u1,w1,x1,y1,z1,A1,D1,F1,Z2,_2,l4,m3,n3,p3,D3,G3,o4,b4,P6,p9,fba,Gda,Kda,Mda,Oda,Qda,pha,Qha,qia,yia,Yia,ija,jja,Xja,bka,tqa,uqa,ora,pra,ura,vra,zra,Ara,Fra,Gra,Ora,Pra,Ura,Vra,Dva,PQa,QQa,RQa,SQa,bRa,uRa,zRa,EVa,FVa,GVa,KWa,D0a,E0a,F0a,G0a,H0a,I0a,K0a,L0a,M0a,N0a,m1a,n1a,o1a,p1a,R1a,c2a,m2a,A3a,n4a,dqb,kqb,qqb,xqb,Krb,gwb,hwb,iwb,jwb,lwb,mwb,rwb,swb,twb,uwb,wwb,xwb,Cwb,Dwb,Ewb,Fwb,Hwb,Iwb,Nwb,Owb,Pwb,Qwb,Swb,Twb,Axb,Sxb,Iyb,Jyb,Kyb,Pyb,Qyb,Ryb,era,PT,TT,HT,LT,Yqa,ara,JCa,fEa,REa,VEa,bGa,dGa,gJa,pRa,ETa,$Ua,aVa,cVa,HXa,PCb,Z2a,a3a,s8a,A8a,Bcb,Pcb,adb,jeb,mfb,nfb,ofb,vfb,Ifb,Kfb,pgb,sib,Flb,QCb,RCb,SCb,TCb,UCb,VCb,WCb,XCb,YCb,ZCb,_Cb,$Cb,aDb,bDb,cDb,dDb,eDb,fDb,gDb,hDb,iDb,jDb,kDb,lDb,mDb,nDb,oDb,pDb,qDb,rDb,sDb,tDb,uDb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb,OCb];var ti=[vDb,CE,GE,dha,hha,sha,qva,wva,WXa,Tsb,Zsb,etb,htb,ktb,ntb,qtb,ttb,ytb,Btb,Etb,Itb,Ktb,Otb,Qtb,Stb,Utb,Wtb,Ytb,aub,cub,eub,nub,pub,Cub,Eub,Mub,Oub,Pub,Rub,Tub,rvb,tvb,uvb,wvb,yvb,pxb,vxb,$p,vDb,vDb,vDb,vDb,vDb,vDb,vDb,vDb,vDb,vDb,vDb,vDb,vDb,vDb,vDb,vDb];var ui=[wDb,M6,cba,Lba,Dda,Xea,yfa,Rfa];var vi=[xDb,Arb,Brb,Xj,Erb,st,mu,nv,uv,Cx,KD,dE,pE,yk,hl,El,Pn,fo,ro,ko,vo,xo,jp,hk,ik,jk,kk,lk,nk,qk,rk,tk,uk,vk,xk,Nk,wF,AF,Hk,Ik,Jk,Kk,Lk,Mk,Pk,Rk,Sk,Tk,Uk,Vk,Wk,Yk,Zk,_k,$k,bl,cl,Xk,dl,el,fl,gl,hG,il,jl,kl,ll,ml,ol,nl,pl,ql,rl,sl,tl,ul,vl,wl,xl,yl,zl,Al,Bl,Dl,Cl,Dn,yL,UK,jM,Lm,gL,Il,JL,aL,IM,cN,GL,$l,ym,fm,uM,pM,Rm,en,Bm,UM,Gl,Hl,Kl,Ll,Ml,Nl,Ol,Pl,Ql,Rl,Sl,Tl,Ul,Vl,Wl,Xl,Yl,Zl,_l,bm,cm,dm,em,hm,im,jm,km,lm,mm,nm,om,pm,qm,rm,sm,tm,um,vm,wm,xm,Am,Cm,Em,Fm,Gm,Hm,Im,Jm,Nm,Om,Pm,Qm,Tm,Um,Vm,Wm,Xm,Ym,Zm,_m,$m,an,bn,cn,dn,hn,jn,kn,ln,mn,nn,on,pn,qn,rn,sn,tn,un,vn,wn,xn,yn,zn,An,Bn,Cn,Nn,On,Yn,qO,Rn,Sn,Tn,Un,Vn,Wn,Xn,Zn,_n,$n,ao,bo,co,eo,go,io,jo,rP,lP,lo,mo,no,oo,po,qo,so,to,uo,wo,Ho,zo,Ao,Bo,Co,Do,Eo,Fo,Go,Io,Jo,Ko,Lo,Mo,No,Oo,Po,Qo,Ro,So,To,Uo,Vo,Wo,Xo,Yo,Zo,_o,$o,ap,bp,cp,dp,ep,fp,gp,ip,lp,op,pp,qp,sp,tp,vp,wp,xp,yp,zp,Ap,Bp,Cp,Dp,Ep,Fp,Gp,Hp,Ip,Jp,Kp,Lp,Mp,Np,Op,Pp,Qp,Rp,Sp,Up,Vp,Or,Qr,Sr,Vr,Wr,cs,Ws,Xs,Ys,$s,at,bt,ct,dt,et,ft,gt,ht,it,jt,kt,lt,mt,nt,ot,pt,qt,rt,du,vt,wt,xt,yt,zt,At,Bt,Ct,Dt,Et,Ft,Gt,Ht,It,Jt,Kt,Lt,Mt,Nt,Ot,Pt,Qt,Rt,St,Tt,Ut,Vt,Wt,Xt,Yt,Zt,_t,$t,au,bu,cu,gu,eu,hu,iu,ju,ku,pu,qu,yu,zu,Au,Bu,Cu,Du,Eu,Fu,Gu,Hu,Iu,Mu,Nu,Ou,Pu,Qu,Ru,Su,Tu,Uu,Vu,Wu,Xu,Yu,Zu,_u,av,bv,cv,dv,ev,fv,gv,hv,Lu,iv,jv,L4,q4,P4,ov,pv,qv,sv,tv,Fv,Qv,wv,xv,yv,zv,Av,Bv,Cv,Dv,Ev,Iv,Jv,Kv,Lv,Mv,Nv,Ov,Pv,Rv,Sv,Tv,Xv,iw,lw,mw,nw,pw,qw,rw,sw,tw,vw,ww,xw,yw,zw,Aw,Bw,Dw,Ew,Fw,Gw,Hw,Iw,Jw,Kw,Lw,Mw,Nw,Ow,Pw,Qw,Rw,Sw,Tw,Uw,Vw,Ww,Xw,Zw,$w,ax,bx,cx,dx,ex,fx,gx,ix,jx,kx,mx,nx,Yv,Zv,_v,$v,aw,bw,cw,dw,ew,fw,gw,hw,ox,px,qx,rx,sx,tx,ux,vx,wx,xx,yx,zx,Ax,Bx,Dx,kD,Bga,Kx,aD,Qz,pz,mga,Bz,fy,cA,mA,Ex,Fx,Gx,Hx,Ix,Jx,Nx,Ox,Px,Qx,Rx,Sx,Tx,Ux,Vx,Wx,Xx,Yx,_x,$x,ay,by,cy,dy,ey,hy,iy,jy,ky,ly,my,ny,oy,py,qy,ry,sy,ty,uy,vy,wy,xy,yy,zy,Ay,By,Cy,Dy,Ey,Fy,Gy,Hy,Iy,Jy,Ky,Ly,My,Ny,Oy,Py,Qy,Ry,Sy,Ty,Uy,Vy,Wy,Zy,_y,$y,cz,Xy,Yy,dz,ez,fz,gz,hz,iz,jz,kz,lz,mz,nz,oz,sz,tz,uz,wz,xz,yz,zz,Az,Dz,Fz,Gz,Hz,Iz,Jz,Kz,Lz,Mz,Nz,Oz,Pz,Uz,Vz,Wz,Xz,Yz,Zz,_z,$z,aA,bA,eA,fA,gA,hA,iA,jA,kA,lA,KC,LC,MC,NC,OC,_C,$C,bD,dD,eD,fD,gD,hD,iD,nD,oD,BD,CD,DD,ED,FD,HD,ID,JD,VD,GD,MD,ND,OD,PD,QD,SD,TD,RD,UD,YD,_D,$D,aE,bE,cE,Tja,eE,fE,mE,nE,oE,gE,iE,kE,lE,sE,tE,NE,OE,iF,jF,kF,lF,mF,nF,oF,pF,qF,rF,sF,tF,uF,vF,zF,EF,FF,KF,LF,UF,WF,YF,gG,AG,BG,QJ,RJ,SJ,TJ,UJ,VJ,WJ,XJ,YJ,ZJ,_J,$J,aK,bK,cK,dK,eK,fK,gK,hK,iK,jK,kK,lK,mK,nK,oK,pK,qK,rK,sK,tK,uK,vK,wK,xK,yK,zK,AK,BK,CK,DK,EK,FK,GK,HK,IK,JK,KK,LK,MK,NK,OK,PK,QK,RK,SK,TK,WK,XK,YK,ZK,_K,$K,cL,dL,eL,fL,iL,jL,kL,lL,mL,nL,oL,pL,qL,rL,sL,tL,uL,vL,wL,xL,AL,BL,CL,DL,EL,FL,IL,KL,LL,ML,NL,OL,PL,QL,RL,TL,UL,SL,VL,WL,XL,YL,ZL,_L,$L,aM,bM,cM,dM,eM,fM,gM,hM,iM,lM,mM,nM,oM,rM,sM,tM,vM,xM,yM,zM,AM,BM,CM,DM,EM,FM,KM,LM,MM,NM,OM,PM,QM,RM,SM,TM,WM,XM,YM,ZM,_M,$M,aN,bN,jN,kN,pN,vN,koa,loa,xN,yN,moa,zN,AN,BN,JN,LN,NN,ON,PN,QN,RN,ZN,_N,$N,aO,bO,cO,mO,nO,oO,pO,sO,tO,uO,JO,KO,MO,dP,eP,fP,gP,hP,iP,jP,kP,nP,oP,pP,qP,uP,vP,BP,IP,JP,KP,QP,RP,bQ,cQ,dQ,eQ,fQ,gQ,hQ,PQ,xQ,FQ,NQ,XQ,YQ,iR,pR,rR,tR,vR,zR,AR,BR,DR,FR,OR,kS,vS,CS,KS,gX,hX,Ata,Xta,fY,Kta,dua,KX,jY,CX,jX,lX,oX,qX,uX,vX,xX,zX,DX,LX,Cta,MX,NX,OX,PX,QX,RX,SX,TX,UX,VX,WX,XX,YX,ZX,_X,$X,aY,gY,hY,kY,lY,mY,nY,oY,pY,rY,sY,tY,uY,vY,wY,xY,yY,zY,OZ,TZ,VZ,WZ,XZ,YZ,noa,w_,x_,A_,B_,X_,Z_,__,d$,e$,j$,k$,l$,m$,D$,F$,Q$,i2,X$,_$,$$,v0,x0,y0,b1,d1,i1,j1,k1,l1,E1,G1,R1,t2,u2,B2,X2,Y2,$2,a3,m4,d3,f3,l3,o3,E3,F3,M3,N3,O3,R3,S3,T3,X3,Y3,r4,u4,v4,w4,x4,y4,z4,A4,B4,C4,D4,F4,G4,H4,I4,J4,N4,O4,S4,T4,z6,A6,B6,C6,Z4,$4,g5,i5,I5,J5,P5,R5,T5,Z5,_5,$5,a6,s6,u6,R6,S6,X6,q7,A7,B8,oA,a9,q9,hba,iba,pba,Eda,dea,qea,Tfa,Xfa,iga,jga,kga,lga,oga,pga,qga,rga,sga,tga,uga,vga,wga,xga,yga,zga,Lga,Mga,Tha,Uha,kia,lia,mia,nia,oia,uia,xia,zia,Aia,Bia,Fia,Sia,Tia,aja,Bja,Cja,Dja,Eja,Fja,Gja,Hja,Ija,Jja,Kja,Lja,Mja,Nja,Oja,Qja,Rja,Sja,ZD,Vja,Wja,Yja,dka,eka,Jka,Kka,Lka,roa,toa,voa,woa,xoa,yoa,Yta,aua,eua,hua,iua,ava,bva,cva,fva,gva,hva,lva,mva,Hva,Kva,Jwa,Swa,Qya,dza,fza,cCa,dCa,fCa,gCa,_Ca,$Ca,bDa,SCa,sIa,tIa,uIa,vIa,wIa,xIa,zIa,AIa,BIa,DIa,EIa,FIa,GIa,HIa,IIa,JIa,KIa,LIa,MIa,NIa,OIa,PIa,QIa,RIa,WIa,XIa,ZIa,_Ia,$Ia,bJa,dJa,eJa,fJa,iJa,jJa,kJa,lJa,mJa,nJa,oJa,pJa,qJa,rJa,sJa,uJa,vJa,wJa,zJa,CJa,DJa,EJa,GJa,HJa,JJa,KJa,MJa,NJa,OJa,PJa,QJa,RJa,SJa,TJa,XJa,YJa,ZJa,_Ja,$Ja,aKa,bKa,cKa,dKa,eKa,fKa,gKa,hKa,iKa,jKa,kKa,lKa,mKa,nKa,oKa,pKa,qKa,rKa,sKa,tKa,uKa,vKa,wKa,yKa,zKa,AKa,BKa,CKa,DKa,EKa,FKa,GKa,HKa,IKa,KKa,LKa,MKa,NKa,OKa,PKa,QKa,RKa,SKa,WKa,XKa,YKa,_Ka,eLa,fLa,gLa,iLa,jLa,kLa,lLa,mLa,nLa,oLa,pLa,sLa,uLa,ALa,BLa,kUa,TUa,WUa,oUa,pUa,NUa,PUa,QUa,RUa,uVa,IVa,KVa,xVa,pWa,CWa,TWa,bXa,wXa,tXa,uXa,vXa,UXa,_Xa,$Xa,wYa,TZa,N_a,V_a,o$a,r$a,j0a,S0a,U0a,m0a,r0a,b1a,r1a,t1a,g1a,j1a,s2a,M3a,M7a,N7a,O7a,P7a,meb,Ofb,Xfb,rgb,Bgb,Klb,eqb,gqb,lqb,Drb,Orb,Prb,rqb,tqb,yqb,Rrb,Srb,Lub,hvb,ivb,jvb,kvb,lvb,mvb,nvb,qvb,Ovb,Pvb,Qvb,Rvb,Svb,Tvb,Uvb,ewb,fwb,kwb,pwb,qwb,vwb,Awb,Bwb,Gwb,Lwb,Mwb,Rwb,Mxb,Nxb,Qxb,dyb,eyb,gyb,Gyb,Hyb,Nyb,Oyb,Wxb,Xxb,Zxb,myb,nyb,qyb,GAb,KAb,OAb,Oj,Pj,Qj,Rj,kp,Nr,Tp,eX,iX,Fr,Gr,Hr,Ir,Jr,Kr,Lr,Mr,Xr,ts,ys,zs,As,Bs,fu,E4,mv,rN,uN,Nca,Zta,_ta,bua,Iva,jwa,kwa,lwa,oBa,qBa,rBa,wHa,rIa,qLa,JKa,tJa,xKa,VKa,WJa,cJa,SIa,TIa,UIa,VIa,aJa,IJa,UJa,VJa,xJa,hLa,rLa,vLa,wLa,yLa,zLa,fQa,gQa,hQa,iQa,j$a,k$a,l$a,z$a,A$a,B$a,l8a,C8a,D8a,cdb,ddb,edb,qeb,Hfb,yeb,Beb,Ceb,yDb,zDb,ADb,BDb,CDb,Yfb,ggb,kgb,xgb,Ngb,Aib,Bib,DDb,EDb,FDb,GDb,HDb,IDb,JDb,KDb,LDb,MDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb,xDb];var wi=[NDb,Ck];var xi=[ODb,ydb,zdb,Adb,Bdb,Cdb,Ddb,Edb];var yi=[PDb,LR,NR,PDb];var zi=[QDb,Lda,Pda,QDb];var Ai=[RDb,cka];var Bi=[SDb,A$,B1,TDb,UDb,SDb,SDb,SDb];var Ci=[VDb,DE,HE,PR,mS,xS,ES,MS,U5,Pga,QSa,SSa,TSa,VSa,WSa,XSa,YSa,ZSa,_Sa,VTa,HUa,rVa,DVa,SVa,jWa,gWa,FWa,MWa,NWa,GZa,JZa,QZa,SZa,h$a,f0a,A0a,$0a,t0a,l1a,A1a,p2a,k4a,o4a,r4a,t4a,v4a,Jsb,Osb,hub,iub,oub,vub,yub,zub,Dub,Iub,Lxb,Oxb,cyb,fyb,Dyb,dzb,Vxb,Yxb,lyb,oyb,bq,dra,OT,ST,GT,KT,Xqa,$qa,NY,PY,mha,oha,Gha,Kha,Lha,Mha,Nha,LLa,MLa,NLa,OLa,WTa,ZTa,$Ta,p_a,o_a,n_a,x8a,z8a,O8a,Q7a,R7a,T7a,S7a,I7a,J7a,K7a,_cb,$cb,geb,tfb,WDb,agb,Fhb,VDb,VDb,VDb,VDb,VDb,VDb,VDb,VDb,VDb,VDb,VDb,VDb,VDb,VDb,VDb,VDb,VDb,VDb];var Di=[XDb,r$,r1,S1];var Ei=[YDb,ZDb];var Fi=[_Db,RF,$Db,aEb];var Gi=[bEb,xrb,Crb,Grb,aJ,mJ,lN,EN,FN,xO,LO,LP,fR,hR,lS,wS,DS,LS,wT,b3,k3,$3,U3,G5,K5,V5,W5,i9,Oga,Xga,Joa,iva,Lwa,Pwa,cya,Wya,aza,Xya,gza,lza,SBa,TBa,UBa,VBa,eCa,DCa,OCa,PCa,QCa,aDa,TTa,UTa,EUa,FUa,GUa,CVa,QVa,RVa,iWa,uWa,GWa,SWa,UWa,YWa,dYa,AYa,wZa,yZa,zZa,a_a,VZa,r_a,t_a,w_a,x_a,YZa,ZZa,B_a,J_a,S_a,Y_a,d$a,e$a,f$a,g$a,w0a,x0a,z0a,K1a,U1a,f2a,o2a,v2a,w2a,Nlb,Qlb,Rlb,Tlb,umb,mqb,Lrb,Qrb,Urb,zqb,Lsb,Qsb,yxb,Dxb,xyb,zyb,Cyb,Uyb,Zyb,$yb,czb,rAb,QZ,RZ,Zxa,Rya,Sya,Tya,Uya,Vya,Xza,vCa,ICa,rHa,tHa,CIa,kWa,lWa,mWa,nWa,xXa,BSa,T$a,U$a,V$a,W$a,X$a,Y$a,Z$a,_$a,J$a,K$a,L$a,M$a,Z0a,Y2a,$2a,c3a,t8a,E8a,J8a,K8a,Qcb,gdb,pdb,Gdb,Geb,Efb,xeb,Seb,Ueb,Xeb,Yeb,_eb,afb,ffb,gfb,jfb,kfb,lfb,sfb,cEb,_fb,Mib,Nib,Elb,job,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb,bEb];var Hi=[dEb,wj,Aj,Hj,Ij,Sj,_j,$j,ak,bk,ck,Tj,Uj,ksb,lsb,msb,nsb,osb,psb,Wrb,Xrb,Yrb,Zrb,csb,dsb,esb,fsb,as,bs,nu,ou,WA,XA,BC,CC,IC,JC,lD,mD,WD,XD,qE,rE,AE,BE,FE,LE,ME,Kj,aF,BF,DF,JF,iG,jG,zG,fH,gH,kH,lH,EH,FH,LH,MH,dI,eI,hI,iI,rI,sI,yI,zI,OI,PI,RI,SI,UI,WI,eJ,fJ,kJ,lJ,nJ,oJ,hN,iN,nN,oN,HN,IN,XN,YN,rO,AO,IO,OO,PO,sP,tP,zP,yP,GP,HP,OP,PP,VP,WP,XP,_P,$P,aQ,JQ,KQ,pQ,qQ,tQ,uQ,yQ,zQ,CQ,DQ,GQ,HQ,IQ,VQ,WQ,eR,wR,xR,yR,gS,hS,sS,tS,AS,IS,uT,vT,BT,CT,FT,JT,NT,RT,XT,ZT,_T,dU,eU,yU,AU,RU,SU,mV,oV,DV,EV,_V,$V,jW,kW,uW,vW,MZ,NZ,f_,g_,k_,l_,u_,v_,C_,F_,H_,J_,L_,W_,b$,c$,f$,g$,h$,i$,S$,T$,U$,V$,W$,a0,d0,f0,h0,j0,u0,Z0,_0,$0,a1,e1,f1,g1,h1,v1,Z1,g2,h2,q2,s2,v2,w2,H2,I2,J2,K2,L2,V2,W2,J3,K3,j4,k4,Q4,R4,X4,Y4,e5,f5,H5,EAb,O5,Q5,S5,X5,Y5,p6,r6,J6,L6,U6,V6,W6,Y6,n7,p7,o7,y7,z7,B7,i8,j8,k8,l8,z8,A8,D8,Z8,$8,o9,aba,bba,mba,nba,oba,qba,Jba,Kba,Bda,Cda,Ida,Jda,Nda,Tda,Vda,Zda,cea,nea,oea,pea,rea,Vea,Wea,vfa,xfa,Pfa,Qfa,Ufa,Vfa,Wfa,Yfa,_fa,Cga,Ega,Jga,Kga,Vga,Wga,bha,fha,xva,iha,qha,uha,Rha,Sha,gia,hia,jia,Pia,Ria,Uja,pka,qka,Hka,Ika,Pka,Qka,Yla,Zla,fma,gma,mma,nma,Gma,Hma,Pma,Qma,Tma,Uma,xna,yna,Ena,Fna,Lna,Mna,Zna,_na,ioa,joa,poa,qoa,Boa,Coa,Doa,Eoa,Foa,Goa,Hoa,Ioa,Ooa,Roa,Soa,Toa,kpa,lpa,mpa,opa,ppa,qpa,rqa,sqa,Wqa,_qa,cra,sra,tra,Dra,Era,Sra,Tra,Nsa,Qsa,Zua,_ua,ova,rva,sva,uva,yva,Fva,Gva,Jva,Kwa,Twa,Yya,eza,kza,$Ba,XCa,sRa,wRa,cUa,eUa,lUa,SUa,VUa,XUa,uUa,zUa,vVa,HVa,JVa,LVa,VVa,XVa,cWa,oWa,qWa,vWa,xWa,zWa,AWa,BWa,PWa,VWa,XWa,_Wa,fXa,kXa,pXa,SXa,vYa,sZa,OZa,g_a,q_a,v_a,M_a,W_a,n$a,p$a,k0a,R0a,T0a,V0a,c1a,q1a,s1a,u1a,F1a,t2a,r3a,s3a,E3a,F3a,L3a,i4a,j4a,X8a,Y8a,Z8a,_8a,$8a,a9a,b9a,c9a,g9a,h9a,i9a,j9a,k9a,l9a,m9a,n9a,G9a,H9a,J9a,K9a,L9a,M9a,N9a,eab,fab,gab,hab,iab,jab,kab,lab,mab,nab,oab,pab,qab,rab,sab,tab,uab,vab,wab,xab,yab,zab,Aab,Bab,Cab,Dab,Eab,Fab,Gab,Hab,Iab,Jab,Kab,Lab,Mab,Nab,Oab,Pab,Qab,Rab,Sab,Tab,Uab,Vab,Wab,Xab,Yab,Zab,_ab,$ab,abb,bbb,cbb,dbb,ebb,fbb,gbb,hbb,ibb,jbb,kbb,lbb,mbb,nbb,obb,pbb,qbb,rbb,sbb,tbb,ubb,vbb,wbb,xbb,ybb,zbb,Abb,Bbb,Cbb,Dbb,Ebb,Fbb,Gbb,Hbb,Ibb,Jbb,Kbb,Lbb,Mbb,Nbb,Obb,Pbb,Qbb,Rbb,Sbb,Tbb,Ubb,Vbb,Wbb,Xbb,Ybb,Zbb,_bb,$bb,acb,bcb,ccb,dcb,ecb,fcb,gcb,hcb,icb,jcb,kcb,lcb,mcb,ncb,ocb,pcb,qcb,rcb,scb,tcb,ucb,vcb,urb,cqb,jqb,Irb,pqb,wqb,rrb,srb,vrb,Jrb,_rb,$rb,asb,bsb,gsb,hsb,isb,jsb,Gsb,Hsb,Isb,Msb,Nsb,Rsb,Ssb,Gtb,Htb,fub,gub,wub,xub,Jub,Kub,ovb,pvb,Vvb,Xvb,_vb,$vb,cwb,dwb,nwb,owb,ywb,zwb,Jwb,Kwb,Uwb,Vwb,cxb,dxb,kxb,lxb,qxb,rxb,wxb,xxb,Bxb,Cxb,Fxb,Gxb,Rxb,_xb,$xb,ryb,tyb,uyb,vyb,Eyb,Fyb,Lyb,Myb,Syb,Tyb,ezb,fzb,gzb,lAb,yAb,pAb,qAb,nAb,DAb,FAb,HAb,JAb,LAb,MAb,NAb,PAb,vj,_p,SZ,$xa,Yza,YRa,ATa,_Ua,AXa,BXa,NXa,iYa,uYa,nYa,qYa,IZa,m$a,r2a,h3a,o3a,zcb,$7a,wcb,ycb,d9a,e9a,o9a,p9a,r9a,s9a,t9a,u9a,x9a,y9a,z9a,A9a,B9a,C9a,D9a,E9a,P9a,Q9a,T9a,U9a,S9a,V9a,W9a,X9a,Y9a,Z9a,_9a,R9a,heb,keb,Eeb,Heb,zfb,Nfb,zeb,Vfb,Tfb,Zfb,$fb,qgb,ugb,vgb,ygb,Hgb,xib,yib,zib,Cib,Dib,Eib,Fib,Gib,eEb,fEb,gEb,hEb,iEb,jEb,kEb,lEb,mEb,nEb,oEb,pEb,qEb,rEb,sEb,tEb,uEb,vEb,wEb,xEb,yEb,zEb,AEb,BEb,CEb,DEb,Olb,Slb,Wsb,Xsb,Xwb,Wpb,jAb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb,dEb];var Ii=[EEb,Vj,QBa,xCa,yrb,Mrb,zxb,Exb,zAb,tAb,QAb,_ra,esa,ksa,qsa,wsa,Csa,$ra,fsa,lsa,rsa,xsa,Dsa,asa,gsa,msa,ssa,ysa,Esa,bsa,hsa,nsa,tsa,zsa,Fsa,csa,isa,osa,usa,Asa,Gsa,dsa,jsa,psa,vsa,Bsa,Hsa,Fha,WQa,XQa,YQa,gYa,hYa,sYa,tYa,FEb,GEb,EEb,EEb,EEb,EEb,EEb,EEb,EEb];var Ji=[HEb,TI];var Ki=[IEb,Ak];var Li=[JEb,oS,zS,GS,OS,bU,wU,PU,kV,BV,YV,hW,sW,qra,Bra,Qra,KEb,JEb,JEb,JEb,JEb,JEb,JEb,JEb,JEb,JEb,JEb,JEb,JEb,JEb,JEb,JEb];var Mi=[LEb,Ok,MF,NF,CN,SN,dO,AP,CP,DP,MQ,rQ,wQ,AQ,JR,ZZ,N_,V_,o$,q$,H$,J$,L$,N$,P$,l0,t0,o1,q1,I1,K1,M1,O1,Q1,zoa,ROa,SOa,TOa,LEb,LEb,LEb,LEb,LEb,LEb,LEb,LEb,LEb,LEb,LEb,LEb,LEb,LEb,LEb,LEb,LEb,LEb,LEb,LEb,LEb,LEb,LEb,LEb,LEb,LEb];var Ni=[MEb,NEb];var Oi=[OEb,zk,Dk,Ek];var Pi=[PEb,QEb,REb,SEb];var Qi=[TEb,UEb,VEb,TEb];var Ri=[WEb,wN,MN,UZ,uoa,WEb,WEb,WEb];var Si=[XEb,Bk];var Ti=[YEb,k9,rdb,tdb,udb,ZEb,_Eb,$Eb];var Ui=[aFb,Dia];var Vi=[bFb,cib,dib,eib,fib,gib,hib,iib,jib,kib,lib,mib,nib,cFb,dFb,eFb];var Wi=[fFb];var Xi=[gFb,Yj,Zj,EE,IE,HF,TF,XF,QI,GN,BO,NO,SP,gR,jR,sR,QR,iS,uS,BS,JS,hU,DU,VU,rV,HV,cW,nW,yW,vua,rua,uua,zua,wua,xua,Aua,yua,Bua,Dua,y_,z_,D_,Y_,Y$,Z$,b0,w0,e3,h3,i3,r3,s3,t3,u3,v3,w3,B3,C3,n4,L3,W3,U4,_4,D6,a5,E6,h5,j5,t6,v6,Q6,gba,Nga,Qga,Rga,cha,gha,jha,kha,rha,vha,Bha,iia,ria,sia,tia,wia,Uia,Zia,_ia,$ia,Zja,_ja,$ja,aka,wra,Hra,Wra,$ua,kva,pva,vva,zva,Ava,Mwa,Nwa,Owa,Qwa,Rwa,dya,eya,fya,gya,hya,iya,jya,kya,lya,mya,nya,oya,pya,qya,rya,sya,tya,uya,vya,wya,xya,yya,zya,Aya,Bya,Cya,Dya,Eya,Fya,Gya,Hya,Iya,Zya,_ya,$ya,bza,cza,hza,iza,jza,OBa,PBa,RBa,XBa,YBa,ZBa,_Ba,hCa,kCa,BCa,TCa,UCa,VCa,WCa,rRa,tRa,vRa,xRa,ARa,STa,iUa,jUa,dUa,fUa,gUa,mUa,sVa,tVa,nUa,rUa,sUa,tUa,vUa,wUa,xUa,AUa,BUa,DUa,wVa,OVa,yVa,zVa,BVa,PVa,$Va,aWa,WVa,YVa,ZVa,bWa,dWa,eWa,fWa,DWa,QWa,eXa,gXa,hXa,iXa,jXa,lXa,mXa,nXa,qXa,rXa,aYa,YXa,ZXa,bYa,eYa,BYa,CYa,DYa,EYa,FYa,GYa,HYa,IYa,JYa,KYa,LYa,QYa,RYa,SYa,TYa,UYa,VYa,WYa,XYa,YYa,ZYa,_Ya,$Ya,aZa,bZa,cZa,dZa,eZa,hZa,iZa,jZa,kZa,lZa,oZa,pZa,qZa,rZa,tZa,uZa,xZa,DZa,EZa,PZa,$Za,b_a,c_a,d_a,e_a,f_a,h_a,i_a,j_a,k_a,s_a,u_a,RZa,XZa,_Za,z_a,C_a,F_a,G_a,X_a,g0a,i0a,Z_a,l0a,Y0a,a1a,o0a,p0a,q0a,s0a,v0a,y0a,d1a,w1a,x1a,f1a,h1a,i1a,k1a,y1a,H1a,I1a,z1a,C1a,D1a,E1a,J1a,M1a,T1a,$1a,e2a,k2a,n2a,u2a,p3a,q3a,t3a,B3a,D3a,G3a,K3a,x4a,g4a,h4a,j6a,Ecb,glb,ilb,klb,hqb,Hrb,Frb,nqb,uqb,Vrb,Trb,Aqb,wyb,yyb,Ayb,Yyb,_yb,azb,VY,r2,Cqa,Ssa,Jya,Kya,Wza,OSa,CTa,aUa,yUa,NVa,dXa,oXa,CXa,XXa,HZa,MZa,LZa,C$a,D$a,P0a,_0a,C3a,f4a,L4a,v8a,B8a,Dcb,E6a,s7a,u7a,v7a,Scb,Xcb,Ycb,Zcb,bdb,Ieb,wfb,xfb,Bfb,Gfb,hFb,iFb,jFb,kFb,ihb,Khb,lFb,mFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb,gFb];var Yi=[nFb,b5,k5,F6];var Zi=[oFb,O6,eba,oFb];var _i=[pFb,s$,t$,s1,t1,W1,X1,pia,via,Xxa,pFb,pFb,pFb,pFb,pFb,pFb];var $i=[qFb,OF,_I,$I,iJ,jJ,kR,GR,HR,IR,q3,A3,b9,lha,Cha,Gia,vqa,wqa,Bva,lMa,mMa,nMa,oMa,pMa,qMa,rMa,sMa,tMa,uMa,vMa,wMa,xMa,yMa,zMa,AMa,BMa,CMa,DMa,EMa,FMa,GMa,HMa,IMa,JMa,KMa,LMa,MMa,NMa,OMa,PMa,QMa,RMa,SMa,TMa,UMa,VMa,WMa,XMa,YMa,ZMa,_Ma,$Ma,aNa,bNa,cNa,dNa,eNa,fNa,gNa,hNa,iNa,jNa,kNa,lNa,mNa,nNa,oNa,pNa,qNa,rNa,sNa,tNa,uNa,vNa,wNa,xNa,yNa,zNa,ANa,BNa,CNa,yRa,sXa,cYa,zYa,A_a,R_a,J3a,Eha,AAa,wCa,qQa,sQa,bSa,aSa,EXa,GXa,RXa,fYa,rYa,E$a,F$a,G$a,H$a,Aeb,rFb,sFb,tFb,uFb,vFb,wFb,xFb,yFb,zFb,AFb,BFb,CFb,DFb,EFb,FFb,GFb,HFb,IFb,JFb,KFb,LFb,MFb,NFb,OFb,PFb,QFb,RFb,SFb,TFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb,qFb];var aj=[UFb,KR,MR,cU,xU,QU,lV,CV,ZV,iW,tW,rra,Cra,Rra,UFb,UFb];var bj=[VFb,N8a,Vdb,VFb];var cj=[WFb,GF,ZQ,g3,j3,x3,P3,Q3,a4,V3,V4,L5,bja,dva,eva,jva,Gxa,Hxa,Ixa,Jxa,Kxa,Lxa,Mxa,Nxa,Oxa,Pxa,Qxa,Rxa,Sxa,Txa,Uxa,Vxa,aCa,bCa,YCa,ZCa,hUa,YUa,qVa,qUa,CUa,MVa,AVa,_Va,rWa,tWa,hWa,wWa,HWa,ZWa,xYa,yYa,vZa,FZa,UZa,K_a,O_a,Q_a,T_a,U_a,s$a,e0a,W0a,X0a,n0a,u0a,v1a,e1a,G1a,y3a,I3a,Byb,Vyb,Wyb,Xyb,bzb,sN,tN,Fxa,yGa,HFa,vHa,ZKa,zTa,DTa,IXa,qSa,i$a,i3a,l3a,l4a,s4a,L8a,Ccb,F7a,U7a,V8a,Pdb,ufb,XFb,YFb,ZFb,_Fb,Pfb,dgb,hgb,igb,jgb,sgb,Cgb,Whb,wib,WFb,WFb,WFb,WFb,WFb,WFb,WFb,WFb,WFb,WFb,WFb,WFb,WFb,WFb,WFb,WFb];var dj=[$Fb,leb,Wfb,aGb,bGb,cGb,$Fb,$Fb];var ej=[dGb,eGb,fGb,gGb];var fj=[hGb,iGb,jGb,kGb];var gj=[lGb,mGb,gAb,rr,yQa,zgb,vib,Hib,nGb,oGb,pGb,qGb,iAb,lGb,lGb,lGb];var hj=[rGb,p4a,u4a,Wub,Bvb,Hxb,Jxb,ayb,byb,Txb,Uxb,hyb,jyb,jdb,kdb,ldb,mdb,ndb,odb,rGb,rGb,rGb,rGb,rGb,rGb,rGb,rGb,rGb,rGb,rGb,rGb,rGb];var ij=[sGb,Rda,Uda,Wda];var jj=[tGb,qub,uub,Fub,Hub,tGb,tGb,tGb];var kj=[uGb,Wj,dR,mR,nR,oR,nS,yS,FS,NS,ET,IT,MT,QT,B$,C1,nha,Pha,gja,Vqa,Zqa,bra,Cva,ewa,fwa,hwa,_Qa,$Qa,aRa,yWa,LWa,RWa,zrb,Nrb,Ksb,Psb,BAb,wAb,UAb,uQa,OXa,PXa,IRa,D_a,N$a,O$a,P$a,Q$a,R$a,S$a,r6a,rfb,Mfb,Jib,vGb,wGb,xGb,yGb,zGb,AGb,BGb,CGb,DGb,EGb,FGb,GGb,HGb,IGb,JGb,KGb,LGb,MGb,NGb,OGb,PGb,QGb,RGb,SGb,TGb,UGb,VGb,uGb,uGb,uGb,uGb,uGb,uGb,uGb,uGb,uGb,uGb,uGb,uGb,uGb,uGb,uGb,uGb,uGb,uGb,uGb,uGb,uGb,uGb,uGb,uGb,uGb,uGb,uGb,uGb,uGb,uGb,uGb,uGb,uGb,uGb,uGb,uGb,uGb,uGb,uGb,uGb,uGb,uGb,uGb,uGb,uGb,uGb,uGb];return{_main:uj,_llvm_cttz_i32:iBb,_bitshift64Lshr:rBb,_bitshift64Shl:pBb,___cxa_is_pointer_type:dBb,_llvm_ctlz_i64:oBb,_bitshift64Ashr:sBb,_memset:hBb,_memcpy:mBb,_llvm_bswap_i32:gBb,_i64Subtract:qBb,_ntohs:Xob,_htonl:Iob,_realloc:Ypb,_i64Add:jBb,_saveSetjmp:kBb,_htons:Hob,_emscripten_GetProcAddress:Jlb,___errno_location:Mlb,_testSetjmp:lBb,___cxa_can_catch:cBb,_free:Wpb,_memmove:nBb,_strstr:pob,_malloc:Vpb,__GLOBAL__I_000101:$pb,__GLOBAL__sub_I_Shape_cpp:Kn,__GLOBAL__sub_I_types_cpp:Ps,__GLOBAL__sub_I_FileData_cpp:ru,__GLOBAL__sub_I_Graphics_cpp:pA,__GLOBAL__sub_I_ParticleSystem_cpp:_A,__GLOBAL__sub_I_Texture_cpp:PC,__GLOBAL__sub_I_CompressedImageData_cpp:pD,__GLOBAL__sub_I_Compressor_cpp:xE,__GLOBAL__sub_I_MathModule_cpp:PE,__GLOBAL__sub_I_Cursor_cpp:$F,__GLOBAL__sub_I_Joint_cpp:eN,__GLOBAL__sub_I_System_cpp:yO,__GLOBAL__sub_I_System_cpp_2273:DO,__GLOBAL__sub_I_Window_cpp:VR,__GLOBAL__sub_I_Memoizer_cpp:b_,__GLOBAL__sub_I_Audio_cpp:c2,__GLOBAL__sub_I_Source_cpp:j2,__GLOBAL__sub_I_Event_cpp:C2,__GLOBAL__sub_I_File_cpp:c4,__GLOBAL__sub_I_GlyphData_cpp:b6,__GLOBAL__sub_I_TrueTypeRasterizer_cpp:G6,__GLOBAL__sub_I_Canvas_cpp:Z6,__GLOBAL__sub_I_Font_cpp:C7,__GLOBAL__sub_I_Image_cpp:rba,__GLOBAL__sub_I_Mesh_cpp:Nba,__GLOBAL__sub_I_OpenGL_cpp:Kca,__GLOBAL__sub_I_Shader_cpp:sea,__GLOBAL__sub_I_Volatile_cpp:Fga,__GLOBAL__sub_I_ImageData_cpp:Vha,__GLOBAL__sub_I_Joystick_cpp:Hia,__GLOBAL__sub_I_Joystick_cpp_4336:lja,__GLOBAL__sub_I_Keyboard_cpp:fka,__GLOBAL__sub_I_Keyboard_cpp_4545:jka,__GLOBAL__sub_I_Cursor_cpp_4586:Mka,__GLOBAL__sub_I_Channel_cpp:Uoa,__GLOBAL__sub_I_fastmix_cpp:CLa,__GLOBAL__sub_I_Body_cpp:Fn,__GLOBAL__sub_I_iostream_cpp:Bqb,runPostSets:fBb,stackAlloc:lj,stackSave:mj,stackRestore:nj,establishStackSpace:oj,setThrew:pj,setTempRet0:sj,getTempRet0:tj,dynCall_iiiiiiii:ABb,dynCall_iiiiiid:BBb,dynCall_vd:CBb,dynCall_vid:DBb,dynCall_viiiii:EBb,dynCall_iiiiiiiiii:FBb,dynCall_vii:GBb,dynCall_iiiiiii:HBb,dynCall_viddddddddd:IBb,dynCall_ii:JBb,dynCall_ddddd:KBb,dynCall_viiiiiiiiiii:LBb,dynCall_viddii:MBb,dynCall_viidi:NBb,dynCall_viidddd:OBb,dynCall_viddd:PBb,dynCall_iiiiii:QBb,dynCall_vidi:RBb,dynCall_vdddddd:SBb,dynCall_vidd:TBb,dynCall_iiii:UBb,dynCall_vi:VBb,dynCall_viiiiii:WBb,dynCall_diiiid:XBb,dynCall_ddd:YBb,dynCall_viid:ZBb,dynCall_di:_Bb,dynCall_vdi:$Bb,dynCall_dd:aCb,dynCall_viiiiiiii:bCb,dynCall_vidddd:cCb,dynCall_iid:dCb,dynCall_dddd:eCb,dynCall_viiiiiii:fCb,dynCall_iiddd:gCb,dynCall_viiiiiiiii:hCb,dynCall_viiiiiiiiii:iCb,dynCall_iii:jCb,dynCall_diii:kCb,dynCall_viiddddddddd:lCb,dynCall_dii:mCb,dynCall_viii:nCb,dynCall_did:oCb,dynCall_iiiiidii:pCb,dynCall_iiiii:qCb,dynCall_i:rCb,dynCall_vdddd:sCb,dynCall_vdd:tCb,dynCall_v:uCb,dynCall_iiiiiiiii:vCb,dynCall_viiiiiiiid:wCb,dynCall_iiiiid:xCb,dynCall_viiii:yCb}}) +var xi=[NCb,y_a,kwb,owb,ixb,oxb,sxb,wxb,Wdb,Xdb,Ydb,Zdb,_db,$db,NCb,NCb];var yi=[OCb,Axb,Gxb,OCb];var zi=[PCb,QCb,RCb,SCb];var Ai=[TCb,$F,aG,OO,IP,XQ,EQ,HQ,NQ,QQ,Y_,e$,z$,B$,S$,U$,W$,Y$,_$,w0,E0,z1,B1,T1,V1,X1,Z1,$1,UCb,VCb,TCb,TCb];var Bi=[WCb,K3,L3,$Wa,L_a,OAb,JAb,eBb,JQa,MXa,XCb,YCb,ZCb,_Cb,WCb,WCb];var Ci=[$Cb,hXa,L8a,$Cb];var Di=[aDb,Krb,iB,UF,cG,fG,hJ,jJ,oJ,pJ,sJ,tJ,BJ,CJ,HO,IO,uQ,_Q,CR,GR,OR,QR,cS,iU,lU,mU,rU,sU,GU,HU,LU,NU,OU,ZU,_U,dV,eV,uV,vV,zV,BV,CV,LV,MV,RV,SV,gW,hW,mW,nW,rW,sW,xW,yW,CW,DW,IW,JW,Q_,S_,U_,W_,__,$_,a$,b$,c$,d$,l$,G$,H$,I$,J$,K$,L$,O$,Q$,o0,q0,s0,u0,y0,z0,A0,B0,C0,D0,L0,G1,I1,J1,K1,L1,M1,P1,R1,j3,k3,x4,y3,z3,B3,P3,S3,A4,n4,$6,B9,rba,Sda,Wda,Yda,_da,aea,Bha,aia,Cia,Kia,ija,uja,vja,hka,nka,Fqa,Gqa,Ara,Bra,Gra,Hra,Lra,Mra,Rra,Sra,_ra,$ra,esa,fsa,Pva,aRa,bRa,cRa,dRa,oRa,HRa,MRa,RVa,SVa,TVa,XWa,Q0a,R0a,S0a,T0a,U0a,V0a,X0a,Y0a,Z0a,_0a,z1a,A1a,B1a,C1a,c2a,p2a,y2a,N3a,A4a,rqb,yqb,Eqb,Lqb,Yrb,uwb,vwb,wwb,xwb,zwb,Awb,Fwb,Gwb,Hwb,Iwb,Kwb,Lwb,Qwb,Rwb,Swb,Twb,Vwb,Wwb,$wb,axb,bxb,cxb,exb,fxb,Oxb,eyb,Wyb,Xyb,Yyb,bzb,czb,dzb,qra,$T,dU,TT,XT,ira,mra,WCa,sEa,cFa,gFa,oGa,qGa,tJa,CRa,RTa,mVa,nVa,pVa,UXa,bDb,k3a,n3a,F8a,N8a,Ocb,adb,ndb,web,zfb,Afb,Bfb,Ifb,Vfb,Xfb,Cgb,Fib,Tlb,cDb,dDb,eDb,fDb,gDb,hDb,iDb,jDb,kDb,lDb,mDb,nDb,oDb,pDb,qDb,rDb,sDb,tDb,uDb,vDb,wDb,xDb,yDb,zDb,ADb,BDb,CDb,DDb,EDb,FDb,GDb,HDb,IDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb,aDb];var Ei=[JDb,OE,SE,pha,tha,Eha,Cva,Iva,hYa,ftb,ltb,stb,vtb,ytb,Btb,Etb,Htb,Mtb,Ptb,Stb,Wtb,Ytb,aub,cub,eub,gub,iub,kub,oub,qub,sub,Bub,Dub,Qub,Sub,_ub,avb,bvb,dvb,fvb,Fvb,Hvb,Ivb,Kvb,Mvb,Dxb,Jxb,kq,JDb,JDb,JDb,JDb,JDb,JDb,JDb,JDb,JDb,JDb,JDb,JDb,JDb,JDb,JDb,JDb];var Fi=[KDb,Y6,oba,Xba,Pda,hfa,Kfa,bga];var Gi=[LDb,Orb,Prb,gk,Srb,Dt,xu,zv,Gv,Ox,WD,pE,BE,Jk,sl,Pl,_n,qo,Co,vo,Go,Io,up,sk,tk,uk,vk,wk,yk,Bk,Ck,Ek,Fk,Gk,Ik,Yk,IF,MF,Sk,Tk,Uk,Vk,Wk,Xk,_k,al,bl,cl,dl,el,fl,hl,il,jl,kl,ml,nl,gl,ol,pl,ql,rl,tG,tl,ul,vl,wl,xl,zl,yl,Al,Bl,Cl,Dl,El,Fl,Gl,Hl,Il,Jl,Kl,Ll,Ml,Ol,Nl,On,KL,eL,vM,Wm,sL,Tl,VL,mL,UM,oN,SL,km,Jm,qm,GM,BM,an,qn,Mm,eN,Rl,Sl,Vl,Wl,Xl,Yl,Zl,_l,$l,am,bm,cm,dm,em,fm,gm,hm,im,jm,mm,nm,om,pm,sm,tm,um,vm,wm,xm,ym,zm,Am,Bm,Cm,Dm,Em,Fm,Gm,Hm,Im,Lm,Nm,Pm,Qm,Rm,Sm,Tm,Um,Ym,Zm,_m,$m,cn,dn,en,fn,gn,hn,jn,kn,ln,mn,nn,on,pn,tn,un,vn,wn,xn,yn,zn,An,Bn,Cn,Dn,En,Fn,Gn,Hn,In,Jn,Kn,Ln,Mn,Nn,Yn,Zn,io,CO,ao,bo,co,eo,fo,go,ho,jo,ko,lo,mo,no,oo,po,ro,to,uo,DP,xP,wo,xo,yo,zo,Ao,Bo,Do,Eo,Fo,Ho,So,Ko,Lo,Mo,No,Oo,Po,Qo,Ro,To,Uo,Vo,Wo,Xo,Yo,Zo,_o,$o,ap,bp,cp,dp,ep,fp,gp,hp,ip,jp,kp,lp,mp,np,op,pp,qp,rp,tp,wp,zp,Ap,Bp,Dp,Ep,Gp,Hp,Ip,Jp,Kp,Lp,Mp,Np,Op,Pp,Qp,Rp,Sp,Tp,Up,Vp,Wp,Xp,Yp,Zp,_p,$p,aq,bq,dq,eq,Zr,$r,bs,es,fs,ns,ft,gt,ht,kt,lt,mt,nt,ot,pt,qt,rt,st,tt,ut,vt,wt,xt,yt,zt,At,Bt,Ct,ou,Gt,Ht,It,Jt,Kt,Lt,Mt,Nt,Ot,Pt,Qt,Rt,St,Tt,Ut,Vt,Wt,Xt,Yt,Zt,_t,$t,au,bu,cu,du,eu,fu,gu,hu,iu,ju,ku,lu,mu,nu,ru,pu,su,tu,uu,vu,Au,Bu,Ju,Ku,Lu,Mu,Nu,Ou,Pu,Qu,Ru,Su,Tu,Xu,Yu,Zu,_u,$u,av,bv,cv,dv,ev,fv,gv,hv,iv,jv,lv,mv,nv,ov,pv,qv,rv,sv,Wu,tv,uv,X4,C4,$4,Av,Bv,Cv,Ev,Fv,Rv,aw,Iv,Jv,Kv,Lv,Mv,Nv,Ov,Pv,Qv,Uv,Vv,Wv,Xv,Yv,Zv,_v,$v,bw,cw,dw,hw,uw,xw,yw,zw,Bw,Cw,Dw,Ew,Fw,Hw,Iw,Jw,Kw,Lw,Mw,Nw,Pw,Qw,Rw,Sw,Tw,Uw,Vw,Ww,Xw,Yw,Zw,_w,$w,ax,bx,cx,dx,ex,fx,gx,hx,jx,lx,mx,nx,ox,px,qx,rx,sx,ux,vx,wx,yx,zx,iw,jw,kw,lw,mw,nw,ow,pw,qw,rw,sw,tw,Ax,Bx,Cx,Dx,Ex,Fx,Gx,Hx,Ix,Jx,Kx,Lx,Mx,Nx,Px,wD,Nga,Wx,mD,aA,Bz,yga,Nz,ry,oA,yA,Qx,Rx,Sx,Tx,Ux,Vx,Zx,_x,$x,ay,by,cy,dy,ey,fy,gy,hy,iy,ky,ly,my,ny,oy,py,qy,ty,uy,vy,wy,xy,yy,zy,Ay,By,Cy,Dy,Ey,Fy,Gy,Hy,Iy,Jy,Ky,Ly,My,Ny,Oy,Py,Qy,Ry,Sy,Ty,Uy,Vy,Wy,Xy,Yy,Zy,_y,$y,az,bz,cz,dz,ez,fz,gz,jz,kz,lz,oz,hz,iz,pz,qz,rz,sz,tz,uz,vz,wz,xz,yz,zz,Az,Ez,Fz,Gz,Iz,Jz,Kz,Lz,Mz,Pz,Rz,Sz,Tz,Uz,Vz,Wz,Xz,Yz,Zz,_z,$z,eA,fA,gA,hA,iA,jA,kA,lA,mA,nA,qA,rA,sA,tA,uA,vA,wA,xA,WC,XC,YC,ZC,_C,kD,lD,nD,pD,qD,rD,sD,tD,uD,zD,AD,ND,OD,PD,QD,RD,TD,UD,VD,fE,SD,YD,ZD,_D,$D,aE,cE,dE,bE,eE,iE,kE,lE,mE,nE,oE,dka,qE,rE,yE,zE,AE,sE,uE,wE,xE,EE,FE,ZE,_E,uF,vF,wF,xF,yF,zF,AF,BF,CF,DF,EF,FF,GF,HF,LF,QF,RF,WF,XF,eG,gG,iG,sG,MG,NG,aK,bK,cK,dK,eK,fK,gK,hK,iK,jK,kK,lK,mK,nK,oK,pK,qK,rK,sK,tK,uK,vK,wK,xK,yK,zK,AK,BK,CK,DK,EK,FK,GK,HK,IK,JK,KK,LK,MK,NK,OK,PK,QK,RK,SK,TK,UK,VK,WK,XK,YK,ZK,_K,$K,aL,bL,cL,dL,gL,hL,iL,jL,kL,lL,oL,pL,qL,rL,uL,vL,wL,xL,yL,zL,AL,BL,CL,DL,EL,FL,GL,HL,IL,JL,ML,NL,OL,PL,QL,RL,UL,WL,XL,YL,ZL,_L,$L,aM,bM,dM,eM,cM,fM,gM,hM,iM,jM,kM,lM,mM,nM,oM,pM,qM,rM,sM,tM,uM,xM,yM,zM,AM,DM,EM,FM,HM,JM,KM,LM,MM,NM,OM,PM,QM,RM,WM,XM,YM,ZM,_M,$M,aN,bN,cN,dN,gN,hN,iN,jN,kN,lN,mN,nN,vN,wN,BN,HN,woa,xoa,JN,KN,yoa,LN,MN,NN,VN,XN,ZN,_N,$N,aO,bO,jO,kO,lO,mO,nO,oO,yO,zO,AO,BO,EO,FO,GO,VO,WO,YO,pP,qP,rP,sP,tP,uP,vP,wP,zP,AP,BP,CP,GP,HP,NP,UP,VP,WP,aQ,bQ,nQ,oQ,pQ,qQ,rQ,sQ,tQ,$Q,JQ,RQ,ZQ,hR,iR,uR,BR,DR,FR,HR,LR,MR,NR,PR,RR,_R,wS,HS,OS,WS,sX,tX,Mta,hua,rY,Wta,pua,WX,vY,OX,vX,xX,AX,CX,GX,HX,JX,LX,PX,XX,Ota,YX,ZX,_X,$X,aY,bY,cY,dY,eY,fY,gY,hY,iY,jY,kY,lY,mY,sY,tY,wY,xY,yY,zY,AY,BY,DY,EY,FY,GY,HY,IY,JY,KY,LY,_Z,d_,f_,g_,h_,i_,zoa,I_,J_,M_,N_,h$,j$,k$,p$,q$,v$,w$,x$,y$,P$,R$,a0,u2,h0,k0,l0,H0,J0,K0,n1,p1,u1,v1,w1,x1,Q1,S1,b2,F2,G2,N2,h3,i3,l3,m3,y4,p3,r3,x3,A3,Q3,R3,Y3,Z3,_3,b4,c4,d4,h4,i4,D4,G4,H4,I4,J4,K4,L4,M4,N4,O4,P4,R4,S4,T4,U4,V4,Z4,_4,c5,d5,L6,M6,N6,O6,j5,l5,s5,u5,U5,V5,$5,b6,d6,j6,k6,l6,m6,E6,G6,b7,c7,h7,C7,M7,N8,AA,m9,C9,tba,uba,Bba,Qda,pea,Cea,dga,hga,uga,vga,wga,xga,Aga,Bga,Cga,Dga,Ega,Fga,Gga,Hga,Iga,Jga,Kga,Lga,Xga,Yga,dia,eia,wia,xia,yia,zia,Aia,Gia,Jia,Lia,Mia,Nia,Ria,cja,dja,mja,Nja,Oja,Pja,Qja,Rja,Sja,Tja,Uja,Vja,Wja,Xja,Yja,Zja,_ja,aka,bka,cka,jE,fka,gka,ika,pka,qka,Vka,Wka,Xka,Doa,Foa,Hoa,Ioa,Joa,Koa,iua,mua,qua,tua,uua,mva,nva,ova,rva,sva,tva,xva,yva,Tva,Wva,Vwa,cxa,aza,pza,rza,pCa,qCa,sCa,tCa,lDa,mDa,oDa,dDa,FIa,GIa,HIa,IIa,JIa,KIa,MIa,NIa,OIa,QIa,RIa,SIa,TIa,UIa,VIa,WIa,XIa,YIa,ZIa,_Ia,$Ia,aJa,bJa,cJa,hJa,iJa,kJa,lJa,mJa,oJa,qJa,rJa,sJa,vJa,wJa,xJa,yJa,zJa,AJa,BJa,CJa,DJa,EJa,FJa,HJa,IJa,JJa,MJa,PJa,QJa,RJa,TJa,UJa,WJa,XJa,ZJa,_Ja,$Ja,aKa,bKa,cKa,dKa,eKa,iKa,jKa,kKa,lKa,mKa,nKa,oKa,pKa,qKa,rKa,sKa,tKa,uKa,vKa,wKa,xKa,yKa,zKa,AKa,BKa,CKa,DKa,EKa,FKa,GKa,HKa,IKa,JKa,LKa,MKa,NKa,OKa,PKa,QKa,RKa,SKa,TKa,UKa,VKa,XKa,YKa,ZKa,_Ka,$Ka,aLa,bLa,cLa,dLa,hLa,iLa,jLa,lLa,rLa,sLa,tLa,vLa,wLa,xLa,yLa,zLa,ALa,BLa,CLa,FLa,HLa,NLa,OLa,xUa,eVa,hVa,BUa,CUa,_Ua,aVa,bVa,cVa,HVa,VVa,XVa,KVa,CWa,PWa,eXa,oXa,JXa,GXa,HXa,IXa,fYa,lYa,mYa,JYa,e_a,__a,g$a,B$a,E$a,w0a,d1a,f1a,z0a,E0a,o1a,E1a,G1a,t1a,w1a,F2a,Z3a,Z7a,_7a,$7a,a8a,zeb,$fb,igb,Egb,Ogb,Ylb,sqb,uqb,zqb,Rrb,asb,bsb,Fqb,Hqb,Mqb,dsb,esb,Zub,vvb,wvb,xvb,yvb,zvb,Avb,Bvb,Evb,awb,bwb,cwb,dwb,ewb,fwb,gwb,swb,twb,ywb,Dwb,Ewb,Jwb,Owb,Pwb,Uwb,Zwb,_wb,dxb,_xb,$xb,cyb,ryb,syb,uyb,Uyb,Vyb,$yb,azb,iyb,jyb,lyb,Ayb,Byb,Eyb,UAb,YAb,aBb,Zj,_j,$j,ak,vp,Yr,cq,qX,uX,Qr,Rr,Sr,Tr,Ur,Vr,Wr,Xr,gs,Es,Js,Ks,Ls,Ms,qu,Q4,xv,yv,DN,GN,Zca,jua,kua,nua,Uva,vwa,wwa,xwa,BBa,DBa,EBa,JHa,EIa,DLa,WKa,GJa,KKa,gLa,hKa,pJa,dJa,eJa,fJa,gJa,nJa,VJa,fKa,gKa,KJa,uLa,ELa,ILa,JLa,LLa,MLa,sQa,tQa,uQa,vQa,w$a,x$a,y$a,M$a,N$a,O$a,y8a,P8a,Q8a,pdb,qdb,rdb,Deb,Ufb,Leb,Oeb,Peb,MDb,NDb,ODb,PDb,QDb,jgb,tgb,xgb,Kgb,_gb,Nib,Oib,RDb,SDb,TDb,UDb,VDb,WDb,XDb,YDb,ZDb,_Db,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb,LDb];var Hi=[$Db,Nk];var Ii=[aEb,Ldb,Mdb,Ndb,Odb,Pdb,Qdb,Rdb];var Ji=[bEb,XR,ZR,bEb];var Ki=[cEb,Xda,$da,cEb];var Li=[dEb,oka];var Mi=[eEb,M$,N1,fEb,gEb,eEb,eEb,eEb];var Ni=[hEb,PE,TE,$R,yS,JS,QS,YS,e6,$ga,bTa,dTa,eTa,gTa,hTa,iTa,jTa,kTa,lTa,gUa,UUa,EVa,QVa,dWa,wWa,tWa,SWa,ZWa,_Wa,TZa,WZa,b_a,d_a,u$a,s0a,N0a,m1a,G0a,y1a,N1a,C2a,x4a,B4a,E4a,G4a,I4a,Xsb,atb,vub,wub,Cub,Jub,Mub,Nub,Rub,Wub,Zxb,ayb,qyb,tyb,Ryb,rzb,hyb,kyb,zyb,Cyb,mq,pra,_T,cU,ST,WT,hra,lra,ZY,$Y,yha,Aha,Sha,Wha,Xha,Yha,Zha,YLa,ZLa,_La,$La,hUa,kUa,mUa,C_a,B_a,A_a,K8a,M8a,$8a,b8a,c8a,e8a,d8a,V7a,W7a,X7a,ldb,mdb,teb,Gfb,iEb,ngb,Shb,hEb,hEb,hEb,hEb,hEb,hEb,hEb,hEb,hEb,hEb,hEb,hEb,hEb,hEb,hEb,hEb,hEb,hEb];var Oi=[jEb,D$,D1,c2];var Pi=[kEb,lEb];var Qi=[mEb,bG,nEb,oEb];var Ri=[pEb,Lrb,Qrb,Urb,mJ,yJ,xN,QN,RN,JO,XO,XP,rR,tR,xS,IS,PS,XS,IT,n3,w3,l4,e4,S5,W5,f6,g6,u9,_ga,hha,Voa,uva,Xwa,$wa,oya,gza,mza,hza,sza,xza,dCa,eCa,fCa,gCa,rCa,QCa,$Ca,aDa,bDa,nDa,eUa,fUa,RUa,SUa,TUa,PVa,bWa,cWa,vWa,HWa,TWa,dXa,fXa,jXa,qYa,NYa,JZa,LZa,MZa,n_a,g_a,E_a,G_a,J_a,K_a,j_a,k_a,O_a,W_a,d$a,j$a,q$a,r$a,s$a,t$a,J0a,K0a,M0a,X1a,f2a,s2a,B2a,I2a,J2a,$lb,cmb,dmb,fmb,Imb,Aqb,Zrb,csb,gsb,Nqb,Zsb,ctb,Mxb,Rxb,Lyb,Nyb,Qyb,gzb,lzb,nzb,qzb,FAb,a_,b_,jya,bza,cza,dza,eza,fza,iAa,ICa,VCa,EHa,GHa,PIa,xWa,yWa,zWa,AWa,KXa,OSa,e0a,f0a,g0a,h0a,i0a,j0a,k0a,l0a,W$a,X$a,Y$a,Z$a,k1a,j3a,m3a,p3a,G8a,R8a,W8a,X8a,bdb,tdb,Cdb,Tdb,Teb,Rfb,Keb,dfb,ffb,ifb,jfb,lfb,nfb,sfb,tfb,wfb,xfb,yfb,Ffb,qEb,lgb,Zib,_ib,Slb,xob,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb,pEb];var Si=[rEb,Hj,Lj,Sj,Tj,bk,jk,kk,lk,mk,nk,ck,dk,ysb,zsb,Asb,Bsb,Csb,Dsb,isb,jsb,ksb,lsb,qsb,rsb,ssb,tsb,ls,ms,yu,zu,gB,hB,NC,OC,UC,VC,xD,yD,gE,hE,CE,DE,ME,NE,RE,XE,YE,Vj,mF,NF,PF,VF,uG,vG,LG,rH,sH,wH,xH,QH,RH,XH,YH,pI,qI,tI,uI,DI,EI,KI,LI,_I,$I,bJ,cJ,eJ,gJ,qJ,rJ,wJ,xJ,zJ,AJ,tN,uN,zN,AN,TN,UN,hO,iO,DO,MO,UO,_O,$O,EP,FP,LP,KP,SP,TP,_P,$P,fQ,gQ,hQ,kQ,lQ,mQ,VQ,WQ,BQ,CQ,FQ,GQ,KQ,LQ,OQ,PQ,SQ,TQ,UQ,fR,gR,qR,IR,JR,KR,sS,tS,ES,FS,MS,US,GT,HT,NT,OT,RT,VT,ZT,bU,hU,jU,kU,pU,qU,KU,MU,bV,cV,yV,AV,PV,QV,kW,lW,vW,wW,GW,HW,YZ,ZZ,r_,s_,w_,x_,G_,H_,O_,R_,T_,V_,X_,g$,n$,o$,r$,s$,t$,u$,c0,d0,e0,f0,g0,m0,p0,r0,t0,v0,G0,j1,k1,l1,m1,q1,r1,s1,t1,H1,j2,s2,t2,C2,E2,H2,I2,T2,U2,V2,W2,X2,f3,g3,V3,W3,v4,w4,a5,b5,h5,i5,q5,r5,T5,SAb,_5,a6,c6,h6,i6,B6,D6,V6,X6,e7,f7,g7,i7,z7,B7,A7,K7,L7,N7,u8,v8,w8,x8,L8,M8,P8,j9,l9,A9,mba,nba,yba,zba,Aba,Cba,Vba,Wba,Nda,Oda,Uda,Vda,Zda,dea,fea,jea,oea,zea,Aea,Bea,Dea,ffa,gfa,Hfa,Jfa,$fa,aga,ega,fga,gga,iga,kga,Oga,Qga,Vga,Wga,fha,gha,nha,rha,Jva,uha,Cha,Gha,bia,cia,sia,tia,via,$ia,bja,eka,Bka,Cka,Tka,Uka,$ka,ala,ima,jma,rma,sma,yma,zma,Sma,Tma,$ma,ana,dna,ena,Jna,Kna,Qna,Rna,Xna,Yna,joa,koa,uoa,voa,Boa,Coa,Noa,Ooa,Poa,Qoa,Roa,Soa,Toa,Uoa,_oa,bpa,cpa,dpa,wpa,xpa,ypa,Apa,Bpa,Cpa,Dqa,Eqa,gra,kra,ora,Era,Fra,Pra,Qra,csa,dsa,Zsa,ata,jva,kva,Ava,Dva,Eva,Gva,Kva,Rva,Sva,Vva,Wwa,dxa,iza,qza,wza,mCa,iDa,FRa,JRa,pUa,rUa,yUa,dVa,gVa,iVa,HUa,MUa,IVa,UVa,WVa,YVa,gWa,iWa,pWa,BWa,DWa,IWa,KWa,MWa,NWa,OWa,aXa,gXa,iXa,lXa,sXa,xXa,CXa,dYa,IYa,FZa,$Za,t_a,D_a,I_a,Z_a,h$a,A$a,C$a,x0a,c1a,e1a,g1a,p1a,D1a,F1a,H1a,S1a,G2a,E3a,F3a,R3a,S3a,Y3a,v4a,w4a,i9a,j9a,k9a,l9a,m9a,n9a,o9a,p9a,t9a,u9a,v9a,w9a,x9a,y9a,z9a,A9a,T9a,U9a,W9a,X9a,Y9a,Z9a,_9a,rab,sab,tab,uab,vab,wab,xab,yab,zab,Aab,Bab,Cab,Dab,Eab,Fab,Gab,Hab,Iab,Jab,Kab,Lab,Mab,Nab,Oab,Pab,Qab,Rab,Sab,Tab,Uab,Vab,Wab,Xab,Yab,Zab,_ab,$ab,abb,bbb,cbb,dbb,ebb,fbb,gbb,hbb,ibb,jbb,kbb,lbb,mbb,nbb,obb,pbb,qbb,rbb,sbb,tbb,ubb,vbb,wbb,xbb,ybb,zbb,Abb,Bbb,Cbb,Dbb,Ebb,Fbb,Gbb,Hbb,Ibb,Jbb,Kbb,Lbb,Mbb,Nbb,Obb,Pbb,Qbb,Rbb,Sbb,Tbb,Ubb,Vbb,Wbb,Xbb,Ybb,Zbb,_bb,$bb,acb,bcb,ccb,dcb,ecb,fcb,gcb,hcb,icb,jcb,kcb,lcb,mcb,ncb,ocb,pcb,qcb,rcb,scb,tcb,ucb,vcb,wcb,xcb,ycb,zcb,Acb,Bcb,Ccb,Dcb,Ecb,Fcb,Gcb,Hcb,Icb,Irb,qqb,xqb,Wrb,Dqb,Kqb,Frb,Grb,Jrb,Xrb,msb,nsb,osb,psb,usb,vsb,wsb,xsb,Usb,Vsb,Wsb,_sb,$sb,dtb,etb,Utb,Vtb,tub,uub,Kub,Lub,Xub,Yub,Cvb,Dvb,hwb,jwb,mwb,nwb,qwb,rwb,Bwb,Cwb,Mwb,Nwb,Xwb,Ywb,gxb,hxb,qxb,rxb,yxb,zxb,Exb,Fxb,Kxb,Lxb,Pxb,Qxb,Txb,Uxb,dyb,myb,nyb,Fyb,Hyb,Iyb,Jyb,Syb,Tyb,Zyb,_yb,ezb,fzb,szb,tzb,uzb,zAb,MAb,DAb,EAb,BAb,RAb,TAb,VAb,XAb,ZAb,_Ab,$Ab,bBb,Gj,jq,c_,lya,jAa,jSa,NTa,lVa,NXa,OXa,_Xa,vYa,HYa,AYa,DYa,VZa,z$a,E2a,u3a,B3a,Mcb,m8a,Jcb,Lcb,q9a,r9a,B9a,C9a,E9a,F9a,G9a,H9a,K9a,L9a,M9a,N9a,O9a,P9a,Q9a,R9a,aab,bab,eab,fab,dab,gab,hab,iab,jab,kab,lab,cab,ueb,xeb,Reb,Ueb,Mfb,_fb,Meb,ggb,egb,kgb,mgb,Dgb,Hgb,Igb,Lgb,Ugb,Kib,Lib,Mib,Pib,Qib,Rib,Sib,Tib,sEb,tEb,uEb,vEb,wEb,xEb,yEb,zEb,AEb,BEb,CEb,DEb,EEb,FEb,GEb,HEb,IEb,JEb,KEb,LEb,MEb,NEb,OEb,PEb,QEb,REb,amb,emb,itb,jtb,jxb,iqb,xAb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb,rEb];var Ti=[SEb,ek,bCa,KCa,Mrb,_rb,Nxb,Sxb,NAb,HAb,cBb,ksa,qsa,wsa,Csa,Isa,Osa,lsa,rsa,xsa,Dsa,Jsa,Psa,msa,ssa,ysa,Esa,Ksa,Qsa,nsa,tsa,zsa,Fsa,Lsa,Rsa,osa,usa,Asa,Gsa,Msa,Ssa,psa,vsa,Bsa,Hsa,Nsa,Tsa,Rha,hRa,iRa,jRa,tYa,uYa,FYa,GYa,TEb,UEb,SEb,SEb,SEb,SEb,SEb,SEb,SEb];var Ui=[VEb,dJ];var Vi=[WEb,Lk];var Wi=[XEb,AS,LS,SS,_S,nU,IU,$U,wV,NV,iW,tW,EW,Cra,Nra,asa,YEb,XEb,XEb,XEb,XEb,XEb,XEb,XEb,XEb,XEb,XEb,XEb,XEb,XEb,XEb,XEb];var Xi=[ZEb,Zk,YF,ZF,ON,cO,pO,MP,OP,PP,YQ,DQ,IQ,MQ,VR,j_,Z_,f$,A$,C$,T$,V$,X$,Z$,$$,x0,F0,A1,C1,U1,W1,Y1,_1,a2,Loa,cPa,dPa,ePa,ZEb,ZEb,ZEb,ZEb,ZEb,ZEb,ZEb,ZEb,ZEb,ZEb,ZEb,ZEb,ZEb,ZEb,ZEb,ZEb,ZEb,ZEb,ZEb,ZEb,ZEb,ZEb,ZEb,ZEb,ZEb,ZEb];var Yi=[_Eb,$Eb];var Zi=[aFb,Kk,Ok,Pk];var _i=[bFb,cFb,dFb,eFb];var $i=[fFb,gFb,hFb,fFb];var aj=[iFb,IN,YN,e_,Goa,iFb,iFb,iFb];var bj=[jFb,Mk];var cj=[kFb,w9,Edb,Gdb,Hdb,lFb,mFb,nFb];var dj=[oFb,Pia];var ej=[pFb,pib,qib,rib,sib,tib,uib,vib,wib,xib,yib,zib,Aib,qFb,rFb,sFb];var fj=[tFb];var gj=[uFb,hk,ik,QE,UE,TF,dG,hG,aJ,SN,NO,ZO,cQ,sR,vR,ER,aS,uS,GS,NS,VS,tU,PU,fV,DV,TV,oW,zW,KW,Hua,Dua,Gua,Lua,Iua,Jua,Mua,Kua,Nua,Pua,K_,L_,P_,i$,i0,j0,n0,I0,q3,t3,u3,D3,E3,F3,G3,H3,I3,N3,O3,z4,X3,g4,e5,k5,P6,m5,Q6,t5,v5,F6,H6,a7,sba,Zga,aha,bha,oha,sha,vha,wha,Dha,Hha,Nha,uia,Dia,Eia,Fia,Iia,eja,jja,kja,lja,jka,kka,lka,mka,Ira,Tra,gsa,lva,wva,Bva,Hva,Lva,Mva,Ywa,Zwa,_wa,axa,bxa,pya,qya,rya,sya,tya,uya,vya,wya,xya,yya,zya,Aya,Bya,Cya,Dya,Eya,Fya,Gya,Hya,Iya,Jya,Kya,Lya,Mya,Nya,Oya,Pya,Qya,Rya,Sya,Tya,Uya,jza,kza,lza,nza,oza,tza,uza,vza,$Ba,aCa,cCa,iCa,jCa,kCa,lCa,uCa,xCa,OCa,eDa,fDa,gDa,hDa,ERa,GRa,IRa,KRa,NRa,dUa,vUa,wUa,qUa,sUa,tUa,zUa,FVa,GVa,AUa,EUa,FUa,GUa,IUa,JUa,KUa,NUa,OUa,QUa,JVa,$Va,LVa,MVa,OVa,aWa,mWa,nWa,hWa,jWa,kWa,oWa,qWa,rWa,sWa,QWa,bXa,rXa,tXa,uXa,vXa,wXa,yXa,zXa,AXa,DXa,EXa,nYa,jYa,kYa,oYa,rYa,OYa,PYa,QYa,RYa,SYa,TYa,UYa,VYa,WYa,XYa,YYa,bZa,cZa,dZa,eZa,fZa,gZa,hZa,iZa,jZa,kZa,lZa,mZa,nZa,oZa,pZa,qZa,rZa,uZa,vZa,wZa,xZa,yZa,BZa,CZa,DZa,EZa,GZa,HZa,KZa,QZa,RZa,a_a,m_a,o_a,p_a,q_a,r_a,s_a,u_a,v_a,w_a,x_a,F_a,H_a,c_a,i_a,l_a,M_a,P_a,S_a,T_a,i$a,t0a,v0a,k$a,y0a,j1a,n1a,B0a,C0a,D0a,F0a,I0a,L0a,q1a,J1a,K1a,s1a,u1a,v1a,x1a,L1a,U1a,V1a,M1a,P1a,Q1a,R1a,W1a,Z1a,e2a,m2a,r2a,x2a,A2a,H2a,C3a,D3a,G3a,O3a,Q3a,T3a,X3a,K4a,t4a,u4a,w6a,Rcb,ulb,wlb,ylb,vqb,Vrb,Trb,Bqb,Iqb,hsb,fsb,Oqb,Kyb,Myb,Oyb,kzb,mzb,ozb,fZ,D2,Oqa,cta,Vya,Wya,hAa,$Sa,PTa,nUa,LUa,_Va,qXa,BXa,PXa,iYa,UZa,ZZa,YZa,P$a,Q$a,a1a,l1a,P3a,s4a,Y4a,I8a,O8a,Qcb,R6a,F7a,H7a,I7a,ddb,idb,jdb,kdb,odb,Veb,Jfb,Kfb,Ofb,Tfb,vFb,wFb,xFb,yFb,vhb,Xhb,zFb,AFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb,uFb];var hj=[BFb,n5,w5,R6];var ij=[CFb,_6,qba,CFb];var jj=[DFb,E$,F$,E1,F1,g2,h2,Bia,Hia,hya,DFb,DFb,DFb,DFb,DFb,DFb];var kj=[EFb,_F,kJ,lJ,uJ,vJ,wR,SR,TR,UR,C3,M3,n9,xha,Oha,Sia,Hqa,Iqa,Nva,yMa,zMa,AMa,BMa,CMa,DMa,EMa,FMa,GMa,HMa,IMa,JMa,KMa,LMa,MMa,NMa,OMa,PMa,QMa,RMa,SMa,TMa,UMa,VMa,WMa,XMa,YMa,ZMa,_Ma,$Ma,aNa,bNa,cNa,dNa,eNa,fNa,gNa,hNa,iNa,jNa,kNa,lNa,mNa,nNa,oNa,pNa,qNa,rNa,sNa,tNa,uNa,vNa,wNa,xNa,yNa,zNa,ANa,BNa,CNa,DNa,ENa,FNa,GNa,HNa,INa,JNa,KNa,LNa,MNa,NNa,ONa,PNa,LRa,FXa,pYa,MYa,N_a,c$a,W3a,Qha,NAa,JCa,DQa,FQa,oSa,nSa,RXa,TXa,cYa,sYa,EYa,R$a,S$a,T$a,U$a,Neb,FFb,GFb,HFb,IFb,JFb,KFb,LFb,MFb,NFb,OFb,PFb,QFb,RFb,SFb,TFb,UFb,VFb,WFb,XFb,YFb,ZFb,_Fb,$Fb,aGb,bGb,cGb,dGb,eGb,fGb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb,EFb];var lj=[gGb,WR,YR,oU,JU,aV,xV,OV,jW,uW,FW,Dra,Ora,bsa,gGb,gGb];var mj=[hGb,_8a,geb,hGb];var nj=[iGb,SF,jR,s3,v3,J3,$3,a4,m4,f4,f5,X5,nja,pva,qva,vva,Sxa,Txa,Uxa,Vxa,Wxa,Xxa,Yxa,Zxa,_xa,$xa,aya,bya,cya,dya,eya,fya,nCa,oCa,jDa,kDa,uUa,jVa,DVa,DUa,PUa,ZVa,NVa,lWa,EWa,GWa,uWa,JWa,UWa,kXa,KYa,LYa,IZa,SZa,f_a,X_a,$_a,b$a,e$a,f$a,F$a,r0a,h1a,i1a,A0a,H0a,I1a,r1a,T1a,L3a,V3a,Pyb,hzb,izb,jzb,pzb,EN,FN,Rxa,LGa,UFa,IHa,kLa,MTa,QTa,VXa,DSa,v$a,v3a,y3a,y4a,F4a,Y8a,Pcb,S7a,f8a,g9a,aeb,Hfb,jGb,kGb,lGb,mGb,agb,qgb,ugb,vgb,wgb,Fgb,Pgb,hib,Jib,iGb,iGb,iGb,iGb,iGb,iGb,iGb,iGb,iGb,iGb,iGb,iGb,iGb,iGb,iGb,iGb];var oj=[nGb,yeb,hgb,oGb,pGb,qGb,nGb,nGb];var pj=[rGb,sGb,tGb,uGb];var qj=[vGb,wGb,xGb,yGb];var rj=[zGb,AGb,uAb,Cr,LQa,Mgb,Iib,Uib,BGb,CGb,DGb,EGb,wAb,zGb,zGb,zGb];var sj=[FGb,C4a,H4a,ivb,Pvb,Vxb,Xxb,oyb,pyb,fyb,gyb,vyb,xyb,wdb,xdb,ydb,zdb,Adb,Bdb,FGb,FGb,FGb,FGb,FGb,FGb,FGb,FGb,FGb,FGb,FGb,FGb,FGb];var tj=[GGb,bea,eea,gea];var uj=[HGb,Eub,Iub,Tub,Vub,HGb,HGb,HGb];var vj=[IGb,fk,pR,yR,zR,AR,zS,KS,RS,ZS,QT,UT,YT,aU,N$,O1,zha,$ha,sja,fra,jra,nra,Ova,qwa,rwa,twa,lRa,mRa,nRa,LWa,YWa,cXa,Nrb,$rb,Ysb,btb,PAb,KAb,gBb,HQa,$Xa,aYa,VRa,Q_a,_$a,$$a,a0a,b0a,c0a,d0a,E6a,Efb,Zfb,Wib,JGb,KGb,LGb,MGb,NGb,OGb,PGb,QGb,RGb,SGb,TGb,UGb,VGb,WGb,XGb,YGb,ZGb,_Gb,$Gb,aHb,bHb,cHb,dHb,eHb,fHb,gHb,hHb,IGb,IGb,IGb,IGb,IGb,IGb,IGb,IGb,IGb,IGb,IGb,IGb,IGb,IGb,IGb,IGb,IGb,IGb,IGb,IGb,IGb,IGb,IGb,IGb,IGb,IGb,IGb,IGb,IGb,IGb,IGb,IGb,IGb,IGb,IGb,IGb,IGb,IGb,IGb,IGb,IGb,IGb,IGb,IGb,IGb,IGb,IGb];return{_main:Fj,_llvm_cttz_i32:wBb,_bitshift64Lshr:FBb,_bitshift64Shl:DBb,___cxa_is_pointer_type:rBb,_llvm_ctlz_i64:CBb,_bitshift64Ashr:GBb,_memset:vBb,_memcpy:ABb,_llvm_bswap_i32:uBb,_i64Subtract:EBb,_ntohs:jpb,_htonl:Wob,_realloc:kqb,_i64Add:xBb,_saveSetjmp:yBb,_htons:Vob,_emscripten_GetProcAddress:Xlb,___errno_location:_lb,_testSetjmp:zBb,___cxa_can_catch:qBb,_free:iqb,_memmove:BBb,_strstr:Dob,_malloc:hqb,__GLOBAL__I_000101:nqb,__GLOBAL__sub_I_Shape_cpp:Vn,__GLOBAL__sub_I_types_cpp:_s,__GLOBAL__sub_I_FileData_cpp:Cu,__GLOBAL__sub_I_Graphics_cpp:BA,__GLOBAL__sub_I_ParticleSystem_cpp:kB,__GLOBAL__sub_I_Texture_cpp:$C,__GLOBAL__sub_I_CompressedImageData_cpp:BD,__GLOBAL__sub_I_Compressor_cpp:JE,__GLOBAL__sub_I_MathModule_cpp:$E,__GLOBAL__sub_I_Cursor_cpp:lG,__GLOBAL__sub_I_Joint_cpp:qN,__GLOBAL__sub_I_System_cpp:KO,__GLOBAL__sub_I_System_cpp_2273:PO,__GLOBAL__sub_I_Window_cpp:fS,__GLOBAL__sub_I_Memoizer_cpp:n_,__GLOBAL__sub_I_Audio_cpp:o2,__GLOBAL__sub_I_Source_cpp:v2,__GLOBAL__sub_I_Event_cpp:O2,__GLOBAL__sub_I_File_cpp:o4,__GLOBAL__sub_I_GlyphData_cpp:n6,__GLOBAL__sub_I_TrueTypeRasterizer_cpp:S6,__GLOBAL__sub_I_Canvas_cpp:j7,__GLOBAL__sub_I_Font_cpp:O7,__GLOBAL__sub_I_Image_cpp:Dba,__GLOBAL__sub_I_Mesh_cpp:Zba,__GLOBAL__sub_I_OpenGL_cpp:Wca,__GLOBAL__sub_I_Shader_cpp:Eea,__GLOBAL__sub_I_Volatile_cpp:Rga,__GLOBAL__sub_I_ImageData_cpp:fia,__GLOBAL__sub_I_Joystick_cpp:Tia,__GLOBAL__sub_I_Joystick_cpp_4336:xja,__GLOBAL__sub_I_Keyboard_cpp:rka,__GLOBAL__sub_I_Keyboard_cpp_4545:vka,__GLOBAL__sub_I_Cursor_cpp_4586:Yka,__GLOBAL__sub_I_Channel_cpp:epa,__GLOBAL__sub_I_fastmix_cpp:PLa,__GLOBAL__sub_I_Body_cpp:Qn,__GLOBAL__sub_I_iostream_cpp:Pqb,runPostSets:tBb,_emscripten_replace_memory:wi,stackAlloc:wj,stackSave:xj,stackRestore:yj,establishStackSpace:zj,setThrew:Aj,setTempRet0:Dj,getTempRet0:Ej,dynCall_iiiiiiii:OBb,dynCall_iiiiiid:PBb,dynCall_vd:QBb,dynCall_vid:RBb,dynCall_viiiii:SBb,dynCall_iiiiiiiiii:TBb,dynCall_vii:UBb,dynCall_iiiiiii:VBb,dynCall_viddddddddd:WBb,dynCall_ii:XBb,dynCall_ddddd:YBb,dynCall_viiiiiiiiiii:ZBb,dynCall_viddii:_Bb,dynCall_viidi:$Bb,dynCall_viidddd:aCb,dynCall_viddd:bCb,dynCall_iiiiii:cCb,dynCall_vidi:dCb,dynCall_vdddddd:eCb,dynCall_vidd:fCb,dynCall_iiii:gCb,dynCall_vi:hCb,dynCall_viiiiii:iCb,dynCall_diiiid:jCb,dynCall_ddd:kCb,dynCall_viid:lCb,dynCall_di:mCb,dynCall_vdi:nCb,dynCall_dd:oCb,dynCall_viiiiiiii:pCb,dynCall_vidddd:qCb,dynCall_iid:rCb,dynCall_dddd:sCb,dynCall_viiiiiii:tCb,dynCall_iiddd:uCb,dynCall_viiiiiiiii:vCb,dynCall_viiiiiiiiii:wCb,dynCall_iii:xCb,dynCall_diii:yCb,dynCall_viiddddddddd:zCb,dynCall_dii:ACb,dynCall_viii:BCb,dynCall_did:CCb,dynCall_iiiiidii:DCb,dynCall_iiiii:ECb,dynCall_i:FCb,dynCall_vdddd:GCb,dynCall_vdd:HCb,dynCall_v:ICb,dynCall_iiiiiiiii:JCb,dynCall_viiiiiiiid:KCb,dynCall_iiiiid:LCb,dynCall_viiii:MCb}}) // EMSCRIPTEN_END_ASM -(Module.asmGlobalArg,Module.asmLibraryArg,buffer);var __GLOBAL__sub_I_Texture_cpp=Module["__GLOBAL__sub_I_Texture_cpp"]=asm["__GLOBAL__sub_I_Texture_cpp"];var _main=Module["_main"]=asm["_main"];var __GLOBAL__sub_I_Source_cpp=Module["__GLOBAL__sub_I_Source_cpp"]=asm["__GLOBAL__sub_I_Source_cpp"];var __GLOBAL__sub_I_File_cpp=Module["__GLOBAL__sub_I_File_cpp"]=asm["__GLOBAL__sub_I_File_cpp"];var __GLOBAL__sub_I_Keyboard_cpp=Module["__GLOBAL__sub_I_Keyboard_cpp"]=asm["__GLOBAL__sub_I_Keyboard_cpp"];var __GLOBAL__sub_I_CompressedImageData_cpp=Module["__GLOBAL__sub_I_CompressedImageData_cpp"]=asm["__GLOBAL__sub_I_CompressedImageData_cpp"];var _memset=Module["_memset"]=asm["_memset"];var __GLOBAL__sub_I_TrueTypeRasterizer_cpp=Module["__GLOBAL__sub_I_TrueTypeRasterizer_cpp"]=asm["__GLOBAL__sub_I_TrueTypeRasterizer_cpp"];var __GLOBAL__sub_I_GlyphData_cpp=Module["__GLOBAL__sub_I_GlyphData_cpp"]=asm["__GLOBAL__sub_I_GlyphData_cpp"];var __GLOBAL__sub_I_Audio_cpp=Module["__GLOBAL__sub_I_Audio_cpp"]=asm["__GLOBAL__sub_I_Audio_cpp"];var __GLOBAL__sub_I_Keyboard_cpp_4545=Module["__GLOBAL__sub_I_Keyboard_cpp_4545"]=asm["__GLOBAL__sub_I_Keyboard_cpp_4545"];var _bitshift64Lshr=Module["_bitshift64Lshr"]=asm["_bitshift64Lshr"];var __GLOBAL__sub_I_Body_cpp=Module["__GLOBAL__sub_I_Body_cpp"]=asm["__GLOBAL__sub_I_Body_cpp"];var __GLOBAL__sub_I_Joint_cpp=Module["__GLOBAL__sub_I_Joint_cpp"]=asm["__GLOBAL__sub_I_Joint_cpp"];var __GLOBAL__sub_I_Joystick_cpp=Module["__GLOBAL__sub_I_Joystick_cpp"]=asm["__GLOBAL__sub_I_Joystick_cpp"];var _bitshift64Shl=Module["_bitshift64Shl"]=asm["_bitshift64Shl"];var __GLOBAL__sub_I_Mesh_cpp=Module["__GLOBAL__sub_I_Mesh_cpp"]=asm["__GLOBAL__sub_I_Mesh_cpp"];var __GLOBAL__sub_I_System_cpp=Module["__GLOBAL__sub_I_System_cpp"]=asm["__GLOBAL__sub_I_System_cpp"];var __GLOBAL__sub_I_Cursor_cpp=Module["__GLOBAL__sub_I_Cursor_cpp"]=asm["__GLOBAL__sub_I_Cursor_cpp"];var ___cxa_is_pointer_type=Module["___cxa_is_pointer_type"]=asm["___cxa_is_pointer_type"];var _llvm_ctlz_i64=Module["_llvm_ctlz_i64"]=asm["_llvm_ctlz_i64"];var __GLOBAL__sub_I_MathModule_cpp=Module["__GLOBAL__sub_I_MathModule_cpp"]=asm["__GLOBAL__sub_I_MathModule_cpp"];var _bitshift64Ashr=Module["_bitshift64Ashr"]=asm["_bitshift64Ashr"];var _llvm_cttz_i32=Module["_llvm_cttz_i32"]=asm["_llvm_cttz_i32"];var __GLOBAL__sub_I_types_cpp=Module["__GLOBAL__sub_I_types_cpp"]=asm["__GLOBAL__sub_I_types_cpp"];var __GLOBAL__sub_I_System_cpp_2273=Module["__GLOBAL__sub_I_System_cpp_2273"]=asm["__GLOBAL__sub_I_System_cpp_2273"];var _memcpy=Module["_memcpy"]=asm["_memcpy"];var _llvm_bswap_i32=Module["_llvm_bswap_i32"]=asm["_llvm_bswap_i32"];var __GLOBAL__sub_I_Event_cpp=Module["__GLOBAL__sub_I_Event_cpp"]=asm["__GLOBAL__sub_I_Event_cpp"];var __GLOBAL__sub_I_Window_cpp=Module["__GLOBAL__sub_I_Window_cpp"]=asm["__GLOBAL__sub_I_Window_cpp"];var __GLOBAL__sub_I_Graphics_cpp=Module["__GLOBAL__sub_I_Graphics_cpp"]=asm["__GLOBAL__sub_I_Graphics_cpp"];var __GLOBAL__sub_I_Cursor_cpp_4586=Module["__GLOBAL__sub_I_Cursor_cpp_4586"]=asm["__GLOBAL__sub_I_Cursor_cpp_4586"];var __GLOBAL__sub_I_ParticleSystem_cpp=Module["__GLOBAL__sub_I_ParticleSystem_cpp"]=asm["__GLOBAL__sub_I_ParticleSystem_cpp"];var _i64Subtract=Module["_i64Subtract"]=asm["_i64Subtract"];var __GLOBAL__sub_I_Channel_cpp=Module["__GLOBAL__sub_I_Channel_cpp"]=asm["__GLOBAL__sub_I_Channel_cpp"];var _ntohs=Module["_ntohs"]=asm["_ntohs"];var _htonl=Module["_htonl"]=asm["_htonl"];var _realloc=Module["_realloc"]=asm["_realloc"];var _i64Add=Module["_i64Add"]=asm["_i64Add"];var ___cxa_can_catch=Module["___cxa_can_catch"]=asm["___cxa_can_catch"];var __GLOBAL__sub_I_Joystick_cpp_4336=Module["__GLOBAL__sub_I_Joystick_cpp_4336"]=asm["__GLOBAL__sub_I_Joystick_cpp_4336"];var __GLOBAL__I_000101=Module["__GLOBAL__I_000101"]=asm["__GLOBAL__I_000101"];var __GLOBAL__sub_I_Memoizer_cpp=Module["__GLOBAL__sub_I_Memoizer_cpp"]=asm["__GLOBAL__sub_I_Memoizer_cpp"];var __GLOBAL__sub_I_Shader_cpp=Module["__GLOBAL__sub_I_Shader_cpp"]=asm["__GLOBAL__sub_I_Shader_cpp"];var __GLOBAL__sub_I_Shape_cpp=Module["__GLOBAL__sub_I_Shape_cpp"]=asm["__GLOBAL__sub_I_Shape_cpp"];var __GLOBAL__sub_I_iostream_cpp=Module["__GLOBAL__sub_I_iostream_cpp"]=asm["__GLOBAL__sub_I_iostream_cpp"];var _htons=Module["_htons"]=asm["_htons"];var _emscripten_GetProcAddress=Module["_emscripten_GetProcAddress"]=asm["_emscripten_GetProcAddress"];var __GLOBAL__sub_I_Image_cpp=Module["__GLOBAL__sub_I_Image_cpp"]=asm["__GLOBAL__sub_I_Image_cpp"];var __GLOBAL__sub_I_Font_cpp=Module["__GLOBAL__sub_I_Font_cpp"]=asm["__GLOBAL__sub_I_Font_cpp"];var ___errno_location=Module["___errno_location"]=asm["___errno_location"];var runPostSets=Module["runPostSets"]=asm["runPostSets"];var _testSetjmp=Module["_testSetjmp"]=asm["_testSetjmp"];var _saveSetjmp=Module["_saveSetjmp"]=asm["_saveSetjmp"];var _free=Module["_free"]=asm["_free"];var __GLOBAL__sub_I_OpenGL_cpp=Module["__GLOBAL__sub_I_OpenGL_cpp"]=asm["__GLOBAL__sub_I_OpenGL_cpp"];var __GLOBAL__sub_I_Canvas_cpp=Module["__GLOBAL__sub_I_Canvas_cpp"]=asm["__GLOBAL__sub_I_Canvas_cpp"];var _memmove=Module["_memmove"]=asm["_memmove"];var _strstr=Module["_strstr"]=asm["_strstr"];var __GLOBAL__sub_I_Compressor_cpp=Module["__GLOBAL__sub_I_Compressor_cpp"]=asm["__GLOBAL__sub_I_Compressor_cpp"];var __GLOBAL__sub_I_FileData_cpp=Module["__GLOBAL__sub_I_FileData_cpp"]=asm["__GLOBAL__sub_I_FileData_cpp"];var __GLOBAL__sub_I_fastmix_cpp=Module["__GLOBAL__sub_I_fastmix_cpp"]=asm["__GLOBAL__sub_I_fastmix_cpp"];var _malloc=Module["_malloc"]=asm["_malloc"];var __GLOBAL__sub_I_Volatile_cpp=Module["__GLOBAL__sub_I_Volatile_cpp"]=asm["__GLOBAL__sub_I_Volatile_cpp"];var __GLOBAL__sub_I_ImageData_cpp=Module["__GLOBAL__sub_I_ImageData_cpp"]=asm["__GLOBAL__sub_I_ImageData_cpp"];var dynCall_iiiiiiii=Module["dynCall_iiiiiiii"]=asm["dynCall_iiiiiiii"];var dynCall_iiiiiid=Module["dynCall_iiiiiid"]=asm["dynCall_iiiiiid"];var dynCall_vd=Module["dynCall_vd"]=asm["dynCall_vd"];var dynCall_vid=Module["dynCall_vid"]=asm["dynCall_vid"];var dynCall_viiiii=Module["dynCall_viiiii"]=asm["dynCall_viiiii"];var dynCall_iiiiiiiiii=Module["dynCall_iiiiiiiiii"]=asm["dynCall_iiiiiiiiii"];var dynCall_vii=Module["dynCall_vii"]=asm["dynCall_vii"];var dynCall_iiiiiii=Module["dynCall_iiiiiii"]=asm["dynCall_iiiiiii"];var dynCall_viddddddddd=Module["dynCall_viddddddddd"]=asm["dynCall_viddddddddd"];var dynCall_ii=Module["dynCall_ii"]=asm["dynCall_ii"];var dynCall_ddddd=Module["dynCall_ddddd"]=asm["dynCall_ddddd"];var dynCall_viiiiiiiiiii=Module["dynCall_viiiiiiiiiii"]=asm["dynCall_viiiiiiiiiii"];var dynCall_viddii=Module["dynCall_viddii"]=asm["dynCall_viddii"];var dynCall_viidi=Module["dynCall_viidi"]=asm["dynCall_viidi"];var dynCall_viidddd=Module["dynCall_viidddd"]=asm["dynCall_viidddd"];var dynCall_viddd=Module["dynCall_viddd"]=asm["dynCall_viddd"];var dynCall_iiiiii=Module["dynCall_iiiiii"]=asm["dynCall_iiiiii"];var dynCall_vidi=Module["dynCall_vidi"]=asm["dynCall_vidi"];var dynCall_vdddddd=Module["dynCall_vdddddd"]=asm["dynCall_vdddddd"];var dynCall_vidd=Module["dynCall_vidd"]=asm["dynCall_vidd"];var dynCall_iiii=Module["dynCall_iiii"]=asm["dynCall_iiii"];var dynCall_vi=Module["dynCall_vi"]=asm["dynCall_vi"];var dynCall_viiiiii=Module["dynCall_viiiiii"]=asm["dynCall_viiiiii"];var dynCall_diiiid=Module["dynCall_diiiid"]=asm["dynCall_diiiid"];var dynCall_ddd=Module["dynCall_ddd"]=asm["dynCall_ddd"];var dynCall_viid=Module["dynCall_viid"]=asm["dynCall_viid"];var dynCall_di=Module["dynCall_di"]=asm["dynCall_di"];var dynCall_vdi=Module["dynCall_vdi"]=asm["dynCall_vdi"];var dynCall_dd=Module["dynCall_dd"]=asm["dynCall_dd"];var dynCall_viiiiiiii=Module["dynCall_viiiiiiii"]=asm["dynCall_viiiiiiii"];var dynCall_vidddd=Module["dynCall_vidddd"]=asm["dynCall_vidddd"];var dynCall_iid=Module["dynCall_iid"]=asm["dynCall_iid"];var dynCall_dddd=Module["dynCall_dddd"]=asm["dynCall_dddd"];var dynCall_viiiiiii=Module["dynCall_viiiiiii"]=asm["dynCall_viiiiiii"];var dynCall_iiddd=Module["dynCall_iiddd"]=asm["dynCall_iiddd"];var dynCall_viiiiiiiii=Module["dynCall_viiiiiiiii"]=asm["dynCall_viiiiiiiii"];var dynCall_viiiiiiiiii=Module["dynCall_viiiiiiiiii"]=asm["dynCall_viiiiiiiiii"];var dynCall_iii=Module["dynCall_iii"]=asm["dynCall_iii"];var dynCall_diii=Module["dynCall_diii"]=asm["dynCall_diii"];var dynCall_viiddddddddd=Module["dynCall_viiddddddddd"]=asm["dynCall_viiddddddddd"];var dynCall_dii=Module["dynCall_dii"]=asm["dynCall_dii"];var dynCall_viii=Module["dynCall_viii"]=asm["dynCall_viii"];var dynCall_did=Module["dynCall_did"]=asm["dynCall_did"];var dynCall_iiiiidii=Module["dynCall_iiiiidii"]=asm["dynCall_iiiiidii"];var dynCall_iiiii=Module["dynCall_iiiii"]=asm["dynCall_iiiii"];var dynCall_i=Module["dynCall_i"]=asm["dynCall_i"];var dynCall_vdddd=Module["dynCall_vdddd"]=asm["dynCall_vdddd"];var dynCall_vdd=Module["dynCall_vdd"]=asm["dynCall_vdd"];var dynCall_v=Module["dynCall_v"]=asm["dynCall_v"];var dynCall_iiiiiiiii=Module["dynCall_iiiiiiiii"]=asm["dynCall_iiiiiiiii"];var dynCall_viiiiiiiid=Module["dynCall_viiiiiiiid"]=asm["dynCall_viiiiiiiid"];var dynCall_iiiiid=Module["dynCall_iiiiid"]=asm["dynCall_iiiiid"];var dynCall_viiii=Module["dynCall_viiii"]=asm["dynCall_viiii"];Runtime.stackAlloc=asm["stackAlloc"];Runtime.stackSave=asm["stackSave"];Runtime.stackRestore=asm["stackRestore"];Runtime.establishStackSpace=asm["establishStackSpace"];Runtime.setTempRet0=asm["setTempRet0"];Runtime.getTempRet0=asm["getTempRet0"];if(memoryInitializer){if(typeof Module["locateFile"]==="function"){memoryInitializer=Module["locateFile"](memoryInitializer)}else if(Module["memoryInitializerPrefixURL"]){memoryInitializer=Module["memoryInitializerPrefixURL"]+memoryInitializer}if(ENVIRONMENT_IS_NODE||ENVIRONMENT_IS_SHELL){var data=Module["readBinary"](memoryInitializer);HEAPU8.set(data,Runtime.GLOBAL_BASE)}else{addRunDependency("memory initializer");var applyMemoryInitializer=(function(data){if(data.byteLength)data=new Uint8Array(data);HEAPU8.set(data,Runtime.GLOBAL_BASE);if(Module["memoryInitializerRequest"])delete Module["memoryInitializerRequest"].response;removeRunDependency("memory initializer")});function doBrowserLoad(){Module["readAsync"](memoryInitializer,applyMemoryInitializer,(function(){throw"could not load memory initializer "+memoryInitializer}))}if(Module["memoryInitializerRequest"]){function useRequest(){var request=Module["memoryInitializerRequest"];if(request.status!==200&&request.status!==0){console.warn("a problem seems to have happened with Module.memoryInitializerRequest, status: "+request.status+", retrying "+memoryInitializer);doBrowserLoad();return}applyMemoryInitializer(request.response)}if(Module["memoryInitializerRequest"].response){setTimeout(useRequest,0)}else{Module["memoryInitializerRequest"].addEventListener("load",useRequest)}}else{doBrowserLoad()}}}function ExitStatus(status){this.name="ExitStatus";this.message="Program terminated with exit("+status+")";this.status=status}ExitStatus.prototype=new Error;ExitStatus.prototype.constructor=ExitStatus;var initialStackTop;var preloadStartTime=null;var calledMain=false;dependenciesFulfilled=function runCaller(){if(!Module["calledRun"])run();if(!Module["calledRun"])dependenciesFulfilled=runCaller};Module["callMain"]=Module.callMain=function callMain(args){args=args||[];ensureInitRuntime();var argc=args.length+1;function pad(){for(var i=0;i<4-1;i++){argv.push(0)}}var argv=[allocate(intArrayFromString(Module["thisProgram"]),"i8",ALLOC_NORMAL)];pad();for(var i=0;i0){return}preRun();if(runDependencies>0)return;if(Module["calledRun"])return;function doRun(){if(Module["calledRun"])return;Module["calledRun"]=true;if(ABORT)return;ensureInitRuntime();preMain();if(Module["onRuntimeInitialized"])Module["onRuntimeInitialized"]();if(Module["_main"]&&shouldRunNow)Module["callMain"](args);postRun()}if(Module["setStatus"]){Module["setStatus"]("Running...");setTimeout((function(){setTimeout((function(){Module["setStatus"]("")}),1);doRun()}),1)}else{doRun()}}Module["run"]=Module.run=run;function exit(status,implicit){if(implicit&&Module["noExitRuntime"]){return}if(Module["noExitRuntime"]){}else{ABORT=true;EXITSTATUS=status;STACKTOP=initialStackTop;exitRuntime();if(Module["onExit"])Module["onExit"](status)}if(ENVIRONMENT_IS_NODE){process["exit"](status)}else if(ENVIRONMENT_IS_SHELL&&typeof quit==="function"){quit(status)}throw new ExitStatus(status)}Module["exit"]=Module.exit=exit;var abortDecorators=[];function abort(what){if(what!==undefined){Module.print(what);Module.printErr(what);what=JSON.stringify(what)}else{what=""}ABORT=true;EXITSTATUS=1;var extra="\nIf this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information.";var output="abort("+what+") at "+stackTrace()+extra;if(abortDecorators){abortDecorators.forEach((function(decorator){output=decorator(output,what)}))}throw output}Module["abort"]=Module.abort=abort;if(Module["preInit"]){if(typeof Module["preInit"]=="function")Module["preInit"]=[Module["preInit"]];while(Module["preInit"].length>0){Module["preInit"].pop()()}}var shouldRunNow=false;if(Module["noInitialRun"]){shouldRunNow=false}Module["noExitRuntime"]=true;run();Module.setStatus("Syncing filesystem...");FS.mkdir(ENV.HOME+"/love");FS.mount(IDBFS,{},ENV.HOME+"/love");FS.syncfs(true,(function(err){if(err){Module.printErr(err)}else{Module.didSyncFS=true;Module.setStatus("")}})) +(Module.asmGlobalArg,Module.asmLibraryArg,buffer);var __GLOBAL__sub_I_Texture_cpp=Module["__GLOBAL__sub_I_Texture_cpp"]=asm["__GLOBAL__sub_I_Texture_cpp"];var _main=Module["_main"]=asm["_main"];var __GLOBAL__sub_I_Source_cpp=Module["__GLOBAL__sub_I_Source_cpp"]=asm["__GLOBAL__sub_I_Source_cpp"];var __GLOBAL__sub_I_File_cpp=Module["__GLOBAL__sub_I_File_cpp"]=asm["__GLOBAL__sub_I_File_cpp"];var __GLOBAL__sub_I_Keyboard_cpp=Module["__GLOBAL__sub_I_Keyboard_cpp"]=asm["__GLOBAL__sub_I_Keyboard_cpp"];var __GLOBAL__sub_I_CompressedImageData_cpp=Module["__GLOBAL__sub_I_CompressedImageData_cpp"]=asm["__GLOBAL__sub_I_CompressedImageData_cpp"];var _memset=Module["_memset"]=asm["_memset"];var __GLOBAL__sub_I_TrueTypeRasterizer_cpp=Module["__GLOBAL__sub_I_TrueTypeRasterizer_cpp"]=asm["__GLOBAL__sub_I_TrueTypeRasterizer_cpp"];var __GLOBAL__sub_I_GlyphData_cpp=Module["__GLOBAL__sub_I_GlyphData_cpp"]=asm["__GLOBAL__sub_I_GlyphData_cpp"];var __GLOBAL__sub_I_Audio_cpp=Module["__GLOBAL__sub_I_Audio_cpp"]=asm["__GLOBAL__sub_I_Audio_cpp"];var __GLOBAL__sub_I_Keyboard_cpp_4545=Module["__GLOBAL__sub_I_Keyboard_cpp_4545"]=asm["__GLOBAL__sub_I_Keyboard_cpp_4545"];var _bitshift64Lshr=Module["_bitshift64Lshr"]=asm["_bitshift64Lshr"];var __GLOBAL__sub_I_Body_cpp=Module["__GLOBAL__sub_I_Body_cpp"]=asm["__GLOBAL__sub_I_Body_cpp"];var __GLOBAL__sub_I_Joint_cpp=Module["__GLOBAL__sub_I_Joint_cpp"]=asm["__GLOBAL__sub_I_Joint_cpp"];var __GLOBAL__sub_I_Joystick_cpp=Module["__GLOBAL__sub_I_Joystick_cpp"]=asm["__GLOBAL__sub_I_Joystick_cpp"];var _bitshift64Shl=Module["_bitshift64Shl"]=asm["_bitshift64Shl"];var __GLOBAL__sub_I_Mesh_cpp=Module["__GLOBAL__sub_I_Mesh_cpp"]=asm["__GLOBAL__sub_I_Mesh_cpp"];var __GLOBAL__sub_I_System_cpp=Module["__GLOBAL__sub_I_System_cpp"]=asm["__GLOBAL__sub_I_System_cpp"];var __GLOBAL__sub_I_Cursor_cpp=Module["__GLOBAL__sub_I_Cursor_cpp"]=asm["__GLOBAL__sub_I_Cursor_cpp"];var ___cxa_is_pointer_type=Module["___cxa_is_pointer_type"]=asm["___cxa_is_pointer_type"];var _llvm_ctlz_i64=Module["_llvm_ctlz_i64"]=asm["_llvm_ctlz_i64"];var __GLOBAL__sub_I_MathModule_cpp=Module["__GLOBAL__sub_I_MathModule_cpp"]=asm["__GLOBAL__sub_I_MathModule_cpp"];var _bitshift64Ashr=Module["_bitshift64Ashr"]=asm["_bitshift64Ashr"];var _llvm_cttz_i32=Module["_llvm_cttz_i32"]=asm["_llvm_cttz_i32"];var __GLOBAL__sub_I_types_cpp=Module["__GLOBAL__sub_I_types_cpp"]=asm["__GLOBAL__sub_I_types_cpp"];var __GLOBAL__sub_I_System_cpp_2273=Module["__GLOBAL__sub_I_System_cpp_2273"]=asm["__GLOBAL__sub_I_System_cpp_2273"];var _memcpy=Module["_memcpy"]=asm["_memcpy"];var _llvm_bswap_i32=Module["_llvm_bswap_i32"]=asm["_llvm_bswap_i32"];var __GLOBAL__sub_I_Event_cpp=Module["__GLOBAL__sub_I_Event_cpp"]=asm["__GLOBAL__sub_I_Event_cpp"];var __GLOBAL__sub_I_Window_cpp=Module["__GLOBAL__sub_I_Window_cpp"]=asm["__GLOBAL__sub_I_Window_cpp"];var __GLOBAL__sub_I_Graphics_cpp=Module["__GLOBAL__sub_I_Graphics_cpp"]=asm["__GLOBAL__sub_I_Graphics_cpp"];var __GLOBAL__sub_I_Cursor_cpp_4586=Module["__GLOBAL__sub_I_Cursor_cpp_4586"]=asm["__GLOBAL__sub_I_Cursor_cpp_4586"];var __GLOBAL__sub_I_ParticleSystem_cpp=Module["__GLOBAL__sub_I_ParticleSystem_cpp"]=asm["__GLOBAL__sub_I_ParticleSystem_cpp"];var _i64Subtract=Module["_i64Subtract"]=asm["_i64Subtract"];var __GLOBAL__sub_I_Channel_cpp=Module["__GLOBAL__sub_I_Channel_cpp"]=asm["__GLOBAL__sub_I_Channel_cpp"];var _ntohs=Module["_ntohs"]=asm["_ntohs"];var _htonl=Module["_htonl"]=asm["_htonl"];var _realloc=Module["_realloc"]=asm["_realloc"];var _i64Add=Module["_i64Add"]=asm["_i64Add"];var ___cxa_can_catch=Module["___cxa_can_catch"]=asm["___cxa_can_catch"];var __GLOBAL__sub_I_Joystick_cpp_4336=Module["__GLOBAL__sub_I_Joystick_cpp_4336"]=asm["__GLOBAL__sub_I_Joystick_cpp_4336"];var __GLOBAL__I_000101=Module["__GLOBAL__I_000101"]=asm["__GLOBAL__I_000101"];var __GLOBAL__sub_I_Memoizer_cpp=Module["__GLOBAL__sub_I_Memoizer_cpp"]=asm["__GLOBAL__sub_I_Memoizer_cpp"];var __GLOBAL__sub_I_Shader_cpp=Module["__GLOBAL__sub_I_Shader_cpp"]=asm["__GLOBAL__sub_I_Shader_cpp"];var __GLOBAL__sub_I_Shape_cpp=Module["__GLOBAL__sub_I_Shape_cpp"]=asm["__GLOBAL__sub_I_Shape_cpp"];var __GLOBAL__sub_I_iostream_cpp=Module["__GLOBAL__sub_I_iostream_cpp"]=asm["__GLOBAL__sub_I_iostream_cpp"];var _htons=Module["_htons"]=asm["_htons"];var _emscripten_GetProcAddress=Module["_emscripten_GetProcAddress"]=asm["_emscripten_GetProcAddress"];var __GLOBAL__sub_I_Image_cpp=Module["__GLOBAL__sub_I_Image_cpp"]=asm["__GLOBAL__sub_I_Image_cpp"];var __GLOBAL__sub_I_Font_cpp=Module["__GLOBAL__sub_I_Font_cpp"]=asm["__GLOBAL__sub_I_Font_cpp"];var ___errno_location=Module["___errno_location"]=asm["___errno_location"];var runPostSets=Module["runPostSets"]=asm["runPostSets"];var _testSetjmp=Module["_testSetjmp"]=asm["_testSetjmp"];var _saveSetjmp=Module["_saveSetjmp"]=asm["_saveSetjmp"];var _free=Module["_free"]=asm["_free"];var __GLOBAL__sub_I_OpenGL_cpp=Module["__GLOBAL__sub_I_OpenGL_cpp"]=asm["__GLOBAL__sub_I_OpenGL_cpp"];var __GLOBAL__sub_I_Canvas_cpp=Module["__GLOBAL__sub_I_Canvas_cpp"]=asm["__GLOBAL__sub_I_Canvas_cpp"];var _memmove=Module["_memmove"]=asm["_memmove"];var _strstr=Module["_strstr"]=asm["_strstr"];var __GLOBAL__sub_I_Compressor_cpp=Module["__GLOBAL__sub_I_Compressor_cpp"]=asm["__GLOBAL__sub_I_Compressor_cpp"];var __GLOBAL__sub_I_FileData_cpp=Module["__GLOBAL__sub_I_FileData_cpp"]=asm["__GLOBAL__sub_I_FileData_cpp"];var __GLOBAL__sub_I_fastmix_cpp=Module["__GLOBAL__sub_I_fastmix_cpp"]=asm["__GLOBAL__sub_I_fastmix_cpp"];var _malloc=Module["_malloc"]=asm["_malloc"];var _emscripten_replace_memory=Module["_emscripten_replace_memory"]=asm["_emscripten_replace_memory"];var __GLOBAL__sub_I_Volatile_cpp=Module["__GLOBAL__sub_I_Volatile_cpp"]=asm["__GLOBAL__sub_I_Volatile_cpp"];var __GLOBAL__sub_I_ImageData_cpp=Module["__GLOBAL__sub_I_ImageData_cpp"]=asm["__GLOBAL__sub_I_ImageData_cpp"];var dynCall_iiiiiiii=Module["dynCall_iiiiiiii"]=asm["dynCall_iiiiiiii"];var dynCall_iiiiiid=Module["dynCall_iiiiiid"]=asm["dynCall_iiiiiid"];var dynCall_vd=Module["dynCall_vd"]=asm["dynCall_vd"];var dynCall_vid=Module["dynCall_vid"]=asm["dynCall_vid"];var dynCall_viiiii=Module["dynCall_viiiii"]=asm["dynCall_viiiii"];var dynCall_iiiiiiiiii=Module["dynCall_iiiiiiiiii"]=asm["dynCall_iiiiiiiiii"];var dynCall_vii=Module["dynCall_vii"]=asm["dynCall_vii"];var dynCall_iiiiiii=Module["dynCall_iiiiiii"]=asm["dynCall_iiiiiii"];var dynCall_viddddddddd=Module["dynCall_viddddddddd"]=asm["dynCall_viddddddddd"];var dynCall_ii=Module["dynCall_ii"]=asm["dynCall_ii"];var dynCall_ddddd=Module["dynCall_ddddd"]=asm["dynCall_ddddd"];var dynCall_viiiiiiiiiii=Module["dynCall_viiiiiiiiiii"]=asm["dynCall_viiiiiiiiiii"];var dynCall_viddii=Module["dynCall_viddii"]=asm["dynCall_viddii"];var dynCall_viidi=Module["dynCall_viidi"]=asm["dynCall_viidi"];var dynCall_viidddd=Module["dynCall_viidddd"]=asm["dynCall_viidddd"];var dynCall_viddd=Module["dynCall_viddd"]=asm["dynCall_viddd"];var dynCall_iiiiii=Module["dynCall_iiiiii"]=asm["dynCall_iiiiii"];var dynCall_vidi=Module["dynCall_vidi"]=asm["dynCall_vidi"];var dynCall_vdddddd=Module["dynCall_vdddddd"]=asm["dynCall_vdddddd"];var dynCall_vidd=Module["dynCall_vidd"]=asm["dynCall_vidd"];var dynCall_iiii=Module["dynCall_iiii"]=asm["dynCall_iiii"];var dynCall_vi=Module["dynCall_vi"]=asm["dynCall_vi"];var dynCall_viiiiii=Module["dynCall_viiiiii"]=asm["dynCall_viiiiii"];var dynCall_diiiid=Module["dynCall_diiiid"]=asm["dynCall_diiiid"];var dynCall_ddd=Module["dynCall_ddd"]=asm["dynCall_ddd"];var dynCall_viid=Module["dynCall_viid"]=asm["dynCall_viid"];var dynCall_di=Module["dynCall_di"]=asm["dynCall_di"];var dynCall_vdi=Module["dynCall_vdi"]=asm["dynCall_vdi"];var dynCall_dd=Module["dynCall_dd"]=asm["dynCall_dd"];var dynCall_viiiiiiii=Module["dynCall_viiiiiiii"]=asm["dynCall_viiiiiiii"];var dynCall_vidddd=Module["dynCall_vidddd"]=asm["dynCall_vidddd"];var dynCall_iid=Module["dynCall_iid"]=asm["dynCall_iid"];var dynCall_dddd=Module["dynCall_dddd"]=asm["dynCall_dddd"];var dynCall_viiiiiii=Module["dynCall_viiiiiii"]=asm["dynCall_viiiiiii"];var dynCall_iiddd=Module["dynCall_iiddd"]=asm["dynCall_iiddd"];var dynCall_viiiiiiiii=Module["dynCall_viiiiiiiii"]=asm["dynCall_viiiiiiiii"];var dynCall_viiiiiiiiii=Module["dynCall_viiiiiiiiii"]=asm["dynCall_viiiiiiiiii"];var dynCall_iii=Module["dynCall_iii"]=asm["dynCall_iii"];var dynCall_diii=Module["dynCall_diii"]=asm["dynCall_diii"];var dynCall_viiddddddddd=Module["dynCall_viiddddddddd"]=asm["dynCall_viiddddddddd"];var dynCall_dii=Module["dynCall_dii"]=asm["dynCall_dii"];var dynCall_viii=Module["dynCall_viii"]=asm["dynCall_viii"];var dynCall_did=Module["dynCall_did"]=asm["dynCall_did"];var dynCall_iiiiidii=Module["dynCall_iiiiidii"]=asm["dynCall_iiiiidii"];var dynCall_iiiii=Module["dynCall_iiiii"]=asm["dynCall_iiiii"];var dynCall_i=Module["dynCall_i"]=asm["dynCall_i"];var dynCall_vdddd=Module["dynCall_vdddd"]=asm["dynCall_vdddd"];var dynCall_vdd=Module["dynCall_vdd"]=asm["dynCall_vdd"];var dynCall_v=Module["dynCall_v"]=asm["dynCall_v"];var dynCall_iiiiiiiii=Module["dynCall_iiiiiiiii"]=asm["dynCall_iiiiiiiii"];var dynCall_viiiiiiiid=Module["dynCall_viiiiiiiid"]=asm["dynCall_viiiiiiiid"];var dynCall_iiiiid=Module["dynCall_iiiiid"]=asm["dynCall_iiiiid"];var dynCall_viiii=Module["dynCall_viiii"]=asm["dynCall_viiii"];Runtime.stackAlloc=asm["stackAlloc"];Runtime.stackSave=asm["stackSave"];Runtime.stackRestore=asm["stackRestore"];Runtime.establishStackSpace=asm["establishStackSpace"];Runtime.setTempRet0=asm["setTempRet0"];Runtime.getTempRet0=asm["getTempRet0"];if(memoryInitializer){if(typeof Module["locateFile"]==="function"){memoryInitializer=Module["locateFile"](memoryInitializer)}else if(Module["memoryInitializerPrefixURL"]){memoryInitializer=Module["memoryInitializerPrefixURL"]+memoryInitializer}if(ENVIRONMENT_IS_NODE||ENVIRONMENT_IS_SHELL){var data=Module["readBinary"](memoryInitializer);HEAPU8.set(data,Runtime.GLOBAL_BASE)}else{addRunDependency("memory initializer");var applyMemoryInitializer=(function(data){if(data.byteLength)data=new Uint8Array(data);HEAPU8.set(data,Runtime.GLOBAL_BASE);if(Module["memoryInitializerRequest"])delete Module["memoryInitializerRequest"].response;removeRunDependency("memory initializer")});function doBrowserLoad(){Module["readAsync"](memoryInitializer,applyMemoryInitializer,(function(){throw"could not load memory initializer "+memoryInitializer}))}if(Module["memoryInitializerRequest"]){function useRequest(){var request=Module["memoryInitializerRequest"];if(request.status!==200&&request.status!==0){console.warn("a problem seems to have happened with Module.memoryInitializerRequest, status: "+request.status+", retrying "+memoryInitializer);doBrowserLoad();return}applyMemoryInitializer(request.response)}if(Module["memoryInitializerRequest"].response){setTimeout(useRequest,0)}else{Module["memoryInitializerRequest"].addEventListener("load",useRequest)}}else{doBrowserLoad()}}}function ExitStatus(status){this.name="ExitStatus";this.message="Program terminated with exit("+status+")";this.status=status}ExitStatus.prototype=new Error;ExitStatus.prototype.constructor=ExitStatus;var initialStackTop;var preloadStartTime=null;var calledMain=false;dependenciesFulfilled=function runCaller(){if(!Module["calledRun"])run();if(!Module["calledRun"])dependenciesFulfilled=runCaller};Module["callMain"]=Module.callMain=function callMain(args){args=args||[];ensureInitRuntime();var argc=args.length+1;function pad(){for(var i=0;i<4-1;i++){argv.push(0)}}var argv=[allocate(intArrayFromString(Module["thisProgram"]),"i8",ALLOC_NORMAL)];pad();for(var i=0;i0){return}preRun();if(runDependencies>0)return;if(Module["calledRun"])return;function doRun(){if(Module["calledRun"])return;Module["calledRun"]=true;if(ABORT)return;ensureInitRuntime();preMain();if(Module["onRuntimeInitialized"])Module["onRuntimeInitialized"]();if(Module["_main"]&&shouldRunNow)Module["callMain"](args);postRun()}if(Module["setStatus"]){Module["setStatus"]("Running...");setTimeout((function(){setTimeout((function(){Module["setStatus"]("")}),1);doRun()}),1)}else{doRun()}}Module["run"]=Module.run=run;function exit(status,implicit){if(implicit&&Module["noExitRuntime"]){return}if(Module["noExitRuntime"]){}else{ABORT=true;EXITSTATUS=status;STACKTOP=initialStackTop;exitRuntime();if(Module["onExit"])Module["onExit"](status)}if(ENVIRONMENT_IS_NODE){process["exit"](status)}else if(ENVIRONMENT_IS_SHELL&&typeof quit==="function"){quit(status)}throw new ExitStatus(status)}Module["exit"]=Module.exit=exit;var abortDecorators=[];function abort(what){if(what!==undefined){Module.print(what);Module.printErr(what);what=JSON.stringify(what)}else{what=""}ABORT=true;EXITSTATUS=1;var extra="\nIf this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information.";var output="abort("+what+") at "+stackTrace()+extra;if(abortDecorators){abortDecorators.forEach((function(decorator){output=decorator(output,what)}))}throw output}Module["abort"]=Module.abort=abort;if(Module["preInit"]){if(typeof Module["preInit"]=="function")Module["preInit"]=[Module["preInit"]];while(Module["preInit"].length>0){Module["preInit"].pop()()}}var shouldRunNow=false;if(Module["noInitialRun"]){shouldRunNow=false}Module["noExitRuntime"]=true;run();Module.setStatus("Syncing files...");FS.mkdir("/home/web_user/love");FS.mount(IDBFS,{},"/home/web_user/love");FS.syncfs(true,(function(err){if(err){console.log(err)}else{Module.setStatus("Executing Application...");Module.callMain(Module.arguments)}})) diff --git a/love.js.mem b/love.js.mem index c1c4bd9..3d55ba0 100644 Binary files a/love.js.mem and b/love.js.mem differ diff --git a/theme/bg.png b/theme/bg.png deleted file mode 100644 index 77ef798..0000000 Binary files a/theme/bg.png and /dev/null differ diff --git a/theme/love.css b/theme/love.css deleted file mode 100644 index 0cefe63..0000000 --- a/theme/love.css +++ /dev/null @@ -1,48 +0,0 @@ -* { - box-sizing: border-box; -} - -h1 { - font-family: arial; - color: rgb( 11, 86, 117 ); -} - -body { - background-image: url(bg.png); - background-repeat: no-repeat; - font-family: arial; - margin: 0; - padding: none; - background-color: rgb( 154, 205, 237 ); - color: rgb( 28, 78, 104 ); -} - -footer { - font-family: arial; - font-size: 12px; - padding-left: 10px; - position:absolute; - bottom: 0; - width: 100%; -} - -/* Links */ -a { - text-decoration: none; -} -a:link { - color: rgb( 233, 73, 154 ); -} -a:visited { - color: rgb( 110, 30, 71 ); -} -a:hover { - color: rgb( 252, 207, 230 ); -} - -/* the canvas *must not* have any border or padding, or mouse coords will be wrong */ -#canvas { - padding-right: 0; - display: none; - border: 0px none; -}